@beterdichtbij/component-library 0.31.4 → 0.31.5

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.
@@ -833,15 +833,15 @@ const Qv = { class: "bd-zoom-slider d-flex" }, qv = /* @__PURE__ */ ee("g", { tr
833
833
  ]));
834
834
  }
835
835
  });
836
- var gr = 256, th = [], Su = 256, bi;
837
- for (; gr--; )
838
- th[gr] = (gr + 256).toString(16).substring(1);
836
+ var vr = 256, th = [], Su = 256, bi;
837
+ for (; vr--; )
838
+ th[vr] = (vr + 256).toString(16).substring(1);
839
839
  function nh(n) {
840
840
  var e = 0, t = n || 11;
841
- if (!bi || gr + t > Su * 2)
842
- for (bi = "", gr = 0; e < Su; e++)
841
+ if (!bi || vr + t > Su * 2)
842
+ for (bi = "", vr = 0; e < Su; e++)
843
843
  bi += th[Math.random() * 256 | 0];
844
- return bi.substring(gr, gr++ + t);
844
+ return bi.substring(vr, vr++ + t);
845
845
  }
846
846
  function li() {
847
847
  return { uniqueIdentifier: at(nh()) };
@@ -4982,10 +4982,10 @@ var ih = { exports: {} };
4982
4982
  }
4983
4983
  Ne++;
4984
4984
  }
