@dxos/shell 0.4.10-main.bf8d896 → 0.4.10-main.c16d37b

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.
@@ -4,7 +4,7 @@ import * as $7SXl2$reactdom from "react-dom";
4
4
  import $7SXl2$reactdom__default, { flushSync } from "react-dom";
5
5
  import { CaretDown, CaretRight, Minus, Check, Database, Power, Plus, Copy, ImageSquare, Palette, Compass, Desktop, Robot, DeviceMobile, Devices, DotsThree, Intersect, X, Placeholder, Warning, PlugsConnected, Plugs, CopySimple, QrCode, Textbox, UserPlus, UsersThree, Planet } from "@phosphor-icons/react";
6
6
  import { SpaceMember as SpaceMember$1, useMembers, useSpaceInvitations, useSpace } from "@dxos/react-client/echo";
7
- import { useClient as useClient$1, useAgentHostingProviderClient, AlreadyJoinedError, useMulticastObservable, useConfig, ShellLayout as ShellLayout$1, ShellDisplay as ShellDisplay$1, ClientServicesProxy as ClientServicesProxy$1, Client, ClientContext as ClientContext$1, SystemStatus as SystemStatus$1, Config as Config$1 } from "@dxos/react-client";
7
+ import { useClient as useClient$1, useAgentHostingProviderClient, AlreadyJoinedError, useMulticastObservable as useMulticastObservable$1, useConfig, ShellLayout as ShellLayout$1, ShellDisplay as ShellDisplay$1, ClientServicesProxy as ClientServicesProxy$1, Client, ClientContext as ClientContext$1, SystemStatus as SystemStatus$1, Config as Config$1 } from "@dxos/react-client";
8
8
  import { DeviceKind as DeviceKind$1, Device as Device$1, DeviceType, useHaloInvitations, useDevices, useIdentity } from "@dxos/react-client/halo";
9
9
  import { InvitationEncoder, clientServiceBundle, DEFAULT_VAULT_URL, DEFAULT_INTERNAL_CHANNEL, PROXY_CONNECTION_TIMEOUT, DEFAULT_SHELL_CHANNEL, getProfilePath, DX_RUNTIME, shellServiceBundle, appServiceBundle, DEFAULT_CLIENT_CHANNEL } from "@dxos/client-protocol";
10
10
  import "@dxos/client";
