@epic-web/workshop-app 6.4.0 → 6.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (323) hide show
  1. package/build/client/assets/{_-DbsI2yZ3.js → _-DOI2gHX3.js} +2 -2
  2. package/build/client/assets/{_-DbsI2yZ3.js.map → _-DOI2gHX3.js.map} +1 -1
  3. package/build/client/assets/{_-C9pypk8E.js → _-v6PvHZ90.js} +2 -2
  4. package/build/client/assets/_-v6PvHZ90.js.map +1 -0
  5. package/build/client/assets/{_basePickBy-BaGiSohD.js → _basePickBy-DK6It6WA.js} +2 -2
  6. package/build/client/assets/{_basePickBy-BaGiSohD.js.map → _basePickBy-DK6It6WA.js.map} +1 -1
  7. package/build/client/assets/{_baseUniq-BxpIs2Oy.js → _baseUniq-B14mMiqO.js} +2 -2
  8. package/build/client/assets/{_baseUniq-BxpIs2Oy.js.map → _baseUniq-B14mMiqO.js.map} +1 -1
  9. package/build/client/assets/{_exerciseNumber-uGponlfN.js → _exerciseNumber-BhK_Xufd.js} +2 -2
  10. package/build/client/assets/{_exerciseNumber-uGponlfN.js.map → _exerciseNumber-BhK_Xufd.js.map} +1 -1
  11. package/build/client/assets/{_exerciseNumber_._stepNumber-Ce6_sCcU.js → _exerciseNumber_._stepNumber-DBbWnlEd.js} +2 -2
  12. package/build/client/assets/{_exerciseNumber_._stepNumber-Ce6_sCcU.js.map → _exerciseNumber_._stepNumber-DBbWnlEd.js.map} +1 -1
  13. package/build/client/assets/_exerciseNumber_._stepNumber.index-Br7x8lR0.js +2 -0
  14. package/build/client/assets/_exerciseNumber_._stepNumber.index-Br7x8lR0.js.map +1 -0
  15. package/build/client/assets/{_exerciseNumber_.finished-BE2v5_rB.js → _exerciseNumber_.finished-B0iUZ4Jp.js} +2 -2
  16. package/build/client/assets/{_exerciseNumber_.finished-BE2v5_rB.js.map → _exerciseNumber_.finished-B0iUZ4Jp.js.map} +1 -1
  17. package/build/client/assets/_layout-BP3Hz4UU.js +2 -0
  18. package/build/client/assets/{_layout-Co6ujuzn.js.map → _layout-BP3Hz4UU.js.map} +1 -1
  19. package/build/client/assets/{_layout-Bzzu5Cz1.js → _layout-DKmpru-v.js} +2 -2
  20. package/build/client/assets/{_layout-Bzzu5Cz1.js.map → _layout-DKmpru-v.js.map} +1 -1
  21. package/build/client/assets/{_layout-vRDHFYoQ.js → _layout-DRBfGSzn.js} +2 -2
  22. package/build/client/assets/{_layout-vRDHFYoQ.js.map → _layout-DRBfGSzn.js.map} +1 -1
  23. package/build/client/assets/{_layout-BVzBSE-n.js → _layout-DxOG9P39.js} +2 -2
  24. package/build/client/assets/{_layout-BVzBSE-n.js.map → _layout-DxOG9P39.js.map} +1 -1
  25. package/build/client/assets/{accordion-BDR86Xcb.js → accordion-CQRBxCdM.js} +2 -2
  26. package/build/client/assets/{accordion-BDR86Xcb.js.map → accordion-CQRBxCdM.js.map} +1 -1
  27. package/build/client/assets/{account-Cldpf0d2.js → account-BwxqSFjk.js} +2 -2
  28. package/build/client/assets/{account-Cldpf0d2.js.map → account-BwxqSFjk.js.map} +1 -1
  29. package/build/client/assets/api._-Br7x8lR0.js +2 -0
  30. package/build/client/assets/api._-Br7x8lR0.js.map +1 -0
  31. package/build/client/assets/app-CJ-4VoDp.js +2 -0
  32. package/build/client/assets/{app-DmNyqOoy.js.map → app-CJ-4VoDp.js.map} +1 -1
  33. package/build/client/assets/app.epic_ws_.js_-Br7x8lR0.js +2 -0
  34. package/build/client/assets/app.epic_ws_.js_-Br7x8lR0.js.map +1 -0
  35. package/build/client/assets/apps-4hFOncm9.js +2 -0
  36. package/build/client/assets/apps-4hFOncm9.js.map +1 -0
  37. package/build/client/assets/apps-Br7x8lR0.js +2 -0
  38. package/build/client/assets/apps-Br7x8lR0.js.map +1 -0
  39. package/build/client/assets/{arc-DRlf7jq7.js → arc-BVQduULV.js} +2 -2
  40. package/build/client/assets/{arc-DRlf7jq7.js.map → arc-BVQduULV.js.map} +1 -1
  41. package/build/client/assets/{architectureDiagram-NQ2NVSRB-CrmRQ9SO.js → architectureDiagram-NQ2NVSRB-CR4gCI8X.js} +2 -2
  42. package/build/client/assets/{architectureDiagram-NQ2NVSRB-CrmRQ9SO.js.map → architectureDiagram-NQ2NVSRB-CR4gCI8X.js.map} +1 -1
  43. package/build/client/assets/{blockDiagram-PHRCVELO-xwBltM5R.js → blockDiagram-PHRCVELO-DuxnuM93.js} +2 -2
  44. package/build/client/assets/{blockDiagram-PHRCVELO-xwBltM5R.js.map → blockDiagram-PHRCVELO-DuxnuM93.js.map} +1 -1
  45. package/build/client/assets/{button-BlPb-37-.js → button-DGnwQ6KN.js} +2 -2
  46. package/build/client/assets/{button-BlPb-37-.js.map → button-DGnwQ6KN.js.map} +1 -1
  47. package/build/client/assets/{c4Diagram-6F6E4RAY-JkoDHTPF.js → c4Diagram-6F6E4RAY-Dqlm7faJ.js} +2 -2
  48. package/build/client/assets/{c4Diagram-6F6E4RAY-JkoDHTPF.js.map → c4Diagram-6F6E4RAY-Dqlm7faJ.js.map} +1 -1
  49. package/build/client/assets/cache-Br7x8lR0.js +2 -0
  50. package/build/client/assets/cache-Br7x8lR0.js.map +1 -0
  51. package/build/client/assets/channel-Ccfwel2m.js +2 -0
  52. package/build/client/assets/{channel-Cks3Ea6t.js.map → channel-Ccfwel2m.js.map} +1 -1
  53. package/build/client/assets/{chunk-353BL4L5-CHKdRF8O.js → chunk-353BL4L5-CY0biqke.js} +2 -2
  54. package/build/client/assets/{chunk-353BL4L5-CHKdRF8O.js.map → chunk-353BL4L5-CY0biqke.js.map} +1 -1
  55. package/build/client/assets/{chunk-67H74DCK-BMun8kdQ.js → chunk-67H74DCK-CZpFcSK7.js} +2 -2
  56. package/build/client/assets/{chunk-67H74DCK-BMun8kdQ.js.map → chunk-67H74DCK-CZpFcSK7.js.map} +1 -1
  57. package/build/client/assets/{chunk-6OLS64BW-D0k_ZwIC.js → chunk-6OLS64BW-CV0M_3sG.js} +2 -2
  58. package/build/client/assets/{chunk-6OLS64BW-D0k_ZwIC.js.map → chunk-6OLS64BW-CV0M_3sG.js.map} +1 -1
  59. package/build/client/assets/{chunk-AACKK3MU-Cj8nrtEq.js → chunk-AACKK3MU-B4Z3pj6y.js} +2 -2
  60. package/build/client/assets/{chunk-AACKK3MU-Cj8nrtEq.js.map → chunk-AACKK3MU-B4Z3pj6y.js.map} +1 -1
  61. package/build/client/assets/{chunk-BFAMUDN2-CIt8WAbe.js → chunk-BFAMUDN2-xSXsSdRc.js} +2 -2
  62. package/build/client/assets/{chunk-BFAMUDN2-CIt8WAbe.js.map → chunk-BFAMUDN2-xSXsSdRc.js.map} +1 -1
  63. package/build/client/assets/{chunk-E2GYISFI-lfUxhUba.js → chunk-E2GYISFI-XxwOHDH_.js} +2 -2
  64. package/build/client/assets/{chunk-E2GYISFI-lfUxhUba.js.map → chunk-E2GYISFI-XxwOHDH_.js.map} +1 -1
  65. package/build/client/assets/{chunk-QEP2MXWD-By0BtF5w.js → chunk-QEP2MXWD-ChxN-fyh.js} +2 -2
  66. package/build/client/assets/{chunk-QEP2MXWD-By0BtF5w.js.map → chunk-QEP2MXWD-ChxN-fyh.js.map} +1 -1
  67. package/build/client/assets/{chunk-QMGIS6GS-D3fke51R.js → chunk-QMGIS6GS-Cnm5uIBY.js} +2 -2
  68. package/build/client/assets/{chunk-QMGIS6GS-D3fke51R.js.map → chunk-QMGIS6GS-Cnm5uIBY.js.map} +1 -1
  69. package/build/client/assets/{chunk-SKB7J2MH-B4y7fFww.js → chunk-SKB7J2MH-Iq1sBnJg.js} +2 -2
  70. package/build/client/assets/{chunk-SKB7J2MH-B4y7fFww.js.map → chunk-SKB7J2MH-Iq1sBnJg.js.map} +1 -1
  71. package/build/client/assets/classDiagram-BGRH5UQR-C3baNHIn.js +2 -0
  72. package/build/client/assets/{classDiagram-BGRH5UQR-Ddac1FX8.js.map → classDiagram-BGRH5UQR-C3baNHIn.js.map} +1 -1
  73. package/build/client/assets/classDiagram-v2-O24JOBDK-C3baNHIn.js +2 -0
  74. package/build/client/assets/{classDiagram-v2-O24JOBDK-Ddac1FX8.js.map → classDiagram-v2-O24JOBDK-C3baNHIn.js.map} +1 -1
  75. package/build/client/assets/clone-CBh9K_C0.js +2 -0
  76. package/build/client/assets/{clone-BzOlX5uP.js.map → clone-CBh9K_C0.js.map} +1 -1
  77. package/build/client/assets/{dagre-FFZHY6LT-BF_ENDvI.js → dagre-FFZHY6LT-DRX4CPoT.js} +2 -2
  78. package/build/client/assets/{dagre-FFZHY6LT-BF_ENDvI.js.map → dagre-FFZHY6LT-DRX4CPoT.js.map} +1 -1
  79. package/build/client/assets/{diagram-3EMPZRKU-Co8BNYOp.js → diagram-3EMPZRKU-DnyeZVpZ.js} +2 -2
  80. package/build/client/assets/{diagram-3EMPZRKU-Co8BNYOp.js.map → diagram-3EMPZRKU-DnyeZVpZ.js.map} +1 -1
  81. package/build/client/assets/{diagram-5UYTHUR4-CTF96wbH.js → diagram-5UYTHUR4-CGNqEi7_.js} +2 -2
  82. package/build/client/assets/{diagram-5UYTHUR4-CTF96wbH.js.map → diagram-5UYTHUR4-CGNqEi7_.js.map} +1 -1
  83. package/build/client/assets/{diagram-ZTM2IBQH-BPjsVcII.js → diagram-ZTM2IBQH-TQuk-ulz.js} +2 -2
  84. package/build/client/assets/{diagram-ZTM2IBQH-BPjsVcII.js.map → diagram-ZTM2IBQH-TQuk-ulz.js.map} +1 -1
  85. package/build/client/assets/diff-C4a0B6T4.js +2 -0
  86. package/build/client/assets/{diff-C4mTCnzp.js.map → diff-C4a0B6T4.js.map} +1 -1
  87. package/build/client/assets/{diff-BHlDvw_d.js → diff-CvXO10rY.js} +2 -2
  88. package/build/client/assets/{diff-BHlDvw_d.js.map → diff-CvXO10rY.js.map} +1 -1
  89. package/build/client/assets/discord-BoNGnjEv.js +2 -0
  90. package/build/client/assets/discord-BoNGnjEv.js.map +1 -0
  91. package/build/client/assets/{discord-DajcCBfS.js → discord-CpOQOwKa.js} +2 -2
  92. package/build/client/assets/{discord-DajcCBfS.js.map → discord-CpOQOwKa.js.map} +1 -1
  93. package/build/client/assets/{entry.client-CkiXyAWa.js → entry.client-JXPtXVLj.js} +2 -2
  94. package/build/client/assets/{entry.client-CkiXyAWa.js.map → entry.client-JXPtXVLj.js.map} +1 -1
  95. package/build/client/assets/{epic-video-7egGi8C6.js → epic-video-VKhk-6Mv.js} +2 -2
  96. package/build/client/assets/{epic-video-7egGi8C6.js.map → epic-video-VKhk-6Mv.js.map} +1 -1
  97. package/build/client/assets/epic_ws_.js_-Br7x8lR0.js +2 -0
  98. package/build/client/assets/epic_ws_.js_-Br7x8lR0.js.map +1 -0
  99. package/build/client/assets/{erDiagram-R3QVA2FD-CoI7VxY8.js → erDiagram-R3QVA2FD-DcVPSaZ1.js} +2 -2
  100. package/build/client/assets/{erDiagram-R3QVA2FD-CoI7VxY8.js.map → erDiagram-R3QVA2FD-DcVPSaZ1.js.map} +1 -1
  101. package/build/client/assets/{error-boundary-DxZMubY-.js → error-boundary-BDRYzb6K.js} +2 -2
  102. package/build/client/assets/{error-boundary-DxZMubY-.js.map → error-boundary-BDRYzb6K.js.map} +1 -1
  103. package/build/client/assets/exercises-Br7x8lR0.js +2 -0
  104. package/build/client/assets/exercises-Br7x8lR0.js.map +1 -0
  105. package/build/client/assets/{finished-DqZ90XsZ.js → finished-BkL8cvWw.js} +2 -2
  106. package/build/client/assets/{finished-DqZ90XsZ.js.map → finished-BkL8cvWw.js.map} +1 -1
  107. package/build/client/assets/{flowDiagram-PKI6S5ZS-FVR0aJCb.js → flowDiagram-PKI6S5ZS-BjGswWQI.js} +2 -2
  108. package/build/client/assets/{flowDiagram-PKI6S5ZS-FVR0aJCb.js.map → flowDiagram-PKI6S5ZS-BjGswWQI.js.map} +1 -1
  109. package/build/client/assets/{ganttDiagram-EK5VF46D-Cgd-KnRJ.js → ganttDiagram-EK5VF46D-CigmRAu8.js} +2 -2
  110. package/build/client/assets/{ganttDiagram-EK5VF46D-Cgd-KnRJ.js.map → ganttDiagram-EK5VF46D-CigmRAu8.js.map} +1 -1
  111. package/build/client/assets/{gitGraphDiagram-GW3U2K7C-C5-T89ck.js → gitGraphDiagram-GW3U2K7C-BZRSDtTk.js} +2 -2
  112. package/build/client/assets/{gitGraphDiagram-GW3U2K7C-C5-T89ck.js.map → gitGraphDiagram-GW3U2K7C-BZRSDtTk.js.map} +1 -1
  113. package/build/client/assets/{graph-2blmPy0J.js → graph-ssQ5a7An.js} +2 -2
  114. package/build/client/assets/{graph-2blmPy0J.js.map → graph-ssQ5a7An.js.map} +1 -1
  115. package/build/client/assets/index-4hFOncm9.js +2 -0
  116. package/build/client/assets/index-4hFOncm9.js.map +1 -0
  117. package/build/client/assets/index-BEOsF4gu.js +2 -0
  118. package/build/client/assets/index-BEOsF4gu.js.map +1 -0
  119. package/build/client/assets/{index-DXWoNbMw.js → index-BSUgjf5i.js} +2 -2
  120. package/build/client/assets/{index-DXWoNbMw.js.map → index-BSUgjf5i.js.map} +1 -1
  121. package/build/client/assets/index-Br7x8lR0.js +2 -0
  122. package/build/client/assets/index-Br7x8lR0.js.map +1 -0
  123. package/build/client/assets/{index-DMYU8Adz.js → index-BvSgrEwH.js} +2 -2
  124. package/build/client/assets/{index-DMYU8Adz.js.map → index-BvSgrEwH.js.map} +1 -1
  125. package/build/client/assets/{index-ENEzd29c.js → index-ByKe5Bbc.js} +2 -2
  126. package/build/client/assets/{index-ENEzd29c.js.map → index-ByKe5Bbc.js.map} +1 -1
  127. package/build/client/assets/{index-BF30kxMM.js → index-CSKRws-d.js} +2 -2
  128. package/build/client/assets/{index-BF30kxMM.js.map → index-CSKRws-d.js.map} +1 -1
  129. package/build/client/assets/{index-N0rVhLdR.js → index-Ce8G4fcS.js} +2 -2
  130. package/build/client/assets/{index-N0rVhLdR.js.map → index-Ce8G4fcS.js.map} +1 -1
  131. package/build/client/assets/{index-CY2XuFSg.js → index-CfuMsJpq.js} +2 -2
  132. package/build/client/assets/{index-CY2XuFSg.js.map → index-CfuMsJpq.js.map} +1 -1
  133. package/build/client/assets/{index-BpiFo4Bs.js → index-DQHP10an.js} +2 -2
  134. package/build/client/assets/{index-BpiFo4Bs.js.map → index-DQHP10an.js.map} +1 -1
  135. package/build/client/assets/{index-BJy9GGix.js → index-DVtOZE_w.js} +2 -2
  136. package/build/client/assets/{index-BJy9GGix.js.map → index-DVtOZE_w.js.map} +1 -1
  137. package/build/client/assets/{index-C4WpsDjj.js → index-kpJjamgW.js} +2 -2
  138. package/build/client/assets/{index-C4WpsDjj.js.map → index-kpJjamgW.js.map} +1 -1
  139. package/build/client/assets/infoDiagram-RLU2ROGC-oEx_S6Vy.js +3 -0
  140. package/build/client/assets/{infoDiagram-RLU2ROGC-D9Xc3j8L.js.map → infoDiagram-RLU2ROGC-oEx_S6Vy.js.map} +1 -1
  141. package/build/client/assets/{journeyDiagram-EWQZEKCU-CYjHBCKP.js → journeyDiagram-EWQZEKCU-BX8-xfo9.js} +2 -2
  142. package/build/client/assets/{journeyDiagram-EWQZEKCU-CYjHBCKP.js.map → journeyDiagram-EWQZEKCU-BX8-xfo9.js.map} +1 -1
  143. package/build/client/assets/{jsx-runtime-B2LUJHWf.js → jsx-runtime-BcujL2Aj.js} +2 -2
  144. package/build/client/assets/{jsx-runtime-B2LUJHWf.js.map → jsx-runtime-BcujL2Aj.js.map} +1 -1
  145. package/build/client/assets/{kanban-definition-ILFWEQ3N-CzQXJAxD.js → kanban-definition-ILFWEQ3N-DSuN0acj.js} +2 -2
  146. package/build/client/assets/{kanban-definition-ILFWEQ3N-CzQXJAxD.js.map → kanban-definition-ILFWEQ3N-DSuN0acj.js.map} +1 -1
  147. package/build/client/assets/l-COkiy20v.js +2 -0
  148. package/build/client/assets/{l-F4A7XDEa.js.map → l-COkiy20v.js.map} +1 -1
  149. package/build/client/assets/launch-editor-Br7x8lR0.js +2 -0
  150. package/build/client/assets/launch-editor-Br7x8lR0.js.map +1 -0
  151. package/build/client/assets/{layout-CV-Afn_q.js → layout-CRUJr5tM.js} +2 -2
  152. package/build/client/assets/{layout-CV-Afn_q.js.map → layout-CRUJr5tM.js.map} +1 -1
  153. package/build/client/assets/{linear-jxQrrEcI.js → linear-4YOhyf6z.js} +2 -2
  154. package/build/client/assets/{linear-jxQrrEcI.js.map → linear-4YOhyf6z.js.map} +1 -1
  155. package/build/client/assets/{loading-j2MezYUg.js → loading-BQiZCXl-.js} +2 -2
  156. package/build/client/assets/{loading-j2MezYUg.js.map → loading-BQiZCXl-.js.map} +1 -1
  157. package/build/client/assets/{login-BcFnxSmx.js → login-C3y9sPuf.js} +2 -2
  158. package/build/client/assets/{login-BcFnxSmx.js.map → login-C3y9sPuf.js.map} +1 -1
  159. package/build/client/assets/login-sse-Br7x8lR0.js +2 -0
  160. package/build/client/assets/login-sse-Br7x8lR0.js.map +1 -0
  161. package/build/client/assets/manifest-93bf5827.js +1 -0
  162. package/build/client/assets/{mdx-qcm_nkgI.js → mdx-Bx84e4TR.js} +3 -3
  163. package/build/client/assets/{mdx-qcm_nkgI.js.map → mdx-Bx84e4TR.js.map} +1 -1
  164. package/build/client/assets/{mermaid.core-D3pfbveR.js → mermaid.core-DUlGGmFz.js} +5 -5
  165. package/build/client/assets/{mermaid.core-D3pfbveR.js.map → mermaid.core-DUlGGmFz.js.map} +1 -1
  166. package/build/client/assets/{mindmap-definition-CZNETY7S-C3usFkdR.js → mindmap-definition-CZNETY7S-BQAkEQ50.js} +2 -2
  167. package/build/client/assets/{mindmap-definition-CZNETY7S-C3usFkdR.js.map → mindmap-definition-CZNETY7S-BQAkEQ50.js.map} +1 -1
  168. package/build/client/assets/{misc-D-dDb89H.js → misc-CJXb1d0J.js} +2 -2
  169. package/build/client/assets/{misc-D-dDb89H.js.map → misc-CJXb1d0J.js.map} +1 -1
  170. package/build/client/assets/{nav-chevrons-BF-_ecnj.js → nav-chevrons-D9XKa1mH.js} +2 -2
  171. package/build/client/assets/{nav-chevrons-BF-_ecnj.js.map → nav-chevrons-D9XKa1mH.js.map} +1 -1
  172. package/build/client/assets/notifications-Br7x8lR0.js +2 -0
  173. package/build/client/assets/notifications-Br7x8lR0.js.map +1 -0
  174. package/build/client/assets/og-Br7x8lR0.js +2 -0
  175. package/build/client/assets/og-Br7x8lR0.js.map +1 -0
  176. package/build/client/assets/{onboarding-BM4wTFL9.js → onboarding-BaZDYUh7.js} +2 -2
  177. package/build/client/assets/{onboarding-BM4wTFL9.js.map → onboarding-BaZDYUh7.js.map} +1 -1
  178. package/build/client/assets/{online-DRbKQRzx.js → online-CgtIvFKH.js} +2 -2
  179. package/build/client/assets/{online-DRbKQRzx.js.map → online-CgtIvFKH.js.map} +1 -1
  180. package/build/client/assets/{pe-Dd-3Vdrv.js → pe-DBKBCHmz.js} +2 -2
  181. package/build/client/assets/{pe-Dd-3Vdrv.js.map → pe-DBKBCHmz.js.map} +1 -1
  182. package/build/client/assets/{pieDiagram-NIOCPIFQ-CNwdtlXk.js → pieDiagram-NIOCPIFQ-BoeOpfcZ.js} +2 -2
  183. package/build/client/assets/{pieDiagram-NIOCPIFQ-CNwdtlXk.js.map → pieDiagram-NIOCPIFQ-BoeOpfcZ.js.map} +1 -1
  184. package/build/client/assets/{preferences-CcTn1CYh.js → preferences-DgiQZThQ.js} +2 -2
  185. package/build/client/assets/{preferences-CcTn1CYh.js.map → preferences-DgiQZThQ.js.map} +1 -1
  186. package/build/client/assets/{presence-h4yTLoon.js → presence-CusrArdA.js} +2 -2
  187. package/build/client/assets/{presence-h4yTLoon.js.map → presence-CusrArdA.js.map} +1 -1
  188. package/build/client/assets/{preview-gHmuDJK-.js → preview-9FeYSEDk.js} +2 -2
  189. package/build/client/assets/{preview-gHmuDJK-.js.map → preview-9FeYSEDk.js.map} +1 -1
  190. package/build/client/assets/processes-Br7x8lR0.js +2 -0
  191. package/build/client/assets/processes-Br7x8lR0.js.map +1 -0
  192. package/build/client/assets/{product-Jj1IV1k9.js → product-CrOzBC_k.js} +2 -2
  193. package/build/client/assets/{product-Jj1IV1k9.js.map → product-CrOzBC_k.js.map} +1 -1
  194. package/build/client/assets/{progress-wyxFr9qs.js → progress-B01tSSb6.js} +2 -2
  195. package/build/client/assets/{progress-wyxFr9qs.js.map → progress-B01tSSb6.js.map} +1 -1
  196. package/build/client/assets/progress-Br7x8lR0.js +2 -0
  197. package/build/client/assets/progress-Br7x8lR0.js.map +1 -0
  198. package/build/client/assets/{progress-bar-BA_tln9A.js → progress-bar-DlBnagEk.js} +2 -2
  199. package/build/client/assets/{progress-bar-BA_tln9A.js.map → progress-bar-DlBnagEk.js.map} +1 -1
  200. package/build/client/assets/{quadrantDiagram-2OG54O6I-DJSr7VVP.js → quadrantDiagram-2OG54O6I-CGBRKetG.js} +2 -2
  201. package/build/client/assets/{quadrantDiagram-2OG54O6I-DJSr7VVP.js.map → quadrantDiagram-2OG54O6I-CGBRKetG.js.map} +1 -1
  202. package/build/client/assets/{requirementDiagram-SO3GGRV7-Dm9X6gYp.js → requirementDiagram-SO3GGRV7-DchVPiOQ.js} +2 -2
  203. package/build/client/assets/{requirementDiagram-SO3GGRV7-Dm9X6gYp.js.map → requirementDiagram-SO3GGRV7-DchVPiOQ.js.map} +1 -1
  204. package/build/client/assets/{revalidation-ws-D6cizZ34.js → revalidation-ws-SaBpRC7c.js} +2 -2
  205. package/build/client/assets/{revalidation-ws-D6cizZ34.js.map → revalidation-ws-SaBpRC7c.js.map} +1 -1
  206. package/build/client/assets/robots_._txt-Br7x8lR0.js +2 -0
  207. package/build/client/assets/robots_._txt-Br7x8lR0.js.map +1 -0
  208. package/build/client/assets/{root-LFhpEp1U.js → root-7toTLRGZ.js} +2 -2
  209. package/build/client/assets/{root-LFhpEp1U.js.map → root-7toTLRGZ.js.map} +1 -1
  210. package/build/client/assets/{sankeyDiagram-4UZDY2LN-afK9nbXy.js → sankeyDiagram-4UZDY2LN-IiFJHkzY.js} +2 -2
  211. package/build/client/assets/{sankeyDiagram-4UZDY2LN-afK9nbXy.js.map → sankeyDiagram-4UZDY2LN-IiFJHkzY.js.map} +1 -1
  212. package/build/client/assets/{seo-BRfbzXHZ.js → seo-F3atQazV.js} +2 -2
  213. package/build/client/assets/{seo-BRfbzXHZ.js.map → seo-F3atQazV.js.map} +1 -1
  214. package/build/client/assets/{sequenceDiagram-ZIKVLSP4-DU42bc3a.js → sequenceDiagram-ZIKVLSP4-Bp2zg0YM.js} +2 -2
  215. package/build/client/assets/{sequenceDiagram-ZIKVLSP4-DU42bc3a.js.map → sequenceDiagram-ZIKVLSP4-Bp2zg0YM.js.map} +1 -1
  216. package/build/client/assets/{set-playground-BGT1RjX_.js → set-playground-BA0z3_BN.js} +2 -2
  217. package/build/client/assets/{set-playground-BGT1RjX_.js.map → set-playground-BA0z3_BN.js.map} +1 -1
  218. package/build/client/assets/set-playground-Br7x8lR0.js +2 -0
  219. package/build/client/assets/set-playground-Br7x8lR0.js.map +1 -0
  220. package/build/client/assets/sitemap_._xml-Br7x8lR0.js +2 -0
  221. package/build/client/assets/sitemap_._xml-Br7x8lR0.js.map +1 -0
  222. package/build/client/assets/start-Br7x8lR0.js +2 -0
  223. package/build/client/assets/start-Br7x8lR0.js.map +1 -0
  224. package/build/client/assets/{stateDiagram-XX37X6EN-B8EwlakM.js → stateDiagram-XX37X6EN-CuKZSA6z.js} +2 -2
  225. package/build/client/assets/{stateDiagram-XX37X6EN-B8EwlakM.js.map → stateDiagram-XX37X6EN-CuKZSA6z.js.map} +1 -1
  226. package/build/client/assets/stateDiagram-v2-GD6S3NHB-bjx76_OI.js +2 -0
  227. package/build/client/assets/{stateDiagram-v2-GD6S3NHB-35ZXM1_g.js.map → stateDiagram-v2-GD6S3NHB-bjx76_OI.js.map} +1 -1
  228. package/build/client/assets/{support-sQOGILfK.js → support-DUh3BiQf.js} +2 -2
  229. package/build/client/assets/{support-sQOGILfK.js.map → support-DUh3BiQf.js.map} +1 -1
  230. package/build/client/assets/test-Br7x8lR0.js +2 -0
  231. package/build/client/assets/test-Br7x8lR0.js.map +1 -0
  232. package/build/client/assets/test-Ctr_7QVp.js +2 -0
  233. package/build/client/assets/{test-B50ljUg2.js.map → test-Ctr_7QVp.js.map} +1 -1
  234. package/build/client/assets/test._testName-Br7x8lR0.js +2 -0
  235. package/build/client/assets/test._testName-Br7x8lR0.js.map +1 -0
  236. package/build/client/assets/test.epic_ws_.js_-Br7x8lR0.js +2 -0
  237. package/build/client/assets/test.epic_ws_.js_-Br7x8lR0.js.map +1 -0
  238. package/build/client/assets/{tests-CNS1bm1R.js → tests-CZAI0vqW.js} +2 -2
  239. package/build/client/assets/{tests-CNS1bm1R.js.map → tests-CZAI0vqW.js.map} +1 -1
  240. package/build/client/assets/{timeline-definition-RI47OAVP-BfpaCaB_.js → timeline-definition-RI47OAVP-COW1irsJ.js} +2 -2
  241. package/build/client/assets/{timeline-definition-RI47OAVP-BfpaCaB_.js.map → timeline-definition-RI47OAVP-COW1irsJ.js.map} +1 -1
  242. package/build/client/assets/{tooltip-DaEk9smk.js → tooltip-Dm5SBVY5.js} +2 -2
  243. package/build/client/assets/{tooltip-DaEk9smk.js.map → tooltip-Dm5SBVY5.js.map} +1 -1
  244. package/build/client/assets/{treemap-FKARHQ26-BYAT_cTQ.js → treemap-FKARHQ26-OIm2RKyV.js} +2 -2
  245. package/build/client/assets/{treemap-FKARHQ26-BYAT_cTQ.js.map → treemap-FKARHQ26-OIm2RKyV.js.map} +1 -1
  246. package/build/client/assets/{use-event-source-D7BmAfNV.js → use-event-source-0sFFzZkm.js} +2 -2
  247. package/build/client/assets/{use-event-source-D7BmAfNV.js.map → use-event-source-0sFFzZkm.js.map} +1 -1
  248. package/build/client/assets/{user-CQfYiwjz.js → user-C6NChLGC.js} +2 -2
  249. package/build/client/assets/{user-CQfYiwjz.js.map → user-C6NChLGC.js.map} +1 -1
  250. package/build/client/assets/{version-DZ56dlh_.js → version-trzp9pgE.js} +2 -2
  251. package/build/client/assets/{version-DZ56dlh_.js.map → version-trzp9pgE.js.map} +1 -1
  252. package/build/client/assets/workshop-config-Cx9qZQEC.js +2 -0
  253. package/build/client/assets/{workshop-config-BOTAWJa-.js.map → workshop-config-Cx9qZQEC.js.map} +1 -1
  254. package/build/client/assets/{workspace-structure-DRKC9vIr.js → workspace-structure-CskVhupe.js} +2 -2
  255. package/build/client/assets/{workspace-structure-DRKC9vIr.js.map → workspace-structure-CskVhupe.js.map} +1 -1
  256. package/build/client/assets/{xychartDiagram-H2YORKM3-8frmuuIZ.js → xychartDiagram-H2YORKM3-BF6VLUdC.js} +2 -2
  257. package/build/client/assets/{xychartDiagram-H2YORKM3-8frmuuIZ.js.map → xychartDiagram-H2YORKM3-BF6VLUdC.js.map} +1 -1
  258. package/build/server/index.js +2 -2
  259. package/package.json +1 -1
  260. package/build/client/assets/_-C9pypk8E.js.map +0 -1
  261. package/build/client/assets/_exerciseNumber_._stepNumber.index-Bltw4W_f.js +0 -2
  262. package/build/client/assets/_exerciseNumber_._stepNumber.index-Bltw4W_f.js.map +0 -1
  263. package/build/client/assets/_layout-Co6ujuzn.js +0 -2
  264. package/build/client/assets/api._-Bltw4W_f.js +0 -2
  265. package/build/client/assets/api._-Bltw4W_f.js.map +0 -1
  266. package/build/client/assets/app-DmNyqOoy.js +0 -2
  267. package/build/client/assets/app.epic_ws_.js_-Bltw4W_f.js +0 -2
  268. package/build/client/assets/app.epic_ws_.js_-Bltw4W_f.js.map +0 -1
  269. package/build/client/assets/apps-Bltw4W_f.js +0 -2
  270. package/build/client/assets/apps-Bltw4W_f.js.map +0 -1
  271. package/build/client/assets/apps-D27kw0fL.js +0 -2
  272. package/build/client/assets/apps-D27kw0fL.js.map +0 -1
  273. package/build/client/assets/cache-Bltw4W_f.js +0 -2
  274. package/build/client/assets/cache-Bltw4W_f.js.map +0 -1
  275. package/build/client/assets/channel-Cks3Ea6t.js +0 -2
  276. package/build/client/assets/classDiagram-BGRH5UQR-Ddac1FX8.js +0 -2
  277. package/build/client/assets/classDiagram-v2-O24JOBDK-Ddac1FX8.js +0 -2
  278. package/build/client/assets/clone-BzOlX5uP.js +0 -2
  279. package/build/client/assets/diff-C4mTCnzp.js +0 -2
  280. package/build/client/assets/discord-CTud2-P1.js +0 -2
  281. package/build/client/assets/discord-CTud2-P1.js.map +0 -1
  282. package/build/client/assets/epic_ws_.js_-Bltw4W_f.js +0 -2
  283. package/build/client/assets/epic_ws_.js_-Bltw4W_f.js.map +0 -1
  284. package/build/client/assets/exercises-Bltw4W_f.js +0 -2
  285. package/build/client/assets/exercises-Bltw4W_f.js.map +0 -1
  286. package/build/client/assets/index-Bltw4W_f.js +0 -2
  287. package/build/client/assets/index-Bltw4W_f.js.map +0 -1
  288. package/build/client/assets/index-D27kw0fL.js +0 -2
  289. package/build/client/assets/index-D27kw0fL.js.map +0 -1
  290. package/build/client/assets/index-Drom-uLQ.js +0 -2
  291. package/build/client/assets/index-Drom-uLQ.js.map +0 -1
  292. package/build/client/assets/infoDiagram-RLU2ROGC-D9Xc3j8L.js +0 -3
  293. package/build/client/assets/l-F4A7XDEa.js +0 -2
  294. package/build/client/assets/launch-editor-Bltw4W_f.js +0 -2
  295. package/build/client/assets/launch-editor-Bltw4W_f.js.map +0 -1
  296. package/build/client/assets/login-sse-Bltw4W_f.js +0 -2
  297. package/build/client/assets/login-sse-Bltw4W_f.js.map +0 -1
  298. package/build/client/assets/manifest-a77f969d.js +0 -1
  299. package/build/client/assets/notifications-Bltw4W_f.js +0 -2
  300. package/build/client/assets/notifications-Bltw4W_f.js.map +0 -1
  301. package/build/client/assets/og-Bltw4W_f.js +0 -2
  302. package/build/client/assets/og-Bltw4W_f.js.map +0 -1
  303. package/build/client/assets/processes-Bltw4W_f.js +0 -2
  304. package/build/client/assets/processes-Bltw4W_f.js.map +0 -1
  305. package/build/client/assets/progress-Bltw4W_f.js +0 -2
  306. package/build/client/assets/progress-Bltw4W_f.js.map +0 -1
  307. package/build/client/assets/robots_._txt-Bltw4W_f.js +0 -2
  308. package/build/client/assets/robots_._txt-Bltw4W_f.js.map +0 -1
  309. package/build/client/assets/set-playground-Bltw4W_f.js +0 -2
  310. package/build/client/assets/set-playground-Bltw4W_f.js.map +0 -1
  311. package/build/client/assets/sitemap_._xml-Bltw4W_f.js +0 -2
  312. package/build/client/assets/sitemap_._xml-Bltw4W_f.js.map +0 -1
  313. package/build/client/assets/start-Bltw4W_f.js +0 -2
  314. package/build/client/assets/start-Bltw4W_f.js.map +0 -1
  315. package/build/client/assets/stateDiagram-v2-GD6S3NHB-35ZXM1_g.js +0 -2
  316. package/build/client/assets/test-B50ljUg2.js +0 -2
  317. package/build/client/assets/test-Bltw4W_f.js +0 -2
  318. package/build/client/assets/test-Bltw4W_f.js.map +0 -1
  319. package/build/client/assets/test._testName-Bltw4W_f.js +0 -2
  320. package/build/client/assets/test._testName-Bltw4W_f.js.map +0 -1
  321. package/build/client/assets/test.epic_ws_.js_-Bltw4W_f.js +0 -2
  322. package/build/client/assets/test.epic_ws_.js_-Bltw4W_f.js.map +0 -1
  323. package/build/client/assets/workshop-config-BOTAWJa-.js +0 -2
