@blocknote/core 0.1.0-alpha.3 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/blocknote.js CHANGED
@@ -7,21 +7,21 @@ import Ao from "@tiptap/extension-code";
7
7
  import Mo from "@tiptap/extension-dropcursor";
8
8
  import Ro from "@tiptap/extension-gapcursor";
9
9
  import No from "@tiptap/extension-hard-break";
10
- import Io from "@tiptap/extension-italic";
11
- import Do from "@tiptap/extension-underline";
12
- import { History as Ho } from "@tiptap/extension-history";
13
- import Lo from "@tiptap/extension-strike";
14
- import Bo from "@tiptap/extension-text";
10
+ import { History as Io } from "@tiptap/extension-history";
11
+ import Do from "@tiptap/extension-italic";
12
+ import Ho from "@tiptap/extension-strike";
13
+ import Lo from "@tiptap/extension-text";
14
+ import Bo from "@tiptap/extension-underline";
15
15
  import { NodeSelection as pn, Selection as kn, PluginKey as be, Plugin as we, TextSelection as Vt } from "prosemirror-state";
16
16
  import { Slice as _, Fragment as W, ReplaceError as _o } from "prosemirror-model";
17
17
  import * as Po from "prosemirror-view";
18
18
  import { Decoration as Wt, DecorationSet as Ut } from "prosemirror-view";
19
19
  import Te from "react-dom";
20
- import A, { forwardRef as zo, useEffect as Vo, useState as Fe, PureComponent as Fo, useCallback as $o } from "react";
20
+ import zo, { DropdownItem as Vo, DropdownItemGroup as Fo } from "@atlaskit/dropdown-menu";
21
+ import A, { forwardRef as $o, useEffect as jo, useState as Fe, PureComponent as Wo, useCallback as Uo } from "react";
21
22
  import br from "@atlaskit/button";
22
23
  import $e from "@tippyjs/react";
23
- import it, { css as jo } from "styled-components";
24
- import Wo, { DropdownItem as Uo, DropdownItemGroup as qo } from "@atlaskit/dropdown-menu";
24
+ import it, { css as qo } from "styled-components";
25
25
  import { groupBy as Ko, escapeRegExp as Ln } from "lodash";
26
26
  import { ReactRenderer as Jo, useEditor as Go } from "@tiptap/react";
27
27
  import { EditorContent as wl } from "@tiptap/react";
@@ -674,7 +674,7 @@ function ui(e, t, n) {
674
674
  ).join(t.pos).scrollIntoView()
675
675
  ), !0);
676
676
  }
