@myissue/vue-website-page-builder 3.1.26 → 3.1.31

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.
@@ -2,12 +2,12 @@ var _g = Object.defineProperty;
2
2
  var tc = (r) => {
3
3
  throw TypeError(r);
4
4
  };
5
- var zg = (r, e, t) => e in r ? _g(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
6
- var fe = (r, e, t) => zg(r, typeof e != "symbol" ? e + "" : e, t), rc = (r, e, t) => e.has(r) || tc("Cannot " + t);
5
+ var Fg = (r, e, t) => e in r ? _g(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
6
+ var fe = (r, e, t) => Fg(r, typeof e != "symbol" ? e + "" : e, t), rc = (r, e, t) => e.has(r) || tc("Cannot " + t);
7
7
  var Ci = (r, e, t) => (rc(r, e, "read from private field"), t ? t.call(r) : e.get(r)), an = (r, e, t) => e.has(r) ? tc("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(r) : e.set(r, t);
8
8
  var be = (r, e, t) => (rc(r, e, "access private method"), t);
9
9
  import * as oc from "vue";
10
- import { nextTick as Me, computed as L, ref as S, watchEffect as nt, onMounted as ke, cloneVNode as Fg, h as Ce, Fragment as we, defineComponent as ue, inject as ze, provide as Ve, onUnmounted as kt, watch as pe, shallowRef as lu, unref as O, getCurrentInstance as Jl, Teleport as Yo, reactive as du, toRaw as tt, normalizeClass as Y, effectScope as cu, markRaw as Mr, hasInjectionContext as jg, isRef as Dn, isReactive as Yl, toRef as va, getCurrentScope as Hg, onScopeDispose as Vg, toRefs as nc, createBlock as Se, openBlock as k, createVNode as R, withCtx as $, withKeys as pu, withModifiers as Po, createElementVNode as h, renderSlot as Kt, createElementBlock as M, createCommentVNode as D, toDisplayString as F, Transition as Rt, onBeforeUnmount as Xs, customRef as Wg, onBeforeMount as qg, withDirectives as lt, vModelText as Ql, createTextVNode as Ie, resolveDynamicComponent as uu, renderList as Ae, vModelSelect as $t, vShow as Ug, createStaticVNode as Kg } from "vue";
10
+ import { nextTick as Me, computed as L, ref as S, watchEffect as nt, onMounted as ke, cloneVNode as zg, h as Ce, Fragment as we, defineComponent as ue, inject as Fe, provide as Ve, onUnmounted as kt, watch as pe, shallowRef as lu, unref as O, getCurrentInstance as Jl, Teleport as Yo, reactive as du, toRaw as tt, normalizeClass as Y, effectScope as cu, markRaw as Mr, hasInjectionContext as jg, isRef as Dn, isReactive as Yl, toRef as va, getCurrentScope as Hg, onScopeDispose as Vg, toRefs as nc, createBlock as Se, openBlock as k, createVNode as R, withCtx as $, withKeys as pu, withModifiers as Po, createElementVNode as h, renderSlot as Kt, createElementBlock as M, createCommentVNode as D, toDisplayString as z, Transition as Rt, onBeforeUnmount as Xs, customRef as Wg, onBeforeMount as qg, withDirectives as lt, vModelText as Ql, createTextVNode as Ie, resolveDynamicComponent as uu, renderList as Ae, vModelSelect as $t, vShow as Ug, createStaticVNode as Kg } from "vue";
11
11
  const ts = {
12
12
  backgroundColorVariables: [
13
13
  "none",
@@ -1419,68 +1419,64 @@ class Ze {
1419
1419
  updateLocalStorageItemName() {
1420
1420
  var n, i, s, a, l;
1421
1421
  const e = ((i = (n = this.pageBuilderStateStore.getConfigPageBuilder) == null ? void 0 : n.updateOrCreate) == null ? void 0 : i.formType) || "create", t = (s = this.pageBuilderStateStore.getConfigPageBuilder) == null ? void 0 : s.resourceData, o = (l = (a = this.pageBuilderStateStore.getConfigPageBuilder) == null ? void 0 : a.updateOrCreate) == null ? void 0 : l.createNewResourceFormName;
1422
- if (e === "create" && o && o.length > 0) {
1423
- this.pageBuilderStateStore.setLocalStorageItemName(
1424
- `page-builder-create-resource-${this.sanitizeForLocalStorage(o)}`
1425
- );
1426
- return;
1427
- }
1428
1422
  if (e === "create") {
1429
- this.pageBuilderStateStore.setLocalStorageItemName("page-builder-create-resource");
1430
- return;
1431
- }
1432
- if (e === "update" && typeof o != "string" || typeof o == "string" && (o == null ? void 0 : o.length) < 1) {
1433
- if (t === null) {
1434
- this.pageBuilderStateStore.setLocalStorageItemName("page-builder-update-resource");
1435
- return;
1436
- }
1437
- if (typeof t == "object" && "id" in t && !("title" in t)) {
1438
- const d = this.sanitizeForLocalStorage(String(t.id));
1439
- this.pageBuilderStateStore.setLocalStorageItemName(
1440
- `page-builder-update-resource-${d}`
1441
- );
1442
- return;
1443
- }
1444
- if (typeof t == "object" && "title" in t && !("id" in t)) {
1445
- const d = this.sanitizeForLocalStorage(String(t.title));
1446
- this.pageBuilderStateStore.setLocalStorageItemName(
1447
- `page-builder-update-resource-${d}`
1448
- );
1449
- return;
1450
- }
1451
- if (typeof t == "object" && "title" in t && "id" in t) {
1452
- const d = this.sanitizeForLocalStorage(String(t.id)), c = this.sanitizeForLocalStorage(String(t.title));
1423
+ if (o && o.length > 0) {
1453
1424
  this.pageBuilderStateStore.setLocalStorageItemName(
1454
- `page-builder-update-resource-${c}-${d}`
1425
+ `page-builder-create-resource-${this.sanitizeForLocalStorage(o)}`
1455
1426
  );
1456
1427
  return;
1457
1428
  }
1429
+ this.pageBuilderStateStore.setLocalStorageItemName("page-builder-create-resource");
1430
+ return;
1458
1431
  }
1459
- if (e === "update" && typeof o == "string" && o.length > 0) {
1460
- if (t === null) {
1461
- this.pageBuilderStateStore.setLocalStorageItemName("page-builder-update-resource");
1462
- return;
1463
- }
1464
- if (typeof t == "object" && "id" in t && !("title" in t)) {
1465
- const d = this.sanitizeForLocalStorage(String(t.id));
1466
- this.pageBuilderStateStore.setLocalStorageItemName(
1467
- `page-builder-update-resource-${d}-${this.sanitizeForLocalStorage(o)}`
1468
- );
1469
- return;
1470
- }
1471
- if (typeof t == "object" && "title" in t && !("id" in t)) {
1472
- const d = this.sanitizeForLocalStorage(String(t.title));
1473
- this.pageBuilderStateStore.setLocalStorageItemName(
1474
- `page-builder-update-resource-${d}-${this.sanitizeForLocalStorage(o)}`
1475
- );
1476
- return;
1432
+ if (e === "update") {
1433
+ if (typeof o == "string" && o.length > 0) {
1434
+ if (t && t != null && !t.title && (!t.id || typeof t.id == "string")) {
1435
+ this.pageBuilderStateStore.setLocalStorageItemName("page-builder-update-resource");
1436
+ return;
1437
+ }
1438
+ if (t && t != null && t.title && typeof t.title == "string" && t.title.length > 0 && (!t.id || typeof t.id == "string")) {
1439
+ this.pageBuilderStateStore.setLocalStorageItemName(
1440
+ `page-builder-update-resource-${this.sanitizeForLocalStorage(o)}-${this.sanitizeForLocalStorage(t.title)}`
1441
+ );
1442
+ return;
1443
+ }
1444
+ if (t && t != null && !t.title && typeof t.title != "string" && (t.id || typeof t.id == "number")) {
1445
+ this.pageBuilderStateStore.setLocalStorageItemName(
1446
+ `page-builder-update-resource-${this.sanitizeForLocalStorage(o)}-${this.sanitizeForLocalStorage(String(t.id))}`
1447
+ );
1448
+ return;
1449
+ }
1450
+ if (t && t != null && t.title && typeof t.title == "string" && t.title.length > 0 && (t.id || typeof t.id == "number")) {
1451
+ this.pageBuilderStateStore.setLocalStorageItemName(
1452
+ `page-builder-update-resource-${this.sanitizeForLocalStorage(o)}-${this.sanitizeForLocalStorage(t.title)}-${this.sanitizeForLocalStorage(String(t.id))}`
1453
+ );
1454
+ return;
1455
+ }
1477
1456
  }
1478
- if (typeof t == "object" && "title" in t && "id" in t) {
1479
- const d = this.sanitizeForLocalStorage(String(t.id)), c = this.sanitizeForLocalStorage(String(t.title));
1480
- this.pageBuilderStateStore.setLocalStorageItemName(
1481
- `page-builder-update-resource-${c}-${this.sanitizeForLocalStorage(o)}-${d}`
1482
- );
1483
- return;
1457
+ if (!o || typeof o == "string" && o.length === 0) {
1458
+ if (t && t != null && !t.title && (!t.id || typeof t.id == "string")) {
1459
+ this.pageBuilderStateStore.setLocalStorageItemName("page-builder-update-resource");
1460
+ return;
1461
+ }
1462
+ if (t && t != null && t.title && typeof t.title == "string" && t.title.length > 0 && (!t.id || typeof t.id == "string")) {
1463
+ this.pageBuilderStateStore.setLocalStorageItemName(
1464
+ `page-builder-update-resource-${this.sanitizeForLocalStorage(t.title)}`
1465
+ );
1466
+ return;
1467
+ }
1468
+ if (t && t != null && !t.title && typeof t.title != "string" && (t.id || typeof t.id == "number")) {
1469
+ this.pageBuilderStateStore.setLocalStorageItemName(
1470
+ `page-builder-update-resource-${this.sanitizeForLocalStorage(String(t.id))}`
1471
+ );
1472
+ return;
1473
+ }
1474
+ if (t && t != null && t.title && typeof t.title == "string" && t.title.length > 0 && (t.id || typeof t.id == "number")) {
1475
+ this.pageBuilderStateStore.setLocalStorageItemName(
1476
+ `page-builder-update-resource-${this.sanitizeForLocalStorage(t.title)}-${this.sanitizeForLocalStorage(String(t.id))}`
1477
+ );
1478
+ return;
1479
+ }
1484
1480
  }
1485
1481
  }
1486
1482
  }
@@ -1565,14 +1561,13 @@ class Ze {
1565
1561
  setComponentsFromData(e) {
1566
1562
  this.showRunningMethodLogs && console.log("setComponentsFromData");
1567
1563
  const t = e.trim();
1568
- t.startsWith("[") || t.startsWith("{") ? (console.log("Using JSON method..............1:", t), be(this, ne, ol).call(this, t)) : t.startsWith("<") ? (console.log("Using HTML method..............2:", t), be(this, ne, yu).call(this, t)) : (console.log("Using JSON method..............3:", t), be(this, ne, ol).call(this, t));
1564
+ t.startsWith("[") || t.startsWith("{") ? be(this, ne, ol).call(this, t) : t.startsWith("<") ? be(this, ne, yu).call(this, t) : be(this, ne, ol).call(this, t);
1569
1565
  }
1570
1566
  // Load existing content from HTML when in update mode
1571
1567
  loadExistingContent(e) {
1572
1568
  var t, o, n, i;
1573
1569
  if (this.showRunningMethodLogs && console.log("loadExistingContent"), !!this.pageBuilderStateStore.getConfigPageBuilder) {
1574
1570
  if (((o = (t = this.pageBuilderStateStore.getConfigPageBuilder) == null ? void 0 : t.updateOrCreate) == null ? void 0 : o.formType) === "create") {
1575
- console.log("hvad med nuuuuuuu");
1576
1571
  const s = this.areComponentsStoredInLocalStorage();
1577
1572
  s && this.setComponentsFromData(s);
1578
1573
  }
@@ -1748,7 +1743,7 @@ let of = class {
1748
1743
  return typeof window > "u" || typeof document > "u" ? "server" : "client";
1749
1744
  }
1750
1745
  }, Zn = new of();
1751
- function Fr(r) {
1746
+ function zr(r) {
1752
1747
  if (Zn.isServer) return null;
1753
1748
  if (r instanceof Node) return r.ownerDocument;
1754
1749
  if (r != null && r.hasOwnProperty("value")) {
@@ -1765,7 +1760,7 @@ function vu(r = document.body) {
1765
1760
  var Zs = ((r) => (r[r.Strict = 0] = "Strict", r[r.Loose = 1] = "Loose", r))(Zs || {});
1766
1761
  function ea(r, e = 0) {
1767
1762
  var t;
1768
- return r === ((t = Fr(r)) == null ? void 0 : t.body) ? !1 : _e(e, { 0() {
1763
+ return r === ((t = zr(r)) == null ? void 0 : t.body) ? !1 : _e(e, { 0() {
1769
1764
  return r.matches(nl);
1770
1765
  }, 1() {
1771
1766
  let o = r;
@@ -1777,7 +1772,7 @@ function ea(r, e = 0) {
1777
1772
  } });
1778
1773
  }
1779
1774
  function xu(r) {
1780
- let e = Fr(r);
1775
+ let e = zr(r);
1781
1776
  Me(() => {
1782
1777
  e && !ea(e.activeElement, 0) && Dr(r);
1783
1778
  });
@@ -1909,7 +1904,7 @@ function uf({ container: r, accept: e, walk: t, enabled: o }) {
1909
1904
  nt(() => {
1910
1905
  let n = r.value;
1911
1906
  if (!n || o !== void 0 && !o.value) return;
1912
- let i = Fr(r);
1907
+ let i = zr(r);
1913
1908
  if (!i) return;
1914
1909
  let s = Object.assign((l) => e(l), { acceptNode: e }), a = i.createTreeWalker(n, NodeFilter.SHOW_ELEMENT, s, !1);
1915
1910
  for (; a.nextNode(); ) t(a.currentNode);
@@ -1945,7 +1940,7 @@ function ka({ props: r, attrs: e, slots: t, slot: o, name: n }) {
1945
1940
  `), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".', "Render a single element as the child so that we can forward the props onto that element."].map((f) => ` - ${f}`).join(`
1946
1941
  `)].join(`
1947
1942
  `));
1948
- let m = Tu((s = p.props) != null ? s : {}, l, c), g = Fg(p, m, !0);
1943
+ let m = Tu((s = p.props) != null ? s : {}, l, c), g = zg(p, m, !0);
1949
1944
  for (let f in m) f.startsWith("on") && (g.props || (g.props = {}), g.props[f] = m[f]);
1950
1945
  return g;
1951
1946
  }
@@ -1997,7 +1992,7 @@ function gf() {
1997
1992
  return ei() !== null;
1998
1993
  }
1999
1994
  function ei() {
2000
- return ze(Ou, null);
1995
+ return Fe(Ou, null);
2001
1996
  }
2002
1997
  function rd(r) {
2003
1998
  Ve(Ou, r);
@@ -2089,7 +2084,7 @@ var Iu = ((r) => (r[r.None = 1] = "None", r[r.InitialFocus = 2] = "InitialFocus"
2089
2084
  let ln = Object.assign(ue({ name: "FocusTrap", props: { as: { type: [Object, String], default: "div" }, initialFocus: { type: Object, default: null }, features: { type: Number, default: 30 }, containers: { type: [Object, Function], default: S(/* @__PURE__ */ new Set()) } }, inheritAttrs: !1, setup(r, { attrs: e, slots: t, expose: o }) {
2090
2085
  let n = S(null);
2091
2086
  o({ el: n, $el: n });
2092
- let i = L(() => Fr(n)), s = S(!1);
2087
+ let i = L(() => zr(n)), s = S(!1);
2093
2088
  ke(() => s.value = !0), kt(() => s.value = !1), vf({ ownerDocument: i }, L(() => s.value && !!(r.features & 16)));
2094
2089
  let a = xf({ ownerDocument: i, container: n, initialFocus: L(() => r.initialFocus) }, L(() => s.value && !!(r.features & 2)));
2095
2090
  kf({ ownerDocument: i, container: n, containers: r.containers, previousActiveElement: a }, L(() => s.value && !!(r.features & 8)));
@@ -2322,7 +2317,7 @@ function pc(r, e = S(!0)) {
2322
2317
  });
2323
2318
  }
2324
2319
  function Bf({ defaultContainers: r = [], portals: e, mainTreeNodeRef: t } = {}) {
2325
- let o = S(null), n = Fr(o);
2320
+ let o = S(null), n = zr(o);
2326
2321
  function i() {
2327
2322
  var s, a, l;
2328
2323
  let d = [];
@@ -2339,7 +2334,7 @@ function Bf({ defaultContainers: r = [], portals: e, mainTreeNodeRef: t } = {})
2339
2334
  }
2340
2335
  let $u = Symbol("ForcePortalRootContext");
2341
2336
  function Af() {
2342
- return ze($u, !1);
2337
+ return Fe($u, !1);
2343
2338
  }
2344
2339
  let il = ue({ name: "ForcePortalRoot", props: { as: { type: [Object, String], default: "template" }, force: { type: Boolean, default: !1 } }, setup(r, { slots: e, attrs: t }) {
2345
2340
  return Ve($u, r.force), () => {
@@ -2349,7 +2344,7 @@ let il = ue({ name: "ForcePortalRoot", props: { as: { type: [Object, String], de
2349
2344
  } }), _u = Symbol("StackContext");
2350
2345
  var sl = ((r) => (r[r.Add = 0] = "Add", r[r.Remove = 1] = "Remove", r))(sl || {});
2351
2346
  function Lf() {
2352
- return ze(_u, () => {
2347
+ return Fe(_u, () => {
2353
2348
  });
2354
2349
  }
2355
2350
  function Df({ type: r, enabled: e, element: t, onUpdate: o }) {
@@ -2365,9 +2360,9 @@ function Df({ type: r, enabled: e, element: t, onUpdate: o }) {
2365
2360
  e.value && i(1, r, t);
2366
2361
  }), Ve(_u, i);
2367
2362
  }
2368
- let zu = Symbol("DescriptionContext");
2363
+ let Fu = Symbol("DescriptionContext");
2369
2364
  function Nf() {
2370
- let r = ze(zu, null);
2365
+ let r = Fe(Fu, null);
2371
2366
  if (r === null) throw new Error("Missing parent");
2372
2367
  return r;
2373
2368
  }
@@ -2379,7 +2374,7 @@ function If({ slot: r = S({}), name: e = "Description", props: t = {} } = {}) {
2379
2374
  s !== -1 && o.value.splice(s, 1);
2380
2375
  };
2381
2376
  }
2382
- return Ve(zu, { register: n, slot: r, name: e, props: t }), L(() => o.value.length > 0 ? o.value.join(" ") : void 0);
2377
+ return Ve(Fu, { register: n, slot: r, name: e, props: t }), L(() => o.value.length > 0 ? o.value.join(" ") : void 0);
2383
2378
  }
2384
2379
  ue({ name: "Description", props: { as: { type: [Object, String], default: "p" }, id: { type: String, default: null } }, setup(r, { attrs: e, slots: t }) {
2385
2380
  var o;
@@ -2390,7 +2385,7 @@ ue({ name: "Description", props: { as: { type: [Object, String], default: "p" },
2390
2385
  };
2391
2386
  } });
2392
2387
  function Rf(r) {
2393
- let e = Fr(r);
2388
+ let e = zr(r);
2394
2389
  if (!e) {
2395
2390
  if (r === null) return null;
2396
2391
  throw new Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${r}`);
@@ -2409,8 +2404,8 @@ function uc(r, e) {
2409
2404
  let t = e($f(r));
2410
2405
  return t <= 0 ? al.delete(r) : al.set(r, t), t;
2411
2406
  }
2412
- let Fu = ue({ name: "Portal", props: { as: { type: [Object, String], default: "div" } }, setup(r, { slots: e, attrs: t }) {
2413
- let o = S(null), n = L(() => Fr(o)), i = Af(), s = ze(ju, null), a = S(i === !0 || s == null ? Rf(o.value) : s.resolveTarget());
2407
+ let zu = ue({ name: "Portal", props: { as: { type: [Object, String], default: "div" } }, setup(r, { slots: e, attrs: t }) {
2408
+ let o = S(null), n = L(() => zr(o)), i = Af(), s = Fe(ju, null), a = S(i === !0 || s == null ? Rf(o.value) : s.resolveTarget());
2414
2409
  a.value && uc(a.value, (u) => u + 1);
2415
2410
  let l = S(!1);
2416
2411
  ke(() => {
@@ -2418,7 +2413,7 @@ let Fu = ue({ name: "Portal", props: { as: { type: [Object, String], default: "d
2418
2413
  }), nt(() => {
2419
2414
  i || s != null && (a.value = s.resolveTarget());
2420
2415
  });
2421
- let d = ze(ll, null), c = !1, p = Jl();
2416
+ let d = Fe(ll, null), c = !1, p = Jl();
2422
2417
  return pe(o, () => {
2423
2418
  if (c || !d) return;
2424
2419
  let u = U(o);
@@ -2434,7 +2429,7 @@ let Fu = ue({ name: "Portal", props: { as: { type: [Object, String], default: "d
2434
2429
  };
2435
2430
  } }), ll = Symbol("PortalParentContext");
2436
2431
  function _f() {
2437
- let r = ze(ll, null), e = S([]);
2432
+ let r = Fe(ll, null), e = S([]);
2438
2433
  function t(i) {
2439
2434
  return e.value.push(i), r && r.register(i), () => o(i);
2440
2435
  }
@@ -2450,7 +2445,7 @@ function _f() {
2450
2445
  };
2451
2446
  } })];
2452
2447
  }
2453
- let ju = Symbol("PortalGroupContext"), zf = ue({ name: "PortalGroup", props: { as: { type: [Object, String], default: "template" }, target: { type: Object, default: null } }, setup(r, { attrs: e, slots: t }) {
2448
+ let ju = Symbol("PortalGroupContext"), Ff = ue({ name: "PortalGroup", props: { as: { type: [Object, String], default: "template" }, target: { type: Object, default: null } }, setup(r, { attrs: e, slots: t }) {
2454
2449
  let o = du({ resolveTarget() {
2455
2450
  return r.target;
2456
2451
  } });
@@ -2459,10 +2454,10 @@ let ju = Symbol("PortalGroupContext"), zf = ue({ name: "PortalGroup", props: { a
2459
2454
  return Pe({ theirProps: i, ourProps: {}, slot: {}, attrs: e, slots: t, name: "PortalGroup" });
2460
2455
  };
2461
2456
  } });
2462
- var Ff = ((r) => (r[r.Open = 0] = "Open", r[r.Closed = 1] = "Closed", r))(Ff || {});
2457
+ var zf = ((r) => (r[r.Open = 0] = "Open", r[r.Closed = 1] = "Closed", r))(zf || {});
2463
2458
  let dl = Symbol("DialogContext");
2464
2459
  function ti(r) {
2465
- let e = ze(dl, null);
2460
+ let e = Fe(dl, null);
2466
2461
  if (e === null) {
2467
2462
  let t = new Error(`<${r} /> is missing a parent <Dialog /> component.`);
2468
2463
  throw Error.captureStackTrace && Error.captureStackTrace(t, ti), t;
@@ -2475,43 +2470,43 @@ let Oi = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", ri = ue({ name: "Dialog", inher
2475
2470
  ke(() => {
2476
2471
  l.value = !0;
2477
2472
  });
2478
- let d = !1, c = L(() => r.role === "dialog" || r.role === "alertdialog" ? r.role : (d || (d = !0, console.warn(`Invalid role [${c}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)), "dialog")), p = S(0), u = ei(), m = L(() => r.open === Oi && u !== null ? (u.value & Be.Open) === Be.Open : r.open), g = S(null), f = L(() => Fr(g));
2473
+ let d = !1, c = L(() => r.role === "dialog" || r.role === "alertdialog" ? r.role : (d || (d = !0, console.warn(`Invalid role [${c}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)), "dialog")), p = S(0), u = ei(), m = L(() => r.open === Oi && u !== null ? (u.value & Be.Open) === Be.Open : r.open), g = S(null), f = L(() => zr(g));
2479
2474
  if (n({ el: g, $el: g }), !(r.open !== Oi || u !== null)) throw new Error("You forgot to provide an `open` prop to the `Dialog`.");
2480
2475
  if (typeof m.value != "boolean") throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${m.value === Oi ? void 0 : r.open}`);
2481
- let b = L(() => l.value && m.value ? 0 : 1), w = L(() => b.value === 0), C = L(() => p.value > 1), E = ze(dl, null) !== null, [y, P] = _f(), { resolveContainers: x, mainTreeNodeRef: v, MainTreeNode: z } = Bf({ portals: y, defaultContainers: [L(() => {
2482
- var re;
2483
- return (re = le.panelRef.value) != null ? re : g.value;
2476
+ let b = L(() => l.value && m.value ? 0 : 1), w = L(() => b.value === 0), C = L(() => p.value > 1), E = Fe(dl, null) !== null, [y, P] = _f(), { resolveContainers: x, mainTreeNodeRef: v, MainTreeNode: F } = Bf({ portals: y, defaultContainers: [L(() => {
2477
+ var oe;
2478
+ return (oe = le.panelRef.value) != null ? oe : g.value;
2484
2479
  })] }), _ = L(() => C.value ? "parent" : "leaf"), B = L(() => u !== null ? (u.value & Be.Closing) === Be.Closing : !1), T = L(() => E || B.value ? !1 : w.value), j = L(() => {
2485
- var re, ce, De;
2486
- return (De = Array.from((ce = (re = f.value) == null ? void 0 : re.querySelectorAll("body > *")) != null ? ce : []).find((Ee) => Ee.id === "headlessui-portal-root" ? !1 : Ee.contains(U(v)) && Ee instanceof HTMLElement)) != null ? De : null;
2480
+ var oe, ce, De;
2481
+ return (De = Array.from((ce = (oe = f.value) == null ? void 0 : oe.querySelectorAll("body > *")) != null ? ce : []).find((Ee) => Ee.id === "headlessui-portal-root" ? !1 : Ee.contains(U(v)) && Ee instanceof HTMLElement)) != null ? De : null;
2487
2482
  });
2488
2483
  pc(j, T);
2489
- let q = L(() => C.value ? !0 : w.value), oe = L(() => {
2490
- var re, ce, De;
2491
- return (De = Array.from((ce = (re = f.value) == null ? void 0 : re.querySelectorAll("[data-headlessui-portal]")) != null ? ce : []).find((Ee) => Ee.contains(U(v)) && Ee instanceof HTMLElement)) != null ? De : null;
2484
+ let q = L(() => C.value ? !0 : w.value), re = L(() => {
2485
+ var oe, ce, De;
2486
+ return (De = Array.from((ce = (oe = f.value) == null ? void 0 : oe.querySelectorAll("[data-headlessui-portal]")) != null ? ce : []).find((Ee) => Ee.contains(U(v)) && Ee instanceof HTMLElement)) != null ? De : null;
2492
2487
  });
2493
- pc(oe, q), Df({ type: "Dialog", enabled: L(() => b.value === 0), element: g, onUpdate: (re, ce) => {
2494
- if (ce === "Dialog") return _e(re, { [sl.Add]: () => p.value += 1, [sl.Remove]: () => p.value -= 1 });
2488
+ pc(re, q), Df({ type: "Dialog", enabled: L(() => b.value === 0), element: g, onUpdate: (oe, ce) => {
2489
+ if (ce === "Dialog") return _e(oe, { [sl.Add]: () => p.value += 1, [sl.Remove]: () => p.value -= 1 });
2495
2490
  } });
2496
- let Q = If({ name: "DialogDescription", slot: L(() => ({ open: m.value })) }), Z = S(null), le = { titleId: Z, panelRef: S(null), dialogState: b, setTitleId(re) {
2497
- Z.value !== re && (Z.value = re);
2491
+ let Q = If({ name: "DialogDescription", slot: L(() => ({ open: m.value })) }), Z = S(null), le = { titleId: Z, panelRef: S(null), dialogState: b, setTitleId(oe) {
2492
+ Z.value !== oe && (Z.value = oe);
2498
2493
  }, close() {
2499
2494
  e("close", !1);
2500
2495
  } };
2501
2496
  Ve(dl, le);
2502
2497
  let he = L(() => !(!w.value || C.value));
2503
- ed(x, (re, ce) => {
2504
- re.preventDefault(), le.close(), Me(() => ce == null ? void 0 : ce.focus());
2498
+ ed(x, (oe, ce) => {
2499
+ oe.preventDefault(), le.close(), Me(() => ce == null ? void 0 : ce.focus());
2505
2500
  }, he);
2506
2501
  let se = L(() => !(C.value || b.value !== 0));
2507
- Du((s = f.value) == null ? void 0 : s.defaultView, "keydown", (re) => {
2508
- se.value && (re.defaultPrevented || re.key === ie.Escape && (re.preventDefault(), re.stopPropagation(), le.close()));
2502
+ Du((s = f.value) == null ? void 0 : s.defaultView, "keydown", (oe) => {
2503
+ se.value && (oe.defaultPrevented || oe.key === ie.Escape && (oe.preventDefault(), oe.stopPropagation(), le.close()));
2509
2504
  });
2510
2505
  let ae = L(() => !(B.value || b.value !== 0 || E));
2511
- return Pf(f, ae, (re) => {
2506
+ return Pf(f, ae, (oe) => {
2512
2507
  var ce;
2513
- return { containers: [...(ce = re.containers) != null ? ce : [], x] };
2514
- }), nt((re) => {
2508
+ return { containers: [...(ce = oe.containers) != null ? ce : [], x] };
2509
+ }), nt((oe) => {
2515
2510
  if (b.value !== 0) return;
2516
2511
  let ce = U(g);
2517
2512
  if (!ce) return;
@@ -2521,10 +2516,10 @@ let Oi = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", ri = ue({ name: "Dialog", inher
2521
2516
  mt.x === 0 && mt.y === 0 && mt.width === 0 && mt.height === 0 && le.close();
2522
2517
  }
2523
2518
  });
2524
- De.observe(ce), re(() => De.disconnect());
2519
+ De.observe(ce), oe(() => De.disconnect());
2525
2520
  }), () => {
2526
- let { open: re, initialFocus: ce, ...De } = r, Ee = { ...t, ref: g, id: a, role: c.value, "aria-modal": b.value === 0 ? !0 : void 0, "aria-labelledby": Z.value, "aria-describedby": Q.value }, st = { open: b.value === 0 };
2527
- return Ce(il, { force: !0 }, () => [Ce(Fu, () => Ce(zf, { target: g.value }, () => Ce(il, { force: !1 }, () => Ce(ln, { initialFocus: ce, containers: x, features: w.value ? _e(_.value, { parent: ln.features.RestoreFocus, leaf: ln.features.All & ~ln.features.FocusLock }) : ln.features.None }, () => Ce(P, {}, () => Pe({ ourProps: Ee, theirProps: { ...De, ...t }, slot: st, attrs: t, slots: o, visible: b.value === 0, features: _r.RenderStrategy | _r.Static, name: "Dialog" })))))), Ce(z)]);
2521
+ let { open: oe, initialFocus: ce, ...De } = r, Ee = { ...t, ref: g, id: a, role: c.value, "aria-modal": b.value === 0 ? !0 : void 0, "aria-labelledby": Z.value, "aria-describedby": Q.value }, st = { open: b.value === 0 };
2522
+ return Ce(il, { force: !0 }, () => [Ce(zu, () => Ce(Ff, { target: g.value }, () => Ce(il, { force: !1 }, () => Ce(ln, { initialFocus: ce, containers: x, features: w.value ? _e(_.value, { parent: ln.features.RestoreFocus, leaf: ln.features.All & ~ln.features.FocusLock }) : ln.features.None }, () => Ce(P, {}, () => Pe({ ourProps: Ee, theirProps: { ...De, ...t }, slot: st, attrs: t, slots: o, visible: b.value === 0, features: _r.RenderStrategy | _r.Static, name: "Dialog" })))))), Ce(F)]);
2528
2523
  };
2529
2524
  } }), od = ue({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: null } }, setup(r, { attrs: e, slots: t }) {
2530
2525
  var o;
@@ -2544,7 +2539,7 @@ ue({ name: "DialogBackdrop", props: { as: { type: [Object, String], default: "di
2544
2539
  if (s.panelRef.value === null) throw new Error("A <DialogBackdrop /> component is being used, but a <DialogPanel /> component is missing.");
2545
2540
  }), () => {
2546
2541
  let { ...l } = r, d = { id: i, ref: a, "aria-hidden": !0 };
2547
- return Ce(il, { force: !0 }, () => Ce(Fu, () => Pe({ ourProps: d, theirProps: { ...e, ...l }, slot: { open: s.dialogState.value === 0 }, attrs: e, slots: t, name: "DialogBackdrop" })));
2542
+ return Ce(il, { force: !0 }, () => Ce(zu, () => Pe({ ourProps: d, theirProps: { ...e, ...l }, slot: { open: s.dialogState.value === 0 }, attrs: e, slots: t, name: "DialogBackdrop" })));
2548
2543
  };
2549
2544
  } });
2550
2545
  let Hu = ue({ name: "DialogPanel", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: null } }, setup(r, { attrs: e, slots: t, expose: o }) {
@@ -2614,7 +2609,7 @@ function Uf(r) {
2614
2609
  }
2615
2610
  let Wu = Symbol("ListboxContext");
2616
2611
  function oi(r) {
2617
- let e = ze(Wu, null);
2612
+ let e = Fe(Wu, null);
2618
2613
  if (e === null) {
2619
2614
  let t = new Error(`<${r} /> is missing a parent <Listbox /> component.`);
2620
2615
  throw Error.captureStackTrace && Error.captureStackTrace(t, oi), t;
@@ -2639,7 +2634,7 @@ let ni = ue({ name: "Listbox", emits: { "update:modelValue": (r) => !0 }, props:
2639
2634
  r.disabled || n.value !== 0 && (n.value = 0);
2640
2635
  }, goToOption(E, y, P) {
2641
2636
  if (r.disabled || n.value === 1) return;
2642
- let x = u(), v = Pu(E === ye.Specific ? { focus: ye.Specific, id: y } : { focus: E }, { resolveItems: () => x.options, resolveActiveIndex: () => x.activeOptionIndex, resolveId: (z) => z.id, resolveDisabled: (z) => z.dataRef.disabled });
2637
+ let x = u(), v = Pu(E === ye.Specific ? { focus: ye.Specific, id: y } : { focus: E }, { resolveItems: () => x.options, resolveActiveIndex: () => x.activeOptionIndex, resolveId: (F) => F.id, resolveDisabled: (F) => F.dataRef.disabled });
2643
2638
  d.value = "", c.value = v, p.value = P ?? 1, l.value = x.options;
2644
2639
  }, search(E) {
2645
2640
  if (r.disabled || n.value === 1) return;
@@ -2686,8 +2681,8 @@ let ni = ue({ name: "Listbox", emits: { "update:modelValue": (r) => !0 }, props:
2686
2681
  };
2687
2682
  }, { immediate: !0 });
2688
2683
  }), () => {
2689
- let { name: E, modelValue: y, disabled: P, form: x, ...v } = r, z = { open: n.value === 0, disabled: P, value: b.value };
2690
- return Ce(we, [...E != null && b.value != null ? Bu({ [E]: b.value }).map(([_, B]) => Ce(ns, mf({ features: Nn.Hidden, key: _, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: x, disabled: P, name: _, value: B }))) : [], Pe({ ourProps: {}, theirProps: { ...t, ...td(v, ["defaultValue", "onUpdate:modelValue", "horizontal", "multiple", "by"]) }, slot: z, slots: e, attrs: t, name: "Listbox" })]);
2684
+ let { name: E, modelValue: y, disabled: P, form: x, ...v } = r, F = { open: n.value === 0, disabled: P, value: b.value };
2685
+ return Ce(we, [...E != null && b.value != null ? Bu({ [E]: b.value }).map(([_, B]) => Ce(ns, mf({ features: Nn.Hidden, key: _, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: x, disabled: P, name: _, value: B }))) : [], Pe({ ourProps: {}, theirProps: { ...t, ...td(v, ["defaultValue", "onUpdate:modelValue", "horizontal", "multiple", "by"]) }, slot: F, slots: e, attrs: t, name: "Listbox" })]);
2691
2686
  };
2692
2687
  } });
2693
2688
  ue({ name: "ListboxLabel", props: { as: { type: [Object, String], default: "label" }, id: { type: String, default: null } }, setup(r, { attrs: e, slots: t }) {
@@ -2841,8 +2836,8 @@ let ii = ue({ name: "ListboxButton", props: { as: { type: [Object, String], defa
2841
2836
  f.wasMoved(E) && (r.disabled || l.value && s.goToOption(ye.Nothing));
2842
2837
  }
2843
2838
  return () => {
2844
- let { disabled: E } = r, y = { active: l.value, selected: d.value, disabled: E }, { value: P, disabled: x, ...v } = r, z = { id: i, ref: a, role: "option", tabIndex: E === !0 ? void 0 : -1, "aria-disabled": E === !0 ? !0 : void 0, "aria-selected": d.value, disabled: void 0, onClick: m, onFocus: g, onPointerenter: b, onMouseenter: b, onPointermove: w, onMousemove: w, onPointerleave: C, onMouseleave: C };
2845
- return Pe({ ourProps: z, theirProps: v, slot: y, attrs: t, slots: e, name: "ListboxOption" });
2839
+ let { disabled: E } = r, y = { active: l.value, selected: d.value, disabled: E }, { value: P, disabled: x, ...v } = r, F = { id: i, ref: a, role: "option", tabIndex: E === !0 ? void 0 : -1, "aria-disabled": E === !0 ? !0 : void 0, "aria-selected": d.value, disabled: void 0, onClick: m, onFocus: g, onPointerenter: b, onMouseenter: b, onPointermove: w, onMousemove: w, onPointerleave: C, onMouseleave: C };
2840
+ return Pe({ ourProps: F, theirProps: v, slot: y, attrs: t, slots: e, name: "ListboxOption" });
2846
2841
  };
2847
2842
  } });
2848
2843
  var Kf = ((r) => (r[r.Open = 0] = "Open", r[r.Closed = 1] = "Closed", r))(Kf || {}), Gf = ((r) => (r[r.Pointer = 0] = "Pointer", r[r.Other = 1] = "Other", r))(Gf || {});
@@ -2851,7 +2846,7 @@ function Jf(r) {
2851
2846
  }
2852
2847
  let qu = Symbol("MenuContext");
2853
2848
  function ta(r) {
2854
- let e = ze(qu, null);
2849
+ let e = Fe(qu, null);
2855
2850
  if (e === null) {
2856
2851
  let t = new Error(`<${r} /> is missing a parent <Menu /> component.`);
2857
2852
  throw Error.captureStackTrace && Error.captureStackTrace(t, ta), t;
@@ -3065,15 +3060,15 @@ function Kr(r = "") {
3065
3060
  let id = Symbol("TransitionContext");
3066
3061
  var t1 = ((r) => (r.Visible = "visible", r.Hidden = "hidden", r))(t1 || {});
3067
3062
  function r1() {
3068
- return ze(id, null) !== null;
3063
+ return Fe(id, null) !== null;
3069
3064
  }
3070
3065
  function o1() {
3071
- let r = ze(id, null);
3066
+ let r = Fe(id, null);
3072
3067
  if (r === null) throw new Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");
3073
3068
  return r;
3074
3069
  }
3075
3070
  function n1() {
3076
- let r = ze(sd, null);
3071
+ let r = Fe(sd, null);
3077
3072
  if (r === null) throw new Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");
3078
3073
  return r;
3079
3074
  }
@@ -3130,7 +3125,7 @@ let Ku = _r.RenderStrategy, mr = ue({ props: { as: { type: [Object, String], def
3130
3125
  _e(b.value, { hidden: () => f(C), visible: () => g(C) });
3131
3126
  }
3132
3127
  });
3133
- let P = Kr(r.enter), x = Kr(r.enterFrom), v = Kr(r.enterTo), z = Kr(r.entered), _ = Kr(r.leave), B = Kr(r.leaveFrom), T = Kr(r.leaveTo);
3128
+ let P = Kr(r.enter), x = Kr(r.enterFrom), v = Kr(r.enterTo), F = Kr(r.entered), _ = Kr(r.leave), B = Kr(r.leaveFrom), T = Kr(r.leaveTo);
3134
3129
  ke(() => {
3135
3130
  nt(() => {
3136
3131
  if (b.value === "visible") {
@@ -3140,19 +3135,19 @@ let Ku = _r.RenderStrategy, mr = ue({ props: { as: { type: [Object, String], def
3140
3135
  });
3141
3136
  });
3142
3137
  function j(q) {
3143
- let oe = w.value && !m.value, Q = U(c);
3144
- !Q || !(Q instanceof HTMLElement) || oe || (E.value = !0, u.value && s(), u.value || l(), q(u.value ? gc(Q, P, x, v, z, (Z) => {
3138
+ let re = w.value && !m.value, Q = U(c);
3139
+ !Q || !(Q instanceof HTMLElement) || re || (E.value = !0, u.value && s(), u.value || l(), q(u.value ? gc(Q, P, x, v, F, (Z) => {
3145
3140
  E.value = !1, Z === cl.Finished && a();
3146
- }) : gc(Q, _, B, T, z, (Z) => {
3141
+ }) : gc(Q, _, B, T, F, (Z) => {
3147
3142
  E.value = !1, Z === cl.Finished && (ra(y) || (b.value = "hidden", f(C), d()));
3148
3143
  })));
3149
3144
  }
3150
3145
  return ke(() => {
3151
- pe([u], (q, oe, Q) => {
3146
+ pe([u], (q, re, Q) => {
3152
3147
  j(Q), w.value = !1;
3153
3148
  }, { immediate: !0 });
3154
3149
  }), Ve(sd, y), rd(L(() => _e(b.value, { visible: Be.Open, hidden: Be.Closed }) | i.value)), () => {
3155
- let { appear: q, show: oe, enter: Q, enterFrom: Z, enterTo: le, entered: he, leave: se, leaveFrom: ae, leaveTo: re, ...ce } = r, De = { ref: c }, Ee = { ...ce, ...m.value && u.value && Zn.isServer ? { class: Y([t.class, ce.class, ...P, ...x]) } : {} };
3150
+ let { appear: q, show: re, enter: Q, enterFrom: Z, enterTo: le, entered: he, leave: se, leaveFrom: ae, leaveTo: oe, ...ce } = r, De = { ref: c }, Ee = { ...ce, ...m.value && u.value && Zn.isServer ? { class: Y([t.class, ce.class, ...P, ...x]) } : {} };
3156
3151
  return Pe({ theirProps: Ee, ourProps: De, slot: {}, slots: o, attrs: t, features: Ku, visible: b.value === "visible", name: "TransitionChild" });
3157
3152
  };
3158
3153
  } }), i1 = mr, Qo = ue({ inheritAttrs: !1, props: { as: { type: [Object, String], default: "div" }, show: { type: [Boolean], default: null }, unmount: { type: [Boolean], default: !0 }, appear: { type: [Boolean], default: !1 }, enter: { type: [String], default: "" }, enterFrom: { type: [String], default: "" }, enterTo: { type: [String], default: "" }, entered: { type: [String], default: "" }, leave: { type: [String], default: "" }, leaveFrom: { type: [String], default: "" }, leaveTo: { type: [String], default: "" } }, emits: { beforeEnter: () => !0, afterEnter: () => !0, beforeLeave: () => !0, afterLeave: () => !0 }, setup(r, { emit: e, attrs: t, slots: o }) {
@@ -3956,9 +3951,9 @@ function ml(r, e, t = {}, o, n, i) {
3956
3951
  return B[Ea] = T, B;
3957
3952
  const j = function() {
3958
3953
  In(o);
3959
- const q = Array.from(arguments), oe = [], Q = [];
3954
+ const q = Array.from(arguments), re = [], Q = [];
3960
3955
  function Z(se) {
3961
- oe.push(se);
3956
+ re.push(se);
3962
3957
  }
3963
3958
  function le(se) {
3964
3959
  Q.push(se);
@@ -3976,7 +3971,7 @@ function ml(r, e, t = {}, o, n, i) {
3976
3971
  } catch (se) {
3977
3972
  throw Mo(Q, se), se;
3978
3973
  }
3979
- return he instanceof Promise ? he.then((se) => (Mo(oe, se), se)).catch((se) => (Mo(Q, se), Promise.reject(se))) : (Mo(oe, he), he);
3974
+ return he instanceof Promise ? he.then((se) => (Mo(re, se), se)).catch((se) => (Mo(Q, se), Promise.reject(se))) : (Mo(re, he), he);
3980
3975
  };
3981
3976
  return j[wc] = !0, j[Ea] = T, j;
3982
3977
  }, P = /* @__PURE__ */ Mr({
@@ -3992,12 +3987,12 @@ function ml(r, e, t = {}, o, n, i) {
3992
3987
  $patch: w,
3993
3988
  $reset: C,
3994
3989
  $subscribe(B, T = {}) {
3995
- const j = yc(p, B, T.detached, () => q()), q = s.run(() => pe(() => o.state.value[r], (oe) => {
3990
+ const j = yc(p, B, T.detached, () => q()), q = s.run(() => pe(() => o.state.value[r], (re) => {
3996
3991
  (T.flush === "sync" ? c : d) && B({
3997
3992
  storeId: r,
3998
3993
  type: Jt.direct,
3999
3994
  events: m
4000
- }, oe);
3995
+ }, re);
4001
3996
  }, Et({}, l, T)));
4002
3997
  return j;
4003
3998
  },
@@ -4105,7 +4100,7 @@ function N1(r, e, t) {
4105
4100
  const d = jg();
4106
4101
  if (a = // in test mode, ignore the argument provided as we can always retrieve a
4107
4102
  // pinia instance with getActivePinia()
4108
- (process.env.NODE_ENV === "test" && hn && hn._testing ? null : a) || (d ? ze(Yu, null) : null), a && In(a), process.env.NODE_ENV !== "production" && !hn)
4103
+ (process.env.NODE_ENV === "test" && hn && hn._testing ? null : a) || (d ? Fe(Yu, null) : null), a && In(a), process.env.NODE_ENV !== "production" && !hn)
4109
4104
  throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
4110
4105
  See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
4111
4106
  This will fail in production.`);
@@ -4492,10 +4487,10 @@ const I1 = /* @__PURE__ */ N1("pageBuilderState", {
4492
4487
  this.isLoading = r;
4493
4488
  }
4494
4489
  }
4495
- }), am = B1(), Le = I1(am), R1 = { class: "font-sans flex items-end justify-center pb-20 text-center sm:block sm:p-0 bg-white" }, $1 = { class: "bg-red-100 inline-block align-bottom text-left transform transition-all sm:align-middle w-full overflow-hidden h-[100vh] top-0 left-0 right-0 absolute" }, _1 = { class: "px-4 lg:h-[10vh] h-[16vh] flex items-center justify-between border-b border-gray-200 bg-white" }, z1 = {
4490
+ }), am = B1(), Le = I1(am), R1 = { class: "font-sans flex items-end justify-center pb-20 text-center sm:block sm:p-0 bg-white" }, $1 = { class: "bg-red-100 inline-block align-bottom text-left transform transition-all sm:align-middle w-full overflow-hidden h-[100vh] top-0 left-0 right-0 absolute" }, _1 = { class: "px-4 lg:h-[10vh] h-[16vh] flex items-center justify-between border-b border-gray-200 bg-white" }, F1 = {
4496
4491
  key: 0,
4497
4492
  class: "flex items-center divide-x divide-gray-200"
4498
- }, F1 = { class: "pr-4" }, j1 = ["src"], H1 = { key: 1 }, lm = {
4493
+ }, z1 = { class: "pr-4" }, j1 = ["src"], H1 = { key: 1 }, lm = {
4499
4494
  __name: "PageBuilderPreviewModal",
4500
4495
  props: {
4501
4496
  show: {
@@ -4556,8 +4551,8 @@ const I1 = /* @__PURE__ */ N1("pageBuilderState", {
4556
4551
  default: $(() => [
4557
4552
  h("div", $1, [
4558
4553
  h("div", _1, [
4559
- s.value && s.value.pageBuilderLogo && s.value.pageBuilderLogo.src ? (k(), M("div", z1, [
4560
- h("div", F1, [
4554
+ s.value && s.value.pageBuilderLogo && s.value.pageBuilderLogo.src ? (k(), M("div", F1, [
4555
+ h("div", z1, [
4561
4556
  h("img", {
4562
4557
  class: "h-6",
4563
4558
  src: s.value.pageBuilderLogo.src,
@@ -4821,7 +4816,7 @@ const I1 = /* @__PURE__ */ N1("pageBuilderState", {
4821
4816
  r.type === "danger" ? (k(), M("div", t0, a[3] || (a[3] = [
4822
4817
  h("span", { class: "material-symbols-outlined" }, " warning ", -1)
4823
4818
  ]))) : D("", !0),
4824
- h("h3", r0, F(r.title), 1)
4819
+ h("h3", r0, z(r.title), 1)
4825
4820
  ])
4826
4821
  ]),
4827
4822
  h("div", {
@@ -4858,7 +4853,7 @@ const I1 = /* @__PURE__ */ N1("pageBuilderState", {
4858
4853
  class: "mySecondaryButton",
4859
4854
  type: "button",
4860
4855
  onClick: o
4861
- }, F(r.firstButtonText), 513)) : D("", !0),
4856
+ }, z(r.firstButtonText), 513)) : D("", !0),
4862
4857
  r.secondButtonText ? (k(), M("div", i0, [
4863
4858
  r.disabled && r.disabledWhichButton === "secondButtonBuilder" ? (k(), M("div", s0, [
4864
4859
  h("button", {
@@ -4907,7 +4902,7 @@ const I1 = /* @__PURE__ */ N1("pageBuilderState", {
4907
4902
  class: "myPrimaryButton bg-yellow-300 hover:bg-yellow-400 text-myPrimaryDarkGrayColor hover:text-myPrimaryDarkGrayColor focus:ring-yellow-400 w-full",
4908
4903
  type: "button",
4909
4904
  onClick: n
4910
- }, F(r.secondButtonText), 1)
4905
+ }, z(r.secondButtonText), 1)
4911
4906
  ])) : D("", !0)
4912
4907
  ])) : D("", !0),
4913
4908
  r.thirdButtonText ? (k(), M("div", d0, [
@@ -4958,7 +4953,7 @@ const I1 = /* @__PURE__ */ N1("pageBuilderState", {
4958
4953
  class: "myPrimaryButton bg-myPrimaryLinkColor focus-visible:ring-myPrimaryLinkColor focus:ring-myPrimaryLinkColor hover:bg-myPrimaryLinkColor w-full",
4959
4954
  type: "button",
4960
4955
  onClick: i
4961
- }, F(r.thirdButtonText), 1)
4956
+ }, z(r.thirdButtonText), 1)
4962
4957
  ])) : D("", !0)
4963
4958
  ])) : D("", !0),
4964
4959
  r.type === "success" ? (k(), M("div", h0, [
@@ -5008,7 +5003,7 @@ const I1 = /* @__PURE__ */ N1("pageBuilderState", {
5008
5003
  class: "myPrimaryButton bg-myPrimaryLinkColor focus-visible:ring-myPrimaryLinkColor focus:ring-myPrimaryLinkColor hover:bg-myPrimaryLinkColor w-full",
5009
5004
  type: "button",
5010
5005
  onClick: i
5011
- }, F(r.thirdButtonText), 1)
5006
+ }, z(r.thirdButtonText), 1)
5012
5007
  ])) : D("", !0)
5013
5008
  ])) : D("", !0),
5014
5009
  r.type === "warning" ? (k(), M("div", y0, [
@@ -5058,7 +5053,7 @@ const I1 = /* @__PURE__ */ N1("pageBuilderState", {
5058
5053
  class: "flex items-center gap-2 myPrimaryButton bg-myPrimaryErrorColor hover:bg-red-600 text-white focus:ring-myPrimaryErrorColor w-full",
5059
5054
  type: "button",
5060
5055
  onClick: i
5061
- }, F(r.thirdButtonText), 1)
5056
+ }, z(r.thirdButtonText), 1)
5062
5057
  ])) : D("", !0)
5063
5058
  ])) : D("", !0),
5064
5059
  r.type === "danger" || r.type === "delete" ? (k(), M("div", k0, [
@@ -5108,7 +5103,7 @@ const I1 = /* @__PURE__ */ N1("pageBuilderState", {
5108
5103
  class: "flex items-center gap-2 myPrimaryButton bg-myPrimaryErrorColor hover:bg-red-600 text-white focus:ring-myPrimaryErrorColor w-full",
5109
5104
  type: "button",
5110
5105
  onClick: i
5111
- }, F(r.thirdButtonText), 1)
5106
+ }, z(r.thirdButtonText), 1)
5112
5107
  ])) : D("", !0)
5113
5108
  ])) : D("", !0)
5114
5109
  ])) : D("", !0)
@@ -6601,7 +6596,7 @@ class uo {
6601
6596
  return uo.empty;
6602
6597
  let n = wm(o);
6603
6598
  o.next && o.err("Unexpected trailing text");
6604
- let i = j0(F0(n));
6599
+ let i = j0(z0(n));
6605
6600
  return H0(i, o), i;
6606
6601
  }
6607
6602
  /**
@@ -6777,7 +6772,7 @@ function I0(r) {
6777
6772
  return e.length == 1 ? e[0] : { type: "seq", exprs: e };
6778
6773
  }
6779
6774
  function R0(r) {
6780
- let e = z0(r);
6775
+ let e = F0(r);
6781
6776
  for (; ; )
6782
6777
  if (r.eat("+"))
6783
6778
  e = { type: "plus", expr: e };
@@ -6811,7 +6806,7 @@ function _0(r, e) {
6811
6806
  }
6812
6807
  return n.length == 0 && r.err("No node type or group '" + e + "' found"), n;
6813
6808
  }
6814
- function z0(r) {
6809
+ function F0(r) {
6815
6810
  if (r.eat("(")) {
6816
6811
  let e = wm(r);
6817
6812
  return r.eat(")") || r.err("Missing closing paren"), e;
@@ -6822,7 +6817,7 @@ function z0(r) {
6822
6817
  return r.pos++, e.length == 1 ? e[0] : { type: "choice", exprs: e };
6823
6818
  }
6824
6819
  }
6825
- function F0(r) {
6820
+ function z0(r) {
6826
6821
  let e = [[]];
6827
6822
  return n(i(r, 0), t()), e;
6828
6823
  function t() {
@@ -8143,7 +8138,7 @@ class wt {
8143
8138
  }
8144
8139
  }
8145
8140
  wt.empty = new wt([]);
8146
- class zn {
8141
+ class Fn {
8147
8142
  /**
8148
8143
  Create a new mapping with the given position maps.
8149
8144
  */
@@ -8160,7 +8155,7 @@ class zn {
8160
8155
  Create a mapping that maps only through a part of this one.
8161
8156
  */
8162
8157
  slice(e = 0, t = this.maps.length) {
8163
- return new zn(this._maps, this.mirror, e, t);
8158
+ return new Fn(this._maps, this.mirror, e, t);
8164
8159
  }
8165
8160
  /**
8166
8161
  Add a step map to the end of this mapping. If `mirrors` is
@@ -8211,7 +8206,7 @@ class zn {
8211
8206
  Create an inverted version of this mapping.
8212
8207
  */
8213
8208
  invert() {
8214
- let e = new zn();
8209
+ let e = new Fn();
8215
8210
  return e.appendMappingInverted(this), e;
8216
8211
  }
8217
8212
  /**
@@ -9008,7 +9003,7 @@ class hb {
9008
9003
  let f = a.child(d), b = p.matchType(f.type);
9009
9004
  if (!b)
9010
9005
  break;
9011
- d++, (d > 1 || l == 0 || f.content.size) && (p = b, c.push(zm(f.mark(u.allowedMarks(f.marks)), d == 1 ? l : 0, d == a.childCount ? m : -1)));
9006
+ d++, (d > 1 || l == 0 || f.content.size) && (p = b, c.push(Fm(f.mark(u.allowedMarks(f.marks)), d == 1 ? l : 0, d == a.childCount ? m : -1)));
9012
9007
  }
9013
9008
  let g = d == a.childCount;
9014
9009
  g || (m = -1), this.placed = fn(this.placed, t, N.from(c)), this.frontier[t].match = p, g && m < 0 && o && o.type == this.frontier[this.depth].type && this.frontier.length > 1 && this.closeFrontierNode();
@@ -9075,11 +9070,11 @@ function Ba(r, e) {
9075
9070
  r = r.firstChild.content;
9076
9071
  return r;
9077
9072
  }
9078
- function zm(r, e, t) {
9073
+ function Fm(r, e, t) {
9079
9074
  if (e <= 0)
9080
9075
  return r;
9081
9076
  let o = r.content;
9082
- return e > 1 && (o = o.replaceChild(0, zm(o.firstChild, e - 1, o.childCount == 1 ? t - 1 : 0))), e > 0 && (o = r.type.contentMatch.fillBefore(o).append(o), t <= 0 && (o = o.append(r.type.contentMatch.matchFragment(o).fillBefore(N.empty, !0)))), r.copy(o);
9077
+ return e > 1 && (o = o.replaceChild(0, Fm(o.firstChild, e - 1, o.childCount == 1 ? t - 1 : 0))), e > 0 && (o = r.type.contentMatch.fillBefore(o).append(o), t <= 0 && (o = o.append(r.type.contentMatch.matchFragment(o).fillBefore(N.empty, !0)))), r.copy(o);
9083
9078
  }
9084
9079
  function Aa(r, e, t, o, n) {
9085
9080
  let i = r.node(e), s = n ? r.indexAfter(e) : r.index(e);
@@ -9135,7 +9130,7 @@ function bb(r, e, t, o) {
9135
9130
  b < 0 && (w = !1, b = -b);
9136
9131
  let C = n.node(b - 1), E = n.index(b - 1);
9137
9132
  if (C.canReplaceWith(E, E, g.type, g.marks))
9138
- return r.replace(n.before(b), w ? i.after(b) : t, new H(Fm(o.content, 0, o.openStart, m), m, o.openEnd));
9133
+ return r.replace(n.before(b), w ? i.after(b) : t, new H(zm(o.content, 0, o.openStart, m), m, o.openEnd));
9139
9134
  }
9140
9135
  }
9141
9136
  let p = r.steps.length;
@@ -9144,10 +9139,10 @@ function bb(r, e, t, o) {
9144
9139
  m < 0 || (e = n.before(m), t = i.after(m));
9145
9140
  }
9146
9141
  }
9147
- function Fm(r, e, t, o, n) {
9142
+ function zm(r, e, t, o, n) {
9148
9143
  if (e < t) {
9149
9144
  let i = r.firstChild;
9150
- r = r.replaceChild(0, i.copy(Fm(i.content, e + 1, t, o, i)));
9145
+ r = r.replaceChild(0, i.copy(zm(i.content, e + 1, t, o, i)));
9151
9146
  }
9152
9147
  if (e > o) {
9153
9148
  let i = n.contentMatchAt(0), s = i.fillBefore(r).append(r);
@@ -9224,7 +9219,7 @@ class _o extends it {
9224
9219
  }
9225
9220
  }
9226
9221
  it.jsonID("attr", _o);
9227
- class Fn extends it {
9222
+ class zn extends it {
9228
9223
  /**
9229
9224
  Construct an attribute step.
9230
9225
  */
@@ -9243,7 +9238,7 @@ class Fn extends it {
9243
9238
  return wt.empty;
9244
9239
  }
9245
9240
  invert(e) {
9246
- return new Fn(this.attr, e.attrs[this.attr]);
9241
+ return new zn(this.attr, e.attrs[this.attr]);
9247
9242
  }
9248
9243
  map(e) {
9249
9244
  return this;
@@ -9254,25 +9249,25 @@ class Fn extends it {
9254
9249
  static fromJSON(e, t) {
9255
9250
  if (typeof t.attr != "string")
9256
9251
  throw new RangeError("Invalid input for DocAttrStep.fromJSON");
9257
- return new Fn(t.attr, t.value);
9252
+ return new zn(t.attr, t.value);
9258
9253
  }
9259
9254
  }
9260
- it.jsonID("docAttr", Fn);
9261
- let Fo = class extends Error {
9255
+ it.jsonID("docAttr", zn);
9256
+ let zo = class extends Error {
9262
9257
  };
9263
- Fo = function r(e) {
9258
+ zo = function r(e) {
9264
9259
  let t = Error.call(this, e);
9265
9260
  return t.__proto__ = r.prototype, t;
9266
9261
  };
9267
- Fo.prototype = Object.create(Error.prototype);
9268
- Fo.prototype.constructor = Fo;
9269
- Fo.prototype.name = "TransformError";
9262
+ zo.prototype = Object.create(Error.prototype);
9263
+ zo.prototype.constructor = zo;
9264
+ zo.prototype.name = "TransformError";
9270
9265
  class Hm {
9271
9266
  /**
9272
9267
  Create a transform that starts with the given document.
9273
9268
  */
9274
9269
  constructor(e) {
9275
- this.doc = e, this.steps = [], this.docs = [], this.mapping = new zn();
9270
+ this.doc = e, this.steps = [], this.docs = [], this.mapping = new Fn();
9276
9271
  }
9277
9272
  /**
9278
9273
  The starting document.
@@ -9287,7 +9282,7 @@ class Hm {
9287
9282
  step(e) {
9288
9283
  let t = this.maybeStep(e);
9289
9284
  if (t.failed)
9290
- throw new Fo(t.failed);
9285
+ throw new zo(t.failed);
9291
9286
  return this;
9292
9287
  }
9293
9288
  /**
@@ -9430,7 +9425,7 @@ class Hm {
9430
9425
  Set a single attribute on the document to a new value.
9431
9426
  */
9432
9427
  setDocAttribute(e, t) {
9433
- return this.step(new Fn(e, t)), this;
9428
+ return this.step(new zn(e, t)), this;
9434
9429
  }
9435
9430
  /**
9436
9431
  Add a mark to the node at position `pos`.
@@ -9887,7 +9882,7 @@ function $c(r, e, t) {
9887
9882
  s == null && (s = c);
9888
9883
  }), r.setSelection(X.near(r.doc.resolve(s), t));
9889
9884
  }
9890
- const _c = 1, zc = 2, Fc = 4;
9885
+ const _c = 1, Fc = 2, zc = 4;
9891
9886
  class kb extends Hm {
9892
9887
  /**
9893
9888
  @internal
@@ -9923,7 +9918,7 @@ class kb extends Hm {
9923
9918
  Set the current stored marks.
9924
9919
  */
9925
9920
  setStoredMarks(e) {
9926
- return this.storedMarks = e, this.updated |= zc, this;
9921
+ return this.storedMarks = e, this.updated |= Fc, this;
9927
9922
  }
9928
9923
  /**
9929
9924
  Make sure the current stored marks or, if that is null, the marks
@@ -9949,7 +9944,7 @@ class kb extends Hm {
9949
9944
  Whether the stored marks were explicitly set for this transaction.
9950
9945
  */
9951
9946
  get storedMarksSet() {
9952
- return (this.updated & zc) > 0;
9947
+ return (this.updated & Fc) > 0;
9953
9948
  }
9954
9949
  /**
9955
9950
  @internal
@@ -10030,13 +10025,13 @@ class kb extends Hm {
10030
10025
  when updated to the state produced by this transaction.
10031
10026
  */
10032
10027
  scrollIntoView() {
10033
- return this.updated |= Fc, this;
10028
+ return this.updated |= zc, this;
10034
10029
  }
10035
10030
  /**
10036
10031
  True when this transaction has had `scrollIntoView` called on it.
10037
10032
  */
10038
10033
  get scrolledIntoView() {
10039
- return (this.updated & Fc) > 0;
10034
+ return (this.updated & zc) > 0;
10040
10035
  }
10041
10036
  }
10042
10037
  function jc(r, e) {
@@ -10262,7 +10257,7 @@ function Vm(r, e, t) {
10262
10257
  }
10263
10258
  return t;
10264
10259
  }
10265
- class Fe {
10260
+ class ze {
10266
10261
  /**
10267
10262
  Create a plugin.
10268
10263
  */
@@ -10409,8 +10404,8 @@ function Bb(r, e, t) {
10409
10404
  return { node: o.startContainer, offset: Math.min(Pt(o.startContainer), o.startOffset) };
10410
10405
  }
10411
10406
  }
10412
- const Qt = typeof navigator < "u" ? navigator : null, Vc = typeof document < "u" ? document : null, Hr = Qt && Qt.userAgent || "", kl = /Edge\/(\d+)/.exec(Hr), qm = /MSIE \d/.exec(Hr), Sl = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Hr), gt = !!(qm || Sl || kl), Ir = qm ? document.documentMode : Sl ? +Sl[1] : kl ? +kl[1] : 0, zt = !gt && /gecko\/(\d+)/i.test(Hr);
10413
- zt && +(/Firefox\/(\d+)/.exec(Hr) || [0, 0])[1];
10407
+ const Qt = typeof navigator < "u" ? navigator : null, Vc = typeof document < "u" ? document : null, Hr = Qt && Qt.userAgent || "", kl = /Edge\/(\d+)/.exec(Hr), qm = /MSIE \d/.exec(Hr), Sl = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Hr), gt = !!(qm || Sl || kl), Ir = qm ? document.documentMode : Sl ? +Sl[1] : kl ? +kl[1] : 0, Ft = !gt && /gecko\/(\d+)/i.test(Hr);
10408
+ Ft && +(/Firefox\/(\d+)/.exec(Hr) || [0, 0])[1];
10414
10409
  const Cl = !gt && /Chrome\/(\d+)/.exec(Hr), ot = !!Cl, Um = Cl ? +Cl[1] : 0, dt = !gt && !!Qt && /Apple Computer/.test(Qt.vendor), Ho = dt && (/Mobile\/\w+/.test(Hr) || !!Qt && Qt.maxTouchPoints > 2), Ot = Ho || (Qt ? /Mac/.test(Qt.platform) : !1), Ab = Qt ? /Win/.test(Qt.platform) : !1, dr = /Android \d/.test(Hr), di = !!Vc && "webkitFontSmoothing" in Vc.documentElement.style, Lb = di ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
10415
10410
  function Db(r) {
10416
10411
  let e = r.defaultView && r.defaultView.visualViewport;
@@ -10545,11 +10540,11 @@ function _b(r, e) {
10545
10540
  function md(r, e) {
10546
10541
  return r.left >= e.left - 1 && r.left <= e.right + 1 && r.top >= e.top - 1 && r.top <= e.bottom + 1;
10547
10542
  }
10548
- function zb(r, e) {
10543
+ function Fb(r, e) {
10549
10544
  let t = r.parentNode;
10550
10545
  return t && /^li$/i.test(t.nodeName) && e.left < r.getBoundingClientRect().left ? t : r;
10551
10546
  }
10552
- function Fb(r, e, t) {
10547
+ function zb(r, e, t) {
10553
10548
  let { node: o, offset: n } = Jm(e, t), i = -1;
10554
10549
  if (o.nodeType == 1 && !o.firstChild) {
10555
10550
  let s = o.getBoundingClientRect();
@@ -10600,15 +10595,15 @@ function Hb(r, e) {
10600
10595
  if (dt)
10601
10596
  for (let d = s; o && d; d = jo(d))
10602
10597
  d.draggable && (o = void 0);
10603
- if (s = zb(s, e), o) {
10604
- if (zt && o.nodeType == 1 && (n = Math.min(n, o.childNodes.length), n < o.childNodes.length)) {
10598
+ if (s = Fb(s, e), o) {
10599
+ if (Ft && o.nodeType == 1 && (n = Math.min(n, o.childNodes.length), n < o.childNodes.length)) {
10605
10600
  let c = o.childNodes[n], p;
10606
10601
  c.nodeName == "IMG" && (p = c.getBoundingClientRect()).right <= e.left && p.bottom > e.top && n++;
10607
10602
  }
10608
10603
  let d;
10609
10604
  di && n && o.nodeType == 1 && (d = o.childNodes[n - 1]).nodeType == 1 && d.contentEditable == "false" && d.getBoundingClientRect().top >= e.top && n--, o == r.dom && n == o.childNodes.length - 1 && o.lastChild.nodeType == 1 && e.top > o.lastChild.getBoundingClientRect().bottom ? a = r.state.doc.content.size : (n == 0 || o.nodeType != 1 || o.childNodes[n - 1].nodeName != "BR") && (a = jb(r, o, n, e));
10610
10605
  }
10611
- a == null && (a = Fb(r, s, e));
10606
+ a == null && (a = zb(r, s, e));
10612
10607
  let l = r.docView.nearestDesc(s, !0);
10613
10608
  return { pos: a, inside: l ? l.posAtStart - l.border : -1 };
10614
10609
  }
@@ -10626,11 +10621,11 @@ function wr(r, e) {
10626
10621
  }
10627
10622
  const Vb = /[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;
10628
10623
  function Qm(r, e, t) {
10629
- let { node: o, offset: n, atom: i } = r.docView.domFromPos(e, t < 0 ? -1 : 1), s = di || zt;
10624
+ let { node: o, offset: n, atom: i } = r.docView.domFromPos(e, t < 0 ? -1 : 1), s = di || Ft;
10630
10625
  if (o.nodeType == 3)
10631
10626
  if (s && (Vb.test(o.nodeValue) || (t < 0 ? !n : n == o.nodeValue.length))) {
10632
10627
  let l = wr(ar(o, n, n), t);
10633
- if (zt && n && /\s/.test(o.nodeValue[n - 1]) && n < o.nodeValue.length) {
10628
+ if (Ft && n && /\s/.test(o.nodeValue[n - 1]) && n < o.nodeValue.length) {
10634
10629
  let d = wr(ar(o, n - 1, n - 1), -1);
10635
10630
  if (d.top == l.top) {
10636
10631
  let c = wr(ar(o, n, n + 1), -1);
@@ -11005,7 +11000,7 @@ class ci {
11005
11000
  g = b;
11006
11001
  }
11007
11002
  let a = this.domFromPos(e, e ? -1 : 1), l = t == e ? a : this.domFromPos(t, t ? -1 : 1), d = o.root.getSelection(), c = o.domSelectionRange(), p = !1;
11008
- if ((zt || dt) && e == t) {
11003
+ if ((Ft || dt) && e == t) {
11009
11004
  let { node: m, offset: g } = a;
11010
11005
  if (m.nodeType == 3) {
11011
11006
  if (p = !!(g && m.nodeValue[g - 1] == `
@@ -11024,7 +11019,7 @@ class ci {
11024
11019
  p = f && (f.nodeName == "BR" || f.contentEditable == "false");
11025
11020
  }
11026
11021
  }
11027
- if (zt && c.focusNode && c.focusNode != l.node && c.focusNode.nodeType == 1) {
11022
+ if (Ft && c.focusNode && c.focusNode != l.node && c.focusNode.nodeType == 1) {
11028
11023
  let m = c.focusNode.childNodes[c.focusOffset];
11029
11024
  m && m.contentEditable == "false" && (n = !0);
11030
11025
  }
@@ -11936,7 +11931,7 @@ function sy(r) {
11936
11931
  if (!t)
11937
11932
  return;
11938
11933
  let n, i, s = !1;
11939
- for (zt && t.nodeType == 1 && o < us(t) && Sn(t.childNodes[o], -1) && (s = !0); ; )
11934
+ for (Ft && t.nodeType == 1 && o < us(t) && Sn(t.childNodes[o], -1) && (s = !0); ; )
11940
11935
  if (o > 0) {
11941
11936
  if (t.nodeType != 1)
11942
11937
  break;
@@ -12416,7 +12411,7 @@ function yd(r, e, t, o, n) {
12416
12411
  return !0;
12417
12412
  return !1;
12418
12413
  }
12419
- function zo(r, e, t) {
12414
+ function Fo(r, e, t) {
12420
12415
  if (r.focused || r.focus(), r.state.selection.eq(e))
12421
12416
  return;
12422
12417
  let o = r.state.tr.setSelection(e);
@@ -12426,7 +12421,7 @@ function Ey(r, e) {
12426
12421
  if (e == -1)
12427
12422
  return !1;
12428
12423
  let t = r.state.doc.resolve(e), o = t.nodeAfter;
12429
- return o && o.isAtom && K.isSelectable(o) ? (zo(r, new K(t)), !0) : !1;
12424
+ return o && o.isAtom && K.isSelectable(o) ? (Fo(r, new K(t)), !0) : !1;
12430
12425
  }
12431
12426
  function Ty(r, e) {
12432
12427
  if (e == -1)
@@ -12441,7 +12436,7 @@ function Ty(r, e) {
12441
12436
  break;
12442
12437
  }
12443
12438
  }
12444
- return n != null ? (zo(r, K.create(r.state.doc, n)), !0) : !1;
12439
+ return n != null ? (Fo(r, K.create(r.state.doc, n)), !0) : !1;
12445
12440
  }
12446
12441
  function Oy(r, e, t, o, n) {
12447
12442
  return yd(r, "handleClickOn", e, t, o) || r.someProp("handleClick", (i) => i(r, e, o)) || (n ? Ty(r, t) : Ey(r, t));
@@ -12457,14 +12452,14 @@ function Ay(r, e, t) {
12457
12452
  return !1;
12458
12453
  let o = r.state.doc;
12459
12454
  if (e == -1)
12460
- return o.inlineContent ? (zo(r, J.create(o, 0, o.content.size)), !0) : !1;
12455
+ return o.inlineContent ? (Fo(r, J.create(o, 0, o.content.size)), !0) : !1;
12461
12456
  let n = o.resolve(e);
12462
12457
  for (let i = n.depth + 1; i > 0; i--) {
12463
12458
  let s = i > n.depth ? n.nodeAfter : n.node(i), a = n.before(i);
12464
12459
  if (s.inlineContent)
12465
- zo(r, J.create(o, a + 1, a + 1 + s.content.size));
12460
+ Fo(r, J.create(o, a + 1, a + 1 + s.content.size));
12466
12461
  else if (K.isSelectable(s))
12467
- zo(r, K.create(o, a));
12462
+ Fo(r, K.create(o, a));
12468
12463
  else
12469
12464
  continue;
12470
12465
  return !0;
@@ -12499,7 +12494,7 @@ class Ly {
12499
12494
  node: i,
12500
12495
  pos: s,
12501
12496
  addAttr: !!(this.target && !this.target.draggable),
12502
- setUneditable: !!(this.target && zt && !this.target.hasAttribute("contentEditable"))
12497
+ setUneditable: !!(this.target && Ft && !this.target.hasAttribute("contentEditable"))
12503
12498
  }), this.target && this.mightDrag && (this.mightDrag.addAttr || this.mightDrag.setUneditable) && (this.view.domObserver.stop(), this.mightDrag.addAttr && (this.target.draggable = !0), this.mightDrag.setUneditable && setTimeout(() => {
12504
12499
  this.view.input.mouseDown == this && this.target.setAttribute("contentEditable", "false");
12505
12500
  }, 20), this.view.domObserver.start()), e.root.addEventListener("mouseup", this.up = this.up.bind(this)), e.root.addEventListener("mousemove", this.move = this.move.bind(this)), Lr(e, "pointer");
@@ -12519,7 +12514,7 @@ class Ly {
12519
12514
  // (hidden) cursor is doesn't change the selection, and
12520
12515
  // thus doesn't get a reaction from ProseMirror. This
12521
12516
  // works around that.
12522
- ot && !this.view.state.selection.visible && Math.min(Math.abs(t.pos - this.view.state.selection.from), Math.abs(t.pos - this.view.state.selection.to)) <= 2) ? (zo(this.view, X.near(this.view.state.doc.resolve(t.pos))), e.preventDefault()) : Lr(this.view, "pointer");
12517
+ ot && !this.view.state.selection.visible && Math.min(Math.abs(t.pos - this.view.state.selection.from), Math.abs(t.pos - this.view.state.selection.to)) <= 2) ? (Fo(this.view, X.near(this.view.state.doc.resolve(t.pos))), e.preventDefault()) : Lr(this.view, "pointer");
12523
12518
  }
12524
12519
  move(e) {
12525
12520
  this.updateAllowDefault(e), Lr(this.view, "pointer"), e.buttons == 0 && this.done();
@@ -12545,7 +12540,7 @@ pt.compositionstart = pt.compositionupdate = (r) => {
12545
12540
  let { state: e } = r, t = e.selection.$to;
12546
12541
  if (e.selection instanceof J && (e.storedMarks || !t.textOffset && t.parentOffset && t.nodeBefore.marks.some((o) => o.type.spec.inclusive === !1)))
12547
12542
  r.markCursor = r.state.storedMarks || t.marks(), ms(r, !0), r.markCursor = null;
12548
- else if (ms(r, !e.selection.empty), zt && e.selection.empty && t.parentOffset && !t.textOffset && t.nodeBefore.marks.length) {
12543
+ else if (ms(r, !e.selection.empty), Ft && e.selection.empty && t.parentOffset && !t.textOffset && t.nodeBefore.marks.length) {
12549
12544
  let o = r.domSelectionRange();
12550
12545
  for (let n = o.focusNode, i = o.focusOffset; n && n.nodeType == 1 && i != 0; ) {
12551
12546
  let s = i < 0 ? n.lastChild : n.childNodes[i - 1];
@@ -12664,10 +12659,10 @@ class wh {
12664
12659
  this.slice = e, this.move = t, this.node = o;
12665
12660
  }
12666
12661
  }
12667
- const zy = Ot ? "altKey" : "ctrlKey";
12662
+ const Fy = Ot ? "altKey" : "ctrlKey";
12668
12663
  function vh(r, e) {
12669
12664
  let t = r.someProp("dragCopies", (o) => !o(e));
12670
- return t ?? !e[zy];
12665
+ return t ?? !e[Fy];
12671
12666
  }
12672
12667
  ct.dragstart = (r, e) => {
12673
12668
  let t = e, o = r.input.mouseDown;
@@ -12949,7 +12944,7 @@ class $e {
12949
12944
  let l = this.local[a].map(e, o, n);
12950
12945
  l && l.type.valid(t, l) ? (s || (s = [])).push(l) : i.onRemove && i.onRemove(this.local[a].spec);
12951
12946
  }
12952
- return this.children.length ? Fy(this.children, s || [], e, t, o, n, i) : s ? new $e(s.sort(ao), Ao) : et;
12947
+ return this.children.length ? zy(this.children, s || [], e, t, o, n, i) : s ? new $e(s.sort(ao), Ao) : et;
12953
12948
  }
12954
12949
  /**
12955
12950
  Add the given array of decorations to the ones in the set,
@@ -13127,7 +13122,7 @@ class Sr {
13127
13122
  this.members[t].forEachSet(e);
13128
13123
  }
13129
13124
  }
13130
- function Fy(r, e, t, o, n, i, s) {
13125
+ function zy(r, e, t, o, n, i, s) {
13131
13126
  let a = r.slice();
13132
13127
  for (let d = 0, c = i; d < t.maps.length; d++) {
13133
13128
  let p = 0;
@@ -13376,7 +13371,7 @@ class qy {
13376
13371
  let p = this.registerMutation(t[c], l);
13377
13372
  p && (i = i < 0 ? p.from : Math.min(p.from, i), s = s < 0 ? p.to : Math.max(p.to, s), p.typeOver && (a = !0));
13378
13373
  }
13379
- if (zt && l.length) {
13374
+ if (Ft && l.length) {
13380
13375
  let c = l.filter((p) => p.nodeName == "BR");
13381
13376
  if (c.length == 2) {
13382
13377
  let [p, u] = c;
@@ -13428,7 +13423,7 @@ class qy {
13428
13423
  let pp = /* @__PURE__ */ new WeakMap(), up = !1;
13429
13424
  function Uy(r) {
13430
13425
  if (!pp.has(r) && (pp.set(r, null), ["normal", "nowrap", "pre-line"].indexOf(getComputedStyle(r.dom).whiteSpace) !== -1)) {
13431
- if (r.requiresGeckoHackNode = zt, up)
13426
+ if (r.requiresGeckoHackNode = Ft, up)
13432
13427
  return;
13433
13428
  console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."), up = !0;
13434
13429
  }
@@ -13550,15 +13545,15 @@ function Xy(r, e, t, o, n) {
13550
13545
  return _(r, Xr(13, "Enter"));
13551
13546
  });
13552
13547
  }, 20));
13553
- let y = g.start, P = g.endA, x, v, z;
13548
+ let y = g.start, P = g.endA, x, v, F;
13554
13549
  if (C) {
13555
13550
  if (f.pos == b.pos)
13556
13551
  gt && Ir <= 11 && f.parentOffset == 0 && (r.domObserver.suppressSelectionUpdates(), setTimeout(() => ur(r), 20)), x = r.state.tr.delete(y, P), v = c.resolve(g.start).marksAcross(c.resolve(g.endA));
13557
13552
  else if (
13558
13553
  // Adding or removing a mark
13559
- g.endA == g.endB && (z = Zy(f.parent.content.cut(f.parentOffset, b.parentOffset), w.parent.content.cut(w.parentOffset, g.endA - w.start())))
13554
+ g.endA == g.endB && (F = Zy(f.parent.content.cut(f.parentOffset, b.parentOffset), w.parent.content.cut(w.parentOffset, g.endA - w.start())))
13560
13555
  )
13561
- x = r.state.tr, z.type == "add" ? x.addMark(y, P, z.mark) : x.removeMark(y, P, z.mark);
13556
+ x = r.state.tr, F.type == "add" ? x.addMark(y, P, F.mark) : x.removeMark(y, P, F.mark);
13562
13557
  else if (f.parent.child(f.index()).isText && f.index() == b.index() - (b.textOffset ? 0 : 1)) {
13563
13558
  let _ = f.parent.textBetween(f.parentOffset, b.parentOffset);
13564
13559
  if (r.someProp("handleTextInput", (B) => B(r, y, P, _)))
@@ -13597,7 +13592,7 @@ function ew(r, e, t, o, n) {
13597
13592
  if (
13598
13593
  // The content must have shrunk
13599
13594
  t - e <= n.pos - o.pos || // newEnd must point directly at or after the end of the block that newStart points into
13600
- za(o, !0, !1) < n.pos
13595
+ Fa(o, !0, !1) < n.pos
13601
13596
  )
13602
13597
  return !1;
13603
13598
  let i = r.resolve(e);
@@ -13607,10 +13602,10 @@ function ew(r, e, t, o, n) {
13607
13602
  }
13608
13603
  if (i.parentOffset < i.parent.content.size || !i.parent.isTextblock)
13609
13604
  return !1;
13610
- let s = r.resolve(za(i, !0, !0));
13611
- return !s.parent.isTextblock || s.pos > t || za(s, !0, !1) < t ? !1 : o.parent.content.cut(o.parentOffset).eq(s.parent.content);
13605
+ let s = r.resolve(Fa(i, !0, !0));
13606
+ return !s.parent.isTextblock || s.pos > t || Fa(s, !0, !1) < t ? !1 : o.parent.content.cut(o.parentOffset).eq(s.parent.content);
13612
13607
  }
13613
- function za(r, e, t) {
13608
+ function Fa(r, e, t) {
13614
13609
  let o = r.depth, n = e ? r.end() : r.pos;
13615
13610
  for (; o > 0 && (e || r.indexAfter(o) == r.node(o).childCount); )
13616
13611
  o--, n++, e = !1;
@@ -14035,7 +14030,7 @@ function vp(r) {
14035
14030
  if (r.spec.state || r.spec.filterTransaction || r.spec.appendTransaction)
14036
14031
  throw new RangeError("Plugins passed directly to the view must not have a state component");
14037
14032
  }
14038
- var zr = {
14033
+ var Fr = {
14039
14034
  8: "Backspace",
14040
14035
  9: "Tab",
14041
14036
  10: "Enter",
@@ -14114,13 +14109,13 @@ var zr = {
14114
14109
  221: "}",
14115
14110
  222: '"'
14116
14111
  }, iw = typeof navigator < "u" && /Mac/.test(navigator.platform), sw = typeof navigator < "u" && /MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);
14117
- for (var Ye = 0; Ye < 10; Ye++) zr[48 + Ye] = zr[96 + Ye] = String(Ye);
14118
- for (var Ye = 1; Ye <= 24; Ye++) zr[Ye + 111] = "F" + Ye;
14112
+ for (var Ye = 0; Ye < 10; Ye++) Fr[48 + Ye] = Fr[96 + Ye] = String(Ye);
14113
+ for (var Ye = 1; Ye <= 24; Ye++) Fr[Ye + 111] = "F" + Ye;
14119
14114
  for (var Ye = 65; Ye <= 90; Ye++)
14120
- zr[Ye] = String.fromCharCode(Ye + 32), fs[Ye] = String.fromCharCode(Ye);
14121
- for (var Fa in zr) fs.hasOwnProperty(Fa) || (fs[Fa] = zr[Fa]);
14115
+ Fr[Ye] = String.fromCharCode(Ye + 32), fs[Ye] = String.fromCharCode(Ye);
14116
+ for (var za in Fr) fs.hasOwnProperty(za) || (fs[za] = Fr[za]);
14122
14117
  function aw(r) {
14123
- var e = iw && r.metaKey && r.shiftKey && !r.ctrlKey && !r.altKey || sw && r.shiftKey && r.key && r.key.length == 1 || r.key == "Unidentified", t = !e && r.key || (r.shiftKey ? fs : zr)[r.keyCode] || r.key || "Unidentified";
14118
+ var e = iw && r.metaKey && r.shiftKey && !r.ctrlKey && !r.altKey || sw && r.shiftKey && r.key && r.key.length == 1 || r.key == "Unidentified", t = !e && r.key || (r.shiftKey ? fs : Fr)[r.keyCode] || r.key || "Unidentified";
14124
14119
  return t == "Esc" && (t = "Escape"), t == "Del" && (t = "Delete"), t == "Left" && (t = "ArrowLeft"), t == "Up" && (t = "ArrowUp"), t == "Right" && (t = "ArrowRight"), t == "Down" && (t = "ArrowDown"), t;
14125
14120
  }
14126
14121
  const lw = typeof navigator < "u" && /Mac|iP(hone|[oa]d)/.test(navigator.platform), dw = typeof navigator < "u" && /Win/.test(navigator.platform);
@@ -14155,7 +14150,7 @@ function ja(r, e, t = !0) {
14155
14150
  return e.altKey && (r = "Alt-" + r), e.ctrlKey && (r = "Ctrl-" + r), e.metaKey && (r = "Meta-" + r), t && e.shiftKey && (r = "Shift-" + r), r;
14156
14151
  }
14157
14152
  function uw(r) {
14158
- return new Fe({ props: { handleKeyDown: Ch(r) } });
14153
+ return new ze({ props: { handleKeyDown: Ch(r) } });
14159
14154
  }
14160
14155
  function Ch(r) {
14161
14156
  let e = pw(r);
@@ -14170,7 +14165,7 @@ function Ch(r) {
14170
14165
  return !0;
14171
14166
  }
14172
14167
  if ((o.altKey || o.metaKey || o.ctrlKey) && // Ctrl-Alt may be used for AltGr on Windows
14173
- !(dw && o.ctrlKey && o.altKey) && (i = zr[o.keyCode]) && i != n) {
14168
+ !(dw && o.ctrlKey && o.altKey) && (i = Fr[o.keyCode]) && i != n) {
14174
14169
  let a = e[ja(i, o)];
14175
14170
  if (a && a(t.state, t.dispatch, t))
14176
14171
  return !0;
@@ -15035,8 +15030,8 @@ function Ni(r) {
15035
15030
  }), l.dispatch(g), c = !0);
15036
15031
  }), c;
15037
15032
  }
15038
- function zw(r) {
15039
- const { editor: e, rules: t } = r, o = new Fe({
15033
+ function Fw(r) {
15034
+ const { editor: e, rules: t } = r, o = new ze({
15040
15035
  state: {
15041
15036
  init() {
15042
15037
  return null;
@@ -15107,11 +15102,11 @@ function zw(r) {
15107
15102
  });
15108
15103
  return o;
15109
15104
  }
15110
- function Fw(r) {
15105
+ function zw(r) {
15111
15106
  return Object.prototype.toString.call(r).slice(8, -1);
15112
15107
  }
15113
15108
  function Ii(r) {
15114
- return Fw(r) !== "Object" ? !1 : r.constructor === Object && Object.getPrototypeOf(r) === Object.prototype;
15109
+ return zw(r) !== "Object" ? !1 : r.constructor === Object && Object.getPrototypeOf(r) === Object.prototype;
15115
15110
  }
15116
15111
  function ha(r, e) {
15117
15112
  const t = { ...r };
@@ -15249,7 +15244,7 @@ function Uw(r) {
15249
15244
  return s = typeof ClipboardEvent < "u" ? new ClipboardEvent("paste") : null, f;
15250
15245
  }
15251
15246
  };
15252
- return t.map((c) => new Fe({
15247
+ return t.map((c) => new ze({
15253
15248
  // we register a global drag handler to track the current drag source element
15254
15249
  view(p) {
15255
15250
  const u = (g) => {
@@ -15290,13 +15285,13 @@ function Uw(r) {
15290
15285
  if (C) {
15291
15286
  let { text: P } = w;
15292
15287
  typeof P == "string" ? P = P : P = Td(N.from(P), m.schema);
15293
- const { from: x } = w, v = x + P.length, z = qw(P);
15288
+ const { from: x } = w, v = x + P.length, F = qw(P);
15294
15289
  return l({
15295
15290
  rule: c,
15296
15291
  state: m,
15297
15292
  from: x,
15298
15293
  to: { b: v },
15299
- pasteEvt: z
15294
+ pasteEvt: F
15300
15295
  });
15301
15296
  }
15302
15297
  const E = u.doc.content.findDiffStart(m.doc.content), y = u.doc.content.findDiffEnd(m.doc.content);
@@ -15406,7 +15401,7 @@ class Ro {
15406
15401
  return l;
15407
15402
  }).flat();
15408
15403
  return [
15409
- zw({
15404
+ Fw({
15410
15405
  editor: e,
15411
15406
  rules: o
15412
15407
  }),
@@ -15514,7 +15509,7 @@ class Xe {
15514
15509
  })), t;
15515
15510
  }
15516
15511
  }
15517
- function zh(r, e, t) {
15512
+ function Fh(r, e, t) {
15518
15513
  const { from: o, to: n } = e, { blockSeparator: i = `
15519
15514
 
15520
15515
  `, textSerializers: s = {} } = t || {};
@@ -15546,12 +15541,12 @@ const Gw = Xe.create({
15546
15541
  },
15547
15542
  addProseMirrorPlugins() {
15548
15543
  return [
15549
- new Fe({
15544
+ new ze({
15550
15545
  key: new ut("clipboardTextSerializer"),
15551
15546
  props: {
15552
15547
  clipboardTextSerializer: () => {
15553
15548
  const { editor: r } = this, { state: e, schema: t } = r, { doc: o, selection: n } = e, { ranges: i } = n, s = Math.min(...i.map((c) => c.$from.pos)), a = Math.max(...i.map((c) => c.$to.pos)), l = Pd(t);
15554
- return zh(o, { from: s, to: a }, {
15549
+ return Fh(o, { from: s, to: a }, {
15555
15550
  ...this.options.blockSeparator !== void 0 ? { blockSeparator: this.options.blockSeparator } : {},
15556
15551
  textSerializers: l
15557
15552
  });
@@ -15618,7 +15613,7 @@ function bs(r, e, t = { strict: !0 }) {
15618
15613
  const o = Object.keys(e);
15619
15614
  return o.length ? o.every((n) => t.strict ? e[n] === r[n] : Od(e[n]) ? e[n].test(r[n]) : e[n] === r[n]) : !0;
15620
15615
  }
15621
- function Fh(r, e, t = {}) {
15616
+ function zh(r, e, t = {}) {
15622
15617
  return r.find((o) => o.type === e && bs(
15623
15618
  // Only check equality for the attributes that are provided
15624
15619
  Object.fromEntries(Object.keys(t).map((n) => [n, o.attrs[n]])),
@@ -15626,14 +15621,14 @@ function Fh(r, e, t = {}) {
15626
15621
  ));
15627
15622
  }
15628
15623
  function Mp(r, e, t = {}) {
15629
- return !!Fh(r, e, t);
15624
+ return !!zh(r, e, t);
15630
15625
  }
15631
15626
  function Bd(r, e, t) {
15632
15627
  var o;
15633
15628
  if (!r || !e)
15634
15629
  return;
15635
15630
  let n = r.parent.childAfter(r.parentOffset);
15636
- if ((!n.node || !n.node.marks.some((c) => c.type === e)) && (n = r.parent.childBefore(r.parentOffset)), !n.node || !n.node.marks.some((c) => c.type === e) || (t = t || ((o = n.node.marks[0]) === null || o === void 0 ? void 0 : o.attrs), !Fh([...n.node.marks], e, t)))
15631
+ if ((!n.node || !n.node.marks.some((c) => c.type === e)) && (n = r.parent.childBefore(r.parentOffset)), !n.node || !n.node.marks.some((c) => c.type === e) || (t = t || ((o = n.node.marks[0]) === null || o === void 0 ? void 0 : o.attrs), !zh([...n.node.marks], e, t)))
15637
15632
  return;
15638
15633
  let s = n.index, a = r.start() + n.offset, l = s + 1, d = a + n.node.nodeSize;
15639
15634
  for (; s > 0 && Mp([...r.parent.child(s - 1).marks], e, t); )
@@ -15973,7 +15968,7 @@ function Wh(r, e) {
15973
15968
  const a = s.find((l) => l.type.name === t.name);
15974
15969
  return a ? { ...a.attrs } : {};
15975
15970
  }
15976
- function zv(r, e) {
15971
+ function Fv(r, e) {
15977
15972
  const t = new Hm(r);
15978
15973
  return e.forEach((o) => {
15979
15974
  o.steps.forEach((n) => {
@@ -15981,7 +15976,7 @@ function zv(r, e) {
15981
15976
  });
15982
15977
  }), t;
15983
15978
  }
15984
- function Fv(r) {
15979
+ function zv(r) {
15985
15980
  for (let e = 0; e < r.edgeCount; e += 1) {
15986
15981
  const { type: t } = r.edge(e);
15987
15982
  if (t.isTextblock && !t.hasRequiredAttrs())
@@ -16018,7 +16013,7 @@ function qh(r, e) {
16018
16013
  from: 0,
16019
16014
  to: r.content.size
16020
16015
  };
16021
- return zh(r, t, e);
16016
+ return Fh(r, t, e);
16022
16017
  }
16023
16018
  function Vv(r, e) {
16024
16019
  const t = Ue(e, r.schema), { from: o, to: n } = r.selection, i = [];
@@ -16253,7 +16248,7 @@ const t2 = ({ keepMarks: r = !0 } = {}) => ({ tr: e, state: t, dispatch: o, edit
16253
16248
  return !a.parentOffset || !pr(s, a.pos) ? !1 : (o && (r && Op(t, n.extensionManager.splittableMarks), e.split(a.pos).scrollIntoView()), !0);
16254
16249
  if (!a.parent.isBlock)
16255
16250
  return !1;
16256
- const p = l.parentOffset === l.parent.content.size, u = a.depth === 0 ? void 0 : Fv(a.node(-1).contentMatchAt(a.indexAfter(-1)));
16251
+ const p = l.parentOffset === l.parent.content.size, u = a.depth === 0 ? void 0 : zv(a.node(-1).contentMatchAt(a.indexAfter(-1)));
16257
16252
  let m = p && u ? [
16258
16253
  {
16259
16254
  type: u,
@@ -16288,8 +16283,8 @@ const t2 = ({ keepMarks: r = !0 } = {}) => ({ tr: e, state: t, dispatch: o, edit
16288
16283
  if (n) {
16289
16284
  let w = N.empty;
16290
16285
  const C = l.index(-1) ? 1 : l.index(-2) ? 2 : 3;
16291
- for (let z = l.depth - C; z >= l.depth - 3; z -= 1)
16292
- w = N.from(l.node(z).copy(w));
16286
+ for (let F = l.depth - C; F >= l.depth - 3; F -= 1)
16287
+ w = N.from(l.node(F).copy(w));
16293
16288
  const E = l.indexAfter(-1) < l.node(-2).childCount ? 1 : l.indexAfter(-2) < l.node(-3).childCount ? 2 : 3, y = {
16294
16289
  ...Qi(u, l.node().type.name, l.node().attrs),
16295
16290
  ...e
@@ -16298,10 +16293,10 @@ const t2 = ({ keepMarks: r = !0 } = {}) => ({ tr: e, state: t, dispatch: o, edit
16298
16293
  const x = l.before(l.depth - (C - 1));
16299
16294
  t.replace(x, l.after(-E), new H(w, 4 - C, 0));
16300
16295
  let v = -1;
16301
- t.doc.nodesBetween(x, t.doc.content.size, (z, _) => {
16296
+ t.doc.nodesBetween(x, t.doc.content.size, (F, _) => {
16302
16297
  if (v > -1)
16303
16298
  return !1;
16304
- z.isTextblock && z.content.size === 0 && (v = _ + 1);
16299
+ F.isTextblock && F.content.size === 0 && (v = _ + 1);
16305
16300
  }), v > -1 && t.setSelection(J.near(t.doc.resolve(v))), t.scrollIntoView();
16306
16301
  }
16307
16302
  return !0;
@@ -16358,7 +16353,7 @@ const t2 = ({ keepMarks: r = !0 } = {}) => ({ tr: e, state: t, dispatch: o, edit
16358
16353
  return l().command(() => (i.setNodeMarkup(P.pos, m), !0)).command(() => Va(i, m)).command(() => Wa(i, m)).run();
16359
16354
  }
16360
16355
  return !t || !y || !a ? l().command(() => c().wrapInList(m, o) ? !0 : d.clearNodes()).wrapInList(m, o).command(() => Va(i, m)).command(() => Wa(i, m)).run() : l().command(() => {
16361
- const x = c().wrapInList(m, o), v = y.filter((z) => u.includes(z.type.name));
16356
+ const x = c().wrapInList(m, o), v = y.filter((F) => u.includes(F.type.name));
16362
16357
  return i.ensureMarks(v), x ? !0 : d.clearNodes();
16363
16358
  }).wrapInList(m, o).command(() => Va(i, m)).command(() => Wa(i, m)).run();
16364
16359
  }, n2 = (r, e = {}, t = {}) => ({ state: o, commands: n }) => {
@@ -16520,7 +16515,7 @@ const h2 = Xe.create({
16520
16515
  name: "drop",
16521
16516
  addProseMirrorPlugins() {
16522
16517
  return [
16523
- new Fe({
16518
+ new ze({
16524
16519
  key: new ut("tiptapDrop"),
16525
16520
  props: {
16526
16521
  handleDrop: (r, e, t, o) => {
@@ -16539,7 +16534,7 @@ const h2 = Xe.create({
16539
16534
  name: "editable",
16540
16535
  addProseMirrorPlugins() {
16541
16536
  return [
16542
- new Fe({
16537
+ new ze({
16543
16538
  key: new ut("editable"),
16544
16539
  props: {
16545
16540
  editable: () => this.editor.options.editable
@@ -16552,7 +16547,7 @@ const h2 = Xe.create({
16552
16547
  addProseMirrorPlugins() {
16553
16548
  const { editor: r } = this;
16554
16549
  return [
16555
- new Fe({
16550
+ new ze({
16556
16551
  key: b2,
16557
16552
  props: {
16558
16553
  handleDOMEvents: {
@@ -16625,7 +16620,7 @@ const h2 = Xe.create({
16625
16620
  // to a paragraph if necessary.
16626
16621
  // This is an alternative to ProseMirror's `AllSelection`, which doesn’t work well
16627
16622
  // with many other commands.
16628
- new Fe({
16623
+ new ze({
16629
16624
  key: new ut("clearDocument"),
16630
16625
  appendTransaction: (r, e, t) => {
16631
16626
  if (r.some((f) => f.getMeta("composition")))
@@ -16653,7 +16648,7 @@ const h2 = Xe.create({
16653
16648
  name: "paste",
16654
16649
  addProseMirrorPlugins() {
16655
16650
  return [
16656
- new Fe({
16651
+ new ze({
16657
16652
  key: new ut("tiptapPaste"),
16658
16653
  props: {
16659
16654
  handlePaste: (r, e, t) => {
@@ -16671,7 +16666,7 @@ const h2 = Xe.create({
16671
16666
  name: "tabindex",
16672
16667
  addProseMirrorPlugins() {
16673
16668
  return [
16674
- new Fe({
16669
+ new ze({
16675
16670
  key: new ut("tabindex"),
16676
16671
  props: {
16677
16672
  attributes: () => this.editor.isEditable ? { tabindex: "0" } : {}
@@ -17305,7 +17300,7 @@ function qn(r) {
17305
17300
  }
17306
17301
  });
17307
17302
  }
17308
- let Ft = class Il {
17303
+ let zt = class Il {
17309
17304
  constructor(e = {}) {
17310
17305
  this.type = "node", this.name = "node", this.parent = null, this.child = null, this.config = {
17311
17306
  name: this.name,
@@ -17399,7 +17394,7 @@ function _2(r) {
17399
17394
  }));
17400
17395
  });
17401
17396
  }
17402
- function z2(r) {
17397
+ function F2(r) {
17403
17398
  var e = r.state, t = {
17404
17399
  popper: {
17405
17400
  position: e.options.strategy,
@@ -17428,7 +17423,7 @@ const Qh = {
17428
17423
  enabled: !0,
17429
17424
  phase: "write",
17430
17425
  fn: _2,
17431
- effect: z2,
17426
+ effect: F2,
17432
17427
  requires: ["computeStyles"]
17433
17428
  };
17434
17429
  function Yt(r) {
@@ -17486,7 +17481,7 @@ function Zh(r, e) {
17486
17481
  function gr(r) {
17487
17482
  return St(r).getComputedStyle(r);
17488
17483
  }
17489
- function F2(r) {
17484
+ function z2(r) {
17490
17485
  return ["table", "td", "th"].indexOf(Zt(r)) >= 0;
17491
17486
  }
17492
17487
  function Wr(r) {
@@ -17528,11 +17523,11 @@ function j2(r) {
17528
17523
  return null;
17529
17524
  }
17530
17525
  function ui(r) {
17531
- for (var e = St(r), t = Bp(r); t && F2(t) && gr(t).position === "static"; )
17526
+ for (var e = St(r), t = Bp(r); t && z2(t) && gr(t).position === "static"; )
17532
17527
  t = Bp(t);
17533
17528
  return t && (Zt(t) === "html" || Zt(t) === "body" && gr(t).position === "static") ? e : t || j2(r) || e;
17534
17529
  }
17535
- function zd(r) {
17530
+ function Fd(r) {
17536
17531
  return ["top", "bottom"].indexOf(r) >= 0 ? "x" : "y";
17537
17532
  }
17538
17533
  function Cn(r, e, t) {
@@ -17564,10 +17559,10 @@ var V2 = function(e, t) {
17564
17559
  })) : e, tg(typeof e != "number" ? e : rg(e, pi));
17565
17560
  };
17566
17561
  function W2(r) {
17567
- var e, t = r.state, o = r.name, n = r.options, i = t.elements.arrow, s = t.modifiersData.popperOffsets, a = Yt(t.placement), l = zd(a), d = [bt, Nt].indexOf(a) >= 0, c = d ? "height" : "width";
17562
+ var e, t = r.state, o = r.name, n = r.options, i = t.elements.arrow, s = t.modifiersData.popperOffsets, a = Yt(t.placement), l = Fd(a), d = [bt, Nt].indexOf(a) >= 0, c = d ? "height" : "width";
17568
17563
  if (!(!i || !s)) {
17569
- var p = V2(n.padding, t), u = _d(i), m = l === "y" ? ft : bt, g = l === "y" ? Dt : Nt, f = t.rects.reference[c] + t.rects.reference[l] - s[l] - t.rects.popper[c], b = s[l] - t.rects.reference[l], w = ui(i), C = w ? l === "y" ? w.clientHeight || 0 : w.clientWidth || 0 : 0, E = f / 2 - b / 2, y = p[m], P = C - u[c] - p[g], x = C / 2 - u[c] / 2 + E, v = Cn(y, x, P), z = l;
17570
- t.modifiersData[o] = (e = {}, e[z] = v, e.centerOffset = v - x, e);
17564
+ var p = V2(n.padding, t), u = _d(i), m = l === "y" ? ft : bt, g = l === "y" ? Dt : Nt, f = t.rects.reference[c] + t.rects.reference[l] - s[l] - t.rects.popper[c], b = s[l] - t.rects.reference[l], w = ui(i), C = w ? l === "y" ? w.clientHeight || 0 : w.clientWidth || 0 : 0, E = f / 2 - b / 2, y = p[m], P = C - u[c] - p[g], x = C / 2 - u[c] / 2 + E, v = Cn(y, x, P), F = l;
17565
+ t.modifiersData[o] = (e = {}, e[F] = v, e.centerOffset = v - x, e);
17571
17566
  }
17572
17567
  }
17573
17568
  function q2(r) {
@@ -17610,8 +17605,8 @@ function Ap(r) {
17610
17605
  m = b.x, f = b.y;
17611
17606
  var w = s.hasOwnProperty("x"), C = s.hasOwnProperty("y"), E = bt, y = ft, P = window;
17612
17607
  if (d) {
17613
- var x = ui(t), v = "clientHeight", z = "clientWidth";
17614
- if (x === St(t) && (x = Wr(t), gr(x).position !== "static" && a === "absolute" && (v = "scrollHeight", z = "scrollWidth")), x = x, n === ft || (n === bt || n === Nt) && i === Un) {
17608
+ var x = ui(t), v = "clientHeight", F = "clientWidth";
17609
+ if (x === St(t) && (x = Wr(t), gr(x).position !== "static" && a === "absolute" && (v = "scrollHeight", F = "scrollWidth")), x = x, n === ft || (n === bt || n === Nt) && i === Un) {
17615
17610
  y = Dt;
17616
17611
  var _ = p && x === P && P.visualViewport ? P.visualViewport.height : (
17617
17612
  // $FlowFixMe[prop-missing]
@@ -17623,7 +17618,7 @@ function Ap(r) {
17623
17618
  E = Nt;
17624
17619
  var B = p && x === P && P.visualViewport ? P.visualViewport.width : (
17625
17620
  // $FlowFixMe[prop-missing]
17626
- x[z]
17621
+ x[F]
17627
17622
  );
17628
17623
  m -= B - o.width, m *= l ? 1 : -1;
17629
17624
  }
@@ -17715,7 +17710,7 @@ function Lp(r) {
17715
17710
  return ex[e];
17716
17711
  });
17717
17712
  }
17718
- function Fd(r) {
17713
+ function zd(r) {
17719
17714
  var e = St(r), t = e.pageXOffset, o = e.pageYOffset;
17720
17715
  return {
17721
17716
  scrollLeft: t,
@@ -17723,7 +17718,7 @@ function Fd(r) {
17723
17718
  };
17724
17719
  }
17725
17720
  function jd(r) {
17726
- return Ko(Wr(r)).left + Fd(r).scrollLeft;
17721
+ return Ko(Wr(r)).left + zd(r).scrollLeft;
17727
17722
  }
17728
17723
  function tx(r, e) {
17729
17724
  var t = St(r), o = Wr(r), n = t.visualViewport, i = o.clientWidth, s = o.clientHeight, a = 0, l = 0;
@@ -17740,7 +17735,7 @@ function tx(r, e) {
17740
17735
  };
17741
17736
  }
17742
17737
  function rx(r) {
17743
- var e, t = Wr(r), o = Fd(r), n = (e = r.ownerDocument) == null ? void 0 : e.body, i = lo(t.scrollWidth, t.clientWidth, n ? n.scrollWidth : 0, n ? n.clientWidth : 0), s = lo(t.scrollHeight, t.clientHeight, n ? n.scrollHeight : 0, n ? n.clientHeight : 0), a = -o.scrollLeft + jd(r), l = -o.scrollTop;
17738
+ var e, t = Wr(r), o = zd(r), n = (e = r.ownerDocument) == null ? void 0 : e.body, i = lo(t.scrollWidth, t.clientWidth, n ? n.scrollWidth : 0, n ? n.clientWidth : 0), s = lo(t.scrollHeight, t.clientHeight, n ? n.scrollHeight : 0, n ? n.clientHeight : 0), a = -o.scrollLeft + jd(r), l = -o.scrollTop;
17744
17739
  return gr(n || t).direction === "rtl" && (a += lo(t.clientWidth, n ? n.clientWidth : 0) - i), {
17745
17740
  width: i,
17746
17741
  height: s,
@@ -17825,7 +17820,7 @@ function ng(r) {
17825
17820
  y: e.y
17826
17821
  };
17827
17822
  }
17828
- var d = n ? zd(n) : null;
17823
+ var d = n ? Fd(n) : null;
17829
17824
  if (d != null) {
17830
17825
  var c = d === "y" ? "height" : "width";
17831
17826
  switch (i) {
@@ -17845,7 +17840,7 @@ function Kn(r, e) {
17845
17840
  reference: x,
17846
17841
  element: E,
17847
17842
  placement: n
17848
- }), z = $l(Object.assign({}, E, v)), _ = u === pn ? z : x, B = {
17843
+ }), F = $l(Object.assign({}, E, v)), _ = u === pn ? F : x, B = {
17849
17844
  top: P.top - _.top + w.top,
17850
17845
  bottom: _.bottom - P.bottom + w.bottom,
17851
17846
  left: P.left - _.left + w.left,
@@ -17854,8 +17849,8 @@ function Kn(r, e) {
17854
17849
  if (u === pn && T) {
17855
17850
  var j = T[n];
17856
17851
  Object.keys(B).forEach(function(q) {
17857
- var oe = [Nt, Dt].indexOf(q) >= 0 ? 1 : -1, Q = [ft, Dt].indexOf(q) >= 0 ? "y" : "x";
17858
- B[q] += j[Q] * oe;
17852
+ var re = [Nt, Dt].indexOf(q) >= 0 ? 1 : -1, Q = [ft, Dt].indexOf(q) >= 0 ? "y" : "x";
17853
+ B[q] += j[Q] * re;
17859
17854
  });
17860
17855
  }
17861
17856
  return B;
@@ -17898,26 +17893,26 @@ function lx(r) {
17898
17893
  flipVariations: g,
17899
17894
  allowedAutoPlacements: f
17900
17895
  }) : st);
17901
- }, []), P = e.rects.reference, x = e.rects.popper, v = /* @__PURE__ */ new Map(), z = !0, _ = y[0], B = 0; B < y.length; B++) {
17902
- var T = y[B], j = Yt(T), q = Go(T) === qo, oe = [ft, Dt].indexOf(j) >= 0, Q = oe ? "width" : "height", Z = Kn(e, {
17896
+ }, []), P = e.rects.reference, x = e.rects.popper, v = /* @__PURE__ */ new Map(), F = !0, _ = y[0], B = 0; B < y.length; B++) {
17897
+ var T = y[B], j = Yt(T), q = Go(T) === qo, re = [ft, Dt].indexOf(j) >= 0, Q = re ? "width" : "height", Z = Kn(e, {
17903
17898
  placement: T,
17904
17899
  boundary: c,
17905
17900
  rootBoundary: p,
17906
17901
  altBoundary: u,
17907
17902
  padding: d
17908
- }), le = oe ? q ? Nt : bt : q ? Dt : ft;
17903
+ }), le = re ? q ? Nt : bt : q ? Dt : ft;
17909
17904
  P[Q] > x[Q] && (le = Xi(le));
17910
17905
  var he = Xi(le), se = [];
17911
17906
  if (i && se.push(Z[j] <= 0), a && se.push(Z[le] <= 0, Z[he] <= 0), se.every(function(Ee) {
17912
17907
  return Ee;
17913
17908
  })) {
17914
- _ = T, z = !1;
17909
+ _ = T, F = !1;
17915
17910
  break;
17916
17911
  }
17917
17912
  v.set(T, se);
17918
17913
  }
17919
- if (z)
17920
- for (var ae = g ? 3 : 1, re = function(st) {
17914
+ if (F)
17915
+ for (var ae = g ? 3 : 1, oe = function(st) {
17921
17916
  var mt = y.find(function(wo) {
17922
17917
  var er = v.get(wo);
17923
17918
  if (er)
@@ -17928,7 +17923,7 @@ function lx(r) {
17928
17923
  if (mt)
17929
17924
  return _ = mt, "break";
17930
17925
  }, ce = ae; ce > 0; ce--) {
17931
- var De = re(ce);
17926
+ var De = oe(ce);
17932
17927
  if (De === "break") break;
17933
17928
  }
17934
17929
  e.placement !== _ && (e.modifiersData[o]._skip = !0, e.placement = _, e.reset = !0);
@@ -18032,7 +18027,7 @@ function yx(r) {
18032
18027
  rootBoundary: d,
18033
18028
  padding: p,
18034
18029
  altBoundary: c
18035
- }), w = Yt(e.placement), C = Go(e.placement), E = !C, y = zd(w), P = bx(y), x = e.modifiersData.popperOffsets, v = e.rects.reference, z = e.rects.popper, _ = typeof f == "function" ? f(Object.assign({}, e.rects, {
18030
+ }), w = Yt(e.placement), C = Go(e.placement), E = !C, y = Fd(w), P = bx(y), x = e.modifiersData.popperOffsets, v = e.rects.reference, F = e.rects.popper, _ = typeof f == "function" ? f(Object.assign({}, e.rects, {
18036
18031
  placement: e.placement
18037
18032
  })) : f, B = typeof _ == "number" ? {
18038
18033
  mainAxis: _,
@@ -18046,14 +18041,14 @@ function yx(r) {
18046
18041
  };
18047
18042
  if (x) {
18048
18043
  if (i) {
18049
- var q, oe = y === "y" ? ft : bt, Q = y === "y" ? Dt : Nt, Z = y === "y" ? "height" : "width", le = x[y], he = le + b[oe], se = le - b[Q], ae = m ? -z[Z] / 2 : 0, re = C === qo ? v[Z] : z[Z], ce = C === qo ? -z[Z] : -v[Z], De = e.elements.arrow, Ee = m && De ? _d(De) : {
18044
+ var q, re = y === "y" ? ft : bt, Q = y === "y" ? Dt : Nt, Z = y === "y" ? "height" : "width", le = x[y], he = le + b[re], se = le - b[Q], ae = m ? -F[Z] / 2 : 0, oe = C === qo ? v[Z] : F[Z], ce = C === qo ? -F[Z] : -v[Z], De = e.elements.arrow, Ee = m && De ? _d(De) : {
18050
18045
  width: 0,
18051
18046
  height: 0
18052
- }, st = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : eg(), mt = st[oe], wo = st[Q], er = Cn(0, v[Z], Ee[Z]), vo = E ? v[Z] / 2 - ae - er - mt - B.mainAxis : re - er - mt - B.mainAxis, fr = E ? -v[Z] / 2 + ae + er + wo + B.mainAxis : ce + er + wo + B.mainAxis, xo = e.elements.arrow && ui(e.elements.arrow), mi = xo ? y === "y" ? xo.clientTop || 0 : xo.clientLeft || 0 : 0, tn = (q = T == null ? void 0 : T[y]) != null ? q : 0, hi = le + vo - tn - mi, gi = le + fr - tn, rn = Cn(m ? ws(he, hi) : he, le, m ? lo(se, gi) : se);
18047
+ }, st = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : eg(), mt = st[re], wo = st[Q], er = Cn(0, v[Z], Ee[Z]), vo = E ? v[Z] / 2 - ae - er - mt - B.mainAxis : oe - er - mt - B.mainAxis, fr = E ? -v[Z] / 2 + ae + er + wo + B.mainAxis : ce + er + wo + B.mainAxis, xo = e.elements.arrow && ui(e.elements.arrow), mi = xo ? y === "y" ? xo.clientTop || 0 : xo.clientLeft || 0 : 0, tn = (q = T == null ? void 0 : T[y]) != null ? q : 0, hi = le + vo - tn - mi, gi = le + fr - tn, rn = Cn(m ? ws(he, hi) : he, le, m ? lo(se, gi) : se);
18053
18048
  x[y] = rn, j[y] = rn - le;
18054
18049
  }
18055
18050
  if (a) {
18056
- var on, fi = y === "x" ? ft : bt, bi = y === "x" ? Dt : Nt, tr = x[P], br = P === "y" ? "height" : "width", nn = tr + b[fi], qr = tr - b[bi], sn = [ft, bt].indexOf(w) !== -1, yi = (on = T == null ? void 0 : T[P]) != null ? on : 0, wi = sn ? nn : tr - v[br] - z[br] - yi + B.altAxis, vi = sn ? tr + v[br] + z[br] - yi - B.altAxis : qr, xi = m && sn ? H2(wi, tr, vi) : Cn(m ? wi : nn, tr, m ? vi : qr);
18051
+ var on, fi = y === "x" ? ft : bt, bi = y === "x" ? Dt : Nt, tr = x[P], br = P === "y" ? "height" : "width", nn = tr + b[fi], qr = tr - b[bi], sn = [ft, bt].indexOf(w) !== -1, yi = (on = T == null ? void 0 : T[P]) != null ? on : 0, wi = sn ? nn : tr - v[br] - F[br] - yi + B.altAxis, vi = sn ? tr + v[br] + F[br] - yi - B.altAxis : qr, xi = m && sn ? H2(wi, tr, vi) : Cn(m ? wi : nn, tr, m ? vi : qr);
18057
18052
  x[P] = xi, j[P] = xi - tr;
18058
18053
  }
18059
18054
  e.modifiersData[o] = j;
@@ -18073,7 +18068,7 @@ function vx(r) {
18073
18068
  };
18074
18069
  }
18075
18070
  function xx(r) {
18076
- return r === St(r) || !Lt(r) ? Fd(r) : vx(r);
18071
+ return r === St(r) || !Lt(r) ? zd(r) : vx(r);
18077
18072
  }
18078
18073
  function kx(r) {
18079
18074
  var e = r.getBoundingClientRect(), t = Uo(e.width) / r.offsetWidth || 1, o = Uo(e.height) / r.offsetHeight || 1;
@@ -18206,10 +18201,10 @@ function Ox(r) {
18206
18201
  c.reset = !1, y = -1;
18207
18202
  continue;
18208
18203
  }
18209
- var P = c.orderedModifiers[y], x = P.fn, v = P.options, z = v === void 0 ? {} : v, _ = P.name;
18204
+ var P = c.orderedModifiers[y], x = P.fn, v = P.options, F = v === void 0 ? {} : v, _ = P.name;
18210
18205
  typeof x == "function" && (c = x({
18211
18206
  state: c,
18212
- options: z,
18207
+ options: F,
18213
18208
  name: _,
18214
18209
  instance: m
18215
18210
  }) || c);
@@ -18303,7 +18298,7 @@ function Ix(r) {
18303
18298
  function Lo(r) {
18304
18299
  return [].concat(r);
18305
18300
  }
18306
- function zp(r, e) {
18301
+ function Fp(r, e) {
18307
18302
  r.indexOf(e) === -1 && r.push(e);
18308
18303
  }
18309
18304
  function Rx(r) {
@@ -18317,7 +18312,7 @@ function $x(r) {
18317
18312
  function vs(r) {
18318
18313
  return [].slice.call(r);
18319
18314
  }
18320
- function Fp(r) {
18315
+ function zp(r) {
18321
18316
  return Object.keys(r).reduce(function(e, t) {
18322
18317
  return r[t] !== void 0 && (e[t] = r[t]), e;
18323
18318
  }, {});
@@ -18333,10 +18328,10 @@ function Gn(r) {
18333
18328
  function _x(r) {
18334
18329
  return Vd(r, "NodeList");
18335
18330
  }
18336
- function zx(r) {
18331
+ function Fx(r) {
18337
18332
  return Vd(r, "MouseEvent");
18338
18333
  }
18339
- function Fx(r) {
18334
+ function zx(r) {
18340
18335
  return !!(r && r._tippy && r._tippy.reference === r);
18341
18336
  }
18342
18337
  function jx(r) {
@@ -18393,7 +18388,7 @@ function cg() {
18393
18388
  }
18394
18389
  function qx() {
18395
18390
  var r = document.activeElement;
18396
- if (Fx(r)) {
18391
+ if (zx(r)) {
18397
18392
  var e = r._tippy;
18398
18393
  r.blur && !e.state.isVisible && r.blur();
18399
18394
  }
@@ -18579,17 +18574,17 @@ function hg(r, e) {
18579
18574
  var r5 = function() {
18580
18575
  return "innerHTML";
18581
18576
  };
18582
- function zl(r, e) {
18577
+ function Fl(r, e) {
18583
18578
  r[r5()] = e;
18584
18579
  }
18585
18580
  function Up(r) {
18586
18581
  var e = En();
18587
- return r === !0 ? e.className = sg : (e.className = ag, Gn(r) ? e.appendChild(r) : zl(e, r)), e;
18582
+ return r === !0 ? e.className = sg : (e.className = ag, Gn(r) ? e.appendChild(r) : Fl(e, r)), e;
18588
18583
  }
18589
18584
  function Kp(r, e) {
18590
- Gn(e.content) ? (zl(r, ""), r.appendChild(e.content)) : typeof e.content != "function" && (e.allowHTML ? zl(r, e.content) : r.textContent = e.content);
18585
+ Gn(e.content) ? (Fl(r, ""), r.appendChild(e.content)) : typeof e.content != "function" && (e.allowHTML ? Fl(r, e.content) : r.textContent = e.content);
18591
18586
  }
18592
- function Fl(r) {
18587
+ function zl(r) {
18593
18588
  var e = r.firstElementChild, t = vs(e.children);
18594
18589
  return {
18595
18590
  box: e,
@@ -18610,7 +18605,7 @@ function gg(r) {
18610
18605
  var o = En();
18611
18606
  o.className = ig, o.setAttribute("data-state", "hidden"), Kp(o, r.props), e.appendChild(t), t.appendChild(o), n(r.props, r.props);
18612
18607
  function n(i, s) {
18613
- var a = Fl(e), l = a.box, d = a.content, c = a.arrow;
18608
+ var a = zl(e), l = a.box, d = a.content, c = a.arrow;
18614
18609
  s.theme ? l.setAttribute("data-theme", s.theme) : l.removeAttribute("data-theme"), typeof s.animation == "string" ? l.setAttribute("data-animation", s.animation) : l.removeAttribute("data-animation"), s.inertia ? l.setAttribute("data-inertia", "") : l.removeAttribute("data-inertia"), l.style.maxWidth = typeof s.maxWidth == "number" ? s.maxWidth + "px" : s.maxWidth, s.role ? l.setAttribute("role", s.role) : l.removeAttribute("role"), (i.content !== s.content || i.allowHTML !== s.allowHTML) && Kp(d, r.props), s.arrow ? c ? i.arrow !== s.arrow && (l.removeChild(c), l.appendChild(Up(s.arrow))) : l.appendChild(Up(s.arrow)) : c && l.removeChild(c);
18615
18610
  }
18616
18611
  return {
@@ -18619,9 +18614,9 @@ function gg(r) {
18619
18614
  };
18620
18615
  }
18621
18616
  gg.$$tippy = !0;
18622
- var o5 = 1, zi = [], Ga = [];
18617
+ var o5 = 1, Fi = [], Ga = [];
18623
18618
  function n5(r, e) {
18624
- var t = qp(r, Object.assign({}, vt, mg(Fp(e)))), o, n, i, s = !1, a = !1, l = !1, d = !1, c, p, u, m = [], g = _p(hi, t.interactiveDebounce), f, b = o5++, w = null, C = Rx(t.plugins), E = {
18619
+ var t = qp(r, Object.assign({}, vt, mg(zp(e)))), o, n, i, s = !1, a = !1, l = !1, d = !1, c, p, u, m = [], g = _p(hi, t.interactiveDebounce), f, b = o5++, w = null, C = Rx(t.plugins), E = {
18625
18620
  // Is the instance currently enabled?
18626
18621
  isEnabled: !0,
18627
18622
  // Is the tippy currently showing and not transitioning out?
@@ -18657,13 +18652,13 @@ function n5(r, e) {
18657
18652
  return process.env.NODE_ENV !== "production" && _l(!0, "render() function has not been supplied."), y;
18658
18653
  var P = t.render(y), x = P.popper, v = P.onUpdate;
18659
18654
  x.setAttribute("data-tippy-root", ""), x.id = "tippy-" + y.id, y.popper = x, r._tippy = y, x._tippy = y;
18660
- var z = C.map(function(A) {
18655
+ var F = C.map(function(A) {
18661
18656
  return A.fn(y);
18662
18657
  }), _ = r.hasAttribute("aria-expanded");
18663
18658
  return xo(), ae(), le(), he("onCreate", [y]), t.showOnCreate && nn(), x.addEventListener("mouseenter", function() {
18664
18659
  y.props.interactive && y.state.isVisible && y.clearDelayTimeouts();
18665
18660
  }), x.addEventListener("mouseleave", function() {
18666
- y.props.interactive && y.props.trigger.indexOf("mouseenter") >= 0 && oe().addEventListener("mousemove", g);
18661
+ y.props.interactive && y.props.trigger.indexOf("mouseenter") >= 0 && re().addEventListener("mousemove", g);
18667
18662
  }), y;
18668
18663
  function B() {
18669
18664
  var A = y.props.touch;
@@ -18679,12 +18674,12 @@ function n5(r, e) {
18679
18674
  function q() {
18680
18675
  return f || r;
18681
18676
  }
18682
- function oe() {
18677
+ function re() {
18683
18678
  var A = q().parentNode;
18684
18679
  return A ? Hx(A) : document;
18685
18680
  }
18686
18681
  function Q() {
18687
- return Fl(x);
18682
+ return zl(x);
18688
18683
  }
18689
18684
  function Z(A) {
18690
18685
  return y.state.isMounted && !y.state.isVisible || Wt.isTouch || c && c.type === "focus" ? 0 : qa(y.props.delay, A ? 0 : 1, vt.delay);
@@ -18693,7 +18688,7 @@ function n5(r, e) {
18693
18688
  A === void 0 && (A = !1), x.style.pointerEvents = y.props.interactive && !A ? "" : "none", x.style.zIndex = "" + y.props.zIndex;
18694
18689
  }
18695
18690
  function he(A, W, G) {
18696
- if (G === void 0 && (G = !0), z.forEach(function(de) {
18691
+ if (G === void 0 && (G = !0), F.forEach(function(de) {
18697
18692
  de[A] && de[A].apply(de, W);
18698
18693
  }), G) {
18699
18694
  var me;
@@ -18723,8 +18718,8 @@ function n5(r, e) {
18723
18718
  });
18724
18719
  }
18725
18720
  }
18726
- function re() {
18727
- oe().removeEventListener("mousemove", g), zi = zi.filter(function(A) {
18721
+ function oe() {
18722
+ re().removeEventListener("mousemove", g), Fi = Fi.filter(function(A) {
18728
18723
  return A !== g;
18729
18724
  });
18730
18725
  }
@@ -18752,11 +18747,11 @@ function n5(r, e) {
18752
18747
  l = !1;
18753
18748
  }
18754
18749
  function st() {
18755
- var A = oe();
18750
+ var A = re();
18756
18751
  A.addEventListener("mousedown", ce, !0), A.addEventListener("touchend", ce, Yr), A.addEventListener("touchstart", Ee, Yr), A.addEventListener("touchmove", De, Yr);
18757
18752
  }
18758
18753
  function mt() {
18759
- var A = oe();
18754
+ var A = re();
18760
18755
  A.removeEventListener("mousedown", ce, !0), A.removeEventListener("touchend", ce, Yr), A.removeEventListener("touchstart", Ee, Yr), A.removeEventListener("touchmove", De, Yr);
18761
18756
  }
18762
18757
  function wo(A, W) {
@@ -18818,7 +18813,7 @@ function n5(r, e) {
18818
18813
  var W, G = !1;
18819
18814
  if (!(!y.state.isEnabled || on(A) || a)) {
18820
18815
  var me = ((W = c) == null ? void 0 : W.type) === "focus";
18821
- c = A, f = A.currentTarget, ae(), !y.state.isVisible && zx(A) && zi.forEach(function(de) {
18816
+ c = A, f = A.currentTarget, ae(), !y.state.isVisible && Fx(A) && Fi.forEach(function(de) {
18822
18817
  return de(A);
18823
18818
  }), A.type === "click" && (y.props.trigger.indexOf("mouseenter") < 0 || s) && y.props.hideOnClick !== !1 && y.state.isVisible ? G = !0 : nn(A), A.type === "click" && (s = !G), G && !me && qr(A);
18824
18819
  }
@@ -18834,7 +18829,7 @@ function n5(r, e) {
18834
18829
  props: t
18835
18830
  } : null;
18836
18831
  }).filter(Boolean);
18837
- Vx(me, A) && (re(), qr(A));
18832
+ Vx(me, A) && (oe(), qr(A));
18838
18833
  }
18839
18834
  }
18840
18835
  function gi(A) {
@@ -18855,7 +18850,7 @@ function n5(r, e) {
18855
18850
  }
18856
18851
  function fi() {
18857
18852
  bi();
18858
- var A = y.props, W = A.popperOptions, G = A.placement, me = A.offset, de = A.getReferenceClientRect, at = A.moveTransition, Ct = j() ? Fl(x).arrow : null, ko = de ? {
18853
+ var A = y.props, W = A.popperOptions, G = A.placement, me = A.offset, de = A.getReferenceClientRect, at = A.moveTransition, Ct = j() ? zl(x).arrow : null, ko = de ? {
18859
18854
  getBoundingClientRect: de,
18860
18855
  contextElement: de.contextElement || q()
18861
18856
  } : r, ec = {
@@ -18959,10 +18954,10 @@ function n5(r, e) {
18959
18954
  function vi(A) {
18960
18955
  if (process.env.NODE_ENV !== "production" && lr(y.state.isDestroyed, Oo("setProps")), !y.state.isDestroyed) {
18961
18956
  he("onBeforeUpdate", [y, A]), mi();
18962
- var W = y.props, G = qp(r, Object.assign({}, W, Fp(A), {
18957
+ var W = y.props, G = qp(r, Object.assign({}, W, zp(A), {
18963
18958
  ignoreAttributes: !0
18964
18959
  }));
18965
- y.props = G, xo(), W.interactiveDebounce !== G.interactiveDebounce && (re(), g = _p(hi, G.interactiveDebounce)), W.triggerTarget && !G.triggerTarget ? Lo(W.triggerTarget).forEach(function(me) {
18960
+ y.props = G, xo(), W.interactiveDebounce !== G.interactiveDebounce && (oe(), g = _p(hi, G.interactiveDebounce)), W.triggerTarget && !G.triggerTarget ? Lo(W.triggerTarget).forEach(function(me) {
18966
18961
  me.removeAttribute("aria-expanded");
18967
18962
  }) : G.triggerTarget && r.removeAttribute("aria-expanded"), ae(), le(), v && v(W, G), y.popperInstance && (fi(), br().forEach(function(me) {
18968
18963
  requestAnimationFrame(me._tippy.popperInstance.forceUpdate);
@@ -18989,7 +18984,7 @@ function n5(r, e) {
18989
18984
  var ya = Q(), ki = ya.box, So = ya.content;
18990
18985
  Ua([ki, So], de), jp([ki, So], "visible");
18991
18986
  }
18992
- se(), ae(), zp(Ga, y), (Ur = y.popperInstance) == null || Ur.forceUpdate(), he("onMount", [y]), y.props.animation && j() && er(de, function() {
18987
+ se(), ae(), Fp(Ga, y), (Ur = y.popperInstance) == null || Ur.forceUpdate(), he("onMount", [y]), y.props.animation && j() && er(de, function() {
18993
18988
  y.state.isShown = !0, he("onShown", [y]);
18994
18989
  });
18995
18990
  }
@@ -19000,7 +18995,7 @@ function n5(r, e) {
19000
18995
  process.env.NODE_ENV !== "production" && lr(y.state.isDestroyed, Oo("hide"));
19001
18996
  var A = !y.state.isVisible, W = y.state.isDestroyed, G = !y.state.isEnabled, me = qa(y.props.duration, 1, vt.duration);
19002
18997
  if (!(A || W || G) && (he("onHide", [y], !1), y.props.onHide(y) !== !1)) {
19003
- if (y.state.isVisible = !1, y.state.isShown = !1, d = !1, s = !1, j() && (x.style.visibility = "hidden"), re(), mt(), le(!0), j()) {
18998
+ if (y.state.isVisible = !1, y.state.isShown = !1, d = !1, s = !1, j() && (x.style.visibility = "hidden"), oe(), mt(), le(!0), j()) {
19004
18999
  var de = Q(), at = de.box, Ct = de.content;
19005
19000
  y.props.animation && (Ua([at, Ct], me), jp([at, Ct], "hidden"));
19006
19001
  }
@@ -19008,7 +19003,7 @@ function n5(r, e) {
19008
19003
  }
19009
19004
  }
19010
19005
  function Ng(A) {
19011
- process.env.NODE_ENV !== "production" && lr(y.state.isDestroyed, Oo("hideWithInteractivity")), oe().addEventListener("mousemove", g), zp(zi, g), g(A);
19006
+ process.env.NODE_ENV !== "production" && lr(y.state.isDestroyed, Oo("hideWithInteractivity")), re().addEventListener("mousemove", g), Fp(Fi, g), g(A);
19012
19007
  }
19013
19008
  function Ig() {
19014
19009
  process.env.NODE_ENV !== "production" && lr(y.state.isDestroyed, Oo("unmount")), y.state.isVisible && y.hide(), y.state.isMounted && (bi(), br().forEach(function(A) {
@@ -19160,7 +19155,7 @@ class i5 {
19160
19155
  !((e = this.tippy) === null || e === void 0) && e.popper.firstChild && this.tippy.popper.firstChild.removeEventListener("blur", this.tippyBlurHandler), (t = this.tippy) === null || t === void 0 || t.destroy(), this.element.removeEventListener("mousedown", this.mousedownHandler, { capture: !0 }), this.view.dom.removeEventListener("dragstart", this.dragstartHandler), this.editor.off("focus", this.focusHandler), this.editor.off("blur", this.blurHandler);
19161
19156
  }
19162
19157
  }
19163
- const fg = (r) => new Fe({
19158
+ const fg = (r) => new ze({
19164
19159
  key: typeof r.pluginKey == "string" ? new ut(r.pluginKey) : r.pluginKey,
19165
19160
  view: (e) => new i5({ view: e, ...r })
19166
19161
  });
@@ -19255,7 +19250,7 @@ class s5 {
19255
19250
  !((e = this.tippy) === null || e === void 0) && e.popper.firstChild && this.tippy.popper.firstChild.removeEventListener("blur", this.tippyBlurHandler), (t = this.tippy) === null || t === void 0 || t.destroy(), this.element.removeEventListener("mousedown", this.mousedownHandler, { capture: !0 }), this.editor.off("focus", this.focusHandler), this.editor.off("blur", this.blurHandler);
19256
19251
  }
19257
19252
  }
19258
- const bg = (r) => new Fe({
19253
+ const bg = (r) => new ze({
19259
19254
  key: typeof r.pluginKey == "string" ? new ut(r.pluginKey) : r.pluginKey,
19260
19255
  view: (e) => new s5({ view: e, ...r })
19261
19256
  });
@@ -19497,7 +19492,7 @@ const d5 = (r = {}) => {
19497
19492
  const i = (t = e.value) === null || t === void 0 ? void 0 : t.options.element, s = i == null ? void 0 : i.cloneNode(!0);
19498
19493
  (o = i == null ? void 0 : i.parentNode) === null || o === void 0 || o.replaceChild(s, i), (n = e.value) === null || n === void 0 || n.destroy();
19499
19494
  }), e;
19500
- }, c5 = /^\s*>\s$/, p5 = Ft.create({
19495
+ }, c5 = /^\s*>\s$/, p5 = zt.create({
19501
19496
  name: "blockquote",
19502
19497
  addOptions() {
19503
19498
  return {
@@ -19601,7 +19596,7 @@ const d5 = (r = {}) => {
19601
19596
  })
19602
19597
  ];
19603
19598
  }
19604
- }), b5 = "listItem", Jp = "textStyle", Yp = /^\s*([-+*])\s$/, y5 = Ft.create({
19599
+ }), b5 = "listItem", Jp = "textStyle", Yp = /^\s*([-+*])\s$/, y5 = zt.create({
19605
19600
  name: "bulletList",
19606
19601
  addOptions() {
19607
19602
  return {
@@ -19695,7 +19690,7 @@ const d5 = (r = {}) => {
19695
19690
  })
19696
19691
  ];
19697
19692
  }
19698
- }), k5 = /^```([a-z]+)?[\s\n]$/, S5 = /^~~~([a-z]+)?[\s\n]$/, C5 = Ft.create({
19693
+ }), k5 = /^```([a-z]+)?[\s\n]$/, S5 = /^~~~([a-z]+)?[\s\n]$/, C5 = zt.create({
19699
19694
  name: "codeBlock",
19700
19695
  addOptions() {
19701
19696
  return {
@@ -19805,7 +19800,7 @@ const d5 = (r = {}) => {
19805
19800
  return [
19806
19801
  // this plugin creates a code block for pasted content from VS Code
19807
19802
  // we can also detect the copied code language
19808
- new Fe({
19803
+ new ze({
19809
19804
  key: new ut("codeBlockVSCodeHandler"),
19810
19805
  props: {
19811
19806
  handlePaste: (r, e) => {
@@ -19822,13 +19817,13 @@ const d5 = (r = {}) => {
19822
19817
  })
19823
19818
  ];
19824
19819
  }
19825
- }), M5 = Ft.create({
19820
+ }), M5 = zt.create({
19826
19821
  name: "doc",
19827
19822
  topNode: !0,
19828
19823
  content: "block+"
19829
19824
  });
19830
19825
  function E5(r = {}) {
19831
- return new Fe({
19826
+ return new ze({
19832
19827
  view(e) {
19833
19828
  return new T5(e, r);
19834
19829
  }
@@ -20058,7 +20053,7 @@ function B5(r) {
20058
20053
  return !0;
20059
20054
  }
20060
20055
  function A5() {
20061
- return new Fe({
20056
+ return new ze({
20062
20057
  props: {
20063
20058
  decorations: I5,
20064
20059
  createSelectionBetween(r, e, t) {
@@ -20071,12 +20066,12 @@ function A5() {
20071
20066
  });
20072
20067
  }
20073
20068
  const L5 = Ch({
20074
- ArrowLeft: Fi("horiz", -1),
20075
- ArrowRight: Fi("horiz", 1),
20076
- ArrowUp: Fi("vert", -1),
20077
- ArrowDown: Fi("vert", 1)
20069
+ ArrowLeft: zi("horiz", -1),
20070
+ ArrowRight: zi("horiz", 1),
20071
+ ArrowUp: zi("vert", -1),
20072
+ ArrowDown: zi("vert", 1)
20078
20073
  });
20079
- function Fi(r, e) {
20074
+ function zi(r, e) {
20080
20075
  const t = r == "vert" ? e > 0 ? "down" : "up" : e > 0 ? "right" : "left";
20081
20076
  return function(o, n, i) {
20082
20077
  let s = o.selection, a = e > 0 ? s.$to : s.$from, l = s.empty;
@@ -20134,7 +20129,7 @@ const R5 = Xe.create({
20134
20129
  allowGapCursor: (e = te(V(r, "allowGapCursor", t))) !== null && e !== void 0 ? e : null
20135
20130
  };
20136
20131
  }
20137
- }), $5 = Ft.create({
20132
+ }), $5 = zt.create({
20138
20133
  name: "hardBreak",
20139
20134
  addOptions() {
20140
20135
  return {
@@ -20184,7 +20179,7 @@ const R5 = Xe.create({
20184
20179
  "Shift-Enter": () => this.editor.commands.setHardBreak()
20185
20180
  };
20186
20181
  }
20187
- }), _5 = Ft.create({
20182
+ }), _5 = zt.create({
20188
20183
  name: "heading",
20189
20184
  addOptions() {
20190
20185
  return {
@@ -20243,7 +20238,7 @@ qe.prototype.prepend = function(e) {
20243
20238
  return e.length ? qe.from(e).append(this) : this;
20244
20239
  };
20245
20240
  qe.prototype.appendInner = function(e) {
20246
- return new z5(this, e);
20241
+ return new F5(this, e);
20247
20242
  };
20248
20243
  qe.prototype.slice = function(e, t) {
20249
20244
  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));
@@ -20298,7 +20293,7 @@ var yg = /* @__PURE__ */ function(r) {
20298
20293
  }, Object.defineProperties(e.prototype, t), e;
20299
20294
  }(qe);
20300
20295
  qe.empty = new yg([]);
20301
- var z5 = /* @__PURE__ */ function(r) {
20296
+ var F5 = /* @__PURE__ */ function(r) {
20302
20297
  function e(t, o) {
20303
20298
  r.call(this), this.left = t, this.right = o, this.length = t.length + o.length, this.depth = Math.max(t.depth, o.depth) + 1;
20304
20299
  }
@@ -20331,7 +20326,7 @@ var z5 = /* @__PURE__ */ function(r) {
20331
20326
  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);
20332
20327
  }, e;
20333
20328
  }(qe);
20334
- const F5 = 500;
20329
+ const z5 = 500;
20335
20330
  class _t {
20336
20331
  constructor(e, t) {
20337
20332
  this.items = e, this.eventCount = t;
@@ -20376,7 +20371,7 @@ class _t {
20376
20371
  return d > H5 && (a = j5(a, d), s -= d), new _t(a.append(i), s);
20377
20372
  }
20378
20373
  remapping(e, t) {
20379
- let o = new zn();
20374
+ let o = new Fn();
20380
20375
  return this.items.forEach((n, i) => {
20381
20376
  let s = n.mirrorOffset != null && i - n.mirrorOffset >= e ? o.maps.length - n.mirrorOffset : void 0;
20382
20377
  o.appendMap(n.map, s);
@@ -20413,7 +20408,7 @@ class _t {
20413
20408
  for (let u = t; u < s; u++)
20414
20409
  d.push(new jt(i.maps[u]));
20415
20410
  let c = this.items.slice(0, n).append(d).append(o), p = new _t(c, a);
20416
- return p.emptyItemCount() > F5 && (p = p.compress(this.items.length - o.length)), p;
20411
+ return p.emptyItemCount() > z5 && (p = p.compress(this.items.length - o.length)), p;
20417
20412
  }
20418
20413
  emptyItemCount() {
20419
20414
  let e = 0;
@@ -20537,7 +20532,7 @@ function K5(r = {}) {
20537
20532
  return r = {
20538
20533
  depth: r.depth || 100,
20539
20534
  newGroupDelay: r.newGroupDelay || 500
20540
- }, new Fe({
20535
+ }, new ze({
20541
20536
  key: co,
20542
20537
  state: {
20543
20538
  init() {
@@ -20599,7 +20594,7 @@ const vg = wg(!1, !0), xg = wg(!0, !0), G5 = Xe.create({
20599
20594
  "Shift-Mod-я": () => this.editor.commands.redo()
20600
20595
  };
20601
20596
  }
20602
- }), J5 = Ft.create({
20597
+ }), J5 = zt.create({
20603
20598
  name: "horizontalRule",
20604
20599
  addOptions() {
20605
20600
  return {
@@ -20714,7 +20709,7 @@ const vg = wg(!1, !0), xg = wg(!0, !0), G5 = Xe.create({
20714
20709
  })
20715
20710
  ];
20716
20711
  }
20717
- }), t3 = Ft.create({
20712
+ }), t3 = zt.create({
20718
20713
  name: "listItem",
20719
20714
  addOptions() {
20720
20715
  return {
@@ -20742,7 +20737,7 @@ const vg = wg(!1, !0), xg = wg(!0, !0), G5 = Xe.create({
20742
20737
  "Shift-Tab": () => this.editor.commands.liftListItem(this.name)
20743
20738
  };
20744
20739
  }
20745
- }), r3 = "listItem", Zp = "textStyle", eu = /^(\d+)\.\s$/, o3 = Ft.create({
20740
+ }), r3 = "listItem", Zp = "textStyle", eu = /^(\d+)\.\s$/, o3 = zt.create({
20746
20741
  name: "orderedList",
20747
20742
  addOptions() {
20748
20743
  return {
@@ -20808,7 +20803,7 @@ const vg = wg(!1, !0), xg = wg(!0, !0), G5 = Xe.create({
20808
20803
  r
20809
20804
  ];
20810
20805
  }
20811
- }), n3 = Ft.create({
20806
+ }), n3 = zt.create({
20812
20807
  name: "paragraph",
20813
20808
  priority: 1e3,
20814
20809
  addOptions() {
@@ -20892,7 +20887,7 @@ const vg = wg(!1, !0), xg = wg(!0, !0), G5 = Xe.create({
20892
20887
  })
20893
20888
  ];
20894
20889
  }
20895
- }), l3 = Ft.create({
20890
+ }), l3 = zt.create({
20896
20891
  name: "text",
20897
20892
  group: "inline"
20898
20893
  }), d3 = Xe.create({
@@ -21046,7 +21041,7 @@ ht.prototype = {
21046
21041
  return n.j[r] = s, s;
21047
21042
  }
21048
21043
  };
21049
- const ee = (r, e, t, o, n) => r.ta(e, t, o, n), Te = (r, e, t, o, n) => r.tr(e, t, o, n), tu = (r, e, t, o, n) => r.ts(e, t, o, n), I = (r, e, t, o, n) => r.tt(e, t, o, n), sr = "WORD", ql = "UWORD", Sg = "ASCIINUMERICAL", Cg = "ALPHANUMERICAL", Yn = "LOCALHOST", Ul = "TLD", Kl = "UTLD", es = "SCHEME", Do = "SLASH_SCHEME", qd = "NUM", Gl = "WS", Ud = "NL", On = "OPENBRACE", Pn = "CLOSEBRACE", ks = "OPENBRACKET", Ss = "CLOSEBRACKET", Cs = "OPENPAREN", Ms = "CLOSEPAREN", Es = "OPENANGLEBRACKET", Ts = "CLOSEANGLEBRACKET", Os = "FULLWIDTHLEFTPAREN", Ps = "FULLWIDTHRIGHTPAREN", Bs = "LEFTCORNERBRACKET", As = "RIGHTCORNERBRACKET", Ls = "LEFTWHITECORNERBRACKET", Ds = "RIGHTWHITECORNERBRACKET", Ns = "FULLWIDTHLESSTHAN", Is = "FULLWIDTHGREATERTHAN", Rs = "AMPERSAND", $s = "APOSTROPHE", _s = "ASTERISK", kr = "AT", zs = "BACKSLASH", Fs = "BACKTICK", js = "CARET", Cr = "COLON", Kd = "COMMA", Hs = "DOLLAR", Ht = "DOT", Vs = "EQUALS", Gd = "EXCLAMATION", Tt = "HYPHEN", Bn = "PERCENT", Ws = "PIPE", qs = "PLUS", Us = "POUND", An = "QUERY", Jd = "QUOTE", Mg = "FULLWIDTHMIDDLEDOT", Yd = "SEMI", Vt = "SLASH", Ln = "TILDE", Ks = "UNDERSCORE", Eg = "EMOJI", Gs = "SYM";
21044
+ const ee = (r, e, t, o, n) => r.ta(e, t, o, n), Te = (r, e, t, o, n) => r.tr(e, t, o, n), tu = (r, e, t, o, n) => r.ts(e, t, o, n), I = (r, e, t, o, n) => r.tt(e, t, o, n), sr = "WORD", ql = "UWORD", Sg = "ASCIINUMERICAL", Cg = "ALPHANUMERICAL", Yn = "LOCALHOST", Ul = "TLD", Kl = "UTLD", es = "SCHEME", Do = "SLASH_SCHEME", qd = "NUM", Gl = "WS", Ud = "NL", On = "OPENBRACE", Pn = "CLOSEBRACE", ks = "OPENBRACKET", Ss = "CLOSEBRACKET", Cs = "OPENPAREN", Ms = "CLOSEPAREN", Es = "OPENANGLEBRACKET", Ts = "CLOSEANGLEBRACKET", Os = "FULLWIDTHLEFTPAREN", Ps = "FULLWIDTHRIGHTPAREN", Bs = "LEFTCORNERBRACKET", As = "RIGHTCORNERBRACKET", Ls = "LEFTWHITECORNERBRACKET", Ds = "RIGHTWHITECORNERBRACKET", Ns = "FULLWIDTHLESSTHAN", Is = "FULLWIDTHGREATERTHAN", Rs = "AMPERSAND", $s = "APOSTROPHE", _s = "ASTERISK", kr = "AT", Fs = "BACKSLASH", zs = "BACKTICK", js = "CARET", Cr = "COLON", Kd = "COMMA", Hs = "DOLLAR", Ht = "DOT", Vs = "EQUALS", Gd = "EXCLAMATION", Tt = "HYPHEN", Bn = "PERCENT", Ws = "PIPE", qs = "PLUS", Us = "POUND", An = "QUERY", Jd = "QUOTE", Mg = "FULLWIDTHMIDDLEDOT", Yd = "SEMI", Vt = "SLASH", Ln = "TILDE", Ks = "UNDERSCORE", Eg = "EMOJI", Gs = "SYM";
21050
21045
  var Tg = /* @__PURE__ */ Object.freeze({
21051
21046
  __proto__: null,
21052
21047
  ALPHANUMERICAL: Cg,
@@ -21055,8 +21050,8 @@ var Tg = /* @__PURE__ */ Object.freeze({
21055
21050
  ASCIINUMERICAL: Sg,
21056
21051
  ASTERISK: _s,
21057
21052
  AT: kr,
21058
- BACKSLASH: zs,
21059
- BACKTICK: Fs,
21053
+ BACKSLASH: Fs,
21054
+ BACKTICK: zs,
21060
21055
  CARET: js,
21061
21056
  CLOSEANGLEBRACKET: Ts,
21062
21057
  CLOSEBRACE: Pn,
@@ -21112,7 +21107,7 @@ function y3(r = []) {
21112
21107
  const e = {};
21113
21108
  ht.groups = e;
21114
21109
  const t = new ht();
21115
- ji == null && (ji = ou(c3)), Hi == null && (Hi = ou(p3)), I(t, "'", $s), I(t, "{", On), I(t, "}", Pn), I(t, "[", ks), I(t, "]", Ss), I(t, "(", Cs), I(t, ")", Ms), I(t, "<", Es), I(t, ">", Ts), I(t, "(", Os), I(t, ")", Ps), I(t, "「", Bs), I(t, "」", As), I(t, "『", Ls), I(t, "』", Ds), I(t, "<", Ns), I(t, ">", Is), I(t, "&", Rs), I(t, "*", _s), I(t, "@", kr), I(t, "`", Fs), I(t, "^", js), I(t, ":", Cr), I(t, ",", Kd), I(t, "$", Hs), I(t, ".", Ht), I(t, "=", Vs), I(t, "!", Gd), I(t, "-", Tt), I(t, "%", Bn), I(t, "|", Ws), I(t, "+", qs), I(t, "#", Us), I(t, "?", An), I(t, '"', Jd), I(t, "/", Vt), I(t, ";", Yd), I(t, "~", Ln), I(t, "_", Ks), I(t, "\\", zs), I(t, "・", Mg);
21110
+ ji == null && (ji = ou(c3)), Hi == null && (Hi = ou(p3)), I(t, "'", $s), I(t, "{", On), I(t, "}", Pn), I(t, "[", ks), I(t, "]", Ss), I(t, "(", Cs), I(t, ")", Ms), I(t, "<", Es), I(t, ">", Ts), I(t, "(", Os), I(t, ")", Ps), I(t, "「", Bs), I(t, "」", As), I(t, "『", Ls), I(t, "』", Ds), I(t, "<", Ns), I(t, ">", Is), I(t, "&", Rs), I(t, "*", _s), I(t, "@", kr), I(t, "`", zs), I(t, "^", js), I(t, ":", Cr), I(t, ",", Kd), I(t, "$", Hs), I(t, ".", Ht), I(t, "=", Vs), I(t, "!", Gd), I(t, "-", Tt), I(t, "%", Bn), I(t, "|", Ws), I(t, "+", qs), I(t, "#", Us), I(t, "?", An), I(t, '"', Jd), I(t, "/", Vt), I(t, ";", Yd), I(t, "~", Ln), I(t, "_", Ks), I(t, "\\", Fs), I(t, "・", Mg);
21116
21111
  const o = Te(t, ir, qd, {
21117
21112
  [jl]: !0
21118
21113
  });
@@ -21468,7 +21463,7 @@ const iu = ba("email", {
21468
21463
  function x3({
21469
21464
  groups: r
21470
21465
  }) {
21471
- const e = r.domain.concat([Rs, _s, kr, zs, Fs, js, Hs, Vs, Tt, qd, Bn, Ws, qs, Us, Vt, Gs, Ln, Ks]), t = [$s, Cr, Kd, Ht, Gd, Bn, An, Jd, Yd, Es, Ts, On, Pn, Ss, ks, Cs, Ms, Os, Ps, Bs, As, Ls, Ds, Ns, Is], o = [Rs, $s, _s, zs, Fs, js, Hs, Vs, Tt, On, Pn, Bn, Ws, qs, Us, An, Vt, Gs, Ln, Ks], n = Mt(), i = I(n, Ln);
21466
+ const e = r.domain.concat([Rs, _s, kr, Fs, zs, js, Hs, Vs, Tt, qd, Bn, Ws, qs, Us, Vt, Gs, Ln, Ks]), t = [$s, Cr, Kd, Ht, Gd, Bn, An, Jd, Yd, Es, Ts, On, Pn, Ss, ks, Cs, Ms, Os, Ps, Bs, As, Ls, Ds, Ns, Is], o = [Rs, $s, _s, Fs, zs, js, Hs, Vs, Tt, On, Pn, Bn, Ws, qs, Us, An, Vt, Gs, Ln, Ks], n = Mt(), i = I(n, Ln);
21472
21467
  ee(i, o, i), ee(i, r.domain, i);
21473
21468
  const s = Mt(), a = Mt(), l = Mt();
21474
21469
  ee(n, r.domain, s), ee(n, r.scheme, a), ee(n, r.slashscheme, l), ee(s, o, i), ee(s, r.domain, s);
@@ -21494,7 +21489,7 @@ function x3({
21494
21489
  ee(E, r.numeric, y);
21495
21490
  const P = Mt(Vi), x = Mt();
21496
21491
  ee(P, e, P), ee(P, t, x), ee(x, e, P), ee(x, t, x), I(C, Vt, P), I(y, Vt, P);
21497
- const v = I(a, Cr), z = I(l, Cr), _ = I(z, Vt), B = I(_, Vt);
21492
+ const v = I(a, Cr), F = I(l, Cr), _ = I(F, Vt), B = I(_, Vt);
21498
21493
  ee(a, r.domain, s), I(a, Ht, w), I(a, Tt, b), ee(l, r.domain, s), I(l, Ht, w), I(l, Tt, b), ee(v, r.domain, P), I(v, Vt, P), I(v, An, P), ee(B, r.domain, P), ee(B, e, P), I(B, Vt, P);
21499
21494
  const T = [
21500
21495
  [On, Pn],
@@ -21515,12 +21510,12 @@ function x3({
21515
21510
  // <>
21516
21511
  ];
21517
21512
  for (let j = 0; j < T.length; j++) {
21518
- const [q, oe] = T[j], Q = I(P, q);
21519
- I(x, q, Q), I(Q, oe, P);
21513
+ const [q, re] = T[j], Q = I(P, q);
21514
+ I(x, q, Q), I(Q, re, P);
21520
21515
  const Z = Mt(Vi);
21521
21516
  ee(Q, e, Z);
21522
21517
  const le = Mt();
21523
- ee(Q, t), ee(Z, e, Z), ee(Z, t, le), ee(le, e, Z), ee(le, t, le), I(Z, oe, P), I(le, oe, P);
21518
+ ee(Q, t), ee(Z, e, Z), ee(Z, t, le), ee(le, e, Z), ee(le, t, le), I(Z, re, P), I(le, re, P);
21524
21519
  }
21525
21520
  return I(n, Yn, C), I(n, Ud, v3), {
21526
21521
  start: n,
@@ -21604,13 +21599,13 @@ function T3(r) {
21604
21599
  return r.length === 1 ? r[0].isLink : r.length === 3 && r[1].isLink ? ["()", "[]"].includes(r[0].value + r[2].value) : !1;
21605
21600
  }
21606
21601
  function O3(r) {
21607
- return new Fe({
21602
+ return new ze({
21608
21603
  key: new ut("autolink"),
21609
21604
  appendTransaction: (e, t, o) => {
21610
21605
  const n = e.some((d) => d.docChanged) && !t.doc.eq(o.doc), i = e.some((d) => d.getMeta("preventAutolink"));
21611
21606
  if (!n || i)
21612
21607
  return;
21613
- const { tr: s } = o, a = zv(t.doc, [...e]);
21608
+ const { tr: s } = o, a = Fv(t.doc, [...e]);
21614
21609
  if (Uv(a).forEach(({ newRange: d }) => {
21615
21610
  const c = jv(o.doc, d, (m) => m.isTextblock);
21616
21611
  let p, u;
@@ -21640,7 +21635,7 @@ function O3(r) {
21640
21635
  });
21641
21636
  }
21642
21637
  function P3(r) {
21643
- return new Fe({
21638
+ return new ze({
21644
21639
  key: new ut("handleClickLink"),
21645
21640
  props: {
21646
21641
  handleClick: (e, t, o) => {
@@ -21660,7 +21655,7 @@ function P3(r) {
21660
21655
  });
21661
21656
  }
21662
21657
  function B3(r) {
21663
- return new Fe({
21658
+ return new ze({
21664
21659
  key: new ut("handlePasteLink"),
21665
21660
  props: {
21666
21661
  handlePaste: (e, t, o) => {
@@ -21858,7 +21853,7 @@ const L3 = hr.create({
21858
21853
  }), D3 = { class: "myInputGroup" }, N3 = {
21859
21854
  key: 0,
21860
21855
  class: "min-h-[2.5rem] flex items-center justify-start"
21861
- }, I3 = { class: "myPrimaryInputError mt-2 mb-0 py-0 self-start" }, R3 = { class: "blockease-linear duration-200 block ease-linear" }, $3 = { key: 0 }, _3 = { class: "relative rounded-lg" }, z3 = { class: "flex justify-between myPrimaryGap items-center divide-x divide-gray-200 py-4 px-4 overflow-x-auto border-b border-gray-20" }, F3 = { class: "px-2 flex items-center justify-start gap-2" }, j3 = { class: "flex items-center 0 divide-x divide-gray-200" }, H3 = { class: "px-2 flex items-center justify-start gap-2" }, V3 = { class: "px-2 flex items-center justify-start gap-2" }, W3 = { class: "px-2 flex items-center justify-start gap-2" }, q3 = { class: "px-2 flex items-center justify-start gap-2" }, U3 = { class: "px-2 flex items-center justify-start gap-2" }, K3 = { class: "px-2 flex items-center justify-start gap-2" }, G3 = {
21856
+ }, I3 = { class: "myPrimaryInputError mt-2 mb-0 py-0 self-start" }, R3 = { class: "blockease-linear duration-200 block ease-linear" }, $3 = { key: 0 }, _3 = { class: "relative rounded-lg" }, F3 = { class: "flex justify-between myPrimaryGap items-center divide-x divide-gray-200 py-4 px-4 overflow-x-auto border-b border-gray-20" }, z3 = { class: "px-2 flex items-center justify-start gap-2" }, j3 = { class: "flex items-center 0 divide-x divide-gray-200" }, H3 = { class: "px-2 flex items-center justify-start gap-2" }, V3 = { class: "px-2 flex items-center justify-start gap-2" }, W3 = { class: "px-2 flex items-center justify-start gap-2" }, q3 = { class: "px-2 flex items-center justify-start gap-2" }, U3 = { class: "px-2 flex items-center justify-start gap-2" }, K3 = { class: "px-2 flex items-center justify-start gap-2" }, G3 = {
21862
21857
  __name: "TipTapInput",
21863
21858
  setup(r) {
21864
21859
  const e = Le, t = S(!1), o = S(""), n = S(1), i = S(""), s = S(""), a = S(""), l = S(null), d = S(null), c = S(null), p = S(null), u = S(null), m = new Ze(e), g = L(() => e.getElement), f = S(""), b = L(() => {
@@ -21906,10 +21901,10 @@ const L3 = hr.create({
21906
21901
  }, p.value = function() {
21907
21902
  C.value.chain().focus().extendMarkRange("link").unsetLink().run(), t.value = !1;
21908
21903
  }, u.value = function() {
21909
- const B = z();
21904
+ const B = F();
21910
21905
  B || (B || _(), t.value = !1);
21911
21906
  };
21912
- }, z = function() {
21907
+ }, F = function() {
21913
21908
  x.value = null;
21914
21909
  const B = /^https?:\/\//, T = S(!0);
21915
21910
  return T.value = B.test(P.value), T.value === !1 ? (x.value = "The provided URL is invalid. Please ensure that it begins with 'https://' for proper formatting and security.", !0) : !1;
@@ -21954,7 +21949,7 @@ const L3 = hr.create({
21954
21949
  [Ql, y.value]
21955
21950
  ]),
21956
21951
  x.value ? (k(), M("div", N3, [
21957
- h("p", I3, F(x.value), 1)
21952
+ h("p", I3, z(x.value), 1)
21958
21953
  ])) : D("", !0)
21959
21954
  ])
21960
21955
  ])
@@ -21965,10 +21960,10 @@ const L3 = hr.create({
21965
21960
  h("div", R3, [
21966
21961
  O(m).selectedElementIsValidText() && O(C) ? (k(), M("div", $3, [
21967
21962
  h("div", _3, [
21968
- h("div", z3, [
21963
+ h("div", F3, [
21969
21964
  h("div", null, [
21970
21965
  h("div", null, [
21971
- h("div", F3, [
21966
+ h("div", z3, [
21972
21967
  h("button", {
21973
21968
  onClick: T[1] || (T[1] = (j) => O(e).setShowModalTipTap(!1)),
21974
21969
  type: "button",
@@ -22170,7 +22165,7 @@ const Q3 = /* @__PURE__ */ Zd(J3, [["render", Y3]]), X3 = { class: "flex items-e
22170
22165
  class: "tertiaryHeader my-0 py-0"
22171
22166
  }, {
22172
22167
  default: $(() => [
22173
- Ie(F(r.title), 1)
22168
+ Ie(z(r.title), 1)
22174
22169
  ]),
22175
22170
  _: 1
22176
22171
  }),
@@ -22198,13 +22193,13 @@ const Q3 = /* @__PURE__ */ Zd(J3, [["render", Y3]]), X3 = { class: "flex items-e
22198
22193
  onClick: o,
22199
22194
  class: "mySecondaryButton focus:ring-2 focus:ring-blue-500",
22200
22195
  type: "button"
22201
- }, F(r.firstButtonText), 1)) : D("", !0),
22196
+ }, z(r.firstButtonText), 1)) : D("", !0),
22202
22197
  r.secondButtonText ? (k(), M("button", {
22203
22198
  key: 1,
22204
22199
  onClick: n,
22205
22200
  class: "myPrimaryButton focus:ring-2 focus:ring-blue-500",
22206
22201
  type: "button"
22207
- }, F(r.secondButtonText), 1)) : D("", !0)
22202
+ }, z(r.secondButtonText), 1)) : D("", !0)
22208
22203
  ])) : D("", !0)
22209
22204
  ])
22210
22205
  ]),
@@ -22260,7 +22255,7 @@ const Q3 = /* @__PURE__ */ Zd(J3, [["render", Y3]]), X3 = { class: "flex items-e
22260
22255
  h("div", {
22261
22256
  class: Y(["aspect-square w-6 h-6 border border-gray-800 rounded-sm", `bg-${(a = o.value) == null ? void 0 : a.replace("text-", "")}`])
22262
22257
  }, null, 2),
22263
- h("span", l4, F(o.value), 1)
22258
+ h("span", l4, z(o.value), 1)
22264
22259
  ])) : D("", !0)
22265
22260
  ];
22266
22261
  }),
@@ -22295,7 +22290,7 @@ const Q3 = /* @__PURE__ */ Zd(J3, [["render", Y3]]), X3 = { class: "flex items-e
22295
22290
  h("div", {
22296
22291
  class: Y(["aspect-square w-6 h-6 border border-gray-100 rounded-sm", `bg-${a.replace("text-", "")}`])
22297
22292
  }, null, 2),
22298
- h("span", p4, F(a), 1)
22293
+ h("span", p4, z(a), 1)
22299
22294
  ])) : D("", !0)
22300
22295
  ], 2)
22301
22296
  ]),
@@ -22353,7 +22348,7 @@ const Q3 = /* @__PURE__ */ Zd(J3, [["render", Y3]]), X3 = { class: "flex items-e
22353
22348
  h("div", {
22354
22349
  class: Y(["aspect-square w-6 h-6 border border-gray-800 rounded-sm", `bg-${(a = o.value) == null ? void 0 : a.replace("bg-", "")}`])
22355
22350
  }, null, 2),
22356
- h("span", f4, F(o.value), 1)
22351
+ h("span", f4, z(o.value), 1)
22357
22352
  ])) : D("", !0)
22358
22353
  ];
22359
22354
  }),
@@ -22388,7 +22383,7 @@ const Q3 = /* @__PURE__ */ Zd(J3, [["render", Y3]]), X3 = { class: "flex items-e
22388
22383
  h("div", {
22389
22384
  class: Y(["aspect-square w-6 h-6 border border-gray-100 rounded-sm", `bg-${a.replace("bg-", "")}`])
22390
22385
  }, null, 2),
22391
- h("span", w4, F(a), 1)
22386
+ h("span", w4, z(a), 1)
22392
22387
  ])) : D("", !0)
22393
22388
  ], 2)
22394
22389
  ]),
@@ -22420,7 +22415,7 @@ const Q3 = /* @__PURE__ */ Zd(J3, [["render", Y3]]), X3 = { class: "flex items-e
22420
22415
  }, D4 = {
22421
22416
  __name: "EditGetElement",
22422
22417
  setup(r) {
22423
- const e = Le, t = ze("CustomMediaComponent"), o = new Ze(e), n = L(() => e.getElement), i = L(() => {
22418
+ const e = Le, t = Fe("CustomMediaComponent"), o = new Ze(e), n = L(() => e.getElement), i = L(() => {
22424
22419
  const se = e.getShowModalTipTap;
22425
22420
  return se && w(), se;
22426
22421
  });
@@ -22431,19 +22426,19 @@ const Q3 = /* @__PURE__ */ Zd(J3, [["render", Y3]]), X3 = { class: "flex items-e
22431
22426
  }, b.value = function() {
22432
22427
  e.setShowModalTipTap(!1);
22433
22428
  };
22434
- }, C = L(() => e.getBasePrimaryImage), E = S(!1), y = S(!1), P = S(""), x = S(""), v = S(""), z = S(null), _ = S(null), B = S(null), T = S(null), j = S(null), q = function() {
22435
- y.value = !0, P.value = "Media Library", x.value = null, v.value = "Close", z.value = "Select image", B.value = function() {
22429
+ }, C = L(() => e.getBasePrimaryImage), E = S(!1), y = S(!1), P = S(""), x = S(""), v = S(""), F = S(null), _ = S(null), B = S(null), T = S(null), j = S(null), q = function() {
22430
+ y.value = !0, P.value = "Media Library", x.value = null, v.value = "Close", F.value = "Select image", B.value = function() {
22436
22431
  y.value = !1;
22437
22432
  }, T.value = function() {
22438
22433
  E.value = !0, o.updateBasePrimaryImage({ type: "unsplash" }), y.value = !1, E.value = !1;
22439
22434
  };
22440
- }, oe = S(null), Q = S(""), Z = S(!1), le = function() {
22441
- oe.value = null;
22435
+ }, re = S(null), Q = S(""), Z = S(!1), le = function() {
22436
+ re.value = null;
22442
22437
  const se = /^https?:\/\//, ae = S(!0);
22443
- return ae.value = se.test(Q.value), ae.value === !1 ? (oe.value = "The provided URL is invalid. Please ensure that it begins with 'https://' for proper formatting and security.", !0) : !1;
22438
+ return ae.value = se.test(Q.value), ae.value === !1 ? (re.value = "The provided URL is invalid. Please ensure that it begins with 'https://' for proper formatting and security.", !0) : !1;
22444
22439
  }, he = function() {
22445
22440
  var ae;
22446
- oe.value = null;
22441
+ re.value = null;
22447
22442
  const se = n.value && ((ae = n.value.firstElementChild) == null ? void 0 : ae.tagName) === "IFRAME" && n.value.firstElementChild.hasAttribute("src") && n.value.firstElementChild.getAttribute("src").trim() !== "" ? n.value.firstElementChild.src : "";
22448
22443
  Q.value = se, Z.value = !0, a.value = "success", l.value = 2, d.value = "Add video url", c.value = null, p.value = "Close", u.value = "Save", m.value = null, g.value = function() {
22449
22444
  Z.value = !1;
@@ -22477,15 +22472,15 @@ const Q3 = /* @__PURE__ */ Zd(J3, [["render", Y3]]), X3 = { class: "flex items-e
22477
22472
  class: "myPrimaryInputLabel"
22478
22473
  }, "Video url:", -1)),
22479
22474
  lt(h("input", {
22480
- "onUpdate:modelValue": ae[0] || (ae[0] = (re) => Q.value = re),
22475
+ "onUpdate:modelValue": ae[0] || (ae[0] = (oe) => Q.value = oe),
22481
22476
  type: "text",
22482
22477
  class: "myPrimaryInput",
22483
22478
  name: "video"
22484
22479
  }, null, 512), [
22485
22480
  [Ql, Q.value]
22486
22481
  ]),
22487
- oe.value ? (k(), M("div", C4, [
22488
- h("p", M4, F(oe.value), 1)
22482
+ re.value ? (k(), M("div", C4, [
22483
+ h("p", M4, z(re.value), 1)
22489
22484
  ])) : D("", !0)
22490
22485
  ])
22491
22486
  ])
@@ -22524,7 +22519,7 @@ const Q3 = /* @__PURE__ */ Zd(J3, [["render", Y3]]), X3 = { class: "flex items-e
22524
22519
  title: P.value,
22525
22520
  description: x.value,
22526
22521
  firstButtonText: v.value,
22527
- secondButtonText: z.value,
22522
+ secondButtonText: F.value,
22528
22523
  thirdButtonText: _.value,
22529
22524
  customMediaComponent: O(t),
22530
22525
  onFirstMediaButtonFunction: B.value,
@@ -23130,7 +23125,7 @@ class="border-2 border-gray-600 flex items-centre justify-start rounded-md font-
23130
23125
  }
23131
23126
  ];
23132
23127
  function _4() {
23133
- const r = ze("closeAddComponentModal", null), e = ze("closeMediaLibraryModal", null);
23128
+ const r = Fe("closeAddComponentModal", null), e = Fe("closeMediaLibraryModal", null);
23134
23129
  return {
23135
23130
  closeAddComponentModal: r || (() => {
23136
23131
  console.warn(
@@ -23144,7 +23139,7 @@ function _4() {
23144
23139
  })
23145
23140
  };
23146
23141
  }
23147
- const z4 = { class: "p-4" }, F4 = { class: "mb-8" }, j4 = { class: "grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4" }, H4 = ["onClick"], V4 = { class: "max-h-72 cursor-pointer object-contain bg-white mx-auto" }, W4 = { class: "myPrimaryParagraph text-base font-medium" }, q4 = { class: "myPrimaryParagraph text-xs font-normal pt-2" }, U4 = { class: "grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-4" }, K4 = ["onClick"], G4 = { class: "overflow-hidden whitespace-pre-line flex-1 h-auto border-b border-gray-200 lg:py-10 py-8 px-2" }, J4 = ["innerHTML"], Y4 = { class: "p-3" }, Q4 = { class: "myPrimaryParagraph text-sm font-normal" }, X4 = /* @__PURE__ */ ue({
23142
+ const F4 = { class: "p-4" }, z4 = { class: "mb-8" }, j4 = { class: "grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4" }, H4 = ["onClick"], V4 = { class: "max-h-72 cursor-pointer object-contain bg-white mx-auto" }, W4 = { class: "myPrimaryParagraph text-base font-medium" }, q4 = { class: "myPrimaryParagraph text-xs font-normal pt-2" }, U4 = { class: "grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-4" }, K4 = ["onClick"], G4 = { class: "overflow-hidden whitespace-pre-line flex-1 h-auto border-b border-gray-200 lg:py-10 py-8 px-2" }, J4 = ["innerHTML"], Y4 = { class: "p-3" }, Q4 = { class: "myPrimaryParagraph text-sm font-normal" }, X4 = /* @__PURE__ */ ue({
23148
23143
  __name: "NoneCustomSearchComponent",
23149
23144
  setup(r) {
23150
23145
  const { closeAddComponentModal: e } = _4(), t = Le, o = new Ze(t), n = function(a) {
@@ -23157,8 +23152,8 @@ const z4 = { class: "p-4" }, F4 = { class: "mb-8" }, j4 = { class: "grid grid-co
23157
23152
  title: a.title
23158
23153
  };
23159
23154
  }, s = (a) => R4(a);
23160
- return (a, l) => (k(), M("div", z4, [
23161
- h("div", F4, [
23155
+ return (a, l) => (k(), M("div", F4, [
23156
+ h("div", z4, [
23162
23157
  l[0] || (l[0] = h("h3", { class: "myQuaternaryHeader mb-4" }, "Helper Components", -1)),
23163
23158
  h("div", j4, [
23164
23159
  (k(!0), M(we, null, Ae(O(N4), (d) => (k(), M("div", {
@@ -23168,9 +23163,9 @@ const z4 = { class: "p-4" }, F4 = { class: "mb-8" }, j4 = { class: "grid grid-co
23168
23163
  }, [
23169
23164
  h("div", V4, [
23170
23165
  D("", !0),
23171
- h("h4", W4, F(d.title), 1)
23166
+ h("h4", W4, z(d.title), 1)
23172
23167
  ]),
23173
- h("div", q4, " Click to add " + F(d.title.toLowerCase()) + " component ", 1)
23168
+ h("div", q4, " Click to add " + z(d.title.toLowerCase()) + " component ", 1)
23174
23169
  ], 8, H4))), 128))
23175
23170
  ])
23176
23171
  ]),
@@ -23189,7 +23184,7 @@ const z4 = { class: "p-4" }, F4 = { class: "mb-8" }, j4 = { class: "grid grid-co
23189
23184
  }, null, 8, J4)
23190
23185
  ]),
23191
23186
  h("div", Y4, [
23192
- h("h4", Q4, F(d.title), 1),
23187
+ h("h4", Q4, z(d.title), 1),
23193
23188
  l[1] || (l[1] = h("div", { class: "myPrimaryParagraph text-xs font-normal pt-2" }, "Click to add component", -1))
23194
23189
  ])
23195
23190
  ], 8, K4))), 128))
@@ -23235,7 +23230,7 @@ const z4 = { class: "p-4" }, F4 = { class: "mb-8" }, j4 = { class: "grid grid-co
23235
23230
  h("div", ek, [
23236
23231
  h("div", tk, [
23237
23232
  h("div", rk, [
23238
- h("h3", ok, F(r.title), 1)
23233
+ h("h3", ok, z(r.title), 1)
23239
23234
  ]),
23240
23235
  h("div", {
23241
23236
  class: "h-10 w-10 flex-start cursor-pointer rounded-full flex items-center border-none justify-center bg-gray-50 aspect-square hover:bg-myPrimaryLinkColor hover:text-white hover:fill-white focus-visible:ring-0",
@@ -23260,7 +23255,7 @@ const z4 = { class: "p-4" }, F4 = { class: "mb-8" }, j4 = { class: "grid grid-co
23260
23255
  class: "mySecondaryButton",
23261
23256
  type: "button",
23262
23257
  onClick: o
23263
- }, F(r.firstButtonText), 513)) : D("", !0)
23258
+ }, z(r.firstButtonText), 513)) : D("", !0)
23264
23259
  ])
23265
23260
  ])
23266
23261
  ]),
@@ -23312,7 +23307,7 @@ const z4 = { class: "p-4" }, F4 = { class: "mb-8" }, j4 = { class: "grid grid-co
23312
23307
  h("div", gk, [
23313
23308
  R(O(nd), { class: "myTertiaryHeader my-0" }, {
23314
23309
  default: $(() => [
23315
- Ie(F(r.title), 1)
23310
+ Ie(z(r.title), 1)
23316
23311
  ]),
23317
23312
  _: 1
23318
23313
  }),
@@ -23393,7 +23388,7 @@ const z4 = { class: "p-4" }, F4 = { class: "mb-8" }, j4 = { class: "grid grid-co
23393
23388
  h("div", Ck, [
23394
23389
  R(O(nd), { class: "myTertiaryHeader my-0" }, {
23395
23390
  default: $(() => [
23396
- Ie(F(r.title), 1)
23391
+ Ie(z(r.title), 1)
23397
23392
  ]),
23398
23393
  _: 1
23399
23394
  }),
@@ -23441,7 +23436,7 @@ const z4 = { class: "p-4" }, F4 = { class: "mb-8" }, j4 = { class: "grid grid-co
23441
23436
  }, Ik = {
23442
23437
  key: 3,
23443
23438
  class: "text-xs pb-2"
23444
- }, Rk = { class: "text-xs pb-2" }, $k = { class: "overflow-hidden bg-gray-900 max-w-2xl" }, _k = { class: "flex bg-gray-800/40 ring-1 ring-white/5" }, zk = { class: "-mb-px flex text-xs font-medium text-myPrimaryMediumGrayColor" }, Fk = { class: "px-4 pb-8 pt-4 text-white text-xs break-all" }, jk = { key: 0 }, Hk = { key: 0 }, Vk = { class: "pb-2" }, Wk = { key: 1 }, qk = { class: "flex flex-col gap-4 border-b border-white mb-4 pb-4" }, Uk = { class: "whitespace-pre-line leading-5" }, Kk = { class: "flex flex-col gap-2 mt-4 border-b border-white mb-4 pb-4" }, Gk = { class: "whitespace-pre-line leading-5" }, Jk = { class: "flex flex-col gap-2 mt-4 border-b border-white mb-4 pb-4" }, Yk = { class: "whitespace-pre-line leading-5" }, Qk = { class: "flex flex-col gap-2 mt-4 border-b border-white mb-4 pb-4" }, Xk = { class: "whitespace-pre-line leading-5" }, Zk = { key: 1 }, e6 = { key: 0 }, t6 = { class: "pb-2" }, r6 = { key: 1 }, o6 = { class: "pb-2" }, n6 = { class: "whitespace-pre-line leading-5 mt-4" }, i6 = { class: "whitespace-pre-line leading-5 mt-4" }, s6 = { key: 2 }, a6 = { key: 0 }, l6 = { class: "pb-2" }, d6 = { key: 1 }, c6 = { class: "pb-2" }, p6 = { class: "whitespace-pre-line leading-5 mt-4" }, u6 = { class: "whitespace-pre-line leading-5 mt-4" }, m6 = {
23439
+ }, Rk = { class: "text-xs pb-2" }, $k = { class: "overflow-hidden bg-gray-900 max-w-2xl" }, _k = { class: "flex bg-gray-800/40 ring-1 ring-white/5" }, Fk = { class: "-mb-px flex text-xs font-medium text-myPrimaryMediumGrayColor" }, zk = { class: "px-4 pb-8 pt-4 text-white text-xs break-all" }, jk = { key: 0 }, Hk = { key: 0 }, Vk = { class: "pb-2" }, Wk = { key: 1 }, qk = { class: "flex flex-col gap-4 border-b border-white mb-4 pb-4" }, Uk = { class: "whitespace-pre-line leading-5" }, Kk = { class: "flex flex-col gap-2 mt-4 border-b border-white mb-4 pb-4" }, Gk = { class: "whitespace-pre-line leading-5" }, Jk = { class: "flex flex-col gap-2 mt-4 border-b border-white mb-4 pb-4" }, Yk = { class: "whitespace-pre-line leading-5" }, Qk = { class: "flex flex-col gap-2 mt-4 border-b border-white mb-4 pb-4" }, Xk = { class: "whitespace-pre-line leading-5" }, Zk = { key: 1 }, e6 = { key: 0 }, t6 = { class: "pb-2" }, r6 = { key: 1 }, o6 = { class: "pb-2" }, n6 = { class: "whitespace-pre-line leading-5 mt-4" }, i6 = { class: "whitespace-pre-line leading-5 mt-4" }, s6 = { key: 2 }, a6 = { key: 0 }, l6 = { class: "pb-2" }, d6 = { key: 1 }, c6 = { class: "pb-2" }, p6 = { class: "whitespace-pre-line leading-5 mt-4" }, u6 = { class: "whitespace-pre-line leading-5 mt-4" }, m6 = {
23445
23440
  __name: "AdvancedPageBuilderSettings",
23446
23441
  setup(r) {
23447
23442
  const e = Le, t = L(() => e.getElement), o = L(() => e.getComponent), n = L(() => e.getComponents), i = S("element"), s = function(a) {
@@ -23465,19 +23460,19 @@ const z4 = { class: "p-4" }, F4 = { class: "mb-8" }, j4 = { class: "grid grid-co
23465
23460
  t.value === null || t.value === void 0 ? (k(), M("p", Lk)) : D("", !0),
23466
23461
  t.value !== null && t.value !== void 0 ? (k(), M("p", Dk, [
23467
23462
  l[3] || (l[3] = h("span", null, "Element type: ", -1)),
23468
- h("span", null, F(typeof t.value), 1)
23463
+ h("span", null, z(typeof t.value), 1)
23469
23464
  ])) : D("", !0),
23470
23465
  o.value === null || o.value === void 0 ? (k(), M("p", Nk, [
23471
23466
  l[4] || (l[4] = h("span", null, "Component type: ", -1)),
23472
- Ie(" " + F(JSON.stringify(o.value)), 1)
23467
+ Ie(" " + z(JSON.stringify(o.value)), 1)
23473
23468
  ])) : D("", !0),
23474
23469
  o.value !== null && o.value !== void 0 ? (k(), M("p", Ik, [
23475
23470
  l[5] || (l[5] = h("span", null, "Component type: ", -1)),
23476
- h("span", null, F(Array.isArray(o.value) === !0 ? "array" : typeof o.value), 1)
23471
+ h("span", null, z(Array.isArray(o.value) === !0 ? "array" : typeof o.value), 1)
23477
23472
  ])) : D("", !0),
23478
23473
  h("p", Rk, [
23479
23474
  l[6] || (l[6] = h("span", null, "Components: ", -1)),
23480
- h("span", null, F(Array.isArray(n.value) === !0 ? "array" : typeof n.value), 1)
23475
+ h("span", null, z(Array.isArray(n.value) === !0 ? "array" : typeof n.value), 1)
23481
23476
  ])
23482
23477
  ])
23483
23478
  ])
@@ -23486,7 +23481,7 @@ const z4 = { class: "p-4" }, F4 = { class: "mb-8" }, j4 = { class: "grid grid-co
23486
23481
  l[17] || (l[17] = h("h4", { class: "myPrimaryParagraph text-sm pb-2" }, "Content", -1)),
23487
23482
  h("div", $k, [
23488
23483
  h("div", _k, [
23489
- h("div", zk, [
23484
+ h("div", Fk, [
23490
23485
  h("div", {
23491
23486
  onClick: l[0] || (l[0] = (x) => s("element")),
23492
23487
  class: Y(["px-4 py-4 cursor-pointer", [i.value === "element" ? "text-white" : ""]])
@@ -23498,50 +23493,50 @@ const z4 = { class: "p-4" }, F4 = { class: "mb-8" }, j4 = { class: "grid grid-co
23498
23493
  h("div", {
23499
23494
  onClick: l[2] || (l[2] = (x) => s("components")),
23500
23495
  class: Y(["px-4 py-4 cursor-pointer", [i.value === "components" ? "text-white" : ""]])
23501
- }, " Components " + F(Array.isArray(n.value) && n.value.length), 3)
23496
+ }, " Components " + z(Array.isArray(n.value) && n.value.length), 3)
23502
23497
  ])
23503
23498
  ]),
23504
- h("div", Fk, [
23499
+ h("div", zk, [
23505
23500
  i.value === "element" ? (k(), M("div", jk, [
23506
23501
  o.value ? D("", !0) : (k(), M("div", Hk, [
23507
- h("p", Vk, F(o.value === null ? "NULL" : typeof o.value), 1)
23502
+ h("p", Vk, z(o.value === null ? "NULL" : typeof o.value), 1)
23508
23503
  ])),
23509
23504
  t.value ? (k(), M("div", Wk, [
23510
23505
  h("div", qk, [
23511
23506
  l[9] || (l[9] = h("p", null, "Selected HTML:", -1)),
23512
- h("p", Uk, F((d = t.value) == null ? void 0 : d.outerHTML), 1)
23507
+ h("p", Uk, z((d = t.value) == null ? void 0 : d.outerHTML), 1)
23513
23508
  ]),
23514
23509
  h("div", Kk, [
23515
23510
  l[10] || (l[10] = h("p", null, "Selected element src:", -1)),
23516
- h("p", Gk, F((c = t.value) != null && c.src ? (p = t.value) == null ? void 0 : p.src : typeof ((u = t.value) == null ? void 0 : u.src)), 1)
23511
+ h("p", Gk, z((c = t.value) != null && c.src ? (p = t.value) == null ? void 0 : p.src : typeof ((u = t.value) == null ? void 0 : u.src)), 1)
23517
23512
  ]),
23518
23513
  h("div", Jk, [
23519
23514
  l[11] || (l[11] = h("p", null, "Selected element href:", -1)),
23520
- h("p", Yk, F((m = t.value) != null && m.href ? (g = t.value) == null ? void 0 : g.href : typeof ((f = t.value) == null ? void 0 : f.href)), 1)
23515
+ h("p", Yk, z((m = t.value) != null && m.href ? (g = t.value) == null ? void 0 : g.href : typeof ((f = t.value) == null ? void 0 : f.href)), 1)
23521
23516
  ]),
23522
23517
  h("div", Qk, [
23523
23518
  l[12] || (l[12] = h("p", null, "Selected element class:", -1)),
23524
- h("p", Xk, F((b = t.value) != null && b.classList ? (w = t.value) == null ? void 0 : w.classList : typeof ((C = t.value) == null ? void 0 : C.classList)), 1)
23519
+ h("p", Xk, z((b = t.value) != null && b.classList ? (w = t.value) == null ? void 0 : w.classList : typeof ((C = t.value) == null ? void 0 : C.classList)), 1)
23525
23520
  ])
23526
23521
  ])) : D("", !0)
23527
23522
  ])) : D("", !0),
23528
23523
  i.value === "component" ? (k(), M("div", Zk, [
23529
23524
  o.value ? D("", !0) : (k(), M("div", e6, [
23530
- h("p", t6, F(o.value === null ? "NULL" : typeof o.value), 1)
23525
+ h("p", t6, z(o.value === null ? "NULL" : typeof o.value), 1)
23531
23526
  ])),
23532
23527
  o.value ? (k(), M("div", r6, [
23533
- h("p", o6, " Component ID: " + F((E = o.value) == null ? void 0 : E.id), 1),
23528
+ h("p", o6, " Component ID: " + z((E = o.value) == null ? void 0 : E.id), 1),
23534
23529
  h("p", n6, [
23535
23530
  l[13] || (l[13] = Ie(" Component Title:")),
23536
23531
  l[14] || (l[14] = h("br", null, null, -1)),
23537
- Ie(" " + F((y = o.value) == null ? void 0 : y.title), 1)
23532
+ Ie(" " + z((y = o.value) == null ? void 0 : y.title), 1)
23538
23533
  ]),
23539
- h("p", i6, " Component HTML: " + F((P = o.value) == null ? void 0 : P.html_code), 1)
23534
+ h("p", i6, " Component HTML: " + z((P = o.value) == null ? void 0 : P.html_code), 1)
23540
23535
  ])) : D("", !0)
23541
23536
  ])) : D("", !0),
23542
23537
  i.value === "components" ? (k(), M("div", s6, [
23543
23538
  n.value ? D("", !0) : (k(), M("div", a6, [
23544
- h("p", l6, F(n.value === null ? "NULL" : typeof n.value), 1)
23539
+ h("p", l6, z(n.value === null ? "NULL" : typeof n.value), 1)
23545
23540
  ])),
23546
23541
  n.value ? (k(), M("div", d6, [
23547
23542
  (k(!0), M(we, null, Ae(n.value, (x) => {
@@ -23550,12 +23545,12 @@ const z4 = { class: "p-4" }, F4 = { class: "mb-8" }, j4 = { class: "grid grid-co
23550
23545
  class: "border-b border-white mb-4 pb-4 last:border-none",
23551
23546
  key: x.id
23552
23547
  }, [
23553
- h("p", c6, " Component ID: " + F(x.id), 1),
23554
- h("p", p6, " Component Title: " + F((v = o.value) == null ? void 0 : v.title), 1),
23548
+ h("p", c6, " Component ID: " + z(x.id), 1),
23549
+ h("p", p6, " Component Title: " + z((v = o.value) == null ? void 0 : v.title), 1),
23555
23550
  h("p", u6, [
23556
23551
  l[15] || (l[15] = Ie(" Component HTML:")),
23557
23552
  l[16] || (l[16] = h("br", null, null, -1)),
23558
- Ie(" " + F(x.html_code), 1)
23553
+ Ie(" " + z(x.html_code), 1)
23559
23554
  ])
23560
23555
  ]);
23561
23556
  }), 128))
@@ -23576,16 +23571,19 @@ const z4 = { class: "p-4" }, F4 = { class: "mb-8" }, j4 = { class: "grid grid-co
23576
23571
  }, E6 = { class: "overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg" }, T6 = { class: "overflow-x-auto" }, O6 = { class: "min-w-full divide-y divide-gray-300" }, P6 = { class: "bg-white divide-y divide-gray-200" }, B6 = { key: 0 }, A6 = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, L6 = { key: 1 }, D6 = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, N6 = {
23577
23572
  key: 1,
23578
23573
  class: "mt-8"
23579
- }, I6 = { class: "overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg" }, R6 = { class: "overflow-x-auto" }, $6 = { class: "min-w-full divide-y divide-gray-300" }, _6 = { class: "bg-white divide-y divide-gray-200" }, z6 = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, F6 = { class: "mt-8" }, j6 = { class: "overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg" }, H6 = { class: "overflow-x-auto" }, V6 = { class: "min-w-full divide-y divide-gray-300" }, W6 = { class: "bg-white divide-y divide-gray-200" }, q6 = { key: 0 }, U6 = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, K6 = { key: 1 }, G6 = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, J6 = { key: 2 }, Y6 = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, Q6 = { key: 3 }, X6 = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, Z6 = {
23574
+ }, I6 = { class: "overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg" }, R6 = { class: "overflow-x-auto" }, $6 = { class: "min-w-full divide-y divide-gray-300" }, _6 = { class: "bg-white divide-y divide-gray-200" }, F6 = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, z6 = {
23580
23575
  key: 2,
23581
23576
  class: "mt-8"
23582
- }, eS = { class: "overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg" }, tS = { class: "overflow-x-auto" }, rS = { class: "min-w-full divide-y divide-gray-300" }, oS = { class: "bg-white divide-y divide-gray-200" }, nS = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, iS = { key: 0 }, sS = { key: 1 }, aS = { key: 0 }, lS = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, dS = { class: "inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium" }, cS = {
23577
+ }, j6 = { class: "overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg" }, H6 = { class: "overflow-x-auto" }, V6 = { class: "min-w-full divide-y divide-gray-300" }, W6 = { class: "bg-white divide-y divide-gray-200" }, q6 = { key: 0 }, U6 = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, K6 = { key: 1 }, G6 = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, J6 = { key: 2 }, Y6 = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, Q6 = { key: 3 }, X6 = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, Z6 = {
23583
23578
  key: 3,
23584
23579
  class: "mt-8"
23580
+ }, eS = { class: "overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg" }, tS = { class: "overflow-x-auto" }, rS = { class: "min-w-full divide-y divide-gray-300" }, oS = { class: "bg-white divide-y divide-gray-200" }, nS = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, iS = { key: 0 }, sS = { key: 1 }, aS = { key: 0 }, lS = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, dS = { class: "inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium" }, cS = {
23581
+ key: 4,
23582
+ class: "mt-8"
23585
23583
  }, pS = { class: "overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg" }, uS = { class: "overflow-x-auto" }, mS = { class: "min-w-full divide-y divide-gray-300" }, hS = { class: "bg-white divide-y divide-gray-200" }, gS = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, fS = { class: "flex items-center space-x-3" }, bS = { class: "border-r border-gray-200 pr-6" }, yS = ["src"], wS = { class: "px-6 py-4 whitespace-nowrap text-sm text-gray-500" }, vS = { class: "flex items-center space-x-3" }, xS = { class: "border-r border-gray-200 pr-6" }, kS = { class: "flex items-center space-x-3" }, SS = { class: "whitespace-nowrap" }, CS = {
23586
23584
  __name: "PageBuilderSettings",
23587
23585
  setup(r) {
23588
- const e = "v3.1.26", t = Le, o = S(!1), n = S(""), i = S(null), s = L(() => t.getConfigPageBuilder), a = function() {
23586
+ const e = "v3.1.31", t = Le, o = S(!1), n = S(""), i = S(null), s = L(() => t.getConfigPageBuilder), a = function() {
23589
23587
  n.value = "Advanced Settings", o.value = !0;
23590
23588
  }, l = function() {
23591
23589
  o.value = !1;
@@ -23599,7 +23597,7 @@ const z4 = { class: "p-4" }, F4 = { class: "mb-8" }, j4 = { class: "grid grid-co
23599
23597
  i.value = d.value.map((u) => u.html_code), c("downloaded_html.html", i.value.join(""));
23600
23598
  };
23601
23599
  return (u, m) => {
23602
- var g, f, b, w, C, E, y, P, x, v, z, _, B, T, j, q;
23600
+ var g, f, b, w, C, E, y, P, x, v, F, _, B, T, j, q, re;
23603
23601
  return k(), M("div", null, [
23604
23602
  R(Tk, {
23605
23603
  open: o.value,
@@ -23649,7 +23647,7 @@ const z4 = { class: "p-4" }, F4 = { class: "mb-8" }, j4 = { class: "grid grid-co
23649
23647
  h("tr", null, [
23650
23648
  m[2] || (m[2] = h("td", { class: "px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900" }, " Page Builder ", -1)),
23651
23649
  h("td", S6, [
23652
- h("span", C6, F(O(e)), 1)
23650
+ h("span", C6, z(O(e)), 1)
23653
23651
  ])
23654
23652
  ])
23655
23653
  ])
@@ -23677,11 +23675,11 @@ const z4 = { class: "p-4" }, F4 = { class: "mb-8" }, j4 = { class: "grid grid-co
23677
23675
  h("tbody", P6, [
23678
23676
  (b = (f = s.value) == null ? void 0 : f.resourceData) != null && b.title ? (k(), M("tr", B6, [
23679
23677
  m[5] || (m[5] = h("td", { class: "px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900" }, " Title ", -1)),
23680
- h("td", A6, F(s.value.resourceData.title), 1)
23678
+ h("td", A6, z(s.value.resourceData.title), 1)
23681
23679
  ])) : D("", !0),
23682
23680
  (C = (w = s.value) == null ? void 0 : w.resourceData) != null && C.id ? (k(), M("tr", L6, [
23683
23681
  m[6] || (m[6] = h("td", { class: "px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900" }, " ID ", -1)),
23684
- h("td", D6, F(s.value.resourceData.id), 1)
23682
+ h("td", D6, z(s.value.resourceData.id), 1)
23685
23683
  ])) : D("", !0)
23686
23684
  ])
23687
23685
  ])
@@ -23708,14 +23706,14 @@ const z4 = { class: "p-4" }, F4 = { class: "mb-8" }, j4 = { class: "grid grid-co
23708
23706
  h("tbody", _6, [
23709
23707
  h("tr", null, [
23710
23708
  m[9] || (m[9] = h("td", { class: "px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900" }, " User Name ", -1)),
23711
- h("td", z6, F(s.value.userForPageBuilder.name), 1)
23709
+ h("td", F6, z(s.value.userForPageBuilder.name), 1)
23712
23710
  ])
23713
23711
  ])
23714
23712
  ])
23715
23713
  ])
23716
23714
  ])
23717
23715
  ])) : D("", !0),
23718
- h("div", F6, [
23716
+ (y = s.value) != null && y.userSettings ? (k(), M("div", z6, [
23719
23717
  m[17] || (m[17] = h("h4", { class: "myQuaternaryHeader text-sm mb-2" }, "User Settings", -1)),
23720
23718
  h("div", j6, [
23721
23719
  h("div", H6, [
@@ -23733,15 +23731,15 @@ const z4 = { class: "p-4" }, F4 = { class: "mb-8" }, j4 = { class: "grid grid-co
23733
23731
  ])
23734
23732
  ], -1)),
23735
23733
  h("tbody", W6, [
23736
- (P = (y = s.value) == null ? void 0 : y.userSettings) != null && P.theme ? (k(), M("tr", q6, [
23734
+ (x = (P = s.value) == null ? void 0 : P.userSettings) != null && x.theme ? (k(), M("tr", q6, [
23737
23735
  m[12] || (m[12] = h("td", { class: "px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900" }, " Theme ", -1)),
23738
- h("td", U6, F(s.value.userSettings.theme), 1)
23736
+ h("td", U6, z(s.value.userSettings.theme), 1)
23739
23737
  ])) : D("", !0),
23740
- (v = (x = s.value) == null ? void 0 : x.userSettings) != null && v.language ? (k(), M("tr", K6, [
23738
+ (F = (v = s.value) == null ? void 0 : v.userSettings) != null && F.language ? (k(), M("tr", K6, [
23741
23739
  m[13] || (m[13] = h("td", { class: "px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900" }, " Language ", -1)),
23742
- h("td", G6, F(s.value.userSettings.language), 1)
23740
+ h("td", G6, z(s.value.userSettings.language), 1)
23743
23741
  ])) : D("", !0),
23744
- ((_ = (z = s.value) == null ? void 0 : z.userSettings) == null ? void 0 : _.autoSave) !== void 0 ? (k(), M("tr", J6, [
23742
+ ((B = (_ = s.value) == null ? void 0 : _.userSettings) == null ? void 0 : B.autoSave) !== void 0 ? (k(), M("tr", J6, [
23745
23743
  m[14] || (m[14] = h("td", { class: "px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900" }, " Auto Save ", -1)),
23746
23744
  h("td", Y6, [
23747
23745
  h("span", {
@@ -23749,10 +23747,10 @@ const z4 = { class: "p-4" }, F4 = { class: "mb-8" }, j4 = { class: "grid grid-co
23749
23747
  "inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium",
23750
23748
  s.value.userSettings.autoSave ? "bg-green-100 text-green-800" : "bg-red-100 text-red-800"
23751
23749
  ])
23752
- }, F(s.value.userSettings.autoSave ? "Enabled" : "Disabled"), 3)
23750
+ }, z(s.value.userSettings.autoSave ? "Enabled" : "Disabled"), 3)
23753
23751
  ])
23754
23752
  ])) : D("", !0),
23755
- ((T = (B = s.value) == null ? void 0 : B.userSettings) == null ? void 0 : T.notifications) !== void 0 ? (k(), M("tr", Q6, [
23753
+ ((j = (T = s.value) == null ? void 0 : T.userSettings) == null ? void 0 : j.notifications) !== void 0 ? (k(), M("tr", Q6, [
23756
23754
  m[15] || (m[15] = h("td", { class: "px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900" }, " Notifications ", -1)),
23757
23755
  h("td", X6, [
23758
23756
  h("span", {
@@ -23760,15 +23758,15 @@ const z4 = { class: "p-4" }, F4 = { class: "mb-8" }, j4 = { class: "grid grid-co
23760
23758
  "inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium",
23761
23759
  s.value.userSettings.notifications ? "bg-green-100 text-green-800" : "bg-red-100 text-red-800"
23762
23760
  ])
23763
- }, F(s.value.userSettings.notifications ? "Enabled" : "Disabled"), 3)
23761
+ }, z(s.value.userSettings.notifications ? "Enabled" : "Disabled"), 3)
23764
23762
  ])
23765
23763
  ])) : D("", !0)
23766
23764
  ])
23767
23765
  ])
23768
23766
  ])
23769
23767
  ])
23770
- ]),
23771
- (j = s.value) != null && j.updateOrCreate ? (k(), M("div", Z6, [
23768
+ ])) : D("", !0),
23769
+ (q = s.value) != null && q.updateOrCreate ? (k(), M("div", Z6, [
23772
23770
  m[21] || (m[21] = h("h4", { class: "myQuaternaryHeader text-sm mb-2" }, "Operation Mode", -1)),
23773
23771
  h("div", eS, [
23774
23772
  h("div", tS, [
@@ -23795,15 +23793,15 @@ const z4 = { class: "p-4" }, F4 = { class: "mb-8" }, j4 = { class: "grid grid-co
23795
23793
  s.value.updateOrCreate === "create" ? "bg-green-100 text-green-800" : "bg-blue-100 text-blue-800"
23796
23794
  ])
23797
23795
  }, [
23798
- s.value && s.value.updateOrCreate.formType === "create" ? (k(), M("span", iS, F(s.value.updateOrCreate.formType), 1)) : D("", !0),
23799
- s.value && s.value.updateOrCreate.formType === "update" ? (k(), M("span", sS, F(s.value.updateOrCreate.formType), 1)) : D("", !0)
23796
+ s.value && s.value.updateOrCreate.formType === "create" ? (k(), M("span", iS, z(s.value.updateOrCreate.formType), 1)) : D("", !0),
23797
+ s.value && s.value.updateOrCreate.formType === "update" ? (k(), M("span", sS, z(s.value.updateOrCreate.formType), 1)) : D("", !0)
23800
23798
  ], 2)
23801
23799
  ])
23802
23800
  ]),
23803
23801
  s.value.updateOrCreate.createNewResourceFormName && s.value.updateOrCreate.createNewResourceFormName.length > 0 ? (k(), M("tr", aS, [
23804
23802
  m[19] || (m[19] = h("td", { class: "px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900" }, " Form Name ", -1)),
23805
23803
  h("td", lS, [
23806
- h("span", dS, F(s.value.updateOrCreate.createNewResourceFormName), 1)
23804
+ h("span", dS, z(s.value.updateOrCreate.createNewResourceFormName), 1)
23807
23805
  ])
23808
23806
  ])) : D("", !0)
23809
23807
  ])
@@ -23811,7 +23809,7 @@ const z4 = { class: "p-4" }, F4 = { class: "mb-8" }, j4 = { class: "grid grid-co
23811
23809
  ])
23812
23810
  ])
23813
23811
  ])) : D("", !0),
23814
- (q = s.value) != null && q.pageBuilderLogo ? (k(), M("div", cS, [
23812
+ (re = s.value) != null && re.pageBuilderLogo ? (k(), M("div", cS, [
23815
23813
  m[25] || (m[25] = h("h4", { class: "myQuaternaryHeader text-sm mb-2" }, "Logo Configuration", -1)),
23816
23814
  h("div", pS, [
23817
23815
  h("div", uS, [
@@ -23849,7 +23847,7 @@ const z4 = { class: "p-4" }, F4 = { class: "mb-8" }, j4 = { class: "grid grid-co
23849
23847
  h("div", vS, [
23850
23848
  h("div", xS, [
23851
23849
  h("div", kS, [
23852
- h("span", SS, F(s.value.pageBuilderLogo.src), 1)
23850
+ h("span", SS, z(s.value.pageBuilderLogo.src), 1)
23853
23851
  ])
23854
23852
  ])
23855
23853
  ])
@@ -23894,14 +23892,14 @@ const z4 = { class: "p-4" }, F4 = { class: "mb-8" }, j4 = { class: "grid grid-co
23894
23892
  };
23895
23893
  }, v = function() {
23896
23894
  C.value = "Settings", w.value = !0;
23897
- }, z = function() {
23895
+ }, F = function() {
23898
23896
  w.value = !1;
23899
23897
  };
23900
23898
  return (_, B) => (k(), M("div", null, [
23901
23899
  R(yk, {
23902
23900
  open: w.value,
23903
23901
  title: C.value,
23904
- onSlideOverButton: z
23902
+ onSlideOverButton: F
23905
23903
  }, {
23906
23904
  default: $(() => [
23907
23905
  R(CS)
@@ -23967,7 +23965,7 @@ const z4 = { class: "p-4" }, F4 = { class: "mb-8" }, j4 = { class: "grid grid-co
23967
23965
  B[2] || (B[2] = h("div", { class: "h-8 w-8 cursor-defualt rounded-full flex items-center border-none justify-center bg-gray-50 aspect-square hover:bg-myPrimaryLinkColor hover:text-white focus-visible:ring-0" }, [
23968
23966
  h("span", { class: "material-symbols-outlined text-[16px]" }, " person ")
23969
23967
  ], -1)),
23970
- h("div", null, F(o.value.userForPageBuilder.name), 1)
23968
+ h("div", null, z(o.value.userForPageBuilder.name), 1)
23971
23969
  ])
23972
23970
  ], 2)
23973
23971
  ]),
@@ -24088,7 +24086,7 @@ function LS(r, e, t, o, n, i) {
24088
24086
  ], 2)
24089
24087
  ], 2);
24090
24088
  }
24091
- const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-row flex-wrap gap-2 mt-2 mb-4" }, NS = ["onClick"], IS = { class: "flex items-center gap-1" }, RS = { class: "mr-1" }, $S = { class: "flex gap-2 item-center flex-col" }, _S = { class: "flex gap-2 item-center" }, zS = { class: "mt-1 relative flex items-center w-full border myPrimaryInput py-0 p-0" }, FS = {
24089
+ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-row flex-wrap gap-2 mt-2 mb-4" }, NS = ["onClick"], IS = { class: "flex items-center gap-1" }, RS = { class: "mr-1" }, $S = { class: "flex gap-2 item-center flex-col" }, _S = { class: "flex gap-2 item-center" }, FS = { class: "mt-1 relative flex items-center w-full border myPrimaryInput py-0 p-0" }, zS = {
24092
24090
  __name: "ClassEditor",
24093
24091
  setup(r) {
24094
24092
  const e = Le, t = new Ze(e), o = S(null), n = L(() => e.getCurrentClasses);
@@ -24116,13 +24114,13 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
24116
24114
  }
24117
24115
  }, [
24118
24116
  h("div", IS, [
24119
- h("span", RS, F(d), 1)
24117
+ h("span", RS, z(d), 1)
24120
24118
  ])
24121
24119
  ], 8, NS))), 128))
24122
24120
  ]),
24123
24121
  h("div", $S, [
24124
24122
  h("div", _S, [
24125
- h("div", zS, [
24123
+ h("div", FS, [
24126
24124
  lt(h("input", {
24127
24125
  "onUpdate:modelValue": l[0] || (l[0] = (d) => i.value = d),
24128
24126
  type: "text",
@@ -24147,7 +24145,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
24147
24145
  }, jS = { key: 0 }, HS = ["src"], VS = {
24148
24146
  __name: "ImageEditor",
24149
24147
  setup(r) {
24150
- const e = Le, t = ze("CustomMediaComponent"), o = new Ze(e), n = S(!1), i = S(!1), s = S(""), a = S(""), l = S(""), d = S(null), c = S(null), p = S(null), u = S(null), m = S(null), g = L(() => e.getBasePrimaryImage), f = function() {
24148
+ const e = Le, t = Fe("CustomMediaComponent"), o = new Ze(e), n = S(!1), i = S(!1), s = S(""), a = S(""), l = S(""), d = S(null), c = S(null), p = S(null), u = S(null), m = S(null), g = L(() => e.getBasePrimaryImage), f = function() {
24151
24149
  i.value = !0, s.value = "Media Library", a.value = null, l.value = "Close", d.value = "Select image", p.value = function() {
24152
24150
  i.value = !1;
24153
24151
  }, u.value = function() {
@@ -24219,7 +24217,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
24219
24217
  }, null, 2)) : D("", !0),
24220
24218
  h("span", {
24221
24219
  class: Y(["block truncate", [(o.value !== "none", "")]])
24222
- }, F(o.value === "none" ? "Transparent" : o.value), 3)
24220
+ }, z(o.value === "none" ? "Transparent" : o.value), 3)
24223
24221
  ]),
24224
24222
  s[2] || (s[2] = h("span", { class: "pointer-events-none absolute inset-y-0 right-0 ml-3 flex items-center pr-2" }, [
24225
24223
  h("span", { class: "material-symbols-outlined" }, " keyboard_arrow_down ")
@@ -24259,7 +24257,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
24259
24257
  key: 1,
24260
24258
  class: Y(["aspect-square w-6 h-6 bg-gray-950", `${a}`])
24261
24259
  }, null, 2)) : D("", !0),
24262
- a !== "none" ? (k(), M("span", YS, F(a), 1)) : D("", !0),
24260
+ a !== "none" ? (k(), M("span", YS, z(a), 1)) : D("", !0),
24263
24261
  a === "none" ? (k(), M("span", QS, "Transparent")) : D("", !0)
24264
24262
  ])
24265
24263
  ], 2)
@@ -24317,7 +24315,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
24317
24315
  }, null, 2)) : D("", !0),
24318
24316
  h("span", {
24319
24317
  class: Y(["block truncate", [(o.value !== "none", "")]])
24320
- }, F(o.value === "none" ? "Transparent" : o.value), 3)
24318
+ }, z(o.value === "none" ? "Transparent" : o.value), 3)
24321
24319
  ]),
24322
24320
  s[2] || (s[2] = h("span", { class: "pointer-events-none absolute inset-y-0 right-0 ml-3 flex items-center pr-2" }, [
24323
24321
  h("span", { class: "material-symbols-outlined" }, " keyboard_arrow_down ")
@@ -24358,7 +24356,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
24358
24356
  class: Y(["aspect-square w-6 h-6 bg-gray-950", `${a}`])
24359
24357
  }, null, 2)) : D("", !0),
24360
24358
  a === "none" ? (k(), M("span", iC, "Transparent")) : D("", !0),
24361
- a !== "none" ? (k(), M("span", sC, F(a), 1)) : D("", !0)
24359
+ a !== "none" ? (k(), M("span", sC, z(a), 1)) : D("", !0)
24362
24360
  ])
24363
24361
  ], 2)
24364
24362
  ]),
@@ -24435,7 +24433,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
24435
24433
  disabled: "",
24436
24434
  value: ""
24437
24435
  }, "Select", -1)),
24438
- (k(!0), M(we, null, Ae(O(Er).verticalPadding, (m) => (k(), M("option", { key: m }, F(m), 1))), 128))
24436
+ (k(!0), M(we, null, Ae(O(Er).verticalPadding, (m) => (k(), M("option", { key: m }, z(m), 1))), 128))
24439
24437
  ], 544), [
24440
24438
  [$t, o.value]
24441
24439
  ])
@@ -24451,7 +24449,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
24451
24449
  disabled: "",
24452
24450
  value: ""
24453
24451
  }, "Select", -1)),
24454
- (k(!0), M(we, null, Ae(O(Er).horizontalPadding, (m) => (k(), M("option", { key: m }, F(m), 1))), 128))
24452
+ (k(!0), M(we, null, Ae(O(Er).horizontalPadding, (m) => (k(), M("option", { key: m }, z(m), 1))), 128))
24455
24453
  ], 544), [
24456
24454
  [$t, n.value]
24457
24455
  ])
@@ -24468,7 +24466,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
24468
24466
  disabled: "",
24469
24467
  value: ""
24470
24468
  }, "Select", -1)),
24471
- (k(!0), M(we, null, Ae(O(Er).verticalMargin, (m) => (k(), M("option", { key: m }, F(m), 1))), 128))
24469
+ (k(!0), M(we, null, Ae(O(Er).verticalMargin, (m) => (k(), M("option", { key: m }, z(m), 1))), 128))
24472
24470
  ], 544), [
24473
24471
  [$t, i.value]
24474
24472
  ])
@@ -24484,7 +24482,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
24484
24482
  disabled: "",
24485
24483
  value: ""
24486
24484
  }, "Select", -1)),
24487
- (k(!0), M(we, null, Ae(O(Er).horizontalMargin, (m) => (k(), M("option", { key: m }, F(m), 1))), 128))
24485
+ (k(!0), M(we, null, Ae(O(Er).horizontalMargin, (m) => (k(), M("option", { key: m }, z(m), 1))), 128))
24488
24486
  ], 544), [
24489
24487
  [$t, s.value]
24490
24488
  ])
@@ -24544,7 +24542,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
24544
24542
  disabled: "",
24545
24543
  value: ""
24546
24544
  }, "Select", -1)),
24547
- (k(!0), M(we, null, Ae(O(qt).roundedGlobal, (f) => (k(), M("option", { key: f }, F(f), 1))), 128))
24545
+ (k(!0), M(we, null, Ae(O(qt).roundedGlobal, (f) => (k(), M("option", { key: f }, z(f), 1))), 128))
24548
24546
  ], 544), [
24549
24547
  [$t, o.value]
24550
24548
  ])
@@ -24561,7 +24559,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
24561
24559
  disabled: "",
24562
24560
  value: ""
24563
24561
  }, "Select", -1)),
24564
- (k(!0), M(we, null, Ae(O(qt).roundedTopLeft, (f) => (k(), M("option", { key: f }, F(f), 1))), 128))
24562
+ (k(!0), M(we, null, Ae(O(qt).roundedTopLeft, (f) => (k(), M("option", { key: f }, z(f), 1))), 128))
24565
24563
  ], 544), [
24566
24564
  [$t, n.value]
24567
24565
  ])
@@ -24577,7 +24575,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
24577
24575
  disabled: "",
24578
24576
  value: ""
24579
24577
  }, "Select", -1)),
24580
- (k(!0), M(we, null, Ae(O(qt).roundedTopRight, (f) => (k(), M("option", { key: f }, F(f), 1))), 128))
24578
+ (k(!0), M(we, null, Ae(O(qt).roundedTopRight, (f) => (k(), M("option", { key: f }, z(f), 1))), 128))
24581
24579
  ], 544), [
24582
24580
  [$t, i.value]
24583
24581
  ])
@@ -24593,7 +24591,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
24593
24591
  disabled: "",
24594
24592
  value: ""
24595
24593
  }, "Select", -1)),
24596
- (k(!0), M(we, null, Ae(O(qt).roundedBottomLeft, (f) => (k(), M("option", { key: f }, F(f), 1))), 128))
24594
+ (k(!0), M(we, null, Ae(O(qt).roundedBottomLeft, (f) => (k(), M("option", { key: f }, z(f), 1))), 128))
24597
24595
  ], 544), [
24598
24596
  [$t, s.value]
24599
24597
  ])
@@ -24609,7 +24607,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
24609
24607
  disabled: "",
24610
24608
  value: ""
24611
24609
  }, "Select", -1)),
24612
- (k(!0), M(we, null, Ae(O(qt).roundedBottomRight, (f) => (k(), M("option", { key: f }, F(f), 1))), 128))
24610
+ (k(!0), M(we, null, Ae(O(qt).roundedBottomRight, (f) => (k(), M("option", { key: f }, z(f), 1))), 128))
24613
24611
  ], 544), [
24614
24612
  [$t, a.value]
24615
24613
  ])
@@ -24662,7 +24660,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
24662
24660
  disabled: "",
24663
24661
  value: ""
24664
24662
  }, "Select", -1)),
24665
- (k(!0), M(we, null, Ae(O($o).borderStyle, (p) => (k(), M("option", { key: p }, F(p), 1))), 128))
24663
+ (k(!0), M(we, null, Ae(O($o).borderStyle, (p) => (k(), M("option", { key: p }, z(p), 1))), 128))
24666
24664
  ], 544), [
24667
24665
  [$t, o.value]
24668
24666
  ])
@@ -24678,7 +24676,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
24678
24676
  disabled: "",
24679
24677
  value: ""
24680
24678
  }, "Select", -1)),
24681
- (k(!0), M(we, null, Ae(O($o).borderWidth, (p) => (k(), M("option", { key: p }, F(p), 1))), 128))
24679
+ (k(!0), M(we, null, Ae(O($o).borderWidth, (p) => (k(), M("option", { key: p }, z(p), 1))), 128))
24682
24680
  ], 544), [
24683
24681
  [$t, n.value]
24684
24682
  ])
@@ -24705,7 +24703,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
24705
24703
  key: 1,
24706
24704
  class: Y(["aspect-square w-6 h-6 border border-gray-100 rounded-sm", `bg-${(p = i.value) == null ? void 0 : p.replace("border-", "")}`])
24707
24705
  }, null, 2)) : D("", !0),
24708
- h("span", MC, F(i.value), 1)
24706
+ h("span", MC, z(i.value), 1)
24709
24707
  ]),
24710
24708
  c[12] || (c[12] = h("span", { class: "pointer-events-none absolute inset-y-0 right-0 ml-3 flex items-center pr-2" }, [
24711
24709
  h("span", { class: "material-symbols-outlined" }, " keyboard_arrow_down ")
@@ -24747,7 +24745,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
24747
24745
  class: Y(["aspect-square w-6 h-6 bg-gray-950", `bg-${p.replace("border-", "")}`])
24748
24746
  }, null, 2)) : D("", !0),
24749
24747
  p === "none" ? (k(), M("span", OC, "Transparent")) : D("", !0),
24750
- p !== "none" ? (k(), M("span", PC, F(p), 1)) : D("", !0)
24748
+ p !== "none" ? (k(), M("span", PC, z(p), 1)) : D("", !0)
24751
24749
  ])
24752
24750
  ], 2)
24753
24751
  ]),
@@ -24833,7 +24831,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
24833
24831
  _: 1
24834
24832
  }));
