@epic-web/workshop-app 6.14.2 → 6.14.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/client/assets/{_-DV4Ha66L.js → _-BuqsX9jL.js} +2 -2
- package/build/client/assets/{_-DV4Ha66L.js.map → _-BuqsX9jL.js.map} +1 -1
- package/build/client/assets/{_-BEfdnu_S.js → _-DinosGr4.js} +2 -2
- package/build/client/assets/_-DinosGr4.js.map +1 -0
- package/build/client/assets/{_basePickBy-BXbL7qon.js → _basePickBy-BWxiEF6L.js} +2 -2
- package/build/client/assets/{_basePickBy-BXbL7qon.js.map → _basePickBy-BWxiEF6L.js.map} +1 -1
- package/build/client/assets/{_baseUniq-CtZFfRif.js → _baseUniq-D0omyKdo.js} +2 -2
- package/build/client/assets/{_baseUniq-CtZFfRif.js.map → _baseUniq-D0omyKdo.js.map} +1 -1
- package/build/client/assets/{_exerciseNumber-BcHM923A.js → _exerciseNumber-CRbv3t2H.js} +2 -2
- package/build/client/assets/{_exerciseNumber-BcHM923A.js.map → _exerciseNumber-CRbv3t2H.js.map} +1 -1
- package/build/client/assets/{_exerciseNumber_._stepNumber-DkoV9tCf.js → _exerciseNumber_._stepNumber-Q9yj8rZH.js} +2 -2
- package/build/client/assets/{_exerciseNumber_._stepNumber-DkoV9tCf.js.map → _exerciseNumber_._stepNumber-Q9yj8rZH.js.map} +1 -1
- package/build/client/assets/_exerciseNumber_._stepNumber.index-CpmpbABn.js +2 -0
- package/build/client/assets/_exerciseNumber_._stepNumber.index-CpmpbABn.js.map +1 -0
- package/build/client/assets/{_exerciseNumber_.finished-BzyI4yot.js → _exerciseNumber_.finished-CF34bJFr.js} +2 -2
- package/build/client/assets/{_exerciseNumber_.finished-BzyI4yot.js.map → _exerciseNumber_.finished-CF34bJFr.js.map} +1 -1
- package/build/client/assets/{_layout-DHLUa4_9.js → _layout-CnPbZRab.js} +2 -2
- package/build/client/assets/{_layout-DHLUa4_9.js.map → _layout-CnPbZRab.js.map} +1 -1
- package/build/client/assets/_layout-DiAMIdWk.js +2 -0
- package/build/client/assets/{_layout-DQs7hBSg.js.map → _layout-DiAMIdWk.js.map} +1 -1
- package/build/client/assets/{_layout-EWv-HN0t.js → _layout-gt3F6WY7.js} +2 -2
- package/build/client/assets/{_layout-EWv-HN0t.js.map → _layout-gt3F6WY7.js.map} +1 -1
- package/build/client/assets/{_layout-C2qBYSs9.js → _layout-rnQcLakR.js} +2 -2
- package/build/client/assets/{_layout-C2qBYSs9.js.map → _layout-rnQcLakR.js.map} +1 -1
- package/build/client/assets/{accordion-BNwue7tP.js → accordion-AYJh-rtE.js} +2 -2
- package/build/client/assets/{accordion-BNwue7tP.js.map → accordion-AYJh-rtE.js.map} +1 -1
- package/build/client/assets/{account-DpWyl5D8.js → account-DG43IEEo.js} +2 -2
- package/build/client/assets/{account-DpWyl5D8.js.map → account-DG43IEEo.js.map} +1 -1
- package/build/client/assets/api._-CpmpbABn.js +2 -0
- package/build/client/assets/api._-CpmpbABn.js.map +1 -0
- package/build/client/assets/app-BejX_HAI.js +2 -0
- package/build/client/assets/{app-B6Asqz0_.js.map → app-BejX_HAI.js.map} +1 -1
- package/build/client/assets/app.epic_ws_.js_-CpmpbABn.js +2 -0
- package/build/client/assets/app.epic_ws_.js_-CpmpbABn.js.map +1 -0
- package/build/client/assets/apps-Btba-K9Q.js +2 -0
- package/build/client/assets/apps-Btba-K9Q.js.map +1 -0
- package/build/client/assets/apps-CpmpbABn.js +2 -0
- package/build/client/assets/apps-CpmpbABn.js.map +1 -0
- package/build/client/assets/{arc-BMVfhJT3.js → arc-DnPvHhUK.js} +2 -2
- package/build/client/assets/{arc-BMVfhJT3.js.map → arc-DnPvHhUK.js.map} +1 -1
- package/build/client/assets/{architectureDiagram-NQ2NVSRB-BIdrgV0s.js → architectureDiagram-NQ2NVSRB-DkGn5Zso.js} +2 -2
- package/build/client/assets/{architectureDiagram-NQ2NVSRB-BIdrgV0s.js.map → architectureDiagram-NQ2NVSRB-DkGn5Zso.js.map} +1 -1
- package/build/client/assets/{blockDiagram-PHRCVELO-BbpPuqMV.js → blockDiagram-PHRCVELO-CWEnQ3zq.js} +2 -2
- package/build/client/assets/{blockDiagram-PHRCVELO-BbpPuqMV.js.map → blockDiagram-PHRCVELO-CWEnQ3zq.js.map} +1 -1
- package/build/client/assets/{button-D02M3k_A.js → button-Bj2M84MD.js} +2 -2
- package/build/client/assets/{button-D02M3k_A.js.map → button-Bj2M84MD.js.map} +1 -1
- package/build/client/assets/{c4Diagram-6F6E4RAY-fp3r0ui0.js → c4Diagram-6F6E4RAY-CT_sEMCs.js} +2 -2
- package/build/client/assets/{c4Diagram-6F6E4RAY-fp3r0ui0.js.map → c4Diagram-6F6E4RAY-CT_sEMCs.js.map} +1 -1
- package/build/client/assets/cache-CpmpbABn.js +2 -0
- package/build/client/assets/cache-CpmpbABn.js.map +1 -0
- package/build/client/assets/channel-BeLxxkZE.js +2 -0
- package/build/client/assets/{channel-BWGVHDK-.js.map → channel-BeLxxkZE.js.map} +1 -1
- package/build/client/assets/{chunk-353BL4L5-C8aHupyU.js → chunk-353BL4L5-DdT6pwPP.js} +2 -2
- package/build/client/assets/{chunk-353BL4L5-C8aHupyU.js.map → chunk-353BL4L5-DdT6pwPP.js.map} +1 -1
- package/build/client/assets/{chunk-67H74DCK-BOeVunjk.js → chunk-67H74DCK-B92r5qri.js} +2 -2
- package/build/client/assets/{chunk-67H74DCK-BOeVunjk.js.map → chunk-67H74DCK-B92r5qri.js.map} +1 -1
- package/build/client/assets/{chunk-6OLS64BW-CFvuQ04p.js → chunk-6OLS64BW-BEy9KJ5f.js} +2 -2
- package/build/client/assets/{chunk-6OLS64BW-CFvuQ04p.js.map → chunk-6OLS64BW-BEy9KJ5f.js.map} +1 -1
- package/build/client/assets/{chunk-AACKK3MU-BetTIqd0.js → chunk-AACKK3MU-Cw-HKrX6.js} +2 -2
- package/build/client/assets/{chunk-AACKK3MU-BetTIqd0.js.map → chunk-AACKK3MU-Cw-HKrX6.js.map} +1 -1
- package/build/client/assets/{chunk-BFAMUDN2-C2PbRhzm.js → chunk-BFAMUDN2-9lgHCThd.js} +2 -2
- package/build/client/assets/{chunk-BFAMUDN2-C2PbRhzm.js.map → chunk-BFAMUDN2-9lgHCThd.js.map} +1 -1
- package/build/client/assets/{chunk-E2GYISFI-Bl4n1xdN.js → chunk-E2GYISFI-CEJToJ2v.js} +2 -2
- package/build/client/assets/{chunk-E2GYISFI-Bl4n1xdN.js.map → chunk-E2GYISFI-CEJToJ2v.js.map} +1 -1
- package/build/client/assets/{chunk-QEP2MXWD-mvodIAlz.js → chunk-QEP2MXWD-BofXD0BC.js} +2 -2
- package/build/client/assets/{chunk-QEP2MXWD-mvodIAlz.js.map → chunk-QEP2MXWD-BofXD0BC.js.map} +1 -1
- package/build/client/assets/{chunk-QMGIS6GS-Du-_uMOD.js → chunk-QMGIS6GS-s1sqUxzz.js} +2 -2
- package/build/client/assets/{chunk-QMGIS6GS-Du-_uMOD.js.map → chunk-QMGIS6GS-s1sqUxzz.js.map} +1 -1
- package/build/client/assets/{chunk-SKB7J2MH-Bbw5Ks_7.js → chunk-SKB7J2MH-DXa3NVrE.js} +2 -2
- package/build/client/assets/{chunk-SKB7J2MH-Bbw5Ks_7.js.map → chunk-SKB7J2MH-DXa3NVrE.js.map} +1 -1
- package/build/client/assets/classDiagram-BGRH5UQR-aV0KX_qv.js +2 -0
- package/build/client/assets/{classDiagram-BGRH5UQR-B43E4NNs.js.map → classDiagram-BGRH5UQR-aV0KX_qv.js.map} +1 -1
- package/build/client/assets/classDiagram-v2-O24JOBDK-aV0KX_qv.js +2 -0
- package/build/client/assets/{classDiagram-v2-O24JOBDK-B43E4NNs.js.map → classDiagram-v2-O24JOBDK-aV0KX_qv.js.map} +1 -1
- package/build/client/assets/clone-DqaJG4aH.js +2 -0
- package/build/client/assets/{clone-BniOf7Yb.js.map → clone-DqaJG4aH.js.map} +1 -1
- package/build/client/assets/{dagre-FFZHY6LT-vKH6qeW_.js → dagre-FFZHY6LT-B68Pp1mI.js} +2 -2
- package/build/client/assets/{dagre-FFZHY6LT-vKH6qeW_.js.map → dagre-FFZHY6LT-B68Pp1mI.js.map} +1 -1
- package/build/client/assets/{diagram-3EMPZRKU-D3BTQE0v.js → diagram-3EMPZRKU-DRVvTI2i.js} +2 -2
- package/build/client/assets/{diagram-3EMPZRKU-D3BTQE0v.js.map → diagram-3EMPZRKU-DRVvTI2i.js.map} +1 -1
- package/build/client/assets/{diagram-5UYTHUR4-BadShsGf.js → diagram-5UYTHUR4-D_dp2UMv.js} +2 -2
- package/build/client/assets/{diagram-5UYTHUR4-BadShsGf.js.map → diagram-5UYTHUR4-D_dp2UMv.js.map} +1 -1
- package/build/client/assets/{diagram-ZTM2IBQH-D9jJN3bl.js → diagram-ZTM2IBQH-RObBkpH0.js} +2 -2
- package/build/client/assets/{diagram-ZTM2IBQH-D9jJN3bl.js.map → diagram-ZTM2IBQH-RObBkpH0.js.map} +1 -1
- package/build/client/assets/diff-B7gB6c2G.js +2 -0
- package/build/client/assets/{diff-CQVU7E-h.js.map → diff-B7gB6c2G.js.map} +1 -1
- package/build/client/assets/{diff-B376IevU.js → diff-DhipGoJ9.js} +2 -2
- package/build/client/assets/{diff-B376IevU.js.map → diff-DhipGoJ9.js.map} +1 -1
- package/build/client/assets/{discord-Cx03Cky4.js → discord-CcDU3lmV.js} +2 -2
- package/build/client/assets/{discord-Cx03Cky4.js.map → discord-CcDU3lmV.js.map} +1 -1
- package/build/client/assets/discord-WVHyDde2.js +2 -0
- package/build/client/assets/discord-WVHyDde2.js.map +1 -0
- package/build/client/assets/{entry.client-C-f7Acxq.js → entry.client-Bep3EH-f.js} +2 -2
- package/build/client/assets/{entry.client-C-f7Acxq.js.map → entry.client-Bep3EH-f.js.map} +1 -1
- package/build/client/assets/{epic-video-CYB9v08Z.js → epic-video-BXvzDHIB.js} +2 -2
- package/build/client/assets/{epic-video-CYB9v08Z.js.map → epic-video-BXvzDHIB.js.map} +1 -1
- package/build/client/assets/epic_ws_.js_-CpmpbABn.js +2 -0
- package/build/client/assets/epic_ws_.js_-CpmpbABn.js.map +1 -0
- package/build/client/assets/{erDiagram-R3QVA2FD-DA8ObfcQ.js → erDiagram-R3QVA2FD-BM1lu2-V.js} +2 -2
- package/build/client/assets/{erDiagram-R3QVA2FD-DA8ObfcQ.js.map → erDiagram-R3QVA2FD-BM1lu2-V.js.map} +1 -1
- package/build/client/assets/{error-boundary-BVQLpMgs.js → error-boundary-BhpCzxkD.js} +2 -2
- package/build/client/assets/{error-boundary-BVQLpMgs.js.map → error-boundary-BhpCzxkD.js.map} +1 -1
- package/build/client/assets/exercises-CpmpbABn.js +2 -0
- package/build/client/assets/exercises-CpmpbABn.js.map +1 -0
- package/build/client/assets/{finished-CdbbjXVl.js → finished-DFXv9XzM.js} +2 -2
- package/build/client/assets/{finished-CdbbjXVl.js.map → finished-DFXv9XzM.js.map} +1 -1
- package/build/client/assets/{flowDiagram-PKI6S5ZS-Cl53QYkW.js → flowDiagram-PKI6S5ZS-CWmSD1H_.js} +2 -2
- package/build/client/assets/{flowDiagram-PKI6S5ZS-Cl53QYkW.js.map → flowDiagram-PKI6S5ZS-CWmSD1H_.js.map} +1 -1
- package/build/client/assets/{ganttDiagram-EK5VF46D-BvSMSlCf.js → ganttDiagram-EK5VF46D-BbzicWDr.js} +2 -2
- package/build/client/assets/{ganttDiagram-EK5VF46D-BvSMSlCf.js.map → ganttDiagram-EK5VF46D-BbzicWDr.js.map} +1 -1
- package/build/client/assets/{gitGraphDiagram-GW3U2K7C-BC4jDCQG.js → gitGraphDiagram-GW3U2K7C-DGTS4k9w.js} +2 -2
- package/build/client/assets/{gitGraphDiagram-GW3U2K7C-BC4jDCQG.js.map → gitGraphDiagram-GW3U2K7C-DGTS4k9w.js.map} +1 -1
- package/build/client/assets/{graph-DmoNxkW1.js → graph-CaVVBXRF.js} +2 -2
- package/build/client/assets/{graph-DmoNxkW1.js.map → graph-CaVVBXRF.js.map} +1 -1
- package/build/client/assets/healthcheck-CpmpbABn.js +2 -0
- package/build/client/assets/healthcheck-CpmpbABn.js.map +1 -0
- package/build/client/assets/{index-2LBjIZsR.js → index-2vn7TKln.js} +2 -2
- package/build/client/assets/{index-2LBjIZsR.js.map → index-2vn7TKln.js.map} +1 -1
- package/build/client/assets/{index-CQpafIsR.js → index-5WrUDw0m.js} +2 -2
- package/build/client/assets/{index-CQpafIsR.js.map → index-5WrUDw0m.js.map} +1 -1
- package/build/client/assets/{index-wYr49Min.js → index-7ddSzI6h.js} +2 -2
- package/build/client/assets/{index-wYr49Min.js.map → index-7ddSzI6h.js.map} +1 -1
- package/build/client/assets/{index-DhyRhm-a.js → index-B-ImQw77.js} +2 -2
- package/build/client/assets/{index-DhyRhm-a.js.map → index-B-ImQw77.js.map} +1 -1
- package/build/client/assets/{index-CBUrmkWa.js → index-BAZ-dfnH.js} +2 -2
- package/build/client/assets/{index-CBUrmkWa.js.map → index-BAZ-dfnH.js.map} +1 -1
- package/build/client/assets/{index-DxebmNVe.js → index-BCIyCTKq.js} +2 -2
- package/build/client/assets/{index-DxebmNVe.js.map → index-BCIyCTKq.js.map} +1 -1
- package/build/client/assets/{index-B8smZwSG.js → index-BmZYK7HN.js} +2 -2
- package/build/client/assets/{index-B8smZwSG.js.map → index-BmZYK7HN.js.map} +1 -1
- package/build/client/assets/index-Btba-K9Q.js +2 -0
- package/build/client/assets/index-Btba-K9Q.js.map +1 -0
- package/build/client/assets/{index-C245u_6M.js → index-CVx7Nbhh.js} +2 -2
- package/build/client/assets/{index-C245u_6M.js.map → index-CVx7Nbhh.js.map} +1 -1
- package/build/client/assets/index-CZxXGZFL.js +2 -0
- package/build/client/assets/index-CZxXGZFL.js.map +1 -0
- package/build/client/assets/index-CpmpbABn.js +2 -0
- package/build/client/assets/index-CpmpbABn.js.map +1 -0
- package/build/client/assets/{index-CsJM7KSY.js → index-YkiF92kh.js} +2 -2
- package/build/client/assets/{index-CsJM7KSY.js.map → index-YkiF92kh.js.map} +1 -1
- package/build/client/assets/infoDiagram-XT3IWWJI-DxGcRrxo.js +3 -0
- package/build/client/assets/{infoDiagram-XT3IWWJI-_8npXlsz.js.map → infoDiagram-XT3IWWJI-DxGcRrxo.js.map} +1 -1
- package/build/client/assets/{journeyDiagram-EWQZEKCU-CLMB5SLF.js → journeyDiagram-EWQZEKCU-wZB6fB2A.js} +2 -2
- package/build/client/assets/{journeyDiagram-EWQZEKCU-CLMB5SLF.js.map → journeyDiagram-EWQZEKCU-wZB6fB2A.js.map} +1 -1
- package/build/client/assets/{jsx-runtime-DKBD_fLS.js → jsx-runtime-DXAEI3Eb.js} +2 -2
- package/build/client/assets/{jsx-runtime-DKBD_fLS.js.map → jsx-runtime-DXAEI3Eb.js.map} +1 -1
- package/build/client/assets/{kanban-definition-ILFWEQ3N-5PudnDcU.js → kanban-definition-ILFWEQ3N-CK6yB-ML.js} +2 -2
- package/build/client/assets/{kanban-definition-ILFWEQ3N-5PudnDcU.js.map → kanban-definition-ILFWEQ3N-CK6yB-ML.js.map} +1 -1
- package/build/client/assets/l-B7D7yXbG.js +2 -0
- package/build/client/assets/{l-CjuVWd7j.js.map → l-B7D7yXbG.js.map} +1 -1
- package/build/client/assets/launch-editor-CpmpbABn.js +2 -0
- package/build/client/assets/launch-editor-CpmpbABn.js.map +1 -0
- package/build/client/assets/{layout-BXfvL1vj.js → layout-D4Warzdd.js} +2 -2
- package/build/client/assets/{layout-BXfvL1vj.js.map → layout-D4Warzdd.js.map} +1 -1
- package/build/client/assets/{linear-DhCwCW7Y.js → linear-CM1Phdip.js} +2 -2
- package/build/client/assets/{linear-DhCwCW7Y.js.map → linear-CM1Phdip.js.map} +1 -1
- package/build/client/assets/{loading-BuvISkeY.js → loading-CwyhGvvd.js} +2 -2
- package/build/client/assets/{loading-BuvISkeY.js.map → loading-CwyhGvvd.js.map} +1 -1
- package/build/client/assets/{login-BH4ljGt7.js → login-DfqSkVaO.js} +2 -2
- package/build/client/assets/{login-BH4ljGt7.js.map → login-DfqSkVaO.js.map} +1 -1
- package/build/client/assets/login-sse-CpmpbABn.js +2 -0
- package/build/client/assets/login-sse-CpmpbABn.js.map +1 -0
- package/build/client/assets/lookout-CpmpbABn.js +2 -0
- package/build/client/assets/lookout-CpmpbABn.js.map +1 -0
- package/build/client/assets/manifest-57b5a7c4.js +1 -0
- package/build/client/assets/{mdx-DdK1AGxI.js → mdx-D3zuEMw_.js} +3 -3
- package/build/client/assets/{mdx-DdK1AGxI.js.map → mdx-D3zuEMw_.js.map} +1 -1
- package/build/client/assets/{mermaid.core-tdjgKLol.js → mermaid.core-DN2yK8JU.js} +5 -5
- package/build/client/assets/{mermaid.core-tdjgKLol.js.map → mermaid.core-DN2yK8JU.js.map} +1 -1
- package/build/client/assets/{mindmap-definition-CZNETY7S-DocEjJYU.js → mindmap-definition-CZNETY7S-CbD8GVId.js} +2 -2
- package/build/client/assets/{mindmap-definition-CZNETY7S-DocEjJYU.js.map → mindmap-definition-CZNETY7S-CbD8GVId.js.map} +1 -1
- package/build/client/assets/{misc-D7yrZhQB.js → misc-CFnU1MK_.js} +2 -2
- package/build/client/assets/{misc-D7yrZhQB.js.map → misc-CFnU1MK_.js.map} +1 -1
- package/build/client/assets/{nav-chevrons-DWkM88G0.js → nav-chevrons-j93TK8de.js} +2 -2
- package/build/client/assets/{nav-chevrons-DWkM88G0.js.map → nav-chevrons-j93TK8de.js.map} +1 -1
- package/build/client/assets/notifications-CpmpbABn.js +2 -0
- package/build/client/assets/notifications-CpmpbABn.js.map +1 -0
- package/build/client/assets/og-CpmpbABn.js +2 -0
- package/build/client/assets/og-CpmpbABn.js.map +1 -0
- package/build/client/assets/{onboarding-C59GmR50.js → onboarding-DopOuziu.js} +2 -2
- package/build/client/assets/{onboarding-C59GmR50.js.map → onboarding-DopOuziu.js.map} +1 -1
- package/build/client/assets/{online-D4vODkth.js → online-CVRagwjj.js} +2 -2
- package/build/client/assets/{online-D4vODkth.js.map → online-CVRagwjj.js.map} +1 -1
- package/build/client/assets/{pe-CdmQkMqU.js → pe-B4x-9zwV.js} +2 -2
- package/build/client/assets/{pe-CdmQkMqU.js.map → pe-B4x-9zwV.js.map} +1 -1
- package/build/client/assets/{pieDiagram-NIOCPIFQ-DVmMnK74.js → pieDiagram-NIOCPIFQ-CnVqKmIe.js} +2 -2
- package/build/client/assets/{pieDiagram-NIOCPIFQ-DVmMnK74.js.map → pieDiagram-NIOCPIFQ-CnVqKmIe.js.map} +1 -1
- package/build/client/assets/{preferences-DfB9rP8a.js → preferences-D-17xd45.js} +2 -2
- package/build/client/assets/{preferences-DfB9rP8a.js.map → preferences-D-17xd45.js.map} +1 -1
- package/build/client/assets/{presence-DWQewy5j.js → presence-4HURsnNL.js} +2 -2
- package/build/client/assets/{presence-DWQewy5j.js.map → presence-4HURsnNL.js.map} +1 -1
- package/build/client/assets/{preview-CwjqbpcS.js → preview-4wZFBAy9.js} +2 -2
- package/build/client/assets/{preview-CwjqbpcS.js.map → preview-4wZFBAy9.js.map} +1 -1
- package/build/client/assets/processes-CpmpbABn.js +2 -0
- package/build/client/assets/processes-CpmpbABn.js.map +1 -0
- package/build/client/assets/{product-KkdaVQou.js → product-DX8-l4ph.js} +2 -2
- package/build/client/assets/{product-KkdaVQou.js.map → product-DX8-l4ph.js.map} +1 -1
- package/build/client/assets/{progress-CdZ-Vcyn.js → progress-BDknFYzk.js} +2 -2
- package/build/client/assets/{progress-CdZ-Vcyn.js.map → progress-BDknFYzk.js.map} +1 -1
- package/build/client/assets/progress-CpmpbABn.js +2 -0
- package/build/client/assets/progress-CpmpbABn.js.map +1 -0
- package/build/client/assets/{progress-bar-B3_pKtoN.js → progress-bar-FGfYP6Rz.js} +2 -2
- package/build/client/assets/{progress-bar-B3_pKtoN.js.map → progress-bar-FGfYP6Rz.js.map} +1 -1
- package/build/client/assets/{quadrantDiagram-2OG54O6I-BpG5BmQ3.js → quadrantDiagram-2OG54O6I-D_2NEbEQ.js} +2 -2
- package/build/client/assets/{quadrantDiagram-2OG54O6I-BpG5BmQ3.js.map → quadrantDiagram-2OG54O6I-D_2NEbEQ.js.map} +1 -1
- package/build/client/assets/{requirementDiagram-SO3GGRV7-CeVkImIX.js → requirementDiagram-SO3GGRV7-DNgmIySA.js} +2 -2
- package/build/client/assets/{requirementDiagram-SO3GGRV7-CeVkImIX.js.map → requirementDiagram-SO3GGRV7-DNgmIySA.js.map} +1 -1
- package/build/client/assets/{revalidation-ws-Do4fE9JQ.js → revalidation-ws-1umHIswK.js} +2 -2
- package/build/client/assets/{revalidation-ws-Do4fE9JQ.js.map → revalidation-ws-1umHIswK.js.map} +1 -1
- package/build/client/assets/robots_._txt-CpmpbABn.js +2 -0
- package/build/client/assets/robots_._txt-CpmpbABn.js.map +1 -0
- package/build/client/assets/{root-C0Bm0Ely.js → root-CXMubBMj.js} +2 -2
- package/build/client/assets/{root-C0Bm0Ely.js.map → root-CXMubBMj.js.map} +1 -1
- package/build/client/assets/{sankeyDiagram-4UZDY2LN-CMy-UAmy.js → sankeyDiagram-4UZDY2LN-CZX30OZU.js} +2 -2
- package/build/client/assets/{sankeyDiagram-4UZDY2LN-CMy-UAmy.js.map → sankeyDiagram-4UZDY2LN-CZX30OZU.js.map} +1 -1
- package/build/client/assets/{seo-P_yhbn7-.js → seo-B067fiyK.js} +2 -2
- package/build/client/assets/{seo-P_yhbn7-.js.map → seo-B067fiyK.js.map} +1 -1
- package/build/client/assets/{sequenceDiagram-ZIKVLSP4-BvE7ME5W.js → sequenceDiagram-ZIKVLSP4-BZ3UBzRg.js} +2 -2
- package/build/client/assets/{sequenceDiagram-ZIKVLSP4-BvE7ME5W.js.map → sequenceDiagram-ZIKVLSP4-BZ3UBzRg.js.map} +1 -1
- package/build/client/assets/{set-playground-1BzordBz.js → set-playground-BCWzPlz8.js} +2 -2
- package/build/client/assets/{set-playground-1BzordBz.js.map → set-playground-BCWzPlz8.js.map} +1 -1
- package/build/client/assets/set-playground-CpmpbABn.js +2 -0
- package/build/client/assets/set-playground-CpmpbABn.js.map +1 -0
- package/build/client/assets/sitemap_._xml-CpmpbABn.js +2 -0
- package/build/client/assets/sitemap_._xml-CpmpbABn.js.map +1 -0
- package/build/client/assets/start-CpmpbABn.js +2 -0
- package/build/client/assets/start-CpmpbABn.js.map +1 -0
- package/build/client/assets/{stateDiagram-XX37X6EN-DZlrR-hS.js → stateDiagram-XX37X6EN-Bhcagz06.js} +2 -2
- package/build/client/assets/{stateDiagram-XX37X6EN-DZlrR-hS.js.map → stateDiagram-XX37X6EN-Bhcagz06.js.map} +1 -1
- package/build/client/assets/stateDiagram-v2-GD6S3NHB-CoWM3q8d.js +2 -0
- package/build/client/assets/{stateDiagram-v2-GD6S3NHB-D6K_ePXI.js.map → stateDiagram-v2-GD6S3NHB-CoWM3q8d.js.map} +1 -1
- package/build/client/assets/{support-D2ZulF0D.js → support-Bf_2rgd_.js} +2 -2
- package/build/client/assets/{support-D2ZulF0D.js.map → support-Bf_2rgd_.js.map} +1 -1
- package/build/client/assets/test-CpmpbABn.js +2 -0
- package/build/client/assets/test-CpmpbABn.js.map +1 -0
- package/build/client/assets/test-CrM0XvT4.js +2 -0
- package/build/client/assets/{test-D7r_HsN4.js.map → test-CrM0XvT4.js.map} +1 -1
- package/build/client/assets/test._testName-CpmpbABn.js +2 -0
- package/build/client/assets/test._testName-CpmpbABn.js.map +1 -0
- package/build/client/assets/test.epic_ws_.js_-CpmpbABn.js +2 -0
- package/build/client/assets/test.epic_ws_.js_-CpmpbABn.js.map +1 -0
- package/build/client/assets/{tests-DaEG5aZr.js → tests-B9wdQykM.js} +2 -2
- package/build/client/assets/{tests-DaEG5aZr.js.map → tests-B9wdQykM.js.map} +1 -1
- package/build/client/assets/{timeline-definition-RI47OAVP-1EQPBN04.js → timeline-definition-RI47OAVP-Dy7dfzOy.js} +2 -2
- package/build/client/assets/{timeline-definition-RI47OAVP-1EQPBN04.js.map → timeline-definition-RI47OAVP-Dy7dfzOy.js.map} +1 -1
- package/build/client/assets/{tooltip-CUdKgIRf.js → tooltip-BVlcAOVw.js} +2 -2
- package/build/client/assets/{tooltip-CUdKgIRf.js.map → tooltip-BVlcAOVw.js.map} +1 -1
- package/build/client/assets/{treemap-6Y5VK53G-CCaJF09R.js → treemap-6Y5VK53G-FTlofOA6.js} +2 -2
- package/build/client/assets/{treemap-6Y5VK53G-CCaJF09R.js.map → treemap-6Y5VK53G-FTlofOA6.js.map} +1 -1
- package/build/client/assets/{use-event-source-BOTYusqH.js → use-event-source-Dy62QvPu.js} +2 -2
- package/build/client/assets/{use-event-source-BOTYusqH.js.map → use-event-source-Dy62QvPu.js.map} +1 -1
- package/build/client/assets/{user-BUyyWGpK.js → user-DwkYL1w0.js} +2 -2
- package/build/client/assets/{user-BUyyWGpK.js.map → user-DwkYL1w0.js.map} +1 -1
- package/build/client/assets/{version-VDBggzrB.js → version-BeSyxmUj.js} +2 -2
- package/build/client/assets/{version-VDBggzrB.js.map → version-BeSyxmUj.js.map} +1 -1
- package/build/client/assets/workshop-config-C-eyJXJM.js +2 -0
- package/build/client/assets/{workshop-config-eejws2-k.js.map → workshop-config-C-eyJXJM.js.map} +1 -1
- package/build/client/assets/{workspace-structure-DwQUtU0r.js → workspace-structure-D69bt3vr.js} +2 -2
- package/build/client/assets/{workspace-structure-DwQUtU0r.js.map → workspace-structure-D69bt3vr.js.map} +1 -1
- package/build/client/assets/{xychartDiagram-H2YORKM3-ZB2741wi.js → xychartDiagram-H2YORKM3-Bmq6avq2.js} +2 -2
- package/build/client/assets/{xychartDiagram-H2YORKM3-ZB2741wi.js.map → xychartDiagram-H2YORKM3-Bmq6avq2.js.map} +1 -1
- package/build/server/index.js +2 -2
- package/package.json +1 -1
- package/build/client/assets/_-BEfdnu_S.js.map +0 -1
- package/build/client/assets/_exerciseNumber_._stepNumber.index-D9zwSM-a.js +0 -2
- package/build/client/assets/_exerciseNumber_._stepNumber.index-D9zwSM-a.js.map +0 -1
- package/build/client/assets/_layout-DQs7hBSg.js +0 -2
- package/build/client/assets/api._-D9zwSM-a.js +0 -2
- package/build/client/assets/api._-D9zwSM-a.js.map +0 -1
- package/build/client/assets/app-B6Asqz0_.js +0 -2
- package/build/client/assets/app.epic_ws_.js_-D9zwSM-a.js +0 -2
- package/build/client/assets/app.epic_ws_.js_-D9zwSM-a.js.map +0 -1
- package/build/client/assets/apps-D9zwSM-a.js +0 -2
- package/build/client/assets/apps-D9zwSM-a.js.map +0 -1
- package/build/client/assets/apps-DxgBeJoD.js +0 -2
- package/build/client/assets/apps-DxgBeJoD.js.map +0 -1
- package/build/client/assets/cache-D9zwSM-a.js +0 -2
- package/build/client/assets/cache-D9zwSM-a.js.map +0 -1
- package/build/client/assets/channel-BWGVHDK-.js +0 -2
- package/build/client/assets/classDiagram-BGRH5UQR-B43E4NNs.js +0 -2
- package/build/client/assets/classDiagram-v2-O24JOBDK-B43E4NNs.js +0 -2
- package/build/client/assets/clone-BniOf7Yb.js +0 -2
- package/build/client/assets/diff-CQVU7E-h.js +0 -2
- package/build/client/assets/discord-B39XeN10.js +0 -2
- package/build/client/assets/discord-B39XeN10.js.map +0 -1
- package/build/client/assets/epic_ws_.js_-D9zwSM-a.js +0 -2
- package/build/client/assets/epic_ws_.js_-D9zwSM-a.js.map +0 -1
- package/build/client/assets/exercises-D9zwSM-a.js +0 -2
- package/build/client/assets/exercises-D9zwSM-a.js.map +0 -1
- package/build/client/assets/healthcheck-D9zwSM-a.js +0 -2
- package/build/client/assets/healthcheck-D9zwSM-a.js.map +0 -1
- package/build/client/assets/index-BcumkKvQ.js +0 -2
- package/build/client/assets/index-BcumkKvQ.js.map +0 -1
- package/build/client/assets/index-D9zwSM-a.js +0 -2
- package/build/client/assets/index-D9zwSM-a.js.map +0 -1
- package/build/client/assets/index-DxgBeJoD.js +0 -2
- package/build/client/assets/index-DxgBeJoD.js.map +0 -1
- package/build/client/assets/infoDiagram-XT3IWWJI-_8npXlsz.js +0 -3
- package/build/client/assets/l-CjuVWd7j.js +0 -2
- package/build/client/assets/launch-editor-D9zwSM-a.js +0 -2
- package/build/client/assets/launch-editor-D9zwSM-a.js.map +0 -1
- package/build/client/assets/login-sse-D9zwSM-a.js +0 -2
- package/build/client/assets/login-sse-D9zwSM-a.js.map +0 -1
- package/build/client/assets/lookout-D9zwSM-a.js +0 -2
- package/build/client/assets/lookout-D9zwSM-a.js.map +0 -1
- package/build/client/assets/manifest-f4a6d68a.js +0 -1
- package/build/client/assets/notifications-D9zwSM-a.js +0 -2
- package/build/client/assets/notifications-D9zwSM-a.js.map +0 -1
- package/build/client/assets/og-D9zwSM-a.js +0 -2
- package/build/client/assets/og-D9zwSM-a.js.map +0 -1
- package/build/client/assets/processes-D9zwSM-a.js +0 -2
- package/build/client/assets/processes-D9zwSM-a.js.map +0 -1
- package/build/client/assets/progress-D9zwSM-a.js +0 -2
- package/build/client/assets/progress-D9zwSM-a.js.map +0 -1
- package/build/client/assets/robots_._txt-D9zwSM-a.js +0 -2
- package/build/client/assets/robots_._txt-D9zwSM-a.js.map +0 -1
- package/build/client/assets/set-playground-D9zwSM-a.js +0 -2
- package/build/client/assets/set-playground-D9zwSM-a.js.map +0 -1
- package/build/client/assets/sitemap_._xml-D9zwSM-a.js +0 -2
- package/build/client/assets/sitemap_._xml-D9zwSM-a.js.map +0 -1
- package/build/client/assets/start-D9zwSM-a.js +0 -2
- package/build/client/assets/start-D9zwSM-a.js.map +0 -1
- package/build/client/assets/stateDiagram-v2-GD6S3NHB-D6K_ePXI.js +0 -2
- package/build/client/assets/test-D7r_HsN4.js +0 -2
- package/build/client/assets/test-D9zwSM-a.js +0 -2
- package/build/client/assets/test-D9zwSM-a.js.map +0 -1
- package/build/client/assets/test._testName-D9zwSM-a.js +0 -2
- package/build/client/assets/test._testName-D9zwSM-a.js.map +0 -1
- package/build/client/assets/test.epic_ws_.js_-D9zwSM-a.js +0 -2
- package/build/client/assets/test.epic_ws_.js_-D9zwSM-a.js.map +0 -1
- package/build/client/assets/workshop-config-eejws2-k.js +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as K}from"./jsx-runtime-DKBD_fLS.js";import{R as Ra,r as vt,d as ib,g as sb,A as rb,L as ro}from"./chunk-QMGIS6GS-Du-_uMOD.js";import{o as nb,s as ab,n as ob,u as I0}from"./index-wYr49Min.js";import{h as lb,I as L0,c as db}from"./misc-D7yrZhQB.js";import"./_-BEfdnu_S.js";import{u as ub}from"./online-D4vODkth.js";import{L as $h}from"./loading-BuvISkeY.js";import{c as cb}from"./user-BUyyWGpK.js";import{u as hb}from"./workshop-config-eejws2-k.js";var fb=Object.create,x0=Object.defineProperty,mb=Object.getOwnPropertyDescriptor,pb=Object.getOwnPropertyNames,gb=Object.getPrototypeOf,vb=Object.prototype.hasOwnProperty,R0=function(i,e){return function(){return i&&(e=i(i=0)),e}},Dt=function(i,e){return function(){return e||i((e={exports:{}}).exports,e),e.exports}},Eb=function(i,e,t,s){if(e&&typeof e=="object"||typeof e=="function")for(var r=pb(e),n=0,a=r.length,o;n<a;n++)o=r[n],!vb.call(i,o)&&o!==t&&x0(i,o,{get:(function(d){return e[d]}).bind(null,o),enumerable:!(s=mb(e,o))||s.enumerable});return i},$t=function(i,e,t){return t=i!=null?fb(gb(i)):{},Eb(!i||!i.__esModule?x0(t,"default",{value:i,enumerable:!0}):t,i)},hi=Dt(function(i,e){var t;typeof window<"u"?t=window:typeof global<"u"?t=global:typeof self<"u"?t=self:t={},e.exports=t});function vr(i,e){return e!=null&&typeof Symbol<"u"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](i):vr(i,e)}var Er=R0(function(){Er()});function k0(i){"@swc/helpers - typeof";return i&&typeof Symbol<"u"&&i.constructor===Symbol?"symbol":typeof i}var D0=R0(function(){}),C0=Dt(function(i,e){var t=Array.prototype.slice;e.exports=s;function s(r,n){for(("length"in r)||(r=[r]),r=t.call(r);r.length;){var a=r.shift(),o=n(a);if(o)return o;a.childNodes&&a.childNodes.length&&(r=t.call(a.childNodes).concat(r))}}}),yb=Dt(function(i,e){Er(),e.exports=t;function t(s,r){if(!vr(this,t))return new t(s,r);this.data=s,this.nodeValue=s,this.length=s.length,this.ownerDocument=r||null}t.prototype.nodeType=8,t.prototype.nodeName="#comment",t.prototype.toString=function(){return"[object Comment]"}}),Tb=Dt(function(i,e){Er(),e.exports=t;function t(s,r){if(!vr(this,t))return new t(s);this.data=s||"",this.length=this.data.length,this.ownerDocument=r||null}t.prototype.type="DOMTextNode",t.prototype.nodeType=3,t.prototype.nodeName="#text",t.prototype.toString=function(){return this.data},t.prototype.replaceData=function(s,r,n){var a=this.data,o=a.substring(0,s),d=a.substring(s+r,a.length);this.data=o+n+d,this.length=this.data.length}}),w0=Dt(function(i,e){e.exports=t;function t(s){var r=this,n=s.type;s.target||(s.target=r),r.listeners||(r.listeners={});var a=r.listeners[n];if(a)return a.forEach(function(o){s.currentTarget=r,typeof o=="function"?o(s):o.handleEvent(s)});r.parentNode&&r.parentNode.dispatchEvent(s)}}),M0=Dt(function(i,e){e.exports=t;function t(s,r){var n=this;n.listeners||(n.listeners={}),n.listeners[s]||(n.listeners[s]=[]),n.listeners[s].indexOf(r)===-1&&n.listeners[s].push(r)}}),P0=Dt(function(i,e){e.exports=t;function t(s,r){var n=this;if(n.listeners&&n.listeners[s]){var a=n.listeners[s],o=a.indexOf(r);o!==-1&&a.splice(o,1)}}}),bb=Dt(function(i,e){D0(),e.exports=s;var t=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"];function s(h){switch(h.nodeType){case 3:return u(h.data);case 8:return"<!--"+h.data+"-->";default:return r(h)}}function r(h){var f=[],m=h.tagName;return h.namespaceURI==="http://www.w3.org/1999/xhtml"&&(m=m.toLowerCase()),f.push("<"+m+l(h)+o(h)),t.indexOf(m)>-1?f.push(" />"):(f.push(">"),h.childNodes.length?f.push.apply(f,h.childNodes.map(s)):h.textContent||h.innerText?f.push(u(h.textContent||h.innerText)):h.innerHTML&&f.push(h.innerHTML),f.push("</"+m+">")),f.join("")}function n(h,f){var m=k0(h[f]);return f==="style"&&Object.keys(h.style).length>0?!0:h.hasOwnProperty(f)&&(m==="string"||m==="boolean"||m==="number")&&f!=="nodeName"&&f!=="className"&&f!=="tagName"&&f!=="textContent"&&f!=="innerText"&&f!=="namespaceURI"&&f!=="innerHTML"}function a(h){if(typeof h=="string")return h;var f="";return Object.keys(h).forEach(function(m){var g=h[m];m=m.replace(/[A-Z]/g,function(p){return"-"+p.toLowerCase()}),f+=m+":"+g+";"}),f}function o(h){var f=h.dataset,m=[];for(var g in f)m.push({name:"data-"+g,value:f[g]});return m.length?d(m):""}function d(h){var f=[];return h.forEach(function(m){var g=m.name,p=m.value;g==="style"&&(p=a(p)),f.push(g+'="'+c(p)+'"')}),f.length?" "+f.join(" "):""}function l(h){var f=[];for(var m in h)n(h,m)&&f.push({name:m,value:h[m]});for(var g in h._attributes)for(var p in h._attributes[g]){var E=h._attributes[g][p],T=(E.prefix?E.prefix+":":"")+p;f.push({name:T,value:E.value})}return h.className&&f.push({name:"class",value:h.className}),f.length?d(f):""}function u(h){var f="";return typeof h=="string"?f=h:h&&(f=h.toString()),f.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function c(h){return u(h).replace(/"/g,""")}}),O0=Dt(function(i,e){Er();var t=C0(),s=w0(),r=M0(),n=P0(),a=bb(),o="http://www.w3.org/1999/xhtml";e.exports=d;function d(l,u,c){if(!vr(this,d))return new d(l);var h=c===void 0?o:c||null;this.tagName=h===o?String(l).toUpperCase():l,this.nodeName=this.tagName,this.className="",this.dataset={},this.childNodes=[],this.parentNode=null,this.style={},this.ownerDocument=u||null,this.namespaceURI=h,this._attributes={},this.tagName==="INPUT"&&(this.type="text")}d.prototype.type="DOMElement",d.prototype.nodeType=1,d.prototype.appendChild=function(l){return l.parentNode&&l.parentNode.removeChild(l),this.childNodes.push(l),l.parentNode=this,l},d.prototype.replaceChild=function(l,u){l.parentNode&&l.parentNode.removeChild(l);var c=this.childNodes.indexOf(u);return u.parentNode=null,this.childNodes[c]=l,l.parentNode=this,u},d.prototype.removeChild=function(l){var u=this.childNodes.indexOf(l);return this.childNodes.splice(u,1),l.parentNode=null,l},d.prototype.insertBefore=function(l,u){l.parentNode&&l.parentNode.removeChild(l);var c=u==null?-1:this.childNodes.indexOf(u);return c>-1?this.childNodes.splice(c,0,l):this.childNodes.push(l),l.parentNode=this,l},d.prototype.setAttributeNS=function(l,u,c){var h=null,f=u,m=u.indexOf(":");if(m>-1&&(h=u.substr(0,m),f=u.substr(m+1)),this.tagName==="INPUT"&&u==="type")this.type=c;else{var g=this._attributes[l]||(this._attributes[l]={});g[f]={value:c,prefix:h}}},d.prototype.getAttributeNS=function(l,u){var c=this._attributes[l],h=c&&c[u]&&c[u].value;return this.tagName==="INPUT"&&u==="type"?this.type:typeof h!="string"?null:h},d.prototype.removeAttributeNS=function(l,u){var c=this._attributes[l];c&&delete c[u]},d.prototype.hasAttributeNS=function(l,u){var c=this._attributes[l];return!!c&&u in c},d.prototype.setAttribute=function(l,u){return this.setAttributeNS(null,l,u)},d.prototype.getAttribute=function(l){return this.getAttributeNS(null,l)},d.prototype.removeAttribute=function(l){return this.removeAttributeNS(null,l)},d.prototype.hasAttribute=function(l){return this.hasAttributeNS(null,l)},d.prototype.removeEventListener=n,d.prototype.addEventListener=r,d.prototype.dispatchEvent=s,d.prototype.focus=function(){},d.prototype.toString=function(){return a(this)},d.prototype.getElementsByClassName=function(l){var u=l.split(" "),c=[];return t(this,function(h){if(h.nodeType===1){var f=h.className||"",m=f.split(" ");u.every(function(g){return m.indexOf(g)!==-1})&&c.push(h)}}),c},d.prototype.getElementsByTagName=function(l){l=l.toLowerCase();var u=[];return t(this.childNodes,function(c){c.nodeType===1&&(l==="*"||c.tagName.toLowerCase()===l)&&u.push(c)}),u},d.prototype.contains=function(l){return t(this,function(u){return l===u})||!1}}),_b=Dt(function(i,e){Er();var t=O0();e.exports=s;function s(r){if(!vr(this,s))return new s;this.childNodes=[],this.parentNode=null,this.ownerDocument=r||null}s.prototype.type="DocumentFragment",s.prototype.nodeType=11,s.prototype.nodeName="#document-fragment",s.prototype.appendChild=t.prototype.appendChild,s.prototype.replaceChild=t.prototype.replaceChild,s.prototype.removeChild=t.prototype.removeChild,s.prototype.toString=function(){return this.childNodes.map(function(r){return String(r)}).join("")}}),Ab=Dt(function(i,e){e.exports=t;function t(s){}t.prototype.initEvent=function(s,r,n){this.type=s,this.bubbles=r,this.cancelable=n},t.prototype.preventDefault=function(){}}),Sb=Dt(function(i,e){Er();var t=C0(),s=yb(),r=Tb(),n=O0(),a=_b(),o=Ab(),d=w0(),l=M0(),u=P0();e.exports=c;function c(){if(!vr(this,c))return new c;this.head=this.createElement("head"),this.body=this.createElement("body"),this.documentElement=this.createElement("html"),this.documentElement.appendChild(this.head),this.documentElement.appendChild(this.body),this.childNodes=[this.documentElement],this.nodeType=9}var h=c.prototype;h.createTextNode=function(f){return new r(f,this)},h.createElementNS=function(f,m){var g=f===null?null:String(f);return new n(m,this,g)},h.createElement=function(f){return new n(f,this)},h.createDocumentFragment=function(){return new a(this)},h.createEvent=function(f){return new o(f)},h.createComment=function(f){return new s(f,this)},h.getElementById=function(f){f=String(f);var m=t(this.childNodes,function(g){if(String(g.id)===f)return g});return m||null},h.getElementsByClassName=n.prototype.getElementsByClassName,h.getElementsByTagName=n.prototype.getElementsByTagName,h.contains=n.prototype.contains,h.removeEventListener=u,h.addEventListener=l,h.dispatchEvent=d}),Ib=Dt(function(i,e){var t=Sb();e.exports=new t}),N0=Dt(function(i,e){var t=typeof global<"u"?global:typeof window<"u"?window:{},s=Ib(),r;typeof document<"u"?r=document:(r=t["__GLOBAL_DOCUMENT_CACHE@4"],r||(r=t["__GLOBAL_DOCUMENT_CACHE@4"]=s)),e.exports=r});function Lb(i){if(Array.isArray(i))return i}function xb(i,e){var t=i==null?null:typeof Symbol<"u"&&i[Symbol.iterator]||i["@@iterator"];if(t!=null){var s=[],r=!0,n=!1,a,o;try{for(t=t.call(i);!(r=(a=t.next()).done)&&(s.push(a.value),!(e&&s.length===e));r=!0);}catch(d){n=!0,o=d}finally{try{!r&&t.return!=null&&t.return()}finally{if(n)throw o}}return s}}function Rb(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1
|
+
import{j as K}from"./jsx-runtime-DXAEI3Eb.js";import{R as Ra,r as vt,d as ib,g as sb,A as rb,L as ro}from"./chunk-QMGIS6GS-s1sqUxzz.js";import{o as nb,s as ab,n as ob,u as I0}from"./index-7ddSzI6h.js";import{h as lb,I as L0,c as db}from"./misc-CFnU1MK_.js";import"./_-DinosGr4.js";import{u as ub}from"./online-CVRagwjj.js";import{L as $h}from"./loading-CwyhGvvd.js";import{c as cb}from"./user-DwkYL1w0.js";import{u as hb}from"./workshop-config-C-eyJXJM.js";var fb=Object.create,x0=Object.defineProperty,mb=Object.getOwnPropertyDescriptor,pb=Object.getOwnPropertyNames,gb=Object.getPrototypeOf,vb=Object.prototype.hasOwnProperty,R0=function(i,e){return function(){return i&&(e=i(i=0)),e}},Dt=function(i,e){return function(){return e||i((e={exports:{}}).exports,e),e.exports}},Eb=function(i,e,t,s){if(e&&typeof e=="object"||typeof e=="function")for(var r=pb(e),n=0,a=r.length,o;n<a;n++)o=r[n],!vb.call(i,o)&&o!==t&&x0(i,o,{get:(function(d){return e[d]}).bind(null,o),enumerable:!(s=mb(e,o))||s.enumerable});return i},$t=function(i,e,t){return t=i!=null?fb(gb(i)):{},Eb(!i||!i.__esModule?x0(t,"default",{value:i,enumerable:!0}):t,i)},hi=Dt(function(i,e){var t;typeof window<"u"?t=window:typeof global<"u"?t=global:typeof self<"u"?t=self:t={},e.exports=t});function vr(i,e){return e!=null&&typeof Symbol<"u"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](i):vr(i,e)}var Er=R0(function(){Er()});function k0(i){"@swc/helpers - typeof";return i&&typeof Symbol<"u"&&i.constructor===Symbol?"symbol":typeof i}var D0=R0(function(){}),C0=Dt(function(i,e){var t=Array.prototype.slice;e.exports=s;function s(r,n){for(("length"in r)||(r=[r]),r=t.call(r);r.length;){var a=r.shift(),o=n(a);if(o)return o;a.childNodes&&a.childNodes.length&&(r=t.call(a.childNodes).concat(r))}}}),yb=Dt(function(i,e){Er(),e.exports=t;function t(s,r){if(!vr(this,t))return new t(s,r);this.data=s,this.nodeValue=s,this.length=s.length,this.ownerDocument=r||null}t.prototype.nodeType=8,t.prototype.nodeName="#comment",t.prototype.toString=function(){return"[object Comment]"}}),Tb=Dt(function(i,e){Er(),e.exports=t;function t(s,r){if(!vr(this,t))return new t(s);this.data=s||"",this.length=this.data.length,this.ownerDocument=r||null}t.prototype.type="DOMTextNode",t.prototype.nodeType=3,t.prototype.nodeName="#text",t.prototype.toString=function(){return this.data},t.prototype.replaceData=function(s,r,n){var a=this.data,o=a.substring(0,s),d=a.substring(s+r,a.length);this.data=o+n+d,this.length=this.data.length}}),w0=Dt(function(i,e){e.exports=t;function t(s){var r=this,n=s.type;s.target||(s.target=r),r.listeners||(r.listeners={});var a=r.listeners[n];if(a)return a.forEach(function(o){s.currentTarget=r,typeof o=="function"?o(s):o.handleEvent(s)});r.parentNode&&r.parentNode.dispatchEvent(s)}}),M0=Dt(function(i,e){e.exports=t;function t(s,r){var n=this;n.listeners||(n.listeners={}),n.listeners[s]||(n.listeners[s]=[]),n.listeners[s].indexOf(r)===-1&&n.listeners[s].push(r)}}),P0=Dt(function(i,e){e.exports=t;function t(s,r){var n=this;if(n.listeners&&n.listeners[s]){var a=n.listeners[s],o=a.indexOf(r);o!==-1&&a.splice(o,1)}}}),bb=Dt(function(i,e){D0(),e.exports=s;var t=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"];function s(h){switch(h.nodeType){case 3:return u(h.data);case 8:return"<!--"+h.data+"-->";default:return r(h)}}function r(h){var f=[],m=h.tagName;return h.namespaceURI==="http://www.w3.org/1999/xhtml"&&(m=m.toLowerCase()),f.push("<"+m+l(h)+o(h)),t.indexOf(m)>-1?f.push(" />"):(f.push(">"),h.childNodes.length?f.push.apply(f,h.childNodes.map(s)):h.textContent||h.innerText?f.push(u(h.textContent||h.innerText)):h.innerHTML&&f.push(h.innerHTML),f.push("</"+m+">")),f.join("")}function n(h,f){var m=k0(h[f]);return f==="style"&&Object.keys(h.style).length>0?!0:h.hasOwnProperty(f)&&(m==="string"||m==="boolean"||m==="number")&&f!=="nodeName"&&f!=="className"&&f!=="tagName"&&f!=="textContent"&&f!=="innerText"&&f!=="namespaceURI"&&f!=="innerHTML"}function a(h){if(typeof h=="string")return h;var f="";return Object.keys(h).forEach(function(m){var g=h[m];m=m.replace(/[A-Z]/g,function(p){return"-"+p.toLowerCase()}),f+=m+":"+g+";"}),f}function o(h){var f=h.dataset,m=[];for(var g in f)m.push({name:"data-"+g,value:f[g]});return m.length?d(m):""}function d(h){var f=[];return h.forEach(function(m){var g=m.name,p=m.value;g==="style"&&(p=a(p)),f.push(g+'="'+c(p)+'"')}),f.length?" "+f.join(" "):""}function l(h){var f=[];for(var m in h)n(h,m)&&f.push({name:m,value:h[m]});for(var g in h._attributes)for(var p in h._attributes[g]){var E=h._attributes[g][p],T=(E.prefix?E.prefix+":":"")+p;f.push({name:T,value:E.value})}return h.className&&f.push({name:"class",value:h.className}),f.length?d(f):""}function u(h){var f="";return typeof h=="string"?f=h:h&&(f=h.toString()),f.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function c(h){return u(h).replace(/"/g,""")}}),O0=Dt(function(i,e){Er();var t=C0(),s=w0(),r=M0(),n=P0(),a=bb(),o="http://www.w3.org/1999/xhtml";e.exports=d;function d(l,u,c){if(!vr(this,d))return new d(l);var h=c===void 0?o:c||null;this.tagName=h===o?String(l).toUpperCase():l,this.nodeName=this.tagName,this.className="",this.dataset={},this.childNodes=[],this.parentNode=null,this.style={},this.ownerDocument=u||null,this.namespaceURI=h,this._attributes={},this.tagName==="INPUT"&&(this.type="text")}d.prototype.type="DOMElement",d.prototype.nodeType=1,d.prototype.appendChild=function(l){return l.parentNode&&l.parentNode.removeChild(l),this.childNodes.push(l),l.parentNode=this,l},d.prototype.replaceChild=function(l,u){l.parentNode&&l.parentNode.removeChild(l);var c=this.childNodes.indexOf(u);return u.parentNode=null,this.childNodes[c]=l,l.parentNode=this,u},d.prototype.removeChild=function(l){var u=this.childNodes.indexOf(l);return this.childNodes.splice(u,1),l.parentNode=null,l},d.prototype.insertBefore=function(l,u){l.parentNode&&l.parentNode.removeChild(l);var c=u==null?-1:this.childNodes.indexOf(u);return c>-1?this.childNodes.splice(c,0,l):this.childNodes.push(l),l.parentNode=this,l},d.prototype.setAttributeNS=function(l,u,c){var h=null,f=u,m=u.indexOf(":");if(m>-1&&(h=u.substr(0,m),f=u.substr(m+1)),this.tagName==="INPUT"&&u==="type")this.type=c;else{var g=this._attributes[l]||(this._attributes[l]={});g[f]={value:c,prefix:h}}},d.prototype.getAttributeNS=function(l,u){var c=this._attributes[l],h=c&&c[u]&&c[u].value;return this.tagName==="INPUT"&&u==="type"?this.type:typeof h!="string"?null:h},d.prototype.removeAttributeNS=function(l,u){var c=this._attributes[l];c&&delete c[u]},d.prototype.hasAttributeNS=function(l,u){var c=this._attributes[l];return!!c&&u in c},d.prototype.setAttribute=function(l,u){return this.setAttributeNS(null,l,u)},d.prototype.getAttribute=function(l){return this.getAttributeNS(null,l)},d.prototype.removeAttribute=function(l){return this.removeAttributeNS(null,l)},d.prototype.hasAttribute=function(l){return this.hasAttributeNS(null,l)},d.prototype.removeEventListener=n,d.prototype.addEventListener=r,d.prototype.dispatchEvent=s,d.prototype.focus=function(){},d.prototype.toString=function(){return a(this)},d.prototype.getElementsByClassName=function(l){var u=l.split(" "),c=[];return t(this,function(h){if(h.nodeType===1){var f=h.className||"",m=f.split(" ");u.every(function(g){return m.indexOf(g)!==-1})&&c.push(h)}}),c},d.prototype.getElementsByTagName=function(l){l=l.toLowerCase();var u=[];return t(this.childNodes,function(c){c.nodeType===1&&(l==="*"||c.tagName.toLowerCase()===l)&&u.push(c)}),u},d.prototype.contains=function(l){return t(this,function(u){return l===u})||!1}}),_b=Dt(function(i,e){Er();var t=O0();e.exports=s;function s(r){if(!vr(this,s))return new s;this.childNodes=[],this.parentNode=null,this.ownerDocument=r||null}s.prototype.type="DocumentFragment",s.prototype.nodeType=11,s.prototype.nodeName="#document-fragment",s.prototype.appendChild=t.prototype.appendChild,s.prototype.replaceChild=t.prototype.replaceChild,s.prototype.removeChild=t.prototype.removeChild,s.prototype.toString=function(){return this.childNodes.map(function(r){return String(r)}).join("")}}),Ab=Dt(function(i,e){e.exports=t;function t(s){}t.prototype.initEvent=function(s,r,n){this.type=s,this.bubbles=r,this.cancelable=n},t.prototype.preventDefault=function(){}}),Sb=Dt(function(i,e){Er();var t=C0(),s=yb(),r=Tb(),n=O0(),a=_b(),o=Ab(),d=w0(),l=M0(),u=P0();e.exports=c;function c(){if(!vr(this,c))return new c;this.head=this.createElement("head"),this.body=this.createElement("body"),this.documentElement=this.createElement("html"),this.documentElement.appendChild(this.head),this.documentElement.appendChild(this.body),this.childNodes=[this.documentElement],this.nodeType=9}var h=c.prototype;h.createTextNode=function(f){return new r(f,this)},h.createElementNS=function(f,m){var g=f===null?null:String(f);return new n(m,this,g)},h.createElement=function(f){return new n(f,this)},h.createDocumentFragment=function(){return new a(this)},h.createEvent=function(f){return new o(f)},h.createComment=function(f){return new s(f,this)},h.getElementById=function(f){f=String(f);var m=t(this.childNodes,function(g){if(String(g.id)===f)return g});return m||null},h.getElementsByClassName=n.prototype.getElementsByClassName,h.getElementsByTagName=n.prototype.getElementsByTagName,h.contains=n.prototype.contains,h.removeEventListener=u,h.addEventListener=l,h.dispatchEvent=d}),Ib=Dt(function(i,e){var t=Sb();e.exports=new t}),N0=Dt(function(i,e){var t=typeof global<"u"?global:typeof window<"u"?window:{},s=Ib(),r;typeof document<"u"?r=document:(r=t["__GLOBAL_DOCUMENT_CACHE@4"],r||(r=t["__GLOBAL_DOCUMENT_CACHE@4"]=s)),e.exports=r});function Lb(i){if(Array.isArray(i))return i}function xb(i,e){var t=i==null?null:typeof Symbol<"u"&&i[Symbol.iterator]||i["@@iterator"];if(t!=null){var s=[],r=!0,n=!1,a,o;try{for(t=t.call(i);!(r=(a=t.next()).done)&&(s.push(a.value),!(e&&s.length===e));r=!0);}catch(d){n=!0,o=d}finally{try{!r&&t.return!=null&&t.return()}finally{if(n)throw o}}return s}}function Rb(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
2
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Qu(i,e){(e==null||e>i.length)&&(e=i.length);for(var t=0,s=new Array(e);t<e;t++)s[t]=i[t];return s}function U0(i,e){if(i){if(typeof i=="string")return Qu(i,e);var t=Object.prototype.toString.call(i).slice(8,-1);if(t==="Object"&&i.constructor&&(t=i.constructor.name),t==="Map"||t==="Set")return Array.from(t);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Qu(i,e)}}function as(i,e){return Lb(i)||xb(i,e)||U0(i,e)||Rb()}var pa=$t(hi()),km=$t(hi()),kb=$t(hi()),Db={now:function(){var i=kb.default.performance,e=i&&i.timing,t=e&&e.navigationStart,s=typeof t=="number"&&typeof i.now=="function"?t+i.now():Date.now();return Math.round(s)}},it=Db,ka=function(){var i,e,t;if(typeof((i=km.default.crypto)===null||i===void 0?void 0:i.getRandomValues)=="function"){t=new Uint8Array(32),km.default.crypto.getRandomValues(t);for(var s=0;s<32;s++)t[s]=t[s]%16}else{t=[];for(var r=0;r<32;r++)t[r]=Math.random()*16|0}var n=0;e="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(d){var l=d==="x"?t[n]:t[n]&3|8;return n++,l.toString(16)});var a=it.now(),o=a?.toString(16).substring(3);return o?e.substring(0,28)+o:e},F0=function(){return("000000"+(Math.random()*Math.pow(36,6)<<0).toString(36)).slice(-6)},ti=function(i){if(i&&typeof i.nodeName<"u")return i.muxId||(i.muxId=F0()),i.muxId;var e;try{e=document.querySelector(i)}catch{}return e&&!e.muxId&&(e.muxId=i),e?.muxId||i},Xl=function(i){var e;i&&typeof i.nodeName<"u"?(e=i,i=ti(e)):e=document.querySelector(i);var t=e&&e.nodeName?e.nodeName.toLowerCase():"";return[e,i,t]};function Cb(i){if(Array.isArray(i))return Qu(i)}function wb(i){if(typeof Symbol<"u"&&i[Symbol.iterator]!=null||i["@@iterator"]!=null)return Array.from(i)}function Mb(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
3
3
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ii(i){return Cb(i)||wb(i)||U0(i)||Mb()}var er={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4},Pb=function(i){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:3,t,s,r,n,a,o=[console,i],d=(t=console.trace).bind.apply(t,ii(o)),l=(s=console.info).bind.apply(s,ii(o)),u=(r=console.debug).bind.apply(r,ii(o)),c=(n=console.warn).bind.apply(n,ii(o)),h=(a=console.error).bind.apply(a,ii(o)),f=e;return{trace:function(){for(var m=arguments.length,g=new Array(m),p=0;p<m;p++)g[p]=arguments[p];if(!(f>er.TRACE))return d.apply(void 0,ii(g))},debug:function(){for(var m=arguments.length,g=new Array(m),p=0;p<m;p++)g[p]=arguments[p];if(!(f>er.DEBUG))return u.apply(void 0,ii(g))},info:function(){for(var m=arguments.length,g=new Array(m),p=0;p<m;p++)g[p]=arguments[p];if(!(f>er.INFO))return l.apply(void 0,ii(g))},warn:function(){for(var m=arguments.length,g=new Array(m),p=0;p<m;p++)g[p]=arguments[p];if(!(f>er.WARN))return c.apply(void 0,ii(g))},error:function(){for(var m=arguments.length,g=new Array(m),p=0;p<m;p++)g[p]=arguments[p];if(!(f>er.ERROR))return h.apply(void 0,ii(g))},get level(){return f},set level(m){m!==this.level&&(f=m??e)}}},Ce=Pb("[mux]"),nu=$t(hi());function Xu(){var i=nu.default.doNotTrack||nu.default.navigator&&nu.default.navigator.doNotTrack;return i==="1"}function oe(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}Er();function mt(i,e){if(!vr(i,e))throw new TypeError("Cannot call a class as a function")}function Ob(i,e){for(var t=0;t<e.length;t++){var s=e[t];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(i,s.key,s)}}function Ki(i,e,t){return e&&Ob(i.prototype,e),i}function G(i,e,t){return e in i?Object.defineProperty(i,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):i[e]=t,i}function vn(i){return vn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},vn(i)}function Nb(i,e){for(;!Object.prototype.hasOwnProperty.call(i,e)&&(i=vn(i),i!==null););return i}function Fo(i,e,t){return typeof Reflect<"u"&&Reflect.get?Fo=Reflect.get:Fo=function(s,r,n){var a=Nb(s,r);if(a){var o=Object.getOwnPropertyDescriptor(a,r);return o.get?o.get.call(n||s):o.value}},Fo(i,e,t||i)}function Zu(i,e){return Zu=Object.setPrototypeOf||function(t,s){return t.__proto__=s,t},Zu(i,e)}function Ub(i,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(e&&e.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),e&&Zu(i,e)}function Fb(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}D0();function $b(i,e){return e&&(k0(e)==="object"||typeof e=="function")?e:oe(i)}function Bb(i){var e=Fb();return function(){var t=vn(i),s;if(e){var r=vn(this).constructor;s=Reflect.construct(t,arguments,r)}else s=t.apply(this,arguments);return $b(this,s)}}var di=function(i){return Da(i)[0]},Da=function(i){if(typeof i!="string"||i==="")return["localhost"];var e=/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,t=i.match(e)||[],s=t[4],r;return s&&(r=(s.match(/[^\.]+\.[^\.]+$/)||[])[0]),[s,r]},au=$t(hi()),Hb={exists:function(){var i=au.default.performance,e=i&&i.timing;return e!==void 0},domContentLoadedEventEnd:function(){var i=au.default.performance,e=i&&i.timing;return e&&e.domContentLoadedEventEnd},navigationStart:function(){var i=au.default.performance,e=i&&i.timing;return e&&e.navigationStart}},Zl=Hb;function et(i,e,t){t=t===void 0?1:t,i[e]=i[e]||0,i[e]+=t}function Jl(i){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{},s=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(s=s.concat(Object.getOwnPropertySymbols(t).filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),s.forEach(function(r){G(i,r,t[r])})}return i}function Gb(i,e){var t=Object.keys(i);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(i);t.push.apply(t,s)}return t}function Bh(i,e){return e=e??{},Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(e)):Gb(Object(e)).forEach(function(t){Object.defineProperty(i,t,Object.getOwnPropertyDescriptor(e,t))}),i}var Vb=["x-cdn","content-type"],$0=["x-request-id","cf-ray","x-amz-cf-id","x-akamai-request-id"],Kb=Vb.concat($0);function Hh(i){i=i||"";var e={},t=i.trim().split(/[\r\n]+/);return t.forEach(function(s){if(s){var r=s.split(": "),n=r.shift();n&&(Kb.indexOf(n.toLowerCase())>=0||n.toLowerCase().indexOf("x-litix-")===0)&&(e[n]=r.join(": "))}}),e}function ed(i){if(i){var e=$0.find(function(t){return i[t]!==void 0});return e?i[e]:void 0}}var Wb=function(i){var e={};for(var t in i){var s=i[t],r=s["DATA-ID"].search("io.litix.data.");if(r!==-1){var n=s["DATA-ID"].replace("io.litix.data.","");e[n]=s.VALUE}}return e},B0=Wb,no=function(i){if(!i)return{};var e=Zl.navigationStart(),t=i.loading,s=t?t.start:i.trequest,r=t?t.first:i.tfirst,n=t?t.end:i.tload;return{bytesLoaded:i.total,requestStart:Math.round(e+s),responseStart:Math.round(e+r),responseEnd:Math.round(e+n)}},wn=function(i){if(!(!i||typeof i.getAllResponseHeaders!="function"))return Hh(i.getAllResponseHeaders())},qb=function(i,e,t){var s=arguments.length>4?arguments[4]:void 0,r=i.log,n=i.utils.secondsToMs,a=function(p){var E=parseInt(s.version),T;return E===1&&p.programDateTime!==null&&(T=p.programDateTime),E===0&&p.pdt!==null&&(T=p.pdt),T};if(!Zl.exists()){r.warn("performance timing not supported. Not tracking HLS.js.");return}var o=function(p,E){return i.emit(e,p,E)},d=function(p,E){var T=E.levels,y=E.audioTracks,b=E.url,A=E.stats,x=E.networkDetails,I=E.sessionData,L={},R={};T.forEach(function(B,H){L[H]={width:B.width,height:B.height,bitrate:B.bitrate,attrs:B.attrs}}),y.forEach(function(B,H){R[H]={name:B.name,language:B.lang,bitrate:B.bitrate}});var S=no(A),M=S.bytesLoaded,O=S.requestStart,Y=S.responseStart,V=S.responseEnd;o("requestcompleted",Bh(Jl({},B0(I)),{request_event_type:p,request_bytes_loaded:M,request_start:O,request_response_start:Y,request_response_end:V,request_type:"manifest",request_hostname:di(b),request_response_headers:wn(x),request_rendition_lists:{media:L,audio:R,video:{}}}))};t.on(s.Events.MANIFEST_LOADED,d);var l=function(p,E){var T=E.details,y=E.level,b=E.networkDetails,A=E.stats,x=no(A),I=x.bytesLoaded,L=x.requestStart,R=x.responseStart,S=x.responseEnd,M=T.fragments[T.fragments.length-1],O=a(M)+n(M.duration);o("requestcompleted",{request_event_type:p,request_bytes_loaded:I,request_start:L,request_response_start:R,request_response_end:S,request_current_level:y,request_type:"manifest",request_hostname:di(T.url),request_response_headers:wn(b),video_holdback:T.holdBack&&n(T.holdBack),video_part_holdback:T.partHoldBack&&n(T.partHoldBack),video_part_target_duration:T.partTarget&&n(T.partTarget),video_target_duration:T.targetduration&&n(T.targetduration),video_source_is_live:T.live,player_manifest_newest_program_time:isNaN(O)?void 0:O})};t.on(s.Events.LEVEL_LOADED,l);var u=function(p,E){var T=E.details,y=E.networkDetails,b=E.stats,A=no(b),x=A.bytesLoaded,I=A.requestStart,L=A.responseStart,R=A.responseEnd;o("requestcompleted",{request_event_type:p,request_bytes_loaded:x,request_start:I,request_response_start:L,request_response_end:R,request_type:"manifest",request_hostname:di(T.url),request_response_headers:wn(y)})};t.on(s.Events.AUDIO_TRACK_LOADED,u);var c=function(p,E){var T=E.stats,y=E.networkDetails,b=E.frag;T=T||b.stats;var A=no(T),x=A.bytesLoaded,I=A.requestStart,L=A.responseStart,R=A.responseEnd,S=y?wn(y):void 0,M={request_event_type:p,request_bytes_loaded:x,request_start:I,request_response_start:L,request_response_end:R,request_hostname:y?di(y.responseURL):void 0,request_id:S?ed(S):void 0,request_response_headers:S,request_media_duration:b.duration,request_url:y?.responseURL};b.type==="main"?(M.request_type="media",M.request_current_level=b.level,M.request_video_width=(t.levels[b.level]||{}).width,M.request_video_height=(t.levels[b.level]||{}).height,M.request_labeled_bitrate=(t.levels[b.level]||{}).bitrate):M.request_type=b.type,o("requestcompleted",M)};t.on(s.Events.FRAG_LOADED,c);var h=function(p,E){var T=E.frag,y=T.start,b=a(T),A={currentFragmentPDT:b,currentFragmentStart:n(y)};o("fragmentchange",A)};t.on(s.Events.FRAG_CHANGED,h);var f=function(p,E){var T=E.type,y=E.details,b=E.response,A=E.fatal,x=E.frag,I=E.networkDetails,L=x?.url||E.url||"",R=I?wn(I):void 0;if((y===s.ErrorDetails.MANIFEST_LOAD_ERROR||y===s.ErrorDetails.MANIFEST_LOAD_TIMEOUT||y===s.ErrorDetails.FRAG_LOAD_ERROR||y===s.ErrorDetails.FRAG_LOAD_TIMEOUT||y===s.ErrorDetails.LEVEL_LOAD_ERROR||y===s.ErrorDetails.LEVEL_LOAD_TIMEOUT||y===s.ErrorDetails.AUDIO_TRACK_LOAD_ERROR||y===s.ErrorDetails.AUDIO_TRACK_LOAD_TIMEOUT||y===s.ErrorDetails.SUBTITLE_LOAD_ERROR||y===s.ErrorDetails.SUBTITLE_LOAD_TIMEOUT||y===s.ErrorDetails.KEY_LOAD_ERROR||y===s.ErrorDetails.KEY_LOAD_TIMEOUT)&&o("requestfailed",{request_error:y,request_url:L,request_hostname:di(L),request_id:R?ed(R):void 0,request_type:y===s.ErrorDetails.FRAG_LOAD_ERROR||y===s.ErrorDetails.FRAG_LOAD_TIMEOUT?"media":y===s.ErrorDetails.AUDIO_TRACK_LOAD_ERROR||y===s.ErrorDetails.AUDIO_TRACK_LOAD_TIMEOUT?"audio":y===s.ErrorDetails.SUBTITLE_LOAD_ERROR||y===s.ErrorDetails.SUBTITLE_LOAD_TIMEOUT?"subtitle":y===s.ErrorDetails.KEY_LOAD_ERROR||y===s.ErrorDetails.KEY_LOAD_TIMEOUT?"encryption":"manifest",request_error_code:b?.code,request_error_text:b?.text}),A){var S,M="".concat(L?"url: ".concat(L,`
|
|
4
4
|
`):"")+"".concat(b&&(b.code||b.text)?"response: ".concat(b.code,", ").concat(b.text,`
|
|
@@ -3221,4 +3221,4 @@ media-poster-image:not([src]):not([placeholdersrc]) {
|
|
|
3221
3221
|
</p>`:""}
|
|
3222
3222
|
`}return NM(i)};function UM(i){var e,t;let s=i.theme;if(s){let r=(t=(e=i.getRootNode())==null?void 0:e.getElementById)==null?void 0:t.call(e,s);if(r&&r instanceof HTMLTemplateElement)return r;s.startsWith("media-theme-")||(s=`media-theme-${s}`);let n=Oi.customElements.get(s);if(n!=null&&n.template)return n.template}}function FM(i){var e;let t=(e=i.mediaController)==null?void 0:e.querySelector("media-time-display");return t&&getComputedStyle(t).getPropertyValue("--media-duration-display-display").trim()==="none"}function h0(i){let e=i.videoTitle?{video_title:i.videoTitle}:{};return i.getAttributeNames().filter(t=>t.startsWith("metadata-")).reduce((t,s)=>{let r=i.getAttribute(s);return r!==null&&(t[s.replace(/^metadata-/,"").replace(/-/g,"_")]=r),t},e)}var $M=Object.values(w),BM=Object.values(Zi),HM=Object.values(N),f0=GT(),m0="mux-player",p0={isDialogOpen:!1},GM={redundant_streams:!0},Yl,jl,zl,Zs,Ql,gn,Ke,Ss,zT,Uh,Js,g0,v0,E0,y0,VM=class extends a0{constructor(){super(),li(this,Ke),li(this,Yl),li(this,jl,!1),li(this,zl,{}),li(this,Zs,!0),li(this,Ql,new aM(this,"hotkeys")),li(this,gn,{...p0,onCloseErrorDialog:i=>{var e;((e=i.composedPath()[0])==null?void 0:e.localName)==="media-error-dialog"&&Ze(this,Ke,Uh).call(this,{isDialogOpen:!1})},onFocusInErrorDialog:i=>{var e;((e=i.composedPath()[0])==null?void 0:e.localName)==="media-error-dialog"&&(BT(this,Lm.activeElement)||i.preventDefault())}}),Gi(this,Yl,yf()),this.attachShadow({mode:"open"}),Ze(this,Ke,zT).call(this),this.isConnected&&Ze(this,Ke,Ss).call(this)}static get NAME(){return m0}static get VERSION(){return f0}static get observedAttributes(){var i;return[...(i=a0.observedAttributes)!=null?i:[],...BM,...$M,...HM]}get mediaTheme(){var i;return(i=this.shadowRoot)==null?void 0:i.querySelector("media-theme")}get mediaController(){var i,e;return(e=(i=this.mediaTheme)==null?void 0:i.shadowRoot)==null?void 0:e.querySelector("media-controller")}connectedCallback(){let i=this.media;i&&(i.metadata=h0(this))}attributeChangedCallback(i,e,t){switch(Ze(this,Ke,Ss).call(this),super.attributeChangedCallback(i,e,t),i){case N.HOTKEYS:Le(this,Ql).value=t;break;case N.THUMBNAIL_TIME:{t!=null&&this.tokens.thumbnail&&is(se("Use of thumbnail-time with thumbnail-token is currently unsupported. Ignore thumbnail-time.").toString());break}case N.THUMBNAIL_TOKEN:{if(t){let s=dn(t);if(s){let{aud:r}=s,n=Ta.THUMBNAIL;r!==n&&is(se("The {tokenNamePrefix}-token has an incorrect aud value: {aud}. aud value should be {expectedAud}.").format({aud:r,expectedAud:n,tokenNamePrefix:"thumbnail"}))}}break}case N.STORYBOARD_TOKEN:{if(t){let s=dn(t);if(s){let{aud:r}=s,n=Ta.STORYBOARD;r!==n&&is(se("The {tokenNamePrefix}-token has an incorrect aud value: {aud}. aud value should be {expectedAud}.").format({aud:r,expectedAud:n,tokenNamePrefix:"storyboard"}))}}break}case N.DRM_TOKEN:{if(t){let s=dn(t);if(s){let{aud:r}=s,n=Ta.DRM;r!==n&&is(se("The {tokenNamePrefix}-token has an incorrect aud value: {aud}. aud value should be {expectedAud}.").format({aud:r,expectedAud:n,tokenNamePrefix:"drm"}))}}break}case w.PLAYBACK_ID:{t!=null&&t.includes("?token")&&Yt(se("The specificed playback ID {playbackId} contains a token which must be provided via the playback-token attribute.").format({playbackId:t}));break}case w.STREAM_TYPE:t&&![Ie.LIVE,Ie.ON_DEMAND,Ie.UNKNOWN].includes(t)?["ll-live","live:dvr","ll-live:dvr"].includes(this.streamType)?this.targetLiveWindow=t.includes("dvr")?Number.POSITIVE_INFINITY:0:KT({file:"invalid-stream-type.md",message:se("Invalid stream-type value supplied: `{streamType}`. Please provide stream-type as either: `on-demand` or `live`").format({streamType:this.streamType})}):t===Ie.LIVE?this.getAttribute(N.TARGET_LIVE_WINDOW)==null&&(this.targetLiveWindow=0):this.targetLiveWindow=Number.NaN}[w.PLAYBACK_ID,Zi.SRC,N.PLAYBACK_TOKEN].includes(i)&&e!==t&&Gi(this,gn,{...Le(this,gn),...p0}),Ze(this,Ke,Js).call(this,{[nM(i)]:t})}async requestFullscreen(i){var e;if(!(!this.mediaController||this.mediaController.hasAttribute(_.MEDIA_IS_FULLSCREEN)))return(e=this.mediaController)==null||e.dispatchEvent(new Oi.CustomEvent(Q.MEDIA_ENTER_FULLSCREEN_REQUEST,{composed:!0,bubbles:!0})),new Promise((t,s)=>{var r;(r=this.mediaController)==null||r.addEventListener(os.MEDIA_IS_FULLSCREEN,()=>t(),{once:!0})})}async exitFullscreen(){var i;if(!(!this.mediaController||!this.mediaController.hasAttribute(_.MEDIA_IS_FULLSCREEN)))return(i=this.mediaController)==null||i.dispatchEvent(new Oi.CustomEvent(Q.MEDIA_EXIT_FULLSCREEN_REQUEST,{composed:!0,bubbles:!0})),new Promise((e,t)=>{var s;(s=this.mediaController)==null||s.addEventListener(os.MEDIA_IS_FULLSCREEN,()=>e(),{once:!0})})}get preferCmcd(){var i;return(i=this.getAttribute(w.PREFER_CMCD))!=null?i:void 0}set preferCmcd(i){i!==this.preferCmcd&&(i?cd.includes(i)?this.setAttribute(w.PREFER_CMCD,i):is(`Invalid value for preferCmcd. Must be one of ${cd.join()}`):this.removeAttribute(w.PREFER_CMCD))}get hasPlayed(){var i,e;return(e=(i=this.mediaController)==null?void 0:i.hasAttribute(_.MEDIA_HAS_PLAYED))!=null?e:!1}get inLiveWindow(){var i;return(i=this.mediaController)==null?void 0:i.hasAttribute(_.MEDIA_TIME_IS_LIVE)}get _hls(){var i;return(i=this.media)==null?void 0:i._hls}get mux(){var i;return(i=this.media)==null?void 0:i.mux}get theme(){var i;return(i=this.getAttribute(N.THEME))!=null?i:PM}set theme(i){this.setAttribute(N.THEME,`${i}`)}get themeProps(){let i=this.mediaTheme;if(!i)return;let e={};for(let t of i.getAttributeNames()){if(Nh.includes(t))continue;let s=i.getAttribute(t);e[FT(t)]=s===""?!0:s}return e}set themeProps(i){var e,t;Ze(this,Ke,Ss).call(this);let s={...this.themeProps,...i};for(let r in s){if(Nh.includes(r))continue;let n=i?.[r];typeof n=="boolean"||n==null?(e=this.mediaTheme)==null||e.toggleAttribute(Ph(r),!!n):(t=this.mediaTheme)==null||t.setAttribute(Ph(r),n)}}get playbackId(){var i;return(i=this.getAttribute(w.PLAYBACK_ID))!=null?i:void 0}set playbackId(i){i?this.setAttribute(w.PLAYBACK_ID,i):this.removeAttribute(w.PLAYBACK_ID)}get src(){var i,e;return this.playbackId?(i=Vs(this,Zi.SRC))!=null?i:void 0:(e=this.getAttribute(Zi.SRC))!=null?e:void 0}set src(i){i?this.setAttribute(Zi.SRC,i):this.removeAttribute(Zi.SRC)}get poster(){var i;let e=this.getAttribute(Zi.POSTER);if(e!=null)return e;let{tokens:t}=this;if(t.playback&&!t.thumbnail){is("Missing expected thumbnail token. No poster image will be shown");return}if(this.playbackId&&!this.audio)return iM(this.playbackId,{customDomain:this.customDomain,thumbnailTime:(i=this.thumbnailTime)!=null?i:this.startTime,programTime:this.programStartTime,token:t.thumbnail})}set poster(i){i||i===""?this.setAttribute(Zi.POSTER,i):this.removeAttribute(Zi.POSTER)}get storyboardSrc(){var i;return(i=this.getAttribute(N.STORYBOARD_SRC))!=null?i:void 0}set storyboardSrc(i){i?this.setAttribute(N.STORYBOARD_SRC,i):this.removeAttribute(N.STORYBOARD_SRC)}get storyboard(){let{tokens:i}=this;if(this.storyboardSrc&&!i.storyboard)return this.storyboardSrc;if(!(this.audio||!this.playbackId||!this.streamType||[Ie.LIVE,Ie.UNKNOWN].includes(this.streamType)||i.playback&&!i.storyboard))return sM(this.playbackId,{customDomain:this.customDomain,token:i.storyboard,programStartTime:this.programStartTime,programEndTime:this.programEndTime})}get audio(){return this.hasAttribute(N.AUDIO)}set audio(i){if(!i){this.removeAttribute(N.AUDIO);return}this.setAttribute(N.AUDIO,"")}get hotkeys(){return Le(this,Ql)}get nohotkeys(){return this.hasAttribute(N.NOHOTKEYS)}set nohotkeys(i){if(!i){this.removeAttribute(N.NOHOTKEYS);return}this.setAttribute(N.NOHOTKEYS,"")}get thumbnailTime(){return Ot(this.getAttribute(N.THUMBNAIL_TIME))}set thumbnailTime(i){this.setAttribute(N.THUMBNAIL_TIME,`${i}`)}get videoTitle(){var i,e;return(e=(i=this.getAttribute(N.VIDEO_TITLE))!=null?i:this.getAttribute(N.TITLE))!=null?e:""}set videoTitle(i){i!==this.videoTitle&&(i?this.setAttribute(N.VIDEO_TITLE,i):this.removeAttribute(N.VIDEO_TITLE))}get placeholder(){var i;return(i=Vs(this,N.PLACEHOLDER))!=null?i:""}set placeholder(i){this.setAttribute(N.PLACEHOLDER,`${i}`)}get primaryColor(){var i,e;let t=this.getAttribute(N.PRIMARY_COLOR);if(t!=null||this.mediaTheme&&(t=(e=(i=Oi.getComputedStyle(this.mediaTheme))==null?void 0:i.getPropertyValue("--_primary-color"))==null?void 0:e.trim(),t))return t}set primaryColor(i){this.setAttribute(N.PRIMARY_COLOR,`${i}`)}get secondaryColor(){var i,e;let t=this.getAttribute(N.SECONDARY_COLOR);if(t!=null||this.mediaTheme&&(t=(e=(i=Oi.getComputedStyle(this.mediaTheme))==null?void 0:i.getPropertyValue("--_secondary-color"))==null?void 0:e.trim(),t))return t}set secondaryColor(i){this.setAttribute(N.SECONDARY_COLOR,`${i}`)}get accentColor(){var i,e;let t=this.getAttribute(N.ACCENT_COLOR);if(t!=null||this.mediaTheme&&(t=(e=(i=Oi.getComputedStyle(this.mediaTheme))==null?void 0:i.getPropertyValue("--_accent-color"))==null?void 0:e.trim(),t))return t}set accentColor(i){this.setAttribute(N.ACCENT_COLOR,`${i}`)}get defaultShowRemainingTime(){return this.hasAttribute(N.DEFAULT_SHOW_REMAINING_TIME)}set defaultShowRemainingTime(i){i?this.setAttribute(N.DEFAULT_SHOW_REMAINING_TIME,""):this.removeAttribute(N.DEFAULT_SHOW_REMAINING_TIME)}get playbackRates(){if(this.hasAttribute(N.PLAYBACK_RATES))return this.getAttribute(N.PLAYBACK_RATES).trim().split(/\s*,?\s+/).map(i=>Number(i)).filter(i=>!Number.isNaN(i)).sort((i,e)=>i-e)}set playbackRates(i){if(!i){this.removeAttribute(N.PLAYBACK_RATES);return}this.setAttribute(N.PLAYBACK_RATES,i.join(" "))}get forwardSeekOffset(){var i;return(i=Ot(this.getAttribute(N.FORWARD_SEEK_OFFSET)))!=null?i:10}set forwardSeekOffset(i){this.setAttribute(N.FORWARD_SEEK_OFFSET,`${i}`)}get backwardSeekOffset(){var i;return(i=Ot(this.getAttribute(N.BACKWARD_SEEK_OFFSET)))!=null?i:10}set backwardSeekOffset(i){this.setAttribute(N.BACKWARD_SEEK_OFFSET,`${i}`)}get defaultHiddenCaptions(){return this.hasAttribute(N.DEFAULT_HIDDEN_CAPTIONS)}set defaultHiddenCaptions(i){i?this.setAttribute(N.DEFAULT_HIDDEN_CAPTIONS,""):this.removeAttribute(N.DEFAULT_HIDDEN_CAPTIONS)}get defaultDuration(){return Ot(this.getAttribute(N.DEFAULT_DURATION))}set defaultDuration(i){i==null?this.removeAttribute(N.DEFAULT_DURATION):this.setAttribute(N.DEFAULT_DURATION,`${i}`)}get playerInitTime(){return this.hasAttribute(w.PLAYER_INIT_TIME)?Ot(this.getAttribute(w.PLAYER_INIT_TIME)):Le(this,Yl)}set playerInitTime(i){i!=this.playerInitTime&&(i==null?this.removeAttribute(w.PLAYER_INIT_TIME):this.setAttribute(w.PLAYER_INIT_TIME,`${+i}`))}get playerSoftwareName(){var i;return(i=this.getAttribute(w.PLAYER_SOFTWARE_NAME))!=null?i:m0}get playerSoftwareVersion(){var i;return(i=this.getAttribute(w.PLAYER_SOFTWARE_VERSION))!=null?i:f0}get beaconCollectionDomain(){var i;return(i=this.getAttribute(w.BEACON_COLLECTION_DOMAIN))!=null?i:void 0}set beaconCollectionDomain(i){i!==this.beaconCollectionDomain&&(i?this.setAttribute(w.BEACON_COLLECTION_DOMAIN,i):this.removeAttribute(w.BEACON_COLLECTION_DOMAIN))}get maxResolution(){var i;return(i=this.getAttribute(w.MAX_RESOLUTION))!=null?i:void 0}set maxResolution(i){i!==this.maxResolution&&(i?this.setAttribute(w.MAX_RESOLUTION,i):this.removeAttribute(w.MAX_RESOLUTION))}get minResolution(){var i;return(i=this.getAttribute(w.MIN_RESOLUTION))!=null?i:void 0}set minResolution(i){i!==this.minResolution&&(i?this.setAttribute(w.MIN_RESOLUTION,i):this.removeAttribute(w.MIN_RESOLUTION))}get renditionOrder(){var i;return(i=this.getAttribute(w.RENDITION_ORDER))!=null?i:void 0}set renditionOrder(i){i!==this.renditionOrder&&(i?this.setAttribute(w.RENDITION_ORDER,i):this.removeAttribute(w.RENDITION_ORDER))}get programStartTime(){return Ot(this.getAttribute(w.PROGRAM_START_TIME))}set programStartTime(i){i==null?this.removeAttribute(w.PROGRAM_START_TIME):this.setAttribute(w.PROGRAM_START_TIME,`${i}`)}get programEndTime(){return Ot(this.getAttribute(w.PROGRAM_END_TIME))}set programEndTime(i){i==null?this.removeAttribute(w.PROGRAM_END_TIME):this.setAttribute(w.PROGRAM_END_TIME,`${i}`)}get assetStartTime(){return Ot(this.getAttribute(w.ASSET_START_TIME))}set assetStartTime(i){i==null?this.removeAttribute(w.ASSET_START_TIME):this.setAttribute(w.ASSET_START_TIME,`${i}`)}get assetEndTime(){return Ot(this.getAttribute(w.ASSET_END_TIME))}set assetEndTime(i){i==null?this.removeAttribute(w.ASSET_END_TIME):this.setAttribute(w.ASSET_END_TIME,`${i}`)}get extraSourceParams(){return this.hasAttribute(N.EXTRA_SOURCE_PARAMS)?[...new URLSearchParams(this.getAttribute(N.EXTRA_SOURCE_PARAMS)).entries()].reduce((i,[e,t])=>(i[e]=t,i),{}):GM}set extraSourceParams(i){i==null?this.removeAttribute(N.EXTRA_SOURCE_PARAMS):this.setAttribute(N.EXTRA_SOURCE_PARAMS,new URLSearchParams(i).toString())}get customDomain(){var i;return(i=this.getAttribute(w.CUSTOM_DOMAIN))!=null?i:void 0}set customDomain(i){i!==this.customDomain&&(i?this.setAttribute(w.CUSTOM_DOMAIN,i):this.removeAttribute(w.CUSTOM_DOMAIN))}get envKey(){var i;return(i=Vs(this,w.ENV_KEY))!=null?i:void 0}set envKey(i){this.setAttribute(w.ENV_KEY,`${i}`)}get noVolumePref(){return this.hasAttribute(N.NO_VOLUME_PREF)}set noVolumePref(i){i?this.setAttribute(N.NO_VOLUME_PREF,""):this.removeAttribute(N.NO_VOLUME_PREF)}get debug(){return Vs(this,w.DEBUG)!=null}set debug(i){i?this.setAttribute(w.DEBUG,""):this.removeAttribute(w.DEBUG)}get disableTracking(){return Vs(this,w.DISABLE_TRACKING)!=null}set disableTracking(i){this.toggleAttribute(w.DISABLE_TRACKING,!!i)}get disableCookies(){return Vs(this,w.DISABLE_COOKIES)!=null}set disableCookies(i){i?this.setAttribute(w.DISABLE_COOKIES,""):this.removeAttribute(w.DISABLE_COOKIES)}get streamType(){var i,e,t;return(t=(e=this.getAttribute(w.STREAM_TYPE))!=null?e:(i=this.media)==null?void 0:i.streamType)!=null?t:Ie.UNKNOWN}set streamType(i){this.setAttribute(w.STREAM_TYPE,`${i}`)}get defaultStreamType(){var i,e,t;return(t=(e=this.getAttribute(N.DEFAULT_STREAM_TYPE))!=null?e:(i=this.mediaController)==null?void 0:i.getAttribute(N.DEFAULT_STREAM_TYPE))!=null?t:Ie.ON_DEMAND}set defaultStreamType(i){i?this.setAttribute(N.DEFAULT_STREAM_TYPE,i):this.removeAttribute(N.DEFAULT_STREAM_TYPE)}get targetLiveWindow(){var i,e;return this.hasAttribute(N.TARGET_LIVE_WINDOW)?+this.getAttribute(N.TARGET_LIVE_WINDOW):(e=(i=this.media)==null?void 0:i.targetLiveWindow)!=null?e:Number.NaN}set targetLiveWindow(i){i==this.targetLiveWindow||Number.isNaN(i)&&Number.isNaN(this.targetLiveWindow)||(i==null?this.removeAttribute(N.TARGET_LIVE_WINDOW):this.setAttribute(N.TARGET_LIVE_WINDOW,`${+i}`))}get liveEdgeStart(){var i;return(i=this.media)==null?void 0:i.liveEdgeStart}get startTime(){return Ot(Vs(this,w.START_TIME))}set startTime(i){this.setAttribute(w.START_TIME,`${i}`)}get preferPlayback(){let i=this.getAttribute(w.PREFER_PLAYBACK);if(i===Fi.MSE||i===Fi.NATIVE)return i}set preferPlayback(i){i!==this.preferPlayback&&(i===Fi.MSE||i===Fi.NATIVE?this.setAttribute(w.PREFER_PLAYBACK,i):this.removeAttribute(w.PREFER_PLAYBACK))}get metadata(){var i;return(i=this.media)==null?void 0:i.metadata}set metadata(i){if(Ze(this,Ke,Ss).call(this),!this.media){Yt("underlying media element missing when trying to set metadata. metadata will not be set.");return}this.media.metadata={...h0(this),...i}}get _hlsConfig(){var i;return(i=this.media)==null?void 0:i._hlsConfig}set _hlsConfig(i){if(Ze(this,Ke,Ss).call(this),!this.media){Yt("underlying media element missing when trying to set _hlsConfig. _hlsConfig will not be set.");return}this.media._hlsConfig=i}async addCuePoints(i){var e;if(Ze(this,Ke,Ss).call(this),!this.media){Yt("underlying media element missing when trying to addCuePoints. cuePoints will not be added.");return}return(e=this.media)==null?void 0:e.addCuePoints(i)}get activeCuePoint(){var i;return(i=this.media)==null?void 0:i.activeCuePoint}get cuePoints(){var i,e;return(e=(i=this.media)==null?void 0:i.cuePoints)!=null?e:[]}addChapters(i){var e;if(Ze(this,Ke,Ss).call(this),!this.media){Yt("underlying media element missing when trying to addChapters. chapters will not be added.");return}return(e=this.media)==null?void 0:e.addChapters(i)}get activeChapter(){var i;return(i=this.media)==null?void 0:i.activeChapter}get chapters(){var i,e;return(e=(i=this.media)==null?void 0:i.chapters)!=null?e:[]}getStartDate(){var i;return(i=this.media)==null?void 0:i.getStartDate()}get currentPdt(){var i;return(i=this.media)==null?void 0:i.currentPdt}get tokens(){let i=this.getAttribute(N.PLAYBACK_TOKEN),e=this.getAttribute(N.DRM_TOKEN),t=this.getAttribute(N.THUMBNAIL_TOKEN),s=this.getAttribute(N.STORYBOARD_TOKEN);return{...Le(this,zl),...i!=null?{playback:i}:{},...e!=null?{drm:e}:{},...t!=null?{thumbnail:t}:{},...s!=null?{storyboard:s}:{}}}set tokens(i){Gi(this,zl,i??{})}get playbackToken(){var i;return(i=this.getAttribute(N.PLAYBACK_TOKEN))!=null?i:void 0}set playbackToken(i){this.setAttribute(N.PLAYBACK_TOKEN,`${i}`)}get drmToken(){var i;return(i=this.getAttribute(N.DRM_TOKEN))!=null?i:void 0}set drmToken(i){this.setAttribute(N.DRM_TOKEN,`${i}`)}get thumbnailToken(){var i;return(i=this.getAttribute(N.THUMBNAIL_TOKEN))!=null?i:void 0}set thumbnailToken(i){this.setAttribute(N.THUMBNAIL_TOKEN,`${i}`)}get storyboardToken(){var i;return(i=this.getAttribute(N.STORYBOARD_TOKEN))!=null?i:void 0}set storyboardToken(i){this.setAttribute(N.STORYBOARD_TOKEN,`${i}`)}addTextTrack(i,e,t,s){var r;let n=(r=this.media)==null?void 0:r.nativeEl;if(n)return pf(n,i,e,t,s)}removeTextTrack(i){var e;let t=(e=this.media)==null?void 0:e.nativeEl;if(t)return Mx(t,i)}get textTracks(){var i;return(i=this.media)==null?void 0:i.textTracks}get castReceiver(){var i;return(i=this.getAttribute(N.CAST_RECEIVER))!=null?i:void 0}set castReceiver(i){i!==this.castReceiver&&(i?this.setAttribute(N.CAST_RECEIVER,i):this.removeAttribute(N.CAST_RECEIVER))}get castCustomData(){var i;return(i=this.media)==null?void 0:i.castCustomData}set castCustomData(i){if(!this.media){Yt("underlying media element missing when trying to set castCustomData. castCustomData will not be set.");return}this.media.castCustomData=i}get noTooltips(){return this.hasAttribute(N.NO_TOOLTIPS)}set noTooltips(i){if(!i){this.removeAttribute(N.NO_TOOLTIPS);return}this.setAttribute(N.NO_TOOLTIPS,"")}get proudlyDisplayMuxBadge(){return this.hasAttribute(N.PROUDLY_DISPLAY_MUX_BADGE)}set proudlyDisplayMuxBadge(i){i?this.setAttribute(N.PROUDLY_DISPLAY_MUX_BADGE,""):this.removeAttribute(N.PROUDLY_DISPLAY_MUX_BADGE)}};Yl=new WeakMap,jl=new WeakMap,zl=new WeakMap,Zs=new WeakMap,Ql=new WeakMap,gn=new WeakMap,Ke=new WeakSet,Ss=function(){var i,e,t,s;if(!Le(this,jl)){Gi(this,jl,!0),Ze(this,Ke,Js).call(this);try{if(customElements.upgrade(this.mediaTheme),!(this.mediaTheme instanceof Oi.HTMLElement))throw""}catch{Yt("<media-theme> failed to upgrade!")}try{customElements.upgrade(this.media)}catch{Yt("underlying media element failed to upgrade!")}try{if(customElements.upgrade(this.mediaController),!(this.mediaController instanceof yD))throw""}catch{Yt("<media-controller> failed to upgrade!")}Ze(this,Ke,g0).call(this),Ze(this,Ke,v0).call(this),Ze(this,Ke,E0).call(this),Gi(this,Zs,(e=(i=this.mediaController)==null?void 0:i.hasAttribute(re.USER_INACTIVE))!=null?e:!0),Ze(this,Ke,y0).call(this),(t=this.media)==null||t.addEventListener("streamtypechange",()=>Ze(this,Ke,Js).call(this)),(s=this.media)==null||s.addEventListener("loadstart",()=>Ze(this,Ke,Js).call(this))}},zT=function(){var i,e;try{(i=window?.CSS)==null||i.registerProperty({name:"--media-primary-color",syntax:"<color>",inherits:!0}),(e=window?.CSS)==null||e.registerProperty({name:"--media-secondary-color",syntax:"<color>",inherits:!0})}catch{}},Uh=function(i){Object.assign(Le(this,gn),i),Ze(this,Ke,Js).call(this)},Js=function(i={}){_M(SM(OM(this,{...Le(this,gn),...i})),this.shadowRoot)},g0=function(){let i=e=>{var t,s;if(!(e!=null&&e.startsWith("theme-")))return;let r=e.replace(/^theme-/,"");if(Nh.includes(r))return;let n=this.getAttribute(e);n!=null?(t=this.mediaTheme)==null||t.setAttribute(r,n):(s=this.mediaTheme)==null||s.removeAttribute(r)};new MutationObserver(e=>{for(let{attributeName:t}of e)i(t)}).observe(this,{attributes:!0}),this.getAttributeNames().forEach(i)},v0=function(){let i=e=>{var t;let s=(t=this.media)==null?void 0:t.error;if(!(s instanceof q)){let{message:n,code:a}=s??{};s=new q(n,a)}if(!(s!=null&&s.fatal)){is(s),s.data&&is(`${s.name} data:`,s.data);return}let r=d0(s);r.message&&KT(r),Yt(s),s.data&&Yt(`${s.name} data:`,s.data),Ze(this,Ke,Uh).call(this,{isDialogOpen:!0})};this.addEventListener("error",i),this.media&&(this.media.errorTranslator=(e={})=>{var t,s,r;if(!(((t=this.media)==null?void 0:t.error)instanceof q))return e;let n=d0((s=this.media)==null?void 0:s.error);return{player_error_code:(r=this.media)==null?void 0:r.error.code,player_error_message:n.message?String(n.message):e.player_error_message,player_error_context:n.context?String(n.context):e.player_error_context}})},E0=function(){var i,e,t,s;let r=()=>Ze(this,Ke,Js).call(this);(e=(i=this.media)==null?void 0:i.textTracks)==null||e.addEventListener("addtrack",r),(s=(t=this.media)==null?void 0:t.textTracks)==null||s.addEventListener("removetrack",r)},y0=function(){var i,e;if(!/Firefox/i.test(navigator.userAgent))return;let t,s=new WeakMap,r=()=>this.streamType===Ie.LIVE&&!this.secondaryColor&&this.offsetWidth>=800,n=(d,l,u=!1)=>{r()||Array.from(d&&d.activeCues||[]).forEach(c=>{if(!(!c.snapToLines||c.line<-5||c.line>=0&&c.line<10))if(!l||this.paused){let h=c.text.split(`
|
|
3223
3223
|
`).length,f=-3;this.streamType===Ie.LIVE&&(f=-2);let m=f-h;if(c.line===m&&!u)return;s.has(c)||s.set(c,c.line),c.line=m}else setTimeout(()=>{c.line=s.get(c)||"auto"},500)})},a=()=>{var d,l;n(t,(l=(d=this.mediaController)==null?void 0:d.hasAttribute(re.USER_INACTIVE))!=null?l:!1)},o=()=>{var d,l;let u=Array.from(((l=(d=this.mediaController)==null?void 0:d.media)==null?void 0:l.textTracks)||[]).filter(c=>["subtitles","captions"].includes(c.kind)&&c.mode==="showing")[0];u!==t&&t?.removeEventListener("cuechange",a),t=u,t?.addEventListener("cuechange",a),n(t,Le(this,Zs))};o(),(i=this.textTracks)==null||i.addEventListener("change",o),(e=this.textTracks)==null||e.addEventListener("addtrack",o),this.addEventListener("userinactivechange",()=>{var d,l;let u=(l=(d=this.mediaController)==null?void 0:d.hasAttribute(re.USER_INACTIVE))!=null?l:!0;Le(this,Zs)!==u&&(Gi(this,Zs,u),n(t,Le(this,Zs)))})};function Vs(i,e){return i.media?i.media.getAttribute(e):i.getAttribute(e)}var T0=VM,QT=class{addEventListener(){}removeEventListener(){}dispatchEvent(i){return!0}};if(typeof DocumentFragment>"u"){class i extends QT{}globalThis.DocumentFragment=i}var KM=class extends QT{},WM={get(i){},define(i,e,t){},getName(i){return null},upgrade(i){},whenDefined(i){return Promise.resolve(KM)}},qM={customElements:WM},YM=typeof window>"u"||typeof globalThis.customElements>"u",zu=YM?qM:globalThis;zu.customElements.get("mux-player")||(zu.customElements.define("mux-player",T0),zu.MuxPlayerElement=T0);var XT=parseInt(Ra.version)>=19,b0={className:"class",classname:"class",htmlFor:"for",crossOrigin:"crossorigin",viewBox:"viewBox",playsInline:"playsinline",autoPlay:"autoplay",playbackRate:"playbackrate"},jM=i=>i==null,zM=(i,e)=>jM(e)?!1:i in e,QM=i=>i.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`),XM=(i,e)=>{if(!(!XT&&typeof e=="boolean"&&!e)){if(zM(i,b0))return b0[i];if(typeof e<"u")return/[A-Z]/.test(i)?QM(i):i}},ZM=(i,e)=>!XT&&typeof i=="boolean"?"":i,JM=(i={})=>{let{ref:e,...t}=i;return Object.entries(t).reduce((s,[r,n])=>{let a=XM(r,n);if(!a)return s;let o=ZM(n);return s[a]=o,s},{})};function _0(i,e){if(typeof i=="function")return i(e);i!=null&&(i.current=e)}function eP(...i){return e=>{let t=!1,s=i.map(r=>{let n=_0(r,e);return!t&&typeof n=="function"&&(t=!0),n});if(t)return()=>{for(let r=0;r<s.length;r++){let n=s[r];typeof n=="function"?n():_0(i[r],null)}}}}function tP(...i){return vt.useCallback(eP(...i),i)}var iP=Object.prototype.hasOwnProperty,sP=(i,e)=>{if(Object.is(i,e))return!0;if(typeof i!="object"||i===null||typeof e!="object"||e===null)return!1;if(Array.isArray(i))return!Array.isArray(e)||i.length!==e.length?!1:i.some((r,n)=>e[n]===r);let t=Object.keys(i),s=Object.keys(e);if(t.length!==s.length)return!1;for(let r=0;r<t.length;r++)if(!iP.call(e,t[r])||!Object.is(i[t[r]],e[t[r]]))return!1;return!0},ZT=(i,e,t)=>!sP(e,i[t]),rP=(i,e,t)=>{i[t]=e},nP=(i,e,t,s=rP,r=ZT)=>vt.useEffect(()=>{let n=t?.current;n&&r(n,e,i)&&s(n,e,i)},[t?.current,e]),yi=nP,aP=()=>{try{return"3.5.1"}catch{}return"UNKNOWN"},oP=aP(),lP=()=>oP,$e=(i,e,t)=>vt.useEffect(()=>{let s=e?.current;if(!s||!t)return;let r=i,n=t;return s.addEventListener(r,n),()=>{s.removeEventListener(r,n)}},[e?.current,t,i]),dP=Ra.forwardRef(({children:i,...e},t)=>Ra.createElement("mux-player",{suppressHydrationWarning:!0,...JM(e),ref:t},i)),uP=(i,e)=>{let{onAbort:t,onCanPlay:s,onCanPlayThrough:r,onEmptied:n,onLoadStart:a,onLoadedData:o,onLoadedMetadata:d,onProgress:l,onDurationChange:u,onVolumeChange:c,onRateChange:h,onResize:f,onWaiting:m,onPlay:g,onPlaying:p,onTimeUpdate:E,onPause:T,onSeeking:y,onSeeked:b,onStalled:A,onSuspend:x,onEnded:I,onError:L,onCuePointChange:R,onChapterChange:S,metadata:M,tokens:O,paused:Y,playbackId:V,playbackRates:B,currentTime:H,themeProps:J,extraSourceParams:F,castCustomData:te,_hlsConfig:ee,...$}=e;return yi("playbackRates",B,i),yi("metadata",M,i),yi("extraSourceParams",F,i),yi("_hlsConfig",ee,i),yi("themeProps",J,i),yi("tokens",O,i),yi("playbackId",V,i),yi("castCustomData",te,i),yi("paused",Y,i,(U,ae)=>{ae!=null&&(ae?U.pause():U.play())},(U,ae,ue)=>U.hasAttribute("autoplay")&&!U.hasPlayed?!1:ZT(U,ae,ue)),yi("currentTime",H,i,(U,ae)=>{ae!=null&&(U.currentTime=ae)}),$e("abort",i,t),$e("canplay",i,s),$e("canplaythrough",i,r),$e("emptied",i,n),$e("loadstart",i,a),$e("loadeddata",i,o),$e("loadedmetadata",i,d),$e("progress",i,l),$e("durationchange",i,u),$e("volumechange",i,c),$e("ratechange",i,h),$e("resize",i,f),$e("waiting",i,m),$e("play",i,g),$e("playing",i,p),$e("timeupdate",i,E),$e("pause",i,T),$e("seeking",i,y),$e("seeked",i,b),$e("stalled",i,A),$e("suspend",i,x),$e("ended",i,I),$e("error",i,L),$e("cuepointchange",i,R),$e("chapterchange",i,S),[$]},cP=lP(),hP="mux-player-react",fP=Ra.forwardRef((i,e)=>{var t;let s=vt.useRef(null),r=tP(s,e),[n]=uP(s,i),[a]=vt.useState((t=i.playerInitTime)!=null?t:yf());return Ra.createElement(dP,{ref:r,defaultHiddenCaptions:i.defaultHiddenCaptions,playerSoftwareName:hP,playerSoftwareVersion:cP,playerInitTime:a,...n})}),mP=fP;const pP=nb({time:ob(),expiresAt:ab()}).transform(i=>({time:Number(i.time),expiresAt:new Date(i.expiresAt)}));function gP(){return sb("root")?.preferences?.player??null}const vP=["INPUT","SELECT","BUTTON","TEXTAREA","MUX-PLAYER","SUMMARY"],EP=["button","option","combobox","tab","tablist"];function A0(i){let e=i;for(;e;){if(!(e instanceof HTMLElement))return!1;if(vP.includes(e.tagName)||EP.includes(e.getAttribute("role")||"")||e.isContentEditable)return!0;e=e.parentElement}return!1}function S0(i){const e=vt.useRef(i);return vt.useEffect(()=>{e.current=i},[i]),e}function yP({muxPlayerRef:i,...e}){const t=gP(),s=ib(),[r,n]=vt.useState(!1),a=`${e.playbackId}:currentTime`,[o,d]=vt.useState(0),l=S0(s),u=S0(t);vt.useEffect(()=>{if(typeof document>"u")return;const h=sessionStorage.getItem(a);if(h)try{const{time:f,expiresAt:m}=pP.parse(JSON.parse(h));if(m.getTime()<Date.now())throw new Error("Time expired");d(f)}catch{sessionStorage.removeItem(a)}},[a]),vt.useEffect(()=>{function h(f){if(!i.current)return;const m=document.activeElement;A0(m)||A0(f.target)||(f.key===" "&&(f.preventDefault(),i.current.paused?r&&i.current.play().catch(()=>{}):i.current.pause()),f.key==="ArrowRight"&&(f.preventDefault(),i.current.currentTime=i.current.currentTime+(i.current.forwardSeekOffset||10)),f.key==="ArrowLeft"&&(f.preventDefault(),i.current.currentTime=i.current.currentTime-(i.current.forwardSeekOffset||10)),f.key==="f"&&!f.metaKey&&!f.ctrlKey&&(f.preventDefault(),document.fullscreenElement?document.exitFullscreen():i.current.requestFullscreen()))}return window.document.addEventListener("keydown",h),()=>{window.document.removeEventListener("keydown",h)}},[i,r]);const c=lb(()=>{const h=i.current;if(!h)return;const f=Array.from(h.textTracks??[]).find(g=>g.kind==="subtitles"),m={playbackRate:h.playbackRate,volumeRate:h.volume,subtitle:f?{id:f.id,mode:f.mode}:{id:null,mode:"disabled"}};Fh(m,u.current)||l.current.submit(m,{method:"POST",action:"/video-player",encType:"application/json"})},300);return vt.useEffect(()=>{if(!r)return;const h=i.current?.textTracks;if(!h)return;const f=u.current?.subtitle;if(f?.id){const m=h.getTrackById(f.id);m&&(m.mode=f.mode??"hidden")}return h.addEventListener("change",c),()=>{h.removeEventListener("change",c)}},[r,i,u,c]),K.jsx("div",{className:"flex aspect-video flex-col",children:K.jsx(mP,{ref:i,playbackRates:[.5,.75,1,1.25,1.5,1.75,2,2.5,3,3.5,4],volume:t?.volumeRate??1,playbackRate:t?.playbackRate??1,thumbnailTime:o,onRateChange:c,onVolumeChange:c,streamType:"on-demand",defaultHiddenCaptions:!0,currentTime:o,onTimeUpdate:()=>sessionStorage.setItem(a,JSON.stringify({time:i.current?.currentTime,expiresAt:new Date(Date.now()+1e3*60*30).toISOString()})),accentColor:"#427cf0",targetLiveWindow:NaN,onLoadedMetadata:()=>n(!0),minResolution:TP(t?.minResolution),maxResolution:bP(t?.maxResolution),...e})})}function Fh(i,e){if(i===e)return!0;if(typeof i!=typeof e||typeof i!="object"||typeof e!="object"||i===null||e===null||Array.isArray(i)!==Array.isArray(e))return!1;if(Array.isArray(i)&&Array.isArray(e)){if(i.length!==e.length)return!1;for(let r=0;r<i.length;r++)if(!Fh(i[r],e[r]))return!1;return!0}const t=Object.keys(i),s=Object.keys(e);if(t.length!==s.length)return!1;for(const r of t)if(!Fh(i[r],e[r]))return!1;return!0}function TP(i){if(i)return i<=480?Lr.noLessThan480p:i<=540?Lr.noLessThan540p:i<=720?Lr.noLessThan720p:i<=1080?Lr.noLessThan1080p:i<=1440?Lr.noLessThan1440p:Lr.noLessThan2160p}function bP(i){if(i)return i<=720?To.upTo720p:i<=1080?To.upTo1080p:i<=1440?To.upTo1440p:To.upTo2160p}const JT=vt.createContext(null);function QP({children:i,epicVideoInfosPromise:e}){return K.jsx(JT.Provider,{value:e,children:i})}function eb(i){let e=new URL("https://epicweb.dev");try{e=new URL(i)}catch(c){return console.error(c),"EpicWeb.dev Video"}const t=e.pathname.split("/").filter(Boolean),s=t.includes("solution");let r=t.pop();const n=["problem","solution","embed","exercise"],a=c=>c&&!n.includes(c);for(;!a(r);)r=t.pop();if(!r)return"EpicWeb.dev Video";const o=r.split("-"),d=["the","a","an","and","but","or","for","nor","on","at","to","from","by","of","in","with","as","npm","git","ssh","cli"],l=["OAuth","UI","UX","API","CSS","HTML","JS","TS","SVG","AI","CSRF","CORS","HTTP","HTTPS","URL","URI","DB","SQL","JSON","YAML","YML","useActionData","useAsyncError","useAsyncValue","useBeforeUnload","useFetcher","useFetchers","useFormAction","useHref","useLoaderData","useLocation","useMatches","useNavigate","useNavigation","useNavigationType","useOutlet","useOutletContext","useParams","useResolvedPath","useRevalidator","useRouteError","useRouteLoaderData","useSearchParams","useSubmit","useCallback","useContext","useDebugValue","useDeferredValue","useEffect","useId","useImperativeHandle","useInsertionEffect","useLayoutEffect","useMemo","useReducer","useRef","useState","useSyncExternalStore","useTransition","useForm","useFieldset","useFieldList","useEventSource","useHydrated","useAuthenticityToken","useShouldHydrate","useGlobalNavigationState","useLocales","useDelegatedAnchors","useDebounceFetcher","useFetcherType"],u=o.filter(Boolean).map((c,h)=>{const f=c.toLowerCase(),m=l.find(g=>g.toLowerCase()===f);return m||(d.includes(f)&&h>0?f:f[0]?.toUpperCase()+f.slice(1))}).join(" ");return s?`${u} (🏁 solution)`:u}function _P({url:i,title:e="Video Embed",loadingContent:t=K.jsx($h,{children:K.jsxs("span",{children:['Loading "',e,'"']})})}){const s=I0(),[r,n]=vt.useState(!1);return ub()?K.jsxs("div",{className:"relative aspect-video w-full flex-shrink-0 shadow-lg",children:[r?null:K.jsx("div",{className:"absolute inset-0 z-10 flex items-center justify-center p-8",children:t}),K.jsx("iframe",{onLoad:()=>n(!0),onError:()=>n(!0),src:i,className:db("absolute inset-0 flex h-full w-full transition-opacity duration-300",r?"opacity-100":"opacity-0"),title:e,sandbox:"allow-forms allow-scripts allow-same-origin allow-popups allow-popups-to-escape-sandbox",allowFullScreen:!0,style:{colorScheme:s}})]}):K.jsx("div",{className:"relative aspect-video w-full flex-shrink-0 shadow-lg",children:K.jsx("div",{className:"not-prose absolute inset-0 z-10 flex items-center justify-center p-8 text-foreground-destructive",children:K.jsx(L0,{name:"WifiNoConnection",size:"xl",children:K.jsxs("span",{children:["Unable to load the video ",K.jsx("a",{href:i,className:"underline",children:`"${e??i}"`})," when offline"]})})})})}function tb({url:i,title:e}){return K.jsxs("a",{href:i,target:"_blank",className:"flex items-center gap-1 text-base no-underline opacity-70 transition hover:underline hover:opacity-100",rel:"noreferrer",children:[K.jsx(L0,{className:"flex-shrink-0",name:"Video",size:"lg"}),e," ",K.jsx("span",{"aria-hidden":!0,children:"↗︎"})]})}function XP({url:i,title:e}){const t=e??eb(i),{product:{host:s,displayName:r}}=hb(),n=cb(),a=vt.useContext(JT),o=K.jsx("div",{children:K.jsx(tb,{url:i,title:t})});return K.jsx("div",{children:K.jsx(vt.Suspense,{fallback:K.jsxs("div",{children:[K.jsx("div",{className:"flex aspect-video w-full items-center justify-center",children:K.jsx($h,{children:t})}),K.jsxs("div",{className:"mt-4 flex flex-col gap-2",children:[o,K.jsx("div",{className:"h-[32px]"})]})]}),children:K.jsx(rb,{errorElement:K.jsx("div",{children:"Sorry, failed loading videos. Check the terminal output?"}),resolve:a,children:d=>{const l=d?.[i],u=ENV.EPICSHOP_DEPLOYED?K.jsxs("div",{children:[K.jsx(ro,{to:ENV.EPICSHOP_GITHUB_REPO,className:"underline",children:"Run locally"})," for transcripts"]}):K.jsxs("div",{children:[K.jsx(ro,{to:"/login",className:"underline",children:n?"Upgrade":"Login"})," for transcripts"]});if(!l)return K.jsxs("div",{children:[K.jsx(qn,{url:i,title:t}),K.jsxs("div",{className:"mt-4 flex flex-col gap-2",children:[o,u]})]});const c=l;return c.status==="success"?K.jsx(AP,{url:i,title:e??c.title??t,muxPlaybackId:c.muxPlaybackId,transcript:c.transcript}):c.type==="region-restricted"?K.jsxs("div",{children:[K.jsxs("div",{className:"flex aspect-video min-h-full min-w-full flex-col items-center justify-start gap-2 overflow-y-scroll border-2 p-4 lg:justify-center lg:gap-4 lg:text-xl",children:[K.jsx("div",{className:"!text-foreground-destructive",children:"Error: Region Restricted"}),K.jsxs("div",{children:["We've detected you're connecting from"," ",c.requestCountry," but your license has restricted access to ",c.restrictedCountry]}),K.jsxs("div",{children:["To continue watching uninterrupted, please"," ",K.jsxs("a",{href:`https://${s}/products`,className:"underline",children:["upgrade your ",r," license"]})," ","to a full Pro license."]})]}),K.jsxs("div",{className:"mt-4 flex flex-col gap-2",children:[o,K.jsxs("div",{children:[K.jsx(ro,{to:`https://${s}/products`,className:"underline",children:"Upgrade"})," for transcripts"]})]})]}):c.statusCode===401?K.jsxs("div",{children:[K.jsx(qn,{url:i,title:t}),K.jsxs("div",{className:"mt-4 flex flex-col gap-2",children:[o,u]})]}):c.statusCode===403?K.jsxs("div",{children:[K.jsx(qn,{url:i,title:t}),K.jsxs("div",{className:"mt-4 flex flex-col gap-2",children:[o,K.jsxs("div",{children:[K.jsx(ro,{to:`https://${s}/products`,className:"underline",children:"Upgrade"})," for transcripts"]})]})]}):c.statusCode===404?K.jsxs("div",{children:[K.jsx(qn,{url:i,title:t}),K.jsxs("div",{className:"mt-4 flex flex-col gap-2",children:[o,K.jsx("div",{children:"Transcripts not found"})]})]}):(console.error(c),K.jsxs("div",{children:[K.jsx(qn,{url:i,title:t}),K.jsxs("div",{className:"mt-4 flex flex-col gap-2",children:[o,K.jsx("div",{className:"!text-foreground-destructive",children:"Unknown error (check console)"})]})]}))}})})})}function AP({url:i,title:e=eb(i),muxPlaybackId:t,transcript:s}){const r=vt.useRef(null),n=/(\d+:\d+)/g,a=[];let o,d=0;for(;o=n.exec(s);){const l=o[1];if(!n.lastIndex||!l)break;const u=o.index,c=n.lastIndex,h=s.slice(d+1,u-1);a.push(K.jsx("span",{children:h},u)),a.push(K.jsx("button",{className:"underline",onClick:f=>{if(r.current){r.current.currentTime=SP(l);try{r.current.play().catch(()=>{})}catch{}r.current.scrollIntoView({behavior:"smooth",inline:"center",block:"start"}),f.currentTarget.blur()}},children:l},l)),d=c}return a.push(K.jsx("span",{children:s.slice(d+1,s.length)},s.length)),K.jsxs("div",{children:[K.jsx("div",{className:"shadow-lg",children:K.jsx(yP,{playbackId:t,muxPlayerRef:r,title:e})}),K.jsxs("div",{className:"mt-4 flex flex-col gap-2",children:[K.jsx(tb,{url:i,title:e}),K.jsxs("details",{children:[K.jsx("summary",{children:"Transcript"}),K.jsx("div",{className:"whitespace-pre-line rounded-md bg-accent p-2 text-accent-foreground",children:a})]})]})]})}function SP(i){const e=i.split(":");let t=0,s=1;for(;e.length>0;)t+=s*parseInt(e.pop()??"0",10),s*=60;return t}function qn({url:i,title:e}){const t=I0();let s=new URL("https://epicweb.dev");try{s=new URL(i)}catch(r){return console.error(r),K.jsxs("div",{children:['Invalid URL: "',i,'"']})}return s.pathname=s.pathname.endsWith("/")?`${s.pathname}embed`:`${s.pathname}/embed`,s.searchParams.set("theme",t),s.host==="www.epicai.pro"&&(s.pathname=`/posts/${s.pathname}`),K.jsx(_P,{url:s.toString(),title:e,loadingContent:K.jsx($h,{children:K.jsxs("span",{children:['Loading "',K.jsx("a",{className:"underline",href:i,children:e}),'"']})})})}export{XP as D,QP as E,_P as V};
|
|
3224
|
-
//# sourceMappingURL=epic-video-
|
|
3224
|
+
//# sourceMappingURL=epic-video-BXvzDHIB.js.map
|