@fileverse-dev/ddoc 2.3.0-rtc-patch-2 → 2.3.0-rtc-patch-4
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/{ccip-CBrV9CCB.mjs → ccip-mgqLOHzV.mjs} +1 -1
- package/dist/{index-CjlFbMdx.mjs → index-4USFk2FD.mjs} +820 -811
- package/dist/index.es.js +1 -1
- package/dist/package/sync-local/actions/index.d.ts +12 -2
- package/dist/package/sync-local/socketClient.d.ts +0 -1
- package/dist/package/sync-local/types/index.d.ts +0 -2
- package/dist/package/sync-local/useSyncMachine.d.ts +2 -1
- package/dist/package/types.d.ts +2 -0
- package/package.json +4 -3
@@ -216,18 +216,18 @@ function y0e() {
|
|
216
216
|
N < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
217
217
|
}
|
218
218
|
}
|
219
|
-
var Q = y.ReactCurrentDispatcher,
|
219
|
+
var Q = y.ReactCurrentDispatcher, X;
|
220
220
|
function te(W, be, Te) {
|
221
221
|
{
|
222
|
-
if (
|
222
|
+
if (X === void 0)
|
223
223
|
try {
|
224
224
|
throw Error();
|
225
225
|
} catch (We) {
|
226
226
|
var Ke = We.stack.trim().match(/\n( *(at )?)/);
|
227
|
-
|
227
|
+
X = Ke && Ke[1] || "";
|
228
228
|
}
|
229
229
|
return `
|
230
|
-
` +
|
230
|
+
` + X + W;
|
231
231
|
}
|
232
232
|
}
|
233
233
|
var ne = !1, D;
|
@@ -630,13 +630,13 @@ Check the top-level render call using <` + Te + ">.");
|
|
630
630
|
return _a !== "key";
|
631
631
|
}), ar = Rt.length > 0 ? "{key: someKey, " + Rt.join(": ..., ") + ": ...}" : "{key: someKey}";
|
632
632
|
if (!kn[gn + ar]) {
|
633
|
-
var
|
633
|
+
var Eo = Rt.length > 0 ? "{" + Rt.join(": ..., ") + ": ...}" : "{}";
|
634
634
|
x(`A props object containing a "key" prop is being spread into JSX:
|
635
635
|
let props = %s;
|
636
636
|
<%s {...props} />
|
637
637
|
React keys must be passed directly to JSX without using spread:
|
638
638
|
let props = %s;
|
639
|
-
<%s key={someKey} {...props} />`, ar, gn,
|
639
|
+
<%s key={someKey} {...props} />`, ar, gn, Eo, gn), kn[gn + ar] = !0;
|
640
640
|
}
|
641
641
|
}
|
642
642
|
return W === r ? ln(Be) : Vt(Be), Be;
|
@@ -654,11 +654,11 @@ React keys must be passed directly to JSX without using spread:
|
|
654
654
|
}
|
655
655
|
process.env.NODE_ENV === "production" ? Rk.exports = g0e() : Rk.exports = y0e();
|
656
656
|
var k = Rk.exports;
|
657
|
-
function
|
657
|
+
function ho(e) {
|
658
658
|
this.content = e;
|
659
659
|
}
|
660
|
-
|
661
|
-
constructor:
|
660
|
+
ho.prototype = {
|
661
|
+
constructor: ho,
|
662
662
|
find: function(e) {
|
663
663
|
for (var t = 0; t < this.content.length; t += 2)
|
664
664
|
if (this.content[t] === e) return t;
|
@@ -677,7 +677,7 @@ po.prototype = {
|
|
677
677
|
// given, the key of the binding will be replaced with that key.
|
678
678
|
update: function(e, t, n) {
|
679
679
|
var r = n && n != e ? this.remove(n) : this, o = r.find(e), i = r.content.slice();
|
680
|
-
return o == -1 ? i.push(n || e, t) : (i[o + 1] = t, n && (i[o] = n)), new
|
680
|
+
return o == -1 ? i.push(n || e, t) : (i[o + 1] = t, n && (i[o] = n)), new ho(i);
|
681
681
|
},
|
682
682
|
// :: (string) → OrderedMap
|
683
683
|
// Return a map with the given key removed, if it existed.
|
@@ -685,25 +685,25 @@ po.prototype = {
|
|
685
685
|
var t = this.find(e);
|
686
686
|
if (t == -1) return this;
|
687
687
|
var n = this.content.slice();
|
688
|
-
return n.splice(t, 2), new
|
688
|
+
return n.splice(t, 2), new ho(n);
|
689
689
|
},
|
690
690
|
// :: (string, any) → OrderedMap
|
691
691
|
// Add a new key to the start of the map.
|
692
692
|
addToStart: function(e, t) {
|
693
|
-
return new
|
693
|
+
return new ho([e, t].concat(this.remove(e).content));
|
694
694
|
},
|
695
695
|
// :: (string, any) → OrderedMap
|
696
696
|
// Add a new key to the end of the map.
|
697
697
|
addToEnd: function(e, t) {
|
698
698
|
var n = this.remove(e).content.slice();
|
699
|
-
return n.push(e, t), new
|
699
|
+
return n.push(e, t), new ho(n);
|
700
700
|
},
|
701
701
|
// :: (string, string, any) → OrderedMap
|
702
702
|
// Add a key after the given key. If `place` is not found, the new
|
703
703
|
// key is added to the end.
|
704
704
|
addBefore: function(e, t, n) {
|
705
705
|
var r = this.remove(t), o = r.content.slice(), i = r.find(e);
|
706
|
-
return o.splice(i == -1 ? o.length : i, 0, t, n), new
|
706
|
+
return o.splice(i == -1 ? o.length : i, 0, t, n), new ho(o);
|
707
707
|
},
|
708
708
|
// :: ((key: string, value: any))
|
709
709
|
// Call the given function for each key/value pair in the map, in
|
@@ -716,20 +716,20 @@ po.prototype = {
|
|
716
716
|
// Create a new map by prepending the keys in this map that don't
|
717
717
|
// appear in `map` before the keys in `map`.
|
718
718
|
prepend: function(e) {
|
719
|
-
return e =
|
719
|
+
return e = ho.from(e), e.size ? new ho(e.content.concat(this.subtract(e).content)) : this;
|
720
720
|
},
|
721
721
|
// :: (union<Object, OrderedMap>) → OrderedMap
|
722
722
|
// Create a new map by appending the keys in this map that don't
|
723
723
|
// appear in `map` after the keys in `map`.
|
724
724
|
append: function(e) {
|
725
|
-
return e =
|
725
|
+
return e = ho.from(e), e.size ? new ho(this.subtract(e).content.concat(e.content)) : this;
|
726
726
|
},
|
727
727
|
// :: (union<Object, OrderedMap>) → OrderedMap
|
728
728
|
// Create a map containing all the keys in this map that don't
|
729
729
|
// appear in `map`.
|
730
730
|
subtract: function(e) {
|
731
731
|
var t = this;
|
732
|
-
e =
|
732
|
+
e = ho.from(e);
|
733
733
|
for (var n = 0; n < e.content.length; n += 2)
|
734
734
|
t = t.remove(e.content[n]);
|
735
735
|
return t;
|
@@ -748,11 +748,11 @@ po.prototype = {
|
|
748
748
|
return this.content.length >> 1;
|
749
749
|
}
|
750
750
|
};
|
751
|
-
|
752
|
-
if (e instanceof
|
751
|
+
ho.from = function(e) {
|
752
|
+
if (e instanceof ho) return e;
|
753
753
|
var t = [];
|
754
754
|
if (e) for (var n in e) t.push(n, e[n]);
|
755
|
-
return new
|
755
|
+
return new ho(t);
|
756
756
|
};
|
757
757
|
function cW(e, t, n) {
|
758
758
|
for (let r = 0; ; r++) {
|
@@ -2706,7 +2706,7 @@ class nA {
|
|
2706
2706
|
let n = this.spec = {};
|
2707
2707
|
for (let o in t)
|
2708
2708
|
n[o] = t[o];
|
2709
|
-
n.nodes =
|
2709
|
+
n.nodes = ho.from(t.nodes), n.marks = ho.from(t.marks || {}), this.nodes = NN.compile(this.spec.nodes, this), this.marks = nx.compile(this.spec.marks, this);
|
2710
2710
|
let r = /* @__PURE__ */ Object.create(null);
|
2711
2711
|
for (let o in this.nodes) {
|
2712
2712
|
if (o in this.marks)
|
@@ -5779,7 +5779,7 @@ class hn {
|
|
5779
5779
|
return t[this.key];
|
5780
5780
|
}
|
5781
5781
|
}
|
5782
|
-
const
|
5782
|
+
const bo = function(e) {
|
5783
5783
|
for (var t = 0; ; t++)
|
5784
5784
|
if (e = e.previousSibling, !e)
|
5785
5785
|
return t;
|
@@ -5804,7 +5804,7 @@ function YN(e, t, n, r, o) {
|
|
5804
5804
|
let i = e.parentNode;
|
5805
5805
|
if (!i || i.nodeType != 1 || Zg(e) || pfe.test(e.nodeName) || e.contentEditable == "false")
|
5806
5806
|
return !1;
|
5807
|
-
t =
|
5807
|
+
t = bo(e) + (o < 0 ? 0 : 1), e = i;
|
5808
5808
|
} else if (e.nodeType == 1) {
|
5809
5809
|
if (e = e.childNodes[t + (o < 0 ? -1 : 0)], e.contentEditable == "false")
|
5810
5810
|
return !1;
|
@@ -5825,7 +5825,7 @@ function mfe(e, t) {
|
|
5825
5825
|
return null;
|
5826
5826
|
e = e.childNodes[t - 1], t = ba(e);
|
5827
5827
|
} else if (e.parentNode && !Zg(e))
|
5828
|
-
t =
|
5828
|
+
t = bo(e), e = e.parentNode;
|
5829
5829
|
else
|
5830
5830
|
return null;
|
5831
5831
|
}
|
@@ -5839,7 +5839,7 @@ function gfe(e, t) {
|
|
5839
5839
|
return null;
|
5840
5840
|
e = e.childNodes[t], t = 0;
|
5841
5841
|
} else if (e.parentNode && !Zg(e))
|
5842
|
-
t =
|
5842
|
+
t = bo(e) + 1, e = e.parentNode;
|
5843
5843
|
else
|
5844
5844
|
return null;
|
5845
5845
|
}
|
@@ -5848,7 +5848,7 @@ function yfe(e, t, n) {
|
|
5848
5848
|
for (let r = t == 0, o = t == ba(e); r || o; ) {
|
5849
5849
|
if (e == n)
|
5850
5850
|
return !0;
|
5851
|
-
let i =
|
5851
|
+
let i = bo(e);
|
5852
5852
|
if (e = e.parentNode, !e)
|
5853
5853
|
return !1;
|
5854
5854
|
r = r && i == 0, o = o && i == ba(e);
|
@@ -6319,7 +6319,7 @@ class Kg {
|
|
6319
6319
|
}
|
6320
6320
|
let o;
|
6321
6321
|
if (t == this.dom && this.contentDOM)
|
6322
|
-
o = n >
|
6322
|
+
o = n > bo(this.contentDOM);
|
6323
6323
|
else if (this.contentDOM && this.contentDOM != this.dom && this.dom.contains(this.contentDOM))
|
6324
6324
|
o = t.compareDocumentPosition(this.contentDOM) & 2;
|
6325
6325
|
else if (this.dom.firstChild) {
|
@@ -6409,12 +6409,12 @@ class Kg {
|
|
6409
6409
|
let i, a = !0;
|
6410
6410
|
for (; i = r ? this.children[r - 1] : null, !(!i || i.dom.parentNode == this.contentDOM); r--, a = !1)
|
6411
6411
|
;
|
6412
|
-
return i && n && a && !i.border && !i.domAtom ? i.domFromPos(i.size, n) : { node: this.contentDOM, offset: i ?
|
6412
|
+
return i && n && a && !i.border && !i.domAtom ? i.domFromPos(i.size, n) : { node: this.contentDOM, offset: i ? bo(i.dom) + 1 : 0 };
|
6413
6413
|
} else {
|
6414
6414
|
let i, a = !0;
|
6415
6415
|
for (; i = r < this.children.length ? this.children[r] : null, !(!i || i.dom.parentNode == this.contentDOM); r++, a = !1)
|
6416
6416
|
;
|
6417
|
-
return i && a && !i.border && !i.domAtom ? i.domFromPos(0, n) : { node: this.contentDOM, offset: i ?
|
6417
|
+
return i && a && !i.border && !i.domAtom ? i.domFromPos(0, n) : { node: this.contentDOM, offset: i ? bo(i.dom) : this.contentDOM.childNodes.length };
|
6418
6418
|
}
|
6419
6419
|
}
|
6420
6420
|
// Used to find a DOM range in a single parent for a given changed
|
@@ -6433,7 +6433,7 @@ class Kg {
|
|
6433
6433
|
for (let d = s; d > 0; d--) {
|
6434
6434
|
let f = this.children[d - 1];
|
6435
6435
|
if (f.size && f.dom.parentNode == this.contentDOM && !f.emptyChildAt(1)) {
|
6436
|
-
o =
|
6436
|
+
o = bo(f.dom) + 1;
|
6437
6437
|
break;
|
6438
6438
|
}
|
6439
6439
|
t -= f.size;
|
@@ -6445,7 +6445,7 @@ class Kg {
|
|
6445
6445
|
for (let u = s + 1; u < this.children.length; u++) {
|
6446
6446
|
let d = this.children[u];
|
6447
6447
|
if (d.size && d.dom.parentNode == this.contentDOM && !d.emptyChildAt(-1)) {
|
6448
|
-
i =
|
6448
|
+
i = bo(d.dom);
|
6449
6449
|
break;
|
6450
6450
|
}
|
6451
6451
|
n += d.size;
|
@@ -6490,7 +6490,7 @@ class Kg {
|
|
6490
6490
|
`), d && p == h.nodeValue.length)
|
6491
6491
|
for (let m = h, g; m; m = m.parentNode) {
|
6492
6492
|
if (g = m.nextSibling) {
|
6493
|
-
g.nodeName == "BR" && (s = l = { node: g.parentNode, offset:
|
6493
|
+
g.nodeName == "BR" && (s = l = { node: g.parentNode, offset: bo(g) + 1 });
|
6494
6494
|
break;
|
6495
6495
|
}
|
6496
6496
|
let y = m.pmViewDesc;
|
@@ -7330,7 +7330,7 @@ function Zfe(e) {
|
|
7330
7330
|
if (!t)
|
7331
7331
|
return;
|
7332
7332
|
let r = e.cursorWrapper.dom, o = r.nodeName == "IMG";
|
7333
|
-
o ? n.setStart(r.parentNode,
|
7333
|
+
o ? n.setStart(r.parentNode, bo(r) + 1) : n.setStart(r, 0), n.collapse(!0), t.removeAllRanges(), t.addRange(n), !o && !e.state.selection.visible && vi && Cu <= 11 && (r.disabled = !0, r.disabled = !1);
|
7334
7334
|
}
|
7335
7335
|
function tG(e, t) {
|
7336
7336
|
if (t instanceof Et) {
|
@@ -7433,7 +7433,7 @@ function Kfe(e) {
|
|
7433
7433
|
{
|
7434
7434
|
let s = n.previousSibling;
|
7435
7435
|
for (; s && x2(s, -1); )
|
7436
|
-
o = n.parentNode, i =
|
7436
|
+
o = n.parentNode, i = bo(s), s = s.previousSibling;
|
7437
7437
|
if (s)
|
7438
7438
|
n = s, r = B6(n);
|
7439
7439
|
else {
|
@@ -7465,7 +7465,7 @@ function Yfe(e) {
|
|
7465
7465
|
{
|
7466
7466
|
let s = n.nextSibling;
|
7467
7467
|
for (; s && x2(s, 1); )
|
7468
|
-
i = s.parentNode, a =
|
7468
|
+
i = s.parentNode, a = bo(s) + 1, s = s.nextSibling;
|
7469
7469
|
if (s)
|
7470
7470
|
n = s, r = 0, o = B6(n);
|
7471
7471
|
else {
|
@@ -7483,7 +7483,7 @@ function rG(e) {
|
|
7483
7483
|
}
|
7484
7484
|
function Jfe(e, t) {
|
7485
7485
|
for (; e && t == e.childNodes.length && !Zg(e); )
|
7486
|
-
t =
|
7486
|
+
t = bo(e) + 1, e = e.parentNode;
|
7487
7487
|
for (; e && t < e.childNodes.length; ) {
|
7488
7488
|
let n = e.childNodes[t];
|
7489
7489
|
if (n.nodeType == 3)
|
@@ -7495,7 +7495,7 @@ function Jfe(e, t) {
|
|
7495
7495
|
}
|
7496
7496
|
function Qfe(e, t) {
|
7497
7497
|
for (; e && !t && !Zg(e); )
|
7498
|
-
t =
|
7498
|
+
t = bo(e), e = e.parentNode;
|
7499
7499
|
for (; e && t; ) {
|
7500
7500
|
let n = e.childNodes[t - 1];
|
7501
7501
|
if (n.nodeType == 3)
|
@@ -8890,7 +8890,7 @@ class Ihe {
|
|
8890
8890
|
let { previousSibling: d, nextSibling: f } = t.addedNodes[u];
|
8891
8891
|
(!d || Array.prototype.indexOf.call(t.addedNodes, d) < 0) && (o = d), (!f || Array.prototype.indexOf.call(t.addedNodes, f) < 0) && (i = f);
|
8892
8892
|
}
|
8893
|
-
let a = o && o.parentNode == t.target ?
|
8893
|
+
let a = o && o.parentNode == t.target ? bo(o) + 1 : 0, s = r.localPosFromDOM(t.target, a, -1), l = i && i.parentNode == t.target ? bo(i) : t.target.childNodes.length, c = r.localPosFromDOM(t.target, l, 1);
|
8894
8894
|
return { from: s, to: c };
|
8895
8895
|
} else return t.type == "attributes" ? { from: r.posAtStart - r.border, to: r.posAtEnd + r.border } : (this.lastChangedTextNode = t.target, {
|
8896
8896
|
from: r.posAtStart,
|
@@ -9592,10 +9592,10 @@ var Tu = {
|
|
9592
9592
|
221: "}",
|
9593
9593
|
222: '"'
|
9594
9594
|
}, $he = typeof navigator < "u" && /Mac/.test(navigator.platform), Khe = typeof navigator < "u" && /MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);
|
9595
|
-
for (var
|
9596
|
-
for (var
|
9597
|
-
for (var
|
9598
|
-
Tu[
|
9595
|
+
for (var xo = 0; xo < 10; xo++) Tu[48 + xo] = Tu[96 + xo] = String(xo);
|
9596
|
+
for (var xo = 1; xo <= 24; xo++) Tu[xo + 111] = "F" + xo;
|
9597
|
+
for (var xo = 65; xo <= 90; xo++)
|
9598
|
+
Tu[xo] = String.fromCharCode(xo + 32), z6[xo] = String.fromCharCode(xo);
|
9599
9599
|
for (var J8 in Tu) z6.hasOwnProperty(J8) || (z6[J8] = Tu[J8]);
|
9600
9600
|
function Yhe(e) {
|
9601
9601
|
var t = $he && e.metaKey && e.shiftKey && !e.ctrlKey && !e.altKey || Khe && e.shiftKey && e.key && e.key.length == 1 || e.key == "Unidentified", n = !t && e.key || (e.shiftKey ? z6 : Tu)[e.keyCode] || e.key || "Unidentified";
|
@@ -13455,8 +13455,8 @@ function qme(e) {
|
|
13455
13455
|
}
|
13456
13456
|
if (E)
|
13457
13457
|
for (var K = p ? 3 : 1, Z = function(ie) {
|
13458
|
-
var Q = v.find(function(
|
13459
|
-
var te = A.get(
|
13458
|
+
var Q = v.find(function(X) {
|
13459
|
+
var te = A.get(X);
|
13460
13460
|
if (te)
|
13461
13461
|
return te.slice(0, ie).every(function(ne) {
|
13462
13462
|
return ne;
|
@@ -13586,7 +13586,7 @@ function Xme(e) {
|
|
13586
13586
|
var z, T = v === "y" ? wi : ki, N = v === "y" ? Aa : ja, V = v === "y" ? "height" : "width", I = C[v], H = I + g[T], U = I - g[N], K = h ? -E[V] / 2 : 0, Z = x === Uf ? A[V] : E[V], G = x === Uf ? -E[V] : -A[V], ae = t.elements.arrow, se = h && ae ? NA(ae) : {
|
13587
13587
|
width: 0,
|
13588
13588
|
height: 0
|
13589
|
-
}, ie = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : eZ(), Q = ie[T],
|
13589
|
+
}, ie = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : eZ(), Q = ie[T], X = ie[N], te = v2(0, A[V], se[V]), ne = w ? A[V] / 2 - K - te - Q - R.mainAxis : Z - te - Q - R.mainAxis, D = w ? -A[V] / 2 + K + te + X + R.mainAxis : G + te + X + R.mainAxis, $ = t.elements.arrow && Jg(t.elements.arrow), ue = $ ? v === "y" ? $.clientTop || 0 : $.clientLeft || 0 : 0, ge = (z = _ == null ? void 0 : _[v]) != null ? z : 0, oe = I + ne - ge - ue, Fe = I + D - ge, xe = v2(h ? U6(H, oe) : H, I, h ? hd(U, Fe) : U);
|
13590
13590
|
C[v] = xe, O[v] = xe - I;
|
13591
13591
|
}
|
13592
13592
|
if (s) {
|
@@ -14296,7 +14296,7 @@ function Pge(e, t) {
|
|
14296
14296
|
var ce = T();
|
14297
14297
|
ce.removeEventListener("mousedown", G, !0), ce.removeEventListener("touchend", G, L1), ce.removeEventListener("touchstart", se, L1), ce.removeEventListener("touchmove", ae, L1);
|
14298
14298
|
}
|
14299
|
-
function
|
14299
|
+
function X(ce, Ne) {
|
14300
14300
|
ne(ce, function() {
|
14301
14301
|
!v.state.isVisible && C.parentNode && C.parentNode.contains(C) && Ne();
|
14302
14302
|
});
|
@@ -14541,7 +14541,7 @@ function Pge(e, t) {
|
|
14541
14541
|
var ke = N(), Ee = ke.box, Ie = ke.content;
|
14542
14542
|
v.props.animation && (r9([Ee, Ie], _e), $I([Ee, Ie], "hidden"));
|
14543
14543
|
}
|
14544
|
-
U(), K(), v.props.animation ? O() &&
|
14544
|
+
U(), K(), v.props.animation ? O() && X(_e, v.unmount) : v.unmount();
|
14545
14545
|
}
|
14546
14546
|
}
|
14547
14547
|
function pe(ce) {
|
@@ -15789,18 +15789,18 @@ function d3e() {
|
|
15789
15789
|
N < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
15790
15790
|
}
|
15791
15791
|
}
|
15792
|
-
var Q = y.ReactCurrentDispatcher,
|
15792
|
+
var Q = y.ReactCurrentDispatcher, X;
|
15793
15793
|
function te(W, be, Te) {
|
15794
15794
|
{
|
15795
|
-
if (
|
15795
|
+
if (X === void 0)
|
15796
15796
|
try {
|
15797
15797
|
throw Error();
|
15798
15798
|
} catch (We) {
|
15799
15799
|
var Ke = We.stack.trim().match(/\n( *(at )?)/);
|
15800
|
-
|
15800
|
+
X = Ke && Ke[1] || "";
|
15801
15801
|
}
|
15802
15802
|
return `
|
15803
|
-
` +
|
15803
|
+
` + X + W;
|
15804
15804
|
}
|
15805
15805
|
}
|
15806
15806
|
var ne = !1, D;
|
@@ -16203,13 +16203,13 @@ Check the top-level render call using <` + Te + ">.");
|
|
16203
16203
|
return _a !== "key";
|
16204
16204
|
}), ar = Rt.length > 0 ? "{key: someKey, " + Rt.join(": ..., ") + ": ...}" : "{key: someKey}";
|
16205
16205
|
if (!kn[gn + ar]) {
|
16206
|
-
var
|
16206
|
+
var Eo = Rt.length > 0 ? "{" + Rt.join(": ..., ") + ": ...}" : "{}";
|
16207
16207
|
x(`A props object containing a "key" prop is being spread into JSX:
|
16208
16208
|
let props = %s;
|
16209
16209
|
<%s {...props} />
|
16210
16210
|
React keys must be passed directly to JSX without using spread:
|
16211
16211
|
let props = %s;
|
16212
|
-
<%s key={someKey} {...props} />`, ar, gn,
|
16212
|
+
<%s key={someKey} {...props} />`, ar, gn, Eo, gn), kn[gn + ar] = !0;
|
16213
16213
|
}
|
16214
16214
|
}
|
16215
16215
|
return W === r ? ln(Be) : Vt(Be), Be;
|
@@ -44865,12 +44865,12 @@ function VZ(e, t, n, { discrete: r }) {
|
|
44865
44865
|
const o = n.originalEvent.target, i = new CustomEvent(e, { bubbles: !1, cancelable: !0, detail: n });
|
44866
44866
|
t && o.addEventListener(e, t, { once: !0 }), r ? RZ(o, i) : o.dispatchEvent(i);
|
44867
44867
|
}
|
44868
|
-
var Vft = Xd, qft = HZ,
|
44868
|
+
var Vft = Xd, qft = HZ, Fo = globalThis != null && globalThis.document ? L.useLayoutEffect : () => {
|
44869
44869
|
}, Uft = L.useId || (() => {
|
44870
44870
|
}), Wft = 0;
|
44871
44871
|
function io(e) {
|
44872
44872
|
const [t, n] = L.useState(Uft());
|
44873
|
-
return
|
44873
|
+
return Fo(() => {
|
44874
44874
|
n((r) => r ?? String(Wft++));
|
44875
44875
|
}, [e]), t ? `radix-${t}` : "";
|
44876
44876
|
}
|
@@ -46187,7 +46187,7 @@ XZ.displayName = qht;
|
|
46187
46187
|
var Uht = XZ;
|
46188
46188
|
function YA(e) {
|
46189
46189
|
const [t, n] = L.useState(void 0);
|
46190
|
-
return
|
46190
|
+
return Fo(() => {
|
46191
46191
|
if (e) {
|
46192
46192
|
n({ width: e.offsetWidth, height: e.offsetHeight });
|
46193
46193
|
const r = new ResizeObserver((o) => {
|
@@ -46274,12 +46274,12 @@ var QA = "PopperContent", [Ght, Zht] = e$(QA), i$ = L.forwardRef(
|
|
46274
46274
|
Yht({ arrowWidth: z, arrowHeight: T }),
|
46275
46275
|
x && Hht({ strategy: "referenceHidden", ...U })
|
46276
46276
|
]
|
46277
|
-
}), [ie, Q] = l$(G),
|
46278
|
-
|
46279
|
-
ae && (
|
46280
|
-
}, [ae,
|
46277
|
+
}), [ie, Q] = l$(G), X = Ai(v);
|
46278
|
+
Fo(() => {
|
46279
|
+
ae && (X == null || X());
|
46280
|
+
}, [ae, X]);
|
46281
46281
|
const te = (n = se.arrow) == null ? void 0 : n.x, ne = (r = se.arrow) == null ? void 0 : r.y, D = ((o = se.arrow) == null ? void 0 : o.centerOffset) !== 0, [$, ue] = L.useState();
|
46282
|
-
return
|
46282
|
+
return Fo(() => {
|
46283
46283
|
A && ue(window.getComputedStyle(A).zIndex);
|
46284
46284
|
}, [A]), /* @__PURE__ */ F.jsx(
|
46285
46285
|
"div",
|
@@ -46407,7 +46407,7 @@ function l$(e) {
|
|
46407
46407
|
var XA = n$, e3 = o$, Ex = i$, Ax = s$, Jht = "Portal", Nh = L.forwardRef((e, t) => {
|
46408
46408
|
var n;
|
46409
46409
|
const { container: r, ...o } = e, [i, a] = L.useState(!1);
|
46410
|
-
|
46410
|
+
Fo(() => a(!0), []);
|
46411
46411
|
const s = r || i && ((n = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : n.body);
|
46412
46412
|
return s ? tA.createPortal(/* @__PURE__ */ F.jsx(Mt.div, { ...o, ref: t }), s) : null;
|
46413
46413
|
});
|
@@ -46437,13 +46437,13 @@ function Xht(e) {
|
|
46437
46437
|
return L.useEffect(() => {
|
46438
46438
|
const c = g4(r.current);
|
46439
46439
|
i.current = s === "mounted" ? c : "none";
|
46440
|
-
}, [s]),
|
46440
|
+
}, [s]), Fo(() => {
|
46441
46441
|
const c = r.current, u = o.current;
|
46442
46442
|
if (u !== e) {
|
46443
46443
|
const d = i.current, f = g4(c);
|
46444
46444
|
e ? l("MOUNT") : f === "none" || (c == null ? void 0 : c.display) === "none" ? l("UNMOUNT") : l(u && d !== f ? "ANIMATION_OUT" : "UNMOUNT"), o.current = e;
|
46445
46445
|
}
|
46446
|
-
}, [e, l]),
|
46446
|
+
}, [e, l]), Fo(() => {
|
46447
46447
|
if (t) {
|
46448
46448
|
let c;
|
46449
46449
|
const u = t.ownerDocument.defaultView ?? window, d = (h) => {
|
@@ -47067,7 +47067,7 @@ function w$(e, t) {
|
|
47067
47067
|
a[b4[g]].cancel(m);
|
47068
47068
|
}, state: o, steps: a };
|
47069
47069
|
}
|
47070
|
-
const { schedule: or, cancel: _u, state:
|
47070
|
+
const { schedule: or, cancel: _u, state: mo, steps: h9 } = w$(typeof requestAnimationFrame < "u" ? requestAnimationFrame : Fi, !0), k$ = On({ strict: !1 }), EO = {
|
47071
47071
|
animation: [
|
47072
47072
|
"animate",
|
47073
47073
|
"variants",
|
@@ -48063,7 +48063,7 @@ function N2t() {
|
|
48063
48063
|
Jy = void 0;
|
48064
48064
|
}
|
48065
48065
|
const el = {
|
48066
|
-
now: () => (Jy === void 0 && el.set(
|
48066
|
+
now: () => (Jy === void 0 && el.set(mo.isProcessing || jpt.useManualTiming ? mo.timestamp : performance.now()), Jy),
|
48067
48067
|
set: (e) => {
|
48068
48068
|
Jy = e, queueMicrotask(N2t);
|
48069
48069
|
}
|
@@ -49131,7 +49131,7 @@ const qmt = (e) => {
|
|
49131
49131
|
* If we're processing this frame we can use the
|
49132
49132
|
* framelocked timestamp to keep things in sync.
|
49133
49133
|
*/
|
49134
|
-
now: () =>
|
49134
|
+
now: () => mo.isProcessing ? mo.timestamp : el.now()
|
49135
49135
|
};
|
49136
49136
|
}, Umt = {
|
49137
49137
|
decay: KO,
|
@@ -49822,7 +49822,7 @@ class AK {
|
|
49822
49822
|
const d = x9(this.lastMoveEventInfo, this.history), f = this.startEvent !== null, h = vgt(d.offset, { x: 0, y: 0 }) >= 3;
|
49823
49823
|
if (!f && !h)
|
49824
49824
|
return;
|
49825
|
-
const { point: p } = d, { timestamp: m } =
|
49825
|
+
const { point: p } = d, { timestamp: m } = mo;
|
49826
49826
|
this.history.push({ ...p, timestamp: m });
|
49827
49827
|
const { onStart: g, onMove: y } = this.handlers;
|
49828
49828
|
f || (g && g(this.lastMoveEvent, d), this.startEvent = this.lastMoveEvent), y && y(this.lastMoveEvent, d);
|
@@ -49838,7 +49838,7 @@ class AK {
|
|
49838
49838
|
}, !Fj(t))
|
49839
49839
|
return;
|
49840
49840
|
this.dragSnapToOrigin = i, this.handlers = n, this.transformPagePoint = r, this.contextWindow = o || window;
|
49841
|
-
const a = a3(t), s = b9(a, this.transformPagePoint), { point: l } = s, { timestamp: c } =
|
49841
|
+
const a = a3(t), s = b9(a, this.transformPagePoint), { point: l } = s, { timestamp: c } = mo;
|
49842
49842
|
this.history = [{ ...l, timestamp: c }];
|
49843
49843
|
const { onSessionStart: u } = n;
|
49844
49844
|
u && u(t, x9(s, this.history)), this.removeListeners = i3(M2(this.contextWindow, "pointermove", this.handlePointerMove), M2(this.contextWindow, "pointerup", this.handlePointerUp), M2(this.contextWindow, "pointercancel", this.handlePointerUp));
|
@@ -50733,7 +50733,7 @@ function VK({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
50733
50733
|
}
|
50734
50734
|
this.isUpdating || this.nodes.forEach(m3t), this.isUpdating = !1, this.nodes.forEach(g3t), this.nodes.forEach(u3t), this.nodes.forEach(d3t), this.clearAllSnapshots();
|
50735
50735
|
const i = el.now();
|
50736
|
-
|
50736
|
+
mo.delta = gc(0, 1e3 / 60, i - mo.timestamp), mo.timestamp = i, mo.isProcessing = !0, h9.update.process(mo), h9.preRender.process(mo), h9.render.process(mo), mo.isProcessing = !1;
|
50737
50737
|
}
|
50738
50738
|
didUpdate() {
|
50739
50739
|
this.updateScheduled || (this.updateScheduled = !0, uj.read(this.scheduleUpdate));
|
@@ -50858,7 +50858,7 @@ function VK({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
50858
50858
|
this.scroll = void 0, this.layout = void 0, this.snapshot = void 0, this.prevTransformTemplateValue = void 0, this.targetDelta = void 0, this.target = void 0, this.isLayoutDirty = !1;
|
50859
50859
|
}
|
50860
50860
|
forceRelativeParentToResolveTarget() {
|
50861
|
-
this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !==
|
50861
|
+
this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== mo.timestamp && this.relativeParent.resolveTargetDelta(!0);
|
50862
50862
|
}
|
50863
50863
|
resolveTargetDelta(i = !1) {
|
50864
50864
|
var a;
|
@@ -50869,7 +50869,7 @@ function VK({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
50869
50869
|
return;
|
50870
50870
|
const { layout: c, layoutId: u } = this.options;
|
50871
50871
|
if (!(!this.layout || !(c || u))) {
|
50872
|
-
if (this.resolvedRelativeTargetAt =
|
50872
|
+
if (this.resolvedRelativeTargetAt = mo.timestamp, !this.targetDelta && !this.relativeTarget) {
|
50873
50873
|
const d = this.getClosestProjectingParent();
|
50874
50874
|
d && d.layout && this.animationProgress !== 1 ? (this.relativeParent = d, this.forceRelativeParentToResolveTarget(), this.relativeTarget = Sr(), this.relativeTargetOrigin = Sr(), E2(this.relativeTargetOrigin, this.layout.layoutBox, d.layout.layoutBox), ia(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
|
50875
50875
|
}
|
@@ -50894,7 +50894,7 @@ function VK({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
50894
50894
|
var i;
|
50895
50895
|
const a = this.getLead(), s = !!this.resumingFrom || this !== a;
|
50896
50896
|
let l = !0;
|
50897
|
-
if ((this.isProjectionDirty || !((i = this.parent) === null || i === void 0) && i.isProjectionDirty) && (l = !1), s && (this.isSharedProjectionDirty || this.isTransformDirty) && (l = !1), this.resolvedRelativeTargetAt ===
|
50897
|
+
if ((this.isProjectionDirty || !((i = this.parent) === null || i === void 0) && i.isProjectionDirty) && (l = !1), s && (this.isSharedProjectionDirty || this.isTransformDirty) && (l = !1), this.resolvedRelativeTargetAt === mo.timestamp && (l = !1), l)
|
50898
50898
|
return;
|
50899
50899
|
const { layout: c, layoutId: u } = this.options;
|
50900
50900
|
if (this.isTreeAnimating = !!(this.parent && this.parent.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(c || u))
|
@@ -54043,7 +54043,7 @@ var P4t = L.forwardRef((e, t) => {
|
|
54043
54043
|
return L.useEffect(() => {
|
54044
54044
|
const x = requestAnimationFrame(() => g.current = !1);
|
54045
54045
|
return () => cancelAnimationFrame(x);
|
54046
|
-
}, []),
|
54046
|
+
}, []), Fo(() => {
|
54047
54047
|
const x = c.current;
|
54048
54048
|
if (x) {
|
54049
54049
|
y.current = y.current || {
|
@@ -55842,7 +55842,7 @@ UJ.displayName = qJ;
|
|
55842
55842
|
var WJ = "SelectValue", GJ = L.forwardRef(
|
55843
55843
|
(e, t) => {
|
55844
55844
|
const { __scopeSelect: n, className: r, style: o, children: i, placeholder: a = "", ...s } = e, l = f1(WJ, n), { onValueNodeHasChildrenChange: c } = l, u = i !== void 0, d = fn(t, l.onValueNodeChange);
|
55845
|
-
return
|
55845
|
+
return Fo(() => {
|
55846
55846
|
c(u);
|
55847
55847
|
}, [c, u]), /* @__PURE__ */ F.jsx(
|
55848
55848
|
Mt.span,
|
@@ -55868,7 +55868,7 @@ $J.displayName = _6t;
|
|
55868
55868
|
var Od = "SelectContent", KJ = L.forwardRef(
|
55869
55869
|
(e, t) => {
|
55870
55870
|
const n = f1(Od, e.__scopeSelect), [r, o] = L.useState();
|
55871
|
-
if (
|
55871
|
+
if (Fo(() => {
|
55872
55872
|
o(new DocumentFragment());
|
55873
55873
|
}, []), !n.open) {
|
55874
55874
|
const i = r;
|
@@ -55903,16 +55903,16 @@ var Ha = 10, [YJ, h1] = Ph(Od), P6t = "SelectContentImpl", JJ = L.forwardRef(
|
|
55903
55903
|
avoidCollisions: g,
|
55904
55904
|
//
|
55905
55905
|
...y
|
55906
|
-
} = e, x = f1(Od, n), [w, v] = L.useState(null), [M, C] = L.useState(null), A = fn(t, (
|
55906
|
+
} = e, x = f1(Od, n), [w, v] = L.useState(null), [M, C] = L.useState(null), A = fn(t, (X) => v(X)), [E, j] = L.useState(null), [R, _] = L.useState(
|
55907
55907
|
null
|
55908
55908
|
), O = Yx(n), [z, T] = L.useState(!1), N = L.useRef(!1);
|
55909
55909
|
L.useEffect(() => {
|
55910
55910
|
if (w) return $j(w);
|
55911
55911
|
}, [w]), Zj();
|
55912
55912
|
const V = L.useCallback(
|
55913
|
-
(
|
55913
|
+
(X) => {
|
55914
55914
|
const [te, ...ne] = O().map((ue) => ue.ref.current), [D] = ne.slice(-1), $ = document.activeElement;
|
55915
|
-
for (const ue of
|
55915
|
+
for (const ue of X)
|
55916
55916
|
if (ue === $ || (ue == null || ue.scrollIntoView({ block: "nearest" }), ue === te && M && (M.scrollTop = 0), ue === D && M && (M.scrollTop = M.scrollHeight), ue == null || ue.focus(), document.activeElement !== $)) return;
|
55917
55917
|
},
|
55918
55918
|
[O, M]
|
@@ -55926,39 +55926,39 @@ var Ha = 10, [YJ, h1] = Ph(Od), P6t = "SelectContentImpl", JJ = L.forwardRef(
|
|
55926
55926
|
const { onOpenChange: H, triggerPointerDownPosRef: U } = x;
|
55927
55927
|
L.useEffect(() => {
|
55928
55928
|
if (w) {
|
55929
|
-
let
|
55929
|
+
let X = { x: 0, y: 0 };
|
55930
55930
|
const te = (D) => {
|
55931
55931
|
var $, ue;
|
55932
|
-
|
55932
|
+
X = {
|
55933
55933
|
x: Math.abs(Math.round(D.pageX) - ((($ = U.current) == null ? void 0 : $.x) ?? 0)),
|
55934
55934
|
y: Math.abs(Math.round(D.pageY) - (((ue = U.current) == null ? void 0 : ue.y) ?? 0))
|
55935
55935
|
};
|
55936
55936
|
}, ne = (D) => {
|
55937
|
-
|
55937
|
+
X.x <= 10 && X.y <= 10 ? D.preventDefault() : w.contains(D.target) || H(!1), document.removeEventListener("pointermove", te), U.current = null;
|
55938
55938
|
};
|
55939
55939
|
return U.current !== null && (document.addEventListener("pointermove", te), document.addEventListener("pointerup", ne, { capture: !0, once: !0 })), () => {
|
55940
55940
|
document.removeEventListener("pointermove", te), document.removeEventListener("pointerup", ne, { capture: !0 });
|
55941
55941
|
};
|
55942
55942
|
}
|
55943
55943
|
}, [w, H, U]), L.useEffect(() => {
|
55944
|
-
const
|
55945
|
-
return window.addEventListener("blur",
|
55946
|
-
window.removeEventListener("blur",
|
55944
|
+
const X = () => H(!1);
|
55945
|
+
return window.addEventListener("blur", X), window.addEventListener("resize", X), () => {
|
55946
|
+
window.removeEventListener("blur", X), window.removeEventListener("resize", X);
|
55947
55947
|
};
|
55948
55948
|
}, [H]);
|
55949
|
-
const [K, Z] = mQ((
|
55950
|
-
const te = O().filter(($) => !$.disabled), ne = te.find(($) => $.ref.current === document.activeElement), D = gQ(te,
|
55949
|
+
const [K, Z] = mQ((X) => {
|
55950
|
+
const te = O().filter(($) => !$.disabled), ne = te.find(($) => $.ref.current === document.activeElement), D = gQ(te, X, ne);
|
55951
55951
|
D && setTimeout(() => D.ref.current.focus());
|
55952
55952
|
}), G = L.useCallback(
|
55953
|
-
(
|
55953
|
+
(X, te, ne) => {
|
55954
55954
|
const D = !N.current && !ne;
|
55955
|
-
(x.value !== void 0 && x.value === te || D) && (j(
|
55955
|
+
(x.value !== void 0 && x.value === te || D) && (j(X), D && (N.current = !0));
|
55956
55956
|
},
|
55957
55957
|
[x.value]
|
55958
55958
|
), ae = L.useCallback(() => w == null ? void 0 : w.focus(), [w]), se = L.useCallback(
|
55959
|
-
(
|
55959
|
+
(X, te, ne) => {
|
55960
55960
|
const D = !N.current && !ne;
|
55961
|
-
(x.value !== void 0 && x.value === te || D) && _(
|
55961
|
+
(x.value !== void 0 && x.value === te || D) && _(X);
|
55962
55962
|
},
|
55963
55963
|
[x.value]
|
55964
55964
|
), ie = r === "popper" ? $F : QJ, Q = ie === $F ? {
|
@@ -55994,12 +55994,12 @@ var Ha = 10, [YJ, h1] = Ph(Od), P6t = "SelectContentImpl", JJ = L.forwardRef(
|
|
55994
55994
|
{
|
55995
55995
|
asChild: !0,
|
55996
55996
|
trapped: x.open,
|
55997
|
-
onMountAutoFocus: (
|
55998
|
-
|
55997
|
+
onMountAutoFocus: (X) => {
|
55998
|
+
X.preventDefault();
|
55999
55999
|
},
|
56000
|
-
onUnmountAutoFocus: yt(o, (
|
56000
|
+
onUnmountAutoFocus: yt(o, (X) => {
|
56001
56001
|
var te;
|
56002
|
-
(te = x.trigger) == null || te.focus({ preventScroll: !0 }),
|
56002
|
+
(te = x.trigger) == null || te.focus({ preventScroll: !0 }), X.preventDefault();
|
56003
56003
|
}),
|
56004
56004
|
children: /* @__PURE__ */ F.jsx(
|
56005
56005
|
Xd,
|
@@ -56008,7 +56008,7 @@ var Ha = 10, [YJ, h1] = Ph(Od), P6t = "SelectContentImpl", JJ = L.forwardRef(
|
|
56008
56008
|
disableOutsidePointerEvents: !0,
|
56009
56009
|
onEscapeKeyDown: i,
|
56010
56010
|
onPointerDownOutside: a,
|
56011
|
-
onFocusOutside: (
|
56011
|
+
onFocusOutside: (X) => X.preventDefault(),
|
56012
56012
|
onDismiss: () => x.onOpenChange(!1),
|
56013
56013
|
children: /* @__PURE__ */ F.jsx(
|
56014
56014
|
ie,
|
@@ -56017,7 +56017,7 @@ var Ha = 10, [YJ, h1] = Ph(Od), P6t = "SelectContentImpl", JJ = L.forwardRef(
|
|
56017
56017
|
id: x.contentId,
|
56018
56018
|
"data-state": x.open ? "open" : "closed",
|
56019
56019
|
dir: x.dir,
|
56020
|
-
onContextMenu: (
|
56020
|
+
onContextMenu: (X) => X.preventDefault(),
|
56021
56021
|
...y,
|
56022
56022
|
...Q,
|
56023
56023
|
onPlaced: () => T(!0),
|
@@ -56030,15 +56030,15 @@ var Ha = 10, [YJ, h1] = Ph(Od), P6t = "SelectContentImpl", JJ = L.forwardRef(
|
|
56030
56030
|
outline: "none",
|
56031
56031
|
...y.style
|
56032
56032
|
},
|
56033
|
-
onKeyDown: yt(y.onKeyDown, (
|
56034
|
-
const te =
|
56035
|
-
if (
|
56033
|
+
onKeyDown: yt(y.onKeyDown, (X) => {
|
56034
|
+
const te = X.ctrlKey || X.altKey || X.metaKey;
|
56035
|
+
if (X.key === "Tab" && X.preventDefault(), !te && X.key.length === 1 && Z(X.key), ["ArrowUp", "ArrowDown", "Home", "End"].includes(X.key)) {
|
56036
56036
|
let ne = O().filter((D) => !D.disabled).map((D) => D.ref.current);
|
56037
|
-
if (["ArrowUp", "End"].includes(
|
56038
|
-
const D =
|
56037
|
+
if (["ArrowUp", "End"].includes(X.key) && (ne = ne.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(X.key)) {
|
56038
|
+
const D = X.target, $ = ne.indexOf(D);
|
56039
56039
|
ne = ne.slice($ + 1);
|
56040
56040
|
}
|
56041
|
-
setTimeout(() => V(ne)),
|
56041
|
+
setTimeout(() => V(ne)), X.preventDefault();
|
56042
56042
|
}
|
56043
56043
|
})
|
56044
56044
|
}
|
@@ -56074,7 +56074,7 @@ var z6t = "SelectItemAlignedPosition", QJ = L.forwardRef((e, t) => {
|
|
56074
56074
|
]);
|
56075
56075
|
s.style.minWidth = ge + "px", s.style.right = xe + "px";
|
56076
56076
|
}
|
56077
|
-
const _ = f(), O = window.innerHeight - Ha * 2, z = m.scrollHeight, T = window.getComputedStyle(c), N = parseInt(T.borderTopWidth, 10), V = parseInt(T.paddingTop, 10), I = parseInt(T.borderBottomWidth, 10), H = parseInt(T.paddingBottom, 10), U = N + V + z + H + I, K = Math.min(g.offsetHeight * 5, U), Z = window.getComputedStyle(m), G = parseInt(Z.paddingTop, 10), ae = parseInt(Z.paddingBottom, 10), se = A.top + A.height / 2 - Ha, ie = O - se, Q = g.offsetHeight / 2,
|
56077
|
+
const _ = f(), O = window.innerHeight - Ha * 2, z = m.scrollHeight, T = window.getComputedStyle(c), N = parseInt(T.borderTopWidth, 10), V = parseInt(T.paddingTop, 10), I = parseInt(T.borderBottomWidth, 10), H = parseInt(T.paddingBottom, 10), U = N + V + z + H + I, K = Math.min(g.offsetHeight * 5, U), Z = window.getComputedStyle(m), G = parseInt(Z.paddingTop, 10), ae = parseInt(Z.paddingBottom, 10), se = A.top + A.height / 2 - Ha, ie = O - se, Q = g.offsetHeight / 2, X = g.offsetTop + Q, te = N + V + X, ne = U - te;
|
56078
56078
|
if (te <= se) {
|
56079
56079
|
const D = _.length > 0 && g === _[_.length - 1].ref.current;
|
56080
56080
|
s.style.bottom = "0px";
|
@@ -56108,9 +56108,9 @@ var z6t = "SelectItemAlignedPosition", QJ = L.forwardRef((e, t) => {
|
|
56108
56108
|
i.dir,
|
56109
56109
|
r
|
56110
56110
|
]);
|
56111
|
-
|
56111
|
+
Fo(() => w(), [w]);
|
56112
56112
|
const [v, M] = L.useState();
|
56113
|
-
|
56113
|
+
Fo(() => {
|
56114
56114
|
c && M(window.getComputedStyle(c).zIndex);
|
56115
56115
|
}, [c]);
|
56116
56116
|
const C = L.useCallback(
|
@@ -56351,7 +56351,7 @@ var e2 = "SelectItemText", aQ = L.forwardRef(
|
|
56351
56351
|
() => /* @__PURE__ */ F.jsx("option", { value: l.value, disabled: l.disabled, children: h }, l.value),
|
56352
56352
|
[l.disabled, l.value, h]
|
56353
56353
|
), { onNativeOptionAdd: m, onNativeOptionRemove: g } = c;
|
56354
|
-
return
|
56354
|
+
return Fo(() => (m(p), () => g(p)), [m, g, p]), /* @__PURE__ */ F.jsxs(F.Fragment, { children: [
|
56355
56355
|
/* @__PURE__ */ F.jsx(Mt.span, { id: l.textId, ...i, ref: f }),
|
56356
56356
|
l.isSelected && a.valueNode && !a.valueNodeHasChildren ? Gg.createPortal(i.children, a.valueNode) : null
|
56357
56357
|
] });
|
@@ -56367,7 +56367,7 @@ var sQ = "SelectItemIndicator", lQ = L.forwardRef(
|
|
56367
56367
|
lQ.displayName = sQ;
|
56368
56368
|
var YF = "SelectScrollUpButton", cQ = L.forwardRef((e, t) => {
|
56369
56369
|
const n = h1(YF, e.__scopeSelect), r = iD(YF, e.__scopeSelect), [o, i] = L.useState(!1), a = fn(t, r.onScrollButtonChange);
|
56370
|
-
return
|
56370
|
+
return Fo(() => {
|
56371
56371
|
if (n.viewport && n.isPositioned) {
|
56372
56372
|
let s = function() {
|
56373
56373
|
const c = l.scrollTop > 0;
|
@@ -56391,7 +56391,7 @@ var YF = "SelectScrollUpButton", cQ = L.forwardRef((e, t) => {
|
|
56391
56391
|
cQ.displayName = YF;
|
56392
56392
|
var JF = "SelectScrollDownButton", uQ = L.forwardRef((e, t) => {
|
56393
56393
|
const n = h1(JF, e.__scopeSelect), r = iD(JF, e.__scopeSelect), [o, i] = L.useState(!1), a = fn(t, r.onScrollButtonChange);
|
56394
|
-
return
|
56394
|
+
return Fo(() => {
|
56395
56395
|
if (n.viewport && n.isPositioned) {
|
56396
56396
|
let s = function() {
|
56397
56397
|
const c = l.scrollHeight - l.clientHeight, u = Math.ceil(l.scrollTop) < c;
|
@@ -56417,7 +56417,7 @@ var dQ = L.forwardRef((e, t) => {
|
|
56417
56417
|
const { __scopeSelect: n, onAutoScroll: r, ...o } = e, i = h1("SelectScrollButton", n), a = L.useRef(null), s = Yx(n), l = L.useCallback(() => {
|
56418
56418
|
a.current !== null && (window.clearInterval(a.current), a.current = null);
|
56419
56419
|
}, []);
|
56420
|
-
return L.useEffect(() => () => l(), [l]),
|
56420
|
+
return L.useEffect(() => () => l(), [l]), Fo(() => {
|
56421
56421
|
var c;
|
56422
56422
|
const u = s().find((d) => d.ref.current === document.activeElement);
|
56423
56423
|
(c = u == null ? void 0 : u.ref.current) == null || c.scrollIntoView({ block: "nearest" });
|
@@ -56862,7 +56862,7 @@ var eR = (e, t, n = 0) => {
|
|
56862
56862
|
function ybt(e = () => {
|
56863
56863
|
}) {
|
56864
56864
|
const t = Ai(e);
|
56865
|
-
|
56865
|
+
Fo(() => {
|
56866
56866
|
let n = 0, r = 0;
|
56867
56867
|
return n = window.requestAnimationFrame(() => r = window.requestAnimationFrame(t)), () => {
|
56868
56868
|
window.cancelAnimationFrame(n), window.cancelAnimationFrame(r);
|
@@ -58110,7 +58110,7 @@ function j5t({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: o, s
|
|
58110
58110
|
document.body.style.pointerEvents = "auto";
|
58111
58111
|
}), Ee || (document.body.style.pointerEvents = "auto");
|
58112
58112
|
}
|
58113
|
-
}), [I, H] = Ae.useState(!1), [U, K] = Ae.useState(!1), [Z, G] = Ae.useState(!1), ae = Ae.useRef(null), se = Ae.useRef(null), ie = Ae.useRef(null), Q = Ae.useRef(null),
|
58113
|
+
}), [I, H] = Ae.useState(!1), [U, K] = Ae.useState(!1), [Z, G] = Ae.useState(!1), ae = Ae.useRef(null), se = Ae.useRef(null), ie = Ae.useRef(null), Q = Ae.useRef(null), X = Ae.useRef(null), te = Ae.useRef(!1), ne = Ae.useRef(null), D = Ae.useRef(0), $ = Ae.useRef(!1), ue = Ae.useRef(!M), ge = Ae.useRef(0), oe = Ae.useRef(null), Fe = Ae.useRef(((z = oe.current) == null ? void 0 : z.getBoundingClientRect().height) || 0), xe = Ae.useRef(((T = oe.current) == null ? void 0 : T.getBoundingClientRect().width) || 0), le = Ae.useRef(0), Ce = Ae.useCallback((Ee) => {
|
58114
58114
|
i && Ee === dt.length - 1 && (se.current = /* @__PURE__ */ new Date());
|
58115
58115
|
}, []), { activeSnapPoint: ye, activeSnapPointIndex: Oe, setActiveSnapPoint: Re, onRelease: Ge, snapPointsOffset: dt, onDrag: qe, shouldFade: $e, getPercentageDragged: B } = M5t({
|
58116
58116
|
snapPoints: i,
|
@@ -58158,12 +58158,12 @@ function j5t({ open: e, onOpenChange: t, children: n, onDrag: r, onRelease: o, s
|
|
58158
58158
|
return !0;
|
58159
58159
|
if (it && it.length > 0)
|
58160
58160
|
return !1;
|
58161
|
-
if (
|
58162
|
-
return
|
58161
|
+
if (X.current && rt.getTime() - X.current.getTime() < c && ht === 0 || Ie)
|
58162
|
+
return X.current = rt, !1;
|
58163
58163
|
for (; nt; ) {
|
58164
58164
|
if (nt.scrollHeight > nt.clientHeight) {
|
58165
58165
|
if (nt.scrollTop !== 0)
|
58166
|
-
return
|
58166
|
+
return X.current = /* @__PURE__ */ new Date(), !1;
|
58167
58167
|
if (nt.getAttribute("role") === "dialog")
|
58168
58168
|
return !0;
|
58169
58169
|
}
|
@@ -79501,7 +79501,7 @@ var Cp = '[cmdk-group=""]', Y9 = '[cmdk-group-items=""]', H9t = '[cmdk-group-hea
|
|
79501
79501
|
C(6, z);
|
79502
79502
|
}, []);
|
79503
79503
|
let A = L.useMemo(() => ({ subscribe: (G) => (a.current.add(G), () => a.current.delete(G)), snapshot: () => n.current, setState: (G, ae, se) => {
|
79504
|
-
var ie, Q,
|
79504
|
+
var ie, Q, X, te;
|
79505
79505
|
if (!Object.is(n.current[G], ae)) {
|
79506
79506
|
if (n.current[G] = ae, G === "search") O(), R(), C(1, _);
|
79507
79507
|
else if (G === "value") {
|
@@ -79514,7 +79514,7 @@ var Cp = '[cmdk-group=""]', Y9 = '[cmdk-group-items=""]', H9t = '[cmdk-group-hea
|
|
79514
79514
|
n.current.selectedItemId = (ne = T()) == null ? void 0 : ne.id, A.emit();
|
79515
79515
|
}), se || C(5, z), ((Q = s.current) == null ? void 0 : Q.value) !== void 0) {
|
79516
79516
|
let ne = ae ?? "";
|
79517
|
-
(te = (
|
79517
|
+
(te = (X = s.current).onValueChange) == null || te.call(X, ne);
|
79518
79518
|
return;
|
79519
79519
|
}
|
79520
79520
|
}
|
@@ -79547,24 +79547,24 @@ var Cp = '[cmdk-group=""]', Y9 = '[cmdk-group-items=""]', H9t = '[cmdk-group-hea
|
|
79547
79547
|
if (!n.current.search || s.current.shouldFilter === !1) return;
|
79548
79548
|
let G = n.current.filtered.items, ae = [];
|
79549
79549
|
n.current.filtered.groups.forEach((ie) => {
|
79550
|
-
let Q = o.current.get(ie),
|
79550
|
+
let Q = o.current.get(ie), X = 0;
|
79551
79551
|
Q.forEach((te) => {
|
79552
79552
|
let ne = G.get(te);
|
79553
|
-
|
79554
|
-
}), ae.push([ie,
|
79553
|
+
X = Math.max(ne, X);
|
79554
|
+
}), ae.push([ie, X]);
|
79555
79555
|
});
|
79556
79556
|
let se = M.current;
|
79557
79557
|
N().sort((ie, Q) => {
|
79558
|
-
var
|
79558
|
+
var X, te;
|
79559
79559
|
let ne = ie.getAttribute("id"), D = Q.getAttribute("id");
|
79560
|
-
return ((
|
79560
|
+
return ((X = G.get(D)) != null ? X : 0) - ((te = G.get(ne)) != null ? te : 0);
|
79561
79561
|
}).forEach((ie) => {
|
79562
79562
|
let Q = ie.closest(Y9);
|
79563
79563
|
Q ? Q.appendChild(ie.parentElement === Q ? ie : ie.closest(`${Y9} > *`)) : se.appendChild(ie.parentElement === se ? ie : ie.closest(`${Y9} > *`));
|
79564
79564
|
}), ae.sort((ie, Q) => Q[1] - ie[1]).forEach((ie) => {
|
79565
79565
|
var Q;
|
79566
|
-
let
|
79567
|
-
|
79566
|
+
let X = (Q = M.current) == null ? void 0 : Q.querySelector(`${Cp}[${$0}="${encodeURIComponent(ie[0])}"]`);
|
79567
|
+
X == null || X.parentElement.appendChild(X);
|
79568
79568
|
});
|
79569
79569
|
}
|
79570
79570
|
function _() {
|
@@ -79579,12 +79579,12 @@ var Cp = '[cmdk-group=""]', Y9 = '[cmdk-group-items=""]', H9t = '[cmdk-group-hea
|
|
79579
79579
|
}
|
79580
79580
|
n.current.filtered.groups = /* @__PURE__ */ new Set();
|
79581
79581
|
let Q = 0;
|
79582
|
-
for (let
|
79583
|
-
let te = (ae = (G = i.current.get(
|
79584
|
-
n.current.filtered.items.set(
|
79582
|
+
for (let X of r.current) {
|
79583
|
+
let te = (ae = (G = i.current.get(X)) == null ? void 0 : G.value) != null ? ae : "", ne = (ie = (se = i.current.get(X)) == null ? void 0 : se.keywords) != null ? ie : [], D = j(te, ne);
|
79584
|
+
n.current.filtered.items.set(X, D), D > 0 && Q++;
|
79585
79585
|
}
|
79586
|
-
for (let [
|
79587
|
-
n.current.filtered.groups.add(
|
79586
|
+
for (let [X, te] of o.current) for (let ne of te) if (n.current.filtered.items.get(ne) > 0) {
|
79587
|
+
n.current.filtered.groups.add(X);
|
79588
79588
|
break;
|
79589
79589
|
}
|
79590
79590
|
n.current.filtered.count = Q;
|
@@ -79608,8 +79608,8 @@ var Cp = '[cmdk-group=""]', Y9 = '[cmdk-group-items=""]', H9t = '[cmdk-group-hea
|
|
79608
79608
|
}
|
79609
79609
|
function I(G) {
|
79610
79610
|
var ae;
|
79611
|
-
let se = T(), ie = N(), Q = ie.findIndex((te) => te === se),
|
79612
|
-
(ae = s.current) != null && ae.loop && (
|
79611
|
+
let se = T(), ie = N(), Q = ie.findIndex((te) => te === se), X = ie[Q + G];
|
79612
|
+
(ae = s.current) != null && ae.loop && (X = Q + G < 0 ? ie[ie.length - 1] : Q + G === ie.length ? ie[0] : ie[Q + G]), X && A.setState("value", X.getAttribute($0));
|
79613
79613
|
}
|
79614
79614
|
function H(G) {
|
79615
79615
|
let ae = T(), se = ae == null ? void 0 : ae.closest(Cp), ie;
|
@@ -83313,7 +83313,7 @@ function PFt(e, t, n, r, o, i, a, s, l, c, u, d, f, h, p, m, g, y, x) {
|
|
83313
83313
|
}
|
83314
83314
|
function G() {
|
83315
83315
|
const ue = U ? n : t;
|
83316
|
-
E.add(ue, "touchmove",
|
83316
|
+
E.add(ue, "touchmove", X, C).add(ue, "touchend", te).add(ue, "mousemove", X, C).add(ue, "mouseup", te);
|
83317
83317
|
}
|
83318
83318
|
function ae(ue) {
|
83319
83319
|
const ge = ue.nodeName || "";
|
@@ -83330,7 +83330,7 @@ function PFt(e, t, n, r, o, i, a, s, l, c, u, d, f, h, p, m, g, y, x) {
|
|
83330
83330
|
const ge = xM(ue, r);
|
83331
83331
|
U = ge, H = p && ge && !ue.buttons && z, z = S2(o.get(), a.get()) >= 2, !(ge && ue.button !== 0) && (ae(ue.target) || (V = !0, i.pointerDown(ue), c.useFriction(0).useDuration(0), o.set(a), G(), T = i.readPoint(ue), N = i.readPoint(ue, w), f.emit("pointerDown")));
|
83332
83332
|
}
|
83333
|
-
function
|
83333
|
+
function X(ue) {
|
83334
83334
|
if (!xM(ue, r) && ue.touches.length >= 2) return te(ue);
|
83335
83335
|
const oe = i.readPoint(ue), Fe = i.readPoint(ue, w), xe = S2(oe, T), le = S2(Fe, N);
|
83336
83336
|
if (!I && !U && (!ue.cancelable || (I = xe > le, !I)))
|
@@ -83983,9 +83983,9 @@ function aMt(e, t, n, r, o, i, a) {
|
|
83983
83983
|
} = YFt(_, T, j, R, Z), se = -ts(G) + ts(H), {
|
83984
83984
|
snapsContained: ie,
|
83985
83985
|
scrollContainLimit: Q
|
83986
|
-
} = GFt(O, se, ae, x, A),
|
83986
|
+
} = GFt(O, se, ae, x, A), X = N ? ie : ae, {
|
83987
83987
|
limit: te
|
83988
|
-
} = ZFt(se,
|
83988
|
+
} = ZFt(se, X, d), ne = Ote(C3(X), u, d), D = ne.clone(), $ = jm(n), ue = ({
|
83989
83989
|
dragHandler: fe,
|
83990
83990
|
scrollBody: pe,
|
83991
83991
|
scrollBounds: je,
|
@@ -84014,9 +84014,9 @@ function aMt(e, t, n, r, o, i, a) {
|
|
84014
84014
|
xt && ke.stop();
|
84015
84015
|
const kt = je.get() * nt + ce.get() * (1 - nt);
|
84016
84016
|
Se.set(kt), Ue && (Ne.loop(fe.direction()), Me.loop()), pe.to(Se.get()), xt && Ee.emit("settle"), rt || Ee.emit("scroll");
|
84017
|
-
}, oe = RFt(r, o, () => ue(re), (fe) => ge(re, fe)), Fe = 0.68, xe =
|
84017
|
+
}, oe = RFt(r, o, () => ue(re), (fe) => ge(re, fe)), Fe = 0.68, xe = X[ne.get()], le = n2(xe), Ce = n2(xe), ye = n2(xe), Oe = n2(xe), Re = UFt(le, ye, Ce, Oe, f, Fe), Ge = QFt(d, X, se, te, Oe), dt = XFt(oe, ne, D, Re, Ge, Oe, a), qe = KFt(te), $e = Sm(), B = rMt(t, n, a, m), {
|
84018
84018
|
slideRegistry: q
|
84019
|
-
} = JFt(N, x,
|
84019
|
+
} = JFt(N, x, X, Q, Z, $), J = eMt(e, n, q, dt, Re, $e, a, C), re = {
|
84020
84020
|
ownerDocument: r,
|
84021
84021
|
ownerWindow: o,
|
84022
84022
|
eventHandler: a,
|
@@ -84039,11 +84039,11 @@ function aMt(e, t, n, r, o, i, a) {
|
|
84039
84039
|
scrollBounds: WFt(te, ye, Oe, Re, z),
|
84040
84040
|
scrollLooper: $Ft(se, te, ye, [le, ye, Ce, Oe]),
|
84041
84041
|
scrollProgress: qe,
|
84042
|
-
scrollSnapList:
|
84043
|
-
scrollSnaps:
|
84042
|
+
scrollSnapList: X.map(qe.get),
|
84043
|
+
scrollSnaps: X,
|
84044
84044
|
scrollTarget: Ge,
|
84045
84045
|
scrollTo: dt,
|
84046
|
-
slideLooper: tMt(_, O, se, I, H, G,
|
84046
|
+
slideLooper: tMt(_, O, se, I, H, G, X, ye, n),
|
84047
84047
|
slideFocus: J,
|
84048
84048
|
slidesHandler: nMt(t, a, v),
|
84049
84049
|
slidesInView: B,
|
@@ -84228,7 +84228,7 @@ function bb(e, t, n) {
|
|
84228
84228
|
function Q() {
|
84229
84229
|
return y;
|
84230
84230
|
}
|
84231
|
-
function
|
84231
|
+
function X() {
|
84232
84232
|
return e;
|
84233
84233
|
}
|
84234
84234
|
function te() {
|
@@ -84249,7 +84249,7 @@ function bb(e, t, n) {
|
|
84249
84249
|
plugins: ie,
|
84250
84250
|
previousScrollSnap: G,
|
84251
84251
|
reInit: m,
|
84252
|
-
rootNode:
|
84252
|
+
rootNode: X,
|
84253
84253
|
scrollNext: N,
|
84254
84254
|
scrollPrev: V,
|
84255
84255
|
scrollProgress: K,
|
@@ -86508,11 +86508,11 @@ class rS extends nS {
|
|
86508
86508
|
}
|
86509
86509
|
}
|
86510
86510
|
const YCt = (e, t, n) => gne(() => new rS(t, e, n)), vne = /* @__PURE__ */ YCt(1, 136, 256 / 8);
|
86511
|
-
function
|
86511
|
+
function wo(e, t) {
|
86512
86512
|
const n = t || "hex", r = vne(fl(e, { strict: !1 }) ? Uh(e) : e);
|
86513
86513
|
return n === "bytes" ? r : xc(r);
|
86514
86514
|
}
|
86515
|
-
const JCt = (e) =>
|
86515
|
+
const JCt = (e) => wo(Uh(e));
|
86516
86516
|
function QCt(e) {
|
86517
86517
|
return JCt(e);
|
86518
86518
|
}
|
@@ -86584,7 +86584,7 @@ const u7 = /* @__PURE__ */ new oS(8192);
|
|
86584
86584
|
function Av(e, t) {
|
86585
86585
|
if (u7.has(`${e}.${t}`))
|
86586
86586
|
return u7.get(`${e}.${t}`);
|
86587
|
-
const n = e.substring(2).toLowerCase(), r =
|
86587
|
+
const n = e.substring(2).toLowerCase(), r = wo(yd(n), "bytes"), o = n.split("");
|
86588
86588
|
for (let a = 0; a < 40; a += 2)
|
86589
86589
|
r[a >> 1] >> 4 >= 8 && o[a] && (o[a] = o[a].toUpperCase()), (r[a >> 1] & 15) >= 8 && o[a + 1] && (o[a + 1] = o[a + 1].toUpperCase());
|
86590
86590
|
const i = `0x${o.join("")}`;
|
@@ -86922,7 +86922,7 @@ function S3(e) {
|
|
86922
86922
|
}
|
86923
86923
|
function s_({ param: e, value: t }) {
|
86924
86924
|
if (e.type === "string" || e.type === "bytes")
|
86925
|
-
return
|
86925
|
+
return wo(Uh(t));
|
86926
86926
|
if (e.type === "tuple" || e.type.match(/^(.*)\[(\d+)?\]$/))
|
86927
86927
|
throw new bCt(e.type);
|
86928
86928
|
return y1([e], [t]);
|
@@ -87351,10 +87351,10 @@ function AEt(e) {
|
|
87351
87351
|
errorName: i.name
|
87352
87352
|
};
|
87353
87353
|
}
|
87354
|
-
const
|
87354
|
+
const ko = (e, t, n) => JSON.stringify(e, (r, o) => typeof o == "bigint" ? o.toString() : o, n);
|
87355
87355
|
function Lne({ abiItem: e, args: t, includeFunctionName: n = !0, includeName: r = !1 }) {
|
87356
87356
|
if ("name" in e && "inputs" in e && e.inputs)
|
87357
|
-
return `${n ? e.name : ""}(${e.inputs.map((o, i) => `${r && o.name ? `${o.name}: ` : ""}${typeof t[i] == "object" ?
|
87357
|
+
return `${n ? e.name : ""}(${e.inputs.map((o, i) => `${r && o.name ? `${o.name}: ` : ""}${typeof t[i] == "object" ? ko(t[i]) : t[i]}`).join(", ")})`;
|
87358
87358
|
}
|
87359
87359
|
const jEt = {
|
87360
87360
|
gwei: 9,
|
@@ -87671,7 +87671,7 @@ class T2 extends Je {
|
|
87671
87671
|
metaMessages: [
|
87672
87672
|
i && `Status: ${i}`,
|
87673
87673
|
`URL: ${cS(a)}`,
|
87674
|
-
t && `Request body: ${
|
87674
|
+
t && `Request body: ${ko(t)}`
|
87675
87675
|
].filter(Boolean),
|
87676
87676
|
name: "HttpRequestError"
|
87677
87677
|
}), Object.defineProperty(this, "body", {
|
@@ -87702,7 +87702,7 @@ class uS extends Je {
|
|
87702
87702
|
super("RPC Request failed.", {
|
87703
87703
|
cause: n,
|
87704
87704
|
details: n.message,
|
87705
|
-
metaMessages: [`URL: ${cS(r)}`, `Request body: ${
|
87705
|
+
metaMessages: [`URL: ${cS(r)}`, `Request body: ${ko(t)}`],
|
87706
87706
|
name: "RpcRequestError"
|
87707
87707
|
}), Object.defineProperty(this, "code", {
|
87708
87708
|
enumerable: !0,
|
@@ -87721,7 +87721,7 @@ class f_ extends Je {
|
|
87721
87721
|
constructor({ body: t, url: n }) {
|
87722
87722
|
super("The request took too long to respond.", {
|
87723
87723
|
details: "The request timed out.",
|
87724
|
-
metaMessages: [`URL: ${cS(n)}`, `Request body: ${
|
87724
|
+
metaMessages: [`URL: ${cS(n)}`, `Request body: ${ko(t)}`],
|
87725
87725
|
name: "TimeoutError"
|
87726
87726
|
});
|
87727
87727
|
}
|
@@ -88166,7 +88166,7 @@ function ch(e, { abi: t, address: n, args: r, docsPath: o, functionName: i, send
|
|
88166
88166
|
});
|
88167
88167
|
}
|
88168
88168
|
function qEt(e) {
|
88169
|
-
const t =
|
88169
|
+
const t = wo(`0x${e.substring(4)}`).substring(26);
|
88170
88170
|
return Av(`0x${t}`);
|
88171
88171
|
}
|
88172
88172
|
async function UEt({ hash: e, signature: t }) {
|
@@ -88231,7 +88231,7 @@ function zne(e) {
|
|
88231
88231
|
throw new Je("Length is too large.");
|
88232
88232
|
}
|
88233
88233
|
function $Et(e) {
|
88234
|
-
const { chainId: t, nonce: n, to: r } = e, o = e.contractAddress ?? e.address, i =
|
88234
|
+
const { chainId: t, nonce: n, to: r } = e, o = e.contractAddress ?? e.address, i = wo(Wh([
|
88235
88235
|
"0x05",
|
88236
88236
|
WEt([
|
88237
88237
|
t ? Pt(t) : "0x",
|
@@ -89356,7 +89356,7 @@ function MAt(e) {
|
|
89356
89356
|
return !1;
|
89357
89357
|
function o(i, a, s) {
|
89358
89358
|
try {
|
89359
|
-
return i.type === "address" ? bS(a, s) : i.type === "string" || i.type === "bytes" ?
|
89359
|
+
return i.type === "address" ? bS(a, s) : i.type === "string" || i.type === "bytes" ? wo(Uh(a)) === s : a === s;
|
89360
89360
|
} catch {
|
89361
89361
|
return !1;
|
89362
89362
|
}
|
@@ -89873,7 +89873,7 @@ async function Nv(e, t) {
|
|
89873
89873
|
});
|
89874
89874
|
return Z === "0x" ? { data: void 0 } : { data: Z };
|
89875
89875
|
} catch (N) {
|
89876
|
-
const V = NAt(N), { offchainLookup: I, offchainLookupSignature: H } = await import("./ccip-
|
89876
|
+
const V = NAt(N), { offchainLookup: I, offchainLookupSignature: H } = await import("./ccip-mgqLOHzV.mjs");
|
89877
89877
|
if (e.ccipRead !== !1 && (V == null ? void 0 : V.slice(0, 10)) === H && x)
|
89878
89878
|
return { data: await I(e, { data: V, to: x }) };
|
89879
89879
|
throw j && (V == null ? void 0 : V.slice(0, 10)) === "0x101bb98d" ? new PEt({ factory: u }) : are(N, {
|
@@ -90131,7 +90131,7 @@ async function Ov(e, { filter: t }) {
|
|
90131
90131
|
function HAt(e, t) {
|
90132
90132
|
const { abi: n, address: r, args: o, batch: i = !0, eventName: a, fromBlock: s, onError: l, onLogs: c, poll: u, pollingInterval: d = e.pollingInterval, strict: f } = t;
|
90133
90133
|
return (typeof u < "u" ? u : typeof s == "bigint" ? !0 : !(e.transport.type === "webSocket" || e.transport.type === "fallback" && e.transport.transports[0].config.type === "webSocket")) ? (() => {
|
90134
|
-
const g = f ?? !1, y =
|
90134
|
+
const g = f ?? !1, y = ko([
|
90135
90135
|
"watchContractEvent",
|
90136
90136
|
r,
|
90137
90137
|
o,
|
@@ -90198,7 +90198,7 @@ function HAt(e, t) {
|
|
90198
90198
|
};
|
90199
90199
|
});
|
90200
90200
|
})() : (() => {
|
90201
|
-
const g = f ?? !1, y =
|
90201
|
+
const g = f ?? !1, y = ko([
|
90202
90202
|
"watchContractEvent",
|
90203
90203
|
r,
|
90204
90204
|
o,
|
@@ -90373,7 +90373,7 @@ function ZAt(e, t = {}) {
|
|
90373
90373
|
throw new X1(new Error("method not supported"), {
|
90374
90374
|
method: c
|
90375
90375
|
});
|
90376
|
-
const u = o ? Nm(`${l}.${
|
90376
|
+
const u = o ? Nm(`${l}.${ko(n)}`) : void 0;
|
90377
90377
|
return GAt(() => qM(async () => {
|
90378
90378
|
try {
|
90379
90379
|
return await e(n);
|
@@ -90522,11 +90522,11 @@ function XAt(e, t = {}) {
|
|
90522
90522
|
const f = await JAt(async ({ signal: p }) => {
|
90523
90523
|
const m = {
|
90524
90524
|
...s,
|
90525
|
-
body: Array.isArray(r) ?
|
90525
|
+
body: Array.isArray(r) ? ko(r.map((w) => ({
|
90526
90526
|
jsonrpc: "2.0",
|
90527
90527
|
id: w.id ?? F_.take(),
|
90528
90528
|
...w
|
90529
|
-
}))) :
|
90529
|
+
}))) : ko({
|
90530
90530
|
jsonrpc: "2.0",
|
90531
90531
|
id: r.id ?? F_.take(),
|
90532
90532
|
...r
|
@@ -90561,7 +90561,7 @@ function XAt(e, t = {}) {
|
|
90561
90561
|
if (!f.ok)
|
90562
90562
|
throw new T2({
|
90563
90563
|
body: r,
|
90564
|
-
details:
|
90564
|
+
details: ko(h.error) || f.statusText,
|
90565
90565
|
headers: f.headers,
|
90566
90566
|
status: f.status,
|
90567
90567
|
url: e
|
@@ -90731,8 +90731,8 @@ function l6(e) {
|
|
90731
90731
|
return $r(t);
|
90732
90732
|
const n = e.split(".");
|
90733
90733
|
for (let r = n.length - 1; r >= 0; r -= 1) {
|
90734
|
-
const o = dre(n[r]), i = o ? Uh(o) :
|
90735
|
-
t =
|
90734
|
+
const o = dre(n[r]), i = o ? Uh(o) : wo(yd(n[r]), "bytes");
|
90735
|
+
t = wo(vc([t, i]), "bytes");
|
90736
90736
|
}
|
90737
90737
|
return $r(t);
|
90738
90738
|
}
|
@@ -90741,7 +90741,7 @@ function ojt(e) {
|
|
90741
90741
|
}
|
90742
90742
|
function ijt(e) {
|
90743
90743
|
const t = new Uint8Array(32).fill(0);
|
90744
|
-
return e ? dre(e) ||
|
90744
|
+
return e ? dre(e) || wo(yd(e)) : $r(t);
|
90745
90745
|
}
|
90746
90746
|
function Bv(e) {
|
90747
90747
|
const t = e.replace(/^\.|\.$/gm, "");
|
@@ -91323,7 +91323,7 @@ function Tjt(e) {
|
|
91323
91323
|
}
|
91324
91324
|
class Ljt extends Je {
|
91325
91325
|
constructor({ domain: t }) {
|
91326
|
-
super(`Invalid domain "${
|
91326
|
+
super(`Invalid domain "${ko(t)}".`, {
|
91327
91327
|
metaMessages: ["Must be a valid EIP-712 domain."]
|
91328
91328
|
});
|
91329
91329
|
}
|
@@ -91363,7 +91363,7 @@ function Ojt(e) {
|
|
91363
91363
|
data: n,
|
91364
91364
|
primaryType: r,
|
91365
91365
|
types: o
|
91366
|
-
})),
|
91366
|
+
})), wo(vc(i));
|
91367
91367
|
}
|
91368
91368
|
function Bjt({ domain: e, types: t }) {
|
91369
91369
|
return bre({
|
@@ -91378,7 +91378,7 @@ function bre({ data: e, primaryType: t, types: n }) {
|
|
91378
91378
|
primaryType: t,
|
91379
91379
|
types: n
|
91380
91380
|
});
|
91381
|
-
return
|
91381
|
+
return wo(r);
|
91382
91382
|
}
|
91383
91383
|
function xre({ data: e, primaryType: t, types: n }) {
|
91384
91384
|
const r = [{ type: "bytes32" }], o = [Rjt({ primaryType: t, types: n })];
|
@@ -91395,7 +91395,7 @@ function xre({ data: e, primaryType: t, types: n }) {
|
|
91395
91395
|
}
|
91396
91396
|
function Rjt({ primaryType: e, types: t }) {
|
91397
91397
|
const n = xc(_jt({ primaryType: e, types: t }));
|
91398
|
-
return
|
91398
|
+
return wo(n);
|
91399
91399
|
}
|
91400
91400
|
function _jt({ primaryType: e, types: t }) {
|
91401
91401
|
let n = "";
|
@@ -91419,12 +91419,12 @@ function wre({ types: e, name: t, type: n, value: r }) {
|
|
91419
91419
|
if (e[n] !== void 0)
|
91420
91420
|
return [
|
91421
91421
|
{ type: "bytes32" },
|
91422
|
-
|
91422
|
+
wo(xre({ data: r, primaryType: n, types: e }))
|
91423
91423
|
];
|
91424
91424
|
if (n === "bytes")
|
91425
|
-
return r = `0x${(r.length % 2 ? "0" : "") + r.slice(2)}`, [{ type: "bytes32" },
|
91425
|
+
return r = `0x${(r.length % 2 ? "0" : "") + r.slice(2)}`, [{ type: "bytes32" }, wo(r)];
|
91426
91426
|
if (n === "string")
|
91427
|
-
return [{ type: "bytes32" },
|
91427
|
+
return [{ type: "bytes32" }, wo(xc(r))];
|
91428
91428
|
if (n.lastIndexOf("]") === n.length - 1) {
|
91429
91429
|
const o = n.slice(0, n.lastIndexOf("[")), i = r.map((a) => wre({
|
91430
91430
|
name: t,
|
@@ -91434,7 +91434,7 @@ function wre({ types: e, name: t, type: n, value: r }) {
|
|
91434
91434
|
}));
|
91435
91435
|
return [
|
91436
91436
|
{ type: "bytes32" },
|
91437
|
-
|
91437
|
+
wo(y1(i.map(([a]) => a), i.map(([, a]) => a)))
|
91438
91438
|
];
|
91439
91439
|
}
|
91440
91440
|
return [{ type: n }, r];
|
@@ -91502,7 +91502,7 @@ function qjt(e) {
|
|
91502
91502
|
return vc([n, t]);
|
91503
91503
|
}
|
91504
91504
|
function kre(e, t) {
|
91505
|
-
return
|
91505
|
+
return wo(qjt(e), t);
|
91506
91506
|
}
|
91507
91507
|
const Fre = "0x6492649264926492649264926492649264926492649264926492649264926492";
|
91508
91508
|
function Ujt(e) {
|
@@ -94287,7 +94287,7 @@ function ESt(e) {
|
|
94287
94287
|
se.push(Ua("extraEntropy", te));
|
94288
94288
|
}
|
94289
94289
|
const ie = Db(...se), Q = G;
|
94290
|
-
function
|
94290
|
+
function X(te) {
|
94291
94291
|
const ne = M(te);
|
94292
94292
|
if (!d(ne))
|
94293
94293
|
return;
|
@@ -94300,7 +94300,7 @@ function ESt(e) {
|
|
94300
94300
|
let oe = ($.x === ue ? 0 : 2) | Number($.y & Xr), Fe = ge;
|
94301
94301
|
return U && h(ge) && (Fe = p(ge), oe ^= 1), new g(ue, Fe, oe);
|
94302
94302
|
}
|
94303
|
-
return { seed: ie, k2sig:
|
94303
|
+
return { seed: ie, k2sig: X };
|
94304
94304
|
}
|
94305
94305
|
const R = { lowS: t.lowS, prehash: !1 }, _ = { lowS: t.lowS, prehash: !1 };
|
94306
94306
|
function O(T, N, V = R) {
|
@@ -94338,7 +94338,7 @@ function ESt(e) {
|
|
94338
94338
|
if (!se || U && se.hasHighS())
|
94339
94339
|
return !1;
|
94340
94340
|
K && (N = t.hash(N));
|
94341
|
-
const { r: Q, s:
|
94341
|
+
const { r: Q, s: X } = se, te = C(N), ne = s(X), D = a(te * ne), $ = a(Q * ne), ue = (oe = l.BASE.multiplyAndAddUnsafe(ie, D, $)) == null ? void 0 : oe.toAffine();
|
94342
94342
|
return ue ? a(ue.x) === Q : !1;
|
94343
94343
|
}
|
94344
94344
|
return {
|
@@ -94474,7 +94474,7 @@ function soe(e, { emitOnBegin: t = !1, emitMissed: n = !1, onBlockNumber: r, onE
|
|
94474
94474
|
const s = typeof i < "u" ? i : !(e.transport.type === "webSocket" || e.transport.type === "fallback" && e.transport.transports[0].config.type === "webSocket");
|
94475
94475
|
let l;
|
94476
94476
|
return s ? (() => {
|
94477
|
-
const d =
|
94477
|
+
const d = ko([
|
94478
94478
|
"watchBlockNumber",
|
94479
94479
|
e.uid,
|
94480
94480
|
t,
|
@@ -94501,7 +94501,7 @@ function soe(e, { emitOnBegin: t = !1, emitMissed: n = !1, onBlockNumber: r, onE
|
|
94501
94501
|
interval: a
|
94502
94502
|
}));
|
94503
94503
|
})() : (() => {
|
94504
|
-
const d =
|
94504
|
+
const d = ko([
|
94505
94505
|
"watchBlockNumber",
|
94506
94506
|
e.uid,
|
94507
94507
|
t,
|
@@ -94549,7 +94549,7 @@ async function OSt(e, {
|
|
94549
94549
|
// exponential backoff
|
94550
94550
|
timeout: s = 18e4
|
94551
94551
|
}) {
|
94552
|
-
const l =
|
94552
|
+
const l = ko(["waitForTransactionReceipt", e.uid, n]);
|
94553
94553
|
let c, u, d, f = !1;
|
94554
94554
|
const { promise: h, resolve: p, reject: m } = sre(), g = s ? setTimeout(() => m(new OEt({ hash: n })), s) : void 0, y = qu(l, { onReplaced: r, resolve: p, reject: m }, (x) => {
|
94555
94555
|
const w = Ut(e, soe, "watchBlockNumber")({
|
@@ -94625,7 +94625,7 @@ function BSt(e, { blockTag: t = "latest", emitMissed: n = !1, emitOnBegin: r = !
|
|
94625
94625
|
const c = typeof s < "u" ? s : !(e.transport.type === "webSocket" || e.transport.type === "fallback" && e.transport.transports[0].config.type === "webSocket"), u = a ?? !1;
|
94626
94626
|
let d;
|
94627
94627
|
return c ? (() => {
|
94628
|
-
const p =
|
94628
|
+
const p = ko([
|
94629
94629
|
"watchBlocks",
|
94630
94630
|
e.uid,
|
94631
94631
|
t,
|
@@ -94707,7 +94707,7 @@ function BSt(e, { blockTag: t = "latest", emitMissed: n = !1, emitOnBegin: r = !
|
|
94707
94707
|
function RSt(e, { address: t, args: n, batch: r = !0, event: o, events: i, fromBlock: a, onError: s, onLogs: l, poll: c, pollingInterval: u = e.pollingInterval, strict: d }) {
|
94708
94708
|
const f = typeof c < "u" ? c : typeof a == "bigint" ? !0 : !(e.transport.type === "webSocket" || e.transport.type === "fallback" && e.transport.transports[0].config.type === "webSocket"), h = d ?? !1;
|
94709
94709
|
return f ? (() => {
|
94710
|
-
const g =
|
94710
|
+
const g = ko([
|
94711
94711
|
"watchEvent",
|
94712
94712
|
t,
|
94713
94713
|
n,
|
@@ -94830,7 +94830,7 @@ function RSt(e, { address: t, args: n, batch: r = !0, event: o, events: i, fromB
|
|
94830
94830
|
}
|
94831
94831
|
function _St(e, { batch: t = !0, onError: n, onTransactions: r, poll: o, pollingInterval: i = e.pollingInterval }) {
|
94832
94832
|
return (typeof o < "u" ? o : e.transport.type !== "webSocket") ? (() => {
|
94833
|
-
const c =
|
94833
|
+
const c = ko([
|
94834
94834
|
"watchPendingTransactions",
|
94835
94835
|
e.uid,
|
94836
94836
|
t,
|
@@ -95092,7 +95092,7 @@ const uoe = On(void 0), KSt = ({
|
|
95092
95092
|
onComment: M,
|
95093
95093
|
setCommentDrawerOpen: C
|
95094
95094
|
}) => {
|
95095
|
-
const [A, E] = Le(!0), [j, R] = Le(""), [_, O] = Le(""), [z, T] = Le(null), N = Xe(null), V = Xe(null), [I, H] = Le(""), [U, K] = Le(!1), Z = Xe(null), G = Xe(null), ae = Xe(null), se = t.isActive("comment"), ie = t.getAttributes("comment").resolved, [Q,
|
95095
|
+
const [A, E] = Le(!0), [j, R] = Le(""), [_, O] = Le(""), [z, T] = Le(null), N = Xe(null), V = Xe(null), [I, H] = Le(""), [U, K] = Le(!1), Z = Xe(null), G = Xe(null), ae = Xe(null), se = t.isActive("comment"), ie = t.getAttributes("comment").resolved, [Q, X] = Le({
|
95096
95096
|
inlineCommentText: "",
|
95097
95097
|
handleClick: !1
|
95098
95098
|
}), te = localStorage.getItem("ensCache"), [ne, D] = Le(
|
@@ -95392,7 +95392,7 @@ const uoe = On(void 0), KSt = ({
|
|
95392
95392
|
onComment: M,
|
95393
95393
|
setCommentDrawerOpen: C,
|
95394
95394
|
inlineCommentData: Q,
|
95395
|
-
setInlineCommentData:
|
95395
|
+
setInlineCommentData: X,
|
95396
95396
|
getEnsStatus: ge,
|
95397
95397
|
ensCache: ne
|
95398
95398
|
}),
|
@@ -95444,7 +95444,7 @@ const uoe = On(void 0), KSt = ({
|
|
95444
95444
|
M,
|
95445
95445
|
C,
|
95446
95446
|
Q,
|
95447
|
-
|
95447
|
+
X,
|
95448
95448
|
ge,
|
95449
95449
|
ne
|
95450
95450
|
// Note: refs (portalRef, buttonRef, replySectionRef, dropdownRef, commentsSectionRef) are stable and don't need to be dependencies
|
@@ -98747,7 +98747,7 @@ function zoe() {
|
|
98747
98747
|
enumerable: !0,
|
98748
98748
|
value: !1
|
98749
98749
|
}
|
98750
|
-
})), Q = null,
|
98750
|
+
})), Q = null, X = null, te = !0, ne = !0, D = !1, $ = !0, ue = !1, ge = !0, oe = !1, Fe = !1, xe = !1, le = !1, Ce = !1, ye = !1, Oe = !0, Re = !1;
|
98751
98751
|
const Ge = "user-content-";
|
98752
98752
|
let dt = !0, qe = !1, $e = {}, B = null;
|
98753
98753
|
const q = an({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
@@ -98768,7 +98768,7 @@ function zoe() {
|
|
98768
98768
|
let he = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
98769
98769
|
if (!(xt && xt === he)) {
|
98770
98770
|
if ((!he || typeof he != "object") && (he = {}), he = B1(he), nt = // eslint-disable-next-line unicorn/prefer-includes
|
98771
|
-
it.indexOf(he.PARSER_MEDIA_TYPE) === -1 ? ht : he.PARSER_MEDIA_TYPE, rt = nt === "application/xhtml+xml" ? I7 : c6, Z = Va(he, "ALLOWED_TAGS") ? an({}, he.ALLOWED_TAGS, rt) : G, ae = Va(he, "ALLOWED_ATTR") ? an({}, he.ALLOWED_ATTR, rt) : se, _e = Va(he, "ALLOWED_NAMESPACES") ? an({}, he.ALLOWED_NAMESPACES, I7) : ke, fe = Va(he, "ADD_URI_SAFE_ATTR") ? an(B1(pe), he.ADD_URI_SAFE_ATTR, rt) : pe, J = Va(he, "ADD_DATA_URI_TAGS") ? an(B1(re), he.ADD_DATA_URI_TAGS, rt) : re, B = Va(he, "FORBID_CONTENTS") ? an({}, he.FORBID_CONTENTS, rt) : q, Q = Va(he, "FORBID_TAGS") ? an({}, he.FORBID_TAGS, rt) : {},
|
98771
|
+
it.indexOf(he.PARSER_MEDIA_TYPE) === -1 ? ht : he.PARSER_MEDIA_TYPE, rt = nt === "application/xhtml+xml" ? I7 : c6, Z = Va(he, "ALLOWED_TAGS") ? an({}, he.ALLOWED_TAGS, rt) : G, ae = Va(he, "ALLOWED_ATTR") ? an({}, he.ALLOWED_ATTR, rt) : se, _e = Va(he, "ALLOWED_NAMESPACES") ? an({}, he.ALLOWED_NAMESPACES, I7) : ke, fe = Va(he, "ADD_URI_SAFE_ATTR") ? an(B1(pe), he.ADD_URI_SAFE_ATTR, rt) : pe, J = Va(he, "ADD_DATA_URI_TAGS") ? an(B1(re), he.ADD_DATA_URI_TAGS, rt) : re, B = Va(he, "FORBID_CONTENTS") ? an({}, he.FORBID_CONTENTS, rt) : q, Q = Va(he, "FORBID_TAGS") ? an({}, he.FORBID_TAGS, rt) : {}, X = Va(he, "FORBID_ATTR") ? an({}, he.FORBID_ATTR, rt) : {}, $e = Va(he, "USE_PROFILES") ? he.USE_PROFILES : !1, te = he.ALLOW_ARIA_ATTR !== !1, ne = he.ALLOW_DATA_ATTR !== !1, D = he.ALLOW_UNKNOWN_PROTOCOLS || !1, $ = he.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ue = he.SAFE_FOR_TEMPLATES || !1, ge = he.SAFE_FOR_XML !== !1, oe = he.WHOLE_DOCUMENT || !1, le = he.RETURN_DOM || !1, Ce = he.RETURN_DOM_FRAGMENT || !1, ye = he.RETURN_TRUSTED_TYPE || !1, xe = he.FORCE_BODY || !1, Oe = he.SANITIZE_DOM !== !1, Re = he.SANITIZE_NAMED_PROPS || !1, dt = he.KEEP_CONTENT !== !1, qe = he.IN_PLACE || !1, K = he.ALLOWED_URI_REGEXP || _oe, Ne = he.NAMESPACE || ce, Ee = he.MATHML_TEXT_INTEGRATION_POINTS || Ee, Ie = he.HTML_INTEGRATION_POINTS || Ie, ie = he.CUSTOM_ELEMENT_HANDLING || {}, he.CUSTOM_ELEMENT_HANDLING && Bt(he.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (ie.tagNameCheck = he.CUSTOM_ELEMENT_HANDLING.tagNameCheck), he.CUSTOM_ELEMENT_HANDLING && Bt(he.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (ie.attributeNameCheck = he.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), he.CUSTOM_ELEMENT_HANDLING && typeof he.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (ie.allowCustomizedBuiltInElements = he.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ue && (ne = !1), Ce && (le = !0), $e && (Z = an({}, hP), ae = [], $e.html === !0 && (an(Z, fP), an(ae, pP)), $e.svg === !0 && (an(Z, O7), an(ae, _7), an(ae, V4)), $e.svgFilters === !0 && (an(Z, B7), an(ae, _7), an(ae, V4)), $e.mathMl === !0 && (an(Z, R7), an(ae, mP), an(ae, V4))), he.ADD_TAGS && (Z === G && (Z = B1(Z)), an(Z, he.ADD_TAGS, rt)), he.ADD_ATTR && (ae === se && (ae = B1(ae)), an(ae, he.ADD_ATTR, rt)), he.ADD_URI_SAFE_ATTR && an(fe, he.ADD_URI_SAFE_ATTR, rt), he.FORBID_CONTENTS && (B === q && (B = B1(B)), an(B, he.FORBID_CONTENTS, rt)), dt && (Z["#text"] = !0), oe && an(Z, ["html", "head", "body"]), Z.table && (an(Z, ["tbody"]), delete Q.tbody), he.TRUSTED_TYPES_POLICY) {
|
98772
98772
|
if (typeof he.TRUSTED_TYPES_POLICY.createHTML != "function")
|
98773
98773
|
throw Ip('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
98774
98774
|
if (typeof he.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
@@ -98878,8 +98878,8 @@ function zoe() {
|
|
98878
98878
|
if (gn && Qt) {
|
98879
98879
|
const Rt = gn.length;
|
98880
98880
|
for (let ar = Rt - 1; ar >= 0; --ar) {
|
98881
|
-
const
|
98882
|
-
|
98881
|
+
const Eo = m(gn[ar], !0);
|
98882
|
+
Eo.__removalCount = (he.__removalCount || 0) + 1, Qt.insertBefore(Eo, y(he));
|
98883
98883
|
}
|
98884
98884
|
}
|
98885
98885
|
}
|
@@ -98893,9 +98893,9 @@ function zoe() {
|
|
98893
98893
|
}, We = function(he, Be, at) {
|
98894
98894
|
if (Oe && (Be === "id" || Be === "name") && (at in n || at in kt))
|
98895
98895
|
return !1;
|
98896
|
-
if (!(ne && !
|
98896
|
+
if (!(ne && !X[Be] && Po(N, Be))) {
|
98897
98897
|
if (!(te && Po(V, Be))) {
|
98898
|
-
if (!ae[Be] ||
|
98898
|
+
if (!ae[Be] || X[Be]) {
|
98899
98899
|
if (
|
98900
98900
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
98901
98901
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
@@ -98938,9 +98938,9 @@ function zoe() {
|
|
98938
98938
|
const gn = Be[Qt], {
|
98939
98939
|
name: Rt,
|
98940
98940
|
namespaceURI: ar,
|
98941
|
-
value:
|
98941
|
+
value: Eo
|
98942
98942
|
} = gn, _a = rt(Rt);
|
98943
|
-
let Jr = Rt === "value" ?
|
98943
|
+
let Jr = Rt === "value" ? Eo : HNt(Eo);
|
98944
98944
|
if (at.attrName = _a, at.attrValue = Jr, at.keepAttr = !0, at.forceKeepAttr = void 0, Te(_.uponSanitizeAttribute, he, at), Jr = at.attrValue, Re && (_a === "id" || _a === "name") && (Fn(Rt, he), Jr = Ge + Jr), ge && Po(/((--!?|])>)|<\/(style|title)/i, Jr)) {
|
98945
98945
|
Fn(Rt, he);
|
98946
98946
|
continue;
|
@@ -98993,8 +98993,8 @@ function zoe() {
|
|
98993
98993
|
return ot;
|
98994
98994
|
if (Fe || Vt(he), t.removed = [], typeof ot == "string" && (qe = !1), qe) {
|
98995
98995
|
if (ot.nodeName) {
|
98996
|
-
const
|
98997
|
-
if (!Z[
|
98996
|
+
const Eo = rt(ot.nodeName);
|
98997
|
+
if (!Z[Eo] || Q[Eo])
|
98998
98998
|
throw Ip("root node is forbidden and cannot be sanitized in-place");
|
98999
98999
|
}
|
99000
99000
|
} else if (ot instanceof s)
|
@@ -99022,8 +99022,8 @@ function zoe() {
|
|
99022
99022
|
}
|
99023
99023
|
let ar = oe ? Be.outerHTML : Be.innerHTML;
|
99024
99024
|
return oe && Z["!doctype"] && Be.ownerDocument && Be.ownerDocument.doctype && Be.ownerDocument.doctype.name && Po(Poe, Be.ownerDocument.doctype.name) && (ar = "<!DOCTYPE " + Be.ownerDocument.doctype.name + `>
|
99025
|
-
` + ar), ue && H4([O, z, T], (
|
99026
|
-
ar = Np(ar,
|
99025
|
+
` + ar), ue && H4([O, z, T], (Eo) => {
|
99026
|
+
ar = Np(ar, Eo, " ");
|
99027
99027
|
}), v && ye ? v.createHTML(ar) : ar;
|
99028
99028
|
}, t.setConfig = function() {
|
99029
99029
|
let ot = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
@@ -103912,7 +103912,7 @@ const fC = [
|
|
103912
103912
|
}, Q = (xe) => {
|
103913
103913
|
const le = xe.target.value;
|
103914
103914
|
c(le);
|
103915
|
-
},
|
103915
|
+
}, X = async () => {
|
103916
103916
|
if (!H || !C) {
|
103917
103917
|
const xe = a.trim();
|
103918
103918
|
U(!0), x((le) => ({
|
@@ -103938,7 +103938,7 @@ const fC = [
|
|
103938
103938
|
};
|
103939
103939
|
l.trim() && e && (O == null || O(e, xe), c(""));
|
103940
103940
|
}, ne = (xe) => {
|
103941
|
-
xe.key === "Enter" && !xe.shiftKey && (xe.preventDefault(), !f && n ? te() :
|
103941
|
+
xe.key === "Enter" && !xe.shiftKey && (xe.preventDefault(), !f && n ? te() : X());
|
103942
103942
|
}, D = () => {
|
103943
103943
|
d((xe) => !xe);
|
103944
103944
|
}, $ = () => {
|
@@ -104047,7 +104047,7 @@ const fC = [
|
|
104047
104047
|
/* @__PURE__ */ k.jsx("div", { className: "h-full flex items-center justify-end", children: /* @__PURE__ */ k.jsx(
|
104048
104048
|
_t,
|
104049
104049
|
{
|
104050
|
-
onClick:
|
104050
|
+
onClick: X,
|
104051
104051
|
className: "px-4 py-2 w-20 min-w-20 h-9 font-medium text-sm",
|
104052
104052
|
disabled: !a.trim(),
|
104053
104053
|
children: "Send"
|
@@ -104256,7 +104256,7 @@ _b.exports;
|
|
104256
104256
|
R && (j = E, E = null);
|
104257
104257
|
var _ = j.navigator || {}, O = _.userAgent || "";
|
104258
104258
|
E || (E = O);
|
104259
|
-
var z = R ? !!_.likeChrome : /\bChrome\b/.test(E) && !/internal|\n/i.test(d.toString()), T = "Object", N = R ? T : "ScriptBridgingProxyObject", V = R ? T : "Environment", I = R && j.java ? "JavaPackage" : y(j.java), H = R ? T : "RuntimeObject", U = /\bJava/.test(I) && j.java, K = U && y(j.environment) == V, Z = U ? "a" : "α", G = U ? "b" : "β", ae = j.document || {}, se = j.operamini || j.opera, ie = l.test(ie = R && se ? se["[[Class]]"] : y(se)) ? ie : se = null, Q,
|
104259
|
+
var z = R ? !!_.likeChrome : /\bChrome\b/.test(E) && !/internal|\n/i.test(d.toString()), T = "Object", N = R ? T : "ScriptBridgingProxyObject", V = R ? T : "Environment", I = R && j.java ? "JavaPackage" : y(j.java), H = R ? T : "RuntimeObject", U = /\bJava/.test(I) && j.java, K = U && y(j.environment) == V, Z = U ? "a" : "α", G = U ? "b" : "β", ae = j.document || {}, se = j.operamini || j.opera, ie = l.test(ie = R && se ? se["[[Class]]"] : y(se)) ? ie : se = null, Q, X = E, te = [], ne = null, D = E == O, $ = D && se && typeof se.version == "function" && se.version(), ue, ge = Ce([
|
104260
104260
|
{ label: "EdgeHTML", pattern: "Edge" },
|
104261
104261
|
"Trident",
|
104262
104262
|
{ label: "WebKit", pattern: "AppleWebKit" },
|
@@ -104446,14 +104446,14 @@ _b.exports;
|
|
104446
104446
|
"(?:Firefox|Minefield|NetFront)"
|
104447
104447
|
])), (Q = ge == "iCab" && parseFloat($) > 3 && "WebKit" || /\bOpera\b/.test(oe) && (/\bOPR\b/.test(E) ? "Blink" : "Presto") || /\b(?:Midori|Nook|Safari)\b/i.test(E) && !/^(?:Trident|EdgeHTML)$/.test(ge) && "WebKit" || !ge && /\bMSIE\b/i.test(E) && (le == "Mac OS" ? "Tasman" : "Trident") || ge == "WebKit" && /\bPlayStation\b(?! Vita\b)/i.test(oe) && "NetFront") && (ge = [Q]), oe == "IE" && (Q = (/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(E) || 0)[1]) ? (oe += " Mobile", le = "Windows Phone " + (/\+$/.test(Q) ? Q : Q + ".x"), te.unshift("desktop mode")) : /\bWPDesktop\b/i.test(E) ? (oe = "IE Mobile", le = "Windows Phone 8.x", te.unshift("desktop mode"), $ || ($ = (/\brv:([\d.]+)/.exec(E) || 0)[1])) : oe != "IE" && ge == "Trident" && (Q = /\brv:([\d.]+)/.exec(E)) && (oe && te.push("identifying as " + oe + ($ ? " " + $ : "")), oe = "IE", $ = Q[1]), D) {
|
104448
104448
|
if (x(j, "global"))
|
104449
|
-
if (U && (Q = U.lang.System,
|
104449
|
+
if (U && (Q = U.lang.System, X = Q.getProperty("os.arch"), le = le || Q.getProperty("os.name") + " " + Q.getProperty("os.version")), K) {
|
104450
104450
|
try {
|
104451
104451
|
$ = j.require("ringo/engine").version.join("."), oe = "RingoJS";
|
104452
104452
|
} catch {
|
104453
104453
|
(Q = j.system) && Q.global.system == j.system && (oe = "Narwhal", le || (le = Q[0].os || null));
|
104454
104454
|
}
|
104455
104455
|
oe || (oe = "Rhino");
|
104456
|
-
} else typeof j.process == "object" && !j.process.browser && (Q = j.process) && (typeof Q.versions == "object" && (typeof Q.versions.electron == "string" ? (te.push("Node " + Q.versions.node), oe = "Electron", $ = Q.versions.electron) : typeof Q.versions.nw == "string" && (te.push("Chromium " + $, "Node " + Q.versions.node), oe = "NW.js", $ = Q.versions.nw)), oe || (oe = "Node.js",
|
104456
|
+
} else typeof j.process == "object" && !j.process.browser && (Q = j.process) && (typeof Q.versions == "object" && (typeof Q.versions.electron == "string" ? (te.push("Node " + Q.versions.node), oe = "Electron", $ = Q.versions.electron) : typeof Q.versions.nw == "string" && (te.push("Chromium " + $, "Node " + Q.versions.node), oe = "NW.js", $ = Q.versions.nw)), oe || (oe = "Node.js", X = Q.arch, le = Q.platform, $ = /[\d.]+/.exec(Q.version), $ = $ ? $[0] : null));
|
104457
104457
|
else y(Q = j.runtime) == N ? (oe = "Adobe AIR", le = Q.flash.system.Capabilities.os) : y(Q = j.phantom) == H ? (oe = "PhantomJS", $ = (Q = Q.version || null) && Q.major + "." + Q.minor + "." + Q.patch) : typeof ae.documentMode == "number" && (Q = /\bTrident\/(\d+)/i.exec(E)) ? ($ = [$, ae.documentMode], (Q = +Q[1] + 4) != $[1] && (te.push("IE " + $[1] + " mode"), ge && (ge[1] = ""), $[1] = Q), $ = oe == "IE" ? String($[1].toFixed(1)) : $[0]) : typeof ae.documentMode == "number" && /^(?:Chrome|Firefox)\b/.test(oe) && (te.push("masking as " + oe + " " + $), oe = "IE", $ = "11.0", ge = ["Trident"], le = "Windows");
|
104458
104458
|
le = le && m(le);
|
104459
104459
|
}
|
@@ -104480,7 +104480,7 @@ _b.exports;
|
|
104480
104480
|
var B = this.version;
|
104481
104481
|
return this.family + (B && !ue ? " " + B : "") + (this.architecture == 64 ? " 64-bit" : "");
|
104482
104482
|
}
|
104483
|
-
}), (Q = /\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(
|
104483
|
+
}), (Q = /\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(X)) && !/\bi686\b/i.test(X) ? (le && (le.architecture = 64, le.family = le.family.replace(RegExp(" *" + Q), "")), oe && (/\bWOW64\b/i.test(E) || D && /\w(?:86|32)$/.test(_.cpuClass || _.platform) && !/\bWin64; x64\b/i.test(E)) && te.unshift("32-bit")) : le && /^OS X/.test(le.family) && oe == "Chrome" && parseFloat($) >= 39 && (le.architecture = 64), E || (E = null);
|
104484
104484
|
var $e = {};
|
104485
104485
|
return $e.description = E, $e.layout = ge && ge[0], $e.manufacturer = xe, $e.name = oe, $e.prerelease = ne, $e.product = Fe, $e.ua = E, $e.version = oe && $, $e.os = le || {
|
104486
104486
|
/**
|
@@ -105879,7 +105879,7 @@ function Mie(e, t) {
|
|
105879
105879
|
a[W4[x]].cancel(y);
|
105880
105880
|
}, state: o, steps: a };
|
105881
105881
|
}
|
105882
|
-
const { schedule: ir, cancel: Gu, state:
|
105882
|
+
const { schedule: ir, cancel: Gu, state: go, steps: U7 } = Mie(typeof requestAnimationFrame < "u" ? requestAnimationFrame : Ci, !0), Cie = On({ strict: !1 }), TP = {
|
105883
105883
|
animation: [
|
105884
105884
|
"animate",
|
105885
105885
|
"variants",
|
@@ -106875,7 +106875,7 @@ function URt() {
|
|
106875
106875
|
f6 = void 0;
|
106876
106876
|
}
|
106877
106877
|
const rl = {
|
106878
|
-
now: () => (f6 === void 0 && rl.set(
|
106878
|
+
now: () => (f6 === void 0 && rl.set(go.isProcessing || PBt.useManualTiming ? go.timestamp : performance.now()), f6),
|
106879
106879
|
set: (e) => {
|
106880
106880
|
f6 = e, queueMicrotask(URt);
|
106881
106881
|
}
|
@@ -107943,7 +107943,7 @@ const ePt = (e) => {
|
|
107943
107943
|
* If we're processing this frame we can use the
|
107944
107944
|
* framelocked timestamp to keep things in sync.
|
107945
107945
|
*/
|
107946
|
-
now: () =>
|
107946
|
+
now: () => go.isProcessing ? go.timestamp : rl.now()
|
107947
107947
|
};
|
107948
107948
|
}, tPt = {
|
107949
107949
|
decay: ez,
|
@@ -108634,7 +108634,7 @@ class Sae {
|
|
108634
108634
|
const d = Y7(this.lastMoveEventInfo, this.history), f = this.startEvent !== null, h = TPt(d.offset, { x: 0, y: 0 }) >= 3;
|
108635
108635
|
if (!f && !h)
|
108636
108636
|
return;
|
108637
|
-
const { point: p } = d, { timestamp: m } =
|
108637
|
+
const { point: p } = d, { timestamp: m } = go;
|
108638
108638
|
this.history.push({ ...p, timestamp: m });
|
108639
108639
|
const { onStart: g, onMove: y } = this.handlers;
|
108640
108640
|
f || (g && g(this.lastMoveEvent, d), this.startEvent = this.lastMoveEvent), y && y(this.lastMoveEvent, d);
|
@@ -108650,7 +108650,7 @@ class Sae {
|
|
108650
108650
|
}, !ET(t))
|
108651
108651
|
return;
|
108652
108652
|
this.dragSnapToOrigin = i, this.handlers = n, this.transformPagePoint = r, this.contextWindow = o || window;
|
108653
|
-
const a = W3(t), s = K7(a, this.transformPagePoint), { point: l } = s, { timestamp: c } =
|
108653
|
+
const a = W3(t), s = K7(a, this.transformPagePoint), { point: l } = s, { timestamp: c } = go;
|
108654
108654
|
this.history = [{ ...l, timestamp: c }];
|
108655
108655
|
const { onSessionStart: u } = n;
|
108656
108656
|
u && u(t, Y7(s, this.history)), this.removeListeners = U3(N2(this.contextWindow, "pointermove", this.handlePointerMove), N2(this.contextWindow, "pointerup", this.handlePointerUp), N2(this.contextWindow, "pointercancel", this.handlePointerUp));
|
@@ -109547,7 +109547,7 @@ function Wae({ attachResizeListener: e, defaultParent: t, measureScroll: n, chec
|
|
109547
109547
|
}
|
109548
109548
|
this.isUpdating || this.nodes.forEach(Ezt), this.isUpdating = !1, this.nodes.forEach(Azt), this.nodes.forEach(wzt), this.nodes.forEach(kzt), this.clearAllSnapshots();
|
109549
109549
|
const s = rl.now();
|
109550
|
-
|
109550
|
+
go.delta = Mc(0, 1e3 / 60, s - go.timestamp), go.timestamp = s, go.isProcessing = !0, U7.update.process(go), U7.preRender.process(go), U7.render.process(go), go.isProcessing = !1;
|
109551
109551
|
}
|
109552
109552
|
didUpdate() {
|
109553
109553
|
this.updateScheduled || (this.updateScheduled = !0, hT.read(this.scheduleUpdate));
|
@@ -109672,7 +109672,7 @@ function Wae({ attachResizeListener: e, defaultParent: t, measureScroll: n, chec
|
|
109672
109672
|
this.scroll = void 0, this.layout = void 0, this.snapshot = void 0, this.prevTransformTemplateValue = void 0, this.targetDelta = void 0, this.target = void 0, this.isLayoutDirty = !1;
|
109673
109673
|
}
|
109674
109674
|
forceRelativeParentToResolveTarget() {
|
109675
|
-
this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !==
|
109675
|
+
this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== go.timestamp && this.relativeParent.resolveTargetDelta(!0);
|
109676
109676
|
}
|
109677
109677
|
resolveTargetDelta(a = !1) {
|
109678
109678
|
var s;
|
@@ -109683,7 +109683,7 @@ function Wae({ attachResizeListener: e, defaultParent: t, measureScroll: n, chec
|
|
109683
109683
|
return;
|
109684
109684
|
const { layout: d, layoutId: f } = this.options;
|
109685
109685
|
if (!(!this.layout || !(d || f))) {
|
109686
|
-
if (this.resolvedRelativeTargetAt =
|
109686
|
+
if (this.resolvedRelativeTargetAt = go.timestamp, !this.targetDelta && !this.relativeTarget) {
|
109687
109687
|
const h = this.getClosestProjectingParent();
|
109688
109688
|
h && h.layout && this.animationProgress !== 1 ? (this.relativeParent = h, this.forceRelativeParentToResolveTarget(), this.relativeTarget = Tr(), this.relativeTargetOrigin = Tr(), O2(this.relativeTargetOrigin, this.layout.layoutBox, h.layout.layoutBox), la(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
|
109689
109689
|
}
|
@@ -109708,7 +109708,7 @@ function Wae({ attachResizeListener: e, defaultParent: t, measureScroll: n, chec
|
|
109708
109708
|
var a;
|
109709
109709
|
const s = this.getLead(), l = !!this.resumingFrom || this !== s;
|
109710
109710
|
let c = !0;
|
109711
|
-
if ((this.isProjectionDirty || !((a = this.parent) === null || a === void 0) && a.isProjectionDirty) && (c = !1), l && (this.isSharedProjectionDirty || this.isTransformDirty) && (c = !1), this.resolvedRelativeTargetAt ===
|
109711
|
+
if ((this.isProjectionDirty || !((a = this.parent) === null || a === void 0) && a.isProjectionDirty) && (c = !1), l && (this.isSharedProjectionDirty || this.isTransformDirty) && (c = !1), this.resolvedRelativeTargetAt === go.timestamp && (c = !1), c)
|
109712
109712
|
return;
|
109713
109713
|
const { layout: u, layoutId: d } = this.options;
|
109714
109714
|
if (this.isTreeAnimating = !!(this.parent && this.parent.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(u || d))
|
@@ -121326,7 +121326,7 @@ const Fle = (e) => ({ node: t, updateAttributes: n, deleteNode: r }) => {
|
|
121326
121326
|
}, _ = () => {
|
121327
121327
|
L0 = -1, document.removeEventListener("mousemove", j), document.removeEventListener("mouseup", _), document.removeEventListener("touchmove", j), document.removeEventListener("touchend", _), m(!1);
|
121328
121328
|
}, O = (Z, G) => {
|
121329
|
-
var Q,
|
121329
|
+
var Q, X;
|
121330
121330
|
if (!h.current) {
|
121331
121331
|
console.error("Media ref is undefined|null", {
|
121332
121332
|
resizableImg: h.current
|
@@ -121335,7 +121335,7 @@ const Fle = (e) => ({ node: t, updateAttributes: n, deleteNode: r }) => {
|
|
121335
121335
|
}
|
121336
121336
|
const ae = {
|
121337
121337
|
width: (Q = h.current) == null ? void 0 : Q.width,
|
121338
|
-
height: (
|
121338
|
+
height: (X = h.current) == null ? void 0 : X.height
|
121339
121339
|
}, se = {
|
121340
121340
|
width: -1,
|
121341
121341
|
height: -1
|
@@ -121762,7 +121762,7 @@ const FGt = "_root_98iqw_1", MGt = "_article_98iqw_21", zH = {
|
|
121762
121762
|
})
|
121763
121763
|
}), Cle = (e) => /* @__PURE__ */ k.jsx("img", {
|
121764
121764
|
...e
|
121765
|
-
}), CGt = "_header_nqq4j_1", EGt = "_avatar_nqq4j_11", AGt = "_avatarOverflow_nqq4j_16", jGt = "_avatarSquare_nqq4j_23", DGt = "_avatarShadow_nqq4j_26", SGt = "_author_nqq4j_37", TGt = "_authorLink_nqq4j_44", LGt = "_authorVerified_nqq4j_53", NGt = "_authorLinkText_nqq4j_56", IGt = "_authorMeta_nqq4j_63", OGt = "_authorFollow_nqq4j_66", BGt = "_username_nqq4j_69", RGt = "_follow_nqq4j_74", _Gt = "_separator_nqq4j_82", PGt = "_brand_nqq4j_86", zGt = "_twitterIcon_nqq4j_90",
|
121765
|
+
}), CGt = "_header_nqq4j_1", EGt = "_avatar_nqq4j_11", AGt = "_avatarOverflow_nqq4j_16", jGt = "_avatarSquare_nqq4j_23", DGt = "_avatarShadow_nqq4j_26", SGt = "_author_nqq4j_37", TGt = "_authorLink_nqq4j_44", LGt = "_authorVerified_nqq4j_53", NGt = "_authorLinkText_nqq4j_56", IGt = "_authorMeta_nqq4j_63", OGt = "_authorFollow_nqq4j_66", BGt = "_username_nqq4j_69", RGt = "_follow_nqq4j_74", _Gt = "_separator_nqq4j_82", PGt = "_brand_nqq4j_86", zGt = "_twitterIcon_nqq4j_90", uo = {
|
121766
121766
|
header: CGt,
|
121767
121767
|
avatar: EGt,
|
121768
121768
|
avatarOverflow: AGt,
|
@@ -121803,16 +121803,16 @@ const FGt = "_root_98iqw_1", MGt = "_article_98iqw_21", zH = {
|
|
121803
121803
|
var n;
|
121804
121804
|
const r = (n = t == null ? void 0 : t.AvatarImg) != null ? n : Cle, { user: o } = e;
|
121805
121805
|
return /* @__PURE__ */ k.jsxs("div", {
|
121806
|
-
className:
|
121806
|
+
className: uo.header,
|
121807
121807
|
children: [
|
121808
121808
|
/* @__PURE__ */ k.jsxs("a", {
|
121809
121809
|
href: e.url,
|
121810
|
-
className:
|
121810
|
+
className: uo.avatar,
|
121811
121811
|
target: "_blank",
|
121812
121812
|
rel: "noopener noreferrer",
|
121813
121813
|
children: [
|
121814
121814
|
/* @__PURE__ */ k.jsx("div", {
|
121815
|
-
className: Su(
|
121815
|
+
className: Su(uo.avatarOverflow, o.profile_image_shape === "Square" && uo.avatarSquare),
|
121816
121816
|
children: /* @__PURE__ */ k.jsx(r, {
|
121817
121817
|
src: o.profile_image_url_https,
|
121818
121818
|
alt: o.name,
|
@@ -121821,24 +121821,24 @@ const FGt = "_root_98iqw_1", MGt = "_article_98iqw_21", zH = {
|
|
121821
121821
|
})
|
121822
121822
|
}),
|
121823
121823
|
/* @__PURE__ */ k.jsx("div", {
|
121824
|
-
className:
|
121824
|
+
className: uo.avatarOverflow,
|
121825
121825
|
children: /* @__PURE__ */ k.jsx("div", {
|
121826
|
-
className:
|
121826
|
+
className: uo.avatarShadow
|
121827
121827
|
})
|
121828
121828
|
})
|
121829
121829
|
]
|
121830
121830
|
}),
|
121831
121831
|
/* @__PURE__ */ k.jsxs("div", {
|
121832
|
-
className:
|
121832
|
+
className: uo.author,
|
121833
121833
|
children: [
|
121834
121834
|
/* @__PURE__ */ k.jsxs("a", {
|
121835
121835
|
href: e.url,
|
121836
|
-
className:
|
121836
|
+
className: uo.authorLink,
|
121837
121837
|
target: "_blank",
|
121838
121838
|
rel: "noopener noreferrer",
|
121839
121839
|
children: [
|
121840
121840
|
/* @__PURE__ */ k.jsx("div", {
|
121841
|
-
className:
|
121841
|
+
className: uo.authorLinkText,
|
121842
121842
|
children: /* @__PURE__ */ k.jsx("span", {
|
121843
121843
|
title: o.name,
|
121844
121844
|
children: o.name
|
@@ -121846,16 +121846,16 @@ const FGt = "_root_98iqw_1", MGt = "_article_98iqw_21", zH = {
|
|
121846
121846
|
}),
|
121847
121847
|
/* @__PURE__ */ k.jsx(Ele, {
|
121848
121848
|
user: o,
|
121849
|
-
className:
|
121849
|
+
className: uo.authorVerified
|
121850
121850
|
})
|
121851
121851
|
]
|
121852
121852
|
}),
|
121853
121853
|
/* @__PURE__ */ k.jsxs("div", {
|
121854
|
-
className:
|
121854
|
+
className: uo.authorMeta,
|
121855
121855
|
children: [
|
121856
121856
|
/* @__PURE__ */ k.jsx("a", {
|
121857
121857
|
href: e.url,
|
121858
|
-
className:
|
121858
|
+
className: uo.username,
|
121859
121859
|
target: "_blank",
|
121860
121860
|
rel: "noopener noreferrer",
|
121861
121861
|
children: /* @__PURE__ */ k.jsxs("span", {
|
@@ -121867,15 +121867,15 @@ const FGt = "_root_98iqw_1", MGt = "_article_98iqw_21", zH = {
|
|
121867
121867
|
})
|
121868
121868
|
}),
|
121869
121869
|
/* @__PURE__ */ k.jsxs("div", {
|
121870
|
-
className:
|
121870
|
+
className: uo.authorFollow,
|
121871
121871
|
children: [
|
121872
121872
|
/* @__PURE__ */ k.jsx("span", {
|
121873
|
-
className:
|
121873
|
+
className: uo.separator,
|
121874
121874
|
children: "·"
|
121875
121875
|
}),
|
121876
121876
|
/* @__PURE__ */ k.jsx("a", {
|
121877
121877
|
href: o.follow_url,
|
121878
|
-
className:
|
121878
|
+
className: uo.follow,
|
121879
121879
|
target: "_blank",
|
121880
121880
|
rel: "noopener noreferrer",
|
121881
121881
|
children: "Follow"
|
@@ -121888,14 +121888,14 @@ const FGt = "_root_98iqw_1", MGt = "_article_98iqw_21", zH = {
|
|
121888
121888
|
}),
|
121889
121889
|
/* @__PURE__ */ k.jsx("a", {
|
121890
121890
|
href: e.url,
|
121891
|
-
className:
|
121891
|
+
className: uo.brand,
|
121892
121892
|
target: "_blank",
|
121893
121893
|
rel: "noopener noreferrer",
|
121894
121894
|
"aria-label": "View on Twitter",
|
121895
121895
|
children: /* @__PURE__ */ k.jsx("svg", {
|
121896
121896
|
viewBox: "0 0 24 24",
|
121897
121897
|
"aria-hidden": "true",
|
121898
|
-
className:
|
121898
|
+
className: uo.twitterIcon,
|
121899
121899
|
children: /* @__PURE__ */ k.jsx("g", {
|
121900
121900
|
children: /* @__PURE__ */ k.jsx("path", {
|
121901
121901
|
d: "M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"
|
@@ -123055,7 +123055,7 @@ const Sw = Ae.use || // This extra generic is to avoid TypeScript mixing up the
|
|
123055
123055
|
r,
|
123056
123056
|
y
|
123057
123057
|
]
|
123058
|
-
), I[0], I[1]), U = !w.current, K = h[y] && h[y].length > 0, Z = H.data, G = xn(Z) ? N && Ile(N) ? Sw(N) : N : Z, ae = H.error, se = Xe(G), ie = f ? xn(Z) ? xn(se.current) ? G : se.current : Z : G, Q = K && !xn(ae) ? !1 : U && !xn(s) ? s : E().isPaused() ? !1 : i ? xn(G) ? !1 : l : xn(G) || l,
|
123058
|
+
), I[0], I[1]), U = !w.current, K = h[y] && h[y].length > 0, Z = H.data, G = xn(Z) ? N && Ile(N) ? Sw(N) : N : Z, ae = H.error, se = Xe(G), ie = f ? xn(Z) ? xn(se.current) ? G : se.current : Z : G, Q = K && !xn(ae) ? !1 : U && !xn(s) ? s : E().isPaused() ? !1 : i ? xn(G) ? !1 : l : xn(G) || l, X = !!(y && t && U && Q), te = xn(H.isValidating) ? X : H.isValidating, ne = xn(H.isLoading) ? X : H.isLoading, D = Pe(
|
123059
123059
|
async (ge) => {
|
123060
123060
|
const oe = C.current;
|
123061
123061
|
if (!y || !oe || v.current || E().isPaused())
|
@@ -126948,8 +126948,8 @@ const HKt = Ae.memo(
|
|
126948
126948
|
] }) })
|
126949
126949
|
), Zle = Ae.memo(
|
126950
126950
|
({ node: e, getPos: t, editor: n, deleteNode: r, ...o }) => {
|
126951
|
-
var
|
126952
|
-
const i = (te = (
|
126951
|
+
var X, te, ne, D;
|
126952
|
+
const i = (te = (X = o.extension) == null ? void 0 : X.options) == null ? void 0 : te.onCopyHeadingLink, [a, s] = Le(!1), [l, c] = Le(!1), [u, d] = Le(2), f = fKt(n, e, t()), { isPreviewMode: h, isPresentationMode: p } = H3(), { collapsedHeadings: m, setCollapsedHeadings: g } = FL(), {
|
126953
126953
|
isHeading: y,
|
126954
126954
|
isThisHeadingCollapsed: x,
|
126955
126955
|
shouldBeHidden: w,
|
@@ -138762,7 +138762,7 @@ function Al(e) {
|
|
138762
138762
|
i && (B5[t] = i), a && (R5[t] = a);
|
138763
138763
|
}
|
138764
138764
|
var Qce = {};
|
138765
|
-
function
|
138765
|
+
function ee(e, t) {
|
138766
138766
|
Qce[e] = t;
|
138767
138767
|
}
|
138768
138768
|
function QV(e) {
|
@@ -138919,8 +138919,8 @@ var jl = function(t, n) {
|
|
138919
138919
|
V++, G = z[V] || {}, ae = !1;
|
138920
138920
|
}
|
138921
138921
|
if (!(o >= s)) {
|
138922
|
-
var
|
138923
|
-
(o > 0 || t.hskipBeforeAndAfter) && (
|
138922
|
+
var X = void 0;
|
138923
|
+
(o > 0 || t.hskipBeforeAndAfter) && (X = Dt.deflt(G.pregap, f), X !== 0 && (N = De.makeSpan(["arraycolsep"], []), N.style.width = lt(X), T.push(N)));
|
138924
138924
|
var te = [];
|
138925
138925
|
for (r = 0; r < i; ++r) {
|
138926
138926
|
var ne = l[r], D = ne[o];
|
@@ -138936,7 +138936,7 @@ var jl = function(t, n) {
|
|
138936
138936
|
te = De.makeVList({
|
138937
138937
|
positionType: "individualShift",
|
138938
138938
|
children: te
|
138939
|
-
}, n), te = De.makeSpan(["col-align-" + (G.align || "c")], [te]), T.push(te), (o < s - 1 || t.hskipBeforeAndAfter) && (
|
138939
|
+
}, n), te = De.makeSpan(["col-align-" + (G.align || "c")], [te]), T.push(te), (o < s - 1 || t.hskipBeforeAndAfter) && (X = Dt.deflt(G.postgap, f), X !== 0 && (N = De.makeSpan(["arraycolsep"], []), N.style.width = lt(X), T.push(N)));
|
138940
138940
|
}
|
138941
138941
|
}
|
138942
138942
|
if (l = De.makeSpan(["mtable"], T), c.length > 0) {
|
@@ -139289,8 +139289,8 @@ Al({
|
|
139289
139289
|
htmlBuilder: jl,
|
139290
139290
|
mathmlBuilder: Dl
|
139291
139291
|
});
|
139292
|
-
|
139293
|
-
|
139292
|
+
ee("\\nonumber", "\\gdef\\@eqnsw{0}");
|
139293
|
+
ee("\\notag", "\\nonumber");
|
139294
139294
|
mt({
|
139295
139295
|
type: "text",
|
139296
139296
|
// Doesn't matter what this is.
|
@@ -140637,7 +140637,7 @@ mt({
|
|
140637
140637
|
htmlBuilder: aue,
|
140638
140638
|
mathmlBuilder: Oen
|
140639
140639
|
});
|
140640
|
-
|
140640
|
+
ee("\\operatorname", "\\@ifstar\\operatornamewithlimits\\operatorname@");
|
140641
140641
|
h0({
|
140642
140642
|
type: "ordgroup",
|
140643
140643
|
htmlBuilder(e, t) {
|
@@ -141570,35 +141570,35 @@ class Wen {
|
|
141570
141570
|
}
|
141571
141571
|
}
|
141572
141572
|
var Gen = Qce;
|
141573
|
-
|
141573
|
+
ee("\\noexpand", function(e) {
|
141574
141574
|
var t = e.popToken();
|
141575
141575
|
return e.isExpandable(t.text) && (t.noexpand = !0, t.treatAsRelax = !0), {
|
141576
141576
|
tokens: [t],
|
141577
141577
|
numArgs: 0
|
141578
141578
|
};
|
141579
141579
|
});
|
141580
|
-
|
141580
|
+
ee("\\expandafter", function(e) {
|
141581
141581
|
var t = e.popToken();
|
141582
141582
|
return e.expandOnce(!0), {
|
141583
141583
|
tokens: [t],
|
141584
141584
|
numArgs: 0
|
141585
141585
|
};
|
141586
141586
|
});
|
141587
|
-
|
141587
|
+
ee("\\@firstoftwo", function(e) {
|
141588
141588
|
var t = e.consumeArgs(2);
|
141589
141589
|
return {
|
141590
141590
|
tokens: t[0],
|
141591
141591
|
numArgs: 0
|
141592
141592
|
};
|
141593
141593
|
});
|
141594
|
-
|
141594
|
+
ee("\\@secondoftwo", function(e) {
|
141595
141595
|
var t = e.consumeArgs(2);
|
141596
141596
|
return {
|
141597
141597
|
tokens: t[1],
|
141598
141598
|
numArgs: 0
|
141599
141599
|
};
|
141600
141600
|
});
|
141601
|
-
|
141601
|
+
ee("\\@ifnextchar", function(e) {
|
141602
141602
|
var t = e.consumeArgs(3);
|
141603
141603
|
e.consumeSpaces();
|
141604
141604
|
var n = e.future();
|
@@ -141610,8 +141610,8 @@ X("\\@ifnextchar", function(e) {
|
|
141610
141610
|
numArgs: 0
|
141611
141611
|
};
|
141612
141612
|
});
|
141613
|
-
|
141614
|
-
|
141613
|
+
ee("\\@ifstar", "\\@ifnextchar *{\\@firstoftwo{#1}}");
|
141614
|
+
ee("\\TextOrMath", function(e) {
|
141615
141615
|
var t = e.consumeArgs(2);
|
141616
141616
|
return e.mode === "text" ? {
|
141617
141617
|
tokens: t[0],
|
@@ -141645,7 +141645,7 @@ var fq = {
|
|
141645
141645
|
f: 15,
|
141646
141646
|
F: 15
|
141647
141647
|
};
|
141648
|
-
|
141648
|
+
ee("\\char", function(e) {
|
141649
141649
|
var t = e.popToken(), n, r = "";
|
141650
141650
|
if (t.text === "'")
|
141651
141651
|
n = 8, t = e.popToken();
|
@@ -141691,97 +141691,97 @@ var VL = (e, t, n, r) => {
|
|
141691
141691
|
numArgs: s
|
141692
141692
|
}), "";
|
141693
141693
|
};
|
141694
|
-
|
141695
|
-
|
141696
|
-
|
141697
|
-
|
141694
|
+
ee("\\newcommand", (e) => VL(e, !1, !0, !1));
|
141695
|
+
ee("\\renewcommand", (e) => VL(e, !0, !1, !1));
|
141696
|
+
ee("\\providecommand", (e) => VL(e, !0, !0, !0));
|
141697
|
+
ee("\\message", (e) => {
|
141698
141698
|
var t = e.consumeArgs(1)[0];
|
141699
141699
|
return console.log(t.reverse().map((n) => n.text).join("")), "";
|
141700
141700
|
});
|
141701
|
-
|
141701
|
+
ee("\\errmessage", (e) => {
|
141702
141702
|
var t = e.consumeArgs(1)[0];
|
141703
141703
|
return console.error(t.reverse().map((n) => n.text).join("")), "";
|
141704
141704
|
});
|
141705
|
-
|
141705
|
+
ee("\\show", (e) => {
|
141706
141706
|
var t = e.popToken(), n = t.text;
|
141707
141707
|
return console.log(t, e.macros.get(n), ku[n], Jn.math[n], Jn.text[n]), "";
|
141708
141708
|
});
|
141709
|
-
|
141710
|
-
|
141711
|
-
|
141712
|
-
|
141713
|
-
|
141714
|
-
|
141715
|
-
|
141716
|
-
|
141717
|
-
|
141718
|
-
|
141719
|
-
|
141720
|
-
|
141721
|
-
|
141722
|
-
|
141723
|
-
|
141724
|
-
|
141725
|
-
|
141726
|
-
|
141727
|
-
|
141728
|
-
|
141729
|
-
|
141730
|
-
|
141731
|
-
|
141732
|
-
|
141733
|
-
|
141734
|
-
|
141735
|
-
|
141736
|
-
|
141737
|
-
|
141738
|
-
|
141739
|
-
|
141740
|
-
|
141741
|
-
|
141742
|
-
|
141743
|
-
|
141744
|
-
|
141745
|
-
|
141746
|
-
|
141747
|
-
|
141748
|
-
|
141749
|
-
|
141750
|
-
|
141751
|
-
|
141752
|
-
|
141753
|
-
|
141754
|
-
|
141755
|
-
|
141756
|
-
|
141757
|
-
|
141758
|
-
|
141759
|
-
|
141760
|
-
|
141761
|
-
|
141762
|
-
|
141763
|
-
|
141764
|
-
|
141765
|
-
|
141766
|
-
|
141767
|
-
|
141768
|
-
|
141769
|
-
|
141770
|
-
|
141771
|
-
|
141772
|
-
|
141773
|
-
|
141774
|
-
|
141775
|
-
|
141776
|
-
|
141777
|
-
|
141778
|
-
|
141779
|
-
|
141780
|
-
|
141781
|
-
|
141782
|
-
|
141783
|
-
|
141784
|
-
|
141709
|
+
ee("\\bgroup", "{");
|
141710
|
+
ee("\\egroup", "}");
|
141711
|
+
ee("~", "\\nobreakspace");
|
141712
|
+
ee("\\lq", "`");
|
141713
|
+
ee("\\rq", "'");
|
141714
|
+
ee("\\aa", "\\r a");
|
141715
|
+
ee("\\AA", "\\r A");
|
141716
|
+
ee("\\textcopyright", "\\html@mathml{\\textcircled{c}}{\\char`©}");
|
141717
|
+
ee("\\copyright", "\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");
|
141718
|
+
ee("\\textregistered", "\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");
|
141719
|
+
ee("ℬ", "\\mathscr{B}");
|
141720
|
+
ee("ℰ", "\\mathscr{E}");
|
141721
|
+
ee("ℱ", "\\mathscr{F}");
|
141722
|
+
ee("ℋ", "\\mathscr{H}");
|
141723
|
+
ee("ℐ", "\\mathscr{I}");
|
141724
|
+
ee("ℒ", "\\mathscr{L}");
|
141725
|
+
ee("ℳ", "\\mathscr{M}");
|
141726
|
+
ee("ℛ", "\\mathscr{R}");
|
141727
|
+
ee("ℭ", "\\mathfrak{C}");
|
141728
|
+
ee("ℌ", "\\mathfrak{H}");
|
141729
|
+
ee("ℨ", "\\mathfrak{Z}");
|
141730
|
+
ee("\\Bbbk", "\\Bbb{k}");
|
141731
|
+
ee("·", "\\cdotp");
|
141732
|
+
ee("\\llap", "\\mathllap{\\textrm{#1}}");
|
141733
|
+
ee("\\rlap", "\\mathrlap{\\textrm{#1}}");
|
141734
|
+
ee("\\clap", "\\mathclap{\\textrm{#1}}");
|
141735
|
+
ee("\\mathstrut", "\\vphantom{(}");
|
141736
|
+
ee("\\underbar", "\\underline{\\text{#1}}");
|
141737
|
+
ee("\\not", '\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');
|
141738
|
+
ee("\\neq", "\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");
|
141739
|
+
ee("\\ne", "\\neq");
|
141740
|
+
ee("≠", "\\neq");
|
141741
|
+
ee("\\notin", "\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");
|
141742
|
+
ee("∉", "\\notin");
|
141743
|
+
ee("≘", "\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");
|
141744
|
+
ee("≙", "\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");
|
141745
|
+
ee("≚", "\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");
|
141746
|
+
ee("≛", "\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");
|
141747
|
+
ee("≝", "\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");
|
141748
|
+
ee("≞", "\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");
|
141749
|
+
ee("≟", "\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");
|
141750
|
+
ee("⟂", "\\perp");
|
141751
|
+
ee("‼", "\\mathclose{!\\mkern-0.8mu!}");
|
141752
|
+
ee("∌", "\\notni");
|
141753
|
+
ee("⌜", "\\ulcorner");
|
141754
|
+
ee("⌝", "\\urcorner");
|
141755
|
+
ee("⌞", "\\llcorner");
|
141756
|
+
ee("⌟", "\\lrcorner");
|
141757
|
+
ee("©", "\\copyright");
|
141758
|
+
ee("®", "\\textregistered");
|
141759
|
+
ee("️", "\\textregistered");
|
141760
|
+
ee("\\ulcorner", '\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');
|
141761
|
+
ee("\\urcorner", '\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');
|
141762
|
+
ee("\\llcorner", '\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');
|
141763
|
+
ee("\\lrcorner", '\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');
|
141764
|
+
ee("\\vdots", "{\\varvdots\\rule{0pt}{15pt}}");
|
141765
|
+
ee("⋮", "\\vdots");
|
141766
|
+
ee("\\varGamma", "\\mathit{\\Gamma}");
|
141767
|
+
ee("\\varDelta", "\\mathit{\\Delta}");
|
141768
|
+
ee("\\varTheta", "\\mathit{\\Theta}");
|
141769
|
+
ee("\\varLambda", "\\mathit{\\Lambda}");
|
141770
|
+
ee("\\varXi", "\\mathit{\\Xi}");
|
141771
|
+
ee("\\varPi", "\\mathit{\\Pi}");
|
141772
|
+
ee("\\varSigma", "\\mathit{\\Sigma}");
|
141773
|
+
ee("\\varUpsilon", "\\mathit{\\Upsilon}");
|
141774
|
+
ee("\\varPhi", "\\mathit{\\Phi}");
|
141775
|
+
ee("\\varPsi", "\\mathit{\\Psi}");
|
141776
|
+
ee("\\varOmega", "\\mathit{\\Omega}");
|
141777
|
+
ee("\\substack", "\\begin{subarray}{c}#1\\end{subarray}");
|
141778
|
+
ee("\\colon", "\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");
|
141779
|
+
ee("\\boxed", "\\fbox{$\\displaystyle{#1}$}");
|
141780
|
+
ee("\\iff", "\\DOTSB\\;\\Longleftrightarrow\\;");
|
141781
|
+
ee("\\implies", "\\DOTSB\\;\\Longrightarrow\\;");
|
141782
|
+
ee("\\impliedby", "\\DOTSB\\;\\Longleftarrow\\;");
|
141783
|
+
ee("\\dddot", "{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");
|
141784
|
+
ee("\\ddddot", "{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");
|
141785
141785
|
var hq = {
|
141786
141786
|
",": "\\dotsc",
|
141787
141787
|
"\\not": "\\dotsb",
|
@@ -141837,7 +141837,7 @@ var hq = {
|
|
141837
141837
|
// Symbols whose definition starts with \DOTSX:
|
141838
141838
|
"\\DOTSX": "\\dotsx"
|
141839
141839
|
};
|
141840
|
-
|
141840
|
+
ee("\\dots", function(e) {
|
141841
141841
|
var t = "\\dotso", n = e.expandAfterFuture().text;
|
141842
141842
|
return n in hq ? t = hq[n] : (n.slice(0, 4) === "\\not" || n in Jn.math && Dt.contains(["bin", "rel"], Jn.math[n].group)) && (t = "\\dotsb"), t;
|
141843
141843
|
});
|
@@ -141865,202 +141865,202 @@ var qL = {
|
|
141865
141865
|
".": !0,
|
141866
141866
|
",": !0
|
141867
141867
|
};
|
141868
|
-
|
141868
|
+
ee("\\dotso", function(e) {
|
141869
141869
|
var t = e.future().text;
|
141870
141870
|
return t in qL ? "\\ldots\\," : "\\ldots";
|
141871
141871
|
});
|
141872
|
-
|
141872
|
+
ee("\\dotsc", function(e) {
|
141873
141873
|
var t = e.future().text;
|
141874
141874
|
return t in qL && t !== "," ? "\\ldots\\," : "\\ldots";
|
141875
141875
|
});
|
141876
|
-
|
141876
|
+
ee("\\cdots", function(e) {
|
141877
141877
|
var t = e.future().text;
|
141878
141878
|
return t in qL ? "\\@cdots\\," : "\\@cdots";
|
141879
141879
|
});
|
141880
|
-
|
141881
|
-
|
141882
|
-
|
141883
|
-
|
141884
|
-
|
141885
|
-
|
141886
|
-
|
141887
|
-
|
141888
|
-
|
141889
|
-
|
141890
|
-
|
141891
|
-
|
141892
|
-
|
141893
|
-
|
141894
|
-
|
141895
|
-
|
141896
|
-
|
141897
|
-
|
141898
|
-
|
141899
|
-
|
141900
|
-
|
141901
|
-
|
141902
|
-
|
141903
|
-
|
141904
|
-
|
141905
|
-
|
141880
|
+
ee("\\dotsb", "\\cdots");
|
141881
|
+
ee("\\dotsm", "\\cdots");
|
141882
|
+
ee("\\dotsi", "\\!\\cdots");
|
141883
|
+
ee("\\dotsx", "\\ldots\\,");
|
141884
|
+
ee("\\DOTSI", "\\relax");
|
141885
|
+
ee("\\DOTSB", "\\relax");
|
141886
|
+
ee("\\DOTSX", "\\relax");
|
141887
|
+
ee("\\tmspace", "\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");
|
141888
|
+
ee("\\,", "\\tmspace+{3mu}{.1667em}");
|
141889
|
+
ee("\\thinspace", "\\,");
|
141890
|
+
ee("\\>", "\\mskip{4mu}");
|
141891
|
+
ee("\\:", "\\tmspace+{4mu}{.2222em}");
|
141892
|
+
ee("\\medspace", "\\:");
|
141893
|
+
ee("\\;", "\\tmspace+{5mu}{.2777em}");
|
141894
|
+
ee("\\thickspace", "\\;");
|
141895
|
+
ee("\\!", "\\tmspace-{3mu}{.1667em}");
|
141896
|
+
ee("\\negthinspace", "\\!");
|
141897
|
+
ee("\\negmedspace", "\\tmspace-{4mu}{.2222em}");
|
141898
|
+
ee("\\negthickspace", "\\tmspace-{5mu}{.277em}");
|
141899
|
+
ee("\\enspace", "\\kern.5em ");
|
141900
|
+
ee("\\enskip", "\\hskip.5em\\relax");
|
141901
|
+
ee("\\quad", "\\hskip1em\\relax");
|
141902
|
+
ee("\\qquad", "\\hskip2em\\relax");
|
141903
|
+
ee("\\tag", "\\@ifstar\\tag@literal\\tag@paren");
|
141904
|
+
ee("\\tag@paren", "\\tag@literal{({#1})}");
|
141905
|
+
ee("\\tag@literal", (e) => {
|
141906
141906
|
if (e.macros.get("\\df@tag"))
|
141907
141907
|
throw new tt("Multiple \\tag");
|
141908
141908
|
return "\\gdef\\df@tag{\\text{#1}}";
|
141909
141909
|
});
|
141910
|
-
|
141911
|
-
|
141912
|
-
|
141913
|
-
|
141914
|
-
|
141915
|
-
|
141910
|
+
ee("\\bmod", "\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");
|
141911
|
+
ee("\\pod", "\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");
|
141912
|
+
ee("\\pmod", "\\pod{{\\rm mod}\\mkern6mu#1}");
|
141913
|
+
ee("\\mod", "\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");
|
141914
|
+
ee("\\newline", "\\\\\\relax");
|
141915
|
+
ee("\\TeX", "\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");
|
141916
141916
|
var uue = lt($s["Main-Regular"][84][1] - 0.7 * $s["Main-Regular"][65][1]);
|
141917
|
-
|
141918
|
-
|
141919
|
-
|
141920
|
-
|
141921
|
-
|
141922
|
-
|
141923
|
-
|
141924
|
-
|
141925
|
-
|
141926
|
-
|
141927
|
-
|
141928
|
-
|
141929
|
-
|
141930
|
-
|
141931
|
-
|
141932
|
-
|
141933
|
-
|
141934
|
-
|
141935
|
-
|
141936
|
-
|
141937
|
-
|
141938
|
-
|
141939
|
-
|
141940
|
-
|
141941
|
-
|
141942
|
-
|
141943
|
-
|
141944
|
-
|
141945
|
-
|
141946
|
-
|
141947
|
-
|
141948
|
-
|
141949
|
-
|
141950
|
-
|
141951
|
-
|
141952
|
-
|
141953
|
-
|
141954
|
-
|
141955
|
-
|
141956
|
-
|
141957
|
-
|
141958
|
-
|
141959
|
-
|
141960
|
-
|
141961
|
-
|
141962
|
-
|
141963
|
-
|
141964
|
-
|
141965
|
-
|
141966
|
-
|
141967
|
-
|
141968
|
-
|
141969
|
-
|
141970
|
-
|
141971
|
-
|
141972
|
-
|
141973
|
-
|
141974
|
-
|
141975
|
-
|
141976
|
-
|
141977
|
-
|
141978
|
-
|
141979
|
-
|
141980
|
-
|
141981
|
-
|
141982
|
-
|
141983
|
-
|
141984
|
-
|
141985
|
-
|
141986
|
-
|
141987
|
-
|
141988
|
-
|
141989
|
-
|
141990
|
-
|
141991
|
-
|
141992
|
-
|
141993
|
-
|
141994
|
-
|
141995
|
-
|
141996
|
-
|
141997
|
-
|
141998
|
-
|
141999
|
-
|
142000
|
-
|
142001
|
-
|
142002
|
-
|
142003
|
-
|
142004
|
-
|
142005
|
-
|
142006
|
-
|
142007
|
-
|
142008
|
-
|
142009
|
-
|
142010
|
-
|
142011
|
-
|
142012
|
-
|
142013
|
-
|
142014
|
-
|
142015
|
-
|
142016
|
-
|
142017
|
-
|
142018
|
-
|
142019
|
-
|
142020
|
-
|
142021
|
-
|
142022
|
-
|
142023
|
-
|
142024
|
-
|
142025
|
-
|
142026
|
-
|
142027
|
-
|
142028
|
-
|
142029
|
-
|
142030
|
-
|
142031
|
-
|
142032
|
-
|
142033
|
-
|
142034
|
-
|
142035
|
-
|
142036
|
-
|
142037
|
-
|
142038
|
-
|
142039
|
-
|
142040
|
-
|
142041
|
-
|
142042
|
-
|
142043
|
-
|
142044
|
-
|
142045
|
-
|
142046
|
-
|
142047
|
-
|
142048
|
-
|
142049
|
-
|
142050
|
-
|
142051
|
-
|
142052
|
-
|
142053
|
-
|
142054
|
-
|
142055
|
-
|
142056
|
-
|
142057
|
-
|
142058
|
-
|
142059
|
-
|
142060
|
-
|
142061
|
-
|
142062
|
-
|
142063
|
-
|
141917
|
+
ee("\\LaTeX", "\\textrm{\\html@mathml{" + ("L\\kern-.36em\\raisebox{" + uue + "}{\\scriptstyle A}") + "\\kern-.15em\\TeX}{LaTeX}}");
|
141918
|
+
ee("\\KaTeX", "\\textrm{\\html@mathml{" + ("K\\kern-.17em\\raisebox{" + uue + "}{\\scriptstyle A}") + "\\kern-.15em\\TeX}{KaTeX}}");
|
141919
|
+
ee("\\hspace", "\\@ifstar\\@hspacer\\@hspace");
|
141920
|
+
ee("\\@hspace", "\\hskip #1\\relax");
|
141921
|
+
ee("\\@hspacer", "\\rule{0pt}{0pt}\\hskip #1\\relax");
|
141922
|
+
ee("\\ordinarycolon", ":");
|
141923
|
+
ee("\\vcentcolon", "\\mathrel{\\mathop\\ordinarycolon}");
|
141924
|
+
ee("\\dblcolon", '\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');
|
141925
|
+
ee("\\coloneqq", '\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');
|
141926
|
+
ee("\\Coloneqq", '\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');
|
141927
|
+
ee("\\coloneq", '\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');
|
141928
|
+
ee("\\Coloneq", '\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');
|
141929
|
+
ee("\\eqqcolon", '\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');
|
141930
|
+
ee("\\Eqqcolon", '\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');
|
141931
|
+
ee("\\eqcolon", '\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');
|
141932
|
+
ee("\\Eqcolon", '\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');
|
141933
|
+
ee("\\colonapprox", '\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');
|
141934
|
+
ee("\\Colonapprox", '\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');
|
141935
|
+
ee("\\colonsim", '\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');
|
141936
|
+
ee("\\Colonsim", '\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');
|
141937
|
+
ee("∷", "\\dblcolon");
|
141938
|
+
ee("∹", "\\eqcolon");
|
141939
|
+
ee("≔", "\\coloneqq");
|
141940
|
+
ee("≕", "\\eqqcolon");
|
141941
|
+
ee("⩴", "\\Coloneqq");
|
141942
|
+
ee("\\ratio", "\\vcentcolon");
|
141943
|
+
ee("\\coloncolon", "\\dblcolon");
|
141944
|
+
ee("\\colonequals", "\\coloneqq");
|
141945
|
+
ee("\\coloncolonequals", "\\Coloneqq");
|
141946
|
+
ee("\\equalscolon", "\\eqqcolon");
|
141947
|
+
ee("\\equalscoloncolon", "\\Eqqcolon");
|
141948
|
+
ee("\\colonminus", "\\coloneq");
|
141949
|
+
ee("\\coloncolonminus", "\\Coloneq");
|
141950
|
+
ee("\\minuscolon", "\\eqcolon");
|
141951
|
+
ee("\\minuscoloncolon", "\\Eqcolon");
|
141952
|
+
ee("\\coloncolonapprox", "\\Colonapprox");
|
141953
|
+
ee("\\coloncolonsim", "\\Colonsim");
|
141954
|
+
ee("\\simcolon", "\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");
|
141955
|
+
ee("\\simcoloncolon", "\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");
|
141956
|
+
ee("\\approxcolon", "\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");
|
141957
|
+
ee("\\approxcoloncolon", "\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");
|
141958
|
+
ee("\\notni", "\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");
|
141959
|
+
ee("\\limsup", "\\DOTSB\\operatorname*{lim\\,sup}");
|
141960
|
+
ee("\\liminf", "\\DOTSB\\operatorname*{lim\\,inf}");
|
141961
|
+
ee("\\injlim", "\\DOTSB\\operatorname*{inj\\,lim}");
|
141962
|
+
ee("\\projlim", "\\DOTSB\\operatorname*{proj\\,lim}");
|
141963
|
+
ee("\\varlimsup", "\\DOTSB\\operatorname*{\\overline{lim}}");
|
141964
|
+
ee("\\varliminf", "\\DOTSB\\operatorname*{\\underline{lim}}");
|
141965
|
+
ee("\\varinjlim", "\\DOTSB\\operatorname*{\\underrightarrow{lim}}");
|
141966
|
+
ee("\\varprojlim", "\\DOTSB\\operatorname*{\\underleftarrow{lim}}");
|
141967
|
+
ee("\\gvertneqq", "\\html@mathml{\\@gvertneqq}{≩}");
|
141968
|
+
ee("\\lvertneqq", "\\html@mathml{\\@lvertneqq}{≨}");
|
141969
|
+
ee("\\ngeqq", "\\html@mathml{\\@ngeqq}{≱}");
|
141970
|
+
ee("\\ngeqslant", "\\html@mathml{\\@ngeqslant}{≱}");
|
141971
|
+
ee("\\nleqq", "\\html@mathml{\\@nleqq}{≰}");
|
141972
|
+
ee("\\nleqslant", "\\html@mathml{\\@nleqslant}{≰}");
|
141973
|
+
ee("\\nshortmid", "\\html@mathml{\\@nshortmid}{∤}");
|
141974
|
+
ee("\\nshortparallel", "\\html@mathml{\\@nshortparallel}{∦}");
|
141975
|
+
ee("\\nsubseteqq", "\\html@mathml{\\@nsubseteqq}{⊈}");
|
141976
|
+
ee("\\nsupseteqq", "\\html@mathml{\\@nsupseteqq}{⊉}");
|
141977
|
+
ee("\\varsubsetneq", "\\html@mathml{\\@varsubsetneq}{⊊}");
|
141978
|
+
ee("\\varsubsetneqq", "\\html@mathml{\\@varsubsetneqq}{⫋}");
|
141979
|
+
ee("\\varsupsetneq", "\\html@mathml{\\@varsupsetneq}{⊋}");
|
141980
|
+
ee("\\varsupsetneqq", "\\html@mathml{\\@varsupsetneqq}{⫌}");
|
141981
|
+
ee("\\imath", "\\html@mathml{\\@imath}{ı}");
|
141982
|
+
ee("\\jmath", "\\html@mathml{\\@jmath}{ȷ}");
|
141983
|
+
ee("\\llbracket", "\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");
|
141984
|
+
ee("\\rrbracket", "\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");
|
141985
|
+
ee("⟦", "\\llbracket");
|
141986
|
+
ee("⟧", "\\rrbracket");
|
141987
|
+
ee("\\lBrace", "\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");
|
141988
|
+
ee("\\rBrace", "\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");
|
141989
|
+
ee("⦃", "\\lBrace");
|
141990
|
+
ee("⦄", "\\rBrace");
|
141991
|
+
ee("\\minuso", "\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");
|
141992
|
+
ee("⦵", "\\minuso");
|
141993
|
+
ee("\\darr", "\\downarrow");
|
141994
|
+
ee("\\dArr", "\\Downarrow");
|
141995
|
+
ee("\\Darr", "\\Downarrow");
|
141996
|
+
ee("\\lang", "\\langle");
|
141997
|
+
ee("\\rang", "\\rangle");
|
141998
|
+
ee("\\uarr", "\\uparrow");
|
141999
|
+
ee("\\uArr", "\\Uparrow");
|
142000
|
+
ee("\\Uarr", "\\Uparrow");
|
142001
|
+
ee("\\N", "\\mathbb{N}");
|
142002
|
+
ee("\\R", "\\mathbb{R}");
|
142003
|
+
ee("\\Z", "\\mathbb{Z}");
|
142004
|
+
ee("\\alef", "\\aleph");
|
142005
|
+
ee("\\alefsym", "\\aleph");
|
142006
|
+
ee("\\Alpha", "\\mathrm{A}");
|
142007
|
+
ee("\\Beta", "\\mathrm{B}");
|
142008
|
+
ee("\\bull", "\\bullet");
|
142009
|
+
ee("\\Chi", "\\mathrm{X}");
|
142010
|
+
ee("\\clubs", "\\clubsuit");
|
142011
|
+
ee("\\cnums", "\\mathbb{C}");
|
142012
|
+
ee("\\Complex", "\\mathbb{C}");
|
142013
|
+
ee("\\Dagger", "\\ddagger");
|
142014
|
+
ee("\\diamonds", "\\diamondsuit");
|
142015
|
+
ee("\\empty", "\\emptyset");
|
142016
|
+
ee("\\Epsilon", "\\mathrm{E}");
|
142017
|
+
ee("\\Eta", "\\mathrm{H}");
|
142018
|
+
ee("\\exist", "\\exists");
|
142019
|
+
ee("\\harr", "\\leftrightarrow");
|
142020
|
+
ee("\\hArr", "\\Leftrightarrow");
|
142021
|
+
ee("\\Harr", "\\Leftrightarrow");
|
142022
|
+
ee("\\hearts", "\\heartsuit");
|
142023
|
+
ee("\\image", "\\Im");
|
142024
|
+
ee("\\infin", "\\infty");
|
142025
|
+
ee("\\Iota", "\\mathrm{I}");
|
142026
|
+
ee("\\isin", "\\in");
|
142027
|
+
ee("\\Kappa", "\\mathrm{K}");
|
142028
|
+
ee("\\larr", "\\leftarrow");
|
142029
|
+
ee("\\lArr", "\\Leftarrow");
|
142030
|
+
ee("\\Larr", "\\Leftarrow");
|
142031
|
+
ee("\\lrarr", "\\leftrightarrow");
|
142032
|
+
ee("\\lrArr", "\\Leftrightarrow");
|
142033
|
+
ee("\\Lrarr", "\\Leftrightarrow");
|
142034
|
+
ee("\\Mu", "\\mathrm{M}");
|
142035
|
+
ee("\\natnums", "\\mathbb{N}");
|
142036
|
+
ee("\\Nu", "\\mathrm{N}");
|
142037
|
+
ee("\\Omicron", "\\mathrm{O}");
|
142038
|
+
ee("\\plusmn", "\\pm");
|
142039
|
+
ee("\\rarr", "\\rightarrow");
|
142040
|
+
ee("\\rArr", "\\Rightarrow");
|
142041
|
+
ee("\\Rarr", "\\Rightarrow");
|
142042
|
+
ee("\\real", "\\Re");
|
142043
|
+
ee("\\reals", "\\mathbb{R}");
|
142044
|
+
ee("\\Reals", "\\mathbb{R}");
|
142045
|
+
ee("\\Rho", "\\mathrm{P}");
|
142046
|
+
ee("\\sdot", "\\cdot");
|
142047
|
+
ee("\\sect", "\\S");
|
142048
|
+
ee("\\spades", "\\spadesuit");
|
142049
|
+
ee("\\sub", "\\subset");
|
142050
|
+
ee("\\sube", "\\subseteq");
|
142051
|
+
ee("\\supe", "\\supseteq");
|
142052
|
+
ee("\\Tau", "\\mathrm{T}");
|
142053
|
+
ee("\\thetasym", "\\vartheta");
|
142054
|
+
ee("\\weierp", "\\wp");
|
142055
|
+
ee("\\Zeta", "\\mathrm{Z}");
|
142056
|
+
ee("\\argmin", "\\DOTSB\\operatorname*{arg\\,min}");
|
142057
|
+
ee("\\argmax", "\\DOTSB\\operatorname*{arg\\,max}");
|
142058
|
+
ee("\\plim", "\\DOTSB\\mathop{\\operatorname{plim}}\\limits");
|
142059
|
+
ee("\\bra", "\\mathinner{\\langle{#1}|}");
|
142060
|
+
ee("\\ket", "\\mathinner{|{#1}\\rangle}");
|
142061
|
+
ee("\\braket", "\\mathinner{\\langle{#1}\\rangle}");
|
142062
|
+
ee("\\Bra", "\\left\\langle#1\\right|");
|
142063
|
+
ee("\\Ket", "\\left|#1\\right\\rangle");
|
142064
142064
|
var due = (e) => (t) => {
|
142065
142065
|
var n = t.consumeArg().tokens, r = t.consumeArg().tokens, o = t.consumeArg().tokens, i = t.consumeArg().tokens, a = t.macros.get("|"), s = t.macros.get("\\|");
|
142066
142066
|
t.macros.beginGroup();
|
@@ -142088,68 +142088,68 @@ var due = (e) => (t) => {
|
|
142088
142088
|
numArgs: 0
|
142089
142089
|
};
|
142090
142090
|
};
|
142091
|
-
|
142092
|
-
|
142093
|
-
|
142094
|
-
|
142095
|
-
|
142096
|
-
|
142097
|
-
|
142098
|
-
|
142099
|
-
|
142100
|
-
|
142101
|
-
|
142102
|
-
|
142103
|
-
|
142104
|
-
|
142105
|
-
|
142106
|
-
|
142107
|
-
|
142108
|
-
|
142109
|
-
|
142110
|
-
|
142111
|
-
|
142112
|
-
|
142113
|
-
|
142114
|
-
|
142115
|
-
|
142116
|
-
|
142117
|
-
|
142118
|
-
|
142119
|
-
|
142120
|
-
|
142121
|
-
|
142122
|
-
|
142123
|
-
|
142124
|
-
|
142125
|
-
|
142126
|
-
|
142127
|
-
|
142128
|
-
|
142129
|
-
|
142130
|
-
|
142131
|
-
|
142132
|
-
|
142133
|
-
|
142134
|
-
|
142135
|
-
|
142136
|
-
|
142137
|
-
|
142138
|
-
|
142139
|
-
|
142140
|
-
|
142141
|
-
|
142142
|
-
|
142143
|
-
|
142144
|
-
|
142145
|
-
|
142146
|
-
|
142147
|
-
|
142148
|
-
|
142149
|
-
|
142150
|
-
|
142151
|
-
|
142152
|
-
|
142091
|
+
ee("\\bra@ket", due(!1));
|
142092
|
+
ee("\\bra@set", due(!0));
|
142093
|
+
ee("\\Braket", "\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");
|
142094
|
+
ee("\\Set", "\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");
|
142095
|
+
ee("\\set", "\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");
|
142096
|
+
ee("\\angln", "{\\angl n}");
|
142097
|
+
ee("\\blue", "\\textcolor{##6495ed}{#1}");
|
142098
|
+
ee("\\orange", "\\textcolor{##ffa500}{#1}");
|
142099
|
+
ee("\\pink", "\\textcolor{##ff00af}{#1}");
|
142100
|
+
ee("\\red", "\\textcolor{##df0030}{#1}");
|
142101
|
+
ee("\\green", "\\textcolor{##28ae7b}{#1}");
|
142102
|
+
ee("\\gray", "\\textcolor{gray}{#1}");
|
142103
|
+
ee("\\purple", "\\textcolor{##9d38bd}{#1}");
|
142104
|
+
ee("\\blueA", "\\textcolor{##ccfaff}{#1}");
|
142105
|
+
ee("\\blueB", "\\textcolor{##80f6ff}{#1}");
|
142106
|
+
ee("\\blueC", "\\textcolor{##63d9ea}{#1}");
|
142107
|
+
ee("\\blueD", "\\textcolor{##11accd}{#1}");
|
142108
|
+
ee("\\blueE", "\\textcolor{##0c7f99}{#1}");
|
142109
|
+
ee("\\tealA", "\\textcolor{##94fff5}{#1}");
|
142110
|
+
ee("\\tealB", "\\textcolor{##26edd5}{#1}");
|
142111
|
+
ee("\\tealC", "\\textcolor{##01d1c1}{#1}");
|
142112
|
+
ee("\\tealD", "\\textcolor{##01a995}{#1}");
|
142113
|
+
ee("\\tealE", "\\textcolor{##208170}{#1}");
|
142114
|
+
ee("\\greenA", "\\textcolor{##b6ffb0}{#1}");
|
142115
|
+
ee("\\greenB", "\\textcolor{##8af281}{#1}");
|
142116
|
+
ee("\\greenC", "\\textcolor{##74cf70}{#1}");
|
142117
|
+
ee("\\greenD", "\\textcolor{##1fab54}{#1}");
|
142118
|
+
ee("\\greenE", "\\textcolor{##0d923f}{#1}");
|
142119
|
+
ee("\\goldA", "\\textcolor{##ffd0a9}{#1}");
|
142120
|
+
ee("\\goldB", "\\textcolor{##ffbb71}{#1}");
|
142121
|
+
ee("\\goldC", "\\textcolor{##ff9c39}{#1}");
|
142122
|
+
ee("\\goldD", "\\textcolor{##e07d10}{#1}");
|
142123
|
+
ee("\\goldE", "\\textcolor{##a75a05}{#1}");
|
142124
|
+
ee("\\redA", "\\textcolor{##fca9a9}{#1}");
|
142125
|
+
ee("\\redB", "\\textcolor{##ff8482}{#1}");
|
142126
|
+
ee("\\redC", "\\textcolor{##f9685d}{#1}");
|
142127
|
+
ee("\\redD", "\\textcolor{##e84d39}{#1}");
|
142128
|
+
ee("\\redE", "\\textcolor{##bc2612}{#1}");
|
142129
|
+
ee("\\maroonA", "\\textcolor{##ffbde0}{#1}");
|
142130
|
+
ee("\\maroonB", "\\textcolor{##ff92c6}{#1}");
|
142131
|
+
ee("\\maroonC", "\\textcolor{##ed5fa6}{#1}");
|
142132
|
+
ee("\\maroonD", "\\textcolor{##ca337c}{#1}");
|
142133
|
+
ee("\\maroonE", "\\textcolor{##9e034e}{#1}");
|
142134
|
+
ee("\\purpleA", "\\textcolor{##ddd7ff}{#1}");
|
142135
|
+
ee("\\purpleB", "\\textcolor{##c6b9fc}{#1}");
|
142136
|
+
ee("\\purpleC", "\\textcolor{##aa87ff}{#1}");
|
142137
|
+
ee("\\purpleD", "\\textcolor{##7854ab}{#1}");
|
142138
|
+
ee("\\purpleE", "\\textcolor{##543b78}{#1}");
|
142139
|
+
ee("\\mintA", "\\textcolor{##f5f9e8}{#1}");
|
142140
|
+
ee("\\mintB", "\\textcolor{##edf2df}{#1}");
|
142141
|
+
ee("\\mintC", "\\textcolor{##e0e5cc}{#1}");
|
142142
|
+
ee("\\grayA", "\\textcolor{##f6f7f7}{#1}");
|
142143
|
+
ee("\\grayB", "\\textcolor{##f0f1f2}{#1}");
|
142144
|
+
ee("\\grayC", "\\textcolor{##e3e5e6}{#1}");
|
142145
|
+
ee("\\grayD", "\\textcolor{##d6d8da}{#1}");
|
142146
|
+
ee("\\grayE", "\\textcolor{##babec2}{#1}");
|
142147
|
+
ee("\\grayF", "\\textcolor{##888d93}{#1}");
|
142148
|
+
ee("\\grayG", "\\textcolor{##626569}{#1}");
|
142149
|
+
ee("\\grayH", "\\textcolor{##3b3e40}{#1}");
|
142150
|
+
ee("\\grayI", "\\textcolor{##21242c}{#1}");
|
142151
|
+
ee("\\kaBlue", "\\textcolor{##314453}{#1}");
|
142152
|
+
ee("\\kaGreen", "\\textcolor{##71B307}{#1}");
|
142153
142153
|
var fue = {
|
142154
142154
|
"^": !0,
|
142155
142155
|
// Parser.js
|
@@ -143648,7 +143648,7 @@ var $en = function(t, n) {
|
|
143648
143648
|
/**
|
143649
143649
|
* adds a new macro to builtin macro list
|
143650
143650
|
*/
|
143651
|
-
__defineMacro:
|
143651
|
+
__defineMacro: ee,
|
143652
143652
|
/**
|
143653
143653
|
* Expose the dom tree node types, which can be useful for type checking nodes.
|
143654
143654
|
*
|
@@ -146043,7 +146043,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), Z = I, K = H), U ===
|
|
146043
146043
|
function Q(q, J) {
|
146044
146044
|
q !== "" && (Re.startScope(J), Re.addText(q), Re.endScope());
|
146045
146045
|
}
|
146046
|
-
function
|
146046
|
+
function X(q, J) {
|
146047
146047
|
let re = 1;
|
146048
146048
|
const fe = J.length - 1;
|
146049
146049
|
for (; re <= fe; ) {
|
@@ -146056,7 +146056,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), Z = I, K = H), U ===
|
|
146056
146056
|
}
|
146057
146057
|
}
|
146058
146058
|
function te(q, J) {
|
146059
|
-
return q.scope && typeof q.scope == "string" && Re.openNode(xe.classNameAliases[q.scope] || q.scope), q.beginScope && (q.beginScope._wrap ? (Q(Ge, xe.classNameAliases[q.beginScope._wrap] || q.beginScope._wrap), Ge = "") : q.beginScope._multi && (
|
146059
|
+
return q.scope && typeof q.scope == "string" && Re.openNode(xe.classNameAliases[q.scope] || q.scope), q.beginScope && (q.beginScope._wrap ? (Q(Ge, xe.classNameAliases[q.beginScope._wrap] || q.beginScope._wrap), Ge = "") : q.beginScope._multi && (X(q.beginScope, J), Ge = "")), ye = Object.create(q, { parent: { value: ye } }), ye;
|
146060
146060
|
}
|
146061
146061
|
function ne(q, J, re) {
|
146062
146062
|
let fe = xnn(q.endRe, re);
|
@@ -146089,7 +146089,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), Z = I, K = H), U ===
|
|
146089
146089
|
if (!fe)
|
146090
146090
|
return jq;
|
146091
146091
|
const pe = ye;
|
146092
|
-
ye.endScope && ye.endScope._wrap ? (ie(), Q(J, ye.endScope._wrap)) : ye.endScope && ye.endScope._multi ? (ie(),
|
146092
|
+
ye.endScope && ye.endScope._wrap ? (ie(), Q(J, ye.endScope._wrap)) : ye.endScope && ye.endScope._multi ? (ie(), X(ye.endScope, q)) : pe.skip ? Ge += J : (pe.returnEnd || pe.excludeEnd || (Ge += J), ie(), pe.excludeEnd && (Ge = J));
|
146093
146093
|
do
|
146094
146094
|
ye.scope && Re.closeNode(), !ye.skip && !ye.subLanguage && (dt += ye.relevance), ye = ye.parent;
|
146095
146095
|
while (ye !== fe.parent);
|
@@ -157863,7 +157863,7 @@ function Aon(e) {
|
|
157863
157863
|
...r,
|
157864
157864
|
G
|
157865
157865
|
]
|
157866
|
-
},
|
157866
|
+
}, X = {
|
157867
157867
|
begin: Vo(
|
157868
157868
|
Up(Hn(Ls, /\s*:/)),
|
157869
157869
|
Up(Hn(Ls, /\s+/, Ls, /\s*:/))
|
@@ -157885,7 +157885,7 @@ function Aon(e) {
|
|
157885
157885
|
end: /\)/,
|
157886
157886
|
keywords: c,
|
157887
157887
|
contains: [
|
157888
|
-
|
157888
|
+
X,
|
157889
157889
|
...r,
|
157890
157890
|
...u,
|
157891
157891
|
...g,
|
@@ -160223,7 +160223,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), K = V, U = I), H ===
|
|
160223
160223
|
fe ? ie(pe, fe) : (Re = pe, G(), Re = ""), J++;
|
160224
160224
|
}
|
160225
160225
|
}
|
160226
|
-
function
|
160226
|
+
function X(B, q) {
|
160227
160227
|
return B.scope && typeof B.scope == "string" && Oe.openNode(Fe.classNameAliases[B.scope] || B.scope), B.beginScope && (B.beginScope._wrap ? (ie(Re, Fe.classNameAliases[B.beginScope._wrap] || B.beginScope._wrap), Re = "") : B.beginScope._multi && (Q(B.beginScope, q), Re = "")), Ce = Object.create(B, { parent: { value: Ce } }), Ce;
|
160228
160228
|
}
|
160229
160229
|
function te(B, q, J) {
|
@@ -160250,7 +160250,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), K = V, U = I), H ===
|
|
160250
160250
|
for (const pe of fe)
|
160251
160251
|
if (pe && (pe(B, re), re.isMatchIgnored))
|
160252
160252
|
return ne(q);
|
160253
|
-
return J.skip ? Re += q : (J.excludeBegin && (Re += q), se(), !J.returnBegin && !J.excludeBegin && (Re = q)),
|
160253
|
+
return J.skip ? Re += q : (J.excludeBegin && (Re += q), se(), !J.returnBegin && !J.excludeBegin && (Re = q)), X(J, B), J.returnBegin ? 0 : q.length;
|
160254
160254
|
}
|
160255
160255
|
function $(B) {
|
160256
160256
|
const q = B[0], J = I.substring(B.index), re = te(Ce, B, J);
|
@@ -160261,7 +160261,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), K = V, U = I), H ===
|
|
160261
160261
|
do
|
160262
160262
|
Ce.scope && Oe.closeNode(), !Ce.skip && !Ce.subLanguage && (Ge += Ce.relevance), Ce = Ce.parent;
|
160263
160263
|
while (Ce !== re.parent);
|
160264
|
-
return re.starts &&
|
160264
|
+
return re.starts && X(re.starts, B), fe.returnEnd ? 0 : q.length;
|
160265
160265
|
}
|
160266
160266
|
function ue() {
|
160267
160267
|
const B = [];
|
@@ -222338,19 +222338,19 @@ const uk = jE.getInstance(), Man = (e) => ({
|
|
222338
222338
|
].map((r) => r.toLowerCase());
|
222339
222339
|
return t.includes(e) || n.includes(e);
|
222340
222340
|
};
|
222341
|
-
var
|
222341
|
+
var vo = typeof globalThis < "u" && globalThis || typeof self < "u" && self || // eslint-disable-next-line no-undef
|
222342
222342
|
typeof global < "u" && global || {}, qo = {
|
222343
|
-
searchParams: "URLSearchParams" in
|
222344
|
-
iterable: "Symbol" in
|
222345
|
-
blob: "FileReader" in
|
222343
|
+
searchParams: "URLSearchParams" in vo,
|
222344
|
+
iterable: "Symbol" in vo && "iterator" in Symbol,
|
222345
|
+
blob: "FileReader" in vo && "Blob" in vo && function() {
|
222346
222346
|
try {
|
222347
222347
|
return new Blob(), !0;
|
222348
222348
|
} catch {
|
222349
222349
|
return !1;
|
222350
222350
|
}
|
222351
222351
|
}(),
|
222352
|
-
formData: "FormData" in
|
222353
|
-
arrayBuffer: "ArrayBuffer" in
|
222352
|
+
formData: "FormData" in vo,
|
222353
|
+
arrayBuffer: "ArrayBuffer" in vo
|
222354
222354
|
};
|
222355
222355
|
function Aan(e) {
|
222356
222356
|
return e && DataView.prototype.isPrototypeOf(e);
|
@@ -222536,7 +222536,7 @@ function $d(e, t) {
|
|
222536
222536
|
} else
|
222537
222537
|
this.url = String(e);
|
222538
222538
|
if (this.credentials = t.credentials || this.credentials || "same-origin", (t.headers || !this.headers) && (this.headers = new Yr(t.headers)), this.method = Ian(t.method || this.method || "GET"), this.mode = t.mode || this.mode || null, this.signal = t.signal || this.signal || function() {
|
222539
|
-
if ("AbortController" in
|
222539
|
+
if ("AbortController" in vo) {
|
222540
222540
|
var i = new AbortController();
|
222541
222541
|
return i.signal;
|
222542
222542
|
}
|
@@ -222608,7 +222608,7 @@ bl.redirect = function(e, t) {
|
|
222608
222608
|
throw new RangeError("Invalid status code");
|
222609
222609
|
return new bl(null, { status: t, headers: { location: e } });
|
222610
222610
|
};
|
222611
|
-
var G1 =
|
222611
|
+
var G1 = vo.DOMException;
|
222612
222612
|
try {
|
222613
222613
|
new G1();
|
222614
222614
|
} catch {
|
@@ -222652,12 +222652,12 @@ function A1e(e, t) {
|
|
222652
222652
|
};
|
222653
222653
|
function s(c) {
|
222654
222654
|
try {
|
222655
|
-
return c === "" &&
|
222655
|
+
return c === "" && vo.location.href ? vo.location.href : c;
|
222656
222656
|
} catch {
|
222657
222657
|
return c;
|
222658
222658
|
}
|
222659
222659
|
}
|
222660
|
-
if (i.open(o.method, s(o.url), !0), o.credentials === "include" ? i.withCredentials = !0 : o.credentials === "omit" && (i.withCredentials = !1), "responseType" in i && (qo.blob ? i.responseType = "blob" : qo.arrayBuffer && (i.responseType = "arraybuffer")), t && typeof t.headers == "object" && !(t.headers instanceof Yr ||
|
222660
|
+
if (i.open(o.method, s(o.url), !0), o.credentials === "include" ? i.withCredentials = !0 : o.credentials === "omit" && (i.withCredentials = !1), "responseType" in i && (qo.blob ? i.responseType = "blob" : qo.arrayBuffer && (i.responseType = "arraybuffer")), t && typeof t.headers == "object" && !(t.headers instanceof Yr || vo.Headers && t.headers instanceof vo.Headers)) {
|
222661
222661
|
var l = [];
|
222662
222662
|
Object.getOwnPropertyNames(t.headers).forEach(function(c) {
|
222663
222663
|
l.push(sp(c)), i.setRequestHeader(c, iN(t.headers[c]));
|
@@ -222674,7 +222674,7 @@ function A1e(e, t) {
|
|
222674
222674
|
});
|
222675
222675
|
}
|
222676
222676
|
A1e.polyfill = !0;
|
222677
|
-
|
222677
|
+
vo.fetch || (vo.fetch = A1e, vo.Headers = Yr, vo.Request = $d, vo.Response = bl);
|
222678
222678
|
const _an = "0.5.14", j1e = "11434", D1e = `http://127.0.0.1:${j1e}`;
|
222679
222679
|
var Pan = Object.defineProperty, zan = (e, t, n) => t in e ? Pan(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, fk = (e, t, n) => (zan(e, typeof t != "symbol" ? t + "" : t, n), n);
|
222680
222680
|
class sN extends Error {
|
@@ -223381,7 +223381,7 @@ User prompt: ${l} /no_think` : `${l} /no_think`;
|
|
223381
223381
|
c(le.target.value);
|
223382
223382
|
},
|
223383
223383
|
[]
|
223384
|
-
),
|
223384
|
+
), X = Pe(() => {
|
223385
223385
|
r && l !== E && r({ prompt: l });
|
223386
223386
|
}, [r, l, E]), te = Pe(
|
223387
223387
|
(le) => {
|
@@ -223550,7 +223550,7 @@ User prompt: ${l} /no_think` : `${l} /no_think`;
|
|
223550
223550
|
ref: R,
|
223551
223551
|
value: l,
|
223552
223552
|
onChange: Q,
|
223553
|
-
onBlur:
|
223553
|
+
onBlur: X,
|
223554
223554
|
onKeyDown: ge,
|
223555
223555
|
placeholder: "Ask your Wizard anything...",
|
223556
223556
|
className: "w-full pt-1 bg-transparent outline-none text-body-sm color-text-default px-1 resize-none min-h-[24px]",
|
@@ -224039,7 +224039,7 @@ function hsn(e, t) {
|
|
224039
224039
|
};
|
224040
224040
|
}
|
224041
224041
|
function nU(e, t, n, r) {
|
224042
|
-
Nr ||
|
224042
|
+
Nr || yo(!!e, "Attempting to update undefined context");
|
224043
224043
|
var o = e && n.reduce(function(i, a) {
|
224044
224044
|
var s, l, c = a.assignment, u = {
|
224045
224045
|
state: r,
|
@@ -224069,9 +224069,9 @@ function nU(e, t, n, r) {
|
|
224069
224069
|
}, e);
|
224070
224070
|
return o;
|
224071
224071
|
}
|
224072
|
-
var
|
224072
|
+
var yo = function() {
|
224073
224073
|
};
|
224074
|
-
Nr || (
|
224074
|
+
Nr || (yo = function(e, t) {
|
224075
224075
|
var n = e instanceof Error ? e : void 0;
|
224076
224076
|
if (!(!n && e) && console !== void 0) {
|
224077
224077
|
var r = ["Warning: ".concat(t)];
|
@@ -224125,7 +224125,7 @@ function C8(e, t) {
|
|
224125
224125
|
type: e
|
224126
224126
|
}, t) : e;
|
224127
224127
|
}
|
224128
|
-
function
|
224128
|
+
function po(e, t) {
|
224129
224129
|
if (!En(e) && "$$type" in e && e.$$type === "scxml")
|
224130
224130
|
return e;
|
224131
224131
|
var n = C8(e);
|
@@ -224195,7 +224195,7 @@ function Ty(e, t) {
|
|
224195
224195
|
function NE(e) {
|
224196
224196
|
return (e.type === t4 || e.type === M8 && e.to === Eh.Internal) && typeof e.delay != "number";
|
224197
224197
|
}
|
224198
|
-
var Rf = /* @__PURE__ */
|
224198
|
+
var Rf = /* @__PURE__ */ po({
|
224199
224199
|
type: nsn
|
224200
224200
|
});
|
224201
224201
|
function IE(e, t) {
|
@@ -224261,7 +224261,7 @@ function bsn(e, t) {
|
|
224261
224261
|
function xsn(e, t, n, r) {
|
224262
224262
|
var o = {
|
224263
224263
|
_event: n
|
224264
|
-
}, i =
|
224264
|
+
}, i = po(Sn(e.event) ? e.event(t, n.data, o) : e.event), a;
|
224265
224265
|
if (En(e.delay)) {
|
224266
224266
|
var s = r && r[e.delay];
|
224267
224267
|
a = Sn(s) ? s(t, n.data, o) : s;
|
@@ -224287,7 +224287,7 @@ function vsn(e, t) {
|
|
224287
224287
|
function wsn(e, t, n, r) {
|
224288
224288
|
var o = {
|
224289
224289
|
_event: n
|
224290
|
-
}, i =
|
224290
|
+
}, i = po(Sn(e.event) ? e.event(t, n.data, o) : e.event), a;
|
224291
224291
|
if (En(e.delay)) {
|
224292
224292
|
var s = r && r[e.delay];
|
224293
224293
|
a = Sn(s) ? s(t, n.data, o) : s;
|
@@ -224413,7 +224413,7 @@ function W5(e, t, n, r, o, i, a) {
|
|
224413
224413
|
var x = wsn(m, l, r, e.options.delays);
|
224414
224414
|
if (!Nr) {
|
224415
224415
|
var w = m.delay;
|
224416
|
-
|
224416
|
+
yo(
|
224417
224417
|
!En(w) || typeof x.delay == "number",
|
224418
224418
|
// tslint:disable-next-line:max-line-length
|
224419
224419
|
"No delay reference for delay expression '".concat(w, "' was found on machine '").concat(e.id, "'")
|
@@ -224843,7 +224843,7 @@ var ma = (
|
|
224843
224843
|
return this.tags.has(t);
|
224844
224844
|
}, e.prototype.can = function(t) {
|
224845
224845
|
var n;
|
224846
|
-
Nr &&
|
224846
|
+
Nr && yo(!!this.machine, "state.can(...) used outside of a machine-created State object; this will always return false.");
|
224847
224847
|
var r = (n = this.machine) === null || n === void 0 ? void 0 : n.getTransitionData(this, t);
|
224848
224848
|
return !!(r != null && r.transitions.length) && // Check that at least one transition is not forbidden
|
224849
224849
|
r.transitions.some(function(o) {
|
@@ -224980,9 +224980,9 @@ var Wsn = (
|
|
224980
224980
|
this.machine = t, this.delayedEventsMap = {}, this.listeners = /* @__PURE__ */ new Set(), this.contextListeners = /* @__PURE__ */ new Set(), this.stopListeners = /* @__PURE__ */ new Set(), this.doneListeners = /* @__PURE__ */ new Set(), this.eventListeners = /* @__PURE__ */ new Set(), this.sendListeners = /* @__PURE__ */ new Set(), this.initialized = !1, this.status = Er.NotStarted, this.children = /* @__PURE__ */ new Map(), this.forwardTo = /* @__PURE__ */ new Set(), this._outgoingQueue = [], this.init = this.start, this.send = function(u, d) {
|
224981
224981
|
if (lp(u))
|
224982
224982
|
return r.batch(u), r.state;
|
224983
|
-
var f =
|
224983
|
+
var f = po(C8(u, d));
|
224984
224984
|
if (r.status === Er.Stopped)
|
224985
|
-
return Nr ||
|
224985
|
+
return Nr || yo(!1, 'Event "'.concat(f.name, '" was sent to stopped service "').concat(r.machine.id, `". This service has already reached its final state, and will not transition.
|
224986
224986
|
Event: `).concat(JSON.stringify(f.data))), r.state;
|
224987
224987
|
if (r.status !== Er.Running && !r.options.deferEvents)
|
224988
224988
|
throw new Error('Event "'.concat(f.name, '" was sent to uninitialized service "').concat(
|
@@ -225000,7 +225000,7 @@ Event: `
|
|
225000
225000
|
if (!p) {
|
225001
225001
|
if (!h)
|
225002
225002
|
throw new Error("Unable to send event to child '".concat(d, "' from service '").concat(r.id, "'."));
|
225003
|
-
Nr ||
|
225003
|
+
Nr || yo(!1, "Service '".concat(r.id, "' has no parent: unable to send event ").concat(u.type));
|
225004
225004
|
return;
|
225005
225005
|
}
|
225006
225006
|
if ("machine" in p) {
|
@@ -225061,14 +225061,14 @@ Event: `
|
|
225061
225061
|
break;
|
225062
225062
|
if (x.type === qn.Invoke) {
|
225063
225063
|
var w = z1e(x.src), v = r.machine.options.services ? r.machine.options.services[w.type] : void 0, M = x.id, C = x.data;
|
225064
|
-
Nr ||
|
225064
|
+
Nr || yo(
|
225065
225065
|
!("forward" in x),
|
225066
225066
|
// tslint:disable-next-line:max-line-length
|
225067
225067
|
"`forward` property is deprecated (found in invocation of '".concat(x.src, "' in in machine '").concat(r.machine.id, "'). ") + "Please use `autoForward` instead."
|
225068
225068
|
);
|
225069
225069
|
var A = "autoForward" in x ? x.autoForward : !!x.forward;
|
225070
225070
|
if (!v) {
|
225071
|
-
Nr ||
|
225071
|
+
Nr || yo(!1, "No service found for invocation '".concat(x.src, "' in machine '").concat(r.machine.id, "'."));
|
225072
225072
|
return;
|
225073
225073
|
}
|
225074
225074
|
var E = C ? U5(C, d, f) : void 0;
|
@@ -225098,7 +225098,7 @@ Event: `
|
|
225098
225098
|
O ? r.logger(O, z) : r.logger(z);
|
225099
225099
|
break;
|
225100
225100
|
default:
|
225101
|
-
Nr ||
|
225101
|
+
Nr || yo(!1, "No implementation found for action type '".concat(u.type, "'"));
|
225102
225102
|
break;
|
225103
225103
|
}
|
225104
225104
|
};
|
@@ -225121,7 +225121,7 @@ Event: `
|
|
225121
225121
|
* @deprecated Use `.getSnapshot()` instead.
|
225122
225122
|
*/
|
225123
225123
|
get: function() {
|
225124
|
-
return Nr ||
|
225124
|
+
return Nr || yo(this.status !== Er.NotStarted, "Attempted to read state from uninitialized service '".concat(this.id, "'. Make sure the service is started first.")), this._state;
|
225125
225125
|
},
|
225126
225126
|
enumerable: !1,
|
225127
225127
|
configurable: !0
|
@@ -225359,7 +225359,7 @@ Event: `
|
|
225359
225359
|
return this._stop(), n.schedule(function() {
|
225360
225360
|
var r;
|
225361
225361
|
if (!(!((r = t._state) === null || r === void 0) && r.done)) {
|
225362
|
-
var o =
|
225362
|
+
var o = po({
|
225363
225363
|
type: "xstate.stop"
|
225364
225364
|
}), i = X0(t, function() {
|
225365
225365
|
var a = fr(nr([], Mn(t.state.configuration), !1).sort(function(d, f) {
|
@@ -225396,7 +225396,7 @@ Event: `
|
|
225396
225396
|
}, e.prototype.batch = function(t) {
|
225397
225397
|
var n = this;
|
225398
225398
|
if (this.status === Er.NotStarted && this.options.deferEvents)
|
225399
|
-
Nr ||
|
225399
|
+
Nr || yo(!1, "".concat(t.length, ' event(s) were sent to uninitialized service "').concat(this.machine.id, `" and are deferred. Make sure .start() is called for this service.
|
225400
225400
|
Event: `).concat(JSON.stringify(event)));
|
225401
225401
|
else if (this.status !== Er.Running)
|
225402
225402
|
throw new Error(
|
@@ -225407,7 +225407,7 @@ Event: `).concat(JSON.stringify(event)));
|
|
225407
225407
|
var r = !!this.machine.config.predictableActionArguments && this._exec;
|
225408
225408
|
this.scheduler.schedule(function() {
|
225409
225409
|
var o, i, a = n.state, s = !1, l = [], c = function(h) {
|
225410
|
-
var p =
|
225410
|
+
var p = po(h);
|
225411
225411
|
n.forward(p), a = X0(n, function() {
|
225412
225412
|
return n.machine.transition(a, p, void 0, r || void 0);
|
225413
225413
|
}), l.push.apply(l, nr([], Mn(n.machine.config.predictableActionArguments ? a.actions : a.actions.map(function(m) {
|
@@ -225430,7 +225430,7 @@ Event: `).concat(JSON.stringify(event)));
|
|
225430
225430
|
if (o) throw o.error;
|
225431
225431
|
}
|
225432
225432
|
}
|
225433
|
-
a.changed = s, a.actions = l, n.update(a,
|
225433
|
+
a.changed = s, a.actions = l, n.update(a, po(t[t.length - 1]));
|
225434
225434
|
});
|
225435
225435
|
}
|
225436
225436
|
}, e.prototype.sender = function(t) {
|
@@ -225438,7 +225438,7 @@ Event: `).concat(JSON.stringify(event)));
|
|
225438
225438
|
}, e.prototype._nextState = function(t, n) {
|
225439
225439
|
var r = this;
|
225440
225440
|
n === void 0 && (n = !!this.machine.config.predictableActionArguments && this._exec);
|
225441
|
-
var o =
|
225441
|
+
var o = po(t);
|
225442
225442
|
if (o.name.indexOf(Qq) === 0 && !this.state.nextEvents.some(function(a) {
|
225443
225443
|
return a.indexOf(Qq) === 0;
|
225444
225444
|
}))
|
@@ -225517,7 +225517,7 @@ Event: `).concat(JSON.stringify(event)));
|
|
225517
225517
|
});
|
225518
225518
|
var a = o;
|
225519
225519
|
return this.children.set(o.id, a), i.autoForward && this.forwardTo.add(o.id), o.onDone(function(s) {
|
225520
|
-
r.removeChild(o.id), r.send(
|
225520
|
+
r.removeChild(o.id), r.send(po(s, {
|
225521
225521
|
origin: o.id
|
225522
225522
|
}));
|
225523
225523
|
}).start(), a;
|
@@ -225530,7 +225530,7 @@ Event: `).concat(JSON.stringify(event)));
|
|
225530
225530
|
}, e.prototype.spawnPromise = function(t, n) {
|
225531
225531
|
var r, o = this, i = !1, a;
|
225532
225532
|
t.then(function(l) {
|
225533
|
-
i || (a = l, o.removeChild(n), o.send(
|
225533
|
+
i || (a = l, o.removeChild(n), o.send(po(j6(n, l), {
|
225534
225534
|
origin: n
|
225535
225535
|
})));
|
225536
225536
|
}, function(l) {
|
@@ -225538,7 +225538,7 @@ Event: `).concat(JSON.stringify(event)));
|
|
225538
225538
|
o.removeChild(n);
|
225539
225539
|
var c = f2(n, l);
|
225540
225540
|
try {
|
225541
|
-
o.send(
|
225541
|
+
o.send(po(c, {
|
225542
225542
|
origin: n
|
225543
225543
|
}));
|
225544
225544
|
} catch (u) {
|
@@ -225581,7 +225581,7 @@ Event: `).concat(JSON.stringify(event)));
|
|
225581
225581
|
var r, o = this, i = !1, a = /* @__PURE__ */ new Set(), s = /* @__PURE__ */ new Set(), l, c = function(f) {
|
225582
225582
|
l = f, s.forEach(function(h) {
|
225583
225583
|
return h(f);
|
225584
|
-
}), !i && o.send(
|
225584
|
+
}), !i && o.send(po(f, {
|
225585
225585
|
origin: n
|
225586
225586
|
}));
|
225587
225587
|
}, u;
|
@@ -225626,15 +225626,15 @@ Event: `).concat(JSON.stringify(event)));
|
|
225626
225626
|
return this.children.set(n, d), d;
|
225627
225627
|
}, e.prototype.spawnObservable = function(t, n) {
|
225628
225628
|
var r, o = this, i, a = t.subscribe(function(l) {
|
225629
|
-
i = l, o.send(
|
225629
|
+
i = l, o.send(po(l, {
|
225630
225630
|
origin: n
|
225631
225631
|
}));
|
225632
225632
|
}, function(l) {
|
225633
|
-
o.removeChild(n), o.send(
|
225633
|
+
o.removeChild(n), o.send(po(f2(n, l), {
|
225634
225634
|
origin: n
|
225635
225635
|
}));
|
225636
225636
|
}, function() {
|
225637
|
-
o.removeChild(n), o.send(
|
225637
|
+
o.removeChild(n), o.send(po(j6(n), {
|
225638
225638
|
origin: n
|
225639
225639
|
}));
|
225640
225640
|
}), s = (r = {
|
@@ -225664,7 +225664,7 @@ Event: `).concat(JSON.stringify(event)));
|
|
225664
225664
|
}, e.prototype.spawnActivity = function(t) {
|
225665
225665
|
var n = this.machine.options && this.machine.options.activities ? this.machine.options.activities[t.type] : void 0;
|
225666
225666
|
if (!n) {
|
225667
|
-
Nr ||
|
225667
|
+
Nr || yo(!1, "No implementation found for activity '".concat(t.type, "'"));
|
225668
225668
|
return;
|
225669
225669
|
}
|
225670
225670
|
var r = n(this.state.context, t);
|
@@ -225783,7 +225783,7 @@ var ef = "", BE = "#", Gp = "*", H0 = {}, V0 = function(e) {
|
|
225783
225783
|
var r = n.slice(0, -1).some(function(i) {
|
225784
225784
|
return !("cond" in i) && !("in" in i) && (En(i.target) || Kd(i.target));
|
225785
225785
|
}), o = t === ef ? "the transient event" : "event '".concat(t, "'");
|
225786
|
-
|
225786
|
+
yo(!r, "One or more transitions for ".concat(o, " on state '").concat(e.id, "' are unreachable. ") + "Make sure that the default transition is the last one defined.");
|
225787
225787
|
}, Ksn = (
|
225788
225788
|
/** @class */
|
225789
225789
|
/* @__PURE__ */ function() {
|
@@ -225799,7 +225799,7 @@ var ef = "", BE = "#", Gp = "*", H0 = {}, V0 = function(e) {
|
|
225799
225799
|
transitions: void 0,
|
225800
225800
|
candidates: {},
|
225801
225801
|
delayedTransitions: void 0
|
225802
|
-
}, this.idMap = {}, this.tags = [], this.options = Object.assign(Zsn(), n), this.parent = o == null ? void 0 : o.parent, this.key = this.config.key || (o == null ? void 0 : o.key) || this.config.id || "(machine)", this.machine = this.parent ? this.parent.machine : this, this.path = this.parent ? this.parent.path.concat(this.key) : [], this.delimiter = this.config.delimiter || (this.parent ? this.parent.delimiter : I1e), this.id = this.config.id || nr([this.machine.key], Mn(this.path), !1).join(this.delimiter), this.version = this.parent ? this.parent.version : this.config.version, this.type = this.config.type || (this.config.parallel ? "parallel" : this.config.states && Object.keys(this.config.states).length ? "compound" : this.config.history ? "history" : "atomic"), this.schema = this.parent ? this.machine.schema : (a = this.config.schema) !== null && a !== void 0 ? a : {}, this.description = this.config.description, Nr ||
|
225802
|
+
}, this.idMap = {}, this.tags = [], this.options = Object.assign(Zsn(), n), this.parent = o == null ? void 0 : o.parent, this.key = this.config.key || (o == null ? void 0 : o.key) || this.config.id || "(machine)", this.machine = this.parent ? this.parent.machine : this, this.path = this.parent ? this.parent.path.concat(this.key) : [], this.delimiter = this.config.delimiter || (this.parent ? this.parent.delimiter : I1e), this.id = this.config.id || nr([this.machine.key], Mn(this.path), !1).join(this.delimiter), this.version = this.parent ? this.parent.version : this.config.version, this.type = this.config.type || (this.config.parallel ? "parallel" : this.config.states && Object.keys(this.config.states).length ? "compound" : this.config.history ? "history" : "atomic"), this.schema = this.parent ? this.machine.schema : (a = this.config.schema) !== null && a !== void 0 ? a : {}, this.description = this.config.description, Nr || yo(!("parallel" in this.config), 'The "parallel" property is deprecated and will be removed in version 4.1. '.concat(this.config.parallel ? "Replace with `type: 'parallel'`" : "Use `type: '".concat(this.type, "'`"), " in the config for state node '").concat(this.id, "' instead.")), this.initial = this.config.initial, this.states = this.config.states ? d2(this.config.states, function(c, u) {
|
225803
225803
|
var d, f = new e(c, {}, void 0, {
|
225804
225804
|
parent: i,
|
225805
225805
|
key: u
|
@@ -226067,7 +226067,7 @@ var ef = "", BE = "#", Gp = "*", H0 = {}, V0 = function(e) {
|
|
226067
226067
|
}, e.prototype._transition = function(t, n, r) {
|
226068
226068
|
return En(t) ? this.transitionLeafNode(t, n, r) : Object.keys(t).length === 1 ? this.transitionCompoundNode(t, n, r) : this.transitionParallelNode(t, n, r);
|
226069
226069
|
}, e.prototype.getTransitionData = function(t, n) {
|
226070
|
-
return this._transition(t.value, t,
|
226070
|
+
return this._transition(t.value, t, po(n));
|
226071
226071
|
}, e.prototype.next = function(t, n) {
|
226072
226072
|
var r, o, i = this, a = n.name, s = [], l = [], c;
|
226073
226073
|
try {
|
@@ -226226,7 +226226,7 @@ var ef = "", BE = "#", Gp = "*", H0 = {}, V0 = function(e) {
|
|
226226
226226
|
return j;
|
226227
226227
|
}, e.prototype.transition = function(t, n, r, o) {
|
226228
226228
|
t === void 0 && (t = this.initialState);
|
226229
|
-
var i =
|
226229
|
+
var i = po(n), a;
|
226230
226230
|
if (t instanceof ma)
|
226231
226231
|
a = r === void 0 ? t : this.resolveState(ma.from(t, r));
|
226232
226232
|
else {
|
@@ -226450,7 +226450,7 @@ var ef = "", BE = "#", Gp = "*", H0 = {}, V0 = function(e) {
|
|
226450
226450
|
if (G5(this))
|
226451
226451
|
return [this];
|
226452
226452
|
if (this.type === "compound" && !this.initial)
|
226453
|
-
return Nr ||
|
226453
|
+
return Nr || yo(!1, "Compound state node '".concat(this.id, "' has no initial state.")), [this];
|
226454
226454
|
var n = E6(this.initialStateValue);
|
226455
226455
|
return fr(n.map(function(r) {
|
226456
226456
|
return t.getFromRelativePath(r);
|
@@ -226622,13 +226622,13 @@ var ef = "", BE = "#", Gp = "*", H0 = {}, V0 = function(e) {
|
|
226622
226622
|
else {
|
226623
226623
|
var i = this.config.on, a = Gp, s = i[a], l = s === void 0 ? [] : s, c = uN(i, [typeof a == "symbol" ? a : a + ""]);
|
226624
226624
|
o = fr(Object.keys(c).map(function(x) {
|
226625
|
-
!Nr && x === ef &&
|
226625
|
+
!Nr && x === ef && yo(!1, "Empty string transition configs (e.g., `{ on: { '': ... }}`) for transient transitions are deprecated. Specify the transition in the `{ always: ... }` property instead. " + 'Please check the `on` configuration for "#'.concat(r.id, '".'));
|
226626
226626
|
var w = z0(x, c[x]);
|
226627
226627
|
return Nr || $sn(r, x, w), w;
|
226628
226628
|
}).concat(z0(Gp, l)));
|
226629
226629
|
}
|
226630
226630
|
var u = this.config.always ? z0("", this.config.always) : [], d = this.config.onDone ? z0(String(Ly(this.id)), this.config.onDone) : [];
|
226631
|
-
Nr ||
|
226631
|
+
Nr || yo(!(this.config.onDone && !this.parent), 'Root nodes cannot have an ".onDone" transition. Please check the config of "'.concat(this.id, '".'));
|
226632
226632
|
var f = fr(this.invoke.map(function(x) {
|
226633
226633
|
var w = [];
|
226634
226634
|
return x.onDone && w.push.apply(w, nr([], Mn(z0(String(j6(x.id)), x.onDone)), !1)), x.onError && w.push.apply(w, nr([], Mn(z0(String(f2(x.id)), x.onError)), !1)), w;
|
@@ -227660,10 +227660,10 @@ function Cln(e, t = {}) {
|
|
227660
227660
|
const { X: T, Y: N, Z: V } = this, { X: I, Y: H, Z: U } = z;
|
227661
227661
|
let K = r.ZERO, Z = r.ZERO, G = r.ZERO;
|
227662
227662
|
const ae = i.a, se = r.mul(i.b, Iy);
|
227663
|
-
let ie = r.mul(T, I), Q = r.mul(N, H),
|
227663
|
+
let ie = r.mul(T, I), Q = r.mul(N, H), X = r.mul(V, U), te = r.add(T, N), ne = r.add(I, H);
|
227664
227664
|
te = r.mul(te, ne), ne = r.add(ie, Q), te = r.sub(te, ne), ne = r.add(T, V);
|
227665
227665
|
let D = r.add(I, U);
|
227666
|
-
return ne = r.mul(ne, D), D = r.add(ie,
|
227666
|
+
return ne = r.mul(ne, D), D = r.add(ie, X), ne = r.sub(ne, D), D = r.add(N, V), K = r.add(H, U), D = r.mul(D, K), K = r.add(Q, X), D = r.sub(D, K), G = r.mul(ae, ne), K = r.mul(se, X), G = r.add(K, G), K = r.sub(Q, G), G = r.add(Q, G), Z = r.mul(K, G), Q = r.add(ie, ie), Q = r.add(Q, ie), X = r.mul(ae, X), ne = r.mul(se, ne), Q = r.add(Q, X), X = r.sub(ie, X), X = r.mul(ae, X), ne = r.add(ne, X), ie = r.mul(Q, ne), Z = r.add(Z, ie), ie = r.mul(D, ne), K = r.mul(te, K), K = r.sub(K, ie), ie = r.mul(te, Q), G = r.mul(D, G), G = r.add(G, ie), new j(K, Z, G);
|
227667
227667
|
}
|
227668
227668
|
subtract(z) {
|
227669
227669
|
return this.add(z.negate());
|
@@ -227912,7 +227912,7 @@ function Aln(e, t, n = {}) {
|
|
227912
227912
|
const Z = U === 2 || U === 3 ? I + s : I;
|
227913
227913
|
if (!i.isValid(Z))
|
227914
227914
|
throw new Error("recovery id 2 or 3 invalid");
|
227915
|
-
const G = i.toBytes(Z), ae = e.fromBytes(lu(ude((U & 1) === 0), G)), se = a.inv(Z), ie = M(ai("msgHash", N)), Q = a.create(-ie * se),
|
227915
|
+
const G = i.toBytes(Z), ae = e.fromBytes(lu(ude((U & 1) === 0), G)), se = a.inv(Z), ie = M(ai("msgHash", N)), Q = a.create(-ie * se), X = a.create(H * se), te = e.BASE.multiplyUnsafe(Q).add(ae.multiplyUnsafe(X));
|
227916
227916
|
if (te.is0())
|
227917
227917
|
throw new Error("point at infinify");
|
227918
227918
|
return te.assertValidity(), te;
|
@@ -227986,10 +227986,10 @@ function Aln(e, t, n = {}) {
|
|
227986
227986
|
}
|
227987
227987
|
const ae = lu(...G), se = K;
|
227988
227988
|
function ie(Q) {
|
227989
|
-
const
|
227990
|
-
if (!a.isValidNot0(
|
227989
|
+
const X = v(Q);
|
227990
|
+
if (!a.isValidNot0(X))
|
227991
227991
|
return;
|
227992
|
-
const te = a.inv(
|
227992
|
+
const te = a.inv(X), ne = e.BASE.multiply(X).toAffine(), D = a.create(ne.x);
|
227993
227993
|
if (D === ec)
|
227994
227994
|
return;
|
227995
227995
|
const $ = a.create(te * a.create(se + D * Z));
|
@@ -228039,7 +228039,7 @@ function Aln(e, t, n = {}) {
|
|
228039
228039
|
const G = e.fromBytes(V);
|
228040
228040
|
if (H && Z.hasHighS())
|
228041
228041
|
return !1;
|
228042
|
-
const { r: ae, s: se } = Z, ie = M(N), Q = a.inv(se),
|
228042
|
+
const { r: ae, s: se } = Z, ie = M(N), Q = a.inv(se), X = a.create(ie * Q), te = a.create(ae * Q), ne = e.BASE.multiplyUnsafe(X).add(G.multiplyUnsafe(te));
|
228043
228043
|
return ne.is0() ? !1 : a.create(ne.x) === ae;
|
228044
228044
|
} catch {
|
228045
228045
|
return !1;
|
@@ -229383,7 +229383,7 @@ const j8 = ({ name: e, prefix: t, encode: n, decode: r }) => new Rcn(e, t, n, r)
|
|
229383
229383
|
for (; i.length * n & 7; )
|
229384
229384
|
i += "=";
|
229385
229385
|
return i;
|
229386
|
-
},
|
229386
|
+
}, Co = ({ name: e, prefix: t, bitsPerChar: n, alphabet: r }) => j8({
|
229387
229387
|
prefix: t,
|
229388
229388
|
name: e,
|
229389
229389
|
encode(o) {
|
@@ -229400,7 +229400,7 @@ const j8 = ({ name: e, prefix: t, encode: n, decode: r }) => new Rcn(e, t, n, r)
|
|
229400
229400
|
}), Hcn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
229401
229401
|
__proto__: null,
|
229402
229402
|
identity: zcn
|
229403
|
-
}, Symbol.toStringTag, { value: "Module" })), Vcn =
|
229403
|
+
}, Symbol.toStringTag, { value: "Module" })), Vcn = Co({
|
229404
229404
|
prefix: "0",
|
229405
229405
|
name: "base2",
|
229406
229406
|
alphabet: "01",
|
@@ -229408,7 +229408,7 @@ const j8 = ({ name: e, prefix: t, encode: n, decode: r }) => new Rcn(e, t, n, r)
|
|
229408
229408
|
}), qcn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
229409
229409
|
__proto__: null,
|
229410
229410
|
base2: Vcn
|
229411
|
-
}, Symbol.toStringTag, { value: "Module" })), Ucn =
|
229411
|
+
}, Symbol.toStringTag, { value: "Module" })), Ucn = Co({
|
229412
229412
|
prefix: "7",
|
229413
229413
|
name: "base8",
|
229414
229414
|
alphabet: "01234567",
|
@@ -229423,12 +229423,12 @@ const j8 = ({ name: e, prefix: t, encode: n, decode: r }) => new Rcn(e, t, n, r)
|
|
229423
229423
|
}), Zcn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
229424
229424
|
__proto__: null,
|
229425
229425
|
base10: Gcn
|
229426
|
-
}, Symbol.toStringTag, { value: "Module" })), $cn =
|
229426
|
+
}, Symbol.toStringTag, { value: "Module" })), $cn = Co({
|
229427
229427
|
prefix: "f",
|
229428
229428
|
name: "base16",
|
229429
229429
|
alphabet: "0123456789abcdef",
|
229430
229430
|
bitsPerChar: 4
|
229431
|
-
}), Kcn =
|
229431
|
+
}), Kcn = Co({
|
229432
229432
|
prefix: "F",
|
229433
229433
|
name: "base16upper",
|
229434
229434
|
alphabet: "0123456789ABCDEF",
|
@@ -229437,47 +229437,47 @@ const j8 = ({ name: e, prefix: t, encode: n, decode: r }) => new Rcn(e, t, n, r)
|
|
229437
229437
|
__proto__: null,
|
229438
229438
|
base16: $cn,
|
229439
229439
|
base16upper: Kcn
|
229440
|
-
}, Symbol.toStringTag, { value: "Module" })), Jcn =
|
229440
|
+
}, Symbol.toStringTag, { value: "Module" })), Jcn = Co({
|
229441
229441
|
prefix: "b",
|
229442
229442
|
name: "base32",
|
229443
229443
|
alphabet: "abcdefghijklmnopqrstuvwxyz234567",
|
229444
229444
|
bitsPerChar: 5
|
229445
|
-
}), Qcn =
|
229445
|
+
}), Qcn = Co({
|
229446
229446
|
prefix: "B",
|
229447
229447
|
name: "base32upper",
|
229448
229448
|
alphabet: "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",
|
229449
229449
|
bitsPerChar: 5
|
229450
|
-
}), Xcn =
|
229450
|
+
}), Xcn = Co({
|
229451
229451
|
prefix: "c",
|
229452
229452
|
name: "base32pad",
|
229453
229453
|
alphabet: "abcdefghijklmnopqrstuvwxyz234567=",
|
229454
229454
|
bitsPerChar: 5
|
229455
|
-
}), eun =
|
229455
|
+
}), eun = Co({
|
229456
229456
|
prefix: "C",
|
229457
229457
|
name: "base32padupper",
|
229458
229458
|
alphabet: "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",
|
229459
229459
|
bitsPerChar: 5
|
229460
|
-
}), tun =
|
229460
|
+
}), tun = Co({
|
229461
229461
|
prefix: "v",
|
229462
229462
|
name: "base32hex",
|
229463
229463
|
alphabet: "0123456789abcdefghijklmnopqrstuv",
|
229464
229464
|
bitsPerChar: 5
|
229465
|
-
}), nun =
|
229465
|
+
}), nun = Co({
|
229466
229466
|
prefix: "V",
|
229467
229467
|
name: "base32hexupper",
|
229468
229468
|
alphabet: "0123456789ABCDEFGHIJKLMNOPQRSTUV",
|
229469
229469
|
bitsPerChar: 5
|
229470
|
-
}), run =
|
229470
|
+
}), run = Co({
|
229471
229471
|
prefix: "t",
|
229472
229472
|
name: "base32hexpad",
|
229473
229473
|
alphabet: "0123456789abcdefghijklmnopqrstuv=",
|
229474
229474
|
bitsPerChar: 5
|
229475
|
-
}), oun =
|
229475
|
+
}), oun = Co({
|
229476
229476
|
prefix: "T",
|
229477
229477
|
name: "base32hexpadupper",
|
229478
229478
|
alphabet: "0123456789ABCDEFGHIJKLMNOPQRSTUV=",
|
229479
229479
|
bitsPerChar: 5
|
229480
|
-
}), iun =
|
229480
|
+
}), iun = Co({
|
229481
229481
|
prefix: "h",
|
229482
229482
|
name: "base32z",
|
229483
229483
|
alphabet: "ybndrfg8ejkmcpqxot1uwisza345h769",
|
@@ -229517,22 +229517,22 @@ const j8 = ({ name: e, prefix: t, encode: n, decode: r }) => new Rcn(e, t, n, r)
|
|
229517
229517
|
__proto__: null,
|
229518
229518
|
base58btc: uun,
|
229519
229519
|
base58flickr: dun
|
229520
|
-
}, Symbol.toStringTag, { value: "Module" })), hun =
|
229520
|
+
}, Symbol.toStringTag, { value: "Module" })), hun = Co({
|
229521
229521
|
prefix: "m",
|
229522
229522
|
name: "base64",
|
229523
229523
|
alphabet: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
|
229524
229524
|
bitsPerChar: 6
|
229525
|
-
}), pun =
|
229525
|
+
}), pun = Co({
|
229526
229526
|
prefix: "M",
|
229527
229527
|
name: "base64pad",
|
229528
229528
|
alphabet: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
|
229529
229529
|
bitsPerChar: 6
|
229530
|
-
}), mun =
|
229530
|
+
}), mun = Co({
|
229531
229531
|
prefix: "u",
|
229532
229532
|
name: "base64url",
|
229533
229533
|
alphabet: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",
|
229534
229534
|
bitsPerChar: 6
|
229535
|
-
}), gun =
|
229535
|
+
}), gun = Co({
|
229536
229536
|
prefix: "U",
|
229537
229537
|
name: "base64urlpad",
|
229538
229538
|
alphabet: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=",
|
@@ -230178,8 +230178,8 @@ var Pde = {};
|
|
230178
230178
|
s[G] = t.readUint32BE(d, ae), l[G] = t.readUint32BE(d, ae + 4);
|
230179
230179
|
}
|
230180
230180
|
for (var G = 0; G < 80; G++) {
|
230181
|
-
var se = p, ie = m, Q = g,
|
230182
|
-
if (T = M, N = z, H = N & 65535, U = N >>> 16, K = T & 65535, Z = T >>> 16, T = (x >>> 14 | R << 18) ^ (x >>> 18 | R << 14) ^ (R >>> 9 | x << 23), N = (R >>> 14 | x << 18) ^ (R >>> 18 | x << 14) ^ (x >>> 9 | R << 23), H += N & 65535, U += N >>> 16, K += T & 65535, Z += T >>> 16, T = x & w ^ ~x & v, N = R & _ ^ ~R & O, H += N & 65535, U += N >>> 16, K += T & 65535, Z += T >>> 16, T = o[G * 2], N = o[G * 2 + 1], H += N & 65535, U += N >>> 16, K += T & 65535, Z += T >>> 16, T = s[G % 16], N = l[G % 16], H += N & 65535, U += N >>> 16, K += T & 65535, Z += T >>> 16, U += H >>> 16, K += U >>> 16, Z += K >>> 16, V = K & 65535 | Z << 16, I = H & 65535 | U << 16, T = V, N = I, H = N & 65535, U = N >>> 16, K = T & 65535, Z = T >>> 16, T = (p >>> 28 | C << 4) ^ (C >>> 2 | p << 30) ^ (C >>> 7 | p << 25), N = (C >>> 28 | p << 4) ^ (p >>> 2 | C << 30) ^ (p >>> 7 | C << 25), H += N & 65535, U += N >>> 16, K += T & 65535, Z += T >>> 16, T = p & m ^ p & g ^ m & g, N = C & A ^ C & E ^ A & E, H += N & 65535, U += N >>> 16, K += T & 65535, Z += T >>> 16, U += H >>> 16, K += U >>> 16, Z += K >>> 16, $ = K & 65535 | Z << 16, ye = H & 65535 | U << 16, T =
|
230181
|
+
var se = p, ie = m, Q = g, X = y, te = x, ne = w, D = v, $ = M, ue = C, ge = A, oe = E, Fe = j, xe = R, le = _, Ce = O, ye = z;
|
230182
|
+
if (T = M, N = z, H = N & 65535, U = N >>> 16, K = T & 65535, Z = T >>> 16, T = (x >>> 14 | R << 18) ^ (x >>> 18 | R << 14) ^ (R >>> 9 | x << 23), N = (R >>> 14 | x << 18) ^ (R >>> 18 | x << 14) ^ (x >>> 9 | R << 23), H += N & 65535, U += N >>> 16, K += T & 65535, Z += T >>> 16, T = x & w ^ ~x & v, N = R & _ ^ ~R & O, H += N & 65535, U += N >>> 16, K += T & 65535, Z += T >>> 16, T = o[G * 2], N = o[G * 2 + 1], H += N & 65535, U += N >>> 16, K += T & 65535, Z += T >>> 16, T = s[G % 16], N = l[G % 16], H += N & 65535, U += N >>> 16, K += T & 65535, Z += T >>> 16, U += H >>> 16, K += U >>> 16, Z += K >>> 16, V = K & 65535 | Z << 16, I = H & 65535 | U << 16, T = V, N = I, H = N & 65535, U = N >>> 16, K = T & 65535, Z = T >>> 16, T = (p >>> 28 | C << 4) ^ (C >>> 2 | p << 30) ^ (C >>> 7 | p << 25), N = (C >>> 28 | p << 4) ^ (p >>> 2 | C << 30) ^ (p >>> 7 | C << 25), H += N & 65535, U += N >>> 16, K += T & 65535, Z += T >>> 16, T = p & m ^ p & g ^ m & g, N = C & A ^ C & E ^ A & E, H += N & 65535, U += N >>> 16, K += T & 65535, Z += T >>> 16, U += H >>> 16, K += U >>> 16, Z += K >>> 16, $ = K & 65535 | Z << 16, ye = H & 65535 | U << 16, T = X, N = Fe, H = N & 65535, U = N >>> 16, K = T & 65535, Z = T >>> 16, T = V, N = I, H += N & 65535, U += N >>> 16, K += T & 65535, Z += T >>> 16, U += H >>> 16, K += U >>> 16, Z += K >>> 16, X = K & 65535 | Z << 16, Fe = H & 65535 | U << 16, m = se, g = ie, y = Q, x = X, w = te, v = ne, M = D, p = $, A = ue, E = ge, j = oe, R = Fe, _ = xe, O = le, z = Ce, C = ye, G % 16 === 15)
|
230183
230183
|
for (var ae = 0; ae < 16; ae++)
|
230184
230184
|
T = s[ae], N = l[ae], H = N & 65535, U = N >>> 16, K = T & 65535, Z = T >>> 16, T = s[(ae + 9) % 16], N = l[(ae + 9) % 16], H += N & 65535, U += N >>> 16, K += T & 65535, Z += T >>> 16, V = s[(ae + 1) % 16], I = l[(ae + 1) % 16], T = (V >>> 1 | I << 31) ^ (V >>> 8 | I << 24) ^ V >>> 7, N = (I >>> 1 | V << 31) ^ (I >>> 8 | V << 24) ^ (I >>> 7 | V << 25), H += N & 65535, U += N >>> 16, K += T & 65535, Z += T >>> 16, V = s[(ae + 14) % 16], I = l[(ae + 14) % 16], T = (V >>> 19 | I << 13) ^ (I >>> 29 | V << 3) ^ V >>> 6, N = (I >>> 19 | V << 13) ^ (V >>> 29 | I << 3) ^ (I >>> 6 | V << 26), H += N & 65535, U += N >>> 16, K += T & 65535, Z += T >>> 16, U += H >>> 16, K += U >>> 16, Z += K >>> 16, s[ae] = K & 65535 | Z << 16, l[ae] = H & 65535 | U << 16;
|
230185
230185
|
}
|
@@ -230199,11 +230199,11 @@ var Pde = {};
|
|
230199
230199
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.convertSecretKeyToX25519 = e.convertPublicKeyToX25519 = e.verify = e.sign = e.extractPublicKeyFromSecretKey = e.generateKeyPair = e.generateKeyPairFromSeed = e.SEED_LENGTH = e.SECRET_KEY_LENGTH = e.PUBLIC_KEY_LENGTH = e.SIGNATURE_LENGTH = void 0;
|
230200
230200
|
const t = Lde, n = Pde, r = cp;
|
230201
230201
|
e.SIGNATURE_LENGTH = 64, e.PUBLIC_KEY_LENGTH = 32, e.SECRET_KEY_LENGTH = 64, e.SEED_LENGTH = 32;
|
230202
|
-
function o(
|
230202
|
+
function o(X) {
|
230203
230203
|
const te = new Float64Array(16);
|
230204
|
-
if (
|
230205
|
-
for (let ne = 0; ne <
|
230206
|
-
te[ne] =
|
230204
|
+
if (X)
|
230205
|
+
for (let ne = 0; ne < X.length; ne++)
|
230206
|
+
te[ne] = X[ne];
|
230207
230207
|
return te;
|
230208
230208
|
}
|
230209
230209
|
const i = new Uint8Array(32);
|
@@ -230294,26 +230294,26 @@ var Pde = {};
|
|
230294
230294
|
9344,
|
230295
230295
|
11139
|
230296
230296
|
]);
|
230297
|
-
function h(
|
230297
|
+
function h(X, te) {
|
230298
230298
|
for (let ne = 0; ne < 16; ne++)
|
230299
|
-
|
230299
|
+
X[ne] = te[ne] | 0;
|
230300
230300
|
}
|
230301
|
-
function p(
|
230301
|
+
function p(X) {
|
230302
230302
|
let te = 1;
|
230303
230303
|
for (let ne = 0; ne < 16; ne++) {
|
230304
|
-
let D =
|
230305
|
-
te = Math.floor(D / 65536),
|
230304
|
+
let D = X[ne] + te + 65535;
|
230305
|
+
te = Math.floor(D / 65536), X[ne] = D - te * 65536;
|
230306
230306
|
}
|
230307
|
-
|
230307
|
+
X[0] += te - 1 + 37 * (te - 1);
|
230308
230308
|
}
|
230309
|
-
function m(
|
230309
|
+
function m(X, te, ne) {
|
230310
230310
|
const D = ~(ne - 1);
|
230311
230311
|
for (let $ = 0; $ < 16; $++) {
|
230312
|
-
const ue = D & (
|
230313
|
-
|
230312
|
+
const ue = D & (X[$] ^ te[$]);
|
230313
|
+
X[$] ^= ue, te[$] ^= ue;
|
230314
230314
|
}
|
230315
230315
|
}
|
230316
|
-
function g(
|
230316
|
+
function g(X, te) {
|
230317
230317
|
const ne = o(), D = o();
|
230318
230318
|
for (let $ = 0; $ < 16; $++)
|
230319
230319
|
D[$] = te[$];
|
@@ -230327,43 +230327,43 @@ var Pde = {};
|
|
230327
230327
|
ne[14] &= 65535, m(D, ne, 1 - ue);
|
230328
230328
|
}
|
230329
230329
|
for (let $ = 0; $ < 16; $++)
|
230330
|
-
|
230330
|
+
X[2 * $] = D[$] & 255, X[2 * $ + 1] = D[$] >> 8;
|
230331
230331
|
}
|
230332
|
-
function y(
|
230332
|
+
function y(X, te) {
|
230333
230333
|
let ne = 0;
|
230334
230334
|
for (let D = 0; D < 32; D++)
|
230335
|
-
ne |=
|
230335
|
+
ne |= X[D] ^ te[D];
|
230336
230336
|
return (1 & ne - 1 >>> 8) - 1;
|
230337
230337
|
}
|
230338
|
-
function x(
|
230338
|
+
function x(X, te) {
|
230339
230339
|
const ne = new Uint8Array(32), D = new Uint8Array(32);
|
230340
|
-
return g(ne,
|
230340
|
+
return g(ne, X), g(D, te), y(ne, D);
|
230341
230341
|
}
|
230342
|
-
function w(
|
230342
|
+
function w(X) {
|
230343
230343
|
const te = new Uint8Array(32);
|
230344
|
-
return g(te,
|
230344
|
+
return g(te, X), te[0] & 1;
|
230345
230345
|
}
|
230346
|
-
function v(
|
230346
|
+
function v(X, te) {
|
230347
230347
|
for (let ne = 0; ne < 16; ne++)
|
230348
|
-
|
230349
|
-
|
230348
|
+
X[ne] = te[2 * ne] + (te[2 * ne + 1] << 8);
|
230349
|
+
X[15] &= 32767;
|
230350
230350
|
}
|
230351
|
-
function M(
|
230351
|
+
function M(X, te, ne) {
|
230352
230352
|
for (let D = 0; D < 16; D++)
|
230353
|
-
|
230353
|
+
X[D] = te[D] + ne[D];
|
230354
230354
|
}
|
230355
|
-
function C(
|
230355
|
+
function C(X, te, ne) {
|
230356
230356
|
for (let D = 0; D < 16; D++)
|
230357
|
-
|
230357
|
+
X[D] = te[D] - ne[D];
|
230358
230358
|
}
|
230359
|
-
function A(
|
230359
|
+
function A(X, te, ne) {
|
230360
230360
|
let D, $, ue = 0, ge = 0, oe = 0, Fe = 0, xe = 0, le = 0, Ce = 0, ye = 0, Oe = 0, Re = 0, Ge = 0, dt = 0, qe = 0, $e = 0, B = 0, q = 0, J = 0, re = 0, fe = 0, pe = 0, je = 0, Se = 0, ce = 0, Ne = 0, Me = 0, _e = 0, ke = 0, Ee = 0, Ie = 0, Ue = 0, nt = 0, it = ne[0], ht = ne[1], rt = ne[2], xt = ne[3], kt = ne[4], Bt = ne[5], Vt = ne[6], ln = ne[7], kn = ne[8], Bn = ne[9], mn = ne[10], Fn = ne[11], Xn = ne[12], Wn = ne[13], W = ne[14], be = ne[15];
|
230361
|
-
D = te[0], ue += D * it, ge += D * ht, oe += D * rt, Fe += D * xt, xe += D * kt, le += D * Bt, Ce += D * Vt, ye += D * ln, Oe += D * kn, Re += D * Bn, Ge += D * mn, dt += D * Fn, qe += D * Xn, $e += D * Wn, B += D * W, q += D * be, D = te[1], ge += D * it, oe += D * ht, Fe += D * rt, xe += D * xt, le += D * kt, Ce += D * Bt, ye += D * Vt, Oe += D * ln, Re += D * kn, Ge += D * Bn, dt += D * mn, qe += D * Fn, $e += D * Xn, B += D * Wn, q += D * W, J += D * be, D = te[2], oe += D * it, Fe += D * ht, xe += D * rt, le += D * xt, Ce += D * kt, ye += D * Bt, Oe += D * Vt, Re += D * ln, Ge += D * kn, dt += D * Bn, qe += D * mn, $e += D * Fn, B += D * Xn, q += D * Wn, J += D * W, re += D * be, D = te[3], Fe += D * it, xe += D * ht, le += D * rt, Ce += D * xt, ye += D * kt, Oe += D * Bt, Re += D * Vt, Ge += D * ln, dt += D * kn, qe += D * Bn, $e += D * mn, B += D * Fn, q += D * Xn, J += D * Wn, re += D * W, fe += D * be, D = te[4], xe += D * it, le += D * ht, Ce += D * rt, ye += D * xt, Oe += D * kt, Re += D * Bt, Ge += D * Vt, dt += D * ln, qe += D * kn, $e += D * Bn, B += D * mn, q += D * Fn, J += D * Xn, re += D * Wn, fe += D * W, pe += D * be, D = te[5], le += D * it, Ce += D * ht, ye += D * rt, Oe += D * xt, Re += D * kt, Ge += D * Bt, dt += D * Vt, qe += D * ln, $e += D * kn, B += D * Bn, q += D * mn, J += D * Fn, re += D * Xn, fe += D * Wn, pe += D * W, je += D * be, D = te[6], Ce += D * it, ye += D * ht, Oe += D * rt, Re += D * xt, Ge += D * kt, dt += D * Bt, qe += D * Vt, $e += D * ln, B += D * kn, q += D * Bn, J += D * mn, re += D * Fn, fe += D * Xn, pe += D * Wn, je += D * W, Se += D * be, D = te[7], ye += D * it, Oe += D * ht, Re += D * rt, Ge += D * xt, dt += D * kt, qe += D * Bt, $e += D * Vt, B += D * ln, q += D * kn, J += D * Bn, re += D * mn, fe += D * Fn, pe += D * Xn, je += D * Wn, Se += D * W, ce += D * be, D = te[8], Oe += D * it, Re += D * ht, Ge += D * rt, dt += D * xt, qe += D * kt, $e += D * Bt, B += D * Vt, q += D * ln, J += D * kn, re += D * Bn, fe += D * mn, pe += D * Fn, je += D * Xn, Se += D * Wn, ce += D * W, Ne += D * be, D = te[9], Re += D * it, Ge += D * ht, dt += D * rt, qe += D * xt, $e += D * kt, B += D * Bt, q += D * Vt, J += D * ln, re += D * kn, fe += D * Bn, pe += D * mn, je += D * Fn, Se += D * Xn, ce += D * Wn, Ne += D * W, Me += D * be, D = te[10], Ge += D * it, dt += D * ht, qe += D * rt, $e += D * xt, B += D * kt, q += D * Bt, J += D * Vt, re += D * ln, fe += D * kn, pe += D * Bn, je += D * mn, Se += D * Fn, ce += D * Xn, Ne += D * Wn, Me += D * W, _e += D * be, D = te[11], dt += D * it, qe += D * ht, $e += D * rt, B += D * xt, q += D * kt, J += D * Bt, re += D * Vt, fe += D * ln, pe += D * kn, je += D * Bn, Se += D * mn, ce += D * Fn, Ne += D * Xn, Me += D * Wn, _e += D * W, ke += D * be, D = te[12], qe += D * it, $e += D * ht, B += D * rt, q += D * xt, J += D * kt, re += D * Bt, fe += D * Vt, pe += D * ln, je += D * kn, Se += D * Bn, ce += D * mn, Ne += D * Fn, Me += D * Xn, _e += D * Wn, ke += D * W, Ee += D * be, D = te[13], $e += D * it, B += D * ht, q += D * rt, J += D * xt, re += D * kt, fe += D * Bt, pe += D * Vt, je += D * ln, Se += D * kn, ce += D * Bn, Ne += D * mn, Me += D * Fn, _e += D * Xn, ke += D * Wn, Ee += D * W, Ie += D * be, D = te[14], B += D * it, q += D * ht, J += D * rt, re += D * xt, fe += D * kt, pe += D * Bt, je += D * Vt, Se += D * ln, ce += D * kn, Ne += D * Bn, Me += D * mn, _e += D * Fn, ke += D * Xn, Ee += D * Wn, Ie += D * W, Ue += D * be, D = te[15], q += D * it, J += D * ht, re += D * rt, fe += D * xt, pe += D * kt, je += D * Bt, Se += D * Vt, ce += D * ln, Ne += D * kn, Me += D * Bn, _e += D * mn, ke += D * Fn, Ee += D * Xn, Ie += D * Wn, Ue += D * W, nt += D * be, ue += 38 * J, ge += 38 * re, oe += 38 * fe, Fe += 38 * pe, xe += 38 * je, le += 38 * Se, Ce += 38 * ce, ye += 38 * Ne, Oe += 38 * Me, Re += 38 * _e, Ge += 38 * ke, dt += 38 * Ee, qe += 38 * Ie, $e += 38 * Ue, B += 38 * nt, $ = 1, D = ue + $ + 65535, $ = Math.floor(D / 65536), ue = D - $ * 65536, D = ge + $ + 65535, $ = Math.floor(D / 65536), ge = D - $ * 65536, D = oe + $ + 65535, $ = Math.floor(D / 65536), oe = D - $ * 65536, D = Fe + $ + 65535, $ = Math.floor(D / 65536), Fe = D - $ * 65536, D = xe + $ + 65535, $ = Math.floor(D / 65536), xe = D - $ * 65536, D = le + $ + 65535, $ = Math.floor(D / 65536), le = D - $ * 65536, D = Ce + $ + 65535, $ = Math.floor(D / 65536), Ce = D - $ * 65536, D = ye + $ + 65535, $ = Math.floor(D / 65536), ye = D - $ * 65536, D = Oe + $ + 65535, $ = Math.floor(D / 65536), Oe = D - $ * 65536, D = Re + $ + 65535, $ = Math.floor(D / 65536), Re = D - $ * 65536, D = Ge + $ + 65535, $ = Math.floor(D / 65536), Ge = D - $ * 65536, D = dt + $ + 65535, $ = Math.floor(D / 65536), dt = D - $ * 65536, D = qe + $ + 65535, $ = Math.floor(D / 65536), qe = D - $ * 65536, D = $e + $ + 65535, $ = Math.floor(D / 65536), $e = D - $ * 65536, D = B + $ + 65535, $ = Math.floor(D / 65536), B = D - $ * 65536, D = q + $ + 65535, $ = Math.floor(D / 65536), q = D - $ * 65536, ue += $ - 1 + 37 * ($ - 1), $ = 1, D = ue + $ + 65535, $ = Math.floor(D / 65536), ue = D - $ * 65536, D = ge + $ + 65535, $ = Math.floor(D / 65536), ge = D - $ * 65536, D = oe + $ + 65535, $ = Math.floor(D / 65536), oe = D - $ * 65536, D = Fe + $ + 65535, $ = Math.floor(D / 65536), Fe = D - $ * 65536, D = xe + $ + 65535, $ = Math.floor(D / 65536), xe = D - $ * 65536, D = le + $ + 65535, $ = Math.floor(D / 65536), le = D - $ * 65536, D = Ce + $ + 65535, $ = Math.floor(D / 65536), Ce = D - $ * 65536, D = ye + $ + 65535, $ = Math.floor(D / 65536), ye = D - $ * 65536, D = Oe + $ + 65535, $ = Math.floor(D / 65536), Oe = D - $ * 65536, D = Re + $ + 65535, $ = Math.floor(D / 65536), Re = D - $ * 65536, D = Ge + $ + 65535, $ = Math.floor(D / 65536), Ge = D - $ * 65536, D = dt + $ + 65535, $ = Math.floor(D / 65536), dt = D - $ * 65536, D = qe + $ + 65535, $ = Math.floor(D / 65536), qe = D - $ * 65536, D = $e + $ + 65535, $ = Math.floor(D / 65536), $e = D - $ * 65536, D = B + $ + 65535, $ = Math.floor(D / 65536), B = D - $ * 65536, D = q + $ + 65535, $ = Math.floor(D / 65536), q = D - $ * 65536, ue += $ - 1 + 37 * ($ - 1),
|
230361
|
+
D = te[0], ue += D * it, ge += D * ht, oe += D * rt, Fe += D * xt, xe += D * kt, le += D * Bt, Ce += D * Vt, ye += D * ln, Oe += D * kn, Re += D * Bn, Ge += D * mn, dt += D * Fn, qe += D * Xn, $e += D * Wn, B += D * W, q += D * be, D = te[1], ge += D * it, oe += D * ht, Fe += D * rt, xe += D * xt, le += D * kt, Ce += D * Bt, ye += D * Vt, Oe += D * ln, Re += D * kn, Ge += D * Bn, dt += D * mn, qe += D * Fn, $e += D * Xn, B += D * Wn, q += D * W, J += D * be, D = te[2], oe += D * it, Fe += D * ht, xe += D * rt, le += D * xt, Ce += D * kt, ye += D * Bt, Oe += D * Vt, Re += D * ln, Ge += D * kn, dt += D * Bn, qe += D * mn, $e += D * Fn, B += D * Xn, q += D * Wn, J += D * W, re += D * be, D = te[3], Fe += D * it, xe += D * ht, le += D * rt, Ce += D * xt, ye += D * kt, Oe += D * Bt, Re += D * Vt, Ge += D * ln, dt += D * kn, qe += D * Bn, $e += D * mn, B += D * Fn, q += D * Xn, J += D * Wn, re += D * W, fe += D * be, D = te[4], xe += D * it, le += D * ht, Ce += D * rt, ye += D * xt, Oe += D * kt, Re += D * Bt, Ge += D * Vt, dt += D * ln, qe += D * kn, $e += D * Bn, B += D * mn, q += D * Fn, J += D * Xn, re += D * Wn, fe += D * W, pe += D * be, D = te[5], le += D * it, Ce += D * ht, ye += D * rt, Oe += D * xt, Re += D * kt, Ge += D * Bt, dt += D * Vt, qe += D * ln, $e += D * kn, B += D * Bn, q += D * mn, J += D * Fn, re += D * Xn, fe += D * Wn, pe += D * W, je += D * be, D = te[6], Ce += D * it, ye += D * ht, Oe += D * rt, Re += D * xt, Ge += D * kt, dt += D * Bt, qe += D * Vt, $e += D * ln, B += D * kn, q += D * Bn, J += D * mn, re += D * Fn, fe += D * Xn, pe += D * Wn, je += D * W, Se += D * be, D = te[7], ye += D * it, Oe += D * ht, Re += D * rt, Ge += D * xt, dt += D * kt, qe += D * Bt, $e += D * Vt, B += D * ln, q += D * kn, J += D * Bn, re += D * mn, fe += D * Fn, pe += D * Xn, je += D * Wn, Se += D * W, ce += D * be, D = te[8], Oe += D * it, Re += D * ht, Ge += D * rt, dt += D * xt, qe += D * kt, $e += D * Bt, B += D * Vt, q += D * ln, J += D * kn, re += D * Bn, fe += D * mn, pe += D * Fn, je += D * Xn, Se += D * Wn, ce += D * W, Ne += D * be, D = te[9], Re += D * it, Ge += D * ht, dt += D * rt, qe += D * xt, $e += D * kt, B += D * Bt, q += D * Vt, J += D * ln, re += D * kn, fe += D * Bn, pe += D * mn, je += D * Fn, Se += D * Xn, ce += D * Wn, Ne += D * W, Me += D * be, D = te[10], Ge += D * it, dt += D * ht, qe += D * rt, $e += D * xt, B += D * kt, q += D * Bt, J += D * Vt, re += D * ln, fe += D * kn, pe += D * Bn, je += D * mn, Se += D * Fn, ce += D * Xn, Ne += D * Wn, Me += D * W, _e += D * be, D = te[11], dt += D * it, qe += D * ht, $e += D * rt, B += D * xt, q += D * kt, J += D * Bt, re += D * Vt, fe += D * ln, pe += D * kn, je += D * Bn, Se += D * mn, ce += D * Fn, Ne += D * Xn, Me += D * Wn, _e += D * W, ke += D * be, D = te[12], qe += D * it, $e += D * ht, B += D * rt, q += D * xt, J += D * kt, re += D * Bt, fe += D * Vt, pe += D * ln, je += D * kn, Se += D * Bn, ce += D * mn, Ne += D * Fn, Me += D * Xn, _e += D * Wn, ke += D * W, Ee += D * be, D = te[13], $e += D * it, B += D * ht, q += D * rt, J += D * xt, re += D * kt, fe += D * Bt, pe += D * Vt, je += D * ln, Se += D * kn, ce += D * Bn, Ne += D * mn, Me += D * Fn, _e += D * Xn, ke += D * Wn, Ee += D * W, Ie += D * be, D = te[14], B += D * it, q += D * ht, J += D * rt, re += D * xt, fe += D * kt, pe += D * Bt, je += D * Vt, Se += D * ln, ce += D * kn, Ne += D * Bn, Me += D * mn, _e += D * Fn, ke += D * Xn, Ee += D * Wn, Ie += D * W, Ue += D * be, D = te[15], q += D * it, J += D * ht, re += D * rt, fe += D * xt, pe += D * kt, je += D * Bt, Se += D * Vt, ce += D * ln, Ne += D * kn, Me += D * Bn, _e += D * mn, ke += D * Fn, Ee += D * Xn, Ie += D * Wn, Ue += D * W, nt += D * be, ue += 38 * J, ge += 38 * re, oe += 38 * fe, Fe += 38 * pe, xe += 38 * je, le += 38 * Se, Ce += 38 * ce, ye += 38 * Ne, Oe += 38 * Me, Re += 38 * _e, Ge += 38 * ke, dt += 38 * Ee, qe += 38 * Ie, $e += 38 * Ue, B += 38 * nt, $ = 1, D = ue + $ + 65535, $ = Math.floor(D / 65536), ue = D - $ * 65536, D = ge + $ + 65535, $ = Math.floor(D / 65536), ge = D - $ * 65536, D = oe + $ + 65535, $ = Math.floor(D / 65536), oe = D - $ * 65536, D = Fe + $ + 65535, $ = Math.floor(D / 65536), Fe = D - $ * 65536, D = xe + $ + 65535, $ = Math.floor(D / 65536), xe = D - $ * 65536, D = le + $ + 65535, $ = Math.floor(D / 65536), le = D - $ * 65536, D = Ce + $ + 65535, $ = Math.floor(D / 65536), Ce = D - $ * 65536, D = ye + $ + 65535, $ = Math.floor(D / 65536), ye = D - $ * 65536, D = Oe + $ + 65535, $ = Math.floor(D / 65536), Oe = D - $ * 65536, D = Re + $ + 65535, $ = Math.floor(D / 65536), Re = D - $ * 65536, D = Ge + $ + 65535, $ = Math.floor(D / 65536), Ge = D - $ * 65536, D = dt + $ + 65535, $ = Math.floor(D / 65536), dt = D - $ * 65536, D = qe + $ + 65535, $ = Math.floor(D / 65536), qe = D - $ * 65536, D = $e + $ + 65535, $ = Math.floor(D / 65536), $e = D - $ * 65536, D = B + $ + 65535, $ = Math.floor(D / 65536), B = D - $ * 65536, D = q + $ + 65535, $ = Math.floor(D / 65536), q = D - $ * 65536, ue += $ - 1 + 37 * ($ - 1), $ = 1, D = ue + $ + 65535, $ = Math.floor(D / 65536), ue = D - $ * 65536, D = ge + $ + 65535, $ = Math.floor(D / 65536), ge = D - $ * 65536, D = oe + $ + 65535, $ = Math.floor(D / 65536), oe = D - $ * 65536, D = Fe + $ + 65535, $ = Math.floor(D / 65536), Fe = D - $ * 65536, D = xe + $ + 65535, $ = Math.floor(D / 65536), xe = D - $ * 65536, D = le + $ + 65535, $ = Math.floor(D / 65536), le = D - $ * 65536, D = Ce + $ + 65535, $ = Math.floor(D / 65536), Ce = D - $ * 65536, D = ye + $ + 65535, $ = Math.floor(D / 65536), ye = D - $ * 65536, D = Oe + $ + 65535, $ = Math.floor(D / 65536), Oe = D - $ * 65536, D = Re + $ + 65535, $ = Math.floor(D / 65536), Re = D - $ * 65536, D = Ge + $ + 65535, $ = Math.floor(D / 65536), Ge = D - $ * 65536, D = dt + $ + 65535, $ = Math.floor(D / 65536), dt = D - $ * 65536, D = qe + $ + 65535, $ = Math.floor(D / 65536), qe = D - $ * 65536, D = $e + $ + 65535, $ = Math.floor(D / 65536), $e = D - $ * 65536, D = B + $ + 65535, $ = Math.floor(D / 65536), B = D - $ * 65536, D = q + $ + 65535, $ = Math.floor(D / 65536), q = D - $ * 65536, ue += $ - 1 + 37 * ($ - 1), X[0] = ue, X[1] = ge, X[2] = oe, X[3] = Fe, X[4] = xe, X[5] = le, X[6] = Ce, X[7] = ye, X[8] = Oe, X[9] = Re, X[10] = Ge, X[11] = dt, X[12] = qe, X[13] = $e, X[14] = B, X[15] = q;
|
230362
230362
|
}
|
230363
|
-
function E(
|
230364
|
-
A(
|
230363
|
+
function E(X, te) {
|
230364
|
+
A(X, te, te);
|
230365
230365
|
}
|
230366
|
-
function j(
|
230366
|
+
function j(X, te) {
|
230367
230367
|
const ne = o();
|
230368
230368
|
let D;
|
230369
230369
|
for (D = 0; D < 16; D++)
|
@@ -230371,9 +230371,9 @@ var Pde = {};
|
|
230371
230371
|
for (D = 253; D >= 0; D--)
|
230372
230372
|
E(ne, ne), D !== 2 && D !== 4 && A(ne, ne, te);
|
230373
230373
|
for (D = 0; D < 16; D++)
|
230374
|
-
|
230374
|
+
X[D] = ne[D];
|
230375
230375
|
}
|
230376
|
-
function R(
|
230376
|
+
function R(X, te) {
|
230377
230377
|
const ne = o();
|
230378
230378
|
let D;
|
230379
230379
|
for (D = 0; D < 16; D++)
|
@@ -230381,54 +230381,54 @@ var Pde = {};
|
|
230381
230381
|
for (D = 250; D >= 0; D--)
|
230382
230382
|
E(ne, ne), D !== 1 && A(ne, ne, te);
|
230383
230383
|
for (D = 0; D < 16; D++)
|
230384
|
-
|
230384
|
+
X[D] = ne[D];
|
230385
230385
|
}
|
230386
|
-
function _(
|
230386
|
+
function _(X, te) {
|
230387
230387
|
const ne = o(), D = o(), $ = o(), ue = o(), ge = o(), oe = o(), Fe = o(), xe = o(), le = o();
|
230388
|
-
C(ne,
|
230388
|
+
C(ne, X[1], X[0]), C(le, te[1], te[0]), A(ne, ne, le), M(D, X[0], X[1]), M(le, te[0], te[1]), A(D, D, le), A($, X[3], te[3]), A($, $, c), A(ue, X[2], te[2]), M(ue, ue, ue), C(ge, D, ne), C(oe, ue, $), M(Fe, ue, $), M(xe, D, ne), A(X[0], ge, oe), A(X[1], xe, Fe), A(X[2], Fe, oe), A(X[3], ge, xe);
|
230389
230389
|
}
|
230390
|
-
function O(
|
230390
|
+
function O(X, te, ne) {
|
230391
230391
|
for (let D = 0; D < 4; D++)
|
230392
|
-
m(
|
230392
|
+
m(X[D], te[D], ne);
|
230393
230393
|
}
|
230394
|
-
function z(
|
230394
|
+
function z(X, te) {
|
230395
230395
|
const ne = o(), D = o(), $ = o();
|
230396
|
-
j($, te[2]), A(ne, te[0], $), A(D, te[1], $), g(
|
230396
|
+
j($, te[2]), A(ne, te[0], $), A(D, te[1], $), g(X, D), X[31] ^= w(ne) << 7;
|
230397
230397
|
}
|
230398
|
-
function T(
|
230399
|
-
h(
|
230398
|
+
function T(X, te, ne) {
|
230399
|
+
h(X[0], a), h(X[1], s), h(X[2], s), h(X[3], a);
|
230400
230400
|
for (let D = 255; D >= 0; --D) {
|
230401
230401
|
const $ = ne[D / 8 | 0] >> (D & 7) & 1;
|
230402
|
-
O(
|
230402
|
+
O(X, te, $), _(te, X), _(X, X), O(X, te, $);
|
230403
230403
|
}
|
230404
230404
|
}
|
230405
|
-
function N(
|
230405
|
+
function N(X, te) {
|
230406
230406
|
const ne = [o(), o(), o(), o()];
|
230407
|
-
h(ne[0], u), h(ne[1], d), h(ne[2], s), A(ne[3], u, d), T(
|
230407
|
+
h(ne[0], u), h(ne[1], d), h(ne[2], s), A(ne[3], u, d), T(X, ne, te);
|
230408
230408
|
}
|
230409
|
-
function V(
|
230410
|
-
if (
|
230409
|
+
function V(X) {
|
230410
|
+
if (X.length !== e.SEED_LENGTH)
|
230411
230411
|
throw new Error(`ed25519: seed must be ${e.SEED_LENGTH} bytes`);
|
230412
|
-
const te = (0, n.hash)(
|
230412
|
+
const te = (0, n.hash)(X);
|
230413
230413
|
te[0] &= 248, te[31] &= 127, te[31] |= 64;
|
230414
230414
|
const ne = new Uint8Array(32), D = [o(), o(), o(), o()];
|
230415
230415
|
N(D, te), z(ne, D);
|
230416
230416
|
const $ = new Uint8Array(64);
|
230417
|
-
return $.set(
|
230417
|
+
return $.set(X), $.set(ne, 32), {
|
230418
230418
|
publicKey: ne,
|
230419
230419
|
secretKey: $
|
230420
230420
|
};
|
230421
230421
|
}
|
230422
230422
|
e.generateKeyPairFromSeed = V;
|
230423
|
-
function I(
|
230424
|
-
const te = (0, t.randomBytes)(32,
|
230423
|
+
function I(X) {
|
230424
|
+
const te = (0, t.randomBytes)(32, X), ne = V(te);
|
230425
230425
|
return (0, r.wipe)(te), ne;
|
230426
230426
|
}
|
230427
230427
|
e.generateKeyPair = I;
|
230428
|
-
function H(
|
230429
|
-
if (
|
230428
|
+
function H(X) {
|
230429
|
+
if (X.length !== e.SECRET_KEY_LENGTH)
|
230430
230430
|
throw new Error(`ed25519: secret key must be ${e.SECRET_KEY_LENGTH} bytes`);
|
230431
|
-
return new Uint8Array(
|
230431
|
+
return new Uint8Array(X.subarray(32));
|
230432
230432
|
}
|
230433
230433
|
e.extractPublicKeyFromSecretKey = H;
|
230434
230434
|
const U = new Float64Array([
|
@@ -230465,7 +230465,7 @@ var Pde = {};
|
|
230465
230465
|
0,
|
230466
230466
|
16
|
230467
230467
|
]);
|
230468
|
-
function K(
|
230468
|
+
function K(X, te) {
|
230469
230469
|
let ne, D, $, ue;
|
230470
230470
|
for (D = 63; D >= 32; --D) {
|
230471
230471
|
for (ne = 0, $ = D - 32, ue = D - 12; $ < ue; ++$)
|
@@ -230477,25 +230477,25 @@ var Pde = {};
|
|
230477
230477
|
for ($ = 0; $ < 32; $++)
|
230478
230478
|
te[$] -= ne * U[$];
|
230479
230479
|
for (D = 0; D < 32; D++)
|
230480
|
-
te[D + 1] += te[D] >> 8,
|
230480
|
+
te[D + 1] += te[D] >> 8, X[D] = te[D] & 255;
|
230481
230481
|
}
|
230482
|
-
function Z(
|
230482
|
+
function Z(X) {
|
230483
230483
|
const te = new Float64Array(64);
|
230484
230484
|
for (let ne = 0; ne < 64; ne++)
|
230485
|
-
te[ne] =
|
230485
|
+
te[ne] = X[ne];
|
230486
230486
|
for (let ne = 0; ne < 64; ne++)
|
230487
|
-
|
230488
|
-
K(
|
230487
|
+
X[ne] = 0;
|
230488
|
+
K(X, te);
|
230489
230489
|
}
|
230490
|
-
function G(
|
230491
|
-
const ne = new Float64Array(64), D = [o(), o(), o(), o()], $ = (0, n.hash)(
|
230490
|
+
function G(X, te) {
|
230491
|
+
const ne = new Float64Array(64), D = [o(), o(), o(), o()], $ = (0, n.hash)(X.subarray(0, 32));
|
230492
230492
|
$[0] &= 248, $[31] &= 127, $[31] |= 64;
|
230493
230493
|
const ue = new Uint8Array(64);
|
230494
230494
|
ue.set($.subarray(32), 32);
|
230495
230495
|
const ge = new n.SHA512();
|
230496
230496
|
ge.update(ue.subarray(32)), ge.update(te);
|
230497
230497
|
const oe = ge.digest();
|
230498
|
-
ge.clean(), Z(oe), N(D, oe), z(ue, D), ge.reset(), ge.update(ue.subarray(0, 32)), ge.update(
|
230498
|
+
ge.clean(), Z(oe), N(D, oe), z(ue, D), ge.reset(), ge.update(ue.subarray(0, 32)), ge.update(X.subarray(32)), ge.update(te);
|
230499
230499
|
const Fe = ge.digest();
|
230500
230500
|
Z(Fe);
|
230501
230501
|
for (let xe = 0; xe < 32; xe++)
|
@@ -230506,25 +230506,25 @@ var Pde = {};
|
|
230506
230506
|
return K(ue.subarray(32), ne), ue;
|
230507
230507
|
}
|
230508
230508
|
e.sign = G;
|
230509
|
-
function ae(
|
230509
|
+
function ae(X, te) {
|
230510
230510
|
const ne = o(), D = o(), $ = o(), ue = o(), ge = o(), oe = o(), Fe = o();
|
230511
|
-
return h(
|
230511
|
+
return h(X[2], s), v(X[1], te), E($, X[1]), A(ue, $, l), C($, $, X[2]), M(ue, X[2], ue), E(ge, ue), E(oe, ge), A(Fe, oe, ge), A(ne, Fe, $), A(ne, ne, ue), R(ne, ne), A(ne, ne, $), A(ne, ne, ue), A(ne, ne, ue), A(X[0], ne, ue), E(D, X[0]), A(D, D, ue), x(D, $) && A(X[0], X[0], f), E(D, X[0]), A(D, D, ue), x(D, $) ? -1 : (w(X[0]) === te[31] >> 7 && C(X[0], a, X[0]), A(X[3], X[0], X[1]), 0);
|
230512
230512
|
}
|
230513
|
-
function se(
|
230513
|
+
function se(X, te, ne) {
|
230514
230514
|
const D = new Uint8Array(32), $ = [o(), o(), o(), o()], ue = [o(), o(), o(), o()];
|
230515
230515
|
if (ne.length !== e.SIGNATURE_LENGTH)
|
230516
230516
|
throw new Error(`ed25519: signature must be ${e.SIGNATURE_LENGTH} bytes`);
|
230517
|
-
if (ae(ue,
|
230517
|
+
if (ae(ue, X))
|
230518
230518
|
return !1;
|
230519
230519
|
const ge = new n.SHA512();
|
230520
|
-
ge.update(ne.subarray(0, 32)), ge.update(
|
230520
|
+
ge.update(ne.subarray(0, 32)), ge.update(X), ge.update(te);
|
230521
230521
|
const oe = ge.digest();
|
230522
230522
|
return Z(oe), T($, ue, oe), N(ue, ne.subarray(32)), _($, ue), z(D, $), !y(ne, D);
|
230523
230523
|
}
|
230524
230524
|
e.verify = se;
|
230525
|
-
function ie(
|
230525
|
+
function ie(X) {
|
230526
230526
|
let te = [o(), o(), o(), o()];
|
230527
|
-
if (ae(te,
|
230527
|
+
if (ae(te, X))
|
230528
230528
|
throw new Error("Ed25519: invalid public key");
|
230529
230529
|
let ne = o(), D = o(), $ = te[1];
|
230530
230530
|
M(ne, s, $), C(D, s, $), j(D, D), A(ne, ne, D);
|
@@ -230532,8 +230532,8 @@ var Pde = {};
|
|
230532
230532
|
return g(ue, ne), ue;
|
230533
230533
|
}
|
230534
230534
|
e.convertPublicKeyToX25519 = ie;
|
230535
|
-
function Q(
|
230536
|
-
const te = (0, n.hash)(
|
230535
|
+
function Q(X) {
|
230536
|
+
const te = (0, n.hash)(X.subarray(0, 32));
|
230537
230537
|
te[0] &= 248, te[31] &= 127, te[31] |= 64;
|
230538
230538
|
const ne = new Uint8Array(te.subarray(0, 32));
|
230539
230539
|
return (0, r.wipe)(te), ne;
|
@@ -231163,7 +231163,7 @@ var Gde = { exports: {} };
|
|
231163
231163
|
}
|
231164
231164
|
return q = U(re, ae[J]), q[1].isNegative() ? q[0].prev() : q[0];
|
231165
231165
|
}, f.prototype.shiftRight = d.prototype.shiftRight = u.prototype.shiftRight;
|
231166
|
-
function
|
231166
|
+
function X(B, q, J) {
|
231167
231167
|
q = qe(q);
|
231168
231168
|
for (var re = B.isNegative(), fe = q.isNegative(), pe = re ? B.not() : B, je = fe ? q.not() : q, Se = 0, ce = 0, Ne = null, Me = null, _e = []; !pe.isZero() || !je.isZero(); )
|
231169
231169
|
Ne = U(pe, ie), Se = Ne[1].toJSNumber(), re && (Se = ie - 1 - Se), Me = U(je, ie), ce = Me[1].toJSNumber(), fe && (ce = ie - 1 - ce), pe = Ne[0], je = Me[0], _e.push(J(Se, ce));
|
@@ -231174,15 +231174,15 @@ var Gde = { exports: {} };
|
|
231174
231174
|
u.prototype.not = function() {
|
231175
231175
|
return this.negate().prev();
|
231176
231176
|
}, f.prototype.not = d.prototype.not = u.prototype.not, u.prototype.and = function(B) {
|
231177
|
-
return
|
231177
|
+
return X(this, B, function(q, J) {
|
231178
231178
|
return q & J;
|
231179
231179
|
});
|
231180
231180
|
}, f.prototype.and = d.prototype.and = u.prototype.and, u.prototype.or = function(B) {
|
231181
|
-
return
|
231181
|
+
return X(this, B, function(q, J) {
|
231182
231182
|
return q | J;
|
231183
231183
|
});
|
231184
231184
|
}, f.prototype.or = d.prototype.or = u.prototype.or, u.prototype.xor = function(B) {
|
231185
|
-
return
|
231185
|
+
return X(this, B, function(q, J) {
|
231186
231186
|
return q ^ J;
|
231187
231187
|
});
|
231188
231188
|
}, f.prototype.xor = d.prototype.xor = u.prototype.xor;
|
@@ -231596,7 +231596,7 @@ const MU = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ", D1n
|
|
231596
231596
|
function $t(e, t) {
|
231597
231597
|
return typeof e == "object" && e != null && t in e;
|
231598
231598
|
}
|
231599
|
-
function
|
231599
|
+
function Mo(e) {
|
231600
231600
|
return typeof e == "object" && e != null;
|
231601
231601
|
}
|
231602
231602
|
function S1n(e) {
|
@@ -231631,7 +231631,7 @@ function L1n(e) {
|
|
231631
231631
|
}
|
231632
231632
|
}
|
231633
231633
|
function N1n(e) {
|
231634
|
-
return
|
231634
|
+
return Mo(e) && $t(e, "major") && typeof e.major == "number" && $t(e, "minor") && typeof e.minor == "number" && $t(e, "patch") && typeof e.patch == "number";
|
231635
231635
|
}
|
231636
231636
|
const I1n = /^0|[1-9]\d*/, O1n = (e) => (t) => {
|
231637
231637
|
const n = t.match(e);
|
@@ -231667,7 +231667,7 @@ function _1n(e, t) {
|
|
231667
231667
|
}
|
231668
231668
|
const Ur = "*", Yde = "/";
|
231669
231669
|
function P1n(e) {
|
231670
|
-
return e === Ur ||
|
231670
|
+
return e === Ur || Mo(e) && $t(e, "namespace") && typeof e.namespace == "string" && $t(e, "segments") && Array.isArray(e.segments) && e.segments.every((t) => typeof t == "string");
|
231671
231671
|
}
|
231672
231672
|
function z1n(e) {
|
231673
231673
|
return e.join(Yde);
|
@@ -231692,7 +231692,7 @@ function V1n(e) {
|
|
231692
231692
|
}
|
231693
231693
|
const KE = ":";
|
231694
231694
|
function q1n(e) {
|
231695
|
-
return
|
231695
|
+
return Mo(e) && $t(e, "scheme") && typeof e.scheme == "string" && $t(e, "hierPart") && (e.hierPart === Ur || typeof e.hierPart == "string");
|
231696
231696
|
}
|
231697
231697
|
function U1n(e) {
|
231698
231698
|
return {
|
@@ -231708,10 +231708,10 @@ function G1n(e) {
|
|
231708
231708
|
return { scheme: t, hierPart: n.join(KE) };
|
231709
231709
|
}
|
231710
231710
|
function Wg(e) {
|
231711
|
-
return
|
231711
|
+
return Mo(e) && $t(e, "with") && q1n(e.with) && $t(e, "can") && P1n(e.can);
|
231712
231712
|
}
|
231713
231713
|
function Jde(e) {
|
231714
|
-
return
|
231714
|
+
return Mo(e) && $t(e, "with") && typeof e.with == "string" && $t(e, "can") && typeof e.can == "string";
|
231715
231715
|
}
|
231716
231716
|
function Z1n(e) {
|
231717
231717
|
return {
|
@@ -231732,24 +231732,24 @@ function K1n(e) {
|
|
231732
231732
|
};
|
231733
231733
|
}
|
231734
231734
|
function MN(e) {
|
231735
|
-
return
|
231735
|
+
return Mo(e) && $t(e, "jwtAlg") && typeof e.jwtAlg == "string" && $t(e, "sign") && typeof e.sign == "function";
|
231736
231736
|
}
|
231737
231737
|
function Y1n(e) {
|
231738
|
-
return
|
231738
|
+
return Mo(e) && $t(e, "alg") && typeof e.alg == "string" && $t(e, "typ") && typeof e.typ == "string" && $t(e, "ucv") && N1n(e.ucv);
|
231739
231739
|
}
|
231740
231740
|
function J1n(e) {
|
231741
|
-
return
|
231741
|
+
return Mo(e) && $t(e, "iss") && typeof e.iss == "string" && $t(e, "aud") && typeof e.aud == "string" && $t(e, "exp") && typeof e.exp == "number" && (!$t(e, "nbf") || typeof e.nbf == "number") && (!$t(e, "nnc") || typeof e.nnc == "string") && $t(e, "att") && Array.isArray(e.att) && e.att.every((t) => Wg(t) || Jde(t)) && (!$t(e, "fct") || Array.isArray(e.fct) && e.fct.every(Mo)) && $t(e, "prf") && Array.isArray(e.prf) && e.prf.every((t) => typeof t == "string");
|
231742
231742
|
}
|
231743
231743
|
const Q1n = { major: 0, minor: 3, patch: 0 };
|
231744
231744
|
function X1n(e) {
|
231745
|
-
return
|
231745
|
+
return Mo(e) && $t(e, "alg") && typeof e.alg == "string" && $t(e, "typ") && typeof e.typ == "string" && $t(e, "uav") && typeof e.uav == "string";
|
231746
231746
|
}
|
231747
231747
|
function edn(e) {
|
231748
|
-
return
|
231748
|
+
return Mo(e) && $t(e, "iss") && typeof e.iss == "string" && $t(e, "aud") && typeof e.aud == "string" && (!$t(e, "nbf") || typeof e.nbf == "number") && $t(e, "exp") && typeof e.exp == "number" && $t(e, "rsc") && (typeof e.rsc == "string" || Mo(e)) && $t(e, "ptc") && typeof e.ptc == "string" && (!$t(e, "prf") || typeof e.prf == "string");
|
231749
231749
|
}
|
231750
231750
|
function tdn(e, t) {
|
231751
231751
|
const n = (o, i) => new Error(`Can't parse UCAN ${o}: ${i}`);
|
231752
|
-
if (!
|
231752
|
+
if (!Mo(e))
|
231753
231753
|
throw n("header", "Invalid format: Expected a record");
|
231754
231754
|
let r = "0.9.1";
|
231755
231755
|
if (!$t(e, "ucv") || typeof e.ucv != "string") {
|
@@ -232383,10 +232383,10 @@ var kdn = function(e, t, n, r) {
|
|
232383
232383
|
});
|
232384
232384
|
};
|
232385
232385
|
function jU(e) {
|
232386
|
-
return
|
232386
|
+
return Mo(e) && $t(e, "issuer") && MN(e.issuer) && $t(e, "audience") && typeof e.audience == "string" && $t(e, "expiration") && typeof e.expiration == "number";
|
232387
232387
|
}
|
232388
232388
|
function Fdn(e) {
|
232389
|
-
return
|
232389
|
+
return Mo(e) && $t(e, "issuer") && MN(e.issuer) && $t(e, "expiration") && typeof e.expiration == "number";
|
232390
232390
|
}
|
232391
232391
|
const Mdn = (e) => class Pa {
|
232392
232392
|
constructor(n, r) {
|
@@ -232458,7 +232458,7 @@ const Mdn = (e) => class Pa {
|
|
232458
232458
|
return new Pa(this.state, Object.assign(Object.assign({}, this.defaultable), { notBefore: n }));
|
232459
232459
|
}
|
232460
232460
|
withFact(n, ...r) {
|
232461
|
-
if (!
|
232461
|
+
if (!Mo(n) || r.some((o) => !Mo(o)))
|
232462
232462
|
throw new TypeError(`Expected fact(s) to be a record, but got ${n}`);
|
232463
232463
|
return new Pa(this.state, Object.assign(Object.assign({}, this.defaultable), { facts: [...this.defaultable.facts, n, ...r] }));
|
232464
232464
|
}
|
@@ -232727,11 +232727,11 @@ const TU = (e, t) => Ade(t, e.subarray(0, t.byteLength)), LU = "did:key:z", NU =
|
|
232727
232727
|
Store: c
|
232728
232728
|
};
|
232729
232729
|
}, Ddn = new Adn([k1n, E1n, F1n, M1n], {}), Sdn = jdn(Ddn), OU = Sdn.build;
|
232730
|
-
var
|
232730
|
+
var fo = [];
|
232731
232731
|
for (var Dk = 0; Dk < 256; ++Dk)
|
232732
|
-
|
232732
|
+
fo.push((Dk + 256).toString(16).slice(1));
|
232733
232733
|
function Tdn(e, t = 0) {
|
232734
|
-
return (
|
232734
|
+
return (fo[e[t + 0]] + fo[e[t + 1]] + fo[e[t + 2]] + fo[e[t + 3]] + "-" + fo[e[t + 4]] + fo[e[t + 5]] + "-" + fo[e[t + 6]] + fo[e[t + 7]] + "-" + fo[e[t + 8]] + fo[e[t + 9]] + "-" + fo[e[t + 10]] + fo[e[t + 11]] + fo[e[t + 12]] + fo[e[t + 13]] + fo[e[t + 14]] + fo[e[t + 15]]).toLowerCase();
|
232735
232735
|
}
|
232736
232736
|
var zy, Ldn = new Uint8Array(16);
|
232737
232737
|
function Ndn() {
|
@@ -233062,8 +233062,8 @@ function Nk(e, t, n, r, o, i, a) {
|
|
233062
233062
|
e[N] = RU(o, V), t[N] = RU(o, V + 4);
|
233063
233063
|
}
|
233064
233064
|
for (let N = 0; N < 80; N++) {
|
233065
|
-
let V = s, I = l, H = c, U = u, K = d, Z = f, G = h, ae = p, se = m, ie = g, Q = y,
|
233066
|
-
if (A = p, E = C, _ = E & 65535, O = E >>> 16, z = A & 65535, T = A >>> 16, A = (d >>> 14 | w << 18) ^ (d >>> 18 | w << 14) ^ (w >>> 9 | d << 23), E = (w >>> 14 | d << 18) ^ (w >>> 18 | d << 14) ^ (d >>> 9 | w << 23), _ += E & 65535, O += E >>> 16, z += A & 65535, T += A >>> 16, A = d & f ^ ~d & h, E = w & v ^ ~w & M, _ += E & 65535, O += E >>> 16, z += A & 65535, T += A >>> 16, A = PU[N * 2], E = PU[N * 2 + 1], _ += E & 65535, O += E >>> 16, z += A & 65535, T += A >>> 16, A = e[N % 16], E = t[N % 16], _ += E & 65535, O += E >>> 16, z += A & 65535, T += A >>> 16, O += _ >>> 16, z += O >>> 16, T += z >>> 16, j = z & 65535 | T << 16, R = _ & 65535 | O << 16, A = j, E = R, _ = E & 65535, O = E >>> 16, z = A & 65535, T = A >>> 16, A = (s >>> 28 | m << 4) ^ (m >>> 2 | s << 30) ^ (m >>> 7 | s << 25), E = (m >>> 28 | s << 4) ^ (s >>> 2 | m << 30) ^ (s >>> 7 | m << 25), _ += E & 65535, O += E >>> 16, z += A & 65535, T += A >>> 16, A = s & l ^ s & c ^ l & c, E = m & g ^ m & y ^ g & y, _ += E & 65535, O += E >>> 16, z += A & 65535, T += A >>> 16, O += _ >>> 16, z += O >>> 16, T += z >>> 16, ae = z & 65535 | T << 16, $ = _ & 65535 | O << 16, A = U, E =
|
233065
|
+
let V = s, I = l, H = c, U = u, K = d, Z = f, G = h, ae = p, se = m, ie = g, Q = y, X = x, te = w, ne = v, D = M, $ = C;
|
233066
|
+
if (A = p, E = C, _ = E & 65535, O = E >>> 16, z = A & 65535, T = A >>> 16, A = (d >>> 14 | w << 18) ^ (d >>> 18 | w << 14) ^ (w >>> 9 | d << 23), E = (w >>> 14 | d << 18) ^ (w >>> 18 | d << 14) ^ (d >>> 9 | w << 23), _ += E & 65535, O += E >>> 16, z += A & 65535, T += A >>> 16, A = d & f ^ ~d & h, E = w & v ^ ~w & M, _ += E & 65535, O += E >>> 16, z += A & 65535, T += A >>> 16, A = PU[N * 2], E = PU[N * 2 + 1], _ += E & 65535, O += E >>> 16, z += A & 65535, T += A >>> 16, A = e[N % 16], E = t[N % 16], _ += E & 65535, O += E >>> 16, z += A & 65535, T += A >>> 16, O += _ >>> 16, z += O >>> 16, T += z >>> 16, j = z & 65535 | T << 16, R = _ & 65535 | O << 16, A = j, E = R, _ = E & 65535, O = E >>> 16, z = A & 65535, T = A >>> 16, A = (s >>> 28 | m << 4) ^ (m >>> 2 | s << 30) ^ (m >>> 7 | s << 25), E = (m >>> 28 | s << 4) ^ (s >>> 2 | m << 30) ^ (s >>> 7 | m << 25), _ += E & 65535, O += E >>> 16, z += A & 65535, T += A >>> 16, A = s & l ^ s & c ^ l & c, E = m & g ^ m & y ^ g & y, _ += E & 65535, O += E >>> 16, z += A & 65535, T += A >>> 16, O += _ >>> 16, z += O >>> 16, T += z >>> 16, ae = z & 65535 | T << 16, $ = _ & 65535 | O << 16, A = U, E = X, _ = E & 65535, O = E >>> 16, z = A & 65535, T = A >>> 16, A = j, E = R, _ += E & 65535, O += E >>> 16, z += A & 65535, T += A >>> 16, O += _ >>> 16, z += O >>> 16, T += z >>> 16, U = z & 65535 | T << 16, X = _ & 65535 | O << 16, l = V, c = I, u = H, d = U, f = K, h = Z, p = G, s = ae, g = se, y = ie, x = Q, w = X, v = te, M = ne, C = D, m = $, N % 16 === 15)
|
233067
233067
|
for (let ue = 0; ue < 16; ue++)
|
233068
233068
|
A = e[ue], E = t[ue], _ = E & 65535, O = E >>> 16, z = A & 65535, T = A >>> 16, A = e[(ue + 9) % 16], E = t[(ue + 9) % 16], _ += E & 65535, O += E >>> 16, z += A & 65535, T += A >>> 16, j = e[(ue + 1) % 16], R = t[(ue + 1) % 16], A = (j >>> 1 | R << 31) ^ (j >>> 8 | R << 24) ^ j >>> 7, E = (R >>> 1 | j << 31) ^ (R >>> 8 | j << 24) ^ (R >>> 7 | j << 25), _ += E & 65535, O += E >>> 16, z += A & 65535, T += A >>> 16, j = e[(ue + 14) % 16], R = t[(ue + 14) % 16], A = (j >>> 19 | R << 13) ^ (R >>> 29 | j << 3) ^ j >>> 6, E = (R >>> 19 | j << 13) ^ (j >>> 29 | R << 3) ^ (R >>> 6 | j << 26), _ += E & 65535, O += E >>> 16, z += A & 65535, T += A >>> 16, O += _ >>> 16, z += O >>> 16, T += z >>> 16, e[ue] = z & 65535 | T << 16, t[ue] = _ & 65535 | O << 16;
|
233069
233069
|
}
|
@@ -233224,8 +233224,8 @@ function qy(e, t, n) {
|
|
233224
233224
|
e[r] = t[r] - n[r];
|
233225
233225
|
}
|
233226
233226
|
function di(e, t, n) {
|
233227
|
-
let r, o, i = 0, a = 0, s = 0, l = 0, c = 0, u = 0, d = 0, f = 0, h = 0, p = 0, m = 0, g = 0, y = 0, x = 0, w = 0, v = 0, M = 0, C = 0, A = 0, E = 0, j = 0, R = 0, _ = 0, O = 0, z = 0, T = 0, N = 0, V = 0, I = 0, H = 0, U = 0, K = n[0], Z = n[1], G = n[2], ae = n[3], se = n[4], ie = n[5], Q = n[6],
|
233228
|
-
r = t[0], i += r * K, a += r * Z, s += r * G, l += r * ae, c += r * se, u += r * ie, d += r * Q, f += r *
|
233227
|
+
let r, o, i = 0, a = 0, s = 0, l = 0, c = 0, u = 0, d = 0, f = 0, h = 0, p = 0, m = 0, g = 0, y = 0, x = 0, w = 0, v = 0, M = 0, C = 0, A = 0, E = 0, j = 0, R = 0, _ = 0, O = 0, z = 0, T = 0, N = 0, V = 0, I = 0, H = 0, U = 0, K = n[0], Z = n[1], G = n[2], ae = n[3], se = n[4], ie = n[5], Q = n[6], X = n[7], te = n[8], ne = n[9], D = n[10], $ = n[11], ue = n[12], ge = n[13], oe = n[14], Fe = n[15];
|
233228
|
+
r = t[0], i += r * K, a += r * Z, s += r * G, l += r * ae, c += r * se, u += r * ie, d += r * Q, f += r * X, h += r * te, p += r * ne, m += r * D, g += r * $, y += r * ue, x += r * ge, w += r * oe, v += r * Fe, r = t[1], a += r * K, s += r * Z, l += r * G, c += r * ae, u += r * se, d += r * ie, f += r * Q, h += r * X, p += r * te, m += r * ne, g += r * D, y += r * $, x += r * ue, w += r * ge, v += r * oe, M += r * Fe, r = t[2], s += r * K, l += r * Z, c += r * G, u += r * ae, d += r * se, f += r * ie, h += r * Q, p += r * X, m += r * te, g += r * ne, y += r * D, x += r * $, w += r * ue, v += r * ge, M += r * oe, C += r * Fe, r = t[3], l += r * K, c += r * Z, u += r * G, d += r * ae, f += r * se, h += r * ie, p += r * Q, m += r * X, g += r * te, y += r * ne, x += r * D, w += r * $, v += r * ue, M += r * ge, C += r * oe, A += r * Fe, r = t[4], c += r * K, u += r * Z, d += r * G, f += r * ae, h += r * se, p += r * ie, m += r * Q, g += r * X, y += r * te, x += r * ne, w += r * D, v += r * $, M += r * ue, C += r * ge, A += r * oe, E += r * Fe, r = t[5], u += r * K, d += r * Z, f += r * G, h += r * ae, p += r * se, m += r * ie, g += r * Q, y += r * X, x += r * te, w += r * ne, v += r * D, M += r * $, C += r * ue, A += r * ge, E += r * oe, j += r * Fe, r = t[6], d += r * K, f += r * Z, h += r * G, p += r * ae, m += r * se, g += r * ie, y += r * Q, x += r * X, w += r * te, v += r * ne, M += r * D, C += r * $, A += r * ue, E += r * ge, j += r * oe, R += r * Fe, r = t[7], f += r * K, h += r * Z, p += r * G, m += r * ae, g += r * se, y += r * ie, x += r * Q, w += r * X, v += r * te, M += r * ne, C += r * D, A += r * $, E += r * ue, j += r * ge, R += r * oe, _ += r * Fe, r = t[8], h += r * K, p += r * Z, m += r * G, g += r * ae, y += r * se, x += r * ie, w += r * Q, v += r * X, M += r * te, C += r * ne, A += r * D, E += r * $, j += r * ue, R += r * ge, _ += r * oe, O += r * Fe, r = t[9], p += r * K, m += r * Z, g += r * G, y += r * ae, x += r * se, w += r * ie, v += r * Q, M += r * X, C += r * te, A += r * ne, E += r * D, j += r * $, R += r * ue, _ += r * ge, O += r * oe, z += r * Fe, r = t[10], m += r * K, g += r * Z, y += r * G, x += r * ae, w += r * se, v += r * ie, M += r * Q, C += r * X, A += r * te, E += r * ne, j += r * D, R += r * $, _ += r * ue, O += r * ge, z += r * oe, T += r * Fe, r = t[11], g += r * K, y += r * Z, x += r * G, w += r * ae, v += r * se, M += r * ie, C += r * Q, A += r * X, E += r * te, j += r * ne, R += r * D, _ += r * $, O += r * ue, z += r * ge, T += r * oe, N += r * Fe, r = t[12], y += r * K, x += r * Z, w += r * G, v += r * ae, M += r * se, C += r * ie, A += r * Q, E += r * X, j += r * te, R += r * ne, _ += r * D, O += r * $, z += r * ue, T += r * ge, N += r * oe, V += r * Fe, r = t[13], x += r * K, w += r * Z, v += r * G, M += r * ae, C += r * se, A += r * ie, E += r * Q, j += r * X, R += r * te, _ += r * ne, O += r * D, z += r * $, T += r * ue, N += r * ge, V += r * oe, I += r * Fe, r = t[14], w += r * K, v += r * Z, M += r * G, C += r * ae, A += r * se, E += r * ie, j += r * Q, R += r * X, _ += r * te, O += r * ne, z += r * D, T += r * $, N += r * ue, V += r * ge, I += r * oe, H += r * Fe, r = t[15], v += r * K, M += r * Z, C += r * G, A += r * ae, E += r * se, j += r * ie, R += r * Q, _ += r * X, O += r * te, z += r * ne, T += r * D, N += r * $, V += r * ue, I += r * ge, H += r * oe, U += r * Fe, i += 38 * M, a += 38 * C, s += 38 * A, l += 38 * E, c += 38 * j, u += 38 * R, d += 38 * _, f += 38 * O, h += 38 * z, p += 38 * T, m += 38 * N, g += 38 * V, y += 38 * I, x += 38 * H, w += 38 * U, o = 1, r = i + o + 65535, o = Math.floor(r / 65536), i = r - o * 65536, r = a + o + 65535, o = Math.floor(r / 65536), a = r - o * 65536, r = s + o + 65535, o = Math.floor(r / 65536), s = r - o * 65536, r = l + o + 65535, o = Math.floor(r / 65536), l = r - o * 65536, r = c + o + 65535, o = Math.floor(r / 65536), c = r - o * 65536, r = u + o + 65535, o = Math.floor(r / 65536), u = r - o * 65536, r = d + o + 65535, o = Math.floor(r / 65536), d = r - o * 65536, r = f + o + 65535, o = Math.floor(r / 65536), f = r - o * 65536, r = h + o + 65535, o = Math.floor(r / 65536), h = r - o * 65536, r = p + o + 65535, o = Math.floor(r / 65536), p = r - o * 65536, r = m + o + 65535, o = Math.floor(r / 65536), m = r - o * 65536, r = g + o + 65535, o = Math.floor(r / 65536), g = r - o * 65536, r = y + o + 65535, o = Math.floor(r / 65536), y = r - o * 65536, r = x + o + 65535, o = Math.floor(r / 65536), x = r - o * 65536, r = w + o + 65535, o = Math.floor(r / 65536), w = r - o * 65536, r = v + o + 65535, o = Math.floor(r / 65536), v = r - o * 65536, i += o - 1 + 37 * (o - 1), o = 1, r = i + o + 65535, o = Math.floor(r / 65536), i = r - o * 65536, r = a + o + 65535, o = Math.floor(r / 65536), a = r - o * 65536, r = s + o + 65535, o = Math.floor(r / 65536), s = r - o * 65536, r = l + o + 65535, o = Math.floor(r / 65536), l = r - o * 65536, r = c + o + 65535, o = Math.floor(r / 65536), c = r - o * 65536, r = u + o + 65535, o = Math.floor(r / 65536), u = r - o * 65536, r = d + o + 65535, o = Math.floor(r / 65536), d = r - o * 65536, r = f + o + 65535, o = Math.floor(r / 65536), f = r - o * 65536, r = h + o + 65535, o = Math.floor(r / 65536), h = r - o * 65536, r = p + o + 65535, o = Math.floor(r / 65536), p = r - o * 65536, r = m + o + 65535, o = Math.floor(r / 65536), m = r - o * 65536, r = g + o + 65535, o = Math.floor(r / 65536), g = r - o * 65536, r = y + o + 65535, o = Math.floor(r / 65536), y = r - o * 65536, r = x + o + 65535, o = Math.floor(r / 65536), x = r - o * 65536, r = w + o + 65535, o = Math.floor(r / 65536), w = r - o * 65536, r = v + o + 65535, o = Math.floor(r / 65536), v = r - o * 65536, i += o - 1 + 37 * (o - 1), e[0] = i, e[1] = a, e[2] = s, e[3] = l, e[4] = c, e[5] = u, e[6] = d, e[7] = f, e[8] = h, e[9] = p, e[10] = m, e[11] = g, e[12] = y, e[13] = x, e[14] = w, e[15] = v;
|
233229
233229
|
}
|
233230
233230
|
function Hdn(e, t) {
|
233231
233231
|
di(e, t, t);
|
@@ -233287,7 +233287,6 @@ class Zdn {
|
|
233287
233287
|
gt(this, "_webSocket", null);
|
233288
233288
|
gt(this, "_websocketServiceDid", "");
|
233289
233289
|
gt(this, "roomId", "");
|
233290
|
-
gt(this, "clientUsername", "");
|
233291
233290
|
gt(this, "roomMembers", []);
|
233292
233291
|
gt(this, "collaborationKeyPair", null);
|
233293
233292
|
gt(this, "ownerKeyPair");
|
@@ -233331,10 +233330,7 @@ class Zdn {
|
|
233331
233330
|
throw new Error(
|
233332
233331
|
"Cannot establish handshake. WebSocket not connected or roomId not defined"
|
233333
233332
|
);
|
233334
|
-
if (!this.clientUsername)
|
233335
|
-
throw new Error("User name is required to establish handshake");
|
233336
233333
|
const n = await this.buildToken(), r = BU(), o = {
|
233337
|
-
username: this.clientUsername,
|
233338
233334
|
collaborationToken: n,
|
233339
233335
|
collaborationDid: (s = this.collaborationKeyPair) == null ? void 0 : s.did(),
|
233340
233336
|
documentId: this.roomId
|
@@ -233525,7 +233521,7 @@ class Zdn {
|
|
233525
233521
|
});
|
233526
233522
|
}
|
233527
233523
|
async init(t) {
|
233528
|
-
this._onConnect = t.onConnect, this._onDisconnection = t.onDisconnect, this._machineEventHandler = t.onWsEvent, this._onError = t.onError, this.roomId = t.roomId,
|
233524
|
+
this._onConnect = t.onConnect, this._onDisconnection = t.onDisconnect, this._machineEventHandler = t.onWsEvent, this._onError = t.onError, this.roomId = t.roomId, await this.connectSocket();
|
233529
233525
|
}
|
233530
233526
|
}
|
233531
233527
|
const $dn = (e, t) => {
|
@@ -233555,24 +233551,24 @@ const $dn = (e, t) => {
|
|
233555
233551
|
isConnected: ((n = e.socketClient) == null ? void 0 : n._webSocketStatus) === Ho.CONNECTED
|
233556
233552
|
};
|
233557
233553
|
}, Jdn = (e, t) => {
|
233558
|
-
if (!t.data.
|
233559
|
-
throw new Error("sync-machine:
|
233554
|
+
if (!t.data.wsUrl)
|
233555
|
+
throw new Error("sync-machine: wss url is not provided");
|
233560
233556
|
if (!t.data.roomKey)
|
233561
233557
|
throw new Error("sync-machine: room key is not provided");
|
233562
233558
|
return {
|
233563
233559
|
socketClient: new Zdn({
|
233564
|
-
wsUrl:
|
233560
|
+
wsUrl: t.data.wsUrl,
|
233565
233561
|
roomKey: t.data.roomKey,
|
233566
233562
|
ownerEdSecret: t.data.ownerEdSecret,
|
233567
233563
|
contractAddress: t.data.contractAddress,
|
233568
233564
|
ownerAddress: t.data.ownerAddress
|
233569
233565
|
}),
|
233570
|
-
username: t.data.username,
|
233571
233566
|
initialUpdate: t.data.initialUpdate,
|
233572
233567
|
roomKey: t.data.roomKey,
|
233573
233568
|
roomId: t.data.roomId,
|
233574
233569
|
isOwner: t.data.isOwner,
|
233575
|
-
isEns: t.data.isEns
|
233570
|
+
isEns: t.data.isEns,
|
233571
|
+
wsUrl: t.data.wsUrl
|
233576
233572
|
};
|
233577
233573
|
}, Qdn = (e, t) => {
|
233578
233574
|
if (!e.ydoc)
|
@@ -233673,12 +233669,22 @@ const $dn = (e, t) => {
|
|
233673
233669
|
var t;
|
233674
233670
|
return console.log("terminating session"), e.isOwner && ((t = e.socketClient) == null || t.terminateSession()), {
|
233675
233671
|
socketClient: null,
|
233672
|
+
roomId: "",
|
233676
233673
|
roomMembers: [],
|
233677
233674
|
isConnected: !1,
|
233678
233675
|
awareness: null,
|
233679
233676
|
_awarenessUpdateHandler: null,
|
233677
|
+
roomKey: "",
|
233678
|
+
wsUrl: "",
|
233680
233679
|
uncommittedUpdatesIdList: [],
|
233681
|
-
updateQueue: []
|
233680
|
+
updateQueue: [],
|
233681
|
+
isOwner: !1,
|
233682
|
+
isReady: !1,
|
233683
|
+
isNewDoc: !1,
|
233684
|
+
contentTobeAppliedQueue: [],
|
233685
|
+
initialUpdate: null,
|
233686
|
+
errorCount: 0,
|
233687
|
+
errorMessage: ""
|
233682
233688
|
};
|
233683
233689
|
}, F0n = {
|
233684
233690
|
resetState: Rn(e0n),
|
@@ -233750,21 +233756,20 @@ async function M0n(e) {
|
|
233750
233756
|
}
|
233751
233757
|
const C0n = {
|
233752
233758
|
connectSocket: (e) => async (t) => {
|
233753
|
-
const { socketClient: n, roomId: r,
|
233759
|
+
const { socketClient: n, roomId: r, onError: o } = e;
|
233754
233760
|
if (!n)
|
233755
233761
|
throw new Error("WebSocket has not been initialized");
|
233756
233762
|
await n.init({
|
233757
233763
|
roomId: r,
|
233758
|
-
username: o,
|
233759
233764
|
onConnect: () => t({ type: "SYNC_LATEST_COMMIT", data: null }),
|
233760
233765
|
onDisconnect: () => t({ type: "DISCONNECTED", data: null }),
|
233761
|
-
onWsEvent: (
|
233762
|
-
if (!(
|
233766
|
+
onWsEvent: (i) => {
|
233767
|
+
if (!(i != null && i.event_type))
|
233763
233768
|
throw new Error("Message is not an event");
|
233764
|
-
t({ type:
|
233769
|
+
t({ type: i.event_type, data: i });
|
233765
233770
|
},
|
233766
|
-
onError: (
|
233767
|
-
console.log("error triggered by socket onError"), t({ type: "DISCONNECT", data: { error: "Network error" } }),
|
233771
|
+
onError: (i) => {
|
233772
|
+
console.log("error triggered by socket onError"), t({ type: "DISCONNECT", data: { error: "Network error" } }), o == null || o(i);
|
233768
233773
|
}
|
233769
233774
|
});
|
233770
233775
|
},
|
@@ -233900,11 +233905,10 @@ const C0n = {
|
|
233900
233905
|
hasMoreUpdates: (e) => e.updateQueue.length > 0,
|
233901
233906
|
isOwner: (e) => e.isOwner,
|
233902
233907
|
errorIsLessThanRetryCount: (e) => e.errorCount <= e.errorMaxRetryCount,
|
233903
|
-
shouldRetryConnection: (e) => !!(e.
|
233908
|
+
shouldRetryConnection: (e) => !!(e.roomId && e.socketClient && e.errorCount <= e.errorMaxRetryCount),
|
233904
233909
|
shouldRefetchCommit: (e) => !!(e.isConnected && e.errorCount <= e.errorMaxRetryCount)
|
233905
233910
|
}, A0n = Ysn(
|
233906
233911
|
{
|
233907
|
-
/** @xstate-layout N4IgpgJg5mDOIC5QDMCWAbMA3MAnWYAtLAJ4B2AxoQLYCGFAFqmWAMQDKAogHIAiA+gFUACrwCCAFU4BtAAwBdRKAAOAe1ioALqlVklIAB6IA7MYA0IEogCMAFgCcAJgB0943ccA2WwGZZAVmN7ewBfEIs0TBx8IlJKGnomFg4eARFxKWlrRSQQNQ1tXX0jBGtPAA5ZZ1tZT0dyzzq3WVlHCysERwDna386-1l7Vp8fW1tHMIiMbDwCYnIqOkZmNgAlAHl1gFl+Lc4tgCFOVfYACQBJYX4AYVOxbgBxGQV9fK0dPVySsqDnRsqvI4-OV-PZbO0bLJys5AuVrI5-LZ-NYfo5rJMQJEZjF5vElkk2Nd1twpCShKJJM8cip1O8il8TOZLDZ-OV7DCHP5keU4cZbMYMVjonM4otEitWESSTwJOSMjJsq9aYVPqBvo1bDDEXzBuVjP4fAaIaUJuFMdNhbEFgllsl2ABNbjXfgAGUp7FlRK2W3OEjk1Lyyo+xUZxrRgz+jWMhr8xlkDh8gotsytePFyV453YUu4nGufpeuTeKpDCFMxp87mcQN8TihtWswyTURTuLFtrYYgA6mJVjxOOx2HLKf6lQVgwzSu4XD56mUfPZeqywRWgdDZHzEX1l45bM3sSLrfiJeduL7+N3e-3B6Oi0H6WqbMZHMZq54+g1fPDHPZPBW7NY1S-uMrQbvqniJmaQqtqKNoEs4yi4KoFBwBoZBQCkfDDpkhY0uOD6GDYC6vr4QLeLUXIIm0zIIOUCJ-IaSLlAuv5wv4+6Wm2cErAhSEobAaEYdcLqcL2QhOtsPpSGkFJSOwt54XSqqEaUoyao09QtNYbJdC+xrPuyATRrOYIgnYe5QcmOKwceLC8chqHMEJxKkrK6Qjrhgb4cp3w+Hq1aVLIjb1GRYzGhBLj8nWfJuKMAqWS21lHumYD2fxgnOAArsoEC0No6GsBAuipcwWCqAA1qliEOQJ3BgAYmiCDleVgApXlKaW9hcn8fRotYQSGgif40dYPiNs4rSeI29gmfyHEwclHZpY56FZc1+UYUVdmlRVVV8ahdUNU1uWaK1ip3t5pbctWBoNHR9RIv1xoovCzg+J49jlOMniDPqfTzUlaZLdV6VOWtJ1OYVxXODtlXLbV9WNetrWOAGxYTo+pSVIB7iDFCjgIlC2nPQMnjVO4IEE7IIy9ADh5A-BIMrVA4N5ZDW0lWQZVw0zCNHcj0g+Gj94+TYdE49N+OE3C5TPUFVTGB9IL+LufQBBZUyJfT7aM-tAlg9lEMFXgSG4Ah6B5cgqi4NQ8OwIdSMna1nnowRJQDJqXhq8EdRdD8xrBBLhrMYrRnPnTqY6zxvMZYbbPG7gpvm5b1u2zHDvHS1WTC5dk7aUFzi40M90DDLcusm+n1IjGH0qxHXG2XtNUZRQqjUNQWgbVD21c7tdvXG3HeaG1ruiwgXX+D1dQogNKt9M9gIwl4KJOGifmtPXNkpXbYOt+3nfs9DsNN+lA-78P52KSWefY4Xksl0Tssje9mrY42G7WHWoQJQekfcXZMdd6DwPgVDmMNe48z1rAM+Q9pCozHB1G+KI754wfmXEaXh2Rvy6AMPwP5IKa1-g3begDVp7yHl3E21tk6aCtjbfuwDh4uxFqWUaXQYR1DGBuGath4TghGgBCan8QStB9gMU0hDOJb2BlAoB59KGJ2ocoC2tDU4MPPtnBB19MbaWQUXKWpdibP36m9IKKIGwvScJvRa8EICoFgK3MgLAKCnQgJKYkuZ8wjxYTfMaKDi4E0MU-DoitXxfQgl1DcjQ7AEPNFrP+jdnCOOcQopOyiU70OSWAFx7BkKVSYTnRBmMXx+IRMRHkAQurDQ6O+V8Y0qKVkpoiaxDMeJZJcZDKhZt0mqMyboFJuSKD5M0RdIpKkgTPjesiWwep9S6msMaSoJEKiBRrgMdEP8pE2J4qKJy-AVFwE0PwchWhMIyXlN43OOivCai5PyB6tQwQrhGr+KozEGh2B+sZKELSo52V2ehfZLVYBHJOZodx0oyTuRwoU7RKk+FVACFLUwo19T8I6Npbwb54xsl6FNCCGs4lEOkfBAFUAgWnRBccxhzhkBgE0LaclyAkLUH4KgZQyBYDd05tzVKooXTAs0DArQAAxFl5wOWwEuWMkoQRAJ4vqIaIIYxqmIAma+amC4CY-jYWMX5-8+ULD2QcqlYLaX0sZfwZlbc2WSu5eA3lzh+WCuFZoMVbcJWcpGVfDGKk5U9F6sxQIYJbCqs6Ci1wQQylrz1BBfViSyUUsOdS8+5qGVJCZSy21nLWBdJoXQ22zrKVCsYe66gnqpXMKuX6xcAa6hBuVaGsM8IyaLk8NGH2913zxu3omk1oKaV0vTXs61rL2U5rzT0gtTqFgCuLa6stFbvXtThSUNEP1XBTWpqG2cSIEQVgbK4YCfhBi-kaD2pafbBUpqHkkxhG19nIVoOgalZBTpvq5WA4+d7z4uifegAeb6wAfulautV-Uqi-kbKMCKe7-BhlJtWAmwQvDRh5NGC9pKjWAv7TerQP6KHGv-a+99mhP1HwgalMFf6KDPsA6RqVl8V2+rXRBzd0Gd2q33TRQEZM9ROGRCrPw74JFEq2a0-52HyW4bNWCh96BiOOIY7mxR3SVHTuo-++jwGyOgZYzYf4PRvAATVtNMMhoqgLhmbBpwbh2KbIWhJw1lBjXXtk-eojtGX1KZ01yyd6m1Gaa89pkDTHR6lnXZBrdMHd1zzDO2zUlYnC8IgiiLksToKAz+c5igrni14c0ARkB0nFO6GU8JUSqxxJeikpwc57o9NuyIq0AK8IRFokVWGgmdFC5jAaDNJwbFCWZe1gamdLmcNuZpX20rQGP32u-QAIyQrQCAtGQU0bo2V3zjWx5okqOx7dsG4s8b1D4ao2l6lmLohlqyo2E1SaTaa6bj2FNeZI75hblHnDLdUKt9bmhNsAe26F2F+nOj50OzFrj8GeNnqPd4BwPJRgNEwzs17U3U0zfez5+b-mMm21+-92gG2tMg901WmVBmKhGd4bw0zgwwxxk1AEFEVMq6K1u-E4hl6Mf5bNdj59H28eqfzWoona2SeA7J3N3TYWfHFLY1Bo7sXuMdD8HYIC3gWKLkCJ4NHdl2muK+466IqBkAkEAykj47BNBZ0p2BhANR2Rex+j7Km-sRpxnZKRQ0sVeh8i58S7Zhv+nZON1+77ZuLdW-Dzbu3p1l3hcnC+AYrXhOfy5HUMNAfzuMV3NGPkH0kQG6o2HlxkBWCZmzB4vMBYwdNc6IHHoepQRDFGHPHPfJbmNhmWMJ5DR7OSMc9l5wdiHHl67pHx14+jeDOGQ78Hl2JaoMCY-Y0gmJo1kRJUKaA2whmjIKoCAcB9AjYSSlLR4OfzGkIPqGELQgqBBfI2BoQfxOj9IVAK-jekRk1d6er7EFO2gHPGNWKNKyH5KXNZqXjvKtHHBtD-mPAaIBIFPqMxF0H7j4AvH5FvlunYMuKMLAV-kVpoIgaMo7qNBus+MvI8t4ATDnl4GTO2luouDMnRKjg5llmNrPpPpAEgaWOWDRCrK2nKjLNrt4PFMPtwYkkbk5AISnkFLcuMGyD9PTnyEyCEj1qxMYHRKCPCNTOULAVevzowgoZjLOK+AqlFJ9ErMEmqtTD7j8DUAEF9J9MYXzsmmakOpaqOtmvABQeDpWJPNYUELYZ9PYRDt1Ijm-tuMEM0lwfdr2p4c9qmnJp5kLrjmRuYfClRLTo2KCANHUOZl9G9MhqZLWMxB4RNtJpjreoLt5uTgET6o3vCCrPkZUkUdRB0CUq+G4AJu9DNGUBstIUkUtEbvwYEY3giF1C3orKhkCD+DyM9B9IZAUbUATH5AZLAbwU4nHuhDkSULOC1qCH5LXDTFngvLMRrqIsGr0F4AfiEEAA */
|
233908
233912
|
id: "fileverse-sync-machine",
|
233909
233913
|
schema: {
|
233910
233914
|
context: {},
|
@@ -233951,7 +233955,8 @@ const C0n = {
|
|
233951
233955
|
actions: "initializeAwareness"
|
233952
233956
|
},
|
233953
233957
|
TERMINATE_SESSION: {
|
233954
|
-
actions: "terminateSession"
|
233958
|
+
actions: "terminateSession",
|
233959
|
+
target: "disconnected"
|
233955
233960
|
}
|
233956
233961
|
},
|
233957
233962
|
states: {
|
@@ -234484,7 +234489,8 @@ const U0n = (e) => e.context, W0n = (e) => {
|
|
234484
234489
|
}
|
234485
234490
|
});
|
234486
234491
|
},
|
234487
|
-
|
234492
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
234493
|
+
[n, e.ydoc !== void 0]
|
234488
234494
|
), l = Pe(() => {
|
234489
234495
|
n({
|
234490
234496
|
type: "DISCONNECT",
|
@@ -234586,11 +234592,9 @@ const U0n = (e) => e.context, W0n = (e) => {
|
|
234586
234592
|
context: V,
|
234587
234593
|
terminateSession: I
|
234588
234594
|
} = W0n({
|
234589
|
-
roomId: O == null ? void 0 : O.collaborationId,
|
234590
234595
|
onError: l,
|
234591
|
-
wsUrl: "https://dev-collaboration-server-ff60826701cd.herokuapp.com/",
|
234592
234596
|
ydoc: z
|
234593
|
-
}), H = jt(() => n
|
234597
|
+
}), H = jt(() => n, [n]), [U, K] = Le(null), Z = Xe(null), G = (ke) => {
|
234594
234598
|
if (!Z.current) return;
|
234595
234599
|
const Ee = Z.current.querySelector(`input#${ke}`);
|
234596
234600
|
Ee && Ee.scrollIntoView({
|
@@ -234602,7 +234606,7 @@ const U0n = (e) => e.context, W0n = (e) => {
|
|
234602
234606
|
ze(() => {
|
234603
234607
|
U && G(U);
|
234604
234608
|
}, [U]);
|
234605
|
-
const [ae, se] = Le([]), ie = j !== void 0 && _, [Q,
|
234609
|
+
const [ae, se] = Le([]), ie = j !== void 0 && _, [Q, X] = Le([
|
234606
234610
|
...p1e({
|
234607
234611
|
onError: (ke) => l == null ? void 0 : l(ke),
|
234608
234612
|
ipfsImageUploadFn: d,
|
@@ -234631,14 +234635,14 @@ const U0n = (e) => e.context, W0n = (e) => {
|
|
234631
234635
|
...M ? Object.values(M) : []
|
234632
234636
|
]);
|
234633
234637
|
ze(() => {
|
234634
|
-
|
234638
|
+
X((ke) => [
|
234635
234639
|
...ke.filter((Ee) => Ee.name !== "table"),
|
234636
234640
|
oce.configure({
|
234637
234641
|
resizable: !e
|
234638
234642
|
})
|
234639
234643
|
]);
|
234640
234644
|
}, [e]), ze(() => {
|
234641
|
-
E &&
|
234645
|
+
E && X((ke) => [
|
234642
234646
|
...ke.filter((Ee) => Ee.name !== "slash-command"),
|
234643
234647
|
lk(
|
234644
234648
|
(Ee) => l == null ? void 0 : l(Ee),
|
@@ -234723,7 +234727,7 @@ const U0n = (e) => e.context, W0n = (e) => {
|
|
234723
234727
|
},
|
234724
234728
|
[xe, x]
|
234725
234729
|
);
|
234726
|
-
ze(() => (w != null && w.TableOfContents && !Q.some((ke) => ke.name === "tableOfContents") &&
|
234730
|
+
ze(() => (w != null && w.TableOfContents && !Q.some((ke) => ke.name === "tableOfContents") && X([
|
234727
234731
|
...Q.filter((ke) => ke.name !== "tableOfContents"),
|
234728
234732
|
w.TableOfContents.configure({
|
234729
234733
|
getIndex: w.getHierarchicalIndexes,
|
@@ -234738,7 +234742,7 @@ const U0n = (e) => e.context, W0n = (e) => {
|
|
234738
234742
|
]), () => {
|
234739
234743
|
le.current && clearTimeout(le.current);
|
234740
234744
|
}), [w, Q]), ze(() => {
|
234741
|
-
j &&
|
234745
|
+
j && X([
|
234742
234746
|
...Q.filter(
|
234743
234747
|
(ke) => ke.name !== "aiAutocomplete" && ke.name !== "aiWriter" && ke.name !== "dBlock" && ke.name !== "slash-command"
|
234744
234748
|
),
|
@@ -234770,7 +234774,7 @@ const U0n = (e) => e.context, W0n = (e) => {
|
|
234770
234774
|
const Oe = Xe(() => {
|
234771
234775
|
});
|
234772
234776
|
ze(() => !N || !n || !V || !O ? void 0 : ((async () => {
|
234773
|
-
|
234777
|
+
X([
|
234774
234778
|
...Q.filter((Ee) => Ee.name !== "history"),
|
234775
234779
|
PUt.configure({
|
234776
234780
|
provider: V,
|
@@ -234783,7 +234787,7 @@ const U0n = (e) => e.context, W0n = (e) => {
|
|
234783
234787
|
})
|
234784
234788
|
]);
|
234785
234789
|
})(), Oe.current = () => {
|
234786
|
-
z.destroy();
|
234790
|
+
z.destroy(), X([...Q]);
|
234787
234791
|
}, () => {
|
234788
234792
|
Oe.current();
|
234789
234793
|
}), [N, n, O == null ? void 0 : O.collaborationId]);
|
@@ -234876,8 +234880,8 @@ const U0n = (e) => e.context, W0n = (e) => {
|
|
234876
234880
|
}, [t, ye, z]);
|
234877
234881
|
const Se = Pe(
|
234878
234882
|
async (ke, Ee) => {
|
234879
|
-
if (!(O != null && O.
|
234880
|
-
throw new Error("Cannot start collaboration without a
|
234883
|
+
if (!(O != null && O.wsUrl))
|
234884
|
+
throw new Error("Cannot start collaboration without a wss url");
|
234881
234885
|
let Ie = O == null ? void 0 : O.username, Ue = !1;
|
234882
234886
|
if (r && s) {
|
234883
234887
|
const { name: nt, isEns: it } = await loe(
|
@@ -234894,7 +234898,8 @@ const U0n = (e) => e.context, W0n = (e) => {
|
|
234894
234898
|
ownerEdSecret: O == null ? void 0 : O.ownerEdSecret,
|
234895
234899
|
contractAddress: O == null ? void 0 : O.contractAddress,
|
234896
234900
|
ownerAddress: O == null ? void 0 : O.ownerAddress,
|
234897
|
-
isEns: Ue
|
234901
|
+
isEns: Ue,
|
234902
|
+
wsUrl: O.wsUrl
|
234898
234903
|
});
|
234899
234904
|
},
|
234900
234905
|
[O == null ? void 0 : O.collaborationId]
|
@@ -235836,8 +235841,8 @@ const sfn = ({
|
|
235836
235841
|
se.innerHTML = ae;
|
235837
235842
|
const ie = [];
|
235838
235843
|
let Q = [];
|
235839
|
-
if (se.childNodes.forEach((
|
235840
|
-
if (
|
235844
|
+
if (se.childNodes.forEach((X) => {
|
235845
|
+
if (X instanceof HTMLElement && X.getAttribute("data-type") === "page-break" && X.getAttribute("data-page-break") === "true") {
|
235841
235846
|
if (Q.length > 0) {
|
235842
235847
|
const te = document.createElement("div");
|
235843
235848
|
Q.forEach(
|
@@ -235845,14 +235850,14 @@ const sfn = ({
|
|
235845
235850
|
), ie.push(te.innerHTML), Q = [];
|
235846
235851
|
}
|
235847
235852
|
} else
|
235848
|
-
Q.push(
|
235853
|
+
Q.push(X.cloneNode(!0));
|
235849
235854
|
}), Q.length > 0) {
|
235850
|
-
const
|
235855
|
+
const X = document.createElement("div");
|
235851
235856
|
Q.forEach(
|
235852
|
-
(te) =>
|
235853
|
-
), ie.push(
|
235857
|
+
(te) => X.appendChild(te.cloneNode(!0))
|
235858
|
+
), ie.push(X.innerHTML);
|
235854
235859
|
}
|
235855
|
-
d(ie.filter((
|
235860
|
+
d(ie.filter((X) => X.trim().length > 0)), M(!1);
|
235856
235861
|
}, [s, e.state.doc]);
|
235857
235862
|
ze(() => {
|
235858
235863
|
N();
|
@@ -236910,7 +236915,7 @@ const nW = Ae.memo(u0e), mfn = ({
|
|
236910
236915
|
editorCanvasClassNames: se,
|
236911
236916
|
sharedSlidesLink: ie,
|
236912
236917
|
documentName: Q,
|
236913
|
-
onInvalidContentError:
|
236918
|
+
onInvalidContentError: X,
|
236914
236919
|
ignoreCorruptedData: te,
|
236915
236920
|
commentDrawerOpen: ne,
|
236916
236921
|
setCommentDrawerOpen: D,
|
@@ -236974,7 +236979,7 @@ const nW = Ae.memo(u0e), mfn = ({
|
|
236974
236979
|
setSlides: gn,
|
236975
236980
|
tocItems: Rt,
|
236976
236981
|
setTocItems: ar,
|
236977
|
-
terminateSession:
|
236982
|
+
terminateSession: Eo
|
236978
236983
|
} = a0e({
|
236979
236984
|
ipfsImageFetchFn: ce,
|
236980
236985
|
enableIndexeddbSync: _,
|
@@ -236992,7 +236997,7 @@ const nW = Ae.memo(u0e), mfn = ({
|
|
236992
236997
|
setWordCount: w,
|
236993
236998
|
ipfsImageUploadFn: m,
|
236994
236999
|
zoomLevel: z,
|
236995
|
-
onInvalidContentError:
|
237000
|
+
onInvalidContentError: X,
|
236996
237001
|
ignoreCorruptedData: te,
|
236997
237002
|
isPresentationMode: N,
|
236998
237003
|
metadataProxyUrl: re,
|
@@ -237047,7 +237052,10 @@ const nW = Ae.memo(u0e), mfn = ({
|
|
237047
237052
|
});
|
237048
237053
|
},
|
237049
237054
|
updateCollaboratorName: (bn) => {
|
237050
|
-
if (!We)
|
237055
|
+
if (!We) {
|
237056
|
+
console.debug("collab: cannot find editor");
|
237057
|
+
return;
|
237058
|
+
}
|
237051
237059
|
const cn = We.storage.collaborationCursor.users.find(
|
237052
237060
|
(er) => (er == null ? void 0 : er.clientId) === ct.clientID
|
237053
237061
|
), Wt = {
|
@@ -237055,9 +237063,10 @@ const nW = Ae.memo(u0e), mfn = ({
|
|
237055
237063
|
};
|
237056
237064
|
cn && (Wt.color = cn.color, Wt.isEns = cn.isEns), We.commands.updateUser(Wt);
|
237057
237065
|
},
|
237058
|
-
terminateSession:
|
237066
|
+
terminateSession: Eo
|
237059
237067
|
}),
|
237060
|
-
|
237068
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
237069
|
+
[We, ct]
|
237061
237070
|
);
|
237062
237071
|
const _a = (bn) => {
|
237063
237072
|
C == null || C((cn) => {
|
@@ -237997,6 +238006,6 @@ export {
|
|
237997
238006
|
qte as h,
|
237998
238007
|
bS as i,
|
237999
238008
|
ure as l,
|
238000
|
-
|
238009
|
+
ko as s,
|
238001
238010
|
vhn as u
|
238002
238011
|
};
|