@samhammer/tiptob 2.3.36 → 2.3.37
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.
- package/dist/extensions.js +111 -107
- package/dist/extensions.js.map +1 -1
- package/package.json +1 -1
package/dist/extensions.js
CHANGED
|
@@ -669,7 +669,7 @@ function tt(n, e) {
|
|
|
669
669
|
let t = e.length - 1;
|
|
670
670
|
t >= 0 && n.isText && n.sameMarkup(e[t]) ? e[t] = n.withText(e[t].text + n.text) : e.push(n);
|
|
671
671
|
}
|
|
672
|
-
function
|
|
672
|
+
function Lt(n, e, t, r) {
|
|
673
673
|
let i = (e || n).node(t), o = 0, s = e ? e.index(t) : i.childCount;
|
|
674
674
|
n && (o = n.index(t), n.depth > t ? o++ : n.textOffset && (tt(n.nodeAfter, r), o++));
|
|
675
675
|
for (let a = o; a < s; a++)
|
|
@@ -681,15 +681,15 @@ function nt(n, e) {
|
|
|
681
681
|
}
|
|
682
682
|
function wo(n, e, t, r, i) {
|
|
683
683
|
let o = n.depth > i && vr(n, e, i + 1), s = r.depth > i && vr(t, r, i + 1), a = [];
|
|
684
|
-
return
|
|
684
|
+
return Lt(null, n, i, a), o && s && e.index(i) == t.index(i) ? (ko(o, s), tt(nt(o, wo(n, e, t, r, i + 1)), a)) : (o && tt(nt(o, Bn(n, e, i + 1)), a), Lt(e, t, i, a), s && tt(nt(s, Bn(t, r, i + 1)), a)), Lt(r, null, i, a), new k(a);
|
|
685
685
|
}
|
|
686
686
|
function Bn(n, e, t) {
|
|
687
687
|
let r = [];
|
|
688
|
-
if (
|
|
688
|
+
if (Lt(null, n, t, r), n.depth > t) {
|
|
689
689
|
let i = vr(n, e, t + 1);
|
|
690
690
|
tt(nt(i, Bn(n, e, t + 1)), r);
|
|
691
691
|
}
|
|
692
|
-
return
|
|
692
|
+
return Lt(e, null, t, r), new k(r);
|
|
693
693
|
}
|
|
694
694
|
function fa(n, e) {
|
|
695
695
|
let t = e.depth - n.openStart, i = e.node(t).copy(n.content);
|
|
@@ -1364,7 +1364,7 @@ let rt = class xr {
|
|
|
1364
1364
|
}
|
|
1365
1365
|
};
|
|
1366
1366
|
rt.prototype.text = void 0;
|
|
1367
|
-
class
|
|
1367
|
+
class Fn extends rt {
|
|
1368
1368
|
/**
|
|
1369
1369
|
@internal
|
|
1370
1370
|
*/
|
|
@@ -1386,10 +1386,10 @@ class Ln extends rt {
|
|
|
1386
1386
|
return this.text.length;
|
|
1387
1387
|
}
|
|
1388
1388
|
mark(e) {
|
|
1389
|
-
return e == this.marks ? this : new
|
|
1389
|
+
return e == this.marks ? this : new Fn(this.type, this.attrs, this.text, e);
|
|
1390
1390
|
}
|
|
1391
1391
|
withText(e) {
|
|
1392
|
-
return e == this.text ? this : new
|
|
1392
|
+
return e == this.text ? this : new Fn(this.type, this.attrs, e, this.marks);
|
|
1393
1393
|
}
|
|
1394
1394
|
cut(e = 0, t = this.text.length) {
|
|
1395
1395
|
return e == 0 && t == this.text.length ? this : this.withText(this.text.slice(e, t));
|
|
@@ -2092,7 +2092,7 @@ class Ea {
|
|
|
2092
2092
|
*/
|
|
2093
2093
|
text(e, t) {
|
|
2094
2094
|
let r = this.nodes.text;
|
|
2095
|
-
return new
|
|
2095
|
+
return new Fn(r, r.defaultAttrs, e, z.setFrom(t));
|
|
2096
2096
|
}
|
|
2097
2097
|
/**
|
|
2098
2098
|
Create a mark with the given type and attributes.
|
|
@@ -2825,7 +2825,7 @@ function wi(n) {
|
|
|
2825
2825
|
function Ba(n) {
|
|
2826
2826
|
return (n - (n & Ro)) / Po;
|
|
2827
2827
|
}
|
|
2828
|
-
const Bo = 1, zo = 2, Nn = 4,
|
|
2828
|
+
const Bo = 1, zo = 2, Nn = 4, Fo = 8;
|
|
2829
2829
|
class Si {
|
|
2830
2830
|
/**
|
|
2831
2831
|
@internal
|
|
@@ -2839,7 +2839,7 @@ class Si {
|
|
|
2839
2839
|
argument from the document.
|
|
2840
2840
|
*/
|
|
2841
2841
|
get deleted() {
|
|
2842
|
-
return (this.delInfo &
|
|
2842
|
+
return (this.delInfo & Fo) > 0;
|
|
2843
2843
|
}
|
|
2844
2844
|
/**
|
|
2845
2845
|
Tells you whether the token before the mapped position was deleted.
|
|
@@ -2903,7 +2903,7 @@ class se {
|
|
|
2903
2903
|
if (r)
|
|
2904
2904
|
return d;
|
|
2905
2905
|
let g = e == (t < 0 ? l : f) ? null : Pa(a / 3, e - l), m = e == l ? zo : e == f ? Bo : Nn;
|
|
2906
|
-
return (t < 0 ? e != l : e != f) && (m |=
|
|
2906
|
+
return (t < 0 ? e != l : e != f) && (m |= Fo), new Si(d, m, g);
|
|
2907
2907
|
}
|
|
2908
2908
|
i += u - c;
|
|
2909
2909
|
}
|
|
@@ -3340,21 +3340,21 @@ function At(n) {
|
|
|
3340
3340
|
}
|
|
3341
3341
|
return null;
|
|
3342
3342
|
}
|
|
3343
|
-
function
|
|
3344
|
-
let i =
|
|
3343
|
+
function Lo(n, e, t = null, r = n) {
|
|
3344
|
+
let i = Fa(n, e), o = i && La(r, e);
|
|
3345
3345
|
return o ? i.map(Ci).concat({ type: e, attrs: t }).concat(o.map(Ci)) : null;
|
|
3346
3346
|
}
|
|
3347
3347
|
function Ci(n) {
|
|
3348
3348
|
return { type: n, attrs: null };
|
|
3349
3349
|
}
|
|
3350
|
-
function
|
|
3350
|
+
function Fa(n, e) {
|
|
3351
3351
|
let { parent: t, startIndex: r, endIndex: i } = n, o = t.contentMatchAt(r).findWrapping(e);
|
|
3352
3352
|
if (!o)
|
|
3353
3353
|
return null;
|
|
3354
3354
|
let s = o.length ? o[0] : e;
|
|
3355
3355
|
return t.canReplaceWith(r, i, s) ? o : null;
|
|
3356
3356
|
}
|
|
3357
|
-
function
|
|
3357
|
+
function La(n, e) {
|
|
3358
3358
|
let { parent: t, startIndex: r, endIndex: i } = n, o = t.child(r), s = e.contentMatch.findWrapping(o.type);
|
|
3359
3359
|
if (!s)
|
|
3360
3360
|
return null;
|
|
@@ -3429,7 +3429,7 @@ function Va(n, e, t) {
|
|
|
3429
3429
|
}
|
|
3430
3430
|
return null;
|
|
3431
3431
|
}
|
|
3432
|
-
function
|
|
3432
|
+
function Fr(n, e, t = e, r = S.empty) {
|
|
3433
3433
|
if (e == t && !r.size)
|
|
3434
3434
|
return null;
|
|
3435
3435
|
let i = n.resolve(e), o = n.resolve(t);
|
|
@@ -3532,7 +3532,7 @@ class Ha {
|
|
|
3532
3532
|
c++, (c > 1 || l == 0 || m.content.size) && (f = y, u.push(Vo(m.mark(p.allowedMarks(m.marks)), c == 1 ? l : 0, c == a.childCount ? d : -1)));
|
|
3533
3533
|
}
|
|
3534
3534
|
let g = c == a.childCount;
|
|
3535
|
-
g || (d = -1), this.placed =
|
|
3535
|
+
g || (d = -1), this.placed = Ft(this.placed, t, k.from(u)), this.frontier[t].match = f, g && d < 0 && r && r.type == this.frontier[this.depth].type && this.frontier.length > 1 && this.closeFrontierNode();
|
|
3536
3536
|
for (let m = 0, y = a; m < d; m++) {
|
|
3537
3537
|
let v = y.lastChild;
|
|
3538
3538
|
this.frontier.push({ type: v.type, match: v.contentMatchAt(v.childCount) }), y = v.content;
|
|
@@ -3569,7 +3569,7 @@ class Ha {
|
|
|
3569
3569
|
return null;
|
|
3570
3570
|
for (; this.depth > t.depth; )
|
|
3571
3571
|
this.closeFrontierNode();
|
|
3572
|
-
t.fit.childCount && (this.placed =
|
|
3572
|
+
t.fit.childCount && (this.placed = Ft(this.placed, t.depth, t.fit)), e = t.move;
|
|
3573
3573
|
for (let r = t.depth + 1; r <= e.depth; r++) {
|
|
3574
3574
|
let i = e.node(r), o = i.type.contentMatch.fillBefore(i.content, !0, e.index(r));
|
|
3575
3575
|
this.openFrontierNode(i.type, i.attrs, o);
|
|
@@ -3578,18 +3578,18 @@ class Ha {
|
|
|
3578
3578
|
}
|
|
3579
3579
|
openFrontierNode(e, t = null, r) {
|
|
3580
3580
|
let i = this.frontier[this.depth];
|
|
3581
|
-
i.match = i.match.matchType(e), this.placed =
|
|
3581
|
+
i.match = i.match.matchType(e), this.placed = Ft(this.placed, this.depth, k.from(e.create(t, r))), this.frontier.push({ type: e, match: e.contentMatch });
|
|
3582
3582
|
}
|
|
3583
3583
|
closeFrontierNode() {
|
|
3584
3584
|
let t = this.frontier.pop().match.fillBefore(k.empty, !0);
|
|
3585
|
-
t.childCount && (this.placed =
|
|
3585
|
+
t.childCount && (this.placed = Ft(this.placed, this.frontier.length, t));
|
|
3586
3586
|
}
|
|
3587
3587
|
}
|
|
3588
3588
|
function zt(n, e, t) {
|
|
3589
3589
|
return e == 0 ? n.cutByIndex(t, n.childCount) : n.replaceChild(0, n.firstChild.copy(zt(n.firstChild.content, e - 1, t)));
|
|
3590
3590
|
}
|
|
3591
|
-
function
|
|
3592
|
-
return e == 0 ? n.append(t) : n.replaceChild(n.childCount - 1, n.lastChild.copy(
|
|
3591
|
+
function Ft(n, e, t) {
|
|
3592
|
+
return e == 0 ? n.append(t) : n.replaceChild(n.childCount - 1, n.lastChild.copy(Ft(n.lastChild.content, e - 1, t)));
|
|
3593
3593
|
}
|
|
3594
3594
|
function sr(n, e) {
|
|
3595
3595
|
for (let t = 0; t < e; t++)
|
|
@@ -3653,7 +3653,7 @@ class Vt extends Y {
|
|
|
3653
3653
|
}
|
|
3654
3654
|
}
|
|
3655
3655
|
Y.jsonID("attr", Vt);
|
|
3656
|
-
class
|
|
3656
|
+
class Ln extends Y {
|
|
3657
3657
|
/**
|
|
3658
3658
|
Construct an attribute step.
|
|
3659
3659
|
*/
|
|
@@ -3672,7 +3672,7 @@ class Fn extends Y {
|
|
|
3672
3672
|
return se.empty;
|
|
3673
3673
|
}
|
|
3674
3674
|
invert(e) {
|
|
3675
|
-
return new
|
|
3675
|
+
return new Ln(this.attr, e.attrs[this.attr]);
|
|
3676
3676
|
}
|
|
3677
3677
|
map(e) {
|
|
3678
3678
|
return this;
|
|
@@ -3683,10 +3683,10 @@ class Fn extends Y {
|
|
|
3683
3683
|
static fromJSON(e, t) {
|
|
3684
3684
|
if (typeof t.attr != "string")
|
|
3685
3685
|
throw new RangeError("Invalid input for DocAttrStep.fromJSON");
|
|
3686
|
-
return new
|
|
3686
|
+
return new Ln(t.attr, t.value);
|
|
3687
3687
|
}
|
|
3688
3688
|
}
|
|
3689
|
-
Y.jsonID("docAttr",
|
|
3689
|
+
Y.jsonID("docAttr", Ln);
|
|
3690
3690
|
let Gt = class extends Error {
|
|
3691
3691
|
};
|
|
3692
3692
|
Gt = function n(e) {
|
|
@@ -3980,7 +3980,7 @@ class C extends D {
|
|
|
3980
3980
|
return { type: "node", anchor: this.anchor };
|
|
3981
3981
|
}
|
|
3982
3982
|
getBookmark() {
|
|
3983
|
-
return new
|
|
3983
|
+
return new Lr(this.anchor);
|
|
3984
3984
|
}
|
|
3985
3985
|
/**
|
|
3986
3986
|
@internal
|
|
@@ -4006,13 +4006,13 @@ class C extends D {
|
|
|
4006
4006
|
}
|
|
4007
4007
|
C.prototype.visible = !1;
|
|
4008
4008
|
D.jsonID("node", C);
|
|
4009
|
-
class
|
|
4009
|
+
class Lr {
|
|
4010
4010
|
constructor(e) {
|
|
4011
4011
|
this.anchor = e;
|
|
4012
4012
|
}
|
|
4013
4013
|
map(e) {
|
|
4014
4014
|
let { deleted: t, pos: r } = e.mapResult(this.anchor);
|
|
4015
|
-
return t ? new Xn(r, r) : new
|
|
4015
|
+
return t ? new Xn(r, r) : new Lr(r);
|
|
4016
4016
|
}
|
|
4017
4017
|
resolve(e) {
|
|
4018
4018
|
let t = e.resolve(this.anchor), r = t.nodeAfter;
|
|
@@ -4528,7 +4528,7 @@ function zi(n, e) {
|
|
|
4528
4528
|
}
|
|
4529
4529
|
return getComputedStyle(n.dom).direction == "rtl" ? "rtl" : "ltr";
|
|
4530
4530
|
}
|
|
4531
|
-
function
|
|
4531
|
+
function Fi(n, e, t) {
|
|
4532
4532
|
let r = n.state.selection;
|
|
4533
4533
|
if (r instanceof A && !r.empty || t.indexOf("s") > -1 || de && t.indexOf("m") > -1)
|
|
4534
4534
|
return !1;
|
|
@@ -4544,7 +4544,7 @@ function Li(n, e, t) {
|
|
|
4544
4544
|
}
|
|
4545
4545
|
return !1;
|
|
4546
4546
|
}
|
|
4547
|
-
function
|
|
4547
|
+
function Li(n, e) {
|
|
4548
4548
|
if (!(n.state.selection instanceof A))
|
|
4549
4549
|
return !0;
|
|
4550
4550
|
let { $head: t, $anchor: r, empty: i } = n.state.selection;
|
|
@@ -4581,9 +4581,9 @@ function ol(n) {
|
|
|
4581
4581
|
function sl(n, e) {
|
|
4582
4582
|
let t = e.keyCode, r = ol(e);
|
|
4583
4583
|
if (t == 8 || de && t == 72 && r == "c")
|
|
4584
|
-
return
|
|
4584
|
+
return Li(n, -1) || bt(n, -1);
|
|
4585
4585
|
if (t == 46 && !e.shiftKey || de && t == 68 && r == "c")
|
|
4586
|
-
return
|
|
4586
|
+
return Li(n, 1) || bt(n, 1);
|
|
4587
4587
|
if (t == 13 || t == 27)
|
|
4588
4588
|
return !0;
|
|
4589
4589
|
if (t == 37 || de && t == 66 && r == "c") {
|
|
@@ -4594,9 +4594,9 @@ function sl(n, e) {
|
|
|
4594
4594
|
return Bi(n, i, r) || bt(n, i);
|
|
4595
4595
|
} else {
|
|
4596
4596
|
if (t == 38 || de && t == 80 && r == "c")
|
|
4597
|
-
return
|
|
4597
|
+
return Fi(n, -1, r) || bt(n, -1);
|
|
4598
4598
|
if (t == 40 || de && t == 78 && r == "c")
|
|
4599
|
-
return il(n) ||
|
|
4599
|
+
return il(n) || Fi(n, 1, r) || bt(n, 1);
|
|
4600
4600
|
if (r == (de ? "m" : "c") && (t == 66 || t == 73 || t == 89 || t == 90))
|
|
4601
4601
|
return !0;
|
|
4602
4602
|
}
|
|
@@ -5692,7 +5692,7 @@ const gs = (n, e, t) => {
|
|
|
5692
5692
|
return !0;
|
|
5693
5693
|
if (r.parent.content.size == 0 && (Ct(o, "end") || C.isSelectable(o)))
|
|
5694
5694
|
for (let s = r.depth; ; s--) {
|
|
5695
|
-
let a =
|
|
5695
|
+
let a = Fr(n.doc, r.before(s), r.after(s), S.empty);
|
|
5696
5696
|
if (a && a.slice.size < a.to - a.from) {
|
|
5697
5697
|
if (e) {
|
|
5698
5698
|
let l = n.tr.step(a);
|
|
@@ -5736,7 +5736,7 @@ function ys(n, e, t) {
|
|
|
5736
5736
|
return !1;
|
|
5737
5737
|
a = u;
|
|
5738
5738
|
}
|
|
5739
|
-
let c =
|
|
5739
|
+
let c = Fr(n.doc, o, l, S.empty);
|
|
5740
5740
|
if (!c || c.from != o || c instanceof Z && c.slice.size >= l - o)
|
|
5741
5741
|
return !1;
|
|
5742
5742
|
if (t) {
|
|
@@ -5791,7 +5791,7 @@ const xs = (n, e, t) => {
|
|
|
5791
5791
|
if (Os(n, i, e, 1))
|
|
5792
5792
|
return !0;
|
|
5793
5793
|
if (r.parent.content.size == 0 && (Ct(o, "start") || C.isSelectable(o))) {
|
|
5794
|
-
let s =
|
|
5794
|
+
let s = Fr(n.doc, r.before(), r.after(), S.empty);
|
|
5795
5795
|
if (s && s.slice.size < s.to - s.from) {
|
|
5796
5796
|
if (e) {
|
|
5797
5797
|
let a = n.tr.step(s);
|
|
@@ -5846,7 +5846,7 @@ const Bl = (n, e) => {
|
|
|
5846
5846
|
} else if (r = Yn(n.doc, t.to, 1), r == null)
|
|
5847
5847
|
return !1;
|
|
5848
5848
|
return e && e(n.tr.join(r).scrollIntoView()), !0;
|
|
5849
|
-
},
|
|
5849
|
+
}, Fl = (n, e) => {
|
|
5850
5850
|
let { $from: t, $to: r } = n.selection, i = t.blockRange(r), o = i && At(i);
|
|
5851
5851
|
return o == null ? !1 : (e && e(n.tr.lift(i, o).scrollIntoView()), !0);
|
|
5852
5852
|
}, ws = (n, e) => {
|
|
@@ -5862,7 +5862,7 @@ function Xr(n) {
|
|
|
5862
5862
|
}
|
|
5863
5863
|
return null;
|
|
5864
5864
|
}
|
|
5865
|
-
const
|
|
5865
|
+
const Ll = (n, e) => {
|
|
5866
5866
|
let { $head: t, $anchor: r } = n.selection;
|
|
5867
5867
|
if (!t.parent.type.spec.code || !t.sameParent(r))
|
|
5868
5868
|
return !1;
|
|
@@ -5988,7 +5988,7 @@ function Es(n) {
|
|
|
5988
5988
|
const Wl = Es(-1), Jl = Es(1);
|
|
5989
5989
|
function ql(n, e = null) {
|
|
5990
5990
|
return function(t, r) {
|
|
5991
|
-
let { $from: i, $to: o } = t.selection, s = i.blockRange(o), a = s &&
|
|
5991
|
+
let { $from: i, $to: o } = t.selection, s = i.blockRange(o), a = s && Lo(s, n, e);
|
|
5992
5992
|
return a ? (r && r(t.tr.wrap(s, a).scrollIntoView()), !0) : !1;
|
|
5993
5993
|
};
|
|
5994
5994
|
}
|
|
@@ -6051,7 +6051,7 @@ function Ul(n, e, t, r = null) {
|
|
|
6051
6051
|
let l = s.resolve(e.start - 2);
|
|
6052
6052
|
o = new zn(l, l, e.depth), e.endIndex < e.parent.childCount && (e = new zn(e.$from, s.resolve(e.$to.end(e.depth)), e.depth)), i = !0;
|
|
6053
6053
|
}
|
|
6054
|
-
let a =
|
|
6054
|
+
let a = Lo(o, t, r, e);
|
|
6055
6055
|
return a ? (n && Gl(n, e, a, i, t), !0) : !1;
|
|
6056
6056
|
}
|
|
6057
6057
|
function Gl(n, e, t, r, i) {
|
|
@@ -6458,7 +6458,7 @@ const ac = () => ({ editor: n, view: e }) => (requestAnimationFrame(() => {
|
|
|
6458
6458
|
}, mc = (n) => ({ tr: e, dispatch: t }) => {
|
|
6459
6459
|
const { from: r, to: i } = n;
|
|
6460
6460
|
return t && e.delete(r, i), !0;
|
|
6461
|
-
}, gc = () => ({ state: n, dispatch: e }) => Ur(n, e), yc = () => ({ commands: n }) => n.keyboardShortcut("Enter"), bc = () => ({ state: n, dispatch: e }) =>
|
|
6461
|
+
}, gc = () => ({ state: n, dispatch: e }) => Ur(n, e), yc = () => ({ commands: n }) => n.keyboardShortcut("Enter"), bc = () => ({ state: n, dispatch: e }) => Ll(n, e);
|
|
6462
6462
|
function Jn(n, e, t = { strict: !0 }) {
|
|
6463
6463
|
const r = Object.keys(e);
|
|
6464
6464
|
return r.length ? r.every((i) => t.strict ? e[i] === n[i] : nc(e[i]) ? e[i].test(n[i]) : e[i] === n[i]) : !0;
|
|
@@ -6719,7 +6719,7 @@ const Tc = (n) => !("type" in n), Mc = (n, e, t) => ({ tr: r, dispatch: i, edito
|
|
|
6719
6719
|
function Is() {
|
|
6720
6720
|
return typeof navigator < "u" ? /Mac/.test(navigator.platform) : !1;
|
|
6721
6721
|
}
|
|
6722
|
-
function
|
|
6722
|
+
function Fc(n) {
|
|
6723
6723
|
const e = n.split(/-(?!$)/);
|
|
6724
6724
|
let t = e[e.length - 1];
|
|
6725
6725
|
t === "Space" && (t = " ");
|
|
@@ -6741,8 +6741,8 @@ function Lc(n) {
|
|
|
6741
6741
|
}
|
|
6742
6742
|
return r && (t = `Alt-${t}`), i && (t = `Ctrl-${t}`), s && (t = `Meta-${t}`), o && (t = `Shift-${t}`), t;
|
|
6743
6743
|
}
|
|
6744
|
-
const
|
|
6745
|
-
const o =
|
|
6744
|
+
const Lc = (n) => ({ editor: e, view: t, tr: r, dispatch: i }) => {
|
|
6745
|
+
const o = Fc(n).split(/-(?!$)/), s = o.find((c) => !["Alt", "Ctrl", "Meta", "Shift"].includes(c)), a = new KeyboardEvent("keydown", {
|
|
6746
6746
|
key: s === "Space" ? " " : s,
|
|
6747
6747
|
altKey: o.includes("Alt"),
|
|
6748
6748
|
ctrlKey: o.includes("Ctrl"),
|
|
@@ -6775,7 +6775,7 @@ function ei(n, e, t = {}) {
|
|
|
6775
6775
|
}
|
|
6776
6776
|
const $c = (n, e = {}) => ({ state: t, dispatch: r }) => {
|
|
6777
6777
|
const i = G(n, t.schema);
|
|
6778
|
-
return ei(t, i, e) ?
|
|
6778
|
+
return ei(t, i, e) ? Fl(t, r) : !1;
|
|
6779
6779
|
}, Vc = () => ({ state: n, dispatch: e }) => Cs(n, e), jc = (n) => ({ state: e, dispatch: t }) => {
|
|
6780
6780
|
const r = G(n, e.schema);
|
|
6781
6781
|
return Yl(r)(e, t);
|
|
@@ -7076,10 +7076,10 @@ const fu = ({ keepMarks: n = !0 } = {}) => ({ tr: e, state: t, dispatch: r, edit
|
|
|
7076
7076
|
const x = l.before(l.depth - (O - 1));
|
|
7077
7077
|
t.replace(x, l.after(-T), new S(v, 4 - O, 0));
|
|
7078
7078
|
let N = -1;
|
|
7079
|
-
t.doc.nodesBetween(x, t.doc.content.size, (P,
|
|
7079
|
+
t.doc.nodesBetween(x, t.doc.content.size, (P, F) => {
|
|
7080
7080
|
if (N > -1)
|
|
7081
7081
|
return !1;
|
|
7082
|
-
P.isTextblock && P.content.size === 0 && (N =
|
|
7082
|
+
P.isTextblock && P.content.size === 0 && (N = F + 1);
|
|
7083
7083
|
}), N > -1 && t.setSelection(A.near(t.doc.resolve(N))), t.scrollIntoView();
|
|
7084
7084
|
}
|
|
7085
7085
|
return !0;
|
|
@@ -7254,7 +7254,7 @@ var Su = /* @__PURE__ */ Object.freeze({
|
|
|
7254
7254
|
joinTextblockBackward: Bc,
|
|
7255
7255
|
joinTextblockForward: zc,
|
|
7256
7256
|
joinUp: Ac,
|
|
7257
|
-
keyboardShortcut:
|
|
7257
|
+
keyboardShortcut: Lc,
|
|
7258
7258
|
lift: $c,
|
|
7259
7259
|
liftEmptyBlock: Vc,
|
|
7260
7260
|
liftListItem: jc,
|
|
@@ -7819,9 +7819,9 @@ function yd() {
|
|
|
7819
7819
|
}
|
|
7820
7820
|
var ne = "top", he = "bottom", me = "right", re = "left", ni = "auto", ln = [ne, he, me, re], Ot = "start", en = "end", Nu = "clippingParents", zs = "viewport", Bt = "popper", Iu = "reference", Yi = /* @__PURE__ */ ln.reduce(function(n, e) {
|
|
7821
7821
|
return n.concat([e + "-" + Ot, e + "-" + en]);
|
|
7822
|
-
}, []),
|
|
7822
|
+
}, []), Fs = /* @__PURE__ */ [].concat(ln, [ni]).reduce(function(n, e) {
|
|
7823
7823
|
return n.concat([e, e + "-" + Ot, e + "-" + en]);
|
|
7824
|
-
}, []), Du = "beforeRead", Ru = "read", Pu = "afterRead", Bu = "beforeMain", zu = "main",
|
|
7824
|
+
}, []), Du = "beforeRead", Ru = "read", Pu = "afterRead", Bu = "beforeMain", zu = "main", Fu = "afterMain", Lu = "beforeWrite", $u = "write", Vu = "afterWrite", ju = [Du, Ru, Pu, Bu, zu, Fu, Lu, $u, Vu];
|
|
7825
7825
|
function Te(n) {
|
|
7826
7826
|
return n ? (n.nodeName || "").toLowerCase() : null;
|
|
7827
7827
|
}
|
|
@@ -7882,7 +7882,7 @@ function Wu(n) {
|
|
|
7882
7882
|
});
|
|
7883
7883
|
};
|
|
7884
7884
|
}
|
|
7885
|
-
const
|
|
7885
|
+
const Ls = {
|
|
7886
7886
|
name: "applyStyles",
|
|
7887
7887
|
enabled: !0,
|
|
7888
7888
|
phase: "write",
|
|
@@ -8072,19 +8072,19 @@ function Qi(n) {
|
|
|
8072
8072
|
var x = cn(t), N = "clientHeight", P = "clientWidth";
|
|
8073
8073
|
if (x === ue(t) && (x = Je(t), Be(x).position !== "static" && a === "absolute" && (N = "scrollHeight", P = "scrollWidth")), x = x, i === ne || (i === re || i === me) && o === en) {
|
|
8074
8074
|
h = he;
|
|
8075
|
-
var
|
|
8075
|
+
var F = f && x === M && M.visualViewport ? M.visualViewport.height : (
|
|
8076
8076
|
// $FlowFixMe[prop-missing]
|
|
8077
8077
|
x[N]
|
|
8078
8078
|
);
|
|
8079
|
-
m -=
|
|
8079
|
+
m -= F - r.height, m *= l ? 1 : -1;
|
|
8080
8080
|
}
|
|
8081
8081
|
if (i === re || (i === ne || i === he) && o === en) {
|
|
8082
8082
|
T = me;
|
|
8083
|
-
var
|
|
8083
|
+
var L = f && x === M && M.visualViewport ? M.visualViewport.width : (
|
|
8084
8084
|
// $FlowFixMe[prop-missing]
|
|
8085
8085
|
x[P]
|
|
8086
8086
|
);
|
|
8087
|
-
d -=
|
|
8087
|
+
d -= L - r.width, d *= l ? 1 : -1;
|
|
8088
8088
|
}
|
|
8089
8089
|
}
|
|
8090
8090
|
var H = Object.assign({
|
|
@@ -8304,24 +8304,24 @@ function tn(n, e) {
|
|
|
8304
8304
|
reference: x,
|
|
8305
8305
|
element: T,
|
|
8306
8306
|
placement: i
|
|
8307
|
-
}), P = Ir(Object.assign({}, T, N)),
|
|
8308
|
-
top: M.top -
|
|
8309
|
-
bottom:
|
|
8310
|
-
left: M.left -
|
|
8311
|
-
right:
|
|
8307
|
+
}), P = Ir(Object.assign({}, T, N)), F = p === Bt ? P : x, L = {
|
|
8308
|
+
top: M.top - F.top + v.top,
|
|
8309
|
+
bottom: F.bottom - M.bottom + v.bottom,
|
|
8310
|
+
left: M.left - F.left + v.left,
|
|
8311
|
+
right: F.right - M.right + v.right
|
|
8312
8312
|
}, H = n.modifiersData.offset;
|
|
8313
8313
|
if (p === Bt && H) {
|
|
8314
8314
|
var $ = H[i];
|
|
8315
|
-
Object.keys(
|
|
8315
|
+
Object.keys(L).forEach(function(B) {
|
|
8316
8316
|
var ie = [me, he].indexOf(B) >= 0 ? 1 : -1, oe = [ne, he].indexOf(B) >= 0 ? "y" : "x";
|
|
8317
|
-
|
|
8317
|
+
L[B] += $[oe] * ie;
|
|
8318
8318
|
});
|
|
8319
8319
|
}
|
|
8320
|
-
return
|
|
8320
|
+
return L;
|
|
8321
8321
|
}
|
|
8322
8322
|
function ff(n, e) {
|
|
8323
8323
|
e === void 0 && (e = {});
|
|
8324
|
-
var t = e, r = t.placement, i = t.boundary, o = t.rootBoundary, s = t.padding, a = t.flipVariations, l = t.allowedAutoPlacements, c = l === void 0 ?
|
|
8324
|
+
var t = e, r = t.placement, i = t.boundary, o = t.rootBoundary, s = t.padding, a = t.flipVariations, l = t.allowedAutoPlacements, c = l === void 0 ? Fs : l, u = Mt(r), f = u ? a ? Yi : Yi.filter(function(g) {
|
|
8325
8325
|
return Mt(g) === u;
|
|
8326
8326
|
}) : ln, p = f.filter(function(g) {
|
|
8327
8327
|
return c.indexOf(g) >= 0;
|
|
@@ -8357,8 +8357,8 @@ function pf(n) {
|
|
|
8357
8357
|
flipVariations: g,
|
|
8358
8358
|
allowedAutoPlacements: m
|
|
8359
8359
|
}) : ye);
|
|
8360
|
-
}, []), M = e.rects.reference, x = e.rects.popper, N = /* @__PURE__ */ new Map(), P = !0,
|
|
8361
|
-
var H = h[
|
|
8360
|
+
}, []), M = e.rects.reference, x = e.rects.popper, N = /* @__PURE__ */ new Map(), P = !0, F = h[0], L = 0; L < h.length; L++) {
|
|
8361
|
+
var H = h[L], $ = Oe(H), B = Mt(H) === Ot, ie = [ne, he].indexOf($) >= 0, oe = ie ? "width" : "height", q = tn(e, {
|
|
8362
8362
|
placement: H,
|
|
8363
8363
|
boundary: u,
|
|
8364
8364
|
rootBoundary: f,
|
|
@@ -8370,7 +8370,7 @@ function pf(n) {
|
|
|
8370
8370
|
if (o && ke.push(q[$] <= 0), a && ke.push(q[K] <= 0, q[W] <= 0), ke.every(function(Me) {
|
|
8371
8371
|
return Me;
|
|
8372
8372
|
})) {
|
|
8373
|
-
|
|
8373
|
+
F = H, P = !1;
|
|
8374
8374
|
break;
|
|
8375
8375
|
}
|
|
8376
8376
|
N.set(H, ke);
|
|
@@ -8385,12 +8385,12 @@ function pf(n) {
|
|
|
8385
8385
|
});
|
|
8386
8386
|
});
|
|
8387
8387
|
if (Ae)
|
|
8388
|
-
return
|
|
8388
|
+
return F = Ae, "break";
|
|
8389
8389
|
}, Se = we; Se > 0; Se--) {
|
|
8390
8390
|
var Ke = qe(Se);
|
|
8391
8391
|
if (Ke === "break") break;
|
|
8392
8392
|
}
|
|
8393
|
-
e.placement !==
|
|
8393
|
+
e.placement !== F && (e.modifiersData[r]._skip = !0, e.placement = F, e.reset = !0);
|
|
8394
8394
|
}
|
|
8395
8395
|
}
|
|
8396
8396
|
const hf = {
|
|
@@ -8455,7 +8455,7 @@ function yf(n, e, t) {
|
|
|
8455
8455
|
};
|
|
8456
8456
|
}
|
|
8457
8457
|
function bf(n) {
|
|
8458
|
-
var e = n.state, t = n.options, r = n.name, i = t.offset, o = i === void 0 ? [0, 0] : i, s =
|
|
8458
|
+
var e = n.state, t = n.options, r = n.name, i = t.offset, o = i === void 0 ? [0, 0] : i, s = Fs.reduce(function(u, f) {
|
|
8459
8459
|
return u[f] = yf(f, e.rects, o), u;
|
|
8460
8460
|
}, {}), a = s[e.placement], l = a.x, c = a.y;
|
|
8461
8461
|
e.modifiersData.popperOffsets != null && (e.modifiersData.popperOffsets.x += l, e.modifiersData.popperOffsets.y += c), e.modifiersData[r] = s;
|
|
@@ -8491,15 +8491,15 @@ function Sf(n) {
|
|
|
8491
8491
|
rootBoundary: c,
|
|
8492
8492
|
padding: f,
|
|
8493
8493
|
altBoundary: u
|
|
8494
|
-
}), v = Oe(e.placement), O = Mt(e.placement), T = !O, h = oi(v), M = wf(h), x = e.modifiersData.popperOffsets, N = e.rects.reference, P = e.rects.popper,
|
|
8494
|
+
}), v = Oe(e.placement), O = Mt(e.placement), T = !O, h = oi(v), M = wf(h), x = e.modifiersData.popperOffsets, N = e.rects.reference, P = e.rects.popper, F = typeof m == "function" ? m(Object.assign({}, e.rects, {
|
|
8495
8495
|
placement: e.placement
|
|
8496
|
-
})) : m,
|
|
8497
|
-
mainAxis:
|
|
8498
|
-
altAxis:
|
|
8496
|
+
})) : m, L = typeof F == "number" ? {
|
|
8497
|
+
mainAxis: F,
|
|
8498
|
+
altAxis: F
|
|
8499
8499
|
} : Object.assign({
|
|
8500
8500
|
mainAxis: 0,
|
|
8501
8501
|
altAxis: 0
|
|
8502
|
-
},
|
|
8502
|
+
}, F), H = e.modifiersData.offset ? e.modifiersData.offset[e.placement] : null, $ = {
|
|
8503
8503
|
x: 0,
|
|
8504
8504
|
y: 0
|
|
8505
8505
|
};
|
|
@@ -8508,11 +8508,11 @@ function Sf(n) {
|
|
|
8508
8508
|
var B, ie = h === "y" ? ne : re, oe = h === "y" ? he : me, q = h === "y" ? "height" : "width", K = x[h], W = K + y[ie], ke = K - y[oe], we = d ? -P[q] / 2 : 0, qe = O === Ot ? N[q] : P[q], Se = O === Ot ? -P[q] : -N[q], Ke = e.elements.arrow, Me = d && Ke ? ii(Ke) : {
|
|
8509
8509
|
width: 0,
|
|
8510
8510
|
height: 0
|
|
8511
|
-
}, ye = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : js(), Ae = ye[ie], pt = ye[oe], Ne = Ht(0, N[q], Me[q]), ht = T ? N[q] / 2 - we - Ne - Ae -
|
|
8511
|
+
}, ye = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : js(), Ae = ye[ie], pt = ye[oe], Ne = Ht(0, N[q], Me[q]), ht = T ? N[q] / 2 - we - Ne - Ae - L.mainAxis : qe - Ne - Ae - L.mainAxis, Fe = T ? -N[q] / 2 + we + Ne + pt + L.mainAxis : Se + Ne + pt + L.mainAxis, mt = e.elements.arrow && cn(e.elements.arrow), fn = mt ? h === "y" ? mt.clientTop || 0 : mt.clientLeft || 0 : 0, Nt = (B = H?.[h]) != null ? B : 0, dn = K + ht - Nt - fn, pn = K + Fe - Nt, It = Ht(d ? Kn(W, dn) : W, K, d ? at(ke, pn) : ke);
|
|
8512
8512
|
x[h] = It, $[h] = It - K;
|
|
8513
8513
|
}
|
|
8514
8514
|
if (a) {
|
|
8515
|
-
var Dt, hn = h === "x" ? ne : re, mn = h === "x" ? he : me, Ie = x[M],
|
|
8515
|
+
var Dt, hn = h === "x" ? ne : re, mn = h === "x" ? he : me, Ie = x[M], Le = M === "y" ? "height" : "width", Rt = Ie + y[hn], Ue = Ie - y[mn], Pt = [ne, re].indexOf(v) !== -1, gn = (Dt = H?.[M]) != null ? Dt : 0, yn = Pt ? Rt : Ie - N[Le] - P[Le] - gn + L.altAxis, bn = Pt ? Ie + N[Le] + P[Le] - gn - L.altAxis : Ue, vn = d && Pt ? Ku(yn, Ie, bn) : Ht(d ? yn : Rt, Ie, d ? bn : Ue);
|
|
8516
8516
|
x[M] = vn, $[M] = vn - Ie;
|
|
8517
8517
|
}
|
|
8518
8518
|
e.modifiersData[r] = $;
|
|
@@ -8657,19 +8657,19 @@ function Rf(n) {
|
|
|
8657
8657
|
u.rects = {
|
|
8658
8658
|
reference: Mf(O, cn(T), u.options.strategy === "fixed"),
|
|
8659
8659
|
popper: ii(T)
|
|
8660
|
-
}, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(
|
|
8661
|
-
return u.modifiersData[
|
|
8660
|
+
}, u.reset = !1, u.placement = u.options.placement, u.orderedModifiers.forEach(function(L) {
|
|
8661
|
+
return u.modifiersData[L.name] = Object.assign({}, L.data);
|
|
8662
8662
|
});
|
|
8663
8663
|
for (var h = 0; h < u.orderedModifiers.length; h++) {
|
|
8664
8664
|
if (u.reset === !0) {
|
|
8665
8665
|
u.reset = !1, h = -1;
|
|
8666
8666
|
continue;
|
|
8667
8667
|
}
|
|
8668
|
-
var M = u.orderedModifiers[h], x = M.fn, N = M.options, P = N === void 0 ? {} : N,
|
|
8668
|
+
var M = u.orderedModifiers[h], x = M.fn, N = M.options, P = N === void 0 ? {} : N, F = M.name;
|
|
8669
8669
|
typeof x == "function" && (u = x({
|
|
8670
8670
|
state: u,
|
|
8671
8671
|
options: P,
|
|
8672
|
-
name:
|
|
8672
|
+
name: F,
|
|
8673
8673
|
instance: d
|
|
8674
8674
|
}) || u);
|
|
8675
8675
|
}
|
|
@@ -8715,15 +8715,15 @@ function Rf(n) {
|
|
|
8715
8715
|
return d;
|
|
8716
8716
|
};
|
|
8717
8717
|
}
|
|
8718
|
-
var Pf = [nf, kf, ef,
|
|
8718
|
+
var Pf = [nf, kf, ef, Ls, vf, hf, Cf, Xu, gf], Bf = /* @__PURE__ */ Rf({
|
|
8719
8719
|
defaultModifiers: Pf
|
|
8720
|
-
}), zf = "tippy-box", Ks = "tippy-content",
|
|
8720
|
+
}), zf = "tippy-box", Ks = "tippy-content", Ff = "tippy-backdrop", Us = "tippy-arrow", Gs = "tippy-svg-arrow", Ye = {
|
|
8721
8721
|
passive: !0,
|
|
8722
8722
|
capture: !0
|
|
8723
8723
|
}, Ys = function() {
|
|
8724
8724
|
return document.body;
|
|
8725
8725
|
};
|
|
8726
|
-
function
|
|
8726
|
+
function Lf(n, e) {
|
|
8727
8727
|
return {}.hasOwnProperty.call(n, e);
|
|
8728
8728
|
}
|
|
8729
8729
|
function hr(n, e, t) {
|
|
@@ -9026,7 +9026,7 @@ function ta(n, e) {
|
|
|
9026
9026
|
n === void 0 && (n = {}), e === void 0 && (e = []);
|
|
9027
9027
|
var t = Object.keys(n);
|
|
9028
9028
|
t.forEach(function(r) {
|
|
9029
|
-
var i = $f(ae, Object.keys(_s)), o = !
|
|
9029
|
+
var i = $f(ae, Object.keys(_s)), o = !Lf(i, r);
|
|
9030
9030
|
o && (o = e.filter(function(s) {
|
|
9031
9031
|
return s.name === r;
|
|
9032
9032
|
}).length === 0), De(o, ["`" + r + "`", "is not a valid prop. You may have spelled it incorrectly, or if it's", "a plugin, forgot to pass it in an array as props.plugins.", `
|
|
@@ -9059,7 +9059,7 @@ function Pr(n) {
|
|
|
9059
9059
|
return r.classList.contains(Us) || r.classList.contains(Gs);
|
|
9060
9060
|
}),
|
|
9061
9061
|
backdrop: t.find(function(r) {
|
|
9062
|
-
return r.classList.contains(
|
|
9062
|
+
return r.classList.contains(Ff);
|
|
9063
9063
|
})
|
|
9064
9064
|
};
|
|
9065
9065
|
}
|
|
@@ -9118,18 +9118,18 @@ function cd(n, e) {
|
|
|
9118
9118
|
x.setAttribute("data-tippy-root", ""), x.id = "tippy-" + h.id, h.popper = x, n._tippy = h, x._tippy = h;
|
|
9119
9119
|
var P = O.map(function(b) {
|
|
9120
9120
|
return b.fn(h);
|
|
9121
|
-
}),
|
|
9121
|
+
}), F = n.hasAttribute("aria-expanded");
|
|
9122
9122
|
return mt(), we(), K(), W("onCreate", [h]), t.showOnCreate && Rt(), x.addEventListener("mouseenter", function() {
|
|
9123
9123
|
h.props.interactive && h.state.isVisible && h.clearDelayTimeouts();
|
|
9124
9124
|
}), x.addEventListener("mouseleave", function() {
|
|
9125
9125
|
h.props.interactive && h.props.trigger.indexOf("mouseenter") >= 0 && ie().addEventListener("mousemove", g);
|
|
9126
9126
|
}), h;
|
|
9127
|
-
function
|
|
9127
|
+
function L() {
|
|
9128
9128
|
var b = h.props.touch;
|
|
9129
9129
|
return Array.isArray(b) ? b : [b, 0];
|
|
9130
9130
|
}
|
|
9131
9131
|
function H() {
|
|
9132
|
-
return
|
|
9132
|
+
return L()[0] === "hold";
|
|
9133
9133
|
}
|
|
9134
9134
|
function $() {
|
|
9135
9135
|
var b;
|
|
@@ -9175,7 +9175,7 @@ function cd(n, e) {
|
|
|
9175
9175
|
}
|
|
9176
9176
|
}
|
|
9177
9177
|
function we() {
|
|
9178
|
-
if (!(
|
|
9178
|
+
if (!(F || !h.props.aria.expanded)) {
|
|
9179
9179
|
var b = wt(h.props.triggerTarget || n);
|
|
9180
9180
|
b.forEach(function(w) {
|
|
9181
9181
|
h.props.interactive ? w.setAttribute("aria-expanded", h.state.isVisible && w === B() ? "true" : "false") : w.removeAttribute("aria-expanded");
|
|
@@ -9235,7 +9235,7 @@ function cd(n, e) {
|
|
|
9235
9235
|
return w();
|
|
9236
9236
|
gr(E, "remove", f), gr(E, "add", R), f = R;
|
|
9237
9237
|
}
|
|
9238
|
-
function
|
|
9238
|
+
function Fe(b, w, E) {
|
|
9239
9239
|
E === void 0 && (E = !1);
|
|
9240
9240
|
var R = wt(h.props.triggerTarget || n);
|
|
9241
9241
|
R.forEach(function(I) {
|
|
@@ -9248,21 +9248,21 @@ function cd(n, e) {
|
|
|
9248
9248
|
});
|
|
9249
9249
|
}
|
|
9250
9250
|
function mt() {
|
|
9251
|
-
H() && (
|
|
9251
|
+
H() && (Fe("touchstart", Nt, {
|
|
9252
9252
|
passive: !0
|
|
9253
|
-
}),
|
|
9253
|
+
}), Fe("touchend", pn, {
|
|
9254
9254
|
passive: !0
|
|
9255
9255
|
})), Vf(h.props.trigger).forEach(function(b) {
|
|
9256
9256
|
if (b !== "manual")
|
|
9257
|
-
switch (
|
|
9257
|
+
switch (Fe(b, Nt), b) {
|
|
9258
9258
|
case "mouseenter":
|
|
9259
|
-
|
|
9259
|
+
Fe("mouseleave", pn);
|
|
9260
9260
|
break;
|
|
9261
9261
|
case "focus":
|
|
9262
|
-
|
|
9262
|
+
Fe(_f ? "focusout" : "blur", It);
|
|
9263
9263
|
break;
|
|
9264
9264
|
case "focusin":
|
|
9265
|
-
|
|
9265
|
+
Fe("focusout", It);
|
|
9266
9266
|
break;
|
|
9267
9267
|
}
|
|
9268
9268
|
});
|
|
@@ -9285,7 +9285,7 @@ function cd(n, e) {
|
|
|
9285
9285
|
function dn(b) {
|
|
9286
9286
|
var w = b.target, E = B().contains(w) || x.contains(w);
|
|
9287
9287
|
if (!(b.type === "mousemove" && E)) {
|
|
9288
|
-
var R =
|
|
9288
|
+
var R = Le().concat(x).map(function(I) {
|
|
9289
9289
|
var X, fe = I._tippy, gt = (X = fe.popperInstance) == null ? void 0 : X.state;
|
|
9290
9290
|
return gt ? {
|
|
9291
9291
|
popperRect: I.getBoundingClientRect(),
|
|
@@ -9382,12 +9382,12 @@ function cd(n, e) {
|
|
|
9382
9382
|
|
|
9383
9383
|
`, "See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "));
|
|
9384
9384
|
}
|
|
9385
|
-
function
|
|
9385
|
+
function Le() {
|
|
9386
9386
|
return Un(x.querySelectorAll("[data-tippy-root]"));
|
|
9387
9387
|
}
|
|
9388
9388
|
function Rt(b) {
|
|
9389
9389
|
h.clearDelayTimeouts(), b && W("onTrigger", [h, b]), ye();
|
|
9390
|
-
var w = q(!0), E =
|
|
9390
|
+
var w = q(!0), E = L(), R = E[0], I = E[1];
|
|
9391
9391
|
Ce.isTouch && R === "hold" && I && (w = I), w ? r = setTimeout(function() {
|
|
9392
9392
|
h.show();
|
|
9393
9393
|
}, w) : h.show();
|
|
@@ -9423,7 +9423,7 @@ function cd(n, e) {
|
|
|
9423
9423
|
}));
|
|
9424
9424
|
h.props = E, mt(), w.interactiveDebounce !== E.interactiveDebounce && (qe(), g = io(dn, E.interactiveDebounce)), w.triggerTarget && !E.triggerTarget ? wt(w.triggerTarget).forEach(function(R) {
|
|
9425
9425
|
R.removeAttribute("aria-expanded");
|
|
9426
|
-
}) : E.triggerTarget && n.removeAttribute("aria-expanded"), we(), K(), N && N(w, E), h.popperInstance && (hn(),
|
|
9426
|
+
}) : E.triggerTarget && n.removeAttribute("aria-expanded"), we(), K(), N && N(w, E), h.popperInstance && (hn(), Le().forEach(function(R) {
|
|
9427
9427
|
requestAnimationFrame(R._tippy.popperInstance.forceUpdate);
|
|
9428
9428
|
})), W("onAfterUpdate", [h, b]);
|
|
9429
9429
|
}
|
|
@@ -9470,7 +9470,7 @@ function cd(n, e) {
|
|
|
9470
9470
|
process.env.NODE_ENV !== "production" && De(h.state.isDestroyed, vt("hideWithInteractivity")), ie().addEventListener("mousemove", g), oo(Mn, g), g(b);
|
|
9471
9471
|
}
|
|
9472
9472
|
function aa() {
|
|
9473
|
-
process.env.NODE_ENV !== "production" && De(h.state.isDestroyed, vt("unmount")), h.state.isVisible && h.hide(), h.state.isMounted && (mn(),
|
|
9473
|
+
process.env.NODE_ENV !== "production" && De(h.state.isDestroyed, vt("unmount")), h.state.isVisible && h.hide(), h.state.isMounted && (mn(), Le().forEach(function(b) {
|
|
9474
9474
|
b._tippy.unmount();
|
|
9475
9475
|
}), x.parentNode && x.parentNode.removeChild(x), yr = yr.filter(function(b) {
|
|
9476
9476
|
return b !== h;
|
|
@@ -9505,7 +9505,7 @@ function un(n, e) {
|
|
|
9505
9505
|
un.defaultProps = ae;
|
|
9506
9506
|
un.setDefaultProps = od;
|
|
9507
9507
|
un.currentInput = Ce;
|
|
9508
|
-
Object.assign({},
|
|
9508
|
+
Object.assign({}, Ls, {
|
|
9509
9509
|
effect: function(e) {
|
|
9510
9510
|
var t = e.state, r = {
|
|
9511
9511
|
popper: {
|
|
@@ -9768,8 +9768,12 @@ const vd = ee.create({
|
|
|
9768
9768
|
getAttrs: (n) => {
|
|
9769
9769
|
const e = n.style.backgroundColor;
|
|
9770
9770
|
if (!e) return !1;
|
|
9771
|
-
const t = e.
|
|
9772
|
-
|
|
9771
|
+
const t = e.match(/\d+/g);
|
|
9772
|
+
if (t) {
|
|
9773
|
+
const [r, i, o] = t.map(Number);
|
|
9774
|
+
if (r + i + o < 130 || r + i + o > 720) return !1;
|
|
9775
|
+
}
|
|
9776
|
+
return { color: e };
|
|
9773
9777
|
}
|
|
9774
9778
|
}
|
|
9775
9779
|
];
|