4985
- }, fr = function(ie) {
4986
- var ne = m(this, fr, "URL"), oe = arguments.length > 1 ? arguments[1] : void 0, ce = String(ie), Ne = N(ne, { type: "URL" }), Ee, Ye;
4985
+ }, hr = function(ie) {
4986
+ var ne = m(this, hr, "URL"), oe = arguments.length > 1 ? arguments[1] : void 0, ce = String(ie), Ne = N(ne, { type: "URL" }), Ee, Ye;
4987
4987
  if (oe !== void 0) {
4988
- if (oe instanceof fr)
4988
+ if (oe instanceof hr)
4989
4989
  Ee = B(oe);
4990
4990
  else if (Ye = hn(Ee = {}, String(oe)), Ye)
4991
4991
  throw TypeError(Ye);
@@ -4996,7 +4996,7 @@ var ih = { exports: {} };
4996
4996
  nt.updateSearchParams(Ne.query), nt.updateURL = function() {
4997
4997
  Ne.query = String(et) || null;
4998
4998
  }, u || (ne.href = yi.call(ne), ne.origin = nu.call(ne), ne.protocol = ru.call(ne), ne.username = su.call(ne), ne.password = iu.call(ne), ne.host = ou.call(ne), ne.hostname = au.call(ne), ne.port = lu.call(ne), ne.pathname = cu.call(ne), ne.search = uu.call(ne), ne.searchParams = du.call(ne), ne.hash = fu.call(ne));
4999
- }, ba = fr.prototype, yi = function() {
4999
+ }, ba = hr.prototype, yi = function() {
5000
5000
  var O = B(this), ie = O.scheme, ne = O.username, oe = O.password, ce = O.host, Ne = O.port, Ee = O.path, Ye = O.query, et = O.fragment, nt = ie + ":";
5001
5001
  return ce !== null ? (nt += "//", se(O) && (nt += ne + (oe ? ":" + oe : "") + "@"), nt += I(ce), Ne !== null && (nt += ":" + Ne)) : ie == "file" && (nt += "//"), nt += O.cannotBeABaseURL ? Ee[0] : Ee.length ? "/" + Ee.join("/") : "", Ye !== null && (nt += "?" + Ye), et !== null && (nt += "#" + et), nt;
5002
5002
  }, nu = function() {
@@ -5124,14 +5124,14 @@ var ih = { exports: {} };
5124
5124
  return yi.call(this);
5125
5125
  }, { enumerable: !0 }), z) {
5126
5126
  var hu = z.createObjectURL, pu = z.revokeObjectURL;
5127
- hu && p(fr, "createObjectURL", function(ie) {
5127
+ hu && p(hr, "createObjectURL", function(ie) {
5128
5128
  return hu.apply(z, arguments);
5129
- }), pu && p(fr, "revokeObjectURL", function(ie) {
5129
+ }), pu && p(hr, "revokeObjectURL", function(ie) {
5130
5130
  return pu.apply(z, arguments);
5131
5131
  });
5132
5132
  }
5133
- M(fr, "URL"), c({ global: !0, forced: !d, sham: !u }, {
5134
- URL: fr
5133
+ M(hr, "URL"), c({ global: !0, forced: !d, sham: !u }, {
5134
+ URL: hr
5135
5135
  });
5136
5136
  }
5137
5137
  )
@@ -8277,13 +8277,13 @@ function uh(n, e, t, r) {
8277
8277
  } else if (t.content.size)
8278
8278
  if (!t.openStart && !t.openEnd && n.depth == r && e.depth == r) {
8279
8279
  let o = n.parent, l = o.content;
8280
- return wr(o, l.cut(0, n.parentOffset).append(t.content).append(l.cut(e.parentOffset)));
8280
+ return Tr(o, l.cut(0, n.parentOffset).append(t.content).append(l.cut(e.parentOffset)));
8281
8281
  } else {
8282
8282
  let { start: o, end: l } = cy(t, n);
8283
- return wr(i, fh(n, o, l, e, r));
8283
+ return Tr(i, fh(n, o, l, e, r));
8284
8284
  }
8285
8285
  else
8286
- return wr(i, Gi(n, e, r));
8286
+ return Tr(i, Gi(n, e, r));
8287
8287
  }
8288
8288
  function dh(n, e) {
8289
8289
  if (!e.type.compatibleContent(n.type))
@@ -8293,29 +8293,29 @@ function Sl(n, e, t) {
8293
8293
  let r = n.node(t);
8294
8294
  return dh(r, e.node(t)), r;
8295
8295
  }
8296
- function Cr(n, e) {
8296
+ function wr(n, e) {
8297
8297
  let t = e.length - 1;
8298
8298
  t >= 0 && n.isText && n.sameMarkup(e[t]) ? e[t] = n.withText(e[t].text + n.text) : e.push(n);
8299
8299
  }
8300
8300
  function Ps(n, e, t, r) {
8301
8301
  let s = (e || n).node(t), i = 0, o = e ? e.index(t) : s.childCount;
8302
- n && (i = n.index(t), n.depth > t ? i++ : n.textOffset && (Cr(n.nodeAfter, r), i++));
8302
+ n && (i = n.index(t), n.depth > t ? i++ : n.textOffset && (wr(n.nodeAfter, r), i++));
8303
8303
  for (let l = i; l < o; l++)
8304
- Cr(s.child(l), r);
8305
- e && e.depth == t && e.textOffset && Cr(e.nodeBefore, r);
8304
+ wr(s.child(l), r);
8305
+ e && e.depth == t && e.textOffset && wr(e.nodeBefore, r);
8306
8306
  }
8307
- function wr(n, e) {
8307
+ function Tr(n, e) {
8308
8308
  return n.type.checkContent(e), n.copy(e);
8309
8309
  }
8310
8310
  function fh(n, e, t, r, s) {
8311
8311
  let i = n.depth > s && Sl(n, e, s + 1), o = r.depth > s && Sl(t, r, s + 1), l = [];
8312
- return Ps(null, n, s, l), i && o && e.index(s) == t.index(s) ? (dh(i, o), Cr(wr(i, fh(n, e, t, r, s + 1)), l)) : (i && Cr(wr(i, Gi(n, e, s + 1)), l), Ps(e, t, s, l), o && Cr(wr(o, Gi(t, r, s + 1)), l)), Ps(r, null, s, l), new ue(l);
8312
+ return Ps(null, n, s, l), i && o && e.index(s) == t.index(s) ? (dh(i, o), wr(Tr(i, fh(n, e, t, r, s + 1)), l)) : (i && wr(Tr(i, Gi(n, e, s + 1)), l), Ps(e, t, s, l), o && wr(Tr(o, Gi(t, r, s + 1)), l)), Ps(r, null, s, l), new ue(l);
8313
8313
  }
8314
8314
  function Gi(n, e, t) {
8315
8315
  let r = [];
8316
8316
  if (Ps(null, n, t, r), n.depth > t) {
8317
8317
  let s = Sl(n, e, t + 1);
8318
- Cr(wr(s, Gi(n, e, t + 1)), r);
8318
+ wr(Tr(s, Gi(n, e, t + 1)), r);
8319
8319
  }
8320
8320
  return Ps(e, null, t, r), new ue(r);
8321
8321
  }
@@ -8613,7 +8613,7 @@ class Yi {
8613
8613
  }
8614
8614
  }
8615
8615
  const dy = /* @__PURE__ */ Object.create(null);
8616
- let Tr = class Cl {
8616
+ let xr = class Cl {
8617
8617
  /**
8618
8618
  @internal
8619
8619
  */
@@ -8974,8 +8974,8 @@ let Tr = class Cl {
8974
8974
  return e.nodeType(t.type).create(t.attrs, s, r);
8975
8975
  }
8976
8976
  };
8977
- Tr.prototype.text = void 0;
8978
- class Ji extends Tr {
8977
+ xr.prototype.text = void 0;
8978
+ class Ji extends xr {
8979
8979
  /**
8980
8980
  @internal
8981
8981
  */
@@ -9018,7 +9018,7 @@ function hh(n, e) {
9018
9018
  e = n[t].type.name + "(" + e + ")";
9019
9019
  return e;
9020
9020
  }
9021
- class Or {
9021
+ class Mr {
9022
9022
  /**
9023
9023
  @internal
9024
9024
  */
@@ -9031,7 +9031,7 @@ class Or {
9031
9031
  static parse(e, t) {
9032
9032
  let r = new fy(e, t);
9033
9033
  if (r.next == null)
9034
- return Or.empty;
9034
+ return Mr.empty;
9035
9035
  let s = ph(r);
9036
9036
  r.next && r.err("Unexpected trailing text");
9037
9037
  let i = by(yy(s));
@@ -9180,7 +9180,7 @@ class Or {
9180
9180
  `);
9181
9181
  }
9182
9182
  }
9183
- Or.empty = new Or(!0);
9183
+ Mr.empty = new Mr(!0);
9184
9184
  class fy {
9185
9185
  constructor(e, t) {
9186
9186
  this.string = e, this.nodeTypes = t, this.inline = null, this.pos = 0, this.tokens = e.split(/\s*(?=\b|\W|$)/), this.tokens[this.tokens.length - 1] == "" && this.tokens.pop(), this.tokens[0] == "" && this.tokens.shift();
@@ -9343,7 +9343,7 @@ function by(n) {
9343
9343
  });
9344
9344
  });
9345
9345
  });
9346
- let i = e[r.join(",")] = new Or(r.indexOf(n.length - 1) > -1);
9346
+ let i = e[r.join(",")] = new Mr(r.indexOf(n.length - 1) > -1);
9347
9347
  for (let o = 0; o < s.length; o++) {
9348
9348
  let l = s[o][1].sort(mh);
9349
9349
  i.next.push({ type: s[o][0], next: e[l.join(",")] || t(l) });
@@ -9417,7 +9417,7 @@ let Ou = class bh {
9417
9417
  True for node types that allow no content.
9418
9418
  */
9419
9419
  get isLeaf() {
9420
- return this.contentMatch == Or.empty;
9420
+ return this.contentMatch == Mr.empty;
9421
9421
  }
9422
9422
  /**
9423
9423
  True when this node is an atom, i.e. when it does not have
@@ -9465,7 +9465,7 @@ let Ou = class bh {
9465
9465
  create(e = null, t, r) {
9466
9466
  if (this.isText)
9467
9467
  throw new Error("NodeType.create can't construct text nodes");
9468
- return new Tr(this, this.computeAttrs(e), ue.from(t), Je.setFrom(r));
9468
+ return new xr(this, this.computeAttrs(e), ue.from(t), Je.setFrom(r));
9469
9469
  }
9470
9470
  /**
9471
9471
  Like [`create`](https://prosemirror.net/docs/ref/#model.NodeType.create), but check the given content
@@ -9473,7 +9473,7 @@ let Ou = class bh {
9473
9473
  if it doesn't match.
9474
9474
  */
9475
9475
  createChecked(e = null, t, r) {
9476
- return t = ue.from(t), this.checkContent(t), new Tr(this, this.computeAttrs(e), t, Je.setFrom(r));
9476
+ return t = ue.from(t), this.checkContent(t), new xr(this, this.computeAttrs(e), t, Je.setFrom(r));
9477
9477
  }
9478
9478
  /**
9479
9479
  Like [`create`](https://prosemirror.net/docs/ref/#model.NodeType.create), but see if it is
@@ -9491,7 +9491,7 @@ let Ou = class bh {
9491
9491
  t = o.append(t);
9492
9492
  }
9493
9493
  let s = this.contentMatch.matchFragment(t), i = s && s.fillBefore(ue.empty, !0);
9494
- return i ? new Tr(this, e, t.append(i), Je.setFrom(r)) : null;
9494
+ return i ? new xr(this, e, t.append(i), Je.setFrom(r)) : null;
9495
9495
  }
9496
9496
  /**
9497
9497
  Returns true if the given fragment is valid content for this node
@@ -9631,7 +9631,7 @@ class Cy {
9631
9631
  if (s in this.marks)
9632
9632
  throw new RangeError(s + " can not be both a node and a mark");
9633
9633
  let i = this.nodes[s], o = i.spec.content || "", l = i.spec.marks;
9634
- i.contentMatch = r[o] || (r[o] = Or.parse(o, this.nodes)), i.inlineContent = i.contentMatch.inlineContent, i.markSet = l == "_" ? null : l ? Mu(this, l.split(" ")) : l == "" || !i.inlineContent ? [] : null;
9634
+ i.contentMatch = r[o] || (r[o] = Mr.parse(o, this.nodes)), i.inlineContent = i.contentMatch.inlineContent, i.markSet = l == "_" ? null : l ? Mu(this, l.split(" ")) : l == "" || !i.inlineContent ? [] : null;
9635
9635
  }
9636
9636
  for (let s in this.marks) {
9637
9637
  let i = this.marks[s], o = i.spec.excludes;
@@ -9674,7 +9674,7 @@ class Cy {
9674
9674
  bound.
9675
9675
  */
9676
9676
  nodeFromJSON(e) {
9677
- return Tr.fromJSON(this, e);
9677
+ return xr.fromJSON(this, e);
9678
9678
  }
9679
9679
  /**
9680
9680
  Deserialize a mark from its JSON representation. This method is
@@ -11179,7 +11179,7 @@ function zy(n, e, t = 1, r) {
11179
11179
  }
11180
11180
  n.step(new pt(e, e, new ye(i.append(o), t, t), !0));
11181
11181
  }
11182
- function or(n, e) {
11182
+ function ar(n, e) {
11183
11183
  let t = n.resolve(e), r = t.index();
11184
11184
  return kh(t.nodeBefore, t.nodeAfter) && t.parent.canReplace(r, r + 1);
11185
11185
  }
@@ -12568,7 +12568,7 @@ class ts {
12568
12568
  let s = new Ia(e.schema, e.plugins), i = new ts(s);
12569
12569
  return s.fields.forEach((o) => {
12570
12570
  if (o.name == "doc")
12571
- i.doc = Tr.fromJSON(e.schema, t.doc);
12571
+ i.doc = xr.fromJSON(e.schema, t.doc);
12572
12572
  else if (o.name == "selection")
12573
12573
  i.selection = ze.fromJSON(i.doc, t.selection);
12574
12574
  else if (o.name == "storedMarks")
@@ -12645,7 +12645,7 @@ let zu = null;
12645
12645
  const In = function(n, e, t) {
12646
12646
  let r = zu || (zu = document.createRange());
12647
12647
  return r.setEnd(n, t ?? n.nodeValue.length), r.setStart(n, e || 0), r;
12648
- }, Mr = function(n, e, t, r) {
12648
+ }, _r = function(n, e, t, r) {
12649
12649
  return t && (Uu(n, e, t, r, -1) || Uu(n, e, t, r, 1));
12650
12650
  }, n5 = /^(img|br|input|textarea|hr)$/i;
12651
12651
  function Uu(n, e, t, r, s) {
@@ -12685,9 +12685,9 @@ function pc(n) {
12685
12685
  return e && e.node && e.node.isBlock && (e.dom == n || e.contentDOM == n);
12686
12686
  }
12687
12687
  const ta = function(n) {
12688
- return n.focusNode && Mr(n.focusNode, n.focusOffset, n.anchorNode, n.anchorOffset);
12688
+ return n.focusNode && _r(n.focusNode, n.focusOffset, n.anchorNode, n.anchorOffset);
12689
12689
  };
12690
- function mr(n, e) {
12690
+ function gr(n, e) {
12691
12691
  let t = document.createEvent("Event");
12692
12692
  return t.initEvent("keydown", !0, !0), t.keyCode = n, t.key = t.code = e, t;
12693
12693
  }
@@ -12711,9 +12711,9 @@ function i5(n, e, t) {
12711
12711
  return { node: r.startContainer, offset: r.startOffset };
12712
12712
  }
12713
12713
  }
12714
- const wn = typeof navigator < "u" ? navigator : null, ju = typeof document < "u" ? document : null, ar = wn && wn.userAgent || "", xl = /Edge\/(\d+)/.exec(ar), Rh = /MSIE \d/.exec(ar), Al = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(ar), Lt = !!(Rh || Al || xl), qn = Rh ? document.documentMode : Al ? +Al[1] : xl ? +xl[1] : 0, ln = !Lt && /gecko\/(\d+)/i.test(ar);
12715
- ln && +(/Firefox\/(\d+)/.exec(ar) || [0, 0])[1];
12716
- const kl = !Lt && /Chrome\/(\d+)/.exec(ar), bt = !!kl, o5 = kl ? +kl[1] : 0, kt = !Lt && !!wn && /Apple Computer/.test(wn.vendor), ps = kt && (/Mobile\/\w+/.test(ar) || !!wn && wn.maxTouchPoints > 2), Zt = ps || (wn ? /Mac/.test(wn.platform) : !1), a5 = wn ? /Win/.test(wn.platform) : !1, rn = /Android \d/.test(ar), ci = !!ju && "webkitFontSmoothing" in ju.documentElement.style, l5 = ci ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
12714
+ const wn = typeof navigator < "u" ? navigator : null, ju = typeof document < "u" ? document : null, lr = wn && wn.userAgent || "", xl = /Edge\/(\d+)/.exec(lr), Rh = /MSIE \d/.exec(lr), Al = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(lr), Lt = !!(Rh || Al || xl), qn = Rh ? document.documentMode : Al ? +Al[1] : xl ? +xl[1] : 0, ln = !Lt && /gecko\/(\d+)/i.test(lr);
12715
+ ln && +(/Firefox\/(\d+)/.exec(lr) || [0, 0])[1];
12716
+ const kl = !Lt && /Chrome\/(\d+)/.exec(lr), bt = !!kl, o5 = kl ? +kl[1] : 0, kt = !Lt && !!wn && /Apple Computer/.test(wn.vendor), ps = kt && (/Mobile\/\w+/.test(lr) || !!wn && wn.maxTouchPoints > 2), Zt = ps || (wn ? /Mac/.test(wn.platform) : !1), a5 = wn ? /Win/.test(wn.platform) : !1, rn = /Android \d/.test(lr), ci = !!ju && "webkitFontSmoothing" in ju.documentElement.style, l5 = ci ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
12717
12717
  function c5(n) {
12718
12718
  return {
12719
12719
  left: 0,
@@ -13040,7 +13040,7 @@ let Gu = null, Yu = null, Ju = !1;
13040
13040
  function w5(n, e, t) {
13041
13041
  return Gu == e && Yu == t ? Ju : (Gu = e, Yu = t, Ju = t == "up" || t == "down" ? E5(n, e, t) : C5(n, e, t));
13042
13042
  }
13043
- const Qt = 0, Zu = 1, vr = 2, Tn = 3;
13043
+ const Qt = 0, Zu = 1, yr = 2, Tn = 3;
13044
13044
  class ui {
13045
13045
  constructor(e, t, r, s) {
13046
13046
  this.parent = e, this.children = t, this.dom = r, this.contentDOM = s, this.dirty = Qt, r.pmViewDesc = this;
@@ -13317,7 +13317,7 @@ class ui {
13317
13317
  let f = c.focusNode.childNodes[c.focusOffset];
13318
13318
  f && f.contentEditable == "false" && (s = !0);
13319
13319
  }
13320
- if (!(s || u && kt) && Mr(l.node, l.offset, c.anchorNode, c.anchorOffset) && Mr(a.node, a.offset, c.focusNode, c.focusOffset))
13320
+ if (!(s || u && kt) && _r(l.node, l.offset, c.anchorNode, c.anchorOffset) && _r(a.node, a.offset, c.focusNode, c.focusOffset))
13321
13321
  return;
13322
13322
  let d = !1;
13323
13323
  if ((c.extend || e == t) && !u) {
@@ -13350,19 +13350,19 @@ class ui {
13350
13350
  if (r == o ? e <= o && t >= r : e < o && t > r) {
13351
13351
  let l = r + i.border, a = o - i.border;
13352
13352
  if (e >= l && t <= a) {
13353
- this.dirty = e == r || t == o ? vr : Zu, e == l && t == a && (i.contentLost || i.dom.parentNode != this.contentDOM) ? i.dirty = Tn : i.markDirty(e - l, t - l);
13353
+ this.dirty = e == r || t == o ? yr : Zu, e == l && t == a && (i.contentLost || i.dom.parentNode != this.contentDOM) ? i.dirty = Tn : i.markDirty(e - l, t - l);
13354
13354
  return;
13355
13355
  } else
13356
- i.dirty = i.dom == i.contentDOM && i.dom.parentNode == this.contentDOM && !i.children.length ? vr : Tn;
13356
+ i.dirty = i.dom == i.contentDOM && i.dom.parentNode == this.contentDOM && !i.children.length ? yr : Tn;
13357
13357
  }
13358
13358
  r = o;
13359
13359
  }
13360
- this.dirty = vr;
13360
+ this.dirty = yr;
13361
13361
  }
13362
13362
  markParentsDirty() {
13363
13363
  let e = 1;
13364
13364
  for (let t = this.parent; t; t = t.parent, e++) {
13365
- let r = e == 1 ? vr : Zu;
13365
+ let r = e == 1 ? yr : Zu;
13366
13366
  t.dirty < r && (t.dirty = r);
13367
13367
  }
13368
13368
  }
@@ -13430,13 +13430,13 @@ class T5 extends ui {
13430
13430
  return e.type === "characterData" && e.target.nodeValue == e.oldValue;
13431
13431
  }
13432
13432
  }
13433
- class _r extends ui {
13433
+ class Ir extends ui {
13434
13434
  constructor(e, t, r, s) {
13435
13435
  super(e, [], r, s), this.mark = t;
13436
13436
  }
13437
13437
  static create(e, t, r, s) {
13438
13438
  let i = s.nodeViews[t.type.name], o = i && i(t, s, r);
13439
- return (!o || !o.dom) && (o = bn.renderSpec(document, t.type.spec.toDOM(t, r))), new _r(e, t, o.dom, o.contentDOM || o.dom);
13439
+ return (!o || !o.dom) && (o = bn.renderSpec(document, t.type.spec.toDOM(t, r))), new Ir(e, t, o.dom, o.contentDOM || o.dom);
13440
13440
  }
13441
13441
  parseRule() {
13442
13442
  return this.dirty & Tn || this.mark.type.spec.reparseInView ? null : { mark: this.mark.type.name, attrs: this.mark.attrs, contentElement: this.contentDOM };
@@ -13453,7 +13453,7 @@ class _r extends ui {
13453
13453
  }
13454
13454
  }
13455
13455
  slice(e, t, r) {
13456
- let s = _r.create(this.parent, this.mark, !0, r), i = this.children, o = this.size;
13456
+ let s = Ir.create(this.parent, this.mark, !0, r), i = this.children, o = this.size;
13457
13457
  t < o && (i = _l(i, t, o, r)), e > 0 && (i = _l(i, 0, e, r));
13458
13458
  for (let l = 0; l < i.length; l++)
13459
13459
  i[l].parent = s;
@@ -13532,7 +13532,7 @@ class er extends ui {
13532
13532
  a.syncToMarks(c.marks, r, e);
13533
13533
  let h;
13534
13534
  a.findNodeMatch(c, u, d, f) || l && e.state.selection.from > s && e.state.selection.to < s + c.nodeSize && (h = a.findIndexWithChild(i.node)) > -1 && a.updateNodeAt(c, u, d, h, e) || a.updateNextNode(c, u, d, e, f, s) || a.addNode(c, u, d, e, s), s += c.nodeSize;
13535
- }), a.syncToMarks([], r, e), this.node.isTextblock && a.addTextblockHacks(), a.destroyRest(), (a.changed || this.dirty == vr) && (o && this.protectLocalComposition(e, o), jh(this.contentDOM, this.children, e), ps && I5(this.dom));
13535
+ }), a.syncToMarks([], r, e), this.node.isTextblock && a.addTextblockHacks(), a.destroyRest(), (a.changed || this.dirty == yr) && (o && this.protectLocalComposition(e, o), jh(this.contentDOM, this.children, e), ps && I5(this.dom));
13536
13536
  }
13537
13537
  localCompositionInfo(e, t) {
13538
13538
  let { from: r, to: s } = e.state.selection;
@@ -13691,7 +13691,7 @@ function jh(n, e, t) {
13691
13691
  r = r.nextSibling;
13692
13692
  } else
13693
13693
  s = !0, n.insertBefore(l, r);
13694
- if (o instanceof _r) {
13694
+ if (o instanceof Ir) {
13695
13695
  let a = r ? r.previousSibling : n.lastChild;
13696
13696
  jh(o.contentDOM, o.children, t), r = a ? a.nextSibling : n.firstChild;
13697
13697
  }
@@ -13704,11 +13704,11 @@ const Bs = function(n) {
13704
13704
  n && (this.nodeName = n);
13705
13705
  };
13706
13706
  Bs.prototype = /* @__PURE__ */ Object.create(null);
13707
- const yr = [new Bs()];
13707
+ const br = [new Bs()];
13708
13708
  function Ol(n, e, t) {
13709
13709
  if (n.length == 0)
13710
- return yr;
13711
- let r = t ? yr[0] : new Bs(), s = [r];
13710
+ return br;
13711
+ let r = t ? br[0] : new Bs(), s = [r];
13712
13712
  for (let i = 0; i < n.length; i++) {
13713
13713
  let o = n[i].type.attrs;
13714
13714
  if (o) {
@@ -13722,16 +13722,16 @@ function Ol(n, e, t) {
13722
13722
  return s;
13723
13723
  }
13724
13724
  function Wh(n, e, t, r) {
13725
- if (t == yr && r == yr)
13725
+ if (t == br && r == br)
13726
13726
  return e;
13727
13727
  let s = e;
13728
13728
  for (let i = 0; i < r.length; i++) {
13729
13729
  let o = r[i], l = t[i];
13730
13730
  if (i) {
13731
13731
  let a;
13732
- l && l.nodeName == o.nodeName && s != n && (a = s.parentNode) && a.nodeName.toLowerCase() == o.nodeName || (a = document.createElement(o.nodeName), a.pmIsDeco = !0, a.appendChild(s), l = yr[0]), s = a;
13732
+ l && l.nodeName == o.nodeName && s != n && (a = s.parentNode) && a.nodeName.toLowerCase() == o.nodeName || (a = document.createElement(o.nodeName), a.pmIsDeco = !0, a.appendChild(s), l = br[0]), s = a;
13733
13733
  }
13734
- A5(s, l || yr[0], o);
13734
+ A5(s, l || br[0], o);
13735
13735
  }
13736
13736
  return s;
13737
13737
  }
@@ -13758,7 +13758,7 @@ function A5(n, e, t) {
13758
13758
  }
13759
13759
  }
13760
13760
  function Kh(n, e, t) {
13761
- return Wh(n, n, yr, Ol(e, t, n.nodeType != 1));
13761
+ return Wh(n, n, br, Ol(e, t, n.nodeType != 1));
13762
13762
  }
13763
13763
  function Ml(n, e) {
13764
13764
  if (n.length != e.length)
@@ -13810,7 +13810,7 @@ class k5 {
13810
13810
  if (l > -1)
13811
13811
  l > this.index && (this.changed = !0, this.destroyBetween(this.index, l)), this.top = this.top.children[this.index];
13812
13812
  else {
13813
- let a = _r.create(this.top, e[i], t, r);
13813
+ let a = Ir.create(this.top, e[i], t, r);
13814
13814
  this.top.children.splice(this.index, 0, a), this.top = a, this.changed = !0;
13815
13815
  }
13816
13816
  this.index = 0, i++;
@@ -13834,7 +13834,7 @@ class k5 {
13834
13834
  }
13835
13835
  updateNodeAt(e, t, r, s, i) {
13836
13836
  let o = this.top.children[s];
13837
- return o.dirty == Tn && o.dom == o.contentDOM && (o.dirty = vr), o.update(e, t, r, i) ? (this.destroyBetween(this.index, s), this.index++, !0) : !1;
13837
+ return o.dirty == Tn && o.dom == o.contentDOM && (o.dirty = yr), o.update(e, t, r, i) ? (this.destroyBetween(this.index, s), this.index++, !0) : !1;
13838
13838
  }
13839
13839
  findIndexWithChild(e) {
13840
13840
  for (; ; ) {
@@ -13866,7 +13866,7 @@ class k5 {
13866
13866
  if (!f && a.update(e, t, r, s))
13867
13867
  return this.destroyBetween(this.index, l), a.dom != u && (this.changed = !0), this.index++, !0;
13868
13868
  if (!f && (d = this.recreateWrapper(a, e, t, r, s, o)))
13869
- return this.top.children[this.index] = d, d.contentDOM && (d.dirty = vr, d.updateChildren(s, o + 1), d.dirty = Qt), this.changed = !0, this.index++, !0;
13869
+ return this.top.children[this.index] = d, d.contentDOM && (d.dirty = yr, d.updateChildren(s, o + 1), d.dirty = Qt), this.changed = !0, this.index++, !0;
13870
13870
  break;
13871
13871
  }
13872
13872
  }
@@ -13903,7 +13903,7 @@ class k5 {
13903
13903
  // contentEditable.
13904
13904
  addTextblockHacks() {
13905
13905
  let e = this.top.children[this.index - 1], t = this.top;
13906
- for (; e instanceof _r; )
13906
+ for (; e instanceof Ir; )
13907
13907
  t = e, e = t.children[t.children.length - 1];
13908
13908
  (!e || // Empty textblock
13909
13909
  !(e instanceof na) || /\n$/.test(e.node.text) || this.view.requiresGeckoHackNode && /\s$/.test(e.node.text)) && ((kt || bt) && e && e.dom.contentEditable == "false" && this.addHackNode("IMG", t), this.addHackNode("BR", this.top));
@@ -13930,7 +13930,7 @@ function O5(n, e) {
13930
13930
  for (; ; )
13931
13931
  if (r) {
13932
13932
  let c = t.children[r - 1];
13933
- if (c instanceof _r)
13933
+ if (c instanceof Ir)
13934
13934
  t = c, r = c.children.length;
13935
13935
  else {
13936
13936
  l = c, r--;
@@ -14087,7 +14087,7 @@ function Ln(n, e = !1) {
14087
14087
  if (Yh(n, t), !!Gh(n)) {
14088
14088
  if (!e && n.input.mouseDown && n.input.mouseDown.allowDefault && bt) {
14089
14089
  let r = n.domSelectionRange(), s = n.domObserver.currentSelection;
14090
- if (r.anchorNode && s.anchorNode && Mr(r.anchorNode, r.anchorOffset, s.anchorNode, s.anchorOffset)) {
14090
+ if (r.anchorNode && s.anchorNode && _r(r.anchorNode, r.anchorOffset, s.anchorNode, s.anchorOffset)) {
14091
14091
  n.input.mouseDown.delayedSelectionSync = !0, n.domObserver.setCurSelection();
14092
14092
  return;
14093
14093
  }
@@ -14161,7 +14161,7 @@ function Jh(n) {
14161
14161
  }
14162
14162
  function P5(n) {
14163
14163
  let e = n.docView.domFromPos(n.state.selection.anchor, 0), t = n.domSelectionRange();
14164
- return Mr(e.node, e.offset, t.anchorNode, t.anchorOffset);
14164
+ return _r(e.node, e.offset, t.anchorNode, t.anchorOffset);
14165
14165
  }
14166
14166
  function Il(n, e) {
14167
14167
  let { $anchor: t, $head: r } = n.selection, s = e > 0 ? t.max(r) : t.min(r), i = s.parent.inlineContent ? s.depth ? n.doc.resolve(e > 0 ? s.after() : s.before()) : null : s;
@@ -14653,7 +14653,7 @@ Mt.keydown = (n, e) => {
14653
14653
  if (t.keyCode != 229 && n.domObserver.forceFlush(), ps && t.keyCode == 13 && !t.ctrlKey && !t.altKey && !t.metaKey) {
14654
14654
  let r = Date.now();
14655
14655
  n.input.lastIOSEnter = r, n.input.lastIOSEnterFallbackTimeout = setTimeout(() => {
14656
- n.input.lastIOSEnter == r && (n.someProp("handleKeyDown", (s) => s(n, mr(13, "Enter"))), n.input.lastIOSEnter = 0);
14656
+ n.input.lastIOSEnter == r && (n.someProp("handleKeyDown", (s) => s(n, gr(13, "Enter"))), n.input.lastIOSEnter = 0);
14657
14657
  }, 200);
14658
14658
  } else
14659
14659
  n.someProp("handleKeyDown", (r) => r(n, t)) || U5(n, t) ? t.preventDefault() : Xn(n, "key");
@@ -14994,7 +14994,7 @@ Ot.beforeinput = (n, e) => {
14994
14994
  n.domObserver.flushSoon();
14995
14995
  let { domChangeCount: r } = n.input;
14996
14996
  setTimeout(() => {
14997
- if (n.input.domChangeCount != r || (n.dom.blur(), n.focus(), n.someProp("handleKeyDown", (i) => i(n, mr(8, "Backspace")))))
14997
+ if (n.input.domChangeCount != r || (n.dom.blur(), n.focus(), n.someProp("handleKeyDown", (i) => i(n, gr(8, "Backspace")))))
14998
14998
  return;
14999
14999
  let { $cursor: s } = n.state.selection;
15000
15000
  s && s.pos > 0 && n.dispatch(n.state.tr.delete(s.pos - 1, s.pos).scrollIntoView());
@@ -15016,7 +15016,7 @@ function qs(n, e) {
15016
15016
  }
15017
15017
  class eo {
15018
15018
  constructor(e, t) {
15019
- this.toDOM = e, this.spec = t || xr, this.side = this.spec.side || 0;
15019
+ this.toDOM = e, this.spec = t || Ar, this.side = this.spec.side || 0;
15020
15020
  }
15021
15021
  map(e, t, r, s) {
15022
15022
  let { pos: i, deleted: o } = e.mapResult(t.from + s, this.side < 0 ? -1 : 1);
@@ -15034,7 +15034,7 @@ class eo {
15034
15034
  }
15035
15035
  class tr {
15036
15036
  constructor(e, t) {
15037
- this.attrs = e, this.spec = t || xr;
15037
+ this.attrs = e, this.spec = t || Ar;
15038
15038
  }
15039
15039
  map(e, t, r, s) {
15040
15040
  let i = e.map(t.from + s, this.spec.inclusiveStart ? -1 : 1) - r, o = e.map(t.to + s, this.spec.inclusiveEnd ? 1 : -1) - r;
@@ -15054,7 +15054,7 @@ class tr {
15054
15054
  }
15055
15055
  class Sc {
15056
15056
  constructor(e, t) {
15057
- this.attrs = e, this.spec = t || xr;
15057
+ this.attrs = e, this.spec = t || Ar;
15058
15058
  }
15059
15059
  map(e, t, r, s) {
15060
15060
  let i = e.mapResult(t.from + s, 1);
@@ -15144,7 +15144,7 @@ class Xt {
15144
15144
  return this.type instanceof eo;
15145
15145
  }
15146
15146
  }
15147
- const Yr = [], xr = {};
15147
+ const Yr = [], Ar = {};
15148
15148
  class ot {
15149
15149
  /**
15150
15150
  @internal
@@ -15158,7 +15158,7 @@ class ot {
15158
15158
  you must make a copy if you want need to preserve that.
15159
15159
  */
15160
15160
  static create(e, t) {
15161
- return t.length ? to(t, e, 0, xr) : vt;
15161
+ return t.length ? to(t, e, 0, Ar) : vt;
15162
15162
  }
15163
15163
  /**
15164
15164
  Find all decorations in this set which touch the given range
@@ -15188,7 +15188,7 @@ class ot {
15188
15188
  document.
15189
15189
  */
15190
15190
  map(e, t, r) {
15191
- return this == vt || e.maps.length == 0 ? this : this.mapInner(e, t, 0, 0, r || xr);
15191
+ return this == vt || e.maps.length == 0 ? this : this.mapInner(e, t, 0, 0, r || Ar);
15192
15192
  }
15193
15193
  /**
15194
15194
  @internal
@@ -15199,7 +15199,7 @@ class ot {
15199
15199
  let a = this.local[l].map(e, r, s);
15200
15200
  a && a.type.valid(t, a) ? (o || (o = [])).push(a) : i.onRemove && i.onRemove(this.local[l].spec);
15201
15201
  }
15202
- return this.children.length ? p3(this.children, o || [], e, t, r, s, i) : o ? new ot(o.sort(Ar), Yr) : vt;
15202
+ return this.children.length ? p3(this.children, o || [], e, t, r, s, i) : o ? new ot(o.sort(kr), Yr) : vt;
15203
15203
  }
15204
15204
  /**
15205
15205
  Add the given array of decorations to the ones in the set,
@@ -15217,13 +15217,13 @@ class ot {
15217
15217
  if (u = fp(t, l, c)) {
15218
15218
  for (s || (s = this.children.slice()); i < s.length && s[i] < a; )
15219
15219
  i += 3;
15220
- s[i] == a ? s[i + 2] = s[i + 2].addInner(l, u, c + 1) : s.splice(i, 0, a, a + l.nodeSize, to(u, l, c + 1, xr)), i += 3;
15220
+ s[i] == a ? s[i + 2] = s[i + 2].addInner(l, u, c + 1) : s.splice(i, 0, a, a + l.nodeSize, to(u, l, c + 1, Ar)), i += 3;
15221
15221
  }
15222
15222
  });
15223
15223
  let o = dp(i ? hp(t) : t, -r);
15224
15224
  for (let l = 0; l < o.length; l++)
15225
15225
  o[l].type.valid(e, o[l]) || o.splice(l--, 1);
15226
- return new ot(o.length ? this.local.concat(o).sort(Ar) : this.local, s || this.children);
15226
+ return new ot(o.length ? this.local.concat(o).sort(kr) : this.local, s || this.children);
15227
15227
  }
15228
15228
  /**
15229
15229
  Create a new set that contains the decorations in this set, minus
@@ -15275,7 +15275,7 @@ class ot {
15275
15275
  }
15276
15276
  }
15277
15277
  if (s) {
15278
- let l = new ot(s.sort(Ar), Yr);
15278
+ let l = new ot(s.sort(kr), Yr);
15279
15279
  return r ? new Gn([l, r]) : l;
15280
15280
  }
15281
15281
  return r || vt;
@@ -15324,7 +15324,7 @@ class Gn {
15324
15324
  this.members = e;
15325
15325
  }
15326
15326
  map(e, t) {
15327
- const r = this.members.map((s) => s.map(e, t, xr));
15327
+ const r = this.members.map((s) => s.map(e, t, Ar));
15328
15328
  return Gn.from(r);
15329
15329
  }
15330
15330
  forChild(e, t) {
@@ -15358,7 +15358,7 @@ class Gn {
15358
15358
  t.push(i[o]);
15359
15359
  }
15360
15360
  }
15361
- return t ? Cc(r ? t : t.sort(Ar)) : Yr;
15361
+ return t ? Cc(r ? t : t.sort(kr)) : Yr;
15362
15362
  }
15363
15363
  // Create a group for the given array of decoration sets, or return
15364
15364
  // a single set when possible.
@@ -15420,7 +15420,7 @@ function p3(n, e, t, r, s, i, o) {
15420
15420
  l.splice(f, 0, u.children[d], u.children[d + 1], u.children[d + 2]);
15421
15421
  }
15422
15422
  }
15423
- return new ot(e.sort(Ar), l);
15423
+ return new ot(e.sort(kr), l);
15424
15424
  }
15425
15425
  function dp(n, e) {
15426
15426
  if (!e || !n.length)
@@ -15469,12 +15469,12 @@ function to(n, e, t, r) {
15469
15469
  u != vt && s.push(a, a + l.nodeSize, u);
15470
15470
  }
15471
15471
  });
15472
- let o = dp(i ? hp(n) : n, -t).sort(Ar);
15472
+ let o = dp(i ? hp(n) : n, -t).sort(kr);
15473
15473
  for (let l = 0; l < o.length; l++)
15474
15474
  o[l].type.valid(e, o[l]) || (r.onRemove && r.onRemove(o[l].spec), o.splice(l--, 1));
15475
15475
  return o.length || s.length ? new ot(o, s) : vt;
15476
15476
  }
15477
- function Ar(n, e) {
15477
+ function kr(n, e) {
15478
15478
  return n.from - e.from || n.to - e.to;
15479
15479
  }
15480
15480
  function Cc(n) {
@@ -15496,7 +15496,7 @@ function Cc(n) {
15496
15496
  return e;
15497
15497
  }
15498
15498
  function dd(n, e, t) {
15499
- for (; e < n.length && Ar(t, n[e]) > 0; )
15499
+ for (; e < n.length && kr(t, n[e]) > 0; )
15500
15500
  e++;
15501
15501
  n.splice(e, 0, t);
15502
15502
  }
@@ -15577,7 +15577,7 @@ class b3 {
15577
15577
  return Ln(this.view);
15578
15578
  if (Lt && qn <= 11 && !this.view.state.selection.empty) {
15579
15579
  let e = this.view.domSelectionRange();
15580
- if (e.focusNode && Mr(e.focusNode, e.focusOffset, e.anchorNode, e.anchorOffset))
15580
+ if (e.focusNode && _r(e.focusNode, e.focusOffset, e.anchorNode, e.anchorOffset))
15581
15581
  return this.flushSoon();
15582
15582
  }
15583
15583
  this.flush();
@@ -15679,7 +15679,7 @@ function S3(n) {
15679
15679
  }
15680
15680
  n.dom.addEventListener("beforeinput", t, !0), document.execCommand("indent"), n.dom.removeEventListener("beforeinput", t, !0);
15681
15681
  let r = e.startContainer, s = e.startOffset, i = e.endContainer, o = e.endOffset, l = n.domAtPos(n.state.selection.anchor);
15682
- return Mr(l.node, l.offset, i, o) && ([r, s, i, o] = [i, o, r, s]), { anchorNode: r, anchorOffset: s, focusNode: i, focusOffset: o };
15682
+ return _r(l.node, l.offset, i, o) && ([r, s, i, o] = [i, o, r, s]), { anchorNode: r, anchorOffset: s, focusNode: i, focusOffset: o };
15683
15683
  }
15684
15684
  function C3(n, e, t) {
15685
15685
  let { node: r, fromOffset: s, toOffset: i, from: o, to: l } = n.docView.parseRange(e, t), a = n.domSelectionRange(), c, u = a.anchorNode;
@@ -15730,7 +15730,7 @@ function x3(n, e, t, r, s) {
15730
15730
  if (n.input.compositionPendingChanges = 0, e < 0) {
15731
15731
  let U = n.input.lastSelectionTime > Date.now() - 50 ? n.input.lastSelectionOrigin : null, $ = gc(n, U);
15732
15732
  if ($ && !n.state.selection.eq($)) {
15733
- if (bt && rn && n.input.lastKeyCode === 13 && Date.now() - 100 < n.input.lastKeyCodeTime && n.someProp("handleKeyDown", (B) => B(n, mr(13, "Enter"))))
15733
+ if (bt && rn && n.input.lastKeyCode === 13 && Date.now() - 100 < n.input.lastKeyCodeTime && n.someProp("handleKeyDown", (B) => B(n, gr(13, "Enter"))))
15734
15734
  return;
15735
15735
  let N = n.state.tr.setSelection($);
15736
15736
  U == "pointer" ? N.setMeta("pointer", !0) : U == "key" && N.scrollIntoView(), i && N.setMeta("composition", i), n.dispatch(N);
@@ -15742,7 +15742,7 @@ function x3(n, e, t, r, s) {
15742
15742
  let a = n.state.selection, c = C3(n, e, t), u = n.state.doc, d = u.slice(c.from, c.to), f, h;
15743
15743
  n.input.lastKeyCode === 8 && Date.now() - 100 < n.input.lastKeyCodeTime ? (f = n.state.selection.to, h = "end") : (f = n.state.selection.from, h = "start"), n.input.lastKeyCode = null;
15744
15744
  let p = O3(d.content, c.doc.content, c.from, f, h);
15745
- if ((ps && n.input.lastIOSEnter > Date.now() - 225 || rn) && s.some((U) => U.nodeType == 1 && !T3.test(U.nodeName)) && (!p || p.endA >= p.endB) && n.someProp("handleKeyDown", (U) => U(n, mr(13, "Enter")))) {
15745
+ if ((ps && n.input.lastIOSEnter > Date.now() - 225 || rn) && s.some((U) => U.nodeType == 1 && !T3.test(U.nodeName)) && (!p || p.endA >= p.endB) && n.someProp("handleKeyDown", (U) => U(n, gr(13, "Enter")))) {
15746
15746
  n.input.lastIOSEnter = 0;
15747
15747
  return;
15748
15748
  }
@@ -15765,17 +15765,17 @@ function x3(n, e, t, r, s) {
15765
15765
  }
15766
15766
  n.input.domChangeCount++, n.state.selection.from < n.state.selection.to && p.start == p.endB && n.state.selection instanceof Ue && (p.start > n.state.selection.from && p.start <= n.state.selection.from + 2 && n.state.selection.from >= c.from ? p.start = n.state.selection.from : p.endA < n.state.selection.to && p.endA >= n.state.selection.to - 2 && n.state.selection.to <= c.to && (p.endB += n.state.selection.to - p.endA, p.endA = n.state.selection.to)), Lt && qn <= 11 && p.endB == p.start + 1 && p.endA == p.start && p.start > c.from && c.doc.textBetween(p.start - c.from - 1, p.start - c.from + 1) == "  " && (p.start--, p.endA--, p.endB--);
15767
15767
  let m = c.doc.resolveNoCache(p.start - c.from), g = c.doc.resolveNoCache(p.endB - c.from), E = u.resolve(p.start), S = m.sameParent(g) && m.parent.inlineContent && E.end() >= p.endA, w;
15768
- if ((ps && n.input.lastIOSEnter > Date.now() - 225 && (!S || s.some((U) => U.nodeName == "DIV" || U.nodeName == "P")) || !S && m.pos < c.doc.content.size && !m.sameParent(g) && (w = ze.findFrom(c.doc.resolve(m.pos + 1), 1, !0)) && w.head == g.pos) && n.someProp("handleKeyDown", (U) => U(n, mr(13, "Enter")))) {
15768
+ if ((ps && n.input.lastIOSEnter > Date.now() - 225 && (!S || s.some((U) => U.nodeName == "DIV" || U.nodeName == "P")) || !S && m.pos < c.doc.content.size && !m.sameParent(g) && (w = ze.findFrom(c.doc.resolve(m.pos + 1), 1, !0)) && w.head == g.pos) && n.someProp("handleKeyDown", (U) => U(n, gr(13, "Enter")))) {
15769
15769
  n.input.lastIOSEnter = 0;
15770
15770
  return;
15771
15771
  }
15772
- if (n.state.selection.anchor > p.start && k3(u, p.start, p.endA, m, g) && n.someProp("handleKeyDown", (U) => U(n, mr(8, "Backspace")))) {
15772
+ if (n.state.selection.anchor > p.start && k3(u, p.start, p.endA, m, g) && n.someProp("handleKeyDown", (U) => U(n, gr(8, "Backspace")))) {
15773
15773
  rn && bt && n.domObserver.suppressSelectionUpdates();
15774
15774
  return;
15775
15775
  }
15776
15776
  bt && rn && p.endB == p.start && (n.input.lastAndroidDelete = Date.now()), rn && !S && m.start() != g.start() && g.parentOffset == 0 && m.depth == g.depth && c.sel && c.sel.anchor == c.sel.head && c.sel.head == p.endA && (p.endB -= 2, g = c.doc.resolveNoCache(p.endB - c.from), setTimeout(() => {
15777
15777
  n.someProp("handleKeyDown", function(U) {
15778
- return U(n, mr(13, "Enter"));
15778
+ return U(n, gr(13, "Enter"));
15779
15779
  });
15780
15780
  }, 20));
15781
15781
  let y = p.start, M = p.endA, T, V, z;
@@ -16501,7 +16501,7 @@ function mp(n) {
16501
16501
  const G3 = (n, e) => {
16502
16502
  let t = n.selection, r = t instanceof Ie, s;
16503
16503
  if (r) {
16504
- if (t.node.isTextblock || !or(n.doc, t.from))
16504
+ if (t.node.isTextblock || !ar(n.doc, t.from))
16505
16505
  return !1;
16506
16506
  s = t.from;
16507
16507
  } else if (s = qo(n.doc, t.from, -1), s == null)
@@ -16514,7 +16514,7 @@ const G3 = (n, e) => {
16514
16514
  }, Y3 = (n, e) => {
16515
16515
  let t = n.selection, r;
16516
16516
  if (t instanceof Ie) {
16517
- if (t.node.isTextblock || !or(n.doc, t.to))
16517
+ if (t.node.isTextblock || !ar(n.doc, t.to))
16518
16518
  return !1;
16519
16519
  r = t.to;
16520
16520
  } else if (r = qo(n.doc, t.to, 1), r == null)
@@ -16577,7 +16577,7 @@ const X3 = (n, e) => {
16577
16577
  };
16578
16578
  function tb(n, e, t) {
16579
16579
  let r = e.nodeBefore, s = e.nodeAfter, i = e.index();
16580
- return !r || !s || !r.type.compatibleContent(s.type) ? !1 : !r.content.size && e.parent.canReplace(i - 1, i) ? (t && t(n.tr.delete(e.pos - r.nodeSize, e.pos).scrollIntoView()), !0) : !e.parent.canReplace(i, i + 1) || !(s.isTextblock || or(n.doc, e.pos)) ? !1 : (t && t(n.tr.clearIncompatible(e.pos, r.type, r.contentMatchAt(r.childCount)).join(e.pos).scrollIntoView()), !0);
16580
+ return !r || !s || !r.type.compatibleContent(s.type) ? !1 : !r.content.size && e.parent.canReplace(i - 1, i) ? (t && t(n.tr.delete(e.pos - r.nodeSize, e.pos).scrollIntoView()), !0) : !e.parent.canReplace(i, i + 1) || !(s.isTextblock || ar(n.doc, e.pos)) ? !1 : (t && t(n.tr.clearIncompatible(e.pos, r.type, r.contentMatchAt(r.childCount)).join(e.pos).scrollIntoView()), !0);
16581
16581
  }
16582
16582
  function vp(n, e, t) {
16583
16583
  let r = e.nodeBefore, s = e.nodeAfter, i, o;
@@ -16593,7 +16593,7 @@ function vp(n, e, t) {
16593
16593
  f = ue.from(i[m].create(null, f));
16594
16594
  f = ue.from(r.copy(f));
16595
16595
  let h = n.tr.step(new ut(e.pos - 1, d, e.pos, d, new ye(f, 1, 0), i.length, !0)), p = d + 2 * i.length;
16596
- or(h.doc, p) && h.join(p), t(h.scrollIntoView());
16596
+ ar(h.doc, p) && h.join(p), t(h.scrollIntoView());
16597
16597
  }
16598
16598
  return !0;
16599
16599
  }
@@ -16711,7 +16711,7 @@ function lb(n, e, t, r) {
16711
16711
  return !1;
16712
16712
  s.lift(r, l);
16713
16713
  let a = s.mapping.map(i, -1) - 1;
16714
- return or(s.doc, a) && s.join(a), e(s.scrollIntoView()), !0;
16714
+ return ar(s.doc, a) && s.join(a), e(s.scrollIntoView()), !0;
16715
16715
  }
16716
16716
  function cb(n, e, t) {
16717
16717
  let r = n.tr, s = t.parent;
@@ -17597,7 +17597,7 @@ function Tc(n, e, t = {}) {
17597
17597
  to: a
17598
17598
  };
17599
17599
  }
17600
- function lr(n, e) {
17600
+ function cr(n, e) {
17601
17601
  if (typeof n == "string") {
17602
17602
  if (!e.marks[n])
17603
17603
  throw Error(`There is no mark type named '${n}'. Maybe you forgot to add the extension?`);
@@ -17606,7 +17606,7 @@ function lr(n, e) {
17606
17606
  return n;
17607
17607
  }
17608
17608
  const Bb = (n, e = {}) => ({ tr: t, state: r, dispatch: s }) => {
17609
- const i = lr(n, r.schema), { doc: o, selection: l } = t, { $from: a, from: c, to: u } = l;
17609
+ const i = cr(n, r.schema), { doc: o, selection: l } = t, { $from: a, from: c, to: u } = l;
17610
17610
  if (s) {
17611
17611
  const d = Tc(a, i, e);
17612
17612
  if (d && d.from <= c && d.to >= u) {
@@ -17814,7 +17814,7 @@ function Ad(n, e) {
17814
17814
  const i7 = (n, e) => ({ tr: t, state: r, dispatch: s }) => {
17815
17815
  let i = null, o = null;
17816
17816
  const l = la(typeof n == "string" ? n : n.name, r.schema);
17817
- return l ? (l === "node" && (i = dt(n, r.schema)), l === "mark" && (o = lr(n, r.schema)), s && t.selection.ranges.forEach((a) => {
17817
+ return l ? (l === "node" && (i = dt(n, r.schema)), l === "mark" && (o = cr(n, r.schema)), s && t.selection.ranges.forEach((a) => {
17818
17818
  r.doc.nodesBetween(a.$from.pos, a.$to.pos, (c, u) => {
17819
17819
  i && i === c.type && t.setNodeMarkup(u, void 0, Ad(c.attrs, e)), o && c.marks.length && c.marks.forEach((d) => {
17820
17820
  o === d.type && t.addMark(u, u + c.nodeSize, o.create(Ad(d.attrs, e)));
@@ -17833,7 +17833,7 @@ const h7 = (n, e = !1, t = {}) => ({ tr: r, editor: s, dispatch: i }) => {
17833
17833
  return i && r.replaceWith(0, o.content.size, l).setMeta("preventUpdate", !e), !0;
17834
17834
  };
17835
17835
  function ca(n, e) {
17836
- const t = lr(e, n.schema), { from: r, to: s, empty: i } = n.selection, o = [];
17836
+ const t = cr(e, n.schema), { from: r, to: s, empty: i } = n.selection, o = [];
17837
17837
  i ? (n.storedMarks && o.push(...n.storedMarks), o.push(...n.selection.$head.marks())) : n.doc.nodesBetween(r, s, (a) => {
17838
17838
  o.push(...a.marks);
17839
17839
  });
@@ -17966,7 +17966,7 @@ function Fi(n, e, t) {
17966
17966
  }));
17967
17967
  }
17968
17968
  function $l(n, e, t = {}) {
17969
- const { empty: r, ranges: s } = n.selection, i = e ? lr(e, n.schema) : null;
17969
+ const { empty: r, ranges: s } = n.selection, i = e ? cr(e, n.schema) : null;
17970
17970
  if (r)
17971
17971
  return !!(n.storedMarks || n.selection.$from.marks()).filter((d) => i ? i.name === d.type.name : !0).find((d) => ro(d.attrs, t, { strict: !1 }));
17972
17972
  let o = 0;
@@ -18052,7 +18052,7 @@ function k7(n, e, t) {
18052
18052
  });
18053
18053
  }
18054
18054
  const O7 = (n, e = {}) => ({ tr: t, state: r, dispatch: s }) => {
18055
- const { selection: i } = t, { empty: o, ranges: l } = i, a = lr(n, r.schema);
18055
+ const { selection: i } = t, { empty: o, ranges: l } = i, a = cr(n, r.schema);
18056
18056
  if (s)
18057
18057
  if (o) {
18058
18058
  const c = ca(r, a);
@@ -18182,7 +18182,7 @@ const L7 = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: r, edit
18182
18182
  if (r === void 0)
18183
18183
  return !0;
18184
18184
  const s = n.doc.nodeAt(r);
18185
- return t.node.type === (s == null ? void 0 : s.type) && or(n.doc, t.pos) && n.join(t.pos), !0;
18185
+ return t.node.type === (s == null ? void 0 : s.type) && ar(n.doc, t.pos) && n.join(t.pos), !0;
18186
18186
  }, Ua = (n, e) => {
18187
18187
  const t = kc((o) => o.type === e)(n.selection);
18188
18188
  if (!t)
@@ -18191,7 +18191,7 @@ const L7 = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: r, edit
18191
18191
  if (r === void 0)
18192
18192
  return !0;
18193
18193
  const s = n.doc.nodeAt(r);
18194
- return t.node.type === (s == null ? void 0 : s.type) && or(n.doc, r) && n.join(r), !0;
18194
+ return t.node.type === (s == null ? void 0 : s.type) && ar(n.doc, r) && n.join(r), !0;
18195
18195
  }, P7 = (n, e, t, r = {}) => ({ editor: s, tr: i, state: o, dispatch: l, chain: a, commands: c, can: u }) => {
18196
18196
  const { extensions: d, splittableMarks: f } = s.extensionManager, h = dt(n, o.schema), p = dt(e, o.schema), { selection: m, storedMarks: g } = o, { $from: E, $to: S } = m, w = E.blockRange(S), y = g || m.$to.parentOffset && m.$from.marks();
18197
18197
  if (!w)
@@ -18208,7 +18208,7 @@ const L7 = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: r, edit
18208
18208
  return i.ensureMarks(V), T ? !0 : c.clearNodes();
18209
18209
  }).wrapInList(h, r).command(() => za(i, h)).command(() => Ua(i, h)).run();
18210
18210
  }, $7 = (n, e = {}, t = {}) => ({ state: r, commands: s }) => {
18211
- const { extendEmptyMarkRange: i = !1 } = t, o = lr(n, r.schema);
18211
+ const { extendEmptyMarkRange: i = !1 } = t, o = cr(n, r.schema);
18212
18212
  return $l(r, o, e) ? s.unsetMark(o, { extendEmptyMarkRange: i }) : s.setMark(o, e);
18213
18213
  }, F7 = (n, e, t = {}) => ({ state: r, commands: s }) => {
18214
18214
  const i = dt(n, r.schema), o = dt(e, r.schema);
@@ -18243,7 +18243,7 @@ const L7 = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: r, edit
18243
18243
  }), !0;
18244
18244
  }, z7 = (n, e = {}) => ({ tr: t, state: r, dispatch: s }) => {
18245
18245
  var i;
18246
- const { extendEmptyMarkRange: o = !1 } = e, { selection: l } = t, a = lr(n, r.schema), { $from: c, empty: u, ranges: d } = l;
18246
+ const { extendEmptyMarkRange: o = !1 } = e, { selection: l } = t, a = cr(n, r.schema), { $from: c, empty: u, ranges: d } = l;
18247
18247
  if (!s)
18248
18248
  return !0;
18249
18249
  if (u && o) {
@@ -18258,7 +18258,7 @@ const L7 = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: r, edit
18258
18258
  }, U7 = (n, e = {}) => ({ tr: t, state: r, dispatch: s }) => {
18259
18259
  let i = null, o = null;
18260
18260
  const l = la(typeof n == "string" ? n : n.name, r.schema);
18261
- return l ? (l === "node" && (i = dt(n, r.schema)), l === "mark" && (o = lr(n, r.schema)), s && t.selection.ranges.forEach((a) => {
18261
+ return l ? (l === "node" && (i = dt(n, r.schema)), l === "mark" && (o = cr(n, r.schema)), s && t.selection.ranges.forEach((a) => {
18262
18262
  const c = a.$from.pos, u = a.$to.pos;
18263
18263
  r.doc.nodesBetween(c, u, (d, f) => {
18264
18264
  i && i === d.type && t.setNodeMarkup(f, void 0, {
@@ -18877,7 +18877,7 @@ function oo(n) {
18877
18877
  s().updateAttributes(d, i).run();
18878
18878
  }
18879
18879
  const u = o.doc.resolve(t.from - 1).nodeBefore;
18880
- u && u.type === n.type && or(o.doc, t.from - 1) && (!n.joinPredicate || n.joinPredicate(r, u)) && o.join(t.from - 1);
18880
+ u && u.type === n.type && ar(o.doc, t.from - 1) && (!n.joinPredicate || n.joinPredicate(r, u)) && o.join(t.from - 1);
18881
18881
  }
18882
18882
  });
18883
18883
  }
@@ -18980,10 +18980,10 @@ function ti(n) {
18980
18980
  }
18981
18981
  });
18982
18982
  }
18983
- var xt = "top", Ht = "bottom", zt = "right", At = "left", di = "auto", xs = [xt, Ht, zt, At], Ir = "start", gs = "end", Mp = "clippingParents", Mc = "viewport", Jr = "popper", _p = "reference", Bl = /* @__PURE__ */ xs.reduce(function(n, e) {
18984
- return n.concat([e + "-" + Ir, e + "-" + gs]);
18983
+ var xt = "top", Ht = "bottom", zt = "right", At = "left", di = "auto", xs = [xt, Ht, zt, At], Dr = "start", gs = "end", Mp = "clippingParents", Mc = "viewport", Jr = "popper", _p = "reference", Bl = /* @__PURE__ */ xs.reduce(function(n, e) {
18984
+ return n.concat([e + "-" + Dr, e + "-" + gs]);
18985
18985
  }, []), _c = /* @__PURE__ */ [].concat(xs, [di]).reduce(function(n, e) {
18986
- return n.concat([e, e + "-" + Ir, e + "-" + gs]);
18986
+ return n.concat([e, e + "-" + Dr, e + "-" + gs]);
18987
18987
  }, []), Ip = "beforeRead", Dp = "read", Np = "afterRead", Lp = "beforeMain", Rp = "main", Pp = "afterMain", $p = "beforeWrite", Fp = "write", Bp = "afterWrite", ao = [Ip, Dp, Np, Lp, Rp, Pp, $p, Fp, Bp];
18988
18988
  function An(n) {
18989
18989
  return n ? (n.nodeName || "").toLowerCase() : null;
@@ -18997,7 +18997,7 @@ function Ut(n) {
18997
18997
  }
18998
18998
  return n;
18999
18999
  }
19000
- function Dr(n) {
19000
+ function Nr(n) {
19001
19001
  var e = Ut(n).Element;
19002
19002
  return n instanceof e || n instanceof Element;
19003
19003
  }
@@ -19056,7 +19056,7 @@ const ua = {
19056
19056
  function on(n) {
19057
19057
  return n.split("-")[0];
19058
19058
  }
19059
- var kr = Math.max, lo = Math.min, vs = Math.round;
19059
+ var Or = Math.max, lo = Math.min, vs = Math.round;
19060
19060
  function Vl() {
19061
19061
  var n = navigator.userAgentData;
19062
19062
  return n != null && n.brands && Array.isArray(n.brands) ? n.brands.map(function(e) {
@@ -19070,7 +19070,7 @@ function ys(n, e, t) {
19070
19070
  e === void 0 && (e = !1), t === void 0 && (t = !1);
19071
19071
  var r = n.getBoundingClientRect(), s = 1, i = 1;
19072
19072
  e && Vt(n) && (s = n.offsetWidth > 0 && vs(r.width) / n.offsetWidth || 1, i = n.offsetHeight > 0 && vs(r.height) / n.offsetHeight || 1);
19073
- var o = Dr(n) ? Ut(n) : window, l = o.visualViewport, a = !Vp() && t, c = (r.left + (a && l ? l.offsetLeft : 0)) / s, u = (r.top + (a && l ? l.offsetTop : 0)) / i, d = r.width / s, f = r.height / i;
19073
+ var o = Nr(n) ? Ut(n) : window, l = o.visualViewport, a = !Vp() && t, c = (r.left + (a && l ? l.offsetLeft : 0)) / s, u = (r.top + (a && l ? l.offsetTop : 0)) / i, d = r.width / s, f = r.height / i;
19074
19074
  return {
19075
19075
  width: d,
19076
19076
  height: f,
@@ -19111,8 +19111,8 @@ function cn(n) {
19111
19111
  function s8(n) {
19112
19112
  return ["table", "td", "th"].indexOf(An(n)) >= 0;
19113
19113
  }
19114
- function cr(n) {
19115
- return ((Dr(n) ? n.ownerDocument : (
19114
+ function ur(n) {
19115
+ return ((Nr(n) ? n.ownerDocument : (
19116
19116
  // $FlowFixMe[prop-missing]
19117
19117
  n.document
19118
19118
  )) || window.document).documentElement;
@@ -19126,7 +19126,7 @@ function da(n) {
19126
19126
  n.parentNode || // DOM Element detected
19127
19127
  (Ic(n) ? n.host : null) || // ShadowRoot detected
19128
19128
  // $FlowFixMe[incompatible-call]: HTMLElement is a Node
19129
- cr(n)
19129
+ ur(n)
19130
19130
  );
19131
19131
  }
19132
19132
  function Md(n) {
@@ -19158,7 +19158,7 @@ function Nc(n) {
19158
19158
  return ["top", "bottom"].indexOf(n) >= 0 ? "x" : "y";
19159
19159
  }
19160
19160
  function Hs(n, e, t) {
19161
- return kr(n, lo(e, t));
19161
+ return Or(n, lo(e, t));
19162
19162
  }
19163
19163
  function o8(n, e, t) {
19164
19164
  var r = Hs(n, e, t);
@@ -19239,7 +19239,7 @@ function _d(n) {
19239
19239
  var E = o.hasOwnProperty("x"), S = o.hasOwnProperty("y"), w = At, y = xt, M = window;
19240
19240
  if (c) {
19241
19241
  var T = fi(t), V = "clientHeight", z = "clientWidth";
19242
- if (T === Ut(t) && (T = cr(t), cn(T).position !== "static" && l === "absolute" && (V = "scrollHeight", z = "scrollWidth")), T = T, s === xt || (s === At || s === zt) && i === gs) {
19242
+ if (T === Ut(t) && (T = ur(t), cn(T).position !== "static" && l === "absolute" && (V = "scrollHeight", z = "scrollWidth")), T = T, s === xt || (s === At || s === zt) && i === gs) {
19243
19243
  y = Ht;
19244
19244
  var U = d && T === M && M.visualViewport ? M.visualViewport.height : (
19245
19245
  // $FlowFixMe[prop-missing]
@@ -19362,10 +19362,10 @@ function Pc(n) {
19362
19362
  };
19363
19363
  }
19364
19364
  function $c(n) {
19365
- return ys(cr(n)).left + Pc(n).scrollLeft;
19365
+ return ys(ur(n)).left + Pc(n).scrollLeft;
19366
19366
  }
19367
19367
  function g8(n, e) {
19368
- var t = Ut(n), r = cr(n), s = t.visualViewport, i = r.clientWidth, o = r.clientHeight, l = 0, a = 0;
19368
+ var t = Ut(n), r = ur(n), s = t.visualViewport, i = r.clientWidth, o = r.clientHeight, l = 0, a = 0;
19369
19369
  if (s) {
19370
19370
  i = s.width, o = s.height;
19371
19371
  var c = Vp();
@@ -19379,8 +19379,8 @@ function g8(n, e) {
19379
19379
  };
19380
19380
  }
19381
19381
  function v8(n) {
19382
- var e, t = cr(n), r = Pc(n), s = (e = n.ownerDocument) == null ? void 0 : e.body, i = kr(t.scrollWidth, t.clientWidth, s ? s.scrollWidth : 0, s ? s.clientWidth : 0), o = kr(t.scrollHeight, t.clientHeight, s ? s.scrollHeight : 0, s ? s.clientHeight : 0), l = -r.scrollLeft + $c(n), a = -r.scrollTop;
19383
- return cn(s || t).direction === "rtl" && (l += kr(t.clientWidth, s ? s.clientWidth : 0) - i), {
19382
+ var e, t = ur(n), r = Pc(n), s = (e = n.ownerDocument) == null ? void 0 : e.body, i = Or(t.scrollWidth, t.clientWidth, s ? s.scrollWidth : 0, s ? s.clientWidth : 0), o = Or(t.scrollHeight, t.clientHeight, s ? s.scrollHeight : 0, s ? s.clientHeight : 0), l = -r.scrollLeft + $c(n), a = -r.scrollTop;
19383
+ return cn(s || t).direction === "rtl" && (l += Or(t.clientWidth, s ? s.clientWidth : 0) - i), {
19384
19384
  width: i,
19385
19385
  height: o,
19386
19386
  x: l,
@@ -19416,18 +19416,18 @@ function y8(n, e) {
19416
19416
  return t.top = t.top + n.clientTop, t.left = t.left + n.clientLeft, t.bottom = t.top + n.clientHeight, t.right = t.left + n.clientWidth, t.width = n.clientWidth, t.height = n.clientHeight, t.x = t.left, t.y = t.top, t;
19417
19417
  }
19418
19418
  function Dd(n, e, t) {
19419
- return e === Mc ? Hl(g8(n, t)) : Dr(e) ? y8(e, t) : Hl(v8(cr(n)));
19419
+ return e === Mc ? Hl(g8(n, t)) : Nr(e) ? y8(e, t) : Hl(v8(ur(n)));
19420
19420
  }
19421
19421
  function b8(n) {
19422
19422
  var e = zs(da(n)), t = ["absolute", "fixed"].indexOf(cn(n).position) >= 0, r = t && Vt(n) ? fi(n) : n;
19423
- return Dr(r) ? e.filter(function(s) {
19424
- return Dr(s) && Hp(s, r) && An(s) !== "body";
19423
+ return Nr(r) ? e.filter(function(s) {
19424
+ return Nr(s) && Hp(s, r) && An(s) !== "body";
19425
19425
  }) : [];
19426
19426
  }
19427
19427
  function E8(n, e, t, r) {
19428
19428
  var s = e === "clippingParents" ? b8(n) : [].concat(e), i = [].concat(s, [t]), o = i[0], l = i.reduce(function(a, c) {
19429
19429
  var u = Dd(n, c, r);
19430
- return a.top = kr(u.top, a.top), a.right = lo(u.right, a.right), a.bottom = lo(u.bottom, a.bottom), a.left = kr(u.left, a.left), a;
19430
+ return a.top = Or(u.top, a.top), a.right = lo(u.right, a.right), a.bottom = lo(u.bottom, a.bottom), a.left = Or(u.left, a.left), a;
19431
19431
  }, Dd(n, o, r));
19432
19432
  return l.width = l.right - l.left, l.height = l.bottom - l.top, l.x = l.left, l.y = l.top, l;
19433
19433
  }
@@ -19468,7 +19468,7 @@ function Gp(n) {
19468
19468
  if (c != null) {
19469
19469
  var u = c === "y" ? "height" : "width";
19470
19470
  switch (i) {
19471
- case Ir:
19471
+ case Dr:
19472
19472
  a[c] = a[c] - (e[u] / 2 - t[u] / 2);
19473
19473
  break;
19474
19474
  case gs:
@@ -19480,7 +19480,7 @@ function Gp(n) {
19480
19480
  }
19481
19481
  function Es(n, e) {
19482
19482
  e === void 0 && (e = {});
19483
- var t = e, r = t.placement, s = r === void 0 ? n.placement : r, i = t.strategy, o = i === void 0 ? n.strategy : i, l = t.boundary, a = l === void 0 ? Mp : l, c = t.rootBoundary, u = c === void 0 ? Mc : c, d = t.elementContext, f = d === void 0 ? Jr : d, h = t.altBoundary, p = h === void 0 ? !1 : h, m = t.padding, g = m === void 0 ? 0 : m, E = Up(typeof g != "number" ? g : jp(g, xs)), S = f === Jr ? _p : Jr, w = n.rects.popper, y = n.elements[p ? S : f], M = E8(Dr(y) ? y : y.contextElement || cr(n.elements.popper), a, u, o), T = ys(n.elements.reference), V = Gp({
19483
+ var t = e, r = t.placement, s = r === void 0 ? n.placement : r, i = t.strategy, o = i === void 0 ? n.strategy : i, l = t.boundary, a = l === void 0 ? Mp : l, c = t.rootBoundary, u = c === void 0 ? Mc : c, d = t.elementContext, f = d === void 0 ? Jr : d, h = t.altBoundary, p = h === void 0 ? !1 : h, m = t.padding, g = m === void 0 ? 0 : m, E = Up(typeof g != "number" ? g : jp(g, xs)), S = f === Jr ? _p : Jr, w = n.rects.popper, y = n.elements[p ? S : f], M = E8(Nr(y) ? y : y.contextElement || ur(n.elements.popper), a, u, o), T = ys(n.elements.reference), V = Gp({
19484
19484
  reference: T,
19485
19485
  element: w,
19486
19486
  strategy: "absolute",
@@ -19539,7 +19539,7 @@ function w8(n) {
19539
19539
  allowedAutoPlacements: m
19540
19540
  }) : xe);
19541
19541
  }, []), M = e.rects.reference, T = e.rects.popper, V = /* @__PURE__ */ new Map(), z = !0, U = y[0], $ = 0; $ < y.length; $++) {
19542
- var N = y[$], B = on(N), j = bs(N) === Ir, H = [xt, Ht].indexOf(B) >= 0, F = H ? "width" : "height", P = Es(e, {
19542
+ var N = y[$], B = on(N), j = bs(N) === Dr, H = [xt, Ht].indexOf(B) >= 0, F = H ? "width" : "height", P = Es(e, {
19543
19543
  placement: N,
19544
19544
  boundary: u,
19545
19545
  rootBoundary: d,
@@ -19688,10 +19688,10 @@ function M8(n) {
19688
19688
  };
19689
19689
  if (T) {
19690
19690
  if (i) {
19691
- var j, H = y === "y" ? xt : At, F = y === "y" ? Ht : zt, P = y === "y" ? "height" : "width", G = T[y], D = G + g[H], Q = G - g[F], re = h ? -z[P] / 2 : 0, de = S === Ir ? V[P] : z[P], ge = S === Ir ? -z[P] : -V[P], ve = e.elements.arrow, Ce = h && ve ? Dc(ve) : {
19691
+ var j, H = y === "y" ? xt : At, F = y === "y" ? Ht : zt, P = y === "y" ? "height" : "width", G = T[y], D = G + g[H], Q = G - g[F], re = h ? -z[P] / 2 : 0, de = S === Dr ? V[P] : z[P], ge = S === Dr ? -z[P] : -V[P], ve = e.elements.arrow, Ce = h && ve ? Dc(ve) : {
19692
19692
  width: 0,
19693
19693
  height: 0
19694
- }, xe = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : zp(), Oe = xe[H], be = xe[F], x = Hs(0, V[P], Ce[P]), k = w ? V[P] / 2 - re - x - Oe - $.mainAxis : de - x - Oe - $.mainAxis, C = w ? -V[P] / 2 + re + x + be + $.mainAxis : ge + x + be + $.mainAxis, A = e.elements.arrow && fi(e.elements.arrow), v = A ? y === "y" ? A.clientTop || 0 : A.clientLeft || 0 : 0, b = (j = N == null ? void 0 : N[y]) != null ? j : 0, _ = G + k - b - v, I = G + C - b, L = Hs(h ? lo(D, _) : D, G, h ? kr(Q, I) : Q);
19694
+ }, xe = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : zp(), Oe = xe[H], be = xe[F], x = Hs(0, V[P], Ce[P]), k = w ? V[P] / 2 - re - x - Oe - $.mainAxis : de - x - Oe - $.mainAxis, C = w ? -V[P] / 2 + re + x + be + $.mainAxis : ge + x + be + $.mainAxis, A = e.elements.arrow && fi(e.elements.arrow), v = A ? y === "y" ? A.clientTop || 0 : A.clientLeft || 0 : 0, b = (j = N == null ? void 0 : N[y]) != null ? j : 0, _ = G + k - b - v, I = G + C - b, L = Hs(h ? lo(D, _) : D, G, h ? Or(Q, I) : Q);
19695
19695
  T[y] = L, B[y] = L - G;
19696
19696
  }
19697
19697
  if (l) {
@@ -19723,7 +19723,7 @@ function D8(n) {
19723
19723
  }
19724
19724
  function N8(n, e, t) {
19725
19725
  t === void 0 && (t = !1);
19726
- var r = Vt(e), s = Vt(e) && D8(e), i = cr(e), o = ys(n, s, t), l = {
19726
+ var r = Vt(e), s = Vt(e) && D8(e), i = ur(e), o = ys(n, s, t), l = {
19727
19727
  scrollLeft: 0,
19728
19728
  scrollTop: 0
19729
19729
  }, a = {
@@ -19782,7 +19782,7 @@ function Hn(n) {
19782
19782
  return s.replace(/%s/, i);
19783
19783
  }, n);
19784
19784
  }
19785
- var hr = 'Popper: modifier "%s" provided an invalid %s property, expected %s but got %s', $8 = 'Popper: modifier "%s" requires "%s", but "%s" modifier is not available', Rd = ["name", "enabled", "phase", "fn", "effect", "requires", "options"];
19785
+ var pr = 'Popper: modifier "%s" provided an invalid %s property, expected %s but got %s', $8 = 'Popper: modifier "%s" requires "%s", but "%s" modifier is not available', Rd = ["name", "enabled", "phase", "fn", "effect", "requires", "options"];
19786
19786
  function F8(n) {
19787
19787
  n.forEach(function(e) {
19788
19788
  [].concat(Object.keys(e), Rd).filter(function(t, r, s) {
@@ -19790,25 +19790,25 @@ function F8(n) {
19790
19790
  }).forEach(function(t) {
19791
19791
  switch (t) {
19792
19792
  case "name":
19793
- typeof e.name != "string" && console.error(Hn(hr, String(e.name), '"name"', '"string"', '"' + String(e.name) + '"'));
19793
+ typeof e.name != "string" && console.error(Hn(pr, String(e.name), '"name"', '"string"', '"' + String(e.name) + '"'));
19794
19794
  break;
19795
19795
  case "enabled":
19796
- typeof e.enabled != "boolean" && console.error(Hn(hr, e.name, '"enabled"', '"boolean"', '"' + String(e.enabled) + '"'));
19796
+ typeof e.enabled != "boolean" && console.error(Hn(pr, e.name, '"enabled"', '"boolean"', '"' + String(e.enabled) + '"'));
19797
19797
  break;
19798
19798
  case "phase":
19799
- ao.indexOf(e.phase) < 0 && console.error(Hn(hr, e.name, '"phase"', "either " + ao.join(", "), '"' + String(e.phase) + '"'));
19799
+ ao.indexOf(e.phase) < 0 && console.error(Hn(pr, e.name, '"phase"', "either " + ao.join(", "), '"' + String(e.phase) + '"'));
19800
19800
  break;
19801
19801
  case "fn":
19802
- typeof e.fn != "function" && console.error(Hn(hr, e.name, '"fn"', '"function"', '"' + String(e.fn) + '"'));
19802
+ typeof e.fn != "function" && console.error(Hn(pr, e.name, '"fn"', '"function"', '"' + String(e.fn) + '"'));
19803
19803
  break;
19804
19804
  case "effect":
19805
- e.effect != null && typeof e.effect != "function" && console.error(Hn(hr, e.name, '"effect"', '"function"', '"' + String(e.fn) + '"'));
19805
+ e.effect != null && typeof e.effect != "function" && console.error(Hn(pr, e.name, '"effect"', '"function"', '"' + String(e.fn) + '"'));
19806
19806
  break;
19807
19807
  case "requires":
19808
- e.requires != null && !Array.isArray(e.requires) && console.error(Hn(hr, e.name, '"requires"', '"array"', '"' + String(e.requires) + '"'));
19808
+ e.requires != null && !Array.isArray(e.requires) && console.error(Hn(pr, e.name, '"requires"', '"array"', '"' + String(e.requires) + '"'));
19809
19809
  break;
19810
19810
  case "requiresIfExists":
19811
- Array.isArray(e.requiresIfExists) || console.error(Hn(hr, e.name, '"requiresIfExists"', '"array"', '"' + String(e.requiresIfExists) + '"'));
19811
+ Array.isArray(e.requiresIfExists) || console.error(Hn(pr, e.name, '"requiresIfExists"', '"array"', '"' + String(e.requiresIfExists) + '"'));
19812
19812
  break;
19813
19813
  case "options":
19814
19814
  case "data":
@@ -19879,7 +19879,7 @@ function fa(n) {
19879
19879
  setOptions: function(E) {
19880
19880
  var S = typeof E == "function" ? E(u.options) : E;
19881
19881
  m(), u.options = Object.assign({}, i, u.options, S), u.scrollParents = {
19882
- reference: Dr(l) ? zs(l) : l.contextElement ? zs(l.contextElement) : [],
19882
+ reference: Nr(l) ? zs(l) : l.contextElement ? zs(l.contextElement) : [],
19883
19883
  popper: zs(a)
19884
19884
  };
19885
19885
  var w = R8(V8([].concat(r, u.options.modifiers)));
@@ -20020,13 +20020,13 @@ const Qp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20020
20020
  read: Dp,
20021
20021
  reference: _p,
20022
20022
  right: zt,
20023
- start: Ir,
20023
+ start: Dr,
20024
20024
  top: xt,
20025
20025
  variationPlacements: Bl,
20026
20026
  viewport: Mc,
20027
20027
  write: Fp
20028
20028
  }, Symbol.toStringTag, { value: "Module" }));
20029
- var K8 = "tippy-box", qp = "tippy-content", G8 = "tippy-backdrop", em = "tippy-arrow", tm = "tippy-svg-arrow", pr = {
20029
+ var K8 = "tippy-box", qp = "tippy-content", G8 = "tippy-backdrop", em = "tippy-arrow", tm = "tippy-svg-arrow", mr = {
20030
20030
  passive: !0,
20031
20031
  capture: !0
20032
20032
  }, nm = function() {
@@ -20167,7 +20167,7 @@ function o4() {
20167
20167
  }
20168
20168
  }
20169
20169
  function a4() {
20170
- document.addEventListener("touchstart", i4, pr), window.addEventListener("blur", o4);
20170
+ document.addEventListener("touchstart", i4, mr), window.addEventListener("blur", o4);
20171
20171
  }
20172
20172
  var l4 = typeof window < "u" && typeof document < "u", c4 = l4 ? (
20173
20173
  // @ts-ignore
@@ -20521,11 +20521,11 @@ function b4(n, e) {
20521
20521
  }
20522
20522
  function xe() {
20523
20523
  var q = H();
20524
- q.addEventListener("mousedown", ge, !0), q.addEventListener("touchend", ge, pr), q.addEventListener("touchstart", Ce, pr), q.addEventListener("touchmove", ve, pr);
20524
+ q.addEventListener("mousedown", ge, !0), q.addEventListener("touchend", ge, mr), q.addEventListener("touchstart", Ce, mr), q.addEventListener("touchmove", ve, mr);
20525
20525
  }
20526
20526
  function Oe() {
20527
20527
  var q = H();
20528
- q.removeEventListener("mousedown", ge, !0), q.removeEventListener("touchend", ge, pr), q.removeEventListener("touchstart", Ce, pr), q.removeEventListener("touchmove", ve, pr);
20528
+ q.removeEventListener("mousedown", ge, !0), q.removeEventListener("touchend", ge, mr), q.removeEventListener("touchstart", Ce, mr), q.removeEventListener("touchmove", ve, mr);
20529
20529
  }
20530
20530
  function be(q, fe) {
20531
20531
  k(q, function() {
@@ -21310,7 +21310,7 @@ const T4 = (n = {}) => {
21310
21310
  function D4(n, e) {
21311
21311
  return n in e || (e[n] = []), e[n];
21312
21312
  }
21313
- function br(n, e, t) {
21313
+ function Er(n, e, t) {
21314
21314
  e[Wl] && (e[Vi] = !0, e[xi] = !0), e[Kl] && (e[Vi] = !0, e[Gl] = !0), e[Vi] && (e[xi] = !0), e[Gl] && (e[xi] = !0), e[xi] && (e[Yl] = !0), e[fm] && (e[Yl] = !0);
21315
21315
  for (const r in e) {
21316
21316
  const s = D4(r, t);
@@ -21382,7 +21382,7 @@ Dt.prototype = {
21382
21382
  tr(n, e, t, r) {
21383
21383
  r = r || Dt.groups;
21384
21384
  let s;
21385
- return e && e.j ? s = e : (s = new Dt(e), t && r && br(e, t, r)), this.jr.push([n, s]), s;
21385
+ return e && e.j ? s = e : (s = new Dt(e), t && r && Er(e, t, r)), this.jr.push([n, s]), s;
21386
21386
  },
21387
21387
  /**
21388
21388
  * Short for "take transitions", will take as many sequential transitions as
@@ -21440,9 +21440,9 @@ Dt.prototype = {
21440
21440
  if (r)
21441
21441
  if (o.t && typeof o.t == "string") {
21442
21442
  const a = Ss(N4(o.t, r), t);
21443
- br(i, a, r);
21443
+ Er(i, a, r);
21444
21444
  } else
21445
- t && br(i, t, r);
21445
+ t && Er(i, t, r);
21446
21446
  o.t = i;
21447
21447
  }
21448
21448
  return s.j[n] = o, o;
@@ -21542,16 +21542,16 @@ function P4(n) {
21542
21542
  zn(t, Ai[d], Zl, _n, c);
21543
21543
  for (let d = 0; d < ki.length; d++)
21544
21544
  zn(t, ki[d], Xl, Jl, u);
21545
- br(Zl, {
21545
+ Er(Zl, {
21546
21546
  tld: !0,
21547
21547
  ascii: !0
21548
- }, e), br(Xl, {
21548
+ }, e), Er(Xl, {
21549
21549
  utld: !0,
21550
21550
  alpha: !0
21551
- }, e), zn(t, "file", Hi, _n, c), zn(t, "mailto", Hi, _n, c), zn(t, "http", Xr, _n, c), zn(t, "https", Xr, _n, c), zn(t, "ftp", Xr, _n, c), zn(t, "ftps", Xr, _n, c), br(Hi, {
21551
+ }, e), zn(t, "file", Hi, _n, c), zn(t, "mailto", Hi, _n, c), zn(t, "http", Xr, _n, c), zn(t, "https", Xr, _n, c), zn(t, "ftp", Xr, _n, c), zn(t, "ftps", Xr, _n, c), Er(Hi, {
21552
21552
  scheme: !0,
21553
21553
  ascii: !0
21554
- }, e), br(Xr, {
21554
+ }, e), Er(Xr, {
21555
21555
  slashscheme: !0,
21556
21556
  ascii: !0
21557
21557
  }, e), n = n.sort((d, f) => d[0] > f[0] ? 1 : -1);
@@ -24128,7 +24128,7 @@ class zo extends pi {
24128
24128
  return "ontouchstart" in document.documentElement || navigator.maxTouchPoints > 0;
24129
24129
  }
24130
24130
  }
24131
- const SS = "carousel", CS = "bs.carousel", ur = `.${CS}`, Im = ".data-api", wS = "ArrowLeft", TS = "ArrowRight", xS = 500, _s = "next", Ur = "prev", Qr = "left", zi = "right", AS = `slide${ur}`, sl = `slid${ur}`, kS = `keydown${ur}`, OS = `mouseenter${ur}`, MS = `mouseleave${ur}`, _S = `dragstart${ur}`, IS = `load${ur}${Im}`, DS = `click${ur}${Im}`, Dm = "carousel", _i = "active", NS = "slide", LS = "carousel-item-end", RS = "carousel-item-start", PS = "carousel-item-next", $S = "carousel-item-prev", Nm = ".active", Lm = ".carousel-item", FS = Nm + Lm, BS = ".carousel-item img", VS = ".carousel-indicators", HS = "[data-bs-slide], [data-bs-slide-to]", zS = '[data-bs-ride="carousel"]', US = {
24131
+ const SS = "carousel", CS = "bs.carousel", dr = `.${CS}`, Im = ".data-api", wS = "ArrowLeft", TS = "ArrowRight", xS = 500, _s = "next", Ur = "prev", Qr = "left", zi = "right", AS = `slide${dr}`, sl = `slid${dr}`, kS = `keydown${dr}`, OS = `mouseenter${dr}`, MS = `mouseleave${dr}`, _S = `dragstart${dr}`, IS = `load${dr}${Im}`, DS = `click${dr}${Im}`, Dm = "carousel", _i = "active", NS = "slide", LS = "carousel-item-end", RS = "carousel-item-start", PS = "carousel-item-next", $S = "carousel-item-prev", Nm = ".active", Lm = ".carousel-item", FS = Nm + Lm, BS = ".carousel-item img", VS = ".carousel-indicators", HS = "[data-bs-slide], [data-bs-slide-to]", zS = '[data-bs-ride="carousel"]', US = {
24132
24132
  [wS]: zi,
24133
24133
  [TS]: Qr
24134
24134
  }, jS = {
@@ -24437,7 +24437,7 @@ ae.on(document, qS, tc, function(n) {
24437
24437
  }).toggle();
24438
24438
  });
24439
24439
  nn(oi);
24440
- const mf = "dropdown", lC = "bs.dropdown", Rr = `.${lC}`, qc = ".data-api", cC = "Escape", gf = "Tab", uC = "ArrowUp", vf = "ArrowDown", dC = 2, fC = `hide${Rr}`, hC = `hidden${Rr}`, pC = `show${Rr}`, mC = `shown${Rr}`, Rm = `click${Rr}${qc}`, Pm = `keydown${Rr}${qc}`, gC = `keyup${Rr}${qc}`, qr = "show", vC = "dropup", yC = "dropend", bC = "dropstart", EC = "dropup-center", SC = "dropdown-center", Er = '[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)', CC = `${Er}.${qr}`, Ui = ".dropdown-menu", wC = ".navbar", TC = ".navbar-nav", xC = ".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)", AC = en() ? "top-end" : "top-start", kC = en() ? "top-start" : "top-end", OC = en() ? "bottom-end" : "bottom-start", MC = en() ? "bottom-start" : "bottom-end", _C = en() ? "left-start" : "right-start", IC = en() ? "right-start" : "left-start", DC = "top", NC = "bottom", LC = {
24440
+ const mf = "dropdown", lC = "bs.dropdown", Rr = `.${lC}`, qc = ".data-api", cC = "Escape", gf = "Tab", uC = "ArrowUp", vf = "ArrowDown", dC = 2, fC = `hide${Rr}`, hC = `hidden${Rr}`, pC = `show${Rr}`, mC = `shown${Rr}`, Rm = `click${Rr}${qc}`, Pm = `keydown${Rr}${qc}`, gC = `keyup${Rr}${qc}`, qr = "show", vC = "dropup", yC = "dropend", bC = "dropstart", EC = "dropup-center", SC = "dropdown-center", Sr = '[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)', CC = `${Sr}.${qr}`, Ui = ".dropdown-menu", wC = ".navbar", TC = ".navbar-nav", xC = ".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)", AC = en() ? "top-end" : "top-start", kC = en() ? "top-start" : "top-end", OC = en() ? "bottom-end" : "bottom-start", MC = en() ? "bottom-start" : "bottom-end", _C = en() ? "left-start" : "right-start", IC = en() ? "right-start" : "left-start", DC = "top", NC = "bottom", LC = {
24441
24441
  autoClose: !0,
24442
24442
  boundary: "clippingParents",
24443
24443
  display: "dynamic",
@@ -24607,7 +24607,7 @@ class Sn extends dn {
24607
24607
  if (!s && !r || t && !r)
24608
24608
  return;
24609
24609
  e.preventDefault();
24610
- const i = this.matches(Er) ? this : ke.prev(this, Er)[0] || ke.next(this, Er)[0] || ke.findOne(Er, e.delegateTarget.parentNode), o = Sn.getOrCreateInstance(i);
24610
+ const i = this.matches(Sr) ? this : ke.prev(this, Sr)[0] || ke.next(this, Sr)[0] || ke.findOne(Sr, e.delegateTarget.parentNode), o = Sn.getOrCreateInstance(i);
24611
24611
  if (s) {
24612
24612
  e.stopPropagation(), o.show(), o._selectMenuItem(e);
24613
24613
  return;
@@ -24615,11 +24615,11 @@ class Sn extends dn {
24615
24615
  o._isShown() && (e.stopPropagation(), o.hide(), i.focus());
24616
24616
  }
24617
24617
  }
24618
- ae.on(document, Pm, Er, Sn.dataApiKeydownHandler);
24618
+ ae.on(document, Pm, Sr, Sn.dataApiKeydownHandler);
24619
24619
  ae.on(document, Pm, Ui, Sn.dataApiKeydownHandler);
24620
24620
  ae.on(document, Rm, Sn.clearMenus);
24621
24621
  ae.on(document, gC, Sn.clearMenus);
24622
- ae.on(document, Rm, Er, function(n) {
24622
+ ae.on(document, Rm, Sr, function(n) {
24623
24623
  n.preventDefault(), Sn.getOrCreateInstance(this).toggle();
24624
24624
  });
24625
24625
  nn(Sn);
@@ -24809,7 +24809,7 @@ const GC = "modal", YC = "bs.modal", tn = `.${YC}`, JC = ".data-api", ZC = "Esca
24809
24809
  focus: "boolean",
24810
24810
  keyboard: "boolean"
24811
24811
  };
24812
- class Nr extends dn {
24812
+ class ir extends dn {
24813
24813
  constructor(e, t) {
24814
24814
  super(e, t), this._dialog = ke.findOne(aw, this._element), this._backdrop = this._initializeBackDrop(), this._focustrap = this._initializeFocusTrap(), this._isShown = !1, this._isTransitioning = !1, this._scrollBar = new nc(), this._addEventListeners();
24815
24815
  }
@@ -24926,7 +24926,7 @@ class Nr extends dn {
24926
24926
  // Static
24927
24927
  static jQueryInterface(e, t) {
24928
24928
  return this.each(function() {
24929
- const r = Nr.getOrCreateInstance(this, e);
24929
+ const r = ir.getOrCreateInstance(this, e);
24930
24930
  if (typeof e == "string") {
24931
24931
  if (typeof r[e] > "u")
24932
24932
  throw new TypeError(`No method named "${e}"`);
@@ -24943,10 +24943,10 @@ ae.on(document, sw, cw, function(n) {
24943
24943
  });
24944
24944
  });
24945
24945
  const t = ke.findOne(ow);
24946
- t && Nr.getInstance(t).hide(), Nr.getOrCreateInstance(e).toggle(this);
24946
+ t && ir.getInstance(t).hide(), ir.getOrCreateInstance(e).toggle(this);
24947
24947
  });
24948
- ma(Nr);
24949
- nn(Nr);
24948
+ ma(ir);
24949
+ nn(ir);
24950
24950
  const fw = "offcanvas", hw = "bs.offcanvas", Fn = `.${hw}`, zm = ".data-api", pw = `load${Fn}${zm}`, mw = "Escape", Af = "show", kf = "showing", Of = "hiding", gw = "offcanvas-backdrop", Um = ".offcanvas.show", vw = `show${Fn}`, yw = `shown${Fn}`, bw = `hide${Fn}`, Mf = `hidePrevented${Fn}`, jm = `hidden${Fn}`, Ew = `resize${Fn}`, Sw = `click${Fn}${zm}`, Cw = `keydown.dismiss${Fn}`, ww = '[data-bs-toggle="offcanvas"]', Tw = {
24951
24951
  backdrop: !0,
24952
24952
  keyboard: !0,
@@ -24956,7 +24956,7 @@ const fw = "offcanvas", hw = "bs.offcanvas", Fn = `.${hw}`, zm = ".data-api", pw
24956
24956
  keyboard: "boolean",
24957
24957
  scroll: "boolean"
24958
24958
  };
24959
- class ir extends dn {
24959
+ class or extends dn {
24960
24960
  constructor(e, t) {
24961
24961
  super(e, t), this._isShown = !1, this._backdrop = this._initializeBackDrop(), this._focustrap = this._initializeFocusTrap(), this._addEventListeners();
24962
24962
  }
@@ -25035,7 +25035,7 @@ class ir extends dn {
25035
25035
  // Static
25036
25036
  static jQueryInterface(e) {
25037
25037
  return this.each(function() {
25038
- const t = ir.getOrCreateInstance(this, e);
25038
+ const t = or.getOrCreateInstance(this, e);
25039
25039
  if (typeof e == "string") {
25040
25040
  if (t[e] === void 0 || e.startsWith("_") || e === "constructor")
25041
25041
  throw new TypeError(`No method named "${e}"`);
@@ -25052,18 +25052,18 @@ ae.on(document, Sw, ww, function(n) {
25052
25052
  ks(this) && this.focus();
25053
25053
  });
25054
25054
  const t = ke.findOne(Um);
25055
- t && t !== e && ir.getInstance(t).hide(), ir.getOrCreateInstance(e).toggle(this);
25055
+ t && t !== e && or.getInstance(t).hide(), or.getOrCreateInstance(e).toggle(this);
25056
25056
  });
25057
25057
  ae.on(window, pw, () => {
25058
25058
  for (const n of ke.find(Um))
25059
- ir.getOrCreateInstance(n).show();
25059
+ or.getOrCreateInstance(n).show();
25060
25060
  });
25061
25061
  ae.on(window, Ew, () => {
25062
25062
  for (const n of ke.find("[aria-modal][class*=show][class*=offcanvas-]"))
25063
- getComputedStyle(n).position !== "fixed" && ir.getOrCreateInstance(n).hide();
25063
+ getComputedStyle(n).position !== "fixed" && or.getOrCreateInstance(n).hide();
25064
25064
  });
25065
- ma(ir);
25066
- nn(ir);
25065
+ ma(or);
25066
+ nn(or);
25067
25067
  const Aw = /^aria-[\w-]*$/i, Wm = {
25068
25068
  // Global attributes allowed on any supplied element below.
25069
25069
  "*": ["class", "dir", "id", "lang", "role", Aw],
@@ -25698,7 +25698,7 @@ ae.on(window, uT, () => {
25698
25698
  ya.getOrCreateInstance(n);
25699
25699
  });
25700
25700
  nn(ya);
25701
- const ST = "tab", CT = "bs.tab", $r = `.${CT}`, wT = `hide${$r}`, TT = `hidden${$r}`, xT = `show${$r}`, AT = `shown${$r}`, kT = `click${$r}`, OT = `keydown${$r}`, MT = `load${$r}`, _T = "ArrowLeft", Lf = "ArrowRight", IT = "ArrowUp", Rf = "ArrowDown", Sr = "active", Pf = "fade", ul = "show", DT = "dropdown", NT = ".dropdown-toggle", LT = ".dropdown-menu", dl = ":not(.dropdown-toggle)", RT = '.list-group, .nav, [role="tablist"]', PT = ".nav-item, .list-group-item", $T = `.nav-link${dl}, .list-group-item${dl}, [role="tab"]${dl}`, Km = '[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]', fl = `${$T}, ${Km}`, FT = `.${Sr}[data-bs-toggle="tab"], .${Sr}[data-bs-toggle="pill"], .${Sr}[data-bs-toggle="list"]`;
25701
+ const ST = "tab", CT = "bs.tab", $r = `.${CT}`, wT = `hide${$r}`, TT = `hidden${$r}`, xT = `show${$r}`, AT = `shown${$r}`, kT = `click${$r}`, OT = `keydown${$r}`, MT = `load${$r}`, _T = "ArrowLeft", Lf = "ArrowRight", IT = "ArrowUp", Rf = "ArrowDown", Cr = "active", Pf = "fade", ul = "show", DT = "dropdown", NT = ".dropdown-toggle", LT = ".dropdown-menu", dl = ":not(.dropdown-toggle)", RT = '.list-group, .nav, [role="tablist"]', PT = ".nav-item, .list-group-item", $T = `.nav-link${dl}, .list-group-item${dl}, [role="tab"]${dl}`, Km = '[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]', fl = `${$T}, ${Km}`, FT = `.${Cr}[data-bs-toggle="tab"], .${Cr}[data-bs-toggle="pill"], .${Cr}[data-bs-toggle="list"]`;
25702
25702
  class Cs extends dn {
25703
25703
  constructor(e) {
25704
25704
  super(e), this._parent = this._element.closest(RT), this._parent && (this._setInitialAttributes(this._parent, this._getChildren()), ae.on(this._element, OT, (t) => this._keydown(t)));
@@ -25723,7 +25723,7 @@ class Cs extends dn {
25723
25723
  _activate(e, t) {
25724
25724
  if (!e)
25725
25725
  return;
25726
- e.classList.add(Sr), this._activate(ke.getElementFromSelector(e));
25726
+ e.classList.add(Cr), this._activate(ke.getElementFromSelector(e));
25727
25727
  const r = () => {
25728
25728
  if (e.getAttribute("role") !== "tab") {
25729
25729
  e.classList.add(ul);
@@ -25738,7 +25738,7 @@ class Cs extends dn {
25738
25738
  _deactivate(e, t) {
25739
25739
  if (!e)
25740
25740
  return;
25741
- e.classList.remove(Sr), e.blur(), this._deactivate(ke.getElementFromSelector(e));
25741
+ e.classList.remove(Cr), e.blur(), this._deactivate(ke.getElementFromSelector(e));
25742
25742
  const r = () => {
25743
25743
  if (e.getAttribute("role") !== "tab") {
25744
25744
  e.classList.remove(ul);
@@ -25787,13 +25787,13 @@ class Cs extends dn {
25787
25787
  const l = ke.findOne(i, r);
25788
25788
  l && l.classList.toggle(o, t);
25789
25789
  };
25790
- s(NT, Sr), s(LT, ul), r.setAttribute("aria-expanded", t);
25790
+ s(NT, Cr), s(LT, ul), r.setAttribute("aria-expanded", t);
25791
25791
  }
25792
25792
  _setAttributeIfNotExists(e, t, r) {
25793
25793
  e.hasAttribute(t) || e.setAttribute(t, r);
25794
25794
  }
25795
25795
  _elemIsActive(e) {
25796
- return e.classList.contains(Sr);
25796
+ return e.classList.contains(Cr);
25797
25797
  }
25798
25798
  // Try to get the inner element (usually the .nav-link)
25799
25799
  _getInnerElement(e) {
@@ -25823,7 +25823,7 @@ ae.on(window, MT, () => {
25823
25823
  Cs.getOrCreateInstance(n);
25824
25824
  });
25825
25825
  nn(Cs);
25826
- const BT = "toast", VT = "bs.toast", dr = `.${VT}`, HT = `mouseover${dr}`, zT = `mouseout${dr}`, UT = `focusin${dr}`, jT = `focusout${dr}`, WT = `hide${dr}`, KT = `hidden${dr}`, GT = `show${dr}`, YT = `shown${dr}`, JT = "fade", $f = "hide", Li = "show", Ri = "showing", ZT = {
25826
+ const BT = "toast", VT = "bs.toast", fr = `.${VT}`, HT = `mouseover${fr}`, zT = `mouseout${fr}`, UT = `focusin${fr}`, jT = `focusout${fr}`, WT = `hide${fr}`, KT = `hidden${fr}`, GT = `show${fr}`, YT = `shown${fr}`, JT = "fade", $f = "hide", Li = "show", Ri = "showing", ZT = {
25827
25827
  animation: "boolean",
25828
25828
  autohide: "boolean",
25829
25829
  delay: "number"
@@ -25920,9 +25920,17 @@ const lx = (n) => {
25920
25920
  const e = at(null);
25921
25921
  return { showModal: () => {
25922
25922
  const s = document.getElementById(n);
25923
- s instanceof HTMLElement ? (e.value = Nr.getOrCreateInstance(s), e.value.show()) : console.error(`Modal '${n}' niet gevonden.`);
25923
+ s instanceof HTMLElement ? (e.value = ir.getOrCreateInstance(s), e.value.show()) : console.error(`Modal '${n}' niet gevonden.`);
25924
25924
  }, closeModal: () => {
25925
- e.value && e.value.hide();
25925
+ if (e.value) {
25926
+ e.value.hide();
25927
+ return;
25928
+ }
25929
+ const s = document.getElementById(n);
25930
+ if (s instanceof HTMLElement) {
25931
+ const i = ir.getInstance(s);
25932
+ i && i.hide();
25933
+ }
25926
25934
  } };
25927
25935
  };
25928
25936
  function QT(n = void 0) {