@streamlayer/sdk-web 0.28.8 → 0.28.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { QuestionType as ze, SilenceSetting as Kr, QuestionStatus as Yt } from "@streamlayer/sl-eslib/interactive/interactive.common_pb";
2
2
  import "@streamlayer/sl-eslib/interactive/feed/interactive.feed_pb";
3
3
  import { SdkOverlayType as ae } from "@streamlayer/sl-eslib/sdkSettings/sdkSettings.common_pb";
4
- import { computed as Hr, map as Mn, atom as Ft } from "nanostores";
4
+ import { computed as Hr, map as Mn, atom as Tt } from "nanostores";
5
5
  import "@nanostores/logger";
6
6
  import "microdiff";
7
7
  import { Code as Vn, createPromiseClient as qn, createCallbackClient as Gn } from "@connectrpc/connect";
8
8
  import { createGrpcWebTransport as Qn } from "@connectrpc/connect-web";
9
9
  import { nanoquery as zn } from "@nanostores/query";
10
10
  import { Events as Kn } from "@streamlayer/sl-eslib/sports/events/events_connect";
11
- import { Client as Tt } from "@streamlayer/sl-eslib/sdkSettings/client/client_connect";
11
+ import { Client as Ct } from "@streamlayer/sl-eslib/sdkSettings/client/client_connect";
12
12
  import { Users as Wr } from "@streamlayer/sl-eslib/users/users_connect";
13
13
  import { pino as Hn } from "pino";
14
14
  import { Feed as de } from "@streamlayer/sl-eslib/interactive/feed/interactive.feed_connect";
@@ -18,13 +18,13 @@ var Yr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
18
18
  function Wn(t) {
19
19
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
20
20
  }
21
- var C = {}, Xr = {}, Ct = {};
22
- Ct.byteLength = Xn;
23
- Ct.toByteArray = ei;
24
- Ct.fromByteArray = ni;
25
- var ve = [], oe = [], Jn = typeof Uint8Array < "u" ? Uint8Array : Array, Rt = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
26
- for (var je = 0, Yn = Rt.length; je < Yn; ++je)
27
- ve[je] = Rt[je], oe[Rt.charCodeAt(je)] = je;
21
+ var C = {}, Xr = {}, _t = {};
22
+ _t.byteLength = Xn;
23
+ _t.toByteArray = ei;
24
+ _t.fromByteArray = ni;
25
+ var ve = [], oe = [], Jn = typeof Uint8Array < "u" ? Uint8Array : Array, Nt = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
26
+ for (var je = 0, Yn = Nt.length; je < Yn; ++je)
27
+ ve[je] = Nt[je], oe[Nt.charCodeAt(je)] = je;
28
28
  oe["-".charCodeAt(0)] = 62;
29
29
  oe["_".charCodeAt(0)] = 63;