@@ -1,4 +1,4 @@
1
- import{j as V}from"./jsx-runtime-B2LUJHWf.js";import{R as ka,r as vt,d as nb,g as ab,A as ob,L as ao}from"./chunk-QMGIS6GS-D3fke51R.js";import{o as lb,s as db,n as ub,u as R0}from"./index-DXWoNbMw.js";import{h as cb,I as k0,c as hb}from"./misc-D-dDb89H.js";import"./_-C9pypk8E.js";import{u as fb}from"./online-DRbKQRzx.js";import{L as Gh}from"./loading-j2MezYUg.js";import{c as mb}from"./user-CQfYiwjz.js";import{u as pb}from"./workshop-config-BOTAWJa-.js";var gb=Object.create,D0=Object.defineProperty,vb=Object.getOwnPropertyDescriptor,Eb=Object.getOwnPropertyNames,yb=Object.getPrototypeOf,Tb=Object.prototype.hasOwnProperty,C0=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}},bb=function(i,e,t,s){if(e&&typeof e=="object"||typeof e=="function")for(var r=Eb(e),n=0,a=r.length,o;n<a;n++)o=r[n],!Tb.call(i,o)&&o!==t&&D0(i,o,{get:(function(d){return e[d]}).bind(null,o),enumerable:!(s=vb(e,o))||s.enumerable});return i},Bt=function(i,e,t){return t=i!=null?gb(yb(i)):{},bb(!i||!i.__esModule?D0(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=C0(function(){Er()});function w0(i){"@swc/helpers - typeof";return i&&typeof Symbol<"u"&&i.constructor===Symbol?"symbol":typeof i}var M0=C0(function(){}),P0=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))}}}),_b=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]"}}),Ab=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}}),O0=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)}}),N0=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)}}),U0=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)}}}),Sb=Dt(function(i,e){M0(),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=w0(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 v=h._attributes[g][p],T=(v.prefix?v.prefix+":":"")+p;f.push({name:T,value:v.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,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function c(h){return u(h).replace(/"/g,"&quot;")}}),F0=Dt(function(i,e){Er();var t=P0(),s=O0(),r=N0(),n=U0(),a=Sb(),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}}),Ib=Dt(function(i,e){Er();var t=F0();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("")}}),Lb=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(){}}),xb=Dt(function(i,e){Er();var t=P0(),s=_b(),r=Ab(),n=F0(),a=Ib(),o=Lb(),d=O0(),l=N0(),u=U0();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}),Rb=Dt(function(i,e){var t=xb();e.exports=new t}),$0=Dt(function(i,e){var t=typeof global<"u"?global:typeof window<"u"?window:{},s=Rb(),r;typeof document<"u"?r=document:(r=t["__GLOBAL_DOCUMENT_CACHE@4"],r||(r=t["__GLOBAL_DOCUMENT_CACHE@4"]=s)),e.exports=r});function kb(i){if(Array.isArray(i))return i}function Db(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 Cb(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1
+ import{j as V}from"./jsx-runtime-BcujL2Aj.js";import{R as ka,r as vt,d as nb,g as ab,A as ob,L as ao}from"./chunk-QMGIS6GS-Cnm5uIBY.js";import{o as lb,s as db,n as ub,u as R0}from"./index-BSUgjf5i.js";import{h as cb,I as k0,c as hb}from"./misc-CJXb1d0J.js";import"./_-v6PvHZ90.js";import{u as fb}from"./online-CgtIvFKH.js";import{L as Gh}from"./loading-BQiZCXl-.js";import{c as mb}from"./user-C6NChLGC.js";import{u as pb}from"./workshop-config-Cx9qZQEC.js";var gb=Object.create,D0=Object.defineProperty,vb=Object.getOwnPropertyDescriptor,Eb=Object.getOwnPropertyNames,yb=Object.getPrototypeOf,Tb=Object.prototype.hasOwnProperty,C0=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}},bb=function(i,e,t,s){if(e&&typeof e=="object"||typeof e=="function")for(var r=Eb(e),n=0,a=r.length,o;n<a;n++)o=r[n],!Tb.call(i,o)&&o!==t&&D0(i,o,{get:(function(d){return e[d]}).bind(null,o),enumerable:!(s=vb(e,o))||s.enumerable});return i},Bt=function(i,e,t){return t=i!=null?gb(yb(i)):{},bb(!i||!i.__esModule?D0(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=C0(function(){Er()});function w0(i){"@swc/helpers - typeof";return i&&typeof Symbol<"u"&&i.constructor===Symbol?"symbol":typeof i}var M0=C0(function(){}),P0=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))}}}),_b=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]"}}),Ab=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}}),O0=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)}}),N0=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)}}),U0=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)}}}),Sb=Dt(function(i,e){M0(),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=w0(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 v=h._attributes[g][p],T=(v.prefix?v.prefix+":":"")+p;f.push({name:T,value:v.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,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function c(h){return u(h).replace(/"/g,"&quot;")}}),F0=Dt(function(i,e){Er();var t=P0(),s=O0(),r=N0(),n=U0(),a=Sb(),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}}),Ib=Dt(function(i,e){Er();var t=F0();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("")}}),Lb=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(){}}),xb=Dt(function(i,e){Er();var t=P0(),s=_b(),r=Ab(),n=F0(),a=Ib(),o=Lb(),d=O0(),l=N0(),u=U0();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}),Rb=Dt(function(i,e){var t=xb();e.exports=new t}),$0=Dt(function(i,e){var t=typeof global<"u"?global:typeof window<"u"?window:{},s=Rb(),r;typeof document<"u"?r=document:(r=t["__GLOBAL_DOCUMENT_CACHE@4"],r||(r=t["__GLOBAL_DOCUMENT_CACHE@4"]=s)),e.exports=r});function kb(i){if(Array.isArray(i))return i}function Db(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 Cb(){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 ec(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 B0(i,e){if(i){if(typeof i=="string")return ec(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 ec(i,e)}}function os(i,e){return kb(i)||Db(i,e)||B0(i,e)||Cb()}var ga=Bt(hi()),Mm=Bt(hi()),wb=Bt(hi()),Mb={now:function(){var i=wb.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)}},tt=Mb,Da=function(){var i,e,t;if(typeof((i=Mm.default.crypto)===null||i===void 0?void 0:i.getRandomValues)=="function"){t=new Uint8Array(32),Mm.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=tt.now(),o=a?.toString(16).substring(3);return o?e.substring(0,28)+o:e},H0=function(){return("000000"+(Math.random()*Math.pow(36,6)<<0).toString(36)).slice(-6)},ii=function(i){if(i&&typeof i.nodeName<"u")return i.muxId||(i.muxId=H0()),i.muxId;var e;try{e=document.querySelector(i)}catch{}return e&&!e.muxId&&(e.muxId=i),e?.muxId||i},td=function(i){var e;i&&typeof i.nodeName<"u"?(e=i,i=ii(e)):e=document.querySelector(i);var t=e&&e.nodeName?e.nodeName.toLowerCase():"";return[e,i,t]};function Pb(i){if(Array.isArray(i))return ec(i)}function Ob(i){if(typeof Symbol<"u"&&i[Symbol.iterator]!=null||i["@@iterator"]!=null)return Array.from(i)}function Nb(){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 si(i){return Pb(i)||Ob(i)||B0(i)||Nb()}var tr={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4},Ub=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,si(o)),l=(s=console.info).bind.apply(s,si(o)),u=(r=console.debug).bind.apply(r,si(o)),c=(n=console.warn).bind.apply(n,si(o)),h=(a=console.error).bind.apply(a,si(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>tr.TRACE))return d.apply(void 0,si(g))},debug:function(){for(var m=arguments.length,g=new Array(m),p=0;p<m;p++)g[p]=arguments[p];if(!(f>tr.DEBUG))return u.apply(void 0,si(g))},info:function(){for(var m=arguments.length,g=new Array(m),p=0;p<m;p++)g[p]=arguments[p];if(!(f>tr.INFO))return l.apply(void 0,si(g))},warn:function(){for(var m=arguments.length,g=new Array(m),p=0;p<m;p++)g[p]=arguments[p];if(!(f>tr.WARN))return c.apply(void 0,si(g))},error:function(){for(var m=arguments.length,g=new Array(m),p=0;p<m;p++)g[p]=arguments[p];if(!(f>tr.ERROR))return h.apply(void 0,si(g))},get level(){return f},set level(m){m!==this.level&&(f=m??e)}}},we=Ub("[mux]"),lu=Bt(hi());function tc(){var i=lu.default.doNotTrack||lu.default.navigator&&lu.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 Fb(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 Wi(i,e,t){return e&&Fb(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 $b(i,e){for(;!Object.prototype.hasOwnProperty.call(i,e)&&(i=vn(i),i!==null););return i}function Go(i,e,t){return typeof Reflect<"u"&&Reflect.get?Go=Reflect.get:Go=function(s,r,n){var a=$b(s,r);if(a){var o=Object.getOwnPropertyDescriptor(a,r);return o.get?o.get.call(n||s):o.value}},Go(i,e,t||i)}function ic(i,e){return ic=Object.setPrototypeOf||function(t,s){return t.__proto__=s,t},ic(i,e)}function Bb(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&&ic(i,e)}function Hb(){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}}M0();function Gb(i,e){return e&&(w0(e)==="object"||typeof e=="function")?e:oe(i)}function Kb(i){var e=Hb();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 Gb(this,s)}}var ui=function(i){return Ca(i)[0]},Ca=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]},du=Bt(hi()),Vb={exists:function(){var i=du.default.performance,e=i&&i.timing;return e!==void 0},domContentLoadedEventEnd:function(){var i=du.default.performance,e=i&&i.timing;return e&&e.domContentLoadedEventEnd},navigationStart:function(){var i=du.default.performance,e=i&&i.timing;return e&&e.navigationStart}},id=Vb;function et(i,e,t){t=t===void 0?1:t,i[e]=i[e]||0,i[e]+=t}function sd(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 Wb(i,e){var t=Object.keys(i);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(i);t.push.apply(t,s)}return t}function Kh(i,e){return e=e??{},Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(e)):Wb(Object(e)).forEach(function(t){Object.defineProperty(i,t,Object.getOwnPropertyDescriptor(e,t))}),i}var qb=["x-cdn","content-type"],G0=["x-request-id","cf-ray","x-amz-cf-id","x-akamai-request-id"],Yb=qb.concat(G0);function Vh(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&&(Yb.indexOf(n.toLowerCase())>=0||n.toLowerCase().indexOf("x-litix-")===0)&&(e[n]=r.join(": "))}}),e}function rd(i){if(i){var e=G0.find(function(t){return i[t]!==void 0});return e?i[e]:void 0}}var jb=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},K0=jb,oo=function(i){if(!i)return{};var e=id.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 Vh(i.getAllResponseHeaders())},zb=function(i,e,t){var s=arguments.length>4?arguments[4]:void 0,r=i.log,n=i.utils.secondsToMs,a=function(p){var v=parseInt(s.version),T;return v===1&&p.programDateTime!==null&&(T=p.programDateTime),v===0&&p.pdt!==null&&(T=p.pdt),T};if(!id.exists()){r.warn("performance timing not supported. Not tracking HLS.js.");return}var o=function(p,v){return i.emit(e,p,v)},d=function(p,v){var T=v.levels,y=v.audioTracks,b=v.url,A=v.stats,x=v.networkDetails,I=v.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=oo(A),M=S.bytesLoaded,O=S.requestStart,Y=S.responseStart,K=S.responseEnd;o("requestcompleted",Kh(sd({},K0(I)),{request_event_type:p,request_bytes_loaded:M,request_start:O,request_response_start:Y,request_response_end:K,request_type:"manifest",request_hostname:ui(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,v){var T=v.details,y=v.level,b=v.networkDetails,A=v.stats,x=oo(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:ui(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,v){var T=v.details,y=v.networkDetails,b=v.stats,A=oo(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:ui(T.url),request_response_headers:wn(y)})};t.on(s.Events.AUDIO_TRACK_LOADED,u);var c=function(p,v){var T=v.stats,y=v.networkDetails,b=v.frag;T=T||b.stats;var A=oo(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?ui(y.responseURL):void 0,request_id:S?rd(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,v){var T=v.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,v){var T=v.type,y=v.details,b=v.response,A=v.fatal,x=v.frag,I=v.networkDetails,L=x?.url||v.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:ui(L),request_id:R?rd(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 BM(i)};function HM(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=Ni.customElements.get(s);if(n!=null&&n.template)return n.template}}function GM(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 p0(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 KM=Object.values(w),VM=Object.values(Ji),WM=Object.values(N),g0=WT(),v0="mux-player",E0={isDialogOpen:!1},qM={redundant_streams:!0},Xl,Zl,Jl,Js,ed,gn,We,Is,ZT,Bh,er,y0,T0,b0,_0,YM=class extends d0{constructor(){super(),di(this,We),di(this,Xl),di(this,Zl,!1),di(this,Jl,{}),di(this,Js,!0),di(this,ed,new uM(this,"hotkeys")),di(this,gn,{...E0,onCloseErrorDialog:i=>{var e;((e=i.composedPath()[0])==null?void 0:e.localName)==="media-error-dialog"&&Ze(this,We,Bh).call(this,{isDialogOpen:!1})},onFocusInErrorDialog:i=>{var e;((e=i.composedPath()[0])==null?void 0:e.localName)==="media-error-dialog"&&(KT(this,Dm.activeElement)||i.preventDefault())}}),Ki(this,Xl,Af()),this.attachShadow({mode:"open"}),Ze(this,We,ZT).call(this),this.isConnected&&Ze(this,We,Is).call(this)}static get NAME(){return v0}static get VERSION(){return g0}static get observedAttributes(){var i;return[...(i=d0.observedAttributes)!=null?i:[],...VM,...KM,...WM]}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=p0(this))}attributeChangedCallback(i,e,t){switch(Ze(this,We,Is).call(this),super.attributeChangedCallback(i,e,t),i){case N.HOTKEYS:xe(this,ed).value=t;break;case N.THUMBNAIL_TIME:{t!=null&&this.tokens.thumbnail&&ss(ie("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=ba.THUMBNAIL;r!==n&&ss(ie("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=ba.STORYBOARD;r!==n&&ss(ie("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=ba.DRM;r!==n&&ss(ie("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")&&jt(ie("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&&![Le.LIVE,Le.ON_DEMAND,Le.UNKNOWN].includes(t)?["ll-live","live:dvr","ll-live:dvr"].includes(this.streamType)?this.targetLiveWindow=t.includes("dvr")?Number.POSITIVE_INFINITY:0:YT({file:"invalid-stream-type.md",message:ie("Invalid stream-type value supplied: `{streamType}`. Please provide stream-type as either: `on-demand` or `live`").format({streamType:this.streamType})}):t===Le.LIVE?this.getAttribute(N.TARGET_LIVE_WINDOW)==null&&(this.targetLiveWindow=0):this.targetLiveWindow=Number.NaN}[w.PLAYBACK_ID,Ji.SRC,N.PLAYBACK_TOKEN].includes(i)&&e!==t&&Ki(this,gn,{...xe(this,gn),...E0}),Ze(this,We,er).call(this,{[dM(i)]:t})}async requestFullscreen(i){var e;if(!(!this.mediaController||this.mediaController.hasAttribute(_.MEDIA_IS_FULLSCREEN)))return(e=this.mediaController)==null||e.dispatchEvent(new Ni.CustomEvent(Q.MEDIA_ENTER_FULLSCREEN_REQUEST,{composed:!0,bubbles:!0})),new Promise((t,s)=>{var r;(r=this.mediaController)==null||r.addEventListener(ls.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 Ni.CustomEvent(Q.MEDIA_EXIT_FULLSCREEN_REQUEST,{composed:!0,bubbles:!0})),new Promise((e,t)=>{var s;(s=this.mediaController)==null||s.addEventListener(ls.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?pd.includes(i)?this.setAttribute(w.PREFER_CMCD,i):ss(`Invalid value for preferCmcd. Must be one of ${pd.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:FM}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($h.includes(t))continue;let s=i.getAttribute(t);e[HT(t)]=s===""?!0:s}return e}set themeProps(i){var e,t;Ze(this,We,Is).call(this);let s={...this.themeProps,...i};for(let r in s){if($h.includes(r))continue;let n=i?.[r];typeof n=="boolean"||n==null?(e=this.mediaTheme)==null||e.toggleAttribute(Uh(r),!!n):(t=this.mediaTheme)==null||t.setAttribute(Uh(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,Ji.SRC))!=null?i:void 0:(e=this.getAttribute(Ji.SRC))!=null?e:void 0}set src(i){i?this.setAttribute(Ji.SRC,i):this.removeAttribute(Ji.SRC)}get poster(){var i;let e=this.getAttribute(Ji.POSTER);if(e!=null)return e;let{tokens:t}=this;if(t.playback&&!t.thumbnail){ss("Missing expected thumbnail token. No poster image will be shown");return}if(this.playbackId&&!this.audio)return aM(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(Ji.POSTER,i):this.removeAttribute(Ji.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||[Le.LIVE,Le.UNKNOWN].includes(this.streamType)||i.playback&&!i.storyboard))return oM(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 xe(this,ed)}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=Ni.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=Ni.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=Ni.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)):xe(this,Xl)}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:v0}get playerSoftwareVersion(){var i;return(i=this.getAttribute(w.PLAYER_SOFTWARE_VERSION))!=null?i:g0}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),{}):qM}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:Le.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:Le.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===$i.MSE||i===$i.NATIVE)return i}set preferPlayback(i){i!==this.preferPlayback&&(i===$i.MSE||i===$i.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,We,Is).call(this),!this.media){jt("underlying media element missing when trying to set metadata. metadata will not be set.");return}this.media.metadata={...p0(this),...i}}get _hlsConfig(){var i;return(i=this.media)==null?void 0:i._hlsConfig}set _hlsConfig(i){if(Ze(this,We,Is).call(this),!this.media){jt("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,We,Is).call(this),!this.media){jt("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,We,Is).call(this),!this.media){jt("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{...xe(this,Jl),...i!=null?{playback:i}:{},...e!=null?{drm:e}:{},...t!=null?{thumbnail:t}:{},...s!=null?{storyboard:s}:{}}}set tokens(i){Ki(this,Jl,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 yf(n,i,e,t,s)}removeTextTrack(i){var e;let t=(e=this.media)==null?void 0:e.nativeEl;if(t)return Ux(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){jt("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)}};Xl=new WeakMap,Zl=new WeakMap,Jl=new WeakMap,Js=new WeakMap,ed=new WeakMap,gn=new WeakMap,We=new WeakSet,Is=function(){var i,e,t,s;if(!xe(this,Zl)){Ki(this,Zl,!0),Ze(this,We,er).call(this);try{if(customElements.upgrade(this.mediaTheme),!(this.mediaTheme instanceof Ni.HTMLElement))throw""}catch{jt("<media-theme> failed to upgrade!")}try{customElements.upgrade(this.media)}catch{jt("underlying media element failed to upgrade!")}try{if(customElements.upgrade(this.mediaController),!(this.mediaController instanceof AD))throw""}catch{jt("<media-controller> failed to upgrade!")}Ze(this,We,y0).call(this),Ze(this,We,T0).call(this),Ze(this,We,b0).call(this),Ki(this,Js,(e=(i=this.mediaController)==null?void 0:i.hasAttribute(re.USER_INACTIVE))!=null?e:!0),Ze(this,We,_0).call(this),(t=this.media)==null||t.addEventListener("streamtypechange",()=>Ze(this,We,er).call(this)),(s=this.media)==null||s.addEventListener("loadstart",()=>Ze(this,We,er).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{}},Bh=function(i){Object.assign(xe(this,gn),i),Ze(this,We,er).call(this)},er=function(i={}){LM(RM($M(this,{...xe(this,gn),...i})),this.shadowRoot)},y0=function(){let i=e=>{var t,s;if(!(e!=null&&e.startsWith("theme-")))return;let r=e.replace(/^theme-/,"");if($h.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)},T0=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)){ss(s),s.data&&ss(`${s.name} data:`,s.data);return}let r=h0(s);r.message&&YT(r),jt(s),s.data&&jt(`${s.name} data:`,s.data),Ze(this,We,Bh).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=h0((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}})},b0=function(){var i,e,t,s;let r=()=>Ze(this,We,er).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)},_0=function(){var i,e;if(!/Firefox/i.test(navigator.userAgent))return;let t,s=new WeakMap,r=()=>this.streamType===Le.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===Le.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,xe(this,Js))};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;xe(this,Js)!==u&&(Ki(this,Js,u),n(t,xe(this,Js)))})};function Vs(i,e){return i.media?i.media.getAttribute(e):i.getAttribute(e)}var A0=YM,JT=class{addEventListener(){}removeEventListener(){}dispatchEvent(i){return!0}};if(typeof DocumentFragment>"u"){class i extends JT{}globalThis.DocumentFragment=i}var jM=class extends JT{},zM={get(i){},define(i,e,t){},getName(i){return null},upgrade(i){},whenDefined(i){return Promise.resolve(jM)}},QM={customElements:zM},XM=typeof window>"u"||typeof globalThis.customElements>"u",Ju=XM?QM:globalThis;Ju.customElements.get("mux-player")||(Ju.customElements.define("mux-player",A0),Ju.MuxPlayerElement=A0);var eb=parseInt(ka.version)>=19,S0={className:"class",classname:"class",htmlFor:"for",crossOrigin:"crossorigin",viewBox:"viewBox",playsInline:"playsinline",autoPlay:"autoplay",playbackRate:"playbackrate"},ZM=i=>i==null,JM=(i,e)=>ZM(e)?!1:i in e,eP=i=>i.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`),tP=(i,e)=>{if(!(!eb&&typeof e=="boolean"&&!e)){if(JM(i,S0))return S0[i];if(typeof e<"u")return/[A-Z]/.test(i)?eP(i):i}},iP=(i,e)=>!eb&&typeof i=="boolean"?"":i,sP=(i={})=>{let{ref:e,...t}=i;return Object.entries(t).reduce((s,[r,n])=>{let a=tP(r,n);if(!a)return s;let o=iP(n);return s[a]=o,s},{})};function I0(i,e){if(typeof i=="function")return i(e);i!=null&&(i.current=e)}function rP(...i){return e=>{let t=!1,s=i.map(r=>{let n=I0(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():I0(i[r],null)}}}}function nP(...i){return vt.useCallback(rP(...i),i)}var aP=Object.prototype.hasOwnProperty,oP=(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(!aP.call(e,t[r])||!Object.is(i[t[r]],e[t[r]]))return!1;return!0},tb=(i,e,t)=>!oP(e,i[t]),lP=(i,e,t)=>{i[t]=e},dP=(i,e,t,s=lP,r=tb)=>vt.useEffect(()=>{let n=t?.current;n&&r(n,e,i)&&s(n,e,i)},[t?.current,e]),yi=dP,uP=()=>{try{return"3.5.1"}catch{}return"UNKNOWN"},cP=uP(),hP=()=>cP,Be=(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]),fP=ka.forwardRef(({children:i,...e},t)=>ka.createElement("mux-player",{suppressHydrationWarning:!0,...sP(e),ref:t},i)),mP=(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:v,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:K,playbackRates:B,currentTime:H,themeProps:J,extraSourceParams:F,castCustomData:se,_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",K,i),yi("castCustomData",se,i),yi("paused",Y,i,(U,ae)=>{ae!=null&&(ae?U.pause():U.play())},(U,ae,ue)=>U.hasAttribute("autoplay")&&!U.hasPlayed?!1:tb(U,ae,ue)),yi("currentTime",H,i,(U,ae)=>{ae!=null&&(U.currentTime=ae)}),Be("abort",i,t),Be("canplay",i,s),Be("canplaythrough",i,r),Be("emptied",i,n),Be("loadstart",i,a),Be("loadeddata",i,o),Be("loadedmetadata",i,d),Be("progress",i,l),Be("durationchange",i,u),Be("volumechange",i,c),Be("ratechange",i,h),Be("resize",i,f),Be("waiting",i,m),Be("play",i,g),Be("playing",i,p),Be("timeupdate",i,v),Be("pause",i,T),Be("seeking",i,y),Be("seeked",i,b),Be("stalled",i,A),Be("suspend",i,x),Be("ended",i,I),Be("error",i,L),Be("cuepointchange",i,R),Be("chapterchange",i,S),[$]},pP=hP(),gP="mux-player-react",vP=ka.forwardRef((i,e)=>{var t;let s=vt.useRef(null),r=nP(s,e),[n]=mP(s,i),[a]=vt.useState((t=i.playerInitTime)!=null?t:Af());return ka.createElement(fP,{ref:r,defaultHiddenCaptions:i.defaultHiddenCaptions,playerSoftwareName:gP,playerSoftwareVersion:pP,playerInitTime:a,...n})}),EP=vP;const yP=lb({time:ub(),expiresAt:db()}).transform(i=>({time:Number(i.time),expiresAt:new Date(i.expiresAt)}));function TP(){return ab("root")?.preferences?.player??null}const bP=["INPUT","SELECT","BUTTON","TEXTAREA","MUX-PLAYER","SUMMARY"],_P=["button","option","combobox","tab","tablist"];function L0(i){let e=i;for(;e;){if(!(e instanceof HTMLElement))return!1;if(bP.includes(e.tagName)||_P.includes(e.getAttribute("role")||"")||e.isContentEditable)return!0;e=e.parentElement}return!1}function x0(i){const e=vt.useRef(i);return vt.useEffect(()=>{e.current=i},[i]),e}function AP({muxPlayerRef:i,...e}){const t=TP(),s=nb(),[r,n]=vt.useState(!1),a=`${e.playbackId}:currentTime`,[o,d]=vt.useState(0),l=x0(s),u=x0(t);vt.useEffect(()=>{if(typeof document>"u")return;const h=sessionStorage.getItem(a);if(h)try{const{time:f,expiresAt:m}=yP.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;L0(m)||L0(f.target)||(f.key===" "&&(f.preventDefault(),i.current.paused?i.current.play():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]);const c=cb(()=>{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"}};Hh(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]),V.jsx("div",{className:"flex aspect-video flex-col",children:V.jsx(EP,{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:SP(t?.minResolution),maxResolution:IP(t?.maxResolution),...e})})}function Hh(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(!Hh(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(!Hh(i[r],e[r]))return!1;return!0}function SP(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 IP(i){if(i)return i<=720?So.upTo720p:i<=1080?So.upTo1080p:i<=1440?So.upTo1440p:So.upTo2160p}const ib=vt.createContext(null);function eO({children:i,epicVideoInfosPromise:e}){return V.jsx(ib.Provider,{value:e,children:i})}function sb(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 LP({url:i,title:e="Video Embed",loadingContent:t=V.jsx(Gh,{children:V.jsxs("span",{children:['Loading "',e,'"']})})}){const s=R0(),[r,n]=vt.useState(!1);return fb()?V.jsxs("div",{className:"relative aspect-video w-full flex-shrink-0 shadow-lg",children:[r?null:V.jsx("div",{className:"absolute inset-0 z-10 flex items-center justify-center p-8",children:t}),V.jsx("iframe",{onLoad:()=>n(!0),onError:()=>n(!0),src:i,className:hb("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}})]}):V.jsx("div",{className:"relative aspect-video w-full flex-shrink-0 shadow-lg",children:V.jsx("div",{className:"not-prose absolute inset-0 z-10 flex items-center justify-center p-8 text-foreground-destructive",children:V.jsx(k0,{name:"WifiNoConnection",size:"xl",children:V.jsxs("span",{children:["Unable to load the video ",V.jsx("a",{href:i,className:"underline",children:`"${e??i}"`})," when offline"]})})})})}function rb({url:i,title:e}){return V.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:[V.jsx(k0,{className:"flex-shrink-0",name:"Video",size:"lg"}),e," ",V.jsx("span",{"aria-hidden":!0,children:"↗︎"})]})}function tO({url:i,title:e}){const t=e??sb(i),{product:{host:s,displayName:r}}=pb(),n=mb(),a=vt.useContext(ib),o=V.jsx("div",{children:V.jsx(rb,{url:i,title:t})});return V.jsx("div",{children:V.jsx(vt.Suspense,{fallback:V.jsxs("div",{children:[V.jsx("div",{className:"flex aspect-video w-full items-center justify-center",children:V.jsx(Gh,{children:t})}),V.jsxs("div",{className:"mt-4 flex flex-col gap-2",children:[o,V.jsx("div",{className:"h-[32px]"})]})]}),children:V.jsx(ob,{errorElement:V.jsx("div",{children:"Sorry, failed loading videos. Check the terminal output?"}),resolve:a,children:d=>{const l=d?.[i],u=ENV.EPICSHOP_DEPLOYED?V.jsxs("div",{children:[V.jsx(ao,{to:ENV.EPICSHOP_GITHUB_REPO,className:"underline",children:"Run locally"})," for transcripts"]}):V.jsxs("div",{children:[V.jsx(ao,{to:"/login",className:"underline",children:n?"Upgrade":"Login"})," for transcripts"]});if(!l)return V.jsxs("div",{children:[V.jsx(qn,{url:i,title:t}),V.jsxs("div",{className:"mt-4 flex flex-col gap-2",children:[o,u]})]});const c=l;return c.status==="success"?V.jsx(xP,{url:i,title:e??c.title??t,muxPlaybackId:c.muxPlaybackId,transcript:c.transcript}):c.type==="region-restricted"?V.jsxs("div",{children:[V.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:[V.jsx("div",{className:"!text-foreground-destructive",children:"Error: Region Restricted"}),V.jsxs("div",{children:["We've detected you're connecting from"," ",c.requestCountry," but your license has restricted access to ",c.restrictedCountry]}),V.jsxs("div",{children:["To continue watching uninterrupted, please"," ",V.jsxs("a",{href:`https://${s}/products`,className:"underline",children:["upgrade your ",r," license"]})," ","to a full Pro license."]})]}),V.jsxs("div",{className:"mt-4 flex flex-col gap-2",children:[o,V.jsxs("div",{children:[V.jsx(ao,{to:`https://${s}/products`,className:"underline",children:"Upgrade"})," for transcripts"]})]})]}):c.statusCode===401?V.jsxs("div",{children:[V.jsx(qn,{url:i,title:t}),V.jsxs("div",{className:"mt-4 flex flex-col gap-2",children:[o,u]})]}):c.statusCode===403?V.jsxs("div",{children:[V.jsx(qn,{url:i,title:t}),V.jsxs("div",{className:"mt-4 flex flex-col gap-2",children:[o,V.jsxs("div",{children:[V.jsx(ao,{to:`https://${s}/products`,className:"underline",children:"Upgrade"})," for transcripts"]})]})]}):c.statusCode===404?V.jsxs("div",{children:[V.jsx(qn,{url:i,title:t}),V.jsxs("div",{className:"mt-4 flex flex-col gap-2",children:[o,V.jsx("div",{children:"Transcripts not found"})]})]}):(console.error(c),V.jsxs("div",{children:[V.jsx(qn,{url:i,title:t}),V.jsxs("div",{className:"mt-4 flex flex-col gap-2",children:[o,V.jsx("div",{className:"!text-foreground-destructive",children:"Unknown error (check console)"})]})]}))}})})})}function xP({url:i,title:e=sb(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(V.jsx("span",{children:h},u)),a.push(V.jsx("button",{className:"underline",onClick:f=>{r.current&&(r.current.currentTime=RP(l),r.current.play(),r.current.scrollIntoView({behavior:"smooth",inline:"center",block:"start"}),f.currentTarget.blur())},children:l},l)),d=c}return a.push(V.jsx("span",{children:s.slice(d+1,s.length)},s.length)),V.jsxs("div",{children:[V.jsx("div",{className:"shadow-lg",children:V.jsx(AP,{playbackId:t,muxPlayerRef:r,title:e})}),V.jsxs("div",{className:"mt-4 flex flex-col gap-2",children:[V.jsx(rb,{url:i,title:e}),V.jsxs("details",{children:[V.jsx("summary",{children:"Transcript"}),V.jsx("div",{className:"whitespace-pre-line rounded-md bg-accent p-2 text-accent-foreground",children:a})]})]})]})}function RP(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=R0();let s=new URL("https://epicweb.dev");try{s=new URL(i)}catch(r){return console.error(r),V.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}`),V.jsx(LP,{url:s.toString(),title:e,loadingContent:V.jsx(Gh,{children:V.jsxs("span",{children:['Loading "',V.jsx("a",{className:"underline",href:i,children:e}),'"']})})})}export{tO as D,eO as E,LP as V};
3224
- //# sourceMappingURL=epic-video-7egGi8C6.js.map
3224
+ //# sourceMappingURL=epic-video-VKhk-6Mv.js.map