@inpageedit/core 0.9.2 → 0.10.0

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.
Files changed (55) hide show
  1. package/LICENSE +20 -20
  2. package/README.md +55 -55
  3. package/dist/ActionButton-BgbTKTg7.js.map +1 -1
  4. package/dist/CheckBox-D3rHnX7I.js.map +1 -1
  5. package/dist/IconQuickEdit-CAL1HXIb.js.map +1 -1
  6. package/dist/InputBox-BV4m05Xs.js.map +1 -1
  7. package/dist/PluginPrefSync-CNCU2DJU.js +171 -0
  8. package/dist/PluginPrefSync-CNCU2DJU.js.map +1 -0
  9. package/dist/Preferences-DS4-CFWe.js.map +1 -1
  10. package/dist/RadioBox-nJqWsxW2.js.map +1 -1
  11. package/dist/components/index.js.map +1 -1
  12. package/dist/{index-DxGjTpIn.js → index-2mNdeL-V.js} +27 -27
  13. package/dist/index-2mNdeL-V.js.map +1 -0
  14. package/dist/{index-btJ_NMuF.js → index-BR6gK_ki.js} +2 -2
  15. package/dist/index-BR6gK_ki.js.map +1 -0
  16. package/dist/index-Bh70Udzi.js.map +1 -1
  17. package/dist/{index-RFAZzS9C.js → index-BnAhw94L.js} +2 -2
  18. package/dist/{index-RFAZzS9C.js.map → index-BnAhw94L.js.map} +1 -1
  19. package/dist/{index-UjgKGkN2.js → index-ByJfEsN8.js} +2 -2
  20. package/dist/index-ByJfEsN8.js.map +1 -0
  21. package/dist/{index-CWbHdYKu.js → index-ByzgI28q.js} +2 -2
  22. package/dist/index-ByzgI28q.js.map +1 -0
  23. package/dist/{index-C-A3jSMx.js → index-CAiGct8U.js} +2 -2
  24. package/dist/index-CAiGct8U.js.map +1 -0
  25. package/dist/index-CvhkVj_L.js.map +1 -1
  26. package/dist/{index-CaI9BFuB.js → index-Cx-YiN1j.js} +2 -2
  27. package/dist/{index-CaI9BFuB.js.map → index-Cx-YiN1j.js.map} +1 -1
  28. package/dist/{index-D6055L55.js → index-DqJUIV2e.js} +151 -143
  29. package/dist/{index-D6055L55.js.map → index-DqJUIV2e.js.map} +1 -1
  30. package/dist/{index-Ek5d60jn.js → index-Z-_kjibx.js} +1637 -1453
  31. package/dist/index-Z-_kjibx.js.map +1 -0
  32. package/dist/{index-CInRo1qR.js → index-eOIVMf9E.js} +2 -2
  33. package/dist/index-eOIVMf9E.js.map +1 -0
  34. package/dist/index-lZkYoUca.js.map +1 -1
  35. package/dist/index.js +1 -1
  36. package/dist/makeCallable-LDU0xZMJ.js.map +1 -1
  37. package/dist/noop-ClDc6zv4.js.map +1 -1
  38. package/dist/plugins/preferences-ui/PluginPrefSync.d.ts +25 -0
  39. package/dist/plugins/preferences-ui/index.d.ts +4 -0
  40. package/dist/services/PreferencesService.d.ts +7 -0
  41. package/dist/services/storage/IPEStorageManager.d.ts +25 -0
  42. package/dist/services/storage/index.d.ts +6 -29
  43. package/dist/style.css +1 -1
  44. package/lib/index.umd.js +27 -20
  45. package/lib/index.umd.js.map +1 -1
  46. package/lib/style.css +1 -1
  47. package/package.json +2 -1
  48. package/dist/index-C-A3jSMx.js.map +0 -1
  49. package/dist/index-CInRo1qR.js.map +0 -1
  50. package/dist/index-CWbHdYKu.js.map +0 -1
  51. package/dist/index-DxGjTpIn.js.map +0 -1
  52. package/dist/index-Ek5d60jn.js.map +0 -1
  53. package/dist/index-UjgKGkN2.js.map +0 -1
  54. package/dist/index-btJ_NMuF.js.map +0 -1
  55. package/dist/services/storage/IDBStorage.d.ts +0 -52
@@ -1,5 +1,5 @@
1
1
  import { j as z, P as Ri, F as Li } from "./index-CvhkVj_L.js";
2
- import { B as Di, S as Tn, I as ji } from "./index-Ek5d60jn.js";
2
+ import { B as Di, S as Tn, I as ji } from "./index-Z-_kjibx.js";
3
3
  import { A as Hi } from "./ActionButton-BgbTKTg7.js";
