@cloudflare/realtimekit 0.1.0 → 0.2.0

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/mock.es.js CHANGED
@@ -2054,104 +2054,104 @@ class MessageType {
2054
2054
  return message;
2055
2055
  }
2056
2056
  }
2057
- var rt = Object.defineProperty, ot = Object.defineProperties;
2058
- var at = Object.getOwnPropertyDescriptors;
2059
- var Je = Object.getOwnPropertySymbols;
2060
- var it = Object.prototype.hasOwnProperty, ct = Object.prototype.propertyIsEnumerable;
2061
- var Ce = (e, s, a) => s in e ? rt(e, s, { enumerable: true, configurable: true, writable: true, value: a }) : e[s] = a, Ee = (e, s) => {
2057
+ var yt = Object.defineProperty, vt = Object.defineProperties;
2058
+ var Rt = Object.getOwnPropertyDescriptors;
2059
+ var on = Object.getOwnPropertySymbols;
2060
+ var _t = Object.prototype.hasOwnProperty, wt = Object.prototype.propertyIsEnumerable;
2061
+ var qe = (e, s, a) => s in e ? yt(e, s, { enumerable: true, configurable: true, writable: true, value: a }) : e[s] = a, $e = (e, s) => {
2062
2062
  for (var a in s || (s = {}))
2063
- it.call(s, a) && Ce(e, a, s[a]);
2064
- if (Je)
2065
- for (var a of Je(s))
2066
- ct.call(s, a) && Ce(e, a, s[a]);
2063
+ _t.call(s, a) && qe(e, a, s[a]);
2064
+ if (on)
2065
+ for (var a of on(s))
2066
+ wt.call(s, a) && qe(e, a, s[a]);
2067
2067
  return e;
2068
- }, Ze = (e, s) => ot(e, at(s));
2069
- var y = (e, s, a) => (Ce(e, typeof s != "symbol" ? s + "" : s, a), a), ze = (e, s, a) => {
2068
+ }, an = (e, s) => vt(e, Rt(s));
2069
+ var y = (e, s, a) => (qe(e, typeof s != "symbol" ? s + "" : s, a), a), cn = (e, s, a) => {
2070
2070
  if (!s.has(e))
2071
2071
  throw TypeError("Cannot " + a);
2072
2072
  };
2073
- var I = (e, s, a) => (ze(e, s, "read from private field"), a ? a.call(e) : s.get(e)), Z = (e, s, a) => {
2073
+ var j = (e, s, a) => (cn(e, s, "read from private field"), a ? a.call(e) : s.get(e)), te = (e, s, a) => {
2074
2074
  if (s.has(e))
2075
2075
  throw TypeError("Cannot add the same private member more than once");
2076
2076
  s instanceof WeakSet ? s.add(e) : s.set(e, a);
2077
- }, Se = (e, s, a, d) => (ze(e, s, "write to private field"), d ? d.call(e, a) : s.set(e, a), a);
2078
- var Ye = (e, s, a) => new Promise((d, p) => {
2079
- var m = (P) => {
2077
+ }, Ne = (e, s, a, d) => (cn(e, s, "write to private field"), d ? d.call(e, a) : s.set(e, a), a);
2078
+ var dn = (e, s, a) => new Promise((d, p) => {
2079
+ var m = (w) => {
2080
2080
  try {
2081
- g(a.next(P));
2082
- } catch (b) {
2083
- p(b);
2081
+ g(a.next(w));
2082
+ } catch (L) {
2083
+ p(L);
2084
2084
  }
2085
- }, f = (P) => {
2085
+ }, f = (w) => {
2086
2086
  try {
2087
- g(a.throw(P));
2088
- } catch (b) {
2089
- p(b);
2087
+ g(a.throw(w));
2088
+ } catch (L) {
2089
+ p(L);
2090
2090
  }
2091
- }, g = (P) => P.done ? d(P.value) : Promise.resolve(P.value).then(m, f);
2091
+ }, g = (w) => w.done ? d(w.value) : Promise.resolve(w.value).then(m, f);
2092
2092
  g((a = a.apply(e, s)).next());
2093
2093
  });
2094
- var Y = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, ie = {}, ut = {
2094
+ var re = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, fe = {}, Ct = {
2095
2095
  get exports() {
2096
- return ie;
2096
+ return fe;
2097
2097
  },
2098
2098
  set exports(e) {
2099
- ie = e;
2099
+ fe = e;
2100
2100
  }
2101
- }, j = typeof Reflect == "object" ? Reflect : null, Qe = j && typeof j.apply == "function" ? j.apply : function(s, a, d) {
2101
+ }, J = typeof Reflect == "object" ? Reflect : null, un = J && typeof J.apply == "function" ? J.apply : function(s, a, d) {
2102
2102
  return Function.prototype.apply.call(s, a, d);
2103
- }, oe;
2104
- j && typeof j.ownKeys == "function" ? oe = j.ownKeys : Object.getOwnPropertySymbols ? oe = function(s) {
2103
+ }, le;
2104
+ J && typeof J.ownKeys == "function" ? le = J.ownKeys : Object.getOwnPropertySymbols ? le = function(s) {
2105
2105
  return Object.getOwnPropertyNames(s).concat(Object.getOwnPropertySymbols(s));
2106
- } : oe = function(s) {
2106
+ } : le = function(s) {
2107
2107
  return Object.getOwnPropertyNames(s);
2108
2108
  };
2109
- function pt(e) {
2109
+ function Et(e) {
2110
2110
  console && console.warn && console.warn(e);
2111
2111
  }
2112
- var un = Number.isNaN || function(s) {
2112
+ var Rn = Number.isNaN || function(s) {
2113
2113
  return s !== s;
2114
2114
  };
2115
- function R() {
2116
- R.init.call(this);
2115
+ function v() {
2116
+ v.init.call(this);
2117
2117
  }
2118
- ut.exports = R;
2119
- ie.once = ft;
2120
- R.EventEmitter = R;
2121
- R.prototype._events = void 0;
2122
- R.prototype._eventsCount = 0;
2123
- R.prototype._maxListeners = void 0;
2124
- var Xe = 10;
2125
- function me(e) {
2118
+ Ct.exports = v;
2119
+ fe.once = xt;
2120
+ v.EventEmitter = v;
2121
+ v.prototype._events = void 0;
2122
+ v.prototype._eventsCount = 0;
2123
+ v.prototype._maxListeners = void 0;
2124
+ var pn = 10;
2125
+ function Re(e) {
2126
2126
  if (typeof e != "function")
2127
2127
  throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof e);
2128
2128
  }
2129
- Object.defineProperty(R, "defaultMaxListeners", {
2129
+ Object.defineProperty(v, "defaultMaxListeners", {
2130
2130
  enumerable: true,
2131
2131
  get: function() {
2132
- return Xe;
2132
+ return pn;
2133
2133
  },
2134
2134
  set: function(e) {
2135
- if (typeof e != "number" || e < 0 || un(e))
2135
+ if (typeof e != "number" || e < 0 || Rn(e))
2136
2136
  throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + e + ".");
2137
- Xe = e;
2137
+ pn = e;
2138
2138
  }
2139
2139
  });
2140
- R.init = function() {
2140
+ v.init = function() {
2141
2141
  (this._events === void 0 || this._events === Object.getPrototypeOf(this)._events) && (this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0), this._maxListeners = this._maxListeners || void 0;
2142
2142
  };
2143
- R.prototype.setMaxListeners = function(s) {
2144
- if (typeof s != "number" || s < 0 || un(s))
2143
+ v.prototype.setMaxListeners = function(s) {
2144
+ if (typeof s != "number" || s < 0 || Rn(s))
2145
2145
  throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + s + ".");
2146
2146
  return this._maxListeners = s, this;
2147
2147
  };
2148
- function pn(e) {
2149
- return e._maxListeners === void 0 ? R.defaultMaxListeners : e._maxListeners;
2148
+ function _n(e) {
2149
+ return e._maxListeners === void 0 ? v.defaultMaxListeners : e._maxListeners;
2150
2150
  }
2151
- R.prototype.getMaxListeners = function() {
2152
- return pn(this);
2151
+ v.prototype.getMaxListeners = function() {
2152
+ return _n(this);
2153
2153
  };
2154
- R.prototype.emit = function(s) {
2154
+ v.prototype.emit = function(s) {
2155
2155
  for (var a = [], d = 1; d < arguments.length; d++)
2156
2156
  a.push(arguments[d]);
2157
2157
  var p = s === "error", m = this._events;
@@ -2166,55 +2166,55 @@ R.prototype.emit = function(s) {
2166
2166
  var g = new Error("Unhandled error." + (f ? " (" + f.message + ")" : ""));
2167
2167
  throw g.context = f, g;
2168
2168
  }
2169
- var P = m[s];
2170
- if (P === void 0)
2169
+ var w = m[s];
2170
+ if (w === void 0)
2171
2171
  return false;
2172
- if (typeof P == "function")
2173
- Qe(P, this, a);
2172
+ if (typeof w == "function")
2173
+ un(w, this, a);
2174
2174
  else
2175
- for (var b = P.length, he = hn(P, b), d = 0; d < b; ++d)
2176
- Qe(he[d], this, a);
2175
+ for (var L = w.length, Pe = Sn(w, L), d = 0; d < L; ++d)
2176
+ un(Pe[d], this, a);
2177
2177
  return true;
2178
2178
  };
2179
- function ln(e, s, a, d) {
2179
+ function wn(e, s, a, d) {
2180
2180
  var p, m, f;
2181
- if (me(a), m = e._events, m === void 0 ? (m = e._events = /* @__PURE__ */ Object.create(null), e._eventsCount = 0) : (m.newListener !== void 0 && (e.emit(
2181
+ if (Re(a), m = e._events, m === void 0 ? (m = e._events = /* @__PURE__ */ Object.create(null), e._eventsCount = 0) : (m.newListener !== void 0 && (e.emit(
2182
2182
  "newListener",
2183
2183
  s,
2184
2184
  a.listener ? a.listener : a
2185
2185
  ), m = e._events), f = m[s]), f === void 0)
2186
2186
  f = m[s] = a, ++e._eventsCount;
2187
- else if (typeof f == "function" ? f = m[s] = d ? [a, f] : [f, a] : d ? f.unshift(a) : f.push(a), p = pn(e), p > 0 && f.length > p && !f.warned) {
2187
+ else if (typeof f == "function" ? f = m[s] = d ? [a, f] : [f, a] : d ? f.unshift(a) : f.push(a), p = _n(e), p > 0 && f.length > p && !f.warned) {
2188
2188
  f.warned = true;
2189
2189
  var g = new Error("Possible EventEmitter memory leak detected. " + f.length + " " + String(s) + " listeners added. Use emitter.setMaxListeners() to increase limit");
2190
- g.name = "MaxListenersExceededWarning", g.emitter = e, g.type = s, g.count = f.length, pt(g);
2190
+ g.name = "MaxListenersExceededWarning", g.emitter = e, g.type = s, g.count = f.length, Et(g);
2191
2191
  }
2192
2192
  return e;
2193
2193
  }
2194
- R.prototype.addListener = function(s, a) {
2195
- return ln(this, s, a, false);
2194
+ v.prototype.addListener = function(s, a) {
2195
+ return wn(this, s, a, false);
2196
2196
  };
2197
- R.prototype.on = R.prototype.addListener;
2198
- R.prototype.prependListener = function(s, a) {
2199
- return ln(this, s, a, true);
2197
+ v.prototype.on = v.prototype.addListener;
2198
+ v.prototype.prependListener = function(s, a) {
2199
+ return wn(this, s, a, true);
2200
2200
  };
2201
- function lt() {
2201
+ function St() {
2202
2202
  if (!this.fired)
2203
2203
  return this.target.removeListener(this.type, this.wrapFn), this.fired = true, arguments.length === 0 ? this.listener.call(this.target) : this.listener.apply(this.target, arguments);
2204
2204
  }
2205
- function mn(e, s, a) {
2206
- var d = { fired: false, wrapFn: void 0, target: e, type: s, listener: a }, p = lt.bind(d);
2205
+ function Pn(e, s, a) {
2206
+ var d = { fired: false, wrapFn: void 0, target: e, type: s, listener: a }, p = St.bind(d);
2207
2207
  return p.listener = a, d.wrapFn = p, p;
2208
2208
  }
2209
- R.prototype.once = function(s, a) {
2210
- return me(a), this.on(s, mn(this, s, a)), this;
2209
+ v.prototype.once = function(s, a) {
2210
+ return Re(a), this.on(s, Pn(this, s, a)), this;
2211
2211
  };
2212
- R.prototype.prependOnceListener = function(s, a) {
2213
- return me(a), this.prependListener(s, mn(this, s, a)), this;
2212
+ v.prototype.prependOnceListener = function(s, a) {
2213
+ return Re(a), this.prependListener(s, Pn(this, s, a)), this;
2214
2214
  };
2215
- R.prototype.removeListener = function(s, a) {
2215
+ v.prototype.removeListener = function(s, a) {
2216
2216
  var d, p, m, f, g;
2217
- if (me(a), p = this._events, p === void 0)
2217
+ if (Re(a), p = this._events, p === void 0)
2218
2218
  return this;
2219
2219
  if (d = p[s], d === void 0)
2220
2220
  return this;
@@ -2228,12 +2228,12 @@ R.prototype.removeListener = function(s, a) {
2228
2228
  }
2229
2229
  if (m < 0)
2230
2230
  return this;
2231
- m === 0 ? d.shift() : mt(d, m), d.length === 1 && (p[s] = d[0]), p.removeListener !== void 0 && this.emit("removeListener", s, g || a);
2231
+ m === 0 ? d.shift() : bt(d, m), d.length === 1 && (p[s] = d[0]), p.removeListener !== void 0 && this.emit("removeListener", s, g || a);
2232
2232
  }
2233
2233
  return this;
2234
2234
  };
2235
- R.prototype.off = R.prototype.removeListener;
2236
- R.prototype.removeAllListeners = function(s) {
2235
+ v.prototype.off = v.prototype.removeListener;
2236
+ v.prototype.removeAllListeners = function(s) {
2237
2237
  var a, d, p;
2238
2238
  if (d = this._events, d === void 0)
2239
2239
  return this;
@@ -2252,24 +2252,24 @@ R.prototype.removeAllListeners = function(s) {
2252
2252
  this.removeListener(s, a[p]);
2253
2253
  return this;
2254
2254
  };
2255
- function Tn(e, s, a) {
2255
+ function Cn(e, s, a) {
2256
2256
  var d = e._events;
2257
2257
  if (d === void 0)
2258
2258
  return [];
2259
2259
  var p = d[s];
2260
- return p === void 0 ? [] : typeof p == "function" ? a ? [p.listener || p] : [p] : a ? Tt(p) : hn(p, p.length);
2260
+ return p === void 0 ? [] : typeof p == "function" ? a ? [p.listener || p] : [p] : a ? Lt(p) : Sn(p, p.length);
2261
2261
  }
2262
- R.prototype.listeners = function(s) {
2263
- return Tn(this, s, true);
2262
+ v.prototype.listeners = function(s) {
2263
+ return Cn(this, s, true);
2264
2264
  };
2265
- R.prototype.rawListeners = function(s) {
2266
- return Tn(this, s, false);
2265
+ v.prototype.rawListeners = function(s) {
2266
+ return Cn(this, s, false);
2267
2267
  };
2268
- R.listenerCount = function(e, s) {
2269
- return typeof e.listenerCount == "function" ? e.listenerCount(s) : fn.call(e, s);
2268
+ v.listenerCount = function(e, s) {
2269
+ return typeof e.listenerCount == "function" ? e.listenerCount(s) : En.call(e, s);
2270
2270
  };
2271
- R.prototype.listenerCount = fn;
2272
- function fn(e) {
2271
+ v.prototype.listenerCount = En;
2272
+ function En(e) {
2273
2273
  var s = this._events;
2274
2274
  if (s !== void 0) {
2275
2275
  var a = s[e];
@@ -2280,25 +2280,25 @@ function fn(e) {
2280
2280
  }
2281
2281
  return 0;
2282
2282
  }
2283
- R.prototype.eventNames = function() {
2284
- return this._eventsCount > 0 ? oe(this._events) : [];
2283
+ v.prototype.eventNames = function() {
2284
+ return this._eventsCount > 0 ? le(this._events) : [];
2285
2285
  };
2286
- function hn(e, s) {
2286
+ function Sn(e, s) {
2287
2287
  for (var a = new Array(s), d = 0; d < s; ++d)
2288
2288
  a[d] = e[d];
2289
2289
  return a;
2290
2290
  }
2291
- function mt(e, s) {
2291
+ function bt(e, s) {
2292
2292
  for (; s + 1 < e.length; s++)
2293
2293
  e[s] = e[s + 1];
2294
2294
  e.pop();
2295
2295
  }
2296
- function Tt(e) {
2296
+ function Lt(e) {
2297
2297
  for (var s = new Array(e.length), a = 0; a < s.length; ++a)
2298
2298
  s[a] = e[a].listener || e[a];
2299
2299
  return s;
2300
2300
  }
2301
- function ft(e, s) {
2301
+ function xt(e, s) {
2302
2302
  return new Promise(function(a, d) {
2303
2303
  function p(f) {
2304
2304
  e.removeListener(s, m), d(f);
@@ -2306,13 +2306,13 @@ function ft(e, s) {
2306
2306
  function m() {
2307
2307
  typeof e.removeListener == "function" && e.removeListener("error", p), a([].slice.call(arguments));
2308
2308
  }
2309
- kn(e, s, m, { once: true }), s !== "error" && ht(e, p, { once: true });
2309
+ bn(e, s, m, { once: true }), s !== "error" && Ot(e, p, { once: true });
2310
2310
  });
2311
2311
  }
2312
- function ht(e, s, a) {
2313
- typeof e.on == "function" && kn(e, "error", s, a);
2312
+ function Ot(e, s, a) {
2313
+ typeof e.on == "function" && bn(e, "error", s, a);
2314
2314
  }
2315
- function kn(e, s, a, d) {
2315
+ function bn(e, s, a, d) {
2316
2316
  if (typeof e.on == "function")
2317
2317
  d.once ? e.once(s, a) : e.on(s, a);
2318
2318
  else if (typeof e.addEventListener == "function")
@@ -2322,12 +2322,12 @@ function kn(e, s, a, d) {
2322
2322
  else
2323
2323
  throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof e);
2324
2324
  }
2325
- const kt = `
2325
+ const Mt = `
2326
2326
  m=video 9 UDP/TLS/RTP/SAVPF 96
2327
2327
  a=msid:stream-id track-id
2328
2328
  m=audio 9 UDP/TLS/RTP/SAVPF 96
2329
2329
  a=msid:stream-id track-id
2330
- `, en = {
2330
+ `, ln = {
2331
2331
  track: null,
2332
2332
  transport: null,
2333
2333
  rtcpTransport: null,
@@ -2353,7 +2353,7 @@ a=msid:stream-id track-id
2353
2353
  },
2354
2354
  setTransform: () => Promise.resolve()
2355
2355
  };
2356
- class gt extends ie {
2356
+ class qt extends fe {
2357
2357
  constructor() {
2358
2358
  super();
2359
2359
  y(this, "localDescription", null);
@@ -2386,7 +2386,7 @@ class gt extends ie {
2386
2386
  }
2387
2387
  createOffer() {
2388
2388
  return Promise.resolve({
2389
- sdp: kt,
2389
+ sdp: Mt,
2390
2390
  type: "offer"
2391
2391
  });
2392
2392
  }
@@ -2421,7 +2421,7 @@ class gt extends ie {
2421
2421
  };
2422
2422
  }
2423
2423
  addTrack() {
2424
- return en;
2424
+ return ln;
2425
2425
  }
2426
2426
  removeTrack() {
2427
2427
  }
@@ -2433,7 +2433,7 @@ class gt extends ie {
2433
2433
  },
2434
2434
  setCodecPreferences: () => {
2435
2435
  },
2436
- sender: en
2436
+ sender: ln
2437
2437
  };
2438
2438
  }
2439
2439
  getTransceivers() {
@@ -2454,22 +2454,137 @@ class gt extends ie {
2454
2454
  });
2455
2455
  }
2456
2456
  }
2457
- function yt(e) {
2457
+ function $t(e) {
2458
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
2459
+ }
2460
+ var Ln = { exports: {} }, C = Ln.exports = {}, A, I;
2461
+ function Ue() {
2462
+ throw new Error("setTimeout has not been defined");
2463
+ }
2464
+ function Be() {
2465
+ throw new Error("clearTimeout has not been defined");
2466
+ }
2467
+ (function() {
2468
+ try {
2469
+ typeof setTimeout == "function" ? A = setTimeout : A = Ue;
2470
+ } catch (e) {
2471
+ A = Ue;
2472
+ }
2473
+ try {
2474
+ typeof clearTimeout == "function" ? I = clearTimeout : I = Be;
2475
+ } catch (e) {
2476
+ I = Be;
2477
+ }
2478
+ })();
2479
+ function xn(e) {
2480
+ if (A === setTimeout)
2481
+ return setTimeout(e, 0);
2482
+ if ((A === Ue || !A) && setTimeout)
2483
+ return A = setTimeout, setTimeout(e, 0);
2484
+ try {
2485
+ return A(e, 0);
2486
+ } catch (s) {
2487
+ try {
2488
+ return A.call(null, e, 0);
2489
+ } catch (a) {
2490
+ return A.call(this, e, 0);
2491
+ }
2492
+ }
2493
+ }
2494
+ function Nt(e) {
2495
+ if (I === clearTimeout)
2496
+ return clearTimeout(e);
2497
+ if ((I === Be || !I) && clearTimeout)
2498
+ return I = clearTimeout, clearTimeout(e);
2499
+ try {
2500
+ return I(e);
2501
+ } catch (s) {
2502
+ try {
2503
+ return I.call(null, e);
2504
+ } catch (a) {
2505
+ return I.call(this, e);
2506
+ }
2507
+ }
2508
+ }
2509
+ var U = [], Z = false, W, me = -1;
2510
+ function At() {
2511
+ !Z || !W || (Z = false, W.length ? U = W.concat(U) : me = -1, U.length && On());
2512
+ }
2513
+ function On() {
2514
+ if (!Z) {
2515
+ var e = xn(At);
2516
+ Z = true;
2517
+ for (var s = U.length; s; ) {
2518
+ for (W = U, U = []; ++me < s; )
2519
+ W && W[me].run();
2520
+ me = -1, s = U.length;
2521
+ }
2522
+ W = null, Z = false, Nt(e);
2523
+ }
2524
+ }
2525
+ C.nextTick = function(e) {
2526
+ var s = new Array(arguments.length - 1);
2527
+ if (arguments.length > 1)
2528
+ for (var a = 1; a < arguments.length; a++)
2529
+ s[a - 1] = arguments[a];
2530
+ U.push(new Mn(e, s)), U.length === 1 && !Z && xn(On);
2531
+ };
2532
+ function Mn(e, s) {
2533
+ this.fun = e, this.array = s;
2534
+ }
2535
+ Mn.prototype.run = function() {
2536
+ this.fun.apply(null, this.array);
2537
+ };
2538
+ C.title = "browser";
2539
+ C.browser = true;
2540
+ C.env = {};
2541
+ C.argv = [];
2542
+ C.version = "";
2543
+ C.versions = {};
2544
+ function B() {
2545
+ }
2546
+ C.on = B;
2547
+ C.addListener = B;
2548
+ C.once = B;
2549
+ C.off = B;
2550
+ C.removeListener = B;
2551
+ C.removeAllListeners = B;
2552
+ C.emit = B;
2553
+ C.prependListener = B;
2554
+ C.prependOnceListener = B;
2555
+ C.listeners = function(e) {
2556
+ return [];
2557
+ };
2558
+ C.binding = function(e) {
2559
+ throw new Error("process.binding is not supported");
2560
+ };
2561
+ C.cwd = function() {
2562
+ return "/";
2563
+ };
2564
+ C.chdir = function(e) {
2565
+ throw new Error("process.chdir is not supported");
2566
+ };
2567
+ C.umask = function() {
2568
+ return 0;
2569
+ };
2570
+ var It = Ln.exports;
2571
+ const Ae = /* @__PURE__ */ $t(It);
2572
+ function Dt(e) {
2458
2573
  throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
2459
2574
  }
2460
- var Q = {}, Rt = {
2575
+ var oe = {}, Ut = {
2461
2576
  get exports() {
2462
- return Q;
2577
+ return oe;
2463
2578
  },
2464
2579
  set exports(e) {
2465
- Q = e;
2580
+ oe = e;
2466
2581
  }
2467
2582
  };
2468
2583
  (function(e, s) {
2469
2584
  (function(a, d) {
2470
2585
  d(s);
2471
- })(Y, function(a) {
2472
- var d = typeof window != "undefined" ? window : typeof Y != "undefined" ? Y : typeof self != "undefined" ? self : {}, p = function(t, c) {
2586
+ })(re, function(a) {
2587
+ var d = typeof window != "undefined" ? window : typeof re != "undefined" ? re : typeof self != "undefined" ? self : {}, p = function(t, c) {
2473
2588
  if (c = c.split(":")[0], t = +t, !t)
2474
2589
  return false;
2475
2590
  switch (c) {
@@ -2495,108 +2610,108 @@ var Q = {}, Rt = {
2495
2610
  return null;
2496
2611
  }
2497
2612
  }
2498
- function P(r) {
2613
+ function w(r) {
2499
2614
  try {
2500
2615
  return encodeURIComponent(r);
2501
2616
  } catch (t) {
2502
2617
  return null;
2503
2618
  }
2504
2619
  }
2505
- function b(r) {
2620
+ function L(r) {
2506
2621
  for (var t = /([^=?#&]+)=?([^&]*)/g, c = {}, n; n = t.exec(r); ) {
2507
2622
  var i = g(n[1]), u = g(n[2]);
2508
2623
  i === null || u === null || i in c || (c[i] = u);
2509
2624
  }
2510
2625
  return c;
2511
2626
  }
2512
- function he(r, t) {
2627
+ function Pe(r, t) {
2513
2628
  t = t || "";
2514
2629
  var c = [], n, i;
2515
2630
  typeof t != "string" && (t = "?");
2516
2631
  for (i in r)
2517
2632
  if (m.call(r, i)) {
2518
- if (n = r[i], !n && (n === null || n === f || isNaN(n)) && (n = ""), i = P(i), n = P(n), i === null || n === null)
2633
+ if (n = r[i], !n && (n === null || n === f || isNaN(n)) && (n = ""), i = w(i), n = w(n), i === null || n === null)
2519
2634
  continue;
2520
2635
  c.push(i + "=" + n);
2521
2636
  }
2522
2637
  return c.length ? t + c.join("&") : "";
2523
2638
  }
2524
- var In = he, Dn = b, ne = {
2525
- stringify: In,
2526
- parse: Dn
2527
- }, Be = /[\n\r\t]/g, Un = /^[A-Za-z][A-Za-z0-9+-.]*:\/\//, Bn = /^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i, Gn = /^[a-zA-Z]:/, jn = /^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/;
2528
- function ke(r) {
2529
- return (r || "").toString().replace(jn, "");
2639
+ var Qn = Pe, Xn = L, ce = {
2640
+ stringify: Qn,
2641
+ parse: Xn
2642
+ }, Ye = /[\n\r\t]/g, et = /^[A-Za-z][A-Za-z0-9+-.]*:\/\//, nt = /^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i, tt = /^[a-zA-Z]:/, st = /^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/;
2643
+ function Ce(r) {
2644
+ return (r || "").toString().replace(st, "");
2530
2645
  }
2531
- var ge = [
2646
+ var Ee = [
2532
2647
  ["#", "hash"],
2533
2648
  ["?", "query"],
2534
2649
  function(t, c) {
2535
- return q(c.protocol) ? t.replace(/\\/g, "/") : t;
2650
+ return $(c.protocol) ? t.replace(/\\/g, "/") : t;
2536
2651
  },
2537
2652
  ["/", "pathname"],
2538
2653
  ["@", "auth", 1],
2539
2654
  [NaN, "host", void 0, 1, 1],
2540
2655
  [/:(\d*)$/, "port", void 0, 1],
2541
2656
  [NaN, "hostname", void 0, 1, 1]
2542
- ], Ge = { hash: 1, query: 1 };
2543
- function je(r) {
2657
+ ], Qe = { hash: 1, query: 1 };
2658
+ function Xe(r) {
2544
2659
  var t;
2545
2660
  typeof window != "undefined" ? t = window : typeof d != "undefined" ? t = d : typeof self != "undefined" ? t = self : t = {};
2546
2661
  var c = t.location || {};
2547
2662
  r = r || c;
2548
2663
  var n = {}, i = typeof r, u;
2549
2664
  if (r.protocol === "blob:")
2550
- n = new $(unescape(r.pathname), {});
2665
+ n = new N(unescape(r.pathname), {});
2551
2666
  else if (i === "string") {
2552
- n = new $(r, {});
2553
- for (u in Ge)
2667
+ n = new N(r, {});
2668
+ for (u in Qe)
2554
2669
  delete n[u];
2555
2670
  } else if (i === "object") {
2556
2671
  for (u in r)
2557
- u in Ge || (n[u] = r[u]);
2558
- n.slashes === void 0 && (n.slashes = Un.test(r.href));
2672
+ u in Qe || (n[u] = r[u]);
2673
+ n.slashes === void 0 && (n.slashes = et.test(r.href));
2559
2674
  }
2560
2675
  return n;
2561
2676
  }
2562
- function q(r) {
2677
+ function $(r) {
2563
2678
  return r === "file:" || r === "ftp:" || r === "http:" || r === "https:" || r === "ws:" || r === "wss:";
2564
2679
  }
2565
- function We(r, t) {
2566
- r = ke(r), r = r.replace(Be, ""), t = t || {};
2567
- var c = Bn.exec(r), n = c[1] ? c[1].toLowerCase() : "", i = !!c[2], u = !!c[3], l = 0, T;
2568
- return i ? u ? (T = c[2] + c[3] + c[4], l = c[2].length + c[3].length) : (T = c[2] + c[4], l = c[2].length) : u ? (T = c[3] + c[4], l = c[3].length) : T = c[4], n === "file:" ? l >= 2 && (T = T.slice(2)) : q(n) ? T = c[4] : n ? i && (T = T.slice(2)) : l >= 2 && q(t.protocol) && (T = c[4]), {
2680
+ function en(r, t) {
2681
+ r = Ce(r), r = r.replace(Ye, ""), t = t || {};
2682
+ var c = nt.exec(r), n = c[1] ? c[1].toLowerCase() : "", i = !!c[2], u = !!c[3], l = 0, T;
2683
+ return i ? u ? (T = c[2] + c[3] + c[4], l = c[2].length + c[3].length) : (T = c[2] + c[4], l = c[2].length) : u ? (T = c[3] + c[4], l = c[3].length) : T = c[4], n === "file:" ? l >= 2 && (T = T.slice(2)) : $(n) ? T = c[4] : n ? i && (T = T.slice(2)) : l >= 2 && $(t.protocol) && (T = c[4]), {
2569
2684
  protocol: n,
2570
- slashes: i || q(n),
2685
+ slashes: i || $(n),
2571
2686
  slashesCount: l,
2572
2687
  rest: T
2573
2688
  };
2574
2689
  }
2575
- function Wn(r, t) {
2690
+ function rt(r, t) {
2576
2691
  if (r === "")
2577
2692
  return t;
2578
2693
  for (var c = (t || "/").split("/").slice(0, -1).concat(r.split("/")), n = c.length, i = c[n - 1], u = false, l = 0; n--; )
2579
2694
  c[n] === "." ? c.splice(n, 1) : c[n] === ".." ? (c.splice(n, 1), l++) : l && (n === 0 && (u = true), c.splice(n, 1), l--);
2580
2695
  return u && c.unshift(""), (i === "." || i === "..") && c.push(""), c.join("/");
2581
2696
  }
2582
- function $(r, t, c) {
2583
- if (r = ke(r), r = r.replace(Be, ""), !(this instanceof $))
2584
- return new $(r, t, c);
2585
- var n, i, u, l, T, k, _ = ge.slice(), E = typeof t, h = this, we = 0;
2586
- for (E !== "object" && E !== "string" && (c = t, t = null), c && typeof c != "function" && (c = ne.parse), t = je(t), i = We(r || "", t), n = !i.protocol && !i.slashes, h.slashes = i.slashes || n && t.slashes, h.protocol = i.protocol || t.protocol || "", r = i.rest, (i.protocol === "file:" && (i.slashesCount !== 2 || Gn.test(r)) || !i.slashes && (i.protocol || i.slashesCount < 2 || !q(h.protocol))) && (_[3] = [/(.*)/, "pathname"]); we < _.length; we++) {
2587
- if (l = _[we], typeof l == "function") {
2697
+ function N(r, t, c) {
2698
+ if (r = Ce(r), r = r.replace(Ye, ""), !(this instanceof N))
2699
+ return new N(r, t, c);
2700
+ var n, i, u, l, T, k, _ = Ee.slice(), S = typeof t, h = this, Me = 0;
2701
+ for (S !== "object" && S !== "string" && (c = t, t = null), c && typeof c != "function" && (c = ce.parse), t = Xe(t), i = en(r || "", t), n = !i.protocol && !i.slashes, h.slashes = i.slashes || n && t.slashes, h.protocol = i.protocol || t.protocol || "", r = i.rest, (i.protocol === "file:" && (i.slashesCount !== 2 || tt.test(r)) || !i.slashes && (i.protocol || i.slashesCount < 2 || !$(h.protocol))) && (_[3] = [/(.*)/, "pathname"]); Me < _.length; Me++) {
2702
+ if (l = _[Me], typeof l == "function") {
2588
2703
  r = l(r, h);
2589
2704
  continue;
2590
2705
  }
2591
2706
  u = l[0], k = l[1], u !== u ? h[k] = r : typeof u == "string" ? (T = u === "@" ? r.lastIndexOf(u) : r.indexOf(u), ~T && (typeof l[2] == "number" ? (h[k] = r.slice(0, T), r = r.slice(T + l[2])) : (h[k] = r.slice(T), r = r.slice(0, T)))) : (T = u.exec(r)) && (h[k] = T[1], r = r.slice(0, T.index)), h[k] = h[k] || n && l[3] && t[k] || "", l[4] && (h[k] = h[k].toLowerCase());
2592
2707
  }
2593
- c && (h.query = c(h.query)), n && t.slashes && h.pathname.charAt(0) !== "/" && (h.pathname !== "" || t.pathname !== "") && (h.pathname = Wn(h.pathname, t.pathname)), h.pathname.charAt(0) !== "/" && q(h.protocol) && (h.pathname = "/" + h.pathname), p(h.port, h.protocol) || (h.host = h.hostname, h.port = ""), h.username = h.password = "", h.auth && (T = h.auth.indexOf(":"), ~T ? (h.username = h.auth.slice(0, T), h.username = encodeURIComponent(decodeURIComponent(h.username)), h.password = h.auth.slice(T + 1), h.password = encodeURIComponent(decodeURIComponent(h.password))) : h.username = encodeURIComponent(decodeURIComponent(h.auth)), h.auth = h.password ? h.username + ":" + h.password : h.username), h.origin = h.protocol !== "file:" && q(h.protocol) && h.host ? h.protocol + "//" + h.host : "null", h.href = h.toString();
2708
+ c && (h.query = c(h.query)), n && t.slashes && h.pathname.charAt(0) !== "/" && (h.pathname !== "" || t.pathname !== "") && (h.pathname = rt(h.pathname, t.pathname)), h.pathname.charAt(0) !== "/" && $(h.protocol) && (h.pathname = "/" + h.pathname), p(h.port, h.protocol) || (h.host = h.hostname, h.port = ""), h.username = h.password = "", h.auth && (T = h.auth.indexOf(":"), ~T ? (h.username = h.auth.slice(0, T), h.username = encodeURIComponent(decodeURIComponent(h.username)), h.password = h.auth.slice(T + 1), h.password = encodeURIComponent(decodeURIComponent(h.password))) : h.username = encodeURIComponent(decodeURIComponent(h.auth)), h.auth = h.password ? h.username + ":" + h.password : h.username), h.origin = h.protocol !== "file:" && $(h.protocol) && h.host ? h.protocol + "//" + h.host : "null", h.href = h.toString();
2594
2709
  }
2595
- function Fn(r, t, c) {
2710
+ function ot(r, t, c) {
2596
2711
  var n = this;
2597
2712
  switch (r) {
2598
2713
  case "query":
2599
- typeof t == "string" && t.length && (t = (c || ne.parse)(t)), n[r] = t;
2714
+ typeof t == "string" && t.length && (t = (c || ce.parse)(t)), n[r] = t;
2600
2715
  break;
2601
2716
  case "port":
2602
2717
  n[r] = t, p(t, n.protocol) ? t && (n.host = n.hostname + ":" + t) : (n.host = n.hostname, n[r] = "");
@@ -2626,56 +2741,56 @@ var Q = {}, Rt = {
2626
2741
  var u = t.indexOf(":");
2627
2742
  ~u ? (n.username = t.slice(0, u), n.username = encodeURIComponent(decodeURIComponent(n.username)), n.password = t.slice(u + 1), n.password = encodeURIComponent(decodeURIComponent(n.password))) : n.username = encodeURIComponent(decodeURIComponent(t));
2628
2743
  }
2629
- for (var l = 0; l < ge.length; l++) {
2630
- var T = ge[l];
2744
+ for (var l = 0; l < Ee.length; l++) {
2745
+ var T = Ee[l];
2631
2746
  T[4] && (n[T[1]] = n[T[1]].toLowerCase());
2632
2747
  }
2633
- return n.auth = n.password ? n.username + ":" + n.password : n.username, n.origin = n.protocol !== "file:" && q(n.protocol) && n.host ? n.protocol + "//" + n.host : "null", n.href = n.toString(), n;
2748
+ return n.auth = n.password ? n.username + ":" + n.password : n.username, n.origin = n.protocol !== "file:" && $(n.protocol) && n.host ? n.protocol + "//" + n.host : "null", n.href = n.toString(), n;
2634
2749
  }
2635
- function Kn(r) {
2636
- (!r || typeof r != "function") && (r = ne.stringify);
2750
+ function at(r) {
2751
+ (!r || typeof r != "function") && (r = ce.stringify);
2637
2752
  var t, c = this, n = c.host, i = c.protocol;
2638
2753
  i && i.charAt(i.length - 1) !== ":" && (i += ":");
2639
- var u = i + (c.protocol && c.slashes || q(c.protocol) ? "//" : "");
2640
- return c.username ? (u += c.username, c.password && (u += ":" + c.password), u += "@") : c.password ? (u += ":" + c.password, u += "@") : c.protocol !== "file:" && q(c.protocol) && !n && c.pathname !== "/" && (u += "@"), n[n.length - 1] === ":" && (n += ":"), u += n + c.pathname, t = typeof c.query == "object" ? r(c.query) : c.query, t && (u += t.charAt(0) !== "?" ? "?" + t : t), c.hash && (u += c.hash), u;
2754
+ var u = i + (c.protocol && c.slashes || $(c.protocol) ? "//" : "");
2755
+ return c.username ? (u += c.username, c.password && (u += ":" + c.password), u += "@") : c.password ? (u += ":" + c.password, u += "@") : c.protocol !== "file:" && $(c.protocol) && !n && c.pathname !== "/" && (u += "@"), n[n.length - 1] === ":" && (n += ":"), u += n + c.pathname, t = typeof c.query == "object" ? r(c.query) : c.query, t && (u += t.charAt(0) !== "?" ? "?" + t : t), c.hash && (u += c.hash), u;
2641
2756
  }
2642
- $.prototype = { set: Fn, toString: Kn }, $.extractProtocol = We, $.location = je, $.trimLeft = ke, $.qs = ne;
2643
- var ye = $;
2644
- function H(r, t) {
2757
+ N.prototype = { set: ot, toString: at }, N.extractProtocol = en, N.location = Xe, N.trimLeft = Ce, N.qs = ce;
2758
+ var Se = N;
2759
+ function ee(r, t) {
2645
2760
  setTimeout(function(c) {
2646
2761
  return r.call(c);
2647
2762
  }, 4, t);
2648
2763
  }
2649
- function te(r, t) {
2650
- typeof process != "undefined" && true && console[r].call(null, t);
2764
+ function de(r, t) {
2765
+ typeof Ae != "undefined" && Ae.env.NODE_ENV !== "test" && console[r].call(null, t);
2651
2766
  }
2652
- function Re(r, t) {
2767
+ function be(r, t) {
2653
2768
  r === void 0 && (r = []);
2654
2769
  var c = [];
2655
2770
  return r.forEach(function(n) {
2656
2771
  t(n) || c.push(n);
2657
2772
  }), c;
2658
2773
  }
2659
- function Vn(r, t) {
2774
+ function it(r, t) {
2660
2775
  r === void 0 && (r = []);
2661
2776
  var c = [];
2662
2777
  return r.forEach(function(n) {
2663
2778
  t(n) && c.push(n);
2664
2779
  }), c;
2665
2780
  }
2666
- var U = function() {
2781
+ var K = function() {
2667
2782
  this.listeners = {};
2668
2783
  };
2669
- U.prototype.addEventListener = function(t, c) {
2670
- typeof c == "function" && (Array.isArray(this.listeners[t]) || (this.listeners[t] = []), Vn(this.listeners[t], function(n) {
2784
+ K.prototype.addEventListener = function(t, c) {
2785
+ typeof c == "function" && (Array.isArray(this.listeners[t]) || (this.listeners[t] = []), it(this.listeners[t], function(n) {
2671
2786
  return n === c;
2672
2787
  }).length === 0 && this.listeners[t].push(c));
2673
- }, U.prototype.removeEventListener = function(t, c) {
2788
+ }, K.prototype.removeEventListener = function(t, c) {
2674
2789
  var n = this.listeners[t];
2675
- this.listeners[t] = Re(n, function(i) {
2790
+ this.listeners[t] = be(n, function(i) {
2676
2791
  return i === c;
2677
2792
  });
2678
- }, U.prototype.dispatchEvent = function(t) {
2793
+ }, K.prototype.dispatchEvent = function(t) {
2679
2794
  for (var c = this, n = [], i = arguments.length - 1; i-- > 0; )
2680
2795
  n[i] = arguments[i + 1];
2681
2796
  var u = t.type, l = this.listeners[u];
@@ -2683,34 +2798,34 @@ var Q = {}, Rt = {
2683
2798
  n.length > 0 ? T.apply(c, n) : T.call(c, t);
2684
2799
  }), true) : false;
2685
2800
  };
2686
- function A(r) {
2801
+ function G(r) {
2687
2802
  var t = r.indexOf("?");
2688
2803
  return t >= 0 ? r.slice(0, t) : r;
2689
2804
  }
2690
- var N = function() {
2805
+ var D = function() {
2691
2806
  this.urlMap = {};
2692
2807
  };
2693
- N.prototype.attachWebSocket = function(t, c) {
2694
- var n = A(c), i = this.urlMap[n];
2808
+ D.prototype.attachWebSocket = function(t, c) {
2809
+ var n = G(c), i = this.urlMap[n];
2695
2810
  if (i && i.server && i.websockets.indexOf(t) === -1)
2696
2811
  return i.websockets.push(t), i.server;
2697
- }, N.prototype.addMembershipToRoom = function(t, c) {
2698
- var n = this.urlMap[A(t.url)];
2812
+ }, D.prototype.addMembershipToRoom = function(t, c) {
2813
+ var n = this.urlMap[G(t.url)];
2699
2814
  n && n.server && n.websockets.indexOf(t) !== -1 && (n.roomMemberships[c] || (n.roomMemberships[c] = []), n.roomMemberships[c].push(t));
2700
- }, N.prototype.attachServer = function(t, c) {
2701
- var n = A(c), i = this.urlMap[n];
2815
+ }, D.prototype.attachServer = function(t, c) {
2816
+ var n = G(c), i = this.urlMap[n];
2702
2817
  if (!i)
2703
2818
  return this.urlMap[n] = {
2704
2819
  server: t,
2705
2820
  websockets: [],
2706
2821
  roomMemberships: {}
2707
2822
  }, t;
2708
- }, N.prototype.serverLookup = function(t) {
2709
- var c = A(t), n = this.urlMap[c];
2823
+ }, D.prototype.serverLookup = function(t) {
2824
+ var c = G(t), n = this.urlMap[c];
2710
2825
  if (n)
2711
2826
  return n.server;
2712
- }, N.prototype.websocketsLookup = function(t, c, n) {
2713
- var i = A(t), u, l = this.urlMap[i];
2827
+ }, D.prototype.websocketsLookup = function(t, c, n) {
2828
+ var i = G(t), u, l = this.urlMap[i];
2714
2829
  if (u = l ? l.websockets : [], c) {
2715
2830
  var T = l.roomMemberships[c];
2716
2831
  u = T || [];
@@ -2718,20 +2833,20 @@ var Q = {}, Rt = {
2718
2833
  return n ? u.filter(function(k) {
2719
2834
  return k !== n;
2720
2835
  }) : u;
2721
- }, N.prototype.removeServer = function(t) {
2722
- delete this.urlMap[A(t)];
2723
- }, N.prototype.removeWebSocket = function(t, c) {
2724
- var n = A(c), i = this.urlMap[n];
2725
- i && (i.websockets = Re(i.websockets, function(u) {
2836
+ }, D.prototype.removeServer = function(t) {
2837
+ delete this.urlMap[G(t)];
2838
+ }, D.prototype.removeWebSocket = function(t, c) {
2839
+ var n = G(c), i = this.urlMap[n];
2840
+ i && (i.websockets = be(i.websockets, function(u) {
2726
2841
  return u === t;
2727
2842
  }));
2728
- }, N.prototype.removeMembershipFromRoom = function(t, c) {
2729
- var n = this.urlMap[A(t.url)], i = n.roomMemberships[c];
2730
- n && i !== null && (n.roomMemberships[c] = Re(i, function(u) {
2843
+ }, D.prototype.removeMembershipFromRoom = function(t, c) {
2844
+ var n = this.urlMap[G(t.url)], i = n.roomMemberships[c];
2845
+ n && i !== null && (n.roomMemberships[c] = be(i, function(u) {
2731
2846
  return u === t;
2732
2847
  }));
2733
2848
  };
2734
- var w = new N(), L = {
2849
+ var P = new D(), x = {
2735
2850
  CLOSE_NORMAL: 1e3,
2736
2851
  CLOSE_GOING_AWAY: 1001,
2737
2852
  CLOSE_PROTOCOL_ERROR: 1002,
@@ -2746,7 +2861,7 @@ var Q = {}, Rt = {
2746
2861
  SERVICE_RESTART: 1012,
2747
2862
  TRY_AGAIN_LATER: 1013,
2748
2863
  TLS_HANDSHAKE: 1015
2749
- }, S = {
2864
+ }, b = {
2750
2865
  CONSTRUCTOR_ERROR: "Failed to construct 'WebSocket':",
2751
2866
  CLOSE_ERROR: "Failed to execute 'close' on 'WebSocket':",
2752
2867
  EVENT: {
@@ -2754,112 +2869,112 @@ var Q = {}, Rt = {
2754
2869
  MESSAGE: "Failed to construct 'MessageEvent':",
2755
2870
  CLOSE: "Failed to construct 'CloseEvent':"
2756
2871
  }
2757
- }, B = function() {
2872
+ }, V = function() {
2758
2873
  };
2759
- B.prototype.stopPropagation = function() {
2760
- }, B.prototype.stopImmediatePropagation = function() {
2761
- }, B.prototype.initEvent = function(t, c, n) {
2874
+ V.prototype.stopPropagation = function() {
2875
+ }, V.prototype.stopImmediatePropagation = function() {
2876
+ }, V.prototype.initEvent = function(t, c, n) {
2762
2877
  t === void 0 && (t = "undefined"), c === void 0 && (c = false), n === void 0 && (n = false), this.type = "" + t, this.bubbles = Boolean(c), this.cancelable = Boolean(n);
2763
2878
  };
2764
- var Hn = function(r) {
2879
+ var ct = function(r) {
2765
2880
  function t(c, n) {
2766
2881
  if (n === void 0 && (n = {}), r.call(this), !c)
2767
- throw new TypeError(S.EVENT_ERROR + " 1 argument required, but only 0 present.");
2882
+ throw new TypeError(b.EVENT_ERROR + " 1 argument required, but only 0 present.");
2768
2883
  if (typeof n != "object")
2769
- throw new TypeError(S.EVENT_ERROR + " parameter 2 ('eventInitDict') is not an object.");
2884
+ throw new TypeError(b.EVENT_ERROR + " parameter 2 ('eventInitDict') is not an object.");
2770
2885
  var i = n.bubbles, u = n.cancelable;
2771
2886
  this.type = "" + c, this.timeStamp = Date.now(), this.target = null, this.srcElement = null, this.returnValue = true, this.isTrusted = false, this.eventPhase = 0, this.defaultPrevented = false, this.currentTarget = null, this.cancelable = u ? Boolean(u) : false, this.cancelBubble = false, this.bubbles = i ? Boolean(i) : false;
2772
2887
  }
2773
2888
  return r && (t.__proto__ = r), t.prototype = Object.create(r && r.prototype), t.prototype.constructor = t, t;
2774
- }(B), Jn = function(r) {
2889
+ }(V), dt = function(r) {
2775
2890
  function t(c, n) {
2776
2891
  if (n === void 0 && (n = {}), r.call(this), !c)
2777
- throw new TypeError(S.EVENT.MESSAGE + " 1 argument required, but only 0 present.");
2892
+ throw new TypeError(b.EVENT.MESSAGE + " 1 argument required, but only 0 present.");
2778
2893
  if (typeof n != "object")
2779
- throw new TypeError(S.EVENT.MESSAGE + " parameter 2 ('eventInitDict') is not an object");
2894
+ throw new TypeError(b.EVENT.MESSAGE + " parameter 2 ('eventInitDict') is not an object");
2780
2895
  var i = n.bubbles, u = n.cancelable, l = n.data, T = n.origin, k = n.lastEventId, _ = n.ports;
2781
2896
  this.type = "" + c, this.timeStamp = Date.now(), this.target = null, this.srcElement = null, this.returnValue = true, this.isTrusted = false, this.eventPhase = 0, this.defaultPrevented = false, this.currentTarget = null, this.cancelable = u ? Boolean(u) : false, this.canncelBubble = false, this.bubbles = i ? Boolean(i) : false, this.origin = "" + T, this.ports = typeof _ == "undefined" ? null : _, this.data = typeof l == "undefined" ? null : l, this.lastEventId = "" + (k || "");
2782
2897
  }
2783
2898
  return r && (t.__proto__ = r), t.prototype = Object.create(r && r.prototype), t.prototype.constructor = t, t;
2784
- }(B), Zn = function(r) {
2899
+ }(V), ut = function(r) {
2785
2900
  function t(c, n) {
2786
2901
  if (n === void 0 && (n = {}), r.call(this), !c)
2787
- throw new TypeError(S.EVENT.CLOSE + " 1 argument required, but only 0 present.");
2902
+ throw new TypeError(b.EVENT.CLOSE + " 1 argument required, but only 0 present.");
2788
2903
  if (typeof n != "object")
2789
- throw new TypeError(S.EVENT.CLOSE + " parameter 2 ('eventInitDict') is not an object");
2904
+ throw new TypeError(b.EVENT.CLOSE + " parameter 2 ('eventInitDict') is not an object");
2790
2905
  var i = n.bubbles, u = n.cancelable, l = n.code, T = n.reason, k = n.wasClean;
2791
2906
  this.type = "" + c, this.timeStamp = Date.now(), this.target = null, this.srcElement = null, this.returnValue = true, this.isTrusted = false, this.eventPhase = 0, this.defaultPrevented = false, this.currentTarget = null, this.cancelable = u ? Boolean(u) : false, this.cancelBubble = false, this.bubbles = i ? Boolean(i) : false, this.code = typeof l == "number" ? parseInt(l, 10) : 0, this.reason = "" + (T || ""), this.wasClean = k ? Boolean(k) : false;
2792
2907
  }
2793
2908
  return r && (t.__proto__ = r), t.prototype = Object.create(r && r.prototype), t.prototype.constructor = t, t;
2794
- }(B);
2795
- function x(r) {
2796
- var t = r.type, c = r.target, n = new Hn(t);
2909
+ }(V);
2910
+ function O(r) {
2911
+ var t = r.type, c = r.target, n = new ct(t);
2797
2912
  return c && (n.target = c, n.srcElement = c, n.currentTarget = c), n;
2798
2913
  }
2799
- function J(r) {
2800
- var t = r.type, c = r.origin, n = r.data, i = r.target, u = new Jn(t, {
2914
+ function ne(r) {
2915
+ var t = r.type, c = r.origin, n = r.data, i = r.target, u = new dt(t, {
2801
2916
  data: n,
2802
2917
  origin: c
2803
2918
  });
2804
2919
  return i && (u.target = i, u.srcElement = i, u.currentTarget = i), u;
2805
2920
  }
2806
- function O(r) {
2921
+ function M(r) {
2807
2922
  var t = r.code, c = r.reason, n = r.type, i = r.target, u = r.wasClean;
2808
- u || (u = t === L.CLOSE_NORMAL || t === L.CLOSE_NO_STATUS);
2809
- var l = new Zn(n, {
2923
+ u || (u = t === x.CLOSE_NORMAL || t === x.CLOSE_NO_STATUS);
2924
+ var l = new ut(n, {
2810
2925
  code: t,
2811
2926
  reason: c,
2812
2927
  wasClean: u
2813
2928
  });
2814
2929
  return i && (l.target = i, l.srcElement = i, l.currentTarget = i), l;
2815
2930
  }
2816
- function Fe(r, t, c) {
2817
- r.readyState = C.CLOSING;
2818
- var n = w.serverLookup(r.url), i = O({
2931
+ function nn(r, t, c) {
2932
+ r.readyState = E.CLOSING;
2933
+ var n = P.serverLookup(r.url), i = M({
2819
2934
  type: "close",
2820
2935
  target: r.target,
2821
2936
  code: t,
2822
2937
  reason: c
2823
2938
  });
2824
- H(function() {
2825
- w.removeWebSocket(r, r.url), r.readyState = C.CLOSED, r.dispatchEvent(i), n && n.dispatchEvent(i, n);
2939
+ ee(function() {
2940
+ P.removeWebSocket(r, r.url), r.readyState = E.CLOSED, r.dispatchEvent(i), n && n.dispatchEvent(i, n);
2826
2941
  }, r);
2827
2942
  }
2828
- function zn(r, t, c) {
2829
- r.readyState = C.CLOSING;
2830
- var n = w.serverLookup(r.url), i = O({
2943
+ function pt(r, t, c) {
2944
+ r.readyState = E.CLOSING;
2945
+ var n = P.serverLookup(r.url), i = M({
2831
2946
  type: "close",
2832
2947
  target: r.target,
2833
2948
  code: t,
2834
2949
  reason: c,
2835
2950
  wasClean: false
2836
- }), u = x({
2951
+ }), u = O({
2837
2952
  type: "error",
2838
2953
  target: r.target
2839
2954
  });
2840
- H(function() {
2841
- w.removeWebSocket(r, r.url), r.readyState = C.CLOSED, r.dispatchEvent(u), r.dispatchEvent(i), n && n.dispatchEvent(i, n);
2955
+ ee(function() {
2956
+ P.removeWebSocket(r, r.url), r.readyState = E.CLOSED, r.dispatchEvent(u), r.dispatchEvent(i), n && n.dispatchEvent(i, n);
2842
2957
  }, r);
2843
2958
  }
2844
- function se(r) {
2959
+ function ue(r) {
2845
2960
  return Object.prototype.toString.call(r) !== "[object Blob]" && !(r instanceof ArrayBuffer) && (r = String(r)), r;
2846
2961
  }
2847
- var ve = /* @__PURE__ */ new WeakMap();
2848
- function Ke(r) {
2849
- if (ve.has(r))
2850
- return ve.get(r);
2962
+ var Le = /* @__PURE__ */ new WeakMap();
2963
+ function tn(r) {
2964
+ if (Le.has(r))
2965
+ return Le.get(r);
2851
2966
  var t = new Proxy(r, {
2852
2967
  get: function(n, i) {
2853
2968
  if (i === "close")
2854
2969
  return function(T) {
2855
2970
  T === void 0 && (T = {});
2856
- var k = T.code || L.CLOSE_NORMAL, _ = T.reason || "";
2857
- Fe(t, k, _);
2971
+ var k = T.code || x.CLOSE_NORMAL, _ = T.reason || "";
2972
+ nn(t, k, _);
2858
2973
  };
2859
2974
  if (i === "send")
2860
2975
  return function(T) {
2861
- T = se(T), r.dispatchEvent(
2862
- J({
2976
+ T = ue(T), r.dispatchEvent(
2977
+ ne({
2863
2978
  type: "message",
2864
2979
  data: T,
2865
2980
  origin: this.url,
@@ -2877,31 +2992,31 @@ var Q = {}, Rt = {
2877
2992
  } : i === "target" ? r : n[i];
2878
2993
  }
2879
2994
  });
2880
- return ve.set(r, t), t;
2995
+ return Le.set(r, t), t;
2881
2996
  }
2882
- function Yn(r) {
2997
+ function lt(r) {
2883
2998
  var t = encodeURIComponent(r).match(/%[89ABab]/g);
2884
2999
  return r.length + (t ? t.length : 0);
2885
3000
  }
2886
- function Qn(r) {
2887
- var t = new ye(r), c = t.pathname, n = t.protocol, i = t.hash;
3001
+ function mt(r) {
3002
+ var t = new Se(r), c = t.pathname, n = t.protocol, i = t.hash;
2888
3003
  if (!r)
2889
- throw new TypeError(S.CONSTRUCTOR_ERROR + " 1 argument required, but only 0 present.");
3004
+ throw new TypeError(b.CONSTRUCTOR_ERROR + " 1 argument required, but only 0 present.");
2890
3005
  if (c || (t.pathname = "/"), n === "")
2891
- throw new SyntaxError(S.CONSTRUCTOR_ERROR + " The URL '" + t.toString() + "' is invalid.");
3006
+ throw new SyntaxError(b.CONSTRUCTOR_ERROR + " The URL '" + t.toString() + "' is invalid.");
2892
3007
  if (n !== "ws:" && n !== "wss:")
2893
3008
  throw new SyntaxError(
2894
- S.CONSTRUCTOR_ERROR + " The URL's scheme must be either 'ws' or 'wss'. '" + n + "' is not allowed."
3009
+ b.CONSTRUCTOR_ERROR + " The URL's scheme must be either 'ws' or 'wss'. '" + n + "' is not allowed."
2895
3010
  );
2896
3011
  if (i !== "")
2897
3012
  throw new SyntaxError(
2898
- S.CONSTRUCTOR_ERROR + " The URL contains a fragment identifier ('" + i + "'). Fragment identifiers are not allowed in WebSocket URLs."
3013
+ b.CONSTRUCTOR_ERROR + " The URL contains a fragment identifier ('" + i + "'). Fragment identifiers are not allowed in WebSocket URLs."
2899
3014
  );
2900
3015
  return t.toString();
2901
3016
  }
2902
- function Xn(r) {
3017
+ function Tt(r) {
2903
3018
  if (r === void 0 && (r = []), !Array.isArray(r) && typeof r != "string")
2904
- throw new SyntaxError(S.CONSTRUCTOR_ERROR + " The subprotocol '" + r.toString() + "' is invalid.");
3019
+ throw new SyntaxError(b.CONSTRUCTOR_ERROR + " The subprotocol '" + r.toString() + "' is invalid.");
2905
3020
  typeof r == "string" && (r = [r]);
2906
3021
  var t = r.map(function(n) {
2907
3022
  return { count: 1, protocol: n };
@@ -2911,34 +3026,34 @@ var Q = {}, Rt = {
2911
3026
  return t[n] > 1;
2912
3027
  });
2913
3028
  if (c.length > 0)
2914
- throw new SyntaxError(S.CONSTRUCTOR_ERROR + " The subprotocol '" + c[0] + "' is duplicated.");
3029
+ throw new SyntaxError(b.CONSTRUCTOR_ERROR + " The subprotocol '" + c[0] + "' is duplicated.");
2915
3030
  return r;
2916
3031
  }
2917
- var C = function(r) {
3032
+ var E = function(r) {
2918
3033
  function t(n, i) {
2919
- r.call(this), this._onopen = null, this._onmessage = null, this._onerror = null, this._onclose = null, this.url = Qn(n), i = Xn(i), this.protocol = i[0] || "", this.binaryType = "blob", this.readyState = t.CONNECTING;
2920
- var u = Ke(this), l = w.attachWebSocket(u, this.url);
2921
- H(function() {
3034
+ r.call(this), this._onopen = null, this._onmessage = null, this._onerror = null, this._onclose = null, this.url = mt(n), i = Tt(i), this.protocol = i[0] || "", this.binaryType = "blob", this.readyState = t.CONNECTING;
3035
+ var u = tn(this), l = P.attachWebSocket(u, this.url);
3036
+ ee(function() {
2922
3037
  if (this.readyState === t.CONNECTING)
2923
3038
  if (l)
2924
3039
  if (l.options.verifyClient && typeof l.options.verifyClient == "function" && !l.options.verifyClient())
2925
- this.readyState = t.CLOSED, te(
3040
+ this.readyState = t.CLOSED, de(
2926
3041
  "error",
2927
3042
  "WebSocket connection to '" + this.url + "' failed: HTTP Authentication failed; no valid credentials available"
2928
- ), w.removeWebSocket(u, this.url), this.dispatchEvent(x({ type: "error", target: this })), this.dispatchEvent(O({ type: "close", target: this, code: L.CLOSE_NORMAL }));
3043
+ ), P.removeWebSocket(u, this.url), this.dispatchEvent(O({ type: "error", target: this })), this.dispatchEvent(M({ type: "close", target: this, code: x.CLOSE_NORMAL }));
2929
3044
  else {
2930
3045
  if (l.options.selectProtocol && typeof l.options.selectProtocol == "function") {
2931
- var k = l.options.selectProtocol(i), _ = k !== "", E = i.indexOf(k) !== -1;
2932
- if (_ && !E) {
2933
- this.readyState = t.CLOSED, te("error", "WebSocket connection to '" + this.url + "' failed: Invalid Sub-Protocol"), w.removeWebSocket(u, this.url), this.dispatchEvent(x({ type: "error", target: this })), this.dispatchEvent(O({ type: "close", target: this, code: L.CLOSE_NORMAL }));
3046
+ var k = l.options.selectProtocol(i), _ = k !== "", S = i.indexOf(k) !== -1;
3047
+ if (_ && !S) {
3048
+ this.readyState = t.CLOSED, de("error", "WebSocket connection to '" + this.url + "' failed: Invalid Sub-Protocol"), P.removeWebSocket(u, this.url), this.dispatchEvent(O({ type: "error", target: this })), this.dispatchEvent(M({ type: "close", target: this, code: x.CLOSE_NORMAL }));
2934
3049
  return;
2935
3050
  }
2936
3051
  this.protocol = k;
2937
3052
  }
2938
- this.readyState = t.OPEN, this.dispatchEvent(x({ type: "open", target: this })), l.dispatchEvent(x({ type: "connection" }), u);
3053
+ this.readyState = t.OPEN, this.dispatchEvent(O({ type: "open", target: this })), l.dispatchEvent(O({ type: "connection" }), u);
2939
3054
  }
2940
3055
  else
2941
- this.readyState = t.CLOSED, this.dispatchEvent(x({ type: "error", target: this })), this.dispatchEvent(O({ type: "close", target: this, code: L.CLOSE_NORMAL })), te("error", "WebSocket connection to '" + this.url + "' failed");
3056
+ this.readyState = t.CLOSED, this.dispatchEvent(O({ type: "error", target: this })), this.dispatchEvent(M({ type: "close", target: this, code: x.CLOSE_NORMAL })), de("error", "WebSocket connection to '" + this.url + "' failed");
2942
3057
  }, this);
2943
3058
  }
2944
3059
  r && (t.__proto__ = r), t.prototype = Object.create(r && r.prototype), t.prototype.constructor = t;
@@ -2963,49 +3078,49 @@ var Q = {}, Rt = {
2963
3078
  var u = this;
2964
3079
  if (this.readyState === t.CONNECTING)
2965
3080
  throw new Error("Failed to execute 'send' on 'WebSocket': Still in CONNECTING state");
2966
- var l = J({
3081
+ var l = ne({
2967
3082
  type: "server::message",
2968
3083
  origin: this.url,
2969
- data: se(i)
2970
- }), T = w.serverLookup(this.url);
2971
- T && H(function() {
3084
+ data: ue(i)
3085
+ }), T = P.serverLookup(this.url);
3086
+ T && ee(function() {
2972
3087
  u.dispatchEvent(l, i);
2973
3088
  }, T);
2974
3089
  }, t.prototype.close = function(i, u) {
2975
3090
  if (i !== void 0 && (typeof i != "number" || i !== 1e3 && (i < 3e3 || i > 4999)))
2976
3091
  throw new TypeError(
2977
- S.CLOSE_ERROR + " The code must be either 1000, or between 3000 and 4999. " + i + " is neither."
3092
+ b.CLOSE_ERROR + " The code must be either 1000, or between 3000 and 4999. " + i + " is neither."
2978
3093
  );
2979
3094
  if (u !== void 0) {
2980
- var l = Yn(u);
3095
+ var l = lt(u);
2981
3096
  if (l > 123)
2982
- throw new SyntaxError(S.CLOSE_ERROR + " The message must not be greater than 123 bytes.");
3097
+ throw new SyntaxError(b.CLOSE_ERROR + " The message must not be greater than 123 bytes.");
2983
3098
  }
2984
3099
  if (!(this.readyState === t.CLOSING || this.readyState === t.CLOSED)) {
2985
- var T = Ke(this);
2986
- this.readyState === t.CONNECTING ? zn(T, i || L.CLOSE_ABNORMAL, u) : Fe(T, i || L.CLOSE_NO_STATUS, u);
3100
+ var T = tn(this);
3101
+ this.readyState === t.CONNECTING ? pt(T, i || x.CLOSE_ABNORMAL, u) : nn(T, i || x.CLOSE_NO_STATUS, u);
2987
3102
  }
2988
3103
  }, Object.defineProperties(t.prototype, c), t;
2989
- }(U);
2990
- C.CONNECTING = 0, C.prototype.CONNECTING = C.CONNECTING, C.OPEN = 1, C.prototype.OPEN = C.OPEN, C.CLOSING = 2, C.prototype.CLOSING = C.CLOSING, C.CLOSED = 3, C.prototype.CLOSED = C.CLOSED;
2991
- var G = function(r) {
3104
+ }(K);
3105
+ E.CONNECTING = 0, E.prototype.CONNECTING = E.CONNECTING, E.OPEN = 1, E.prototype.OPEN = E.OPEN, E.CLOSING = 2, E.prototype.CLOSING = E.CLOSING, E.CLOSED = 3, E.prototype.CLOSED = E.CLOSED;
3106
+ var H = function(r) {
2992
3107
  function t(n, i) {
2993
3108
  var u = this;
2994
3109
  n === void 0 && (n = "socket.io"), i === void 0 && (i = ""), r.call(this), this.binaryType = "blob";
2995
- var l = new ye(n);
3110
+ var l = new Se(n);
2996
3111
  l.pathname || (l.pathname = "/"), this.url = l.toString(), this.readyState = t.CONNECTING, this.protocol = "", this.target = this, typeof i == "string" || typeof i == "object" && i !== null ? this.protocol = i : Array.isArray(i) && i.length > 0 && (this.protocol = i[0]);
2997
- var T = w.attachWebSocket(this, this.url);
2998
- H(function() {
2999
- T ? (this.readyState = t.OPEN, T.dispatchEvent(x({ type: "connection" }), T, this), T.dispatchEvent(x({ type: "connect" }), T, this), this.dispatchEvent(x({ type: "connect", target: this }))) : (this.readyState = t.CLOSED, this.dispatchEvent(x({ type: "error", target: this })), this.dispatchEvent(
3000
- O({
3112
+ var T = P.attachWebSocket(this, this.url);
3113
+ ee(function() {
3114
+ T ? (this.readyState = t.OPEN, T.dispatchEvent(O({ type: "connection" }), T, this), T.dispatchEvent(O({ type: "connect" }), T, this), this.dispatchEvent(O({ type: "connect", target: this }))) : (this.readyState = t.CLOSED, this.dispatchEvent(O({ type: "error", target: this })), this.dispatchEvent(
3115
+ M({
3001
3116
  type: "close",
3002
3117
  target: this,
3003
- code: L.CLOSE_NORMAL
3118
+ code: x.CLOSE_NORMAL
3004
3119
  })
3005
- ), te("error", "Socket.io connection to '" + this.url + "' failed"));
3120
+ ), de("error", "Socket.io connection to '" + this.url + "' failed"));
3006
3121
  }, this), this.addEventListener("close", function(k) {
3007
3122
  u.dispatchEvent(
3008
- O({
3123
+ M({
3009
3124
  type: "disconnect",
3010
3125
  target: k.target,
3011
3126
  code: k.code
@@ -3017,18 +3132,18 @@ var Q = {}, Rt = {
3017
3132
  var c = { broadcast: {} };
3018
3133
  return t.prototype.close = function() {
3019
3134
  if (this.readyState === t.OPEN) {
3020
- var i = w.serverLookup(this.url);
3021
- return w.removeWebSocket(this, this.url), this.readyState = t.CLOSED, this.dispatchEvent(
3022
- O({
3135
+ var i = P.serverLookup(this.url);
3136
+ return P.removeWebSocket(this, this.url), this.readyState = t.CLOSED, this.dispatchEvent(
3137
+ M({
3023
3138
  type: "close",
3024
3139
  target: this,
3025
- code: L.CLOSE_NORMAL
3140
+ code: x.CLOSE_NORMAL
3026
3141
  })
3027
3142
  ), i && i.dispatchEvent(
3028
- O({
3143
+ M({
3029
3144
  type: "disconnect",
3030
3145
  target: this,
3031
- code: L.CLOSE_NORMAL
3146
+ code: x.CLOSE_NORMAL
3032
3147
  }),
3033
3148
  i
3034
3149
  ), this;
@@ -3040,23 +3155,23 @@ var Q = {}, Rt = {
3040
3155
  u[l] = arguments[l + 1];
3041
3156
  if (this.readyState !== t.OPEN)
3042
3157
  throw new Error("SocketIO is already in CLOSING or CLOSED state");
3043
- var T = J({
3158
+ var T = ne({
3044
3159
  type: i,
3045
3160
  origin: this.url,
3046
3161
  data: u
3047
- }), k = w.serverLookup(this.url);
3162
+ }), k = P.serverLookup(this.url);
3048
3163
  return k && k.dispatchEvent.apply(k, [T].concat(u)), this;
3049
3164
  }, t.prototype.send = function(i) {
3050
3165
  return this.emit("message", i), this;
3051
3166
  }, c.broadcast.get = function() {
3052
3167
  if (this.readyState !== t.OPEN)
3053
3168
  throw new Error("SocketIO is already in CLOSING or CLOSED state");
3054
- var n = this, i = w.serverLookup(this.url);
3169
+ var n = this, i = P.serverLookup(this.url);
3055
3170
  if (!i)
3056
3171
  throw new Error("SocketIO can not find a server at the specified URL (" + this.url + ")");
3057
3172
  return {
3058
3173
  emit: function(l, T) {
3059
- return i.emit(l, T, { websockets: w.websocketsLookup(n.url, null, n) }), n;
3174
+ return i.emit(l, T, { websockets: P.websocketsLookup(n.url, null, n) }), n;
3060
3175
  },
3061
3176
  to: function(l) {
3062
3177
  return i.to(l, n);
@@ -3073,9 +3188,9 @@ var Q = {}, Rt = {
3073
3188
  var u = this.listeners[i];
3074
3189
  return Array.isArray(u) ? !!u.length : false;
3075
3190
  }, t.prototype.join = function(i) {
3076
- w.addMembershipToRoom(this, i);
3191
+ P.addMembershipToRoom(this, i);
3077
3192
  }, t.prototype.leave = function(i) {
3078
- w.removeMembershipFromRoom(this, i);
3193
+ P.removeMembershipFromRoom(this, i);
3079
3194
  }, t.prototype.to = function(i) {
3080
3195
  return this.broadcast.to(i);
3081
3196
  }, t.prototype.in = function() {
@@ -3086,106 +3201,106 @@ var Q = {}, Rt = {
3086
3201
  var k = i.type, _ = this.listeners[k];
3087
3202
  if (!Array.isArray(_))
3088
3203
  return false;
3089
- _.forEach(function(E) {
3090
- l.length > 0 ? E.apply(u, l) : E.call(u, i.data ? i.data : i);
3204
+ _.forEach(function(S) {
3205
+ l.length > 0 ? S.apply(u, l) : S.call(u, i.data ? i.data : i);
3091
3206
  });
3092
3207
  }, Object.defineProperties(t.prototype, c), t;
3093
- }(U);
3094
- G.CONNECTING = 0, G.OPEN = 1, G.CLOSING = 2, G.CLOSED = 3;
3095
- var _e = function(t, c) {
3096
- return new G(t, c);
3208
+ }(K);
3209
+ H.CONNECTING = 0, H.OPEN = 1, H.CLOSING = 2, H.CLOSED = 3;
3210
+ var xe = function(t, c) {
3211
+ return new H(t, c);
3097
3212
  };
3098
- _e.connect = function(t, c) {
3099
- return _e(t, c);
3213
+ xe.connect = function(t, c) {
3214
+ return xe(t, c);
3100
3215
  };
3101
- var et = function(r) {
3216
+ var ft = function(r) {
3102
3217
  return r.reduce(function(t, c) {
3103
3218
  return t.indexOf(c) > -1 ? t : t.concat(c);
3104
3219
  }, []);
3105
3220
  };
3106
- function Ve() {
3107
- return typeof window != "undefined" ? window : typeof process == "object" && typeof yt == "function" && typeof Y == "object" ? Y : this;
3221
+ function sn() {
3222
+ return typeof window != "undefined" ? window : typeof Ae == "object" && typeof Dt == "function" && typeof re == "object" ? re : this;
3108
3223
  }
3109
- var He = {
3224
+ var rn = {
3110
3225
  mock: true,
3111
3226
  verifyClient: null,
3112
3227
  selectProtocol: null
3113
- }, Pe = function(r) {
3228
+ }, Oe = function(r) {
3114
3229
  function t(c, n) {
3115
- n === void 0 && (n = He), r.call(this);
3116
- var i = new ye(c);
3230
+ n === void 0 && (n = rn), r.call(this);
3231
+ var i = new Se(c);
3117
3232
  i.pathname || (i.pathname = "/"), this.url = i.toString(), this.originalWebSocket = null;
3118
- var u = w.attachServer(this, this.url);
3233
+ var u = P.attachServer(this, this.url);
3119
3234
  if (!u)
3120
- throw this.dispatchEvent(x({ type: "error" })), new Error("A mock server is already listening on this url");
3121
- this.options = Object.assign({}, He, n), this.options.mock && this.mockWebsocket();
3235
+ throw this.dispatchEvent(O({ type: "error" })), new Error("A mock server is already listening on this url");
3236
+ this.options = Object.assign({}, rn, n), this.options.mock && this.mockWebsocket();
3122
3237
  }
3123
3238
  return r && (t.__proto__ = r), t.prototype = Object.create(r && r.prototype), t.prototype.constructor = t, t.prototype.mockWebsocket = function() {
3124
- var n = Ve();
3125
- this.originalWebSocket = n.WebSocket, n.WebSocket = C;
3239
+ var n = sn();
3240
+ this.originalWebSocket = n.WebSocket, n.WebSocket = E;
3126
3241
  }, t.prototype.restoreWebsocket = function() {
3127
- var n = Ve();
3242
+ var n = sn();
3128
3243
  this.originalWebSocket !== null && (n.WebSocket = this.originalWebSocket), this.originalWebSocket = null;
3129
3244
  }, t.prototype.stop = function(n) {
3130
3245
  n === void 0 && (n = function() {
3131
- }), this.options.mock && this.restoreWebsocket(), w.removeServer(this.url), typeof n == "function" && n();
3246
+ }), this.options.mock && this.restoreWebsocket(), P.removeServer(this.url), typeof n == "function" && n();
3132
3247
  }, t.prototype.on = function(n, i) {
3133
3248
  this.addEventListener(n, i);
3134
3249
  }, t.prototype.off = function(n, i) {
3135
3250
  this.removeEventListener(n, i);
3136
3251
  }, t.prototype.close = function(n) {
3137
3252
  n === void 0 && (n = {});
3138
- var i = n.code, u = n.reason, l = n.wasClean, T = w.websocketsLookup(this.url);
3139
- w.removeServer(this.url), T.forEach(function(k) {
3140
- k.readyState = C.CLOSED, k.dispatchEvent(
3141
- O({
3253
+ var i = n.code, u = n.reason, l = n.wasClean, T = P.websocketsLookup(this.url);
3254
+ P.removeServer(this.url), T.forEach(function(k) {
3255
+ k.readyState = E.CLOSED, k.dispatchEvent(
3256
+ M({
3142
3257
  type: "close",
3143
3258
  target: k.target,
3144
- code: i || L.CLOSE_NORMAL,
3259
+ code: i || x.CLOSE_NORMAL,
3145
3260
  reason: u || "",
3146
3261
  wasClean: l
3147
3262
  })
3148
3263
  );
3149
- }), this.dispatchEvent(O({ type: "close" }), this);
3264
+ }), this.dispatchEvent(M({ type: "close" }), this);
3150
3265
  }, t.prototype.emit = function(n, i, u) {
3151
3266
  var l = this;
3152
3267
  u === void 0 && (u = {});
3153
3268
  var T = u.websockets;
3154
- T || (T = w.websocketsLookup(this.url));
3269
+ T || (T = P.websocketsLookup(this.url));
3155
3270
  var k;
3156
3271
  typeof u != "object" || arguments.length > 3 ? (i = Array.prototype.slice.call(arguments, 1, arguments.length), k = i.map(function(_) {
3157
- return se(_);
3158
- })) : k = se(i), T.forEach(function(_) {
3159
- var E = _ instanceof G ? i : k;
3160
- Array.isArray(E) ? _.dispatchEvent.apply(
3272
+ return ue(_);
3273
+ })) : k = ue(i), T.forEach(function(_) {
3274
+ var S = _ instanceof H ? i : k;
3275
+ Array.isArray(S) ? _.dispatchEvent.apply(
3161
3276
  _,
3162
- [J({
3277
+ [ne({
3163
3278
  type: n,
3164
- data: E,
3279
+ data: S,
3165
3280
  origin: l.url,
3166
3281
  target: _.target
3167
- })].concat(E)
3282
+ })].concat(S)
3168
3283
  ) : _.dispatchEvent(
3169
- J({
3284
+ ne({
3170
3285
  type: n,
3171
- data: E,
3286
+ data: S,
3172
3287
  origin: l.url,
3173
3288
  target: _.target
3174
3289
  })
3175
3290
  );
3176
3291
  });
3177
3292
  }, t.prototype.clients = function() {
3178
- return w.websocketsLookup(this.url);
3293
+ return P.websocketsLookup(this.url);
3179
3294
  }, t.prototype.to = function(n, i, u) {
3180
3295
  var l = this;
3181
3296
  u === void 0 && (u = []);
3182
- var T = this, k = et(u.concat(w.websocketsLookup(this.url, n, i)));
3297
+ var T = this, k = ft(u.concat(P.websocketsLookup(this.url, n, i)));
3183
3298
  return {
3184
- to: function(_, E) {
3185
- return l.to.call(l, _, E, k);
3299
+ to: function(_, S) {
3300
+ return l.to.call(l, _, S, k);
3186
3301
  },
3187
- emit: function(E, h) {
3188
- T.emit(E, h, { websockets: k });
3302
+ emit: function(S, h) {
3303
+ T.emit(S, h, { websockets: k });
3189
3304
  }
3190
3305
  };
3191
3306
  }, t.prototype.in = function() {
@@ -3193,80 +3308,80 @@ var Q = {}, Rt = {
3193
3308
  n[i] = arguments[i];
3194
3309
  return this.to.apply(null, n);
3195
3310
  }, t.prototype.simulate = function(n) {
3196
- var i = w.websocketsLookup(this.url);
3311
+ var i = P.websocketsLookup(this.url);
3197
3312
  n === "error" && i.forEach(function(u) {
3198
- u.readyState = C.CLOSED, u.dispatchEvent(x({ type: "error", target: u.target }));
3313
+ u.readyState = E.CLOSED, u.dispatchEvent(O({ type: "error", target: u.target }));
3199
3314
  });
3200
3315
  }, t;
3201
- }(U);
3202
- Pe.of = function(t) {
3203
- return new Pe(t);
3316
+ }(K);
3317
+ Oe.of = function(t) {
3318
+ return new Oe(t);
3204
3319
  };
3205
- var nt = Pe, tt = C, st = _e;
3206
- a.Server = nt, a.WebSocket = tt, a.SocketIO = st, Object.defineProperty(a, "__esModule", { value: true });
3320
+ var ht = Oe, kt = E, gt = xe;
3321
+ a.Server = ht, a.WebSocket = kt, a.SocketIO = gt, Object.defineProperty(a, "__esModule", { value: true });
3207
3322
  });
3208
- })(Rt, Q);
3209
- var xe = {}, vt = {
3323
+ })(Ut, oe);
3324
+ var Ge = {}, Bt = {
3210
3325
  get exports() {
3211
- return xe;
3326
+ return Ge;
3212
3327
  },
3213
3328
  set exports(e) {
3214
- xe = e;
3329
+ Ge = e;
3215
3330
  }
3216
- }, W = typeof Reflect == "object" ? Reflect : null, nn = W && typeof W.apply == "function" ? W.apply : function(e, s, a) {
3331
+ }, z = typeof Reflect == "object" ? Reflect : null, mn = z && typeof z.apply == "function" ? z.apply : function(e, s, a) {
3217
3332
  return Function.prototype.apply.call(e, s, a);
3218
- }, ae;
3219
- W && typeof W.ownKeys == "function" ? ae = W.ownKeys : Object.getOwnPropertySymbols ? ae = function(e) {
3333
+ }, Te;
3334
+ z && typeof z.ownKeys == "function" ? Te = z.ownKeys : Object.getOwnPropertySymbols ? Te = function(e) {
3220
3335
  return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e));
3221
- } : ae = function(e) {
3336
+ } : Te = function(e) {
3222
3337
  return Object.getOwnPropertyNames(e);
3223
3338
  };
3224
- function _t(e) {
3339
+ function Gt(e) {
3225
3340
  console && console.warn && console.warn(e);
3226
3341
  }
3227
- var gn = Number.isNaN || function(e) {
3342
+ var qn = Number.isNaN || function(e) {
3228
3343
  return e !== e;
3229
3344
  };
3230
- function v() {
3231
- v.init.call(this);
3345
+ function R() {
3346
+ R.init.call(this);
3232
3347
  }
3233
- vt.exports = v;
3234
- xe.once = Et;
3235
- v.EventEmitter = v;
3236
- v.prototype._events = void 0;
3237
- v.prototype._eventsCount = 0;
3238
- v.prototype._maxListeners = void 0;
3239
- var tn = 10;
3240
- function Te(e) {
3348
+ Bt.exports = R;
3349
+ Ge.once = Kt;
3350
+ R.EventEmitter = R;
3351
+ R.prototype._events = void 0;
3352
+ R.prototype._eventsCount = 0;
3353
+ R.prototype._maxListeners = void 0;
3354
+ var Tn = 10;
3355
+ function _e(e) {
3241
3356
  if (typeof e != "function")
3242
3357
  throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof e);
3243
3358
  }
3244
- Object.defineProperty(v, "defaultMaxListeners", {
3359
+ Object.defineProperty(R, "defaultMaxListeners", {
3245
3360
  enumerable: true,
3246
3361
  get: function() {
3247
- return tn;
3362
+ return Tn;
3248
3363
  },
3249
3364
  set: function(e) {
3250
- if (typeof e != "number" || e < 0 || gn(e))
3365
+ if (typeof e != "number" || e < 0 || qn(e))
3251
3366
  throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + e + ".");
3252
- tn = e;
3367
+ Tn = e;
3253
3368
  }
3254
3369
  });
3255
- v.init = function() {
3370
+ R.init = function() {
3256
3371
  (this._events === void 0 || this._events === Object.getPrototypeOf(this)._events) && (this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0), this._maxListeners = this._maxListeners || void 0;
3257
3372
  };
3258
- v.prototype.setMaxListeners = function(e) {
3259
- if (typeof e != "number" || e < 0 || gn(e))
3373
+ R.prototype.setMaxListeners = function(e) {
3374
+ if (typeof e != "number" || e < 0 || qn(e))
3260
3375
  throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + e + ".");
3261
3376
  return this._maxListeners = e, this;
3262
3377
  };
3263
- function yn(e) {
3264
- return e._maxListeners === void 0 ? v.defaultMaxListeners : e._maxListeners;
3378
+ function $n(e) {
3379
+ return e._maxListeners === void 0 ? R.defaultMaxListeners : e._maxListeners;
3265
3380
  }
3266
- v.prototype.getMaxListeners = function() {
3267
- return yn(this);
3381
+ R.prototype.getMaxListeners = function() {
3382
+ return $n(this);
3268
3383
  };
3269
- v.prototype.emit = function(e) {
3384
+ R.prototype.emit = function(e) {
3270
3385
  for (var s = [], a = 1; a < arguments.length; a++)
3271
3386
  s.push(arguments[a]);
3272
3387
  var d = e === "error", p = this._events;
@@ -3285,51 +3400,51 @@ v.prototype.emit = function(e) {
3285
3400
  if (g === void 0)
3286
3401
  return false;
3287
3402
  if (typeof g == "function")
3288
- nn(g, this, s);
3403
+ mn(g, this, s);
3289
3404
  else
3290
- for (var P = g.length, b = wn(g, P), a = 0; a < P; ++a)
3291
- nn(b[a], this, s);
3405
+ for (var w = g.length, L = Un(g, w), a = 0; a < w; ++a)
3406
+ mn(L[a], this, s);
3292
3407
  return true;
3293
3408
  };
3294
- function Rn(e, s, a, d) {
3409
+ function Nn(e, s, a, d) {
3295
3410
  var p, m, f;
3296
- if (Te(a), m = e._events, m === void 0 ? (m = e._events = /* @__PURE__ */ Object.create(null), e._eventsCount = 0) : (m.newListener !== void 0 && (e.emit(
3411
+ if (_e(a), m = e._events, m === void 0 ? (m = e._events = /* @__PURE__ */ Object.create(null), e._eventsCount = 0) : (m.newListener !== void 0 && (e.emit(
3297
3412
  "newListener",
3298
3413
  s,
3299
3414
  a.listener ? a.listener : a
3300
3415
  ), m = e._events), f = m[s]), f === void 0)
3301
3416
  f = m[s] = a, ++e._eventsCount;
3302
- else if (typeof f == "function" ? f = m[s] = d ? [a, f] : [f, a] : d ? f.unshift(a) : f.push(a), p = yn(e), p > 0 && f.length > p && !f.warned) {
3417
+ else if (typeof f == "function" ? f = m[s] = d ? [a, f] : [f, a] : d ? f.unshift(a) : f.push(a), p = $n(e), p > 0 && f.length > p && !f.warned) {
3303
3418
  f.warned = true;
3304
3419
  var g = new Error("Possible EventEmitter memory leak detected. " + f.length + " " + String(s) + " listeners added. Use emitter.setMaxListeners() to increase limit");
3305
- g.name = "MaxListenersExceededWarning", g.emitter = e, g.type = s, g.count = f.length, _t(g);
3420
+ g.name = "MaxListenersExceededWarning", g.emitter = e, g.type = s, g.count = f.length, Gt(g);
3306
3421
  }
3307
3422
  return e;
3308
3423
  }
3309
- v.prototype.addListener = function(e, s) {
3310
- return Rn(this, e, s, false);
3424
+ R.prototype.addListener = function(e, s) {
3425
+ return Nn(this, e, s, false);
3311
3426
  };
3312
- v.prototype.on = v.prototype.addListener;
3313
- v.prototype.prependListener = function(e, s) {
3314
- return Rn(this, e, s, true);
3427
+ R.prototype.on = R.prototype.addListener;
3428
+ R.prototype.prependListener = function(e, s) {
3429
+ return Nn(this, e, s, true);
3315
3430
  };
3316
- function Pt() {
3431
+ function jt() {
3317
3432
  if (!this.fired)
3318
3433
  return this.target.removeListener(this.type, this.wrapFn), this.fired = true, arguments.length === 0 ? this.listener.call(this.target) : this.listener.apply(this.target, arguments);
3319
3434
  }
3320
- function vn(e, s, a) {
3321
- var d = { fired: false, wrapFn: void 0, target: e, type: s, listener: a }, p = Pt.bind(d);
3435
+ function An(e, s, a) {
3436
+ var d = { fired: false, wrapFn: void 0, target: e, type: s, listener: a }, p = jt.bind(d);
3322
3437
  return p.listener = a, d.wrapFn = p, p;
3323
3438
  }
3324
- v.prototype.once = function(e, s) {
3325
- return Te(s), this.on(e, vn(this, e, s)), this;
3439
+ R.prototype.once = function(e, s) {
3440
+ return _e(s), this.on(e, An(this, e, s)), this;
3326
3441
  };
3327
- v.prototype.prependOnceListener = function(e, s) {
3328
- return Te(s), this.prependListener(e, vn(this, e, s)), this;
3442
+ R.prototype.prependOnceListener = function(e, s) {
3443
+ return _e(s), this.prependListener(e, An(this, e, s)), this;
3329
3444
  };
3330
- v.prototype.removeListener = function(e, s) {
3445
+ R.prototype.removeListener = function(e, s) {
3331
3446
  var a, d, p, m, f;
3332
- if (Te(s), d = this._events, d === void 0)
3447
+ if (_e(s), d = this._events, d === void 0)
3333
3448
  return this;
3334
3449
  if (a = d[e], a === void 0)
3335
3450
  return this;
@@ -3343,12 +3458,12 @@ v.prototype.removeListener = function(e, s) {
3343
3458
  }
3344
3459
  if (p < 0)
3345
3460
  return this;
3346
- p === 0 ? a.shift() : wt(a, p), a.length === 1 && (d[e] = a[0]), d.removeListener !== void 0 && this.emit("removeListener", e, f || s);
3461
+ p === 0 ? a.shift() : Wt(a, p), a.length === 1 && (d[e] = a[0]), d.removeListener !== void 0 && this.emit("removeListener", e, f || s);
3347
3462
  }
3348
3463
  return this;
3349
3464
  };
3350
- v.prototype.off = v.prototype.removeListener;
3351
- v.prototype.removeAllListeners = function(e) {
3465
+ R.prototype.off = R.prototype.removeListener;
3466
+ R.prototype.removeAllListeners = function(e) {
3352
3467
  var s, a, d;
3353
3468
  if (a = this._events, a === void 0)
3354
3469
  return this;
@@ -3367,24 +3482,24 @@ v.prototype.removeAllListeners = function(e) {
3367
3482
  this.removeListener(e, s[d]);
3368
3483
  return this;
3369
3484
  };
3370
- function _n(e, s, a) {
3485
+ function In(e, s, a) {
3371
3486
  var d = e._events;
3372
3487
  if (d === void 0)
3373
3488
  return [];
3374
3489
  var p = d[s];
3375
- return p === void 0 ? [] : typeof p == "function" ? a ? [p.listener || p] : [p] : a ? Ct(p) : wn(p, p.length);
3490
+ return p === void 0 ? [] : typeof p == "function" ? a ? [p.listener || p] : [p] : a ? Ft(p) : Un(p, p.length);
3376
3491
  }
3377
- v.prototype.listeners = function(e) {
3378
- return _n(this, e, true);
3492
+ R.prototype.listeners = function(e) {
3493
+ return In(this, e, true);
3379
3494
  };
3380
- v.prototype.rawListeners = function(e) {
3381
- return _n(this, e, false);
3495
+ R.prototype.rawListeners = function(e) {
3496
+ return In(this, e, false);
3382
3497
  };
3383
- v.listenerCount = function(e, s) {
3384
- return typeof e.listenerCount == "function" ? e.listenerCount(s) : Pn.call(e, s);
3498
+ R.listenerCount = function(e, s) {
3499
+ return typeof e.listenerCount == "function" ? e.listenerCount(s) : Dn.call(e, s);
3385
3500
  };
3386
- v.prototype.listenerCount = Pn;
3387
- function Pn(e) {
3501
+ R.prototype.listenerCount = Dn;
3502
+ function Dn(e) {
3388
3503
  var s = this._events;
3389
3504
  if (s !== void 0) {
3390
3505
  var a = s[e];
@@ -3395,25 +3510,25 @@ function Pn(e) {
3395
3510
  }
3396
3511
  return 0;
3397
3512
  }
3398
- v.prototype.eventNames = function() {
3399
- return this._eventsCount > 0 ? ae(this._events) : [];
3513
+ R.prototype.eventNames = function() {
3514
+ return this._eventsCount > 0 ? Te(this._events) : [];
3400
3515
  };
3401
- function wn(e, s) {
3516
+ function Un(e, s) {
3402
3517
  for (var a = new Array(s), d = 0; d < s; ++d)
3403
3518
  a[d] = e[d];
3404
3519
  return a;
3405
3520
  }
3406
- function wt(e, s) {
3521
+ function Wt(e, s) {
3407
3522
  for (; s + 1 < e.length; s++)
3408
3523
  e[s] = e[s + 1];
3409
3524
  e.pop();
3410
3525
  }
3411
- function Ct(e) {
3526
+ function Ft(e) {
3412
3527
  for (var s = new Array(e.length), a = 0; a < s.length; ++a)
3413
3528
  s[a] = e[a].listener || e[a];
3414
3529
  return s;
3415
3530
  }
3416
- function Et(e, s) {
3531
+ function Kt(e, s) {
3417
3532
  return new Promise(function(a, d) {
3418
3533
  function p(f) {
3419
3534
  e.removeListener(s, m), d(f);
@@ -3421,13 +3536,13 @@ function Et(e, s) {
3421
3536
  function m() {
3422
3537
  typeof e.removeListener == "function" && e.removeListener("error", p), a([].slice.call(arguments));
3423
3538
  }
3424
- Cn(e, s, m, { once: true }), s !== "error" && St(e, p, { once: true });
3539
+ Bn(e, s, m, { once: true }), s !== "error" && Vt(e, p, { once: true });
3425
3540
  });
3426
3541
  }
3427
- function St(e, s, a) {
3428
- typeof e.on == "function" && Cn(e, "error", s, a);
3542
+ function Vt(e, s, a) {
3543
+ typeof e.on == "function" && Bn(e, "error", s, a);
3429
3544
  }
3430
- function Cn(e, s, a, d) {
3545
+ function Bn(e, s, a, d) {
3431
3546
  if (typeof e.on == "function")
3432
3547
  d.once ? e.once(s, a) : e.on(s, a);
3433
3548
  else if (typeof e.addEventListener == "function")
@@ -3437,7 +3552,7 @@ function Cn(e, s, a, d) {
3437
3552
  else
3438
3553
  throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof e);
3439
3554
  }
3440
- class bt extends MessageType {
3555
+ class Ht extends MessageType {
3441
3556
  constructor() {
3442
3557
  super("message.v1.SocketMessage", [
3443
3558
  {
@@ -3470,16 +3585,16 @@ class bt extends MessageType {
3470
3585
  ]);
3471
3586
  }
3472
3587
  }
3473
- const sn = new bt();
3474
- var ce;
3588
+ const fn = new Ht();
3589
+ var he;
3475
3590
  (function(e) {
3476
3591
  e[e.PUBLISHER = 0] = "PUBLISHER", e[e.SUBSCRIBER = 1] = "SUBSCRIBER";
3477
- })(ce || (ce = {}));
3478
- var Oe;
3592
+ })(he || (he = {}));
3593
+ var je;
3479
3594
  (function(e) {
3480
3595
  e[e.AUDIO = 0] = "AUDIO", e[e.VIDEO = 1] = "VIDEO";
3481
- })(Oe || (Oe = {}));
3482
- class Lt extends MessageType {
3596
+ })(je || (je = {}));
3597
+ class Jt extends MessageType {
3483
3598
  constructor() {
3484
3599
  super("media.Codec", [
3485
3600
  {
@@ -3518,8 +3633,8 @@ class Lt extends MessageType {
3518
3633
  ]);
3519
3634
  }
3520
3635
  }
3521
- const En = new Lt();
3522
- class xt extends MessageType {
3636
+ const Gn = new Jt();
3637
+ class Zt extends MessageType {
3523
3638
  constructor() {
3524
3639
  super("media.HeaderExtension", [
3525
3640
  {
@@ -3538,8 +3653,8 @@ class xt extends MessageType {
3538
3653
  ]);
3539
3654
  }
3540
3655
  }
3541
- const Ot = new xt();
3542
- class Mt extends MessageType {
3656
+ const zt = new Zt();
3657
+ class Yt extends MessageType {
3543
3658
  constructor() {
3544
3659
  super("media.Fingerprint", [
3545
3660
  {
@@ -3557,11 +3672,11 @@ class Mt extends MessageType {
3557
3672
  ]);
3558
3673
  }
3559
3674
  }
3560
- new Mt();
3561
- class qt extends MessageType {
3675
+ new Yt();
3676
+ class Qt extends MessageType {
3562
3677
  constructor() {
3563
3678
  super("media.SessionDescription", [
3564
- { no: 1, name: "target", kind: "enum", T: () => ["media.Target", ce] },
3679
+ { no: 1, name: "target", kind: "enum", T: () => ["media.Target", he] },
3565
3680
  {
3566
3681
  no: 2,
3567
3682
  name: "type",
@@ -3577,8 +3692,8 @@ class qt extends MessageType {
3577
3692
  ]);
3578
3693
  }
3579
3694
  }
3580
- const M = new qt();
3581
- class $t extends MessageType {
3695
+ const q = new Qt();
3696
+ class Xt extends MessageType {
3582
3697
  constructor() {
3583
3698
  super("media.ProducerPayload", [
3584
3699
  {
@@ -3622,8 +3737,8 @@ class $t extends MessageType {
3622
3737
  ]);
3623
3738
  }
3624
3739
  }
3625
- const Nt = new $t();
3626
- class At extends MessageType {
3740
+ const es = new Xt();
3741
+ class ns extends MessageType {
3627
3742
  constructor() {
3628
3743
  super("media.CreateTransportRequest", [
3629
3744
  {
@@ -3639,7 +3754,7 @@ class At extends MessageType {
3639
3754
  opt: true,
3640
3755
  T: 8
3641
3756
  },
3642
- { no: 3, name: "description", kind: "message", T: () => M },
3757
+ { no: 3, name: "description", kind: "message", T: () => q },
3643
3758
  {
3644
3759
  no: 4,
3645
3760
  name: "private_ice",
@@ -3647,12 +3762,12 @@ class At extends MessageType {
3647
3762
  opt: true,
3648
3763
  T: 8
3649
3764
  },
3650
- { no: 5, name: "producers", kind: "message", repeat: 1, T: () => Nt }
3765
+ { no: 5, name: "producers", kind: "message", repeat: 1, T: () => es }
3651
3766
  ]);
3652
3767
  }
3653
3768
  }
3654
- new At();
3655
- class It extends MessageType {
3769
+ new ns();
3770
+ class ts extends MessageType {
3656
3771
  constructor() {
3657
3772
  super("media.AudioActivityRequest", [
3658
3773
  {
@@ -3676,8 +3791,8 @@ class It extends MessageType {
3676
3791
  ]);
3677
3792
  }
3678
3793
  }
3679
- new It();
3680
- class Dt extends MessageType {
3794
+ new ts();
3795
+ class ss extends MessageType {
3681
3796
  constructor() {
3682
3797
  super("media.CreateTransportResponse", [
3683
3798
  {
@@ -3686,7 +3801,7 @@ class Dt extends MessageType {
3686
3801
  kind: "scalar",
3687
3802
  T: 9
3688
3803
  },
3689
- { no: 2, name: "description", kind: "message", T: () => M },
3804
+ { no: 2, name: "description", kind: "message", T: () => q },
3690
3805
  {
3691
3806
  no: 3,
3692
3807
  name: "transcription_enabled",
@@ -3704,8 +3819,8 @@ class Dt extends MessageType {
3704
3819
  ]);
3705
3820
  }
3706
3821
  }
3707
- const Sn = new Dt();
3708
- class Ut extends MessageType {
3822
+ const jn = new ss();
3823
+ class rs extends MessageType {
3709
3824
  constructor() {
3710
3825
  super("media.RenegotiateRequest", [
3711
3826
  {
@@ -3714,12 +3829,12 @@ class Ut extends MessageType {
3714
3829
  kind: "scalar",
3715
3830
  T: 9
3716
3831
  },
3717
- { no: 2, name: "description", kind: "message", T: () => M }
3832
+ { no: 2, name: "description", kind: "message", T: () => q }
3718
3833
  ]);
3719
3834
  }
3720
3835
  }
3721
- new Ut();
3722
- class Bt extends MessageType {
3836
+ new rs();
3837
+ class os extends MessageType {
3723
3838
  constructor() {
3724
3839
  super("media.RenegotiateResponse", [
3725
3840
  {
@@ -3728,12 +3843,12 @@ class Bt extends MessageType {
3728
3843
  kind: "scalar",
3729
3844
  T: 9
3730
3845
  },
3731
- { no: 2, name: "description", kind: "message", T: () => M }
3846
+ { no: 2, name: "description", kind: "message", T: () => q }
3732
3847
  ]);
3733
3848
  }
3734
3849
  }
3735
- new Bt();
3736
- class Gt extends MessageType {
3850
+ new os();
3851
+ class as extends MessageType {
3737
3852
  constructor() {
3738
3853
  super("media.NestedScore", [
3739
3854
  {
@@ -3764,8 +3879,8 @@ class Gt extends MessageType {
3764
3879
  ]);
3765
3880
  }
3766
3881
  }
3767
- const jt = new Gt();
3768
- class Wt extends MessageType {
3882
+ const is = new as();
3883
+ class cs extends MessageType {
3769
3884
  constructor() {
3770
3885
  super("media.ProducerTrack", [
3771
3886
  {
@@ -3789,8 +3904,8 @@ class Wt extends MessageType {
3789
3904
  ]);
3790
3905
  }
3791
3906
  }
3792
- const Ft = new Wt();
3793
- class Kt extends MessageType {
3907
+ const ds = new cs();
3908
+ class us extends MessageType {
3794
3909
  constructor() {
3795
3910
  super("media.ProducerEntry", [
3796
3911
  {
@@ -3808,8 +3923,8 @@ class Kt extends MessageType {
3808
3923
  ]);
3809
3924
  }
3810
3925
  }
3811
- new Kt();
3812
- class Vt extends MessageType {
3926
+ new us();
3927
+ class ps extends MessageType {
3813
3928
  constructor() {
3814
3929
  super("media.ConsumerEntry", [
3815
3930
  {
@@ -3827,8 +3942,8 @@ class Vt extends MessageType {
3827
3942
  ]);
3828
3943
  }
3829
3944
  }
3830
- new Vt();
3831
- class Ht extends MessageType {
3945
+ new ps();
3946
+ class ls extends MessageType {
3832
3947
  constructor() {
3833
3948
  super("media.ProducerState", [
3834
3949
  {
@@ -3837,7 +3952,7 @@ class Ht extends MessageType {
3837
3952
  kind: "scalar",
3838
3953
  T: 9
3839
3954
  },
3840
- { no: 2, name: "kind", kind: "enum", T: () => ["media.ProducerKind", Oe] },
3955
+ { no: 2, name: "kind", kind: "enum", T: () => ["media.ProducerKind", je] },
3841
3956
  {
3842
3957
  no: 3,
3843
3958
  name: "pause",
@@ -3871,12 +3986,12 @@ class Ht extends MessageType {
3871
3986
  opt: true,
3872
3987
  T: 9
3873
3988
  },
3874
- { no: 8, name: "codec", kind: "message", T: () => En }
3989
+ { no: 8, name: "codec", kind: "message", T: () => Gn }
3875
3990
  ]);
3876
3991
  }
3877
3992
  }
3878
- const ee = new Ht();
3879
- class Jt extends MessageType {
3993
+ const ie = new ls();
3994
+ class ms extends MessageType {
3880
3995
  constructor() {
3881
3996
  super("media.ConsumerState", [
3882
3997
  {
@@ -3885,8 +4000,8 @@ class Jt extends MessageType {
3885
4000
  kind: "scalar",
3886
4001
  T: 9
3887
4002
  },
3888
- { no: 2, name: "producer_state", kind: "message", T: () => ee },
3889
- { no: 3, name: "producer_track", kind: "message", T: () => Ft },
4003
+ { no: 2, name: "producer_state", kind: "message", T: () => ie },
4004
+ { no: 3, name: "producer_track", kind: "message", T: () => ds },
3890
4005
  {
3891
4006
  no: 4,
3892
4007
  name: "error_code",
@@ -3897,43 +4012,43 @@ class Jt extends MessageType {
3897
4012
  ]);
3898
4013
  }
3899
4014
  }
3900
- const Zt = new Jt();
3901
- class zt extends MessageType {
4015
+ const Ts = new ms();
4016
+ class fs extends MessageType {
3902
4017
  constructor() {
3903
4018
  super("media.ProducerIdToConsumerMap", [
3904
- { no: 1, name: "map", kind: "map", K: 9, V: { kind: "message", T: () => Zt } }
4019
+ { no: 1, name: "map", kind: "map", K: 9, V: { kind: "message", T: () => Ts } }
3905
4020
  ]);
3906
4021
  }
3907
4022
  }
3908
- const bn = new zt();
3909
- class Yt extends MessageType {
4023
+ const Wn = new fs();
4024
+ class hs extends MessageType {
3910
4025
  constructor() {
3911
4026
  super("media.PeerRtpCapabilitites", [
3912
- { no: 1, name: "sender", kind: "message", T: () => on },
3913
- { no: 2, name: "receiver", kind: "message", T: () => on }
4027
+ { no: 1, name: "sender", kind: "message", T: () => kn },
4028
+ { no: 2, name: "receiver", kind: "message", T: () => kn }
3914
4029
  ]);
3915
4030
  }
3916
4031
  }
3917
- const Ln = new Yt();
3918
- class Qt extends MessageType {
4032
+ const Fn = new hs();
4033
+ class ks extends MessageType {
3919
4034
  constructor() {
3920
4035
  super("media.RtpCapability", [
3921
- { no: 1, name: "codecs", kind: "message", repeat: 1, T: () => En },
3922
- { no: 2, name: "header_extensions", kind: "message", repeat: 1, T: () => Ot }
4036
+ { no: 1, name: "codecs", kind: "message", repeat: 1, T: () => Gn },
4037
+ { no: 2, name: "header_extensions", kind: "message", repeat: 1, T: () => zt }
3923
4038
  ]);
3924
4039
  }
3925
4040
  }
3926
- const rn = new Qt();
3927
- class Xt extends MessageType {
4041
+ const hn = new ks();
4042
+ class gs extends MessageType {
3928
4043
  constructor() {
3929
4044
  super("media.RtpCapabilitites", [
3930
- { no: 1, name: "audio", kind: "message", T: () => rn },
3931
- { no: 2, name: "video", kind: "message", T: () => rn }
4045
+ { no: 1, name: "audio", kind: "message", T: () => hn },
4046
+ { no: 2, name: "video", kind: "message", T: () => hn }
3932
4047
  ]);
3933
4048
  }
3934
4049
  }
3935
- const on = new Xt();
3936
- class es extends MessageType {
4050
+ const kn = new gs();
4051
+ class ys extends MessageType {
3937
4052
  constructor() {
3938
4053
  super("media.PreferredCodec", [
3939
4054
  {
@@ -3953,8 +4068,8 @@ class es extends MessageType {
3953
4068
  ]);
3954
4069
  }
3955
4070
  }
3956
- const ns = new es();
3957
- class ts extends MessageType {
4071
+ const vs = new ys();
4072
+ class Rs extends MessageType {
3958
4073
  constructor() {
3959
4074
  super("media.edge.GeoLocation", [
3960
4075
  {
@@ -3979,8 +4094,8 @@ class ts extends MessageType {
3979
4094
  ]);
3980
4095
  }
3981
4096
  }
3982
- const ss = new ts();
3983
- class rs extends MessageType {
4097
+ const _s = new Rs();
4098
+ class ws extends MessageType {
3984
4099
  constructor() {
3985
4100
  super("media.edge.PeerJoinRequest", [
3986
4101
  {
@@ -4030,19 +4145,19 @@ class rs extends MessageType {
4030
4145
  opt: true,
4031
4146
  T: 9
4032
4147
  },
4033
- { no: 8, name: "location", kind: "message", T: () => ss },
4034
- { no: 9, name: "capabilities", kind: "message", T: () => Ln }
4148
+ { no: 8, name: "location", kind: "message", T: () => _s },
4149
+ { no: 9, name: "capabilities", kind: "message", T: () => Fn }
4035
4150
  ]);
4036
4151
  }
4037
4152
  }
4038
- new rs();
4039
- class os extends MessageType {
4153
+ new ws();
4154
+ class Ps extends MessageType {
4040
4155
  constructor() {
4041
4156
  super("media.edge.PeerJoinCompleteRequest", []);
4042
4157
  }
4043
4158
  }
4044
- new os();
4045
- class as extends MessageType {
4159
+ new Ps();
4160
+ class Cs extends MessageType {
4046
4161
  constructor() {
4047
4162
  super("media.edge.PeerLeaveRequest", [
4048
4163
  {
@@ -4054,8 +4169,8 @@ class as extends MessageType {
4054
4169
  ]);
4055
4170
  }
4056
4171
  }
4057
- new as();
4058
- class is extends MessageType {
4172
+ new Cs();
4173
+ class Es extends MessageType {
4059
4174
  constructor() {
4060
4175
  super("media.edge.ConsumeMultipleProducerRequest", [
4061
4176
  {
@@ -4075,8 +4190,8 @@ class is extends MessageType {
4075
4190
  ]);
4076
4191
  }
4077
4192
  }
4078
- new is();
4079
- class cs extends MessageType {
4193
+ new Es();
4194
+ class Ss extends MessageType {
4080
4195
  constructor() {
4081
4196
  super("media.edge.ConsumePeerRequest", [
4082
4197
  {
@@ -4099,7 +4214,7 @@ class cs extends MessageType {
4099
4214
  opt: true,
4100
4215
  T: 9
4101
4216
  },
4102
- { no: 4, name: "preferred_codec", kind: "message", T: () => ns },
4217
+ { no: 4, name: "preferred_codec", kind: "message", T: () => vs },
4103
4218
  {
4104
4219
  no: 5,
4105
4220
  name: "producing_transport_id",
@@ -4110,11 +4225,11 @@ class cs extends MessageType {
4110
4225
  ]);
4111
4226
  }
4112
4227
  }
4113
- const ds = new cs();
4114
- class us extends MessageType {
4228
+ const bs = new Ss();
4229
+ class Ls extends MessageType {
4115
4230
  constructor() {
4116
4231
  super("media.edge.ConsumePeersRequest", [
4117
- { no: 1, name: "requests", kind: "message", repeat: 1, T: () => ds },
4232
+ { no: 1, name: "requests", kind: "message", repeat: 1, T: () => bs },
4118
4233
  {
4119
4234
  no: 2,
4120
4235
  name: "consuming_transport_id",
@@ -4125,8 +4240,8 @@ class us extends MessageType {
4125
4240
  ]);
4126
4241
  }
4127
4242
  }
4128
- new us();
4129
- class ps extends MessageType {
4243
+ new Ls();
4244
+ class xs extends MessageType {
4130
4245
  constructor() {
4131
4246
  super("media.edge.ProducerCreateRequest", [
4132
4247
  {
@@ -4147,7 +4262,7 @@ class ps extends MessageType {
4147
4262
  kind: "scalar",
4148
4263
  T: 8
4149
4264
  },
4150
- { no: 4, name: "description", kind: "message", T: () => M },
4265
+ { no: 4, name: "description", kind: "message", T: () => q },
4151
4266
  {
4152
4267
  no: 5,
4153
4268
  name: "msid",
@@ -4178,14 +4293,14 @@ class ps extends MessageType {
4178
4293
  ]);
4179
4294
  }
4180
4295
  }
4181
- new ps();
4182
- class ls extends MessageType {
4296
+ new xs();
4297
+ class Os extends MessageType {
4183
4298
  constructor() {
4184
4299
  super("media.edge.SelectedPeersRequest", []);
4185
4300
  }
4186
4301
  }
4187
- new ls();
4188
- class ms extends MessageType {
4302
+ new Os();
4303
+ class Ms extends MessageType {
4189
4304
  constructor() {
4190
4305
  super("media.edge.GlobalPeerPinningRequest", [
4191
4306
  {
@@ -4197,8 +4312,8 @@ class ms extends MessageType {
4197
4312
  ]);
4198
4313
  }
4199
4314
  }
4200
- new ms();
4201
- class Ts extends MessageType {
4315
+ new Ms();
4316
+ class qs extends MessageType {
4202
4317
  constructor() {
4203
4318
  super("media.edge.ProducerToggleRequest", [
4204
4319
  {
@@ -4216,8 +4331,8 @@ class Ts extends MessageType {
4216
4331
  ]);
4217
4332
  }
4218
4333
  }
4219
- new Ts();
4220
- class fs extends MessageType {
4334
+ new qs();
4335
+ class $s extends MessageType {
4221
4336
  constructor() {
4222
4337
  super("media.edge.ConsumerToggleRequest", [
4223
4338
  {
@@ -4235,8 +4350,8 @@ class fs extends MessageType {
4235
4350
  ]);
4236
4351
  }
4237
4352
  }
4238
- new fs();
4239
- class hs extends MessageType {
4353
+ new $s();
4354
+ class Ns extends MessageType {
4240
4355
  constructor() {
4241
4356
  super("media.edge.ProducerCloseRequest", [
4242
4357
  {
@@ -4245,7 +4360,7 @@ class hs extends MessageType {
4245
4360
  kind: "scalar",
4246
4361
  T: 9
4247
4362
  },
4248
- { no: 2, name: "description", kind: "message", T: () => M },
4363
+ { no: 2, name: "description", kind: "message", T: () => q },
4249
4364
  {
4250
4365
  no: 3,
4251
4366
  name: "producing_transport_id",
@@ -4256,8 +4371,8 @@ class hs extends MessageType {
4256
4371
  ]);
4257
4372
  }
4258
4373
  }
4259
- new hs();
4260
- class ks extends MessageType {
4374
+ new Ns();
4375
+ class As extends MessageType {
4261
4376
  constructor() {
4262
4377
  super("media.edge.ConsumerCloseRequest", [
4263
4378
  {
@@ -4267,7 +4382,7 @@ class ks extends MessageType {
4267
4382
  repeat: 2,
4268
4383
  T: 9
4269
4384
  },
4270
- { no: 2, name: "description", kind: "message", T: () => M },
4385
+ { no: 2, name: "description", kind: "message", T: () => q },
4271
4386
  {
4272
4387
  no: 3,
4273
4388
  name: "consuming_transport_id",
@@ -4278,8 +4393,8 @@ class ks extends MessageType {
4278
4393
  ]);
4279
4394
  }
4280
4395
  }
4281
- new ks();
4282
- class gs extends MessageType {
4396
+ new As();
4397
+ class Is extends MessageType {
4283
4398
  constructor() {
4284
4399
  super("media.edge.KickPeerRequest", [
4285
4400
  {
@@ -4291,8 +4406,8 @@ class gs extends MessageType {
4291
4406
  ]);
4292
4407
  }
4293
4408
  }
4294
- new gs();
4295
- class ys extends MessageType {
4409
+ new Is();
4410
+ class Ds extends MessageType {
4296
4411
  constructor() {
4297
4412
  super("media.edge.KickAllPeersRequest", [
4298
4413
  {
@@ -4304,8 +4419,8 @@ class ys extends MessageType {
4304
4419
  ]);
4305
4420
  }
4306
4421
  }
4307
- new ys();
4308
- class Rs extends MessageType {
4422
+ new Ds();
4423
+ class Us extends MessageType {
4309
4424
  constructor() {
4310
4425
  super("media.edge.PeerDisplayNameEditRequest", [
4311
4426
  {
@@ -4323,8 +4438,8 @@ class Rs extends MessageType {
4323
4438
  ]);
4324
4439
  }
4325
4440
  }
4326
- new Rs();
4327
- class vs extends MessageType {
4441
+ new Us();
4442
+ class Bs extends MessageType {
4328
4443
  constructor() {
4329
4444
  super("media.edge.HostMediaControlForPeerRequest", [
4330
4445
  {
@@ -4354,8 +4469,8 @@ class vs extends MessageType {
4354
4469
  ]);
4355
4470
  }
4356
4471
  }
4357
- new vs();
4358
- class _s extends MessageType {
4472
+ new Bs();
4473
+ class Gs extends MessageType {
4359
4474
  constructor() {
4360
4475
  super("media.edge.HostMediaControlForAllPeerRequest", [
4361
4476
  {
@@ -4379,8 +4494,8 @@ class _s extends MessageType {
4379
4494
  ]);
4380
4495
  }
4381
4496
  }
4382
- new _s();
4383
- class Ps extends MessageType {
4497
+ new Gs();
4498
+ class js extends MessageType {
4384
4499
  constructor() {
4385
4500
  super("media.edge.GetRoomStateResponse", [
4386
4501
  {
@@ -4437,8 +4552,8 @@ class Ps extends MessageType {
4437
4552
  ]);
4438
4553
  }
4439
4554
  }
4440
- const ws = new Ps();
4441
- class Cs extends MessageType {
4555
+ const Ws = new js();
4556
+ class Fs extends MessageType {
4442
4557
  constructor() {
4443
4558
  super("media.edge.ErrorResponse", [
4444
4559
  {
@@ -4456,14 +4571,14 @@ class Cs extends MessageType {
4456
4571
  ]);
4457
4572
  }
4458
4573
  }
4459
- new Cs();
4460
- class Es extends MessageType {
4574
+ new Fs();
4575
+ class Ks extends MessageType {
4461
4576
  constructor() {
4462
4577
  super("media.edge.EmptyResponse", []);
4463
4578
  }
4464
4579
  }
4465
- new Es();
4466
- class Ss extends MessageType {
4580
+ new Ks();
4581
+ class Vs extends MessageType {
4467
4582
  constructor() {
4468
4583
  super("media.edge.RoomParticipants", [
4469
4584
  {
@@ -4472,7 +4587,7 @@ class Ss extends MessageType {
4472
4587
  kind: "scalar",
4473
4588
  T: 9
4474
4589
  },
4475
- { no: 2, name: "producer_states", kind: "message", repeat: 1, T: () => ee },
4590
+ { no: 2, name: "producer_states", kind: "message", repeat: 1, T: () => ie },
4476
4591
  {
4477
4592
  no: 3,
4478
4593
  name: "display_name",
@@ -4486,12 +4601,12 @@ class Ss extends MessageType {
4486
4601
  opt: true,
4487
4602
  T: 9
4488
4603
  },
4489
- { no: 5, name: "capabilities", kind: "message", T: () => Ln }
4604
+ { no: 5, name: "capabilities", kind: "message", T: () => Fn }
4490
4605
  ]);
4491
4606
  }
4492
4607
  }
4493
- const xn = new Ss();
4494
- class bs extends MessageType {
4608
+ const Kn = new Vs();
4609
+ class Hs extends MessageType {
4495
4610
  constructor() {
4496
4611
  super("media.edge.SelectedPeersResponse", [
4497
4612
  {
@@ -4511,8 +4626,8 @@ class bs extends MessageType {
4511
4626
  ]);
4512
4627
  }
4513
4628
  }
4514
- const Ls = new bs();
4515
- class xs extends MessageType {
4629
+ const Js = new Hs();
4630
+ class Zs extends MessageType {
4516
4631
  constructor() {
4517
4632
  super("media.edge.SelectedPeersDiffEntry", [
4518
4633
  {
@@ -4530,27 +4645,27 @@ class xs extends MessageType {
4530
4645
  ]);
4531
4646
  }
4532
4647
  }
4533
- const Os = new xs();
4534
- class Ms extends MessageType {
4648
+ const zs = new Zs();
4649
+ class Ys extends MessageType {
4535
4650
  constructor() {
4536
4651
  super("media.edge.SelectedPeersDiffResponse", [
4537
- { no: 1, name: "entries", kind: "message", repeat: 1, T: () => Os }
4652
+ { no: 1, name: "entries", kind: "message", repeat: 1, T: () => zs }
4538
4653
  ]);
4539
4654
  }
4540
4655
  }
4541
- new Ms();
4542
- class qs extends MessageType {
4656
+ new Ys();
4657
+ class Qs extends MessageType {
4543
4658
  constructor() {
4544
4659
  super("media.edge.PeerJoinResponse", []);
4545
4660
  }
4546
4661
  }
4547
- new qs();
4548
- class $s extends MessageType {
4662
+ new Qs();
4663
+ class Xs extends MessageType {
4549
4664
  constructor() {
4550
4665
  super("media.edge.PeerJoinCompleteResponse", [
4551
- { no: 1, name: "room_state", kind: "message", T: () => ws },
4552
- { no: 2, name: "participants", kind: "message", repeat: 1, T: () => xn },
4553
- { no: 3, name: "selected_peers", kind: "message", T: () => Ls },
4666
+ { no: 1, name: "room_state", kind: "message", T: () => Ws },
4667
+ { no: 2, name: "participants", kind: "message", repeat: 1, T: () => Kn },
4668
+ { no: 3, name: "selected_peers", kind: "message", T: () => Js },
4554
4669
  {
4555
4670
  no: 4,
4556
4671
  name: "max_preferred_streams",
@@ -4560,8 +4675,8 @@ class $s extends MessageType {
4560
4675
  ]);
4561
4676
  }
4562
4677
  }
4563
- const Ns = new $s();
4564
- class As extends MessageType {
4678
+ const er = new Xs();
4679
+ class nr extends MessageType {
4565
4680
  constructor() {
4566
4681
  super("media.edge.PeerLeaveResponse", [
4567
4682
  {
@@ -4573,8 +4688,8 @@ class As extends MessageType {
4573
4688
  ]);
4574
4689
  }
4575
4690
  }
4576
- new As();
4577
- class Is extends MessageType {
4691
+ new nr();
4692
+ class tr extends MessageType {
4578
4693
  constructor() {
4579
4694
  super("media.edge.ConsumeMultipleProducerResponse", [
4580
4695
  {
@@ -4583,12 +4698,12 @@ class Is extends MessageType {
4583
4698
  kind: "scalar",
4584
4699
  T: 8
4585
4700
  },
4586
- { no: 2, name: "consumer_ids_map", kind: "message", T: () => bn }
4701
+ { no: 2, name: "consumer_ids_map", kind: "message", T: () => Wn }
4587
4702
  ]);
4588
4703
  }
4589
4704
  }
4590
- new Is();
4591
- class Ds extends MessageType {
4705
+ new tr();
4706
+ class sr extends MessageType {
4592
4707
  constructor() {
4593
4708
  super("media.edge.ConsumePeerResponse", [
4594
4709
  {
@@ -4597,13 +4712,13 @@ class Ds extends MessageType {
4597
4712
  kind: "scalar",
4598
4713
  T: 8
4599
4714
  },
4600
- { no: 2, name: "consumer_ids_map", kind: "message", T: () => bn },
4601
- { no: 3, name: "description", kind: "message", T: () => M }
4715
+ { no: 2, name: "consumer_ids_map", kind: "message", T: () => Wn },
4716
+ { no: 3, name: "description", kind: "message", T: () => q }
4602
4717
  ]);
4603
4718
  }
4604
4719
  }
4605
- new Ds();
4606
- class Us extends MessageType {
4720
+ new sr();
4721
+ class rr extends MessageType {
4607
4722
  constructor() {
4608
4723
  super("media.edge.ProducerCreateResponse", [
4609
4724
  {
@@ -4618,12 +4733,12 @@ class Us extends MessageType {
4618
4733
  kind: "scalar",
4619
4734
  T: 9
4620
4735
  },
4621
- { no: 4, name: "description", kind: "message", T: () => M }
4736
+ { no: 4, name: "description", kind: "message", T: () => q }
4622
4737
  ]);
4623
4738
  }
4624
4739
  }
4625
- const Bs = new Us();
4626
- class Gs extends MessageType {
4740
+ const or = new rr();
4741
+ class ar extends MessageType {
4627
4742
  constructor() {
4628
4743
  super("media.edge.ProducerScoreResponse", [
4629
4744
  {
@@ -4632,12 +4747,12 @@ class Gs extends MessageType {
4632
4747
  kind: "scalar",
4633
4748
  T: 9
4634
4749
  },
4635
- { no: 2, name: "score", kind: "message", T: () => jt }
4750
+ { no: 2, name: "score", kind: "message", T: () => is }
4636
4751
  ]);
4637
4752
  }
4638
4753
  }
4639
- new Gs();
4640
- class js extends MessageType {
4754
+ new ar();
4755
+ class ir extends MessageType {
4641
4756
  constructor() {
4642
4757
  super("media.edge.ActiveSpeakerResponse", [
4643
4758
  {
@@ -4655,48 +4770,48 @@ class js extends MessageType {
4655
4770
  ]);
4656
4771
  }
4657
4772
  }
4658
- new js();
4659
- class Ws extends MessageType {
4773
+ new ir();
4774
+ class cr extends MessageType {
4660
4775
  constructor() {
4661
4776
  super("media.edge.NoActiveSpeakerResponse", []);
4662
4777
  }
4663
4778
  }
4664
- new Ws();
4665
- class Fs extends MessageType {
4779
+ new cr();
4780
+ class dr extends MessageType {
4666
4781
  constructor() {
4667
4782
  super("media.edge.ProducerToggleResponse", []);
4668
4783
  }
4669
4784
  }
4670
- new Fs();
4671
- class Ks extends MessageType {
4785
+ new dr();
4786
+ class ur extends MessageType {
4672
4787
  constructor() {
4673
4788
  super("media.edge.ConsumerToggleResponse", []);
4674
4789
  }
4675
4790
  }
4676
- new Ks();
4677
- class Vs extends MessageType {
4791
+ new ur();
4792
+ class pr extends MessageType {
4678
4793
  constructor() {
4679
4794
  super("media.edge.ProducerClosingResponse", [
4680
- { no: 1, name: "description", kind: "message", T: () => M }
4795
+ { no: 1, name: "description", kind: "message", T: () => q }
4681
4796
  ]);
4682
4797
  }
4683
4798
  }
4684
- new Vs();
4685
- class Hs extends MessageType {
4799
+ new pr();
4800
+ class lr extends MessageType {
4686
4801
  constructor() {
4687
4802
  super("media.edge.ConsumerClosingResponse", [
4688
- { no: 1, name: "description", kind: "message", T: () => M }
4803
+ { no: 1, name: "description", kind: "message", T: () => q }
4689
4804
  ]);
4690
4805
  }
4691
4806
  }
4692
- new Hs();
4693
- class Js extends MessageType {
4807
+ new lr();
4808
+ class mr extends MessageType {
4694
4809
  constructor() {
4695
4810
  super("media.edge.GlobalPeerPinningResponse", []);
4696
4811
  }
4697
4812
  }
4698
- new Js();
4699
- class Zs extends MessageType {
4813
+ new mr();
4814
+ class Tr extends MessageType {
4700
4815
  constructor() {
4701
4816
  super("media.edge.KickPeerResponse", [
4702
4817
  {
@@ -4708,8 +4823,8 @@ class Zs extends MessageType {
4708
4823
  ]);
4709
4824
  }
4710
4825
  }
4711
- new Zs();
4712
- class zs extends MessageType {
4826
+ new Tr();
4827
+ class fr extends MessageType {
4713
4828
  constructor() {
4714
4829
  super("media.edge.KickAllPeersResponse", [
4715
4830
  {
@@ -4721,8 +4836,8 @@ class zs extends MessageType {
4721
4836
  ]);
4722
4837
  }
4723
4838
  }
4724
- new zs();
4725
- class Ys extends MessageType {
4839
+ new fr();
4840
+ class hr extends MessageType {
4726
4841
  constructor() {
4727
4842
  super("media.edge.HostMediaControlForPeerResponse", [
4728
4843
  {
@@ -4734,8 +4849,8 @@ class Ys extends MessageType {
4734
4849
  ]);
4735
4850
  }
4736
4851
  }
4737
- new Ys();
4738
- class Qs extends MessageType {
4852
+ new hr();
4853
+ class kr extends MessageType {
4739
4854
  constructor() {
4740
4855
  super("media.edge.HostMediaControlForAllPeerResponse", [
4741
4856
  {
@@ -4747,8 +4862,8 @@ class Qs extends MessageType {
4747
4862
  ]);
4748
4863
  }
4749
4864
  }
4750
- new Qs();
4751
- class Xs extends MessageType {
4865
+ new kr();
4866
+ class gr extends MessageType {
4752
4867
  constructor() {
4753
4868
  super("media.edge.PeerDisplayNameEditResponse", [
4754
4869
  {
@@ -4760,16 +4875,16 @@ class Xs extends MessageType {
4760
4875
  ]);
4761
4876
  }
4762
4877
  }
4763
- new Xs();
4764
- class er extends MessageType {
4878
+ new gr();
4879
+ class yr extends MessageType {
4765
4880
  constructor() {
4766
4881
  super("media.edge.PeerJoinBroadcastResponse", [
4767
- { no: 1, name: "participant", kind: "message", T: () => xn }
4882
+ { no: 1, name: "participant", kind: "message", T: () => Kn }
4768
4883
  ]);
4769
4884
  }
4770
4885
  }
4771
- new er();
4772
- class nr extends MessageType {
4886
+ new yr();
4887
+ class vr extends MessageType {
4773
4888
  constructor() {
4774
4889
  super("media.edge.TrackSubscriptionKind", [
4775
4890
  {
@@ -4787,8 +4902,8 @@ class nr extends MessageType {
4787
4902
  ]);
4788
4903
  }
4789
4904
  }
4790
- const an = new nr();
4791
- class tr extends MessageType {
4905
+ const gn = new vr();
4906
+ class Rr extends MessageType {
4792
4907
  constructor() {
4793
4908
  super("media.edge.TrackSubscription", [
4794
4909
  {
@@ -4797,13 +4912,13 @@ class tr extends MessageType {
4797
4912
  kind: "scalar",
4798
4913
  T: 9
4799
4914
  },
4800
- { no: 2, name: "webcam", kind: "message", T: () => an },
4801
- { no: 3, name: "screenshare", kind: "message", T: () => an }
4915
+ { no: 2, name: "webcam", kind: "message", T: () => gn },
4916
+ { no: 3, name: "screenshare", kind: "message", T: () => gn }
4802
4917
  ]);
4803
4918
  }
4804
4919
  }
4805
- const sr = new tr();
4806
- class rr extends MessageType {
4920
+ const _r = new Rr();
4921
+ class wr extends MessageType {
4807
4922
  constructor() {
4808
4923
  super("media.edge.PeerProducingTransportCreateBroadcastResponse", [
4809
4924
  {
@@ -4812,13 +4927,13 @@ class rr extends MessageType {
4812
4927
  kind: "scalar",
4813
4928
  T: 9
4814
4929
  },
4815
- { no: 2, name: "transport_details", kind: "message", T: () => Sn },
4816
- { no: 3, name: "track_subscriptions", kind: "message", repeat: 1, T: () => sr }
4930
+ { no: 2, name: "transport_details", kind: "message", T: () => jn },
4931
+ { no: 3, name: "track_subscriptions", kind: "message", repeat: 1, T: () => _r }
4817
4932
  ]);
4818
4933
  }
4819
4934
  }
4820
- new rr();
4821
- class or extends MessageType {
4935
+ new wr();
4936
+ class Pr extends MessageType {
4822
4937
  constructor() {
4823
4938
  super("media.edge.PeerProducerCreateBroadcastResponse", [
4824
4939
  {
@@ -4827,12 +4942,12 @@ class or extends MessageType {
4827
4942
  kind: "scalar",
4828
4943
  T: 9
4829
4944
  },
4830
- { no: 2, name: "producer_state", kind: "message", T: () => ee }
4945
+ { no: 2, name: "producer_state", kind: "message", T: () => ie }
4831
4946
  ]);
4832
4947
  }
4833
4948
  }
4834
- new or();
4835
- class ar extends MessageType {
4949
+ new Pr();
4950
+ class Cr extends MessageType {
4836
4951
  constructor() {
4837
4952
  super("media.edge.PeerProducerToggleBroadcastResponse", [
4838
4953
  {
@@ -4841,7 +4956,7 @@ class ar extends MessageType {
4841
4956
  kind: "scalar",
4842
4957
  T: 9
4843
4958
  },
4844
- { no: 2, name: "producer_state", kind: "message", T: () => ee },
4959
+ { no: 2, name: "producer_state", kind: "message", T: () => ie },
4845
4960
  {
4846
4961
  no: 3,
4847
4962
  name: "initiator_participant_id",
@@ -4852,8 +4967,8 @@ class ar extends MessageType {
4852
4967
  ]);
4853
4968
  }
4854
4969
  }
4855
- new ar();
4856
- class ir extends MessageType {
4970
+ new Cr();
4971
+ class Er extends MessageType {
4857
4972
  constructor() {
4858
4973
  super("media.edge.PeerProducerCloseBroadcastResponse", [
4859
4974
  {
@@ -4862,12 +4977,12 @@ class ir extends MessageType {
4862
4977
  kind: "scalar",
4863
4978
  T: 9
4864
4979
  },
4865
- { no: 2, name: "producer_state", kind: "message", T: () => ee }
4980
+ { no: 2, name: "producer_state", kind: "message", T: () => ie }
4866
4981
  ]);
4867
4982
  }
4868
4983
  }
4869
- new ir();
4870
- class cr extends MessageType {
4984
+ new Er();
4985
+ class Sr extends MessageType {
4871
4986
  constructor() {
4872
4987
  super("media.edge.PeerLeaveBroadcastResponse", [
4873
4988
  {
@@ -4879,8 +4994,8 @@ class cr extends MessageType {
4879
4994
  ]);
4880
4995
  }
4881
4996
  }
4882
- new cr();
4883
- class dr extends MessageType {
4997
+ new Sr();
4998
+ class br extends MessageType {
4884
4999
  constructor() {
4885
5000
  super("media.edge.GlobalPeerPinningBroadcastResponse", [
4886
5001
  {
@@ -4892,8 +5007,8 @@ class dr extends MessageType {
4892
5007
  ]);
4893
5008
  }
4894
5009
  }
4895
- new dr();
4896
- class ur extends MessageType {
5010
+ new br();
5011
+ class Lr extends MessageType {
4897
5012
  constructor() {
4898
5013
  super("media.edge.GlobalPeerUnPinningBroadcastResponse", [
4899
5014
  {
@@ -4905,8 +5020,8 @@ class ur extends MessageType {
4905
5020
  ]);
4906
5021
  }
4907
5022
  }
4908
- new ur();
4909
- class pr extends MessageType {
5023
+ new Lr();
5024
+ class xr extends MessageType {
4910
5025
  constructor() {
4911
5026
  super("media.edge.RecordingStartedBroadcastResponse", [
4912
5027
  {
@@ -4918,8 +5033,8 @@ class pr extends MessageType {
4918
5033
  ]);
4919
5034
  }
4920
5035
  }
4921
- new pr();
4922
- class lr extends MessageType {
5036
+ new xr();
5037
+ class Or extends MessageType {
4923
5038
  constructor() {
4924
5039
  super("media.edge.RecordingStoppedBroadcastResponse", [
4925
5040
  {
@@ -4931,8 +5046,8 @@ class lr extends MessageType {
4931
5046
  ]);
4932
5047
  }
4933
5048
  }
4934
- new lr();
4935
- class mr extends MessageType {
5049
+ new Or();
5050
+ class Mr extends MessageType {
4936
5051
  constructor() {
4937
5052
  super("media.edge.PeerDisplayNameEditBroadcastResponse", [
4938
5053
  {
@@ -4950,8 +5065,8 @@ class mr extends MessageType {
4950
5065
  ]);
4951
5066
  }
4952
5067
  }
4953
- new mr();
4954
- class Tr extends MessageType {
5068
+ new Mr();
5069
+ class qr extends MessageType {
4955
5070
  constructor() {
4956
5071
  super("media.edge.PeerPingRequestBroadcastResponse", [
4957
5072
  {
@@ -4963,8 +5078,8 @@ class Tr extends MessageType {
4963
5078
  ]);
4964
5079
  }
4965
5080
  }
4966
- new Tr();
4967
- class fr extends MessageType {
5081
+ new qr();
5082
+ class $r extends MessageType {
4968
5083
  constructor() {
4969
5084
  super("media.edge.MediaRoomTerminationBroadcastResponse", [
4970
5085
  {
@@ -4976,8 +5091,8 @@ class fr extends MessageType {
4976
5091
  ]);
4977
5092
  }
4978
5093
  }
4979
- new fr();
4980
- class hr extends MessageType {
5094
+ new $r();
5095
+ class Nr extends MessageType {
4981
5096
  constructor() {
4982
5097
  super("socket.ai.MeetingTranscript", [
4983
5098
  {
@@ -5001,8 +5116,8 @@ class hr extends MessageType {
5001
5116
  ]);
5002
5117
  }
5003
5118
  }
5004
- new hr();
5005
- class kr extends MessageType {
5119
+ new Nr();
5120
+ class Ar extends MessageType {
5006
5121
  constructor() {
5007
5122
  super("socket.api.BaseSocketHubMessage", [
5008
5123
  {
@@ -5058,8 +5173,8 @@ class kr extends MessageType {
5058
5173
  ]);
5059
5174
  }
5060
5175
  }
5061
- new kr();
5062
- class gr extends MessageType {
5176
+ new Ar();
5177
+ class Ir extends MessageType {
5063
5178
  constructor() {
5064
5179
  super("socket.api.ErrorMessage", [
5065
5180
  {
@@ -5078,28 +5193,28 @@ class gr extends MessageType {
5078
5193
  ]);
5079
5194
  }
5080
5195
  }
5081
- new gr();
5082
- var de;
5196
+ new Ir();
5197
+ var ke;
5083
5198
  (function(e) {
5084
5199
  e[e.BROWSER = 0] = "BROWSER", e[e.TRACK = 1] = "TRACK", e[e.COMPOSITE = 2] = "COMPOSITE";
5085
- })(de || (de = {}));
5086
- var X;
5200
+ })(ke || (ke = {}));
5201
+ var ae;
5087
5202
  (function(e) {
5088
5203
  e[e.UNSPECIFIED = 0] = "UNSPECIFIED", e[e.ON_STAGE = 1] = "ON_STAGE", e[e.APPROVED_STAGE = 2] = "APPROVED_STAGE", e[e.REQUESTED_STAGE = 3] = "REQUESTED_STAGE", e[e.OFF_STAGE = 4] = "OFF_STAGE";
5089
- })(X || (X = {}));
5090
- var Me;
5204
+ })(ae || (ae = {}));
5205
+ var We;
5091
5206
  (function(e) {
5092
5207
  e[e.NONE = 0] = "NONE", e[e.RECORDER = 1] = "RECORDER", e[e.LIVESTREAMER = 2] = "LIVESTREAMER";
5093
- })(Me || (Me = {}));
5094
- var qe;
5208
+ })(We || (We = {}));
5209
+ var Fe;
5095
5210
  (function(e) {
5096
5211
  e[e.PEERS = 0] = "PEERS", e[e.ROOMS = 1] = "ROOMS";
5097
- })(qe || (qe = {}));
5098
- var $e;
5212
+ })(Fe || (Fe = {}));
5213
+ var Ke;
5099
5214
  (function(e) {
5100
5215
  e[e.HIVE = 0] = "HIVE", e[e.CHAT = 1] = "CHAT", e[e.PING = 2] = "PING";
5101
- })($e || ($e = {}));
5102
- class yr extends MessageType {
5216
+ })(Ke || (Ke = {}));
5217
+ class Dr extends MessageType {
5103
5218
  constructor() {
5104
5219
  super("socket.room.PeerFlags", [
5105
5220
  {
@@ -5123,8 +5238,8 @@ class yr extends MessageType {
5123
5238
  ]);
5124
5239
  }
5125
5240
  }
5126
- const Rr = new yr();
5127
- class vr extends MessageType {
5241
+ const Ur = new Dr();
5242
+ class Br extends MessageType {
5128
5243
  constructor() {
5129
5244
  super("socket.room.Peer", [
5130
5245
  {
@@ -5145,7 +5260,7 @@ class vr extends MessageType {
5145
5260
  kind: "scalar",
5146
5261
  T: 9
5147
5262
  },
5148
- { no: 4, name: "stage_type", kind: "enum", opt: true, T: () => ["socket.room.StageType", X, "STAGE_TYPE_"] },
5263
+ { no: 4, name: "stage_type", kind: "enum", opt: true, T: () => ["socket.room.StageType", ae, "STAGE_TYPE_"] },
5149
5264
  {
5150
5265
  no: 5,
5151
5266
  name: "custom_participant_id",
@@ -5173,20 +5288,20 @@ class vr extends MessageType {
5173
5288
  kind: "scalar",
5174
5289
  T: 8
5175
5290
  },
5176
- { no: 9, name: "flags", kind: "message", T: () => Rr }
5291
+ { no: 9, name: "flags", kind: "message", T: () => Ur }
5177
5292
  ]);
5178
5293
  }
5179
5294
  }
5180
- const fe = new vr();
5181
- class _r extends MessageType {
5295
+ const we = new Br();
5296
+ class Gr extends MessageType {
5182
5297
  constructor() {
5183
5298
  super("socket.room.PeerInfoResponse", [
5184
- { no: 1, name: "peer", kind: "message", T: () => fe }
5299
+ { no: 1, name: "peer", kind: "message", T: () => we }
5185
5300
  ]);
5186
5301
  }
5187
5302
  }
5188
- const cn = new _r();
5189
- class Pr extends MessageType {
5303
+ const yn = new Gr();
5304
+ class jr extends MessageType {
5190
5305
  constructor() {
5191
5306
  super("socket.room.PeerStatusUpdate", [
5192
5307
  {
@@ -5201,12 +5316,12 @@ class Pr extends MessageType {
5201
5316
  kind: "scalar",
5202
5317
  T: 9
5203
5318
  },
5204
- { no: 3, name: "stage_type", kind: "enum", opt: true, T: () => ["socket.room.StageType", X, "STAGE_TYPE_"] }
5319
+ { no: 3, name: "stage_type", kind: "enum", opt: true, T: () => ["socket.room.StageType", ae, "STAGE_TYPE_"] }
5205
5320
  ]);
5206
5321
  }
5207
5322
  }
5208
- new Pr();
5209
- class wr extends MessageType {
5323
+ new jr();
5324
+ class Wr extends MessageType {
5210
5325
  constructor() {
5211
5326
  super("socket.room.RoomPeersInfoRequest", [
5212
5327
  {
@@ -5230,16 +5345,16 @@ class wr extends MessageType {
5230
5345
  ]);
5231
5346
  }
5232
5347
  }
5233
- new wr();
5234
- class Cr extends MessageType {
5348
+ new Wr();
5349
+ class Fr extends MessageType {
5235
5350
  constructor() {
5236
5351
  super("socket.room.RoomPeersInfoResponse", [
5237
- { no: 1, name: "peers", kind: "message", repeat: 1, T: () => fe }
5352
+ { no: 1, name: "peers", kind: "message", repeat: 1, T: () => we }
5238
5353
  ]);
5239
5354
  }
5240
5355
  }
5241
- const Er = new Cr();
5242
- class Sr extends MessageType {
5356
+ const Kr = new Fr();
5357
+ class Vr extends MessageType {
5243
5358
  constructor() {
5244
5359
  super("socket.room.RoomPeerCountResponse", [
5245
5360
  {
@@ -5252,8 +5367,8 @@ class Sr extends MessageType {
5252
5367
  ]);
5253
5368
  }
5254
5369
  }
5255
- new Sr();
5256
- class br extends MessageType {
5370
+ new Vr();
5371
+ class Hr extends MessageType {
5257
5372
  constructor() {
5258
5373
  super("socket.room.Room", [
5259
5374
  {
@@ -5275,7 +5390,7 @@ class br extends MessageType {
5275
5390
  T: 4,
5276
5391
  L: 2
5277
5392
  },
5278
- { no: 5, name: "active_recordings", kind: "message", repeat: 1, T: () => xr },
5393
+ { no: 5, name: "active_recordings", kind: "message", repeat: 1, T: () => Zr },
5279
5394
  {
5280
5395
  no: 6,
5281
5396
  name: "room_uuid",
@@ -5286,8 +5401,8 @@ class br extends MessageType {
5286
5401
  ]);
5287
5402
  }
5288
5403
  }
5289
- const On = new br();
5290
- class Lr extends MessageType {
5404
+ const Vn = new Hr();
5405
+ class Jr extends MessageType {
5291
5406
  constructor() {
5292
5407
  super("socket.room.ActiveRecording", [
5293
5408
  {
@@ -5296,7 +5411,7 @@ class Lr extends MessageType {
5296
5411
  kind: "scalar",
5297
5412
  T: 9
5298
5413
  },
5299
- { no: 2, name: "recording_type", kind: "enum", T: () => ["common.RecordingType", de] },
5414
+ { no: 2, name: "recording_type", kind: "enum", T: () => ["common.RecordingType", ke] },
5300
5415
  {
5301
5416
  no: 3,
5302
5417
  name: "recording_status",
@@ -5306,16 +5421,16 @@ class Lr extends MessageType {
5306
5421
  ]);
5307
5422
  }
5308
5423
  }
5309
- const xr = new Lr();
5310
- class Or extends MessageType {
5424
+ const Zr = new Jr();
5425
+ class zr extends MessageType {
5311
5426
  constructor() {
5312
5427
  super("socket.room.RoomInfoResponse", [
5313
- { no: 1, name: "room", kind: "message", T: () => On }
5428
+ { no: 1, name: "room", kind: "message", T: () => Vn }
5314
5429
  ]);
5315
5430
  }
5316
5431
  }
5317
- const Mr = new Or();
5318
- class qr extends MessageType {
5432
+ const Yr = new zr();
5433
+ class Qr extends MessageType {
5319
5434
  constructor() {
5320
5435
  super("socket.room.GetPeerInfoRequest", [
5321
5436
  {
@@ -5327,8 +5442,8 @@ class qr extends MessageType {
5327
5442
  ]);
5328
5443
  }
5329
5444
  }
5330
- new qr();
5331
- class $r extends MessageType {
5445
+ new Qr();
5446
+ class Xr extends MessageType {
5332
5447
  constructor() {
5333
5448
  super("socket.room.UpdatePeerInfoRequest", [
5334
5449
  {
@@ -5347,11 +5462,11 @@ class $r extends MessageType {
5347
5462
  ]);
5348
5463
  }
5349
5464
  }
5350
- new $r();
5351
- class Nr extends MessageType {
5465
+ new Xr();
5466
+ class eo extends MessageType {
5352
5467
  constructor() {
5353
5468
  super("socket.room.JoinRoomRequest", [
5354
- { no: 1, name: "peer", kind: "message", T: () => fe },
5469
+ { no: 1, name: "peer", kind: "message", T: () => we },
5355
5470
  {
5356
5471
  no: 3,
5357
5472
  name: "room_uuid",
@@ -5379,7 +5494,7 @@ class Nr extends MessageType {
5379
5494
  opt: true,
5380
5495
  T: 12
5381
5496
  },
5382
- { no: 7, name: "capabilities", kind: "enum", repeat: 1, T: () => ["socket.room.Capabilities", $e, "CAPABILITIES_"] },
5497
+ { no: 7, name: "capabilities", kind: "enum", repeat: 1, T: () => ["socket.room.Capabilities", Ke, "CAPABILITIES_"] },
5383
5498
  {
5384
5499
  no: 8,
5385
5500
  name: "timestamp",
@@ -5391,11 +5506,11 @@ class Nr extends MessageType {
5391
5506
  ]);
5392
5507
  }
5393
5508
  }
5394
- new Nr();
5395
- class Ar extends MessageType {
5509
+ new eo();
5510
+ class no extends MessageType {
5396
5511
  constructor() {
5397
5512
  super("socket.room.LeaveRoomRequest", [
5398
- { no: 1, name: "peer", kind: "message", T: () => fe },
5513
+ { no: 1, name: "peer", kind: "message", T: () => we },
5399
5514
  {
5400
5515
  no: 2,
5401
5516
  name: "timestamp",
@@ -5407,22 +5522,22 @@ class Ar extends MessageType {
5407
5522
  ]);
5408
5523
  }
5409
5524
  }
5410
- new Ar();
5411
- class Ir extends MessageType {
5525
+ new no();
5526
+ class to extends MessageType {
5412
5527
  constructor() {
5413
5528
  super("socket.room.UpdateRoomInfoRequest", [
5414
- { no: 1, name: "room", kind: "message", T: () => On }
5529
+ { no: 1, name: "room", kind: "message", T: () => Vn }
5415
5530
  ]);
5416
5531
  }
5417
5532
  }
5418
- new Ir();
5419
- class Dr extends MessageType {
5533
+ new to();
5534
+ class so extends MessageType {
5420
5535
  constructor() {
5421
5536
  super("socket.room.GetConnectedRoomsDumpRequest", []);
5422
5537
  }
5423
5538
  }
5424
- new Dr();
5425
- class Ur extends MessageType {
5539
+ new so();
5540
+ class ro extends MessageType {
5426
5541
  constructor() {
5427
5542
  super("socket.room.ServiceError", [
5428
5543
  {
@@ -5442,8 +5557,8 @@ class Ur extends MessageType {
5442
5557
  ]);
5443
5558
  }
5444
5559
  }
5445
- const Ie = new Ur();
5446
- class Br extends MessageType {
5560
+ const Je = new ro();
5561
+ class oo extends MessageType {
5447
5562
  constructor() {
5448
5563
  super("socket.room.ConnectedMeetingPeer", [
5449
5564
  {
@@ -5484,8 +5599,8 @@ class Br extends MessageType {
5484
5599
  ]);
5485
5600
  }
5486
5601
  }
5487
- const Gr = new Br();
5488
- class jr extends MessageType {
5602
+ const ao = new oo();
5603
+ class io extends MessageType {
5489
5604
  constructor() {
5490
5605
  super("socket.room.ConnectedMeetingDump", [
5491
5606
  {
@@ -5502,21 +5617,21 @@ class jr extends MessageType {
5502
5617
  opt: true,
5503
5618
  T: 9
5504
5619
  },
5505
- { no: 3, name: "participants", kind: "message", repeat: 1, T: () => Gr }
5620
+ { no: 3, name: "participants", kind: "message", repeat: 1, T: () => ao }
5506
5621
  ]);
5507
5622
  }
5508
5623
  }
5509
- const dn = new jr();
5510
- class Wr extends MessageType {
5624
+ const vn = new io();
5625
+ class co extends MessageType {
5511
5626
  constructor() {
5512
5627
  super("socket.room.GetConnectedRoomsDumpResponse", [
5513
- { no: 1, name: "parent_meeting", kind: "message", T: () => dn },
5514
- { no: 2, name: "meetings", kind: "message", repeat: 1, T: () => dn }
5628
+ { no: 1, name: "parent_meeting", kind: "message", T: () => vn },
5629
+ { no: 2, name: "meetings", kind: "message", repeat: 1, T: () => vn }
5515
5630
  ]);
5516
5631
  }
5517
5632
  }
5518
- const Fr = new Wr();
5519
- class Kr extends MessageType {
5633
+ const uo = new co();
5634
+ class po extends MessageType {
5520
5635
  constructor() {
5521
5636
  super("socket.room.CreateRoomRequestPayload", [
5522
5637
  {
@@ -5529,16 +5644,16 @@ class Kr extends MessageType {
5529
5644
  ]);
5530
5645
  }
5531
5646
  }
5532
- const Vr = new Kr();
5533
- class Hr extends MessageType {
5647
+ const lo = new po();
5648
+ class mo extends MessageType {
5534
5649
  constructor() {
5535
5650
  super("socket.room.CreateConnectedRoomsRequest", [
5536
- { no: 1, name: "payloads", kind: "message", repeat: 1, T: () => Vr }
5651
+ { no: 1, name: "payloads", kind: "message", repeat: 1, T: () => lo }
5537
5652
  ]);
5538
5653
  }
5539
5654
  }
5540
- new Hr();
5541
- class Jr extends MessageType {
5655
+ new mo();
5656
+ class To extends MessageType {
5542
5657
  constructor() {
5543
5658
  super("socket.room.CreateRoomResponsePayload", [
5544
5659
  {
@@ -5555,20 +5670,20 @@ class Jr extends MessageType {
5555
5670
  opt: true,
5556
5671
  T: 9
5557
5672
  },
5558
- { no: 3, name: "error", kind: "message", T: () => Ie }
5673
+ { no: 3, name: "error", kind: "message", T: () => Je }
5559
5674
  ]);
5560
5675
  }
5561
5676
  }
5562
- const Zr = new Jr();
5563
- class zr extends MessageType {
5677
+ const fo = new To();
5678
+ class ho extends MessageType {
5564
5679
  constructor() {
5565
5680
  super("socket.room.CreateConnectedRoomsResponse", [
5566
- { no: 1, name: "payloads", kind: "message", repeat: 1, T: () => Zr }
5681
+ { no: 1, name: "payloads", kind: "message", repeat: 1, T: () => fo }
5567
5682
  ]);
5568
5683
  }
5569
5684
  }
5570
- new zr();
5571
- class Yr extends MessageType {
5685
+ new ho();
5686
+ class ko extends MessageType {
5572
5687
  constructor() {
5573
5688
  super("socket.room.UpdateRoomRequestPayload", [
5574
5689
  {
@@ -5588,16 +5703,16 @@ class Yr extends MessageType {
5588
5703
  ]);
5589
5704
  }
5590
5705
  }
5591
- const Qr = new Yr();
5592
- class Xr extends MessageType {
5706
+ const go = new ko();
5707
+ class yo extends MessageType {
5593
5708
  constructor() {
5594
5709
  super("socket.room.UpdateConnectedRoomsRequest", [
5595
- { no: 1, name: "payloads", kind: "message", repeat: 1, T: () => Qr }
5710
+ { no: 1, name: "payloads", kind: "message", repeat: 1, T: () => go }
5596
5711
  ]);
5597
5712
  }
5598
5713
  }
5599
- new Xr();
5600
- class eo extends MessageType {
5714
+ new yo();
5715
+ class vo extends MessageType {
5601
5716
  constructor() {
5602
5717
  super("socket.room.DisableRoomPayload", [
5603
5718
  {
@@ -5610,24 +5725,24 @@ class eo extends MessageType {
5610
5725
  ]);
5611
5726
  }
5612
5727
  }
5613
- const no = new eo();
5614
- class to extends MessageType {
5728
+ const Ro = new vo();
5729
+ class _o extends MessageType {
5615
5730
  constructor() {
5616
5731
  super("socket.room.DisableConnectedRoomsRequest", [
5617
- { no: 1, name: "payloads", kind: "message", repeat: 1, T: () => no }
5732
+ { no: 1, name: "payloads", kind: "message", repeat: 1, T: () => Ro }
5618
5733
  ]);
5619
5734
  }
5620
5735
  }
5621
- new to();
5622
- class so extends MessageType {
5736
+ new _o();
5737
+ class wo extends MessageType {
5623
5738
  constructor() {
5624
5739
  super("socket.room.DisableConnectedRoomsResponse", [
5625
- { no: 1, name: "payloads", kind: "message", repeat: 1, T: () => oo }
5740
+ { no: 1, name: "payloads", kind: "message", repeat: 1, T: () => Co }
5626
5741
  ]);
5627
5742
  }
5628
5743
  }
5629
- new so();
5630
- class ro extends MessageType {
5744
+ new wo();
5745
+ class Po extends MessageType {
5631
5746
  constructor() {
5632
5747
  super("socket.room.DisableConnectedRoomPayload", [
5633
5748
  {
@@ -5651,12 +5766,12 @@ class ro extends MessageType {
5651
5766
  opt: true,
5652
5767
  T: 9
5653
5768
  },
5654
- { no: 4, name: "error", kind: "message", T: () => Ie }
5769
+ { no: 4, name: "error", kind: "message", T: () => Je }
5655
5770
  ]);
5656
5771
  }
5657
5772
  }
5658
- const oo = new ro();
5659
- class ao extends MessageType {
5773
+ const Co = new Po();
5774
+ class Eo extends MessageType {
5660
5775
  constructor() {
5661
5776
  super("socket.room.MovePeerPayload", [
5662
5777
  {
@@ -5676,8 +5791,8 @@ class ao extends MessageType {
5676
5791
  ]);
5677
5792
  }
5678
5793
  }
5679
- const io = new ao();
5680
- class co extends MessageType {
5794
+ const So = new Eo();
5795
+ class bo extends MessageType {
5681
5796
  constructor() {
5682
5797
  super("socket.room.MovePeersBetweenRoomsRequest", [
5683
5798
  {
@@ -5694,12 +5809,12 @@ class co extends MessageType {
5694
5809
  opt: true,
5695
5810
  T: 9
5696
5811
  },
5697
- { no: 3, name: "participants", kind: "message", repeat: 1, T: () => io }
5812
+ { no: 3, name: "participants", kind: "message", repeat: 1, T: () => So }
5698
5813
  ]);
5699
5814
  }
5700
5815
  }
5701
- new co();
5702
- class uo extends MessageType {
5816
+ new bo();
5817
+ class Lo extends MessageType {
5703
5818
  constructor() {
5704
5819
  super("socket.room.MovedPeer", [
5705
5820
  {
@@ -5716,20 +5831,20 @@ class uo extends MessageType {
5716
5831
  opt: true,
5717
5832
  T: 9
5718
5833
  },
5719
- { no: 3, name: "error", kind: "message", T: () => Ie }
5834
+ { no: 3, name: "error", kind: "message", T: () => Je }
5720
5835
  ]);
5721
5836
  }
5722
5837
  }
5723
- const po = new uo();
5724
- class lo extends MessageType {
5838
+ const xo = new Lo();
5839
+ class Oo extends MessageType {
5725
5840
  constructor() {
5726
5841
  super("socket.room.MovePeersBetweenRoomsResponse", [
5727
- { no: 1, name: "payloads", kind: "message", repeat: 1, T: () => po }
5842
+ { no: 1, name: "payloads", kind: "message", repeat: 1, T: () => xo }
5728
5843
  ]);
5729
5844
  }
5730
5845
  }
5731
- new lo();
5732
- class mo extends MessageType {
5846
+ new Oo();
5847
+ class Mo extends MessageType {
5733
5848
  constructor() {
5734
5849
  super("socket.room.TransferPeer", [
5735
5850
  {
@@ -5749,16 +5864,16 @@ class mo extends MessageType {
5749
5864
  ]);
5750
5865
  }
5751
5866
  }
5752
- new mo();
5753
- class To extends MessageType {
5867
+ new Mo();
5868
+ class qo extends MessageType {
5754
5869
  constructor() {
5755
5870
  super("socket.room.GetAllAddedParticipantsResponse", [
5756
- { no: 1, name: "participants", kind: "message", repeat: 1, T: () => ho }
5871
+ { no: 1, name: "participants", kind: "message", repeat: 1, T: () => No }
5757
5872
  ]);
5758
5873
  }
5759
5874
  }
5760
- new To();
5761
- class fo extends MessageType {
5875
+ new qo();
5876
+ class $o extends MessageType {
5762
5877
  constructor() {
5763
5878
  super("socket.room.AddedParticipant", [
5764
5879
  {
@@ -5790,8 +5905,8 @@ class fo extends MessageType {
5790
5905
  ]);
5791
5906
  }
5792
5907
  }
5793
- const ho = new fo();
5794
- class ko extends MessageType {
5908
+ const No = new $o();
5909
+ class Ao extends MessageType {
5795
5910
  constructor() {
5796
5911
  super("socket.room.RemoveParticipantsRequest", [
5797
5912
  {
@@ -5804,8 +5919,8 @@ class ko extends MessageType {
5804
5919
  ]);
5805
5920
  }
5806
5921
  }
5807
- new ko();
5808
- class go extends MessageType {
5922
+ new Ao();
5923
+ class Io extends MessageType {
5809
5924
  constructor() {
5810
5925
  super("socket.room.BroadcastMessage", [
5811
5926
  {
@@ -5834,12 +5949,12 @@ class go extends MessageType {
5834
5949
  repeat: 2,
5835
5950
  T: 9
5836
5951
  },
5837
- { no: 5, name: "broadcast_type", kind: "enum", opt: true, T: () => ["socket.room.BroadcastType", qe, "BROADCAST_TYPE_"] }
5952
+ { no: 5, name: "broadcast_type", kind: "enum", opt: true, T: () => ["socket.room.BroadcastType", Fe, "BROADCAST_TYPE_"] }
5838
5953
  ]);
5839
5954
  }
5840
5955
  }
5841
- new go();
5842
- class yo extends MessageType {
5956
+ new Io();
5957
+ class Do extends MessageType {
5843
5958
  constructor() {
5844
5959
  super("socket.room.AcceptWaitingRoomRequests", [
5845
5960
  {
@@ -5852,8 +5967,8 @@ class yo extends MessageType {
5852
5967
  ]);
5853
5968
  }
5854
5969
  }
5855
- new yo();
5856
- class Ro extends MessageType {
5970
+ new Do();
5971
+ class Uo extends MessageType {
5857
5972
  constructor() {
5858
5973
  super("socket.room.DenyWaitingRoomRequests", [
5859
5974
  {
@@ -5866,8 +5981,8 @@ class Ro extends MessageType {
5866
5981
  ]);
5867
5982
  }
5868
5983
  }
5869
- new Ro();
5870
- class vo extends MessageType {
5984
+ new Uo();
5985
+ class Bo extends MessageType {
5871
5986
  constructor() {
5872
5987
  super("socket.room.WaitingRoomRequest", [
5873
5988
  {
@@ -5912,16 +6027,16 @@ class vo extends MessageType {
5912
6027
  ]);
5913
6028
  }
5914
6029
  }
5915
- const _o = new vo();
5916
- class Po extends MessageType {
6030
+ const Go = new Bo();
6031
+ class jo extends MessageType {
5917
6032
  constructor() {
5918
6033
  super("socket.room.GetWaitingRoomRequests", [
5919
- { no: 1, name: "requests", kind: "message", repeat: 1, T: () => _o }
6034
+ { no: 1, name: "requests", kind: "message", repeat: 1, T: () => Go }
5920
6035
  ]);
5921
6036
  }
5922
6037
  }
5923
- new Po();
5924
- class wo extends MessageType {
6038
+ new jo();
6039
+ class Wo extends MessageType {
5925
6040
  constructor() {
5926
6041
  super("socket.room.GetRoomStageStateResponse", [
5927
6042
  {
@@ -5948,16 +6063,16 @@ class wo extends MessageType {
5948
6063
  ]);
5949
6064
  }
5950
6065
  }
5951
- new wo();
5952
- var Ne;
6066
+ new Wo();
6067
+ var Ve;
5953
6068
  (function(e) {
5954
6069
  e[e.NONE = 0] = "NONE", e[e.SKIP = 1] = "SKIP", e[e.ON_PRIVILEGED_USER_ENTRY = 2] = "ON_PRIVILEGED_USER_ENTRY", e[e.SKIP_ON_ACCEPT = 3] = "SKIP_ON_ACCEPT";
5955
- })(Ne || (Ne = {}));
5956
- var ue;
6070
+ })(Ve || (Ve = {}));
6071
+ var ge;
5957
6072
  (function(e) {
5958
6073
  e[e.NONE = 0] = "NONE", e[e.ALLOWED = 1] = "ALLOWED", e[e.NOT_ALLOWED = 2] = "NOT_ALLOWED", e[e.CAN_REQUEST = 3] = "CAN_REQUEST";
5959
- })(ue || (ue = {}));
5960
- class Co extends MessageType {
6074
+ })(ge || (ge = {}));
6075
+ class Fo extends MessageType {
5961
6076
  constructor() {
5962
6077
  super("socket.preset.PollsPermissionUpdate", [
5963
6078
  {
@@ -5984,8 +6099,8 @@ class Co extends MessageType {
5984
6099
  ]);
5985
6100
  }
5986
6101
  }
5987
- const Eo = new Co();
5988
- class So extends MessageType {
6102
+ const Ko = new Fo();
6103
+ class Vo extends MessageType {
5989
6104
  constructor() {
5990
6105
  super("socket.preset.PluginsPermissionsUpdate", [
5991
6106
  {
@@ -6005,8 +6120,8 @@ class So extends MessageType {
6005
6120
  ]);
6006
6121
  }
6007
6122
  }
6008
- const bo = new So();
6009
- class Lo extends MessageType {
6123
+ const Ho = new Vo();
6124
+ class Jo extends MessageType {
6010
6125
  constructor() {
6011
6126
  super("socket.preset.PublicChatPermission", [
6012
6127
  {
@@ -6033,8 +6148,8 @@ class Lo extends MessageType {
6033
6148
  ]);
6034
6149
  }
6035
6150
  }
6036
- const xo = new Lo();
6037
- class Oo extends MessageType {
6151
+ const Zo = new Jo();
6152
+ class zo extends MessageType {
6038
6153
  constructor() {
6039
6154
  super("socket.preset.PrivateChatPermission", [
6040
6155
  {
@@ -6068,17 +6183,17 @@ class Oo extends MessageType {
6068
6183
  ]);
6069
6184
  }
6070
6185
  }
6071
- const Mo = new Oo();
6072
- class qo extends MessageType {
6186
+ const Yo = new zo();
6187
+ class Qo extends MessageType {
6073
6188
  constructor() {
6074
6189
  super("socket.preset.ChatPermissionUpdate", [
6075
- { no: 1, name: "public", kind: "message", T: () => xo },
6076
- { no: 2, name: "private", kind: "message", T: () => Mo }
6190
+ { no: 1, name: "public", kind: "message", T: () => Zo },
6191
+ { no: 2, name: "private", kind: "message", T: () => Yo }
6077
6192
  ]);
6078
6193
  }
6079
6194
  }
6080
- const $o = new qo();
6081
- class No extends MessageType {
6195
+ const Xo = new Qo();
6196
+ class ea extends MessageType {
6082
6197
  constructor() {
6083
6198
  super("socket.preset.ConnectedMeetingPermissionUpdate", [
6084
6199
  {
@@ -6105,32 +6220,32 @@ class No extends MessageType {
6105
6220
  ]);
6106
6221
  }
6107
6222
  }
6108
- const Ao = new No();
6109
- class Io extends MessageType {
6223
+ const na = new ea();
6224
+ class ta extends MessageType {
6110
6225
  constructor() {
6111
6226
  super("socket.preset.StreamPermission", [
6112
- { no: 1, name: "can_produce", kind: "enum", opt: true, T: () => ["socket.preset.StreamPermissionType", ue, "STREAM_PERMISSION_TYPE_"] },
6113
- { no: 2, name: "can_consume", kind: "enum", opt: true, T: () => ["socket.preset.StreamPermissionType", ue, "STREAM_PERMISSION_TYPE_"] }
6227
+ { no: 1, name: "can_produce", kind: "enum", opt: true, T: () => ["socket.preset.StreamPermissionType", ge, "STREAM_PERMISSION_TYPE_"] },
6228
+ { no: 2, name: "can_consume", kind: "enum", opt: true, T: () => ["socket.preset.StreamPermissionType", ge, "STREAM_PERMISSION_TYPE_"] }
6114
6229
  ]);
6115
6230
  }
6116
6231
  }
6117
- const be = new Io();
6118
- class Do extends MessageType {
6232
+ const Ie = new ta();
6233
+ class sa extends MessageType {
6119
6234
  constructor() {
6120
6235
  super("socket.preset.MediaPermissionUpdate", [
6121
- { no: 1, name: "video", kind: "message", T: () => be },
6122
- { no: 2, name: "audio", kind: "message", T: () => be },
6123
- { no: 3, name: "screenshare", kind: "message", T: () => be }
6236
+ { no: 1, name: "video", kind: "message", T: () => Ie },
6237
+ { no: 2, name: "audio", kind: "message", T: () => Ie },
6238
+ { no: 3, name: "screenshare", kind: "message", T: () => Ie }
6124
6239
  ]);
6125
6240
  }
6126
6241
  }
6127
- const Uo = new Do();
6128
- class Bo extends MessageType {
6242
+ const ra = new sa();
6243
+ class oa extends MessageType {
6129
6244
  constructor() {
6130
6245
  super("socket.preset.PresetUpdates", [
6131
- { no: 1, name: "polls", kind: "message", T: () => Eo },
6132
- { no: 2, name: "plugins", kind: "message", T: () => bo },
6133
- { no: 3, name: "chat", kind: "message", T: () => $o },
6246
+ { no: 1, name: "polls", kind: "message", T: () => Ko },
6247
+ { no: 2, name: "plugins", kind: "message", T: () => Ho },
6248
+ { no: 3, name: "chat", kind: "message", T: () => Xo },
6134
6249
  {
6135
6250
  no: 4,
6136
6251
  name: "accept_waiting_requests",
@@ -6215,7 +6330,7 @@ class Bo extends MessageType {
6215
6330
  opt: true,
6216
6331
  T: 8
6217
6332
  },
6218
- { no: 16, name: "waiting_room_type", kind: "enum", opt: true, T: () => ["socket.preset.WaitingRoomType", Ne, "WAITING_ROOM_TYPE_"] },
6333
+ { no: 16, name: "waiting_room_type", kind: "enum", opt: true, T: () => ["socket.preset.WaitingRoomType", Ve, "WAITING_ROOM_TYPE_"] },
6219
6334
  {
6220
6335
  no: 17,
6221
6336
  name: "is_recorder",
@@ -6223,7 +6338,7 @@ class Bo extends MessageType {
6223
6338
  opt: true,
6224
6339
  T: 8
6225
6340
  },
6226
- { no: 18, name: "recorder_type", kind: "enum", opt: true, T: () => ["socket.room.RecorderType", Me, "RECORDER_TYPE_"] },
6341
+ { no: 18, name: "recorder_type", kind: "enum", opt: true, T: () => ["socket.room.RecorderType", We, "RECORDER_TYPE_"] },
6227
6342
  {
6228
6343
  no: 19,
6229
6344
  name: "hidden_participant",
@@ -6245,13 +6360,13 @@ class Bo extends MessageType {
6245
6360
  opt: true,
6246
6361
  T: 8
6247
6362
  },
6248
- { no: 22, name: "connected_meetings", kind: "message", T: () => Ao },
6249
- { no: 23, name: "media", kind: "message", T: () => Uo }
6363
+ { no: 22, name: "connected_meetings", kind: "message", T: () => na },
6364
+ { no: 23, name: "media", kind: "message", T: () => ra }
6250
6365
  ]);
6251
6366
  }
6252
6367
  }
6253
- const De = new Bo();
6254
- class Go extends MessageType {
6368
+ const Ze = new oa();
6369
+ class aa extends MessageType {
6255
6370
  constructor() {
6256
6371
  super("socket.preset.ReadPeersPresetRequest", [
6257
6372
  {
@@ -6264,8 +6379,8 @@ class Go extends MessageType {
6264
6379
  ]);
6265
6380
  }
6266
6381
  }
6267
- new Go();
6268
- class jo extends MessageType {
6382
+ new aa();
6383
+ class ia extends MessageType {
6269
6384
  constructor() {
6270
6385
  super("socket.preset.PeerPreset", [
6271
6386
  {
@@ -6289,16 +6404,16 @@ class jo extends MessageType {
6289
6404
  ]);
6290
6405
  }
6291
6406
  }
6292
- const Wo = new jo();
6293
- class Fo extends MessageType {
6407
+ const ca = new ia();
6408
+ class da extends MessageType {
6294
6409
  constructor() {
6295
6410
  super("socket.preset.ReadPeersPresetResponse", [
6296
- { no: 1, name: "peer_presets", kind: "message", repeat: 1, T: () => Wo }
6411
+ { no: 1, name: "peer_presets", kind: "message", repeat: 1, T: () => ca }
6297
6412
  ]);
6298
6413
  }
6299
6414
  }
6300
- new Fo();
6301
- class Ko extends MessageType {
6415
+ new da();
6416
+ class ua extends MessageType {
6302
6417
  constructor() {
6303
6418
  super("socket.preset.UpdatePeerPreset", [
6304
6419
  {
@@ -6307,28 +6422,28 @@ class Ko extends MessageType {
6307
6422
  kind: "scalar",
6308
6423
  T: 9
6309
6424
  },
6310
- { no: 2, name: "patch", kind: "message", T: () => De }
6425
+ { no: 2, name: "patch", kind: "message", T: () => Ze }
6311
6426
  ]);
6312
6427
  }
6313
6428
  }
6314
- const Mn = new Ko();
6315
- class Vo extends MessageType {
6429
+ const Hn = new ua();
6430
+ class pa extends MessageType {
6316
6431
  constructor() {
6317
6432
  super("socket.preset.UpdatePeersPresetRequest", [
6318
- { no: 1, name: "update_peers_presets", kind: "message", repeat: 1, T: () => Mn }
6433
+ { no: 1, name: "update_peers_presets", kind: "message", repeat: 1, T: () => Hn }
6319
6434
  ]);
6320
6435
  }
6321
6436
  }
6322
- new Vo();
6323
- class Ho extends MessageType {
6437
+ new pa();
6438
+ class la extends MessageType {
6324
6439
  constructor() {
6325
6440
  super("socket.preset.UpdatePeersPresetResponse", [
6326
- { no: 1, name: "update_peers_presets", kind: "message", repeat: 1, T: () => Mn }
6441
+ { no: 1, name: "update_peers_presets", kind: "message", repeat: 1, T: () => Hn }
6327
6442
  ]);
6328
6443
  }
6329
6444
  }
6330
- new Ho();
6331
- class Jo extends MessageType {
6445
+ new la();
6446
+ class ma extends MessageType {
6332
6447
  constructor() {
6333
6448
  super("socket.preset.PeerUserIDMap", [
6334
6449
  {
@@ -6346,25 +6461,25 @@ class Jo extends MessageType {
6346
6461
  ]);
6347
6462
  }
6348
6463
  }
6349
- const Zo = new Jo();
6350
- class zo extends MessageType {
6464
+ const Ta = new ma();
6465
+ class fa extends MessageType {
6351
6466
  constructor() {
6352
6467
  super("socket.preset.BulkUpdatePeerPresetRequest", [
6353
- { no: 1, name: "peers", kind: "message", repeat: 1, T: () => Zo },
6354
- { no: 2, name: "patch", kind: "message", T: () => De }
6468
+ { no: 1, name: "peers", kind: "message", repeat: 1, T: () => Ta },
6469
+ { no: 2, name: "patch", kind: "message", T: () => Ze }
6355
6470
  ]);
6356
6471
  }
6357
6472
  }
6358
- new zo();
6359
- class Yo extends MessageType {
6473
+ new fa();
6474
+ class ha extends MessageType {
6360
6475
  constructor() {
6361
6476
  super("socket.preset.BulkUpdatePeerPresetResponse", [
6362
- { no: 2, name: "patch", kind: "message", T: () => De }
6477
+ { no: 2, name: "patch", kind: "message", T: () => Ze }
6363
6478
  ]);
6364
6479
  }
6365
6480
  }
6366
- new Yo();
6367
- class Qo extends MessageType {
6481
+ new ha();
6482
+ class ka extends MessageType {
6368
6483
  constructor() {
6369
6484
  super("socket.chat.ChatMessage", [
6370
6485
  {
@@ -6454,8 +6569,8 @@ class Qo extends MessageType {
6454
6569
  ]);
6455
6570
  }
6456
6571
  }
6457
- const D = new Qo();
6458
- class Xo extends MessageType {
6572
+ const F = new ka();
6573
+ class ga extends MessageType {
6459
6574
  constructor() {
6460
6575
  super("socket.chat.GetPaginatedChatMessageRoomRequest", [
6461
6576
  {
@@ -6493,11 +6608,11 @@ class Xo extends MessageType {
6493
6608
  ]);
6494
6609
  }
6495
6610
  }
6496
- new Xo();
6497
- class ea extends MessageType {
6611
+ new ga();
6612
+ class ya extends MessageType {
6498
6613
  constructor() {
6499
6614
  super("socket.chat.GetPaginatedChatMessageRoomResponse", [
6500
- { no: 1, name: "messages", kind: "message", repeat: 1, T: () => D },
6615
+ { no: 1, name: "messages", kind: "message", repeat: 1, T: () => F },
6501
6616
  {
6502
6617
  no: 2,
6503
6618
  name: "next",
@@ -6507,16 +6622,16 @@ class ea extends MessageType {
6507
6622
  ]);
6508
6623
  }
6509
6624
  }
6510
- new ea();
6511
- class na extends MessageType {
6625
+ new ya();
6626
+ class va extends MessageType {
6512
6627
  constructor() {
6513
6628
  super("socket.chat.GetChatMessagesResponse", [
6514
- { no: 1, name: "messages", kind: "message", repeat: 1, T: () => D }
6629
+ { no: 1, name: "messages", kind: "message", repeat: 1, T: () => F }
6515
6630
  ]);
6516
6631
  }
6517
6632
  }
6518
- new na();
6519
- class ta extends MessageType {
6633
+ new va();
6634
+ class Ra extends MessageType {
6520
6635
  constructor() {
6521
6636
  super("socket.chat.SendChatMessageToRoomRequest", [
6522
6637
  {
@@ -6534,16 +6649,16 @@ class ta extends MessageType {
6534
6649
  ]);
6535
6650
  }
6536
6651
  }
6537
- new ta();
6538
- class sa extends MessageType {
6652
+ new Ra();
6653
+ class _a extends MessageType {
6539
6654
  constructor() {
6540
6655
  super("socket.chat.SendChatMessageToRoomResponse", [
6541
- { no: 1, name: "message", kind: "message", T: () => D }
6656
+ { no: 1, name: "message", kind: "message", T: () => F }
6542
6657
  ]);
6543
6658
  }
6544
6659
  }
6545
- new sa();
6546
- class ra extends MessageType {
6660
+ new _a();
6661
+ class wa extends MessageType {
6547
6662
  constructor() {
6548
6663
  super("socket.chat.SendChatMessageToPeersRequest", [
6549
6664
  {
@@ -6568,16 +6683,16 @@ class ra extends MessageType {
6568
6683
  ]);
6569
6684
  }
6570
6685
  }
6571
- new ra();
6572
- class oa extends MessageType {
6686
+ new wa();
6687
+ class Pa extends MessageType {
6573
6688
  constructor() {
6574
6689
  super("socket.chat.SendChatMessageToPeersResponse", [
6575
- { no: 1, name: "message", kind: "message", T: () => D }
6690
+ { no: 1, name: "message", kind: "message", T: () => F }
6576
6691
  ]);
6577
6692
  }
6578
6693
  }
6579
- new oa();
6580
- class aa extends MessageType {
6694
+ new Pa();
6695
+ class Ca extends MessageType {
6581
6696
  constructor() {
6582
6697
  super("socket.chat.SendChatMessageToChannelRequest", [
6583
6698
  {
@@ -6601,16 +6716,16 @@ class aa extends MessageType {
6601
6716
  ]);
6602
6717
  }
6603
6718
  }
6604
- new aa();
6605
- class ia extends MessageType {
6719
+ new Ca();
6720
+ class Ea extends MessageType {
6606
6721
  constructor() {
6607
6722
  super("socket.chat.SendChatMessageToChannelResponse", [
6608
- { no: 1, name: "message", kind: "message", T: () => D }
6723
+ { no: 1, name: "message", kind: "message", T: () => F }
6609
6724
  ]);
6610
6725
  }
6611
6726
  }
6612
- new ia();
6613
- class ca extends MessageType {
6727
+ new Ea();
6728
+ class Sa extends MessageType {
6614
6729
  constructor() {
6615
6730
  super("socket.chat.EditChatMessageRequest", [
6616
6731
  {
@@ -6650,8 +6765,8 @@ class ca extends MessageType {
6650
6765
  ]);
6651
6766
  }
6652
6767
  }
6653
- new ca();
6654
- class da extends MessageType {
6768
+ new Sa();
6769
+ class ba extends MessageType {
6655
6770
  constructor() {
6656
6771
  super("socket.chat.PinChatMessageRequest", [
6657
6772
  {
@@ -6676,8 +6791,8 @@ class da extends MessageType {
6676
6791
  ]);
6677
6792
  }
6678
6793
  }
6679
- new da();
6680
- class ua extends MessageType {
6794
+ new ba();
6795
+ class La extends MessageType {
6681
6796
  constructor() {
6682
6797
  super("socket.chat.PinChatMessageResponse", [
6683
6798
  {
@@ -6702,16 +6817,16 @@ class ua extends MessageType {
6702
6817
  ]);
6703
6818
  }
6704
6819
  }
6705
- new ua();
6706
- class pa extends MessageType {
6820
+ new La();
6821
+ class xa extends MessageType {
6707
6822
  constructor() {
6708
6823
  super("socket.chat.EditChatMessageResponse", [
6709
- { no: 1, name: "message", kind: "message", T: () => D }
6824
+ { no: 1, name: "message", kind: "message", T: () => F }
6710
6825
  ]);
6711
6826
  }
6712
6827
  }
6713
- new pa();
6714
- class la extends MessageType {
6828
+ new xa();
6829
+ class Oa extends MessageType {
6715
6830
  constructor() {
6716
6831
  super("socket.chat.DeleteChatMessageRequest", [
6717
6832
  {
@@ -6730,8 +6845,8 @@ class la extends MessageType {
6730
6845
  ]);
6731
6846
  }
6732
6847
  }
6733
- new la();
6734
- class ma extends MessageType {
6848
+ new Oa();
6849
+ class Ma extends MessageType {
6735
6850
  constructor() {
6736
6851
  super("socket.chat.DeleteChatMessageResponse", [
6737
6852
  {
@@ -6750,8 +6865,8 @@ class ma extends MessageType {
6750
6865
  ]);
6751
6866
  }
6752
6867
  }
6753
- new ma();
6754
- class Ta extends MessageType {
6868
+ new Ma();
6869
+ class qa extends MessageType {
6755
6870
  constructor() {
6756
6871
  super("socket.chat.SearchChatMessagesRequest", [
6757
6872
  {
@@ -6795,8 +6910,8 @@ class Ta extends MessageType {
6795
6910
  ]);
6796
6911
  }
6797
6912
  }
6798
- new Ta();
6799
- class fa extends MessageType {
6913
+ new qa();
6914
+ class $a extends MessageType {
6800
6915
  constructor() {
6801
6916
  super("socket.chat.MarkChannelIndexAsReadRequest", [
6802
6917
  {
@@ -6820,8 +6935,8 @@ class fa extends MessageType {
6820
6935
  ]);
6821
6936
  }
6822
6937
  }
6823
- new fa();
6824
- class ha extends MessageType {
6938
+ new $a();
6939
+ class Na extends MessageType {
6825
6940
  constructor() {
6826
6941
  super("socket.chat.MarkChannelIndexAsReadResponse", [
6827
6942
  {
@@ -6833,8 +6948,8 @@ class ha extends MessageType {
6833
6948
  ]);
6834
6949
  }
6835
6950
  }
6836
- new ha();
6837
- class ka extends MessageType {
6951
+ new Na();
6952
+ class Aa extends MessageType {
6838
6953
  constructor() {
6839
6954
  super("socket.chat.CreateChatChannelRequest", [
6840
6955
  {
@@ -6872,8 +6987,8 @@ class ka extends MessageType {
6872
6987
  ]);
6873
6988
  }
6874
6989
  }
6875
- new ka();
6876
- class ga extends MessageType {
6990
+ new Aa();
6991
+ class Ia extends MessageType {
6877
6992
  constructor() {
6878
6993
  super("socket.chat.UpdateChatChannelRequest", [
6879
6994
  {
@@ -6920,8 +7035,8 @@ class ga extends MessageType {
6920
7035
  ]);
6921
7036
  }
6922
7037
  }
6923
- new ga();
6924
- class ya extends MessageType {
7038
+ new Ia();
7039
+ class Da extends MessageType {
6925
7040
  constructor() {
6926
7041
  super("socket.chat.CreateChatChannelResponse", [
6927
7042
  {
@@ -6933,8 +7048,8 @@ class ya extends MessageType {
6933
7048
  ]);
6934
7049
  }
6935
7050
  }
6936
- new ya();
6937
- class Ra extends MessageType {
7051
+ new Da();
7052
+ class Ua extends MessageType {
6938
7053
  constructor() {
6939
7054
  super("socket.chat.GetChatChannelRequest", [
6940
7055
  {
@@ -6946,11 +7061,11 @@ class Ra extends MessageType {
6946
7061
  ]);
6947
7062
  }
6948
7063
  }
6949
- new Ra();
6950
- class va extends MessageType {
7064
+ new Ua();
7065
+ class Ba extends MessageType {
6951
7066
  constructor() {
6952
7067
  super("socket.chat.LatestMessageAndUnreadCount", [
6953
- { no: 1, name: "message", kind: "message", T: () => D },
7068
+ { no: 1, name: "message", kind: "message", T: () => F },
6954
7069
  {
6955
7070
  no: 2,
6956
7071
  name: "unread_count",
@@ -6961,8 +7076,8 @@ class va extends MessageType {
6961
7076
  ]);
6962
7077
  }
6963
7078
  }
6964
- const _a = new va();
6965
- class Pa extends MessageType {
7079
+ const Ga = new Ba();
7080
+ class ja extends MessageType {
6966
7081
  constructor() {
6967
7082
  super("socket.chat.ChatChannel", [
6968
7083
  {
@@ -6996,7 +7111,7 @@ class Pa extends MessageType {
6996
7111
  kind: "scalar",
6997
7112
  T: 8
6998
7113
  },
6999
- { no: 6, name: "latest_message_and_unread_count", kind: "message", T: () => _a },
7114
+ { no: 6, name: "latest_message_and_unread_count", kind: "message", T: () => Ga },
7000
7115
  {
7001
7116
  no: 7,
7002
7117
  name: "target_user_ids",
@@ -7007,16 +7122,16 @@ class Pa extends MessageType {
7007
7122
  ]);
7008
7123
  }
7009
7124
  }
7010
- const wa = new Pa();
7011
- class Ca extends MessageType {
7125
+ const Wa = new ja();
7126
+ class Fa extends MessageType {
7012
7127
  constructor() {
7013
7128
  super("socket.chat.GetChatChannelResponse", [
7014
- { no: 1, name: "chat_channels", kind: "message", repeat: 1, T: () => wa }
7129
+ { no: 1, name: "chat_channels", kind: "message", repeat: 1, T: () => Wa }
7015
7130
  ]);
7016
7131
  }
7017
7132
  }
7018
- new Ca();
7019
- class Ea extends MessageType {
7133
+ new Fa();
7134
+ class Ka extends MessageType {
7020
7135
  constructor() {
7021
7136
  super("socket.chat.ChannelMember", [
7022
7137
  {
@@ -7048,16 +7163,16 @@ class Ea extends MessageType {
7048
7163
  ]);
7049
7164
  }
7050
7165
  }
7051
- const Sa = new Ea();
7052
- class ba extends MessageType {
7166
+ const Va = new Ka();
7167
+ class Ha extends MessageType {
7053
7168
  constructor() {
7054
7169
  super("socket.chat.GetChatChannelMembersResponse", [
7055
- { no: 1, name: "channel_members", kind: "message", repeat: 1, T: () => Sa }
7170
+ { no: 1, name: "channel_members", kind: "message", repeat: 1, T: () => Va }
7056
7171
  ]);
7057
7172
  }
7058
7173
  }
7059
- new ba();
7060
- class La extends MessageType {
7174
+ new Ha();
7175
+ class Ja extends MessageType {
7061
7176
  constructor() {
7062
7177
  super("socket.plugin.AddPluginRequest", [
7063
7178
  {
@@ -7075,8 +7190,8 @@ class La extends MessageType {
7075
7190
  ]);
7076
7191
  }
7077
7192
  }
7078
- new La();
7079
- class xa extends MessageType {
7193
+ new Ja();
7194
+ class Za extends MessageType {
7080
7195
  constructor() {
7081
7196
  super("socket.plugin.RemovePluginRequest", [
7082
7197
  {
@@ -7094,8 +7209,8 @@ class xa extends MessageType {
7094
7209
  ]);
7095
7210
  }
7096
7211
  }
7097
- new xa();
7098
- class Oa extends MessageType {
7212
+ new Za();
7213
+ class za extends MessageType {
7099
7214
  constructor() {
7100
7215
  super("socket.plugin.EnablePluginForRoomRequest", [
7101
7216
  {
@@ -7107,8 +7222,8 @@ class Oa extends MessageType {
7107
7222
  ]);
7108
7223
  }
7109
7224
  }
7110
- new Oa();
7111
- class Ma extends MessageType {
7225
+ new za();
7226
+ class Ya extends MessageType {
7112
7227
  constructor() {
7113
7228
  super("socket.plugin.DisablePluginForRoomRequest", [
7114
7229
  {
@@ -7120,8 +7235,8 @@ class Ma extends MessageType {
7120
7235
  ]);
7121
7236
  }
7122
7237
  }
7123
- new Ma();
7124
- class qa extends MessageType {
7238
+ new Ya();
7239
+ class Qa extends MessageType {
7125
7240
  constructor() {
7126
7241
  super("socket.plugin.EnablePluginForPeersRequest", [
7127
7242
  {
@@ -7140,8 +7255,8 @@ class qa extends MessageType {
7140
7255
  ]);
7141
7256
  }
7142
7257
  }
7143
- new qa();
7144
- class $a extends MessageType {
7258
+ new Qa();
7259
+ class Xa extends MessageType {
7145
7260
  constructor() {
7146
7261
  super("socket.plugin.DisablePluginForPeersRequest", [
7147
7262
  {
@@ -7160,8 +7275,8 @@ class $a extends MessageType {
7160
7275
  ]);
7161
7276
  }
7162
7277
  }
7163
- new $a();
7164
- class Na extends MessageType {
7278
+ new Xa();
7279
+ class ei extends MessageType {
7165
7280
  constructor() {
7166
7281
  super("socket.plugin.PluginEventToRoomRequest", [
7167
7282
  {
@@ -7179,8 +7294,8 @@ class Na extends MessageType {
7179
7294
  ]);
7180
7295
  }
7181
7296
  }
7182
- new Na();
7183
- class Aa extends MessageType {
7297
+ new ei();
7298
+ class ni extends MessageType {
7184
7299
  constructor() {
7185
7300
  super("socket.plugin.PluginEventToPeersRequest", [
7186
7301
  {
@@ -7205,8 +7320,8 @@ class Aa extends MessageType {
7205
7320
  ]);
7206
7321
  }
7207
7322
  }
7208
- new Aa();
7209
- class Ia extends MessageType {
7323
+ new ni();
7324
+ class ti extends MessageType {
7210
7325
  constructor() {
7211
7326
  super("socket.plugin.StoreKeys", [
7212
7327
  {
@@ -7225,8 +7340,8 @@ class Ia extends MessageType {
7225
7340
  ]);
7226
7341
  }
7227
7342
  }
7228
- const Ue = new Ia();
7229
- class Da extends MessageType {
7343
+ const ze = new ti();
7344
+ class si extends MessageType {
7230
7345
  constructor() {
7231
7346
  super("socket.plugin.PluginStoreInsertKeysRequest", [
7232
7347
  {
@@ -7241,12 +7356,12 @@ class Da extends MessageType {
7241
7356
  kind: "scalar",
7242
7357
  T: 9
7243
7358
  },
7244
- { no: 3, name: "insert_keys", kind: "message", repeat: 1, T: () => Ue }
7359
+ { no: 3, name: "insert_keys", kind: "message", repeat: 1, T: () => ze }
7245
7360
  ]);
7246
7361
  }
7247
7362
  }
7248
- new Da();
7249
- class Ua extends MessageType {
7363
+ new si();
7364
+ class ri extends MessageType {
7250
7365
  constructor() {
7251
7366
  super("socket.plugin.PluginStoreGetKeysRequest", [
7252
7367
  {
@@ -7261,12 +7376,12 @@ class Ua extends MessageType {
7261
7376
  kind: "scalar",
7262
7377
  T: 9
7263
7378
  },
7264
- { no: 3, name: "get_keys", kind: "message", repeat: 1, T: () => Ue }
7379
+ { no: 3, name: "get_keys", kind: "message", repeat: 1, T: () => ze }
7265
7380
  ]);
7266
7381
  }
7267
7382
  }
7268
- new Ua();
7269
- class Ba extends MessageType {
7383
+ new ri();
7384
+ class oi extends MessageType {
7270
7385
  constructor() {
7271
7386
  super("socket.plugin.PluginStoreDeleteKeysRequest", [
7272
7387
  {
@@ -7281,12 +7396,12 @@ class Ba extends MessageType {
7281
7396
  kind: "scalar",
7282
7397
  T: 9
7283
7398
  },
7284
- { no: 3, name: "delete_keys", kind: "message", repeat: 1, T: () => Ue }
7399
+ { no: 3, name: "delete_keys", kind: "message", repeat: 1, T: () => ze }
7285
7400
  ]);
7286
7401
  }
7287
7402
  }
7288
- new Ba();
7289
- class Ga extends MessageType {
7403
+ new oi();
7404
+ class ai extends MessageType {
7290
7405
  constructor() {
7291
7406
  super("socket.plugin.PluginStoreDeleteRequest", [
7292
7407
  {
@@ -7304,8 +7419,8 @@ class Ga extends MessageType {
7304
7419
  ]);
7305
7420
  }
7306
7421
  }
7307
- new Ga();
7308
- class ja extends MessageType {
7422
+ new ai();
7423
+ class ii extends MessageType {
7309
7424
  constructor() {
7310
7425
  super("socket.plugin.EnablePluginResponse", [
7311
7426
  {
@@ -7323,16 +7438,16 @@ class ja extends MessageType {
7323
7438
  ]);
7324
7439
  }
7325
7440
  }
7326
- const Wa = new ja();
7327
- class Fa extends MessageType {
7441
+ const ci = new ii();
7442
+ class di extends MessageType {
7328
7443
  constructor() {
7329
7444
  super("socket.plugin.EnablePluginsResponse", [
7330
- { no: 1, name: "plugins", kind: "message", repeat: 1, T: () => Wa }
7445
+ { no: 1, name: "plugins", kind: "message", repeat: 1, T: () => ci }
7331
7446
  ]);
7332
7447
  }
7333
7448
  }
7334
- new Fa();
7335
- class Ka extends MessageType {
7449
+ new di();
7450
+ class ui extends MessageType {
7336
7451
  constructor() {
7337
7452
  super("socket.plugin.DisablePluginResponse", [
7338
7453
  {
@@ -7350,8 +7465,8 @@ class Ka extends MessageType {
7350
7465
  ]);
7351
7466
  }
7352
7467
  }
7353
- new Ka();
7354
- class Va extends MessageType {
7468
+ new ui();
7469
+ class pi extends MessageType {
7355
7470
  constructor() {
7356
7471
  super("socket.plugin.PluginStoreItem", [
7357
7472
  {
@@ -7381,8 +7496,8 @@ class Va extends MessageType {
7381
7496
  ]);
7382
7497
  }
7383
7498
  }
7384
- const Ha = new Va();
7385
- class Ja extends MessageType {
7499
+ const li = new pi();
7500
+ class mi extends MessageType {
7386
7501
  constructor() {
7387
7502
  super("socket.plugin.PluginStoreResponse", [
7388
7503
  {
@@ -7397,12 +7512,12 @@ class Ja extends MessageType {
7397
7512
  kind: "scalar",
7398
7513
  T: 9
7399
7514
  },
7400
- { no: 3, name: "store_items", kind: "message", repeat: 1, T: () => Ha }
7515
+ { no: 3, name: "store_items", kind: "message", repeat: 1, T: () => li }
7401
7516
  ]);
7402
7517
  }
7403
7518
  }
7404
- new Ja();
7405
- class Za extends MessageType {
7519
+ new mi();
7520
+ class Ti extends MessageType {
7406
7521
  constructor() {
7407
7522
  super("socket.plugin.PluginEventResponse", [
7408
7523
  {
@@ -7420,8 +7535,8 @@ class Za extends MessageType {
7420
7535
  ]);
7421
7536
  }
7422
7537
  }
7423
- new Za();
7424
- class za extends MessageType {
7538
+ new Ti();
7539
+ class fi extends MessageType {
7425
7540
  constructor() {
7426
7541
  super("socket.livestreaming.LiveStreamingEvent", [
7427
7542
  {
@@ -7488,8 +7603,8 @@ class za extends MessageType {
7488
7603
  ]);
7489
7604
  }
7490
7605
  }
7491
- new za();
7492
- class Ya extends MessageType {
7606
+ new fi();
7607
+ class hi extends MessageType {
7493
7608
  constructor() {
7494
7609
  super("socket.livestreaming.GetStagePeersResponse", [
7495
7610
  {
@@ -7502,8 +7617,8 @@ class Ya extends MessageType {
7502
7617
  ]);
7503
7618
  }
7504
7619
  }
7505
- new Ya();
7506
- class Qa extends MessageType {
7620
+ new hi();
7621
+ class ki extends MessageType {
7507
7622
  constructor() {
7508
7623
  super("socket.livestreaming.StageRequest", [
7509
7624
  {
@@ -7527,16 +7642,16 @@ class Qa extends MessageType {
7527
7642
  ]);
7528
7643
  }
7529
7644
  }
7530
- const Xa = new Qa();
7531
- class ei extends MessageType {
7645
+ const gi = new ki();
7646
+ class yi extends MessageType {
7532
7647
  constructor() {
7533
7648
  super("socket.livestreaming.GetStageRequestsResponse", [
7534
- { no: 1, name: "stage_requests", kind: "message", repeat: 1, T: () => Xa }
7649
+ { no: 1, name: "stage_requests", kind: "message", repeat: 1, T: () => gi }
7535
7650
  ]);
7536
7651
  }
7537
7652
  }
7538
- new ei();
7539
- class ni extends MessageType {
7653
+ new yi();
7654
+ class vi extends MessageType {
7540
7655
  constructor() {
7541
7656
  super("socket.livestreaming.GrantStageAccessRequest", [
7542
7657
  {
@@ -7549,8 +7664,8 @@ class ni extends MessageType {
7549
7664
  ]);
7550
7665
  }
7551
7666
  }
7552
- new ni();
7553
- class ti extends MessageType {
7667
+ new vi();
7668
+ class Ri extends MessageType {
7554
7669
  constructor() {
7555
7670
  super("socket.livestreaming.DenyStageAccessRequest", [
7556
7671
  {
@@ -7563,8 +7678,8 @@ class ti extends MessageType {
7563
7678
  ]);
7564
7679
  }
7565
7680
  }
7566
- new ti();
7567
- class si extends MessageType {
7681
+ new Ri();
7682
+ class _i extends MessageType {
7568
7683
  constructor() {
7569
7684
  super("socket.livestreaming.LeaveStageRequest", [
7570
7685
  {
@@ -7577,8 +7692,8 @@ class si extends MessageType {
7577
7692
  ]);
7578
7693
  }
7579
7694
  }
7580
- new si();
7581
- class ri extends MessageType {
7695
+ new _i();
7696
+ class wi extends MessageType {
7582
7697
  constructor() {
7583
7698
  super("socket.polls.Poll", [
7584
7699
  {
@@ -7605,7 +7720,7 @@ class ri extends MessageType {
7605
7720
  kind: "scalar",
7606
7721
  T: 9
7607
7722
  },
7608
- { no: 5, name: "options", kind: "message", repeat: 1, T: () => ai },
7723
+ { no: 5, name: "options", kind: "message", repeat: 1, T: () => Ci },
7609
7724
  {
7610
7725
  no: 6,
7611
7726
  name: "hide_votes",
@@ -7628,8 +7743,8 @@ class ri extends MessageType {
7628
7743
  ]);
7629
7744
  }
7630
7745
  }
7631
- const qn = new ri();
7632
- class oi extends MessageType {
7746
+ const Jn = new wi();
7747
+ class Pi extends MessageType {
7633
7748
  constructor() {
7634
7749
  super("socket.polls.PollOption", [
7635
7750
  {
@@ -7646,12 +7761,12 @@ class oi extends MessageType {
7646
7761
  T: 4,
7647
7762
  L: 2
7648
7763
  },
7649
- { no: 3, name: "votes", kind: "message", repeat: 1, T: () => ci }
7764
+ { no: 3, name: "votes", kind: "message", repeat: 1, T: () => Si }
7650
7765
  ]);
7651
7766
  }
7652
7767
  }
7653
- const ai = new oi();
7654
- class ii extends MessageType {
7768
+ const Ci = new Pi();
7769
+ class Ei extends MessageType {
7655
7770
  constructor() {
7656
7771
  super("socket.polls.PollVote", [
7657
7772
  {
@@ -7669,8 +7784,8 @@ class ii extends MessageType {
7669
7784
  ]);
7670
7785
  }
7671
7786
  }
7672
- const ci = new ii();
7673
- class di extends MessageType {
7787
+ const Si = new Ei();
7788
+ class bi extends MessageType {
7674
7789
  constructor() {
7675
7790
  super("socket.polls.NewPollRequest", [
7676
7791
  {
@@ -7715,8 +7830,8 @@ class di extends MessageType {
7715
7830
  ]);
7716
7831
  }
7717
7832
  }
7718
- new di();
7719
- class ui extends MessageType {
7833
+ new bi();
7834
+ class Li extends MessageType {
7720
7835
  constructor() {
7721
7836
  super("socket.polls.VotePollRequest", [
7722
7837
  {
@@ -7735,24 +7850,24 @@ class ui extends MessageType {
7735
7850
  ]);
7736
7851
  }
7737
7852
  }
7738
- new ui();
7739
- class pi extends MessageType {
7853
+ new Li();
7854
+ class xi extends MessageType {
7740
7855
  constructor() {
7741
7856
  super("socket.polls.UpdatePollResponse", [
7742
- { no: 1, name: "poll", kind: "message", T: () => qn }
7857
+ { no: 1, name: "poll", kind: "message", T: () => Jn }
7743
7858
  ]);
7744
7859
  }
7745
7860
  }
7746
- new pi();
7747
- class li extends MessageType {
7861
+ new xi();
7862
+ class Oi extends MessageType {
7748
7863
  constructor() {
7749
7864
  super("socket.polls.GetPollsResponse", [
7750
- { no: 1, name: "polls", kind: "message", repeat: 1, T: () => qn }
7865
+ { no: 1, name: "polls", kind: "message", repeat: 1, T: () => Jn }
7751
7866
  ]);
7752
7867
  }
7753
7868
  }
7754
- new li();
7755
- class mi extends MessageType {
7869
+ new Oi();
7870
+ class Mi extends MessageType {
7756
7871
  constructor() {
7757
7872
  super("socket.recording.RecordingEvent", [
7758
7873
  {
@@ -7767,12 +7882,12 @@ class mi extends MessageType {
7767
7882
  kind: "scalar",
7768
7883
  T: 9
7769
7884
  },
7770
- { no: 3, name: "recording_type", kind: "enum", T: () => ["common.RecordingType", de] }
7885
+ { no: 3, name: "recording_type", kind: "enum", T: () => ["common.RecordingType", ke] }
7771
7886
  ]);
7772
7887
  }
7773
7888
  }
7774
- new mi();
7775
- class Ti extends MessageType {
7889
+ new Mi();
7890
+ class qi extends MessageType {
7776
7891
  constructor() {
7777
7892
  super("google.protobuf.Timestamp", [
7778
7893
  {
@@ -7828,8 +7943,8 @@ class Ti extends MessageType {
7828
7943
  return d || (d = this.create()), d.seconds = PbLong.from(m / 1e3).toBigInt(), d.nanos = 0, p[7] && (d.nanos = parseInt("1" + p[7] + "0".repeat(9 - p[7].length)) - 1e9), d;
7829
7944
  }
7830
7945
  }
7831
- new Ti();
7832
- class fi extends MessageType {
7946
+ new qi();
7947
+ class $i extends MessageType {
7833
7948
  constructor() {
7834
7949
  super("common.BaseHubMessage", [
7835
7950
  {
@@ -7899,25 +8014,25 @@ class fi extends MessageType {
7899
8014
  ]);
7900
8015
  }
7901
8016
  }
7902
- const Ae = new fi();
7903
- class hi extends MessageType {
8017
+ const He = new $i();
8018
+ class Ni extends MessageType {
7904
8019
  constructor() {
7905
8020
  super("common.BulkedHubMessage", [
7906
- { no: 1, name: "messages", kind: "message", repeat: 1, T: () => Ae }
8021
+ { no: 1, name: "messages", kind: "message", repeat: 1, T: () => He }
7907
8022
  ]);
7908
8023
  }
7909
8024
  }
7910
- new hi();
7911
- class ki extends MessageType {
8025
+ new Ni();
8026
+ class Ai extends MessageType {
7912
8027
  constructor() {
7913
8028
  super("common.CFWorkersResponse", [
7914
- { no: 1, name: "responses", kind: "message", repeat: 1, T: () => Ae },
7915
- { no: 2, name: "broadcast_responses", kind: "message", repeat: 1, T: () => Ae }
8029
+ { no: 1, name: "responses", kind: "message", repeat: 1, T: () => He },
8030
+ { no: 2, name: "broadcast_responses", kind: "message", repeat: 1, T: () => He }
7916
8031
  ]);
7917
8032
  }
7918
8033
  }
7919
- new ki();
7920
- const gi = 0, yi = 1, Ri = 2, vi = 3, _i = 4, Pi = 5, wi = {
8034
+ new Ai();
8035
+ const Ii = 0, Di = 1, Ui = 2, Bi = 3, Gi = 4, ji = 5, Wi = {
7921
8036
  getPeerInfo: 0,
7922
8037
  updatePeerInfo: 1,
7923
8038
  getRoomPeersInfo: 2,
@@ -7963,7 +8078,7 @@ const gi = 0, yi = 1, Ri = 2, vi = 3, _i = 4, Pi = 5, wi = {
7963
8078
  recordingPaused: 42,
7964
8079
  getRoomStageState: 43,
7965
8080
  livestreamingInvoked: 44
7966
- }, Ci = {
8081
+ }, Fi = {
7967
8082
  getMessages: 0,
7968
8083
  sendMessageToRoom: 1,
7969
8084
  sendMessageToPeers: 2,
@@ -7975,7 +8090,7 @@ const gi = 0, yi = 1, Ri = 2, vi = 3, _i = 4, Pi = 5, wi = {
7975
8090
  getAllChatChannels: 8,
7976
8091
  markChannelIndexAsRead: 9,
7977
8092
  pinMessage: 10
7978
- }, Ei = {
8093
+ }, Ki = {
7979
8094
  getPlugins: 0,
7980
8095
  addPlugin: 1,
7981
8096
  enablePluginForRoom: 2,
@@ -7989,12 +8104,12 @@ const gi = 0, yi = 1, Ri = 2, vi = 3, _i = 4, Pi = 5, wi = {
7989
8104
  storeGetKeys: 10,
7990
8105
  storeDeleteKeys: 11,
7991
8106
  storeDelete: 12
7992
- }, Si = {
8107
+ }, Vi = {
7993
8108
  createPoll: 0,
7994
8109
  getPolls: 1,
7995
8110
  votePoll: 2,
7996
8111
  updatePoll: 3
7997
- }, $n = {
8112
+ }, Zn = {
7998
8113
  unknown: 0,
7999
8114
  createWebRTCTransport: 1,
8000
8115
  produce: 2,
@@ -8027,100 +8142,100 @@ const gi = 0, yi = 1, Ri = 2, vi = 3, _i = 4, Pi = 5, wi = {
8027
8142
  hostControlPeer: 93,
8028
8143
  hostControlAllPeers: 94,
8029
8144
  audioActivity: 100
8030
- }, bi = {
8145
+ }, Hi = {
8031
8146
  createChatChannel: 0,
8032
8147
  getChatChannel: 1,
8033
8148
  deprecatedGetAllChatChannels: 2,
8034
8149
  getChannelMembers: 3,
8035
8150
  updateChatChannel: 4
8036
- }, Li = {
8151
+ }, Ji = {
8037
8152
  getUserPresets: 0,
8038
8153
  updateUserPreset: 1
8039
8154
  };
8040
- function V(e, s) {
8155
+ function X(e, s) {
8041
8156
  return Object.keys(s).reduce((a, d) => (a[d] = (e << 16) + s[d], a), {});
8042
8157
  }
8043
- function Nn(e, s) {
8158
+ function zn(e, s) {
8044
8159
  return Object.keys(e).reduce((a, d) => (a[d] = s | e[d], a), {});
8045
8160
  }
8046
- const re = V(gi, wi);
8047
- V(yi, Ci);
8048
- V(
8049
- Ri,
8050
- Ei
8161
+ const pe = X(Ii, Wi);
8162
+ X(Di, Fi);
8163
+ X(
8164
+ Ui,
8165
+ Ki
8051
8166
  );
8052
- V(vi, Si);
8053
- V(
8054
- _i,
8055
- bi
8167
+ X(Bi, Vi);
8168
+ X(
8169
+ Gi,
8170
+ Hi
8056
8171
  );
8057
- const Le = Nn($n, 16777216);
8058
- Nn($n, 50331648);
8059
- V(
8060
- Pi,
8061
- Li
8172
+ const De = zn(Zn, 16777216);
8173
+ zn(Zn, 50331648);
8174
+ X(
8175
+ ji,
8176
+ Ji
8062
8177
  );
8063
- const An = "ws://localhost:8080/ws";
8064
- class xi extends Q.WebSocket {
8178
+ const Yn = "ws://localhost:8080/ws";
8179
+ class Zi extends oe.WebSocket {
8065
8180
  constructor(s, a) {
8066
- super(An, a);
8181
+ super(Yn, a);
8067
8182
  }
8068
8183
  }
8069
- var F, pe, K, le;
8070
- class Oi {
8184
+ var Y, ye, Q, ve;
8185
+ class zi {
8071
8186
  constructor() {
8072
- Z(this, F, void 0);
8073
- Z(this, pe, []);
8074
- Z(this, K, void 0);
8075
- Z(this, le, 15e3);
8187
+ te(this, Y, void 0);
8188
+ te(this, ye, []);
8189
+ te(this, Q, void 0);
8190
+ te(this, ve, 15e3);
8076
8191
  y(this, "roomId", "roomId");
8077
8192
  y(this, "roomUuid", "roomUuid");
8078
8193
  y(this, "cleanBuffer", (s) => s.buffer.slice(s.byteOffset, s.byteOffset + s.byteLength));
8079
8194
  }
8080
8195
  init({ peerId: s, mockParticipants: a }) {
8081
- Se(this, K, s), window.WebSocket = xi, Se(this, F, a);
8196
+ Ne(this, Q, s), window.WebSocket = Zi, Ne(this, Y, a);
8082
8197
  const { RTK_MOCK_SERVER: d } = window;
8083
8198
  if (d)
8084
8199
  try {
8085
8200
  d.close();
8086
8201
  } catch (m) {
8087
8202
  }
8088
- const p = new Q.Server(An, { mock: false });
8203
+ const p = new oe.Server(Yn, { mock: false });
8089
8204
  window.RTK_MOCK_SERVER = p, p.on("connection", (m) => {
8090
- I(this, pe).push(m), this.addConnectionListeners(m);
8205
+ j(this, ye).push(m), this.addConnectionListeners(m);
8091
8206
  });
8092
8207
  }
8093
8208
  addConnectionListeners(s) {
8094
8209
  s.on("message", (a) => {
8095
8210
  if (a === "3")
8096
8211
  return;
8097
- const d = sn.fromBinary(a);
8212
+ const d = fn.fromBinary(a);
8098
8213
  let p;
8099
8214
  switch (d.event) {
8100
- case re.joinRoom: {
8101
- p = cn.toBinary(cn.fromJson({
8215
+ case pe.joinRoom: {
8216
+ p = yn.toBinary(yn.fromJson({
8102
8217
  peer: {
8103
- peerId: I(this, K),
8218
+ peerId: j(this, Q),
8104
8219
  userId: "self-userId",
8105
8220
  displayName: "name",
8106
8221
  waitlisted: false,
8107
- stageType: X.ON_STAGE
8222
+ stageType: ae.ON_STAGE
8108
8223
  }
8109
8224
  }));
8110
8225
  break;
8111
8226
  }
8112
- case re.getRoomPeersInfo: {
8113
- p = Er.toBinary({
8114
- peers: I(this, F).map((P) => Ze(Ee({}, P), {
8115
- userId: P.peerId,
8227
+ case pe.getRoomPeersInfo: {
8228
+ p = Kr.toBinary({
8229
+ peers: j(this, Y).map((w) => an($e({}, w), {
8230
+ userId: w.peerId,
8116
8231
  waitlisted: false,
8117
8232
  stageType: 1
8118
8233
  }))
8119
8234
  });
8120
8235
  break;
8121
8236
  }
8122
- case re.getRoomInfo: {
8123
- p = Mr.toBinary({
8237
+ case pe.getRoomInfo: {
8238
+ p = Yr.toBinary({
8124
8239
  room: {
8125
8240
  roomId: this.roomId,
8126
8241
  title: "title",
@@ -8131,25 +8246,25 @@ class Oi {
8131
8246
  });
8132
8247
  break;
8133
8248
  }
8134
- case Le.createWebRTCTransport: {
8135
- p = Sn.toBinary({
8249
+ case De.createWebRTCTransport: {
8250
+ p = jn.toBinary({
8136
8251
  transportId: "transportId",
8137
8252
  description: {
8138
8253
  type: "answer",
8139
8254
  sdp: "sdp",
8140
- target: ce.PUBLISHER
8255
+ target: he.PUBLISHER
8141
8256
  },
8142
8257
  producerIds: []
8143
8258
  });
8144
8259
  break;
8145
8260
  }
8146
- case Le.selfJoinComplete: {
8147
- const P = I(this, F).map((b) => Ee({
8261
+ case De.selfJoinComplete: {
8262
+ const w = j(this, Y).map((L) => $e({
8148
8263
  producerStates: []
8149
- }, b));
8150
- p = Ns.toBinary({
8264
+ }, L));
8265
+ p = er.toBinary({
8151
8266
  maxPreferredStreams: 6,
8152
- participants: P,
8267
+ participants: w,
8153
8268
  selectedPeers: {
8154
8269
  audioPeers: [],
8155
8270
  compulsoryPeers: []
@@ -8159,14 +8274,14 @@ class Oi {
8159
8274
  lockedMode: false,
8160
8275
  roomUuid: this.roomUuid,
8161
8276
  roomName: this.roomUuid,
8162
- currentPeerId: I(this, K),
8277
+ currentPeerId: j(this, Q),
8163
8278
  pinnedPeerIds: []
8164
8279
  }
8165
8280
  });
8166
8281
  break;
8167
8282
  }
8168
- case re.getConnectedRoomsDump: {
8169
- p = Fr.toBinary({
8283
+ case pe.getConnectedRoomsDump: {
8284
+ p = uo.toBinary({
8170
8285
  parentMeeting: {
8171
8286
  participants: []
8172
8287
  },
@@ -8174,8 +8289,8 @@ class Oi {
8174
8289
  });
8175
8290
  break;
8176
8291
  }
8177
- case Le.produce: {
8178
- p = Bs.toBinary({
8292
+ case De.produce: {
8293
+ p = or.toBinary({
8179
8294
  status: true,
8180
8295
  producerId: "producer-id"
8181
8296
  });
@@ -8186,16 +8301,16 @@ class Oi {
8186
8301
  event: d.event,
8187
8302
  id: d.id,
8188
8303
  payload: p
8189
- }, f = sn.toBinary(m), g = this.cleanBuffer(f);
8304
+ }, f = fn.toBinary(m), g = this.cleanBuffer(f);
8190
8305
  s.send(g);
8191
8306
  }), setInterval(() => {
8192
8307
  s.send("2");
8193
- }, I(this, le));
8308
+ }, j(this, ve));
8194
8309
  }
8195
8310
  }
8196
- F = /* @__PURE__ */ new WeakMap(), pe = /* @__PURE__ */ new WeakMap(), K = /* @__PURE__ */ new WeakMap(), le = /* @__PURE__ */ new WeakMap();
8197
- function $i(e) {
8198
- new Oi().init(e), window.RTCPeerConnection = gt, window.fetch = () => Ye(this, null, function* () {
8311
+ Y = /* @__PURE__ */ new WeakMap(), ye = /* @__PURE__ */ new WeakMap(), Q = /* @__PURE__ */ new WeakMap(), ve = /* @__PURE__ */ new WeakMap();
8312
+ function Xi(e) {
8313
+ new zi().init(e), window.RTCPeerConnection = qt, window.fetch = () => dn(this, null, function* () {
8199
8314
  const a = new window.Response(JSON.stringify({}), {
8200
8315
  status: 200,
8201
8316
  headers: {
@@ -8205,4 +8320,4 @@ function $i(e) {
8205
8320
  return Promise.resolve(a);
8206
8321
  });
8207
8322
  }
8208
- export { $i as setupStubs };
8323
+ export { Xi as setupStubs };