@myissue/vue-website-page-builder 3.3.59 → 3.3.61

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.
@@ -7,14 +7,14 @@ var wt = (r, t, e) => Qu(r, typeof t != "symbol" ? t + "" : t, e), Ap = (r, t, e
7
7
  var ne = (r, t, e) => (Ap(r, t, "read from private field"), e ? e.call(r) : t.get(r)), Ro = (r, t, e) => t.has(r) ? Pp("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(r) : t.set(r, e);
8
8
  var W = (r, t, e) => (Ap(r, t, "access private method"), e);
9
9
  import * as Np from "vue";
10
- import { defineComponent as de, computed as $, createBlock as ct, openBlock as v, Teleport as Zu, createElementVNode as b, createElementBlock as C, createCommentVNode as I, normalizeClass as Q, toDisplayString as H, renderSlot as co, ref as S, Fragment as dt, withCtx as K, nextTick as st, effectScope as jc, markRaw as Lr, toRaw as Ut, hasInjectionContext as tx, inject as Ur, getCurrentInstance as Hc, watch as ot, unref as T, reactive as ex, isRef as Fi, isReactive as Dl, toRef as ls, getCurrentScope as rx, onScopeDispose as ox, toRefs as Dp, createVNode as U, shallowRef as ix, onMounted as gr, onBeforeUnmount as ja, h as Kr, watchEffect as an, customRef as nx, onBeforeMount as ax, withDirectives as Ct, vModelText as Il, createTextVNode as Mt, provide as Nr, resolveDynamicComponent as Vc, cloneVNode as sx, onUnmounted as lx, Transition as sn, renderList as ht, withKeys as px, vShow as Ws, vModelSelect as Qt, withModifiers as De, createStaticVNode as Ip } from "vue";
10
+ import { defineComponent as de, computed as $, createBlock as ct, openBlock as v, Teleport as Zu, createElementVNode as b, createElementBlock as C, createCommentVNode as I, normalizeClass as Q, toDisplayString as H, renderSlot as co, ref as S, Fragment as dt, withCtx as K, nextTick as st, effectScope as jc, markRaw as Lr, toRaw as Ut, hasInjectionContext as tx, inject as Ur, getCurrentInstance as Hc, watch as ot, unref as T, reactive as ex, isRef as Fi, isReactive as Dl, toRef as ls, getCurrentScope as rx, onScopeDispose as ox, toRefs as Dp, createVNode as U, shallowRef as ix, onMounted as fr, onBeforeUnmount as ja, h as Kr, watchEffect as an, customRef as nx, onBeforeMount as ax, withDirectives as Ct, vModelText as Il, createTextVNode as Mt, provide as Nr, resolveDynamicComponent as Vc, cloneVNode as sx, onUnmounted as lx, Transition as sn, renderList as ht, withKeys as px, vShow as Ws, vModelSelect as Qt, withModifiers as De, createStaticVNode as Ip } from "vue";
11
11
  const dx = { class: "pbx-font-sans" }, cx = {
12
12
  key: 0,
13
13
  class: "pbx-fixed pbx-inset-0 pbx-z-40 pbx-flex pbx-items-center pbx-justify-center pbx-mx-4",
14
14
  role: "dialog",
15
15
  "aria-modal": "true",
16
16
  "aria-labelledby": "dialog-title"
17
- }, bx = { class: "pbx-px-4 pbx-min-h-32" }, mr = /* @__PURE__ */ de({
17
+ }, bx = { class: "pbx-px-4 pbx-min-h-32" }, ur = /* @__PURE__ */ de({
18
18
  __name: "ModalBuilder",
19
19
  props: {
20
20
  title: {
@@ -225,7 +225,7 @@ const dx = { class: "pbx-font-sans" }, cx = {
225
225
  }, n = function() {
226
226
  e("thirdModalButtonFunctionDynamicModalBuilder");
227
227
  };
228
- return (a, s) => (v(), ct(mr, {
228
+ return (a, s) => (v(), ct(ur, {
229
229
  title: r.title,
230
230
  showModalBuilder: r.showDynamicModalBuilder,
231
231
  type: r.type,
@@ -1396,7 +1396,7 @@ function Wc(r, t) {
1396
1396
  };
1397
1397
  return i(e), e.outerHTML;
1398
1398
  }
1399
- var _, qc, Uc, Kc, Tr, yt, Gc, Jc, _a, za, Fa, ce, Yc, Xc, no, qs, Qc, yi, Zc, tb, Ln, Us, Rn, Ks, eb;
1399
+ var _, qc, Uc, Kc, lr, yt, Gc, Jc, _a, za, Fa, ce, Yc, Xc, no, qs, Qc, yi, Zc, tb, Ln, Us, Rn, Ks, eb;
1400
1400
  class Px {
1401
1401
  constructor(t) {
1402
1402
  Ro(this, _);
@@ -1557,33 +1557,37 @@ class Px {
1557
1557
  if (await this.clearHtmlSelection(), o === "update" || o === "create") {
1558
1558
  if (!this.pendingMountData) {
1559
1559
  if (t && !i) {
1560
- await W(this, _, Tr).call(this, JSON.stringify(t), !0);
1560
+ await W(this, _, lr).call(this, JSON.stringify(t), !0);
1561
1561
  return;
1562
1562
  }
1563
1563
  if (t && i) {
1564
- this.pageBuilderStateStore.setHasLocalDraftForUpdate(!0), await W(this, _, Tr).call(this, JSON.stringify(t), !0);
1564
+ this.pageBuilderStateStore.setHasLocalDraftForUpdate(!0), await W(this, _, lr).call(this, JSON.stringify(t), !0);
1565
1565
  return;
1566
1566
  }
1567
1567
  if (!t && i && this.isPageBuilderMissingOnStart) {
1568
- await W(this, _, Tr).call(this, i);
1568
+ await W(this, _, lr).call(this, i);
1569
1569
  return;
1570
1570
  }
1571
1571
  if (!t && !i && this.isPageBuilderMissingOnStart) {
1572
- await W(this, _, Tr).call(this, JSON.stringify([]));
1572
+ await W(this, _, lr).call(this, JSON.stringify([]));
1573
+ return;
1574
+ }
1575
+ if (!this.isPageBuilderMissingOnStart && !i && !t) {
1576
+ await W(this, _, lr).call(this, JSON.stringify([]));
1573
1577
  return;
1574
1578
  }
1575
1579
  }
1576
1580
  if (this.pendingMountData) {
1577
1581
  if (i && this.isPageBuilderMissingOnStart) {
1578
- this.pageBuilderStateStore.setHasLocalDraftForUpdate(!0), await W(this, _, Tr).call(this, JSON.stringify(this.pendingMountData), !0), this.pendingMountData = null;
1582
+ this.pageBuilderStateStore.setHasLocalDraftForUpdate(!0), await W(this, _, lr).call(this, JSON.stringify(this.pendingMountData), !0), this.pendingMountData = null;
1579
1583
  return;
1580
1584
  }
1581
1585
  if (!i && t && this.isPageBuilderMissingOnStart) {
1582
- await W(this, _, Tr).call(this, JSON.stringify(this.pendingMountData), !0);
1586
+ await W(this, _, lr).call(this, JSON.stringify(this.pendingMountData), !0);
1583
1587
  return;
1584
1588
  }
1585
1589
  if (!t && !i && this.isPageBuilderMissingOnStart) {
1586
- await W(this, _, Tr).call(this, JSON.stringify(this.pendingMountData), !0);
1590
+ await W(this, _, lr).call(this, JSON.stringify(this.pendingMountData), !0);
1587
1591
  return;
1588
1592
  }
1589
1593
  }
@@ -2039,7 +2043,7 @@ _ = new WeakSet(), qc = function(t) {
2039
2043
  }
2040
2044
  };
2041
2045
  (!t || t && Object.keys(t).length === 0 && t.constructor === Object) && this.pageBuilderStateStore.setPageBuilderConfig(e), t && Object.keys(t).length !== 0 && t.constructor === Object && W(this, _, qc).call(this, t);
2042
- }, Tr = async function(t, e) {
2046
+ }, lr = async function(t, e) {
2043
2047
  await W(this, _, Rn).call(this, t, e), await st(), await ne(this, ce).call(this), this.deleteOldPageBuilderLocalStorage(), this.pageBuilderStateStore.setIsRestoring(!1), this.pageBuilderStateStore.setIsLoadingGlobal(!1);
2044
2048
  }, yt = function(t, e, o) {
2045
2049
  const i = this.getElement.value;
@@ -7344,7 +7348,7 @@ function Wg(r, t, e, o, i) {
7344
7348
  throw new RangeError("Invalid content for node type " + e.name);
7345
7349
  r.step(new Dt(t, t + n.nodeSize, t + 1, t + n.nodeSize - 1, new F(D.from(a), 0, 0), 1, !0));
7346
7350
  }
7347
- function ur(r, t, e = 1, o) {
7351
+ function xr(r, t, e = 1, o) {
7348
7352
  let i = r.resolve(t), n = i.depth - e, a = o && o[o.length - 1] || i.parent;
7349
7353
  if (n < 0 || i.parent.type.spec.isolating || !i.parent.canReplace(i.index(), i.parent.childCount) || !a.type.validContent(i.parent.content.cutByIndex(i.index(), i.parent.childCount)))
7350
7354
  return !1;
@@ -8862,7 +8866,7 @@ const zt = function(r) {
8862
8866
  return t && t.nodeType == 11 ? t.host : t;
8863
8867
  };
8864
8868
  let il = null;
8865
- const pr = function(r, t, e) {
8869
+ const dr = function(r, t, e) {
8866
8870
  let o = il || (il = document.createRange());
8867
8871
  return o.setEnd(r, e ?? r.nodeValue.length), o.setStart(r, t || 0), o;
8868
8872
  }, af = function() {
@@ -8968,7 +8972,7 @@ function bf(r, t, e) {
8968
8972
  }
8969
8973
  const Je = typeof navigator < "u" ? navigator : null, pd = typeof document < "u" ? document : null, Yr = Je && Je.userAgent || "", nl = /Edge\/(\d+)/.exec(Yr), Yb = /MSIE \d/.exec(Yr), al = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Yr), se = !!(Yb || al || nl), Vr = Yb ? document.documentMode : al ? +al[1] : nl ? +nl[1] : 0, $e = !se && /gecko\/(\d+)/i.test(Yr);
8970
8974
  $e && +(/Firefox\/(\d+)/.exec(Yr) || [0, 0])[1];
8971
- const sl = !se && /Chrome\/(\d+)/.exec(Yr), Gt = !!sl, Xb = sl ? +sl[1] : 0, Zt = !se && !!Je && /Apple Computer/.test(Je.vendor), ri = Zt && (/Mobile\/\w+/.test(Yr) || !!Je && Je.maxTouchPoints > 2), Ce = ri || (Je ? /Mac/.test(Je.platform) : !1), mf = Je ? /Win/.test(Je.platform) : !1, cr = /Android \d/.test(Yr), pn = !!pd && "webkitFontSmoothing" in pd.documentElement.style, uf = pn ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
8975
+ const sl = !se && /Chrome\/(\d+)/.exec(Yr), Gt = !!sl, Xb = sl ? +sl[1] : 0, Zt = !se && !!Je && /Apple Computer/.test(Je.vendor), ri = Zt && (/Mobile\/\w+/.test(Yr) || !!Je && Je.maxTouchPoints > 2), Ce = ri || (Je ? /Mac/.test(Je.platform) : !1), mf = Je ? /Win/.test(Je.platform) : !1, br = /Android \d/.test(Yr), pn = !!pd && "webkitFontSmoothing" in pd.documentElement.style, uf = pn ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
8972
8976
  function xf(r) {
8973
8977
  let t = r.defaultView && r.defaultView.visualViewport;
8974
8978
  return t ? {
@@ -9068,7 +9072,7 @@ function tm(r, t) {
9068
9072
  if (d.nodeType == 1)
9069
9073
  m = d.getClientRects();
9070
9074
  else if (d.nodeType == 3)
9071
- m = pr(d).getClientRects();
9075
+ m = dr(d).getClientRects();
9072
9076
  else
9073
9077
  continue;
9074
9078
  for (let u = 0; u < m.length; u++) {
@@ -9186,11 +9190,11 @@ function rm(r, t, e) {
9186
9190
  let { node: o, offset: i, atom: n } = r.docView.domFromPos(t, e < 0 ? -1 : 1), a = pn || $e;
9187
9191
  if (o.nodeType == 3)
9188
9192
  if (a && (Mf.test(o.nodeValue) || (e < 0 ? !i : i == o.nodeValue.length))) {
9189
- let l = Or(pr(o, i, i), e);
9193
+ let l = Or(dr(o, i, i), e);
9190
9194
  if ($e && i && /\s/.test(o.nodeValue[i - 1]) && i < o.nodeValue.length) {
9191
- let p = Or(pr(o, i - 1, i - 1), -1);
9195
+ let p = Or(dr(o, i - 1, i - 1), -1);
9192
9196
  if (p.top == l.top) {
9193
- let d = Or(pr(o, i, i + 1), -1);
9197
+ let d = Or(dr(o, i, i + 1), -1);
9194
9198
  if (d.top != l.top)
9195
9199
  return xi(d, d.left < p.left);
9196
9200
  }
@@ -9198,7 +9202,7 @@ function rm(r, t, e) {
9198
9202
  return l;
9199
9203
  } else {
9200
9204
  let l = i, p = i, d = e < 0 ? 1 : -1;
9201
- return e < 0 && !i ? (p++, d = -1) : e >= 0 && i == o.nodeValue.length ? (l--, d = 1) : e < 0 ? l-- : p++, xi(Or(pr(o, l, p), d), d < 0);
9205
+ return e < 0 && !i ? (p++, d = -1) : e >= 0 && i == o.nodeValue.length ? (l--, d = 1) : e < 0 ? l-- : p++, xi(Or(dr(o, l, p), d), d < 0);
9202
9206
  }
9203
9207
  if (!r.state.doc.resolve(t - (n || 0)).parent.inlineContent) {
9204
9208
  if (n == null && i && (e < 0 || i == Me(o))) {
@@ -9214,7 +9218,7 @@ function rm(r, t, e) {
9214
9218
  return ws(o.getBoundingClientRect(), e >= 0);
9215
9219
  }
9216
9220
  if (n == null && i && (e < 0 || i == Me(o))) {
9217
- let l = o.childNodes[i - 1], p = l.nodeType == 3 ? pr(l, Me(l) - (a ? 0 : 1)) : l.nodeType == 1 && (l.nodeName != "BR" || !l.nextSibling) ? l : null;
9221
+ let l = o.childNodes[i - 1], p = l.nodeType == 3 ? dr(l, Me(l) - (a ? 0 : 1)) : l.nodeType == 1 && (l.nodeName != "BR" || !l.nextSibling) ? l : null;
9218
9222
  if (p)
9219
9223
  return xi(Or(p, 1), !1);
9220
9224
  }
@@ -9222,11 +9226,11 @@ function rm(r, t, e) {
9222
9226
  let l = o.childNodes[i];
9223
9227
  for (; l.pmViewDesc && l.pmViewDesc.ignoreForCoords; )
9224
9228
  l = l.nextSibling;
9225
- let p = l ? l.nodeType == 3 ? pr(l, 0, a ? 0 : 1) : l.nodeType == 1 ? l : null : null;
9229
+ let p = l ? l.nodeType == 3 ? dr(l, 0, a ? 0 : 1) : l.nodeType == 1 ? l : null : null;
9226
9230
  if (p)
9227
9231
  return xi(Or(p, -1), !0);
9228
9232
  }
9229
- return xi(Or(o.nodeType == 3 ? pr(o) : o, -e), e >= 0);
9233
+ return xi(Or(o.nodeType == 3 ? dr(o) : o, -e), e >= 0);
9230
9234
  }
9231
9235
  function xi(r, t) {
9232
9236
  if (r.width == 0)
@@ -9269,7 +9273,7 @@ function Ef(r, t, e) {
9269
9273
  if (s.nodeType == 1)
9270
9274
  l = s.getClientRects();
9271
9275
  else if (s.nodeType == 3)
9272
- l = pr(s, 0, s.nodeValue.length).getClientRects();
9276
+ l = dr(s, 0, s.nodeValue.length).getClientRects();
9273
9277
  else
9274
9278
  continue;
9275
9279
  for (let p = 0; p < l.length; p++) {
@@ -10363,7 +10367,7 @@ function Hl(r, t = null) {
10363
10367
  function pm(r) {
10364
10368
  return r.editable ? r.hasFocus() : cm(r) && document.activeElement && document.activeElement.contains(r.dom);
10365
10369
  }
10366
- function xr(r, t = !1) {
10370
+ function gr(r, t = !1) {
10367
10371
  let e = r.state.selection;
10368
10372
  if (dm(r, e), !!pm(r)) {
10369
10373
  if (!t && r.input.mouseDown && r.input.mouseDown.allowDefault && Gt) {
@@ -10605,7 +10609,7 @@ function cl(r, t, e) {
10605
10609
  r.domObserver.setCurSelection();
10606
10610
  let { state: i } = r;
10607
10611
  setTimeout(() => {
10608
- r.state == i && xr(r);
10612
+ r.state == i && gr(r);
10609
10613
  }, 50);
10610
10614
  }
10611
10615
  function Cd(r, t) {
@@ -10938,7 +10942,7 @@ function ah(r, t) {
10938
10942
  }
10939
10943
  ee.keydown = (r, t) => {
10940
10944
  let e = t;
10941
- if (r.input.shiftKey = e.keyCode == 16 || e.shiftKey, !wm(r, e) && (r.input.lastKeyCode = e.keyCode, r.input.lastKeyCodeTime = Date.now(), !(cr && Gt && e.keyCode == 13)))
10945
+ if (r.input.shiftKey = e.keyCode == 16 || e.shiftKey, !wm(r, e) && (r.input.lastKeyCode = e.keyCode, r.input.lastKeyCodeTime = Date.now(), !(br && Gt && e.keyCode == 13)))
10942
10946
  if (e.keyCode != 229 && r.domObserver.forceFlush(), ri && e.keyCode == 13 && !e.ctrlKey && !e.altKey && !e.metaKey) {
10943
10947
  let o = Date.now();
10944
10948
  r.input.lastIOSEnter = o, r.input.lastIOSEnterFallbackTimeout = setTimeout(() => {
@@ -11068,7 +11072,7 @@ class uh {
11068
11072
  }, 20), this.view.domObserver.start()), t.root.addEventListener("mouseup", this.up = this.up.bind(this)), t.root.addEventListener("mousemove", this.move = this.move.bind(this)), jr(t, "pointer");
11069
11073
  }
11070
11074
  done() {
11071
- this.view.root.removeEventListener("mouseup", this.up), this.view.root.removeEventListener("mousemove", this.move), this.mightDrag && this.target && (this.view.domObserver.stop(), this.mightDrag.addAttr && this.target.removeAttribute("draggable"), this.mightDrag.setUneditable && this.target.removeAttribute("contentEditable"), this.view.domObserver.start()), this.delayedSelectionSync && setTimeout(() => xr(this.view)), this.view.input.mouseDown = null;
11075
+ this.view.root.removeEventListener("mouseup", this.up), this.view.root.removeEventListener("mousemove", this.move), this.mightDrag && this.target && (this.view.domObserver.stop(), this.mightDrag.addAttr && this.target.removeAttribute("draggable"), this.mightDrag.setUneditable && this.target.removeAttribute("contentEditable"), this.view.domObserver.start()), this.delayedSelectionSync && setTimeout(() => gr(this.view)), this.view.input.mouseDown = null;
11072
11076
  }
11073
11077
  up(t) {
11074
11078
  if (this.done(), !this.view.dom.contains(t.target))
@@ -11101,7 +11105,7 @@ te.contextmenu = (r) => Kl(r);
11101
11105
  function wm(r, t) {
11102
11106
  return r.composing ? !0 : Zt && Math.abs(t.timeStamp - r.input.compositionEndedAt) < 500 ? (r.input.compositionEndedAt = -2e8, !0) : !1;
11103
11107
  }
11104
- const xh = cr ? 5e3 : -1;
11108
+ const xh = br ? 5e3 : -1;
11105
11109
  ee.compositionstart = ee.compositionupdate = (r) => {
11106
11110
  if (!r.composing) {
11107
11111
  r.domObserver.flush();
@@ -11160,7 +11164,7 @@ function fh() {
11160
11164
  return r.initEvent("event", !0, !0), r.timeStamp;
11161
11165
  }
11162
11166
  function oa(r, t = !1) {
11163
- if (!(cr && r.domObserver.flushingSoon >= 0)) {
11167
+ if (!(br && r.domObserver.flushingSoon >= 0)) {
11164
11168
  if (r.domObserver.forceFlush(), km(r), t || r.docView && r.docView.dirty) {
11165
11169
  let e = Hl(r), o = r.state.selection;
11166
11170
  return e && !e.eq(o) ? r.dispatch(r.state.tr.setSelection(e)) : (r.markCursor || t) && !o.$from.node(o.$from.sharedDepth(o.to)).inlineContent ? r.dispatch(r.state.tr.deleteSelection()) : r.updateState(r.state), !0;
@@ -11217,7 +11221,7 @@ function Sm(r) {
11217
11221
  }
11218
11222
  ee.paste = (r, t) => {
11219
11223
  let e = t;
11220
- if (r.composing && !cr)
11224
+ if (r.composing && !br)
11221
11225
  return;
11222
11226
  let o = Ui ? null : e.clipboardData, i = r.input.shiftKey && r.input.lastKeyCode != 45;
11223
11227
  o && Ki(r, Sm(o), o.getData("text/html"), i, e) ? e.preventDefault() : wh(r, e);
@@ -11295,7 +11299,7 @@ ee.drop = (r, t) => {
11295
11299
  };
11296
11300
  te.focus = (r) => {
11297
11301
  r.input.lastFocus = Date.now(), r.focused || (r.domObserver.stop(), r.dom.classList.add("ProseMirror-focused"), r.domObserver.start(), r.focused = !0, setTimeout(() => {
11298
- r.docView && r.hasFocus() && !r.domObserver.currentSelection.eq(r.domSelectionRange()) && xr(r);
11302
+ r.docView && r.hasFocus() && !r.domObserver.currentSelection.eq(r.domSelectionRange()) && gr(r);
11299
11303
  }, 20));
11300
11304
  };
11301
11305
  te.blur = (r, t) => {
@@ -11303,7 +11307,7 @@ te.blur = (r, t) => {
11303
11307
  r.focused && (r.domObserver.stop(), r.dom.classList.remove("ProseMirror-focused"), r.domObserver.start(), e.relatedTarget && r.dom.contains(e.relatedTarget) && r.domObserver.currentSelection.clear(), r.focused = !1);
11304
11308
  };
11305
11309
  te.beforeinput = (r, t) => {
11306
- if (Gt && cr && t.inputType == "deleteContentBackward") {
11310
+ if (Gt && br && t.inputType == "deleteContentBackward") {
11307
11311
  r.domObserver.flushSoon();
11308
11312
  let { domChangeCount: o } = r.input;
11309
11313
  setTimeout(() => {
@@ -11891,7 +11895,7 @@ class Th {
11891
11895
  onSelectionChange() {
11892
11896
  if (kd(this.view)) {
11893
11897
  if (this.suppressingSelectionUpdates)
11894
- return xr(this.view);
11898
+ return gr(this.view);
11895
11899
  if (se && Vr <= 11 && !this.view.state.selection.empty) {
11896
11900
  let t = this.view.domSelectionRange();
11897
11901
  if (t.focusNode && Mo(t.focusNode, t.focusOffset, t.anchorNode, t.anchorOffset))
@@ -11953,7 +11957,7 @@ class Th {
11953
11957
  }
11954
11958
  }
11955
11959
  let p = null;
11956
- n < 0 && i && t.input.lastFocus > Date.now() - 200 && Math.max(t.input.lastTouch, t.input.lastClick.time) < Date.now() - 300 && Ua(o) && (p = Hl(t)) && p.eq(tt.near(t.state.doc.resolve(0), 1)) ? (t.input.lastFocus = 0, xr(t), this.currentSelection.set(o), t.scrollToSelection()) : (n > -1 || i) && (n > -1 && (t.docView.markDirty(n, a), Oh(t)), this.handleDOMChange(n, a, s, l), t.docView && t.docView.dirty ? t.updateState(t.state) : this.currentSelection.eq(o) || xr(t), this.currentSelection.set(o));
11960
+ n < 0 && i && t.input.lastFocus > Date.now() - 200 && Math.max(t.input.lastTouch, t.input.lastClick.time) < Date.now() - 300 && Ua(o) && (p = Hl(t)) && p.eq(tt.near(t.state.doc.resolve(0), 1)) ? (t.input.lastFocus = 0, gr(t), this.currentSelection.set(o), t.scrollToSelection()) : (n > -1 || i) && (n > -1 && (t.docView.markDirty(n, a), Oh(t)), this.handleDOMChange(n, a, s, l), t.docView && t.docView.dirty ? t.updateState(t.state) : this.currentSelection.eq(o) || gr(t), this.currentSelection.set(o));
11957
11961
  }
11958
11962
  registerMutation(t, e) {
11959
11963
  if (e.indexOf(t.target) > -1)
@@ -12069,7 +12073,7 @@ function Ih(r, t, e, o, i) {
12069
12073
  if (r.input.compositionPendingChanges = 0, t < 0) {
12070
12074
  let R = r.input.lastSelectionTime > Date.now() - 50 ? r.input.lastSelectionOrigin : null, j = Hl(r, R);
12071
12075
  if (j && !r.state.selection.eq(j)) {
12072
- if (Gt && cr && r.input.lastKeyCode === 13 && Date.now() - 100 < r.input.lastKeyCodeTime && r.someProp("handleKeyDown", (E) => E(r, lo(13, "Enter"))))
12076
+ if (Gt && br && r.input.lastKeyCode === 13 && Date.now() - 100 < r.input.lastKeyCodeTime && r.someProp("handleKeyDown", (E) => E(r, lo(13, "Enter"))))
12073
12077
  return;
12074
12078
  let P = r.state.tr.setSelection(j);
12075
12079
  R == "pointer" ? P.setMeta("pointer", !0) : R == "key" && P.scrollIntoView(), n && P.setMeta("composition", n), r.dispatch(P);
@@ -12081,7 +12085,7 @@ function Ih(r, t, e, o, i) {
12081
12085
  let l = r.state.selection, p = Ah(r, t, e), d = r.state.doc, c = d.slice(p.from, p.to), m, u;
12082
12086
  r.input.lastKeyCode === 8 && Date.now() - 100 < r.input.lastKeyCodeTime ? (m = r.state.selection.to, u = "end") : (m = r.state.selection.from, u = "start"), r.input.lastKeyCode = null;
12083
12087
  let x = $h(c.content, p.doc.content, p.from, m, u);
12084
- if (x && r.input.domChangeCount++, (ri && r.input.lastIOSEnter > Date.now() - 225 || cr) && i.some((R) => R.nodeType == 1 && !Dh.test(R.nodeName)) && (!x || x.endA >= x.endB) && r.someProp("handleKeyDown", (R) => R(r, lo(13, "Enter")))) {
12088
+ if (x && r.input.domChangeCount++, (ri && r.input.lastIOSEnter > Date.now() - 225 || br) && i.some((R) => R.nodeType == 1 && !Dh.test(R.nodeName)) && (!x || x.endA >= x.endB) && r.someProp("handleKeyDown", (R) => R(r, lo(13, "Enter")))) {
12085
12089
  r.input.lastIOSEnter = 0;
12086
12090
  return;
12087
12091
  }
@@ -12105,10 +12109,10 @@ function Ih(r, t, e, o, i) {
12105
12109
  return;
12106
12110
  }
12107
12111
  if (r.state.selection.anchor > x.start && Rh(d, x.start, x.endA, g, f) && r.someProp("handleKeyDown", (R) => R(r, lo(8, "Backspace")))) {
12108
- cr && Gt && r.domObserver.suppressSelectionUpdates();
12112
+ br && Gt && r.domObserver.suppressSelectionUpdates();
12109
12113
  return;
12110
12114
  }
12111
- Gt && x.endB == x.start && (r.input.lastChromeDelete = Date.now()), cr && !w && g.start() != f.start() && f.parentOffset == 0 && g.depth == f.depth && p.sel && p.sel.anchor == p.sel.head && p.sel.head == x.endA && (x.endB -= 2, f = p.doc.resolveNoCache(x.endB - p.from), setTimeout(() => {
12115
+ Gt && x.endB == x.start && (r.input.lastChromeDelete = Date.now()), br && !w && g.start() != f.start() && f.parentOffset == 0 && g.depth == f.depth && p.sel && p.sel.anchor == p.sel.head && p.sel.head == x.endA && (x.endB -= 2, f = p.doc.resolveNoCache(x.endB - p.from), setTimeout(() => {
12112
12116
  r.someProp("handleKeyDown", function(R) {
12113
12117
  return R(r, lo(13, "Enter"));
12114
12118
  });
@@ -12123,7 +12127,7 @@ function Ih(r, t, e, o, i) {
12123
12127
  }, A;
12124
12128
  if (w) {
12125
12129
  if (g.pos == f.pos) {
12126
- se && Vr <= 11 && g.parentOffset == 0 && (r.domObserver.suppressSelectionUpdates(), setTimeout(() => xr(r), 20));
12130
+ se && Vr <= 11 && g.parentOffset == 0 && (r.domObserver.suppressSelectionUpdates(), setTimeout(() => gr(r), 20));
12127
12131
  let R = M(r.state.tr.delete(h, B)), j = d.resolve(x.start).marksAcross(d.resolve(x.endA));
12128
12132
  j && R.ensureMarks(j), r.dispatch(R);
12129
12133
  } else if (
@@ -12294,7 +12298,7 @@ class Bm {
12294
12298
  let x = Gt ? this.trackWrites = this.domSelectionRange().focusNode : null;
12295
12299
  this.composing && (this.input.compositionNode = gh(this)), (n || !this.docView.update(t.doc, p, l, this)) && (this.docView.updateOuterDeco(p), this.docView.destroy(), this.docView = gd(t.doc, p, l, this.dom, this)), x && !this.trackWrites && (u = !0);
12296
12300
  }
12297
- u || !(this.input.mouseDown && this.domObserver.currentSelection.eq(this.domSelectionRange()) && jf(this)) ? xr(this, u) : (dm(this, t.selection), this.domObserver.setCurSelection()), this.domObserver.start();
12301
+ u || !(this.input.mouseDown && this.domObserver.currentSelection.eq(this.domSelectionRange()) && jf(this)) ? gr(this, u) : (dm(this, t.selection), this.domObserver.setCurSelection()), this.domObserver.start();
12298
12302
  }
12299
12303
  this.updatePluginViews(i), !((o = this.dragging) === null || o === void 0) && o.node && !i.doc.eq(t.doc) && this.updateDraggedNode(this.dragging, i), d == "reset" ? this.dom.scrollTop = 0 : d == "to selection" ? this.scrollToSelection() : m && hf(m);
12300
12304
  }
@@ -12383,7 +12387,7 @@ class Bm {
12383
12387
  Focus the editor.
12384
12388
  */
12385
12389
  focus() {
12386
- this.domObserver.stop(), this.editable && yf(this.dom), xr(this), this.domObserver.start();
12390
+ this.domObserver.stop(), this.editable && yf(this.dom), gr(this), this.domObserver.start();
12387
12391
  }
12388
12392
  /**
12389
12393
  Get the document root in which the editor exists. This will
@@ -12956,7 +12960,7 @@ const Zh = (r, t) => {
12956
12960
  return !1;
12957
12961
  if (e.depth > 1 && e.after() != e.end(-1)) {
12958
12962
  let n = e.before();
12959
- if (ur(r.doc, n))
12963
+ if (xr(r.doc, n))
12960
12964
  return t && t(r.tr.split(n).scrollIntoView()), !0;
12961
12965
  }
12962
12966
  let o = e.blockRange(), i = o && di(o);
@@ -12966,7 +12970,7 @@ function t0(r) {
12966
12970
  return (t, e) => {
12967
12971
  let { $from: o, $to: i } = t.selection;
12968
12972
  if (t.selection instanceof J && t.selection.node.isBlock)
12969
- return !o.parentOffset || !ur(t.doc, o.pos) ? !1 : (e && e(t.tr.split(o.pos).scrollIntoView()), !0);
12973
+ return !o.parentOffset || !xr(t.doc, o.pos) ? !1 : (e && e(t.tr.split(o.pos).scrollIntoView()), !0);
12970
12974
  if (!o.depth)
12971
12975
  return !1;
12972
12976
  let n = [], a, s, l = !1, p = !1;
@@ -12981,8 +12985,8 @@ function t0(r) {
12981
12985
  }
12982
12986
  let d = t.tr;
12983
12987
  (t.selection instanceof Z || t.selection instanceof ue) && d.deleteSelection();
12984
- let c = d.mapping.map(o.pos), m = ur(d.doc, c, n.length, n);
12985
- if (m || (n[0] = s ? { type: s } : null, m = ur(d.doc, c, n.length, n)), !m)
12988
+ let c = d.mapping.map(o.pos), m = xr(d.doc, c, n.length, n);
12989
+ if (m || (n[0] = s ? { type: s } : null, m = xr(d.doc, c, n.length, n)), !m)
12986
12990
  return !1;
12987
12991
  if (d.split(c, n.length, n), !l && p && o.node(a).type != s) {
12988
12992
  let u = d.mapping.map(o.before(a)), x = d.doc.resolve(u);
@@ -13128,7 +13132,7 @@ function p0(r, t, e, o, i) {
13128
13132
  e[d].type == i && (a = d + 1);
13129
13133
  let s = e.length - a, l = t.start + e.length - (o ? 2 : 0), p = t.parent;
13130
13134
  for (let d = t.startIndex, c = t.endIndex, m = !0; d < c; d++, m = !1)
13131
- !m && ur(r.doc, l, s) && (r.split(l, s), l += 2 * s), l += p.child(d).nodeSize;
13135
+ !m && xr(r.doc, l, s) && (r.split(l, s), l += 2 * s), l += p.child(d).nodeSize;
13132
13136
  return r;
13133
13137
  }
13134
13138
  function d0(r) {
@@ -13677,7 +13681,7 @@ function Za(r, t) {
13677
13681
  Mn(t[o]) && Mn(r[o]) ? e[o] = Za(r[o], t[o]) : e[o] = t[o];
13678
13682
  }), e;
13679
13683
  }
13680
- class fr {
13684
+ class hr {
13681
13685
  constructor(t = {}) {
13682
13686
  this.type = "mark", this.name = "mark", this.parent = null, this.child = null, this.config = {
13683
13687
  name: this.name,
@@ -13693,7 +13697,7 @@ class fr {
13693
13697
  })) || {};
13694
13698
  }
13695
13699
  static create(t = {}) {
13696
- return new fr(t);
13700
+ return new hr(t);
13697
13701
  }
13698
13702
  configure(t = {}) {
13699
13703
  const e = this.extend({
@@ -13703,7 +13707,7 @@ class fr {
13703
13707
  return e.name = this.name, e.parent = this.parent, e;
13704
13708
  }
13705
13709
  extend(t = {}) {
13706
- const e = new fr(t);
13710
+ const e = new hr(t);
13707
13711
  return e.parent = this, this.child = e, e.name = t.name ? t.name : e.parent.name, t.defaultOptions && Object.keys(t.defaultOptions).length > 0 && console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${e.name}".`), e.options = rt(q(e, "addOptions", {
13708
13712
  name: e.name
13709
13713
  })), e.storage = rt(q(e, "addStorage", {
@@ -13946,7 +13950,7 @@ class Jo {
13946
13950
  type: Ts(a.name, this.schema)
13947
13951
  }, l = [], p = q(a, "addKeyboardShortcuts", s);
13948
13952
  let d = {};
13949
- if (a.type === "mark" && q(a, "exitable", s) && (d.ArrowRight = () => fr.handleExit({ editor: t, mark: a })), p) {
13953
+ if (a.type === "mark" && q(a, "exitable", s) && (d.ArrowRight = () => hr.handleExit({ editor: t, mark: a })), p) {
13950
13954
  const g = Object.fromEntries(Object.entries(p()).map(([f, y]) => [f, () => y({ editor: t })]));
13951
13955
  d = { ...d, ...g };
13952
13956
  }
@@ -14231,7 +14235,7 @@ const H0 = (r, t = {}) => ({ tr: e, state: o, dispatch: i }) => {
14231
14235
  function np(r) {
14232
14236
  return r instanceof Z;
14233
14237
  }
14234
- function br(r = 0, t = 0, e = 0) {
14238
+ function mr(r = 0, t = 0, e = 0) {
14235
14239
  return Math.min(Math.max(r, t), e);
14236
14240
  }
14237
14241
  function Km(r, t = null) {
@@ -14243,7 +14247,7 @@ function Km(r, t = null) {
14243
14247
  if (t === "end")
14244
14248
  return o;
14245
14249
  const i = e.from, n = o.to;
14246
- return t === "all" ? Z.create(r, br(0, i, n), br(r.content.size, i, n)) : Z.create(r, br(t, i, n), br(t, i, n));
14250
+ return t === "all" ? Z.create(r, mr(0, i, n), mr(r.content.size, i, n)) : Z.create(r, mr(t, i, n), mr(t, i, n));
14247
14251
  }
14248
14252
  function W0() {
14249
14253
  return navigator.platform === "Android" || /android/i.test(navigator.userAgent);
@@ -14730,7 +14734,7 @@ function Zm(r) {
14730
14734
  return r instanceof J;
14731
14735
  }
14732
14736
  function tu(r, t, e) {
14733
- const i = r.state.doc.content.size, n = br(t, 0, i), a = br(e, 0, i), s = r.coordsAtPos(n), l = r.coordsAtPos(a, -1), p = Math.min(s.top, l.top), d = Math.max(s.bottom, l.bottom), c = Math.min(s.left, l.left), m = Math.max(s.right, l.right), u = m - c, x = d - p, y = {
14737
+ const i = r.state.doc.content.size, n = mr(t, 0, i), a = mr(e, 0, i), s = r.coordsAtPos(n), l = r.coordsAtPos(a, -1), p = Math.min(s.top, l.top), d = Math.max(s.bottom, l.bottom), c = Math.min(s.left, l.left), m = Math.max(s.right, l.right), u = m - c, x = d - p, y = {
14734
14738
  top: p,
14735
14739
  bottom: d,
14736
14740
  left: c,
@@ -14796,13 +14800,13 @@ const P1 = (r, t = {}) => ({ tr: e, state: o, dispatch: i }) => {
14796
14800
  return e.selection.$anchor.sameParent(e.selection.$head) && (a = e.selection.$anchor.parent.attrs), n.isTextblock ? i().command(({ commands: s }) => jd(n, { ...a, ...t })(e) ? !0 : s.clearNodes()).command(({ state: s }) => jd(n, { ...a, ...t })(s, o)).run() : (console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'), !1);
14797
14801
  }, D1 = (r) => ({ tr: t, dispatch: e }) => {
14798
14802
  if (e) {
14799
- const { doc: o } = t, i = br(r, 0, o.content.size), n = J.create(o, i);
14803
+ const { doc: o } = t, i = mr(r, 0, o.content.size), n = J.create(o, i);
14800
14804
  t.setSelection(n);
14801
14805
  }
14802
14806
  return !0;
14803
14807
  }, I1 = (r) => ({ tr: t, dispatch: e }) => {
14804
14808
  if (e) {
14805
- const { doc: o } = t, { from: i, to: n } = typeof r == "number" ? { from: r, to: r } : r, a = Z.atStart(o).from, s = Z.atEnd(o).to, l = br(i, a, s), p = br(n, a, s), d = Z.create(o, l, p);
14809
+ const { doc: o } = t, { from: i, to: n } = typeof r == "number" ? { from: r, to: r } : r, a = Z.atStart(o).from, s = Z.atEnd(o).to, l = mr(i, a, s), p = mr(n, a, s), d = Z.create(o, l, p);
14806
14810
  t.setSelection(d);
14807
14811
  }
14808
14812
  return !0;
@@ -14820,7 +14824,7 @@ function Gd(r, t) {
14820
14824
  const R1 = ({ keepMarks: r = !0 } = {}) => ({ tr: t, state: e, dispatch: o, editor: i }) => {
14821
14825
  const { selection: n, doc: a } = t, { $from: s, $to: l } = n, p = i.extensionManager.attributes, d = Vn(p, s.node().type.name, s.node().attrs);
14822
14826
  if (n instanceof J && n.node.isBlock)
14823
- return !s.parentOffset || !ur(a, s.pos) ? !1 : (o && (r && Gd(e, i.extensionManager.splittableMarks), t.split(s.pos).scrollIntoView()), !0);
14827
+ return !s.parentOffset || !xr(a, s.pos) ? !1 : (o && (r && Gd(e, i.extensionManager.splittableMarks), t.split(s.pos).scrollIntoView()), !0);
14824
14828
  if (!s.parent.isBlock)
14825
14829
  return !1;
14826
14830
  const c = l.parentOffset === l.parent.content.size, m = s.depth === 0 ? void 0 : v1(s.node(-1).contentMatchAt(s.indexAfter(-1)));
@@ -14829,8 +14833,8 @@ const R1 = ({ keepMarks: r = !0 } = {}) => ({ tr: t, state: e, dispatch: o, edit
14829
14833
  type: m,
14830
14834
  attrs: d
14831
14835
  }
14832
- ] : void 0, x = ur(t.doc, t.mapping.map(s.pos), 1, u);
14833
- if (!u && !x && ur(t.doc, t.mapping.map(s.pos), 1, m ? [{ type: m }] : void 0) && (x = !0, u = m ? [
14836
+ ] : void 0, x = xr(t.doc, t.mapping.map(s.pos), 1, u);
14837
+ if (!u && !x && xr(t.doc, t.mapping.map(s.pos), 1, m ? [{ type: m }] : void 0) && (x = !0, u = m ? [
14834
14838
  {
14835
14839
  type: m,
14836
14840
  attrs: d
@@ -14888,7 +14892,7 @@ const R1 = ({ keepMarks: r = !0 } = {}) => ({ tr: t, state: e, dispatch: o, edit
14888
14892
  { type: s, attrs: x },
14889
14893
  { type: u, attrs: g }
14890
14894
  ] : [{ type: s, attrs: x }];
14891
- if (!ur(e.doc, l.pos, 2))
14895
+ if (!xr(e.doc, l.pos, 2))
14892
14896
  return !1;
14893
14897
  if (i) {
14894
14898
  const { selection: y, storedMarks: w } = o, { splittableMarks: k } = n.extensionManager, h = w || y.$to.parentOffset && y.$from.marks();
@@ -16054,7 +16058,7 @@ function nu(r, t) {
16054
16058
  }
16055
16059
  return !1;
16056
16060
  }
16057
- function hr(r) {
16061
+ function yr(r) {
16058
16062
  return xe(r).getComputedStyle(r);
16059
16063
  }
16060
16064
  function vy(r) {
@@ -16080,18 +16084,18 @@ function es(r) {
16080
16084
  }
16081
16085
  function Yd(r) {
16082
16086
  return !Oe(r) || // https://github.com/popperjs/popper-core/issues/837
16083
- hr(r).position === "fixed" ? null : r.offsetParent;
16087
+ yr(r).position === "fixed" ? null : r.offsetParent;
16084
16088
  }
16085
16089
  function ky(r) {
16086
16090
  var t = /firefox/i.test(yl()), e = /Trident/i.test(yl());
16087
16091
  if (e && Oe(r)) {
16088
- var o = hr(r);
16092
+ var o = yr(r);
16089
16093
  if (o.position === "fixed")
16090
16094
  return null;
16091
16095
  }
16092
16096
  var i = es(r);
16093
16097
  for (cp(i) && (i = i.host); Oe(i) && ["html", "body"].indexOf(Xe(i)) < 0; ) {
16094
- var n = hr(i);
16098
+ var n = yr(i);
16095
16099
  if (n.transform !== "none" || n.perspective !== "none" || n.contain === "paint" || ["transform", "perspective"].indexOf(n.willChange) !== -1 || t && n.willChange === "filter" || t && n.filter && n.filter !== "none")
16096
16100
  return i;
16097
16101
  i = i.parentNode;
@@ -16099,9 +16103,9 @@ function ky(r) {
16099
16103
  return null;
16100
16104
  }
16101
16105
  function bn(r) {
16102
- for (var t = xe(r), e = Yd(r); e && vy(e) && hr(e).position === "static"; )
16106
+ for (var t = xe(r), e = Yd(r); e && vy(e) && yr(e).position === "static"; )
16103
16107
  e = Yd(e);
16104
- return e && (Xe(e) === "html" || Xe(e) === "body" && hr(e).position === "static") ? t : e || ky(r) || t;
16108
+ return e && (Xe(e) === "html" || Xe(e) === "body" && yr(e).position === "static") ? t : e || ky(r) || t;
16105
16109
  }
16106
16110
  function mp(r) {
16107
16111
  return ["top", "bottom"].indexOf(r) >= 0 ? "x" : "y";
@@ -16182,7 +16186,7 @@ function Xd(r) {
16182
16186
  var y = a.hasOwnProperty("x"), w = a.hasOwnProperty("y"), k = pe, h = le, B = window;
16183
16187
  if (p) {
16184
16188
  var M = bn(e), A = "clientHeight", R = "clientWidth";
16185
- if (M === xe(e) && (M = Qr(e), hr(M).position !== "static" && s === "absolute" && (A = "scrollHeight", R = "scrollWidth")), M = M, i === le || (i === pe || i === Pe) && n === Qi) {
16189
+ if (M === xe(e) && (M = Qr(e), yr(M).position !== "static" && s === "absolute" && (A = "scrollHeight", R = "scrollWidth")), M = M, i === le || (i === pe || i === Pe) && n === Qi) {
16186
16190
  h = Be;
16187
16191
  var j = c && M === B && B.visualViewport ? B.visualViewport.height : (
16188
16192
  // $FlowFixMe[prop-missing]
@@ -16312,7 +16316,7 @@ function Ry(r, t) {
16312
16316
  }
16313
16317
  function $y(r) {
16314
16318
  var t, e = Qr(r), o = up(r), i = (t = r.ownerDocument) == null ? void 0 : t.body, n = yo(e.scrollWidth, e.clientWidth, i ? i.scrollWidth : 0, i ? i.clientWidth : 0), a = yo(e.scrollHeight, e.clientHeight, i ? i.scrollHeight : 0, i ? i.clientHeight : 0), s = -o.scrollLeft + xp(r), l = -o.scrollTop;
16315
- return hr(i || e).direction === "rtl" && (s += yo(e.clientWidth, i ? i.clientWidth : 0) - n), {
16319
+ return yr(i || e).direction === "rtl" && (s += yo(e.clientWidth, i ? i.clientWidth : 0) - n), {
16316
16320
  width: n,
16317
16321
  height: a,
16318
16322
  x: s,
@@ -16320,7 +16324,7 @@ function $y(r) {
16320
16324
  };
16321
16325
  }
16322
16326
  function gp(r) {
16323
- var t = hr(r), e = t.overflow, o = t.overflowX, i = t.overflowY;
16327
+ var t = yr(r), e = t.overflow, o = t.overflowX, i = t.overflowY;
16324
16328
  return /auto|scroll|overlay|hidden/.test(e + i + o);
16325
16329
  }
16326
16330
  function pu(r) {
@@ -16351,7 +16355,7 @@ function Zd(r, t, e) {
16351
16355
  return t === eu ? wl(Ry(r, e)) : Oo(t) ? _y(t, e) : wl($y(Qr(r)));
16352
16356
  }
16353
16357
  function zy(r) {
16354
- var t = Ni(es(r)), e = ["absolute", "fixed"].indexOf(hr(r).position) >= 0, o = e && Oe(r) ? bn(r) : r;
16358
+ var t = Ni(es(r)), e = ["absolute", "fixed"].indexOf(yr(r).position) >= 0, o = e && Oe(r) ? bn(r) : r;
16355
16359
  return Oo(o) ? t.filter(function(i) {
16356
16360
  return Oo(i) && nu(i, o) && Xe(i) !== "body";
16357
16361
  }) : [];
@@ -16620,12 +16624,12 @@ function Zy(r) {
16620
16624
  var X, mt = h === "y" ? le : pe, xt = h === "y" ? Be : Pe, it = h === "y" ? "height" : "width", G = M[h], pt = G + f[mt], gt = G - f[xt], oe = u ? -R[it] / 2 : 0, Qe = w === ni ? A[it] : R[it], Yt = w === ni ? -R[it] : -A[it], Ze = t.elements.arrow, ge = u && Ze ? bp(Ze) : {
16621
16625
  width: 0,
16622
16626
  height: 0
16623
- }, Vt = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : au(), fe = Vt[mt], tr = Vt[xt], he = Ai(0, A[it], ge[it]), er = k ? A[it] / 2 - oe - he - fe - P.mainAxis : Qe - he - fe - P.mainAxis, Ae = k ? -A[it] / 2 + oe + he + tr + P.mainAxis : Yt + he + tr + P.mainAxis, rr = t.elements.arrow && bn(t.elements.arrow), Zr = rr ? h === "y" ? rr.clientTop || 0 : rr.clientLeft || 0 : 0, wr = (X = E == null ? void 0 : E[h]) != null ? X : 0, Ao = G + er - wr - Zr, No = G + Ae - wr, vr = Ai(u ? la(pt, Ao) : pt, G, u ? yo(gt, No) : gt);
16624
- M[h] = vr, z[h] = vr - G;
16627
+ }, Vt = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : au(), fe = Vt[mt], tr = Vt[xt], he = Ai(0, A[it], ge[it]), er = k ? A[it] / 2 - oe - he - fe - P.mainAxis : Qe - he - fe - P.mainAxis, Ae = k ? -A[it] / 2 + oe + he + tr + P.mainAxis : Yt + he + tr + P.mainAxis, rr = t.elements.arrow && bn(t.elements.arrow), Zr = rr ? h === "y" ? rr.clientTop || 0 : rr.clientLeft || 0 : 0, vr = (X = E == null ? void 0 : E[h]) != null ? X : 0, Ao = G + er - vr - Zr, No = G + Ae - vr, kr = Ai(u ? la(pt, Ao) : pt, G, u ? yo(gt, No) : gt);
16628
+ M[h] = kr, z[h] = kr - G;
16625
16629
  }
16626
16630
  if (s) {
16627
- var ze, to = h === "x" ? le : pe, eo = h === "x" ? Be : Pe, ye = M[B], Ne = B === "y" ? "height" : "width", kr = ye + f[to], Fe = ye - f[eo], Sr = [le, pe].indexOf(y) !== -1, ro = (ze = E == null ? void 0 : E[B]) != null ? ze : 0, Do = Sr ? kr : ye - A[Ne] - R[Ne] - ro + P.altAxis, Cr = Sr ? ye + A[Ne] + R[Ne] - ro - P.altAxis : Fe, Mr = u && Sr ? Sy(Do, ye, Cr) : Ai(u ? Do : kr, ye, u ? Cr : Fe);
16628
- M[B] = Mr, z[B] = Mr - ye;
16631
+ var ze, to = h === "x" ? le : pe, eo = h === "x" ? Be : Pe, ye = M[B], Ne = B === "y" ? "height" : "width", Sr = ye + f[to], Fe = ye - f[eo], Cr = [le, pe].indexOf(y) !== -1, ro = (ze = E == null ? void 0 : E[B]) != null ? ze : 0, Do = Cr ? Sr : ye - A[Ne] - R[Ne] - ro + P.altAxis, Mr = Cr ? ye + A[Ne] + R[Ne] - ro - P.altAxis : Fe, Er = u && Cr ? Sy(Do, ye, Mr) : Ai(u ? Do : Sr, ye, u ? Mr : Fe);
16632
+ M[B] = Er, z[B] = Er - ye;
16629
16633
  }
16630
16634
  t.modifiersData[o] = z;
16631
16635
  }
@@ -17009,7 +17013,7 @@ process.env.NODE_ENV !== "production" && Aw();
17009
17013
  function Aw() {
17010
17014
  en = /* @__PURE__ */ new Set();
17011
17015
  }
17012
- function dr(r, t) {
17016
+ function cr(r, t) {
17013
17017
  if (r && !en.has(t)) {
17014
17018
  var e;
17015
17019
  en.add(t), (e = console).warn.apply(e, fu(t));
@@ -17141,7 +17145,7 @@ function wu(r, t) {
17141
17145
  var i = xw(me, Object.keys(hu)), n = !uw(i, o);
17142
17146
  n && (n = t.filter(function(a) {
17143
17147
  return a.name === o;
17144
- }).length === 0), dr(n, ["`" + o + "`", "is not a valid prop. You may have spelled it incorrectly, or if it's", "a plugin, forgot to pass it in an array as props.plugins.", `
17148
+ }).length === 0), cr(n, ["`" + o + "`", "is not a valid prop. You may have spelled it incorrectly, or if it's", "a plugin, forgot to pass it in an array as props.plugins.", `
17145
17149
 
17146
17150
  `, `All props: https://atomiks.github.io/tippyjs/v6/all-props/
17147
17151
  `, "Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "));
@@ -17214,12 +17218,12 @@ function zw(r, t) {
17214
17218
  plugins: w,
17215
17219
  // methods
17216
17220
  clearDelayTimeouts: Do,
17217
- setProps: Cr,
17218
- setContent: Mr,
17221
+ setProps: Mr,
17222
+ setContent: Er,
17219
17223
  show: mi,
17220
17224
  hide: ui,
17221
17225
  hideWithInteractivity: Io,
17222
- enable: Sr,
17226
+ enable: Cr,
17223
17227
  disable: ro,
17224
17228
  unmount: at,
17225
17229
  destroy: N
@@ -17231,7 +17235,7 @@ function zw(r, t) {
17231
17235
  var R = w.map(function(O) {
17232
17236
  return O.fn(h);
17233
17237
  }), j = r.hasAttribute("aria-expanded");
17234
- return rr(), oe(), G(), pt("onCreate", [h]), e.showOnCreate && kr(), M.addEventListener("mouseenter", function() {
17238
+ return rr(), oe(), G(), pt("onCreate", [h]), e.showOnCreate && Sr(), M.addEventListener("mouseenter", function() {
17235
17239
  h.props.interactive && h.state.isVisible && h.clearDelayTimeouts();
17236
17240
  }), M.addEventListener("mouseleave", function() {
17237
17241
  h.props.interactive && h.props.trigger.indexOf("mouseenter") >= 0 && mt().addEventListener("mousemove", x);
@@ -17360,21 +17364,21 @@ function zw(r, t) {
17360
17364
  });
17361
17365
  }
17362
17366
  function rr() {
17363
- E() && (Ae("touchstart", wr, {
17367
+ E() && (Ae("touchstart", vr, {
17364
17368
  passive: !0
17365
17369
  }), Ae("touchend", No, {
17366
17370
  passive: !0
17367
17371
  })), gw(h.props.trigger).forEach(function(O) {
17368
17372
  if (O !== "manual")
17369
- switch (Ae(O, wr), O) {
17373
+ switch (Ae(O, vr), O) {
17370
17374
  case "mouseenter":
17371
17375
  Ae("mouseleave", No);
17372
17376
  break;
17373
17377
  case "focus":
17374
- Ae(Bw ? "focusout" : "blur", vr);
17378
+ Ae(Bw ? "focusout" : "blur", kr);
17375
17379
  break;
17376
17380
  case "focusin":
17377
- Ae("focusout", vr);
17381
+ Ae("focusout", kr);
17378
17382
  break;
17379
17383
  }
17380
17384
  });
@@ -17385,13 +17389,13 @@ function zw(r, t) {
17385
17389
  V.removeEventListener(Y, lt, nt);
17386
17390
  }), u = [];
17387
17391
  }
17388
- function wr(O) {
17392
+ function vr(O) {
17389
17393
  var V, Y = !1;
17390
17394
  if (!(!h.state.isEnabled || ze(O) || s)) {
17391
17395
  var lt = ((V = d) == null ? void 0 : V.type) === "focus";
17392
17396
  d = O, g = O.currentTarget, oe(), !h.state.isVisible && ww(O) && Bn.forEach(function(nt) {
17393
17397
  return nt(O);
17394
- }), O.type === "click" && (h.props.trigger.indexOf("mouseenter") < 0 || a) && h.props.hideOnClick !== !1 && h.state.isVisible ? Y = !0 : kr(O), O.type === "click" && (a = !Y), Y && !lt && Fe(O);
17398
+ }), O.type === "click" && (h.props.trigger.indexOf("mouseenter") < 0 || a) && h.props.hideOnClick !== !1 && h.state.isVisible ? Y = !0 : Sr(O), O.type === "click" && (a = !Y), Y && !lt && Fe(O);
17395
17399
  }
17396
17400
  }
17397
17401
  function Ao(O) {
@@ -17418,7 +17422,7 @@ function zw(r, t) {
17418
17422
  Fe(O);
17419
17423
  }
17420
17424
  }
17421
- function vr(O) {
17425
+ function kr(O) {
17422
17426
  h.props.trigger.indexOf("focusin") < 0 && O.target !== X() || h.props.interactive && O.relatedTarget && M.contains(O.relatedTarget) || Fe(O);
17423
17427
  }
17424
17428
  function ze(O) {
@@ -17486,7 +17490,7 @@ function zw(r, t) {
17486
17490
  }
17487
17491
  function ye() {
17488
17492
  var O = h.props.appendTo, V, Y = X();
17489
- h.props.interactive && O === uu || O === "parent" ? V = Y.parentNode : V = xu(O, [Y]), V.contains(M) || V.appendChild(M), h.state.isMounted = !0, to(), process.env.NODE_ENV !== "production" && dr(h.props.interactive && O === me.appendTo && Y.nextElementSibling !== M, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
17493
+ h.props.interactive && O === uu || O === "parent" ? V = Y.parentNode : V = xu(O, [Y]), V.contains(M) || V.appendChild(M), h.state.isMounted = !0, to(), process.env.NODE_ENV !== "production" && cr(h.props.interactive && O === me.appendTo && Y.nextElementSibling !== M, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
17490
17494
 
17491
17495
  `, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
17492
17496
 
@@ -17497,7 +17501,7 @@ function zw(r, t) {
17497
17501
  function Ne() {
17498
17502
  return pa(M.querySelectorAll("[data-tippy-root]"));
17499
17503
  }
17500
- function kr(O) {
17504
+ function Sr(O) {
17501
17505
  h.clearDelayTimeouts(), O && pt("onTrigger", [h, O]), Vt();
17502
17506
  var V = it(!0), Y = P(), lt = Y[0], nt = Y[1];
17503
17507
  We.isTouch && lt === "hold" && nt && (V = nt), V ? o = setTimeout(function() {
@@ -17518,7 +17522,7 @@ function zw(r, t) {
17518
17522
  });
17519
17523
  }
17520
17524
  }
17521
- function Sr() {
17525
+ function Cr() {
17522
17526
  h.state.isEnabled = !0;
17523
17527
  }
17524
17528
  function ro() {
@@ -17527,8 +17531,8 @@ function zw(r, t) {
17527
17531
  function Do() {
17528
17532
  clearTimeout(o), clearTimeout(i), cancelAnimationFrame(n);
17529
17533
  }
17530
- function Cr(O) {
17531
- if (process.env.NODE_ENV !== "production" && dr(h.state.isDestroyed, jo("setProps")), !h.state.isDestroyed) {
17534
+ function Mr(O) {
17535
+ if (process.env.NODE_ENV !== "production" && cr(h.state.isDestroyed, jo("setProps")), !h.state.isDestroyed) {
17532
17536
  pt("onBeforeUpdate", [h, O]), Zr();
17533
17537
  var V = h.props, Y = cc(r, Object.assign({}, V, ac(O), {
17534
17538
  ignoreAttributes: !0
@@ -17540,13 +17544,13 @@ function zw(r, t) {
17540
17544
  })), pt("onAfterUpdate", [h, O]);
17541
17545
  }
17542
17546
  }
17543
- function Mr(O) {
17547
+ function Er(O) {
17544
17548
  h.setProps({
17545
17549
  content: O
17546
17550
  });
17547
17551
  }
17548
17552
  function mi() {
17549
- process.env.NODE_ENV !== "production" && dr(h.state.isDestroyed, jo("show"));
17553
+ process.env.NODE_ENV !== "production" && cr(h.state.isDestroyed, jo("show"));
17550
17554
  var O = h.state.isVisible, V = h.state.isDestroyed, Y = !h.state.isEnabled, lt = We.isTouch && !h.props.touch, nt = Ps(h.props.duration, 0, me.duration);
17551
17555
  if (!(O || V || Y || lt) && !X().hasAttribute("disabled") && (pt("onShow", [h], !1), h.props.onShow(h) !== !1)) {
17552
17556
  if (h.state.isVisible = !0, z() && (M.style.visibility = "visible"), G(), Vt(), h.state.isMounted || (M.style.transition = "none"), z()) {
@@ -17568,7 +17572,7 @@ function zw(r, t) {
17568
17572
  }
17569
17573
  }
17570
17574
  function ui() {
17571
- process.env.NODE_ENV !== "production" && dr(h.state.isDestroyed, jo("hide"));
17575
+ process.env.NODE_ENV !== "production" && cr(h.state.isDestroyed, jo("hide"));
17572
17576
  var O = !h.state.isVisible, V = h.state.isDestroyed, Y = !h.state.isEnabled, lt = Ps(h.props.duration, 1, me.duration);
17573
17577
  if (!(O || V || Y) && (pt("onHide", [h], !1), h.props.onHide(h) !== !1)) {
17574
17578
  if (h.state.isVisible = !1, h.state.isShown = !1, p = !1, a = !1, z() && (M.style.visibility = "hidden"), Qe(), fe(), G(!0), z()) {
@@ -17579,17 +17583,17 @@ function zw(r, t) {
17579
17583
  }
17580
17584
  }
17581
17585
  function Io(O) {
17582
- process.env.NODE_ENV !== "production" && dr(h.state.isDestroyed, jo("hideWithInteractivity")), mt().addEventListener("mousemove", x), nc(Bn, x), x(O);
17586
+ process.env.NODE_ENV !== "production" && cr(h.state.isDestroyed, jo("hideWithInteractivity")), mt().addEventListener("mousemove", x), nc(Bn, x), x(O);
17583
17587
  }
17584
17588
  function at() {
17585
- process.env.NODE_ENV !== "production" && dr(h.state.isDestroyed, jo("unmount")), h.state.isVisible && h.hide(), h.state.isMounted && (eo(), Ne().forEach(function(O) {
17589
+ process.env.NODE_ENV !== "production" && cr(h.state.isDestroyed, jo("unmount")), h.state.isVisible && h.hide(), h.state.isMounted && (eo(), Ne().forEach(function(O) {
17586
17590
  O._tippy.unmount();
17587
17591
  }), M.parentNode && M.parentNode.removeChild(M), Ds = Ds.filter(function(O) {
17588
17592
  return O !== h;
17589
17593
  }), h.state.isMounted = !1, pt("onHidden", [h]));
17590
17594
  }
17591
17595
  function N() {
17592
- process.env.NODE_ENV !== "production" && dr(h.state.isDestroyed, jo("destroy")), !h.state.isDestroyed && (h.clearDelayTimeouts(), h.unmount(), Zr(), delete r._tippy, h.state.isDestroyed = !0, pt("onDestroy", [h]));
17596
+ process.env.NODE_ENV !== "production" && cr(h.state.isDestroyed, jo("destroy")), !h.state.isDestroyed && (h.clearDelayTimeouts(), h.unmount(), Zr(), delete r._tippy, h.state.isDestroyed = !0, pt("onDestroy", [h]));
17593
17597
  }
17594
17598
  }
17595
17599
  function ci(r, t) {
@@ -17601,7 +17605,7 @@ function ci(r, t) {
17601
17605
  }), i = kw(r);
17602
17606
  if (process.env.NODE_ENV !== "production") {
17603
17607
  var n = tn(o.content), a = i.length > 1;
17604
- dr(n && a, ["tippy() was passed an Element as the `content` prop, but more than", "one tippy instance was created by this invocation. This means the", "content element will only be appended to the last tippy instance.", `
17608
+ cr(n && a, ["tippy() was passed an Element as the `content` prop, but more than", "one tippy instance was created by this invocation. This means the", "content element will only be appended to the last tippy instance.", `
17605
17609
 
17606
17610
  `, "Instead, pass the .innerHTML of the element, or use a function that", "returns a cloned version of the element instead.", `
17607
17611
 
@@ -17878,7 +17882,7 @@ de({
17878
17882
  },
17879
17883
  setup(r, { slots: t }) {
17880
17884
  const e = S(null);
17881
- return gr(() => {
17885
+ return fr(() => {
17882
17886
  const { updateDelay: o, editor: i, pluginKey: n, shouldShow: a, tippyOptions: s } = r;
17883
17887
  i.registerPlugin(ku({
17884
17888
  updateDelay: o,
@@ -18001,7 +18005,7 @@ de({
18001
18005
  },
18002
18006
  setup(r, { slots: t }) {
18003
18007
  const e = S(null);
18004
- return gr(() => {
18008
+ return fr(() => {
18005
18009
  const { pluginKey: o, editor: i, tippyOptions: n, shouldShow: a } = r;
18006
18010
  i.registerPlugin(Su({
18007
18011
  pluginKey: o,
@@ -18061,7 +18065,7 @@ de({
18061
18065
  });
18062
18066
  const Ww = (r = {}) => {
18063
18067
  const t = ix();
18064
- return gr(() => {
18068
+ return fr(() => {
18065
18069
  t.value = new Hw(r);
18066
18070
  }), ja(() => {
18067
18071
  var e, o, i;
@@ -18106,7 +18110,7 @@ const Ww = (r = {}) => {
18106
18110
  })
18107
18111
  ];
18108
18112
  }
18109
- }), Kw = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/, Gw = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g, Jw = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/, Yw = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g, Xw = fr.create({
18113
+ }), Kw = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/, Gw = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g, Jw = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/, Yw = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g, Xw = hr.create({
18110
18114
  name: "bold",
18111
18115
  addOptions() {
18112
18116
  return {
@@ -18220,7 +18224,7 @@ const Ww = (r = {}) => {
18220
18224
  r
18221
18225
  ];
18222
18226
  }
18223
- }), t2 = /(^|[^`])`([^`]+)`(?!`)/, e2 = /(^|[^`])`([^`]+)`(?!`)/g, r2 = fr.create({
18227
+ }), t2 = /(^|[^`])`([^`]+)`(?!`)/, e2 = /(^|[^`])`([^`]+)`(?!`)/g, r2 = hr.create({
18224
18228
  name: "code",
18225
18229
  addOptions() {
18226
18230
  return {
@@ -19220,7 +19224,7 @@ const Eu = Mu(!1, !0), Tu = Mu(!0, !0), B2 = Ht.create({
19220
19224
  })
19221
19225
  ];
19222
19226
  }
19223
- }), A2 = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/, N2 = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g, D2 = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/, I2 = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g, L2 = fr.create({
19227
+ }), A2 = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/, N2 = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g, D2 = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/, I2 = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g, L2 = hr.create({
19224
19228
  name: "italic",
19225
19229
  addOptions() {
19226
19230
  return {
@@ -19407,7 +19411,7 @@ const Eu = Mu(!1, !0), Tu = Mu(!0, !0), B2 = Ht.create({
19407
19411
  "Mod-Alt-0": () => this.editor.commands.setParagraph()
19408
19412
  };
19409
19413
  }
19410
- }), F2 = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/, j2 = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g, H2 = fr.create({
19414
+ }), F2 = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/, j2 = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g, H2 = hr.create({
19411
19415
  name: "strike",
19412
19416
  addOptions() {
19413
19417
  return {
@@ -19617,7 +19621,7 @@ ae.prototype = {
19617
19621
  return i.j[r] = a, a;
19618
19622
  }
19619
19623
  };
19620
- const et = (r, t, e, o, i) => r.ta(t, e, o, i), vt = (r, t, e, o, i) => r.tr(t, e, o, i), vc = (r, t, e, o, i) => r.ts(t, e, o, i), L = (r, t, e, o, i) => r.tt(t, e, o, i), lr = "WORD", Ol = "UWORD", Bu = "ASCIINUMERICAL", Pu = "ALPHANUMERICAL", rn = "LOCALHOST", Bl = "TLD", Pl = "UTLD", Un = "SCHEME", Uo = "SLASH_SCHEME", yp = "NUM", Al = "WS", wp = "NL", Li = "OPENBRACE", Ri = "CLOSEBRACE", ca = "OPENBRACKET", ba = "CLOSEBRACKET", ma = "OPENPAREN", ua = "CLOSEPAREN", xa = "OPENANGLEBRACKET", ga = "CLOSEANGLEBRACKET", fa = "FULLWIDTHLEFTPAREN", ha = "FULLWIDTHRIGHTPAREN", ya = "LEFTCORNERBRACKET", wa = "RIGHTCORNERBRACKET", va = "LEFTWHITECORNERBRACKET", ka = "RIGHTWHITECORNERBRACKET", Sa = "FULLWIDTHLESSTHAN", Ca = "FULLWIDTHGREATERTHAN", Ma = "AMPERSAND", Ea = "APOSTROPHE", Ta = "ASTERISK", Ar = "AT", Oa = "BACKSLASH", Ba = "BACKTICK", Pa = "CARET", Ir = "COLON", vp = "COMMA", Aa = "DOLLAR", He = "DOT", Na = "EQUALS", kp = "EXCLAMATION", ke = "HYPHEN", $i = "PERCENT", Da = "PIPE", Ia = "PLUS", La = "POUND", _i = "QUERY", Sp = "QUOTE", Au = "FULLWIDTHMIDDLEDOT", Cp = "SEMI", Ve = "SLASH", zi = "TILDE", Ra = "UNDERSCORE", Nu = "EMOJI", $a = "SYM";
19624
+ const et = (r, t, e, o, i) => r.ta(t, e, o, i), vt = (r, t, e, o, i) => r.tr(t, e, o, i), vc = (r, t, e, o, i) => r.ts(t, e, o, i), L = (r, t, e, o, i) => r.tt(t, e, o, i), pr = "WORD", Ol = "UWORD", Bu = "ASCIINUMERICAL", Pu = "ALPHANUMERICAL", rn = "LOCALHOST", Bl = "TLD", Pl = "UTLD", Un = "SCHEME", Uo = "SLASH_SCHEME", yp = "NUM", Al = "WS", wp = "NL", Li = "OPENBRACE", Ri = "CLOSEBRACE", ca = "OPENBRACKET", ba = "CLOSEBRACKET", ma = "OPENPAREN", ua = "CLOSEPAREN", xa = "OPENANGLEBRACKET", ga = "CLOSEANGLEBRACKET", fa = "FULLWIDTHLEFTPAREN", ha = "FULLWIDTHRIGHTPAREN", ya = "LEFTCORNERBRACKET", wa = "RIGHTCORNERBRACKET", va = "LEFTWHITECORNERBRACKET", ka = "RIGHTWHITECORNERBRACKET", Sa = "FULLWIDTHLESSTHAN", Ca = "FULLWIDTHGREATERTHAN", Ma = "AMPERSAND", Ea = "APOSTROPHE", Ta = "ASTERISK", Ar = "AT", Oa = "BACKSLASH", Ba = "BACKTICK", Pa = "CARET", Ir = "COLON", vp = "COMMA", Aa = "DOLLAR", He = "DOT", Na = "EQUALS", kp = "EXCLAMATION", ke = "HYPHEN", $i = "PERCENT", Da = "PIPE", Ia = "PLUS", La = "POUND", _i = "QUERY", Sp = "QUOTE", Au = "FULLWIDTHMIDDLEDOT", Cp = "SEMI", Ve = "SLASH", zi = "TILDE", Ra = "UNDERSCORE", Nu = "EMOJI", $a = "SYM";
19621
19625
  var Du = /* @__PURE__ */ Object.freeze({
19622
19626
  __proto__: null,
19623
19627
  ALPHANUMERICAL: Pu,
@@ -19673,7 +19677,7 @@ var Du = /* @__PURE__ */ Object.freeze({
19673
19677
  UNDERSCORE: Ra,
19674
19678
  UTLD: Pl,
19675
19679
  UWORD: Ol,
19676
- WORD: lr,
19680
+ WORD: pr,
19677
19681
  WS: Al
19678
19682
  });
19679
19683
  const ar = /[a-z]/, fi = new RegExp("\\p{L}", "u"), $s = new RegExp("\\p{Emoji}", "u"), sr = /\d/, _s = /\s/, kc = "\r", zs = `
@@ -19692,7 +19696,7 @@ function Z2(r = []) {
19692
19696
  [Ii]: !0
19693
19697
  }), n = vt(o, fi, Pu, {
19694
19698
  [Ci]: !0
19695
- }), a = vt(e, ar, lr, {
19699
+ }), a = vt(e, ar, pr, {
19696
19700
  [Ml]: !0
19697
19701
  });
19698
19702
  vt(a, sr, i), vt(a, ar, a), vt(i, sr, i), vt(i, ar, i);
@@ -19716,16 +19720,16 @@ function Z2(r = []) {
19716
19720
  L(m, "#"), vt(m, $s, c);
19717
19721
  const u = [[ar, a], [sr, i]], x = [[ar, null], [fi, s], [sr, n]];
19718
19722
  for (let g = 0; g < An.length; g++)
19719
- Er(e, An[g], Bl, lr, u);
19723
+ Tr(e, An[g], Bl, pr, u);
19720
19724
  for (let g = 0; g < Nn.length; g++)
19721
- Er(e, Nn[g], Pl, Ol, x);
19725
+ Tr(e, Nn[g], Pl, Ol, x);
19722
19726
  uo(Bl, {
19723
19727
  tld: !0,
19724
19728
  ascii: !0
19725
19729
  }, t), uo(Pl, {
19726
19730
  utld: !0,
19727
19731
  alpha: !0
19728
- }, t), Er(e, "file", Un, lr, u), Er(e, "mailto", Un, lr, u), Er(e, "http", Uo, lr, u), Er(e, "https", Uo, lr, u), Er(e, "ftp", Uo, lr, u), Er(e, "ftps", Uo, lr, u), uo(Un, {
19732
+ }, t), Tr(e, "file", Un, pr, u), Tr(e, "mailto", Un, pr, u), Tr(e, "http", Uo, pr, u), Tr(e, "https", Uo, pr, u), Tr(e, "ftp", Uo, pr, u), Tr(e, "ftps", Uo, pr, u), uo(Un, {
19729
19733
  scheme: !0,
19730
19734
  ascii: !0
19731
19735
  }, t), uo(Uo, {
@@ -19778,7 +19782,7 @@ function tv(r) {
19778
19782
  }
19779
19783
  return t;
19780
19784
  }
19781
- function Er(r, t, e, o, i) {
19785
+ function Tr(r, t, e, o, i) {
19782
19786
  let n;
19783
19787
  const a = t.length;
19784
19788
  for (let s = 0; s < a - 1; s++) {
@@ -20273,7 +20277,7 @@ function io(r, t) {
20273
20277
  "i"
20274
20278
  ));
20275
20279
  }
20276
- const mv = fr.create({
20280
+ const mv = hr.create({
20277
20281
  name: "link",
20278
20282
  priority: 1e3,
20279
20283
  keepOnSplit: !1,
@@ -20487,7 +20491,7 @@ const mv = fr.create({
20487
20491
  return ax(() => {
20488
20492
  var P;
20489
20493
  (P = w.value) == null || P.destroy();
20490
- }), gr(() => {
20494
+ }), fr(() => {
20491
20495
  k();
20492
20496
  }), (P, E) => (v(), C("div", null, [
20493
20497
  U(vo, {
@@ -20684,7 +20688,7 @@ const Dv = /* @__PURE__ */ is(Pv, [["render", Nv]]), Iv = {
20684
20688
  };
20685
20689
  return Nr("closeMediaLibraryModal", () => {
20686
20690
  o();
20687
- }), (n, a) => (v(), ct(mr, {
20691
+ }), (n, a) => (v(), ct(ur, {
20688
20692
  title: r.title,
20689
20693
  showModalBuilder: r.open,
20690
20694
  onCloseMainModalBuilder: o,
@@ -20840,7 +20844,7 @@ function Ac(r, t) {
20840
20844
  }
20841
20845
  function Zv(r, t) {
20842
20846
  let e = S(Ac(r.value.type, r.value.as));
20843
- return gr(() => {
20847
+ return fr(() => {
20844
20848
  e.value = Ac(r.value.type, r.value.as);
20845
20849
  }), an(() => {
20846
20850
  var o;
@@ -21098,7 +21102,7 @@ let un = de({ name: "Listbox", emits: { "update:modelValue": (r) => !0 }, props:
21098
21102
  var k;
21099
21103
  return (k = St(a)) == null ? void 0 : k.closest("form");
21100
21104
  });
21101
- return gr(() => {
21105
+ return fr(() => {
21102
21106
  ot([w], () => {
21103
21107
  if (!w.value || r.defaultValue === void 0) return;
21104
21108
  function k() {
@@ -21229,7 +21233,7 @@ let Bo = de({ name: "ListboxButton", props: { as: { type: [Object, String], defa
21229
21233
  }, 0: () => p.value })), c = d5(s), m = $(() => ({ disabled: r.disabled, value: r.value, get textValue() {
21230
21234
  return c();
21231
21235
  }, domRef: s }));
21232
- gr(() => a.registerOption(n, m)), lx(() => a.unregisterOption(n)), gr(() => {
21236
+ fr(() => a.registerOption(n, m)), lx(() => a.unregisterOption(n)), fr(() => {
21233
21237
  ot([a.listboxState, p], () => {
21234
21238
  a.listboxState.value === 0 && p.value && Re(a.mode.value, { 1: () => {
21235
21239
  d.value && a.goToOption(Xt.Specific, n);
@@ -22336,7 +22340,7 @@ const U5 = { class: "pbx-mb-8" }, K5 = { class: "pbx-grid pbx-grid-cols-1 sm:pbx
22336
22340
  const e = Ur("CustomMediaComponent"), o = t, i = function() {
22337
22341
  o("firstModalButtonSearchComponentsFunction");
22338
22342
  };
22339
- return (n, a) => (v(), ct(mr, {
22343
+ return (n, a) => (v(), ct(ur, {
22340
22344
  title: r.title,
22341
22345
  maxWidth: "6xl",
22342
22346
  showModalBuilder: r.show,
@@ -22403,7 +22407,7 @@ function f3(r, t, e, o, i, n) {
22403
22407
  ], 2)
22404
22408
  ], 2);
22405
22409
  }
22406
- const yr = /* @__PURE__ */ is(m3, [["render", f3]]), h3 = { class: "pbx-flex pbx-flex-row pbx-flex-wrap pbx-gap-2 pbx-mt-2 pbx-mb-4" }, y3 = ["onClick"], w3 = { class: "pbx-flex pbx-items-center pbx-gap-1" }, v3 = { class: "pbx-mr-1" }, k3 = { class: "pbx-flex pbx-gap-2 pbx-item-center" }, S3 = {
22410
+ const wr = /* @__PURE__ */ is(m3, [["render", f3]]), h3 = { class: "pbx-flex pbx-flex-row pbx-flex-wrap pbx-gap-2 pbx-mt-2 pbx-mb-4" }, y3 = ["onClick"], w3 = { class: "pbx-flex pbx-items-center pbx-gap-1" }, v3 = { class: "pbx-mr-1" }, k3 = { class: "pbx-flex pbx-gap-2 pbx-item-center" }, S3 = {
22407
22411
  key: 0,
22408
22412
  class: "pbx-myPrimaryInputError"
22409
22413
  }, Lc = {
@@ -22431,7 +22435,7 @@ const yr = /* @__PURE__ */ is(m3, [["render", f3]]), h3 = { class: "pbx-flex pbx
22431
22435
  }
22432
22436
  a.value = "", t.handleAddClasses(l), await t.initializeElementStyles(), n.value = "";
22433
22437
  };
22434
- return (l, p) => (v(), ct(yr, null, {
22438
+ return (l, p) => (v(), ct(wr, null, {
22435
22439
  title: K(() => p[2] || (p[2] = [
22436
22440
  Mt("Generated CSS")
22437
22441
  ])),
@@ -22730,7 +22734,7 @@ const M3 = ["src"], E3 = {
22730
22734
  }, q3 = {
22731
22735
  __name: "OpacityEditor",
22732
22736
  setup(r) {
22733
- return (t, e) => (v(), ct(yr, null, {
22737
+ return (t, e) => (v(), ct(wr, null, {
22734
22738
  title: K(() => e[0] || (e[0] = [
22735
22739
  Mt("Opacity & Transparency ")
22736
22740
  ])),
@@ -22788,7 +22792,7 @@ const M3 = ["src"], E3 = {
22788
22792
  p.value = y, await t.initializeElementStyles();
22789
22793
  },
22790
22794
  { immediate: !0 }
22791
- ), (y, w) => (v(), ct(yr, null, {
22795
+ ), (y, w) => (v(), ct(wr, null, {
22792
22796
  title: K(() => w[14] || (w[14] = [
22793
22797
  Mt(" Typographies ")
22794
22798
  ])),
@@ -22895,7 +22899,7 @@ const M3 = ["src"], E3 = {
22895
22899
  a.value = c, await t.initializeElementStyles();
22896
22900
  },
22897
22901
  { immediate: !0 }
22898
- ), (c, m) => (v(), ct(yr, null, {
22902
+ ), (c, m) => (v(), ct(wr, null, {
22899
22903
  title: K(() => m[4] || (m[4] = [
22900
22904
  Mt("Padding")
22901
22905
  ])),
@@ -22965,7 +22969,7 @@ const M3 = ["src"], E3 = {
22965
22969
  a.value = c, await t.initializeElementStyles();
22966
22970
  },
22967
22971
  { immediate: !0 }
22968
- ), (c, m) => (v(), ct(yr, null, {
22972
+ ), (c, m) => (v(), ct(wr, null, {
22969
22973
  title: K(() => m[4] || (m[4] = [
22970
22974
  Mt("Margin")
22971
22975
  ])),
@@ -23041,7 +23045,7 @@ const M3 = ["src"], E3 = {
23041
23045
  s.value = u, await t.initializeElementStyles();
23042
23046
  },
23043
23047
  { immediate: !0 }
23044
- ), (u, x) => (v(), ct(yr, null, {
23048
+ ), (u, x) => (v(), ct(wr, null, {
23045
23049
  title: K(() => x[10] || (x[10] = [
23046
23050
  Mt("Border Radius")
23047
23051
  ])),
@@ -23160,7 +23164,7 @@ const M3 = ["src"], E3 = {
23160
23164
  n.value = p, await t.initializeElementStyles();
23161
23165
  },
23162
23166
  { immediate: !0 }
23163
- ), (p, d) => (v(), ct(yr, null, {
23167
+ ), (p, d) => (v(), ct(wr, null, {
23164
23168
  title: K(() => d[6] || (d[6] = [
23165
23169
  Mt("Border Style, Width & Color")
23166
23170
  ])),
@@ -23296,7 +23300,7 @@ const M3 = ["src"], E3 = {
23296
23300
  b("button", {
23297
23301
  onClick: o[0] || (o[0] = (i) => T(t).toggleTipTapModal(!0)),
23298
23302
  type: "button",
23299
- class: "pbx-myPrimaryTag"
23303
+ class: "pbx-myPrimaryButton"
23300
23304
  }, o[1] || (o[1] = [
23301
23305
  b("span", { class: "material-symbols-outlined" }, " edit ", -1),
23302
23306
  b("span", null, "Edit text and links", -1)
@@ -23410,7 +23414,7 @@ const M3 = ["src"], E3 = {
23410
23414
  [Ws, n.value && T(e).isEditableElement(n.value)]
23411
23415
  ]),
23412
23416
  b("article", Ik, [
23413
- U(yr, null, {
23417
+ U(wr, null, {
23414
23418
  title: K(() => w[3] || (w[3] = [
23415
23419
  Mt("Global Page Styles")
23416
23420
  ])),
@@ -23428,7 +23432,7 @@ const M3 = ["src"], E3 = {
23428
23432
  })
23429
23433
  ]),
23430
23434
  Array.isArray(i.value) && i.value.length >= 1 ? (v(), C("article", Lk, [
23431
- U(yr, null, {
23435
+ U(wr, null, {
23432
23436
  title: K(() => w[5] || (w[5] = [
23433
23437
  Mt("Download HTML")
23434
23438
  ])),
@@ -23446,7 +23450,7 @@ const M3 = ["src"], E3 = {
23446
23450
  })
23447
23451
  ])) : I("", !0)
23448
23452
  ], 544),
23449
- U(mr, {
23453
+ U(ur, {
23450
23454
  maxWidth: "md",
23451
23455
  minHeight: "pbx-h-[90vh]",
23452
23456
  showModalBuilder: m.value,
@@ -23528,7 +23532,7 @@ const M3 = ["src"], E3 = {
23528
23532
  }, aS = { class: "pbx-overflow-hidden pbx-shadow pbx-ring-1 pbx-ring-black pbx-ring-opacity-5 md:pbx-rounded-lg" }, sS = { class: "pbx-overflow-x-auto" }, lS = { class: "pbx-w-max" }, pS = { class: "pbx-bg-white pbx-divide-y pbx-divide-gray-200" }, dS = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-text-gray-500" }, cS = { class: "pbx-min-w-[30rem] pbx-w-max" }, bS = { key: 0 }, mS = { key: 1 }, uS = { key: 0 }, xS = { class: "pbx-px-6 pbx-py-4 pbx-whitespace-nowrap pbx-text-sm pbx-text-gray-500" }, gS = { class: "pbx-min-w-[30rem] pbx-w-max" }, fS = { class: "pbx-inline-flex pbx-items-center pbx-px-2.5 pbx-py-0.5 pbx-rounded-full pbx-text-xs pbx-font-medium" }, hS = { class: "pbx-mt-4 pbx-mb-4 pbx-py-8 pbx-px-2 pbx-border pbx-border-solid pbx-border-gray-600 pbx-rounded-xl" }, yS = { class: "pbx-mt-4 pbx-whitespace-pre-wrap pbx-text-white pbx-overflow-hidden pbx-bg-gray-900" }, wS = { class: "pbx-px-4 pbx-pb-8 pbx-pt-4 pbx-text-white pbx-text-xs pbx-break-all" }, vS = { class: "pbx-myPrimaryParagraph pbx-text-xs pbx-text-white" }, kS = {
23529
23533
  __name: "PageBuilderSettings",
23530
23534
  setup(r) {
23531
- const t = "3.3.59", e = Ot, o = $(() => e.getPageBuilderConfig);
23535
+ const t = "3.3.61", e = Ot, o = $(() => e.getPageBuilderConfig);
23532
23536
  return (i, n) => {
23533
23537
  var a, s, l, p, d, c, m, u, x, g, f, y, w, k, h, B;
23534
23538
  return v(), C("div", Uk, [
@@ -24186,7 +24190,7 @@ const M3 = ["src"], E3 = {
24186
24190
  ])
24187
24191
  ])
24188
24192
  ]),
24189
- U(mr, {
24193
+ U(ur, {
24190
24194
  maxWidth: "5xl",
24191
24195
  showModalBuilder: y.value,
24192
24196
  title: "Main Settings",
@@ -24199,7 +24203,7 @@ const M3 = ["src"], E3 = {
24199
24203
  ]),
24200
24204
  _: 1
24201
24205
  }, 8, ["showModalBuilder"]),
24202
- U(mr, {
24206
+ U(ur, {
24203
24207
  maxWidth: "5xl",
24204
24208
  showModalBuilder: h.value,
24205
24209
  title: "Selected HTML",
@@ -24345,26 +24349,26 @@ const Q6 = /* @__PURE__ */ is(J6, [["render", X6]]), Z6 = { class: "pbx-font-san
24345
24349
  });
24346
24350
  const G = function(at) {
24347
24351
  n.setComponent(at);
24348
- }, pt = S(null), gt = $(() => n.getIsLoadingGlobal), oe = $(() => n.getIsSaving), Qe = $(() => n.getIsLoadingResumeEditing), Yt = $(() => n.getIsRestoring), Ze = S(1), ge = S(""), Vt = S(!1), fe = S(""), tr = S(""), he = S(""), er = S(null), Ae = S(null), rr = S(null), Zr = S(null), wr = S(null), Ao = async function() {
24352
+ }, pt = S(null), gt = $(() => n.getIsLoadingGlobal), oe = $(() => n.getIsSaving), Qe = $(() => n.getIsLoadingResumeEditing), Yt = $(() => n.getIsRestoring), Ze = S(1), ge = S(""), Vt = S(!1), fe = S(""), tr = S(""), he = S(""), er = S(null), Ae = S(null), rr = S(null), Zr = S(null), vr = S(null), Ao = async function() {
24349
24353
  ge.value = "warning", Vt.value = !0, fe.value = "Continue Your Work?", tr.value = "We noticed you have some changes that weren’t saved last time. Would you like to pick up where you left off, or use the version that’s currently loaded from the database?", he.value = "Use Saved Version", er.value = null, Ae.value = "Continue Where I Left Off", rr.value = async function() {
24350
24354
  n.setHasLocalDraftForUpdate(!1), Vt.value = !1;
24351
24355
  }, Zr.value = function() {
24352
- }, wr.value = async function() {
24356
+ }, vr.value = async function() {
24353
24357
  await e.resumeEditingFromDraft(), n.setHasLocalDraftForUpdate(!1), Vt.value = !1;
24354
24358
  };
24355
- }, No = S(1), vr = S(""), ze = S(!1), to = S(""), eo = S(""), ye = S(""), Ne = S(null), kr = S(null), Fe = S(null), Sr = S(null), ro = S(null), Do = async function() {
24356
- await e.clearHtmlSelection(), vr.value = "success", ze.value = !0, to.value = "Do you want to reset this page?", eo.value = "Are you sure you want to reset this page? This will overwrite your current changes.", ye.value = "Close", Ne.value = null, kr.value = "Reset changes", Fe.value = function() {
24359
+ }, No = S(1), kr = S(""), ze = S(!1), to = S(""), eo = S(""), ye = S(""), Ne = S(null), Sr = S(null), Fe = S(null), Cr = S(null), ro = S(null), Do = async function() {
24360
+ await e.clearHtmlSelection(), kr.value = "success", ze.value = !0, to.value = "Do you want to reset this page?", eo.value = "Are you sure you want to reset this page? This will overwrite your current changes.", ye.value = "Close", Ne.value = null, Sr.value = "Reset changes", Fe.value = function() {
24357
24361
  ze.value = !1;
24358
- }, Sr.value = async function() {
24362
+ }, Cr.value = async function() {
24359
24363
  }, ro.value = async function() {
24360
24364
  await e.restoreOriginalContent(), ze.value = !1;
24361
24365
  };
24362
- }, Cr = function() {
24366
+ }, Mr = function() {
24363
24367
  p.value || (w.value = !0);
24364
- }, Mr = S(null);
24368
+ }, Er = S(null);
24365
24369
  let mi = null, ui = null;
24366
24370
  function Io() {
24367
- const at = Mr.value, N = at && at.querySelector("#editToolbar"), O = z.value;
24371
+ const at = Er.value, N = at && at.querySelector("#editToolbar"), O = z.value;
24368
24372
  if (!at || !N) return;
24369
24373
  const V = at.querySelector("[selected]");
24370
24374
  if (V && typeof V.getBoundingClientRect == "function") {
@@ -24372,19 +24376,19 @@ const Q6 = /* @__PURE__ */ is(J6, [["render", X6]]), Z6 = { class: "pbx-font-san
24372
24376
  N.style.position = "absolute", N.style.left = `${nt}px`, N.style.top = `${or}px`, N.classList.add("is-visible"), mi = nt, ui = or;
24373
24377
  } else O && mi !== null && ui !== null ? (N.style.position = "absolute", N.style.left = `${mi}px`, N.style.top = `${ui}px`, N.classList.add("is-visible")) : N.classList.remove("is-visible");
24374
24378
  }
24375
- return gr(async () => {
24379
+ return fr(async () => {
24376
24380
  await e.completeBuilderInitialization(), Io();
24377
- const at = Mr.value;
24381
+ const at = Er.value;
24378
24382
  if (!at) return;
24379
24383
  new MutationObserver(Io).observe(at, {
24380
24384
  childList: !0,
24381
24385
  subtree: !0,
24382
24386
  attributes: !0,
24383
24387
  attributeFilter: ["selected"]
24384
- }), window.addEventListener("scroll", Io), window.addEventListener("resize", Io), await Se(1e4), Cr(), await Se(1e4), Cr(), await Se(1e4), Cr();
24388
+ }), window.addEventListener("scroll", Io), window.addEventListener("resize", Io), await Se(1e4), Mr(), await Se(1e4), Mr(), await Se(1e4), Mr();
24385
24389
  }), (at, N) => (v(), C("div", Z6, [
24386
24390
  gt.value && !w.value ? (v(), ct(Q6, { key: 0 })) : I("", !0),
24387
- U(mr, {
24391
+ U(ur, {
24388
24392
  title: "The builder hasn’t started yet",
24389
24393
  showModalBuilder: w.value,
24390
24394
  onCloseMainModalBuilder: k,
@@ -24406,7 +24410,7 @@ const Q6 = /* @__PURE__ */ is(J6, [["render", X6]]), Z6 = { class: "pbx-font-san
24406
24410
  CustomBuilderComponents: o.CustomBuilderComponents,
24407
24411
  onFirstModalButtonSearchComponentsFunction: j.value
24408
24412
  }, null, 8, ["show", "firstButtonText", "title", "CustomBuilderComponents", "onFirstModalButtonSearchComponentsFunction"])) : I("", !0),
24409
- U(mr, {
24413
+ U(ur, {
24410
24414
  title: "Preview",
24411
24415
  showModalBuilder: m.value,
24412
24416
  onCloseMainModalBuilder: h,
@@ -24417,7 +24421,7 @@ const Q6 = /* @__PURE__ */ is(J6, [["render", X6]]), Z6 = { class: "pbx-font-san
24417
24421
  ]),
24418
24422
  _: 1
24419
24423
  }, 8, ["showModalBuilder"]),
24420
- U(mr, {
24424
+ U(ur, {
24421
24425
  title: "Mobile",
24422
24426
  showModalBuilder: g.value,
24423
24427
  onCloseMainModalBuilder: B,
@@ -24440,7 +24444,7 @@ const Q6 = /* @__PURE__ */ is(J6, [["render", X6]]), Z6 = { class: "pbx-font-san
24440
24444
  thirdButtonText: Ae.value,
24441
24445
  onFirstModalButtonFunctionDynamicModalBuilder: rr.value,
24442
24446
  onSecondModalButtonFunctionDynamicModalBuilder: Zr.value,
24443
- onThirdModalButtonFunctionDynamicModalBuilder: wr.value
24447
+ onThirdModalButtonFunctionDynamicModalBuilder: vr.value
24444
24448
  }, {
24445
24449
  default: K(() => N[22] || (N[22] = [
24446
24450
  b("header", null, null, -1),
@@ -24452,15 +24456,15 @@ const Q6 = /* @__PURE__ */ is(J6, [["render", X6]]), Z6 = { class: "pbx-font-san
24452
24456
  U(vo, {
24453
24457
  showDynamicModalBuilder: ze.value,
24454
24458
  isLoading: Yt.value,
24455
- type: vr.value,
24459
+ type: kr.value,
24456
24460
  gridColumnAmount: No.value,
24457
24461
  title: to.value,
24458
24462
  description: eo.value,
24459
24463
  firstButtonText: ye.value,
24460
24464
  secondButtonText: Ne.value,
24461
- thirdButtonText: kr.value,
24465
+ thirdButtonText: Sr.value,
24462
24466
  onFirstModalButtonFunctionDynamicModalBuilder: Fe.value,
24463
- onSecondModalButtonFunctionDynamicModalBuilder: Sr.value,
24467
+ onSecondModalButtonFunctionDynamicModalBuilder: Cr.value,
24464
24468
  onThirdModalButtonFunctionDynamicModalBuilder: ro.value
24465
24469
  }, {
24466
24470
  default: K(() => N[23] || (N[23] = [
@@ -24668,7 +24672,7 @@ const Q6 = /* @__PURE__ */ is(J6, [["render", X6]]), Z6 = { class: "pbx-font-san
24668
24672
  ]),
24669
24673
  b("main", {
24670
24674
  ref_key: "pbxToolBar",
24671
- ref: Mr,
24675
+ ref: Er,
24672
24676
  class: Q(["pbx-flex pbx-flex-col pbx-grow pbx-rounded-tr-2xl pbx-rounded-tl-2xl pbx-border-solid pbx-border pbx-border-gray-200 pbx-items-stretch pbx-h-[100vh]", { "pbx-mr-2": !c.value, "": c.value }])
24673
24677
  }, [
24674
24678
  b("div", xC, [