@knime/jsonforms 1.15.32 → 1.15.34

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 (67) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/{AnyOfTwinlist-CW7KcqmV.js → AnyOfTwinlist-DRfKC3ja.js} +1 -1
  3. package/dist/{Button-DY4ubq27.js → Button-C779CcnN.js} +1 -1
  4. package/dist/{CheckboxControl-BeMHGgde.js → CheckboxControl-C-T6CPpm.js} +1 -1
  5. package/dist/{Checkboxes-DWz6axAZ.js → Checkboxes-HMZEutQr.js} +1 -1
  6. package/dist/{CheckboxesControl-ZwvPXrMe.js → CheckboxesControl-LptJIZ26.js} +3 -3
  7. package/dist/{ComboBoxControl-8qMNjfQo.js → ComboBoxControl-DvibYPBQ.js} +2 -2
  8. package/dist/{DateControl-BeoHB-oc.js → DateControl-DmoYm0ZC.js} +1 -1
  9. package/dist/{DateTimeControl-B6hodgEZ.js → DateTimeControl-D7iCQuj3.js} +1 -1
  10. package/dist/{DateTimeFormatInput-BmcSEr6M.js → DateTimeFormatInput-ZAxJRG_W.js} +3 -3
  11. package/dist/{DateTimeFormatPickerControl-F-3VM2NQ.js → DateTimeFormatPickerControl-D_T7iA-J.js} +2 -2
  12. package/dist/{DateTimeFormatPickerWithTypeControl-BY1s8V_M.js → DateTimeFormatPickerWithTypeControl-D5EKjTbt.js} +3 -3
  13. package/dist/{Dropdown-3ruXMqTa.js → Dropdown-BMQ2cULv.js} +2 -2
  14. package/dist/{DropdownControl-CLoNfpW1.js → DropdownControl-D_Cv0Y53.js} +2 -2
  15. package/dist/{HorizontalLayout-BCtmi5_B.js → HorizontalLayout-DFWur7ZE.js} +1 -1
  16. package/dist/{InputField-nE7YlOjq.js → InputField-BR_pF-hk.js} +1 -1
  17. package/dist/{IntegerControl-F9V64ENJ.js → IntegerControl-BwZfBax4.js} +1 -1
  18. package/dist/{IntervalControl-Dw363E-g.js → IntervalControl-Cq9aZk9K.js} +3 -3
  19. package/dist/{LoadingDropdown-1H8kTJJd.js → LoadingDropdown-CbQFVRkX.js} +3 -3
  20. package/dist/{LoadingIcon-BA1R8ss6.js → LoadingIcon-DwiQTtVp.js} +1 -1
  21. package/dist/{ManualTwinlistControl-BHM1Nuag.js → ManualTwinlistControl-Cx67bPPD.js} +4 -4
  22. package/dist/{MultiSelectListBoxControl-Mi9Bg2JZ.js → MultiSelectListBoxControl-CzAUzYat.js} +2 -2
  23. package/dist/{MultimodeTwinlistControl-Bq1ytH6z.js → MultimodeTwinlistControl-Cs4jg9XU.js} +6 -6
  24. package/dist/{MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_a6fd4504_lang-BesWQz2c.js → MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_a6fd4504_lang-DMibSx-E.js} +1 -1
  25. package/dist/{MultiselectListBox-CSJHr1sx.js → MultiselectListBox-Hf2ZcYL8.js} +2 -2
  26. package/dist/{NameFilter-Bez3BKrb.js → NameFilter-CMoIYmJ1.js} +1 -1
  27. package/dist/{NumberControl-DWC9olEp.js → NumberControl-DuJBzz0A.js} +1 -1
  28. package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-Dvk-1EM_.js → NumberControlBase.vue_vue_type_script_setup_true_lang-CtX1RKV3.js} +2 -2
  29. package/dist/{NumberInput-Dp4N98CC.js → NumberInput-UPTwSPzu.js} +1 -1
  30. package/dist/{OneOfDropdown-Cxm1eLTI.js → OneOfDropdown-DwsNSy-h.js} +1 -1
  31. package/dist/{RadioControl-CLc3dsvN.js → RadioControl-VmoEv9dJ.js} +2 -2
  32. package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-D92MNC8N.js → RadioControlBase.vue_vue_type_script_setup_true_lang-Cn9-fOSg.js} +3 -3
  33. package/dist/{RichTextControl-iaqOEHpE.js → RichTextControl-qxb7TlZF.js} +323 -312
  34. package/dist/{SectionHeading-Dltr_kZH.js → SectionHeading-DchScXmi.js} +1 -1
  35. package/dist/{SectionHeading.vue_vue_type_style_index_0_scoped_c541eb08_lang-D4vcU0IR.js → SectionHeading.vue_vue_type_style_index_0_scoped_c541eb08_lang-QqVBwk2Y.js} +34 -34
  36. package/dist/{SectionLayout-BEeFdTG9.js → SectionLayout-Bi3Ri3P_.js} +3 -3
  37. package/dist/{SettingsSubPanel-r7Tnr2Hs.js → SettingsSubPanel-DH7FE7TU.js} +1 -1
  38. package/dist/{SettingsSubPanelLayout-DHI_PRkQ.js → SettingsSubPanelLayout-D6uMLNqJ.js} +4 -4
  39. package/dist/{SimpleButtonControl-BtJ_Q0-K.js → SimpleButtonControl-DYGNIK7N.js} +2 -2
  40. package/dist/{SimpleTwinlistControl-BKXS46ox.js → SimpleTwinlistControl-DcX7nw0Z.js} +2 -2
  41. package/dist/{SingleSelectControl-B01L1_wX.js → SingleSelectControl-B6MFSAh_.js} +2 -2
  42. package/dist/{SingleSelectListBoxControl-7uiW_H2z.js → SingleSelectListBoxControl-B00rs75L.js} +3 -3
  43. package/dist/{SortListControl-VvEJ4u4i.js → SortListControl-DfoFG_yS.js} +6 -6
  44. package/dist/{StyledListItem-BQGmmkpp.js → StyledListItem-BxbQmLS0.js} +1 -1
  45. package/dist/{TextAreaControl-DxcfWaj1.js → TextAreaControl-F_oItRdX.js} +1 -1
  46. package/dist/{TextControl-ipJvsnxN.js → TextControl-BqRM2i1D.js} +1 -1
  47. package/dist/{TextControl.vue_vue_type_script_setup_true_lang-DZ4R3WWY.js → TextControl.vue_vue_type_script_setup_true_lang-DTwfEJGu.js} +3 -3
  48. package/dist/{TimeControl-Dso-cL8j.js → TimeControl-ZASlcDoy.js} +1 -1
  49. package/dist/{TwinlistControlBase-DgMxOQNp.js → TwinlistControlBase-DyQF66tF.js} +3 -3
  50. package/dist/{TwinlistLoadingInfo-CQCA3I4o.js → TwinlistLoadingInfo-DHe1GpoQ.js} +4 -4
  51. package/dist/{TypedStringFilter-64jcVhSC.js → TypedStringFilter-Bt_j_R0O.js} +1 -1
  52. package/dist/{ValueSwitch-woxZw8Ij.js → ValueSwitch-CVyp6vCX.js} +1 -1
  53. package/dist/{ValueSwitchControl-yLHSsLP3.js → ValueSwitchControl-BuivqtRX.js} +1 -1
  54. package/dist/{VerticalLayout-BWokOEoa.js → VerticalLayout-CEoA-xWO.js} +2 -2
  55. package/dist/{VerticalLayoutBase-D4e_ae45.js → VerticalLayoutBase-BQtzUcxY.js} +1 -1
  56. package/dist/{ZonedDateTimeControl-UqRT_wYZ.js → ZonedDateTimeControl-C75lX_FS.js} +3 -3
  57. package/dist/{_baseEach-DOvUm3R9.js → _baseEach-zm6S5YMo.js} +2 -2
  58. package/dist/{_baseIteratee-DqI1LMoq.js → _baseIteratee-CWy3NzN2.js} +3 -3
  59. package/dist/{_getTag-DvSmio3K.js → _getTag-Ds1u6apJ.js} +1 -1
  60. package/dist/knime-jsonforms.css +1 -1
  61. package/dist/knime-jsonforms.js +7 -7
  62. package/dist/{localTimeUtils-BZb02fjo.js → localTimeUtils-B4sXG50p.js} +6 -6
  63. package/dist/testing.js +2 -2
  64. package/dist/{toString-IuiRs6iL.js → toString-B5G0JI4B.js} +1 -1
  65. package/dist/{useBuiltinValidations-Dp59fT26.js → useBuiltinValidations-D6e4jQa8.js} +1 -1
  66. package/dist/{usePossibleValues-irtfnsJj.js → usePossibleValues-BkW9NfiM.js} +1 -1
  67. package/package.json +3 -3
@@ -1,16 +1,16 @@
1
- import { defineComponent as de, resolveComponent as Ht, createBlock as ne, openBlock as N, Transition as bs, withCtx as q, createCommentVNode as ee, createElementVNode as L, withModifiers as Hn, createVNode as Z, createElementBlock as H, renderSlot as Ne, normalizeClass as $e, toDisplayString as wt, useCssVars as Fa, ref as J, watch as Ut, unref as V, onUnmounted as $a, Fragment as tr, createTextVNode as Td, resolveDynamicComponent as ks, mergeProps as nr, toRef as Fi, onBeforeUpdate as Ed, computed as ye, normalizeStyle as vs, renderList as Ha, nextTick as yi, toRefs as Va, inject as Od, Teleport as Ad, withDirectives as ja, vShow as _a, shallowRef as Nd, onMounted as rr, onBeforeUnmount as bi, h as ir, getCurrentInstance as Id, watchEffect as Dd, markRaw as Rd, customRef as Ld, withKeys as Pd, useSlots as Bd, toHandlers as Wa } from "vue";
1
+ import { defineComponent as de, resolveComponent as Ht, createBlock as ne, openBlock as N, Transition as bs, withCtx as q, createCommentVNode as ee, createElementVNode as L, withModifiers as Hn, createVNode as Z, createElementBlock as H, renderSlot as Ne, normalizeClass as $e, toDisplayString as wt, useCssVars as Fa, ref as J, watch as Ut, unref as V, onUnmounted as $a, Fragment as tr, createTextVNode as Td, resolveDynamicComponent as ks, mergeProps as nr, toRef as Fi, onBeforeUpdate as Ed, computed as ye, normalizeStyle as xs, renderList as Ha, nextTick as yi, toRefs as Va, inject as Od, Teleport as Ad, withDirectives as ja, vShow as _a, shallowRef as Nd, onMounted as rr, onBeforeUnmount as bi, h as ir, getCurrentInstance as Id, watchEffect as Dd, markRaw as Rd, customRef as Ld, withKeys as Pd, useSlots as Bd, toHandlers as Wa } from "vue";
2
2
  import { c as zd, a as Fd } from "./popper-LGjf7Wza.js";
3
3
  import { g as Ka } from "./hotkeys-rxnt4egK.js";
4
4
  import { i as Ua } from "./navigator-e30QQMkl.js";
5
5
  import { C as $d } from "./close-DGt8x-x_.js";
6
- import { _ as Ve, v as Qs, W as $i, P as Hd, M as tl, y as Vd, z as nl, A as jd, B as wn, D as _d, G as Wd, H as rl, I as Kd, J as Ud, C as qd, K as il } from "./SectionHeading.vue_vue_type_style_index_0_scoped_c541eb08_lang-D4vcU0IR.js";
6
+ import { _ as Ve, v as Qs, W as $i, P as Hd, M as tl, y as Vd, z as nl, A as jd, B as wn, D as _d, G as Wd, H as rl, I as Kd, J as Ud, C as qd, K as il } from "./SectionHeading.vue_vue_type_style_index_0_scoped_c541eb08_lang-QqVBwk2Y.js";
7
7
  import { F as Jd, u as Gd } from "./useDropdownNavigation-BfCXUheD.js";
8
- import { B as Hi } from "./Button-DY4ubq27.js";
9
- import { I as sl } from "./InputField-nE7YlOjq.js";
8
+ import { B as Hi } from "./Button-C779CcnN.js";
9
+ import { I as sl } from "./InputField-BR_pF-hk.js";
10
10
  import { u as qa, a as Ja, f as Ga, s as Ya } from "./floating-ui.vue-CDo9Kas1.js";
11
11
  import { o as Yd } from "./index-CpKfM262.js";
12
12
  import { N as Xd } from "./arrow-next-BQVCxGb8.js";
13
- import { t as Qd } from "./toString-IuiRs6iL.js";
13
+ import { t as Qd } from "./toString-B5G0JI4B.js";
14
14
  const Zd = (n, e) => (n % e + e) % e, ef = de({
15
15
  name: "BaseModal",
16
16
  components: {
@@ -311,7 +311,7 @@ const hf = /* @__PURE__ */ Ve(of, [["render", ff], ["__scopeId", "data-v-7c4d6c5
311
311
  })) : ee("", !0)
312
312
  ], 64));
313
313
  }
