@marimo-team/islands 0.24.3-dev33 → 0.24.3-dev37

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 (86) hide show
  1. package/dist/{ConnectedDataExplorerComponent-BLO7UDpo.js → ConnectedDataExplorerComponent-DeiKXaGB.js} +4 -4
  2. package/dist/{ErrorBoundary-B7uSdDUm.js → ErrorBoundary-B3IKS4qY.js} +1 -1
  3. package/dist/{_baseMerge-Bnytch8P.js → _baseMerge-BiGRwuqv.js} +1 -1
  4. package/dist/{abnfDiagram-VCTEODGH-DCb2K_RB.js → abnfDiagram-VCTEODGH-DKNGRyhn.js} +2 -2
  5. package/dist/{any-language-editor-C0dftc2Z.js → any-language-editor-BdvsE_1G.js} +2 -2
  6. package/dist/{architectureDiagram-5GKGNRK7-Bb_n642s.js → architectureDiagram-5GKGNRK7-C9oCEyV-.js} +1 -1
  7. package/dist/{chat-ui-DiMxe-GH.js → chat-ui-D15itIKJ.js} +8 -8
  8. package/dist/{chunk-IMKFNOWR-Du9BN2Ul.js → chunk-IMKFNOWR-ByL0a1rh.js} +1 -1
  9. package/dist/{chunk-SHT3W25Y-tUelricH.js → chunk-SHT3W25Y-D1Nb5X1c.js} +1 -1
  10. package/dist/{chunk-SVP7TREG-DK3egkfQ.js → chunk-SVP7TREG-BShKxcfD.js} +1 -1
  11. package/dist/{chunk-TICWLB2K-DRANTdnp.js → chunk-TICWLB2K-zpDbKPt8.js} +1 -1
  12. package/dist/{classDiagram-ZZMXUADV-7wCSVH7o.js → classDiagram-ZZMXUADV-qcsoIIQw.js} +2 -2
  13. package/dist/{classDiagram-v2-VYDZK3BY-QwnvcnhB.js → classDiagram-v2-VYDZK3BY-CAgMct5x.js} +2 -2
  14. package/dist/{common-0eAIfiA-.js → common-BsQjZnO0.js} +7921 -11807
  15. package/dist/{cynefinDiagram-5FMLGOSQ-CB7O4IZB.js → cynefinDiagram-5FMLGOSQ-BzBXigwN.js} +1 -1
  16. package/dist/{dagre-DfYd3btw.js → dagre-BGSfXNEb.js} +21 -21
  17. package/dist/{dagre-GXQ25YYZ-C-a95ISW.js → dagre-GXQ25YYZ-B-75J283.js} +2 -2
  18. package/dist/{data-grid-overlay-editor-C5eUZVTo.js → data-grid-overlay-editor-DMu5X3F1.js} +1 -1
  19. package/dist/{diagram-S7CK7UJ4-BsKLYQaH.js → diagram-S7CK7UJ4-Bzr5oWc0.js} +1 -1
  20. package/dist/{diagram-UQ7AKVKN-ppYdvuTN.js → diagram-UQ7AKVKN-CVIH_HJ_.js} +1 -1
  21. package/dist/{diagram-VX7I27RA-CAMK2l0E.js → diagram-VX7I27RA-BmoMwYLC.js} +1 -1
  22. package/dist/{diagram-Z3DM3KII-CxQ7MggT.js → diagram-Z3DM3KII-BW1w6mnj.js} +1 -1
  23. package/dist/{dropdown-menu-C73aTomr.js → dropdown-menu-WMrB1UnI.js} +1 -1
  24. package/dist/{ebnfDiagram-PWID7BFC-DzybELvk.js → ebnfDiagram-PWID7BFC-90Q6gkC0.js} +2 -2
  25. package/dist/{erDiagram-RLTQ6QDP-BVxV97ld.js → erDiagram-RLTQ6QDP-BZkLy3TR.js} +1 -1
  26. package/dist/{esm-blALgIVy.js → esm-qM9GvHZi.js} +293 -307
  27. package/dist/{flowDiagram-HODETNUW-BKvXsWYX.js → flowDiagram-HODETNUW-CD1F_wj5.js} +2 -2
  28. package/dist/{formats-vDAoRpYs.js → formats-B-gajYGs.js} +1 -1
  29. package/dist/{glide-data-editor-Bcy8iaZa.js → glide-data-editor-DzFEatOq.js} +2218 -2209
  30. package/dist/{glide-utils-BMnFm0vZ.js → glide-utils-4WmLlefP.js} +11 -11
  31. package/dist/{html-to-image-mVIbKn_Y.js → html-to-image-CZm_DMIE.js} +15 -15
  32. package/dist/{infoDiagram-27XIBGKW-B_ucqo-U.js → infoDiagram-27XIBGKW-t0zIIRVa.js} +1 -1
  33. package/dist/{ishikawaDiagram-5VMMS53U-BZFx9b-o.js → ishikawaDiagram-5VMMS53U-DtQUIYgx.js} +1 -1
  34. package/dist/{kanban-definition-UXKFOSKX-BpIfcu3G.js → kanban-definition-UXKFOSKX-CUMmwuNB.js} +1 -1
  35. package/dist/main.js +5274 -5283
  36. package/dist/{mermaid-B1Jb9HfY.js → mermaid-CMLxoJ0m.js} +34 -34
  37. package/dist/{mindmap-definition-YA3MSWOX-CmpAfv8K.js → mindmap-definition-YA3MSWOX-DnbkiQla.js} +1 -1
  38. package/dist/{number-overlay-editor-CFofZaOi.js → number-overlay-editor-lGqRHkFt.js} +1 -1
  39. package/dist/{extends-Do6pRuJa.js → objectWithoutPropertiesLoose-BbiTb8zy.js} +12 -1
  40. package/dist/{pegDiagram-XKGWAZYB-DO-0Q8SE.js → pegDiagram-XKGWAZYB-qgqAYMdv.js} +2 -2
  41. package/dist/{pick-B7vX8zxG.js → pick-CJeoxYOS.js} +1 -1
  42. package/dist/{pieDiagram-E7YTZNPT-B1MbuA_g.js → pieDiagram-E7YTZNPT-DJUB6w6B.js} +1 -1
  43. package/dist/{process-output-Cr6U5ULK.js → process-output-DuupNR0m.js} +1 -1
  44. package/dist/{railroadDiagram-O6MQD6OU-DPVOQUXC.js → railroadDiagram-O6MQD6OU-C0dtw4sR.js} +2 -2
  45. package/dist/{requirementDiagram-BXWQKSXE-CC7wZ-tM.js → requirementDiagram-BXWQKSXE-DqaTsUuC.js} +1 -1
  46. package/dist/{reveal-component-C6z2iWf2.js → reveal-component-baBJ3nFu.js} +486 -486
  47. package/dist/{sequenceDiagram-WJ2MYXX4-DomSyoJI.js → sequenceDiagram-WJ2MYXX4-D2NyWGuu.js} +1 -1
  48. package/dist/{spec-g740fOWu.js → spec-BiD5y7ft.js} +1 -1
  49. package/dist/{stateDiagram-D77RDMKH-SQLLjdtF.js → stateDiagram-D77RDMKH-JChw35bc.js} +3 -3
  50. package/dist/{stateDiagram-v2-MP3YSRHH-Dup4KkIr.js → stateDiagram-v2-MP3YSRHH-BfVY7OxA.js} +2 -2
  51. package/dist/style.css +1 -1
  52. package/dist/{swimlanes-42K2YHIH-ZXbhyGv6.js → swimlanes-42K2YHIH-eAB6utyY.js} +1 -1
  53. package/dist/{swimlanesDiagram-VR7AAH4N-CluwxV0g.js → swimlanesDiagram-VR7AAH4N-Cnpd2YtA.js} +2 -2
  54. package/dist/{timeline-definition-24CTP7MA-B8i6B9RR.js → timeline-definition-24CTP7MA-DlnODX3U.js} +1 -1
  55. package/dist/{toDate-C3JOXlJT.js → toDate-0cxDmdsp.js} +1 -1
  56. package/dist/{useAsyncData-C0f7qnnN.js → useAsyncData-DCIhDLCe.js} +1 -1
  57. package/dist/{useDeepCompareMemoize-QCa0HbWB.js → useDeepCompareMemoize-CLaZB7Gc.js} +1 -1
  58. package/dist/{useLifecycle-BGRBkTFT.js → useLifecycle-C1ViBACC.js} +1 -1
  59. package/dist/{useTheme-iQ0VoptU.js → useTheme-Da9LJvrQ.js} +1 -1
  60. package/dist/{vega-component-DRI4BDLQ.js → vega-component-Bt6d8B4Q.js} +5 -5
  61. package/dist/{vennDiagram-4TSXK5OY-CS7lHhxI.js → vennDiagram-4TSXK5OY-B_m5KxUg.js} +1 -1
  62. package/dist/{wardleyDiagram-VM6X3IG4-BSm-L8JI.js → wardleyDiagram-VM6X3IG4-Dw-Lgv3D.js} +1 -1
  63. package/dist/{xychartDiagram-S5SC5T6Z-8fKCJGrJ.js → xychartDiagram-S5SC5T6Z-BjfRms1e.js} +1 -1
  64. package/package.json +3 -6
  65. package/src/components/data-table/columns.tsx +64 -67
  66. package/src/components/editor/header/filename-input.tsx +2 -0
  67. package/src/components/editor/output/JsonOutput.tsx +182 -632
  68. package/src/components/editor/output/Outputs.css +49 -17
  69. package/src/components/editor/output/__tests__/JsonOutput-interactions.test.tsx +254 -0
  70. package/src/components/editor/output/__tests__/JsonOutput-mimetype.test.tsx +41 -46
  71. package/src/components/editor/output/__tests__/{json-output.test.ts → json-output-formatting.test.ts} +113 -75
  72. package/src/components/editor/output/__tests__/json-output-pagination.test.ts +252 -0
  73. package/src/components/editor/output/json-output/formatting.ts +167 -0
  74. package/src/components/editor/output/json-output/pagination.ts +155 -0
  75. package/src/components/editor/output/json-output/renderers.tsx +196 -0
  76. package/src/components/editor/output/json-output/themes.ts +52 -0
  77. package/src/hooks/useDebounce.ts +2 -0
  78. package/src/plugins/core/BadPlugin.tsx +3 -14
  79. package/src/plugins/core/registerReactComponent.tsx +0 -1
  80. package/src/plugins/impl/FormPlugin.tsx +2 -0
  81. package/src/plugins/impl/MatrixPlugin.tsx +2 -0
  82. package/src/plugins/impl/RangeSliderPlugin.tsx +2 -0
  83. package/src/plugins/impl/SliderPlugin.tsx +2 -0
  84. package/src/plugins/layout/JsonOutputPlugin.tsx +7 -10
  85. package/dist/emotion-is-prop-valid.esm-M57VsT8j.js +0 -14
  86. package/src/components/editor/output/EmotionCacheProvider.tsx +0 -32
@@ -2,15 +2,15 @@ import { a as e } from "./rolldown-runtime-Cb76FRpK.js";
2
2
  import { c as t, g as n, h as r, m as i, t as a } from "./button-DdXAm8iz.js";
3
3
  import { t as o } from "./react-ofJbxM4x.js";
4
4
  import { t as s } from "./compiler-runtime-Cj8ZWiNS.js";
5
- import { kt as c, st as l } from "./html-to-image-mVIbKn_Y.js";
5
+ import { kt as c, st as l } from "./html-to-image-CZm_DMIE.js";
6
6
  import { u } from "./dist-6ChWbo8z.js";
7
- import { _n as d, c as f, ct as p, g as m, h, l as g, lt as _, n as v, o as y, r as b, t as x, u as S, ut as C, vn as w, xn as T } from "./common-0eAIfiA-.js";
7
+ import { _n as d, bn as f, c as p, ct as m, g as h, gn as g, h as _, l as v, lt as y, n as b, o as x, r as S, t as C, u as w, ut as T } from "./common-BsQjZnO0.js";
8
8
  import { R as E } from "./select-UMOSCa3W.js";
9
- import { Y as D } from "./dropdown-menu-C73aTomr.js";
9
+ import { Y as D } from "./dropdown-menu-WMrB1UnI.js";
10
10
  import { t as O } from "./jsx-runtime-DgDPJV9S.js";
11
11
  import { K as k } from "./schemas-BDZr-nP0.js";
12
12
  import { t as A } from "./tooltip-CdE8k0pS.js";
13
- import { A as j, C as M, b as ee } from "./useTheme-iQ0VoptU.js";
13
+ import { A as j, C as M, b as ee } from "./useTheme-Da9LJvrQ.js";
14
14
  /* empty css */
