@marimo-team/islands 0.23.15-dev50 → 0.23.15-dev55

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 (476) hide show
  1. package/dist/{ConnectedDataExplorerComponent-Cmq_9LVS.js → ConnectedDataExplorerComponent-DMcymmpc.js} +85 -84
  2. package/dist/{ErrorBoundary-CnMJ8jR9.js → ErrorBoundary-DXlxsrTF.js} +3 -3
  3. package/dist/{any-language-editor-DN1R-1KZ.js → any-language-editor-BfTj3PPF.js} +20 -20
  4. package/dist/apl-e1B5LPEL.js +4 -0
  5. package/dist/{arc-DfkSnvZm.js → arc-CTIpFoOn.js} +2 -2
  6. package/dist/architecture-7HQA4BMR-DHUrQjL4.js +6 -0
  7. package/dist/{architectureDiagram-VXUJARFQ-CT2SuxNw.js → architectureDiagram-VXUJARFQ-B3jN8fkV.js} +19 -19
  8. package/dist/asciiarmor-B-gwgesP.js +4 -0
  9. package/dist/asn1-DF2ckRB4.js +4 -0
  10. package/dist/{blockDiagram-VD42YOAC-Dy7hlFla.js → blockDiagram-VD42YOAC-Dq_8lAbz.js} +12 -12
  11. package/dist/brainfuck-4G-7_gq_.js +4 -0
  12. package/dist/{button-BacYv-bE.js → button-BcSml68y.js} +12 -65
  13. package/dist/{c4Diagram-YG6GDRKO-BXlAmZ8Z.js → c4Diagram-YG6GDRKO-BPzX9a9A.js} +6 -6
  14. package/dist/{capabilities-D_4LYhSU.js → capabilities-BYLFYTYv.js} +2 -2
  15. package/dist/{channel-D_PHgcig.js → channel-D_qwSlm9.js} +1 -1
  16. package/dist/{chat-ui-Dy0arY8E.js → chat-ui-CYGIiYqI.js} +144 -143
  17. package/dist/{check-C9OoNtR4.js → check-Cs-KV5XY.js} +1 -1
  18. package/dist/{chunk-4BX2VUAB-CzXltWHN.js → chunk-4BX2VUAB-iU5lQTDI.js} +1 -1
  19. package/dist/{chunk-4F5CHEZ2-D9nGEHV8.js → chunk-4F5CHEZ2-VlodlEGo.js} +1 -1
  20. package/dist/{chunk-55IACEB6-B-1mjMMC.js → chunk-55IACEB6-7h71GwyW.js} +1 -1
  21. package/dist/{chunk-5FQGJX7Z-BbqSm5gU.js → chunk-5FQGJX7Z-B9WoXK1R.js} +3 -3
  22. package/dist/{chunk-ABZYJK2D-Dz0-H2B5.js → chunk-ABZYJK2D-CDSMdLBr.js} +3 -3
  23. package/dist/{chunk-ATLVNIR6-o0Z5MZLd.js → chunk-ATLVNIR6-BAW0e_d_.js} +2 -2
  24. package/dist/{chunk-B2363JML-KEJpLGGP.js → chunk-B2363JML-zL3VngtH.js} +1 -1
  25. package/dist/{chunk-B4BG7PRW-BL98U9B4.js → chunk-B4BG7PRW-CfEI05WL.js} +7 -7
  26. package/dist/{chunk-CVBHYZKI-B_c5YBcW.js → chunk-CVBHYZKI-CwazXVlJ.js} +1 -1
  27. package/dist/{chunk-DI55MBZ5-Dwkn0LWm.js → chunk-DI55MBZ5-CZS7hhjV.js} +6 -6
  28. package/dist/{chunk-EXTU4WIE-9sNjmQrB.js → chunk-EXTU4WIE-DHwKB8ls.js} +2 -2
  29. package/dist/{chunk-FMBD7UC4-Ie8M9q0W.js → chunk-FMBD7UC4-quJmebXa.js} +1 -1
  30. package/dist/{chunk-FRFDVMJY-DzQqMWrl.js → chunk-FRFDVMJY-BHBqN-vD.js} +1 -1
  31. package/dist/{chunk-HN2XXSSU-E3n-Ys7Z.js → chunk-HN2XXSSU-Bv0QkeMr.js} +1 -1
  32. package/dist/{chunk-JA3XYJ7Z-C32Y7Epf.js → chunk-JA3XYJ7Z-Cy80gDpz.js} +3 -3
  33. package/dist/{chunk-JZLCHNYA-C6ftyVMN.js → chunk-JZLCHNYA-yfXq27Zq.js} +6 -6
  34. package/dist/{chunk-MI3HLSF2-CUYEasXO.js → chunk-MI3HLSF2-HGWI-8Pg.js} +1 -1
  35. package/dist/{chunk-N4CR4FBY-DUhGZhZs.js → chunk-N4CR4FBY-C9D3Wsot.js} +7 -7
  36. package/dist/{chunk-PL6DKKU2-D7km-08O.js → chunk-PL6DKKU2-CAHKc95s.js} +1 -1
  37. package/dist/{chunk-QN33PNHL-0K6SDYn3.js → chunk-QN33PNHL-Bh2YDyg7.js} +2 -2
  38. package/dist/{chunk-QXUST7PY-DMhsRpYK.js → chunk-QXUST7PY-kDpsCDoY.js} +10 -10
  39. package/dist/{chunk-QZHKN3VN-DRjXVwuJ.js → chunk-QZHKN3VN-Dym5BS7y.js} +1 -1
  40. package/dist/{chunk-S3R3BYOJ-oAe3dEbO.js → chunk-S3R3BYOJ-DkY8Kz3y.js} +4 -4
  41. package/dist/{chunk-SJTYNZTY-BkJrPRFC.js → chunk-SJTYNZTY-DnXoKWpW.js} +1 -1
  42. package/dist/{chunk-TCCFYFTB-D58KeXnC.js → chunk-TCCFYFTB-DPWJa9zL.js} +1 -1
  43. package/dist/{chunk-TQ3KTPDO-D_yA_wAb.js → chunk-TQ3KTPDO-CsDx6v37.js} +1 -1
  44. package/dist/{chunk-TZMSLE5B-yBKS_DQU.js → chunk-TZMSLE5B-CMZoW3vd.js} +3 -3
  45. package/dist/{chunk-UMXZTB3W-D7uwvNjd.js → chunk-UMXZTB3W-D1uHz8MN.js} +1 -1
  46. package/dist/classDiagram-2ON5EDUG-b2d3ZqfR.js +30 -0
  47. package/dist/classDiagram-v2-WZHVMYZB-RvnJbJ5M.js +30 -0
  48. package/dist/{clike-DTxNUn7l.js → clike-7lgyEYRk.js} +1 -1
  49. package/dist/clojure-CUybM11R.js +4 -0
  50. package/dist/cmake-BPjGcuDL.js +4 -0
  51. package/dist/cobol-BETk_nb6.js +4 -0
  52. package/dist/{code-block-37QAKDTI-O6IH6wAi.js → code-block-37QAKDTI-MSxEjskJ.js} +1 -1
  53. package/dist/{code-visibility-B5xe1Xp2.js → code-visibility-6VwDeiPl.js} +647 -646
  54. package/dist/coffeescript-CManZxXL.js +4 -0
  55. package/dist/commonlisp-DWkn7GW8.js +4 -0
  56. package/dist/{copy-COam1EG7.js → copy-Cs3yt6Vt.js} +2 -2
  57. package/dist/{cose-bilkent-S5V4N54A-kjoZoid4.js → cose-bilkent-S5V4N54A-BYj0aL7z.js} +2 -2
  58. package/dist/crystal-CCbg5EUH.js +4 -0
  59. package/dist/css-By8eo-XS.js +4 -0
  60. package/dist/cypher-DwfHg3nP.js +4 -0
  61. package/dist/d-Brs1wNbw.js +4 -0
  62. package/dist/{dagre-6UL2VRFP-J0JKgwOt.js → dagre-6UL2VRFP--ruFWg_S.js} +11 -11
  63. package/dist/{data-grid-overlay-editor-C6lxUJp-.js → data-grid-overlay-editor-BWRG2b_o.js} +2 -2
  64. package/dist/{diagram-PSM6KHXK-DYgJuNk9.js → diagram-PSM6KHXK-CGakapLj.js} +22 -22
  65. package/dist/{diagram-QEK2KX5R-CKdBR2sb.js → diagram-QEK2KX5R-CtqD8u_P.js} +17 -17
  66. package/dist/{diagram-S2PKOQOG-Dpi7mo5W.js → diagram-S2PKOQOG-BS1wa35J.js} +17 -17
  67. package/dist/diff-DJIRmJ1g.js +4 -0
  68. package/dist/{dist-Dv_Y15yk.js → dist-3MT9i_N5.js} +2 -2
  69. package/dist/{dist-CoXAujgg.js → dist-4-bJUNMb.js} +3 -3
  70. package/dist/{dist-DPrYzMY0.js → dist-9yiSURLw.js} +2 -2
  71. package/dist/dist-9zfbSqew.js +8 -0
  72. package/dist/{dist-GZXUmt0b.js → dist-B1k1NmGB.js} +1 -1
  73. package/dist/{dist-abid3KgM.js → dist-B69xyr_D.js} +1 -1
  74. package/dist/{dist--2Bqjvs0.js → dist-B96tMAst.js} +2 -2
  75. package/dist/{dist-t9Kf7xqC.js → dist-BFgLBSJb.js} +1 -1
  76. package/dist/{dist-DyyjKEYf.js → dist-BGLXXYL4.js} +1 -1
  77. package/dist/{dist-Bf7SHuNp.js → dist-BGj6VvC-.js} +4 -4
  78. package/dist/{dist-Bk75fBZA.js → dist-BGtkYshf.js} +1 -1
  79. package/dist/{dist-CpxNdDkw.js → dist-BIdzGb3O.js} +1 -1
  80. package/dist/dist-BZ_VEpg8.js +8 -0
  81. package/dist/{dist-7QfXoMdB.js → dist-BdYVjH1C.js} +1 -1
  82. package/dist/{dist-D8CDTVgf.js → dist-BiIoKp92.js} +2 -2
  83. package/dist/dist-Bow9AUXt.js +5 -0
  84. package/dist/{dist-BSAt6RhH.js → dist-BvCrjp81.js} +2 -2
  85. package/dist/{dist-DgGbNavJ.js → dist-C-RLuUaE.js} +1 -1
  86. package/dist/dist-C8odMDp5.js +8 -0
  87. package/dist/{dist-BY018Paw.js → dist-CLBjD8zw.js} +1 -1
  88. package/dist/dist-CLgjZx38.js +5 -0
  89. package/dist/{dist-C_Y3oV3C.js → dist-CNXNPADS.js} +1 -1
  90. package/dist/{dist-Du8WkPuU.js → dist-CV79CsQ0.js} +2 -2
  91. package/dist/dist-CnMOJtGP.js +5 -0
  92. package/dist/dist-D-5m1nDT.js +5 -0
  93. package/dist/dist-D8AXqiCV.js +5 -0
  94. package/dist/{dist-LTU8Hdvn.js → dist-DBN2w27P.js} +2 -2
  95. package/dist/{dist-DL6N_q-A.js → dist-DMuf8sZd.js} +1 -1
  96. package/dist/{dist-M9Vag9Y0.js → dist-DPH6RMhL.js} +1 -1
  97. package/dist/{dist-CcWX6tmx.js → dist-DgZczohI.js} +1 -1
  98. package/dist/dist-DszXOVSb.js +5 -0
  99. package/dist/dist-GW0m0q65.js +8 -0
  100. package/dist/{dist-Bf9f8MuT.js → dist-SXNmlE8A.js} +1 -1
  101. package/dist/{dist-CxJDU6Bh.js → dist-e29IFSI0.js} +3 -3
  102. package/dist/{dist-BaoDKvdy.js → dist-kcg3gjx6.js} +1 -1
  103. package/dist/{dist-BR_gyG9L.js → dist-tJic1rC-.js} +1 -1
  104. package/dist/{dockerfile-twL37N91.js → dockerfile-B82Pkz_V.js} +1 -1
  105. package/dist/dtd-Dyiazv4N.js +4 -0
  106. package/dist/dylan-D8Fcw7NA.js +4 -0
  107. package/dist/ecl-CjKp8Vii.js +4 -0
  108. package/dist/eiffel-K9ViOX5r.js +4 -0
  109. package/dist/elm-B5NVtRco.js +4 -0
  110. package/dist/{erDiagram-Q2GNP2WA-BU-m41EQ.js → erDiagram-Q2GNP2WA-DmtIJBsT.js} +15 -15
  111. package/dist/erlang-BnLzgk7R.js +4 -0
  112. package/dist/{error-banner-DFPfz_Qf.js → error-banner-DR7o3CbX.js} +68 -68
  113. package/dist/{esm-M837UxV5.js → esm-BxhNWHqh.js} +2 -2
  114. package/dist/{esm-ga2Bf3O2.js → esm-D6_uCZ4z.js} +104 -104
  115. package/dist/{extends-9MVIxxRo.js → extends-B88Yrunj.js} +4 -4
  116. package/dist/{factor-CajWS6mS.js → factor-Bq2mGIHt.js} +1 -1
  117. package/dist/factor-C7f9Jz5R.js +4 -0
  118. package/dist/{flowDiagram-NV44I4VS-CRoXKjGq.js → flowDiagram-NV44I4VS-DZsgBUcQ.js} +17 -17
  119. package/dist/{formats-CdvkxTS6.js → formats-DSfNdJLH.js} +3 -3
  120. package/dist/forth-rGM8jLao.js +4 -0
  121. package/dist/fortran-B3acSe0i.js +4 -0
  122. package/dist/{ganttDiagram-JELNMOA3-7mq5f9cO.js → ganttDiagram-JELNMOA3-CgFhg_6K.js} +10 -10
  123. package/dist/gas-Bb1Vmv_N.js +4 -0
  124. package/dist/gherkin-C9Lyidgd.js +4 -0
  125. package/dist/{gitGraph-G5XIXVHT-DiniR35k.js → gitGraph-G5XIXVHT-BjTx0kww.js} +3 -3
  126. package/dist/{gitGraphDiagram-V2S2FVAM-Dfuokq6w.js → gitGraphDiagram-V2S2FVAM-DPInyn1F.js} +17 -17
  127. package/dist/{glide-data-editor-D5w23DvC.js → glide-data-editor--CaN-f27.js} +13 -13
  128. package/dist/groovy-DQk6XcGH.js +4 -0
  129. package/dist/haskell-mV0Vw9gv.js +4 -0
  130. package/dist/haxe-DqxN89zH.js +5 -0
  131. package/dist/{html-to-image-f-kPEnn0.js → html-to-image-BoXPmWps.js} +397 -396
  132. package/dist/idl-ya8W561J.js +4 -0
  133. package/dist/{info-VBDWY6EO-DVZvGhkQ.js → info-VBDWY6EO-CA67FznA.js} +3 -3
  134. package/dist/infoDiagram-HS3SLOUP-ETAzKIiE.js +30 -0
  135. package/dist/{input-CF5Sgjba.js → input-DStQIuqD.js} +50 -50
  136. package/dist/javascript-CgqgptVu.js +4 -0
  137. package/dist/{journeyDiagram-XKPGCS4Q-8XYSU1GI.js → journeyDiagram-XKPGCS4Q-Bc94zDj1.js} +7 -7
  138. package/dist/julia-CFQ-HusI.js +4 -0
  139. package/dist/{kanban-definition-3W4ZIXB7--9pT9z1R.js → kanban-definition-3W4ZIXB7-DSk8Ebci.js} +12 -12
  140. package/dist/{katex-9-9QRhxz.js → katex-C4t-BmrK.js} +1 -1
  141. package/dist/{label-WfTSU8L4.js → label-DIk0QoFe.js} +2 -2
  142. package/dist/{line-C5s_12ee.js → line-C43FIPBd.js} +3 -3
  143. package/dist/{linear-B5-AFRiR.js → linear-H_vsH9ao.js} +4 -4
  144. package/dist/livescript-D__3TmDo.js +4 -0
  145. package/dist/{loader-Boph2xIS.js → loader-BUGT0KbC.js} +11 -22
  146. package/dist/lua-Bytcgj_W.js +4 -0
  147. package/dist/main.js +1245 -1244
  148. package/dist/mathematica-DJhvVKvl.js +4 -0
  149. package/dist/mbox-IGHPCjfR.js +4 -0
  150. package/dist/{mermaid-4DMBBIKO-Eg3D4FVz.js → mermaid-4DMBBIKO-FXbOziy9.js} +1 -1
  151. package/dist/{mermaid-BaZJ2mds.js → mermaid-CYkbfJHW.js} +47 -47
  152. package/dist/{mermaid-parser.core-C3XRsazI.js → mermaid-parser.core-DoivvxPd.js} +8 -8
  153. package/dist/{mhchem-yiCCuiEF.js → mhchem-EGhUZR1V.js} +1 -1
  154. package/dist/{mindmap-definition-VGOIOE7T-B-4mnfFG.js → mindmap-definition-VGOIOE7T-BYoCqVAJ.js} +14 -14
  155. package/dist/mirc-tcwvVugm.js +4 -0
  156. package/dist/mllike-Dx91i62r.js +6 -0
  157. package/dist/modelica-_SRt-yU5.js +4 -0
  158. package/dist/mscgen-GZrGS9gt.js +6 -0
  159. package/dist/mumps-Cv3ygyod.js +4 -0
  160. package/dist/nsis-BU7GeGbI.js +4 -0
  161. package/dist/{nsis-ClF3r5Tr.js → nsis-i9_sgigf.js} +1 -1
  162. package/dist/ntriples-CL-FCYXb.js +4 -0
  163. package/dist/{number-overlay-editor-BLJXvX9c.js → number-overlay-editor-Ck_mc_gT.js} +1 -1
  164. package/dist/objects-De59twF-.js +56 -0
  165. package/dist/octave-Dc6_3DIu.js +4 -0
  166. package/dist/{ordinal-ArJavP1Q.js → ordinal-Bkv2-veX.js} +1 -1
  167. package/dist/oz-DpUAJCXf.js +4 -0
  168. package/dist/{packet-DYOGHKS2-34raHOiB.js → packet-DYOGHKS2-Bkgofxf3.js} +3 -3
  169. package/dist/pascal-B17mncXs.js +4 -0
  170. package/dist/perl-BTpK97q9.js +4 -0
  171. package/dist/{pie-VRWISCQL-BaLlzZa3.js → pie-VRWISCQL-B1AMhN_7.js} +3 -3
  172. package/dist/{pieDiagram-ADFJNKIX-Cr3cNpZY.js → pieDiagram-ADFJNKIX-BaAU79Vb.js} +22 -22
  173. package/dist/pig-CFb638Ap.js +4 -0
  174. package/dist/powershell-Cxo-_2A5.js +4 -0
  175. package/dist/{precisionRound-Tqb4mg-H.js → precisionRound-CnHPY_5v.js} +1 -1
  176. package/dist/{process-output-O9FeFAVM.js → process-output-CbRRhwQo.js} +4 -4
  177. package/dist/properties-BPgT1xTB.js +4 -0
  178. package/dist/protobuf-BgHBaIIK.js +4 -0
  179. package/dist/pug-25-oS0SG.js +4 -0
  180. package/dist/{pug-B_rby2yb.js → pug-BhE2JRSg.js} +1 -1
  181. package/dist/puppet-DarIr20S.js +4 -0
  182. package/dist/python-BqmOsBsi.js +4 -0
  183. package/dist/q-D3QJCTup.js +4 -0
  184. package/dist/{quadrantDiagram-AYHSOK5B-BuNL8Q93.js → quadrantDiagram-AYHSOK5B-BmTWJxzo.js} +5 -5
  185. package/dist/r-Cz_yBX4z.js +4 -0
  186. package/dist/{radar-ZZBFDIW7-Ci7bfoZa.js → radar-ZZBFDIW7-C2b7A32s.js} +3 -3
  187. package/dist/{react-vega-B0sAlDTL.js → react-vega-DfJOSnj6.js} +372 -372
  188. package/dist/{requirementDiagram-UZGBJVZJ-BG2lLUN1.js → requirementDiagram-UZGBJVZJ-Jrs04ua1.js} +14 -14
  189. package/dist/{reveal-component-BkZp_qsV.js → reveal-component-BF9bUh1w.js} +622 -628
  190. package/dist/rpm-DGOtYwAI.js +5 -0
  191. package/dist/ruby-DBZu4rPc.js +4 -0
  192. package/dist/{sankeyDiagram-TZEHDZUN-DMal8sps.js → sankeyDiagram-TZEHDZUN-YJnhmG4N.js} +5 -5
  193. package/dist/sas-Dd1D9qTq.js +4 -0
  194. package/dist/scheme-BmDjvTHX.js +4 -0
  195. package/dist/{sequenceDiagram-WL72ISMW-DT6Tk-Eo.js → sequenceDiagram-WL72ISMW-D30L51Bn.js} +8 -8
  196. package/dist/shell-BL8zFSaj.js +4 -0
  197. package/dist/sieve-BAx2WqUP.js +4 -0
  198. package/dist/smalltalk-CYRzF7VV.js +4 -0
  199. package/dist/sparql-YWaDRO4A.js +4 -0
  200. package/dist/{spec-DxIove3q.js → spec-CnaxwDqy.js} +4 -4
  201. package/dist/{src-Bf2iLOlr.js → src-DV3ha_nA.js} +1 -1
  202. package/dist/{stateDiagram-FKZM4ZOC-CB_lodq3.js → stateDiagram-FKZM4ZOC-C0nZuUP8.js} +17 -17
  203. package/dist/stateDiagram-v2-4FDKWEC3-BmovmS-G.js +29 -0
  204. package/dist/{step-CWipAYTY.js → step-BqHnkgWE.js} +1 -1
  205. package/dist/stex-B5O-env2.js +4 -0
  206. package/dist/{strings-Dq_j3Rxw.js → strings-BYAhZnQi.js} +354 -354
  207. package/dist/stylus-lYsyLFc1.js +4 -0
  208. package/dist/swift-ClQz9z1n.js +4 -0
  209. package/dist/{swiper-component-5HoSsPi1.js → swiper-component-DE94711u.js} +4 -4
  210. package/dist/tcl-B3jhsfqY.js +4 -0
  211. package/dist/textile-Cb1Dw7Aq.js +4 -0
  212. package/dist/{time-CsmIF9YZ.js → time-Bb4A7I6a.js} +4 -4
  213. package/dist/{timeline-definition-IT6M3QCI-NfSKRvH0.js → timeline-definition-IT6M3QCI-DEoIEWAl.js} +4 -4
  214. package/dist/{toDate-CEOdz9nC.js → toDate-B3IRfHhw.js} +3 -3
  215. package/dist/toml-nHZhetdO.js +4 -0
  216. package/dist/{tooltip-Czds6Qr8.js → tooltip-B-qh7UPB.js} +3 -3
  217. package/dist/{treemap-GDKQZRPO-Cl6OQh8D.js → treemap-GDKQZRPO-SDux0AV8.js} +3 -3
  218. package/dist/troff-DuJAGWKH.js +4 -0
  219. package/dist/ttcn-BxrcwP21.js +4 -0
  220. package/dist/ttcn-cfg-BAg_9dcc.js +4 -0
  221. package/dist/turtle-zCq949as.js +4 -0
  222. package/dist/{types-C2Ir191_.js → types-DQl7jVYK.js} +1 -1
  223. package/dist/use-vega-container-remeasure-DGNrIQSk.js +27 -0
  224. package/dist/{useAsyncData-Cs0mpJTy.js → useAsyncData-CvO8WUy3.js} +1 -1
  225. package/dist/{useDateFormatter-CMnRuVmN.js → useDateFormatter-BSoGim-G.js} +2 -2
  226. package/dist/{useDeepCompareMemoize-DoOZicGb.js → useDeepCompareMemoize-J3MKRdA4.js} +1 -1
  227. package/dist/{useIframeCapabilities-DWIYvDh7.js → useIframeCapabilities-POcFXHbw.js} +1 -1
  228. package/dist/{useLifecycle-DR_F1d7F.js → useLifecycle-DqPxHgAN.js} +3 -3
  229. package/dist/{useTheme-BA-8MM7N.js → useTheme-XMq9mNf_.js} +2 -2
  230. package/dist/vb-De5hElus.js +4 -0
  231. package/dist/vbscript-Cypcpv4F.js +4 -0
  232. package/dist/{vega-component-BN0fz-QA.js → vega-component-uL9ZaXcH.js} +224 -222
  233. package/dist/vega-embed-container-DgZMMVL3.js +22 -0
  234. package/dist/{vega-loader.browser-CZ-J8Py3.js → vega-loader.browser-IU8eTDwM.js} +98 -86
  235. package/dist/velocity-Di7l-yhe.js +4 -0
  236. package/dist/verilog-Bzi-S3g2.js +4 -0
  237. package/dist/vhdl-B0ZZITaW.js +4 -0
  238. package/dist/webidl-0sviiRcN.js +4 -0
  239. package/dist/xquery-B4qMVWaB.js +4 -0
  240. package/dist/{xychartDiagram-PRI3JC2R-BvwftqMA.js → xychartDiagram-PRI3JC2R-iwKXEnYZ.js} +13 -13
  241. package/dist/yacas-Jt25Fuv8.js +4 -0
  242. package/dist/z80-CrcbYzmp.js +4 -0
  243. package/dist/{zod-CijjQh4u.js → zod-D0yOqoGe.js} +26 -26
  244. package/package.json +3 -1
  245. package/src/components/charts/lazy.tsx +3 -1
  246. package/src/components/charts/vega-embed-container.tsx +18 -0
  247. package/src/components/editor/RecoveryButton.tsx +2 -2
  248. package/src/components/slides/reveal-component.tsx +0 -13
  249. package/src/plugins/impl/vega/__tests__/use-vega-container-remeasure.test.ts +102 -0
  250. package/src/plugins/impl/vega/use-vega-container-remeasure.ts +39 -0
  251. package/src/plugins/impl/vega/vega-component.tsx +5 -4
  252. package/dist/apl-Bdc61P1y.js +0 -4
  253. package/dist/architecture-7HQA4BMR-Kyc44TmC.js +0 -6
  254. package/dist/asciiarmor-DVRHDGzT.js +0 -4
  255. package/dist/asn1-BmuKfkfu.js +0 -4
  256. package/dist/brainfuck-DPrRpyTV.js +0 -4
  257. package/dist/classDiagram-2ON5EDUG-QjoAcuFE.js +0 -30
  258. package/dist/classDiagram-v2-WZHVMYZB-bUCv4gu2.js +0 -30
  259. package/dist/clojure-DEttQW5T.js +0 -4
  260. package/dist/cmake-jNlx_DaM.js +0 -4
  261. package/dist/cobol-BvvIm5MJ.js +0 -4
  262. package/dist/coffeescript-DTpBMyFU.js +0 -4
  263. package/dist/commonlisp-BmmUG8jb.js +0 -4
  264. package/dist/crystal-BxyqmEWC.js +0 -4
  265. package/dist/css-BGoCtuG3.js +0 -4
  266. package/dist/cypher-BmCbdl3u.js +0 -4
  267. package/dist/d-CFrlbjZt.js +0 -4
  268. package/dist/diff-D6XwL6P8.js +0 -4
  269. package/dist/dist-BEXXyZig.js +0 -5
  270. package/dist/dist-BYj57OV4.js +0 -5
  271. package/dist/dist-BlSvQzNr.js +0 -5
  272. package/dist/dist-CCBlxAgS.js +0 -8
  273. package/dist/dist-CIDTVIUf.js +0 -5
  274. package/dist/dist-CqQyhAM8.js +0 -8
  275. package/dist/dist-CwRu2Xzh.js +0 -5
  276. package/dist/dist-D8DNB0nO.js +0 -8
  277. package/dist/dist-DOFbNV_b.js +0 -8
  278. package/dist/dist-cdmMjgsn.js +0 -5
  279. package/dist/dtd-Bw0lRN0-.js +0 -4
  280. package/dist/dylan-B55eBHTt.js +0 -4
  281. package/dist/ecl-C8G4p0wn.js +0 -4
  282. package/dist/eiffel-BmH46VJl.js +0 -4
  283. package/dist/elm-DhzeFqkl.js +0 -4
  284. package/dist/erlang-CY-wdlsU.js +0 -4
  285. package/dist/factor-DWkgl0xw.js +0 -4
  286. package/dist/forth-Cij_ie2t.js +0 -4
  287. package/dist/fortran-Br3X9cfm.js +0 -4
  288. package/dist/gas-DYsGcMN2.js +0 -4
  289. package/dist/gherkin-eVgXQ0fQ.js +0 -4
  290. package/dist/groovy-_NFHIXG7.js +0 -4
  291. package/dist/haskell-D6xNG_bH.js +0 -4
  292. package/dist/haxe-sU_rzAwn.js +0 -5
  293. package/dist/idl-Ds_VbrUx.js +0 -4
  294. package/dist/infoDiagram-HS3SLOUP-CEnzWruK.js +0 -30
  295. package/dist/javascript-CztfIl0i.js +0 -4
  296. package/dist/julia-DDv40QMV.js +0 -4
  297. package/dist/livescript-BEOngLLc.js +0 -4
  298. package/dist/lua-9-7BhQ4Y.js +0 -4
  299. package/dist/mathematica-DDa0Pfxm.js +0 -4
  300. package/dist/mbox-iO03mmoE.js +0 -4
  301. package/dist/mirc-C9z5LT4X.js +0 -4
  302. package/dist/mllike-jGJbdm_C.js +0 -6
  303. package/dist/modelica-DzF7oIEL.js +0 -4
  304. package/dist/mscgen-DB-u125o.js +0 -6
  305. package/dist/mumps-CRTFHhzh.js +0 -4
  306. package/dist/nsis-C4NPTuox.js +0 -4
  307. package/dist/ntriples-BCOoGph1.js +0 -4
  308. package/dist/octave-DTwNlazz.js +0 -4
  309. package/dist/oz-DD38AzSz.js +0 -4
  310. package/dist/pascal-BohSp9jV.js +0 -4
  311. package/dist/perl-f5OutoPM.js +0 -4
  312. package/dist/pig-Dv7wSmHb.js +0 -4
  313. package/dist/powershell-rYgjKB39.js +0 -4
  314. package/dist/properties-BFUNLRDN.js +0 -4
  315. package/dist/protobuf-B9QJQPPv.js +0 -4
  316. package/dist/pug-DzvWpaMC.js +0 -4
  317. package/dist/puppet-B_K-n_xK.js +0 -4
  318. package/dist/python-CAiFcaA2.js +0 -4
  319. package/dist/q-cLeFIBLK.js +0 -4
  320. package/dist/r-04Y-Wco3.js +0 -4
  321. package/dist/react-vega-B6ncY2Tp.js +0 -9
  322. package/dist/rpm-FUdrIia9.js +0 -5
  323. package/dist/ruby-DMjFXuEW.js +0 -4
  324. package/dist/sas-DzHZxjXK.js +0 -4
  325. package/dist/scheme-DxHd_Rb9.js +0 -4
  326. package/dist/shell-C8Kwypgf.js +0 -4
  327. package/dist/sieve-DdyqOKXZ.js +0 -4
  328. package/dist/smalltalk-pB7X1D9y.js +0 -4
  329. package/dist/sparql-NhBO6oOa.js +0 -4
  330. package/dist/stateDiagram-v2-4FDKWEC3-E0RGjKsm.js +0 -29
  331. package/dist/stex-KfRnSHzF.js +0 -4
  332. package/dist/stylus-SfWSnzPv.js +0 -4
  333. package/dist/swift-jRPdq2zR.js +0 -4
  334. package/dist/tcl-_hpTHGX3.js +0 -4
  335. package/dist/textile-C9h8slqH.js +0 -4
  336. package/dist/toml-DWvtinD4.js +0 -4
  337. package/dist/troff-Dwo_A0y7.js +0 -4
  338. package/dist/ttcn-V--CPFKq.js +0 -4
  339. package/dist/ttcn-cfg-CPSMchTG.js +0 -4
  340. package/dist/turtle-B4rPGBWu.js +0 -4
  341. package/dist/vb-DaMBBd4j.js +0 -4
  342. package/dist/vbscript-BMJQqcE2.js +0 -4
  343. package/dist/velocity-CGq2QRq2.js +0 -4
  344. package/dist/verilog-CUNo8F5u.js +0 -4
  345. package/dist/vhdl-CCzA0msW.js +0 -4
  346. package/dist/webidl-CqIMDIBL.js +0 -4
  347. package/dist/xquery-XC5Kbr-1.js +0 -4
  348. package/dist/yacas-CGOv7Dzy.js +0 -4
  349. package/dist/z80-CXhVmi-f.js +0 -4
  350. /package/dist/{ImageComparisonComponent-1i5IBhon.js → ImageComparisonComponent-C3y7L3eJ.js} +0 -0
  351. /package/dist/{Plot-CAYS29h9.js → Plot-YQOuVIei.js} +0 -0
  352. /package/dist/{apl-BCgCq9iM.js → apl-99A7dLQe.js} +0 -0
  353. /package/dist/{array-tvvEqPy7.js → array-O78LT16Y.js} +0 -0
  354. /package/dist/{asciiarmor-BtqU-KJQ.js → asciiarmor-DLEhpFDx.js} +0 -0
  355. /package/dist/{asn1-Dmb-dTMx.js → asn1-CMrcTsT4.js} +0 -0
  356. /package/dist/{asterisk-DaVJJDnV.js → asterisk-CqykImq7.js} +0 -0
  357. /package/dist/{brainfuck-C1HoZKlE.js → brainfuck-ChPt5yBe.js} +0 -0
  358. /package/dist/{chunk-DR5Q36YT-BflwErH1.js → chunk-DR5Q36YT-5Yp2GWwR.js} +0 -0
  359. /package/dist/{click-outside-container-BLPjMamz.js → click-outside-container-BSIeYt4y.js} +0 -0
  360. /package/dist/{clike-CdT0yHjt.js → clike-CE0fXfM_.js} +0 -0
  361. /package/dist/{clojure-CdyrCpUv.js → clojure-QkBEMU-g.js} +0 -0
  362. /package/dist/{cmake-BFlPxym7.js → cmake-CU1jX7Mo.js} +0 -0
  363. /package/dist/{cobol-CcJXewp8.js → cobol-DMOKzzky.js} +0 -0
  364. /package/dist/{coffeescript-DnKuIKRo.js → coffeescript-DjnjLyfk.js} +0 -0
  365. /package/dist/{colors-CQAOa8cK.js → colors-DmiH1bIH.js} +0 -0
  366. /package/dist/{common-keywords-FBrXPTcz.js → common-keywords-D3nPJNQP.js} +0 -0
  367. /package/dist/{commonlisp-B-kok83Z.js → commonlisp-CYd9iOSe.js} +0 -0
  368. /package/dist/{crystal-FYRYjI1I.js → crystal-Dy55yoYG.js} +0 -0
  369. /package/dist/{css-B45lc2V3.js → css-CNU8w3HJ.js} +0 -0
  370. /package/dist/{cypher-DZMLyVY_.js → cypher-q47DGzK7.js} +0 -0
  371. /package/dist/{cytoscape.esm-ayF70frT.js → cytoscape.esm-Dr8XzXWK.js} +0 -0
  372. /package/dist/{d-x-VVT4o9.js → d-jEkaLvxX.js} +0 -0
  373. /package/dist/{defaultLocale-u-3osm0P.js → defaultLocale-BpsHxBd7.js} +0 -0
  374. /package/dist/{defaultLocale-BoHTsDG6.js → defaultLocale-DoeErsX2.js} +0 -0
  375. /package/dist/{diff-Dxe2mpXk.js → diff-vb2-unFN.js} +0 -0
  376. /package/dist/{dist-D-W5ny5a.js → dist-95kpvRSY.js} +0 -0
  377. /package/dist/{dist-BzEzfugY.js → dist-B56Dml3A.js} +0 -0
  378. /package/dist/{dist-hT4QzYX-.js → dist-D3T8fCFo.js} +0 -0
  379. /package/dist/{dist-DZORgqKY.js → dist-DPdzbDlL.js} +0 -0
  380. /package/dist/{dist-A2846XWO.js → dist-Db1W16d-.js} +0 -0
  381. /package/dist/{dist-DZo4nSS0.js → dist-DijFs2Lk.js} +0 -0
  382. /package/dist/{dist-BGdYVvOu.js → dist-DsoKosxi.js} +0 -0
  383. /package/dist/{dist-Dax--nl9.js → dist-DvOfvWFi.js} +0 -0
  384. /package/dist/{dist-CIYBwstr.js → dist-Dx3eDsHX.js} +0 -0
  385. /package/dist/{dist-DMjWuVs8.js → dist-c6wTyIhD.js} +0 -0
  386. /package/dist/{dtd-C9VM_Wfu.js → dtd-C9kR-bXa.js} +0 -0
  387. /package/dist/{duckdb-keywords-CvJhR_Yd.js → duckdb-keywords-B6HYCMOT.js} +0 -0
  388. /package/dist/{dylan-DTSnEIFO.js → dylan-BLckrK-V.js} +0 -0
  389. /package/dist/{ebnf-2D4Ctp3y.js → ebnf-Cnp3L9jg.js} +0 -0
  390. /package/dist/{ecl-N04ptnRK.js → ecl-CEsf6XVg.js} +0 -0
  391. /package/dist/{eiffel-Dd8rpqr_.js → eiffel-2KGZNzx6.js} +0 -0
  392. /package/dist/{elm-GT2E866W.js → elm-D2s3K5wF.js} +0 -0
  393. /package/dist/{emotion-is-prop-valid.esm-DzSb5hsH.js → emotion-is-prop-valid.esm-DdVSF4FD.js} +0 -0
  394. /package/dist/{erlang-Cf0Bp5pY.js → erlang-0PMFOndk.js} +0 -0
  395. /package/dist/{esm-BaaaPNGl.js → esm-CuQHjs36.js} +0 -0
  396. /package/dist/{fcl-Ccj8Z5Xd.js → fcl-D9nccAWI.js} +0 -0
  397. /package/dist/{forth-wd_XzGTg.js → forth-DG89iUsu.js} +0 -0
  398. /package/dist/{fortran-DcwUTZFe.js → fortran-ytKsAVvu.js} +0 -0
  399. /package/dist/{gas-DeALIER3.js → gas-Cg2Fm0N2.js} +0 -0
  400. /package/dist/{gherkin-CKTqaJNX.js → gherkin-B87FEnZ-.js} +0 -0
  401. /package/dist/{groovy-Bwdp_d8D.js → groovy-Dcs08AWD.js} +0 -0
  402. /package/dist/{haskell-DCdCcPLK.js → haskell-cwkOuhx6.js} +0 -0
  403. /package/dist/{haxe-DAyktQWJ.js → haxe-DWEo4q10.js} +0 -0
  404. /package/dist/{http-_DVAYWoR.js → http-B8jdG64J.js} +0 -0
  405. /package/dist/{idl-CBuZiRYu.js → idl-WWQwDcRV.js} +0 -0
  406. /package/dist/{init-uv0kkh4g.js → init-DNBbYZd_.js} +0 -0
  407. /package/dist/{javascript-DzigE11c.js → javascript-BeR74dxD.js} +0 -0
  408. /package/dist/{julia-PwfB-0Cm.js → julia-UlvCUYGL.js} +0 -0
  409. /package/dist/{katex-C_XRmjAP.js → katex-Bld7b-fk.js} +0 -0
  410. /package/dist/{livescript-BJLz1EbT.js → livescript-GPmFcmYV.js} +0 -0
  411. /package/dist/{lua-ZC-XC2jf.js → lua-DYoT_0zM.js} +0 -0
  412. /package/dist/{main-Tj_-QTyF.js → main-B1Jo_8pC.js} +0 -0
  413. /package/dist/{math-DFcdCCU8.js → math-CBNc2Ib0.js} +0 -0
  414. /package/dist/{mathematica-DCYMx6qB.js → mathematica-DSFIQlbG.js} +0 -0
  415. /package/dist/{mbox-OxMK_9XI.js → mbox-ej8lFMdL.js} +0 -0
  416. /package/dist/{micromark-factory-space-DF2w36zS.js → micromark-factory-space-CwHmg6iz.js} +0 -0
  417. /package/dist/{mirc-nJVyhA0H.js → mirc-CAdIdvHQ.js} +0 -0
  418. /package/dist/{mllike-DRO89bsU.js → mllike-CjTB1lHF.js} +0 -0
  419. /package/dist/{modelica-Don3E6ZD.js → modelica-BB68FYMa.js} +0 -0
  420. /package/dist/{mscgen-DJfqD3bN.js → mscgen-BkbzgGGI.js} +0 -0
  421. /package/dist/{mumps-SjGTvDYL.js → mumps-Cu-28E9F.js} +0 -0
  422. /package/dist/{nginx-DasThI7R.js → nginx-C1ofKPst.js} +0 -0
  423. /package/dist/{node-sql-parser-B8nBD36q.js → node-sql-parser-DLl_zNw0.js} +0 -0
  424. /package/dist/{ntriples-CNBKRl3I.js → ntriples-D9cQiZxZ.js} +0 -0
  425. /package/dist/{octave-DdeVHNlx.js → octave-BvtAnPX0.js} +0 -0
  426. /package/dist/{once-DPuqGUeo.js → once-B60G2fuJ.js} +0 -0
  427. /package/dist/{oz-CcKSoNvN.js → oz-COaVHk2E.js} +0 -0
  428. /package/dist/{pascal-6leftwNj.js → pascal-BFpqVD2x.js} +0 -0
  429. /package/dist/{path-BGaWgPKg.js → path-DwWbhZFI.js} +0 -0
  430. /package/dist/{perl-BhJIwWzN.js → perl-DaiORxHP.js} +0 -0
  431. /package/dist/{pig-r-xDHqRf.js → pig-DFzRhmsF.js} +0 -0
  432. /package/dist/{powershell-D-BELeNi.js → powershell-BG2LQNKN.js} +0 -0
  433. /package/dist/{properties-CnuDhbll.js → properties-CqJJR5QY.js} +0 -0
  434. /package/dist/{protobuf-CO8RBhvX.js → protobuf-WwDYV1yY.js} +0 -0
  435. /package/dist/{puppet-NmXHjLy8.js → puppet-QNY3w_uN.js} +0 -0
  436. /package/dist/{purify.es-H92eMd9-.js → purify.es-C-fIGuQm.js} +0 -0
  437. /package/dist/{python-DAQXi720.js → python-4QrQ3Ugi.js} +0 -0
  438. /package/dist/{q-DlikXfV0.js → q-DhwXuxE2.js} +0 -0
  439. /package/dist/{r-CuohilwT.js → r-Df-nkR25.js} +0 -0
  440. /package/dist/{range-C-rmrM1O.js → range-BOiA8qqU.js} +0 -0
  441. /package/dist/{rpm-0Pjwp0Pb.js → rpm-Cokue07s.js} +0 -0
  442. /package/dist/{ruby-Dq8NJTDG.js → ruby-DrYcL3qF.js} +0 -0
  443. /package/dist/{sas-CuwonyVP.js → sas-CoiPirA5.js} +0 -0
  444. /package/dist/{scheme-CYU-RRIf.js → scheme-CwFLjzHv.js} +0 -0
  445. /package/dist/{semaphore-CNDGTzkX.js → semaphore-C8rmHdhj.js} +0 -0
  446. /package/dist/{shell-COPmX2qE.js → shell-BFV-R24I.js} +0 -0
  447. /package/dist/{sieve-B_3zyLne.js → sieve-CxwXF5T9.js} +0 -0
  448. /package/dist/{simple-mode-DSBniks8.js → simple-mode-DTaJtKPt.js} +0 -0
  449. /package/dist/{smalltalk-DRft7iPv.js → smalltalk-QivVOCtX.js} +0 -0
  450. /package/dist/{solr-RZ9uTl59.js → solr-BLvysN-c.js} +0 -0
  451. /package/dist/{sparql-CN6qj55H.js → sparql-nKsFk8j7.js} +0 -0
  452. /package/dist/{spreadsheet-BNNUNXA2.js → spreadsheet-BWc8C2FT.js} +0 -0
  453. /package/dist/{sql-B4x8IkwU.js → sql-CWfUjlV1.js} +0 -0
  454. /package/dist/{stex-BIsgBmK4.js → stex-DtMAhV4-.js} +0 -0
  455. /package/dist/{stylus-Bn_ZjOQ3.js → stylus-BLKQAycn.js} +0 -0
  456. /package/dist/{swift-BLUJhMbz.js → swift-CJoKqiKj.js} +0 -0
  457. /package/dist/{tcl-C86fxecl.js → tcl-YTeYFNUc.js} +0 -0
  458. /package/dist/{textile-DmHh2rsK.js → textile-C6rKQqMQ.js} +0 -0
  459. /package/dist/{tiddlywiki-DI0mF2WJ.js → tiddlywiki-ZXwTHGNT.js} +0 -0
  460. /package/dist/{tiki-2HU6XLLn.js → tiki-C628O_u4.js} +0 -0
  461. /package/dist/{timer-YZl28NYN.js → timer-BpI_FKSA.js} +0 -0
  462. /package/dist/{toml-GWANRNAD.js → toml-DxlPGbRy.js} +0 -0
  463. /package/dist/{treemap-D-ka1hvx.js → treemap-DY3NBr79.js} +0 -0
  464. /package/dist/{troff-BHTsomIy.js → troff-DFCfH7Ku.js} +0 -0
  465. /package/dist/{ttcn-DQuhn5Mn.js → ttcn-DAW-ERVP.js} +0 -0
  466. /package/dist/{ttcn-cfg-HjFYtdB-.js → ttcn-cfg-CpJ8b7EN.js} +0 -0
  467. /package/dist/{turtle-nCay33Nv.js → turtle-BneV2f8L.js} +0 -0
  468. /package/dist/{vb-BG-XlqqJ.js → vb-D973Vxxh.js} +0 -0
  469. /package/dist/{vbscript-B6vyW0-D.js → vbscript-Dckaq3YO.js} +0 -0
  470. /package/dist/{velocity-CWegueqO.js → velocity-DKty-GUC.js} +0 -0
  471. /package/dist/{verilog-CzSQm4cG.js → verilog-aNaK_biA.js} +0 -0
  472. /package/dist/{vhdl-DqnNVL7r.js → vhdl-CQuehnQy.js} +0 -0
  473. /package/dist/{webidl-DXEUpDWH.js → webidl-Bhg8vaMr.js} +0 -0
  474. /package/dist/{xquery-Ba_NB5bD.js → xquery-D2q16GaM.js} +0 -0
  475. /package/dist/{yacas-HKQU6hyk.js → yacas-DHGOHnNa.js} +0 -0
  476. /package/dist/{z80-CXkHXLdj.js → z80-BPhTmO22.js} +0 -0
