@beterdichtbij/component-library 0.31.4 → 0.31.6

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.
@@ -1,4 +1,4 @@
1
- import { defineComponent as $e, computed as _e, openBlock as J, createElementBlock as te, normalizeClass as Ke, renderSlot as je, createElementVNode as ee, createStaticVNode as ws, mergeProps as an, resolveComponent as Zm, createBlock as Ge, resolveDynamicComponent as Wo, withCtx as Re, createTextVNode as ct, toDisplayString as Pe, createVNode as Te, unref as Ae, createCommentVNode as He, getCurrentScope as Xm, onScopeDispose as Qm, ref as at, watch as Cn, getCurrentInstance as Ff, nextTick as Bf, withDirectives as ls, isRef as rc, vModelText as qm, withKeys as e1, useAttrs as t1, withModifiers as cs, onMounted as ai, vShow as vu, Fragment as rt, renderList as Bt, vModelSelect as n1, vModelCheckbox as r1, normalizeProps as s1, guardReactiveProps as i1, onBeforeUnmount as Ko, h as Qn, watchEffect as o1, Teleport as a1, shallowRef as l1, reactive as c1, markRaw as u1, customRef as d1, createApp as f1 } from "vue";
1
+ import { defineComponent as $e, computed as _e, openBlock as J, createElementBlock as te, normalizeClass as Ke, renderSlot as je, createElementVNode as ee, createStaticVNode as ws, mergeProps as an, resolveComponent as Zm, createBlock as Ge, resolveDynamicComponent as Wo, withCtx as Re, createTextVNode as ct, toDisplayString as Pe, createVNode as Te, unref as Ae, createCommentVNode as Ue, getCurrentScope as Xm, onScopeDispose as Qm, ref as at, watch as Cn, getCurrentInstance as Ff, nextTick as Bf, withDirectives as ls, isRef as rc, vModelText as qm, withKeys as e1, useAttrs as t1, withModifiers as cs, onMounted as ai, vShow as vu, Fragment as rt, renderList as Bt, vModelSelect as n1, vModelCheckbox as r1, normalizeProps as s1, guardReactiveProps as i1, onBeforeUnmount as Ko, h as Qn, watchEffect as o1, Teleport as a1, shallowRef as l1, reactive as c1, markRaw as u1, customRef as d1, createApp as f1 } from "vue";
2
2
  const Wr = /* @__PURE__ */ $e({
3
3
  __name: "BDCol",
4
4
  props: {
@@ -599,7 +599,7 @@ const qf = /* @__PURE__ */ We(Lv, [["render", $v]]), bu = /^https:/i, Gs = /* @_
599
599
  ee("span", null, [
600
600
  ee("strong", null, Pe(e.title), 1)
601
601
  ])
602
- ])) : He("", !0),
602
+ ])) : Ue("", !0),
603
603
  je(r.$slots, "default")
604
604
  ], 2));
605
605
  }
@@ -630,7 +630,7 @@ const qf = /* @__PURE__ */ We(Lv, [["render", $v]]), bu = /^https:/i, Gs = /* @_
630
630
  class: "bd-profile-picture__footer position-absolute bottom-0 start-0",
631
631
  onClick: t,
632
632
  textContent: Pe(r.linkText)
633
- }, null, 8, Vv)) : He("", !0)
633
+ }, null, 8, Vv)) : Ue("", !0)
634
634
  ], 2));
635
635
  }
636
636
  });
@@ -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()) };
@@ -881,10 +881,10 @@ const i2 = ["id"], o2 = { key: 0 }, oc = /* @__PURE__ */ $e({
881
881
  class: Ke(i.value)
882
882
  }, [
883
883
  je(l.$slots, "header", {}, () => [
884
- l.title ? (J(), te("h2", o2, Pe(l.title), 1)) : He("", !0)
884
+ l.title ? (J(), te("h2", o2, Pe(l.title), 1)) : Ue("", !0)
885
885
  ])
886
- ], 2)) : He("", !0),
887
- l.noBody ? He("", !0) : (J(), te("div", {
886
+ ], 2)) : Ue("", !0),
887
+ l.noBody ? Ue("", !0) : (J(), te("div", {
888
888
  key: 1,
889
889
  class: Ke(o.value)
890
890
  }, [
@@ -934,7 +934,7 @@ const i2 = ["id"], o2 = { key: 0 }, oc = /* @__PURE__ */ $e({
934
934
  "body-class": l.value
935
935
  }, {
936
936
  header: Re(() => [
937
- a.title ? (J(), te("h2", a2, Pe(a.title), 1)) : He("", !0),
937
+ a.title ? (J(), te("h2", a2, Pe(a.title), 1)) : Ue("", !0),
938
938
  ee("div", l2, [
939
939
  je(a.$slots, "action"),
940
940
  !a.disabled && a.visible ? (J(), te("button", {
@@ -946,7 +946,7 @@ const i2 = ["id"], o2 = { key: 0 }, oc = /* @__PURE__ */ $e({
946
946
  "aria-expanded": "true"
947
947
  }, [
948
948
  Te(Ae(zf))
949
- ], 10, c2)) : He("", !0)
949
+ ], 10, c2)) : Ue("", !0)
950
950
  ])
951
951
  ]),
952
952
  body: Re(() => [
@@ -1178,7 +1178,7 @@ const yl = /* @__PURE__ */ new WeakMap(), g2 = (n) => {
1178
1178
  for: l,
1179
1179
  id: i,
1180
1180
  class: Ke(["form-label", h.labelClass])
1181
- }, Pe(h.label), 3)) : He("", !0)
1181
+ }, Pe(h.label), 3)) : Ue("", !0)
1182
1182
  ]),
1183
1183
  ee("div", {
1184
1184
  class: Ke(h.formFieldClass)
@@ -1220,7 +1220,7 @@ const yl = /* @__PURE__ */ new WeakMap(), g2 = (n) => {
1220
1220
  key: 0,
1221
1221
  for: e.labelForId,
1222
1222
  class: "form-label"
1223
- }, Pe(e.label), 9, E2)) : He("", !0),
1223
+ }, Pe(e.label), 9, E2)) : Ue("", !0),
1224
1224
  ee("div", {
1225
1225
  class: Ke(Ae(t).class)
1226
1226
  }, [
@@ -1473,12 +1473,12 @@ const yl = /* @__PURE__ */ new WeakMap(), g2 = (n) => {
1473
1473
  ee("h5", null, Pe(t.title), 1)
1474
1474
  ])
1475
1475
  ]),
