@getontime/cli 4.2.0 → 4.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/assets/Backstage-WSlbFC9X.js +2 -0
- package/client/assets/Backstage-WSlbFC9X.js.br +0 -0
- package/client/assets/Backstage-WSlbFC9X.js.gz +0 -0
- package/client/assets/{Backstage-DG-hwPI3.js.map → Backstage-WSlbFC9X.js.map} +1 -1
- package/client/assets/{Countdown-C8LGl1pp.js → Countdown-B32qlxYT.js} +2 -2
- package/client/assets/Countdown-B32qlxYT.js.br +0 -0
- package/client/assets/Countdown-B32qlxYT.js.gz +0 -0
- package/client/assets/{Countdown-C8LGl1pp.js.map → Countdown-B32qlxYT.js.map} +1 -1
- package/client/assets/{CustomTranslationModal-CJ9-aDjl.js → CustomTranslationModal-CtBvokyt.js} +2 -2
- package/client/assets/CustomTranslationModal-CtBvokyt.js.br +0 -0
- package/client/assets/CustomTranslationModal-CtBvokyt.js.gz +0 -0
- package/client/assets/{CustomTranslationModal-CJ9-aDjl.js.map → CustomTranslationModal-CtBvokyt.js.map} +1 -1
- package/client/assets/DelayIndicator-BFZFpsY5.js +2 -0
- package/client/assets/DelayIndicator-BFZFpsY5.js.br +0 -0
- package/client/assets/DelayIndicator-BFZFpsY5.js.gz +0 -0
- package/client/assets/{DelayIndicator-F4GdgsGh.js.map → DelayIndicator-BFZFpsY5.js.map} +1 -1
- package/client/assets/EditorFeatureWrapper-DaMxgBMP.js +2 -0
- package/client/assets/EditorFeatureWrapper-DaMxgBMP.js.br +0 -0
- package/client/assets/EditorFeatureWrapper-DaMxgBMP.js.gz +0 -0
- package/client/assets/{EditorFeatureWrapper-eIpSr_UK.js.map → EditorFeatureWrapper-DaMxgBMP.js.map} +1 -1
- package/client/assets/EditorUtils-DoaSwWiz.js +2 -0
- package/client/assets/EditorUtils-DoaSwWiz.js.br +0 -0
- package/client/assets/EditorUtils-DoaSwWiz.js.gz +0 -0
- package/client/assets/{EditorUtils-Bd3J5Dvf.js.map → EditorUtils-DoaSwWiz.js.map} +1 -1
- package/client/assets/Empty-D1UteOYj.js +2 -0
- package/client/assets/Empty-D1UteOYj.js.br +0 -0
- package/client/assets/Empty-D1UteOYj.js.gz +0 -0
- package/client/assets/{Empty-C0IdV_kI.js.map → Empty-D1UteOYj.js.map} +1 -1
- package/client/assets/EmptyPage-DeRjpRKZ.js +2 -0
- package/client/assets/EmptyPage-DeRjpRKZ.js.br +0 -0
- package/client/assets/EmptyPage-DeRjpRKZ.js.gz +0 -0
- package/client/assets/{EmptyPage-Ct3d0DqJ.js.map → EmptyPage-DeRjpRKZ.js.map} +1 -1
- package/client/assets/FollowButton-FodezDem.js +2 -0
- package/client/assets/FollowButton-FodezDem.js.br +0 -0
- package/client/assets/FollowButton-FodezDem.js.gz +0 -0
- package/client/assets/{FollowButton-BG-ycRWu.js.map → FollowButton-FodezDem.js.map} +1 -1
- package/client/assets/{MessageControlExport-X-4dl9QT.js → MessageControlExport-CFGgiwk_.js} +3 -3
- package/client/assets/MessageControlExport-CFGgiwk_.js.br +0 -0
- package/client/assets/MessageControlExport-CFGgiwk_.js.gz +0 -0
- package/client/assets/MessageControlExport-CFGgiwk_.js.map +1 -0
- package/client/assets/{MilestoneEditor-rgBQSXVU.js → MilestoneEditor-B5BdJ5ju.js} +2 -2
- package/client/assets/MilestoneEditor-B5BdJ5ju.js.br +0 -0
- package/client/assets/MilestoneEditor-B5BdJ5ju.js.gz +0 -0
- package/client/assets/{MilestoneEditor-rgBQSXVU.js.map → MilestoneEditor-B5BdJ5ju.js.map} +1 -1
- package/client/assets/Modal-B8ZZbVMg.js +2 -0
- package/client/assets/Modal-B8ZZbVMg.js.br +0 -0
- package/client/assets/Modal-B8ZZbVMg.js.gz +0 -0
- package/client/assets/{Modal-Bn1bZkwb.js.map → Modal-B8ZZbVMg.js.map} +1 -1
- package/client/assets/{MultiPartProgressBar-Cmw-gisu.js → MultiPartProgressBar-BKHk19Hb.js} +2 -2
- package/client/assets/MultiPartProgressBar-BKHk19Hb.js.br +0 -0
- package/client/assets/MultiPartProgressBar-BKHk19Hb.js.gz +0 -0
- package/client/assets/{MultiPartProgressBar-Cmw-gisu.js.map → MultiPartProgressBar-BKHk19Hb.js.map} +1 -1
- package/client/assets/{OperatorExport-CJd8jmY4.js → OperatorExport-DQM14DsN.js} +2 -2
- package/client/assets/OperatorExport-DQM14DsN.js.br +0 -0
- package/client/assets/OperatorExport-DQM14DsN.js.gz +0 -0
- package/client/assets/{OperatorExport-CJd8jmY4.js.map → OperatorExport-DQM14DsN.js.map} +1 -1
- package/client/assets/{OverviewWrapper-1Vj3_ojX.js → OverviewWrapper-D1hUkrRi.js} +2 -2
- package/client/assets/OverviewWrapper-D1hUkrRi.js.br +0 -0
- package/client/assets/OverviewWrapper-D1hUkrRi.js.gz +0 -0
- package/client/assets/{OverviewWrapper-1Vj3_ojX.js.map → OverviewWrapper-D1hUkrRi.js.map} +1 -1
- package/client/assets/PipHost-B9-cZ8Lm.js +2 -0
- package/client/assets/PipHost-B9-cZ8Lm.js.br +0 -0
- package/client/assets/PipHost-B9-cZ8Lm.js.gz +0 -0
- package/client/assets/PipHost-B9-cZ8Lm.js.map +1 -0
- package/client/assets/PipHost-DEhjTbGT.css +1 -0
- package/client/assets/PipHost-DEhjTbGT.css.br +0 -0
- package/client/assets/PipHost-DEhjTbGT.css.gz +0 -0
- package/client/assets/{ProjectInfo-BduQgjcz.js → ProjectInfo-Dp1TZyBd.js} +2 -2
- package/client/assets/ProjectInfo-Dp1TZyBd.js.br +0 -0
- package/client/assets/ProjectInfo-Dp1TZyBd.js.gz +0 -0
- package/client/assets/{ProjectInfo-BduQgjcz.js.map → ProjectInfo-Dp1TZyBd.js.map} +1 -1
- package/client/assets/ProtectRoute-EejQ5o_H.js +2 -0
- package/client/assets/ProtectRoute-EejQ5o_H.js.br +0 -0
- package/client/assets/ProtectRoute-EejQ5o_H.js.gz +0 -0
- package/client/assets/{ProtectRoute-Ci_AIozP.js.map → ProtectRoute-EejQ5o_H.js.map} +1 -1
- package/client/assets/{ProtectedCuesheet-D_zdkwM-.js → ProtectedCuesheet-DvYSgueA.js} +2 -2
- package/client/assets/ProtectedCuesheet-DvYSgueA.js.br +0 -0
- package/client/assets/ProtectedCuesheet-DvYSgueA.js.gz +0 -0
- package/client/assets/{ProtectedCuesheet-D_zdkwM-.js.map → ProtectedCuesheet-DvYSgueA.js.map} +1 -1
- package/client/assets/{ProtectedEditor-CNL2ig79.js → ProtectedEditor-B0l0X3QP.js} +3 -3
- package/client/assets/ProtectedEditor-B0l0X3QP.js.br +0 -0
- package/client/assets/ProtectedEditor-B0l0X3QP.js.gz +0 -0
- package/client/assets/ProtectedEditor-B0l0X3QP.js.map +1 -0
- package/client/assets/RundownEntry-CwiStTnR.js +2 -0
- package/client/assets/RundownEntry-CwiStTnR.js.br +0 -0
- package/client/assets/RundownEntry-CwiStTnR.js.gz +0 -0
- package/client/assets/RundownEntry-CwiStTnR.js.map +1 -0
- package/client/assets/RundownExport-CCaOfHIr.js +3 -0
- package/client/assets/RundownExport-CCaOfHIr.js.br +0 -0
- package/client/assets/RundownExport-CCaOfHIr.js.gz +0 -0
- package/client/assets/RundownExport-CCaOfHIr.js.map +1 -0
- package/client/assets/Select-cHK8JrMG.js +2 -0
- package/client/assets/Select-cHK8JrMG.js.br +0 -0
- package/client/assets/Select-cHK8JrMG.js.gz +0 -0
- package/client/assets/{Select-B5xNi_tM.js.map → Select-cHK8JrMG.js.map} +1 -1
- package/client/assets/{Studio-D4hRKhJ1.js → Studio-BzwFDYzk.js} +2 -2
- package/client/assets/Studio-BzwFDYzk.js.br +0 -0
- package/client/assets/Studio-BzwFDYzk.js.gz +0 -0
- package/client/assets/{Studio-D4hRKhJ1.js.map → Studio-BzwFDYzk.js.map} +1 -1
- package/client/assets/StyleEditor-RZvkKHdf.js +2 -0
- package/client/assets/StyleEditor-RZvkKHdf.js.br +0 -0
- package/client/assets/StyleEditor-RZvkKHdf.js.gz +0 -0
- package/client/assets/{StyleEditor-BvcE8dkA.js.map → StyleEditor-RZvkKHdf.js.map} +1 -1
- package/client/assets/SuperscriptPeriod-DaZq1rr6.js +2 -0
- package/client/assets/SuperscriptPeriod-DaZq1rr6.js.br +0 -0
- package/client/assets/SuperscriptPeriod-DaZq1rr6.js.gz +0 -0
- package/client/assets/{SuperscriptPeriod-BmHAoSBy.js.map → SuperscriptPeriod-DaZq1rr6.js.map} +1 -1
- package/client/assets/SuperscriptTime-Mc0ZGBMo.js +2 -0
- package/client/assets/SuperscriptTime-Mc0ZGBMo.js.br +0 -0
- package/client/assets/SuperscriptTime-Mc0ZGBMo.js.gz +0 -0
- package/client/assets/{SuperscriptTime-Nou92D8X.js.map → SuperscriptTime-Mc0ZGBMo.js.map} +1 -1
- package/client/assets/{TimeElements-XpRwBsaa.js → TimeElements-dIvFHgcd.js} +2 -2
- package/client/assets/TimeElements-dIvFHgcd.js.br +0 -0
- package/client/assets/TimeElements-dIvFHgcd.js.gz +0 -0
- package/client/assets/{TimeElements-XpRwBsaa.js.map → TimeElements-dIvFHgcd.js.map} +1 -1
- package/client/assets/TimeInput-Duzx40TC.js +2 -0
- package/client/assets/TimeInput-Duzx40TC.js.br +0 -0
- package/client/assets/TimeInput-Duzx40TC.js.gz +0 -0
- package/client/assets/{TimeInput-Bu_5GlHP.js.map → TimeInput-Duzx40TC.js.map} +1 -1
- package/client/assets/{TimelinePage-CQqUB1KT.js → TimelinePage-C-OHrCR8.js} +2 -2
- package/client/assets/TimelinePage-C-OHrCR8.js.br +0 -0
- package/client/assets/TimelinePage-C-OHrCR8.js.gz +0 -0
- package/client/assets/{TimelinePage-CQqUB1KT.js.map → TimelinePage-C-OHrCR8.js.map} +1 -1
- package/client/assets/Timer-CGqVtVEC.js +2 -0
- package/client/assets/Timer-CGqVtVEC.js.br +0 -0
- package/client/assets/Timer-CGqVtVEC.js.gz +0 -0
- package/client/assets/{Timer-CIr2L3gJ.js.map → Timer-CGqVtVEC.js.map} +1 -1
- package/client/assets/{Timer-B7nk3TMf.css → Timer-Jjolf5Ra.css} +1 -1
- package/client/assets/Timer-Jjolf5Ra.css.br +0 -0
- package/client/assets/Timer-Jjolf5Ra.css.gz +0 -0
- package/client/assets/{TimerControlExport-4a3Cd9x8.js → TimerControlExport-GJn4WWdH.js} +2 -2
- package/client/assets/TimerControlExport-GJn4WWdH.js.br +0 -0
- package/client/assets/TimerControlExport-GJn4WWdH.js.gz +0 -0
- package/client/assets/{TimerControlExport-4a3Cd9x8.js.map → TimerControlExport-GJn4WWdH.js.map} +1 -1
- package/client/assets/TitleCard-BqbrUnHO.js +2 -0
- package/client/assets/TitleCard-BqbrUnHO.js.br +0 -0
- package/client/assets/TitleCard-BqbrUnHO.js.gz +0 -0
- package/client/assets/{TitleCard-1U35ek0D.js.map → TitleCard-BqbrUnHO.js.map} +1 -1
- package/client/assets/Tooltip-BQBvaIZx.js +2 -0
- package/client/assets/Tooltip-BQBvaIZx.js.br +0 -0
- package/client/assets/Tooltip-BQBvaIZx.js.gz +0 -0
- package/client/assets/{Tooltip-B8y25e3n.js.map → Tooltip-BQBvaIZx.js.map} +1 -1
- package/client/assets/ViewLogo-BdL1hUV1.js +2 -0
- package/client/assets/ViewLogo-BdL1hUV1.js.br +0 -0
- package/client/assets/ViewLogo-BdL1hUV1.js.gz +0 -0
- package/client/assets/{ViewLogo-BHsV7Faa.js.map → ViewLogo-BdL1hUV1.js.map} +1 -1
- package/client/assets/{ViewParamsEditor-BMHXOv-K.js → ViewParamsEditor-CFedpp6w.js} +2 -2
- package/client/assets/ViewParamsEditor-CFedpp6w.js.br +0 -0
- package/client/assets/ViewParamsEditor-CFedpp6w.js.gz +0 -0
- package/client/assets/{ViewParamsEditor-BMHXOv-K.js.map → ViewParamsEditor-CFedpp6w.js.map} +1 -1
- package/client/assets/dateConfig-BU1RZfIK.js +2 -0
- package/client/assets/dateConfig-BU1RZfIK.js.br +0 -0
- package/client/assets/dateConfig-BU1RZfIK.js.gz +0 -0
- package/client/assets/dateConfig-BU1RZfIK.js.map +1 -0
- package/client/assets/editorSettings-BMt-7s8I.js +2 -0
- package/client/assets/editorSettings-BMt-7s8I.js.br +0 -0
- package/client/assets/editorSettings-BMt-7s8I.js.gz +0 -0
- package/client/assets/{editorSettings-DH9ca-nB.js.map → editorSettings-BMt-7s8I.js.map} +1 -1
- package/client/assets/{getProgress-DlrSzpnf.js → getProgress-sdxPEEPi.js} +2 -2
- package/client/assets/getProgress-sdxPEEPi.js.br +0 -0
- package/client/assets/getProgress-sdxPEEPi.js.gz +0 -0
- package/client/assets/{getProgress-DlrSzpnf.js.map → getProgress-sdxPEEPi.js.map} +1 -1
- package/client/assets/index-CoGiopcb.js +3 -0
- package/client/assets/index-CoGiopcb.js.br +0 -0
- package/client/assets/index-CoGiopcb.js.gz +0 -0
- package/client/assets/index-CoGiopcb.js.map +1 -0
- package/client/assets/{offset-CLG4o744.js → offset-BS90Rks2.js} +2 -2
- package/client/assets/offset-BS90Rks2.js.br +0 -0
- package/client/assets/offset-BS90Rks2.js.gz +0 -0
- package/client/assets/{offset-CLG4o744.js.map → offset-BS90Rks2.js.map} +1 -1
- package/client/assets/parseUserTime-DZJMcfuJ.js +2 -0
- package/client/assets/parseUserTime-DZJMcfuJ.js.br +0 -0
- package/client/assets/parseUserTime-DZJMcfuJ.js.gz +0 -0
- package/client/assets/{parseUserTime-Cp5iWS7y.js.map → parseUserTime-DZJMcfuJ.js.map} +1 -1
- package/client/assets/{playbackstate-B3BKJ8cT.js → playbackstate-CWexoP3a.js} +2 -2
- package/client/assets/playbackstate-CWexoP3a.js.br +0 -0
- package/client/assets/playbackstate-CWexoP3a.js.gz +0 -0
- package/client/assets/{playbackstate-B3BKJ8cT.js.map → playbackstate-CWexoP3a.js.map} +1 -1
- package/client/assets/{presentation.utils-B-wIv_a5.js → presentation.utils-Zo5hNQje.js} +2 -2
- package/client/assets/presentation.utils-Zo5hNQje.js.br +0 -0
- package/client/assets/presentation.utils-Zo5hNQje.js.gz +0 -0
- package/client/assets/{presentation.utils-B-wIv_a5.js.map → presentation.utils-Zo5hNQje.js.map} +1 -1
- package/client/assets/rundownUtils-Dl1x6NDv.js +2 -0
- package/client/assets/rundownUtils-Dl1x6NDv.js.br +0 -0
- package/client/assets/rundownUtils-Dl1x6NDv.js.gz +0 -0
- package/client/assets/{rundownUtils-DJKMt8Ih.js.map → rundownUtils-Dl1x6NDv.js.map} +1 -1
- package/client/assets/timer.utils-BnMyVO6Z.js +2 -0
- package/client/assets/timer.utils-BnMyVO6Z.js.br +0 -0
- package/client/assets/timer.utils-BnMyVO6Z.js.gz +0 -0
- package/client/assets/timer.utils-BnMyVO6Z.js.map +1 -0
- package/client/assets/useCustomFields-CcTb-GQM.js +2 -0
- package/client/assets/useCustomFields-CcTb-GQM.js.br +0 -0
- package/client/assets/useCustomFields-CcTb-GQM.js.gz +0 -0
- package/client/assets/{useCustomFields-BUJkzZvM.js.map → useCustomFields-CcTb-GQM.js.map} +1 -1
- package/client/assets/useFollowComponent-BjhV6Uv8.js +2 -0
- package/client/assets/useFollowComponent-BjhV6Uv8.js.br +0 -0
- package/client/assets/useFollowComponent-BjhV6Uv8.js.gz +0 -0
- package/client/assets/{useFollowComponent-Eyo4hWVG.js.map → useFollowComponent-BjhV6Uv8.js.map} +1 -1
- package/client/assets/{useProjectData-DGA6K2Zs.js → useProjectData-B5mjXsMj.js} +2 -2
- package/client/assets/useProjectData-B5mjXsMj.js.br +0 -0
- package/client/assets/useProjectData-B5mjXsMj.js.gz +0 -0
- package/client/assets/{useProjectData-DGA6K2Zs.js.map → useProjectData-B5mjXsMj.js.map} +1 -1
- package/client/assets/useReport-zMbyWwpn.js +2 -0
- package/client/assets/useReport-zMbyWwpn.js.br +0 -0
- package/client/assets/useReport-zMbyWwpn.js.gz +0 -0
- package/client/assets/{useReport-BUCsRa2T.js.map → useReport-zMbyWwpn.js.map} +1 -1
- package/client/assets/useRundown-CHsh5rnl.js +2 -0
- package/client/assets/useRundown-CHsh5rnl.js.br +0 -0
- package/client/assets/useRundown-CHsh5rnl.js.gz +0 -0
- package/client/assets/useRundown-CHsh5rnl.js.map +1 -0
- package/client/assets/useWindowTitle-mLKt65i7.js +2 -0
- package/client/assets/useWindowTitle-mLKt65i7.js.br +0 -0
- package/client/assets/useWindowTitle-mLKt65i7.js.gz +0 -0
- package/client/assets/{useWindowTitle-DU8NlxIu.js.map → useWindowTitle-mLKt65i7.js.map} +1 -1
- package/client/assets/{validateEvent-3adKsP1N.js → validateEvent-CUmvjN95.js} +2 -2
- package/client/assets/validateEvent-CUmvjN95.js.br +0 -0
- package/client/assets/validateEvent-CUmvjN95.js.gz +0 -0
- package/client/assets/{validateEvent-3adKsP1N.js.map → validateEvent-CUmvjN95.js.map} +1 -1
- package/client/assets/{vendor-BoH5HFNN.js → vendor-Cdwxo8bP.js} +21 -21
- package/client/assets/vendor-Cdwxo8bP.js.br +0 -0
- package/client/assets/vendor-Cdwxo8bP.js.gz +0 -0
- package/client/assets/{vendor-BoH5HFNN.js.map → vendor-Cdwxo8bP.js.map} +1 -1
- package/client/assets/{viewLoader.utils-BPOG1xso.js → viewLoader.utils-DuXjY5zb.js} +2 -2
- package/client/assets/viewLoader.utils-DuXjY5zb.js.br +0 -0
- package/client/assets/viewLoader.utils-DuXjY5zb.js.gz +0 -0
- package/client/assets/{viewLoader.utils-BPOG1xso.js.map → viewLoader.utils-DuXjY5zb.js.map} +1 -1
- package/client/assets/viewUtils-dKRKkb_F.js +2 -0
- package/client/assets/viewUtils-dKRKkb_F.js.br +0 -0
- package/client/assets/viewUtils-dKRKkb_F.js.gz +0 -0
- package/client/assets/viewUtils-dKRKkb_F.js.map +1 -0
- package/client/index.html +2 -2
- package/package.json +1 -1
- package/server/index.cjs +89 -89
- package/client/assets/Backstage-DG-hwPI3.js +0 -2
- package/client/assets/Backstage-DG-hwPI3.js.br +0 -0
- package/client/assets/Backstage-DG-hwPI3.js.gz +0 -0
- package/client/assets/Countdown-C8LGl1pp.js.br +0 -0
- package/client/assets/Countdown-C8LGl1pp.js.gz +0 -0
- package/client/assets/CustomTranslationModal-CJ9-aDjl.js.br +0 -0
- package/client/assets/CustomTranslationModal-CJ9-aDjl.js.gz +0 -0
- package/client/assets/DelayIndicator-F4GdgsGh.js +0 -2
- package/client/assets/DelayIndicator-F4GdgsGh.js.br +0 -0
- package/client/assets/DelayIndicator-F4GdgsGh.js.gz +0 -0
- package/client/assets/EditorFeatureWrapper-eIpSr_UK.js +0 -2
- package/client/assets/EditorFeatureWrapper-eIpSr_UK.js.br +0 -0
- package/client/assets/EditorFeatureWrapper-eIpSr_UK.js.gz +0 -0
- package/client/assets/EditorUtils-Bd3J5Dvf.js +0 -2
- package/client/assets/EditorUtils-Bd3J5Dvf.js.br +0 -0
- package/client/assets/EditorUtils-Bd3J5Dvf.js.gz +0 -0
- package/client/assets/Empty-C0IdV_kI.js +0 -2
- package/client/assets/Empty-C0IdV_kI.js.br +0 -0
- package/client/assets/Empty-C0IdV_kI.js.gz +0 -0
- package/client/assets/EmptyPage-Ct3d0DqJ.js +0 -2
- package/client/assets/EmptyPage-Ct3d0DqJ.js.br +0 -0
- package/client/assets/EmptyPage-Ct3d0DqJ.js.gz +0 -0
- package/client/assets/FollowButton-BG-ycRWu.js +0 -2
- package/client/assets/FollowButton-BG-ycRWu.js.br +0 -0
- package/client/assets/FollowButton-BG-ycRWu.js.gz +0 -0
- package/client/assets/MessageControlExport-X-4dl9QT.js.br +0 -0
- package/client/assets/MessageControlExport-X-4dl9QT.js.gz +0 -0
- package/client/assets/MessageControlExport-X-4dl9QT.js.map +0 -1
- package/client/assets/MilestoneEditor-rgBQSXVU.js.br +0 -0
- package/client/assets/MilestoneEditor-rgBQSXVU.js.gz +0 -0
- package/client/assets/Modal-Bn1bZkwb.js +0 -2
- package/client/assets/Modal-Bn1bZkwb.js.br +0 -0
- package/client/assets/Modal-Bn1bZkwb.js.gz +0 -0
- package/client/assets/MultiPartProgressBar-Cmw-gisu.js.br +0 -0
- package/client/assets/MultiPartProgressBar-Cmw-gisu.js.gz +0 -0
- package/client/assets/OperatorExport-CJd8jmY4.js.br +0 -0
- package/client/assets/OperatorExport-CJd8jmY4.js.gz +0 -0
- package/client/assets/OverviewWrapper-1Vj3_ojX.js.br +0 -0
- package/client/assets/OverviewWrapper-1Vj3_ojX.js.gz +0 -0
- package/client/assets/PipHost-BUF7n-lT.css +0 -1
- package/client/assets/PipHost-BUF7n-lT.css.br +0 -0
- package/client/assets/PipHost-BUF7n-lT.css.gz +0 -0
- package/client/assets/PipHost-D7liNR4M.js +0 -2
- package/client/assets/PipHost-D7liNR4M.js.br +0 -0
- package/client/assets/PipHost-D7liNR4M.js.gz +0 -0
- package/client/assets/PipHost-D7liNR4M.js.map +0 -1
- package/client/assets/ProjectInfo-BduQgjcz.js.br +0 -0
- package/client/assets/ProjectInfo-BduQgjcz.js.gz +0 -0
- package/client/assets/ProtectRoute-Ci_AIozP.js +0 -2
- package/client/assets/ProtectRoute-Ci_AIozP.js.br +0 -0
- package/client/assets/ProtectRoute-Ci_AIozP.js.gz +0 -0
- package/client/assets/ProtectedCuesheet-D_zdkwM-.js.br +0 -0
- package/client/assets/ProtectedCuesheet-D_zdkwM-.js.gz +0 -0
- package/client/assets/ProtectedEditor-CNL2ig79.js.br +0 -0
- package/client/assets/ProtectedEditor-CNL2ig79.js.gz +0 -0
- package/client/assets/ProtectedEditor-CNL2ig79.js.map +0 -1
- package/client/assets/RundownEntry-Bs1ombtH.js +0 -2
- package/client/assets/RundownEntry-Bs1ombtH.js.br +0 -0
- package/client/assets/RundownEntry-Bs1ombtH.js.gz +0 -0
- package/client/assets/RundownEntry-Bs1ombtH.js.map +0 -1
- package/client/assets/RundownExport-BCT0ybxy.js +0 -3
- package/client/assets/RundownExport-BCT0ybxy.js.br +0 -0
- package/client/assets/RundownExport-BCT0ybxy.js.gz +0 -0
- package/client/assets/RundownExport-BCT0ybxy.js.map +0 -1
- package/client/assets/Select-B5xNi_tM.js +0 -2
- package/client/assets/Select-B5xNi_tM.js.br +0 -0
- package/client/assets/Select-B5xNi_tM.js.gz +0 -0
- package/client/assets/Studio-D4hRKhJ1.js.br +0 -0
- package/client/assets/Studio-D4hRKhJ1.js.gz +0 -0
- package/client/assets/StyleEditor-BvcE8dkA.js +0 -2
- package/client/assets/StyleEditor-BvcE8dkA.js.br +0 -3
- package/client/assets/StyleEditor-BvcE8dkA.js.gz +0 -0
- package/client/assets/SuperscriptPeriod-BmHAoSBy.js +0 -2
- package/client/assets/SuperscriptPeriod-BmHAoSBy.js.br +0 -0
- package/client/assets/SuperscriptPeriod-BmHAoSBy.js.gz +0 -0
- package/client/assets/SuperscriptTime-Nou92D8X.js +0 -2
- package/client/assets/SuperscriptTime-Nou92D8X.js.br +0 -0
- package/client/assets/SuperscriptTime-Nou92D8X.js.gz +0 -0
- package/client/assets/TimeElements-XpRwBsaa.js.br +0 -0
- package/client/assets/TimeElements-XpRwBsaa.js.gz +0 -0
- package/client/assets/TimeInput-Bu_5GlHP.js +0 -2
- package/client/assets/TimeInput-Bu_5GlHP.js.br +0 -0
- package/client/assets/TimeInput-Bu_5GlHP.js.gz +0 -0
- package/client/assets/TimelinePage-CQqUB1KT.js.br +0 -0
- package/client/assets/TimelinePage-CQqUB1KT.js.gz +0 -0
- package/client/assets/Timer-B7nk3TMf.css.br +0 -0
- package/client/assets/Timer-B7nk3TMf.css.gz +0 -0
- package/client/assets/Timer-CIr2L3gJ.js +0 -2
- package/client/assets/Timer-CIr2L3gJ.js.br +0 -0
- package/client/assets/Timer-CIr2L3gJ.js.gz +0 -0
- package/client/assets/TimerControlExport-4a3Cd9x8.js.br +0 -0
- package/client/assets/TimerControlExport-4a3Cd9x8.js.gz +0 -0
- package/client/assets/TitleCard-1U35ek0D.js +0 -2
- package/client/assets/TitleCard-1U35ek0D.js.br +0 -0
- package/client/assets/TitleCard-1U35ek0D.js.gz +0 -0
- package/client/assets/Tooltip-B8y25e3n.js +0 -2
- package/client/assets/Tooltip-B8y25e3n.js.br +0 -0
- package/client/assets/Tooltip-B8y25e3n.js.gz +0 -0
- package/client/assets/ViewLogo-BHsV7Faa.js +0 -2
- package/client/assets/ViewLogo-BHsV7Faa.js.br +0 -0
- package/client/assets/ViewLogo-BHsV7Faa.js.gz +0 -0
- package/client/assets/ViewParamsEditor-BMHXOv-K.js.br +0 -0
- package/client/assets/ViewParamsEditor-BMHXOv-K.js.gz +0 -0
- package/client/assets/dateConfig-_BhycZza.js +0 -2
- package/client/assets/dateConfig-_BhycZza.js.br +0 -0
- package/client/assets/dateConfig-_BhycZza.js.gz +0 -0
- package/client/assets/dateConfig-_BhycZza.js.map +0 -1
- package/client/assets/editorSettings-DH9ca-nB.js +0 -2
- package/client/assets/editorSettings-DH9ca-nB.js.br +0 -0
- package/client/assets/editorSettings-DH9ca-nB.js.gz +0 -0
- package/client/assets/getProgress-DlrSzpnf.js.br +0 -0
- package/client/assets/getProgress-DlrSzpnf.js.gz +0 -0
- package/client/assets/index-CDBQg2fh.js +0 -3
- package/client/assets/index-CDBQg2fh.js.br +0 -0
- package/client/assets/index-CDBQg2fh.js.gz +0 -0
- package/client/assets/index-CDBQg2fh.js.map +0 -1
- package/client/assets/offset-CLG4o744.js.br +0 -0
- package/client/assets/offset-CLG4o744.js.gz +0 -0
- package/client/assets/parseUserTime-Cp5iWS7y.js +0 -2
- package/client/assets/parseUserTime-Cp5iWS7y.js.br +0 -0
- package/client/assets/parseUserTime-Cp5iWS7y.js.gz +0 -0
- package/client/assets/playbackstate-B3BKJ8cT.js.br +0 -0
- package/client/assets/playbackstate-B3BKJ8cT.js.gz +0 -0
- package/client/assets/presentation.utils-B-wIv_a5.js.br +0 -0
- package/client/assets/presentation.utils-B-wIv_a5.js.gz +0 -0
- package/client/assets/rundownUtils-DJKMt8Ih.js +0 -2
- package/client/assets/rundownUtils-DJKMt8Ih.js.br +0 -0
- package/client/assets/rundownUtils-DJKMt8Ih.js.gz +0 -0
- package/client/assets/timer.utils-ByC_bcT9.js +0 -2
- package/client/assets/timer.utils-ByC_bcT9.js.br +0 -0
- package/client/assets/timer.utils-ByC_bcT9.js.gz +0 -0
- package/client/assets/timer.utils-ByC_bcT9.js.map +0 -1
- package/client/assets/useCustomFields-BUJkzZvM.js +0 -2
- package/client/assets/useCustomFields-BUJkzZvM.js.br +0 -2
- package/client/assets/useCustomFields-BUJkzZvM.js.gz +0 -0
- package/client/assets/useFollowComponent-Eyo4hWVG.js +0 -2
- package/client/assets/useFollowComponent-Eyo4hWVG.js.br +0 -0
- package/client/assets/useFollowComponent-Eyo4hWVG.js.gz +0 -0
- package/client/assets/useProjectData-DGA6K2Zs.js.br +0 -0
- package/client/assets/useProjectData-DGA6K2Zs.js.gz +0 -0
- package/client/assets/useReport-BUCsRa2T.js +0 -2
- package/client/assets/useReport-BUCsRa2T.js.br +0 -0
- package/client/assets/useReport-BUCsRa2T.js.gz +0 -0
- package/client/assets/useRundown-BFae0_bU.js +0 -2
- package/client/assets/useRundown-BFae0_bU.js.br +0 -0
- package/client/assets/useRundown-BFae0_bU.js.gz +0 -0
- package/client/assets/useRundown-BFae0_bU.js.map +0 -1
- package/client/assets/useWindowTitle-DU8NlxIu.js +0 -2
- package/client/assets/useWindowTitle-DU8NlxIu.js.br +0 -0
- package/client/assets/useWindowTitle-DU8NlxIu.js.gz +0 -0
- package/client/assets/validateEvent-3adKsP1N.js.br +0 -0
- package/client/assets/validateEvent-3adKsP1N.js.gz +0 -0
- package/client/assets/vendor-BoH5HFNN.js.br +0 -0
- package/client/assets/vendor-BoH5HFNN.js.gz +0 -0
- package/client/assets/viewLoader.utils-BPOG1xso.js.br +0 -0
- package/client/assets/viewLoader.utils-BPOG1xso.js.gz +0 -0
- package/client/assets/viewUtils-DI8_kmUZ.js +0 -2
- package/client/assets/viewUtils-DI8_kmUZ.js.br +0 -0
- package/client/assets/viewUtils-DI8_kmUZ.js.gz +0 -0
- package/client/assets/viewUtils-DI8_kmUZ.js.map +0 -1
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{j as e,l as Q,h as d,o as se,ab as ne}from"./vendor-BoH5HFNN.js";import{e as o,q as ae,w as ie,f as x,P as re,h as M,x as z,y as oe,u as ce,b as le,L as de,d as K,z as ue,m as me,r as he,g as fe,O as xe,v as pe,A as ve}from"./index-CDBQg2fh.js";import{g as ge}from"./getProgress-DlrSzpnf.js";import{E as ye}from"./Empty-C0IdV_kI.js";import{E as _e}from"./EmptyPage-Ct3d0DqJ.js";import{T as D}from"./TitleCard-1U35ek0D.js";import{V as je}from"./ViewLogo-BHsV7Faa.js";import{O as H,m as A,a as Ne,V as we}from"./ViewParamsEditor-BMHXOv-K.js";import{u as be}from"./useWindowTitle-DU8NlxIu.js";import{S as C}from"./SuperscriptTime-Nou92D8X.js";import{b as Se,i as W,c as Ee}from"./useRundown-BFae0_bU.js";import{i as q,b as B}from"./viewUtils-DI8_kmUZ.js";import{g as ke}from"./offset-CLG4o744.js";import{S as w}from"./SuperscriptPeriod-BmHAoSBy.js";import{g as Pe,a as Ie}from"./viewLoader.utils-BPOG1xso.js";import{u as Te}from"./useCustomFields-BUJkzZvM.js";import{u as Oe}from"./useProjectData-DGA6K2Zs.js";import"./Select-B5xNi_tM.js";/* empty css */(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new t.Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="bc80bc7b-7935-41d4-bac1-77f157eefe86",t._sentryDebugIdIdentifier="sentry-dbid-bc80bc7b-7935-41d4-bac1-77f157eefe86")}catch{}})();function Ce(t){const{current:s,duration:n,className:a}=t,i=ge(s,n);return e.jsx("div",{className:`progress-bar__bg ${a}`,children:e.jsx("div",{className:"progress-bar__indicator",style:{width:`${i}%`}})})}const Fe=t=>({title:H.Schedule,collapsible:!0,options:[{id:"filter",title:"Filter",description:"Hide events without data in the selected custom field",type:"option",values:t,defaultValue:"none"},{id:"stopCycle",title:"Stop cycling through event pages",description:"Schedule will not auto-cycle through events",type:"boolean",defaultValue:!1},{id:"cycleInterval",title:"Cycle interval",description:"How long (in seconds) should each schedule page be shown.",type:"number",defaultValue:10},{id:"showExpected",title:"Show expected time",description:"Whether the times shown should account for the runtime offset.",type:"boolean",defaultValue:!1}]});function Ve(t){return{filter:t.get("filter"),cycleInterval:Number(t.get("cycleInterval"))||10,stopCycle:q(t.get("stopCycle")),showExpected:q(t.get("showExpected"))}}function U(){const[t]=Q();return d.useMemo(()=>Ve(t),[t])}const Z=d.createContext(void 0),Be=({children:t,selectedEventId:s})=>{const{cycleInterval:n,stopCycle:a,filter:i}=U(),{data:r}=Se(c=>{if(i){const k=i.startsWith("custom-")?i.slice(7):i;return W(c)&&!!c.custom[k]}return W(c)}),[l,u]=d.useState(-1),[f,v]=d.useState(0),[p,g]=d.useState(0),m=d.useRef(-1),b=d.useRef(void 0),j=d.useRef(null);d.useLayoutEffect(()=>{if(!j.current)return;const c=Array.from(j.current.children);if(c.length===0)return;const k=j.current.clientHeight;let S=0,V=1,P=1,I=-1,y=!1;for(let h=0;h<c.length;h++){const _=c[h].clientHeight,O=S+_>k;O&&(S=0,P+=1),h<l?T(c[h]):I===-1?(y=!0,V=P):O&&(y=!1),y?(I=h,L(c[h],S)):T(c[h]),S+=_}g(V),v(P),m.current=I;function L(h,_){h.style.top=`${_}px`}function T(h){h.style.top="-1000px"}},[l,r]),d.useEffect(()=>{if(a){g(1),u(0);return}b.current&&clearInterval(b.current);const c=setInterval(()=>{u(p===f?0:m.current+1)},n*1e3);return b.current=c,()=>clearInterval(b.current)},[n,f,a,p]);let F=r.findIndex(c=>c.id===s);const N=r.slice(F+1);return F=0,e.jsx(Z,{value:{events:N,selectedEventId:s,numPages:f,visiblePage:p,containerRef:j},children:t})},J=()=>{const t=d.use(Z);if(!t)throw new Error("useSchedule() can only be used inside a ScheduleContext");return t},E={format12:"h:mm a",format24:"HH:mm"};function He({timeStart:t,dayOffset:s,delay:n,totalGap:a,isLinkedToLoaded:i,countToEnd:r,colour:l,duration:u,skip:f,title:v,timeEnd:p,cue:g}){const{showExpected:m}=U();return e.jsxs("li",{className:o(["entry",f&&"entry--skip"]),"data-testid":g,children:[e.jsx("div",{className:"entry-times",children:m?e.jsx(Re,{timeStart:t,dayOffset:s,delay:n,totalGap:a,isLinkedToLoaded:i,countToEnd:r,duration:u,colour:l}):n>0?e.jsx(Me,{timeStart:t,delay:n,colour:l,timeEnd:p}):e.jsx(Le,{timeStart:t,timeEnd:p,colour:l})}),e.jsx("div",{className:"entry-title",children:v})]})}function Le({timeStart:t,timeEnd:s,colour:n}){const a=x(t,E),i=x(s,E);return e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"entry-colour",style:{backgroundColor:n}}),e.jsx(w,{time:a}),"→",e.jsx(w,{time:i})]})}function Me({timeStart:t,timeEnd:s,colour:n,delay:a}){const i=x(t,E),r=x(s,E),l=x(t+a,E),u=x(s+a,E);return e.jsxs(e.Fragment,{children:[e.jsxs("span",{className:"entry-times--delayed",children:[e.jsx("span",{className:"entry-colour",style:{backgroundColor:n}}),e.jsx(w,{time:i}),"→",e.jsx(w,{time:r})]}),e.jsxs("span",{className:"entry-times--delay",children:[e.jsx(w,{time:l}),"→",e.jsx(w,{time:u})]})]})}function Re({timeStart:t,dayOffset:s,delay:n,totalGap:a,isLinkedToLoaded:i,countToEnd:r,colour:l,duration:u}){const f=ae(),{expectedStart:v,expectedEnd:p,plannedEnd:g}=ie({timeStart:t,dayOffset:s,delay:n,totalGap:a,isLinkedToLoaded:i,countToEnd:r,duration:u},f);return e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"entry-colour",style:{backgroundColor:l}}),e.jsx(G,{expectedTime:v,plannedTime:t}),"→",e.jsx(G,{expectedTime:p,plannedTime:g})]})}function G({expectedTime:t,plannedTime:s}){const n=x(t),a=ke(t-s);return e.jsx(w,{className:`entry-times--${a}`,time:n})}function $e({className:t}){const{events:s,containerRef:n}=J();return(s==null?void 0:s.length)<1?null:e.jsx("ul",{className:o(["schedule",t]),ref:n,children:s.map(a=>e.jsx(He,{timeStart:a.timeStart,dayOffset:a.dayOffset,delay:a.delay,totalGap:a.totalGap,isLinkedToLoaded:a.isLinkedToLoaded,countToEnd:a.countToEnd,duration:a.duration,colour:a.colour,skip:a.skip,title:a.title,timeEnd:a.timeEnd,cue:a.cue},a.id))})}function ze({className:t}){const{numPages:s,visiblePage:n}=J();return s>10?e.jsxs("div",{className:o(["schedule-nav",t]),children:[e.jsx("div",{className:o(["schedule-nav__item",n===1&&"schedule-nav__item--selected"])}),e.jsx("div",{className:o(["schedule-nav__item",n===2&&"schedule-nav__item--selected"])}),e.jsx("div",{className:o(["schedule-nav__item",n===3&&"schedule-nav__item--selected"])}),e.jsx("div",{className:o(["schedule-nav__item",n===4&&"schedule-nav__item--selected"])}),e.jsx("div",{className:o(["schedule-nav__item",n===5&&"schedule-nav__item--selected"])}),e.jsx("div",{className:o(["schedule-nav__item","schedule-nav__item--indeterminate",n>5&&n<s-4&&"schedule-nav__item--selected"])}),e.jsx("div",{className:o(["schedule-nav__item",n===s-4&&"schedule-nav__item--selected"])}),e.jsx("div",{className:o(["schedule-nav__item",n===s-3&&"schedule-nav__item--selected"])}),e.jsx("div",{className:o(["schedule-nav__item",n===s-2&&"schedule-nav__item--selected"])}),e.jsx("div",{className:o(["schedule-nav__item",n===s-1&&"schedule-nav__item--selected"])}),e.jsx("div",{className:o(["schedule-nav__item",n===s&&"schedule-nav__item--selected"])})]}):e.jsx("div",{className:o(["schedule-nav",t]),children:s>1&&[...Array(s).keys()].map(a=>e.jsx("div",{className:o(["schedule-nav__item",a+1===n&&"schedule-nav__item--selected"])},a))})}const De=d.memo(Ae);function Ae(t){const{selectedId:s}=t;return e.jsxs(Be,{selectedEventId:s,children:[e.jsx(ze,{className:"schedule-nav-container"}),e.jsx($e,{className:"schedule-container"})]})}const We=(t,s,n)=>{const a=A(s,[{value:"none",label:"None"}]),i=A(s,[{value:"none",label:"None"},{value:"note",label:"Note"}]),r=Ne(n,[{value:"none",label:"None"}]);return[{title:H.ClockOptions,collapsible:!0,options:[Pe(t)]},{title:H.DataSources,collapsible:!0,options:[{id:"secondary-src",title:"Event secondary text",description:"Select the data source for auxiliary text shown in now and next cards",type:"option",values:i,defaultValue:"none"}]},Fe(a),{title:H.ElementVisibility,collapsible:!0,options:[{id:"extra-info",title:"Extra info",description:"Select a project data source to show in the view",type:"option",values:r,defaultValue:"none"}]}]};function qe(t,s){const n=a=>(s==null?void 0:s.get(a))??t.get(a);return{secondarySource:n("secondary-src"),extraInfo:n("extra-info")}}function Ge(){const[t]=Q(),s=d.use(re);return d.useMemo(()=>{const a=s?new URLSearchParams(s.search):void 0;return qe(t,a)},[s,t])}function Qe(t){return(t??0)<0}function Ke(t){return t!==M.Stop}function Ue(t,s){return t===M.Roll&&s===oe.Pending}function Ze(t,s,n,a,i){if(i===M.Stop)return{showNow:!1,nowMain:void 0,nowSecondary:void 0,showNext:!1,nextMain:void 0,nextSecondary:void 0};const r=B(t,n)||z,l=B(t,a),u=B(s,n)||z,f=B(s,a);return{showNow:t!==null,nowMain:r,nowSecondary:l,showNext:s!==null,nextMain:u,nextSecondary:f}}function Je(){const t=ce(v=>v.mirror),{data:s,status:n}=Ee(),{data:a,status:i}=Oe(),{data:r,status:l}=le(),{data:u,status:f}=Te();return{data:{events:s,customFields:u,projectData:a,isMirrored:t,settings:r},status:Ie([n,i,l,f])}}function _t(){const{data:t,status:s}=Je();return be("Backstage"),s==="pending"?e.jsx(de,{}):s==="error"?e.jsx(_e,{text:"There was an error fetching data, please refresh the page."}):e.jsx(Xe,{...t})}function Xe({events:t,customFields:s,projectData:n,isMirrored:a,settings:i}){const{getLocalizedString:r}=K(),{secondarySource:l,extraInfo:u}=Ge(),{eventNext:f,eventNow:v,rundown:p,selectedEventId:g,time:m}=ue(),[b,j]=d.useState(!1),{height:F}=se();d.useEffect(()=>{j(!1);const te=setTimeout(()=>{j(!0)},10);return()=>clearTimeout(te)},[g]);const N=t.length>0,{showNow:c,nowMain:k,nowSecondary:S,showNext:V,nextMain:P,nextSecondary:I}=Ze(v,f,"title",l,m.playback),y=Ue(m.playback,m.phase),L=y?x(m.secondaryTimer):x(m.startedAt),T=(()=>{if(!c&&N)return x(p.plannedStart,{format12:"h:mm a",format24:"HH:mm"})})(),h=(()=>{if(!c&&N)return x(p.plannedEnd,{format12:"h:mm a",format24:"HH:mm"})})();let _=me(m.current,{fallback:ve});_=he(_);const O=Math.max(window.innerWidth/15,72),X=Ke(m.playback),R=N&&F>420,Y=T&&h,$=fe(i==null?void 0:i.timeFormat),ee=d.useMemo(()=>We($,s,n),[$,s,n]);return e.jsxs("div",{className:`backstage ${a?"mirror":""}`,"data-testid":"backstage-view",children:[e.jsx(we,{target:xe.Backstage,viewOptions:ee}),e.jsxs("div",{className:"project-header",children:[(n==null?void 0:n.logo)&&e.jsx(je,{name:n.logo,className:"logo"}),e.jsx("div",{className:"title",children:n.title}),e.jsx(et,{})]}),X&&e.jsx(Ce,{className:"progress-container",current:m.current,duration:m.duration}),!N&&e.jsx(ye,{text:r("common.no_data"),className:"empty-container"}),e.jsxs("div",{className:"card-container",children:[c&&e.jsxs("div",{className:o(["event","now",b&&"blink"]),children:[e.jsx(D,{title:k,secondary:S}),e.jsxs("div",{className:"timer-group",children:[e.jsxs("div",{className:"time-entry",children:[e.jsx("div",{className:o(["time-entry__label",y&&"time-entry--pending"]),children:r(y?"countdown.waiting":"common.started_at")}),e.jsx(C,{time:L,className:"time-entry__value"})]}),e.jsx("div",{className:"timer-gap"}),e.jsxs("div",{className:"time-entry",children:[e.jsx("div",{className:"time-entry__label",children:r("common.expected_finish")}),Qe(m.current)?e.jsx("div",{className:"time-entry__value",children:r("countdown.overtime")}):e.jsx(C,{time:x(m.expectedFinish),className:"time-entry__value"})]}),e.jsx("div",{className:"timer-gap"}),e.jsxs("div",{className:"time-entry",children:[e.jsx("div",{className:"time-entry__label",children:r("common.stage_timer")}),e.jsx("div",{className:"time-entry__value",children:_})]})]})]}),Y&&e.jsxs("div",{className:"event",children:[e.jsx("div",{className:"title-card__placeholder",children:r("countdown.waiting")}),e.jsxs("div",{className:"timer-group",children:[e.jsxs("div",{className:"time-entry",children:[e.jsx("div",{className:o(["time-entry__label",y&&"time-entry--pending"]),children:r("common.scheduled_start")}),e.jsx(C,{time:T,className:"time-entry__value"})]}),e.jsx("div",{className:"timer-gap"}),e.jsxs("div",{className:"time-entry",children:[e.jsx("div",{className:"time-entry__label",children:r("common.scheduled_end")}),e.jsx(C,{time:h,className:"time-entry__value"})]})]})]}),V&&N&&e.jsx(D,{className:"event",label:"next",title:P,secondary:I})]}),R&&e.jsx(De,{selectedId:g}),e.jsxs("div",{className:o(["info",!R&&"info--stretch"]),children:[u&&e.jsx(Ye,{projectData:n,size:O,source:u}),e.jsxs("div",{className:"info-card",children:[n.url&&e.jsx(ne,{value:n.url,size:O,level:"L",className:"info-card__qr"}),n.info&&e.jsx("div",{className:"info-card__message",children:n.info})]})]})]})}function Ye({projectData:t,size:s,source:n}){const a=t.custom.find((i,r)=>`${r}-${i.title}`===n);return a?e.jsxs("div",{className:"info-card",children:[a.url&&e.jsx("img",{className:"info-card__img",width:s,src:a.url,onError:i=>i.currentTarget.style.display="none"}),e.jsxs("div",{className:"info__column",children:[a.title&&e.jsx("div",{className:"info-card__label",children:a.title}),a.value&&e.jsx("div",{className:"info-card__message",children:a.value})]})]}):null}function et(){const{getLocalizedString:t}=K(),{clock:s}=pe(),n=x(s);return e.jsxs("div",{className:"clock-container",children:[e.jsx("div",{className:"label",children:t("common.time_now")}),e.jsx(C,{time:n,className:"time"})]})}export{_t as default};
|
|
2
|
-
//# sourceMappingURL=Backstage-DG-hwPI3.js.map
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{j as a,aT as s,b1 as d}from"./vendor-BoH5HFNN.js";import{m as t}from"./dateConfig-_BhycZza.js";import{T as l}from"./Tooltip-B8y25e3n.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new o.Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="bae15aeb-624d-4bed-a246-46ba5a304a4d",o._sentryDebugIdIdentifier="sentry-dbid-bae15aeb-624d-4bed-a246-46ba5a304a4d")}catch{}})();const i="_delaySymbol_1i27r_17",y={delaySymbol:i};function m(o){const{delayValue:e,tooltipPrefix:n}=o;if(typeof e!="number"||e===0)return null;const r=n?`${n} ${t(e)}`:t(e);return a.jsx(l,{text:r,render:a.jsx("span",{}),className:y.delaySymbol,children:e<0?a.jsx(s,{}):a.jsx(d,{})})}export{m as D};
|
|
2
|
-
//# sourceMappingURL=DelayIndicator-F4GdgsGh.js.map
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{j as t}from"./vendor-BoH5HFNN.js";import{P as o}from"./ProtectRoute-Ci_AIozP.js";import"./index-CDBQg2fh.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="b1150934-0a22-40d0-8921-e46a51e6f2a7",e._sentryDebugIdIdentifier="sentry-dbid-b1150934-0a22-40d0-8921-e46a51e6f2a7")}catch{}})();const s="_wrapper_1t7jb_17",n={wrapper:s};function f({children:e}){return t.jsx(o,{permission:"editor",children:t.jsx("div",{className:n.wrapper,children:e})})}export{f as default};
|
|
2
|
-
//# sourceMappingURL=EditorFeatureWrapper-eIpSr_UK.js.map
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{j as n,y as c,c7 as l}from"./vendor-BoH5HFNN.js";import{e as s}from"./index-CDBQg2fh.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new r.Error().stack;e&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[e]="69ab4378-bb83-4b30-b534-fd564b4c0844",r._sentryDebugIdIdentifier="sentry-dbid-69ab4378-bb83-4b30-b534-fd564b4c0844")}catch{}})();const i="_blink_149c1_1",f="_fourtyfive_149c1_13",_="_arrow_149c1_17",b="_corner_149c1_21",u="_offsetCorner_149c1_39",d="_header_149c1_43",p="_title_149c1_47",y="_label_149c1_55",h="_separator_149c1_63",m="_horizontal_149c1_66",x="_vertical_149c1_70",t={blink:i,fourtyfive:f,arrow:_,corner:b,offsetCorner:u,header:d,title:p,label:y,separator:h,horizontal:m,vertical:x};function j({className:r,...e}){return n.jsx(c,{className:s([t.corner,t.arrow,r]),...e})}function v({className:r,...e}){return n.jsx(l,{className:s([t.corner,t.offsetCorner,r]),...e})}function C({className:r,pipElement:e,onExtractClick:o}){return n.jsxs(n.Fragment,{children:[n.jsx(c,{className:s([t.corner,t.arrow,r]),onClick:o}),e]})}function I({children:r,className:e,...o}){const a=s([t.title,e]);return n.jsx("h3",{className:a,...o,children:r})}function N({children:r,className:e,...o}){const a=s([t.label,e]);return n.jsx("label",{className:a,...o,children:r})}function k({className:r,orientation:e="vertical",...o}){return n.jsx("div",{className:s([t.separator,t[e],r]),role:"separator",...o})}export{j as C,N as L,k as S,I as T,C as a,v as b};
|
|
2
|
-
//# sourceMappingURL=EditorUtils-Bd3J5Dvf.js.map
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{j as n}from"./vendor-BoH5HFNN.js";import{e as o,b3 as i}from"./index-CDBQg2fh.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c7a1900b-199a-4e78-a9cd-bb3545928e75",e._sentryDebugIdIdentifier="sentry-dbid-c7a1900b-199a-4e78-a9cd-bb3545928e75")}catch{}})();const r="_emptyContainer_xiuvv_17",d="_empty_xiuvv_17",y="_text_xiuvv_26",s={emptyContainer:r,empty:d,text:y};function m({text:e,className:t,injectedStyles:a}){return n.jsxs("div",{className:o([s.emptyContainer,t]),style:a,children:[n.jsx(i,{className:s.empty}),e&&n.jsx("span",{className:s.text,children:e})]})}export{m as E};
|
|
2
|
-
//# sourceMappingURL=Empty-C0IdV_kI.js.map
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{j as t}from"./vendor-BoH5HFNN.js";import{E as n}from"./Empty-C0IdV_kI.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="f3ec53d6-40d7-4d9c-9d40-3f20aa0b0f42",e._sentryDebugIdIdentifier="sentry-dbid-f3ec53d6-40d7-4d9c-9d40-3f20aa0b0f42")}catch{}})();const s="_page_27rqx_22",a={page:s};function i({text:e,injectedStyles:d}){return t.jsx("div",{className:a.page,children:t.jsx(n,{text:e,injectedStyles:d})})}export{i as E};
|
|
2
|
-
//# sourceMappingURL=EmptyPage-Ct3d0DqJ.js.map
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{j as e,b0 as l}from"./vendor-BoH5HFNN.js";import{e as i}from"./index-CDBQg2fh.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new o.Error().stack;t&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[t]="99f9d08b-bd23-41b1-870a-c71440e67668",o._sentryDebugIdIdentifier="sentry-dbid-99f9d08b-bd23-41b1-870a-c71440e67668")}catch{}})();const f="_followButton_58wqq_17",r="_hidden_58wqq_38",s={followButton:f,hidden:r};function u(o){const{isVisible:t,onClickHandler:n}=o,d=i([s.followButton,!t&&s.hidden]);return e.jsxs("button",{className:d,onClick:n,type:"button",children:[e.jsx(l,{}),"Follow"]})}export{u as F};
|
|
2
|
-
//# sourceMappingURL=FollowButton-BG-ycRWu.js.map
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"mappings":";+7BAeA,SAAwBA,EAASC,EAAyC,CACxE,KAAM,CAAE,MAAAC,EAAO,YAAAC,EAAa,KAAAC,EAAM,QAAAC,EAAS,cAAAC,EAAe,SAAAC,GAAaN,EAEjE,CAACO,EAAOC,CAAQ,EAAIC,WAASN,CAAI,EACjCO,EAAWC,SAAyB,IAAI,EACxCC,EAAoBD,SAAO,CAAC,EAGlCE,YAAU,IAAM,CACVH,EAAS,SAAWA,EAAS,UAAY,SAAS,gBAC3CA,EAAA,QAAQ,eAAiBE,EAAkB,QAC3CF,EAAA,QAAQ,aAAeE,EAAkB,QACpD,EACC,CAACT,CAAI,CAAC,EAGTU,YAAU,IAAM,CACVH,EAAS,UAAY,SAAS,eAChCF,EAASL,CAAI,CACf,EACC,CAACA,CAAI,CAAC,EAEH,MAAAW,EAAqBC,GAA+C,CACtDH,EAAA,QAAUG,EAAM,OAAO,gBAAkB,EAClDP,EAAAO,EAAM,OAAO,KAAK,EACbV,EAAAU,EAAM,OAAO,KAAK,CAClC,EAEA,OACGC,OAAA,OAAI,UAAWC,EAAM,SACpB,UAAAC,EAAA,IAAC,QAAM,WAAWC,EAAG,CAACF,EAAM,MAAOb,GAAWa,EAAM,MAAM,CAAC,EAAG,QAAShB,EACpE,SACHA,EAAA,EACCe,EAAA,YAAI,UAAWC,EAAM,WACpB,UAACC,MAAAE,EAAA,CAAM,GAAInB,EAAO,IAAKS,EAAU,MAAAH,EAAc,SAAUO,EAAmB,YAAAZ,CAA0B,GACrGI,CAAA,CACH,IACF,CAEJ,CCtDO,MAAMe,GAAiB,6BAA8B,OCItDC,GAAeC,OAAK,IAAMC,EA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B,SAAUA,EAAAc,MAACqD,EAAM,UAAMC,EAAgB,KAC1C,CACF,CAEJ,CAEA,SAASL,IAAiB,CACxB,KAAM,CAAE,KAAAhE,EAAM,QAAAC,CAAQ,EAAIqE,EAAyB,EAE7CX,EAAkB,IAAM,CACxB1D,EACFyD,EAAW,qBAAqB,IAAI,EAEpCA,EAAW,qBAAqB,WAAW,CAE/C,EAGE,OAAA3C,EAAA,IAACnB,EAAA,CACC,MAAM,oBACN,YAAY,iDACZ,KAAAI,EACA,QAAAC,EACA,cAAgBiE,GAAaR,EAAW,iBAAiBQ,CAAQ,EAEjE,SAAAnD,EAAA,IAACoD,EAAA,CACC,aAAW,sCACX,QAASR,EACT,QAAS1D,EAAU,UAAY,SAE9B,SAAUA,EAAAc,MAACqD,EAAM,UAAMC,EAAgB,KAC1C,CACF,CAEJ,CC1DA,MAAe/C,UAAKiD,EAAoB,EACxC,SAASA,IAAuB,CAC9B,MAAMC,EAAc,OAAO,SAAS,SAAS,SAAS,iBAAiB,EACjEC,EAAUzD,EAAG,CAACF,EAAM,QAASA,EAAM,mBAAmB,CAAC,EAG3D,OAAAC,MAAC2D,EAAa,YAAW,SACvB,SAAA7D,EAAA,KAAC,OAAI,UAAWC,EAAM,SAAU,cAAY,yBACzC,UAAC,CAAA0D,SAAgBG,EAAc,SAAU/D,GAAUkC,EAAY,iBAAkBlC,CAAK,EAAG,EACzF4D,GAAgBzD,MAAA6D,EAAA,CAAmB,iBAAgB,GAAC,mBAAoBC,IAAyB,EAElG9D,MAAC,OAAI,UAAW0D,EACd,eAACK,EACC,UAAA/D,EAAA,IAAC+C,GAAe,GAClB,EACF,IACF,CACF,EAEJ","names":["InputRow","props","label","placeholder","text","visible","changeHandler","children","value","setValue","useState","inputRef","useRef","cursorPositionRef","useEffect","handleInputChange","event","jsxs","style","jsx","cx","Input","isPipSupported","PipTimerHost","lazy","__vitePreload","memo","PipRoot","Suspense","secondarySourceLabels","TimerPreview","blink","blackout","countToEnd","phase","secondarySource","showTimerMessage","timerType","useMessagePreview","data","useViewSettings","main","TimerType","timerPlaceholder","TimerPhase","secondary","overrideColour","showColourOverride","contentClasses","CornerWithPip","handleLinks","Tooltip","IoArrowDown","IoArrowUp","IoTime","IoBan","LuArrowDownToLine","TimerControlsPreview","useTimerViewControl","SecondarySourceControl","Editor.Separator","Button","setMessage","toggleSecondary","Fragment","Select","MessageControl","TimerMessageInput","SecondaryInput","useTimerMessageInput","newValue","IconButton","IoEye","IoEyeOffOutline","useSecondaryMessageInput","MessageControlExport","isExtracted","classes","ProtectRoute","CornerExtract","ViewNavigationMenu","getIsNavigationLocked","ErrorBoundary"],"ignoreList":[],"sources":["../../src/features/control/message/InputRow.tsx","../../src/views/editor/pip-timer/pip.utils.ts","../../src/views/editor/pip-timer/PipRoot.tsx","../../src/features/control/message/TimerPreview.tsx","../../src/features/control/message/TimerViewControl.tsx","../../src/features/control/message/MessageControl.tsx","../../src/features/control/message/MessageControlExport.tsx"],"sourcesContent":["import { PropsWithChildren, useEffect, useRef, useState } from 'react';\n\nimport Input from '../../../common/components/input/input/Input';\nimport { cx } from '../../../common/utils/styleUtils';\n\nimport style from './InputRow.module.scss';\n\ninterface InputRowProps {\n label: string;\n placeholder: string;\n text: string;\n visible: boolean;\n changeHandler: (newValue: string) => void;\n}\n\nexport default function InputRow(props: PropsWithChildren<InputRowProps>) {\n const { label, placeholder, text, visible, changeHandler, children } = props;\n\n const [value, setValue] = useState(text);\n const inputRef = useRef<HTMLInputElement>(null);\n const cursorPositionRef = useRef(0);\n\n // sync cursor position with text\n useEffect(() => {\n if (inputRef.current && inputRef.current !== document.activeElement) {\n inputRef.current.selectionStart = cursorPositionRef.current;\n inputRef.current.selectionEnd = cursorPositionRef.current;\n }\n }, [text]);\n\n // synchronise external text\n useEffect(() => {\n if (inputRef.current !== document.activeElement) {\n setValue(text);\n }\n }, [text]);\n\n const handleInputChange = (event: React.ChangeEvent<HTMLInputElement>) => {\n cursorPositionRef.current = event.target.selectionStart ?? 0;\n setValue(event.target.value);\n changeHandler(event.target.value);\n };\n\n return (\n <div className={style.inputRow}>\n <label className={cx([style.label, visible ?? style.active])} htmlFor={label}>\n {label}\n </label>\n <div className={style.inputItems}>\n <Input id={label} ref={inputRef} value={value} onChange={handleInputChange} placeholder={placeholder} />\n {children}\n </div>\n </div>\n );\n}\n","export const isPipSupported = 'documentPictureInPicture' in window;\n","import { lazy, memo, Suspense } from 'react';\n\nimport { isPipSupported } from './pip.utils';\n\nconst PipTimerHost = lazy(() => import('./PipHost'));\n\nexport default memo(PipRoot);\nfunction PipRoot() {\n if (!isPipSupported) {\n return null;\n }\n\n return (\n <Suspense fallback={null}>\n <PipTimerHost />\n </Suspense>\n );\n}\n","import { IoArrowDown, IoArrowUp, IoBan, IoTime } from 'react-icons/io5';\nimport { LuArrowDownToLine } from 'react-icons/lu';\nimport { TimerPhase, TimerType } from 'ontime-types';\n\nimport { CornerWithPip } from '../../../common/components/editor-utils/EditorUtils';\nimport Tooltip from '../../../common/components/tooltip/Tooltip';\nimport { useMessagePreview } from '../../../common/hooks/useSocket';\nimport useViewSettings from '../../../common/hooks-query/useViewSettings';\nimport { handleLinks } from '../../../common/utils/linkUtils';\nimport { cx, timerPlaceholder } from '../../../common/utils/styleUtils';\nimport PipRoot from '../../../views/editor/pip-timer/PipRoot';\n\nimport style from './MessageControl.module.scss';\n\nconst secondarySourceLabels: Record<string, string> = {\n aux1: 'Aux 1',\n aux2: 'Aux 2',\n aux3: 'Aux 3',\n secondary: 'Secondary message',\n};\n\nexport default function TimerPreview() {\n const { blink, blackout, countToEnd, phase, secondarySource, showTimerMessage, timerType } = useMessagePreview();\n const { data } = useViewSettings();\n\n const main = (() => {\n if (showTimerMessage) return 'Message';\n if (timerType === TimerType.None) return timerPlaceholder;\n if (phase === TimerPhase.Pending) return 'Standby to start';\n if (phase === TimerPhase.Overtime) return 'Timer Overtime';\n if (timerType === TimerType.Clock) return 'Clock';\n if (countToEnd) return 'Count to End';\n return 'Timer';\n })();\n\n const secondary = (() => {\n // message is a fullscreen overlay or secondary is not active\n if (showTimerMessage || !secondarySource) return null;\n\n // we need to check aux first since it takes priority\n return secondarySourceLabels[secondarySource];\n })();\n\n const overrideColour = (() => {\n // override fallback colours from starter project\n if (phase === TimerPhase.Warning) return data.warningColor ?? '#ffa528';\n if (phase === TimerPhase.Danger) return data.dangerColor ?? '#ff7300';\n return data.normalColor ?? '#FFFC';\n })();\n\n const showColourOverride = main == 'Timer';\n const contentClasses = cx([blink && style.blink, blackout && style.blackout]);\n\n return (\n <div className={style.preview}>\n <CornerWithPip onExtractClick={(event) => handleLinks('timer', event)} pipElement={<PipRoot />} />\n <div className={contentClasses}>\n <div\n className={style.mainContent}\n data-phase={showColourOverride && phase}\n style={showColourOverride ? { '--override-colour': overrideColour } : {}}\n >\n {main}\n </div>\n {secondary !== null && <div className={style.secondaryContent}>{secondary}</div>}\n </div>\n <div className={style.eventStatus}>\n <Tooltip\n text='Time type: Count down'\n render={<span />}\n className={style.statusIcon}\n data-active={timerType === TimerType.CountDown}\n >\n <IoArrowDown />\n </Tooltip>\n <Tooltip\n text='Time type: Count up'\n render={<span />}\n className={style.statusIcon}\n data-active={timerType === TimerType.CountUp}\n >\n <IoArrowUp />\n </Tooltip>\n <Tooltip\n text='Time type: Clock'\n render={<span />}\n className={style.statusIcon}\n data-active={timerType === TimerType.Clock}\n >\n <IoTime />\n </Tooltip>\n <Tooltip\n text='Time type: None'\n render={<span />}\n className={style.statusIcon}\n data-active={timerType === TimerType.None}\n >\n <IoBan />\n </Tooltip>\n <Tooltip\n text={countToEnd ? 'Count to end' : 'Count duration'}\n render={<span />}\n className={style.statusIcon}\n data-active={countToEnd}\n >\n <LuArrowDownToLine />\n </Tooltip>\n </div>\n </div>\n );\n}\n","import { useEffect, useState } from 'react';\nimport { SecondarySource } from 'ontime-types';\n\nimport Button from '../../../common/components/buttons/Button';\nimport * as Editor from '../../../common/components/editor-utils/EditorUtils';\nimport Select from '../../../common/components/select/Select';\nimport { setMessage, useTimerViewControl } from '../../../common/hooks/useSocket';\n\nimport TimerPreview from './TimerPreview';\n\nimport style from './MessageControl.module.scss';\n\nexport default function TimerControlsPreview() {\n const { blackout, blink } = useTimerViewControl();\n\n return (\n <div className={style.previewContainer}>\n <TimerPreview />\n <div className={style.options}>\n <SecondarySourceControl />\n\n <Editor.Separator orientation='horizontal' />\n\n <Button\n variant={blink ? 'primary' : 'subtle'}\n fluid\n onClick={() => setMessage.timerBlink(!blink)}\n data-testid='toggle timer blink'\n >\n Blink\n </Button>\n <Button\n variant={blackout ? 'primary' : 'subtle'}\n fluid\n onClick={() => setMessage.timerBlackout(!blackout)}\n data-testid='toggle timer blackout'\n >\n Blackout screen\n </Button>\n </div>\n </div>\n );\n}\n\nfunction SecondarySourceControl() {\n const { secondarySource } = useTimerViewControl();\n const [value, setValue] = useState<SecondarySource>('aux1');\n\n // sync secondary source with external changes\n useEffect(() => {\n if (secondarySource !== null) {\n setValue(secondarySource);\n }\n }, [secondarySource]);\n\n const toggleSecondary = () => {\n if (secondarySource === value) {\n setMessage.timerSecondarySource(null);\n } else {\n setMessage.timerSecondarySource(value);\n }\n };\n\n return (\n <>\n <Select\n value={value}\n options={[\n { value: 'aux1', label: 'Aux 1' },\n { value: 'aux2', label: 'Aux 2' },\n { value: 'aux3', label: 'Aux 3' },\n { value: 'secondary', label: 'Secondary message' },\n ]}\n onValueChange={(value) => {\n // we can only update the remote if it is enabled\n if (secondarySource !== null) {\n setMessage.timerSecondarySource(value as SecondarySource);\n }\n setValue(value as SecondarySource);\n }}\n />\n <Button\n variant={secondarySource !== null ? 'primary' : 'subtle'}\n fluid\n onClick={toggleSecondary}\n data-testid='toggle secondary'\n >\n Show secondary\n </Button>\n </>\n );\n}\n","import { IoEye, IoEyeOffOutline } from 'react-icons/io5';\n\nimport IconButton from '../../../common/components/buttons/IconButton';\nimport {\n setMessage,\n useExternalMessageInput as useSecondaryMessageInput,\n useTimerMessageInput,\n} from '../../../common/hooks/useSocket';\n\nimport InputRow from './InputRow';\nimport TimerControlsPreview from './TimerViewControl';\n\nexport default function MessageControl() {\n return (\n <>\n <TimerControlsPreview />\n <TimerMessageInput />\n <SecondaryInput />\n </>\n );\n}\n\nfunction TimerMessageInput() {\n const { text, visible } = useTimerMessageInput();\n\n return (\n <InputRow\n label='Timer Message'\n placeholder='Message shown fullscreen in stage timer'\n text={text}\n visible={visible}\n changeHandler={(newValue) => setMessage.timerText(newValue)}\n >\n <IconButton\n aria-label='Toggle timer message visibility'\n onClick={() => setMessage.timerVisible(!visible)}\n variant={visible ? 'primary' : 'subtle'}\n >\n {visible ? <IoEye /> : <IoEyeOffOutline />}\n </IconButton>\n </InputRow>\n );\n}\n\nfunction SecondaryInput() {\n const { text, visible } = useSecondaryMessageInput();\n\n const toggleSecondary = () => {\n if (visible) {\n setMessage.timerSecondarySource(null);\n } else {\n setMessage.timerSecondarySource('secondary');\n }\n };\n\n return (\n <InputRow\n label='Secondary Message'\n placeholder='Message shown as secondary text in stage timer'\n text={text}\n visible={visible}\n changeHandler={(newValue) => setMessage.secondaryMessage(newValue)}\n >\n <IconButton\n aria-label='Toggle secondary message visibility'\n onClick={toggleSecondary}\n variant={visible ? 'primary' : 'subtle'}\n >\n {visible ? <IoEye /> : <IoEyeOffOutline />}\n </IconButton>\n </InputRow>\n );\n}\n","import { memo } from 'react';\n\nimport { CornerExtract } from '../../../common/components/editor-utils/EditorUtils';\nimport ErrorBoundary from '../../../common/components/error-boundary/ErrorBoundary';\nimport ViewNavigationMenu from '../../../common/components/navigation-menu/ViewNavigationMenu';\nimport ProtectRoute from '../../../common/components/protect-route/ProtectRoute';\nimport { handleLinks } from '../../../common/utils/linkUtils';\nimport { cx } from '../../../common/utils/styleUtils';\nimport { getIsNavigationLocked } from '../../../externals';\n\nimport MessageControl from './MessageControl';\n\nimport style from '../../../views/editor/Editor.module.scss';\n\nexport default memo(MessageControlExport);\nfunction MessageControlExport() {\n const isExtracted = window.location.pathname.includes('/messagecontrol');\n const classes = cx([style.content, style.contentColumnLayout]);\n\n return (\n <ProtectRoute permission='editor'>\n <div className={style.messages} data-testid='panel-messages-control'>\n {!isExtracted && <CornerExtract onClick={(event) => handleLinks('messagecontrol', event)} />}\n {isExtracted && <ViewNavigationMenu suppressSettings isNavigationLocked={getIsNavigationLocked()} />}\n\n <div className={classes}>\n <ErrorBoundary>\n <MessageControl />\n </ErrorBoundary>\n </div>\n </div>\n </ProtectRoute>\n );\n}\n"],"file":"assets/MessageControlExport-X-4dl9QT.js"}
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{e as i,k as w,j as s,bq as N,h as k,br as b,bs as g,bt as y,bu as h,bv as m,bw as x,bx as j,D as v,q as D,s as $,t as C,v as I}from"./vendor-BoH5HFNN.js";import{ay as S,aG as E,bB as M,e as P,ak as A}from"./index-CDBQg2fh.js";import{s as u,d as T}from"./useProjectData-DGA6K2Zs.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="8e4a3bee-6a4b-49c0-a638-c008c3f8b6e7",e._sentryDebugIdIdentifier="sentry-dbid-8e4a3bee-6a4b-49c0-a638-c008c3f8b6e7")}catch{}})();const c=`${S}/automations`;async function F(){return(await i.get(c)).data}async function V(e){return(await i.post(c,e)).data}async function ee(e){return(await i.post(`${c}/trigger`,e)).data}async function se(e,a){return(await i.put(`${c}/trigger/${e}`,a)).data}function ae(e){return i.delete(`${c}/trigger/${e}`)}async function te(e){return(await i.post(`${c}/automation`,e)).data}async function ne(e,a){return(await i.put(`${c}/automation/${e}`,a)).data}function oe(e){return i.delete(`${c}/automation/${e}`)}function re(e){return i.post(`${c}/test`,e)}const O={enabledAutomations:!1,enabledOscIn:!1,oscPortIn:8888,triggers:[],automations:{}};function ie(){const{data:e,status:a,isFetching:n,isError:o,refetch:t}=w({queryKey:M,queryFn:F,placeholderData:(r,p)=>r,retry:5,retryDelay:r=>r*2500,refetchInterval:E,networkMode:"always"});return{data:e??O,status:a,isFetching:n,isError:o,refetch:t}}const B="_tag_1hjkh_17",q={tag:B};function ce({children:e}){return s.jsx("span",{className:q.tag,children:e})}function R({color:e,isSelected:a,onClick:n}){const o=r=>{n==null||n(e),r.preventDefault(),r.stopPropagation()},t=P([u.swatch,a&&u.selected,n&&u.selectable]);return e?s.jsx("div",{className:t,style:{backgroundColor:`${e}`},onClick:o}):s.jsx("div",{className:t,onClick:o,children:s.jsx(N,{})})}const f=["","#FFCC78","#FFAB33","#77C785","#339E4E","#779BE7","#3E75E8","#FF7878","#ED3333","#A790F5","#8064E1","#9d9d9d","#ececec"];function le(e){const{value:a,name:n,handleChange:o}=e,t=k.useCallback(r=>{r!==a&&o(n,r)},[o,n,a]);return s.jsxs("div",{className:u.list,children:[f.map(r=>s.jsx(R,{color:r,onClick:t,isSelected:a===r},r)),s.jsx(T,{color:a,onChange:t,isSelected:!f.includes(a)})]})}const Q="_positioner_18ray_17",U="_popup_18ray_21",G="_item_18ray_39",K="_separator_18ray_75",l={positioner:Q,popup:U,item:G,separator:K};function de({items:e,children:a,...n}){return s.jsxs(b,{children:[s.jsx(g,{...n,children:a}),s.jsx(y,{children:s.jsx(h,{className:l.positioner,align:"start",sideOffset:8,children:s.jsx(m,{className:l.popup,children:e.map((o,t)=>o.type==="divider"?s.jsx(x,{className:l.separator},t):s.jsxs(j,{className:l.item,onClick:o.onClick,disabled:o.disabled,"data-type":o.type,children:[o.icon&&s.jsx(o.icon,{}),o.label]},t))})})})]})}function ue({items:e,isOpen:a,position:n,onClose:o}){return s.jsxs(b,{open:a,onOpenChange:t=>{t||o()},children:[s.jsx(g,{style:{position:"fixed",left:n.x,top:n.y},"aria-hidden":!0}),s.jsx(y,{children:s.jsx(h,{className:l.positioner,align:"start",sideOffset:8,alignOffset:8,children:s.jsx(m,{className:l.popup,children:e.map((t,r)=>t.type==="divider"?s.jsx(x,{className:l.separator},r):s.jsxs(j,{className:l.item,onClick:t.onClick,disabled:t.disabled,children:[t.icon&&s.jsx(t.icon,{}),t.label]},r))})})})]})}const z="_modal_4rabb_17",H="_backdrop_4rabb_34",J="_title_4rabb_44",L="_body_4rabb_53",W="_footer_4rabb_61",d={modal:z,backdrop:H,title:J,body:L,footer:W};function pe({isOpen:e,title:a,showCloseButton:n,showBackdrop:o,bodyElements:t,footerElements:r,onClose:p}){return s.jsx(v,{open:e,onOpenChange:_=>{_||p()},dismissible:!1,children:s.jsxs(D,{children:[o&&s.jsx($,{className:d.backdrop}),s.jsxs(C,{className:d.modal,children:[s.jsxs("div",{className:d.title,children:[a,n&&s.jsx(A,{variant:"subtle-white",onClick:p,children:s.jsx(I,{})})]}),s.jsx("div",{className:d.body,children:t}),s.jsx("div",{className:d.footer,children:r})]})]})})}export{de as D,pe as M,ue as P,le as S,ce as T,ne as a,te as b,se as c,oe as d,V as e,ee as f,ae as g,R as h,re as t,ie as u};
|
|
2
|
-
//# sourceMappingURL=Modal-Bn1bZkwb.js.map
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.blink{animation:blink 1s step-start infinite}@keyframes blink{0%{opacity:100%}50%{opacity:20%}}.fourtyfive{transform:rotate(45deg)}.mirror{transform:rotate(180deg)}.pip-timer{margin:0;padding:0;box-sizing:border-box;overflow:hidden;width:100%;height:100vh;transition:opacity .5s ease-in-out;font-family:Open Sans,Segoe UI,sans-serif;background:#101010;color:#fffc;gap:min(2vh,16px);display:flex;flex-direction:column}.pip-timer--finished{outline:clamp(4px,1vw,16px) solid #FA5656;outline-offset:calc(clamp(4px,1vw,16px)*-1);transition:.5s}.pip-timer .timer-container{flex:1;align-content:center;justify-self:center;align-self:center;width:100%;overflow:hidden}.pip-timer .timer-container .timer{opacity:1;font-family:var(--timer-font, "Open Sans", "Segoe UI", sans-serif);color:var(--timer-colour, #f6f6f6);line-height:.9em;text-align:center;letter-spacing:.05em;font-weight:600;transition-property:font-size;transition-duration:.5s}.pip-timer .timer-container .timer--paused{opacity:.6;transition:.5s}.pip-timer .timer-container .timer--finished{color:var(--timer-overtime-color-override, #FA5656)}.pip-timer .timer-container .timer[data-phase=warning]{color:var(--timer-colour, var(--timer-warning-color-override))}.pip-timer .timer-container .timer[data-phase=danger]{color:var(--timer-colour, var(--timer-danger-color-override))}.pip-timer .timer-container .timer[data-type=none]{transition:1s;opacity:0}.pip-timer .secondary{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:.125em;padding-block:.125em;font-weight:600;text-align:center;color:var(--external-color-override, rgba(255, 255, 255, .85));letter-spacing:.5px;line-height:1em;transition-property:opacity,height;transition-duration:.5s;border-top:1px solid color-mix(in srgb,rgba(255,255,255,.85) 10%,transparent)}.pip-timer .secondary--hidden{opacity:0;height:0}.pip-timer .progress-container{width:100%;margin:0 auto;opacity:1;transition:.5s}.pip-timer .progress-container--paused{opacity:.6;transition:.5s}.pip-timer .message-overlay{position:fixed;top:0;right:0;bottom:0;left:0;padding:2vw;background:#101010;opacity:0;transition:opacity .5s}.pip-timer .message-overlay--active{z-index:100;opacity:1}.pip-timer .message{display:grid;place-content:center;height:100%;width:100%;color:#fffc;text-align:center;font-weight:600}
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{j as i,a7 as C,ax as E}from"./vendor-BoH5HFNN.js";import{b as j}from"./EditorUtils-Bd3J5Dvf.js";import{c as I,e as c,a as k}from"./index-CDBQg2fh.js";import{g as D,a as F,b as B,d as _,f as N,h as R,i as z,F as M}from"./timer.utils-ByC_bcT9.js";import{M as W}from"./MultiPartProgressBar-Cmw-gisu.js";import{g as A,a as L}from"./viewUtils-DI8_kmUZ.js";import{g as O}from"./presentation.utils-B-wIv_a5.js";import"./playbackstate-B3BKJ8cT.js";import"./getProgress-DlrSzpnf.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new t.Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="af89b237-31b0-4854-ad60-c63f34d3e248",t._sentryDebugIdIdentifier="sentry-dbid-af89b237-31b0-4854-ad60-c63f34d3e248")}catch{}})();function $({viewSettings:t}){const{eventNow:s,message:n,time:e,clock:d,timerTypeNow:a,countToEndNow:r,auxTimer:o}=I(),l=D(n.timer),{showFinished:m,showWarning:y,showDanger:h}=F(a,r,e.phase,!1,"",!1),p=B(e.playback),x=_(a),w=N(e.duration,e.addedTime),b=A(!1,a,r,d,e,a),f=L(b,a,"min",{removeSeconds:!1,removeLeadingZero:!1}),T=n.timer.secondarySource==="aux1"?o.aux1:n.timer.secondarySource==="aux2"?o.aux2:n.timer.secondarySource==="aux3"?o.aux3:null,u=R(n,T,"min",!1,!1,!1),g=O(t,void 0,y,h),{timerFontSize:v,externalFontSize:P}=z(f,u),S={...g&&{"--timer-colour":g}};return i.jsxs("div",{className:c(["pip-timer",m&&"pip-timer--finished"]),style:S,children:[i.jsx("div",{className:c(["message-overlay",l&&"message-overlay--active"]),children:i.jsx(M,{mode:"multi",min:12,max:256,className:c(["message",n.timer.blink&&"blink"]),children:n.timer.text})}),i.jsxs("div",{className:"timer-container",children:[i.jsx("div",{className:c(["timer",!p&&"timer--paused",m&&"timer--finished"]),style:{fontSize:`${v}vw`},"data-phase":e.phase,children:f}),i.jsx("div",{className:c(["secondary",!u&&"secondary--hidden"]),style:{fontSize:`${P}vw`},children:u})]}),x&&i.jsx(W,{className:c(["progress-container",!p&&"progress-container--paused"]),now:e.current,complete:w,normalColor:t.normalColor,warning:s==null?void 0:s.timeWarning,warningColor:t.warningColor,danger:s==null?void 0:s.timeDanger,dangerColor:t.dangerColor,hideOvertime:!m})]})}function X(){const{data:t,status:s}=k(),n=async()=>{if(window.documentPictureInPicture.window)return;let e;try{e=await window.documentPictureInPicture.requestWindow()}catch(r){console.error("Failed to open Picture-in-Picture:",r);return}[...document.styleSheets].forEach(r=>{try{if(r.href){const o=e.document.createElement("link");o.rel="stylesheet",o.href=r.href,e.document.head.appendChild(o)}else if(r.cssRules){const o=e.document.createElement("style");o.textContent=[...r.cssRules].map(l=>l.cssText).join(""),e.document.head.appendChild(o)}}catch(o){console.warn("Stylesheet copy blocked:",o)}});const d=e.document.createElement("div");d.setAttribute("id","pip-root"),d.style.height="100vh",e.document.body.append(d);const a=C.createRoot(e.document.getElementById("pip-root"),{onCaughtError:(r,o)=>console.error(r),onUncaughtError:(r,o)=>console.error(r),onRecoverableError:(r,o)=>console.error(r)});e.addEventListener("pagehide",()=>{a.unmount()}),a.render(i.jsx(E,{children:i.jsx($,{viewSettings:t})}))};return i.jsx(j,{onClick:s==="success"?n:void 0})}export{X as default};
|
|
2
|
-
//# sourceMappingURL=PipHost-D7liNR4M.js.map
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PipHost-D7liNR4M.js","sources":["../../src/views/editor/pip-timer/PipTimer.tsx","../../src/views/editor/pip-timer/PipHost.tsx"],"sourcesContent":["import { ViewSettings } from 'ontime-types';\n\nimport { FitText } from '../../../common/components/fit-text/FitText';\nimport MultiPartProgressBar from '../../../common/components/multi-part-progress-bar/MultiPartProgressBar';\nimport { useTimerSocket } from '../../../common/hooks/useSocket';\nimport { cx } from '../../../common/utils/styleUtils';\nimport { getFormattedTimer, getTimerByType } from '../../../features/viewers/common/viewUtils';\nimport {\n getEstimatedFontSize,\n getIsPlaying,\n getSecondaryDisplay,\n getShowMessage,\n getShowModifiers,\n getShowProgressBar,\n getTotalTime,\n} from '../../timer/timer.utils';\nimport { getTimerColour } from '../../utils/presentation.utils';\n\nimport './PipTimer.scss';\n\ninterface PipTimerProps {\n viewSettings: ViewSettings;\n}\n\nexport function PipTimer({ viewSettings }: PipTimerProps) {\n const { eventNow, message, time, clock, timerTypeNow, countToEndNow, auxTimer } = useTimerSocket();\n\n // gather modifiers\n const showOverlay = getShowMessage(message.timer);\n const { showFinished, showWarning, showDanger } = getShowModifiers(\n timerTypeNow,\n countToEndNow,\n time.phase,\n false,\n '',\n false,\n );\n const isPlaying = getIsPlaying(time.playback);\n const showProgressBar = getShowProgressBar(timerTypeNow);\n\n // gather timer data\n const totalTime = getTotalTime(time.duration, time.addedTime);\n const stageTimer = getTimerByType(false, timerTypeNow, countToEndNow, clock, time, timerTypeNow);\n const display = getFormattedTimer(stageTimer, timerTypeNow, 'min', {\n removeSeconds: false,\n removeLeadingZero: false,\n });\n\n const currentAux = (() => {\n if (message.timer.secondarySource === 'aux1') {\n return auxTimer.aux1;\n }\n if (message.timer.secondarySource === 'aux2') {\n return auxTimer.aux2;\n }\n if (message.timer.secondarySource === 'aux3') {\n return auxTimer.aux3;\n }\n return null;\n })();\n\n const secondaryContent = getSecondaryDisplay(message, currentAux, 'min', false, false, false);\n\n // gather presentation styles\n const resolvedTimerColour = getTimerColour(viewSettings, undefined, showWarning, showDanger);\n const { timerFontSize, externalFontSize } = getEstimatedFontSize(display, secondaryContent);\n const userStyles = {\n ...(resolvedTimerColour && { '--timer-colour': resolvedTimerColour }),\n };\n\n return (\n <div className={cx(['pip-timer', showFinished && 'pip-timer--finished'])} style={userStyles}>\n <div className={cx(['message-overlay', showOverlay && 'message-overlay--active'])}>\n <FitText mode='multi' min={12} max={256} className={cx(['message', message.timer.blink && 'blink'])}>\n {message.timer.text}\n </FitText>\n </div>\n\n <div className='timer-container'>\n <div\n className={cx(['timer', !isPlaying && 'timer--paused', showFinished && 'timer--finished'])}\n style={{ fontSize: `${timerFontSize}vw` }}\n data-phase={time.phase}\n >\n {display}\n </div>\n <div\n className={cx(['secondary', !secondaryContent && 'secondary--hidden'])}\n style={{ fontSize: `${externalFontSize}vw` }}\n >\n {secondaryContent}\n </div>\n </div>\n\n {showProgressBar && (\n <MultiPartProgressBar\n className={cx(['progress-container', !isPlaying && 'progress-container--paused'])}\n now={time.current}\n complete={totalTime}\n normalColor={viewSettings.normalColor}\n warning={eventNow?.timeWarning}\n warningColor={viewSettings.warningColor}\n danger={eventNow?.timeDanger}\n dangerColor={viewSettings.dangerColor}\n hideOvertime={!showFinished}\n />\n )}\n </div>\n );\n}\n","import { createRoot } from 'react-dom/client';\nimport { ErrorBoundary } from '@sentry/react';\n\nimport { CornerPipButton } from '../../../common/components/editor-utils/EditorUtils';\nimport useViewSettings from '../../../common/hooks-query/useViewSettings';\n\nimport { PipTimer } from './PipTimer';\n\nexport default function PipTimerHost() {\n const { data, status } = useViewSettings();\n\n const openPictureInPicture = async () => {\n if (window.documentPictureInPicture.window) {\n return;\n }\n\n let pipWindow: Window;\n try {\n pipWindow = await window.documentPictureInPicture.requestWindow();\n } catch (err) {\n console.error('Failed to open Picture-in-Picture:', err);\n return;\n }\n\n [...document.styleSheets].forEach((sheet) => {\n try {\n if (sheet.href) {\n const link = pipWindow.document.createElement('link');\n link.rel = 'stylesheet';\n link.href = sheet.href;\n pipWindow.document.head.appendChild(link);\n } else if (sheet.cssRules) {\n const style = pipWindow.document.createElement('style');\n style.textContent = [...sheet.cssRules].map((rule) => rule.cssText).join('');\n pipWindow.document.head.appendChild(style);\n }\n } catch (e) {\n console.warn('Stylesheet copy blocked:', e);\n }\n });\n\n const pipDiv = pipWindow.document.createElement('div');\n pipDiv.setAttribute('id', 'pip-root');\n pipDiv.style.height = '100vh';\n pipWindow.document.body.append(pipDiv);\n\n const pipRoot = createRoot(pipWindow.document.getElementById('pip-root') as Element, {\n onCaughtError: (err, _errInfo) => console.error(err),\n onUncaughtError: (err, _errInfo) => console.error(err),\n onRecoverableError: (err, _errInfo) => console.error(err),\n });\n\n pipWindow.addEventListener('pagehide', () => {\n pipRoot.unmount();\n });\n\n pipRoot.render(\n <ErrorBoundary>\n <PipTimer viewSettings={data} />\n </ErrorBoundary>,\n );\n };\n\n return <CornerPipButton onClick={status === 'success' ? openPictureInPicture : undefined} />;\n}\n"],"names":["PipTimer","viewSettings","eventNow","message","time","clock","timerTypeNow","countToEndNow","auxTimer","useTimerSocket","showOverlay","getShowMessage","showFinished","showWarning","showDanger","getShowModifiers","isPlaying","getIsPlaying","showProgressBar","getShowProgressBar","totalTime","getTotalTime","stageTimer","getTimerByType","display","getFormattedTimer","currentAux","secondaryContent","getSecondaryDisplay","resolvedTimerColour","getTimerColour","timerFontSize","externalFontSize","getEstimatedFontSize","userStyles","jsxs","cx","jsx","FitText","MultiPartProgressBar","PipTimerHost","data","status","useViewSettings","openPictureInPicture","pipWindow","err","sheet","link","style","rule","e","pipDiv","pipRoot","createRoot","_errInfo","ErrorBoundary","CornerPipButton"],"mappings":"2zBAwBgB,SAAAA,EAAS,CAAE,aAAAC,GAA+B,CAClD,KAAA,CAAE,SAAAC,EAAU,QAAAC,EAAS,KAAAC,EAAM,MAAAC,EAAO,aAAAC,EAAc,cAAAC,EAAe,SAAAC,CAAS,EAAIC,EAAe,EAG3FC,EAAcC,EAAeR,EAAQ,KAAK,EAC1C,CAAE,aAAAS,EAAc,YAAAC,EAAa,WAAAC,CAAe,EAAAC,EAChDT,EACAC,EACAH,EAAK,MACL,GACA,GACA,EACF,EACMY,EAAYC,EAAab,EAAK,QAAQ,EACtCc,EAAkBC,EAAmBb,CAAY,EAGjDc,EAAYC,EAAajB,EAAK,SAAUA,EAAK,SAAS,EACtDkB,EAAaC,EAAe,GAAOjB,EAAcC,EAAeF,EAAOD,EAAME,CAAY,EACzFkB,EAAUC,EAAkBH,EAAYhB,EAAc,MAAO,CACjE,cAAe,GACf,kBAAmB,EAAA,CACpB,EAEKoB,EACAvB,EAAQ,MAAM,kBAAoB,OAC7BK,EAAS,KAEdL,EAAQ,MAAM,kBAAoB,OAC7BK,EAAS,KAEdL,EAAQ,MAAM,kBAAoB,OAC7BK,EAAS,KAEX,KAGHmB,EAAmBC,EAAoBzB,EAASuB,EAAY,MAAO,GAAO,GAAO,EAAK,EAGtFG,EAAsBC,EAAe7B,EAAc,OAAWY,EAAaC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AAS,CAAA,aAAcyC,EAAM,CAChC,CAAA,CACF,CACF,EAEA,aAAQgB,EAAgB,CAAA,QAASf,IAAW,UAAYE,EAAuB,OAAW,CAC5F"}
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{h as l,j as e,A as f}from"./vendor-BoH5HFNN.js";import{e as h,ah as p,ak as b,bR as g,U as x}from"./index-CDBQg2fh.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="497bab96-ae8a-458f-b0da-c6b5b882aca0",t._sentryDebugIdIdentifier="sentry-dbid-497bab96-ae8a-458f-b0da-c6b5b882aca0")}catch{}})();const y="_container_o8th0_17",_="_pin_o8th0_27",m="_pinFailed_o8th0_51",c={container:y,pin:_,pinFailed:m};function v({permission:t,handleValidation:a}){const[s,o]=l.useState(""),[i,r]=l.useState(!1),u=()=>{a(s)||(r(!0),o(""))},d=n=>{o(n),i&&r(!1)};return e.jsxs("div",{className:c.container,children:[`Ontime ${t}`,e.jsxs("form",{onSubmit:n=>{n.preventDefault(),u()},className:h([c.pin,i&&c.pinFailed]),children:[e.jsx(p,{type:"password",maxLength:4,height:"large",value:s,onChange:n=>d(n.target.value)}),e.jsx(b,{type:"submit",variant:"primary","aria-label":"Enter",children:e.jsx(f,{})})]})]})}function w({permission:t,children:a}){const{editorAuth:s,operatorAuth:o,validate:i}=l.useContext(g),r=l.useCallback(d=>i(d,t),[t,i]);return x||(t==="editor"?s:t==="operator"?o:!1)?e.jsx(e.Fragment,{children:a}):e.jsx(v,{permission:t,handleValidation:r})}export{w as P};
|
|
2
|
-
//# sourceMappingURL=ProtectRoute-Ci_AIozP.js.map
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|