314
- }), ol = /* @__PURE__ */ Ve(bf, [["__scopeId", "data-v-ad759757"]]), kf = { class: "label" }, vf = { class: "text-and-hotkey" }, xf = {
314
+ }), ol = /* @__PURE__ */ Ve(bf, [["__scopeId", "data-v-ad759757"]]), kf = { class: "label" }, xf = { class: "text-and-hotkey" }, vf = {
315
315
  key: 0,
316
316
  class: "description"
317
317
  }, wf = /* @__PURE__ */ de({
@@ -347,7 +347,7 @@ const hf = /* @__PURE__ */ Ve(of, [["render", ff], ["__scopeId", "data-v-7c4d6c5
347
347
  class: "item-icon"
348
348
  })) : ee("", !0),
349
349
  L("div", kf, [
350
- L("div", vf, [
350
+ L("div", xf, [
351
351
  r.item.checkbox ? (N(), ne(qd, {
352
352
  key: 0,
353
353
  "model-value": r.item.checkbox.checked,
@@ -373,7 +373,7 @@ const hf = /* @__PURE__ */ Ve(of, [["render", ff], ["__scopeId", "data-v-7c4d6c5
373
373
  }, void 0, !0)
374
374
  ], 64))
375
375
  ]),
376
- r.item.description ? (N(), H("div", xf, wt(r.item.description), 1)) : ee("", !0)
376
+ r.item.description ? (N(), H("div", vf, wt(r.item.description), 1)) : ee("", !0)
377
377
  ])
378
378
  ]),
379
379
  _: 3
@@ -439,25 +439,25 @@ const Mf = ["aria-label"], Tf = ["data-index", "title", "onClick", "onPointerent
439
439
  };
440
440
  e({ scrollTo: (g) => {
441
441
  if (a.value && a.value.scrollHeight > a.value.clientHeight) {
442
- const S = a.value.clientHeight + a.value.scrollTop, v = g.offsetTop + g.offsetHeight;
443
- v > S ? a.value.scrollTop = v - a.value.clientHeight : g.offsetTop < a.value.scrollTop && (a.value.scrollTop = g.offsetTop);
442
+ const S = a.value.clientHeight + a.value.scrollTop, x = g.offsetTop + g.offsetHeight;
443
+ x > S ? a.value.scrollTop = x - a.value.clientHeight : g.offsetTop < a.value.scrollTop && (a.value.scrollTop = g.offsetTop);
444
444
  }
445
445
  }, getEnabledListItems: () => o.value.map((g, S) => {
446
- const v = g.children[0];
446
+ const x = g.children[0];
447
447
  return {
448
448
  element: g,
449
449
  index: S,
450
- onClick: r(v) ? () => v.click() : () => v.$el.click()
450
+ onClick: r(x) ? () => x.click() : () => x.$el.click()
451
451
  };
452
452
  }).filter(({ index: g }) => f.value.includes(g)) });
453
- const C = (g, S, v) => {
453
+ const C = (g, S, x) => {
454
454
  s(
455
455
  "item-hovered",
456
456
  S.disabled || S.sectionHeadline ? null : S,
457
457
  i.id,
458
- v
458
+ x
459
459
  );
460
- }, M = (g, S, v) => {
460
+ }, M = (g, S, x) => {
461
461
  if (S.disabled || S.sectionHeadline || S.children?.length)
462
462
  return;
463
463
  if (!(S.href || S.to) && (g.preventDefault(), g.stopPropagation(), g.stopImmediatePropagation()), S.checkbox) {
@@ -465,31 +465,31 @@ const Mf = ["aria-label"], Tf = ["data-index", "title", "onClick", "onPointerent
465
465
  S.checkbox.setBoolean(T);
466
466
  return;
467
467
  }
468
- s("item-click", g, S, v);
468
+ s("item-click", g, S, x);
469
469
  };
470
470
  return (g, S) => (N(), H("ul", {
471
471
  ref_key: "listContainer",
472
472
  ref: a,
473
473
  "aria-label": g.menuAriaLabel,
474
474
  class: "base-menu-items",
475
- style: vs(V(u)),
475
+ style: xs(V(u)),
476
476
  role: "menu",
477
477
  tabindex: "-1",
478
- onPointerleave: S[0] || (S[0] = (v) => g.$emit("item-hovered", null, g.id, null))
478
+ onPointerleave: S[0] || (S[0] = (x) => g.$emit("item-hovered", null, g.id, null))
479
479
  }, [
480
- (N(!0), H(tr, null, Ha(g.items, (v, P) => (N(), H("li", {
480
+ (N(!0), H(tr, null, Ha(g.items, (x, P) => (N(), H("li", {
481
481
  key: P,
482
482
  ref_for: !0,
483
483
  ref: (T) => m(T, P),
484
484
  "data-index": P,
485
- class: $e([{ separator: v.separator }]),
486
- style: vs(d.value ? { "max-width": `${g.maxMenuWidth}px` } : {}),
487
- title: v.title,
488
- onClick: (T) => M(T, v, g.id),
489
- onPointerenter: (T) => C(T, v, P)
485
+ class: $e([{ separator: x.separator }]),
486
+ style: xs(d.value ? { "max-width": `${g.maxMenuWidth}px` } : {}),
487
+ title: x.title,
488
+ onClick: (T) => M(T, x, g.id),
489
+ onPointerenter: (T) => C(T, x, P)
490
490
  }, [
491
491
  Ne(g.$slots, "item", {
492
- item: v,
492
+ item: x,
493
493
  index: P,
494
494
  menuId: g.id,
495
495
  menuItemId: h,
@@ -498,7 +498,7 @@ const Mf = ["aria-label"], Tf = ["data-index", "title", "onClick", "onPointerent
498
498
  }, () => [
499
499
  Z(Xa, {
500
500
  id: h(P),
501
- item: v,
501
+ item: x,
502
502
  index: P,
503
503
  "use-max-menu-width": !!g.maxMenuWidth,
504
504
  "has-focus": P === g.focusedItemIndex
@@ -526,10 +526,10 @@ const Mf = ["aria-label"], Tf = ["data-index", "title", "onClick", "onPointerent
526
526
  index: -1
527
527
  };
528
528
  const S = s.value.getEnabledListItems();
529
- let v = S.map(({ index: Ee }) => Ee).indexOf(M);
530
- v === -1 && g === -1 && (v = 0);
529
+ let x = S.map(({ index: Ee }) => Ee).indexOf(M);
530
+ x === -1 && g === -1 && (x = 0);
531
531
  const P = Zd(
532
- v + g,
532
+ x + g,
533
533
  S.length
534
534
  ), { element: T, index: z, onClick: j } = S[P];
535
535
  return s.value.scrollTo(T), { index: z, onClick: j };
@@ -584,13 +584,13 @@ const Mf = ["aria-label"], Tf = ["data-index", "title", "onClick", "onPointerent
584
584
  "menu-aria-label": r.menuAriaLabel,
585
585
  "focused-item-index": V(c),
586
586
  "clipping-boundary": M.clippingBoundary,
587
- onKeydown: g[5] || (g[5] = (v) => r.registerKeydown && b(v)),
588
- onItemClick: g[6] || (g[6] = (...v) => M.$emit("item-click", ...v)),
589
- onItemHovered: g[7] || (g[7] = (...v) => y(...v)),
590
- onItemFocused: g[8] || (g[8] = (...v) => M.$emit("item-focused", ...v))
587
+ onKeydown: g[5] || (g[5] = (x) => r.registerKeydown && b(x)),
588
+ onItemClick: g[6] || (g[6] = (...x) => M.$emit("item-click", ...x)),
589
+ onItemHovered: g[7] || (g[7] = (...x) => y(...x)),
590
+ onItemFocused: g[8] || (g[8] = (...x) => M.$emit("item-focused", ...x))
591
591
  }), {
592
592
  item: q(({
593
- item: v,
593
+ item: x,
594
594
  menuId: P,
595
595
  menuItemId: T,
596
596
  index: z,
@@ -599,18 +599,18 @@ const Mf = ["aria-label"], Tf = ["data-index", "title", "onClick", "onPointerent
599
599
  }) => [
600
600
  Z(Xa, {
601
601
  id: T(z),
602
- item: v,
602
+ item: x,
603
603
  index: z,
604
604
  "use-max-menu-width": !!j,
605
605
  "has-focus": z === Ee,
606
606
  class: "base-item"
607
607
  }, {
608
608
  submenu: q(({ itemElement: se }) => [
609
- v.children && v.children.length ? (N(), H("span", {
609
+ x.children && x.children.length ? (N(), H("span", {
610
610
  key: 0,
611
611
  class: $e([
612
612
  "sub-menu-indicator",
613
- { highlight: C(v) }
613
+ { highlight: C(x) }
614
614
  ])
615
615
  }, [
616
616
  Z(V(Xd), { class: "icon" }),
@@ -620,8 +620,8 @@ const Mf = ["aria-label"], Tf = ["data-index", "title", "onClick", "onPointerent
620
620
  ref_key: "subLevelItems",
621
621
  ref: l,
622
622
  class: "menu-items-sub-level",
623
- "menu-aria-label": `${v.text} sub menu`,
624
- items: v.children,
623
+ "menu-aria-label": `${x.text} sub menu`,
624
+ items: x.children,
625
625
  "max-menu-width": j,
626
626
  "position-relative-to-element": se,
627
627
  "clipping-boundary": M.clippingBoundary,
@@ -674,6 +674,10 @@ const Mf = ["aria-label"], Tf = ["data-index", "title", "onClick", "onPointerent
674
674
  type: String,
675
675
  default: ""
676
676
  },
677
+ maxHeight: {
678
+ type: String,
679
+ default: ""
680
+ },
677
681
  /**
678
682
  * Alignment of the submenu with the menu button left or right. Defaults to 'right'.
679
683
  */
@@ -772,6 +776,13 @@ const Mf = ["aria-label"], Tf = ["data-index", "title", "onClick", "onPointerent
772
776
  activeDescendant: void 0
773
777
  };
774
778
  },
779
+ computed: {
780
+ maxHeightStyle() {
781
+ return {
782
+ ...this.maxHeight ? { "max-height": this.maxHeight } : {}
783
+ };
784
+ }
785
+ },
775
786
  methods: {
776
787
  toggleMenu(n) {
777
788
  if (this.disabled)
@@ -835,7 +846,7 @@ function Lf(n, e, t, r, i, s) {
835
846
  }, [
836
847
  ja(L("div", {
837
848
  ref: "menuWrapper",
838
- style: vs(r.menuWrapperFloatingStyles),
849
+ style: xs({ ...r.menuWrapperFloatingStyles, ...s.maxHeightStyle }),
839
850
  class: $e(["menu-wrapper", { disabled: t.disabled }])
840
851
  }, [
841
852
  r.expanded ? (N(), ne(l, nr({
@@ -858,7 +869,7 @@ function Lf(n, e, t, r, i, s) {
858
869
  ], 8, ["to", "disabled"]))
859
870
  ], 42, Rf);
860
871
  }
861
- const Pf = /* @__PURE__ */ Ve(Df, [["render", Lf], ["__scopeId", "data-v-6ab15d08"]]), Bf = {
872
+ const Pf = /* @__PURE__ */ Ve(Df, [["render", Lf], ["__scopeId", "data-v-78af385f"]]), Bf = {
862
873
  xmlns: "http://www.w3.org/2000/svg",
863
874
  fill: "none",
864
875
  stroke: "#000",
@@ -1153,7 +1164,7 @@ function ec(n, e, t, r) {
1153
1164
  t -= a, r -= a;
1154
1165
  }
1155
1166
  }
1156
- class x {
1167
+ class v {
1157
1168
  /**
1158
1169
  @internal
1159
1170
  */
@@ -1208,7 +1219,7 @@ class x {
1208
1219
  let t = this.lastChild, r = e.firstChild, i = this.content.slice(), s = 0;
1209
1220
  for (t.isText && t.sameMarkup(r) && (i[i.length - 1] = t.withText(t.text + r.text), s = 1); s < e.content.length; s++)
1210
1221
  i.push(e.content[s]);
1211
- return new x(i, this.size + e.size);
1222
+ return new v(i, this.size + e.size);
1212
1223
  }
1213
1224
  /**
1214
1225
  Cut out the sub-fragment between the two given positions.
@@ -1222,13 +1233,13 @@ class x {
1222
1233
  let l = this.content[s], a = o + l.nodeSize;
1223
1234
  a > e && ((o < e || a > t) && (l.isText ? l = l.cut(Math.max(0, e - o), Math.min(l.text.length, t - o)) : l = l.cut(Math.max(0, e - o - 1), Math.min(l.content.size, t - o - 1))), r.push(l), i += l.nodeSize), o = a;
1224
1235
  }
1225
- return new x(r, i);
1236
+ return new v(r, i);
1226
1237
  }
1227
1238
  /**
1228
1239
  @internal
1229
1240
  */
1230
1241
  cutByIndex(e, t) {
1231
- return e == t ? x.empty : e == 0 && t == this.content.length ? this : new x(this.content.slice(e, t));
1242
+ return e == t ? v.empty : e == 0 && t == this.content.length ? this : new v(this.content.slice(e, t));
1232
1243
  }
1233
1244
  /**
1234
1245
  Create a new fragment in which the node at the given index is
@@ -1239,21 +1250,21 @@ class x {
1239
1250
  if (r == t)
1240
1251
  return this;
1241
1252
  let i = this.content.slice(), s = this.size + t.nodeSize - r.nodeSize;
1242
- return i[e] = t, new x(i, s);
1253
+ return i[e] = t, new v(i, s);
1243
1254
  }
1244
1255
  /**
1245
1256
  Create a new fragment by prepending the given node to this
1246
1257
  fragment.
1247
1258
  */
1248
1259
  addToStart(e) {
1249
- return new x([e].concat(this.content), this.size + e.nodeSize);
1260
+ return new v([e].concat(this.content), this.size + e.nodeSize);
1250
1261
  }
1251
1262
  /**
1252
1263
  Create a new fragment by appending the given node to this
1253
1264
  fragment.
1254
1265
  */
1255
1266
  addToEnd(e) {
1256
- return new x(this.content.concat(e), this.size + e.nodeSize);
1267
+ return new v(this.content.concat(e), this.size + e.nodeSize);
1257
1268
  }
1258
1269
  /**
1259
1270
  Compare this fragment to another one.
@@ -1368,10 +1379,10 @@ class x {
1368
1379
  */
1369
1380
  static fromJSON(e, t) {
1370
1381
  if (!t)
1371
- return x.empty;
1382
+ return v.empty;
1372
1383
  if (!Array.isArray(t))
1373
1384
  throw new RangeError("Invalid input for Fragment.fromJSON");
1374
- return new x(t.map(e.nodeFromJSON));
1385
+ return new v(t.map(e.nodeFromJSON));
1375
1386
  }
1376
1387
  /**
1377
1388
  Build a fragment from an array of nodes. Ensures that adjacent
@@ -1379,13 +1390,13 @@ class x {
1379
1390
  */
1380
1391
  static fromArray(e) {
1381
1392
  if (!e.length)
1382
- return x.empty;
1393
+ return v.empty;
1383
1394
  let t, r = 0;
1384
1395
  for (let i = 0; i < e.length; i++) {
1385
1396
  let s = e[i];
1386
1397
  r += s.nodeSize, i && s.isText && e[i - 1].sameMarkup(s) ? (t || (t = e.slice(0, i)), t[t.length - 1] = s.withText(t[t.length - 1].text + s.text)) : t && t.push(s);
1387
1398
  }
1388
- return new x(t || e, r);
1399
+ return new v(t || e, r);
1389
1400
  }
1390
1401
  /**
1391
1402
  Create a fragment from something that can be interpreted as a
@@ -1395,17 +1406,17 @@ class x {
1395
1406
  */
1396
1407
  static from(e) {
1397
1408
  if (!e)
1398
- return x.empty;
1399
- if (e instanceof x)
1409
+ return v.empty;
1410
+ if (e instanceof v)
1400
1411
  return e;
1401
1412
  if (Array.isArray(e))
1402
1413
  return this.fromArray(e);
1403
1414
  if (e.attrs)
1404
- return new x([e], e.nodeSize);
1415
+ return new v([e], e.nodeSize);
1405
1416
  throw new RangeError("Can not convert " + e + " to a Fragment" + (e.nodesBetween ? " (looks like multiple versions of prosemirror-model were loaded)" : ""));
1406
1417
  }
1407
1418
  }
1408
- x.empty = new x([], 0);
1419
+ v.empty = new v([], 0);
1409
1420
  const Vi = { index: 0, offset: 0 };
1410
1421
  function fr(n, e) {
1411
1422
  return Vi.index = n, Vi.offset = e, Vi;
@@ -1434,7 +1445,7 @@ function Nr(n, e) {
1434
1445
  }
1435
1446
  return !0;
1436
1447
  }
1437
- let K = class xs {
1448
+ let K = class vs {
1438
1449
  /**
1439
1450
  @internal
1440
1451
  */
@@ -1532,8 +1543,8 @@ let K = class xs {
1532
1543
  */
1533
1544
  static setFrom(e) {
1534
1545
  if (!e || Array.isArray(e) && e.length == 0)
1535
- return xs.none;
1536
- if (e instanceof xs)
1546
+ return vs.none;
1547
+ if (e instanceof vs)
1537
1548
  return [e];
1538
1549
  let t = e.slice();
1539
1550
  return t.sort((r, i) => r.type.rank - i.type.rank), t;
@@ -1607,7 +1618,7 @@ class E {
1607
1618
  let r = t.openStart || 0, i = t.openEnd || 0;
1608
1619
  if (typeof r != "number" || typeof i != "number")
1609
1620
  throw new RangeError("Invalid input for Slice.fromJSON");
1610
- return new E(x.fromJSON(e, t.content), r, i);
1621
+ return new E(v.fromJSON(e, t.content), r, i);
1611
1622
  }
1612
1623
  /**
1613
1624
  Create a slice from a fragment by taking the maximum possible
@@ -1622,7 +1633,7 @@ class E {
1622
1633
  return new E(e, r, i);
1623
1634
  }
1624
1635
  }
1625
- E.empty = new E(x.empty, 0, 0);
1636
+ E.empty = new E(v.empty, 0, 0);
1626
1637
  function tc(n, e, t) {
1627
1638
  let { index: r, offset: i } = n.findIndex(e), s = n.maybeChild(r), { index: o, offset: l } = n.findIndex(t);
1628
1639
  if (i == e || s.isText) {
@@ -1687,7 +1698,7 @@ function jt(n, e) {
1687
1698
  }
1688
1699
  function sc(n, e, t, r, i) {
1689
1700
  let s = n.depth > i && ws(n, e, i + 1), o = r.depth > i && ws(t, r, i + 1), l = [];
1690
- return An(null, n, i, l), s && o && e.index(i) == t.index(i) ? (ic(s, o), Vt(jt(s, sc(n, e, t, r, i + 1)), l)) : (s && Vt(jt(s, Dr(n, e, i + 1)), l), An(e, t, i, l), o && Vt(jt(o, Dr(t, r, i + 1)), l)), An(r, null, i, l), new x(l);
1701
+ return An(null, n, i, l), s && o && e.index(i) == t.index(i) ? (ic(s, o), Vt(jt(s, sc(n, e, t, r, i + 1)), l)) : (s && Vt(jt(s, Dr(n, e, i + 1)), l), An(e, t, i, l), o && Vt(jt(o, Dr(t, r, i + 1)), l)), An(r, null, i, l), new v(l);
1691
1702
  }
1692
1703
  function Dr(n, e, t) {
1693
1704
  let r = [];
@@ -1695,12 +1706,12 @@ function Dr(n, e, t) {
1695
1706
  let i = ws(n, e, t + 1);
1696
1707
  Vt(jt(i, Dr(n, e, t + 1)), r);
1697
1708
  }
1698
- return An(e, null, t, r), new x(r);
1709
+ return An(e, null, t, r), new v(r);
1699
1710
  }
1700
1711
  function _f(n, e) {
1701
1712
  let t = e.depth - n.openStart, i = e.node(t).copy(n.content);
1702
1713
  for (let s = t - 1; s >= 0; s--)
1703
- i = e.node(s).copy(x.from(i));
1714
+ i = e.node(s).copy(v.from(i));
1704
1715
  return {
1705
1716
  start: i.resolveNoCache(n.openStart + t),
1706
1717
  end: i.resolveNoCache(i.content.size - n.openEnd - t)
@@ -2005,7 +2016,7 @@ let St = class Ss {
2005
2016
  @internal
2006
2017
  */
2007
2018
  constructor(e, t, r, i = K.none) {
2008
- this.type = e, this.attrs = t, this.marks = i, this.content = r || x.empty;
2019
+ this.type = e, this.attrs = t, this.marks = i, this.content = r || v.empty;
2009
2020
  }
2010
2021
  /**
2011
2022
  The array of this node's child nodes.
@@ -2294,7 +2305,7 @@ let St = class Ss {
2294
2305
  can optionally pass `start` and `end` indices into the
2295
2306
  replacement fragment.
2296
2307
  */
2297
- canReplace(e, t, r = x.empty, i = 0, s = r.childCount) {
2308
+ canReplace(e, t, r = v.empty, i = 0, s = r.childCount) {
2298
2309
  let o = this.contentMatchAt(e).matchFragment(r, i, s), l = o && o.matchFragment(this.content, t);
2299
2310
  if (!l || !l.validEnd)
2300
2311
  return !1;
@@ -2365,7 +2376,7 @@ let St = class Ss {
2365
2376
  throw new RangeError("Invalid text node in JSON");
2366
2377
  return e.text(t.text, r);
2367
2378
  }
2368
- let i = x.fromJSON(e, t.content), s = e.nodeType(t.type).create(t.attrs, i, r);
2379
+ let i = v.fromJSON(e, t.content), s = e.nodeType(t.type).create(t.attrs, i, r);
2369
2380
  return s.type.checkAttrs(s.attrs), s;
2370
2381
  }
2371
2382
  };
@@ -2493,7 +2504,7 @@ class qt {
2493
2504
  function s(o, l) {
2494
2505
  let a = o.matchFragment(e, r);
2495
2506
  if (a && (!t || a.validEnd))
2496
- return x.from(l.map((c) => c.createAndFill()));
2507
+ return v.from(l.map((c) => c.createAndFill()));
2497
2508
  for (let c = 0; c < o.next.length; c++) {
2498
2509
  let { type: u, next: d } = o.next[c];
2499
2510
  if (!(u.isText || u.hasRequiredAttrs()) && i.indexOf(d) == -1) {
@@ -2876,7 +2887,7 @@ let ul = class hc {
2876
2887
  create(e = null, t, r) {
2877
2888
  if (this.isText)
2878
2889
  throw new Error("NodeType.create can't construct text nodes");
2879
- return new St(this, this.computeAttrs(e), x.from(t), K.setFrom(r));
2890
+ return new St(this, this.computeAttrs(e), v.from(t), K.setFrom(r));
2880
2891
  }
2881
2892
  /**
2882
2893
  Like [`create`](https://prosemirror.net/docs/ref/#model.NodeType.create), but check the given content
@@ -2884,7 +2895,7 @@ let ul = class hc {
2884
2895
  if it doesn't match.
2885
2896
  */
2886
2897
  createChecked(e = null, t, r) {
2887
- return t = x.from(t), this.checkContent(t), new St(this, this.computeAttrs(e), t, K.setFrom(r));
2898
+ return t = v.from(t), this.checkContent(t), new St(this, this.computeAttrs(e), t, K.setFrom(r));
2888
2899
  }
2889
2900
  /**
2890
2901
  Like [`create`](https://prosemirror.net/docs/ref/#model.NodeType.create), but see if it is
@@ -2895,13 +2906,13 @@ let ul = class hc {
2895
2906
  `Fragment.empty` as content.
2896
2907
  */
2897
2908
  createAndFill(e = null, t, r) {
2898
- if (e = this.computeAttrs(e), t = x.from(t), t.size) {
2909
+ if (e = this.computeAttrs(e), t = v.from(t), t.size) {
2899
2910
  let o = this.contentMatch.fillBefore(t);
2900
2911
  if (!o)
2901
2912
  return null;
2902
2913
  t = o.append(t);
2903
2914
  }
2904
- let i = this.contentMatch.matchFragment(t), s = i && i.fillBefore(x.empty, !0);
2915
+ let i = this.contentMatch.matchFragment(t), s = i && i.fillBefore(v.empty, !0);
2905
2916
  return s ? new St(this, e, t.append(s), K.setFrom(r)) : null;
2906
2917
  }
2907
2918
  /**
@@ -3305,7 +3316,7 @@ class hr {
3305
3316
  if (!this.match) {
3306
3317
  if (!this.type)
3307
3318
  return [];
3308
- let t = this.type.contentMatch.fillBefore(x.from(e));
3319
+ let t = this.type.contentMatch.fillBefore(v.from(e));
3309
3320
  if (t)
3310
3321
  this.match = this.type.contentMatch.matchFragment(t);
3311
3322
  else {
@@ -3323,8 +3334,8 @@ class hr {
3323
3334
  r.text.length == i[0].length ? this.content.pop() : this.content[this.content.length - 1] = s.withText(s.text.slice(0, s.text.length - i[0].length));
3324
3335
  }
3325
3336
  }
3326
- let t = x.from(this.content);
3327
- return !e && this.match && (t = t.append(this.match.fillBefore(x.empty, !0))), this.type ? this.type.create(this.attrs, t, this.marks) : t;
3337
+ let t = v.from(this.content);
3338
+ return !e && this.match && (t = t.append(this.match.fillBefore(v.empty, !0))), this.type ? this.type.create(this.attrs, t, this.marks) : t;
3328
3339
  }
3329
3340
  inlineContext(e) {
3330
3341
  return this.type ? this.type.inlineContent : this.content.length ? this.content[0].isInline : e.parentNode && !mc.hasOwnProperty(e.parentNode.nodeName.toLowerCase());
@@ -3823,7 +3834,7 @@ function bl(n) {
3823
3834
  function fh(n) {
3824
3835
  return (n - (n & yc)) / bc;
3825
3836
  }
3826
- const kc = 1, vc = 2, Mr = 4, xc = 8;
3837
+ const kc = 1, xc = 2, Mr = 4, vc = 8;
3827
3838
  class Ms {
3828
3839
  /**
3829
3840
  @internal
@@ -3837,7 +3848,7 @@ class Ms {
3837
3848
  argument from the document.
3838
3849
  */
3839
3850
  get deleted() {
3840
- return (this.delInfo & xc) > 0;
3851
+ return (this.delInfo & vc) > 0;
3841
3852
  }
3842
3853
  /**
3843
3854
  Tells you whether the token before the mapped position was deleted.
@@ -3849,7 +3860,7 @@ class Ms {
3849
3860
  True when the token after the mapped position was deleted.
3850
3861
  */
3851
3862
  get deletedAfter() {
3852
- return (this.delInfo & (vc | Mr)) > 0;
3863
+ return (this.delInfo & (xc | Mr)) > 0;
3853
3864
  }
3854
3865
  /**
3855
3866
  Tells whether any of the steps mapped through deletes across the
@@ -3900,8 +3911,8 @@ class Oe {
3900
3911
  let f = c ? e == a ? -1 : e == d ? 1 : t : t, h = a + i + (f < 0 ? 0 : u);
3901
3912
  if (r)
3902
3913
  return h;
3903
- let p = e == (t < 0 ? a : d) ? null : dh(l / 3, e - a), m = e == a ? vc : e == d ? kc : Mr;
3904
- return (t < 0 ? e != a : e != d) && (m |= xc), new Ms(h, m, p);
3914
+ let p = e == (t < 0 ? a : d) ? null : dh(l / 3, e - a), m = e == a ? xc : e == d ? kc : Mr;
3915
+ return (t < 0 ? e != a : e != d) && (m |= vc), new Ms(h, m, p);
3905
3916
  }
3906
3917
  i += u - c;
3907
3918
  }
@@ -4146,7 +4157,7 @@ function Zs(n, e, t) {
4146
4157
  let s = n.child(i);
4147
4158
  s.content.size && (s = s.copy(Zs(s.content, e, s))), s.isInline && (s = e(s, t, i)), r.push(s);
4148
4159
  }
4149
- return x.fromArray(r);
4160
+ return v.fromArray(r);
4150
4161
  }
4151
4162
  class kt extends ke {
4152
4163
  /**
@@ -4226,7 +4237,7 @@ class Ye extends ke {
4226
4237
  }
4227
4238
  }
4228
4239
  ke.jsonID("removeMark", Ye);
4229
- class vt extends ke {
4240
+ class xt extends ke {
4230
4241
  /**
4231
4242
  Create a node mark step.
4232
4243
  */
@@ -4238,7 +4249,7 @@ class vt extends ke {
4238
4249
  if (!t)
4239
4250
  return te.fail("No node at mark step's position");
4240
4251
  let r = t.type.create(t.attrs, null, this.mark.addToSet(t.marks));
4241
- return te.fromReplace(e, this.pos, this.pos + 1, new E(x.from(r), 0, t.isLeaf ? 0 : 1));
4252
+ return te.fromReplace(e, this.pos, this.pos + 1, new E(v.from(r), 0, t.isLeaf ? 0 : 1));
4242
4253
  }
4243
4254
  invert(e) {
4244
4255
  let t = e.nodeAt(this.pos);
@@ -4247,15 +4258,15 @@ class vt extends ke {
4247
4258
  if (r.length == t.marks.length) {
4248
4259
  for (let i = 0; i < t.marks.length; i++)
4249
4260
  if (!t.marks[i].isInSet(r))
4250
- return new vt(this.pos, t.marks[i]);
4251
- return new vt(this.pos, this.mark);
4261
+ return new xt(this.pos, t.marks[i]);
4262
+ return new xt(this.pos, this.mark);
4252
4263
  }
4253
4264
  }
4254
4265
  return new Jt(this.pos, this.mark);
4255
4266
  }
4256
4267
  map(e) {
4257
4268
  let t = e.mapResult(this.pos, 1);
4258
- return t.deletedAfter ? null : new vt(t.pos, this.mark);
4269
+ return t.deletedAfter ? null : new xt(t.pos, this.mark);
4259
4270
  }
4260
4271
  toJSON() {
4261
4272
  return { stepType: "addNodeMark", pos: this.pos, mark: this.mark.toJSON() };
@@ -4266,10 +4277,10 @@ class vt extends ke {
4266
4277
  static fromJSON(e, t) {
4267
4278
  if (typeof t.pos != "number")
4268
4279
  throw new RangeError("Invalid input for AddNodeMarkStep.fromJSON");
4269
- return new vt(t.pos, e.markFromJSON(t.mark));
4280
+ return new xt(t.pos, e.markFromJSON(t.mark));
4270
4281
  }
4271
4282
  }
4272
- ke.jsonID("addNodeMark", vt);
4283
+ ke.jsonID("addNodeMark", xt);
4273
4284
  class Jt extends ke {
4274
4285
  /**
4275
4286
  Create a mark-removing step.
@@ -4282,11 +4293,11 @@ class Jt extends ke {
4282
4293
  if (!t)
4283
4294
  return te.fail("No node at mark step's position");
4284
4295
  let r = t.type.create(t.attrs, null, this.mark.removeFromSet(t.marks));
4285
- return te.fromReplace(e, this.pos, this.pos + 1, new E(x.from(r), 0, t.isLeaf ? 0 : 1));
4296
+ return te.fromReplace(e, this.pos, this.pos + 1, new E(v.from(r), 0, t.isLeaf ? 0 : 1));
4286
4297
  }
4287
4298
  invert(e) {
4288
4299
  let t = e.nodeAt(this.pos);
4289
- return !t || !this.mark.isInSet(t.marks) ? this : new vt(this.pos, this.mark);
4300
+ return !t || !this.mark.isInSet(t.marks) ? this : new xt(this.pos, this.mark);
4290
4301
  }
4291
4302
  map(e) {
4292
4303
  let t = e.mapResult(this.pos, 1);
@@ -4481,13 +4492,13 @@ function eo(n, e, t, r = t.contentMatch, i = !0) {
4481
4492
  if (i && c.isText && t.whitespace != "pre") {
4482
4493
  let f, h = /\r?\n|\r/g, p;
4483
4494
  for (; f = h.exec(c.text); )
4484
- p || (p = new E(x.from(t.schema.text(" ", t.allowedMarks(c.marks))), 0, 0)), o.push(new oe(l + f.index, l + f.index + f[0].length, p));
4495
+ p || (p = new E(v.from(t.schema.text(" ", t.allowedMarks(c.marks))), 0, 0)), o.push(new oe(l + f.index, l + f.index + f[0].length, p));
4485
4496
  }
4486
4497
  }
4487
4498
  l = u;
4488
4499
  }
4489
4500
  if (!r.validEnd) {
4490
- let a = r.fillBefore(x.empty, !0);
4501
+ let a = r.fillBefore(v.empty, !0);
4491
4502
  n.replace(l, l, new E(a, 0, 0));
4492
4503
  }
4493
4504
  for (let a = o.length - 1; a >= 0; a--)
@@ -4508,12 +4519,12 @@ function kn(n) {
4508
4519
  return null;
4509
4520
  }
4510
4521
  function gh(n, e, t) {
4511
- let { $from: r, $to: i, depth: s } = e, o = r.before(s + 1), l = i.after(s + 1), a = o, c = l, u = x.empty, d = 0;
4522
+ let { $from: r, $to: i, depth: s } = e, o = r.before(s + 1), l = i.after(s + 1), a = o, c = l, u = v.empty, d = 0;
4512
4523
  for (let p = s, m = !1; p > t; p--)
4513
- m || r.index(p) > 0 ? (m = !0, u = x.from(r.node(p).copy(u)), d++) : a--;
4514
- let f = x.empty, h = 0;
4524
+ m || r.index(p) > 0 ? (m = !0, u = v.from(r.node(p).copy(u)), d++) : a--;
4525
+ let f = v.empty, h = 0;
4515
4526
  for (let p = s, m = !1; p > t; p--)
4516
- m || i.after(p + 1) < i.end(p) ? (m = !0, f = x.from(i.node(p).copy(f)), h++) : c++;
4527
+ m || i.after(p + 1) < i.end(p) ? (m = !0, f = v.from(i.node(p).copy(f)), h++) : c++;
4517
4528
  n.step(new le(a, c, o, l, new E(u.append(f), d, h), u.size - d, !0));
4518
4529
  }
4519
4530
  function to(n, e, t = null, r = n) {
@@ -4540,25 +4551,25 @@ function bh(n, e) {
4540
4551
  return !a || !a.validEnd ? null : o;
4541
4552
  }
4542
4553
  function kh(n, e, t) {
4543
- let r = x.empty;
4554
+ let r = v.empty;
4544
4555
  for (let o = t.length - 1; o >= 0; o--) {
4545
4556
  if (r.size) {
4546
4557
  let l = t[o].type.contentMatch.matchFragment(r);
4547
4558
  if (!l || !l.validEnd)
4548
4559
  throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper");
4549
4560
  }
4550
- r = x.from(t[o].type.create(t[o].attrs, r));
4561
+ r = v.from(t[o].type.create(t[o].attrs, r));
4551
4562
  }
4552
4563
  let i = e.start, s = e.end;
4553
4564
  n.step(new le(i, s, i, s, new E(r, 0, 0), t.length, !0));
4554
4565
  }
4555
- function vh(n, e, t, r, i) {
4566
+ function xh(n, e, t, r, i) {
4556
4567
  if (!r.isTextblock)
4557
4568
  throw new RangeError("Type given to setBlockType should be a textblock");
4558
4569
  let s = n.steps.length;
4559
4570
  n.doc.nodesBetween(e, t, (o, l) => {
4560
4571
  let a = typeof i == "function" ? i(o) : i;
4561
- if (o.isTextblock && !o.hasMarkup(r, a) && xh(n.doc, n.mapping.slice(s).map(l), r)) {
4572
+ if (o.isTextblock && !o.hasMarkup(r, a) && vh(n.doc, n.mapping.slice(s).map(l), r)) {
4562
4573
  let c = null;
4563
4574
  if (r.schema.linebreakReplacement) {
4564
4575
  let h = r.whitespace == "pre", p = !!r.contentMatch.matchType(r.schema.linebreakReplacement);
@@ -4566,7 +4577,7 @@ function vh(n, e, t, r, i) {
4566
4577
  }
4567
4578
  c === !1 && Sc(n, o, l, s), eo(n, n.mapping.slice(s).map(l, 1), r, void 0, c === null);
4568
4579
  let u = n.mapping.slice(s), d = u.map(l, 1), f = u.map(l + o.nodeSize, 1);
4569
- return n.step(new le(d, f, d + 1, f - 1, new E(x.from(r.create(a, null, o.marks)), 0, 0), 1, !0)), c === !0 && wc(n, o, l, s), !1;
4580
+ return n.step(new le(d, f, d + 1, f - 1, new E(v.from(r.create(a, null, o.marks)), 0, 0), 1, !0)), c === !0 && wc(n, o, l, s), !1;
4570
4581
  }
4571
4582
  });
4572
4583
  }
@@ -4590,7 +4601,7 @@ function Sc(n, e, t, r) {
4590
4601
  }
4591
4602
  });
4592
4603
  }
4593
- function xh(n, e, t) {
4604
+ function vh(n, e, t) {
4594
4605
  let r = n.resolve(e), i = r.index();
4595
4606
  return r.parent.canReplaceWith(i, i + 1, t);
4596
4607
  }
@@ -4604,7 +4615,7 @@ function wh(n, e, t, r, i) {
4604
4615
  return n.replaceWith(e, e + s.nodeSize, o);
4605
4616
  if (!t.validContent(s.content))
4606
4617
  throw new RangeError("Invalid content for node type " + t.name);
4607
- n.step(new le(e, e + s.nodeSize, e + 1, e + s.nodeSize - 1, new E(x.from(o), 0, 0), 1, !0));
4618
+ n.step(new le(e, e + s.nodeSize, e + 1, e + s.nodeSize - 1, new E(v.from(o), 0, 0), 1, !0));
4608
4619
  }
4609
4620
  function ut(n, e, t = 1, r) {
4610
4621
  let i = n.resolve(e), s = i.depth - t, o = r && r[r.length - 1] || i.parent;
@@ -4624,11 +4635,11 @@ function ut(n, e, t = 1, r) {
4624
4635
  return i.node(s).canReplaceWith(l, l, a ? a.type : i.node(s + 1).type);
4625
4636
  }
4626
4637
  function Sh(n, e, t = 1, r) {
4627
- let i = n.doc.resolve(e), s = x.empty, o = x.empty;
4638
+ let i = n.doc.resolve(e), s = v.empty, o = v.empty;
4628
4639
  for (let l = i.depth, a = i.depth - t, c = t - 1; l > a; l--, c--) {
4629
- s = x.from(i.node(l).copy(s));
4640
+ s = v.from(i.node(l).copy(s));
4630
4641
  let u = r && r[c];
4631
- o = x.from(u ? u.type.create(u.attrs, o) : i.node(l).copy(o));
4642
+ o = v.from(u ? u.type.create(u.attrs, o) : i.node(l).copy(o));
4632
4643
  }
4633
4644
  n.step(new oe(e, e, new E(s.append(o), t, t), !0));
4634
4645
  }
@@ -4649,7 +4660,7 @@ function Ch(n, e) {
4649
4660
  function Cc(n, e) {
4650
4661
  return !!(n && e && !n.isLeaf && Ch(n, e));
4651
4662
  }
4652
- function vi(n, e, t = -1) {
4663
+ function xi(n, e, t = -1) {
4653
4664
  let r = n.resolve(e);
4654
4665
  for (let i = r.depth; ; i--) {
4655
4666
  let s, o, l = r.index(i);
@@ -4722,7 +4733,7 @@ function Mc(n, e, t) {
4722
4733
  }
4723
4734
  return null;
4724
4735
  }
4725
- function xi(n, e, t = e, r = E.empty) {
4736
+ function vi(n, e, t = e, r = E.empty) {
4726
4737
  if (e == t && !r.size)
4727
4738
  return null;
4728
4739
  let i = n.resolve(e), s = n.resolve(t);
@@ -4733,7 +4744,7 @@ function Tc(n, e, t) {
4733
4744
  }
4734
4745
  class Eh {
4735
4746
  constructor(e, t, r) {
4736
- this.$from = e, this.$to = t, this.unplaced = r, this.frontier = [], this.placed = x.empty;
4747
+ this.$from = e, this.$to = t, this.unplaced = r, this.frontier = [], this.placed = v.empty;
4737
4748
  for (let i = 0; i <= e.depth; i++) {
4738
4749
  let s = e.node(i);
4739
4750
  this.frontier.push({
@@ -4742,7 +4753,7 @@ class Eh {
4742
4753
  });
4743
4754
  }
4744
4755
  for (let i = e.depth; i > 0; i--)
4745
- this.placed = x.from(e.node(i).copy(this.placed));
4756
+ this.placed = v.from(e.node(i).copy(this.placed));
4746
4757
  }
4747
4758
  get depth() {
4748
4759
  return this.frontier.length - 1;
@@ -4781,7 +4792,7 @@ class Eh {
4781
4792
  let o = i.firstChild;
4782
4793
  for (let l = this.depth; l >= 0; l--) {
4783
4794
  let { type: a, match: c } = this.frontier[l], u, d = null;
4784
- if (t == 1 && (o ? c.matchType(o.type) || (d = c.fillBefore(x.from(o), !1)) : s && a.compatibleContent(s.type)))
4795
+ if (t == 1 && (o ? c.matchType(o.type) || (d = c.fillBefore(v.from(o), !1)) : s && a.compatibleContent(s.type)))
4785
4796
  return { sliceDepth: r, frontierDepth: l, parent: s, inject: d };
4786
4797
  if (t == 2 && o && (u = c.findWrapping(o.type)))
4787
4798
  return { sliceDepth: r, frontierDepth: l, parent: s, wrap: u };
@@ -4825,7 +4836,7 @@ class Eh {
4825
4836
  c++, (c > 1 || a == 0 || m.content.size) && (d = y, u.push(Ec(m.mark(f.allowedMarks(m.marks)), c == 1 ? a : 0, c == l.childCount ? h : -1)));
4826
4837
  }
4827
4838
  let p = c == l.childCount;
4828
- p || (h = -1), this.placed = Tn(this.placed, t, x.from(u)), this.frontier[t].match = d, p && h < 0 && r && r.type == this.frontier[this.depth].type && this.frontier.length > 1 && this.closeFrontierNode();
4839
+ p || (h = -1), this.placed = Tn(this.placed, t, v.from(u)), this.frontier[t].match = d, p && h < 0 && r && r.type == this.frontier[this.depth].type && this.frontier.length > 1 && this.closeFrontierNode();
4829
4840
  for (let m = 0, y = l; m < h; m++) {
4830
4841
  let b = y.lastChild;
4831
4842
  this.frontier.push({ type: b.type, match: b.contentMatchAt(b.childCount) }), y = b.content;
@@ -4871,10 +4882,10 @@ class Eh {
4871
4882
  }
4872
4883
  openFrontierNode(e, t = null, r) {
4873
4884
  let i = this.frontier[this.depth];
4874
- i.match = i.match.matchType(e), this.placed = Tn(this.placed, this.depth, x.from(e.create(t, r))), this.frontier.push({ type: e, match: e.contentMatch });
4885
+ i.match = i.match.matchType(e), this.placed = Tn(this.placed, this.depth, v.from(e.create(t, r))), this.frontier.push({ type: e, match: e.contentMatch });
4875
4886
  }
4876
4887
  closeFrontierNode() {
4877
- let t = this.frontier.pop().match.fillBefore(x.empty, !0);
4888
+ let t = this.frontier.pop().match.fillBefore(v.empty, !0);
4878
4889
  t.childCount && (this.placed = Tn(this.placed, this.frontier.length, t));
4879
4890
  }
4880
4891
  }
@@ -4893,7 +4904,7 @@ function Ec(n, e, t) {
4893
4904
  if (e <= 0)
4894
4905
  return n;
4895
4906
  let r = n.content;
4896
- return e > 1 && (r = r.replaceChild(0, Ec(r.firstChild, e - 1, r.childCount == 1 ? t - 1 : 0))), e > 0 && (r = n.type.contentMatch.fillBefore(r).append(r), t <= 0 && (r = r.append(n.type.contentMatch.matchFragment(r).fillBefore(x.empty, !0)))), n.copy(r);
4907
+ return e > 1 && (r = r.replaceChild(0, Ec(r.firstChild, e - 1, r.childCount == 1 ? t - 1 : 0))), e > 0 && (r = n.type.contentMatch.fillBefore(r).append(r), t <= 0 && (r = r.append(n.type.contentMatch.matchFragment(r).fillBefore(v.empty, !0)))), n.copy(r);
4897
4908
  }
4898
4909
  function Ki(n, e, t, r, i) {
4899
4910
  let s = n.node(e), o = i ? n.indexAfter(e) : n.index(e);
@@ -4965,7 +4976,7 @@ function Oc(n, e, t, r, i) {
4965
4976
  }
4966
4977
  if (e > r) {
4967
4978
  let s = i.contentMatchAt(0), o = s.fillBefore(n).append(n);
4968
- n = o.append(s.matchFragment(o).fillBefore(x.empty, !0));
4979
+ n = o.append(s.matchFragment(o).fillBefore(v.empty, !0));
4969
4980
  }
4970
4981
  return n;
4971
4982
  }
@@ -4974,7 +4985,7 @@ function Ih(n, e, t, r) {
4974
4985
  let i = Th(n.doc, e, r.type);
4975
4986
  i != null && (e = t = i);
4976
4987
  }
4977
- n.replaceRange(e, t, new E(x.from(r), 0, 0));
4988
+ n.replaceRange(e, t, new E(v.from(r), 0, 0));
4978
4989
  }
4979
4990
  function Dh(n, e, t) {
4980
4991
  let r = n.doc.resolve(e), i = n.doc.resolve(t), s = Ac(r, i);
@@ -5016,7 +5027,7 @@ class fn extends ke {
5016
5027
  r[s] = t.attrs[s];
5017
5028
  r[this.attr] = this.value;
5018
5029
  let i = t.type.create(r, null, t.marks);
5019
- return te.fromReplace(e, this.pos, this.pos + 1, new E(x.from(i), 0, t.isLeaf ? 0 : 1));
5030
+ return te.fromReplace(e, this.pos, this.pos + 1, new E(v.from(i), 0, t.isLeaf ? 0 : 1));
5020
5031
  }
5021
5032
  getMap() {
5022
5033
  return Oe.empty;
@@ -5130,7 +5141,7 @@ class Nc {
5130
5141
  given `slice`.
5131
5142
  */
5132
5143
  replace(e, t = e, r = E.empty) {
5133
- let i = xi(this.doc, e, t, r);
5144
+ let i = vi(this.doc, e, t, r);
5134
5145
  return i && this.step(i), this;
5135
5146
  }
5136
5147
  /**
@@ -5138,7 +5149,7 @@ class Nc {
5138
5149
  fragment, node, or array of nodes.
5139
5150
  */
5140
5151
  replaceWith(e, t, r) {
5141
- return this.replace(e, t, new E(x.from(r), 0, 0));
5152
+ return this.replace(e, t, new E(v.from(r), 0, 0));
5142
5153
  }
5143
5154
  /**
5144
5155
  Delete the content between the given positions.
@@ -5223,7 +5234,7 @@ class Nc {
5223
5234
  the given node type with the given attributes.
5224
5235
  */
5225
5236
  setBlockType(e, t = e, r, i = null) {
5226
- return vh(this, e, t, r, i), this;
5237
+ return xh(this, e, t, r, i), this;
5227
5238
  }
5228
5239
  /**
5229
5240
  Change the type, attributes, and/or marks of the node at `pos`.
@@ -5250,7 +5261,7 @@ class Nc {
5250
5261
  Add a mark to the node at position `pos`.
5251
5262
  */
5252
5263
  addNodeMark(e, t) {
5253
- return this.step(new vt(e, t)), this;
5264
+ return this.step(new xt(e, t)), this;
5254
5265
  }
5255
5266
  /**
5256
5267
  Remove a mark (or all marks of the given type) from the node at
@@ -5480,16 +5491,16 @@ class Rh {
5480
5491
  this.$from = e, this.$to = t;
5481
5492
  }
5482
5493
  }
5483
- let vl = !1;
5484
- function xl(n) {
5485
- !vl && !n.parent.inlineContent && (vl = !0, console.warn("TextSelection endpoint not pointing into a node with inline content (" + n.parent.type.name + ")"));
5494
+ let xl = !1;
5495
+ function vl(n) {
5496
+ !xl && !n.parent.inlineContent && (xl = !0, console.warn("TextSelection endpoint not pointing into a node with inline content (" + n.parent.type.name + ")"));
5486
5497
  }
5487
5498
  class R extends B {
5488
5499
  /**
5489
5500
  Construct a text selection between the given points.
5490
5501
  */
5491
5502
  constructor(e, t = e) {
5492
- xl(e), xl(t), super(e, t);
5503
+ vl(e), vl(t), super(e, t);
5493
5504
  }
5494
5505
  /**
5495
5506
  Returns a resolved position if this is a cursor selection (an
@@ -5581,7 +5592,7 @@ class I extends B {
5581
5592
  return r ? B.near(s) : new I(s);
5582
5593
  }
5583
5594
  content() {
5584
- return new E(x.from(this.node), 0, 0);
5595
+ return new E(v.from(this.node), 0, 0);
5585
5596
  }
5586
5597
  eq(e) {
5587
5598
  return e instanceof I && e.anchor == this.anchor;
@@ -6230,7 +6241,7 @@ function _h(n, e, t) {
6230
6241
  }
6231
6242
  const Xe = typeof navigator < "u" ? navigator : null, El = typeof document < "u" ? document : null, Nt = Xe && Xe.userAgent || "", Os = /Edge\/(\d+)/.exec(Nt), Rc = /MSIE \d/.exec(Nt), As = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Nt), Me = !!(Rc || As || Os), Mt = Rc ? document.documentMode : As ? +As[1] : Os ? +Os[1] : 0, _e = !Me && /gecko\/(\d+)/i.test(Nt);
6232
6243
  _e && +(/Firefox\/(\d+)/.exec(Nt) || [0, 0])[1];
6233
- const Ns = !Me && /Chrome\/(\d+)/.exec(Nt), be = !!Ns, Lc = Ns ? +Ns[1] : 0, xe = !Me && !!Xe && /Apple Computer/.test(Xe.vendor), gn = xe && (/Mobile\/\w+/.test(Nt) || !!Xe && Xe.maxTouchPoints > 2), Be = gn || (Xe ? /Mac/.test(Xe.platform) : !1), Wh = Xe ? /Win/.test(Xe.platform) : !1, at = /Android \d/.test(Nt), or = !!El && "webkitFontSmoothing" in El.documentElement.style, Kh = or ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
6244
+ const Ns = !Me && /Chrome\/(\d+)/.exec(Nt), be = !!Ns, Lc = Ns ? +Ns[1] : 0, ve = !Me && !!Xe && /Apple Computer/.test(Xe.vendor), gn = ve && (/Mobile\/\w+/.test(Nt) || !!Xe && Xe.maxTouchPoints > 2), Be = gn || (Xe ? /Mac/.test(Xe.platform) : !1), Wh = Xe ? /Win/.test(Xe.platform) : !1, at = /Android \d/.test(Nt), or = !!El && "webkitFontSmoothing" in El.documentElement.style, Kh = or ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
6234
6245
  function Uh(n) {
6235
6246
  let e = n.defaultView && n.defaultView.visualViewport;
6236
6247
  return e ? {
@@ -6416,7 +6427,7 @@ function tp(n, e) {
6416
6427
  if (!ro(e, c) || (o = Fc(n.dom, e, c), !o))
6417
6428
  return null;
6418
6429
  }
6419
- if (xe)
6430
+ if (ve)
6420
6431
  for (let c = o; r && c; c = mn(c))
6421
6432
  c.draggable && (r = void 0);
6422
6433
  if (o = Qh(o, e), r) {
@@ -6824,7 +6835,7 @@ class lr {
6824
6835
  p = y;
6825
6836
  }
6826
6837
  let l = this.domFromPos(e, e ? -1 : 1), a = t == e ? l : this.domFromPos(t, t ? -1 : 1), c = r.root.getSelection(), u = r.domSelectionRange(), d = !1;
6827
- if ((_e || xe) && e == t) {
6838
+ if ((_e || ve) && e == t) {
6828
6839
  let { node: h, offset: p } = l;
6829
6840
  if (h.nodeType == 3) {
6830
6841
  if (d = !!(p && h.nodeValue[p - 1] == `
@@ -6847,7 +6858,7 @@ class lr {
6847
6858
  let h = u.focusNode.childNodes[u.focusOffset];
6848
6859
  h && h.contentEditable == "false" && (i = !0);
6849
6860
  }
6850
- if (!(i || d && xe) && Gt(l.node, l.offset, u.anchorNode, u.anchorOffset) && Gt(a.node, a.offset, u.focusNode, u.focusOffset))
6861
+ if (!(i || d && ve) && Gt(l.node, l.offset, u.anchorNode, u.anchorOffset) && Gt(a.node, a.offset, u.focusNode, u.focusOffset))
6851
6862
  return;
6852
6863
  let f = !1;
6853
6864
  if ((c.extend || e == t) && !d) {
@@ -7051,7 +7062,7 @@ class Tt extends lr {
7051
7062
  break;
7052
7063
  }
7053
7064
  }
7054
- e.contentElement || (e.getContent = () => x.empty);
7065
+ e.contentElement || (e.getContent = () => v.empty);
7055
7066
  }
7056
7067
  return e;
7057
7068
  }
@@ -7452,7 +7463,7 @@ class up {
7452
7463
  for (; e instanceof Yt; )
7453
7464
  t = e, e = t.children[t.children.length - 1];
7454
7465
  (!e || // Empty textblock
7455
- !(e instanceof Ci) || /\n$/.test(e.node.text) || this.view.requiresGeckoHackNode && /\s$/.test(e.node.text)) && ((xe || be) && e && e.dom.contentEditable == "false" && this.addHackNode("IMG", t), this.addHackNode("BR", this.top));
7466
+ !(e instanceof Ci) || /\n$/.test(e.node.text) || this.view.requiresGeckoHackNode && /\s$/.test(e.node.text)) && ((ve || be) && e && e.dom.contentEditable == "false" && this.addHackNode("IMG", t), this.addHackNode("BR", this.top));
7456
7467
  }
7457
7468
  addHackNode(e, t) {
7458
7469
  if (t == this.top && this.index < t.children.length && t.children[this.index].matchesHack(e))
@@ -7644,10 +7655,10 @@ function dt(n, e = !1) {
7644
7655
  n.domObserver.setCurSelection(), n.domObserver.connectSelection();
7645
7656
  }
7646
7657
  }
7647
- const Bl = xe || be && Lc < 63;
7658
+ const Bl = ve || be && Lc < 63;
7648
7659
  function zl(n, e) {
7649
7660
  let { node: t, offset: r } = n.docView.domFromPos(e, 0), i = r < t.childNodes.length ? t.childNodes[r] : null, s = r ? t.childNodes[r - 1] : null;
7650
- if (xe && i && i.contentEditable == "false")
7661
+ if (ve && i && i.contentEditable == "false")
7651
7662
  return Yi(i);
7652
7663
  if ((!i || i.contentEditable == "false") && (!s || s.contentEditable == "false")) {
7653
7664
  if (i)
@@ -7657,7 +7668,7 @@ function zl(n, e) {
7657
7668
  }
7658
7669
  }
7659
7670
  function Yi(n) {
7660
- return n.contentEditable = "true", xe && n.draggable && (n.draggable = !1, n.wasDraggable = !0), n;
7671
+ return n.contentEditable = "true", ve && n.draggable && (n.draggable = !1, n.wasDraggable = !0), n;
7661
7672
  }
7662
7673
  function Fl(n) {
7663
7674
  n.contentEditable = "false", n.wasDraggable && (n.draggable = !0, n.wasDraggable = null);
@@ -7754,7 +7765,7 @@ function Dn(n, e) {
7754
7765
  return t && t.size == 0 && (e < 0 || n.nextSibling || n.nodeName != "BR");
7755
7766
  }
7756
7767
  function rn(n, e) {
7757
- return e < 0 ? kp(n) : vp(n);
7768
+ return e < 0 ? kp(n) : xp(n);
7758
7769
  }
7759
7770
  function kp(n) {
7760
7771
  let e = n.domSelectionRange(), t = e.focusNode, r = e.focusOffset;
@@ -7792,7 +7803,7 @@ function kp(n) {
7792
7803
  }
7793
7804
  o ? Ls(n, t, r) : i && Ls(n, i, s);
7794
7805
  }
7795
- function vp(n) {
7806
+ function xp(n) {
7796
7807
  let e = n.domSelectionRange(), t = e.focusNode, r = e.focusOffset;
7797
7808
  if (!t)
7798
7809
  return;
@@ -7828,7 +7839,7 @@ function Gc(n) {
7828
7839
  let e = n.pmViewDesc;
7829
7840
  return e && e.node && e.node.isBlock;
7830
7841
  }
7831
- function xp(n, e) {
7842
+ function vp(n, e) {
7832
7843
  for (; n && e == n.childNodes.length && !sr(n); )
7833
7844
  e = he(n) + 1, n = n.parentNode;
7834
7845
  for (; n && e < n.childNodes.length; ) {
@@ -7855,7 +7866,7 @@ function wp(n, e) {
7855
7866
  function Ls(n, e, t) {
7856
7867
  if (e.nodeType != 3) {
7857
7868
  let s, o;
7858
- (o = xp(e, t)) ? (e = o, t = 0) : (s = wp(e, t)) && (e = s, t = s.nodeValue.length);
7869
+ (o = vp(e, t)) ? (e = o, t = 0) : (s = wp(e, t)) && (e = s, t = s.nodeValue.length);
7859
7870
  }
7860
7871
  let r = n.domSelection();
7861
7872
  if (!r)
@@ -7924,7 +7935,7 @@ function Kl(n, e, t) {
7924
7935
  n.domObserver.stop(), e.contentEditable = t, n.domObserver.start();
7925
7936
  }
7926
7937
  function Sp(n) {
7927
- if (!xe || n.state.selection.$head.parentOffset > 0)
7938
+ if (!ve || n.state.selection.$head.parentOffset > 0)
7928
7939
  return !1;
7929
7940
  let { focusNode: e, focusOffset: t } = n.domSelectionRange();
7930
7941
  if (e && e.nodeType == 1 && t == 0 && e.firstChild && e.firstChild.contentEditable == "false") {
@@ -7998,7 +8009,7 @@ function Yc(n, e, t, r, i) {
7998
8009
  if (n.someProp("transformPastedText", (f) => {
7999
8010
  e = f(e, s || r, n);
8000
8011
  }), s)
8001
- return e ? new E(x.from(n.state.schema.text(e.replace(/\r\n?/g, `
8012
+ return e ? new E(v.from(n.state.schema.text(e.replace(/\r\n?/g, `
8002
8013
  `))), 0, 0) : E.empty;
8003
8014
  let d = n.someProp("clipboardTextParser", (f) => f(e, i, r, n));
8004
8015
  if (d)
@@ -8064,13 +8075,13 @@ function Ep(n, e) {
8064
8075
  o.push(u), i = i.matchType(u.type), s = a;
8065
8076
  }
8066
8077
  }), o)
8067
- return x.from(o);
8078
+ return v.from(o);
8068
8079
  }
8069
8080
  return n;
8070
8081
  }
8071
8082
  function Xc(n, e, t = 0) {
8072
8083
  for (let r = e.length - 1; r >= t; r--)
8073
- n = e[r].create(null, x.from(n));
8084
+ n = e[r].create(null, v.from(n));
8074
8085
  return n;
8075
8086
  }
8076
8087
  function Qc(n, e, t, r, i) {
@@ -8079,18 +8090,18 @@ function Qc(n, e, t, r, i) {
8079
8090
  if (s)
8080
8091
  return r.copy(r.content.replaceChild(r.childCount - 1, s));
8081
8092
  if (r.contentMatchAt(r.childCount).matchType(i == n.length - 1 ? t.type : n[i + 1]))
8082
- return r.copy(r.content.append(x.from(Xc(t, n, i + 1))));
8093
+ return r.copy(r.content.append(v.from(Xc(t, n, i + 1))));
8083
8094
  }
8084
8095
  }
8085
8096
  function Zc(n, e) {
8086
8097
  if (e == 0)
8087
8098
  return n;
8088
- let t = n.content.replaceChild(n.childCount - 1, Zc(n.lastChild, e - 1)), r = n.contentMatchAt(n.childCount).fillBefore(x.empty, !0);
8099
+ let t = n.content.replaceChild(n.childCount - 1, Zc(n.lastChild, e - 1)), r = n.contentMatchAt(n.childCount).fillBefore(v.empty, !0);
8089
8100
  return n.copy(t.append(r));
8090
8101
  }
8091
8102
  function Ps(n, e, t, r, i, s) {
8092
8103
  let o = e < 0 ? n.firstChild : n.lastChild, l = o.content;
8093
- return n.childCount > 1 && (s = 0), i < r - 1 && (l = Ps(l, e, t, r, i + 1, s)), i >= t && (l = e < 0 ? o.contentMatchAt(0).fillBefore(l, s <= i).append(l) : l.append(o.contentMatchAt(o.childCount).fillBefore(x.empty, !0))), n.replaceChild(e < 0 ? 0 : n.childCount - 1, o.copy(l));
8104
+ return n.childCount > 1 && (s = 0), i < r - 1 && (l = Ps(l, e, t, r, i + 1, s)), i >= t && (l = e < 0 ? o.contentMatchAt(0).fillBefore(l, s <= i).append(l) : l.append(o.contentMatchAt(o.childCount).fillBefore(v.empty, !0))), n.replaceChild(e < 0 ? 0 : n.childCount - 1, o.copy(l));
8094
8105
  }
8095
8106
  function Ul(n, e, t) {
8096
8107
  return e < n.openStart && (n = new E(Ps(n.content, -1, e, n.openStart, 0, n.openEnd), e, n.openEnd)), t < n.openEnd && (n = new E(Ps(n.content, 1, t, n.openEnd, 0, 0), n.openStart, t)), n;
@@ -8145,7 +8156,7 @@ function Ip(n, e) {
8145
8156
  let a = t.nodes[r[l]];
8146
8157
  if (!a || a.hasRequiredAttrs())
8147
8158
  break;
8148
- i = x.from(a.create(r[l + 1], i)), s++, o++;
8159
+ i = v.from(a.create(r[l + 1], i)), s++, o++;
8149
8160
  }
8150
8161
  return new E(i, s, o);
8151
8162
  }
@@ -8162,9 +8173,9 @@ function Lp(n) {
8162
8173
  Bp(n, r) && !lo(n, r) && (n.editable || !(r.type in Se)) && t(n, r);
8163
8174
  }, Dp[e] ? { passive: !0 } : void 0);
8164
8175
  }
8165
- xe && n.dom.addEventListener("input", () => null), Bs(n);
8176
+ ve && n.dom.addEventListener("input", () => null), Bs(n);
8166
8177
  }
8167
- function xt(n, e) {
8178
+ function vt(n, e) {
8168
8179
  n.input.lastSelectionOrigin = e, n.input.lastSelectionTime = Date.now();
8169
8180
  }
8170
8181
  function Pp(n) {
@@ -8206,7 +8217,7 @@ Se.keydown = (n, e) => {
8206
8217
  n.input.lastIOSEnter = r, n.input.lastIOSEnterFallbackTimeout = setTimeout(() => {
8207
8218
  n.input.lastIOSEnter == r && (n.someProp("handleKeyDown", (i) => i(n, Pt(13, "Enter"))), n.input.lastIOSEnter = 0);
8208
8219
  }, 200);
8209
- } else n.someProp("handleKeyDown", (r) => r(n, t)) || Mp(n, t) ? t.preventDefault() : xt(n, "key");
8220
+ } else n.someProp("handleKeyDown", (r) => r(n, t)) || Mp(n, t) ? t.preventDefault() : vt(n, "key");
8210
8221
  };
8211
8222
  Se.keyup = (n, e) => {
8212
8223
  e.keyCode == 16 && (n.input.shiftKey = !1);
@@ -8305,7 +8316,7 @@ we.mousedown = (n, e) => {
8305
8316
  let r = co(n), i = Date.now(), s = "singleClick";
8306
8317
  i - n.input.lastClick.time < 500 && Fp(t, n.input.lastClick) && !t[nu] && n.input.lastClick.button == t.button && (n.input.lastClick.type == "singleClick" ? s = "doubleClick" : n.input.lastClick.type == "doubleClick" && (s = "tripleClick")), n.input.lastClick = { time: i, x: t.clientX, y: t.clientY, type: s, button: t.button };
8307
8318
  let o = n.posAtCoords(Mi(t));
8308
- o && (s == "singleClick" ? (n.input.mouseDown && n.input.mouseDown.done(), n.input.mouseDown = new Kp(n, o, t, !!r)) : (s == "doubleClick" ? jp : _p)(n, o.pos, o.inside, t) ? t.preventDefault() : xt(n, "pointer"));
8319
+ o && (s == "singleClick" ? (n.input.mouseDown && n.input.mouseDown.done(), n.input.mouseDown = new Kp(n, o, t, !!r)) : (s == "doubleClick" ? jp : _p)(n, o.pos, o.inside, t) ? t.preventDefault() : vt(n, "pointer"));
8309
8320
  };
8310
8321
  class Kp {
8311
8322
  constructor(e, t, r, i) {
@@ -8327,7 +8338,7 @@ class Kp {
8327
8338
  setUneditable: !!(this.target && _e && !this.target.hasAttribute("contentEditable"))
8328
8339
  }), this.target && this.mightDrag && (this.mightDrag.addAttr || this.mightDrag.setUneditable) && (this.view.domObserver.stop(), this.mightDrag.addAttr && (this.target.draggable = !0), this.mightDrag.setUneditable && setTimeout(() => {
8329
8340
  this.view.input.mouseDown == this && this.target.setAttribute("contentEditable", "false");
8330
- }, 20), this.view.domObserver.start()), e.root.addEventListener("mouseup", this.up = this.up.bind(this)), e.root.addEventListener("mousemove", this.move = this.move.bind(this)), xt(e, "pointer");
8341
+ }, 20), this.view.domObserver.start()), e.root.addEventListener("mouseup", this.up = this.up.bind(this)), e.root.addEventListener("mousemove", this.move = this.move.bind(this)), vt(e, "pointer");
8331
8342
  }
8332
8343
  done() {
8333
8344
  this.view.root.removeEventListener("mouseup", this.up), this.view.root.removeEventListener("mousemove", this.move), this.mightDrag && this.target && (this.view.domObserver.stop(), this.mightDrag.addAttr && this.target.removeAttribute("draggable"), this.mightDrag.setUneditable && this.target.removeAttribute("contentEditable"), this.view.domObserver.start()), this.delayedSelectionSync && setTimeout(() => dt(this.view)), this.view.input.mouseDown = null;
@@ -8336,32 +8347,32 @@ class Kp {
8336
8347
  if (this.done(), !this.view.dom.contains(e.target))
8337
8348
  return;
8338
8349
  let t = this.pos;
8339
- this.view.state.doc != this.startDoc && (t = this.view.posAtCoords(Mi(e))), this.updateAllowDefault(e), this.allowDefault || !t ? xt(this.view, "pointer") : Vp(this.view, t.pos, t.inside, e, this.selectNode) ? e.preventDefault() : e.button == 0 && (this.flushed || // Safari ignores clicks on draggable elements
8340
- xe && this.mightDrag && !this.mightDrag.node.isAtom || // Chrome will sometimes treat a node selection as a
8350
+ this.view.state.doc != this.startDoc && (t = this.view.posAtCoords(Mi(e))), this.updateAllowDefault(e), this.allowDefault || !t ? vt(this.view, "pointer") : Vp(this.view, t.pos, t.inside, e, this.selectNode) ? e.preventDefault() : e.button == 0 && (this.flushed || // Safari ignores clicks on draggable elements
8351
+ ve && this.mightDrag && !this.mightDrag.node.isAtom || // Chrome will sometimes treat a node selection as a
8341
8352
  // cursor, but still report that the node is selected
8342
8353
  // when asked through getSelection. You'll then get a
8343
8354
  // situation where clicking at the point where that
8344
8355
  // (hidden) cursor is doesn't change the selection, and
8345
8356
  // thus doesn't get a reaction from ProseMirror. This
8346
8357
  // works around that.
8347
- be && !this.view.state.selection.visible && Math.min(Math.abs(t.pos - this.view.state.selection.from), Math.abs(t.pos - this.view.state.selection.to)) <= 2) ? (hn(this.view, B.near(this.view.state.doc.resolve(t.pos))), e.preventDefault()) : xt(this.view, "pointer");
8358
+ be && !this.view.state.selection.visible && Math.min(Math.abs(t.pos - this.view.state.selection.from), Math.abs(t.pos - this.view.state.selection.to)) <= 2) ? (hn(this.view, B.near(this.view.state.doc.resolve(t.pos))), e.preventDefault()) : vt(this.view, "pointer");
8348
8359
  }
8349
8360
  move(e) {
8350
- this.updateAllowDefault(e), xt(this.view, "pointer"), e.buttons == 0 && this.done();
8361
+ this.updateAllowDefault(e), vt(this.view, "pointer"), e.buttons == 0 && this.done();
8351
8362
  }
8352
8363
  updateAllowDefault(e) {
8353
8364
  !this.allowDefault && (Math.abs(this.event.x - e.clientX) > 4 || Math.abs(this.event.y - e.clientY) > 4) && (this.allowDefault = !0);
8354
8365
  }
8355
8366
  }
8356
8367
  we.touchstart = (n) => {
8357
- n.input.lastTouch = Date.now(), co(n), xt(n, "pointer");
8368
+ n.input.lastTouch = Date.now(), co(n), vt(n, "pointer");
8358
8369
  };
8359
8370
  we.touchmove = (n) => {
8360
- n.input.lastTouch = Date.now(), xt(n, "pointer");
8371
+ n.input.lastTouch = Date.now(), vt(n, "pointer");
8361
8372
  };
8362
8373
  we.contextmenu = (n) => co(n);
8363
8374
  function ru(n, e) {
8364
- return n.composing ? !0 : xe && Math.abs(e.timeStamp - n.input.compositionEndedAt) < 500 ? (n.input.compositionEndedAt = -2e8, !0) : !1;
8375
+ return n.composing ? !0 : ve && Math.abs(e.timeStamp - n.input.compositionEndedAt) < 500 ? (n.input.compositionEndedAt = -2e8, !0) : !1;
8365
8376
  }
8366
8377
  const Up = at ? 5e3 : -1;
8367
8378
  Se.compositionstart = Se.compositionupdate = (n) => {
@@ -9316,10 +9327,10 @@ function cm(n) {
9316
9327
  if (e)
9317
9328
  return e.parseRule();
9318
9329
  if (n.nodeName == "BR" && n.parentNode) {
9319
- if (xe && /^(ul|ol)$/i.test(n.parentNode.nodeName)) {
9330
+ if (ve && /^(ul|ol)$/i.test(n.parentNode.nodeName)) {
9320
9331
  let t = document.createElement("div");
9321
9332
  return t.appendChild(document.createElement("li")), { skip: t };
9322
- } else if (n.parentNode.lastChild == n || xe && /^(tr|table)$/i.test(n.parentNode.nodeName))
9333
+ } else if (n.parentNode.lastChild == n || ve && /^(tr|table)$/i.test(n.parentNode.nodeName))
9323
9334
  return { ignore: !0 };
9324
9335
  } else if (n.nodeName == "IMG" && n.getAttribute("mark-placeholder"))
9325
9336
  return { ignore: !0 };
@@ -9375,7 +9386,7 @@ function dm(n, e, t, r, i) {
9375
9386
  return T(n, Pt(13, "Enter"));
9376
9387
  });
9377
9388
  }, 20));
9378
- let g = p.start, S = p.endA, v = (T) => {
9389
+ let g = p.start, S = p.endA, x = (T) => {
9379
9390
  let z = T || n.state.tr.replace(g, S, c.doc.slice(p.start - c.from, p.endB - c.from));
9380
9391
  if (c.sel) {
9381
9392
  let j = Ql(n, z.doc, c.sel);
@@ -9386,20 +9397,20 @@ function dm(n, e, t, r, i) {
9386
9397
  if (C) {
9387
9398
  if (m.pos == y.pos) {
9388
9399
  Me && Mt <= 11 && m.parentOffset == 0 && (n.domObserver.suppressSelectionUpdates(), setTimeout(() => dt(n), 20));
9389
- let T = v(n.state.tr.delete(g, S)), z = u.resolve(p.start).marksAcross(u.resolve(p.endA));
9400
+ let T = x(n.state.tr.delete(g, S)), z = u.resolve(p.start).marksAcross(u.resolve(p.endA));
9390
9401
  z && T.ensureMarks(z), n.dispatch(T);
9391
9402
  } else if (
9392
9403
  // Adding or removing a mark
9393
9404
  p.endA == p.endB && (P = fm(m.parent.content.cut(m.parentOffset, y.parentOffset), b.parent.content.cut(b.parentOffset, p.endA - b.start())))
9394
9405
  ) {
9395
- let T = v(n.state.tr);
9406
+ let T = x(n.state.tr);
9396
9407
  P.type == "add" ? T.addMark(g, S, P.mark) : T.removeMark(g, S, P.mark), n.dispatch(T);
9397
9408
  } else if (m.parent.child(m.index()).isText && m.index() == y.index() - (y.textOffset ? 0 : 1)) {
9398
- let T = m.parent.textBetween(m.parentOffset, y.parentOffset), z = () => v(n.state.tr.insertText(T, g, S));
9409
+ let T = m.parent.textBetween(m.parentOffset, y.parentOffset), z = () => x(n.state.tr.insertText(T, g, S));
9399
9410
  n.someProp("handleTextInput", (j) => j(n, g, S, T, z)) || n.dispatch(z());
9400
9411
  }
9401
9412
  } else
9402
- n.dispatch(v());
9413
+ n.dispatch(x());
9403
9414
  }
9404
9415
  function Ql(n, e, t) {
9405
9416
  return Math.max(t.anchor, t.head) > e.content.size ? null : so(n, e.resolve(t.anchor), e.resolve(t.head));
@@ -9419,7 +9430,7 @@ function fm(n, e) {
9419
9430
  let c = [];
9420
9431
  for (let u = 0; u < e.childCount; u++)
9421
9432
  c.push(a(e.child(u)));
9422
- if (x.from(c).eq(n))
9433
+ if (v.from(c).eq(n))
9423
9434
  return { mark: l, type: o };
9424
9435
  }
9425
9436
  function hm(n, e, t, r, i) {
@@ -9797,7 +9808,7 @@ class fu {
9797
9808
  */
9798
9809
  domSelectionRange() {
9799
9810
  let e = this.domSelection();
9800
- return e ? xe && this.root.nodeType === 11 && jh(this.dom.ownerDocument) == this.dom && om(this, e) || e : { focusNode: null, focusOffset: 0, anchorNode: null, anchorOffset: 0 };
9811
+ return e ? ve && this.root.nodeType === 11 && jh(this.dom.ownerDocument) == this.dom && om(this, e) || e : { focusNode: null, focusOffset: 0, anchorNode: null, anchorOffset: 0 };
9801
9812
  }
9802
9813
  /**
9803
9814
  @internal
@@ -9943,7 +9954,7 @@ function km(n) {
9943
9954
  var e = ym && n.metaKey && n.shiftKey && !n.ctrlKey && !n.altKey || bm && n.shiftKey && n.key && n.key.length == 1 || n.key == "Unidentified", t = !e && n.key || (n.shiftKey ? Hr : Ot)[n.keyCode] || n.key || "Unidentified";
9944
9955
  return t == "Esc" && (t = "Escape"), t == "Del" && (t = "Delete"), t == "Left" && (t = "ArrowLeft"), t == "Up" && (t = "ArrowUp"), t == "Right" && (t = "ArrowRight"), t == "Down" && (t = "ArrowDown"), t;
9945
9956
  }
9946
- const vm = typeof navigator < "u" && /Mac|iP(hone|[oa]d)/.test(navigator.platform), xm = typeof navigator < "u" && /Win/.test(navigator.platform);
9957
+ const xm = typeof navigator < "u" && /Mac|iP(hone|[oa]d)/.test(navigator.platform), vm = typeof navigator < "u" && /Win/.test(navigator.platform);
9947
9958
  function wm(n) {
9948
9959
  let e = n.split(/-(?!$)/), t = e[e.length - 1];
9949
9960
  t == "Space" && (t = " ");
@@ -9959,7 +9970,7 @@ function wm(n) {
9959
9970
  else if (/^s(hift)?$/i.test(a))
9960
9971
  s = !0;
9961
9972
  else if (/^mod$/i.test(a))
9962
- vm ? o = !0 : i = !0;
9973
+ xm ? o = !0 : i = !0;
9963
9974
  else
9964
9975
  throw new Error("Unrecognized modifier name: " + a);
9965
9976
  }
@@ -9990,7 +10001,7 @@ function hu(n) {
9990
10001
  return !0;
9991
10002
  }
9992
10003
  if ((r.altKey || r.metaKey || r.ctrlKey) && // Ctrl-Alt may be used for AltGr on Windows
9993
- !(xm && r.ctrlKey && r.altKey) && (s = Ot[r.keyCode]) && s != i) {
10004
+ !(vm && r.ctrlKey && r.altKey) && (s = Ot[r.keyCode]) && s != i) {
9994
10005
  let l = e[ts(s, r)];
9995
10006
  if (l && l(t.state, t.dispatch, t))
9996
10007
  return !0;
@@ -10018,7 +10029,7 @@ const mu = (n, e, t) => {
10018
10029
  return !0;
10019
10030
  if (r.parent.content.size == 0 && (yn(s, "end") || I.isSelectable(s)))
10020
10031
  for (let o = r.depth; ; o--) {
10021
- let l = xi(n.doc, r.before(o), r.after(o), E.empty);
10032
+ let l = vi(n.doc, r.before(o), r.after(o), E.empty);
10022
10033
  if (l && l.slice.size < l.to - l.from) {
10023
10034
  if (e) {
10024
10035
  let a = n.tr.step(l);
@@ -10062,7 +10073,7 @@ function gu(n, e, t) {
10062
10073
  return !1;
10063
10074
  l = u;
10064
10075
  }
10065
- let c = xi(n.doc, s, a, E.empty);
10076
+ let c = vi(n.doc, s, a, E.empty);
10066
10077
  if (!c || c.from != s || c instanceof oe && c.slice.size >= a - s)
10067
10078
  return !1;
10068
10079
  if (t) {
@@ -10117,7 +10128,7 @@ const ku = (n, e, t) => {
10117
10128
  if (Cu(n, i, e, 1))
10118
10129
  return !0;
10119
10130
  if (r.parent.content.size == 0 && (yn(s, "start") || I.isSelectable(s))) {
10120
- let o = xi(n.doc, r.before(), r.after(), E.empty);
10131
+ let o = vi(n.doc, r.before(), r.after(), E.empty);
10121
10132
  if (o && o.slice.size < o.to - o.from) {
10122
10133
  if (e) {
10123
10134
  let l = n.tr.step(o);
@@ -10127,7 +10138,7 @@ const ku = (n, e, t) => {
10127
10138
  }
10128
10139
  }
10129
10140
  return s.isAtom && i.depth == r.depth - 1 ? (e && e(n.tr.delete(i.pos, i.pos + s.nodeSize).scrollIntoView()), !0) : !1;
10130
- }, vu = (n, e, t) => {
10141
+ }, xu = (n, e, t) => {
10131
10142
  let { $head: r, empty: i } = n.selection, s = r;
10132
10143
  if (!i)
10133
10144
  return !1;
@@ -10156,7 +10167,7 @@ const Em = (n, e) => {
10156
10167
  if (t.node.isTextblock || !At(n.doc, t.from))
10157
10168
  return !1;
10158
10169
  i = t.from;
10159
- } else if (i = vi(n.doc, t.from, -1), i == null)
10170
+ } else if (i = xi(n.doc, t.from, -1), i == null)
10160
10171
  return !1;
10161
10172
  if (e) {
10162
10173
  let s = n.tr.join(i);
@@ -10169,13 +10180,13 @@ const Em = (n, e) => {
10169
10180
  if (t.node.isTextblock || !At(n.doc, t.to))
10170
10181
  return !1;
10171
10182
  r = t.to;
10172
- } else if (r = vi(n.doc, t.to, 1), r == null)
10183
+ } else if (r = xi(n.doc, t.to, 1), r == null)
10173
10184
  return !1;
10174
10185
  return e && e(n.tr.join(r).scrollIntoView()), !0;
10175
10186
  }, Am = (n, e) => {
10176
10187
  let { $from: t, $to: r } = n.selection, i = t.blockRange(r), s = i && kn(i);
10177
10188
  return s == null ? !1 : (e && e(n.tr.lift(i, s).scrollIntoView()), !0);
10178
- }, xu = (n, e) => {
10189
+ }, vu = (n, e) => {
10179
10190
  let { $head: t, $anchor: r } = n.selection;
10180
10191
  return !t.parent.type.spec.code || !t.sameParent(r) ? !1 : (e && e(n.tr.insertText(`
10181
10192
  `).scrollIntoView()), !0);
@@ -10268,10 +10279,10 @@ function Cu(n, e, t, r) {
10268
10279
  let c = !a && e.parent.canReplace(e.index(), e.index() + 1);
10269
10280
  if (c && (o = (l = i.contentMatchAt(i.childCount)).findWrapping(s.type)) && l.matchType(o[0] || s.type).validEnd) {
10270
10281
  if (t) {
10271
- let h = e.pos + s.nodeSize, p = x.empty;
10282
+ let h = e.pos + s.nodeSize, p = v.empty;
10272
10283
  for (let b = o.length - 1; b >= 0; b--)
10273
- p = x.from(o[b].create(null, p));
10274
- p = x.from(i.copy(p));
10284
+ p = v.from(o[b].create(null, p));
10285
+ p = v.from(i.copy(p));
10275
10286
  let m = n.tr.step(new le(e.pos - 1, h, e.pos, h, new E(p, 1, 0), o.length, !0)), y = m.doc.resolve(h + 2 * o.length);
10276
10287
  y.nodeAfter && y.nodeAfter.type == i.type && At(m.doc, y.pos) && m.join(y.pos), t(m.scrollIntoView());
10277
10288
  }
@@ -10289,9 +10300,9 @@ function Cu(n, e, t, r) {
10289
10300
  y++;
10290
10301
  if (h.canReplace(h.childCount, h.childCount, m.content)) {
10291
10302
  if (t) {
10292
- let b = x.empty;
10303
+ let b = v.empty;
10293
10304
  for (let M = p.length - 1; M >= 0; M--)
10294
- b = x.from(p[M].copy(b));
10305
+ b = v.from(p[M].copy(b));
10295
10306
  let C = n.tr.step(new le(e.pos - p.length, e.pos + s.nodeSize, e.pos + y, e.pos + s.nodeSize - y, new E(b, p.length, 0), 0, !0));
10296
10307
  t(C.scrollIntoView());
10297
10308
  }
@@ -10357,8 +10368,8 @@ function yo(...n) {
10357
10368
  };
10358
10369
  }
10359
10370
  yo(ho, mu, yu);
10360
- yo(ho, ku, vu);
10361
- yo(xu, wu, Su, Dm);
10371
+ yo(ho, ku, xu);
10372
+ yo(vu, wu, Su, Dm);
10362
10373
  typeof navigator < "u" ? /Mac|iP(hone|[oa]d)/.test(navigator.platform) : typeof os < "u" && os.platform && os.platform() == "darwin";
10363
10374
  function Fm(n, e = null) {
10364
10375
  return function(t, r) {
@@ -10381,9 +10392,9 @@ function $m(n, e, t, r = null) {
10381
10392
  return l ? (n && Hm(n, e, l, i, t), !0) : !1;
10382
10393
  }
10383
10394
  function Hm(n, e, t, r, i) {
10384
- let s = x.empty;
10395
+ let s = v.empty;
10385
10396
  for (let u = t.length - 1; u >= 0; u--)
10386
- s = x.from(t[u].type.create(t[u].attrs, s));
10397
+ s = v.from(t[u].type.create(t[u].attrs, s));
10387
10398
  n.step(new le(e.start - (r ? 2 : 0), e.end, e.start, e.end, new E(s, 0, 0), t.length, !0));
10388
10399
  let o = 0;
10389
10400
  for (let u = 0; u < t.length; u++)
@@ -10401,7 +10412,7 @@ function Vm(n) {
10401
10412
  }
10402
10413
  function jm(n, e, t, r) {
10403
10414
  let i = n.tr, s = r.end, o = r.$to.end(r.depth);
10404
- s < o && (i.step(new le(s - 1, o, s, o, new E(x.from(t.create(null, r.parent.copy())), 1, 0), 1, !0)), r = new Rr(i.doc.resolve(r.$from.pos), i.doc.resolve(o), r.depth));
10415
+ s < o && (i.step(new le(s - 1, o, s, o, new E(v.from(t.create(null, r.parent.copy())), 1, 0), 1, !0)), r = new Rr(i.doc.resolve(r.$from.pos), i.doc.resolve(o), r.depth));
10405
10416
  const l = kn(r);
10406
10417
  if (l == null)
10407
10418
  return !1;
@@ -10417,10 +10428,10 @@ function _m(n, e, t) {
10417
10428
  if (r.mapping.map(t.end) != t.start + s.nodeAfter.nodeSize)
10418
10429
  return !1;
10419
10430
  let l = t.startIndex == 0, a = t.endIndex == i.childCount, c = s.node(-1), u = s.index(-1);
10420
- if (!c.canReplace(u + (l ? 0 : 1), u + 1, o.content.append(a ? x.empty : x.from(i))))
10431
+ if (!c.canReplace(u + (l ? 0 : 1), u + 1, o.content.append(a ? v.empty : v.from(i))))
10421
10432
  return !1;
10422
10433
  let d = s.pos, f = d + o.nodeSize;
10423
- return r.step(new le(d - (l ? 1 : 0), f + (a ? 1 : 0), d + 1, f - 1, new E((l ? x.empty : x.from(i.copy(x.empty))).append(a ? x.empty : x.from(i.copy(x.empty))), l ? 0 : 1, a ? 0 : 1), l ? 0 : 1)), e(r.scrollIntoView()), !0;
10434
+ return r.step(new le(d - (l ? 1 : 0), f + (a ? 1 : 0), d + 1, f - 1, new E((l ? v.empty : v.from(i.copy(v.empty))).append(a ? v.empty : v.from(i.copy(v.empty))), l ? 0 : 1, a ? 0 : 1), l ? 0 : 1)), e(r.scrollIntoView()), !0;
10424
10435
  }
10425
10436
  function Wm(n) {
10426
10437
  return function(e, t) {
@@ -10434,7 +10445,7 @@ function Wm(n) {
10434
10445
  if (a.type != n)
10435
10446
  return !1;
10436
10447
  if (t) {
10437
- let c = a.lastChild && a.lastChild.type == l.type, u = x.from(c ? n.create() : null), d = new E(x.from(n.create(null, x.from(l.type.create(null, u)))), c ? 3 : 1, 0), f = s.start, h = s.end;
10448
+ let c = a.lastChild && a.lastChild.type == l.type, u = v.from(c ? n.create() : null), d = new E(v.from(n.create(null, v.from(l.type.create(null, u)))), c ? 3 : 1, 0), f = s.start, h = s.end;
10438
10449
  t(e.tr.step(new le(f - (c ? 3 : 1), h, f, h, d, 1, !0)).scrollIntoView());
10439
10450
  }
10440
10451
  return !0;
@@ -10868,7 +10879,7 @@ function Xm(n) {
10868
10879
  const a = i.getMeta("applyInputRules");
10869
10880
  return !!a && setTimeout(() => {
10870
10881
  let { text: u } = a;
10871
- typeof u == "string" ? u = u : u = bo(x.from(u), o.schema);
10882
+ typeof u == "string" ? u = u : u = bo(v.from(u), o.schema);
10872
10883
  const { from: d } = a, f = d + u.length;
10873
10884
  mr({
10874
10885
  editor: e,
@@ -11014,12 +11025,12 @@ function ng(n) {
11014
11025
  tg(b, s.find, o).forEach((M) => {
11015
11026
  if (M.index === void 0)
11016
11027
  return;
11017
- const g = m + M.index + 1, S = g + M[0].length, v = {
11028
+ const g = m + M.index + 1, S = g + M[0].length, x = {
11018
11029
  from: t.tr.mapping.map(g),
11019
11030
  to: t.tr.mapping.map(S)
11020
11031
  }, P = s.handler({
11021
11032
  state: t,
11022
- range: v,
11033
+ range: x,
11023
11034
  match: M,
11024
11035
  commands: a,
11025
11036
  chain: c,
@@ -11109,12 +11120,12 @@ function ig(n) {
11109
11120
  return;
11110
11121
  if (C) {
11111
11122
  let { text: S } = b;
11112
- typeof S == "string" ? S = S : S = bo(x.from(S), h.schema);
11113
- const { from: v } = b, P = v + S.length, T = rg(S);
11123
+ typeof S == "string" ? S = S : S = bo(v.from(S), h.schema);
11124
+ const { from: x } = b, P = x + S.length, T = rg(S);
11114
11125
  return a({
11115
11126
  rule: u,
11116
11127
  state: h,
11117
- from: v,
11128
+ from: x,
11118
11129
  to: { b: P },
11119
11130
  pasteEvt: T
11120
11131
  });
@@ -11354,7 +11365,7 @@ function Ou(n, e, t) {
11354
11365
  a.isText && (l += (f = a?.text) === null || f === void 0 ? void 0 : f.slice(Math.max(r, c) - c, i - c));
11355
11366
  }), l;
11356
11367
  }
11357
- function vo(n) {
11368
+ function xo(n) {
11358
11369
  return Object.fromEntries(Object.entries(n.nodes).filter(([, e]) => e.spec.toText).map(([e, t]) => [e, t.spec.toText]));
11359
11370
  }
11360
11371
  const og = re.create({
@@ -11370,7 +11381,7 @@ const og = re.create({
11370
11381
  key: new me("clipboardTextSerializer"),
11371
11382
  props: {
11372
11383
  clipboardTextSerializer: () => {
11373
- const { editor: n } = this, { state: e, schema: t } = n, { doc: r, selection: i } = e, { ranges: s } = i, o = Math.min(...s.map((u) => u.$from.pos)), l = Math.max(...s.map((u) => u.$to.pos)), a = vo(t);
11384
+ const { editor: n } = this, { state: e, schema: t } = n, { doc: r, selection: i } = e, { ranges: s } = i, o = Math.min(...s.map((u) => u.$from.pos)), l = Math.max(...s.map((u) => u.$to.pos)), a = xo(t);
11374
11385
  return Ou(r, { from: o, to: l }, {
11375
11386
  ...this.options.blockSeparator !== void 0 ? { blockSeparator: this.options.blockSeparator } : {},
11376
11387
  textSerializers: a
@@ -11448,7 +11459,7 @@ function Au(n, e, t = {}) {
11448
11459
  function ca(n, e, t = {}) {
11449
11460
  return !!Au(n, e, t);
11450
11461
  }
11451
- function xo(n, e, t) {
11462
+ function vo(n, e, t) {
11452
11463
  var r;
11453
11464
  if (!n || !e)
11454
11465
  return;
@@ -11476,14 +11487,14 @@ function It(n, e) {
11476
11487
  const kg = (n, e = {}) => ({ tr: t, state: r, dispatch: i }) => {
11477
11488
  const s = It(n, r.schema), { doc: o, selection: l } = t, { $from: a, from: c, to: u } = l;
11478
11489
  if (i) {
11479
- const d = xo(a, s, e);
11490
+ const d = vo(a, s, e);
11480
11491
  if (d && d.from <= c && d.to >= u) {
11481
11492
  const f = R.create(o, d.from, d.to);
11482
11493
  t.setSelection(f);
11483
11494
  }
11484
11495
  }
11485
11496
  return !0;
11486
- }, vg = (n) => (e) => {
11497
+ }, xg = (n) => (e) => {
11487
11498
  const t = typeof n == "function" ? n(e) : n;
11488
11499
  for (let r = 0; r < t.length; r += 1)
11489
11500
  if (t[r](e))
@@ -11507,7 +11518,7 @@ function Nu(n, e = null) {
11507
11518
  const i = t.from, s = r.to;
11508
11519
  return e === "all" ? R.create(n, ct(0, i, s), ct(n.content.size, i, s)) : R.create(n, ct(e, i, s), ct(e, i, s));
11509
11520
  }
11510
- function xg() {
11521
+ function vg() {
11511
11522
  return navigator.platform === "Android" || /android/i.test(navigator.userAgent);
11512
11523
  }
11513
11524
  function So() {
@@ -11526,7 +11537,7 @@ const wg = (n = null, e = {}) => ({ editor: t, view: r, tr: i, dispatch: s }) =>
11526
11537
  ...e
11527
11538
  };
11528
11539
  const o = () => {
11529
- (So() || xg()) && r.dom.focus(), requestAnimationFrame(() => {
11540
+ (So() || vg()) && r.dom.focus(), requestAnimationFrame(() => {
11530
11541
  t.isDestroyed || (r.focus(), e?.scrollIntoView && t.commands.scrollIntoView());
11531
11542
  });
11532
11543
  };
@@ -11549,7 +11560,7 @@ function br(n) {
11549
11560
  return Iu(t);
11550
11561
  }
11551
11562
  function Jn(n, e, t) {
11552
- if (n instanceof St || n instanceof x)
11563
+ if (n instanceof St || n instanceof v)
11553
11564
  return n;
11554
11565
  t = {
11555
11566
  slice: !0,
@@ -11560,7 +11571,7 @@ function Jn(n, e, t) {
11560
11571
  if (r)
11561
11572
  try {
11562
11573
  if (Array.isArray(n) && n.length > 0)
11563
- return x.fromArray(n.map((l) => e.nodeFromJSON(l)));
11574
+ return v.fromArray(n.map((l) => e.nodeFromJSON(l)));
11564
11575
  const o = e.nodeFromJSON(n);
11565
11576
  return t.errorOnInvalidContent && o.check(), o;
11566
11577
  } catch (s) {
@@ -11661,7 +11672,7 @@ const Tg = (n) => !("type" in n), Eg = (n, e, t) => ({ tr: r, dispatch: i, edito
11661
11672
  if (f) {
11662
11673
  if (Array.isArray(e))
11663
11674
  m = e.map((y) => y.text || "").join("");
11664
- else if (e instanceof x) {
11675
+ else if (e instanceof v) {
11665
11676
  let y = "";
11666
11677
  e.forEach((b) => {
11667
11678
  b.text && (y += b.text);
@@ -11675,14 +11686,14 @@ const Tg = (n) => !("type" in n), Eg = (n, e, t) => ({ tr: r, dispatch: i, edito
11675
11686
  return !0;
11676
11687
  }, Og = () => ({ state: n, dispatch: e }) => Em(n, e), Ag = () => ({ state: n, dispatch: e }) => Om(n, e), Ng = () => ({ state: n, dispatch: e }) => mu(n, e), Ig = () => ({ state: n, dispatch: e }) => ku(n, e), Dg = () => ({ state: n, dispatch: e, tr: t }) => {
11677
11688
  try {
11678
- const r = vi(n.doc, n.selection.$from.pos, -1);
11689
+ const r = xi(n.doc, n.selection.$from.pos, -1);
11679
11690
  return r == null ? !1 : (t.join(r, 2), e && e(t), !0);
11680
11691
  } catch {
11681
11692
  return !1;
11682
11693
  }
11683
11694
  }, Rg = () => ({ state: n, dispatch: e, tr: t }) => {
11684
11695
  try {
11685
- const r = vi(n.doc, n.selection.$from.pos, 1);
11696
+ const r = xi(n.doc, n.selection.$from.pos, 1);
11686
11697
  return r == null ? !1 : (t.join(r, 2), e && e(t), !0);
11687
11698
  } catch {
11688
11699
  return !1;
@@ -11751,7 +11762,7 @@ const Fg = (n, e = {}) => ({ state: t, dispatch: r }) => {
11751
11762
  }, $g = () => ({ state: n, dispatch: e }) => Su(n, e), Hg = (n) => ({ state: e, dispatch: t }) => {
11752
11763
  const r = ce(n, e.schema);
11753
11764
  return Vm(r)(e, t);
11754
- }, Vg = () => ({ state: n, dispatch: e }) => xu(n, e);
11765
+ }, Vg = () => ({ state: n, dispatch: e }) => vu(n, e);
11755
11766
  function Ii(n, e) {
11756
11767
  return e.nodes[n] ? "node" : e.marks[n] ? "mark" : null;
11757
11768
  }
@@ -11775,7 +11786,7 @@ const jg = (n, e) => ({ tr: t, state: r, dispatch: i }) => {
11775
11786
  n.setSelection(t);
11776
11787
  }
11777
11788
  return !0;
11778
- }, Kg = () => ({ state: n, dispatch: e }) => yu(n, e), Ug = () => ({ state: n, dispatch: e }) => vu(n, e), qg = () => ({ state: n, dispatch: e }) => Rm(n, e), Jg = () => ({ state: n, dispatch: e }) => Bm(n, e), Gg = () => ({ state: n, dispatch: e }) => Pm(n, e);
11789
+ }, Kg = () => ({ state: n, dispatch: e }) => yu(n, e), Ug = () => ({ state: n, dispatch: e }) => xu(n, e), qg = () => ({ state: n, dispatch: e }) => Rm(n, e), Jg = () => ({ state: n, dispatch: e }) => Bm(n, e), Gg = () => ({ state: n, dispatch: e }) => Pm(n, e);
11779
11790
  function Fs(n, e, t = {}, r = {}) {
11780
11791
  return Jn(n, e, {
11781
11792
  slice: !1,
@@ -11907,7 +11918,7 @@ function iy(n) {
11907
11918
  function To(n, e, t) {
11908
11919
  const r = [];
11909
11920
  return n === e ? t.resolve(n).marks().forEach((i) => {
11910
- const s = t.resolve(n), o = xo(s, i.type);
11921
+ const s = t.resolve(n), o = vo(s, i.type);
11911
11922
  o && r.push({
11912
11923
  mark: i,
11913
11924
  ...o
@@ -12118,19 +12129,19 @@ const hy = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: r, edit
12118
12129
  if (a.depth === 2 || a.node(-3).type !== l || a.index(-2) !== a.node(-2).childCount - 1)
12119
12130
  return !1;
12120
12131
  if (i) {
12121
- let b = x.empty;
12132
+ let b = v.empty;
12122
12133
  const C = a.index(-1) ? 1 : a.index(-2) ? 2 : 3;
12123
12134
  for (let T = a.depth - C; T >= a.depth - 3; T -= 1)
12124
- b = x.from(a.node(T).copy(b));
12135
+ b = v.from(a.node(T).copy(b));
12125
12136
  const M = a.indexAfter(-1) < a.node(-2).childCount ? 1 : a.indexAfter(-2) < a.node(-3).childCount ? 2 : 3, g = {
12126
12137
  ...Tr(f, a.node().type.name, a.node().attrs),
12127
12138
  ...e
12128
12139
  }, S = ((o = l.contentMatch.defaultType) === null || o === void 0 ? void 0 : o.createAndFill(g)) || void 0;
12129
- b = b.append(x.from(l.createAndFill(null, S) || void 0));
12130
- const v = a.before(a.depth - (C - 1));
12131
- t.replace(v, a.after(-M), new E(b, 4 - C, 0));
12140
+ b = b.append(v.from(l.createAndFill(null, S) || void 0));
12141
+ const x = a.before(a.depth - (C - 1));
12142
+ t.replace(x, a.after(-M), new E(b, 4 - C, 0));
12132
12143
  let P = -1;
12133
- t.doc.nodesBetween(v, t.doc.content.size, (T, z) => {
12144
+ t.doc.nodesBetween(x, t.doc.content.size, (T, z) => {
12134
12145
  if (P > -1)
12135
12146
  return !1;
12136
12147
  T.isTextblock && T.content.size === 0 && (P = z + 1);
@@ -12156,7 +12167,7 @@ const hy = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: r, edit
12156
12167
  const { selection: b, storedMarks: C } = r, { splittableMarks: M } = s.extensionManager, g = C || b.$to.parentOffset && b.$from.marks();
12157
12168
  if (t.split(a.pos, 2, y).scrollIntoView(), !g || !i)
12158
12169
  return !0;
12159
- const S = g.filter((v) => M.includes(v.type.name));
12170
+ const S = g.filter((x) => M.includes(x.type.name));
12160
12171
  t.ensureMarks(S);
12161
12172
  }
12162
12173
  return !0;
@@ -12182,7 +12193,7 @@ const hy = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: r, edit
12182
12193
  const { extensions: d, splittableMarks: f } = i.extensionManager, h = ce(n, o.schema), p = ce(e, o.schema), { selection: m, storedMarks: y } = o, { $from: b, $to: C } = m, M = b.blockRange(C), g = y || m.$to.parentOffset && m.$from.marks();
12183
12194
  if (!M)
12184
12195
  return !1;
12185
- const S = Co((v) => da(v.type.name, d))(m);
12196
+ const S = Co((x) => da(x.type.name, d))(m);
12186
12197
  if (M.depth >= 1 && S && M.depth - S.depth <= 1) {
12187
12198
  if (S.node.type === h)
12188
12199
  return c.liftListItem(p);
@@ -12190,8 +12201,8 @@ const hy = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: r, edit
12190
12201
  return a().command(() => (s.setNodeMarkup(S.pos, h), !0)).command(() => rs(s, h)).command(() => is(s, h)).run();
12191
12202
  }
12192
12203
  return !t || !g || !l ? a().command(() => u().wrapInList(h, r) ? !0 : c.clearNodes()).wrapInList(h, r).command(() => rs(s, h)).command(() => is(s, h)).run() : a().command(() => {
12193
- const v = u().wrapInList(h, r), P = g.filter((T) => f.includes(T.type.name));
12194
- return s.ensureMarks(P), v ? !0 : c.clearNodes();
12204
+ const x = u().wrapInList(h, r), P = g.filter((T) => f.includes(T.type.name));
12205
+ return s.ensureMarks(P), x ? !0 : c.clearNodes();
12195
12206
  }).wrapInList(h, r).command(() => rs(s, h)).command(() => is(s, h)).run();
12196
12207
  }, gy = (n, e = {}, t = {}) => ({ state: r, commands: i }) => {
12197
12208
  const { extendEmptyMarkRange: s = !1 } = t, o = It(n, r.schema);
@@ -12223,19 +12234,19 @@ const hy = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: r, edit
12223
12234
  }
12224
12235
  }
12225
12236
  return !1;
12226
- }, vy = () => ({ tr: n, dispatch: e }) => {
12237
+ }, xy = () => ({ tr: n, dispatch: e }) => {
12227
12238
  const { selection: t } = n, { empty: r, ranges: i } = t;
12228
12239
  return r || e && i.forEach((s) => {
12229
12240
  n.removeMark(s.$from.pos, s.$to.pos);
12230
12241
  }), !0;
12231
- }, xy = (n, e = {}) => ({ tr: t, state: r, dispatch: i }) => {
12242
+ }, vy = (n, e = {}) => ({ tr: t, state: r, dispatch: i }) => {
12232
12243
  var s;
12233
12244
  const { extendEmptyMarkRange: o = !1 } = e, { selection: l } = t, a = It(n, r.schema), { $from: c, empty: u, ranges: d } = l;
12234
12245
  if (!i)
12235
12246
  return !0;
12236
12247
  if (u && o) {
12237
12248
  let { from: f, to: h } = l;
12238
- const p = (s = c.marks().find((y) => y.type === a)) === null || s === void 0 ? void 0 : s.attrs, m = xo(c, a, p);
12249
+ const p = (s = c.marks().find((y) => y.type === a)) === null || s === void 0 ? void 0 : s.attrs, m = vo(c, a, p);
12239
12250
  m && (f = m.from, h = m.to), t.removeMark(f, h, a);
12240
12251
  } else
12241
12252
  d.forEach((f) => {
@@ -12295,7 +12306,7 @@ var My = /* @__PURE__ */ Object.freeze({
12295
12306
  enter: yg,
12296
12307
  exitCode: bg,
12297
12308
  extendMarkRange: kg,
12298
- first: vg,
12309
+ first: xg,
12299
12310
  focus: wg,
12300
12311
  forEach: Sg,
12301
12312
  insertContent: Cg,
@@ -12335,8 +12346,8 @@ var My = /* @__PURE__ */ Object.freeze({
12335
12346
  toggleNode: yy,
12336
12347
  toggleWrap: by,
12337
12348
  undoInputRule: ky,
12338
- unsetAllMarks: vy,
12339
- unsetMark: xy,
12349
+ unsetAllMarks: xy,
12350
+ unsetMark: vy,
12340
12351
  updateAttributes: wy,
12341
12352
  wrapIn: Sy,
12342
12353
  wrapInList: Cy
@@ -13015,7 +13026,7 @@ let By = class extends Km {
13015
13026
  return Lu(this.state.doc, {
13016
13027
  blockSeparator: t,
13017
13028
  textSerializers: {
13018
- ...vo(this.schema),
13029
+ ...xo(this.schema),
13019
13030
  ...r
13020
13031
  }
13021
13032
  });
@@ -13917,9 +13928,9 @@ function d0(n, e) {
13917
13928
  let { $from: t } = n.state.selection, r = t.parent.contentMatchAt(t.index()).findWrapping(n.state.schema.nodes.text);
13918
13929
  if (!r)
13919
13930
  return !1;
13920
- let i = x.empty;
13931
+ let i = v.empty;
13921
13932
  for (let o = r.length - 1; o >= 0; o--)
13922
- i = x.from(r[o].createAndFill(null, i));
13933
+ i = v.from(r[o].createAndFill(null, i));
13923
13934
  let s = n.state.tr.replace(t.pos, t.pos, new E(i, 0, 0));
13924
13935
  return s.setSelection(R.near(s.doc.resolve(t.pos + 1))), n.dispatch(s), !1;
13925
13936
  }
@@ -14294,11 +14305,11 @@ function k0(n, e, t, r) {
14294
14305
  if (o && o.getMeta(Kt))
14295
14306
  return o.getMeta(Kt).redo ? new mt(n.done.addTransform(t, void 0, r, Er(e)), n.undone, ma(t.mapping.maps), n.prevTime, n.prevComposition) : new mt(n.done, n.undone.addTransform(t, void 0, r, Er(e)), null, n.prevTime, n.prevComposition);
14296
14307
  if (t.getMeta("addToHistory") !== !1 && !(o && o.getMeta("addToHistory") === !1)) {
14297
- let l = t.getMeta("composition"), a = n.prevTime == 0 || !o && n.prevComposition != l && (n.prevTime < (t.time || 0) - r.newGroupDelay || !v0(t, n.prevRanges)), c = o ? ss(n.prevRanges, t.mapping) : ma(t.mapping.maps);
14308
+ let l = t.getMeta("composition"), a = n.prevTime == 0 || !o && n.prevComposition != l && (n.prevTime < (t.time || 0) - r.newGroupDelay || !x0(t, n.prevRanges)), c = o ? ss(n.prevRanges, t.mapping) : ma(t.mapping.maps);
14298
14309
  return new mt(n.done.addTransform(t, a ? e.selection.getBookmark() : void 0, r, Er(e)), je.empty, c, t.time, l ?? n.prevComposition);
14299
14310
  } else return (s = t.getMeta("rebased")) ? new mt(n.done.rebased(t, s), n.undone.rebased(t, s), ss(n.prevRanges, t.mapping), n.prevTime, n.prevComposition) : new mt(n.done.addMaps(t.mapping.maps), n.undone.addMaps(t.mapping.maps), ss(n.prevRanges, t.mapping), n.prevTime, n.prevComposition);
14300
14311
  }
14301
- function v0(n, e) {
14312
+ function x0(n, e) {
14302
14313
  if (!e)
14303
14314
  return !1;
14304
14315
  if (!n.docChanged)
@@ -14325,7 +14336,7 @@ function ss(n, e) {
14325
14336
  }
14326
14337
  return t;
14327
14338
  }
14328
- function x0(n, e, t) {
14339
+ function v0(n, e, t) {
14329
14340
  let r = Er(e), i = Kt.get(e).spec.config, s = (t ? n.undone : n.done).popEvent(e, r);
14330
14341
  if (!s)
14331
14342
  return null;
@@ -14377,7 +14388,7 @@ function $u(n, e) {
14377
14388
  if (!i || (n ? i.undone : i.done).eventCount == 0)
14378
14389
  return !1;
14379
14390
  if (r) {
14380
- let s = x0(i, t, n);
14391
+ let s = v0(i, t, n);
14381
14392
  s && r(e ? s.scrollIntoView() : s);
14382
14393
  }
14383
14394
  return !0;
@@ -14762,7 +14773,7 @@ function _0(n) {
14762
14773
  function an(n) {
14763
14774
  return [].concat(n);
14764
14775
  }
14765
- function va(n, e) {
14776
+ function xa(n, e) {
14766
14777
  n.indexOf(e) === -1 && n.push(e);
14767
14778
  }
14768
14779
  function W0(n) {
@@ -14776,7 +14787,7 @@ function K0(n) {
14776
14787
  function _r(n) {
14777
14788
  return [].slice.call(n);
14778
14789
  }
14779
- function xa(n) {
14790
+ function va(n) {
14780
14791
  return Object.keys(n).reduce(function(e, t) {
14781
14792
  return n[t] !== void 0 && (e[t] = n[t]), e;
14782
14793
  }, {});
@@ -15078,9 +15089,9 @@ function Zu(n) {
15078
15089
  };
15079
15090
  }
15080
15091
  Zu.$$tippy = !0;
15081
- var db = 1, vr = [], ds = [];
15092
+ var db = 1, xr = [], ds = [];
15082
15093
  function fb(n, e) {
15083
- var t = Ta(n, Object.assign({}, Ae, Xu(xa(e)))), r, i, s, o = !1, l = !1, a = !1, c = !1, u, d, f, h = [], p = ka(qo, t.interactiveDebounce), m, y = db++, b = null, C = W0(t.plugins), M = {
15094
+ var t = Ta(n, Object.assign({}, Ae, Xu(va(e)))), r, i, s, o = !1, l = !1, a = !1, c = !1, u, d, f, h = [], p = ka(qo, t.interactiveDebounce), m, y = db++, b = null, C = W0(t.plugins), M = {
15084
15095
  // Is the instance currently enabled?
15085
15096
  isEnabled: !0,
15086
15097
  // Is the tippy currently showing and not transitioning out?
@@ -15104,8 +15115,8 @@ function fb(n, e) {
15104
15115
  clearDelayTimeouts: yd,
15105
15116
  setProps: bd,
15106
15117
  setContent: kd,
15107
- show: vd,
15108
- hide: xd,
15118
+ show: xd,
15119
+ hide: vd,
15109
15120
  hideWithInteractivity: wd,
15110
15121
  enable: md,
15111
15122
  disable: gd,
@@ -15114,14 +15125,14 @@ function fb(n, e) {
15114
15125
  };
15115
15126
  if (!t.render)
15116
15127
  return process.env.NODE_ENV !== "production" && Vs(!0, "render() function has not been supplied."), g;
15117
- var S = t.render(g), v = S.popper, P = S.onUpdate;
15118
- v.setAttribute("data-tippy-root", ""), v.id = "tippy-" + g.id, g.popper = v, n._tippy = g, v._tippy = g;
15128
+ var S = t.render(g), x = S.popper, P = S.onUpdate;
15129
+ x.setAttribute("data-tippy-root", ""), x.id = "tippy-" + g.id, g.popper = x, n._tippy = g, x._tippy = g;
15119
15130
  var T = C.map(function(k) {
15120
15131
  return k.fn(g);
15121
15132
  }), z = n.hasAttribute("aria-expanded");
15122
- return Wo(), xn(), Ke(), De("onCreate", [g]), t.showOnCreate && Zo(), v.addEventListener("mouseenter", function() {
15133
+ return Wo(), vn(), Ke(), De("onCreate", [g]), t.showOnCreate && Zo(), x.addEventListener("mouseenter", function() {
15123
15134
  g.props.interactive && g.state.isVisible && g.clearDelayTimeouts();
15124
- }), v.addEventListener("mouseleave", function() {
15135
+ }), x.addEventListener("mouseleave", function() {
15125
15136
  g.props.interactive && g.props.trigger.indexOf("mouseenter") >= 0 && et().addEventListener("mousemove", p);
15126
15137
  }), g;
15127
15138
  function j() {
@@ -15143,13 +15154,13 @@ function fb(n, e) {
15143
15154
  return k ? Y0(k) : document;
15144
15155
  }
15145
15156
  function We() {
15146
- return _s(v);
15157
+ return _s(x);
15147
15158
  }
15148
15159
  function tt(k) {
15149
15160
  return g.state.isMounted && !g.state.isVisible || Ge.isTouch || u && u.type === "focus" ? 0 : as(g.props.delay, k ? 0 : 1, Ae.delay);
15150
15161
  }
15151
15162
  function Ke(k) {
15152
- k === void 0 && (k = !1), v.style.pointerEvents = g.props.interactive && !k ? "" : "none", v.style.zIndex = "" + g.props.zIndex;
15163
+ k === void 0 && (k = !1), x.style.pointerEvents = g.props.interactive && !k ? "" : "none", x.style.zIndex = "" + g.props.zIndex;
15153
15164
  }
15154
15165
  function De(k, A, D) {
15155
15166
  if (D === void 0 && (D = !0), T.forEach(function(_) {
@@ -15162,19 +15173,19 @@ function fb(n, e) {
15162
15173
  function $o() {
15163
15174
  var k = g.props.aria;
15164
15175
  if (k.content) {
15165
- var A = "aria-" + k.content, D = v.id, W = an(g.props.triggerTarget || n);
15176
+ var A = "aria-" + k.content, D = x.id, W = an(g.props.triggerTarget || n);
15166
15177
  W.forEach(function(_) {
15167
- var ve = _.getAttribute(A);
15178
+ var xe = _.getAttribute(A);
15168
15179
  if (g.state.isVisible)
15169
- _.setAttribute(A, ve ? ve + " " + D : D);
15180
+ _.setAttribute(A, xe ? xe + " " + D : D);
15170
15181
  else {
15171
- var Re = ve && ve.replace(D, "").trim();
15182
+ var Re = xe && xe.replace(D, "").trim();
15172
15183
  Re ? _.setAttribute(A, Re) : _.removeAttribute(A);
15173
15184
  }
15174
15185
  });
15175
15186
  }
15176
15187
  }
15177
- function xn() {
15188
+ function vn() {
15178
15189
  if (!(z || !g.props.aria.expanded)) {
15179
15190
  var k = an(g.props.triggerTarget || n);
15180
15191
  k.forEach(function(A) {
@@ -15183,14 +15194,14 @@ function fb(n, e) {
15183
15194
  }
15184
15195
  }
15185
15196
  function Ri() {
15186
- et().removeEventListener("mousemove", p), vr = vr.filter(function(k) {
15197
+ et().removeEventListener("mousemove", p), xr = xr.filter(function(k) {
15187
15198
  return k !== p;
15188
15199
  });
15189
15200
  }
15190
15201
  function ar(k) {
15191
15202
  if (!(Ge.isTouch && (a || k.type === "mousedown"))) {
15192
15203
  var A = k.composedPath && k.composedPath()[0] || k.target;
15193
- if (!(g.props.interactive && Sa(v, A))) {
15204
+ if (!(g.props.interactive && Sa(x, A))) {
15194
15205
  if (an(g.props.triggerTarget || n).some(function(D) {
15195
15206
  return Sa(D, A);
15196
15207
  })) {
@@ -15220,7 +15231,7 @@ function fb(n, e) {
15220
15231
  }
15221
15232
  function fd(k, A) {
15222
15233
  _o(k, function() {
15223
- !g.state.isVisible && v.parentNode && v.parentNode.contains(v) && A();
15234
+ !g.state.isVisible && x.parentNode && x.parentNode.contains(x) && A();
15224
15235
  });
15225
15236
  }
15226
15237
  function hd(k, A) {
@@ -15277,16 +15288,16 @@ function fb(n, e) {
15277
15288
  var A, D = !1;
15278
15289
  if (!(!g.state.isEnabled || Yo(k) || l)) {
15279
15290
  var W = ((A = u) == null ? void 0 : A.type) === "focus";
15280
- u = k, m = k.currentTarget, xn(), !g.state.isVisible && q0(k) && vr.forEach(function(_) {
15291
+ u = k, m = k.currentTarget, vn(), !g.state.isVisible && q0(k) && xr.forEach(function(_) {
15281
15292
  return _(k);
15282
15293
  }), k.type === "click" && (g.props.trigger.indexOf("mouseenter") < 0 || o) && g.props.hideOnClick !== !1 && g.state.isVisible ? D = !0 : Zo(k), k.type === "click" && (o = !D), D && !W && cr(k);
15283
15294
  }
15284
15295
  }
15285
15296
  function qo(k) {
15286
- var A = k.target, D = X().contains(A) || v.contains(A);
15297
+ var A = k.target, D = X().contains(A) || x.contains(A);
15287
15298
  if (!(k.type === "mousemove" && D)) {
15288
- var W = Pi().concat(v).map(function(_) {
15289
- var ve, Re = _._tippy, en = (ve = Re.popperInstance) == null ? void 0 : ve.state;
15299
+ var W = Pi().concat(x).map(function(_) {
15300
+ var xe, Re = _._tippy, en = (xe = Re.popperInstance) == null ? void 0 : xe.state;
15290
15301
  return en ? {
15291
15302
  popperRect: _.getBoundingClientRect(),
15292
15303
  popperState: en,
@@ -15307,14 +15318,14 @@ function fb(n, e) {
15307
15318
  }
15308
15319
  }
15309
15320
  function Go(k) {
15310
- g.props.trigger.indexOf("focusin") < 0 && k.target !== X() || g.props.interactive && k.relatedTarget && v.contains(k.relatedTarget) || cr(k);
15321
+ g.props.trigger.indexOf("focusin") < 0 && k.target !== X() || g.props.interactive && k.relatedTarget && x.contains(k.relatedTarget) || cr(k);
15311
15322
  }
15312
15323
  function Yo(k) {
15313
15324
  return Ge.isTouch ? Ee() !== k.type.indexOf("touch") >= 0 : !1;
15314
15325
  }
15315
15326
  function Xo() {
15316
15327
  Qo();
15317
- var k = g.props, A = k.popperOptions, D = k.placement, W = k.offset, _ = k.getReferenceClientRect, ve = k.moveTransition, Re = se() ? _s(v).arrow : null, en = _ ? {
15328
+ var k = g.props, A = k.popperOptions, D = k.placement, W = k.offset, _ = k.getReferenceClientRect, xe = k.moveTransition, Re = se() ? _s(x).arrow : null, en = _ ? {
15318
15329
  getBoundingClientRect: _,
15319
15330
  contextElement: _.contextElement || X()
15320
15331
  } : n, el = {
@@ -15354,7 +15365,7 @@ function fb(n, e) {
15354
15365
  }, {
15355
15366
  name: "computeStyles",
15356
15367
  options: {
15357
- adaptive: !ve
15368
+ adaptive: !xe
15358
15369
  }
15359
15370
  }, el];
15360
15371
  se() && Re && Dt.push({
@@ -15363,7 +15374,7 @@ function fb(n, e) {
15363
15374
  element: Re,
15364
15375
  padding: 3
15365
15376
  }
15366
- }), Dt.push.apply(Dt, A?.modifiers || []), g.popperInstance = zd(en, v, Object.assign({}, A, {
15377
+ }), Dt.push.apply(Dt, A?.modifiers || []), g.popperInstance = zd(en, x, Object.assign({}, A, {
15367
15378
  placement: D,
15368
15379
  onFirstUpdate: f,
15369
15380
  modifiers: Dt
@@ -15374,7 +15385,7 @@ function fb(n, e) {
15374
15385
  }
15375
15386
  function pd() {
15376
15387
  var k = g.props.appendTo, A, D = X();
15377
- g.props.interactive && k === Uu || k === "parent" ? A = D.parentNode : A = qu(k, [D]), A.contains(v) || A.appendChild(v), g.state.isMounted = !0, Xo(), process.env.NODE_ENV !== "production" && lt(g.props.interactive && k === Ae.appendTo && D.nextElementSibling !== v, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
15388
+ g.props.interactive && k === Uu || k === "parent" ? A = D.parentNode : A = qu(k, [D]), A.contains(x) || A.appendChild(x), g.state.isMounted = !0, Xo(), process.env.NODE_ENV !== "production" && lt(g.props.interactive && k === Ae.appendTo && D.nextElementSibling !== x, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
15378
15389
 
15379
15390
  `, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
15380
15391
 
@@ -15383,7 +15394,7 @@ function fb(n, e) {
15383
15394
  `, "See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "));
15384
15395
  }
15385
15396
  function Pi() {
15386
- return _r(v.querySelectorAll("[data-tippy-root]"));
15397
+ return _r(x.querySelectorAll("[data-tippy-root]"));
15387
15398
  }
15388
15399
  function Zo(k) {
15389
15400
  g.clearDelayTimeouts(), k && De("onTrigger", [g, k]), jo();
@@ -15418,12 +15429,12 @@ function fb(n, e) {
15418
15429
  function bd(k) {
15419
15430
  if (process.env.NODE_ENV !== "production" && lt(g.state.isDestroyed, sn("setProps")), !g.state.isDestroyed) {
15420
15431
  De("onBeforeUpdate", [g, k]), Ko();
15421
- var A = g.props, D = Ta(n, Object.assign({}, A, xa(k), {
15432
+ var A = g.props, D = Ta(n, Object.assign({}, A, va(k), {
15422
15433
  ignoreAttributes: !0
15423
15434
  }));
15424
15435
  g.props = D, Wo(), A.interactiveDebounce !== D.interactiveDebounce && (Ri(), p = ka(qo, D.interactiveDebounce)), A.triggerTarget && !D.triggerTarget ? an(A.triggerTarget).forEach(function(W) {
15425
15436
  W.removeAttribute("aria-expanded");
15426
- }) : D.triggerTarget && n.removeAttribute("aria-expanded"), xn(), Ke(), P && P(A, D), g.popperInstance && (Xo(), Pi().forEach(function(W) {
15437
+ }) : D.triggerTarget && n.removeAttribute("aria-expanded"), vn(), Ke(), P && P(A, D), g.popperInstance && (Xo(), Pi().forEach(function(W) {
15427
15438
  requestAnimationFrame(W._tippy.popperInstance.forceUpdate);
15428
15439
  })), De("onAfterUpdate", [g, k]);
15429
15440
  }
@@ -15433,46 +15444,46 @@ function fb(n, e) {
15433
15444
  content: k
15434
15445
  });
15435
15446
  }
15436
- function vd() {
15447
+ function xd() {
15437
15448
  process.env.NODE_ENV !== "production" && lt(g.state.isDestroyed, sn("show"));
15438
15449
  var k = g.state.isVisible, A = g.state.isDestroyed, D = !g.state.isEnabled, W = Ge.isTouch && !g.props.touch, _ = as(g.props.duration, 0, Ae.duration);
15439
15450
  if (!(k || A || D || W) && !X().hasAttribute("disabled") && (De("onShow", [g], !1), g.props.onShow(g) !== !1)) {
15440
- if (g.state.isVisible = !0, se() && (v.style.visibility = "visible"), Ke(), jo(), g.state.isMounted || (v.style.transition = "none"), se()) {
15441
- var ve = We(), Re = ve.box, en = ve.content;
15451
+ if (g.state.isVisible = !0, se() && (x.style.visibility = "visible"), Ke(), jo(), g.state.isMounted || (x.style.transition = "none"), se()) {
15452
+ var xe = We(), Re = xe.box, en = xe.content;
15442
15453
  cs([Re, en], 0);
15443
15454
  }
15444
15455
  f = function() {
15445
15456
  var Dt;
15446
15457
  if (!(!g.state.isVisible || c)) {
15447
- if (c = !0, v.offsetHeight, v.style.transition = g.props.moveTransition, se() && g.props.animation) {
15458
+ if (c = !0, x.offsetHeight, x.style.transition = g.props.moveTransition, se() && g.props.animation) {
15448
15459
  var Bi = We(), ur = Bi.box, tn = Bi.content;
15449
15460
  cs([ur, tn], _), wa([ur, tn], "visible");
15450
15461
  }
15451
- $o(), xn(), va(ds, g), (Dt = g.popperInstance) == null || Dt.forceUpdate(), De("onMount", [g]), g.props.animation && se() && hd(_, function() {
15462
+ $o(), vn(), xa(ds, g), (Dt = g.popperInstance) == null || Dt.forceUpdate(), De("onMount", [g]), g.props.animation && se() && hd(_, function() {
15452
15463
  g.state.isShown = !0, De("onShown", [g]);
15453
15464
  });
15454
15465
  }
15455
15466
  }, pd();
15456
15467
  }
15457
15468
  }
15458
- function xd() {
15469
+ function vd() {
15459
15470
  process.env.NODE_ENV !== "production" && lt(g.state.isDestroyed, sn("hide"));
15460
15471
  var k = !g.state.isVisible, A = g.state.isDestroyed, D = !g.state.isEnabled, W = as(g.props.duration, 1, Ae.duration);
15461
15472
  if (!(k || A || D) && (De("onHide", [g], !1), g.props.onHide(g) !== !1)) {
15462
- if (g.state.isVisible = !1, g.state.isShown = !1, c = !1, o = !1, se() && (v.style.visibility = "hidden"), Ri(), Li(), Ke(!0), se()) {
15463
- var _ = We(), ve = _.box, Re = _.content;
15464
- g.props.animation && (cs([ve, Re], W), wa([ve, Re], "hidden"));
15473
+ if (g.state.isVisible = !1, g.state.isShown = !1, c = !1, o = !1, se() && (x.style.visibility = "hidden"), Ri(), Li(), Ke(!0), se()) {
15474
+ var _ = We(), xe = _.box, Re = _.content;
15475
+ g.props.animation && (cs([xe, Re], W), wa([xe, Re], "hidden"));
15465
15476
  }
15466
- $o(), xn(), g.props.animation ? se() && fd(W, g.unmount) : g.unmount();
15477
+ $o(), vn(), g.props.animation ? se() && fd(W, g.unmount) : g.unmount();
15467
15478
  }
15468
15479
  }
15469
15480
  function wd(k) {
15470
- process.env.NODE_ENV !== "production" && lt(g.state.isDestroyed, sn("hideWithInteractivity")), et().addEventListener("mousemove", p), va(vr, p), p(k);
15481
+ process.env.NODE_ENV !== "production" && lt(g.state.isDestroyed, sn("hideWithInteractivity")), et().addEventListener("mousemove", p), xa(xr, p), p(k);
15471
15482
  }
15472
15483
  function Sd() {
15473
15484
  process.env.NODE_ENV !== "production" && lt(g.state.isDestroyed, sn("unmount")), g.state.isVisible && g.hide(), g.state.isMounted && (Qo(), Pi().forEach(function(k) {
15474
15485
  k._tippy.unmount();
15475
- }), v.parentNode && v.parentNode.removeChild(v), ds = ds.filter(function(k) {
15486
+ }), x.parentNode && x.parentNode.removeChild(x), ds = ds.filter(function(k) {
15476
15487
  return k !== g;
15477
15488
  }), g.state.isMounted = !1, De("onHidden", [g]));
15478
15489
  }
@@ -15480,7 +15491,7 @@ function fb(n, e) {
15480
15491
  process.env.NODE_ENV !== "production" && lt(g.state.isDestroyed, sn("destroy")), !g.state.isDestroyed && (g.clearDelayTimeouts(), g.unmount(), Ko(), delete n._tippy, g.state.isDestroyed = !0, De("onDestroy", [g]));
15481
15492
  }
15482
15493
  }
15483
- function vn(n, e) {
15494
+ function xn(n, e) {
15484
15495
  e === void 0 && (e = {});
15485
15496
  var t = Ae.plugins.concat(e.plugins || []);
15486
15497
  process.env.NODE_ENV !== "production" && (sb(n), Qu(e, t)), eb();
@@ -15502,9 +15513,9 @@ function vn(n, e) {
15502
15513
  }, []);
15503
15514
  return Xn(n) ? l[0] : l;
15504
15515
  }
15505
- vn.defaultProps = Ae;
15506
- vn.setDefaultProps = ab;
15507
- vn.currentInput = Ge;
15516
+ xn.defaultProps = Ae;
15517
+ xn.setDefaultProps = ab;
15518
+ xn.currentInput = Ge;
15508
15519
  Object.assign({}, Fd, {
15509
15520
  effect: function(e) {
15510
15521
  var t = e.state, r = {
@@ -15522,7 +15533,7 @@ Object.assign({}, Fd, {
15522
15533
  Object.assign(t.elements.popper.style, r.popper), t.styles = r, t.elements.arrow && Object.assign(t.elements.arrow.style, r.arrow);
15523
15534
  }
15524
15535
  });
15525
- vn.setDefaultProps({
15536
+ xn.setDefaultProps({
15526
15537
  render: Zu
15527
15538
  });
15528
15539
  class hb {
@@ -15556,7 +15567,7 @@ class hb {
15556
15567
  if (m || !a && !c)
15557
15568
  return;
15558
15569
  this.createTooltip();
15559
- const { ranges: C } = y, M = Math.min(...C.map((v) => v.$from.pos)), g = Math.max(...C.map((v) => v.$to.pos));
15570
+ const { ranges: C } = y, M = Math.min(...C.map((x) => x.$from.pos)), g = Math.max(...C.map((x) => x.$to.pos));
15560
15571
  if (!((d = this.shouldShow) === null || d === void 0 ? void 0 : d.call(this, {
15561
15572
  editor: this.editor,
15562
15573
  element: this.element,
@@ -15572,11 +15583,11 @@ class hb {
15572
15583
  (f = this.tippy) === null || f === void 0 || f.setProps({
15573
15584
  getReferenceClientRect: ((h = this.tippyOptions) === null || h === void 0 ? void 0 : h.getReferenceClientRect) || (() => {
15574
15585
  if (Pu(p.selection)) {
15575
- let v = l.nodeDOM(M);
15576
- if (v) {
15577
- const P = v.dataset.nodeViewWrapper ? v : v.querySelector("[data-node-view-wrapper]");
15578
- if (P && (v = P.firstChild), v)
15579
- return v.getBoundingClientRect();
15586
+ let x = l.nodeDOM(M);
15587
+ if (x) {
15588
+ const P = x.dataset.nodeViewWrapper ? x : x.querySelector("[data-node-view-wrapper]");
15589
+ if (P && (x = P.firstChild), x)
15590
+ return x.getBoundingClientRect();
15580
15591
  }
15581
15592
  }
15582
15593
  return Bu(l, M, g);
@@ -15586,7 +15597,7 @@ class hb {
15586
15597
  }
15587
15598
  createTooltip() {
15588
15599
  const { element: e } = this.editor.options, t = !!e.parentElement;
15589
- this.element.tabIndex = 0, !(this.tippy || !t) && (this.tippy = vn(e, {
15600
+ this.element.tabIndex = 0, !(this.tippy || !t) && (this.tippy = xn(e, {
15590
15601
  duration: 0,
15591
15602
  getReferenceClientRect: null,
15592
15603
  content: this.element,
@@ -15649,7 +15660,7 @@ re.create({
15649
15660
  });
15650
15661
  class pb {
15651
15662
  getTextContent(e) {
15652
- return Lu(e, { textSerializers: vo(this.editor.schema) });
15663
+ return Lu(e, { textSerializers: xo(this.editor.schema) });
15653
15664
  }
15654
15665
  constructor({ editor: e, element: t, view: r, tippyOptions: i = {}, shouldShow: s }) {
15655
15666
  this.preventHide = !1, this.shouldShow = ({ view: o, state: l }) => {
@@ -15672,7 +15683,7 @@ class pb {
15672
15683
  }
15673
15684
  createTooltip() {
15674
15685
  const { element: e } = this.editor.options, t = !!e.parentElement;
15675
- this.element.tabIndex = 0, !(this.tippy || !t) && (this.tippy = vn(e, {
15686
+ this.element.tabIndex = 0, !(this.tippy || !t) && (this.tippy = xn(e, {
15676
15687
  duration: 0,
15677
15688
  getReferenceClientRect: null,
15678
15689
  content: this.element,
@@ -15962,7 +15973,7 @@ const yb = (n = {}) => {
15962
15973
  "Shift-Enter": () => this.editor.commands.setHardBreak()
15963
15974
  };
15964
15975
  }
15965
- }), kb = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", vb = "ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2", Ws = "numeric", Ks = "ascii", Us = "alpha", Ln = "asciinumeric", On = "alphanumeric", qs = "domain", nd = "emoji", xb = "scheme", wb = "slashscheme", fs = "whitespace";
15976
+ }), kb = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", xb = "ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2", Ws = "numeric", Ks = "ascii", Us = "alpha", Ln = "asciinumeric", On = "alphanumeric", qs = "domain", nd = "emoji", vb = "scheme", wb = "slashscheme", fs = "whitespace";
15966
15977
  function Sb(n, e) {
15967
15978
  return n in e || (e[n] = []), e[n];
15968
15979
  }
@@ -16164,12 +16175,12 @@ var ld = /* @__PURE__ */ Object.freeze({
16164
16175
  });
16165
16176
  const rt = /[a-z]/, Cn = new RegExp("\\p{L}", "u"), hs = new RegExp("\\p{Emoji}", "u"), it = /\d/, ps = /\s/, Ia = "\r", ms = `
16166
16177
  `, Mb = "️", Tb = "‍", gs = "";
16167
- let xr = null, wr = null;
16178
+ let vr = null, wr = null;
16168
16179
  function Eb(n = []) {
16169
16180
  const e = {};
16170
16181
  Ce.groups = e;
16171
16182
  const t = new Ce();
16172
- xr == null && (xr = Da(kb)), wr == null && (wr = Da(vb)), w(t, "'", si), w(t, "{", Pn), w(t, "}", Bn), w(t, "[", Wr), w(t, "]", Kr), w(t, "(", Ur), w(t, ")", qr), w(t, "<", Jr), w(t, ">", Gr), w(t, "(", Yr), w(t, ")", Xr), w(t, "「", Qr), w(t, "」", Zr), w(t, "『", ei), w(t, "』", ti), w(t, "<", ni), w(t, ">", ri), w(t, "&", ii), w(t, "*", oi), w(t, "@", gt), w(t, "`", ai), w(t, "^", ci), w(t, ":", bt), w(t, ",", Do), w(t, "$", ui), w(t, ".", qe), w(t, "=", di), w(t, "!", Ro), w(t, "-", Pe), w(t, "%", zn), w(t, "|", fi), w(t, "+", hi), w(t, "#", pi), w(t, "?", Fn), w(t, '"', Lo), w(t, "/", Je), w(t, ";", Po), w(t, "~", $n), w(t, "_", mi), w(t, "\\", li), w(t, "・", sd);
16183
+ vr == null && (vr = Da(kb)), wr == null && (wr = Da(xb)), w(t, "'", si), w(t, "{", Pn), w(t, "}", Bn), w(t, "[", Wr), w(t, "]", Kr), w(t, "(", Ur), w(t, ")", qr), w(t, "<", Jr), w(t, ">", Gr), w(t, "(", Yr), w(t, ")", Xr), w(t, "「", Qr), w(t, "」", Zr), w(t, "『", ei), w(t, "』", ti), w(t, "<", ni), w(t, ">", ri), w(t, "&", ii), w(t, "*", oi), w(t, "@", gt), w(t, "`", ai), w(t, "^", ci), w(t, ":", bt), w(t, ",", Do), w(t, "$", ui), w(t, ".", qe), w(t, "=", di), w(t, "!", Ro), w(t, "-", Pe), w(t, "%", zn), w(t, "|", fi), w(t, "+", hi), w(t, "#", pi), w(t, "?", Fn), w(t, '"', Lo), w(t, "/", Je), w(t, ";", Po), w(t, "~", $n), w(t, "_", mi), w(t, "\\", li), w(t, "・", sd);
16173
16184
  const r = G(t, it, No, {
16174
16185
  [Ws]: !0
16175
16186
  });
@@ -16201,8 +16212,8 @@ function Eb(n = []) {
16201
16212
  const f = w(d, Tb);
16202
16213
  w(f, "#"), G(f, hs, d);
16203
16214
  const h = [[rt, o], [it, i]], p = [[rt, null], [Cn, l], [it, s]];
16204
- for (let m = 0; m < xr.length; m++)
16205
- ft(t, xr[m], Gs, st, h);
16215
+ for (let m = 0; m < vr.length; m++)
16216
+ ft(t, vr[m], Gs, st, h);
16206
16217
  for (let m = 0; m < wr.length; m++)
16207
16218
  ft(t, wr[m], Ys, Js, p);
16208
16219
  $t(Gs, {
@@ -16220,7 +16231,7 @@ function Eb(n = []) {
16220
16231
  }, e), n = n.sort((m, y) => m[0] > y[0] ? 1 : -1);
16221
16232
  for (let m = 0; m < n.length; m++) {
16222
16233
  const y = n[m][0], C = n[m][1] ? {
16223
- [xb]: !0
16234
+ [vb]: !0
16224
16235
  } : {
16225
16236
  [wb]: !0
16226
16237
  };
@@ -16549,8 +16560,8 @@ function Nb({
16549
16560
  F(b, n.tld, C), F(b, n.utld, C), F(C, n.domain, o), F(C, r, s), w(C, qe, b), w(C, Pe, y), w(C, gt, c);
16550
16561
  const M = w(C, bt), g = Le(Sr);
16551
16562
  F(M, n.numeric, g);
16552
- const S = Le(Sr), v = Le();
16553
- F(S, e, S), F(S, t, v), F(v, e, S), F(v, t, v), w(C, Je, S), w(g, Je, S);
16563
+ const S = Le(Sr), x = Le();
16564
+ F(S, e, S), F(S, t, x), F(x, e, S), F(x, t, x), w(C, Je, S), w(g, Je, S);
16554
16565
  const P = w(l, bt), T = w(a, bt), z = w(T, Je), j = w(z, Je);
16555
16566
  F(l, n.domain, o), w(l, qe, b), w(l, Pe, y), F(a, n.domain, o), w(a, qe, b), w(a, Pe, y), F(P, n.domain, S), w(P, Je, S), w(P, Fn, S), F(j, n.domain, S), F(j, e, S), w(j, Je, S);
16556
16567
  const Ee = [
@@ -16573,7 +16584,7 @@ function Nb({
16573
16584
  ];
16574
16585
  for (let se = 0; se < Ee.length; se++) {
16575
16586
  const [X, et] = Ee[se], We = w(S, X);
16576
- w(v, X, We), w(We, et, S);
16587
+ w(x, X, We), w(We, et, S);
16577
16588
  const tt = Le(Sr);
16578
16589
  F(We, e, tt);
16579
16590
  const Ke = Le();
@@ -17130,19 +17141,19 @@ function b1(n, e) {
17130
17141
  L("path", { d: "M6 26.5h15M13.5 26.6l3.916-21.144M10 5.5h15" }, null, -1)
17131
17142
  ]));
17132
17143
  }
17133
- const k1 = { render: b1 }, v1 = {
17144
+ const k1 = { render: b1 }, x1 = {
17134
17145
  xmlns: "http://www.w3.org/2000/svg",
17135
17146
  fill: "none",
17136
17147
  stroke: "#000",
17137
17148
  "stroke-linejoin": "round",
17138
17149
  viewBox: "0 0 32 32"
17139
17150
  };
17140
- function x1(n, e) {
17141
- return N(), H("svg", v1, e[0] || (e[0] = [
17151
+ function v1(n, e) {
17152
+ return N(), H("svg", x1, e[0] || (e[0] = [
17142
17153
  L("path", { d: "M14.539 18.62c-1.442-1.442-1.252-3.971.424-5.647l6.107-6.107c1.677-1.677 4.205-1.866 5.647-.424l1.699 1.699c1.442 1.442 1.252 3.971-.424 5.647l-6.107 6.107c-1.217 1.217-2.884 1.651-4.258 1.245m-.166-7.345c1.442 1.442 1.252 3.971-.424 5.647l-6.107 6.107c-1.677 1.677-4.205 1.866-5.647.424l-1.699-1.699c-1.442-1.442-1.252-3.971.424-5.647l6.107-6.107c1.217-1.217 2.884-1.651 4.258-1.245" }, null, -1)
17143
17154
  ]));
17144
17155
  }
17145
- const w1 = { render: x1 }, S1 = {
17156
+ const w1 = { render: v1 }, S1 = {
17146
17157
  xmlns: "http://www.w3.org/2000/svg",
17147
17158
  fill: "none",
17148
17159
  stroke: "#000",
@@ -17223,8 +17234,8 @@ const z1 = { render: B1 }, F1 = ({
17223
17234
  const { view: p, state: m } = n, { from: y, to: b } = p.state.selection, C = n.getAttributes("link").href;
17224
17235
  if (s.value = C || "", C) {
17225
17236
  if (y !== b) {
17226
- const v = y + Math.floor((b - y) / 2);
17227
- n.chain().focus().setTextSelection(v).run();
17237
+ const x = y + Math.floor((b - y) / 2);
17238
+ n.chain().focus().setTextSelection(x).run();
17228
17239
  }
17229
17240
  const g = p.state.selection.$from.nodeBefore?.textContent ?? "", S = p.state.selection.$to.nodeAfter?.textContent ?? "";
17230
17241
  i.value = g + S;
@@ -17646,19 +17657,19 @@ const z1 = { render: B1 }, F1 = ({
17646
17657
  ), rr(async () => {
17647
17658
  r.editable && r.autofocus && (await yi(), C());
17648
17659
  });
17649
- const v = s.customToolbar, P = ye(() => Object.keys(r.baseExtensions).length);
17660
+ const x = s.customToolbar, P = ye(() => Object.keys(r.baseExtensions).length);
17650
17661
  return (T, z) => (N(), H("div", {
17651
17662
  class: $e(["editor-wrapper", { "with-border": T.withBorder, disabled: V(a) }])
17652
17663
  }, [
17653
17664
  P.value ? (N(), ne(bs, {
17654
17665
  key: 0,
17655
17666
  name: "expand",
17656
- css: !V(v)
17667
+ css: !V(x)
17657
17668
  }, {
17658
17669
  default: q(() => [
17659
17670
  V(y) && V(l) && !V(a) ? (N(), H("div", {
17660
17671
  key: 0,
17661
- class: $e({ "embedded-toolbar": !V(v) })
17672
+ class: $e({ "embedded-toolbar": !V(x) })
17662
17673
  }, [
17663
17674
  Z(V1, {
17664
17675
  editor: V(y),