@@ -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, Me) {
1687
- var Ye = at && Me !== ce ? Me : qe;
1686
+ var Re = function(be, ye, Le) {
1687
+ var Ye = at && Le !== ce ? Le : 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, [Me, Ye] = useState();
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, [Le, 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: Me,
6257
+ zIndex: Le,
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(Mt) {
7662
- return String(Mt);
7661
+ var Bt = dt.map(function(Lt) {
7662
+ return String(Lt);
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, Mt = Rt._init;
7721
+ var Rt = Ne, Bt = Rt._payload, Lt = Rt._init;
7722
7722
  try {
7723
- return Be(Mt(Bt));
7723
+ return Be(Lt(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 Mt = function() {
7828
+ var Lt = function() {
7829
7829
  throw Error();
7830
7830
  };
7831
- if (Object.defineProperty(Mt.prototype, "props", {
7831
+ if (Object.defineProperty(Lt.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(Mt, []);
7837
+ Reflect.construct(Lt, []);
7838
7838
  } catch (dn) {
7839
7839
  Et = dn;
7840
7840
  }
7841
- Reflect.construct(Ne, [], Mt);
7841
+ Reflect.construct(Ne, [], Lt);
7842
7842
  } else {
7843
7843
  try {
7844
- Mt.call();
7844
+ Lt.call();
7845
7845
  } catch (dn) {
7846
7846
  Et = dn;
7847
7847
  }
7848
- Ne.call(Mt.prototype);
7848
+ Ne.call(Lt.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 Me(Ne, ot, dt) {
7883
+ function Le(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 Me(Ne.render);
7906
+ return Le(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 Mt in Ne)
7931
- if (Bt(Ne, Mt)) {
7930
+ for (var Lt in Ne)
7931
+ if (Bt(Ne, Lt)) {
7932
7932
  var Ot = void 0;
7933
7933
  try {
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`.");
7934
+ if (typeof Ne[Lt] != "function") {
7935
+ var Zt = Error((Et || "React class") + ": " + dt + " type `" + Lt + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof Ne[Lt] + "`.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[Mt](ot, Mt, Et, dt, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
7938
+ Ot = Ne[Lt](ot, Lt, 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, 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));
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, Lt, 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, Mt) {
8021
+ var Pt = function(Ne, ot, dt, Et, Rt, Bt, Lt) {
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: Mt,
8029
+ props: Lt,
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, Mt = {}, Ot = null, Zt = null;
8052
+ var Bt, Lt = {}, 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) && (Mt[Bt] = ot[Bt]);
8055
+ ut.call(ot, Bt) && !ie.hasOwnProperty(Bt) && (Lt[Bt] = ot[Bt]);
8056
8056
  if (Ne && Ne.defaultProps) {
8057
8057
  var Qt = Ne.defaultProps;
8058
8058
  for (Bt in Qt)
8059
- Mt[Bt] === void 0 && (Mt[Bt] = Qt[Bt]);
8059
+ Lt[Bt] === void 0 && (Lt[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(Mt, Yt), Zt && Tt(Mt, Yt);
8063
+ Ot && Dt(Lt, Yt), Zt && Tt(Lt, Yt);
8064
8064
  }
8065
- return Pt(Ne, Ot, Zt, Rt, Et, de.current, Mt);
8065
+ return Pt(Ne, Ot, Zt, Rt, Et, de.current, Lt);
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), Mt; !(Mt = Bt.next()).done; )
8145
- Tn(Mt.value) && Nn(Mt.value, ot);
8144
+ for (var Bt = Rt.call(Ne), Lt; !(Lt = Bt.next()).done; )
8145
+ Tn(Lt.value) && Nn(Lt.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 Mt = Ce(Ne);
8189
- if (!Mt) {
8188
+ var Lt = Ce(Ne);
8189
+ if (!Lt) {
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 (Mt) {
8200
+ if (Lt) {
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 Me(it) {
10839
+ function Le(it) {
10840
10840
  return ae(it, ee);
10841
10841
  }
10842
- $.isStringObject = Me;
10842
+ $.isStringObject = Le;
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) || Me(it) || Ye(it) || ct(it) || ut(it);
10856
+ return ye(it) || Le(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 Me = qe.name ? ": " + qe.name : "";
11039
- Te = " [Function" + Me + "]";
11038
+ var Le = qe.name ? ": " + qe.name : "";
11039
+ Te = " [Function" + Le + "]";
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, Me(ie, "offset");
12001
+ ie = ie >>> 0, Le(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, Me(ie, "offset");
12007
+ ie = ie >>> 0, Le(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, Me(ie, "offset");
12039
+ ie = ie >>> 0, Le(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, Me(ie, "offset");
12045
+ ie = ie >>> 0, Le(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
- Me(ie, "offset"), (de[ie] === void 0 || de[ie + oe] === void 0) && Ye(ie, de.length - (oe + 1));
12271
+ Le(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 Me(de, ie) {
12281
+ function Le(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 ? (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(
12286
+ throw Math.floor(de) !== de ? (Le(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 Me(we, Le, Ze) {
12438
+ function Le(we, Me, Ze) {
12439
12439
  switch (Ze.length) {
12440
12440
  case 0:
12441
- return we.call(Le);
12441
+ return we.call(Me);
12442
12442
  case 1:
12443
- return we.call(Le, Ze[0]);
12443
+ return we.call(Me, Ze[0]);
12444
12444
  case 2:
12445
- return we.call(Le, Ze[0], Ze[1]);
12445
+ return we.call(Me, Ze[0], Ze[1]);
12446
12446
  case 3:
12447
- return we.call(Le, Ze[0], Ze[1], Ze[2]);
12447
+ return we.call(Me, Ze[0], Ze[1], Ze[2]);
12448
12448
  }
12449
- return we.apply(Le, Ze);
12449
+ return we.apply(Me, Ze);
12450
12450
  }
12451
- function Ye(we, Le) {
12451
+ function Ye(we, Me) {
12452
12452
  for (var Ze = -1, $t = Array(we); ++Ze < we; )
12453
- $t[Ze] = Le(Ze);
12453
+ $t[Ze] = Me(Ze);
12454
12454
  return $t;
12455
12455
  }
12456
12456
  function ct(we) {
12457
- return function(Le) {
12458
- return we(Le);
12457
+ return function(Me) {
12458
+ return we(Me);
12459
12459
  };
12460
12460
  }
12461
- function ut(we, Le) {
12462
- return we == null ? void 0 : we[Le];
12461
+ function ut(we, Me) {
12462
+ return we == null ? void 0 : we[Me];
12463
12463
  }
12464
- function wt(we, Le) {
12464
+ function wt(we, Me) {
12465
12465
  return function(Ze) {
12466
- return we(Le(Ze));
12466
+ return we(Me(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(Le) {
12484
- if (!en(Le))
12483
+ return function(Me) {
12484
+ if (!en(Me))
12485
12485
  return {};
12486
12486
  if (De)
12487
- return De(Le);
12488
- we.prototype = Le;
12487
+ return De(Me);
12488
+ we.prototype = Me;
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 Le = -1, Ze = we == null ? 0 : we.length;
12495
- for (this.clear(); ++Le < Ze; ) {
12496
- var $t = we[Le];
12494
+ var Me = -1, Ze = we == null ? 0 : we.length;
12495
+ for (this.clear(); ++Me < Ze; ) {
12496
+ var $t = we[Me];
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 Le = this.has(we) && delete this.__data__[we];
12505
- return this.size -= Le ? 1 : 0, Le;
12504
+ var Me = this.has(we) && delete this.__data__[we];
12505
+ return this.size -= Me ? 1 : 0, Me;
12506
12506
  }
12507
12507
  function Vn(we) {
12508
- var Le = this.__data__;
12508
+ var Me = this.__data__;
12509
12509
  if (mn) {
12510
- var Ze = Le[we];
12510
+ var Ze = Me[we];
12511
12511
  return Ze === q ? void 0 : Ze;
12512
12512
  }
12513
- return Ht.call(Le, we) ? Le[we] : void 0;
12513
+ return Ht.call(Me, we) ? Me[we] : void 0;
12514
12514
  }
12515
12515
  function Nn(we) {
12516
- var Le = this.__data__;
12517
- return mn ? Le[we] !== void 0 : Ht.call(Le, we);
12516
+ var Me = this.__data__;
12517
+ return mn ? Me[we] !== void 0 : Ht.call(Me, we);
12518
12518
  }
12519
- function Fn(we, Le) {
12519
+ function Fn(we, Me) {
12520
12520
  var Ze = this.__data__;
12521
- return this.size += this.has(we) ? 0 : 1, Ze[we] = mn && Le === void 0 ? q : Le, this;
12521
+ return this.size += this.has(we) ? 0 : 1, Ze[we] = mn && Me === void 0 ? q : Me, 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 Le = -1, Ze = we == null ? 0 : we.length;
12526
- for (this.clear(); ++Le < Ze; ) {
12527
- var $t = we[Le];
12525
+ var Me = -1, Ze = we == null ? 0 : we.length;
12526
+ for (this.clear(); ++Me < Ze; ) {
12527
+ var $t = we[Me];
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 Le = this.__data__, Ze = dn(Le, we);
12535
+ var Me = this.__data__, Ze = dn(Me, we);
12536
12536
  if (Ze < 0)
12537
12537
  return !1;
12538
- var $t = Le.length - 1;
12539
- return Ze == $t ? Le.pop() : Dt.call(Le, Ze, 1), --this.size, !0;
12538
+ var $t = Me.length - 1;
12539
+ return Ze == $t ? Me.pop() : Dt.call(Me, Ze, 1), --this.size, !0;
12540
12540
  }
12541
12541
  function Kn(we) {
12542
- var Le = this.__data__, Ze = dn(Le, we);
12543
- return Ze < 0 ? void 0 : Le[Ze][1];
12542
+ var Me = this.__data__, Ze = dn(Me, we);
12543
+ return Ze < 0 ? void 0 : Me[Ze][1];
12544
12544
  }
12545
12545
  function We(we) {
12546
12546
  return dn(this.__data__, we) > -1;
12547
12547
  }
12548
- function vt(we, Le) {
12548
+ function vt(we, Me) {
12549
12549
  var Ze = this.__data__, $t = dn(Ze, we);
12550
- return $t < 0 ? (++this.size, Ze.push([we, Le])) : Ze[$t][1] = Le, this;
12550
+ return $t < 0 ? (++this.size, Ze.push([we, Me])) : Ze[$t][1] = Me, 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 Le = -1, Ze = we == null ? 0 : we.length;
12555
- for (this.clear(); ++Le < Ze; ) {
12556
- var $t = we[Le];
12554
+ var Me = -1, Ze = we == null ? 0 : we.length;
12555
+ for (this.clear(); ++Me < Ze; ) {
12556
+ var $t = we[Me];
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 Le = bt(this, we).delete(we);
12569
- return this.size -= Le ? 1 : 0, Le;
12568
+ var Me = bt(this, we).delete(we);
12569
+ return this.size -= Me ? 1 : 0, Me;
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, Le) {
12577
+ function Rt(we, Me) {
12578
12578
  var Ze = bt(this, we), $t = Ze.size;
12579
- return Ze.set(we, Le), this.size += Ze.size == $t ? 0 : 1, this;
12579
+ return Ze.set(we, Me), 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 Le = this.__data__ = new ln(we);
12584
- this.size = Le.size;
12583
+ var Me = this.__data__ = new ln(we);
12584
+ this.size = Me.size;
12585
12585
  }
12586
- function Mt() {
12586
+ function Lt() {
12587
12587
  this.__data__ = new ln(), this.size = 0;
12588
12588
  }
12589
12589
  function Ot(we) {
12590
- var Le = this.__data__, Ze = Le.delete(we);
12591
- return this.size = Le.size, Ze;
12590
+ var Me = this.__data__, Ze = Me.delete(we);
12591
+ return this.size = Me.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, Le) {
12599
+ function Yt(we, Me) {
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, Le]), this.size = ++Ze.size, this;
12604
+ return $t.push([we, Me]), this.size = ++Ze.size, this;
12605
12605
  Ze = this.__data__ = new xt($t);
12606
12606
  }
12607
- return Ze.set(we, Le), this.size = Ze.size, this;
12607
+ return Ze.set(we, Me), this.size = Ze.size, this;
12608
12608
  }
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) {
12609
+ Bt.prototype.clear = Lt, Bt.prototype.delete = Ot, Bt.prototype.get = Zt, Bt.prototype.has = Qt, Bt.prototype.set = Yt;
12610
+ function sn(we, Me) {
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
- (Le || Ht.call(we, En)) && !(Vt && // Safari 9 has enumerable `arguments.length` in strict mode.
12613
+ (Me || 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, Le, Ze) {
12621
- (Ze !== void 0 && !Fe(we[Le], Ze) || Ze === void 0 && !(Le in we)) && Bn(we, Le, Ze);
12620
+ function xn(we, Me, Ze) {
12621
+ (Ze !== void 0 && !Fe(we[Me], Ze) || Ze === void 0 && !(Me in we)) && Bn(we, Me, Ze);
12622
12622
  }
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);
12623
+ function Yn(we, Me, Ze) {
12624
+ var $t = we[Me];
12625
+ (!(Ht.call(we, Me) && Fe($t, Ze)) || Ze === void 0 && !(Me in we)) && Bn(we, Me, Ze);
12626
12626
  }
12627
- function dn(we, Le) {
12627
+ function dn(we, Me) {
12628
12628
  for (var Ze = we.length; Ze--; )
12629
- if (Fe(we[Ze][0], Le))
12629
+ if (Fe(we[Ze][0], Me))
12630
12630
  return Ze;
12631
12631
  return -1;
12632
12632
  }
12633
- function Bn(we, Le, Ze) {
12634
- Le == "__proto__" && Pt ? Pt(we, Le, {
12633
+ function Bn(we, Me, Ze) {
12634
+ Me == "__proto__" && Pt ? Pt(we, Me, {
12635
12635
  configurable: !0,
12636
12636
  enumerable: !0,
12637
12637
  value: Ze,
12638
12638
  writable: !0
12639
- }) : we[Le] = Ze;
12639
+ }) : we[Me] = 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) ? Lt(we) : Zn(we);
12643
+ return we == null ? we === void 0 ? ge : le : Tt && Tt in Object(we) ? Mt(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 Le = pn(we) ? de : tt;
12652
- return Le.test(qn(we));
12651
+ var Me = pn(we) ? de : tt;
12652
+ return Me.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 Le = wn(we), Ze = [];
12660
+ var Me = wn(we), Ze = [];
12661
12661
  for (var $t in we)
12662
- $t == "constructor" && (Le || !Ht.call(we, $t)) || Ze.push($t);
12662
+ $t == "constructor" && (Me || !Ht.call(we, $t)) || Ze.push($t);
12663
12663
  return Ze;
12664
12664
  }
12665
- function zn(we, Le, Ze, $t, jt) {
12666
- we !== Le && jn(Le, function(Ft, Vt) {
12665
+ function zn(we, Me, Ze, $t, jt) {
12666
+ we !== Me && jn(Me, function(Ft, Vt) {
12667
12667
  if (jt || (jt = new Bt()), en(Ft))
12668
- ir(we, Le, Vt, Ze, zn, $t, jt);
12668
+ ir(we, Me, Vt, Ze, zn, $t, jt);
12669
12669
  else {
12670
- var Gt = $t ? $t(Ln(we, Vt), Ft, Vt + "", we, Le, jt) : void 0;
12670
+ var Gt = $t ? $t(Mn(we, Vt), Ft, Vt + "", we, Me, 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, Le, Ze, $t, jt, Ft, Vt) {
12676
- var Gt = Ln(we, Ze), Xt = Ln(Le, Ze), En = Vt.get(Xt);
12675
+ function ir(we, Me, Ze, $t, jt, Ft, Vt) {
12676
+ var Gt = Mn(we, Ze), Xt = Mn(Me, 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, Le, Vt) : void 0, er = Rn === void 0;
12681
+ var Rn = Ft ? Ft(Gt, Xt, Ze + "", we, Me, 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, Le) {
12689
- return sr(Wn(we, Le, Pe), we + "");
12688
+ function tr(we, Me) {
12689
+ return sr(Wn(we, Me, Pe), we + "");
12690
12690
  }
12691
- var Ae = Pt ? function(we, Le) {
12691
+ var Ae = Pt ? function(we, Me) {
12692
12692
  return Pt(we, "toString", {
12693
12693
  configurable: !0,
12694
12694
  enumerable: !1,
12695
- value: Dn(Le),
12695
+ value: Dn(Me),
12696
12696
  writable: !0
12697
12697
  });
12698
12698
  } : Pe;
12699
- function Ve(we, Le) {
12700
- if (Le)
12699
+ function Ve(we, Me) {
12700
+ if (Me)
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 Le = new we.constructor(we.byteLength);
12707
- return new pe(Le).set(new pe(we)), Le;
12706
+ var Me = new we.constructor(we.byteLength);
12707
+ return new pe(Me).set(new pe(we)), Me;
12708
12708
  }
12709
- function Je(we, Le) {
12710
- var Ze = Le ? Oe(we.buffer) : we.buffer;
12709
+ function Je(we, Me) {
12710
+ var Ze = Me ? Oe(we.buffer) : we.buffer;
12711
12711
  return new we.constructor(Ze, we.byteOffset, we.length);
12712
12712
  }
12713
- function Qe(we, Le) {
12713
+ function Qe(we, Me) {
12714
12714
  var Ze = -1, $t = we.length;
12715
- for (Le || (Le = Array($t)); ++Ze < $t; )
12716
- Le[Ze] = we[Ze];
12717
- return Le;
12715
+ for (Me || (Me = Array($t)); ++Ze < $t; )
12716
+ Me[Ze] = we[Ze];
12717
+ return Me;
12718
12718
  }
12719
- function Ke(we, Le, Ze, $t) {
12719
+ function Ke(we, Me, Ze, $t) {
12720
12720
  var jt = !Ze;
12721
12721
  Ze || (Ze = {});
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;
12722
+ for (var Ft = -1, Vt = Me.length; ++Ft < Vt; ) {
12723
+ var Gt = Me[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(Le, Ze) {
12729
+ return tr(function(Me, 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), Le = Object(Le); ++$t < jt; ) {
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), Me = Object(Me); ++$t < jt; ) {
12732
12732
  var Gt = Ze[$t];
12733
- Gt && we(Le, Gt, $t, Ft);
12733
+ Gt && we(Me, Gt, $t, Ft);
12734
12734
  }
12735
- return Le;
12735
+ return Me;
12736
12736
  });
12737
12737
  }
12738
12738
  function pt(we) {
12739
- return function(Le, Ze, $t) {
12740
- for (var jt = -1, Ft = Object(Le), Vt = $t(Le), Gt = Vt.length; Gt--; ) {
12739
+ return function(Me, Ze, $t) {
12740
+ for (var jt = -1, Ft = Object(Me), Vt = $t(Me), 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 Le;
12745
+ return Me;
12746
12746
  };
12747
12747
  }
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;
12748
+ function gt(we, Me, Ze, $t, jt, Ft) {
12749
+ return en(we) && en(Me) && (Ft.set(Me, we), zn(we, Me, void 0, gt, Ft), Ft.delete(Me)), we;
12750
12750
  }
12751
- function bt(we, Le) {
12751
+ function bt(we, Me) {
12752
12752
  var Ze = we.__data__;
12753
- return fn(Le) ? Ze[typeof Le == "string" ? "string" : "hash"] : Ze.map;
12753
+ return fn(Me) ? Ze[typeof Me == "string" ? "string" : "hash"] : Ze.map;
12754
12754
  }
12755
- function kt(we, Le) {
12756
- var Ze = ut(we, Le);
12755
+ function kt(we, Me) {
12756
+ var Ze = ut(we, Me);
12757
12757
  return Xn(Ze) ? Ze : void 0;
12758
12758
  }
12759
- function Lt(we) {
12760
- var Le = Ht.call(we, Tt), Ze = we[Tt];
12759
+ function Mt(we) {
12760
+ var Me = 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 && (Le ? we[Tt] = Ze : delete we[Tt]), jt;
12767
+ return $t && (Me ? 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, Le) {
12772
+ function Jt(we, Me) {
12773
12773
  var Ze = typeof we;
12774
- return Le = Le ?? Y, !!Le && (Ze == "number" || Ze != "symbol" && ze.test(we)) && we > -1 && we % 1 == 0 && we < Le;
12774
+ return Me = Me ?? Y, !!Me && (Ze == "number" || Ze != "symbol" && ze.test(we)) && we > -1 && we % 1 == 0 && we < Me;
12775
12775
  }
12776
- function tn(we, Le, Ze) {
12776
+ function tn(we, Me, Ze) {
12777
12777
  if (!en(Ze))
12778
12778
  return !1;
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;
12779
+ var $t = typeof Me;
12780
+ return ($t == "number" ? Nt(Ze) && Jt(Me, Ze.length) : $t == "string" && Me in Ze) ? Fe(Ze[Me], we) : !1;
12781
12781
  }
12782
12782
  function fn(we) {
12783
- var Le = typeof we;
12784
- return Le == "string" || Le == "number" || Le == "symbol" || Le == "boolean" ? we !== "__proto__" : we === null;
12783
+ var Me = typeof we;
12784
+ return Me == "string" || Me == "number" || Me == "symbol" || Me == "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 Le = we && we.constructor, Ze = typeof Le == "function" && Le.prototype || Ut;
12790
+ var Me = we && we.constructor, Ze = typeof Me == "function" && Me.prototype || Ut;
12791
12791
  return we === Ze;
12792
12792
  }
12793
12793
  function Hn(we) {
12794
- var Le = [];
12794
+ var Me = [];
12795
12795
  if (we != null)
12796
12796
  for (var Ze in Object(we))
12797
- Le.push(Ze);
12798
- return Le;
12797
+ Me.push(Ze);
12798
+ return Me;
12799
12799
  }
12800
12800
  function Zn(we) {
12801
12801
  return Ct.call(we);
12802
12802
  }
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];
12803
+ function Wn(we, Me, Ze) {
12804
+ return Me = Sn(Me === void 0 ? we.length - 1 : Me, 0), function() {
12805
+ for (var $t = arguments, jt = -1, Ft = Sn($t.length - Me, 0), Vt = Array(Ft); ++jt < Ft; )
12806
+ Vt[jt] = $t[Me + jt];
12807
12807
  jt = -1;
12808
- for (var Gt = Array(Le + 1); ++jt < Le; )
12808
+ for (var Gt = Array(Me + 1); ++jt < Me; )
12809
12809
  Gt[jt] = $t[jt];
12810
- return Gt[Le] = Ze(Vt), Me(we, this, Gt);
12810
+ return Gt[Me] = Ze(Vt), Le(we, this, Gt);
12811
12811
  };
12812
12812
  }
12813
- function Ln(we, Le) {
12814
- if (!(Le === "constructor" && typeof we[Le] == "function") && Le != "__proto__")
12815
- return we[Le];
12813
+ function Mn(we, Me) {
12814
+ if (!(Me === "constructor" && typeof we[Me] == "function") && Me != "__proto__")
12815
+ return we[Me];
12816
12816
  }
12817
12817
  var sr = ar(Ae);
12818
12818
  function ar(we) {
12819
- var Le = 0, Ze = 0;
12819
+ var Me = 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 (++Le >= G)
12823
+ if (++Me >= G)
12824
12824
  return arguments[0];
12825
12825
  } else
12826
- Le = 0;
12826
+ Me = 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, Le) {
12844
- return we === Le || we !== we && Le !== Le;
12843
+ function Fe(we, Me) {
12844
+ return we === Me || we !== we && Me !== Me;
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 Le = An(we);
12862
- return Le == re || Le == ae || Le == Q || Le == ue;
12861
+ var Me = An(we);
12862
+ return Me == re || Me == ae || Me == Q || Me == 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 Le = typeof we;
12869
- return we != null && (Le == "object" || Le == "function");
12868
+ var Me = typeof we;
12869
+ return we != null && (Me == "object" || Me == "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 Le = Se(we);
12878
- if (Le === null)
12877
+ var Me = Se(we);
12878
+ if (Me === null)
12879
12879
  return !0;
12880
- var Ze = Ht.call(Le, "constructor") && Le.constructor;
12880
+ var Ze = Ht.call(Me, "constructor") && Me.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), Me(Mn, void 0, we);
12888
+ return we.push(void 0, gt), Le(Ln, void 0, we);
12889
12889
  });
12890
12890
  function Cn(we) {
12891
12891
  return Nt(we) ? sn(we, !0) : rr(we);
12892
12892
  }
12893
- var Mn = ft(function(we, Le, Ze, $t) {
12894
- zn(we, Le, Ze, $t);
12893
+ var Ln = ft(function(we, Me, Ze, $t) {
12894
+ zn(we, Me, Ze, $t);
12895
12895
  });
12896
12896
  function Dn(we) {
12897
12897
  return function() {
@@ -13460,10 +13460,10 @@ var equalsSymbol = Symbol.for("dxos.common.equals"), __require$1 = /* @__PURE__
13460
13460
  }, randomBytes$1 = ($) => {
13461
13461
  const I = globalThis.crypto ?? __require$1("@dxos/node-std/crypto").webcrypto, U = new Uint8Array($);
13462
13462
  return I.getRandomValues(U), U;
13463
- }, __dxlog_file3$5 = "/home/runner/work/dxos/dxos/packages/common/util/src/callback.ts", Callback = class {
13463
+ }, __dxlog_file3$4 = "/home/runner/work/dxos/dxos/packages/common/util/src/callback.ts", Callback = class {
13464
13464
  call(...$) {
13465
13465
  return invariant(this._callback, "Callback not set", {
13466
- F: __dxlog_file3$5,
13466
+ F: __dxlog_file3$4,
13467
13467
  L: 20,
13468
13468
  S: this,
13469
13469
  A: [
@@ -13478,7 +13478,7 @@ var equalsSymbol = Symbol.for("dxos.common.equals"), __require$1 = /* @__PURE__
13478
13478
  }
13479
13479
  set($) {
13480
13480
  invariant(!this._callback, "Callback already set", {
13481
- F: __dxlog_file3$5,
13481
+ F: __dxlog_file3$4,
13482
13482
  L: 29,
13483
13483
  S: this,
13484
13484
  A: [
@@ -16033,7 +16033,7 @@ const arrow$1 = ($) => {
16033
16033
  Re,
16034
16034
  ye
16035
16035
  ]);
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();
16036
+ const Le = (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();
16037
16037
  $9f79659886946c16$export$e5c5a5f917a5871c$1(() => {
16038
16038
  _e && wt(window.getComputedStyle(_e).zIndex);
16039
16039
  }, [
@@ -16093,7 +16093,7 @@ const arrow$1 = ($) => {
16093
16093
  scope: ee,
16094
16094
  placedSide: Te,
16095
16095
  onArrowChange: xe,
16096
- arrowX: Me,
16096
+ arrowX: Le,
16097
16097
  arrowY: Ye,
16098
16098
  shouldHideArrow: ct
16099
16099
  }, Ut ? /* @__PURE__ */ createElement($cf1ac5d9fe0e8206$var$PositionContextProvider, {
@@ -17852,12 +17852,13 @@ var Message$1 = {
17852
17852
  className: q("scrollArea.viewport", "scroll-area", {}, $),
17853
17853
  ref: U
17854
17854
  });
17855
- }), ScrollAreaScrollbar = /* @__PURE__ */ forwardRef(({ classNames: $, ...I }, U) => {
17856
- const { tx: q } = useThemeContext();
17855
+ }), ScrollAreaScrollbar = /* @__PURE__ */ forwardRef(({ classNames: $, variant: I = "fine", ...U }, q) => {
17856
+ const { tx: G } = useThemeContext();
17857
17857
  return /* @__PURE__ */ React__default.createElement($57acba87d6e25586$export$9a4e88b92edfce6b, {
17858
- ...I,
17859
- className: q("scrollArea.scrollbar", "scroll-area__scrollbar", {}, $),
17860
- ref: U
17858
+ "data-variant": I,
17859
+ ...U,
17860
+ className: G("scrollArea.scrollbar", "scroll-area__scrollbar", {}, $),
17861
+ ref: q
17861
17862
  });
17862
17863
  }), ScrollAreaThumb = /* @__PURE__ */ forwardRef(({ classNames: $, ...I }, U) => {
17863
17864
  const { tx: q } = useThemeContext();
@@ -20199,7 +20200,7 @@ lodash_merge.exports;
20199
20200
  } catch {
20200
20201
  }
20201
20202
  }(), ye = be && be.isTypedArray;
20202
- function Me(Pe, Xe, we) {
20203
+ function Le(Pe, Xe, we) {
20203
20204
  switch (we.length) {
20204
20205
  case 0:
20205
20206
  return Pe.call(Xe);
@@ -20213,9 +20214,9 @@ lodash_merge.exports;
20213
20214
  return Pe.apply(Xe, we);
20214
20215
  }
20215
20216
  function Ye(Pe, Xe) {
20216
- for (var we = -1, Le = Array(Pe); ++we < Pe; )
20217
- Le[we] = Xe(we);
20218
- return Le;
20217
+ for (var we = -1, Me = Array(Pe); ++we < Pe; )
20218
+ Me[we] = Xe(we);
20219
+ return Me;
20219
20220
  }
20220
20221
  function ct(Pe) {
20221
20222
  return function(Xe) {
@@ -20257,8 +20258,8 @@ lodash_merge.exports;
20257
20258
  function un(Pe) {
20258
20259
  var Xe = -1, we = Pe == null ? 0 : Pe.length;
20259
20260
  for (this.clear(); ++Xe < we; ) {
20260
- var Le = Pe[Xe];
20261
- this.set(Le[0], Le[1]);
20261
+ var Me = Pe[Xe];
20262
+ this.set(Me[0], Me[1]);
20262
20263
  }
20263
20264
  }
20264
20265
  function Pn() {
@@ -20288,8 +20289,8 @@ lodash_merge.exports;
20288
20289
  function ln(Pe) {
20289
20290
  var Xe = -1, we = Pe == null ? 0 : Pe.length;
20290
20291
  for (this.clear(); ++Xe < we; ) {
20291
- var Le = Pe[Xe];
20292
- this.set(Le[0], Le[1]);
20292
+ var Me = Pe[Xe];
20293
+ this.set(Me[0], Me[1]);
20293
20294
  }
20294
20295
  }
20295
20296
  function Gn() {
@@ -20299,8 +20300,8 @@ lodash_merge.exports;
20299
20300
  var Xe = this.__data__, we = dn(Xe, Pe);
20300
20301
  if (we < 0)
20301
20302
  return !1;
20302
- var Le = Xe.length - 1;
20303
- return we == Le ? Xe.pop() : Dt.call(Xe, we, 1), --this.size, !0;
20303
+ var Me = Xe.length - 1;
20304
+ return we == Me ? Xe.pop() : Dt.call(Xe, we, 1), --this.size, !0;
20304
20305
  }
20305
20306
  function Kn(Pe) {
20306
20307
  var Xe = this.__data__, we = dn(Xe, Pe);
@@ -20310,15 +20311,15 @@ lodash_merge.exports;
20310
20311
  return dn(this.__data__, Pe) > -1;
20311
20312
  }
20312
20313
  function vt(Pe, Xe) {
20313
- var we = this.__data__, Le = dn(we, Pe);
20314
- return Le < 0 ? (++this.size, we.push([Pe, Xe])) : we[Le][1] = Xe, this;
20314
+ var we = this.__data__, Me = dn(we, Pe);
20315
+ return Me < 0 ? (++this.size, we.push([Pe, Xe])) : we[Me][1] = Xe, this;
20315
20316
  }
20316
20317
  ln.prototype.clear = Gn, ln.prototype.delete = _n, ln.prototype.get = Kn, ln.prototype.has = We, ln.prototype.set = vt;
20317
20318
  function xt(Pe) {
20318
20319
  var Xe = -1, we = Pe == null ? 0 : Pe.length;
20319
20320
  for (this.clear(); ++Xe < we; ) {
20320
- var Le = Pe[Xe];
20321
- this.set(Le[0], Le[1]);
20321
+ var Me = Pe[Xe];
20322
+ this.set(Me[0], Me[1]);
20322
20323
  }
20323
20324
  }
20324
20325
  function Ne() {
@@ -20339,15 +20340,15 @@ lodash_merge.exports;
20339
20340
  return gt(this, Pe).has(Pe);
20340
20341
  }
20341
20342
  function Rt(Pe, Xe) {
20342
- var we = gt(this, Pe), Le = we.size;
20343
- return we.set(Pe, Xe), this.size += we.size == Le ? 0 : 1, this;
20343
+ var we = gt(this, Pe), Me = we.size;
20344
+ return we.set(Pe, Xe), this.size += we.size == Me ? 0 : 1, this;
20344
20345
  }
20345
20346
  xt.prototype.clear = Ne, xt.prototype.delete = ot, xt.prototype.get = dt, xt.prototype.has = Et, xt.prototype.set = Rt;
20346
20347
  function Bt(Pe) {
20347
20348
  var Xe = this.__data__ = new ln(Pe);
20348
20349
  this.size = Xe.size;
20349
20350
  }
20350
- function Mt() {
20351
+ function Lt() {
20351
20352
  this.__data__ = new ln(), this.size = 0;
20352
20353
  }
20353
20354
  function Ot(Pe) {
@@ -20363,16 +20364,16 @@ lodash_merge.exports;
20363
20364
  function Yt(Pe, Xe) {
20364
20365
  var we = this.__data__;
20365
20366
  if (we instanceof ln) {
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);
20367
+ var Me = we.__data__;
20368
+ if (!vn || Me.length < U - 1)
20369
+ return Me.push([Pe, Xe]), this.size = ++we.size, this;
20370
+ we = this.__data__ = new xt(Me);
20370
20371
  }
20371
20372
  return we.set(Pe, Xe), this.size = we.size, this;
20372
20373
  }
20373
- Bt.prototype.clear = Mt, Bt.prototype.delete = Ot, Bt.prototype.get = Zt, Bt.prototype.has = Qt, Bt.prototype.set = Yt;
20374
+ Bt.prototype.clear = Lt, Bt.prototype.delete = Ot, Bt.prototype.get = Zt, Bt.prototype.has = Qt, Bt.prototype.set = Yt;
20374
20375
  function sn(Pe, Xe) {
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;
20376
+ var we = et(Pe), Me = !we && Fe(Pe), Ze = !we && !Me && nn(Pe), $t = !we && !Me && !Ze && yn(Pe), jt = we || Me || Ze || $t, Ft = jt ? Ye(Pe.length, String) : [], Vt = Ft.length;
20376
20377
  for (var Gt in Pe)
20377
20378
  (Xe || Ht.call(Pe, Gt)) && !(jt && // Safari 9 has enumerable `arguments.length` in strict mode.
20378
20379
  (Gt == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
@@ -20385,8 +20386,8 @@ lodash_merge.exports;
20385
20386
  (we !== void 0 && !qn(Pe[Xe], we) || we === void 0 && !(Xe in Pe)) && Bn(Pe, Xe, we);
20386
20387
  }
20387
20388
  function Yn(Pe, Xe, we) {
20388
- var Le = Pe[Xe];
20389
- (!(Ht.call(Pe, Xe) && qn(Le, we)) || we === void 0 && !(Xe in Pe)) && Bn(Pe, Xe, we);
20389
+ var Me = Pe[Xe];
20390
+ (!(Ht.call(Pe, Xe) && qn(Me, we)) || we === void 0 && !(Xe in Pe)) && Bn(Pe, Xe, we);
20390
20391
  }
20391
20392
  function dn(Pe, Xe) {
20392
20393
  for (var we = Pe.length; we--; )
@@ -20422,21 +20423,21 @@ lodash_merge.exports;
20422
20423
  if (!an(Pe))
20423
20424
  return wn(Pe);
20424
20425
  var Xe = cn(Pe), we = [];
20425
- for (var Le in Pe)
20426
- Le == "constructor" && (Xe || !Ht.call(Pe, Le)) || we.push(Le);
20426
+ for (var Me in Pe)
20427
+ Me == "constructor" && (Xe || !Ht.call(Pe, Me)) || we.push(Me);
20427
20428
  return we;
20428
20429
  }
20429
- function zn(Pe, Xe, we, Le, Ze) {
20430
+ function zn(Pe, Xe, we, Me, Ze) {
20430
20431
  Pe !== Xe && jn(Xe, function($t, jt) {
20431
20432
  if (Ze || (Ze = new Bt()), an($t))
20432
- ir(Pe, Xe, jt, we, zn, Le, Ze);
20433
+ ir(Pe, Xe, jt, we, zn, Me, Ze);
20433
20434
  else {
20434
- var Ft = Le ? Le(Wn(Pe, jt), $t, jt + "", Pe, Xe, Ze) : void 0;
20435
+ var Ft = Me ? Me(Wn(Pe, jt), $t, jt + "", Pe, Xe, Ze) : void 0;
20435
20436
  Ft === void 0 && (Ft = $t), xn(Pe, jt, Ft);
20436
20437
  }
20437
20438
  }, gn);
20438
20439
  }
20439
- function ir(Pe, Xe, we, Le, Ze, $t, jt) {
20440
+ function ir(Pe, Xe, we, Me, Ze, $t, jt) {
20440
20441
  var Ft = Wn(Pe, we), Vt = Wn(Xe, we), Gt = jt.get(Vt);
20441
20442
  if (Gt) {
20442
20443
  xn(Pe, we, Gt);
@@ -20445,12 +20446,12 @@ lodash_merge.exports;
20445
20446
  var Xt = $t ? $t(Ft, Vt, we + "", Pe, Xe, jt) : void 0, En = Xt === void 0;
20446
20447
  if (En) {
20447
20448
  var Rn = et(Vt), er = !Rn && nn(Vt), cr = !Rn && !er && yn(Vt);
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;
20449
+ 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 = Mt(Vt))) : En = !1;
20449
20450
  }
20450
- En && (jt.set(Vt, Xt), Ze(Xt, Vt, Le, $t, jt), jt.delete(Vt)), xn(Pe, we, Xt);
20451
+ En && (jt.set(Vt, Xt), Ze(Xt, Vt, Me, $t, jt), jt.delete(Vt)), xn(Pe, we, Xt);
20451
20452
  }
20452
20453
  function tr(Pe, Xe) {
20453
- return Ln(Zn(Pe, Xe, Mn), Pe + "");
20454
+ return Mn(Zn(Pe, Xe, Ln), Pe + "");
20454
20455
  }
20455
20456
  var Ae = Pt ? function(Pe, Xe) {
20456
20457
  return Pt(Pe, "toString", {
@@ -20459,12 +20460,12 @@ lodash_merge.exports;
20459
20460
  value: Cn(Xe),
20460
20461
  writable: !0
20461
20462
  });
20462
- } : Mn;
20463
+ } : Ln;
20463
20464
  function Ve(Pe, Xe) {
20464
20465
  if (Xe)
20465
20466
  return Pe.slice();
20466
- var we = Pe.length, Le = ke ? ke(we) : new Pe.constructor(we);
20467
- return Pe.copy(Le), Le;
20467
+ var we = Pe.length, Me = ke ? ke(we) : new Pe.constructor(we);
20468
+ return Pe.copy(Me), Me;
20468
20469
  }
20469
20470
  function Oe(Pe) {
20470
20471
  var Xe = new Pe.constructor(Pe.byteLength);
@@ -20475,33 +20476,33 @@ lodash_merge.exports;
20475
20476
  return new Pe.constructor(we, Pe.byteOffset, Pe.length);
20476
20477
  }
20477
20478
  function Qe(Pe, Xe) {
20478
- var we = -1, Le = Pe.length;
20479
- for (Xe || (Xe = Array(Le)); ++we < Le; )
20479
+ var we = -1, Me = Pe.length;
20480
+ for (Xe || (Xe = Array(Me)); ++we < Me; )
20480
20481
  Xe[we] = Pe[we];
20481
20482
  return Xe;
20482
20483
  }
20483
- function Ke(Pe, Xe, we, Le) {
20484
+ function Ke(Pe, Xe, we, Me) {
20484
20485
  var Ze = !we;
20485
20486
  we || (we = {});
20486
20487
  for (var $t = -1, jt = Xe.length; ++$t < jt; ) {
20487
- var Ft = Xe[$t], Vt = Le ? Le(we[Ft], Pe[Ft], Ft, we, Pe) : void 0;
20488
+ var Ft = Xe[$t], Vt = Me ? Me(we[Ft], Pe[Ft], Ft, we, Pe) : void 0;
20488
20489
  Vt === void 0 && (Vt = Pe[Ft]), Ze ? Bn(we, Ft, Vt) : Yn(we, Ft, Vt);
20489
20490
  }
20490
20491
  return we;
20491
20492
  }
20492
20493
  function ft(Pe) {
20493
20494
  return tr(function(Xe, we) {
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);
20495
+ var Me = -1, Ze = we.length, $t = Ze > 1 ? we[Ze - 1] : void 0, jt = Ze > 2 ? we[2] : void 0;
20496
+ 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); ++Me < Ze; ) {
20497
+ var Ft = we[Me];
20498
+ Ft && Pe(Xe, Ft, Me, $t);
20498
20499
  }
20499
20500
  return Xe;
20500
20501
  });
20501
20502
  }
20502
20503
  function pt(Pe) {
20503
- return function(Xe, we, Le) {
20504
- for (var Ze = -1, $t = Object(Xe), jt = Le(Xe), Ft = jt.length; Ft--; ) {
20504
+ return function(Xe, we, Me) {
20505
+ for (var Ze = -1, $t = Object(Xe), jt = Me(Xe), Ft = jt.length; Ft--; ) {
20505
20506
  var Vt = jt[Pe ? Ft : ++Ze];
20506
20507
  if (we($t[Vt], Vt, $t) === !1)
20507
20508
  break;
@@ -20521,13 +20522,13 @@ lodash_merge.exports;
20521
20522
  var Xe = Ht.call(Pe, Tt), we = Pe[Tt];
20522
20523
  try {
20523
20524
  Pe[Tt] = void 0;
20524
- var Le = !0;
20525
+ var Me = !0;
20525
20526
  } catch {
20526
20527
  }
20527
20528
  var Ze = Ct.call(Pe);
20528
- return Le && (Xe ? Pe[Tt] = we : delete Pe[Tt]), Ze;
20529
+ return Me && (Xe ? Pe[Tt] = we : delete Pe[Tt]), Ze;
20529
20530
  }
20530
- function Lt(Pe) {
20531
+ function Mt(Pe) {
20531
20532
  return typeof Pe.constructor == "function" && !cn(Pe) ? Tn(Se(Pe)) : {};
20532
20533
  }
20533
20534
  function Wt(Pe, Xe) {
@@ -20537,8 +20538,8 @@ lodash_merge.exports;
20537
20538
  function Jt(Pe, Xe, we) {
20538
20539
  if (!an(we))
20539
20540
  return !1;
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;
20541
+ var Me = typeof Xe;
20542
+ return (Me == "number" ? yt(we) && Wt(Xe, we.length) : Me == "string" && Xe in we) ? qn(we[Xe], Pe) : !1;
20542
20543
  }
20543
20544
  function tn(Pe) {
20544
20545
  var Xe = typeof Pe;
@@ -20563,24 +20564,24 @@ lodash_merge.exports;
20563
20564
  }
20564
20565
  function Zn(Pe, Xe, we) {
20565
20566
  return Xe = Sn(Xe === void 0 ? Pe.length - 1 : Xe, 0), function() {
20566
- for (var Le = arguments, Ze = -1, $t = Sn(Le.length - Xe, 0), jt = Array($t); ++Ze < $t; )
20567
- jt[Ze] = Le[Xe + Ze];
20567
+ for (var Me = arguments, Ze = -1, $t = Sn(Me.length - Xe, 0), jt = Array($t); ++Ze < $t; )
20568
+ jt[Ze] = Me[Xe + Ze];
20568
20569
  Ze = -1;
20569
20570
  for (var Ft = Array(Xe + 1); ++Ze < Xe; )
20570
- Ft[Ze] = Le[Ze];
20571
- return Ft[Xe] = we(jt), Me(Pe, this, Ft);
20571
+ Ft[Ze] = Me[Ze];
20572
+ return Ft[Xe] = we(jt), Le(Pe, this, Ft);
20572
20573
  };
20573
20574
  }
20574
20575
  function Wn(Pe, Xe) {
20575
20576
  if (!(Xe === "constructor" && typeof Pe[Xe] == "function") && Xe != "__proto__")
20576
20577
  return Pe[Xe];
20577
20578
  }
20578
- var Ln = sr(Ae);
20579
+ var Mn = sr(Ae);
20579
20580
  function sr(Pe) {
20580
20581
  var Xe = 0, we = 0;
20581
20582
  return function() {
20582
- var Le = bn(), Ze = K - (Le - we);
20583
- if (we = Le, Ze > 0) {
20583
+ var Me = bn(), Ze = K - (Me - we);
20584
+ if (we = Me, Ze > 0) {
20584
20585
  if (++Xe >= G)
20585
20586
  return arguments[0];
20586
20587
  } else
@@ -20656,7 +20657,7 @@ lodash_merge.exports;
20656
20657
  return Pe;
20657
20658
  };
20658
20659
  }
20659
- function Mn(Pe) {
20660
+ function Ln(Pe) {
20660
20661
  return Pe;
20661
20662
  }
20662
20663
  function Dn() {
@@ -24228,6 +24229,10 @@ var shadeNumbers = (
24228
24229
  light: "#ffffff",
24229
24230
  dark: "#ffffff"
24230
24231
  },
24232
+ transparent: {
24233
+ light: "transparent",
24234
+ dark: "transparent"
24235
+ },
24231
24236
  unavailable: {
24232
24237
  light: physicalColors.neutral[100],
24233
24238
  dark: physicalColors.neutral[600]
@@ -24377,7 +24382,7 @@ var hueTheme = {
24377
24382
  text: ({ hue: $ }) => hueTokenThemes[$].text,
24378
24383
  textHover: ({ hue: $ }) => hueTokenThemes[$].textHover,
24379
24384
  fill: ({ hue: $ }) => hueTokenThemes[$].fill
24380
- }, bounceLayout = "fixed inset-0 z-0 overflow-auto overscroll-auto scroll-smooth", popperMotion = "will-change-[opacity,transform] data-[side=top]:animate-slideDownAndFade data-[side=right]:animate-slideLeftAndFade data-[side=bottom]:animate-slideUpAndFade data-[side=left]:animate-slideRightAndFade", dialogMotion = "will-change-[opacity,transform] animate-slideUpAndFade", separatorBorderColor = "separator-separator", inlineSeparator = "self-stretch border-ie", blockSeparator = "self-stretch border-be", ghostHighlighted = "data-[highlighted]:bg-primary-100 dark:data-[highlighted]:bg-primary-850 hover:data-[highlighted]:bg-primary-150 hover:dark:data-[highlighted]:bg-primary-800", fixedSurface = "base-surface md:fixed-surface backdrop-blur-md dark:backdrop-blur-lg", fixedBorder = "separator-separator", groupBorder = "separator-separator", modalSurface = "modal-surface", getLength = () => [
24385
+ }, bounceLayout = "fixed inset-0 z-0 overflow-auto overscroll-auto", popperMotion = "will-change-[opacity,transform] data-[side=top]:animate-slideDownAndFade data-[side=right]:animate-slideLeftAndFade data-[side=bottom]:animate-slideUpAndFade data-[side=left]:animate-slideRightAndFade", dialogMotion = "will-change-[opacity,transform] animate-slideUpAndFade", separatorBorderColor = "separator-separator", inlineSeparator = "self-stretch border-ie", blockSeparator = "self-stretch border-be", ghostHighlighted = "data-[highlighted]:bg-primary-100 dark:data-[highlighted]:bg-primary-850 hover:data-[highlighted]:bg-primary-150 hover:dark:data-[highlighted]:bg-primary-800", fixedSurface = "base-surface md:fixed-surface backdrop-blur-md dark:backdrop-blur-lg", fixedBorder = "separator-separator", groupBorder = "separator-separator", modalSurface = "modal-surface", getLength = () => [
24381
24386
  validators.isLength
24382
24387
  ], getLengthWithAuto = () => [
24383
24388
  "auto",
@@ -25224,16 +25229,16 @@ var hueTheme = {
25224
25229
  start: {
25225
25230
  width: "sm:data-[side=is]:is-[270px]",
25226
25231
  sidebar: "sm:data-[side=is]:-inline-start-[270px]",
25227
- content: "lg:data-[sidebar-inline-start-state=open]:pis-[270px]",
25232
+ content: "lg:data-[sidebar-inline-start-state=open]:pis-[270px] lg:data-[sidebar-inline-start-state=open]:scroll-ps-[270px]",
25228
25233
  notch: "max-is-[270px]"
25229
25234
  },
25230
25235
  // TODO(burdon): Maximal size for phone.
25231
25236
  end: {
25232
25237
  width: "sm:data-[side=ie]:is-[360px]",
25233
25238
  sidebar: "sm:data-[side=ie]:-inline-end-[360px]",
25234
- content: "lg:data-[sidebar-inline-end-state=open]:pie-[360px]"
25239
+ content: "lg:data-[sidebar-inline-end-state=open]:pie-[360px] lg:data-[sidebar-inline-end-state=open]:scroll-pe-[360px]"
25235
25240
  }
25236
- }, mainSidebar = ($, ...I) => mx("fixed block-start-0 block-end-0 is-[100vw] z-10 data-[side=ie]:z-20 overscroll-contain overflow-x-hidden overflow-y-auto", "transition-[inset-inline-start,inset-inline-end] duration-0 data-[resizing=false]:duration-200 ease-in-out", `data-[side=is]:-inline-start-[100vw] ${sidebarSlots.start.width} ${sidebarSlots.start.sidebar}`, `data-[side=ie]:-inline-end-[100vw] ${sidebarSlots.end.width} ${sidebarSlots.end.sidebar}`, "data-[side=is]:data-[state=open]:inline-start-0 data-[side=ie]:data-[state=open]:inline-end-0", "data-[side=is]:border-ie data-[side=ie]:border-is", fixedBorder, fixedSurface, ...I), mainContent = ({ bounce: $ }, ...I) => mx("transition-[padding-inline-start,padding-'inline-end'] duration-200 ease-in-out", `pis-0 ${sidebarSlots.start.content}`, `pie-0 ${sidebarSlots.end.content}`, $ && bounceLayout, ...I), mainOverlay = ($, ...I) => mx("fixed inset-0 z-[9] surface-scrim", "transition-opacity duration-200 ease-in-out", "opacity-0 data-[state=open]:opacity-100 lg:data-[state=open]:opacity-100", "hidden data-[state=open]:block lg:data-[state=open]:hidden", ...I), mainNotch = ($, ...I) => mx("fixed z-[11] block-end-0 inline-start-0 pbe-[env(safe-area-inset-bottom)] rounded-se-lg min-bs-[var(--rail-size)] is-fit separator-separator surface-base", "transition-[border-width] box-content border-bs border-ie data-[nav-sidebar-state=open]:border-bs-0 data-[nav-sidebar-state=open]:border-ie-0", "pli-1 grid grid-cols-[repeat(auto-fit,var(--rail-action))]", sidebarSlots.start.notch, ...I), mainTheme = {
25241
+ }, mainSidebar = ($, ...I) => mx("fixed block-start-0 block-end-0 is-[100vw] z-10 data-[side=ie]:z-20 overscroll-contain overflow-x-hidden overflow-y-auto", "transition-[inset-inline-start,inset-inline-end] duration-0 data-[resizing=false]:duration-200 ease-in-out", `data-[side=is]:-inline-start-[100vw] ${sidebarSlots.start.width} ${sidebarSlots.start.sidebar}`, `data-[side=ie]:-inline-end-[100vw] ${sidebarSlots.end.width} ${sidebarSlots.end.sidebar}`, "data-[side=is]:data-[state=open]:inline-start-0 data-[side=ie]:data-[state=open]:inline-end-0", "data-[side=is]:border-ie data-[side=ie]:border-is", fixedBorder, fixedSurface, ...I), mainContent = ({ bounce: $ }, ...I) => mx("transition-[padding-inline-start,padding-inline-end,scroll-padding-start,scroll-padding-end] duration-200 ease-in-out", `pis-0 scroll-ps-0 ${sidebarSlots.start.content}`, `pie-0 scroll-pe-0 ${sidebarSlots.end.content}`, $ && bounceLayout, ...I), mainOverlay = ($, ...I) => mx("fixed inset-0 z-[9] surface-scrim", "transition-opacity duration-200 ease-in-out", "opacity-0 data-[state=open]:opacity-100 lg:data-[state=open]:opacity-100", "hidden data-[state=open]:block lg:data-[state=open]:hidden", ...I), mainNotch = ($, ...I) => mx("fixed z-[11] block-end-0 inline-start-0 pbe-[env(safe-area-inset-bottom)] rounded-se-lg min-bs-[var(--rail-size)] is-fit separator-separator surface-base", "transition-[border-width] box-content border-bs border-ie data-[nav-sidebar-state=open]:border-bs-0 data-[nav-sidebar-state=open]:border-ie-0", "pli-1 grid grid-cols-[repeat(auto-fit,var(--rail-action))]", sidebarSlots.start.notch, ...I), mainTheme = {
25237
25242
  content: mainContent,
25238
25243
  sidebar: mainSidebar,
25239
25244
  overlay: mainOverlay,
@@ -25248,7 +25253,7 @@ var hueTheme = {
25248
25253
  content: popoverContent,
25249
25254
  viewport: popoverViewport,
25250
25255
  arrow: popoverArrow
25251
- }, scrollAreaRoot = ($, ...I) => mx("overflow-hidden", ...I), scrollAreaViewport = ($, ...I) => mx("is-full bs-full scroll-smooth", "[&>div]:table-fixed [&>div]:w-full", ...I), scrollAreaScrollbar = ($, ...I) => mx("flex select-none touch-none p-0.5 ease-out", "data-[orientation=vertical]:is-1.5 data-[orientation=horizontal]:flex-col data-[orientation=horizontal]:bs-1.5", ...I), scrollAreaThumb = ($, ...I) => mx("bg-neutral-500/50 flex-1 rounded-lg relative", "before:content-[''] before:absolute before:top-1/2 before:left-1/2 before:-translate-x-1/2 before:-translate-y-1/2 before:w-full before:h-full before:min-w-[6px] before:min-h-[6px]", ...I), scrollAreaCorner = ($, ...I) => mx(...I), scrollAreaTheme = {
25256
+ }, scrollAreaRoot = ($, ...I) => mx("overflow-hidden", ...I), scrollAreaViewport = ($, ...I) => mx("is-full bs-full [&>div]:table-fixed [&>div]:is-full", ...I), scrollAreaScrollbar = ($, ...I) => mx("flex select-none touch-none p-0.5 ease-out", "data-[orientation=vertical]:is-1.5 sm:data-[orientation=vertical]:data-[variant=coarse]:is-3", "data-[orientation=horizontal]:flex-col data-[orientation=horizontal]:bs-1.5 sm:data-[orientation=horizontal]:data-[variant=coarse]:bs-3", "sm:data-[variant=coarse]:surface-separator rounded-full", "[&>div]:surface-unAccent sm:[&[data-variant=coarse]>div]:surface-attention", ...I), scrollAreaThumb = ($, ...I) => mx("flex-1 rounded-full relative", "before:content-[''] before:absolute before:top-1/2 before:left-1/2 before:-translate-x-1/2 before:-translate-y-1/2 before:w-full before:h-full before:min-w-[6px] before:min-h-[6px]", ...I), scrollAreaCorner = ($, ...I) => mx(...I), scrollAreaTheme = {
25252
25257
  root: scrollAreaRoot,
25253
25258
  viewport: scrollAreaViewport,
25254
25259
  scrollbar: scrollAreaScrollbar,
@@ -69501,7 +69506,7 @@ function formatDistance($, I, U) {
69501
69506
  function formatDistanceToNow($, I) {
69502
69507
  return formatDistance($, Date.now(), I);
69503
69508
  }
69504
- var LogLevel;
69509
+ var RPC_TIMEOUT = 2e4, LogLevel;
69505
69510
  (function($) {
69506
69511
  $[$.TRACE = 5] = "TRACE", $[$.DEBUG = 10] = "DEBUG", $[$.INFO = 11] = "INFO", $[$.WARN = 12] = "WARN", $[$.ERROR = 13] = "ERROR";
69507
69512
  })(LogLevel || (LogLevel = {}));
@@ -69643,37 +69648,33 @@ var __dxlog_file$7 = "/home/runner/work/dxos/dxos/packages/common/context/src/co
69643
69648
  }
69644
69649
  /**
69645
69650
  * Runs all dispose callbacks.
69646
- * Sync callbacks are run in the reverse order they were added.
69647
- * Async callbacks are run in parallel.
69651
+ * Callbacks are run in the reverse order they were added.
69648
69652
  * This function never throws.
69649
69653
  * It is safe to ignore the returned promise if the caller does not wish to wait for callbacks to complete.
69650
69654
  * Disposing context means that onDispose will throw an error and any errors raised will be logged and not propagated.
69651
69655
  */
69652
- dispose() {
69656
+ async dispose() {
69653
69657
  if (this._disposePromise)
69654
69658
  return this._disposePromise;
69655
69659
  this._isDisposed = !0;
69656
69660
  let I;
69657
- this._disposePromise = new Promise((G) => {
69658
- I = G;
69661
+ this._disposePromise = new Promise((q) => {
69662
+ I = q;
69659
69663
  });
69660
- const U = [], q = Array.from(this._disposeCallbacks).reverse();
69661
- for (const G of q)
69662
- U.push((async () => {
69663
- try {
69664
- await G();
69665
- } catch (K) {
69666
- log$2.catch(K, void 0, {
69667
- F: __dxlog_file$7,
69668
- L: 138,
69669
- S: this,
69670
- C: (Y, J) => Y(...J)
69671
- });
69672
- }
69673
- })());
69674
- return this._disposeCallbacks.length = 0, Promise.all(U).then(() => {
69675
- I();
69676
- }), this._disposePromise;
69664
+ const U = Array.from(this._disposeCallbacks).reverse();
69665
+ this._disposeCallbacks.length = 0;
69666
+ for (const q of U)
69667
+ try {
69668
+ await q();
69669
+ } catch (G) {
69670
+ log$2.catch(G, void 0, {
69671
+ F: __dxlog_file$7,
69672
+ L: 136,
69673
+ S: this,
69674
+ C: (K, Y) => K(...Y)
69675
+ });
69676
+ }
69677
+ I();
69677
69678
  }
69678
69679
  /**
69679
69680
  * Raise the error inside the context.
@@ -70974,13 +70975,13 @@ ieee754.write = function($, I, U, q, G, K) {
70974
70975
  }, J.prototype.readUint32BE = J.prototype.readUInt32BE = function(ie, oe) {
70975
70976
  return ie = ie >>> 0, oe || tt(ie, 4, this.length), this[ie] * 16777216 + (this[ie + 1] << 16 | this[ie + 2] << 8 | this[ie + 3]);
70976
70977
  }, J.prototype.readBigUInt64LE = Ct(function(ie) {
70977
- ie = ie >>> 0, Me(ie, "offset");
70978
+ ie = ie >>> 0, Le(ie, "offset");
70978
70979
  const oe = this[ie], pe = this[ie + 7];
70979
70980
  (oe === void 0 || pe === void 0) && Ye(ie, this.length - 8);
70980
70981
  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;
70981
70982
  return BigInt(ke) + (BigInt(Se) << BigInt(32));
70982
70983
  }), J.prototype.readBigUInt64BE = Ct(function(ie) {
70983
- ie = ie >>> 0, Me(ie, "offset");
70984
+ ie = ie >>> 0, Le(ie, "offset");
70984
70985
  const oe = this[ie], pe = this[ie + 7];
70985
70986
  (oe === void 0 || pe === void 0) && Ye(ie, this.length - 8);
70986
70987
  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;
@@ -71012,13 +71013,13 @@ ieee754.write = function($, I, U, q, G, K) {
71012
71013
  }, J.prototype.readInt32BE = function(ie, oe) {
71013
71014
  return ie = ie >>> 0, oe || tt(ie, 4, this.length), this[ie] << 24 | this[ie + 1] << 16 | this[ie + 2] << 8 | this[ie + 3];
71014
71015
  }, J.prototype.readBigInt64LE = Ct(function(ie) {
71015
- ie = ie >>> 0, Me(ie, "offset");
71016
+ ie = ie >>> 0, Le(ie, "offset");
71016
71017
  const oe = this[ie], pe = this[ie + 7];
71017
71018
  (oe === void 0 || pe === void 0) && Ye(ie, this.length - 8);
71018
71019
  const ke = this[ie + 4] + this[ie + 5] * 2 ** 8 + this[ie + 6] * 2 ** 16 + (pe << 24);
71019
71020
  return (BigInt(ke) << BigInt(32)) + BigInt(oe + this[++ie] * 2 ** 8 + this[++ie] * 2 ** 16 + this[++ie] * 2 ** 24);
71020
71021
  }), J.prototype.readBigInt64BE = Ct(function(ie) {
71021
- ie = ie >>> 0, Me(ie, "offset");
71022
+ ie = ie >>> 0, Le(ie, "offset");
71022
71023
  const oe = this[ie], pe = this[ie + 7];
71023
71024
  (oe === void 0 || pe === void 0) && Ye(ie, this.length - 8);
71024
71025
  const ke = (oe << 24) + // Overflow
@@ -71244,7 +71245,7 @@ ieee754.write = function($, I, U, q, G, K) {
71244
71245
  return `${de.slice(0, oe)}${ie}`;
71245
71246
  }
71246
71247
  function be(de, ie, oe) {
71247
- Me(ie, "offset"), (de[ie] === void 0 || de[ie + oe] === void 0) && Ye(ie, de.length - (oe + 1));
71248
+ Le(ie, "offset"), (de[ie] === void 0 || de[ie + oe] === void 0) && Ye(ie, de.length - (oe + 1));
71248
71249
  }
71249
71250
  function ye(de, ie, oe, pe, ke, Se) {
71250
71251
  if (de > oe || de < ie) {
@@ -71254,12 +71255,12 @@ ieee754.write = function($, I, U, q, G, K) {
71254
71255
  }
71255
71256
  be(pe, ke, Se);
71256
71257
  }
71257
- function Me(de, ie) {
71258
+ function Le(de, ie) {
71258
71259
  if (typeof de != "number")
71259
71260
  throw new Ie.ERR_INVALID_ARG_TYPE(ie, "number", de);
71260
71261
  }
71261
71262
  function Ye(de, ie, oe) {
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(
71263
+ throw Math.floor(de) !== de ? (Le(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(
71263
71264
  oe || "offset",
71264
71265
  `>= ${oe ? 1 : 0} and <= ${ie}`,
71265
71266
  de
@@ -71802,8 +71803,8 @@ function require_stream_writable() {
71802
71803
  var ye = Ee(He, Re, Te);
71803
71804
  Re !== ye && (Ie = !0, Te = "buffer", Re = ye);
71804
71805
  }
71805
- var Me = He.objectMode ? 1 : Re.length;
71806
- He.length += Me;
71806
+ var Le = He.objectMode ? 1 : Re.length;
71807
+ He.length += Le;
71807
71808
  var Ye = He.length < He.highWaterMark;
71808
71809
  if (Ye || (He.needDrain = !0), He.writing || He.corked) {
71809
71810
  var ct = He.lastBufferedRequest;
@@ -71815,7 +71816,7 @@ function require_stream_writable() {
71815
71816
  next: null
71816
71817
  }, ct ? ct.next = He.lastBufferedRequest : He.bufferedRequest = He.lastBufferedRequest, He.bufferedRequestCount += 1;
71817
71818
  } else
71818
- Be(Ue, He, !1, Me, Re, Te, be);
71819
+ Be(Ue, He, !1, Le, Re, Te, be);
71819
71820
  return Ye;
71820
71821
  }
71821
71822
  function Be(Ue, He, Ie, Re, Te, be, ye) {
@@ -71850,9 +71851,9 @@ function require_stream_writable() {
71850
71851
  if (Ue._writev && Ie && Ie.next) {
71851
71852
  var Re = He.bufferedRequestCount, Te = new Array(Re), be = He.corkedRequestsFree;
71852
71853
  be.entry = Ie;
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;
71854
+ for (var ye = 0, Le = !0; Ie; )
71855
+ Te[ye] = Ie, Ie.isBuf || (Le = !1), Ie = Ie.next, ye += 1;
71856
+ Te.allBuffers = Le, 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;
71856
71857
  } else {
71857
71858
  for (; Ie; ) {
71858
71859
  var Ye = Ie.chunk, ct = Ie.encoding, ut = Ie.callback, wt = He.objectMode ? 1 : Ye.length;
@@ -72358,8 +72359,8 @@ function require_stream_readable() {
72358
72359
  hasRequired_stream_readable = 1, _stream_readable = $e;
72359
72360
  var $;
72360
72361
  $e.ReadableState = _e, eventsExports.EventEmitter;
72361
- var I = function(ye, Me) {
72362
- return ye.listeners(Me).length;
72362
+ var I = function(ye, Le) {
72363
+ return ye.listeners(Le).length;
72363
72364
  }, U = streamBrowser, q = buffer.Buffer, G = commonjsGlobal.Uint8Array || function() {
72364
72365
  };
72365
72366
  function K(be) {
@@ -72374,13 +72375,13 @@ function require_stream_readable() {
72374
72375
  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;
72375
72376
  inherits_browserExports($e, U);
72376
72377
  var ve = ee.errorOrDestroy, me = ["error", "close", "destroy", "pause", "resume"];
72377
- function ge(be, ye, Me) {
72378
+ function ge(be, ye, Le) {
72378
72379
  if (typeof be.prependListener == "function")
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]];
72380
+ return be.prependListener(ye, Le);
72381
+ !be._events || !be._events[ye] ? be.on(ye, Le) : Array.isArray(be._events[ye]) ? be._events[ye].unshift(Le) : be._events[ye] = [Le, be._events[ye]];
72381
72382
  }
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);
72383
+ function _e(be, ye, Le) {
72384
+ $ = $ || require_stream_duplex(), be = be || {}, typeof Le != "boolean" && (Le = ye instanceof $), this.objectMode = !!be.objectMode, Le && (this.objectMode = this.objectMode || !!be.readableObjectMode), this.highWaterMark = ne(this, be, "readableHighWaterMark", Le), 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);
72384
72385
  }
72385
72386
  function $e(be) {
72386
72387
  if ($ = $ || require_stream_duplex(), !(this instanceof $e))
@@ -72402,12 +72403,12 @@ function require_stream_readable() {
72402
72403
  }), $e.prototype.destroy = ee.destroy, $e.prototype._undestroy = ee.undestroy, $e.prototype._destroy = function(be, ye) {
72403
72404
  ye(be);
72404
72405
  }, $e.prototype.push = function(be, ye) {
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);
72406
+ var Le = this._readableState, Ye;
72407
+ return Le.objectMode ? Ye = !0 : typeof be == "string" && (ye = ye || Le.defaultEncoding, ye !== Le.encoding && (be = q.from(be, ye), ye = ""), Ye = !0), Ce(this, be, ye, !1, Ye);
72407
72408
  }, $e.prototype.unshift = function(be) {
72408
72409
  return Ce(this, be, null, !0, !1);
72409
72410
  };
72410
- function Ce(be, ye, Me, Ye, ct) {
72411
+ function Ce(be, ye, Le, Ye, ct) {
72411
72412
  Z("readableAddChunk", ye);
72412
72413
  var ut = be._readableState;
72413
72414
  if (ye === null)
@@ -72424,19 +72425,19 @@ function require_stream_readable() {
72424
72425
  else {
72425
72426
  if (ut.destroyed)
72426
72427
  return !1;
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);
72428
+ ut.reading = !1, ut.decoder && !Le ? (ye = ut.decoder.write(ye), ut.objectMode || ye.length !== 0 ? Ee(be, ut, ye, !1) : at(be, ut)) : Ee(be, ut, ye, !1);
72428
72429
  }
72429
72430
  else
72430
72431
  Ye || (ut.reading = !1, at(be, ut));
72431
72432
  }
72432
72433
  return !ut.ended && (ut.length < ut.highWaterMark || ut.length === 0);
72433
72434
  }
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);
72435
+ function Ee(be, ye, Le, Ye) {
72436
+ ye.flowing && ye.length === 0 && !ye.sync ? (ye.awaitDrain = 0, be.emit("data", Le)) : (ye.length += ye.objectMode ? 1 : Le.length, Ye ? ye.buffer.unshift(Le) : ye.buffer.push(Le), ye.needReadable && st(be)), at(be, ye);
72436
72437
  }
72437
72438
  function xe(be, ye) {
72438
- var Me;
72439
- return !Y(ye) && typeof ye != "string" && ye !== void 0 && !be.objectMode && (Me = new ae("chunk", ["string", "Buffer", "Uint8Array"], ye)), Me;
72439
+ var Le;
72440
+ return !Y(ye) && typeof ye != "string" && ye !== void 0 && !be.objectMode && (Le = new ae("chunk", ["string", "Buffer", "Uint8Array"], ye)), Le;
72440
72441
  }
72441
72442
  $e.prototype.isPaused = function() {
72442
72443
  return this._readableState.flowing === !1;
@@ -72444,8 +72445,8 @@ function require_stream_readable() {
72444
72445
  ce || (ce = requireString_decoder().StringDecoder);
72445
72446
  var ye = new ce(be);
72446
72447
  this._readableState.decoder = ye, this._readableState.encoding = this._readableState.decoder.encoding;
72447
- for (var Me = this._readableState.buffer.head, Ye = ""; Me !== null; )
72448
- Ye += ye.write(Me.data), Me = Me.next;
72448
+ for (var Le = this._readableState.buffer.head, Ye = ""; Le !== null; )
72449
+ Ye += ye.write(Le.data), Le = Le.next;
72449
72450
  return this._readableState.buffer.clear(), Ye !== "" && this._readableState.buffer.push(Ye), this._readableState.length = Ye.length, this;
72450
72451
  };
72451
72452
  var Be = 1073741824;
@@ -72457,21 +72458,21 @@ function require_stream_readable() {
72457
72458
  }
72458
72459
  $e.prototype.read = function(be) {
72459
72460
  Z("read", be), be = parseInt(be, 10);
72460
- var ye = this._readableState, Me = be;
72461
+ var ye = this._readableState, Le = be;
72461
72462
  if (be !== 0 && (ye.emittedReadable = !1), be === 0 && ye.needReadable && ((ye.highWaterMark !== 0 ? ye.length >= ye.highWaterMark : ye.length > 0) || ye.ended))
72462
72463
  return Z("read: emitReadable", ye.length, ye.ended), ye.length === 0 && ye.ended ? Ie(this) : st(this), null;
72463
72464
  if (be = Ge(be, ye), be === 0 && ye.ended)
72464
72465
  return ye.length === 0 && Ie(this), null;
72465
72466
  var Ye = ye.needReadable;
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)));
72467
+ 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(Le, ye)));
72467
72468
  var ct;
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;
72469
+ 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), Le !== be && ye.ended && Ie(this)), ct !== null && this.emit("data", ct), ct;
72469
72470
  };
72470
72471
  function rt(be, ye) {
72471
72472
  if (Z("onEofChunk"), !ye.ended) {
72472
72473
  if (ye.decoder) {
72473
- var Me = ye.decoder.end();
72474
- Me && Me.length && (ye.buffer.push(Me), ye.length += ye.objectMode ? 1 : Me.length);
72474
+ var Le = ye.decoder.end();
72475
+ Le && Le.length && (ye.buffer.push(Le), ye.length += ye.objectMode ? 1 : Le.length);
72475
72476
  }
72476
72477
  ye.ended = !0, ye.sync ? st(be) : (ye.needReadable = !1, ye.emittedReadable || (ye.emittedReadable = !0, lt(be)));
72477
72478
  }
@@ -72489,8 +72490,8 @@ function require_stream_readable() {
72489
72490
  }
72490
72491
  function ht(be, ye) {
72491
72492
  for (; !ye.reading && !ye.ended && (ye.length < ye.highWaterMark || ye.flowing && ye.length === 0); ) {
72492
- var Me = ye.length;
72493
- if (Z("maybeReadMore read 0"), be.read(0), Me === ye.length)
72493
+ var Le = ye.length;
72494
+ if (Z("maybeReadMore read 0"), be.read(0), Le === ye.length)
72494
72495
  break;
72495
72496
  }
72496
72497
  ye.readingMore = !1;
@@ -72498,7 +72499,7 @@ function require_stream_readable() {
72498
72499
  $e.prototype._read = function(be) {
72499
72500
  ve(this, new fe("_read()"));
72500
72501
  }, $e.prototype.pipe = function(be, ye) {
72501
- var Me = this, Ye = this._readableState;
72502
+ var Le = this, Ye = this._readableState;
72502
72503
  switch (Ye.pipesCount) {
72503
72504
  case 0:
72504
72505
  Ye.pipes = be;
@@ -72512,24 +72513,24 @@ function require_stream_readable() {
72512
72513
  }
72513
72514
  Ye.pipesCount += 1, Z("pipe count=%d opts=%j", Ye.pipesCount, ye);
72514
72515
  var ct = (!ye || ye.end !== !1) && be !== process.stdout && be !== process.stderr, ut = ct ? St : zt;
72515
- Ye.endEmitted ? process.nextTick(ut) : Me.once("end", ut), be.on("unpipe", wt);
72516
+ Ye.endEmitted ? process.nextTick(ut) : Le.once("end", ut), be.on("unpipe", wt);
72516
72517
  function wt(de, ie) {
72517
- Z("onunpipe"), de === Me && ie && ie.hasUnpiped === !1 && (ie.hasUnpiped = !0, Kt());
72518
+ Z("onunpipe"), de === Le && ie && ie.hasUnpiped === !1 && (ie.hasUnpiped = !0, Kt());
72518
72519
  }
72519
72520
  function St() {
72520
72521
  Z("onend"), be.end();
72521
72522
  }
72522
- var it = tt(Me);
72523
+ var it = tt(Le);
72523
72524
  be.on("drain", it);
72524
72525
  var Ut = !1;
72525
72526
  function Kt() {
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();
72527
+ Z("cleanup"), be.removeListener("close", rn), be.removeListener("finish", Ct), be.removeListener("drain", it), be.removeListener("error", Ht), be.removeListener("unpipe", wt), Le.removeListener("end", St), Le.removeListener("end", zt), Le.removeListener("data", It), Ut = !0, Ye.awaitDrain && (!be._writableState || be._writableState.needDrain) && it();
72527
72528
  }
72528
- Me.on("data", It);
72529
+ Le.on("data", It);
72529
72530
  function It(de) {
72530
72531
  Z("ondata");
72531
72532
  var ie = be.write(de);
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());
72533
+ 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++), Le.pause());
72533
72534
  }
72534
72535
  function Ht(de) {
72535
72536
  Z("onerror", de), zt(), be.removeListener("error", Ht), I(be, "error") === 0 && ve(be, de);
@@ -72544,24 +72545,24 @@ function require_stream_readable() {
72544
72545
  }
72545
72546
  be.once("finish", Ct);
72546
72547
  function zt() {
72547
- Z("unpipe"), Me.unpipe(be);
72548
+ Z("unpipe"), Le.unpipe(be);
72548
72549
  }
72549
- return be.emit("pipe", Me), Ye.flowing || (Z("pipe resume"), Me.resume()), be;
72550
+ return be.emit("pipe", Le), Ye.flowing || (Z("pipe resume"), Le.resume()), be;
72550
72551
  };
72551
72552
  function tt(be) {
72552
72553
  return function() {
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));
72554
+ var Le = be._readableState;
72555
+ Z("pipeOnDrain", Le.awaitDrain), Le.awaitDrain && Le.awaitDrain--, Le.awaitDrain === 0 && I(be, "data") && (Le.flowing = !0, Ue(be));
72555
72556
  };
72556
72557
  }
72557
72558
  $e.prototype.unpipe = function(be) {
72558
- var ye = this._readableState, Me = {
72559
+ var ye = this._readableState, Le = {
72559
72560
  hasUnpiped: !1
72560
72561
  };
72561
72562
  if (ye.pipesCount === 0)
72562
72563
  return this;
72563
72564
  if (ye.pipesCount === 1)
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);
72565
+ return be && be !== ye.pipes ? this : (be || (be = ye.pipes), ye.pipes = null, ye.pipesCount = 0, ye.flowing = !1, be && be.emit("unpipe", this, Le), this);
72565
72566
  if (!be) {
72566
72567
  var Ye = ye.pipes, ct = ye.pipesCount;
72567
72568
  ye.pipes = null, ye.pipesCount = 0, ye.flowing = !1;
@@ -72572,13 +72573,13 @@ function require_stream_readable() {
72572
72573
  return this;
72573
72574
  }
72574
72575
  var wt = Te(ye.pipes, be);
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);
72576
+ return wt === -1 ? this : (ye.pipes.splice(wt, 1), ye.pipesCount -= 1, ye.pipesCount === 1 && (ye.pipes = ye.pipes[0]), be.emit("unpipe", this, Le), this);
72576
72577
  }, $e.prototype.on = function(be, ye) {
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;
72578
+ var Le = U.prototype.on.call(this, be, ye), Ye = this._readableState;
72579
+ 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)), Le;
72579
72580
  }, $e.prototype.addListener = $e.prototype.on, $e.prototype.removeListener = function(be, ye) {
72580
- var Me = U.prototype.removeListener.call(this, be, ye);
72581
- return be === "readable" && process.nextTick(ze, this), Me;
72581
+ var Le = U.prototype.removeListener.call(this, be, ye);
72582
+ return be === "readable" && process.nextTick(ze, this), Le;
72582
72583
  }, $e.prototype.removeAllListeners = function(be) {
72583
72584
  var ye = U.prototype.removeAllListeners.apply(this, arguments);
72584
72585
  return (be === "readable" || be === void 0) && process.nextTick(ze, this), ye;
@@ -72609,15 +72610,15 @@ function require_stream_readable() {
72609
72610
  ;
72610
72611
  }
72611
72612
  $e.prototype.wrap = function(be) {
72612
- var ye = this, Me = this._readableState, Ye = !1;
72613
+ var ye = this, Le = this._readableState, Ye = !1;
72613
72614
  be.on("end", function() {
72614
- if (Z("wrapped end"), Me.decoder && !Me.ended) {
72615
- var wt = Me.decoder.end();
72615
+ if (Z("wrapped end"), Le.decoder && !Le.ended) {
72616
+ var wt = Le.decoder.end();
72616
72617
  wt && wt.length && ye.push(wt);
72617
72618
  }
72618
72619
  ye.push(null);
72619
72620
  }), be.on("data", function(wt) {
72620
- if (Z("wrapped data"), Me.decoder && (wt = Me.decoder.write(wt)), !(Me.objectMode && wt == null) && !(!Me.objectMode && (!wt || !wt.length))) {
72621
+ if (Z("wrapped data"), Le.decoder && (wt = Le.decoder.write(wt)), !(Le.objectMode && wt == null) && !(!Le.objectMode && (!wt || !wt.length))) {
72621
72622
  var St = ye.push(wt);
72622
72623
  St || (Ye = !0, be.pause());
72623
72624
  }
@@ -72674,8 +72675,8 @@ function require_stream_readable() {
72674
72675
  function He(be, ye) {
72675
72676
  if (ye.length === 0)
72676
72677
  return null;
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;
72678
+ var Le;
72679
+ return ye.objectMode ? Le = ye.buffer.shift() : !be || be >= ye.length ? (ye.decoder ? Le = ye.buffer.join("") : ye.buffer.length === 1 ? Le = ye.buffer.first() : Le = ye.buffer.concat(ye.length), ye.buffer.clear()) : Le = ye.buffer.consume(be, ye.decoder), Le;
72679
72680
  }
72680
72681
  function Ie(be) {
72681
72682
  var ye = be._readableState;
@@ -72683,17 +72684,17 @@ function require_stream_readable() {
72683
72684
  }
72684
72685
  function Re(be, ye) {
72685
72686
  if (Z("endReadableNT", be.endEmitted, be.length), !be.endEmitted && be.length === 0 && (be.endEmitted = !0, ye.readable = !1, ye.emit("end"), be.autoDestroy)) {
72686
- var Me = ye._writableState;
72687
- (!Me || Me.autoDestroy && Me.finished) && ye.destroy();
72687
+ var Le = ye._writableState;
72688
+ (!Le || Le.autoDestroy && Le.finished) && ye.destroy();
72688
72689
  }
72689
72690
  }
72690
72691
  typeof Symbol == "function" && ($e.from = function(be, ye) {
72691
72692
  return he === void 0 && (he = requireFromBrowser()), he($e, be, ye);
72692
72693
  });
72693
72694
  function Te(be, ye) {
72694
- for (var Me = 0, Ye = be.length; Me < Ye; Me++)
72695
- if (be[Me] === ye)
72696
- return Me;
72695
+ for (var Le = 0, Ye = be.length; Le < Ye; Le++)
72696
+ if (be[Le] === ye)
72697
+ return Le;
72697
72698
  return -1;
72698
72699
  }
72699
72700
  return _stream_readable;
@@ -78255,8 +78256,8 @@ function parse($, I, U) {
78255
78256
  function xe(Re, Te, be) {
78256
78257
  var ye = G.line;
78257
78258
  if (Re && (typeof Re.comment != "string" && (Re.comment = Q()), Re.filename = parse.filename), Z("{", !0)) {
78258
- for (var Me; (Me = K()) !== "}"; )
78259
- Te(Me);
78259
+ for (var Le; (Le = K()) !== "}"; )
78260
+ Te(Le);
78260
78261
  Z(";", !0);
78261
78262
  } else
78262
78263
  be && be(), Z(";"), Re && (typeof Re.comment != "string" || q) && (Re.comment = Q(ye) || Re.comment);
@@ -78265,21 +78266,21 @@ function parse($, I, U) {
78265
78266
  if (!nameRe.test(Te = K()))
78266
78267
  throw ce(Te, "type name");
78267
78268
  var be = new Type(Te);
78268
- xe(be, function(Me) {
78269
- if (!Ee(be, Me))
78270
- switch (Me) {
78269
+ xe(be, function(Le) {
78270
+ if (!Ee(be, Le))
78271
+ switch (Le) {
78271
78272
  case "map":
78272
78273
  rt(be);
78273
78274
  break;
78274
78275
  case "required":
78275
78276
  case "repeated":
78276
- je(be, Me);
78277
+ je(be, Le);
78277
78278
  break;
78278
78279
  case "optional":
78279
78280
  se ? je(be, "proto3_optional") : je(be, "optional");
78280
78281
  break;
78281
78282
  case "oneof":
78282
- st(be, Me);
78283
+ st(be, Le);
78283
78284
  break;
78284
78285
  case "extensions":
78285
78286
  ve(be.extensions || (be.extensions = []));
@@ -78288,9 +78289,9 @@ function parse($, I, U) {
78288
78289
  ve(be.reserved || (be.reserved = []), !0);
78289
78290
  break;
78290
78291
  default:
78291
- if (!se || !typeRefRe.test(Me))
78292
- throw ce(Me);
78293
- Y(Me), je(be, "optional");
78292
+ if (!se || !typeRefRe.test(Le))
78293
+ throw ce(Le);
78294
+ Y(Le), je(be, "optional");
78294
78295
  break;
78295
78296
  }
78296
78297
  }), Re.add(be);
@@ -78303,11 +78304,11 @@ function parse($, I, U) {
78303
78304
  }
78304
78305
  if (!typeRefRe.test(ye))
78305
78306
  throw ce(ye, "type");
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);
78307
+ var Le = K();
78308
+ if (!nameRe.test(Le))
78309
+ throw ce(Le, "name");
78310
+ Le = le(Le), Z("=");
78311
+ var Ye = new Field(Le, ge(K()), ye, Te, be);
78311
78312
  if (xe(Ye, function(wt) {
78312
78313
  if (wt === "option")
78313
78314
  ht(Ye, wt), Z(";");
@@ -78316,7 +78317,7 @@ function parse($, I, U) {
78316
78317
  }, function() {
78317
78318
  nt(Ye);
78318
78319
  }), Te === "proto3_optional") {
78319
- var ct = new OneOf("_" + Me);
78320
+ var ct = new OneOf("_" + Le);
78320
78321
  Ye.setOption("proto3_optional", !0), ct.add(Ye), Re.add(ct);
78321
78322
  } else
78322
78323
  Re.add(Ye);
@@ -78333,9 +78334,9 @@ function parse($, I, U) {
78333
78334
  throw ce(be, "name");
78334
78335
  var ye = util.lcFirst(be);
78335
78336
  be === ye && (be = util.ucFirst(be)), Z("=");
78336
- var Me = ge(K()), Ye = new Type(be);
78337
+ var Le = ge(K()), Ye = new Type(be);
78337
78338
  Ye.group = !0;
78338
- var ct = new Field(ye, Me, be, Te);
78339
+ var ct = new Field(ye, Le, be, Te);
78339
78340
  ct.filename = parse.filename, xe(Ye, function(wt) {
78340
78341
  switch (wt) {
78341
78342
  case "option":
@@ -78373,38 +78374,38 @@ function parse($, I, U) {
78373
78374
  if (!nameRe.test(ye))
78374
78375
  throw ce(ye, "name");
78375
78376
  Z("=");
78376
- var Me = new MapField(le(ye), ge(K()), Te, be);
78377
- xe(Me, function(ct) {
78377
+ var Le = new MapField(le(ye), ge(K()), Te, be);
78378
+ xe(Le, function(ct) {
78378
78379
  if (ct === "option")
78379
- ht(Me, ct), Z(";");
78380
+ ht(Le, ct), Z(";");
78380
78381
  else
78381
78382
  throw ce(ct);
78382
78383
  }, function() {
78383
- nt(Me);
78384
- }), Re.add(Me);
78384
+ nt(Le);
78385
+ }), Re.add(Le);
78385
78386
  }
78386
78387
  function st(Re, Te) {
78387
78388
  if (!nameRe.test(Te = K()))
78388
78389
  throw ce(Te, "name");
78389
78390
  var be = new OneOf(le(Te));
78390
- xe(be, function(Me) {
78391
- Me === "option" ? (ht(be, Me), Z(";")) : (Y(Me), je(be, "optional"));
78391
+ xe(be, function(Le) {
78392
+ Le === "option" ? (ht(be, Le), Z(";")) : (Y(Le), je(be, "optional"));
78392
78393
  }), Re.add(be);
78393
78394
  }
78394
78395
  function lt(Re, Te) {
78395
78396
  if (!nameRe.test(Te = K()))
78396
78397
  throw ce(Te, "name");
78397
78398
  var be = new Enum(Te);
78398
- xe(be, function(Me) {
78399
- switch (Me) {
78399
+ xe(be, function(Le) {
78400
+ switch (Le) {
78400
78401
  case "option":
78401
- ht(be, Me), Z(";");
78402
+ ht(be, Le), Z(";");
78402
78403
  break;
78403
78404
  case "reserved":
78404
78405
  ve(be.reserved || (be.reserved = []), !0);
78405
78406
  break;
78406
78407
  default:
78407
- at(be, Me);
78408
+ at(be, Le);
78408
78409
  }
78409
78410
  }), Re.add(be);
78410
78411
  }
@@ -78415,8 +78416,8 @@ function parse($, I, U) {
78415
78416
  var be = ge(K(), !0), ye = {
78416
78417
  options: void 0
78417
78418
  };
78418
- ye.setOption = function(Me, Ye) {
78419
- this.options === void 0 && (this.options = {}), this.options[Me] = Ye;
78419
+ ye.setOption = function(Le, Ye) {
78420
+ this.options === void 0 && (this.options = {}), this.options[Le] = Ye;
78420
78421
  }, xe(ye, function(Ye) {
78421
78422
  if (Ye === "option")
78422
78423
  ht(ye, Ye), Z(";");
@@ -78430,17 +78431,17 @@ function parse($, I, U) {
78430
78431
  var be = Z("(", !0);
78431
78432
  if (!typeRefRe.test(Te = K()))
78432
78433
  throw ce(Te, "name");
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("=");
78434
+ var ye = Te, Le = ye, Ye;
78435
+ be && (Z(")"), ye = "(" + ye + ")", Le = ye, Te = J(), fqTypeRefRe.test(Te) && (Ye = Te.slice(1), ye += Te, K())), Z("=");
78435
78436
  var ct = tt(Re, ye);
78436
- qe(Re, Me, ct, Ye);
78437
+ qe(Re, Le, ct, Ye);
78437
78438
  }
78438
78439
  function tt(Re, Te) {
78439
78440
  if (Z("{", !0)) {
78440
78441
  for (var be = {}; !Z("}", !0); ) {
78441
78442
  if (!nameRe.test(Ie = K()))
78442
78443
  throw ce(Ie, "name");
78443
- var ye, Me = Ie;
78444
+ var ye, Le = Ie;
78444
78445
  if (Z(":", !0), J() === "{")
78445
78446
  ye = tt(Re, Te + "." + Ie);
78446
78447
  else if (J() === "[") {
@@ -78454,8 +78455,8 @@ function parse($, I, U) {
78454
78455
  }
78455
78456
  } else
78456
78457
  ye = he(!0), ze(Re, Te + "." + Ie, ye);
78457
- var ct = be[Me];
78458
- ct && (ye = [].concat(ct).concat(ye)), be[Me] = ye, Z(",", !0), Z(";", !0);
78458
+ var ct = be[Le];
78459
+ ct && (ye = [].concat(ct).concat(ye)), be[Le] = ye, Z(",", !0), Z(";", !0);
78459
78460
  }
78460
78461
  return be;
78461
78462
  }
@@ -78481,23 +78482,23 @@ function parse($, I, U) {
78481
78482
  if (!nameRe.test(Te = K()))
78482
78483
  throw ce(Te, "service name");
78483
78484
  var be = new Service(Te);
78484
- xe(be, function(Me) {
78485
- if (!Ee(be, Me))
78486
- if (Me === "rpc")
78487
- Ue(be, Me);
78485
+ xe(be, function(Le) {
78486
+ if (!Ee(be, Le))
78487
+ if (Le === "rpc")
78488
+ Ue(be, Le);
78488
78489
  else
78489
- throw ce(Me);
78490
+ throw ce(Le);
78490
78491
  }), Re.add(be);
78491
78492
  }
78492
78493
  function Ue(Re, Te) {
78493
78494
  var be = Q(), ye = Te;
78494
78495
  if (!nameRe.test(Te = K()))
78495
78496
  throw ce(Te, "name");
78496
- var Me = Te, Ye, ct, ut, wt;
78497
+ var Le = Te, Ye, ct, ut, wt;
78497
78498
  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())))
78498
78499
  throw ce(Te);
78499
78500
  ut = Te, Z(")");
78500
- var St = new Method(Me, ye, Ye, ut, ct, wt);
78501
+ var St = new Method(Le, ye, Ye, ut, ct, wt);
78501
78502
  St.comment = be, xe(St, function(Ut) {
78502
78503
  if (Ut === "option")
78503
78504
  ht(St, Ut), Z(";");
@@ -78509,19 +78510,19 @@ function parse($, I, U) {
78509
78510
  if (!typeRefRe.test(Te = K()))
78510
78511
  throw ce(Te, "reference");
78511
78512
  var be = Te;
78512
- xe(null, function(Me) {
78513
- switch (Me) {
78513
+ xe(null, function(Le) {
78514
+ switch (Le) {
78514
78515
  case "required":
78515
78516
  case "repeated":
78516
- je(Re, Me, be);
78517
+ je(Re, Le, be);
78517
78518
  break;
78518
78519
  case "optional":
78519
78520
  se ? je(Re, "proto3_optional", be) : je(Re, "optional", be);
78520
78521
  break;
78521
78522
  default:
78522
- if (!se || !typeRefRe.test(Me))
78523
- throw ce(Me);
78524
- Y(Me), je(Re, "optional", be);
78523
+ if (!se || !typeRefRe.test(Le))
78524
+ throw ce(Le);
78525
+ Y(Le), je(Re, "optional", be);
78525
78526
  break;
78526
78527
  }
78527
78528
  });
@@ -79276,7 +79277,7 @@ dist$1.addValue = memory_1.addValue;
79276
79277
  var helpers_1 = helpers;
79277
79278
  dist$1.trimUndefined = helpers_1.trimUndefined;
79278
79279
  dist$1.trimUndefinedRecursively = helpers_1.trimUndefinedRecursively;
79279
- var __dxlog_file3$4 = "/home/runner/work/dxos/dxos/packages/common/codec-protobuf/src/stream.ts", Stream$1 = class dr {
79280
+ var __dxlog_file3$3 = "/home/runner/work/dxos/dxos/packages/common/codec-protobuf/src/stream.ts", Stream$1 = class dr {
79280
79281
  constructor(I) {
79281
79282
  this._messageHandler = void 0, this._closeHandler = void 0, this._readyHandler = void 0, this._isClosed = !1, this._closeError = void 0, this._producerCleanup = void 0, this._isReady = !1, this._buffer = [], this._readyPromise = new Promise((U) => {
79282
79283
  this._resolveReadyPromise = U;
@@ -79295,7 +79296,7 @@ var __dxlog_file3$4 = "/home/runner/work/dxos/dxos/packages/common/codec-protobu
79295
79296
  next: (q) => {
79296
79297
  if (this._isClosed) {
79297
79298
  log$2("Stream is closed, dropping message.", void 0, {
79298
- F: __dxlog_file3$4,
79299
+ F: __dxlog_file3$3,
79299
79300
  L: 207,
79300
79301
  S: this,
79301
79302
  C: (G, K) => G(...K)
@@ -79310,7 +79311,7 @@ var __dxlog_file3$4 = "/home/runner/work/dxos/dxos/packages/common/codec-protobu
79310
79311
  }
79311
79312
  else
79312
79313
  invariant(this._buffer, void 0, {
79313
- F: __dxlog_file3$4,
79314
+ F: __dxlog_file3$3,
79314
79315
  L: 221,
79315
79316
  S: this,
79316
79317
  A: [
@@ -79412,7 +79413,7 @@ var __dxlog_file3$4 = "/home/runner/work/dxos/dxos/packages/common/codec-protobu
79412
79413
  // TODO(burdon): Can this be cancelled?
79413
79414
  subscribe(I, U) {
79414
79415
  invariant(!this._messageHandler, "Stream is already subscribed to.", {
79415
- F: __dxlog_file3$4,
79416
+ F: __dxlog_file3$3,
79416
79417
  L: 262,
79417
79418
  S: this,
79418
79419
  A: [
@@ -79420,7 +79421,7 @@ var __dxlog_file3$4 = "/home/runner/work/dxos/dxos/packages/common/codec-protobu
79420
79421
  "'Stream is already subscribed to.'"
79421
79422
  ]
79422
79423
  }), invariant(!this._closeHandler, "Stream is already subscribed to.", {
79423
- F: __dxlog_file3$4,
79424
+ F: __dxlog_file3$3,
79424
79425
  L: 263,
79425
79426
  S: this,
79426
79427
  A: [
@@ -79428,7 +79429,7 @@ var __dxlog_file3$4 = "/home/runner/work/dxos/dxos/packages/common/codec-protobu
79428
79429
  "'Stream is already subscribed to.'"
79429
79430
  ]
79430
79431
  }), invariant(this._buffer, void 0, {
79431
- F: __dxlog_file3$4,
79432
+ F: __dxlog_file3$3,
79432
79433
  L: 264,
79433
79434
  S: this,
79434
79435
  A: [
@@ -79460,7 +79461,7 @@ var __dxlog_file3$4 = "/home/runner/work/dxos/dxos/packages/common/codec-protobu
79460
79461
  */
79461
79462
  onReady(I) {
79462
79463
  invariant(!this._readyHandler, "Stream already has a handler for the ready event.", {
79463
- F: __dxlog_file3$4,
79464
+ F: __dxlog_file3$3,
79464
79465
  L: 299,
79465
79466
  S: this,
79466
79467
  A: [
@@ -79937,7 +79938,7 @@ lodash_ismatch.exports;
79937
79938
  Nt[yt] = et(yt);
79938
79939
  return Nt;
79939
79940
  }
79940
- function Me(Fe) {
79941
+ function Le(Fe) {
79941
79942
  return function(et) {
79942
79943
  return Fe(et);
79943
79944
  };
@@ -80059,10 +80060,10 @@ lodash_ismatch.exports;
80059
80060
  function Bt(Fe) {
80060
80061
  return Je(this, Fe).has(Fe);
80061
80062
  }
80062
- function Mt(Fe, et) {
80063
+ function Lt(Fe, et) {
80063
80064
  return Je(this, Fe).set(Fe, et), this;
80064
80065
  }
80065
- ot.prototype.clear = dt, ot.prototype.delete = Et, ot.prototype.get = Rt, ot.prototype.has = Bt, ot.prototype.set = Mt;
80066
+ ot.prototype.clear = dt, ot.prototype.delete = Et, ot.prototype.get = Rt, ot.prototype.has = Bt, ot.prototype.set = Lt;
80066
80067
  function Ot(Fe) {
80067
80068
  var et = -1, yt = Fe ? Fe.length : 0;
80068
80069
  for (this.__data__ = new ot(); ++et < yt; )
@@ -80117,7 +80118,7 @@ lodash_ismatch.exports;
80117
80118
  return zt.call(Fe);
80118
80119
  }
80119
80120
  function Xn(Fe, et, yt, Nt, nn) {
80120
- return Fe === et ? !0 : Fe == null || et == null || !Wn(Fe) && !Ln(et) ? Fe !== Fe && et !== et : nr(Fe, et, Xn, yt, Nt, nn);
80121
+ return Fe === et ? !0 : Fe == null || et == null || !Wn(Fe) && !Mn(et) ? Fe !== Fe && et !== et : nr(Fe, et, Xn, yt, Nt, nn);
80121
80122
  }
80122
80123
  function nr(Fe, et, yt, Nt, nn, qt) {
80123
80124
  var pn = fn(Fe), an = fn(et), en = Z, hn = Z;
@@ -80128,8 +80129,8 @@ lodash_ismatch.exports;
80128
80129
  if (!(nn & K)) {
80129
80130
  var In = yn && Ct.call(Fe, "__wrapped__"), Cn = kn && Ct.call(et, "__wrapped__");
80130
80131
  if (In || Cn) {
80131
- var Mn = In ? Fe.value() : Fe, Dn = Cn ? et.value() : et;
80132
- return qt || (qt = new Yt()), yt(Mn, Dn, Nt, nn, qt);
80132
+ var Ln = In ? Fe.value() : Fe, Dn = Cn ? et.value() : et;
80133
+ return qt || (qt = new Yt()), yt(Ln, Dn, Nt, nn, qt);
80133
80134
  }
80134
80135
  }
80135
80136
  return gn ? (qt || (qt = new Yt()), Oe(Fe, et, yt, Nt, nn, qt)) : !1;
@@ -80166,7 +80167,7 @@ lodash_ismatch.exports;
80166
80167
  return et.test(Wt(Fe));
80167
80168
  }
80168
80169
  function ir(Fe) {
80169
- return Ln(Fe) && Zn(Fe.length) && !!tt[zt.call(Fe)];
80170
+ return Mn(Fe) && Zn(Fe.length) && !!tt[zt.call(Fe)];
80170
80171
  }
80171
80172
  function tr(Fe) {
80172
80173
  if (!kt(Fe))
@@ -80187,9 +80188,9 @@ lodash_ismatch.exports;
80187
80188
  for (qt.set(Fe, et), qt.set(et, Fe); ++yn < an; ) {
80188
80189
  var In = Fe[yn], Cn = et[yn];
80189
80190
  if (Nt)
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)
80191
+ var Ln = pn ? Nt(Cn, In, yn, et, Fe, qt) : Nt(In, Cn, yn, Fe, et, qt);
80192
+ if (Ln !== void 0) {
80193
+ if (Ln)
80193
80194
  continue;
80194
80195
  kn = !1;
80195
80196
  break;
@@ -80258,7 +80259,7 @@ lodash_ismatch.exports;
80258
80259
  return In == et;
80259
80260
  var Cn = !0;
80260
80261
  qt.set(Fe, et), qt.set(et, Fe);
80261
- for (var Mn = pn; ++kn < en; ) {
80262
+ for (var Ln = pn; ++kn < en; ) {
80262
80263
  gn = an[kn];
80263
80264
  var Dn = Fe[gn], Pe = et[gn];
80264
80265
  if (Nt)
@@ -80267,11 +80268,11 @@ lodash_ismatch.exports;
80267
80268
  Cn = !1;
80268
80269
  break;
80269
80270
  }
80270
- Mn || (Mn = gn == "constructor");
80271
+ Ln || (Ln = gn == "constructor");
80271
80272
  }
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);
80273
+ if (Cn && !Ln) {
80274
+ var we = Fe.constructor, Me = et.constructor;
80275
+ we != Me && "constructor" in Fe && "constructor" in et && !(typeof we == "function" && we instanceof we && typeof Me == "function" && Me instanceof Me) && (Cn = !1);
80275
80276
  }
80276
80277
  return qt.delete(Fe), qt.delete(et), Cn;
80277
80278
  }
@@ -80282,7 +80283,7 @@ lodash_ismatch.exports;
80282
80283
  function Qe(Fe) {
80283
80284
  for (var et = qn(Fe), yt = et.length; yt--; ) {
80284
80285
  var Nt = et[yt], nn = Fe[Nt];
80285
- et[yt] = [Nt, nn, Lt(nn)];
80286
+ et[yt] = [Nt, nn, Mt(nn)];
80286
80287
  }
80287
80288
  return et;
80288
80289
  }
@@ -80322,7 +80323,7 @@ lodash_ismatch.exports;
80322
80323
  var et = Fe && Fe.constructor, yt = typeof et == "function" && et.prototype || Kt;
80323
80324
  return Fe === yt;
80324
80325
  }
80325
- function Lt(Fe) {
80326
+ function Mt(Fe) {
80326
80327
  return Fe === Fe && !Wn(Fe);
80327
80328
  }
80328
80329
  function Wt(Fe) {
@@ -80349,7 +80350,7 @@ lodash_ismatch.exports;
80349
80350
  return Fe != null && Zn(Fe.length) && !Hn(Fe);
80350
80351
  }
80351
80352
  function wn(Fe) {
80352
- return Ln(Fe) && cn(Fe);
80353
+ return Mn(Fe) && cn(Fe);
80353
80354
  }
80354
80355
  function Hn(Fe) {
80355
80356
  var et = Wn(Fe) ? zt.call(Fe) : "";
@@ -80362,13 +80363,13 @@ lodash_ismatch.exports;
80362
80363
  var et = typeof Fe;
80363
80364
  return !!Fe && (et == "object" || et == "function");
80364
80365
  }
80365
- function Ln(Fe) {
80366
+ function Mn(Fe) {
80366
80367
  return !!Fe && typeof Fe == "object";
80367
80368
  }
80368
80369
  function sr(Fe, et) {
80369
80370
  return Fe === et || rr(Fe, et, Qe(et));
80370
80371
  }
80371
- var ar = Te ? Me(Te) : ir;
80372
+ var ar = Te ? Le(Te) : ir;
80372
80373
  function qn(Fe) {
80373
80374
  return cn(Fe) ? jn(Fe) : tr(Fe);
80374
80375
  }
@@ -81066,8 +81067,8 @@ var localforage = { exports: {} };
81066
81067
  return Oe.db = kt, Ge(Oe, Ve._defaultConfig.version) ? je(Oe) : kt;
81067
81068
  }).then(function(kt) {
81068
81069
  Oe.db = Qe.db = kt, Ve._dbInfo = Oe;
81069
- for (var Lt = 0; Lt < bt.length; Lt++) {
81070
- var Wt = bt[Lt];
81070
+ for (var Mt = 0; Mt < bt.length; Mt++) {
81071
+ var Wt = bt[Mt];
81071
81072
  Wt !== Ve && (Wt._dbInfo.db = Oe.db, Wt._dbInfo.version = Oe.version);
81072
81073
  }
81073
81074
  });
@@ -81105,19 +81106,19 @@ var localforage = { exports: {} };
81105
81106
  try {
81106
81107
  var gt = pt.objectStore(Oe._dbInfo.storeName), bt = gt.openCursor(), kt = 1;
81107
81108
  bt.onsuccess = function() {
81108
- var Lt = bt.result;
81109
- if (Lt) {
81110
- var Wt = Lt.value;
81109
+ var Mt = bt.result;
81110
+ if (Mt) {
81111
+ var Wt = Mt.value;
81111
81112
  lt(Wt) && (Wt = st(Wt));
81112
- var Jt = Ae(Wt, Lt.key, kt++);
81113
- Jt !== void 0 ? Qe(Jt) : Lt.continue();
81113
+ var Jt = Ae(Wt, Mt.key, kt++);
81114
+ Jt !== void 0 ? Qe(Jt) : Mt.continue();
81114
81115
  } else
81115
81116
  Qe();
81116
81117
  }, bt.onerror = function() {
81117
81118
  Ke(bt.error);
81118
81119
  };
81119
- } catch (Lt) {
81120
- Ke(Lt);
81120
+ } catch (Mt) {
81121
+ Ke(Mt);
81121
81122
  }
81122
81123
  });
81123
81124
  }).catch(Ke);
@@ -81138,9 +81139,9 @@ var localforage = { exports: {} };
81138
81139
  if (bt)
81139
81140
  return ft(bt);
81140
81141
  try {
81141
- var Lt = kt.objectStore(Je._dbInfo.storeName);
81142
+ var Mt = kt.objectStore(Je._dbInfo.storeName);
81142
81143
  gt === null && (gt = void 0);
81143
- var Wt = Lt.put(gt, Ae);
81144
+ var Wt = Mt.put(gt, Ae);
81144
81145
  kt.oncomplete = function() {
81145
81146
  gt === void 0 && (gt = null), Ke(gt);
81146
81147
  }, kt.onabort = kt.onerror = function() {
@@ -81237,17 +81238,17 @@ var localforage = { exports: {} };
81237
81238
  try {
81238
81239
  var gt = pt.objectStore(Oe._dbInfo.storeName), bt = !1, kt = gt.openKeyCursor();
81239
81240
  kt.onsuccess = function() {
81240
- var Lt = kt.result;
81241
- if (!Lt) {
81241
+ var Mt = kt.result;
81242
+ if (!Mt) {
81242
81243
  Qe(null);
81243
81244
  return;
81244
81245
  }
81245
- Ae === 0 || bt ? Qe(Lt.key) : (bt = !0, Lt.advance(Ae));
81246
+ Ae === 0 || bt ? Qe(Mt.key) : (bt = !0, Mt.advance(Ae));
81246
81247
  }, kt.onerror = function() {
81247
81248
  Ke(kt.error);
81248
81249
  };
81249
- } catch (Lt) {
81250
- Ke(Lt);
81250
+ } catch (Mt) {
81251
+ Ke(Mt);
81251
81252
  }
81252
81253
  });
81253
81254
  }).catch(Ke);
@@ -81301,8 +81302,8 @@ var localforage = { exports: {} };
81301
81302
  $e(Ae);
81302
81303
  var bt = ce[Ae.name], kt = bt.forages;
81303
81304
  pt.close();
81304
- for (var Lt = 0; Lt < kt.length; Lt++) {
81305
- var Wt = kt[Lt];
81305
+ for (var Mt = 0; Mt < kt.length; Mt++) {
81306
+ var Wt = kt[Mt];
81306
81307
  Wt._dbInfo.db = null, Wt._dbInfo.version = gt;
81307
81308
  }
81308
81309
  var Jt = new te(function(tn, fn) {
@@ -81334,8 +81335,8 @@ var localforage = { exports: {} };
81334
81335
  var gt = ce[Ae.name], bt = gt.forages;
81335
81336
  pt.close();
81336
81337
  for (var kt = 0; kt < bt.length; kt++) {
81337
- var Lt = bt[kt];
81338
- Lt._dbInfo.db = null;
81338
+ var Mt = bt[kt];
81339
+ Mt._dbInfo.db = null;
81339
81340
  }
81340
81341
  var Wt = new te(function(Jt, tn) {
81341
81342
  var fn = Z.deleteDatabase(Ae.name);
@@ -81363,7 +81364,7 @@ var localforage = { exports: {} };
81363
81364
  }
81364
81365
  return ne(Qe, Ve), Qe;
81365
81366
  }
81366
- var Me = {
81367
+ var Le = {
81367
81368
  _driver: "asyncStorage",
81368
81369
  _initStorage: qe,
81369
81370
  _support: Q(),
@@ -81514,7 +81515,7 @@ var localforage = { exports: {} };
81514
81515
  var ft = Oe._dbInfo;
81515
81516
  ft.db.transaction(function(pt) {
81516
81517
  bn(pt, ft, "SELECT * FROM " + ft.storeName, [], function(gt, bt) {
81517
- for (var kt = bt.rows, Lt = kt.length, Wt = 0; Wt < Lt; Wt++) {
81518
+ for (var kt = bt.rows, Mt = kt.length, Wt = 0; Wt < Mt; Wt++) {
81518
81519
  var Jt = kt.item(Wt), tn = Jt.value;
81519
81520
  if (tn && (tn = ft.serializer.deserialize(tn)), tn = Ae(tn, Jt.key, Wt + 1), tn !== void 0) {
81520
81521
  Qe(tn);
@@ -81537,8 +81538,8 @@ var localforage = { exports: {} };
81537
81538
  Qe.ready().then(function() {
81538
81539
  Ve === void 0 && (Ve = null);
81539
81540
  var gt = Ve, bt = Qe._dbInfo;
81540
- bt.serializer.serialize(Ve, function(kt, Lt) {
81541
- Lt ? pt(Lt) : bt.db.transaction(function(Wt) {
81541
+ bt.serializer.serialize(Ve, function(kt, Mt) {
81542
+ Mt ? pt(Mt) : bt.db.transaction(function(Wt) {
81542
81543
  bn(Wt, bt, "INSERT OR REPLACE INTO " + bt.storeName + " (key, value) VALUES (?, ?)", [Ae, kt], function() {
81543
81544
  ft(gt);
81544
81545
  }, function(Jt, tn) {
@@ -81683,8 +81684,8 @@ var localforage = { exports: {} };
81683
81684
  });
81684
81685
  });
81685
81686
  }
81686
- for (var kt = [], Lt = 0, Wt = Ke.storeNames.length; Lt < Wt; Lt++)
81687
- kt.push(bt(Ke.storeNames[Lt]));
81687
+ for (var kt = [], Mt = 0, Wt = Ke.storeNames.length; Mt < Wt; Mt++)
81688
+ kt.push(bt(Ke.storeNames[Mt]));
81688
81689
  te.all(kt).then(function() {
81689
81690
  ft();
81690
81691
  }).catch(function(Jt) {
@@ -81763,9 +81764,9 @@ var localforage = { exports: {} };
81763
81764
  for (var Qe = Oe._dbInfo, Ke = Qe.keyPrefix, ft = Ke.length, pt = localStorage.length, gt = 1, bt = 0; bt < pt; bt++) {
81764
81765
  var kt = localStorage.key(bt);
81765
81766
  if (kt.indexOf(Ke) === 0) {
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;
81767
+ var Mt = localStorage.getItem(kt);
81768
+ if (Mt && (Mt = Qe.serializer.deserialize(Mt)), Mt = Ae(Mt, kt.substring(ft), gt++), Mt !== void 0)
81769
+ return Mt;
81769
81770
  }
81770
81771
  }
81771
81772
  });
@@ -81793,7 +81794,7 @@ var localforage = { exports: {} };
81793
81794
  });
81794
81795
  return ne(Oe, Ae), Oe;
81795
81796
  }
81796
- function Mt(Ae) {
81797
+ function Lt(Ae) {
81797
81798
  var Ve = this, Oe = Ve.keys().then(function(Je) {
81798
81799
  return Je.length;
81799
81800
  });
@@ -81822,8 +81823,8 @@ var localforage = { exports: {} };
81822
81823
  else
81823
81824
  try {
81824
81825
  localStorage.setItem(gt.keyPrefix + Ae, bt), ft(Ke);
81825
- } catch (Lt) {
81826
- (Lt.name === "QuotaExceededError" || Lt.name === "NS_ERROR_DOM_QUOTA_REACHED") && pt(Lt), pt(Lt);
81826
+ } catch (Mt) {
81827
+ (Mt.name === "QuotaExceededError" || Mt.name === "NS_ERROR_DOM_QUOTA_REACHED") && pt(Mt), pt(Mt);
81827
81828
  }
81828
81829
  });
81829
81830
  });
@@ -81854,7 +81855,7 @@ var localforage = { exports: {} };
81854
81855
  setItem: Zt,
81855
81856
  removeItem: Ot,
81856
81857
  clear: ot,
81857
- length: Mt,
81858
+ length: Lt,
81858
81859
  key: Rt,
81859
81860
  keys: Bt,
81860
81861
  dropInstance: Qt
@@ -81870,7 +81871,7 @@ var localforage = { exports: {} };
81870
81871
  }, Yn = Array.isArray || function(Ae) {
81871
81872
  return Object.prototype.toString.call(Ae) === "[object Array]";
81872
81873
  }, dn = {}, Bn = {}, jn = {
81873
- INDEXEDDB: Me,
81874
+ INDEXEDDB: Le,
81874
81875
  WEBSQL: _n,
81875
81876
  LOCALSTORAGE: Yt
81876
81877
  }, An = [jn.INDEXEDDB._driver, jn.WEBSQL._driver, jn.LOCALSTORAGE._driver], Un = ["dropInstance"], Xn = ["clear", "getItem", "iterate", "key", "keys", "length", "removeItem", "setItem"].concat(Un), nr = {
@@ -81931,8 +81932,8 @@ var localforage = { exports: {} };
81931
81932
  pt(bt);
81932
81933
  return;
81933
81934
  }
81934
- for (var kt = Xn.concat("_initStorage"), Lt = 0, Wt = kt.length; Lt < Wt; Lt++) {
81935
- var Jt = kt[Lt], tn = !xn(Un, Jt);
81935
+ for (var kt = Xn.concat("_initStorage"), Mt = 0, Wt = kt.length; Mt < Wt; Mt++) {
81936
+ var Jt = kt[Mt], tn = !xn(Un, Jt);
81936
81937
  if ((tn || Oe[Jt]) && typeof Oe[Jt] != "function") {
81937
81938
  pt(bt);
81938
81939
  return;
@@ -81945,8 +81946,8 @@ var localforage = { exports: {} };
81945
81946
  return ne(Fe, arguments[arguments.length - 1]), Fe;
81946
81947
  };
81947
81948
  }, Zn = 0, Wn = Un.length; Zn < Wn; Zn++) {
81948
- var Ln = Un[Zn];
81949
- Oe[Ln] || (Oe[Ln] = Hn(Ln));
81949
+ var Mn = Un[Zn];
81950
+ Oe[Mn] || (Oe[Mn] = Hn(Mn));
81950
81951
  }
81951
81952
  };
81952
81953
  fn();
@@ -81979,15 +81980,15 @@ var localforage = { exports: {} };
81979
81980
  function pt() {
81980
81981
  Ke._config.driver = Ke.driver();
81981
81982
  }
81982
- function gt(Lt) {
81983
- return Ke._extend(Lt), pt(), Ke._ready = Ke._initStorage(Ke._config), Ke._ready;
81983
+ function gt(Mt) {
81984
+ return Ke._extend(Mt), pt(), Ke._ready = Ke._initStorage(Ke._config), Ke._ready;
81984
81985
  }
81985
- function bt(Lt) {
81986
+ function bt(Mt) {
81986
81987
  return function() {
81987
81988
  var Wt = 0;
81988
81989
  function Jt() {
81989
- for (; Wt < Lt.length; ) {
81990
- var tn = Lt[Wt];
81990
+ for (; Wt < Mt.length; ) {
81991
+ var tn = Mt[Wt];
81991
81992
  return Wt++, Ke._dbInfo = null, Ke._ready = null, Ke.getDriver(tn).then(gt).catch(Jt);
81992
81993
  }
81993
81994
  pt();
@@ -82001,14 +82002,14 @@ var localforage = { exports: {} };
82001
82002
  return te.resolve();
82002
82003
  }) : te.resolve();
82003
82004
  return this._driverSet = kt.then(function() {
82004
- var Lt = ft[0];
82005
- return Ke._dbInfo = null, Ke._ready = null, Ke.getDriver(Lt).then(function(Wt) {
82005
+ var Mt = ft[0];
82006
+ return Ke._dbInfo = null, Ke._ready = null, Ke.getDriver(Mt).then(function(Wt) {
82006
82007
  Ke._driver = Wt._driver, pt(), Ke._wrapLibraryMethodsWithReady(), Ke._initDriver = bt(ft);
82007
82008
  });
82008
82009
  }).catch(function() {
82009
82010
  pt();
82010
- var Lt = new Error("No available storage method found.");
82011
- return Ke._driverSet = te.reject(Lt), Ke._driverSet;
82011
+ var Mt = new Error("No available storage method found.");
82012
+ return Ke._driverSet = te.reject(Mt), Ke._driverSet;
82012
82013
  }), re(this._driverSet, Je, Qe), this._driverSet;
82013
82014
  }, Ae.prototype.supports = function(Oe) {
82014
82015
  return !!Bn[Oe];
@@ -82115,7 +82116,7 @@ var SignalState;
82115
82116
  var ws = null;
82116
82117
  typeof WebSocket < "u" ? ws = WebSocket : typeof MozWebSocket < "u" ? ws = MozWebSocket : typeof commonjsGlobal < "u" ? ws = commonjsGlobal.WebSocket || commonjsGlobal.MozWebSocket : typeof window < "u" ? ws = window.WebSocket || window.MozWebSocket : typeof self < "u" && (ws = self.WebSocket || self.MozWebSocket);
82117
82118
  var browser$3 = ws;
82118
- const WebSocket2 = /* @__PURE__ */ getDefaultExportFromCjs(browser$3);
82119
+ const WebSocket3 = /* @__PURE__ */ getDefaultExportFromCjs(browser$3);
82119
82120
  var MessageTrace;
82120
82121
  (function($) {
82121
82122
  (function(I) {
@@ -82799,7 +82800,7 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
82799
82800
  L: 55,
82800
82801
  S: this,
82801
82802
  C: (q, G) => q(...G)
82802
- }), this._url = $, this._callbacks = I, this._socket = new WebSocket2(this._url), this._rpc = createProtoRpcPeer({
82803
+ }), this._url = $, this._callbacks = I, this._socket = new WebSocket3(this._url), this._rpc = createProtoRpcPeer({
82803
82804
  requested: {
82804
82805
  Signal: schema.getService("dxos.mesh.signal.Signal")
82805
82806
  },
@@ -82886,7 +82887,7 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
82886
82887
  var $, I, U, q;
82887
82888
  await (($ = this._keepaliveCtx) == null ? void 0 : $.dispose()), this._closed = !0;
82888
82889
  try {
82889
- await ((I = this._rpc) == null ? void 0 : I.close()), (((U = this._socket) == null ? void 0 : U.readyState) === WebSocket2.OPEN || ((q = this._socket) == null ? void 0 : q.readyState) === WebSocket2.CONNECTING) && this._socket.close(), await this._closeComplete.wait({
82890
+ await ((I = this._rpc) == null ? void 0 : I.close()), (((U = this._socket) == null ? void 0 : U.readyState) === WebSocket3.OPEN || ((q = this._socket) == null ? void 0 : q.readyState) === WebSocket3.CONNECTING) && this._socket.close(), await this._closeComplete.wait({
82890
82891
  timeout: 1e3
82891
82892
  });
82892
82893
  } catch (G) {
@@ -82996,10 +82997,9 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
82996
82997
  metadata: (G = (q = this._callbacks) == null ? void 0 : q.getMetadata) == null ? void 0 : G.call(q)
82997
82998
  });
82998
82999
  }
82999
- }, __dxlog_file3$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/src/signal-client/signal-client.ts", DEFAULT_RECONNECT_TIMEOUT = 100, MAX_RECONNECT_TIMEOUT = 5e3, ERROR_RECONCILE_DELAY = 1e3, RECONCILE_INTERVAL = 5e3, SignalClient = class {
83000
+ }, __dxlog_file3$2 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/src/signal-client/signal-client.ts", DEFAULT_RECONNECT_TIMEOUT = 100, MAX_RECONNECT_TIMEOUT = 5e3, ERROR_RECONCILE_DELAY = 1e3, RECONCILE_INTERVAL = 5e3, SignalClient = class {
83000
83001
  /**
83001
83002
  * @param _host Signal server websocket URL.
83002
- * @param _onMessage
83003
83003
  */
83004
83004
  constructor($, I, U, q) {
83005
83005
  if (this._host = $, this._onMessage = I, this._onSwarmEvent = U, this._getMetadata = q, this._state = SignalState.CLOSED, this._reconnectAfter = DEFAULT_RECONNECT_TIMEOUT, this._connectionStarted = /* @__PURE__ */ new Date(), this._lastStateChange = /* @__PURE__ */ new Date(), this._clientReady = new Trigger(), this.statusChanged = new Event$1(), this.commandTrace = new Event$1(), this._swarmStreams = new ComplexMap(({ topic: G, peerId: K }) => G.toHex() + K.toHex()), this._joinedTopics = new ComplexSet(({ topic: G, peerId: K }) => G.toHex() + K.toHex()), this._messageStreams = new ComplexMap((G) => G.toHex()), this._subscribedMessages = new ComplexSet(({ peerId: G }) => G.toHex()), this._reconciled = new Event$1(), this._instanceId = PublicKey.random().toHex(), this._performance = {
@@ -83011,12 +83011,12 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
83011
83011
  }, !this._host.startsWith("wss://") && !this._host.startsWith("ws://"))
83012
83012
  throw new Error(`Signal server requires a websocket URL. Provided: ${this._host}`);
83013
83013
  }
83014
- open() {
83014
+ async open() {
83015
83015
  log$2.trace("dxos.mesh.signal-client.open", trace$1.begin({
83016
83016
  id: this._instanceId
83017
83017
  }), {
83018
- F: __dxlog_file3$3,
83019
- L: 136,
83018
+ F: __dxlog_file3$2,
83019
+ L: 128,
83020
83020
  S: this,
83021
83021
  C: ($, I) => $(...I)
83022
83022
  }), ![
@@ -83026,8 +83026,8 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
83026
83026
  onError: ($) => {
83027
83027
  var I;
83028
83028
  this._state === SignalState.CLOSED || (I = this._ctx) != null && I.disposed || (this._state === SignalState.CONNECTED && log$2.warn("SignalClient error:", $, {
83029
- F: __dxlog_file3$3,
83030
- L: 148,
83029
+ F: __dxlog_file3$2,
83030
+ L: 140,
83031
83031
  S: this,
83032
83032
  C: (U, q) => U(...q)
83033
83033
  }), this._scheduleReconcileAfterError());
@@ -83041,8 +83041,8 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
83041
83041
  }), this._setState(SignalState.CONNECTING), this._createClient(), log$2.trace("dxos.mesh.signal-client.open", trace$1.end({
83042
83042
  id: this._instanceId
83043
83043
  }), {
83044
- F: __dxlog_file3$3,
83045
- L: 177,
83044
+ F: __dxlog_file3$2,
83045
+ L: 169,
83046
83046
  S: this,
83047
83047
  C: ($, I) => $(...I)
83048
83048
  }));
@@ -83050,15 +83050,15 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
83050
83050
  async close() {
83051
83051
  var $, I;
83052
83052
  log$2("closing...", void 0, {
83053
- F: __dxlog_file3$3,
83054
- L: 181,
83053
+ F: __dxlog_file3$2,
83054
+ L: 173,
83055
83055
  S: this,
83056
83056
  C: (U, q) => U(...q)
83057
83057
  }), ![
83058
83058
  SignalState.CLOSED
83059
83059
  ].includes(this._state) && (await (($ = this._ctx) == null ? void 0 : $.dispose()), this._clientReady.reset(), await ((I = this._client) == null ? void 0 : I.close()), this._client = void 0, this._setState(SignalState.CLOSED), log$2("closed", void 0, {
83060
- F: __dxlog_file3$3,
83061
- L: 192,
83060
+ F: __dxlog_file3$2,
83061
+ L: 184,
83062
83062
  S: this,
83063
83063
  C: (U, q) => U(...q)
83064
83064
  }));
@@ -83079,8 +83079,8 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
83079
83079
  topic: $,
83080
83080
  peerId: I
83081
83081
  }, {
83082
- F: __dxlog_file3$3,
83083
- L: 207,
83082
+ F: __dxlog_file3$2,
83083
+ L: 199,
83084
83084
  S: this,
83085
83085
  C: (U, q) => U(...q)
83086
83086
  }), this._performance.joinCounter++, this._joinedTopics.add({
@@ -83094,8 +83094,8 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
83094
83094
  topic: $,
83095
83095
  peerId: I
83096
83096
  }, {
83097
- F: __dxlog_file3$3,
83098
- L: 215,
83097
+ F: __dxlog_file3$2,
83098
+ L: 207,
83099
83099
  S: this,
83100
83100
  C: (q, G) => q(...G)
83101
83101
  }), (U = this._swarmStreams.get({
@@ -83111,8 +83111,8 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
83111
83111
  }
83112
83112
  async sendMessage($) {
83113
83113
  this._performance.sentMessages++, await this._clientReady.wait(), invariant(this._state === SignalState.CONNECTED, "Not connected to Signal Server", {
83114
- F: __dxlog_file3$3,
83115
- L: 224,
83114
+ F: __dxlog_file3$2,
83115
+ L: 216,
83116
83116
  S: this,
83117
83117
  A: [
83118
83118
  "this._state === SignalState.CONNECTED",
@@ -83124,8 +83124,8 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
83124
83124
  log$2("subscribing to messages", {
83125
83125
  peerId: $
83126
83126
  }, {
83127
- F: __dxlog_file3$3,
83128
- L: 229,
83127
+ F: __dxlog_file3$2,
83128
+ L: 221,
83129
83129
  S: this,
83130
83130
  C: (I, U) => I(...U)
83131
83131
  }), this._subscribedMessages.add({
@@ -83137,8 +83137,8 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
83137
83137
  log$2("unsubscribing from messages", {
83138
83138
  peerId: $
83139
83139
  }, {
83140
- F: __dxlog_file3$3,
83141
- L: 235,
83140
+ F: __dxlog_file3$2,
83141
+ L: 227,
83142
83142
  S: this,
83143
83143
  C: (U, q) => U(...q)
83144
83144
  }), this._subscribedMessages.delete({
@@ -83154,8 +83154,8 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
83154
83154
  this._state = $, this._lastStateChange = /* @__PURE__ */ new Date(), log$2("signal state changed", {
83155
83155
  status: this.getStatus()
83156
83156
  }, {
83157
- F: __dxlog_file3$3,
83158
- L: 254,
83157
+ F: __dxlog_file3$2,
83158
+ L: 246,
83159
83159
  S: this,
83160
83160
  C: (I, U) => I(...U)
83161
83161
  }), this.statusChanged.emit(this.getStatus());
@@ -83165,13 +83165,13 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
83165
83165
  host: this._host,
83166
83166
  state: this._state
83167
83167
  }, {
83168
- F: __dxlog_file3$3,
83169
- L: 259,
83168
+ F: __dxlog_file3$2,
83169
+ L: 251,
83170
83170
  S: this,
83171
83171
  C: ($, I) => $(...I)
83172
83172
  }), invariant(!this._client, "Client already created", {
83173
- F: __dxlog_file3$3,
83174
- L: 260,
83173
+ F: __dxlog_file3$2,
83174
+ L: 252,
83175
83175
  S: this,
83176
83176
  A: [
83177
83177
  "!this._client",
@@ -83179,8 +83179,8 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
83179
83179
  ]
83180
83180
  }), this._connectionStarted = /* @__PURE__ */ new Date(), this._connectionCtx = this._ctx.derive(), this._connectionCtx.onDispose(async () => {
83181
83181
  log$2("connection context disposed", void 0, {
83182
- F: __dxlog_file3$3,
83183
- L: 267,
83182
+ F: __dxlog_file3$2,
83183
+ L: 259,
83184
83184
  S: this,
83185
83185
  C: ($, I) => $(...I)
83186
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();
@@ -83191,8 +83191,8 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
83191
83191
  callbacks: {
83192
83192
  onConnected: () => {
83193
83193
  log$2("socket connected", void 0, {
83194
- F: __dxlog_file3$3,
83195
- L: 279,
83194
+ F: __dxlog_file3$2,
83195
+ L: 271,
83196
83196
  S: this,
83197
83197
  C: ($, I) => $(...I)
83198
83198
  }), this._lastError = void 0, this._reconnectAfter = DEFAULT_RECONNECT_TIMEOUT, this._setState(SignalState.CONNECTED), this._clientReady.wake(), this._reconcileTask.schedule();
@@ -83201,8 +83201,8 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
83201
83201
  if (log$2("socket disconnected", {
83202
83202
  state: this._state
83203
83203
  }, {
83204
- F: __dxlog_file3$3,
83205
- L: 288,
83204
+ F: __dxlog_file3$2,
83205
+ L: 280,
83206
83206
  S: this,
83207
83207
  C: ($, I) => $(...I)
83208
83208
  }), this._state === SignalState.ERROR) {
@@ -83216,8 +83216,8 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
83216
83216
  error: $,
83217
83217
  state: this._state
83218
83218
  }, {
83219
- F: __dxlog_file3$3,
83220
- L: 303,
83219
+ F: __dxlog_file3$2,
83220
+ L: 295,
83221
83221
  S: this,
83222
83222
  C: (I, U) => I(...U)
83223
83223
  }), this._lastError = $, this._state !== SignalState.CONNECTED && this._state !== SignalState.CONNECTING && this._incrementReconnectTimeout(), this._setState(SignalState.ERROR), this._reconnectTask.schedule();
@@ -83237,14 +83237,14 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
83237
83237
  if (log$2(`reconnecting in ${this._reconnectAfter}ms`, {
83238
83238
  state: this._state
83239
83239
  }, {
83240
- F: __dxlog_file3$3,
83241
- L: 331,
83240
+ F: __dxlog_file3$2,
83241
+ L: 323,
83242
83242
  S: this,
83243
83243
  C: (U, q) => U(...q)
83244
83244
  }), this._performance.reconnectCounter++, this._state === SignalState.RECONNECTING) {
83245
83245
  log$2.warn("Signal api already reconnecting.", void 0, {
83246
- F: __dxlog_file3$3,
83247
- L: 335,
83246
+ F: __dxlog_file3$2,
83247
+ L: 327,
83248
83248
  S: this,
83249
83249
  C: (U, q) => U(...q)
83250
83250
  });
@@ -83258,8 +83258,8 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
83258
83258
  await asyncTimeout(cancelWithContext(this._connectionCtx, this._clientReady.wait()), 5e3);
83259
83259
  const $ = this._client;
83260
83260
  invariant(this._state === SignalState.CONNECTED, "Not connected to Signal Server", {
83261
- F: __dxlog_file3$3,
83262
- L: 360,
83261
+ F: __dxlog_file3$2,
83262
+ L: 352,
83263
83263
  S: this,
83264
83264
  A: [
83265
83265
  "this._state === SignalState.CONNECTED",
@@ -83291,8 +83291,8 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
83291
83291
  log$2("swarm event", {
83292
83292
  swarmEvent: K
83293
83293
  }, {
83294
- F: __dxlog_file3$3,
83295
- L: 387,
83294
+ F: __dxlog_file3$2,
83295
+ L: 379,
83296
83296
  S: this,
83297
83297
  C: (Y, J) => Y(...J)
83298
83298
  }), await this._onSwarmEvent({
@@ -83310,8 +83310,8 @@ var __dxlog_file2$3 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
83310
83310
  await asyncTimeout(cancelWithContext(this._connectionCtx, this._clientReady.wait()), 5e3);
83311
83311
  const $ = this._client;
83312
83312
  invariant(this._state === SignalState.CONNECTED, "Not connected to Signal Server", {
83313
- F: __dxlog_file3$3,
83314
- L: 400,
83313
+ F: __dxlog_file3$2,
83314
+ L: 392,
83315
83315
  S: this,
83316
83316
  A: [
83317
83317
  "this._state === SignalState.CONNECTED",
@@ -83351,7 +83351,7 @@ var __dxlog_file5$2 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
83351
83351
  hosts: this._hosts
83352
83352
  }, {
83353
83353
  F: __dxlog_file5$2,
83354
- L: 49,
83354
+ L: 51,
83355
83355
  S: this,
83356
83356
  C: (U, q) => U(...q)
83357
83357
  });
@@ -83367,14 +83367,14 @@ var __dxlog_file5$2 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
83367
83367
  hosts: this._hosts
83368
83368
  }, {
83369
83369
  F: __dxlog_file5$2,
83370
- L: 73,
83370
+ L: 78,
83371
83371
  S: this,
83372
83372
  C: ($, I) => $(...I)
83373
83373
  }), log$2.trace("dxos.mesh.websocket-signal-manager.open", trace$1.begin({
83374
83374
  id: this._instanceId
83375
83375
  }), {
83376
83376
  F: __dxlog_file5$2,
83377
- L: 74,
83377
+ L: 79,
83378
83378
  S: this,
83379
83379
  C: ($, I) => $(...I)
83380
83380
  }), this._initContext(), [
@@ -83383,7 +83383,7 @@ var __dxlog_file5$2 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
83383
83383
  id: this._instanceId
83384
83384
  }), {
83385
83385
  F: __dxlog_file5$2,
83386
- L: 81,
83386
+ L: 87,
83387
83387
  S: this,
83388
83388
  C: ($, I) => $(...I)
83389
83389
  }));
@@ -83392,16 +83392,16 @@ var __dxlog_file5$2 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
83392
83392
  this._opened && (this._opened = !1, await this._ctx.dispose(), await Promise.all(Array.from(this._servers.values()).map(($) => $.close())));
83393
83393
  }
83394
83394
  async restartServer($) {
83395
- log$2("Restarting server", {
83395
+ log$2("restarting server", {
83396
83396
  serverName: $
83397
83397
  }, {
83398
83398
  F: __dxlog_file5$2,
83399
- L: 97,
83399
+ L: 103,
83400
83400
  S: this,
83401
83401
  C: (U, q) => U(...q)
83402
83402
  }), invariant(this._opened, "server already closed", {
83403
83403
  F: __dxlog_file5$2,
83404
- L: 98,
83404
+ L: 104,
83405
83405
  S: this,
83406
83406
  A: [
83407
83407
  "this._opened",
@@ -83411,7 +83411,7 @@ var __dxlog_file5$2 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
83411
83411
  const I = this._servers.get($);
83412
83412
  invariant(I, "server not found", {
83413
83413
  F: __dxlog_file5$2,
83414
- L: 101,
83414
+ L: 107,
83415
83415
  S: this,
83416
83416
  A: [
83417
83417
  "server",
@@ -83423,17 +83423,17 @@ var __dxlog_file5$2 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
83423
83423
  return Array.from(this._servers.values()).map(($) => $.getStatus());
83424
83424
  }
83425
83425
  async join({ topic: $, peerId: I }) {
83426
- log$2("Join", {
83426
+ log$2("join", {
83427
83427
  topic: $,
83428
83428
  peerId: I
83429
83429
  }, {
83430
83430
  F: __dxlog_file5$2,
83431
- L: 114,
83431
+ L: 120,
83432
83432
  S: this,
83433
83433
  C: (U, q) => U(...q)
83434
83434
  }), invariant(this._opened, "Closed", {
83435
83435
  F: __dxlog_file5$2,
83436
- L: 115,
83436
+ L: 121,
83437
83437
  S: this,
83438
83438
  A: [
83439
83439
  "this._opened",
@@ -83450,12 +83450,12 @@ var __dxlog_file5$2 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
83450
83450
  peerId: I
83451
83451
  }, {
83452
83452
  F: __dxlog_file5$2,
83453
- L: 121,
83453
+ L: 127,
83454
83454
  S: this,
83455
83455
  C: (U, q) => U(...q)
83456
83456
  }), invariant(this._opened, "Closed", {
83457
83457
  F: __dxlog_file5$2,
83458
- L: 122,
83458
+ L: 128,
83459
83459
  S: this,
83460
83460
  A: [
83461
83461
  "this._opened",
@@ -83467,14 +83467,16 @@ var __dxlog_file5$2 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
83467
83467
  }));
83468
83468
  }
83469
83469
  async sendMessage({ author: $, recipient: I, payload: U }) {
83470
- log$2(`Signal ${I.truncate()}`, void 0, {
83470
+ log$2("signal", {
83471
+ recipient: I
83472
+ }, {
83471
83473
  F: __dxlog_file5$2,
83472
- L: 136,
83474
+ L: 142,
83473
83475
  S: this,
83474
83476
  C: (q, G) => q(...G)
83475
83477
  }), invariant(this._opened, "Closed", {
83476
83478
  F: __dxlog_file5$2,
83477
- L: 137,
83479
+ L: 143,
83478
83480
  S: this,
83479
83481
  A: [
83480
83482
  "this._opened",
@@ -83490,21 +83492,21 @@ var __dxlog_file5$2 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
83490
83492
  err: K
83491
83493
  }, {
83492
83494
  F: __dxlog_file5$2,
83493
- L: 142,
83495
+ L: 148,
83494
83496
  S: this,
83495
83497
  C: (Y, J) => Y(...J)
83496
83498
  }) : K instanceof TimeoutError$1 || K.constructor.name === "TimeoutError" ? (log$2.info("WSS sendMessage timeout", {
83497
83499
  err: K
83498
83500
  }, {
83499
83501
  F: __dxlog_file5$2,
83500
- L: 144,
83502
+ L: 150,
83501
83503
  S: this,
83502
83504
  C: (Y, J) => Y(...J)
83503
83505
  }), this.checkServerFailure(G)) : (log$2.info(`error sending to ${G}`, {
83504
83506
  err: K
83505
83507
  }, {
83506
83508
  F: __dxlog_file5$2,
83507
- L: 147,
83509
+ L: 153,
83508
83510
  S: this,
83509
83511
  C: (Y, J) => Y(...J)
83510
83512
  }), this.checkServerFailure(G));
@@ -83514,9 +83516,9 @@ var __dxlog_file5$2 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
83514
83516
  async checkServerFailure($) {
83515
83517
  const I = this.failureCount.get($) ?? 0;
83516
83518
  if (I > MAX_SERVER_FAILURES) {
83517
- log$2.warn(`Too many failures sending to ${$} (${I} > ${MAX_SERVER_FAILURES}), restarting`, void 0, {
83519
+ log$2.warn(`too many failures sending to ${$} (${I} > ${MAX_SERVER_FAILURES}), restarting`, void 0, {
83518
83520
  F: __dxlog_file5$2,
83519
- L: 158,
83521
+ L: 164,
83520
83522
  S: this,
83521
83523
  C: (U, q) => U(...q)
83522
83524
  }), await this.restartServer($), this.failureCount.set($, 0);
@@ -83525,14 +83527,16 @@ var __dxlog_file5$2 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
83525
83527
  this.failureCount.set($, (this.failureCount.get($) ?? 0) + 1);
83526
83528
  }
83527
83529
  async subscribeMessages($) {
83528
- log$2(`Subscribed for message stream peerId=${$}`, void 0, {
83530
+ log$2("subscribed for message stream", {
83531
+ peerId: $
83532
+ }, {
83529
83533
  F: __dxlog_file5$2,
83530
- L: 167,
83534
+ L: 174,
83531
83535
  S: this,
83532
83536
  C: (I, U) => I(...U)
83533
83537
  }), invariant(this._opened, "Closed", {
83534
83538
  F: __dxlog_file5$2,
83535
- L: 168,
83539
+ L: 175,
83536
83540
  S: this,
83537
83541
  A: [
83538
83542
  "this._opened",
@@ -83541,14 +83545,16 @@ var __dxlog_file5$2 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
83541
83545
  }), await this._forEachServer(async (I) => I.subscribeMessages($));
83542
83546
  }
83543
83547
  async unsubscribeMessages($) {
83544
- log$2(`Subscribed for message stream peerId=${$}`, void 0, {
83548
+ log$2("subscribed for message stream", {
83549
+ peerId: $
83550
+ }, {
83545
83551
  F: __dxlog_file5$2,
83546
- L: 174,
83552
+ L: 181,
83547
83553
  S: this,
83548
83554
  C: (I, U) => I(...U)
83549
83555
  }), invariant(this._opened, "Closed", {
83550
83556
  F: __dxlog_file5$2,
83551
- L: 175,
83557
+ L: 182,
83552
83558
  S: this,
83553
83559
  A: [
83554
83560
  "this._opened",
@@ -83560,7 +83566,7 @@ var __dxlog_file5$2 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/
83560
83566
  this._ctx = new Context({
83561
83567
  onError: ($) => log$2.catch($, void 0, {
83562
83568
  F: __dxlog_file5$2,
83563
- L: 182,
83569
+ L: 189,
83564
83570
  S: this,
83565
83571
  C: (I, U) => I(...U)
83566
83572
  })
@@ -83585,14 +83591,14 @@ _ts_decorate$3([
83585
83591
  _ts_decorate$3([
83586
83592
  synchronized
83587
83593
  ], WebsocketSignalManager.prototype, "checkServerFailure", null);
83588
- var __dxlog_file6 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/src/signal-manager/utils.ts", setIdentityTags = ({ identityService: $, devicesService: I, setTag: U }) => {
83594
+ var __dxlog_file6$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/src/signal-manager/utils.ts", setIdentityTags = ({ identityService: $, devicesService: I, setTag: U }) => {
83589
83595
  $.queryIdentity().subscribe((q) => {
83590
83596
  var G;
83591
83597
  if (!((G = q == null ? void 0 : q.identity) != null && G.identityKey)) {
83592
83598
  log$2("empty response from identity service", {
83593
83599
  idqr: q
83594
83600
  }, {
83595
- F: __dxlog_file6,
83601
+ F: __dxlog_file6$1,
83596
83602
  L: 21,
83597
83603
  S: void 0,
83598
83604
  C: (K, Y) => K(...Y)
@@ -83605,7 +83611,7 @@ var __dxlog_file6 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/sr
83605
83611
  log$2("empty response from device service", {
83606
83612
  device: q
83607
83613
  }, {
83608
- F: __dxlog_file6,
83614
+ F: __dxlog_file6$1,
83609
83615
  L: 30,
83610
83616
  S: void 0,
83611
83617
  C: (K, Y) => K(...Y)
@@ -83613,7 +83619,7 @@ var __dxlog_file6 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/sr
83613
83619
  return;
83614
83620
  }
83615
83621
  invariant(q, "empty response from device service", {
83616
- F: __dxlog_file6,
83622
+ F: __dxlog_file6$1,
83617
83623
  L: 33,
83618
83624
  S: void 0,
83619
83625
  A: [
@@ -83626,7 +83632,7 @@ var __dxlog_file6 = "/home/runner/work/dxos/dxos/packages/core/mesh/messaging/sr
83626
83632
  log$2("no current device", {
83627
83633
  device: q
83628
83634
  }, {
83629
- F: __dxlog_file6,
83635
+ F: __dxlog_file6$1,
83630
83636
  L: 37,
83631
83637
  S: void 0,
83632
83638
  C: (K, Y) => K(...Y)
@@ -84827,7 +84833,7 @@ var N1 = Math.pow(2, 7), N2 = Math.pow(2, 14), N3 = Math.pow(2, 21), N4 = Math.p
84827
84833
  }, encodeFrame = ($) => {
84828
84834
  const I = export_Buffer.allocUnsafe(FRAME_LENGTH_SIZE + $.length);
84829
84835
  return I.writeUInt16BE($.length, 0), I.set($, FRAME_LENGTH_SIZE), I;
84830
- }, __dxlog_file3$2 = "/home/runner/work/dxos/dxos/packages/core/mesh/teleport/src/muxing/balancer.ts", MAX_CHUNK_SIZE = 8192, Balancer = class {
84836
+ }, __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/teleport/src/muxing/balancer.ts", MAX_CHUNK_SIZE = 8192, Balancer = class {
84831
84837
  constructor($) {
84832
84838
  this._sysChannelId = $, this._lastCallerIndex = 0, this._channels = [], this._framer = new Framer(), this._sendBuffers = /* @__PURE__ */ new Map(), this._receiveBuffers = /* @__PURE__ */ new Map(), this._sending = !1, this.incomingData = new Event$1(), this.stream = this._framer.stream, this._channels.push($), this._framer.port.subscribe(this._processIncomingMessage.bind(this));
84833
84839
  }
@@ -84845,7 +84851,7 @@ var N1 = Math.pow(2, 7), N2 = Math.pow(2, 14), N3 = Math.pow(2, 21), N4 = Math.p
84845
84851
  }
84846
84852
  pushData($, I, U) {
84847
84853
  this._enqueueChunk($, I, U), this._sendChunks().catch((q) => log$2.catch(q, void 0, {
84848
- F: __dxlog_file3$2,
84854
+ F: __dxlog_file3$1,
84849
84855
  L: 75,
84850
84856
  S: this,
84851
84857
  C: (G, K) => G(...K)
@@ -84853,7 +84859,7 @@ var N1 = Math.pow(2, 7), N2 = Math.pow(2, 14), N3 = Math.pow(2, 21), N4 = Math.p
84853
84859
  }
84854
84860
  destroy() {
84855
84861
  this._sendBuffers.size !== 0 && log$2.info("destroying balancer with pending calls", void 0, {
84856
- F: __dxlog_file3$2,
84862
+ F: __dxlog_file3$1,
84857
84863
  L: 80,
84858
84864
  S: this,
84859
84865
  C: ($, I) => $(...I)
@@ -84920,12 +84926,12 @@ var N1 = Math.pow(2, 7), N2 = Math.pow(2, 14), N3 = Math.pow(2, 21), N4 = Math.p
84920
84926
  let $;
84921
84927
  for ($ = this._getNextChunk(); $; ) {
84922
84928
  this._framer.writable || (log$2("PAUSE for drain", void 0, {
84923
- F: __dxlog_file3$2,
84929
+ F: __dxlog_file3$1,
84924
84930
  L: 179,
84925
84931
  S: this,
84926
84932
  C: (q, G) => q(...G)
84927
84933
  }), await this._framer.drain.waitForCount(1), log$2("RESUME for drain", void 0, {
84928
- F: __dxlog_file3$2,
84934
+ F: __dxlog_file3$1,
84929
84935
  L: 181,
84930
84936
  S: this,
84931
84937
  C: (q, G) => q(...G)
@@ -84936,7 +84942,7 @@ var N1 = Math.pow(2, 7), N2 = Math.pow(2, 14), N3 = Math.pow(2, 21), N4 = Math.p
84936
84942
  log$2("Error sending chunk", {
84937
84943
  err: q
84938
84944
  }, {
84939
- F: __dxlog_file3$2,
84945
+ F: __dxlog_file3$1,
84940
84946
  L: 187,
84941
84947
  S: this,
84942
84948
  C: (G, K) => G(...K)
@@ -84945,7 +84951,7 @@ var N1 = Math.pow(2, 7), N2 = Math.pow(2, 14), N3 = Math.pow(2, 21), N4 = Math.p
84945
84951
  $ = this._getNextChunk();
84946
84952
  }
84947
84953
  invariant(this._sendBuffers.size === 0, "sendBuffers not empty", {
84948
- F: __dxlog_file3$2,
84954
+ F: __dxlog_file3$1,
84949
84955
  L: 192,
84950
84956
  S: this,
84951
84957
  A: [
@@ -86258,7 +86264,7 @@ function _ts_decorate2$1($, I, U, q) {
86258
86264
  (Y = $[J]) && (K = (G < 3 ? Y(K) : G > 3 ? Y(I, U, K) : Y(I, U)) || K);
86259
86265
  return G > 3 && K && Object.defineProperty(I, U, K), K;
86260
86266
  }
86261
- var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-manager/src/swarm/peer.ts", ConnectionDisplacedError = class extends SystemError {
86267
+ var __dxlog_file3 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-manager/src/swarm/peer.ts", ConnectionDisplacedError = class extends SystemError {
86262
86268
  constructor() {
86263
86269
  super("Connection displaced by remote initiator.");
86264
86270
  }
@@ -86278,7 +86284,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
86278
86284
  ConnectionState.CONNECTING
86279
86285
  ].includes(this.connection.state))
86280
86286
  return log$2.info(`received offer when connection already in ${this.connection.state} state`, void 0, {
86281
- F: __dxlog_file3$1,
86287
+ F: __dxlog_file3,
86282
86288
  L: 114,
86283
86289
  S: this,
86284
86290
  C: (q, G) => q(...G)
@@ -86293,7 +86299,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
86293
86299
  remotePeerId: this.localPeerId,
86294
86300
  sessionId: (U = this.connection) == null ? void 0 : U.sessionId
86295
86301
  }, {
86296
- F: __dxlog_file3$1,
86302
+ F: __dxlog_file3,
86297
86303
  L: 123,
86298
86304
  S: this,
86299
86305
  C: (q, G) => q(...G)
@@ -86304,7 +86310,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
86304
86310
  };
86305
86311
  if (await this._callbacks.onOffer(I) && !this.connection) {
86306
86312
  invariant($.sessionId, void 0, {
86307
- F: __dxlog_file3$1,
86313
+ F: __dxlog_file3,
86308
86314
  L: 143,
86309
86315
  S: this,
86310
86316
  A: [
@@ -86322,7 +86328,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
86322
86328
  remoteId: this.id,
86323
86329
  err: G
86324
86330
  }, {
86325
- F: __dxlog_file3$1,
86331
+ F: __dxlog_file3,
86326
86332
  L: 153,
86327
86333
  S: this,
86328
86334
  C: (K, Y) => K(...Y)
@@ -86341,7 +86347,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
86341
86347
  */
86342
86348
  async initiateConnection() {
86343
86349
  invariant(!this.initiating, "Initiation in progress.", {
86344
- F: __dxlog_file3$1,
86350
+ F: __dxlog_file3,
86345
86351
  L: 170,
86346
86352
  S: this,
86347
86353
  A: [
@@ -86349,7 +86355,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
86349
86355
  "'Initiation in progress.'"
86350
86356
  ]
86351
86357
  }), invariant(!this.connection, "Already connected.", {
86352
- F: __dxlog_file3$1,
86358
+ F: __dxlog_file3,
86353
86359
  L: 171,
86354
86360
  S: this,
86355
86361
  A: [
@@ -86364,7 +86370,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
86364
86370
  peerId: this.id,
86365
86371
  sessionId: $
86366
86372
  }, {
86367
- F: __dxlog_file3$1,
86373
+ F: __dxlog_file3,
86368
86374
  L: 173,
86369
86375
  S: this,
86370
86376
  C: (q, G) => q(...G)
@@ -86387,13 +86393,13 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
86387
86393
  ownId: this.localPeerId,
86388
86394
  remoteId: this.id
86389
86395
  }, {
86390
- F: __dxlog_file3$1,
86396
+ F: __dxlog_file3,
86391
86397
  L: 190,
86392
86398
  S: this,
86393
86399
  C: (q, G) => q(...G)
86394
86400
  }), I.state !== ConnectionState.INITIAL) {
86395
86401
  log$2("ignoring response", void 0, {
86396
- F: __dxlog_file3$1,
86402
+ F: __dxlog_file3,
86397
86403
  L: 192,
86398
86404
  S: this,
86399
86405
  C: (q, G) => q(...G)
@@ -86407,7 +86413,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
86407
86413
  peerId: this.localPeerId,
86408
86414
  remoteId: this.id
86409
86415
  }, {
86410
- F: __dxlog_file3$1,
86416
+ F: __dxlog_file3,
86411
86417
  L: 196,
86412
86418
  S: this,
86413
86419
  C: (G, K) => G(...K)
@@ -86427,7 +86433,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
86427
86433
  peerId: this.localPeerId,
86428
86434
  remoteId: this.id
86429
86435
  }, {
86430
- F: __dxlog_file3$1,
86436
+ F: __dxlog_file3,
86431
86437
  L: 209,
86432
86438
  S: this,
86433
86439
  C: (G, K) => G(...K)
@@ -86437,7 +86443,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
86437
86443
  }
86438
86444
  try {
86439
86445
  log$2("opening connection as initiator", void 0, {
86440
- F: __dxlog_file3$1,
86446
+ F: __dxlog_file3,
86441
86447
  L: 222,
86442
86448
  S: this,
86443
86449
  C: (q, G) => q(...G)
@@ -86449,14 +86455,14 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
86449
86455
  peerId: this.localPeerId,
86450
86456
  remoteId: this.id
86451
86457
  }, {
86452
- F: __dxlog_file3$1,
86458
+ F: __dxlog_file3,
86453
86459
  L: 226,
86454
86460
  S: this,
86455
86461
  C: (G, K) => G(...K)
86456
86462
  }), log$2.warn("closing connection due to unhandled error on openConnection", {
86457
86463
  err: q
86458
86464
  }, {
86459
- F: __dxlog_file3$1,
86465
+ F: __dxlog_file3,
86460
86466
  L: 233,
86461
86467
  S: this,
86462
86468
  C: (G, K) => G(...K)
@@ -86478,12 +86484,12 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
86478
86484
  initiator: $,
86479
86485
  sessionId: I
86480
86486
  }, {
86481
- F: __dxlog_file3$1,
86487
+ F: __dxlog_file3,
86482
86488
  L: 247,
86483
86489
  S: this,
86484
86490
  C: (G, K) => G(...K)
86485
86491
  }), invariant(!this.connection, "Already connected.", {
86486
- F: __dxlog_file3$1,
86492
+ F: __dxlog_file3,
86487
86493
  L: 254,
86488
86494
  S: this,
86489
86495
  A: [
@@ -86515,7 +86521,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
86515
86521
  sessionId: I,
86516
86522
  initiator: $
86517
86523
  }, {
86518
- F: __dxlog_file3$1,
86524
+ F: __dxlog_file3,
86519
86525
  L: 273,
86520
86526
  S: this,
86521
86527
  C: (G, K) => G(...K)
@@ -86528,12 +86534,12 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
86528
86534
  remoteId: this.id,
86529
86535
  initiator: $
86530
86536
  }, {
86531
- F: __dxlog_file3$1,
86537
+ F: __dxlog_file3,
86532
86538
  L: 282,
86533
86539
  S: this,
86534
86540
  C: (K, Y) => K(...Y)
86535
86541
  }), this._connectionLimiter.doneConnecting(I), invariant(this.connection === U, "Connection mismatch (race condition).", {
86536
- F: __dxlog_file3$1,
86542
+ F: __dxlog_file3,
86537
86543
  L: 287,
86538
86544
  S: this,
86539
86545
  A: [
@@ -86547,7 +86553,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
86547
86553
  sessionId: I,
86548
86554
  initiator: $
86549
86555
  }, {
86550
- F: __dxlog_file3$1,
86556
+ F: __dxlog_file3,
86551
86557
  L: 289,
86552
86558
  S: this,
86553
86559
  C: (K, Y) => K(...Y)
@@ -86565,7 +86571,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
86565
86571
  initiator: $,
86566
86572
  err: G
86567
86573
  }, {
86568
- F: __dxlog_file3$1,
86574
+ F: __dxlog_file3,
86569
86575
  L: 329,
86570
86576
  S: this,
86571
86577
  C: (K, Y) => K(...Y)
@@ -86577,7 +86583,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
86577
86583
  initiator: $,
86578
86584
  err: G
86579
86585
  }, {
86580
- F: __dxlog_file3$1,
86586
+ F: __dxlog_file3,
86581
86587
  L: 336,
86582
86588
  S: this,
86583
86589
  C: (K, Y) => K(...Y)
@@ -86592,7 +86598,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
86592
86598
  peerId: this.id,
86593
86599
  sessionId: I.sessionId
86594
86600
  }, {
86595
- F: __dxlog_file3$1,
86601
+ F: __dxlog_file3,
86596
86602
  L: 361,
86597
86603
  S: this,
86598
86604
  C: (U, q) => U(...q)
@@ -86600,7 +86606,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
86600
86606
  peerId: this.id,
86601
86607
  sessionId: I.sessionId
86602
86608
  }, {
86603
- F: __dxlog_file3$1,
86609
+ F: __dxlog_file3,
86604
86610
  L: 367,
86605
86611
  S: this,
86606
86612
  C: (U, q) => U(...q)
@@ -86611,7 +86617,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
86611
86617
  log$2("dropping signal message for non-existent connection", {
86612
86618
  message: $
86613
86619
  }, {
86614
- F: __dxlog_file3$1,
86620
+ F: __dxlog_file3,
86615
86621
  L: 372,
86616
86622
  S: this,
86617
86623
  C: (I, U) => I(...U)
@@ -86626,7 +86632,7 @@ var __dxlog_file3$1 = "/home/runner/work/dxos/dxos/packages/core/mesh/network-ma
86626
86632
  peerId: this.id,
86627
86633
  topic: this.topic
86628
86634
  }, {
86629
- F: __dxlog_file3$1,
86635
+ F: __dxlog_file3,
86630
86636
  L: 382,
86631
86637
  S: this,
86632
86638
  C: (U, q) => U(...q)
@@ -87518,7 +87524,7 @@ var importESM = Function("path", "return import(path)"), uaParser = { exports: {
87518
87524
  for (var zt = {}, de = 0; de < Ct.length; de++)
87519
87525
  zt[Ct[de].toUpperCase()] = Ct[de];
87520
87526
  return zt;
87521
- }, Me = function(Ct, zt) {
87527
+ }, Le = function(Ct, zt) {
87522
87528
  return typeof Ct === ee ? Ye(zt).indexOf(Ye(Ct)) !== -1 : !1;
87523
87529
  }, Ye = function(Ct) {
87524
87530
  return Ct.toLowerCase();
@@ -87540,9 +87546,9 @@ var importESM = Function("path", "return import(path)"), uaParser = { exports: {
87540
87546
  for (var de in zt)
87541
87547
  if (typeof zt[de] === Q && zt[de].length > 0) {
87542
87548
  for (var ie = 0; ie < zt[de].length; ie++)
87543
- if (Me(zt[de][ie], Ct))
87549
+ if (Le(zt[de][ie], Ct))
87544
87550
  return de === Y ? q : de;
87545
- } else if (Me(zt[de], Ct))
87551
+ } else if (Le(zt[de], Ct))
87546
87552
  return de === Y ? q : de;
87547
87553
  return Ct;
87548
87554
  }, it = {
@@ -88757,12 +88763,14 @@ var __dxlog_file = "/home/runner/work/dxos/dxos/packages/sdk/client/src/services
88757
88763
  return this._client.rpc;
88758
88764
  }
88759
88765
  async open() {
88760
- const { WebsocketRpcClient: $ } = await import("./index-DvJ62Z2G.mjs");
88766
+ const { WebsocketRpcClient: $ } = await import("./index-Cms4wG79.mjs");
88761
88767
  this._client = new $({
88762
88768
  url: getUnixSocket(this._profile, "ws+unix"),
88763
88769
  requested: clientServiceBundle,
88764
88770
  exposed: {},
88765
88771
  handlers: {}
88772
+ }), this._client.error.on((I) => {
88773
+ this.closed.emit(I);
88766
88774
  }), await this._client.open();
88767
88775
  }
88768
88776
  async close() {
@@ -88772,7 +88780,7 @@ var __dxlog_file = "/home/runner/work/dxos/dxos/packages/sdk/client/src/services
88772
88780
  } catch (I) {
88773
88781
  log$2.warn("Failed to close", I, {
88774
88782
  F: __dxlog_file,
88775
- L: 69,
88783
+ L: 72,
88776
88784
  S: this,
88777
88785
  C: (U, q) => U(...q)
88778
88786
  });
@@ -88877,7 +88885,7 @@ var IFrameManager = class {
88877
88885
  var I;
88878
88886
  (I = this._onMessage) == null || I.call(this, $);
88879
88887
  }
88880
- }, __dxlog_file3 = "/home/runner/work/dxos/dxos/packages/sdk/client/src/services/shell-manager.ts", shellStyles = Object.entries({
88888
+ }, __dxlog_file4 = "/home/runner/work/dxos/dxos/packages/sdk/client/src/services/shell-manager.ts", shellStyles = Object.entries({
88881
88889
  display: "none",
88882
88890
  position: "fixed",
88883
88891
  top: 0,
@@ -88897,13 +88905,15 @@ var IFrameManager = class {
88897
88905
  async setLayout($) {
88898
88906
  var I;
88899
88907
  log$2("set layout", $, {
88900
- F: __dxlog_file3,
88901
- L: 50,
88908
+ F: __dxlog_file4,
88909
+ L: 51,
88902
88910
  S: this,
88903
88911
  C: (U, q) => U(...q)
88904
88912
  }), this._display = ShellDisplay.FULLSCREEN, this.contextUpdate.emit({
88905
88913
  display: this._display
88906
- }), await ((I = this._shellRpc) == null ? void 0 : I.rpc.ShellService.setLayout($));
88914
+ }), await ((I = this._shellRpc) == null ? void 0 : I.rpc.ShellService.setLayout($, {
88915
+ timeout: RPC_TIMEOUT
88916
+ }));
88907
88917
  }
88908
88918
  async open() {
88909
88919
  if (this._shellRpc)
@@ -88925,8 +88935,8 @@ var IFrameManager = class {
88925
88935
  AppService: {
88926
88936
  setContext: async (q) => {
88927
88937
  log$2("set context", q, {
88928
- F: __dxlog_file3,
88929
- L: 97,
88938
+ F: __dxlog_file4,
88939
+ L: 98,
88930
88940
  S: this,
88931
88941
  C: (G, K) => G(...K)
88932
88942
  }), q.display && (this._display = q.display), this.contextUpdate.emit(q);
@@ -89018,13 +89028,13 @@ function _ts_decorate4($, I, U, q) {
89018
89028
  (Y = $[J]) && (K = (G < 3 ? Y(K) : G > 3 ? Y(I, U, K) : Y(I, U)) || K);
89019
89029
  return G > 3 && K && Object.defineProperty(I, U, K), K;
89020
89030
  }
89021
- var __dxlog_file4 = "/home/runner/work/dxos/dxos/packages/sdk/client/src/services/service-proxy.ts", ClientServicesProxy = class {
89031
+ var __dxlog_file5 = "/home/runner/work/dxos/dxos/packages/sdk/client/src/services/service-proxy.ts", ClientServicesProxy = class {
89022
89032
  constructor($, I = 3e4) {
89023
89033
  this._port = $, this._timeout = I, this.closed = new Event$1();
89024
89034
  }
89025
89035
  get proxy() {
89026
89036
  return invariant(this._proxy, "Client services not open", {
89027
- F: __dxlog_file4,
89037
+ F: __dxlog_file5,
89028
89038
  L: 30,
89029
89039
  S: this,
89030
89040
  A: [
@@ -89038,7 +89048,7 @@ var __dxlog_file4 = "/home/runner/work/dxos/dxos/packages/sdk/client/src/service
89038
89048
  }
89039
89049
  get services() {
89040
89050
  return invariant(this._proxy, "Client services not open", {
89041
- F: __dxlog_file4,
89051
+ F: __dxlog_file5,
89042
89052
  L: 39,
89043
89053
  S: this,
89044
89054
  A: [
@@ -89075,7 +89085,7 @@ function _ts_decorate5($, I, U, q) {
89075
89085
  (Y = $[J]) && (K = (G < 3 ? Y(K) : G > 3 ? Y(I, U, K) : Y(I, U)) || K);
89076
89086
  return G > 3 && K && Object.defineProperty(I, U, K), K;
89077
89087
  }
89078
- var __dxlog_file5 = "/home/runner/work/dxos/dxos/packages/sdk/client/src/services/iframe-service-proxy.ts", IFrameClientServicesProxy = class {
89088
+ var __dxlog_file6 = "/home/runner/work/dxos/dxos/packages/sdk/client/src/services/iframe-service-proxy.ts", IFrameClientServicesProxy = class {
89079
89089
  constructor({ source: $ = DEFAULT_VAULT_URL, shell: I = DEFAULT_SHELL_CHANNEL, vault: U = DEFAULT_INTERNAL_CHANNEL, timeout: q = PROXY_CONNECTION_TIMEOUT, logFilter: G = "error,warn" } = {}) {
89080
89090
  this.closed = new Event$1(), this._instanceId = PublicKey.random().toHex(), this._source = $, this._shell = I, this._vault = U, this._logFilter = parseFilter(G), this._timeout = q;
89081
89091
  const K = new Trigger(), Y = new Trigger();
@@ -89114,42 +89124,44 @@ var __dxlog_file5 = "/home/runner/work/dxos/dxos/packages/sdk/client/src/service
89114
89124
  this._clientServicesProxy || (log$2.trace("dxos.sdk.iframe-clientTraceices-proxy", trace$1.begin({
89115
89125
  id: this._instanceId
89116
89126
  }), {
89117
- F: __dxlog_file5,
89118
- L: 141,
89127
+ F: __dxlog_file6,
89128
+ L: 142,
89119
89129
  S: this,
89120
89130
  C: (I, U) => I(...U)
89121
89131
  }), await this._iframeManager.open(), this._clientServicesProxy = new ClientServicesProxy(this._appPort), await this._clientServicesProxy.open(), this._loggingStream = this._clientServicesProxy.services.LoggingService.queryLogs({
89122
89132
  filters: this._logFilter
89133
+ }, {
89134
+ timeout: RPC_TIMEOUT
89123
89135
  }), this._loggingStream.subscribe((I) => {
89124
89136
  switch (I.level) {
89125
89137
  case LogLevel.DEBUG:
89126
89138
  log$2.debug(`[vault] ${I.message}`, I.context, {
89127
- F: __dxlog_file5,
89128
- L: 153,
89139
+ F: __dxlog_file6,
89140
+ L: 157,
89129
89141
  S: this,
89130
89142
  C: (U, q) => U(...q)
89131
89143
  });
89132
89144
  break;
89133
89145
  case LogLevel.INFO:
89134
89146
  log$2.info(`[vault] ${I.message}`, I.context, {
89135
- F: __dxlog_file5,
89136
- L: 156,
89147
+ F: __dxlog_file6,
89148
+ L: 160,
89137
89149
  S: this,
89138
89150
  C: (U, q) => U(...q)
89139
89151
  });
89140
89152
  break;
89141
89153
  case LogLevel.WARN:
89142
89154
  log$2.warn(`[vault] ${I.message}`, I.context, {
89143
- F: __dxlog_file5,
89144
- L: 159,
89155
+ F: __dxlog_file6,
89156
+ L: 163,
89145
89157
  S: this,
89146
89158
  C: (U, q) => U(...q)
89147
89159
  });
89148
89160
  break;
89149
89161
  case LogLevel.ERROR:
89150
89162
  log$2.error(`[vault] ${I.message}`, I.context, {
89151
- F: __dxlog_file5,
89152
- L: 162,
89163
+ F: __dxlog_file6,
89164
+ L: 166,
89153
89165
  S: this,
89154
89166
  C: (U, q) => U(...q)
89155
89167
  });
@@ -89162,8 +89174,8 @@ var __dxlog_file5 = "/home/runner/work/dxos/dxos/packages/sdk/client/src/service
89162
89174
  await (($ = this._shellManager) == null ? void 0 : $.close()), await this._iframeManager.close(), await ((I = this._loggingStream) == null ? void 0 : I.close()), await ((U = this._clientServicesProxy) == null ? void 0 : U.close()), this._clientServicesProxy = void 0, log$2.trace("dxos.sdk.iframe-clientTraceices-proxy", trace$1.end({
89163
89175
  id: this._instanceId
89164
89176
  }), {
89165
- F: __dxlog_file5,
89166
- L: 176,
89177
+ F: __dxlog_file6,
89178
+ L: 180,
89167
89179
  S: this,
89168
89180
  C: (q, G) => q(...G)
89169
89181
  });
@@ -89181,7 +89193,7 @@ function _ts_decorate6($, I, U, q) {
89181
89193
  (Y = $[J]) && (K = (G < 3 ? Y(K) : G > 3 ? Y(I, U, K) : Y(I, U)) || K);
89182
89194
  return G > 3 && K && Object.defineProperty(I, U, K), K;
89183
89195
  }
89184
- var __dxlog_file7 = "/home/runner/work/dxos/dxos/packages/sdk/client/src/services/worker-client-services.ts", WorkerClientServices = class {
89196
+ var __dxlog_file8 = "/home/runner/work/dxos/dxos/packages/sdk/client/src/services/worker-client-services.ts", WorkerClientServices = class {
89185
89197
  constructor({ config: $, createWorker: I, logFilter: U = "error,warn", observabilityGroup: q, signalTelemetryEnabled: G }) {
89186
89198
  this.closed = new Event$1(), this.joinedSpace = new Event$1(), this._isOpen = !1, this._config = $, this._createWorker = I, this._logFilter = parseFilter(U), this._observabilityGroup = q, this._signalTelemetryEnabled = G ?? !1;
89187
89199
  }
@@ -89198,8 +89210,8 @@ var __dxlog_file7 = "/home/runner/work/dxos/dxos/packages/sdk/client/src/service
89198
89210
  if (this._isOpen)
89199
89211
  return;
89200
89212
  log$2("opening...", void 0, {
89201
- F: __dxlog_file7,
89202
- L: 87,
89213
+ F: __dxlog_file8,
89214
+ L: 88,
89203
89215
  S: this,
89204
89216
  C: (K, Y) => K(...Y)
89205
89217
  });
@@ -89224,13 +89236,15 @@ var __dxlog_file7 = "/home/runner/work/dxos/dxos/packages/sdk/client/src/service
89224
89236
  port: G
89225
89237
  })), await this._services.open(), navigator.locks.request(LOCK_KEY, () => {
89226
89238
  log$2("terminated", void 0, {
89227
- F: __dxlog_file7,
89228
- L: 114,
89239
+ F: __dxlog_file8,
89240
+ L: 115,
89229
89241
  S: this,
89230
89242
  C: (K, Y) => K(...Y)
89231
89243
  }), this._isOpen && this.closed.emit(new Error("Shared worker terminated."));
89232
89244
  }), this._loggingStream = this._services.services.LoggingService.queryLogs({
89233
89245
  filters: this._logFilter
89246
+ }, {
89247
+ timeout: RPC_TIMEOUT
89234
89248
  }), this._loggingStream.subscribe((K) => {
89235
89249
  switch (K.level) {
89236
89250
  case LogLevel.DEBUG:
@@ -89247,8 +89261,8 @@ var __dxlog_file7 = "/home/runner/work/dxos/dxos/packages/sdk/client/src/service
89247
89261
  break;
89248
89262
  }
89249
89263
  }), log$2("opened", void 0, {
89250
- F: __dxlog_file7,
89251
- L: 140,
89264
+ F: __dxlog_file8,
89265
+ L: 144,
89252
89266
  S: this,
89253
89267
  C: (K, Y) => K(...Y)
89254
89268
  }), this._isOpen = !0;
@@ -89256,13 +89270,13 @@ var __dxlog_file7 = "/home/runner/work/dxos/dxos/packages/sdk/client/src/service
89256
89270
  async close() {
89257
89271
  var $;
89258
89272
  this._isOpen && (log$2("closing...", void 0, {
89259
- F: __dxlog_file7,
89260
- L: 150,
89273
+ F: __dxlog_file8,
89274
+ L: 154,
89261
89275
  S: this,
89262
89276
  C: (I, U) => I(...U)
89263
89277
  }), await (($ = this._loggingStream) == null ? void 0 : $.close()), await this._runtime.close(), await this._services.close(), log$2("closed", void 0, {
89264
- F: __dxlog_file7,
89265
- L: 155,
89278
+ F: __dxlog_file8,
89279
+ L: 159,
89266
89280
  S: this,
89267
89281
  C: (I, U) => I(...U)
89268
89282
  }), this._isOpen = !1);
@@ -89893,18 +89907,18 @@ function requireReactJsxDevRuntime_development() {
89893
89907
  if (sn && Ne && typeof sn.stack == "string") {
89894
89908
  for (var Rt = sn.stack.split(`
89895
89909
  `), Bt = Ne.stack.split(`
89896
- `), Mt = Rt.length - 1, Ot = Bt.length - 1; Mt >= 1 && Ot >= 0 && Rt[Mt] !== Bt[Ot]; )
89910
+ `), Lt = Rt.length - 1, Ot = Bt.length - 1; Lt >= 1 && Ot >= 0 && Rt[Lt] !== Bt[Ot]; )
89897
89911
  Ot--;
89898
- for (; Mt >= 1 && Ot >= 0; Mt--, Ot--)
89899
- if (Rt[Mt] !== Bt[Ot]) {
89900
- if (Mt !== 1 || Ot !== 1)
89912
+ for (; Lt >= 1 && Ot >= 0; Lt--, Ot--)
89913
+ if (Rt[Lt] !== Bt[Ot]) {
89914
+ if (Lt !== 1 || Ot !== 1)
89901
89915
  do
89902
- if (Mt--, Ot--, Ot < 0 || Rt[Mt] !== Bt[Ot]) {
89916
+ if (Lt--, Ot--, Ot < 0 || Rt[Lt] !== Bt[Ot]) {
89903
89917
  var Zt = `
89904
- ` + Rt[Mt].replace(" at new ", " at ");
89918
+ ` + Rt[Lt].replace(" at new ", " at ");
89905
89919
  return We.displayName && Zt.includes("<anonymous>") && (Zt = Zt.replace("<anonymous>", We.displayName)), typeof We == "function" && Te.set(We, Zt), Zt;
89906
89920
  }
89907
- while (Mt >= 1 && Ot >= 0);
89921
+ while (Lt >= 1 && Ot >= 0);
89908
89922
  break;
89909
89923
  }
89910
89924
  }
@@ -89914,7 +89928,7 @@ function requireReactJsxDevRuntime_development() {
89914
89928
  var Qt = We ? We.displayName || We.name : "", Yt = Qt ? Ie(Qt) : "";
89915
89929
  return typeof We == "function" && Te.set(We, Yt), Yt;
89916
89930
  }
89917
- function Me(We, vt, xt) {
89931
+ function Le(We, vt, xt) {
89918
89932
  return ye(We, !1);
89919
89933
  }
89920
89934
  function Ye(We) {
@@ -89937,7 +89951,7 @@ function requireReactJsxDevRuntime_development() {
89937
89951
  if (typeof We == "object")
89938
89952
  switch (We.$$typeof) {
89939
89953
  case Z:
89940
- return Me(We.render);
89954
+ return Le(We.render);
89941
89955
  case te:
89942
89956
  return ct(We.type, vt, xt);
89943
89957
  case ne: {
@@ -89970,8 +89984,8 @@ function requireReactJsxDevRuntime_development() {
89970
89984
  throw Bt.name = "Invariant Violation", Bt;
89971
89985
  }
89972
89986
  Rt = We[Et](vt, Et, Ne, xt, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
89973
- } catch (Mt) {
89974
- Rt = Mt;
89987
+ } catch (Lt) {
89988
+ Rt = Lt;
89975
89989
  }
89976
89990
  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));
89977
89991
  }
@@ -90088,9 +90102,9 @@ function requireReactJsxDevRuntime_development() {
90088
90102
  for (dt in vt)
90089
90103
  ut.call(vt, dt) && !ie.hasOwnProperty(dt) && (Et[dt] = vt[dt]);
90090
90104
  if (We && We.defaultProps) {
90091
- var Mt = We.defaultProps;
90092
- for (dt in Mt)
90093
- Et[dt] === void 0 && (Et[dt] = Mt[dt]);
90105
+ var Lt = We.defaultProps;
90106
+ for (dt in Lt)
90107
+ Et[dt] === void 0 && (Et[dt] = Lt[dt]);
90094
90108
  }
90095
90109
  if (Rt || Bt) {
90096
90110
  var Ot = typeof We == "function" ? We.displayName || We.name || "Unknown" : We;
@@ -90225,8 +90239,8 @@ Check the top-level render call using <` + xt + ">.");
90225
90239
  (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.");
90226
90240
  var Bt = Pn(ot);
90227
90241
  Bt ? Rt += Bt : Rt += un();
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);
90242
+ var Lt;
90243
+ We === null ? Lt = "null" : It(We) ? Lt = "array" : We !== void 0 && We.$$typeof === I ? (Lt = "<" + (Be(We.type) || "Unknown") + " />", Rt = " Did you accidentally export a JSX literal instead of a component?") : Lt = 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", Lt, Rt);
90230
90244
  }
90231
90245
  var Ot = At(We, vt, xt, ot, dt);
90232
90246
  if (Ot == null)
@@ -90372,12 +90386,17 @@ Object.defineProperties(u.prototype, { $$typeof: { configurable: !0, value: h },
90372
90386
  var ClientContext = /* @__PURE__ */ createContext(void 0), useClient = () => {
90373
90387
  const { client: $ } = useContext(ClientContext) ?? raise$2(new Error("Missing ClientContext."));
90374
90388
  return $;
90389
+ }, useMulticastObservable = ($) => {
90390
+ const I = useMemo(() => (U) => {
90391
+ const q = $.subscribe(U);
90392
+ return () => q.unsubscribe();
90393
+ }, [
90394
+ $
90395
+ ]);
90396
+ return useSyncExternalStore(I, () => $.get());
90375
90397
  }, useNetworkStatus = () => {
90376
90398
  const $ = useClient();
90377
- return useSyncExternalStore((U) => {
90378
- const q = $.mesh.networkStatus.subscribe(U);
90379
- return () => q.unsubscribe();
90380
- }, () => $.mesh.networkStatus.get());
90399
+ return useMulticastObservable($.mesh.networkStatus);
90381
90400
  }, withSelector = { exports: {} }, withSelector_production_min = {};
90382
90401
  /**
90383
90402
  * @license React
@@ -93701,8 +93720,8 @@ var qrcode = { exports: {} };
93701
93720
  xe = $e * 4 + 17, Ee = function(Te) {
93702
93721
  for (var be = new Array(Te), ye = 0; ye < Te; ye += 1) {
93703
93722
  be[ye] = new Array(Te);
93704
- for (var Me = 0; Me < Te; Me += 1)
93705
- be[ye][Me] = null;
93723
+ for (var Le = 0; Le < Te; Le += 1)
93724
+ be[ye][Le] = null;
93706
93725
  }
93707
93726
  return be;
93708
93727
  }(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);
@@ -93728,9 +93747,9 @@ var qrcode = { exports: {} };
93728
93747
  for (var Te = 0; Te < Ie.length; Te += 1) {
93729
93748
  var be = Ie[Re], ye = Ie[Te];
93730
93749
  if (Ee[be][ye] == null)
93731
- for (var Me = -2; Me <= 2; Me += 1)
93750
+ for (var Le = -2; Le <= 2; Le += 1)
93732
93751
  for (var Ye = -2; Ye <= 2; Ye += 1)
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;
93752
+ Le == -2 || Le == 2 || Ye == -2 || Ye == 2 || Le == 0 && Ye == 0 ? Ee[be + Le][ye + Ye] = !0 : Ee[be + Le][ye + Ye] = !1;
93734
93753
  }
93735
93754
  }, tt = function(Ie) {
93736
93755
  for (var Re = J.getBCHTypeNumber($e), Te = 0; Te < 18; Te += 1) {
@@ -93743,23 +93762,23 @@ var qrcode = { exports: {} };
93743
93762
  }
93744
93763
  }, ze = function(Ie, Re) {
93745
93764
  for (var Te = Ce << 3 | Re, be = J.getBCHTypeInfo(Te), ye = 0; ye < 15; ye += 1) {
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;
93765
+ var Le = !Ie && (be >> ye & 1) == 1;
93766
+ ye < 6 ? Ee[ye][8] = Le : ye < 8 ? Ee[ye + 1][8] = Le : Ee[xe - 15 + ye][8] = Le;
93748
93767
  }
93749
93768
  for (var ye = 0; ye < 15; 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;
93769
+ var Le = !Ie && (be >> ye & 1) == 1;
93770
+ ye < 8 ? Ee[8][xe - ye - 1] = Le : ye < 9 ? Ee[8][15 - ye - 1 + 1] = Le : Ee[8][15 - ye - 1] = Le;
93752
93771
  }
93753
93772
  Ee[xe - 8][8] = !Ie;
93754
93773
  }, qe = function(Ie, Re) {
93755
- for (var Te = -1, be = xe - 1, ye = 7, Me = 0, Ye = J.getMaskFunction(Re), ct = xe - 1; ct > 0; ct -= 2)
93774
+ for (var Te = -1, be = xe - 1, ye = 7, Le = 0, Ye = J.getMaskFunction(Re), ct = xe - 1; ct > 0; ct -= 2)
93756
93775
  for (ct == 6 && (ct -= 1); ; ) {
93757
93776
  for (var ut = 0; ut < 2; ut += 1)
93758
93777
  if (Ee[be][ct - ut] == null) {
93759
93778
  var wt = !1;
93760
- Me < Ie.length && (wt = (Ie[Me] >>> ye & 1) == 1);
93779
+ Le < Ie.length && (wt = (Ie[Le] >>> ye & 1) == 1);
93761
93780
  var St = Ye(be, ct - ut);
93762
- St && (wt = !wt), Ee[be][ct - ut] = wt, ye -= 1, ye == -1 && (Me += 1, ye = 7);
93781
+ St && (wt = !wt), Ee[be][ct - ut] = wt, ye -= 1, ye == -1 && (Le += 1, ye = 7);
93763
93782
  }
93764
93783
  if (be += Te, be < 0 || xe <= be) {
93765
93784
  be -= Te, Te = -Te;
@@ -93767,13 +93786,13 @@ var qrcode = { exports: {} };
93767
93786
  }
93768
93787
  }
93769
93788
  }, nt = function(Ie, Re) {
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) {
93789
+ for (var Te = 0, be = 0, ye = 0, Le = new Array(Re.length), Ye = new Array(Re.length), ct = 0; ct < Re.length; ct += 1) {
93771
93790
  var ut = Re[ct].dataCount, wt = Re[ct].totalCount - ut;
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];
93791
+ be = Math.max(be, ut), ye = Math.max(ye, wt), Le[ct] = new Array(ut);
93792
+ for (var St = 0; St < Le[ct].length; St += 1)
93793
+ Le[ct][St] = 255 & Ie.getBuffer()[St + Te];
93775
93794
  Te += ut;
93776
- var it = J.getErrorCorrectPolynomial(wt), Ut = Q(Me[ct], it.getLength() - 1), Kt = Ut.mod(it);
93795
+ var it = J.getErrorCorrectPolynomial(wt), Ut = Q(Le[ct], it.getLength() - 1), Kt = Ut.mod(it);
93777
93796
  Ye[ct] = new Array(it.getLength() - 1);
93778
93797
  for (var St = 0; St < Ye[ct].length; St += 1) {
93779
93798
  var It = St + Kt.getLength() - Ye[ct].length;
@@ -93784,18 +93803,18 @@ var qrcode = { exports: {} };
93784
93803
  Ht += Re[St].totalCount;
93785
93804
  for (var rn = new Array(Ht), Ct = 0, St = 0; St < be; St += 1)
93786
93805
  for (var ct = 0; ct < Re.length; ct += 1)
93787
- St < Me[ct].length && (rn[Ct] = Me[ct][St], Ct += 1);
93806
+ St < Le[ct].length && (rn[Ct] = Le[ct][St], Ct += 1);
93788
93807
  for (var St = 0; St < ye; St += 1)
93789
93808
  for (var ct = 0; ct < Re.length; ct += 1)
93790
93809
  St < Ye[ct].length && (rn[Ct] = Ye[ct][St], Ct += 1);
93791
93810
  return rn;
93792
93811
  }, mt = function(Ie, Re, Te) {
93793
- for (var be = ee.getRSBlocks(Ie, Re), ye = te(), Me = 0; Me < Te.length; Me += 1) {
93794
- var Ye = Te[Me];
93812
+ for (var be = ee.getRSBlocks(Ie, Re), ye = te(), Le = 0; Le < Te.length; Le += 1) {
93813
+ var Ye = Te[Le];
93795
93814
  ye.put(Ye.getMode(), 4), ye.put(Ye.getLength(), J.getLengthInBits(Ye.getMode(), Ie)), Ye.write(ye);
93796
93815
  }
93797
- for (var ct = 0, Me = 0; Me < be.length; Me += 1)
93798
- ct += be[Me].dataCount;
93816
+ for (var ct = 0, Le = 0; Le < be.length; Le += 1)
93817
+ ct += be[Le].dataCount;
93799
93818
  if (ye.getLengthInBits() > ct * 8)
93800
93819
  throw "code length overflow. (" + ye.getLengthInBits() + ">" + ct * 8 + ")";
93801
93820
  for (ye.getLengthInBits() + 4 <= ct * 8 && ye.put(0, 4); ye.getLengthInBits() % 8 != 0; )
@@ -93837,9 +93856,9 @@ var qrcode = { exports: {} };
93837
93856
  var ye = je[be];
93838
93857
  Te.put(ye.getMode(), 4), Te.put(ye.getLength(), J.getLengthInBits(ye.getMode(), Ie)), ye.write(Te);
93839
93858
  }
93840
- for (var Me = 0, be = 0; be < Re.length; be++)
93841
- Me += Re[be].dataCount;
93842
- if (Te.getLengthInBits() <= Me * 8)
93859
+ for (var Le = 0, be = 0; be < Re.length; be++)
93860
+ Le += Re[be].dataCount;
93861
+ if (Te.getLengthInBits() <= Le * 8)
93843
93862
  break;
93844
93863
  }
93845
93864
  $e = Ie;
@@ -93859,17 +93878,17 @@ var qrcode = { exports: {} };
93859
93878
  }, Ge.createSvgTag = function(Ie, Re, Te, be) {
93860
93879
  var ye = {};
93861
93880
  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;
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)
93881
+ var Le = Ge.getModuleCount() * Ie + Re * 2, Ye, ct, ut, wt, St = "", it;
93882
+ 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="' + Le + 'px" height="' + Le + 'px"', St += ' viewBox="0 0 ' + Le + " " + Le + '" ', 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)
93864
93883
  for (wt = ut * Ie + Re, Ye = 0; Ye < Ge.getModuleCount(); Ye += 1)
93865
93884
  Ge.isDark(ut, Ye) && (ct = Ye * Ie + Re, St += "M" + ct + "," + wt + it);
93866
93885
  return St += '" stroke="transparent" fill="black"/>', St += "</svg>", St;
93867
93886
  }, Ge.createDataURL = function(Ie, Re) {
93868
93887
  Ie = Ie || 2, Re = typeof Re > "u" ? Ie * 4 : Re;
93869
93888
  var Te = Ge.getModuleCount() * Ie + Re * 2, be = Re, ye = Te - Re;
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);
93889
+ return he(Te, Te, function(Le, Ye) {
93890
+ if (be <= Le && Le < ye && be <= Ye && Ye < ye) {
93891
+ var ct = Math.floor((Le - be) / Ie), ut = Math.floor((Ye - be) / Ie);
93873
93892
  return Ge.isDark(ut, ct) ? 0 : 1;
93874
93893
  } else
93875
93894
  return 1;
@@ -93904,7 +93923,7 @@ var qrcode = { exports: {} };
93904
93923
  }, He = function(Ie) {
93905
93924
  var Re = 1;
93906
93925
  Ie = typeof Ie > "u" ? Re * 2 : Ie;
93907
- var Te = Ge.getModuleCount() * Re + Ie * 2, be = Ie, ye = Te - Ie, Me, Ye, ct, ut, wt, St = {
93926
+ var Te = Ge.getModuleCount() * Re + Ie * 2, be = Ie, ye = Te - Ie, Le, Ye, ct, ut, wt, St = {
93908
93927
  "██": "█",
93909
93928
  "█ ": "▀",
93910
93929
  " █": "▄",
@@ -93915,9 +93934,9 @@ var qrcode = { exports: {} };
93915
93934
  " █": " ",
93916
93935
  " ": " "
93917
93936
  }, Ut = "";
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];
93937
+ for (Le = 0; Le < Te; Le += 2) {
93938
+ for (ct = Math.floor((Le - be) / Re), ut = Math.floor((Le + 1 - be) / Re), Ye = 0; Ye < Te; Ye += 1)
93939
+ wt = "█", be <= Ye && Ye < ye && be <= Le && Le < ye && Ge.isDark(ct, Math.floor((Ye - be) / Re)) && (wt = " "), be <= Ye && Ye < ye && be <= Le + 1 && Le + 1 < ye && Ge.isDark(ut, Math.floor((Ye - be) / Re)) ? wt += " " : wt += "█", Ut += Ie < 1 && Le + 1 >= ye ? it[wt] : St[wt];
93921
93940
  Ut += `
93922
93941
  `;
93923
93942
  }
@@ -93927,10 +93946,10 @@ var qrcode = { exports: {} };
93927
93946
  if (Ie = Ie || 1, Ie < 2)
93928
93947
  return He(Re);
93929
93948
  Ie -= 1, Re = typeof Re > "u" ? Ie * 2 : Re;
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;
93949
+ var Te = Ge.getModuleCount() * Ie + Re * 2, be = Re, ye = Te - Re, Le, Ye, ct, ut, wt = Array(Ie + 1).join("██"), St = Array(Ie + 1).join(" "), it = "", Ut = "";
93950
+ for (Le = 0; Le < Te; Le += 1) {
93951
+ for (ct = Math.floor((Le - be) / Ie), Ut = "", Ye = 0; Ye < Te; Ye += 1)
93952
+ ut = 1, be <= Ye && Ye < ye && be <= Le && Le < ye && Ge.isDark(ct, Math.floor((Ye - be) / Ie)) && (ut = 0), Ut += ut ? wt : St;
93934
93953
  for (ct = 0; ct < Ie; ct += 1)
93935
93954
  it += Ut + `
93936
93955
  `;
@@ -96018,7 +96037,7 @@ const invitationStatusValue = /* @__PURE__ */ new Map([
96018
96037
  Space: re.context.space.unredeemedCode
96019
96038
  }),
96020
96039
  [re]
96021
- ), ue = useMulticastObservable(Q.spaces), he = useMemo(
96040
+ ), ue = useMulticastObservable$1(Q.spaces), he = useMemo(
96022
96041
  () => ({
96023
96042
  Space: ue ? new Set(ue.map(({ key: Ce }) => Ce.toHex())) : void 0
96024
96043
  }),
@@ -96596,11 +96615,11 @@ createContext({});
96596
96615
  export {
96597
96616
  Event$1 as E,
96598
96617
  Trigger as T,
96599
- WebSocket2 as W,
96618
+ WebSocket3 as W,
96600
96619
  logInfo as a,
96601
96620
  createProtoRpcPeer as c,
96602
96621
  export_Buffer as e,
96603
96622
  log$2 as l,
96604
96623
  runShell as r
96605
96624
  };
96606
- //# sourceMappingURL=index-Bo0z_Ho6.mjs.map
96625
+ //# sourceMappingURL=index-DACjPI-n.mjs.map