@@ -3,32 +3,32 @@ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { en
3
3
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
4
  var _a, _b;
5
5
  import { s as __toESM } from "./chunk-BNovOVIE.js";
6
- import { _ as Logger, g as cn, h as Events, l as useEventListener, t as Button } from "./button-BacYv-bE.js";
6
+ import { c as useEventListener, g as Logger, h as cn, m as Events, t as Button } from "./button-BcSml68y.js";
7
7
  import { t as require_react } from "./react-DA-nE2FX.js";
8
8
  import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
9
- import { dt as kioskModeAtom, ht as outputIsStale } from "./html-to-image-f-kPEnn0.js";
10
- import "./chunk-5FQGJX7Z-BbqSm5gU.js";
11
- import { u as createLucideIcon } from "./dist--2Bqjvs0.js";
12
- import { a as DEFAULT_DECK_VERTICAL_ALIGN, c as SlideSidebar, cn as Expand, ct as Panel, dn as Code, i as DEFAULT_DECK_TRANSITION, l as Slide, lt as PanelGroup, o as DEFAULT_SLIDE_TYPE, sn as EyeOff, t as useNotebookCodeAvailable, ut as PanelResizeHandle } from "./code-visibility-B5xe1Xp2.js";
13
- import { X as useDebouncedCallback } from "./input-CF5Sgjba.js";
14
- import "./toDate-CEOdz9nC.js";
9
+ import { dt as kioskModeAtom, ht as outputIsStale } from "./html-to-image-BoXPmWps.js";
10
+ import "./chunk-5FQGJX7Z-B9WoXK1R.js";
11
+ import { u as createLucideIcon } from "./dist-B96tMAst.js";
12
+ import { a as DEFAULT_DECK_VERTICAL_ALIGN, c as SlideSidebar, cn as Expand, ct as Panel, dn as Code, i as DEFAULT_DECK_TRANSITION, l as Slide, lt as PanelGroup, o as DEFAULT_SLIDE_TYPE, sn as EyeOff, t as useNotebookCodeAvailable, ut as PanelResizeHandle } from "./code-visibility-6VwDeiPl.js";
13
+ import { X as useDebouncedCallback } from "./input-DStQIuqD.js";
14
+ import "./toDate-B3IRfHhw.js";
15
15
  import "./react-dom-BTJzcVJ9.js";
16
16
  import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
17
- import { X as useFullScreenElement } from "./zod-CijjQh4u.js";
18
- import { t as Tooltip } from "./tooltip-Czds6Qr8.js";
19
- import { A as useEvent_default, S as useAtomValue, y as isIslands } from "./useTheme-BA-8MM7N.js";
17
+ import { X as useFullScreenElement } from "./zod-D0yOqoGe.js";
18
+ import { t as Tooltip } from "./tooltip-B-qh7UPB.js";
19
+ import { A as useEvent_default, S as useAtomValue, y as isIslands } from "./useTheme-XMq9mNf_.js";
20
20
  import "./dist-U4F-tbMs.js";
21
- import "./main-Tj_-QTyF.js";
22
- import "./dist-Dv_Y15yk.js";
23
- import "./dist-BSAt6RhH.js";
24
- import "./dist-D-W5ny5a.js";
25
- import "./dist-M9Vag9Y0.js";
26
- import "./dist-C_Y3oV3C.js";
27
- import "./purify.es-H92eMd9-.js";
28
- import "./vega-loader.browser-CZ-J8Py3.js";
29
- import "./loader-Boph2xIS.js";
30
- import "./defaultLocale-u-3osm0P.js";
31
- import "./defaultLocale-BoHTsDG6.js";
21
+ import "./main-B1Jo_8pC.js";
22
+ import "./dist-3MT9i_N5.js";
23
+ import "./dist-BvCrjp81.js";
24
+ import "./dist-95kpvRSY.js";
25
+ import "./dist-DPH6RMhL.js";
26
+ import "./dist-CNXNPADS.js";
27
+ import "./purify.es-C-fIGuQm.js";
28
+ import "./vega-loader.browser-IU8eTDwM.js";
29
+ import "./loader-BUGT0KbC.js";
30
+ import "./defaultLocale-BpsHxBd7.js";
31
+ import "./defaultLocale-DoeErsX2.js";
32
32
  var StickyNote = createLucideIcon("sticky-note", [["path", {
33
33
  d: "M21 9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2z",
34
34
  key: "1dfntj"
@@ -151,52 +151,52 @@ var StickyNote = createLucideIcon("sticky-note", [["path", {
151
151
  return !e7.styleComputed;
152
152
  })).forEach((function(e7) {
153
153
  e7.styleComputed = p(e7);
154
- })), e6.filter(co).forEach(lo);
155
- var t2 = e6.filter(so);
156
- t2.forEach(oo), t2.forEach((function(e7) {
157
- lo(e7), f(e7);
158
- })), t2.forEach(uo);
154
+ })), e6.filter(so).forEach(co);
155
+ var t2 = e6.filter(oo);
156
+ t2.forEach(ao), t2.forEach((function(e7) {
157
+ co(e7), f(e7);
158
+ })), t2.forEach(lo);
159
159
  }, f = function(e6) {
160
160
  return e6.dirty = n;
161
- }, oo = function(e6) {
161
+ }, ao = function(e6) {
162
162
  e6.availableWidth = e6.element.parentNode.clientWidth, e6.currentWidth = e6.element.scrollWidth, e6.previousFontSize = e6.currentFontSize, e6.currentFontSize = Math.min(Math.max(e6.minSize, e6.availableWidth / e6.currentWidth * e6.previousFontSize), e6.maxSize), e6.whiteSpace = e6.multiLine && e6.currentFontSize === e6.minSize ? "normal" : "nowrap";
163
- }, so = function(e6) {
163
+ }, oo = function(e6) {
164
164
  return e6.dirty !== i || e6.dirty === i && e6.element.parentNode.clientWidth !== e6.availableWidth;
165
165
  }, p = function(t2) {
166
166
  var n2 = e5.getComputedStyle(t2.element, null);
167
167
  return t2.currentFontSize = parseFloat(n2.getPropertyValue("font-size")), t2.display = n2.getPropertyValue("display"), t2.whiteSpace = n2.getPropertyValue("white-space"), true;
168
- }, co = function(e6) {
168
+ }, so = function(e6) {
169
169
  var t2 = false;
170
170
  return !e6.preStyleTestCompleted && (/inline-/.test(e6.display) || (t2 = true, e6.display = "inline-block"), e6.whiteSpace !== "nowrap" && (t2 = true, e6.whiteSpace = "nowrap"), e6.preStyleTestCompleted = true, t2);
171
- }, lo = function(e6) {
171
+ }, co = function(e6) {
172
172
  e6.element.style.whiteSpace = e6.whiteSpace, e6.element.style.display = e6.display, e6.element.style.fontSize = e6.currentFontSize + "px";
173
- }, uo = function(e6) {
173
+ }, lo = function(e6) {
174
174
  e6.element.dispatchEvent(new CustomEvent("fit", { detail: {
175
175
  oldValue: e6.previousFontSize,
176
176
  newValue: e6.currentFontSize,
177
177
  scaleFactor: e6.currentFontSize / e6.previousFontSize
178
178
  } }));
179
- }, fo = function(e6, t2) {
179
+ }, uo = function(e6, t2) {
180
180
  return function(n2) {
181
181
  e6.dirty = t2, e6.active && c(n2);
182
182
  };
183
- }, po = function(e6) {
183
+ }, fo = function(e6) {
184
184
  return function() {
185
185
  o = o.filter((function(t2) {
186
186
  return t2.element !== e6.element;
187
187
  })), e6.observeMutations && e6.observer.disconnect(), e6.element.style.whiteSpace = e6.originalStyle.whiteSpace, e6.element.style.display = e6.originalStyle.display, e6.element.style.fontSize = e6.originalStyle.fontSize;
188
188
  };
189
- }, mo = function(e6) {
189
+ }, po = function(e6) {
190
190
  return function() {
191
191
  e6.active || (e6.active = true, c());
192
192
  };
193
- }, ho = function(e6) {
193
+ }, mo = function(e6) {
194
194
  return function() {
195
195
  return e6.active = false;
196
196
  };
197
- }, go = function(e6) {
198
- e6.observeMutations && (e6.observer = new MutationObserver(fo(e6, r)), e6.observer.observe(e6.element, e6.observeMutations));
199
- }, _o = {
197
+ }, ho = function(e6) {
198
+ e6.observeMutations && (e6.observer = new MutationObserver(uo(e6, r)), e6.observer.observe(e6.element, e6.observeMutations));
199
+ }, go = {
200
200
  minSize: 16,
201
201
  maxSize: 512,
202
202
  multiLine: true,
@@ -205,18 +205,18 @@ var StickyNote = createLucideIcon("sticky-note", [["path", {
205
205
  childList: true,
206
206
  characterData: true
207
207
  }
208
- }, vo = null, yo = function() {
209
- e5.clearTimeout(vo), vo = e5.setTimeout(l(i), So.observeWindowDelay);
210
- }, bo = ["resize", "orientationchange"];
211
- return Object.defineProperty(So, "observeWindow", { set: function(t2) {
208
+ }, _o = null, vo = function() {
209
+ e5.clearTimeout(_o), _o = e5.setTimeout(l(i), xo.observeWindowDelay);
210
+ }, yo = ["resize", "orientationchange"];
211
+ return Object.defineProperty(xo, "observeWindow", { set: function(t2) {
212
212
  var n2 = `${t2 ? "add" : "remove"}EventListener`;
213
- bo.forEach((function(t3) {
214
- e5[n2](t3, yo);
213
+ yo.forEach((function(t3) {
214
+ e5[n2](t3, vo);
215
215
  }));
216
- } }), So.observeWindow = true, So.observeWindowDelay = 100, So.fitAll = l(a), So;
216
+ } }), xo.observeWindow = true, xo.observeWindowDelay = 100, xo.fitAll = l(a), xo;
217
217
  }
218
- function xo(e6, t2) {
219
- var n2 = Object.assign({}, _o, t2), r2 = e6.map((function(e7) {
218
+ function bo(e6, t2) {
219
+ var n2 = Object.assign({}, go, t2), r2 = e6.map((function(e7) {
220
220
  var t3 = Object.assign({}, n2, {
221
221
  element: e7,
222
222
  active: true
@@ -226,20 +226,20 @@ var StickyNote = createLucideIcon("sticky-note", [["path", {
226
226
  whiteSpace: e8.element.style.whiteSpace,
227
227
  display: e8.element.style.display,
228
228
  fontSize: e8.element.style.fontSize
229
- }, go(e8), e8.newbie = true, e8.dirty = true, o.push(e8);
229
+ }, ho(e8), e8.newbie = true, e8.dirty = true, o.push(e8);
230
230
  })(t3), {
231
231
  element: e7,
232
- fit: fo(t3, a),
233
- unfreeze: mo(t3),
234
- freeze: ho(t3),
235
- unsubscribe: po(t3)
232
+ fit: uo(t3, a),
233
+ unfreeze: po(t3),
234
+ freeze: mo(t3),
235
+ unsubscribe: fo(t3)
236
236
  };
237
237
  }));
238
238
  return c(), r2;
239
239
  }
240
- function So(e6) {
240
+ function xo(e6) {
241
241
  var n2 = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
242
- return typeof e6 == "string" ? xo(t(document.querySelectorAll(e6)), n2) : xo([e6], n2)[0];
242
+ return typeof e6 == "string" ? bo(t(document.querySelectorAll(e6)), n2) : bo([e6], n2)[0];
243
243
  }
244
244
  })(typeof window > "u" ? null : window), Ci = class {
245
245
  constructor(e5) {
@@ -671,8 +671,8 @@ var StickyNote = createLucideIcon("sticky-note", [["path", {
671
671
  r.length === 1 ? i = a = parseInt(r[0], 10) : (i = parseInt(r[0], 10), a = parseInt(r[1], 10));
672
672
  let o = this.element.offsetWidth, s = t.length, c, l;
673
673
  c = typeof this.Reveal.getConfig().parallaxBackgroundHorizontal == "number" ? this.Reveal.getConfig().parallaxBackgroundHorizontal : s > 1 ? (i - o) / (s - 1) : 0, l = c * e5.h * -1;
674
- let u = this.element.offsetHeight, f = n.length, oo, so;
675
- oo = typeof this.Reveal.getConfig().parallaxBackgroundVertical == "number" ? this.Reveal.getConfig().parallaxBackgroundVertical : (a - u) / (f - 1), so = f > 0 ? oo * e5.v : 0, this.element.style.backgroundPosition = l + "px " + -so + "px";
674
+ let u = this.element.offsetHeight, f = n.length, ao, oo;
675
+ ao = typeof this.Reveal.getConfig().parallaxBackgroundVertical == "number" ? this.Reveal.getConfig().parallaxBackgroundVertical : (a - u) / (f - 1), oo = f > 0 ? ao * e5.v : 0, this.element.style.backgroundPosition = l + "px " + -oo + "px";
676
676
  }
677
677
  }
678
678
  destroy() {
@@ -1078,32 +1078,32 @@ var StickyNote = createLucideIcon("sticky-note", [["path", {
1078
1078
  e6 && e6.background && (l = e6.background);
1079
1079
  }
1080
1080
  yield new Promise(requestAnimationFrame), this.Reveal.layoutSlideContents(o, s), yield new Promise(requestAnimationFrame);
1081
- let u = t.map((e6) => e6.scrollHeight), f = [], oo = t[0].parentNode, so = 1;
1081
+ let u = t.map((e6) => e6.scrollHeight), f = [], ao = t[0].parentNode, oo = 1;
1082
1082
  t.forEach(function(t2, r2) {
1083
1083
  if (t2.classList.contains("stack") === false) {
1084
- let c2 = (i - o) / 2, oo2 = (a - s) / 2, p = u[r2], co = Math.max(Math.ceil(p / a), 1);
1085
- co = Math.min(co, e5.pdfMaxPagesPerSlide), (co === 1 && e5.center || t2.classList.contains("center")) && (oo2 = Math.max((a - p) / 2, 0));
1086
- let lo = document.createElement("div");
1087
- if (f.push(lo), lo.className = "pdf-page", lo.style.height = (a + e5.pdfPageHeightOffset) * co + "px", l && (lo.style.background = l), lo.appendChild(t2), t2.style.left = c2 + "px", t2.style.top = oo2 + "px", t2.style.width = o + "px", this.Reveal.slideContent.layout(t2), t2.slideBackgroundElement && lo.insertBefore(t2.slideBackgroundElement, t2), e5.showNotes) {
1084
+ let c2 = (i - o) / 2, ao2 = (a - s) / 2, p = u[r2], so = Math.max(Math.ceil(p / a), 1);
1085
+ so = Math.min(so, e5.pdfMaxPagesPerSlide), (so === 1 && e5.center || t2.classList.contains("center")) && (ao2 = Math.max((a - p) / 2, 0));
1086
+ let co = document.createElement("div");
1087
+ if (f.push(co), co.className = "pdf-page", co.style.height = (a + e5.pdfPageHeightOffset) * so + "px", l && (co.style.background = l), co.appendChild(t2), t2.style.left = c2 + "px", t2.style.top = ao2 + "px", t2.style.width = o + "px", this.Reveal.slideContent.layout(t2), t2.slideBackgroundElement && co.insertBefore(t2.slideBackgroundElement, t2), e5.showNotes) {
1088
1088
  let n2 = this.Reveal.getSlideNotes(t2);
1089
1089
  if (n2) {
1090
1090
  let t3 = typeof e5.showNotes == "string" ? e5.showNotes : "inline", r3 = document.createElement("div");
1091
- r3.classList.add("speaker-notes"), r3.classList.add("speaker-notes-pdf"), r3.setAttribute("data-layout", t3), r3.innerHTML = n2, t3 === "separate-page" ? f.push(r3) : (r3.style.left = "8px", r3.style.bottom = "8px", r3.style.width = i - 16 + "px", lo.appendChild(r3));
1091
+ r3.classList.add("speaker-notes"), r3.classList.add("speaker-notes-pdf"), r3.setAttribute("data-layout", t3), r3.innerHTML = n2, t3 === "separate-page" ? f.push(r3) : (r3.style.left = "8px", r3.style.bottom = "8px", r3.style.width = i - 16 + "px", co.appendChild(r3));
1092
1092
  }
1093
1093
  }
1094
1094
  if (n) {
1095
1095
  let e6 = document.createElement("div");
1096
- e6.classList.add("slide-number"), e6.classList.add("slide-number-pdf"), e6.innerHTML = so++, lo.appendChild(e6);
1096
+ e6.classList.add("slide-number"), e6.classList.add("slide-number-pdf"), e6.innerHTML = oo++, co.appendChild(e6);
1097
1097
  }
1098
1098
  if (e5.pdfSeparateFragments) {
1099
- let e6 = this.Reveal.fragments.sort(lo.querySelectorAll(".fragment"), true), t3;
1099
+ let e6 = this.Reveal.fragments.sort(co.querySelectorAll(".fragment"), true), t3;
1100
1100
  e6.forEach(function(e7, r3) {
1101
1101
  t3 && t3.forEach(function(e8) {
1102
1102
  e8.classList.remove("current-fragment");
1103
1103
  }), e7.forEach(function(e8) {
1104
1104
  e8.classList.add("visible", "current-fragment");
1105
1105
  }, this);
1106
- let i2 = lo.cloneNode(true);
1106
+ let i2 = co.cloneNode(true);
1107
1107
  if (n) {
1108
1108
  let e8 = i2.querySelector(".slide-number-pdf"), t4 = r3 + 1;
1109
1109
  e8.innerHTML += "." + t4;
@@ -1114,11 +1114,11 @@ var StickyNote = createLucideIcon("sticky-note", [["path", {
1114
1114
  e8.classList.remove("visible", "current-fragment");
1115
1115
  });
1116
1116
  });
1117
- } else E$2(lo, ".fragment:not(.fade-out)").forEach(function(e6) {
1117
+ } else E$2(co, ".fragment:not(.fade-out)").forEach(function(e6) {
1118
1118
  e6.classList.add("visible");
1119
1119
  });
1120
1120
  }
1121
- }, this), yield new Promise(requestAnimationFrame), f.forEach((e6) => oo.appendChild(e6)), this.Reveal.slideContent.layout(this.Reveal.getSlidesElement()), this.Reveal.dispatchEvent({ type: "pdf-ready" }), c.classList.remove("loading-scroll-mode");
1121
+ }, this), yield new Promise(requestAnimationFrame), f.forEach((e6) => ao.appendChild(e6)), this.Reveal.slideContent.layout(this.Reveal.getSlidesElement()), this.Reveal.dispatchEvent({ type: "pdf-ready" }), c.classList.remove("loading-scroll-mode");
1122
1122
  });
1123
1123
  }
1124
1124
  isActive() {
@@ -2100,22 +2100,22 @@ function Ut$1(e5, t) {
2100
2100
  let n = {}, r = {}, i = false, a = false, o, s, c, l, u = {
2101
2101
  hasNavigatedHorizontally: false,
2102
2102
  hasNavigatedVertically: false
2103
- }, f = [], oo = 1, so = {
2103
+ }, f = [], ao = 1, oo = {
2104
2104
  layout: "",
2105
2105
  overview: ""
2106
- }, p = {}, co = "idle", lo = 0, uo, fo = 0, po = -1, mo = false, ho = new Ci(n), go = new Ii(n), _o = new Mi(n), vo = new Hi(n), yo = new Bi(n), bo = new Oi(n), xo = new Ui(n), So = new qi(n), Co = new Wi(n), wo = new ji(n), To = new Ki(n), Eo = new _i(n), Do = new $i(n), Oo = new Xi(n), ko = new Yi(n), Ao = new Gi(n), jo = new Qi(n), Mo = new Ji(n), No = new Zi(n);
2107
- function Io(a2) {
2106
+ }, p = {}, so = "idle", co = 0, lo, uo = 0, fo = -1, po = false, mo = new Ci(n), ho = new Ii(n), go = new Mi(n), _o = new Hi(n), vo = new Bi(n), yo = new Oi(n), bo = new Ui(n), xo = new qi(n), So = new Wi(n), Co = new ji(n), wo = new Ki(n), To = new _i(n), Eo = new $i(n), Do = new Xi(n), Oo = new Yi(n), ko = new Gi(n), Ao = new Qi(n), jo = new Ji(n), Mo = new Zi(n);
2107
+ function Fo(a2) {
2108
2108
  if (!e5) throw 'Unable to find presentation root (<div class="reveal">).';
2109
2109
  if (i) throw "Reveal.js has already been initialized.";
2110
2110
  if (i = true, p.wrapper = e5, p.slides = e5.querySelector(".slides"), !p.slides) throw 'Unable to find slides container (<div class="slides">).';
2111
- return r = Q$2(Q$2(Q$2(Q$2(Q$2({}, ts), r), t), a2), Mt$1()), /print-pdf/gi.test(window.location.search) && (r.view = "print"), Lo(), window.addEventListener("load", Ss, false), ko.load(r.plugins, r.dependencies).then(Uo), new Promise((e6) => n.on("ready", e6));
2111
+ return r = Q$2(Q$2(Q$2(Q$2(Q$2({}, ts), r), t), a2), Mt$1()), /print-pdf/gi.test(window.location.search) && (r.view = "print"), Io(), window.addEventListener("load", xs, false), Oo.load(r.plugins, r.dependencies).then(Ho), new Promise((e6) => n.on("ready", e6));
2112
2112
  }
2113
- function Lo() {
2113
+ function Io() {
2114
2114
  r.embedded === true ? p.viewport = V$1(e5, ".reveal-viewport") || e5 : (p.viewport = document.body, document.documentElement.classList.add("reveal-full-page")), p.viewport.classList.add("reveal-viewport");
2115
2115
  }
2116
- function Uo() {
2117
- i !== false && (a = true, qo(), Xo(), ds(), is(), ls(), Gs(), fs(), yo.update(true), Go(), To.readURL(), setTimeout(() => {
2118
- p.slides.classList.remove("no-transition"), p.wrapper.classList.add("ready"), ys({
2116
+ function Ho() {
2117
+ i !== false && (a = true, Ko(), Yo(), us(), rs(), cs(), Ws(), ds(), vo.update(true), Wo(), wo.readURL(), setTimeout(() => {
2118
+ p.slides.classList.remove("no-transition"), p.wrapper.classList.add("ready"), vs({
2119
2119
  type: "ready",
2120
2120
  data: {
2121
2121
  indexh: o,
@@ -2125,27 +2125,27 @@ function Ut$1(e5, t) {
2125
2125
  });
2126
2126
  }, 1));
2127
2127
  }
2128
- function Go() {
2128
+ function Wo() {
2129
2129
  let e6 = r.view === "print", t2 = r.view === "scroll" || r.view === "reader";
2130
- (e6 || t2) && (e6 ? ms() : Mo.unbind(), p.viewport.classList.add("loading-scroll-mode"), e6 ? document.readyState === "complete" ? xo.activate() : window.addEventListener("load", () => xo.activate()) : bo.activate());
2130
+ (e6 || t2) && (e6 ? ps() : jo.unbind(), p.viewport.classList.add("loading-scroll-mode"), e6 ? document.readyState === "complete" ? bo.activate() : window.addEventListener("load", () => bo.activate()) : yo.activate());
2131
2131
  }
2132
- function qo() {
2132
+ function Ko() {
2133
2133
  r.showHiddenSlides || E$2(p.wrapper, 'section[data-visibility="hidden"]').forEach((e6) => {
2134
2134
  let t2 = e6.parentNode;
2135
2135
  t2.childElementCount === 1 && /section/i.test(t2.nodeName) ? t2.remove() : e6.remove();
2136
2136
  });
2137
2137
  }
2138
- function Xo() {
2139
- p.slides.classList.add("no-transition"), le$2 ? p.wrapper.classList.add("no-hover") : p.wrapper.classList.remove("no-hover"), yo.render(), go.render(), _o.render(), Eo.render(), Do.render(), No.render(), p.pauseOverlay = wi(p.wrapper, "div", "pause-overlay", r.controls ? '<button class="resume-button">Resume presentation</button>' : null), p.statusElement = Zo(), p.wrapper.setAttribute("role", "application");
2138
+ function Yo() {
2139
+ p.slides.classList.add("no-transition"), le$2 ? p.wrapper.classList.add("no-hover") : p.wrapper.classList.remove("no-hover"), vo.render(), ho.render(), go.render(), To.render(), Eo.render(), Mo.render(), p.pauseOverlay = wi(p.wrapper, "div", "pause-overlay", r.controls ? '<button class="resume-button">Resume presentation</button>' : null), p.statusElement = Xo(), p.wrapper.setAttribute("role", "application");
2140
2140
  }
2141
- function Zo() {
2141
+ function Xo() {
2142
2142
  let e6 = p.wrapper.querySelector(".aria-status");
2143
2143
  return e6 || (e6 = document.createElement("div"), e6.style.position = "absolute", e6.style.height = "1px", e6.style.width = "1px", e6.style.overflow = "hidden", e6.style.clip = "rect( 1px, 1px, 1px, 1px )", e6.classList.add("aria-status"), e6.setAttribute("aria-live", "polite"), e6.setAttribute("aria-atomic", "true"), p.wrapper.appendChild(e6)), e6;
2144
2144
  }
2145
- function Qo(e6) {
2145
+ function Zo(e6) {
2146
2146
  p.statusElement.textContent = e6;
2147
2147
  }
2148
- function $o(e6) {
2148
+ function Qo(e6) {
2149
2149
  let t2 = "";
2150
2150
  if (e6.nodeType === 3) t2 += e6.textContent.trim();
2151
2151
  else if (e6.nodeType === 1) {
@@ -2153,10 +2153,10 @@ function Ut$1(e5, t) {
2153
2153
  if (n2 !== "true" && !r2) {
2154
2154
  if (e6.tagName === "IMG" || e6.tagName === "VIDEO") {
2155
2155
  let n3 = e6.getAttribute("alt");
2156
- n3 && (t2 += rs(n3));
2156
+ n3 && (t2 += ns(n3));
2157
2157
  }
2158
2158
  Array.from(e6.childNodes).forEach((e7) => {
2159
- t2 += $o(e7);
2159
+ t2 += Qo(e7);
2160
2160
  }), [
2161
2161
  "P",
2162
2162
  "DIV",
@@ -2170,58 +2170,58 @@ function Ut$1(e5, t) {
2170
2170
  "H5",
2171
2171
  "H6",
2172
2172
  "BLOCKQUOTE"
2173
- ].includes(e6.tagName) && t2.trim() !== "" && (t2 = rs(t2));
2173
+ ].includes(e6.tagName) && t2.trim() !== "" && (t2 = ns(t2));
2174
2174
  }
2175
2175
  }
2176
2176
  return t2 = t2.trim(), t2 === "" ? "" : t2 + " ";
2177
2177
  }
2178
- function rs(e6) {
2178
+ function ns(e6) {
2179
2179
  let t2 = e6.trim();
2180
2180
  return t2 === "" ? e6 : /[.!?]$/.test(t2) ? t2 : t2 + ".";
2181
2181
  }
2182
- function is() {
2182
+ function rs() {
2183
2183
  setInterval(() => {
2184
- (!bo.isActive() && p.wrapper.scrollTop !== 0 || p.wrapper.scrollLeft !== 0) && (p.wrapper.scrollTop = 0, p.wrapper.scrollLeft = 0);
2184
+ (!yo.isActive() && p.wrapper.scrollTop !== 0 || p.wrapper.scrollLeft !== 0) && (p.wrapper.scrollTop = 0, p.wrapper.scrollLeft = 0);
2185
2185
  }, 1e3);
2186
2186
  }
2187
- function ls() {
2188
- document.addEventListener("fullscreenchange", kc), document.addEventListener("webkitfullscreenchange", kc);
2187
+ function cs() {
2188
+ document.addEventListener("fullscreenchange", Oc), document.addEventListener("webkitfullscreenchange", Oc);
2189
2189
  }
2190
- function ds() {
2191
- r.postMessage && window.addEventListener("message", wc, false);
2190
+ function us() {
2191
+ r.postMessage && window.addEventListener("message", Cc, false);
2192
2192
  }
2193
- function fs(e6) {
2193
+ function ds(e6) {
2194
2194
  let t2 = Q$2({}, r);
2195
2195
  if (typeof e6 == "object" && ge$1(r, e6), n.isReady() === false) return;
2196
2196
  let i2 = p.wrapper.querySelectorAll(de$1).length;
2197
- p.wrapper.classList.remove(t2.transition), p.wrapper.classList.add(r.transition), p.wrapper.setAttribute("data-transition-speed", r.transitionSpeed), p.wrapper.setAttribute("data-background-transition", r.backgroundTransition), p.viewport.style.setProperty("--slide-width", typeof r.width == "string" ? r.width : r.width + "px"), p.viewport.style.setProperty("--slide-height", typeof r.height == "string" ? r.height : r.height + "px"), r.shuffle && Ks(), Ke$1(p.wrapper, "embedded", r.embedded), Ke$1(p.wrapper, "rtl", r.rtl), Ke$1(p.wrapper, "center", r.center), r.pause === false && Ps(), vo.reset(), uo && (uo = (uo.destroy(), null)), i2 > 1 && r.autoSlide && r.autoSlideStoppable && (uo = new es(p.wrapper, () => Math.min(Math.max((Date.now() - po) / lo, 0), 1)), uo.on("click", Ac), mo = false), r.navigationMode === "default" ? p.wrapper.removeAttribute("data-navigation-mode") : p.wrapper.setAttribute("data-navigation-mode", r.navigationMode), No.configure(r, t2), jo.configure(r, t2), Oo.configure(r, t2), Eo.configure(r, t2), Do.configure(r, t2), wo.configure(r, t2), So.configure(r, t2), go.configure(r, t2), Us();
2197
+ p.wrapper.classList.remove(t2.transition), p.wrapper.classList.add(r.transition), p.wrapper.setAttribute("data-transition-speed", r.transitionSpeed), p.wrapper.setAttribute("data-background-transition", r.backgroundTransition), p.viewport.style.setProperty("--slide-width", typeof r.width == "string" ? r.width : r.width + "px"), p.viewport.style.setProperty("--slide-height", typeof r.height == "string" ? r.height : r.height + "px"), r.shuffle && Gs(), Ke$1(p.wrapper, "embedded", r.embedded), Ke$1(p.wrapper, "rtl", r.rtl), Ke$1(p.wrapper, "center", r.center), r.pause === false && Ns(), _o.reset(), lo && (lo = (lo.destroy(), null)), i2 > 1 && r.autoSlide && r.autoSlideStoppable && (lo = new es(p.wrapper, () => Math.min(Math.max((Date.now() - fo) / co, 0), 1)), lo.on("click", kc), po = false), r.navigationMode === "default" ? p.wrapper.removeAttribute("data-navigation-mode") : p.wrapper.setAttribute("data-navigation-mode", r.navigationMode), Mo.configure(r, t2), Ao.configure(r, t2), Do.configure(r, t2), To.configure(r, t2), Eo.configure(r, t2), Co.configure(r, t2), xo.configure(r, t2), ho.configure(r, t2), Hs();
2198
+ }
2199
+ function fs() {
2200
+ window.addEventListener("resize", Ec, false), r.touch && jo.bind(), r.keyboard && Co.bind(), r.progress && Eo.bind(), r.respondToHashChanges && wo.bind(), To.bind(), Ao.bind(), p.slides.addEventListener("click", Tc, false), p.slides.addEventListener("transitionend", wc, false), p.pauseOverlay.addEventListener("click", Ns, false), r.focusBodyOnPageVisibilityChange && document.addEventListener("visibilitychange", Dc, false);
2198
2201
  }
2199
2202
  function ps() {
2200
- window.addEventListener("resize", Dc, false), r.touch && Mo.bind(), r.keyboard && wo.bind(), r.progress && Do.bind(), r.respondToHashChanges && To.bind(), Eo.bind(), jo.bind(), p.slides.addEventListener("click", Ec, false), p.slides.addEventListener("transitionend", Tc, false), p.pauseOverlay.addEventListener("click", Ps, false), r.focusBodyOnPageVisibilityChange && document.addEventListener("visibilitychange", Oc, false);
2203
+ jo.unbind(), Ao.unbind(), Co.unbind(), To.unbind(), Eo.unbind(), wo.unbind(), window.removeEventListener("resize", Ec, false), p.slides.removeEventListener("click", Tc, false), p.slides.removeEventListener("transitionend", wc, false), p.pauseOverlay.removeEventListener("click", Ns, false);
2201
2204
  }
2202
2205
  function ms() {
2203
- Mo.unbind(), jo.unbind(), wo.unbind(), Eo.unbind(), Do.unbind(), To.unbind(), window.removeEventListener("resize", Dc, false), p.slides.removeEventListener("click", Ec, false), p.slides.removeEventListener("transitionend", Tc, false), p.pauseOverlay.removeEventListener("click", Ps, false);
2204
- }
2205
- function hs() {
2206
- i = false, a !== false && (ms(), mc(), No.destroy(), jo.destroy(), Ao.destroy(), ko.destroy(), Oo.destroy(), Eo.destroy(), Do.destroy(), yo.destroy(), go.destroy(), _o.destroy(), document.removeEventListener("fullscreenchange", kc), document.removeEventListener("webkitfullscreenchange", kc), document.removeEventListener("visibilitychange", Oc, false), window.removeEventListener("message", wc, false), window.removeEventListener("load", Ss, false), p.pauseOverlay && p.pauseOverlay.remove(), p.statusElement && p.statusElement.remove(), document.documentElement.classList.remove("reveal-full-page"), p.wrapper.classList.remove("ready", "center", "has-horizontal-slides", "has-vertical-slides"), p.wrapper.removeAttribute("data-transition-speed"), p.wrapper.removeAttribute("data-background-transition"), p.viewport.classList.remove("reveal-viewport"), p.viewport.style.removeProperty("--slide-width"), p.viewport.style.removeProperty("--slide-height"), p.slides.style.removeProperty("width"), p.slides.style.removeProperty("height"), p.slides.style.removeProperty("zoom"), p.slides.style.removeProperty("left"), p.slides.style.removeProperty("top"), p.slides.style.removeProperty("bottom"), p.slides.style.removeProperty("right"), p.slides.style.removeProperty("transform"), Array.from(p.wrapper.querySelectorAll(de$1)).forEach((e6) => {
2206
+ i = false, a !== false && (ps(), pc(), Mo.destroy(), Ao.destroy(), ko.destroy(), Oo.destroy(), Do.destroy(), To.destroy(), Eo.destroy(), vo.destroy(), ho.destroy(), go.destroy(), document.removeEventListener("fullscreenchange", Oc), document.removeEventListener("webkitfullscreenchange", Oc), document.removeEventListener("visibilitychange", Dc, false), window.removeEventListener("message", Cc, false), window.removeEventListener("load", xs, false), p.pauseOverlay && p.pauseOverlay.remove(), p.statusElement && p.statusElement.remove(), document.documentElement.classList.remove("reveal-full-page"), p.wrapper.classList.remove("ready", "center", "has-horizontal-slides", "has-vertical-slides"), p.wrapper.removeAttribute("data-transition-speed"), p.wrapper.removeAttribute("data-background-transition"), p.viewport.classList.remove("reveal-viewport"), p.viewport.style.removeProperty("--slide-width"), p.viewport.style.removeProperty("--slide-height"), p.slides.style.removeProperty("width"), p.slides.style.removeProperty("height"), p.slides.style.removeProperty("zoom"), p.slides.style.removeProperty("left"), p.slides.style.removeProperty("top"), p.slides.style.removeProperty("bottom"), p.slides.style.removeProperty("right"), p.slides.style.removeProperty("transform"), Array.from(p.wrapper.querySelectorAll(de$1)).forEach((e6) => {
2207
2207
  e6.style.removeProperty("display"), e6.style.removeProperty("top"), e6.removeAttribute("hidden"), e6.removeAttribute("aria-hidden");
2208
2208
  }));
2209
2209
  }
2210
- function gs(t2, n2, r2) {
2210
+ function hs(t2, n2, r2) {
2211
2211
  e5.addEventListener(t2, n2, r2);
2212
2212
  }
2213
- function _s(t2, n2, r2) {
2213
+ function gs(t2, n2, r2) {
2214
2214
  e5.removeEventListener(t2, n2, r2);
2215
2215
  }
2216
- function vs(e6) {
2217
- typeof e6.layout == "string" && (so.layout = e6.layout), typeof e6.overview == "string" && (so.overview = e6.overview), so.layout ? ae$2(p.slides, so.layout + " " + so.overview) : ae$2(p.slides, so.overview);
2216
+ function _s(e6) {
2217
+ typeof e6.layout == "string" && (oo.layout = e6.layout), typeof e6.overview == "string" && (oo.overview = e6.overview), oo.layout ? ae$2(p.slides, oo.layout + " " + oo.overview) : ae$2(p.slides, oo.overview);
2218
2218
  }
2219
- function ys({ target: e6 = p.wrapper, type: t2, data: n2, bubbles: r2 = true }) {
2219
+ function vs({ target: e6 = p.wrapper, type: t2, data: n2, bubbles: r2 = true }) {
2220
2220
  let i2 = document.createEvent("HTMLEvents", 1, 2);
2221
- return i2.initEvent(t2, r2, true), ge$1(i2, n2), e6.dispatchEvent(i2), e6 === p.wrapper && xs(t2), i2;
2221
+ return i2.initEvent(t2, r2, true), ge$1(i2, n2), e6.dispatchEvent(i2), e6 === p.wrapper && bs(t2), i2;
2222
2222
  }
2223
- function bs(e6) {
2224
- ys({
2223
+ function ys(e6) {
2224
+ vs({
2225
2225
  type: "slidechanged",
2226
2226
  data: {
2227
2227
  indexh: o,
@@ -2232,41 +2232,41 @@ function Ut$1(e5, t) {
2232
2232
  }
2233
2233
  });
2234
2234
  }
2235
- function xs(e6, t2) {
2235
+ function bs(e6, t2) {
2236
2236
  if (r.postMessageEvents && window.parent !== window.self) {
2237
2237
  let n2 = {
2238
2238
  namespace: "reveal",
2239
2239
  eventName: e6,
2240
- state: dc()
2240
+ state: uc()
2241
2241
  };
2242
2242
  ge$1(n2, t2), window.parent.postMessage(JSON.stringify(n2), "*");
2243
2243
  }
2244
2244
  }
2245
- function Ss() {
2246
- if (p.wrapper && !xo.isActive()) {
2245
+ function xs() {
2246
+ if (p.wrapper && !bo.isActive()) {
2247
2247
  let e6 = p.viewport.offsetWidth, t2 = p.viewport.offsetHeight;
2248
2248
  if (!r.disableLayout) {
2249
2249
  le$2 && !r.embedded && document.documentElement.style.setProperty("--vh", window.innerHeight * 0.01 + "px");
2250
- let n2 = bo.isActive() ? Ts(e6, t2) : Ts(), i2 = oo;
2251
- Cs(r.width, r.height), p.slides.style.width = n2.width + "px", p.slides.style.height = n2.height + "px", oo = Math.min(n2.presentationWidth / n2.width, n2.presentationHeight / n2.height), oo = Math.max(oo, r.minScale), oo = Math.min(oo, r.maxScale), oo === 1 || bo.isActive() ? (p.slides.style.zoom = "", p.slides.style.left = "", p.slides.style.top = "", p.slides.style.bottom = "", p.slides.style.right = "", vs({ layout: "" })) : (p.slides.style.zoom = "", p.slides.style.left = "50%", p.slides.style.top = "50%", p.slides.style.bottom = "auto", p.slides.style.right = "auto", vs({ layout: "translate(-50%, -50%) scale(" + oo + ")" }));
2250
+ let n2 = yo.isActive() ? ws(e6, t2) : ws(), i2 = ao;
2251
+ Ss(r.width, r.height), p.slides.style.width = n2.width + "px", p.slides.style.height = n2.height + "px", ao = Math.min(n2.presentationWidth / n2.width, n2.presentationHeight / n2.height), ao = Math.max(ao, r.minScale), ao = Math.min(ao, r.maxScale), ao === 1 || yo.isActive() ? (p.slides.style.zoom = "", p.slides.style.left = "", p.slides.style.top = "", p.slides.style.bottom = "", p.slides.style.right = "", _s({ layout: "" })) : (p.slides.style.zoom = "", p.slides.style.left = "50%", p.slides.style.top = "50%", p.slides.style.bottom = "auto", p.slides.style.right = "auto", _s({ layout: "translate(-50%, -50%) scale(" + ao + ")" }));
2252
2252
  let a2 = Array.from(p.wrapper.querySelectorAll(de$1));
2253
2253
  for (let e7 = 0, t3 = a2.length; e7 < t3; e7++) {
2254
2254
  let t4 = a2[e7];
2255
2255
  t4.style.display !== "none" && (r.center || t4.classList.contains("center") ? t4.classList.contains("stack") ? t4.style.top = 0 : t4.style.top = Math.max((n2.height - t4.scrollHeight) / 2, 0) + "px" : t4.style.top = "");
2256
2256
  }
2257
- i2 !== oo && ys({
2257
+ i2 !== ao && vs({
2258
2258
  type: "resize",
2259
2259
  data: {
2260
2260
  oldScale: i2,
2261
- scale: oo,
2261
+ scale: ao,
2262
2262
  size: n2
2263
2263
  }
2264
2264
  });
2265
2265
  }
2266
- ws(), p.viewport.style.setProperty("--slide-scale", oo), p.viewport.style.setProperty("--viewport-width", e6 + "px"), p.viewport.style.setProperty("--viewport-height", t2 + "px"), bo.layout(), Do.update(), yo.updateParallax(), Co.isActive() && Co.update();
2266
+ Cs(), p.viewport.style.setProperty("--slide-scale", ao), p.viewport.style.setProperty("--viewport-width", e6 + "px"), p.viewport.style.setProperty("--viewport-height", t2 + "px"), yo.layout(), Eo.update(), vo.updateParallax(), So.isActive() && So.update();
2267
2267
  }
2268
2268
  }
2269
- function Cs(e6, t2) {
2269
+ function Ss(e6, t2) {
2270
2270
  E$2(p.slides, "section > .stretch, section > .r-stretch").forEach((n2) => {
2271
2271
  let r2 = Ei(n2, t2);
2272
2272
  if (/(img|video)/gi.test(n2.nodeName)) {
@@ -2275,13 +2275,13 @@ function Ut$1(e5, t) {
2275
2275
  } else n2.style.width = e6 + "px", n2.style.height = r2 + "px";
2276
2276
  });
2277
2277
  }
2278
- function ws() {
2279
- if (p.wrapper && !r.disableLayout && !xo.isActive() && typeof r.scrollActivationWidth == "number" && r.view !== "scroll") {
2280
- let e6 = Ts();
2281
- e6.presentationWidth > 0 && e6.presentationWidth <= r.scrollActivationWidth ? bo.isActive() || (yo.create(), bo.activate()) : bo.isActive() && bo.deactivate();
2278
+ function Cs() {
2279
+ if (p.wrapper && !r.disableLayout && !bo.isActive() && typeof r.scrollActivationWidth == "number" && r.view !== "scroll") {
2280
+ let e6 = ws();
2281
+ e6.presentationWidth > 0 && e6.presentationWidth <= r.scrollActivationWidth ? yo.isActive() || (vo.create(), yo.activate()) : yo.isActive() && yo.deactivate();
2282
2282
  }
2283
2283
  }
2284
- function Ts(e6, t2) {
2284
+ function ws(e6, t2) {
2285
2285
  let n2 = r.width, i2 = r.height;
2286
2286
  r.disableLayout && (n2 = p.slides.offsetWidth, i2 = p.slides.offsetHeight);
2287
2287
  let a2 = {
@@ -2292,58 +2292,58 @@ function Ut$1(e5, t) {
2292
2292
  };
2293
2293
  return a2.presentationWidth -= a2.presentationWidth * r.margin, a2.presentationHeight -= a2.presentationHeight * r.margin, typeof a2.width == "string" && /%$/.test(a2.width) && (a2.width = parseInt(a2.width, 10) / 100 * a2.presentationWidth), typeof a2.height == "string" && /%$/.test(a2.height) && (a2.height = parseInt(a2.height, 10) / 100 * a2.presentationHeight), a2;
2294
2294
  }
2295
- function Es(e6, t2) {
2295
+ function Ts(e6, t2) {
2296
2296
  typeof e6 == "object" && typeof e6.setAttribute == "function" && e6.setAttribute("data-previous-indexv", t2 || 0);
2297
2297
  }
2298
- function Ds(e6) {
2298
+ function Es(e6) {
2299
2299
  if (typeof e6 == "object" && typeof e6.setAttribute == "function" && e6.classList.contains("stack")) {
2300
2300
  let t2 = e6.hasAttribute("data-start-indexv") ? "data-start-indexv" : "data-previous-indexv";
2301
2301
  return parseInt(e6.getAttribute(t2) || 0, 10);
2302
2302
  }
2303
2303
  return 0;
2304
2304
  }
2305
- function Os(e6 = l) {
2305
+ function Ds(e6 = l) {
2306
2306
  return e6 && e6.parentNode && !!e6.parentNode.nodeName.match(/section/i);
2307
2307
  }
2308
- function ks(e6 = l) {
2308
+ function Os(e6 = l) {
2309
2309
  return e6.classList.contains(".stack") || e6.querySelector("section") !== null;
2310
2310
  }
2311
+ function ks() {
2312
+ return l && Ds(l) ? !l.nextElementSibling : false;
2313
+ }
2311
2314
  function As() {
2312
- return l && Os(l) ? !l.nextElementSibling : false;
2315
+ return o === 0 && s === 0;
2313
2316
  }
2314
2317
  function js() {
2315
- return o === 0 && s === 0;
2318
+ return l ? !(l.nextElementSibling || Ds(l) && l.parentNode.nextElementSibling) : false;
2316
2319
  }
2317
2320
  function Ms() {
2318
- return l ? !(l.nextElementSibling || Os(l) && l.parentNode.nextElementSibling) : false;
2319
- }
2320
- function Ns() {
2321
2321
  if (r.pause) {
2322
2322
  let e6 = p.wrapper.classList.contains("paused");
2323
- mc(), p.wrapper.classList.add("paused"), e6 === false && ys({ type: "paused" });
2323
+ pc(), p.wrapper.classList.add("paused"), e6 === false && vs({ type: "paused" });
2324
2324
  }
2325
2325
  }
2326
- function Ps() {
2326
+ function Ns() {
2327
2327
  let e6 = p.wrapper.classList.contains("paused");
2328
- p.wrapper.classList.remove("paused"), pc(), e6 && ys({ type: "resumed" });
2328
+ p.wrapper.classList.remove("paused"), fc(), e6 && vs({ type: "resumed" });
2329
2329
  }
2330
- function Fs(e6) {
2331
- typeof e6 == "boolean" ? e6 ? Ns() : Ps() : Is() ? Ps() : Ns();
2330
+ function Ps(e6) {
2331
+ typeof e6 == "boolean" ? e6 ? Ms() : Ns() : Fs() ? Ns() : Ms();
2332
2332
  }
2333
- function Is() {
2333
+ function Fs() {
2334
2334
  return p.wrapper.classList.contains("paused");
2335
2335
  }
2336
- function Ls(e6) {
2337
- typeof e6 == "boolean" ? e6 ? _o.show() : _o.hide() : _o.isVisible() ? _o.hide() : _o.show();
2336
+ function Is(e6) {
2337
+ typeof e6 == "boolean" ? e6 ? go.show() : go.hide() : go.isVisible() ? go.hide() : go.show();
2338
2338
  }
2339
- function Rs(e6) {
2340
- typeof e6 == "boolean" ? e6 ? gc() : hc() : mo ? gc() : hc();
2339
+ function Ls(e6) {
2340
+ typeof e6 == "boolean" ? e6 ? hc() : mc() : po ? hc() : mc();
2341
2341
  }
2342
- function zs() {
2343
- return !!(lo && !mo);
2342
+ function Rs() {
2343
+ return !!(co && !po);
2344
2344
  }
2345
- function Bs(t2, n2, i2, a2) {
2346
- if (ys({
2345
+ function zs(t2, n2, i2, a2) {
2346
+ if (vs({
2347
2347
  type: "beforeslidechange",
2348
2348
  data: {
2349
2349
  indexh: t2 === void 0 ? o : t2,
@@ -2353,90 +2353,90 @@ function Ut$1(e5, t) {
2353
2353
  }).defaultPrevented) return;
2354
2354
  c = l;
2355
2355
  let u2 = p.wrapper.querySelectorAll(te$2);
2356
- if (bo.isActive()) {
2357
- let e6 = bo.getSlideByIndices(t2, n2);
2358
- e6 && bo.scrollToSlide(e6);
2356
+ if (yo.isActive()) {
2357
+ let e6 = yo.getSlideByIndices(t2, n2);
2358
+ e6 && yo.scrollToSlide(e6);
2359
2359
  return;
2360
2360
  }
2361
2361
  if (u2.length === 0) return;
2362
- n2 === void 0 && !Co.isActive() && (n2 = Ds(u2[t2])), c && c.parentNode && c.parentNode.classList.contains("stack") && Es(c.parentNode, s);
2363
- let oo2 = f.concat();
2362
+ n2 === void 0 && !So.isActive() && (n2 = Es(u2[t2])), c && c.parentNode && c.parentNode.classList.contains("stack") && Ts(c.parentNode, s);
2363
+ let ao2 = f.concat();
2364
2364
  f.length = 0;
2365
- let so2 = o || 0, lo2 = s || 0;
2366
- o = qs(te$2, t2 === void 0 ? o : t2), s = qs(_e$1, n2 === void 0 ? s : n2);
2367
- let uo2 = o !== so2 || s !== lo2;
2368
- uo2 || (c = null);
2369
- let fo2 = u2[o], po2 = fo2.querySelectorAll("section");
2370
- e5.classList.toggle("is-vertical-slide", po2.length > 1), l = po2[s] || fo2;
2371
- let mo2 = false;
2372
- uo2 && c && l && !Co.isActive() && (co = "running", mo2 = Vs(c, l, so2, lo2), mo2 && p.slides.classList.add("disable-slide-transitions")), Xs(), Ss(), Co.isActive() && Co.update(), i2 !== void 0 && So.goto(i2), c && c !== l && (c.classList.remove("present"), c.setAttribute("aria-hidden", "true"), js() && setTimeout(() => {
2373
- ic().forEach((e6) => {
2374
- Es(e6, 0);
2365
+ let oo2 = o || 0, co2 = s || 0;
2366
+ o = Ks(te$2, t2 === void 0 ? o : t2), s = Ks(_e$1, n2 === void 0 ? s : n2);
2367
+ let lo2 = o !== oo2 || s !== co2;
2368
+ lo2 || (c = null);
2369
+ let uo2 = u2[o], fo2 = uo2.querySelectorAll("section");
2370
+ e5.classList.toggle("is-vertical-slide", fo2.length > 1), l = fo2[s] || uo2;
2371
+ let po2 = false;
2372
+ lo2 && c && l && !So.isActive() && (so = "running", po2 = Bs(c, l, oo2, co2), po2 && p.slides.classList.add("disable-slide-transitions")), Ys(), xs(), So.isActive() && So.update(), i2 !== void 0 && xo.goto(i2), c && c !== l && (c.classList.remove("present"), c.setAttribute("aria-hidden", "true"), As() && setTimeout(() => {
2373
+ rc().forEach((e6) => {
2374
+ Ts(e6, 0);
2375
2375
  });
2376
2376
  }, 0));
2377
2377
  e: for (let e6 = 0, t3 = f.length; e6 < t3; e6++) {
2378
- for (let t4 = 0; t4 < oo2.length; t4++) if (oo2[t4] === f[e6]) {
2379
- oo2.splice(t4, 1);
2378
+ for (let t4 = 0; t4 < ao2.length; t4++) if (ao2[t4] === f[e6]) {
2379
+ ao2.splice(t4, 1);
2380
2380
  continue e;
2381
2381
  }
2382
- p.viewport.classList.add(f[e6]), ys({ type: f[e6] });
2382
+ p.viewport.classList.add(f[e6]), vs({ type: f[e6] });
2383
2383
  }
2384
- for (; oo2.length; ) p.viewport.classList.remove(oo2.pop());
2385
- uo2 && (ho.afterSlideChanged(), bs(a2)), (uo2 || !c) && (ho.stopEmbeddedContent(c), ho.startEmbeddedContent(l)), requestAnimationFrame(() => {
2386
- Qo($o(l));
2387
- }), Do.update(), Eo.update(), No.update(), yo.update(), yo.updateParallax(), go.update(), So.update(), To.writeURL(), pc(), mo2 && (setTimeout(() => {
2384
+ for (; ao2.length; ) p.viewport.classList.remove(ao2.pop());
2385
+ lo2 && (mo.afterSlideChanged(), ys(a2)), (lo2 || !c) && (mo.stopEmbeddedContent(c), mo.startEmbeddedContent(l)), requestAnimationFrame(() => {
2386
+ Zo(Qo(l));
2387
+ }), Eo.update(), To.update(), Mo.update(), vo.update(), vo.updateParallax(), ho.update(), xo.update(), wo.writeURL(), fc(), po2 && (setTimeout(() => {
2388
2388
  p.slides.classList.remove("disable-slide-transitions");
2389
- }, 0), r.autoAnimate && vo.run(c, l));
2389
+ }, 0), r.autoAnimate && _o.run(c, l));
2390
2390
  }
2391
- function Vs(e6, t2, n2, r2) {
2391
+ function Bs(e6, t2, n2, r2) {
2392
2392
  return e6.hasAttribute("data-auto-animate") && t2.hasAttribute("data-auto-animate") && e6.getAttribute("data-auto-animate-id") === t2.getAttribute("data-auto-animate-id") && !(o > n2 || s > r2 ? t2 : e6).hasAttribute("data-auto-animate-restart");
2393
2393
  }
2394
- function Hs(e6, t2, n2) {
2394
+ function Vs(e6, t2, n2) {
2395
2395
  let i2 = o || 0;
2396
2396
  o = t2, s = n2;
2397
2397
  let a2 = l !== e6;
2398
- c = l, l = e6, l && c && r.autoAnimate && Vs(c, l, i2, s) && vo.run(c, l), a2 && (ho.afterSlideChanged(), c && (ho.stopEmbeddedContent(c), ho.stopEmbeddedContent(c.slideBackgroundElement)), ho.startEmbeddedContent(l), ho.startEmbeddedContent(l.slideBackgroundElement)), requestAnimationFrame(() => {
2399
- Qo($o(l));
2400
- }), bs();
2398
+ c = l, l = e6, l && c && r.autoAnimate && Bs(c, l, i2, s) && _o.run(c, l), a2 && (mo.afterSlideChanged(), c && (mo.stopEmbeddedContent(c), mo.stopEmbeddedContent(c.slideBackgroundElement)), mo.startEmbeddedContent(l), mo.startEmbeddedContent(l.slideBackgroundElement)), requestAnimationFrame(() => {
2399
+ Zo(Qo(l));
2400
+ }), ys();
2401
2401
  }
2402
- function Us() {
2403
- ms(), ps(), Ss(), lo = r.autoSlide, pc(), yo.create(), To.writeURL(), r.sortFragmentsOnSync === true && So.sortAll(), o !== void 0 && (o = qs(te$2, o), s = qs(_e$1, s)), Eo.update(), Do.update(), Xs(), No.update(), No.updateVisibility(), Ao.update(), yo.update(true), go.update(), ho.formatEmbeddedContent(), r.autoPlayMedia === false ? ho.stopEmbeddedContent(l, { unloadIframes: false }) : ho.startEmbeddedContent(l), Co.isActive() && Co.layout(), ys({ type: "sync" });
2402
+ function Hs() {
2403
+ ps(), fs(), xs(), co = r.autoSlide, fc(), vo.create(), wo.writeURL(), r.sortFragmentsOnSync === true && xo.sortAll(), o !== void 0 && (o = Ks(te$2, o), s = Ks(_e$1, s)), To.update(), Eo.update(), Ys(), Mo.update(), Mo.updateVisibility(), ko.update(), vo.update(true), ho.update(), mo.formatEmbeddedContent(), r.autoPlayMedia === false ? mo.stopEmbeddedContent(l, { unloadIframes: false }) : mo.startEmbeddedContent(l), So.isActive() && So.layout(), vs({ type: "sync" });
2404
2404
  }
2405
- function Ws(e6 = l) {
2406
- yo.sync(e6), So.sync(e6), ho.load(e6), yo.update(), No.update(), ys({
2405
+ function Us(e6 = l) {
2406
+ vo.sync(e6), xo.sync(e6), mo.load(e6), vo.update(), Mo.update(), vs({
2407
2407
  type: "slidesync",
2408
2408
  data: { slide: e6 }
2409
2409
  });
2410
2410
  }
2411
- function Gs() {
2412
- nc().forEach((e6) => {
2411
+ function Ws() {
2412
+ tc().forEach((e6) => {
2413
2413
  E$2(e6, "section").forEach((e7, t2) => {
2414
2414
  t2 > 0 && (e7.classList.remove("present"), e7.classList.remove("past"), e7.classList.add("future"), e7.setAttribute("aria-hidden", "true"));
2415
2415
  });
2416
2416
  });
2417
2417
  }
2418
- function Ks(e6 = nc()) {
2418
+ function Gs(e6 = tc()) {
2419
2419
  e6.forEach((t2, n2) => {
2420
2420
  let r2 = e6[Math.floor(Math.random() * e6.length)];
2421
2421
  r2.parentNode === t2.parentNode && t2.parentNode.insertBefore(t2, r2);
2422
2422
  let i2 = t2.querySelectorAll("section");
2423
- i2.length && Ks(i2);
2423
+ i2.length && Gs(i2);
2424
2424
  });
2425
2425
  }
2426
- function qs(e6, t2) {
2427
- let n2 = E$2(p.wrapper, e6), i2 = n2.length, a2 = bo.isActive() || xo.isActive(), o2 = false, s2 = false;
2426
+ function Ks(e6, t2) {
2427
+ let n2 = E$2(p.wrapper, e6), i2 = n2.length, a2 = yo.isActive() || bo.isActive(), o2 = false, s2 = false;
2428
2428
  if (i2) {
2429
2429
  r.loop && (t2 >= i2 && (o2 = true), t2 %= i2, t2 < 0 && (t2 = i2 + t2, s2 = true)), t2 = Math.max(Math.min(t2, i2 - 1), 0);
2430
2430
  for (let e8 = 0; e8 < i2; e8++) {
2431
- let i3 = n2[e8], c3 = r.rtl && !Os(i3);
2431
+ let i3 = n2[e8], c3 = r.rtl && !Ds(i3);
2432
2432
  if (i3.classList.remove("past"), i3.classList.remove("present"), i3.classList.remove("future"), i3.setAttribute("hidden", ""), i3.setAttribute("aria-hidden", "true"), i3.querySelector("section") && i3.classList.add("stack"), a2) {
2433
2433
  i3.classList.add("present");
2434
2434
  continue;
2435
2435
  }
2436
- e8 < t2 ? (i3.classList.add(c3 ? "future" : "past"), r.fragments && Js(i3)) : e8 > t2 ? (i3.classList.add(c3 ? "past" : "future"), r.fragments && Ys(i3)) : e8 === t2 && r.fragments && (o2 ? Ys(i3) : s2 && Js(i3));
2436
+ e8 < t2 ? (i3.classList.add(c3 ? "future" : "past"), r.fragments && qs(i3)) : e8 > t2 ? (i3.classList.add(c3 ? "past" : "future"), r.fragments && Js(i3)) : e8 === t2 && r.fragments && (o2 ? Js(i3) : s2 && qs(i3));
2437
2437
  }
2438
2438
  let e7 = n2[t2], c2 = e7.classList.contains("present");
2439
- e7.classList.add("present"), e7.removeAttribute("hidden"), e7.removeAttribute("aria-hidden"), c2 || ys({
2439
+ e7.classList.add("present"), e7.removeAttribute("hidden"), e7.removeAttribute("aria-hidden"), c2 || vs({
2440
2440
  target: e7,
2441
2441
  type: "visible",
2442
2442
  bubbles: false
@@ -2446,35 +2446,35 @@ function Ut$1(e5, t) {
2446
2446
  } else t2 = 0;
2447
2447
  return t2;
2448
2448
  }
2449
- function Js(e6) {
2449
+ function qs(e6) {
2450
2450
  E$2(e6, ".fragment").forEach((e7) => {
2451
2451
  e7.classList.add("visible"), e7.classList.remove("current-fragment");
2452
2452
  });
2453
2453
  }
2454
- function Ys(e6) {
2454
+ function Js(e6) {
2455
2455
  E$2(e6, ".fragment.visible").forEach((e7) => {
2456
2456
  e7.classList.remove("visible", "current-fragment");
2457
2457
  });
2458
2458
  }
2459
- function Xs() {
2460
- let e6 = nc(), t2 = e6.length, n2, i2;
2459
+ function Ys() {
2460
+ let e6 = tc(), t2 = e6.length, n2, i2;
2461
2461
  if (t2 && o !== void 0) {
2462
- let a2 = Co.isActive(), c2 = a2 ? 10 : r.viewDistance;
2463
- le$2 && (c2 = a2 ? 6 : r.mobileViewDistance), xo.isActive() && (c2 = Number.MAX_VALUE);
2462
+ let a2 = So.isActive(), c2 = a2 ? 10 : r.viewDistance;
2463
+ le$2 && (c2 = a2 ? 6 : r.mobileViewDistance), bo.isActive() && (c2 = Number.MAX_VALUE);
2464
2464
  for (let l2 = 0; l2 < t2; l2++) {
2465
- let u2 = e6[l2], f2 = E$2(u2, "section"), oo2 = f2.length;
2466
- if (n2 = Math.abs((o || 0) - l2) || 0, r.loop && (n2 = Math.abs(((o || 0) - l2) % (t2 - c2)) || 0), n2 < c2 ? ho.load(u2) : ho.unload(u2), oo2) {
2467
- let e7 = a2 ? 0 : Ds(u2);
2468
- for (let t3 = 0; t3 < oo2; t3++) {
2465
+ let u2 = e6[l2], f2 = E$2(u2, "section"), ao2 = f2.length;
2466
+ if (n2 = Math.abs((o || 0) - l2) || 0, r.loop && (n2 = Math.abs(((o || 0) - l2) % (t2 - c2)) || 0), n2 < c2 ? mo.load(u2) : mo.unload(u2), ao2) {
2467
+ let e7 = a2 ? 0 : Es(u2);
2468
+ for (let t3 = 0; t3 < ao2; t3++) {
2469
2469
  let r2 = f2[t3];
2470
- i2 = Math.abs(l2 === (o || 0) ? (s || 0) - t3 : t3 - e7), n2 + i2 < c2 ? ho.load(r2) : ho.unload(r2);
2470
+ i2 = Math.abs(l2 === (o || 0) ? (s || 0) - t3 : t3 - e7), n2 + i2 < c2 ? mo.load(r2) : mo.unload(r2);
2471
2471
  }
2472
2472
  }
2473
2473
  }
2474
- oc() ? p.wrapper.classList.add("has-vertical-slides") : p.wrapper.classList.remove("has-vertical-slides"), ac() ? p.wrapper.classList.add("has-horizontal-slides") : p.wrapper.classList.remove("has-horizontal-slides");
2474
+ ac() ? p.wrapper.classList.add("has-vertical-slides") : p.wrapper.classList.remove("has-vertical-slides"), ic() ? p.wrapper.classList.add("has-horizontal-slides") : p.wrapper.classList.remove("has-horizontal-slides");
2475
2475
  }
2476
2476
  }
2477
- function Zs({ includeFragments: e6 = false } = {}) {
2477
+ function Xs({ includeFragments: e6 = false } = {}) {
2478
2478
  let t2 = p.wrapper.querySelectorAll(te$2), n2 = p.wrapper.querySelectorAll(_e$1), i2 = {
2479
2479
  left: o > 0,
2480
2480
  right: o < t2.length - 1,
@@ -2482,7 +2482,7 @@ function Ut$1(e5, t) {
2482
2482
  down: s < n2.length - 1
2483
2483
  };
2484
2484
  if (r.loop && (t2.length > 1 && (i2.left = true, i2.right = true), n2.length > 1 && (i2.up = true, i2.down = true)), t2.length > 1 && r.navigationMode === "linear" && (i2.right = i2.right || i2.down, i2.left = i2.left || i2.up), e6 === true) {
2485
- let e7 = So.availableRoutes();
2485
+ let e7 = xo.availableRoutes();
2486
2486
  i2.left = i2.left || e7.prev, i2.up = i2.up || e7.prev, i2.down = i2.down || e7.next, i2.right = i2.right || e7.next;
2487
2487
  }
2488
2488
  if (r.rtl) {
@@ -2491,8 +2491,8 @@ function Ut$1(e5, t) {
2491
2491
  }
2492
2492
  return i2;
2493
2493
  }
2494
- function Qs(e6 = l) {
2495
- let t2 = nc(), n2 = 0;
2494
+ function Zs(e6 = l) {
2495
+ let t2 = tc(), n2 = 0;
2496
2496
  e: for (let r2 = 0; r2 < t2.length; r2++) {
2497
2497
  let i2 = t2[r2], a2 = i2.querySelectorAll("section");
2498
2498
  for (let t3 = 0; t3 < a2.length; t3++) {
@@ -2504,8 +2504,8 @@ function Ut$1(e5, t) {
2504
2504
  }
2505
2505
  return n2;
2506
2506
  }
2507
- function $s() {
2508
- let e6 = cc(), t2 = Qs();
2507
+ function Qs() {
2508
+ let e6 = sc(), t2 = Zs();
2509
2509
  if (l) {
2510
2510
  let e7 = l.querySelectorAll(".fragment");
2511
2511
  if (e7.length > 0) {
@@ -2515,11 +2515,11 @@ function Ut$1(e5, t) {
2515
2515
  }
2516
2516
  return Math.min(t2 / (e6 - 1), 1);
2517
2517
  }
2518
- function ec(e6) {
2518
+ function $s(e6) {
2519
2519
  let t2 = o, n2 = s, r2;
2520
- if (e6) if (bo.isActive()) t2 = parseInt(e6.getAttribute("data-index-h"), 10), e6.getAttribute("data-index-v") && (n2 = parseInt(e6.getAttribute("data-index-v"), 10));
2520
+ if (e6) if (yo.isActive()) t2 = parseInt(e6.getAttribute("data-index-h"), 10), e6.getAttribute("data-index-v") && (n2 = parseInt(e6.getAttribute("data-index-v"), 10));
2521
2521
  else {
2522
- let r3 = Os(e6), i2 = r3 ? e6.parentNode : e6, a2 = nc();
2522
+ let r3 = Ds(e6), i2 = r3 ? e6.parentNode : e6, a2 = tc();
2523
2523
  t2 = Math.max(a2.indexOf(i2), 0), n2 = void 0, r3 && (n2 = Math.max(E$2(e6.parentNode, "section").indexOf(e6), 0));
2524
2524
  }
2525
2525
  if (!e6 && l && l.querySelectorAll(".fragment").length > 0) {
@@ -2532,26 +2532,26 @@ function Ut$1(e5, t) {
2532
2532
  f: r2
2533
2533
  };
2534
2534
  }
2535
- function tc() {
2535
+ function ec() {
2536
2536
  return E$2(p.wrapper, de$1 + ':not(.stack):not([data-visibility="uncounted"])');
2537
2537
  }
2538
- function nc() {
2538
+ function tc() {
2539
2539
  return E$2(p.wrapper, te$2);
2540
2540
  }
2541
- function rc() {
2541
+ function nc() {
2542
2542
  return E$2(p.wrapper, ".slides>section>section");
2543
2543
  }
2544
- function ic() {
2544
+ function rc() {
2545
2545
  return E$2(p.wrapper, te$2 + ".stack");
2546
2546
  }
2547
+ function ic() {
2548
+ return tc().length > 1;
2549
+ }
2547
2550
  function ac() {
2548
2551
  return nc().length > 1;
2549
2552
  }
2550
2553
  function oc() {
2551
- return rc().length > 1;
2552
- }
2553
- function sc() {
2554
- return tc().map((e6) => {
2554
+ return ec().map((e6) => {
2555
2555
  let t2 = {};
2556
2556
  for (let n2 = 0; n2 < e6.attributes.length; n2++) {
2557
2557
  let r2 = e6.attributes[n2];
@@ -2560,102 +2560,102 @@ function Ut$1(e5, t) {
2560
2560
  return t2;
2561
2561
  });
2562
2562
  }
2563
- function cc() {
2564
- return tc().length;
2563
+ function sc() {
2564
+ return ec().length;
2565
2565
  }
2566
- function lc(e6, t2) {
2567
- let n2 = nc()[e6], r2 = n2 && n2.querySelectorAll("section");
2566
+ function cc(e6, t2) {
2567
+ let n2 = tc()[e6], r2 = n2 && n2.querySelectorAll("section");
2568
2568
  return r2 && r2.length && typeof t2 == "number" ? r2 ? r2[t2] : void 0 : n2;
2569
2569
  }
2570
- function uc(e6, t2) {
2571
- let n2 = typeof e6 == "number" ? lc(e6, t2) : e6;
2570
+ function lc(e6, t2) {
2571
+ let n2 = typeof e6 == "number" ? cc(e6, t2) : e6;
2572
2572
  if (n2) return n2.slideBackgroundElement;
2573
2573
  }
2574
- function dc() {
2575
- let e6 = ec();
2574
+ function uc() {
2575
+ let e6 = $s();
2576
2576
  return Q$2({
2577
2577
  indexh: e6.h,
2578
2578
  indexv: e6.v,
2579
2579
  indexf: e6.f,
2580
- paused: Is(),
2581
- overview: Co.isActive()
2582
- }, Ao.getState());
2580
+ paused: Fs(),
2581
+ overview: So.isActive()
2582
+ }, ko.getState());
2583
2583
  }
2584
- function fc(e6) {
2584
+ function dc(e6) {
2585
2585
  if (typeof e6 == "object") {
2586
- Bs(fe$1(e6.indexh), fe$1(e6.indexv), fe$1(e6.indexf));
2586
+ zs(fe$1(e6.indexh), fe$1(e6.indexv), fe$1(e6.indexf));
2587
2587
  let t2 = fe$1(e6.paused), n2 = fe$1(e6.overview);
2588
- typeof t2 == "boolean" && t2 !== Is() && Fs(t2), typeof n2 == "boolean" && n2 !== Co.isActive() && Co.toggle(n2), Ao.setState(e6);
2588
+ typeof t2 == "boolean" && t2 !== Fs() && Ps(t2), typeof n2 == "boolean" && n2 !== So.isActive() && So.toggle(n2), ko.setState(e6);
2589
2589
  }
2590
2590
  }
2591
- function pc() {
2592
- if (mc(), l && r.autoSlide !== false) {
2591
+ function fc() {
2592
+ if (pc(), l && r.autoSlide !== false) {
2593
2593
  let e6 = l.querySelector(".current-fragment[data-autoslide]"), t2 = e6 ? e6.getAttribute("data-autoslide") : null, n2 = l.parentNode ? l.parentNode.getAttribute("data-autoslide") : null, i2 = l.getAttribute("data-autoslide");
2594
- t2 ? lo = parseInt(t2, 10) : i2 ? lo = parseInt(i2, 10) : n2 ? lo = parseInt(n2, 10) : (lo = r.autoSlide, l.querySelectorAll(".fragment").length === 0 && E$2(l, "video, audio").forEach((e7) => {
2595
- e7.hasAttribute("data-autoplay") && lo && e7.duration * 1e3 / e7.playbackRate > lo && (lo = e7.duration * 1e3 / e7.playbackRate + 1e3);
2596
- })), lo && !mo && !Is() && !Co.isActive() && (!Ms() || So.availableRoutes().next || r.loop === true) && (fo = setTimeout(() => {
2597
- typeof r.autoSlideMethod == "function" ? r.autoSlideMethod() : Sc(), pc();
2598
- }, lo), po = Date.now()), uo && uo.setPlaying(fo !== -1);
2594
+ t2 ? co = parseInt(t2, 10) : i2 ? co = parseInt(i2, 10) : n2 ? co = parseInt(n2, 10) : (co = r.autoSlide, l.querySelectorAll(".fragment").length === 0 && E$2(l, "video, audio").forEach((e7) => {
2595
+ e7.hasAttribute("data-autoplay") && co && e7.duration * 1e3 / e7.playbackRate > co && (co = e7.duration * 1e3 / e7.playbackRate + 1e3);
2596
+ })), co && !po && !Fs() && !So.isActive() && (!js() || xo.availableRoutes().next || r.loop === true) && (uo = setTimeout(() => {
2597
+ typeof r.autoSlideMethod == "function" ? r.autoSlideMethod() : xc(), fc();
2598
+ }, co), fo = Date.now()), lo && lo.setPlaying(uo !== -1);
2599
2599
  }
2600
2600
  }
2601
+ function pc() {
2602
+ clearTimeout(uo), uo = -1;
2603
+ }
2601
2604
  function mc() {
2602
- clearTimeout(fo), fo = -1;
2605
+ co && !po && (po = true, vs({ type: "autoslidepaused" }), clearTimeout(uo), lo && lo.setPlaying(false));
2603
2606
  }
2604
2607
  function hc() {
2605
- lo && !mo && (mo = true, ys({ type: "autoslidepaused" }), clearTimeout(fo), uo && uo.setPlaying(false));
2608
+ co && po && (po = false, vs({ type: "autoslideresumed" }), fc());
2606
2609
  }
2607
- function gc() {
2608
- lo && mo && (mo = false, ys({ type: "autoslideresumed" }), pc());
2610
+ function gc({ skipFragments: e6 = false } = {}) {
2611
+ if (u.hasNavigatedHorizontally = true, yo.isActive()) return yo.prev();
2612
+ r.rtl ? (So.isActive() || e6 || xo.next() === false) && Xs().left && zs(o + 1, r.navigationMode === "grid" ? s : void 0) : (So.isActive() || e6 || xo.prev() === false) && Xs().left && zs(o - 1, r.navigationMode === "grid" ? s : void 0);
2609
2613
  }
2610
2614
  function _c({ skipFragments: e6 = false } = {}) {
2611
- if (u.hasNavigatedHorizontally = true, bo.isActive()) return bo.prev();
2612
- r.rtl ? (Co.isActive() || e6 || So.next() === false) && Zs().left && Bs(o + 1, r.navigationMode === "grid" ? s : void 0) : (Co.isActive() || e6 || So.prev() === false) && Zs().left && Bs(o - 1, r.navigationMode === "grid" ? s : void 0);
2615
+ if (u.hasNavigatedHorizontally = true, yo.isActive()) return yo.next();
2616
+ r.rtl ? (So.isActive() || e6 || xo.prev() === false) && Xs().right && zs(o - 1, r.navigationMode === "grid" ? s : void 0) : (So.isActive() || e6 || xo.next() === false) && Xs().right && zs(o + 1, r.navigationMode === "grid" ? s : void 0);
2613
2617
  }
2614
2618
  function vc({ skipFragments: e6 = false } = {}) {
2615
- if (u.hasNavigatedHorizontally = true, bo.isActive()) return bo.next();
2616
- r.rtl ? (Co.isActive() || e6 || So.prev() === false) && Zs().right && Bs(o - 1, r.navigationMode === "grid" ? s : void 0) : (Co.isActive() || e6 || So.next() === false) && Zs().right && Bs(o + 1, r.navigationMode === "grid" ? s : void 0);
2619
+ if (yo.isActive()) return yo.prev();
2620
+ (So.isActive() || e6 || xo.prev() === false) && Xs().up && zs(o, s - 1);
2617
2621
  }
2618
2622
  function yc({ skipFragments: e6 = false } = {}) {
2619
- if (bo.isActive()) return bo.prev();
2620
- (Co.isActive() || e6 || So.prev() === false) && Zs().up && Bs(o, s - 1);
2623
+ if (u.hasNavigatedVertically = true, yo.isActive()) return yo.next();
2624
+ (So.isActive() || e6 || xo.next() === false) && Xs().down && zs(o, s + 1);
2621
2625
  }
2622
2626
  function bc({ skipFragments: e6 = false } = {}) {
2623
- if (u.hasNavigatedVertically = true, bo.isActive()) return bo.next();
2624
- (Co.isActive() || e6 || So.next() === false) && Zs().down && Bs(o, s + 1);
2625
- }
2626
- function xc({ skipFragments: e6 = false } = {}) {
2627
- if (bo.isActive()) return bo.prev();
2628
- if (e6 || So.prev() === false) if (Zs().up) yc({ skipFragments: e6 });
2627
+ if (yo.isActive()) return yo.prev();
2628
+ if (e6 || xo.prev() === false) if (Xs().up) vc({ skipFragments: e6 });
2629
2629
  else {
2630
2630
  let t2;
2631
2631
  if (t2 = r.rtl ? E$2(p.wrapper, te$2 + ".future").pop() : E$2(p.wrapper, te$2 + ".past").pop(), t2 && t2.classList.contains("stack")) {
2632
2632
  let e7 = t2.querySelectorAll("section").length - 1 || void 0;
2633
- Bs(o - 1, e7);
2634
- } else r.rtl ? vc({ skipFragments: e6 }) : _c({ skipFragments: e6 });
2633
+ zs(o - 1, e7);
2634
+ } else r.rtl ? _c({ skipFragments: e6 }) : gc({ skipFragments: e6 });
2635
2635
  }
2636
2636
  }
2637
- function Sc({ skipFragments: e6 = false } = {}) {
2638
- if (u.hasNavigatedHorizontally = true, u.hasNavigatedVertically = true, bo.isActive()) return bo.next();
2639
- if (e6 || So.next() === false) {
2640
- let t2 = Zs();
2641
- t2.down && t2.right && r.loop && As() && (t2.down = false), t2.down ? bc({ skipFragments: e6 }) : r.rtl ? _c({ skipFragments: e6 }) : vc({ skipFragments: e6 });
2637
+ function xc({ skipFragments: e6 = false } = {}) {
2638
+ if (u.hasNavigatedHorizontally = true, u.hasNavigatedVertically = true, yo.isActive()) return yo.next();
2639
+ if (e6 || xo.next() === false) {
2640
+ let t2 = Xs();
2641
+ t2.down && t2.right && r.loop && ks() && (t2.down = false), t2.down ? yc({ skipFragments: e6 }) : r.rtl ? gc({ skipFragments: e6 }) : _c({ skipFragments: e6 });
2642
2642
  }
2643
2643
  }
2644
- function Cc(e6) {
2645
- r.autoSlideStoppable && hc();
2644
+ function Sc(e6) {
2645
+ r.autoSlideStoppable && mc();
2646
2646
  }
2647
- function wc(e6) {
2647
+ function Cc(e6) {
2648
2648
  let t2 = e6.data;
2649
2649
  if (typeof t2 == "string" && t2.charAt(0) === "{" && t2.charAt(t2.length - 1) === "}" && (t2 = JSON.parse(t2), t2.method && typeof n[t2.method] == "function")) if (Li.test(t2.method) === false) {
2650
2650
  let e7 = n[t2.method].apply(n, t2.args);
2651
- xs("callback", {
2651
+ bs("callback", {
2652
2652
  method: t2.method,
2653
2653
  result: e7
2654
2654
  });
2655
2655
  } else console.warn('reveal.js: "' + t2.method + '" is is blacklisted from the postMessage API');
2656
2656
  }
2657
- function Tc(e6) {
2658
- co === "running" && /section/gi.test(e6.target.nodeName) && (co = "idle", ys({
2657
+ function wc(e6) {
2658
+ so === "running" && /section/gi.test(e6.target.nodeName) && (so = "idle", vs({
2659
2659
  type: "slidetransitionend",
2660
2660
  data: {
2661
2661
  indexh: o,
@@ -2665,153 +2665,153 @@ function Ut$1(e5, t) {
2665
2665
  }
2666
2666
  }));
2667
2667
  }
2668
- function Ec(e6) {
2668
+ function Tc(e6) {
2669
2669
  let t2 = V$1(e6.target, 'a[href^="#"]');
2670
2670
  if (t2) {
2671
- let r2 = t2.getAttribute("href"), i2 = To.getIndicesFromHash(r2);
2671
+ let r2 = t2.getAttribute("href"), i2 = wo.getIndicesFromHash(r2);
2672
2672
  i2 && (n.slide(i2.h, i2.v, i2.f), e6.preventDefault());
2673
2673
  }
2674
2674
  }
2675
- function Dc(e6) {
2676
- Ss();
2675
+ function Ec(e6) {
2676
+ xs();
2677
2677
  }
2678
- function Oc(e6) {
2678
+ function Dc(e6) {
2679
2679
  document.hidden === false && document.activeElement !== document.body && (typeof document.activeElement.blur == "function" && document.activeElement.blur(), document.body.focus());
2680
2680
  }
2681
- function kc(e6) {
2681
+ function Oc(e6) {
2682
2682
  (document.fullscreenElement || document.webkitFullscreenElement) === p.wrapper && (e6.stopImmediatePropagation(), setTimeout(() => {
2683
2683
  n.layout(), n.focus.focus();
2684
2684
  }, 1));
2685
2685
  }
2686
- function Ac(e6) {
2687
- Ms() && r.loop === false ? (Bs(0, 0), gc()) : mo ? gc() : hc();
2686
+ function kc(e6) {
2687
+ js() && r.loop === false ? (zs(0, 0), hc()) : po ? hc() : mc();
2688
2688
  }
2689
- let jc = {
2689
+ let Ac = {
2690
2690
  VERSION: Ot$1,
2691
- initialize: Io,
2692
- configure: fs,
2693
- destroy: hs,
2694
- sync: Us,
2695
- syncSlide: Ws,
2696
- syncFragments: So.sync.bind(So),
2697
- slide: Bs,
2698
- left: _c,
2699
- right: vc,
2700
- up: yc,
2701
- down: bc,
2702
- prev: xc,
2703
- next: Sc,
2704
- navigateLeft: _c,
2705
- navigateRight: vc,
2706
- navigateUp: yc,
2707
- navigateDown: bc,
2708
- navigatePrev: xc,
2709
- navigateNext: Sc,
2710
- navigateFragment: So.goto.bind(So),
2711
- prevFragment: So.prev.bind(So),
2712
- nextFragment: So.next.bind(So),
2713
- on: gs,
2714
- off: _s,
2715
- addEventListener: gs,
2716
- removeEventListener: _s,
2717
- layout: Ss,
2718
- shuffle: Ks,
2719
- availableRoutes: Zs,
2720
- availableFragments: So.availableRoutes.bind(So),
2721
- toggleHelp: Ao.toggleHelp.bind(Ao),
2722
- toggleOverview: Co.toggle.bind(Co),
2723
- toggleScrollView: bo.toggle.bind(bo),
2724
- togglePause: Fs,
2725
- toggleAutoSlide: Rs,
2726
- toggleJumpToSlide: Ls,
2727
- isFirstSlide: js,
2728
- isLastSlide: Ms,
2729
- isLastVerticalSlide: As,
2730
- isVerticalSlide: Os,
2731
- isVerticalStack: ks,
2732
- isPaused: Is,
2733
- isAutoSliding: zs,
2734
- isSpeakerNotes: No.isSpeakerNotesWindow.bind(No),
2735
- isOverview: Co.isActive.bind(Co),
2736
- isFocused: jo.isFocused.bind(jo),
2737
- isOverlayOpen: Ao.isOpen.bind(Ao),
2738
- isScrollView: bo.isActive.bind(bo),
2739
- isPrintView: xo.isActive.bind(xo),
2691
+ initialize: Fo,
2692
+ configure: ds,
2693
+ destroy: ms,
2694
+ sync: Hs,
2695
+ syncSlide: Us,
2696
+ syncFragments: xo.sync.bind(xo),
2697
+ slide: zs,
2698
+ left: gc,
2699
+ right: _c,
2700
+ up: vc,
2701
+ down: yc,
2702
+ prev: bc,
2703
+ next: xc,
2704
+ navigateLeft: gc,
2705
+ navigateRight: _c,
2706
+ navigateUp: vc,
2707
+ navigateDown: yc,
2708
+ navigatePrev: bc,
2709
+ navigateNext: xc,
2710
+ navigateFragment: xo.goto.bind(xo),
2711
+ prevFragment: xo.prev.bind(xo),
2712
+ nextFragment: xo.next.bind(xo),
2713
+ on: hs,
2714
+ off: gs,
2715
+ addEventListener: hs,
2716
+ removeEventListener: gs,
2717
+ layout: xs,
2718
+ shuffle: Gs,
2719
+ availableRoutes: Xs,
2720
+ availableFragments: xo.availableRoutes.bind(xo),
2721
+ toggleHelp: ko.toggleHelp.bind(ko),
2722
+ toggleOverview: So.toggle.bind(So),
2723
+ toggleScrollView: yo.toggle.bind(yo),
2724
+ togglePause: Ps,
2725
+ toggleAutoSlide: Ls,
2726
+ toggleJumpToSlide: Is,
2727
+ isFirstSlide: As,
2728
+ isLastSlide: js,
2729
+ isLastVerticalSlide: ks,
2730
+ isVerticalSlide: Ds,
2731
+ isVerticalStack: Os,
2732
+ isPaused: Fs,
2733
+ isAutoSliding: Rs,
2734
+ isSpeakerNotes: Mo.isSpeakerNotesWindow.bind(Mo),
2735
+ isOverview: So.isActive.bind(So),
2736
+ isFocused: Ao.isFocused.bind(Ao),
2737
+ isOverlayOpen: ko.isOpen.bind(ko),
2738
+ isScrollView: yo.isActive.bind(yo),
2739
+ isPrintView: bo.isActive.bind(bo),
2740
2740
  isReady: () => a,
2741
- loadSlide: ho.load.bind(ho),
2742
- unloadSlide: ho.unload.bind(ho),
2743
- startEmbeddedContent: () => ho.startEmbeddedContent(l),
2744
- stopEmbeddedContent: () => ho.stopEmbeddedContent(l, { unloadIframes: false }),
2745
- previewIframe: Ao.previewIframe.bind(Ao),
2746
- previewImage: Ao.previewImage.bind(Ao),
2747
- previewVideo: Ao.previewVideo.bind(Ao),
2748
- showPreview: Ao.previewIframe.bind(Ao),
2749
- hidePreview: Ao.close.bind(Ao),
2750
- addEventListeners: ps,
2751
- removeEventListeners: ms,
2752
- dispatchEvent: ys,
2753
- getState: dc,
2754
- setState: fc,
2755
- getProgress: $s,
2756
- getIndices: ec,
2757
- getSlidesAttributes: sc,
2758
- getSlidePastCount: Qs,
2759
- getTotalSlides: cc,
2760
- getSlide: lc,
2741
+ loadSlide: mo.load.bind(mo),
2742
+ unloadSlide: mo.unload.bind(mo),
2743
+ startEmbeddedContent: () => mo.startEmbeddedContent(l),
2744
+ stopEmbeddedContent: () => mo.stopEmbeddedContent(l, { unloadIframes: false }),
2745
+ previewIframe: ko.previewIframe.bind(ko),
2746
+ previewImage: ko.previewImage.bind(ko),
2747
+ previewVideo: ko.previewVideo.bind(ko),
2748
+ showPreview: ko.previewIframe.bind(ko),
2749
+ hidePreview: ko.close.bind(ko),
2750
+ addEventListeners: fs,
2751
+ removeEventListeners: ps,
2752
+ dispatchEvent: vs,
2753
+ getState: uc,
2754
+ setState: dc,
2755
+ getProgress: Qs,
2756
+ getIndices: $s,
2757
+ getSlidesAttributes: oc,
2758
+ getSlidePastCount: Zs,
2759
+ getTotalSlides: sc,
2760
+ getSlide: cc,
2761
2761
  getPreviousSlide: () => c,
2762
2762
  getCurrentSlide: () => l,
2763
- getSlideBackground: uc,
2764
- getSlideNotes: No.getSlideNotes.bind(No),
2765
- getSlides: tc,
2766
- getHorizontalSlides: nc,
2767
- getVerticalSlides: rc,
2768
- hasHorizontalSlides: ac,
2769
- hasVerticalSlides: oc,
2763
+ getSlideBackground: lc,
2764
+ getSlideNotes: Mo.getSlideNotes.bind(Mo),
2765
+ getSlides: ec,
2766
+ getHorizontalSlides: tc,
2767
+ getVerticalSlides: nc,
2768
+ hasHorizontalSlides: ic,
2769
+ hasVerticalSlides: ac,
2770
2770
  hasNavigatedHorizontally: () => u.hasNavigatedHorizontally,
2771
2771
  hasNavigatedVertically: () => u.hasNavigatedVertically,
2772
- shouldAutoAnimateBetween: Vs,
2773
- addKeyBinding: wo.addKeyBinding.bind(wo),
2774
- removeKeyBinding: wo.removeKeyBinding.bind(wo),
2775
- triggerKey: wo.triggerKey.bind(wo),
2776
- registerKeyboardShortcut: wo.registerKeyboardShortcut.bind(wo),
2777
- getComputedSlideSize: Ts,
2778
- setCurrentScrollPage: Hs,
2779
- removeHiddenSlides: qo,
2780
- getScale: () => oo,
2772
+ shouldAutoAnimateBetween: Bs,
2773
+ addKeyBinding: Co.addKeyBinding.bind(Co),
2774
+ removeKeyBinding: Co.removeKeyBinding.bind(Co),
2775
+ triggerKey: Co.triggerKey.bind(Co),
2776
+ registerKeyboardShortcut: Co.registerKeyboardShortcut.bind(Co),
2777
+ getComputedSlideSize: ws,
2778
+ setCurrentScrollPage: Vs,
2779
+ removeHiddenSlides: Ko,
2780
+ getScale: () => ao,
2781
2781
  getConfig: () => r,
2782
2782
  getQueryHash: Mt$1,
2783
- getSlidePath: To.getHash.bind(To),
2783
+ getSlidePath: wo.getHash.bind(wo),
2784
2784
  getRevealElement: () => e5,
2785
2785
  getSlidesElement: () => p.slides,
2786
2786
  getViewportElement: () => p.viewport,
2787
- getBackgroundsElement: () => yo.element,
2788
- registerPlugin: ko.registerPlugin.bind(ko),
2789
- hasPlugin: ko.hasPlugin.bind(ko),
2790
- getPlugin: ko.getPlugin.bind(ko),
2791
- getPlugins: ko.getRegisteredPlugins.bind(ko)
2787
+ getBackgroundsElement: () => vo.element,
2788
+ registerPlugin: Oo.registerPlugin.bind(Oo),
2789
+ hasPlugin: Oo.hasPlugin.bind(Oo),
2790
+ getPlugin: Oo.getPlugin.bind(Oo),
2791
+ getPlugins: Oo.getRegisteredPlugins.bind(Oo)
2792
2792
  };
2793
- return ge$1(n, We$1(Q$2({}, jc), {
2794
- announceStatus: Qo,
2795
- getStatusText: $o,
2796
- focus: jo,
2797
- scroll: bo,
2798
- progress: Do,
2799
- controls: Eo,
2800
- location: To,
2801
- overview: Co,
2802
- keyboard: wo,
2803
- fragments: So,
2804
- backgrounds: yo,
2805
- slideContent: ho,
2806
- slideNumber: go,
2807
- onUserInput: Cc,
2808
- closeOverlay: Ao.close.bind(Ao),
2809
- updateSlidesVisibility: Xs,
2810
- layoutSlideContents: Cs,
2811
- transformSlides: vs,
2812
- cueAutoSlide: pc,
2813
- cancelAutoSlide: mc
2814
- })), jc;
2793
+ return ge$1(n, We$1(Q$2({}, Ac), {
2794
+ announceStatus: Zo,
2795
+ getStatusText: Qo,
2796
+ focus: Ao,
2797
+ scroll: yo,
2798
+ progress: Eo,
2799
+ controls: To,
2800
+ location: wo,
2801
+ overview: So,
2802
+ keyboard: Co,
2803
+ fragments: xo,
2804
+ backgrounds: vo,
2805
+ slideContent: mo,
2806
+ slideNumber: ho,
2807
+ onUserInput: Sc,
2808
+ closeOverlay: ko.close.bind(ko),
2809
+ updateSlidesVisibility: Ys,
2810
+ layoutSlideContents: Ss,
2811
+ transformSlides: _s,
2812
+ cueAutoSlide: fc,
2813
+ cancelAutoSlide: pc
2814
+ })), Ac;
2815
2815
  }
2816
2816
  var ce$1 = Ut$1, qt$1 = [];
2817
2817
  ce$1.initialize = (e5) => {
@@ -2856,36 +2856,36 @@ function v$1(e5, t, n) {
2856
2856
  function y(e5, t, n) {
2857
2857
  return e5 ? JSON.stringify(v$1(e5, t, n)) : "[]";
2858
2858
  }
2859
- function b({ config: e5, plugins: t = ee$1, onReady: n, onSync: r, onSlideSync: i, onSlideChange: a, onSlideTransitionEnd: o, onFragmentShown: s, onFragmentHidden: c, onOverviewShown: l, onOverviewHidden: u, onPaused: f, onResumed: oo, deckRef: so, className: p, style: co, children: lo }) {
2860
- let uo = (0, import_react.useRef)(null), fo = (0, import_react.useRef)(null), po = (0, import_react.useRef)(null), [mo, ho] = (0, import_react.useState)(null), go = (0, import_react.useRef)(t), _o = (0, import_react.useRef)(false), vo = (0, import_react.useRef)(e5), yo = (0, import_react.useRef)(null), bo = (0, import_react.useRef)(/* @__PURE__ */ new WeakMap()), xo = (0, import_react.useRef)(1), So = (0, import_react.useRef)(false), Co = (0, import_react.useRef)(0);
2859
+ function b({ config: e5, plugins: t = ee$1, onReady: n, onSync: r, onSlideSync: i, onSlideChange: a, onSlideTransitionEnd: o, onFragmentShown: s, onFragmentHidden: c, onOverviewShown: l, onOverviewHidden: u, onPaused: f, onResumed: ao, deckRef: oo, className: p, style: so, children: co }) {
2860
+ let lo = (0, import_react.useRef)(null), uo = (0, import_react.useRef)(null), fo = (0, import_react.useRef)(null), [po, mo] = (0, import_react.useState)(null), ho = (0, import_react.useRef)(t), go = (0, import_react.useRef)(false), _o = (0, import_react.useRef)(e5), vo = (0, import_react.useRef)(null), yo = (0, import_react.useRef)(/* @__PURE__ */ new WeakMap()), bo = (0, import_react.useRef)(1), xo = (0, import_react.useRef)(false), So = (0, import_react.useRef)(0);
2861
2861
  return (0, import_react.useEffect)(() => {
2862
- if (So.current = true, Co.current += 1, po.current) po.current.isReady() && ho(po.current);
2862
+ if (xo.current = true, So.current += 1, fo.current) fo.current.isReady() && mo(fo.current);
2863
2863
  else {
2864
- let t2 = new ce$1(uo.current, {
2864
+ let t2 = new ce$1(lo.current, {
2865
2865
  ...e5,
2866
- plugins: go.current
2866
+ plugins: ho.current
2867
2867
  });
2868
- vo.current = e5, po.current = t2, t2.initialize().then(() => {
2869
- !So.current || po.current !== t2 || (ho(t2), n == null ? void 0 : n(t2));
2868
+ _o.current = e5, fo.current = t2, t2.initialize().then(() => {
2869
+ !xo.current || fo.current !== t2 || (mo(t2), n == null ? void 0 : n(t2));
2870
2870
  });
2871
2871
  }
2872
2872
  return () => {
2873
- So.current = false;
2874
- let e6 = po.current;
2873
+ xo.current = false;
2874
+ let e6 = fo.current;
2875
2875
  if (!e6) return;
2876
- let t2 = ++Co.current;
2876
+ let t2 = ++So.current;
2877
2877
  Promise.resolve().then(() => {
2878
- if (!(So.current || Co.current !== t2) && po.current === e6) {
2878
+ if (!(xo.current || So.current !== t2) && fo.current === e6) {
2879
2879
  try {
2880
2880
  e6.destroy();
2881
2881
  } catch {
2882
2882
  }
2883
- po.current === e6 && (po.current = null);
2883
+ fo.current === e6 && (fo.current = null);
2884
2884
  }
2885
2885
  });
2886
2886
  };
2887
- }, []), (0, import_react.useEffect)(() => (g(so, mo), () => g(so, null)), [so, mo]), (0, import_react.useEffect)(() => {
2888
- if (!mo) return;
2887
+ }, []), (0, import_react.useEffect)(() => (g(oo, po), () => g(oo, null)), [oo, po]), (0, import_react.useEffect)(() => {
2888
+ if (!po) return;
2889
2889
  let e6 = [
2890
2890
  ["sync", r],
2891
2891
  ["slidesync", i],
@@ -2896,14 +2896,14 @@ function b({ config: e5, plugins: t = ee$1, onReady: n, onSync: r, onSlideSync:
2896
2896
  ["overviewshown", l],
2897
2897
  ["overviewhidden", u],
2898
2898
  ["paused", f],
2899
- ["resumed", oo]
2899
+ ["resumed", ao]
2900
2900
  ].filter((e7) => e7[1] != null);
2901
- for (let [t2, n2] of e6) mo.on(t2, n2);
2901
+ for (let [t2, n2] of e6) po.on(t2, n2);
2902
2902
  return () => {
2903
- for (let [t2, n2] of e6) mo.off(t2, n2);
2903
+ for (let [t2, n2] of e6) po.off(t2, n2);
2904
2904
  };
2905
2905
  }, [
2906
- mo,
2906
+ po,
2907
2907
  r,
2908
2908
  i,
2909
2909
  a,
@@ -2913,30 +2913,30 @@ function b({ config: e5, plugins: t = ee$1, onReady: n, onSync: r, onSlideSync:
2913
2913
  l,
2914
2914
  u,
2915
2915
  f,
2916
- oo
2916
+ ao
2917
2917
  ]), (0, import_react.useLayoutEffect)(() => {
2918
2918
  var _a2;
2919
- !mo || !((_a2 = po.current) == null ? void 0 : _a2.isReady()) || te$1(vo.current, e5) && (_o.current = true, po.current.configure(e5 ?? {}), vo.current = e5);
2920
- }, [mo, e5]), (0, import_react.useLayoutEffect)(() => {
2919
+ !po || !((_a2 = fo.current) == null ? void 0 : _a2.isReady()) || te$1(_o.current, e5) && (go.current = true, fo.current.configure(e5 ?? {}), _o.current = e5);
2920
+ }, [po, e5]), (0, import_react.useLayoutEffect)(() => {
2921
2921
  var _a2;
2922
- let e6 = _o.current;
2923
- _o.current = false;
2924
- let t2 = y(fo.current, bo.current, xo);
2922
+ let e6 = go.current;
2923
+ go.current = false;
2924
+ let t2 = y(uo.current, yo.current, bo);
2925
2925
  if (e6) {
2926
- yo.current = t2;
2926
+ vo.current = t2;
2927
2927
  return;
2928
2928
  }
2929
- ((_a2 = po.current) == null ? void 0 : _a2.isReady()) && yo.current !== t2 && (po.current.sync(), yo.current = t2);
2929
+ ((_a2 = fo.current) == null ? void 0 : _a2.isReady()) && vo.current !== t2 && (fo.current.sync(), vo.current = t2);
2930
2930
  }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(h.Provider, {
2931
- value: mo,
2931
+ value: po,
2932
2932
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
2933
2933
  className: p ? `reveal ${p}` : "reveal",
2934
- style: co,
2935
- ref: uo,
2934
+ style: so,
2935
+ ref: lo,
2936
2936
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
2937
2937
  className: "slides",
2938
- ref: fo,
2939
- children: lo
2938
+ ref: uo,
2939
+ children: co
2940
2940
  })
2941
2941
  })
2942
2942
  });
@@ -2988,8 +2988,8 @@ function C$1(e5, t) {
2988
2988
  }
2989
2989
  return n;
2990
2990
  }
2991
- function w({ children: e5, background: t, backgroundImage: n, backgroundVideo: r, backgroundVideoLoop: i, backgroundVideoMuted: a, backgroundIframe: o, backgroundColor: s, backgroundGradient: c, backgroundSize: l, backgroundPosition: u, backgroundRepeat: f, backgroundOpacity: oo, backgroundTransition: so, visibility: p, autoAnimate: co, autoAnimateId: lo, autoAnimateRestart: uo, autoAnimateUnmatched: fo, autoAnimateEasing: po, autoAnimateDuration: mo, autoAnimateDelay: ho, transition: go, transitionSpeed: _o, autoSlide: vo, notes: yo, backgroundInteractive: bo, preload: xo, ...So }) {
2992
- let Co = (0, import_react.useContext)(h), wo = (0, import_react.useRef)(null), To = (0, import_react.useRef)(null), Do = (0, import_react.useRef)(null), Oo = C$1(So, {
2991
+ function w({ children: e5, background: t, backgroundImage: n, backgroundVideo: r, backgroundVideoLoop: i, backgroundVideoMuted: a, backgroundIframe: o, backgroundColor: s, backgroundGradient: c, backgroundSize: l, backgroundPosition: u, backgroundRepeat: f, backgroundOpacity: ao, backgroundTransition: oo, visibility: p, autoAnimate: so, autoAnimateId: co, autoAnimateRestart: lo, autoAnimateUnmatched: uo, autoAnimateEasing: fo, autoAnimateDuration: po, autoAnimateDelay: mo, transition: ho, transitionSpeed: go, autoSlide: _o, notes: vo, backgroundInteractive: yo, preload: bo, ...xo }) {
2992
+ let So = (0, import_react.useContext)(h), Co = (0, import_react.useRef)(null), wo = (0, import_react.useRef)(null), Eo = (0, import_react.useRef)(null), Do = C$1(xo, {
2993
2993
  background: t,
2994
2994
  backgroundImage: n,
2995
2995
  backgroundVideo: r,
@@ -3001,36 +3001,36 @@ function w({ children: e5, background: t, backgroundImage: n, backgroundVideo: r
3001
3001
  backgroundSize: l,
3002
3002
  backgroundPosition: u,
3003
3003
  backgroundRepeat: f,
3004
- backgroundOpacity: oo,
3005
- backgroundTransition: so,
3004
+ backgroundOpacity: ao,
3005
+ backgroundTransition: oo,
3006
3006
  visibility: p,
3007
- autoAnimate: co,
3008
- autoAnimateId: lo,
3009
- autoAnimateRestart: uo,
3010
- autoAnimateUnmatched: fo,
3011
- autoAnimateEasing: po,
3012
- autoAnimateDuration: mo,
3013
- autoAnimateDelay: ho,
3014
- transition: go,
3015
- transitionSpeed: _o,
3016
- autoSlide: vo,
3017
- notes: yo,
3018
- backgroundInteractive: bo,
3019
- preload: xo
3020
- }), ko = S$1(Oo);
3007
+ autoAnimate: so,
3008
+ autoAnimateId: co,
3009
+ autoAnimateRestart: lo,
3010
+ autoAnimateUnmatched: uo,
3011
+ autoAnimateEasing: fo,
3012
+ autoAnimateDuration: po,
3013
+ autoAnimateDelay: mo,
3014
+ transition: ho,
3015
+ transitionSpeed: go,
3016
+ autoSlide: _o,
3017
+ notes: vo,
3018
+ backgroundInteractive: yo,
3019
+ preload: bo
3020
+ }), Oo = S$1(Do);
3021
3021
  return (0, import_react.useLayoutEffect)(() => {
3022
- let e6 = wo.current;
3023
- if (!Co || !e6 || typeof Co.syncSlide != "function") return;
3024
- if (To.current !== Co) {
3025
- To.current = Co, Do.current = ko;
3022
+ let e6 = Co.current;
3023
+ if (!So || !e6 || typeof So.syncSlide != "function") return;
3024
+ if (wo.current !== So) {
3025
+ wo.current = So, Eo.current = Oo;
3026
3026
  return;
3027
3027
  }
3028
- if (ko === "[]") return;
3029
- let t2 = To.current === Co, n2 = Do.current === ko;
3030
- t2 && n2 || (Co.syncSlide(e6), To.current = Co, Do.current = ko);
3031
- }, [Co, ko]), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("section", {
3032
- ref: wo,
3033
- ...Oo,
3028
+ if (Oo === "[]") return;
3029
+ let t2 = wo.current === So, n2 = Eo.current === Oo;
3030
+ t2 && n2 || (So.syncSlide(e6), wo.current = So, Eo.current = Oo);
3031
+ }, [So, Oo]), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("section", {
3032
+ ref: Co,
3033
+ ...Do,
3034
3034
  children: e5
3035
3035
  });
3036
3036
  }
@@ -3412,16 +3412,16 @@ ${c}` : c;
3412
3412
  r2 = t[0], e5 = e5.substring(r2.length);
3413
3413
  let c = Qe(t[2].split("\n", 1)[0], t[1].length), l = e5.split("\n", 1)[0], u = !c.trim(), f = 0;
3414
3414
  if (this.options.pedantic ? (f = 2, s2 = c.trimStart()) : u ? f = t[1].length + 1 : (f = c.search(this.rules.other.nonSpaceChar), f = f > 4 ? 1 : f, s2 = c.slice(f), f += t[1].length), u && this.rules.other.blankLine.test(l) && (r2 += l + "\n", e5 = e5.substring(l.length + 1), n2 = true), !n2) {
3415
- let t2 = this.rules.other.nextBulletRegex(f), n3 = this.rules.other.hrRegex(f), i2 = this.rules.other.fencesBeginRegex(f), a2 = this.rules.other.headingBeginRegex(f), o2 = this.rules.other.htmlBeginRegex(f), oo = this.rules.other.blockquoteBeginRegex(f);
3415
+ let t2 = this.rules.other.nextBulletRegex(f), n3 = this.rules.other.hrRegex(f), i2 = this.rules.other.fencesBeginRegex(f), a2 = this.rules.other.headingBeginRegex(f), o2 = this.rules.other.htmlBeginRegex(f), ao = this.rules.other.blockquoteBeginRegex(f);
3416
3416
  for (; e5; ) {
3417
- let so = e5.split("\n", 1)[0], p;
3418
- if (l = so, this.options.pedantic ? (l = l.replace(this.rules.other.listReplaceNesting, " "), p = l) : p = l.replace(this.rules.other.tabCharGlobal, " "), i2.test(l) || a2.test(l) || o2.test(l) || oo.test(l) || t2.test(l) || n3.test(l)) break;
3417
+ let oo = e5.split("\n", 1)[0], p;
3418
+ if (l = oo, this.options.pedantic ? (l = l.replace(this.rules.other.listReplaceNesting, " "), p = l) : p = l.replace(this.rules.other.tabCharGlobal, " "), i2.test(l) || a2.test(l) || o2.test(l) || ao.test(l) || t2.test(l) || n3.test(l)) break;
3419
3419
  if (p.search(this.rules.other.nonSpaceChar) >= f || !l.trim()) s2 += "\n" + p.slice(f);
3420
3420
  else {
3421
3421
  if (u || c.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || i2.test(c) || a2.test(c) || n3.test(c)) break;
3422
3422
  s2 += "\n" + l;
3423
3423
  }
3424
- u = !l.trim(), r2 += so + "\n", e5 = e5.substring(so.length + 1), c = p.slice(f);
3424
+ u = !l.trim(), r2 += oo + "\n", e5 = e5.substring(oo.length + 1), c = p.slice(f);
3425
3425
  }
3426
3426
  }
3427
3427
  i.loose || (o ? i.loose = true : this.rules.other.doubleBlankLine.test(r2) && (o = true)), i.items.push({
@@ -4620,54 +4620,54 @@ const SlideCellView = (e5) => (Logger.warn("SlideCellView islands stub rendered;
4620
4620
  var PERSIST_DELAY_MS = 300;
4621
4621
  const SlideNotesEditor = (e5) => {
4622
4622
  var _a2;
4623
- let t = (0, import_compiler_runtime$1.c)(25), { layout: i, setLayout: a, cellId: o, className: s } = e5, c = o ? ((_a2 = i.cells.get(o)) == null ? void 0 : _a2.speakerNotes) ?? "" : "", [l, u] = (0, import_react.useState)(c), f = (0, import_react.useRef)(false), oo;
4624
- t[0] !== i || t[1] !== a ? (oo = (e6, t2) => {
4623
+ let t = (0, import_compiler_runtime$1.c)(25), { layout: n, setLayout: a, cellId: o, className: s } = e5, c = o ? ((_a2 = n.cells.get(o)) == null ? void 0 : _a2.speakerNotes) ?? "" : "", [l, u] = (0, import_react.useState)(c), f = (0, import_react.useRef)(false), ao;
4624
+ t[0] !== n || t[1] !== a ? (ao = (e6, t2) => {
4625
4625
  f.current = false;
4626
- let n = i.cells.get(e6);
4627
- if (((n == null ? void 0 : n.speakerNotes) ?? "") === t2) return;
4628
- let r = new Map(i.cells);
4629
- r.set(e6, {
4630
- ...n,
4626
+ let r = n.cells.get(e6);
4627
+ if (((r == null ? void 0 : r.speakerNotes) ?? "") === t2) return;
4628
+ let i = new Map(n.cells);
4629
+ i.set(e6, {
4630
+ ...r,
4631
4631
  speakerNotes: t2
4632
4632
  }), a({
4633
- ...i,
4634
- cells: r
4633
+ ...n,
4634
+ cells: i
4635
4635
  });
4636
- }, t[0] = i, t[1] = a, t[2] = oo) : oo = t[2];
4637
- let so = useDebouncedCallback(useEvent_default(oo), PERSIST_DELAY_MS), p = (0, import_react.useRef)(o), co, lo;
4638
- t[3] !== o || t[4] !== l || t[5] !== c || t[6] !== so ? (co = () => {
4636
+ }, t[0] = n, t[1] = a, t[2] = ao) : ao = t[2];
4637
+ let oo = useDebouncedCallback(useEvent_default(ao), PERSIST_DELAY_MS), p = (0, import_react.useRef)(o), so, co;
4638
+ t[3] !== o || t[4] !== l || t[5] !== c || t[6] !== oo ? (so = () => {
4639
4639
  if (p.current !== o) {
4640
- so.flush(), f.current = false, u(c), p.current = o;
4640
+ oo.flush(), f.current = false, u(c), p.current = o;
4641
4641
  return;
4642
4642
  }
4643
4643
  !f.current && c !== l && u(c);
4644
- }, lo = [
4644
+ }, co = [
4645
4645
  o,
4646
4646
  c,
4647
4647
  l,
4648
- so
4649
- ], t[3] = o, t[4] = l, t[5] = c, t[6] = so, t[7] = co, t[8] = lo) : (co = t[7], lo = t[8]), (0, import_react.useEffect)(co, lo);
4650
- let uo, fo;
4651
- t[9] === so ? (uo = t[10], fo = t[11]) : (uo = () => () => {
4652
- so.flush();
4653
- }, fo = [so], t[9] = so, t[10] = uo, t[11] = fo), (0, import_react.useEffect)(uo, fo);
4654
- let po;
4655
- t[12] !== o || t[13] !== so ? (po = (e6) => {
4656
- u(e6), o && (f.current = true, so(o, e6));
4657
- }, t[12] = o, t[13] = so, t[14] = po) : po = t[14];
4658
- let mo = po, ho;
4659
- t[15] === s ? ho = t[16] : (ho = cn("h-full min-h-0 flex flex-col bg-muted/40 dark:bg-muted/20 border-t", s), t[15] = s, t[16] = ho);
4660
- let go;
4661
- t[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (go = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("header", {
4648
+ oo
4649
+ ], t[3] = o, t[4] = l, t[5] = c, t[6] = oo, t[7] = so, t[8] = co) : (so = t[7], co = t[8]), (0, import_react.useEffect)(so, co);
4650
+ let lo, uo;
4651
+ t[9] === oo ? (lo = t[10], uo = t[11]) : (lo = () => () => {
4652
+ oo.flush();
4653
+ }, uo = [oo], t[9] = oo, t[10] = lo, t[11] = uo), (0, import_react.useEffect)(lo, uo);
4654
+ let fo;
4655
+ t[12] !== o || t[13] !== oo ? (fo = (e6) => {
4656
+ u(e6), o && (f.current = true, oo(o, e6));
4657
+ }, t[12] = o, t[13] = oo, t[14] = fo) : fo = t[14];
4658
+ let po = fo, mo;
4659
+ t[15] === s ? mo = t[16] : (mo = cn("h-full min-h-0 flex flex-col bg-muted/40 dark:bg-muted/20 border-t", s), t[15] = s, t[16] = mo);
4660
+ let ho;
4661
+ t[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ho = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("header", {
4662
4662
  className: "flex items-center gap-1.5 px-3 h-8 shrink-0 text-xs font-medium uppercase tracking-wide text-muted-foreground",
4663
4663
  children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(StickyNote, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "Speaker notes" })]
4664
- }), t[17] = go) : go = t[17];
4665
- let vo;
4666
- t[18] !== o || t[19] !== l || t[20] !== mo ? (vo = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
4664
+ }), t[17] = ho) : ho = t[17];
4665
+ let _o;
4666
+ t[18] !== o || t[19] !== l || t[20] !== po ? (_o = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
4667
4667
  className: "flex-1 min-h-0 p-2",
4668
4668
  children: o ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("textarea", {
4669
4669
  value: l,
4670
- onChange: (e6) => mo(e6.target.value),
4670
+ onChange: (e6) => po(e6.target.value),
4671
4671
  onClick: Events.stopPropagation(),
4672
4672
  placeholder: "Add notes for this slide. Visible to you in speaker view (press S during presentation).",
4673
4673
  className: cn("h-full w-full resize-none rounded-sm border border-input/25 bg-background", "px-3 py-2 text-sm leading-relaxed text-foreground placeholder:text-muted-foreground", "ring-offset-background focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring focus-visible:border-accent"),
@@ -4676,14 +4676,14 @@ const SlideNotesEditor = (e5) => {
4676
4676
  className: "h-full flex items-center justify-center text-xs text-muted-foreground",
4677
4677
  children: "Select a slide to add notes."
4678
4678
  })
4679
- }), t[18] = o, t[19] = l, t[20] = mo, t[21] = vo) : vo = t[21];
4680
- let yo;
4681
- return t[22] !== ho || t[23] !== vo ? (yo = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("section", {
4682
- className: ho,
4679
+ }), t[18] = o, t[19] = l, t[20] = po, t[21] = _o) : _o = t[21];
4680
+ let vo;
4681
+ return t[22] !== mo || t[23] !== _o ? (vo = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("section", {
4682
+ className: mo,
4683
4683
  "aria-label": "Speaker notes",
4684
4684
  onKeyDown: _temp$1,
4685
- children: [go, vo]
4686
- }), t[22] = ho, t[23] = vo, t[24] = yo) : yo = t[24], yo;
4685
+ children: [ho, _o]
4686
+ }), t[22] = mo, t[23] = _o, t[24] = vo) : vo = t[24], vo;
4687
4687
  };
4688
4688
  function _temp$1(e5) {
4689
4689
  return e5.stopPropagation();
@@ -5982,16 +5982,16 @@ ${c}` : c;
5982
5982
  r2 = t[0], e5 = e5.substring(r2.length);
5983
5983
  let c = ie(t[2].split("\n", 1)[0], t[1].length), l = e5.split("\n", 1)[0], u = !c.trim(), f = 0;
5984
5984
  if (this.options.pedantic ? (f = 2, s2 = c.trimStart()) : u ? f = t[1].length + 1 : (f = c.search(this.rules.other.nonSpaceChar), f = f > 4 ? 1 : f, s2 = c.slice(f), f += t[1].length), u && this.rules.other.blankLine.test(l) && (r2 += l + "\n", e5 = e5.substring(l.length + 1), n2 = true), !n2) {
5985
- let t2 = this.rules.other.nextBulletRegex(f), n3 = this.rules.other.hrRegex(f), i2 = this.rules.other.fencesBeginRegex(f), a2 = this.rules.other.headingBeginRegex(f), o2 = this.rules.other.htmlBeginRegex(f), oo = this.rules.other.blockquoteBeginRegex(f);
5985
+ let t2 = this.rules.other.nextBulletRegex(f), n3 = this.rules.other.hrRegex(f), i2 = this.rules.other.fencesBeginRegex(f), a2 = this.rules.other.headingBeginRegex(f), o2 = this.rules.other.htmlBeginRegex(f), ao = this.rules.other.blockquoteBeginRegex(f);
5986
5986
  for (; e5; ) {
5987
- let so = e5.split("\n", 1)[0], p;
5988
- if (l = so, this.options.pedantic ? (l = l.replace(this.rules.other.listReplaceNesting, " "), p = l) : p = l.replace(this.rules.other.tabCharGlobal, " "), i2.test(l) || a2.test(l) || o2.test(l) || oo.test(l) || t2.test(l) || n3.test(l)) break;
5987
+ let oo = e5.split("\n", 1)[0], p;
5988
+ if (l = oo, this.options.pedantic ? (l = l.replace(this.rules.other.listReplaceNesting, " "), p = l) : p = l.replace(this.rules.other.tabCharGlobal, " "), i2.test(l) || a2.test(l) || o2.test(l) || ao.test(l) || t2.test(l) || n3.test(l)) break;
5989
5989
  if (p.search(this.rules.other.nonSpaceChar) >= f || !l.trim()) s2 += "\n" + p.slice(f);
5990
5990
  else {
5991
5991
  if (u || c.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || i2.test(c) || a2.test(c) || n3.test(c)) break;
5992
5992
  s2 += "\n" + l;
5993
5993
  }
5994
- u = !l.trim(), r2 += so + "\n", e5 = e5.substring(so.length + 1), c = p.slice(f);
5994
+ u = !l.trim(), r2 += oo + "\n", e5 = e5.substring(oo.length + 1), c = p.slice(f);
5995
5995
  }
5996
5996
  }
5997
5997
  i.loose || (o ? i.loose = true : this.rules.other.doubleBlankLine.test(r2) && (o = true)), i.items.push({
@@ -7168,12 +7168,6 @@ function useSlideDimensions(e5) {
7168
7168
  return n2.observe(t2), () => n2.disconnect();
7169
7169
  }, o = [e5], t[1] = e5, t[2] = a, t[3] = o), (0, import_react.useEffect)(a, o), r;
7170
7170
  }
7171
- function triggerResize(e5) {
7172
- var _a2;
7173
- ((_a2 = e5 == null ? void 0 : e5.getCurrentSlide()) == null ? void 0 : _a2.querySelector(".vega-embed, marimo-vega")) && requestAnimationFrame(() => {
7174
- window.dispatchEvent(new Event("resize"));
7175
- });
7176
- }
7177
7171
  var NotesAside = (e5) => {
7178
7172
  let t = (0, import_compiler_runtime.c)(6), { text: n } = e5, r, i;
7179
7173
  if (t[0] !== n) {
@@ -7208,35 +7202,35 @@ function useParkedPreview(e5) {
7208
7202
  activeCellId: a,
7209
7203
  cellId: null
7210
7204
  }, t[3] = a, t[4] = l);
7211
- let [u, f] = (0, import_react.useState)(l), oo = u.cellId;
7212
- u.activeCellId === a ? s && oo !== a && (oo = a, f({
7205
+ let [u, f] = (0, import_react.useState)(l), ao = u.cellId;
7206
+ u.activeCellId === a ? s && ao !== a && (ao = a, f({
7213
7207
  activeCellId: a,
7214
- cellId: oo
7215
- })) : (oo = s ? a : null, f({
7208
+ cellId: ao
7209
+ })) : (ao = s ? a : null, f({
7216
7210
  activeCellId: a,
7217
- cellId: oo
7211
+ cellId: ao
7218
7212
  }));
7219
- let so = !c && a != null && oo === a, p = so ? oo : null, co;
7220
- t[5] === p ? co = t[6] : (co = {
7213
+ let oo = !c && a != null && ao === a, p = oo ? ao : null, so;
7214
+ t[5] === p ? so = t[6] : (so = {
7221
7215
  cellId: p,
7222
7216
  show: true
7223
- }, t[5] = p, t[6] = co);
7224
- let [lo, uo] = (0, import_react.useState)(co), fo = lo.show;
7225
- lo.cellId !== p && (fo = true, uo({
7217
+ }, t[5] = p, t[6] = so);
7218
+ let [co, lo] = (0, import_react.useState)(so), uo = co.show;
7219
+ co.cellId !== p && (uo = true, lo({
7226
7220
  cellId: p,
7227
7221
  show: true
7228
7222
  }));
7229
- let po;
7230
- t[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (po = () => uo(_temp), t[7] = po) : po = t[7];
7231
- let mo = useEvent_default(po), ho = c || so ? n ?? null : null, go;
7232
- return t[8] !== p || t[9] !== fo || t[10] !== so || t[11] !== s || t[12] !== ho || t[13] !== mo ? (go = {
7233
- parkedPreviewCell: ho,
7234
- isHeldEdit: so,
7223
+ let fo;
7224
+ t[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (fo = () => lo(_temp), t[7] = fo) : fo = t[7];
7225
+ let po = useEvent_default(fo), mo = c || oo ? n ?? null : null, ho;
7226
+ return t[8] !== p || t[9] !== uo || t[10] !== oo || t[11] !== s || t[12] !== mo || t[13] !== po ? (ho = {
7227
+ parkedPreviewCell: mo,
7228
+ isHeldEdit: oo,
7235
7229
  isNoOutputPreview: s,
7236
7230
  heldEditCellId: p,
7237
- heldShowsCode: fo,
7238
- toggleHeldShowsCode: mo
7239
- }, t[8] = p, t[9] = fo, t[10] = so, t[11] = s, t[12] = ho, t[13] = mo, t[14] = go) : go = t[14], go;
7231
+ heldShowsCode: uo,
7232
+ toggleHeldShowsCode: po
7233
+ }, t[8] = p, t[9] = uo, t[10] = oo, t[11] = s, t[12] = mo, t[13] = po, t[14] = ho) : ho = t[14], ho;
7240
7234
  }
7241
7235
  function _temp(e5) {
7242
7236
  return {
@@ -7255,12 +7249,12 @@ function resolveSlideContentStyle(e5) {
7255
7249
  }
7256
7250
  }
7257
7251
  var SubslideView = (e5) => {
7258
- let t = (0, import_compiler_runtime.c)(24), { subslide: n, resolveShowCode: r, isEditable: i, slideConfigs: a, contentStyle: o } = e5, s, c, u, f, oo, so;
7252
+ let t = (0, import_compiler_runtime.c)(24), { subslide: n, resolveShowCode: r, isEditable: i, slideConfigs: a, contentStyle: o } = e5, s, c, u, f, ao, oo;
7259
7253
  if (t[0] !== o || t[1] !== i || t[2] !== r || t[3] !== a || t[4] !== n) {
7260
7254
  let { slideLevel: e6, cumulativeByBlock: p2 } = buildSubslideNotes(n, a);
7261
7255
  c = e6;
7262
- let co2 = n.blocks.some((e7) => e7.cells.some((e8) => r(e8.id)));
7263
- s = w, so = "h-full w-full overflow-auto flex", u = co2 ? "mo-slide-content flex flex-col gap-3" : "mo-slide-content", f = o, oo = n.blocks.map((e7, t2) => {
7256
+ let so2 = n.blocks.some((e7) => e7.cells.some((e8) => r(e8.id)));
7257
+ s = w, oo = "h-full w-full overflow-auto flex", u = so2 ? "mo-slide-content flex flex-col gap-3" : "mo-slide-content", f = o, ao = n.blocks.map((e7, t2) => {
7264
7258
  let n2 = e7.cells.map((e8) => r(e8.id) ? i ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SlideCellView, { cell: e8 }, e8.id) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SlideCellReadOnlyView, { cell: e8 }, e8.id) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Slide, {
7265
7259
  cellId: e8.id,
7266
7260
  status: e8.status,
@@ -7275,23 +7269,23 @@ var SubslideView = (e5) => {
7275
7269
  }, t2);
7276
7270
  }
7277
7271
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react.Fragment, { children: n2 }, t2);
7278
- }), t[0] = o, t[1] = i, t[2] = r, t[3] = a, t[4] = n, t[5] = s, t[6] = c, t[7] = u, t[8] = f, t[9] = oo, t[10] = so;
7279
- } else s = t[5], c = t[6], u = t[7], f = t[8], oo = t[9], so = t[10];
7272
+ }), t[0] = o, t[1] = i, t[2] = r, t[3] = a, t[4] = n, t[5] = s, t[6] = c, t[7] = u, t[8] = f, t[9] = ao, t[10] = oo;
7273
+ } else s = t[5], c = t[6], u = t[7], f = t[8], ao = t[9], oo = t[10];
7280
7274
  let p;
7281
- t[11] !== u || t[12] !== f || t[13] !== oo ? (p = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
7275
+ t[11] !== u || t[12] !== f || t[13] !== ao ? (p = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
7282
7276
  className: u,
7283
7277
  style: f,
7284
- children: oo
7285
- }), t[11] = u, t[12] = f, t[13] = oo, t[14] = p) : p = t[14];
7286
- let co;
7287
- t[15] !== so || t[16] !== p ? (co = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
7288
- className: so,
7278
+ children: ao
7279
+ }), t[11] = u, t[12] = f, t[13] = ao, t[14] = p) : p = t[14];
7280
+ let so;
7281
+ t[15] !== oo || t[16] !== p ? (so = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
7282
+ className: oo,
7289
7283
  children: p
7290
- }), t[15] = so, t[16] = p, t[17] = co) : co = t[17];
7291
- let lo;
7292
- t[18] === c ? lo = t[19] : (lo = c && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(NotesAside, { text: c }), t[18] = c, t[19] = lo);
7293
- let fo;
7294
- return t[20] !== s || t[21] !== co || t[22] !== lo ? (fo = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(s, { children: [co, lo] }), t[20] = s, t[21] = co, t[22] = lo, t[23] = fo) : fo = t[23], fo;
7284
+ }), t[15] = oo, t[16] = p, t[17] = so) : so = t[17];
7285
+ let co;
7286
+ t[18] === c ? co = t[19] : (co = c && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(NotesAside, { text: c }), t[18] = c, t[19] = co);
7287
+ let uo;
7288
+ return t[20] !== s || t[21] !== so || t[22] !== co ? (uo = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(s, { children: [so, co] }), t[20] = s, t[21] = so, t[22] = co, t[23] = uo) : uo = t[23], uo;
7295
7289
  };
7296
7290
  function parkedRendersSource(e5) {
7297
7291
  let { isNoOutputPreview: t, isEditable: n, showCode: r } = e5;
@@ -7316,178 +7310,178 @@ var ParkedPreviewContent = (e5) => {
7316
7310
  output: c,
7317
7311
  stale: u
7318
7312
  }), t[5] = n.id, t[6] = n.output, t[7] = n.status, t[8] = u, t[9] = f) : f = t[9], f;
7319
- }, reveal_component_default = ({ slideCells: e5, layout: o, setLayout: s, noOutputIds: l, activeIndex: u, onSlideChange: f, mode: lo, configWidth: uo, isEditable: po = false }) => {
7313
+ }, reveal_component_default = ({ slideCells: e5, layout: o, setLayout: s, noOutputIds: l, activeIndex: u, onSlideChange: f, mode: co, configWidth: lo, isEditable: fo = false }) => {
7320
7314
  var _a2, _b2, _c;
7321
- let _o = (0, import_react.useRef)(null), vo = (0, import_react.useRef)(null), { width: wo, height: To } = useSlideDimensions(_o), Do = useFullScreenElement() != null, Oo = useAtomValue(kioskModeAtom), ko = (0, import_react.useMemo)(() => Oo ? [] : [ce], [Oo]), [Ao, jo] = (0, import_react.useState)(() => /* @__PURE__ */ new Set()), Mo = useNotebookCodeAvailable(e5), No = !isIslands() && Mo, Po = u == null ? void 0 : e5[u], Fo = Po ?? e5.at(0), { parkedPreviewCell: Io, isHeldEdit: Lo, isNoOutputPreview: Ro, heldEditCellId: zo, heldShowsCode: Bo, toggleHeldShowsCode: Vo } = useParkedPreview({
7322
- activeCell: Po,
7315
+ let go = (0, import_react.useRef)(null), _o = (0, import_react.useRef)(null), { width: Co, height: wo } = useSlideDimensions(go), Eo = useFullScreenElement() != null, Do = useAtomValue(kioskModeAtom), Oo = (0, import_react.useMemo)(() => Do ? [] : [ce], [Do]), [ko, Ao] = (0, import_react.useState)(() => /* @__PURE__ */ new Set()), jo = useNotebookCodeAvailable(e5), Mo = !isIslands() && jo, No = u == null ? void 0 : e5[u], Po = No ?? e5.at(0), { parkedPreviewCell: Fo, isHeldEdit: Io, isNoOutputPreview: Lo, heldEditCellId: Ro, heldShowsCode: zo, toggleHeldShowsCode: Bo } = useParkedPreview({
7316
+ activeCell: No,
7323
7317
  slideConfigs: o.cells,
7324
7318
  noOutputIds: l
7325
- }), Ho = (e6) => shouldShowCode({
7319
+ }), Vo = (e6) => shouldShowCode({
7326
7320
  cells: o.cells,
7327
7321
  cellId: e6,
7328
- showCodeOverrides: Ao,
7329
- codeToggleEnabled: No
7330
- }), Uo = (Po == null ? void 0 : Po.id) ?? (Fo == null ? void 0 : Fo.id), Wo = Lo ? Bo : Ho(Uo), Go = No && Uo != null && (((_a2 = o.cells.get(Uo)) == null ? void 0 : _a2.showCode) ?? false), Ko = (0, import_react.useMemo)(() => composeSlides({
7322
+ showCodeOverrides: ko,
7323
+ codeToggleEnabled: Mo
7324
+ }), Ho = (No == null ? void 0 : No.id) ?? (Po == null ? void 0 : Po.id), Uo = Io ? zo : Vo(Ho), Wo = Mo && Ho != null && (((_a2 = o.cells.get(Ho)) == null ? void 0 : _a2.showCode) ?? false), Go = (0, import_react.useMemo)(() => composeSlides({
7331
7325
  cells: e5,
7332
7326
  getType: (e6) => deckSlideType({
7333
7327
  cell: e6,
7334
7328
  noOutputIds: l,
7335
- heldEditCellId: zo,
7329
+ heldEditCellId: Ro,
7336
7330
  slideConfigs: o.cells
7337
7331
  })
7338
7332
  }), [
7339
7333
  e5,
7340
7334
  l,
7341
7335
  o.cells,
7342
- zo
7343
- ]), { cellToTarget: qo, targetToCellIndex: Jo } = (0, import_react.useMemo)(() => buildSlideIndices({
7344
- composition: Ko,
7336
+ Ro
7337
+ ]), { cellToTarget: Ko, targetToCellIndex: qo } = (0, import_react.useMemo)(() => buildSlideIndices({
7338
+ composition: Go,
7345
7339
  cells: e5,
7346
7340
  getId: (e6) => e6.id
7347
- }), [Ko, e5]), Yo = ((_b2 = o.deck) == null ? void 0 : _b2.transition) ?? "slide", Xo = resolveSlideContentStyle((_c = o.deck) == null ? void 0 : _c.verticalAlign), Zo = (0, import_react.useMemo)(() => {
7341
+ }), [Go, e5]), Jo = ((_b2 = o.deck) == null ? void 0 : _b2.transition) ?? "slide", Yo = resolveSlideContentStyle((_c = o.deck) == null ? void 0 : _c.verticalAlign), Xo = (0, import_react.useMemo)(() => {
7348
7342
  let e6 = new URL(window.location.href);
7349
7343
  return e6.searchParams.set("kiosk", "true"), e6.searchParams.set("show-chrome", "false"), e6.toString();
7350
- }, []), Qo = (0, import_react.useMemo)(() => ({
7344
+ }, []), Zo = (0, import_react.useMemo)(() => ({
7351
7345
  embedded: true,
7352
- width: wo,
7353
- height: To,
7346
+ width: Co,
7347
+ height: wo,
7354
7348
  center: false,
7355
7349
  minScale: 0.2,
7356
7350
  maxScale: 2,
7357
- transition: Yo,
7351
+ transition: Jo,
7358
7352
  keyboardCondition: (e6) => !Events.fromInput(e6),
7359
- url: Zo,
7353
+ url: Xo,
7360
7354
  scrollActivationWidth: 0
7361
7355
  }), [
7356
+ Co,
7362
7357
  wo,
7363
- To,
7364
- Yo,
7365
- Zo
7366
- ]), $o = useEvent_default((t) => {
7358
+ Jo,
7359
+ Xo
7360
+ ]), Qo = useEvent_default((t) => {
7367
7361
  let n = resolveDeckNavigationTarget({
7368
7362
  activeIndex: u,
7369
7363
  cells: e5,
7370
- cellToTarget: qo,
7364
+ cellToTarget: Ko,
7371
7365
  getId: (e6) => e6.id
7372
7366
  }), r = n && computeDeckNavigation(t.getIndices(), n);
7373
7367
  r && (t.slide(r.h, r.v, r.f), clearPreviousVerticalIndices(t));
7374
7368
  });
7375
7369
  (0, import_react.useEffect)(() => {
7376
- let e6 = vo.current;
7377
- e6 != null && $o(e6);
7370
+ let e6 = _o.current;
7371
+ e6 != null && Qo(e6);
7378
7372
  }, [
7379
7373
  u,
7380
- qo,
7374
+ Ko,
7381
7375
  e5,
7382
- $o
7376
+ Qo
7383
7377
  ]);
7384
- let ns = useEvent_default(() => {
7385
- if (!(Uo == null || Go)) {
7386
- if (Lo) {
7387
- Vo();
7378
+ let $o = useEvent_default(() => {
7379
+ if (!(Ho == null || Wo)) {
7380
+ if (Io) {
7381
+ Bo();
7388
7382
  return;
7389
7383
  }
7390
- (0, import_react.startTransition)(() => jo((e6) => {
7384
+ (0, import_react.startTransition)(() => Ao((e6) => {
7391
7385
  let t = new Set(e6);
7392
- return t.has(Uo) ? t.delete(Uo) : t.add(Uo), t;
7386
+ return t.has(Ho) ? t.delete(Ho) : t.add(Ho), t;
7393
7387
  }));
7394
7388
  }
7395
- }), rs = useEvent_default((e6) => {
7389
+ }), ns = useEvent_default((e6) => {
7396
7390
  var _a3;
7397
- $o(e6), No && e6.addKeyBinding({
7391
+ Qo(e6), Mo && e6.addKeyBinding({
7398
7392
  keyCode: 67,
7399
7393
  key: "C",
7400
7394
  description: "Toggle code editor"
7401
- }, ns);
7395
+ }, $o);
7402
7396
  let t = (_a3 = e6.getSlidesElement()) == null ? void 0 : _a3.closest(".reveal");
7403
7397
  t instanceof HTMLElement && (t.tabIndex = -1, t.focus({ preventScroll: true }));
7404
- }), is = useEvent_default(() => {
7405
- if (Io != null) return;
7406
- let e6 = vo.current;
7398
+ }), rs = useEvent_default(() => {
7399
+ if (Fo != null) return;
7400
+ let e6 = _o.current;
7407
7401
  if (!e6) return;
7408
- let t = resolveActiveCellIndex(Jo, e6.getIndices());
7402
+ let t = resolveActiveCellIndex(qo, e6.getIndices());
7409
7403
  t != null && (f == null ? void 0 : f(t));
7410
- }), as = useEvent_default((t) => {
7411
- if (!Io || u == null || Events.fromInput(t)) return;
7404
+ }), is = useEvent_default((t) => {
7405
+ if (!Fo || u == null || Events.fromInput(t)) return;
7412
7406
  let n = classifyNavKey(t);
7413
7407
  if (n === 0) return;
7414
7408
  t.preventDefault(), t.stopPropagation();
7415
- let i = u + n;
7416
- i < 0 || i >= e5.length || (f == null ? void 0 : f(i));
7417
- }), os = useEvent_default(() => {
7418
- is(), triggerResize(vo.current);
7409
+ let r = u + n;
7410
+ r < 0 || r >= e5.length || (f == null ? void 0 : f(r));
7411
+ }), as = useEvent_default(() => {
7412
+ rs();
7419
7413
  });
7420
- useEventListener(document, "keydown", as, { capture: true });
7421
- let ss = Lo ? null : Ro ? "Hidden as there is no output" : "Skipped in presentation", cs = Lo ? Bo : Ho(Io == null ? void 0 : Io.id), ls = parkedRendersSource({
7422
- isNoOutputPreview: Ro,
7423
- isEditable: po,
7424
- showCode: cs
7425
- }), us = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
7426
- ref: _o,
7414
+ useEventListener(document, "keydown", is, { capture: true });
7415
+ let os = Io ? null : Lo ? "Hidden as there is no output" : "Skipped in presentation", ss = Io ? zo : Vo(Fo == null ? void 0 : Fo.id), cs = parkedRendersSource({
7416
+ isNoOutputPreview: Lo,
7417
+ isEditable: fo,
7418
+ showCode: ss
7419
+ }), ls = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
7420
+ ref: go,
7427
7421
  className: "h-full w-full min-w-0 flex items-center justify-center overflow-hidden",
7428
7422
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
7429
7423
  className: "group relative",
7430
7424
  style: {
7431
- width: wo,
7432
- height: To
7425
+ width: Co,
7426
+ height: wo
7433
7427
  },
7434
7428
  children: [
7435
7429
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(b, {
7436
- deckRef: vo,
7430
+ deckRef: _o,
7437
7431
  className: "aspect-video w-full overflow-hidden border rounded bg-background mo-slides-theme prose-slides focus:outline-hidden focus-visible:outline-hidden",
7438
- config: Qo,
7439
- onReady: rs,
7440
- onSlideChange: os,
7441
- onFragmentShown: is,
7442
- onFragmentHidden: is,
7443
- plugins: ko,
7444
- children: Ko.stacks.map((e6, t) => e6.subslides.length === 1 ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SubslideView, {
7432
+ config: Zo,
7433
+ onReady: ns,
7434
+ onSlideChange: as,
7435
+ onFragmentShown: rs,
7436
+ onFragmentHidden: rs,
7437
+ plugins: Oo,
7438
+ children: Go.stacks.map((e6, t) => e6.subslides.length === 1 ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SubslideView, {
7445
7439
  subslide: e6.subslides[0],
7446
- resolveShowCode: Ho,
7447
- isEditable: po,
7440
+ resolveShowCode: Vo,
7441
+ isEditable: fo,
7448
7442
  slideConfigs: o.cells,
7449
- contentStyle: Xo
7443
+ contentStyle: Yo
7450
7444
  }, t) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ne, { children: e6.subslides.map((e7, t2) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SubslideView, {
7451
7445
  subslide: e7,
7452
- resolveShowCode: Ho,
7453
- isEditable: po,
7446
+ resolveShowCode: Vo,
7447
+ isEditable: fo,
7454
7448
  slideConfigs: o.cells,
7455
- contentStyle: Xo
7449
+ contentStyle: Yo
7456
7450
  }, t2)) }, t))
7457
7451
  }),
7458
- Io && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
7452
+ Fo && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
7459
7453
  className: "absolute inset-0 z-10 border rounded bg-background flex flex-col overflow-hidden",
7460
- "aria-label": ss ?? void 0,
7461
- children: [ss && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
7454
+ "aria-label": os ?? void 0,
7455
+ children: [os && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
7462
7456
  className: "flex items-center gap-1.5 px-3 py-1.5 text-xs text-muted-foreground border-b bg-muted/40",
7463
- children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(EyeOff, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: ss })]
7457
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(EyeOff, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: os })]
7464
7458
  }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
7465
7459
  className: "flex-1 overflow-auto flex",
7466
7460
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
7467
- className: ls ? "mo-slide-content flex flex-col gap-3" : "mo-slide-content",
7468
- style: Xo,
7461
+ className: cs ? "mo-slide-content flex flex-col gap-3" : "mo-slide-content",
7462
+ style: Yo,
7469
7463
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ParkedPreviewContent, {
7470
- cell: Io,
7471
- isNoOutputPreview: Ro,
7472
- isEditable: po,
7473
- showCode: cs
7464
+ cell: Fo,
7465
+ isNoOutputPreview: Lo,
7466
+ isEditable: fo,
7467
+ showCode: ss
7474
7468
  })
7475
7469
  })
7476
7470
  })]
7477
- }, Io.id),
7471
+ }, Fo.id),
7478
7472
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
7479
7473
  className: "absolute top-2 right-2 z-20 opacity-0 group-hover:opacity-70 text-muted-foreground transition-opacity",
7480
- children: [No && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Tooltip, {
7481
- content: Go ? "Code is always shown for this slide" : Wo ? "Hide code (C)" : "Show code (C)",
7474
+ children: [Mo && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Tooltip, {
7475
+ content: Wo ? "Code is always shown for this slide" : Uo ? "Hide code (C)" : "Show code (C)",
7482
7476
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button, {
7483
7477
  "data-testid": "marimo-plugin-slides-toggle-code",
7484
7478
  variant: "ghost",
7485
7479
  size: "icon",
7486
- className: cn("text-muted-foreground h-7 w-7", Wo && "text-foreground bg-muted", Go && "opacity-50 cursor-not-allowed"),
7487
- "aria-pressed": Wo,
7488
- "aria-disabled": Go,
7489
- "aria-label": Go ? "Code always shown" : Wo ? "Hide code" : "Show code",
7490
- onClick: ns,
7480
+ className: cn("text-muted-foreground h-7 w-7", Uo && "text-foreground bg-muted", Wo && "opacity-50 cursor-not-allowed"),
7481
+ "aria-pressed": Uo,
7482
+ "aria-disabled": Wo,
7483
+ "aria-label": Wo ? "Code always shown" : Uo ? "Hide code" : "Show code",
7484
+ onClick: $o,
7491
7485
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Code, { className: "h-4 w-4" })
7492
7486
  })
7493
7487
  }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Tooltip, {
@@ -7500,7 +7494,7 @@ var ParkedPreviewContent = (e5) => {
7500
7494
  "aria-label": "Enter fullscreen",
7501
7495
  onClick: () => {
7502
7496
  var _a3, _b3;
7503
- (_b3 = (_a3 = vo.current) == null ? void 0 : _a3.getViewportElement()) == null ? void 0 : _b3.requestFullscreen().catch((e6) => {
7497
+ (_b3 = (_a3 = _o.current) == null ? void 0 : _a3.getViewportElement()) == null ? void 0 : _b3.requestFullscreen().catch((e6) => {
7504
7498
  Logger.error("Failed to request fullscreen", e6);
7505
7499
  });
7506
7500
  },
@@ -7511,9 +7505,9 @@ var ParkedPreviewContent = (e5) => {
7511
7505
  ]
7512
7506
  })
7513
7507
  });
7514
- return lo === "read" ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
7508
+ return co === "read" ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
7515
7509
  className: "flex-1 min-w-0 flex flex-row gap-3",
7516
- children: us
7510
+ children: ls
7517
7511
  }) : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
7518
7512
  className: "flex-1 min-w-0 flex flex-row gap-3",
7519
7513
  children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(PanelGroup, {
@@ -7524,7 +7518,7 @@ var ParkedPreviewContent = (e5) => {
7524
7518
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Panel, {
7525
7519
  defaultSize: 92,
7526
7520
  minSize: 60,
7527
- children: us
7521
+ children: ls
7528
7522
  }),
7529
7523
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(PanelResizeHandle, {
7530
7524
  className: "mo-slides-notes-resize",
@@ -7532,7 +7526,7 @@ var ParkedPreviewContent = (e5) => {
7532
7526
  coarse: 12,
7533
7527
  fine: 4
7534
7528
  },
7535
- disabled: Do
7529
+ disabled: Eo
7536
7530
  }),
7537
7531
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Panel, {
7538
7532
  defaultSize: 10,
@@ -7542,15 +7536,15 @@ var ParkedPreviewContent = (e5) => {
7542
7536
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SlideNotesEditor, {
7543
7537
  layout: o,
7544
7538
  setLayout: s,
7545
- cellId: Fo == null ? void 0 : Fo.id
7539
+ cellId: Po == null ? void 0 : Po.id
7546
7540
  })
7547
7541
  })
7548
7542
  ]
7549
7543
  }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SlideSidebar, {
7550
- configWidth: uo,
7544
+ configWidth: lo,
7551
7545
  layout: o,
7552
7546
  setLayout: s,
7553
- activeConfigCell: Fo
7547
+ activeConfigCell: Po
7554
7548
  })]
7555
7549
  });
7556
7550
  };