15
15
  var N = u("sticky-note", [["path", {
16
16
  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",
@@ -86,7 +86,7 @@ var N = u("sticky-note", [["path", {
86
86
  return t ? le[t] : void 0;
87
87
  }, de = (e = "") => encodeURI(e).replace(/%5B/g, "[").replace(/%5D/g, "]").replace(/[!'()*]/g, (e) => `%${e.charCodeAt(0).toString(16).toUpperCase()}`), fe = navigator.userAgent, pe = /(iphone|ipod|ipad|android)/gi.test(fe) || navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1;
88
88
  /chrome/i.test(fe) && /edge/i.test(fe);
89
- var B = /android/gi.test(fe), me = function(e) {
89
+ var me = /android/gi.test(fe), he = function(e) {
90
90
  if (e) {
91
91
  var t = function(e) {
92
92
  return [].slice.call(e);
@@ -202,39 +202,39 @@ var B = /android/gi.test(fe), me = function(e) {
202
202
  return typeof e == "string" ? D(t(document.querySelectorAll(e)), n) : D([e], n)[0];
203
203
  }
204
204
  }(typeof window > "u" ? null : window);
205
- function he(e) {
205
+ function ge(e) {
206
206
  "@babel/helpers - typeof";
207
- return he = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
207
+ return ge = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
208
208
  return typeof e;
209
209
  } : function(e) {
210
210
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
211
- }, he(e);
211
+ }, ge(e);
212
212
  }
213
- function ge(e, t) {
214
- if (he(e) != "object" || !e) return e;
213
+ function _e(e, t) {
214
+ if (ge(e) != "object" || !e) return e;
215
215
  var n = e[Symbol.toPrimitive];
216
216
  if (n !== void 0) {
217
217
  var r = n.call(e, t || "default");
218
- if (he(r) != "object") return r;
218
+ if (ge(r) != "object") return r;
219
219
  throw TypeError("@@toPrimitive must return a primitive value.");
220
220
  }
221
221
  return (t === "string" ? String : Number)(e);
222
222
  }
223
- function _e(e) {
224
- var t = ge(e, "string");
225
- return he(t) == "symbol" ? t : t + "";
223
+ function ve(e) {
224
+ var t = _e(e, "string");
225
+ return ge(t) == "symbol" ? t : t + "";
226
226
  }
227
- function V(e, t, n) {
228
- return (t = _e(t)) in e ? Object.defineProperty(e, t, {
227
+ function B(e, t, n) {
228
+ return (t = ve(t)) in e ? Object.defineProperty(e, t, {
229
229
  value: n,
230
230
  enumerable: !0,
231
231
  configurable: !0,
232
232
  writable: !0
233
233
  }) : e[t] = n, e;
234
234
  }
235
- var ve = class {
235
+ var ye = class {
236
236
  constructor(e) {
237
- V(this, "allowedToPlayAudio", null), this.Reveal = e, this.startEmbeddedMedia = this.startEmbeddedMedia.bind(this), this.startEmbeddedIframe = this.startEmbeddedIframe.bind(this), this.preventIframeAutoFocus = this.preventIframeAutoFocus.bind(this), this.ensureMobileMediaPlaying = this.ensureMobileMediaPlaying.bind(this), this.failedAudioPlaybackTargets = /* @__PURE__ */ new Set(), this.failedVideoPlaybackTargets = /* @__PURE__ */ new Set(), this.failedMutedVideoPlaybackTargets = /* @__PURE__ */ new Set(), this.renderMediaPlayButton();
237
+ B(this, "allowedToPlayAudio", null), this.Reveal = e, this.startEmbeddedMedia = this.startEmbeddedMedia.bind(this), this.startEmbeddedIframe = this.startEmbeddedIframe.bind(this), this.preventIframeAutoFocus = this.preventIframeAutoFocus.bind(this), this.ensureMobileMediaPlaying = this.ensureMobileMediaPlaying.bind(this), this.failedAudioPlaybackTargets = /* @__PURE__ */ new Set(), this.failedVideoPlaybackTargets = /* @__PURE__ */ new Set(), this.failedMutedVideoPlaybackTargets = /* @__PURE__ */ new Set(), this.renderMediaPlayButton();
238
238
  }
239
239
  renderMediaPlayButton() {
240
240
  this.mediaPlayButton = document.createElement("button"), this.mediaPlayButton.className = "r-overlay-button r-media-play-button", this.mediaPlayButton.addEventListener("click", () => {
@@ -295,7 +295,7 @@ var ve = class {
295
295
  }
296
296
  layout(e) {
297
297
  Array.from(e.querySelectorAll(".r-fit-text")).forEach((e) => {
298
- me(e, {
298
+ he(e, {
299
299
  minSize: 24,
300
300
  maxSize: this.Reveal.getConfig().height * .8,
301
301
  observeMutations: !1,
@@ -432,7 +432,7 @@ var ve = class {
432
432
  afterSlideChanged() {
433
433
  this.clearMediaPlaybackErrors();
434
434
  }
435
- }, H = ".slides section", ye = ".slides>section", be = ".slides>section.present>section", xe = ".backgrounds>.slide-background", Se = /registerPlugin|registerKeyboardShortcut|addKeyBinding|addEventListener|showPreview|previewIframe/, Ce = class {
435
+ }, be = ".slides section", xe = ".slides>section", Se = ".slides>section.present>section", Ce = ".backgrounds>.slide-background", we = /registerPlugin|registerKeyboardShortcut|addKeyBinding|addEventListener|showPreview|previewIframe/, Te = class {
436
436
  constructor(e) {
437
437
  this.Reveal = e;
438
438
  }
@@ -481,7 +481,7 @@ var ve = class {
481
481
  destroy() {
482
482
  this.element.remove();
483
483
  }
484
- }, we = class {
484
+ }, V = class {
485
485
  constructor(e) {
486
486
  this.Reveal = e, this.onInput = this.onInput.bind(this), this.onBlur = this.onBlur.bind(this), this.onKeyDown = this.onKeyDown.bind(this);
487
487
  }
@@ -534,7 +534,7 @@ var ve = class {
534
534
  onBlur() {
535
535
  setTimeout(() => this.hide(), 1);
536
536
  }
537
- }, Te = (e) => {
537
+ }, Ee = (e) => {
538
538
  let t = e.match(/^#([0-9a-f]{3})$/i);
539
539
  if (t && t[1]) {
540
540
  let e = t[1];
@@ -566,7 +566,7 @@ var ve = class {
566
566
  b: parseInt(i[3], 10),
567
567
  a: parseFloat(i[4])
568
568
  } : null;
569
- }, Ee = (e) => (typeof e == "string" && (e = Te(e)), e ? (e.r * 299 + e.g * 587 + e.b * 114) / 1e3 : null), De = class {
569
+ }, De = (e) => (typeof e == "string" && (e = Ee(e)), e ? (e.r * 299 + e.g * 587 + e.b * 114) / 1e3 : null), Oe = class {
570
570
  constructor(e) {
571
571
  this.Reveal = e;
572
572
  }
@@ -609,13 +609,13 @@ var ve = class {
609
609
  }
610
610
  getContrastClass(e) {
611
611
  let t = e.slideBackgroundElement, n = e.getAttribute("data-background-color");
612
- if (!n || !Te(n)) {
612
+ if (!n || !Ee(n)) {
613
613
  let e = window.getComputedStyle(t);
614
614
  e && e.backgroundColor && (n = e.backgroundColor);
615
615
  }
616
616
  if (n) {
617
- let e = Te(n);
618
- if (e && e.a !== 0) return Ee(n) < 128 ? "has-dark-background" : "has-light-background";
617
+ let e = Ee(n);
618
+ if (e && e.a !== 0) return De(n) < 128 ? "has-dark-background" : "has-light-background";
619
619
  }
620
620
  return null;
621
621
  }
@@ -671,7 +671,7 @@ var ve = class {
671
671
  destroy() {
672
672
  this.element.remove();
673
673
  }
674
- }, Oe = 0, ke = class {
674
+ }, ke = 0, Ae = class {
675
675
  constructor(e) {
676
676
  this.Reveal = e;
677
677
  }
@@ -684,12 +684,12 @@ var ve = class {
684
684
  e.dataset.autoAnimate = "pending", t.dataset.autoAnimate = "pending", n.slideDirection = r > i ? "forward" : "backward";
685
685
  let a = e.style.display === "none";
686
686
  a && (e.style.display = this.Reveal.getConfig().display);
687
- let o = this.getAutoAnimatableElements(e, t).map((e) => this.autoAnimateElements(e.from, e.to, e.options || {}, n, Oe++));
687
+ let o = this.getAutoAnimatableElements(e, t).map((e) => this.autoAnimateElements(e.from, e.to, e.options || {}, n, ke++));
688
688
  if (a && (e.style.display = "none"), t.dataset.autoAnimateUnmatched !== "false" && this.Reveal.getConfig().autoAnimateUnmatched === !0) {
689
689
  let e = n.duration * .8, r = n.duration * .2;
690
690
  this.getUnmatchedAutoAnimateElements(t).forEach((e) => {
691
691
  let t = this.getAutoAnimateOptions(e, n), r = "unmatched";
692
- (t.duration !== n.duration || t.delay !== n.delay) && (r = "unmatched-" + Oe++, o.push(`[data-auto-animate="running"] [data-auto-animate-target="${r}"] { transition: opacity ${t.duration}s ease ${t.delay}s; }`)), e.dataset.autoAnimateTarget = r;
692
+ (t.duration !== n.duration || t.delay !== n.delay) && (r = "unmatched-" + ke++, o.push(`[data-auto-animate="running"] [data-auto-animate-target="${r}"] { transition: opacity ${t.duration}s ease ${t.delay}s; }`)), e.dataset.autoAnimateTarget = r;
693
693
  }, this), o.push(`[data-auto-animate="running"] [data-auto-animate-target="unmatched"] { transition: opacity ${e}s ease ${r}s; }`);
694
694
  }
695
695
  this.autoAnimateStyleSheet.innerHTML = o.join(""), requestAnimationFrame(() => {
@@ -841,7 +841,7 @@ var ve = class {
841
841
  return !t.hasAttribute("data-auto-animate-target") && !n && e.push(t), t.querySelector("[data-auto-animate-target]") && (e = e.concat(this.getUnmatchedAutoAnimateElements(t))), e;
842
842
  }, []);
843
843
  }
844
- }, Ae = 500, je = 4, Me = 6, Ne = 8, Pe = class {
844
+ }, je = 500, Me = 4, Ne = 6, Pe = 8, Fe = class {
845
845
  constructor(e) {
846
846
  this.Reveal = e, this.active = !1, this.activatedCallbacks = [], this.onScroll = this.onScroll.bind(this);
847
847
  }
@@ -849,7 +849,7 @@ var ve = class {
849
849
  if (this.active) return;
850
850
  let e = this.Reveal.getState();
851
851
  this.active = !0, this.slideHTMLBeforeActivation = this.Reveal.getSlidesElement().innerHTML;
852
- let t = I(this.Reveal.getRevealElement(), ye), n = I(this.Reveal.getRevealElement(), xe);
852
+ let t = I(this.Reveal.getRevealElement(), xe), n = I(this.Reveal.getRevealElement(), Ce);
853
853
  this.viewportElement.classList.add("loading-scroll-mode", "reveal-scroll");
854
854
  let r, i = window.getComputedStyle(this.viewportElement);
855
855
  i && i.background && (r = i.background);
@@ -970,9 +970,9 @@ var ve = class {
970
970
  syncProgressBar() {
971
971
  this.progressBarInner.querySelectorAll(".scrollbar-slide").forEach((e) => e.remove());
972
972
  let e = this.viewportElement.scrollHeight, t = this.viewportElement.offsetHeight, n = t / e;
973
- this.progressBarHeight = this.progressBarInner.offsetHeight, this.playheadHeight = Math.max(n * this.progressBarHeight, Ne), this.progressBarScrollableHeight = this.progressBarHeight - this.playheadHeight;
974
- let r = t / e * this.progressBarHeight, i = Math.min(r / 8, je);
975
- this.progressBarPlayhead.style.height = this.playheadHeight - i + "px", r > Me ? this.slideTriggers.forEach((e) => {
973
+ this.progressBarHeight = this.progressBarInner.offsetHeight, this.playheadHeight = Math.max(n * this.progressBarHeight, Pe), this.progressBarScrollableHeight = this.progressBarHeight - this.playheadHeight;
974
+ let r = t / e * this.progressBarHeight, i = Math.min(r / 8, Me);
975
+ this.progressBarPlayhead.style.height = this.playheadHeight - i + "px", r > Ne ? this.slideTriggers.forEach((e) => {
976
976
  let { page: t } = e;
977
977
  t.progressBarSlide = document.createElement("div"), t.progressBarSlide.className = "scrollbar-slide", t.progressBarSlide.style.top = e.range[0] * this.progressBarHeight + "px", t.progressBarSlide.style.height = (e.range[1] - e.range[0]) * this.progressBarHeight - i + "px", t.progressBarSlide.classList.toggle("has-triggers", t.scrollTriggers.length > 0), this.progressBarInner.appendChild(t.progressBarSlide), t.scrollTriggerElements = t.scrollTriggers.map((n, r) => {
978
978
  let a = document.createElement("div");
@@ -999,7 +999,7 @@ var ve = class {
999
999
  showProgressBar() {
1000
1000
  this.progressBar.classList.add("visible"), clearTimeout(this.hideProgressBarTimeout), this.Reveal.getConfig().scrollProgress === "auto" && !this.draggingProgressBar && (this.hideProgressBarTimeout = setTimeout(() => {
1001
1001
  this.progressBar && this.progressBar.classList.remove("visible");
1002
- }, Ae));
1002
+ }, je));
1003
1003
  }
1004
1004
  prev() {
1005
1005
  this.viewportElement.scrollTop -= this.scrollTriggerHeight;
@@ -1058,7 +1058,7 @@ var ve = class {
1058
1058
  return this.Reveal.getViewportElement();
1059
1059
  }
1060
1060
  };
1061
- function Fe(e, t, n, r, i, a, o) {
1061
+ function Ie(e, t, n, r, i, a, o) {
1062
1062
  try {
1063
1063
  var s = e[a](o), c = s.value;
1064
1064
  } catch (e) {
@@ -1067,29 +1067,29 @@ function Fe(e, t, n, r, i, a, o) {
1067
1067
  }
1068
1068
  s.done ? t(c) : Promise.resolve(c).then(r, i);
1069
1069
  }
1070
- function Ie(e) {
1070
+ function Le(e) {
1071
1071
  return function() {
1072
1072
  var t = this, n = arguments;
1073
1073
  return new Promise(function(r, i) {
1074
1074
  var a = e.apply(t, n);
1075
1075
  function o(e) {
1076
- Fe(a, r, i, o, s, "next", e);
1076
+ Ie(a, r, i, o, s, "next", e);
1077
1077
  }
1078
1078
  function s(e) {
1079
- Fe(a, r, i, o, s, "throw", e);
1079
+ Ie(a, r, i, o, s, "throw", e);
1080
1080
  }
1081
1081
  o(void 0);
1082
1082
  });
1083
1083
  };
1084
1084
  }
1085
- var Le = class {
1085
+ var Re = class {
1086
1086
  constructor(e) {
1087
1087
  this.Reveal = e;
1088
1088
  }
1089
1089
  activate() {
1090
1090
  var e = this;
1091
- return Ie(function* () {
1092
- let t = e.Reveal.getConfig(), n = I(e.Reveal.getRevealElement(), H), r = t.slideNumber && /all|print/i.test(t.showSlideNumber), i = e.Reveal.getComputedSlideSize(window.innerWidth, window.innerHeight), a = Math.floor(i.width * (1 + t.margin)), o = Math.floor(i.height * (1 + t.margin)), s = i.width, c = i.height;
1091
+ return Le(function* () {
1092
+ let t = e.Reveal.getConfig(), n = I(e.Reveal.getRevealElement(), be), r = t.slideNumber && /all|print/i.test(t.showSlideNumber), i = e.Reveal.getComputedSlideSize(window.innerWidth, window.innerHeight), a = Math.floor(i.width * (1 + t.margin)), o = Math.floor(i.height * (1 + t.margin)), s = i.width, c = i.height;
1093
1093
  yield new Promise(requestAnimationFrame), z("@page{size:" + a + "px " + o + "px; margin: 0px;}"), z(".reveal section>img, .reveal section>video, .reveal section>iframe{max-width: " + s + "px; max-height:" + c + "px}"), document.documentElement.classList.add("reveal-print", "print-pdf"), document.body.style.width = a + "px", document.body.style.height = o + "px";
1094
1094
  let l = e.Reveal.getViewportElement(), u;
1095
1095
  if (l) {
@@ -1143,7 +1143,7 @@ var Le = class {
1143
1143
  isActive() {
1144
1144
  return this.Reveal.getConfig().view === "print";
1145
1145
  }
1146
- }, Re = class {
1146
+ }, ze = class {
1147
1147
  constructor(e) {
1148
1148
  this.Reveal = e;
1149
1149
  }
@@ -1266,13 +1266,13 @@ var Le = class {
1266
1266
  prev() {
1267
1267
  return this.goto(null, -1);
1268
1268
  }
1269
- }, ze = class {
1269
+ }, Be = class {
1270
1270
  constructor(e) {
1271
1271
  this.Reveal = e, this.active = !1, this.onSlideClicked = this.onSlideClicked.bind(this);
1272
1272
  }
1273
1273
  activate() {
1274
1274
  if (this.Reveal.getConfig().overview && !this.Reveal.isScrollView() && !this.isActive()) {
1275
- this.active = !0, this.Reveal.getRevealElement().classList.add("overview"), this.Reveal.cancelAutoSlide(), this.Reveal.getSlidesElement().appendChild(this.Reveal.getBackgroundsElement()), I(this.Reveal.getRevealElement(), H).forEach((e) => {
1275
+ this.active = !0, this.Reveal.getRevealElement().classList.add("overview"), this.Reveal.cancelAutoSlide(), this.Reveal.getSlidesElement().appendChild(this.Reveal.getBackgroundsElement()), I(this.Reveal.getRevealElement(), be).forEach((e) => {
1276
1276
  e.classList.contains("stack") || e.addEventListener("click", this.onSlideClicked, !0);
1277
1277
  });
1278
1278
  let e = this.Reveal.getComputedSlideSize();
@@ -1311,7 +1311,7 @@ var Le = class {
1311
1311
  if (this.Reveal.getConfig().overview) {
1312
1312
  this.active = !1, this.Reveal.getRevealElement().classList.remove("overview"), this.Reveal.getRevealElement().classList.add("overview-deactivating"), setTimeout(() => {
1313
1313
  this.Reveal.getRevealElement().classList.remove("overview-deactivating");
1314
- }, 1), this.Reveal.getRevealElement().appendChild(this.Reveal.getBackgroundsElement()), I(this.Reveal.getRevealElement(), H).forEach((e) => {
1314
+ }, 1), this.Reveal.getRevealElement().appendChild(this.Reveal.getBackgroundsElement()), I(this.Reveal.getRevealElement(), be).forEach((e) => {
1315
1315
  ie(e, ""), e.removeEventListener("click", this.onSlideClicked, !0);
1316
1316
  }), I(this.Reveal.getBackgroundsElement(), ".slide-background").forEach((e) => {
1317
1317
  ie(e, "");
@@ -1344,7 +1344,7 @@ var Le = class {
1344
1344
  }
1345
1345
  }
1346
1346
  }
1347
- }, Be = class {
1347
+ }, Ve = class {
1348
1348
  constructor(e) {
1349
1349
  this.Reveal = e, this.shortcuts = {}, this.bindings = {}, this.onDocumentKeyDown = this.onDocumentKeyDown.bind(this);
1350
1350
  }
@@ -1437,7 +1437,7 @@ var Le = class {
1437
1437
  ].includes(n) || n === 191 && !e.shiftKey ? this.Reveal.togglePause() : n === 70 ? ae(t.embedded ? this.Reveal.getViewportElement() : document.documentElement) : n === 65 ? t.autoSlideStoppable && this.Reveal.toggleAutoSlide(r) : n === 71 ? t.jumpToSlide && this.Reveal.toggleJumpToSlide() : n === 67 && this.Reveal.isOverlayOpen() ? this.Reveal.closeOverlay() : (n === 63 || n === 191) && e.shiftKey || n === 112 ? this.Reveal.toggleHelp() : d = !1), d ? e.preventDefault && e.preventDefault() : n === 27 || n === 79 ? (this.Reveal.closeOverlay() === !1 && this.Reveal.overview.toggle(), e.preventDefault && e.preventDefault()) : n === 13 && this.Reveal.overview.isActive() && (this.Reveal.overview.deactivate(), e.preventDefault && e.preventDefault()), this.Reveal.cueAutoSlide();
1438
1438
  }
1439
1439
  };
1440
- function U(e, t) {
1440
+ function H(e, t) {
1441
1441
  var n = Object.keys(e);
1442
1442
  if (Object.getOwnPropertySymbols) {
1443
1443
  var r = Object.getOwnPropertySymbols(e);
@@ -1447,20 +1447,20 @@ function U(e, t) {
1447
1447
  }
1448
1448
  return n;
1449
1449
  }
1450
- function Ve(e) {
1450
+ function He(e) {
1451
1451
  for (var t = 1; t < arguments.length; t++) {
1452
1452
  var n = arguments[t] == null ? {} : arguments[t];
1453
- t % 2 ? U(Object(n), !0).forEach(function(t) {
1454
- V(e, t, n[t]);
1455
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : U(Object(n)).forEach(function(t) {
1453
+ t % 2 ? H(Object(n), !0).forEach(function(t) {
1454
+ B(e, t, n[t]);
1455
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H(Object(n)).forEach(function(t) {
1456
1456
  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
1457
1457
  });
1458
1458
  }
1459
1459
  return e;
1460
1460
  }
1461
- var He = class {
1461
+ var Ue = class {
1462
1462
  constructor(e) {
1463
- V(this, "MAX_REPLACE_STATE_FREQUENCY", 1e3), this.Reveal = e, this.writeURLTimeout = 0, this.replaceStateTimestamp = 0, this.onWindowHashChange = this.onWindowHashChange.bind(this);
1463
+ B(this, "MAX_REPLACE_STATE_FREQUENCY", 1e3), this.Reveal = e, this.writeURLTimeout = 0, this.replaceStateTimestamp = 0, this.onWindowHashChange = this.onWindowHashChange.bind(this);
1464
1464
  }
1465
1465
  bind() {
1466
1466
  window.addEventListener("hashchange", this.onWindowHashChange, !1);
@@ -1477,7 +1477,7 @@ var He = class {
1477
1477
  let t = decodeURIComponent(n);
1478
1478
  e = (document.getElementById(t) || document.querySelector(`[data-id="${t}"]`)).closest(".slides section");
1479
1479
  } catch {}
1480
- if (e) return Ve(Ve({}, this.Reveal.getIndices(e)), {}, { f: t });
1480
+ if (e) return He(He({}, this.Reveal.getIndices(e)), {}, { f: t });
1481
1481
  } else {
1482
1482
  let e = this.Reveal.getConfig(), n = e.hashOneBasedIndex || t.oneBasedIndex ? 1 : 0, i = parseInt(r[0], 10) - n || 0, a = parseInt(r[1], 10) - n || 0, o;
1483
1483
  return e.fragmentInURL && (o = parseInt(r[2], 10), isNaN(o) && (o = void 0)), {
@@ -1520,7 +1520,7 @@ var He = class {
1520
1520
  onWindowHashChange(e) {
1521
1521
  this.readURL();
1522
1522
  }
1523
- }, Ue = class {
1523
+ }, We = class {
1524
1524
  constructor(e) {
1525
1525
  this.Reveal = e, this.onNavigateLeftClicked = this.onNavigateLeftClicked.bind(this), this.onNavigateRightClicked = this.onNavigateRightClicked.bind(this), this.onNavigateUpClicked = this.onNavigateUpClicked.bind(this), this.onNavigateDownClicked = this.onNavigateDownClicked.bind(this), this.onNavigatePrevClicked = this.onNavigatePrevClicked.bind(this), this.onNavigateNextClicked = this.onNavigateNextClicked.bind(this), this.onEnterFullscreen = this.onEnterFullscreen.bind(this);
1526
1526
  }
@@ -1537,7 +1537,7 @@ var He = class {
1537
1537
  }
1538
1538
  bind() {
1539
1539
  let e = ["touchstart", "click"];
1540
- B && (e = ["touchend"]), e.forEach((e) => {
1540
+ me && (e = ["touchend"]), e.forEach((e) => {
1541
1541
  this.controlsLeft.forEach((t) => t.addEventListener(e, this.onNavigateLeftClicked, !1)), this.controlsRight.forEach((t) => t.addEventListener(e, this.onNavigateRightClicked, !1)), this.controlsUp.forEach((t) => t.addEventListener(e, this.onNavigateUpClicked, !1)), this.controlsDown.forEach((t) => t.addEventListener(e, this.onNavigateDownClicked, !1)), this.controlsPrev.forEach((t) => t.addEventListener(e, this.onNavigatePrevClicked, !1)), this.controlsNext.forEach((t) => t.addEventListener(e, this.onNavigateNextClicked, !1)), this.controlsFullscreen.forEach((t) => t.addEventListener(e, this.onEnterFullscreen, !1));
1542
1542
  });
1543
1543
  }
@@ -1623,7 +1623,7 @@ var He = class {
1623
1623
  let t = this.Reveal.getConfig(), n = this.Reveal.getViewportElement();
1624
1624
  ae(t.embedded ? n : n.parentElement);
1625
1625
  }
1626
- }, We = class {
1626
+ }, Ge = class {
1627
1627
  constructor(e) {
1628
1628
  this.Reveal = e, this.onProgressClicked = this.onProgressClicked.bind(this);
1629
1629
  }
@@ -1658,7 +1658,7 @@ var He = class {
1658
1658
  destroy() {
1659
1659
  this.element.remove();
1660
1660
  }
1661
- }, Ge = class {
1661
+ }, Ke = class {
1662
1662
  constructor(e) {
1663
1663
  this.Reveal = e, this.lastMouseWheelStep = 0, this.cursorHidden = !1, this.cursorInactiveTimeout = 0, this.onDocumentCursorActive = this.onDocumentCursorActive.bind(this), this.onDocumentMouseScroll = this.onDocumentMouseScroll.bind(this);
1664
1664
  }
@@ -1684,7 +1684,7 @@ var He = class {
1684
1684
  t > 0 ? this.Reveal.next() : t < 0 && this.Reveal.prev();
1685
1685
  }
1686
1686
  }
1687
- }, Ke = (e, t) => {
1687
+ }, qe = (e, t) => {
1688
1688
  let n = document.createElement("script");
1689
1689
  n.type = "text/javascript", n.async = !1, n.defer = !1, n.src = e, typeof t == "function" && (n.onload = (e) => {
1690
1690
  e.type === "load" && (n.onload = n.onerror = null, t());
@@ -1693,7 +1693,7 @@ var He = class {
1693
1693
  });
1694
1694
  let r = document.querySelector("head");
1695
1695
  r && r.insertBefore(n, r.lastChild);
1696
- }, qe = class {
1696
+ }, Je = class {
1697
1697
  constructor(e) {
1698
1698
  this.Reveal = e, this.state = "idle", this.registeredPlugins = {}, this.asyncDependencies = [];
1699
1699
  }
@@ -1708,7 +1708,7 @@ var He = class {
1708
1708
  t && typeof t.callback == "function" && t.callback(), --r === 0 && this.initPlugins().then(e);
1709
1709
  };
1710
1710
  n.forEach((e) => {
1711
- typeof e.id == "string" ? (this.registerPlugin(e), t(e)) : typeof e.src == "string" ? Ke(e.src, () => t(e)) : (console.warn("Unrecognized plugin format", e), t());
1711
+ typeof e.id == "string" ? (this.registerPlugin(e), t(e)) : typeof e.src == "string" ? qe(e.src, () => t(e)) : (console.warn("Unrecognized plugin format", e), t());
1712
1712
  });
1713
1713
  } else this.initPlugins().then(e);
1714
1714
  });
@@ -1733,7 +1733,7 @@ var He = class {
1733
1733
  }
1734
1734
  loadAsync() {
1735
1735
  return this.state = "loaded", this.asyncDependencies.length && this.asyncDependencies.forEach((e) => {
1736
- Ke(e.src, e.callback);
1736
+ qe(e.src, e.callback);
1737
1737
  }), Promise.resolve();
1738
1738
  }
1739
1739
  registerPlugin(e) {
@@ -1755,7 +1755,7 @@ var He = class {
1755
1755
  typeof e.destroy == "function" && e.destroy();
1756
1756
  }), this.registeredPlugins = {}, this.asyncDependencies = [];
1757
1757
  }
1758
- }, Je = class {
1758
+ }, Ye = class {
1759
1759
  constructor(e) {
1760
1760
  this.Reveal = e, this.onSlidesClicked = this.onSlidesClicked.bind(this), this.iframeTriggerSelector = null, this.mediaTriggerSelector = "[data-preview-image], [data-preview-video]", this.stateProps = [
1761
1761
  "previewIframe",
@@ -1899,7 +1899,7 @@ var He = class {
1899
1899
  destroy() {
1900
1900
  this.close();
1901
1901
  }
1902
- }, Ye = 40, Xe = class {
1902
+ }, Xe = 40, Ze = class {
1903
1903
  constructor(e) {
1904
1904
  this.Reveal = e, this.touchStartX = 0, this.touchStartY = 0, this.touchStartCount = 0, this.touchCaptured = !1, this.onPointerDown = this.onPointerDown.bind(this), this.onPointerMove = this.onPointerMove.bind(this), this.onPointerUp = this.onPointerUp.bind(this), this.onTouchStart = this.onTouchStart.bind(this), this.onTouchMove = this.onTouchMove.bind(this), this.onTouchEnd = this.onTouchEnd.bind(this);
1905
1905
  }
@@ -1926,13 +1926,13 @@ var He = class {
1926
1926
  onTouchMove(e) {
1927
1927
  if (this.isSwipePrevented(e.target)) return !0;
1928
1928
  let t = this.Reveal.getConfig();
1929
- if (this.touchCaptured) B && e.preventDefault();
1929
+ if (this.touchCaptured) me && e.preventDefault();
1930
1930
  else {
1931
1931
  this.Reveal.onUserInput(e);
1932
1932
  let n = e.touches[0].clientX, r = e.touches[0].clientY;
1933
1933
  if (e.touches.length === 1 && this.touchStartCount !== 2) {
1934
1934
  let i = this.Reveal.availableRoutes({ includeFragments: !0 }), a = n - this.touchStartX, o = r - this.touchStartY;
1935
- a > Ye && Math.abs(a) > Math.abs(o) ? (this.touchCaptured = !0, t.navigationMode === "linear" ? t.rtl ? this.Reveal.next() : this.Reveal.prev() : this.Reveal.left()) : a < -Ye && Math.abs(a) > Math.abs(o) ? (this.touchCaptured = !0, t.navigationMode === "linear" ? t.rtl ? this.Reveal.prev() : this.Reveal.next() : this.Reveal.right()) : o > Ye && i.up ? (this.touchCaptured = !0, t.navigationMode === "linear" ? this.Reveal.prev() : this.Reveal.up()) : o < -Ye && i.down && (this.touchCaptured = !0, t.navigationMode === "linear" ? this.Reveal.next() : this.Reveal.down()), t.embedded ? (this.touchCaptured || this.Reveal.isVerticalSlide()) && e.preventDefault() : e.preventDefault();
1935
+ a > Xe && Math.abs(a) > Math.abs(o) ? (this.touchCaptured = !0, t.navigationMode === "linear" ? t.rtl ? this.Reveal.next() : this.Reveal.prev() : this.Reveal.left()) : a < -Xe && Math.abs(a) > Math.abs(o) ? (this.touchCaptured = !0, t.navigationMode === "linear" ? t.rtl ? this.Reveal.prev() : this.Reveal.next() : this.Reveal.right()) : o > Xe && i.up ? (this.touchCaptured = !0, t.navigationMode === "linear" ? this.Reveal.prev() : this.Reveal.up()) : o < -Xe && i.down && (this.touchCaptured = !0, t.navigationMode === "linear" ? this.Reveal.next() : this.Reveal.down()), t.embedded ? (this.touchCaptured || this.Reveal.isVerticalSlide()) && e.preventDefault() : e.preventDefault();
1936
1936
  }
1937
1937
  }
1938
1938
  }
@@ -1957,7 +1957,7 @@ var He = class {
1957
1957
  clientY: e.clientY
1958
1958
  }], this.onTouchEnd(e));
1959
1959
  }
1960
- }, W = "focus", Ze = "blur", Qe = class {
1960
+ }, U = "focus", Qe = "blur", $e = class {
1961
1961
  constructor(e) {
1962
1962
  this.Reveal = e, this.onRevealPointerDown = this.onRevealPointerDown.bind(this), this.onDocumentPointerDown = this.onDocumentPointerDown.bind(this);
1963
1963
  }
@@ -1971,13 +1971,13 @@ var He = class {
1971
1971
  this.Reveal.getRevealElement().removeEventListener("pointerdown", this.onRevealPointerDown, !1), document.removeEventListener("pointerdown", this.onDocumentPointerDown, !1);
1972
1972
  }
1973
1973
  focus() {
1974
- this.state !== W && (this.Reveal.getRevealElement().classList.add("focused"), document.addEventListener("pointerdown", this.onDocumentPointerDown, !1)), this.state = W;
1974
+ this.state !== U && (this.Reveal.getRevealElement().classList.add("focused"), document.addEventListener("pointerdown", this.onDocumentPointerDown, !1)), this.state = U;
1975
1975
  }
1976
1976
  blur() {
1977
- this.state !== Ze && (this.Reveal.getRevealElement().classList.remove("focused"), document.removeEventListener("pointerdown", this.onDocumentPointerDown, !1)), this.state = Ze;
1977
+ this.state !== Qe && (this.Reveal.getRevealElement().classList.remove("focused"), document.removeEventListener("pointerdown", this.onDocumentPointerDown, !1)), this.state = Qe;
1978
1978
  }
1979
1979
  isFocused() {
1980
- return this.state === W;
1980
+ return this.state === U;
1981
1981
  }
1982
1982
  destroy() {
1983
1983
  this.Reveal.getRevealElement().classList.remove("focused");
@@ -1989,7 +1989,7 @@ var He = class {
1989
1989
  let t = R(e.target, ".reveal");
1990
1990
  (!t || t !== this.Reveal.getRevealElement()) && this.blur();
1991
1991
  }
1992
- }, $e = class {
1992
+ }, et = class {
1993
1993
  constructor(e) {
1994
1994
  this.Reveal = e;
1995
1995
  }
@@ -2019,7 +2019,7 @@ var He = class {
2019
2019
  destroy() {
2020
2020
  this.element.remove();
2021
2021
  }
2022
- }, et = class {
2022
+ }, tt = class {
2023
2023
  constructor(e, t) {
2024
2024
  this.diameter = 100, this.diameter2 = this.diameter / 2, this.thickness = 6, this.playing = !1, this.progress = 0, this.progressOffset = 1, this.container = e, this.progressCheck = t, this.canvas = document.createElement("canvas"), this.canvas.className = "playback", this.canvas.width = this.diameter, this.canvas.height = this.diameter, this.canvas.style.width = this.diameter2 + "px", this.canvas.style.height = this.diameter2 + "px", this.context = this.canvas.getContext("2d"), this.container.appendChild(this.canvas), this.render();
2025
2025
  }
@@ -2046,7 +2046,7 @@ var He = class {
2046
2046
  destroy() {
2047
2047
  this.playing = !1, this.canvas.parentNode && this.container.removeChild(this.canvas);
2048
2048
  }
2049
- }, tt = {
2049
+ }, nt = {
2050
2050
  width: 960,
2051
2051
  height: 700,
2052
2052
  margin: .04,
@@ -2136,8 +2136,8 @@ var He = class {
2136
2136
  pdfPageHeightOffset: -1,
2137
2137
  dependencies: [],
2138
2138
  plugins: []
2139
- }, nt = "6.0.1";
2140
- function rt(e, t) {
2139
+ }, rt = "6.0.1";
2140
+ function it(e, t) {
2141
2141
  arguments.length < 2 && (t = arguments[0], e = document.querySelector(".reveal"));
2142
2142
  let n = {}, r = {}, i = !1, a = !1, o, s, c, l, u = {
2143
2143
  hasNavigatedHorizontally: !1,
@@ -2145,19 +2145,19 @@ function rt(e, t) {
2145
2145
  }, d = [], f = 1, p = {
2146
2146
  layout: "",
2147
2147
  overview: ""
2148
- }, m = {}, h = "idle", g = 0, _, v = 0, y = -1, b = !1, x = new ve(n), S = new Ce(n), C = new we(n), w = new ke(n), T = new De(n), E = new Pe(n), D = new Le(n), O = new Re(n), k = new ze(n), A = new Be(n), j = new He(n), M = new Ue(n), ee = new We(n), N = new Ge(n), P = new qe(n), F = new Je(n), L = new Qe(n), ae = new Xe(n), z = new $e(n);
2148
+ }, m = {}, h = "idle", g = 0, _, v = 0, y = -1, b = !1, x = new ye(n), S = new Te(n), C = new V(n), w = new Ae(n), T = new Oe(n), E = new Fe(n), D = new Re(n), O = new ze(n), k = new Be(n), A = new Ve(n), j = new Ue(n), M = new We(n), ee = new Ge(n), N = new Ke(n), P = new Je(n), F = new Ye(n), L = new $e(n), ae = new Ze(n), z = new et(n);
2149
2149
  function le(a) {
2150
2150
  if (!e) throw "Unable to find presentation root (<div class=\"reveal\">).";
2151
2151
  if (i) throw "Reveal.js has already been initialized.";
2152
2152
  if (i = !0, m.wrapper = e, m.slides = e.querySelector(".slides"), !m.slides) throw "Unable to find slides container (<div class=\"slides\">).";
2153
- return r = Ve(Ve(Ve(Ve(Ve({}, tt), r), t), a), se()), /print-pdf/gi.test(window.location.search) && (r.view = "print"), ue(), window.addEventListener("load", W, !1), P.load(r.plugins, r.dependencies).then(de), new Promise((e) => n.on("ready", e));
2153
+ return r = He(He(He(He(He({}, nt), r), t), a), se()), /print-pdf/gi.test(window.location.search) && (r.view = "print"), ue(), window.addEventListener("load", U, !1), P.load(r.plugins, r.dependencies).then(de), new Promise((e) => n.on("ready", e));
2154
2154
  }
2155
2155
  function ue() {
2156
2156
  r.embedded === !0 ? m.viewport = R(e, ".reveal-viewport") || e : (m.viewport = document.body, document.documentElement.classList.add("reveal-full-page")), m.viewport.classList.add("reveal-viewport");
2157
2157
  }
2158
2158
  function de() {
2159
- i !== !1 && (a = !0, B(), me(), Ee(), xe(), Te(), q(), Oe(), T.update(!0), fe(), j.readURL(), setTimeout(() => {
2160
- m.slides.classList.remove("no-transition"), m.wrapper.classList.add("ready"), U({
2159
+ i !== !1 && (a = !0, me(), he(), De(), Ce(), Ee(), q(), ke(), T.update(!0), fe(), j.readURL(), setTimeout(() => {
2160
+ m.slides.classList.remove("no-transition"), m.wrapper.classList.add("ready"), H({
2161
2161
  type: "ready",
2162
2162
  data: {
2163
2163
  indexh: o,
@@ -2169,25 +2169,25 @@ function rt(e, t) {
2169
2169
  }
2170
2170
  function fe() {
2171
2171
  let e = r.view === "print", t = r.view === "scroll" || r.view === "reader";
2172
- (e || t) && (e ? je() : ae.unbind(), m.viewport.classList.add("loading-scroll-mode"), e ? document.readyState === "complete" ? D.activate() : window.addEventListener("load", () => D.activate()) : E.activate());
2172
+ (e || t) && (e ? Me() : ae.unbind(), m.viewport.classList.add("loading-scroll-mode"), e ? document.readyState === "complete" ? D.activate() : window.addEventListener("load", () => D.activate()) : E.activate());
2173
2173
  }
2174
- function B() {
2174
+ function me() {
2175
2175
  r.showHiddenSlides || I(m.wrapper, "section[data-visibility=\"hidden\"]").forEach((e) => {
2176
2176
  let t = e.parentNode;
2177
2177
  t.childElementCount === 1 && /section/i.test(t.nodeName) ? t.remove() : e.remove();
2178
2178
  });
2179
2179
  }
2180
- function me() {
2181
- m.slides.classList.add("no-transition"), pe ? m.wrapper.classList.add("no-hover") : m.wrapper.classList.remove("no-hover"), T.render(), S.render(), C.render(), M.render(), ee.render(), z.render(), m.pauseOverlay = oe(m.wrapper, "div", "pause-overlay", r.controls ? "<button class=\"resume-button\">Resume presentation</button>" : null), m.statusElement = he(), m.wrapper.setAttribute("role", "application");
2182
- }
2183
2180
  function he() {
2181
+ m.slides.classList.add("no-transition"), pe ? m.wrapper.classList.add("no-hover") : m.wrapper.classList.remove("no-hover"), T.render(), S.render(), C.render(), M.render(), ee.render(), z.render(), m.pauseOverlay = oe(m.wrapper, "div", "pause-overlay", r.controls ? "<button class=\"resume-button\">Resume presentation</button>" : null), m.statusElement = ge(), m.wrapper.setAttribute("role", "application");
2182
+ }
2183
+ function ge() {
2184
2184
  let e = m.wrapper.querySelector(".aria-status");
2185
2185
  return e || (e = document.createElement("div"), e.style.position = "absolute", e.style.height = "1px", e.style.width = "1px", e.style.overflow = "hidden", e.style.clip = "rect( 1px, 1px, 1px, 1px )", e.classList.add("aria-status"), e.setAttribute("aria-live", "polite"), e.setAttribute("aria-atomic", "true"), m.wrapper.appendChild(e)), e;
2186
2186
  }
2187
- function ge(e) {
2187
+ function _e(e) {
2188
2188
  m.statusElement.textContent = e;
2189
2189
  }
2190
- function _e(e) {
2190
+ function ve(e) {
2191
2191
  let t = "";
2192
2192
  if (e.nodeType === 3) t += e.textContent.trim();
2193
2193
  else if (e.nodeType === 1) {
@@ -2195,10 +2195,10 @@ function rt(e, t) {
2195
2195
  if (n !== "true" && !r) {
2196
2196
  if (e.tagName === "IMG" || e.tagName === "VIDEO") {
2197
2197
  let n = e.getAttribute("alt");
2198
- n && (t += V(n));
2198
+ n && (t += B(n));
2199
2199
  }
2200
2200
  Array.from(e.childNodes).forEach((e) => {
2201
- t += _e(e);
2201
+ t += ve(e);
2202
2202
  }), [
2203
2203
  "P",
2204
2204
  "DIV",
@@ -2212,58 +2212,58 @@ function rt(e, t) {
2212
2212
  "H5",
2213
2213
  "H6",
2214
2214
  "BLOCKQUOTE"
2215
- ].includes(e.tagName) && t.trim() !== "" && (t = V(t));
2215
+ ].includes(e.tagName) && t.trim() !== "" && (t = B(t));
2216
2216
  }
2217
2217
  }
2218
2218
  return t = t.trim(), t === "" ? "" : t + " ";
2219
2219
  }
2220
- function V(e) {
2220
+ function B(e) {
2221
2221
  let t = e.trim();
2222
2222
  return t === "" ? e : /[.!?]$/.test(t) ? t : t + ".";
2223
2223
  }
2224
- function xe() {
2224
+ function Ce() {
2225
2225
  setInterval(() => {
2226
2226
  (!E.isActive() && m.wrapper.scrollTop !== 0 || m.wrapper.scrollLeft !== 0) && (m.wrapper.scrollTop = 0, m.wrapper.scrollLeft = 0);
2227
2227
  }, 1e3);
2228
2228
  }
2229
- function Te() {
2229
+ function Ee() {
2230
2230
  document.addEventListener("fullscreenchange", rn), document.addEventListener("webkitfullscreenchange", rn);
2231
2231
  }
2232
- function Ee() {
2232
+ function De() {
2233
2233
  r.postMessage && window.addEventListener("message", Qt, !1);
2234
2234
  }
2235
- function Oe(e) {
2236
- let t = Ve({}, r);
2235
+ function ke(e) {
2236
+ let t = He({}, r);
2237
2237
  if (typeof e == "object" && te(r, e), n.isReady() === !1) return;
2238
- let i = m.wrapper.querySelectorAll(H).length;
2239
- m.wrapper.classList.remove(t.transition), m.wrapper.classList.add(r.transition), m.wrapper.setAttribute("data-transition-speed", r.transitionSpeed), m.wrapper.setAttribute("data-background-transition", r.backgroundTransition), m.viewport.style.setProperty("--slide-width", typeof r.width == "string" ? r.width : r.width + "px"), m.viewport.style.setProperty("--slide-height", typeof r.height == "string" ? r.height : r.height + "px"), r.shuffle && St(), ne(m.wrapper, "embedded", r.embedded), ne(m.wrapper, "rtl", r.rtl), ne(m.wrapper, "center", r.center), r.pause === !1 && dt(), w.reset(), _ &&= (_.destroy(), null), i > 1 && r.autoSlide && r.autoSlideStoppable && (_ = new et(m.wrapper, () => Math.min(Math.max((Date.now() - y) / g, 0), 1)), _.on("click", an), b = !1), r.navigationMode === "default" ? m.wrapper.removeAttribute("data-navigation-mode") : m.wrapper.setAttribute("data-navigation-mode", r.navigationMode), z.configure(r, t), L.configure(r, t), N.configure(r, t), M.configure(r, t), ee.configure(r, t), A.configure(r, t), O.configure(r, t), S.configure(r, t), bt();
2240
- }
2241
- function Ae() {
2242
- window.addEventListener("resize", tn, !1), r.touch && ae.bind(), r.keyboard && A.bind(), r.progress && ee.bind(), r.respondToHashChanges && j.bind(), M.bind(), L.bind(), m.slides.addEventListener("click", en, !1), m.slides.addEventListener("transitionend", $t, !1), m.pauseOverlay.addEventListener("click", dt, !1), r.focusBodyOnPageVisibilityChange && document.addEventListener("visibilitychange", nn, !1);
2238
+ let i = m.wrapper.querySelectorAll(be).length;
2239
+ m.wrapper.classList.remove(t.transition), m.wrapper.classList.add(r.transition), m.wrapper.setAttribute("data-transition-speed", r.transitionSpeed), m.wrapper.setAttribute("data-background-transition", r.backgroundTransition), m.viewport.style.setProperty("--slide-width", typeof r.width == "string" ? r.width : r.width + "px"), m.viewport.style.setProperty("--slide-height", typeof r.height == "string" ? r.height : r.height + "px"), r.shuffle && St(), ne(m.wrapper, "embedded", r.embedded), ne(m.wrapper, "rtl", r.rtl), ne(m.wrapper, "center", r.center), r.pause === !1 && ft(), w.reset(), _ &&= (_.destroy(), null), i > 1 && r.autoSlide && r.autoSlideStoppable && (_ = new tt(m.wrapper, () => Math.min(Math.max((Date.now() - y) / g, 0), 1)), _.on("click", an), b = !1), r.navigationMode === "default" ? m.wrapper.removeAttribute("data-navigation-mode") : m.wrapper.setAttribute("data-navigation-mode", r.navigationMode), z.configure(r, t), L.configure(r, t), N.configure(r, t), M.configure(r, t), ee.configure(r, t), A.configure(r, t), O.configure(r, t), S.configure(r, t), xt();
2243
2240
  }
2244
2241
  function je() {
2245
- ae.unbind(), L.unbind(), A.unbind(), M.unbind(), ee.unbind(), j.unbind(), window.removeEventListener("resize", tn, !1), m.slides.removeEventListener("click", en, !1), m.slides.removeEventListener("transitionend", $t, !1), m.pauseOverlay.removeEventListener("click", dt, !1);
2242
+ window.addEventListener("resize", tn, !1), r.touch && ae.bind(), r.keyboard && A.bind(), r.progress && ee.bind(), r.respondToHashChanges && j.bind(), M.bind(), L.bind(), m.slides.addEventListener("click", en, !1), m.slides.addEventListener("transitionend", $t, !1), m.pauseOverlay.addEventListener("click", ft, !1), r.focusBodyOnPageVisibilityChange && document.addEventListener("visibilitychange", nn, !1);
2246
2243
  }
2247
2244
  function Me() {
2248
- i = !1, a !== !1 && (je(), Ht(), z.destroy(), L.destroy(), F.destroy(), P.destroy(), N.destroy(), M.destroy(), ee.destroy(), T.destroy(), S.destroy(), C.destroy(), document.removeEventListener("fullscreenchange", rn), document.removeEventListener("webkitfullscreenchange", rn), document.removeEventListener("visibilitychange", nn, !1), window.removeEventListener("message", Qt, !1), window.removeEventListener("load", W, !1), m.pauseOverlay && m.pauseOverlay.remove(), m.statusElement && m.statusElement.remove(), document.documentElement.classList.remove("reveal-full-page"), m.wrapper.classList.remove("ready", "center", "has-horizontal-slides", "has-vertical-slides"), m.wrapper.removeAttribute("data-transition-speed"), m.wrapper.removeAttribute("data-background-transition"), m.viewport.classList.remove("reveal-viewport"), m.viewport.style.removeProperty("--slide-width"), m.viewport.style.removeProperty("--slide-height"), m.slides.style.removeProperty("width"), m.slides.style.removeProperty("height"), m.slides.style.removeProperty("zoom"), m.slides.style.removeProperty("left"), m.slides.style.removeProperty("top"), m.slides.style.removeProperty("bottom"), m.slides.style.removeProperty("right"), m.slides.style.removeProperty("transform"), Array.from(m.wrapper.querySelectorAll(H)).forEach((e) => {
2245
+ ae.unbind(), L.unbind(), A.unbind(), M.unbind(), ee.unbind(), j.unbind(), window.removeEventListener("resize", tn, !1), m.slides.removeEventListener("click", en, !1), m.slides.removeEventListener("transitionend", $t, !1), m.pauseOverlay.removeEventListener("click", ft, !1);
2246
+ }
2247
+ function Ne() {
2248
+ i = !1, a !== !1 && (Me(), Ht(), z.destroy(), L.destroy(), F.destroy(), P.destroy(), N.destroy(), M.destroy(), ee.destroy(), T.destroy(), S.destroy(), C.destroy(), document.removeEventListener("fullscreenchange", rn), document.removeEventListener("webkitfullscreenchange", rn), document.removeEventListener("visibilitychange", nn, !1), window.removeEventListener("message", Qt, !1), window.removeEventListener("load", U, !1), m.pauseOverlay && m.pauseOverlay.remove(), m.statusElement && m.statusElement.remove(), document.documentElement.classList.remove("reveal-full-page"), m.wrapper.classList.remove("ready", "center", "has-horizontal-slides", "has-vertical-slides"), m.wrapper.removeAttribute("data-transition-speed"), m.wrapper.removeAttribute("data-background-transition"), m.viewport.classList.remove("reveal-viewport"), m.viewport.style.removeProperty("--slide-width"), m.viewport.style.removeProperty("--slide-height"), m.slides.style.removeProperty("width"), m.slides.style.removeProperty("height"), m.slides.style.removeProperty("zoom"), m.slides.style.removeProperty("left"), m.slides.style.removeProperty("top"), m.slides.style.removeProperty("bottom"), m.slides.style.removeProperty("right"), m.slides.style.removeProperty("transform"), Array.from(m.wrapper.querySelectorAll(be)).forEach((e) => {
2249
2249
  e.style.removeProperty("display"), e.style.removeProperty("top"), e.removeAttribute("hidden"), e.removeAttribute("aria-hidden");
2250
2250
  }));
2251
2251
  }
2252
- function Ne(t, n, r) {
2252
+ function Pe(t, n, r) {
2253
2253
  e.addEventListener(t, n, r);
2254
2254
  }
2255
- function Fe(t, n, r) {
2255
+ function Ie(t, n, r) {
2256
2256
  e.removeEventListener(t, n, r);
2257
2257
  }
2258
- function Ie(e) {
2258
+ function Le(e) {
2259
2259
  typeof e.layout == "string" && (p.layout = e.layout), typeof e.overview == "string" && (p.overview = e.overview), p.layout ? ie(m.slides, p.layout + " " + p.overview) : ie(m.slides, p.overview);
2260
2260
  }
2261
- function U({ target: e = m.wrapper, type: t, data: n, bubbles: r = !0 }) {
2261
+ function H({ target: e = m.wrapper, type: t, data: n, bubbles: r = !0 }) {
2262
2262
  let i = document.createEvent("HTMLEvents", 1, 2);
2263
- return i.initEvent(t, r, !0), te(i, n), e.dispatchEvent(i), e === m.wrapper && Ye(t), i;
2263
+ return i.initEvent(t, r, !0), te(i, n), e.dispatchEvent(i), e === m.wrapper && Xe(t), i;
2264
2264
  }
2265
- function Ke(e) {
2266
- U({
2265
+ function qe(e) {
2266
+ H({
2267
2267
  type: "slidechanged",
2268
2268
  data: {
2269
2269
  indexh: o,
@@ -2274,7 +2274,7 @@ function rt(e, t) {
2274
2274
  }
2275
2275
  });
2276
2276
  }
2277
- function Ye(e, t) {
2277
+ function Xe(e, t) {
2278
2278
  if (r.postMessageEvents && window.parent !== window.self) {
2279
2279
  let n = {
2280
2280
  namespace: "reveal",
@@ -2284,19 +2284,19 @@ function rt(e, t) {
2284
2284
  te(n, t), window.parent.postMessage(JSON.stringify(n), "*");
2285
2285
  }
2286
2286
  }
2287
- function W() {
2287
+ function U() {
2288
2288
  if (m.wrapper && !D.isActive()) {
2289
2289
  let e = m.viewport.offsetWidth, t = m.viewport.offsetHeight;
2290
2290
  if (!r.disableLayout) {
2291
2291
  pe && !r.embedded && document.documentElement.style.setProperty("--vh", window.innerHeight * .01 + "px");
2292
- let n = E.isActive() ? G(e, t) : G(), i = f;
2293
- Ze(r.width, r.height), m.slides.style.width = n.width + "px", m.slides.style.height = n.height + "px", f = Math.min(n.presentationWidth / n.width, n.presentationHeight / n.height), f = Math.max(f, r.minScale), f = Math.min(f, r.maxScale), f === 1 || E.isActive() ? (m.slides.style.zoom = "", m.slides.style.left = "", m.slides.style.top = "", m.slides.style.bottom = "", m.slides.style.right = "", Ie({ layout: "" })) : (m.slides.style.zoom = "", m.slides.style.left = "50%", m.slides.style.top = "50%", m.slides.style.bottom = "auto", m.slides.style.right = "auto", Ie({ layout: "translate(-50%, -50%) scale(" + f + ")" }));
2294
- let a = Array.from(m.wrapper.querySelectorAll(H));
2292
+ let n = E.isActive() ? W(e, t) : W(), i = f;
2293
+ Qe(r.width, r.height), m.slides.style.width = n.width + "px", m.slides.style.height = n.height + "px", f = Math.min(n.presentationWidth / n.width, n.presentationHeight / n.height), f = Math.max(f, r.minScale), f = Math.min(f, r.maxScale), f === 1 || E.isActive() ? (m.slides.style.zoom = "", m.slides.style.left = "", m.slides.style.top = "", m.slides.style.bottom = "", m.slides.style.right = "", Le({ layout: "" })) : (m.slides.style.zoom = "", m.slides.style.left = "50%", m.slides.style.top = "50%", m.slides.style.bottom = "auto", m.slides.style.right = "auto", Le({ layout: "translate(-50%, -50%) scale(" + f + ")" }));
2294
+ let a = Array.from(m.wrapper.querySelectorAll(be));
2295
2295
  for (let e = 0, t = a.length; e < t; e++) {
2296
2296
  let t = a[e];
2297
2297
  t.style.display !== "none" && (r.center || t.classList.contains("center") ? t.classList.contains("stack") ? t.style.top = 0 : t.style.top = Math.max((n.height - t.scrollHeight) / 2, 0) + "px" : t.style.top = "");
2298
2298
  }
2299
- i !== f && U({
2299
+ i !== f && H({
2300
2300
  type: "resize",
2301
2301
  data: {
2302
2302
  oldScale: i,
@@ -2305,10 +2305,10 @@ function rt(e, t) {
2305
2305
  }
2306
2306
  });
2307
2307
  }
2308
- rt(), m.viewport.style.setProperty("--slide-scale", f), m.viewport.style.setProperty("--viewport-width", e + "px"), m.viewport.style.setProperty("--viewport-height", t + "px"), E.layout(), ee.update(), T.updateParallax(), k.isActive() && k.update();
2308
+ it(), m.viewport.style.setProperty("--slide-scale", f), m.viewport.style.setProperty("--viewport-width", e + "px"), m.viewport.style.setProperty("--viewport-height", t + "px"), E.layout(), ee.update(), T.updateParallax(), k.isActive() && k.update();
2309
2309
  }
2310
2310
  }
2311
- function Ze(e, t) {
2311
+ function Qe(e, t) {
2312
2312
  I(m.slides, "section > .stretch, section > .r-stretch").forEach((n) => {
2313
2313
  let r = ce(n, t);
2314
2314
  if (/(img|video)/gi.test(n.nodeName)) {
@@ -2317,13 +2317,13 @@ function rt(e, t) {
2317
2317
  } else n.style.width = e + "px", n.style.height = r + "px";
2318
2318
  });
2319
2319
  }
2320
- function rt() {
2320
+ function it() {
2321
2321
  if (m.wrapper && !r.disableLayout && !D.isActive() && typeof r.scrollActivationWidth == "number" && r.view !== "scroll") {
2322
- let e = G();
2322
+ let e = W();
2323
2323
  e.presentationWidth > 0 && e.presentationWidth <= r.scrollActivationWidth ? E.isActive() || (T.create(), E.activate()) : E.isActive() && E.deactivate();
2324
2324
  }
2325
2325
  }
2326
- function G(e, t) {
2326
+ function W(e, t) {
2327
2327
  let n = r.width, i = r.height;
2328
2328
  r.disableLayout && (n = m.slides.offsetWidth, i = m.slides.offsetHeight);
2329
2329
  let a = {
@@ -2334,58 +2334,58 @@ function rt(e, t) {
2334
2334
  };
2335
2335
  return a.presentationWidth -= a.presentationWidth * r.margin, a.presentationHeight -= a.presentationHeight * r.margin, typeof a.width == "string" && /%$/.test(a.width) && (a.width = parseInt(a.width, 10) / 100 * a.presentationWidth), typeof a.height == "string" && /%$/.test(a.height) && (a.height = parseInt(a.height, 10) / 100 * a.presentationHeight), a;
2336
2336
  }
2337
- function it(e, t) {
2337
+ function at(e, t) {
2338
2338
  typeof e == "object" && typeof e.setAttribute == "function" && e.setAttribute("data-previous-indexv", t || 0);
2339
2339
  }
2340
- function K(e) {
2340
+ function G(e) {
2341
2341
  if (typeof e == "object" && typeof e.setAttribute == "function" && e.classList.contains("stack")) {
2342
2342
  let t = e.hasAttribute("data-start-indexv") ? "data-start-indexv" : "data-previous-indexv";
2343
2343
  return parseInt(e.getAttribute(t) || 0, 10);
2344
2344
  }
2345
2345
  return 0;
2346
2346
  }
2347
- function at(e = l) {
2347
+ function ot(e = l) {
2348
2348
  return e && e.parentNode && !!e.parentNode.nodeName.match(/section/i);
2349
2349
  }
2350
- function ot(e = l) {
2350
+ function st(e = l) {
2351
2351
  return e.classList.contains(".stack") || e.querySelector("section") !== null;
2352
2352
  }
2353
- function st() {
2354
- return l && at(l) ? !l.nextElementSibling : !1;
2355
- }
2356
2353
  function ct() {
2357
- return o === 0 && s === 0;
2354
+ return l && ot(l) ? !l.nextElementSibling : !1;
2358
2355
  }
2359
2356
  function lt() {
2360
- return l ? !(l.nextElementSibling || at(l) && l.parentNode.nextElementSibling) : !1;
2357
+ return o === 0 && s === 0;
2361
2358
  }
2362
2359
  function ut() {
2360
+ return l ? !(l.nextElementSibling || ot(l) && l.parentNode.nextElementSibling) : !1;
2361
+ }
2362
+ function dt() {
2363
2363
  if (r.pause) {
2364
2364
  let e = m.wrapper.classList.contains("paused");
2365
- Ht(), m.wrapper.classList.add("paused"), e === !1 && U({ type: "paused" });
2365
+ Ht(), m.wrapper.classList.add("paused"), e === !1 && H({ type: "paused" });
2366
2366
  }
2367
2367
  }
2368
- function dt() {
2368
+ function ft() {
2369
2369
  let e = m.wrapper.classList.contains("paused");
2370
- m.wrapper.classList.remove("paused"), Vt(), e && U({ type: "resumed" });
2370
+ m.wrapper.classList.remove("paused"), Vt(), e && H({ type: "resumed" });
2371
2371
  }
2372
- function ft(e) {
2373
- typeof e == "boolean" ? e ? ut() : dt() : pt() ? dt() : ut();
2372
+ function pt(e) {
2373
+ typeof e == "boolean" ? e ? dt() : ft() : mt() ? ft() : dt();
2374
2374
  }
2375
- function pt() {
2375
+ function mt() {
2376
2376
  return m.wrapper.classList.contains("paused");
2377
2377
  }
2378
- function mt(e) {
2378
+ function ht(e) {
2379
2379
  typeof e == "boolean" ? e ? C.show() : C.hide() : C.isVisible() ? C.hide() : C.show();
2380
2380
  }
2381
- function ht(e) {
2381
+ function gt(e) {
2382
2382
  typeof e == "boolean" ? e ? Wt() : Ut() : b ? Wt() : Ut();
2383
2383
  }
2384
- function gt() {
2384
+ function _t() {
2385
2385
  return !!(g && !b);
2386
2386
  }
2387
- function _t(t, n, i, a) {
2388
- if (U({
2387
+ function vt(t, n, i, a) {
2388
+ if (H({
2389
2389
  type: "beforeslidechange",
2390
2390
  data: {
2391
2391
  indexh: t === void 0 ? o : t,
@@ -2394,26 +2394,26 @@ function rt(e, t) {
2394
2394
  }
2395
2395
  }).defaultPrevented) return;
2396
2396
  c = l;
2397
- let u = m.wrapper.querySelectorAll(ye);
2397
+ let u = m.wrapper.querySelectorAll(xe);
2398
2398
  if (E.isActive()) {
2399
2399
  let e = E.getSlideByIndices(t, n);
2400
2400
  e && E.scrollToSlide(e);
2401
2401
  return;
2402
2402
  }
2403
2403
  if (u.length === 0) return;
2404
- n === void 0 && !k.isActive() && (n = K(u[t])), c && c.parentNode && c.parentNode.classList.contains("stack") && it(c.parentNode, s);
2404
+ n === void 0 && !k.isActive() && (n = G(u[t])), c && c.parentNode && c.parentNode.classList.contains("stack") && at(c.parentNode, s);
2405
2405
  let f = d.concat();
2406
2406
  d.length = 0;
2407
2407
  let p = o || 0, g = s || 0;
2408
- o = J(ye, t === void 0 ? o : t), s = J(be, n === void 0 ? s : n);
2408
+ o = J(xe, t === void 0 ? o : t), s = J(Se, n === void 0 ? s : n);
2409
2409
  let _ = o !== p || s !== g;
2410
2410
  _ || (c = null);
2411
2411
  let v = u[o], y = v.querySelectorAll("section");
2412
2412
  e.classList.toggle("is-vertical-slide", y.length > 1), l = y[s] || v;
2413
2413
  let b = !1;
2414
- _ && c && l && !k.isActive() && (h = "running", b = vt(c, l, p, g), b && m.slides.classList.add("disable-slide-transitions")), Tt(), W(), k.isActive() && k.update(), i !== void 0 && O.goto(i), c && c !== l && (c.classList.remove("present"), c.setAttribute("aria-hidden", "true"), ct() && setTimeout(() => {
2414
+ _ && c && l && !k.isActive() && (h = "running", b = yt(c, l, p, g), b && m.slides.classList.add("disable-slide-transitions")), Tt(), U(), k.isActive() && k.update(), i !== void 0 && O.goto(i), c && c !== l && (c.classList.remove("present"), c.setAttribute("aria-hidden", "true"), lt() && setTimeout(() => {
2415
2415
  Mt().forEach((e) => {
2416
- it(e, 0);
2416
+ at(e, 0);
2417
2417
  });
2418
2418
  }, 0));
2419
2419
  stateLoop: for (let e = 0, t = d.length; e < t; e++) {
@@ -2421,31 +2421,31 @@ function rt(e, t) {
2421
2421
  f.splice(t, 1);
2422
2422
  continue stateLoop;
2423
2423
  }
2424
- m.viewport.classList.add(d[e]), U({ type: d[e] });
2424
+ m.viewport.classList.add(d[e]), H({ type: d[e] });
2425
2425
  }
2426
2426
  for (; f.length;) m.viewport.classList.remove(f.pop());
2427
- _ && (x.afterSlideChanged(), Ke(a)), (_ || !c) && (x.stopEmbeddedContent(c), x.startEmbeddedContent(l)), requestAnimationFrame(() => {
2428
- ge(_e(l));
2427
+ _ && (x.afterSlideChanged(), qe(a)), (_ || !c) && (x.stopEmbeddedContent(c), x.startEmbeddedContent(l)), requestAnimationFrame(() => {
2428
+ _e(ve(l));
2429
2429
  }), ee.update(), M.update(), z.update(), T.update(), T.updateParallax(), S.update(), O.update(), j.writeURL(), Vt(), b && (setTimeout(() => {
2430
2430
  m.slides.classList.remove("disable-slide-transitions");
2431
2431
  }, 0), r.autoAnimate && w.run(c, l));
2432
2432
  }
2433
- function vt(e, t, n, r) {
2433
+ function yt(e, t, n, r) {
2434
2434
  return e.hasAttribute("data-auto-animate") && t.hasAttribute("data-auto-animate") && e.getAttribute("data-auto-animate-id") === t.getAttribute("data-auto-animate-id") && !(o > n || s > r ? t : e).hasAttribute("data-auto-animate-restart");
2435
2435
  }
2436
- function yt(e, t, n) {
2436
+ function bt(e, t, n) {
2437
2437
  let i = o || 0;
2438
2438
  o = t, s = n;
2439
2439
  let a = l !== e;
2440
- c = l, l = e, l && c && r.autoAnimate && vt(c, l, i, s) && w.run(c, l), a && (x.afterSlideChanged(), c && (x.stopEmbeddedContent(c), x.stopEmbeddedContent(c.slideBackgroundElement)), x.startEmbeddedContent(l), x.startEmbeddedContent(l.slideBackgroundElement)), requestAnimationFrame(() => {
2441
- ge(_e(l));
2442
- }), Ke();
2440
+ c = l, l = e, l && c && r.autoAnimate && yt(c, l, i, s) && w.run(c, l), a && (x.afterSlideChanged(), c && (x.stopEmbeddedContent(c), x.stopEmbeddedContent(c.slideBackgroundElement)), x.startEmbeddedContent(l), x.startEmbeddedContent(l.slideBackgroundElement)), requestAnimationFrame(() => {
2441
+ _e(ve(l));
2442
+ }), qe();
2443
2443
  }
2444
- function bt() {
2445
- je(), Ae(), W(), g = r.autoSlide, Vt(), T.create(), j.writeURL(), r.sortFragmentsOnSync === !0 && O.sortAll(), o !== void 0 && (o = J(ye, o), s = J(be, s)), M.update(), ee.update(), Tt(), z.update(), z.updateVisibility(), F.update(), T.update(!0), S.update(), x.formatEmbeddedContent(), r.autoPlayMedia === !1 ? x.stopEmbeddedContent(l, { unloadIframes: !1 }) : x.startEmbeddedContent(l), k.isActive() && k.layout(), U({ type: "sync" });
2444
+ function xt() {
2445
+ Me(), je(), U(), g = r.autoSlide, Vt(), T.create(), j.writeURL(), r.sortFragmentsOnSync === !0 && O.sortAll(), o !== void 0 && (o = J(xe, o), s = J(Se, s)), M.update(), ee.update(), Tt(), z.update(), z.updateVisibility(), F.update(), T.update(!0), S.update(), x.formatEmbeddedContent(), r.autoPlayMedia === !1 ? x.stopEmbeddedContent(l, { unloadIframes: !1 }) : x.startEmbeddedContent(l), k.isActive() && k.layout(), H({ type: "sync" });
2446
2446
  }
2447
- function xt(e = l) {
2448
- T.sync(e), O.sync(e), x.load(e), T.update(), z.update(), U({
2447
+ function K(e = l) {
2448
+ T.sync(e), O.sync(e), x.load(e), T.update(), z.update(), H({
2449
2449
  type: "slidesync",
2450
2450
  data: { slide: e }
2451
2451
  });
@@ -2470,7 +2470,7 @@ function rt(e, t) {
2470
2470
  if (i) {
2471
2471
  r.loop && (t >= i && (o = !0), t %= i, t < 0 && (t = i + t, s = !0)), t = Math.max(Math.min(t, i - 1), 0);
2472
2472
  for (let e = 0; e < i; e++) {
2473
- let i = n[e], c = r.rtl && !at(i);
2473
+ let i = n[e], c = r.rtl && !ot(i);
2474
2474
  if (i.classList.remove("past"), i.classList.remove("present"), i.classList.remove("future"), i.setAttribute("hidden", ""), i.setAttribute("aria-hidden", "true"), i.querySelector("section") && i.classList.add("stack"), a) {
2475
2475
  i.classList.add("present");
2476
2476
  continue;
@@ -2478,7 +2478,7 @@ function rt(e, t) {
2478
2478
  e < t ? (i.classList.add(c ? "future" : "past"), r.fragments && Ct(i)) : e > t ? (i.classList.add(c ? "past" : "future"), r.fragments && wt(i)) : e === t && r.fragments && (o ? wt(i) : s && Ct(i));
2479
2479
  }
2480
2480
  let e = n[t], c = e.classList.contains("present");
2481
- e.classList.add("present"), e.removeAttribute("hidden"), e.removeAttribute("aria-hidden"), c || U({
2481
+ e.classList.add("present"), e.removeAttribute("hidden"), e.removeAttribute("aria-hidden"), c || H({
2482
2482
  target: e,
2483
2483
  type: "visible",
2484
2484
  bubbles: !1
@@ -2506,7 +2506,7 @@ function rt(e, t) {
2506
2506
  for (let l = 0; l < t; l++) {
2507
2507
  let u = e[l], d = I(u, "section"), f = d.length;
2508
2508
  if (n = Math.abs((o || 0) - l) || 0, r.loop && (n = Math.abs(((o || 0) - l) % (t - c)) || 0), n < c ? x.load(u) : x.unload(u), f) {
2509
- let e = a ? 0 : K(u);
2509
+ let e = a ? 0 : G(u);
2510
2510
  for (let t = 0; t < f; t++) {
2511
2511
  let r = d[t];
2512
2512
  i = Math.abs(l === (o || 0) ? (s || 0) - t : t - e), n + i < c ? x.load(r) : x.unload(r);
@@ -2517,7 +2517,7 @@ function rt(e, t) {
2517
2517
  }
2518
2518
  }
2519
2519
  function Y({ includeFragments: e = !1 } = {}) {
2520
- let t = m.wrapper.querySelectorAll(ye), n = m.wrapper.querySelectorAll(be), i = {
2520
+ let t = m.wrapper.querySelectorAll(xe), n = m.wrapper.querySelectorAll(Se), i = {
2521
2521
  left: o > 0,
2522
2522
  right: o < t.length - 1,
2523
2523
  up: s > 0,
@@ -2562,7 +2562,7 @@ function rt(e, t) {
2562
2562
  if (e) {
2563
2563
  if (E.isActive()) t = parseInt(e.getAttribute("data-index-h"), 10), e.getAttribute("data-index-v") && (n = parseInt(e.getAttribute("data-index-v"), 10));
2564
2564
  else {
2565
- let r = at(e), i = r ? e.parentNode : e, a = At();
2565
+ let r = ot(e), i = r ? e.parentNode : e, a = At();
2566
2566
  t = Math.max(a.indexOf(i), 0), n = void 0, r && (n = Math.max(I(e.parentNode, "section").indexOf(e), 0));
2567
2567
  }
2568
2568
  }
@@ -2577,16 +2577,16 @@ function rt(e, t) {
2577
2577
  };
2578
2578
  }
2579
2579
  function kt() {
2580
- return I(m.wrapper, H + ":not(.stack):not([data-visibility=\"uncounted\"])");
2580
+ return I(m.wrapper, be + ":not(.stack):not([data-visibility=\"uncounted\"])");
2581
2581
  }
2582
2582
  function At() {
2583
- return I(m.wrapper, ye);
2583
+ return I(m.wrapper, xe);
2584
2584
  }
2585
2585
  function jt() {
2586
2586
  return I(m.wrapper, ".slides>section>section");
2587
2587
  }
2588
2588
  function Mt() {
2589
- return I(m.wrapper, ye + ".stack");
2589
+ return I(m.wrapper, xe + ".stack");
2590
2590
  }
2591
2591
  function Nt() {
2592
2592
  return At().length > 1;
@@ -2617,19 +2617,19 @@ function rt(e, t) {
2617
2617
  }
2618
2618
  function zt() {
2619
2619
  let e = Ot();
2620
- return Ve({
2620
+ return He({
2621
2621
  indexh: e.h,
2622
2622
  indexv: e.v,
2623
2623
  indexf: e.f,
2624
- paused: pt(),
2624
+ paused: mt(),
2625
2625
  overview: k.isActive()
2626
2626
  }, F.getState());
2627
2627
  }
2628
2628
  function Bt(e) {
2629
2629
  if (typeof e == "object") {
2630
- _t(re(e.indexh), re(e.indexv), re(e.indexf));
2630
+ vt(re(e.indexh), re(e.indexv), re(e.indexf));
2631
2631
  let t = re(e.paused), n = re(e.overview);
2632
- typeof t == "boolean" && t !== pt() && ft(t), typeof n == "boolean" && n !== k.isActive() && k.toggle(n), F.setState(e);
2632
+ typeof t == "boolean" && t !== mt() && pt(t), typeof n == "boolean" && n !== k.isActive() && k.toggle(n), F.setState(e);
2633
2633
  }
2634
2634
  }
2635
2635
  function Vt() {
@@ -2637,7 +2637,7 @@ function rt(e, t) {
2637
2637
  let e = l.querySelector(".current-fragment[data-autoslide]"), t = e ? e.getAttribute("data-autoslide") : null, n = l.parentNode ? l.parentNode.getAttribute("data-autoslide") : null, i = l.getAttribute("data-autoslide");
2638
2638
  t ? g = parseInt(t, 10) : i ? g = parseInt(i, 10) : n ? g = parseInt(n, 10) : (g = r.autoSlide, l.querySelectorAll(".fragment").length === 0 && I(l, "video, audio").forEach((e) => {
2639
2639
  e.hasAttribute("data-autoplay") && g && e.duration * 1e3 / e.playbackRate > g && (g = e.duration * 1e3 / e.playbackRate + 1e3);
2640
- })), g && !b && !pt() && !k.isActive() && (!lt() || O.availableRoutes().next || r.loop === !0) && (v = setTimeout(() => {
2640
+ })), g && !b && !mt() && !k.isActive() && (!ut() || O.availableRoutes().next || r.loop === !0) && (v = setTimeout(() => {
2641
2641
  typeof r.autoSlideMethod == "function" ? r.autoSlideMethod() : Xt(), Vt();
2642
2642
  }, g), y = Date.now()), _ && _.setPlaying(v !== -1);
2643
2643
  }
@@ -2646,26 +2646,26 @@ function rt(e, t) {
2646
2646
  clearTimeout(v), v = -1;
2647
2647
  }
2648
2648
  function Ut() {
2649
- g && !b && (b = !0, U({ type: "autoslidepaused" }), clearTimeout(v), _ && _.setPlaying(!1));
2649
+ g && !b && (b = !0, H({ type: "autoslidepaused" }), clearTimeout(v), _ && _.setPlaying(!1));
2650
2650
  }
2651
2651
  function Wt() {
2652
- g && b && (b = !1, U({ type: "autoslideresumed" }), Vt());
2652
+ g && b && (b = !1, H({ type: "autoslideresumed" }), Vt());
2653
2653
  }
2654
2654
  function Gt({ skipFragments: e = !1 } = {}) {
2655
2655
  if (u.hasNavigatedHorizontally = !0, E.isActive()) return E.prev();
2656
- r.rtl ? (k.isActive() || e || O.next() === !1) && Y().left && _t(o + 1, r.navigationMode === "grid" ? s : void 0) : (k.isActive() || e || O.prev() === !1) && Y().left && _t(o - 1, r.navigationMode === "grid" ? s : void 0);
2656
+ r.rtl ? (k.isActive() || e || O.next() === !1) && Y().left && vt(o + 1, r.navigationMode === "grid" ? s : void 0) : (k.isActive() || e || O.prev() === !1) && Y().left && vt(o - 1, r.navigationMode === "grid" ? s : void 0);
2657
2657
  }
2658
2658
  function Kt({ skipFragments: e = !1 } = {}) {
2659
2659
  if (u.hasNavigatedHorizontally = !0, E.isActive()) return E.next();
2660
- r.rtl ? (k.isActive() || e || O.prev() === !1) && Y().right && _t(o - 1, r.navigationMode === "grid" ? s : void 0) : (k.isActive() || e || O.next() === !1) && Y().right && _t(o + 1, r.navigationMode === "grid" ? s : void 0);
2660
+ r.rtl ? (k.isActive() || e || O.prev() === !1) && Y().right && vt(o - 1, r.navigationMode === "grid" ? s : void 0) : (k.isActive() || e || O.next() === !1) && Y().right && vt(o + 1, r.navigationMode === "grid" ? s : void 0);
2661
2661
  }
2662
2662
  function qt({ skipFragments: e = !1 } = {}) {
2663
2663
  if (E.isActive()) return E.prev();
2664
- (k.isActive() || e || O.prev() === !1) && Y().up && _t(o, s - 1);
2664
+ (k.isActive() || e || O.prev() === !1) && Y().up && vt(o, s - 1);
2665
2665
  }
2666
2666
  function Jt({ skipFragments: e = !1 } = {}) {
2667
2667
  if (u.hasNavigatedVertically = !0, E.isActive()) return E.next();
2668
- (k.isActive() || e || O.next() === !1) && Y().down && _t(o, s + 1);
2668
+ (k.isActive() || e || O.next() === !1) && Y().down && vt(o, s + 1);
2669
2669
  }
2670
2670
  function Yt({ skipFragments: e = !1 } = {}) {
2671
2671
  if (E.isActive()) return E.prev();
@@ -2673,9 +2673,9 @@ function rt(e, t) {
2673
2673
  if (Y().up) qt({ skipFragments: e });
2674
2674
  else {
2675
2675
  let t;
2676
- if (t = r.rtl ? I(m.wrapper, ye + ".future").pop() : I(m.wrapper, ye + ".past").pop(), t && t.classList.contains("stack")) {
2676
+ if (t = r.rtl ? I(m.wrapper, xe + ".future").pop() : I(m.wrapper, xe + ".past").pop(), t && t.classList.contains("stack")) {
2677
2677
  let e = t.querySelectorAll("section").length - 1 || void 0;
2678
- _t(o - 1, e);
2678
+ vt(o - 1, e);
2679
2679
  } else r.rtl ? Kt({ skipFragments: e }) : Gt({ skipFragments: e });
2680
2680
  }
2681
2681
  }
@@ -2684,7 +2684,7 @@ function rt(e, t) {
2684
2684
  if (u.hasNavigatedHorizontally = !0, u.hasNavigatedVertically = !0, E.isActive()) return E.next();
2685
2685
  if (e || O.next() === !1) {
2686
2686
  let t = Y();
2687
- t.down && t.right && r.loop && st() && (t.down = !1), t.down ? Jt({ skipFragments: e }) : r.rtl ? Gt({ skipFragments: e }) : Kt({ skipFragments: e });
2687
+ t.down && t.right && r.loop && ct() && (t.down = !1), t.down ? Jt({ skipFragments: e }) : r.rtl ? Gt({ skipFragments: e }) : Kt({ skipFragments: e });
2688
2688
  }
2689
2689
  }
2690
2690
  function Zt(e) {
@@ -2693,9 +2693,9 @@ function rt(e, t) {
2693
2693
  function Qt(e) {
2694
2694
  let t = e.data;
2695
2695
  if (typeof t == "string" && t.charAt(0) === "{" && t.charAt(t.length - 1) === "}" && (t = JSON.parse(t), t.method && typeof n[t.method] == "function")) {
2696
- if (Se.test(t.method) === !1) {
2696
+ if (we.test(t.method) === !1) {
2697
2697
  let e = n[t.method].apply(n, t.args);
2698
- Ye("callback", {
2698
+ Xe("callback", {
2699
2699
  method: t.method,
2700
2700
  result: e
2701
2701
  });
@@ -2703,7 +2703,7 @@ function rt(e, t) {
2703
2703
  }
2704
2704
  }
2705
2705
  function $t(e) {
2706
- h === "running" && /section/gi.test(e.target.nodeName) && (h = "idle", U({
2706
+ h === "running" && /section/gi.test(e.target.nodeName) && (h = "idle", H({
2707
2707
  type: "slidetransitionend",
2708
2708
  data: {
2709
2709
  indexh: o,
@@ -2721,7 +2721,7 @@ function rt(e, t) {
2721
2721
  }
2722
2722
  }
2723
2723
  function tn(e) {
2724
- W();
2724
+ U();
2725
2725
  }
2726
2726
  function nn(e) {
2727
2727
  document.hidden === !1 && document.activeElement !== document.body && (typeof document.activeElement.blur == "function" && document.activeElement.blur(), document.body.focus());
@@ -2732,17 +2732,17 @@ function rt(e, t) {
2732
2732
  }, 1));
2733
2733
  }
2734
2734
  function an(e) {
2735
- lt() && r.loop === !1 ? (_t(0, 0), Wt()) : b ? Wt() : Ut();
2735
+ ut() && r.loop === !1 ? (vt(0, 0), Wt()) : b ? Wt() : Ut();
2736
2736
  }
2737
2737
  let on = {
2738
- VERSION: nt,
2738
+ VERSION: rt,
2739
2739
  initialize: le,
2740
- configure: Oe,
2741
- destroy: Me,
2742
- sync: bt,
2743
- syncSlide: xt,
2740
+ configure: ke,
2741
+ destroy: Ne,
2742
+ sync: xt,
2743
+ syncSlide: K,
2744
2744
  syncFragments: O.sync.bind(O),
2745
- slide: _t,
2745
+ slide: vt,
2746
2746
  left: Gt,
2747
2747
  right: Kt,
2748
2748
  up: qt,
@@ -2758,27 +2758,27 @@ function rt(e, t) {
2758
2758
  navigateFragment: O.goto.bind(O),
2759
2759
  prevFragment: O.prev.bind(O),
2760
2760
  nextFragment: O.next.bind(O),
2761
- on: Ne,
2762
- off: Fe,
2763
- addEventListener: Ne,
2764
- removeEventListener: Fe,
2765
- layout: W,
2761
+ on: Pe,
2762
+ off: Ie,
2763
+ addEventListener: Pe,
2764
+ removeEventListener: Ie,
2765
+ layout: U,
2766
2766
  shuffle: St,
2767
2767
  availableRoutes: Y,
2768
2768
  availableFragments: O.availableRoutes.bind(O),
2769
2769
  toggleHelp: F.toggleHelp.bind(F),
2770
2770
  toggleOverview: k.toggle.bind(k),
2771
2771
  toggleScrollView: E.toggle.bind(E),
2772
- togglePause: ft,
2773
- toggleAutoSlide: ht,
2774
- toggleJumpToSlide: mt,
2775
- isFirstSlide: ct,
2776
- isLastSlide: lt,
2777
- isLastVerticalSlide: st,
2778
- isVerticalSlide: at,
2779
- isVerticalStack: ot,
2780
- isPaused: pt,
2781
- isAutoSliding: gt,
2772
+ togglePause: pt,
2773
+ toggleAutoSlide: gt,
2774
+ toggleJumpToSlide: ht,
2775
+ isFirstSlide: lt,
2776
+ isLastSlide: ut,
2777
+ isLastVerticalSlide: ct,
2778
+ isVerticalSlide: ot,
2779
+ isVerticalStack: st,
2780
+ isPaused: mt,
2781
+ isAutoSliding: _t,
2782
2782
  isSpeakerNotes: z.isSpeakerNotesWindow.bind(z),
2783
2783
  isOverview: k.isActive.bind(k),
2784
2784
  isFocused: L.isFocused.bind(L),
@@ -2795,9 +2795,9 @@ function rt(e, t) {
2795
2795
  previewVideo: F.previewVideo.bind(F),
2796
2796
  showPreview: F.previewIframe.bind(F),
2797
2797
  hidePreview: F.close.bind(F),
2798
- addEventListeners: Ae,
2799
- removeEventListeners: je,
2800
- dispatchEvent: U,
2798
+ addEventListeners: je,
2799
+ removeEventListeners: Me,
2800
+ dispatchEvent: H,
2801
2801
  getState: zt,
2802
2802
  setState: Bt,
2803
2803
  getProgress: Dt,
@@ -2817,14 +2817,14 @@ function rt(e, t) {
2817
2817
  hasVerticalSlides: Pt,
2818
2818
  hasNavigatedHorizontally: () => u.hasNavigatedHorizontally,
2819
2819
  hasNavigatedVertically: () => u.hasNavigatedVertically,
2820
- shouldAutoAnimateBetween: vt,
2820
+ shouldAutoAnimateBetween: yt,
2821
2821
  addKeyBinding: A.addKeyBinding.bind(A),
2822
2822
  removeKeyBinding: A.removeKeyBinding.bind(A),
2823
2823
  triggerKey: A.triggerKey.bind(A),
2824
2824
  registerKeyboardShortcut: A.registerKeyboardShortcut.bind(A),
2825
- getComputedSlideSize: G,
2826
- setCurrentScrollPage: yt,
2827
- removeHiddenSlides: B,
2825
+ getComputedSlideSize: W,
2826
+ setCurrentScrollPage: bt,
2827
+ removeHiddenSlides: me,
2828
2828
  getScale: () => f,
2829
2829
  getConfig: () => r,
2830
2830
  getQueryHash: se,
@@ -2838,9 +2838,9 @@ function rt(e, t) {
2838
2838
  getPlugin: P.getPlugin.bind(P),
2839
2839
  getPlugins: P.getRegisteredPlugins.bind(P)
2840
2840
  };
2841
- return te(n, Ve(Ve({}, on), {}, {
2842
- announceStatus: ge,
2843
- getStatusText: _e,
2841
+ return te(n, He(He({}, on), {}, {
2842
+ announceStatus: _e,
2843
+ getStatusText: ve,
2844
2844
  focus: L,
2845
2845
  scroll: E,
2846
2846
  progress: ee,
@@ -2855,17 +2855,17 @@ function rt(e, t) {
2855
2855
  onUserInput: Zt,
2856
2856
  closeOverlay: F.close.bind(F),
2857
2857
  updateSlidesVisibility: Tt,
2858
- layoutSlideContents: Ze,
2859
- transformSlides: Ie,
2858
+ layoutSlideContents: Qe,
2859
+ transformSlides: Le,
2860
2860
  cueAutoSlide: Vt,
2861
2861
  cancelAutoSlide: Ht
2862
2862
  })), on;
2863
2863
  }
2864
- var G = rt, it = [];
2865
- G.initialize = (e) => {
2864
+ var W = it, at = [];
2865
+ W.initialize = (e) => {
2866
2866
  let t = document.querySelector(".reveal");
2867
2867
  if (!(t instanceof HTMLElement)) throw Error("Unable to find presentation root (<div class=\"reveal\">).");
2868
- return Object.assign(G, new rt(t, e)), it.map((e) => e(G)), G.initialize();
2868
+ return Object.assign(W, new it(t, e)), at.map((e) => e(W)), W.initialize();
2869
2869
  }, [
2870
2870
  "configure",
2871
2871
  "on",
@@ -2874,14 +2874,14 @@ G.initialize = (e) => {
2874
2874
  "removeEventListener",
2875
2875
  "registerPlugin"
2876
2876
  ].forEach((e) => {
2877
- G[e] = (...t) => {
2878
- it.push((n) => n[e].call(null, ...t));
2877
+ W[e] = (...t) => {
2878
+ at.push((n) => n[e].call(null, ...t));
2879
2879
  };
2880
- }), G.isReady = () => !1, G.VERSION = nt;
2880
+ }), W.isReady = () => !1, W.VERSION = rt;
2881
2881
  //#endregion
2882
2882
  //#region ../node_modules/.pnpm/@revealjs+react@0.2.1_react-dom@19.2.8_react@19.2.8__react@19.2.8_reveal.js@6.0.1/node_modules/@revealjs/react/dist/index.mjs
2883
- var K = O(), at = (0, P.createContext)(null), ot = [];
2884
- function st(e, t) {
2883
+ var G = O(), ot = (0, P.createContext)(null), st = [];
2884
+ function ct(e, t) {
2885
2885
  if (e === t) return !1;
2886
2886
  if (!e || !t) return e !== t;
2887
2887
  let n = Object.keys(e), r = Object.keys(t);
@@ -2889,29 +2889,29 @@ function st(e, t) {
2889
2889
  for (let r of n) if (!(r in t) || e[r] !== t[r]) return !0;
2890
2890
  return !1;
2891
2891
  }
2892
- function ct(e, t) {
2892
+ function lt(e, t) {
2893
2893
  e && (typeof e == "function" ? e(t) : e.current = t);
2894
2894
  }
2895
- function lt(e) {
2895
+ function ut(e) {
2896
2896
  return e.tagName === "SECTION";
2897
2897
  }
2898
- function ut(e, t, n) {
2899
- return Array.from(e.children).filter(lt).map((e) => {
2898
+ function dt(e, t, n) {
2899
+ return Array.from(e.children).filter(ut).map((e) => {
2900
2900
  let r = t.get(e);
2901
2901
  r === void 0 && (r = n.current++, t.set(e, r));
2902
- let i = ut(e, t, n);
2902
+ let i = dt(e, t, n);
2903
2903
  return i.length > 0 ? [r, i] : r;
2904
2904
  });
2905
2905
  }
2906
- function dt(e, t, n) {
2907
- return e ? JSON.stringify(ut(e, t, n)) : "[]";
2906
+ function ft(e, t, n) {
2907
+ return e ? JSON.stringify(dt(e, t, n)) : "[]";
2908
2908
  }
2909
- function ft({ config: e, plugins: t = ot, onReady: n, onSync: r, onSlideSync: i, onSlideChange: a, onSlideTransitionEnd: o, onFragmentShown: s, onFragmentHidden: c, onOverviewShown: l, onOverviewHidden: u, onPaused: d, onResumed: f, deckRef: p, className: m, style: h, children: g }) {
2909
+ function pt({ config: e, plugins: t = st, onReady: n, onSync: r, onSlideSync: i, onSlideChange: a, onSlideTransitionEnd: o, onFragmentShown: s, onFragmentHidden: c, onOverviewShown: l, onOverviewHidden: u, onPaused: d, onResumed: f, deckRef: p, className: m, style: h, children: g }) {
2910
2910
  let _ = (0, P.useRef)(null), v = (0, P.useRef)(null), y = (0, P.useRef)(null), [b, x] = (0, P.useState)(null), S = (0, P.useRef)(t), C = (0, P.useRef)(!1), w = (0, P.useRef)(e), T = (0, P.useRef)(null), E = (0, P.useRef)(/* @__PURE__ */ new WeakMap()), D = (0, P.useRef)(1), O = (0, P.useRef)(!1), k = (0, P.useRef)(0);
2911
2911
  return (0, P.useEffect)(() => {
2912
2912
  if (O.current = !0, k.current += 1, y.current) y.current.isReady() && x(y.current);
2913
2913
  else {
2914
- let t = new G(_.current, {
2914
+ let t = new W(_.current, {
2915
2915
  ...e,
2916
2916
  plugins: S.current
2917
2917
  });
@@ -2933,7 +2933,7 @@ function ft({ config: e, plugins: t = ot, onReady: n, onSync: r, onSlideSync: i,
2933
2933
  }
2934
2934
  });
2935
2935
  };
2936
- }, []), (0, P.useEffect)(() => (ct(p, b), () => ct(p, null)), [p, b]), (0, P.useEffect)(() => {
2936
+ }, []), (0, P.useEffect)(() => (lt(p, b), () => lt(p, null)), [p, b]), (0, P.useEffect)(() => {
2937
2937
  if (!b) return;
2938
2938
  let e = [
2939
2939
  ["sync", r],
@@ -2964,23 +2964,23 @@ function ft({ config: e, plugins: t = ot, onReady: n, onSync: r, onSlideSync: i,
2964
2964
  d,
2965
2965
  f
2966
2966
  ]), (0, P.useLayoutEffect)(() => {
2967
- !b || !y.current?.isReady() || st(w.current, e) && (C.current = !0, y.current.configure(e ?? {}), w.current = e);
2967
+ !b || !y.current?.isReady() || ct(w.current, e) && (C.current = !0, y.current.configure(e ?? {}), w.current = e);
2968
2968
  }, [b, e]), (0, P.useLayoutEffect)(() => {
2969
2969
  let e = C.current;
2970
2970
  C.current = !1;
2971
- let t = dt(v.current, E.current, D);
2971
+ let t = ft(v.current, E.current, D);
2972
2972
  if (e) {
2973
2973
  T.current = t;
2974
2974
  return;
2975
2975
  }
2976
2976
  y.current?.isReady() && T.current !== t && (y.current.sync(), T.current = t);
2977
- }), /* @__PURE__ */ (0, K.jsx)(at.Provider, {
2977
+ }), /* @__PURE__ */ (0, G.jsx)(ot.Provider, {
2978
2978
  value: b,
2979
- children: /* @__PURE__ */ (0, K.jsx)("div", {
2979
+ children: /* @__PURE__ */ (0, G.jsx)("div", {
2980
2980
  className: m ? `reveal ${m}` : "reveal",
2981
2981
  style: h,
2982
2982
  ref: _,
2983
- children: /* @__PURE__ */ (0, K.jsx)("div", {
2983
+ children: /* @__PURE__ */ (0, G.jsx)("div", {
2984
2984
  className: "slides",
2985
2985
  ref: v,
2986
2986
  children: g
@@ -2988,7 +2988,7 @@ function ft({ config: e, plugins: t = ot, onReady: n, onSync: r, onSlideSync: i,
2988
2988
  })
2989
2989
  });
2990
2990
  }
2991
- var pt = {
2991
+ var mt = {
2992
2992
  background: "data-background",
2993
2993
  backgroundImage: "data-background-image",
2994
2994
  backgroundVideo: "data-background-video",
@@ -3017,12 +3017,12 @@ var pt = {
3017
3017
  backgroundInteractive: "data-background-interactive",
3018
3018
  preload: "data-preload"
3019
3019
  };
3020
- function mt(e) {
3020
+ function ht(e) {
3021
3021
  return JSON.stringify(Object.entries(e).filter(([e]) => e.startsWith("data-")).sort(([e], [t]) => e.localeCompare(t)));
3022
3022
  }
3023
- function ht(e, t) {
3023
+ function gt(e, t) {
3024
3024
  let n = { ...e }, r = n;
3025
- for (let [e, n] of Object.entries(pt)) {
3025
+ for (let [e, n] of Object.entries(mt)) {
3026
3026
  if (r[n] !== void 0) continue;
3027
3027
  let i = t[e];
3028
3028
  if (i !== void 0) {
@@ -3035,8 +3035,8 @@ function ht(e, t) {
3035
3035
  }
3036
3036
  return n;
3037
3037
  }
3038
- function gt({ children: e, background: t, backgroundImage: n, backgroundVideo: r, backgroundVideoLoop: i, backgroundVideoMuted: a, backgroundIframe: o, backgroundColor: s, backgroundGradient: c, backgroundSize: l, backgroundPosition: u, backgroundRepeat: d, backgroundOpacity: f, backgroundTransition: p, visibility: m, autoAnimate: h, autoAnimateId: g, autoAnimateRestart: _, autoAnimateUnmatched: v, autoAnimateEasing: y, autoAnimateDuration: b, autoAnimateDelay: x, transition: S, transitionSpeed: C, autoSlide: w, notes: T, backgroundInteractive: E, preload: D, ...O }) {
3039
- let k = (0, P.useContext)(at), A = (0, P.useRef)(null), j = (0, P.useRef)(null), M = (0, P.useRef)(null), ee = ht(O, {
3038
+ function _t({ children: e, background: t, backgroundImage: n, backgroundVideo: r, backgroundVideoLoop: i, backgroundVideoMuted: a, backgroundIframe: o, backgroundColor: s, backgroundGradient: c, backgroundSize: l, backgroundPosition: u, backgroundRepeat: d, backgroundOpacity: f, backgroundTransition: p, visibility: m, autoAnimate: h, autoAnimateId: g, autoAnimateRestart: _, autoAnimateUnmatched: v, autoAnimateEasing: y, autoAnimateDuration: b, autoAnimateDelay: x, transition: S, transitionSpeed: C, autoSlide: w, notes: T, backgroundInteractive: E, preload: D, ...O }) {
3039
+ let k = (0, P.useContext)(ot), A = (0, P.useRef)(null), j = (0, P.useRef)(null), M = (0, P.useRef)(null), ee = gt(O, {
3040
3040
  background: t,
3041
3041
  backgroundImage: n,
3042
3042
  backgroundVideo: r,
@@ -3064,7 +3064,7 @@ function gt({ children: e, background: t, backgroundImage: n, backgroundVideo: r
3064
3064
  notes: T,
3065
3065
  backgroundInteractive: E,
3066
3066
  preload: D
3067
- }), N = mt(ee);
3067
+ }), N = ht(ee);
3068
3068
  return (0, P.useLayoutEffect)(() => {
3069
3069
  let e = A.current;
3070
3070
  if (!k || !e || typeof k.syncSlide != "function") return;
@@ -3075,20 +3075,20 @@ function gt({ children: e, background: t, backgroundImage: n, backgroundVideo: r
3075
3075
  if (N === "[]") return;
3076
3076
  let t = j.current === k, n = M.current === N;
3077
3077
  t && n || (k.syncSlide(e), j.current = k, M.current = N);
3078
- }, [k, N]), /* @__PURE__ */ (0, K.jsx)("section", {
3078
+ }, [k, N]), /* @__PURE__ */ (0, G.jsx)("section", {
3079
3079
  ref: A,
3080
3080
  ...ee,
3081
3081
  children: e
3082
3082
  });
3083
3083
  }
3084
- function _t({ className: e, style: t, children: n }) {
3085
- return /* @__PURE__ */ (0, K.jsx)("section", {
3084
+ function vt({ className: e, style: t, children: n }) {
3085
+ return /* @__PURE__ */ (0, G.jsx)("section", {
3086
3086
  className: e,
3087
3087
  style: t,
3088
3088
  children: n
3089
3089
  });
3090
3090
  }
3091
- function vt() {
3091
+ function yt() {
3092
3092
  return {
3093
3093
  async: !1,
3094
3094
  breaks: !1,
@@ -3102,11 +3102,11 @@ function vt() {
3102
3102
  walkTokens: null
3103
3103
  };
3104
3104
  }
3105
- var yt = vt();
3106
- function bt(e) {
3107
- yt = e;
3105
+ var bt = yt();
3106
+ function xt(e) {
3107
+ bt = e;
3108
3108
  }
3109
- var xt = { exec: () => null };
3109
+ var K = { exec: () => null };
3110
3110
  function q(e, t = "") {
3111
3111
  let n = typeof e == "string" ? e : e.source, r = {
3112
3112
  replace: (e, t) => {
@@ -3192,7 +3192,7 @@ var St = (() => {
3192
3192
  list: Ft,
3193
3193
  newline: Ct,
3194
3194
  paragraph: zt,
3195
- table: xt,
3195
+ table: K,
3196
3196
  text: Mt
3197
3197
  }, Vt = q("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Y).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", It).getRegex(), Ht = {
3198
3198
  ...Bt,
@@ -3204,19 +3204,19 @@ var St = (() => {
3204
3204
  html: q("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment", Lt).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
3205
3205
  def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
3206
3206
  heading: /^(#{1,6})(.*)(?:\n+|$)/,
3207
- fences: xt,
3207
+ fences: K,
3208
3208
  lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
3209
3209
  paragraph: q(jt).replace("hr", Y).replace("heading", " *#{1,6} *[^\n]").replace("lheading", kt).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
3210
3210
  }, Wt = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Gt = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Kt = /^( {2,}|\\)\n(?!\s*$)/, qt = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Jt = /[\p{P}\p{S}]/u, Yt = /[\s\p{P}\p{S}]/u, Xt = /[^\s\p{P}\p{S}]/u, Zt = q(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Yt).getRegex(), Qt = /(?!~)[\p{P}\p{S}]/u, $t = /(?!~)[\s\p{P}\p{S}]/u, en = /(?:[^\s\p{P}\p{S}]|~)/u, tn = q(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", St ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), nn = /^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/, rn = q(nn, "u").replace(/punct/g, Jt).getRegex(), an = q(nn, "u").replace(/punct/g, Qt).getRegex(), on = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", sn = q(on, "gu").replace(/notPunctSpace/g, Xt).replace(/punctSpace/g, Yt).replace(/punct/g, Jt).getRegex(), cn = q(on, "gu").replace(/notPunctSpace/g, en).replace(/punctSpace/g, $t).replace(/punct/g, Qt).getRegex(), ln = q("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, Xt).replace(/punctSpace/g, Yt).replace(/punct/g, Jt).getRegex(), un = q(/^~~?(?:((?!~)punct)|[^\s~])/, "u").replace(/punct/g, Jt).getRegex(), dn = q("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)", "gu").replace(/notPunctSpace/g, Xt).replace(/punctSpace/g, Yt).replace(/punct/g, Jt).getRegex(), fn = q(/\\(punct)/, "gu").replace(/punct/g, Jt).getRegex(), pn = q(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), mn = q(Lt).replace("(?:-->|$)", "-->").getRegex(), hn = q("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", mn).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), gn = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/, _n = q(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label", gn).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), vn = q(/^!?\[(label)\]\[(ref)\]/).replace("label", gn).replace("ref", Nt).getRegex(), yn = q(/^!?\[(ref)\](?:\[\])?/).replace("ref", Nt).getRegex(), bn = q("reflink|nolink(?!\\()", "g").replace("reflink", vn).replace("nolink", yn).getRegex(), xn = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, Sn = {
3211
- _backpedal: xt,
3211
+ _backpedal: K,
3212
3212
  anyPunctuation: fn,
3213
3213
  autolink: pn,
3214
3214
  blockSkip: tn,
3215
3215
  br: Kt,
3216
3216
  code: Gt,
3217
- del: xt,
3218
- delLDelim: xt,
3219
- delRDelim: xt,
3217
+ del: K,
3218
+ delLDelim: K,
3219
+ delRDelim: K,
3220
3220
  emStrongLDelim: rn,
3221
3221
  emStrongRDelimAst: sn,
3222
3222
  emStrongRDelimUnd: ln,
@@ -3228,7 +3228,7 @@ var St = (() => {
3228
3228
  reflinkSearch: bn,
3229
3229
  tag: hn,
3230
3230
  text: qt,
3231
- url: xt
3231
+ url: K
3232
3232
  }, Cn = {
3233
3233
  ...Sn,
3234
3234
  link: q(/^!?\[(label)\]\((.*?)\)/).replace("label", gn).getRegex(),
@@ -3347,7 +3347,7 @@ var Rn = class {
3347
3347
  rules;
3348
3348
  lexer;
3349
3349
  constructor(e) {
3350
- this.options = e || yt;
3350
+ this.options = e || bt;
3351
3351
  }
3352
3352
  space(e) {
3353
3353
  let t = this.rules.block.newline.exec(e);
@@ -3803,7 +3803,7 @@ ${c}` : c;
3803
3803
  inlineQueue;
3804
3804
  tokenizer;
3805
3805
  constructor(e) {
3806
- this.tokens = [], this.tokens.links = Object.create(null), this.options = e || yt, this.options.tokenizer = this.options.tokenizer || new Rn(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
3806
+ this.tokens = [], this.tokens.links = Object.create(null), this.options = e || bt, this.options.tokenizer = this.options.tokenizer || new Rn(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
3807
3807
  inLink: !1,
3808
3808
  inRawBlock: !1,
3809
3809
  top: !0
@@ -4013,7 +4013,7 @@ ${c}` : c;
4013
4013
  options;
4014
4014
  parser;
4015
4015
  constructor(e) {
4016
- this.options = e || yt;
4016
+ this.options = e || bt;
4017
4017
  }
4018
4018
  space(e) {
4019
4019
  return "";
@@ -4152,7 +4152,7 @@ ${e}</tr>
4152
4152
  renderer;
4153
4153
  textRenderer;
4154
4154
  constructor(e) {
4155
- this.options = e || yt, this.options.renderer = this.options.renderer || new Bn(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Vn();
4155
+ this.options = e || bt, this.options.renderer = this.options.renderer || new Bn(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Vn();
4156
4156
  }
4157
4157
  static parse(t, n) {
4158
4158
  return new e(n).parse(t);
@@ -4302,7 +4302,7 @@ ${e}</tr>
4302
4302
  options;
4303
4303
  block;
4304
4304
  constructor(e) {
4305
- this.options = e || yt;
4305
+ this.options = e || bt;
4306
4306
  }
4307
4307
  static passThroughHooks = /* @__PURE__ */ new Set([
4308
4308
  "preprocess",
@@ -4334,7 +4334,7 @@ ${e}</tr>
4334
4334
  return this.block ? Hn.parse : Hn.parseInline;
4335
4335
  }
4336
4336
  }, Wn = new class {
4337
- defaults = vt();
4337
+ defaults = yt();
4338
4338
  options = this.setOptions;
4339
4339
  parse = this.parseMarkdown(!0);
4340
4340
  parseInline = this.parseMarkdown(!1);
@@ -4513,9 +4513,9 @@ function X(e, t) {
4513
4513
  return Wn.parse(e, t);
4514
4514
  }
4515
4515
  X.options = X.setOptions = function(e) {
4516
- return Wn.setOptions(e), X.defaults = Wn.defaults, bt(X.defaults), X;
4517
- }, X.getDefaults = vt, X.defaults = yt, X.use = function(...e) {
4518
- return Wn.use(...e), X.defaults = Wn.defaults, bt(X.defaults), X;
4516
+ return Wn.setOptions(e), X.defaults = Wn.defaults, xt(X.defaults), X;
4517
+ }, X.getDefaults = yt, X.defaults = bt, X.use = function(...e) {
4518
+ return Wn.use(...e), X.defaults = Wn.defaults, xt(X.defaults), X;
4519
4519
  }, X.walkTokens = function(e, t) {
4520
4520
  return Wn.walkTokens(e, t);
4521
4521
  }, X.parseInline = Wn.parseInline, X.Parser = Hn, X.parser = Hn.parse, X.Renderer = Bn, X.TextRenderer = Vn, X.Lexer = zn, X.lexer = zn.lex, X.Tokenizer = Rn, X.Hooks = Un, X.parse = X, X.options, X.setOptions, X.use, X.walkTokens, X.parseInline, Hn.parse, zn.lex;
@@ -4544,7 +4544,7 @@ function qn({ animation: e, index: t, as: n, asChild: r, className: i, style: a,
4544
4544
  };
4545
4545
  return t !== void 0 && (n["data-fragment-index"] = t), (0, P.cloneElement)(e, n);
4546
4546
  }
4547
- return /* @__PURE__ */ (0, K.jsx)(n ?? "span", {
4547
+ return /* @__PURE__ */ (0, G.jsx)(n ?? "span", {
4548
4548
  className: s,
4549
4549
  style: a,
4550
4550
  "data-fragment-index": t,
@@ -4593,14 +4593,14 @@ var $n = (e) => {
4593
4593
  let t = (0, F.c)(6), { className: n } = e, i;
4594
4594
  t[0] === n ? i = t[1] : (i = r("pointer-events-none absolute inset-x-0 bottom-0 z-10 flex flex-col items-center", "animate-in fade-in-0 duration-200", n), t[0] = n, t[1] = i);
4595
4595
  let a;
4596
- t[2] === Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ (0, K.jsx)("div", { className: "h-16 w-full bg-linear-to-t from-background via-background/80 to-transparent" }), t[2] = a) : a = t[2];
4596
+ t[2] === Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ (0, G.jsx)("div", { className: "h-16 w-full bg-linear-to-t from-background via-background/80 to-transparent" }), t[2] = a) : a = t[2];
4597
4597
  let o;
4598
- t[3] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ (0, K.jsxs)("div", {
4598
+ t[3] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ (0, G.jsxs)("div", {
4599
4599
  className: "absolute bottom-3 flex items-center gap-1 rounded-full border border-border/60 bg-background/90 px-2.5 py-1 text-xs text-muted-foreground shadow-sm backdrop-blur-sm",
4600
- children: [/* @__PURE__ */ (0, K.jsx)(E, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, K.jsx)("span", { children: "Scroll for more" })]
4600
+ children: [/* @__PURE__ */ (0, G.jsx)(E, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, G.jsx)("span", { children: "Scroll for more" })]
4601
4601
  }), t[3] = o) : o = t[3];
4602
4602
  let s;
4603
- return t[4] === i ? s = t[5] : (s = /* @__PURE__ */ (0, K.jsxs)("div", {
4603
+ return t[4] === i ? s = t[5] : (s = /* @__PURE__ */ (0, G.jsxs)("div", {
4604
4604
  className: i,
4605
4605
  "data-testid": "slide-scroll-hint",
4606
4606
  "aria-hidden": !0,
@@ -4610,20 +4610,20 @@ var $n = (e) => {
4610
4610
  let t = (0, F.c)(10), { children: n, className: i } = e, a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = Qn(a, o), c;
4611
4611
  t[0] === i ? c = t[1] : (c = r("relative h-full w-full", i), t[0] = i, t[1] = c);
4612
4612
  let l;
4613
- t[2] === n ? l = t[3] : (l = /* @__PURE__ */ (0, K.jsx)("div", {
4613
+ t[2] === n ? l = t[3] : (l = /* @__PURE__ */ (0, G.jsx)("div", {
4614
4614
  ref: a,
4615
4615
  className: "h-full w-full overflow-auto",
4616
4616
  "data-testid": "slide-scroll-container",
4617
- children: /* @__PURE__ */ (0, K.jsx)("div", {
4617
+ children: /* @__PURE__ */ (0, G.jsx)("div", {
4618
4618
  ref: o,
4619
4619
  className: "flex w-full min-h-full",
4620
4620
  children: n
4621
4621
  })
4622
4622
  }), t[2] = n, t[3] = l);
4623
4623
  let u;
4624
- t[4] === s ? u = t[5] : (u = s && /* @__PURE__ */ (0, K.jsx)($n, {}), t[4] = s, t[5] = u);
4624
+ t[4] === s ? u = t[5] : (u = s && /* @__PURE__ */ (0, G.jsx)($n, {}), t[4] = s, t[5] = u);
4625
4625
  let d;
4626
- return t[6] !== c || t[7] !== l || t[8] !== u ? (d = /* @__PURE__ */ (0, K.jsxs)("div", {
4626
+ return t[6] !== c || t[7] !== l || t[8] !== u ? (d = /* @__PURE__ */ (0, G.jsxs)("div", {
4627
4627
  className: c,
4628
4628
  children: [l, u]
4629
4629
  }), t[6] = c, t[7] = l, t[8] = u, t[9] = d) : d = t[9], d;
@@ -4777,27 +4777,27 @@ var sr = (e) => (n.warn("SlideCellView islands stub rendered; this should never
4777
4777
  let x = b, S;
4778
4778
  t[15] === s ? S = t[16] : (S = r("h-full min-h-0 flex flex-col bg-muted/40 dark:bg-muted/20 border-t", s), t[15] = s, t[16] = S);
4779
4779
  let C;
4780
- t[17] === Symbol.for("react.memo_cache_sentinel") ? (C = /* @__PURE__ */ (0, K.jsxs)("header", {
4780
+ t[17] === Symbol.for("react.memo_cache_sentinel") ? (C = /* @__PURE__ */ (0, G.jsxs)("header", {
4781
4781
  className: "flex items-center gap-1.5 px-3 h-8 shrink-0 text-xs font-medium uppercase tracking-wide text-muted-foreground",
4782
- children: [/* @__PURE__ */ (0, K.jsx)(N, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, K.jsx)("span", { children: "Speaker notes" })]
4782
+ children: [/* @__PURE__ */ (0, G.jsx)(N, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, G.jsx)("span", { children: "Speaker notes" })]
4783
4783
  }), t[17] = C) : C = t[17];
4784
4784
  let w;
4785
- t[18] !== o || t[19] !== l || t[20] !== x ? (w = /* @__PURE__ */ (0, K.jsx)("div", {
4785
+ t[18] !== o || t[19] !== l || t[20] !== x ? (w = /* @__PURE__ */ (0, G.jsx)("div", {
4786
4786
  className: "flex-1 min-h-0 p-2",
4787
- children: o ? /* @__PURE__ */ (0, K.jsx)("textarea", {
4787
+ children: o ? /* @__PURE__ */ (0, G.jsx)("textarea", {
4788
4788
  value: l,
4789
4789
  onChange: (e) => x(e.target.value),
4790
4790
  onClick: i.stopPropagation(),
4791
4791
  placeholder: "Add notes for this slide. Visible to you in speaker view (press S during presentation).",
4792
4792
  className: r("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"),
4793
4793
  "aria-label": "Speaker notes for the current slide"
4794
- }) : /* @__PURE__ */ (0, K.jsx)("div", {
4794
+ }) : /* @__PURE__ */ (0, G.jsx)("div", {
4795
4795
  className: "h-full flex items-center justify-center text-xs text-muted-foreground",
4796
4796
  children: "Select a slide to add notes."
4797
4797
  })
4798
4798
  }), t[18] = o, t[19] = l, t[20] = x, t[21] = w) : w = t[21];
4799
4799
  let T;
4800
- return t[22] !== S || t[23] !== w ? (T = /* @__PURE__ */ (0, K.jsxs)("section", {
4800
+ return t[22] !== S || t[23] !== w ? (T = /* @__PURE__ */ (0, G.jsxs)("section", {
4801
4801
  className: S,
4802
4802
  "aria-label": "Speaker notes",
4803
4803
  onKeyDown: dr,
@@ -6392,11 +6392,11 @@ var Qi = (e) => {
6392
6392
  let e = n.split("\n");
6393
6393
  r = "notes", i = e.map((t, n) => {
6394
6394
  let r = n === e.length - 1;
6395
- return t === "---" ? /* @__PURE__ */ (0, K.jsx)("hr", {}, n) : /* @__PURE__ */ (0, K.jsxs)(P.Fragment, { children: [t, !r && /* @__PURE__ */ (0, K.jsx)("br", {})] }, n);
6395
+ return t === "---" ? /* @__PURE__ */ (0, G.jsx)("hr", {}, n) : /* @__PURE__ */ (0, G.jsxs)(P.Fragment, { children: [t, !r && /* @__PURE__ */ (0, G.jsx)("br", {})] }, n);
6396
6396
  }), t[0] = n, t[1] = r, t[2] = i;
6397
6397
  } else r = t[1], i = t[2];
6398
6398
  let a;
6399
- return t[3] !== r || t[4] !== i ? (a = /* @__PURE__ */ (0, K.jsx)("aside", {
6399
+ return t[3] !== r || t[4] !== i ? (a = /* @__PURE__ */ (0, G.jsx)("aside", {
6400
6400
  className: r,
6401
6401
  children: i
6402
6402
  }), t[3] = r, t[4] = i, t[5] = a) : a = t[5], a;
@@ -6462,18 +6462,18 @@ function ra(e) {
6462
6462
  }
6463
6463
  var ia = (e) => {
6464
6464
  let t = (0, F.c)(13), { cell: n } = e, r;
6465
- t[0] !== n.id || t[1] !== n.name ? (r = x(n.id, n.name), t[0] = n.id, t[1] = n.name, t[2] = r) : r = t[2];
6465
+ t[0] !== n.id || t[1] !== n.name ? (r = C(n.id, n.name), t[0] = n.id, t[1] = n.name, t[2] = r) : r = t[2];
6466
6466
  let i = n.id, a = n.status, o = n.output, s;
6467
6467
  t[3] === n ? s = t[4] : (s = l(n, !1), t[3] = n, t[4] = s);
6468
6468
  let c;
6469
- t[5] !== n.id || t[6] !== n.output || t[7] !== n.status || t[8] !== s ? (c = /* @__PURE__ */ (0, K.jsx)(m, {
6469
+ t[5] !== n.id || t[6] !== n.output || t[7] !== n.status || t[8] !== s ? (c = /* @__PURE__ */ (0, G.jsx)(h, {
6470
6470
  cellId: i,
6471
6471
  status: a,
6472
6472
  output: o,
6473
6473
  stale: s
6474
6474
  }), t[5] = n.id, t[6] = n.output, t[7] = n.status, t[8] = s, t[9] = c) : c = t[9];
6475
6475
  let u;
6476
- return t[10] !== r || t[11] !== c ? (u = /* @__PURE__ */ (0, K.jsx)("div", {
6476
+ return t[10] !== r || t[11] !== c ? (u = /* @__PURE__ */ (0, G.jsx)("div", {
6477
6477
  className: "flex flex-col",
6478
6478
  ...r,
6479
6479
  children: c
@@ -6484,30 +6484,30 @@ var ia = (e) => {
6484
6484
  let { slideLevel: e, cumulativeByBlock: p } = mr(n, a);
6485
6485
  l = e;
6486
6486
  let m = n.blocks.some((e) => e.cells.some((e) => r(e.id)));
6487
- c = gt, s = er, u = m ? "mo-slide-content flex flex-col gap-3" : "mo-slide-content", d = o, f = n.blocks.map((e, t) => {
6488
- let n = e.cells.map((e) => r(e.id) ? i ? /* @__PURE__ */ (0, K.jsx)(sr, { cell: e }, e.id) : /* @__PURE__ */ (0, K.jsx)(cr, { cell: e }, e.id) : /* @__PURE__ */ (0, K.jsx)(ia, { cell: e }, e.id));
6487
+ c = _t, s = er, u = m ? "mo-slide-content flex flex-col gap-3" : "mo-slide-content", d = o, f = n.blocks.map((e, t) => {
6488
+ let n = e.cells.map((e) => r(e.id) ? i ? /* @__PURE__ */ (0, G.jsx)(sr, { cell: e }, e.id) : /* @__PURE__ */ (0, G.jsx)(cr, { cell: e }, e.id) : /* @__PURE__ */ (0, G.jsx)(ia, { cell: e }, e.id));
6489
6489
  if (e.isFragment) {
6490
6490
  let e = p.get(t);
6491
- return /* @__PURE__ */ (0, K.jsxs)(qn, {
6491
+ return /* @__PURE__ */ (0, G.jsxs)(qn, {
6492
6492
  as: "div",
6493
- children: [n, e && /* @__PURE__ */ (0, K.jsx)(Qi, { text: e })]
6493
+ children: [n, e && /* @__PURE__ */ (0, G.jsx)(Qi, { text: e })]
6494
6494
  }, t);
6495
6495
  }
6496
- return /* @__PURE__ */ (0, K.jsx)(P.Fragment, { children: n }, t);
6496
+ return /* @__PURE__ */ (0, G.jsx)(P.Fragment, { children: n }, t);
6497
6497
  }), t[0] = o, t[1] = i, t[2] = r, t[3] = a, t[4] = n, t[5] = s, t[6] = c, t[7] = l, t[8] = u, t[9] = d, t[10] = f;
6498
6498
  } else s = t[5], c = t[6], l = t[7], u = t[8], d = t[9], f = t[10];
6499
6499
  let p;
6500
- t[11] !== u || t[12] !== d || t[13] !== f ? (p = /* @__PURE__ */ (0, K.jsx)("div", {
6500
+ t[11] !== u || t[12] !== d || t[13] !== f ? (p = /* @__PURE__ */ (0, G.jsx)("div", {
6501
6501
  className: u,
6502
6502
  style: d,
6503
6503
  children: f
6504
6504
  }), t[11] = u, t[12] = d, t[13] = f, t[14] = p) : p = t[14];
6505
6505
  let m;
6506
- t[15] !== s || t[16] !== p ? (m = /* @__PURE__ */ (0, K.jsx)(s, { children: p }), t[15] = s, t[16] = p, t[17] = m) : m = t[17];
6506
+ t[15] !== s || t[16] !== p ? (m = /* @__PURE__ */ (0, G.jsx)(s, { children: p }), t[15] = s, t[16] = p, t[17] = m) : m = t[17];
6507
6507
  let h;
6508
- t[18] === l ? h = t[19] : (h = l && /* @__PURE__ */ (0, K.jsx)(Qi, { text: l }), t[18] = l, t[19] = h);
6508
+ t[18] === l ? h = t[19] : (h = l && /* @__PURE__ */ (0, G.jsx)(Qi, { text: l }), t[18] = l, t[19] = h);
6509
6509
  let g;
6510
- return t[20] !== c || t[21] !== m || t[22] !== h ? (g = /* @__PURE__ */ (0, K.jsxs)(c, { children: [m, h] }), t[20] = c, t[21] = m, t[22] = h, t[23] = g) : g = t[23], g;
6510
+ return t[20] !== c || t[21] !== m || t[22] !== h ? (g = /* @__PURE__ */ (0, G.jsxs)(c, { children: [m, h] }), t[20] = c, t[21] = m, t[22] = h, t[23] = g) : g = t[23], g;
6511
6511
  };
6512
6512
  function oa(e) {
6513
6513
  let { isNoOutputPreview: t, isEditable: n, showCode: r } = e;
@@ -6521,241 +6521,241 @@ var sa = (e) => {
6521
6521
  showCode: a
6522
6522
  })) {
6523
6523
  let e;
6524
- return t[0] !== n || t[1] !== i ? (e = i ? /* @__PURE__ */ (0, K.jsx)(sr, { cell: n }) : /* @__PURE__ */ (0, K.jsx)(cr, { cell: n }), t[0] = n, t[1] = i, t[2] = e) : e = t[2], e;
6524
+ return t[0] !== n || t[1] !== i ? (e = i ? /* @__PURE__ */ (0, G.jsx)(sr, { cell: n }) : /* @__PURE__ */ (0, G.jsx)(cr, { cell: n }), t[0] = n, t[1] = i, t[2] = e) : e = t[2], e;
6525
6525
  }
6526
6526
  let o;
6527
- return t[3] === n ? o = t[4] : (o = /* @__PURE__ */ (0, K.jsx)(ia, { cell: n }), t[3] = n, t[4] = o), o;
6527
+ return t[3] === n ? o = t[4] : (o = /* @__PURE__ */ (0, G.jsx)(ia, { cell: n }), t[3] = n, t[4] = o), o;
6528
6528
  }, ca = (e) => {
6529
- let n = (0, F.c)(160), { slideCells: o, layout: s, setLayout: l, noOutputIds: u, activeIndex: m, onSlideChange: x, mode: E, configWidth: D, isEditable: O } = e, N = O !== void 0 && O, te = (0, P.useRef)(null), I = (0, P.useRef)(null), { width: ne, height: re } = Zi(te), ie = k() != null, L = M(c), R = M(b).kind, ae = M(y), oe = R !== "wasm" || ae, z;
6530
- n[0] !== L || n[1] !== R ? (z = L || !S(R) ? [] : [Ui], n[0] = L, n[1] = R, n[2] = z) : z = n[2];
6531
- let se = z, [ce, le] = (0, P.useState)(la), ue = v(o), de;
6529
+ let n = (0, F.c)(160), { slideCells: o, layout: s, setLayout: l, noOutputIds: u, activeIndex: h, onSlideChange: C, mode: E, configWidth: D, isEditable: O } = e, N = O !== void 0 && O, te = (0, P.useRef)(null), I = (0, P.useRef)(null), { width: ne, height: re } = Zi(te), ie = k() != null, L = M(c), R = M(S).kind, ae = M(x), oe = R !== "wasm" || ae, z;
6530
+ n[0] !== L || n[1] !== R ? (z = L || !w(R) ? [] : [Ui], n[0] = L, n[1] = R, n[2] = z) : z = n[2];
6531
+ let se = z, [ce, le] = (0, P.useState)(la), ue = b(o), de;
6532
6532
  n[3] === ue ? de = n[4] : (de = !ee() && ue, n[3] = ue, n[4] = de);
6533
6533
  let fe = de, pe;
6534
- n[5] === L ? pe = n[6] : (pe = g(L, window.location.search), n[5] = L, n[6] = pe);
6535
- let B = !pe && fe, me = m == null ? void 0 : o[m], he;
6536
- n[7] !== me || n[8] !== o ? (he = me ?? o.at(0), n[7] = me, n[8] = o, n[9] = he) : he = n[9];
6537
- let ge = he, _e;
6538
- n[10] !== me || n[11] !== s.cells || n[12] !== u ? (_e = {
6539
- activeCell: me,
6534
+ n[5] === L ? pe = n[6] : (pe = v(L, window.location.search), n[5] = L, n[6] = pe);
6535
+ let me = !pe && fe, he = h == null ? void 0 : o[h], ge;
6536
+ n[7] !== he || n[8] !== o ? (ge = he ?? o.at(0), n[7] = he, n[8] = o, n[9] = ge) : ge = n[9];
6537
+ let _e = ge, ve;
6538
+ n[10] !== he || n[11] !== s.cells || n[12] !== u ? (ve = {
6539
+ activeCell: he,
6540
6540
  slideConfigs: s.cells,
6541
6541
  noOutputIds: u
6542
- }, n[10] = me, n[11] = s.cells, n[12] = u, n[13] = _e) : _e = n[13];
6543
- let { parkedPreviewCell: V, isHeldEdit: ve, isNoOutputPreview: H, heldEditCellId: ye, heldShowsCode: be, toggleHeldShowsCode: xe } = ta(_e), Se;
6544
- n[14] !== fe || n[15] !== s.cells || n[16] !== ce ? (Se = (e) => $i({
6542
+ }, n[10] = he, n[11] = s.cells, n[12] = u, n[13] = ve) : ve = n[13];
6543
+ let { parkedPreviewCell: B, isHeldEdit: ye, isNoOutputPreview: be, heldEditCellId: xe, heldShowsCode: Se, toggleHeldShowsCode: Ce } = ta(ve), we;
6544
+ n[14] !== fe || n[15] !== s.cells || n[16] !== ce ? (we = (e) => $i({
6545
6545
  cells: s.cells,
6546
6546
  cellId: e,
6547
6547
  showCodeOverrides: ce,
6548
6548
  codeAvailable: fe
6549
- }), n[14] = fe, n[15] = s.cells, n[16] = ce, n[17] = Se) : Se = n[17];
6550
- let Ce = Se, we = me?.id ?? ge?.id, Te;
6551
- n[18] !== we || n[19] !== be || n[20] !== ve || n[21] !== Ce ? (Te = ve ? be : Ce(we), n[18] = we, n[19] = be, n[20] = ve, n[21] = Ce, n[22] = Te) : Te = n[22];
6552
- let Ee = Te, De;
6553
- n[23] !== we || n[24] !== fe || n[25] !== s.cells ? (De = fe && we != null && (s.cells.get(we)?.showCode ?? !1), n[23] = we, n[24] = fe, n[25] = s.cells, n[26] = De) : De = n[26];
6554
- let Oe = De, ke;
6555
- n[27] !== ye || n[28] !== s.cells || n[29] !== u ? (ke = (e) => ea({
6549
+ }), n[14] = fe, n[15] = s.cells, n[16] = ce, n[17] = we) : we = n[17];
6550
+ let Te = we, V = he?.id ?? _e?.id, Ee;
6551
+ n[18] !== V || n[19] !== Se || n[20] !== ye || n[21] !== Te ? (Ee = ye ? Se : Te(V), n[18] = V, n[19] = Se, n[20] = ye, n[21] = Te, n[22] = Ee) : Ee = n[22];
6552
+ let De = Ee, Oe;
6553
+ n[23] !== V || n[24] !== fe || n[25] !== s.cells ? (Oe = fe && V != null && (s.cells.get(V)?.showCode ?? !1), n[23] = V, n[24] = fe, n[25] = s.cells, n[26] = Oe) : Oe = n[26];
6554
+ let ke = Oe, Ae;
6555
+ n[27] !== xe || n[28] !== s.cells || n[29] !== u ? (Ae = (e) => ea({
6556
6556
  cell: e,
6557
6557
  noOutputIds: u,
6558
- heldEditCellId: ye,
6558
+ heldEditCellId: xe,
6559
6559
  slideConfigs: s.cells
6560
- }), n[27] = ye, n[28] = s.cells, n[29] = u, n[30] = ke) : ke = n[30];
6561
- let Ae;
6562
- n[31] !== o || n[32] !== ke ? (Ae = tr({
6560
+ }), n[27] = xe, n[28] = s.cells, n[29] = u, n[30] = Ae) : Ae = n[30];
6561
+ let je;
6562
+ n[31] !== o || n[32] !== Ae ? (je = tr({
6563
6563
  cells: o,
6564
- getType: ke
6565
- }), n[31] = o, n[32] = ke, n[33] = Ae) : Ae = n[33];
6566
- let je = Ae, Me;
6567
- n[34] !== je || n[35] !== o ? (Me = nr({
6568
- composition: je,
6564
+ getType: Ae
6565
+ }), n[31] = o, n[32] = Ae, n[33] = je) : je = n[33];
6566
+ let Me = je, Ne;
6567
+ n[34] !== Me || n[35] !== o ? (Ne = nr({
6568
+ composition: Me,
6569
6569
  cells: o,
6570
6570
  getId: ua
6571
- }), n[34] = je, n[35] = o, n[36] = Me) : Me = n[36];
6572
- let { cellToTarget: Ne, targetToCellIndex: Pe } = Me, Fe = s.deck?.transition ?? "slide", Ie = s.deck?.verticalAlign, Le;
6573
- n[37] === Ie ? Le = n[38] : (Le = ra(Ie), n[37] = Ie, n[38] = Le);
6574
- let Re = Le, ze;
6575
- n[39] === Symbol.for("react.memo_cache_sentinel") ? (ze = f(window.location.href), n[39] = ze) : ze = n[39];
6576
- let Be = ze, U;
6577
- n[40] !== Fe || n[41] !== re || n[42] !== ne ? (U = {
6571
+ }), n[34] = Me, n[35] = o, n[36] = Ne) : Ne = n[36];
6572
+ let { cellToTarget: Pe, targetToCellIndex: Fe } = Ne, Ie = s.deck?.transition ?? "slide", Le = s.deck?.verticalAlign, Re;
6573
+ n[37] === Le ? Re = n[38] : (Re = ra(Le), n[37] = Le, n[38] = Re);
6574
+ let ze = Re, Be;
6575
+ n[39] === Symbol.for("react.memo_cache_sentinel") ? (Be = p(window.location.href), n[39] = Be) : Be = n[39];
6576
+ let Ve = Be, H;
6577
+ n[40] !== Ie || n[41] !== re || n[42] !== ne ? (H = {
6578
6578
  embedded: !0,
6579
6579
  width: ne,
6580
6580
  height: re,
6581
6581
  center: !1,
6582
6582
  minScale: .2,
6583
6583
  maxScale: 2,
6584
- transition: Fe,
6584
+ transition: Ie,
6585
6585
  keyboardCondition: da,
6586
- url: Be,
6586
+ url: Ve,
6587
6587
  scrollActivationWidth: 0
6588
- }, n[40] = Fe, n[41] = re, n[42] = ne, n[43] = U) : U = n[43];
6589
- let Ve = U, He;
6590
- n[44] !== m || n[45] !== oe || n[46] !== Ne || n[47] !== o ? (He = (e) => {
6591
- if (m == null && window.location.hash.startsWith("#/")) {
6588
+ }, n[40] = Ie, n[41] = re, n[42] = ne, n[43] = H) : H = n[43];
6589
+ let He = H, Ue;
6590
+ n[44] !== h || n[45] !== oe || n[46] !== Pe || n[47] !== o ? (Ue = (e) => {
6591
+ if (h == null && window.location.hash.startsWith("#/")) {
6592
6592
  if (!oe) return;
6593
6593
  window.dispatchEvent(new HashChangeEvent("hashchange")), qi(e);
6594
6594
  return;
6595
6595
  }
6596
6596
  let t = ar({
6597
- activeIndex: m,
6597
+ activeIndex: h,
6598
6598
  cells: o,
6599
- cellToTarget: Ne,
6599
+ cellToTarget: Pe,
6600
6600
  getId: fa
6601
6601
  }), n = t && or(e.getIndices(), t);
6602
6602
  n && (e.slide(n.h, n.v, n.f), qi(e));
6603
- }, n[44] = m, n[45] = oe, n[46] = Ne, n[47] = o, n[48] = He) : He = n[48];
6604
- let Ue = j(He), We;
6605
- n[49] === Ue ? We = n[50] : (We = () => {
6603
+ }, n[44] = h, n[45] = oe, n[46] = Pe, n[47] = o, n[48] = Ue) : Ue = n[48];
6604
+ let We = j(Ue), Ge;
6605
+ n[49] === We ? Ge = n[50] : (Ge = () => {
6606
6606
  let e = I.current;
6607
- e != null && Ue(e);
6608
- }, n[49] = Ue, n[50] = We);
6609
- let Ge;
6610
- n[51] !== m || n[52] !== oe || n[53] !== Ne || n[54] !== Ue || n[55] !== o ? (Ge = [
6611
- m,
6607
+ e != null && We(e);
6608
+ }, n[49] = We, n[50] = Ge);
6609
+ let Ke;
6610
+ n[51] !== h || n[52] !== oe || n[53] !== Pe || n[54] !== We || n[55] !== o ? (Ke = [
6611
+ h,
6612
6612
  oe,
6613
- Ne,
6613
+ Pe,
6614
6614
  o,
6615
- Ue
6616
- ], n[51] = m, n[52] = oe, n[53] = Ne, n[54] = Ue, n[55] = o, n[56] = Ge) : Ge = n[56], (0, P.useEffect)(We, Ge);
6617
- let Ke;
6618
- n[57] !== we || n[58] !== Oe || n[59] !== ve || n[60] !== xe ? (Ke = () => {
6619
- if (!(we == null || Oe)) {
6620
- if (ve) {
6621
- xe();
6615
+ We
6616
+ ], n[51] = h, n[52] = oe, n[53] = Pe, n[54] = We, n[55] = o, n[56] = Ke) : Ke = n[56], (0, P.useEffect)(Ge, Ke);
6617
+ let qe;
6618
+ n[57] !== V || n[58] !== ke || n[59] !== ye || n[60] !== Ce ? (qe = () => {
6619
+ if (!(V == null || ke)) {
6620
+ if (ye) {
6621
+ Ce();
6622
6622
  return;
6623
6623
  }
6624
6624
  (0, P.startTransition)(() => le((e) => {
6625
6625
  let t = new Set(e);
6626
- return t.has(we) ? t.delete(we) : t.add(we), t;
6626
+ return t.has(V) ? t.delete(V) : t.add(V), t;
6627
6627
  }));
6628
6628
  }
6629
- }, n[57] = we, n[58] = Oe, n[59] = ve, n[60] = xe, n[61] = Ke) : Ke = n[61];
6630
- let qe = j(Ke), Je, Ye;
6631
- n[62] !== B || n[63] !== qe ? (Je = () => {
6629
+ }, n[57] = V, n[58] = ke, n[59] = ye, n[60] = Ce, n[61] = qe) : qe = n[61];
6630
+ let Je = j(qe), Ye, Xe;
6631
+ n[62] !== me || n[63] !== Je ? (Ye = () => {
6632
6632
  let e = I.current;
6633
6633
  return e && Ki({
6634
6634
  deck: e,
6635
- enabled: B,
6636
- onToggle: qe
6635
+ enabled: me,
6636
+ onToggle: Je
6637
6637
  }), () => {
6638
6638
  I.current?.removeKeyBinding(Gi);
6639
6639
  };
6640
- }, Ye = [B, qe], n[62] = B, n[63] = qe, n[64] = Je, n[65] = Ye) : (Je = n[64], Ye = n[65]), (0, P.useEffect)(Je, Ye);
6641
- let Xe;
6642
- n[66] !== x || n[67] !== V || n[68] !== Pe ? (Xe = (e) => {
6643
- if (V != null) return;
6644
- let t = rr(Pe, e.getIndices());
6645
- t != null && x?.(t);
6646
- }, n[66] = x, n[67] = V, n[68] = Pe, n[69] = Xe) : Xe = n[69];
6647
- let W = j(Xe), Ze;
6648
- n[70] === W ? Ze = n[71] : (Ze = () => {
6640
+ }, Xe = [me, Je], n[62] = me, n[63] = Je, n[64] = Ye, n[65] = Xe) : (Ye = n[64], Xe = n[65]), (0, P.useEffect)(Ye, Xe);
6641
+ let Ze;
6642
+ n[66] !== C || n[67] !== B || n[68] !== Fe ? (Ze = (e) => {
6643
+ if (B != null) return;
6644
+ let t = rr(Fe, e.getIndices());
6645
+ t != null && C?.(t);
6646
+ }, n[66] = C, n[67] = B, n[68] = Fe, n[69] = Ze) : Ze = n[69];
6647
+ let U = j(Ze), Qe;
6648
+ n[70] === U ? Qe = n[71] : (Qe = () => {
6649
6649
  let e = I.current;
6650
- e && W(e);
6651
- }, n[70] = W, n[71] = Ze);
6652
- let Qe = j(Ze), $e;
6653
- n[72] !== oe || n[73] !== B || n[74] !== Ue || n[75] !== W || n[76] !== qe ? ($e = (e) => {
6654
- Ue(e), oe && W(e), Ki({
6650
+ e && U(e);
6651
+ }, n[70] = U, n[71] = Qe);
6652
+ let $e = j(Qe), et;
6653
+ n[72] !== oe || n[73] !== me || n[74] !== We || n[75] !== U || n[76] !== Je ? (et = (e) => {
6654
+ We(e), oe && U(e), Ki({
6655
6655
  deck: e,
6656
- enabled: B,
6657
- onToggle: qe
6656
+ enabled: me,
6657
+ onToggle: Je
6658
6658
  });
6659
6659
  let t = e.getSlidesElement()?.closest(".reveal");
6660
6660
  t instanceof HTMLElement && (t.tabIndex = -1, t.focus({ preventScroll: !0 }));
6661
- }, n[72] = oe, n[73] = B, n[74] = Ue, n[75] = W, n[76] = qe, n[77] = $e) : $e = n[77];
6662
- let et = j($e), tt;
6663
- n[78] !== m || n[79] !== x || n[80] !== V || n[81] !== o ? (tt = (e) => {
6664
- if (!V || m == null || i.fromInput(e)) return;
6661
+ }, n[72] = oe, n[73] = me, n[74] = We, n[75] = U, n[76] = Je, n[77] = et) : et = n[77];
6662
+ let tt = j(et), nt;
6663
+ n[78] !== h || n[79] !== C || n[80] !== B || n[81] !== o ? (nt = (e) => {
6664
+ if (!B || h == null || i.fromInput(e)) return;
6665
6665
  let t = Xi(e);
6666
6666
  if (t === 0) return;
6667
6667
  e.preventDefault(), e.stopPropagation();
6668
- let n = m + t;
6669
- n < 0 || n >= o.length || x?.(n);
6670
- }, n[78] = m, n[79] = x, n[80] = V, n[81] = o, n[82] = tt) : tt = n[82];
6671
- let nt = j(tt), rt;
6672
- n[83] === Qe ? rt = n[84] : (rt = () => {
6673
- Qe();
6674
- }, n[83] = Qe, n[84] = rt);
6675
- let G = j(rt), it;
6676
- n[85] === Symbol.for("react.memo_cache_sentinel") ? (it = { capture: !0 }, n[85] = it) : it = n[85], t(document, "keydown", nt, it);
6677
- let at = ve ? null : H ? "Hidden as there is no output" : "Skipped in presentation", ot;
6678
- n[86] !== be || n[87] !== ve || n[88] !== V?.id || n[89] !== Ce ? (ot = ve ? be : Ce(V?.id), n[86] = be, n[87] = ve, n[88] = V?.id, n[89] = Ce, n[90] = ot) : ot = n[90];
6679
- let st = ot, ct;
6680
- n[91] !== N || n[92] !== H || n[93] !== st ? (ct = oa({
6681
- isNoOutputPreview: H,
6668
+ let n = h + t;
6669
+ n < 0 || n >= o.length || C?.(n);
6670
+ }, n[78] = h, n[79] = C, n[80] = B, n[81] = o, n[82] = nt) : nt = n[82];
6671
+ let rt = j(nt), it;
6672
+ n[83] === $e ? it = n[84] : (it = () => {
6673
+ $e();
6674
+ }, n[83] = $e, n[84] = it);
6675
+ let W = j(it), at;
6676
+ n[85] === Symbol.for("react.memo_cache_sentinel") ? (at = { capture: !0 }, n[85] = at) : at = n[85], t(document, "keydown", rt, at);
6677
+ let ot = ye ? null : be ? "Hidden as there is no output" : "Skipped in presentation", st;
6678
+ n[86] !== Se || n[87] !== ye || n[88] !== B?.id || n[89] !== Te ? (st = ye ? Se : Te(B?.id), n[86] = Se, n[87] = ye, n[88] = B?.id, n[89] = Te, n[90] = st) : st = n[90];
6679
+ let ct = st, lt;
6680
+ n[91] !== N || n[92] !== be || n[93] !== ct ? (lt = oa({
6681
+ isNoOutputPreview: be,
6682
6682
  isEditable: N,
6683
- showCode: st
6684
- }), n[91] = N, n[92] = H, n[93] = st, n[94] = ct) : ct = n[94];
6685
- let lt = ct, ut;
6686
- n[95] !== re || n[96] !== ne ? (ut = {
6683
+ showCode: ct
6684
+ }), n[91] = N, n[92] = be, n[93] = ct, n[94] = lt) : lt = n[94];
6685
+ let ut = lt, dt;
6686
+ n[95] !== re || n[96] !== ne ? (dt = {
6687
6687
  width: ne,
6688
6688
  height: re
6689
- }, n[95] = re, n[96] = ne, n[97] = ut) : ut = n[97];
6690
- let dt;
6691
- if (n[98] !== je.stacks || n[99] !== N || n[100] !== s.cells || n[101] !== Ce || n[102] !== Re) {
6689
+ }, n[95] = re, n[96] = ne, n[97] = dt) : dt = n[97];
6690
+ let ft;
6691
+ if (n[98] !== Me.stacks || n[99] !== N || n[100] !== s.cells || n[101] !== Te || n[102] !== ze) {
6692
6692
  let e;
6693
- n[104] !== N || n[105] !== s.cells || n[106] !== Ce || n[107] !== Re ? (e = (e, t) => e.subslides.length === 1 ? /* @__PURE__ */ (0, K.jsx)(aa, {
6693
+ n[104] !== N || n[105] !== s.cells || n[106] !== Te || n[107] !== ze ? (e = (e, t) => e.subslides.length === 1 ? /* @__PURE__ */ (0, G.jsx)(aa, {
6694
6694
  subslide: e.subslides[0],
6695
- resolveShowCode: Ce,
6695
+ resolveShowCode: Te,
6696
6696
  isEditable: N,
6697
6697
  slideConfigs: s.cells,
6698
- contentStyle: Re
6699
- }, t) : /* @__PURE__ */ (0, K.jsx)(_t, { children: e.subslides.map((e, t) => /* @__PURE__ */ (0, K.jsx)(aa, {
6698
+ contentStyle: ze
6699
+ }, t) : /* @__PURE__ */ (0, G.jsx)(vt, { children: e.subslides.map((e, t) => /* @__PURE__ */ (0, G.jsx)(aa, {
6700
6700
  subslide: e,
6701
- resolveShowCode: Ce,
6701
+ resolveShowCode: Te,
6702
6702
  isEditable: N,
6703
6703
  slideConfigs: s.cells,
6704
- contentStyle: Re
6705
- }, t)) }, t), n[104] = N, n[105] = s.cells, n[106] = Ce, n[107] = Re, n[108] = e) : e = n[108], dt = je.stacks.map(e), n[98] = je.stacks, n[99] = N, n[100] = s.cells, n[101] = Ce, n[102] = Re, n[103] = dt;
6706
- } else dt = n[103];
6707
- let pt;
6708
- n[109] !== se || n[110] !== et || n[111] !== G || n[112] !== Qe || n[113] !== Ve || n[114] !== dt ? (pt = /* @__PURE__ */ (0, K.jsx)(ft, {
6704
+ contentStyle: ze
6705
+ }, t)) }, t), n[104] = N, n[105] = s.cells, n[106] = Te, n[107] = ze, n[108] = e) : e = n[108], ft = Me.stacks.map(e), n[98] = Me.stacks, n[99] = N, n[100] = s.cells, n[101] = Te, n[102] = ze, n[103] = ft;
6706
+ } else ft = n[103];
6707
+ let mt;
6708
+ n[109] !== se || n[110] !== tt || n[111] !== W || n[112] !== $e || n[113] !== He || n[114] !== ft ? (mt = /* @__PURE__ */ (0, G.jsx)(pt, {
6709
6709
  deckRef: I,
6710
6710
  className: "aspect-video w-full overflow-hidden border rounded bg-background mo-slides-theme prose-slides focus:outline-hidden focus-visible:outline-hidden",
6711
- config: Ve,
6712
- onReady: et,
6713
- onSlideChange: G,
6714
- onFragmentShown: Qe,
6715
- onFragmentHidden: Qe,
6711
+ config: He,
6712
+ onReady: tt,
6713
+ onSlideChange: W,
6714
+ onFragmentShown: $e,
6715
+ onFragmentHidden: $e,
6716
6716
  plugins: se,
6717
- children: dt
6718
- }), n[109] = se, n[110] = et, n[111] = G, n[112] = Qe, n[113] = Ve, n[114] = dt, n[115] = pt) : pt = n[115];
6719
- let mt;
6720
- n[116] !== N || n[117] !== H || n[118] !== V || n[119] !== at || n[120] !== st || n[121] !== lt || n[122] !== Re ? (mt = V && /* @__PURE__ */ (0, K.jsxs)("div", {
6717
+ children: ft
6718
+ }), n[109] = se, n[110] = tt, n[111] = W, n[112] = $e, n[113] = He, n[114] = ft, n[115] = mt) : mt = n[115];
6719
+ let ht;
6720
+ n[116] !== N || n[117] !== be || n[118] !== B || n[119] !== ot || n[120] !== ct || n[121] !== ut || n[122] !== ze ? (ht = B && /* @__PURE__ */ (0, G.jsxs)("div", {
6721
6721
  className: "absolute inset-0 z-10 border rounded bg-background flex flex-col overflow-hidden",
6722
- "aria-label": at ?? void 0,
6723
- children: [at && /* @__PURE__ */ (0, K.jsxs)("div", {
6722
+ "aria-label": ot ?? void 0,
6723
+ children: [ot && /* @__PURE__ */ (0, G.jsxs)("div", {
6724
6724
  className: "flex items-center gap-1.5 px-3 py-1.5 text-xs text-muted-foreground border-b bg-muted/40",
6725
- children: [/* @__PURE__ */ (0, K.jsx)(d, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, K.jsx)("span", { children: at })]
6726
- }), /* @__PURE__ */ (0, K.jsx)("div", {
6725
+ children: [/* @__PURE__ */ (0, G.jsx)(g, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, G.jsx)("span", { children: ot })]
6726
+ }), /* @__PURE__ */ (0, G.jsx)("div", {
6727
6727
  className: "flex-1 overflow-auto flex",
6728
- children: /* @__PURE__ */ (0, K.jsx)("div", {
6729
- className: lt ? "mo-slide-content flex flex-col gap-3" : "mo-slide-content",
6730
- style: Re,
6731
- children: /* @__PURE__ */ (0, K.jsx)(sa, {
6732
- cell: V,
6733
- isNoOutputPreview: H,
6728
+ children: /* @__PURE__ */ (0, G.jsx)("div", {
6729
+ className: ut ? "mo-slide-content flex flex-col gap-3" : "mo-slide-content",
6730
+ style: ze,
6731
+ children: /* @__PURE__ */ (0, G.jsx)(sa, {
6732
+ cell: B,
6733
+ isNoOutputPreview: be,
6734
6734
  isEditable: N,
6735
- showCode: st
6735
+ showCode: ct
6736
6736
  })
6737
6737
  })
6738
6738
  })]
6739
- }, V.id), n[116] = N, n[117] = H, n[118] = V, n[119] = at, n[120] = st, n[121] = lt, n[122] = Re, n[123] = mt) : mt = n[123];
6740
- let ht;
6741
- n[124] !== Ee || n[125] !== Oe || n[126] !== B || n[127] !== qe ? (ht = B && /* @__PURE__ */ (0, K.jsx)(A, {
6742
- content: Oe ? "Code is always shown for this slide" : Ee ? "Hide code (C)" : "Show code (C)",
6743
- children: /* @__PURE__ */ (0, K.jsx)(a, {
6739
+ }, B.id), n[116] = N, n[117] = be, n[118] = B, n[119] = ot, n[120] = ct, n[121] = ut, n[122] = ze, n[123] = ht) : ht = n[123];
6740
+ let gt;
6741
+ n[124] !== De || n[125] !== ke || n[126] !== me || n[127] !== Je ? (gt = me && /* @__PURE__ */ (0, G.jsx)(A, {
6742
+ content: ke ? "Code is always shown for this slide" : De ? "Hide code (C)" : "Show code (C)",
6743
+ children: /* @__PURE__ */ (0, G.jsx)(a, {
6744
6744
  "data-testid": "marimo-plugin-slides-toggle-code",
6745
6745
  variant: "ghost",
6746
6746
  size: "icon",
6747
- className: r("text-muted-foreground h-7 w-7", Ee && "text-foreground bg-muted", Oe && "opacity-50 cursor-not-allowed"),
6748
- "aria-pressed": Ee,
6749
- "aria-disabled": Oe,
6750
- "aria-label": Oe ? "Code always shown" : Ee ? "Hide code" : "Show code",
6751
- onClick: qe,
6752
- children: /* @__PURE__ */ (0, K.jsx)(T, { className: "h-4 w-4" })
6747
+ className: r("text-muted-foreground h-7 w-7", De && "text-foreground bg-muted", ke && "opacity-50 cursor-not-allowed"),
6748
+ "aria-pressed": De,
6749
+ "aria-disabled": ke,
6750
+ "aria-label": ke ? "Code always shown" : De ? "Hide code" : "Show code",
6751
+ onClick: Je,
6752
+ children: /* @__PURE__ */ (0, G.jsx)(f, { className: "h-4 w-4" })
6753
6753
  })
6754
- }), n[124] = Ee, n[125] = Oe, n[126] = B, n[127] = qe, n[128] = ht) : ht = n[128];
6755
- let gt;
6756
- n[129] === Symbol.for("react.memo_cache_sentinel") ? (gt = /* @__PURE__ */ (0, K.jsx)(A, {
6754
+ }), n[124] = De, n[125] = ke, n[126] = me, n[127] = Je, n[128] = gt) : gt = n[128];
6755
+ let _t;
6756
+ n[129] === Symbol.for("react.memo_cache_sentinel") ? (_t = /* @__PURE__ */ (0, G.jsx)(A, {
6757
6757
  content: "Fullscreen (F)",
6758
- children: /* @__PURE__ */ (0, K.jsx)(a, {
6758
+ children: /* @__PURE__ */ (0, G.jsx)(a, {
6759
6759
  "data-testid": "marimo-plugin-slides-fullscreen",
6760
6760
  variant: "ghost",
6761
6761
  size: "icon",
@@ -6764,85 +6764,85 @@ var sa = (e) => {
6764
6764
  onClick: () => {
6765
6765
  I.current?.getViewportElement()?.requestFullscreen().catch(pa);
6766
6766
  },
6767
- children: /* @__PURE__ */ (0, K.jsx)(w, { className: "h-4 w-4" })
6767
+ children: /* @__PURE__ */ (0, G.jsx)(d, { className: "h-4 w-4" })
6768
6768
  })
6769
- }), n[129] = gt) : gt = n[129];
6770
- let vt;
6771
- n[130] === ht ? vt = n[131] : (vt = /* @__PURE__ */ (0, K.jsxs)("div", {
6772
- className: "absolute top-2 right-2 z-20 opacity-0 group-hover:opacity-70 text-muted-foreground transition-opacity",
6773
- children: [ht, gt]
6774
- }), n[130] = ht, n[131] = vt);
6769
+ }), n[129] = _t) : _t = n[129];
6775
6770
  let yt;
6776
- n[132] !== ut || n[133] !== pt || n[134] !== mt || n[135] !== vt ? (yt = /* @__PURE__ */ (0, K.jsx)("div", {
6771
+ n[130] === gt ? yt = n[131] : (yt = /* @__PURE__ */ (0, G.jsxs)("div", {
6772
+ className: "absolute top-2 right-2 z-20 opacity-0 group-hover:opacity-70 text-muted-foreground transition-opacity",
6773
+ children: [gt, _t]
6774
+ }), n[130] = gt, n[131] = yt);
6775
+ let bt;
6776
+ n[132] !== dt || n[133] !== mt || n[134] !== ht || n[135] !== yt ? (bt = /* @__PURE__ */ (0, G.jsx)("div", {
6777
6777
  ref: te,
6778
6778
  className: "h-full w-full min-w-0 flex items-center justify-center overflow-hidden",
6779
- children: /* @__PURE__ */ (0, K.jsxs)("div", {
6779
+ children: /* @__PURE__ */ (0, G.jsxs)("div", {
6780
6780
  className: "group relative",
6781
- style: ut,
6781
+ style: dt,
6782
6782
  children: [
6783
- pt,
6784
6783
  mt,
6785
- vt
6784
+ ht,
6785
+ yt
6786
6786
  ]
6787
6787
  })
6788
- }), n[132] = ut, n[133] = pt, n[134] = mt, n[135] = vt, n[136] = yt) : yt = n[136];
6789
- let bt = yt;
6788
+ }), n[132] = dt, n[133] = mt, n[134] = ht, n[135] = yt, n[136] = bt) : bt = n[136];
6789
+ let xt = bt;
6790
6790
  if (E === "read") {
6791
6791
  let e;
6792
- return n[137] === bt ? e = n[138] : (e = /* @__PURE__ */ (0, K.jsx)("div", {
6792
+ return n[137] === xt ? e = n[138] : (e = /* @__PURE__ */ (0, G.jsx)("div", {
6793
6793
  className: "flex-1 min-w-0 flex flex-row gap-3",
6794
- children: bt
6795
- }), n[137] = bt, n[138] = e), e;
6794
+ children: xt
6795
+ }), n[137] = xt, n[138] = e), e;
6796
6796
  }
6797
- let xt;
6798
- n[139] === bt ? xt = n[140] : (xt = /* @__PURE__ */ (0, K.jsx)(p, {
6797
+ let K;
6798
+ n[139] === xt ? K = n[140] : (K = /* @__PURE__ */ (0, G.jsx)(m, {
6799
6799
  defaultSize: 92,
6800
6800
  minSize: 60,
6801
- children: bt
6802
- }), n[139] = bt, n[140] = xt);
6801
+ children: xt
6802
+ }), n[139] = xt, n[140] = K);
6803
6803
  let q;
6804
6804
  n[141] === Symbol.for("react.memo_cache_sentinel") ? (q = {
6805
6805
  coarse: 12,
6806
6806
  fine: 4
6807
6807
  }, n[141] = q) : q = n[141];
6808
6808
  let St;
6809
- n[142] === ie ? St = n[143] : (St = /* @__PURE__ */ (0, K.jsx)(C, {
6809
+ n[142] === ie ? St = n[143] : (St = /* @__PURE__ */ (0, G.jsx)(T, {
6810
6810
  className: "mo-slides-notes-resize",
6811
6811
  hitAreaMargins: q,
6812
6812
  disabled: ie
6813
6813
  }), n[142] = ie, n[143] = St);
6814
- let J = ge?.id, Ct;
6815
- n[144] !== s || n[145] !== l || n[146] !== J ? (Ct = /* @__PURE__ */ (0, K.jsx)(p, {
6814
+ let J = _e?.id, Ct;
6815
+ n[144] !== s || n[145] !== l || n[146] !== J ? (Ct = /* @__PURE__ */ (0, G.jsx)(m, {
6816
6816
  defaultSize: 10,
6817
6817
  minSize: 4,
6818
6818
  collapsible: !0,
6819
6819
  collapsedSize: 4,
6820
- children: /* @__PURE__ */ (0, K.jsx)(ur, {
6820
+ children: /* @__PURE__ */ (0, G.jsx)(ur, {
6821
6821
  layout: s,
6822
6822
  setLayout: l,
6823
6823
  cellId: J
6824
6824
  })
6825
6825
  }), n[144] = s, n[145] = l, n[146] = J, n[147] = Ct) : Ct = n[147];
6826
6826
  let wt;
6827
- n[148] !== xt || n[149] !== St || n[150] !== Ct ? (wt = /* @__PURE__ */ (0, K.jsxs)(_, {
6827
+ n[148] !== K || n[149] !== St || n[150] !== Ct ? (wt = /* @__PURE__ */ (0, G.jsxs)(y, {
6828
6828
  direction: "vertical",
6829
6829
  autoSaveId: "marimo:slides:notes-panel",
6830
6830
  className: "flex-1 min-w-0",
6831
6831
  children: [
6832
- xt,
6832
+ K,
6833
6833
  St,
6834
6834
  Ct
6835
6835
  ]
6836
- }), n[148] = xt, n[149] = St, n[150] = Ct, n[151] = wt) : wt = n[151];
6836
+ }), n[148] = K, n[149] = St, n[150] = Ct, n[151] = wt) : wt = n[151];
6837
6837
  let Tt;
6838
- n[152] !== ge || n[153] !== D || n[154] !== s || n[155] !== l ? (Tt = /* @__PURE__ */ (0, K.jsx)(h, {
6838
+ n[152] !== _e || n[153] !== D || n[154] !== s || n[155] !== l ? (Tt = /* @__PURE__ */ (0, G.jsx)(_, {
6839
6839
  configWidth: D,
6840
6840
  layout: s,
6841
6841
  setLayout: l,
6842
- activeConfigCell: ge
6843
- }), n[152] = ge, n[153] = D, n[154] = s, n[155] = l, n[156] = Tt) : Tt = n[156];
6842
+ activeConfigCell: _e
6843
+ }), n[152] = _e, n[153] = D, n[154] = s, n[155] = l, n[156] = Tt) : Tt = n[156];
6844
6844
  let Y;
6845
- return n[157] !== wt || n[158] !== Tt ? (Y = /* @__PURE__ */ (0, K.jsxs)("div", {
6845
+ return n[157] !== wt || n[158] !== Tt ? (Y = /* @__PURE__ */ (0, G.jsxs)("div", {
6846
6846
  className: "flex-1 min-w-0 flex flex-row gap-3",
6847
6847
  children: [wt, Tt]
6848
6848
  }), n[157] = wt, n[158] = Tt, n[159] = Y) : Y = n[159], Y;