677
- const je = bo((e) => e.type.name === "tcblock");
677
+ const je = bo((e) => e.type.name === "block");
678
678
  function Pn(e, t, n) {
679
679
  const r = je(e.selection);
680
680
  return r ? (t && e.setNodeMarkup(r.pos, void 0, {
@@ -688,7 +688,7 @@ const di = new be("ordered-list"), fi = () => new we({
688
688
  const r = n.tr;
689
689
  let o = !1, i = 1, s = 0;
690
690
  return n.doc.descendants((a, c) => {
691
- a.type.name === "tcblock" && !a.attrs.listType && (i = 1), s === 0 && a.type.name === "tcblock" && a.attrs.listType === "oli" ? (s = a.content.childCount, a.content.child(0).attrs.position !== `${i}.` && (r.setNodeMarkup(c + 1, void 0, {
691
+ a.type.name === "block" && !a.attrs.listType && (i = 1), s === 0 && a.type.name === "block" && a.attrs.listType === "oli" ? (s = a.content.childCount, a.content.child(0).attrs.position !== `${i}.` && (r.setNodeMarkup(c + 1, void 0, {
692
692
  ...a.attrs,
693
693
  position: `${i}.`
694
694
  }), o = !0), i++) : s > 0 && s--;
@@ -791,14 +791,14 @@ const hi = "_blockOuter_4ownn_5", mi = "_block_4ownn_5", vi = "_blockContent_4ow
791
791
  isFilter: bi,
792
792
  hasAnchor: wi
793
793
  }, Ei = Tt.create({
794
- name: "tcblock",
794
+ name: "block",
795
795
  group: "block",
796
796
  addOptions() {
797
797
  return {
798
798
  HTMLAttributes: {}
799
799
  };
800
800
  },
801
- content: "tccontent blockgroup?",
801
+ content: "content blockgroup?",
802
802
  defining: !0,
803
803
  addAttributes() {
804
804
  return {
@@ -886,7 +886,7 @@ const hi = "_blockOuter_4ownn_5", mi = "_block_4ownn_5", vi = "_blockContent_4ow
886
886
  unsetBlockHeading: () => ({ tr: e, dispatch: t }) => Pn(e, t, void 0),
887
887
  unsetList: () => ({ tr: e, dispatch: t }) => {
888
888
  const n = e.selection.$anchor.node(-1), r = e.selection.$anchor.posAtIndex(0, -1) - 1;
889
- return n.type.name === "tcblock" && n.attrs.listType && t ? (e.setNodeMarkup(r, void 0, {
889
+ return n.type.name === "block" && n.attrs.listType && t ? (e.setNodeMarkup(r, void 0, {
890
890
  ...n.attrs,
891
891
  listType: void 0
892
892
  }), !0) : !1;
@@ -899,12 +899,12 @@ const hi = "_blockOuter_4ownn_5", mi = "_block_4ownn_5", vi = "_blockContent_4ow
899
899
  if (((a = o.node.firstChild) == null ? void 0 : a.textContent.length) === 0)
900
900
  return n && t.setNodeMarkup(o.pos, void 0, e), !0;
901
901
  const i = o.pos + o.node.nodeSize;
902
- let s = r.schema.nodes.tcblock.createAndFill(e);
902
+ let s = r.schema.nodes.block.createAndFill(e);
903
903
  return n && (t.insert(i, s), t.setSelection(new Vt(t.doc.resolve(i + 1)))), !0;
904
904
  },
905
905
  setBlockList: (e) => ({ tr: t, dispatch: n }) => {
906
906
  const r = t.selection.$anchor.node(-1), o = t.selection.$anchor.posAtIndex(0, -1) - 1;
907
- return r.type.name === "tcblock" ? (n && t.setNodeMarkup(o, void 0, {
907
+ return r.type.name === "block" ? (n && t.setNodeMarkup(o, void 0, {
908
908
  ...r.attrs,
909
909
  listType: e
910
910
  }), !0) : !1;
@@ -926,14 +926,14 @@ const hi = "_blockOuter_4ownn_5", mi = "_block_4ownn_5", vi = "_blockContent_4ow
926
926
  () => n.deleteSelection(),
927
927
  () => n.command(({ tr: r }) => {
928
928
  const o = r.selection.$anchor.parentOffset === 0, i = r.selection.$anchor.node(-1);
929
- return o && i.type.name === "tcblock" ? n.first([
929
+ return o && i.type.name === "block" ? n.first([
930
930
  () => n.unsetList(),
931
- () => n.liftListItem("tcblock")
931
+ () => n.liftListItem("block")
932
932
  ]) : !1;
933
933
  }),
934
934
  ({ chain: r }) => r().command(({ tr: o, state: i, dispatch: s }) => {
935
935
  const a = o.selection.$anchor.parentOffset === 0, c = o.selection.$anchor, d = c.node(-1);
936
- if (a && d.type.name === "tcblock") {
936
+ if (a && d.type.name === "block") {
937
937
  if (d.childCount === 2) {
938
938
  const u = c.posAtIndex(1, -1) + 1, f = c.posAtIndex(2, -1) - 1, v = i.doc.resolve(u).blockRange(i.doc.resolve(f));
939
939
  s && o.lift(v, c.depth - 2);
@@ -945,12 +945,12 @@ const hi = "_blockOuter_4ownn_5", mi = "_block_4ownn_5", vi = "_blockContent_4ow
945
945
  () => n.selectNodeBackward()
946
946
  ]),
947
947
  Enter: () => this.editor.commands.first(({ commands: n }) => [
948
- () => n.splitListItem("tcblock"),
948
+ () => n.splitListItem("block"),
949
949
  ({ tr: r, dispatch: o }) => {
950
950
  if (r.selection.$from.depth !== 3)
951
951
  return !1;
952
952
  const s = r.selection.$anchor.node(-1), a = r.selection.$anchor.posAtIndex(0, -1) - 1;
953
- return s.type.name === "tcblock" && s.attrs.listType ? (o && r.setNodeMarkup(a, void 0, {
953
+ return s.type.name === "block" && s.attrs.listType ? (o && r.setNodeMarkup(a, void 0, {
954
954
  ...s.attrs,
955
955
  listType: void 0
956
956
  }), !0) : !1;
@@ -960,8 +960,8 @@ const hi = "_blockOuter_4ownn_5", mi = "_block_4ownn_5", vi = "_blockContent_4ow
960
960
  return o && r.split(i.pos, 2).scrollIntoView(), !0;
961
961
  }
962
962
  ]),
963
- Tab: () => this.editor.commands.sinkListItem("tcblock"),
964
- "Shift-Tab": () => this.editor.commands.liftListItem("tcblock"),
963
+ Tab: () => this.editor.commands.sinkListItem("block"),
964
+ "Shift-Tab": () => this.editor.commands.liftListItem("block"),
965
965
  "Mod-Alt-0": () => this.editor.chain().unsetList().unsetBlockHeading().run(),
966
966
  "Mod-Alt-1": () => this.editor.commands.setBlockHeading({ level: 1 }),
967
967
  "Mod-Alt-2": () => this.editor.commands.setBlockHeading({ level: 2 }),
@@ -977,7 +977,7 @@ const hi = "_blockOuter_4ownn_5", mi = "_block_4ownn_5", vi = "_blockContent_4ow
977
977
  HTMLAttributes: {}
978
978
  };
979
979
  },
980
- content: "tcblock+",
980
+ content: "block+",
981
981
  parseHTML() {
982
982
  return [{ tag: "div" }];
983
983
  },
@@ -991,7 +991,7 @@ const hi = "_blockOuter_4ownn_5", mi = "_block_4ownn_5", vi = "_blockContent_4ow
991
991
  ];
992
992
  }
993
993
  }), xi = Tt.create({
994
- name: "tccontent",
994
+ name: "content",
995
995
  addOptions() {
996
996
  return {
997
997
  HTMLAttributes: {}
@@ -1034,12 +1034,14 @@ const hi = "_blockOuter_4ownn_5", mi = "_block_4ownn_5", vi = "_blockContent_4ow
1034
1034
  topNode: !0,
1035
1035
  content: "blockgroup"
1036
1036
  })
1037
- ];
1038
- var U = "top", ee = "bottom", te = "right", q = "left", Gt = "auto", Ct = [U, ee, te, q], et = "start", wt = "end", Ci = "clippingParents", Nr = "viewport", pt = "popper", Oi = "reference", Vn = /* @__PURE__ */ Ct.reduce(function(e, t) {
1037
+ ], Ci = "_bnRoot_15721_7", Gt = {
1038
+ bnRoot: Ci
1039
+ };
1040
+ var U = "top", ee = "bottom", te = "right", q = "left", Yt = "auto", Ct = [U, ee, te, q], et = "start", wt = "end", Oi = "clippingParents", Nr = "viewport", pt = "popper", Si = "reference", Vn = /* @__PURE__ */ Ct.reduce(function(e, t) {
1039
1041
  return e.concat([t + "-" + et, t + "-" + wt]);
1040
- }, []), Ir = /* @__PURE__ */ [].concat(Ct, [Gt]).reduce(function(e, t) {
1042
+ }, []), Ir = /* @__PURE__ */ [].concat(Ct, [Yt]).reduce(function(e, t) {
1041
1043
  return e.concat([t, t + "-" + et, t + "-" + wt]);
1042
- }, []), Si = "beforeRead", Ai = "read", Mi = "afterRead", Ri = "beforeMain", Ni = "main", Ii = "afterMain", Di = "beforeWrite", Hi = "write", Li = "afterWrite", mn = [Si, Ai, Mi, Ri, Ni, Ii, Di, Hi, Li];
1044
+ }, []), Ai = "beforeRead", Mi = "read", Ri = "afterRead", Ni = "beforeMain", Ii = "main", Di = "afterMain", Hi = "beforeWrite", Li = "write", Bi = "afterWrite", mn = [Ai, Mi, Ri, Ni, Ii, Di, Hi, Li, Bi];
1043
1045
  function pe(e) {
1044
1046
  return e ? (e.nodeName || "").toLowerCase() : null;
1045
1047
  }
@@ -1066,7 +1068,7 @@ function Tn(e) {
1066
1068
  var t = ne(e).ShadowRoot;
1067
1069
  return e instanceof t || e instanceof ShadowRoot;
1068
1070
  }
1069
- function Bi(e) {
1071
+ function _i(e) {
1070
1072
  var t = e.state;
1071
1073
  Object.keys(t.elements).forEach(function(n) {
1072
1074
  var r = t.styles[n] || {}, o = t.attributes[n] || {}, i = t.elements[n];
@@ -1076,7 +1078,7 @@ function Bi(e) {
1076
1078
  }));
1077
1079
  });
1078
1080
  }
1079
- function _i(e) {
1081
+ function Pi(e) {
1080
1082
  var t = e.state, n = {
1081
1083
  popper: {
1082
1084
  position: t.options.strategy,
@@ -1104,8 +1106,8 @@ const Dr = {
1104
1106
  name: "applyStyles",
1105
1107
  enabled: !0,
1106
1108
  phase: "write",
1107
- fn: Bi,
1108
- effect: _i,
1109
+ fn: _i,
1110
+ effect: Pi,
1109
1111
  requires: ["computeStyles"]
1110
1112
  };
1111
1113
  function ie(e) {
@@ -1163,26 +1165,26 @@ function Lr(e, t) {
1163
1165
  function ae(e) {
1164
1166
  return ne(e).getComputedStyle(e);
1165
1167
  }
1166
- function Pi(e) {
1168
+ function zi(e) {
1167
1169
  return ["table", "td", "th"].indexOf(pe(e)) >= 0;
1168
1170
  }
1169
1171
  function Me(e) {
1170
1172
  return ((We(e) ? e.ownerDocument : e.document) || window.document).documentElement;
1171
1173
  }
1172
- function Yt(e) {
1174
+ function Xt(e) {
1173
1175
  return pe(e) === "html" ? e : e.assignedSlot || e.parentNode || (Tn(e) ? e.host : null) || Me(e);
1174
1176
  }
1175
1177
  function Fn(e) {
1176
1178
  return !Z(e) || ae(e).position === "fixed" ? null : e.offsetParent;
1177
1179
  }
1178
- function zi(e) {
1180
+ function Vi(e) {
1179
1181
  var t = /firefox/i.test(vn()), n = /Trident/i.test(vn());
1180
1182
  if (n && Z(e)) {
1181
1183
  var r = ae(e);
1182
1184
  if (r.position === "fixed")
1183
1185
  return null;
1184
1186
  }
1185
- var o = Yt(e);
1187
+ var o = Xt(e);
1186
1188
  for (Tn(o) && (o = o.host); Z(o) && ["html", "body"].indexOf(pe(o)) < 0; ) {
1187
1189
  var i = ae(o);
1188
1190
  if (i.transform !== "none" || i.perspective !== "none" || i.contain === "paint" || ["transform", "perspective"].indexOf(i.willChange) !== -1 || t && i.willChange === "filter" || t && i.filter && i.filter !== "none")
@@ -1192,9 +1194,9 @@ function zi(e) {
1192
1194
  return null;
1193
1195
  }
1194
1196
  function Ot(e) {
1195
- for (var t = ne(e), n = Fn(e); n && Pi(n) && ae(n).position === "static"; )
1197
+ for (var t = ne(e), n = Fn(e); n && zi(n) && ae(n).position === "static"; )
1196
1198
  n = Fn(n);
1197
- return n && (pe(n) === "html" || pe(n) === "body" && ae(n).position === "static") ? t : n || zi(e) || t;
1199
+ return n && (pe(n) === "html" || pe(n) === "body" && ae(n).position === "static") ? t : n || Vi(e) || t;
1198
1200
  }
1199
1201
  function On(e) {
1200
1202
  return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
@@ -1202,7 +1204,7 @@ function On(e) {
1202
1204
  function vt(e, t, n) {
1203
1205
  return Ve(e, Kt(t, n));
1204
1206
  }
1205
- function Vi(e, t, n) {
1207
+ function Fi(e, t, n) {
1206
1208
  var r = vt(e, t, n);
1207
1209
  return r > n ? n : r;
1208
1210
  }
@@ -1222,19 +1224,19 @@ function Pr(e, t) {
1222
1224
  return n[r] = e, n;
1223
1225
  }, {});
1224
1226
  }
1225
- var Fi = function(t, n) {
1227
+ var $i = function(t, n) {
1226
1228
  return t = typeof t == "function" ? t(Object.assign({}, n.rects, {
1227
1229
  placement: n.placement
1228
1230
  })) : t, _r(typeof t != "number" ? t : Pr(t, Ct));
1229
1231
  };
1230
- function $i(e) {
1232
+ function ji(e) {
1231
1233
  var t, n = e.state, r = e.name, o = e.options, i = n.elements.arrow, s = n.modifiersData.popperOffsets, a = ie(n.placement), c = On(a), d = [q, te].indexOf(a) >= 0, u = d ? "height" : "width";
1232
1234
  if (!(!i || !s)) {
1233
- var f = Fi(o.padding, n), v = Cn(i), m = c === "y" ? U : q, y = c === "y" ? ee : te, h = n.rects.reference[u] + n.rects.reference[c] - s[c] - n.rects.popper[u], w = s[c] - n.rects.reference[c], E = Ot(i), T = E ? c === "y" ? E.clientHeight || 0 : E.clientWidth || 0 : 0, C = h / 2 - w / 2, l = f[m], k = T - v[u] - f[y], g = T / 2 - v[u] / 2 + C, O = vt(l, g, k), L = c;
1235
+ var f = $i(o.padding, n), v = Cn(i), m = c === "y" ? U : q, y = c === "y" ? ee : te, h = n.rects.reference[u] + n.rects.reference[c] - s[c] - n.rects.popper[u], w = s[c] - n.rects.reference[c], E = Ot(i), T = E ? c === "y" ? E.clientHeight || 0 : E.clientWidth || 0 : 0, C = h / 2 - w / 2, l = f[m], k = T - v[u] - f[y], g = T / 2 - v[u] / 2 + C, O = vt(l, g, k), L = c;
1234
1236
  n.modifiersData[r] = (t = {}, t[L] = O, t.centerOffset = O - g, t);
1235
1237
  }
1236
1238
  }
1237
- function ji(e) {
1239
+ function Wi(e) {
1238
1240
  var t = e.state, n = e.options, r = n.element, o = r === void 0 ? "[data-popper-arrow]" : r;
1239
1241
  if (o != null && !(typeof o == "string" && (o = t.elements.popper.querySelector(o), !o))) {
1240
1242
  if (process.env.NODE_ENV !== "production" && (Z(o) || console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).', "To use an SVG arrow, wrap it in an HTMLElement that will be used as", "the arrow."].join(" "))), !Lr(t.elements.popper, o)) {
@@ -1244,25 +1246,25 @@ function ji(e) {
1244
1246
  t.elements.arrow = o;
1245
1247
  }
1246
1248
  }
1247
- const Wi = {
1249
+ const Ui = {
1248
1250
  name: "arrow",
1249
1251
  enabled: !0,
1250
1252
  phase: "main",
1251
- fn: $i,
1252
- effect: ji,
1253
+ fn: ji,
1254
+ effect: Wi,
1253
1255
  requires: ["popperOffsets"],
1254
1256
  requiresIfExists: ["preventOverflow"]
1255
1257
  };
1256
1258
  function rt(e) {
1257
1259
  return e.split("-")[1];
1258
1260
  }
1259
- var Ui = {
1261
+ var qi = {
1260
1262
  top: "auto",
1261
1263
  right: "auto",
1262
1264
  bottom: "auto",
1263
1265
  left: "auto"
1264
1266
  };
1265
- function qi(e) {
1267
+ function Ki(e) {
1266
1268
  var t = e.x, n = e.y, r = window, o = r.devicePixelRatio || 1;
1267
1269
  return {
1268
1270
  x: tt(t * o) / o || 0,
@@ -1294,7 +1296,7 @@ function $n(e) {
1294
1296
  }
1295
1297
  var M = Object.assign({
1296
1298
  position: a
1297
- }, d && Ui), N = u === !0 ? qi({
1299
+ }, d && qi), N = u === !0 ? Ki({
1298
1300
  x: m,
1299
1301
  y: h
1300
1302
  }) : {
@@ -1307,7 +1309,7 @@ function $n(e) {
1307
1309
  }
1308
1310
  return Object.assign({}, M, (t = {}, t[l] = T ? h + "px" : "", t[C] = E ? m + "px" : "", t.transform = "", t));
1309
1311
  }
1310
- function Ki(e) {
1312
+ function Ji(e) {
1311
1313
  var t = e.state, n = e.options, r = n.gpuAcceleration, o = r === void 0 ? !0 : r, i = n.adaptive, s = i === void 0 ? !0 : i, a = n.roundOffsets, c = a === void 0 ? !0 : a;
1312
1314
  if (process.env.NODE_ENV !== "production") {
1313
1315
  var d = ae(t.elements.popper).transitionProperty || "";
@@ -1341,17 +1343,17 @@ function Ki(e) {
1341
1343
  "data-popper-placement": t.placement
1342
1344
  });
1343
1345
  }
1344
- const Ji = {
1346
+ const Gi = {
1345
1347
  name: "computeStyles",
1346
1348
  enabled: !0,
1347
1349
  phase: "beforeWrite",
1348
- fn: Ki,
1350
+ fn: Ji,
1349
1351
  data: {}
1350
1352
  };
1351
1353
  var Pt = {
1352
1354
  passive: !0
1353
1355
  };
1354
- function Gi(e) {
1356
+ function Yi(e) {
1355
1357
  var t = e.state, n = e.instance, r = e.options, o = r.scroll, i = o === void 0 ? !0 : o, s = r.resize, a = s === void 0 ? !0 : s, c = ne(t.elements.popper), d = [].concat(t.scrollParents.reference, t.scrollParents.popper);
1356
1358
  return i && d.forEach(function(u) {
1357
1359
  u.addEventListener("scroll", n.update, Pt);
@@ -1361,16 +1363,16 @@ function Gi(e) {
1361
1363
  }), a && c.removeEventListener("resize", n.update, Pt);
1362
1364
  };
1363
1365
  }
1364
- const Yi = {
1366
+ const Xi = {
1365
1367
  name: "eventListeners",
1366
1368
  enabled: !0,
1367
1369
  phase: "write",
1368
1370
  fn: function() {
1369
1371
  },
1370
- effect: Gi,
1372
+ effect: Yi,
1371
1373
  data: {}
1372
1374
  };
1373
- var Xi = {
1375
+ var Zi = {
1374
1376
  left: "right",
1375
1377
  right: "left",
1376
1378
  bottom: "top",
@@ -1378,16 +1380,16 @@ var Xi = {
1378
1380
  };
1379
1381
  function $t(e) {
1380
1382
  return e.replace(/left|right|bottom|top/g, function(t) {
1381
- return Xi[t];
1383
+ return Zi[t];
1382
1384
  });
1383
1385
  }
1384
- var Zi = {
1386
+ var Qi = {
1385
1387
  start: "end",
1386
1388
  end: "start"
1387
1389
  };
1388
1390
  function jn(e) {
1389
1391
  return e.replace(/start|end/g, function(t) {
1390
- return Zi[t];
1392
+ return Qi[t];
1391
1393
  });
1392
1394
  }
1393
1395
  function Sn(e) {
@@ -1400,7 +1402,7 @@ function Sn(e) {
1400
1402
  function An(e) {
1401
1403
  return nt(Me(e)).left + Sn(e).scrollLeft;
1402
1404
  }
1403
- function Qi(e, t) {
1405
+ function ea(e, t) {
1404
1406
  var n = ne(e), r = Me(e), o = n.visualViewport, i = r.clientWidth, s = r.clientHeight, a = 0, c = 0;
1405
1407
  if (o) {
1406
1408
  i = o.width, s = o.height;
@@ -1414,7 +1416,7 @@ function Qi(e, t) {
1414
1416
  y: c
1415
1417
  };
1416
1418
  }
1417
- function ea(e) {
1419
+ function ta(e) {
1418
1420
  var t, n = Me(e), r = Sn(e), o = (t = e.ownerDocument) == null ? void 0 : t.body, i = Ve(n.scrollWidth, n.clientWidth, o ? o.scrollWidth : 0, o ? o.clientWidth : 0), s = Ve(n.scrollHeight, n.clientHeight, o ? o.scrollHeight : 0, o ? o.clientHeight : 0), a = -r.scrollLeft + An(e), c = -r.scrollTop;
1419
1421
  return ae(o || n).direction === "rtl" && (a += Ve(n.clientWidth, o ? o.clientWidth : 0) - i), {
1420
1422
  width: i,
@@ -1428,13 +1430,13 @@ function Mn(e) {
1428
1430
  return /auto|scroll|overlay|hidden/.test(n + o + r);
1429
1431
  }
1430
1432
  function zr(e) {
1431
- return ["html", "body", "#document"].indexOf(pe(e)) >= 0 ? e.ownerDocument.body : Z(e) && Mn(e) ? e : zr(Yt(e));
1433
+ return ["html", "body", "#document"].indexOf(pe(e)) >= 0 ? e.ownerDocument.body : Z(e) && Mn(e) ? e : zr(Xt(e));
1432
1434
  }
1433
1435
  function gt(e, t) {
1434
1436
  var n;
1435
1437
  t === void 0 && (t = []);
1436
1438
  var r = zr(e), o = r === ((n = e.ownerDocument) == null ? void 0 : n.body), i = ne(r), s = o ? [i].concat(i.visualViewport || [], Mn(r) ? r : []) : r, a = t.concat(s);
1437
- return o ? a : a.concat(gt(Yt(s)));
1439
+ return o ? a : a.concat(gt(Xt(s)));
1438
1440
  }
1439
1441
  function gn(e) {
1440
1442
  return Object.assign({}, e, {
@@ -1444,21 +1446,21 @@ function gn(e) {
1444
1446
  bottom: e.y + e.height
1445
1447
  });
1446
1448
  }
1447
- function ta(e, t) {
1449
+ function na(e, t) {
1448
1450
  var n = nt(e, !1, t === "fixed");
1449
1451
  return n.top = n.top + e.clientTop, n.left = n.left + e.clientLeft, n.bottom = n.top + e.clientHeight, n.right = n.left + e.clientWidth, n.width = e.clientWidth, n.height = e.clientHeight, n.x = n.left, n.y = n.top, n;
1450
1452
  }
1451
1453
  function Wn(e, t, n) {
1452
- return t === Nr ? gn(Qi(e, n)) : We(t) ? ta(t, n) : gn(ea(Me(e)));
1454
+ return t === Nr ? gn(ea(e, n)) : We(t) ? na(t, n) : gn(ta(Me(e)));
1453
1455
  }
1454
- function na(e) {
1455
- var t = gt(Yt(e)), n = ["absolute", "fixed"].indexOf(ae(e).position) >= 0, r = n && Z(e) ? Ot(e) : e;
1456
+ function ra(e) {
1457
+ var t = gt(Xt(e)), n = ["absolute", "fixed"].indexOf(ae(e).position) >= 0, r = n && Z(e) ? Ot(e) : e;
1456
1458
  return We(r) ? t.filter(function(o) {
1457
1459
  return We(o) && Lr(o, r) && pe(o) !== "body";
1458
1460
  }) : [];
1459
1461
  }
1460
- function ra(e, t, n, r) {
1461
- var o = t === "clippingParents" ? na(e) : [].concat(t), i = [].concat(o, [n]), s = i[0], a = i.reduce(function(c, d) {
1462
+ function oa(e, t, n, r) {
1463
+ var o = t === "clippingParents" ? ra(e) : [].concat(t), i = [].concat(o, [n]), s = i[0], a = i.reduce(function(c, d) {
1462
1464
  var u = Wn(e, d, r);
1463
1465
  return c.top = Ve(u.top, c.top), c.right = Kt(u.right, c.right), c.bottom = Kt(u.bottom, c.bottom), c.left = Ve(u.left, c.left), c;
1464
1466
  }, Wn(e, s, r));
@@ -1513,7 +1515,7 @@ function Vr(e) {
1513
1515
  }
1514
1516
  function Et(e, t) {
1515
1517
  t === void 0 && (t = {});
1516
- var n = t, r = n.placement, o = r === void 0 ? e.placement : r, i = n.strategy, s = i === void 0 ? e.strategy : i, a = n.boundary, c = a === void 0 ? Ci : a, d = n.rootBoundary, u = d === void 0 ? Nr : d, f = n.elementContext, v = f === void 0 ? pt : f, m = n.altBoundary, y = m === void 0 ? !1 : m, h = n.padding, w = h === void 0 ? 0 : h, E = _r(typeof w != "number" ? w : Pr(w, Ct)), T = v === pt ? Oi : pt, C = e.rects.popper, l = e.elements[y ? T : v], k = ra(We(l) ? l : l.contextElement || Me(e.elements.popper), c, u, s), g = nt(e.elements.reference), O = Vr({
1518
+ var n = t, r = n.placement, o = r === void 0 ? e.placement : r, i = n.strategy, s = i === void 0 ? e.strategy : i, a = n.boundary, c = a === void 0 ? Oi : a, d = n.rootBoundary, u = d === void 0 ? Nr : d, f = n.elementContext, v = f === void 0 ? pt : f, m = n.altBoundary, y = m === void 0 ? !1 : m, h = n.padding, w = h === void 0 ? 0 : h, E = _r(typeof w != "number" ? w : Pr(w, Ct)), T = v === pt ? Si : pt, C = e.rects.popper, l = e.elements[y ? T : v], k = oa(We(l) ? l : l.contextElement || Me(e.elements.popper), c, u, s), g = nt(e.elements.reference), O = Vr({
1517
1519
  reference: g,
1518
1520
  element: C,
1519
1521
  strategy: "absolute",
@@ -1533,7 +1535,7 @@ function Et(e, t) {
1533
1535
  }
1534
1536
  return I;
1535
1537
  }
1536
- function oa(e, t) {
1538
+ function ia(e, t) {
1537
1539
  t === void 0 && (t = {});
1538
1540
  var n = t, r = n.placement, o = n.boundary, i = n.rootBoundary, s = n.padding, a = n.flipVariations, c = n.allowedAutoPlacements, d = c === void 0 ? Ir : c, u = rt(r), f = u ? a ? Vn : Vn.filter(function(y) {
1539
1541
  return rt(y) === u;
@@ -1553,17 +1555,17 @@ function oa(e, t) {
1553
1555
  return m[y] - m[h];
1554
1556
  });
1555
1557
  }
1556
- function ia(e) {
1557
- if (ie(e) === Gt)
1558
+ function aa(e) {
1559
+ if (ie(e) === Yt)
1558
1560
  return [];
1559
1561
  var t = $t(e);
1560
1562
  return [jn(e), t, jn(t)];
1561
1563
  }
1562
- function aa(e) {
1564
+ function sa(e) {
1563
1565
  var t = e.state, n = e.options, r = e.name;
1564
1566
  if (!t.modifiersData[r]._skip) {
1565
- for (var o = n.mainAxis, i = o === void 0 ? !0 : o, s = n.altAxis, a = s === void 0 ? !0 : s, c = n.fallbackPlacements, d = n.padding, u = n.boundary, f = n.rootBoundary, v = n.altBoundary, m = n.flipVariations, y = m === void 0 ? !0 : m, h = n.allowedAutoPlacements, w = t.options.placement, E = ie(w), T = E === w, C = c || (T || !y ? [$t(w)] : ia(w)), l = [w].concat(C).reduce(function(he, re) {
1566
- return he.concat(ie(re) === Gt ? oa(t, {
1567
+ for (var o = n.mainAxis, i = o === void 0 ? !0 : o, s = n.altAxis, a = s === void 0 ? !0 : s, c = n.fallbackPlacements, d = n.padding, u = n.boundary, f = n.rootBoundary, v = n.altBoundary, m = n.flipVariations, y = m === void 0 ? !0 : m, h = n.allowedAutoPlacements, w = t.options.placement, E = ie(w), T = E === w, C = c || (T || !y ? [$t(w)] : aa(w)), l = [w].concat(C).reduce(function(he, re) {
1568
+ return he.concat(ie(re) === Yt ? ia(t, {
1567
1569
  placement: re,
1568
1570
  boundary: u,
1569
1571
  rootBoundary: f,
@@ -1608,11 +1610,11 @@ function aa(e) {
1608
1610
  t.placement !== B && (t.modifiersData[r]._skip = !0, t.placement = B, t.reset = !0);
1609
1611
  }
1610
1612
  }
1611
- const sa = {
1613
+ const ca = {
1612
1614
  name: "flip",
1613
1615
  enabled: !0,
1614
1616
  phase: "main",
1615
- fn: aa,
1617
+ fn: sa,
1616
1618
  requiresIfExists: ["offset"],
1617
1619
  data: {
1618
1620
  _skip: !1
@@ -1634,7 +1636,7 @@ function qn(e) {
1634
1636
  return e[t] >= 0;
1635
1637
  });
1636
1638
  }
1637
- function ca(e) {
1639
+ function la(e) {
1638
1640
  var t = e.state, n = e.name, r = t.rects.reference, o = t.rects.popper, i = t.modifiersData.preventOverflow, s = Et(t, {
1639
1641
  elementContext: "reference"
1640
1642
  }), a = Et(t, {
@@ -1650,14 +1652,14 @@ function ca(e) {
1650
1652
  "data-popper-escaped": f
1651
1653
  });
1652
1654
  }
1653
- const la = {
1655
+ const ua = {
1654
1656
  name: "hide",
1655
1657
  enabled: !0,
1656
1658
  phase: "main",
1657
1659
  requiresIfExists: ["preventOverflow"],
1658
- fn: ca
1660
+ fn: la
1659
1661
  };
1660
- function ua(e, t, n) {
1662
+ function da(e, t, n) {
1661
1663
  var r = ie(e), o = [q, U].indexOf(r) >= 0 ? -1 : 1, i = typeof n == "function" ? n(Object.assign({}, t, {
1662
1664
  placement: e
1663
1665
  })) : n, s = i[0], a = i[1];
@@ -1669,20 +1671,20 @@ function ua(e, t, n) {
1669
1671
  y: a
1670
1672
  };
1671
1673
  }
1672
- function da(e) {
1674
+ function fa(e) {
1673
1675
  var t = e.state, n = e.options, r = e.name, o = n.offset, i = o === void 0 ? [0, 0] : o, s = Ir.reduce(function(u, f) {
1674
- return u[f] = ua(f, t.rects, i), u;
1676
+ return u[f] = da(f, t.rects, i), u;
1675
1677
  }, {}), a = s[t.placement], c = a.x, d = a.y;
1676
1678
  t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += c, t.modifiersData.popperOffsets.y += d), t.modifiersData[r] = s;
1677
1679
  }
1678
- const fa = {
1680
+ const pa = {
1679
1681
  name: "offset",
1680
1682
  enabled: !0,
1681
1683
  phase: "main",
1682
1684
  requires: ["popperOffsets"],
1683
- fn: da
1685
+ fn: fa
1684
1686
  };
1685
- function pa(e) {
1687
+ function ha(e) {
1686
1688
  var t = e.state, n = e.name;
1687
1689
  t.modifiersData[n] = Vr({
1688
1690
  reference: t.rects.reference,
@@ -1691,23 +1693,23 @@ function pa(e) {
1691
1693
  placement: t.placement
1692
1694
  });
1693
1695
  }
1694
- const ha = {
1696
+ const ma = {
1695
1697
  name: "popperOffsets",
1696
1698
  enabled: !0,
1697
1699
  phase: "read",
1698
- fn: pa,
1700
+ fn: ha,
1699
1701
  data: {}
1700
1702
  };
1701
- function ma(e) {
1703
+ function va(e) {
1702
1704
  return e === "x" ? "y" : "x";
1703
1705
  }
1704
- function va(e) {
1706
+ function ga(e) {
1705
1707
  var t = e.state, n = e.options, r = e.name, o = n.mainAxis, i = o === void 0 ? !0 : o, s = n.altAxis, a = s === void 0 ? !1 : s, c = n.boundary, d = n.rootBoundary, u = n.altBoundary, f = n.padding, v = n.tether, m = v === void 0 ? !0 : v, y = n.tetherOffset, h = y === void 0 ? 0 : y, w = Et(t, {
1706
1708
  boundary: c,
1707
1709
  rootBoundary: d,
1708
1710
  padding: f,
1709
1711
  altBoundary: u
1710
- }), E = ie(t.placement), T = rt(t.placement), C = !T, l = On(E), k = ma(l), g = t.modifiersData.popperOffsets, O = t.rects.reference, L = t.rects.popper, B = typeof h == "function" ? h(Object.assign({}, t.rects, {
1712
+ }), E = ie(t.placement), T = rt(t.placement), C = !T, l = On(E), k = va(l), g = t.modifiersData.popperOffsets, O = t.rects.reference, L = t.rects.popper, B = typeof h == "function" ? h(Object.assign({}, t.rects, {
1711
1713
  placement: t.placement
1712
1714
  })) : h, I = typeof B == "number" ? {
1713
1715
  mainAxis: B,
@@ -1728,49 +1730,49 @@ function va(e) {
1728
1730
  g[l] = ct, N[l] = ct - F;
1729
1731
  }
1730
1732
  if (a) {
1731
- var lt, Rt = l === "x" ? U : q, Nt = l === "x" ? ee : te, ge = g[k], ke = k === "y" ? "height" : "width", ut = ge + w[Rt], Ie = ge - w[Nt], dt = [U, q].indexOf(E) !== -1, It = (lt = M == null ? void 0 : M[k]) != null ? lt : 0, Dt = dt ? ut : ge - O[ke] - L[ke] - It + I.altAxis, Ht = dt ? ge + O[ke] + L[ke] - It - I.altAxis : Ie, Lt = m && dt ? Vi(Dt, ge, Ht) : vt(m ? Dt : ut, ge, m ? Ht : Ie);
1733
+ var lt, Rt = l === "x" ? U : q, Nt = l === "x" ? ee : te, ge = g[k], ke = k === "y" ? "height" : "width", ut = ge + w[Rt], Ie = ge - w[Nt], dt = [U, q].indexOf(E) !== -1, It = (lt = M == null ? void 0 : M[k]) != null ? lt : 0, Dt = dt ? ut : ge - O[ke] - L[ke] - It + I.altAxis, Ht = dt ? ge + O[ke] + L[ke] - It - I.altAxis : Ie, Lt = m && dt ? Fi(Dt, ge, Ht) : vt(m ? Dt : ut, ge, m ? Ht : Ie);
1732
1734
  g[k] = Lt, N[k] = Lt - ge;
1733
1735
  }
1734
1736
  t.modifiersData[r] = N;
1735
1737
  }
1736
1738
  }
1737
- const ga = {
1739
+ const ya = {
1738
1740
  name: "preventOverflow",
1739
1741
  enabled: !0,
1740
1742
  phase: "main",
1741
- fn: va,
1743
+ fn: ga,
1742
1744
  requiresIfExists: ["offset"]
1743
1745
  };
1744
- function ya(e) {
1746
+ function ba(e) {
1745
1747
  return {
1746
1748
  scrollLeft: e.scrollLeft,
1747
1749
  scrollTop: e.scrollTop
1748
1750
  };
1749
1751
  }
1750
- function ba(e) {
1751
- return e === ne(e) || !Z(e) ? Sn(e) : ya(e);
1752
- }
1753
1752
  function wa(e) {
1753
+ return e === ne(e) || !Z(e) ? Sn(e) : ba(e);
1754
+ }
1755
+ function Ea(e) {
1754
1756
  var t = e.getBoundingClientRect(), n = tt(t.width) / e.offsetWidth || 1, r = tt(t.height) / e.offsetHeight || 1;
1755
1757
  return n !== 1 || r !== 1;
1756
1758
  }
1757
- function Ea(e, t, n) {
1759
+ function ka(e, t, n) {
1758
1760
  n === void 0 && (n = !1);
1759
- var r = Z(t), o = Z(t) && wa(t), i = Me(t), s = nt(e, o, n), a = {
1761
+ var r = Z(t), o = Z(t) && Ea(t), i = Me(t), s = nt(e, o, n), a = {
1760
1762
  scrollLeft: 0,
1761
1763
  scrollTop: 0
1762
1764
  }, c = {
1763
1765
  x: 0,
1764
1766
  y: 0
1765
1767
  };
1766
- return (r || !r && !n) && ((pe(t) !== "body" || Mn(i)) && (a = ba(t)), Z(t) ? (c = nt(t, !0), c.x += t.clientLeft, c.y += t.clientTop) : i && (c.x = An(i))), {
1768
+ return (r || !r && !n) && ((pe(t) !== "body" || Mn(i)) && (a = wa(t)), Z(t) ? (c = nt(t, !0), c.x += t.clientLeft, c.y += t.clientTop) : i && (c.x = An(i))), {
1767
1769
  x: s.left + a.scrollLeft - c.x,
1768
1770
  y: s.top + a.scrollTop - c.y,
1769
1771
  width: s.width,
1770
1772
  height: s.height
1771
1773
  };
1772
1774
  }
1773
- function ka(e) {
1775
+ function xa(e) {
1774
1776
  var t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), r = [];
1775
1777
  e.forEach(function(i) {
1776
1778
  t.set(i.name, i);
@@ -1789,15 +1791,15 @@ function ka(e) {
1789
1791
  n.has(i.name) || o(i);
1790
1792
  }), r;
1791
1793
  }
1792
- function xa(e) {
1793
- var t = ka(e);
1794
+ function Ta(e) {
1795
+ var t = xa(e);
1794
1796
  return mn.reduce(function(n, r) {
1795
1797
  return n.concat(t.filter(function(o) {
1796
1798
  return o.phase === r;
1797
1799
  }));
1798
1800
  }, []);
1799
1801
  }
1800
- function Ta(e) {
1802
+ function Ca(e) {
1801
1803
  var t;
1802
1804
  return function() {
1803
1805
  return t || (t = new Promise(function(n) {
@@ -1814,8 +1816,8 @@ function xe(e) {
1814
1816
  return o.replace(/%s/, i);
1815
1817
  }, e);
1816
1818
  }
1817
- var He = 'Popper: modifier "%s" provided an invalid %s property, expected %s but got %s', Ca = 'Popper: modifier "%s" requires "%s", but "%s" modifier is not available', Kn = ["name", "enabled", "phase", "fn", "effect", "requires", "options"];
1818
- function Oa(e) {
1819
+ var He = 'Popper: modifier "%s" provided an invalid %s property, expected %s but got %s', Oa = 'Popper: modifier "%s" requires "%s", but "%s" modifier is not available', Kn = ["name", "enabled", "phase", "fn", "effect", "requires", "options"];
1820
+ function Sa(e) {
1819
1821
  e.forEach(function(t) {
1820
1822
  [].concat(Object.keys(t), Kn).filter(function(n, r, o) {
1821
1823
  return o.indexOf(n) === r;
@@ -1853,12 +1855,12 @@ function Oa(e) {
1853
1855
  t.requires && t.requires.forEach(function(r) {
1854
1856
  e.find(function(o) {
1855
1857
  return o.name === r;
1856
- }) == null && console.error(xe(Ca, String(t.name), r, r));
1858
+ }) == null && console.error(xe(Oa, String(t.name), r, r));
1857
1859
  });
1858
1860
  });
1859
1861
  });
1860
1862
  }
1861
- function Sa(e, t) {
1863
+ function Aa(e, t) {
1862
1864
  var n = /* @__PURE__ */ new Set();
1863
1865
  return e.filter(function(r) {
1864
1866
  var o = t(r);
@@ -1866,7 +1868,7 @@ function Sa(e, t) {
1866
1868
  return n.add(o), !0;
1867
1869
  });
1868
1870
  }
1869
- function Aa(e) {
1871
+ function Ma(e) {
1870
1872
  var t = e.reduce(function(n, r) {
1871
1873
  var o = n[r.name];
1872
1874
  return n[r.name] = o ? Object.assign({}, o, r, {
@@ -1878,7 +1880,7 @@ function Aa(e) {
1878
1880
  return t[n];
1879
1881
  });
1880
1882
  }
1881
- var Jn = "Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.", Ma = "Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.", Gn = {
1883
+ var Jn = "Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.", Ra = "Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.", Gn = {
1882
1884
  placement: "bottom",
1883
1885
  modifiers: [],
1884
1886
  strategy: "absolute"
@@ -1890,7 +1892,7 @@ function Yn() {
1890
1892
  return !(r && typeof r.getBoundingClientRect == "function");
1891
1893
  });
1892
1894
  }
1893
- function Ra(e) {
1895
+ function Na(e) {
1894
1896
  e === void 0 && (e = {});
1895
1897
  var t = e, n = t.defaultModifiers, r = n === void 0 ? [] : n, o = t.defaultOptions, i = o === void 0 ? Gn : o;
1896
1898
  return function(a, c, d) {
@@ -1914,15 +1916,15 @@ function Ra(e) {
1914
1916
  reference: We(a) ? gt(a) : a.contextElement ? gt(a.contextElement) : [],
1915
1917
  popper: gt(c)
1916
1918
  };
1917
- var C = xa(Aa([].concat(r, u.options.modifiers)));
1919
+ var C = Ta(Ma([].concat(r, u.options.modifiers)));
1918
1920
  if (u.orderedModifiers = C.filter(function(M) {
1919
1921
  return M.enabled;
1920
1922
  }), process.env.NODE_ENV !== "production") {
1921
- var l = Sa([].concat(C, u.options.modifiers), function(M) {
1923
+ var l = Aa([].concat(C, u.options.modifiers), function(M) {
1922
1924
  var N = M.name;
1923
1925
  return N;
1924
1926
  });
1925
- if (Oa(l), ie(u.options.placement) === Gt) {
1927
+ if (Sa(l), ie(u.options.placement) === Yt) {
1926
1928
  var k = u.orderedModifiers.find(function(M) {
1927
1929
  var N = M.name;
1928
1930
  return N === "flip";
@@ -1944,14 +1946,14 @@ function Ra(e) {
1944
1946
  return;
1945
1947
  }
1946
1948
  u.rects = {
1947
- reference: Ea(T, Ot(C), u.options.strategy === "fixed"),
1949
+ reference: ka(T, Ot(C), u.options.strategy === "fixed"),
1948
1950
  popper: Cn(C)
1949
1951
  }, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(M) {
1950
1952
  return u.modifiersData[M.name] = Object.assign({}, M.data);
1951
1953
  });
1952
1954
  for (var l = 0, k = 0; k < u.orderedModifiers.length; k++) {
1953
1955
  if (process.env.NODE_ENV !== "production" && (l += 1, l > 100)) {
1954
- console.error(Ma);
1956
+ console.error(Ra);
1955
1957
  break;
1956
1958
  }
1957
1959
  if (u.reset === !0) {
@@ -1968,7 +1970,7 @@ function Ra(e) {
1968
1970
  }
1969
1971
  }
1970
1972
  },
1971
- update: Ta(function() {
1973
+ update: Ca(function() {
1972
1974
  return new Promise(function(w) {
1973
1975
  m.forceUpdate(), w(u);
1974
1976
  });
@@ -2005,15 +2007,15 @@ function Ra(e) {
2005
2007
  return m;
2006
2008
  };
2007
2009
  }
2008
- var Na = [Yi, ha, Ji, Dr, fa, sa, ga, Wi, la], Ia = /* @__PURE__ */ Ra({
2009
- defaultModifiers: Na
2010
- }), Da = "tippy-box", Fr = "tippy-content", Ha = "tippy-backdrop", $r = "tippy-arrow", jr = "tippy-svg-arrow", Le = {
2010
+ var Ia = [Xi, ma, Gi, Dr, pa, ca, ya, Ui, ua], Da = /* @__PURE__ */ Na({
2011
+ defaultModifiers: Ia
2012
+ }), Ha = "tippy-box", Fr = "tippy-content", La = "tippy-backdrop", $r = "tippy-arrow", jr = "tippy-svg-arrow", Le = {
2011
2013
  passive: !0,
2012
2014
  capture: !0
2013
2015
  }, Wr = function() {
2014
2016
  return document.body;
2015
2017
  };
2016
- function La(e, t) {
2018
+ function Ba(e, t) {
2017
2019
  return {}.hasOwnProperty.call(e, t);
2018
2020
  }
2019
2021
  function on(e, t, n) {
@@ -2040,13 +2042,13 @@ function Xn(e, t) {
2040
2042
  }, t);
2041
2043
  };
2042
2044
  }
2043
- function Ba(e, t) {
2045
+ function _a(e, t) {
2044
2046
  var n = Object.assign({}, e);
2045
2047
  return t.forEach(function(r) {
2046
2048
  delete n[r];
2047
2049
  }), n;
2048
2050
  }
2049
- function _a(e) {
2051
+ function Pa(e) {
2050
2052
  return e.split(/\s+/).filter(Boolean);
2051
2053
  }
2052
2054
  function Qe(e) {
@@ -2055,12 +2057,12 @@ function Qe(e) {
2055
2057
  function Zn(e, t) {
2056
2058
  e.indexOf(t) === -1 && e.push(t);
2057
2059
  }
2058
- function Pa(e) {
2060
+ function za(e) {
2059
2061
  return e.filter(function(t, n) {
2060
2062
  return e.indexOf(t) === n;
2061
2063
  });
2062
2064
  }
2063
- function za(e) {
2065
+ function Va(e) {
2064
2066
  return e.split("-")[0];
2065
2067
  }
2066
2068
  function Jt(e) {
@@ -2079,17 +2081,17 @@ function kt(e) {
2079
2081
  return Rn(e, t);
2080
2082
  });
2081
2083
  }
2082
- function Va(e) {
2084
+ function Fa(e) {
2083
2085
  return Rn(e, "NodeList");
2084
2086
  }
2085
- function Fa(e) {
2087
+ function $a(e) {
2086
2088
  return Rn(e, "MouseEvent");
2087
2089
  }
2088
- function $a(e) {
2090
+ function ja(e) {
2089
2091
  return !!(e && e._tippy && e._tippy.reference === e);
2090
2092
  }
2091
- function ja(e) {
2092
- return kt(e) ? [e] : Va(e) ? Jt(e) : Array.isArray(e) ? e : Jt(document.querySelectorAll(e));
2093
+ function Wa(e) {
2094
+ return kt(e) ? [e] : Fa(e) ? Jt(e) : Array.isArray(e) ? e : Jt(document.querySelectorAll(e));
2093
2095
  }
2094
2096
  function an(e, t) {
2095
2097
  e.forEach(function(n) {
@@ -2101,14 +2103,14 @@ function er(e, t) {
2101
2103
  n && n.setAttribute("data-state", t);
2102
2104
  });
2103
2105
  }
2104
- function Wa(e) {
2106
+ function Ua(e) {
2105
2107
  var t, n = Qe(e), r = n[0];
2106
2108
  return r != null && (t = r.ownerDocument) != null && t.body ? r.ownerDocument : document;
2107
2109
  }
2108
- function Ua(e, t) {
2110
+ function qa(e, t) {
2109
2111
  var n = t.clientX, r = t.clientY;
2110
2112
  return e.every(function(o) {
2111
- var i = o.popperRect, s = o.popperState, a = o.props, c = a.interactiveBorder, d = za(s.placement), u = s.modifiersData.offset;
2113
+ var i = o.popperRect, s = o.popperState, a = o.props, c = a.interactiveBorder, d = Va(s.placement), u = s.modifiersData.offset;
2112
2114
  if (!u)
2113
2115
  return !0;
2114
2116
  var f = d === "bottom" ? u.top.y : 0, v = d === "top" ? u.bottom.y : 0, m = d === "right" ? u.left.x : 0, y = d === "left" ? u.right.x : 0, h = i.top - r + f > c, w = r - i.bottom - v > c, E = i.left - n + m > c, T = n - i.right - y > c;
@@ -2133,24 +2135,24 @@ function tr(e, t) {
2133
2135
  var de = {
2134
2136
  isTouch: !1
2135
2137
  }, nr = 0;
2136
- function qa() {
2138
+ function Ka() {
2137
2139
  de.isTouch || (de.isTouch = !0, window.performance && document.addEventListener("mousemove", qr));
2138
2140
  }
2139
2141
  function qr() {
2140
2142
  var e = performance.now();
2141
2143
  e - nr < 20 && (de.isTouch = !1, document.removeEventListener("mousemove", qr)), nr = e;
2142
2144
  }
2143
- function Ka() {
2145
+ function Ja() {
2144
2146
  var e = document.activeElement;
2145
- if ($a(e)) {
2147
+ if (ja(e)) {
2146
2148
  var t = e._tippy;
2147
2149
  e.blur && !t.state.isVisible && e.blur();
2148
2150
  }
2149
2151
  }
2150
- function Ja() {
2151
- document.addEventListener("touchstart", qa, Le), window.addEventListener("blur", Ka);
2152
+ function Ga() {
2153
+ document.addEventListener("touchstart", Ka, Le), window.addEventListener("blur", Ja);
2152
2154
  }
2153
- var Ga = typeof window < "u" && typeof document < "u", Ya = Ga ? !!window.msCrypto : !1;
2155
+ var Ya = typeof window < "u" && typeof document < "u", Xa = Ya ? !!window.msCrypto : !1;
2154
2156
  function Ye(e) {
2155
2157
  var t = e === "destroy" ? "n already-" : " ";
2156
2158
  return [e + "() was called on a" + t + "destroyed instance. This is a no-op but", "indicates a potential memory leak."].join(" ");
@@ -2159,7 +2161,7 @@ function rr(e) {
2159
2161
  var t = /[ \t]{2,}/g, n = /^[ \t]*/gm;
2160
2162
  return e.replace(t, " ").replace(n, "").trim();
2161
2163
  }
2162
- function Xa(e) {
2164
+ function Za(e) {
2163
2165
  return rr(`
2164
2166
  %ctippy.js
2165
2167
 
@@ -2170,15 +2172,15 @@ function Xa(e) {
2170
2172
  }
2171
2173
  function Kr(e) {
2172
2174
  return [
2173
- Xa(e),
2175
+ Za(e),
2174
2176
  "color: #00C584; font-size: 1.3em; font-weight: bold;",
2175
2177
  "line-height: 1.5",
2176
2178
  "color: #a6a095;"
2177
2179
  ];
2178
2180
  }
2179
2181
  var xt;
2180
- process.env.NODE_ENV !== "production" && Za();
2181
- function Za() {
2182
+ process.env.NODE_ENV !== "production" && Qa();
2183
+ function Qa() {
2182
2184
  xt = /* @__PURE__ */ new Set();
2183
2185
  }
2184
2186
  function ye(e, t) {
@@ -2193,7 +2195,7 @@ function yn(e, t) {
2193
2195
  xt.add(t), (n = console).error.apply(n, Kr(t));
2194
2196
  }
2195
2197
  }
2196
- function Qa(e) {
2198
+ function es(e) {
2197
2199
  var t = !e, n = Object.prototype.toString.call(e) === "[object Object]" && !e.addEventListener;
2198
2200
  yn(t, ["tippy() was passed", "`" + String(e) + "`", "as its targets (first) argument. Valid types are: String, Element,", "Element[], or NodeList."].join(" ")), yn(n, ["tippy() was passed a plain object which is not supported as an argument", "for virtual positioning. Use props.getReferenceClientRect instead."].join(" "));
2199
2201
  }
@@ -2202,7 +2204,7 @@ var Jr = {
2202
2204
  followCursor: !1,
2203
2205
  inlinePositioning: !1,
2204
2206
  sticky: !1
2205
- }, es = {
2207
+ }, ts = {
2206
2208
  allowHTML: !1,
2207
2209
  animation: "fade",
2208
2210
  arrow: !0,
@@ -2260,7 +2262,7 @@ var Jr = {
2260
2262
  touch: !0,
2261
2263
  trigger: "mouseenter focus",
2262
2264
  triggerTarget: null
2263
- }, Jr, es), ts = Object.keys(Y), ns = function(t) {
2265
+ }, Jr, ts), ns = Object.keys(Y), rs = function(t) {
2264
2266
  process.env.NODE_ENV !== "production" && Yr(t, []);
2265
2267
  var n = Object.keys(t);
2266
2268
  n.forEach(function(r) {
@@ -2278,10 +2280,10 @@ function Gr(e) {
2278
2280
  }, {});
2279
2281
  return Object.assign({}, e, n);
2280
2282
  }
2281
- function rs(e, t) {
2283
+ function os(e, t) {
2282
2284
  var n = t ? Object.keys(Gr(Object.assign({}, Y, {
2283
2285
  plugins: t
2284
- }))) : ts, r = n.reduce(function(o, i) {
2286
+ }))) : ns, r = n.reduce(function(o, i) {
2285
2287
  var s = (e.getAttribute("data-tippy-" + i) || "").trim();
2286
2288
  if (!s)
2287
2289
  return o;
@@ -2300,7 +2302,7 @@ function rs(e, t) {
2300
2302
  function or(e, t) {
2301
2303
  var n = Object.assign({}, t, {
2302
2304
  content: Ur(t.content, [e])
2303
- }, t.ignoreAttributes ? {} : rs(e, t.plugins));
2305
+ }, t.ignoreAttributes ? {} : os(e, t.plugins));
2304
2306
  return n.aria = Object.assign({}, Y.aria, n.aria), n.aria = {
2305
2307
  expanded: n.aria.expanded === "auto" ? t.interactive : n.aria.expanded,
2306
2308
  content: n.aria.content === "auto" ? t.interactive ? null : "describedby" : n.aria.content
@@ -2310,7 +2312,7 @@ function Yr(e, t) {
2310
2312
  e === void 0 && (e = {}), t === void 0 && (t = []);
2311
2313
  var n = Object.keys(e);
2312
2314
  n.forEach(function(r) {
2313
- var o = Ba(Y, Object.keys(Jr)), i = !La(o, r);
2315
+ var o = _a(Y, Object.keys(Jr)), i = !Ba(o, r);
2314
2316
  i && (i = t.filter(function(s) {
2315
2317
  return s.name === r;
2316
2318
  }).length === 0), ye(i, ["`" + r + "`", "is not a valid prop. You may have spelled it incorrectly, or if it's", "a plugin, forgot to pass it in an array as props.plugins.", `
@@ -2319,11 +2321,11 @@ function Yr(e, t) {
2319
2321
  `, "Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "));
2320
2322
  });
2321
2323
  }
2322
- var os = function() {
2324
+ var is = function() {
2323
2325
  return "innerHTML";
2324
2326
  };
2325
2327
  function bn(e, t) {
2326
- e[os()] = t;
2328
+ e[is()] = t;
2327
2329
  }
2328
2330
  function ir(e) {
2329
2331
  var t = yt();
@@ -2343,13 +2345,13 @@ function wn(e) {
2343
2345
  return r.classList.contains($r) || r.classList.contains(jr);
2344
2346
  }),
2345
2347
  backdrop: n.find(function(r) {
2346
- return r.classList.contains(Ha);
2348
+ return r.classList.contains(La);
2347
2349
  })
2348
2350
  };
2349
2351
  }
2350
2352
  function Xr(e) {
2351
2353
  var t = yt(), n = yt();
2352
- n.className = Da, n.setAttribute("data-state", "hidden"), n.setAttribute("tabindex", "-1");
2354
+ n.className = Ha, n.setAttribute("data-state", "hidden"), n.setAttribute("tabindex", "-1");
2353
2355
  var r = yt();
2354
2356
  r.className = Fr, r.setAttribute("data-state", "hidden"), ar(r, e.props), t.appendChild(n), n.appendChild(r), o(e.props, e.props);
2355
2357
  function o(i, s) {
@@ -2362,9 +2364,9 @@ function Xr(e) {
2362
2364
  };
2363
2365
  }
2364
2366
  Xr.$$tippy = !0;
2365
- var is = 1, zt = [], cn = [];
2366
- function as(e, t) {
2367
- var n = or(e, Object.assign({}, Y, Gr(Qn(t)))), r, o, i, s = !1, a = !1, c = !1, d = !1, u, f, v, m = [], y = Xn(At, n.interactiveDebounce), h, w = is++, E = null, T = Pa(n.plugins), C = {
2367
+ var as = 1, zt = [], cn = [];
2368
+ function ss(e, t) {
2369
+ var n = or(e, Object.assign({}, Y, Gr(Qn(t)))), r, o, i, s = !1, a = !1, c = !1, d = !1, u, f, v, m = [], y = Xn(At, n.interactiveDebounce), h, w = as++, E = null, T = za(n.plugins), C = {
2368
2370
  isEnabled: !0,
2369
2371
  isVisible: !1,
2370
2372
  isDestroyed: !1,
@@ -2417,7 +2419,7 @@ function as(e, t) {
2417
2419
  }
2418
2420
  function K() {
2419
2421
  var p = D().parentNode;
2420
- return p ? Wa(p) : document;
2422
+ return p ? Ua(p) : document;
2421
2423
  }
2422
2424
  function J() {
2423
2425
  return wn(g);
@@ -2529,14 +2531,14 @@ function as(e, t) {
2529
2531
  passive: !0
2530
2532
  }), Ee("touchend", Mt, {
2531
2533
  passive: !0
2532
- })), _a(l.props.trigger).forEach(function(p) {
2534
+ })), Pa(l.props.trigger).forEach(function(p) {
2533
2535
  if (p !== "manual")
2534
2536
  switch (Ee(p, st), p) {
2535
2537
  case "mouseenter":
2536
2538
  Ee("mouseleave", Mt);
2537
2539
  break;
2538
2540
  case "focus":
2539
- Ee(Ya ? "focusout" : "blur", ct);
2541
+ Ee(Xa ? "focusout" : "blur", ct);
2540
2542
  break;
2541
2543
  case "focusin":
2542
2544
  Ee("focusout", ct);
@@ -2554,7 +2556,7 @@ function as(e, t) {
2554
2556
  var b, x = !1;
2555
2557
  if (!(!l.state.isEnabled || lt(p) || a)) {
2556
2558
  var R = ((b = u) == null ? void 0 : b.type) === "focus";
2557
- u = p, h = p.currentTarget, ce(), !l.state.isVisible && Fa(p) && zt.forEach(function(S) {
2559
+ u = p, h = p.currentTarget, ce(), !l.state.isVisible && $a(p) && zt.forEach(function(S) {
2558
2560
  return S(p);
2559
2561
  }), p.type === "click" && (l.props.trigger.indexOf("mouseenter") < 0 || s) && l.props.hideOnClick !== !1 && l.state.isVisible ? x = !0 : ut(p), p.type === "click" && (s = !x), x && !R && Ie(p);
2560
2562
  }
@@ -2570,7 +2572,7 @@ function as(e, t) {
2570
2572
  props: n
2571
2573
  } : null;
2572
2574
  }).filter(Boolean);
2573
- Ua(R, p) && (Re(), Ie(p));
2575
+ qa(R, p) && (Re(), Ie(p));
2574
2576
  }
2575
2577
  }
2576
2578
  function Mt(p) {
@@ -2640,7 +2642,7 @@ function as(e, t) {
2640
2642
  element: Q,
2641
2643
  padding: 3
2642
2644
  }
2643
- }), De.push.apply(De, (b == null ? void 0 : b.modifiers) || []), l.popperInstance = Ia(Je, g, Object.assign({}, b, {
2645
+ }), De.push.apply(De, (b == null ? void 0 : b.modifiers) || []), l.popperInstance = Da(Je, g, Object.assign({}, b, {
2644
2646
  placement: x,
2645
2647
  onFirstUpdate: v,
2646
2648
  modifiers: De
@@ -2760,10 +2762,10 @@ function as(e, t) {
2760
2762
  function at(e, t) {
2761
2763
  t === void 0 && (t = {});
2762
2764
  var n = Y.plugins.concat(t.plugins || []);
2763
- process.env.NODE_ENV !== "production" && (Qa(e), Yr(t, n)), Ja();
2765
+ process.env.NODE_ENV !== "production" && (es(e), Yr(t, n)), Ga();
2764
2766
  var r = Object.assign({}, t, {
2765
2767
  plugins: n
2766
- }), o = ja(e);
2768
+ }), o = Wa(e);
2767
2769
  if (process.env.NODE_ENV !== "production") {
2768
2770
  var i = kt(r.content), s = o.length > 1;
2769
2771
  ye(i && s, ["tippy() was passed an Element as the `content` prop, but more than", "one tippy instance was created by this invocation. This means the", "content element will only be appended to the last tippy instance.", `
@@ -2774,13 +2776,13 @@ function at(e, t) {
2774
2776
  `, "2) content: () => element.cloneNode(true)"].join(" "));
2775
2777
  }
2776
2778
  var a = o.reduce(function(c, d) {
2777
- var u = d && as(d, r);
2779
+ var u = d && ss(d, r);
2778
2780
  return u && c.push(u), c;
2779
2781
  }, []);
2780
2782
  return kt(e) ? a[0] : a;
2781
2783
  }
2782
2784
  at.defaultProps = Y;
2783
- at.setDefaultProps = ns;
2785
+ at.setDefaultProps = rs;
2784
2786
  at.currentInput = de;
2785
2787
  Object.assign({}, Dr, {
2786
2788
  effect: function(t) {
@@ -2802,7 +2804,7 @@ Object.assign({}, Dr, {
2802
2804
  at.setDefaultProps({
2803
2805
  render: Xr
2804
2806
  });
2805
- class ss {
2807
+ class cs {
2806
2808
  constructor({
2807
2809
  editor: t,
2808
2810
  element: n,
@@ -2915,9 +2917,9 @@ class ss {
2915
2917
  }), this.view.dom.removeEventListener("mousedown", this.viewMousedownHandler), this.view.dom.removeEventListener("mouseup", this.viewMouseupHandler), this.view.dom.removeEventListener("dragstart", this.dragstartHandler), this.editor.off("focus", this.focusHandler), this.editor.off("blur", this.blurHandler);
2916
2918
  }
2917
2919
  }
2918
- const cs = (e) => new we({
2920
+ const ls = (e) => new we({
2919
2921
  key: new be("BubbleMenuPlugin"),
2920
- view: (t) => new ss({ view: t, ...e })
2922
+ view: (t) => new cs({ view: t, ...e })
2921
2923
  });
2922
2924
  var Zr = {
2923
2925
  color: void 0,
@@ -2934,7 +2936,7 @@ var Zr = {
2934
2936
  }
2935
2937
  return e;
2936
2938
  }, Se.apply(this, arguments);
2937
- }, ls = globalThis && globalThis.__rest || function(e, t) {
2939
+ }, us = globalThis && globalThis.__rest || function(e, t) {
2938
2940
  var n = {};
2939
2941
  for (var r in e)
2940
2942
  Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
@@ -2952,14 +2954,14 @@ function Qr(e) {
2952
2954
  }
2953
2955
  function z(e) {
2954
2956
  return function(t) {
2955
- return A.createElement(us, Se({
2957
+ return A.createElement(ds, Se({
2956
2958
  attr: Se({}, e.attr)
2957
2959
  }, t), Qr(e.child));
2958
2960
  };
2959
2961
  }
2960
- function us(e) {
2962
+ function ds(e) {
2961
2963
  var t = function(n) {
2962
- var r = e.attr, o = e.size, i = e.title, s = ls(e, ["attr", "size", "title"]), a = o || n.size || "1em", c;
2964
+ var r = e.attr, o = e.size, i = e.title, s = us(e, ["attr", "size", "title"]), a = o || n.size || "1em", c;
2963
2965
  return n.className && (c = n.className), e.className && (c = (c ? c + " " : "") + e.className), A.createElement("svg", Se({
2964
2966
  stroke: "currentColor",
2965
2967
  fill: "currentColor",
@@ -2978,7 +2980,7 @@ function us(e) {
2978
2980
  return t(n);
2979
2981
  }) : t(Zr);
2980
2982
  }
2981
- function ds(e) {
2983
+ function fs(e) {
2982
2984
  return z({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "g", attr: {}, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" } }, { tag: "path", attr: { d: "M8 11h4.5a2.5 2.5 0 1 0 0-5H8v5zm10 4.5a4.5 4.5 0 0 1-4.5 4.5H6V4h6.5a4.5 4.5 0 0 1 3.256 7.606A4.498 4.498 0 0 1 18 15.5zM8 13v5h5.5a2.5 2.5 0 1 0 0-5H8z" } }] }] })(e);
2983
2985
  }
2984
2986
  function eo(e) {
@@ -2990,16 +2992,16 @@ function to(e) {
2990
2992
  function no(e) {
2991
2993
  return z({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "g", attr: {}, child: [{ tag: "path", attr: { fill: "none", d: "M0 0H24V24H0z" } }, { tag: "path", attr: { d: "M22 8l-.002 2-2.505 2.883c1.59.435 2.757 1.89 2.757 3.617 0 2.071-1.679 3.75-3.75 3.75-1.826 0-3.347-1.305-3.682-3.033l1.964-.382c.156.806.866 1.415 1.718 1.415.966 0 1.75-.784 1.75-1.75s-.784-1.75-1.75-1.75c-.286 0-.556.069-.794.19l-1.307-1.547L19.35 10H15V8h7zM4 4v7h7V4h2v16h-2v-7H4v7H2V4h2z" } }] }] })(e);
2992
2994
  }
2993
- function fs(e) {
2995
+ function ps(e) {
2994
2996
  return z({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "g", attr: {}, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" } }, { tag: "path", attr: { d: "M3 4h18v2H3V4zm0 15h18v2H3v-2zm8-5h10v2H11v-2zm0-5h10v2H11V9zm-8 3.5L7 9v7l-4-3.5z" } }] }] })(e);
2995
2997
  }
2996
- function ps(e) {
2998
+ function hs(e) {
2997
2999
  return z({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "g", attr: {}, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" } }, { tag: "path", attr: { d: "M3 4h18v2H3V4zm0 15h18v2H3v-2zm8-5h10v2H11v-2zm0-5h10v2H11V9zm-4 3.5L3 16V9l4 3.5z" } }] }] })(e);
2998
3000
  }
2999
- function hs(e) {
3001
+ function ms(e) {
3000
3002
  return z({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "g", attr: {}, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" } }, { tag: "path", attr: { d: "M15 20H7v-2h2.927l2.116-12H9V4h8v2h-2.927l-2.116 12H15z" } }] }] })(e);
3001
3003
  }
3002
- function ms(e) {
3004
+ function vs(e) {
3003
3005
  return z({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "g", attr: {}, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" } }, { tag: "path", attr: { d: "M17 17h5v2h-3v3h-2v-5zM7 7H2V5h3V2h2v5zm11.364 8.536L16.95 14.12l1.414-1.414a5 5 0 1 0-7.071-7.071L9.879 7.05 8.464 5.636 9.88 4.222a7 7 0 0 1 9.9 9.9l-1.415 1.414zm-2.828 2.828l-1.415 1.414a7 7 0 0 1-9.9-9.9l1.415-1.414L7.05 9.88l-1.414 1.414a5 5 0 1 0 7.071 7.071l1.414-1.414 1.415 1.414zm-.708-10.607l1.415 1.415-7.071 7.07-1.415-1.414 7.071-7.07z" } }] }] })(e);
3004
3006
  }
3005
3007
  function ro(e) {
@@ -3011,30 +3013,30 @@ function oo(e) {
3011
3013
  function io(e) {
3012
3014
  return z({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "g", attr: {}, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" } }, { tag: "path", attr: { d: "M8 4h13v2H8V4zM4.5 6.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm0 7a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zm0 6.9a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3zM8 11h13v2H8v-2zm0 7h13v2H8v-2z" } }] }] })(e);
3013
3015
  }
3014
- function vs(e) {
3016
+ function gs(e) {
3015
3017
  return z({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "g", attr: {}, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" } }, { tag: "path", attr: { d: "M17.154 14c.23.516.346 1.09.346 1.72 0 1.342-.524 2.392-1.571 3.147C14.88 19.622 13.433 20 11.586 20c-1.64 0-3.263-.381-4.87-1.144V16.6c1.52.877 3.075 1.316 4.666 1.316 2.551 0 3.83-.732 3.839-2.197a2.21 2.21 0 0 0-.648-1.603l-.12-.117H3v-2h18v2h-3.846zm-4.078-3H7.629a4.086 4.086 0 0 1-.481-.522C6.716 9.92 6.5 9.246 6.5 8.452c0-1.236.466-2.287 1.397-3.153C8.83 4.433 10.271 4 12.222 4c1.471 0 2.879.328 4.222.984v2.152c-1.2-.687-2.515-1.03-3.946-1.03-2.48 0-3.719.782-3.719 2.346 0 .42.218.786.654 1.099.436.313.974.562 1.613.75.62.18 1.297.414 2.03.699z" } }] }] })(e);
3016
3018
  }
3017
3019
  function Nn(e) {
3018
3020
  return z({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "g", attr: {}, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" } }, { tag: "path", attr: { d: "M13 6v15h-2V6H5V4h14v2z" } }] }] })(e);
3019
3021
  }
3020
- function gs(e) {
3022
+ function ys(e) {
3021
3023
  return z({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "g", attr: {}, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" } }, { tag: "path", attr: { d: "M8 3v9a4 4 0 1 0 8 0V3h2v9a6 6 0 1 1-12 0V3h2zM4 20h16v2H4v-2z" } }] }] })(e);
3022
3024
  }
3023
- function ys(e) {
3025
+ function bs(e) {
3024
3026
  return z({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "g", attr: {}, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" } }, { tag: "path", attr: { d: "M10 6v2H5v11h11v-5h2v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h6zm11-3v9l-3.794-3.793-5.999 6-1.414-1.414 5.999-6L12 3h9z" } }] }] })(e);
3025
3027
  }
3026
- const bs = "_icon_1sxr9_1", ws = "_isSelected_1sxr9_7", Es = "_isDisabled_1sxr9_11", ln = {
3027
- icon: bs,
3028
- isSelected: ws,
3029
- isDisabled: Es
3030
- }, ks = "_tooltip_mmzq3_1", xs = "_secondaryText_mmzq3_12", cr = {
3031
- tooltip: ks,
3032
- secondaryText: xs
3028
+ const ws = "_icon_1sxr9_1", Es = "_isSelected_1sxr9_7", ks = "_isDisabled_1sxr9_11", ln = {
3029
+ icon: ws,
3030
+ isSelected: Es,
3031
+ isDisabled: ks
3032
+ }, xs = "_tooltip_mmzq3_1", Ts = "_secondaryText_mmzq3_12", cr = {
3033
+ tooltip: xs,
3034
+ secondaryText: Ts
3033
3035
  }, En = (e) => /* @__PURE__ */ React.createElement("div", {
3034
3036
  className: cr.tooltip
3035
3037
  }, /* @__PURE__ */ React.createElement("div", null, e.mainTooltip), e.secondaryTooltip && /* @__PURE__ */ React.createElement("div", {
3036
3038
  className: cr.secondaryText
3037
- }, e.secondaryTooltip)), fe = zo(
3039
+ }, e.secondaryTooltip)), fe = $o(
3038
3040
  (e, t) => {
3039
3041
  const n = e.icon;
3040
3042
  return /* @__PURE__ */ A.createElement($e, {
@@ -3053,18 +3055,18 @@ const bs = "_icon_1sxr9_1", ws = "_isSelected_1sxr9_7", Es = "_isDisabled_1sxr9_
3053
3055
  })
3054
3056
  }, e.children));
3055
3057
  }
3056
- ), Ts = "_toolbar_1rs9g_1", Cs = {
3057
- toolbar: Ts
3058
+ ), Cs = "_toolbar_1rs9g_1", Os = {
3059
+ toolbar: Cs
3058
3060
  }, ao = (e) => /* @__PURE__ */ React.createElement("div", {
3059
- className: Cs.toolbar
3061
+ className: Os.toolbar
3060
3062
  }, e.children);
3061
- function Os() {
3063
+ function Ss() {
3062
3064
  const [, e] = Fe(0);
3063
3065
  return () => e((t) => t + 1);
3064
3066
  }
3065
- const Ss = (e) => {
3066
- const t = Os();
3067
- Vo(() => {
3067
+ const As = (e) => {
3068
+ const t = Ss();
3069
+ jo(() => {
3068
3070
  const n = () => {
3069
3071
  requestAnimationFrame(() => {
3070
3072
  requestAnimationFrame(() => {
@@ -3101,15 +3103,32 @@ if (typeof navigator < "u") {
3101
3103
  function G(e) {
3102
3104
  return j.ios || j.mac ? e.replace("Mod", "\u2318") : e.replace("Mod", "Ctrl");
3103
3105
  }
3104
- var As = "#EBECF0", Ms = "#97A0AF", Rs = "#505F79", Ns = "#172B4D";
3105
- const Is = it.input`
3106
+ function Ms(e) {
3107
+ return z({ tag: "svg", attr: { version: "1.2", baseProfile: "tiny", viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M16.972 6.251c-.967-.538-2.185-.188-2.72.777l-3.713 6.682-2.125-2.125c-.781-.781-2.047-.781-2.828 0-.781.781-.781 2.047 0 2.828l4 4c.378.379.888.587 1.414.587l.277-.02c.621-.087 1.166-.46 1.471-1.009l5-9c.537-.966.189-2.183-.776-2.72z" } }] })(e);
3108
+ }
3109
+ const Rs = "_item_container_1fy3g_1", Ns = "_logo_and_item_container_1fy3g_8", lr = {
3110
+ item_container: Rs,
3111
+ logo_and_item_container: Ns
3112
+ };
3113
+ function Xe(e) {
3114
+ const t = e.icon;
3115
+ return /* @__PURE__ */ React.createElement(Vo, {
3116
+ onClick: e.onClick
3117
+ }, /* @__PURE__ */ React.createElement("div", {
3118
+ className: `${lr.item_container}`
3119
+ }, /* @__PURE__ */ React.createElement("div", {
3120
+ className: `${lr.logo_and_item_container}`
3121
+ }, /* @__PURE__ */ React.createElement(t, null), e.title), e.isSelected && /* @__PURE__ */ React.createElement(Ms, null)));
3122
+ }
3123
+ var Is = "#EBECF0", Ds = "#97A0AF", Hs = "#505F79", Ls = "#172B4D";
3124
+ const Bs = it.input`
3106
3125
  input& {
3107
3126
  autofocus: true;
3108
3127
  background: transparent;
3109
3128
  border: 0;
3110
3129
  border-radius: 0;
3111
3130
  box-sizing: content-box;
3112
- color: ${Rs};
3131
+ color: ${Hs};
3113
3132
  flex-grow: 1;
3114
3133
  font-size: 13px;
3115
3134
  line-height: 20px;
@@ -3127,12 +3146,12 @@ const Is = it.input`
3127
3146
  }
3128
3147
 
3129
3148
  &::placeholder {
3130
- color: ${Ns};
3149
+ color: ${Ls};
3131
3150
  opacity: 0.5;
3132
3151
  }
3133
3152
  }
3134
- `, un = 90, Ds = 89;
3135
- class lr extends Fo {
3153
+ `, un = 90, _s = 89;
3154
+ class ur extends Wo {
3136
3155
  constructor(n) {
3137
3156
  super(n);
3138
3157
  H(this, "input");
@@ -3172,7 +3191,7 @@ class lr extends Fo {
3172
3191
  }
3173
3192
  render() {
3174
3193
  const { placeholder: n, width: r, maxLength: o, testId: i, ariaLabel: s } = this.props, { value: a } = this.state;
3175
- return /* @__PURE__ */ React.createElement(Is, {
3194
+ return /* @__PURE__ */ React.createElement(Bs, {
3176
3195
  "data-testid": i || "",
3177
3196
  type: "text",
3178
3197
  placeholder: n,
@@ -3200,36 +3219,36 @@ class lr extends Fo {
3200
3219
  return n.keyCode === un && (j.mac && n.metaKey && !n.shiftKey || !j.mac && n.ctrlKey);
3201
3220
  }
3202
3221
  isRedoEvent(n) {
3203
- return !j.mac && n.ctrlKey && n.keyCode === Ds || j.mac && n.metaKey && n.shiftKey && n.keyCode === un || n.ctrlKey && n.shiftKey && n.keyCode === un;
3222
+ return !j.mac && n.ctrlKey && n.keyCode === _s || j.mac && n.metaKey && n.shiftKey && n.keyCode === un || n.ctrlKey && n.shiftKey && n.keyCode === un;
3204
3223
  }
3205
3224
  }
3206
- const ur = 420, Hs = 360, so = `
3225
+ const dr = 420, Ps = 360, so = `
3207
3226
  display: flex;
3208
3227
  line-height: 0;
3209
3228
  padding: 4px 0;
3210
3229
  align-items: center;
3211
- `, Ls = it.div`
3230
+ `, zs = it.div`
3212
3231
  ${so}
3213
3232
  border-bottom: none !important;
3214
- `, Bs = it.div`
3215
- width: ${ur}px;
3233
+ `, Vs = it.div`
3234
+ width: ${dr}px;
3216
3235
  display: flex;
3217
3236
  flex-direction: column;
3218
3237
  overflow: auto;
3219
3238
  padding: 0;
3220
3239
 
3221
- ${({ provider: e }) => jo`
3222
- width: ${e ? ur : Hs}px;
3240
+ ${({ provider: e }) => qo`
3241
+ width: ${e ? dr : Ps}px;
3223
3242
  `};
3224
3243
  line-height: initial;
3225
- `, _s = it.div`
3244
+ `, Fs = it.div`
3226
3245
  ${so};
3227
- border-top: 1px solid ${As};
3228
- `, dr = it.span`
3229
- color: ${Ms};
3246
+ border-top: 1px solid ${Is};
3247
+ `, fr = it.span`
3248
+ color: ${Ds};
3230
3249
  padding: 3px 6px;
3231
3250
  width: 32px;
3232
- `, Ps = it.div`
3251
+ `, $s = it.div`
3233
3252
  background-color: white;
3234
3253
  border-radius: 3px;
3235
3254
  box-shadow: rgb(9 30 66 / 31%) 0px 0px 1px,
@@ -3240,16 +3259,16 @@ const ur = 420, Hs = 360, so = `
3240
3259
  box-sizing: border-box;
3241
3260
  `, co = (e) => {
3242
3261
  const [t, n] = Fe(e.url), [r, o] = Fe(e.text);
3243
- return /* @__PURE__ */ React.createElement(Ps, null, /* @__PURE__ */ React.createElement(Bs, {
3262
+ return /* @__PURE__ */ React.createElement($s, null, /* @__PURE__ */ React.createElement(Vs, {
3244
3263
  provider: !1
3245
- }, /* @__PURE__ */ React.createElement(Ls, null, /* @__PURE__ */ React.createElement(dr, null, /* @__PURE__ */ React.createElement($e, {
3264
+ }, /* @__PURE__ */ React.createElement(zs, null, /* @__PURE__ */ React.createElement(fr, null, /* @__PURE__ */ React.createElement($e, {
3246
3265
  content: /* @__PURE__ */ React.createElement(En, {
3247
3266
  mainTooltip: "Edit URL"
3248
3267
  }),
3249
3268
  placement: "left"
3250
3269
  }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement(ro, {
3251
3270
  size: 20
3252
- })))), /* @__PURE__ */ React.createElement(lr, {
3271
+ })))), /* @__PURE__ */ React.createElement(ur, {
3253
3272
  defaultValue: t,
3254
3273
  autoFocus: !0,
3255
3274
  onSubmit: (i) => {
@@ -3258,14 +3277,14 @@ const ur = 420, Hs = 360, so = `
3258
3277
  onChange: (i) => {
3259
3278
  n(i);
3260
3279
  }
3261
- })), /* @__PURE__ */ React.createElement(_s, null, /* @__PURE__ */ React.createElement(dr, null, /* @__PURE__ */ React.createElement($e, {
3280
+ })), /* @__PURE__ */ React.createElement(Fs, null, /* @__PURE__ */ React.createElement(fr, null, /* @__PURE__ */ React.createElement($e, {
3262
3281
  content: /* @__PURE__ */ React.createElement(En, {
3263
3282
  mainTooltip: "Edit title"
3264
3283
  }),
3265
3284
  placement: "left"
3266
3285
  }, /* @__PURE__ */ React.createElement("span", null, /* @__PURE__ */ React.createElement(Nn, {
3267
3286
  size: 20
3268
- })))), /* @__PURE__ */ React.createElement(lr, {
3287
+ })))), /* @__PURE__ */ React.createElement(ur, {
3269
3288
  defaultValue: r,
3270
3289
  onSubmit: (i) => {
3271
3290
  e.onSubmit(t, i);
@@ -3274,8 +3293,8 @@ const ur = 420, Hs = 360, so = `
3274
3293
  o(i);
3275
3294
  }
3276
3295
  }))));
3277
- }, zs = (e) => {
3278
- const [t, n] = Fe(), r = $o(() => {
3296
+ }, js = (e) => {
3297
+ const [t, n] = Fe(), r = Uo(() => {
3279
3298
  const o = (d, u) => {
3280
3299
  if (d === "")
3281
3300
  return;
@@ -3306,39 +3325,22 @@ const ur = 420, Hs = 360, so = `
3306
3325
  ...e
3307
3326
  }));
3308
3327
  };
3309
- function Vs(e) {
3310
- return z({ tag: "svg", attr: { version: "1.2", baseProfile: "tiny", viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M16.972 6.251c-.967-.538-2.185-.188-2.72.777l-3.713 6.682-2.125-2.125c-.781-.781-2.047-.781-2.828 0-.781.781-.781 2.047 0 2.828l4 4c.378.379.888.587 1.414.587l.277-.02c.621-.087 1.166-.46 1.471-1.009l5-9c.537-.966.189-2.183-.776-2.72z" } }] })(e);
3311
- }
3312
- const Fs = "_item_container_1fy3g_1", $s = "_logo_and_item_container_1fy3g_8", fr = {
3313
- item_container: Fs,
3314
- logo_and_item_container: $s
3315
- };
3316
- function Xe(e) {
3317
- const t = e.icon;
3318
- return /* @__PURE__ */ React.createElement(Uo, {
3319
- onClick: e.onClick
3320
- }, /* @__PURE__ */ React.createElement("div", {
3321
- className: `${fr.item_container}`
3322
- }, /* @__PURE__ */ React.createElement("div", {
3323
- className: `${fr.logo_and_item_container}`
3324
- }, /* @__PURE__ */ React.createElement(t, null), e.title), e.isSelected && /* @__PURE__ */ React.createElement(Vs, null)));
3325
- }
3326
- function js(e, t) {
3328
+ function Ws(e, t) {
3327
3329
  const n = ["Heading 1", "Heading 2", "Heading 3"], r = {
3328
3330
  li: "Bullet List",
3329
3331
  oli: "Numbered List"
3330
3332
  };
3331
3333
  return e ? n[e - 1] : t ? r[t] : "Text";
3332
3334
  }
3333
- const Ws = (e) => {
3334
- Ss(e.editor);
3335
- const t = je(e.editor.state.selection), n = t == null ? void 0 : t.node.attrs.headingType, r = t == null ? void 0 : t.node.attrs.listType, o = js(
3335
+ const Us = (e) => {
3336
+ As(e.editor);
3337
+ const t = je(e.editor.state.selection), n = t == null ? void 0 : t.node.attrs.headingType, r = t == null ? void 0 : t.node.attrs.listType, o = Ws(
3336
3338
  n,
3337
3339
  r
3338
3340
  );
3339
- return /* @__PURE__ */ React.createElement(ao, null, /* @__PURE__ */ React.createElement(Wo, {
3341
+ return /* @__PURE__ */ React.createElement(ao, null, /* @__PURE__ */ React.createElement(zo, {
3340
3342
  trigger: o
3341
- }, /* @__PURE__ */ React.createElement(qo, null, /* @__PURE__ */ React.createElement(Xe, {
3343
+ }, /* @__PURE__ */ React.createElement(Fo, null, /* @__PURE__ */ React.createElement(Xe, {
3342
3344
  title: "Text",
3343
3345
  icon: Nn,
3344
3346
  isSelected: o === "Paragraph",
@@ -3373,57 +3375,55 @@ const Ws = (e) => {
3373
3375
  isSelected: e.editor.isActive("bold"),
3374
3376
  mainTooltip: "Bold",
3375
3377
  secondaryTooltip: G("Mod+B"),
3376
- icon: ds
3378
+ icon: fs
3377
3379
  }), /* @__PURE__ */ React.createElement(fe, {
3378
3380
  onClick: () => e.editor.chain().focus().toggleItalic().run(),
3379
3381
  isSelected: e.editor.isActive("italic"),
3380
3382
  mainTooltip: "Italic",
3381
3383
  secondaryTooltip: G("Mod+I"),
3382
- icon: hs
3384
+ icon: ms
3383
3385
  }), /* @__PURE__ */ React.createElement(fe, {
3384
3386
  onClick: () => e.editor.chain().focus().toggleUnderline().run(),
3385
3387
  isSelected: e.editor.isActive("underline"),
3386
3388
  mainTooltip: "Underline",
3387
3389
  secondaryTooltip: G("Mod+U"),
3388
- icon: gs
3390
+ icon: ys
3389
3391
  }), /* @__PURE__ */ React.createElement(fe, {
3390
3392
  onClick: () => e.editor.chain().focus().toggleStrike().run(),
3391
3393
  isDisabled: e.editor.isActive("strike"),
3392
3394
  mainTooltip: "Strike-through",
3393
3395
  secondaryTooltip: G("Mod+Shift+X"),
3394
- icon: vs
3396
+ icon: gs
3395
3397
  }), /* @__PURE__ */ React.createElement(fe, {
3396
- onClick: () => e.editor.chain().focus().sinkListItem("tcblock").run(),
3397
- isDisabled: !e.editor.can().sinkListItem("tcblock"),
3398
+ onClick: () => e.editor.chain().focus().sinkListItem("block").run(),
3399
+ isDisabled: !e.editor.can().sinkListItem("block"),
3398
3400
  mainTooltip: "Indent",
3399
3401
  secondaryTooltip: G("Tab"),
3400
- icon: ps
3402
+ icon: hs
3401
3403
  }), /* @__PURE__ */ React.createElement(fe, {
3402
- onClick: () => e.editor.chain().focus().liftListItem("tcblock").run(),
3404
+ onClick: () => e.editor.chain().focus().liftListItem("block").run(),
3403
3405
  isDisabled: !e.editor.can().command(({ state: i }) => {
3404
3406
  const s = je(i.selection);
3405
3407
  return s ? s.depth > 2 : !1;
3406
3408
  }),
3407
3409
  mainTooltip: "Decrease Indent",
3408
3410
  secondaryTooltip: G("Shift+Tab"),
3409
- icon: fs
3410
- }), /* @__PURE__ */ React.createElement(zs, {
3411
+ icon: ps
3412
+ }), /* @__PURE__ */ React.createElement(js, {
3411
3413
  isSelected: e.editor.isActive("link"),
3412
3414
  mainTooltip: "Link",
3413
3415
  secondaryTooltip: G("Mod+K"),
3414
3416
  icon: ro,
3415
3417
  editor: e.editor
3416
3418
  }));
3417
- }, Us = "_bnRoot_15721_7", Xt = {
3418
- bnRoot: Us
3419
3419
  }, qs = ot.create({
3420
3420
  name: "BubbleMenuExtension",
3421
3421
  addProseMirrorPlugins() {
3422
3422
  const e = document.createElement("div");
3423
- return e.className = Xt.bnRoot, Te.render(/* @__PURE__ */ React.createElement(Ws, {
3423
+ return e.className = Gt.bnRoot, Te.render(/* @__PURE__ */ React.createElement(Us, {
3424
3424
  editor: this.editor
3425
3425
  }), e), [
3426
- cs({
3426
+ ls({
3427
3427
  editor: this.editor,
3428
3428
  element: e,
3429
3429
  pluginKey: new be("BubbleMenuPlugin"),
@@ -3517,7 +3517,7 @@ function cc(e) {
3517
3517
  ), n += o.length;
3518
3518
  }
3519
3519
  return /* @__PURE__ */ React.createElement("div", {
3520
- className: Gs.menuList + " " + Xt.bnRoot
3520
+ className: Gs.menuList + " " + Gt.bnRoot
3521
3521
  }, /* @__PURE__ */ React.createElement(kr, null, t.length > 0 ? t : /* @__PURE__ */ React.createElement(wr, {
3522
3522
  title: "No match found"
3523
3523
  }, " ")));
@@ -3883,7 +3883,7 @@ const fc = {
3883
3883
  if (!!c) {
3884
3884
  if (((d = c.node.firstChild) == null ? void 0 : d.textContent.length) !== 0) {
3885
3885
  const u = c.pos + c.node.nodeSize;
3886
- let f = e.view.state.schema.nodes.tccontent.createAndFill();
3886
+ let f = e.view.state.schema.nodes.content.createAndFill();
3887
3887
  e.view.state.tr.insert(u, f), e.view.dispatch(e.view.state.tr.insert(u, f)), e.view.dispatch(
3888
3888
  e.view.state.tr.setSelection(
3889
3889
  new Vt(e.view.state.tr.doc.resolve(u + 1))
@@ -4081,12 +4081,12 @@ const Cc = () => {
4081
4081
  onClick: () => {
4082
4082
  window.open(e.href, "_blank");
4083
4083
  },
4084
- icon: ys
4084
+ icon: bs
4085
4085
  }), /* @__PURE__ */ A.createElement(hr, null), /* @__PURE__ */ A.createElement(fe, {
4086
4086
  mainTooltip: "Remove link",
4087
4087
  isSelected: !1,
4088
4088
  onClick: e.removeHandler,
4089
- icon: ms
4089
+ icon: vs
4090
4090
  }));
4091
4091
  }, mr = new be("HyperlinkMenuPlugin"), Rc = (e) => {
4092
4092
  const { anchorPos: t, ...n } = e;
@@ -4100,7 +4100,7 @@ const Cc = () => {
4100
4100
  showOnCreate: !0,
4101
4101
  trigger: "click",
4102
4102
  hideOnClick: !0,
4103
- className: Xt.bnRoot,
4103
+ className: Gt.bnRoot,
4104
4104
  appendTo: document.body
4105
4105
  }, /* @__PURE__ */ React.createElement("div", null));
4106
4106
  }, Nc = () => {
@@ -4240,7 +4240,7 @@ const Cc = () => {
4240
4240
  new we({
4241
4241
  key: e,
4242
4242
  appendTransaction: (t, n, r) => {
4243
- const { doc: o, tr: i, schema: s } = r, a = e.getState(r), c = o.content.size - 2, d = s.nodes.tcblock, u = s.nodes.tccontent;
4243
+ const { doc: o, tr: i, schema: s } = r, a = e.getState(r), c = o.content.size - 2, d = s.nodes.block, u = s.nodes.content;
4244
4244
  if (!!a)
4245
4245
  return i.insert(
4246
4246
  c,
@@ -4256,8 +4256,8 @@ const Cc = () => {
4256
4256
  let r = t.doc.lastChild;
4257
4257
  if (!r || r.type.name !== "blockgroup")
4258
4258
  throw new Error("Expected blockgroup");
4259
- if (r = r.lastChild, !r || r.type.name !== "tcblock")
4260
- throw new Error("Expected tcblock");
4259
+ if (r = r.lastChild, !r || r.type.name !== "block")
4260
+ throw new Error("Expected block");
4261
4261
  return r.nodeSize > 4;
4262
4262
  }
4263
4263
  }
@@ -4433,22 +4433,22 @@ const Pc = ot.create({
4433
4433
  showOnlyCurrent: !1
4434
4434
  }),
4435
4435
  Pc.configure({
4436
- types: ["tcblock"]
4436
+ types: ["block"]
4437
4437
  }),
4438
4438
  No,
4439
- Bo,
4439
+ Lo,
4440
4440
  So,
4441
4441
  Ao,
4442
- Io,
4443
- Lo,
4444
4442
  Do,
4443
+ Ho,
4444
+ Bo,
4445
4445
  Ic,
4446
4446
  Dc,
4447
4447
  ...Ti,
4448
4448
  Oc,
4449
4449
  Mo.configure({ width: 5, color: "#ddeeff" }),
4450
4450
  qs,
4451
- Ho,
4451
+ Io,
4452
4452
  pc,
4453
4453
  Lc
4454
4454
  ], Vc = "_bnEditor_1bxtz_1", Fc = {
@@ -4468,7 +4468,7 @@ const Pc = ot.create({
4468
4468
  ...((o = e.editorProps) == null ? void 0 : o.attributes) || {},
4469
4469
  class: [
4470
4470
  Fc.bnEditor,
4471
- Xt.bnRoot,
4471
+ Gt.bnRoot,
4472
4472
  ((s = (i = e.editorProps) == null ? void 0 : i.attributes) == null ? void 0 : s.class) || ""
4473
4473
  ].join(" ")
4474
4474
  }