@myissue/vue-website-page-builder 3.1.11 → 3.1.12

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,7 +7,7 @@ var be = (r, e, t) => _g(r, typeof e != "symbol" ? e + "" : e, t), oc = (r, e, t
7
7
  var Ei = (r, e, t) => (oc(r, e, "read from private field"), t ? t.call(r) : e.get(r)), an = (r, e, t) => e.has(r) ? rc("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(r) : e.set(r, t);
8
8
  var Ce = (r, e, t) => (oc(r, e, "access private method"), t);
9
9
  import * as nc from "vue";
10
- import { effectScope as du, ref as x, markRaw as Cr, hasInjectionContext as Fg, inject as re, getCurrentInstance as Jl, toRaw as et, reactive as cu, isRef as In, isReactive as Yl, toRef as va, nextTick as Me, watch as pe, unref as T, getCurrentScope as jg, onScopeDispose as Hg, toRefs as ic, computed as L, watchEffect as ot, onMounted as Se, cloneVNode as Vg, h as Ee, Fragment as ve, defineComponent as he, provide as He, onUnmounted as xt, shallowRef as pu, Teleport as Yo, normalizeClass as X, createBlock as xe, openBlock as S, createVNode as $, withCtx as z, withKeys as uu, withModifiers as Po, createElementVNode as g, renderSlot as Wt, createElementBlock as O, createCommentVNode as R, toDisplayString as F, Transition as Dt, onBeforeUnmount as Qs, customRef as Ug, onBeforeMount as qg, withDirectives as at, vModelText as Xl, createTextVNode as De, resolveDynamicComponent as mu, renderList as Le, vModelSelect as Rt, vShow as Wg, createStaticVNode as Kg } from "vue";
10
+ import { effectScope as du, ref as x, markRaw as Cr, hasInjectionContext as Fg, inject as re, getCurrentInstance as Jl, toRaw as et, reactive as cu, isRef as In, isReactive as Yl, toRef as va, nextTick as Me, watch as pe, unref as T, getCurrentScope as jg, onScopeDispose as Hg, toRefs as ic, computed as L, watchEffect as ot, onMounted as Se, cloneVNode as Vg, h as Ee, Fragment as ve, defineComponent as he, provide as He, onUnmounted as xt, shallowRef as pu, Teleport as Yo, normalizeClass as X, createBlock as xe, openBlock as S, createVNode as $, withCtx as z, withKeys as uu, withModifiers as Po, createElementVNode as g, renderSlot as Wt, createElementBlock as O, createCommentVNode as R, toDisplayString as F, Transition as Dt, onBeforeUnmount as Qs, customRef as qg, onBeforeMount as Ug, withDirectives as at, vModelText as Xl, createTextVNode as De, resolveDynamicComponent as mu, renderList as Le, vModelSelect as Rt, vShow as Wg, createStaticVNode as Kg } from "vue";
11
11
  function Mi(r, e, t) {
12
12
  return Array.isArray(r) ? (r.length = Math.max(r.length, e), r.splice(e, 1, t), t) : (r[e] = t, t);
13
13
  }
@@ -146,7 +146,7 @@ function bu(r) {
146
146
  }
147
147
  return e.status >= 200 && e.status <= 299;
148
148
  }
149
- function Ui(r) {
149
+ function qi(r) {
150
150
  try {
151
151
  r.dispatchEvent(new MouseEvent("click"));
152
152
  } catch {
@@ -154,11 +154,11 @@ function Ui(r) {
154
154
  t.initMouseEvent("click", !0, !0, window, 0, 0, 0, 80, 20, !1, !1, !1, !1, 0, null), r.dispatchEvent(t);
155
155
  }
156
156
  }
157
- const qi = typeof navigator == "object" ? navigator : { userAgent: "" }, yu = /Macintosh/.test(qi.userAgent) && /AppleWebKit/.test(qi.userAgent) && !/Safari/.test(qi.userAgent), wu = Er ? (
157
+ const Ui = typeof navigator == "object" ? navigator : { userAgent: "" }, yu = /Macintosh/.test(Ui.userAgent) && /AppleWebKit/.test(Ui.userAgent) && !/Safari/.test(Ui.userAgent), wu = Er ? (
158
158
  // Use download attribute first if possible (#193 Lumia mobile) unless this is a macOS WebView or mini program
159
159
  typeof HTMLAnchorElement < "u" && "download" in HTMLAnchorElement.prototype && !yu ? rf : (
160
160
  // Use msSaveOrOpenBlob as a second approach
161
- "msSaveOrOpenBlob" in qi ? of : (
161
+ "msSaveOrOpenBlob" in Ui ? of : (
162
162
  // Fallback to using FileReader and a popup
163
163
  nf
164
164
  )
@@ -167,10 +167,10 @@ const qi = typeof navigator == "object" ? navigator : { userAgent: "" }, yu = /M
167
167
  };
168
168
  function rf(r, e = "download", t) {
169
169
  const o = document.createElement("a");
170
- o.download = e, o.rel = "noopener", typeof r == "string" ? (o.href = r, o.origin !== location.origin ? bu(o.href) ? Ql(r, e, t) : (o.target = "_blank", Ui(o)) : Ui(o)) : (o.href = URL.createObjectURL(r), setTimeout(function() {
170
+ o.download = e, o.rel = "noopener", typeof r == "string" ? (o.href = r, o.origin !== location.origin ? bu(o.href) ? Ql(r, e, t) : (o.target = "_blank", qi(o)) : qi(o)) : (o.href = URL.createObjectURL(r), setTimeout(function() {
171
171
  URL.revokeObjectURL(o.href);
172
172
  }, 4e4), setTimeout(function() {
173
- Ui(o);
173
+ qi(o);
174
174
  }, 0));
175
175
  }
176
176
  function of(r, e = "download", t) {
@@ -180,7 +180,7 @@ function of(r, e = "download", t) {
180
180
  else {
181
181
  const o = document.createElement("a");
182
182
  o.href = r, o.target = "_blank", setTimeout(function() {
183
- Ui(o);
183
+ qi(o);
184
184
  });
185
185
  }
186
186
  else
@@ -1681,7 +1681,7 @@ const rs = {
1681
1681
  "mx-80",
1682
1682
  "mx-96"
1683
1683
  ]
1684
- }, Ut = {
1684
+ }, qt = {
1685
1685
  roundedGlobal: [
1686
1686
  "none",
1687
1687
  "rounded-sm",
@@ -2242,19 +2242,19 @@ class Qe {
2242
2242
  }
2243
2243
  // border radius / start
2244
2244
  handleBorderRadiusGlobal(e) {
2245
- this.showRunningMethodLogs && console.log("handleBorderRadiusGlobal"), Ce(this, ue, Ie).call(this, e, Ut.roundedGlobal, "setBorderRadiusGlobal");
2245
+ this.showRunningMethodLogs && console.log("handleBorderRadiusGlobal"), Ce(this, ue, Ie).call(this, e, qt.roundedGlobal, "setBorderRadiusGlobal");
2246
2246
  }
2247
2247
  handleBorderRadiusTopLeft(e) {
2248
- this.showRunningMethodLogs && console.log("handleBorderRadiusTopLeft"), Ce(this, ue, Ie).call(this, e, Ut.roundedTopLeft, "setBorderRadiusTopLeft");
2248
+ this.showRunningMethodLogs && console.log("handleBorderRadiusTopLeft"), Ce(this, ue, Ie).call(this, e, qt.roundedTopLeft, "setBorderRadiusTopLeft");
2249
2249
  }
2250
2250
  handleBorderRadiusTopRight(e) {
2251
- this.showRunningMethodLogs && console.log("handleBorderRadiusTopRight"), Ce(this, ue, Ie).call(this, e, Ut.roundedTopRight, "setBorderRadiusTopRight");
2251
+ this.showRunningMethodLogs && console.log("handleBorderRadiusTopRight"), Ce(this, ue, Ie).call(this, e, qt.roundedTopRight, "setBorderRadiusTopRight");
2252
2252
  }
2253
2253
  handleBorderRadiusBottomleft(e) {
2254
- this.showRunningMethodLogs && console.log("handleBorderRadiusBottomleft"), Ce(this, ue, Ie).call(this, e, Ut.roundedBottomLeft, "setBorderRadiusBottomleft");
2254
+ this.showRunningMethodLogs && console.log("handleBorderRadiusBottomleft"), Ce(this, ue, Ie).call(this, e, qt.roundedBottomLeft, "setBorderRadiusBottomleft");
2255
2255
  }
2256
2256
  handleBorderRadiusBottomRight(e) {
2257
- this.showRunningMethodLogs && console.log("handleBorderRadiusBottomRight"), Ce(this, ue, Ie).call(this, e, Ut.roundedBottomRight, "setBorderRadiusBottomRight");
2257
+ this.showRunningMethodLogs && console.log("handleBorderRadiusBottomRight"), Ce(this, ue, Ie).call(this, e, qt.roundedBottomRight, "setBorderRadiusBottomRight");
2258
2258
  }
2259
2259
  // border radius / end
2260
2260
  handleFontSize(e) {
@@ -2333,15 +2333,17 @@ class Qe {
2333
2333
  }
2334
2334
  previewCurrentDesign() {
2335
2335
  this.showRunningMethodLogs && console.log("previewCurrentDesign"), this.pageBuilderStateStore.setElement(null);
2336
- const e = x([]);
2337
- document.querySelectorAll("section:not(section section)").forEach((o) => {
2338
- const n = o.querySelector("[hovered]");
2339
- n && n.removeAttribute("hovered");
2340
- const i = o.querySelector("[selected]");
2341
- i && i.removeAttribute("selected"), e.value.push(o.outerHTML);
2336
+ const e = document.querySelector("#pagebuilder");
2337
+ if (!e) return;
2338
+ const t = x([]);
2339
+ e.querySelectorAll("section:not(section section)").forEach((n) => {
2340
+ const i = n.querySelector("[hovered]");
2341
+ i && i.removeAttribute("hovered");
2342
+ const s = n.querySelector("[selected]");
2343
+ s && s.removeAttribute("selected"), t.value.push(n.outerHTML);
2342
2344
  });
2343
- const t = JSON.stringify(e.value);
2344
- this.pageBuilderStateStore.setCurrentLayoutPreview(t), e.value = [];
2345
+ const o = JSON.stringify(t.value);
2346
+ this.pageBuilderStateStore.setCurrentLayoutPreview(o), t.value = [];
2345
2347
  }
2346
2348
  // Helper function to sanitize title for localStorage key
2347
2349
  sanitizeForLocalStorage(e) {
@@ -3144,7 +3146,7 @@ let jf = Symbol("headlessui.useid"), Hf = 0;
3144
3146
  const bt = (hc = nc.useId) != null ? hc : function() {
3145
3147
  return nc.inject(jf, () => `${++Hf}`)();
3146
3148
  };
3147
- function q(r) {
3149
+ function U(r) {
3148
3150
  var e;
3149
3151
  if (r == null || r.value == null) return null;
3150
3152
  let t = (e = r.value.$el) != null ? e : r.value;
@@ -3158,8 +3160,8 @@ function ze(r, e, ...t) {
3158
3160
  let o = new Error(`Tried to handle "${r}" but there is no handler defined. Only defined handlers are: ${Object.keys(e).map((n) => `"${n}"`).join(", ")}.`);
3159
3161
  throw Error.captureStackTrace && Error.captureStackTrace(o, ze), o;
3160
3162
  }
3161
- var Vf = Object.defineProperty, Uf = (r, e, t) => e in r ? Vf(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, gc = (r, e, t) => (Uf(r, typeof e != "symbol" ? e + "" : e, t), t);
3162
- let qf = class {
3163
+ var Vf = Object.defineProperty, qf = (r, e, t) => e in r ? Vf(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, gc = (r, e, t) => (qf(r, typeof e != "symbol" ? e + "" : e, t), t);
3164
+ let Uf = class {
3163
3165
  constructor() {
3164
3166
  gc(this, "current", this.detect()), gc(this, "currentId", 0);
3165
3167
  }
@@ -3181,18 +3183,18 @@ let qf = class {
3181
3183
  detect() {
3182
3184
  return typeof window > "u" || typeof document > "u" ? "server" : "client";
3183
3185
  }
3184
- }, ei = new qf();
3186
+ }, ei = new Uf();
3185
3187
  function _r(r) {
3186
3188
  if (ei.isServer) return null;
3187
3189
  if (r instanceof Node) return r.ownerDocument;
3188
3190
  if (r != null && r.hasOwnProperty("value")) {
3189
- let e = q(r);
3191
+ let e = U(r);
3190
3192
  if (e) return e.ownerDocument;
3191
3193
  }
3192
3194
  return document;
3193
3195
  }
3194
3196
  let al = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])"].map((r) => `${r}:not([tabindex='-1'])`).join(",");
3195
- var qt = ((r) => (r[r.First = 1] = "First", r[r.Previous = 2] = "Previous", r[r.Next = 4] = "Next", r[r.Last = 8] = "Last", r[r.WrapAround = 16] = "WrapAround", r[r.NoScroll = 32] = "NoScroll", r))(qt || {}), Nu = ((r) => (r[r.Error = 0] = "Error", r[r.Overflow = 1] = "Overflow", r[r.Success = 2] = "Success", r[r.Underflow = 3] = "Underflow", r))(Nu || {}), Wf = ((r) => (r[r.Previous = -1] = "Previous", r[r.Next = 1] = "Next", r))(Wf || {});
3197
+ var Ut = ((r) => (r[r.First = 1] = "First", r[r.Previous = 2] = "Previous", r[r.Next = 4] = "Next", r[r.Last = 8] = "Last", r[r.WrapAround = 16] = "WrapAround", r[r.NoScroll = 32] = "NoScroll", r))(Ut || {}), Nu = ((r) => (r[r.Error = 0] = "Error", r[r.Overflow = 1] = "Overflow", r[r.Success = 2] = "Success", r[r.Underflow = 3] = "Underflow", r))(Nu || {}), Wf = ((r) => (r[r.Previous = -1] = "Previous", r[r.Next = 1] = "Next", r))(Wf || {});
3196
3198
  function Iu(r = document.body) {
3197
3199
  return r == null ? [] : Array.from(r.querySelectorAll(al)).sort((e, t) => Math.sign((e.tabIndex || Number.MAX_SAFE_INTEGER) - (t.tabIndex || Number.MAX_SAFE_INTEGER)));
3198
3200
  }
@@ -3297,7 +3299,7 @@ function od(r, e, t = L(() => !0)) {
3297
3299
  }(r);
3298
3300
  for (let d of l) {
3299
3301
  if (d === null) continue;
3300
- let c = d instanceof HTMLElement ? d : q(d);
3302
+ let c = d instanceof HTMLElement ? d : U(d);
3301
3303
  if (c != null && c.contains(a) || i.composed && i.composedPath().includes(c)) return;
3302
3304
  }
3303
3305
  return !ea(a, Zs.Loose) && a.tabIndex !== -1 && i.preventDefault(), e(i, a);
@@ -3324,7 +3326,7 @@ function zu(r, e) {
3324
3326
  t.value = fc(r.value.type, r.value.as);
3325
3327
  }), ot(() => {
3326
3328
  var o;
3327
- t.value || q(e) && q(e) instanceof HTMLButtonElement && !((o = q(e)) != null && o.hasAttribute("type")) && (t.value = "button");
3329
+ t.value || U(e) && U(e) instanceof HTMLButtonElement && !((o = U(e)) != null && o.hasAttribute("type")) && (t.value = "button");
3328
3330
  }), t;
3329
3331
  }
3330
3332
  function bc(r) {
@@ -3486,16 +3488,16 @@ function Vu(r, e) {
3486
3488
  n1(r);
3487
3489
  }
3488
3490
  }
3489
- function Uu(r = {}, e = null, t = []) {
3490
- for (let [o, n] of Object.entries(r)) Wu(t, qu(e, o), n);
3491
+ function qu(r = {}, e = null, t = []) {
3492
+ for (let [o, n] of Object.entries(r)) Wu(t, Uu(e, o), n);
3491
3493
  return t;
3492
3494
  }
3493
- function qu(r, e) {
3495
+ function Uu(r, e) {
3494
3496
  return r ? r + "[" + e + "]" : e;
3495
3497
  }
3496
3498
  function Wu(r, e, t) {
3497
- if (Array.isArray(t)) for (let [o, n] of t.entries()) Wu(r, qu(e, o.toString()), n);
3498
- else t instanceof Date ? r.push([e, t.toISOString()]) : typeof t == "boolean" ? r.push([e, t ? "1" : "0"]) : typeof t == "string" ? r.push([e, t]) : typeof t == "number" ? r.push([e, `${t}`]) : t == null ? r.push([e, ""]) : Uu(t, e, r);
3499
+ if (Array.isArray(t)) for (let [o, n] of t.entries()) Wu(r, Uu(e, o.toString()), n);
3500
+ else t instanceof Date ? r.push([e, t.toISOString()]) : typeof t == "boolean" ? r.push([e, t ? "1" : "0"]) : typeof t == "string" ? r.push([e, t]) : typeof t == "number" ? r.push([e, `${t}`]) : t == null ? r.push([e, ""]) : qu(t, e, r);
3499
3501
  }
3500
3502
  function Ku(r, e, t, o) {
3501
3503
  ei.isServer || ot((n) => {
@@ -3514,7 +3516,7 @@ function Gu(r) {
3514
3516
  if (typeof r == "function") return new Set(r());
3515
3517
  let e = /* @__PURE__ */ new Set();
3516
3518
  for (let t of r.value) {
3517
- let o = q(t);
3519
+ let o = U(t);
3518
3520
  o instanceof HTMLElement && e.add(o);
3519
3521
  }
3520
3522
  return e;
@@ -3529,12 +3531,12 @@ let ln = Object.assign(he({ name: "FocusTrap", props: { as: { type: [Object, Str
3529
3531
  d1({ ownerDocument: i, container: n, containers: r.containers, previousActiveElement: a }, L(() => s.value && !!(r.features & 8)));
3530
3532
  let l = i1();
3531
3533
  function d(m) {
3532
- let h = q(n);
3534
+ let h = U(n);
3533
3535
  h && ((f) => f())(() => {
3534
3536
  ze(l.value, { [gn.Forwards]: () => {
3535
- vn(h, qt.First, { skipElements: [m.relatedTarget] });
3537
+ vn(h, Ut.First, { skipElements: [m.relatedTarget] });
3536
3538
  }, [gn.Backwards]: () => {
3537
- vn(h, qt.Last, { skipElements: [m.relatedTarget] });
3539
+ vn(h, Ut.Last, { skipElements: [m.relatedTarget] });
3538
3540
  } });
3539
3541
  });
3540
3542
  }
@@ -3547,9 +3549,9 @@ let ln = Object.assign(he({ name: "FocusTrap", props: { as: { type: [Object, Str
3547
3549
  function u(m) {
3548
3550
  if (!s.value) return;
3549
3551
  let h = Gu(r.containers);
3550
- q(n) instanceof HTMLElement && h.add(q(n));
3552
+ U(n) instanceof HTMLElement && h.add(U(n));
3551
3553
  let f = m.relatedTarget;
3552
- f instanceof HTMLElement && f.dataset.headlessuiFocusGuard !== "true" && (Yu(h, f) || (c.value ? vn(q(n), ze(l.value, { [gn.Forwards]: () => qt.Next, [gn.Backwards]: () => qt.Previous }) | qt.WrapAround, { relativeTo: m.target }) : m.target instanceof HTMLElement && Lr(m.target)));
3554
+ f instanceof HTMLElement && f.dataset.headlessuiFocusGuard !== "true" && (Yu(h, f) || (c.value ? vn(U(n), ze(l.value, { [gn.Forwards]: () => Ut.Next, [gn.Backwards]: () => Ut.Previous }) | Ut.WrapAround, { relativeTo: m.target }) : m.target instanceof HTMLElement && Lr(m.target)));
3553
3555
  }
3554
3556
  return () => {
3555
3557
  let m = {}, h = { ref: n, onKeydown: p, onFocusout: u }, { features: f, initialFocus: b, containers: w, ...E } = r;
@@ -3583,11 +3585,11 @@ function l1({ ownerDocument: r, container: e, initialFocus: t }, o) {
3583
3585
  return Se(() => i.value = !0), xt(() => i.value = !1), Se(() => {
3584
3586
  pe([e, t, o], (s, a) => {
3585
3587
  if (s.every((d, c) => (a == null ? void 0 : a[c]) === d) || !o.value) return;
3586
- let l = q(e);
3588
+ let l = U(e);
3587
3589
  l && td(() => {
3588
3590
  var d, c;
3589
3591
  if (!i.value) return;
3590
- let p = q(t), u = (d = r.value) == null ? void 0 : d.activeElement;
3592
+ let p = U(t), u = (d = r.value) == null ? void 0 : d.activeElement;
3591
3593
  if (p) {
3592
3594
  if (p === u) {
3593
3595
  n.value = u;
@@ -3597,7 +3599,7 @@ function l1({ ownerDocument: r, container: e, initialFocus: t }, o) {
3597
3599
  n.value = u;
3598
3600
  return;
3599
3601
  }
3600
- p ? Lr(p) : vn(l, qt.First | qt.NoScroll) === Nu.Error && console.warn("There are no focusable elements inside the <FocusTrap />"), n.value = (c = r.value) == null ? void 0 : c.activeElement;
3602
+ p ? Lr(p) : vn(l, Ut.First | Ut.NoScroll) === Nu.Error && console.warn("There are no focusable elements inside the <FocusTrap />"), n.value = (c = r.value) == null ? void 0 : c.activeElement;
3601
3603
  });
3602
3604
  }, { immediate: !0, flush: "post" });
3603
3605
  }), n;
@@ -3607,7 +3609,7 @@ function d1({ ownerDocument: r, container: e, containers: t, previousActiveEleme
3607
3609
  Ku((i = r.value) == null ? void 0 : i.defaultView, "focus", (s) => {
3608
3610
  if (!n.value) return;
3609
3611
  let a = Gu(t);
3610
- q(e) instanceof HTMLElement && a.add(q(e));
3612
+ U(e) instanceof HTMLElement && a.add(U(e));
3611
3613
  let l = o.value;
3612
3614
  if (!l) return;
3613
3615
  let d = s.target;
@@ -3741,7 +3743,7 @@ function yc(r, e = x(!0)) {
3741
3743
  ot((t) => {
3742
3744
  var o;
3743
3745
  if (!e.value) return;
3744
- let n = q(r);
3746
+ let n = U(r);
3745
3747
  if (!n) return;
3746
3748
  t(function() {
3747
3749
  var s;
@@ -3762,7 +3764,7 @@ function b1({ defaultContainers: r = [], portals: e, mainTreeNodeRef: t } = {})
3762
3764
  let d = [];
3763
3765
  for (let c of r) c !== null && (c instanceof HTMLElement ? d.push(c) : "value" in c && c.value instanceof HTMLElement && d.push(c.value));
3764
3766
  if (e != null && e.value) for (let c of e.value) d.push(c);
3765
- for (let c of (s = n == null ? void 0 : n.querySelectorAll("html > *, body > *")) != null ? s : []) c !== document.body && c !== document.head && c instanceof HTMLElement && c.id !== "headlessui-portal-root" && (c.contains(q(o)) || c.contains((l = (a = q(o)) == null ? void 0 : a.getRootNode()) == null ? void 0 : l.host) || d.some((p) => c.contains(p)) || d.push(c));
3767
+ for (let c of (s = n == null ? void 0 : n.querySelectorAll("html > *, body > *")) != null ? s : []) c !== document.body && c !== document.head && c instanceof HTMLElement && c.id !== "headlessui-portal-root" && (c.contains(U(o)) || c.contains((l = (a = U(o)) == null ? void 0 : a.getRootNode()) == null ? void 0 : l.host) || d.some((p) => c.contains(p)) || d.push(c));
3766
3768
  return d;
3767
3769
  }
3768
3770
  return { resolveContainers: i, contains(s) {
@@ -3855,7 +3857,7 @@ let em = he({ name: "Portal", props: { as: { type: [Object, String], default: "d
3855
3857
  let d = re(pl, null), c = !1, p = Jl();
3856
3858
  return pe(o, () => {
3857
3859
  if (c || !d) return;
3858
- let u = q(o);
3860
+ let u = U(o);
3859
3861
  u && (xt(d.register(u), p), c = !0);
3860
3862
  }), xt(() => {
3861
3863
  var u, m;
@@ -3917,12 +3919,12 @@ let Ai = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", oi = he({ name: "Dialog", inher
3917
3919
  return (oe = le.panelRef.value) != null ? oe : h.value;
3918
3920
  })] }), _ = L(() => E.value ? "parent" : "leaf"), P = L(() => u !== null ? (u.value & Be.Closing) === Be.Closing : !1), v = L(() => C || P.value ? !1 : w.value), I = L(() => {
3919
3921
  var oe, ce, Ne;
3920
- return (Ne = Array.from((ce = (oe = f.value) == null ? void 0 : oe.querySelectorAll("body > *")) != null ? ce : []).find((Te) => Te.id === "headlessui-portal-root" ? !1 : Te.contains(q(A)) && Te instanceof HTMLElement)) != null ? Ne : null;
3922
+ return (Ne = Array.from((ce = (oe = f.value) == null ? void 0 : oe.querySelectorAll("body > *")) != null ? ce : []).find((Te) => Te.id === "headlessui-portal-root" ? !1 : Te.contains(U(A)) && Te instanceof HTMLElement)) != null ? Ne : null;
3921
3923
  });
3922
3924
  yc(I, v);
3923
3925
  let W = L(() => E.value ? !0 : w.value), ne = L(() => {
3924
3926
  var oe, ce, Ne;
3925
- return (Ne = Array.from((ce = (oe = f.value) == null ? void 0 : oe.querySelectorAll("[data-headlessui-portal]")) != null ? ce : []).find((Te) => Te.contains(q(A)) && Te instanceof HTMLElement)) != null ? Ne : null;
3927
+ return (Ne = Array.from((ce = (oe = f.value) == null ? void 0 : oe.querySelectorAll("[data-headlessui-portal]")) != null ? ce : []).find((Te) => Te.contains(U(A)) && Te instanceof HTMLElement)) != null ? Ne : null;
3926
3928
  });
3927
3929
  yc(ne, W), v1({ type: "Dialog", enabled: L(() => b.value === 0), element: h, onUpdate: (oe, ce) => {
3928
3930
  if (ce === "Dialog") return ze(oe, { [dl.Add]: () => p.value += 1, [dl.Remove]: () => p.value -= 1 });
@@ -3947,7 +3949,7 @@ let Ai = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", oi = he({ name: "Dialog", inher
3947
3949
  return { containers: [...(ce = oe.containers) != null ? ce : [], k] };
3948
3950
  }), ot((oe) => {
3949
3951
  if (b.value !== 0) return;
3950
- let ce = q(h);
3952
+ let ce = U(h);
3951
3953
  if (!ce) return;
3952
3954
  let Ne = new ResizeObserver((Te) => {
3953
3955
  for (let it of Te) {
@@ -4031,7 +4033,7 @@ function O1(r) {
4031
4033
  function om(r) {
4032
4034
  let e = x(""), t = x("");
4033
4035
  return () => {
4034
- let o = q(r);
4036
+ let o = U(r);
4035
4037
  if (!o) return "";
4036
4038
  let n = o.innerText;
4037
4039
  if (e.value === n) return t.value;
@@ -4058,7 +4060,7 @@ function ni(r) {
4058
4060
  let ii = he({ name: "Listbox", emits: { "update:modelValue": (r) => !0 }, props: { as: { type: [Object, String], default: "template" }, disabled: { type: [Boolean], default: !1 }, by: { type: [String, Function], default: () => P1 }, horizontal: { type: [Boolean], default: !1 }, modelValue: { type: [Object, String, Number, Boolean], default: void 0 }, defaultValue: { type: [Object, String, Number, Boolean], default: void 0 }, form: { type: String, optional: !0 }, name: { type: String, optional: !0 }, multiple: { type: [Boolean], default: !1 } }, inheritAttrs: !1, setup(r, { slots: e, attrs: t, emit: o }) {
4059
4061
  let n = x(1), i = x(null), s = x(null), a = x(null), l = x([]), d = x(""), c = x(null), p = x(1);
4060
4062
  function u(C = (y) => y) {
4061
- let y = c.value !== null ? l.value[c.value] : null, M = rd(C(l.value.slice()), (A) => q(A.dataRef.domRef)), k = y ? M.indexOf(y) : null;
4063
+ let y = c.value !== null ? l.value[c.value] : null, M = rd(C(l.value.slice()), (A) => U(A.dataRef.domRef)), k = y ? M.indexOf(y) : null;
4062
4064
  return k === -1 && (k = null), { options: M, activeOptionIndex: k };
4063
4065
  }
4064
4066
  let m = L(() => r.multiple ? 1 : 0), [h, f] = Ff(L(() => r.modelValue), (C) => o("update:modelValue", C), L(() => r.defaultValue)), b = L(() => h.value === void 0 ? ze(m.value, { 1: [], 0: void 0 }) : h.value), w = { listboxState: n, value: b, mode: m, compare(C, y) {
@@ -4102,11 +4104,11 @@ let ii = he({ name: "Listbox", emits: { "update:modelValue": (r) => !0 }, props:
4102
4104
  } };
4103
4105
  od([s, a], (C, y) => {
4104
4106
  var M;
4105
- w.closeListbox(), ea(y, Zs.Loose) || (C.preventDefault(), (M = q(s)) == null || M.focus());
4107
+ w.closeListbox(), ea(y, Zs.Loose) || (C.preventDefault(), (M = U(s)) == null || M.focus());
4106
4108
  }, L(() => n.value === 0)), He(nm, w), id(L(() => ze(n.value, { 0: Be.Open, 1: Be.Closed })));
4107
4109
  let E = L(() => {
4108
4110
  var C;
4109
- return (C = q(s)) == null ? void 0 : C.closest("form");
4111
+ return (C = U(s)) == null ? void 0 : C.closest("form");
4110
4112
  });
4111
4113
  return Se(() => {
4112
4114
  pe([E], () => {
@@ -4121,7 +4123,7 @@ let ii = he({ name: "Listbox", emits: { "update:modelValue": (r) => !0 }, props:
4121
4123
  }, { immediate: !0 });
4122
4124
  }), () => {
4123
4125
  let { name: C, modelValue: y, disabled: M, form: k, ...A } = r, H = { open: n.value === 0, disabled: M, value: b.value };
4124
- return Ee(ve, [...C != null && b.value != null ? Uu({ [C]: b.value }).map(([_, P]) => Ee(is, e1({ features: Rn.Hidden, key: _, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: k, disabled: M, name: _, value: P }))) : [], Ae({ ourProps: {}, theirProps: { ...t, ...nd(A, ["defaultValue", "onUpdate:modelValue", "horizontal", "multiple", "by"]) }, slot: H, slots: e, attrs: t, name: "Listbox" })]);
4126
+ return Ee(ve, [...C != null && b.value != null ? qu({ [C]: b.value }).map(([_, P]) => Ee(is, e1({ features: Rn.Hidden, key: _, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: k, disabled: M, name: _, value: P }))) : [], Ae({ ourProps: {}, theirProps: { ...t, ...nd(A, ["defaultValue", "onUpdate:modelValue", "horizontal", "multiple", "by"]) }, slot: H, slots: e, attrs: t, name: "Listbox" })]);
4125
4127
  };
4126
4128
  } });
4127
4129
  he({ name: "ListboxLabel", props: { as: { type: [Object, String], default: "label" }, id: { type: String, default: null } }, setup(r, { attrs: e, slots: t }) {
@@ -4129,7 +4131,7 @@ he({ name: "ListboxLabel", props: { as: { type: [Object, String], default: "labe
4129
4131
  let n = (o = r.id) != null ? o : `headlessui-listbox-label-${bt()}`, i = ni("ListboxLabel");
4130
4132
  function s() {
4131
4133
  var a;
4132
- (a = q(i.buttonRef)) == null || a.focus({ preventScroll: !0 });
4134
+ (a = U(i.buttonRef)) == null || a.focus({ preventScroll: !0 });
4133
4135
  }
4134
4136
  return () => {
4135
4137
  let a = { open: i.listboxState.value === 0, disabled: i.disabled.value }, { ...l } = r, d = { id: n, ref: i.labelRef, onClick: s };
@@ -4147,13 +4149,13 @@ let si = he({ name: "ListboxButton", props: { as: { type: [Object, String], defa
4147
4149
  case ie.ArrowDown:
4148
4150
  p.preventDefault(), s.openListbox(), Me(() => {
4149
4151
  var u;
4150
- (u = q(s.optionsRef)) == null || u.focus({ preventScroll: !0 }), s.value.value || s.goToOption(ye.First);
4152
+ (u = U(s.optionsRef)) == null || u.focus({ preventScroll: !0 }), s.value.value || s.goToOption(ye.First);
4151
4153
  });
4152
4154
  break;
4153
4155
  case ie.ArrowUp:
4154
4156
  p.preventDefault(), s.openListbox(), Me(() => {
4155
4157
  var u;
4156
- (u = q(s.optionsRef)) == null || u.focus({ preventScroll: !0 }), s.value.value || s.goToOption(ye.Last);
4158
+ (u = U(s.optionsRef)) == null || u.focus({ preventScroll: !0 }), s.value.value || s.goToOption(ye.Last);
4157
4159
  });
4158
4160
  break;
4159
4161
  }
@@ -4168,16 +4170,16 @@ let si = he({ name: "ListboxButton", props: { as: { type: [Object, String], defa
4168
4170
  function d(p) {
4169
4171
  s.disabled.value || (s.listboxState.value === 0 ? (s.closeListbox(), Me(() => {
4170
4172
  var u;
4171
- return (u = q(s.buttonRef)) == null ? void 0 : u.focus({ preventScroll: !0 });
4173
+ return (u = U(s.buttonRef)) == null ? void 0 : u.focus({ preventScroll: !0 });
4172
4174
  })) : (p.preventDefault(), s.openListbox(), N1(() => {
4173
4175
  var u;
4174
- return (u = q(s.optionsRef)) == null ? void 0 : u.focus({ preventScroll: !0 });
4176
+ return (u = U(s.optionsRef)) == null ? void 0 : u.focus({ preventScroll: !0 });
4175
4177
  })));
4176
4178
  }
4177
4179
  let c = zu(L(() => ({ as: r.as, type: e.type })), s.buttonRef);
4178
4180
  return () => {
4179
4181
  var p, u;
4180
- let m = { open: s.listboxState.value === 0, disabled: s.disabled.value, value: s.value.value }, { ...h } = r, f = { ref: s.buttonRef, id: i, type: c.value, "aria-haspopup": "listbox", "aria-controls": (p = q(s.optionsRef)) == null ? void 0 : p.id, "aria-expanded": s.listboxState.value === 0, "aria-labelledby": s.labelRef.value ? [(u = q(s.labelRef)) == null ? void 0 : u.id, i].join(" ") : void 0, disabled: s.disabled.value === !0 ? !0 : void 0, onKeydown: a, onKeyup: l, onClick: d };
4182
+ let m = { open: s.listboxState.value === 0, disabled: s.disabled.value, value: s.value.value }, { ...h } = r, f = { ref: s.buttonRef, id: i, type: c.value, "aria-haspopup": "listbox", "aria-controls": (p = U(s.optionsRef)) == null ? void 0 : p.id, "aria-expanded": s.listboxState.value === 0, "aria-labelledby": s.labelRef.value ? [(u = U(s.labelRef)) == null ? void 0 : u.id, i].join(" ") : void 0, disabled: s.disabled.value === !0 ? !0 : void 0, onKeydown: a, onKeyup: l, onClick: d };
4181
4183
  return Ae({ ourProps: f, theirProps: h, slot: m, attrs: e, slots: t, name: "ListboxButton" });
4182
4184
  };
4183
4185
  } }), ai = he({ name: "ListboxOptions", props: { as: { type: [Object, String], default: "ul" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, id: { type: String, default: null } }, setup(r, { attrs: e, slots: t, expose: o }) {
@@ -4195,7 +4197,7 @@ let si = he({ name: "ListboxButton", props: { as: { type: [Object, String], defa
4195
4197
  }
4196
4198
  s.mode.value === 0 && (s.closeListbox(), Me(() => {
4197
4199
  var u;
4198
- return (u = q(s.buttonRef)) == null ? void 0 : u.focus({ preventScroll: !0 });
4200
+ return (u = U(s.buttonRef)) == null ? void 0 : u.focus({ preventScroll: !0 });
4199
4201
  }));
4200
4202
  break;
4201
4203
  case ze(s.orientation.value, { vertical: ie.ArrowDown, horizontal: ie.ArrowRight }):
@@ -4211,7 +4213,7 @@ let si = he({ name: "ListboxButton", props: { as: { type: [Object, String], defa
4211
4213
  case ie.Escape:
4212
4214
  p.preventDefault(), p.stopPropagation(), s.closeListbox(), Me(() => {
4213
4215
  var u;
4214
- return (u = q(s.buttonRef)) == null ? void 0 : u.focus({ preventScroll: !0 });
4216
+ return (u = U(s.buttonRef)) == null ? void 0 : u.focus({ preventScroll: !0 });
4215
4217
  });
4216
4218
  break;
4217
4219
  case ie.Tab:
@@ -4225,7 +4227,7 @@ let si = he({ name: "ListboxButton", props: { as: { type: [Object, String], defa
4225
4227
  let d = ti(), c = L(() => d !== null ? (d.value & Be.Open) === Be.Open : s.listboxState.value === 0);
4226
4228
  return () => {
4227
4229
  var p, u;
4228
- let m = { open: s.listboxState.value === 0 }, { ...h } = r, f = { "aria-activedescendant": s.activeOptionIndex.value === null || (p = s.options.value[s.activeOptionIndex.value]) == null ? void 0 : p.id, "aria-multiselectable": s.mode.value === 1 ? !0 : void 0, "aria-labelledby": (u = q(s.buttonRef)) == null ? void 0 : u.id, "aria-orientation": s.orientation.value, id: i, onKeydown: l, role: "listbox", tabIndex: 0, ref: s.optionsRef };
4230
+ let m = { open: s.listboxState.value === 0 }, { ...h } = r, f = { "aria-activedescendant": s.activeOptionIndex.value === null || (p = s.options.value[s.activeOptionIndex.value]) == null ? void 0 : p.id, "aria-multiselectable": s.mode.value === 1 ? !0 : void 0, "aria-labelledby": (u = U(s.buttonRef)) == null ? void 0 : u.id, "aria-orientation": s.orientation.value, id: i, onKeydown: l, role: "listbox", tabIndex: 0, ref: s.optionsRef };
4229
4231
  return Ae({ ourProps: f, theirProps: h, slot: m, attrs: e, slots: t, features: $r.RenderStrategy | $r.Static, visible: c.value, name: "ListboxOptions" });
4230
4232
  };
4231
4233
  } }), li = he({ name: "ListboxOption", props: { as: { type: [Object, String], default: "li" }, value: { type: [Object, String, Number, Boolean] }, disabled: { type: Boolean, default: !1 }, id: { type: String, default: null } }, setup(r, { slots: e, attrs: t, expose: o }) {
@@ -4250,14 +4252,14 @@ let si = he({ name: "ListboxButton", props: { as: { type: [Object, String], defa
4250
4252
  }), ot(() => {
4251
4253
  s.listboxState.value === 0 && l.value && s.activationTrigger.value !== 0 && Me(() => {
4252
4254
  var C, y;
4253
- return (y = (C = q(a)) == null ? void 0 : C.scrollIntoView) == null ? void 0 : y.call(C, { block: "nearest" });
4255
+ return (y = (C = U(a)) == null ? void 0 : C.scrollIntoView) == null ? void 0 : y.call(C, { block: "nearest" });
4254
4256
  });
4255
4257
  });
4256
4258
  function m(C) {
4257
4259
  if (r.disabled) return C.preventDefault();
4258
4260
  s.select(r.value), s.mode.value === 0 && (s.closeListbox(), Me(() => {
4259
4261
  var y;
4260
- return (y = q(s.buttonRef)) == null ? void 0 : y.focus({ preventScroll: !0 });
4262
+ return (y = U(s.buttonRef)) == null ? void 0 : y.focus({ preventScroll: !0 });
4261
4263
  }));
4262
4264
  }
4263
4265
  function h() {
@@ -4295,7 +4297,7 @@ function ta(r) {
4295
4297
  let $1 = he({ name: "Menu", props: { as: { type: [Object, String], default: "template" } }, setup(r, { slots: e, attrs: t }) {
4296
4298
  let o = x(1), n = x(null), i = x(null), s = x([]), a = x(""), l = x(null), d = x(1);
4297
4299
  function c(u = (m) => m) {
4298
- let m = l.value !== null ? s.value[l.value] : null, h = rd(u(s.value.slice()), (b) => q(b.dataRef.domRef)), f = m ? h.indexOf(m) : null;
4300
+ let m = l.value !== null ? s.value[l.value] : null, h = rd(u(s.value.slice()), (b) => U(b.dataRef.domRef)), f = m ? h.indexOf(m) : null;
4299
4301
  return f === -1 && (f = null), { items: h, activeItemIndex: f };
4300
4302
  }
4301
4303
  let p = { menuState: o, buttonRef: n, itemsRef: i, items: s, searchQuery: a, activeItemIndex: l, activationTrigger: d, closeMenu: () => {
@@ -4322,7 +4324,7 @@ let $1 = he({ name: "Menu", props: { as: { type: [Object, String], default: "tem
4322
4324
  } };
4323
4325
  return od([n, i], (u, m) => {
4324
4326
  var h;
4325
- p.closeMenu(), ea(m, Zs.Loose) || (u.preventDefault(), (h = q(n)) == null || h.focus());
4327
+ p.closeMenu(), ea(m, Zs.Loose) || (u.preventDefault(), (h = U(n)) == null || h.focus());
4326
4328
  }, L(() => o.value === 0)), He(im, p), id(L(() => ze(o.value, { 0: Be.Open, 1: Be.Closed }))), () => {
4327
4329
  let u = { open: o.value === 0, close: p.closeMenu };
4328
4330
  return Ae({ ourProps: {}, theirProps: r, slot: u, slots: e, attrs: t, name: "Menu" });
@@ -4338,13 +4340,13 @@ let $1 = he({ name: "Menu", props: { as: { type: [Object, String], default: "tem
4338
4340
  case ie.ArrowDown:
4339
4341
  p.preventDefault(), p.stopPropagation(), s.openMenu(), Me(() => {
4340
4342
  var u;
4341
- (u = q(s.itemsRef)) == null || u.focus({ preventScroll: !0 }), s.goToItem(ye.First);
4343
+ (u = U(s.itemsRef)) == null || u.focus({ preventScroll: !0 }), s.goToItem(ye.First);
4342
4344
  });
4343
4345
  break;
4344
4346
  case ie.ArrowUp:
4345
4347
  p.preventDefault(), p.stopPropagation(), s.openMenu(), Me(() => {
4346
4348
  var u;
4347
- (u = q(s.itemsRef)) == null || u.focus({ preventScroll: !0 }), s.goToItem(ye.Last);
4349
+ (u = U(s.itemsRef)) == null || u.focus({ preventScroll: !0 }), s.goToItem(ye.Last);
4348
4350
  });
4349
4351
  break;
4350
4352
  }
@@ -4359,22 +4361,22 @@ let $1 = he({ name: "Menu", props: { as: { type: [Object, String], default: "tem
4359
4361
  function d(p) {
4360
4362
  r.disabled || (s.menuState.value === 0 ? (s.closeMenu(), Me(() => {
4361
4363
  var u;
4362
- return (u = q(s.buttonRef)) == null ? void 0 : u.focus({ preventScroll: !0 });
4364
+ return (u = U(s.buttonRef)) == null ? void 0 : u.focus({ preventScroll: !0 });
4363
4365
  })) : (p.preventDefault(), s.openMenu(), R1(() => {
4364
4366
  var u;
4365
- return (u = q(s.itemsRef)) == null ? void 0 : u.focus({ preventScroll: !0 });
4367
+ return (u = U(s.itemsRef)) == null ? void 0 : u.focus({ preventScroll: !0 });
4366
4368
  })));
4367
4369
  }
4368
4370
  let c = zu(L(() => ({ as: r.as, type: e.type })), s.buttonRef);
4369
4371
  return () => {
4370
4372
  var p;
4371
- let u = { open: s.menuState.value === 0 }, { ...m } = r, h = { ref: s.buttonRef, id: i, type: c.value, "aria-haspopup": "menu", "aria-controls": (p = q(s.itemsRef)) == null ? void 0 : p.id, "aria-expanded": s.menuState.value === 0, onKeydown: a, onKeyup: l, onClick: d };
4373
+ let u = { open: s.menuState.value === 0 }, { ...m } = r, h = { ref: s.buttonRef, id: i, type: c.value, "aria-haspopup": "menu", "aria-controls": (p = U(s.itemsRef)) == null ? void 0 : p.id, "aria-expanded": s.menuState.value === 0, onKeydown: a, onKeyup: l, onClick: d };
4372
4374
  return Ae({ ourProps: h, theirProps: m, slot: u, attrs: e, slots: t, name: "MenuButton" });
4373
4375
  };
4374
4376
  } }), _1 = he({ name: "MenuItems", props: { as: { type: [Object, String], default: "div" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, id: { type: String, default: null } }, setup(r, { attrs: e, slots: t, expose: o }) {
4375
4377
  var n;
4376
4378
  let i = (n = r.id) != null ? n : `headlessui-menu-items-${bt()}`, s = ta("MenuItems"), a = x(null);
4377
- o({ el: s.itemsRef, $el: s.itemsRef }), Zf({ container: L(() => q(s.itemsRef)), enabled: L(() => s.menuState.value === 0), accept(u) {
4379
+ o({ el: s.itemsRef, $el: s.itemsRef }), Zf({ container: L(() => U(s.itemsRef)), enabled: L(() => s.menuState.value === 0), accept(u) {
4378
4380
  return u.getAttribute("role") === "menuitem" ? NodeFilter.FILTER_REJECT : u.hasAttribute("role") ? NodeFilter.FILTER_SKIP : NodeFilter.FILTER_ACCEPT;
4379
4381
  }, walk(u) {
4380
4382
  u.setAttribute("role", "none");
@@ -4387,9 +4389,9 @@ let $1 = he({ name: "Menu", props: { as: { type: [Object, String], default: "tem
4387
4389
  case ie.Enter:
4388
4390
  if (u.preventDefault(), u.stopPropagation(), s.activeItemIndex.value !== null) {
4389
4391
  let h = s.items.value[s.activeItemIndex.value];
4390
- (m = q(h.dataRef.domRef)) == null || m.click();
4392
+ (m = U(h.dataRef.domRef)) == null || m.click();
4391
4393
  }
4392
- s.closeMenu(), Du(q(s.buttonRef));
4394
+ s.closeMenu(), Du(U(s.buttonRef));
4393
4395
  break;
4394
4396
  case ie.ArrowDown:
4395
4397
  return u.preventDefault(), u.stopPropagation(), s.goToItem(ye.Next);
@@ -4404,11 +4406,11 @@ let $1 = he({ name: "Menu", props: { as: { type: [Object, String], default: "tem
4404
4406
  case ie.Escape:
4405
4407
  u.preventDefault(), u.stopPropagation(), s.closeMenu(), Me(() => {
4406
4408
  var h;
4407
- return (h = q(s.buttonRef)) == null ? void 0 : h.focus({ preventScroll: !0 });
4409
+ return (h = U(s.buttonRef)) == null ? void 0 : h.focus({ preventScroll: !0 });
4408
4410
  });
4409
4411
  break;
4410
4412
  case ie.Tab:
4411
- u.preventDefault(), u.stopPropagation(), s.closeMenu(), Me(() => Yf(q(s.buttonRef), u.shiftKey ? qt.Previous : qt.Next));
4413
+ u.preventDefault(), u.stopPropagation(), s.closeMenu(), Me(() => Yf(U(s.buttonRef), u.shiftKey ? Ut.Previous : Ut.Next));
4412
4414
  break;
4413
4415
  default:
4414
4416
  u.key.length === 1 && (s.search(u.key), a.value = setTimeout(() => s.clearSearch(), 350));
@@ -4425,7 +4427,7 @@ let $1 = he({ name: "Menu", props: { as: { type: [Object, String], default: "tem
4425
4427
  let c = ti(), p = L(() => c !== null ? (c.value & Be.Open) === Be.Open : s.menuState.value === 0);
4426
4428
  return () => {
4427
4429
  var u, m;
4428
- let h = { open: s.menuState.value === 0 }, { ...f } = r, b = { "aria-activedescendant": s.activeItemIndex.value === null || (u = s.items.value[s.activeItemIndex.value]) == null ? void 0 : u.id, "aria-labelledby": (m = q(s.buttonRef)) == null ? void 0 : m.id, id: i, onKeydown: l, onKeyup: d, role: "menu", tabIndex: 0, ref: s.itemsRef };
4430
+ let h = { open: s.menuState.value === 0 }, { ...f } = r, b = { "aria-activedescendant": s.activeItemIndex.value === null || (u = s.items.value[s.activeItemIndex.value]) == null ? void 0 : u.id, "aria-labelledby": (m = U(s.buttonRef)) == null ? void 0 : m.id, id: i, onKeydown: l, onKeyup: d, role: "menu", tabIndex: 0, ref: s.itemsRef };
4429
4431
  return Ae({ ourProps: b, theirProps: f, slot: h, attrs: e, slots: t, features: $r.RenderStrategy | $r.Static, visible: p.value, name: "MenuItems" });
4430
4432
  };
4431
4433
  } }), cn = he({ name: "MenuItem", inheritAttrs: !1, props: { as: { type: [Object, String], default: "template" }, disabled: { type: Boolean, default: !1 }, id: { type: String, default: null } }, setup(r, { slots: e, attrs: t, expose: o }) {
@@ -4438,12 +4440,12 @@ let $1 = he({ name: "Menu", props: { as: { type: [Object, String], default: "tem
4438
4440
  Se(() => s.registerItem(i, c)), xt(() => s.unregisterItem(i)), ot(() => {
4439
4441
  s.menuState.value === 0 && l.value && s.activationTrigger.value !== 0 && Me(() => {
4440
4442
  var w, E;
4441
- return (E = (w = q(a)) == null ? void 0 : w.scrollIntoView) == null ? void 0 : E.call(w, { block: "nearest" });
4443
+ return (E = (w = U(a)) == null ? void 0 : w.scrollIntoView) == null ? void 0 : E.call(w, { block: "nearest" });
4442
4444
  });
4443
4445
  });
4444
4446
  function p(w) {
4445
4447
  if (r.disabled) return w.preventDefault();
4446
- s.closeMenu(), Du(q(s.buttonRef));
4448
+ s.closeMenu(), Du(U(s.buttonRef));
4447
4449
  }
4448
4450
  function u() {
4449
4451
  if (r.disabled) return s.goToItem(ye.Nothing);
@@ -4501,12 +4503,12 @@ var H1 = ((r) => (r.Visible = "visible", r.Hidden = "hidden", r))(H1 || {});
4501
4503
  function V1() {
4502
4504
  return re(ld, null) !== null;
4503
4505
  }
4504
- function U1() {
4506
+ function q1() {
4505
4507
  let r = re(ld, null);
4506
4508
  if (r === null) throw new Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");
4507
4509
  return r;
4508
4510
  }
4509
- function q1() {
4511
+ function U1() {
4510
4512
  let r = re(dd, null);
4511
4513
  if (r === null) throw new Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");
4512
4514
  return r;
@@ -4549,7 +4551,7 @@ let am = $r.RenderStrategy, ur = he({ props: { as: { type: [Object, String], def
4549
4551
  if (!V1() && r1()) return () => Ee(Xo, { ...r, onBeforeEnter: s, onAfterEnter: a, onBeforeLeave: l, onAfterLeave: d }, o);
4550
4552
  let c = x(null), p = L(() => r.unmount ? Or.Unmount : Or.Hidden);
4551
4553
  n({ el: c, $el: c });
4552
- let { show: u, appear: m } = U1(), { register: h, unregister: f } = q1(), b = x(u.value ? "visible" : "hidden"), w = { value: !0 }, E = bt(), C = { value: !1 }, y = sm(() => {
4554
+ let { show: u, appear: m } = q1(), { register: h, unregister: f } = U1(), b = x(u.value ? "visible" : "hidden"), w = { value: !0 }, E = bt(), C = { value: !1 }, y = sm(() => {
4553
4555
  !C.value && b.value !== "hidden" && (b.value = "hidden", f(E), d());
4554
4556
  });
4555
4557
  Se(() => {
@@ -4568,13 +4570,13 @@ let am = $r.RenderStrategy, ur = he({ props: { as: { type: [Object, String], def
4568
4570
  Se(() => {
4569
4571
  ot(() => {
4570
4572
  if (b.value === "visible") {
4571
- let W = q(c);
4573
+ let W = U(c);
4572
4574
  if (W instanceof Comment && W.data === "") throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
4573
4575
  }
4574
4576
  });
4575
4577
  });
4576
4578
  function I(W) {
4577
- let ne = w.value && !m.value, Y = q(c);
4579
+ let ne = w.value && !m.value, Y = U(c);
4578
4580
  !Y || !(Y instanceof HTMLElement) || ne || (C.value = !0, u.value && s(), u.value || l(), W(u.value ? kc(Y, M, k, A, H, (Z) => {
4579
4581
  C.value = !1, Z === ml.Finished && a();
4580
4582
  }) : kc(Y, _, P, v, H, (Z) => {
@@ -6276,7 +6278,7 @@ class ds {
6276
6278
  return this.$to.indexAfter(this.depth);
6277
6279
  }
6278
6280
  }
6279
- const U0 = /* @__PURE__ */ Object.create(null);
6281
+ const q0 = /* @__PURE__ */ Object.create(null);
6280
6282
  let Nr = class fl {
6281
6283
  /**
6282
6284
  @internal
@@ -6395,7 +6397,7 @@ let Nr = class fl {
6395
6397
  attributes, and marks.
6396
6398
  */
6397
6399
  hasMarkup(e, t, o) {
6398
- return this.type == e && ss(this.attrs, t || e.defaultAttrs || U0) && we.sameSet(this.marks, o || we.none);
6400
+ return this.type == e && ss(this.attrs, t || e.defaultAttrs || q0) && we.sameSet(this.marks, o || we.none);
6399
6401
  }
6400
6402
  /**
6401
6403
  Create a new node with the same markup as this node, containing
@@ -6701,7 +6703,7 @@ class po {
6701
6703
  @internal
6702
6704
  */
6703
6705
  static parse(e, t) {
6704
- let o = new q0(e, t);
6706
+ let o = new U0(e, t);
6705
6707
  if (o.next == null)
6706
6708
  return po.empty;
6707
6709
  let n = wm(o);
@@ -6853,7 +6855,7 @@ class po {
6853
6855
  }
6854
6856
  }
6855
6857
  po.empty = new po(!0);
6856
- class q0 {
6858
+ class U0 {
6857
6859
  constructor(e, t) {
6858
6860
  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();
6859
6861
  }
@@ -10372,7 +10374,7 @@ class _e {
10372
10374
  Create a plugin.
10373
10375
  */
10374
10376
  constructor(e) {
10375
- this.spec = e, this.props = {}, e.props && Vm(e.props, this, this.props), this.key = e.key ? e.key.key : Um("plugin");
10377
+ this.spec = e, this.props = {}, e.props && Vm(e.props, this, this.props), this.key = e.key ? e.key.key : qm("plugin");
10376
10378
  }
10377
10379
  /**
10378
10380
  Extract the plugin's state field from an editor state.
@@ -10382,7 +10384,7 @@ class _e {
10382
10384
  }
10383
10385
  }
10384
10386
  const Da = /* @__PURE__ */ Object.create(null);
10385
- function Um(r) {
10387
+ function qm(r) {
10386
10388
  return r in Da ? r + "$" + ++Da[r] : (Da[r] = 0, r + "$");
10387
10389
  }
10388
10390
  class pt {
@@ -10390,7 +10392,7 @@ class pt {
10390
10392
  Create a plugin key.
10391
10393
  */
10392
10394
  constructor(e = "key") {
10393
- this.key = Um(e);
10395
+ this.key = qm(e);
10394
10396
  }
10395
10397
  /**
10396
10398
  Get the active plugin with this key, if any, from an editor
@@ -10514,10 +10516,10 @@ function jb(r, e, t) {
10514
10516
  return { node: o.startContainer, offset: Math.min(Ot(o.startContainer), o.startOffset) };
10515
10517
  }
10516
10518
  }
10517
- const Yt = typeof navigator < "u" ? navigator : null, Uc = typeof document < "u" ? document : null, jr = Yt && Yt.userAgent || "", kl = /Edge\/(\d+)/.exec(jr), qm = /MSIE \d/.exec(jr), Sl = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(jr), ht = !!(qm || Sl || kl), Ir = qm ? document.documentMode : Sl ? +Sl[1] : kl ? +kl[1] : 0, zt = !ht && /gecko\/(\d+)/i.test(jr);
10519
+ const Yt = typeof navigator < "u" ? navigator : null, qc = typeof document < "u" ? document : null, jr = Yt && Yt.userAgent || "", kl = /Edge\/(\d+)/.exec(jr), Um = /MSIE \d/.exec(jr), Sl = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(jr), ht = !!(Um || Sl || kl), Ir = Um ? document.documentMode : Sl ? +Sl[1] : kl ? +kl[1] : 0, zt = !ht && /gecko\/(\d+)/i.test(jr);
10518
10520
  zt && +(/Firefox\/(\d+)/.exec(jr) || [0, 0])[1];
10519
- const Cl = !ht && /Chrome\/(\d+)/.exec(jr), rt = !!Cl, Wm = Cl ? +Cl[1] : 0, lt = !ht && !!Yt && /Apple Computer/.test(Yt.vendor), Ho = lt && (/Mobile\/\w+/.test(jr) || !!Yt && Yt.maxTouchPoints > 2), Tt = Ho || (Yt ? /Mac/.test(Yt.platform) : !1), Hb = Yt ? /Win/.test(Yt.platform) : !1, lr = /Android \d/.test(jr), ci = !!Uc && "webkitFontSmoothing" in Uc.documentElement.style, Vb = ci ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
10520
- function Ub(r) {
10521
+ const Cl = !ht && /Chrome\/(\d+)/.exec(jr), rt = !!Cl, Wm = Cl ? +Cl[1] : 0, lt = !ht && !!Yt && /Apple Computer/.test(Yt.vendor), Ho = lt && (/Mobile\/\w+/.test(jr) || !!Yt && Yt.maxTouchPoints > 2), Tt = Ho || (Yt ? /Mac/.test(Yt.platform) : !1), Hb = Yt ? /Win/.test(Yt.platform) : !1, lr = /Android \d/.test(jr), ci = !!qc && "webkitFontSmoothing" in qc.documentElement.style, Vb = ci ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
10522
+ function qb(r) {
10521
10523
  let e = r.defaultView && r.defaultView.visualViewport;
10522
10524
  return e ? {
10523
10525
  left: 0,
@@ -10534,7 +10536,7 @@ function Ub(r) {
10534
10536
  function rr(r, e) {
10535
10537
  return typeof r == "number" ? r : r[e];
10536
10538
  }
10537
- function qb(r) {
10539
+ function Ub(r) {
10538
10540
  let e = r.getBoundingClientRect(), t = e.width / r.offsetWidth || 1, o = e.height / r.offsetHeight || 1;
10539
10541
  return {
10540
10542
  left: e.left,
@@ -10543,14 +10545,14 @@ function qb(r) {
10543
10545
  bottom: e.top + r.clientHeight * o
10544
10546
  };
10545
10547
  }
10546
- function qc(r, e, t) {
10548
+ function Uc(r, e, t) {
10547
10549
  let o = r.someProp("scrollThreshold") || 0, n = r.someProp("scrollMargin") || 5, i = r.dom.ownerDocument;
10548
10550
  for (let s = t || r.dom; s; ) {
10549
10551
  if (s.nodeType != 1) {
10550
10552
  s = jo(s);
10551
10553
  continue;
10552
10554
  }
10553
- let a = s, l = a == i.body, d = l ? Ub(i) : qb(a), c = 0, p = 0;
10555
+ let a = s, l = a == i.body, d = l ? qb(i) : Ub(a), c = 0, p = 0;
10554
10556
  if (e.top < d.top + rr(o, "top") ? p = -(d.top - e.top + rr(n, "top")) : e.bottom > d.bottom - rr(o, "bottom") && (p = e.bottom - e.top > d.bottom - d.top ? e.top + rr(n, "top") - d.top : e.bottom - d.bottom + rr(n, "bottom")), e.left < d.left + rr(o, "left") ? c = -(d.left - e.left + rr(n, "left")) : e.right > d.right - rr(o, "right") && (c = e.right - d.right + rr(n, "right")), c || p)
10555
10557
  if (l)
10556
10558
  i.defaultView.scrollBy(c, p);
@@ -12643,7 +12645,7 @@ dt.contextmenu = (r) => vd(r);
12643
12645
  function gh(r, e) {
12644
12646
  return r.composing ? !0 : lt && Math.abs(e.timeStamp - r.input.compositionEndedAt) < 500 ? (r.input.compositionEndedAt = -2e8, !0) : !1;
12645
12647
  }
12646
- const Uy = lr ? 5e3 : -1;
12648
+ const qy = lr ? 5e3 : -1;
12647
12649
  ct.compositionstart = ct.compositionupdate = (r) => {
12648
12650
  if (!r.composing) {
12649
12651
  r.domObserver.flush();
@@ -12666,7 +12668,7 @@ ct.compositionstart = ct.compositionupdate = (r) => {
12666
12668
  }
12667
12669
  r.input.composing = !0;
12668
12670
  }
12669
- fh(r, Uy);
12671
+ fh(r, qy);
12670
12672
  };
12671
12673
  ct.compositionend = (r, e) => {
12672
12674
  r.composing && (r.input.composing = !1, r.input.compositionEndedAt = e.timeStamp, r.input.compositionPendingChanges = r.domObserver.pendingRecords().length ? r.input.compositionID : 0, r.input.compositionNode = null, r.input.compositionPendingChanges && Promise.resolve().then(() => r.domObserver.flush()), r.input.compositionID++, fh(r, 20));
@@ -12678,7 +12680,7 @@ function bh(r) {
12678
12680
  for (r.composing && (r.input.composing = !1, r.input.compositionEndedAt = Wy()); r.input.compositionNodes.length > 0; )
12679
12681
  r.input.compositionNodes.pop().markParentsDirty();
12680
12682
  }
12681
- function qy(r) {
12683
+ function Uy(r) {
12682
12684
  let e = r.domSelectionRange();
12683
12685
  if (!e.focusNode)
12684
12686
  return null;
@@ -12858,7 +12860,7 @@ dt.beforeinput = (r, e) => {
12858
12860
  };
12859
12861
  for (let r in ct)
12860
12862
  dt[r] = ct[r];
12861
- function Un(r, e) {
12863
+ function qn(r, e) {
12862
12864
  if (r == e)
12863
12865
  return !0;
12864
12866
  for (let t in r)
@@ -12881,7 +12883,7 @@ class hs {
12881
12883
  return !0;
12882
12884
  }
12883
12885
  eq(e) {
12884
- return this == e || e instanceof hs && (this.spec.key && this.spec.key == e.spec.key || this.toDOM == e.toDOM && Un(this.spec, e.spec));
12886
+ return this == e || e instanceof hs && (this.spec.key && this.spec.key == e.spec.key || this.toDOM == e.toDOM && qn(this.spec, e.spec));
12885
12887
  }
12886
12888
  destroy(e) {
12887
12889
  this.spec.destroy && this.spec.destroy(e);
@@ -12899,7 +12901,7 @@ class Rr {
12899
12901
  return t.from < t.to;
12900
12902
  }
12901
12903
  eq(e) {
12902
- return this == e || e instanceof Rr && Un(this.attrs, e.attrs) && Un(this.spec, e.spec);
12904
+ return this == e || e instanceof Rr && qn(this.attrs, e.attrs) && qn(this.spec, e.spec);
12903
12905
  }
12904
12906
  static is(e) {
12905
12907
  return e.type instanceof Rr;
@@ -12923,7 +12925,7 @@ class xd {
12923
12925
  return n == t.from && !(i = e.child(o)).isText && n + i.nodeSize == t.to;
12924
12926
  }
12925
12927
  eq(e) {
12926
- return this == e || e instanceof xd && Un(this.attrs, e.attrs) && Un(this.spec, e.spec);
12928
+ return this == e || e instanceof xd && qn(this.attrs, e.attrs) && qn(this.spec, e.spec);
12927
12929
  }
12928
12930
  destroy() {
12929
12931
  }
@@ -13830,7 +13832,7 @@ class mw {
13830
13832
  let m = p && (ht || rt) && !this.composing && !n.selection.empty && !e.selection.empty && hw(n.selection, e.selection);
13831
13833
  if (p) {
13832
13834
  let h = rt ? this.trackWrites = this.domSelectionRange().focusNode : null;
13833
- this.composing && (this.input.compositionNode = qy(this)), (i || !this.docView.update(e.doc, d, l, this)) && (this.docView.updateOuterDeco(d), this.docView.destroy(), this.docView = Xc(e.doc, d, l, this.dom, this)), h && !this.trackWrites && (m = !0);
13835
+ this.composing && (this.input.compositionNode = Uy(this)), (i || !this.docView.update(e.doc, d, l, this)) && (this.docView.updateOuterDeco(d), this.docView.destroy(), this.docView = Xc(e.doc, d, l, this.dom, this)), h && !this.trackWrites && (m = !0);
13834
13836
  }
13835
13837
  m || !(this.input.mouseDown && this.domObserver.currentSelection.eq(this.domSelectionRange()) && fy(this)) ? pr(this, m) : (ih(this, e.selection), this.domObserver.setCurSelection()), this.domObserver.start();
13836
13838
  }
@@ -13844,9 +13846,9 @@ class mw {
13844
13846
  if (!(!e || !this.dom.contains(e.nodeType == 1 ? e : e.parentNode))) {
13845
13847
  if (!this.someProp("handleScrollToSelection", (t) => t(this))) if (this.state.selection instanceof K) {
13846
13848
  let t = this.docView.domAfterPos(this.state.selection.from);
13847
- t.nodeType == 1 && qc(this, t.getBoundingClientRect(), e);
13849
+ t.nodeType == 1 && Uc(this, t.getBoundingClientRect(), e);
13848
13850
  } else
13849
- qc(this, this.coordsAtPos(this.state.selection.head, 1), e);
13851
+ Uc(this, this.coordsAtPos(this.state.selection.head, 1), e);
13850
13852
  }
13851
13853
  }
13852
13854
  destroyPluginViews() {
@@ -14810,7 +14812,7 @@ class pa {
14810
14812
  return a;
14811
14813
  }
14812
14814
  }
14813
- class Uw {
14815
+ class qw {
14814
14816
  constructor() {
14815
14817
  this.callbacks = {};
14816
14818
  }
@@ -14903,7 +14905,7 @@ function $h(r) {
14903
14905
  });
14904
14906
  }), e;
14905
14907
  }
14906
- function qe(r, e) {
14908
+ function Ue(r, e) {
14907
14909
  if (typeof r == "string") {
14908
14910
  if (!e.nodes[r])
14909
14911
  throw Error(`There is no node type named '${r}'. Maybe you forgot to add the extension?`);
@@ -14947,7 +14949,7 @@ function zh(r) {
14947
14949
  function te(r, e = void 0, ...t) {
14948
14950
  return zh(r) ? e ? r.bind(e)(...t) : r(...t) : r;
14949
14951
  }
14950
- function qw(r = {}) {
14952
+ function Uw(r = {}) {
14951
14953
  return Object.keys(r).length === 0 && r.constructor === Object;
14952
14954
  }
14953
14955
  function Ww(r) {
@@ -14974,7 +14976,7 @@ function Sp(r, e) {
14974
14976
  function Cp(r) {
14975
14977
  return Object.fromEntries(
14976
14978
  // @ts-ignore
14977
- Object.entries(r).filter(([e, t]) => e === "attrs" && qw(t) ? !1 : t != null)
14979
+ Object.entries(r).filter(([e, t]) => e === "attrs" && Uw(t) ? !1 : t != null)
14978
14980
  );
14979
14981
  }
14980
14982
  function Kw(r, e) {
@@ -15541,7 +15543,7 @@ class Ro {
15541
15543
  options: o.options,
15542
15544
  storage: o.storage,
15543
15545
  editor: e,
15544
- type: qe(o.name, this.schema)
15546
+ type: Ue(o.name, this.schema)
15545
15547
  }, s = V(o, "addNodeView", i);
15546
15548
  if (!s)
15547
15549
  return [];
@@ -15705,7 +15707,7 @@ const iv = Xe.create({
15705
15707
  }
15706
15708
  return !1;
15707
15709
  }, mv = (r) => ({ tr: e, state: t, dispatch: o }) => {
15708
- const n = qe(r, t.schema), i = e.selection.$anchor;
15710
+ const n = Ue(r, t.schema), i = e.selection.$anchor;
15709
15711
  for (let s = i.depth; s > 0; s -= 1)
15710
15712
  if (i.node(s).type === n) {
15711
15713
  if (o) {
@@ -16003,8 +16005,8 @@ const Rv = (r) => ({ editor: e, view: t, tr: o, dispatch: n }) => {
16003
16005
  c && n && o.maybeStep(c);
16004
16006
  }), !0;
16005
16007
  };
16006
- function qn(r, e, t = {}) {
16007
- const { from: o, to: n, empty: i } = r.selection, s = e ? qe(e, r.schema) : null, a = [];
16008
+ function Un(r, e, t = {}) {
16009
+ const { from: o, to: n, empty: i } = r.selection, s = e ? Ue(e, r.schema) : null, a = [];
16008
16010
  r.doc.nodesBetween(o, n, (p, u) => {
16009
16011
  if (p.isText)
16010
16012
  return;
@@ -16019,10 +16021,10 @@ function qn(r, e, t = {}) {
16019
16021
  return i ? !!d.length : d.reduce((p, u) => p + u.to - u.from, 0) >= l;
16020
16022
  }
16021
16023
  const $v = (r, e = {}) => ({ state: t, dispatch: o }) => {
16022
- const n = qe(r, t.schema);
16023
- return qn(t, n, e) ? Ow(t, o) : !1;
16024
+ const n = Ue(r, t.schema);
16025
+ return Un(t, n, e) ? Ow(t, o) : !1;
16024
16026
  }, zv = () => ({ state: r, dispatch: e }) => Ih(r, e), _v = (r) => ({ state: e, dispatch: t }) => {
16025
- const o = qe(r, e.schema);
16027
+ const o = Ue(r, e.schema);
16026
16028
  return Fw(o)(e, t);
16027
16029
  }, Fv = () => ({ state: r, dispatch: e }) => Lh(r, e);
16028
16030
  function ga(r, e) {
@@ -16035,7 +16037,7 @@ function Tp(r, e) {
16035
16037
  const jv = (r, e) => ({ tr: t, state: o, dispatch: n }) => {
16036
16038
  let i = null, s = null;
16037
16039
  const a = ga(typeof r == "string" ? r : r.name, o.schema);
16038
- return a ? (a === "node" && (i = qe(r, o.schema)), a === "mark" && (s = Hr(r, o.schema)), n && t.selection.ranges.forEach((l) => {
16040
+ return a ? (a === "node" && (i = Ue(r, o.schema)), a === "mark" && (s = Hr(r, o.schema)), n && t.selection.ranges.forEach((l) => {
16039
16041
  o.doc.nodesBetween(l.$from.pos, l.$to.pos, (d, c) => {
16040
16042
  i && i === d.type && t.setNodeMarkup(c, void 0, Tp(d.attrs, e)), s && d.marks.length && d.marks.forEach((p) => {
16041
16043
  s === p.type && t.addMark(c, c + d.nodeSize, s.create(Tp(p.attrs, e)));
@@ -16048,7 +16050,7 @@ const jv = (r, e) => ({ tr: t, state: o, dispatch: n }) => {
16048
16050
  r.setSelection(t);
16049
16051
  }
16050
16052
  return !0;
16051
- }, Uv = () => ({ state: r, dispatch: e }) => Oh(r, e), qv = () => ({ state: r, dispatch: e }) => Bh(r, e), Wv = () => ({ state: r, dispatch: e }) => Lw(r, e), Kv = () => ({ state: r, dispatch: e }) => Dw(r, e), Gv = () => ({ state: r, dispatch: e }) => Iw(r, e);
16053
+ }, qv = () => ({ state: r, dispatch: e }) => Oh(r, e), Uv = () => ({ state: r, dispatch: e }) => Bh(r, e), Wv = () => ({ state: r, dispatch: e }) => Lw(r, e), Kv = () => ({ state: r, dispatch: e }) => Dw(r, e), Gv = () => ({ state: r, dispatch: e }) => Iw(r, e);
16052
16054
  function Ll(r, e, t = {}, o = {}) {
16053
16055
  return ys(r, e, {
16054
16056
  slice: !1,
@@ -16070,7 +16072,7 @@ const Jv = (r, e = !1, t = {}, o = {}) => ({ editor: n, tr: i, dispatch: s, comm
16070
16072
  errorOnInvalidContent: (d = o.errorOnInvalidContent) !== null && d !== void 0 ? d : n.options.enableContentCheck
16071
16073
  });
16072
16074
  };
16073
- function Uh(r, e) {
16075
+ function qh(r, e) {
16074
16076
  const t = Hr(e, r.schema), { from: o, to: n, empty: i } = r.selection, s = [];
16075
16077
  i ? (r.storedMarks && s.push(...r.storedMarks), s.push(...r.selection.$head.marks())) : r.doc.nodesBetween(o, n, (l) => {
16076
16078
  s.push(...l.marks);
@@ -16118,7 +16120,7 @@ function Zv(r, e) {
16118
16120
  function Id(r) {
16119
16121
  return (e) => Zv(e.$from, r);
16120
16122
  }
16121
- function qh(r, e) {
16123
+ function Uh(r, e) {
16122
16124
  const t = {
16123
16125
  from: 0,
16124
16126
  to: r.content.size
@@ -16126,7 +16128,7 @@ function qh(r, e) {
16126
16128
  return _h(r, t, e);
16127
16129
  }
16128
16130
  function e2(r, e) {
16129
- const t = qe(e, r.schema), { from: o, to: n } = r.selection, i = [];
16131
+ const t = Ue(e, r.schema), { from: o, to: n } = r.selection, i = [];
16130
16132
  r.doc.nodesBetween(o, n, (a) => {
16131
16133
  i.push(a);
16132
16134
  });
@@ -16135,7 +16137,7 @@ function e2(r, e) {
16135
16137
  }
16136
16138
  function Wh(r, e) {
16137
16139
  const t = ga(typeof e == "string" ? e : e.name, r.schema);
16138
- return t === "node" ? e2(r, e) : t === "mark" ? Uh(r, e) : {};
16140
+ return t === "node" ? e2(r, e) : t === "mark" ? qh(r, e) : {};
16139
16141
  }
16140
16142
  function t2(r, e = JSON.stringify) {
16141
16143
  const t = {};
@@ -16224,9 +16226,9 @@ function Nl(r, e, t = {}) {
16224
16226
  }
16225
16227
  function n2(r, e, t = {}) {
16226
16228
  if (!e)
16227
- return qn(r, null, t) || Nl(r, null, t);
16229
+ return Un(r, null, t) || Nl(r, null, t);
16228
16230
  const o = ga(e, r.schema);
16229
- return o === "node" ? qn(r, e, t) : o === "mark" ? Nl(r, e, t) : !1;
16231
+ return o === "node" ? Un(r, e, t) : o === "mark" ? Nl(r, e, t) : !1;
16230
16232
  }
16231
16233
  function Op(r, e) {
16232
16234
  const { nodeExtensions: t } = ua(e), o = t.find((s) => s.name === r);
@@ -16306,7 +16308,7 @@ const s2 = (r, e = {}) => ({ tr: t, state: o, dispatch: n }) => {
16306
16308
  const { selection: i } = t, { empty: s, ranges: a } = i, l = Hr(r, o.schema);
16307
16309
  if (n)
16308
16310
  if (s) {
16309
- const d = Uh(o, l);
16311
+ const d = qh(o, l);
16310
16312
  t.addStoredMark(l.create({
16311
16313
  ...d,
16312
16314
  ...e
@@ -16326,7 +16328,7 @@ const s2 = (r, e = {}) => ({ tr: t, state: o, dispatch: n }) => {
16326
16328
  });
16327
16329
  return i2(o, t, l);
16328
16330
  }, a2 = (r, e) => ({ tr: t }) => (t.setMeta(r, e), !0), l2 = (r, e = {}) => ({ state: t, dispatch: o, chain: n }) => {
16329
- const i = qe(r, t.schema);
16331
+ const i = Ue(r, t.schema);
16330
16332
  let s;
16331
16333
  return t.selection.$anchor.sameParent(t.selection.$head) && (s = t.selection.$anchor.parent.attrs), i.isTextblock ? n().command(({ commands: a }) => kp(i, { ...s, ...e })(t) ? !0 : a.clearNodes()).command(({ state: a }) => kp(i, { ...s, ...e })(a, o)).run() : (console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'), !1);
16332
16334
  }, d2 = (r) => ({ tr: e, dispatch: t }) => {
@@ -16342,7 +16344,7 @@ const s2 = (r, e = {}) => ({ tr: t, state: o, dispatch: n }) => {
16342
16344
  }
16343
16345
  return !0;
16344
16346
  }, p2 = (r) => ({ state: e, dispatch: t }) => {
16345
- const o = qe(r, e.schema);
16347
+ const o = Ue(r, e.schema);
16346
16348
  return Vw(o)(e, t);
16347
16349
  };
16348
16350
  function Pp(r, e) {
@@ -16380,7 +16382,7 @@ const u2 = ({ keepMarks: r = !0 } = {}) => ({ tr: e, state: t, dispatch: o, edit
16380
16382
  return h;
16381
16383
  }, m2 = (r, e = {}) => ({ tr: t, state: o, dispatch: n, editor: i }) => {
16382
16384
  var s;
16383
- const a = qe(r, o.schema), { $from: l, $to: d } = o.selection, c = o.selection.node;
16385
+ const a = Ue(r, o.schema), { $from: l, $to: d } = o.selection, c = o.selection.node;
16384
16386
  if (c && c.isBlock || l.depth < 2 || !l.sameParent(d))
16385
16387
  return !1;
16386
16388
  const p = l.node(-1);
@@ -16433,7 +16435,7 @@ const u2 = ({ keepMarks: r = !0 } = {}) => ({ tr: e, state: t, dispatch: o, edit
16433
16435
  t.ensureMarks(M);
16434
16436
  }
16435
16437
  return !0;
16436
- }, Ua = (r, e) => {
16438
+ }, qa = (r, e) => {
16437
16439
  const t = Id((s) => s.type === e)(r.selection);
16438
16440
  if (!t)
16439
16441
  return !0;
@@ -16442,7 +16444,7 @@ const u2 = ({ keepMarks: r = !0 } = {}) => ({ tr: e, state: t, dispatch: o, edit
16442
16444
  return !0;
16443
16445
  const n = r.doc.nodeAt(o);
16444
16446
  return t.node.type === (n == null ? void 0 : n.type) && Fr(r.doc, t.pos) && r.join(t.pos), !0;
16445
- }, qa = (r, e) => {
16447
+ }, Ua = (r, e) => {
16446
16448
  const t = Id((s) => s.type === e)(r.selection);
16447
16449
  if (!t)
16448
16450
  return !0;
@@ -16452,7 +16454,7 @@ const u2 = ({ keepMarks: r = !0 } = {}) => ({ tr: e, state: t, dispatch: o, edit
16452
16454
  const n = r.doc.nodeAt(o);
16453
16455
  return t.node.type === (n == null ? void 0 : n.type) && Fr(r.doc, o) && r.join(o), !0;
16454
16456
  }, h2 = (r, e, t, o = {}) => ({ editor: n, tr: i, state: s, dispatch: a, chain: l, commands: d, can: c }) => {
16455
- const { extensions: p, splittableMarks: u } = n.extensionManager, m = qe(r, s.schema), h = qe(e, s.schema), { selection: f, storedMarks: b } = s, { $from: w, $to: E } = f, C = w.blockRange(E), y = b || f.$to.parentOffset && f.$from.marks();
16457
+ const { extensions: p, splittableMarks: u } = n.extensionManager, m = Ue(r, s.schema), h = Ue(e, s.schema), { selection: f, storedMarks: b } = s, { $from: w, $to: E } = f, C = w.blockRange(E), y = b || f.$to.parentOffset && f.$from.marks();
16456
16458
  if (!C)
16457
16459
  return !1;
16458
16460
  const M = Id((k) => Op(k.type.name, p))(f);
@@ -16460,22 +16462,22 @@ const u2 = ({ keepMarks: r = !0 } = {}) => ({ tr: e, state: t, dispatch: o, edit
16460
16462
  if (M.node.type === m)
16461
16463
  return d.liftListItem(h);
16462
16464
  if (Op(M.node.type.name, p) && m.validContent(M.node.content) && a)
16463
- return l().command(() => (i.setNodeMarkup(M.pos, m), !0)).command(() => Ua(i, m)).command(() => qa(i, m)).run();
16465
+ return l().command(() => (i.setNodeMarkup(M.pos, m), !0)).command(() => qa(i, m)).command(() => Ua(i, m)).run();
16464
16466
  }
16465
- return !t || !y || !a ? l().command(() => c().wrapInList(m, o) ? !0 : d.clearNodes()).wrapInList(m, o).command(() => Ua(i, m)).command(() => qa(i, m)).run() : l().command(() => {
16467
+ return !t || !y || !a ? l().command(() => c().wrapInList(m, o) ? !0 : d.clearNodes()).wrapInList(m, o).command(() => qa(i, m)).command(() => Ua(i, m)).run() : l().command(() => {
16466
16468
  const k = c().wrapInList(m, o), A = y.filter((H) => u.includes(H.type.name));
16467
16469
  return i.ensureMarks(A), k ? !0 : d.clearNodes();
16468
- }).wrapInList(m, o).command(() => Ua(i, m)).command(() => qa(i, m)).run();
16470
+ }).wrapInList(m, o).command(() => qa(i, m)).command(() => Ua(i, m)).run();
16469
16471
  }, g2 = (r, e = {}, t = {}) => ({ state: o, commands: n }) => {
16470
16472
  const { extendEmptyMarkRange: i = !1 } = t, s = Hr(r, o.schema);
16471
16473
  return Nl(o, s, e) ? n.unsetMark(s, { extendEmptyMarkRange: i }) : n.setMark(s, e);
16472
16474
  }, f2 = (r, e, t = {}) => ({ state: o, commands: n }) => {
16473
- const i = qe(r, o.schema), s = qe(e, o.schema), a = qn(o, i, t);
16475
+ const i = Ue(r, o.schema), s = Ue(e, o.schema), a = Un(o, i, t);
16474
16476
  let l;
16475
16477
  return o.selection.$anchor.sameParent(o.selection.$head) && (l = o.selection.$anchor.parent.attrs), a ? n.setNode(s, l) : n.setNode(i, { ...l, ...t });
16476
16478
  }, b2 = (r, e = {}) => ({ state: t, commands: o }) => {
16477
- const n = qe(r, t.schema);
16478
- return qn(t, n, e) ? o.lift(n) : o.wrapIn(n, e);
16479
+ const n = Ue(r, t.schema);
16480
+ return Un(t, n, e) ? o.lift(n) : o.wrapIn(n, e);
16479
16481
  }, y2 = () => ({ state: r, dispatch: e }) => {
16480
16482
  const t = r.plugins;
16481
16483
  for (let o = 0; o < t.length; o += 1) {
@@ -16518,7 +16520,7 @@ const u2 = ({ keepMarks: r = !0 } = {}) => ({ tr: e, state: t, dispatch: o, edit
16518
16520
  }, x2 = (r, e = {}) => ({ tr: t, state: o, dispatch: n }) => {
16519
16521
  let i = null, s = null;
16520
16522
  const a = ga(typeof r == "string" ? r : r.name, o.schema);
16521
- return a ? (a === "node" && (i = qe(r, o.schema)), a === "mark" && (s = Hr(r, o.schema)), n && t.selection.ranges.forEach((l) => {
16523
+ return a ? (a === "node" && (i = Ue(r, o.schema)), a === "mark" && (s = Hr(r, o.schema)), n && t.selection.ranges.forEach((l) => {
16522
16524
  const d = l.$from.pos, c = l.$to.pos;
16523
16525
  let p, u, m, h;
16524
16526
  t.selection.empty ? o.doc.nodesBetween(d, c, (f, b) => {
@@ -16547,10 +16549,10 @@ const u2 = ({ keepMarks: r = !0 } = {}) => ({ tr: e, state: t, dispatch: o, edit
16547
16549
  }));
16548
16550
  }), !0) : !1;
16549
16551
  }, k2 = (r, e = {}) => ({ state: t, dispatch: o }) => {
16550
- const n = qe(r, t.schema);
16552
+ const n = Ue(r, t.schema);
16551
16553
  return Rw(n, e)(t, o);
16552
16554
  }, S2 = (r, e = {}) => ({ state: t, dispatch: o }) => {
16553
- const n = qe(r, t.schema);
16555
+ const n = Ue(r, t.schema);
16554
16556
  return $w(n, e)(t, o);
16555
16557
  };
16556
16558
  var C2 = /* @__PURE__ */ Object.freeze({
@@ -16589,8 +16591,8 @@ var C2 = /* @__PURE__ */ Object.freeze({
16589
16591
  resetAttributes: jv,
16590
16592
  scrollIntoView: Hv,
16591
16593
  selectAll: Vv,
16592
- selectNodeBackward: Uv,
16593
- selectNodeForward: qv,
16594
+ selectNodeBackward: qv,
16595
+ selectNodeForward: Uv,
16594
16596
  selectParentNode: Wv,
16595
16597
  selectTextblockEnd: Kv,
16596
16598
  selectTextblockStart: Gv,
@@ -16990,7 +16992,7 @@ function I2(r, e, t) {
16990
16992
  const n = document.createElement("style");
16991
16993
  return e && n.setAttribute("nonce", e), n.setAttribute("data-tiptap-style", ""), n.innerHTML = r, document.getElementsByTagName("head")[0].appendChild(n), n;
16992
16994
  }
16993
- let D2 = class extends Uw {
16995
+ let D2 = class extends qw {
16994
16996
  constructor(e = {}) {
16995
16997
  super(), this.isFocused = !1, this.isInitialized = !1, this.extensionStorage = {}, this.options = {
16996
16998
  element: document.createElement("div"),
@@ -17281,7 +17283,7 @@ let D2 = class extends Uw {
17281
17283
  const { blockSeparator: t = `
17282
17284
 
17283
17285
  `, textSerializers: o = {} } = e || {};
17284
- return qh(this.state.doc, {
17286
+ return Uh(this.state.doc, {
17285
17287
  blockSeparator: t,
17286
17288
  textSerializers: {
17287
17289
  ...Ad(this.schema),
@@ -17336,7 +17338,7 @@ let D2 = class extends Uw {
17336
17338
  return this.$pos(0);
17337
17339
  }
17338
17340
  };
17339
- function Uo(r) {
17341
+ function qo(r) {
17340
17342
  return new ma({
17341
17343
  find: r.find,
17342
17344
  handler: ({ state: e, range: t, match: o }) => {
@@ -17463,11 +17465,11 @@ function go(r) {
17463
17465
  }
17464
17466
  });
17465
17467
  }
17466
- var gt = "top", Lt = "bottom", Nt = "right", ft = "left", $d = "auto", ui = [gt, Lt, Nt, ft], qo = "start", Kn = "end", $2 = "clippingParents", Jh = "viewport", un = "popper", z2 = "reference", Ap = /* @__PURE__ */ ui.reduce(function(r, e) {
17467
- return r.concat([e + "-" + qo, e + "-" + Kn]);
17468
+ var gt = "top", Lt = "bottom", Nt = "right", ft = "left", $d = "auto", ui = [gt, Lt, Nt, ft], Uo = "start", Kn = "end", $2 = "clippingParents", Jh = "viewport", un = "popper", z2 = "reference", Ap = /* @__PURE__ */ ui.reduce(function(r, e) {
17469
+ return r.concat([e + "-" + Uo, e + "-" + Kn]);
17468
17470
  }, []), Yh = /* @__PURE__ */ [].concat(ui, [$d]).reduce(function(r, e) {
17469
- return r.concat([e, e + "-" + qo, e + "-" + Kn]);
17470
- }, []), _2 = "beforeRead", F2 = "read", j2 = "afterRead", H2 = "beforeMain", V2 = "main", U2 = "afterMain", q2 = "beforeWrite", W2 = "write", K2 = "afterWrite", G2 = [_2, F2, j2, H2, V2, U2, q2, W2, K2];
17471
+ return r.concat([e, e + "-" + Uo, e + "-" + Kn]);
17472
+ }, []), _2 = "beforeRead", F2 = "read", j2 = "afterRead", H2 = "beforeMain", V2 = "main", q2 = "afterMain", U2 = "beforeWrite", W2 = "write", K2 = "afterWrite", G2 = [_2, F2, j2, H2, V2, q2, U2, W2, K2];
17471
17473
  function Qt(r) {
17472
17474
  return r ? (r.nodeName || "").toLowerCase() : null;
17473
17475
  }
@@ -17934,7 +17936,7 @@ function ng(r) {
17934
17936
  if (d != null) {
17935
17937
  var c = d === "y" ? "height" : "width";
17936
17938
  switch (i) {
17937
- case qo:
17939
+ case Uo:
17938
17940
  l[d] = l[d] - (e[c] / 2 - t[c] / 2);
17939
17941
  break;
17940
17942
  case Kn:
@@ -18004,7 +18006,7 @@ function wx(r) {
18004
18006
  allowedAutoPlacements: f
18005
18007
  }) : it);
18006
18008
  }, []), M = e.rects.reference, k = e.rects.popper, A = /* @__PURE__ */ new Map(), H = !0, _ = y[0], P = 0; P < y.length; P++) {
18007
- var v = y[P], I = Jt(v), W = Go(v) === qo, ne = [gt, Lt].indexOf(I) >= 0, Y = ne ? "width" : "height", Z = Gn(e, {
18009
+ var v = y[P], I = Jt(v), W = Go(v) === Uo, ne = [gt, Lt].indexOf(I) >= 0, Y = ne ? "width" : "height", Z = Gn(e, {
18008
18010
  placement: v,
18009
18011
  boundary: c,
18010
18012
  rootBoundary: p,
@@ -18151,14 +18153,14 @@ function Px(r) {
18151
18153
  };
18152
18154
  if (k) {
18153
18155
  if (i) {
18154
- var W, ne = y === "y" ? gt : ft, Y = y === "y" ? Lt : Nt, Z = y === "y" ? "height" : "width", le = k[y], ge = le + b[ne], se = le - b[Y], ae = m ? -H[Z] / 2 : 0, oe = E === qo ? A[Z] : H[Z], ce = E === qo ? -H[Z] : -A[Z], Ne = e.elements.arrow, Te = m && Ne ? _d(Ne) : {
18156
+ var W, ne = y === "y" ? gt : ft, Y = y === "y" ? Lt : Nt, Z = y === "y" ? "height" : "width", le = k[y], ge = le + b[ne], se = le - b[Y], ae = m ? -H[Z] / 2 : 0, oe = E === Uo ? A[Z] : H[Z], ce = E === Uo ? -H[Z] : -A[Z], Ne = e.elements.arrow, Te = m && Ne ? _d(Ne) : {
18155
18157
  width: 0,
18156
18158
  height: 0
18157
18159
  }, it = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : eg(), ut = it[ne], yo = it[Y], Zt = En(0, A[Z], Te[Z]), wo = C ? A[Z] / 2 - ae - Zt - ut - P.mainAxis : oe - Zt - ut - P.mainAxis, gr = C ? -A[Z] / 2 + ae + Zt + yo + P.mainAxis : ce + Zt + yo + P.mainAxis, vo = e.elements.arrow && mi(e.elements.arrow), hi = vo ? y === "y" ? vo.clientTop || 0 : vo.clientLeft || 0 : 0, tn = (W = v == null ? void 0 : v[y]) != null ? W : 0, gi = le + wo - tn - hi, fi = le + gr - tn, rn = En(m ? ws(ge, gi) : ge, le, m ? ao(se, fi) : se);
18158
18160
  k[y] = rn, I[y] = rn - le;
18159
18161
  }
18160
18162
  if (a) {
18161
- var on, bi = y === "x" ? gt : ft, yi = y === "x" ? Lt : Nt, er = k[M], fr = M === "y" ? "height" : "width", nn = er + b[bi], Ur = er - b[yi], sn = [gt, ft].indexOf(w) !== -1, wi = (on = v == null ? void 0 : v[M]) != null ? on : 0, vi = sn ? nn : er - A[fr] - H[fr] - wi + P.altAxis, xi = sn ? er + A[fr] + H[fr] - wi - P.altAxis : Ur, ki = m && sn ? Z2(vi, er, xi) : En(m ? vi : nn, er, m ? xi : Ur);
18163
+ var on, bi = y === "x" ? gt : ft, yi = y === "x" ? Lt : Nt, er = k[M], fr = M === "y" ? "height" : "width", nn = er + b[bi], qr = er - b[yi], sn = [gt, ft].indexOf(w) !== -1, wi = (on = v == null ? void 0 : v[M]) != null ? on : 0, vi = sn ? nn : er - A[fr] - H[fr] - wi + P.altAxis, xi = sn ? er + A[fr] + H[fr] - wi - P.altAxis : qr, ki = m && sn ? Z2(vi, er, xi) : En(m ? vi : nn, er, m ? xi : qr);
18162
18164
  k[M] = ki, I[M] = ki - er;
18163
18165
  }
18164
18166
  e.modifiersData[o] = I;
@@ -18369,7 +18371,7 @@ var Fx = [dx, Tx, ax, Xh, Ex, vx, Ax, ox, kx], jx = /* @__PURE__ */ _x({
18369
18371
  }, lg = function() {
18370
18372
  return document.body;
18371
18373
  };
18372
- function Ux(r, e) {
18374
+ function qx(r, e) {
18373
18375
  return {}.hasOwnProperty.call(r, e);
18374
18376
  }
18375
18377
  function Wa(r, e, t) {
@@ -18379,7 +18381,7 @@ function Wa(r, e, t) {
18379
18381
  }
18380
18382
  return r;
18381
18383
  }
18382
- function Ud(r, e) {
18384
+ function qd(r, e) {
18383
18385
  var t = {}.toString.call(r);
18384
18386
  return t.indexOf("[object") === 0 && t.indexOf(e + "]") > -1;
18385
18387
  }
@@ -18396,7 +18398,7 @@ function _p(r, e) {
18396
18398
  }, e);
18397
18399
  };
18398
18400
  }
18399
- function qx(r, e) {
18401
+ function Ux(r, e) {
18400
18402
  var t = Object.assign({}, r);
18401
18403
  return e.forEach(function(o) {
18402
18404
  delete t[o];
@@ -18432,14 +18434,14 @@ function Tn() {
18432
18434
  }
18433
18435
  function Jn(r) {
18434
18436
  return ["Element", "Fragment"].some(function(e) {
18435
- return Ud(r, e);
18437
+ return qd(r, e);
18436
18438
  });
18437
18439
  }
18438
18440
  function Jx(r) {
18439
- return Ud(r, "NodeList");
18441
+ return qd(r, "NodeList");
18440
18442
  }
18441
18443
  function Yx(r) {
18442
- return Ud(r, "MouseEvent");
18444
+ return qd(r, "MouseEvent");
18443
18445
  }
18444
18446
  function Xx(r) {
18445
18447
  return !!(r && r._tippy && r._tippy.reference === r);
@@ -18488,13 +18490,13 @@ function Vp(r, e) {
18488
18490
  }
18489
18491
  var Vt = {
18490
18492
  isTouch: !1
18491
- }, Up = 0;
18493
+ }, qp = 0;
18492
18494
  function t5() {
18493
18495
  Vt.isTouch || (Vt.isTouch = !0, window.performance && document.addEventListener("mousemove", cg));
18494
18496
  }
18495
18497
  function cg() {
18496
18498
  var r = performance.now();
18497
- r - Up < 20 && (Vt.isTouch = !1, document.removeEventListener("mousemove", cg)), Up = r;
18499
+ r - qp < 20 && (Vt.isTouch = !1, document.removeEventListener("mousemove", cg)), qp = r;
18498
18500
  }
18499
18501
  function r5() {
18500
18502
  var r = document.activeElement;
@@ -18514,15 +18516,15 @@ function Oo(r) {
18514
18516
  var e = r === "destroy" ? "n already-" : " ";
18515
18517
  return [r + "() was called on a" + e + "destroyed instance. This is a no-op but", "indicates a potential memory leak."].join(" ");
18516
18518
  }
18517
- function qp(r) {
18519
+ function Up(r) {
18518
18520
  var e = /[ \t]{2,}/g, t = /^[ \t]*/gm;
18519
18521
  return r.replace(e, " ").replace(t, "").trim();
18520
18522
  }
18521
18523
  function s5(r) {
18522
- return qp(`
18524
+ return Up(`
18523
18525
  %ctippy.js
18524
18526
 
18525
- %c` + qp(r) + `
18527
+ %c` + Up(r) + `
18526
18528
 
18527
18529
  %c👷‍ This is a development-only message. It will be removed in production.
18528
18530
  `);
@@ -18672,7 +18674,7 @@ function hg(r, e) {
18672
18674
  r === void 0 && (r = {}), e === void 0 && (e = []);
18673
18675
  var t = Object.keys(r);
18674
18676
  t.forEach(function(o) {
18675
- var n = qx(wt, Object.keys(ug)), i = !Ux(n, o);
18677
+ var n = Ux(wt, Object.keys(ug)), i = !qx(n, o);
18676
18678
  i && (i = e.filter(function(s) {
18677
18679
  return s.name === o;
18678
18680
  }).length === 0), ar(i, ["`" + 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.", `
@@ -18797,25 +18799,25 @@ function g5(r, e) {
18797
18799
  function le(B) {
18798
18800
  B === void 0 && (B = !1), k.style.pointerEvents = y.props.interactive && !B ? "" : "none", k.style.zIndex = "" + y.props.zIndex;
18799
18801
  }
18800
- function ge(B, U, G) {
18802
+ function ge(B, q, G) {
18801
18803
  if (G === void 0 && (G = !0), H.forEach(function(de) {
18802
- de[B] && de[B].apply(de, U);
18804
+ de[B] && de[B].apply(de, q);
18803
18805
  }), G) {
18804
18806
  var me;
18805
- (me = y.props)[B].apply(me, U);
18807
+ (me = y.props)[B].apply(me, q);
18806
18808
  }
18807
18809
  }
18808
18810
  function se() {
18809
18811
  var B = y.props.aria;
18810
18812
  if (B.content) {
18811
- var U = "aria-" + B.content, G = k.id, me = Lo(y.props.triggerTarget || r);
18813
+ var q = "aria-" + B.content, G = k.id, me = Lo(y.props.triggerTarget || r);
18812
18814
  me.forEach(function(de) {
18813
- var st = de.getAttribute(U);
18815
+ var st = de.getAttribute(q);
18814
18816
  if (y.state.isVisible)
18815
- de.setAttribute(U, st ? st + " " + G : G);
18817
+ de.setAttribute(q, st ? st + " " + G : G);
18816
18818
  else {
18817
18819
  var St = st && st.replace(G, "").trim();
18818
- St ? de.setAttribute(U, St) : de.removeAttribute(U);
18820
+ St ? de.setAttribute(q, St) : de.removeAttribute(q);
18819
18821
  }
18820
18822
  });
18821
18823
  }
@@ -18823,8 +18825,8 @@ function g5(r, e) {
18823
18825
  function ae() {
18824
18826
  if (!(_ || !y.props.aria.expanded)) {
18825
18827
  var B = Lo(y.props.triggerTarget || r);
18826
- B.forEach(function(U) {
18827
- y.props.interactive ? U.setAttribute("aria-expanded", y.state.isVisible && U === W() ? "true" : "false") : U.removeAttribute("aria-expanded");
18828
+ B.forEach(function(q) {
18829
+ y.props.interactive ? q.setAttribute("aria-expanded", y.state.isVisible && q === W() ? "true" : "false") : q.removeAttribute("aria-expanded");
18828
18830
  });
18829
18831
  }
18830
18832
  }
@@ -18835,10 +18837,10 @@ function g5(r, e) {
18835
18837
  }
18836
18838
  function ce(B) {
18837
18839
  if (!(Vt.isTouch && (l || B.type === "mousedown"))) {
18838
- var U = B.composedPath && B.composedPath()[0] || B.target;
18839
- if (!(y.props.interactive && Vp(k, U))) {
18840
+ var q = B.composedPath && B.composedPath()[0] || B.target;
18841
+ if (!(y.props.interactive && Vp(k, q))) {
18840
18842
  if (Lo(y.props.triggerTarget || r).some(function(G) {
18841
- return Vp(G, U);
18843
+ return Vp(G, q);
18842
18844
  })) {
18843
18845
  if (Vt.isTouch || y.state.isVisible && y.props.trigger.indexOf("click") >= 0)
18844
18846
  return;
@@ -18864,31 +18866,31 @@ function g5(r, e) {
18864
18866
  var B = ne();
18865
18867
  B.removeEventListener("mousedown", ce, !0), B.removeEventListener("touchend", ce, Jr), B.removeEventListener("touchstart", Te, Jr), B.removeEventListener("touchmove", Ne, Jr);
18866
18868
  }
18867
- function yo(B, U) {
18869
+ function yo(B, q) {
18868
18870
  wo(B, function() {
18869
- !y.state.isVisible && k.parentNode && k.parentNode.contains(k) && U();
18871
+ !y.state.isVisible && k.parentNode && k.parentNode.contains(k) && q();
18870
18872
  });
18871
18873
  }
18872
- function Zt(B, U) {
18873
- wo(B, U);
18874
+ function Zt(B, q) {
18875
+ wo(B, q);
18874
18876
  }
18875
- function wo(B, U) {
18877
+ function wo(B, q) {
18876
18878
  var G = Y().box;
18877
18879
  function me(de) {
18878
- de.target === G && (Ga(G, "remove", me), U());
18880
+ de.target === G && (Ga(G, "remove", me), q());
18879
18881
  }
18880
18882
  if (B === 0)
18881
- return U();
18883
+ return q();
18882
18884
  Ga(G, "remove", p), Ga(G, "add", me), p = me;
18883
18885
  }
18884
- function gr(B, U, G) {
18886
+ function gr(B, q, G) {
18885
18887
  G === void 0 && (G = !1);
18886
18888
  var me = Lo(y.props.triggerTarget || r);
18887
18889
  me.forEach(function(de) {
18888
- de.addEventListener(B, U, G), m.push({
18890
+ de.addEventListener(B, q, G), m.push({
18889
18891
  node: de,
18890
18892
  eventType: B,
18891
- handler: U,
18893
+ handler: q,
18892
18894
  options: G
18893
18895
  });
18894
18896
  });
@@ -18915,21 +18917,21 @@ function g5(r, e) {
18915
18917
  }
18916
18918
  function hi() {
18917
18919
  m.forEach(function(B) {
18918
- var U = B.node, G = B.eventType, me = B.handler, de = B.options;
18919
- U.removeEventListener(G, me, de);
18920
+ var q = B.node, G = B.eventType, me = B.handler, de = B.options;
18921
+ q.removeEventListener(G, me, de);
18920
18922
  }), m = [];
18921
18923
  }
18922
18924
  function tn(B) {
18923
- var U, G = !1;
18925
+ var q, G = !1;
18924
18926
  if (!(!y.state.isEnabled || on(B) || a)) {
18925
- var me = ((U = c) == null ? void 0 : U.type) === "focus";
18927
+ var me = ((q = c) == null ? void 0 : q.type) === "focus";
18926
18928
  c = B, f = B.currentTarget, ae(), !y.state.isVisible && Yx(B) && _i.forEach(function(de) {
18927
18929
  return de(B);
18928
- }), B.type === "click" && (y.props.trigger.indexOf("mouseenter") < 0 || s) && y.props.hideOnClick !== !1 && y.state.isVisible ? G = !0 : nn(B), B.type === "click" && (s = !G), G && !me && Ur(B);
18930
+ }), B.type === "click" && (y.props.trigger.indexOf("mouseenter") < 0 || s) && y.props.hideOnClick !== !1 && y.state.isVisible ? G = !0 : nn(B), B.type === "click" && (s = !G), G && !me && qr(B);
18929
18931
  }
18930
18932
  }
18931
18933
  function gi(B) {
18932
- var U = B.target, G = W().contains(U) || k.contains(U);
18934
+ var q = B.target, G = W().contains(q) || k.contains(q);
18933
18935
  if (!(B.type === "mousemove" && G)) {
18934
18936
  var me = fr().concat(k).map(function(de) {
18935
18937
  var st, St = de._tippy, xo = (st = St.popperInstance) == null ? void 0 : st.state;
@@ -18939,28 +18941,28 @@ function g5(r, e) {
18939
18941
  props: t
18940
18942
  } : null;
18941
18943
  }).filter(Boolean);
18942
- e5(me, B) && (oe(), Ur(B));
18944
+ e5(me, B) && (oe(), qr(B));
18943
18945
  }
18944
18946
  }
18945
18947
  function fi(B) {
18946
- var U = on(B) || y.props.trigger.indexOf("click") >= 0 && s;
18947
- if (!U) {
18948
+ var q = on(B) || y.props.trigger.indexOf("click") >= 0 && s;
18949
+ if (!q) {
18948
18950
  if (y.props.interactive) {
18949
18951
  y.hideWithInteractivity(B);
18950
18952
  return;
18951
18953
  }
18952
- Ur(B);
18954
+ qr(B);
18953
18955
  }
18954
18956
  }
18955
18957
  function rn(B) {
18956
- y.props.trigger.indexOf("focusin") < 0 && B.target !== W() || y.props.interactive && B.relatedTarget && k.contains(B.relatedTarget) || Ur(B);
18958
+ y.props.trigger.indexOf("focusin") < 0 && B.target !== W() || y.props.interactive && B.relatedTarget && k.contains(B.relatedTarget) || qr(B);
18957
18959
  }
18958
18960
  function on(B) {
18959
18961
  return Vt.isTouch ? v() !== B.type.indexOf("touch") >= 0 : !1;
18960
18962
  }
18961
18963
  function bi() {
18962
18964
  yi();
18963
- var B = y.props, U = B.popperOptions, G = B.placement, me = B.offset, de = B.getReferenceClientRect, st = B.moveTransition, St = I() ? Fl(k).arrow : null, xo = de ? {
18965
+ var B = y.props, q = B.popperOptions, G = B.placement, me = B.offset, de = B.getReferenceClientRect, st = B.moveTransition, St = I() ? Fl(k).arrow : null, xo = de ? {
18964
18966
  getBoundingClientRect: de,
18965
18967
  contextElement: de.contextElement || W()
18966
18968
  } : r, tc = {
@@ -18977,7 +18979,7 @@ function g5(r, e) {
18977
18979
  }), ko.attributes.popper = {};
18978
18980
  }
18979
18981
  }
18980
- }, qr = [{
18982
+ }, Ur = [{
18981
18983
  name: "offset",
18982
18984
  options: {
18983
18985
  offset: me
@@ -19003,24 +19005,24 @@ function g5(r, e) {
19003
19005
  adaptive: !st
19004
19006
  }
19005
19007
  }, tc];
19006
- I() && St && qr.push({
19008
+ I() && St && Ur.push({
19007
19009
  name: "arrow",
19008
19010
  options: {
19009
19011
  element: St,
19010
19012
  padding: 3
19011
19013
  }
19012
- }), qr.push.apply(qr, (U == null ? void 0 : U.modifiers) || []), y.popperInstance = jx(xo, k, Object.assign({}, U, {
19014
+ }), Ur.push.apply(Ur, (q == null ? void 0 : q.modifiers) || []), y.popperInstance = jx(xo, k, Object.assign({}, q, {
19013
19015
  placement: G,
19014
19016
  onFirstUpdate: u,
19015
- modifiers: qr
19017
+ modifiers: Ur
19016
19018
  }));
19017
19019
  }
19018
19020
  function yi() {
19019
19021
  y.popperInstance && (y.popperInstance.destroy(), y.popperInstance = null);
19020
19022
  }
19021
19023
  function er() {
19022
- var B = y.props.appendTo, U, G = W();
19023
- y.props.interactive && B === lg || B === "parent" ? U = G.parentNode : U = dg(B, [G]), U.contains(k) || U.appendChild(k), y.state.isMounted = !0, bi(), process.env.NODE_ENV !== "production" && ar(y.props.interactive && B === wt.appendTo && G.nextElementSibling !== k, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
19024
+ var B = y.props.appendTo, q, G = W();
19025
+ y.props.interactive && B === lg || B === "parent" ? q = G.parentNode : q = dg(B, [G]), q.contains(k) || q.appendChild(k), y.state.isMounted = !0, bi(), process.env.NODE_ENV !== "production" && ar(y.props.interactive && B === wt.appendTo && G.nextElementSibling !== k, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
19024
19026
 
19025
19027
  `, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
19026
19028
 
@@ -19033,21 +19035,21 @@ function g5(r, e) {
19033
19035
  }
19034
19036
  function nn(B) {
19035
19037
  y.clearDelayTimeouts(), B && ge("onTrigger", [y, B]), it();
19036
- var U = Z(!0), G = P(), me = G[0], de = G[1];
19037
- Vt.isTouch && me === "hold" && de && (U = de), U ? o = setTimeout(function() {
19038
+ var q = Z(!0), G = P(), me = G[0], de = G[1];
19039
+ Vt.isTouch && me === "hold" && de && (q = de), q ? o = setTimeout(function() {
19038
19040
  y.show();
19039
- }, U) : y.show();
19041
+ }, q) : y.show();
19040
19042
  }
19041
- function Ur(B) {
19043
+ function qr(B) {
19042
19044
  if (y.clearDelayTimeouts(), ge("onUntrigger", [y, B]), !y.state.isVisible) {
19043
19045
  ut();
19044
19046
  return;
19045
19047
  }
19046
19048
  if (!(y.props.trigger.indexOf("mouseenter") >= 0 && y.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(B.type) >= 0 && s)) {
19047
- var U = Z(!1);
19048
- U ? n = setTimeout(function() {
19049
+ var q = Z(!1);
19050
+ q ? n = setTimeout(function() {
19049
19051
  y.state.isVisible && y.hide();
19050
- }, U) : i = requestAnimationFrame(function() {
19052
+ }, q) : i = requestAnimationFrame(function() {
19051
19053
  y.hide();
19052
19054
  });
19053
19055
  }
@@ -19064,12 +19066,12 @@ function g5(r, e) {
19064
19066
  function xi(B) {
19065
19067
  if (process.env.NODE_ENV !== "production" && ar(y.state.isDestroyed, Oo("setProps")), !y.state.isDestroyed) {
19066
19068
  ge("onBeforeUpdate", [y, B]), hi();
19067
- var U = y.props, G = Wp(r, Object.assign({}, U, jp(B), {
19069
+ var q = y.props, G = Wp(r, Object.assign({}, q, jp(B), {
19068
19070
  ignoreAttributes: !0
19069
19071
  }));
19070
- y.props = G, vo(), U.interactiveDebounce !== G.interactiveDebounce && (oe(), h = _p(gi, G.interactiveDebounce)), U.triggerTarget && !G.triggerTarget ? Lo(U.triggerTarget).forEach(function(me) {
19072
+ y.props = G, vo(), q.interactiveDebounce !== G.interactiveDebounce && (oe(), h = _p(gi, G.interactiveDebounce)), q.triggerTarget && !G.triggerTarget ? Lo(q.triggerTarget).forEach(function(me) {
19071
19073
  me.removeAttribute("aria-expanded");
19072
- }) : G.triggerTarget && r.removeAttribute("aria-expanded"), ae(), le(), A && A(U, G), y.popperInstance && (bi(), fr().forEach(function(me) {
19074
+ }) : G.triggerTarget && r.removeAttribute("aria-expanded"), ae(), le(), A && A(q, G), y.popperInstance && (bi(), fr().forEach(function(me) {
19073
19075
  requestAnimationFrame(me._tippy.popperInstance.forceUpdate);
19074
19076
  })), ge("onAfterUpdate", [y, B]);
19075
19077
  }
@@ -19081,20 +19083,20 @@ function g5(r, e) {
19081
19083
  }
19082
19084
  function Lg() {
19083
19085
  process.env.NODE_ENV !== "production" && ar(y.state.isDestroyed, Oo("show"));
19084
- var B = y.state.isVisible, U = y.state.isDestroyed, G = !y.state.isEnabled, me = Vt.isTouch && !y.props.touch, de = Wa(y.props.duration, 0, wt.duration);
19085
- if (!(B || U || G || me) && !W().hasAttribute("disabled") && (ge("onShow", [y], !1), y.props.onShow(y) !== !1)) {
19086
+ var B = y.state.isVisible, q = y.state.isDestroyed, G = !y.state.isEnabled, me = Vt.isTouch && !y.props.touch, de = Wa(y.props.duration, 0, wt.duration);
19087
+ if (!(B || q || G || me) && !W().hasAttribute("disabled") && (ge("onShow", [y], !1), y.props.onShow(y) !== !1)) {
19086
19088
  if (y.state.isVisible = !0, I() && (k.style.visibility = "visible"), le(), it(), y.state.isMounted || (k.style.transition = "none"), I()) {
19087
19089
  var st = Y(), St = st.box, xo = st.content;
19088
19090
  Ka([St, xo], 0);
19089
19091
  }
19090
19092
  u = function() {
19091
- var qr;
19093
+ var Ur;
19092
19094
  if (!(!y.state.isVisible || d)) {
19093
19095
  if (d = !0, k.offsetHeight, k.style.transition = y.props.moveTransition, I() && y.props.animation) {
19094
19096
  var ya = Y(), Si = ya.box, ko = ya.content;
19095
19097
  Ka([Si, ko], de), Hp([Si, ko], "visible");
19096
19098
  }
19097
- se(), ae(), Fp(Ja, y), (qr = y.popperInstance) == null || qr.forceUpdate(), ge("onMount", [y]), y.props.animation && I() && Zt(de, function() {
19099
+ se(), ae(), Fp(Ja, y), (Ur = y.popperInstance) == null || Ur.forceUpdate(), ge("onMount", [y]), y.props.animation && I() && Zt(de, function() {
19098
19100
  y.state.isShown = !0, ge("onShown", [y]);
19099
19101
  });
19100
19102
  }
@@ -19103,8 +19105,8 @@ function g5(r, e) {
19103
19105
  }
19104
19106
  function Ng() {
19105
19107
  process.env.NODE_ENV !== "production" && ar(y.state.isDestroyed, Oo("hide"));
19106
- var B = !y.state.isVisible, U = y.state.isDestroyed, G = !y.state.isEnabled, me = Wa(y.props.duration, 1, wt.duration);
19107
- if (!(B || U || G) && (ge("onHide", [y], !1), y.props.onHide(y) !== !1)) {
19108
+ var B = !y.state.isVisible, q = y.state.isDestroyed, G = !y.state.isEnabled, me = Wa(y.props.duration, 1, wt.duration);
19109
+ if (!(B || q || G) && (ge("onHide", [y], !1), y.props.onHide(y) !== !1)) {
19108
19110
  if (y.state.isVisible = !1, y.state.isShown = !1, d = !1, s = !1, I() && (k.style.visibility = "hidden"), oe(), ut(), le(!0), I()) {
19109
19111
  var de = Y(), st = de.box, St = de.content;
19110
19112
  y.props.animation && (Ka([st, St], me), Hp([st, St], "hidden"));
@@ -19295,7 +19297,7 @@ Xe.create({
19295
19297
  });
19296
19298
  class b5 {
19297
19299
  getTextContent(e) {
19298
- return qh(e, { textSerializers: Ad(this.editor.schema) });
19300
+ return Uh(e, { textSerializers: Ad(this.editor.schema) });
19299
19301
  }
19300
19302
  constructor({ editor: e, element: t, view: o, tippyOptions: n = {}, shouldShow: i }) {
19301
19303
  this.preventHide = !1, this.shouldShow = ({ view: s, state: a }) => {
@@ -19432,7 +19434,7 @@ he({
19432
19434
  }
19433
19435
  });
19434
19436
  function Jp(r) {
19435
- return Ug((e, t) => ({
19437
+ return qg((e, t) => ({
19436
19438
  get() {
19437
19439
  return e(), r;
19438
19440
  },
@@ -19684,11 +19686,11 @@ const v5 = (r = {}) => {
19684
19686
  },
19685
19687
  addInputRules() {
19686
19688
  return [
19687
- Uo({
19689
+ qo({
19688
19690
  find: S5,
19689
19691
  type: this.type
19690
19692
  }),
19691
- Uo({
19693
+ qo({
19692
19694
  find: E5,
19693
19695
  type: this.type
19694
19696
  })
@@ -19786,7 +19788,7 @@ const v5 = (r = {}) => {
19786
19788
  },
19787
19789
  addInputRules() {
19788
19790
  return [
19789
- Uo({
19791
+ qo({
19790
19792
  find: A5,
19791
19793
  type: this.type
19792
19794
  })
@@ -20060,7 +20062,7 @@ class Pe extends Q {
20060
20062
  @internal
20061
20063
  */
20062
20064
  getBookmark() {
20063
- return new qd(this.anchor);
20065
+ return new Ud(this.anchor);
20064
20066
  }
20065
20067
  /**
20066
20068
  @internal
@@ -20116,12 +20118,12 @@ class Pe extends Q {
20116
20118
  Pe.prototype.visible = !1;
20117
20119
  Pe.findFrom = Pe.findGapCursorFrom;
20118
20120
  Q.jsonID("gapcursor", Pe);
20119
- class qd {
20121
+ class Ud {
20120
20122
  constructor(e) {
20121
20123
  this.pos = e;
20122
20124
  }
20123
20125
  map(e) {
20124
- return new qd(e.map(this.pos));
20126
+ return new Ud(e.map(this.pos));
20125
20127
  }
20126
20128
  resolve(e) {
20127
20129
  let t = e.resolve(this.pos);
@@ -20169,9 +20171,9 @@ function H5() {
20169
20171
  createSelectionBetween(r, e, t) {
20170
20172
  return e.pos == t.pos && Pe.valid(t) ? new Pe(t) : null;
20171
20173
  },
20172
- handleClick: U5,
20174
+ handleClick: q5,
20173
20175
  handleKeyDown: V5,
20174
- handleDOMEvents: { beforeinput: q5 }
20176
+ handleDOMEvents: { beforeinput: U5 }
20175
20177
  }
20176
20178
  });
20177
20179
  }
@@ -20194,7 +20196,7 @@ function Fi(r, e) {
20194
20196
  return d ? (n && n(o.tr.setSelection(new Pe(d))), !0) : !1;
20195
20197
  };
20196
20198
  }
20197
- function U5(r, e, t) {
20199
+ function q5(r, e, t) {
20198
20200
  if (!r || !r.editable)
20199
20201
  return !1;
20200
20202
  let o = r.state.doc.resolve(e);
@@ -20203,7 +20205,7 @@ function U5(r, e, t) {
20203
20205
  let n = r.posAtCoords({ left: t.clientX, top: t.clientY });
20204
20206
  return n && n.inside > -1 && K.isSelectable(r.state.doc.nodeAt(n.inside)) ? !1 : (r.dispatch(r.state.tr.setSelection(new Pe(o))), !0);
20205
20207
  }
20206
- function q5(r, e) {
20208
+ function U5(r, e) {
20207
20209
  if (e.inputType != "insertCompositionText" || !(r.state.selection instanceof Pe))
20208
20210
  return !1;
20209
20211
  let { $from: t } = r.state.selection, o = t.parent.contentMatchAt(t.index()).findWrapping(r.state.schema.nodes.text);
@@ -20339,36 +20341,36 @@ const K5 = Xe.create({
20339
20341
  }));
20340
20342
  }
20341
20343
  });
20342
- var xs = 200, Ue = function() {
20344
+ var xs = 200, qe = function() {
20343
20345
  };
20344
- Ue.prototype.append = function(e) {
20345
- return e.length ? (e = Ue.from(e), !this.length && e || e.length < xs && this.leafAppend(e) || this.length < xs && e.leafPrepend(this) || this.appendInner(e)) : this;
20346
+ qe.prototype.append = function(e) {
20347
+ return e.length ? (e = qe.from(e), !this.length && e || e.length < xs && this.leafAppend(e) || this.length < xs && e.leafPrepend(this) || this.appendInner(e)) : this;
20346
20348
  };
20347
- Ue.prototype.prepend = function(e) {
20348
- return e.length ? Ue.from(e).append(this) : this;
20349
+ qe.prototype.prepend = function(e) {
20350
+ return e.length ? qe.from(e).append(this) : this;
20349
20351
  };
20350
- Ue.prototype.appendInner = function(e) {
20352
+ qe.prototype.appendInner = function(e) {
20351
20353
  return new Y5(this, e);
20352
20354
  };
20353
- Ue.prototype.slice = function(e, t) {
20354
- return e === void 0 && (e = 0), t === void 0 && (t = this.length), e >= t ? Ue.empty : this.sliceInner(Math.max(0, e), Math.min(this.length, t));
20355
+ qe.prototype.slice = function(e, t) {
20356
+ return e === void 0 && (e = 0), t === void 0 && (t = this.length), e >= t ? qe.empty : this.sliceInner(Math.max(0, e), Math.min(this.length, t));
20355
20357
  };
20356
- Ue.prototype.get = function(e) {
20358
+ qe.prototype.get = function(e) {
20357
20359
  if (!(e < 0 || e >= this.length))
20358
20360
  return this.getInner(e);
20359
20361
  };
20360
- Ue.prototype.forEach = function(e, t, o) {
20362
+ qe.prototype.forEach = function(e, t, o) {
20361
20363
  t === void 0 && (t = 0), o === void 0 && (o = this.length), t <= o ? this.forEachInner(e, t, o, 0) : this.forEachInvertedInner(e, t, o, 0);
20362
20364
  };
20363
- Ue.prototype.map = function(e, t, o) {
20365
+ qe.prototype.map = function(e, t, o) {
20364
20366
  t === void 0 && (t = 0), o === void 0 && (o = this.length);
20365
20367
  var n = [];
20366
20368
  return this.forEach(function(i, s) {
20367
20369
  return n.push(e(i, s));
20368
20370
  }, t, o), n;
20369
20371
  };
20370
- Ue.from = function(e) {
20371
- return e instanceof Ue ? e : e && e.length ? new yg(e) : Ue.empty;
20372
+ qe.from = function(e) {
20373
+ return e instanceof qe ? e : e && e.length ? new yg(e) : qe.empty;
20372
20374
  };
20373
20375
  var yg = /* @__PURE__ */ function(r) {
20374
20376
  function e(o) {
@@ -20401,8 +20403,8 @@ var yg = /* @__PURE__ */ function(r) {
20401
20403
  }, t.depth.get = function() {
20402
20404
  return 0;
20403
20405
  }, Object.defineProperties(e.prototype, t), e;
20404
- }(Ue);
20405
- Ue.empty = new yg([]);
20406
+ }(qe);
20407
+ qe.empty = new yg([]);
20406
20408
  var Y5 = /* @__PURE__ */ function(r) {
20407
20409
  function e(t, o) {
20408
20410
  r.call(this), this.left = t, this.right = o, this.length = t.length + o.length, this.depth = Math.max(t.depth, o.depth) + 1;
@@ -20435,7 +20437,7 @@ var Y5 = /* @__PURE__ */ function(r) {
20435
20437
  }, e.prototype.appendInner = function(o) {
20436
20438
  return this.left.depth >= Math.max(this.right.depth, o.depth) + 1 ? new e(this.left, new e(this.right, o)) : new e(this, o);
20437
20439
  }, e;
20438
- }(Ue);
20440
+ }(qe);
20439
20441
  const X5 = 500;
20440
20442
  class $t {
20441
20443
  constructor(e, t) {
@@ -20546,10 +20548,10 @@ class $t {
20546
20548
  (u = n.length && n[m].merge(p)) ? n[m] = u : n.push(p);
20547
20549
  }
20548
20550
  } else s.map && o--;
20549
- }, this.items.length, 0), new $t(Ue.from(n.reverse()), i);
20551
+ }, this.items.length, 0), new $t(qe.from(n.reverse()), i);
20550
20552
  }
20551
20553
  }
20552
- $t.empty = new $t(Ue.empty, 0);
20554
+ $t.empty = new $t(qe.empty, 0);
20553
20555
  function Q5(r, e) {
20554
20556
  let t;
20555
20557
  return r.forEach((o, n) => {
@@ -20797,11 +20799,11 @@ const vg = wg(!1, !0), xg = wg(!0, !0), i3 = Xe.create({
20797
20799
  },
20798
20800
  addInputRules() {
20799
20801
  return [
20800
- Uo({
20802
+ qo({
20801
20803
  find: a3,
20802
20804
  type: this.type
20803
20805
  }),
20804
- Uo({
20806
+ qo({
20805
20807
  find: d3,
20806
20808
  type: this.type
20807
20809
  })
@@ -20983,7 +20985,7 @@ const vg = wg(!1, !0), xg = wg(!0, !0), i3 = Xe.create({
20983
20985
  },
20984
20986
  addInputRules() {
20985
20987
  return [
20986
- Uo({
20988
+ qo({
20987
20989
  find: f3,
20988
20990
  type: this.type
20989
20991
  })
@@ -21010,12 +21012,12 @@ const vg = wg(!1, !0), xg = wg(!0, !0), i3 = Xe.create({
21010
21012
  for (const t in e)
21011
21013
  r[t] = e[t];
21012
21014
  return r;
21013
- }, jl = "numeric", Hl = "ascii", Vl = "alpha", On = "asciinumeric", wn = "alphanumeric", Ul = "domain", kg = "emoji", S3 = "scheme", C3 = "slashscheme", Qa = "whitespace";
21015
+ }, jl = "numeric", Hl = "ascii", Vl = "alpha", On = "asciinumeric", wn = "alphanumeric", ql = "domain", kg = "emoji", S3 = "scheme", C3 = "slashscheme", Qa = "whitespace";
21014
21016
  function E3(r, e) {
21015
21017
  return r in e || (e[r] = []), e[r];
21016
21018
  }
21017
21019
  function ro(r, e, t) {
21018
- e[jl] && (e[On] = !0, e[wn] = !0), e[Hl] && (e[On] = !0, e[Vl] = !0), e[On] && (e[wn] = !0), e[Vl] && (e[wn] = !0), e[wn] && (e[Ul] = !0), e[kg] && (e[Ul] = !0);
21020
+ e[jl] && (e[On] = !0, e[wn] = !0), e[Hl] && (e[On] = !0, e[Vl] = !0), e[On] && (e[wn] = !0), e[Vl] && (e[wn] = !0), e[wn] && (e[ql] = !0), e[kg] && (e[ql] = !0);
21019
21021
  for (const o in e) {
21020
21022
  const n = E3(o, t);
21021
21023
  n.indexOf(r) < 0 && n.push(r);
@@ -21151,7 +21153,7 @@ mt.prototype = {
21151
21153
  return n.j[r] = s, s;
21152
21154
  }
21153
21155
  };
21154
- const ee = (r, e, t, o, n) => r.ta(e, t, o, n), Oe = (r, e, t, o, n) => r.tr(e, t, o, n), ru = (r, e, t, o, n) => r.ts(e, t, o, n), D = (r, e, t, o, n) => r.tt(e, t, o, n), ir = "WORD", ql = "UWORD", Sg = "ASCIINUMERICAL", Cg = "ALPHANUMERICAL", Xn = "LOCALHOST", Wl = "TLD", Kl = "UTLD", es = "SCHEME", No = "SLASH_SCHEME", Wd = "NUM", Gl = "WS", Kd = "NL", Pn = "OPENBRACE", An = "CLOSEBRACE", ks = "OPENBRACKET", Ss = "CLOSEBRACKET", Cs = "OPENPAREN", Es = "CLOSEPAREN", Ms = "OPENANGLEBRACKET", Ts = "CLOSEANGLEBRACKET", Os = "FULLWIDTHLEFTPAREN", Ps = "FULLWIDTHRIGHTPAREN", As = "LEFTCORNERBRACKET", Bs = "RIGHTCORNERBRACKET", Ls = "LEFTWHITECORNERBRACKET", Ns = "RIGHTWHITECORNERBRACKET", Is = "FULLWIDTHLESSTHAN", Ds = "FULLWIDTHGREATERTHAN", Rs = "AMPERSAND", $s = "APOSTROPHE", zs = "ASTERISK", xr = "AT", _s = "BACKSLASH", Fs = "BACKTICK", js = "CARET", Sr = "COLON", Gd = "COMMA", Hs = "DOLLAR", jt = "DOT", Vs = "EQUALS", Jd = "EXCLAMATION", Mt = "HYPHEN", Bn = "PERCENT", Us = "PIPE", qs = "PLUS", Ws = "POUND", Ln = "QUERY", Yd = "QUOTE", Eg = "FULLWIDTHMIDDLEDOT", Xd = "SEMI", Ht = "SLASH", Nn = "TILDE", Ks = "UNDERSCORE", Mg = "EMOJI", Gs = "SYM";
21156
+ const ee = (r, e, t, o, n) => r.ta(e, t, o, n), Oe = (r, e, t, o, n) => r.tr(e, t, o, n), ru = (r, e, t, o, n) => r.ts(e, t, o, n), D = (r, e, t, o, n) => r.tt(e, t, o, n), ir = "WORD", Ul = "UWORD", Sg = "ASCIINUMERICAL", Cg = "ALPHANUMERICAL", Xn = "LOCALHOST", Wl = "TLD", Kl = "UTLD", es = "SCHEME", No = "SLASH_SCHEME", Wd = "NUM", Gl = "WS", Kd = "NL", Pn = "OPENBRACE", An = "CLOSEBRACE", ks = "OPENBRACKET", Ss = "CLOSEBRACKET", Cs = "OPENPAREN", Es = "CLOSEPAREN", Ms = "OPENANGLEBRACKET", Ts = "CLOSEANGLEBRACKET", Os = "FULLWIDTHLEFTPAREN", Ps = "FULLWIDTHRIGHTPAREN", As = "LEFTCORNERBRACKET", Bs = "RIGHTCORNERBRACKET", Ls = "LEFTWHITECORNERBRACKET", Ns = "RIGHTWHITECORNERBRACKET", Is = "FULLWIDTHLESSTHAN", Ds = "FULLWIDTHGREATERTHAN", Rs = "AMPERSAND", $s = "APOSTROPHE", zs = "ASTERISK", xr = "AT", _s = "BACKSLASH", Fs = "BACKTICK", js = "CARET", Sr = "COLON", Gd = "COMMA", Hs = "DOLLAR", jt = "DOT", Vs = "EQUALS", Jd = "EXCLAMATION", Mt = "HYPHEN", Bn = "PERCENT", qs = "PIPE", Us = "PLUS", Ws = "POUND", Ln = "QUERY", Yd = "QUOTE", Eg = "FULLWIDTHMIDDLEDOT", Xd = "SEMI", Ht = "SLASH", Nn = "TILDE", Ks = "UNDERSCORE", Mg = "EMOJI", Gs = "SYM";
21155
21157
  var Tg = /* @__PURE__ */ Object.freeze({
21156
21158
  __proto__: null,
21157
21159
  ALPHANUMERICAL: Cg,
@@ -21190,8 +21192,8 @@ var Tg = /* @__PURE__ */ Object.freeze({
21190
21192
  OPENBRACKET: ks,
21191
21193
  OPENPAREN: Cs,
21192
21194
  PERCENT: Bn,
21193
- PIPE: Us,
21194
- PLUS: qs,
21195
+ PIPE: qs,
21196
+ PLUS: Us,
21195
21197
  POUND: Ws,
21196
21198
  QUERY: Ln,
21197
21199
  QUOTE: Yd,
@@ -21206,7 +21208,7 @@ var Tg = /* @__PURE__ */ Object.freeze({
21206
21208
  TLD: Wl,
21207
21209
  UNDERSCORE: Ks,
21208
21210
  UTLD: Kl,
21209
- UWORD: ql,
21211
+ UWORD: Ul,
21210
21212
  WORD: ir,
21211
21213
  WS: Gl
21212
21214
  });
@@ -21217,7 +21219,7 @@ function P3(r = []) {
21217
21219
  const e = {};
21218
21220
  mt.groups = e;
21219
21221
  const t = new mt();
21220
- ji == null && (ji = nu(x3)), Hi == null && (Hi = nu(k3)), D(t, "'", $s), D(t, "{", Pn), D(t, "}", An), D(t, "[", ks), D(t, "]", Ss), D(t, "(", Cs), D(t, ")", Es), D(t, "<", Ms), D(t, ">", Ts), D(t, "(", Os), D(t, ")", Ps), D(t, "「", As), D(t, "」", Bs), D(t, "『", Ls), D(t, "』", Ns), D(t, "<", Is), D(t, ">", Ds), D(t, "&", Rs), D(t, "*", zs), D(t, "@", xr), D(t, "`", Fs), D(t, "^", js), D(t, ":", Sr), D(t, ",", Gd), D(t, "$", Hs), D(t, ".", jt), D(t, "=", Vs), D(t, "!", Jd), D(t, "-", Mt), D(t, "%", Bn), D(t, "|", Us), D(t, "+", qs), D(t, "#", Ws), D(t, "?", Ln), D(t, '"', Yd), D(t, "/", Ht), D(t, ";", Xd), D(t, "~", Nn), D(t, "_", Ks), D(t, "\\", _s), D(t, "・", Eg);
21222
+ ji == null && (ji = nu(x3)), Hi == null && (Hi = nu(k3)), D(t, "'", $s), D(t, "{", Pn), D(t, "}", An), D(t, "[", ks), D(t, "]", Ss), D(t, "(", Cs), D(t, ")", Es), D(t, "<", Ms), D(t, ">", Ts), D(t, "(", Os), D(t, ")", Ps), D(t, "「", As), D(t, "」", Bs), D(t, "『", Ls), D(t, "』", Ns), D(t, "<", Is), D(t, ">", Ds), D(t, "&", Rs), D(t, "*", zs), D(t, "@", xr), D(t, "`", Fs), D(t, "^", js), D(t, ":", Sr), D(t, ",", Gd), D(t, "$", Hs), D(t, ".", jt), D(t, "=", Vs), D(t, "!", Jd), D(t, "-", Mt), D(t, "%", Bn), D(t, "|", qs), D(t, "+", Us), D(t, "#", Ws), D(t, "?", Ln), D(t, '"', Yd), D(t, "/", Ht), D(t, ";", Xd), D(t, "~", Nn), D(t, "_", Ks), D(t, "\\", _s), D(t, "・", Eg);
21221
21223
  const o = Oe(t, nr, Wd, {
21222
21224
  [jl]: !0
21223
21225
  });
@@ -21230,7 +21232,7 @@ function P3(r = []) {
21230
21232
  [Hl]: !0
21231
21233
  });
21232
21234
  Oe(s, nr, n), Oe(s, or, s), Oe(n, nr, n), Oe(n, or, n);
21233
- const a = Oe(t, mn, ql, {
21235
+ const a = Oe(t, mn, Ul, {
21234
21236
  [Vl]: !0
21235
21237
  });
21236
21238
  Oe(a, or), Oe(a, nr, i), Oe(a, mn, a), Oe(i, nr, i), Oe(i, or), Oe(i, mn, i);
@@ -21252,7 +21254,7 @@ function P3(r = []) {
21252
21254
  for (let f = 0; f < ji.length; f++)
21253
21255
  br(t, ji[f], Wl, ir, m);
21254
21256
  for (let f = 0; f < Hi.length; f++)
21255
- br(t, Hi[f], Kl, ql, h);
21257
+ br(t, Hi[f], Kl, Ul, h);
21256
21258
  ro(Wl, {
21257
21259
  tld: !0,
21258
21260
  ascii: !0
@@ -21272,7 +21274,7 @@ function P3(r = []) {
21272
21274
  } : {
21273
21275
  [C3]: !0
21274
21276
  };
21275
- b.indexOf("-") >= 0 ? E[Ul] = !0 : or.test(b) ? nr.test(b) ? E[On] = !0 : E[Hl] = !0 : E[jl] = !0, ru(t, b, b, E);
21277
+ b.indexOf("-") >= 0 ? E[ql] = !0 : or.test(b) ? nr.test(b) ? E[On] = !0 : E[Hl] = !0 : E[jl] = !0, ru(t, b, b, E);
21276
21278
  }
21277
21279
  return ru(t, "localhost", Xn, {
21278
21280
  ascii: !0
@@ -21573,7 +21575,7 @@ const su = ba("email", {
21573
21575
  function L3({
21574
21576
  groups: r
21575
21577
  }) {
21576
- const e = r.domain.concat([Rs, zs, xr, _s, Fs, js, Hs, Vs, Mt, Wd, Bn, Us, qs, Ws, Ht, Gs, Nn, Ks]), t = [$s, Sr, Gd, jt, Jd, Bn, Ln, Yd, Xd, Ms, Ts, Pn, An, Ss, ks, Cs, Es, Os, Ps, As, Bs, Ls, Ns, Is, Ds], o = [Rs, $s, zs, _s, Fs, js, Hs, Vs, Mt, Pn, An, Bn, Us, qs, Ws, Ln, Ht, Gs, Nn, Ks], n = Ct(), i = D(n, Nn);
21578
+ const e = r.domain.concat([Rs, zs, xr, _s, Fs, js, Hs, Vs, Mt, Wd, Bn, qs, Us, Ws, Ht, Gs, Nn, Ks]), t = [$s, Sr, Gd, jt, Jd, Bn, Ln, Yd, Xd, Ms, Ts, Pn, An, Ss, ks, Cs, Es, Os, Ps, As, Bs, Ls, Ns, Is, Ds], o = [Rs, $s, zs, _s, Fs, js, Hs, Vs, Mt, Pn, An, Bn, qs, Us, Ws, Ln, Ht, Gs, Nn, Ks], n = Ct(), i = D(n, Nn);
21577
21579
  ee(i, o, i), ee(i, r.domain, i);
21578
21580
  const s = Ct(), a = Ct(), l = Ct();
21579
21581
  ee(n, r.domain, s), ee(n, r.scheme, a), ee(n, r.slashscheme, l), ee(s, o, i), ee(s, r.domain, s);
@@ -21960,7 +21962,7 @@ const V3 = mr.create({
21960
21962
  type: this.type
21961
21963
  })), r;
21962
21964
  }
21963
- }), U3 = { class: "myInputGroup" }, q3 = {
21965
+ }), q3 = { class: "myInputGroup" }, U3 = {
21964
21966
  key: 0,
21965
21967
  class: "min-h-[2.5rem] flex items-center justify-start"
21966
21968
  }, W3 = { class: "myPrimaryInputError mt-2 mb-0 py-0 self-start" }, K3 = { class: "blockease-linear duration-200 block ease-linear" }, G3 = { key: 0 }, J3 = { class: "relative rounded-lg" }, Y3 = { class: "flex justify-between myPrimaryGap items-center divide-x divide-gray-200 py-4 px-4 overflow-x-auto border-b border-gray-20" }, X3 = { class: "px-2 flex items-center justify-start gap-2" }, Q3 = { class: "flex items-center 0 divide-x divide-gray-200" }, Z3 = { class: "px-2 flex items-center justify-start gap-2" }, e4 = { class: "px-2 flex items-center justify-start gap-2" }, t4 = { class: "px-2 flex items-center justify-start gap-2" }, r4 = { class: "px-2 flex items-center justify-start gap-2" }, o4 = { class: "px-2 flex items-center justify-start gap-2" }, n4 = { class: "px-2 flex items-center justify-start gap-2" }, i4 = {
@@ -22021,7 +22023,7 @@ const V3 = mr.create({
22021
22023
  }, _ = function() {
22022
22024
  E.value.chain().focus().extendMarkRange("link").setLink({ href: M.value }).run();
22023
22025
  };
22024
- return qg(() => {
22026
+ return Ug(() => {
22025
22027
  var P;
22026
22028
  (P = E.value) == null || P.destroy();
22027
22029
  }), Se(() => {
@@ -22043,7 +22045,7 @@ const V3 = mr.create({
22043
22045
  default: z(() => [
22044
22046
  v[8] || (v[8] = g("header", null, null, -1)),
22045
22047
  g("main", null, [
22046
- g("div", U3, [
22048
+ g("div", q3, [
22047
22049
  v[7] || (v[7] = g("label", {
22048
22050
  class: "myPrimaryInputLabel",
22049
22051
  for: "roles"
@@ -22058,7 +22060,7 @@ const V3 = mr.create({
22058
22060
  }, null, 512), [
22059
22061
  [Xl, y.value]
22060
22062
  ]),
22061
- k.value ? (S(), O("div", q3, [
22063
+ k.value ? (S(), O("div", U3, [
22062
22064
  g("p", W3, F(k.value), 1)
22063
22065
  ])) : R("", !0)
22064
22066
  ])
@@ -22522,7 +22524,7 @@ const l4 = /* @__PURE__ */ ec(s4, [["render", a4]]), d4 = { class: "flex items-e
22522
22524
  }, V4 = {
22523
22525
  key: 3,
22524
22526
  class: "px-2"
22525
- }, U4 = {
22527
+ }, q4 = {
22526
22528
  __name: "EditGetElement",
22527
22529
  setup(r) {
22528
22530
  const e = re("pageBuilderStateStore"), t = re("CustomMediaComponent"), o = new Qe(e), n = L(() => e.getElement), i = L(() => {
@@ -22680,7 +22682,7 @@ const l4 = /* @__PURE__ */ ec(s4, [["render", a4]]), d4 = { class: "flex items-e
22680
22682
  ])
22681
22683
  ]));
22682
22684
  }
22683
- }, q4 = [
22685
+ }, U4 = [
22684
22686
  {
22685
22687
  html_code: `
22686
22688
  <section>
@@ -23266,7 +23268,7 @@ const Y4 = { class: "p-4" }, X4 = { class: "mb-8" }, Q4 = { class: "grid grid-co
23266
23268
  g("div", X4, [
23267
23269
  d[0] || (d[0] = g("h3", { class: "myQuaternaryHeader mb-4" }, "Helper Components", -1)),
23268
23270
  g("div", Q4, [
23269
- (S(!0), O(ve, null, Le(T(q4), (c) => (S(), O("div", {
23271
+ (S(!0), O(ve, null, Le(T(U4), (c) => (S(), O("div", {
23270
23272
  key: c.title,
23271
23273
  class: "border border-gray-200 overflow-hidden hover:border-myPrimaryLinkColor duration-100 cursor-pointer p-4",
23272
23274
  onClick: (p) => i(c)
@@ -23537,10 +23539,10 @@ const Y4 = { class: "p-4" }, X4 = { class: "mb-8" }, Q4 = { class: "grid grid-co
23537
23539
  }, _k = { class: "my-8" }, Fk = { class: "flex items-left flex-col myPrimaryGap border-myPrimaryMediumGrayColor" }, jk = { class: "text-white overflow-hidden bg-gray-900 max-w-2xl" }, Hk = { class: "px-4 pb-8 pt-4 text-white text-xs" }, Vk = {
23538
23540
  key: 0,
23539
23541
  class: "text-xs pb-2"
23540
- }, Uk = {
23542
+ }, qk = {
23541
23543
  key: 1,
23542
23544
  class: "text-xs pb-2"
23543
- }, qk = {
23545
+ }, Uk = {
23544
23546
  key: 2,
23545
23547
  class: "text-xs pb-2"
23546
23548
  }, Wk = {
@@ -23568,11 +23570,11 @@ const Y4 = { class: "p-4" }, X4 = { class: "mb-8" }, Q4 = { class: "grid grid-co
23568
23570
  ], -1)),
23569
23571
  g("div", Hk, [
23570
23572
  t.value === null || t.value === void 0 ? (S(), O("p", Vk)) : R("", !0),
23571
- t.value !== null && t.value !== void 0 ? (S(), O("p", Uk, [
23573
+ t.value !== null && t.value !== void 0 ? (S(), O("p", qk, [
23572
23574
  l[3] || (l[3] = g("span", null, "Element type: ", -1)),
23573
23575
  g("span", null, F(typeof t.value), 1)
23574
23576
  ])) : R("", !0),
23575
- o.value === null || o.value === void 0 ? (S(), O("p", qk, [
23577
+ o.value === null || o.value === void 0 ? (S(), O("p", Uk, [
23576
23578
  l[4] || (l[4] = g("span", null, "Component type: ", -1)),
23577
23579
  De(" " + F(JSON.stringify(o.value)), 1)
23578
23580
  ])) : R("", !0),
@@ -24006,7 +24008,7 @@ const en = /* @__PURE__ */ ec(A6, [["render", I6]]), D6 = { class: "flex flex-ro
24006
24008
  _: 1
24007
24009
  }));
24008
24010
  }
24009
- }, V6 = { key: 0 }, U6 = ["src"], q6 = {
24011
+ }, V6 = { key: 0 }, q6 = ["src"], U6 = {
24010
24012
  __name: "ImageEditor",
24011
24013
  setup(r) {
24012
24014
  const e = re("pageBuilderStateStore"), t = re("CustomMediaComponent"), o = new Qe(e), n = x(!1), i = x(!1), s = x(""), a = x(""), l = x(""), d = x(null), c = x(null), p = x(null), u = x(null), m = x(null), h = L(() => e.getBasePrimaryImage), f = function() {
@@ -24023,7 +24025,7 @@ const en = /* @__PURE__ */ ec(A6, [["render", I6]]), D6 = { class: "flex flex-ro
24023
24025
  src: h.value,
24024
24026
  onClick: f,
24025
24027
  alt: "image"
24026
- }, null, 8, U6)
24028
+ }, null, 8, q6)
24027
24029
  ])) : R("", !0),
24028
24030
  $(Bg, {
24029
24031
  open: i.value,
@@ -24406,7 +24408,7 @@ const en = /* @__PURE__ */ ec(A6, [["render", I6]]), D6 = { class: "flex flex-ro
24406
24408
  disabled: "",
24407
24409
  value: ""
24408
24410
  }, "Select", -1)),
24409
- (S(!0), O(ve, null, Le(T(Ut).roundedGlobal, (f) => (S(), O("option", { key: f }, F(f), 1))), 128))
24411
+ (S(!0), O(ve, null, Le(T(qt).roundedGlobal, (f) => (S(), O("option", { key: f }, F(f), 1))), 128))
24410
24412
  ], 544), [
24411
24413
  [Rt, o.value]
24412
24414
  ])
@@ -24423,7 +24425,7 @@ const en = /* @__PURE__ */ ec(A6, [["render", I6]]), D6 = { class: "flex flex-ro
24423
24425
  disabled: "",
24424
24426
  value: ""
24425
24427
  }, "Select", -1)),
24426
- (S(!0), O(ve, null, Le(T(Ut).roundedTopLeft, (f) => (S(), O("option", { key: f }, F(f), 1))), 128))
24428
+ (S(!0), O(ve, null, Le(T(qt).roundedTopLeft, (f) => (S(), O("option", { key: f }, F(f), 1))), 128))
24427
24429
  ], 544), [
24428
24430
  [Rt, n.value]
24429
24431
  ])
@@ -24439,7 +24441,7 @@ const en = /* @__PURE__ */ ec(A6, [["render", I6]]), D6 = { class: "flex flex-ro
24439
24441
  disabled: "",
24440
24442
  value: ""
24441
24443
  }, "Select", -1)),
24442
- (S(!0), O(ve, null, Le(T(Ut).roundedTopRight, (f) => (S(), O("option", { key: f }, F(f), 1))), 128))
24444
+ (S(!0), O(ve, null, Le(T(qt).roundedTopRight, (f) => (S(), O("option", { key: f }, F(f), 1))), 128))
24443
24445
  ], 544), [
24444
24446
  [Rt, i.value]
24445
24447
  ])
@@ -24455,7 +24457,7 @@ const en = /* @__PURE__ */ ec(A6, [["render", I6]]), D6 = { class: "flex flex-ro
24455
24457
  disabled: "",
24456
24458
  value: ""
24457
24459
  }, "Select", -1)),
24458
- (S(!0), O(ve, null, Le(T(Ut).roundedBottomLeft, (f) => (S(), O("option", { key: f }, F(f), 1))), 128))
24460
+ (S(!0), O(ve, null, Le(T(qt).roundedBottomLeft, (f) => (S(), O("option", { key: f }, F(f), 1))), 128))
24459
24461
  ], 544), [
24460
24462
  [Rt, s.value]
24461
24463
  ])
@@ -24471,7 +24473,7 @@ const en = /* @__PURE__ */ ec(A6, [["render", I6]]), D6 = { class: "flex flex-ro
24471
24473
  disabled: "",
24472
24474
  value: ""
24473
24475
  }, "Select", -1)),
24474
- (S(!0), O(ve, null, Le(T(Ut).roundedBottomRight, (f) => (S(), O("option", { key: f }, F(f), 1))), 128))
24476
+ (S(!0), O(ve, null, Le(T(qt).roundedBottomRight, (f) => (S(), O("option", { key: f }, F(f), 1))), 128))
24475
24477
  ], 544), [
24476
24478
  [Rt, a.value]
24477
24479
  ])
@@ -24695,7 +24697,7 @@ const en = /* @__PURE__ */ ec(A6, [["render", I6]]), D6 = { class: "flex flex-ro
24695
24697
  _: 1
24696
24698
  }));
24697
24699
  }
24698
- }, FS = { class: "h-full w-80 bg-white" }, jS = { class: "h-screen flex flex-col" }, HS = { class: "flex flex-row justify-between pt-2.5 pr-4 pl-4 items-center mb-3" }, VS = { class: "font-medium text-sm" }, US = { class: "lowercase" }, qS = { class: "pl-3 pr-3 mb-4 overflow-y-scroll md:pb-24 pb-12" }, WS = {
24700
+ }, FS = { class: "h-full w-80 bg-white" }, jS = { class: "h-screen flex flex-col" }, HS = { class: "flex flex-row justify-between pt-2.5 pr-4 pl-4 items-center mb-3" }, VS = { class: "font-medium text-sm" }, qS = { class: "lowercase" }, US = { class: "pl-3 pr-3 mb-4 overflow-y-scroll md:pb-24 pb-12" }, WS = {
24699
24701
  __name: "RightSidebarEditor",
24700
24702
  emits: ["closeEditor"],
24701
24703
  setup(r, { emit: e }) {
@@ -24715,13 +24717,13 @@ const en = /* @__PURE__ */ ec(A6, [["render", I6]]), D6 = { class: "flex flex-ro
24715
24717
  ])),
24716
24718
  g("p", VS, [
24717
24719
  a[2] || (a[2] = De(" Editing ")),
24718
- g("span", US, "<" + F(n.value) + ">", 1)
24720
+ g("span", qS, "<" + F(n.value) + ">", 1)
24719
24721
  ])
24720
24722
  ]),
24721
- g("div", qS, [
24723
+ g("div", US, [
24722
24724
  at(g("div", null, [
24723
24725
  g("article", null, [
24724
- $(q6)
24726
+ $(U6)
24725
24727
  ]),
24726
24728
  g("article", null, [
24727
24729
  $(RS)
@@ -24798,7 +24800,7 @@ const en = /* @__PURE__ */ ec(A6, [["render", I6]]), D6 = { class: "flex flex-ro
24798
24800
  }
24799
24801
  },
24800
24802
  setup(r) {
24801
- const e = "v3.1.11", t = r, o = wf(), n = ed(o);
24803
+ const e = "v3.1.12", t = r, o = wf(), n = ed(o);
24802
24804
  t.PageBuilderLogo && n.setPageBuilderLogo(t.PageBuilderLogo);
24803
24805
  const i = L(() => n.getPageBuilderLogo);
24804
24806
  t.resourceData && n.setCurrentResourceData(t.resourceData), t.userForPageBuilder && n.setCurrentUser(t.userForPageBuilder), n.setUpdateOrCreate(t.updateOrCreate);
@@ -25029,7 +25031,7 @@ const en = /* @__PURE__ */ ec(A6, [["render", I6]]), D6 = { class: "flex flex-ro
25029
25031
  ])
25030
25032
  ])
25031
25033
  ]),
25032
- $(U4),
25034
+ $(q4),
25033
25035
  g("div", EC, [
25034
25036
  g("div", MC, [
25035
25037
  g("div", {