@cloudflare/realtimekit 2.1.0-staging.5 → 2.1.0-staging.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -47,7 +47,7 @@ var u = (s, t, e) => new Promise((r, i) => {
47
47
  });
48
48
  import { v4 as un, validate as bm } from "uuid";
49
49
  import Am from "bowser";
50
- import { MessageType as T, PbLong as to, typeofJsonValue as Bv } from "@protobuf-ts/runtime";
50
+ import { MessageType as y, PbLong as to, typeofJsonValue as Bv } from "@protobuf-ts/runtime";
51
51
  import * as vo from "worker-timers";
52
52
  import * as as from "sdp-transform";
53
53
  function Fv(s) {
@@ -1495,7 +1495,7 @@ class af extends yt {
1495
1495
  }
1496
1496
  parseRTCReport(e, r = [], i = !1, a = void 0, o = void 0) {
1497
1497
  var b, k, O, D, U, B, F, W, se, H, Z, Se, rt;
1498
- const c = e, d = new nf(), l = r.length ? new Set(r) : void 0, h = [], p = [], S = [], y = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map();
1498
+ const c = e, d = new nf(), l = r.length ? new Set(r) : void 0, h = [], p = [], S = [], T = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map();
1499
1499
  for (const I of c.values()) {
1500
1500
  if (l) {
1501
1501
  if (l.size === 0)
@@ -1798,7 +1798,7 @@ class af extends yt {
1798
1798
  packetsSent: (te.packetsSent || 0) - (((x = this.videoProducerToStatsMap.get(v)) == null ? void 0 : x.packetsSent) || 0),
1799
1799
  packetsLost: (((ne = te.remoteData) == null ? void 0 : ne.packetsLost) || 0) - (((V = (de = this.videoProducerToStatsMap.get(v)) == null ? void 0 : de.remoteData) == null ? void 0 : V.packetsLost) || 0),
1800
1800
  framesEncoded: (te.framesEncoded || 0) - (((C = this.videoProducerToStatsMap.get(v)) == null ? void 0 : C.framesEncoded) || 0)
1801
- }), y.set(v, {
1801
+ }), T.set(v, {
1802
1802
  score: +(te.score * 10).toFixed(),
1803
1803
  frameWidth: te.frameWidth || 0,
1804
1804
  frameHeight: te.frameHeight || 0,
@@ -1820,7 +1820,7 @@ class af extends yt {
1820
1820
  packetsSent: (me.packetsSent || 0) - (((qa = this.audioProducerToStatsMap.get(v)) == null ? void 0 : qa.packetsSent) || 0),
1821
1821
  packetsLost: (((Ga = me.remoteData) == null ? void 0 : Ga.packetsLost) || 0) - (((Ja = (Wa = this.audioProducerToStatsMap.get(v)) == null ? void 0 : Wa.remoteData) == null ? void 0 : Ja.packetsLost) || 0),
1822
1822
  jitter: ((Ka = me.remoteData) == null ? void 0 : Ka.jitter) || 0
1823
- }), y.set(v, {
1823
+ }), T.set(v, {
1824
1824
  score: +(me.score * 10).toFixed(),
1825
1825
  bitrate: ((me.bytesSent || 0) - (((za = this.audioProducerToStatsMap.get(v)) == null ? void 0 : za.bytesSent) || 0)) * 8 / 7,
1826
1826
  // Bytes received in last 7 seconds
@@ -1854,9 +1854,9 @@ class af extends yt {
1854
1854
  this.observer.emit("consumer_score", E);
1855
1855
  } catch (I) {
1856
1856
  }
1857
- if (y.size > 0)
1857
+ if (T.size > 0)
1858
1858
  try {
1859
- this.observer.emit("producer_score", y);
1859
+ this.observer.emit("producer_score", T);
1860
1860
  } catch (I) {
1861
1861
  }
1862
1862
  return d;
@@ -2126,7 +2126,7 @@ class of extends af {
2126
2126
  }
2127
2127
  parseRTCReport(e, r = [], i = !1, a = void 0, o = void 0) {
2128
2128
  var b, k, O, D, U, B, F, W, se, H, Z, Se, rt;
2129
- const c = e, d = new nf(), l = r.length ? new Set(r) : void 0, h = [], p = [], S = [], y = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map();
2129
+ const c = e, d = new nf(), l = r.length ? new Set(r) : void 0, h = [], p = [], S = [], T = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map();
2130
2130
  for (const I of c.values()) {
2131
2131
  if (l) {
2132
2132
  if (l.size === 0)
@@ -2425,7 +2425,7 @@ class of extends af {
2425
2425
  packetsSent: (te.packetsSent || 0) - (((x = this.videoProducerToStatsMap.get(v)) == null ? void 0 : x.packetsSent) || 0),
2426
2426
  packetsLost: (((ne = te.remoteData) == null ? void 0 : ne.packetsLost) || 0) - (((V = (de = this.videoProducerToStatsMap.get(v)) == null ? void 0 : de.remoteData) == null ? void 0 : V.packetsLost) || 0),
2427
2427
  framesEncoded: (te.framesEncoded || 0) - (((C = this.videoProducerToStatsMap.get(v)) == null ? void 0 : C.framesEncoded) || 0)
2428
- }), y.set(v, {
2428
+ }), T.set(v, {
2429
2429
  score: +(te.score * 10).toFixed(),
2430
2430
  frameWidth: te.frameWidth || 0,
2431
2431
  frameHeight: te.frameHeight || 0,
@@ -2447,7 +2447,7 @@ class of extends af {
2447
2447
  packetsSent: (me.packetsSent || 0) - (((qa = this.audioProducerToStatsMap.get(v)) == null ? void 0 : qa.packetsSent) || 0),
2448
2448
  packetsLost: (((Ga = me.remoteData) == null ? void 0 : Ga.packetsLost) || 0) - (((Ja = (Wa = this.audioProducerToStatsMap.get(v)) == null ? void 0 : Wa.remoteData) == null ? void 0 : Ja.packetsLost) || 0),
2449
2449
  jitter: ((Ka = me.remoteData) == null ? void 0 : Ka.jitter) || 0
2450
- }), y.set(v, {
2450
+ }), T.set(v, {
2451
2451
  score: +(me.score * 10).toFixed(),
2452
2452
  bitrate: ((me.bytesSent || 0) - (((za = this.audioProducerToStatsMap.get(v)) == null ? void 0 : za.bytesSent) || 0)) * 8 / 7,
2453
2453
  // Bytes received in last 7 seconds
@@ -2481,9 +2481,9 @@ class of extends af {
2481
2481
  this.observer.emit("consumer_score", E);
2482
2482
  } catch (I) {
2483
2483
  }
2484
- if (y.size > 0)
2484
+ if (T.size > 0)
2485
2485
  try {
2486
- this.observer.emit("producer_score", y);
2486
+ this.observer.emit("producer_score", T);
2487
2487
  } catch (I) {
2488
2488
  }
2489
2489
  return d;
@@ -2512,8 +2512,8 @@ class of extends af {
2512
2512
  let a;
2513
2513
  try {
2514
2514
  const { peerId: o, producerId: c, appData: d } = this.consumerPeerIdMap.get(i), l = r == null ? void 0 : r.inboundVideoRtpId.map((h) => {
2515
- const S = this.consumerMap.get(i).track.getSettings(), y = e.inboundVideoRtp.get(h);
2516
- return y.frameHeight || (y.frameHeight = S.height, y.frameWidth = S.width, y.framesPerSecond = S.frameRate), y;
2515
+ const S = this.consumerMap.get(i).track.getSettings(), T = e.inboundVideoRtp.get(h);
2516
+ return T.frameHeight || (T.frameHeight = S.height, T.frameWidth = S.width, T.framesPerSecond = S.frameRate), T;
2517
2517
  });
2518
2518
  a = {
2519
2519
  consumerId: i,
@@ -2895,10 +2895,19 @@ let G = class extends yt {
2895
2895
  const l = yield this.measurements.getProducersReport([...this.producers.values()]);
2896
2896
  i && l ? i.producerReport = l : (i = yield this.measurements.getProcessedStats(this.producingTransport, !1, !0), (!i || !(i != null && i.producerReport)) && this.logger.debug("callStats::sendPingStatsEvent::noProducingTransportReport", { disclaimer: "Stream maps invalid despite regenerating!" }));
2897
2897
  }
2898
- if (this.consumingTransport && (a = yield this.measurements.getProcessedStats(this.consumingTransport, !0, !1), !a || !((d = a.consumerReport) != null && d.length))) {
2899
- this.logger.debug("callStats::sendPingStatsEvent::staleConsumingTransport", { disclaimer: "Stale consumer? Regenerating Stream Maps!" });
2900
- const l = yield this.measurements.getConsumersReport([...this.consumers.values()]);
2901
- a && l ? a.consumerReport = l : (a = yield this.measurements.getProcessedStats(this.consumingTransport, !0, !1), (!a || !a.consumerReport) && this.logger.debug("callStats::sendPingStatsEvent::noConsumingTransportReport", { disclaimer: "Stream maps invalid despite regenerating!" }));
2898
+ if (this.consumingTransport) {
2899
+ const l = new Set(this.measurements.inboundConsumerMap.values()), h = [...this.consumers.values()].filter((S) => !S.paused && !l.has(S.id));
2900
+ if ((yield Promise.allSettled(h.map((S) => this.measurements.generateConsumerStreamMap(S)))).forEach((S, T) => {
2901
+ S.status === "rejected" && this.logger.error("callStats::sendPingStatsEvent::consumerGetStatsFailed", {
2902
+ consumerId: h[T].id,
2903
+ error: S.reason instanceof Error ? S.reason.message : String(S.reason),
2904
+ stack: S.reason instanceof Error ? S.reason.stack : void 0
2905
+ });
2906
+ }), a = yield this.measurements.getProcessedStats(this.consumingTransport, !0, !1), !a || !((d = a.consumerReport) != null && d.length)) {
2907
+ this.logger.debug("callStats::sendPingStatsEvent::staleConsumingTransport", { disclaimer: "Stale consumer? Regenerating Stream Maps!" });
2908
+ const S = yield this.measurements.getConsumersReport([...this.consumers.values()]);
2909
+ a && S ? a.consumerReport = S : (a = yield this.measurements.getProcessedStats(this.consumingTransport, !0, !1), (!a || !a.consumerReport) && this.logger.debug("callStats::sendPingStatsEvent::noConsumingTransportReport", { disclaimer: "Stream maps invalid despite regenerating!" }));
2910
+ }
2902
2911
  }
2903
2912
  const o = {
2904
2913
  producingTransportStats: i ? i == null ? void 0 : i.transportReport : void 0,
@@ -3200,7 +3209,7 @@ class cf extends yt {
3200
3209
  }
3201
3210
  initialize(S) {
3202
3211
  return u(this, arguments, function* ({ peerId: e, engineName: r, env: i = Gm.PROD, iceServers: a, apiBase: o = "https://api.cluster.dyte.in", flags: c, logger: d = console, apiHostnames: l, skipConnectivityChecks: h = !1, authToken: p }) {
3203
- var y, E, b;
3212
+ var T, E, b;
3204
3213
  try {
3205
3214
  if (this.peerId = e, this.logger = d, !p) {
3206
3215
  this.logger.error("callStats::initialize", {
@@ -3209,7 +3218,7 @@ class cf extends yt {
3209
3218
  }), this.stallCallStats();
3210
3219
  return;
3211
3220
  }
3212
- this.backend = new wT(o, r, i, c, d, e, l, p), this.iceServers = a, (y = this.backend) == null || y.registerIceServers(this.iceServers), this.initialized = !0, this.startPreCallTest(h), (b = (E = this.backend) == null ? void 0 : E.eventHandler) == null || b.emit("initialized"), this.emit("initialized");
3221
+ this.backend = new wT(o, r, i, c, d, e, l, p), this.iceServers = a, (T = this.backend) == null || T.registerIceServers(this.iceServers), this.initialized = !0, this.startPreCallTest(h), (b = (E = this.backend) == null ? void 0 : E.eventHandler) == null || b.emit("initialized"), this.emit("initialized");
3213
3222
  } catch (k) {
3214
3223
  this.logger.error("callStats::CallStatsIntegration", {
3215
3224
  peerId: this.peerId,
@@ -3479,7 +3488,7 @@ class cf extends yt {
3479
3488
  ivsPlayerEvent(e, r) {
3480
3489
  const i = new Date();
3481
3490
  this.onSafeInitialization(() => {
3482
- var a, o, c, d, l, h, p, S, y, E, b;
3491
+ var a, o, c, d, l, h, p, S, T, E, b;
3483
3492
  switch (e) {
3484
3493
  case "PlayerRebuffering":
3485
3494
  (a = this.backend) == null || a.sendIVSPlayerRebufferEvent(i);
@@ -3506,7 +3515,7 @@ class cf extends yt {
3506
3515
  (S = this.backend) == null || S.sendIVSPlayerRecoverableErrorEvent(r, i);
3507
3516
  break;
3508
3517
  case "PlayerAnalyticsEvent":
3509
- (y = this.backend) == null || y.sendIVSPlayerAnalyticsEvent(r, i);
3518
+ (T = this.backend) == null || T.sendIVSPlayerAnalyticsEvent(r, i);
3510
3519
  break;
3511
3520
  case "PlayerPlaybackRateChanged":
3512
3521
  (E = this.backend) == null || E.sendIVSPlayerPlaybackRateChangedEvent(r, i);
@@ -4609,9 +4618,9 @@ function yo(s, t, e, r, i, a) {
4609
4618
  }
4610
4619
  }
4611
4620
  a || (a = new fs());
4612
- var y = a.get(s);
4613
- if (y)
4614
- return y;
4621
+ var T = a.get(s);
4622
+ if (T)
4623
+ return T;
4615
4624
  a.set(s, o), $w(s) ? s.forEach(function(k) {
4616
4625
  o.add(yo(k, t, e, k, s, a));
4617
4626
  }) : Ow(s) && s.forEach(function(k, O) {
@@ -4661,7 +4670,7 @@ function Lf(s, t, e, r, i, a) {
4661
4670
  var l = a.get(s), h = a.get(t);
4662
4671
  if (l && h)
4663
4672
  return l == t && h == s;
4664
- var p = -1, S = !0, y = e & T_ ? new Oo() : void 0;
4673
+ var p = -1, S = !0, T = e & T_ ? new Oo() : void 0;
4665
4674
  for (a.set(s, t), a.set(t, s); ++p < c; ) {
4666
4675
  var E = s[p], b = t[p];
4667
4676
  if (r)
@@ -4672,10 +4681,10 @@ function Lf(s, t, e, r, i, a) {
4672
4681
  S = !1;
4673
4682
  break;
4674
4683
  }
4675
- if (y) {
4684
+ if (T) {
4676
4685
  if (!S_(t, function(O, D) {
4677
- if (!Nf(y, D) && (E === O || i(E, O, e, r, a)))
4678
- return y.push(D);
4686
+ if (!Nf(T, D) && (E === O || i(E, O, e, r, a)))
4687
+ return T.push(D);
4679
4688
  })) {
4680
4689
  S = !1;
4681
4690
  break;
@@ -4745,9 +4754,9 @@ function x_(s, t, e, r, i, a) {
4745
4754
  if (!(o ? S in t : $_.call(t, S)))
4746
4755
  return !1;
4747
4756
  }
4748
- var y = a.get(s), E = a.get(t);
4749
- if (y && E)
4750
- return y == t && E == s;
4757
+ var T = a.get(s), E = a.get(t);
4758
+ if (T && E)
4759
+ return T == t && E == s;
4751
4760
  var b = !0;
4752
4761
  a.set(s, t), a.set(t, s);
4753
4762
  for (var k = o; ++p < d; ) {
@@ -4780,9 +4789,9 @@ function B_(s, t, e, r, i, a) {
4780
4789
  if (S && !h)
4781
4790
  return a || (a = new fs()), o || lu(s) ? Lf(s, t, e, r, i, a) : N_(s, t, d, e, r, i, a);
4782
4791
  if (!(e & U_)) {
4783
- var y = h && Tg.call(s, "__wrapped__"), E = p && Tg.call(t, "__wrapped__");
4784
- if (y || E) {
4785
- var b = y ? s.value() : s, k = E ? t.value() : t;
4792
+ var T = h && Tg.call(s, "__wrapped__"), E = p && Tg.call(t, "__wrapped__");
4793
+ if (T || E) {
4794
+ var b = T ? s.value() : s, k = E ? t.value() : t;
4786
4795
  return a || (a = new fs()), i(b, k, e, r, a);
4787
4796
  }
4788
4797
  }
@@ -4899,12 +4908,12 @@ function hp(s, t, e) {
4899
4908
  if (typeof s != "function")
4900
4909
  throw new TypeError(oC);
4901
4910
  t = zp(t) || 0, ss(e) && (h = !!e.leading, p = "maxWait" in e, a = p ? cC(zp(e.maxWait) || 0, t) : a, S = "trailing" in e ? !!e.trailing : S);
4902
- function y(W) {
4911
+ function T(W) {
4903
4912
  var se = r, H = i;
4904
4913
  return r = i = void 0, l = W, o = s.apply(H, se), o;
4905
4914
  }
4906
4915
  function E(W) {
4907
- return l = W, c = setTimeout(O, t), h ? y(W) : o;
4916
+ return l = W, c = setTimeout(O, t), h ? T(W) : o;
4908
4917
  }
4909
4918
  function b(W) {
4910
4919
  var se = W - d, H = W - l, Z = t - se;
@@ -4921,7 +4930,7 @@ function hp(s, t, e) {
4921
4930
  c = setTimeout(O, b(W));
4922
4931
  }
4923
4932
  function D(W) {
4924
- return c = void 0, S && r ? y(W) : (r = i = void 0, o);
4933
+ return c = void 0, S && r ? T(W) : (r = i = void 0, o);
4925
4934
  }
4926
4935
  function U() {
4927
4936
  c !== void 0 && clearTimeout(c), l = 0, r = d = i = c = void 0;
@@ -4935,7 +4944,7 @@ function hp(s, t, e) {
4935
4944
  if (c === void 0)
4936
4945
  return E(d);
4937
4946
  if (p)
4938
- return clearTimeout(c), c = setTimeout(O, t), y(d);
4947
+ return clearTimeout(c), c = setTimeout(O, t), T(d);
4939
4948
  }
4940
4949
  return c === void 0 && (c = setTimeout(O, t)), o;
4941
4950
  }
@@ -4962,8 +4971,8 @@ function hC(s, t, e, r, i, a, o) {
4962
4971
  }
4963
4972
  var h = a ? a(c, d, e + "", s, t, o) : void 0, p = h === void 0;
4964
4973
  if (p) {
4965
- var S = Ut(d), y = !S && Da(d), E = !S && !y && lu(d);
4966
- h = d, S || y || E ? Ut(c) ? h = c : lC(c) ? h = hf(c) : y ? (p = !1, h = Cf(d, !0)) : E ? (p = !1, h = Af(d, !0)) : h = [] : bP(d) || Io(d) ? (h = c, Io(c) ? h = uC(c) : (!ss(c) || ep(c)) && (h = If(d))) : p = !1;
4974
+ var S = Ut(d), T = !S && Da(d), E = !S && !T && lu(d);
4975
+ h = d, S || T || E ? Ut(c) ? h = c : lC(c) ? h = hf(c) : T ? (p = !1, h = Cf(d, !0)) : E ? (p = !1, h = Af(d, !0)) : h = [] : bP(d) || Io(d) ? (h = c, Io(c) ? h = uC(c) : (!ss(c) || ep(c)) && (h = If(d))) : p = !1;
4967
4976
  }
4968
4977
  p && (o.set(d, h), i(h, d, r, a, o), o.delete(d)), zu(s, e, h);
4969
4978
  }
@@ -5716,7 +5725,7 @@ var FC = (s, t, e) => {
5716
5725
  const p = t.findIndex((k) => k === 0);
5717
5726
  if (p === -1)
5718
5727
  throw new Error("Invalid reducer provided, it must contain atleast one zero");
5719
- const S = 5 - p, y = p + 1, E = (100 - h) / S, b = h / y;
5728
+ const S = 5 - p, T = p + 1, E = (100 - h) / S, b = h / T;
5720
5729
  for (const k of t) {
5721
5730
  let O;
5722
5731
  k < 0 ? O = h + k * b * e : k > 0 ? O = h + k * E * e : O = h;
@@ -6115,8 +6124,8 @@ function XC(s, t = 2) {
6115
6124
  const Cg = 1080, Rg = 1920, ZC = (s, t, e, r, i, a) => {
6116
6125
  let o = 0.5, c = 0.5;
6117
6126
  const d = i, l = a, h = Math.min(e / d, r / l);
6118
- let p = d * h, S = l * h, y, E, b, k, O = 1;
6119
- return p < e && (O = e / p), Math.abs(O - 1) < 1e-14 && S < r && (O = r / S), p *= O, S *= O, b = d / (p / e), k = l / (S / r), y = (d - b) * o, E = (l - k) * c, y < 0 && (y = 0), E < 0 && (E = 0), b > d && (b = d), k > l && (k = l), [y, E, b, k, s, t, e, r];
6127
+ let p = d * h, S = l * h, T, E, b, k, O = 1;
6128
+ return p < e && (O = e / p), Math.abs(O - 1) < 1e-14 && S < r && (O = r / S), p *= O, S *= O, b = d / (p / e), k = l / (S / r), T = (d - b) * o, E = (l - k) * c, T < 0 && (T = 0), E < 0 && (E = 0), b > d && (b = d), k > l && (k = l), [T, E, b, k, s, t, e, r];
6120
6129
  };
6121
6130
  var wt, Lr, nt, Wt, ke, Jt, Js, $e, De, Vn, $n, xn, Ks, Un, Zd, xo;
6122
6131
  const Lp = class extends Bt {
@@ -6299,7 +6308,7 @@ const Lp = class extends Bt {
6299
6308
  drawEmptyTile(e, r, i, a) {
6300
6309
  if (n(this, wt) === void 0)
6301
6310
  return;
6302
- const o = n(this, wt).getContext("2d"), c = n(this, wt).width, d = 0, l = 0, h = r - d * 2, p = i - d * 2, S = Math.floor(c / h), y = Math.floor(e / S), b = e % S * (h + d) + d, k = y * (p + d) + d, { displayText: O, image: D } = a != null ? a : {};
6311
+ const o = n(this, wt).getContext("2d"), c = n(this, wt).width, d = 0, l = 0, h = r - d * 2, p = i - d * 2, S = Math.floor(c / h), T = Math.floor(e / S), b = e % S * (h + d) + d, k = T * (p + d) + d, { displayText: O, image: D } = a != null ? a : {};
6303
6312
  o.fillStyle = O || D ? n(this, Jt).videoBackground : n(this, Jt).background, o.strokeStyle = n(this, Jt).brand, o.beginPath(), o.moveTo(b + l, k), o.arcTo(b + h, k, b + h, k + l, l), o.arcTo(
6304
6313
  b + h,
6305
6314
  k + p,
@@ -6321,20 +6330,20 @@ const Lp = class extends Bt {
6321
6330
  const o = Math.min(Math.max(a * 0.15, 100), 200), c = o * 0.2, d = o * 0.2;
6322
6331
  let l = r + c;
6323
6332
  const h = i + c, p = (S) => {
6324
- const y = n(this, wt).getContext("2d");
6325
- y.save(), y.fillStyle = n(this, Jt).background, y.beginPath(), y.moveTo(l + d, h), y.arcTo(l + o, h, l + o, h + d, d), y.arcTo(
6333
+ const T = n(this, wt).getContext("2d");
6334
+ T.save(), T.fillStyle = n(this, Jt).background, T.beginPath(), T.moveTo(l + d, h), T.arcTo(l + o, h, l + o, h + d, d), T.arcTo(
6326
6335
  l + o,
6327
6336
  h + o,
6328
6337
  l + o - d,
6329
6338
  h + o,
6330
6339
  d
6331
- ), y.arcTo(l, h + o, l, h + o - d, d), y.arcTo(l, h, l + d, h, d), y.closePath(), y.fill(), typeof S == "string" ? (y.font = `${o / 1.5}px sans-serif`, y.fillStyle = n(this, Jt).text, y.textAlign = "center", y.textBaseline = "top", y.fillText(S, o / 2 + l, h + c)) : y.drawImage(
6340
+ ), T.arcTo(l, h + o, l, h + o - d, d), T.arcTo(l, h, l + d, h, d), T.closePath(), T.fill(), typeof S == "string" ? (T.font = `${o / 1.5}px sans-serif`, T.fillStyle = n(this, Jt).text, T.textAlign = "center", T.textBaseline = "top", T.fillText(S, o / 2 + l, h + c)) : T.drawImage(
6332
6341
  S,
6333
6342
  l + c,
6334
6343
  h + c,
6335
6344
  o - c * 2,
6336
6345
  o - c * 2
6337
- ), l += o + c, y.restore();
6346
+ ), l += o + c, T.restore();
6338
6347
  };
6339
6348
  e.pinned && p(n(this, $n)), e.handRaised && p(n(this, xn)), e.reaction && p(e.reaction);
6340
6349
  }
@@ -6351,7 +6360,7 @@ const Lp = class extends Bt {
6351
6360
  let p = 0;
6352
6361
  for (; p < n(this, ke).width - 5 && d < i; ) {
6353
6362
  if ((l = o[d]) != null && l.enabled) {
6354
- const S = o[d].element, [y, E, b, k, O, D, U, B] = ZC(
6363
+ const S = o[d].element, [T, E, b, k, O, D, U, B] = ZC(
6355
6364
  p,
6356
6365
  c,
6357
6366
  e,
@@ -6359,7 +6368,7 @@ const Lp = class extends Bt {
6359
6368
  S.videoWidth,
6360
6369
  S.videoHeight
6361
6370
  );
6362
- ((h = S == null ? void 0 : S.classList) == null ? void 0 : h.contains("mirror")) ? (a.save(), a.scale(-1, 1), a.drawImage(S, y, E, b, k, -1 * O, D, -1 * U, B), a.restore()) : a.drawImage(S, y, E, b, k, O, D, U, B), this.drawIcons(o[d], O, D, Math.max(U, B));
6371
+ ((h = S == null ? void 0 : S.classList) == null ? void 0 : h.contains("mirror")) ? (a.save(), a.scale(-1, 1), a.drawImage(S, T, E, b, k, -1 * O, D, -1 * U, B), a.restore()) : a.drawImage(S, T, E, b, k, O, D, U, B), this.drawIcons(o[d], O, D, Math.max(U, B));
6363
6372
  } else
6364
6373
  this.drawEmptyTile(d, e, r, o[d]);
6365
6374
  d += 1, p += e;
@@ -6553,7 +6562,7 @@ var Ls;
6553
6562
  (function(s) {
6554
6563
  s[s.AUDIO = 0] = "AUDIO", s[s.VIDEO = 1] = "VIDEO";
6555
6564
  })(Ls || (Ls = {}));
6556
- class eR extends T {
6565
+ class eR extends y {
6557
6566
  constructor() {
6558
6567
  super("media.Codec", [
6559
6568
  {
@@ -6598,7 +6607,7 @@ class eR extends T {
6598
6607
  }
6599
6608
  }
6600
6609
  const Gf = new eR();
6601
- class tR extends T {
6610
+ class tR extends y {
6602
6611
  constructor() {
6603
6612
  super("media.HeaderExtension", [
6604
6613
  {
@@ -6620,7 +6629,7 @@ class tR extends T {
6620
6629
  }
6621
6630
  }
6622
6631
  const sR = new tR();
6623
- class rR extends T {
6632
+ class rR extends y {
6624
6633
  constructor() {
6625
6634
  super("media.Fingerprint", [
6626
6635
  {
@@ -6641,7 +6650,7 @@ class rR extends T {
6641
6650
  }
6642
6651
  }
6643
6652
  new rR();
6644
- class iR extends T {
6653
+ class iR extends y {
6645
6654
  constructor() {
6646
6655
  super("media.SessionDescription", [
6647
6656
  { no: 1, name: "target", kind: "enum", T: () => ["media.Target", Sr] },
@@ -6663,7 +6672,7 @@ class iR extends T {
6663
6672
  }
6664
6673
  }
6665
6674
  const vs = new iR();
6666
- class nR extends T {
6675
+ class nR extends y {
6667
6676
  constructor() {
6668
6677
  super("media.ProducerPayload", [
6669
6678
  {
@@ -6714,7 +6723,7 @@ class nR extends T {
6714
6723
  }
6715
6724
  }
6716
6725
  const aR = new nR();
6717
- class oR extends T {
6726
+ class oR extends y {
6718
6727
  constructor() {
6719
6728
  super("media.CreateTransportRequest", [
6720
6729
  {
@@ -6746,7 +6755,7 @@ class oR extends T {
6746
6755
  }
6747
6756
  }
6748
6757
  const cR = new oR();
6749
- class dR extends T {
6758
+ class dR extends y {
6750
6759
  constructor() {
6751
6760
  super("media.AudioActivityRequest", [
6752
6761
  {
@@ -6774,7 +6783,7 @@ class dR extends T {
6774
6783
  }
6775
6784
  }
6776
6785
  const lR = new dR();
6777
- class uR extends T {
6786
+ class uR extends y {
6778
6787
  constructor() {
6779
6788
  super("media.CreateTransportResponse", [
6780
6789
  {
@@ -6805,7 +6814,7 @@ class uR extends T {
6805
6814
  }
6806
6815
  }
6807
6816
  const Wf = new uR();
6808
- class hR extends T {
6817
+ class hR extends y {
6809
6818
  constructor() {
6810
6819
  super("media.RenegotiateRequest", [
6811
6820
  {
@@ -6820,7 +6829,7 @@ class hR extends T {
6820
6829
  }
6821
6830
  }
6822
6831
  const pR = new hR();
6823
- class gR extends T {
6832
+ class gR extends y {
6824
6833
  constructor() {
6825
6834
  super("media.RenegotiateResponse", [
6826
6835
  {
@@ -6835,7 +6844,7 @@ class gR extends T {
6835
6844
  }
6836
6845
  }
6837
6846
  new gR();
6838
- class mR extends T {
6847
+ class mR extends y {
6839
6848
  constructor() {
6840
6849
  super("media.NestedScore", [
6841
6850
  {
@@ -6871,7 +6880,7 @@ class mR extends T {
6871
6880
  }
6872
6881
  }
6873
6882
  const fR = new mR();
6874
- class SR extends T {
6883
+ class SR extends y {
6875
6884
  constructor() {
6876
6885
  super("media.ProducerTrack", [
6877
6886
  {
@@ -6899,7 +6908,7 @@ class SR extends T {
6899
6908
  }
6900
6909
  }
6901
6910
  const vR = new SR();
6902
- class TR extends T {
6911
+ class TR extends y {
6903
6912
  constructor() {
6904
6913
  super("media.ProducerEntry", [
6905
6914
  {
@@ -6920,7 +6929,7 @@ class TR extends T {
6920
6929
  }
6921
6930
  }
6922
6931
  new TR();
6923
- class yR extends T {
6932
+ class yR extends y {
6924
6933
  constructor() {
6925
6934
  super("media.ConsumerEntry", [
6926
6935
  {
@@ -6941,7 +6950,7 @@ class yR extends T {
6941
6950
  }
6942
6951
  }
6943
6952
  new yR();
6944
- class ER extends T {
6953
+ class ER extends y {
6945
6954
  constructor() {
6946
6955
  super("media.ProducerState", [
6947
6956
  {
@@ -6995,7 +7004,7 @@ class ER extends T {
6995
7004
  }
6996
7005
  }
6997
7006
  const rd = new ER();
6998
- class PR extends T {
7007
+ class PR extends y {
6999
7008
  constructor() {
7000
7009
  super("media.ConsumerState", [
7001
7010
  {
@@ -7019,7 +7028,7 @@ class PR extends T {
7019
7028
  }
7020
7029
  }
7021
7030
  const wR = new PR();
7022
- class _R extends T {
7031
+ class _R extends y {
7023
7032
  constructor() {
7024
7033
  super("media.ProducerIdToConsumerMap", [
7025
7034
  { no: 1, name: "map", kind: "map", K: 9, V: { kind: "message", T: () => wR } }
@@ -7027,7 +7036,7 @@ class _R extends T {
7027
7036
  }
7028
7037
  }
7029
7038
  const Jf = new _R();
7030
- class CR extends T {
7039
+ class CR extends y {
7031
7040
  constructor() {
7032
7041
  super("media.PeerRtpCapabilitites", [
7033
7042
  { no: 1, name: "sender", kind: "message", T: () => bg },
@@ -7036,7 +7045,7 @@ class CR extends T {
7036
7045
  }
7037
7046
  }
7038
7047
  const Kf = new CR();
7039
- class RR extends T {
7048
+ class RR extends y {
7040
7049
  constructor() {
7041
7050
  super("media.RtpCapability", [
7042
7051
  { no: 1, name: "codecs", kind: "message", repeat: 1, T: () => Gf },
@@ -7045,7 +7054,7 @@ class RR extends T {
7045
7054
  }
7046
7055
  }
7047
7056
  const kg = new RR();
7048
- class kR extends T {
7057
+ class kR extends y {
7049
7058
  constructor() {
7050
7059
  super("media.RtpCapabilitites", [
7051
7060
  { no: 1, name: "audio", kind: "message", T: () => kg },
@@ -7054,7 +7063,7 @@ class kR extends T {
7054
7063
  }
7055
7064
  }
7056
7065
  const bg = new kR();
7057
- class bR extends T {
7066
+ class bR extends y {
7058
7067
  constructor() {
7059
7068
  super("media.PreferredCodec", [
7060
7069
  {
@@ -7077,7 +7086,7 @@ class bR extends T {
7077
7086
  }
7078
7087
  }
7079
7088
  const AR = new bR();
7080
- class IR extends T {
7089
+ class IR extends y {
7081
7090
  constructor() {
7082
7091
  super("media.Simulcast", [
7083
7092
  {
@@ -7108,7 +7117,7 @@ class IR extends T {
7108
7117
  }
7109
7118
  }
7110
7119
  const zf = new IR();
7111
- class MR extends T {
7120
+ class MR extends y {
7112
7121
  constructor() {
7113
7122
  super("media.edge.GeoLocation", [
7114
7123
  {
@@ -7137,7 +7146,7 @@ class MR extends T {
7137
7146
  }
7138
7147
  }
7139
7148
  const DR = new MR();
7140
- class OR extends T {
7149
+ class OR extends y {
7141
7150
  constructor() {
7142
7151
  super("media.edge.PeerJoinRequest", [
7143
7152
  {
@@ -7200,13 +7209,13 @@ class OR extends T {
7200
7209
  }
7201
7210
  }
7202
7211
  const NR = new OR();
7203
- class LR extends T {
7212
+ class LR extends y {
7204
7213
  constructor() {
7205
7214
  super("media.edge.PeerJoinCompleteRequest", []);
7206
7215
  }
7207
7216
  }
7208
7217
  const VR = new LR();
7209
- class $R extends T {
7218
+ class $R extends y {
7210
7219
  constructor() {
7211
7220
  super("media.edge.PeerLeaveRequest", [
7212
7221
  {
@@ -7220,7 +7229,7 @@ class $R extends T {
7220
7229
  }
7221
7230
  }
7222
7231
  const xR = new $R();
7223
- class UR extends T {
7232
+ class UR extends y {
7224
7233
  constructor() {
7225
7234
  super("media.edge.ConsumeMultipleProducerRequest", [
7226
7235
  {
@@ -7243,7 +7252,7 @@ class UR extends T {
7243
7252
  }
7244
7253
  }
7245
7254
  new UR();
7246
- class HR extends T {
7255
+ class HR extends y {
7247
7256
  constructor() {
7248
7257
  super("media.edge.ConsumePeerRequest", [
7249
7258
  {
@@ -7283,7 +7292,7 @@ class HR extends T {
7283
7292
  }
7284
7293
  }
7285
7294
  const BR = new HR();
7286
- class FR extends T {
7295
+ class FR extends y {
7287
7296
  constructor() {
7288
7297
  super("media.edge.ConsumePeersRequest", [
7289
7298
  { no: 1, name: "requests", kind: "message", repeat: 1, T: () => BR },
@@ -7299,7 +7308,7 @@ class FR extends T {
7299
7308
  }
7300
7309
  }
7301
7310
  const jR = new FR();
7302
- class qR extends T {
7311
+ class qR extends y {
7303
7312
  constructor() {
7304
7313
  super("media.edge.UpdateConsumerSimulcastConfigRequest", [
7305
7314
  {
@@ -7328,7 +7337,7 @@ class qR extends T {
7328
7337
  }
7329
7338
  }
7330
7339
  const GR = new qR();
7331
- class WR extends T {
7340
+ class WR extends y {
7332
7341
  constructor() {
7333
7342
  super("media.edge.UpdateConsumersSimulcastConfigRequest", [
7334
7343
  { no: 1, name: "requests", kind: "message", repeat: 1, T: () => GR },
@@ -7344,7 +7353,7 @@ class WR extends T {
7344
7353
  }
7345
7354
  }
7346
7355
  const JR = new WR();
7347
- class KR extends T {
7356
+ class KR extends y {
7348
7357
  constructor() {
7349
7358
  super("media.edge.ProducerCreateRequest", [
7350
7359
  {
@@ -7404,13 +7413,13 @@ class KR extends T {
7404
7413
  }
7405
7414
  }
7406
7415
  const zR = new KR();
7407
- class YR extends T {
7416
+ class YR extends y {
7408
7417
  constructor() {
7409
7418
  super("media.edge.SelectedPeersRequest", []);
7410
7419
  }
7411
7420
  }
7412
7421
  new YR();
7413
- class QR extends T {
7422
+ class QR extends y {
7414
7423
  constructor() {
7415
7424
  super("media.edge.GlobalPeerPinningRequest", [
7416
7425
  {
@@ -7424,7 +7433,7 @@ class QR extends T {
7424
7433
  }
7425
7434
  }
7426
7435
  const XR = new QR();
7427
- class ZR extends T {
7436
+ class ZR extends y {
7428
7437
  constructor() {
7429
7438
  super("media.edge.ProducerToggleRequest", [
7430
7439
  {
@@ -7445,7 +7454,7 @@ class ZR extends T {
7445
7454
  }
7446
7455
  }
7447
7456
  const gd = new ZR();
7448
- class ek extends T {
7457
+ class ek extends y {
7449
7458
  constructor() {
7450
7459
  super("media.edge.ConsumerToggleRequest", [
7451
7460
  {
@@ -7466,7 +7475,7 @@ class ek extends T {
7466
7475
  }
7467
7476
  }
7468
7477
  new ek();
7469
- class tk extends T {
7478
+ class tk extends y {
7470
7479
  constructor() {
7471
7480
  super("media.edge.ProducerCloseRequest", [
7472
7481
  {
@@ -7489,7 +7498,7 @@ class tk extends T {
7489
7498
  }
7490
7499
  }
7491
7500
  const sk = new tk();
7492
- class rk extends T {
7501
+ class rk extends y {
7493
7502
  constructor() {
7494
7503
  super("media.edge.ConsumerCloseRequest", [
7495
7504
  {
@@ -7513,7 +7522,7 @@ class rk extends T {
7513
7522
  }
7514
7523
  }
7515
7524
  const ik = new rk();
7516
- class nk extends T {
7525
+ class nk extends y {
7517
7526
  constructor() {
7518
7527
  super("media.edge.KickPeerRequest", [
7519
7528
  {
@@ -7527,7 +7536,7 @@ class nk extends T {
7527
7536
  }
7528
7537
  }
7529
7538
  new nk();
7530
- class ak extends T {
7539
+ class ak extends y {
7531
7540
  constructor() {
7532
7541
  super("media.edge.KickAllPeersRequest", [
7533
7542
  {
@@ -7541,7 +7550,7 @@ class ak extends T {
7541
7550
  }
7542
7551
  }
7543
7552
  const Yf = new ak();
7544
- class ok extends T {
7553
+ class ok extends y {
7545
7554
  constructor() {
7546
7555
  super("media.edge.PeerDisplayNameEditRequest", [
7547
7556
  {
@@ -7562,7 +7571,7 @@ class ok extends T {
7562
7571
  }
7563
7572
  }
7564
7573
  const ck = new ok();
7565
- class dk extends T {
7574
+ class dk extends y {
7566
7575
  constructor() {
7567
7576
  super("media.edge.HostMediaControlForPeerRequest", [
7568
7577
  {
@@ -7597,7 +7606,7 @@ class dk extends T {
7597
7606
  }
7598
7607
  }
7599
7608
  const lk = new dk();
7600
- class uk extends T {
7609
+ class uk extends y {
7601
7610
  constructor() {
7602
7611
  super("media.edge.HostMediaControlForAllPeerRequest", [
7603
7612
  {
@@ -7625,7 +7634,7 @@ class uk extends T {
7625
7634
  }
7626
7635
  }
7627
7636
  const hk = new uk();
7628
- class pk extends T {
7637
+ class pk extends y {
7629
7638
  constructor() {
7630
7639
  super("media.edge.GetRoomStateResponse", [
7631
7640
  {
@@ -7691,7 +7700,7 @@ class pk extends T {
7691
7700
  }
7692
7701
  }
7693
7702
  const gk = new pk();
7694
- class mk extends T {
7703
+ class mk extends y {
7695
7704
  constructor() {
7696
7705
  super("media.edge.ErrorResponse", [
7697
7706
  {
@@ -7712,13 +7721,13 @@ class mk extends T {
7712
7721
  }
7713
7722
  }
7714
7723
  const fk = new mk();
7715
- class Sk extends T {
7724
+ class Sk extends y {
7716
7725
  constructor() {
7717
7726
  super("media.edge.EmptyResponse", []);
7718
7727
  }
7719
7728
  }
7720
7729
  new Sk();
7721
- class vk extends T {
7730
+ class vk extends y {
7722
7731
  constructor() {
7723
7732
  super("media.edge.RoomParticipants", [
7724
7733
  {
@@ -7749,7 +7758,7 @@ class vk extends T {
7749
7758
  }
7750
7759
  }
7751
7760
  const Qf = new vk();
7752
- class Tk extends T {
7761
+ class Tk extends y {
7753
7762
  constructor() {
7754
7763
  super("media.edge.SelectedPeersResponse", [
7755
7764
  {
@@ -7772,7 +7781,7 @@ class Tk extends T {
7772
7781
  }
7773
7782
  }
7774
7783
  const Zu = new Tk();
7775
- class yk extends T {
7784
+ class yk extends y {
7776
7785
  constructor() {
7777
7786
  super("media.edge.SelectedPeersDiffEntry", [
7778
7787
  {
@@ -7793,7 +7802,7 @@ class yk extends T {
7793
7802
  }
7794
7803
  }
7795
7804
  const Ek = new yk();
7796
- class Pk extends T {
7805
+ class Pk extends y {
7797
7806
  constructor() {
7798
7807
  super("media.edge.SelectedPeersDiffResponse", [
7799
7808
  { no: 1, name: "entries", kind: "message", repeat: 1, T: () => Ek }
@@ -7801,13 +7810,13 @@ class Pk extends T {
7801
7810
  }
7802
7811
  }
7803
7812
  const Ag = new Pk();
7804
- class wk extends T {
7813
+ class wk extends y {
7805
7814
  constructor() {
7806
7815
  super("media.edge.PeerJoinResponse", []);
7807
7816
  }
7808
7817
  }
7809
7818
  new wk();
7810
- class _k extends T {
7819
+ class _k extends y {
7811
7820
  constructor() {
7812
7821
  super("media.edge.PeerJoinCompleteResponse", [
7813
7822
  { no: 1, name: "room_state", kind: "message", T: () => gk },
@@ -7824,7 +7833,7 @@ class _k extends T {
7824
7833
  }
7825
7834
  }
7826
7835
  const eh = new _k();
7827
- class Ck extends T {
7836
+ class Ck extends y {
7828
7837
  constructor() {
7829
7838
  super("media.edge.PeerLeaveResponse", [
7830
7839
  {
@@ -7838,7 +7847,7 @@ class Ck extends T {
7838
7847
  }
7839
7848
  }
7840
7849
  new Ck();
7841
- class Rk extends T {
7850
+ class Rk extends y {
7842
7851
  constructor() {
7843
7852
  super("media.edge.ConsumeMultipleProducerResponse", [
7844
7853
  {
@@ -7853,7 +7862,7 @@ class Rk extends T {
7853
7862
  }
7854
7863
  }
7855
7864
  new Rk();
7856
- class kk extends T {
7865
+ class kk extends y {
7857
7866
  constructor() {
7858
7867
  super("media.edge.ConsumePeerResponse", [
7859
7868
  {
@@ -7869,7 +7878,7 @@ class kk extends T {
7869
7878
  }
7870
7879
  }
7871
7880
  const bk = new kk();
7872
- class Ak extends T {
7881
+ class Ak extends y {
7873
7882
  constructor() {
7874
7883
  super("media.edge.ProducerCreateResponse", [
7875
7884
  {
@@ -7891,7 +7900,7 @@ class Ak extends T {
7891
7900
  }
7892
7901
  }
7893
7902
  const Ik = new Ak();
7894
- class Mk extends T {
7903
+ class Mk extends y {
7895
7904
  constructor() {
7896
7905
  super("media.edge.ProducerScoreResponse", [
7897
7906
  {
@@ -7906,7 +7915,7 @@ class Mk extends T {
7906
7915
  }
7907
7916
  }
7908
7917
  new Mk();
7909
- class Dk extends T {
7918
+ class Dk extends y {
7910
7919
  constructor() {
7911
7920
  super("media.edge.ActiveSpeakerResponse", [
7912
7921
  {
@@ -7927,25 +7936,25 @@ class Dk extends T {
7927
7936
  }
7928
7937
  }
7929
7938
  new Dk();
7930
- class Ok extends T {
7939
+ class Ok extends y {
7931
7940
  constructor() {
7932
7941
  super("media.edge.NoActiveSpeakerResponse", []);
7933
7942
  }
7934
7943
  }
7935
7944
  new Ok();
7936
- class Nk extends T {
7945
+ class Nk extends y {
7937
7946
  constructor() {
7938
7947
  super("media.edge.ProducerToggleResponse", []);
7939
7948
  }
7940
7949
  }
7941
7950
  new Nk();
7942
- class Lk extends T {
7951
+ class Lk extends y {
7943
7952
  constructor() {
7944
7953
  super("media.edge.ConsumerToggleResponse", []);
7945
7954
  }
7946
7955
  }
7947
7956
  new Lk();
7948
- class Vk extends T {
7957
+ class Vk extends y {
7949
7958
  constructor() {
7950
7959
  super("media.edge.ProducerClosingResponse", [
7951
7960
  { no: 1, name: "description", kind: "message", T: () => vs }
@@ -7953,7 +7962,7 @@ class Vk extends T {
7953
7962
  }
7954
7963
  }
7955
7964
  const $k = new Vk();
7956
- class xk extends T {
7965
+ class xk extends y {
7957
7966
  constructor() {
7958
7967
  super("media.edge.ConsumerClosingResponse", [
7959
7968
  { no: 1, name: "description", kind: "message", T: () => vs }
@@ -7961,13 +7970,13 @@ class xk extends T {
7961
7970
  }
7962
7971
  }
7963
7972
  const Uk = new xk();
7964
- class Hk extends T {
7973
+ class Hk extends y {
7965
7974
  constructor() {
7966
7975
  super("media.edge.GlobalPeerPinningResponse", []);
7967
7976
  }
7968
7977
  }
7969
7978
  new Hk();
7970
- class Bk extends T {
7979
+ class Bk extends y {
7971
7980
  constructor() {
7972
7981
  super("media.edge.KickPeerResponse", [
7973
7982
  {
@@ -7981,7 +7990,7 @@ class Bk extends T {
7981
7990
  }
7982
7991
  }
7983
7992
  new Bk();
7984
- class Fk extends T {
7993
+ class Fk extends y {
7985
7994
  constructor() {
7986
7995
  super("media.edge.KickAllPeersResponse", [
7987
7996
  {
@@ -7995,7 +8004,7 @@ class Fk extends T {
7995
8004
  }
7996
8005
  }
7997
8006
  new Fk();
7998
- class jk extends T {
8007
+ class jk extends y {
7999
8008
  constructor() {
8000
8009
  super("media.edge.HostMediaControlForPeerResponse", [
8001
8010
  {
@@ -8009,7 +8018,7 @@ class jk extends T {
8009
8018
  }
8010
8019
  }
8011
8020
  const qk = new jk();
8012
- class Gk extends T {
8021
+ class Gk extends y {
8013
8022
  constructor() {
8014
8023
  super("media.edge.HostMediaControlForAllPeerResponse", [
8015
8024
  {
@@ -8023,7 +8032,7 @@ class Gk extends T {
8023
8032
  }
8024
8033
  }
8025
8034
  const Wk = new Gk();
8026
- class Jk extends T {
8035
+ class Jk extends y {
8027
8036
  constructor() {
8028
8037
  super("media.edge.PeerDisplayNameEditResponse", [
8029
8038
  {
@@ -8037,7 +8046,7 @@ class Jk extends T {
8037
8046
  }
8038
8047
  }
8039
8048
  const Kk = new Jk();
8040
- class zk extends T {
8049
+ class zk extends y {
8041
8050
  constructor() {
8042
8051
  super("media.edge.PeerJoinBroadcastResponse", [
8043
8052
  { no: 1, name: "participant", kind: "message", T: () => Qf },
@@ -8053,7 +8062,7 @@ class zk extends T {
8053
8062
  }
8054
8063
  }
8055
8064
  const Ig = new zk();
8056
- class Yk extends T {
8065
+ class Yk extends y {
8057
8066
  constructor() {
8058
8067
  super("media.edge.TrackSubscriptionKind", [
8059
8068
  {
@@ -8074,7 +8083,7 @@ class Yk extends T {
8074
8083
  }
8075
8084
  }
8076
8085
  const Mg = new Yk();
8077
- class Qk extends T {
8086
+ class Qk extends y {
8078
8087
  constructor() {
8079
8088
  super("media.edge.TrackSubscription", [
8080
8089
  {
@@ -8090,7 +8099,7 @@ class Qk extends T {
8090
8099
  }
8091
8100
  }
8092
8101
  const Xk = new Qk();
8093
- class Zk extends T {
8102
+ class Zk extends y {
8094
8103
  constructor() {
8095
8104
  super("media.edge.PeerProducingTransportCreateBroadcastResponse", [
8096
8105
  {
@@ -8106,7 +8115,7 @@ class Zk extends T {
8106
8115
  }
8107
8116
  }
8108
8117
  new Zk();
8109
- class eb extends T {
8118
+ class eb extends y {
8110
8119
  constructor() {
8111
8120
  super("media.edge.PeerProducerCreateBroadcastResponse", [
8112
8121
  {
@@ -8129,7 +8138,7 @@ class eb extends T {
8129
8138
  }
8130
8139
  }
8131
8140
  const tb = new eb();
8132
- class sb extends T {
8141
+ class sb extends y {
8133
8142
  constructor() {
8134
8143
  super("media.edge.PeerProducerToggleBroadcastResponse", [
8135
8144
  {
@@ -8152,7 +8161,7 @@ class sb extends T {
8152
8161
  }
8153
8162
  }
8154
8163
  const Dg = new sb();
8155
- class rb extends T {
8164
+ class rb extends y {
8156
8165
  constructor() {
8157
8166
  super("media.edge.PeerProducerCloseBroadcastResponse", [
8158
8167
  {
@@ -8167,7 +8176,7 @@ class rb extends T {
8167
8176
  }
8168
8177
  }
8169
8178
  const ib = new rb();
8170
- class nb extends T {
8179
+ class nb extends y {
8171
8180
  constructor() {
8172
8181
  super("media.edge.PeerLeaveBroadcastResponse", [
8173
8182
  {
@@ -8181,7 +8190,7 @@ class nb extends T {
8181
8190
  }
8182
8191
  }
8183
8192
  const th = new nb();
8184
- class ab extends T {
8193
+ class ab extends y {
8185
8194
  constructor() {
8186
8195
  super("media.edge.GlobalPeerPinningBroadcastResponse", [
8187
8196
  {
@@ -8195,7 +8204,7 @@ class ab extends T {
8195
8204
  }
8196
8205
  }
8197
8206
  const Og = new ab();
8198
- class ob extends T {
8207
+ class ob extends y {
8199
8208
  constructor() {
8200
8209
  super("media.edge.GlobalPeerUnPinningBroadcastResponse", [
8201
8210
  {
@@ -8209,7 +8218,7 @@ class ob extends T {
8209
8218
  }
8210
8219
  }
8211
8220
  new ob();
8212
- class cb extends T {
8221
+ class cb extends y {
8213
8222
  constructor() {
8214
8223
  super("media.edge.RecordingStartedBroadcastResponse", [
8215
8224
  {
@@ -8223,7 +8232,7 @@ class cb extends T {
8223
8232
  }
8224
8233
  }
8225
8234
  new cb();
8226
- class db extends T {
8235
+ class db extends y {
8227
8236
  constructor() {
8228
8237
  super("media.edge.RecordingStoppedBroadcastResponse", [
8229
8238
  {
@@ -8237,7 +8246,7 @@ class db extends T {
8237
8246
  }
8238
8247
  }
8239
8248
  new db();
8240
- class lb extends T {
8249
+ class lb extends y {
8241
8250
  constructor() {
8242
8251
  super("media.edge.PeerDisplayNameEditBroadcastResponse", [
8243
8252
  {
@@ -8258,7 +8267,7 @@ class lb extends T {
8258
8267
  }
8259
8268
  }
8260
8269
  new lb();
8261
- class ub extends T {
8270
+ class ub extends y {
8262
8271
  constructor() {
8263
8272
  super("media.edge.PeerPingRequestBroadcastResponse", [
8264
8273
  {
@@ -8272,7 +8281,7 @@ class ub extends T {
8272
8281
  }
8273
8282
  }
8274
8283
  new ub();
8275
- class hb extends T {
8284
+ class hb extends y {
8276
8285
  constructor() {
8277
8286
  super("media.edge.MediaRoomTerminationBroadcastResponse", [
8278
8287
  {
@@ -8286,7 +8295,7 @@ class hb extends T {
8286
8295
  }
8287
8296
  }
8288
8297
  new hb();
8289
- class pb extends T {
8298
+ class pb extends y {
8290
8299
  constructor() {
8291
8300
  super("socket.ai.TranscriptSpeaker", [
8292
8301
  {
@@ -8321,7 +8330,7 @@ class pb extends T {
8321
8330
  }
8322
8331
  }
8323
8332
  const gb = new pb();
8324
- class mb extends T {
8333
+ class mb extends y {
8325
8334
  constructor() {
8326
8335
  super("socket.ai.MeetingTranscript", [
8327
8336
  {
@@ -8380,7 +8389,7 @@ class mb extends T {
8380
8389
  }
8381
8390
  }
8382
8391
  const Nu = new mb();
8383
- class fb extends T {
8392
+ class fb extends y {
8384
8393
  constructor() {
8385
8394
  super("socket.api.BaseSocketHubMessage", [
8386
8395
  {
@@ -8445,7 +8454,7 @@ class fb extends T {
8445
8454
  }
8446
8455
  }
8447
8456
  new fb();
8448
- class Sb extends T {
8457
+ class Sb extends y {
8449
8458
  constructor() {
8450
8459
  super("socket.api.ErrorMessage", [
8451
8460
  {
@@ -8487,7 +8496,7 @@ var Bd;
8487
8496
  (function(s) {
8488
8497
  s[s.HIVE = 0] = "HIVE", s[s.CHAT = 1] = "CHAT", s[s.PING = 2] = "PING";
8489
8498
  })(Bd || (Bd = {}));
8490
- class Tb extends T {
8499
+ class Tb extends y {
8491
8500
  constructor() {
8492
8501
  super("socket.room.PeerFlags", [
8493
8502
  {
@@ -8515,7 +8524,7 @@ class Tb extends T {
8515
8524
  }
8516
8525
  }
8517
8526
  const yb = new Tb();
8518
- class Eb extends T {
8527
+ class Eb extends y {
8519
8528
  constructor() {
8520
8529
  super("socket.room.Peer", [
8521
8530
  {
@@ -8576,7 +8585,7 @@ class Eb extends T {
8576
8585
  }
8577
8586
  }
8578
8587
  const fu = new Eb();
8579
- class Pb extends T {
8588
+ class Pb extends y {
8580
8589
  constructor() {
8581
8590
  super("socket.room.PeerInfoResponse", [
8582
8591
  { no: 1, name: "peer", kind: "message", T: () => fu }
@@ -8584,7 +8593,7 @@ class Pb extends T {
8584
8593
  }
8585
8594
  }
8586
8595
  const En = new Pb();
8587
- class wb extends T {
8596
+ class wb extends y {
8588
8597
  constructor() {
8589
8598
  super("socket.room.PeerStatusUpdate", [
8590
8599
  {
@@ -8606,7 +8615,7 @@ class wb extends T {
8606
8615
  }
8607
8616
  }
8608
8617
  const Ng = new wb();
8609
- class _b extends T {
8618
+ class _b extends y {
8610
8619
  constructor() {
8611
8620
  super("socket.room.RoomPeersInfoRequest", [
8612
8621
  {
@@ -8634,7 +8643,7 @@ class _b extends T {
8634
8643
  }
8635
8644
  }
8636
8645
  const Cb = new _b();
8637
- class Rb extends T {
8646
+ class Rb extends y {
8638
8647
  constructor() {
8639
8648
  super("socket.room.RoomPeersInfoResponse", [
8640
8649
  { no: 1, name: "peers", kind: "message", repeat: 1, T: () => fu }
@@ -8642,7 +8651,7 @@ class Rb extends T {
8642
8651
  }
8643
8652
  }
8644
8653
  const Lu = new Rb();
8645
- class kb extends T {
8654
+ class kb extends y {
8646
8655
  constructor() {
8647
8656
  super("socket.room.RoomPeerCountResponse", [
8648
8657
  {
@@ -8657,7 +8666,7 @@ class kb extends T {
8657
8666
  }
8658
8667
  }
8659
8668
  const Lg = new kb();
8660
- class bb extends T {
8669
+ class bb extends y {
8661
8670
  constructor() {
8662
8671
  super("socket.room.Room", [
8663
8672
  {
@@ -8695,7 +8704,7 @@ class bb extends T {
8695
8704
  }
8696
8705
  }
8697
8706
  const Xf = new bb();
8698
- class Ab extends T {
8707
+ class Ab extends y {
8699
8708
  constructor() {
8700
8709
  super("socket.room.ActiveRecording", [
8701
8710
  {
@@ -8717,7 +8726,7 @@ class Ab extends T {
8717
8726
  }
8718
8727
  }
8719
8728
  const Ib = new Ab();
8720
- class Mb extends T {
8729
+ class Mb extends y {
8721
8730
  constructor() {
8722
8731
  super("socket.room.RoomInfoResponse", [
8723
8732
  { no: 1, name: "room", kind: "message", T: () => Xf }
@@ -8725,7 +8734,7 @@ class Mb extends T {
8725
8734
  }
8726
8735
  }
8727
8736
  const Vg = new Mb();
8728
- class Db extends T {
8737
+ class Db extends y {
8729
8738
  constructor() {
8730
8739
  super("socket.room.GetPeerInfoRequest", [
8731
8740
  {
@@ -8739,7 +8748,7 @@ class Db extends T {
8739
8748
  }
8740
8749
  }
8741
8750
  const Zf = new Db();
8742
- class Ob extends T {
8751
+ class Ob extends y {
8743
8752
  constructor() {
8744
8753
  super("socket.room.UpdatePeerInfoRequest", [
8745
8754
  {
@@ -8761,7 +8770,7 @@ class Ob extends T {
8761
8770
  }
8762
8771
  }
8763
8772
  new Ob();
8764
- class Nb extends T {
8773
+ class Nb extends y {
8765
8774
  constructor() {
8766
8775
  super("socket.room.JoinRoomRequest", [
8767
8776
  { no: 1, name: "peer", kind: "message", T: () => fu },
@@ -8810,7 +8819,7 @@ class Nb extends T {
8810
8819
  }
8811
8820
  }
8812
8821
  const Lb = new Nb();
8813
- class Vb extends T {
8822
+ class Vb extends y {
8814
8823
  constructor() {
8815
8824
  super("socket.room.LeaveRoomRequest", [
8816
8825
  { no: 1, name: "peer", kind: "message", T: () => fu },
@@ -8827,7 +8836,7 @@ class Vb extends T {
8827
8836
  }
8828
8837
  }
8829
8838
  const $b = new Vb();
8830
- class xb extends T {
8839
+ class xb extends y {
8831
8840
  constructor() {
8832
8841
  super("socket.room.UpdateRoomInfoRequest", [
8833
8842
  { no: 1, name: "room", kind: "message", T: () => Xf }
@@ -8835,13 +8844,13 @@ class xb extends T {
8835
8844
  }
8836
8845
  }
8837
8846
  const md = new xb();
8838
- class Ub extends T {
8847
+ class Ub extends y {
8839
8848
  constructor() {
8840
8849
  super("socket.room.GetConnectedRoomsDumpRequest", []);
8841
8850
  }
8842
8851
  }
8843
8852
  new Ub();
8844
- class Hb extends T {
8853
+ class Hb extends y {
8845
8854
  constructor() {
8846
8855
  super("socket.room.ServiceError", [
8847
8856
  {
@@ -8864,7 +8873,7 @@ class Hb extends T {
8864
8873
  }
8865
8874
  }
8866
8875
  const mp = new Hb();
8867
- class Bb extends T {
8876
+ class Bb extends y {
8868
8877
  constructor() {
8869
8878
  super("socket.room.ConnectedMeetingPeer", [
8870
8879
  {
@@ -8911,7 +8920,7 @@ class Bb extends T {
8911
8920
  }
8912
8921
  }
8913
8922
  const Fb = new Bb();
8914
- class jb extends T {
8923
+ class jb extends y {
8915
8924
  constructor() {
8916
8925
  super("socket.room.ConnectedMeetingDump", [
8917
8926
  {
@@ -8935,7 +8944,7 @@ class jb extends T {
8935
8944
  }
8936
8945
  }
8937
8946
  const $g = new jb();
8938
- class qb extends T {
8947
+ class qb extends y {
8939
8948
  constructor() {
8940
8949
  super("socket.room.GetConnectedRoomsDumpResponse", [
8941
8950
  { no: 1, name: "parent_meeting", kind: "message", T: () => $g },
@@ -8944,7 +8953,7 @@ class qb extends T {
8944
8953
  }
8945
8954
  }
8946
8955
  const Gb = new qb();
8947
- class Wb extends T {
8956
+ class Wb extends y {
8948
8957
  constructor() {
8949
8958
  super("socket.room.CreateRoomRequestPayload", [
8950
8959
  {
@@ -8959,7 +8968,7 @@ class Wb extends T {
8959
8968
  }
8960
8969
  }
8961
8970
  const Jb = new Wb();
8962
- class Kb extends T {
8971
+ class Kb extends y {
8963
8972
  constructor() {
8964
8973
  super("socket.room.CreateConnectedRoomsRequest", [
8965
8974
  { no: 1, name: "payloads", kind: "message", repeat: 1, T: () => Jb }
@@ -8967,7 +8976,7 @@ class Kb extends T {
8967
8976
  }
8968
8977
  }
8969
8978
  const zb = new Kb();
8970
- class Yb extends T {
8979
+ class Yb extends y {
8971
8980
  constructor() {
8972
8981
  super("socket.room.CreateRoomResponsePayload", [
8973
8982
  {
@@ -8991,7 +9000,7 @@ class Yb extends T {
8991
9000
  }
8992
9001
  }
8993
9002
  const Qb = new Yb();
8994
- class Xb extends T {
9003
+ class Xb extends y {
8995
9004
  constructor() {
8996
9005
  super("socket.room.CreateConnectedRoomsResponse", [
8997
9006
  { no: 1, name: "payloads", kind: "message", repeat: 1, T: () => Qb }
@@ -8999,7 +9008,7 @@ class Xb extends T {
8999
9008
  }
9000
9009
  }
9001
9010
  const Zb = new Xb();
9002
- class eA extends T {
9011
+ class eA extends y {
9003
9012
  constructor() {
9004
9013
  super("socket.room.UpdateRoomRequestPayload", [
9005
9014
  {
@@ -9022,7 +9031,7 @@ class eA extends T {
9022
9031
  }
9023
9032
  }
9024
9033
  const tA = new eA();
9025
- class sA extends T {
9034
+ class sA extends y {
9026
9035
  constructor() {
9027
9036
  super("socket.room.UpdateConnectedRoomsRequest", [
9028
9037
  { no: 1, name: "payloads", kind: "message", repeat: 1, T: () => tA }
@@ -9030,7 +9039,7 @@ class sA extends T {
9030
9039
  }
9031
9040
  }
9032
9041
  const rA = new sA();
9033
- class iA extends T {
9042
+ class iA extends y {
9034
9043
  constructor() {
9035
9044
  super("socket.room.DisableRoomPayload", [
9036
9045
  {
@@ -9045,7 +9054,7 @@ class iA extends T {
9045
9054
  }
9046
9055
  }
9047
9056
  const nA = new iA();
9048
- class aA extends T {
9057
+ class aA extends y {
9049
9058
  constructor() {
9050
9059
  super("socket.room.DisableConnectedRoomsRequest", [
9051
9060
  { no: 1, name: "payloads", kind: "message", repeat: 1, T: () => nA }
@@ -9053,7 +9062,7 @@ class aA extends T {
9053
9062
  }
9054
9063
  }
9055
9064
  const oA = new aA();
9056
- class cA extends T {
9065
+ class cA extends y {
9057
9066
  constructor() {
9058
9067
  super("socket.room.DisableConnectedRoomsResponse", [
9059
9068
  { no: 1, name: "payloads", kind: "message", repeat: 1, T: () => uA }
@@ -9061,7 +9070,7 @@ class cA extends T {
9061
9070
  }
9062
9071
  }
9063
9072
  const dA = new cA();
9064
- class lA extends T {
9073
+ class lA extends y {
9065
9074
  constructor() {
9066
9075
  super("socket.room.DisableConnectedRoomPayload", [
9067
9076
  {
@@ -9093,7 +9102,7 @@ class lA extends T {
9093
9102
  }
9094
9103
  }
9095
9104
  const uA = new lA();
9096
- class hA extends T {
9105
+ class hA extends y {
9097
9106
  constructor() {
9098
9107
  super("socket.room.MovePeerPayload", [
9099
9108
  {
@@ -9116,7 +9125,7 @@ class hA extends T {
9116
9125
  }
9117
9126
  }
9118
9127
  const pA = new hA();
9119
- class gA extends T {
9128
+ class gA extends y {
9120
9129
  constructor() {
9121
9130
  super("socket.room.MovePeersBetweenRoomsRequest", [
9122
9131
  {
@@ -9140,7 +9149,7 @@ class gA extends T {
9140
9149
  }
9141
9150
  }
9142
9151
  const mA = new gA();
9143
- class fA extends T {
9152
+ class fA extends y {
9144
9153
  constructor() {
9145
9154
  super("socket.room.MovedPeer", [
9146
9155
  {
@@ -9164,7 +9173,7 @@ class fA extends T {
9164
9173
  }
9165
9174
  }
9166
9175
  const eS = new fA();
9167
- class SA extends T {
9176
+ class SA extends y {
9168
9177
  constructor() {
9169
9178
  super("socket.room.MovePeersBetweenRoomsResponse", [
9170
9179
  { no: 1, name: "payloads", kind: "message", repeat: 1, T: () => eS }
@@ -9172,7 +9181,7 @@ class SA extends T {
9172
9181
  }
9173
9182
  }
9174
9183
  new SA();
9175
- class vA extends T {
9184
+ class vA extends y {
9176
9185
  constructor() {
9177
9186
  super("socket.room.TransferPeer", [
9178
9187
  {
@@ -9195,7 +9204,7 @@ class vA extends T {
9195
9204
  }
9196
9205
  }
9197
9206
  const TA = new vA();
9198
- class yA extends T {
9207
+ class yA extends y {
9199
9208
  constructor() {
9200
9209
  super("socket.room.GetAllAddedParticipantsResponse", [
9201
9210
  { no: 1, name: "participants", kind: "message", repeat: 1, T: () => wA }
@@ -9203,7 +9212,7 @@ class yA extends T {
9203
9212
  }
9204
9213
  }
9205
9214
  const EA = new yA();
9206
- class PA extends T {
9215
+ class PA extends y {
9207
9216
  constructor() {
9208
9217
  super("socket.room.AddedParticipant", [
9209
9218
  {
@@ -9240,7 +9249,7 @@ class PA extends T {
9240
9249
  }
9241
9250
  }
9242
9251
  const wA = new PA();
9243
- class _A extends T {
9252
+ class _A extends y {
9244
9253
  constructor() {
9245
9254
  super("socket.room.RemoveParticipantsRequest", [
9246
9255
  {
@@ -9255,7 +9264,7 @@ class _A extends T {
9255
9264
  }
9256
9265
  }
9257
9266
  const tS = new _A();
9258
- class CA extends T {
9267
+ class CA extends y {
9259
9268
  constructor() {
9260
9269
  super("socket.room.BroadcastMessage", [
9261
9270
  {
@@ -9293,7 +9302,7 @@ class CA extends T {
9293
9302
  }
9294
9303
  }
9295
9304
  const ro = new CA();
9296
- class RA extends T {
9305
+ class RA extends y {
9297
9306
  constructor() {
9298
9307
  super("socket.room.AcceptWaitingRoomRequests", [
9299
9308
  {
@@ -9308,7 +9317,7 @@ class RA extends T {
9308
9317
  }
9309
9318
  }
9310
9319
  const kA = new RA();
9311
- class bA extends T {
9320
+ class bA extends y {
9312
9321
  constructor() {
9313
9322
  super("socket.room.DenyWaitingRoomRequests", [
9314
9323
  {
@@ -9323,7 +9332,7 @@ class bA extends T {
9323
9332
  }
9324
9333
  }
9325
9334
  const AA = new bA();
9326
- class IA extends T {
9335
+ class IA extends y {
9327
9336
  constructor() {
9328
9337
  super("socket.room.WaitingRoomRequest", [
9329
9338
  {
@@ -9375,7 +9384,7 @@ class IA extends T {
9375
9384
  }
9376
9385
  }
9377
9386
  const MA = new IA();
9378
- class DA extends T {
9387
+ class DA extends y {
9379
9388
  constructor() {
9380
9389
  super("socket.room.GetWaitingRoomRequests", [
9381
9390
  { no: 1, name: "requests", kind: "message", repeat: 1, T: () => MA }
@@ -9383,7 +9392,7 @@ class DA extends T {
9383
9392
  }
9384
9393
  }
9385
9394
  const xg = new DA();
9386
- class OA extends T {
9395
+ class OA extends y {
9387
9396
  constructor() {
9388
9397
  super("socket.room.GetRoomStageStateResponse", [
9389
9398
  {
@@ -9422,7 +9431,7 @@ var ii;
9422
9431
  (function(s) {
9423
9432
  s[s.NONE = 0] = "NONE", s[s.ALLOWED = 1] = "ALLOWED", s[s.NOT_ALLOWED = 2] = "NOT_ALLOWED", s[s.CAN_REQUEST = 3] = "CAN_REQUEST";
9424
9433
  })(ii || (ii = {}));
9425
- class NA extends T {
9434
+ class NA extends y {
9426
9435
  constructor() {
9427
9436
  super("socket.preset.PollsPermissionUpdate", [
9428
9437
  {
@@ -9453,7 +9462,7 @@ class NA extends T {
9453
9462
  }
9454
9463
  }
9455
9464
  const LA = new NA();
9456
- class VA extends T {
9465
+ class VA extends y {
9457
9466
  constructor() {
9458
9467
  super("socket.preset.PluginsPermissionsUpdate", [
9459
9468
  {
@@ -9476,7 +9485,7 @@ class VA extends T {
9476
9485
  }
9477
9486
  }
9478
9487
  const $A = new VA();
9479
- class xA extends T {
9488
+ class xA extends y {
9480
9489
  constructor() {
9481
9490
  super("socket.preset.PublicChatPermission", [
9482
9491
  {
@@ -9507,7 +9516,7 @@ class xA extends T {
9507
9516
  }
9508
9517
  }
9509
9518
  const UA = new xA();
9510
- class HA extends T {
9519
+ class HA extends y {
9511
9520
  constructor() {
9512
9521
  super("socket.preset.PrivateChatPermission", [
9513
9522
  {
@@ -9546,7 +9555,7 @@ class HA extends T {
9546
9555
  }
9547
9556
  }
9548
9557
  const BA = new HA();
9549
- class FA extends T {
9558
+ class FA extends y {
9550
9559
  constructor() {
9551
9560
  super("socket.preset.ChatPermissionUpdate", [
9552
9561
  { no: 1, name: "public", kind: "message", T: () => UA },
@@ -9555,7 +9564,7 @@ class FA extends T {
9555
9564
  }
9556
9565
  }
9557
9566
  const jA = new FA();
9558
- class qA extends T {
9567
+ class qA extends y {
9559
9568
  constructor() {
9560
9569
  super("socket.preset.ConnectedMeetingPermissionUpdate", [
9561
9570
  {
@@ -9586,7 +9595,7 @@ class qA extends T {
9586
9595
  }
9587
9596
  }
9588
9597
  const GA = new qA();
9589
- class WA extends T {
9598
+ class WA extends y {
9590
9599
  constructor() {
9591
9600
  super("socket.preset.StreamPermission", [
9592
9601
  { no: 1, name: "can_produce", kind: "enum", opt: !0, T: () => ["socket.preset.StreamPermissionType", ii, "STREAM_PERMISSION_TYPE_"] },
@@ -9595,7 +9604,7 @@ class WA extends T {
9595
9604
  }
9596
9605
  }
9597
9606
  const Vu = new WA();
9598
- class JA extends T {
9607
+ class JA extends y {
9599
9608
  constructor() {
9600
9609
  super("socket.preset.MediaPermissionUpdate", [
9601
9610
  { no: 1, name: "video", kind: "message", T: () => Vu },
@@ -9605,7 +9614,7 @@ class JA extends T {
9605
9614
  }
9606
9615
  }
9607
9616
  const KA = new JA();
9608
- class zA extends T {
9617
+ class zA extends y {
9609
9618
  constructor() {
9610
9619
  super("socket.preset.PresetUpdates", [
9611
9620
  { no: 1, name: "polls", kind: "message", T: () => LA },
@@ -9747,7 +9756,7 @@ class zA extends T {
9747
9756
  }
9748
9757
  }
9749
9758
  const fp = new zA();
9750
- class YA extends T {
9759
+ class YA extends y {
9751
9760
  constructor() {
9752
9761
  super("socket.preset.ReadPeersPresetRequest", [
9753
9762
  {
@@ -9762,7 +9771,7 @@ class YA extends T {
9762
9771
  }
9763
9772
  }
9764
9773
  const QA = new YA();
9765
- class XA extends T {
9774
+ class XA extends y {
9766
9775
  constructor() {
9767
9776
  super("socket.preset.PeerPreset", [
9768
9777
  {
@@ -9790,7 +9799,7 @@ class XA extends T {
9790
9799
  }
9791
9800
  }
9792
9801
  const ZA = new XA();
9793
- class eI extends T {
9802
+ class eI extends y {
9794
9803
  constructor() {
9795
9804
  super("socket.preset.ReadPeersPresetResponse", [
9796
9805
  { no: 1, name: "peer_presets", kind: "message", repeat: 1, T: () => ZA }
@@ -9798,7 +9807,7 @@ class eI extends T {
9798
9807
  }
9799
9808
  }
9800
9809
  const tI = new eI();
9801
- class sI extends T {
9810
+ class sI extends y {
9802
9811
  constructor() {
9803
9812
  super("socket.preset.UpdatePeerPreset", [
9804
9813
  {
@@ -9813,7 +9822,7 @@ class sI extends T {
9813
9822
  }
9814
9823
  }
9815
9824
  const sS = new sI();
9816
- class rI extends T {
9825
+ class rI extends y {
9817
9826
  constructor() {
9818
9827
  super("socket.preset.UpdatePeersPresetRequest", [
9819
9828
  { no: 1, name: "update_peers_presets", kind: "message", repeat: 1, T: () => sS }
@@ -9821,7 +9830,7 @@ class rI extends T {
9821
9830
  }
9822
9831
  }
9823
9832
  const iI = new rI();
9824
- class nI extends T {
9833
+ class nI extends y {
9825
9834
  constructor() {
9826
9835
  super("socket.preset.UpdatePeersPresetResponse", [
9827
9836
  { no: 1, name: "update_peers_presets", kind: "message", repeat: 1, T: () => sS }
@@ -9829,7 +9838,7 @@ class nI extends T {
9829
9838
  }
9830
9839
  }
9831
9840
  const Hg = new nI();
9832
- class aI extends T {
9841
+ class aI extends y {
9833
9842
  constructor() {
9834
9843
  super("socket.preset.PeerUserIDMap", [
9835
9844
  {
@@ -9850,7 +9859,7 @@ class aI extends T {
9850
9859
  }
9851
9860
  }
9852
9861
  const oI = new aI();
9853
- class cI extends T {
9862
+ class cI extends y {
9854
9863
  constructor() {
9855
9864
  super("socket.preset.BulkUpdatePeerPresetRequest", [
9856
9865
  { no: 1, name: "peers", kind: "message", repeat: 1, T: () => oI },
@@ -9859,7 +9868,7 @@ class cI extends T {
9859
9868
  }
9860
9869
  }
9861
9870
  new cI();
9862
- class dI extends T {
9871
+ class dI extends y {
9863
9872
  constructor() {
9864
9873
  super("socket.preset.BulkUpdatePeerPresetResponse", [
9865
9874
  { no: 2, name: "patch", kind: "message", T: () => fp }
@@ -9867,7 +9876,7 @@ class dI extends T {
9867
9876
  }
9868
9877
  }
9869
9878
  new dI();
9870
- class lI extends T {
9879
+ class lI extends y {
9871
9880
  constructor() {
9872
9881
  super("socket.chat.ChatMessage", [
9873
9882
  {
@@ -9971,7 +9980,7 @@ class lI extends T {
9971
9980
  }
9972
9981
  }
9973
9982
  const ci = new lI();
9974
- class uI extends T {
9983
+ class uI extends y {
9975
9984
  constructor() {
9976
9985
  super("socket.chat.GetPaginatedChatMessageFilters", [
9977
9986
  {
@@ -9994,7 +10003,7 @@ class uI extends T {
9994
10003
  }
9995
10004
  }
9996
10005
  const hI = new uI();
9997
- class pI extends T {
10006
+ class pI extends y {
9998
10007
  constructor() {
9999
10008
  super("socket.chat.GetPaginatedChatMessageRoomRequest", [
10000
10009
  {
@@ -10039,7 +10048,7 @@ class pI extends T {
10039
10048
  }
10040
10049
  }
10041
10050
  const gI = new pI();
10042
- class mI extends T {
10051
+ class mI extends y {
10043
10052
  constructor() {
10044
10053
  super("socket.chat.GetPaginatedChatMessageRoomResponse", [
10045
10054
  { no: 1, name: "messages", kind: "message", repeat: 1, T: () => ci },
@@ -10054,7 +10063,7 @@ class mI extends T {
10054
10063
  }
10055
10064
  }
10056
10065
  const fI = new mI();
10057
- class SI extends T {
10066
+ class SI extends y {
10058
10067
  constructor() {
10059
10068
  super("socket.chat.GetChatMessagesResponse", [
10060
10069
  { no: 1, name: "messages", kind: "message", repeat: 1, T: () => ci }
@@ -10062,7 +10071,7 @@ class SI extends T {
10062
10071
  }
10063
10072
  }
10064
10073
  const rS = new SI();
10065
- class vI extends T {
10074
+ class vI extends y {
10066
10075
  constructor() {
10067
10076
  super("socket.chat.SendChatMessageToRoomRequest", [
10068
10077
  {
@@ -10083,7 +10092,7 @@ class vI extends T {
10083
10092
  }
10084
10093
  }
10085
10094
  const TI = new vI();
10086
- class yI extends T {
10095
+ class yI extends y {
10087
10096
  constructor() {
10088
10097
  super("socket.chat.SendChatMessageToRoomResponse", [
10089
10098
  { no: 1, name: "message", kind: "message", T: () => ci }
@@ -10091,7 +10100,7 @@ class yI extends T {
10091
10100
  }
10092
10101
  }
10093
10102
  const $u = new yI();
10094
- class EI extends T {
10103
+ class EI extends y {
10095
10104
  constructor() {
10096
10105
  super("socket.chat.SendChatMessageToPeersRequest", [
10097
10106
  {
@@ -10120,7 +10129,7 @@ class EI extends T {
10120
10129
  }
10121
10130
  }
10122
10131
  const PI = new EI();
10123
- class wI extends T {
10132
+ class wI extends y {
10124
10133
  constructor() {
10125
10134
  super("socket.chat.SendChatMessageToPeersResponse", [
10126
10135
  { no: 1, name: "message", kind: "message", T: () => ci }
@@ -10128,7 +10137,7 @@ class wI extends T {
10128
10137
  }
10129
10138
  }
10130
10139
  const xu = new wI();
10131
- class _I extends T {
10140
+ class _I extends y {
10132
10141
  constructor() {
10133
10142
  super("socket.chat.SendChatMessageToChannelRequest", [
10134
10143
  {
@@ -10156,7 +10165,7 @@ class _I extends T {
10156
10165
  }
10157
10166
  }
10158
10167
  new _I();
10159
- class CI extends T {
10168
+ class CI extends y {
10160
10169
  constructor() {
10161
10170
  super("socket.chat.SendChatMessageToChannelResponse", [
10162
10171
  { no: 1, name: "message", kind: "message", T: () => ci }
@@ -10164,7 +10173,7 @@ class CI extends T {
10164
10173
  }
10165
10174
  }
10166
10175
  new CI();
10167
- class RI extends T {
10176
+ class RI extends y {
10168
10177
  constructor() {
10169
10178
  super("socket.chat.EditChatMessageRequest", [
10170
10179
  {
@@ -10210,7 +10219,7 @@ class RI extends T {
10210
10219
  }
10211
10220
  }
10212
10221
  const kI = new RI();
10213
- class bI extends T {
10222
+ class bI extends y {
10214
10223
  constructor() {
10215
10224
  super("socket.chat.PinChatMessageRequest", [
10216
10225
  {
@@ -10239,7 +10248,7 @@ class bI extends T {
10239
10248
  }
10240
10249
  }
10241
10250
  const AI = new bI();
10242
- class II extends T {
10251
+ class II extends y {
10243
10252
  constructor() {
10244
10253
  super("socket.chat.PinChatMessageResponse", [
10245
10254
  {
@@ -10269,7 +10278,7 @@ class II extends T {
10269
10278
  }
10270
10279
  }
10271
10280
  const fd = new II();
10272
- class MI extends T {
10281
+ class MI extends y {
10273
10282
  constructor() {
10274
10283
  super("socket.chat.EditChatMessageResponse", [
10275
10284
  { no: 1, name: "message", kind: "message", T: () => ci }
@@ -10277,7 +10286,7 @@ class MI extends T {
10277
10286
  }
10278
10287
  }
10279
10288
  const Sd = new MI();
10280
- class DI extends T {
10289
+ class DI extends y {
10281
10290
  constructor() {
10282
10291
  super("socket.chat.DeleteChatMessageRequest", [
10283
10292
  {
@@ -10299,7 +10308,7 @@ class DI extends T {
10299
10308
  }
10300
10309
  }
10301
10310
  const OI = new DI();
10302
- class NI extends T {
10311
+ class NI extends y {
10303
10312
  constructor() {
10304
10313
  super("socket.chat.DeleteChatMessageResponse", [
10305
10314
  {
@@ -10321,7 +10330,7 @@ class NI extends T {
10321
10330
  }
10322
10331
  }
10323
10332
  const vd = new NI();
10324
- class LI extends T {
10333
+ class LI extends y {
10325
10334
  constructor() {
10326
10335
  super("socket.chat.SearchChatMessagesRequest", [
10327
10336
  {
@@ -10372,7 +10381,7 @@ class LI extends T {
10372
10381
  }
10373
10382
  }
10374
10383
  const VI = new LI();
10375
- class $I extends T {
10384
+ class $I extends y {
10376
10385
  constructor() {
10377
10386
  super("socket.chat.MarkChannelIndexAsReadRequest", [
10378
10387
  {
@@ -10400,7 +10409,7 @@ class $I extends T {
10400
10409
  }
10401
10410
  }
10402
10411
  new $I();
10403
- class xI extends T {
10412
+ class xI extends y {
10404
10413
  constructor() {
10405
10414
  super("socket.chat.MarkChannelIndexAsReadResponse", [
10406
10415
  {
@@ -10414,7 +10423,7 @@ class xI extends T {
10414
10423
  }
10415
10424
  }
10416
10425
  new xI();
10417
- class UI extends T {
10426
+ class UI extends y {
10418
10427
  constructor() {
10419
10428
  super("socket.chat.CreateChatChannelRequest", [
10420
10429
  {
@@ -10458,7 +10467,7 @@ class UI extends T {
10458
10467
  }
10459
10468
  }
10460
10469
  new UI();
10461
- class HI extends T {
10470
+ class HI extends y {
10462
10471
  constructor() {
10463
10472
  super("socket.chat.UpdateChatChannelRequest", [
10464
10473
  {
@@ -10512,7 +10521,7 @@ class HI extends T {
10512
10521
  }
10513
10522
  }
10514
10523
  new HI();
10515
- class BI extends T {
10524
+ class BI extends y {
10516
10525
  constructor() {
10517
10526
  super("socket.chat.CreateChatChannelResponse", [
10518
10527
  {
@@ -10526,7 +10535,7 @@ class BI extends T {
10526
10535
  }
10527
10536
  }
10528
10537
  new BI();
10529
- class FI extends T {
10538
+ class FI extends y {
10530
10539
  constructor() {
10531
10540
  super("socket.chat.GetChatChannelRequest", [
10532
10541
  {
@@ -10540,7 +10549,7 @@ class FI extends T {
10540
10549
  }
10541
10550
  }
10542
10551
  new FI();
10543
- class jI extends T {
10552
+ class jI extends y {
10544
10553
  constructor() {
10545
10554
  super("socket.chat.LatestMessageAndUnreadCount", [
10546
10555
  { no: 1, name: "message", kind: "message", T: () => ci },
@@ -10556,7 +10565,7 @@ class jI extends T {
10556
10565
  }
10557
10566
  }
10558
10567
  const qI = new jI();
10559
- class GI extends T {
10568
+ class GI extends y {
10560
10569
  constructor() {
10561
10570
  super("socket.chat.ChatChannel", [
10562
10571
  {
@@ -10608,7 +10617,7 @@ class GI extends T {
10608
10617
  }
10609
10618
  }
10610
10619
  const WI = new GI();
10611
- class JI extends T {
10620
+ class JI extends y {
10612
10621
  constructor() {
10613
10622
  super("socket.chat.GetChatChannelResponse", [
10614
10623
  { no: 1, name: "chat_channels", kind: "message", repeat: 1, T: () => WI }
@@ -10616,7 +10625,7 @@ class JI extends T {
10616
10625
  }
10617
10626
  }
10618
10627
  new JI();
10619
- class KI extends T {
10628
+ class KI extends y {
10620
10629
  constructor() {
10621
10630
  super("socket.chat.ChannelMember", [
10622
10631
  {
@@ -10653,7 +10662,7 @@ class KI extends T {
10653
10662
  }
10654
10663
  }
10655
10664
  const zI = new KI();
10656
- class YI extends T {
10665
+ class YI extends y {
10657
10666
  constructor() {
10658
10667
  super("socket.chat.GetChatChannelMembersResponse", [
10659
10668
  { no: 1, name: "channel_members", kind: "message", repeat: 1, T: () => zI }
@@ -10661,7 +10670,7 @@ class YI extends T {
10661
10670
  }
10662
10671
  }
10663
10672
  new YI();
10664
- class QI extends T {
10673
+ class QI extends y {
10665
10674
  constructor() {
10666
10675
  super("socket.plugin.AddPluginRequest", [
10667
10676
  {
@@ -10682,7 +10691,7 @@ class QI extends T {
10682
10691
  }
10683
10692
  }
10684
10693
  new QI();
10685
- class XI extends T {
10694
+ class XI extends y {
10686
10695
  constructor() {
10687
10696
  super("socket.plugin.RemovePluginRequest", [
10688
10697
  {
@@ -10703,7 +10712,7 @@ class XI extends T {
10703
10712
  }
10704
10713
  }
10705
10714
  new XI();
10706
- class ZI extends T {
10715
+ class ZI extends y {
10707
10716
  constructor() {
10708
10717
  super("socket.plugin.EnablePluginForRoomRequest", [
10709
10718
  {
@@ -10717,7 +10726,7 @@ class ZI extends T {
10717
10726
  }
10718
10727
  }
10719
10728
  new ZI();
10720
- class eM extends T {
10729
+ class eM extends y {
10721
10730
  constructor() {
10722
10731
  super("socket.plugin.DisablePluginForRoomRequest", [
10723
10732
  {
@@ -10731,7 +10740,7 @@ class eM extends T {
10731
10740
  }
10732
10741
  }
10733
10742
  new eM();
10734
- class tM extends T {
10743
+ class tM extends y {
10735
10744
  constructor() {
10736
10745
  super("socket.plugin.EnablePluginForPeersRequest", [
10737
10746
  {
@@ -10753,7 +10762,7 @@ class tM extends T {
10753
10762
  }
10754
10763
  }
10755
10764
  new tM();
10756
- class sM extends T {
10765
+ class sM extends y {
10757
10766
  constructor() {
10758
10767
  super("socket.plugin.DisablePluginForPeersRequest", [
10759
10768
  {
@@ -10775,7 +10784,7 @@ class sM extends T {
10775
10784
  }
10776
10785
  }
10777
10786
  new sM();
10778
- class rM extends T {
10787
+ class rM extends y {
10779
10788
  constructor() {
10780
10789
  super("socket.plugin.PluginEventToRoomRequest", [
10781
10790
  {
@@ -10796,7 +10805,7 @@ class rM extends T {
10796
10805
  }
10797
10806
  }
10798
10807
  new rM();
10799
- class iM extends T {
10808
+ class iM extends y {
10800
10809
  constructor() {
10801
10810
  super("socket.plugin.PluginEventToPeersRequest", [
10802
10811
  {
@@ -10825,7 +10834,7 @@ class iM extends T {
10825
10834
  }
10826
10835
  }
10827
10836
  new iM();
10828
- class nM extends T {
10837
+ class nM extends y {
10829
10838
  constructor() {
10830
10839
  super("socket.plugin.StoreKeys", [
10831
10840
  {
@@ -10847,7 +10856,7 @@ class nM extends T {
10847
10856
  }
10848
10857
  }
10849
10858
  const Sp = new nM();
10850
- class aM extends T {
10859
+ class aM extends y {
10851
10860
  constructor() {
10852
10861
  super("socket.plugin.PluginStoreInsertKeysRequest", [
10853
10862
  {
@@ -10869,7 +10878,7 @@ class aM extends T {
10869
10878
  }
10870
10879
  }
10871
10880
  const oM = new aM();
10872
- class cM extends T {
10881
+ class cM extends y {
10873
10882
  constructor() {
10874
10883
  super("socket.plugin.PluginStoreGetKeysRequest", [
10875
10884
  {
@@ -10891,7 +10900,7 @@ class cM extends T {
10891
10900
  }
10892
10901
  }
10893
10902
  const dM = new cM();
10894
- class lM extends T {
10903
+ class lM extends y {
10895
10904
  constructor() {
10896
10905
  super("socket.plugin.PluginStoreDeleteKeysRequest", [
10897
10906
  {
@@ -10913,7 +10922,7 @@ class lM extends T {
10913
10922
  }
10914
10923
  }
10915
10924
  const uM = new lM();
10916
- class hM extends T {
10925
+ class hM extends y {
10917
10926
  constructor() {
10918
10927
  super("socket.plugin.PluginStoreDeleteRequest", [
10919
10928
  {
@@ -10934,7 +10943,7 @@ class hM extends T {
10934
10943
  }
10935
10944
  }
10936
10945
  new hM();
10937
- class pM extends T {
10946
+ class pM extends y {
10938
10947
  constructor() {
10939
10948
  super("socket.plugin.EnablePluginResponse", [
10940
10949
  {
@@ -10955,7 +10964,7 @@ class pM extends T {
10955
10964
  }
10956
10965
  }
10957
10966
  const gM = new pM();
10958
- class mM extends T {
10967
+ class mM extends y {
10959
10968
  constructor() {
10960
10969
  super("socket.plugin.EnablePluginsResponse", [
10961
10970
  { no: 1, name: "plugins", kind: "message", repeat: 1, T: () => gM }
@@ -10963,7 +10972,7 @@ class mM extends T {
10963
10972
  }
10964
10973
  }
10965
10974
  new mM();
10966
- class fM extends T {
10975
+ class fM extends y {
10967
10976
  constructor() {
10968
10977
  super("socket.plugin.DisablePluginResponse", [
10969
10978
  {
@@ -10984,7 +10993,7 @@ class fM extends T {
10984
10993
  }
10985
10994
  }
10986
10995
  new fM();
10987
- class SM extends T {
10996
+ class SM extends y {
10988
10997
  constructor() {
10989
10998
  super("socket.plugin.PluginStoreItem", [
10990
10999
  {
@@ -11019,7 +11028,7 @@ class SM extends T {
11019
11028
  }
11020
11029
  }
11021
11030
  const vM = new SM();
11022
- class TM extends T {
11031
+ class TM extends y {
11023
11032
  constructor() {
11024
11033
  super("socket.plugin.PluginStoreResponse", [
11025
11034
  {
@@ -11041,7 +11050,7 @@ class TM extends T {
11041
11050
  }
11042
11051
  }
11043
11052
  const Bg = new TM();
11044
- class yM extends T {
11053
+ class yM extends y {
11045
11054
  constructor() {
11046
11055
  super("socket.plugin.PluginEventResponse", [
11047
11056
  {
@@ -11062,7 +11071,7 @@ class yM extends T {
11062
11071
  }
11063
11072
  }
11064
11073
  new yM();
11065
- class EM extends T {
11074
+ class EM extends y {
11066
11075
  constructor() {
11067
11076
  super("socket.livestreaming.LiveStreamingEvent", [
11068
11077
  {
@@ -11140,7 +11149,7 @@ class EM extends T {
11140
11149
  }
11141
11150
  }
11142
11151
  const Fg = new EM();
11143
- class PM extends T {
11152
+ class PM extends y {
11144
11153
  constructor() {
11145
11154
  super("socket.livestreaming.GetStagePeersResponse", [
11146
11155
  {
@@ -11155,7 +11164,7 @@ class PM extends T {
11155
11164
  }
11156
11165
  }
11157
11166
  const jg = new PM();
11158
- class wM extends T {
11167
+ class wM extends y {
11159
11168
  constructor() {
11160
11169
  super("socket.livestreaming.StageRequest", [
11161
11170
  {
@@ -11183,7 +11192,7 @@ class wM extends T {
11183
11192
  }
11184
11193
  }
11185
11194
  const _M = new wM();
11186
- class CM extends T {
11195
+ class CM extends y {
11187
11196
  constructor() {
11188
11197
  super("socket.livestreaming.GetStageRequestsResponse", [
11189
11198
  { no: 1, name: "stage_requests", kind: "message", repeat: 1, T: () => _M }
@@ -11191,7 +11200,7 @@ class CM extends T {
11191
11200
  }
11192
11201
  }
11193
11202
  const Uu = new CM();
11194
- class RM extends T {
11203
+ class RM extends y {
11195
11204
  constructor() {
11196
11205
  super("socket.livestreaming.GrantStageAccessRequest", [
11197
11206
  {
@@ -11206,7 +11215,7 @@ class RM extends T {
11206
11215
  }
11207
11216
  }
11208
11217
  const kM = new RM();
11209
- class bM extends T {
11218
+ class bM extends y {
11210
11219
  constructor() {
11211
11220
  super("socket.livestreaming.DenyStageAccessRequest", [
11212
11221
  {
@@ -11221,7 +11230,7 @@ class bM extends T {
11221
11230
  }
11222
11231
  }
11223
11232
  const AM = new bM();
11224
- class IM extends T {
11233
+ class IM extends y {
11225
11234
  constructor() {
11226
11235
  super("socket.livestreaming.LeaveStageRequest", [
11227
11236
  {
@@ -11236,7 +11245,7 @@ class IM extends T {
11236
11245
  }
11237
11246
  }
11238
11247
  const qg = new IM();
11239
- class MM extends T {
11248
+ class MM extends y {
11240
11249
  constructor() {
11241
11250
  super("socket.polls.Poll", [
11242
11251
  {
@@ -11294,7 +11303,7 @@ class MM extends T {
11294
11303
  }
11295
11304
  }
11296
11305
  const iS = new MM();
11297
- class DM extends T {
11306
+ class DM extends y {
11298
11307
  constructor() {
11299
11308
  super("socket.polls.PollOption", [
11300
11309
  {
@@ -11318,7 +11327,7 @@ class DM extends T {
11318
11327
  }
11319
11328
  }
11320
11329
  const OM = new DM();
11321
- class NM extends T {
11330
+ class NM extends y {
11322
11331
  constructor() {
11323
11332
  super("socket.polls.PollVote", [
11324
11333
  {
@@ -11339,7 +11348,7 @@ class NM extends T {
11339
11348
  }
11340
11349
  }
11341
11350
  const LM = new NM();
11342
- class VM extends T {
11351
+ class VM extends y {
11343
11352
  constructor() {
11344
11353
  super("socket.polls.NewPollRequest", [
11345
11354
  {
@@ -11391,7 +11400,7 @@ class VM extends T {
11391
11400
  }
11392
11401
  }
11393
11402
  const $M = new VM();
11394
- class xM extends T {
11403
+ class xM extends y {
11395
11404
  constructor() {
11396
11405
  super("socket.polls.VotePollRequest", [
11397
11406
  {
@@ -11413,7 +11422,7 @@ class xM extends T {
11413
11422
  }
11414
11423
  }
11415
11424
  const UM = new xM();
11416
- class HM extends T {
11425
+ class HM extends y {
11417
11426
  constructor() {
11418
11427
  super("socket.polls.UpdatePollResponse", [
11419
11428
  { no: 1, name: "poll", kind: "message", T: () => iS }
@@ -11421,7 +11430,7 @@ class HM extends T {
11421
11430
  }
11422
11431
  }
11423
11432
  const Hu = new HM();
11424
- class BM extends T {
11433
+ class BM extends y {
11425
11434
  constructor() {
11426
11435
  super("socket.polls.GetPollsResponse", [
11427
11436
  { no: 1, name: "polls", kind: "message", repeat: 1, T: () => iS }
@@ -11429,7 +11438,7 @@ class BM extends T {
11429
11438
  }
11430
11439
  }
11431
11440
  const FM = new BM();
11432
- class jM extends T {
11441
+ class jM extends y {
11433
11442
  constructor() {
11434
11443
  super("socket.recording.RecordingEvent", [
11435
11444
  {
@@ -11451,7 +11460,7 @@ class jM extends T {
11451
11460
  }
11452
11461
  }
11453
11462
  const Gg = new jM();
11454
- class qM extends T {
11463
+ class qM extends y {
11455
11464
  constructor() {
11456
11465
  super("google.protobuf.Timestamp", [
11457
11466
  {
@@ -11527,7 +11536,7 @@ class qM extends T {
11527
11536
  }
11528
11537
  }
11529
11538
  new qM();
11530
- class GM extends T {
11539
+ class GM extends y {
11531
11540
  constructor() {
11532
11541
  super("common.BaseHubMessage", [
11533
11542
  {
@@ -11616,7 +11625,7 @@ class GM extends T {
11616
11625
  }
11617
11626
  }
11618
11627
  const nh = new GM();
11619
- class WM extends T {
11628
+ class WM extends y {
11620
11629
  constructor() {
11621
11630
  super("common.BulkedHubMessage", [
11622
11631
  { no: 1, name: "messages", kind: "message", repeat: 1, T: () => nh }
@@ -11624,7 +11633,7 @@ class WM extends T {
11624
11633
  }
11625
11634
  }
11626
11635
  new WM();
11627
- class JM extends T {
11636
+ class JM extends y {
11628
11637
  constructor() {
11629
11638
  super("common.CFWorkersResponse", [
11630
11639
  { no: 1, name: "responses", kind: "message", repeat: 1, T: () => nh },
@@ -12076,10 +12085,10 @@ class Wg {
12076
12085
  body: e !== "GET" && e !== "HEAD" && t.data ? o : void 0
12077
12086
  }, d = t.timeout || this.defaults.timeout, l = t.retry !== void 0 ? t.retry : this.defaults.retry, h = t.retryDelay || this.defaults.retryDelay;
12078
12087
  try {
12079
- const S = new AbortController(), y = setTimeout(() => S.abort(), d);
12088
+ const S = new AbortController(), T = setTimeout(() => S.abort(), d);
12080
12089
  c.signal = S.signal;
12081
12090
  const E = yield fetch(r, c);
12082
- clearTimeout(y);
12091
+ clearTimeout(T);
12083
12092
  let b = null;
12084
12093
  const k = E.headers.get("content-type");
12085
12094
  k && k.includes("application/json") ? b = yield E.json() : b = yield E.text();
@@ -12099,7 +12108,7 @@ class Wg {
12099
12108
  return D;
12100
12109
  } catch (S) {
12101
12110
  if (S instanceof Error && l > 0)
12102
- return yield new Promise((y) => setTimeout(y, h)), this.defaults.baseURL === vi.apiBase.prod ? this.defaults.baseURL = vi.apiBase.prodAlternate : this.defaults.baseURL === vi.apiBase.prodAlternate && (this.defaults.baseURL = vi.apiBase.prod), this.request(q(N({}, t), {
12111
+ return yield new Promise((T) => setTimeout(T, h)), this.defaults.baseURL === vi.apiBase.prod ? this.defaults.baseURL = vi.apiBase.prodAlternate : this.defaults.baseURL === vi.apiBase.prodAlternate && (this.defaults.baseURL = vi.apiBase.prod), this.request(q(N({}, t), {
12103
12112
  retry: l - 1
12104
12113
  }));
12105
12114
  throw S;
@@ -12171,7 +12180,7 @@ class u0 {
12171
12180
  }), this.setAuthToken(c, { bearer: !0 });
12172
12181
  const l = this.requests.request.bind(this.requests);
12173
12182
  this.requests.request = (h) => u(this, null, function* () {
12174
- var S, y, E, b, k, O;
12183
+ var S, T, E, b, k, O;
12175
12184
  const p = t.getValue("telemetry");
12176
12185
  try {
12177
12186
  p.injectContext(this.requests.defaults.headers.common);
@@ -12190,7 +12199,7 @@ class u0 {
12190
12199
  throw new R("Unknown network error occurred", "0011");
12191
12200
  if (D instanceof R || D instanceof Fd)
12192
12201
  throw D;
12193
- ((S = D.config) == null ? void 0 : S.url) !== p.logsEndpoint && this.logger.error(`XHR - Fetch failed on ${h.method}:${h.url} with status ${D.status}. Retry: ${(y = D.config) == null ? void 0 : y.retry}`, {
12202
+ ((S = D.config) == null ? void 0 : S.url) !== p.logsEndpoint && this.logger.error(`XHR - Fetch failed on ${h.method}:${h.url} with status ${D.status}. Retry: ${(T = D.config) == null ? void 0 : T.retry}`, {
12194
12203
  error: D,
12195
12204
  networkCall: {
12196
12205
  status: D.status,
@@ -12563,8 +12572,8 @@ let rs = (lm = class extends Bt {
12563
12572
  try {
12564
12573
  const h = xt(), { getLocation: p, putLocation: S } = yield h.getPresignedUrls(t.name);
12565
12574
  yield h.uploadFile(t, S);
12566
- let y = [];
12567
- e && e.length > 0 && (e.push(n(this, re).id), y = n(this, Ti).joined.toArray().filter((E) => e.includes(E.id)).map((E) => E.userId), y.push(n(this, re).userId)), n(this, Xe).sendMessage(
12575
+ let T = [];
12576
+ e && e.length > 0 && (e.push(n(this, re).id), T = n(this, Ti).joined.toArray().filter((E) => e.includes(E.id)).map((E) => E.userId), T.push(n(this, re).userId)), n(this, Xe).sendMessage(
12568
12577
  p,
12569
12578
  ts.IMAGE,
12570
12579
  e
@@ -12600,13 +12609,13 @@ let rs = (lm = class extends Bt {
12600
12609
  yield l.uploadFile(t, p);
12601
12610
  let S = [];
12602
12611
  e && e.length > 0 && (e.push(n(this, re).id), S = n(this, Ti).joined.toArray().filter((E) => e.includes(E.id)).map((E) => E.userId), S.push(n(this, re).userId));
12603
- const y = JSON.stringify({
12612
+ const T = JSON.stringify({
12604
12613
  link: h,
12605
12614
  name: t.name,
12606
12615
  size: "size" in t ? t.size : 0
12607
12616
  });
12608
12617
  n(this, Xe).sendMessage(
12609
- y,
12618
+ T,
12610
12619
  ts.FILE,
12611
12620
  e
12612
12621
  );
@@ -12638,13 +12647,13 @@ let rs = (lm = class extends Bt {
12638
12647
  */
12639
12648
  sendCustomMessage(t, e) {
12640
12649
  return u(this, null, function* () {
12641
- var a, o, c, d, l, h, p, S, y, E, b, k, O, D, U;
12650
+ var a, o, c, d, l, h, p, S, T, E, b, k, O, D, U;
12642
12651
  if (e && e.length > 0) {
12643
12652
  if (!((a = n(this, re).permissions) != null && a.chatPrivate.canSend) || !((o = n(this, re).permissions) != null && o.chatPrivate.files) || !((c = n(this, re).permissions) != null && c.chatPrivate.text)) {
12644
12653
  this.logger.error("sendCustomMessage::private_chat_permission_denied");
12645
12654
  return;
12646
12655
  }
12647
- } else if (!((l = (d = n(this, re).permissions) == null ? void 0 : d.chatPublic) != null && l.canSend) || !((p = (h = n(this, re).permissions) == null ? void 0 : h.chatPublic) != null && p.files) || !((y = (S = n(this, re).permissions) == null ? void 0 : S.chatPublic) != null && y.text)) {
12656
+ } else if (!((l = (d = n(this, re).permissions) == null ? void 0 : d.chatPublic) != null && l.canSend) || !((p = (h = n(this, re).permissions) == null ? void 0 : h.chatPublic) != null && p.files) || !((T = (S = n(this, re).permissions) == null ? void 0 : S.chatPublic) != null && T.text)) {
12648
12657
  this.logger.error("sendCustomMessage::permission_denied");
12649
12658
  return;
12650
12659
  }
@@ -13778,12 +13787,12 @@ const io = {}, wr = {
13778
13787
  const S = setTimeout(
13779
13788
  () => delete io[h],
13780
13789
  e
13781
- ), y = o.apply(this, d);
13782
- return Promise.resolve(y).then(() => {
13790
+ ), T = o.apply(this, d);
13791
+ return Promise.resolve(T).then(() => {
13783
13792
  delete io[h], clearTimeout(S);
13784
13793
  }).catch(() => {
13785
13794
  delete io[h], clearTimeout(S);
13786
- }), y;
13795
+ }), T;
13787
13796
  }, a;
13788
13797
  };
13789
13798
  }
@@ -15378,10 +15387,10 @@ class oD {
15378
15387
  }))
15379
15388
  );
15380
15389
  if (r.disablePerFrameCanvasRendering) {
15381
- const y = i.captureStream().getVideoTracks()[0];
15382
- return Object.defineProperty(y, "originalSettings", {
15390
+ const T = i.captureStream().getVideoTracks()[0];
15391
+ return Object.defineProperty(T, "originalSettings", {
15383
15392
  value: e.getSettings()
15384
- }), y;
15393
+ }), T;
15385
15394
  }
15386
15395
  const o = document.createElement("video"), c = new MediaStream();
15387
15396
  c.addTrack(e);
@@ -15527,8 +15536,8 @@ class pD {
15527
15536
  m(this, nl, void 0);
15528
15537
  // eslint-disable-next-line class-methods-use-this
15529
15538
  g(this, "getScreenShareConstraints", () => {
15530
- var l, h, p, S, y, E, b, k, O;
15531
- const t = (l = n(this, Mi)) == null ? void 0 : l.screenshare, e = (p = (h = t == null ? void 0 : t.width) == null ? void 0 : h.max) != null ? p : 1920, r = (y = (S = t == null ? void 0 : t.height) == null ? void 0 : S.max) != null ? y : 1080, i = (b = (E = t == null ? void 0 : t.frameRate) == null ? void 0 : E.max) != null ? b : 5, a = (O = (k = t == null ? void 0 : t.frameRate) == null ? void 0 : k.ideal) != null ? O : 5, o = t == null ? void 0 : t.displaySurface, c = t == null ? void 0 : t.selfBrowserSurface;
15539
+ var l, h, p, S, T, E, b, k, O;
15540
+ const t = (l = n(this, Mi)) == null ? void 0 : l.screenshare, e = (p = (h = t == null ? void 0 : t.width) == null ? void 0 : h.max) != null ? p : 1920, r = (T = (S = t == null ? void 0 : t.height) == null ? void 0 : S.max) != null ? T : 1080, i = (b = (E = t == null ? void 0 : t.frameRate) == null ? void 0 : E.max) != null ? b : 5, a = (O = (k = t == null ? void 0 : t.frameRate) == null ? void 0 : k.ideal) != null ? O : 5, o = t == null ? void 0 : t.displaySurface, c = t == null ? void 0 : t.selfBrowserSurface;
15532
15541
  let d = {
15533
15542
  width: { max: e },
15534
15543
  height: { max: r },
@@ -15672,18 +15681,18 @@ let Ht = (ym = class extends gD {
15672
15681
  ));
15673
15682
  let S;
15674
15683
  e && p ? S = e : d && ((a = d[0]) != null && a.deviceId) && (S = (o = d[0]) == null ? void 0 : o.deviceId);
15675
- const y = {
15684
+ const T = {
15676
15685
  audio: n(this, Yt).getAudioConstraints(h).audio,
15677
15686
  video: n(this, Yt).getVideoConstraints(S).video
15678
15687
  };
15679
15688
  this.logger.info("getUserMediaWithoutTimeout::requesting_user_media", {
15680
- constraints: JSON.stringify(y)
15689
+ constraints: JSON.stringify(T)
15681
15690
  });
15682
15691
  const E = yield navigator.mediaDevices.getUserMedia(
15683
- y
15692
+ T
15684
15693
  );
15685
15694
  this.logger.info("getUserMediaWithoutTimeout::received_user_media", {
15686
- constraints: JSON.stringify(y)
15695
+ constraints: JSON.stringify(T)
15687
15696
  });
15688
15697
  const b = E.getAudioTracks()[0];
15689
15698
  let k = E.getVideoTracks()[0];
@@ -15732,11 +15741,11 @@ let Ht = (ym = class extends gD {
15732
15741
  "audio",
15733
15742
  p.name,
15734
15743
  p.message
15735
- ), y = new Bu(p.name, p.message, h);
15744
+ ), T = new Bu(p.name, p.message, h);
15736
15745
  if (S === "COULD_NOT_START") {
15737
15746
  const E = r.shift();
15738
15747
  if (!E)
15739
- throw y;
15748
+ throw T;
15740
15749
  this.logger.info("getAudioTrack::gum_failed", {
15741
15750
  constraints: JSON.stringify(h),
15742
15751
  error: p
@@ -15748,7 +15757,7 @@ let Ht = (ym = class extends gD {
15748
15757
  constraints: JSON.stringify(b)
15749
15758
  }), o(E.deviceId);
15750
15759
  }
15751
- throw y;
15760
+ throw T;
15752
15761
  }
15753
15762
  });
15754
15763
  try {
@@ -15785,10 +15794,10 @@ let Ht = (ym = class extends gD {
15785
15794
  }), this.logger.info("getUserMediaWithoutTimeout::requesting_user_media", {
15786
15795
  constraints: JSON.stringify(p)
15787
15796
  });
15788
- const [y] = (yield navigator.mediaDevices.getUserMedia(p)).getVideoTracks();
15797
+ const [T] = (yield navigator.mediaDevices.getUserMedia(p)).getVideoTracks();
15789
15798
  if (e && typeof S != "boolean" && typeof S.width == "object") {
15790
- const { width: E, height: b } = y.getSettings(), { ideal: k } = S.width;
15791
- y.applyConstraints({
15799
+ const { width: E, height: b } = T.getSettings(), { ideal: k } = S.width;
15800
+ T.applyConstraints({
15792
15801
  width: { ideal: k },
15793
15802
  height: { ideal: Math.floor(b * k / E) },
15794
15803
  frameRate: S.frameRate
@@ -15796,17 +15805,17 @@ let Ht = (ym = class extends gD {
15796
15805
  }
15797
15806
  return this.logger.info("getUserMediaWithoutTimeout::received_user_media", {
15798
15807
  constraints: JSON.stringify(p)
15799
- }), y;
15808
+ }), T;
15800
15809
  } catch (p) {
15801
15810
  const S = Td(
15802
15811
  "video",
15803
15812
  p.name,
15804
15813
  p.message
15805
- ), y = new Bu(p.name, p.message, h);
15814
+ ), T = new Bu(p.name, p.message, h);
15806
15815
  if (S === "COULD_NOT_START") {
15807
15816
  const E = r.shift();
15808
15817
  if (!E)
15809
- throw y;
15818
+ throw T;
15810
15819
  this.logger.info("getVideoTrack::gum_failed", {
15811
15820
  constraints: JSON.stringify(h),
15812
15821
  error: p
@@ -15818,7 +15827,7 @@ let Ht = (ym = class extends gD {
15818
15827
  constraints: JSON.stringify(b)
15819
15828
  }), o({ video: b.video });
15820
15829
  }
15821
- throw y;
15830
+ throw T;
15822
15831
  }
15823
15832
  });
15824
15833
  try {
@@ -15903,10 +15912,10 @@ let Ht = (ym = class extends gD {
15903
15912
  if (!d && l)
15904
15913
  return 1;
15905
15914
  if (i.kind === "videoinput" && a.kind === "videoinput") {
15906
- const S = r(i), y = r(a);
15907
- if (S && !y)
15915
+ const S = r(i), T = r(a);
15916
+ if (S && !T)
15908
15917
  return -1;
15909
- if (!S && y)
15918
+ if (!S && T)
15910
15919
  return 1;
15911
15920
  }
15912
15921
  return 0;
@@ -16914,7 +16923,7 @@ const bn = class {
16914
16923
  return (i = (r = (e = (t = n(this, ut)) == null ? void 0 : t.media) == null ? void 0 : e.video) == null ? void 0 : r.simulcast) != null ? i : !1;
16915
16924
  }
16916
16925
  get mediaConstraints() {
16917
- var t, e, r, i, a, o, c, d, l, h, p, S, y, E, b, k, O, D, U, B, F, W, se, H;
16926
+ var t, e, r, i, a, o, c, d, l, h, p, S, T, E, b, k, O, D, U, B, F, W, se, H;
16918
16927
  return {
16919
16928
  audio: {
16920
16929
  enableStereo: (i = (r = (e = (t = n(this, ut)) == null ? void 0 : t.media) == null ? void 0 : e.audio) == null ? void 0 : r.enableStereo) != null ? i : yn.audio.enableStereo,
@@ -16922,7 +16931,7 @@ const bn = class {
16922
16931
  },
16923
16932
  video: {
16924
16933
  quality: (S = (p = (h = (l = n(this, ut)) == null ? void 0 : l.media) == null ? void 0 : h.video) == null ? void 0 : p.quality) != null ? S : yn.video.quality,
16925
- frameRate: (k = (b = (E = (y = n(this, ut)) == null ? void 0 : y.media) == null ? void 0 : E.video) == null ? void 0 : b.frameRate) != null ? k : yn.video.frameRate
16934
+ frameRate: (k = (b = (E = (T = n(this, ut)) == null ? void 0 : T.media) == null ? void 0 : E.video) == null ? void 0 : b.frameRate) != null ? k : yn.video.frameRate
16926
16935
  },
16927
16936
  screenshare: {
16928
16937
  quality: (B = (U = (D = (O = n(this, ut)) == null ? void 0 : O.media) == null ? void 0 : D.screenshare) == null ? void 0 : U.quality) != null ? B : yn.screenshare.quality,
@@ -17400,7 +17409,7 @@ jr = new WeakMap(), qr = new WeakMap(), ic = new WeakSet(), vh = function() {
17400
17409
  });
17401
17410
  };
17402
17411
  function Si(s) {
17403
- var t, e, r, i, a, o, c, d, l, h, p, S, y;
17412
+ var t, e, r, i, a, o, c, d, l, h, p, S, T;
17404
17413
  return s ? {
17405
17414
  media: {
17406
17415
  audio: {
@@ -17422,7 +17431,7 @@ function Si(s) {
17422
17431
  },
17423
17432
  video: {
17424
17433
  enabled: (p = (h = s.screenShareTracks) == null ? void 0 : h.video) == null ? void 0 : p.enabled,
17425
- trackId: (y = (S = s.screenShareTracks) == null ? void 0 : S.video) == null ? void 0 : y.id
17434
+ trackId: (T = (S = s.screenShareTracks) == null ? void 0 : S.video) == null ? void 0 : T.id
17426
17435
  }
17427
17436
  }
17428
17437
  }
@@ -17563,7 +17572,7 @@ let vr = (Em = class extends Bt {
17563
17572
  picture: h,
17564
17573
  isHost: p,
17565
17574
  flags: S,
17566
- stageStatus: y,
17575
+ stageStatus: T,
17567
17576
  customParticipantId: E,
17568
17577
  audioMuted: b,
17569
17578
  audioTrack: k,
@@ -17572,7 +17581,7 @@ let vr = (Em = class extends Bt {
17572
17581
  producers: U,
17573
17582
  metadata: B
17574
17583
  } = e;
17575
- this.id = o, this.userId = c, this.name = d, this.device = l, this.picture = h, this.isHost = p, this.flags = S, this.manualProducerConfig = kC, f(this, ia, y != null ? y : "ON_STAGE"), this.customParticipantId = E, this.audioEnabled = !b, this.audioTrack = k, this.videoEnabled = O, this.videoTrack = D, this.screenShareTracks = {
17584
+ this.id = o, this.userId = c, this.name = d, this.device = l, this.picture = h, this.isHost = p, this.flags = S, this.manualProducerConfig = kC, f(this, ia, T != null ? T : "ON_STAGE"), this.customParticipantId = E, this.audioEnabled = !b, this.audioTrack = k, this.videoEnabled = O, this.videoTrack = D, this.screenShareTracks = {
17576
17585
  audio: void 0,
17577
17586
  video: void 0
17578
17587
  }, this.producers = U != null ? U : [], this.presetName = B == null ? void 0 : B.preset_name, f(this, ra, !1), f(this, ht, r), f(this, ac, i), this.setupEvents(), this.updateVideo = this.updateVideo.bind(this), A(this, oc, Th).call(this);
@@ -18904,7 +18913,7 @@ const _n = (wm = class {
18904
18913
  H.closed || c.has(H.id) || A(this, pl, OS).call(this, H) && h.push(H.id);
18905
18914
  });
18906
18915
  const p = Date.now(), S = [];
18907
- let y = [];
18916
+ let T = [];
18908
18917
  n(this, Fe).forEach((H, Z) => {
18909
18918
  const Se = r.get(Z);
18910
18919
  if (!Se || Se.closed) {
@@ -18915,22 +18924,22 @@ const _n = (wm = class {
18915
18924
  n(this, Fe).delete(Z);
18916
18925
  return;
18917
18926
  }
18918
- p - H >= tO ? y.push(Z) : S.push(Z);
18919
- }), e.size > 0 && this.logger.debug(`syncConsumers: Desired producer IDs: [${Array.from(e.keys()).join(",")}].`), r.size > 0 && this.logger.debug(`syncConsumers: Current consumer IDs: [${Array.from(r.keys()).join(",")}].`), o.length > 0 && this.logger.info(`syncConsumers: Producer IDs requiring consumers: [${o.map(({ producerId: H }) => H).join(",")}].`), c.size > 0 && this.logger.debug(`syncConsumers: Consumer IDs to keep: [${Array.from(c).join(",")}].`), l.length > 0 && this.logger.info(`syncConsumers: Consumer IDs with consumer rewiring: [${l.join(",")}].`), d.length > 0 && this.logger.info(`syncConsumers: Consumer IDs revived before deletion: [${d.join(",")}].`), h.length > 0 && this.logger.info(`syncConsumers: Newly marked consumer IDs: [${h.join(",")}].`), S.length > 0 && this.logger.info(`syncConsumers: Consumer IDs in deletion grace period: [${S.join(",")}].`), y.length > 0 && this.logger.info(`syncConsumers: Consumer IDs ready for deletion: [${y.join(",")}].`);
18927
+ p - H >= tO ? T.push(Z) : S.push(Z);
18928
+ }), e.size > 0 && this.logger.debug(`syncConsumers: Desired producer IDs: [${Array.from(e.keys()).join(",")}].`), r.size > 0 && this.logger.debug(`syncConsumers: Current consumer IDs: [${Array.from(r.keys()).join(",")}].`), o.length > 0 && this.logger.info(`syncConsumers: Producer IDs requiring consumers: [${o.map(({ producerId: H }) => H).join(",")}].`), c.size > 0 && this.logger.debug(`syncConsumers: Consumer IDs to keep: [${Array.from(c).join(",")}].`), l.length > 0 && this.logger.info(`syncConsumers: Consumer IDs with consumer rewiring: [${l.join(",")}].`), d.length > 0 && this.logger.info(`syncConsumers: Consumer IDs revived before deletion: [${d.join(",")}].`), h.length > 0 && this.logger.info(`syncConsumers: Newly marked consumer IDs: [${h.join(",")}].`), S.length > 0 && this.logger.info(`syncConsumers: Consumer IDs in deletion grace period: [${S.join(",")}].`), T.length > 0 && this.logger.info(`syncConsumers: Consumer IDs ready for deletion: [${T.join(",")}].`);
18920
18929
  const E = 35, b = 35;
18921
18930
  o.length > E && (this.logger.warn(`syncConsumers: Too many remote producers to create consumers: ${o.length}. Only adding ${E} in this run.`), o = o.slice(
18922
18931
  0,
18923
18932
  E
18924
- ), this.scheduleSyncConsumers({ source: "SOFT_CAPPED_CREATE_CONSUMERS" })), y.length > b && (this.logger.warn(`syncConsumers: Too many remote consumers ready to close: ${y.length}. Only removing ${b} in this run.`), y = y.slice(
18933
+ ), this.scheduleSyncConsumers({ source: "SOFT_CAPPED_CREATE_CONSUMERS" })), T.length > b && (this.logger.warn(`syncConsumers: Too many remote consumers ready to close: ${T.length}. Only removing ${b} in this run.`), T = T.slice(
18925
18934
  0,
18926
18935
  b
18927
18936
  ), this.scheduleSyncConsumers({ source: "SOFT_CAPPED_REMOVE_CONSUMERS" }));
18928
18937
  try {
18929
- o.length > 0 || y.length > 0 ? (this.logger.info(
18930
- `syncConsumers: Calling updateConsumers: createProducerIds=[${o.map(({ producerId: H }) => H).join(",")}], deleteConsumerIds=[${y.join(",")}].`
18938
+ o.length > 0 || T.length > 0 ? (this.logger.info(
18939
+ `syncConsumers: Calling updateConsumers: createProducerIds=[${o.map(({ producerId: H }) => H).join(",")}], deleteConsumerIds=[${T.join(",")}].`
18931
18940
  ), yield this.updateConsumers(
18932
18941
  o,
18933
- y
18942
+ T
18934
18943
  ), this.logger.info("syncConsumers: updateConsumers completed successfully.")) : this.logger.info("syncConsumers: No changes needed, skipping updateConsumers.");
18935
18944
  } catch (H) {
18936
18945
  this.logger.error("syncConsumers: updateConsumers failed with error.", { error: H });
@@ -19476,7 +19485,7 @@ const _n = (wm = class {
19476
19485
  const h = this.participants.joined.get(e);
19477
19486
  if (!h)
19478
19487
  return;
19479
- const p = h.producers.find((y) => y.producerId === c);
19488
+ const p = h.producers.find((T) => T.producerId === c);
19480
19489
  if (p && (p.consumer = {
19481
19490
  id: s,
19482
19491
  peerId: e,
@@ -19735,7 +19744,7 @@ const vl = class extends Bt {
19735
19744
  "media"
19736
19745
  ]);
19737
19746
  if (r && (r.private && Rr(n(this, z).chat.private, r.private), r.public && Rr(n(this, z).chat.public, r.public), this.emit("chatUpdate")), i && Rr(n(this, z).connectedMeetings, i), c) {
19738
- const y = (b) => {
19747
+ const T = (b) => {
19739
19748
  switch (b) {
19740
19749
  case ii.NONE:
19741
19750
  return J.Allowed;
@@ -19754,11 +19763,11 @@ const vl = class extends Bt {
19754
19763
  screenshare: void 0
19755
19764
  };
19756
19765
  (h = c.audio) != null && h.canProduce && (E.audio = {
19757
- canProduce: y(c.audio.canProduce)
19766
+ canProduce: T(c.audio.canProduce)
19758
19767
  }), (p = c.video) != null && p.canProduce && (E.video = {
19759
- canProduce: y(c.video.canProduce)
19768
+ canProduce: T(c.video.canProduce)
19760
19769
  }), (S = c.screenshare) != null && S.canProduce && (E.screenshare = {
19761
- canProduce: y(c.screenshare.canProduce)
19770
+ canProduce: T(c.screenshare.canProduce)
19762
19771
  }), Rr(n(this, z).media, E);
19763
19772
  }
19764
19773
  a && (Rr(n(this, z).plugins, a), this.emit("pluginsUpdate")), o && (Rr(n(this, z).polls, o), this.emit("pollsUpdate")), Object.keys(d).length !== 0 && Rr(n(this, z), d), this.emit("permissionsUpdate", e);
@@ -20102,8 +20111,8 @@ class VS extends Bt {
20102
20111
  if ((a = i == null ? void 0 : i.getValue("defaults")) != null && a.mediaHandler)
20103
20112
  S = !1, this.localMediaHandler = i.getValue("defaults").mediaHandler.localMediaHandler;
20104
20113
  else if (navigator.RNLocalMediaHandlerImpl) {
20105
- const { RNLocalMediaHandlerImpl: y } = navigator;
20106
- this.localMediaHandler = yield y.init(e);
20114
+ const { RNLocalMediaHandlerImpl: T } = navigator;
20115
+ this.localMediaHandler = yield T.init(e);
20107
20116
  } else
20108
20117
  this.localMediaHandler = new bt(
20109
20118
  i,
@@ -20113,12 +20122,12 @@ class VS extends Bt {
20113
20122
  );
20114
20123
  if (i == null || i.getValue("peerSessionStore").on(
20115
20124
  _.MEDIA_PERMISSION_UPDATE,
20116
- (y) => u(this, null, function* () {
20125
+ (T) => u(this, null, function* () {
20117
20126
  if (this.populateMediaPermissionsInCallstats({
20118
- message: y.message,
20119
- kind: y.kind
20120
- }), y.message === "NOT_REQUESTED")
20121
- switch (y == null ? void 0 : y.kind) {
20127
+ message: T.message,
20128
+ kind: T.kind
20129
+ }), T.message === "NOT_REQUESTED")
20130
+ switch (T == null ? void 0 : T.kind) {
20122
20131
  case "audio":
20123
20132
  this.rawAudioTrack && (this.logger.info("Disabling audio due to media permission update"), this.disableAudio());
20124
20133
  break;
@@ -20128,12 +20137,12 @@ class VS extends Bt {
20128
20137
  default:
20129
20138
  break;
20130
20139
  }
20131
- this.emit("mediaPermissionUpdate", y);
20140
+ this.emit("mediaPermissionUpdate", T);
20132
20141
  })
20133
20142
  ), i == null || i.getValue("peerSessionStore").on(
20134
20143
  _.MEDIA_PERMISSION_ERROR,
20135
- (y) => u(this, null, function* () {
20136
- const { kind: E, message: b, constraints: k } = y;
20144
+ (T) => u(this, null, function* () {
20145
+ const { kind: E, message: b, constraints: k } = T;
20137
20146
  this.populateMediaPermissionsInCallstats({
20138
20147
  message: b,
20139
20148
  kind: E
@@ -20144,15 +20153,15 @@ class VS extends Bt {
20144
20153
  kind: E,
20145
20154
  message: b
20146
20155
  }
20147
- }), this.emit("mediaPermissionError", y), this.emit("mediaPermissionUpdate", { message: b, kind: E });
20156
+ }), this.emit("mediaPermissionError", T), this.emit("mediaPermissionUpdate", { message: b, kind: E });
20148
20157
  })
20149
20158
  ), S) {
20150
20159
  this.logger.info(`Setting up SelfMedia streams using media handler. audio:${(d = e == null ? void 0 : e.audio) != null ? d : !0} video:${(l = e == null ? void 0 : e.video) != null ? l : !0}`);
20151
- const y = this.localMediaHandler.setupStreams({
20160
+ const T = this.localMediaHandler.setupStreams({
20152
20161
  video: (h = e == null ? void 0 : e.video) != null ? h : !0,
20153
20162
  audio: (p = e == null ? void 0 : e.audio) != null ? p : !0
20154
20163
  });
20155
- r || (yield y);
20164
+ r || (yield T);
20156
20165
  }
20157
20166
  } catch (S) {
20158
20167
  this.logger.error("Self::init::Failed To Setup Streams", {
@@ -20502,8 +20511,8 @@ let Qe = (_m = class extends VS {
20502
20511
  }
20503
20512
  static __init__(t, e, r, i, a, o = !1) {
20504
20513
  return u(this, null, function* () {
20505
- var S, y, E, b, k, O;
20506
- let c = (y = (S = t.getValue("defaults")) == null ? void 0 : S.audio) != null ? y : !0, d = (b = (E = t.getValue("defaults")) == null ? void 0 : E.video) != null ? b : !0;
20514
+ var S, T, E, b, k, O;
20515
+ let c = (T = (S = t.getValue("defaults")) == null ? void 0 : S.audio) != null ? T : !0, d = (b = (E = t.getValue("defaults")) == null ? void 0 : E.video) != null ? b : !0;
20507
20516
  r.canProduceAudio !== "ALLOWED" && (c = !1), r.canProduceVideo !== "ALLOWED" && (d = !1);
20508
20517
  const l = new Qe(t, e, r, i, a), h = hD(i.mediaConstraints);
20509
20518
  Rr(h, (k = t.getValue("defaults")) == null ? void 0 : k.mediaConfiguration);
@@ -21607,8 +21616,8 @@ const An = class extends Tu {
21607
21616
  f(this, fa, e);
21608
21617
  const S = e.getValue("logger");
21609
21618
  S.debug(`constructor() [id: ${r}, direction: ${i}]`), this.id = r, this.direction = i;
21610
- const y = oO(l, {});
21611
- delete y.iceServers, delete y.iceTransportPolicy, delete y.bundlePolicy, delete y.rtcpMuxPolicy, delete y.sdpSemantics, this.producers = /* @__PURE__ */ new Map(), this.consumers = /* @__PURE__ */ new Map(), this.consumerTrackEvents = /* @__PURE__ */ new Map(), this.unknownTracksMap = /* @__PURE__ */ new Map(), this.awaitQueue = new _h(S, !0), this.handler = a(), this.handler.enableHighBitrate = (b = p == null ? void 0 : p.enableHighBitrate) != null ? b : !1, this.handler.enableStereo = (k = p == null ? void 0 : p.enableStereo) != null ? k : !1, this.handler.enableDtx = (O = p == null ? void 0 : p.enableDtx) != null ? O : !0, this.handler.init({
21619
+ const T = oO(l, {});
21620
+ delete T.iceServers, delete T.iceTransportPolicy, delete T.bundlePolicy, delete T.rtcpMuxPolicy, delete T.sdpSemantics, this.producers = /* @__PURE__ */ new Map(), this.consumers = /* @__PURE__ */ new Map(), this.consumerTrackEvents = /* @__PURE__ */ new Map(), this.unknownTracksMap = /* @__PURE__ */ new Map(), this.awaitQueue = new _h(S, !0), this.handler = a(), this.handler.enableHighBitrate = (b = p == null ? void 0 : p.enableHighBitrate) != null ? b : !1, this.handler.enableStereo = (k = p == null ? void 0 : p.enableStereo) != null ? k : !1, this.handler.enableDtx = (O = p == null ? void 0 : p.enableDtx) != null ? O : !0, this.handler.init({
21612
21621
  onTrackHandler: this._ontrack.bind(this),
21613
21622
  direction: i,
21614
21623
  iceServers: o,
@@ -21730,7 +21739,7 @@ const An = class extends Tu {
21730
21739
  appData: p = {}
21731
21740
  } = e;
21732
21741
  this.logger.debug(`produce() [track:${a.id}]`);
21733
- const { producerId: S, localId: y, rtpSender: E } = yield this.awaitQueue.push(() => u(this, null, function* () {
21742
+ const { producerId: S, localId: T, rtpSender: E } = yield this.awaitQueue.push(() => u(this, null, function* () {
21734
21743
  const {
21735
21744
  offerSdp: b,
21736
21745
  callback: k,
@@ -21755,7 +21764,7 @@ const An = class extends Tu {
21755
21764
  }), "Transport.produce");
21756
21765
  return this.createProducerObject({
21757
21766
  id: S,
21758
- localId: y,
21767
+ localId: T,
21759
21768
  track: a,
21760
21769
  stopTracks: d,
21761
21770
  disableTrackOnPause: l,
@@ -21928,13 +21937,13 @@ const An = class extends Tu {
21928
21937
  appData: h,
21929
21938
  kind: p,
21930
21939
  mimeType: S
21931
- } = e, y = `${c}:${p}`, E = q(N({}, e), {
21940
+ } = e, T = `${c}:${p}`, E = q(N({}, e), {
21932
21941
  name: "consumer creation task error",
21933
21942
  message: "consumer creation failed"
21934
21943
  });
21935
21944
  return new Promise((b, k) => u(this, null, function* () {
21936
21945
  const O = setTimeout(() => {
21937
- this.logger.warn(`Timed out waiting for track event ${y} producingPeerId: ${a}`), this.consumerTrackEvents.delete(y), E.isTimedout = !0, k(E);
21946
+ this.logger.warn(`Timed out waiting for track event ${T} producingPeerId: ${a}`), this.consumerTrackEvents.delete(T), E.isTimedout = !0, k(E);
21938
21947
  }, lO), D = (B, F) => {
21939
21948
  try {
21940
21949
  if (B.readyState === "ended")
@@ -21963,8 +21972,8 @@ const An = class extends Tu {
21963
21972
  } catch (W) {
21964
21973
  this.logger.error(`Error while creating ${l ? "screenshare" : "participant"} ${p} consumer for producerId ${i} of remote peer ${a}`, W), clearTimeout(O), k(E);
21965
21974
  }
21966
- }, U = this.unknownTracksMap.get(y);
21967
- U ? (this.logger.info(`track event already received for ${l ? "screenshare" : "participant"} ${p} consumer ${r} of a remote peer ${a} with trackId ${U.track.id} on mid ${U.transceiver.mid} having key ${y}`), this.unknownTracksMap.delete(y), D(U.track, U.transceiver)) : (this.logger.info(`Registering onTrack handler for ${l ? "screenshare" : "participant"} ${p} consumer ${r} of a remote peer ${a} with key ${y}`), this.consumerTrackEvents.set(y, D));
21975
+ }, U = this.unknownTracksMap.get(T);
21976
+ U ? (this.logger.info(`track event already received for ${l ? "screenshare" : "participant"} ${p} consumer ${r} of a remote peer ${a} with trackId ${U.track.id} on mid ${U.transceiver.mid} having key ${T}`), this.unknownTracksMap.delete(T), D(U.track, U.transceiver)) : (this.logger.info(`Registering onTrack handler for ${l ? "screenshare" : "participant"} ${p} consumer ${r} of a remote peer ${a} with key ${T}`), this.consumerTrackEvents.set(T, D));
21968
21977
  }));
21969
21978
  });
21970
21979
  }
@@ -22446,11 +22455,11 @@ class bp extends kp {
22446
22455
  this.logger.info(`senders available params: ${JSON.stringify(l)}`);
22447
22456
  const h = [];
22448
22457
  r && r.length && r.forEach((p) => {
22449
- var y;
22458
+ var T;
22450
22459
  const S = l.codecs.find((E) => E.mimeType.includes(p.name));
22451
22460
  if (p.parameters) {
22452
22461
  this.logger.debug(`codecOption.parameters:${JSON.stringify(p.parameters)}`);
22453
- const E = ((y = S.sdpFmtpLine) == null ? void 0 : y.split(";")) || [];
22462
+ const E = ((T = S.sdpFmtpLine) == null ? void 0 : T.split(";")) || [];
22454
22463
  E.push(...p.parameters);
22455
22464
  const b = Array.from(new Set(E).values());
22456
22465
  S.sdpFmtpLine = b.join(";");
@@ -22519,16 +22528,16 @@ class Kd extends kp {
22519
22528
  const S = d.sender.getParameters();
22520
22529
  S.encodings = r, yield d.sender.setParameters(S);
22521
22530
  }
22522
- const l = (S, y) => {
22531
+ const l = (S, T) => {
22523
22532
  var B;
22524
- const E = as.parse(S), b = E.media[E.media.length - 1], k = b.rtp.filter((F) => y.some((W) => W.name === F.codec)), O = b.fmtp.filter((F) => k.some((W) => W.payload === F.payload)), D = (B = b.rtcpFb) == null ? void 0 : B.filter((F) => k.some((W) => W.payload === F.payload)), U = k.map((F) => F.payload);
22533
+ const E = as.parse(S), b = E.media[E.media.length - 1], k = b.rtp.filter((F) => T.some((W) => W.name === F.codec)), O = b.fmtp.filter((F) => k.some((W) => W.payload === F.payload)), D = (B = b.rtcpFb) == null ? void 0 : B.filter((F) => k.some((W) => W.payload === F.payload)), U = k.map((F) => F.payload);
22525
22534
  return E.media[E.media.length - 1].rtp = k, E.media[E.media.length - 1].fmtp = O, E.media[E.media.length - 1].rtcpFb = D, E.media[E.media.length - 1].payloads = U.join(" "), as.write(E);
22526
22535
  }, h = yield this.pc.createOffer();
22527
22536
  if (h.sdp = l(h.sdp, i), this.logger.debug(`[SDP] send() | calling pc.setLocalDescription() [offer:${JSON.stringify(h)}]`), yield this.pc.setLocalDescription(h), e === "audio" || e.kind === "audio") {
22528
- const { enableDtx: S, enableStereo: y } = this, E = this.enableHighBitrate ? y ? 128e3 : 64e3 : y ? 64e3 : 32e3;
22537
+ const { enableDtx: S, enableStereo: T } = this, E = this.enableHighBitrate ? T ? 128e3 : 64e3 : T ? 64e3 : 32e3;
22529
22538
  h.sdp = h.sdp.replace(
22530
22539
  "minptime=10;useinbandfec=1",
22531
- `minptime=10;useinbandfec=1;${S ? "usedtx=1;" : ""}${y ? "stereo=1;sprop-stereo=1;" : ""}maxaveragebitrate=${E}`
22540
+ `minptime=10;useinbandfec=1;${S ? "usedtx=1;" : ""}${T ? "stereo=1;sprop-stereo=1;" : ""}maxaveragebitrate=${E}`
22532
22541
  );
22533
22542
  }
22534
22543
  return this.midTransceiverMap.set(d.mid, d), {
@@ -22585,13 +22594,13 @@ class Ap extends kp {
22585
22594
  this.logger.info(`Safari12::senders available params: ${JSON.stringify(c)}`);
22586
22595
  const d = [];
22587
22596
  r && r.length > 0 && r.forEach((p) => {
22588
- var y;
22597
+ var T;
22589
22598
  const S = c.codecs.find(
22590
22599
  (E) => E.mimeType.includes(p.name)
22591
22600
  );
22592
22601
  if (p.parameters) {
22593
22602
  this.logger.info(`Safari12::codecOption.parameters:, ${JSON.stringify(p.parameters)}`);
22594
- const E = ((y = S.sdpFmtpLine) == null ? void 0 : y.split(";")) || [];
22603
+ const E = ((T = S.sdpFmtpLine) == null ? void 0 : T.split(";")) || [];
22595
22604
  E.push(...p.parameters);
22596
22605
  const b = [...new Set(E).values()];
22597
22606
  S.sdpFmtpLine = b.join(";");
@@ -22600,10 +22609,10 @@ class Ap extends kp {
22600
22609
  }), this.logger.info(`Safari12::selected codecs: ${JSON.stringify(d)}`), o.setCodecPreferences(d);
22601
22610
  const l = yield this.pc.createOffer();
22602
22611
  if (yield this.pc.setLocalDescription(l), t === "audio" || t.kind === "audio") {
22603
- const { enableStereo: p, enableDtx: S } = this, y = this.enableHighBitrate ? p ? 128e3 : 64e3 : p ? 64e3 : 32e3;
22612
+ const { enableStereo: p, enableDtx: S } = this, T = this.enableHighBitrate ? p ? 128e3 : 64e3 : p ? 64e3 : 32e3;
22604
22613
  l.sdp = l.sdp.replace(
22605
22614
  "minptime=10;useinbandfec=1",
22606
- `minptime=10;useinbandfec=1;${S ? "usedtx=1;" : ""}${p ? "stereo=1;sprop-stereo=1;" : ""}maxaveragebitrate=${y}`
22615
+ `minptime=10;useinbandfec=1;${S ? "usedtx=1;" : ""}${p ? "stereo=1;sprop-stereo=1;" : ""}maxaveragebitrate=${T}`
22607
22616
  );
22608
22617
  }
22609
22618
  return this.midTransceiverMap.set(o.mid, o), {
@@ -22842,7 +22851,7 @@ Sa = new WeakMap(), We = new WeakMap(), Je = new WeakMap(), mc = new WeakMap(),
22842
22851
  });
22843
22852
  }, wl = new WeakSet(), US = function(e) {
22844
22853
  return u(this, null, function* () {
22845
- var o, c, d, l, h, p, S, y;
22854
+ var o, c, d, l, h, p, S, T;
22846
22855
  No(this.context, "forceRelay") && f(this, Cs, "relay"), this.logger.info(`ICE Transport Policy set to ${n(this, Cs)}`);
22847
22856
  const a = yield xt().getICEServers().catch((E) => (this.logger.warn(`failed to get iceservers from server: ${E.message}`), []));
22848
22857
  e.send && A(this, Cl, BS).call(this, {
@@ -22859,7 +22868,7 @@ Sa = new WeakMap(), We = new WeakMap(), Je = new WeakMap(), mc = new WeakMap(),
22859
22868
  }), e.recv && A(this, Rl, FS).call(this, {
22860
22869
  iceServers: a,
22861
22870
  additionalSettings: {
22862
- encodedInsertableStreams: (y = this.context.getValue("modules").e2ee) == null ? void 0 : y.enabled
22871
+ encodedInsertableStreams: (T = this.context.getValue("modules").e2ee) == null ? void 0 : T.enabled
22863
22872
  },
22864
22873
  iceTransportPolicy: n(this, Cs)
22865
22874
  });
@@ -23210,7 +23219,7 @@ class Ip {
23210
23219
  codecOptions: a,
23211
23220
  producingTransportId: o
23212
23221
  }) {
23213
- var S, y;
23222
+ var S, T;
23214
23223
  const d = Ip.getMSIDFromSDP(t.sdp, e), l = {
23215
23224
  description: {
23216
23225
  sdp: t.sdp,
@@ -23222,7 +23231,7 @@ class Ip {
23222
23231
  msid: d,
23223
23232
  appData: JSON.stringify(i),
23224
23233
  screenShare: (S = i.screenShare) != null ? S : !1,
23225
- mimeType: `${e}/${(y = a[0]) == null ? void 0 : y.name}`,
23234
+ mimeType: `${e}/${(T = a[0]) == null ? void 0 : T.name}`,
23226
23235
  producingTransportId: o
23227
23236
  }, { answer: h, producerId: p } = yield this.socketHandler.produce(l);
23228
23237
  return { answer: h, producerId: p };
@@ -23897,7 +23906,7 @@ class ce {
23897
23906
  }
23898
23907
  _shareWebcam(t) {
23899
23908
  return u(this, null, function* () {
23900
- var h, p, S, y;
23909
+ var h, p, S, T;
23901
23910
  const e = ye.WEBCAM, r = A(this, tt, ct).call(this, e);
23902
23911
  if (r) {
23903
23912
  const E = yield r;
@@ -23910,7 +23919,7 @@ class ce {
23910
23919
  return this._shareWebcam(t);
23911
23920
  }
23912
23921
  const i = A(this, Yl, dv).call(this, t), a = No(this.context, "disableSimulcast"), o = (p = (h = this.context) == null ? void 0 : h.getValue("overrides")) == null ? void 0 : p.simulcastConfig;
23913
- a || o && o.disable || !((y = (S = this.context) == null ? void 0 : S.getValue("theme")) != null && y.isSimulcastEnabled) ? this.logger.info("Simulcast disabled for webcam producer, SFU: CF") : (this.logger.info("Simulcast enabled for SFU: CF"), i.encodings = lD(this.context, t), this.logger.info(`Simulcast encodings: ${JSON.stringify(i.encodings)}`));
23922
+ a || o && o.disable || !((T = (S = this.context) == null ? void 0 : S.getValue("theme")) != null && T.isSimulcastEnabled) ? this.logger.info("Simulcast disabled for webcam producer, SFU: CF") : (this.logger.info("Simulcast enabled for SFU: CF"), i.encodings = lD(this.context, t), this.logger.info(`Simulcast encodings: ${JSON.stringify(i.encodings)}`));
23914
23923
  const d = () => {
23915
23924
  this.logger.info("Disabling video due to the producer closure"), n(this, ft).delete(e);
23916
23925
  }, l = n(this, j).createProducer(
@@ -25960,7 +25969,7 @@ function yv(s, t, e, r) {
25960
25969
  else
25961
25970
  throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof s);
25962
25971
  }
25963
- class GO extends T {
25972
+ class GO extends y {
25964
25973
  constructor() {
25965
25974
  super("message.v1.SocketMessage", [
25966
25975
  {
@@ -26067,8 +26076,8 @@ class zO {
26067
26076
  constructor(t, e) {
26068
26077
  var E, b, k, O, D, U, B, F, W, se, H, Z;
26069
26078
  le(this, $h), le(this, mo), le(this, xh), le(this, Dd), le(this, Yd), le(this, Hh), le(this, Po), le(this, Nn), le(this, Qd), le(this, Ln), le(this, Fh), le(this, Co), le(this, Ro), le(this, Ie, void 0), le(this, Cn, void 0), le(this, ue, void 0), le(this, Ce, void 0), le(this, Dr, void 0), le(this, Ye, void 0), le(this, gr, void 0), le(this, ni, void 0), le(this, ps, void 0), le(this, Rn, void 0), le(this, kn, void 0), le(this, Fs, void 0);
26070
- var r, i, a, o, c, d, l, h, p, S, y;
26071
- ie(this, Cn, t), ie(this, Dr, []), ie(this, Ye, new zd()), ie(this, gr, !0), ie(this, ps, !1), ie(this, ue, e != null ? e : {}), (E = (r = M(this, ue)).autoReconnect) != null || (r.autoReconnect = !0), (b = (i = M(this, ue)).retryConnectionInterval) != null || (i.retryConnectionInterval = 1e3), (k = (a = M(this, ue)).pingTimeout) != null || (a.pingTimeout = 3e4), (O = (o = M(this, ue)).connectionTimeout) != null || (o.connectionTimeout = 5e3), (D = (c = M(this, ue)).debug) != null || (c.debug = !0), (U = (d = M(this, ue)).maxReconnectionAttempts) != null || (d.maxReconnectionAttempts = 10), (B = (l = M(this, ue)).disconnectOnPingTimeout) != null || (l.disconnectOnPingTimeout = !0), (F = (h = M(this, ue)).queueOnDisconnect) != null || (h.queueOnDisconnect = !1), (W = (p = M(this, ue)).flushOnReconnect) != null || (p.flushOnReconnect = !1), (se = (S = M(this, ue)).clientInitiatedPings) != null || (S.clientInitiatedPings = !1), (H = (y = M(this, ue)).clientInitiatedPingInterval) != null || (y.clientInitiatedPingInterval = 3e4), ie(this, ni, {
26079
+ var r, i, a, o, c, d, l, h, p, S, T;
26080
+ ie(this, Cn, t), ie(this, Dr, []), ie(this, Ye, new zd()), ie(this, gr, !0), ie(this, ps, !1), ie(this, ue, e != null ? e : {}), (E = (r = M(this, ue)).autoReconnect) != null || (r.autoReconnect = !0), (b = (i = M(this, ue)).retryConnectionInterval) != null || (i.retryConnectionInterval = 1e3), (k = (a = M(this, ue)).pingTimeout) != null || (a.pingTimeout = 3e4), (O = (o = M(this, ue)).connectionTimeout) != null || (o.connectionTimeout = 5e3), (D = (c = M(this, ue)).debug) != null || (c.debug = !0), (U = (d = M(this, ue)).maxReconnectionAttempts) != null || (d.maxReconnectionAttempts = 10), (B = (l = M(this, ue)).disconnectOnPingTimeout) != null || (l.disconnectOnPingTimeout = !0), (F = (h = M(this, ue)).queueOnDisconnect) != null || (h.queueOnDisconnect = !1), (W = (p = M(this, ue)).flushOnReconnect) != null || (p.flushOnReconnect = !1), (se = (S = M(this, ue)).clientInitiatedPings) != null || (S.clientInitiatedPings = !1), (H = (T = M(this, ue)).clientInitiatedPingInterval) != null || (T.clientInitiatedPingInterval = 3e4), ie(this, ni, {
26072
26081
  code: void 0,
26073
26082
  reason: void 0
26074
26083
  }), ie(this, Ce, (Z = M(this, ue).logger) != null ? Z : new KO(M(this, ue).debug ? "debug" : "info")), ie(this, Fs, new JO());
@@ -26529,7 +26538,7 @@ const bv = (qu = class {
26529
26538
  );
26530
26539
  }, h = r != null ? r : A(this, Qc, Yh).call(this), p = {};
26531
26540
  n(this, Ue).getValue("telemetry").injectContext(p);
26532
- const y = ({
26541
+ const T = ({
26533
26542
  id: k,
26534
26543
  payload: O
26535
26544
  }) => {
@@ -26547,22 +26556,22 @@ const bv = (qu = class {
26547
26556
  D = new Error("failed to parse error message", { cause: B });
26548
26557
  }
26549
26558
  }
26550
- c(D), l(E, y);
26559
+ c(D), l(E, T);
26551
26560
  }
26552
26561
  }, E = ({
26553
26562
  id: k,
26554
26563
  payload: O
26555
26564
  }) => {
26556
- h === k && (o({ id: k, payload: O }), l(E, y));
26565
+ h === k && (o({ id: k, payload: O }), l(E, T));
26557
26566
  };
26558
- n(this, _e).on(a, E), n(this, _e).on(om, y), n(this, _e).on(Or.errorResponse, y), n(this, _e).on(gs.errorResponse, y), d = setTimeout(() => {
26559
- l(E, y), c(new Error(`request timeout for callback eventId:${s}`));
26567
+ n(this, _e).on(a, E), n(this, _e).on(om, T), n(this, _e).on(Or.errorResponse, T), n(this, _e).on(gs.errorResponse, T), d = setTimeout(() => {
26568
+ l(E, T), c(new Error(`request timeout for callback eventId:${s}`));
26560
26569
  }, t), n(this, _e).send(
26561
26570
  s,
26562
26571
  h,
26563
26572
  e,
26564
26573
  new TextEncoder().encode(JSON.stringify(p))
26565
- ) || (l(E, y), c(new Error("Socket message could not be sent for the current peer ID")));
26574
+ ) || (l(E, T), c(new Error("Socket message could not be sent for the current peer ID")));
26566
26575
  }
26567
26576
  );
26568
26577
  }
@@ -27288,8 +27297,8 @@ const So = class {
27288
27297
  s.setValue("connectionHandler", l);
27289
27298
  let h = "", p = null;
27290
27299
  c.info("CF SFU is being used.");
27291
- const S = So.createSocketService(s), y = S.connect();
27292
- y.catch(() => {
27300
+ const S = So.createSocketService(s), T = S.connect();
27301
+ T.catch(() => {
27293
27302
  });
27294
27303
  const E = d.getUserDetails();
27295
27304
  try {
@@ -27308,7 +27317,7 @@ const So = class {
27308
27317
  throw new R((H == null ? void 0 : H.message) || "Failed to initialize.", "0001");
27309
27318
  }
27310
27319
  try {
27311
- yield y;
27320
+ yield T;
27312
27321
  } catch (H) {
27313
27322
  c.error(
27314
27323
  "[Controller]: Failed to connect to socket server:",
@@ -27356,7 +27365,7 @@ const So = class {
27356
27365
  }
27357
27366
  }
27358
27367
  }, d)), t.setValue("maxPreferredStreams", we.isMobile() ? i.maxVideoStreams.mobile : i.maxVideoStreams.desktop);
27359
- let S, y, E, b, k, O, D, U, B;
27368
+ let S, T, E, b, k, O, D, U, B;
27360
27369
  const F = new kO(t, s), W = new n1(
27361
27370
  s
27362
27371
  );
@@ -27380,7 +27389,7 @@ const So = class {
27380
27389
  t,
27381
27390
  v.self,
27382
27391
  Se
27383
- )), (C = o.e2ee) != null && C.enabled && o.e2ee.manager.init(l, t.getValue("peerSessionStore")), o.chat && (y = yield Eo.init(
27392
+ )), (C = o.e2ee) != null && C.enabled && o.e2ee.manager.init(l, t.getValue("peerSessionStore")), o.chat && (T = yield Eo.init(
27384
27393
  t,
27385
27394
  H,
27386
27395
  v.self,
@@ -27433,7 +27442,7 @@ const So = class {
27433
27442
  pollController: S,
27434
27443
  selfController: v,
27435
27444
  metaController: w,
27436
- chatController: y,
27445
+ chatController: T,
27437
27446
  stageController: E,
27438
27447
  pluginController: b,
27439
27448
  recordingController: O,
@@ -27608,9 +27617,9 @@ let oi = (km = class {
27608
27617
  }
27609
27618
  static init(t) {
27610
27619
  return u(this, null, function* () {
27611
- var S, y, b, k, O, D, U;
27620
+ var S, T, b, k, O, D, U;
27612
27621
  we.init();
27613
- const e = (y = (S = t == null ? void 0 : t.cachedUserDetails) == null ? void 0 : S.peerId) != null ? y : un(), { authToken: r, baseURI: i } = t, E = YO(r, i), { meetingId: a } = E, o = ld(E, ["meetingId"]);
27622
+ const e = (T = (S = t == null ? void 0 : t.cachedUserDetails) == null ? void 0 : S.peerId) != null ? T : un(), { authToken: r, baseURI: i } = t, E = YO(r, i), { meetingId: a } = E, o = ld(E, ["meetingId"]);
27614
27623
  if ((b = o.baseURI) != null && b.includes("dyte.io"))
27615
27624
  throw new R("Dyte Base URIs are no longer supported. Use RealtimeKit Base URIs.", "0001");
27616
27625
  window.__zone_symbol__DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION = !0;
@@ -27653,7 +27662,7 @@ let oi = (km = class {
27653
27662
  video: !0
27654
27663
  };
27655
27664
  return a.setValue("options", e), a.setValue("peerId", t), a.setValue("modules", o), a.setValue("sdkName", "web-core"), a.setValue("meetingId", r), a.setValue("apiBase", i.apiBase), a.setValue("baseURI", i.baseURI), a.setValue("userId", i.participantId), a.setValue("organizationId", i.orgId), a.setValue("authToken", e.authToken), a.setValue("overrides", (d = e.overrides) != null ? d : {}), a.setValue("env", AC({ baseURI: i.baseURI })), a.setValue("defaults", c), a.setValue("onError", e.onError || (() => {
27656
- })), a.setValue("cachedUserDetails", Vs(e.cachedUserDetails)), a.setValue("sdkVersion", "2.1.0-staging.5"), (l = e.modules) != null && l.experimentalAudioPlayback && a.setValue("audioPlayback", new f1()), a;
27665
+ })), a.setValue("cachedUserDetails", Vs(e.cachedUserDetails)), a.setValue("sdkVersion", "2.1.0-staging.6"), (l = e.modules) != null && l.experimentalAudioPlayback && a.setValue("audioPlayback", new f1()), a;
27657
27666
  }
27658
27667
  join() {
27659
27668
  return u(this, null, function* () {