24835
24833
  }
24836
- }, _C = { class: "h-full w-80 bg-white" }, zC = { class: "h-screen flex flex-col" }, FC = { class: "flex flex-row justify-between pt-2.5 pr-4 pl-4 items-center mb-3" }, jC = { class: "font-medium text-sm" }, HC = { class: "lowercase" }, VC = { class: "pl-3 pr-3 mb-4 overflow-y-scroll md:pb-24 pb-12" }, WC = {
24834
+ }, _C = { class: "h-full w-80 bg-white" }, FC = { class: "h-screen flex flex-col" }, zC = { class: "flex flex-row justify-between pt-2.5 pr-4 pl-4 items-center mb-3" }, jC = { class: "font-medium text-sm" }, HC = { class: "lowercase" }, VC = { class: "pl-3 pr-3 mb-4 overflow-y-scroll md:pb-24 pb-12" }, WC = {
24837
24835
  __name: "RightSidebarEditor",
24838
24836
  emits: ["closeEditor"],
24839
24837
  setup(r, { emit: e }) {
@@ -24842,8 +24840,8 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
24842
24840
  return (s = o.value) == null ? void 0 : s.tagName;
24843
24841
  }), i = L(() => o.value instanceof HTMLElement && o.value.innerText.trim() !== " " || o.value instanceof HTMLImageElement);
