@orchidui/dashboard 0.4.0 → 0.6.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.
@@ -1,4 +1,4 @@
1
- import { a as t } from "../../QuillEditor-CEkhRyf0.js";
1
+ import { a as t } from "../../QuillEditor-Bm3QXhLB.js";
2
2
  import "vue";
3
3
  export {
4
4
  t as QuillEditor
@@ -2,11 +2,7 @@ var la = Object.defineProperty;
2
2
  var oa = (n, t, e) => t in n ? la(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
3
3
  var S = (n, t, e) => oa(n, typeof t != "symbol" ? t + "" : t, e);
4
4
  import { defineComponent as aa, onMounted as ca, onBeforeUnmount as ua, ref as Fi, watch as Os, nextTick as Hi, h as ha } from "vue";
5
- var ee = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
6
- function Gl(n) {
7
- return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
8
- }
9
- var Kl = typeof global == "object" && global && global.Object === Object && global, fa = typeof self == "object" && self && self.Object === Object && self, Dt = Kl || fa || Function("return this")(), ie = Dt.Symbol, Vl = Object.prototype, da = Vl.hasOwnProperty, ga = Vl.toString, yn = ie ? ie.toStringTag : void 0;
5
+ var Gl = typeof global == "object" && global && global.Object === Object && global, fa = typeof self == "object" && self && self.Object === Object && self, Dt = Gl || fa || Function("return this")(), ie = Dt.Symbol, Kl = Object.prototype, da = Kl.hasOwnProperty, ga = Kl.toString, yn = ie ? ie.toStringTag : void 0;
10
6
  function pa(n) {
11
7
  var t = da.call(n, yn), e = n[yn];
12
8
  try {
@@ -33,7 +29,7 @@ function le(n) {
33
29
  var t = typeof n;
34
30
  return n != null && (t == "object" || t == "function");
35
31
  }
36
- function Wl(n) {
32
+ function Vl(n) {
37
33
  return n;
38
34
  }
39
35
  var Aa = "[object AsyncFunction]", Na = "[object Function]", wa = "[object GeneratorFunction]", Ta = "[object Proxy]";
@@ -106,7 +102,7 @@ function $a(n, t, e) {
106
102
  }
107
103
  return n.apply(t, e);
108
104
  }
109
- function Zl(n, t) {
105
+ function Wl(n, t) {
110
106
  var e = -1, r = n.length;
111
107
  for (t || (t = Array(r)); ++e < r; )
112
108
  t[e] = n[e];
@@ -143,14 +139,14 @@ var Er = function() {
143
139
  value: Ha(t),
144
140
  writable: !0
145
141
  });
146
- } : Wl, Ga = Fa(za);
142
+ } : Vl, Ga = Fa(za);
147
143
  function Ka(n, t) {
148
144
  for (var e = -1, r = n == null ? 0 : n.length; ++e < r && t(n[e], e, n) !== !1; )
149
145
  ;
150
146
  return n;
151
147
  }
152
148
  var Va = 9007199254740991, Wa = /^(?:0|[1-9]\d*)$/;
153
- function Xl(n, t) {
149
+ function Zl(n, t) {
154
150
  var e = typeof n;
155
151
  return t = t ?? Va, !!t && (e == "number" || e != "symbol" && Wa.test(n)) && n > -1 && n % 1 == 0 && n < t;
156
152
  }
@@ -166,7 +162,7 @@ function Rn(n, t) {
166
162
  return n === t || n !== n && t !== t;
167
163
  }
168
164
  var Za = Object.prototype, Xa = Za.hasOwnProperty;
169
- function Yl(n, t, e) {
165
+ function Xl(n, t, e) {
170
166
  var r = n[t];
171
167
  (!(Xa.call(n, t) && Rn(r, e)) || e === void 0 && !(t in n)) && mi(n, t, e);
172
168
  }
@@ -175,7 +171,7 @@ function kn(n, t, e, r) {
175
171
  e || (e = {});
176
172
  for (var i = -1, l = t.length; ++i < l; ) {
177
173
  var a = t[i], c = void 0;
178
- c === void 0 && (c = n[a]), s ? mi(e, a, c) : Yl(e, a, c);
174
+ c === void 0 && (c = n[a]), s ? mi(e, a, c) : Xl(e, a, c);
179
175
  }
180
176
  return e;
181
177
  }
@@ -191,20 +187,20 @@ function Ya(n, t, e) {
191
187
  };
192
188
  }
193
189
  function Qa(n, t) {
194
- return Ga(Ya(n, t, Wl), n + "");
190
+ return Ga(Ya(n, t, Vl), n + "");
195
191
  }
196
192
  var Ja = 9007199254740991;
197
- function Ql(n) {
193
+ function Yl(n) {
198
194
  return typeof n == "number" && n > -1 && n % 1 == 0 && n <= Ja;
199
195
  }
200
196
  function Lr(n) {
201
- return n != null && Ql(n.length) && !pi(n);
197
+ return n != null && Yl(n.length) && !pi(n);
202
198
  }
203
199
  function tc(n, t, e) {
204
200
  if (!le(e))
205
201
  return !1;
206
202
  var r = typeof t;
207
- return (r == "number" ? Lr(e) && Xl(t, e.length) : r == "string" && t in e) ? Rn(e[t], n) : !1;
203
+ return (r == "number" ? Lr(e) && Zl(t, e.length) : r == "string" && t in e) ? Rn(e[t], n) : !1;
208
204
  }
209
205
  function ec(n) {
210
206
  return Qa(function(t, e) {
@@ -230,7 +226,7 @@ var sc = "[object Arguments]";
230
226
  function Wi(n) {
231
227
  return Kt(n) && Ye(n) == sc;
232
228
  }
233
- var Jl = Object.prototype, ic = Jl.hasOwnProperty, lc = Jl.propertyIsEnumerable, zs = Wi(/* @__PURE__ */ function() {
229
+ var Ql = Object.prototype, ic = Ql.hasOwnProperty, lc = Ql.propertyIsEnumerable, zs = Wi(/* @__PURE__ */ function() {
234
230
  return arguments;
235
231
  }()) ? Wi : function(n) {
236
232
  return Kt(n) && ic.call(n, "callee") && !lc.call(n, "callee");
@@ -238,40 +234,40 @@ var Jl = Object.prototype, ic = Jl.hasOwnProperty, lc = Jl.propertyIsEnumerable,
238
234
  function oc() {
239
235
  return !1;
240
236
  }
241
- var to = typeof exports == "object" && exports && !exports.nodeType && exports, Zi = to && typeof module == "object" && module && !module.nodeType && module, ac = Zi && Zi.exports === to, Xi = ac ? Dt.Buffer : void 0, cc = Xi ? Xi.isBuffer : void 0, xn = cc || oc, uc = "[object Arguments]", hc = "[object Array]", fc = "[object Boolean]", dc = "[object Date]", gc = "[object Error]", pc = "[object Function]", mc = "[object Map]", bc = "[object Number]", yc = "[object Object]", vc = "[object RegExp]", Ec = "[object Set]", Ac = "[object String]", Nc = "[object WeakMap]", wc = "[object ArrayBuffer]", Tc = "[object DataView]", xc = "[object Float32Array]", Lc = "[object Float64Array]", Sc = "[object Int8Array]", _c = "[object Int16Array]", Oc = "[object Int32Array]", qc = "[object Uint8Array]", Cc = "[object Uint8ClampedArray]", Ic = "[object Uint16Array]", Rc = "[object Uint32Array]", z = {};
237
+ var Jl = typeof exports == "object" && exports && !exports.nodeType && exports, Zi = Jl && typeof module == "object" && module && !module.nodeType && module, ac = Zi && Zi.exports === Jl, Xi = ac ? Dt.Buffer : void 0, cc = Xi ? Xi.isBuffer : void 0, xn = cc || oc, uc = "[object Arguments]", hc = "[object Array]", fc = "[object Boolean]", dc = "[object Date]", gc = "[object Error]", pc = "[object Function]", mc = "[object Map]", bc = "[object Number]", yc = "[object Object]", vc = "[object RegExp]", Ec = "[object Set]", Ac = "[object String]", Nc = "[object WeakMap]", wc = "[object ArrayBuffer]", Tc = "[object DataView]", xc = "[object Float32Array]", Lc = "[object Float64Array]", Sc = "[object Int8Array]", _c = "[object Int16Array]", Oc = "[object Int32Array]", qc = "[object Uint8Array]", Cc = "[object Uint8ClampedArray]", Ic = "[object Uint16Array]", Rc = "[object Uint32Array]", z = {};
242
238
  z[xc] = z[Lc] = z[Sc] = z[_c] = z[Oc] = z[qc] = z[Cc] = z[Ic] = z[Rc] = !0;
243
239
  z[uc] = z[hc] = z[wc] = z[fc] = z[Tc] = z[dc] = z[gc] = z[pc] = z[mc] = z[bc] = z[yc] = z[vc] = z[Ec] = z[Ac] = z[Nc] = !1;
244
240
  function kc(n) {
245
- return Kt(n) && Ql(n.length) && !!z[Ye(n)];
241
+ return Kt(n) && Yl(n.length) && !!z[Ye(n)];
246
242
  }
247
243
  function yi(n) {
248
244
  return function(t) {
249
245
  return n(t);
250
246
  };
251
247
  }
252
- var eo = typeof exports == "object" && exports && !exports.nodeType && exports, An = eo && typeof module == "object" && module && !module.nodeType && module, Bc = An && An.exports === eo, Cs = Bc && Kl.process, Ke = function() {
248
+ var to = typeof exports == "object" && exports && !exports.nodeType && exports, An = to && typeof module == "object" && module && !module.nodeType && module, Bc = An && An.exports === to, Cs = Bc && Gl.process, Ke = function() {
253
249
  try {
254
250
  var n = An && An.require && An.require("util").types;
255
251
  return n || Cs && Cs.binding && Cs.binding("util");
256
252
  } catch {
257
253
  }
258
254
  }(), Yi = Ke && Ke.isTypedArray, vi = Yi ? yi(Yi) : kc, Mc = Object.prototype, jc = Mc.hasOwnProperty;
259
- function no(n, t) {
255
+ function eo(n, t) {
260
256
  var e = me(n), r = !e && zs(n), s = !e && !r && xn(n), i = !e && !r && !s && vi(n), l = e || r || s || i, a = l ? rc(n.length, String) : [], c = a.length;
261
257
  for (var h in n)
262
258
  (t || jc.call(n, h)) && !(l && // Safari 9 has enumerable `arguments.length` in strict mode.
263
259
  (h == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
264
260
  s && (h == "offset" || h == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
265
261
  i && (h == "buffer" || h == "byteLength" || h == "byteOffset") || // Skip index properties.
266
- Xl(h, c))) && a.push(h);
262
+ Zl(h, c))) && a.push(h);
267
263
  return a;
268
264
  }
269
- function ro(n, t) {
265
+ function no(n, t) {
270
266
  return function(e) {
271
267
  return n(t(e));
272
268
  };
273
269
  }
274
- var $c = ro(Object.keys, Object), Dc = Object.prototype, Pc = Dc.hasOwnProperty;
270
+ var $c = no(Object.keys, Object), Dc = Object.prototype, Pc = Dc.hasOwnProperty;
275
271
  function Uc(n) {
276
272
  if (!bi(n))
277
273
  return $c(n);
@@ -281,7 +277,7 @@ function Uc(n) {
281
277
  return t;
282
278
  }
283
279
  function Ei(n) {
284
- return Lr(n) ? no(n) : Uc(n);
280
+ return Lr(n) ? eo(n) : Uc(n);
285
281
  }
286
282
  function Fc(n) {
287
283
  var t = [];
@@ -300,7 +296,7 @@ function Gc(n) {
300
296
  return e;
301
297
  }
302
298
  function Bn(n) {
303
- return Lr(n) ? no(n, !0) : Gc(n);
299
+ return Lr(n) ? eo(n, !0) : Gc(n);
304
300
  }
305
301
  var Ln = Ee(Object, "create");
306
302
  function Kc() {
@@ -423,12 +419,12 @@ Ae.prototype.delete = fu;
423
419
  Ae.prototype.get = du;
424
420
  Ae.prototype.has = gu;
425
421
  Ae.prototype.set = pu;
426
- function so(n, t) {
422
+ function ro(n, t) {
427
423
  for (var e = -1, r = t.length, s = n.length; ++e < r; )
428
424
  n[s + e] = t[e];
429
425
  return n;
430
426
  }
431
- var Ai = ro(Object.getPrototypeOf, Object), mu = "[object Object]", bu = Function.prototype, yu = Object.prototype, io = bu.toString, vu = yu.hasOwnProperty, Eu = io.call(Object);
427
+ var Ai = no(Object.getPrototypeOf, Object), mu = "[object Object]", bu = Function.prototype, yu = Object.prototype, so = bu.toString, vu = yu.hasOwnProperty, Eu = so.call(Object);
432
428
  function Au(n) {
433
429
  if (!Kt(n) || Ye(n) != mu)
434
430
  return !1;
@@ -436,7 +432,7 @@ function Au(n) {
436
432
  if (t === null)
437
433
  return !0;
438
434
  var e = vu.call(t, "constructor") && t.constructor;
439
- return typeof e == "function" && e instanceof e && io.call(e) == Eu;
435
+ return typeof e == "function" && e instanceof e && so.call(e) == Eu;
440
436
  }
441
437
  function Nu() {
442
438
  this.__data__ = new Zt(), this.size = 0;
@@ -477,8 +473,8 @@ function _u(n, t) {
477
473
  function Ou(n, t) {
478
474
  return n && kn(t, Bn(t), n);
479
475
  }
480
- var lo = typeof exports == "object" && exports && !exports.nodeType && exports, Qi = lo && typeof module == "object" && module && !module.nodeType && module, qu = Qi && Qi.exports === lo, Ji = qu ? Dt.Buffer : void 0, tl = Ji ? Ji.allocUnsafe : void 0;
481
- function oo(n, t) {
476
+ var io = typeof exports == "object" && exports && !exports.nodeType && exports, Qi = io && typeof module == "object" && module && !module.nodeType && module, qu = Qi && Qi.exports === io, Ji = qu ? Dt.Buffer : void 0, tl = Ji ? Ji.allocUnsafe : void 0;
477
+ function lo(n, t) {
482
478
  if (t)
483
479
  return n.slice();
484
480
  var e = n.length, r = tl ? tl(e) : new n.constructor(e);
@@ -491,34 +487,34 @@ function Cu(n, t) {
491
487
  }
492
488
  return i;
493
489
  }
494
- function ao() {
490
+ function oo() {
495
491
  return [];
496
492
  }
497
493
  var Iu = Object.prototype, Ru = Iu.propertyIsEnumerable, el = Object.getOwnPropertySymbols, Ni = el ? function(n) {
498
494
  return n == null ? [] : (n = Object(n), Cu(el(n), function(t) {
499
495
  return Ru.call(n, t);
500
496
  }));
501
- } : ao;
497
+ } : oo;
502
498
  function ku(n, t) {
503
499
  return kn(n, Ni(n), t);
504
500
  }
505
- var Bu = Object.getOwnPropertySymbols, co = Bu ? function(n) {
501
+ var Bu = Object.getOwnPropertySymbols, ao = Bu ? function(n) {
506
502
  for (var t = []; n; )
507
- so(t, Ni(n)), n = Ai(n);
503
+ ro(t, Ni(n)), n = Ai(n);
508
504
  return t;
509
- } : ao;
505
+ } : oo;
510
506
  function Mu(n, t) {
511
- return kn(n, co(n), t);
507
+ return kn(n, ao(n), t);
512
508
  }
513
- function uo(n, t, e) {
509
+ function co(n, t, e) {
514
510
  var r = t(n);
515
- return me(n) ? r : so(r, e(n));
511
+ return me(n) ? r : ro(r, e(n));
516
512
  }
517
513
  function Gs(n) {
518
- return uo(n, Ei, Ni);
514
+ return co(n, Ei, Ni);
519
515
  }
520
516
  function ju(n) {
521
- return uo(n, Bn, co);
517
+ return co(n, Bn, ao);
522
518
  }
523
519
  var Ks = Ee(Dt, "DataView"), Vs = Ee(Dt, "Promise"), Ws = Ee(Dt, "Set"), nl = "[object Map]", $u = "[object Object]", rl = "[object Promise]", sl = "[object Set]", il = "[object WeakMap]", ll = "[object DataView]", Du = ve(Ks), Pu = ve(Sn), Uu = ve(Vs), Fu = ve(Ws), Hu = ve(Hs), Nt = Ye;
524
520
  (Ks && Nt(new Ks(new ArrayBuffer(1))) != ll || Sn && Nt(new Sn()) != nl || Vs && Nt(Vs.resolve()) != rl || Ws && Nt(new Ws()) != sl || Hs && Nt(new Hs()) != il) && (Nt = function(n) {
@@ -561,7 +557,7 @@ var ol = ie ? ie.prototype : void 0, al = ol ? ol.valueOf : void 0;
561
557
  function Xu(n) {
562
558
  return al ? Object(al.call(n)) : {};
563
559
  }
564
- function ho(n, t) {
560
+ function uo(n, t) {
565
561
  var e = t ? wi(n.buffer) : n.buffer;
566
562
  return new n.constructor(e, n.byteOffset, n.length);
567
563
  }
@@ -585,7 +581,7 @@ function mh(n, t, e) {
585
581
  case dh:
586
582
  case gh:
587
583
  case ph:
588
- return ho(n, e);
584
+ return uo(n, e);
589
585
  case Ju:
590
586
  return new r();
591
587
  case th:
@@ -599,7 +595,7 @@ function mh(n, t, e) {
599
595
  return Xu(n);
600
596
  }
601
597
  }
602
- function fo(n) {
598
+ function ho(n) {
603
599
  return typeof n.constructor == "function" && !bi(n) ? ja(Ai(n)) : {};
604
600
  }
605
601
  var bh = "[object Map]";
@@ -610,9 +606,9 @@ var cl = Ke && Ke.isMap, vh = cl ? yi(cl) : yh, Eh = "[object Set]";
610
606
  function Ah(n) {
611
607
  return Kt(n) && Nt(n) == Eh;
612
608
  }
613
- var ul = Ke && Ke.isSet, Nh = ul ? yi(ul) : Ah, wh = 1, Th = 2, xh = 4, go = "[object Arguments]", Lh = "[object Array]", Sh = "[object Boolean]", _h = "[object Date]", Oh = "[object Error]", po = "[object Function]", qh = "[object GeneratorFunction]", Ch = "[object Map]", Ih = "[object Number]", mo = "[object Object]", Rh = "[object RegExp]", kh = "[object Set]", Bh = "[object String]", Mh = "[object Symbol]", jh = "[object WeakMap]", $h = "[object ArrayBuffer]", Dh = "[object DataView]", Ph = "[object Float32Array]", Uh = "[object Float64Array]", Fh = "[object Int8Array]", Hh = "[object Int16Array]", zh = "[object Int32Array]", Gh = "[object Uint8Array]", Kh = "[object Uint8ClampedArray]", Vh = "[object Uint16Array]", Wh = "[object Uint32Array]", H = {};
614
- H[go] = H[Lh] = H[$h] = H[Dh] = H[Sh] = H[_h] = H[Ph] = H[Uh] = H[Fh] = H[Hh] = H[zh] = H[Ch] = H[Ih] = H[mo] = H[Rh] = H[kh] = H[Bh] = H[Mh] = H[Gh] = H[Kh] = H[Vh] = H[Wh] = !0;
615
- H[Oh] = H[po] = H[jh] = !1;
609
+ var ul = Ke && Ke.isSet, Nh = ul ? yi(ul) : Ah, wh = 1, Th = 2, xh = 4, fo = "[object Arguments]", Lh = "[object Array]", Sh = "[object Boolean]", _h = "[object Date]", Oh = "[object Error]", go = "[object Function]", qh = "[object GeneratorFunction]", Ch = "[object Map]", Ih = "[object Number]", po = "[object Object]", Rh = "[object RegExp]", kh = "[object Set]", Bh = "[object String]", Mh = "[object Symbol]", jh = "[object WeakMap]", $h = "[object ArrayBuffer]", Dh = "[object DataView]", Ph = "[object Float32Array]", Uh = "[object Float64Array]", Fh = "[object Int8Array]", Hh = "[object Int16Array]", zh = "[object Int32Array]", Gh = "[object Uint8Array]", Kh = "[object Uint8ClampedArray]", Vh = "[object Uint16Array]", Wh = "[object Uint32Array]", H = {};
610
+ H[fo] = H[Lh] = H[$h] = H[Dh] = H[Sh] = H[_h] = H[Ph] = H[Uh] = H[Fh] = H[Hh] = H[zh] = H[Ch] = H[Ih] = H[po] = H[Rh] = H[kh] = H[Bh] = H[Mh] = H[Gh] = H[Kh] = H[Vh] = H[Wh] = !0;
611
+ H[Oh] = H[go] = H[jh] = !1;
616
612
  function br(n, t, e, r, s, i) {
617
613
  var l, a = t & wh, c = t & Th, h = t & xh;
618
614
  if (l !== void 0)
@@ -622,13 +618,13 @@ function br(n, t, e, r, s, i) {
622
618
  var f = me(n);
623
619
  if (f) {
624
620
  if (l = Ku(n), !a)
625
- return Zl(n, l);
621
+ return Wl(n, l);
626
622
  } else {
627
- var m = Nt(n), d = m == po || m == qh;
623
+ var m = Nt(n), d = m == go || m == qh;
628
624
  if (xn(n))
629
- return oo(n, a);
630
- if (m == mo || m == go || d && !s) {
631
- if (l = c || d ? {} : fo(n), !a)
625
+ return lo(n, a);
626
+ if (m == po || m == fo || d && !s) {
627
+ if (l = c || d ? {} : ho(n), !a)
632
628
  return c ? Mu(n, Ou(l, n)) : ku(n, _u(l, n));
633
629
  } else {
634
630
  if (!H[m])
@@ -647,7 +643,7 @@ function br(n, t, e, r, s, i) {
647
643
  });
648
644
  var b = h ? c ? ju : Gs : c ? Bn : Ei, v = f ? void 0 : b(n);
649
645
  return Ka(v || n, function(y, E) {
650
- v && (E = y, y = n[E]), Yl(l, E, br(y, t, e, E, n, i));
646
+ v && (E = y, y = n[E]), Xl(l, E, br(y, t, e, E, n, i));
651
647
  }), l;
652
648
  }
653
649
  var Zh = 1, Xh = 4;
@@ -678,7 +674,7 @@ function ef(n, t) {
678
674
  return n.has(t);
679
675
  }
680
676
  var nf = 1, rf = 2;
681
- function bo(n, t, e, r, s, i) {
677
+ function mo(n, t, e, r, s, i) {
682
678
  var l = e & nf, a = n.length, c = t.length;
683
679
  if (a != c && !(l && c > a))
684
680
  return !1;
@@ -751,7 +747,7 @@ function Ef(n, t, e, r, s, i, l) {
751
747
  if (h)
752
748
  return h == t;
753
749
  r |= af, l.set(n, t);
754
- var f = bo(a(n), a(t), r, s, i, l);
750
+ var f = mo(a(n), a(t), r, s, i, l);
755
751
  return l.delete(n), f;
756
752
  case bf:
757
753
  if (Is)
@@ -802,7 +798,7 @@ function Sf(n, t, e, r, s, i) {
802
798
  l = !0, f = !1;
803
799
  }
804
800
  if (d && !f)
805
- return i || (i = new Bt()), l || vi(n) ? bo(n, t, e, r, s, i) : Ef(n, t, c, e, r, s, i);
801
+ return i || (i = new Bt()), l || vi(n) ? mo(n, t, e, r, s, i) : Ef(n, t, c, e, r, s, i);
806
802
  if (!(e & xf)) {
807
803
  var p = f && gl.call(n, "__wrapped__"), b = m && gl.call(t, "__wrapped__");
808
804
  if (p || b) {
@@ -812,8 +808,8 @@ function Sf(n, t, e, r, s, i) {
812
808
  }
813
809
  return d ? (i || (i = new Bt()), Tf(n, t, e, r, s, i)) : !1;
814
810
  }
815
- function yo(n, t, e, r, s) {
816
- return n === t ? !0 : n == null || t == null || !Kt(n) && !Kt(t) ? n !== n && t !== t : Sf(n, t, e, r, yo, s);
811
+ function bo(n, t, e, r, s) {
812
+ return n === t ? !0 : n == null || t == null || !Kt(n) && !Kt(t) ? n !== n && t !== t : Sf(n, t, e, r, bo, s);
817
813
  }
818
814
  function _f(n) {
819
815
  return function(t, e, r) {
@@ -848,14 +844,14 @@ function If(n, t, e, r, s, i, l) {
848
844
  var f = i ? i(a, c, e + "", n, t, l) : void 0, m = f === void 0;
849
845
  if (m) {
850
846
  var d = me(c), p = !d && xn(c), b = !d && !p && vi(c);
851
- f = c, d || p || b ? me(a) ? f = a : qf(a) ? f = Zl(a) : p ? (m = !1, f = oo(c, !0)) : b ? (m = !1, f = ho(c, !0)) : f = [] : Au(c) || zs(c) ? (f = a, zs(a) ? f = Cf(a) : (!le(a) || pi(a)) && (f = fo(c))) : m = !1;
847
+ f = c, d || p || b ? me(a) ? f = a : qf(a) ? f = Wl(a) : p ? (m = !1, f = lo(c, !0)) : b ? (m = !1, f = uo(c, !0)) : f = [] : Au(c) || zs(c) ? (f = a, zs(a) ? f = Cf(a) : (!le(a) || pi(a)) && (f = ho(c))) : m = !1;
852
848
  }
853
849
  m && (l.set(c, f), s(f, c, r, i, l), l.delete(c)), Zs(n, e, f);
854
850
  }
855
- function vo(n, t, e, r, s) {
851
+ function yo(n, t, e, r, s) {
856
852
  n !== t && Of(t, function(i, l) {
857
853
  if (s || (s = new Bt()), le(i))
858
- If(n, t, l, e, vo, r, s);
854
+ If(n, t, l, e, yo, r, s);
859
855
  else {
860
856
  var a = r ? r(Xs(n, l), i, l + "", n, t, s) : void 0;
861
857
  a === void 0 && (a = i), Zs(n, l, a);
@@ -863,10 +859,10 @@ function vo(n, t, e, r, s) {
863
859
  }, Bn);
864
860
  }
865
861
  function Ti(n, t) {
866
- return yo(n, t);
862
+ return bo(n, t);
867
863
  }
868
864
  var se = ec(function(n, t, e) {
869
- vo(n, t, e);
865
+ yo(n, t, e);
870
866
  }), C = /* @__PURE__ */ ((n) => (n[n.TYPE = 3] = "TYPE", n[n.LEVEL = 12] = "LEVEL", n[n.ATTRIBUTE = 13] = "ATTRIBUTE", n[n.BLOT = 14] = "BLOT", n[n.INLINE = 7] = "INLINE", n[n.BLOCK = 11] = "BLOCK", n[n.BLOCK_BLOT = 10] = "BLOCK_BLOT", n[n.INLINE_BLOT = 6] = "INLINE_BLOT", n[n.BLOCK_ATTRIBUTE = 9] = "BLOCK_ATTRIBUTE", n[n.INLINE_ATTRIBUTE = 5] = "INLINE_ATTRIBUTE", n[n.ANY = 15] = "ANY", n))(C || {});
871
867
  class jt {
872
868
  constructor(t, e, r = {}) {
@@ -899,7 +895,7 @@ class ze extends Error {
899
895
  t = "[Parchment] " + t, super(t), this.message = t, this.name = this.constructor.name;
900
896
  }
901
897
  }
902
- const Eo = class Ys {
898
+ const vo = class Ys {
903
899
  constructor() {
904
900
  this.attributes = {}, this.classes = {}, this.tags = {}, this.types = {};
905
901
  }
@@ -950,8 +946,8 @@ const Eo = class Ys {
950
946
  });
951
947
  }
952
948
  };
953
- Eo.blots = /* @__PURE__ */ new WeakMap();
954
- let Ve = Eo;
949
+ vo.blots = /* @__PURE__ */ new WeakMap();
950
+ let Ve = vo;
955
951
  function pl(n, t) {
956
952
  return (n.getAttribute("class") || "").split(/\s+/).filter((e) => e.indexOf(`${t}-`) === 0);
957
953
  }
@@ -1029,7 +1025,7 @@ class Bf {
1029
1025
  );
1030
1026
  }
1031
1027
  }
1032
- const Or = Bf, Ao = class {
1028
+ const Or = Bf, Eo = class {
1033
1029
  constructor(t, e) {
1034
1030
  this.scroll = t, this.domNode = e, Ve.blots.set(e, this), this.prev = null, this.next = null;
1035
1031
  }
@@ -1102,9 +1098,9 @@ const Or = Bf, Ao = class {
1102
1098
  return r.appendChild(this), r;
1103
1099
  }
1104
1100
  };
1105
- Ao.blotName = "abstract";
1106
- let No = Ao;
1107
- const wo = class extends No {
1101
+ Eo.blotName = "abstract";
1102
+ let Ao = Eo;
1103
+ const No = class extends Ao {
1108
1104
  /**
1109
1105
  * Returns the value represented by domNode if it is this Blot's type
1110
1106
  * No checking that domNode can represent this Blot type is required so
@@ -1139,8 +1135,8 @@ const wo = class extends No {
1139
1135
  };
1140
1136
  }
1141
1137
  };
1142
- wo.scope = C.INLINE_BLOT;
1143
- let Mf = wo;
1138
+ No.scope = C.INLINE_BLOT;
1139
+ let Mf = No;
1144
1140
  const et = Mf;
1145
1141
  class jf {
1146
1142
  constructor() {
@@ -1257,7 +1253,7 @@ function ml(n, t) {
1257
1253
  }), n.parentNode && n.parentNode.replaceChild(r.domNode, n), r.attach(), r;
1258
1254
  }
1259
1255
  }
1260
- const To = class te extends No {
1256
+ const wo = class te extends Ao {
1261
1257
  constructor(t, e) {
1262
1258
  super(t, e), this.uiNode = null, this.build();
1263
1259
  }
@@ -1409,8 +1405,8 @@ const To = class te extends No {
1409
1405
  }), this.enforceAllowedChildren();
1410
1406
  }
1411
1407
  };
1412
- To.uiClass = "";
1413
- let $f = To;
1408
+ wo.uiClass = "";
1409
+ let $f = wo;
1414
1410
  const Tt = $f;
1415
1411
  function Df(n, t) {
1416
1412
  if (Object.keys(n).length !== Object.keys(t).length)
@@ -1649,7 +1645,7 @@ const at = Hf, zf = {
1649
1645
  };
1650
1646
  Pe.blotName = "scroll", Pe.defaultChild = _n, Pe.allowedChildren = [_n, qr], Pe.scope = C.BLOCK_BLOT, Pe.tagName = "DIV";
1651
1647
  let Kf = Pe;
1652
- const Li = Kf, ti = class xo extends et {
1648
+ const Li = Kf, ti = class To extends et {
1653
1649
  static create(t) {
1654
1650
  return document.createTextNode(t);
1655
1651
  }
@@ -1672,7 +1668,7 @@ const Li = Kf, ti = class xo extends et {
1672
1668
  return this.text.length;
1673
1669
  }
1674
1670
  optimize(t) {
1675
- super.optimize(t), this.text = this.statics.value(this.domNode), this.text.length === 0 ? this.remove() : this.next instanceof xo && this.next.prev === this && (this.insertAt(this.length(), this.next.value()), this.next.remove());
1671
+ super.optimize(t), this.text = this.statics.value(this.domNode), this.text.length === 0 ? this.remove() : this.next instanceof To && this.next.prev === this && (this.insertAt(this.length(), this.next.value()), this.next.remove());
1676
1672
  }
1677
1673
  position(t, e = !1) {
1678
1674
  return [this.domNode, t];
@@ -1713,6 +1709,10 @@ const wr = Vf, Wf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
1713
1709
  StyleAttributor: oe,
1714
1710
  TextBlot: wr
1715
1711
  }, Symbol.toStringTag, { value: "Module" }));
1712
+ var ee = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1713
+ function xo(n) {
1714
+ return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
1715
+ }
1716
1716
  var ei = { exports: {} }, ot = -1, st = 1, W = 0;
1717
1717
  function On(n, t, e, r, s) {
1718
1718
  if (n === t)
@@ -3353,7 +3353,7 @@ qi.default = od;
3353
3353
  f.Op = l.default, f.OpIterator = a.default, f.AttributeMap = i.default, f.handlers = {}, t.default = f, n.exports = f, n.exports.default = f;
3354
3354
  })(ei, ei.exports);
3355
3355
  var gt = ei.exports;
3356
- const q = /* @__PURE__ */ Gl(gt);
3356
+ const q = /* @__PURE__ */ xo(gt);
3357
3357
  class St extends at {
3358
3358
  static value() {
3359
3359
  }
@@ -3725,7 +3725,7 @@ var Ro = { exports: {} };
3725
3725
  }, a.prototype.off = a.prototype.removeListener, a.prototype.addListener = a.prototype.on, a.prefixed = e, a.EventEmitter = a, n.exports = a;
3726
3726
  })(Ro);
3727
3727
  var ad = Ro.exports;
3728
- const cd = /* @__PURE__ */ Gl(ad), si = /* @__PURE__ */ new WeakMap(), ii = ["error", "warn", "log", "info"];
3728
+ const cd = /* @__PURE__ */ xo(ad), si = /* @__PURE__ */ new WeakMap(), ii = ["error", "warn", "log", "info"];
3729
3729
  let li = "warn";
3730
3730
  function ko(n) {
3731
3731
  if (li && ii.indexOf(n) <= ii.indexOf(li)) {
@@ -7723,7 +7723,5 @@ const cp = N.import("delta"), bp = aa({
7723
7723
  });
7724
7724
  export {
7725
7725
  N as Q,
7726
- bp as a,
7727
- ee as c,
7728
- Gl as g
7726
+ bp as a
7729
7727
  };