4
4
  /**
5
5
  * @vue/shared v3.5.22
@@ -17,7 +17,7 @@ const H = {}, at = [], Ae = () => {
17
17
  (e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), Ys = (e) => e.startsWith("onUpdate:"), te = Object.assign, Xs = (e, t) => {
18
18
  const s = e.indexOf(t);
19
19
  s > -1 && e.splice(s, 1);
20
- }, Ui = Object.prototype.hasOwnProperty, B = (e, t) => Ui.call(e, t), M = Array.isArray, ut = (e) => as(e) === "[object Map]", or = (e) => as(e) === "[object Set]", F = (e) => typeof e == "function", Q = (e) => typeof e == "string", ze = (e) => typeof e == "symbol", J = (e) => e !== null && typeof e == "object", lr = (e) => (J(e) || F(e)) && F(e.then) && F(e.catch), cr = Object.prototype.toString, as = (e) => cr.call(e), Vi = (e) => as(e).slice(8, -1), ar = (e) => as(e) === "[object Object]", Qs = (e) => Q(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, wt = /* @__PURE__ */ Gs(
20
+ }, Ui = Object.prototype.hasOwnProperty, B = (e, t) => Ui.call(e, t), O = Array.isArray, ut = (e) => as(e) === "[object Map]", or = (e) => as(e) === "[object Set]", F = (e) => typeof e == "function", Q = (e) => typeof e == "string", ze = (e) => typeof e == "symbol", J = (e) => e !== null && typeof e == "object", lr = (e) => (J(e) || F(e)) && F(e.then) && F(e.catch), cr = Object.prototype.toString, as = (e) => cr.call(e), Vi = (e) => as(e).slice(8, -1), ar = (e) => as(e) === "[object Object]", Qs = (e) => Q(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, wt = /* @__PURE__ */ Gs(
21
21
  // the leading comma is intentional so empty string "" is also included
22
22
  ",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
23
23
  ), us = (e) => {
@@ -46,7 +46,7 @@ const H = {}, at = [], Ae = () => {
46
46
  let $n;
47
47
  const fs = () => $n || ($n = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
48
48
  function Zs(e) {
49
- if (M(e)) {
49
+ if (O(e)) {
50
50
  const t = {};
51
51
  for (let s = 0; s < e.length; s++) {
52
52
  const n = e[s], r = Q(n) ? Ji(n) : Zs(n);
@@ -72,7 +72,7 @@ function hs(e) {
72
72
  let t = "";
73
73
  if (Q(e))
74
74
  t = e;
75
- else if (M(e))
75
+ else if (O(e))
76
76
  for (let s = 0; s < e.length; s++) {
77
77
  const n = hs(e[s]);
78
78
  n && (t += n + " ");
@@ -86,14 +86,14 @@ const Gi = "itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,r
86
86
  function hr(e) {
87
87
  return !!e || e === "";
88
88
  }
89
- const dr = (e) => !!(e && e.__v_isRef === !0), Fs = (e) => Q(e) ? e : e == null ? "" : M(e) || J(e) && (e.toString === cr || !F(e.toString)) ? dr(e) ? Fs(e.value) : JSON.stringify(e, pr, 2) : String(e), pr = (e, t) => dr(t) ? pr(e, t.value) : ut(t) ? {
89
+ const dr = (e) => !!(e && e.__v_isRef === !0), Fs = (e) => Q(e) ? e : e == null ? "" : O(e) || J(e) && (e.toString === cr || !F(e.toString)) ? dr(e) ? Fs(e.value) : JSON.stringify(e, pr, 2) : String(e), pr = (e, t) => dr(t) ? pr(e, t.value) : ut(t) ? {
90
90
  [`Map(${t.size})`]: [...t.entries()].reduce(
91
91
  (s, [n, r], i) => (s[Ss(n, i) + " =>"] = r, s),
92
92
  {}
93
93
  )
94
94
  } : or(t) ? {
95
95
  [`Set(${t.size})`]: [...t.values()].map((s) => Ss(s))
96
- } : ze(t) ? Ss(t) : J(t) && !M(t) && !ar(t) ? String(t) : t, Ss = (e, t = "") => {
96
+ } : ze(t) ? Ss(t) : J(t) && !O(t) && !ar(t) ? String(t) : t, Ss = (e, t = "") => {
97
97
  var s;
98
98
  return (
99
99
  // Symbol.description in es2019+ so we need to cast here to pass
@@ -419,7 +419,7 @@ function Ne(e, t, s, n, r, i) {
419
419
  if (en(), t === "clear")
420
420
  o.forEach(l);
421
421
  else {
422
- const c = M(e), h = c && Qs(s);
422
+ const c = O(e), h = c && Qs(s);
423
423
  if (c && s === "length") {
424
424
  const u = Number(n);
425
425
  o.forEach((d, p) => {
@@ -454,33 +454,33 @@ const to = {
454
454
  },
455
455
  concat(...e) {
456
456
  return ot(this).concat(
457
- ...e.map((t) => M(t) ? ot(t) : t)
457
+ ...e.map((t) => O(t) ? ot(t) : t)
458
458
  );
459
459
  },
460
460
  entries() {
461
461
  return Ts(this, "entries", (e) => (e[1] = Z(e[1]), e));
462
462
  },
463
463
  every(e, t) {
464
- return Me(this, "every", e, t, void 0, arguments);
464
+ return Oe(this, "every", e, t, void 0, arguments);
465
465
  },
466
466
  filter(e, t) {
467
- return Me(this, "filter", e, t, (s) => s.map(Z), arguments);
467
+ return Oe(this, "filter", e, t, (s) => s.map(Z), arguments);
468
468
  },
469
469
  find(e, t) {
470
- return Me(this, "find", e, t, Z, arguments);
470
+ return Oe(this, "find", e, t, Z, arguments);
471
471
  },
472
472
  findIndex(e, t) {
473
- return Me(this, "findIndex", e, t, void 0, arguments);
473
+ return Oe(this, "findIndex", e, t, void 0, arguments);
474
474
  },
475
475
  findLast(e, t) {
476
- return Me(this, "findLast", e, t, Z, arguments);
476
+ return Oe(this, "findLast", e, t, Z, arguments);
477
477
  },
478
478
  findLastIndex(e, t) {
479
- return Me(this, "findLastIndex", e, t, void 0, arguments);
479
+ return Oe(this, "findLastIndex", e, t, void 0, arguments);
480
480
  },
481
481
  // flat, flatMap could benefit from ARRAY_ITERATE but are not straight-forward to implement
482
482
  forEach(e, t) {
483
- return Me(this, "forEach", e, t, void 0, arguments);
483
+ return Oe(this, "forEach", e, t, void 0, arguments);
484
484
  },
485
485
  includes(...e) {
486
486
  return $s(this, "includes", e);
@@ -496,7 +496,7 @@ const to = {
496
496
  return $s(this, "lastIndexOf", e);
497
497
  },
498
498
  map(e, t) {
499
- return Me(this, "map", e, t, void 0, arguments);
499
+ return Oe(this, "map", e, t, void 0, arguments);
500
500
  },
501
501
  pop() {
502
502
  return xt(this, "pop");
@@ -515,7 +515,7 @@ const to = {
515
515
  },
516
516
  // slice could use ARRAY_ITERATE but also seems to beg for range tracking
517
517
  some(e, t) {
518
- return Me(this, "some", e, t, void 0, arguments);
518
+ return Oe(this, "some", e, t, void 0, arguments);
519
519
  },
520
520
  splice(...e) {
521
521
  return xt(this, "splice", e);
@@ -544,7 +544,7 @@ function Ts(e, t, s) {
544
544
  }), r;
545
545
  }
546
546
  const so = Array.prototype;
547
- function Me(e, t, s, n, r, i) {
547
+ function Oe(e, t, s, n, r, i) {
548
548
  const o = ps(e), l = o !== e && !pe(e), c = o[t];
549
549
  if (c !== so[t]) {
550
550
  const d = c.apply(e, i);
@@ -604,7 +604,7 @@ class Sr {
604
604
  return n === (r ? i ? mo : Ar : i ? $r : Tr).get(t) || // receiver is not the reactive proxy, but has the same prototype
605
605
  // this means the receiver is a user proxy of the reactive proxy
606
606
  Object.getPrototypeOf(t) === Object.getPrototypeOf(n) ? t : void 0;
607
- const o = M(t);
607
+ const o = O(t);
608
608
  if (!r) {
609
609
  let c;
610
610
  if (o && (c = to[s]))
@@ -637,10 +637,10 @@ class wr extends Sr {
637
637
  let i = t[s];
638
638
  if (!this._isShallow) {
639
639
  const c = We(i);
640
- if (!pe(n) && !We(n) && (i = j(i), n = j(n)), !M(t) && ee(i) && !ee(n))
640
+ if (!pe(n) && !We(n) && (i = j(i), n = j(n)), !O(t) && ee(i) && !ee(n))
641
641
  return c || (i.value = n), !0;
642
642
  }
643
- const o = M(t) && Qs(s) ? Number(s) < t.length : B(t, s), l = Reflect.set(
643
+ const o = O(t) && Qs(s) ? Number(s) < t.length : B(t, s), l = Reflect.set(
644
644
  t,
645
645
  s,
646
646
  n,
@@ -662,7 +662,7 @@ class wr extends Sr {
662
662
  return se(
663
663
  t,
664
664
  "iterate",
665
- M(t) ? "length" : st
665
+ O(t) ? "length" : st
666
666
  ), Reflect.ownKeys(t);
667
667
  }
668
668
  }
@@ -962,7 +962,7 @@ function To(e, t = !1, s = et) {
962
962
  function $o(e, t, s = H) {
963
963
  const { immediate: n, deep: r, once: i, scheduler: o, augmentJob: l, call: c } = s, h = (T) => r ? T : pe(T) || r === !1 || r === 0 ? ke(T, 1) : ke(T);
964
964
  let u, d, p, v, x = !1, $ = !1;
965
- if (ee(e) ? (d = () => e.value, x = pe(e)) : ft(e) ? (d = () => h(e), x = !0) : M(e) ? ($ = !0, x = e.some((T) => ft(T) || pe(T)), d = () => e.map((T) => {
965
+ if (ee(e) ? (d = () => e.value, x = pe(e)) : ft(e) ? (d = () => h(e), x = !0) : O(e) ? ($ = !0, x = e.some((T) => ft(T) || pe(T)), d = () => e.map((T) => {
966
966
  if (ee(T))
967
967
  return T.value;
968
968
  if (ft(T))
@@ -1041,7 +1041,7 @@ function ke(e, t = 1 / 0, s) {
1041
1041
  return e;
1042
1042
  if (s.set(e, t), t--, ee(e))
1043
1043
  ke(e.value, t, s);
1044
- else if (M(e))
1044
+ else if (O(e))
1045
1045
  for (let n = 0; n < e.length; n++)
1046
1046
  ke(e[n], t, s);
1047
1047
  else if (or(e) || ut(e))
@@ -1075,7 +1075,7 @@ function Pe(e, t, s, n) {
1075
1075
  ms(i, t, s);
1076
1076
  }), r;
1077
1077
  }
1078
- if (M(e)) {
1078
+ if (O(e)) {
1079
1079
  const r = [];
1080
1080
  for (let i = 0; i < e.length; i++)
1081
1081
  r.push(Pe(e[i], t, s, n));
@@ -1115,10 +1115,10 @@ const ie = [];
1115
1115
  let we = -1;
1116
1116
  const ht = [];
1117
1117
  let Ue = null, lt = 0;
1118
- const Or = /* @__PURE__ */ Promise.resolve();
1118
+ const Mr = /* @__PURE__ */ Promise.resolve();
1119
1119
  let es = null;
1120
1120
  function Gt(e) {
1121
- const t = es || Or;
1121
+ const t = es || Mr;
1122
1122
  return e ? t.then(this ? e.bind(this) : e) : t;
1123
1123
  }
1124
1124
  function Po(e) {
@@ -1133,16 +1133,16 @@ function cn(e) {
1133
1133
  if (!(e.flags & 1)) {
1134
1134
  const t = Rt(e), s = ie[ie.length - 1];
1135
1135
  !s || // fast path when the job id is larger than the tail
1136
- !(e.flags & 2) && t >= Rt(s) ? ie.push(e) : ie.splice(Po(t), 0, e), e.flags |= 1, Mr();
1136
+ !(e.flags & 2) && t >= Rt(s) ? ie.push(e) : ie.splice(Po(t), 0, e), e.flags |= 1, Or();
1137
1137
  }
1138
1138
  }
1139
- function Mr() {
1140
- es || (es = Or.then(Nr));
1139
+ function Or() {
1140
+ es || (es = Mr.then(Nr));
1141
1141
  }
1142
1142
  function Io(e) {
1143
- M(e) ? ht.push(...e) : Ue && e.id === -1 ? Ue.splice(lt + 1, 0, e) : e.flags & 1 || (ht.push(e), e.flags |= 1), Mr();
1143
+ O(e) ? ht.push(...e) : Ue && e.id === -1 ? Ue.splice(lt + 1, 0, e) : e.flags & 1 || (ht.push(e), e.flags |= 1), Or();
1144
1144
  }
1145
- function On(e, t, s = we + 1) {
1145
+ function Mn(e, t, s = we + 1) {
1146
1146
  for (; s < ie.length; s++) {
1147
1147
  const n = ie[s];
1148
1148
  if (n && n.flags & 2) {
@@ -1192,7 +1192,7 @@ function ts(e) {
1192
1192
  const t = $e;
1193
1193
  return $e = e, Rr = e && e.type.__scopeId || null, t;
1194
1194
  }
1195
- function Oo(e, t = $e, s) {
1195
+ function Mo(e, t = $e, s) {
1196
1196
  if (!t || e._n)
1197
1197
  return e;
1198
1198
  const n = (...r) => {
@@ -1222,7 +1222,7 @@ function Qe(e, t, s, n) {
1222
1222
  ]), je());
1223
1223
  }
1224
1224
  }
1225
- const Mo = Symbol("_vte"), Fo = (e) => e.__isTeleport, No = Symbol("_leaveCb");
1225
+ const Oo = Symbol("_vte"), Fo = (e) => e.__isTeleport, No = Symbol("_leaveCb");
1226
1226
  function an(e, t) {
1227
1227
  e.shapeFlag & 6 && e.component ? (e.transition = t, an(e.component.subTree, t)) : e.shapeFlag & 128 ? (e.ssContent.transition = t.clone(e.ssContent), e.ssFallback.transition = t.clone(e.ssFallback)) : e.transition = t;
1228
1228
  }
@@ -1251,11 +1251,11 @@ function Ro(e) {
1251
1251
  }
1252
1252
  const ss = /* @__PURE__ */ new WeakMap();
1253
1253
  function At(e, t, s, n, r = !1) {
1254
- if (M(e)) {
1254
+ if (O(e)) {
1255
1255
  e.forEach(
1256
1256
  (x, $) => At(
1257
1257
  x,
1258
- t && (M(t) ? t[$] : t),
1258
+ t && (O(t) ? t[$] : t),
1259
1259
  s,
1260
1260
  n,
1261
1261
  r
@@ -1269,7 +1269,7 @@ function At(e, t, s, n, r = !1) {
1269
1269
  }
1270
1270
  const i = n.shapeFlag & 4 ? gn(n.component) : n.el, o = r ? null : i, { i: l, r: c } = e, h = t && t.r, u = l.refs === H ? l.refs = {} : l.refs, d = l.setupState, p = j(d), v = d === H ? ir : (x) => B(p, x);
1271
1271
  if (h != null && h !== c) {
1272
- if (Mn(t), Q(h))
1272
+ if (On(t), Q(h))
1273
1273
  u[h] = null, v(h) && (d[h] = null);
1274
1274
  else if (ee(h)) {
1275
1275
  h.value = null;
@@ -1286,8 +1286,8 @@ function At(e, t, s, n, r = !1) {
1286
1286
  if (e.f) {
1287
1287
  const I = x ? v(c) ? d[c] : u[c] : c.value;
1288
1288
  if (r)
1289
- M(I) && Xs(I, i);
1290
- else if (M(I))
1289
+ O(I) && Xs(I, i);
1290
+ else if (O(I))
1291
1291
  I.includes(i) || I.push(i);
1292
1292
  else if (x)
1293
1293
  u[c] = [i], v(c) && (d[c] = u[c]);
@@ -1303,11 +1303,11 @@ function At(e, t, s, n, r = !1) {
1303
1303
  };
1304
1304
  I.id = -1, ss.set(e, I), he(I, s);
1305
1305
  } else
1306
- Mn(e), U();
1306
+ On(e), U();
1307
1307
  }
1308
1308
  }
1309
1309
  }
1310
- function Mn(e) {
1310
+ function On(e) {
1311
1311
  const t = ss.get(e);
1312
1312
  t && (t.flags |= 8, ss.delete(e));
1313
1313
  }
@@ -1373,7 +1373,7 @@ function Wo(e, t = oe) {
1373
1373
  const Ko = Symbol.for("v-ndc");
1374
1374
  function Fn(e, t, s, n) {
1375
1375
  let r;
1376
- const i = s, o = M(e);
1376
+ const i = s, o = O(e);
1377
1377
  if (o || Q(e)) {
1378
1378
  const l = o && ft(e);
1379
1379
  let c = !1, h = !1;
@@ -1496,13 +1496,13 @@ const Us = (e) => e ? hi(e) ? gn(e) : Us(e.parent) : null, It = (
1496
1496
  }
1497
1497
  };
1498
1498
  function ns(e) {
1499
- return M(e) ? e.reduce(
1499
+ return O(e) ? e.reduce(
1500
1500
  (t, s) => (t[s] = null, t),
1501
1501
  {}
1502
1502
  ) : e;
1503
1503
  }
1504
1504
  function Nn(e, t) {
1505
- return !e || !t ? e || t : M(e) && M(t) ? e.concat(t) : te({}, ns(e), ns(t));
1505
+ return !e || !t ? e || t : O(e) && O(t) ? e.concat(t) : te({}, ns(e), ns(t));
1506
1506
  }
1507
1507
  let Vs = !0;
1508
1508
  function zo(e) {
@@ -1534,7 +1534,7 @@ function zo(e) {
1534
1534
  errorCaptured: be,
1535
1535
  serverPrefetch: Ge,
1536
1536
  // public API
1537
- expose: Oe,
1537
+ expose: Me,
1538
1538
  inheritAttrs: rt,
1539
1539
  // assets
1540
1540
  components: it,
@@ -1574,12 +1574,12 @@ function zo(e) {
1574
1574
  }
1575
1575
  u && Rn(u, e, "c");
1576
1576
  function ne(G, W) {
1577
- M(W) ? W.forEach((Ye) => G(Ye.bind(s))) : W && G(W.bind(s));
1577
+ O(W) ? W.forEach((Ye) => G(Ye.bind(s))) : W && G(W.bind(s));
1578
1578
  }
1579
- if (ne(Ur, d), ne(un, p), ne(Ho, v), ne(Uo, x), ne(Lo, $), ne(Do, U), ne(Wo, be), ne(ko, V), ne(Bo, X), ne(Vr, R), ne(Br, T), ne(Vo, Ge), M(Oe))
1580
- if (Oe.length) {
1579
+ if (ne(Ur, d), ne(un, p), ne(Ho, v), ne(Uo, x), ne(Lo, $), ne(Do, U), ne(Wo, be), ne(ko, V), ne(Bo, X), ne(Vr, R), ne(Br, T), ne(Vo, Ge), O(Me))
1580
+ if (Me.length) {
1581
1581
  const G = e.exposed || (e.exposed = {});
1582
- Oe.forEach((W) => {
1582
+ Me.forEach((W) => {
1583
1583
  Object.defineProperty(G, W, {
1584
1584
  get: () => s[W],
1585
1585
  set: (Ye) => s[W] = Ye,
@@ -1590,15 +1590,15 @@ function zo(e) {
1590
1590
  N && e.render === Ae && (e.render = N), rt != null && (e.inheritAttrs = rt), it && (e.components = it), Vt && (e.directives = Vt), Ge && Dr(e);
1591
1591
  }
1592
1592
  function Jo(e, t, s = Ae) {
1593
- M(e) && (e = Bs(e));
1593
+ O(e) && (e = Bs(e));
1594
1594
  for (const n in e) {
1595
1595
  const r = e[n];
1596
1596
  let i;
1597
- J(r) ? "default" in r ? i = Ot(
1597
+ J(r) ? "default" in r ? i = Mt(
1598
1598
  r.from || n,
1599
1599
  r.default,
1600
1600
  !0
1601
- ) : i = Ot(r.from || n) : i = Ot(r), ee(i) ? Object.defineProperty(t, n, {
1601
+ ) : i = Mt(r.from || n) : i = Mt(r), ee(i) ? Object.defineProperty(t, n, {
1602
1602
  enumerable: !0,
1603
1603
  configurable: !0,
1604
1604
  get: () => i.value,
@@ -1608,7 +1608,7 @@ function Jo(e, t, s = Ae) {
1608
1608
  }
1609
1609
  function Rn(e, t, s) {
1610
1610
  Pe(
1611
- M(e) ? e.map((n) => n.bind(t.proxy)) : e.bind(t.proxy),
1611
+ O(e) ? e.map((n) => n.bind(t.proxy)) : e.bind(t.proxy),
1612
1612
  t,
1613
1613
  s
1614
1614
  );
@@ -1621,7 +1621,7 @@ function kr(e, t, s, n) {
1621
1621
  } else if (F(e))
1622
1622
  pt(r, e.bind(s));
1623
1623
  else if (J(e))
1624
- if (M(e))
1624
+ if (O(e))
1625
1625
  e.forEach((i) => kr(i, t, s, n));
1626
1626
  else {
1627
1627
  const i = F(e.handler) ? e.handler.bind(s) : t[e.handler];
@@ -1694,7 +1694,7 @@ function Yo(e, t) {
1694
1694
  return Et(Bs(e), Bs(t));
1695
1695
  }
1696
1696
  function Bs(e) {
1697
- if (M(e)) {
1697
+ if (O(e)) {
1698
1698
  const t = {};
1699
1699
  for (let s = 0; s < e.length; s++)
1700
1700
  t[e[s]] = e[s];
@@ -1709,7 +1709,7 @@ function Et(e, t) {
1709
1709
  return e ? te(/* @__PURE__ */ Object.create(null), e, t) : t;
1710
1710
  }
1711
1711
  function Dn(e, t) {
1712
- return e ? M(e) && M(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : te(
1712
+ return e ? O(e) && O(t) ? [.../* @__PURE__ */ new Set([...e, ...t])] : te(
1713
1713
  /* @__PURE__ */ Object.create(null),
1714
1714
  ns(e),
1715
1715
  ns(t ?? {})
@@ -1815,7 +1815,7 @@ function qr(e, t) {
1815
1815
  n === s && (s = oe.provides = Object.create(n)), s[e] = t;
1816
1816
  }
1817
1817
  }
1818
- function Ot(e, t, s = !1) {
1818
+ function Mt(e, t, s = !1) {
1819
1819
  const n = mn();
1820
1820
  if (n || dt) {
1821
1821
  let r = dt ? dt._context.provides : n ? n.parent == null || n.ce ? n.vnode.appContext && n.vnode.appContext.provides : n.parent.provides : void 0;
@@ -1969,7 +1969,7 @@ function Xr(e, t, s = !1) {
1969
1969
  }
1970
1970
  if (!i && !c)
1971
1971
  return J(e) && n.set(e, at), at;
1972
- if (M(i))
1972
+ if (O(i))
1973
1973
  for (let u = 0; u < i.length; u++) {
1974
1974
  const d = Le(i[u]);
1975
1975
  jn(d) && (o[d] = H);
@@ -1978,9 +1978,9 @@ function Xr(e, t, s = !1) {
1978
1978
  for (const u in i) {
1979
1979
  const d = Le(u);
1980
1980
  if (jn(d)) {
1981
- const p = i[u], v = o[d] = M(p) || F(p) ? { type: p } : te({}, p), x = v.type;
1981
+ const p = i[u], v = o[d] = O(p) || F(p) ? { type: p } : te({}, p), x = v.type;
1982
1982
  let $ = !1, U = !0;
1983
- if (M(x))
1983
+ if (O(x))
1984
1984
  for (let I = 0; I < x.length; ++I) {
1985
1985
  const R = x[I], L = F(R) && R.name;
1986
1986
  if (L === "Boolean") {
@@ -2005,10 +2005,10 @@ function Xr(e, t, s = !1) {
2005
2005
  function jn(e) {
2006
2006
  return e[0] !== "$" && !wt(e);
2007
2007
  }
2008
- const fn = (e) => e === "_" || e === "_ctx" || e === "$stable", hn = (e) => M(e) ? e.map(Te) : [Te(e)], nl = (e, t, s) => {
2008
+ const fn = (e) => e === "_" || e === "_ctx" || e === "$stable", hn = (e) => O(e) ? e.map(Te) : [Te(e)], nl = (e, t, s) => {
2009
2009
  if (t._n)
2010
2010
  return t;
2011
- const n = Oo((...r) => hn(t(...r)), s);
2011
+ const n = Mo((...r) => hn(t(...r)), s);
2012
2012
  return n._c = !1, n;
2013
2013
  }, Qr = (e, t, s) => {
2014
2014
  const n = e._ctx;
@@ -2184,7 +2184,7 @@ function ll(e, t) {
2184
2184
  );
2185
2185
  }, V = (a, f, m, b, g, _, S, E) => {
2186
2186
  let C, y;
2187
- const { props: P, shapeFlag: w, transition: A, dirs: O } = a;
2187
+ const { props: P, shapeFlag: w, transition: A, dirs: M } = a;
2188
2188
  if (C = a.el = o(
2189
2189
  a.type,
2190
2190
  _,
@@ -2199,15 +2199,15 @@ function ll(e, t) {
2199
2199
  Ps(a, _),
2200
2200
  S,
2201
2201
  E
2202
- ), O && Qe(a, null, b, "created"), X(C, a, a.scopeId, S, b), P) {
2202
+ ), M && Qe(a, null, b, "created"), X(C, a, a.scopeId, S, b), P) {
2203
2203
  for (const K in P)
2204
2204
  K !== "value" && !wt(K) && i(C, K, null, P[K], _, b);
2205
2205
  "value" in P && i(C, "value", null, P.value, _), (y = P.onVnodeBeforeMount) && Se(y, b, a);
2206
2206
  }
2207
- O && Qe(a, null, b, "beforeMount");
2207
+ M && Qe(a, null, b, "beforeMount");
2208
2208
  const D = cl(g, A);
2209
- D && A.beforeEnter(C), n(C, f, m), ((y = P && P.onVnodeMounted) || D || O) && he(() => {
2210
- y && Se(y, b, a), D && A.enter(C), O && Qe(a, null, b, "mounted");
2209
+ D && A.beforeEnter(C), n(C, f, m), ((y = P && P.onVnodeMounted) || D || M) && he(() => {
2210
+ y && Se(y, b, a), D && A.enter(C), M && Qe(a, null, b, "mounted");
2211
2211
  }, g);
2212
2212
  }, X = (a, f, m, b, g) => {
2213
2213
  if (m && v(a, m), b)
@@ -2246,8 +2246,8 @@ function ll(e, t) {
2246
2246
  let { patchFlag: C, dynamicChildren: y, dirs: P } = f;
2247
2247
  C |= a.patchFlag & 16;
2248
2248
  const w = a.props || H, A = f.props || H;
2249
- let O;
2250
- if (m && Ze(m, !1), (O = A.onVnodeBeforeUpdate) && Se(O, m, f, a), P && Qe(f, a, m, "beforeUpdate"), m && Ze(m, !0), (w.innerHTML && A.innerHTML == null || w.textContent && A.textContent == null) && u(E, ""), y ? Oe(
2249
+ let M;
2250
+ if (m && Ze(m, !1), (M = A.onVnodeBeforeUpdate) && Se(M, m, f, a), P && Qe(f, a, m, "beforeUpdate"), m && Ze(m, !0), (w.innerHTML && A.innerHTML == null || w.textContent && A.textContent == null) && u(E, ""), y ? Me(
2251
2251
  a.dynamicChildren,
2252
2252
  y,
2253
2253
  E,
@@ -2277,10 +2277,10 @@ function ll(e, t) {
2277
2277
  }
2278
2278
  C & 1 && a.children !== f.children && u(E, f.children);
2279
2279
  } else !S && y == null && rt(E, w, A, m, g);
2280
- ((O = A.onVnodeUpdated) || P) && he(() => {
2281
- O && Se(O, m, f, a), P && Qe(f, a, m, "updated");
2280
+ ((M = A.onVnodeUpdated) || P) && he(() => {
2281
+ M && Se(M, m, f, a), P && Qe(f, a, m, "updated");
2282
2282
  }, b);
2283
- }, Oe = (a, f, m, b, g, _, S) => {
2283
+ }, Me = (a, f, m, b, g, _, S) => {
2284
2284
  for (let E = 0; E < f.length; E++) {
2285
2285
  const C = a[E], y = f[E], P = (
2286
2286
  // oldVNode may be an errored async setup() component inside Suspense
@@ -2329,8 +2329,8 @@ function ll(e, t) {
2329
2329
  }
2330
2330
  }, it = (a, f, m, b, g, _, S, E, C) => {
2331
2331
  const y = f.el = a ? a.el : l(""), P = f.anchor = a ? a.anchor : l("");
2332
- let { patchFlag: w, dynamicChildren: A, slotScopeIds: O } = f;
2333
- O && (E = E ? E.concat(O) : O), a == null ? (n(y, m, b), n(P, m, b), be(
2332
+ let { patchFlag: w, dynamicChildren: A, slotScopeIds: M } = f;
2333
+ M && (E = E ? E.concat(M) : M), a == null ? (n(y, m, b), n(P, m, b), be(
2334
2334
  // #10007
2335
2335
  // such fragment like `<></>` will be compiled into
2336
2336
  // a fragment which doesn't have a children.
@@ -2345,7 +2345,7 @@ function ll(e, t) {
2345
2345
  C
2346
2346
  )) : w > 0 && w & 64 && A && // #2715 the previous fragment could've been a BAILed one as a result
2347
2347
  // of renderSlot() with no valid children
2348
- a.dynamicChildren ? (Oe(
2348
+ a.dynamicChildren ? (Me(
2349
2349
  a.dynamicChildren,
2350
2350
  A,
2351
2351
  m,
@@ -2423,7 +2423,7 @@ function ll(e, t) {
2423
2423
  }, ne = (a, f, m, b, g, _, S) => {
2424
2424
  const E = () => {
2425
2425
  if (a.isMounted) {
2426
- let { next: w, bu: A, u: O, parent: D, vnode: K } = a;
2426
+ let { next: w, bu: A, u: M, parent: D, vnode: K } = a;
2427
2427
  {
2428
2428
  const Ce = si(a);
2429
2429
  if (Ce) {
@@ -2446,14 +2446,14 @@ function ll(e, t) {
2446
2446
  a,
2447
2447
  g,
2448
2448
  _
2449
- ), w.el = ce.el, k === null && bl(a, ce.el), O && he(O, g), (le = w.props && w.props.onVnodeUpdated) && he(
2449
+ ), w.el = ce.el, k === null && bl(a, ce.el), M && he(M, g), (le = w.props && w.props.onVnodeUpdated) && he(
2450
2450
  () => Se(le, D, w, K),
2451
2451
  g
2452
2452
  );
2453
2453
  } else {
2454
2454
  let w;
2455
- const { el: A, props: O } = f, { bm: D, m: K, parent: k, root: le, type: ce } = a, xe = Pt(f);
2456
- Ze(a, !1), D && Es(D), !xe && (w = O && O.onVnodeBeforeMount) && Se(w, k, f), Ze(a, !0);
2455
+ const { el: A, props: M } = f, { bm: D, m: K, parent: k, root: le, type: ce } = a, xe = Pt(f);
2456
+ Ze(a, !1), D && Es(D), !xe && (w = M && M.onVnodeBeforeMount) && Se(w, k, f), Ze(a, !0);
2457
2457
  {
2458
2458
  le.ce && // @ts-expect-error _def is private
2459
2459
  le.ce._def.shadowRoot !== !1 && le.ce._injectChildStyle(ce);
@@ -2468,7 +2468,7 @@ function ll(e, t) {
2468
2468
  _
2469
2469
  ), f.el = Ce.el;
2470
2470
  }
2471
- if (K && he(K, g), !xe && (w = O && O.onVnodeMounted)) {
2471
+ if (K && he(K, g), !xe && (w = M && M.onVnodeMounted)) {
2472
2472
  const Ce = f;
2473
2473
  he(
2474
2474
  () => Se(w, k, Ce),
@@ -2486,9 +2486,9 @@ function ll(e, t) {
2486
2486
  }, G = (a, f, m) => {
2487
2487
  f.component = a;
2488
2488
  const b = a.vnode.props;
2489
- a.vnode = f, a.next = null, tl(a, f.props, b, m), il(a, f.children, m), De(), On(a), je();
2489
+ a.vnode = f, a.next = null, tl(a, f.props, b, m), il(a, f.children, m), De(), Mn(a), je();
2490
2490
  }, W = (a, f, m, b, g, _, S, E, C = !1) => {
2491
- const y = a && a.children, P = a ? a.shapeFlag : 0, w = f.children, { patchFlag: A, shapeFlag: O } = f;
2491
+ const y = a && a.children, P = a ? a.shapeFlag : 0, w = f.children, { patchFlag: A, shapeFlag: M } = f;
2492
2492
  if (A > 0) {
2493
2493
  if (A & 128) {
2494
2494
  Bt(
@@ -2518,7 +2518,7 @@ function ll(e, t) {
2518
2518
  return;
2519
2519
  }
2520
2520
  }
2521
- O & 8 ? (P & 16 && vt(y, g, _), w !== y && u(m, w)) : P & 16 ? O & 16 ? Bt(
2521
+ M & 8 ? (P & 16 && vt(y, g, _), w !== y && u(m, w)) : P & 16 ? M & 16 ? Bt(
2522
2522
  y,
2523
2523
  w,
2524
2524
  m,
@@ -2528,7 +2528,7 @@ function ll(e, t) {
2528
2528
  S,
2529
2529
  E,
2530
2530
  C
2531
- ) : vt(y, g, _, !0) : (P & 8 && u(m, ""), O & 16 && be(
2531
+ ) : vt(y, g, _, !0) : (P & 8 && u(m, ""), M & 16 && be(
2532
2532
  w,
2533
2533
  m,
2534
2534
  b,
@@ -2543,10 +2543,10 @@ function ll(e, t) {
2543
2543
  const y = a.length, P = f.length, w = Math.min(y, P);
2544
2544
  let A;
2545
2545
  for (A = 0; A < w; A++) {
2546
- const O = f[A] = C ? Be(f[A]) : Te(f[A]);
2546
+ const M = f[A] = C ? Be(f[A]) : Te(f[A]);
2547
2547
  $(
2548
2548
  a[A],
2549
- O,
2549
+ M,
2550
2550
  m,
2551
2551
  null,
2552
2552
  g,
@@ -2579,10 +2579,10 @@ function ll(e, t) {
2579
2579
  const P = f.length;
2580
2580
  let w = a.length - 1, A = P - 1;
2581
2581
  for (; y <= w && y <= A; ) {
2582
- const O = a[y], D = f[y] = C ? Be(f[y]) : Te(f[y]);
2583
- if (Ct(O, D))
2582
+ const M = a[y], D = f[y] = C ? Be(f[y]) : Te(f[y]);
2583
+ if (Ct(M, D))
2584
2584
  $(
2585
- O,
2585
+ M,
2586
2586
  D,
2587
2587
  m,
2588
2588
  null,
@@ -2597,10 +2597,10 @@ function ll(e, t) {
2597
2597
  y++;
2598
2598
  }
2599
2599
  for (; y <= w && y <= A; ) {
2600
- const O = a[w], D = f[A] = C ? Be(f[A]) : Te(f[A]);
2601
- if (Ct(O, D))
2600
+ const M = a[w], D = f[A] = C ? Be(f[A]) : Te(f[A]);
2601
+ if (Ct(M, D))
2602
2602
  $(
2603
- O,
2603
+ M,
2604
2604
  D,
2605
2605
  m,
2606
2606
  null,
@@ -2616,7 +2616,7 @@ function ll(e, t) {
2616
2616
  }
2617
2617
  if (y > w) {
2618
2618
  if (y <= A) {
2619
- const O = A + 1, D = O < P ? f[O].el : b;
2619
+ const M = A + 1, D = M < P ? f[M].el : b;
2620
2620
  for (; y <= A; )
2621
2621
  $(
2622
2622
  null,
@@ -2634,7 +2634,7 @@ function ll(e, t) {
2634
2634
  for (; y <= w; )
2635
2635
  ye(a[y], g, _, !0), y++;
2636
2636
  else {
2637
- const O = y, D = y, K = /* @__PURE__ */ new Map();
2637
+ const M = y, D = y, K = /* @__PURE__ */ new Map();
2638
2638
  for (y = D; y <= A; y++) {
2639
2639
  const fe = f[y] = C ? Be(f[y]) : Te(f[y]);
2640
2640
  fe.key != null && K.set(fe.key, y);
@@ -2644,7 +2644,7 @@ function ll(e, t) {
2644
2644
  let xe = !1, Ce = 0;
2645
2645
  const yt = new Array(ce);
2646
2646
  for (y = 0; y < ce; y++) yt[y] = 0;
2647
- for (y = O; y <= w; y++) {
2647
+ for (y = M; y <= w; y++) {
2648
2648
  const fe = a[y];
2649
2649
  if (le >= ce) {
2650
2650
  ye(fe, g, _, !0);
@@ -2719,14 +2719,14 @@ function ll(e, t) {
2719
2719
  if (b === 0)
2720
2720
  E.beforeEnter(_), n(_, f, m), he(() => E.enter(_), g);
2721
2721
  else {
2722
- const { leave: w, delayLeave: A, afterLeave: O } = E, D = () => {
2722
+ const { leave: w, delayLeave: A, afterLeave: M } = E, D = () => {
2723
2723
  a.ctx.isUnmounted ? r(_) : n(_, f, m);
2724
2724
  }, K = () => {
2725
2725
  _._isLeaving && _[No](
2726
2726
  !0
2727
2727
  /* cancelled */
2728
2728
  ), w(_, () => {
2729
- D(), O && O();
2729
+ D(), M && M();
2730
2730
  });
2731
2731
  };
2732
2732
  A ? A(_, D, K) : K();
@@ -2743,9 +2743,9 @@ function ll(e, t) {
2743
2743
  shapeFlag: P,
2744
2744
  patchFlag: w,
2745
2745
  dirs: A,
2746
- cacheIndex: O
2746
+ cacheIndex: M
2747
2747
  } = a;
2748
- if (w === -2 && (g = !1), E != null && (De(), At(E, null, m, a, !0), je()), O != null && (f.renderCache[O] = void 0), P & 256) {
2748
+ if (w === -2 && (g = !1), E != null && (De(), At(E, null, m, a, !0), je()), M != null && (f.renderCache[M] = void 0), P & 256) {
2749
2749
  f.ctx.deactivate(a);
2750
2750
  return;
2751
2751
  }
@@ -2817,7 +2817,7 @@ function ll(e, t) {
2817
2817
  return kt(a.component.subTree);
2818
2818
  if (a.shapeFlag & 128)
2819
2819
  return a.suspense.next();
2820
- const f = p(a.anchor || a.el), m = f && f[Mo];
2820
+ const f = p(a.anchor || a.el), m = f && f[Oo];
2821
2821
  return m ? p(m) : f;
2822
2822
  };
2823
2823
  let xs = !1;
@@ -2830,7 +2830,7 @@ function ll(e, t) {
2830
2830
  null,
2831
2831
  null,
2832
2832
  m
2833
- ), f._vnode = a, xs || (xs = !0, On(), Fr(), xs = !1);
2833
+ ), f._vnode = a, xs || (xs = !0, Mn(), Fr(), xs = !1);
2834
2834
  }, bt = {
2835
2835
  p: $,
2836
2836
  um: ye,
@@ -2839,7 +2839,7 @@ function ll(e, t) {
2839
2839
  mt: ys,
2840
2840
  mc: be,
2841
2841
  pc: W,
2842
- pbc: Oe,
2842
+ pbc: Me,
2843
2843
  n: kt,
2844
2844
  o: e
2845
2845
  };
@@ -2860,7 +2860,7 @@ function cl(e, t) {
2860
2860
  }
2861
2861
  function ti(e, t, s = !1) {
2862
2862
  const n = e.children, r = t.children;
2863
- if (M(n) && M(r))
2863
+ if (O(n) && O(r))
2864
2864
  for (let i = 0; i < n.length; i++) {
2865
2865
  const o = n[i];
2866
2866
  let l = r[i];
@@ -2898,7 +2898,7 @@ function Hn(e) {
2898
2898
  for (let t = 0; t < e.length; t++)
2899
2899
  e[t].flags |= 8;
2900
2900
  }
2901
- const ul = Symbol.for("v-scx"), fl = () => Ot(ul);
2901
+ const ul = Symbol.for("v-scx"), fl = () => Mt(ul);
2902
2902
  function hl(e, t) {
2903
2903
  return dn(
2904
2904
  e,
@@ -3023,7 +3023,7 @@ function ii(e, t, s = !1) {
3023
3023
  };
3024
3024
  !s && t.mixins.length && t.mixins.forEach(c), e.extends && c(e.extends), e.mixins && e.mixins.forEach(c);
3025
3025
  }
3026
- return !i && !l ? (J(e) && n.set(e, null), null) : (M(i) ? i.forEach((c) => o[c] = null) : te(o, i), J(e) && n.set(e, o), o);
3026
+ return !i && !l ? (J(e) && n.set(e, null), null) : (O(i) ? i.forEach((c) => o[c] = null) : te(o, i), J(e) && n.set(e, o), o);
3027
3027
  }
3028
3028
  function _s(e, t) {
3029
3029
  return !e || !cs(t) ? !1 : (t = t.slice(2).replace(/Once$/, ""), B(e, t[0].toLowerCase() + t.slice(1)) || B(e, Je(t)) || B(e, t));
@@ -3074,7 +3074,7 @@ function Vn(e) {
3074
3074
  ), R = t.props ? l : gl(l);
3075
3075
  }
3076
3076
  } catch (T) {
3077
- Mt.length = 0, ms(T, e, 1), I = Re(Ke);
3077
+ Ot.length = 0, ms(T, e, 1), I = Re(Ke);
3078
3078
  }
3079
3079
  let L = I;
3080
3080
  if (R && $ !== !1) {
@@ -3140,15 +3140,15 @@ function bl({ vnode: e, parent: t }, s) {
3140
3140
  }
3141
3141
  const oi = (e) => e.__isSuspense;
3142
3142
  function yl(e, t) {
3143
- t && t.pendingBranch ? M(e) ? t.effects.push(...e) : t.effects.push(e) : Io(e);
3143
+ t && t.pendingBranch ? O(e) ? t.effects.push(...e) : t.effects.push(e) : Io(e);
3144
3144
  }
3145
- const ge = Symbol.for("v-fgt"), vs = Symbol.for("v-txt"), Ke = Symbol.for("v-cmt"), Is = Symbol.for("v-stc"), Mt = [];
3145
+ const ge = Symbol.for("v-fgt"), vs = Symbol.for("v-txt"), Ke = Symbol.for("v-cmt"), Is = Symbol.for("v-stc"), Ot = [];
3146
3146
  let de = null;
3147
3147
  function Ve(e = !1) {
3148
- Mt.push(de = e ? null : []);
3148
+ Ot.push(de = e ? null : []);
3149
3149
  }
3150
3150
  function xl() {
3151
- Mt.pop(), de = Mt[Mt.length - 1] || null;
3151
+ Ot.pop(), de = Ot[Ot.length - 1] || null;
3152
3152
  }
3153
3153
  let Lt = 1;
3154
3154
  function kn(e, t = !1) {
@@ -3247,7 +3247,7 @@ function Cl(e, t = null, s = null, n = 0, r = null, i = !1) {
3247
3247
  if (Fl(e) && (e = e.__vccOpts), t) {
3248
3248
  t = El(t);
3249
3249
  let { class: l, style: c } = t;
3250
- l && !Q(l) && (t.class = hs(l)), J(c) && (ln(c) && !M(c) && (c = te({}, c)), t.style = Zs(c));
3250
+ l && !Q(l) && (t.class = hs(l)), J(c) && (ln(c) && !O(c) && (c = te({}, c)), t.style = Zs(c));
3251
3251
  }
3252
3252
  const o = Q(e) ? 1 : oi(e) ? 128 : Fo(e) ? 64 : J(e) ? 4 : F(e) ? 2 : 0;
3253
3253
  return is(
@@ -3275,7 +3275,7 @@ function mt(e, t, s = !1, n = !1) {
3275
3275
  // #2078 in the case of <component :is="vnode" ref="extra"/>
3276
3276
  // if the vnode itself already has a ref, cloneVNode will need to merge
3277
3277
  // the refs so the single vnode can be set on multiple refs
3278
- s && i ? M(i) ? i.concat(Yt(t)) : [i, Yt(t)] : Yt(t)
3278
+ s && i ? O(i) ? i.concat(Yt(t)) : [i, Yt(t)] : Yt(t)
3279
3279
  ) : i,
3280
3280
  scopeId: e.scopeId,
3281
3281
  slotScopeIds: e.slotScopeIds,
@@ -3321,7 +3321,7 @@ function wl(e = "", t = !1) {
3321
3321
  return t ? (Ve(), ci(Ke, null, e)) : Re(Ke, null, e);
3322
3322
  }
3323
3323
  function Te(e) {
3324
- return e == null || typeof e == "boolean" ? Re(Ke) : M(e) ? Re(
3324
+ return e == null || typeof e == "boolean" ? Re(Ke) : O(e) ? Re(
3325
3325
  ge,
3326
3326
  null,
3327
3327
  // #3666, avoid reference pollution when reusing vnode
@@ -3336,7 +3336,7 @@ function pn(e, t) {
3336
3336
  const { shapeFlag: n } = e;
3337
3337
  if (t == null)
3338
3338
  t = null;
3339
- else if (M(t))
3339
+ else if (O(t))
3340
3340
  s = 16;
3341
3341
  else if (typeof t == "object")
3342
3342
  if (n & 65) {
@@ -3362,7 +3362,7 @@ function fi(...e) {
3362
3362
  t.style = Zs([t.style, n.style]);
3363
3363
  else if (cs(r)) {
3364
3364
  const i = t[r], o = n[r];
3365
- o && i !== o && !(M(i) && i.includes(o)) && (t[r] = i ? [].concat(i, o) : o);
3365
+ o && i !== o && !(O(i) && i.includes(o)) && (t[r] = i ? [].concat(i, o) : o);
3366
3366
  } else r !== "" && (t[r] = n[r]);
3367
3367
  }
3368
3368
  return t;
@@ -3497,7 +3497,7 @@ function Il(e, t) {
3497
3497
  const { setup: n } = s;
3498
3498
  if (n) {
3499
3499
  De();
3500
- const r = e.setupContext = n.length > 1 ? Ml(e) : null, i = Ht(e), o = jt(
3500
+ const r = e.setupContext = n.length > 1 ? Ol(e) : null, i = Ht(e), o = jt(
3501
3501
  n,
3502
3502
  e,
3503
3503
  0,
@@ -3535,17 +3535,17 @@ function di(e, t, s) {
3535
3535
  }
3536
3536
  }
3537
3537
  }
3538
- const Ol = {
3538
+ const Ml = {
3539
3539
  get(e, t) {
3540
3540
  return se(e, "get", ""), e[t];
3541
3541
  }
3542
3542
  };
3543
- function Ml(e) {
3543
+ function Ol(e) {
3544
3544
  const t = (s) => {
3545
3545
  e.exposed = s || {};
3546
3546
  };
3547
3547
  return {
3548
- attrs: new Proxy(e.attrs, Ol),
3548
+ attrs: new Proxy(e.attrs, Ml),
3549
3549
  slots: e.slots,
3550
3550
  emit: e.emit,
3551
3551
  expose: t
@@ -3668,7 +3668,7 @@ function kl(e, t, s) {
3668
3668
  }
3669
3669
  const Gn = /\s*!important$/;
3670
3670
  function Xt(e, t, s) {
3671
- if (M(s))
3671
+ if (O(s))
3672
3672
  s.forEach((n) => Xt(e, t, n));
3673
3673
  else if (s == null && (s = ""), t.startsWith("--"))
3674
3674
  e.setProperty(t, s);
@@ -3681,19 +3681,19 @@ function Xt(e, t, s) {
3681
3681
  ) : e[n] = s;
3682
3682
  }
3683
3683
  }
3684
- const Yn = ["Webkit", "Moz", "ms"], Os = {};
3684
+ const Yn = ["Webkit", "Moz", "ms"], Ms = {};
3685
3685
  function Wl(e, t) {
3686
- const s = Os[t];
3686
+ const s = Ms[t];
3687
3687
  if (s)
3688
3688
  return s;
3689
3689
  let n = Le(t);
3690
3690
  if (n !== "filter" && n in e)
3691
- return Os[t] = n;
3691
+ return Ms[t] = n;
3692
3692
  n = ur(n);
3693
3693
  for (let r = 0; r < Yn.length; r++) {
3694
3694
  const i = Yn[r] + n;
3695
3695
  if (i in e)
3696
- return Os[t] = i;
3696
+ return Ms[t] = i;
3697
3697
  }
3698
3698
  return t;
3699
3699
  }
@@ -3764,8 +3764,8 @@ function Jl(e) {
3764
3764
  }
3765
3765
  return [e[2] === ":" ? e.slice(3) : Je(e.slice(2)), t];
3766
3766
  }
3767
- let Ms = 0;
3768
- const Gl = /* @__PURE__ */ Promise.resolve(), Yl = () => Ms || (Gl.then(() => Ms = 0), Ms = Date.now());
3767
+ let Os = 0;
3768
+ const Gl = /* @__PURE__ */ Promise.resolve(), Yl = () => Os || (Gl.then(() => Os = 0), Os = Date.now());
3769
3769
  function Xl(e, t) {
3770
3770
  const s = (n) => {
3771
3771
  if (!n._vts)
@@ -3782,7 +3782,7 @@ function Xl(e, t) {
3782
3782
  return s.value = e, s.attached = Yl(), s;
3783
3783
  }
3784
3784
  function Ql(e, t) {
3785
- if (M(t)) {
3785
+ if (O(t)) {
3786
3786
  const s = e.stopImmediatePropagation;
3787
3787
  return e.stopImmediatePropagation = () => {
3788
3788
  s.call(e), e._stopped = !0;
@@ -3835,7 +3835,7 @@ function ic(e) {
3835
3835
  return Q(e) ? document.querySelector(e) : e;
3836
3836
  }
3837
3837
  const qs = Symbol("IPEInjectKey"), oc = (e, t) => (t ? t.provide(qs, e) : qr(qs, e), e), lc = () => {
3838
- const e = Ot(qs);
3838
+ const e = Mt(qs);
3839
3839
  if (!e)
3840
3840
  throw new Error("InPageEdit instance is not provided");
3841
3841
  return e;
@@ -4368,8 +4368,8 @@ class bs extends Ie {
4368
4368
  V = !0, clearTimeout(be);
4369
4369
  const Ge = i().filter((rt, it) => it !== p);
4370
4370
  this._itemIds.splice(p, 1);
4371
- const Oe = this.capturePositions(n);
4372
- this._value = Ge, o(Oe), this.emitChange(Ge);
4371
+ const Me = this.capturePositions(n);
4372
+ this._value = Ge, o(Me), this.emitChange(Ge);
4373
4373
  };
4374
4374
  x.addEventListener("transitionend", X, { once: !0 });
4375
4375
  const be = setTimeout(X, N + 80);
@@ -4696,23 +4696,23 @@ const mc = { class: "preferences-ui-app" }, gc = { class: "tabs" }, _c = ["onCli
4696
4696
  for (const [n, r] of t)
4697
4697
  s[n] = r;
4698
4698
  return s;
4699
- }, Cc = /* @__PURE__ */ xc(yc, [["__scopeId", "data-v-cd93309f"]]);
4699
+ }, Cc = /* @__PURE__ */ xc(yc, [["__scopeId", "data-v-2a1a9c7e"]]);
4700
4700
  var Ec = Object.create, vn = Object.defineProperty, Sc = Object.getOwnPropertyDescriptor, Ai = (e, t) => (t = Symbol[e]) ? t : Symbol.for("Symbol." + e), Pi = (e) => {
4701
4701
  throw TypeError(e);
4702
- }, wc = (e, t, s) => t in e ? vn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s, Tc = (e, t) => vn(e, "name", { value: t, configurable: !0 }), $c = (e) => [, , , Ec(e?.[Ai("metadata")] ?? null)], Ac = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], Ii = (e) => e !== void 0 && typeof e != "function" ? Pi("Function expected") : e, Pc = (e, t, s, n, r) => ({ kind: Ac[e], name: t, metadata: n, addInitializer: (i) => s._ ? Pi("Already initialized") : r.push(Ii(i || null)) }), Ic = (e, t) => wc(t, Ai("metadata"), e[3]), Oc = (e, t, s, n) => {
4702
+ }, wc = (e, t, s) => t in e ? vn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s, Tc = (e, t) => vn(e, "name", { value: t, configurable: !0 }), $c = (e) => [, , , Ec(e?.[Ai("metadata")] ?? null)], Ac = ["class", "method", "getter", "setter", "accessor", "field", "value", "get", "set"], Ii = (e) => e !== void 0 && typeof e != "function" ? Pi("Function expected") : e, Pc = (e, t, s, n, r) => ({ kind: Ac[e], name: t, metadata: n, addInitializer: (i) => s._ ? Pi("Already initialized") : r.push(Ii(i || null)) }), Ic = (e, t) => wc(t, Ai("metadata"), e[3]), Mc = (e, t, s, n) => {
4703
4703
  for (var r = 0, i = e[t >> 1], o = i && i.length; r < o; r++) i[r].call(s);
4704
4704
  return n;
4705
- }, Mc = (e, t, s, n, r, i) => {
4705
+ }, Oc = (e, t, s, n, r, i) => {
4706
4706
  var o, l, c, h = t & 7, u = !1, d = 0, p = e[d] || (e[d] = []), v = h && (r = r.prototype, h < 5 && (h > 3 || !u) && Sc(r, s));
4707
4707
  Tc(r, s);
4708
4708
  for (var x = n.length - 1; x >= 0; x--)
4709
4709
  c = Pc(h, s, l = {}, e[3], p), o = (0, n[x])(r, c), l._ = 1, Ii(o) && (r = o);
4710
4710
  return Ic(e, r), v && vn(r, s, v), u ? h ^ 4 ? i : v : r;
4711
- }, Oi, bn, Mi;
4712
- Oi = [ji(["preferences", "modal"])];
4713
- class Js extends (Mi = Di) {
4711
+ }, Mi, bn, Oi;
4712
+ Mi = [ji(["preferences", "modal"])];
4713
+ class Js extends (Oi = Di) {
4714
4714
  constructor(t) {
4715
- super(t, {}, "preferences-ui"), this.ctx = t, t.set("preferencesUI", this), t.preferences.defineCategory({
4715
+ super(t, {}, "preferences-ui"), this.ctx = t, this._latestModal = null, t.set("preferencesUI", this), t.preferences.defineCategory({
4716
4716
  name: "about",
4717
4717
  label: "About",
4718
4718
  description: "About InPageEdit",
@@ -4794,8 +4794,16 @@ class Js extends (Mi = Di) {
4794
4794
  });
4795
4795
  });
4796
4796
  }
4797
+ async start() {
4798
+ import("./PluginPrefSync-CNCU2DJU.js").then(({ PluginPrefSync: t }) => {
4799
+ this.ctx.plugin(t);
4800
+ }).catch(this.ctx.logger.warn);
4801
+ }
4797
4802
  stop() {
4798
4803
  }
4804
+ getExistingModal() {
4805
+ return this._latestModal;
4806
+ }
4799
4807
  showModal() {
4800
4808
  const t = this.ctx.modal.show({
4801
4809
  className: "ipe-preference compact-buttons",
@@ -4836,18 +4844,18 @@ class Js extends (Mi = Di) {
4836
4844
  });
4837
4845
  }
4838
4846
  }
4839
- ]), t.on(t.Event.Close, () => {
4840
- this.logger.debug("preferences modal closed, vue app unmounting"), n.unmount();
4847
+ ]), this._latestModal = t, t.on(t.Event.Close, () => {
4848
+ this.logger.debug("preferences modal closed, vue app unmounting"), n.unmount(), this._latestModal = null;
4841
4849
  });
4842
4850
  }
4843
4851
  createForm() {
4844
4852
  return cc(this.ctx, Cc);
4845
4853
  }
4846
4854
  }
4847
- bn = $c(Mi);
4848
- Js = Mc(bn, 0, "PluginPreferencesUI", Oi, Js);
4849
- Oc(bn, 1, Js);
4855
+ bn = $c(Oi);
4856
+ Js = Oc(bn, 0, "PluginPreferencesUI", Mi, Js);
4857
+ Mc(bn, 1, Js);
4850
4858
  export {
4851
4859
  Js as PluginPreferencesUI
4852
4860
  };
4853
- //# sourceMappingURL=index-D6055L55.js.map
4861
+ //# sourceMappingURL=index-DqJUIV2e.js.map