24844
24842
  return (s, a) => (k(), M("div", _C, [
24845
- h("div", zC, [
24846
- h("div", FC, [
24843
+ h("div", FC, [
24844
+ h("div", zC, [
24847
24845
  h("button", {
24848
24846
  type: "button",
24849
24847
  onClick: a[0] || (a[0] = (l) => s.$emit("closeEditor")),
@@ -24853,7 +24851,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
24853
24851
  ])),
24854
24852
  h("p", jC, [
24855
24853
  a[2] || (a[2] = Ie(" Editing ")),
24856
- h("span", HC, "<" + F(n.value) + ">", 1)
24854
+ h("span", HC, "<" + z(n.value) + ">", 1)
24857
24855
  ])
24858
24856
  ]),
24859
24857
  h("div", VC, [
@@ -24879,7 +24877,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
24879
24877
  R(BC)
24880
24878
  ]),
24881
24879
  h("article", null, [
24882
- R(FS)
24880
+ R(zS)
24883
24881
  ])
24884
24882
  ], 512), [
24885
24883
  [Ug, i.value === !0]
@@ -24966,7 +24964,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
24966
24964
  h("div", null, [
24967
24965
  h("div", UC, [
24968
24966
  h("div", {
24969
- onClick: v[3] || (v[3] = (z) => O(o).setComponent(null)),
24967
+ onClick: v[3] || (v[3] = (F) => O(o).setComponent(null)),
24970
24968
  class: "px-4 lg:h-[10vh] h-[16vh] flex items-center justify-between border-b border-gray-200 bg-white"
24971
24969
  }, [
24972
24970
  h("div", KC, [
@@ -24979,7 +24977,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
24979
24977
  ])) : D("", !0),
24980
24978
  h("button", {
24981
24979
  class: "myPrimaryButton lg:text-sm text-[10px] lg:py-2 py-2 min-h-2 ml-4",
24982
- onClick: v[0] || (v[0] = (...z) => O(n).saveComponentsLocalStorage && O(n).saveComponentsLocalStorage(...z)),
24980
+ onClick: v[0] || (v[0] = (...F) => O(n).saveComponentsLocalStorage && O(n).saveComponentsLocalStorage(...F)),
24983
24981
  type: "button"
24984
24982
  }, v[15] || (v[15] = [
24985
24983
  h("span", { class: "material-symbols-outlined text-[18px]" }, " save ", -1),
@@ -24987,7 +24985,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
24987
24985
  ])),
24988
24986
  h("button", {
24989
24987
  class: "myPrimaryButton lg:text-sm text-[10px] lg:py-2 py-2 min-h-2 ml-4 bg-red-500",
24990
- onClick: v[1] || (v[1] = (...z) => O(n).removeItemComponentsLocalStorageCreate && O(n).removeItemComponentsLocalStorageCreate(...z)),
24988
+ onClick: v[1] || (v[1] = (...F) => O(n).removeItemComponentsLocalStorageCreate && O(n).removeItemComponentsLocalStorageCreate(...F)),
24991
24989
  type: "button"
24992
24990
  }, v[16] || (v[16] = [
24993
24991
  h("span", { class: "material-symbols-outlined text-[18px]" }, " delete ", -1),
@@ -24995,7 +24993,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
24995
24993
  ])),
24996
24994
  h("button", {
24997
24995
  class: "myPrimaryButton lg:text-sm text-[10px] lg:py-2 py-2 min-h-2 ml-4 bg-red-800",
24998
- onClick: v[2] || (v[2] = (...z) => O(n).removeItemComponentsLocalStorageUpdate && O(n).removeItemComponentsLocalStorageUpdate(...z)),
24996
+ onClick: v[2] || (v[2] = (...F) => O(n).removeItemComponentsLocalStorageUpdate && O(n).removeItemComponentsLocalStorageUpdate(...F)),
24999
24997
  type: "button"
25000
24998
  }, v[17] || (v[17] = [
25001
24999
  h("span", { class: "material-symbols-outlined text-[18px]" }, " delete ", -1),
@@ -25006,7 +25004,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
25006
25004
  ]),
25007
25005
  h("div", YC, [
25008
25006
  h("div", {
25009
- onClick: v[6] || (v[6] = Po((z) => O(o).setComponent(null), ["self"])),
25007
+ onClick: v[6] || (v[6] = Po((F) => O(o).setComponent(null), ["self"])),
25010
25008
  class: "min-w-[3.5rem] pt-6 pb-2 my-2 mx-2 bg-myPrimaryLightGrayColor rounded-full shadow"
25011
25009
  }, [
25012
25010
  h("div", QC, [
@@ -25022,7 +25020,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
25022
25020
  ]))
25023
25021
  ]),
25024
25022
  h("div", {
25025
- onClick: v[5] || (v[5] = Po((z) => O(o).setComponent(null), ["self"]))
25023
+ onClick: v[5] || (v[5] = Po((F) => O(o).setComponent(null), ["self"]))
25026
25024
  }, [
25027
25025
  C.value ? (k(), Se(O0, { key: 0 })) : D("", !0)
25028
25026
  ])
@@ -25031,7 +25029,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
25031
25029
  h("main", ZC, [
25032
25030
  h("div", e7, [
25033
25031
  h("div", {
25034
- onClick: v[7] || (v[7] = Po((z) => O(o).setComponent(null), ["self"])),
25032
+ onClick: v[7] || (v[7] = Po((F) => O(o).setComponent(null), ["self"])),
25035
25033
  class: "w-4/12 flex justify-start items-center py-2 pl-2 h-full"
25036
25034
  }, v[19] || (v[19] = [
25037
25035
  h("div", { class: "flex gap-2" }, [
@@ -25041,13 +25039,13 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
25041
25039
  ], -1)
25042
25040
  ])),
25043
25041
  h("div", {
25044
- onClick: v[8] || (v[8] = Po((z) => O(o).setComponent(null), ["self"])),
25042
+ onClick: v[8] || (v[8] = Po((F) => O(o).setComponent(null), ["self"])),
25045
25043
  class: "w-4/12 flex justify-center py-2"
25046
25044
  }, [
25047
25045
  R(TS, { onPreviewCurrentDesign: l })
25048
25046
  ]),
25049
25047
  h("div", {
25050
- onClick: v[12] || (v[12] = Po((z) => O(o).setComponent(null), ["self"])),
25048
+ onClick: v[12] || (v[12] = Po((F) => O(o).setComponent(null), ["self"])),
25051
25049
  class: "w-4/12 flex justify-end py-2 pr-2"
25052
25050
  }, [
25053
25051
  h("div", t7, [
@@ -25083,7 +25081,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
25083
25081
  a.value === !1 ? (k(), M("button", {
25084
25082
  key: 0,
25085
25083
  type: "button",
25086
- onClick: v[11] || (v[11] = (z) => O(o).setMenuRight(!0))
25084
+ onClick: v[11] || (v[11] = (F) => O(o).setMenuRight(!0))
25087
25085
  }, v[22] || (v[22] = [
25088
25086
  h("div", { class: "flex items-center justify-center gap-2" }, [
25089
25087
  h("span", { class: "lg:block hidden" }, " Styling "),
@@ -25103,17 +25101,17 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
25103
25101
  ref_key: "draggableZone",
25104
25102
  ref: P
25105
25103
  }, [
25106
- (k(!0), M(we, null, Ae(w.value, (z) => (k(), M("div", {
25107
- key: z.id,
25104
+ (k(!0), M(we, null, Ae(w.value, (F) => (k(), M("div", {
25105
+ key: F.id,
25108
25106
  id: "page-builder-editor-editable-area",
25109
25107
  class: "bg-white grow"
25110
25108
  }, [
25111
25109
  h("div", {
25112
- onMouseup: (_) => y(z),
25110
+ onMouseup: (_) => y(F),
25113
25111
  class: "relative group"
25114
25112
  }, [
25115
25113
  h("div", {
25116
- innerHTML: z.html_code
25114
+ innerHTML: F.html_code
25117
25115
  }, null, 8, s7)
25118
25116
  ], 40, i7)
25119
25117
  ]))), 128))
@@ -25134,7 +25132,7 @@ const en = /* @__PURE__ */ Zd(OS, [["render", LS]]), DS = { class: "flex flex-ro
25134
25132
  class: Y([{ "w-0": !a.value, "w-80 ml-4": a.value }, "h-full duration-300 z-20 flex-shrink-0 overflow-hidden shadow-2xl rounded-l-2xl bg-white"])
25135
25133
  }, [
25136
25134
  R(WC, {
25137
- onCloseEditor: v[14] || (v[14] = (z) => O(o).setMenuRight(!1))
25135
+ onCloseEditor: v[14] || (v[14] = (F) => O(o).setMenuRight(!1))
25138
25136
  })
25139
25137
  ], 2)
25140
25138
  ])