1476
- t.hideBody ? He("", !0) : (J(), te("div", V2, [
1476
+ t.hideBody ? Ue("", !0) : (J(), te("div", V2, [
1477
1477
  je(s.$slots, "default", {}, () => [
1478
1478
  ct(Pe(t.text), 1)
1479
1479
  ])
1480
1480
  ])),
1481
- t.hideFooter ? He("", !0) : (J(), te("footer", H2, [
1481
+ t.hideFooter ? Ue("", !0) : (J(), te("footer", H2, [
1482
1482
  je(s.$slots, "footer")
1483
1483
  ]))
1484
1484
  ]));
@@ -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
  }
@@ -11825,7 +11825,7 @@ class Dh {
11825
11825
  }
11826
11826
  }
11827
11827
  const _a = /* @__PURE__ */ Object.create(null);
11828
- class ze {
11828
+ class He {
11829
11829
  /**
11830
11830
  Initialize a selection with the head and anchor and ranges. If no
11831
11831
  ranges are given, constructs a single range across `$anchor` and
@@ -11919,7 +11919,7 @@ class ze {
11919
11919
  found.
11920
11920
  */
11921
11921
  static findFrom(e, t, r = !1) {
11922
- let s = e.parent.inlineContent ? new Ue(e) : Gr(e.node(0), e.parent, e.pos, e.index(), t, r);
11922
+ let s = e.parent.inlineContent ? new ze(e) : Gr(e.node(0), e.parent, e.pos, e.index(), t, r);
11923
11923
  if (s)
11924
11924
  return s;
11925
11925
  for (let i = e.depth - 1; i >= 0; i--) {
@@ -11986,10 +11986,10 @@ class ze {
11986
11986
  returns the bookmark for that.
11987
11987
  */
11988
11988
  getBookmark() {
11989
- return Ue.between(this.$anchor, this.$head).getBookmark();
11989
+ return ze.between(this.$anchor, this.$head).getBookmark();
11990
11990
  }
11991
11991
  }
11992
- ze.prototype.visible = !0;
11992
+ He.prototype.visible = !0;
11993
11993
  class Qy {
11994
11994
  /**
11995
11995
  Create a range.
@@ -12002,7 +12002,7 @@ let Pu = !1;
12002
12002
  function $u(n) {
12003
12003
  !Pu && !n.parent.inlineContent && (Pu = !0, console.warn("TextSelection endpoint not pointing into a node with inline content (" + n.parent.type.name + ")"));
12004
12004
  }
12005
- class Ue extends ze {
12005
+ class ze extends He {
12006
12006
  /**
12007
12007
  Construct a text selection between the given points.
12008
12008
  */
@@ -12019,9 +12019,9 @@ class Ue extends ze {
12019
12019
  map(e, t) {
12020
12020
  let r = e.resolve(t.map(this.head));
12021
12021
  if (!r.parent.inlineContent)
12022
- return ze.near(r);
12022
+ return He.near(r);
12023
12023
  let s = e.resolve(t.map(this.anchor));
12024
- return new Ue(s.parent.inlineContent ? s : r, r);
12024
+ return new ze(s.parent.inlineContent ? s : r, r);
12025
12025
  }
12026
12026
  replace(e, t = ye.empty) {
12027
12027
  if (super.replace(e, t), t == ye.empty) {
@@ -12030,7 +12030,7 @@ class Ue extends ze {
12030
12030
  }
12031
12031
  }
12032
12032
  eq(e) {
12033
- return e instanceof Ue && e.anchor == this.anchor && e.head == this.head;
12033
+ return e instanceof ze && e.anchor == this.anchor && e.head == this.head;
12034
12034
  }
12035
12035
  getBookmark() {
12036
12036
  return new ea(this.anchor, this.head);
@@ -12044,7 +12044,7 @@ class Ue extends ze {
12044
12044
  static fromJSON(e, t) {
12045
12045
  if (typeof t.anchor != "number" || typeof t.head != "number")
12046
12046
  throw new RangeError("Invalid input for TextSelection.fromJSON");
12047
- return new Ue(e.resolve(t.anchor), e.resolve(t.head));
12047
+ return new ze(e.resolve(t.anchor), e.resolve(t.head));
12048
12048
  }
12049
12049
  /**
12050
12050
  Create a text selection from non-resolved positions.
@@ -12064,16 +12064,16 @@ class Ue extends ze {
12064
12064
  static between(e, t, r) {
12065
12065
  let s = e.pos - t.pos;
12066
12066
  if ((!r || s) && (r = s >= 0 ? 1 : -1), !t.parent.inlineContent) {
12067
- let i = ze.findFrom(t, r, !0) || ze.findFrom(t, -r, !0);
12067
+ let i = He.findFrom(t, r, !0) || He.findFrom(t, -r, !0);
12068
12068
  if (i)
12069
12069
  t = i.$head;
12070
12070
  else
12071
- return ze.near(t, r);
12071
+ return He.near(t, r);
12072
12072
  }
12073
- return e.parent.inlineContent || (s == 0 ? e = t : (e = (ze.findFrom(e, -r, !0) || ze.findFrom(e, r, !0)).$anchor, e.pos < t.pos != s < 0 && (e = t))), new Ue(e, t);
12073
+ return e.parent.inlineContent || (s == 0 ? e = t : (e = (He.findFrom(e, -r, !0) || He.findFrom(e, r, !0)).$anchor, e.pos < t.pos != s < 0 && (e = t))), new ze(e, t);
12074
12074
  }
12075
12075
  }
12076
- ze.jsonID("text", Ue);
12076
+ He.jsonID("text", ze);
12077
12077
  class ea {
12078
12078
  constructor(e, t) {
12079
12079
  this.anchor = e, this.head = t;
@@ -12082,10 +12082,10 @@ class ea {
12082
12082
  return new ea(e.map(this.anchor), e.map(this.head));
12083
12083
  }
12084
12084
  resolve(e) {
12085
- return Ue.between(e.resolve(this.anchor), e.resolve(this.head));
12085
+ return ze.between(e.resolve(this.anchor), e.resolve(this.head));
12086
12086
  }
12087
12087
  }
12088
- class Ie extends ze {
12088
+ class Ie extends He {
12089
12089
  /**
12090
12090
  Create a node selection. Does not verify the validity of its
12091
12091
  argument.
@@ -12096,7 +12096,7 @@ class Ie extends ze {
12096
12096
  }
12097
12097
  map(e, t) {
12098
12098
  let { deleted: r, pos: s } = t.mapResult(this.anchor), i = e.resolve(s);
12099
- return r ? ze.near(i) : new Ie(i);
12099
+ return r ? He.near(i) : new Ie(i);
12100
12100
  }
12101
12101
  content() {
12102
12102
  return new ye(ue.from(this.node), 0, 0);
@@ -12133,7 +12133,7 @@ class Ie extends ze {
12133
12133
  }
12134
12134
  }
12135
12135
  Ie.prototype.visible = !1;
12136
- ze.jsonID("node", Ie);
12136
+ He.jsonID("node", Ie);
12137
12137
  class hc {
12138
12138
  constructor(e) {
12139
12139
  this.anchor = e;
@@ -12144,10 +12144,10 @@ class hc {
12144
12144
  }
12145
12145
  resolve(e) {
12146
12146
  let t = e.resolve(this.anchor), r = t.nodeAfter;
12147
- return r && Ie.isSelectable(r) ? new Ie(t) : ze.near(t);
12147
+ return r && Ie.isSelectable(r) ? new Ie(t) : He.near(t);
12148
12148
  }
12149
12149
  }
12150
- class sn extends ze {
12150
+ class sn extends He {
12151
12151
  /**
12152
12152
  Create an all-selection over the given document.
12153
12153
  */
@@ -12157,7 +12157,7 @@ class sn extends ze {
12157
12157
  replace(e, t = ye.empty) {
12158
12158
  if (t == ye.empty) {
12159
12159
  e.delete(0, e.doc.content.size);
12160
- let r = ze.atStart(e.doc);
12160
+ let r = He.atStart(e.doc);
12161
12161
  r.eq(e.selection) || e.setSelection(r);
12162
12162
  } else
12163
12163
  super.replace(e, t);
@@ -12181,7 +12181,7 @@ class sn extends ze {
12181
12181
  return qy;
12182
12182
  }
12183
12183
  }
12184
- ze.jsonID("all", sn);
12184
+ He.jsonID("all", sn);
12185
12185
  const qy = {
12186
12186
  map() {
12187
12187
  return this;
@@ -12192,7 +12192,7 @@ const qy = {
12192
12192
  };
12193
12193
  function Gr(n, e, t, r, s, i = !1) {
12194
12194
  if (e.inlineContent)
12195
- return Ue.create(n, t);
12195
+ return ze.create(n, t);
12196
12196
  for (let o = r - (s > 0 ? 0 : 1); s > 0 ? o < e.childCount : o >= 0; o += s) {
12197
12197
  let l = e.child(o);
12198
12198
  if (l.isAtom) {
@@ -12217,7 +12217,7 @@ function Fu(n, e, t) {
12217
12217
  let i = n.mapping.maps[r], o;
12218
12218
  i.forEach((l, a, c, u) => {
12219
12219
  o == null && (o = u);
12220
- }), n.setSelection(ze.near(n.doc.resolve(o), t));
12220
+ }), n.setSelection(He.near(n.doc.resolve(o), t));
12221
12221
  }
12222
12222
  const Bu = 1, Ci = 2, Vu = 4;
12223
12223
  class e5 extends Dh {
@@ -12332,7 +12332,7 @@ class e5 extends Dh {
12332
12332
  let o = this.doc.resolve(t);
12333
12333
  i = r == t ? o.marks() : o.marksAcross(this.doc.resolve(r));
12334
12334
  }
12335
- return this.replaceRangeWith(t, r, s.text(e, i)), this.selection.empty || this.setSelection(ze.near(this.selection.$to)), this;
12335
+ return this.replaceRangeWith(t, r, s.text(e, i)), this.selection.empty || this.setSelection(He.near(this.selection.$to)), this;
12336
12336
  }
12337
12337
  }
12338
12338
  /**
@@ -12390,7 +12390,7 @@ const t5 = [
12390
12390
  }),
12391
12391
  new Ls("selection", {
12392
12392
  init(n, e) {
12393
- return n.selection || ze.atStart(e.doc);
12393
+ return n.selection || He.atStart(e.doc);
12394
12394
  },
12395
12395
  apply(n) {
12396
12396
  return n.selection;
@@ -12568,9 +12568,9 @@ 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
- i.selection = ze.fromJSON(i.doc, t.selection);
12573
+ i.selection = He.fromJSON(i.doc, t.selection);
12574
12574
  else if (o.name == "storedMarks")
12575
12575
  t.storedMarks && (i.storedMarks = t.storedMarks.map(e.schema.markFromJSON));
12576
12576
  else {
@@ -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,11 +13532,11 @@ 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;
13539
- if (!(e.state.selection instanceof Ue) || r < t || s > t + this.node.content.size)
13539
+ if (!(e.state.selection instanceof ze) || r < t || s > t + this.node.content.size)
13540
13540
  return null;
13541
13541
  let i = e.domSelectionRange(), o = D5(i.focusNode, i.focusOffset);
13542
13542
  if (!o || !this.dom.contains(o.parentNode))
@@ -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
  }
@@ -14096,7 +14096,7 @@ function Ln(n, e = !1) {
14096
14096
  R5(n);
14097
14097
  else {
14098
14098
  let { anchor: r, head: s } = t, i, o;
14099
- qu && !(t instanceof Ue) && (t.$from.parent.inlineContent || (i = ed(n, t.from)), !t.empty && !t.$from.parent.inlineContent && (o = ed(n, t.to))), n.docView.setSelection(r, s, n.root, e), qu && (i && td(i), o && td(o)), t.visible ? n.dom.classList.remove("ProseMirror-hideselection") : (n.dom.classList.add("ProseMirror-hideselection"), "onselectionchange" in document && L5(n));
14099
+ qu && !(t instanceof ze) && (t.$from.parent.inlineContent || (i = ed(n, t.from)), !t.empty && !t.$from.parent.inlineContent && (o = ed(n, t.to))), n.docView.setSelection(r, s, n.root, e), qu && (i && td(i), o && td(o)), t.visible ? n.dom.classList.remove("ProseMirror-hideselection") : (n.dom.classList.add("ProseMirror-hideselection"), "onselectionchange" in document && L5(n));
14100
14100
  }
14101
14101
  n.domObserver.setCurSelection(), n.domObserver.connectSelection();
14102
14102
  }
@@ -14144,7 +14144,7 @@ function nd(n) {
14144
14144
  n.lastSelectedViewDesc && (n.lastSelectedViewDesc.parent && n.lastSelectedViewDesc.deselectNode(), n.lastSelectedViewDesc = void 0);
14145
14145
  }
14146
14146
  function vc(n, e, t, r) {
14147
- return n.someProp("createSelectionBetween", (s) => s(n, e, t)) || Ue.between(e, t, r);
14147
+ return n.someProp("createSelectionBetween", (s) => s(n, e, t)) || ze.between(e, t, r);
14148
14148
  }
14149
14149
  function rd(n) {
14150
14150
  return n.editable && !n.hasFocus() ? !1 : Jh(n);
@@ -14161,24 +14161,24 @@ 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;
14168
- return i && ze.findFrom(i, e);
14168
+ return i && He.findFrom(i, e);
14169
14169
  }
14170
14170
  function Wn(n, e) {
14171
14171
  return n.dispatch(n.state.tr.setSelection(e).scrollIntoView()), !0;
14172
14172
  }
14173
14173
  function sd(n, e, t) {
14174
14174
  let r = n.state.selection;
14175
- if (r instanceof Ue)
14175
+ if (r instanceof ze)
14176
14176
  if (t.indexOf("s") > -1) {
14177
14177
  let { $head: s } = r, i = s.textOffset ? null : e < 0 ? s.nodeBefore : s.nodeAfter;
14178
14178
  if (!i || i.isText || !i.isLeaf)
14179
14179
  return !1;
14180
14180
  let o = n.state.doc.resolve(s.pos + i.nodeSize * (e < 0 ? -1 : 1));
14181
- return Wn(n, new Ue(r.$anchor, o));
14181
+ return Wn(n, new ze(r.$anchor, o));
14182
14182
  } else if (r.empty) {
14183
14183
  if (n.endOfTextblock(e > 0 ? "forward" : "backward")) {
14184
14184
  let s = Il(n.state, e);
@@ -14188,13 +14188,13 @@ function sd(n, e, t) {
14188
14188
  if (!i || i.isText)
14189
14189
  return !1;
14190
14190
  let l = e < 0 ? s.pos - i.nodeSize : s.pos;
14191
- return i.isAtom || (o = n.docView.descAt(l)) && !o.contentDOM ? Ie.isSelectable(i) ? Wn(n, new Ie(e < 0 ? n.state.doc.resolve(s.pos - i.nodeSize) : s)) : ci ? Wn(n, new Ue(n.state.doc.resolve(e < 0 ? l : l + i.nodeSize))) : !1 : !1;
14191
+ return i.isAtom || (o = n.docView.descAt(l)) && !o.contentDOM ? Ie.isSelectable(i) ? Wn(n, new Ie(e < 0 ? n.state.doc.resolve(s.pos - i.nodeSize) : s)) : ci ? Wn(n, new ze(n.state.doc.resolve(e < 0 ? l : l + i.nodeSize))) : !1 : !1;
14192
14192
  }
14193
14193
  } else
14194
14194
  return !1;
14195
14195
  else {
14196
14196
  if (r instanceof Ie && r.node.isInline)
14197
- return Wn(n, new Ue(e > 0 ? r.$to : r.$from));
14197
+ return Wn(n, new ze(e > 0 ? r.$to : r.$from));
14198
14198
  {
14199
14199
  let s = Il(n.state, e);
14200
14200
  return s ? Wn(n, s) : !1;
@@ -14343,7 +14343,7 @@ function id(n, e) {
14343
14343
  }
14344
14344
  function od(n, e, t) {
14345
14345
  let r = n.state.selection;
14346
- if (r instanceof Ue && !r.empty || t.indexOf("s") > -1 || Zt && t.indexOf("m") > -1)
14346
+ if (r instanceof ze && !r.empty || t.indexOf("s") > -1 || Zt && t.indexOf("m") > -1)
14347
14347
  return !1;
14348
14348
  let { $from: s, $to: i } = r;
14349
14349
  if (!s.parent.inlineContent || n.endOfTextblock(e < 0 ? "up" : "down")) {
@@ -14352,13 +14352,13 @@ function od(n, e, t) {
14352
14352
  return Wn(n, o);
14353
14353
  }
14354
14354
  if (!s.parent.inlineContent) {
14355
- let o = e < 0 ? s : i, l = r instanceof sn ? ze.near(o, e) : ze.findFrom(o, e);
14355
+ let o = e < 0 ? s : i, l = r instanceof sn ? He.near(o, e) : He.findFrom(o, e);
14356
14356
  return l ? Wn(n, l) : !1;
14357
14357
  }
14358
14358
  return !1;
14359
14359
  }
14360
14360
  function ad(n, e) {
14361
- if (!(n.state.selection instanceof Ue))
14361
+ if (!(n.state.selection instanceof ze))
14362
14362
  return !0;
14363
14363
  let { $head: t, $anchor: r, empty: s } = n.state.selection;
14364
14364
  if (!t.sameParent(r))
@@ -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");
@@ -14670,7 +14670,7 @@ Mt.keypress = (n, e) => {
14670
14670
  return;
14671
14671
  }
14672
14672
  let r = n.state.selection;
14673
- if (!(r instanceof Ue) || !r.$from.sameParent(r.$to)) {
14673
+ if (!(r instanceof ze) || !r.$from.sameParent(r.$to)) {
14674
14674
  let s = String.fromCharCode(t.charCode);
14675
14675
  !/[\r\n]/.test(s) && !n.someProp("handleTextInput", (i) => i(n, r.$from.pos, r.$to.pos, s)) && n.dispatch(n.state.tr.insertText(s).scrollIntoView()), t.preventDefault();
14676
14676
  }
@@ -14731,12 +14731,12 @@ function a3(n, e, t) {
14731
14731
  return !1;
14732
14732
  let r = n.state.doc;
14733
14733
  if (e == -1)
14734
- return r.inlineContent ? (as(n, Ue.create(r, 0, r.content.size), "pointer"), !0) : !1;
14734
+ return r.inlineContent ? (as(n, ze.create(r, 0, r.content.size), "pointer"), !0) : !1;
14735
14735
  let s = r.resolve(e);
14736
14736
  for (let i = s.depth + 1; i > 0; i--) {
14737
14737
  let o = i > s.depth ? s.nodeAfter : s.node(i), l = s.before(i);
14738
14738
  if (o.inlineContent)
14739
- as(n, Ue.create(r, l + 1, l + 1 + o.content.size), "pointer");
14739
+ as(n, ze.create(r, l + 1, l + 1 + o.content.size), "pointer");
14740
14740
  else if (Ie.isSelectable(o))
14741
14741
  as(n, Ie.create(r, l), "pointer");
14742
14742
  else
@@ -14793,7 +14793,7 @@ class l3 {
14793
14793
  // (hidden) cursor is doesn't change the selection, and
14794
14794
  // thus doesn't get a reaction from ProseMirror. This
14795
14795
  // works around that.
14796
- bt && !this.view.state.selection.visible && Math.min(Math.abs(t.pos - this.view.state.selection.from), Math.abs(t.pos - this.view.state.selection.to)) <= 2) ? (as(this.view, ze.near(this.view.state.doc.resolve(t.pos)), "pointer"), e.preventDefault()) : Xn(this.view, "pointer");
14796
+ bt && !this.view.state.selection.visible && Math.min(Math.abs(t.pos - this.view.state.selection.from), Math.abs(t.pos - this.view.state.selection.to)) <= 2) ? (as(this.view, He.near(this.view.state.doc.resolve(t.pos)), "pointer"), e.preventDefault()) : Xn(this.view, "pointer");
14797
14797
  }
14798
14798
  move(e) {
14799
14799
  this.updateAllowDefault(e), Xn(this.view, "pointer"), e.buttons == 0 && this.done();
@@ -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();
@@ -15630,7 +15630,7 @@ class b3 {
15630
15630
  }
15631
15631
  }
15632
15632
  let c = null;
15633
- i < 0 && s && e.input.lastFocus > Date.now() - 200 && Math.max(e.input.lastTouch, e.input.lastClick.time) < Date.now() - 300 && ta(r) && (c = gc(e)) && c.eq(ze.near(e.state.doc.resolve(0), 1)) ? (e.input.lastFocus = 0, Ln(e), this.currentSelection.set(r), e.scrollToSelection()) : (i > -1 || s) && (i > -1 && (e.docView.markDirty(i, o), E3(e)), this.handleDOMChange(i, o, l, a), e.docView && e.docView.dirty ? e.updateState(e.state) : this.currentSelection.eq(r) || Ln(e), this.currentSelection.set(r));
15633
+ i < 0 && s && e.input.lastFocus > Date.now() - 200 && Math.max(e.input.lastTouch, e.input.lastClick.time) < Date.now() - 300 && ta(r) && (c = gc(e)) && c.eq(He.near(e.state.doc.resolve(0), 1)) ? (e.input.lastFocus = 0, Ln(e), this.currentSelection.set(r), e.scrollToSelection()) : (i > -1 || s) && (i > -1 && (e.docView.markDirty(i, o), E3(e)), this.handleDOMChange(i, o, l, a), e.docView && e.docView.dirty ? e.updateState(e.state) : this.currentSelection.eq(r) || Ln(e), this.currentSelection.set(r));
15634
15634
  }
15635
15635
  registerMutation(e, t) {
15636
15636
  if (t.indexOf(e.target) > -1)
@@ -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,12 +15742,12 @@ 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
  }
15749
15749
  if (!p)
15750
- if (r && a instanceof Ue && !a.empty && a.$head.sameParent(a.$anchor) && !n.composing && !(c.sel && c.sel.anchor != c.sel.head))
15750
+ if (r && a instanceof ze && !a.empty && a.$head.sameParent(a.$anchor) && !n.composing && !(c.sel && c.sel.anchor != c.sel.head))
15751
15751
  p = { start: a.from, endA: a.to, endB: a.to };
15752
15752
  else {
15753
15753
  if (c.sel) {
@@ -15763,19 +15763,19 @@ function x3(n, e, t, r, s) {
15763
15763
  let U = p.endB - p.start;
15764
15764
  c.sel = { anchor: c.sel.anchor + U, head: c.sel.anchor + U };
15765
15765
  }
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--);
15766
+ n.input.domChangeCount++, n.state.selection.from < n.state.selection.to && p.start == p.endB && n.state.selection instanceof ze && (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 = He.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;
@@ -16412,7 +16412,7 @@ const z3 = (n, e, t) => {
16412
16412
  if (o && o.slice.size < o.to - o.from) {
16413
16413
  if (e) {
16414
16414
  let l = n.tr.step(o);
16415
- l.setSelection(ms(i, "end") ? ze.findFrom(l.doc.resolve(l.mapping.map(s.pos, -1)), -1) : Ie.create(l.doc, s.pos - i.nodeSize)), e(l.scrollIntoView());
16415
+ l.setSelection(ms(i, "end") ? He.findFrom(l.doc.resolve(l.mapping.map(s.pos, -1)), -1) : Ie.create(l.doc, s.pos - i.nodeSize)), e(l.scrollIntoView());
16416
16416
  }
16417
16417
  return !0;
16418
16418
  }
@@ -16469,7 +16469,7 @@ const W3 = (n, e, t) => {
16469
16469
  if (o && o.slice.size < o.to - o.from) {
16470
16470
  if (e) {
16471
16471
  let l = n.tr.step(o);
16472
- l.setSelection(ms(i, "start") ? ze.findFrom(l.doc.resolve(l.mapping.map(s.pos)), 1) : Ie.create(l.doc, l.mapping.map(s.pos))), e(l.scrollIntoView());
16472
+ l.setSelection(ms(i, "start") ? He.findFrom(l.doc.resolve(l.mapping.map(s.pos)), 1) : Ie.create(l.doc, l.mapping.map(s.pos))), e(l.scrollIntoView());
16473
16473
  }
16474
16474
  return !0;
16475
16475
  }
@@ -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)
@@ -16545,7 +16545,7 @@ const X3 = (n, e) => {
16545
16545
  return !1;
16546
16546
  if (e) {
16547
16547
  let l = t.after(), a = n.tr.replaceWith(l, l, o.createAndFill());
16548
- a.setSelection(ze.near(a.doc.resolve(l), 1)), e(a.scrollIntoView());
16548
+ a.setSelection(He.near(a.doc.resolve(l), 1)), e(a.scrollIntoView());
16549
16549
  }
16550
16550
  return !0;
16551
16551
  }, Q3 = (n, e) => {
@@ -16557,7 +16557,7 @@ const X3 = (n, e) => {
16557
16557
  return !1;
16558
16558
  if (e) {
16559
16559
  let o = (!r.parentOffset && s.index() < s.parent.childCount ? r : s).pos, l = n.tr.insert(o, i.createAndFill());
16560
- l.setSelection(Ue.create(l.doc, o + 1)), e(l.scrollIntoView());
16560
+ l.setSelection(ze.create(l.doc, o + 1)), e(l.scrollIntoView());
16561
16561
  }
16562
16562
  return !0;
16563
16563
  }, q3 = (n, e) => {
@@ -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,11 +16593,11 @@ 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
  }
16600
- let a = ze.findFrom(e, 1), c = a && a.$from.blockRange(a.$to), u = c && Ts(c);
16600
+ let a = He.findFrom(e, 1), c = a && a.$from.blockRange(a.$to), u = c && Ts(c);
16601
16601
  if (u != null && u >= e.depth)
16602
16602
  return t && t(n.tr.lift(c, u).scrollIntoView()), !0;
16603
16603
  if (l && ms(s, "start", !0) && ms(r, "end")) {
@@ -16628,7 +16628,7 @@ function yp(n) {
16628
16628
  return !1;
16629
16629
  i--;
16630
16630
  }
16631
- return s.node(i).isTextblock ? (t && t(e.tr.setSelection(Ue.create(e.doc, n < 0 ? s.start(i) : s.end(i)))), !0) : !1;
16631
+ return s.node(i).isTextblock ? (t && t(e.tr.setSelection(ze.create(e.doc, n < 0 ? s.start(i) : s.end(i)))), !0) : !1;
16632
16632
  };
16633
16633
  }
16634
16634
  const nb = yp(-1), rb = yp(1);
@@ -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;
@@ -17538,7 +17538,7 @@ const xb = qt.create({
17538
17538
  const { state: s } = t, i = s.doc.slice(n.from, n.to);
17539
17539
  r.deleteRange(n.from, n.to);
17540
17540
  const o = r.mapping.map(e);
17541
- return r.insert(o, i.content), r.setSelection(new Ue(r.doc.resolve(o - 1))), !0;
17541
+ return r.insert(o, i.content), r.setSelection(new ze(r.doc.resolve(o - 1))), !0;
17542
17542
  }, Db = () => ({ tr: n, dispatch: e }) => {
17543
17543
  const { selection: t } = n, r = t.$anchor.node();
17544
17544
  if (r.content.size > 0)
@@ -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,11 +17606,11 @@ 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) {
17613
- const f = Ue.create(o, d.from, d.to);
17613
+ const f = ze.create(o, d.from, d.to);
17614
17614
  t.setSelection(f);
17615
17615
  }
17616
17616
  }
@@ -17623,7 +17623,7 @@ const Bb = (n, e = {}) => ({ tr: t, state: r, dispatch: s }) => {
17623
17623
  return !1;
17624
17624
  };
17625
17625
  function xc(n) {
17626
- return n instanceof Ue;
17626
+ return n instanceof ze;
17627
17627
  }
17628
17628
  function Nn(n = 0, e = 0, t = 0) {
17629
17629
  return Math.min(Math.max(n, e), t);
@@ -17631,13 +17631,13 @@ function Nn(n = 0, e = 0, t = 0) {
17631
17631
  function Tp(n, e = null) {
17632
17632
  if (!e)
17633
17633
  return null;
17634
- const t = ze.atStart(n), r = ze.atEnd(n);
17634
+ const t = He.atStart(n), r = He.atEnd(n);
17635
17635
  if (e === "start" || e === !0)
17636
17636
  return t;
17637
17637
  if (e === "end")
17638
17638
  return r;
17639
17639
  const s = t.from, i = r.to;
17640
- return e === "all" ? Ue.create(n, Nn(0, s, i), Nn(n.content.size, s, i)) : Ue.create(n, Nn(e, s, i), Nn(e, s, i));
17640
+ return e === "all" ? ze.create(n, Nn(0, s, i), Nn(n.content.size, s, i)) : ze.create(n, Nn(e, s, i), Nn(e, s, i));
17641
17641
  }
17642
17642
  function Ac() {
17643
17643
  return [
@@ -17698,7 +17698,7 @@ function jb(n, e, t) {
17698
17698
  let o = 0;
17699
17699
  i.forEach((l, a, c, u) => {
17700
17700
  o === 0 && (o = u);
17701
- }), n.setSelection(ze.near(n.doc.resolve(o), t));
17701
+ }), n.setSelection(He.near(n.doc.resolve(o), t));
17702
17702
  }
17703
17703
  const Wb = (n) => n.toString().startsWith("<"), Kb = (n, e, t) => ({ tr: r, dispatch: s, editor: i }) => {
17704
17704
  if (s) {
@@ -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);
@@ -18085,7 +18085,7 @@ const O7 = (n, e = {}) => ({ tr: t, state: r, dispatch: s }) => {
18085
18085
  return !0;
18086
18086
  }, D7 = (n) => ({ tr: e, dispatch: t }) => {
18087
18087
  if (t) {
18088
- const { doc: r } = e, { from: s, to: i } = typeof n == "number" ? { from: n, to: n } : n, o = Ue.atStart(r).from, l = Ue.atEnd(r).to, a = Nn(s, o, l), c = Nn(i, o, l), u = Ue.create(r, a, c);
18088
+ const { doc: r } = e, { from: s, to: i } = typeof n == "number" ? { from: n, to: n } : n, o = ze.atStart(r).from, l = ze.atEnd(r).to, a = Nn(s, o, l), c = Nn(i, o, l), u = ze.create(r, a, c);
18089
18089
  e.setSelection(u);
18090
18090
  }
18091
18091
  return !0;
@@ -18108,7 +18108,7 @@ const L7 = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: r, edit
18108
18108
  return !1;
18109
18109
  if (r) {
18110
18110
  const d = a.parentOffset === a.parent.content.size;
18111
- i instanceof Ue && e.deleteSelection();
18111
+ i instanceof ze && e.deleteSelection();
18112
18112
  const f = l.depth === 0 ? void 0 : m7(l.node(-1).contentMatchAt(l.indexAfter(-1)));
18113
18113
  let h = d && f ? [
18114
18114
  {
@@ -18154,7 +18154,7 @@ const L7 = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: r, edit
18154
18154
  if (T > -1)
18155
18155
  return !1;
18156
18156
  V.isTextblock && V.content.size === 0 && (T = z + 1);
18157
- }), T > -1 && e.setSelection(Ue.near(e.doc.resolve(T))), e.scrollIntoView();
18157
+ }), T > -1 && e.setSelection(ze.near(e.doc.resolve(T))), e.scrollIntoView();
18158
18158
  }
18159
18159
  return !0;
18160
18160
  }
@@ -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, {
@@ -18391,7 +18391,7 @@ const G7 = qt.create({
18391
18391
  () => o.undoInputRule(),
18392
18392
  // maybe convert first text block node to default node
18393
18393
  () => o.command(({ tr: l }) => {
18394
- const { selection: a, doc: c } = l, { empty: u, $anchor: d } = a, { pos: f, parent: h } = d, p = d.parent.isTextblock ? l.doc.resolve(f - 1) : d, m = p.parent.type.spec.isolating, g = d.pos - d.parentOffset, E = m && p.parent.childCount === 1 ? g === d.pos : ze.atStart(c).from === f;
18394
+ const { selection: a, doc: c } = l, { empty: u, $anchor: d } = a, { pos: f, parent: h } = d, p = d.parent.isTextblock ? l.doc.resolve(f - 1) : d, m = p.parent.type.spec.isolating, g = d.pos - d.parentOffset, E = m && p.parent.childCount === 1 ? g === d.pos : He.atStart(c).from === f;
18395
18395
  return !u || !E || !h.type.isTextblock || h.textContent.length ? !1 : o.clearNodes();
18396
18396
  }),
18397
18397
  () => o.deleteSelection(),
@@ -18443,7 +18443,7 @@ const G7 = qt.create({
18443
18443
  appendTransaction: (n, e, t) => {
18444
18444
  if (!(n.some((p) => p.docChanged) && !e.doc.eq(t.doc)))
18445
18445
  return;
18446
- const { empty: s, from: i, to: o } = e.selection, l = ze.atStart(e.doc).from, a = ze.atEnd(e.doc).to;
18446
+ const { empty: s, from: i, to: o } = e.selection, l = He.atStart(e.doc).from, a = He.atEnd(e.doc).to;
18447
18447
  if (s || !(i === l && o === a) || !(t.doc.textBetween(0, t.doc.content.size, " ", " ").length === 0))
18448
18448
  return;
18449
18449
  const d = t.tr, f = sa({
@@ -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);
@@ -22708,7 +22708,7 @@ const Z4 = xn.create({
22708
22708
  Te(Ae(Jo))
22709
22709
  ]),
22710
22710
  _: 2
22711
- }, 1032, ["onClick"])) : He("", !0),
22711
+ }, 1032, ["onClick"])) : Ue("", !0),
22712
22712
  r.noDownload ? (J(), te("div", yE, [
22713
22713
  Te(Ae(us)),
22714
22714
  ct(" " + Pe(i.Naam.trim()), 1)
@@ -22754,7 +22754,7 @@ const Z4 = xn.create({
22754
22754
  Te(Ae(Jo))
22755
22755
  ]),
22756
22756
  _: 2
22757
- }, 1032, ["onClick"])) : He("", !0),
22757
+ }, 1032, ["onClick"])) : Ue("", !0),
22758
22758
  t.noDownload ? (J(), te("div", {
22759
22759
  key: 1,
22760
22760
  onClick: (a) => s(a, l)
@@ -22777,7 +22777,7 @@ const Z4 = xn.create({
22777
22777
  ee("button", AE, [
22778
22778
  Te(Ae(pl))
22779
22779
  ])
22780
- ], 8, xE)) : He("", !0),
22780
+ ], 8, xE)) : Ue("", !0),
22781
22781
  ee("img", {
22782
22782
  src: l.previewUrl,
22783
22783
  alt: l.altName,
@@ -22802,13 +22802,7 @@ const Z4 = xn.create({
22802
22802
  }), DE = { class: "bd-markdown-editor__menu-bottom" }, NE = {
22803
22803
  key: 0,
22804
22804
  class: "vr"
22805
- }, LE = {
22806
- key: 4,
22807
- class: "vr"
22808
- }, RE = {
22809
- key: 7,
22810
- class: "vr"
22811
- }, PE = /* @__PURE__ */ $e({
22805
+ }, LE = /* @__PURE__ */ $e({
22812
22806
  __name: "BDMarkdownEditor",
22813
22807
  props: {
22814
22808
  placeholder: { default: "Typ een bericht" },
@@ -22866,7 +22860,7 @@ const Z4 = xn.create({
22866
22860
  }, w = (M) => {
22867
22861
  e("action", { name: "image-attachment", obj: M });
22868
22862
  }, y = () => {
22869
- const M = o.value.getAttributes("link").href, T = window.prompt("Enter a URL", M);
22863
+ const M = o.value.getAttributes("link").href, T = window.prompt("Voeg link toe", M);
22870
22864
  if (T !== null) {
22871
22865
  if (T === "") {
22872
22866
  o.value.chain().focus().unsetLink().run();
@@ -22887,7 +22881,7 @@ const Z4 = xn.create({
22887
22881
  "no-download": !0,
22888
22882
  "show-delete": !0,
22889
22883
  onDelete: S
22890
- }, null, 8, ["files"])) : He("", !0),
22884
+ }, null, 8, ["files"])) : Ue("", !0),
22891
22885
  E.value ? (J(), Ge(Zc, {
22892
22886
  key: 1,
22893
22887
  files: E.value,
@@ -22895,7 +22889,7 @@ const Z4 = xn.create({
22895
22889
  "show-delete": !0,
22896
22890
  onDelete: S,
22897
22891
  onShow: w
22898
- }, null, 8, ["files"])) : He("", !0),
22892
+ }, null, 8, ["files"])) : Ue("", !0),
22899
22893
  ee("div", DE, [
22900
22894
  Te(yt, {
22901
22895
  variant: "light",
@@ -22907,7 +22901,7 @@ const Z4 = xn.create({
22907
22901
  ]),
22908
22902
  _: 1
22909
22903
  }),
22910
- p.value ? (J(), te("div", NE)) : He("", !0),
22904
+ p.value ? (J(), te("div", NE)) : Ue("", !0),
22911
22905
  p.value ? (J(), Ge(yt, {
22912
22906
  key: 1,
22913
22907
  variant: "light",
@@ -22919,7 +22913,7 @@ const Z4 = xn.create({
22919
22913
  Te(Ae(Vf))
22920
22914
  ]),
22921
22915
  _: 1
22922
- }, 8, ["class"])) : He("", !0),
22916
+ }, 8, ["class"])) : Ue("", !0),
22923
22917
  p.value ? (J(), Ge(yt, {
22924
22918
  key: 2,
22925
22919
  variant: "light",
@@ -22931,7 +22925,7 @@ const Z4 = xn.create({
22931
22925
  Te(Ae(Gf))
22932
22926
  ]),
22933
22927
  _: 1
22934
- }, 8, ["class"])) : He("", !0),
22928
+ }, 8, ["class"])) : Ue("", !0),
22935
22929
  p.value ? (J(), Ge(yt, {
22936
22930
  key: 3,
22937
22931
  variant: "light",
@@ -22943,10 +22937,9 @@ const Z4 = xn.create({
22943
22937
  Te(Ae(Qf))
22944
22938
  ]),
22945
22939
  _: 1
22946
- }, 8, ["class"])) : He("", !0),
22947
- p.value ? (J(), te("div", LE)) : He("", !0),
22940
+ }, 8, ["class"])) : Ue("", !0),
22948
22941
  p.value ? (J(), Ge(yt, {
22949
- key: 5,
22942
+ key: 4,
22950
22943
  variant: "light",
22951
22944
  type: "button",
22952
22945
  class: Ke(d.value),
@@ -22956,9 +22949,9 @@ const Z4 = xn.create({
22956
22949
  Te(Ae(Hf))
22957
22950
  ]),
22958
22951
  _: 1
22959
- }, 8, ["class"])) : He("", !0),
22952
+ }, 8, ["class"])) : Ue("", !0),
22960
22953
  p.value ? (J(), Ge(yt, {
22961
- key: 6,
22954
+ key: 5,
22962
22955
  variant: "light",
22963
22956
  type: "button",
22964
22957
  class: Ke(f.value),
@@ -22968,10 +22961,9 @@ const Z4 = xn.create({
22968
22961
  Te(Ae(Yf))
22969
22962
  ]),
22970
22963
  _: 1
22971
- }, 8, ["class"])) : He("", !0),
22972
- p.value ? (J(), te("div", RE)) : He("", !0),
22964
+ }, 8, ["class"])) : Ue("", !0),
22973
22965
  p.value ? (J(), Ge(yt, {
22974
- key: 8,
22966
+ key: 6,
22975
22967
  variant: "light",
22976
22968
  type: "button",
22977
22969
  class: Ke(h.value),
@@ -22981,7 +22973,7 @@ const Z4 = xn.create({
22981
22973
  Te(Ae(Kf))
22982
22974
  ]),
22983
22975
  _: 1
22984
- }, 8, ["class"])) : He("", !0)
22976
+ }, 8, ["class"])) : Ue("", !0)
22985
22977
  ])