30
30
  function Zr(t) {
@@ -98,7 +98,7 @@ fr.write = function(t, e, r, o, s, u) {
98
98
  * @license MIT
99
99
  */
100
100
  (function(t) {
101
- const e = Ct, r = fr, o = typeof Symbol == "function" && typeof Symbol.for == "function" ? Symbol.for("nodejs.util.inspect.custom") : null;
101
+ const e = _t, r = fr, o = typeof Symbol == "function" && typeof Symbol.for == "function" ? Symbol.for("nodejs.util.inspect.custom") : null;
102
102
  t.Buffer = f, t.SlowBuffer = X, t.INSPECT_MAX_BYTES = 50;
103
103
  const s = 2147483647;
104
104
  t.kMaxLength = s, f.TYPED_ARRAY_SUPPORT = u(), !f.TYPED_ARRAY_SUPPORT && typeof console < "u" && typeof console.error == "function" && console.error(
@@ -229,7 +229,7 @@ fr.write = function(t, e, r, o, s, u) {
229
229
  return i.length === 0 || a.copy(i, 0, 0, n), i;
230
230
  }
231
231
  if (a.length !== void 0)
232
- return typeof a.length != "number" || Pt(a.length) ? l(0) : T(a);
232
+ return typeof a.length != "number" || Rt(a.length) ? l(0) : T(a);
233
233
  if (a.type === "Buffer" && Array.isArray(a.data))
234
234
  return T(a.data);
235
235
  }
@@ -331,7 +331,7 @@ fr.write = function(t, e, r, o, s, u) {
331
331
  case "hex":
332
332
  return i >>> 1;
333
333
  case "base64":
334
- return lt(a).length;
334
+ return ht(a).length;
335
335
  default:
336
336
  if (h)
337
337
  return c ? -1 : it(a).length;
@@ -432,7 +432,7 @@ fr.write = function(t, e, r, o, s, u) {
432
432
  function j(a, n, i, c, h) {
433
433
  if (a.length === 0)
434
434
  return -1;
435
- if (typeof i == "string" ? (c = i, i = 0) : i > 2147483647 ? i = 2147483647 : i < -2147483648 && (i = -2147483648), i = +i, Pt(i) && (i = h ? 0 : a.length - 1), i < 0 && (i = a.length + i), i >= a.length) {
435
+ if (typeof i == "string" ? (c = i, i = 0) : i > 2147483647 ? i = 2147483647 : i < -2147483648 && (i = -2147483648), i = +i, Rt(i) && (i = h ? 0 : a.length - 1), i < 0 && (i = a.length + i), i >= a.length) {
436
436
  if (h)
437
437
  return -1;
438
438
  i = a.length - 1;
@@ -495,7 +495,7 @@ fr.write = function(t, e, r, o, s, u) {
495
495
  let m;
496
496
  for (m = 0; m < c; ++m) {
497
497
  const _ = parseInt(n.substr(m * 2, 2), 16);
498
- if (Pt(_))
498
+ if (Rt(_))
499
499
  return m;
500
500
  a[i + m] = _;
501
501
  }
@@ -505,10 +505,10 @@ fr.write = function(t, e, r, o, s, u) {
505
505
  return ot(it(n, a.length - i), a, i, c);
506
506
  }
507
507
  function _e(a, n, i, c) {
508
- return ot(kt(n), a, i, c);
508
+ return ot(Pt(n), a, i, c);
509
509
  }
510
510
  function Se(a, n, i, c) {
511
- return ot(lt(n), a, i, c);
511
+ return ot(ht(n), a, i, c);
512
512
  }
513
513
  function fe(a, n, i, c) {
514
514
  return ot(v(n, a.length - i), a, i, c);
@@ -957,7 +957,7 @@ fr.write = function(t, e, r, o, s, u) {
957
957
  );
958
958
  }
959
959
  const De = /[^+/0-9A-Za-z-_]/g;
960
- function ft(a) {
960
+ function lt(a) {
961
961
  if (a = a.split("=")[0], a = a.trim().replace(De, ""), a.length < 2)
962
962
  return "";
963
963
  for (; a.length % 4 !== 0; )
@@ -1023,7 +1023,7 @@ fr.write = function(t, e, r, o, s, u) {
1023
1023
  }
1024
1024
  return y;
1025
1025
  }
1026
- function kt(a) {
1026
+ function Pt(a) {
1027
1027
  const n = [];
1028
1028
  for (let i = 0; i < a.length; ++i)
1029
1029
  n.push(a.charCodeAt(i) & 255);
@@ -1036,8 +1036,8 @@ fr.write = function(t, e, r, o, s, u) {
1036
1036
  i = a.charCodeAt(m), c = i >> 8, h = i % 256, y.push(h), y.push(c);
1037
1037
  return y;
1038
1038
  }
1039
- function lt(a) {
1040
- return e.toByteArray(ft(a));
1039
+ function ht(a) {
1040
+ return e.toByteArray(lt(a));
1041
1041
  }
1042
1042
  function ot(a, n, i, c) {
1043
1043
  let h;
@@ -1048,7 +1048,7 @@ fr.write = function(t, e, r, o, s, u) {
1048
1048
  function me(a, n) {
1049
1049
  return a instanceof n || a != null && a.constructor != null && a.constructor.name != null && a.constructor.name === n.name;
1050
1050
  }
1051
- function Pt(a) {
1051
+ function Rt(a) {
1052
1052
  return a !== a;
1053
1053
  }
1054
1054
  const Dn = function() {
@@ -1116,18 +1116,18 @@ function ii(t) {
1116
1116
  }
1117
1117
  }
1118
1118
  }
1119
- var Te = [], Ke = !1, Ne, ht = -1;
1119
+ var Te = [], Ke = !1, Ne, pt = -1;
1120
1120
  function oi() {
1121
- !Ke || !Ne || (Ke = !1, Ne.length ? Te = Ne.concat(Te) : ht = -1, Te.length && rn());
1121
+ !Ke || !Ne || (Ke = !1, Ne.length ? Te = Ne.concat(Te) : pt = -1, Te.length && rn());
1122
1122
  }
1123
1123
  function rn() {
1124
1124
  if (!Ke) {
1125
1125
  var t = tn(oi);
1126
1126
  Ke = !0;
1127
1127
  for (var e = Te.length; e; ) {
1128
- for (Ne = Te, Te = []; ++ht < e; )
1129
- Ne && Ne[ht].run();
1130
- ht = -1, e = Te.length;
1128
+ for (Ne = Te, Te = []; ++pt < e; )
1129
+ Ne && Ne[pt].run();
1130
+ pt = -1, e = Te.length;
1131
1131
  }
1132
1132
  Ne = null, Ke = !1, ii(t);
1133
1133
  }
@@ -1186,7 +1186,7 @@ var si = en.exports;
1186
1186
  class ai {
1187
1187
  }
1188
1188
  window.slStore = /* @__PURE__ */ Object.create(null);
1189
- class _t {
1189
+ class Bt {
1190
1190
  /**
1191
1191
  * store instance (nanostores)
1192
1192
  */
@@ -1206,7 +1206,7 @@ const ui = (t) => {
1206
1206
  const e = Object.keys(t);
1207
1207
  return Hr(e.map((r) => t[r].getStore()), (...r) => Object.fromEntries(e.map((o, s) => [o, r[s]])));
1208
1208
  };
1209
- class st extends _t {
1209
+ class at extends Bt {
1210
1210
  getValues = () => this.getStore().get();
1211
1211
  getValue = (e) => this.getStore().get()[e];
1212
1212
  setValue = (e, r) => this.getStore().setKey(e, r);
@@ -1236,7 +1236,7 @@ class lr {
1236
1236
  listeners = /* @__PURE__ */ new Set();
1237
1237
  settingsKey;
1238
1238
  constructor({ settings: e, ...r }, o) {
1239
- this.settingsKey = ci[r.type], this.status = Ft(Le.Suspended), this.config = new st(He(r), `feature:config:${this.settingsKey}`), this.settingsKey !== void 0 && e?.overlaySettings.case === this.settingsKey ? this.settings = new st(He(e.overlaySettings.value), `feature:settings:${this.settingsKey}`) : this.settings = new st(He({}), `feature:settings:${this.settingsKey}`), this.source = o;
1239
+ this.settingsKey = ci[r.type], this.status = Tt(Le.Suspended), this.config = new at(He(r), `feature:config:${this.settingsKey}`), this.settingsKey !== void 0 && e?.overlaySettings.case === this.settingsKey ? this.settings = new at(He(e.overlaySettings.value), `feature:settings:${this.settingsKey}`) : this.settings = new at(He({}), `feature:settings:${this.settingsKey}`), this.source = o;
1240
1240
  }
1241
1241
  get featureConfig() {
1242
1242
  return this.config.getStore();
@@ -1278,7 +1278,7 @@ class lr {
1278
1278
  }
1279
1279
  }
1280
1280
  }
1281
- class ce extends _t {
1281
+ class ce extends Bt {
1282
1282
  getValue = () => this.getStore().get();
1283
1283
  getValues() {
1284
1284
  throw new Error("not implemented");
@@ -1293,11 +1293,11 @@ class ce extends _t {
1293
1293
  return this.getStore().get();
1294
1294
  }
1295
1295
  }
1296
- const te = (t) => Ft(t), hr = (t, e) => Hr(t, e);
1297
- class ue extends _t {
1296
+ const te = (t) => Tt(t), hr = (t, e) => Hr(t, e);
1297
+ class ue extends Bt {
1298
1298
  atomStore;
1299
1299
  constructor(e, r, o) {
1300
- super(e, `api:${r}`), this.atomStore = Ft(), o && e.subscribe((s) => {
1300
+ super(e, `api:${r}`), this.atomStore = Tt(), o && e.subscribe((s) => {
1301
1301
  this.atomStore.set(o(s));
1302
1302
  });
1303
1303
  }
@@ -1391,7 +1391,7 @@ class hi {
1391
1391
  ts: /* @__PURE__ */ new Date(),
1392
1392
  log: []
1393
1393
  };
1394
- this.state = new st(He(u), `subscription:${s.name}:state`), this.name = s.name, this.headers = e, this.listeners = /* @__PURE__ */ new Map(), this.params = o, this.method = r, s.withStore && (this.store = new ce(te(null), `subscription:${s.name}:store`)), "subscribe" in o && typeof o.subscribe == "function" && o.subscribe(() => {
1394
+ this.state = new at(He(u), `subscription:${s.name}:state`), this.name = s.name, this.headers = e, this.listeners = /* @__PURE__ */ new Map(), this.params = o, this.method = r, s.withStore && (this.store = new ce(te(null), `subscription:${s.name}:store`)), "subscribe" in o && typeof o.subscribe == "function" && o.subscribe(() => {
1395
1395
  this.reconnect();
1396
1396
  }), this.updateState(Ae.Ready);
1397
1397
  }
@@ -1451,7 +1451,7 @@ class pi {
1451
1451
  callbackClients;
1452
1452
  subscriptions;
1453
1453
  constructor(e) {
1454
- this.host = e, this.$headers = new st(He({
1454
+ this.host = e, this.$headers = new at(He({
1455
1455
  "sl-device-id": C.process?.env?.NX_DEVICE_ID || "sdk-web-dev"
1456
1456
  }), "transport:headers"), this.initInterceptors(), this.clients = /* @__PURE__ */ new Map(), this.callbackClients = /* @__PURE__ */ new Map(), this.subscriptions = /* @__PURE__ */ new Map();
1457
1457
  const [r, o, s] = zn();
@@ -1552,7 +1552,7 @@ const di = (t, e) => {
1552
1552
  }
1553
1553
  });
1554
1554
  }, yi = (t, e) => {
1555
- const { client: r, queryKey: o } = e.createPromiseClient(Tt, { method: "getStream", params: [t] });
1555
+ const { client: r, queryKey: o } = e.createPromiseClient(Ct, { method: "getStream", params: [t] });
1556
1556
  return e.nanoquery.createFetcherStore(o, {
1557
1557
  fetcher: async (s, u, l) => l ? (await r.getStream({
1558
1558
  id: l
@@ -1568,12 +1568,12 @@ const di = (t, e) => {
1568
1568
  const { client: e } = t.createPromiseClient(Wr, { method: "bypassAuth" });
1569
1569
  return ({ userKey: r, schema: o, init: s }) => e.bypassAuth({ userKey: r, schema: o, init: s });
1570
1570
  }, bi = (t, e) => {
1571
- const { client: r, queryKey: o } = e.createPromiseClient(Tt, { method: "get", params: [t] });
1571
+ const { client: r, queryKey: o } = e.createPromiseClient(Ct, { method: "get", params: [t] });
1572
1572
  return e.nanoquery.createFetcherStore(o, {
1573
1573
  fetcher: async () => (await r.get({})).data?.attributes
1574
1574
  });
1575
1575
  }, wi = (t, e) => {
1576
- const { client: r, queryKey: o } = e.createPromiseClient(Tt, { method: "getOrganization", params: [t] });
1576
+ const { client: r, queryKey: o } = e.createPromiseClient(Ct, { method: "getOrganization", params: [t] });
1577
1577
  return e.nanoquery.createFetcherStore(o, {
1578
1578
  fetcher: async () => {
1579
1579
  const s = await r.getOrganization({});
@@ -1584,7 +1584,7 @@ const di = (t, e) => {
1584
1584
  }
1585
1585
  });
1586
1586
  }, vi = (t, e) => {
1587
- const { client: r, queryKey: o } = e.createPromiseClient(Tt, {
1587
+ const { client: r, queryKey: o } = e.createPromiseClient(Ct, {
1588
1588
  method: "getOrganizationAdvertising",
1589
1589
  params: [t]
1590
1590
  });
@@ -1681,7 +1681,7 @@ const Ai = (t) => {
1681
1681
  organizationAdvertising: s
1682
1682
  };
1683
1683
  };
1684
- class Fi extends _t {
1684
+ class Fi extends Bt {
1685
1685
  stores;
1686
1686
  constructor(e) {
1687
1687
  const r = Ii(e), o = ui(r);
@@ -1779,13 +1779,13 @@ class Ti extends ai {
1779
1779
  });
1780
1780
  };
1781
1781
  }
1782
- const Nt = new Ge(), Ci = (t, e, r) => {
1782
+ const st = new Ge(), Ci = (t, e, r) => {
1783
1783
  t.auth = new Ti(t.store, t.transport), t.stores.status.listen((o) => {
1784
1784
  o === Fe.READY && t.auth.reLogin();
1785
1785
  }), t.sdk.authorizationBypass = async (o, s) => {
1786
- await t.auth.login(o, s), Nt.setSchema(o), Nt.setExternalToken(s);
1786
+ st.getSchema() === o && st.getExternalToken() === s && t.transport.getHeader("authorization") || (await t.auth.login(o, s), st.setSchema(o), st.setExternalToken(s));
1787
1787
  }, t.sdk.logout = () => {
1788
- t.auth.logout(), Nt.clear();
1788
+ t.auth.logout(), st.clear();
1789
1789
  }, t.sdk.getUserStore = () => t.stores.user.getStore(), t.sdk.isUserAuthorized = () => t.auth.isAuthenticated(), r();
1790
1790
  }, _i = (t, e, r) => {
1791
1791
  t.store = new Fi(t.transport), t.stores = t.store.getValues(), t.sdk.enabled = t.stores.enabled.getStore(), t.sdk.status = t.stores.status.getStore(), t.sdk.sdkStore = t.store.getStore(), t.sdk.organizationStore = () => t.stores.organizationSettings.getStore(), t.storeUnsubscribe = () => {
@@ -1840,7 +1840,7 @@ const Nt = new Ge(), Ci = (t, e, r) => {
1840
1840
  })).data?.attributes : void 0
1841
1841
  });
1842
1842
  }, Ni = (t, e) => {
1843
- const { client: r } = e.createCallbackClient(de), o = Ft({ eventId: t.get() || "", feedId: "" });
1843
+ const { client: r } = e.createCallbackClient(de), o = Tt({ eventId: t.get() || "", feedId: "" });
1844
1844
  return t.subscribe((u = "") => {
1845
1845
  o.set({ eventId: u, feedId: "" });
1846
1846
  }), e.addSubscription(r.subscription, o, { name: "feedSubscription" });
@@ -2011,18 +2011,18 @@ class Vi {
2011
2011
  this.store.delete(e), this.activeQueue.delete(e), this.waitingQueue.delete(e), this.tickWaitingQueue(), this.logger.debug({ notificationId: e }, "notification hiding");
2012
2012
  };
2013
2013
  }
2014
- var bt;
2014
+ var wt;
2015
2015
  (function(t) {
2016
2016
  t.OPENED = "opened";
2017
- })(bt || (bt = {}));
2017
+ })(wt || (wt = {}));
2018
2018
  class qi extends pr {
2019
2019
  constructor() {
2020
2020
  super("notification");
2021
2021
  }
2022
2022
  setOpened = (e) => {
2023
- this.write(bt.OPENED, e, "true");
2023
+ this.write(wt.OPENED, e, "true");
2024
2024
  };
2025
- isOpened = (e) => this.read(bt.OPENED, e);
2025
+ isOpened = (e) => this.read(wt.OPENED, e);
2026
2026
  clearNotification = () => {
2027
2027
  this.clear();
2028
2028
  };
@@ -2060,18 +2060,18 @@ const Qi = (t, e, r) => {
2060
2060
  const { client: r } = t.createPromiseClient(de, { method: "skipQuestion" });
2061
2061
  return r.skipQuestion({ data: { id: e } });
2062
2062
  };
2063
- var wt;
2063
+ var vt;
2064
2064
  (function(t) {
2065
2065
  t.ONBOARDING = "onboarding";
2066
- })(wt || (wt = {}));
2066
+ })(vt || (vt = {}));
2067
2067
  class Wi extends pr {
2068
2068
  constructor() {
2069
2069
  super("gamification");
2070
2070
  }
2071
2071
  saveOnboardingStatus = ({ userId: e, eventId: r, organizationId: o }, s) => {
2072
- this.write(wt.ONBOARDING, o, e, r, s);
2072
+ this.write(vt.ONBOARDING, o, e, r, s);
2073
2073
  };
2074
- getOnboardingStatus = ({ userId: e, eventId: r, organizationId: o }) => this.read(wt.ONBOARDING, o, e, r);
2074
+ getOnboardingStatus = ({ userId: e, eventId: r, organizationId: o }) => this.read(vt.ONBOARDING, o, e, r);
2075
2075
  }
2076
2076
  const Ir = {
2077
2077
  pageSize: 10
@@ -2505,10 +2505,10 @@ yr.exports = an;
2505
2505
  yr.exports.promise = so;
2506
2506
  var un = yr.exports, gr = { exports: {} }, Je = typeof Reflect == "object" ? Reflect : null, Tr = Je && typeof Je.apply == "function" ? Je.apply : function(e, r, o) {
2507
2507
  return Function.prototype.apply.call(e, r, o);
2508
- }, pt;
2509
- Je && typeof Je.ownKeys == "function" ? pt = Je.ownKeys : Object.getOwnPropertySymbols ? pt = function(e) {
2508
+ }, dt;
2509
+ Je && typeof Je.ownKeys == "function" ? dt = Je.ownKeys : Object.getOwnPropertySymbols ? dt = function(e) {
2510
2510
  return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e));
2511
- } : pt = function(e) {
2511
+ } : dt = function(e) {
2512
2512
  return Object.getOwnPropertyNames(e);
2513
2513
  };
2514
2514
  function ao(t) {
@@ -2527,7 +2527,7 @@ $.prototype._events = void 0;
2527
2527
  $.prototype._eventsCount = 0;
2528
2528
  $.prototype._maxListeners = void 0;
2529
2529
  var Cr = 10;
2530
- function Bt(t) {
2530
+ function Ot(t) {
2531
2531
  if (typeof t != "function")
2532
2532
  throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof t);
2533
2533
  }
@@ -2583,7 +2583,7 @@ $.prototype.emit = function(e) {
2583
2583
  };
2584
2584
  function ln(t, e, r, o) {
2585
2585
  var s, u, l;
2586
- if (Bt(r), u = t._events, u === void 0 ? (u = t._events = /* @__PURE__ */ Object.create(null), t._eventsCount = 0) : (u.newListener !== void 0 && (t.emit(
2586
+ if (Ot(r), u = t._events, u === void 0 ? (u = t._events = /* @__PURE__ */ Object.create(null), t._eventsCount = 0) : (u.newListener !== void 0 && (t.emit(
2587
2587
  "newListener",
2588
2588
  e,
2589
2589
  r.listener ? r.listener : r
@@ -2612,14 +2612,14 @@ function hn(t, e, r) {
2612
2612
  return s.listener = r, o.wrapFn = s, s;
2613
2613
  }
2614
2614
  $.prototype.once = function(e, r) {
2615
- return Bt(r), this.on(e, hn(this, e, r)), this;
2615
+ return Ot(r), this.on(e, hn(this, e, r)), this;
2616
2616
  };
2617
2617
  $.prototype.prependOnceListener = function(e, r) {
2618
- return Bt(r), this.prependListener(e, hn(this, e, r)), this;
2618
+ return Ot(r), this.prependListener(e, hn(this, e, r)), this;
2619
2619
  };
2620
2620
  $.prototype.removeListener = function(e, r) {
2621
2621
  var o, s, u, l, f;
2622
- if (Bt(r), s = this._events, s === void 0)
2622
+ if (Ot(r), s = this._events, s === void 0)
2623
2623
  return this;
2624
2624
  if (o = s[e], o === void 0)
2625
2625
  return this;
@@ -2686,7 +2686,7 @@ function dn(t) {
2686
2686
  return 0;
2687
2687
  }
2688
2688
  $.prototype.eventNames = function() {
2689
- return this._eventsCount > 0 ? pt(this._events) : [];
2689
+ return this._eventsCount > 0 ? dt(this._events) : [];
2690
2690
  };
2691
2691
  function yn(t, e) {
2692
2692
  for (var r = new Array(e), o = 0; o < e; ++o)
@@ -2727,7 +2727,7 @@ function gn(t, e, r, o) {
2727
2727
  else
2728
2728
  throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof t);
2729
2729
  }
2730
- var mn = gr.exports, Ot = {}, bn = {}, wn = function() {
2730
+ var mn = gr.exports, xt = {}, bn = {}, wn = function() {
2731
2731
  if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
2732
2732
  return !1;
2733
2733
  if (typeof Symbol.iterator == "symbol")
@@ -2968,8 +2968,8 @@ var ko = function t(e) {
2968
2968
  "%URIErrorPrototype%": ["URIError", "prototype"],
2969
2969
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
2970
2970
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
2971
- }, ct = vn, vt = Co, Po = ct.call(Function.call, Array.prototype.concat), Ro = ct.call(Function.apply, Array.prototype.splice), Pr = ct.call(Function.call, String.prototype.replace), St = ct.call(Function.call, String.prototype.slice), No = ct.call(Function.call, RegExp.prototype.exec), Lo = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Uo = /\\(\\)?/g, $o = function(e) {
2972
- var r = St(e, 0, 1), o = St(e, -1);
2971
+ }, ft = vn, St = Co, Po = ft.call(Function.call, Array.prototype.concat), Ro = ft.call(Function.apply, Array.prototype.splice), Pr = ft.call(Function.call, String.prototype.replace), At = ft.call(Function.call, String.prototype.slice), No = ft.call(Function.call, RegExp.prototype.exec), Lo = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Uo = /\\(\\)?/g, $o = function(e) {
2972
+ var r = At(e, 0, 1), o = At(e, -1);
2973
2973
  if (r === "%" && o !== "%")
2974
2974
  throw new Xe("invalid intrinsic syntax, expected closing `%`");
2975
2975
  if (o === "%" && r !== "%")
@@ -2980,7 +2980,7 @@ var ko = function t(e) {
2980
2980
  }), s;
2981
2981
  }, Do = function(e, r) {
2982
2982
  var o = e, s;
2983
- if (vt(kr, o) && (s = kr[o], o = "%" + s[0] + "%"), vt($e, o)) {
2983
+ if (St(kr, o) && (s = kr[o], o = "%" + s[0] + "%"), St($e, o)) {
2984
2984
  var u = $e[o];
2985
2985
  if (u === qe && (u = ko(o)), typeof u > "u" && !r)
2986
2986
  throw new Ye("intrinsic " + e + " exists, but is not available. Please file an issue!");
@@ -3001,10 +3001,10 @@ var ko = function t(e) {
3001
3001
  var o = $o(e), s = o.length > 0 ? o[0] : "", u = Do("%" + s + "%", r), l = u.name, f = u.value, d = !1, A = u.alias;
3002
3002
  A && (s = A[0], Ro(o, Po([0, 1], A)));
3003
3003
  for (var g = 1, w = !0; g < o.length; g += 1) {
3004
- var E = o[g], T = St(E, 0, 1), P = St(E, -1);
3004
+ var E = o[g], T = At(E, 0, 1), P = At(E, -1);
3005
3005
  if ((T === '"' || T === "'" || T === "`" || P === '"' || P === "'" || P === "`") && T !== P)
3006
3006
  throw new Xe("property names with quotes must have matching quotes");
3007
- if ((E === "constructor" || !w) && (d = !0), s += "." + E, l = "%" + s + "%", vt($e, l))
3007
+ if ((E === "constructor" || !w) && (d = !0), s += "." + E, l = "%" + s + "%", St($e, l))
3008
3008
  f = $e[l];
3009
3009
  else if (f != null) {
3010
3010
  if (!(E in f)) {
@@ -3016,7 +3016,7 @@ var ko = function t(e) {
3016
3016
  var N = Ue(f, E);
3017
3017
  w = !!N, w && "get" in N && !("originalValue" in N.get) ? f = N.get : f = f[E];
3018
3018
  } else
3019
- w = vt(f, E), f = f[E];
3019
+ w = St(f, E), f = f[E];
3020
3020
  w && !d && ($e[l] = f);
3021
3021
  }
3022
3022
  }
@@ -3039,19 +3039,19 @@ tr.hasArrayLengthDefineBug = function() {
3039
3039
  return !0;
3040
3040
  }
3041
3041
  };
3042
- var En = tr, Mo = et, dt = Mo("%Object.getOwnPropertyDescriptor%", !0);
3043
- if (dt)
3042
+ var En = tr, Mo = et, yt = Mo("%Object.getOwnPropertyDescriptor%", !0);
3043
+ if (yt)
3044
3044
  try {
3045
- dt([], "length");
3045
+ yt([], "length");
3046
3046
  } catch {
3047
- dt = null;
3047
+ yt = null;
3048
3048
  }
3049
- var br = dt, Vo = En(), wr = et, at = Vo && wr("%Object.defineProperty%", !0);
3050
- if (at)
3049
+ var br = yt, Vo = En(), wr = et, ut = Vo && wr("%Object.defineProperty%", !0);
3050
+ if (ut)
3051
3051
  try {
3052
- at({}, "a", { value: 1 });
3052
+ ut({}, "a", { value: 1 });
3053
3053
  } catch {
3054
- at = !1;
3054
+ ut = !1;
3055
3055
  }
3056
3056
  var qo = wr("%SyntaxError%"), Ve = wr("%TypeError%"), Rr = br, Go = function(e, r, o) {
3057
3057
  if (!e || typeof e != "object" && typeof e != "function")
@@ -3067,8 +3067,8 @@ var qo = wr("%SyntaxError%"), Ve = wr("%TypeError%"), Rr = br, Go = function(e,
3067
3067
  if (arguments.length > 6 && typeof arguments[6] != "boolean")
3068
3068
  throw new Ve("`loose`, if provided, must be a boolean");
3069
3069
  var s = arguments.length > 3 ? arguments[3] : null, u = arguments.length > 4 ? arguments[4] : null, l = arguments.length > 5 ? arguments[5] : null, f = arguments.length > 6 ? arguments[6] : !1, d = !!Rr && Rr(e, r);
3070
- if (at)
3071
- at(e, r, {
3070
+ if (ut)
3071
+ ut(e, r, {
3072
3072
  configurable: l === null && d ? d.configurable : !l,
3073
3073
  enumerable: s === null && d ? d.enumerable : !s,
3074
3074
  value: o,
@@ -3116,15 +3116,15 @@ var qo = wr("%SyntaxError%"), Ve = wr("%TypeError%"), Rr = br, Go = function(e,
3116
3116
  var Fn = An.exports, Tn = et, Cn = Fn, Ho = Cn(Tn("String.prototype.indexOf")), _n = function(e, r) {
3117
3117
  var o = Tn(e, !!r);
3118
3118
  return typeof o == "function" && Ho(e, ".prototype.") > -1 ? Cn(o) : o;
3119
- }, Wo = mr(), Jo = _n, rr = Jo("Object.prototype.toString"), xt = function(e) {
3119
+ }, Wo = mr(), Jo = _n, rr = Jo("Object.prototype.toString"), kt = function(e) {
3120
3120
  return Wo && e && typeof e == "object" && Symbol.toStringTag in e ? !1 : rr(e) === "[object Arguments]";
3121
3121
  }, Bn = function(e) {
3122
- return xt(e) ? !0 : e !== null && typeof e == "object" && typeof e.length == "number" && e.length >= 0 && rr(e) !== "[object Array]" && rr(e.callee) === "[object Function]";
3122
+ return kt(e) ? !0 : e !== null && typeof e == "object" && typeof e.length == "number" && e.length >= 0 && rr(e) !== "[object Array]" && rr(e.callee) === "[object Function]";
3123
3123
  }, Yo = function() {
3124
- return xt(arguments);
3124
+ return kt(arguments);
3125
3125
  }();
3126
- xt.isLegacyArguments = Bn;
3127
- var Xo = Yo ? xt : Bn, Zo = Object.prototype.toString, es = Function.prototype.toString, ts = /^\s*(?:function)?\*/, On = mr(), Dt = Object.getPrototypeOf, rs = function() {
3126
+ kt.isLegacyArguments = Bn;
3127
+ var Xo = Yo ? kt : Bn, Zo = Object.prototype.toString, es = Function.prototype.toString, ts = /^\s*(?:function)?\*/, On = mr(), Dt = Object.getPrototypeOf, rs = function() {
3128
3128
  if (!On)
3129
3129
  return !1;
3130
3130
  try {
@@ -3147,18 +3147,18 @@ var Xo = Yo ? xt : Bn, Zo = Object.prototype.toString, es = Function.prototype.t
3147
3147
  jt = o ? Dt(o) : !1;
3148
3148
  }
3149
3149
  return Dt(e) === jt;
3150
- }, xn = Function.prototype.toString, Qe = typeof Reflect == "object" && Reflect !== null && Reflect.apply, nr, yt;
3150
+ }, xn = Function.prototype.toString, Qe = typeof Reflect == "object" && Reflect !== null && Reflect.apply, nr, gt;
3151
3151
  if (typeof Qe == "function" && typeof Object.defineProperty == "function")
3152
3152
  try {
3153
3153
  nr = Object.defineProperty({}, "length", {
3154
3154
  get: function() {
3155
- throw yt;
3155
+ throw gt;
3156
3156
  }
3157
- }), yt = {}, Qe(function() {
3157
+ }), gt = {}, Qe(function() {
3158
3158
  throw 42;
3159
3159
  }, null, nr);
3160
3160
  } catch (t) {
3161
- t !== yt && (Qe = null);
3161
+ t !== gt && (Qe = null);
3162
3162
  }
3163
3163
  else
3164
3164
  Qe = null;
@@ -3175,15 +3175,15 @@ var is = /^\s*class\b/, ir = function(e) {
3175
3175
  } catch {
3176
3176
  return !1;
3177
3177
  }
3178
- }, gt = Object.prototype.toString, os = "[object Object]", ss = "[object Function]", as = "[object GeneratorFunction]", us = "[object HTMLAllCollection]", cs = "[object HTML document.all class]", fs = "[object HTMLCollection]", ls = typeof Symbol == "function" && !!Symbol.toStringTag, hs = !(0 in [,]), or = function() {
3178
+ }, mt = Object.prototype.toString, os = "[object Object]", ss = "[object Function]", as = "[object GeneratorFunction]", us = "[object HTMLAllCollection]", cs = "[object HTML document.all class]", fs = "[object HTMLCollection]", ls = typeof Symbol == "function" && !!Symbol.toStringTag, hs = !(0 in [,]), or = function() {
3179
3179
  return !1;
3180
3180
  };
3181
3181
  if (typeof document == "object") {
3182
3182
  var ps = document.all;
3183
- gt.call(ps) === gt.call(document.all) && (or = function(e) {
3183
+ mt.call(ps) === mt.call(document.all) && (or = function(e) {
3184
3184
  if ((hs || !e) && (typeof e > "u" || typeof e == "object"))
3185
3185
  try {
3186
- var r = gt.call(e);
3186
+ var r = mt.call(e);
3187
3187
  return (r === us || r === cs || r === fs || r === os) && e("") == null;
3188
3188
  } catch {
3189
3189
  }
@@ -3198,7 +3198,7 @@ var ds = Qe ? function(e) {
3198
3198
  try {
3199
3199
  Qe(e, null, nr);
3200
3200
  } catch (r) {
3201
- if (r !== yt)
3201
+ if (r !== gt)
3202
3202
  return !1;
3203
3203
  }
3204
3204
  return !ir(e) && Mt(e);
@@ -3211,7 +3211,7 @@ var ds = Qe ? function(e) {
3211
3211
  return Mt(e);
3212
3212
  if (ir(e))
3213
3213
  return !1;
3214
- var r = gt.call(e);
3214
+ var r = mt.call(e);
3215
3215
  return r !== ss && r !== as && !/^\[object HTML/.test(r) ? !1 : Mt(e);
3216
3216
  }, ys = ds, gs = Object.prototype.toString, kn = Object.prototype.hasOwnProperty, ms = function(e, r, o) {
3217
3217
  for (var s = 0, u = e.length; s < u; s++)
@@ -3243,29 +3243,29 @@ var ds = Qe ? function(e) {
3243
3243
  for (var e = [], r = 0; r < Vt.length; r++)
3244
3244
  typeof As[Vt[r]] == "function" && (e[e.length] = Vt[r]);
3245
3245
  return e;
3246
- }, At = Ss, Is = Es, $r = Fn, vr = _n, mt = br, Fs = vr("Object.prototype.toString"), Pn = mr(), Dr = typeof globalThis > "u" ? Yr : globalThis, sr = Is(), Sr = vr("String.prototype.slice"), qt = Object.getPrototypeOf, Ts = vr("Array.prototype.indexOf", !0) || function(e, r) {
3246
+ }, Et = Ss, Is = Es, $r = Fn, vr = _n, bt = br, Fs = vr("Object.prototype.toString"), Pn = mr(), Dr = typeof globalThis > "u" ? Yr : globalThis, sr = Is(), Sr = vr("String.prototype.slice"), qt = Object.getPrototypeOf, Ts = vr("Array.prototype.indexOf", !0) || function(e, r) {
3247
3247
  for (var o = 0; o < e.length; o += 1)
3248
3248
  if (e[o] === r)
3249
3249
  return o;
3250
3250
  return -1;
3251
- }, Et = { __proto__: null };
3252
- Pn && mt && qt ? At(sr, function(t) {
3251
+ }, It = { __proto__: null };
3252
+ Pn && bt && qt ? Et(sr, function(t) {
3253
3253
  var e = new Dr[t]();
3254
3254
  if (Symbol.toStringTag in e) {
3255
- var r = qt(e), o = mt(r, Symbol.toStringTag);
3255
+ var r = qt(e), o = bt(r, Symbol.toStringTag);
3256
3256
  if (!o) {
3257
3257
  var s = qt(r);
3258
- o = mt(s, Symbol.toStringTag);
3258
+ o = bt(s, Symbol.toStringTag);
3259
3259
  }
3260
- Et["$" + t] = $r(o.get);
3260
+ It["$" + t] = $r(o.get);
3261
3261
  }
3262
- }) : At(sr, function(t) {
3262
+ }) : Et(sr, function(t) {
3263
3263
  var e = new Dr[t](), r = e.slice || e.set;
3264
- r && (Et["$" + t] = $r(r));
3264
+ r && (It["$" + t] = $r(r));
3265
3265
  });
3266
3266
  var Cs = function(e) {
3267
3267
  var r = !1;
3268
- return At(Et, function(o, s) {
3268
+ return Et(It, function(o, s) {
3269
3269
  if (!r)
3270
3270
  try {
3271
3271
  "$" + o(e) === s && (r = Sr(s, 1));
@@ -3274,7 +3274,7 @@ var Cs = function(e) {
3274
3274
  }), r;
3275
3275
  }, _s = function(e) {
3276
3276
  var r = !1;
3277
- return At(Et, function(o, s) {
3277
+ return Et(It, function(o, s) {
3278
3278
  if (!r)
3279
3279
  try {
3280
3280
  o(e), r = Sr(s, 1);
@@ -3288,7 +3288,7 @@ var Cs = function(e) {
3288
3288
  var r = Sr(Fs(e), 8, -1);
3289
3289
  return Ts(sr, r) > -1 ? r : r !== "Object" ? !1 : _s(e);
3290
3290
  }
3291
- return mt ? Cs(e) : null;
3291
+ return bt ? Cs(e) : null;
3292
3292
  }, Bs = Rn, Os = function(e) {
3293
3293
  return !!Bs(e);
3294
3294
  };
@@ -3302,11 +3302,11 @@ var Cs = function(e) {
3302
3302
  var E = u(BigInt.prototype.valueOf);
3303
3303
  if (f)
3304
3304
  var T = u(Symbol.prototype.valueOf);
3305
- function P(v, lt) {
3305
+ function P(v, ht) {
3306
3306
  if (typeof v != "object")
3307
3307
  return !1;
3308
3308
  try {
3309
- return lt(v), !0;
3309
+ return ht(v), !0;
3310
3310
  } catch {
3311
3311
  return !1;
3312
3312
  }
@@ -3456,18 +3456,18 @@ var Cs = function(e) {
3456
3456
  return l && P(v, E);
3457
3457
  }
3458
3458
  t.isBigIntObject = De;
3459
- function ft(v) {
3459
+ function lt(v) {
3460
3460
  return f && P(v, T);
3461
3461
  }
3462
- t.isSymbolObject = ft;
3462
+ t.isSymbolObject = lt;
3463
3463
  function it(v) {
3464
- return ge(v) || pe(v) || ie(v) || De(v) || ft(v);
3464
+ return ge(v) || pe(v) || ie(v) || De(v) || lt(v);
3465
3465
  }
3466
3466
  t.isBoxedPrimitive = it;
3467
- function kt(v) {
3467
+ function Pt(v) {
3468
3468
  return typeof Uint8Array < "u" && (V(v) || R(v));
3469
3469
  }
3470
- t.isAnyArrayBuffer = kt, ["isProxy", "isExternal", "isModuleNamespaceObject"].forEach(function(v) {
3470
+ t.isAnyArrayBuffer = Pt, ["isProxy", "isExternal", "isModuleNamespaceObject"].forEach(function(v) {
3471
3471
  Object.defineProperty(t, v, {
3472
3472
  enumerable: !1,
3473
3473
  value: function() {
@@ -3890,8 +3890,8 @@ var ks = ar.exports;
3890
3890
  ), b;
3891
3891
  }
3892
3892
  t.callbackify = V;
3893
- })(Ot);
3894
- const { inherits: Ps, format: Gt } = Ot;
3893
+ })(xt);
3894
+ const { inherits: Ps, format: Gt } = xt;
3895
3895
  function Re(t, e, r = Error) {
3896
3896
  if (!t)
3897
3897
  throw new Error("Avvio error code must not be empty");
@@ -4311,7 +4311,7 @@ var js = Ds;
4311
4311
  };
4312
4312
  })(ur, ur.exports);
4313
4313
  var Ln = ur.exports;
4314
- const Ms = un, Vs = mn.EventEmitter, qs = Ot.inherits, W = Ln("avvio"), { AVV_ERR_READY_TIMEOUT: Gs } = Nn, Kt = Symbol.for("plugin-meta");
4314
+ const Ms = un, Vs = mn.EventEmitter, qs = xt.inherits, W = Ln("avvio"), { AVV_ERR_READY_TIMEOUT: Gs } = Nn, Kt = Symbol.for("plugin-meta");
4315
4315
  function Qs(t, e) {
4316
4316
  return t[Kt] && t[Kt].name ? t[Kt].name : typeof e < "u" && typeof e != "function" && e.name ? e.name : t.name ? t.name : t.toString().split(`
4317
4317
  `).slice(0, 2).map((r) => r.trim()).join(" -- ");
@@ -4424,13 +4424,13 @@ function Hs() {
4424
4424
  Ar.exports = tt;
4425
4425
  Ar.exports.loadPlugin = Er;
4426
4426
  var Ws = Ar.exports;
4427
- const Qr = un, Js = mn.EventEmitter, Ys = Ot.inherits, {
4427
+ const Qr = un, Js = mn.EventEmitter, Ys = xt.inherits, {
4428
4428
  AVV_ERR_EXPOSE_ALREADY_DEFINED: Ht,
4429
- AVV_ERR_CALLBACK_NOT_FN: ut,
4429
+ AVV_ERR_CALLBACK_NOT_FN: ct,
4430
4430
  AVV_ERR_PLUGIN_NOT_VALID: Xs,
4431
4431
  AVV_ERR_ROOT_PLG_BOOTED: Zs,
4432
4432
  AVV_ERR_READY_TIMEOUT: ea
4433
- } = Nn, ta = Us, cr = Ws, Ze = Ln("avvio"), It = Symbol("kAvvio"), Wt = Symbol("kThenifyDoNotWrap");
4433
+ } = Nn, ta = Us, cr = Ws, Ze = Ln("avvio"), Ft = Symbol("kAvvio"), Wt = Symbol("kThenifyDoNotWrap");
4434
4434
  function ra(t, e, r) {
4435
4435
  const o = e.expose || {}, s = o.use || "use", u = o.after || "after", l = o.ready || "ready", f = o.onClose || "onClose", d = o.close || "close";
4436
4436
  if (t[s])
@@ -4441,19 +4441,19 @@ function ra(t, e, r) {
4441
4441
  throw new Ht(l);
4442
4442
  t[s] = function(A, g) {
4443
4443
  return r.use(A, g), this;
4444
- }, Object.defineProperty(t, "then", { get: Un.bind(r) }), t[It] = !0, t[u] = function(A) {
4444
+ }, Object.defineProperty(t, "then", { get: Un.bind(r) }), t[Ft] = !0, t[u] = function(A) {
4445
4445
  return typeof A != "function" ? r._loadRegistered() : (r.after(Jt(A, this)), this);
4446
4446
  }, t[l] = function(A) {
4447
4447
  if (A && typeof A != "function")
4448
- throw new ut(l, typeof A);
4448
+ throw new ct(l, typeof A);
4449
4449
  return r.ready(A ? Jt(A, this) : void 0);
4450
4450
  }, t[f] = function(A) {
4451
4451
  if (typeof A != "function")
4452
- throw new ut(f, typeof A);
4452
+ throw new ct(f, typeof A);
4453
4453
  return r.onClose(aa(A, this)), this;
4454
4454
  }, t[d] = function(A) {
4455
4455
  if (A && typeof A != "function")
4456
- throw new ut(d, typeof A);
4456
+ throw new ct(d, typeof A);
4457
4457
  return A ? (r.close(Jt(A, this)), this) : r.close();
4458
4458
  };
4459
4459
  }
@@ -4501,7 +4501,7 @@ function ia(t) {
4501
4501
  throw new Xs(typeof t);
4502
4502
  return t;
4503
4503
  }
4504
- J.prototype[It] = !0;
4504
+ J.prototype[Ft] = !0;
4505
4505
  J.prototype.use = function(t, e) {
4506
4506
  return this._lastUsed = this._addPlugin(t, e, !1), this;
4507
4507
  };
@@ -4547,7 +4547,7 @@ J.prototype.close = function(t) {
4547
4547
  let e;
4548
4548
  if (t) {
4549
4549
  if (typeof t != "function")
4550
- throw new ut("close", typeof t);
4550
+ throw new ct("close", typeof t);
4551
4551
  } else
4552
4552
  e = new Promise(function(r, o) {
4553
4553
  t = function(s) {
@@ -4563,7 +4563,7 @@ J.prototype.close = function(t) {
4563
4563
  J.prototype.ready = function(t) {
4564
4564
  if (t) {
4565
4565
  if (typeof t != "function")
4566
- throw new ut("ready", typeof t);
4566
+ throw new ct("ready", typeof t);
4567
4567
  this._readyQ.push(t), queueMicrotask(this.start.bind(this));
4568
4568
  return;
4569
4569
  }
@@ -4598,9 +4598,9 @@ function $n(t, e) {
4598
4598
  const r = this._server, o = this._error;
4599
4599
  let s;
4600
4600
  if (this._error = null, t.length === 0)
4601
- this._error = o, s = t(), s && !s[It] && typeof s.then == "function" ? s.then(() => C.process.nextTick(e), (u) => C.process.nextTick(e, u)) : C.process.nextTick(e);
4601
+ this._error = o, s = t(), s && !s[Ft] && typeof s.then == "function" ? s.then(() => C.process.nextTick(e), (u) => C.process.nextTick(e, u)) : C.process.nextTick(e);
4602
4602
  else if (t.length === 1)
4603
- s = t(o), s && !s[It] && typeof s.then == "function" ? s.then(() => C.process.nextTick(e), (u) => C.process.nextTick(e, u)) : C.process.nextTick(e);
4603
+ s = t(o), s && !s[Ft] && typeof s.then == "function" ? s.then(() => C.process.nextTick(e), (u) => C.process.nextTick(e, u)) : C.process.nextTick(e);
4604
4604
  else if (this._timeout === 0) {
4605
4605
  const u = (l) => {
4606
4606
  this._error = l, e(this._error);