@dxos/shell 0.4.10-main.b9b4602 → 0.4.10-main.bf8d896
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/bundle/{index-DRtLjStG.mjs → index-Bo0z_Ho6.mjs} +892 -836
- package/dist/bundle/{index-DRtLjStG.mjs.map → index-Bo0z_Ho6.mjs.map} +1 -1
- package/dist/bundle/{index-D-K0uxrm.mjs → index-DvJ62Z2G.mjs} +2 -2
- package/dist/bundle/{index-D-K0uxrm.mjs.map → index-DvJ62Z2G.mjs.map} +1 -1
- package/dist/bundle/shell.mjs +1 -1
- package/dist/bundle/shell.umd.js +25 -25
- package/dist/bundle/shell.umd.js.map +1 -1
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/react.mjs +33 -31
- package/dist/lib/browser/react.mjs.map +3 -3
- package/dist/types/src/components/InvitationList/InvitationListItem.js +5 -5
- package/dist/types/src/components/InvitationList/InvitationListItem.js.map +1 -1
- package/dist/types/src/panels/IdentityPanel/useAgentHandlers.d.ts.map +1 -1
- package/dist/types/src/panels/IdentityPanel/useAgentHandlers.js +5 -1
- package/dist/types/src/panels/IdentityPanel/useAgentHandlers.js.map +1 -1
- package/dist/types/src/panels/SpacePanel/steps/SpaceManager.d.ts.map +1 -1
- package/dist/types/src/panels/SpacePanel/steps/SpaceManager.js +3 -1
- package/dist/types/src/panels/SpacePanel/steps/SpaceManager.js.map +1 -1
- package/dist/types/src/steps/InvitationManager.d.ts +1 -1
- package/dist/types/src/steps/InvitationManager.d.ts.map +1 -1
- package/dist/types/src/steps/InvitationManager.js +3 -4
- package/dist/types/src/steps/InvitationManager.js.map +1 -1
- package/package.json +20 -19
- package/src/components/InvitationList/InvitationListItem.tsx +5 -5
- package/src/panels/IdentityPanel/useAgentHandlers.ts +5 -1
- package/src/panels/SpacePanel/steps/SpaceManager.tsx +3 -1
- package/src/steps/InvitationManager.tsx +4 -4
|
@@ -1683,8 +1683,8 @@ var checkedLoadedFor = {}, Translator = function($) {
|
|
|
1683
1683
|
Ue.push(He[Ie]);
|
|
1684
1684
|
else
|
|
1685
1685
|
this.options.saveMissingTo === "all" ? Ue = this.languageUtils.toResolveHierarchy(K.lng || this.language) : Ue.push(K.lng || this.language);
|
|
1686
|
-
var Re = function(be, ye,
|
|
1687
|
-
var Ye = at &&
|
|
1686
|
+
var Re = function(be, ye, Me) {
|
|
1687
|
+
var Ye = at && Me !== ce ? Me : qe;
|
|
1688
1688
|
J.options.missingKeyHandler ? J.options.missingKeyHandler(be, re, ye, Ye, nt, K) : J.backendConnector && J.backendConnector.saveMissing && J.backendConnector.saveMissing(be, re, ye, Ye, nt, K), J.emit("missingKey", be, re, ye, ce);
|
|
1689
1689
|
};
|
|
1690
1690
|
this.options.saveMissing && (this.options.saveMissingPlurals && lt ? Ue.forEach(function(Te) {
|
|
@@ -6241,7 +6241,7 @@ const $cf1ac5d9fe0e8206$var$POPPER_NAME$1 = "Popper", [$cf1ac5d9fe0e8206$var$cre
|
|
|
6241
6241
|
mt,
|
|
6242
6242
|
Re
|
|
6243
6243
|
]);
|
|
6244
|
-
const Te = (G = Ue.arrow) === null || G === void 0 ? void 0 : G.x, be = (K = Ue.arrow) === null || K === void 0 ? void 0 : K.y, ye = ((Y = Ue.arrow) === null || Y === void 0 ? void 0 : Y.centerOffset) !== 0, [
|
|
6244
|
+
const Te = (G = Ue.arrow) === null || G === void 0 ? void 0 : G.x, be = (K = Ue.arrow) === null || K === void 0 ? void 0 : K.y, ye = ((Y = Ue.arrow) === null || Y === void 0 ? void 0 : Y.centerOffset) !== 0, [Me, Ye] = useState();
|
|
6245
6245
|
return $9f79659886946c16$export$e5c5a5f917a5871c(() => {
|
|
6246
6246
|
$e && Ye(window.getComputedStyle($e).zIndex);
|
|
6247
6247
|
}, [
|
|
@@ -6254,7 +6254,7 @@ const $cf1ac5d9fe0e8206$var$POPPER_NAME$1 = "Popper", [$cf1ac5d9fe0e8206$var$cre
|
|
|
6254
6254
|
transform: mt ? qe.transform : "translate(0, -200%)",
|
|
6255
6255
|
// keep off the page when measuring
|
|
6256
6256
|
minWidth: "max-content",
|
|
6257
|
-
zIndex:
|
|
6257
|
+
zIndex: Me,
|
|
6258
6258
|
"--radix-popper-transform-origin": [
|
|
6259
6259
|
(J = Ue.transformOrigin) === null || J === void 0 ? void 0 : J.x,
|
|
6260
6260
|
(Z = Ue.transformOrigin) === null || Z === void 0 ? void 0 : Z.y
|
|
@@ -7658,8 +7658,8 @@ function requireReactJsxRuntime_development() {
|
|
|
7658
7658
|
{
|
|
7659
7659
|
var Et = le.ReactDebugCurrentFrame, Rt = Et.getStackAddendum();
|
|
7660
7660
|
Rt !== "" && (ot += "%s", dt = dt.concat([Rt]));
|
|
7661
|
-
var Bt = dt.map(function(
|
|
7662
|
-
return String(
|
|
7661
|
+
var Bt = dt.map(function(Mt) {
|
|
7662
|
+
return String(Mt);
|
|
7663
7663
|
});
|
|
7664
7664
|
Bt.unshift("Warning: " + ot), Function.prototype.apply.call(console[Ne], console, Bt);
|
|
7665
7665
|
}
|
|
@@ -7718,9 +7718,9 @@ function requireReactJsxRuntime_development() {
|
|
|
7718
7718
|
var Et = Ne.displayName || null;
|
|
7719
7719
|
return Et !== null ? Et : Be(Ne.type) || "Memo";
|
|
7720
7720
|
case ne: {
|
|
7721
|
-
var Rt = Ne, Bt = Rt._payload,
|
|
7721
|
+
var Rt = Ne, Bt = Rt._payload, Mt = Rt._init;
|
|
7722
7722
|
try {
|
|
7723
|
-
return Be(
|
|
7723
|
+
return Be(Mt(Bt));
|
|
7724
7724
|
} catch {
|
|
7725
7725
|
return null;
|
|
7726
7726
|
}
|
|
@@ -7825,27 +7825,27 @@ function requireReactJsxRuntime_development() {
|
|
|
7825
7825
|
Bt = Ue.current, Ue.current = null, nt();
|
|
7826
7826
|
try {
|
|
7827
7827
|
if (ot) {
|
|
7828
|
-
var
|
|
7828
|
+
var Mt = function() {
|
|
7829
7829
|
throw Error();
|
|
7830
7830
|
};
|
|
7831
|
-
if (Object.defineProperty(
|
|
7831
|
+
if (Object.defineProperty(Mt.prototype, "props", {
|
|
7832
7832
|
set: function() {
|
|
7833
7833
|
throw Error();
|
|
7834
7834
|
}
|
|
7835
7835
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
7836
7836
|
try {
|
|
7837
|
-
Reflect.construct(
|
|
7837
|
+
Reflect.construct(Mt, []);
|
|
7838
7838
|
} catch (dn) {
|
|
7839
7839
|
Et = dn;
|
|
7840
7840
|
}
|
|
7841
|
-
Reflect.construct(Ne, [],
|
|
7841
|
+
Reflect.construct(Ne, [], Mt);
|
|
7842
7842
|
} else {
|
|
7843
7843
|
try {
|
|
7844
|
-
|
|
7844
|
+
Mt.call();
|
|
7845
7845
|
} catch (dn) {
|
|
7846
7846
|
Et = dn;
|
|
7847
7847
|
}
|
|
7848
|
-
Ne.call(
|
|
7848
|
+
Ne.call(Mt.prototype);
|
|
7849
7849
|
}
|
|
7850
7850
|
} else {
|
|
7851
7851
|
try {
|
|
@@ -7880,7 +7880,7 @@ function requireReactJsxRuntime_development() {
|
|
|
7880
7880
|
var xn = Ne ? Ne.displayName || Ne.name : "", Yn = xn ? Ie(xn) : "";
|
|
7881
7881
|
return typeof Ne == "function" && Te.set(Ne, Yn), Yn;
|
|
7882
7882
|
}
|
|
7883
|
-
function
|
|
7883
|
+
function Me(Ne, ot, dt) {
|
|
7884
7884
|
return ye(Ne, !1);
|
|
7885
7885
|
}
|
|
7886
7886
|
function Ye(Ne) {
|
|
@@ -7903,7 +7903,7 @@ function requireReactJsxRuntime_development() {
|
|
|
7903
7903
|
if (typeof Ne == "object")
|
|
7904
7904
|
switch (Ne.$$typeof) {
|
|
7905
7905
|
case Z:
|
|
7906
|
-
return
|
|
7906
|
+
return Me(Ne.render);
|
|
7907
7907
|
case te:
|
|
7908
7908
|
return ct(Ne.type, ot, dt);
|
|
7909
7909
|
case ne: {
|
|
@@ -7927,19 +7927,19 @@ function requireReactJsxRuntime_development() {
|
|
|
7927
7927
|
function Ut(Ne, ot, dt, Et, Rt) {
|
|
7928
7928
|
{
|
|
7929
7929
|
var Bt = Function.call.bind(ut);
|
|
7930
|
-
for (var
|
|
7931
|
-
if (Bt(Ne,
|
|
7930
|
+
for (var Mt in Ne)
|
|
7931
|
+
if (Bt(Ne, Mt)) {
|
|
7932
7932
|
var Ot = void 0;
|
|
7933
7933
|
try {
|
|
7934
|
-
if (typeof Ne[
|
|
7935
|
-
var Zt = Error((Et || "React class") + ": " + dt + " type `" +
|
|
7934
|
+
if (typeof Ne[Mt] != "function") {
|
|
7935
|
+
var Zt = Error((Et || "React class") + ": " + dt + " type `" + Mt + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof Ne[Mt] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
7936
7936
|
throw Zt.name = "Invariant Violation", Zt;
|
|
7937
7937
|
}
|
|
7938
|
-
Ot = Ne[
|
|
7938
|
+
Ot = Ne[Mt](ot, Mt, Et, dt, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
7939
7939
|
} catch (Qt) {
|
|
7940
7940
|
Ot = Qt;
|
|
7941
7941
|
}
|
|
7942
|
-
Ot && !(Ot instanceof Error) && (it(Rt), ce("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", Et || "React class", dt,
|
|
7942
|
+
Ot && !(Ot instanceof Error) && (it(Rt), ce("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", Et || "React class", dt, Mt, typeof Ot), it(null)), Ot instanceof Error && !(Ot.message in wt) && (wt[Ot.message] = !0, it(Rt), ce("Failed %s type: %s", dt, Ot.message), it(null));
|
|
7943
7943
|
}
|
|
7944
7944
|
}
|
|
7945
7945
|
}
|
|
@@ -8018,7 +8018,7 @@ function requireReactJsxRuntime_development() {
|
|
|
8018
8018
|
});
|
|
8019
8019
|
}
|
|
8020
8020
|
}
|
|
8021
|
-
var Pt = function(Ne, ot, dt, Et, Rt, Bt,
|
|
8021
|
+
var Pt = function(Ne, ot, dt, Et, Rt, Bt, Mt) {
|
|
8022
8022
|
var Ot = {
|
|
8023
8023
|
// This tag allows us to uniquely identify this as a React Element
|
|
8024
8024
|
$$typeof: I,
|
|
@@ -8026,7 +8026,7 @@ function requireReactJsxRuntime_development() {
|
|
|
8026
8026
|
type: Ne,
|
|
8027
8027
|
key: ot,
|
|
8028
8028
|
ref: dt,
|
|
8029
|
-
props:
|
|
8029
|
+
props: Mt,
|
|
8030
8030
|
// Record the component responsible for creating this element.
|
|
8031
8031
|
_owner: Bt
|
|
8032
8032
|
};
|
|
@@ -8049,20 +8049,20 @@ function requireReactJsxRuntime_development() {
|
|
|
8049
8049
|
};
|
|
8050
8050
|
function At(Ne, ot, dt, Et, Rt) {
|
|
8051
8051
|
{
|
|
8052
|
-
var Bt,
|
|
8052
|
+
var Bt, Mt = {}, Ot = null, Zt = null;
|
|
8053
8053
|
dt !== void 0 && (zt(dt), Ot = "" + dt), De(ot) && (zt(ot.key), Ot = "" + ot.key), Se(ot) && (Zt = ot.ref, _t(ot, Rt));
|
|
8054
8054
|
for (Bt in ot)
|
|
8055
|
-
ut.call(ot, Bt) && !ie.hasOwnProperty(Bt) && (
|
|
8055
|
+
ut.call(ot, Bt) && !ie.hasOwnProperty(Bt) && (Mt[Bt] = ot[Bt]);
|
|
8056
8056
|
if (Ne && Ne.defaultProps) {
|
|
8057
8057
|
var Qt = Ne.defaultProps;
|
|
8058
8058
|
for (Bt in Qt)
|
|
8059
|
-
|
|
8059
|
+
Mt[Bt] === void 0 && (Mt[Bt] = Qt[Bt]);
|
|
8060
8060
|
}
|
|
8061
8061
|
if (Ot || Zt) {
|
|
8062
8062
|
var Yt = typeof Ne == "function" ? Ne.displayName || Ne.name || "Unknown" : Ne;
|
|
8063
|
-
Ot && Dt(
|
|
8063
|
+
Ot && Dt(Mt, Yt), Zt && Tt(Mt, Yt);
|
|
8064
8064
|
}
|
|
8065
|
-
return Pt(Ne, Ot, Zt, Rt, Et, de.current,
|
|
8065
|
+
return Pt(Ne, Ot, Zt, Rt, Et, de.current, Mt);
|
|
8066
8066
|
}
|
|
8067
8067
|
}
|
|
8068
8068
|
var Sn = le.ReactCurrentOwner, bn = le.ReactDebugCurrentFrame;
|
|
@@ -8141,8 +8141,8 @@ Check the top-level render call using <` + dt + ">.");
|
|
|
8141
8141
|
else if (Ne) {
|
|
8142
8142
|
var Rt = fe(Ne);
|
|
8143
8143
|
if (typeof Rt == "function" && Rt !== Ne.entries)
|
|
8144
|
-
for (var Bt = Rt.call(Ne),
|
|
8145
|
-
Tn(
|
|
8144
|
+
for (var Bt = Rt.call(Ne), Mt; !(Mt = Bt.next()).done; )
|
|
8145
|
+
Tn(Mt.value) && Nn(Mt.value, ot);
|
|
8146
8146
|
}
|
|
8147
8147
|
}
|
|
8148
8148
|
}
|
|
@@ -8185,8 +8185,8 @@ Check the top-level render call using <` + dt + ">.");
|
|
|
8185
8185
|
}
|
|
8186
8186
|
function _n(Ne, ot, dt, Et, Rt, Bt) {
|
|
8187
8187
|
{
|
|
8188
|
-
var
|
|
8189
|
-
if (!
|
|
8188
|
+
var Mt = Ce(Ne);
|
|
8189
|
+
if (!Mt) {
|
|
8190
8190
|
var Ot = "";
|
|
8191
8191
|
(Ne === void 0 || typeof Ne == "object" && Ne !== null && Object.keys(Ne).length === 0) && (Ot += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
8192
8192
|
var Zt = Pn(Rt);
|
|
@@ -8197,7 +8197,7 @@ Check the top-level render call using <` + dt + ">.");
|
|
|
8197
8197
|
var Yt = At(Ne, ot, dt, Rt, Bt);
|
|
8198
8198
|
if (Yt == null)
|
|
8199
8199
|
return Yt;
|
|
8200
|
-
if (
|
|
8200
|
+
if (Mt) {
|
|
8201
8201
|
var sn = ot.children;
|
|
8202
8202
|
if (sn !== void 0)
|
|
8203
8203
|
if (Et)
|
|
@@ -10836,10 +10836,10 @@ var __create = Object.create, __defProp$1 = Object.defineProperty, __getOwnPropD
|
|
|
10836
10836
|
return ae(it, Q);
|
|
10837
10837
|
}
|
|
10838
10838
|
$.isNumberObject = ye;
|
|
10839
|
-
function
|
|
10839
|
+
function Me(it) {
|
|
10840
10840
|
return ae(it, ee);
|
|
10841
10841
|
}
|
|
10842
|
-
$.isStringObject =
|
|
10842
|
+
$.isStringObject = Me;
|
|
10843
10843
|
function Ye(it) {
|
|
10844
10844
|
return ae(it, te);
|
|
10845
10845
|
}
|
|
@@ -10853,7 +10853,7 @@ var __create = Object.create, __defProp$1 = Object.defineProperty, __getOwnPropD
|
|
|
10853
10853
|
}
|
|
10854
10854
|
$.isSymbolObject = ut;
|
|
10855
10855
|
function wt(it) {
|
|
10856
|
-
return ye(it) ||
|
|
10856
|
+
return ye(it) || Me(it) || Ye(it) || ct(it) || ut(it);
|
|
10857
10857
|
}
|
|
10858
10858
|
$.isBoxedPrimitive = wt;
|
|
10859
10859
|
function St(it) {
|
|
@@ -11035,8 +11035,8 @@ var __create = Object.create, __defProp$1 = Object.defineProperty, __getOwnPropD
|
|
|
11035
11035
|
}
|
|
11036
11036
|
var Te = "", be = !1, ye = ["{", "}"];
|
|
11037
11037
|
if (fe(qe) && (be = !0, ye = ["[", "]"]), xe(qe)) {
|
|
11038
|
-
var
|
|
11039
|
-
Te = " [Function" +
|
|
11038
|
+
var Me = qe.name ? ": " + qe.name : "";
|
|
11039
|
+
Te = " [Function" + Me + "]";
|
|
11040
11040
|
}
|
|
11041
11041
|
if (_e(qe) && (Te = " " + RegExp.prototype.toString.call(qe)), Ce(qe) && (Te = " " + Date.prototype.toUTCString.call(qe)), Ee(qe) && (Te = " " + ne(qe)), He.length === 0 && (!be || qe.length == 0))
|
|
11042
11042
|
return ye[0] + Te + ye[1];
|
|
@@ -11998,13 +11998,13 @@ var require_base64_js = __commonJS({
|
|
|
11998
11998
|
}, J.prototype.readUint32BE = J.prototype.readUInt32BE = function(ie, oe) {
|
|
11999
11999
|
return ie = ie >>> 0, oe || tt(ie, 4, this.length), this[ie] * 16777216 + (this[ie + 1] << 16 | this[ie + 2] << 8 | this[ie + 3]);
|
|
12000
12000
|
}, J.prototype.readBigUInt64LE = Ct(function(ie) {
|
|
12001
|
-
ie = ie >>> 0,
|
|
12001
|
+
ie = ie >>> 0, Me(ie, "offset");
|
|
12002
12002
|
const oe = this[ie], pe = this[ie + 7];
|
|
12003
12003
|
(oe === void 0 || pe === void 0) && Ye(ie, this.length - 8);
|
|
12004
12004
|
const ke = oe + this[++ie] * 2 ** 8 + this[++ie] * 2 ** 16 + this[++ie] * 2 ** 24, Se = this[++ie] + this[++ie] * 2 ** 8 + this[++ie] * 2 ** 16 + pe * 2 ** 24;
|
|
12005
12005
|
return BigInt(ke) + (BigInt(Se) << BigInt(32));
|
|
12006
12006
|
}), J.prototype.readBigUInt64BE = Ct(function(ie) {
|
|
12007
|
-
ie = ie >>> 0,
|
|
12007
|
+
ie = ie >>> 0, Me(ie, "offset");
|
|
12008
12008
|
const oe = this[ie], pe = this[ie + 7];
|
|
12009
12009
|
(oe === void 0 || pe === void 0) && Ye(ie, this.length - 8);
|
|
12010
12010
|
const ke = oe * 2 ** 24 + this[++ie] * 2 ** 16 + this[++ie] * 2 ** 8 + this[++ie], Se = this[++ie] * 2 ** 24 + this[++ie] * 2 ** 16 + this[++ie] * 2 ** 8 + pe;
|
|
@@ -12036,13 +12036,13 @@ var require_base64_js = __commonJS({
|
|
|
12036
12036
|
}, J.prototype.readInt32BE = function(ie, oe) {
|
|
12037
12037
|
return ie = ie >>> 0, oe || tt(ie, 4, this.length), this[ie] << 24 | this[ie + 1] << 16 | this[ie + 2] << 8 | this[ie + 3];
|
|
12038
12038
|
}, J.prototype.readBigInt64LE = Ct(function(ie) {
|
|
12039
|
-
ie = ie >>> 0,
|
|
12039
|
+
ie = ie >>> 0, Me(ie, "offset");
|
|
12040
12040
|
const oe = this[ie], pe = this[ie + 7];
|
|
12041
12041
|
(oe === void 0 || pe === void 0) && Ye(ie, this.length - 8);
|
|
12042
12042
|
const ke = this[ie + 4] + this[ie + 5] * 2 ** 8 + this[ie + 6] * 2 ** 16 + (pe << 24);
|
|
12043
12043
|
return (BigInt(ke) << BigInt(32)) + BigInt(oe + this[++ie] * 2 ** 8 + this[++ie] * 2 ** 16 + this[++ie] * 2 ** 24);
|
|
12044
12044
|
}), J.prototype.readBigInt64BE = Ct(function(ie) {
|
|
12045
|
-
ie = ie >>> 0,
|
|
12045
|
+
ie = ie >>> 0, Me(ie, "offset");
|
|
12046
12046
|
const oe = this[ie], pe = this[ie + 7];
|
|
12047
12047
|
(oe === void 0 || pe === void 0) && Ye(ie, this.length - 8);
|
|
12048
12048
|
const ke = (oe << 24) + // Overflow
|
|
@@ -12268,7 +12268,7 @@ var require_base64_js = __commonJS({
|
|
|
12268
12268
|
return `${de.slice(0, oe)}${ie}`;
|
|
12269
12269
|
}
|
|
12270
12270
|
function be(de, ie, oe) {
|
|
12271
|
-
|
|
12271
|
+
Me(ie, "offset"), (de[ie] === void 0 || de[ie + oe] === void 0) && Ye(ie, de.length - (oe + 1));
|
|
12272
12272
|
}
|
|
12273
12273
|
function ye(de, ie, oe, pe, ke, Se) {
|
|
12274
12274
|
if (de > oe || de < ie) {
|
|
@@ -12278,12 +12278,12 @@ var require_base64_js = __commonJS({
|
|
|
12278
12278
|
}
|
|
12279
12279
|
be(pe, ke, Se);
|
|
12280
12280
|
}
|
|
12281
|
-
function
|
|
12281
|
+
function Me(de, ie) {
|
|
12282
12282
|
if (typeof de != "number")
|
|
12283
12283
|
throw new Ie.ERR_INVALID_ARG_TYPE(ie, "number", de);
|
|
12284
12284
|
}
|
|
12285
12285
|
function Ye(de, ie, oe) {
|
|
12286
|
-
throw Math.floor(de) !== de ? (
|
|
12286
|
+
throw Math.floor(de) !== de ? (Me(de, oe), new Ie.ERR_OUT_OF_RANGE(oe || "offset", "an integer", de)) : ie < 0 ? new Ie.ERR_BUFFER_OUT_OF_BOUNDS() : new Ie.ERR_OUT_OF_RANGE(
|
|
12287
12287
|
oe || "offset",
|
|
12288
12288
|
`>= ${oe ? 1 : 0} and <= ${ie}`,
|
|
12289
12289
|
de
|
|
@@ -12435,35 +12435,35 @@ lodash_defaultsdeep.exports;
|
|
|
12435
12435
|
} catch {
|
|
12436
12436
|
}
|
|
12437
12437
|
}(), ye = be && be.isTypedArray;
|
|
12438
|
-
function
|
|
12438
|
+
function Me(we, Le, Ze) {
|
|
12439
12439
|
switch (Ze.length) {
|
|
12440
12440
|
case 0:
|
|
12441
|
-
return we.call(
|
|
12441
|
+
return we.call(Le);
|
|
12442
12442
|
case 1:
|
|
12443
|
-
return we.call(
|
|
12443
|
+
return we.call(Le, Ze[0]);
|
|
12444
12444
|
case 2:
|
|
12445
|
-
return we.call(
|
|
12445
|
+
return we.call(Le, Ze[0], Ze[1]);
|
|
12446
12446
|
case 3:
|
|
12447
|
-
return we.call(
|
|
12447
|
+
return we.call(Le, Ze[0], Ze[1], Ze[2]);
|
|
12448
12448
|
}
|
|
12449
|
-
return we.apply(
|
|
12449
|
+
return we.apply(Le, Ze);
|
|
12450
12450
|
}
|
|
12451
|
-
function Ye(we,
|
|
12451
|
+
function Ye(we, Le) {
|
|
12452
12452
|
for (var Ze = -1, $t = Array(we); ++Ze < we; )
|
|
12453
|
-
$t[Ze] =
|
|
12453
|
+
$t[Ze] = Le(Ze);
|
|
12454
12454
|
return $t;
|
|
12455
12455
|
}
|
|
12456
12456
|
function ct(we) {
|
|
12457
|
-
return function(
|
|
12458
|
-
return we(
|
|
12457
|
+
return function(Le) {
|
|
12458
|
+
return we(Le);
|
|
12459
12459
|
};
|
|
12460
12460
|
}
|
|
12461
|
-
function ut(we,
|
|
12462
|
-
return we == null ? void 0 : we[
|
|
12461
|
+
function ut(we, Le) {
|
|
12462
|
+
return we == null ? void 0 : we[Le];
|
|
12463
12463
|
}
|
|
12464
|
-
function wt(we,
|
|
12464
|
+
function wt(we, Le) {
|
|
12465
12465
|
return function(Ze) {
|
|
12466
|
-
return we(
|
|
12466
|
+
return we(Le(Ze));
|
|
12467
12467
|
};
|
|
12468
12468
|
}
|
|
12469
12469
|
var St = Array.prototype, it = Function.prototype, Ut = Object.prototype, Kt = Ue["__core-js_shared__"], It = it.toString, Ht = Ut.hasOwnProperty, rn = function() {
|
|
@@ -12480,20 +12480,20 @@ lodash_defaultsdeep.exports;
|
|
|
12480
12480
|
}(), At = ie ? ie.isBuffer : void 0, Sn = Math.max, bn = Date.now, vn = kt(Ue, "Map"), mn = kt(Object, "create"), Tn = /* @__PURE__ */ function() {
|
|
12481
12481
|
function we() {
|
|
12482
12482
|
}
|
|
12483
|
-
return function(
|
|
12484
|
-
if (!en(
|
|
12483
|
+
return function(Le) {
|
|
12484
|
+
if (!en(Le))
|
|
12485
12485
|
return {};
|
|
12486
12486
|
if (De)
|
|
12487
|
-
return De(
|
|
12488
|
-
we.prototype =
|
|
12487
|
+
return De(Le);
|
|
12488
|
+
we.prototype = Le;
|
|
12489
12489
|
var Ze = new we();
|
|
12490
12490
|
return we.prototype = void 0, Ze;
|
|
12491
12491
|
};
|
|
12492
12492
|
}();
|
|
12493
12493
|
function un(we) {
|
|
12494
|
-
var
|
|
12495
|
-
for (this.clear(); ++
|
|
12496
|
-
var $t = we[
|
|
12494
|
+
var Le = -1, Ze = we == null ? 0 : we.length;
|
|
12495
|
+
for (this.clear(); ++Le < Ze; ) {
|
|
12496
|
+
var $t = we[Le];
|
|
12497
12497
|
this.set($t[0], $t[1]);
|
|
12498
12498
|
}
|
|
12499
12499
|
}
|
|
@@ -12501,30 +12501,30 @@ lodash_defaultsdeep.exports;
|
|
|
12501
12501
|
this.__data__ = mn ? mn(null) : {}, this.size = 0;
|
|
12502
12502
|
}
|
|
12503
12503
|
function $n(we) {
|
|
12504
|
-
var
|
|
12505
|
-
return this.size -=
|
|
12504
|
+
var Le = this.has(we) && delete this.__data__[we];
|
|
12505
|
+
return this.size -= Le ? 1 : 0, Le;
|
|
12506
12506
|
}
|
|
12507
12507
|
function Vn(we) {
|
|
12508
|
-
var
|
|
12508
|
+
var Le = this.__data__;
|
|
12509
12509
|
if (mn) {
|
|
12510
|
-
var Ze =
|
|
12510
|
+
var Ze = Le[we];
|
|
12511
12511
|
return Ze === q ? void 0 : Ze;
|
|
12512
12512
|
}
|
|
12513
|
-
return Ht.call(
|
|
12513
|
+
return Ht.call(Le, we) ? Le[we] : void 0;
|
|
12514
12514
|
}
|
|
12515
12515
|
function Nn(we) {
|
|
12516
|
-
var
|
|
12517
|
-
return mn ?
|
|
12516
|
+
var Le = this.__data__;
|
|
12517
|
+
return mn ? Le[we] !== void 0 : Ht.call(Le, we);
|
|
12518
12518
|
}
|
|
12519
|
-
function Fn(we,
|
|
12519
|
+
function Fn(we, Le) {
|
|
12520
12520
|
var Ze = this.__data__;
|
|
12521
|
-
return this.size += this.has(we) ? 0 : 1, Ze[we] = mn &&
|
|
12521
|
+
return this.size += this.has(we) ? 0 : 1, Ze[we] = mn && Le === void 0 ? q : Le, this;
|
|
12522
12522
|
}
|
|
12523
12523
|
un.prototype.clear = Pn, un.prototype.delete = $n, un.prototype.get = Vn, un.prototype.has = Nn, un.prototype.set = Fn;
|
|
12524
12524
|
function ln(we) {
|
|
12525
|
-
var
|
|
12526
|
-
for (this.clear(); ++
|
|
12527
|
-
var $t = we[
|
|
12525
|
+
var Le = -1, Ze = we == null ? 0 : we.length;
|
|
12526
|
+
for (this.clear(); ++Le < Ze; ) {
|
|
12527
|
+
var $t = we[Le];
|
|
12528
12528
|
this.set($t[0], $t[1]);
|
|
12529
12529
|
}
|
|
12530
12530
|
}
|
|
@@ -12532,28 +12532,28 @@ lodash_defaultsdeep.exports;
|
|
|
12532
12532
|
this.__data__ = [], this.size = 0;
|
|
12533
12533
|
}
|
|
12534
12534
|
function _n(we) {
|
|
12535
|
-
var
|
|
12535
|
+
var Le = this.__data__, Ze = dn(Le, we);
|
|
12536
12536
|
if (Ze < 0)
|
|
12537
12537
|
return !1;
|
|
12538
|
-
var $t =
|
|
12539
|
-
return Ze == $t ?
|
|
12538
|
+
var $t = Le.length - 1;
|
|
12539
|
+
return Ze == $t ? Le.pop() : Dt.call(Le, Ze, 1), --this.size, !0;
|
|
12540
12540
|
}
|
|
12541
12541
|
function Kn(we) {
|
|
12542
|
-
var
|
|
12543
|
-
return Ze < 0 ? void 0 :
|
|
12542
|
+
var Le = this.__data__, Ze = dn(Le, we);
|
|
12543
|
+
return Ze < 0 ? void 0 : Le[Ze][1];
|
|
12544
12544
|
}
|
|
12545
12545
|
function We(we) {
|
|
12546
12546
|
return dn(this.__data__, we) > -1;
|
|
12547
12547
|
}
|
|
12548
|
-
function vt(we,
|
|
12548
|
+
function vt(we, Le) {
|
|
12549
12549
|
var Ze = this.__data__, $t = dn(Ze, we);
|
|
12550
|
-
return $t < 0 ? (++this.size, Ze.push([we,
|
|
12550
|
+
return $t < 0 ? (++this.size, Ze.push([we, Le])) : Ze[$t][1] = Le, this;
|
|
12551
12551
|
}
|
|
12552
12552
|
ln.prototype.clear = Gn, ln.prototype.delete = _n, ln.prototype.get = Kn, ln.prototype.has = We, ln.prototype.set = vt;
|
|
12553
12553
|
function xt(we) {
|
|
12554
|
-
var
|
|
12555
|
-
for (this.clear(); ++
|
|
12556
|
-
var $t = we[
|
|
12554
|
+
var Le = -1, Ze = we == null ? 0 : we.length;
|
|
12555
|
+
for (this.clear(); ++Le < Ze; ) {
|
|
12556
|
+
var $t = we[Le];
|
|
12557
12557
|
this.set($t[0], $t[1]);
|
|
12558
12558
|
}
|
|
12559
12559
|
}
|
|
@@ -12565,8 +12565,8 @@ lodash_defaultsdeep.exports;
|
|
|
12565
12565
|
};
|
|
12566
12566
|
}
|
|
12567
12567
|
function ot(we) {
|
|
12568
|
-
var
|
|
12569
|
-
return this.size -=
|
|
12568
|
+
var Le = bt(this, we).delete(we);
|
|
12569
|
+
return this.size -= Le ? 1 : 0, Le;
|
|
12570
12570
|
}
|
|
12571
12571
|
function dt(we) {
|
|
12572
12572
|
return bt(this, we).get(we);
|
|
@@ -12574,21 +12574,21 @@ lodash_defaultsdeep.exports;
|
|
|
12574
12574
|
function Et(we) {
|
|
12575
12575
|
return bt(this, we).has(we);
|
|
12576
12576
|
}
|
|
12577
|
-
function Rt(we,
|
|
12577
|
+
function Rt(we, Le) {
|
|
12578
12578
|
var Ze = bt(this, we), $t = Ze.size;
|
|
12579
|
-
return Ze.set(we,
|
|
12579
|
+
return Ze.set(we, Le), this.size += Ze.size == $t ? 0 : 1, this;
|
|
12580
12580
|
}
|
|
12581
12581
|
xt.prototype.clear = Ne, xt.prototype.delete = ot, xt.prototype.get = dt, xt.prototype.has = Et, xt.prototype.set = Rt;
|
|
12582
12582
|
function Bt(we) {
|
|
12583
|
-
var
|
|
12584
|
-
this.size =
|
|
12583
|
+
var Le = this.__data__ = new ln(we);
|
|
12584
|
+
this.size = Le.size;
|
|
12585
12585
|
}
|
|
12586
|
-
function
|
|
12586
|
+
function Mt() {
|
|
12587
12587
|
this.__data__ = new ln(), this.size = 0;
|
|
12588
12588
|
}
|
|
12589
12589
|
function Ot(we) {
|
|
12590
|
-
var
|
|
12591
|
-
return this.size =
|
|
12590
|
+
var Le = this.__data__, Ze = Le.delete(we);
|
|
12591
|
+
return this.size = Le.size, Ze;
|
|
12592
12592
|
}
|
|
12593
12593
|
function Zt(we) {
|
|
12594
12594
|
return this.__data__.get(we);
|
|
@@ -12596,51 +12596,51 @@ lodash_defaultsdeep.exports;
|
|
|
12596
12596
|
function Qt(we) {
|
|
12597
12597
|
return this.__data__.has(we);
|
|
12598
12598
|
}
|
|
12599
|
-
function Yt(we,
|
|
12599
|
+
function Yt(we, Le) {
|
|
12600
12600
|
var Ze = this.__data__;
|
|
12601
12601
|
if (Ze instanceof ln) {
|
|
12602
12602
|
var $t = Ze.__data__;
|
|
12603
12603
|
if (!vn || $t.length < U - 1)
|
|
12604
|
-
return $t.push([we,
|
|
12604
|
+
return $t.push([we, Le]), this.size = ++Ze.size, this;
|
|
12605
12605
|
Ze = this.__data__ = new xt($t);
|
|
12606
12606
|
}
|
|
12607
|
-
return Ze.set(we,
|
|
12607
|
+
return Ze.set(we, Le), this.size = Ze.size, this;
|
|
12608
12608
|
}
|
|
12609
|
-
Bt.prototype.clear =
|
|
12610
|
-
function sn(we,
|
|
12609
|
+
Bt.prototype.clear = Mt, Bt.prototype.delete = Ot, Bt.prototype.get = Zt, Bt.prototype.has = Qt, Bt.prototype.set = Yt;
|
|
12610
|
+
function sn(we, Le) {
|
|
12611
12611
|
var Ze = yt(we), $t = !Ze && et(we), jt = !Ze && !$t && qt(we), Ft = !Ze && !$t && !jt && kn(we), Vt = Ze || $t || jt || Ft, Gt = Vt ? Ye(we.length, String) : [], Xt = Gt.length;
|
|
12612
12612
|
for (var En in we)
|
|
12613
|
-
(
|
|
12613
|
+
(Le || Ht.call(we, En)) && !(Vt && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
12614
12614
|
(En == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
12615
12615
|
jt && (En == "offset" || En == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
12616
12616
|
Ft && (En == "buffer" || En == "byteLength" || En == "byteOffset") || // Skip index properties.
|
|
12617
12617
|
Jt(En, Xt))) && Gt.push(En);
|
|
12618
12618
|
return Gt;
|
|
12619
12619
|
}
|
|
12620
|
-
function xn(we,
|
|
12621
|
-
(Ze !== void 0 && !Fe(we[
|
|
12620
|
+
function xn(we, Le, Ze) {
|
|
12621
|
+
(Ze !== void 0 && !Fe(we[Le], Ze) || Ze === void 0 && !(Le in we)) && Bn(we, Le, Ze);
|
|
12622
12622
|
}
|
|
12623
|
-
function Yn(we,
|
|
12624
|
-
var $t = we[
|
|
12625
|
-
(!(Ht.call(we,
|
|
12623
|
+
function Yn(we, Le, Ze) {
|
|
12624
|
+
var $t = we[Le];
|
|
12625
|
+
(!(Ht.call(we, Le) && Fe($t, Ze)) || Ze === void 0 && !(Le in we)) && Bn(we, Le, Ze);
|
|
12626
12626
|
}
|
|
12627
|
-
function dn(we,
|
|
12627
|
+
function dn(we, Le) {
|
|
12628
12628
|
for (var Ze = we.length; Ze--; )
|
|
12629
|
-
if (Fe(we[Ze][0],
|
|
12629
|
+
if (Fe(we[Ze][0], Le))
|
|
12630
12630
|
return Ze;
|
|
12631
12631
|
return -1;
|
|
12632
12632
|
}
|
|
12633
|
-
function Bn(we,
|
|
12634
|
-
|
|
12633
|
+
function Bn(we, Le, Ze) {
|
|
12634
|
+
Le == "__proto__" && Pt ? Pt(we, Le, {
|
|
12635
12635
|
configurable: !0,
|
|
12636
12636
|
enumerable: !0,
|
|
12637
12637
|
value: Ze,
|
|
12638
12638
|
writable: !0
|
|
12639
|
-
}) : we[
|
|
12639
|
+
}) : we[Le] = Ze;
|
|
12640
12640
|
}
|
|
12641
12641
|
var jn = pt();
|
|
12642
12642
|
function An(we) {
|
|
12643
|
-
return we == null ? we === void 0 ? ge : le : Tt && Tt in Object(we) ?
|
|
12643
|
+
return we == null ? we === void 0 ? ge : le : Tt && Tt in Object(we) ? Lt(we) : Zn(we);
|
|
12644
12644
|
}
|
|
12645
12645
|
function Un(we) {
|
|
12646
12646
|
return hn(we) && An(we) == J;
|
|
@@ -12648,8 +12648,8 @@ lodash_defaultsdeep.exports;
|
|
|
12648
12648
|
function Xn(we) {
|
|
12649
12649
|
if (!en(we) || cn(we))
|
|
12650
12650
|
return !1;
|
|
12651
|
-
var
|
|
12652
|
-
return
|
|
12651
|
+
var Le = pn(we) ? de : tt;
|
|
12652
|
+
return Le.test(qn(we));
|
|
12653
12653
|
}
|
|
12654
12654
|
function nr(we) {
|
|
12655
12655
|
return hn(we) && an(we.length) && !!qe[An(we)];
|
|
@@ -12657,173 +12657,173 @@ lodash_defaultsdeep.exports;
|
|
|
12657
12657
|
function rr(we) {
|
|
12658
12658
|
if (!en(we))
|
|
12659
12659
|
return Hn(we);
|
|
12660
|
-
var
|
|
12660
|
+
var Le = wn(we), Ze = [];
|
|
12661
12661
|
for (var $t in we)
|
|
12662
|
-
$t == "constructor" && (
|
|
12662
|
+
$t == "constructor" && (Le || !Ht.call(we, $t)) || Ze.push($t);
|
|
12663
12663
|
return Ze;
|
|
12664
12664
|
}
|
|
12665
|
-
function zn(we,
|
|
12666
|
-
we !==
|
|
12665
|
+
function zn(we, Le, Ze, $t, jt) {
|
|
12666
|
+
we !== Le && jn(Le, function(Ft, Vt) {
|
|
12667
12667
|
if (jt || (jt = new Bt()), en(Ft))
|
|
12668
|
-
ir(we,
|
|
12668
|
+
ir(we, Le, Vt, Ze, zn, $t, jt);
|
|
12669
12669
|
else {
|
|
12670
|
-
var Gt = $t ? $t(
|
|
12670
|
+
var Gt = $t ? $t(Ln(we, Vt), Ft, Vt + "", we, Le, jt) : void 0;
|
|
12671
12671
|
Gt === void 0 && (Gt = Ft), xn(we, Vt, Gt);
|
|
12672
12672
|
}
|
|
12673
12673
|
}, Cn);
|
|
12674
12674
|
}
|
|
12675
|
-
function ir(we,
|
|
12676
|
-
var Gt =
|
|
12675
|
+
function ir(we, Le, Ze, $t, jt, Ft, Vt) {
|
|
12676
|
+
var Gt = Ln(we, Ze), Xt = Ln(Le, Ze), En = Vt.get(Xt);
|
|
12677
12677
|
if (En) {
|
|
12678
12678
|
xn(we, Ze, En);
|
|
12679
12679
|
return;
|
|
12680
12680
|
}
|
|
12681
|
-
var Rn = Ft ? Ft(Gt, Xt, Ze + "", we,
|
|
12681
|
+
var Rn = Ft ? Ft(Gt, Xt, Ze + "", we, Le, Vt) : void 0, er = Rn === void 0;
|
|
12682
12682
|
if (er) {
|
|
12683
12683
|
var cr = yt(Xt), hr = !cr && qt(Xt), mr = !cr && !hr && kn(Xt);
|
|
12684
12684
|
Rn = Xt, cr || hr || mr ? yt(Gt) ? Rn = Gt : nn(Gt) ? Rn = Qe(Gt) : hr ? (er = !1, Rn = Ve(Xt, !0)) : mr ? (er = !1, Rn = Je(Xt, !0)) : Rn = [] : yn(Xt) || et(Xt) ? (Rn = Gt, et(Gt) ? Rn = gn(Gt) : (!en(Gt) || pn(Gt)) && (Rn = Wt(Xt))) : er = !1;
|
|
12685
12685
|
}
|
|
12686
12686
|
er && (Vt.set(Xt, Rn), jt(Rn, Xt, $t, Ft, Vt), Vt.delete(Xt)), xn(we, Ze, Rn);
|
|
12687
12687
|
}
|
|
12688
|
-
function tr(we,
|
|
12689
|
-
return sr(Wn(we,
|
|
12688
|
+
function tr(we, Le) {
|
|
12689
|
+
return sr(Wn(we, Le, Pe), we + "");
|
|
12690
12690
|
}
|
|
12691
|
-
var Ae = Pt ? function(we,
|
|
12691
|
+
var Ae = Pt ? function(we, Le) {
|
|
12692
12692
|
return Pt(we, "toString", {
|
|
12693
12693
|
configurable: !0,
|
|
12694
12694
|
enumerable: !1,
|
|
12695
|
-
value: Dn(
|
|
12695
|
+
value: Dn(Le),
|
|
12696
12696
|
writable: !0
|
|
12697
12697
|
});
|
|
12698
12698
|
} : Pe;
|
|
12699
|
-
function Ve(we,
|
|
12700
|
-
if (
|
|
12699
|
+
function Ve(we, Le) {
|
|
12700
|
+
if (Le)
|
|
12701
12701
|
return we.slice();
|
|
12702
12702
|
var Ze = we.length, $t = ke ? ke(Ze) : new we.constructor(Ze);
|
|
12703
12703
|
return we.copy($t), $t;
|
|
12704
12704
|
}
|
|
12705
12705
|
function Oe(we) {
|
|
12706
|
-
var
|
|
12707
|
-
return new pe(
|
|
12706
|
+
var Le = new we.constructor(we.byteLength);
|
|
12707
|
+
return new pe(Le).set(new pe(we)), Le;
|
|
12708
12708
|
}
|
|
12709
|
-
function Je(we,
|
|
12710
|
-
var Ze =
|
|
12709
|
+
function Je(we, Le) {
|
|
12710
|
+
var Ze = Le ? Oe(we.buffer) : we.buffer;
|
|
12711
12711
|
return new we.constructor(Ze, we.byteOffset, we.length);
|
|
12712
12712
|
}
|
|
12713
|
-
function Qe(we,
|
|
12713
|
+
function Qe(we, Le) {
|
|
12714
12714
|
var Ze = -1, $t = we.length;
|
|
12715
|
-
for (
|
|
12716
|
-
|
|
12717
|
-
return
|
|
12715
|
+
for (Le || (Le = Array($t)); ++Ze < $t; )
|
|
12716
|
+
Le[Ze] = we[Ze];
|
|
12717
|
+
return Le;
|
|
12718
12718
|
}
|
|
12719
|
-
function Ke(we,
|
|
12719
|
+
function Ke(we, Le, Ze, $t) {
|
|
12720
12720
|
var jt = !Ze;
|
|
12721
12721
|
Ze || (Ze = {});
|
|
12722
|
-
for (var Ft = -1, Vt =
|
|
12723
|
-
var Gt =
|
|
12722
|
+
for (var Ft = -1, Vt = Le.length; ++Ft < Vt; ) {
|
|
12723
|
+
var Gt = Le[Ft], Xt = $t ? $t(Ze[Gt], we[Gt], Gt, Ze, we) : void 0;
|
|
12724
12724
|
Xt === void 0 && (Xt = we[Gt]), jt ? Bn(Ze, Gt, Xt) : Yn(Ze, Gt, Xt);
|
|
12725
12725
|
}
|
|
12726
12726
|
return Ze;
|
|
12727
12727
|
}
|
|
12728
12728
|
function ft(we) {
|
|
12729
|
-
return tr(function(
|
|
12729
|
+
return tr(function(Le, Ze) {
|
|
12730
12730
|
var $t = -1, jt = Ze.length, Ft = jt > 1 ? Ze[jt - 1] : void 0, Vt = jt > 2 ? Ze[2] : void 0;
|
|
12731
|
-
for (Ft = we.length > 3 && typeof Ft == "function" ? (jt--, Ft) : void 0, Vt && tn(Ze[0], Ze[1], Vt) && (Ft = jt < 3 ? void 0 : Ft, jt = 1),
|
|
12731
|
+
for (Ft = we.length > 3 && typeof Ft == "function" ? (jt--, Ft) : void 0, Vt && tn(Ze[0], Ze[1], Vt) && (Ft = jt < 3 ? void 0 : Ft, jt = 1), Le = Object(Le); ++$t < jt; ) {
|
|
12732
12732
|
var Gt = Ze[$t];
|
|
12733
|
-
Gt && we(
|
|
12733
|
+
Gt && we(Le, Gt, $t, Ft);
|
|
12734
12734
|
}
|
|
12735
|
-
return
|
|
12735
|
+
return Le;
|
|
12736
12736
|
});
|
|
12737
12737
|
}
|
|
12738
12738
|
function pt(we) {
|
|
12739
|
-
return function(
|
|
12740
|
-
for (var jt = -1, Ft = Object(
|
|
12739
|
+
return function(Le, Ze, $t) {
|
|
12740
|
+
for (var jt = -1, Ft = Object(Le), Vt = $t(Le), Gt = Vt.length; Gt--; ) {
|
|
12741
12741
|
var Xt = Vt[we ? Gt : ++jt];
|
|
12742
12742
|
if (Ze(Ft[Xt], Xt, Ft) === !1)
|
|
12743
12743
|
break;
|
|
12744
12744
|
}
|
|
12745
|
-
return
|
|
12745
|
+
return Le;
|
|
12746
12746
|
};
|
|
12747
12747
|
}
|
|
12748
|
-
function gt(we,
|
|
12749
|
-
return en(we) && en(
|
|
12748
|
+
function gt(we, Le, Ze, $t, jt, Ft) {
|
|
12749
|
+
return en(we) && en(Le) && (Ft.set(Le, we), zn(we, Le, void 0, gt, Ft), Ft.delete(Le)), we;
|
|
12750
12750
|
}
|
|
12751
|
-
function bt(we,
|
|
12751
|
+
function bt(we, Le) {
|
|
12752
12752
|
var Ze = we.__data__;
|
|
12753
|
-
return fn(
|
|
12753
|
+
return fn(Le) ? Ze[typeof Le == "string" ? "string" : "hash"] : Ze.map;
|
|
12754
12754
|
}
|
|
12755
|
-
function kt(we,
|
|
12756
|
-
var Ze = ut(we,
|
|
12755
|
+
function kt(we, Le) {
|
|
12756
|
+
var Ze = ut(we, Le);
|
|
12757
12757
|
return Xn(Ze) ? Ze : void 0;
|
|
12758
12758
|
}
|
|
12759
|
-
function
|
|
12760
|
-
var
|
|
12759
|
+
function Lt(we) {
|
|
12760
|
+
var Le = Ht.call(we, Tt), Ze = we[Tt];
|
|
12761
12761
|
try {
|
|
12762
12762
|
we[Tt] = void 0;
|
|
12763
12763
|
var $t = !0;
|
|
12764
12764
|
} catch {
|
|
12765
12765
|
}
|
|
12766
12766
|
var jt = Ct.call(we);
|
|
12767
|
-
return $t && (
|
|
12767
|
+
return $t && (Le ? we[Tt] = Ze : delete we[Tt]), jt;
|
|
12768
12768
|
}
|
|
12769
12769
|
function Wt(we) {
|
|
12770
12770
|
return typeof we.constructor == "function" && !wn(we) ? Tn(Se(we)) : {};
|
|
12771
12771
|
}
|
|
12772
|
-
function Jt(we,
|
|
12772
|
+
function Jt(we, Le) {
|
|
12773
12773
|
var Ze = typeof we;
|
|
12774
|
-
return
|
|
12774
|
+
return Le = Le ?? Y, !!Le && (Ze == "number" || Ze != "symbol" && ze.test(we)) && we > -1 && we % 1 == 0 && we < Le;
|
|
12775
12775
|
}
|
|
12776
|
-
function tn(we,
|
|
12776
|
+
function tn(we, Le, Ze) {
|
|
12777
12777
|
if (!en(Ze))
|
|
12778
12778
|
return !1;
|
|
12779
|
-
var $t = typeof
|
|
12780
|
-
return ($t == "number" ? Nt(Ze) && Jt(
|
|
12779
|
+
var $t = typeof Le;
|
|
12780
|
+
return ($t == "number" ? Nt(Ze) && Jt(Le, Ze.length) : $t == "string" && Le in Ze) ? Fe(Ze[Le], we) : !1;
|
|
12781
12781
|
}
|
|
12782
12782
|
function fn(we) {
|
|
12783
|
-
var
|
|
12784
|
-
return
|
|
12783
|
+
var Le = typeof we;
|
|
12784
|
+
return Le == "string" || Le == "number" || Le == "symbol" || Le == "boolean" ? we !== "__proto__" : we === null;
|
|
12785
12785
|
}
|
|
12786
12786
|
function cn(we) {
|
|
12787
12787
|
return !!rn && rn in we;
|
|
12788
12788
|
}
|
|
12789
12789
|
function wn(we) {
|
|
12790
|
-
var
|
|
12790
|
+
var Le = we && we.constructor, Ze = typeof Le == "function" && Le.prototype || Ut;
|
|
12791
12791
|
return we === Ze;
|
|
12792
12792
|
}
|
|
12793
12793
|
function Hn(we) {
|
|
12794
|
-
var
|
|
12794
|
+
var Le = [];
|
|
12795
12795
|
if (we != null)
|
|
12796
12796
|
for (var Ze in Object(we))
|
|
12797
|
-
|
|
12798
|
-
return
|
|
12797
|
+
Le.push(Ze);
|
|
12798
|
+
return Le;
|
|
12799
12799
|
}
|
|
12800
12800
|
function Zn(we) {
|
|
12801
12801
|
return Ct.call(we);
|
|
12802
12802
|
}
|
|
12803
|
-
function Wn(we,
|
|
12804
|
-
return
|
|
12805
|
-
for (var $t = arguments, jt = -1, Ft = Sn($t.length -
|
|
12806
|
-
Vt[jt] = $t[
|
|
12803
|
+
function Wn(we, Le, Ze) {
|
|
12804
|
+
return Le = Sn(Le === void 0 ? we.length - 1 : Le, 0), function() {
|
|
12805
|
+
for (var $t = arguments, jt = -1, Ft = Sn($t.length - Le, 0), Vt = Array(Ft); ++jt < Ft; )
|
|
12806
|
+
Vt[jt] = $t[Le + jt];
|
|
12807
12807
|
jt = -1;
|
|
12808
|
-
for (var Gt = Array(
|
|
12808
|
+
for (var Gt = Array(Le + 1); ++jt < Le; )
|
|
12809
12809
|
Gt[jt] = $t[jt];
|
|
12810
|
-
return Gt[
|
|
12810
|
+
return Gt[Le] = Ze(Vt), Me(we, this, Gt);
|
|
12811
12811
|
};
|
|
12812
12812
|
}
|
|
12813
|
-
function
|
|
12814
|
-
if (!(
|
|
12815
|
-
return we[
|
|
12813
|
+
function Ln(we, Le) {
|
|
12814
|
+
if (!(Le === "constructor" && typeof we[Le] == "function") && Le != "__proto__")
|
|
12815
|
+
return we[Le];
|
|
12816
12816
|
}
|
|
12817
12817
|
var sr = ar(Ae);
|
|
12818
12818
|
function ar(we) {
|
|
12819
|
-
var
|
|
12819
|
+
var Le = 0, Ze = 0;
|
|
12820
12820
|
return function() {
|
|
12821
12821
|
var $t = bn(), jt = K - ($t - Ze);
|
|
12822
12822
|
if (Ze = $t, jt > 0) {
|
|
12823
|
-
if (++
|
|
12823
|
+
if (++Le >= G)
|
|
12824
12824
|
return arguments[0];
|
|
12825
12825
|
} else
|
|
12826
|
-
|
|
12826
|
+
Le = 0;
|
|
12827
12827
|
return we.apply(void 0, arguments);
|
|
12828
12828
|
};
|
|
12829
12829
|
}
|
|
@@ -12840,8 +12840,8 @@ lodash_defaultsdeep.exports;
|
|
|
12840
12840
|
}
|
|
12841
12841
|
return "";
|
|
12842
12842
|
}
|
|
12843
|
-
function Fe(we,
|
|
12844
|
-
return we ===
|
|
12843
|
+
function Fe(we, Le) {
|
|
12844
|
+
return we === Le || we !== we && Le !== Le;
|
|
12845
12845
|
}
|
|
12846
12846
|
var et = Un(/* @__PURE__ */ function() {
|
|
12847
12847
|
return arguments;
|
|
@@ -12858,15 +12858,15 @@ lodash_defaultsdeep.exports;
|
|
|
12858
12858
|
function pn(we) {
|
|
12859
12859
|
if (!en(we))
|
|
12860
12860
|
return !1;
|
|
12861
|
-
var
|
|
12862
|
-
return
|
|
12861
|
+
var Le = An(we);
|
|
12862
|
+
return Le == re || Le == ae || Le == Q || Le == ue;
|
|
12863
12863
|
}
|
|
12864
12864
|
function an(we) {
|
|
12865
12865
|
return typeof we == "number" && we > -1 && we % 1 == 0 && we <= Y;
|
|
12866
12866
|
}
|
|
12867
12867
|
function en(we) {
|
|
12868
|
-
var
|
|
12869
|
-
return we != null && (
|
|
12868
|
+
var Le = typeof we;
|
|
12869
|
+
return we != null && (Le == "object" || Le == "function");
|
|
12870
12870
|
}
|
|
12871
12871
|
function hn(we) {
|
|
12872
12872
|
return we != null && typeof we == "object";
|
|
@@ -12874,10 +12874,10 @@ lodash_defaultsdeep.exports;
|
|
|
12874
12874
|
function yn(we) {
|
|
12875
12875
|
if (!hn(we) || An(we) != ce)
|
|
12876
12876
|
return !1;
|
|
12877
|
-
var
|
|
12878
|
-
if (
|
|
12877
|
+
var Le = Se(we);
|
|
12878
|
+
if (Le === null)
|
|
12879
12879
|
return !0;
|
|
12880
|
-
var Ze = Ht.call(
|
|
12880
|
+
var Ze = Ht.call(Le, "constructor") && Le.constructor;
|
|
12881
12881
|
return typeof Ze == "function" && Ze instanceof Ze && It.call(Ze) == zt;
|
|
12882
12882
|
}
|
|
12883
12883
|
var kn = ye ? ct(ye) : nr;
|
|
@@ -12885,13 +12885,13 @@ lodash_defaultsdeep.exports;
|
|
|
12885
12885
|
return Ke(we, Cn(we));
|
|
12886
12886
|
}
|
|
12887
12887
|
var In = tr(function(we) {
|
|
12888
|
-
return we.push(void 0, gt),
|
|
12888
|
+
return we.push(void 0, gt), Me(Mn, void 0, we);
|
|
12889
12889
|
});
|
|
12890
12890
|
function Cn(we) {
|
|
12891
12891
|
return Nt(we) ? sn(we, !0) : rr(we);
|
|
12892
12892
|
}
|
|
12893
|
-
var
|
|
12894
|
-
zn(we,
|
|
12893
|
+
var Mn = ft(function(we, Le, Ze, $t) {
|
|
12894
|
+
zn(we, Le, Ze, $t);
|
|
12895
12895
|
});
|
|
12896
12896
|
function Dn(we) {
|
|
12897
12897
|
return function() {
|
|
@@ -13356,6 +13356,9 @@ var equalsSymbol = Symbol.for("dxos.common.equals"), __require$1 = /* @__PURE__
|
|
|
13356
13356
|
toJSON() {
|
|
13357
13357
|
return this.toHex();
|
|
13358
13358
|
}
|
|
13359
|
+
toJSONL() {
|
|
13360
|
+
return this.truncate();
|
|
13361
|
+
}
|
|
13359
13362
|
get length() {
|
|
13360
13363
|
return this._value.length;
|
|
13361
13364
|
}
|
|
@@ -14085,8 +14088,8 @@ var equalsSymbol = Symbol.for("dxos.common.equals"), __require$1 = /* @__PURE__
|
|
|
14085
14088
|
};
|
|
14086
14089
|
let G = setTimeout(q, U);
|
|
14087
14090
|
return () => clearTimeout(G);
|
|
14088
|
-
}, arrayToBuffer = ($) => export_Buffer.from($.buffer, $.byteOffset, $.byteLength),
|
|
14089
|
-
if (I >
|
|
14091
|
+
}, arrayToBuffer = ($) => export_Buffer.from($.buffer, $.byteOffset, $.byteLength), LOG_MAX_DEPTH = 7, jsonlogify = ($, I = 0, U = /* @__PURE__ */ new WeakSet()) => {
|
|
14092
|
+
if (I > LOG_MAX_DEPTH)
|
|
14090
14093
|
return null;
|
|
14091
14094
|
if (typeof $ == "function")
|
|
14092
14095
|
return null;
|
|
@@ -14098,13 +14101,15 @@ var equalsSymbol = Symbol.for("dxos.common.equals"), __require$1 = /* @__PURE__
|
|
|
14098
14101
|
if ($ instanceof Uint8Array)
|
|
14099
14102
|
return arrayToBuffer($).toString("hex");
|
|
14100
14103
|
if (Array.isArray($))
|
|
14101
|
-
return $.map((q) =>
|
|
14104
|
+
return $.map((q) => jsonlogify(q, I + 1, U));
|
|
14105
|
+
if (typeof $.toJSONL == "function")
|
|
14106
|
+
return $.toJSONL();
|
|
14102
14107
|
if (typeof $.toJSON == "function")
|
|
14103
14108
|
return $.toJSON();
|
|
14104
14109
|
{
|
|
14105
14110
|
const q = {};
|
|
14106
14111
|
for (const G of Object.keys($))
|
|
14107
|
-
q[G] =
|
|
14112
|
+
q[G] = jsonlogify($[G], I + 1, U);
|
|
14108
14113
|
return q;
|
|
14109
14114
|
}
|
|
14110
14115
|
} finally {
|
|
@@ -14399,6 +14404,8 @@ var logInfoProperties = Symbol("logInfoProperties"), logInfo = ($, I, U) => {
|
|
|
14399
14404
|
const J = Y.value, Z = K;
|
|
14400
14405
|
Y.value = function(...Q) {
|
|
14401
14406
|
const ee = {
|
|
14407
|
+
F: "",
|
|
14408
|
+
L: 0,
|
|
14402
14409
|
...q ?? {},
|
|
14403
14410
|
S: this
|
|
14404
14411
|
}, te = Q.map((ne) => export_inspect(ne, !1, 1, !0)).join(", ");
|
|
@@ -14515,10 +14522,16 @@ var logInfoProperties = Symbol("logInfoProperties"), logInfo = ($, I, U) => {
|
|
|
14515
14522
|
]);
|
|
14516
14523
|
const J = Y[I.level] ?? console.log;
|
|
14517
14524
|
typeof ((ee = I.meta) == null ? void 0 : ee.C) == "function" ? I.meta.C(J, q) : J(...q);
|
|
14518
|
-
}, BROWSER_PROCESSOR = CONFIG.useTestProcessor ? TEST_BROWSER_PROCESSOR : APP_BROWSER_PROCESSOR,
|
|
14525
|
+
}, BROWSER_PROCESSOR = CONFIG.useTestProcessor ? TEST_BROWSER_PROCESSOR : APP_BROWSER_PROCESSOR, getRelativeFilename2 = ($) => {
|
|
14526
|
+
const I = $.match(/.+\/(packages\/.+\/.+)/);
|
|
14527
|
+
if (I) {
|
|
14528
|
+
const [, U] = I;
|
|
14529
|
+
return U;
|
|
14530
|
+
}
|
|
14531
|
+
return $;
|
|
14532
|
+
}, EAGAIN_MAX_DURATION = 1e3, createFileProcessor = ({ pathOrFd: $, levels: I, filters: U }) => {
|
|
14519
14533
|
let q;
|
|
14520
14534
|
return (G, K) => {
|
|
14521
|
-
var Z, Q;
|
|
14522
14535
|
if (I.length > 0 && !I.includes(K.level) || !shouldLog(K, U))
|
|
14523
14536
|
return;
|
|
14524
14537
|
if (typeof $ == "number")
|
|
@@ -14533,24 +14546,26 @@ var logInfoProperties = Symbol("logInfoProperties"), logInfo = ($, I, U) => {
|
|
|
14533
14546
|
const Y = {
|
|
14534
14547
|
...K,
|
|
14535
14548
|
timestamp: Date.now(),
|
|
14536
|
-
meta
|
|
14537
|
-
|
|
14538
|
-
|
|
14539
|
-
|
|
14540
|
-
|
|
14549
|
+
...K.meta ? {
|
|
14550
|
+
meta: {
|
|
14551
|
+
file: getRelativeFilename2(K.meta.F),
|
|
14552
|
+
line: K.meta.L
|
|
14553
|
+
}
|
|
14554
|
+
} : {},
|
|
14555
|
+
context: jsonlogify(getContextFromEntry(K))
|
|
14541
14556
|
};
|
|
14542
14557
|
let J = 0;
|
|
14543
14558
|
for (; ; )
|
|
14544
14559
|
try {
|
|
14545
14560
|
return appendFileSync(q, JSON.stringify(Y) + `
|
|
14546
14561
|
`);
|
|
14547
|
-
} catch (
|
|
14548
|
-
if (
|
|
14549
|
-
throw
|
|
14562
|
+
} catch (Z) {
|
|
14563
|
+
if (Z.code !== "EAGAIN")
|
|
14564
|
+
throw Z;
|
|
14550
14565
|
if (J === 0)
|
|
14551
14566
|
J = performance.now();
|
|
14552
14567
|
else if (performance.now() - J > EAGAIN_MAX_DURATION)
|
|
14553
|
-
throw console.log(`could not write after ${EAGAIN_MAX_DURATION}ms of EAGAIN failures, giving up`),
|
|
14568
|
+
throw console.log(`could not write after ${EAGAIN_MAX_DURATION}ms of EAGAIN failures, giving up`), Z;
|
|
14554
14569
|
}
|
|
14555
14570
|
};
|
|
14556
14571
|
}, logFilePath, getLogFilePath = () => (logFilePath ?? (logFilePath = process.env.LOG_FILE ?? (process.env.HOME ? `${process.env.HOME}/.dxlog/${(/* @__PURE__ */ new Date()).toISOString()}.log` : void 0)), logFilePath);
|
|
@@ -16018,7 +16033,7 @@ const arrow$1 = ($) => {
|
|
|
16018
16033
|
Re,
|
|
16019
16034
|
ye
|
|
16020
16035
|
]);
|
|
16021
|
-
const
|
|
16036
|
+
const Me = (G = He.arrow) === null || G === void 0 ? void 0 : G.x, Ye = (K = He.arrow) === null || K === void 0 ? void 0 : K.y, ct = ((Y = He.arrow) === null || Y === void 0 ? void 0 : Y.centerOffset) !== 0, [ut, wt] = useState();
|
|
16022
16037
|
$9f79659886946c16$export$e5c5a5f917a5871c$1(() => {
|
|
16023
16038
|
_e && wt(window.getComputedStyle(_e).zIndex);
|
|
16024
16039
|
}, [
|
|
@@ -16078,7 +16093,7 @@ const arrow$1 = ($) => {
|
|
|
16078
16093
|
scope: ee,
|
|
16079
16094
|
placedSide: Te,
|
|
16080
16095
|
onArrowChange: xe,
|
|
16081
|
-
arrowX:
|
|
16096
|
+
arrowX: Me,
|
|
16082
16097
|
arrowY: Ye,
|
|
16083
16098
|
shouldHideArrow: ct
|
|
16084
16099
|
}, Ut ? /* @__PURE__ */ createElement($cf1ac5d9fe0e8206$var$PositionContextProvider, {
|
|
@@ -20184,7 +20199,7 @@ lodash_merge.exports;
|
|
|
20184
20199
|
} catch {
|
|
20185
20200
|
}
|
|
20186
20201
|
}(), ye = be && be.isTypedArray;
|
|
20187
|
-
function
|
|
20202
|
+
function Me(Pe, Xe, we) {
|
|
20188
20203
|
switch (we.length) {
|
|
20189
20204
|
case 0:
|
|
20190
20205
|
return Pe.call(Xe);
|
|
@@ -20198,9 +20213,9 @@ lodash_merge.exports;
|
|
|
20198
20213
|
return Pe.apply(Xe, we);
|
|
20199
20214
|
}
|
|
20200
20215
|
function Ye(Pe, Xe) {
|
|
20201
|
-
for (var we = -1,
|
|
20202
|
-
|
|
20203
|
-
return
|
|
20216
|
+
for (var we = -1, Le = Array(Pe); ++we < Pe; )
|
|
20217
|
+
Le[we] = Xe(we);
|
|
20218
|
+
return Le;
|
|
20204
20219
|
}
|
|
20205
20220
|
function ct(Pe) {
|
|
20206
20221
|
return function(Xe) {
|
|
@@ -20242,8 +20257,8 @@ lodash_merge.exports;
|
|
|
20242
20257
|
function un(Pe) {
|
|
20243
20258
|
var Xe = -1, we = Pe == null ? 0 : Pe.length;
|
|
20244
20259
|
for (this.clear(); ++Xe < we; ) {
|
|
20245
|
-
var
|
|
20246
|
-
this.set(
|
|
20260
|
+
var Le = Pe[Xe];
|
|
20261
|
+
this.set(Le[0], Le[1]);
|
|
20247
20262
|
}
|
|
20248
20263
|
}
|
|
20249
20264
|
function Pn() {
|
|
@@ -20273,8 +20288,8 @@ lodash_merge.exports;
|
|
|
20273
20288
|
function ln(Pe) {
|
|
20274
20289
|
var Xe = -1, we = Pe == null ? 0 : Pe.length;
|
|
20275
20290
|
for (this.clear(); ++Xe < we; ) {
|
|
20276
|
-
var
|
|
20277
|
-
this.set(
|
|
20291
|
+
var Le = Pe[Xe];
|
|
20292
|
+
this.set(Le[0], Le[1]);
|
|
20278
20293
|
}
|
|
20279
20294
|
}
|
|
20280
20295
|
function Gn() {
|
|
@@ -20284,8 +20299,8 @@ lodash_merge.exports;
|
|
|
20284
20299
|
var Xe = this.__data__, we = dn(Xe, Pe);
|
|
20285
20300
|
if (we < 0)
|
|
20286
20301
|
return !1;
|
|
20287
|
-
var
|
|
20288
|
-
return we ==
|
|
20302
|
+
var Le = Xe.length - 1;
|
|
20303
|
+
return we == Le ? Xe.pop() : Dt.call(Xe, we, 1), --this.size, !0;
|
|
20289
20304
|
}
|
|
20290
20305
|
function Kn(Pe) {
|
|
20291
20306
|
var Xe = this.__data__, we = dn(Xe, Pe);
|
|
@@ -20295,15 +20310,15 @@ lodash_merge.exports;
|
|
|
20295
20310
|
return dn(this.__data__, Pe) > -1;
|
|
20296
20311
|
}
|
|
20297
20312
|
function vt(Pe, Xe) {
|
|
20298
|
-
var we = this.__data__,
|
|
20299
|
-
return
|
|
20313
|
+
var we = this.__data__, Le = dn(we, Pe);
|
|
20314
|
+
return Le < 0 ? (++this.size, we.push([Pe, Xe])) : we[Le][1] = Xe, this;
|
|
20300
20315
|
}
|
|
20301
20316
|
ln.prototype.clear = Gn, ln.prototype.delete = _n, ln.prototype.get = Kn, ln.prototype.has = We, ln.prototype.set = vt;
|
|
20302
20317
|
function xt(Pe) {
|
|
20303
20318
|
var Xe = -1, we = Pe == null ? 0 : Pe.length;
|
|
20304
20319
|
for (this.clear(); ++Xe < we; ) {
|
|
20305
|
-
var
|
|
20306
|
-
this.set(
|
|
20320
|
+
var Le = Pe[Xe];
|
|
20321
|
+
this.set(Le[0], Le[1]);
|
|
20307
20322
|
}
|
|
20308
20323
|
}
|
|
20309
20324
|
function Ne() {
|
|
@@ -20324,15 +20339,15 @@ lodash_merge.exports;
|
|
|
20324
20339
|
return gt(this, Pe).has(Pe);
|
|
20325
20340
|
}
|
|
20326
20341
|
function Rt(Pe, Xe) {
|
|
20327
|
-
var we = gt(this, Pe),
|
|
20328
|
-
return we.set(Pe, Xe), this.size += we.size ==
|
|
20342
|
+
var we = gt(this, Pe), Le = we.size;
|
|
20343
|
+
return we.set(Pe, Xe), this.size += we.size == Le ? 0 : 1, this;
|
|
20329
20344
|
}
|
|
20330
20345
|
xt.prototype.clear = Ne, xt.prototype.delete = ot, xt.prototype.get = dt, xt.prototype.has = Et, xt.prototype.set = Rt;
|
|
20331
20346
|
function Bt(Pe) {
|
|
20332
20347
|
var Xe = this.__data__ = new ln(Pe);
|
|
20333
20348
|
this.size = Xe.size;
|
|
20334
20349
|
}
|
|
20335
|
-
function
|
|
20350
|
+
function Mt() {
|
|
20336
20351
|
this.__data__ = new ln(), this.size = 0;
|
|
20337
20352
|
}
|
|
20338
20353
|
function Ot(Pe) {
|
|
@@ -20348,16 +20363,16 @@ lodash_merge.exports;
|
|
|
20348
20363
|
function Yt(Pe, Xe) {
|
|
20349
20364
|
var we = this.__data__;
|
|
20350
20365
|
if (we instanceof ln) {
|
|
20351
|
-
var
|
|
20352
|
-
if (!vn ||
|
|
20353
|
-
return
|
|
20354
|
-
we = this.__data__ = new xt(
|
|
20366
|
+
var Le = we.__data__;
|
|
20367
|
+
if (!vn || Le.length < U - 1)
|
|
20368
|
+
return Le.push([Pe, Xe]), this.size = ++we.size, this;
|
|
20369
|
+
we = this.__data__ = new xt(Le);
|
|
20355
20370
|
}
|
|
20356
20371
|
return we.set(Pe, Xe), this.size = we.size, this;
|
|
20357
20372
|
}
|
|
20358
|
-
Bt.prototype.clear =
|
|
20373
|
+
Bt.prototype.clear = Mt, Bt.prototype.delete = Ot, Bt.prototype.get = Zt, Bt.prototype.has = Qt, Bt.prototype.set = Yt;
|
|
20359
20374
|
function sn(Pe, Xe) {
|
|
20360
|
-
var we = et(Pe),
|
|
20375
|
+
var we = et(Pe), Le = !we && Fe(Pe), Ze = !we && !Le && nn(Pe), $t = !we && !Le && !Ze && yn(Pe), jt = we || Le || Ze || $t, Ft = jt ? Ye(Pe.length, String) : [], Vt = Ft.length;
|
|
20361
20376
|
for (var Gt in Pe)
|
|
20362
20377
|
(Xe || Ht.call(Pe, Gt)) && !(jt && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
20363
20378
|
(Gt == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -20370,8 +20385,8 @@ lodash_merge.exports;
|
|
|
20370
20385
|
(we !== void 0 && !qn(Pe[Xe], we) || we === void 0 && !(Xe in Pe)) && Bn(Pe, Xe, we);
|
|
20371
20386
|
}
|
|
20372
20387
|
function Yn(Pe, Xe, we) {
|
|
20373
|
-
var
|
|
20374
|
-
(!(Ht.call(Pe, Xe) && qn(
|
|
20388
|
+
var Le = Pe[Xe];
|
|
20389
|
+
(!(Ht.call(Pe, Xe) && qn(Le, we)) || we === void 0 && !(Xe in Pe)) && Bn(Pe, Xe, we);
|
|
20375
20390
|
}
|
|
20376
20391
|
function dn(Pe, Xe) {
|
|
20377
20392
|
for (var we = Pe.length; we--; )
|
|
@@ -20407,21 +20422,21 @@ lodash_merge.exports;
|
|
|
20407
20422
|
if (!an(Pe))
|
|
20408
20423
|
return wn(Pe);
|
|
20409
20424
|
var Xe = cn(Pe), we = [];
|
|
20410
|
-
for (var
|
|
20411
|
-
|
|
20425
|
+
for (var Le in Pe)
|
|
20426
|
+
Le == "constructor" && (Xe || !Ht.call(Pe, Le)) || we.push(Le);
|
|
20412
20427
|
return we;
|
|
20413
20428
|
}
|
|
20414
|
-
function zn(Pe, Xe, we,
|
|
20429
|
+
function zn(Pe, Xe, we, Le, Ze) {
|
|
20415
20430
|
Pe !== Xe && jn(Xe, function($t, jt) {
|
|
20416
20431
|
if (Ze || (Ze = new Bt()), an($t))
|
|
20417
|
-
ir(Pe, Xe, jt, we, zn,
|
|
20432
|
+
ir(Pe, Xe, jt, we, zn, Le, Ze);
|
|
20418
20433
|
else {
|
|
20419
|
-
var Ft =
|
|
20434
|
+
var Ft = Le ? Le(Wn(Pe, jt), $t, jt + "", Pe, Xe, Ze) : void 0;
|
|
20420
20435
|
Ft === void 0 && (Ft = $t), xn(Pe, jt, Ft);
|
|
20421
20436
|
}
|
|
20422
20437
|
}, gn);
|
|
20423
20438
|
}
|
|
20424
|
-
function ir(Pe, Xe, we,
|
|
20439
|
+
function ir(Pe, Xe, we, Le, Ze, $t, jt) {
|
|
20425
20440
|
var Ft = Wn(Pe, we), Vt = Wn(Xe, we), Gt = jt.get(Vt);
|
|
20426
20441
|
if (Gt) {
|
|
20427
20442
|
xn(Pe, we, Gt);
|
|
@@ -20430,12 +20445,12 @@ lodash_merge.exports;
|
|
|
20430
20445
|
var Xt = $t ? $t(Ft, Vt, we + "", Pe, Xe, jt) : void 0, En = Xt === void 0;
|
|
20431
20446
|
if (En) {
|
|
20432
20447
|
var Rn = et(Vt), er = !Rn && nn(Vt), cr = !Rn && !er && yn(Vt);
|
|
20433
|
-
Xt = Vt, Rn || er || cr ? et(Ft) ? Xt = Ft : Nt(Ft) ? Xt = Qe(Ft) : er ? (En = !1, Xt = Ve(Vt, !0)) : cr ? (En = !1, Xt = Je(Vt, !0)) : Xt = [] : hn(Vt) || Fe(Vt) ? (Xt = Ft, Fe(Ft) ? Xt = kn(Ft) : (!an(Ft) || qt(Ft)) && (Xt =
|
|
20448
|
+
Xt = Vt, Rn || er || cr ? et(Ft) ? Xt = Ft : Nt(Ft) ? Xt = Qe(Ft) : er ? (En = !1, Xt = Ve(Vt, !0)) : cr ? (En = !1, Xt = Je(Vt, !0)) : Xt = [] : hn(Vt) || Fe(Vt) ? (Xt = Ft, Fe(Ft) ? Xt = kn(Ft) : (!an(Ft) || qt(Ft)) && (Xt = Lt(Vt))) : En = !1;
|
|
20434
20449
|
}
|
|
20435
|
-
En && (jt.set(Vt, Xt), Ze(Xt, Vt,
|
|
20450
|
+
En && (jt.set(Vt, Xt), Ze(Xt, Vt, Le, $t, jt), jt.delete(Vt)), xn(Pe, we, Xt);
|
|
20436
20451
|
}
|
|
20437
20452
|
function tr(Pe, Xe) {
|
|
20438
|
-
return
|
|
20453
|
+
return Ln(Zn(Pe, Xe, Mn), Pe + "");
|
|
20439
20454
|
}
|
|
20440
20455
|
var Ae = Pt ? function(Pe, Xe) {
|
|
20441
20456
|
return Pt(Pe, "toString", {
|
|
@@ -20444,12 +20459,12 @@ lodash_merge.exports;
|
|
|
20444
20459
|
value: Cn(Xe),
|
|
20445
20460
|
writable: !0
|
|
20446
20461
|
});
|
|
20447
|
-
} :
|
|
20462
|
+
} : Mn;
|
|
20448
20463
|
function Ve(Pe, Xe) {
|
|
20449
20464
|
if (Xe)
|
|
20450
20465
|
return Pe.slice();
|
|
20451
|
-
var we = Pe.length,
|
|
20452
|
-
return Pe.copy(
|
|
20466
|
+
var we = Pe.length, Le = ke ? ke(we) : new Pe.constructor(we);
|
|
20467
|
+
return Pe.copy(Le), Le;
|
|
20453
20468
|
}
|
|
20454
20469
|
function Oe(Pe) {
|
|
20455
20470
|
var Xe = new Pe.constructor(Pe.byteLength);
|
|
@@ -20460,33 +20475,33 @@ lodash_merge.exports;
|
|
|
20460
20475
|
return new Pe.constructor(we, Pe.byteOffset, Pe.length);
|
|
20461
20476
|
}
|
|
20462
20477
|
function Qe(Pe, Xe) {
|
|
20463
|
-
var we = -1,
|
|
20464
|
-
for (Xe || (Xe = Array(
|
|
20478
|
+
var we = -1, Le = Pe.length;
|
|
20479
|
+
for (Xe || (Xe = Array(Le)); ++we < Le; )
|
|
20465
20480
|
Xe[we] = Pe[we];
|
|
20466
20481
|
return Xe;
|
|
20467
20482
|
}
|
|
20468
|
-
function Ke(Pe, Xe, we,
|
|
20483
|
+
function Ke(Pe, Xe, we, Le) {
|
|
20469
20484
|
var Ze = !we;
|
|
20470
20485
|
we || (we = {});
|
|
20471
20486
|
for (var $t = -1, jt = Xe.length; ++$t < jt; ) {
|
|
20472
|
-
var Ft = Xe[$t], Vt =
|
|
20487
|
+
var Ft = Xe[$t], Vt = Le ? Le(we[Ft], Pe[Ft], Ft, we, Pe) : void 0;
|
|
20473
20488
|
Vt === void 0 && (Vt = Pe[Ft]), Ze ? Bn(we, Ft, Vt) : Yn(we, Ft, Vt);
|
|
20474
20489
|
}
|
|
20475
20490
|
return we;
|
|
20476
20491
|
}
|
|
20477
20492
|
function ft(Pe) {
|
|
20478
20493
|
return tr(function(Xe, we) {
|
|
20479
|
-
var
|
|
20480
|
-
for ($t = Pe.length > 3 && typeof $t == "function" ? (Ze--, $t) : void 0, jt && Jt(we[0], we[1], jt) && ($t = Ze < 3 ? void 0 : $t, Ze = 1), Xe = Object(Xe); ++
|
|
20481
|
-
var Ft = we[
|
|
20482
|
-
Ft && Pe(Xe, Ft,
|
|
20494
|
+
var Le = -1, Ze = we.length, $t = Ze > 1 ? we[Ze - 1] : void 0, jt = Ze > 2 ? we[2] : void 0;
|
|
20495
|
+
for ($t = Pe.length > 3 && typeof $t == "function" ? (Ze--, $t) : void 0, jt && Jt(we[0], we[1], jt) && ($t = Ze < 3 ? void 0 : $t, Ze = 1), Xe = Object(Xe); ++Le < Ze; ) {
|
|
20496
|
+
var Ft = we[Le];
|
|
20497
|
+
Ft && Pe(Xe, Ft, Le, $t);
|
|
20483
20498
|
}
|
|
20484
20499
|
return Xe;
|
|
20485
20500
|
});
|
|
20486
20501
|
}
|
|
20487
20502
|
function pt(Pe) {
|
|
20488
|
-
return function(Xe, we,
|
|
20489
|
-
for (var Ze = -1, $t = Object(Xe), jt =
|
|
20503
|
+
return function(Xe, we, Le) {
|
|
20504
|
+
for (var Ze = -1, $t = Object(Xe), jt = Le(Xe), Ft = jt.length; Ft--; ) {
|
|
20490
20505
|
var Vt = jt[Pe ? Ft : ++Ze];
|
|
20491
20506
|
if (we($t[Vt], Vt, $t) === !1)
|
|
20492
20507
|
break;
|
|
@@ -20506,13 +20521,13 @@ lodash_merge.exports;
|
|
|
20506
20521
|
var Xe = Ht.call(Pe, Tt), we = Pe[Tt];
|
|
20507
20522
|
try {
|
|
20508
20523
|
Pe[Tt] = void 0;
|
|
20509
|
-
var
|
|
20524
|
+
var Le = !0;
|
|
20510
20525
|
} catch {
|
|
20511
20526
|
}
|
|
20512
20527
|
var Ze = Ct.call(Pe);
|
|
20513
|
-
return
|
|
20528
|
+
return Le && (Xe ? Pe[Tt] = we : delete Pe[Tt]), Ze;
|
|
20514
20529
|
}
|
|
20515
|
-
function
|
|
20530
|
+
function Lt(Pe) {
|
|
20516
20531
|
return typeof Pe.constructor == "function" && !cn(Pe) ? Tn(Se(Pe)) : {};
|
|
20517
20532
|
}
|
|
20518
20533
|
function Wt(Pe, Xe) {
|
|
@@ -20522,8 +20537,8 @@ lodash_merge.exports;
|
|
|
20522
20537
|
function Jt(Pe, Xe, we) {
|
|
20523
20538
|
if (!an(we))
|
|
20524
20539
|
return !1;
|
|
20525
|
-
var
|
|
20526
|
-
return (
|
|
20540
|
+
var Le = typeof Xe;
|
|
20541
|
+
return (Le == "number" ? yt(we) && Wt(Xe, we.length) : Le == "string" && Xe in we) ? qn(we[Xe], Pe) : !1;
|
|
20527
20542
|
}
|
|
20528
20543
|
function tn(Pe) {
|
|
20529
20544
|
var Xe = typeof Pe;
|
|
@@ -20548,24 +20563,24 @@ lodash_merge.exports;
|
|
|
20548
20563
|
}
|
|
20549
20564
|
function Zn(Pe, Xe, we) {
|
|
20550
20565
|
return Xe = Sn(Xe === void 0 ? Pe.length - 1 : Xe, 0), function() {
|
|
20551
|
-
for (var
|
|
20552
|
-
jt[Ze] =
|
|
20566
|
+
for (var Le = arguments, Ze = -1, $t = Sn(Le.length - Xe, 0), jt = Array($t); ++Ze < $t; )
|
|
20567
|
+
jt[Ze] = Le[Xe + Ze];
|
|
20553
20568
|
Ze = -1;
|
|
20554
20569
|
for (var Ft = Array(Xe + 1); ++Ze < Xe; )
|
|
20555
|
-
Ft[Ze] =
|
|
20556
|
-
return Ft[Xe] = we(jt),
|
|
20570
|
+
Ft[Ze] = Le[Ze];
|
|
20571
|
+
return Ft[Xe] = we(jt), Me(Pe, this, Ft);
|
|
20557
20572
|
};
|
|
20558
20573
|
}
|
|
20559
20574
|
function Wn(Pe, Xe) {
|
|
20560
20575
|
if (!(Xe === "constructor" && typeof Pe[Xe] == "function") && Xe != "__proto__")
|
|
20561
20576
|
return Pe[Xe];
|
|
20562
20577
|
}
|
|
20563
|
-
var
|
|
20578
|
+
var Ln = sr(Ae);
|
|
20564
20579
|
function sr(Pe) {
|
|
20565
20580
|
var Xe = 0, we = 0;
|
|
20566
20581
|
return function() {
|
|
20567
|
-
var
|
|
20568
|
-
if (we =
|
|
20582
|
+
var Le = bn(), Ze = K - (Le - we);
|
|
20583
|
+
if (we = Le, Ze > 0) {
|
|
20569
20584
|
if (++Xe >= G)
|
|
20570
20585
|
return arguments[0];
|
|
20571
20586
|
} else
|
|
@@ -20641,7 +20656,7 @@ lodash_merge.exports;
|
|
|
20641
20656
|
return Pe;
|
|
20642
20657
|
};
|
|
20643
20658
|
}
|
|
20644
|
-
function
|
|
20659
|
+
function Mn(Pe) {
|
|
20645
20660
|
return Pe;
|
|
20646
20661
|
}
|
|
20647
20662
|
function Dn() {
|
|
@@ -69541,11 +69556,11 @@ var CreateEpochRequest;
|
|
|
69541
69556
|
var Invitation;
|
|
69542
69557
|
(function($) {
|
|
69543
69558
|
(function(I) {
|
|
69544
|
-
I[I.INTERACTIVE = 0] = "INTERACTIVE", I[I.
|
|
69559
|
+
I[I.INTERACTIVE = 0] = "INTERACTIVE", I[I.DELEGATED = 1] = "DELEGATED", I[I.MULTIUSE = 2] = "MULTIUSE";
|
|
69545
69560
|
})($.Type || ($.Type = {})), function(I) {
|
|
69546
69561
|
I[I.DEVICE = 0] = "DEVICE", I[I.SPACE = 1] = "SPACE";
|
|
69547
69562
|
}($.Kind || ($.Kind = {})), function(I) {
|
|
69548
|
-
I[I.NONE = 0] = "NONE", I[I.SHARED_SECRET = 1] = "SHARED_SECRET";
|
|
69563
|
+
I[I.NONE = 0] = "NONE", I[I.SHARED_SECRET = 1] = "SHARED_SECRET", I[I.KNOWN_PUBLIC_KEY = 2] = "KNOWN_PUBLIC_KEY";
|
|
69549
69564
|
}($.AuthMethod || ($.AuthMethod = {})), function(I) {
|
|
69550
69565
|
I[I.INIT = 0] = "INIT", I[I.CONNECTING = 1] = "CONNECTING", I[I.CONNECTED = 2] = "CONNECTED", I[I.READY_FOR_AUTHENTICATION = 3] = "READY_FOR_AUTHENTICATION", I[I.AUTHENTICATING = 4] = "AUTHENTICATING", I[I.SUCCESS = 5] = "SUCCESS", I[I.CANCELLED = 6] = "CANCELLED", I[I.TIMEOUT = 7] = "TIMEOUT", I[I.ERROR = 8] = "ERROR", I[I.EXPIRED = 9] = "EXPIRED";
|
|
69551
69566
|
}($.State || ($.State = {}));
|
|
@@ -70959,13 +70974,13 @@ ieee754.write = function($, I, U, q, G, K) {
|
|
|
70959
70974
|
}, J.prototype.readUint32BE = J.prototype.readUInt32BE = function(ie, oe) {
|
|
70960
70975
|
return ie = ie >>> 0, oe || tt(ie, 4, this.length), this[ie] * 16777216 + (this[ie + 1] << 16 | this[ie + 2] << 8 | this[ie + 3]);
|
|
70961
70976
|
}, J.prototype.readBigUInt64LE = Ct(function(ie) {
|
|
70962
|
-
ie = ie >>> 0,
|
|
70977
|
+
ie = ie >>> 0, Me(ie, "offset");
|
|
70963
70978
|
const oe = this[ie], pe = this[ie + 7];
|
|
70964
70979
|
(oe === void 0 || pe === void 0) && Ye(ie, this.length - 8);
|
|
70965
70980
|
const ke = oe + this[++ie] * 2 ** 8 + this[++ie] * 2 ** 16 + this[++ie] * 2 ** 24, Se = this[++ie] + this[++ie] * 2 ** 8 + this[++ie] * 2 ** 16 + pe * 2 ** 24;
|
|
70966
70981
|
return BigInt(ke) + (BigInt(Se) << BigInt(32));
|
|
70967
70982
|
}), J.prototype.readBigUInt64BE = Ct(function(ie) {
|
|
70968
|
-
ie = ie >>> 0,
|
|
70983
|
+
ie = ie >>> 0, Me(ie, "offset");
|
|
70969
70984
|
const oe = this[ie], pe = this[ie + 7];
|
|
70970
70985
|
(oe === void 0 || pe === void 0) && Ye(ie, this.length - 8);
|
|
70971
70986
|
const ke = oe * 2 ** 24 + this[++ie] * 2 ** 16 + this[++ie] * 2 ** 8 + this[++ie], Se = this[++ie] * 2 ** 24 + this[++ie] * 2 ** 16 + this[++ie] * 2 ** 8 + pe;
|
|
@@ -70997,13 +71012,13 @@ ieee754.write = function($, I, U, q, G, K) {
|
|
|
70997
71012
|
}, J.prototype.readInt32BE = function(ie, oe) {
|
|
70998
71013
|
return ie = ie >>> 0, oe || tt(ie, 4, this.length), this[ie] << 24 | this[ie + 1] << 16 | this[ie + 2] << 8 | this[ie + 3];
|
|
70999
71014
|
}, J.prototype.readBigInt64LE = Ct(function(ie) {
|
|
71000
|
-
ie = ie >>> 0,
|
|
71015
|
+
ie = ie >>> 0, Me(ie, "offset");
|
|
71001
71016
|
const oe = this[ie], pe = this[ie + 7];
|
|
71002
71017
|
(oe === void 0 || pe === void 0) && Ye(ie, this.length - 8);
|
|
71003
71018
|
const ke = this[ie + 4] + this[ie + 5] * 2 ** 8 + this[ie + 6] * 2 ** 16 + (pe << 24);
|
|
71004
71019
|
return (BigInt(ke) << BigInt(32)) + BigInt(oe + this[++ie] * 2 ** 8 + this[++ie] * 2 ** 16 + this[++ie] * 2 ** 24);
|
|
71005
71020
|
}), J.prototype.readBigInt64BE = Ct(function(ie) {
|
|
71006
|
-
ie = ie >>> 0,
|
|
71021
|
+
ie = ie >>> 0, Me(ie, "offset");
|
|
71007
71022
|
const oe = this[ie], pe = this[ie + 7];
|
|
71008
71023
|
(oe === void 0 || pe === void 0) && Ye(ie, this.length - 8);
|
|
71009
71024
|
const ke = (oe << 24) + // Overflow
|
|
@@ -71229,7 +71244,7 @@ ieee754.write = function($, I, U, q, G, K) {
|
|
|
71229
71244
|
return `${de.slice(0, oe)}${ie}`;
|
|
71230
71245
|
}
|
|
71231
71246
|
function be(de, ie, oe) {
|
|
71232
|
-
|
|
71247
|
+
Me(ie, "offset"), (de[ie] === void 0 || de[ie + oe] === void 0) && Ye(ie, de.length - (oe + 1));
|
|
71233
71248
|
}
|
|
71234
71249
|
function ye(de, ie, oe, pe, ke, Se) {
|
|
71235
71250
|
if (de > oe || de < ie) {
|
|
@@ -71239,12 +71254,12 @@ ieee754.write = function($, I, U, q, G, K) {
|
|
|
71239
71254
|
}
|
|
71240
71255
|
be(pe, ke, Se);
|
|
71241
71256
|
}
|
|
71242
|
-
function
|
|
71257
|
+
function Me(de, ie) {
|
|
71243
71258
|
if (typeof de != "number")
|
|
71244
71259
|
throw new Ie.ERR_INVALID_ARG_TYPE(ie, "number", de);
|
|
71245
71260
|
}
|
|
71246
71261
|
function Ye(de, ie, oe) {
|
|
71247
|
-
throw Math.floor(de) !== de ? (
|
|
71262
|
+
throw Math.floor(de) !== de ? (Me(de, oe), new Ie.ERR_OUT_OF_RANGE(oe || "offset", "an integer", de)) : ie < 0 ? new Ie.ERR_BUFFER_OUT_OF_BOUNDS() : new Ie.ERR_OUT_OF_RANGE(
|
|
71248
71263
|
oe || "offset",
|
|
71249
71264
|
`>= ${oe ? 1 : 0} and <= ${ie}`,
|
|
71250
71265
|
de
|
|
@@ -71787,8 +71802,8 @@ function require_stream_writable() {
|
|
|
71787
71802
|
var ye = Ee(He, Re, Te);
|
|
71788
71803
|
Re !== ye && (Ie = !0, Te = "buffer", Re = ye);
|
|
71789
71804
|
}
|
|
71790
|
-
var
|
|
71791
|
-
He.length +=
|
|
71805
|
+
var Me = He.objectMode ? 1 : Re.length;
|
|
71806
|
+
He.length += Me;
|
|
71792
71807
|
var Ye = He.length < He.highWaterMark;
|
|
71793
71808
|
if (Ye || (He.needDrain = !0), He.writing || He.corked) {
|
|
71794
71809
|
var ct = He.lastBufferedRequest;
|
|
@@ -71800,7 +71815,7 @@ function require_stream_writable() {
|
|
|
71800
71815
|
next: null
|
|
71801
71816
|
}, ct ? ct.next = He.lastBufferedRequest : He.bufferedRequest = He.lastBufferedRequest, He.bufferedRequestCount += 1;
|
|
71802
71817
|
} else
|
|
71803
|
-
Be(Ue, He, !1,
|
|
71818
|
+
Be(Ue, He, !1, Me, Re, Te, be);
|
|
71804
71819
|
return Ye;
|
|
71805
71820
|
}
|
|
71806
71821
|
function Be(Ue, He, Ie, Re, Te, be, ye) {
|
|
@@ -71835,9 +71850,9 @@ function require_stream_writable() {
|
|
|
71835
71850
|
if (Ue._writev && Ie && Ie.next) {
|
|
71836
71851
|
var Re = He.bufferedRequestCount, Te = new Array(Re), be = He.corkedRequestsFree;
|
|
71837
71852
|
be.entry = Ie;
|
|
71838
|
-
for (var ye = 0,
|
|
71839
|
-
Te[ye] = Ie, Ie.isBuf || (
|
|
71840
|
-
Te.allBuffers =
|
|
71853
|
+
for (var ye = 0, Me = !0; Ie; )
|
|
71854
|
+
Te[ye] = Ie, Ie.isBuf || (Me = !1), Ie = Ie.next, ye += 1;
|
|
71855
|
+
Te.allBuffers = Me, Be(Ue, He, !0, He.length, Te, "", be.finish), He.pendingcb++, He.lastBufferedRequest = null, be.next ? (He.corkedRequestsFree = be.next, be.next = null) : He.corkedRequestsFree = new $(He), He.bufferedRequestCount = 0;
|
|
71841
71856
|
} else {
|
|
71842
71857
|
for (; Ie; ) {
|
|
71843
71858
|
var Ye = Ie.chunk, ct = Ie.encoding, ut = Ie.callback, wt = He.objectMode ? 1 : Ye.length;
|
|
@@ -72343,8 +72358,8 @@ function require_stream_readable() {
|
|
|
72343
72358
|
hasRequired_stream_readable = 1, _stream_readable = $e;
|
|
72344
72359
|
var $;
|
|
72345
72360
|
$e.ReadableState = _e, eventsExports.EventEmitter;
|
|
72346
|
-
var I = function(ye,
|
|
72347
|
-
return ye.listeners(
|
|
72361
|
+
var I = function(ye, Me) {
|
|
72362
|
+
return ye.listeners(Me).length;
|
|
72348
72363
|
}, U = streamBrowser, q = buffer.Buffer, G = commonjsGlobal.Uint8Array || function() {
|
|
72349
72364
|
};
|
|
72350
72365
|
function K(be) {
|
|
@@ -72359,13 +72374,13 @@ function require_stream_readable() {
|
|
|
72359
72374
|
var Q = requireBuffer_list(), ee = destroy_1, te = state, ne = te.getHighWaterMark, re = errorsBrowser.codes, ae = re.ERR_INVALID_ARG_TYPE, se = re.ERR_STREAM_PUSH_AFTER_EOF, fe = re.ERR_METHOD_NOT_IMPLEMENTED, le = re.ERR_STREAM_UNSHIFT_AFTER_END_EVENT, ce, ue, he;
|
|
72360
72375
|
inherits_browserExports($e, U);
|
|
72361
72376
|
var ve = ee.errorOrDestroy, me = ["error", "close", "destroy", "pause", "resume"];
|
|
72362
|
-
function ge(be, ye,
|
|
72377
|
+
function ge(be, ye, Me) {
|
|
72363
72378
|
if (typeof be.prependListener == "function")
|
|
72364
|
-
return be.prependListener(ye,
|
|
72365
|
-
!be._events || !be._events[ye] ? be.on(ye,
|
|
72379
|
+
return be.prependListener(ye, Me);
|
|
72380
|
+
!be._events || !be._events[ye] ? be.on(ye, Me) : Array.isArray(be._events[ye]) ? be._events[ye].unshift(Me) : be._events[ye] = [Me, be._events[ye]];
|
|
72366
72381
|
}
|
|
72367
|
-
function _e(be, ye,
|
|
72368
|
-
$ = $ || require_stream_duplex(), be = be || {}, typeof
|
|
72382
|
+
function _e(be, ye, Me) {
|
|
72383
|
+
$ = $ || require_stream_duplex(), be = be || {}, typeof Me != "boolean" && (Me = ye instanceof $), this.objectMode = !!be.objectMode, Me && (this.objectMode = this.objectMode || !!be.readableObjectMode), this.highWaterMark = ne(this, be, "readableHighWaterMark", Me), this.buffer = new Q(), this.length = 0, this.pipes = null, this.pipesCount = 0, this.flowing = null, this.ended = !1, this.endEmitted = !1, this.reading = !1, this.sync = !0, this.needReadable = !1, this.emittedReadable = !1, this.readableListening = !1, this.resumeScheduled = !1, this.paused = !0, this.emitClose = be.emitClose !== !1, this.autoDestroy = !!be.autoDestroy, this.destroyed = !1, this.defaultEncoding = be.defaultEncoding || "utf8", this.awaitDrain = 0, this.readingMore = !1, this.decoder = null, this.encoding = null, be.encoding && (ce || (ce = requireString_decoder().StringDecoder), this.decoder = new ce(be.encoding), this.encoding = be.encoding);
|
|
72369
72384
|
}
|
|
72370
72385
|
function $e(be) {
|
|
72371
72386
|
if ($ = $ || require_stream_duplex(), !(this instanceof $e))
|
|
@@ -72387,12 +72402,12 @@ function require_stream_readable() {
|
|
|
72387
72402
|
}), $e.prototype.destroy = ee.destroy, $e.prototype._undestroy = ee.undestroy, $e.prototype._destroy = function(be, ye) {
|
|
72388
72403
|
ye(be);
|
|
72389
72404
|
}, $e.prototype.push = function(be, ye) {
|
|
72390
|
-
var
|
|
72391
|
-
return
|
|
72405
|
+
var Me = this._readableState, Ye;
|
|
72406
|
+
return Me.objectMode ? Ye = !0 : typeof be == "string" && (ye = ye || Me.defaultEncoding, ye !== Me.encoding && (be = q.from(be, ye), ye = ""), Ye = !0), Ce(this, be, ye, !1, Ye);
|
|
72392
72407
|
}, $e.prototype.unshift = function(be) {
|
|
72393
72408
|
return Ce(this, be, null, !0, !1);
|
|
72394
72409
|
};
|
|
72395
|
-
function Ce(be, ye,
|
|
72410
|
+
function Ce(be, ye, Me, Ye, ct) {
|
|
72396
72411
|
Z("readableAddChunk", ye);
|
|
72397
72412
|
var ut = be._readableState;
|
|
72398
72413
|
if (ye === null)
|
|
@@ -72409,19 +72424,19 @@ function require_stream_readable() {
|
|
|
72409
72424
|
else {
|
|
72410
72425
|
if (ut.destroyed)
|
|
72411
72426
|
return !1;
|
|
72412
|
-
ut.reading = !1, ut.decoder && !
|
|
72427
|
+
ut.reading = !1, ut.decoder && !Me ? (ye = ut.decoder.write(ye), ut.objectMode || ye.length !== 0 ? Ee(be, ut, ye, !1) : at(be, ut)) : Ee(be, ut, ye, !1);
|
|
72413
72428
|
}
|
|
72414
72429
|
else
|
|
72415
72430
|
Ye || (ut.reading = !1, at(be, ut));
|
|
72416
72431
|
}
|
|
72417
72432
|
return !ut.ended && (ut.length < ut.highWaterMark || ut.length === 0);
|
|
72418
72433
|
}
|
|
72419
|
-
function Ee(be, ye,
|
|
72420
|
-
ye.flowing && ye.length === 0 && !ye.sync ? (ye.awaitDrain = 0, be.emit("data",
|
|
72434
|
+
function Ee(be, ye, Me, Ye) {
|
|
72435
|
+
ye.flowing && ye.length === 0 && !ye.sync ? (ye.awaitDrain = 0, be.emit("data", Me)) : (ye.length += ye.objectMode ? 1 : Me.length, Ye ? ye.buffer.unshift(Me) : ye.buffer.push(Me), ye.needReadable && st(be)), at(be, ye);
|
|
72421
72436
|
}
|
|
72422
72437
|
function xe(be, ye) {
|
|
72423
|
-
var
|
|
72424
|
-
return !Y(ye) && typeof ye != "string" && ye !== void 0 && !be.objectMode && (
|
|
72438
|
+
var Me;
|
|
72439
|
+
return !Y(ye) && typeof ye != "string" && ye !== void 0 && !be.objectMode && (Me = new ae("chunk", ["string", "Buffer", "Uint8Array"], ye)), Me;
|
|
72425
72440
|
}
|
|
72426
72441
|
$e.prototype.isPaused = function() {
|
|
72427
72442
|
return this._readableState.flowing === !1;
|
|
@@ -72429,8 +72444,8 @@ function require_stream_readable() {
|
|
|
72429
72444
|
ce || (ce = requireString_decoder().StringDecoder);
|
|
72430
72445
|
var ye = new ce(be);
|
|
72431
72446
|
this._readableState.decoder = ye, this._readableState.encoding = this._readableState.decoder.encoding;
|
|
72432
|
-
for (var
|
|
72433
|
-
Ye += ye.write(
|
|
72447
|
+
for (var Me = this._readableState.buffer.head, Ye = ""; Me !== null; )
|
|
72448
|
+
Ye += ye.write(Me.data), Me = Me.next;
|
|
72434
72449
|
return this._readableState.buffer.clear(), Ye !== "" && this._readableState.buffer.push(Ye), this._readableState.length = Ye.length, this;
|
|
72435
72450
|
};
|
|
72436
72451
|
var Be = 1073741824;
|
|
@@ -72442,21 +72457,21 @@ function require_stream_readable() {
|
|
|
72442
72457
|
}
|
|
72443
72458
|
$e.prototype.read = function(be) {
|
|
72444
72459
|
Z("read", be), be = parseInt(be, 10);
|
|
72445
|
-
var ye = this._readableState,
|
|
72460
|
+
var ye = this._readableState, Me = be;
|
|
72446
72461
|
if (be !== 0 && (ye.emittedReadable = !1), be === 0 && ye.needReadable && ((ye.highWaterMark !== 0 ? ye.length >= ye.highWaterMark : ye.length > 0) || ye.ended))
|
|
72447
72462
|
return Z("read: emitReadable", ye.length, ye.ended), ye.length === 0 && ye.ended ? Ie(this) : st(this), null;
|
|
72448
72463
|
if (be = Ge(be, ye), be === 0 && ye.ended)
|
|
72449
72464
|
return ye.length === 0 && Ie(this), null;
|
|
72450
72465
|
var Ye = ye.needReadable;
|
|
72451
|
-
Z("need readable", Ye), (ye.length === 0 || ye.length - be < ye.highWaterMark) && (Ye = !0, Z("length less than watermark", Ye)), ye.ended || ye.reading ? (Ye = !1, Z("reading or ended", Ye)) : Ye && (Z("do read"), ye.reading = !0, ye.sync = !0, ye.length === 0 && (ye.needReadable = !0), this._read(ye.highWaterMark), ye.sync = !1, ye.reading || (be = Ge(
|
|
72466
|
+
Z("need readable", Ye), (ye.length === 0 || ye.length - be < ye.highWaterMark) && (Ye = !0, Z("length less than watermark", Ye)), ye.ended || ye.reading ? (Ye = !1, Z("reading or ended", Ye)) : Ye && (Z("do read"), ye.reading = !0, ye.sync = !0, ye.length === 0 && (ye.needReadable = !0), this._read(ye.highWaterMark), ye.sync = !1, ye.reading || (be = Ge(Me, ye)));
|
|
72452
72467
|
var ct;
|
|
72453
|
-
return be > 0 ? ct = He(be, ye) : ct = null, ct === null ? (ye.needReadable = ye.length <= ye.highWaterMark, be = 0) : (ye.length -= be, ye.awaitDrain = 0), ye.length === 0 && (ye.ended || (ye.needReadable = !0),
|
|
72468
|
+
return be > 0 ? ct = He(be, ye) : ct = null, ct === null ? (ye.needReadable = ye.length <= ye.highWaterMark, be = 0) : (ye.length -= be, ye.awaitDrain = 0), ye.length === 0 && (ye.ended || (ye.needReadable = !0), Me !== be && ye.ended && Ie(this)), ct !== null && this.emit("data", ct), ct;
|
|
72454
72469
|
};
|
|
72455
72470
|
function rt(be, ye) {
|
|
72456
72471
|
if (Z("onEofChunk"), !ye.ended) {
|
|
72457
72472
|
if (ye.decoder) {
|
|
72458
|
-
var
|
|
72459
|
-
|
|
72473
|
+
var Me = ye.decoder.end();
|
|
72474
|
+
Me && Me.length && (ye.buffer.push(Me), ye.length += ye.objectMode ? 1 : Me.length);
|
|
72460
72475
|
}
|
|
72461
72476
|
ye.ended = !0, ye.sync ? st(be) : (ye.needReadable = !1, ye.emittedReadable || (ye.emittedReadable = !0, lt(be)));
|
|
72462
72477
|
}
|
|
@@ -72474,8 +72489,8 @@ function require_stream_readable() {
|
|
|
72474
72489
|
}
|
|
72475
72490
|
function ht(be, ye) {
|
|
72476
72491
|
for (; !ye.reading && !ye.ended && (ye.length < ye.highWaterMark || ye.flowing && ye.length === 0); ) {
|
|
72477
|
-
var
|
|
72478
|
-
if (Z("maybeReadMore read 0"), be.read(0),
|
|
72492
|
+
var Me = ye.length;
|
|
72493
|
+
if (Z("maybeReadMore read 0"), be.read(0), Me === ye.length)
|
|
72479
72494
|
break;
|
|
72480
72495
|
}
|
|
72481
72496
|
ye.readingMore = !1;
|
|
@@ -72483,7 +72498,7 @@ function require_stream_readable() {
|
|
|
72483
72498
|
$e.prototype._read = function(be) {
|
|
72484
72499
|
ve(this, new fe("_read()"));
|
|
72485
72500
|
}, $e.prototype.pipe = function(be, ye) {
|
|
72486
|
-
var
|
|
72501
|
+
var Me = this, Ye = this._readableState;
|
|
72487
72502
|
switch (Ye.pipesCount) {
|
|
72488
72503
|
case 0:
|
|
72489
72504
|
Ye.pipes = be;
|
|
@@ -72497,24 +72512,24 @@ function require_stream_readable() {
|
|
|
72497
72512
|
}
|
|
72498
72513
|
Ye.pipesCount += 1, Z("pipe count=%d opts=%j", Ye.pipesCount, ye);
|
|
72499
72514
|
var ct = (!ye || ye.end !== !1) && be !== process.stdout && be !== process.stderr, ut = ct ? St : zt;
|
|
72500
|
-
Ye.endEmitted ? process.nextTick(ut) :
|
|
72515
|
+
Ye.endEmitted ? process.nextTick(ut) : Me.once("end", ut), be.on("unpipe", wt);
|
|
72501
72516
|
function wt(de, ie) {
|
|
72502
|
-
Z("onunpipe"), de ===
|
|
72517
|
+
Z("onunpipe"), de === Me && ie && ie.hasUnpiped === !1 && (ie.hasUnpiped = !0, Kt());
|
|
72503
72518
|
}
|
|
72504
72519
|
function St() {
|
|
72505
72520
|
Z("onend"), be.end();
|
|
72506
72521
|
}
|
|
72507
|
-
var it = tt(
|
|
72522
|
+
var it = tt(Me);
|
|
72508
72523
|
be.on("drain", it);
|
|
72509
72524
|
var Ut = !1;
|
|
72510
72525
|
function Kt() {
|
|
72511
|
-
Z("cleanup"), be.removeListener("close", rn), be.removeListener("finish", Ct), be.removeListener("drain", it), be.removeListener("error", Ht), be.removeListener("unpipe", wt),
|
|
72526
|
+
Z("cleanup"), be.removeListener("close", rn), be.removeListener("finish", Ct), be.removeListener("drain", it), be.removeListener("error", Ht), be.removeListener("unpipe", wt), Me.removeListener("end", St), Me.removeListener("end", zt), Me.removeListener("data", It), Ut = !0, Ye.awaitDrain && (!be._writableState || be._writableState.needDrain) && it();
|
|
72512
72527
|
}
|
|
72513
|
-
|
|
72528
|
+
Me.on("data", It);
|
|
72514
72529
|
function It(de) {
|
|
72515
72530
|
Z("ondata");
|
|
72516
72531
|
var ie = be.write(de);
|
|
72517
|
-
Z("dest.write", ie), ie === !1 && ((Ye.pipesCount === 1 && Ye.pipes === be || Ye.pipesCount > 1 && Te(Ye.pipes, be) !== -1) && !Ut && (Z("false write response, pause", Ye.awaitDrain), Ye.awaitDrain++),
|
|
72532
|
+
Z("dest.write", ie), ie === !1 && ((Ye.pipesCount === 1 && Ye.pipes === be || Ye.pipesCount > 1 && Te(Ye.pipes, be) !== -1) && !Ut && (Z("false write response, pause", Ye.awaitDrain), Ye.awaitDrain++), Me.pause());
|
|
72518
72533
|
}
|
|
72519
72534
|
function Ht(de) {
|
|
72520
72535
|
Z("onerror", de), zt(), be.removeListener("error", Ht), I(be, "error") === 0 && ve(be, de);
|
|
@@ -72529,24 +72544,24 @@ function require_stream_readable() {
|
|
|
72529
72544
|
}
|
|
72530
72545
|
be.once("finish", Ct);
|
|
72531
72546
|
function zt() {
|
|
72532
|
-
Z("unpipe"),
|
|
72547
|
+
Z("unpipe"), Me.unpipe(be);
|
|
72533
72548
|
}
|
|
72534
|
-
return be.emit("pipe",
|
|
72549
|
+
return be.emit("pipe", Me), Ye.flowing || (Z("pipe resume"), Me.resume()), be;
|
|
72535
72550
|
};
|
|
72536
72551
|
function tt(be) {
|
|
72537
72552
|
return function() {
|
|
72538
|
-
var
|
|
72539
|
-
Z("pipeOnDrain",
|
|
72553
|
+
var Me = be._readableState;
|
|
72554
|
+
Z("pipeOnDrain", Me.awaitDrain), Me.awaitDrain && Me.awaitDrain--, Me.awaitDrain === 0 && I(be, "data") && (Me.flowing = !0, Ue(be));
|
|
72540
72555
|
};
|
|
72541
72556
|
}
|
|
72542
72557
|
$e.prototype.unpipe = function(be) {
|
|
72543
|
-
var ye = this._readableState,
|
|
72558
|
+
var ye = this._readableState, Me = {
|
|
72544
72559
|
hasUnpiped: !1
|
|
72545
72560
|
};
|
|
72546
72561
|
if (ye.pipesCount === 0)
|
|
72547
72562
|
return this;
|
|
72548
72563
|
if (ye.pipesCount === 1)
|
|
72549
|
-
return be && be !== ye.pipes ? this : (be || (be = ye.pipes), ye.pipes = null, ye.pipesCount = 0, ye.flowing = !1, be && be.emit("unpipe", this,
|
|
72564
|
+
return be && be !== ye.pipes ? this : (be || (be = ye.pipes), ye.pipes = null, ye.pipesCount = 0, ye.flowing = !1, be && be.emit("unpipe", this, Me), this);
|
|
72550
72565
|
if (!be) {
|
|
72551
72566
|
var Ye = ye.pipes, ct = ye.pipesCount;
|
|
72552
72567
|
ye.pipes = null, ye.pipesCount = 0, ye.flowing = !1;
|
|
@@ -72557,13 +72572,13 @@ function require_stream_readable() {
|
|
|
72557
72572
|
return this;
|
|
72558
72573
|
}
|
|
72559
72574
|
var wt = Te(ye.pipes, be);
|
|
72560
|
-
return wt === -1 ? this : (ye.pipes.splice(wt, 1), ye.pipesCount -= 1, ye.pipesCount === 1 && (ye.pipes = ye.pipes[0]), be.emit("unpipe", this,
|
|
72575
|
+
return wt === -1 ? this : (ye.pipes.splice(wt, 1), ye.pipesCount -= 1, ye.pipesCount === 1 && (ye.pipes = ye.pipes[0]), be.emit("unpipe", this, Me), this);
|
|
72561
72576
|
}, $e.prototype.on = function(be, ye) {
|
|
72562
|
-
var
|
|
72563
|
-
return be === "data" ? (Ye.readableListening = this.listenerCount("readable") > 0, Ye.flowing !== !1 && this.resume()) : be === "readable" && !Ye.endEmitted && !Ye.readableListening && (Ye.readableListening = Ye.needReadable = !0, Ye.flowing = !1, Ye.emittedReadable = !1, Z("on readable", Ye.length, Ye.reading), Ye.length ? st(this) : Ye.reading || process.nextTick(qe, this)),
|
|
72577
|
+
var Me = U.prototype.on.call(this, be, ye), Ye = this._readableState;
|
|
72578
|
+
return be === "data" ? (Ye.readableListening = this.listenerCount("readable") > 0, Ye.flowing !== !1 && this.resume()) : be === "readable" && !Ye.endEmitted && !Ye.readableListening && (Ye.readableListening = Ye.needReadable = !0, Ye.flowing = !1, Ye.emittedReadable = !1, Z("on readable", Ye.length, Ye.reading), Ye.length ? st(this) : Ye.reading || process.nextTick(qe, this)), Me;
|
|
72564
72579
|
}, $e.prototype.addListener = $e.prototype.on, $e.prototype.removeListener = function(be, ye) {
|
|
72565
|
-
var
|
|
72566
|
-
return be === "readable" && process.nextTick(ze, this),
|
|
72580
|
+
var Me = U.prototype.removeListener.call(this, be, ye);
|
|
72581
|
+
return be === "readable" && process.nextTick(ze, this), Me;
|
|
72567
72582
|
}, $e.prototype.removeAllListeners = function(be) {
|
|
72568
72583
|
var ye = U.prototype.removeAllListeners.apply(this, arguments);
|
|
72569
72584
|
return (be === "readable" || be === void 0) && process.nextTick(ze, this), ye;
|
|
@@ -72594,15 +72609,15 @@ function require_stream_readable() {
|
|
|
72594
72609
|
;
|
|
72595
72610
|
}
|
|
72596
72611
|
$e.prototype.wrap = function(be) {
|
|
72597
|
-
var ye = this,
|
|
72612
|
+
var ye = this, Me = this._readableState, Ye = !1;
|
|
72598
72613
|
be.on("end", function() {
|
|
72599
|
-
if (Z("wrapped end"),
|
|
72600
|
-
var wt =
|
|
72614
|
+
if (Z("wrapped end"), Me.decoder && !Me.ended) {
|
|
72615
|
+
var wt = Me.decoder.end();
|
|
72601
72616
|
wt && wt.length && ye.push(wt);
|
|
72602
72617
|
}
|
|
72603
72618
|
ye.push(null);
|
|
72604
72619
|
}), be.on("data", function(wt) {
|
|
72605
|
-
if (Z("wrapped data"),
|
|
72620
|
+
if (Z("wrapped data"), Me.decoder && (wt = Me.decoder.write(wt)), !(Me.objectMode && wt == null) && !(!Me.objectMode && (!wt || !wt.length))) {
|
|
72606
72621
|
var St = ye.push(wt);
|
|
72607
72622
|
St || (Ye = !0, be.pause());
|
|
72608
72623
|
}
|
|
@@ -72659,8 +72674,8 @@ function require_stream_readable() {
|
|
|
72659
72674
|
function He(be, ye) {
|
|
72660
72675
|
if (ye.length === 0)
|
|
72661
72676
|
return null;
|
|
72662
|
-
var
|
|
72663
|
-
return ye.objectMode ?
|
|
72677
|
+
var Me;
|
|
72678
|
+
return ye.objectMode ? Me = ye.buffer.shift() : !be || be >= ye.length ? (ye.decoder ? Me = ye.buffer.join("") : ye.buffer.length === 1 ? Me = ye.buffer.first() : Me = ye.buffer.concat(ye.length), ye.buffer.clear()) : Me = ye.buffer.consume(be, ye.decoder), Me;
|
|
72664
72679
|
}
|
|
72665
72680
|
function Ie(be) {
|
|
72666
72681
|
var ye = be._readableState;
|
|
@@ -72668,17 +72683,17 @@ function require_stream_readable() {
|
|
|
72668
72683
|
}
|
|
72669
72684
|
function Re(be, ye) {
|
|
72670
72685
|
if (Z("endReadableNT", be.endEmitted, be.length), !be.endEmitted && be.length === 0 && (be.endEmitted = !0, ye.readable = !1, ye.emit("end"), be.autoDestroy)) {
|
|
72671
|
-
var
|
|
72672
|
-
(!
|
|
72686
|
+
var Me = ye._writableState;
|
|
72687
|
+
(!Me || Me.autoDestroy && Me.finished) && ye.destroy();
|
|
72673
72688
|
}
|
|
72674
72689
|
}
|
|
72675
72690
|
typeof Symbol == "function" && ($e.from = function(be, ye) {
|
|
72676
72691
|
return he === void 0 && (he = requireFromBrowser()), he($e, be, ye);
|
|
72677
72692
|
});
|
|
72678
72693
|
function Te(be, ye) {
|
|
72679
|
-
for (var
|
|
72680
|
-
if (be[
|
|
72681
|
-
return
|
|
72694
|
+
for (var Me = 0, Ye = be.length; Me < Ye; Me++)
|
|
72695
|
+
if (be[Me] === ye)
|
|
72696
|
+
return Me;
|
|
72682
72697
|
return -1;
|
|
72683
72698
|
}
|
|
72684
72699
|
return _stream_readable;
|
|
@@ -73331,7 +73346,7 @@ var DeferredTask = class {
|
|
|
73331
73346
|
action: J
|
|
73332
73347
|
}, {
|
|
73333
73348
|
F: __dxlog_file$6,
|
|
73334
|
-
L:
|
|
73349
|
+
L: 81,
|
|
73335
73350
|
S: void 0,
|
|
73336
73351
|
C: (Z, Q) => Z(...Q)
|
|
73337
73352
|
}), {
|
|
@@ -73413,7 +73428,7 @@ var DeferredTask = class {
|
|
|
73413
73428
|
authCode: Y
|
|
73414
73429
|
}, {
|
|
73415
73430
|
F: __dxlog_file$6,
|
|
73416
|
-
L:
|
|
73431
|
+
L: 165,
|
|
73417
73432
|
S: void 0,
|
|
73418
73433
|
C: (J, Z) => J(...Z)
|
|
73419
73434
|
}), I.observable.authenticate(Y)), [
|
|
@@ -73436,6 +73451,7 @@ var DeferredTask = class {
|
|
|
73436
73451
|
connect: q,
|
|
73437
73452
|
authenticate: G,
|
|
73438
73453
|
id: Y == null ? void 0 : Y.invitationId,
|
|
73454
|
+
multiUse: Y == null ? void 0 : Y.multiUse,
|
|
73439
73455
|
invitationCode: Y ? InvitationEncoder.encode(Y) : void 0,
|
|
73440
73456
|
authCode: Y == null ? void 0 : Y.authCode,
|
|
73441
73457
|
authMethod: Y == null ? void 0 : Y.authMethod,
|
|
@@ -73520,7 +73536,7 @@ const AuthCode = ($) => {
|
|
|
73520
73536
|
reverseEffects: K,
|
|
73521
73537
|
...Y
|
|
73522
73538
|
}) => {
|
|
73523
|
-
const { t: J } = useTranslation("os"), { cancel: Z, status: Q, invitationCode: ee, authCode: te,
|
|
73539
|
+
const { t: J } = useTranslation("os"), { cancel: Z, status: Q, invitationCode: ee, authCode: te, multiUse: ne } = I, re = !([Invitation.State.ERROR, Invitation.State.TIMEOUT, Invitation.State.CANCELLED].indexOf(Q) >= 0), ae = ne || [Invitation.State.INIT, Invitation.State.CONNECTING, Invitation.State.CONNECTED].indexOf(Q) >= 0, se = Q === Invitation.State.READY_FOR_AUTHENTICATION, fe = useCallback(() => q == null ? void 0 : q($), [$, q]), le = ee && G(ee), ce = $ == null ? void 0 : $.get().invitationId, ue = $ == null ? void 0 : $.get().lifetime, he = $ != null && $.expiry ? formatDistanceToNow($ == null ? void 0 : $.expiry, { addSuffix: !0 }) : void 0, ve = [
|
|
73524
73540
|
Invitation.State.INIT,
|
|
73525
73541
|
Invitation.State.CONNECTING,
|
|
73526
73542
|
Invitation.State.CONNECTED,
|
|
@@ -73541,9 +73557,9 @@ const AuthCode = ($) => {
|
|
|
73541
73557
|
...Y,
|
|
73542
73558
|
classNames: ["flex gap-2 pis-3 pie-1 items-center relative", Y.classNames]
|
|
73543
73559
|
},
|
|
73544
|
-
/* @__PURE__ */ React__default.createElement(ListItem.Heading, { classNames: "sr-only" }, J(ne
|
|
73545
|
-
ne
|
|
73546
|
-
/* @__PURE__ */ React__default.createElement(Tooltip.Root, null, /* @__PURE__ */ React__default.createElement(Avatar.Root, { ...avatarProps, animation: ve, status: _e }, /* @__PURE__ */ React__default.createElement(Tooltip.Trigger, { asChild: !0 }, /* @__PURE__ */ React__default.createElement(Avatar.Frame, { tabIndex: 0, classNames: [focusRing, "relative rounded-full place-self-center"] }, /* @__PURE__ */ React__default.createElement(Avatar.Fallback, { text: hexToEmoji(ce) })))), /* @__PURE__ */ React__default.createElement(Tooltip.Portal, null, /* @__PURE__ */ React__default.createElement(Tooltip.Content, { side: "left", classNames: "z-[70]" }, J(ne
|
|
73560
|
+
/* @__PURE__ */ React__default.createElement(ListItem.Heading, { classNames: "sr-only" }, J(ne ? "invite many list item label" : "invite one list item label")),
|
|
73561
|
+
ne && /* @__PURE__ */ React__default.createElement(AvatarStackEffect, { status: _e, animation: ve, reverseEffects: K }),
|
|
73562
|
+
/* @__PURE__ */ React__default.createElement(Tooltip.Root, null, /* @__PURE__ */ React__default.createElement(Avatar.Root, { ...avatarProps, animation: ve, status: _e }, /* @__PURE__ */ React__default.createElement(Tooltip.Trigger, { asChild: !0 }, /* @__PURE__ */ React__default.createElement(Avatar.Frame, { tabIndex: 0, classNames: [focusRing, "relative rounded-full place-self-center"] }, /* @__PURE__ */ React__default.createElement(Avatar.Fallback, { text: hexToEmoji(ce) })))), /* @__PURE__ */ React__default.createElement(Tooltip.Portal, null, /* @__PURE__ */ React__default.createElement(Tooltip.Content, { side: "left", classNames: "z-[70]" }, J(ne ? "invite many qr label" : "invite one qr label"), /* @__PURE__ */ React__default.createElement(Tooltip.Arrow, null)))),
|
|
73547
73563
|
ae && le ? /* @__PURE__ */ React__default.createElement(Tooltip.Root, null, /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(Tooltip.Trigger, { asChild: !0 }, /* @__PURE__ */ React__default.createElement(
|
|
73548
73564
|
Button,
|
|
73549
73565
|
{
|
|
@@ -78239,8 +78255,8 @@ function parse($, I, U) {
|
|
|
78239
78255
|
function xe(Re, Te, be) {
|
|
78240
78256
|
var ye = G.line;
|
|
78241
78257
|
if (Re && (typeof Re.comment != "string" && (Re.comment = Q()), Re.filename = parse.filename), Z("{", !0)) {
|
|
78242
|
-
for (var
|
|
78243
|
-
Te(
|
|
78258
|
+
for (var Me; (Me = K()) !== "}"; )
|
|
78259
|
+
Te(Me);
|
|
78244
78260
|
Z(";", !0);
|
|
78245
78261
|
} else
|
|
78246
78262
|
be && be(), Z(";"), Re && (typeof Re.comment != "string" || q) && (Re.comment = Q(ye) || Re.comment);
|
|
@@ -78249,21 +78265,21 @@ function parse($, I, U) {
|
|
|
78249
78265
|
if (!nameRe.test(Te = K()))
|
|
78250
78266
|
throw ce(Te, "type name");
|
|
78251
78267
|
var be = new Type(Te);
|
|
78252
|
-
xe(be, function(
|
|
78253
|
-
if (!Ee(be,
|
|
78254
|
-
switch (
|
|
78268
|
+
xe(be, function(Me) {
|
|
78269
|
+
if (!Ee(be, Me))
|
|
78270
|
+
switch (Me) {
|
|
78255
78271
|
case "map":
|
|
78256
78272
|
rt(be);
|
|
78257
78273
|
break;
|
|
78258
78274
|
case "required":
|
|
78259
78275
|
case "repeated":
|
|
78260
|
-
je(be,
|
|
78276
|
+
je(be, Me);
|
|
78261
78277
|
break;
|
|
78262
78278
|
case "optional":
|
|
78263
78279
|
se ? je(be, "proto3_optional") : je(be, "optional");
|
|
78264
78280
|
break;
|
|
78265
78281
|
case "oneof":
|
|
78266
|
-
st(be,
|
|
78282
|
+
st(be, Me);
|
|
78267
78283
|
break;
|
|
78268
78284
|
case "extensions":
|
|
78269
78285
|
ve(be.extensions || (be.extensions = []));
|
|
@@ -78272,9 +78288,9 @@ function parse($, I, U) {
|
|
|
78272
78288
|
ve(be.reserved || (be.reserved = []), !0);
|
|
78273
78289
|
break;
|
|
78274
78290
|
default:
|
|
78275
|
-
if (!se || !typeRefRe.test(
|
|
78276
|
-
throw ce(
|
|
78277
|
-
Y(
|
|
78291
|
+
if (!se || !typeRefRe.test(Me))
|
|
78292
|
+
throw ce(Me);
|
|
78293
|
+
Y(Me), je(be, "optional");
|
|
78278
78294
|
break;
|
|
78279
78295
|
}
|
|
78280
78296
|
}), Re.add(be);
|
|
@@ -78287,11 +78303,11 @@ function parse($, I, U) {
|
|
|
78287
78303
|
}
|
|
78288
78304
|
if (!typeRefRe.test(ye))
|
|
78289
78305
|
throw ce(ye, "type");
|
|
78290
|
-
var
|
|
78291
|
-
if (!nameRe.test(
|
|
78292
|
-
throw ce(
|
|
78293
|
-
|
|
78294
|
-
var Ye = new Field(
|
|
78306
|
+
var Me = K();
|
|
78307
|
+
if (!nameRe.test(Me))
|
|
78308
|
+
throw ce(Me, "name");
|
|
78309
|
+
Me = le(Me), Z("=");
|
|
78310
|
+
var Ye = new Field(Me, ge(K()), ye, Te, be);
|
|
78295
78311
|
if (xe(Ye, function(wt) {
|
|
78296
78312
|
if (wt === "option")
|
|
78297
78313
|
ht(Ye, wt), Z(";");
|
|
@@ -78300,7 +78316,7 @@ function parse($, I, U) {
|
|
|
78300
78316
|
}, function() {
|
|
78301
78317
|
nt(Ye);
|
|
78302
78318
|
}), Te === "proto3_optional") {
|
|
78303
|
-
var ct = new OneOf("_" +
|
|
78319
|
+
var ct = new OneOf("_" + Me);
|
|
78304
78320
|
Ye.setOption("proto3_optional", !0), ct.add(Ye), Re.add(ct);
|
|
78305
78321
|
} else
|
|
78306
78322
|
Re.add(Ye);
|
|
@@ -78317,9 +78333,9 @@ function parse($, I, U) {
|
|
|
78317
78333
|
throw ce(be, "name");
|
|
78318
78334
|
var ye = util.lcFirst(be);
|
|
78319
78335
|
be === ye && (be = util.ucFirst(be)), Z("=");
|
|
78320
|
-
var
|
|
78336
|
+
var Me = ge(K()), Ye = new Type(be);
|
|
78321
78337
|
Ye.group = !0;
|
|
78322
|
-
var ct = new Field(ye,
|
|
78338
|
+
var ct = new Field(ye, Me, be, Te);
|
|
78323
78339
|
ct.filename = parse.filename, xe(Ye, function(wt) {
|
|
78324
78340
|
switch (wt) {
|
|
78325
78341
|
case "option":
|
|
@@ -78357,38 +78373,38 @@ function parse($, I, U) {
|
|
|
78357
78373
|
if (!nameRe.test(ye))
|
|
78358
78374
|
throw ce(ye, "name");
|
|
78359
78375
|
Z("=");
|
|
78360
|
-
var
|
|
78361
|
-
xe(
|
|
78376
|
+
var Me = new MapField(le(ye), ge(K()), Te, be);
|
|
78377
|
+
xe(Me, function(ct) {
|
|
78362
78378
|
if (ct === "option")
|
|
78363
|
-
ht(
|
|
78379
|
+
ht(Me, ct), Z(";");
|
|
78364
78380
|
else
|
|
78365
78381
|
throw ce(ct);
|
|
78366
78382
|
}, function() {
|
|
78367
|
-
nt(
|
|
78368
|
-
}), Re.add(
|
|
78383
|
+
nt(Me);
|
|
78384
|
+
}), Re.add(Me);
|
|
78369
78385
|
}
|
|
78370
78386
|
function st(Re, Te) {
|
|
78371
78387
|
if (!nameRe.test(Te = K()))
|
|
78372
78388
|
throw ce(Te, "name");
|
|
78373
78389
|
var be = new OneOf(le(Te));
|
|
78374
|
-
xe(be, function(
|
|
78375
|
-
|
|
78390
|
+
xe(be, function(Me) {
|
|
78391
|
+
Me === "option" ? (ht(be, Me), Z(";")) : (Y(Me), je(be, "optional"));
|
|
78376
78392
|
}), Re.add(be);
|
|
78377
78393
|
}
|
|
78378
78394
|
function lt(Re, Te) {
|
|
78379
78395
|
if (!nameRe.test(Te = K()))
|
|
78380
78396
|
throw ce(Te, "name");
|
|
78381
78397
|
var be = new Enum(Te);
|
|
78382
|
-
xe(be, function(
|
|
78383
|
-
switch (
|
|
78398
|
+
xe(be, function(Me) {
|
|
78399
|
+
switch (Me) {
|
|
78384
78400
|
case "option":
|
|
78385
|
-
ht(be,
|
|
78401
|
+
ht(be, Me), Z(";");
|
|
78386
78402
|
break;
|
|
78387
78403
|
case "reserved":
|
|
78388
78404
|
ve(be.reserved || (be.reserved = []), !0);
|
|
78389
78405
|
break;
|
|
78390
78406
|
default:
|
|
78391
|
-
at(be,
|
|
78407
|
+
at(be, Me);
|
|
78392
78408
|
}
|
|
78393
78409
|
}), Re.add(be);
|
|
78394
78410
|
}
|
|
@@ -78399,8 +78415,8 @@ function parse($, I, U) {
|
|
|
78399
78415
|
var be = ge(K(), !0), ye = {
|
|
78400
78416
|
options: void 0
|
|
78401
78417
|
};
|
|
78402
|
-
ye.setOption = function(
|
|
78403
|
-
this.options === void 0 && (this.options = {}), this.options[
|
|
78418
|
+
ye.setOption = function(Me, Ye) {
|
|
78419
|
+
this.options === void 0 && (this.options = {}), this.options[Me] = Ye;
|
|
78404
78420
|
}, xe(ye, function(Ye) {
|
|
78405
78421
|
if (Ye === "option")
|
|
78406
78422
|
ht(ye, Ye), Z(";");
|
|
@@ -78414,17 +78430,17 @@ function parse($, I, U) {
|
|
|
78414
78430
|
var be = Z("(", !0);
|
|
78415
78431
|
if (!typeRefRe.test(Te = K()))
|
|
78416
78432
|
throw ce(Te, "name");
|
|
78417
|
-
var ye = Te,
|
|
78418
|
-
be && (Z(")"), ye = "(" + ye + ")",
|
|
78433
|
+
var ye = Te, Me = ye, Ye;
|
|
78434
|
+
be && (Z(")"), ye = "(" + ye + ")", Me = ye, Te = J(), fqTypeRefRe.test(Te) && (Ye = Te.slice(1), ye += Te, K())), Z("=");
|
|
78419
78435
|
var ct = tt(Re, ye);
|
|
78420
|
-
qe(Re,
|
|
78436
|
+
qe(Re, Me, ct, Ye);
|
|
78421
78437
|
}
|
|
78422
78438
|
function tt(Re, Te) {
|
|
78423
78439
|
if (Z("{", !0)) {
|
|
78424
78440
|
for (var be = {}; !Z("}", !0); ) {
|
|
78425
78441
|
if (!nameRe.test(Ie = K()))
|
|
78426
78442
|
throw ce(Ie, "name");
|
|
78427
|
-
var ye,
|
|
78443
|
+
var ye, Me = Ie;
|
|
78428
78444
|
if (Z(":", !0), J() === "{")
|
|
78429
78445
|
ye = tt(Re, Te + "." + Ie);
|
|
78430
78446
|
else if (J() === "[") {
|
|
@@ -78438,8 +78454,8 @@ function parse($, I, U) {
|
|
|
78438
78454
|
}
|
|
78439
78455
|
} else
|
|
78440
78456
|
ye = he(!0), ze(Re, Te + "." + Ie, ye);
|
|
78441
|
-
var ct = be[
|
|
78442
|
-
ct && (ye = [].concat(ct).concat(ye)), be[
|
|
78457
|
+
var ct = be[Me];
|
|
78458
|
+
ct && (ye = [].concat(ct).concat(ye)), be[Me] = ye, Z(",", !0), Z(";", !0);
|
|
78443
78459
|
}
|
|
78444
78460
|
return be;
|
|
78445
78461
|
}
|
|
@@ -78465,23 +78481,23 @@ function parse($, I, U) {
|
|
|
78465
78481
|
if (!nameRe.test(Te = K()))
|
|
78466
78482
|
throw ce(Te, "service name");
|
|
78467
78483
|
var be = new Service(Te);
|
|
78468
|
-
xe(be, function(
|
|
78469
|
-
if (!Ee(be,
|
|
78470
|
-
if (
|
|
78471
|
-
Ue(be,
|
|
78484
|
+
xe(be, function(Me) {
|
|
78485
|
+
if (!Ee(be, Me))
|
|
78486
|
+
if (Me === "rpc")
|
|
78487
|
+
Ue(be, Me);
|
|
78472
78488
|
else
|
|
78473
|
-
throw ce(
|
|
78489
|
+
throw ce(Me);
|
|
78474
78490
|
}), Re.add(be);
|
|
78475
78491
|
}
|
|
78476
78492
|
function Ue(Re, Te) {
|
|
78477
78493
|
var be = Q(), ye = Te;
|
|
78478
78494
|
if (!nameRe.test(Te = K()))
|
|
78479
78495
|
throw ce(Te, "name");
|
|
78480
|
-
var
|
|
78496
|
+
var Me = Te, Ye, ct, ut, wt;
|
|
78481
78497
|
if (Z("("), Z("stream", !0) && (ct = !0), !typeRefRe.test(Te = K()) || (Ye = Te, Z(")"), Z("returns"), Z("("), Z("stream", !0) && (wt = !0), !typeRefRe.test(Te = K())))
|
|
78482
78498
|
throw ce(Te);
|
|
78483
78499
|
ut = Te, Z(")");
|
|
78484
|
-
var St = new Method(
|
|
78500
|
+
var St = new Method(Me, ye, Ye, ut, ct, wt);
|
|
78485
78501
|
St.comment = be, xe(St, function(Ut) {
|
|
78486
78502
|
if (Ut === "option")
|
|
78487
78503
|
ht(St, Ut), Z(";");
|
|
@@ -78493,19 +78509,19 @@ function parse($, I, U) {
|
|
|
78493
78509
|
if (!typeRefRe.test(Te = K()))
|
|
78494
78510
|
throw ce(Te, "reference");
|
|
78495
78511
|
var be = Te;
|
|
78496
|
-
xe(null, function(
|
|
78497
|
-
switch (
|
|
78512
|
+
xe(null, function(Me) {
|
|
78513
|
+
switch (Me) {
|
|
78498
78514
|
case "required":
|
|
78499
78515
|
case "repeated":
|
|
78500
|
-
je(Re,
|
|
78516
|
+
je(Re, Me, be);
|
|
78501
78517
|
break;
|
|
78502
78518
|
case "optional":
|
|
78503
78519
|
se ? je(Re, "proto3_optional", be) : je(Re, "optional", be);
|
|
78504
78520
|
break;
|
|
78505
78521
|
default:
|
|
78506
|
-
if (!se || !typeRefRe.test(
|
|
78507
|
-
throw ce(
|
|
78508
|
-
Y(
|
|
78522
|
+
if (!se || !typeRefRe.test(Me))
|
|
78523
|
+
throw ce(Me);
|
|
78524
|
+
Y(Me), je(Re, "optional", be);
|
|
78509
78525
|
break;
|
|
78510
78526
|
}
|
|
78511
78527
|
});
|
|
@@ -79921,7 +79937,7 @@ lodash_ismatch.exports;
|
|
|
79921
79937
|
Nt[yt] = et(yt);
|
|
79922
79938
|
return Nt;
|
|
79923
79939
|
}
|
|
79924
|
-
function
|
|
79940
|
+
function Me(Fe) {
|
|
79925
79941
|
return function(et) {
|
|
79926
79942
|
return Fe(et);
|
|
79927
79943
|
};
|
|
@@ -80043,10 +80059,10 @@ lodash_ismatch.exports;
|
|
|
80043
80059
|
function Bt(Fe) {
|
|
80044
80060
|
return Je(this, Fe).has(Fe);
|
|
80045
80061
|
}
|
|
80046
|
-
function
|
|
80062
|
+
function Mt(Fe, et) {
|
|
80047
80063
|
return Je(this, Fe).set(Fe, et), this;
|
|
80048
80064
|
}
|
|
80049
|
-
ot.prototype.clear = dt, ot.prototype.delete = Et, ot.prototype.get = Rt, ot.prototype.has = Bt, ot.prototype.set =
|
|
80065
|
+
ot.prototype.clear = dt, ot.prototype.delete = Et, ot.prototype.get = Rt, ot.prototype.has = Bt, ot.prototype.set = Mt;
|
|
80050
80066
|
function Ot(Fe) {
|
|
80051
80067
|
var et = -1, yt = Fe ? Fe.length : 0;
|
|
80052
80068
|
for (this.__data__ = new ot(); ++et < yt; )
|
|
@@ -80101,7 +80117,7 @@ lodash_ismatch.exports;
|
|
|
80101
80117
|
return zt.call(Fe);
|
|
80102
80118
|
}
|
|
80103
80119
|
function Xn(Fe, et, yt, Nt, nn) {
|
|
80104
|
-
return Fe === et ? !0 : Fe == null || et == null || !Wn(Fe) && !
|
|
80120
|
+
return Fe === et ? !0 : Fe == null || et == null || !Wn(Fe) && !Ln(et) ? Fe !== Fe && et !== et : nr(Fe, et, Xn, yt, Nt, nn);
|
|
80105
80121
|
}
|
|
80106
80122
|
function nr(Fe, et, yt, Nt, nn, qt) {
|
|
80107
80123
|
var pn = fn(Fe), an = fn(et), en = Z, hn = Z;
|
|
@@ -80112,8 +80128,8 @@ lodash_ismatch.exports;
|
|
|
80112
80128
|
if (!(nn & K)) {
|
|
80113
80129
|
var In = yn && Ct.call(Fe, "__wrapped__"), Cn = kn && Ct.call(et, "__wrapped__");
|
|
80114
80130
|
if (In || Cn) {
|
|
80115
|
-
var
|
|
80116
|
-
return qt || (qt = new Yt()), yt(
|
|
80131
|
+
var Mn = In ? Fe.value() : Fe, Dn = Cn ? et.value() : et;
|
|
80132
|
+
return qt || (qt = new Yt()), yt(Mn, Dn, Nt, nn, qt);
|
|
80117
80133
|
}
|
|
80118
80134
|
}
|
|
80119
80135
|
return gn ? (qt || (qt = new Yt()), Oe(Fe, et, yt, Nt, nn, qt)) : !1;
|
|
@@ -80150,7 +80166,7 @@ lodash_ismatch.exports;
|
|
|
80150
80166
|
return et.test(Wt(Fe));
|
|
80151
80167
|
}
|
|
80152
80168
|
function ir(Fe) {
|
|
80153
|
-
return
|
|
80169
|
+
return Ln(Fe) && Zn(Fe.length) && !!tt[zt.call(Fe)];
|
|
80154
80170
|
}
|
|
80155
80171
|
function tr(Fe) {
|
|
80156
80172
|
if (!kt(Fe))
|
|
@@ -80171,9 +80187,9 @@ lodash_ismatch.exports;
|
|
|
80171
80187
|
for (qt.set(Fe, et), qt.set(et, Fe); ++yn < an; ) {
|
|
80172
80188
|
var In = Fe[yn], Cn = et[yn];
|
|
80173
80189
|
if (Nt)
|
|
80174
|
-
var
|
|
80175
|
-
if (
|
|
80176
|
-
if (
|
|
80190
|
+
var Mn = pn ? Nt(Cn, In, yn, et, Fe, qt) : Nt(In, Cn, yn, Fe, et, qt);
|
|
80191
|
+
if (Mn !== void 0) {
|
|
80192
|
+
if (Mn)
|
|
80177
80193
|
continue;
|
|
80178
80194
|
kn = !1;
|
|
80179
80195
|
break;
|
|
@@ -80242,7 +80258,7 @@ lodash_ismatch.exports;
|
|
|
80242
80258
|
return In == et;
|
|
80243
80259
|
var Cn = !0;
|
|
80244
80260
|
qt.set(Fe, et), qt.set(et, Fe);
|
|
80245
|
-
for (var
|
|
80261
|
+
for (var Mn = pn; ++kn < en; ) {
|
|
80246
80262
|
gn = an[kn];
|
|
80247
80263
|
var Dn = Fe[gn], Pe = et[gn];
|
|
80248
80264
|
if (Nt)
|
|
@@ -80251,11 +80267,11 @@ lodash_ismatch.exports;
|
|
|
80251
80267
|
Cn = !1;
|
|
80252
80268
|
break;
|
|
80253
80269
|
}
|
|
80254
|
-
|
|
80270
|
+
Mn || (Mn = gn == "constructor");
|
|
80255
80271
|
}
|
|
80256
|
-
if (Cn && !
|
|
80257
|
-
var we = Fe.constructor,
|
|
80258
|
-
we !=
|
|
80272
|
+
if (Cn && !Mn) {
|
|
80273
|
+
var we = Fe.constructor, Le = et.constructor;
|
|
80274
|
+
we != Le && "constructor" in Fe && "constructor" in et && !(typeof we == "function" && we instanceof we && typeof Le == "function" && Le instanceof Le) && (Cn = !1);
|
|
80259
80275
|
}
|
|
80260
80276
|
return qt.delete(Fe), qt.delete(et), Cn;
|
|
80261
80277
|
}
|
|
@@ -80266,7 +80282,7 @@ lodash_ismatch.exports;
|
|
|
80266
80282
|
function Qe(Fe) {
|
|
80267
80283
|
for (var et = qn(Fe), yt = et.length; yt--; ) {
|
|
80268
80284
|
var Nt = et[yt], nn = Fe[Nt];
|
|
80269
|
-
et[yt] = [Nt, nn,
|
|
80285
|
+
et[yt] = [Nt, nn, Lt(nn)];
|
|
80270
80286
|
}
|
|
80271
80287
|
return et;
|
|
80272
80288
|
}
|
|
@@ -80306,7 +80322,7 @@ lodash_ismatch.exports;
|
|
|
80306
80322
|
var et = Fe && Fe.constructor, yt = typeof et == "function" && et.prototype || Kt;
|
|
80307
80323
|
return Fe === yt;
|
|
80308
80324
|
}
|
|
80309
|
-
function
|
|
80325
|
+
function Lt(Fe) {
|
|
80310
80326
|
return Fe === Fe && !Wn(Fe);
|
|
80311
80327
|
}
|
|
80312
80328
|
function Wt(Fe) {
|
|
@@ -80333,7 +80349,7 @@ lodash_ismatch.exports;
|
|
|
80333
80349
|
return Fe != null && Zn(Fe.length) && !Hn(Fe);
|
|
80334
80350
|
}
|
|
80335
80351
|
function wn(Fe) {
|
|
80336
|
-
return
|
|
80352
|
+
return Ln(Fe) && cn(Fe);
|
|
80337
80353
|
}
|
|
80338
80354
|
function Hn(Fe) {
|
|
80339
80355
|
var et = Wn(Fe) ? zt.call(Fe) : "";
|
|
@@ -80346,13 +80362,13 @@ lodash_ismatch.exports;
|
|
|
80346
80362
|
var et = typeof Fe;
|
|
80347
80363
|
return !!Fe && (et == "object" || et == "function");
|
|
80348
80364
|
}
|
|
80349
|
-
function
|
|
80365
|
+
function Ln(Fe) {
|
|
80350
80366
|
return !!Fe && typeof Fe == "object";
|
|
80351
80367
|
}
|
|
80352
80368
|
function sr(Fe, et) {
|
|
80353
80369
|
return Fe === et || rr(Fe, et, Qe(et));
|
|
80354
80370
|
}
|
|
80355
|
-
var ar = Te ?
|
|
80371
|
+
var ar = Te ? Me(Te) : ir;
|
|
80356
80372
|
function qn(Fe) {
|
|
80357
80373
|
return cn(Fe) ? jn(Fe) : tr(Fe);
|
|
80358
80374
|
}
|
|
@@ -81050,8 +81066,8 @@ var localforage = { exports: {} };
|
|
|
81050
81066
|
return Oe.db = kt, Ge(Oe, Ve._defaultConfig.version) ? je(Oe) : kt;
|
|
81051
81067
|
}).then(function(kt) {
|
|
81052
81068
|
Oe.db = Qe.db = kt, Ve._dbInfo = Oe;
|
|
81053
|
-
for (var
|
|
81054
|
-
var Wt = bt[
|
|
81069
|
+
for (var Lt = 0; Lt < bt.length; Lt++) {
|
|
81070
|
+
var Wt = bt[Lt];
|
|
81055
81071
|
Wt !== Ve && (Wt._dbInfo.db = Oe.db, Wt._dbInfo.version = Oe.version);
|
|
81056
81072
|
}
|
|
81057
81073
|
});
|
|
@@ -81089,19 +81105,19 @@ var localforage = { exports: {} };
|
|
|
81089
81105
|
try {
|
|
81090
81106
|
var gt = pt.objectStore(Oe._dbInfo.storeName), bt = gt.openCursor(), kt = 1;
|
|
81091
81107
|
bt.onsuccess = function() {
|
|
81092
|
-
var
|
|
81093
|
-
if (
|
|
81094
|
-
var Wt =
|
|
81108
|
+
var Lt = bt.result;
|
|
81109
|
+
if (Lt) {
|
|
81110
|
+
var Wt = Lt.value;
|
|
81095
81111
|
lt(Wt) && (Wt = st(Wt));
|
|
81096
|
-
var Jt = Ae(Wt,
|
|
81097
|
-
Jt !== void 0 ? Qe(Jt) :
|
|
81112
|
+
var Jt = Ae(Wt, Lt.key, kt++);
|
|
81113
|
+
Jt !== void 0 ? Qe(Jt) : Lt.continue();
|
|
81098
81114
|
} else
|
|
81099
81115
|
Qe();
|
|
81100
81116
|
}, bt.onerror = function() {
|
|
81101
81117
|
Ke(bt.error);
|
|
81102
81118
|
};
|
|
81103
|
-
} catch (
|
|
81104
|
-
Ke(
|
|
81119
|
+
} catch (Lt) {
|
|
81120
|
+
Ke(Lt);
|
|
81105
81121
|
}
|
|
81106
81122
|
});
|
|
81107
81123
|
}).catch(Ke);
|
|
@@ -81122,9 +81138,9 @@ var localforage = { exports: {} };
|
|
|
81122
81138
|
if (bt)
|
|
81123
81139
|
return ft(bt);
|
|
81124
81140
|
try {
|
|
81125
|
-
var
|
|
81141
|
+
var Lt = kt.objectStore(Je._dbInfo.storeName);
|
|
81126
81142
|
gt === null && (gt = void 0);
|
|
81127
|
-
var Wt =
|
|
81143
|
+
var Wt = Lt.put(gt, Ae);
|
|
81128
81144
|
kt.oncomplete = function() {
|
|
81129
81145
|
gt === void 0 && (gt = null), Ke(gt);
|
|
81130
81146
|
}, kt.onabort = kt.onerror = function() {
|
|
@@ -81221,17 +81237,17 @@ var localforage = { exports: {} };
|
|
|
81221
81237
|
try {
|
|
81222
81238
|
var gt = pt.objectStore(Oe._dbInfo.storeName), bt = !1, kt = gt.openKeyCursor();
|
|
81223
81239
|
kt.onsuccess = function() {
|
|
81224
|
-
var
|
|
81225
|
-
if (!
|
|
81240
|
+
var Lt = kt.result;
|
|
81241
|
+
if (!Lt) {
|
|
81226
81242
|
Qe(null);
|
|
81227
81243
|
return;
|
|
81228
81244
|
}
|
|
81229
|
-
Ae === 0 || bt ? Qe(
|
|
81245
|
+
Ae === 0 || bt ? Qe(Lt.key) : (bt = !0, Lt.advance(Ae));
|
|
81230
81246
|
}, kt.onerror = function() {
|
|
81231
81247
|
Ke(kt.error);
|
|
81232
81248
|
};
|
|
81233
|
-
} catch (
|
|
81234
|
-
Ke(
|
|
81249
|
+
} catch (Lt) {
|
|
81250
|
+
Ke(Lt);
|
|
81235
81251
|
}
|
|
81236
81252
|
});
|
|
81237
81253
|
}).catch(Ke);
|
|
@@ -81285,8 +81301,8 @@ var localforage = { exports: {} };
|
|
|
81285
81301
|
$e(Ae);
|
|
81286
81302
|
var bt = ce[Ae.name], kt = bt.forages;
|
|
81287
81303
|
pt.close();
|
|
81288
|
-
for (var
|
|
81289
|
-
var Wt = kt[
|
|
81304
|
+
for (var Lt = 0; Lt < kt.length; Lt++) {
|
|
81305
|
+
var Wt = kt[Lt];
|
|
81290
81306
|
Wt._dbInfo.db = null, Wt._dbInfo.version = gt;
|
|
81291
81307
|
}
|
|
81292
81308
|
var Jt = new te(function(tn, fn) {
|
|
@@ -81318,8 +81334,8 @@ var localforage = { exports: {} };
|
|
|
81318
81334
|
var gt = ce[Ae.name], bt = gt.forages;
|
|
81319
81335
|
pt.close();
|
|
81320
81336
|
for (var kt = 0; kt < bt.length; kt++) {
|
|
81321
|
-
var
|
|
81322
|
-
|
|
81337
|
+
var Lt = bt[kt];
|
|
81338
|
+
Lt._dbInfo.db = null;
|
|
81323
81339
|
}
|
|
81324
81340
|
var Wt = new te(function(Jt, tn) {
|
|
81325
81341
|
var fn = Z.deleteDatabase(Ae.name);
|
|
@@ -81347,7 +81363,7 @@ var localforage = { exports: {} };
|
|
|
81347
81363
|
}
|
|
81348
81364
|
return ne(Qe, Ve), Qe;
|
|
81349
81365
|
}
|
|
81350
|
-
var
|
|
81366
|
+
var Me = {
|
|
81351
81367
|
_driver: "asyncStorage",
|
|
81352
81368
|
_initStorage: qe,
|
|
81353
81369
|
_support: Q(),
|
|
@@ -81498,7 +81514,7 @@ var localforage = { exports: {} };
|
|
|
81498
81514
|
var ft = Oe._dbInfo;
|
|
81499
81515
|
ft.db.transaction(function(pt) {
|
|
81500
81516
|
bn(pt, ft, "SELECT * FROM " + ft.storeName, [], function(gt, bt) {
|
|
81501
|
-
for (var kt = bt.rows,
|
|
81517
|
+
for (var kt = bt.rows, Lt = kt.length, Wt = 0; Wt < Lt; Wt++) {
|
|
81502
81518
|
var Jt = kt.item(Wt), tn = Jt.value;
|
|
81503
81519
|
if (tn && (tn = ft.serializer.deserialize(tn)), tn = Ae(tn, Jt.key, Wt + 1), tn !== void 0) {
|
|
81504
81520
|
Qe(tn);
|
|
@@ -81521,8 +81537,8 @@ var localforage = { exports: {} };
|
|
|
81521
81537
|
Qe.ready().then(function() {
|
|
81522
81538
|
Ve === void 0 && (Ve = null);
|
|
81523
81539
|
var gt = Ve, bt = Qe._dbInfo;
|
|
81524
|
-
bt.serializer.serialize(Ve, function(kt,
|
|
81525
|
-
|
|
81540
|
+
bt.serializer.serialize(Ve, function(kt, Lt) {
|
|
81541
|
+
Lt ? pt(Lt) : bt.db.transaction(function(Wt) {
|
|
81526
81542
|
bn(Wt, bt, "INSERT OR REPLACE INTO " + bt.storeName + " (key, value) VALUES (?, ?)", [Ae, kt], function() {
|
|
81527
81543
|
ft(gt);
|
|
81528
81544
|
}, function(Jt, tn) {
|
|
@@ -81667,8 +81683,8 @@ var localforage = { exports: {} };
|
|
|
81667
81683
|
});
|
|
81668
81684
|
});
|
|
81669
81685
|
}
|
|
81670
|
-
for (var kt = [],
|
|
81671
|
-
kt.push(bt(Ke.storeNames[
|
|
81686
|
+
for (var kt = [], Lt = 0, Wt = Ke.storeNames.length; Lt < Wt; Lt++)
|
|
81687
|
+
kt.push(bt(Ke.storeNames[Lt]));
|
|
81672
81688
|
te.all(kt).then(function() {
|
|
81673
81689
|
ft();
|
|
81674
81690
|
}).catch(function(Jt) {
|
|
@@ -81747,9 +81763,9 @@ var localforage = { exports: {} };
|
|
|
81747
81763
|
for (var Qe = Oe._dbInfo, Ke = Qe.keyPrefix, ft = Ke.length, pt = localStorage.length, gt = 1, bt = 0; bt < pt; bt++) {
|
|
81748
81764
|
var kt = localStorage.key(bt);
|
|
81749
81765
|
if (kt.indexOf(Ke) === 0) {
|
|
81750
|
-
var
|
|
81751
|
-
if (
|
|
81752
|
-
return
|
|
81766
|
+
var Lt = localStorage.getItem(kt);
|
|
81767
|
+
if (Lt && (Lt = Qe.serializer.deserialize(Lt)), Lt = Ae(Lt, kt.substring(ft), gt++), Lt !== void 0)
|
|
81768
|
+
return Lt;
|
|
81753
81769
|
}
|
|
81754
81770
|
}
|
|
81755
81771
|
});
|
|
@@ -81777,7 +81793,7 @@ var localforage = { exports: {} };
|
|
|
81777
81793
|
});
|
|
81778
81794
|
return ne(Oe, Ae), Oe;
|
|
81779
81795
|
}
|
|
81780
|
-
function
|
|
81796
|
+
function Mt(Ae) {
|
|
81781
81797
|
var Ve = this, Oe = Ve.keys().then(function(Je) {
|
|
81782
81798
|
return Je.length;
|
|
81783
81799
|
});
|
|
@@ -81806,8 +81822,8 @@ var localforage = { exports: {} };
|
|
|
81806
81822
|
else
|
|
81807
81823
|
try {
|
|
81808
81824
|
localStorage.setItem(gt.keyPrefix + Ae, bt), ft(Ke);
|
|
81809
|
-
} catch (
|
|
81810
|
-
(
|
|
81825
|
+
} catch (Lt) {
|
|
81826
|
+
(Lt.name === "QuotaExceededError" || Lt.name === "NS_ERROR_DOM_QUOTA_REACHED") && pt(Lt), pt(Lt);
|
|
81811
81827
|
}
|
|
81812
81828
|
});
|
|
81813
81829
|
});
|
|
@@ -81838,7 +81854,7 @@ var localforage = { exports: {} };
|
|
|
81838
81854
|
setItem: Zt,
|
|
81839
81855
|
removeItem: Ot,
|
|
81840
81856
|
clear: ot,
|
|
81841
|
-
length:
|
|
81857
|
+
length: Mt,
|
|
81842
81858
|
key: Rt,
|
|
81843
81859
|
keys: Bt,
|
|
81844
81860
|
dropInstance: Qt
|
|
@@ -81854,7 +81870,7 @@ var localforage = { exports: {} };
|
|
|
81854
81870
|
}, Yn = Array.isArray || function(Ae) {
|
|
81855
81871
|
return Object.prototype.toString.call(Ae) === "[object Array]";
|
|
81856
81872
|
}, dn = {}, Bn = {}, jn = {
|
|
81857
|
-
INDEXEDDB:
|
|
81873
|
+
INDEXEDDB: Me,
|
|
81858
81874
|
WEBSQL: _n,
|
|
81859
81875
|
LOCALSTORAGE: Yt
|
|
81860
81876
|
}, An = [jn.INDEXEDDB._driver, jn.WEBSQL._driver, jn.LOCALSTORAGE._driver], Un = ["dropInstance"], Xn = ["clear", "getItem", "iterate", "key", "keys", "length", "removeItem", "setItem"].concat(Un), nr = {
|
|
@@ -81915,8 +81931,8 @@ var localforage = { exports: {} };
|
|
|
81915
81931
|
pt(bt);
|
|
81916
81932
|
return;
|
|
81917
81933
|
}
|
|
81918
|
-
for (var kt = Xn.concat("_initStorage"),
|
|
81919
|
-
var Jt = kt[
|
|
81934
|
+
for (var kt = Xn.concat("_initStorage"), Lt = 0, Wt = kt.length; Lt < Wt; Lt++) {
|
|
81935
|
+
var Jt = kt[Lt], tn = !xn(Un, Jt);
|
|
81920
81936
|
if ((tn || Oe[Jt]) && typeof Oe[Jt] != "function") {
|
|
81921
81937
|
pt(bt);
|
|
81922
81938
|
return;
|
|
@@ -81929,8 +81945,8 @@ var localforage = { exports: {} };
|
|
|
81929
81945
|
return ne(Fe, arguments[arguments.length - 1]), Fe;
|
|
81930
81946
|
};
|
|
81931
81947
|
}, Zn = 0, Wn = Un.length; Zn < Wn; Zn++) {
|
|
81932
|
-
var
|
|
81933
|
-
Oe[
|
|
81948
|
+
var Ln = Un[Zn];
|
|
81949
|
+
Oe[Ln] || (Oe[Ln] = Hn(Ln));
|
|
81934
81950
|
}
|
|
81935
81951
|
};
|
|
81936
81952
|
fn();
|
|
@@ -81963,15 +81979,15 @@ var localforage = { exports: {} };
|
|
|
81963
81979
|
function pt() {
|
|
81964
81980
|
Ke._config.driver = Ke.driver();
|
|
81965
81981
|
}
|
|
81966
|
-
function gt(
|
|
81967
|
-
return Ke._extend(
|
|
81982
|
+
function gt(Lt) {
|
|
81983
|
+
return Ke._extend(Lt), pt(), Ke._ready = Ke._initStorage(Ke._config), Ke._ready;
|
|
81968
81984
|
}
|
|
81969
|
-
function bt(
|
|
81985
|
+
function bt(Lt) {
|
|
81970
81986
|
return function() {
|
|
81971
81987
|
var Wt = 0;
|
|
81972
81988
|
function Jt() {
|
|
81973
|
-
for (; Wt <
|
|
81974
|
-
var tn =
|
|
81989
|
+
for (; Wt < Lt.length; ) {
|
|
81990
|
+
var tn = Lt[Wt];
|
|
81975
81991
|
return Wt++, Ke._dbInfo = null, Ke._ready = null, Ke.getDriver(tn).then(gt).catch(Jt);
|
|
81976
81992
|
}
|
|
81977
81993
|
pt();
|
|
@@ -81985,14 +82001,14 @@ var localforage = { exports: {} };
|
|
|
81985
82001
|
return te.resolve();
|
|
81986
82002
|
}) : te.resolve();
|
|
81987
82003
|
return this._driverSet = kt.then(function() {
|
|
81988
|
-
var
|
|
81989
|
-
return Ke._dbInfo = null, Ke._ready = null, Ke.getDriver(
|
|
82004
|
+
var Lt = ft[0];
|
|
82005
|
+
return Ke._dbInfo = null, Ke._ready = null, Ke.getDriver(Lt).then(function(Wt) {
|
|
81990
82006
|
Ke._driver = Wt._driver, pt(), Ke._wrapLibraryMethodsWithReady(), Ke._initDriver = bt(ft);
|
|
81991
82007
|
});
|
|
81992
82008
|
}).catch(function() {
|
|
81993
82009
|
pt();
|
|
81994
|
-
var
|
|
81995
|
-
return Ke._driverSet = te.reject(
|
|
82010
|
+
var Lt = new Error("No available storage method found.");
|
|
82011
|
+
return Ke._driverSet = te.reject(Lt), Ke._driverSet;
|
|
81996
82012
|
}), re(this._driverSet, Je, Qe), this._driverSet;
|
|
81997
82013
|
}, Ae.prototype.supports = function(Oe) {
|
|
81998
82014
|
return !!Bn[Oe];
|
|
@@ -83096,7 +83112,7 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
|
|
|
83096
83112
|
async sendMessage($) {
|
|
83097
83113
|
this._performance.sentMessages++, await this._clientReady.wait(), invariant(this._state === SignalState.CONNECTED, "Not connected to Signal Server", {
|
|
83098
83114
|
F: __dxlog_file3$3,
|
|
83099
|
-
L:
|
|
83115
|
+
L: 224,
|
|
83100
83116
|
S: this,
|
|
83101
83117
|
A: [
|
|
83102
83118
|
"this._state === SignalState.CONNECTED",
|
|
@@ -83109,7 +83125,7 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
|
|
|
83109
83125
|
peerId: $
|
|
83110
83126
|
}, {
|
|
83111
83127
|
F: __dxlog_file3$3,
|
|
83112
|
-
L:
|
|
83128
|
+
L: 229,
|
|
83113
83129
|
S: this,
|
|
83114
83130
|
C: (I, U) => I(...U)
|
|
83115
83131
|
}), this._subscribedMessages.add({
|
|
@@ -83122,7 +83138,7 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
|
|
|
83122
83138
|
peerId: $
|
|
83123
83139
|
}, {
|
|
83124
83140
|
F: __dxlog_file3$3,
|
|
83125
|
-
L:
|
|
83141
|
+
L: 235,
|
|
83126
83142
|
S: this,
|
|
83127
83143
|
C: (U, q) => U(...q)
|
|
83128
83144
|
}), this._subscribedMessages.delete({
|
|
@@ -83139,7 +83155,7 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
|
|
|
83139
83155
|
status: this.getStatus()
|
|
83140
83156
|
}, {
|
|
83141
83157
|
F: __dxlog_file3$3,
|
|
83142
|
-
L:
|
|
83158
|
+
L: 254,
|
|
83143
83159
|
S: this,
|
|
83144
83160
|
C: (I, U) => I(...U)
|
|
83145
83161
|
}), this.statusChanged.emit(this.getStatus());
|
|
@@ -83150,12 +83166,12 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
|
|
|
83150
83166
|
state: this._state
|
|
83151
83167
|
}, {
|
|
83152
83168
|
F: __dxlog_file3$3,
|
|
83153
|
-
L:
|
|
83169
|
+
L: 259,
|
|
83154
83170
|
S: this,
|
|
83155
83171
|
C: ($, I) => $(...I)
|
|
83156
83172
|
}), invariant(!this._client, "Client already created", {
|
|
83157
83173
|
F: __dxlog_file3$3,
|
|
83158
|
-
L:
|
|
83174
|
+
L: 260,
|
|
83159
83175
|
S: this,
|
|
83160
83176
|
A: [
|
|
83161
83177
|
"!this._client",
|
|
@@ -83164,7 +83180,7 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
|
|
|
83164
83180
|
}), this._connectionStarted = /* @__PURE__ */ new Date(), this._connectionCtx = this._ctx.derive(), this._connectionCtx.onDispose(async () => {
|
|
83165
83181
|
log$2("connection context disposed", void 0, {
|
|
83166
83182
|
F: __dxlog_file3$3,
|
|
83167
|
-
L:
|
|
83183
|
+
L: 267,
|
|
83168
83184
|
S: this,
|
|
83169
83185
|
C: ($, I) => $(...I)
|
|
83170
83186
|
}), await Promise.all(Array.from(this._swarmStreams.values()).map(($) => $.close())), await Promise.all(Array.from(this._messageStreams.values()).map(($) => $.close())), this._swarmStreams.clear(), this._messageStreams.clear();
|
|
@@ -83176,7 +83192,7 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
|
|
|
83176
83192
|
onConnected: () => {
|
|
83177
83193
|
log$2("socket connected", void 0, {
|
|
83178
83194
|
F: __dxlog_file3$3,
|
|
83179
|
-
L:
|
|
83195
|
+
L: 279,
|
|
83180
83196
|
S: this,
|
|
83181
83197
|
C: ($, I) => $(...I)
|
|
83182
83198
|
}), this._lastError = void 0, this._reconnectAfter = DEFAULT_RECONNECT_TIMEOUT, this._setState(SignalState.CONNECTED), this._clientReady.wake(), this._reconcileTask.schedule();
|
|
@@ -83186,7 +83202,7 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
|
|
|
83186
83202
|
state: this._state
|
|
83187
83203
|
}, {
|
|
83188
83204
|
F: __dxlog_file3$3,
|
|
83189
|
-
L:
|
|
83205
|
+
L: 288,
|
|
83190
83206
|
S: this,
|
|
83191
83207
|
C: ($, I) => $(...I)
|
|
83192
83208
|
}), this._state === SignalState.ERROR) {
|
|
@@ -83201,7 +83217,7 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
|
|
|
83201
83217
|
state: this._state
|
|
83202
83218
|
}, {
|
|
83203
83219
|
F: __dxlog_file3$3,
|
|
83204
|
-
L:
|
|
83220
|
+
L: 303,
|
|
83205
83221
|
S: this,
|
|
83206
83222
|
C: (I, U) => I(...U)
|
|
83207
83223
|
}), this._lastError = $, this._state !== SignalState.CONNECTED && this._state !== SignalState.CONNECTING && this._incrementReconnectTimeout(), this._setState(SignalState.ERROR), this._reconnectTask.schedule();
|
|
@@ -83222,13 +83238,13 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
|
|
|
83222
83238
|
state: this._state
|
|
83223
83239
|
}, {
|
|
83224
83240
|
F: __dxlog_file3$3,
|
|
83225
|
-
L:
|
|
83241
|
+
L: 331,
|
|
83226
83242
|
S: this,
|
|
83227
83243
|
C: (U, q) => U(...q)
|
|
83228
83244
|
}), this._performance.reconnectCounter++, this._state === SignalState.RECONNECTING) {
|
|
83229
83245
|
log$2.warn("Signal api already reconnecting.", void 0, {
|
|
83230
83246
|
F: __dxlog_file3$3,
|
|
83231
|
-
L:
|
|
83247
|
+
L: 335,
|
|
83232
83248
|
S: this,
|
|
83233
83249
|
C: (U, q) => U(...q)
|
|
83234
83250
|
});
|
|
@@ -83243,7 +83259,7 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
|
|
|
83243
83259
|
const $ = this._client;
|
|
83244
83260
|
invariant(this._state === SignalState.CONNECTED, "Not connected to Signal Server", {
|
|
83245
83261
|
F: __dxlog_file3$3,
|
|
83246
|
-
L:
|
|
83262
|
+
L: 360,
|
|
83247
83263
|
S: this,
|
|
83248
83264
|
A: [
|
|
83249
83265
|
"this._state === SignalState.CONNECTED",
|
|
@@ -83276,7 +83292,7 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
|
|
|
83276
83292
|
swarmEvent: K
|
|
83277
83293
|
}, {
|
|
83278
83294
|
F: __dxlog_file3$3,
|
|
83279
|
-
L:
|
|
83295
|
+
L: 387,
|
|
83280
83296
|
S: this,
|
|
83281
83297
|
C: (Y, J) => Y(...J)
|
|
83282
83298
|
}), await this._onSwarmEvent({
|
|
@@ -83295,7 +83311,7 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
|
|
|
83295
83311
|
const $ = this._client;
|
|
83296
83312
|
invariant(this._state === SignalState.CONNECTED, "Not connected to Signal Server", {
|
|
83297
83313
|
F: __dxlog_file3$3,
|
|
83298
|
-
L:
|
|
83314
|
+
L: 400,
|
|
83299
83315
|
S: this,
|
|
83300
83316
|
A: [
|
|
83301
83317
|
"this._state === SignalState.CONNECTED",
|
|
@@ -85702,13 +85718,13 @@ var Connection = class {
|
|
|
85702
85718
|
stream: this._protocol.stream,
|
|
85703
85719
|
sendSignal: async ($) => this._sendSignal($),
|
|
85704
85720
|
sessionId: this.sessionId
|
|
85705
|
-
}), this._transport.connected.once(async () => {
|
|
85721
|
+
}), await this._transport.open(), this._transport.connected.once(async () => {
|
|
85706
85722
|
var $, I;
|
|
85707
85723
|
this._changeState("CONNECTED"), await this.connectedTimeoutContext.dispose(), (I = ($ = this._callbacks) == null ? void 0 : $.onConnected) == null || I.call($), scheduleTaskInterval(this._ctx, async () => this._emitTransportStats(), TRANSPORT_STATS_INTERVAL);
|
|
85708
85724
|
}), this._transport.closed.once(() => {
|
|
85709
85725
|
this._transport = void 0, log$2("abort triggered by transport close", void 0, {
|
|
85710
85726
|
F: __dxlog_file$2,
|
|
85711
|
-
L:
|
|
85727
|
+
L: 218,
|
|
85712
85728
|
S: this,
|
|
85713
85729
|
C: ($, I) => $(...I)
|
|
85714
85730
|
}), this.abort().catch(($) => this.errors.raise($));
|
|
@@ -85717,35 +85733,35 @@ var Connection = class {
|
|
|
85717
85733
|
err: $
|
|
85718
85734
|
}, {
|
|
85719
85735
|
F: __dxlog_file$2,
|
|
85720
|
-
L:
|
|
85736
|
+
L: 223,
|
|
85721
85737
|
S: this,
|
|
85722
85738
|
C: (I, U) => I(...U)
|
|
85723
85739
|
}), this.closeReason || (this.closeReason = $ == null ? void 0 : $.message), $ instanceof ConnectionResetError ? (log$2.info("aborting due to transport ConnectionResetError", void 0, {
|
|
85724
85740
|
F: __dxlog_file$2,
|
|
85725
|
-
L:
|
|
85741
|
+
L: 230,
|
|
85726
85742
|
S: this,
|
|
85727
85743
|
C: (I, U) => I(...U)
|
|
85728
85744
|
}), this.abort().catch((I) => this.errors.raise(I))) : $ instanceof ConnectivityError ? (log$2.info("aborting due to transport ConnectivityError", void 0, {
|
|
85729
85745
|
F: __dxlog_file$2,
|
|
85730
|
-
L:
|
|
85746
|
+
L: 233,
|
|
85731
85747
|
S: this,
|
|
85732
85748
|
C: (I, U) => I(...U)
|
|
85733
85749
|
}), this.abort().catch((I) => this.errors.raise(I))) : $ instanceof UnknownProtocolError && log$2.warn("unsure what to do with UnknownProtocolError, will keep on truckin", {
|
|
85734
85750
|
err: $
|
|
85735
85751
|
}, {
|
|
85736
85752
|
F: __dxlog_file$2,
|
|
85737
|
-
L:
|
|
85753
|
+
L: 236,
|
|
85738
85754
|
S: this,
|
|
85739
85755
|
C: (I, U) => I(...U)
|
|
85740
85756
|
}), this._state !== "CLOSED" && this._state !== "CLOSING" && (await this.connectedTimeoutContext.dispose(), this.errors.raise($));
|
|
85741
85757
|
});
|
|
85742
85758
|
for (const $ of this._incomingSignalBuffer)
|
|
85743
|
-
this._transport.
|
|
85759
|
+
this._transport.onSignal($);
|
|
85744
85760
|
this._incomingSignalBuffer = [], log$2.trace("dxos.mesh.connection.open-connection", trace$1.end({
|
|
85745
85761
|
id: this._instanceId
|
|
85746
85762
|
}), {
|
|
85747
85763
|
F: __dxlog_file$2,
|
|
85748
|
-
L:
|
|
85764
|
+
L: 252,
|
|
85749
85765
|
S: this,
|
|
85750
85766
|
C: ($, I) => $(...I)
|
|
85751
85767
|
});
|
|
@@ -85756,13 +85772,13 @@ var Connection = class {
|
|
|
85756
85772
|
err: $
|
|
85757
85773
|
}, {
|
|
85758
85774
|
F: __dxlog_file$2,
|
|
85759
|
-
L:
|
|
85775
|
+
L: 259,
|
|
85760
85776
|
S: this,
|
|
85761
85777
|
C: (G, K) => G(...K)
|
|
85762
85778
|
}), this._state === "CLOSED" || this._state === "ABORTED") {
|
|
85763
85779
|
log$2(`abort ignored: already ${this._state}`, this.closeReason, {
|
|
85764
85780
|
F: __dxlog_file$2,
|
|
85765
|
-
L:
|
|
85781
|
+
L: 261,
|
|
85766
85782
|
S: this,
|
|
85767
85783
|
C: (G, K) => G(...K)
|
|
85768
85784
|
});
|
|
@@ -85772,24 +85788,24 @@ var Connection = class {
|
|
|
85772
85788
|
try {
|
|
85773
85789
|
log$2("aborting protocol... ", void 0, {
|
|
85774
85790
|
F: __dxlog_file$2,
|
|
85775
|
-
L:
|
|
85791
|
+
L: 275,
|
|
85776
85792
|
S: this,
|
|
85777
85793
|
C: (G, K) => G(...K)
|
|
85778
85794
|
}), await this._protocol.abort();
|
|
85779
85795
|
} catch (G) {
|
|
85780
85796
|
log$2.catch(G, void 0, {
|
|
85781
85797
|
F: __dxlog_file$2,
|
|
85782
|
-
L:
|
|
85798
|
+
L: 278,
|
|
85783
85799
|
S: this,
|
|
85784
85800
|
C: (K, Y) => K(...Y)
|
|
85785
85801
|
});
|
|
85786
85802
|
}
|
|
85787
85803
|
try {
|
|
85788
|
-
await ((I = this._transport) == null ? void 0 : I.
|
|
85804
|
+
await ((I = this._transport) == null ? void 0 : I.close());
|
|
85789
85805
|
} catch (G) {
|
|
85790
85806
|
log$2.catch(G, void 0, {
|
|
85791
85807
|
F: __dxlog_file$2,
|
|
85792
|
-
L:
|
|
85808
|
+
L: 285,
|
|
85793
85809
|
S: this,
|
|
85794
85810
|
C: (K, Y) => K(...Y)
|
|
85795
85811
|
});
|
|
@@ -85799,7 +85815,7 @@ var Connection = class {
|
|
|
85799
85815
|
} catch (G) {
|
|
85800
85816
|
log$2.catch(G, void 0, {
|
|
85801
85817
|
F: __dxlog_file$2,
|
|
85802
|
-
L:
|
|
85818
|
+
L: 291,
|
|
85803
85819
|
S: this,
|
|
85804
85820
|
C: (K, Y) => K(...Y)
|
|
85805
85821
|
});
|
|
@@ -85815,7 +85831,7 @@ var Connection = class {
|
|
|
85815
85831
|
peerId: this.ownId
|
|
85816
85832
|
}, {
|
|
85817
85833
|
F: __dxlog_file$2,
|
|
85818
|
-
L:
|
|
85834
|
+
L: 316,
|
|
85819
85835
|
S: this,
|
|
85820
85836
|
C: (Y, J) => Y(...J)
|
|
85821
85837
|
}), I === "CONNECTED") {
|
|
@@ -85824,17 +85840,17 @@ var Connection = class {
|
|
|
85824
85840
|
} catch (Y) {
|
|
85825
85841
|
log$2.catch(Y, void 0, {
|
|
85826
85842
|
F: __dxlog_file$2,
|
|
85827
|
-
L:
|
|
85843
|
+
L: 323,
|
|
85828
85844
|
S: this,
|
|
85829
85845
|
C: (J, Z) => J(...Z)
|
|
85830
85846
|
});
|
|
85831
85847
|
}
|
|
85832
85848
|
try {
|
|
85833
|
-
await ((U = this._transport) == null ? void 0 : U.
|
|
85849
|
+
await ((U = this._transport) == null ? void 0 : U.close());
|
|
85834
85850
|
} catch (Y) {
|
|
85835
85851
|
log$2.catch(Y, void 0, {
|
|
85836
85852
|
F: __dxlog_file$2,
|
|
85837
|
-
L:
|
|
85853
|
+
L: 330,
|
|
85838
85854
|
S: this,
|
|
85839
85855
|
C: (J, Z) => J(...Z)
|
|
85840
85856
|
});
|
|
@@ -85842,7 +85858,7 @@ var Connection = class {
|
|
|
85842
85858
|
} else {
|
|
85843
85859
|
log$2.info(`graceful close requested when we were in ${I} state? aborting`, void 0, {
|
|
85844
85860
|
F: __dxlog_file$2,
|
|
85845
|
-
L:
|
|
85861
|
+
L: 333,
|
|
85846
85862
|
S: this,
|
|
85847
85863
|
C: (Y, J) => Y(...J)
|
|
85848
85864
|
});
|
|
@@ -85851,17 +85867,17 @@ var Connection = class {
|
|
|
85851
85867
|
} catch (Y) {
|
|
85852
85868
|
log$2.catch(Y, void 0, {
|
|
85853
85869
|
F: __dxlog_file$2,
|
|
85854
|
-
L:
|
|
85870
|
+
L: 337,
|
|
85855
85871
|
S: this,
|
|
85856
85872
|
C: (J, Z) => J(...Z)
|
|
85857
85873
|
});
|
|
85858
85874
|
}
|
|
85859
85875
|
try {
|
|
85860
|
-
await ((q = this._transport) == null ? void 0 : q.
|
|
85876
|
+
await ((q = this._transport) == null ? void 0 : q.close());
|
|
85861
85877
|
} catch (Y) {
|
|
85862
85878
|
log$2.catch(Y, void 0, {
|
|
85863
85879
|
F: __dxlog_file$2,
|
|
85864
|
-
L:
|
|
85880
|
+
L: 342,
|
|
85865
85881
|
S: this,
|
|
85866
85882
|
C: (J, Z) => J(...Z)
|
|
85867
85883
|
});
|
|
@@ -85871,7 +85887,7 @@ var Connection = class {
|
|
|
85871
85887
|
peerId: this.ownId
|
|
85872
85888
|
}, {
|
|
85873
85889
|
F: __dxlog_file$2,
|
|
85874
|
-
L:
|
|
85890
|
+
L: 346,
|
|
85875
85891
|
S: this,
|
|
85876
85892
|
C: (Y, J) => Y(...J)
|
|
85877
85893
|
}), this._changeState("CLOSED"), (K = (G = this._callbacks) == null ? void 0 : G.onClosed) == null || K.call(G, $);
|
|
@@ -85905,7 +85921,7 @@ var Connection = class {
|
|
|
85905
85921
|
err: I
|
|
85906
85922
|
}, {
|
|
85907
85923
|
F: __dxlog_file$2,
|
|
85908
|
-
L:
|
|
85924
|
+
L: 384,
|
|
85909
85925
|
S: this,
|
|
85910
85926
|
C: (U, q) => U(...q)
|
|
85911
85927
|
}), await this.close(new ConnectivityError("signal message failed to deliver", I));
|
|
@@ -85918,7 +85934,7 @@ var Connection = class {
|
|
|
85918
85934
|
var U, q;
|
|
85919
85935
|
if (invariant($.sessionId, void 0, {
|
|
85920
85936
|
F: __dxlog_file$2,
|
|
85921
|
-
L:
|
|
85937
|
+
L: 393,
|
|
85922
85938
|
S: this,
|
|
85923
85939
|
A: [
|
|
85924
85940
|
"msg.sessionId",
|
|
@@ -85927,7 +85943,7 @@ var Connection = class {
|
|
|
85927
85943
|
}), !$.sessionId.equals(this.sessionId)) {
|
|
85928
85944
|
log$2("dropping signal for incorrect session id", void 0, {
|
|
85929
85945
|
F: __dxlog_file$2,
|
|
85930
|
-
L:
|
|
85946
|
+
L: 395,
|
|
85931
85947
|
S: this,
|
|
85932
85948
|
C: (G, K) => G(...K)
|
|
85933
85949
|
});
|
|
@@ -85935,7 +85951,7 @@ var Connection = class {
|
|
|
85935
85951
|
}
|
|
85936
85952
|
invariant($.data.signal || $.data.signalBatch, void 0, {
|
|
85937
85953
|
F: __dxlog_file$2,
|
|
85938
|
-
L:
|
|
85954
|
+
L: 398,
|
|
85939
85955
|
S: this,
|
|
85940
85956
|
A: [
|
|
85941
85957
|
"msg.data.signal || msg.data.signalBatch",
|
|
@@ -85943,7 +85959,7 @@ var Connection = class {
|
|
|
85943
85959
|
]
|
|
85944
85960
|
}), invariant((U = $.author) == null ? void 0 : U.equals(this.remoteId), void 0, {
|
|
85945
85961
|
F: __dxlog_file$2,
|
|
85946
|
-
L:
|
|
85962
|
+
L: 399,
|
|
85947
85963
|
S: this,
|
|
85948
85964
|
A: [
|
|
85949
85965
|
"msg.author?.equals(this.remoteId)",
|
|
@@ -85951,7 +85967,7 @@ var Connection = class {
|
|
|
85951
85967
|
]
|
|
85952
85968
|
}), invariant((q = $.recipient) == null ? void 0 : q.equals(this.ownId), void 0, {
|
|
85953
85969
|
F: __dxlog_file$2,
|
|
85954
|
-
L:
|
|
85970
|
+
L: 400,
|
|
85955
85971
|
S: this,
|
|
85956
85972
|
A: [
|
|
85957
85973
|
"msg.recipient?.equals(this.ownId)",
|
|
@@ -85971,12 +85987,12 @@ var Connection = class {
|
|
|
85971
85987
|
msg: $.data
|
|
85972
85988
|
}, {
|
|
85973
85989
|
F: __dxlog_file$2,
|
|
85974
|
-
L:
|
|
85990
|
+
L: 409,
|
|
85975
85991
|
S: this,
|
|
85976
85992
|
C: (K, Y) => K(...Y)
|
|
85977
85993
|
}), this._incomingSignalBuffer.push(G)) : (invariant(this._transport, "Connection not ready to accept signals.", {
|
|
85978
85994
|
F: __dxlog_file$2,
|
|
85979
|
-
L:
|
|
85995
|
+
L: 412,
|
|
85980
85996
|
S: this,
|
|
85981
85997
|
A: [
|
|
85982
85998
|
"this._transport",
|
|
@@ -85988,10 +86004,10 @@ var Connection = class {
|
|
|
85988
86004
|
msg: $.data
|
|
85989
86005
|
}, {
|
|
85990
86006
|
F: __dxlog_file$2,
|
|
85991
|
-
L:
|
|
86007
|
+
L: 413,
|
|
85992
86008
|
S: this,
|
|
85993
86009
|
C: (K, Y) => K(...Y)
|
|
85994
|
-
}), await this._transport.
|
|
86010
|
+
}), await this._transport.onSignal(G)));
|
|
85995
86011
|
}
|
|
85996
86012
|
initiate() {
|
|
85997
86013
|
this._changeState("INITIAL");
|
|
@@ -86003,12 +86019,12 @@ var Connection = class {
|
|
|
86003
86019
|
peerId: this.ownId
|
|
86004
86020
|
}, {
|
|
86005
86021
|
F: __dxlog_file$2,
|
|
86006
|
-
L:
|
|
86022
|
+
L: 424,
|
|
86007
86023
|
S: this,
|
|
86008
86024
|
C: (I, U) => I(...U)
|
|
86009
86025
|
}), invariant($ !== this._state, "Already in this state.", {
|
|
86010
86026
|
F: __dxlog_file$2,
|
|
86011
|
-
L:
|
|
86027
|
+
L: 425,
|
|
86012
86028
|
S: this,
|
|
86013
86029
|
A: [
|
|
86014
86030
|
"state !== this._state",
|
|
@@ -86247,7 +86263,6 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86247
86263
|
super("Connection displaced by remote initiator.");
|
|
86248
86264
|
}
|
|
86249
86265
|
}, CONNECTION_COUNTS_STABLE_AFTER = 5e3, Peer = class {
|
|
86250
|
-
// TODO(burdon): Convert to map?
|
|
86251
86266
|
constructor($, I, U, q, G, K, Y, J) {
|
|
86252
86267
|
this.id = $, this.topic = I, this.localPeerId = U, this._signalMessaging = q, this._protocolProvider = G, this._transportFactory = K, this._connectionLimiter = Y, this._callbacks = J, this._availableAfter = 0, this.availableToConnect = !0, this._ctx = new Context(), this.advertizing = !1, this.initiating = !1, this.connectionDisplaced = new Event$1();
|
|
86253
86268
|
}
|
|
@@ -86264,7 +86279,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86264
86279
|
].includes(this.connection.state))
|
|
86265
86280
|
return log$2.info(`received offer when connection already in ${this.connection.state} state`, void 0, {
|
|
86266
86281
|
F: __dxlog_file3$1,
|
|
86267
|
-
L:
|
|
86282
|
+
L: 114,
|
|
86268
86283
|
S: this,
|
|
86269
86284
|
C: (q, G) => q(...G)
|
|
86270
86285
|
}), {
|
|
@@ -86279,7 +86294,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86279
86294
|
sessionId: (U = this.connection) == null ? void 0 : U.sessionId
|
|
86280
86295
|
}, {
|
|
86281
86296
|
F: __dxlog_file3$1,
|
|
86282
|
-
L:
|
|
86297
|
+
L: 123,
|
|
86283
86298
|
S: this,
|
|
86284
86299
|
C: (q, G) => q(...G)
|
|
86285
86300
|
}), this.connection && await this.closeConnection(new ConnectionDisplacedError());
|
|
@@ -86290,7 +86305,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86290
86305
|
if (await this._callbacks.onOffer(I) && !this.connection) {
|
|
86291
86306
|
invariant($.sessionId, void 0, {
|
|
86292
86307
|
F: __dxlog_file3$1,
|
|
86293
|
-
L:
|
|
86308
|
+
L: 143,
|
|
86294
86309
|
S: this,
|
|
86295
86310
|
A: [
|
|
86296
86311
|
"message.sessionId",
|
|
@@ -86308,7 +86323,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86308
86323
|
err: G
|
|
86309
86324
|
}, {
|
|
86310
86325
|
F: __dxlog_file3$1,
|
|
86311
|
-
L:
|
|
86326
|
+
L: 153,
|
|
86312
86327
|
S: this,
|
|
86313
86328
|
C: (K, Y) => K(...Y)
|
|
86314
86329
|
}), await this.closeConnection(G);
|
|
@@ -86327,7 +86342,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86327
86342
|
async initiateConnection() {
|
|
86328
86343
|
invariant(!this.initiating, "Initiation in progress.", {
|
|
86329
86344
|
F: __dxlog_file3$1,
|
|
86330
|
-
L:
|
|
86345
|
+
L: 170,
|
|
86331
86346
|
S: this,
|
|
86332
86347
|
A: [
|
|
86333
86348
|
"!this.initiating",
|
|
@@ -86335,7 +86350,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86335
86350
|
]
|
|
86336
86351
|
}), invariant(!this.connection, "Already connected.", {
|
|
86337
86352
|
F: __dxlog_file3$1,
|
|
86338
|
-
L:
|
|
86353
|
+
L: 171,
|
|
86339
86354
|
S: this,
|
|
86340
86355
|
A: [
|
|
86341
86356
|
"!this.connection",
|
|
@@ -86350,7 +86365,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86350
86365
|
sessionId: $
|
|
86351
86366
|
}, {
|
|
86352
86367
|
F: __dxlog_file3$1,
|
|
86353
|
-
L:
|
|
86368
|
+
L: 173,
|
|
86354
86369
|
S: this,
|
|
86355
86370
|
C: (q, G) => q(...G)
|
|
86356
86371
|
});
|
|
@@ -86373,13 +86388,13 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86373
86388
|
remoteId: this.id
|
|
86374
86389
|
}, {
|
|
86375
86390
|
F: __dxlog_file3$1,
|
|
86376
|
-
L:
|
|
86391
|
+
L: 190,
|
|
86377
86392
|
S: this,
|
|
86378
86393
|
C: (q, G) => q(...G)
|
|
86379
86394
|
}), I.state !== ConnectionState.INITIAL) {
|
|
86380
86395
|
log$2("ignoring response", void 0, {
|
|
86381
86396
|
F: __dxlog_file3$1,
|
|
86382
|
-
L:
|
|
86397
|
+
L: 192,
|
|
86383
86398
|
S: this,
|
|
86384
86399
|
C: (q, G) => q(...G)
|
|
86385
86400
|
});
|
|
@@ -86393,7 +86408,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86393
86408
|
remoteId: this.id
|
|
86394
86409
|
}, {
|
|
86395
86410
|
F: __dxlog_file3$1,
|
|
86396
|
-
L:
|
|
86411
|
+
L: 196,
|
|
86397
86412
|
S: this,
|
|
86398
86413
|
C: (G, K) => G(...K)
|
|
86399
86414
|
}), await I.abort(q), q;
|
|
@@ -86413,7 +86428,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86413
86428
|
remoteId: this.id
|
|
86414
86429
|
}, {
|
|
86415
86430
|
F: __dxlog_file3$1,
|
|
86416
|
-
L:
|
|
86431
|
+
L: 209,
|
|
86417
86432
|
S: this,
|
|
86418
86433
|
C: (G, K) => G(...K)
|
|
86419
86434
|
}), await I.abort(q), q;
|
|
@@ -86423,7 +86438,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86423
86438
|
try {
|
|
86424
86439
|
log$2("opening connection as initiator", void 0, {
|
|
86425
86440
|
F: __dxlog_file3$1,
|
|
86426
|
-
L:
|
|
86441
|
+
L: 222,
|
|
86427
86442
|
S: this,
|
|
86428
86443
|
C: (q, G) => q(...G)
|
|
86429
86444
|
}), await I.openConnection(), this._callbacks.onAccepted();
|
|
@@ -86435,14 +86450,14 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86435
86450
|
remoteId: this.id
|
|
86436
86451
|
}, {
|
|
86437
86452
|
F: __dxlog_file3$1,
|
|
86438
|
-
L:
|
|
86453
|
+
L: 226,
|
|
86439
86454
|
S: this,
|
|
86440
86455
|
C: (G, K) => G(...K)
|
|
86441
86456
|
}), log$2.warn("closing connection due to unhandled error on openConnection", {
|
|
86442
86457
|
err: q
|
|
86443
86458
|
}, {
|
|
86444
86459
|
F: __dxlog_file3$1,
|
|
86445
|
-
L:
|
|
86460
|
+
L: 233,
|
|
86446
86461
|
S: this,
|
|
86447
86462
|
C: (G, K) => G(...K)
|
|
86448
86463
|
}), await this.closeConnection(q), q;
|
|
@@ -86464,12 +86479,12 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86464
86479
|
sessionId: I
|
|
86465
86480
|
}, {
|
|
86466
86481
|
F: __dxlog_file3$1,
|
|
86467
|
-
L:
|
|
86482
|
+
L: 247,
|
|
86468
86483
|
S: this,
|
|
86469
86484
|
C: (G, K) => G(...K)
|
|
86470
86485
|
}), invariant(!this.connection, "Already connected.", {
|
|
86471
86486
|
F: __dxlog_file3$1,
|
|
86472
|
-
L:
|
|
86487
|
+
L: 254,
|
|
86473
86488
|
S: this,
|
|
86474
86489
|
A: [
|
|
86475
86490
|
"!this.connection",
|
|
@@ -86501,7 +86516,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86501
86516
|
initiator: $
|
|
86502
86517
|
}, {
|
|
86503
86518
|
F: __dxlog_file3$1,
|
|
86504
|
-
L:
|
|
86519
|
+
L: 273,
|
|
86505
86520
|
S: this,
|
|
86506
86521
|
C: (G, K) => G(...K)
|
|
86507
86522
|
});
|
|
@@ -86514,12 +86529,12 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86514
86529
|
initiator: $
|
|
86515
86530
|
}, {
|
|
86516
86531
|
F: __dxlog_file3$1,
|
|
86517
|
-
L:
|
|
86532
|
+
L: 282,
|
|
86518
86533
|
S: this,
|
|
86519
86534
|
C: (K, Y) => K(...Y)
|
|
86520
86535
|
}), this._connectionLimiter.doneConnecting(I), invariant(this.connection === U, "Connection mismatch (race condition).", {
|
|
86521
86536
|
F: __dxlog_file3$1,
|
|
86522
|
-
L:
|
|
86537
|
+
L: 287,
|
|
86523
86538
|
S: this,
|
|
86524
86539
|
A: [
|
|
86525
86540
|
"this.connection === connection",
|
|
@@ -86533,7 +86548,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86533
86548
|
initiator: $
|
|
86534
86549
|
}, {
|
|
86535
86550
|
F: __dxlog_file3$1,
|
|
86536
|
-
L:
|
|
86551
|
+
L: 289,
|
|
86537
86552
|
S: this,
|
|
86538
86553
|
C: (K, Y) => K(...Y)
|
|
86539
86554
|
}), G instanceof ConnectionDisplacedError ? this.connectionDisplaced.emit(this.connection) : (this._lastConnectionTime && this._lastConnectionTime + CONNECTION_COUNTS_STABLE_AFTER < Date.now() ? this._availableAfter = 0 : (this.availableToConnect = !1, this._availableAfter = increaseInterval(this._availableAfter)), this._callbacks.onDisconnected(), scheduleTask(this._connectionCtx, () => {
|
|
@@ -86551,7 +86566,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86551
86566
|
err: G
|
|
86552
86567
|
}, {
|
|
86553
86568
|
F: __dxlog_file3$1,
|
|
86554
|
-
L:
|
|
86569
|
+
L: 329,
|
|
86555
86570
|
S: this,
|
|
86556
86571
|
C: (K, Y) => K(...Y)
|
|
86557
86572
|
}), log$2.trace("dxos.mesh.connection.error", {
|
|
@@ -86563,7 +86578,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86563
86578
|
err: G
|
|
86564
86579
|
}, {
|
|
86565
86580
|
F: __dxlog_file3$1,
|
|
86566
|
-
L:
|
|
86581
|
+
L: 336,
|
|
86567
86582
|
S: this,
|
|
86568
86583
|
C: (K, Y) => K(...Y)
|
|
86569
86584
|
}), this.closeConnection(G);
|
|
@@ -86578,7 +86593,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86578
86593
|
sessionId: I.sessionId
|
|
86579
86594
|
}, {
|
|
86580
86595
|
F: __dxlog_file3$1,
|
|
86581
|
-
L:
|
|
86596
|
+
L: 361,
|
|
86582
86597
|
S: this,
|
|
86583
86598
|
C: (U, q) => U(...q)
|
|
86584
86599
|
}), await I.close($), log$2("closed", {
|
|
@@ -86586,7 +86601,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86586
86601
|
sessionId: I.sessionId
|
|
86587
86602
|
}, {
|
|
86588
86603
|
F: __dxlog_file3$1,
|
|
86589
|
-
L:
|
|
86604
|
+
L: 367,
|
|
86590
86605
|
S: this,
|
|
86591
86606
|
C: (U, q) => U(...q)
|
|
86592
86607
|
});
|
|
@@ -86597,7 +86612,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86597
86612
|
message: $
|
|
86598
86613
|
}, {
|
|
86599
86614
|
F: __dxlog_file3$1,
|
|
86600
|
-
L:
|
|
86615
|
+
L: 372,
|
|
86601
86616
|
S: this,
|
|
86602
86617
|
C: (I, U) => I(...U)
|
|
86603
86618
|
});
|
|
@@ -86612,7 +86627,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
|
|
|
86612
86627
|
topic: this.topic
|
|
86613
86628
|
}, {
|
|
86614
86629
|
F: __dxlog_file3$1,
|
|
86615
|
-
L:
|
|
86630
|
+
L: 382,
|
|
86616
86631
|
S: this,
|
|
86617
86632
|
C: (U, q) => U(...q)
|
|
86618
86633
|
}), await ((I = this == null ? void 0 : this.connection) == null ? void 0 : I.close($));
|
|
@@ -87040,88 +87055,88 @@ var __dxlog_file11 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-man
|
|
|
87040
87055
|
}
|
|
87041
87056
|
}), Qn, MemoryTransport = (Qn = class {
|
|
87042
87057
|
constructor(I) {
|
|
87043
|
-
this.
|
|
87058
|
+
this._options = I, this._instanceId = PublicKey.random(), this._remote = new Trigger(), this._outgoingDelay = createStreamDelay(MEMORY_TRANSPORT_DELAY), this._incomingDelay = createStreamDelay(MEMORY_TRANSPORT_DELAY), this._closed = !1, this.closed = new Event$1(), this.connected = new Event$1(), this.errors = new ErrorStream(), invariant(!Qn._connections.has(this._instanceId), "Duplicate memory connection", {
|
|
87044
87059
|
F: __dxlog_file11,
|
|
87045
87060
|
L: 64,
|
|
87046
87061
|
S: this,
|
|
87047
|
-
C: (U, q) => U(...q)
|
|
87048
|
-
}), invariant(!Qn._connections.has(this._instanceId), "Duplicate memory connection", {
|
|
87049
|
-
F: __dxlog_file11,
|
|
87050
|
-
L: 66,
|
|
87051
|
-
S: this,
|
|
87052
87062
|
A: [
|
|
87053
87063
|
"!MemoryTransport._connections.has(this._instanceId)",
|
|
87054
87064
|
"'Duplicate memory connection'"
|
|
87055
87065
|
]
|
|
87056
|
-
}), Qn._connections.set(this._instanceId, this)
|
|
87066
|
+
}), Qn._connections.set(this._instanceId, this);
|
|
87067
|
+
}
|
|
87068
|
+
get isOpen() {
|
|
87069
|
+
return !this._closed;
|
|
87070
|
+
}
|
|
87071
|
+
async open() {
|
|
87072
|
+
if (log$2("opening...", void 0, {
|
|
87073
|
+
F: __dxlog_file11,
|
|
87074
|
+
L: 74,
|
|
87075
|
+
S: this,
|
|
87076
|
+
C: (I, U) => I(...U)
|
|
87077
|
+
}), this._options.initiator) {
|
|
87057
87078
|
log$2("sending signal", void 0, {
|
|
87058
87079
|
F: __dxlog_file11,
|
|
87059
|
-
L:
|
|
87080
|
+
L: 78,
|
|
87060
87081
|
S: this,
|
|
87061
|
-
C: (
|
|
87062
|
-
}), this.options.sendSignal({
|
|
87063
|
-
payload: {
|
|
87064
|
-
transportId: this._instanceId.toHex()
|
|
87065
|
-
}
|
|
87066
|
-
}).catch((U) => {
|
|
87067
|
-
this._destroyed || this.errors.raise(U);
|
|
87082
|
+
C: (I, U) => I(...U)
|
|
87068
87083
|
});
|
|
87069
|
-
|
|
87070
|
-
|
|
87071
|
-
|
|
87072
|
-
|
|
87073
|
-
|
|
87074
|
-
|
|
87075
|
-
|
|
87076
|
-
|
|
87077
|
-
invariant(!this._remoteConnection._remoteConnection, `Remote already connected: ${this._remoteInstanceId}`, {
|
|
87078
|
-
F: __dxlog_file11,
|
|
87079
|
-
L: 99,
|
|
87080
|
-
S: this,
|
|
87081
|
-
A: [
|
|
87082
|
-
"!this._remoteConnection._remoteConnection",
|
|
87083
|
-
"`Remote already connected: ${this._remoteInstanceId}`"
|
|
87084
|
-
]
|
|
87085
|
-
}), this._remoteConnection._remoteConnection = this, this._remoteConnection._remoteInstanceId = this._instanceId, log$2("connected", void 0, {
|
|
87086
|
-
F: __dxlog_file11,
|
|
87087
|
-
L: 103,
|
|
87088
|
-
S: this,
|
|
87089
|
-
C: (q, G) => q(...G)
|
|
87090
|
-
}), this.options.stream.pipe(this._outgoingDelay).pipe(this._remoteConnection.options.stream).pipe(this._incomingDelay).pipe(this.options.stream), this.connected.emit(), this._remoteConnection.connected.emit();
|
|
87084
|
+
try {
|
|
87085
|
+
await this._options.sendSignal({
|
|
87086
|
+
payload: {
|
|
87087
|
+
transportId: this._instanceId.toHex()
|
|
87088
|
+
}
|
|
87089
|
+
});
|
|
87090
|
+
} catch (I) {
|
|
87091
|
+
this._closed || this.errors.raise(toError(I));
|
|
87091
87092
|
}
|
|
87092
|
-
}
|
|
87093
|
-
this.
|
|
87094
|
-
|
|
87093
|
+
} else
|
|
87094
|
+
this._remote.wait({
|
|
87095
|
+
timeout: this._options.timeout ?? 1e3
|
|
87096
|
+
}).then((I) => {
|
|
87097
|
+
if (!this._closed) {
|
|
87098
|
+
if (this._remoteInstanceId = I, this._remoteConnection = Qn._connections.get(this._remoteInstanceId), !this._remoteConnection) {
|
|
87099
|
+
this._closed = !0, this.closed.emit();
|
|
87100
|
+
return;
|
|
87101
|
+
}
|
|
87102
|
+
invariant(!this._remoteConnection._remoteConnection, `Remote already connected: ${this._remoteInstanceId}`, {
|
|
87103
|
+
F: __dxlog_file11,
|
|
87104
|
+
L: 104,
|
|
87105
|
+
S: this,
|
|
87106
|
+
A: [
|
|
87107
|
+
"!this._remoteConnection._remoteConnection",
|
|
87108
|
+
"`Remote already connected: ${this._remoteInstanceId}`"
|
|
87109
|
+
]
|
|
87110
|
+
}), this._remoteConnection._remoteConnection = this, this._remoteConnection._remoteInstanceId = this._instanceId, log$2("connected", void 0, {
|
|
87111
|
+
F: __dxlog_file11,
|
|
87112
|
+
L: 108,
|
|
87113
|
+
S: this,
|
|
87114
|
+
C: (U, q) => U(...q)
|
|
87115
|
+
}), this._options.stream.pipe(this._outgoingDelay).pipe(this._remoteConnection._options.stream).pipe(this._incomingDelay).pipe(this._options.stream), this.connected.emit(), this._remoteConnection.connected.emit();
|
|
87116
|
+
}
|
|
87117
|
+
}).catch((I) => {
|
|
87118
|
+
this._closed || this.errors.raise(I);
|
|
87119
|
+
});
|
|
87095
87120
|
}
|
|
87096
|
-
async
|
|
87097
|
-
log$2("closing", void 0, {
|
|
87098
|
-
F: __dxlog_file11,
|
|
87099
|
-
L: 124,
|
|
87100
|
-
S: this,
|
|
87101
|
-
C: (I, U) => I(...U)
|
|
87102
|
-
}), this._destroyed = !0, Qn._connections.delete(this._instanceId), this._remoteConnection && (log$2("closing", void 0, {
|
|
87121
|
+
async close() {
|
|
87122
|
+
log$2("closing...", void 0, {
|
|
87103
87123
|
F: __dxlog_file11,
|
|
87104
87124
|
L: 129,
|
|
87105
87125
|
S: this,
|
|
87106
87126
|
C: (I, U) => I(...U)
|
|
87107
|
-
}), this._remoteConnection.
|
|
87127
|
+
}), this._closed = !0, Qn._connections.delete(this._instanceId), this._remoteConnection && (this._remoteConnection._closed = !0, Qn._connections.delete(this._remoteInstanceId), this._options.stream.unpipe(this._incomingDelay), this._incomingDelay.unpipe(this._remoteConnection._options.stream), this._remoteConnection._options.stream.unpipe(this._outgoingDelay), this._outgoingDelay.unpipe(this._options.stream), this._options.stream.unpipe(this._outgoingDelay), this._remoteConnection.closed.emit(), this._remoteConnection._remoteConnection = void 0, this._remoteConnection = void 0), this.closed.emit(), log$2("closed", void 0, {
|
|
87108
87128
|
F: __dxlog_file11,
|
|
87109
|
-
L:
|
|
87110
|
-
S: this,
|
|
87111
|
-
C: (I, U) => I(...U)
|
|
87112
|
-
})), this.closed.emit(), log$2("closed", void 0, {
|
|
87113
|
-
F: __dxlog_file11,
|
|
87114
|
-
L: 154,
|
|
87129
|
+
L: 157,
|
|
87115
87130
|
S: this,
|
|
87116
87131
|
C: (I, U) => I(...U)
|
|
87117
87132
|
});
|
|
87118
87133
|
}
|
|
87119
|
-
|
|
87134
|
+
async onSignal({ payload: I }) {
|
|
87120
87135
|
if (log$2("received signal", {
|
|
87121
87136
|
payload: I
|
|
87122
87137
|
}, {
|
|
87123
87138
|
F: __dxlog_file11,
|
|
87124
|
-
L:
|
|
87139
|
+
L: 161,
|
|
87125
87140
|
S: this,
|
|
87126
87141
|
C: (q, G) => q(...G)
|
|
87127
87142
|
}), !(I != null && I.transportId))
|
|
@@ -87150,9 +87165,9 @@ _ts_decorate4$1([
|
|
|
87150
87165
|
_ts_decorate4$1([
|
|
87151
87166
|
logInfo
|
|
87152
87167
|
], MemoryTransport.prototype, "_remoteInstanceId", void 0);
|
|
87153
|
-
var TransportKind;
|
|
87168
|
+
var toError = ($) => $ instanceof Error ? $ : new Error(String($)), TransportKind;
|
|
87154
87169
|
(function($) {
|
|
87155
|
-
$.SIMPLE_PEER = "SIMPLE_PEER", $.
|
|
87170
|
+
$.SIMPLE_PEER = "SIMPLE_PEER", $.SIMPLE_PEER_PROXY = "SIMPLE_PEER_PROXY", $.LIBDATACHANNEL = "LIBDATACHANNEL", $.MEMORY = "MEMORY", $.TCP = "TCP";
|
|
87156
87171
|
})(TransportKind || (TransportKind = {}));
|
|
87157
87172
|
var wrtc = null;
|
|
87158
87173
|
try {
|
|
@@ -87170,115 +87185,146 @@ function _ts_decorate5$1($, I, U, q) {
|
|
|
87170
87185
|
}
|
|
87171
87186
|
var __dxlog_file15 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-manager/src/transport/libdatachannel-transport.ts", DATACHANNEL_LABEL = "dxos.mesh.transport", MAX_BUFFERED_AMOUNT = 64 * 1024, MAX_MESSAGE_SIZE = 64 * 1024, or, LibDataChannelTransport = (or = class {
|
|
87172
87187
|
constructor(I) {
|
|
87173
|
-
this.
|
|
87174
|
-
|
|
87175
|
-
|
|
87176
|
-
|
|
87177
|
-
|
|
87178
|
-
|
|
87179
|
-
|
|
87180
|
-
|
|
87181
|
-
|
|
87182
|
-
|
|
87183
|
-
|
|
87184
|
-
|
|
87185
|
-
|
|
87186
|
-
|
|
87187
|
-
|
|
87188
|
-
|
|
87189
|
-
|
|
87190
|
-
|
|
87191
|
-
|
|
87192
|
-
|
|
87193
|
-
|
|
87194
|
-
|
|
87195
|
-
|
|
87196
|
-
|
|
87197
|
-
|
|
87198
|
-
|
|
87199
|
-
|
|
87200
|
-
|
|
87201
|
-
|
|
87202
|
-
|
|
87203
|
-
|
|
87204
|
-
|
|
87205
|
-
|
|
87206
|
-
|
|
87207
|
-
|
|
87208
|
-
|
|
87209
|
-
|
|
87210
|
-
|
|
87211
|
-
|
|
87212
|
-
|
|
87213
|
-
|
|
87214
|
-
|
|
87215
|
-
|
|
87216
|
-
|
|
87217
|
-
|
|
87218
|
-
|
|
87188
|
+
this._options = I, this._closed = !1, this._connected = !1, this._writeCallback = null, this._readyForCandidates = new Trigger(), this.closed = new Event$1(), this.connected = new Event$1(), this.errors = new ErrorStream();
|
|
87189
|
+
}
|
|
87190
|
+
get isOpen() {
|
|
87191
|
+
return !!this._peer && !this._closed;
|
|
87192
|
+
}
|
|
87193
|
+
async open() {
|
|
87194
|
+
this._closed && this.errors.raise(new Error("connection already closed"));
|
|
87195
|
+
const { RTCPeerConnection: I } = (await importESM("node-datachannel/polyfill")).default;
|
|
87196
|
+
this._options.webrtcConfig ? this._options.webrtcConfig.iceServers = this._options.webrtcConfig.iceServers ?? [] : this._options.webrtcConfig = {
|
|
87197
|
+
iceServers: []
|
|
87198
|
+
}, this._peer = new I(this._options.webrtcConfig), this._peer.onicecandidateerror = (U) => {
|
|
87199
|
+
log$2.error("peer.onicecandidateerror", {
|
|
87200
|
+
event: U
|
|
87201
|
+
}, {
|
|
87202
|
+
F: __dxlog_file15,
|
|
87203
|
+
L: 77,
|
|
87204
|
+
S: this,
|
|
87205
|
+
C: (q, G) => q(...G)
|
|
87206
|
+
});
|
|
87207
|
+
}, this._peer.onconnectionstatechange = (U) => {
|
|
87208
|
+
var q;
|
|
87209
|
+
log$2.debug("peer.onconnectionstatechange", {
|
|
87210
|
+
event: U,
|
|
87211
|
+
peerConnectionState: (q = this._peer) == null ? void 0 : q.connectionState,
|
|
87212
|
+
transportConnectionState: this._connected
|
|
87213
|
+
}, {
|
|
87214
|
+
F: __dxlog_file15,
|
|
87215
|
+
L: 81,
|
|
87216
|
+
S: this,
|
|
87217
|
+
C: (G, K) => G(...K)
|
|
87218
|
+
});
|
|
87219
|
+
}, this._peer.onicecandidate = async (U) => {
|
|
87220
|
+
if (log$2.debug("peer.onicecandidate", {
|
|
87221
|
+
event: U
|
|
87222
|
+
}, {
|
|
87223
|
+
F: __dxlog_file15,
|
|
87224
|
+
L: 91,
|
|
87225
|
+
S: this,
|
|
87226
|
+
C: (q, G) => q(...G)
|
|
87227
|
+
}), U.candidate)
|
|
87228
|
+
try {
|
|
87229
|
+
await this._options.sendSignal({
|
|
87230
|
+
payload: {
|
|
87231
|
+
data: {
|
|
87232
|
+
type: "candidate",
|
|
87233
|
+
candidate: {
|
|
87234
|
+
candidate: U.candidate.candidate,
|
|
87235
|
+
// These fields never seem to be not null, but connecting to Chrome doesn't work if they are.
|
|
87236
|
+
sdpMLineIndex: U.candidate.sdpMLineIndex ?? 0,
|
|
87237
|
+
sdpMid: U.candidate.sdpMid ?? 0
|
|
87219
87238
|
}
|
|
87220
87239
|
}
|
|
87221
|
-
}
|
|
87222
|
-
}
|
|
87223
|
-
|
|
87224
|
-
|
|
87225
|
-
|
|
87226
|
-
F: __dxlog_file15,
|
|
87227
|
-
L: 93,
|
|
87228
|
-
S: this,
|
|
87229
|
-
C: (Y, J) => Y(...J)
|
|
87230
|
-
});
|
|
87231
|
-
}
|
|
87232
|
-
}, I.initiator ? (q.createOffer().then(async (G) => {
|
|
87233
|
-
if (!this._closed)
|
|
87234
|
-
return q.connectionState !== "connecting" && (log$2.error("i am initiator but peer not in state connecting", {
|
|
87235
|
-
peer: q
|
|
87236
|
-
}, {
|
|
87237
|
-
F: __dxlog_file15,
|
|
87238
|
-
L: 106,
|
|
87239
|
-
S: this,
|
|
87240
|
-
C: (K, Y) => K(...Y)
|
|
87241
|
-
}), this.errors.raise(new Error("invalid state: peer is initiator, but other peer not in state connecting"))), log$2.debug(`im the initiator, creating offer, peer is in state ${q.connectionState}`, {
|
|
87242
|
-
offer: G
|
|
87240
|
+
}
|
|
87241
|
+
});
|
|
87242
|
+
} catch (q) {
|
|
87243
|
+
log$2.info("signaling error", {
|
|
87244
|
+
err: q
|
|
87243
87245
|
}, {
|
|
87244
87246
|
F: __dxlog_file15,
|
|
87245
|
-
L:
|
|
87247
|
+
L: 108,
|
|
87246
87248
|
S: this,
|
|
87247
|
-
C: (
|
|
87248
|
-
})
|
|
87249
|
-
|
|
87250
|
-
|
|
87251
|
-
|
|
87252
|
-
|
|
87253
|
-
|
|
87254
|
-
|
|
87255
|
-
|
|
87256
|
-
|
|
87257
|
-
|
|
87258
|
-
|
|
87249
|
+
C: (G, K) => G(...K)
|
|
87250
|
+
});
|
|
87251
|
+
}
|
|
87252
|
+
}, this._options.initiator ? (invariant(this._peer, "not open", {
|
|
87253
|
+
F: __dxlog_file15,
|
|
87254
|
+
L: 114,
|
|
87255
|
+
S: this,
|
|
87256
|
+
A: [
|
|
87257
|
+
"this._peer",
|
|
87258
|
+
"'not open'"
|
|
87259
|
+
]
|
|
87260
|
+
}), this._peer.createOffer().then(async (U) => {
|
|
87261
|
+
var q;
|
|
87262
|
+
this._closed || (((q = this._peer) == null ? void 0 : q.connectionState) !== "connecting" && (log$2.error("peer not connecting", {
|
|
87263
|
+
peer: this._peer
|
|
87264
|
+
}, {
|
|
87259
87265
|
F: __dxlog_file15,
|
|
87260
|
-
L:
|
|
87266
|
+
L: 125,
|
|
87261
87267
|
S: this,
|
|
87262
87268
|
C: (G, K) => G(...K)
|
|
87263
|
-
}),
|
|
87264
|
-
this.
|
|
87265
|
-
|
|
87266
|
-
|
|
87267
|
-
|
|
87268
|
-
|
|
87269
|
-
|
|
87270
|
-
|
|
87271
|
-
|
|
87272
|
-
|
|
87273
|
-
|
|
87274
|
-
|
|
87275
|
-
|
|
87269
|
+
}), this.errors.raise(new Error("invalid state: peer is initiator, but other peer not in state connecting"))), log$2.debug("creating offer", {
|
|
87270
|
+
peer: this._peer,
|
|
87271
|
+
offer: U
|
|
87272
|
+
}, {
|
|
87273
|
+
F: __dxlog_file15,
|
|
87274
|
+
L: 129,
|
|
87275
|
+
S: this,
|
|
87276
|
+
C: (G, K) => G(...K)
|
|
87277
|
+
}), await this._peer.setLocalDescription(U), await this._options.sendSignal({
|
|
87278
|
+
payload: {
|
|
87279
|
+
data: {
|
|
87280
|
+
type: U.type,
|
|
87281
|
+
sdp: U.sdp
|
|
87282
|
+
}
|
|
87283
|
+
}
|
|
87284
|
+
}));
|
|
87285
|
+
}).catch((U) => {
|
|
87286
|
+
this.errors.raise(U);
|
|
87287
|
+
}), this._handleChannel(this._peer.createDataChannel(DATACHANNEL_LABEL)), log$2.debug("created data channel", void 0, {
|
|
87288
|
+
F: __dxlog_file15,
|
|
87289
|
+
L: 139,
|
|
87290
|
+
S: this,
|
|
87291
|
+
C: (U, q) => U(...q)
|
|
87292
|
+
}), this._peer.ondatachannel = () => {
|
|
87293
|
+
this.errors.raise(new Error("unexpected ondatachannel event for initiator"));
|
|
87294
|
+
}) : this._peer.ondatachannel = (U) => {
|
|
87295
|
+
log$2.debug("peer.ondatachannel (non-initiator)", {
|
|
87296
|
+
event: U
|
|
87297
|
+
}, {
|
|
87298
|
+
F: __dxlog_file15,
|
|
87299
|
+
L: 145,
|
|
87300
|
+
S: this,
|
|
87301
|
+
C: (q, G) => q(...G)
|
|
87302
|
+
}), U.channel.label !== DATACHANNEL_LABEL && this.errors.raise(new Error(`unexpected channel label ${U.channel.label}`)), this._handleChannel(U.channel);
|
|
87303
|
+
}, or._instanceCount++;
|
|
87304
|
+
}
|
|
87305
|
+
async close() {
|
|
87306
|
+
await this._close(), --or._instanceCount === 0 && (await importESM("node-datachannel")).cleanup();
|
|
87276
87307
|
}
|
|
87277
|
-
|
|
87308
|
+
async _close() {
|
|
87309
|
+
var I;
|
|
87310
|
+
if (!this._closed) {
|
|
87311
|
+
await this._disconnectStreams();
|
|
87312
|
+
try {
|
|
87313
|
+
(I = this._peer) == null || I.close();
|
|
87314
|
+
} catch (U) {
|
|
87315
|
+
this.errors.raise(U);
|
|
87316
|
+
}
|
|
87317
|
+
this._peer = void 0, this._closed = !0, this.closed.emit();
|
|
87318
|
+
}
|
|
87319
|
+
}
|
|
87320
|
+
/**
|
|
87321
|
+
* Handle data channel events.
|
|
87322
|
+
*/
|
|
87323
|
+
_handleChannel(I) {
|
|
87278
87324
|
this._channel = I, this._channel.onopen = () => {
|
|
87279
|
-
log$2.debug("
|
|
87325
|
+
log$2.debug("channel.onopen", void 0, {
|
|
87280
87326
|
F: __dxlog_file15,
|
|
87281
|
-
L:
|
|
87327
|
+
L: 190,
|
|
87282
87328
|
S: this,
|
|
87283
87329
|
C: (q, G) => q(...G)
|
|
87284
87330
|
});
|
|
@@ -87292,146 +87338,131 @@ var __dxlog_file15 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-man
|
|
|
87292
87338
|
} catch (Y) {
|
|
87293
87339
|
this.errors.raise(Y), await this._close();
|
|
87294
87340
|
}
|
|
87295
|
-
this._channel.bufferedAmount > MAX_BUFFERED_AMOUNT ? (this._writeCallback !== null && log$2.error("consumer trying to write before we
|
|
87341
|
+
this._channel.bufferedAmount > MAX_BUFFERED_AMOUNT ? (this._writeCallback !== null && log$2.error("consumer trying to write before we are ready for more data", void 0, {
|
|
87296
87342
|
F: __dxlog_file15,
|
|
87297
|
-
L:
|
|
87343
|
+
L: 207,
|
|
87298
87344
|
S: this,
|
|
87299
87345
|
C: (Y, J) => Y(...J)
|
|
87300
87346
|
}), this._writeCallback = K) : K();
|
|
87301
87347
|
}
|
|
87302
87348
|
});
|
|
87303
|
-
U.pipe(this.
|
|
87304
|
-
}, this._channel.onerror = async (U) => {
|
|
87305
|
-
this.errors.raise(new Error("channel error: " + U.toString())), await this._close();
|
|
87349
|
+
U.pipe(this._options.stream).pipe(U), this._stream = U, this._connected = !0, this.connected.emit();
|
|
87306
87350
|
}, this._channel.onclose = async (U) => {
|
|
87307
|
-
log$2.info("channel
|
|
87351
|
+
log$2.info("channel.onclose", {
|
|
87308
87352
|
err: U
|
|
87309
87353
|
}, {
|
|
87310
87354
|
F: __dxlog_file15,
|
|
87311
|
-
L:
|
|
87355
|
+
L: 223,
|
|
87312
87356
|
S: this,
|
|
87313
87357
|
C: (q, G) => q(...G)
|
|
87314
87358
|
}), await this._close();
|
|
87315
|
-
}, this._channel.
|
|
87316
|
-
|
|
87317
|
-
q instanceof ArrayBuffer && (q = export_Buffer.from(q)), this._stream.push(q);
|
|
87359
|
+
}, this._channel.onerror = async (U) => {
|
|
87360
|
+
this.errors.raise(new Error("channel error: " + U.toString())), await this._close();
|
|
87318
87361
|
}, this._channel.onbufferedamountlow = () => {
|
|
87319
87362
|
const U = this._writeCallback;
|
|
87320
87363
|
this._writeCallback = null, U == null || U();
|
|
87364
|
+
}, this._channel.onmessage = (U) => {
|
|
87365
|
+
let q = U.data;
|
|
87366
|
+
q instanceof ArrayBuffer && (q = export_Buffer.from(q)), this._stream.push(q);
|
|
87321
87367
|
};
|
|
87322
87368
|
}
|
|
87323
|
-
async
|
|
87324
|
-
|
|
87325
|
-
|
|
87326
|
-
|
|
87327
|
-
|
|
87369
|
+
async onSignal(I) {
|
|
87370
|
+
invariant(this._peer, "not open", {
|
|
87371
|
+
F: __dxlog_file15,
|
|
87372
|
+
L: 249,
|
|
87373
|
+
S: this,
|
|
87374
|
+
A: [
|
|
87375
|
+
"this._peer",
|
|
87376
|
+
"'not open'"
|
|
87377
|
+
]
|
|
87378
|
+
});
|
|
87328
87379
|
try {
|
|
87329
|
-
I.
|
|
87330
|
-
|
|
87331
|
-
this.errors.raise(U);
|
|
87332
|
-
}
|
|
87333
|
-
this._closed = !0, this.closed.emit();
|
|
87334
|
-
}
|
|
87335
|
-
signal(I) {
|
|
87336
|
-
this._peer.then(async (U) => {
|
|
87337
|
-
const q = I.payload.data;
|
|
87338
|
-
switch (q.type) {
|
|
87380
|
+
const U = I.payload.data;
|
|
87381
|
+
switch (U.type) {
|
|
87339
87382
|
case "offer": {
|
|
87340
|
-
if (
|
|
87383
|
+
if (this._peer.connectionState !== "new") {
|
|
87341
87384
|
log$2.error("received offer but peer not in state new", {
|
|
87342
|
-
peer:
|
|
87385
|
+
peer: this._peer
|
|
87343
87386
|
}, {
|
|
87344
87387
|
F: __dxlog_file15,
|
|
87345
|
-
L:
|
|
87388
|
+
L: 256,
|
|
87346
87389
|
S: this,
|
|
87347
|
-
C: (
|
|
87390
|
+
C: (q, G) => q(...G)
|
|
87348
87391
|
}), this.errors.raise(new Error("invalid signalling state: received offer when peer is not in state new"));
|
|
87349
87392
|
break;
|
|
87350
87393
|
}
|
|
87351
87394
|
try {
|
|
87352
|
-
await
|
|
87353
|
-
type:
|
|
87354
|
-
sdp:
|
|
87395
|
+
await this._peer.setRemoteDescription({
|
|
87396
|
+
type: U.type,
|
|
87397
|
+
sdp: U.sdp
|
|
87355
87398
|
});
|
|
87356
|
-
const
|
|
87357
|
-
await
|
|
87399
|
+
const q = await this._peer.createAnswer();
|
|
87400
|
+
await this._peer.setLocalDescription(q), await this._options.sendSignal({
|
|
87358
87401
|
payload: {
|
|
87359
87402
|
data: {
|
|
87360
|
-
type:
|
|
87361
|
-
sdp:
|
|
87403
|
+
type: q.type,
|
|
87404
|
+
sdp: q.sdp
|
|
87362
87405
|
}
|
|
87363
87406
|
}
|
|
87364
87407
|
}), this._readyForCandidates.wake();
|
|
87365
|
-
} catch (
|
|
87366
|
-
log$2.error("
|
|
87367
|
-
err:
|
|
87408
|
+
} catch (q) {
|
|
87409
|
+
log$2.error("cannot handle offer from signalling server", {
|
|
87410
|
+
err: q
|
|
87368
87411
|
}, {
|
|
87369
87412
|
F: __dxlog_file15,
|
|
87370
|
-
L:
|
|
87413
|
+
L: 268,
|
|
87371
87414
|
S: this,
|
|
87372
|
-
C: (
|
|
87415
|
+
C: (G, K) => G(...K)
|
|
87373
87416
|
}), this.errors.raise(new Error("error handling offer"));
|
|
87374
87417
|
}
|
|
87375
87418
|
break;
|
|
87376
87419
|
}
|
|
87377
87420
|
case "answer":
|
|
87378
87421
|
try {
|
|
87379
|
-
await
|
|
87380
|
-
type:
|
|
87381
|
-
sdp:
|
|
87422
|
+
await this._peer.setRemoteDescription({
|
|
87423
|
+
type: U.type,
|
|
87424
|
+
sdp: U.sdp
|
|
87382
87425
|
}), this._readyForCandidates.wake();
|
|
87383
|
-
} catch (
|
|
87384
|
-
log$2.error("
|
|
87385
|
-
err:
|
|
87426
|
+
} catch (q) {
|
|
87427
|
+
log$2.error("cannot handle answer from signalling server", {
|
|
87428
|
+
err: q
|
|
87386
87429
|
}, {
|
|
87387
87430
|
F: __dxlog_file15,
|
|
87388
|
-
L:
|
|
87431
|
+
L: 279,
|
|
87389
87432
|
S: this,
|
|
87390
|
-
C: (
|
|
87433
|
+
C: (G, K) => G(...K)
|
|
87391
87434
|
}), this.errors.raise(new Error("error handling answer"));
|
|
87392
87435
|
}
|
|
87393
87436
|
break;
|
|
87394
87437
|
case "candidate":
|
|
87395
|
-
await this._readyForCandidates.wait(), await
|
|
87396
|
-
candidate:
|
|
87438
|
+
await this._readyForCandidates.wait(), await this._peer.addIceCandidate({
|
|
87439
|
+
candidate: U.candidate.candidate
|
|
87397
87440
|
});
|
|
87398
87441
|
break;
|
|
87399
87442
|
default:
|
|
87400
87443
|
log$2.error("unhandled signal type", {
|
|
87401
|
-
type:
|
|
87444
|
+
type: U.type,
|
|
87402
87445
|
signal: I
|
|
87403
87446
|
}, {
|
|
87404
87447
|
F: __dxlog_file15,
|
|
87405
|
-
L:
|
|
87448
|
+
L: 290,
|
|
87406
87449
|
S: this,
|
|
87407
|
-
C: (
|
|
87408
|
-
}), this.errors.raise(new Error(`unhandled signal type ${
|
|
87450
|
+
C: (q, G) => q(...G)
|
|
87451
|
+
}), this.errors.raise(new Error(`unhandled signal type ${U.type}`));
|
|
87409
87452
|
}
|
|
87410
|
-
}
|
|
87453
|
+
} catch (U) {
|
|
87411
87454
|
log$2.catch(U, void 0, {
|
|
87412
87455
|
F: __dxlog_file15,
|
|
87413
|
-
L:
|
|
87456
|
+
L: 294,
|
|
87414
87457
|
S: this,
|
|
87415
87458
|
C: (q, G) => q(...G)
|
|
87416
87459
|
});
|
|
87417
|
-
}
|
|
87460
|
+
}
|
|
87418
87461
|
}
|
|
87419
87462
|
async getDetails() {
|
|
87420
87463
|
const I = await this._getStats(), U = I == null ? void 0 : I.remoteCandidate;
|
|
87421
87464
|
return U ? U.candidateType === "relay" ? `${U.ip}:${U.port} relay for ${U.relatedAddress}:${U.relatedPort}` : `${U.ip}:${U.port} ${U.candidateType}` : "unavailable";
|
|
87422
87465
|
}
|
|
87423
|
-
async _getStats() {
|
|
87424
|
-
return this._peer.then(async (I) => {
|
|
87425
|
-
const U = await I.getStats(), q = Array.from(U.entries()), G = q.filter((Z) => Z[1].type === "transport")[0][1], K = q.filter((Z) => Z[0] === G.selectedCandidatePairId);
|
|
87426
|
-
let Y, J;
|
|
87427
|
-
return K.length > 0 && (Y = K[0][1], J = q.filter((Z) => Z[0] === Y.remoteCandidateId)[0][1]), {
|
|
87428
|
-
transport: G,
|
|
87429
|
-
selectedCandidatePair: Y,
|
|
87430
|
-
remoteCandidate: J,
|
|
87431
|
-
raw: Object.fromEntries(U)
|
|
87432
|
-
};
|
|
87433
|
-
});
|
|
87434
|
-
}
|
|
87435
87466
|
async getStats() {
|
|
87436
87467
|
const I = await this._getStats();
|
|
87437
87468
|
return I ? {
|
|
@@ -87448,12 +87479,28 @@ var __dxlog_file15 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-man
|
|
|
87448
87479
|
rawStats: {}
|
|
87449
87480
|
};
|
|
87450
87481
|
}
|
|
87451
|
-
async
|
|
87452
|
-
|
|
87482
|
+
async _getStats() {
|
|
87483
|
+
invariant(this._peer, "not open", {
|
|
87484
|
+
F: __dxlog_file15,
|
|
87485
|
+
L: 334,
|
|
87486
|
+
S: this,
|
|
87487
|
+
A: [
|
|
87488
|
+
"this._peer",
|
|
87489
|
+
"'not open'"
|
|
87490
|
+
]
|
|
87491
|
+
});
|
|
87492
|
+
const I = await this._peer.getStats(), U = Array.from(I.entries()), q = U.filter((J) => J[1].type === "transport")[0][1], G = U.filter((J) => J[0] === q.selectedCandidatePairId);
|
|
87493
|
+
let K, Y;
|
|
87494
|
+
return G.length > 0 && (K = G[0][1], Y = U.filter((J) => J[0] === K.remoteCandidateId)[0][1]), {
|
|
87495
|
+
transport: q,
|
|
87496
|
+
selectedCandidatePair: K,
|
|
87497
|
+
remoteCandidate: Y,
|
|
87498
|
+
raw: Object.fromEntries(I)
|
|
87499
|
+
};
|
|
87453
87500
|
}
|
|
87454
87501
|
async _disconnectStreams() {
|
|
87455
87502
|
var I, U, q, G;
|
|
87456
|
-
(G = (q = (U = (I = this.
|
|
87503
|
+
(G = (q = (U = (I = this._options.stream).unpipe) == null ? void 0 : U.call(I, this._stream)) == null ? void 0 : q.unpipe) == null || G.call(q, this._options.stream);
|
|
87457
87504
|
}
|
|
87458
87505
|
}, or._instanceCount = 0, or);
|
|
87459
87506
|
_ts_decorate5$1([
|
|
@@ -87471,7 +87518,7 @@ var importESM = Function("path", "return import(path)"), uaParser = { exports: {
|
|
|
87471
87518
|
for (var zt = {}, de = 0; de < Ct.length; de++)
|
|
87472
87519
|
zt[Ct[de].toUpperCase()] = Ct[de];
|
|
87473
87520
|
return zt;
|
|
87474
|
-
},
|
|
87521
|
+
}, Me = function(Ct, zt) {
|
|
87475
87522
|
return typeof Ct === ee ? Ye(zt).indexOf(Ye(Ct)) !== -1 : !1;
|
|
87476
87523
|
}, Ye = function(Ct) {
|
|
87477
87524
|
return Ct.toLowerCase();
|
|
@@ -87493,9 +87540,9 @@ var importESM = Function("path", "return import(path)"), uaParser = { exports: {
|
|
|
87493
87540
|
for (var de in zt)
|
|
87494
87541
|
if (typeof zt[de] === Q && zt[de].length > 0) {
|
|
87495
87542
|
for (var ie = 0; ie < zt[de].length; ie++)
|
|
87496
|
-
if (
|
|
87543
|
+
if (Me(zt[de][ie], Ct))
|
|
87497
87544
|
return de === Y ? q : de;
|
|
87498
|
-
} else if (
|
|
87545
|
+
} else if (Me(zt[de], Ct))
|
|
87499
87546
|
return de === Y ? q : de;
|
|
87500
87547
|
return Ct;
|
|
87501
87548
|
}, it = {
|
|
@@ -88710,7 +88757,7 @@ var __dxlog_file = "/home/runner/work/dxos/dxos/packages/sdk/client/src/services
|
|
|
88710
88757
|
return this._client.rpc;
|
|
88711
88758
|
}
|
|
88712
88759
|
async open() {
|
|
88713
|
-
const { WebsocketRpcClient: $ } = await import("./index-
|
|
88760
|
+
const { WebsocketRpcClient: $ } = await import("./index-DvJ62Z2G.mjs");
|
|
88714
88761
|
this._client = new $({
|
|
88715
88762
|
url: getUnixSocket(this._profile, "ws+unix"),
|
|
88716
88763
|
requested: clientServiceBundle,
|
|
@@ -89591,8 +89638,11 @@ function requireUseSyncExternalStoreShim_development() {
|
|
|
89591
89638
|
useSyncExternalStoreShim_development.useSyncExternalStore = ce, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
89592
89639
|
}()), useSyncExternalStoreShim_development;
|
|
89593
89640
|
}
|
|
89594
|
-
|
|
89595
|
-
|
|
89641
|
+
var hasRequiredShim;
|
|
89642
|
+
function requireShim() {
|
|
89643
|
+
return hasRequiredShim || (hasRequiredShim = 1, process.env.NODE_ENV === "production" ? shim.exports = requireUseSyncExternalStoreShim_production_min() : shim.exports = requireUseSyncExternalStoreShim_development()), shim.exports;
|
|
89644
|
+
}
|
|
89645
|
+
var shimExports = requireShim(), jsxDevRuntime = { exports: {} }, reactJsxDevRuntime_production_min = {};
|
|
89596
89646
|
/**
|
|
89597
89647
|
* @license React
|
|
89598
89648
|
* react-jsx-dev-runtime.production.min.js
|
|
@@ -89843,18 +89893,18 @@ function requireReactJsxDevRuntime_development() {
|
|
|
89843
89893
|
if (sn && Ne && typeof sn.stack == "string") {
|
|
89844
89894
|
for (var Rt = sn.stack.split(`
|
|
89845
89895
|
`), Bt = Ne.stack.split(`
|
|
89846
|
-
`),
|
|
89896
|
+
`), Mt = Rt.length - 1, Ot = Bt.length - 1; Mt >= 1 && Ot >= 0 && Rt[Mt] !== Bt[Ot]; )
|
|
89847
89897
|
Ot--;
|
|
89848
|
-
for (;
|
|
89849
|
-
if (Rt[
|
|
89850
|
-
if (
|
|
89898
|
+
for (; Mt >= 1 && Ot >= 0; Mt--, Ot--)
|
|
89899
|
+
if (Rt[Mt] !== Bt[Ot]) {
|
|
89900
|
+
if (Mt !== 1 || Ot !== 1)
|
|
89851
89901
|
do
|
|
89852
|
-
if (
|
|
89902
|
+
if (Mt--, Ot--, Ot < 0 || Rt[Mt] !== Bt[Ot]) {
|
|
89853
89903
|
var Zt = `
|
|
89854
|
-
` + Rt[
|
|
89904
|
+
` + Rt[Mt].replace(" at new ", " at ");
|
|
89855
89905
|
return We.displayName && Zt.includes("<anonymous>") && (Zt = Zt.replace("<anonymous>", We.displayName)), typeof We == "function" && Te.set(We, Zt), Zt;
|
|
89856
89906
|
}
|
|
89857
|
-
while (
|
|
89907
|
+
while (Mt >= 1 && Ot >= 0);
|
|
89858
89908
|
break;
|
|
89859
89909
|
}
|
|
89860
89910
|
}
|
|
@@ -89864,7 +89914,7 @@ function requireReactJsxDevRuntime_development() {
|
|
|
89864
89914
|
var Qt = We ? We.displayName || We.name : "", Yt = Qt ? Ie(Qt) : "";
|
|
89865
89915
|
return typeof We == "function" && Te.set(We, Yt), Yt;
|
|
89866
89916
|
}
|
|
89867
|
-
function
|
|
89917
|
+
function Me(We, vt, xt) {
|
|
89868
89918
|
return ye(We, !1);
|
|
89869
89919
|
}
|
|
89870
89920
|
function Ye(We) {
|
|
@@ -89887,7 +89937,7 @@ function requireReactJsxDevRuntime_development() {
|
|
|
89887
89937
|
if (typeof We == "object")
|
|
89888
89938
|
switch (We.$$typeof) {
|
|
89889
89939
|
case Z:
|
|
89890
|
-
return
|
|
89940
|
+
return Me(We.render);
|
|
89891
89941
|
case te:
|
|
89892
89942
|
return ct(We.type, vt, xt);
|
|
89893
89943
|
case ne: {
|
|
@@ -89920,8 +89970,8 @@ function requireReactJsxDevRuntime_development() {
|
|
|
89920
89970
|
throw Bt.name = "Invariant Violation", Bt;
|
|
89921
89971
|
}
|
|
89922
89972
|
Rt = We[Et](vt, Et, Ne, xt, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
89923
|
-
} catch (
|
|
89924
|
-
Rt =
|
|
89973
|
+
} catch (Mt) {
|
|
89974
|
+
Rt = Mt;
|
|
89925
89975
|
}
|
|
89926
89976
|
Rt && !(Rt instanceof Error) && (it(ot), ce("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", Ne || "React class", xt, Et, typeof Rt), it(null)), Rt instanceof Error && !(Rt.message in wt) && (wt[Rt.message] = !0, it(ot), ce("Failed %s type: %s", xt, Rt.message), it(null));
|
|
89927
89977
|
}
|
|
@@ -90038,9 +90088,9 @@ function requireReactJsxDevRuntime_development() {
|
|
|
90038
90088
|
for (dt in vt)
|
|
90039
90089
|
ut.call(vt, dt) && !ie.hasOwnProperty(dt) && (Et[dt] = vt[dt]);
|
|
90040
90090
|
if (We && We.defaultProps) {
|
|
90041
|
-
var
|
|
90042
|
-
for (dt in
|
|
90043
|
-
Et[dt] === void 0 && (Et[dt] =
|
|
90091
|
+
var Mt = We.defaultProps;
|
|
90092
|
+
for (dt in Mt)
|
|
90093
|
+
Et[dt] === void 0 && (Et[dt] = Mt[dt]);
|
|
90044
90094
|
}
|
|
90045
90095
|
if (Rt || Bt) {
|
|
90046
90096
|
var Ot = typeof We == "function" ? We.displayName || We.name || "Unknown" : We;
|
|
@@ -90175,8 +90225,8 @@ Check the top-level render call using <` + xt + ">.");
|
|
|
90175
90225
|
(We === void 0 || typeof We == "object" && We !== null && Object.keys(We).length === 0) && (Rt += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
90176
90226
|
var Bt = Pn(ot);
|
|
90177
90227
|
Bt ? Rt += Bt : Rt += un();
|
|
90178
|
-
var
|
|
90179
|
-
We === null ?
|
|
90228
|
+
var Mt;
|
|
90229
|
+
We === null ? Mt = "null" : It(We) ? Mt = "array" : We !== void 0 && We.$$typeof === I ? (Mt = "<" + (Be(We.type) || "Unknown") + " />", Rt = " Did you accidentally export a JSX literal instead of a component?") : Mt = typeof We, ce("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Mt, Rt);
|
|
90180
90230
|
}
|
|
90181
90231
|
var Ot = At(We, vt, xt, ot, dt);
|
|
90182
90232
|
if (Ot == null)
|
|
@@ -90343,7 +90393,7 @@ function requireWithSelector_production_min() {
|
|
|
90343
90393
|
if (hasRequiredWithSelector_production_min)
|
|
90344
90394
|
return withSelector_production_min;
|
|
90345
90395
|
hasRequiredWithSelector_production_min = 1;
|
|
90346
|
-
var $ = React__default, I =
|
|
90396
|
+
var $ = React__default, I = requireShim();
|
|
90347
90397
|
function U(Q, ee) {
|
|
90348
90398
|
return Q === ee && (Q !== 0 || 1 / Q === 1 / ee) || Q !== Q && ee !== ee;
|
|
90349
90399
|
}
|
|
@@ -90397,7 +90447,7 @@ var hasRequiredWithSelector_development;
|
|
|
90397
90447
|
function requireWithSelector_development() {
|
|
90398
90448
|
return hasRequiredWithSelector_development || (hasRequiredWithSelector_development = 1, process.env.NODE_ENV !== "production" && function() {
|
|
90399
90449
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
90400
|
-
var $ = React__default, I =
|
|
90450
|
+
var $ = React__default, I = requireShim();
|
|
90401
90451
|
function U(ee, te) {
|
|
90402
90452
|
return ee === te && (ee !== 0 || 1 / ee === 1 / te) || ee !== ee && te !== te;
|
|
90403
90453
|
}
|
|
@@ -93628,7 +93678,11 @@ const identityMachine = createMachine(
|
|
|
93628
93678
|
}
|
|
93629
93679
|
}, []);
|
|
93630
93680
|
return { onAgentCreate: async () => {
|
|
93631
|
-
I.forEach((ae) => ae.cancel()), $.halo.share({
|
|
93681
|
+
I.forEach((ae) => ae.cancel()), $.halo.share({
|
|
93682
|
+
type: Invitation.Type.INTERACTIVE,
|
|
93683
|
+
authMethod: Invitation.AuthMethod.NONE,
|
|
93684
|
+
multiUse: !0
|
|
93685
|
+
}).subscribe(ee);
|
|
93632
93686
|
}, onAgentDestroy: async () => {
|
|
93633
93687
|
const re = $.halo.identity.get();
|
|
93634
93688
|
invariant(re, "Identity not found");
|
|
@@ -93647,8 +93701,8 @@ var qrcode = { exports: {} };
|
|
|
93647
93701
|
xe = $e * 4 + 17, Ee = function(Te) {
|
|
93648
93702
|
for (var be = new Array(Te), ye = 0; ye < Te; ye += 1) {
|
|
93649
93703
|
be[ye] = new Array(Te);
|
|
93650
|
-
for (var
|
|
93651
|
-
be[ye][
|
|
93704
|
+
for (var Me = 0; Me < Te; Me += 1)
|
|
93705
|
+
be[ye][Me] = null;
|
|
93652
93706
|
}
|
|
93653
93707
|
return be;
|
|
93654
93708
|
}(xe), st(0, 0), st(xe - 7, 0), st(0, xe - 7), ht(), at(), ze(Ie, Re), $e >= 7 && tt(Ie), Be == null && (Be = mt($e, Ce, je)), qe(Be, Re);
|
|
@@ -93674,9 +93728,9 @@ var qrcode = { exports: {} };
|
|
|
93674
93728
|
for (var Te = 0; Te < Ie.length; Te += 1) {
|
|
93675
93729
|
var be = Ie[Re], ye = Ie[Te];
|
|
93676
93730
|
if (Ee[be][ye] == null)
|
|
93677
|
-
for (var
|
|
93731
|
+
for (var Me = -2; Me <= 2; Me += 1)
|
|
93678
93732
|
for (var Ye = -2; Ye <= 2; Ye += 1)
|
|
93679
|
-
|
|
93733
|
+
Me == -2 || Me == 2 || Ye == -2 || Ye == 2 || Me == 0 && Ye == 0 ? Ee[be + Me][ye + Ye] = !0 : Ee[be + Me][ye + Ye] = !1;
|
|
93680
93734
|
}
|
|
93681
93735
|
}, tt = function(Ie) {
|
|
93682
93736
|
for (var Re = J.getBCHTypeNumber($e), Te = 0; Te < 18; Te += 1) {
|
|
@@ -93689,23 +93743,23 @@ var qrcode = { exports: {} };
|
|
|
93689
93743
|
}
|
|
93690
93744
|
}, ze = function(Ie, Re) {
|
|
93691
93745
|
for (var Te = Ce << 3 | Re, be = J.getBCHTypeInfo(Te), ye = 0; ye < 15; ye += 1) {
|
|
93692
|
-
var
|
|
93693
|
-
ye < 6 ? Ee[ye][8] =
|
|
93746
|
+
var Me = !Ie && (be >> ye & 1) == 1;
|
|
93747
|
+
ye < 6 ? Ee[ye][8] = Me : ye < 8 ? Ee[ye + 1][8] = Me : Ee[xe - 15 + ye][8] = Me;
|
|
93694
93748
|
}
|
|
93695
93749
|
for (var ye = 0; ye < 15; ye += 1) {
|
|
93696
|
-
var
|
|
93697
|
-
ye < 8 ? Ee[8][xe - ye - 1] =
|
|
93750
|
+
var Me = !Ie && (be >> ye & 1) == 1;
|
|
93751
|
+
ye < 8 ? Ee[8][xe - ye - 1] = Me : ye < 9 ? Ee[8][15 - ye - 1 + 1] = Me : Ee[8][15 - ye - 1] = Me;
|
|
93698
93752
|
}
|
|
93699
93753
|
Ee[xe - 8][8] = !Ie;
|
|
93700
93754
|
}, qe = function(Ie, Re) {
|
|
93701
|
-
for (var Te = -1, be = xe - 1, ye = 7,
|
|
93755
|
+
for (var Te = -1, be = xe - 1, ye = 7, Me = 0, Ye = J.getMaskFunction(Re), ct = xe - 1; ct > 0; ct -= 2)
|
|
93702
93756
|
for (ct == 6 && (ct -= 1); ; ) {
|
|
93703
93757
|
for (var ut = 0; ut < 2; ut += 1)
|
|
93704
93758
|
if (Ee[be][ct - ut] == null) {
|
|
93705
93759
|
var wt = !1;
|
|
93706
|
-
|
|
93760
|
+
Me < Ie.length && (wt = (Ie[Me] >>> ye & 1) == 1);
|
|
93707
93761
|
var St = Ye(be, ct - ut);
|
|
93708
|
-
St && (wt = !wt), Ee[be][ct - ut] = wt, ye -= 1, ye == -1 && (
|
|
93762
|
+
St && (wt = !wt), Ee[be][ct - ut] = wt, ye -= 1, ye == -1 && (Me += 1, ye = 7);
|
|
93709
93763
|
}
|
|
93710
93764
|
if (be += Te, be < 0 || xe <= be) {
|
|
93711
93765
|
be -= Te, Te = -Te;
|
|
@@ -93713,13 +93767,13 @@ var qrcode = { exports: {} };
|
|
|
93713
93767
|
}
|
|
93714
93768
|
}
|
|
93715
93769
|
}, nt = function(Ie, Re) {
|
|
93716
|
-
for (var Te = 0, be = 0, ye = 0,
|
|
93770
|
+
for (var Te = 0, be = 0, ye = 0, Me = new Array(Re.length), Ye = new Array(Re.length), ct = 0; ct < Re.length; ct += 1) {
|
|
93717
93771
|
var ut = Re[ct].dataCount, wt = Re[ct].totalCount - ut;
|
|
93718
|
-
be = Math.max(be, ut), ye = Math.max(ye, wt),
|
|
93719
|
-
for (var St = 0; St <
|
|
93720
|
-
|
|
93772
|
+
be = Math.max(be, ut), ye = Math.max(ye, wt), Me[ct] = new Array(ut);
|
|
93773
|
+
for (var St = 0; St < Me[ct].length; St += 1)
|
|
93774
|
+
Me[ct][St] = 255 & Ie.getBuffer()[St + Te];
|
|
93721
93775
|
Te += ut;
|
|
93722
|
-
var it = J.getErrorCorrectPolynomial(wt), Ut = Q(
|
|
93776
|
+
var it = J.getErrorCorrectPolynomial(wt), Ut = Q(Me[ct], it.getLength() - 1), Kt = Ut.mod(it);
|
|
93723
93777
|
Ye[ct] = new Array(it.getLength() - 1);
|
|
93724
93778
|
for (var St = 0; St < Ye[ct].length; St += 1) {
|
|
93725
93779
|
var It = St + Kt.getLength() - Ye[ct].length;
|
|
@@ -93730,18 +93784,18 @@ var qrcode = { exports: {} };
|
|
|
93730
93784
|
Ht += Re[St].totalCount;
|
|
93731
93785
|
for (var rn = new Array(Ht), Ct = 0, St = 0; St < be; St += 1)
|
|
93732
93786
|
for (var ct = 0; ct < Re.length; ct += 1)
|
|
93733
|
-
St <
|
|
93787
|
+
St < Me[ct].length && (rn[Ct] = Me[ct][St], Ct += 1);
|
|
93734
93788
|
for (var St = 0; St < ye; St += 1)
|
|
93735
93789
|
for (var ct = 0; ct < Re.length; ct += 1)
|
|
93736
93790
|
St < Ye[ct].length && (rn[Ct] = Ye[ct][St], Ct += 1);
|
|
93737
93791
|
return rn;
|
|
93738
93792
|
}, mt = function(Ie, Re, Te) {
|
|
93739
|
-
for (var be = ee.getRSBlocks(Ie, Re), ye = te(),
|
|
93740
|
-
var Ye = Te[
|
|
93793
|
+
for (var be = ee.getRSBlocks(Ie, Re), ye = te(), Me = 0; Me < Te.length; Me += 1) {
|
|
93794
|
+
var Ye = Te[Me];
|
|
93741
93795
|
ye.put(Ye.getMode(), 4), ye.put(Ye.getLength(), J.getLengthInBits(Ye.getMode(), Ie)), Ye.write(ye);
|
|
93742
93796
|
}
|
|
93743
|
-
for (var ct = 0,
|
|
93744
|
-
ct += be[
|
|
93797
|
+
for (var ct = 0, Me = 0; Me < be.length; Me += 1)
|
|
93798
|
+
ct += be[Me].dataCount;
|
|
93745
93799
|
if (ye.getLengthInBits() > ct * 8)
|
|
93746
93800
|
throw "code length overflow. (" + ye.getLengthInBits() + ">" + ct * 8 + ")";
|
|
93747
93801
|
for (ye.getLengthInBits() + 4 <= ct * 8 && ye.put(0, 4); ye.getLengthInBits() % 8 != 0; )
|
|
@@ -93783,9 +93837,9 @@ var qrcode = { exports: {} };
|
|
|
93783
93837
|
var ye = je[be];
|
|
93784
93838
|
Te.put(ye.getMode(), 4), Te.put(ye.getLength(), J.getLengthInBits(ye.getMode(), Ie)), ye.write(Te);
|
|
93785
93839
|
}
|
|
93786
|
-
for (var
|
|
93787
|
-
|
|
93788
|
-
if (Te.getLengthInBits() <=
|
|
93840
|
+
for (var Me = 0, be = 0; be < Re.length; be++)
|
|
93841
|
+
Me += Re[be].dataCount;
|
|
93842
|
+
if (Te.getLengthInBits() <= Me * 8)
|
|
93789
93843
|
break;
|
|
93790
93844
|
}
|
|
93791
93845
|
$e = Ie;
|
|
@@ -93805,17 +93859,17 @@ var qrcode = { exports: {} };
|
|
|
93805
93859
|
}, Ge.createSvgTag = function(Ie, Re, Te, be) {
|
|
93806
93860
|
var ye = {};
|
|
93807
93861
|
typeof arguments[0] == "object" && (ye = arguments[0], Ie = ye.cellSize, Re = ye.margin, Te = ye.alt, be = ye.title), Ie = Ie || 2, Re = typeof Re > "u" ? Ie * 4 : Re, Te = typeof Te == "string" ? { text: Te } : Te || {}, Te.text = Te.text || null, Te.id = Te.text ? Te.id || "qrcode-description" : null, be = typeof be == "string" ? { text: be } : be || {}, be.text = be.text || null, be.id = be.text ? be.id || "qrcode-title" : null;
|
|
93808
|
-
var
|
|
93809
|
-
for (it = "l" + Ie + ",0 0," + Ie + " -" + Ie + ",0 0,-" + Ie + "z ", St += '<svg version="1.1" xmlns="http://www.w3.org/2000/svg"', St += ye.scalable ? "" : ' width="' +
|
|
93862
|
+
var Me = Ge.getModuleCount() * Ie + Re * 2, Ye, ct, ut, wt, St = "", it;
|
|
93863
|
+
for (it = "l" + Ie + ",0 0," + Ie + " -" + Ie + ",0 0,-" + Ie + "z ", St += '<svg version="1.1" xmlns="http://www.w3.org/2000/svg"', St += ye.scalable ? "" : ' width="' + Me + 'px" height="' + Me + 'px"', St += ' viewBox="0 0 ' + Me + " " + Me + '" ', St += ' preserveAspectRatio="xMinYMin meet"', St += be.text || Te.text ? ' role="img" aria-labelledby="' + Ue([be.id, Te.id].join(" ").trim()) + '"' : "", St += ">", St += be.text ? '<title id="' + Ue(be.id) + '">' + Ue(be.text) + "</title>" : "", St += Te.text ? '<description id="' + Ue(Te.id) + '">' + Ue(Te.text) + "</description>" : "", St += '<rect width="100%" height="100%" fill="white" cx="0" cy="0"/>', St += '<path d="', ut = 0; ut < Ge.getModuleCount(); ut += 1)
|
|
93810
93864
|
for (wt = ut * Ie + Re, Ye = 0; Ye < Ge.getModuleCount(); Ye += 1)
|
|
93811
93865
|
Ge.isDark(ut, Ye) && (ct = Ye * Ie + Re, St += "M" + ct + "," + wt + it);
|
|
93812
93866
|
return St += '" stroke="transparent" fill="black"/>', St += "</svg>", St;
|
|
93813
93867
|
}, Ge.createDataURL = function(Ie, Re) {
|
|
93814
93868
|
Ie = Ie || 2, Re = typeof Re > "u" ? Ie * 4 : Re;
|
|
93815
93869
|
var Te = Ge.getModuleCount() * Ie + Re * 2, be = Re, ye = Te - Re;
|
|
93816
|
-
return he(Te, Te, function(
|
|
93817
|
-
if (be <=
|
|
93818
|
-
var ct = Math.floor((
|
|
93870
|
+
return he(Te, Te, function(Me, Ye) {
|
|
93871
|
+
if (be <= Me && Me < ye && be <= Ye && Ye < ye) {
|
|
93872
|
+
var ct = Math.floor((Me - be) / Ie), ut = Math.floor((Ye - be) / Ie);
|
|
93819
93873
|
return Ge.isDark(ut, ct) ? 0 : 1;
|
|
93820
93874
|
} else
|
|
93821
93875
|
return 1;
|
|
@@ -93850,7 +93904,7 @@ var qrcode = { exports: {} };
|
|
|
93850
93904
|
}, He = function(Ie) {
|
|
93851
93905
|
var Re = 1;
|
|
93852
93906
|
Ie = typeof Ie > "u" ? Re * 2 : Ie;
|
|
93853
|
-
var Te = Ge.getModuleCount() * Re + Ie * 2, be = Ie, ye = Te - Ie,
|
|
93907
|
+
var Te = Ge.getModuleCount() * Re + Ie * 2, be = Ie, ye = Te - Ie, Me, Ye, ct, ut, wt, St = {
|
|
93854
93908
|
"██": "█",
|
|
93855
93909
|
"█ ": "▀",
|
|
93856
93910
|
" █": "▄",
|
|
@@ -93861,9 +93915,9 @@ var qrcode = { exports: {} };
|
|
|
93861
93915
|
" █": " ",
|
|
93862
93916
|
" ": " "
|
|
93863
93917
|
}, Ut = "";
|
|
93864
|
-
for (
|
|
93865
|
-
for (ct = Math.floor((
|
|
93866
|
-
wt = "█", be <= Ye && Ye < ye && be <=
|
|
93918
|
+
for (Me = 0; Me < Te; Me += 2) {
|
|
93919
|
+
for (ct = Math.floor((Me - be) / Re), ut = Math.floor((Me + 1 - be) / Re), Ye = 0; Ye < Te; Ye += 1)
|
|
93920
|
+
wt = "█", be <= Ye && Ye < ye && be <= Me && Me < ye && Ge.isDark(ct, Math.floor((Ye - be) / Re)) && (wt = " "), be <= Ye && Ye < ye && be <= Me + 1 && Me + 1 < ye && Ge.isDark(ut, Math.floor((Ye - be) / Re)) ? wt += " " : wt += "█", Ut += Ie < 1 && Me + 1 >= ye ? it[wt] : St[wt];
|
|
93867
93921
|
Ut += `
|
|
93868
93922
|
`;
|
|
93869
93923
|
}
|
|
@@ -93873,10 +93927,10 @@ var qrcode = { exports: {} };
|
|
|
93873
93927
|
if (Ie = Ie || 1, Ie < 2)
|
|
93874
93928
|
return He(Re);
|
|
93875
93929
|
Ie -= 1, Re = typeof Re > "u" ? Ie * 2 : Re;
|
|
93876
|
-
var Te = Ge.getModuleCount() * Ie + Re * 2, be = Re, ye = Te - Re,
|
|
93877
|
-
for (
|
|
93878
|
-
for (ct = Math.floor((
|
|
93879
|
-
ut = 1, be <= Ye && Ye < ye && be <=
|
|
93930
|
+
var Te = Ge.getModuleCount() * Ie + Re * 2, be = Re, ye = Te - Re, Me, Ye, ct, ut, wt = Array(Ie + 1).join("██"), St = Array(Ie + 1).join(" "), it = "", Ut = "";
|
|
93931
|
+
for (Me = 0; Me < Te; Me += 1) {
|
|
93932
|
+
for (ct = Math.floor((Me - be) / Ie), Ut = "", Ye = 0; Ye < Te; Ye += 1)
|
|
93933
|
+
ut = 1, be <= Ye && Ye < ye && be <= Me && Me < ye && Ge.isDark(ct, Math.floor((Ye - be) / Ie)) && (ut = 0), Ut += ut ? wt : St;
|
|
93880
93934
|
for (ct = 0; ct < Ie; ct += 1)
|
|
93881
93935
|
it += Ut + `
|
|
93882
93936
|
`;
|
|
@@ -94818,11 +94872,11 @@ const invitationStatusValue = /* @__PURE__ */ new Map([
|
|
|
94818
94872
|
active: I,
|
|
94819
94873
|
send: U,
|
|
94820
94874
|
status: q,
|
|
94821
|
-
|
|
94875
|
+
multiUse: G,
|
|
94822
94876
|
authCode: K,
|
|
94823
94877
|
id: Y = "0"
|
|
94824
94878
|
}) => {
|
|
94825
|
-
const { t: J } = useTranslation("os"), Z = useId("invitation-manager__qr-code"), Q = G
|
|
94879
|
+
const { t: J } = useTranslation("os"), Z = useId("invitation-manager__qr-code"), Q = G ? 0 : invitationStatusValue.get(q) ?? 0, ee = Q === 3, te = hexToEmoji(Y), ne = useMemo(() => {
|
|
94826
94880
|
switch (!0) {
|
|
94827
94881
|
case Q === 5:
|
|
94828
94882
|
case Q < 0:
|
|
@@ -94833,7 +94887,7 @@ const invitationStatusValue = /* @__PURE__ */ new Map([
|
|
|
94833
94887
|
return "showing qr";
|
|
94834
94888
|
}
|
|
94835
94889
|
}, [Q]);
|
|
94836
|
-
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(Viewport.Root, { activeView: ne, classNames: "grow plb-1" }, /* @__PURE__ */ React__default.createElement(Viewport.Views, null, /* @__PURE__ */ React__default.createElement(InvitationManagerView, { id: "showing qr", emoji: te }, /* @__PURE__ */ React__default.createElement("p", { className: "text-sm mlb-1 font-normal text-center" }, J(G
|
|
94890
|
+
return /* @__PURE__ */ React__default.createElement(React__default.Fragment, null, /* @__PURE__ */ React__default.createElement(Viewport.Root, { activeView: ne, classNames: "grow plb-1" }, /* @__PURE__ */ React__default.createElement(Viewport.Views, null, /* @__PURE__ */ React__default.createElement(InvitationManagerView, { id: "showing qr", emoji: te }, /* @__PURE__ */ React__default.createElement("p", { className: "text-sm mlb-1 font-normal text-center" }, J(G ? "invite many qr label" : "invite one qr label")), /* @__PURE__ */ React__default.createElement("div", { role: "none", className: mx(descriptionText, "is-full max-is-[14rem] relative") }, /* @__PURE__ */ React__default.createElement(
|
|
94837
94891
|
QR,
|
|
94838
94892
|
{
|
|
94839
94893
|
rounding: 100,
|
|
@@ -96093,6 +96147,7 @@ const invitationStatusValue = /* @__PURE__ */ new Map([
|
|
|
96093
96147
|
const Z = (Q = I.share) == null ? void 0 : Q.call(I, {
|
|
96094
96148
|
type: Invitation.Type.INTERACTIVE,
|
|
96095
96149
|
authMethod: Invitation.AuthMethod.SHARED_SECRET,
|
|
96150
|
+
multiUse: !1,
|
|
96096
96151
|
target: U
|
|
96097
96152
|
});
|
|
96098
96153
|
Z && ((ne = (te = (ee = G.values.runtime) == null ? void 0 : ee.app) == null ? void 0 : te.env) == null ? void 0 : ne.DX_ENVIRONMENT) !== "production" && Z.subscribe(Y);
|
|
@@ -96105,8 +96160,9 @@ const invitationStatusValue = /* @__PURE__ */ new Map([
|
|
|
96105
96160
|
onClick: useCallback(() => {
|
|
96106
96161
|
var Q, ee, te, ne;
|
|
96107
96162
|
const Z = (Q = I.share) == null ? void 0 : Q.call(I, {
|
|
96108
|
-
type: Invitation.Type.
|
|
96163
|
+
type: Invitation.Type.INTERACTIVE,
|
|
96109
96164
|
authMethod: Invitation.AuthMethod.NONE,
|
|
96165
|
+
multiUse: !0,
|
|
96110
96166
|
target: U
|
|
96111
96167
|
});
|
|
96112
96168
|
Z && ((ne = (te = (ee = G.values.runtime) == null ? void 0 : ee.app) == null ? void 0 : te.env) == null ? void 0 : ne.DX_ENVIRONMENT) !== "production" && Z.subscribe(Y);
|
|
@@ -96547,4 +96603,4 @@ export {
|
|
|
96547
96603
|
log$2 as l,
|
|
96548
96604
|
runShell as r
|
|
96549
96605
|
};
|
|
96550
|
-
//# sourceMappingURL=index-
|
|
96606
|
+
//# sourceMappingURL=index-Bo0z_Ho6.mjs.map
|