22986
22978
  ], 2),
22987
22979
  Te(Ae(ac), {
@@ -22990,7 +22982,7 @@ const Z4 = xn.create({
22990
22982
  }, null, 8, ["text", "state"])
22991
22983
  ], 64));
22992
22984
  }
22993
- }), $E = { class: "header" }, FE = /* @__PURE__ */ ee("div", null, "Menu", -1), BE = { class: "icon-close-wrapper" }, VE = { class: "navbar" }, HE = { class: "nav navbar-nav w-100" }, zE = { class: "nav-item" }, UE = { class: "nav-item" }, vm = /* @__PURE__ */ $e({
22985
+ }), RE = { class: "header" }, PE = /* @__PURE__ */ ee("div", null, "Menu", -1), $E = { class: "icon-close-wrapper" }, FE = { class: "navbar" }, BE = { class: "nav navbar-nav w-100" }, VE = { class: "nav-item" }, HE = { class: "nav-item" }, vm = /* @__PURE__ */ $e({
22994
22986
  __name: "BDMobileMenu",
22995
22987
  props: {
22996
22988
  active: { type: Boolean, default: void 0 },
@@ -23005,19 +22997,19 @@ const Z4 = xn.create({
23005
22997
  return (o, l) => (J(), te("div", {
23006
22998
  class: Ke(["bd-mobile-menu", r.value])
23007
22999
  }, [
23008
- ee("div", $E, [
23009
- FE,
23010
- ee("div", BE, [
23000
+ ee("div", RE, [
23001
+ PE,
23002
+ ee("div", $E, [
23011
23003
  Te(sc, { onClick: s })
23012
23004
  ])
23013
23005
  ]),
23014
- ee("nav", VE, [
23015
- ee("ul", HE, [
23016
- (J(!0), te(rt, null, Bt(t.options, (a) => (J(), te("li", zE, [
23006
+ ee("nav", FE, [
23007
+ ee("ul", BE, [
23008
+ (J(!0), te(rt, null, Bt(t.options, (a) => (J(), te("li", VE, [
23017
23009
  Te(Gs, an({ class: "nav-link" }, a, { onClick: s }), null, 16)
23018
23010
  ]))), 256)),
23019
23011
  je(o.$slots, "special-options"),
23020
- ee("li", UE, [
23012
+ ee("li", HE, [
23021
23013
  Te(Gs, {
23022
23014
  class: "nav-link",
23023
23015
  text: "Uitloggen",
@@ -23028,7 +23020,7 @@ const Z4 = xn.create({
23028
23020
  ])
23029
23021
  ], 2));
23030
23022
  }
23031
- }), jE = { class: "bd-user" }, WE = { class: "bd-user__information" }, KE = { class: "text-break" }, GE = { class: "overflow-x-hidden" }, YE = /* @__PURE__ */ $e({
23023
+ }), zE = { class: "bd-user" }, UE = { class: "bd-user__information" }, jE = { class: "text-break" }, WE = { class: "overflow-x-hidden" }, KE = /* @__PURE__ */ $e({
23032
23024
  __name: "BDUser",
23033
23025
  props: {
23034
23026
  name: { default: "" },
@@ -23041,18 +23033,18 @@ const Z4 = xn.create({
23041
23033
  var r;
23042
23034
  return typeof e.details == "string" ? e.details : (r = e.details) == null ? void 0 : r.join(" • ");
23043
23035
  });
23044
- return (r, s) => (J(), te("div", jE, [
23045
- e.hideImage ? He("", !0) : (J(), Ge(Xo, an({ key: 0 }, e.img, { size: "sm" }), null, 16)),
23046
- ee("div", WE, [
23036
+ return (r, s) => (J(), te("div", zE, [
23037
+ e.hideImage ? Ue("", !0) : (J(), Ge(Xo, an({ key: 0 }, e.img, { size: "sm" }), null, 16)),
23038
+ ee("div", UE, [
23047
23039
  ee("header", null, [
23048
- ee("h5", KE, Pe(e.name), 1),
23040
+ ee("h5", jE, Pe(e.name), 1),
23049
23041
  je(r.$slots, "header-extra")
23050
23042
  ]),
23051
- ee("span", GE, Pe(t.value), 1)
23043
+ ee("span", WE, Pe(t.value), 1)
23052
23044
  ])
23053
23045
  ]));
23054
23046
  }
23055
- }), Ql = "", Mi = (n) => typeof n == "string" || n instanceof String, JE = { class: "bd-chat-cloud-card" }, ZE = { class: "bd-chat-cloud-card__header" }, XE = { class: "bd-chat-cloud-card__body" }, QE = ["innerHTML"], qE = { class: "bd-chat-cloud-card__footer" }, e6 = /* @__PURE__ */ $e({
23047
+ }), Ql = "", Mi = (n) => typeof n == "string" || n instanceof String, GE = { class: "bd-chat-cloud-card" }, YE = { class: "bd-chat-cloud-card__header" }, JE = { class: "bd-chat-cloud-card__body" }, ZE = ["innerHTML"], XE = { class: "bd-chat-cloud-card__footer" }, QE = /* @__PURE__ */ $e({
23056
23048
  __name: "BDChatCloud",
23057
23049
  props: {
23058
23050
  headerTitle: { default: "" },
@@ -23077,8 +23069,8 @@ const Z4 = xn.create({
23077
23069
  src: t.src,
23078
23070
  size: "sm"
23079
23071
  }, null, 8, ["src"]),
23080
- ee("div", JE, [
23081
- ee("div", ZE, [
23072
+ ee("div", GE, [
23073
+ ee("div", YE, [
23082
23074
  je(a.$slots, "header", {}, () => [
23083
23075
  ct(Pe(a.headerTitle), 1)
23084
23076
  ]),
@@ -23093,32 +23085,32 @@ const Z4 = xn.create({
23093
23085
  _: 1
23094
23086
  })
23095
23087
  ]),
23096
- ee("div", XE, [
23088
+ ee("div", JE, [
23097
23089
  je(a.$slots, "body", {}, () => [
23098
23090
  ee("div", {
23099
23091
  class: "bd-chat-cloud-card__message",
23100
23092
  innerHTML: t.message
23101
- }, null, 8, QE)
23093
+ }, null, 8, ZE)
23102
23094
  ])
23103
23095
  ]),
23104
- ee("div", qE, [
23096
+ ee("div", XE, [
23105
23097
  je(a.$slots, "footer", {}, () => [
23106
23098
  s.value ? (J(), Ge(Jc, {
23107
23099
  key: 0,
23108
23100
  files: s.value
23109
- }, null, 8, ["files"])) : He("", !0),
23101
+ }, null, 8, ["files"])) : Ue("", !0),
23110
23102
  i.value ? (J(), Ge(Zc, {
23111
23103
  key: 1,
23112
23104
  files: i.value,
23113
23105
  onShow: l,
23114
23106
  "fast-download": !0
23115
- }, null, 8, ["files"])) : He("", !0)
23107
+ }, null, 8, ["files"])) : Ue("", !0)
23116
23108
  ])
23117
23109
  ])
23118
23110
  ])
23119
23111
  ], 2));
23120
23112
  }
23121
- }), t6 = /* @__PURE__ */ $e({
23113
+ }), qE = /* @__PURE__ */ $e({
23122
23114
  __name: "BDTableSortHeader",
23123
23115
  props: ["active", "label", "sortDesc"],
23124
23116
  emits: ["sortAsc", "sortDesc"],
@@ -23146,13 +23138,13 @@ const Z4 = xn.create({
23146
23138
  t.active && !r.value ? (J(), Ge(Ae(Jf), { key: 0 })) : t.active && r.value ? (J(), Ge(Ae(Zf), { key: 1 })) : (J(), Ge(Ae(Xf), { key: 2 }))
23147
23139
  ], 2));
23148
23140
  }
23149
- }), n6 = { class: "bd-table" }, r6 = {
23141
+ }), e6 = { class: "bd-table" }, t6 = {
23150
23142
  key: 0,
23151
23143
  class: "table"
23152
- }, s6 = { key: 1 }, i6 = ["onClick"], o6 = { key: 0 }, a6 = {
23144
+ }, n6 = { key: 1 }, r6 = ["onClick"], s6 = { key: 0 }, i6 = {
23153
23145
  key: 1,
23154
23146
  class: "empty-text"
23155
- }, l6 = /* @__PURE__ */ $e({
23147
+ }, o6 = /* @__PURE__ */ $e({
23156
23148
  __name: "BDTable",
23157
23149
  props: ["fields", "items", "sortBy", "sortDesc", "tbodyTrClass", "emptyText"],
23158
23150
  emits: ["row-click", "sort-changed"],
@@ -23182,13 +23174,13 @@ const Z4 = xn.create({
23182
23174
  s.value = d;
23183
23175
  }), e({
23184
23176
  Refresh: u
23185
- }), (d, f) => (J(), te("div", n6, [
23186
- r.items && r.items.length > 0 ? (J(), te("table", r6, [
23177
+ }), (d, f) => (J(), te("div", e6, [
23178
+ r.items && r.items.length > 0 ? (J(), te("table", t6, [
23187
23179
  ee("thead", null, [
23188
23180
  ee("tr", null, [
23189
23181
  (J(!0), te(rt, null, Bt(r.fields, (h) => (J(), te(rt, null, [
23190
23182
  h.isVisible ? (J(), te(rt, { key: 0 }, [
23191
- h.sortable ? (J(), Ge(t6, {
23183
+ h.sortable ? (J(), Ge(qE, {
23192
23184
  key: 0,
23193
23185
  label: h.label,
23194
23186
  active: h.key == i.value,
@@ -23196,8 +23188,8 @@ const Z4 = xn.create({
23196
23188
  onClick: (p) => o(h.key),
23197
23189
  onSortAsc: (p) => a(h.key),
23198
23190
  onSortDesc: (p) => c(h.key)
23199
- }, null, 8, ["label", "active", "sortDesc", "onClick", "onSortAsc", "onSortDesc"])) : (J(), te("th", s6, Pe(h.label), 1))
23200
- ], 64)) : He("", !0)
23191
+ }, null, 8, ["label", "active", "sortDesc", "onClick", "onSortAsc", "onSortDesc"])) : (J(), te("th", n6, Pe(h.label), 1))
23192
+ ], 64)) : Ue("", !0)
23201
23193
  ], 64))), 256))
23202
23194
  ])
23203
23195
  ]),
@@ -23207,7 +23199,7 @@ const Z4 = xn.create({
23207
23199
  onClick: (p) => t("row-click", h)
23208
23200
  }, [
23209
23201
  (J(!0), te(rt, null, Bt(n.fields, (p) => (J(), te(rt, null, [
23210
- p.isVisible ? (J(), te("td", o6, [
23202
+ p.isVisible ? (J(), te("td", s6, [
23211
23203
  d.$slots.hasOwnProperty(p.key) ? je(d.$slots, p.key, {
23212
23204
  key: 0,
23213
23205
  row: h,
@@ -23216,11 +23208,11 @@ const Z4 = xn.create({
23216
23208
  }) : (J(), te(rt, { key: 1 }, [
23217
23209
  ct(Pe(h[p.key]), 1)
23218
23210
  ], 64))
23219
- ])) : He("", !0)
23211
+ ])) : Ue("", !0)
23220
23212
  ], 64))), 256))
23221
- ], 10, i6))), 256))
23213
+ ], 10, r6))), 256))
23222
23214
  ])
23223
- ])) : (J(), te("p", a6, Pe(r.emptyText), 1))
23215
+ ])) : (J(), te("p", i6, Pe(r.emptyText), 1))
23224
23216
  ]));
23225
23217
  }
23226
23218
  }), ym = /* @__PURE__ */ $e({
@@ -23283,10 +23275,10 @@ const Z4 = xn.create({
23283
23275
  ], 16)
23284
23276
  ]));
23285
23277
  }
23286
- }), c6 = { class: "row bd-header" }, u6 = { class: "col logo-mix" }, d6 = ["src", "alt"], f6 = /* @__PURE__ */ ee("div", null, "Menu", -1), h6 = {
23278
+ }), a6 = { class: "row bd-header" }, l6 = { class: "col logo-mix" }, c6 = ["src", "alt"], u6 = /* @__PURE__ */ ee("div", null, "Menu", -1), d6 = {
23287
23279
  key: 0,
23288
23280
  class: "col header-options"
23289
- }, p6 = { class: "col bd-btn-settings" }, m6 = "sm", g6 = /* @__PURE__ */ $e({
23281
+ }, f6 = { class: "col bd-btn-settings" }, h6 = "sm", p6 = /* @__PURE__ */ $e({
23290
23282
  __name: "BDHeader",
23291
23283
  props: {
23292
23284
  dropdownMenuTitle: {},
@@ -23304,8 +23296,8 @@ const Z4 = xn.create({
23304
23296
  return t.headerOptions && (c = c.concat(t.headerOptions)), t.dropdownOptions && (c = c.concat(t.dropdownOptions)), c;
23305
23297
  }), s = at(void 0), i = () => e("click"), o = () => e("signout"), l = () => s.value = !0, a = () => s.value = !1;
23306
23298
  return (c, u) => (J(), te(rt, null, [
23307
- ee("nav", c6, [
23308
- ee("div", u6, [
23299
+ ee("nav", a6, [
23300
+ ee("div", l6, [
23309
23301
  Te(qf, {
23310
23302
  viewBox: "0 0 351 61",
23311
23303
  class: "logo bd-logo",
@@ -23316,16 +23308,16 @@ const Z4 = xn.create({
23316
23308
  class: "logo organization-logo",
23317
23309
  src: t.organizationLogoSrc,
23318
23310
  alt: t.organizationLogoAlt
23319
- }, null, 8, d6)) : He("", !0)
23311
+ }, null, 8, c6)) : Ue("", !0)
23320
23312
  ]),
23321
23313
  ee("div", {
23322
23314
  class: "col bd-hamburger",
23323
23315
  onClick: l
23324
23316
  }, [
23325
- f6,
23317
+ u6,
23326
23318
  Te(ml)
23327
23319
  ]),
23328
- t.headerOptions && t.headerOptions.length !== 0 ? (J(), te("div", h6, [
23320
+ t.headerOptions && t.headerOptions.length !== 0 ? (J(), te("div", d6, [
23329
23321
  (J(!0), te(rt, null, Bt(t.headerOptions, (d) => (J(), Ge(yt, {
23330
23322
  class: "btn-header",
23331
23323
  to: d.to
@@ -23335,15 +23327,15 @@ const Z4 = xn.create({
23335
23327
  ]),
23336
23328
  _: 2
23337
23329
  }, 1032, ["to"]))), 256))
23338
- ])) : He("", !0),
23339
- ee("div", p6, [
23330
+ ])) : Ue("", !0),
23331
+ ee("div", f6, [
23340
23332
  je(c.$slots, "profile-side"),
23341
23333
  t.profileImageSrc ? (J(), Ge(Xo, {
23342
23334
  key: 0,
23343
23335
  src: t.profileImageSrc,
23344
23336
  alt: t.profileImageAlt,
23345
- size: m6
23346
- }, null, 8, ["src", "alt"])) : He("", !0),
23337
+ size: h6
23338
+ }, null, 8, ["src", "alt"])) : Ue("", !0),
23347
23339
  Te(ym, {
23348
23340
  text: t.dropdownMenuTitle,
23349
23341
  variant: "primary",
@@ -23374,13 +23366,13 @@ const Z4 = xn.create({
23374
23366
  }, 8, ["active", "options"])
23375
23367
  ], 64));
23376
23368
  }
23377
- }), v6 = {
23369
+ }), m6 = {
23378
23370
  class: "modal bd-modal modal-lg",
23379
23371
  tabindex: "-1"
23380
- }, y6 = { class: "modal-dialog" }, b6 = { class: "modal-content" }, E6 = { class: "modal-header" }, S6 = { class: "modal-title" }, C6 = /* @__PURE__ */ ee("span", null, "Sluiten", -1), w6 = { class: "modal-body" }, T6 = {
23372
+ }, g6 = { class: "modal-dialog" }, v6 = { class: "modal-content" }, y6 = { class: "modal-header" }, b6 = { class: "modal-title" }, E6 = /* @__PURE__ */ ee("span", null, "Sluiten", -1), S6 = { class: "modal-body" }, C6 = {
23381
23373
  key: 0,
23382
23374
  class: "modal-footer"
23383
- }, x6 = ["disabled"], A6 = /* @__PURE__ */ $e({
23375
+ }, w6 = ["disabled"], T6 = /* @__PURE__ */ $e({
23384
23376
  __name: "BDModal",
23385
23377
  props: {
23386
23378
  title: { default: "" },
@@ -23398,11 +23390,11 @@ const Z4 = xn.create({
23398
23390
  }, s = () => {
23399
23391
  e("cancel");
23400
23392
  };
23401
- return (i, o) => (J(), te("div", v6, [
23402
- ee("div", y6, [
23403
- ee("div", b6, [
23404
- ee("div", E6, [
23405
- ee("h2", S6, Pe(t.title), 1),
23393
+ return (i, o) => (J(), te("div", m6, [
23394
+ ee("div", g6, [
23395
+ ee("div", v6, [
23396
+ ee("div", y6, [
23397
+ ee("h2", b6, Pe(t.title), 1),
23406
23398
  je(i.$slots, "modal-header-space-between"),
23407
23399
  ee("button", {
23408
23400
  type: "button",
@@ -23411,23 +23403,23 @@ const Z4 = xn.create({
23411
23403
  "aria-label": "Sluiten",
23412
23404
  onClick: s
23413
23405
  }, [
23414
- C6,
23406
+ E6,
23415
23407
  Te(Ae(sc), { class: "bg-primary" })
23416
23408
  ])
23417
23409
  ]),
23418
- ee("div", w6, [
23410
+ ee("div", S6, [
23419
23411
  je(i.$slots, "default")
23420
23412
  ]),
23421
- i.hideFooter ? He("", !0) : (J(), te("div", T6, [
23422
- t.hideFooterSubmitButton ? He("", !0) : (J(), te("button", {
23413
+ i.hideFooter ? Ue("", !0) : (J(), te("div", C6, [
23414
+ t.hideFooterSubmitButton ? Ue("", !0) : (J(), te("button", {
23423
23415
  key: 0,
23424
23416
  type: "button",
23425
23417
  class: "btn btn-primary",
23426
23418
  disabled: t.disableSubmitButton,
23427
23419
  onClick: r
23428
- }, Pe(t.submitButtonTitle), 9, x6)),
23420
+ }, Pe(t.submitButtonTitle), 9, w6)),
23429
23421
  je(i.$slots, "buttons"),
23430
- t.hideFooterCancelButton ? He("", !0) : (J(), te("button", {
23422
+ t.hideFooterCancelButton ? Ue("", !0) : (J(), te("button", {
23431
23423
  key: 1,
23432
23424
  type: "button",
23433
23425
  class: "btn btn-link",
@@ -23440,7 +23432,7 @@ const Z4 = xn.create({
23440
23432
  ])
23441
23433
  ]));
23442
23434
  }
23443
- }), k6 = { class: "template change-password-template" }, O6 = { class: "template-title" }, M6 = { key: 0 }, _6 = { key: 1 }, I6 = ["onSubmit", "onReset"], D6 = { class: "bd-form-field" }, N6 = { class: "bd-form-field" }, L6 = { class: "bd-form-field" }, R6 = { class: "bd-form-buttons" }, P6 = /* @__PURE__ */ $e({
23435
+ }), x6 = { class: "template change-password-template" }, A6 = { class: "template-title" }, k6 = { key: 0 }, O6 = { key: 1 }, M6 = ["onSubmit", "onReset"], _6 = { class: "bd-form-field" }, I6 = { class: "bd-form-field" }, D6 = { class: "bd-form-field" }, N6 = { class: "bd-form-buttons" }, L6 = /* @__PURE__ */ $e({
23444
23436
  __name: "BDChangePasswordTemplate",
23445
23437
  props: {
23446
23438
  data: {},
@@ -23459,7 +23451,7 @@ const Z4 = xn.create({
23459
23451
  emits: ["submit", "reset"],
23460
23452
  setup(n, { emit: e }) {
23461
23453
  const t = () => e("submit"), r = () => e("reset");
23462
- return (s, i) => (J(), te("main", k6, [
23454
+ return (s, i) => (J(), te("main", x6, [
23463
23455
  Te(hl, { class: "container-xl" }, {
23464
23456
  default: Re(() => [
23465
23457
  Te(Kr, { class: "justify-content-md-center template-header" }, {
@@ -23470,7 +23462,7 @@ const Z4 = xn.create({
23470
23462
  lg: 7
23471
23463
  }, {
23472
23464
  default: Re(() => [
23473
- ee("h2", O6, Pe(s.title), 1)
23465
+ ee("h2", A6, Pe(s.title), 1)
23474
23466
  ]),
23475
23467
  _: 1
23476
23468
  })
@@ -23514,14 +23506,14 @@ const Z4 = xn.create({
23514
23506
  default: Re(() => [
23515
23507
  Te(gl, { variant: "danger" }, {
23516
23508
  default: Re(() => [
23517
- s.errorMessages ? (J(), te("div", M6, [
23509
+ s.errorMessages ? (J(), te("div", k6, [
23518
23510
  ee("ul", null, [
23519
23511
  (J(!0), te(rt, null, Bt(s.errorMessages, (o, l) => (J(), te("li", { key: l }, [
23520
23512
  Te(Yo),
23521
23513
  ct(" " + Pe(o), 1)
23522
23514
  ]))), 128))
23523
23515
  ])
23524
- ])) : (J(), te("div", _6, Pe(s.errorMessageText), 1))
23516
+ ])) : (J(), te("div", O6, Pe(s.errorMessageText), 1))
23525
23517
  ]),
23526
23518
  _: 1
23527
23519
  })
@@ -23530,7 +23522,7 @@ const Z4 = xn.create({
23530
23522
  })
23531
23523
  ]),
23532
23524
  _: 1
23533
- })) : He("", !0),
23525
+ })) : Ue("", !0),
23534
23526
  Te(Kr, null, {
23535
23527
  default: Re(() => [
23536
23528
  Te(Wr, {
@@ -23544,7 +23536,7 @@ const Z4 = xn.create({
23544
23536
  onReset: cs(r, ["prevent"]),
23545
23537
  class: "form"
23546
23538
  }, [
23547
- ee("div", D6, [
23539
+ ee("div", _6, [
23548
23540
  Te(Pi, {
23549
23541
  modelValue: s.data.password,
23550
23542
  "onUpdate:modelValue": i[0] || (i[0] = (o) => s.data.password = o),
@@ -23554,7 +23546,7 @@ const Z4 = xn.create({
23554
23546
  invalidFeedbackText: s.validation.password.errorLabel
23555
23547
  }, null, 8, ["modelValue", "label", "state", "invalidFeedbackText"])
23556
23548
  ]),
23557
- ee("div", N6, [
23549
+ ee("div", I6, [
23558
23550
  Te(Pi, {
23559
23551
  modelValue: s.data.passwordNew,
23560
23552
  "onUpdate:modelValue": i[1] || (i[1] = (o) => s.data.passwordNew = o),
@@ -23564,7 +23556,7 @@ const Z4 = xn.create({
23564
23556
  invalidFeedbackText: s.validation.passwordNew.errorLabel
23565
23557
  }, null, 8, ["modelValue", "label", "state", "invalidFeedbackText"])
23566
23558
  ]),
23567
- ee("div", L6, [
23559
+ ee("div", D6, [
23568
23560
  Te(Pi, {
23569
23561
  modelValue: s.data.passwordRepeat,
23570
23562
  "onUpdate:modelValue": i[2] || (i[2] = (o) => s.data.passwordRepeat = o),
@@ -23574,7 +23566,7 @@ const Z4 = xn.create({
23574
23566
  invalidFeedbackText: s.validation.passwordRepeat.errorLabel
23575
23567
  }, null, 8, ["modelValue", "label", "state", "invalidFeedbackText"])
23576
23568
  ]),
23577
- ee("div", R6, [
23569
+ ee("div", N6, [
23578
23570
  Te(yt, { type: "submit" }, {
23579
23571
  default: Re(() => [
23580
23572
  ct(Pe(s.submitButtonText), 1)
@@ -23591,7 +23583,7 @@ const Z4 = xn.create({
23591
23583
  _: 1
23592
23584
  })
23593
23585
  ])
23594
- ], 40, I6)
23586
+ ], 40, M6)
23595
23587
  ]),
23596
23588
  _: 1
23597
23589
  })
@@ -23640,12 +23632,12 @@ const Un = /* @__PURE__ */ new Map(), qa = {
23640
23632
  const t = Un.get(n);
23641
23633
  t.delete(e), t.size === 0 && Un.delete(n);
23642
23634
  }
23643
- }, $6 = 1e6, F6 = 1e3, ql = "transitionend", bm = (n) => (n && window.CSS && window.CSS.escape && (n = n.replace(/#([^\s"#']+)/g, (e, t) => `#${CSS.escape(t)}`)), n), B6 = (n) => n == null ? `${n}` : Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(), V6 = (n) => {
23635
+ }, R6 = 1e6, P6 = 1e3, ql = "transitionend", bm = (n) => (n && window.CSS && window.CSS.escape && (n = n.replace(/#([^\s"#']+)/g, (e, t) => `#${CSS.escape(t)}`)), n), $6 = (n) => n == null ? `${n}` : Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(), F6 = (n) => {
23644
23636
  do
23645
- n += Math.floor(Math.random() * $6);
23637
+ n += Math.floor(Math.random() * R6);
23646
23638
  while (document.getElementById(n));
23647
23639
  return n;
23648
- }, H6 = (n) => {
23640
+ }, B6 = (n) => {
23649
23641
  if (!n)
23650
23642
  return 0;
23651
23643
  let {
@@ -23653,7 +23645,7 @@ const Un = /* @__PURE__ */ new Map(), qa = {
23653
23645
  transitionDelay: t
23654
23646
  } = window.getComputedStyle(n);
23655
23647
  const r = Number.parseFloat(e), s = Number.parseFloat(t);
23656
- return !r && !s ? 0 : (e = e.split(",")[0], t = t.split(",")[0], (Number.parseFloat(e) + Number.parseFloat(t)) * F6);
23648
+ return !r && !s ? 0 : (e = e.split(",")[0], t = t.split(",")[0], (Number.parseFloat(e) + Number.parseFloat(t)) * P6);
23657
23649
  }, Em = (n) => {
23658
23650
  n.dispatchEvent(new Event(ql));
23659
23651
  }, Rn = (n) => !n || typeof n != "object" ? !1 : (typeof n.jquery < "u" && (n = n[0]), typeof n.nodeType < "u"), rr = (n) => Rn(n) ? n.jquery ? n[0] : n : typeof n == "string" && n.length > 0 ? document.querySelector(bm(n)) : null, ks = (n) => {
@@ -23679,13 +23671,13 @@ const Un = /* @__PURE__ */ new Map(), qa = {
23679
23671
  }, Ho = () => {
23680
23672
  }, hi = (n) => {
23681
23673
  n.offsetHeight;
23682
- }, Cm = () => window.jQuery && !document.body.hasAttribute("data-bs-no-jquery") ? window.jQuery : null, el = [], z6 = (n) => {
23674
+ }, Cm = () => window.jQuery && !document.body.hasAttribute("data-bs-no-jquery") ? window.jQuery : null, el = [], V6 = (n) => {
23683
23675
  document.readyState === "loading" ? (el.length || document.addEventListener("DOMContentLoaded", () => {
23684
23676
  for (const e of el)
23685
23677
  e();
23686
23678
  }), el.push(n)) : n();
23687
23679
  }, en = () => document.documentElement.dir === "rtl", nn = (n) => {
23688
- z6(() => {
23680
+ V6(() => {
23689
23681
  const e = Cm();
23690
23682
  if (e) {
23691
23683
  const t = n.NAME, r = e.fn[t];
@@ -23697,7 +23689,7 @@ const Un = /* @__PURE__ */ new Map(), qa = {
23697
23689
  Nt(n);
23698
23690
  return;
23699
23691
  }
23700
- const r = 5, s = H6(e) + r;
23692
+ const r = 5, s = B6(e) + r;
23701
23693
  let i = !1;
23702
23694
  const o = ({
23703
23695
  target: l
@@ -23711,12 +23703,12 @@ const Un = /* @__PURE__ */ new Map(), qa = {
23711
23703
  const s = n.length;
23712
23704
  let i = n.indexOf(e);
23713
23705
  return i === -1 ? !t && r ? n[s - 1] : n[0] : (i += t ? 1 : -1, r && (i = (i + s) % s), n[Math.max(0, Math.min(i, s - 1))]);
23714
- }, U6 = /[^.]*(?=\..*)\.|.*/, j6 = /\..*/, W6 = /::\d+$/, tl = {};
23706
+ }, H6 = /[^.]*(?=\..*)\.|.*/, z6 = /\..*/, U6 = /::\d+$/, tl = {};
23715
23707
  let df = 1;
23716
23708
  const Tm = {
23717
23709
  mouseenter: "mouseover",
23718
23710
  mouseleave: "mouseout"
23719
- }, K6 = /* @__PURE__ */ new Set(["click", "dblclick", "mouseup", "mousedown", "contextmenu", "mousewheel", "DOMMouseScroll", "mouseover", "mouseout", "mousemove", "selectstart", "selectend", "keydown", "keypress", "keyup", "orientationchange", "touchstart", "touchmove", "touchend", "touchcancel", "pointerdown", "pointermove", "pointerup", "pointerleave", "pointercancel", "gesturestart", "gesturechange", "gestureend", "focus", "blur", "change", "reset", "select", "submit", "focusin", "focusout", "load", "unload", "beforeunload", "resize", "move", "DOMContentLoaded", "readystatechange", "error", "abort", "scroll"]);
23711
+ }, j6 = /* @__PURE__ */ new Set(["click", "dblclick", "mouseup", "mousedown", "contextmenu", "mousewheel", "DOMMouseScroll", "mouseover", "mouseout", "mousemove", "selectstart", "selectend", "keydown", "keypress", "keyup", "orientationchange", "touchstart", "touchmove", "touchend", "touchcancel", "pointerdown", "pointermove", "pointerup", "pointerleave", "pointercancel", "gesturestart", "gesturechange", "gestureend", "focus", "blur", "change", "reset", "select", "submit", "focusin", "focusout", "load", "unload", "beforeunload", "resize", "move", "DOMContentLoaded", "readystatechange", "error", "abort", "scroll"]);
23720
23712
  function xm(n, e) {
23721
23713
  return e && `${e}::${df++}` || n.uidEvent || df++;
23722
23714
  }
@@ -23724,14 +23716,14 @@ function Am(n) {
23724
23716
  const e = xm(n);
23725
23717
  return n.uidEvent = e, tl[e] = tl[e] || {}, tl[e];
23726
23718
  }
23727
- function G6(n, e) {
23719
+ function W6(n, e) {
23728
23720
  return function t(r) {
23729
23721
  return Qc(r, {
23730
23722
  delegateTarget: n
23731
23723
  }), t.oneOff && ae.off(n, r.type, e), e.apply(n, [r]);
23732
23724
  };
23733
23725
  }
23734
- function Y6(n, e, t) {
23726
+ function K6(n, e, t) {
23735
23727
  return function r(s) {
23736
23728
  const i = n.querySelectorAll(e);
23737
23729
  for (let {
@@ -23750,7 +23742,7 @@ function km(n, e, t = null) {
23750
23742
  function Om(n, e, t) {
23751
23743
  const r = typeof e == "string", s = r ? t : e || t;
23752
23744
  let i = Mm(n);
23753
- return K6.has(i) || (i = n), [r, s, i];
23745
+ return j6.has(i) || (i = n), [r, s, i];
23754
23746
  }
23755
23747
  function ff(n, e, t, r, s) {
23756
23748
  if (typeof e != "string" || !n)
@@ -23765,20 +23757,20 @@ function ff(n, e, t, r, s) {
23765
23757
  u.oneOff = u.oneOff && s;
23766
23758
  return;
23767
23759
  }
23768
- const d = xm(o, e.replace(U6, "")), f = i ? Y6(n, t, o) : G6(n, o);
23760
+ const d = xm(o, e.replace(H6, "")), f = i ? K6(n, t, o) : W6(n, o);
23769
23761
  f.delegationSelector = i ? t : null, f.callable = o, f.oneOff = s, f.uidEvent = d, c[d] = f, n.addEventListener(l, f, i);
23770
23762
  }
23771
23763
  function ec(n, e, t, r, s) {
23772
23764
  const i = km(e[t], r, s);
23773
23765
  i && (n.removeEventListener(t, i, !!s), delete e[t][i.uidEvent]);
23774
23766
  }
23775
- function J6(n, e, t, r) {
23767
+ function G6(n, e, t, r) {
23776
23768
  const s = e[t] || {};
23777
23769
  for (const [i, o] of Object.entries(s))
23778
23770
  i.includes(r) && ec(n, e, t, o.callable, o.delegationSelector);
23779
23771
  }
23780
23772
  function Mm(n) {
23781
- return n = n.replace(j6, ""), Tm[n] || n;
23773
+ return n = n.replace(z6, ""), Tm[n] || n;
23782
23774
  }
23783
23775
  const ae = {
23784
23776
  on(n, e, t, r) {
@@ -23799,9 +23791,9 @@ const ae = {
23799
23791
  }
23800
23792
  if (u)
23801
23793
  for (const d of Object.keys(a))
23802
- J6(n, a, d, e.slice(1));
23794
+ G6(n, a, d, e.slice(1));
23803
23795
  for (const [d, f] of Object.entries(c)) {
23804
- const h = d.replace(W6, "");
23796
+ const h = d.replace(U6, "");
23805
23797
  (!l || e.includes(h)) && ec(n, a, o, f.callable, f.delegationSelector);
23806
23798
  }
23807
23799
  },
@@ -23901,13 +23893,13 @@ class pi {
23901
23893
  }
23902
23894
  _typeCheckConfig(e, t = this.constructor.DefaultType) {
23903
23895
  for (const [r, s] of Object.entries(t)) {
23904
- const i = e[r], o = Rn(i) ? "element" : B6(i);
23896
+ const i = e[r], o = Rn(i) ? "element" : $6(i);
23905
23897
  if (!new RegExp(s).test(o))
23906
23898
  throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${o}" but expected type "${s}".`);
23907
23899
  }
23908
23900
  }
23909
23901
  }
23910
- const Z6 = "5.3.0";
23902
+ const Y6 = "5.3.0";
23911
23903
  class dn extends pi {
23912
23904
  constructor(e, t) {
23913
23905
  super(), e = rr(e), e && (this._element = e, this._config = this._getConfig(t), qa.set(this._element, this.constructor.DATA_KEY, this));
@@ -23932,7 +23924,7 @@ class dn extends pi {
23932
23924
  return this.getInstance(e) || new this(e, typeof t == "object" ? t : null);
23933
23925
  }
23934
23926
  static get VERSION() {
23935
- return Z6;
23927
+ return Y6;
23936
23928
  }
23937
23929
  static get DATA_KEY() {
23938
23930
  return `bs.${this.NAME}`;
@@ -24013,23 +24005,23 @@ const rl = (n) => {
24013
24005
  const i = ke.getElementFromSelector(this) || this.closest(`.${r}`);
24014
24006
  n.getOrCreateInstance(i)[e]();
24015
24007
  });
24016
- }, X6 = "alert", Q6 = "bs.alert", _m = `.${Q6}`, q6 = `close${_m}`, eS = `closed${_m}`, tS = "fade", nS = "show";
24008
+ }, J6 = "alert", Z6 = "bs.alert", _m = `.${Z6}`, X6 = `close${_m}`, Q6 = `closed${_m}`, q6 = "fade", eS = "show";
24017
24009
  class ga extends dn {
24018
24010
  // Getters
24019
24011
  static get NAME() {
24020
- return X6;
24012
+ return J6;
24021
24013
  }
24022
24014
  // Public
24023
24015
  close() {
24024
- if (ae.trigger(this._element, q6).defaultPrevented)
24016
+ if (ae.trigger(this._element, X6).defaultPrevented)
24025
24017
  return;
24026
- this._element.classList.remove(nS);
24027
- const t = this._element.classList.contains(tS);
24018
+ this._element.classList.remove(eS);
24019
+ const t = this._element.classList.contains(q6);
24028
24020
  this._queueCallback(() => this._destroyElement(), this._element, t);
24029
24021
  }
24030
24022
  // Private
24031
24023
  _destroyElement() {
24032
- this._element.remove(), ae.trigger(this._element, eS), this.dispose();
24024
+ this._element.remove(), ae.trigger(this._element, Q6), this.dispose();
24033
24025
  }
24034
24026
  // Static
24035
24027
  static jQueryInterface(e) {
@@ -24045,15 +24037,15 @@ class ga extends dn {
24045
24037
  }
24046
24038
  ma(ga, "close");
24047
24039
  nn(ga);
24048
- const rS = "button", sS = "bs.button", iS = `.${sS}`, oS = ".data-api", aS = "active", pf = '[data-bs-toggle="button"]', lS = `click${iS}${oS}`;
24040
+ const tS = "button", nS = "bs.button", rS = `.${nS}`, sS = ".data-api", iS = "active", pf = '[data-bs-toggle="button"]', oS = `click${rS}${sS}`;
24049
24041
  class va extends dn {
24050
24042
  // Getters
24051
24043
  static get NAME() {
24052
- return rS;
24044
+ return tS;
24053
24045
  }
24054
24046
  // Public
24055
24047
  toggle() {
24056
- this._element.setAttribute("aria-pressed", this._element.classList.toggle(aS));
24048
+ this._element.setAttribute("aria-pressed", this._element.classList.toggle(iS));
24057
24049
  }
24058
24050
  // Static
24059
24051
  static jQueryInterface(e) {
@@ -24063,17 +24055,17 @@ class va extends dn {
24063
24055
  });
24064
24056
  }
24065
24057
  }
24066
- ae.on(document, lS, pf, (n) => {
24058
+ ae.on(document, oS, pf, (n) => {
24067
24059
  n.preventDefault();
24068
24060
  const e = n.target.closest(pf);
24069
24061
  va.getOrCreateInstance(e).toggle();
24070
24062
  });
24071
24063
  nn(va);
24072
- const cS = "swipe", Os = ".bs.swipe", uS = `touchstart${Os}`, dS = `touchmove${Os}`, fS = `touchend${Os}`, hS = `pointerdown${Os}`, pS = `pointerup${Os}`, mS = "touch", gS = "pen", vS = "pointer-event", yS = 40, bS = {
24064
+ const aS = "swipe", Os = ".bs.swipe", lS = `touchstart${Os}`, cS = `touchmove${Os}`, uS = `touchend${Os}`, dS = `pointerdown${Os}`, fS = `pointerup${Os}`, hS = "touch", pS = "pen", mS = "pointer-event", gS = 40, vS = {
24073
24065
  endCallback: null,
24074
24066
  leftCallback: null,
24075
24067
  rightCallback: null
24076
- }, ES = {
24068
+ }, yS = {
24077
24069
  endCallback: "(function|null)",
24078
24070
  leftCallback: "(function|null)",
24079
24071
  rightCallback: "(function|null)"
@@ -24084,13 +24076,13 @@ class zo extends pi {
24084
24076
  }
24085
24077
  // Getters
24086
24078
  static get Default() {
24087
- return bS;
24079
+ return vS;
24088
24080
  }
24089
24081
  static get DefaultType() {
24090
- return ES;
24082
+ return yS;
24091
24083
  }
24092
24084
  static get NAME() {
24093
- return cS;
24085
+ return aS;
24094
24086
  }
24095
24087
  // Public
24096
24088
  dispose() {
@@ -24112,33 +24104,33 @@ class zo extends pi {
24112
24104
  }
24113
24105
  _handleSwipe() {
24114
24106
  const e = Math.abs(this._deltaX);
24115
- if (e <= yS)
24107
+ if (e <= gS)
24116
24108
  return;
24117
24109
  const t = e / this._deltaX;
24118
24110
  this._deltaX = 0, t && Nt(t > 0 ? this._config.rightCallback : this._config.leftCallback);
24119
24111
  }
24120
24112
  _initEvents() {
24121
- this._supportPointerEvents ? (ae.on(this._element, hS, (e) => this._start(e)), ae.on(this._element, pS, (e) => this._end(e)), this._element.classList.add(vS)) : (ae.on(this._element, uS, (e) => this._start(e)), ae.on(this._element, dS, (e) => this._move(e)), ae.on(this._element, fS, (e) => this._end(e)));
24113
+ this._supportPointerEvents ? (ae.on(this._element, dS, (e) => this._start(e)), ae.on(this._element, fS, (e) => this._end(e)), this._element.classList.add(mS)) : (ae.on(this._element, lS, (e) => this._start(e)), ae.on(this._element, cS, (e) => this._move(e)), ae.on(this._element, uS, (e) => this._end(e)));
24122
24114
  }
24123
24115
  _eventIsPointerPenTouch(e) {
24124
- return this._supportPointerEvents && (e.pointerType === gS || e.pointerType === mS);
24116
+ return this._supportPointerEvents && (e.pointerType === pS || e.pointerType === hS);
24125
24117
  }
24126
24118
  // Static
24127
24119
  static isSupported() {
24128
24120
  return "ontouchstart" in document.documentElement || navigator.maxTouchPoints > 0;
24129
24121
  }
24130
24122
  }
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 = {
24132
- [wS]: zi,
24133
- [TS]: Qr
24134
- }, jS = {
24123
+ const bS = "carousel", ES = "bs.carousel", dr = `.${ES}`, Im = ".data-api", SS = "ArrowLeft", CS = "ArrowRight", wS = 500, _s = "next", Ur = "prev", Qr = "left", zi = "right", TS = `slide${dr}`, sl = `slid${dr}`, xS = `keydown${dr}`, AS = `mouseenter${dr}`, kS = `mouseleave${dr}`, OS = `dragstart${dr}`, MS = `load${dr}${Im}`, _S = `click${dr}${Im}`, Dm = "carousel", _i = "active", IS = "slide", DS = "carousel-item-end", NS = "carousel-item-start", LS = "carousel-item-next", RS = "carousel-item-prev", Nm = ".active", Lm = ".carousel-item", PS = Nm + Lm, $S = ".carousel-item img", FS = ".carousel-indicators", BS = "[data-bs-slide], [data-bs-slide-to]", VS = '[data-bs-ride="carousel"]', HS = {
24124
+ [SS]: zi,
24125
+ [CS]: Qr
24126
+ }, zS = {
24135
24127
  interval: 5e3,
24136
24128
  keyboard: !0,
24137
24129
  pause: "hover",
24138
24130
  ride: !1,
24139
24131
  touch: !0,
24140
24132
  wrap: !0
24141
- }, WS = {
24133
+ }, US = {
24142
24134
  interval: "(number|boolean)",
24143
24135
  // TODO:v6 remove boolean support
24144
24136
  keyboard: "boolean",
@@ -24149,17 +24141,17 @@ const SS = "carousel", CS = "bs.carousel", ur = `.${CS}`, Im = ".data-api", wS =
24149
24141
  };
24150
24142
  class mi extends dn {
24151
24143
  constructor(e, t) {
24152
- super(e, t), this._interval = null, this._activeElement = null, this._isSliding = !1, this.touchTimeout = null, this._swipeHelper = null, this._indicatorsElement = ke.findOne(VS, this._element), this._addEventListeners(), this._config.ride === Dm && this.cycle();
24144
+ super(e, t), this._interval = null, this._activeElement = null, this._isSliding = !1, this.touchTimeout = null, this._swipeHelper = null, this._indicatorsElement = ke.findOne(FS, this._element), this._addEventListeners(), this._config.ride === Dm && this.cycle();
24153
24145
  }
24154
24146
  // Getters
24155
24147
  static get Default() {
24156
- return jS;
24148
+ return zS;
24157
24149
  }
24158
24150
  static get DefaultType() {
24159
- return WS;
24151
+ return US;
24160
24152
  }
24161
24153
  static get NAME() {
24162
- return SS;
24154
+ return bS;
24163
24155
  }
24164
24156
  // Public
24165
24157
  next() {
@@ -24208,16 +24200,16 @@ class mi extends dn {
24208
24200
  return e.defaultInterval = e.interval, e;
24209
24201
  }
24210
24202
  _addEventListeners() {
24211
- this._config.keyboard && ae.on(this._element, kS, (e) => this._keydown(e)), this._config.pause === "hover" && (ae.on(this._element, OS, () => this.pause()), ae.on(this._element, MS, () => this._maybeEnableCycle())), this._config.touch && zo.isSupported() && this._addTouchEventListeners();
24203
+ this._config.keyboard && ae.on(this._element, xS, (e) => this._keydown(e)), this._config.pause === "hover" && (ae.on(this._element, AS, () => this.pause()), ae.on(this._element, kS, () => this._maybeEnableCycle())), this._config.touch && zo.isSupported() && this._addTouchEventListeners();
24212
24204
  }
24213
24205
  _addTouchEventListeners() {
24214
- for (const r of ke.find(BS, this._element))
24215
- ae.on(r, _S, (s) => s.preventDefault());
24206
+ for (const r of ke.find($S, this._element))
24207
+ ae.on(r, OS, (s) => s.preventDefault());
24216
24208
  const t = {
24217
24209
  leftCallback: () => this._slide(this._directionToOrder(Qr)),
24218
24210
  rightCallback: () => this._slide(this._directionToOrder(zi)),
24219
24211
  endCallback: () => {
24220
- this._config.pause === "hover" && (this.pause(), this.touchTimeout && clearTimeout(this.touchTimeout), this.touchTimeout = setTimeout(() => this._maybeEnableCycle(), xS + this._config.interval));
24212
+ this._config.pause === "hover" && (this.pause(), this.touchTimeout && clearTimeout(this.touchTimeout), this.touchTimeout = setTimeout(() => this._maybeEnableCycle(), wS + this._config.interval));
24221
24213
  }
24222
24214
  };
24223
24215
  this._swipeHelper = new zo(this._element, t);
@@ -24225,7 +24217,7 @@ class mi extends dn {
24225
24217
  _keydown(e) {
24226
24218
  if (/input|textarea/i.test(e.target.tagName))
24227
24219
  return;
24228
- const t = US[e.key];
24220
+ const t = HS[e.key];
24229
24221
  t && (e.preventDefault(), this._slide(this._directionToOrder(t)));
24230
24222
  }
24231
24223
  _getItemIndex(e) {
@@ -24258,11 +24250,11 @@ class mi extends dn {
24258
24250
  from: this._getItemIndex(r),
24259
24251
  to: o
24260
24252
  });
24261
- if (l(AS).defaultPrevented || !r || !i)
24253
+ if (l(TS).defaultPrevented || !r || !i)
24262
24254
  return;
24263
24255
  const c = !!this._interval;
24264
24256
  this.pause(), this._isSliding = !0, this._setActiveIndicatorElement(o), this._activeElement = i;
24265
- const u = s ? RS : LS, d = s ? PS : $S;
24257
+ const u = s ? NS : DS, d = s ? LS : RS;
24266
24258
  i.classList.add(d), hi(i), r.classList.add(u), i.classList.add(u);
24267
24259
  const f = () => {
24268
24260
  i.classList.remove(u, d), i.classList.add(_i), r.classList.remove(_i, d, u), this._isSliding = !1, l(sl);
@@ -24270,10 +24262,10 @@ class mi extends dn {
24270
24262
  this._queueCallback(f, r, this._isAnimated()), c && this.cycle();
24271
24263
  }
24272
24264
  _isAnimated() {
24273
- return this._element.classList.contains(NS);
24265
+ return this._element.classList.contains(IS);
24274
24266
  }
24275
24267
  _getActive() {
24276
- return ke.findOne(FS, this._element);
24268
+ return ke.findOne(PS, this._element);
24277
24269
  }
24278
24270
  _getItems() {
24279
24271
  return ke.find(Lm, this._element);
@@ -24303,7 +24295,7 @@ class mi extends dn {
24303
24295
  });
24304
24296
  }
24305
24297
  }
24306
- ae.on(document, DS, HS, function(n) {
24298
+ ae.on(document, _S, BS, function(n) {
24307
24299
  const e = ke.getElementFromSelector(this);
24308
24300
  if (!e || !e.classList.contains(Dm))
24309
24301
  return;
@@ -24319,16 +24311,16 @@ ae.on(document, DS, HS, function(n) {
24319
24311
  }
24320
24312
  t.prev(), t._maybeEnableCycle();
24321
24313
  });
24322
- ae.on(window, IS, () => {
24323
- const n = ke.find(zS);
24314
+ ae.on(window, MS, () => {
24315
+ const n = ke.find(VS);
24324
24316
  for (const e of n)
24325
24317
  mi.getOrCreateInstance(e);
24326
24318
  });
24327
24319
  nn(mi);
24328
- const KS = "collapse", GS = "bs.collapse", gi = `.${GS}`, YS = ".data-api", JS = `show${gi}`, ZS = `shown${gi}`, XS = `hide${gi}`, QS = `hidden${gi}`, qS = `click${gi}${YS}`, il = "show", rs = "collapse", Ii = "collapsing", eC = "collapsed", tC = `:scope .${rs} .${rs}`, nC = "collapse-horizontal", rC = "width", sC = "height", iC = ".collapse.show, .collapse.collapsing", tc = '[data-bs-toggle="collapse"]', oC = {
24320
+ const jS = "collapse", WS = "bs.collapse", gi = `.${WS}`, KS = ".data-api", GS = `show${gi}`, YS = `shown${gi}`, JS = `hide${gi}`, ZS = `hidden${gi}`, XS = `click${gi}${KS}`, il = "show", rs = "collapse", Ii = "collapsing", QS = "collapsed", qS = `:scope .${rs} .${rs}`, eC = "collapse-horizontal", tC = "width", nC = "height", rC = ".collapse.show, .collapse.collapsing", tc = '[data-bs-toggle="collapse"]', sC = {
24329
24321
  parent: null,
24330
24322
  toggle: !0
24331
- }, aC = {
24323
+ }, iC = {
24332
24324
  parent: "(null|element)",
24333
24325
  toggle: "boolean"
24334
24326
  };
@@ -24344,13 +24336,13 @@ class oi extends dn {
24344
24336
  }
24345
24337
  // Getters
24346
24338
  static get Default() {
24347
- return oC;
24339
+ return sC;
24348
24340
  }
24349
24341
  static get DefaultType() {
24350
- return aC;
24342
+ return iC;
24351
24343
  }
24352
24344
  static get NAME() {
24353
- return KS;
24345
+ return jS;
24354
24346
  }
24355
24347
  // Public
24356
24348
  toggle() {
@@ -24360,21 +24352,21 @@ class oi extends dn {
24360
24352
  if (this._isTransitioning || this._isShown())
24361
24353
  return;
24362
24354
  let e = [];
24363
- if (this._config.parent && (e = this._getFirstLevelChildren(iC).filter((l) => l !== this._element).map((l) => oi.getOrCreateInstance(l, {
24355
+ if (this._config.parent && (e = this._getFirstLevelChildren(rC).filter((l) => l !== this._element).map((l) => oi.getOrCreateInstance(l, {
24364
24356
  toggle: !1
24365
- }))), e.length && e[0]._isTransitioning || ae.trigger(this._element, JS).defaultPrevented)
24357
+ }))), e.length && e[0]._isTransitioning || ae.trigger(this._element, GS).defaultPrevented)
24366
24358
  return;
24367
24359
  for (const l of e)
24368
24360
  l.hide();
24369
24361
  const r = this._getDimension();
24370
24362
  this._element.classList.remove(rs), this._element.classList.add(Ii), this._element.style[r] = 0, this._addAriaAndCollapsedClass(this._triggerArray, !0), this._isTransitioning = !0;
24371
24363
  const s = () => {
24372
- this._isTransitioning = !1, this._element.classList.remove(Ii), this._element.classList.add(rs, il), this._element.style[r] = "", ae.trigger(this._element, ZS);
24364
+ this._isTransitioning = !1, this._element.classList.remove(Ii), this._element.classList.add(rs, il), this._element.style[r] = "", ae.trigger(this._element, YS);
24373
24365
  }, o = `scroll${r[0].toUpperCase() + r.slice(1)}`;
24374
24366
  this._queueCallback(s, this._element, !0), this._element.style[r] = `${this._element[o]}px`;
24375
24367
  }
24376
24368
  hide() {
24377
- if (this._isTransitioning || !this._isShown() || ae.trigger(this._element, XS).defaultPrevented)
24369
+ if (this._isTransitioning || !this._isShown() || ae.trigger(this._element, JS).defaultPrevented)
24378
24370
  return;
24379
24371
  const t = this._getDimension();
24380
24372
  this._element.style[t] = `${this._element.getBoundingClientRect()[t]}px`, hi(this._element), this._element.classList.add(Ii), this._element.classList.remove(rs, il);
@@ -24384,7 +24376,7 @@ class oi extends dn {
24384
24376
  }
24385
24377
  this._isTransitioning = !0;
24386
24378
  const r = () => {
24387
- this._isTransitioning = !1, this._element.classList.remove(Ii), this._element.classList.add(rs), ae.trigger(this._element, QS);
24379
+ this._isTransitioning = !1, this._element.classList.remove(Ii), this._element.classList.add(rs), ae.trigger(this._element, ZS);
24388
24380
  };
24389
24381
  this._element.style[t] = "", this._queueCallback(r, this._element, !0);
24390
24382
  }
@@ -24396,7 +24388,7 @@ class oi extends dn {
24396
24388
  return e.toggle = !!e.toggle, e.parent = rr(e.parent), e;
24397
24389
  }
24398
24390
  _getDimension() {
24399
- return this._element.classList.contains(nC) ? rC : sC;
24391
+ return this._element.classList.contains(eC) ? tC : nC;
24400
24392
  }
24401
24393
  _initializeChildren() {
24402
24394
  if (!this._config.parent)
@@ -24408,13 +24400,13 @@ class oi extends dn {
24408
24400
  }
24409
24401
  }
24410
24402
  _getFirstLevelChildren(e) {
24411
- const t = ke.find(tC, this._config.parent);
24403
+ const t = ke.find(qS, this._config.parent);
24412
24404
  return ke.find(e, this._config.parent).filter((r) => !t.includes(r));
24413
24405
  }
24414
24406
  _addAriaAndCollapsedClass(e, t) {
24415
24407
  if (e.length)
24416
24408
  for (const r of e)
24417
- r.classList.toggle(eC, !t), r.setAttribute("aria-expanded", t);
24409
+ r.classList.toggle(QS, !t), r.setAttribute("aria-expanded", t);
24418
24410
  }
24419
24411
  // Static
24420
24412
  static jQueryInterface(e) {
@@ -24429,7 +24421,7 @@ class oi extends dn {
24429
24421
  });
24430
24422
  }
24431
24423
  }
24432
- ae.on(document, qS, tc, function(n) {
24424
+ ae.on(document, XS, tc, function(n) {
24433
24425
  (n.target.tagName === "A" || n.delegateTarget && n.delegateTarget.tagName === "A") && n.preventDefault();
24434
24426
  for (const e of ke.getMultipleElementsFromSelector(this))
24435
24427
  oi.getOrCreateInstance(e, {
@@ -24437,14 +24429,14 @@ ae.on(document, qS, tc, function(n) {
24437
24429
  }).toggle();
24438
24430
  });
24439
24431
  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 = {
24432
+ const mf = "dropdown", oC = "bs.dropdown", Rr = `.${oC}`, qc = ".data-api", aC = "Escape", gf = "Tab", lC = "ArrowUp", vf = "ArrowDown", cC = 2, uC = `hide${Rr}`, dC = `hidden${Rr}`, fC = `show${Rr}`, hC = `shown${Rr}`, Rm = `click${Rr}${qc}`, Pm = `keydown${Rr}${qc}`, pC = `keyup${Rr}${qc}`, qr = "show", mC = "dropup", gC = "dropend", vC = "dropstart", yC = "dropup-center", bC = "dropdown-center", Sr = '[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)', EC = `${Sr}.${qr}`, Ui = ".dropdown-menu", SC = ".navbar", CC = ".navbar-nav", wC = ".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)", TC = en() ? "top-end" : "top-start", xC = en() ? "top-start" : "top-end", AC = en() ? "bottom-end" : "bottom-start", kC = en() ? "bottom-start" : "bottom-end", OC = en() ? "left-start" : "right-start", MC = en() ? "right-start" : "left-start", _C = "top", IC = "bottom", DC = {
24441
24433
  autoClose: !0,
24442
24434
  boundary: "clippingParents",
24443
24435
  display: "dynamic",
24444
24436
  offset: [0, 2],
24445
24437
  popperConfig: null,
24446
24438
  reference: "toggle"
24447
- }, RC = {
24439
+ }, NC = {
24448
24440
  autoClose: "(boolean|string)",
24449
24441
  boundary: "(string|element)",
24450
24442
  display: "string",
@@ -24458,10 +24450,10 @@ class Sn extends dn {
24458
24450
  }
24459
24451
  // Getters
24460
24452
  static get Default() {
24461
- return LC;
24453
+ return DC;
24462
24454
  }
24463
24455
  static get DefaultType() {
24464
- return RC;
24456
+ return NC;
24465
24457
  }
24466
24458
  static get NAME() {
24467
24459
  return mf;
@@ -24476,11 +24468,11 @@ class Sn extends dn {
24476
24468
  const e = {
24477
24469
  relatedTarget: this._element
24478
24470
  };
24479
- if (!ae.trigger(this._element, pC, e).defaultPrevented) {
24480
- if (this._createPopper(), "ontouchstart" in document.documentElement && !this._parent.closest(TC))
24471
+ if (!ae.trigger(this._element, fC, e).defaultPrevented) {
24472
+ if (this._createPopper(), "ontouchstart" in document.documentElement && !this._parent.closest(CC))
24481
24473
  for (const r of [].concat(...document.body.children))
24482
24474
  ae.on(r, "mouseover", Ho);
24483
- this._element.focus(), this._element.setAttribute("aria-expanded", !0), this._menu.classList.add(qr), this._element.classList.add(qr), ae.trigger(this._element, mC, e);
24475
+ this._element.focus(), this._element.setAttribute("aria-expanded", !0), this._menu.classList.add(qr), this._element.classList.add(qr), ae.trigger(this._element, hC, e);
24484
24476
  }
24485
24477
  }
24486
24478
  hide() {
@@ -24499,11 +24491,11 @@ class Sn extends dn {
24499
24491
  }
24500
24492
  // Private
24501
24493
  _completeHide(e) {
24502
- if (!ae.trigger(this._element, fC, e).defaultPrevented) {
24494
+ if (!ae.trigger(this._element, uC, e).defaultPrevented) {
24503
24495
  if ("ontouchstart" in document.documentElement)
24504
24496
  for (const r of [].concat(...document.body.children))
24505
24497
  ae.off(r, "mouseover", Ho);
24506
- this._popper && this._popper.destroy(), this._menu.classList.remove(qr), this._element.classList.remove(qr), this._element.setAttribute("aria-expanded", "false"), Pn.removeDataAttribute(this._menu, "popper"), ae.trigger(this._element, hC, e);
24498
+ this._popper && this._popper.destroy(), this._menu.classList.remove(qr), this._element.classList.remove(qr), this._element.setAttribute("aria-expanded", "false"), Pn.removeDataAttribute(this._menu, "popper"), ae.trigger(this._element, dC, e);
24507
24499
  }
24508
24500
  }
24509
24501
  _getConfig(e) {
@@ -24524,19 +24516,19 @@ class Sn extends dn {
24524
24516
  }
24525
24517
  _getPlacement() {
24526
24518
  const e = this._parent;
24519
+ if (e.classList.contains(gC))
24520
+ return OC;
24521
+ if (e.classList.contains(vC))
24522
+ return MC;
24527
24523
  if (e.classList.contains(yC))
24528
24524
  return _C;
24529
24525
  if (e.classList.contains(bC))
24530
24526
  return IC;
24531
- if (e.classList.contains(EC))
24532
- return DC;
24533
- if (e.classList.contains(SC))
24534
- return NC;
24535
24527
  const t = getComputedStyle(this._menu).getPropertyValue("--bs-position").trim() === "end";
24536
- return e.classList.contains(vC) ? t ? kC : AC : t ? MC : OC;
24528
+ return e.classList.contains(mC) ? t ? xC : TC : t ? kC : AC;
24537
24529
  }
24538
24530
  _detectNavbar() {
24539
- return this._element.closest(wC) !== null;
24531
+ return this._element.closest(SC) !== null;
24540
24532
  }
24541
24533
  _getOffset() {
24542
24534
  const {
@@ -24571,7 +24563,7 @@ class Sn extends dn {
24571
24563
  key: e,
24572
24564
  target: t
24573
24565
  }) {
24574
- const r = ke.find(xC, this._menu).filter((s) => ks(s));
24566
+ const r = ke.find(wC, this._menu).filter((s) => ks(s));
24575
24567
  r.length && Xc(r, t, e === vf, !r.includes(t)).focus();
24576
24568
  }
24577
24569
  // Static
@@ -24586,9 +24578,9 @@ class Sn extends dn {
24586
24578
  });
24587
24579
  }
24588
24580
  static clearMenus(e) {
24589
- if (e.button === dC || e.type === "keyup" && e.key !== gf)
24581
+ if (e.button === cC || e.type === "keyup" && e.key !== gf)
24590
24582
  return;
24591
- const t = ke.find(CC);
24583
+ const t = ke.find(EC);
24592
24584
  for (const r of t) {
24593
24585
  const s = Sn.getInstance(r);
24594
24586
  if (!s || s._config.autoClose === !1)
@@ -24603,11 +24595,11 @@ class Sn extends dn {
24603
24595
  }
24604
24596
  }
24605
24597
  static dataApiKeydownHandler(e) {
24606
- const t = /input|textarea/i.test(e.target.tagName), r = e.key === cC, s = [uC, vf].includes(e.key);
24598
+ const t = /input|textarea/i.test(e.target.tagName), r = e.key === aC, s = [lC, vf].includes(e.key);
24607
24599
  if (!s && !r || t && !r)
24608
24600
  return;
24609
24601
  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);
24602
+ 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
24603
  if (s) {
24612
24604
  e.stopPropagation(), o.show(), o._selectMenuItem(e);
24613
24605
  return;
@@ -24615,15 +24607,15 @@ class Sn extends dn {
24615
24607
  o._isShown() && (e.stopPropagation(), o.hide(), i.focus());
24616
24608
  }
24617
24609
  }
24618
- ae.on(document, Pm, Er, Sn.dataApiKeydownHandler);
24610
+ ae.on(document, Pm, Sr, Sn.dataApiKeydownHandler);
24619
24611
  ae.on(document, Pm, Ui, Sn.dataApiKeydownHandler);
24620
24612
  ae.on(document, Rm, Sn.clearMenus);
24621
- ae.on(document, gC, Sn.clearMenus);
24622
- ae.on(document, Rm, Er, function(n) {
24613
+ ae.on(document, pC, Sn.clearMenus);
24614
+ ae.on(document, Rm, Sr, function(n) {
24623
24615
  n.preventDefault(), Sn.getOrCreateInstance(this).toggle();
24624
24616
  });
24625
24617
  nn(Sn);
24626
- const $m = "backdrop", PC = "fade", yf = "show", bf = `mousedown.bs.${$m}`, $C = {
24618
+ const $m = "backdrop", LC = "fade", yf = "show", bf = `mousedown.bs.${$m}`, RC = {
24627
24619
  className: "modal-backdrop",
24628
24620
  clickCallback: null,
24629
24621
  isAnimated: !1,
@@ -24631,7 +24623,7 @@ const $m = "backdrop", PC = "fade", yf = "show", bf = `mousedown.bs.${$m}`, $C =
24631
24623
  // if false, we use the backdrop helper without adding any element to the dom
24632
24624
  rootElement: "body"
24633
24625
  // give the choice to place backdrop under different elements
24634
- }, FC = {
24626
+ }, PC = {
24635
24627
  className: "string",
24636
24628
  clickCallback: "(function|null)",
24637
24629
  isAnimated: "boolean",
@@ -24644,10 +24636,10 @@ class Fm extends pi {
24644
24636
  }
24645
24637
  // Getters
24646
24638
  static get Default() {
24647
- return $C;
24639
+ return RC;
24648
24640
  }
24649
24641
  static get DefaultType() {
24650
- return FC;
24642
+ return PC;
24651
24643
  }
24652
24644
  static get NAME() {
24653
24645
  return $m;
@@ -24680,7 +24672,7 @@ class Fm extends pi {
24680
24672
  _getElement() {
24681
24673
  if (!this._element) {
24682
24674
  const e = document.createElement("div");
24683
- e.className = this._config.className, this._config.isAnimated && e.classList.add(PC), this._element = e;
24675
+ e.className = this._config.className, this._config.isAnimated && e.classList.add(LC), this._element = e;
24684
24676
  }
24685
24677
  return this._element;
24686
24678
  }
@@ -24699,11 +24691,11 @@ class Fm extends pi {
24699
24691
  wm(e, this._getElement(), this._config.isAnimated);
24700
24692
  }
24701
24693
  }
24702
- const BC = "focustrap", VC = "bs.focustrap", Uo = `.${VC}`, HC = `focusin${Uo}`, zC = `keydown.tab${Uo}`, UC = "Tab", jC = "forward", Ef = "backward", WC = {
24694
+ const $C = "focustrap", FC = "bs.focustrap", Uo = `.${FC}`, BC = `focusin${Uo}`, VC = `keydown.tab${Uo}`, HC = "Tab", zC = "forward", Ef = "backward", UC = {
24703
24695
  autofocus: !0,
24704
24696
  trapElement: null
24705
24697
  // The element to trap focus inside of
24706
- }, KC = {
24698
+ }, jC = {
24707
24699
  autofocus: "boolean",
24708
24700
  trapElement: "element"
24709
24701
  };
@@ -24713,17 +24705,17 @@ class Bm extends pi {
24713
24705
  }
24714
24706
  // Getters
24715
24707
  static get Default() {
24716
- return WC;
24708
+ return UC;
24717
24709
  }
24718
24710
  static get DefaultType() {
24719
- return KC;
24711
+ return jC;
24720
24712
  }
24721
24713
  static get NAME() {
24722
- return BC;
24714
+ return $C;
24723
24715
  }
24724
24716
  // Public
24725
24717
  activate() {
24726
- this._isActive || (this._config.autofocus && this._config.trapElement.focus(), ae.off(document, Uo), ae.on(document, HC, (e) => this._handleFocusin(e)), ae.on(document, zC, (e) => this._handleKeydown(e)), this._isActive = !0);
24718
+ this._isActive || (this._config.autofocus && this._config.trapElement.focus(), ae.off(document, Uo), ae.on(document, BC, (e) => this._handleFocusin(e)), ae.on(document, VC, (e) => this._handleKeydown(e)), this._isActive = !0);
24727
24719
  }
24728
24720
  deactivate() {
24729
24721
  this._isActive && (this._isActive = !1, ae.off(document, Uo));
@@ -24739,7 +24731,7 @@ class Bm extends pi {
24739
24731
  r.length === 0 ? t.focus() : this._lastTabNavDirection === Ef ? r[r.length - 1].focus() : r[0].focus();
24740
24732
  }
24741
24733
  _handleKeydown(e) {
24742
- e.key === UC && (this._lastTabNavDirection = e.shiftKey ? Ef : jC);
24734
+ e.key === HC && (this._lastTabNavDirection = e.shiftKey ? Ef : zC);
24743
24735
  }
24744
24736
  }
24745
24737
  const Sf = ".fixed-top, .fixed-bottom, .is-fixed, .sticky-top", Cf = ".sticky-top", Di = "padding-right", wf = "margin-right";
@@ -24800,28 +24792,28 @@ class nc {
24800
24792
  t(r);
24801
24793
  }
24802
24794
  }
24803
- const GC = "modal", YC = "bs.modal", tn = `.${YC}`, JC = ".data-api", ZC = "Escape", XC = `hide${tn}`, QC = `hidePrevented${tn}`, Vm = `hidden${tn}`, Hm = `show${tn}`, qC = `shown${tn}`, ew = `resize${tn}`, tw = `click.dismiss${tn}`, nw = `mousedown.dismiss${tn}`, rw = `keydown.dismiss${tn}`, sw = `click${tn}${JC}`, Tf = "modal-open", iw = "fade", xf = "show", ol = "modal-static", ow = ".modal.show", aw = ".modal-dialog", lw = ".modal-body", cw = '[data-bs-toggle="modal"]', uw = {
24795
+ const WC = "modal", KC = "bs.modal", tn = `.${KC}`, GC = ".data-api", YC = "Escape", JC = `hide${tn}`, ZC = `hidePrevented${tn}`, Vm = `hidden${tn}`, Hm = `show${tn}`, XC = `shown${tn}`, QC = `resize${tn}`, qC = `click.dismiss${tn}`, ew = `mousedown.dismiss${tn}`, tw = `keydown.dismiss${tn}`, nw = `click${tn}${GC}`, Tf = "modal-open", rw = "fade", xf = "show", ol = "modal-static", sw = ".modal.show", iw = ".modal-dialog", ow = ".modal-body", aw = '[data-bs-toggle="modal"]', lw = {
24804
24796
  backdrop: !0,
24805
24797
  focus: !0,
24806
24798
  keyboard: !0
24807
- }, dw = {
24799
+ }, cw = {
24808
24800
  backdrop: "(boolean|string)",
24809
24801
  focus: "boolean",
24810
24802
  keyboard: "boolean"
24811
24803
  };
24812
- class Nr extends dn {
24804
+ class ir extends dn {
24813
24805
  constructor(e, t) {
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();
24806
+ super(e, t), this._dialog = ke.findOne(iw, this._element), this._backdrop = this._initializeBackDrop(), this._focustrap = this._initializeFocusTrap(), this._isShown = !1, this._isTransitioning = !1, this._scrollBar = new nc(), this._addEventListeners();
24815
24807
  }
24816
24808
  // Getters
24817
24809
  static get Default() {
24818
- return uw;
24810
+ return lw;
24819
24811
  }
24820
24812
  static get DefaultType() {
24821
- return dw;
24813
+ return cw;
24822
24814
  }
24823
24815
  static get NAME() {
24824
- return GC;
24816
+ return WC;
24825
24817
  }
24826
24818
  // Public
24827
24819
  toggle(e) {
@@ -24833,7 +24825,7 @@ class Nr extends dn {
24833
24825
  }).defaultPrevented || (this._isShown = !0, this._isTransitioning = !0, this._scrollBar.hide(), document.body.classList.add(Tf), this._adjustDialog(), this._backdrop.show(() => this._showElement(e)));
24834
24826
  }
24835
24827
  hide() {
24836
- !this._isShown || this._isTransitioning || ae.trigger(this._element, XC).defaultPrevented || (this._isShown = !1, this._isTransitioning = !0, this._focustrap.deactivate(), this._element.classList.remove(xf), this._queueCallback(() => this._hideModal(), this._element, this._isAnimated()));
24828
+ !this._isShown || this._isTransitioning || ae.trigger(this._element, JC).defaultPrevented || (this._isShown = !1, this._isTransitioning = !0, this._focustrap.deactivate(), this._element.classList.remove(xf), this._queueCallback(() => this._hideModal(), this._element, this._isAnimated()));
24837
24829
  }
24838
24830
  dispose() {
24839
24831
  ae.off(window, tn), ae.off(this._dialog, tn), this._backdrop.dispose(), this._focustrap.deactivate(), super.dispose();
@@ -24856,28 +24848,28 @@ class Nr extends dn {
24856
24848
  }
24857
24849
  _showElement(e) {
24858
24850
  document.body.contains(this._element) || document.body.append(this._element), this._element.style.display = "block", this._element.removeAttribute("aria-hidden"), this._element.setAttribute("aria-modal", !0), this._element.setAttribute("role", "dialog"), this._element.scrollTop = 0;
24859
- const t = ke.findOne(lw, this._dialog);
24851
+ const t = ke.findOne(ow, this._dialog);
24860
24852
  t && (t.scrollTop = 0), hi(this._element), this._element.classList.add(xf);
24861
24853
  const r = () => {
24862
- this._config.focus && this._focustrap.activate(), this._isTransitioning = !1, ae.trigger(this._element, qC, {
24854
+ this._config.focus && this._focustrap.activate(), this._isTransitioning = !1, ae.trigger(this._element, XC, {
24863
24855
  relatedTarget: e
24864
24856
  });
24865
24857
  };
24866
24858
  this._queueCallback(r, this._dialog, this._isAnimated());
24867
24859
  }
24868
24860
  _addEventListeners() {
24869
- ae.on(this._element, rw, (e) => {
24870
- if (e.key === ZC) {
24861
+ ae.on(this._element, tw, (e) => {
24862
+ if (e.key === YC) {
24871
24863
  if (this._config.keyboard) {
24872
24864
  this.hide();
24873
24865
  return;
24874
24866
  }
24875
24867
  this._triggerBackdropTransition();
24876
24868
  }
24877
- }), ae.on(window, ew, () => {
24869
+ }), ae.on(window, QC, () => {
24878
24870
  this._isShown && !this._isTransitioning && this._adjustDialog();
24879
- }), ae.on(this._element, nw, (e) => {
24880
- ae.one(this._element, tw, (t) => {
24871
+ }), ae.on(this._element, ew, (e) => {
24872
+ ae.one(this._element, qC, (t) => {
24881
24873
  if (!(this._element !== e.target || this._element !== t.target)) {
24882
24874
  if (this._config.backdrop === "static") {
24883
24875
  this._triggerBackdropTransition();
@@ -24894,10 +24886,10 @@ class Nr extends dn {
24894
24886
  });
24895
24887
  }
24896
24888
  _isAnimated() {
24897
- return this._element.classList.contains(iw);
24889
+ return this._element.classList.contains(rw);
24898
24890
  }
24899
24891
  _triggerBackdropTransition() {
24900
- if (ae.trigger(this._element, QC).defaultPrevented)
24892
+ if (ae.trigger(this._element, ZC).defaultPrevented)
24901
24893
  return;
24902
24894
  const t = this._element.scrollHeight > document.documentElement.clientHeight, r = this._element.style.overflowY;
24903
24895
  r === "hidden" || this._element.classList.contains(ol) || (t || (this._element.style.overflowY = "hidden"), this._element.classList.add(ol), this._queueCallback(() => {
@@ -24926,7 +24918,7 @@ class Nr extends dn {
24926
24918
  // Static
24927
24919
  static jQueryInterface(e, t) {
24928
24920
  return this.each(function() {
24929
- const r = Nr.getOrCreateInstance(this, e);
24921
+ const r = ir.getOrCreateInstance(this, e);
24930
24922
  if (typeof e == "string") {
24931
24923
  if (typeof r[e] > "u")
24932
24924
  throw new TypeError(`No method named "${e}"`);
@@ -24935,60 +24927,60 @@ class Nr extends dn {
24935
24927
  });
24936
24928
  }
24937
24929
  }
24938
- ae.on(document, sw, cw, function(n) {
24930
+ ae.on(document, nw, aw, function(n) {
24939
24931
  const e = ke.getElementFromSelector(this);
24940
24932
  ["A", "AREA"].includes(this.tagName) && n.preventDefault(), ae.one(e, Hm, (s) => {
24941
24933
  s.defaultPrevented || ae.one(e, Vm, () => {
24942
24934
  ks(this) && this.focus();
24943
24935
  });
24944
24936
  });
24945
- const t = ke.findOne(ow);
24946
- t && Nr.getInstance(t).hide(), Nr.getOrCreateInstance(e).toggle(this);
24937
+ const t = ke.findOne(sw);
24938
+ t && ir.getInstance(t).hide(), ir.getOrCreateInstance(e).toggle(this);
24947
24939
  });
24948
- ma(Nr);
24949
- nn(Nr);
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 = {
24940
+ ma(ir);
24941
+ nn(ir);
24942
+ const uw = "offcanvas", dw = "bs.offcanvas", Fn = `.${dw}`, zm = ".data-api", fw = `load${Fn}${zm}`, hw = "Escape", Af = "show", kf = "showing", Of = "hiding", pw = "offcanvas-backdrop", Um = ".offcanvas.show", mw = `show${Fn}`, gw = `shown${Fn}`, vw = `hide${Fn}`, Mf = `hidePrevented${Fn}`, jm = `hidden${Fn}`, yw = `resize${Fn}`, bw = `click${Fn}${zm}`, Ew = `keydown.dismiss${Fn}`, Sw = '[data-bs-toggle="offcanvas"]', Cw = {
24951
24943
  backdrop: !0,
24952
24944
  keyboard: !0,
24953
24945
  scroll: !1
24954
- }, xw = {
24946
+ }, ww = {
24955
24947
  backdrop: "(boolean|string)",
24956
24948
  keyboard: "boolean",
24957
24949
  scroll: "boolean"
24958
24950
  };
24959
- class ir extends dn {
24951
+ class or extends dn {
24960
24952
  constructor(e, t) {
24961
24953
  super(e, t), this._isShown = !1, this._backdrop = this._initializeBackDrop(), this._focustrap = this._initializeFocusTrap(), this._addEventListeners();
24962
24954
  }
24963
24955
  // Getters
24964
24956
  static get Default() {
24965
- return Tw;
24957
+ return Cw;
24966
24958
  }
24967
24959
  static get DefaultType() {
24968
- return xw;
24960
+ return ww;
24969
24961
  }
24970
24962
  static get NAME() {
24971
- return fw;
24963
+ return uw;
24972
24964
  }
24973
24965
  // Public
24974
24966
  toggle(e) {
24975
24967
  return this._isShown ? this.hide() : this.show(e);
24976
24968
  }
24977
24969
  show(e) {
24978
- if (this._isShown || ae.trigger(this._element, vw, {
24970
+ if (this._isShown || ae.trigger(this._element, mw, {
24979
24971
  relatedTarget: e
24980
24972
  }).defaultPrevented)
24981
24973
  return;
24982
24974
  this._isShown = !0, this._backdrop.show(), this._config.scroll || new nc().hide(), this._element.setAttribute("aria-modal", !0), this._element.setAttribute("role", "dialog"), this._element.classList.add(kf);
24983
24975
  const r = () => {
24984
- (!this._config.scroll || this._config.backdrop) && this._focustrap.activate(), this._element.classList.add(Af), this._element.classList.remove(kf), ae.trigger(this._element, yw, {
24976
+ (!this._config.scroll || this._config.backdrop) && this._focustrap.activate(), this._element.classList.add(Af), this._element.classList.remove(kf), ae.trigger(this._element, gw, {
24985
24977
  relatedTarget: e
24986
24978
  });
24987
24979
  };
24988
24980
  this._queueCallback(r, this._element, !0);
24989
24981
  }
24990
24982
  hide() {
24991
- if (!this._isShown || ae.trigger(this._element, bw).defaultPrevented)
24983
+ if (!this._isShown || ae.trigger(this._element, vw).defaultPrevented)
24992
24984
  return;
24993
24985
  this._focustrap.deactivate(), this._element.blur(), this._isShown = !1, this._element.classList.add(Of), this._backdrop.hide();
24994
24986
  const t = () => {
@@ -25009,7 +25001,7 @@ class ir extends dn {
25009
25001
  this.hide();
25010
25002
  }, t = !!this._config.backdrop;
25011
25003
  return new Fm({
25012
- className: gw,
25004
+ className: pw,
25013
25005
  isVisible: t,
25014
25006
  isAnimated: !0,
25015
25007
  rootElement: this._element.parentNode,
@@ -25022,8 +25014,8 @@ class ir extends dn {
25022
25014
  });
25023
25015
  }
25024
25016
  _addEventListeners() {
25025
- ae.on(this._element, Cw, (e) => {
25026
- if (e.key === mw) {
25017
+ ae.on(this._element, Ew, (e) => {
25018
+ if (e.key === hw) {
25027
25019
  if (this._config.keyboard) {
25028
25020
  this.hide();
25029
25021
  return;
@@ -25035,7 +25027,7 @@ class ir extends dn {
25035
25027
  // Static
25036
25028
  static jQueryInterface(e) {
25037
25029
  return this.each(function() {
25038
- const t = ir.getOrCreateInstance(this, e);
25030
+ const t = or.getOrCreateInstance(this, e);
25039
25031
  if (typeof e == "string") {
25040
25032
  if (t[e] === void 0 || e.startsWith("_") || e === "constructor")
25041
25033
  throw new TypeError(`No method named "${e}"`);
@@ -25044,7 +25036,7 @@ class ir extends dn {
25044
25036
  });
25045
25037
  }
25046
25038
  }
25047
- ae.on(document, Sw, ww, function(n) {
25039
+ ae.on(document, bw, Sw, function(n) {
25048
25040
  const e = ke.getElementFromSelector(this);
25049
25041
  if (["A", "AREA"].includes(this.tagName) && n.preventDefault(), sr(this))
25050
25042
  return;
@@ -25052,21 +25044,21 @@ ae.on(document, Sw, ww, function(n) {
25052
25044
  ks(this) && this.focus();
25053
25045
  });
25054
25046
  const t = ke.findOne(Um);
25055
- t && t !== e && ir.getInstance(t).hide(), ir.getOrCreateInstance(e).toggle(this);
25047
+ t && t !== e && or.getInstance(t).hide(), or.getOrCreateInstance(e).toggle(this);
25056
25048
  });
25057
- ae.on(window, pw, () => {
25049
+ ae.on(window, fw, () => {
25058
25050
  for (const n of ke.find(Um))
25059
- ir.getOrCreateInstance(n).show();
25051
+ or.getOrCreateInstance(n).show();
25060
25052
  });
25061
- ae.on(window, Ew, () => {
25053
+ ae.on(window, yw, () => {
25062
25054
  for (const n of ke.find("[aria-modal][class*=show][class*=offcanvas-]"))
25063
- getComputedStyle(n).position !== "fixed" && ir.getOrCreateInstance(n).hide();
25055
+ getComputedStyle(n).position !== "fixed" && or.getOrCreateInstance(n).hide();
25064
25056
  });
25065
- ma(ir);
25066
- nn(ir);
25067
- const Aw = /^aria-[\w-]*$/i, Wm = {
25057
+ ma(or);
25058
+ nn(or);
25059
+ const Tw = /^aria-[\w-]*$/i, Wm = {
25068
25060
  // Global attributes allowed on any supplied element below.
25069
- "*": ["class", "dir", "id", "lang", "role", Aw],
25061
+ "*": ["class", "dir", "id", "lang", "role", Tw],
25070
25062
  a: ["target", "href", "title", "rel"],
25071
25063
  area: [],
25072
25064
  b: [],
@@ -25096,11 +25088,11 @@ const Aw = /^aria-[\w-]*$/i, Wm = {
25096
25088
  strong: [],
25097
25089
  u: [],
25098
25090
  ul: []
25099
- }, kw = /* @__PURE__ */ new Set(["background", "cite", "href", "itemtype", "longdesc", "poster", "src", "xlink:href"]), Ow = /^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i, Mw = (n, e) => {
25091
+ }, xw = /* @__PURE__ */ new Set(["background", "cite", "href", "itemtype", "longdesc", "poster", "src", "xlink:href"]), Aw = /^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i, kw = (n, e) => {
25100
25092
  const t = n.nodeName.toLowerCase();
25101
- return e.includes(t) ? kw.has(t) ? !!Ow.test(n.nodeValue) : !0 : e.filter((r) => r instanceof RegExp).some((r) => r.test(t));
25093
+ return e.includes(t) ? xw.has(t) ? !!Aw.test(n.nodeValue) : !0 : e.filter((r) => r instanceof RegExp).some((r) => r.test(t));
25102
25094
  };
25103
- function _w(n, e, t) {
25095
+ function Ow(n, e, t) {
25104
25096
  if (!n.length)
25105
25097
  return n;
25106
25098
  if (t && typeof t == "function")
@@ -25114,11 +25106,11 @@ function _w(n, e, t) {
25114
25106
  }
25115
25107
  const a = [].concat(...o.attributes), c = [].concat(e["*"] || [], e[l] || []);
25116
25108
  for (const u of a)
25117
- Mw(u, c) || o.removeAttribute(u.nodeName);
25109
+ kw(u, c) || o.removeAttribute(u.nodeName);
25118
25110
  }
25119
25111
  return s.body.innerHTML;
25120
25112
  }
25121
- const Iw = "TemplateFactory", Dw = {
25113
+ const Mw = "TemplateFactory", _w = {
25122
25114
  allowList: Wm,
25123
25115
  content: {},
25124
25116
  // { selector : text , selector2 : text2 , }
@@ -25127,7 +25119,7 @@ const Iw = "TemplateFactory", Dw = {
25127
25119
  sanitize: !0,
25128
25120
  sanitizeFn: null,
25129
25121
  template: "<div></div>"
25130
- }, Nw = {
25122
+ }, Iw = {
25131
25123
  allowList: "object",
25132
25124
  content: "object",
25133
25125
  extraClass: "(string|function)",
@@ -25135,23 +25127,23 @@ const Iw = "TemplateFactory", Dw = {
25135
25127
  sanitize: "boolean",
25136
25128
  sanitizeFn: "(null|function)",
25137
25129
  template: "string"
25138
- }, Lw = {
25130
+ }, Dw = {
25139
25131
  entry: "(string|element|function|null)",
25140
25132
  selector: "(string|element)"
25141
25133
  };
25142
- class Rw extends pi {
25134
+ class Nw extends pi {
25143
25135
  constructor(e) {
25144
25136
  super(), this._config = this._getConfig(e);
25145
25137
  }
25146
25138
  // Getters
25147
25139
  static get Default() {
25148
- return Dw;
25140
+ return _w;
25149
25141
  }
25150
25142
  static get DefaultType() {
25151
- return Nw;
25143
+ return Iw;
25152
25144
  }
25153
25145
  static get NAME() {
25154
- return Iw;
25146
+ return Mw;
25155
25147
  }
25156
25148
  // Public
25157
25149
  getContent() {
@@ -25183,7 +25175,7 @@ class Rw extends pi {
25183
25175
  super._typeCheckConfig({
25184
25176
  selector: t,
25185
25177
  entry: r
25186
- }, Lw);
25178
+ }, Dw);
25187
25179
  }
25188
25180
  _setContent(e, t, r) {
25189
25181
  const s = ke.findOne(r, e);
@@ -25204,7 +25196,7 @@ class Rw extends pi {
25204
25196
  }
25205
25197
  }
25206
25198
  _maybeSanitize(e) {
25207
- return this._config.sanitize ? _w(e, this._config.allowList, this._config.sanitizeFn) : e;
25199
+ return this._config.sanitize ? Ow(e, this._config.allowList, this._config.sanitizeFn) : e;
25208
25200
  }
25209
25201
  _resolvePossibleFunction(e) {
25210
25202
  return Nt(e, [this]);
@@ -25217,13 +25209,13 @@ class Rw extends pi {
25217
25209
  t.textContent = e.textContent;
25218
25210
  }
25219
25211
  }
25220
- const Pw = "tooltip", $w = /* @__PURE__ */ new Set(["sanitize", "allowList", "sanitizeFn"]), al = "fade", Fw = "modal", Ni = "show", Bw = ".tooltip-inner", _f = `.${Fw}`, If = "hide.bs.modal", Is = "hover", ll = "focus", Vw = "click", Hw = "manual", zw = "hide", Uw = "hidden", jw = "show", Ww = "shown", Kw = "inserted", Gw = "click", Yw = "focusin", Jw = "focusout", Zw = "mouseenter", Xw = "mouseleave", Qw = {
25212
+ const Lw = "tooltip", Rw = /* @__PURE__ */ new Set(["sanitize", "allowList", "sanitizeFn"]), al = "fade", Pw = "modal", Ni = "show", $w = ".tooltip-inner", _f = `.${Pw}`, If = "hide.bs.modal", Is = "hover", ll = "focus", Fw = "click", Bw = "manual", Vw = "hide", Hw = "hidden", zw = "show", Uw = "shown", jw = "inserted", Ww = "click", Kw = "focusin", Gw = "focusout", Yw = "mouseenter", Jw = "mouseleave", Zw = {
25221
25213
  AUTO: "auto",
25222
25214
  TOP: "top",
25223
25215
  RIGHT: en() ? "left" : "right",
25224
25216
  BOTTOM: "bottom",
25225
25217
  LEFT: en() ? "right" : "left"
25226
- }, qw = {
25218
+ }, Xw = {
25227
25219
  allowList: Wm,
25228
25220
  animation: !0,
25229
25221
  boundary: "clippingParents",
@@ -25241,7 +25233,7 @@ const Pw = "tooltip", $w = /* @__PURE__ */ new Set(["sanitize", "allowList", "sa
25241
25233
  template: '<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',
25242
25234
  title: "",
25243
25235
  trigger: "hover focus"
25244
- }, eT = {
25236
+ }, Qw = {
25245
25237
  allowList: "object",
25246
25238
  animation: "boolean",
25247
25239
  boundary: "(string|element)",
@@ -25268,13 +25260,13 @@ class Pr extends dn {
25268
25260
  }
25269
25261
  // Getters
25270
25262
  static get Default() {
25271
- return qw;
25263
+ return Xw;
25272
25264
  }
25273
25265
  static get DefaultType() {
25274
- return eT;
25266
+ return Qw;
25275
25267
  }
25276
25268
  static get NAME() {
25277
- return Pw;
25269
+ return Lw;
25278
25270
  }
25279
25271
  // Public
25280
25272
  enable() {
@@ -25303,7 +25295,7 @@ class Pr extends dn {
25303
25295
  throw new Error("Please use show on visible elements");
25304
25296
  if (!(this._isWithContent() && this._isEnabled))
25305
25297
  return;
25306
- const e = ae.trigger(this._element, this.constructor.eventName(jw)), r = (Sm(this._element) || this._element.ownerDocument.documentElement).contains(this._element);
25298
+ const e = ae.trigger(this._element, this.constructor.eventName(zw)), r = (Sm(this._element) || this._element.ownerDocument.documentElement).contains(this._element);
25307
25299
  if (e.defaultPrevented || !r)
25308
25300
  return;
25309
25301
  this._disposePopper();
@@ -25312,23 +25304,23 @@ class Pr extends dn {
25312
25304
  const {
25313
25305
  container: i
25314
25306
  } = this._config;
25315
- if (this._element.ownerDocument.documentElement.contains(this.tip) || (i.append(s), ae.trigger(this._element, this.constructor.eventName(Kw))), this._popper = this._createPopper(s), s.classList.add(Ni), "ontouchstart" in document.documentElement)
25307
+ if (this._element.ownerDocument.documentElement.contains(this.tip) || (i.append(s), ae.trigger(this._element, this.constructor.eventName(jw))), this._popper = this._createPopper(s), s.classList.add(Ni), "ontouchstart" in document.documentElement)
25316
25308
  for (const l of [].concat(...document.body.children))
25317
25309
  ae.on(l, "mouseover", Ho);
25318
25310
  const o = () => {
25319
- ae.trigger(this._element, this.constructor.eventName(Ww)), this._isHovered === !1 && this._leave(), this._isHovered = !1;
25311
+ ae.trigger(this._element, this.constructor.eventName(Uw)), this._isHovered === !1 && this._leave(), this._isHovered = !1;
25320
25312
  };
25321
25313
  this._queueCallback(o, this.tip, this._isAnimated());
25322
25314
  }
25323
25315
  hide() {
25324
- if (!this._isShown() || ae.trigger(this._element, this.constructor.eventName(zw)).defaultPrevented)
25316
+ if (!this._isShown() || ae.trigger(this._element, this.constructor.eventName(Vw)).defaultPrevented)
25325
25317
  return;
25326
25318
  if (this._getTipElement().classList.remove(Ni), "ontouchstart" in document.documentElement)
25327
25319
  for (const s of [].concat(...document.body.children))
25328
25320
  ae.off(s, "mouseover", Ho);
25329
- this._activeTrigger[Vw] = !1, this._activeTrigger[ll] = !1, this._activeTrigger[Is] = !1, this._isHovered = null;
25321
+ this._activeTrigger[Fw] = !1, this._activeTrigger[ll] = !1, this._activeTrigger[Is] = !1, this._isHovered = null;
25330
25322
  const r = () => {
25331
- this._isWithActiveTrigger() || (this._isHovered || this._disposePopper(), this._element.removeAttribute("aria-describedby"), ae.trigger(this._element, this.constructor.eventName(Uw)));
25323
+ this._isWithActiveTrigger() || (this._isHovered || this._disposePopper(), this._element.removeAttribute("aria-describedby"), ae.trigger(this._element, this.constructor.eventName(Hw)));
25332
25324
  };
25333
25325
  this._queueCallback(r, this.tip, this._isAnimated());
25334
25326
  }
@@ -25347,14 +25339,14 @@ class Pr extends dn {
25347
25339
  if (!t)
25348
25340
  return null;
25349
25341
  t.classList.remove(al, Ni), t.classList.add(`bs-${this.constructor.NAME}-auto`);
25350
- const r = V6(this.constructor.NAME).toString();
25342
+ const r = F6(this.constructor.NAME).toString();
25351
25343
  return t.setAttribute("id", r), this._isAnimated() && t.classList.add(al), t;
25352
25344
  }
25353
25345
  setContent(e) {
25354
25346
  this._newContent = e, this._isShown() && (this._disposePopper(), this.show());
25355
25347
  }
25356
25348
  _getTemplateFactory(e) {
25357
- return this._templateFactory ? this._templateFactory.changeContent(e) : this._templateFactory = new Rw({
25349
+ return this._templateFactory ? this._templateFactory.changeContent(e) : this._templateFactory = new Nw({
25358
25350
  ...this._config,
25359
25351
  // the `content` var has to be after `this._config`
25360
25352
  // to override config.content in case of popover
@@ -25364,7 +25356,7 @@ class Pr extends dn {
25364
25356
  }
25365
25357
  _getContentForTemplate() {
25366
25358
  return {
25367
- [Bw]: this._getTitle()
25359
+ [$w]: this._getTitle()
25368
25360
  };
25369
25361
  }
25370
25362
  _getTitle() {
@@ -25381,7 +25373,7 @@ class Pr extends dn {
25381
25373
  return this.tip && this.tip.classList.contains(Ni);
25382
25374
  }
25383
25375
  _createPopper(e) {
25384
- const t = Nt(this._config.placement, [this, e, this._element]), r = Qw[t.toUpperCase()];
25376
+ const t = Nt(this._config.placement, [this, e, this._element]), r = Zw[t.toUpperCase()];
25385
25377
  return ha(this._element, e, this._getPopperConfig(r));
25386
25378
  }
25387
25379
  _getOffset() {
@@ -25434,11 +25426,11 @@ class Pr extends dn {
25434
25426
  const e = this._config.trigger.split(" ");
25435
25427
  for (const t of e)
25436
25428
  if (t === "click")
25437
- ae.on(this._element, this.constructor.eventName(Gw), this._config.selector, (r) => {
25429
+ ae.on(this._element, this.constructor.eventName(Ww), this._config.selector, (r) => {
25438
25430
  this._initializeOnDelegatedTarget(r).toggle();
25439
25431
  });
25440
- else if (t !== Hw) {
25441
- const r = t === Is ? this.constructor.eventName(Zw) : this.constructor.eventName(Yw), s = t === Is ? this.constructor.eventName(Xw) : this.constructor.eventName(Jw);
25432
+ else if (t !== Bw) {
25433
+ const r = t === Is ? this.constructor.eventName(Yw) : this.constructor.eventName(Kw), s = t === Is ? this.constructor.eventName(Jw) : this.constructor.eventName(Gw);
25442
25434
  ae.on(this._element, r, this._config.selector, (i) => {
25443
25435
  const o = this._initializeOnDelegatedTarget(i);
25444
25436
  o._activeTrigger[i.type === "focusin" ? ll : Is] = !0, o._enter();
@@ -25478,7 +25470,7 @@ class Pr extends dn {
25478
25470
  _getConfig(e) {
25479
25471
  const t = Pn.getDataAttributes(this._element);
25480
25472
  for (const r of Object.keys(t))
25481
- $w.has(r) && delete t[r];
25473
+ Rw.has(r) && delete t[r];
25482
25474
  return e = {
25483
25475
  ...t,
25484
25476
  ...typeof e == "object" && e ? e : {}
@@ -25512,27 +25504,27 @@ class Pr extends dn {
25512
25504
  }
25513
25505
  }
25514
25506
  nn(Pr);
25515
- const tT = "popover", nT = ".popover-header", rT = ".popover-body", sT = {
25507
+ const qw = "popover", eT = ".popover-header", tT = ".popover-body", nT = {
25516
25508
  ...Pr.Default,
25517
25509
  content: "",
25518
25510
  offset: [0, 8],
25519
25511
  placement: "right",
25520
25512
  template: '<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',
25521
25513
  trigger: "click"
25522
- }, iT = {
25514
+ }, rT = {
25523
25515
  ...Pr.DefaultType,
25524
25516
  content: "(null|string|element|function)"
25525
25517
  };
25526
25518
  class eu extends Pr {
25527
25519
  // Getters
25528
25520
  static get Default() {
25529
- return sT;
25521
+ return nT;
25530
25522
  }
25531
25523
  static get DefaultType() {
25532
- return iT;
25524
+ return rT;
25533
25525
  }
25534
25526
  static get NAME() {
25535
- return tT;
25527
+ return qw;
25536
25528
  }
25537
25529
  // Overrides
25538
25530
  _isWithContent() {
@@ -25541,8 +25533,8 @@ class eu extends Pr {
25541
25533
  // Private
25542
25534
  _getContentForTemplate() {
25543
25535
  return {
25544
- [nT]: this._getTitle(),
25545
- [rT]: this._getContent()
25536
+ [eT]: this._getTitle(),
25537
+ [tT]: this._getContent()
25546
25538
  };
25547
25539
  }
25548
25540
  _getContent() {
@@ -25561,14 +25553,14 @@ class eu extends Pr {
25561
25553
  }
25562
25554
  }
25563
25555
  nn(eu);
25564
- const oT = "scrollspy", aT = "bs.scrollspy", tu = `.${aT}`, lT = ".data-api", cT = `activate${tu}`, Df = `click${tu}`, uT = `load${tu}${lT}`, dT = "dropdown-item", jr = "active", fT = '[data-bs-spy="scroll"]', cl = "[href]", hT = ".nav, .list-group", Nf = ".nav-link", pT = ".nav-item", mT = ".list-group-item", gT = `${Nf}, ${pT} > ${Nf}, ${mT}`, vT = ".dropdown", yT = ".dropdown-toggle", bT = {
25556
+ const sT = "scrollspy", iT = "bs.scrollspy", tu = `.${iT}`, oT = ".data-api", aT = `activate${tu}`, Df = `click${tu}`, lT = `load${tu}${oT}`, cT = "dropdown-item", jr = "active", uT = '[data-bs-spy="scroll"]', cl = "[href]", dT = ".nav, .list-group", Nf = ".nav-link", fT = ".nav-item", hT = ".list-group-item", pT = `${Nf}, ${fT} > ${Nf}, ${hT}`, mT = ".dropdown", gT = ".dropdown-toggle", vT = {
25565
25557
  offset: null,
25566
25558
  // TODO: v6 @deprecated, keep it for backwards compatibility reasons
25567
25559
  rootMargin: "0px 0px -25%",
25568
25560
  smoothScroll: !1,
25569
25561
  target: null,
25570
25562
  threshold: [0.1, 0.5, 1]
25571
- }, ET = {
25563
+ }, yT = {
25572
25564
  offset: "(number|null)",
25573
25565
  // TODO v6 @deprecated, keep it for backwards compatibility reasons
25574
25566
  rootMargin: "string",
@@ -25585,13 +25577,13 @@ class ya extends dn {
25585
25577
  }
25586
25578
  // Getters
25587
25579
  static get Default() {
25588
- return bT;
25580
+ return vT;
25589
25581
  }
25590
25582
  static get DefaultType() {
25591
- return ET;
25583
+ return yT;
25592
25584
  }
25593
25585
  static get NAME() {
25594
- return oT;
25586
+ return sT;
25595
25587
  }
25596
25588
  // Public
25597
25589
  refresh() {
@@ -25662,17 +25654,17 @@ class ya extends dn {
25662
25654
  }
25663
25655
  }
25664
25656
  _process(e) {
25665
- this._activeTarget !== e && (this._clearActiveClass(this._config.target), this._activeTarget = e, e.classList.add(jr), this._activateParents(e), ae.trigger(this._element, cT, {
25657
+ this._activeTarget !== e && (this._clearActiveClass(this._config.target), this._activeTarget = e, e.classList.add(jr), this._activateParents(e), ae.trigger(this._element, aT, {
25666
25658
  relatedTarget: e
25667
25659
  }));
25668
25660
  }
25669
25661
  _activateParents(e) {
25670
- if (e.classList.contains(dT)) {
25671
- ke.findOne(yT, e.closest(vT)).classList.add(jr);
25662
+ if (e.classList.contains(cT)) {
25663
+ ke.findOne(gT, e.closest(mT)).classList.add(jr);
25672
25664
  return;
25673
25665
  }
25674
- for (const t of ke.parents(e, hT))
25675
- for (const r of ke.prev(t, gT))
25666
+ for (const t of ke.parents(e, dT))
25667
+ for (const r of ke.prev(t, pT))
25676
25668
  r.classList.add(jr);
25677
25669
  }
25678
25670
  _clearActiveClass(e) {
@@ -25693,29 +25685,29 @@ class ya extends dn {
25693
25685
  });
25694
25686
  }
25695
25687
  }
25696
- ae.on(window, uT, () => {
25697
- for (const n of ke.find(fT))
25688
+ ae.on(window, lT, () => {
25689
+ for (const n of ke.find(uT))
25698
25690
  ya.getOrCreateInstance(n);
25699
25691
  });
25700
25692
  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"]`;
25693
+ const bT = "tab", ET = "bs.tab", $r = `.${ET}`, ST = `hide${$r}`, CT = `hidden${$r}`, wT = `show${$r}`, TT = `shown${$r}`, xT = `click${$r}`, AT = `keydown${$r}`, kT = `load${$r}`, OT = "ArrowLeft", Lf = "ArrowRight", MT = "ArrowUp", Rf = "ArrowDown", Cr = "active", Pf = "fade", ul = "show", _T = "dropdown", IT = ".dropdown-toggle", DT = ".dropdown-menu", dl = ":not(.dropdown-toggle)", NT = '.list-group, .nav, [role="tablist"]', LT = ".nav-item, .list-group-item", RT = `.nav-link${dl}, .list-group-item${dl}, [role="tab"]${dl}`, Km = '[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]', fl = `${RT}, ${Km}`, PT = `.${Cr}[data-bs-toggle="tab"], .${Cr}[data-bs-toggle="pill"], .${Cr}[data-bs-toggle="list"]`;
25702
25694
  class Cs extends dn {
25703
25695
  constructor(e) {
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)));
25696
+ super(e), this._parent = this._element.closest(NT), this._parent && (this._setInitialAttributes(this._parent, this._getChildren()), ae.on(this._element, AT, (t) => this._keydown(t)));
25705
25697
  }
25706
25698
  // Getters
25707
25699
  static get NAME() {
25708
- return ST;
25700
+ return bT;
25709
25701
  }
25710
25702
  // Public
25711
25703
  show() {
25712
25704
  const e = this._element;
25713
25705
  if (this._elemIsActive(e))
25714
25706
  return;
25715
- const t = this._getActiveElem(), r = t ? ae.trigger(t, wT, {
25707
+ const t = this._getActiveElem(), r = t ? ae.trigger(t, ST, {
25716
25708
  relatedTarget: e
25717
25709
  }) : null;
25718
- ae.trigger(e, xT, {
25710
+ ae.trigger(e, wT, {
25719
25711
  relatedTarget: t
25720
25712
  }).defaultPrevented || r && r.defaultPrevented || (this._deactivate(t, e), this._activate(e, t));
25721
25713
  }
@@ -25723,13 +25715,13 @@ class Cs extends dn {
25723
25715
  _activate(e, t) {
25724
25716
  if (!e)
25725
25717
  return;
25726
- e.classList.add(Sr), this._activate(ke.getElementFromSelector(e));
25718
+ e.classList.add(Cr), this._activate(ke.getElementFromSelector(e));
25727
25719
  const r = () => {
25728
25720
  if (e.getAttribute("role") !== "tab") {
25729
25721
  e.classList.add(ul);
25730
25722
  return;
25731
25723
  }
25732
- e.removeAttribute("tabindex"), e.setAttribute("aria-selected", !0), this._toggleDropDown(e, !0), ae.trigger(e, AT, {
25724
+ e.removeAttribute("tabindex"), e.setAttribute("aria-selected", !0), this._toggleDropDown(e, !0), ae.trigger(e, TT, {
25733
25725
  relatedTarget: t
25734
25726
  });
25735
25727
  };
@@ -25738,20 +25730,20 @@ class Cs extends dn {
25738
25730
  _deactivate(e, t) {
25739
25731
  if (!e)
25740
25732
  return;
25741
- e.classList.remove(Sr), e.blur(), this._deactivate(ke.getElementFromSelector(e));
25733
+ e.classList.remove(Cr), e.blur(), this._deactivate(ke.getElementFromSelector(e));
25742
25734
  const r = () => {
25743
25735
  if (e.getAttribute("role") !== "tab") {
25744
25736
  e.classList.remove(ul);
25745
25737
  return;
25746
25738
  }
25747
- e.setAttribute("aria-selected", !1), e.setAttribute("tabindex", "-1"), this._toggleDropDown(e, !1), ae.trigger(e, TT, {
25739
+ e.setAttribute("aria-selected", !1), e.setAttribute("tabindex", "-1"), this._toggleDropDown(e, !1), ae.trigger(e, CT, {
25748
25740
  relatedTarget: t
25749
25741
  });
25750
25742
  };
25751
25743
  this._queueCallback(r, e, e.classList.contains(Pf));
25752
25744
  }
25753
25745
  _keydown(e) {
25754
- if (![_T, Lf, IT, Rf].includes(e.key))
25746
+ if (![OT, Lf, MT, Rf].includes(e.key))
25755
25747
  return;
25756
25748
  e.stopPropagation(), e.preventDefault();
25757
25749
  const t = [Lf, Rf].includes(e.key), r = Xc(this._getChildren().filter((s) => !sr(s)), e.target, t, !0);
@@ -25781,19 +25773,19 @@ class Cs extends dn {
25781
25773
  }
25782
25774
  _toggleDropDown(e, t) {
25783
25775
  const r = this._getOuterElement(e);
25784
- if (!r.classList.contains(DT))
25776
+ if (!r.classList.contains(_T))
25785
25777
  return;
25786
25778
  const s = (i, o) => {
25787
25779
  const l = ke.findOne(i, r);
25788
25780
  l && l.classList.toggle(o, t);
25789
25781
  };
25790
- s(NT, Sr), s(LT, ul), r.setAttribute("aria-expanded", t);
25782
+ s(IT, Cr), s(DT, ul), r.setAttribute("aria-expanded", t);
25791
25783
  }
25792
25784
  _setAttributeIfNotExists(e, t, r) {
25793
25785
  e.hasAttribute(t) || e.setAttribute(t, r);
25794
25786
  }
25795
25787
  _elemIsActive(e) {
25796
- return e.classList.contains(Sr);
25788
+ return e.classList.contains(Cr);
25797
25789
  }
25798
25790
  // Try to get the inner element (usually the .nav-link)
25799
25791
  _getInnerElement(e) {
@@ -25801,7 +25793,7 @@ class Cs extends dn {
25801
25793
  }
25802
25794
  // Try to get the outer element (usually the .nav-item)
25803
25795
  _getOuterElement(e) {
25804
- return e.closest(PT) || e;
25796
+ return e.closest(LT) || e;
25805
25797
  }
25806
25798
  // Static
25807
25799
  static jQueryInterface(e) {
@@ -25815,19 +25807,19 @@ class Cs extends dn {
25815
25807
  });
25816
25808
  }
25817
25809
  }
25818
- ae.on(document, kT, Km, function(n) {
25810
+ ae.on(document, xT, Km, function(n) {
25819
25811
  ["A", "AREA"].includes(this.tagName) && n.preventDefault(), !sr(this) && Cs.getOrCreateInstance(this).show();
25820
25812
  });
25821
- ae.on(window, MT, () => {
25822
- for (const n of ke.find(FT))
25813
+ ae.on(window, kT, () => {
25814
+ for (const n of ke.find(PT))
25823
25815
  Cs.getOrCreateInstance(n);
25824
25816
  });
25825
25817
  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 = {
25818
+ const $T = "toast", FT = "bs.toast", fr = `.${FT}`, BT = `mouseover${fr}`, VT = `mouseout${fr}`, HT = `focusin${fr}`, zT = `focusout${fr}`, UT = `hide${fr}`, jT = `hidden${fr}`, WT = `show${fr}`, KT = `shown${fr}`, GT = "fade", $f = "hide", Li = "show", Ri = "showing", YT = {
25827
25819
  animation: "boolean",
25828
25820
  autohide: "boolean",
25829
25821
  delay: "number"
25830
- }, XT = {
25822
+ }, JT = {
25831
25823
  animation: !0,
25832
25824
  autohide: !0,
25833
25825
  delay: 5e3
@@ -25838,29 +25830,29 @@ class vi extends dn {
25838
25830
  }
25839
25831
  // Getters
25840
25832
  static get Default() {
25841
- return XT;
25833
+ return JT;
25842
25834
  }
25843
25835
  static get DefaultType() {
25844
- return ZT;
25836
+ return YT;
25845
25837
  }
25846
25838
  static get NAME() {
25847
- return BT;
25839
+ return $T;
25848
25840
  }
25849
25841
  // Public
25850
25842
  show() {
25851
- if (ae.trigger(this._element, GT).defaultPrevented)
25843
+ if (ae.trigger(this._element, WT).defaultPrevented)
25852
25844
  return;
25853
- this._clearTimeout(), this._config.animation && this._element.classList.add(JT);
25845
+ this._clearTimeout(), this._config.animation && this._element.classList.add(GT);
25854
25846
  const t = () => {
25855
- this._element.classList.remove(Ri), ae.trigger(this._element, YT), this._maybeScheduleHide();
25847
+ this._element.classList.remove(Ri), ae.trigger(this._element, KT), this._maybeScheduleHide();
25856
25848
  };
25857
25849
  this._element.classList.remove($f), hi(this._element), this._element.classList.add(Li, Ri), this._queueCallback(t, this._element, this._config.animation);
25858
25850
  }
25859
25851
  hide() {
25860
- if (!this.isShown() || ae.trigger(this._element, WT).defaultPrevented)
25852
+ if (!this.isShown() || ae.trigger(this._element, UT).defaultPrevented)
25861
25853
  return;
25862
25854
  const t = () => {
25863
- this._element.classList.add($f), this._element.classList.remove(Ri, Li), ae.trigger(this._element, KT);
25855
+ this._element.classList.add($f), this._element.classList.remove(Ri, Li), ae.trigger(this._element, jT);
25864
25856
  };
25865
25857
  this._element.classList.add(Ri), this._queueCallback(t, this._element, this._config.animation);
25866
25858
  }
@@ -25897,7 +25889,7 @@ class vi extends dn {
25897
25889
  this._element === r || this._element.contains(r) || this._maybeScheduleHide();
25898
25890
  }
25899
25891
  _setListeners() {
25900
- ae.on(this._element, HT, (e) => this._onInteraction(e, !0)), ae.on(this._element, zT, (e) => this._onInteraction(e, !1)), ae.on(this._element, UT, (e) => this._onInteraction(e, !0)), ae.on(this._element, jT, (e) => this._onInteraction(e, !1));
25892
+ ae.on(this._element, BT, (e) => this._onInteraction(e, !0)), ae.on(this._element, VT, (e) => this._onInteraction(e, !1)), ae.on(this._element, HT, (e) => this._onInteraction(e, !0)), ae.on(this._element, zT, (e) => this._onInteraction(e, !1));
25901
25893
  }
25902
25894
  _clearTimeout() {
25903
25895
  clearTimeout(this._timeout), this._timeout = null;
@@ -25916,16 +25908,24 @@ class vi extends dn {
25916
25908
  }
25917
25909
  ma(vi);
25918
25910
  nn(vi);
25919
- const lx = (n) => {
25911
+ const ox = (n) => {
25920
25912
  const e = at(null);
25921
25913
  return { showModal: () => {
25922
25914
  const s = document.getElementById(n);
25923
- s instanceof HTMLElement ? (e.value = Nr.getOrCreateInstance(s), e.value.show()) : console.error(`Modal '${n}' niet gevonden.`);
25915
+ s instanceof HTMLElement ? (e.value = ir.getOrCreateInstance(s), e.value.show()) : console.error(`Modal '${n}' niet gevonden.`);
25924
25916
  }, closeModal: () => {
25925
- e.value && e.value.hide();
25917
+ if (e.value) {
25918
+ e.value.hide();
25919
+ return;
25920
+ }
25921
+ const s = document.getElementById(n);
25922
+ if (s instanceof HTMLElement) {
25923
+ const i = ir.getInstance(s);
25924
+ i && i.hide();
25925
+ }
25926
25926
  } };
25927
25927
  };
25928
- function QT(n = void 0) {
25928
+ function ZT(n = void 0) {
25929
25929
  const e = (l) => i("Succesvol", l, es.SUCCESS), t = (l) => i("Waarschuwing", l, es.WARNING), r = (l) => i("Informatie", l, es.INFO), s = (l) => i("Mislukt", l, es.DANGER);
25930
25930
  function i(l, a, c) {
25931
25931
  const u = `toast-${nh()}`, d = {
@@ -25965,8 +25965,8 @@ function QT(n = void 0) {
25965
25965
  }
25966
25966
  return { showSuccessToast: e, showInformationToast: r, showWarningToast: t, showDangerToast: s };
25967
25967
  }
25968
- const qT = (n) => Array.isArray(n) && n.length > 0, { showDangerToast: ex } = QT();
25969
- function cx(n) {
25968
+ const XT = (n) => Array.isArray(n) && n.length > 0, { showDangerToast: QT } = ZT();
25969
+ function ax(n) {
25970
25970
  const e = at(null), t = (a, c = "serverErrors") => {
25971
25971
  var d;
25972
25972
  let u = [];
@@ -25984,10 +25984,10 @@ function cx(n) {
25984
25984
  const u = new URL(a.request.responseURL).pathname;
25985
25985
  if (u in n.error) {
25986
25986
  const d = n.error[u];
25987
- d && ex(d);
25987
+ d && QT(d);
25988
25988
  }
25989
25989
  }, s = at(null), i = at(""), o = (a) => {
25990
- qT(a.value) ? s.value = a.value.map((c) => Mi(c) ? c : c.ErrorMessage) : Mi(a.value) && (i.value = a.value);
25990
+ XT(a.value) ? s.value = a.value.map((c) => Mi(c) ? c : c.ErrorMessage) : Mi(a.value) && (i.value = a.value);
25991
25991
  };
25992
25992
  function l() {
25993
25993
  e.value = null, s.value = null, i.value = Ql;
@@ -26001,7 +26001,7 @@ function cx(n) {
26001
26001
  ResetServerErrors: l
26002
26002
  };
26003
26003
  }
26004
- const ux = () => ({ ResetValidation: (t) => {
26004
+ const lx = () => ({ ResetValidation: (t) => {
26005
26005
  for (const r in t.value)
26006
26006
  t.value[r].state = null;
26007
26007
  }, ValidationObjectIsValid: (t) => {
@@ -26009,7 +26009,7 @@ const ux = () => ({ ResetValidation: (t) => {
26009
26009
  if (t[r].state === !1)
26010
26010
  return !1;
26011
26011
  return !0;
26012
- } }), tx = {
26012
+ } }), qT = {
26013
26013
  mounted: (n) => {
26014
26014
  new Pr(n);
26015
26015
  }
@@ -26306,7 +26306,7 @@ var Gm = { exports: {} };
26306
26306
  })(Gm);
26307
26307
  var Ym = Gm.exports;
26308
26308
  const jo = /* @__PURE__ */ cc(Ym);
26309
- var nx = { exports: {} };
26309
+ var ex = { exports: {} };
26310
26310
  (function(n, e) {
26311
26311
  (function(t, r) {
26312
26312
  n.exports = r(Ym);
@@ -26319,7 +26319,7 @@ var nx = { exports: {} };
26319
26319
  }, weekStart: 1, yearStart: 4, formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD-MM-YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd D MMMM YYYY HH:mm" }, relativeTime: { future: "over %s", past: "%s geleden", s: "een paar seconden", m: "een minuut", mm: "%d minuten", h: "een uur", hh: "%d uur", d: "een dag", dd: "%d dagen", M: "een maand", MM: "%d maanden", y: "een jaar", yy: "%d jaar" } };
26320
26320
  return s.default.locale(i, null, !0), i;
26321
26321
  });
26322
- })(nx);
26322
+ })(ex);
26323
26323
  var Jm = { exports: {} };
26324
26324
  (function(n, e) {
26325
26325
  (function(t, r) {
@@ -26452,11 +26452,11 @@ var Jm = { exports: {} };
26452
26452
  };
26453
26453
  });
26454
26454
  })(Jm);
26455
- var rx = Jm.exports;
26456
- const sx = /* @__PURE__ */ cc(rx);
26457
- jo.extend(sx);
26455
+ var tx = Jm.exports;
26456
+ const nx = /* @__PURE__ */ cc(tx);
26457
+ jo.extend(nx);
26458
26458
  jo.locale("nl");
26459
- function dx(n, e = jo().startOf("day")) {
26459
+ function cx(n, e = jo().startOf("day")) {
26460
26460
  const t = "DD-MM-YYYY", r = jo(n, t);
26461
26461
  if (r.isSame(e))
26462
26462
  return "vandaag";
@@ -26477,7 +26477,7 @@ function dx(n, e = jo().startOf("day")) {
26477
26477
  }
26478
26478
  return r.format(t);
26479
26479
  }
26480
- const ix = {
26480
+ const rx = {
26481
26481
  PRIMARY: "primary",
26482
26482
  SECONDARY: "secondary",
26483
26483
  COLLEAGUE: "colleague",
@@ -26493,7 +26493,7 @@ const ix = {
26493
26493
  __name: "BDButton",
26494
26494
  props: {
26495
26495
  size: { default: wt.MD },
26496
- variant: { default: ix.PRIMARY },
26496
+ variant: { default: rx.PRIMARY },
26497
26497
  blockElement: { type: Boolean, default: !1 },
26498
26498
  disabled: { type: Boolean, default: !1 },
26499
26499
  to: {},
@@ -26527,9 +26527,9 @@ const ix = {
26527
26527
  _: 3
26528
26528
  }, 16, ["class"]));
26529
26529
  }
26530
- }), fx = {
26530
+ }), ux = {
26531
26531
  install: (n) => {
26532
- n.component("BDCol", Wr), n.component("BDContainer", hl), n.component("BDRow", Kr), n.component("BDButton", yt), n.component("BDLogo", qf), n.component("BDLink", Gs), n.component("BDDropdownItem", bl), n.component("BDDropdown", ym), n.component("BDAlert", gl), n.component("BDProfileImage", Xo), n.component("BDZoomslider", s2), n.component("BDCard", oc), n.component("BDCollapsableCard", u2), n.component("BDFormInput", Pi), n.component("BDInputGroup", S2), n.component("BDFormInvalidFeedback", ac), n.component("BDBadge", w2), n.component("BDForm", x2), n.component("BDPagination", D2), n.component("BDDropzone", ay), n.component("BDMarkdownEditor", PE), n.component("BDModal", A6), n.component("BDFormSelect", $2), n.component("BDUser", YE), n.component("BDArticle", z2), n.component("BDFormCheckbox", B2), n.component("BDToast", sh), n.component("BDAttachmentPreviewList", Jc), n.component("BDImageAttachmentPreviewList", Zc), n.component("BDHeader", g6), n.component("BDMobileMenu", vm), n.component("BDChatCloud", e6), n.component("BDTable", l6), n.component("BDChangePasswordTemplate", P6), n.component("IconAcademy", y1), n.component("IconArrowDown", T1), n.component("IconArrowUp", _1), n.component("IconAttachment", us), n.component("IconBold", Vf), n.component("IconBulletList", Hf), n.component("IconCalendar", yu), n.component("IconCalendar", yu), n.component("IconCardView", n0), n.component("IconCaretDown", zf), n.component("IconCaretLeft", Uf), n.component("IconCaretRight", jf), n.component("IconCheck", Go), n.component("IconClose", sc), n.component("IconDownloadImage", pl), n.component("IconDownloadImage", pl), n.component("IconEdit", F0), n.component("IconError", ic), n.component("IconEyeShow", J0), n.component("IconEyeSlash", tg), n.component("IconFile", Wf), n.component("IconHyperlink", Kf), n.component("IconInfo", Yo), n.component("IconItalic", Gf), n.component("IconListView", Og), n.component("IconMenu", ml), n.component("IconMenu", ml), n.component("IconOrderedList", Yf), n.component("IconRemove", Jo), n.component("IconService", Jg), n.component("IconSort", tv), n.component("IconSortAsc", Jf), n.component("IconSortDesc", Zf), n.component("IconSortNone", Xf), n.component("IconTriangleExclamation", Cv), n.component("IconUnderline", Qf), n.component("IconContactPerson", Nv), n.directive("vBDTooltip", tx);
26532
+ n.component("BDCol", Wr), n.component("BDContainer", hl), n.component("BDRow", Kr), n.component("BDButton", yt), n.component("BDLogo", qf), n.component("BDLink", Gs), n.component("BDDropdownItem", bl), n.component("BDDropdown", ym), n.component("BDAlert", gl), n.component("BDProfileImage", Xo), n.component("BDZoomslider", s2), n.component("BDCard", oc), n.component("BDCollapsableCard", u2), n.component("BDFormInput", Pi), n.component("BDInputGroup", S2), n.component("BDFormInvalidFeedback", ac), n.component("BDBadge", w2), n.component("BDForm", x2), n.component("BDPagination", D2), n.component("BDDropzone", ay), n.component("BDMarkdownEditor", LE), n.component("BDModal", T6), n.component("BDFormSelect", $2), n.component("BDUser", KE), n.component("BDArticle", z2), n.component("BDFormCheckbox", B2), n.component("BDToast", sh), n.component("BDAttachmentPreviewList", Jc), n.component("BDImageAttachmentPreviewList", Zc), n.component("BDHeader", p6), n.component("BDMobileMenu", vm), n.component("BDChatCloud", QE), n.component("BDTable", o6), n.component("BDChangePasswordTemplate", L6), n.component("IconAcademy", y1), n.component("IconArrowDown", T1), n.component("IconArrowUp", _1), n.component("IconAttachment", us), n.component("IconBold", Vf), n.component("IconBulletList", Hf), n.component("IconCalendar", yu), n.component("IconCalendar", yu), n.component("IconCardView", n0), n.component("IconCaretDown", zf), n.component("IconCaretLeft", Uf), n.component("IconCaretRight", jf), n.component("IconCheck", Go), n.component("IconClose", sc), n.component("IconDownloadImage", pl), n.component("IconDownloadImage", pl), n.component("IconEdit", F0), n.component("IconError", ic), n.component("IconEyeShow", J0), n.component("IconEyeSlash", tg), n.component("IconFile", Wf), n.component("IconHyperlink", Kf), n.component("IconInfo", Yo), n.component("IconItalic", Gf), n.component("IconListView", Og), n.component("IconMenu", ml), n.component("IconMenu", ml), n.component("IconOrderedList", Yf), n.component("IconRemove", Jo), n.component("IconService", Jg), n.component("IconSort", tv), n.component("IconSortAsc", Jf), n.component("IconSortDesc", Zf), n.component("IconSortNone", Xf), n.component("IconTriangleExclamation", Cv), n.component("IconUnderline", Qf), n.component("IconContactPerson", Nv), n.directive("vBDTooltip", qT);
26533
26533
  }
26534
26534
  };
26535
26535
  export {
@@ -26539,8 +26539,8 @@ export {
26539
26539
  w2 as BDBadge,
26540
26540
  yt as BDButton,
26541
26541
  oc as BDCard,
26542
- P6 as BDChangePasswordTemplate,
26543
- e6 as BDChatCloud,
26542
+ L6 as BDChangePasswordTemplate,
26543
+ QE as BDChatCloud,
26544
26544
  Wr as BDCol,
26545
26545
  u2 as BDCollapsableCard,
26546
26546
  hl as BDContainer,
@@ -26552,20 +26552,20 @@ export {
26552
26552
  Pi as BDFormInput,
26553
26553
  ac as BDFormInvalidFeedback,
26554
26554
  $2 as BDFormSelect,
26555
- g6 as BDHeader,
26555
+ p6 as BDHeader,
26556
26556
  Zc as BDImageAttachmentPreviewList,
26557
26557
  S2 as BDInputGroup,
26558
26558
  Gs as BDLink,
26559
26559
  qf as BDLogo,
26560
- PE as BDMarkdownEditor,
26560
+ LE as BDMarkdownEditor,
26561
26561
  vm as BDMobileMenu,
26562
- A6 as BDModal,
26562
+ T6 as BDModal,
26563
26563
  D2 as BDPagination,
26564
26564
  Xo as BDProfileImage,
26565
26565
  Kr as BDRow,
26566
- l6 as BDTable,
26566
+ o6 as BDTable,
26567
26567
  sh as BDToast,
26568
- YE as BDUser,
26568
+ KE as BDUser,
26569
26569
  s2 as BDZoomslider,
26570
26570
  y1 as IconAcademy,
26571
26571
  T1 as IconArrowDown,
@@ -26601,11 +26601,11 @@ export {
26601
26601
  Xf as IconSortNone,
26602
26602
  Cv as IconTriangleExclamation,
26603
26603
  Qf as IconUnderline,
26604
- fx as default,
26605
- dx as getDisplayDate,
26606
- lx as useModal,
26607
- cx as useServerErrors,
26608
- QT as useToaster,
26609
- ux as useValidation,
26610
- tx as vBdTooltip
26604
+ ux as default,
26605
+ cx as getDisplayDate,
26606
+ ox as useModal,
26607
+ ax as useServerErrors,
26608
+ ZT as useToaster,
26609
+ lx as useValidation,
26610
+ qT as vBdTooltip
26611
26611
  };