@voicenter-team/opensips-js 1.0.136 → 1.0.138

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.
@@ -484,8 +484,8 @@ function os() {
484
484
  DIGIT: T,
485
485
  ALPHA: E,
486
486
  HEXDIG: y,
487
- WSP: A,
488
- OCTET: C,
487
+ WSP: C,
488
+ OCTET: A,
489
489
  DQUOTE: I,
490
490
  SP: H,
491
491
  HTAB: $,
@@ -512,13 +512,13 @@ function os() {
512
512
  LPAREN: ge,
513
513
  RPAREN: be,
514
514
  RAQUOT: xe,
515
- LAQUOT: Ce,
515
+ LAQUOT: Ae,
516
516
  COMMA: le,
517
517
  SEMI: ye,
518
518
  COLON: nt,
519
519
  LDQUOT: at,
520
520
  RDQUOT: Ee,
521
- comment: Ae,
521
+ comment: Ce,
522
522
  ctext: Ie,
523
523
  quoted_string: Oe,
524
524
  quoted_string_clean: pe,
@@ -543,14 +543,14 @@ function os() {
543
543
  h16: ae,
544
544
  ls32: ot,
545
545
  IPv4address: Wt,
546
- dec_octet: Cs,
546
+ dec_octet: As,
547
547
  port: Er,
548
548
  uri_parameters: Un,
549
549
  uri_parameter: Pn,
550
550
  transport_param: Sr,
551
551
  user_param: yr,
552
- method_param: Ar,
553
- ttl_param: Cr,
552
+ method_param: Cr,
553
+ ttl_param: Ar,
554
554
  maddr_param: Rr,
555
555
  lr_param: Ir,
556
556
  other_param: br,
@@ -625,8 +625,8 @@ function os() {
625
625
  x_token: Zr,
626
626
  m_subtype: qn,
627
627
  m_parameter: Vn,
628
- m_value: Al,
629
- CSeq: Cl,
628
+ m_value: Cl,
629
+ CSeq: Al,
630
630
  CSeq_value: Rl,
631
631
  Expires: Qa,
632
632
  Event: on,
@@ -683,9 +683,9 @@ function os() {
683
683
  protocol_name: Ei,
684
684
  transport: Si,
685
685
  sent_by: yi,
686
- via_host: Ai,
686
+ via_host: Ci,
687
687
  via_port: tr,
688
- ttl: Ci,
688
+ ttl: Ai,
689
689
  WWW_Authenticate: lo,
690
690
  Session_Expires: Ol,
691
691
  s_e_expires: sr,
@@ -734,11 +734,11 @@ function os() {
734
734
  var e;
735
735
  return /^[0-9a-fA-F]/.test(a.charAt(r)) ? (e = a.charAt(r), r++) : (e = null, _("[0-9a-fA-F]")), e;
736
736
  }
737
- function A() {
737
+ function C() {
738
738
  var e;
739
739
  return e = H(), e === null && (e = $()), e;
740
740
  }
741
- function C() {
741
+ function A() {
742
742
  var e;
743
743
  return /^[\0-\xFF]/.test(a.charAt(r)) ? (e = a.charAt(r), r++) : (e = null, _("[\\0-\\xFF]")), e;
744
744
  }
@@ -778,12 +778,12 @@ function os() {
778
778
  }
779
779
  function k() {
780
780
  var e, l, u, f, p, m;
781
- for (f = r, p = r, m = r, e = [], l = A(); l !== null; )
782
- e.push(l), l = A();
781
+ for (f = r, p = r, m = r, e = [], l = C(); l !== null; )
782
+ e.push(l), l = C();
783
783
  if (e !== null ? (l = g(), l !== null ? e = [e, l] : (e = null, r = m)) : (e = null, r = m), e = e !== null ? e : "", e !== null) {
784
- if (u = A(), u !== null)
784
+ if (u = C(), u !== null)
785
785
  for (l = []; u !== null; )
786
- l.push(u), u = A();
786
+ l.push(u), u = C();
787
787
  else
788
788
  l = null;
789
789
  l !== null ? e = [e, l] : (e = null, r = p);
@@ -916,7 +916,7 @@ function os() {
916
916
  return ">";
917
917
  }()), e === null && (r = u), e;
918
918
  }
919
- function Ce() {
919
+ function Ae() {
920
920
  var e, l, u, f;
921
921
  return u = r, f = r, e = D(), e !== null ? (a.charCodeAt(r) === 60 ? (l = "<", r++) : (l = null, _('"<"')), l !== null ? e = [e, l] : (e = null, r = f)) : (e = null, r = f), e !== null && (e = function(p) {
922
922
  return "<";
@@ -952,11 +952,11 @@ function os() {
952
952
  return '"';
953
953
  }()), e === null && (r = u), e;
954
954
  }
955
- function Ae() {
955
+ function Ce() {
956
956
  var e, l, u, f;
957
957
  if (f = r, e = ge(), e !== null) {
958
- for (l = [], u = Ie(), u === null && (u = _e(), u === null && (u = Ae())); u !== null; )
959
- l.push(u), u = Ie(), u === null && (u = _e(), u === null && (u = Ae()));
958
+ for (l = [], u = Ie(), u === null && (u = _e(), u === null && (u = Ce())); u !== null; )
959
+ l.push(u), u = Ie(), u === null && (u = _e(), u === null && (u = Ce()));
960
960
  l !== null ? (u = be(), u !== null ? e = [e, l, u] : (e = null, r = f)) : (e = null, r = f);
961
961
  } else
962
962
  e = null, r = f;
@@ -1128,11 +1128,11 @@ function os() {
1128
1128
  }
1129
1129
  function Wt() {
1130
1130
  var e, l, u, f, p, m, v, S, O;
1131
- return S = r, O = r, e = Cs(), e !== null ? (a.charCodeAt(r) === 46 ? (l = ".", r++) : (l = null, _('"."')), l !== null ? (u = Cs(), u !== null ? (a.charCodeAt(r) === 46 ? (f = ".", r++) : (f = null, _('"."')), f !== null ? (p = Cs(), p !== null ? (a.charCodeAt(r) === 46 ? (m = ".", r++) : (m = null, _('"."')), m !== null ? (v = Cs(), v !== null ? e = [e, l, u, f, p, m, v] : (e = null, r = O)) : (e = null, r = O)) : (e = null, r = O)) : (e = null, r = O)) : (e = null, r = O)) : (e = null, r = O)) : (e = null, r = O), e !== null && (e = function(ie) {
1131
+ return S = r, O = r, e = As(), e !== null ? (a.charCodeAt(r) === 46 ? (l = ".", r++) : (l = null, _('"."')), l !== null ? (u = As(), u !== null ? (a.charCodeAt(r) === 46 ? (f = ".", r++) : (f = null, _('"."')), f !== null ? (p = As(), p !== null ? (a.charCodeAt(r) === 46 ? (m = ".", r++) : (m = null, _('"."')), m !== null ? (v = As(), v !== null ? e = [e, l, u, f, p, m, v] : (e = null, r = O)) : (e = null, r = O)) : (e = null, r = O)) : (e = null, r = O)) : (e = null, r = O)) : (e = null, r = O)) : (e = null, r = O), e !== null && (e = function(ie) {
1132
1132
  return w.host_type = "IPv4", a.substring(r, ie);
1133
1133
  }(S)), e === null && (r = S), e;
1134
1134
  }
1135
- function Cs() {
1135
+ function As() {
1136
1136
  var e, l, u, f;
1137
1137
  return f = r, a.substr(r, 2) === "25" ? (e = "25", r += 2) : (e = null, _('"25"')), e !== null ? (/^[0-5]/.test(a.charAt(r)) ? (l = a.charAt(r), r++) : (l = null, _("[0-5]")), l !== null ? e = [e, l] : (e = null, r = f)) : (e = null, r = f), e === null && (f = r, a.charCodeAt(r) === 50 ? (e = "2", r++) : (e = null, _('"2"')), e !== null ? (/^[0-4]/.test(a.charAt(r)) ? (l = a.charAt(r), r++) : (l = null, _("[0-4]")), l !== null ? (u = T(), u !== null ? e = [e, l, u] : (e = null, r = f)) : (e = null, r = f)) : (e = null, r = f), e === null && (f = r, a.charCodeAt(r) === 49 ? (e = "1", r++) : (e = null, _('"1"')), e !== null ? (l = T(), l !== null ? (u = T(), u !== null ? e = [e, l, u] : (e = null, r = f)) : (e = null, r = f)) : (e = null, r = f), e === null && (f = r, /^[1-9]/.test(a.charAt(r)) ? (e = a.charAt(r), r++) : (e = null, _("[1-9]")), e !== null ? (l = T(), l !== null ? e = [e, l] : (e = null, r = f)) : (e = null, r = f), e === null && (e = T())))), e;
1138
1138
  }
@@ -1150,7 +1150,7 @@ function os() {
1150
1150
  }
1151
1151
  function Pn() {
1152
1152
  var e;
1153
- return e = Sr(), e === null && (e = yr(), e === null && (e = Ar(), e === null && (e = Cr(), e === null && (e = Rr(), e === null && (e = Ir(), e === null && (e = br())))))), e;
1153
+ return e = Sr(), e === null && (e = yr(), e === null && (e = Cr(), e === null && (e = Ar(), e === null && (e = Rr(), e === null && (e = Ir(), e === null && (e = br())))))), e;
1154
1154
  }
1155
1155
  function Sr() {
1156
1156
  var e, l, u, f;
@@ -1164,15 +1164,15 @@ function os() {
1164
1164
  w.uri_params || (w.uri_params = {}), w.uri_params.user = m.toLowerCase();
1165
1165
  }(u, e[1])), e === null && (r = u), e;
1166
1166
  }
1167
- function Ar() {
1167
+ function Cr() {
1168
1168
  var e, l, u, f;
1169
1169
  return u = r, f = r, a.substr(r, 7).toLowerCase() === "method=" ? (e = a.substr(r, 7), r += 7) : (e = null, _('"method="')), e !== null ? (l = rn(), l !== null ? e = [e, l] : (e = null, r = f)) : (e = null, r = f), e !== null && (e = function(p, m) {
1170
1170
  w.uri_params || (w.uri_params = {}), w.uri_params.method = m;
1171
1171
  }(u, e[1])), e === null && (r = u), e;
1172
1172
  }
1173
- function Cr() {
1173
+ function Ar() {
1174
1174
  var e, l, u, f;
1175
- return u = r, f = r, a.substr(r, 4).toLowerCase() === "ttl=" ? (e = a.substr(r, 4), r += 4) : (e = null, _('"ttl="')), e !== null ? (l = Ci(), l !== null ? e = [e, l] : (e = null, r = f)) : (e = null, r = f), e !== null && (e = function(p, m) {
1175
+ return u = r, f = r, a.substr(r, 4).toLowerCase() === "ttl=" ? (e = a.substr(r, 4), r += 4) : (e = null, _('"ttl="')), e !== null ? (l = Ai(), l !== null ? e = [e, l] : (e = null, r = f)) : (e = null, r = f), e !== null && (e = function(p, m) {
1176
1176
  w.params || (w.params = {}), w.params.ttl = m;
1177
1177
  }(u, e[1])), e === null && (r = u), e;
1178
1178
  }
@@ -1528,7 +1528,7 @@ function os() {
1528
1528
  }
1529
1529
  function Ht() {
1530
1530
  var e, l, u, f, p;
1531
- return p = r, e = Us(), e = e !== null ? e : "", e !== null ? (l = Ce(), l !== null ? (u = Ne(), u !== null ? (f = xe(), f !== null ? e = [e, l, u, f] : (e = null, r = p)) : (e = null, r = p)) : (e = null, r = p)) : (e = null, r = p), e;
1531
+ return p = r, e = Us(), e = e !== null ? e : "", e !== null ? (l = Ae(), l !== null ? (u = Ne(), u !== null ? (f = xe(), f !== null ? e = [e, l, u, f] : (e = null, r = p)) : (e = null, r = p)) : (e = null, r = p)) : (e = null, r = p), e;
1532
1532
  }
1533
1533
  function Us() {
1534
1534
  var e, l, u, f, p, m, v;
@@ -1678,13 +1678,13 @@ function os() {
1678
1678
  }
1679
1679
  function Vn() {
1680
1680
  var e, l, u, f;
1681
- return f = r, e = P(), e !== null ? (l = re(), l !== null ? (u = Al(), u !== null ? e = [e, l, u] : (e = null, r = f)) : (e = null, r = f)) : (e = null, r = f), e;
1681
+ return f = r, e = P(), e !== null ? (l = re(), l !== null ? (u = Cl(), u !== null ? e = [e, l, u] : (e = null, r = f)) : (e = null, r = f)) : (e = null, r = f), e;
1682
1682
  }
1683
- function Al() {
1683
+ function Cl() {
1684
1684
  var e;
1685
1685
  return e = P(), e === null && (e = Oe()), e;
1686
1686
  }
1687
- function Cl() {
1687
+ function Al() {
1688
1688
  var e, l, u, f;
1689
1689
  return f = r, e = Rl(), e !== null ? (l = k(), l !== null ? (u = rn(), u !== null ? e = [e, l, u] : (e = null, r = f)) : (e = null, r = f)) : (e = null, r = f), e;
1690
1690
  }
@@ -1776,7 +1776,7 @@ function os() {
1776
1776
  for (S = r, O = r, e = [], l = Us(); l !== null; )
1777
1777
  e.push(l), l = Us();
1778
1778
  if (e !== null)
1779
- if (l = Ce(), l !== null)
1779
+ if (l = Ae(), l !== null)
1780
1780
  if (u = Ne(), u !== null)
1781
1781
  if (f = xe(), f !== null) {
1782
1782
  for (p = [], ie = r, m = ye(), m !== null ? (v = We(), v !== null ? m = [m, v] : (m = null, r = ie)) : (m = null, r = ie); m !== null; )
@@ -2157,7 +2157,7 @@ function os() {
2157
2157
  }
2158
2158
  function di() {
2159
2159
  var e, l, u, f, p;
2160
- return f = r, p = r, a.substr(r, 3).toLowerCase() === "ttl" ? (e = a.substr(r, 3), r += 3) : (e = null, _('"ttl"')), e !== null ? (l = re(), l !== null ? (u = Ci(), u !== null ? e = [e, l, u] : (e = null, r = p)) : (e = null, r = p)) : (e = null, r = p), e !== null && (e = function(m, v) {
2160
+ return f = r, p = r, a.substr(r, 3).toLowerCase() === "ttl" ? (e = a.substr(r, 3), r += 3) : (e = null, _('"ttl"')), e !== null ? (l = re(), l !== null ? (u = Ai(), u !== null ? e = [e, l, u] : (e = null, r = p)) : (e = null, r = p)) : (e = null, r = p), e !== null && (e = function(m, v) {
2161
2161
  w.ttl = v;
2162
2162
  }(f, e[2])), e === null && (r = f), e;
2163
2163
  }
@@ -2207,9 +2207,9 @@ function os() {
2207
2207
  }
2208
2208
  function yi() {
2209
2209
  var e, l, u, f, p;
2210
- return f = r, e = Ai(), e !== null ? (p = r, l = nt(), l !== null ? (u = tr(), u !== null ? l = [l, u] : (l = null, r = p)) : (l = null, r = p), l = l !== null ? l : "", l !== null ? e = [e, l] : (e = null, r = f)) : (e = null, r = f), e;
2210
+ return f = r, e = Ci(), e !== null ? (p = r, l = nt(), l !== null ? (u = tr(), u !== null ? l = [l, u] : (l = null, r = p)) : (l = null, r = p), l = l !== null ? l : "", l !== null ? e = [e, l] : (e = null, r = f)) : (e = null, r = f), e;
2211
2211
  }
2212
- function Ai() {
2212
+ function Ci() {
2213
2213
  var e, l;
2214
2214
  return l = r, e = Wt(), e === null && (e = zs(), e === null && (e = Js())), e !== null && (e = function(u) {
2215
2215
  w.host = a.substring(r, u);
@@ -2221,7 +2221,7 @@ function os() {
2221
2221
  w.port = parseInt(O.join(""));
2222
2222
  }(m, e)), e === null && (r = m), e;
2223
2223
  }
2224
- function Ci() {
2224
+ function Ai() {
2225
2225
  var e, l, u, f, p;
2226
2226
  return f = r, p = r, e = T(), e !== null ? (l = T(), l = l !== null ? l : "", l !== null ? (u = T(), u = u !== null ? u : "", u !== null ? e = [e, l, u] : (e = null, r = p)) : (e = null, r = p)) : (e = null, r = p), e !== null && (e = function(m, v) {
2227
2227
  return parseInt(v.join(""));
@@ -2269,8 +2269,8 @@ function os() {
2269
2269
  }
2270
2270
  function ao() {
2271
2271
  var e, l;
2272
- for (e = [], l = C(); l !== null; )
2273
- e.push(l), l = C();
2272
+ for (e = [], l = A(); l !== null; )
2273
+ e.push(l), l = A();
2274
2274
  return e;
2275
2275
  }
2276
2276
  function Pl() {
@@ -2418,19 +2418,19 @@ function Ks() {
2418
2418
  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2419
2419
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2420
2420
  }
2421
- var A = !0, C = !1, I;
2421
+ var C = !0, A = !1, I;
2422
2422
  return { s: function() {
2423
2423
  T = _[Symbol.iterator]();
2424
2424
  }, n: function() {
2425
2425
  var $ = T.next();
2426
- return A = $.done, $;
2426
+ return C = $.done, $;
2427
2427
  }, e: function($) {
2428
- C = !0, I = $;
2428
+ A = !0, I = $;
2429
2429
  }, f: function() {
2430
2430
  try {
2431
- !A && T.return != null && T.return();
2431
+ !C && T.return != null && T.return();
2432
2432
  } finally {
2433
- if (C)
2433
+ if (A)
2434
2434
  throw I;
2435
2435
  }
2436
2436
  } };
@@ -2479,14 +2479,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2479
2479
  }
2480
2480
  }]);
2481
2481
  function _(g, T, E, y) {
2482
- var A = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {}, C = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : {};
2482
+ var C = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {}, A = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : {};
2483
2483
  if (a(this, _), !E)
2484
2484
  throw new TypeError('missing or invalid "host" parameter');
2485
2485
  this._parameters = {}, this._headers = {}, this._scheme = g || r.SIP, this._user = T, this._host = E, this._port = y;
2486
- for (var I in A)
2487
- Object.prototype.hasOwnProperty.call(A, I) && this.setParam(I, A[I]);
2488
- for (var H in C)
2489
- Object.prototype.hasOwnProperty.call(C, H) && this.setHeader(H, C[H]);
2486
+ for (var I in C)
2487
+ Object.prototype.hasOwnProperty.call(C, I) && this.setParam(I, C[I]);
2488
+ for (var H in A)
2489
+ Object.prototype.hasOwnProperty.call(A, H) && this.setHeader(H, A[H]);
2490
2490
  }
2491
2491
  return s(_, [{
2492
2492
  key: "setParam",
@@ -2560,18 +2560,18 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2560
2560
  this._user && (E += "".concat(d.escapeUser(this._user), "@")), E += this._host, (this._port || this._port === 0) && (E += ":".concat(this._port));
2561
2561
  for (var y in this._parameters)
2562
2562
  Object.prototype.hasOwnProperty.call(this._parameters, y) && (E += ";".concat(y), this._parameters[y] !== null && (E += "=".concat(this._parameters[y])));
2563
- for (var A in this._headers)
2564
- if (Object.prototype.hasOwnProperty.call(this._headers, A)) {
2565
- var C = c(this._headers[A]), I;
2563
+ for (var C in this._headers)
2564
+ if (Object.prototype.hasOwnProperty.call(this._headers, C)) {
2565
+ var A = c(this._headers[C]), I;
2566
2566
  try {
2567
- for (C.s(); !(I = C.n()).done; ) {
2567
+ for (A.s(); !(I = A.n()).done; ) {
2568
2568
  var H = I.value;
2569
- T.push("".concat(A, "=").concat(H));
2569
+ T.push("".concat(C, "=").concat(H));
2570
2570
  }
2571
2571
  } catch ($) {
2572
- C.e($);
2572
+ A.e($);
2573
2573
  } finally {
2574
- C.f();
2574
+ A.f();
2575
2575
  }
2576
2576
  }
2577
2577
  return T.length > 0 && (E += "?".concat(T.join("&"))), E;
@@ -2635,28 +2635,28 @@ function bt() {
2635
2635
  if (typeof Symbol > "u" || g[Symbol.iterator] == null) {
2636
2636
  if (Array.isArray(g) || (E = n(g)) || T && g && typeof g.length == "number") {
2637
2637
  E && (g = E);
2638
- var y = 0, A = function() {
2638
+ var y = 0, C = function() {
2639
2639
  };
2640
- return { s: A, n: function() {
2640
+ return { s: C, n: function() {
2641
2641
  return y >= g.length ? { done: !0 } : { done: !1, value: g[y++] };
2642
2642
  }, e: function(oe) {
2643
2643
  throw oe;
2644
- }, f: A };
2644
+ }, f: C };
2645
2645
  }
2646
2646
  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2647
2647
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2648
2648
  }
2649
- var C = !0, I = !1, H;
2649
+ var A = !0, I = !1, H;
2650
2650
  return { s: function() {
2651
2651
  E = g[Symbol.iterator]();
2652
2652
  }, n: function() {
2653
2653
  var oe = E.next();
2654
- return C = oe.done, oe;
2654
+ return A = oe.done, oe;
2655
2655
  }, e: function(oe) {
2656
2656
  I = !0, H = oe;
2657
2657
  }, f: function() {
2658
2658
  try {
2659
- !C && E.return != null && E.return();
2659
+ !A && E.return != null && E.return();
2660
2660
  } finally {
2661
2661
  if (I)
2662
2662
  throw H;
@@ -2696,18 +2696,18 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2696
2696
  }, Ze.hasMethods = function(g) {
2697
2697
  for (var T = arguments.length, E = new Array(T > 1 ? T - 1 : 0), y = 1; y < T; y++)
2698
2698
  E[y - 1] = arguments[y];
2699
- for (var A = 0, C = E; A < C.length; A++) {
2700
- var I = C[A];
2699
+ for (var C = 0, A = E; C < A.length; C++) {
2700
+ var I = A[C];
2701
2701
  if (d(g[I]))
2702
2702
  return !1;
2703
2703
  }
2704
2704
  return !0;
2705
2705
  };
2706
2706
  var h = Ze.createRandomToken = function(g) {
2707
- var T = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 32, E, y, A = "";
2707
+ var T = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 32, E, y, C = "";
2708
2708
  for (E = 0; E < g; E++)
2709
- y = Math.random() * T | 0, A += y.toString(T);
2710
- return A;
2709
+ y = Math.random() * T | 0, C += y.toString(T);
2710
+ return C;
2711
2711
  };
2712
2712
  Ze.newTag = function() {
2713
2713
  return h(10);
@@ -2732,22 +2732,22 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2732
2732
  if (g instanceof s)
2733
2733
  return g;
2734
2734
  if (typeof g == "string") {
2735
- var E = g.split("@"), y, A;
2735
+ var E = g.split("@"), y, C;
2736
2736
  switch (E.length) {
2737
2737
  case 1:
2738
2738
  if (!T)
2739
2739
  return;
2740
- y = g, A = T;
2740
+ y = g, C = T;
2741
2741
  break;
2742
2742
  case 2:
2743
- y = E[0], A = E[1];
2743
+ y = E[0], C = E[1];
2744
2744
  break;
2745
2745
  default:
2746
- y = E.slice(0, E.length - 1).join("@"), A = E[E.length - 1];
2746
+ y = E.slice(0, E.length - 1).join("@"), C = E[E.length - 1];
2747
2747
  }
2748
- y = y.replace(/^(sips?|tel):/i, ""), /^[-.()]*\+?[0-9\-.()]+$/.test(y) && (y = y.replace(/[-.()]/g, "")), g = "".concat(o.SIP, ":").concat(_(y), "@").concat(A);
2749
- var C;
2750
- return (C = s.parse(g)) ? C : void 0;
2748
+ y = y.replace(/^(sips?|tel):/i, ""), /^[-.()]*\+?[0-9\-.()]+$/.test(y) && (y = y.replace(/[-.()]/g, "")), g = "".concat(o.SIP, ":").concat(_(y), "@").concat(C);
2749
+ var A;
2750
+ return (A = s.parse(g)) ? A : void 0;
2751
2751
  } else
2752
2752
  return;
2753
2753
  } else
@@ -2757,9 +2757,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2757
2757
  "Call-Id": "Call-ID",
2758
2758
  Cseq: "CSeq",
2759
2759
  "Www-Authenticate": "WWW-Authenticate"
2760
- }, E = g.toLowerCase().replace(/_/g, "-").split("-"), y = "", A = E.length, C;
2761
- for (C = 0; C < A; C++)
2762
- C !== 0 && (y += "-"), y += E[C].charAt(0).toUpperCase() + E[C].substring(1);
2760
+ }, E = g.toLowerCase().replace(/_/g, "-").split("-"), y = "", C = E.length, A;
2761
+ for (A = 0; A < C; A++)
2762
+ A !== 0 && (y += "-"), y += E[A].charAt(0).toUpperCase() + E[A].substring(1);
2763
2763
  return T[y] && (y = T[y]), y;
2764
2764
  }, Ze.sipErrorCause = function(g) {
2765
2765
  for (var T in o.SIP_ERROR_CAUSES)
@@ -2782,10 +2782,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2782
2782
  function y(pe, ue, _e) {
2783
2783
  return pe & ue | ~pe & _e;
2784
2784
  }
2785
- function A(pe, ue, _e) {
2785
+ function C(pe, ue, _e) {
2786
2786
  return pe & _e | ue & ~_e;
2787
2787
  }
2788
- function C(pe, ue, _e) {
2788
+ function A(pe, ue, _e) {
2789
2789
  return pe ^ ue ^ _e;
2790
2790
  }
2791
2791
  function I(pe, ue, _e) {
@@ -2795,10 +2795,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2795
2795
  return pe = E(pe, E(E(y(ue, _e, we), Ne), Le)), E(T(pe, Qe), ue);
2796
2796
  }
2797
2797
  function $(pe, ue, _e, we, Ne, Qe, Le) {
2798
- return pe = E(pe, E(E(A(ue, _e, we), Ne), Le)), E(T(pe, Qe), ue);
2798
+ return pe = E(pe, E(E(C(ue, _e, we), Ne), Le)), E(T(pe, Qe), ue);
2799
2799
  }
2800
2800
  function oe(pe, ue, _e, we, Ne, Qe, Le) {
2801
- return pe = E(pe, E(E(C(ue, _e, we), Ne), Le)), E(T(pe, Qe), ue);
2801
+ return pe = E(pe, E(E(A(ue, _e, we), Ne), Le)), E(T(pe, Qe), ue);
2802
2802
  }
2803
2803
  function N(pe, ue, _e, we, Ne, Qe, Le) {
2804
2804
  return pe = E(pe, E(E(I(ue, _e, we), Ne), Le)), E(T(pe, Qe), ue);
@@ -2821,9 +2821,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2821
2821
  }
2822
2822
  return ue;
2823
2823
  }
2824
- var k = [], D, B, V, J, F, X, U, P, se, st = 7, ee = 12, W = 17, G = 22, re = 5, ge = 9, be = 14, xe = 20, Ce = 4, le = 11, ye = 16, nt = 23, at = 6, Ee = 10, Ae = 15, Ie = 21;
2824
+ var k = [], D, B, V, J, F, X, U, P, se, st = 7, ee = 12, W = 17, G = 22, re = 5, ge = 9, be = 14, xe = 20, Ae = 4, le = 11, ye = 16, nt = 23, at = 6, Ee = 10, Ce = 15, Ie = 21;
2825
2825
  for (g = ve(g), k = j(g), X = 1732584193, U = 4023233417, P = 2562383102, se = 271733878, D = 0; D < k.length; D += 16)
2826
- B = X, V = U, J = P, F = se, X = H(X, U, P, se, k[D + 0], st, 3614090360), se = H(se, X, U, P, k[D + 1], ee, 3905402710), P = H(P, se, X, U, k[D + 2], W, 606105819), U = H(U, P, se, X, k[D + 3], G, 3250441966), X = H(X, U, P, se, k[D + 4], st, 4118548399), se = H(se, X, U, P, k[D + 5], ee, 1200080426), P = H(P, se, X, U, k[D + 6], W, 2821735955), U = H(U, P, se, X, k[D + 7], G, 4249261313), X = H(X, U, P, se, k[D + 8], st, 1770035416), se = H(se, X, U, P, k[D + 9], ee, 2336552879), P = H(P, se, X, U, k[D + 10], W, 4294925233), U = H(U, P, se, X, k[D + 11], G, 2304563134), X = H(X, U, P, se, k[D + 12], st, 1804603682), se = H(se, X, U, P, k[D + 13], ee, 4254626195), P = H(P, se, X, U, k[D + 14], W, 2792965006), U = H(U, P, se, X, k[D + 15], G, 1236535329), X = $(X, U, P, se, k[D + 1], re, 4129170786), se = $(se, X, U, P, k[D + 6], ge, 3225465664), P = $(P, se, X, U, k[D + 11], be, 643717713), U = $(U, P, se, X, k[D + 0], xe, 3921069994), X = $(X, U, P, se, k[D + 5], re, 3593408605), se = $(se, X, U, P, k[D + 10], ge, 38016083), P = $(P, se, X, U, k[D + 15], be, 3634488961), U = $(U, P, se, X, k[D + 4], xe, 3889429448), X = $(X, U, P, se, k[D + 9], re, 568446438), se = $(se, X, U, P, k[D + 14], ge, 3275163606), P = $(P, se, X, U, k[D + 3], be, 4107603335), U = $(U, P, se, X, k[D + 8], xe, 1163531501), X = $(X, U, P, se, k[D + 13], re, 2850285829), se = $(se, X, U, P, k[D + 2], ge, 4243563512), P = $(P, se, X, U, k[D + 7], be, 1735328473), U = $(U, P, se, X, k[D + 12], xe, 2368359562), X = oe(X, U, P, se, k[D + 5], Ce, 4294588738), se = oe(se, X, U, P, k[D + 8], le, 2272392833), P = oe(P, se, X, U, k[D + 11], ye, 1839030562), U = oe(U, P, se, X, k[D + 14], nt, 4259657740), X = oe(X, U, P, se, k[D + 1], Ce, 2763975236), se = oe(se, X, U, P, k[D + 4], le, 1272893353), P = oe(P, se, X, U, k[D + 7], ye, 4139469664), U = oe(U, P, se, X, k[D + 10], nt, 3200236656), X = oe(X, U, P, se, k[D + 13], Ce, 681279174), se = oe(se, X, U, P, k[D + 0], le, 3936430074), P = oe(P, se, X, U, k[D + 3], ye, 3572445317), U = oe(U, P, se, X, k[D + 6], nt, 76029189), X = oe(X, U, P, se, k[D + 9], Ce, 3654602809), se = oe(se, X, U, P, k[D + 12], le, 3873151461), P = oe(P, se, X, U, k[D + 15], ye, 530742520), U = oe(U, P, se, X, k[D + 2], nt, 3299628645), X = N(X, U, P, se, k[D + 0], at, 4096336452), se = N(se, X, U, P, k[D + 7], Ee, 1126891415), P = N(P, se, X, U, k[D + 14], Ae, 2878612391), U = N(U, P, se, X, k[D + 5], Ie, 4237533241), X = N(X, U, P, se, k[D + 12], at, 1700485571), se = N(se, X, U, P, k[D + 3], Ee, 2399980690), P = N(P, se, X, U, k[D + 10], Ae, 4293915773), U = N(U, P, se, X, k[D + 1], Ie, 2240044497), X = N(X, U, P, se, k[D + 8], at, 1873313359), se = N(se, X, U, P, k[D + 15], Ee, 4264355552), P = N(P, se, X, U, k[D + 6], Ae, 2734768916), U = N(U, P, se, X, k[D + 13], Ie, 1309151649), X = N(X, U, P, se, k[D + 4], at, 4149444226), se = N(se, X, U, P, k[D + 11], Ee, 3174756917), P = N(P, se, X, U, k[D + 2], Ae, 718787259), U = N(U, P, se, X, k[D + 9], Ie, 3951481745), X = E(X, B), U = E(U, V), P = E(P, J), se = E(se, F);
2826
+ B = X, V = U, J = P, F = se, X = H(X, U, P, se, k[D + 0], st, 3614090360), se = H(se, X, U, P, k[D + 1], ee, 3905402710), P = H(P, se, X, U, k[D + 2], W, 606105819), U = H(U, P, se, X, k[D + 3], G, 3250441966), X = H(X, U, P, se, k[D + 4], st, 4118548399), se = H(se, X, U, P, k[D + 5], ee, 1200080426), P = H(P, se, X, U, k[D + 6], W, 2821735955), U = H(U, P, se, X, k[D + 7], G, 4249261313), X = H(X, U, P, se, k[D + 8], st, 1770035416), se = H(se, X, U, P, k[D + 9], ee, 2336552879), P = H(P, se, X, U, k[D + 10], W, 4294925233), U = H(U, P, se, X, k[D + 11], G, 2304563134), X = H(X, U, P, se, k[D + 12], st, 1804603682), se = H(se, X, U, P, k[D + 13], ee, 4254626195), P = H(P, se, X, U, k[D + 14], W, 2792965006), U = H(U, P, se, X, k[D + 15], G, 1236535329), X = $(X, U, P, se, k[D + 1], re, 4129170786), se = $(se, X, U, P, k[D + 6], ge, 3225465664), P = $(P, se, X, U, k[D + 11], be, 643717713), U = $(U, P, se, X, k[D + 0], xe, 3921069994), X = $(X, U, P, se, k[D + 5], re, 3593408605), se = $(se, X, U, P, k[D + 10], ge, 38016083), P = $(P, se, X, U, k[D + 15], be, 3634488961), U = $(U, P, se, X, k[D + 4], xe, 3889429448), X = $(X, U, P, se, k[D + 9], re, 568446438), se = $(se, X, U, P, k[D + 14], ge, 3275163606), P = $(P, se, X, U, k[D + 3], be, 4107603335), U = $(U, P, se, X, k[D + 8], xe, 1163531501), X = $(X, U, P, se, k[D + 13], re, 2850285829), se = $(se, X, U, P, k[D + 2], ge, 4243563512), P = $(P, se, X, U, k[D + 7], be, 1735328473), U = $(U, P, se, X, k[D + 12], xe, 2368359562), X = oe(X, U, P, se, k[D + 5], Ae, 4294588738), se = oe(se, X, U, P, k[D + 8], le, 2272392833), P = oe(P, se, X, U, k[D + 11], ye, 1839030562), U = oe(U, P, se, X, k[D + 14], nt, 4259657740), X = oe(X, U, P, se, k[D + 1], Ae, 2763975236), se = oe(se, X, U, P, k[D + 4], le, 1272893353), P = oe(P, se, X, U, k[D + 7], ye, 4139469664), U = oe(U, P, se, X, k[D + 10], nt, 3200236656), X = oe(X, U, P, se, k[D + 13], Ae, 681279174), se = oe(se, X, U, P, k[D + 0], le, 3936430074), P = oe(P, se, X, U, k[D + 3], ye, 3572445317), U = oe(U, P, se, X, k[D + 6], nt, 76029189), X = oe(X, U, P, se, k[D + 9], Ae, 3654602809), se = oe(se, X, U, P, k[D + 12], le, 3873151461), P = oe(P, se, X, U, k[D + 15], ye, 530742520), U = oe(U, P, se, X, k[D + 2], nt, 3299628645), X = N(X, U, P, se, k[D + 0], at, 4096336452), se = N(se, X, U, P, k[D + 7], Ee, 1126891415), P = N(P, se, X, U, k[D + 14], Ce, 2878612391), U = N(U, P, se, X, k[D + 5], Ie, 4237533241), X = N(X, U, P, se, k[D + 12], at, 1700485571), se = N(se, X, U, P, k[D + 3], Ee, 2399980690), P = N(P, se, X, U, k[D + 10], Ce, 4293915773), U = N(U, P, se, X, k[D + 1], Ie, 2240044497), X = N(X, U, P, se, k[D + 8], at, 1873313359), se = N(se, X, U, P, k[D + 15], Ee, 4264355552), P = N(P, se, X, U, k[D + 6], Ce, 2734768916), U = N(U, P, se, X, k[D + 13], Ie, 1309151649), X = N(X, U, P, se, k[D + 4], at, 4149444226), se = N(se, X, U, P, k[D + 11], Ee, 3174756917), P = N(P, se, X, U, k[D + 2], Ce, 718787259), U = N(U, P, se, X, k[D + 9], Ie, 3951481745), X = E(X, B), U = E(U, V), P = E(P, J), se = E(se, F);
2827
2827
  var Oe = Se(X) + Se(U) + Se(P) + Se(se);
2828
2828
  return Oe.toLowerCase();
2829
2829
  }, Ze.closeMediaStream = function(g) {
@@ -2835,8 +2835,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2835
2835
  var E = t(T), y;
2836
2836
  try {
2837
2837
  for (E.s(); !(y = E.n()).done; ) {
2838
- var A = y.value;
2839
- A.stop();
2838
+ var C = y.value;
2839
+ C.stop();
2840
2840
  }
2841
2841
  } catch (j) {
2842
2842
  E.e(j);
@@ -2845,16 +2845,16 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2845
2845
  }
2846
2846
  } else {
2847
2847
  T = g.getAudioTracks();
2848
- var C = t(T), I;
2848
+ var A = t(T), I;
2849
2849
  try {
2850
- for (C.s(); !(I = C.n()).done; ) {
2850
+ for (A.s(); !(I = A.n()).done; ) {
2851
2851
  var H = I.value;
2852
2852
  H.stop();
2853
2853
  }
2854
2854
  } catch (j) {
2855
- C.e(j);
2855
+ A.e(j);
2856
2856
  } finally {
2857
- C.f();
2857
+ A.f();
2858
2858
  }
2859
2859
  T = g.getVideoTracks();
2860
2860
  var $ = t(T), oe;
@@ -3181,8 +3181,8 @@ function _d() {
3181
3181
  return T >= a ? _(g, T, a, "day") : T >= n ? _(g, T, n, "hour") : T >= t ? _(g, T, t, "minute") : T >= c ? _(g, T, c, "second") : g + " ms";
3182
3182
  }
3183
3183
  function _(g, T, E, y) {
3184
- var A = T >= E * 1.5;
3185
- return Math.round(g / E) + " " + y + (A ? "s" : "");
3184
+ var C = T >= E * 1.5;
3185
+ return Math.round(g / E) + " " + y + (C ? "s" : "");
3186
3186
  }
3187
3187
  return _o;
3188
3188
  }
@@ -3198,11 +3198,11 @@ function pd(c) {
3198
3198
  }
3199
3199
  n.selectColor = t;
3200
3200
  function n(g) {
3201
- let T, E = null, y, A;
3202
- function C(...I) {
3203
- if (!C.enabled)
3201
+ let T, E = null, y, C;
3202
+ function A(...I) {
3203
+ if (!A.enabled)
3204
3204
  return;
3205
- const H = C, $ = Number(/* @__PURE__ */ new Date()), oe = $ - (T || $);
3205
+ const H = A, $ = Number(/* @__PURE__ */ new Date()), oe = $ - (T || $);
3206
3206
  H.diff = oe, H.prev = T, H.curr = $, T = $, I[0] = n.coerce(I[0]), typeof I[0] != "string" && I.unshift("%O");
3207
3207
  let N = 0;
3208
3208
  I[0] = I[0].replace(/%([a-zA-Z%])/g, (Se, ve) => {
@@ -3217,14 +3217,14 @@ function pd(c) {
3217
3217
  return Se;
3218
3218
  }), n.formatArgs.call(H, I), (H.log || n.log).apply(H, I);
3219
3219
  }
3220
- return C.namespace = g, C.useColors = n.useColors(), C.color = n.selectColor(g), C.extend = a, C.destroy = n.destroy, Object.defineProperty(C, "enabled", {
3220
+ return A.namespace = g, A.useColors = n.useColors(), A.color = n.selectColor(g), A.extend = a, A.destroy = n.destroy, Object.defineProperty(A, "enabled", {
3221
3221
  enumerable: !0,
3222
3222
  configurable: !1,
3223
- get: () => E !== null ? E : (y !== n.namespaces && (y = n.namespaces, A = n.enabled(g)), A),
3223
+ get: () => E !== null ? E : (y !== n.namespaces && (y = n.namespaces, C = n.enabled(g)), C),
3224
3224
  set: (I) => {
3225
3225
  E = I;
3226
3226
  }
3227
- }), typeof n.init == "function" && n.init(C), C;
3227
+ }), typeof n.init == "function" && n.init(A), A;
3228
3228
  }
3229
3229
  function a(g, T) {
3230
3230
  const E = n(this.namespace + (typeof T > "u" ? ":" : T) + g);
@@ -3899,10 +3899,10 @@ var Zf = Qf.exports;
3899
3899
  return d.split(/(\r\n|\r|\n)/).filter(s).forEach(function(T) {
3900
3900
  var E = T[0], y = T.slice(2);
3901
3901
  E === "m" && (_.push({ rtp: [], fmtp: [] }), g = _[_.length - 1]);
3902
- for (var A = 0; A < (o[E] || []).length; A += 1) {
3903
- var C = o[E][A];
3904
- if (C.reg.test(y))
3905
- return a(C, g, y);
3902
+ for (var C = 0; C < (o[E] || []).length; C += 1) {
3903
+ var A = o[E][C];
3904
+ if (A.reg.test(y))
3905
+ return a(A, g, y);
3906
3906
  }
3907
3907
  }), h.media = _, h;
3908
3908
  };
@@ -3979,7 +3979,7 @@ var po = Zf, vd = /%[sdv%]/g, Ed = function(c) {
3979
3979
  "r",
3980
3980
  "z",
3981
3981
  "a"
3982
- ], yd = ["i", "c", "b", "a"], Ad = function(c, t) {
3982
+ ], yd = ["i", "c", "b", "a"], Cd = function(c, t) {
3983
3983
  t = t || {}, c.version == null && (c.version = 0), c.name == null && (c.name = " "), c.media.forEach(function(s) {
3984
3984
  s.payloads == null && (s.payloads = "");
3985
3985
  });
@@ -4001,8 +4001,8 @@ var po = Zf, vd = /%[sdv%]/g, Ed = function(c) {
4001
4001
  }), o.join(`\r
4002
4002
  `) + `\r
4003
4003
  `;
4004
- }, bn = Xf, Cd = Ad;
4005
- xt.write = Cd;
4004
+ }, bn = Xf, Ad = Cd;
4005
+ xt.write = Ad;
4006
4006
  xt.parse = bn.parse;
4007
4007
  xt.parseParams = bn.parseParams;
4008
4008
  xt.parseFmtpConfig = bn.parseFmtpConfig;
@@ -4143,8 +4143,8 @@ var eh = xt, Od = ht, Et = lt, rt = bt(), nc = Ou(), Dd = os(), mo = new Od("SIP
4143
4143
  typeof o.from_display_name < "u" ? E = o.from_display_name : a.configuration.display_name ? E = a.configuration.display_name : E = null, this.from = new nc(g, E, T), this.setHeader("from", this.from.toString());
4144
4144
  var y = o.call_id || a.configuration.jssip_id + rt.createRandomToken(15);
4145
4145
  this.call_id = y, this.setHeader("call-id", y);
4146
- var A = o.cseq || Math.floor(Math.random() * 1e4);
4147
- this.cseq = A, this.setHeader("cseq", "".concat(A, " ").concat(t));
4146
+ var C = o.cseq || Math.floor(Math.random() * 1e4);
4147
+ this.cseq = C, this.setHeader("cseq", "".concat(C, " ").concat(t));
4148
4148
  }
4149
4149
  return Ba(c, [{
4150
4150
  key: "setHeader",
@@ -4493,17 +4493,17 @@ var eh = xt, Od = ht, Et = lt, rt = bt(), nc = Ou(), Dd = os(), mo = new Od("SIP
4493
4493
  var E = "SIP/2.0 ".concat(o, " ").concat(s, `\r
4494
4494
  `);
4495
4495
  if (this.method === Et.INVITE && o > 100 && o <= 200) {
4496
- var y = this.getHeaders("record-route"), A = Bt(y), C;
4496
+ var y = this.getHeaders("record-route"), C = Bt(y), A;
4497
4497
  try {
4498
- for (A.s(); !(C = A.n()).done; ) {
4499
- var I = C.value;
4498
+ for (C.s(); !(A = C.n()).done; ) {
4499
+ var I = A.value;
4500
4500
  E += "Record-Route: ".concat(I, `\r
4501
4501
  `);
4502
4502
  }
4503
4503
  } catch (D) {
4504
- A.e(D);
4504
+ C.e(D);
4505
4505
  } finally {
4506
- A.f();
4506
+ C.f();
4507
4507
  }
4508
4508
  }
4509
4509
  var H = this.getHeaders("via"), $ = Bt(H), oe;
@@ -4581,8 +4581,8 @@ var eh = xt, Od = ht, Et = lt, rt = bt(), nc = Ou(), Dd = os(), mo = new Od("SIP
4581
4581
  d += "Via: ".concat(g, `\r
4582
4582
  `);
4583
4583
  }
4584
- } catch (C) {
4585
- h.e(C);
4584
+ } catch (A) {
4585
+ h.e(A);
4586
4586
  } finally {
4587
4587
  h.f();
4588
4588
  }
@@ -4595,12 +4595,12 @@ var eh = xt, Od = ht, Et = lt, rt = bt(), nc = Ou(), Dd = os(), mo = new Od("SIP
4595
4595
  var E = Bt(this.ua.configuration.extra_headers), y;
4596
4596
  try {
4597
4597
  for (E.s(); !(y = E.n()).done; ) {
4598
- var A = y.value;
4599
- d += "".concat(A.trim(), `\r
4598
+ var C = y.value;
4599
+ d += "".concat(C.trim(), `\r
4600
4600
  `);
4601
4601
  }
4602
- } catch (C) {
4603
- E.e(C);
4602
+ } catch (A) {
4603
+ E.e(A);
4604
4604
  } finally {
4605
4605
  E.f();
4606
4606
  }
@@ -5341,8 +5341,8 @@ var t_ = ht, vo = bt(), pn = lt, dc = Ss, _c = dl, Ni = new t_("Registrator"), j
5341
5341
  Ni.debug("no Contact header in response to REGISTER, response ignored");
5342
5342
  break;
5343
5343
  }
5344
- var h = d.headers.Contact.reduce(function(y, A) {
5345
- return y.concat(A.parsed);
5344
+ var h = d.headers.Contact.reduce(function(y, C) {
5345
+ return y.concat(C.parsed);
5346
5346
  }, []), _ = h.find(function(y) {
5347
5347
  return n._sipInstance === y.getParam("+sip.instance") && n._reg_id === parseInt(y.getParam("reg-id"));
5348
5348
  });
@@ -5538,7 +5538,7 @@ function mc(c, t) {
5538
5538
  function gc(c, t, n) {
5539
5539
  return t && mc(c.prototype, t), n && mc(c, n), c;
5540
5540
  }
5541
- var o_ = ht, Tc = Ss, Ms = lt, Ui = hl, u_ = l_, yo = bt(), Ao = new o_("Dialog"), Ls = {
5541
+ var o_ = ht, Tc = Ss, Ms = lt, Ui = hl, u_ = l_, yo = bt(), Co = new o_("Dialog"), Ls = {
5542
5542
  // Dialog states.
5543
5543
  STATUS_EARLY: 1,
5544
5544
  STATUS_CONFIRMED: 2,
@@ -5573,7 +5573,7 @@ var o_ = ht, Tc = Ss, Ms = lt, Ui = hl, u_ = l_, yo = bt(), Ao = new o_("Dialog"
5573
5573
  toString: function() {
5574
5574
  return this.call_id + this.local_tag + this.remote_tag;
5575
5575
  }
5576
- }, this._state = o, this._local_seqnum = n.cseq, this._local_uri = n.parseHeader("from").uri, this._remote_uri = n.parseHeader("to").uri, this._remote_target = s.uri, this._route_set = n.getHeaders("record-route").reverse(), this._ack_seqnum = null), this._ua.newDialog(this), Ao.debug("new ".concat(a, " dialog created with status ").concat(this._state === Ls.STATUS_EARLY ? "EARLY" : "CONFIRMED"));
5576
+ }, this._state = o, this._local_seqnum = n.cseq, this._local_uri = n.parseHeader("from").uri, this._remote_uri = n.parseHeader("to").uri, this._remote_target = s.uri, this._route_set = n.getHeaders("record-route").reverse(), this._ack_seqnum = null), this._ua.newDialog(this), Co.debug("new ".concat(a, " dialog created with status ").concat(this._state === Ls.STATUS_EARLY ? "EARLY" : "CONFIRMED"));
5577
5577
  }
5578
5578
  return gc(c, [{
5579
5579
  key: "isTerminated",
@@ -5583,12 +5583,12 @@ var o_ = ht, Tc = Ss, Ms = lt, Ui = hl, u_ = l_, yo = bt(), Ao = new o_("Dialog"
5583
5583
  }, {
5584
5584
  key: "update",
5585
5585
  value: function(n, a) {
5586
- this._state = Ls.STATUS_CONFIRMED, Ao.debug("dialog ".concat(this._id.toString(), " changed to CONFIRMED state")), a === "UAC" && (this._route_set = n.getHeaders("record-route").reverse());
5586
+ this._state = Ls.STATUS_CONFIRMED, Co.debug("dialog ".concat(this._id.toString(), " changed to CONFIRMED state")), a === "UAC" && (this._route_set = n.getHeaders("record-route").reverse());
5587
5587
  }
5588
5588
  }, {
5589
5589
  key: "terminate",
5590
5590
  value: function() {
5591
- Ao.debug("dialog ".concat(this._id.toString(), " deleted")), this._ua.destroyDialog(this), this._state = Ls.STATUS_TERMINATED;
5591
+ Co.debug("dialog ".concat(this._id.toString(), " deleted")), this._ua.destroyDialog(this), this._state = Ls.STATUS_TERMINATED;
5592
5592
  }
5593
5593
  }, {
5594
5594
  key: "sendRequest",
@@ -5855,7 +5855,7 @@ Pu.exports = /* @__PURE__ */ function(c) {
5855
5855
  }]), n;
5856
5856
  }(T_);
5857
5857
  Pu.exports.C = rh;
5858
- var A_ = Pu.exports;
5858
+ var C_ = Pu.exports;
5859
5859
  function Sa(c) {
5860
5860
  "@babel/helpers - typeof";
5861
5861
  return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Sa = function(n) {
@@ -5864,7 +5864,7 @@ function Sa(c) {
5864
5864
  return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
5865
5865
  }, Sa(c);
5866
5866
  }
5867
- function C_(c, t) {
5867
+ function A_(c, t) {
5868
5868
  if (!(c instanceof t))
5869
5869
  throw new TypeError("Cannot call a class as a function");
5870
5870
  }
@@ -5929,7 +5929,7 @@ var N_ = ft.EventEmitter, U_ = lt, P_ = Ws, x_ = bt(), k_ = /* @__PURE__ */ func
5929
5929
  var t = b_(n);
5930
5930
  function n(a) {
5931
5931
  var o;
5932
- return C_(this, n), o = t.call(this), o._session = a, o._direction = null, o._contentType = null, o._body = null, o;
5932
+ return A_(this, n), o = t.call(this), o._session = a, o._direction = null, o._contentType = null, o._body = null, o;
5933
5933
  }
5934
5934
  return R_(n, [{
5935
5935
  key: "send",
@@ -6007,22 +6007,22 @@ function yc(c, t) {
6007
6007
  function L_(c, t, n) {
6008
6008
  return t && yc(c.prototype, t), n && yc(c, n), c;
6009
6009
  }
6010
- var $_ = ht, Ac = lt, H_ = new $_("RTCSession:ReferNotifier"), Co = {
6010
+ var $_ = ht, Cc = lt, H_ = new $_("RTCSession:ReferNotifier"), Ao = {
6011
6011
  event_type: "refer",
6012
6012
  body_type: "message/sipfrag;version=2.0",
6013
6013
  expires: 300
6014
6014
  }, F_ = /* @__PURE__ */ function() {
6015
6015
  function c(t, n, a) {
6016
- M_(this, c), this._session = t, this._id = n, this._expires = a || Co.expires, this._active = !0, this.notify(100);
6016
+ M_(this, c), this._session = t, this._id = n, this._expires = a || Ao.expires, this._active = !0, this.notify(100);
6017
6017
  }
6018
6018
  return L_(c, [{
6019
6019
  key: "notify",
6020
6020
  value: function(n, a) {
6021
6021
  if (H_.debug("notify()"), this._active !== !1) {
6022
- a = a || Ac.REASON_PHRASE[n] || "";
6022
+ a = a || Cc.REASON_PHRASE[n] || "";
6023
6023
  var o;
6024
- n >= 200 ? o = "terminated;reason=noresource" : o = "active;expires=".concat(this._expires), this._session.sendRequest(Ac.NOTIFY, {
6025
- extraHeaders: ["Event: ".concat(Co.event_type, ";id=").concat(this._id), "Subscription-State: ".concat(o), "Content-Type: ".concat(Co.body_type)],
6024
+ n >= 200 ? o = "terminated;reason=noresource" : o = "active;expires=".concat(this._expires), this._session.sendRequest(Cc.NOTIFY, {
6025
+ extraHeaders: ["Event: ".concat(Ao.event_type, ";id=").concat(this._id), "Subscription-State: ".concat(o), "Content-Type: ".concat(Ao.body_type)],
6026
6026
  body: "SIP/2.0 ".concat(n, " ").concat(a),
6027
6027
  eventHandlers: {
6028
6028
  // If a negative response is received, subscription is canceled.
@@ -6047,14 +6047,14 @@ function j_(c, t) {
6047
6047
  if (!(c instanceof t))
6048
6048
  throw new TypeError("Cannot call a class as a function");
6049
6049
  }
6050
- function Cc(c, t) {
6050
+ function Ac(c, t) {
6051
6051
  for (var n = 0; n < t.length; n++) {
6052
6052
  var a = t[n];
6053
6053
  a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(c, a.key, a);
6054
6054
  }
6055
6055
  }
6056
6056
  function q_(c, t, n) {
6057
- return t && Cc(c.prototype, t), n && Cc(c, n), c;
6057
+ return t && Ac(c.prototype, t), n && Ac(c, n), c;
6058
6058
  }
6059
6059
  function V_(c, t) {
6060
6060
  if (typeof t != "function" && t !== null)
@@ -6121,8 +6121,8 @@ var Y_ = ft.EventEmitter, J_ = ht, Pi = lt, z_ = os(), Rc = bt(), mn = new J_("R
6121
6121
  var g = null;
6122
6122
  r.replaces && (g = r.replaces._request.call_id, g += ";to-tag=".concat(r.replaces._to_tag), g += ";from-tag=".concat(r.replaces._from_tag), g = encodeURIComponent(g));
6123
6123
  var T = "Refer-To: <".concat(o).concat(g ? "?Replaces=".concat(g) : "", ">");
6124
- if (d.push(T), !d.some(function(A) {
6125
- return A.toLowerCase().startsWith("referred-by:");
6124
+ if (d.push(T), !d.some(function(C) {
6125
+ return C.toLowerCase().startsWith("referred-by:");
6126
6126
  })) {
6127
6127
  var E = "Referred-By: <".concat(this._session._ua._configuration.uri._scheme, ":").concat(this._session._ua._configuration.uri._user, "@").concat(this._session._ua._configuration.uri._host, ">");
6128
6128
  d.push(E);
@@ -6131,11 +6131,11 @@ var Y_ = ft.EventEmitter, J_ = ht, Pi = lt, z_ = os(), Rc = bt(), mn = new J_("R
6131
6131
  var y = this._session.sendRequest(Pi.REFER, {
6132
6132
  extraHeaders: d,
6133
6133
  eventHandlers: {
6134
- onSuccessResponse: function(C) {
6135
- s._requestSucceeded(C);
6134
+ onSuccessResponse: function(A) {
6135
+ s._requestSucceeded(A);
6136
6136
  },
6137
- onErrorResponse: function(C) {
6138
- s._requestFailed(C, Pi.causes.REJECTED);
6137
+ onErrorResponse: function(A) {
6138
+ s._requestFailed(A, Pi.causes.REJECTED);
6139
6139
  },
6140
6140
  onTransportError: function() {
6141
6141
  s._requestFailed(null, Pi.causes.CONNECTION_ERROR);
@@ -6210,13 +6210,13 @@ var Y_ = ft.EventEmitter, J_ = ht, Pi = lt, z_ = os(), Rc = bt(), mn = new J_("R
6210
6210
  }
6211
6211
  }]), n;
6212
6212
  }(Y_);
6213
- function Aa(c) {
6213
+ function Ca(c) {
6214
6214
  "@babel/helpers - typeof";
6215
- return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Aa = function(n) {
6215
+ return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Ca = function(n) {
6216
6216
  return typeof n;
6217
- } : Aa = function(n) {
6217
+ } : Ca = function(n) {
6218
6218
  return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
6219
- }, Aa(c);
6219
+ }, Ca(c);
6220
6220
  }
6221
6221
  function _s(c, t) {
6222
6222
  var n;
@@ -6304,7 +6304,7 @@ function tp(c) {
6304
6304
  };
6305
6305
  }
6306
6306
  function sp(c, t) {
6307
- return t && (Aa(t) === "object" || typeof t == "function") ? t : np(c);
6307
+ return t && (Ca(t) === "object" || typeof t == "function") ? t : np(c);
6308
6308
  }
6309
6309
  function np(c) {
6310
6310
  if (c === void 0)
@@ -6328,7 +6328,7 @@ function xa(c) {
6328
6328
  return n.__proto__ || Object.getPrototypeOf(n);
6329
6329
  }, xa(c);
6330
6330
  }
6331
- var ip = ft.EventEmitter, Oc = xt, lp = ht, ce = lt, gn = Ws, Dc = hl, Ve = bt(), xi = nh, ap = Ss, Vl = c_, op = dl, kt = A_, Nc = k_, up = F_, cp = X_, Uc = Ks(), K = new lp("RTCSession"), Q = {
6331
+ var ip = ft.EventEmitter, Oc = xt, lp = ht, ce = lt, gn = Ws, Dc = hl, Ve = bt(), xi = nh, ap = Ss, Vl = c_, op = dl, kt = C_, Nc = k_, up = F_, cp = X_, Uc = Ks(), K = new lp("RTCSession"), Q = {
6332
6332
  // RTCSession states.
6333
6333
  STATUS_NULL: 0,
6334
6334
  STATUS_INVITE_SENT: 1,
@@ -6433,8 +6433,8 @@ var ip = ft.EventEmitter, Oc = xt, lp = ht, ce = lt, gn = Ws, Dc = hl, Ve = bt()
6433
6433
  video: !0
6434
6434
  }), T = s.mediaStream || null, E = Ve.cloneObject(s.pcConfig, {
6435
6435
  iceServers: []
6436
- }), y = s.rtcConstraints || null, A = s.rtcOfferConstraints || null;
6437
- if (this._rtcOfferConstraints = A, this._rtcAnswerConstraints = s.rtcAnswerConstraints || null, this._data = s.data || this._data, o === void 0)
6436
+ }), y = s.rtcConstraints || null, C = s.rtcOfferConstraints || null;
6437
+ if (this._rtcOfferConstraints = C, this._rtcAnswerConstraints = s.rtcAnswerConstraints || null, this._data = s.data || this._data, o === void 0)
6438
6438
  throw new TypeError("Not enough arguments");
6439
6439
  if (this._status !== Q.STATUS_NULL)
6440
6440
  throw new gn.InvalidStateError(this._status);
@@ -6443,8 +6443,8 @@ var ip = ft.EventEmitter, Oc = xt, lp = ht, ce = lt, gn = Ws, Dc = hl, Ve = bt()
6443
6443
  if (o = this._ua.normalizeTarget(o), !o)
6444
6444
  throw new TypeError("Invalid target: ".concat(d));
6445
6445
  this._sessionTimers.enabled && Ve.isDecimal(s.sessionTimersExpires) && (s.sessionTimersExpires >= ce.MIN_SESSION_EXPIRES ? this._sessionTimers.defaultExpires = s.sessionTimersExpires : this._sessionTimers.defaultExpires = ce.SESSION_EXPIRES);
6446
- for (var C in h)
6447
- Object.prototype.hasOwnProperty.call(h, C) && this.on(C, h[C]);
6446
+ for (var A in h)
6447
+ Object.prototype.hasOwnProperty.call(h, A) && this.on(A, h[A]);
6448
6448
  this._from_tag = Ve.newTag();
6449
6449
  var I = s.anonymous || !1, H = {
6450
6450
  from_tag: this._from_tag
@@ -6452,7 +6452,7 @@ var ip = ft.EventEmitter, Oc = xt, lp = ht, ce = lt, gn = Ws, Dc = hl, Ve = bt()
6452
6452
  this._contact = this._ua.contact.toString({
6453
6453
  anonymous: I,
6454
6454
  outbound: !0
6455
- }), I ? (H.from_display_name = "Anonymous", H.from_uri = new Uc("sip", "anonymous", "anonymous.invalid"), _.push("P-Preferred-Identity: ".concat(this._ua.configuration.uri.toString())), _.push("Privacy: id")) : s.fromUserName && (H.from_uri = new Uc("sip", s.fromUserName, this._ua.configuration.uri.host), _.push("P-Preferred-Identity: ".concat(this._ua.configuration.uri.toString()))), s.fromDisplayName && (H.from_display_name = s.fromDisplayName), _.push("Contact: ".concat(this._contact)), _.push("Content-Type: application/sdp"), this._sessionTimers.enabled && _.push("Session-Expires: ".concat(this._sessionTimers.defaultExpires).concat(this._ua.configuration.session_timers_force_refresher ? ";refresher=uac" : "")), this._request = new ap.InitialOutgoingInviteRequest(o, this._ua, H, _), this._id = this._request.call_id + this._from_tag, this._createRTCConnection(E, y), this._direction = "outgoing", this._local_identity = this._request.from, this._remote_identity = this._request.to, r && r(this), this._newRTCSession("local", this._request), this._sendInitialRequest(g, A, T);
6455
+ }), I ? (H.from_display_name = "Anonymous", H.from_uri = new Uc("sip", "anonymous", "anonymous.invalid"), _.push("P-Preferred-Identity: ".concat(this._ua.configuration.uri.toString())), _.push("Privacy: id")) : s.fromUserName && (H.from_uri = new Uc("sip", s.fromUserName, this._ua.configuration.uri.host), _.push("P-Preferred-Identity: ".concat(this._ua.configuration.uri.toString()))), s.fromDisplayName && (H.from_display_name = s.fromDisplayName), _.push("Contact: ".concat(this._contact)), _.push("Content-Type: application/sdp"), this._sessionTimers.enabled && _.push("Session-Expires: ".concat(this._sessionTimers.defaultExpires).concat(this._ua.configuration.session_timers_force_refresher ? ";refresher=uac" : "")), this._request = new ap.InitialOutgoingInviteRequest(o, this._ua, H, _), this._id = this._request.call_id + this._from_tag, this._createRTCConnection(E, y), this._direction = "outgoing", this._local_identity = this._request.from, this._remote_identity = this._request.to, r && r(this), this._newRTCSession("local", this._request), this._sendInitialRequest(g, C, T);
6456
6456
  }
6457
6457
  }, {
6458
6458
  key: "init_incoming",
@@ -6484,7 +6484,7 @@ var ip = ft.EventEmitter, Oc = xt, lp = ht, ce = lt, gn = Ws, Dc = hl, Ve = bt()
6484
6484
  K.debug("answer()");
6485
6485
  var r = this._request, d = Ve.cloneArray(s.extraHeaders), h = Ve.cloneObject(s.mediaConstraints), _ = s.mediaStream || null, g = Ve.cloneObject(s.pcConfig, {
6486
6486
  iceServers: []
6487
- }), T = s.rtcConstraints || null, E = s.rtcAnswerConstraints || null, y = Ve.cloneObject(s.rtcOfferConstraints), A, C = !1, I = !1, H = !1, $ = !1;
6487
+ }), T = s.rtcConstraints || null, E = s.rtcAnswerConstraints || null, y = Ve.cloneObject(s.rtcOfferConstraints), C, A = !1, I = !1, H = !1, $ = !1;
6488
6488
  if (this._rtcAnswerConstraints = E, this._rtcOfferConstraints = s.rtcOfferConstraints || null, this._data = s.data || this._data, this._direction !== "incoming")
6489
6489
  throw new gn.NotSupportedError('"answer" not supported for outgoing RTCSession');
6490
6490
  if (this._status !== Q.STATUS_WAITING_FOR_ANSWER)
@@ -6500,7 +6500,7 @@ var ip = ft.EventEmitter, Oc = xt, lp = ht, ce = lt, gn = Ws, Dc = hl, Ve = bt()
6500
6500
  try {
6501
6501
  for (N.s(); !(j = N.n()).done; ) {
6502
6502
  var Se = j.value;
6503
- Se.type === "audio" && (C = !0, (!Se.direction || Se.direction === "sendrecv") && (H = !0)), Se.type === "video" && (I = !0, (!Se.direction || Se.direction === "sendrecv") && ($ = !0));
6503
+ Se.type === "audio" && (A = !0, (!Se.direction || Se.direction === "sendrecv") && (H = !0)), Se.type === "video" && (I = !0, (!Se.direction || Se.direction === "sendrecv") && ($ = !0));
6504
6504
  }
6505
6505
  } catch (F) {
6506
6506
  N.e(F);
@@ -6508,8 +6508,8 @@ var ip = ft.EventEmitter, Oc = xt, lp = ht, ce = lt, gn = Ws, Dc = hl, Ve = bt()
6508
6508
  N.f();
6509
6509
  }
6510
6510
  if (_ && h.audio === !1) {
6511
- A = _.getAudioTracks();
6512
- var ve = _s(A), k;
6511
+ C = _.getAudioTracks();
6512
+ var ve = _s(C), k;
6513
6513
  try {
6514
6514
  for (ve.s(); !(k = ve.n()).done; ) {
6515
6515
  var D = k.value;
@@ -6522,8 +6522,8 @@ var ip = ft.EventEmitter, Oc = xt, lp = ht, ce = lt, gn = Ws, Dc = hl, Ve = bt()
6522
6522
  }
6523
6523
  }
6524
6524
  if (_ && h.video === !1) {
6525
- A = _.getVideoTracks();
6526
- var B = _s(A), V;
6525
+ C = _.getVideoTracks();
6526
+ var B = _s(C), V;
6527
6527
  try {
6528
6528
  for (B.s(); !(V = B.n()).done; ) {
6529
6529
  var J = V.value;
@@ -6535,7 +6535,7 @@ var ip = ft.EventEmitter, Oc = xt, lp = ht, ce = lt, gn = Ws, Dc = hl, Ve = bt()
6535
6535
  B.f();
6536
6536
  }
6537
6537
  }
6538
- !_ && h.audio === void 0 && (h.audio = H), !_ && h.video === void 0 && (h.video = $), !_ && !C && !y.offerToReceiveAudio && (h.audio = !1), !_ && !I && !y.offerToReceiveVideo && (h.video = !1), this._createRTCConnection(g, T), Promise.resolve().then(function() {
6538
+ !_ && h.audio === void 0 && (h.audio = H), !_ && h.video === void 0 && (h.video = $), !_ && !A && !y.offerToReceiveAudio && (h.audio = !1), !_ && !I && !y.offerToReceiveVideo && (h.video = !1), this._createRTCConnection(g, T), Promise.resolve().then(function() {
6539
6539
  if (_)
6540
6540
  return _;
6541
6541
  if (h.audio || h.video)
@@ -6618,8 +6618,8 @@ var ip = ft.EventEmitter, Oc = xt, lp = ht, ce = lt, gn = Ws, Dc = hl, Ve = bt()
6618
6618
  if (g && d.push("Reason: SIP ;cause=".concat(g, '; text="').concat(T, '"')), this._status === Q.STATUS_WAITING_FOR_ACK && this._direction === "incoming" && this._request.server_transaction.state !== Dc.C.STATUS_TERMINATED) {
6619
6619
  var E = this._dialog;
6620
6620
  this.receiveRequest = function(y) {
6621
- var A = y.method;
6622
- A === ce.ACK && (o.sendRequest(ce.BYE, {
6621
+ var C = y.method;
6622
+ C === ce.ACK && (o.sendRequest(ce.BYE, {
6623
6623
  extraHeaders: d,
6624
6624
  body: h
6625
6625
  }), E.terminate());
@@ -6670,16 +6670,16 @@ var ip = ft.EventEmitter, Oc = xt, lp = ht, ce = lt, gn = Ws, Dc = hl, Ve = bt()
6670
6670
  this._tones = null;
6671
6671
  return;
6672
6672
  }
6673
- var A = this._tones[r];
6674
- if (r += 1, A === ",")
6673
+ var C = this._tones[r];
6674
+ if (r += 1, C === ",")
6675
6675
  y = 2e3;
6676
6676
  else {
6677
- var C = new kt(this);
6677
+ var A = new kt(this);
6678
6678
  s.eventHandlers = {
6679
6679
  onFailed: function() {
6680
6680
  E._tones = null;
6681
6681
  }
6682
- }, C.send(A, s), y = d + h;
6682
+ }, A.send(C, s), y = d + h;
6683
6683
  }
6684
6684
  setTimeout(T.bind(this), y);
6685
6685
  }
@@ -7066,7 +7066,7 @@ var ip = ft.EventEmitter, Oc = xt, lp = ht, ce = lt, gn = Ws, Dc = hl, Ve = bt()
7066
7066
  return new Promise(function(g) {
7067
7067
  var T = !1, E, y;
7068
7068
  r._iceReady = !1;
7069
- var A = function() {
7069
+ var C = function() {
7070
7070
  d.removeEventListener("icecandidate", E), d.removeEventListener("icegatheringstatechange", y), T = !0, r._rtcReady = !0, r._iceReady = !0;
7071
7071
  var I = {
7072
7072
  originator: "local",
@@ -7079,10 +7079,10 @@ var ip = ft.EventEmitter, Oc = xt, lp = ht, ce = lt, gn = Ws, Dc = hl, Ve = bt()
7079
7079
  var H = I.candidate;
7080
7080
  H ? r.emit("icecandidate", {
7081
7081
  candidate: H,
7082
- ready: A
7083
- }) : T || A();
7082
+ ready: C
7083
+ }) : T || C();
7084
7084
  }), d.addEventListener("icegatheringstatechange", y = function() {
7085
- d.iceGatheringState === "complete" && !T && A();
7085
+ d.iceGatheringState === "complete" && !T && C();
7086
7086
  });
7087
7087
  });
7088
7088
  });
@@ -7117,12 +7117,12 @@ var ip = ft.EventEmitter, Oc = xt, lp = ht, ce = lt, gn = Ws, Dc = hl, Ve = bt()
7117
7117
  function _() {
7118
7118
  var T = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
7119
7119
  h = !0;
7120
- var E = T.status_code || 403, y = T.reason_phrase || "", A = Ve.cloneArray(T.extraHeaders);
7120
+ var E = T.status_code || 403, y = T.reason_phrase || "", C = Ve.cloneArray(T.extraHeaders);
7121
7121
  if (this._status !== Q.STATUS_CONFIRMED)
7122
7122
  return !1;
7123
7123
  if (E < 300 || E >= 700)
7124
7124
  throw new TypeError("Invalid status_code: ".concat(E));
7125
- o.reply(E, y, A);
7125
+ o.reply(E, y, C);
7126
7126
  }
7127
7127
  if (this.emit("reinvite", d), h)
7128
7128
  return;
@@ -7168,12 +7168,12 @@ var ip = ft.EventEmitter, Oc = xt, lp = ht, ce = lt, gn = Ws, Dc = hl, Ve = bt()
7168
7168
  function _() {
7169
7169
  var T = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
7170
7170
  h = !0;
7171
- var E = T.status_code || 403, y = T.reason_phrase || "", A = Ve.cloneArray(T.extraHeaders);
7171
+ var E = T.status_code || 403, y = T.reason_phrase || "", C = Ve.cloneArray(T.extraHeaders);
7172
7172
  if (this._status !== Q.STATUS_CONFIRMED)
7173
7173
  return !1;
7174
7174
  if (E < 300 || E >= 700)
7175
7175
  throw new TypeError("Invalid status_code: ".concat(E));
7176
- o.reply(E, y, A);
7176
+ o.reply(E, y, C);
7177
7177
  }
7178
7178
  if (this.emit("update", d), h)
7179
7179
  return;
@@ -7214,8 +7214,8 @@ var ip = ft.EventEmitter, Oc = xt, lp = ht, ce = lt, gn = Ws, Dc = hl, Ve = bt()
7214
7214
  }
7215
7215
  }
7216
7216
  }
7217
- } catch (A) {
7218
- h.e(A);
7217
+ } catch (C) {
7218
+ h.e(C);
7219
7219
  } finally {
7220
7220
  h.f();
7221
7221
  }
@@ -7232,8 +7232,8 @@ var ip = ft.EventEmitter, Oc = xt, lp = ht, ce = lt, gn = Ws, Dc = hl, Ve = bt()
7232
7232
  return this._connectionPromiseQueue = this._connectionPromiseQueue.then(function() {
7233
7233
  if (s._status === Q.STATUS_TERMINATED)
7234
7234
  throw new Error("terminated");
7235
- return s._connection.setRemoteDescription(y).catch(function(A) {
7236
- throw o.reply(488), K.warn('emit "peerconnection:setremotedescriptionfailed" [error:%o]', A), s.emit("peerconnection:setremotedescriptionfailed", A), A;
7235
+ return s._connection.setRemoteDescription(y).catch(function(C) {
7236
+ throw o.reply(488), K.warn('emit "peerconnection:setremotedescriptionfailed" [error:%o]', C), s.emit("peerconnection:setremotedescriptionfailed", C), C;
7237
7237
  });
7238
7238
  }).then(function() {
7239
7239
  if (s._status === Q.STATUS_TERMINATED)
@@ -7242,11 +7242,11 @@ var ip = ft.EventEmitter, Oc = xt, lp = ht, ce = lt, gn = Ws, Dc = hl, Ve = bt()
7242
7242
  }).then(function() {
7243
7243
  if (s._status === Q.STATUS_TERMINATED)
7244
7244
  throw new Error("terminated");
7245
- return s._createLocalDescription("answer", s._rtcAnswerConstraints).catch(function(A) {
7246
- throw o.reply(500), K.warn('emit "peerconnection:createtelocaldescriptionfailed" [error:%o]', A), A;
7245
+ return s._createLocalDescription("answer", s._rtcAnswerConstraints).catch(function(C) {
7246
+ throw o.reply(500), K.warn('emit "peerconnection:createtelocaldescriptionfailed" [error:%o]', C), C;
7247
7247
  });
7248
- }).catch(function(A) {
7249
- K.warn("_processInDialogSdpOffer() failed [error: %o]", A);
7248
+ }).catch(function(C) {
7249
+ K.warn("_processInDialogSdpOffer() failed [error: %o]", C);
7250
7250
  }), this._connectionPromiseQueue;
7251
7251
  }
7252
7252
  /**
@@ -7281,14 +7281,14 @@ var ip = ft.EventEmitter, Oc = xt, lp = ht, ce = lt, gn = Ws, Dc = hl, Ve = bt()
7281
7281
  return !1;
7282
7282
  var T = new n(this._ua);
7283
7283
  if (T.on("progress", function(y) {
7284
- var A = y.response;
7285
- r.notify(A.status_code, A.reason_phrase);
7284
+ var C = y.response;
7285
+ r.notify(C.status_code, C.reason_phrase);
7286
7286
  }), T.on("accepted", function(y) {
7287
- var A = y.response;
7288
- r.notify(A.status_code, A.reason_phrase);
7287
+ var C = y.response;
7288
+ r.notify(C.status_code, C.reason_phrase);
7289
7289
  }), T.on("_failed", function(y) {
7290
- var A = y.message, C = y.cause;
7291
- A ? r.notify(A.status_code, A.reason_phrase) : r.notify(487, C);
7290
+ var C = y.message, A = y.cause;
7291
+ C ? r.notify(C.status_code, C.reason_phrase) : r.notify(487, A);
7292
7292
  }), o.refer_to.uri.hasHeader("replaces")) {
7293
7293
  var E = decodeURIComponent(o.refer_to.uri.getHeader("replaces"));
7294
7294
  g.extraHeaders = Ve.cloneArray(g.extraHeaders), g.extraHeaders.push("Replaces: ".concat(E));
@@ -7538,11 +7538,11 @@ var ip = ft.EventEmitter, Oc = xt, lp = ht, ce = lt, gn = Ws, Dc = hl, Ve = bt()
7538
7538
  extraHeaders: r,
7539
7539
  body: E,
7540
7540
  eventHandlers: {
7541
- onSuccessResponse: function(C) {
7542
- g.call(o, C), _ = !0;
7541
+ onSuccessResponse: function(A) {
7542
+ g.call(o, A), _ = !0;
7543
7543
  },
7544
- onErrorResponse: function(C) {
7545
- T.call(o, C);
7544
+ onErrorResponse: function(A) {
7545
+ T.call(o, A);
7546
7546
  },
7547
7547
  onTransportError: function() {
7548
7548
  o.onTransportError();
@@ -7570,18 +7570,18 @@ var ip = ft.EventEmitter, Oc = xt, lp = ht, ce = lt, gn = Ws, Dc = hl, Ve = bt()
7570
7570
  T.call(this);
7571
7571
  return;
7572
7572
  }
7573
- var A = {
7573
+ var C = {
7574
7574
  originator: "remote",
7575
7575
  type: "answer",
7576
7576
  sdp: E.body
7577
7577
  };
7578
- K.debug('emit "sdp"'), this.emit("sdp", A);
7579
- var C = new RTCSessionDescription({
7578
+ K.debug('emit "sdp"'), this.emit("sdp", C);
7579
+ var A = new RTCSessionDescription({
7580
7580
  type: "answer",
7581
- sdp: A.sdp
7581
+ sdp: C.sdp
7582
7582
  });
7583
7583
  this._connectionPromiseQueue = this._connectionPromiseQueue.then(function() {
7584
- return y._connection.setRemoteDescription(C);
7584
+ return y._connection.setRemoteDescription(A);
7585
7585
  }).then(function() {
7586
7586
  d.succeeded && d.succeeded(E);
7587
7587
  }).catch(function(I) {
@@ -7606,12 +7606,12 @@ var ip = ft.EventEmitter, Oc = xt, lp = ht, ce = lt, gn = Ws, Dc = hl, Ve = bt()
7606
7606
  return o._createLocalDescription("offer", h);
7607
7607
  }).then(function(y) {
7608
7608
  y = o._mangleOffer(y);
7609
- var A = {
7609
+ var C = {
7610
7610
  originator: "local",
7611
7611
  type: "offer",
7612
7612
  sdp: y
7613
7613
  };
7614
- K.debug('emit "sdp"'), o.emit("sdp", A), o.sendRequest(ce.UPDATE, {
7614
+ K.debug('emit "sdp"'), o.emit("sdp", C), o.sendRequest(ce.UPDATE, {
7615
7615
  extraHeaders: r,
7616
7616
  body: y,
7617
7617
  eventHandlers: {
@@ -7637,11 +7637,11 @@ var ip = ft.EventEmitter, Oc = xt, lp = ht, ce = lt, gn = Ws, Dc = hl, Ve = bt()
7637
7637
  })) : this.sendRequest(ce.UPDATE, {
7638
7638
  extraHeaders: r,
7639
7639
  eventHandlers: {
7640
- onSuccessResponse: function(A) {
7641
- T.call(o, A);
7640
+ onSuccessResponse: function(C) {
7641
+ T.call(o, C);
7642
7642
  },
7643
- onErrorResponse: function(A) {
7644
- E.call(o, A);
7643
+ onErrorResponse: function(C) {
7644
+ E.call(o, C);
7645
7645
  },
7646
7646
  onTransportError: function() {
7647
7647
  o.onTransportError();
@@ -7655,7 +7655,7 @@ var ip = ft.EventEmitter, Oc = xt, lp = ht, ce = lt, gn = Ws, Dc = hl, Ve = bt()
7655
7655
  }
7656
7656
  });
7657
7657
  function T(y) {
7658
- var A = this;
7658
+ var C = this;
7659
7659
  if (this._status !== Q.STATUS_TERMINATED && !g)
7660
7660
  if (this._handleSessionTimersInIncomingResponse(y), _) {
7661
7661
  if (y.body) {
@@ -7667,22 +7667,22 @@ var ip = ft.EventEmitter, Oc = xt, lp = ht, ce = lt, gn = Ws, Dc = hl, Ve = bt()
7667
7667
  E.call(this);
7668
7668
  return;
7669
7669
  }
7670
- var C = {
7670
+ var A = {
7671
7671
  originator: "remote",
7672
7672
  type: "answer",
7673
7673
  sdp: y.body
7674
7674
  };
7675
- K.debug('emit "sdp"'), this.emit("sdp", C);
7675
+ K.debug('emit "sdp"'), this.emit("sdp", A);
7676
7676
  var I = new RTCSessionDescription({
7677
7677
  type: "answer",
7678
- sdp: C.sdp
7678
+ sdp: A.sdp
7679
7679
  });
7680
7680
  this._connectionPromiseQueue = this._connectionPromiseQueue.then(function() {
7681
- return A._connection.setRemoteDescription(I);
7681
+ return C._connection.setRemoteDescription(I);
7682
7682
  }).then(function() {
7683
7683
  d.succeeded && d.succeeded(y);
7684
7684
  }).catch(function(H) {
7685
- E.call(A), K.warn('emit "peerconnection:setremotedescriptionfailed" [error:%o]', H), A.emit("peerconnection:setremotedescriptionfailed", H);
7685
+ E.call(C), K.warn('emit "peerconnection:setremotedescriptionfailed" [error:%o]', H), C.emit("peerconnection:setremotedescriptionfailed", H);
7686
7686
  });
7687
7687
  } else
7688
7688
  d.succeeded && d.succeeded(y);
@@ -7716,8 +7716,8 @@ var ip = ft.EventEmitter, Oc = xt, lp = ht, ce = lt, gn = Ws, Dc = hl, Ve = bt()
7716
7716
  var d = r.value;
7717
7717
  Bl.indexOf(d.type) !== -1 && (d.direction ? d.direction === "sendrecv" ? d.direction = "sendonly" : d.direction === "recvonly" && (d.direction = "inactive") : d.direction = "sendonly");
7718
7718
  }
7719
- } catch (A) {
7720
- s.e(A);
7719
+ } catch (C) {
7720
+ s.e(C);
7721
7721
  } finally {
7722
7722
  s.f();
7723
7723
  }
@@ -7729,8 +7729,8 @@ var ip = ft.EventEmitter, Oc = xt, lp = ht, ce = lt, gn = Ws, Dc = hl, Ve = bt()
7729
7729
  var g = _.value;
7730
7730
  Bl.indexOf(g.type) !== -1 && (g.direction = "inactive");
7731
7731
  }
7732
- } catch (A) {
7733
- h.e(A);
7732
+ } catch (C) {
7733
+ h.e(C);
7734
7734
  } finally {
7735
7735
  h.f();
7736
7736
  }
@@ -7742,8 +7742,8 @@ var ip = ft.EventEmitter, Oc = xt, lp = ht, ce = lt, gn = Ws, Dc = hl, Ve = bt()
7742
7742
  var y = E.value;
7743
7743
  Bl.indexOf(y.type) !== -1 && (y.direction ? y.direction === "sendrecv" ? y.direction = "recvonly" : y.direction === "recvonly" && (y.direction = "inactive") : y.direction = "recvonly");
7744
7744
  }
7745
- } catch (A) {
7746
- T.e(A);
7745
+ } catch (C) {
7746
+ T.e(C);
7747
7747
  } finally {
7748
7748
  T.f();
7749
7749
  }
@@ -7989,13 +7989,13 @@ var ip = ft.EventEmitter, Oc = xt, lp = ht, ce = lt, gn = Ws, Dc = hl, Ve = bt()
7989
7989
  }
7990
7990
  }]), n;
7991
7991
  }(ip);
7992
- function Ca(c) {
7992
+ function Aa(c) {
7993
7993
  "@babel/helpers - typeof";
7994
- return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Ca = function(n) {
7994
+ return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Aa = function(n) {
7995
7995
  return typeof n;
7996
- } : Ca = function(n) {
7996
+ } : Aa = function(n) {
7997
7997
  return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
7998
- }, Ca(c);
7998
+ }, Aa(c);
7999
7999
  }
8000
8000
  function hp(c, t) {
8001
8001
  if (!(c instanceof t))
@@ -8033,7 +8033,7 @@ function pp(c) {
8033
8033
  };
8034
8034
  }
8035
8035
  function mp(c, t) {
8036
- return t && (Ca(t) === "object" || typeof t == "function") ? t : gp(c);
8036
+ return t && (Aa(t) === "object" || typeof t == "function") ? t : gp(c);
8037
8037
  }
8038
8038
  function gp(c) {
8039
8039
  if (c === void 0)
@@ -8057,7 +8057,7 @@ function ka(c) {
8057
8057
  return n.__proto__ || Object.getPrototypeOf(n);
8058
8058
  }, ka(c);
8059
8059
  }
8060
- var vp = ft.EventEmitter, Ep = ht, Ro = lt, Sp = Ss, ki = bt(), yp = dl, xc = Ws, Ap = Ks(), Gl = new Ep("Message"), Cp = /* @__PURE__ */ function(c) {
8060
+ var vp = ft.EventEmitter, Ep = ht, Ro = lt, Sp = Ss, ki = bt(), yp = dl, xc = Ws, Cp = Ks(), Gl = new Ep("Message"), Ap = /* @__PURE__ */ function(c) {
8061
8061
  _p(n, c);
8062
8062
  var t = pp(n);
8063
8063
  function n(a) {
@@ -8073,11 +8073,11 @@ var vp = ft.EventEmitter, Ep = ht, Ro = lt, Sp = Ss, ki = bt(), yp = dl, xc = Ws
8073
8073
  if (o = this._ua.normalizeTarget(o), !o)
8074
8074
  throw new TypeError("Invalid target: ".concat(h));
8075
8075
  var _ = ki.cloneArray(d.extraHeaders), g = ki.cloneObject(d.eventHandlers), T = d.contentType || "text/plain", E = {};
8076
- d.fromUserName && (E.from_uri = new Ap("sip", d.fromUserName, this._ua.configuration.uri.host), _.push("P-Preferred-Identity: ".concat(this._ua.configuration.uri.toString()))), d.fromDisplayName && (E.from_display_name = d.fromDisplayName);
8076
+ d.fromUserName && (E.from_uri = new Cp("sip", d.fromUserName, this._ua.configuration.uri.host), _.push("P-Preferred-Identity: ".concat(this._ua.configuration.uri.toString()))), d.fromDisplayName && (E.from_display_name = d.fromDisplayName);
8077
8077
  for (var y in g)
8078
8078
  Object.prototype.hasOwnProperty.call(g, y) && this.on(y, g[y]);
8079
8079
  _.push("Content-Type: ".concat(T)), this._request = new Sp.OutgoingRequest(Ro.MESSAGE, o, this._ua, E, _), s && (this._request.body = s);
8080
- var A = new yp(this._ua, this._request, {
8080
+ var C = new yp(this._ua, this._request, {
8081
8081
  onRequestTimeout: function() {
8082
8082
  r._onRequestTimeout();
8083
8083
  },
@@ -8088,7 +8088,7 @@ var vp = ft.EventEmitter, Ep = ht, Ro = lt, Sp = Ss, ki = bt(), yp = dl, xc = Ws
8088
8088
  r._receiveResponse(I);
8089
8089
  }
8090
8090
  });
8091
- this._newMessage("local", this._request), A.send();
8091
+ this._newMessage("local", this._request), C.send();
8092
8092
  }
8093
8093
  }, {
8094
8094
  key: "init_incoming",
@@ -8297,8 +8297,8 @@ var Up = ft.EventEmitter, Pp = ht, Io = lt, xp = Ss, Mi = bt(), kp = dl, Mc = Ws
8297
8297
  onTransportError: function() {
8298
8298
  r._onTransportError();
8299
8299
  },
8300
- onReceiveResponse: function(C) {
8301
- r._receiveResponse(C);
8300
+ onReceiveResponse: function(A) {
8301
+ r._receiveResponse(A);
8302
8302
  }
8303
8303
  });
8304
8304
  this._newOptions("local", this._request), y.send();
@@ -8760,8 +8760,8 @@ function Kp(c, t, n, a) {
8760
8760
  var g = _.value;
8761
8761
  c.addHeader("record-route", d.substring(g.possition, g.offset)), c.headers["Record-Route"][c.getHeaders("record-route").length - 1].parsed = g.parsed;
8762
8762
  }
8763
- } catch (A) {
8764
- h.e(A);
8763
+ } catch (C) {
8764
+ h.e(C);
8765
8765
  } finally {
8766
8766
  h.f();
8767
8767
  }
@@ -8782,8 +8782,8 @@ function Kp(c, t, n, a) {
8782
8782
  var y = E.value;
8783
8783
  c.addHeader("contact", d.substring(y.possition, y.offset)), c.headers.Contact[c.getHeaders("contact").length - 1].parsed = y.parsed;
8784
8784
  }
8785
- } catch (A) {
8786
- T.e(A);
8785
+ } catch (C) {
8786
+ T.e(C);
8787
8787
  } finally {
8788
8788
  T.f();
8789
8789
  }
@@ -9312,7 +9312,7 @@ function La(c) {
9312
9312
  return n.__proto__ || Object.getPrototypeOf(n);
9313
9313
  }, La(c);
9314
9314
  }
9315
- var dm = ft.EventEmitter, _m = ht, pt = lt, pm = s_, Yc = fp, Jc = Cp, zc = Mp, No = hl, mm = Vp, Jl = bt(), gm = Ws, Tm = Ks(), vm = ih, Uo = Ss, Em = Zp, Po = Lu, qe = new _m("UA"), Tt = {
9315
+ var dm = ft.EventEmitter, _m = ht, pt = lt, pm = s_, Yc = fp, Jc = Ap, zc = Mp, No = hl, mm = Vp, Jl = bt(), gm = Ws, Tm = Ks(), vm = ih, Uo = Ss, Em = Zp, Po = Lu, qe = new _m("UA"), Tt = {
9316
9316
  // UA status codes.
9317
9317
  STATUS_INIT: 0,
9318
9318
  STATUS_READY: 1,
@@ -9775,7 +9775,7 @@ var dm = ft.EventEmitter, _m = ht, pt = lt, pm = s_, Yc = fp, Jc = Cp, zc = Mp,
9775
9775
  // Recovery options.
9776
9776
  max_interval: this._configuration.connection_recovery_max_interval,
9777
9777
  min_interval: this._configuration.connection_recovery_min_interval
9778
- }), this._transport.onconnecting = ym.bind(this), this._transport.onconnect = Am.bind(this), this._transport.ondisconnect = Cm.bind(this), this._transport.ondata = Rm.bind(this);
9778
+ }), this._transport.onconnecting = ym.bind(this), this._transport.onconnect = Cm.bind(this), this._transport.ondisconnect = Am.bind(this), this._transport.ondata = Rm.bind(this);
9779
9779
  } catch (g) {
9780
9780
  throw qe.warn(g), new gm.ConfigurationError("sockets", this._configuration.sockets);
9781
9781
  }
@@ -9790,8 +9790,8 @@ var dm = ft.EventEmitter, _m = ht, pt = lt, pm = s_, Yc = fp, Jc = Cp, zc = Mp,
9790
9790
  temp_gruu: null,
9791
9791
  uri: this._configuration.contact_uri,
9792
9792
  toString: function() {
9793
- var T = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, E = T.anonymous || null, y = T.outbound || null, A = "<";
9794
- return E ? A += this.temp_gruu || "sip:anonymous@anonymous.invalid;transport=ws" : A += this.pub_gruu || this.uri.toString(), y && (E ? !this.temp_gruu : !this.pub_gruu) && (A += ";ob"), A += ">", A;
9793
+ var T = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, E = T.anonymous || null, y = T.outbound || null, C = "<";
9794
+ return E ? C += this.temp_gruu || "sip:anonymous@anonymous.invalid;transport=ws" : C += this.pub_gruu || this.uri.toString(), y && (E ? !this.temp_gruu : !this.pub_gruu) && (C += ";ob"), C += ">", C;
9795
9795
  }
9796
9796
  };
9797
9797
  var d = ["authorization_user", "password", "realm", "ha1", "authorization_jwt", "display_name", "register"];
@@ -9850,10 +9850,10 @@ var dm = ft.EventEmitter, _m = ht, pt = lt, pm = s_, Yc = fp, Jc = Cp, zc = Mp,
9850
9850
  function ym(c) {
9851
9851
  this.emit("connecting", c);
9852
9852
  }
9853
- function Am(c) {
9853
+ function Cm(c) {
9854
9854
  this._status !== Tt.STATUS_USER_CLOSED && (this._status = Tt.STATUS_READY, this._error = null, this.emit("connected", c), this._dynConfiguration.register && this._registrator.register());
9855
9855
  }
9856
- function Cm(c) {
9856
+ function Am(c) {
9857
9857
  for (var t = ["nict", "ict", "nist", "ist"], n = 0, a = t; n < a.length; n++) {
9858
9858
  var o = a[n];
9859
9859
  for (var s in this._transactions[o])
@@ -10287,8 +10287,8 @@ function Zt() {
10287
10287
  ALPHA: T,
10288
10288
  HEXDIG: E,
10289
10289
  WSP: y,
10290
- OCTET: A,
10291
- DQUOTE: C,
10290
+ OCTET: C,
10291
+ DQUOTE: A,
10292
10292
  SP: I,
10293
10293
  HTAB: H,
10294
10294
  alphanum: $,
@@ -10315,13 +10315,13 @@ function Zt() {
10315
10315
  RPAREN: ge,
10316
10316
  RAQUOT: be,
10317
10317
  LAQUOT: xe,
10318
- COMMA: Ce,
10318
+ COMMA: Ae,
10319
10319
  SEMI: le,
10320
10320
  COLON: ye,
10321
10321
  LDQUOT: nt,
10322
10322
  RDQUOT: at,
10323
10323
  comment: Ee,
10324
- ctext: Ae,
10324
+ ctext: Ce,
10325
10325
  quoted_string: Ie,
10326
10326
  quoted_string_clean: Oe,
10327
10327
  qdtext: pe,
@@ -10346,14 +10346,14 @@ function Zt() {
10346
10346
  ls32: ae,
10347
10347
  IPv4address: ot,
10348
10348
  dec_octet: Wt,
10349
- port: Cs,
10349
+ port: As,
10350
10350
  uri_parameters: Er,
10351
10351
  uri_parameter: Un,
10352
10352
  transport_param: Pn,
10353
10353
  user_param: Sr,
10354
10354
  method_param: yr,
10355
- ttl_param: Ar,
10356
- maddr_param: Cr,
10355
+ ttl_param: Cr,
10356
+ maddr_param: Ar,
10357
10357
  lr_param: Rr,
10358
10358
  other_param: Ir,
10359
10359
  pname: br,
@@ -10428,8 +10428,8 @@ function Zt() {
10428
10428
  m_subtype: Zr,
10429
10429
  m_parameter: qn,
10430
10430
  m_value: Vn,
10431
- CSeq: Al,
10432
- CSeq_value: Cl,
10431
+ CSeq: Cl,
10432
+ CSeq_value: Al,
10433
10433
  Expires: Rl,
10434
10434
  Event: Qa,
10435
10435
  event_type: on,
@@ -10486,9 +10486,9 @@ function Zt() {
10486
10486
  transport: Ei,
10487
10487
  sent_by: Si,
10488
10488
  via_host: yi,
10489
- via_port: Ai,
10489
+ via_port: Ci,
10490
10490
  ttl: tr,
10491
- WWW_Authenticate: Ci,
10491
+ WWW_Authenticate: Ai,
10492
10492
  Session_Expires: lo,
10493
10493
  s_e_expires: Ol,
10494
10494
  s_e_params: sr,
@@ -10540,11 +10540,11 @@ function Zt() {
10540
10540
  var i;
10541
10541
  return i = I(), i === null && (i = H()), i;
10542
10542
  }
10543
- function A() {
10543
+ function C() {
10544
10544
  var i;
10545
10545
  return /^[\0-\xFF]/.test(n.charAt(s)) ? (i = n.charAt(s), s++) : (i = null, h("[\\0-\\xFF]")), i;
10546
10546
  }
10547
- function C() {
10547
+ function A() {
10548
10548
  var i;
10549
10549
  return /^["]/.test(n.charAt(s)) ? (i = n.charAt(s), s++) : (i = null, h('["]')), i;
10550
10550
  }
@@ -10669,13 +10669,13 @@ function Zt() {
10669
10669
  }
10670
10670
  function se() {
10671
10671
  var i;
10672
- return n.charCodeAt(s) === 40 ? (i = "(", s++) : (i = null, h('"("')), i === null && (n.charCodeAt(s) === 41 ? (i = ")", s++) : (i = null, h('")"')), i === null && (n.charCodeAt(s) === 60 ? (i = "<", s++) : (i = null, h('"<"')), i === null && (n.charCodeAt(s) === 62 ? (i = ">", s++) : (i = null, h('">"')), i === null && (n.charCodeAt(s) === 64 ? (i = "@", s++) : (i = null, h('"@"')), i === null && (n.charCodeAt(s) === 44 ? (i = ",", s++) : (i = null, h('","')), i === null && (n.charCodeAt(s) === 59 ? (i = ";", s++) : (i = null, h('";"')), i === null && (n.charCodeAt(s) === 58 ? (i = ":", s++) : (i = null, h('":"')), i === null && (n.charCodeAt(s) === 92 ? (i = "\\", s++) : (i = null, h('"\\\\"')), i === null && (i = C(), i === null && (n.charCodeAt(s) === 47 ? (i = "/", s++) : (i = null, h('"/"')), i === null && (n.charCodeAt(s) === 91 ? (i = "[", s++) : (i = null, h('"["')), i === null && (n.charCodeAt(s) === 93 ? (i = "]", s++) : (i = null, h('"]"')), i === null && (n.charCodeAt(s) === 63 ? (i = "?", s++) : (i = null, h('"?"')), i === null && (n.charCodeAt(s) === 61 ? (i = "=", s++) : (i = null, h('"="')), i === null && (n.charCodeAt(s) === 123 ? (i = "{", s++) : (i = null, h('"{"')), i === null && (n.charCodeAt(s) === 125 ? (i = "}", s++) : (i = null, h('"}"')), i === null && (i = I(), i === null && (i = H())))))))))))))))))), i;
10672
+ return n.charCodeAt(s) === 40 ? (i = "(", s++) : (i = null, h('"("')), i === null && (n.charCodeAt(s) === 41 ? (i = ")", s++) : (i = null, h('")"')), i === null && (n.charCodeAt(s) === 60 ? (i = "<", s++) : (i = null, h('"<"')), i === null && (n.charCodeAt(s) === 62 ? (i = ">", s++) : (i = null, h('">"')), i === null && (n.charCodeAt(s) === 64 ? (i = "@", s++) : (i = null, h('"@"')), i === null && (n.charCodeAt(s) === 44 ? (i = ",", s++) : (i = null, h('","')), i === null && (n.charCodeAt(s) === 59 ? (i = ";", s++) : (i = null, h('";"')), i === null && (n.charCodeAt(s) === 58 ? (i = ":", s++) : (i = null, h('":"')), i === null && (n.charCodeAt(s) === 92 ? (i = "\\", s++) : (i = null, h('"\\\\"')), i === null && (i = A(), i === null && (n.charCodeAt(s) === 47 ? (i = "/", s++) : (i = null, h('"/"')), i === null && (n.charCodeAt(s) === 91 ? (i = "[", s++) : (i = null, h('"["')), i === null && (n.charCodeAt(s) === 93 ? (i = "]", s++) : (i = null, h('"]"')), i === null && (n.charCodeAt(s) === 63 ? (i = "?", s++) : (i = null, h('"?"')), i === null && (n.charCodeAt(s) === 61 ? (i = "=", s++) : (i = null, h('"="')), i === null && (n.charCodeAt(s) === 123 ? (i = "{", s++) : (i = null, h('"{"')), i === null && (n.charCodeAt(s) === 125 ? (i = "}", s++) : (i = null, h('"}"')), i === null && (i = I(), i === null && (i = H())))))))))))))))))), i;
10673
10673
  }
10674
10674
  function st() {
10675
10675
  var i, e, l;
10676
- if (l = s, e = $(), e === null && (n.charCodeAt(s) === 45 ? (e = "-", s++) : (e = null, h('"-"')), e === null && (n.charCodeAt(s) === 46 ? (e = ".", s++) : (e = null, h('"."')), e === null && (n.charCodeAt(s) === 33 ? (e = "!", s++) : (e = null, h('"!"')), e === null && (n.charCodeAt(s) === 37 ? (e = "%", s++) : (e = null, h('"%"')), e === null && (n.charCodeAt(s) === 42 ? (e = "*", s++) : (e = null, h('"*"')), e === null && (n.charCodeAt(s) === 95 ? (e = "_", s++) : (e = null, h('"_"')), e === null && (n.charCodeAt(s) === 43 ? (e = "+", s++) : (e = null, h('"+"')), e === null && (n.charCodeAt(s) === 96 ? (e = "`", s++) : (e = null, h('"`"')), e === null && (n.charCodeAt(s) === 39 ? (e = "'", s++) : (e = null, h(`"'"`)), e === null && (n.charCodeAt(s) === 126 ? (e = "~", s++) : (e = null, h('"~"')), e === null && (n.charCodeAt(s) === 40 ? (e = "(", s++) : (e = null, h('"("')), e === null && (n.charCodeAt(s) === 41 ? (e = ")", s++) : (e = null, h('")"')), e === null && (n.charCodeAt(s) === 60 ? (e = "<", s++) : (e = null, h('"<"')), e === null && (n.charCodeAt(s) === 62 ? (e = ">", s++) : (e = null, h('">"')), e === null && (n.charCodeAt(s) === 58 ? (e = ":", s++) : (e = null, h('":"')), e === null && (n.charCodeAt(s) === 92 ? (e = "\\", s++) : (e = null, h('"\\\\"')), e === null && (e = C(), e === null && (n.charCodeAt(s) === 47 ? (e = "/", s++) : (e = null, h('"/"')), e === null && (n.charCodeAt(s) === 91 ? (e = "[", s++) : (e = null, h('"["')), e === null && (n.charCodeAt(s) === 93 ? (e = "]", s++) : (e = null, h('"]"')), e === null && (n.charCodeAt(s) === 63 ? (e = "?", s++) : (e = null, h('"?"')), e === null && (n.charCodeAt(s) === 123 ? (e = "{", s++) : (e = null, h('"{"')), e === null && (n.charCodeAt(s) === 125 ? (e = "}", s++) : (e = null, h('"}"'))))))))))))))))))))))))), e !== null)
10676
+ if (l = s, e = $(), e === null && (n.charCodeAt(s) === 45 ? (e = "-", s++) : (e = null, h('"-"')), e === null && (n.charCodeAt(s) === 46 ? (e = ".", s++) : (e = null, h('"."')), e === null && (n.charCodeAt(s) === 33 ? (e = "!", s++) : (e = null, h('"!"')), e === null && (n.charCodeAt(s) === 37 ? (e = "%", s++) : (e = null, h('"%"')), e === null && (n.charCodeAt(s) === 42 ? (e = "*", s++) : (e = null, h('"*"')), e === null && (n.charCodeAt(s) === 95 ? (e = "_", s++) : (e = null, h('"_"')), e === null && (n.charCodeAt(s) === 43 ? (e = "+", s++) : (e = null, h('"+"')), e === null && (n.charCodeAt(s) === 96 ? (e = "`", s++) : (e = null, h('"`"')), e === null && (n.charCodeAt(s) === 39 ? (e = "'", s++) : (e = null, h(`"'"`)), e === null && (n.charCodeAt(s) === 126 ? (e = "~", s++) : (e = null, h('"~"')), e === null && (n.charCodeAt(s) === 40 ? (e = "(", s++) : (e = null, h('"("')), e === null && (n.charCodeAt(s) === 41 ? (e = ")", s++) : (e = null, h('")"')), e === null && (n.charCodeAt(s) === 60 ? (e = "<", s++) : (e = null, h('"<"')), e === null && (n.charCodeAt(s) === 62 ? (e = ">", s++) : (e = null, h('">"')), e === null && (n.charCodeAt(s) === 58 ? (e = ":", s++) : (e = null, h('":"')), e === null && (n.charCodeAt(s) === 92 ? (e = "\\", s++) : (e = null, h('"\\\\"')), e === null && (e = A(), e === null && (n.charCodeAt(s) === 47 ? (e = "/", s++) : (e = null, h('"/"')), e === null && (n.charCodeAt(s) === 91 ? (e = "[", s++) : (e = null, h('"["')), e === null && (n.charCodeAt(s) === 93 ? (e = "]", s++) : (e = null, h('"]"')), e === null && (n.charCodeAt(s) === 63 ? (e = "?", s++) : (e = null, h('"?"')), e === null && (n.charCodeAt(s) === 123 ? (e = "{", s++) : (e = null, h('"{"')), e === null && (n.charCodeAt(s) === 125 ? (e = "}", s++) : (e = null, h('"}"'))))))))))))))))))))))))), e !== null)
10677
10677
  for (i = []; e !== null; )
10678
- i.push(e), e = $(), e === null && (n.charCodeAt(s) === 45 ? (e = "-", s++) : (e = null, h('"-"')), e === null && (n.charCodeAt(s) === 46 ? (e = ".", s++) : (e = null, h('"."')), e === null && (n.charCodeAt(s) === 33 ? (e = "!", s++) : (e = null, h('"!"')), e === null && (n.charCodeAt(s) === 37 ? (e = "%", s++) : (e = null, h('"%"')), e === null && (n.charCodeAt(s) === 42 ? (e = "*", s++) : (e = null, h('"*"')), e === null && (n.charCodeAt(s) === 95 ? (e = "_", s++) : (e = null, h('"_"')), e === null && (n.charCodeAt(s) === 43 ? (e = "+", s++) : (e = null, h('"+"')), e === null && (n.charCodeAt(s) === 96 ? (e = "`", s++) : (e = null, h('"`"')), e === null && (n.charCodeAt(s) === 39 ? (e = "'", s++) : (e = null, h(`"'"`)), e === null && (n.charCodeAt(s) === 126 ? (e = "~", s++) : (e = null, h('"~"')), e === null && (n.charCodeAt(s) === 40 ? (e = "(", s++) : (e = null, h('"("')), e === null && (n.charCodeAt(s) === 41 ? (e = ")", s++) : (e = null, h('")"')), e === null && (n.charCodeAt(s) === 60 ? (e = "<", s++) : (e = null, h('"<"')), e === null && (n.charCodeAt(s) === 62 ? (e = ">", s++) : (e = null, h('">"')), e === null && (n.charCodeAt(s) === 58 ? (e = ":", s++) : (e = null, h('":"')), e === null && (n.charCodeAt(s) === 92 ? (e = "\\", s++) : (e = null, h('"\\\\"')), e === null && (e = C(), e === null && (n.charCodeAt(s) === 47 ? (e = "/", s++) : (e = null, h('"/"')), e === null && (n.charCodeAt(s) === 91 ? (e = "[", s++) : (e = null, h('"["')), e === null && (n.charCodeAt(s) === 93 ? (e = "]", s++) : (e = null, h('"]"')), e === null && (n.charCodeAt(s) === 63 ? (e = "?", s++) : (e = null, h('"?"')), e === null && (n.charCodeAt(s) === 123 ? (e = "{", s++) : (e = null, h('"{"')), e === null && (n.charCodeAt(s) === 125 ? (e = "}", s++) : (e = null, h('"}"')))))))))))))))))))))))));
10678
+ i.push(e), e = $(), e === null && (n.charCodeAt(s) === 45 ? (e = "-", s++) : (e = null, h('"-"')), e === null && (n.charCodeAt(s) === 46 ? (e = ".", s++) : (e = null, h('"."')), e === null && (n.charCodeAt(s) === 33 ? (e = "!", s++) : (e = null, h('"!"')), e === null && (n.charCodeAt(s) === 37 ? (e = "%", s++) : (e = null, h('"%"')), e === null && (n.charCodeAt(s) === 42 ? (e = "*", s++) : (e = null, h('"*"')), e === null && (n.charCodeAt(s) === 95 ? (e = "_", s++) : (e = null, h('"_"')), e === null && (n.charCodeAt(s) === 43 ? (e = "+", s++) : (e = null, h('"+"')), e === null && (n.charCodeAt(s) === 96 ? (e = "`", s++) : (e = null, h('"`"')), e === null && (n.charCodeAt(s) === 39 ? (e = "'", s++) : (e = null, h(`"'"`)), e === null && (n.charCodeAt(s) === 126 ? (e = "~", s++) : (e = null, h('"~"')), e === null && (n.charCodeAt(s) === 40 ? (e = "(", s++) : (e = null, h('"("')), e === null && (n.charCodeAt(s) === 41 ? (e = ")", s++) : (e = null, h('")"')), e === null && (n.charCodeAt(s) === 60 ? (e = "<", s++) : (e = null, h('"<"')), e === null && (n.charCodeAt(s) === 62 ? (e = ">", s++) : (e = null, h('">"')), e === null && (n.charCodeAt(s) === 58 ? (e = ":", s++) : (e = null, h('":"')), e === null && (n.charCodeAt(s) === 92 ? (e = "\\", s++) : (e = null, h('"\\\\"')), e === null && (e = A(), e === null && (n.charCodeAt(s) === 47 ? (e = "/", s++) : (e = null, h('"/"')), e === null && (n.charCodeAt(s) === 91 ? (e = "[", s++) : (e = null, h('"["')), e === null && (n.charCodeAt(s) === 93 ? (e = "]", s++) : (e = null, h('"]"')), e === null && (n.charCodeAt(s) === 63 ? (e = "?", s++) : (e = null, h('"?"')), e === null && (n.charCodeAt(s) === 123 ? (e = "{", s++) : (e = null, h('"{"')), e === null && (n.charCodeAt(s) === 125 ? (e = "}", s++) : (e = null, h('"}"')))))))))))))))))))))))));
10679
10679
  else
10680
10680
  i = null;
10681
10681
  return i !== null && (i = function(u) {
@@ -10724,7 +10724,7 @@ function Zt() {
10724
10724
  return "<";
10725
10725
  }()), i === null && (s = l), i;
10726
10726
  }
10727
- function Ce() {
10727
+ function Ae() {
10728
10728
  var i, e, l, u, f;
10729
10729
  return u = s, f = s, i = k(), i !== null ? (n.charCodeAt(s) === 44 ? (e = ",", s++) : (e = null, h('","')), e !== null ? (l = k(), l !== null ? i = [i, e, l] : (i = null, s = f)) : (i = null, s = f)) : (i = null, s = f), i !== null && (i = function(p) {
10730
10730
  return ",";
@@ -10744,37 +10744,37 @@ function Zt() {
10744
10744
  }
10745
10745
  function nt() {
10746
10746
  var i, e, l, u;
10747
- return l = s, u = s, i = k(), i !== null ? (e = C(), e !== null ? i = [i, e] : (i = null, s = u)) : (i = null, s = u), i !== null && (i = function(f) {
10747
+ return l = s, u = s, i = k(), i !== null ? (e = A(), e !== null ? i = [i, e] : (i = null, s = u)) : (i = null, s = u), i !== null && (i = function(f) {
10748
10748
  return '"';
10749
10749
  }()), i === null && (s = l), i;
10750
10750
  }
10751
10751
  function at() {
10752
10752
  var i, e, l, u;
10753
- return l = s, u = s, i = C(), i !== null ? (e = k(), e !== null ? i = [i, e] : (i = null, s = u)) : (i = null, s = u), i !== null && (i = function(f) {
10753
+ return l = s, u = s, i = A(), i !== null ? (e = k(), e !== null ? i = [i, e] : (i = null, s = u)) : (i = null, s = u), i !== null && (i = function(f) {
10754
10754
  return '"';
10755
10755
  }()), i === null && (s = l), i;
10756
10756
  }
10757
10757
  function Ee() {
10758
10758
  var i, e, l, u;
10759
10759
  if (u = s, i = re(), i !== null) {
10760
- for (e = [], l = Ae(), l === null && (l = ue(), l === null && (l = Ee())); l !== null; )
10761
- e.push(l), l = Ae(), l === null && (l = ue(), l === null && (l = Ee()));
10760
+ for (e = [], l = Ce(), l === null && (l = ue(), l === null && (l = Ee())); l !== null; )
10761
+ e.push(l), l = Ce(), l === null && (l = ue(), l === null && (l = Ee()));
10762
10762
  e !== null ? (l = ge(), l !== null ? i = [i, e, l] : (i = null, s = u)) : (i = null, s = u);
10763
10763
  } else
10764
10764
  i = null, s = u;
10765
10765
  return i;
10766
10766
  }
10767
- function Ae() {
10767
+ function Ce() {
10768
10768
  var i;
10769
10769
  return /^[!-']/.test(n.charAt(s)) ? (i = n.charAt(s), s++) : (i = null, h("[!-']")), i === null && (/^[*-[]/.test(n.charAt(s)) ? (i = n.charAt(s), s++) : (i = null, h("[*-[]")), i === null && (/^[\]-~]/.test(n.charAt(s)) ? (i = n.charAt(s), s++) : (i = null, h("[\\]-~]")), i === null && (i = J(), i === null && (i = ve())))), i;
10770
10770
  }
10771
10771
  function Ie() {
10772
10772
  var i, e, l, u, f, p;
10773
10773
  if (f = s, p = s, i = k(), i !== null)
10774
- if (e = C(), e !== null) {
10774
+ if (e = A(), e !== null) {
10775
10775
  for (l = [], u = pe(), u === null && (u = ue()); u !== null; )
10776
10776
  l.push(u), u = pe(), u === null && (u = ue());
10777
- l !== null ? (u = C(), u !== null ? i = [i, e, l, u] : (i = null, s = p)) : (i = null, s = p);
10777
+ l !== null ? (u = A(), u !== null ? i = [i, e, l, u] : (i = null, s = p)) : (i = null, s = p);
10778
10778
  } else
10779
10779
  i = null, s = p;
10780
10780
  else
@@ -10786,10 +10786,10 @@ function Zt() {
10786
10786
  function Oe() {
10787
10787
  var i, e, l, u, f, p;
10788
10788
  if (f = s, p = s, i = k(), i !== null)
10789
- if (e = C(), e !== null) {
10789
+ if (e = A(), e !== null) {
10790
10790
  for (l = [], u = pe(), u === null && (u = ue()); u !== null; )
10791
10791
  l.push(u), u = pe(), u === null && (u = ue());
10792
- l !== null ? (u = C(), u !== null ? i = [i, e, l, u] : (i = null, s = p)) : (i = null, s = p);
10792
+ l !== null ? (u = A(), u !== null ? i = [i, e, l, u] : (i = null, s = p)) : (i = null, s = p);
10793
10793
  } else
10794
10794
  i = null, s = p;
10795
10795
  else
@@ -10872,7 +10872,7 @@ function Zt() {
10872
10872
  }
10873
10873
  function Ys() {
10874
10874
  var i, e, l, u, f;
10875
- return u = s, i = es(), i !== null ? (f = s, n.charCodeAt(s) === 58 ? (e = ":", s++) : (e = null, h('":"')), e !== null ? (l = Cs(), l !== null ? e = [e, l] : (e = null, s = f)) : (e = null, s = f), e = e !== null ? e : "", e !== null ? i = [i, e] : (i = null, s = u)) : (i = null, s = u), i;
10875
+ return u = s, i = es(), i !== null ? (f = s, n.charCodeAt(s) === 58 ? (e = ":", s++) : (e = null, h('":"')), e !== null ? (l = As(), l !== null ? e = [e, l] : (e = null, s = f)) : (e = null, s = f), e = e !== null ? e : "", e !== null ? i = [i, e] : (i = null, s = u)) : (i = null, s = u), i;
10876
10876
  }
10877
10877
  function es() {
10878
10878
  var i, e;
@@ -10938,7 +10938,7 @@ function Zt() {
10938
10938
  var i, e, l, u;
10939
10939
  return u = s, n.substr(s, 2) === "25" ? (i = "25", s += 2) : (i = null, h('"25"')), i !== null ? (/^[0-5]/.test(n.charAt(s)) ? (e = n.charAt(s), s++) : (e = null, h("[0-5]")), e !== null ? i = [i, e] : (i = null, s = u)) : (i = null, s = u), i === null && (u = s, n.charCodeAt(s) === 50 ? (i = "2", s++) : (i = null, h('"2"')), i !== null ? (/^[0-4]/.test(n.charAt(s)) ? (e = n.charAt(s), s++) : (e = null, h("[0-4]")), e !== null ? (l = g(), l !== null ? i = [i, e, l] : (i = null, s = u)) : (i = null, s = u)) : (i = null, s = u), i === null && (u = s, n.charCodeAt(s) === 49 ? (i = "1", s++) : (i = null, h('"1"')), i !== null ? (e = g(), e !== null ? (l = g(), l !== null ? i = [i, e, l] : (i = null, s = u)) : (i = null, s = u)) : (i = null, s = u), i === null && (u = s, /^[1-9]/.test(n.charAt(s)) ? (i = n.charAt(s), s++) : (i = null, h("[1-9]")), i !== null ? (e = g(), e !== null ? i = [i, e] : (i = null, s = u)) : (i = null, s = u), i === null && (i = g())))), i;
10940
10940
  }
10941
- function Cs() {
10941
+ function As() {
10942
10942
  var i, e, l, u, f, p, m;
10943
10943
  return p = s, m = s, i = g(), i = i !== null ? i : "", i !== null ? (e = g(), e = e !== null ? e : "", e !== null ? (l = g(), l = l !== null ? l : "", l !== null ? (u = g(), u = u !== null ? u : "", u !== null ? (f = g(), f = f !== null ? f : "", f !== null ? i = [i, e, l, u, f] : (i = null, s = m)) : (i = null, s = m)) : (i = null, s = m)) : (i = null, s = m)) : (i = null, s = m), i !== null && (i = function(v, S) {
10944
10944
  return S = parseInt(S.join("")), b.port = S, S;
@@ -10952,7 +10952,7 @@ function Zt() {
10952
10952
  }
10953
10953
  function Un() {
10954
10954
  var i;
10955
- return i = Pn(), i === null && (i = Sr(), i === null && (i = yr(), i === null && (i = Ar(), i === null && (i = Cr(), i === null && (i = Rr(), i === null && (i = Ir())))))), i;
10955
+ return i = Pn(), i === null && (i = Sr(), i === null && (i = yr(), i === null && (i = Cr(), i === null && (i = Ar(), i === null && (i = Rr(), i === null && (i = Ir())))))), i;
10956
10956
  }
10957
10957
  function Pn() {
10958
10958
  var i, e, l, u;
@@ -10972,13 +10972,13 @@ function Zt() {
10972
10972
  b.uri_params || (b.uri_params = {}), b.uri_params.method = p;
10973
10973
  }(l, i[1])), i === null && (s = l), i;
10974
10974
  }
10975
- function Ar() {
10975
+ function Cr() {
10976
10976
  var i, e, l, u;
10977
10977
  return l = s, u = s, n.substr(s, 4).toLowerCase() === "ttl=" ? (i = n.substr(s, 4), s += 4) : (i = null, h('"ttl="')), i !== null ? (e = tr(), e !== null ? i = [i, e] : (i = null, s = u)) : (i = null, s = u), i !== null && (i = function(f, p) {
10978
10978
  b.params || (b.params = {}), b.params.ttl = p;
10979
10979
  }(l, i[1])), i === null && (s = l), i;
10980
10980
  }
10981
- function Cr() {
10981
+ function Ar() {
10982
10982
  var i, e, l, u;
10983
10983
  return l = s, u = s, n.substr(s, 6).toLowerCase() === "maddr=" ? (i = n.substr(s, 6), s += 6) : (i = null, h('"maddr="')), i !== null ? (e = es(), e !== null ? i = [i, e] : (i = null, s = u)) : (i = null, s = u), i !== null && (i = function(f, p) {
10984
10984
  b.uri_params || (b.uri_params = {}), b.uri_params.maddr = p;
@@ -11273,8 +11273,8 @@ function Zt() {
11273
11273
  function Tl() {
11274
11274
  var i, e, l, u, f, p;
11275
11275
  if (f = s, i = on(), i !== null) {
11276
- for (e = [], p = s, l = Ce(), l !== null ? (u = on(), u !== null ? l = [l, u] : (l = null, s = p)) : (l = null, s = p); l !== null; )
11277
- e.push(l), p = s, l = Ce(), l !== null ? (u = on(), u !== null ? l = [l, u] : (l = null, s = p)) : (l = null, s = p);
11276
+ for (e = [], p = s, l = Ae(), l !== null ? (u = on(), u !== null ? l = [l, u] : (l = null, s = p)) : (l = null, s = p); l !== null; )
11277
+ e.push(l), p = s, l = Ae(), l !== null ? (u = on(), u !== null ? l = [l, u] : (l = null, s = p)) : (l = null, s = p);
11278
11278
  e !== null ? i = [i, e] : (i = null, s = f);
11279
11279
  } else
11280
11280
  i = null, s = f;
@@ -11290,8 +11290,8 @@ function Zt() {
11290
11290
  var i, e, l, u, f, p, m;
11291
11291
  if (f = s, i = ee(), i === null)
11292
11292
  if (p = s, i = $n(), i !== null) {
11293
- for (e = [], m = s, l = Ce(), l !== null ? (u = $n(), u !== null ? l = [l, u] : (l = null, s = m)) : (l = null, s = m); l !== null; )
11294
- e.push(l), m = s, l = Ce(), l !== null ? (u = $n(), u !== null ? l = [l, u] : (l = null, s = m)) : (l = null, s = m);
11293
+ for (e = [], m = s, l = Ae(), l !== null ? (u = $n(), u !== null ? l = [l, u] : (l = null, s = m)) : (l = null, s = m); l !== null; )
11294
+ e.push(l), m = s, l = Ae(), l !== null ? (u = $n(), u !== null ? l = [l, u] : (l = null, s = m)) : (l = null, s = m);
11295
11295
  e !== null ? i = [i, e] : (i = null, s = p);
11296
11296
  } else
11297
11297
  i = null, s = p;
@@ -11414,8 +11414,8 @@ function Zt() {
11414
11414
  function Sl() {
11415
11415
  var i, e, l, u, f, p;
11416
11416
  if (f = s, i = U(), i !== null) {
11417
- for (e = [], p = s, l = Ce(), l !== null ? (u = U(), u !== null ? l = [l, u] : (l = null, s = p)) : (l = null, s = p); l !== null; )
11418
- e.push(l), p = s, l = Ce(), l !== null ? (u = U(), u !== null ? l = [l, u] : (l = null, s = p)) : (l = null, s = p);
11417
+ for (e = [], p = s, l = Ae(), l !== null ? (u = U(), u !== null ? l = [l, u] : (l = null, s = p)) : (l = null, s = p); l !== null; )
11418
+ e.push(l), p = s, l = Ae(), l !== null ? (u = U(), u !== null ? l = [l, u] : (l = null, s = p)) : (l = null, s = p);
11419
11419
  e !== null ? i = [i, e] : (i = null, s = f);
11420
11420
  } else
11421
11421
  i = null, s = f;
@@ -11486,11 +11486,11 @@ function Zt() {
11486
11486
  var i;
11487
11487
  return i = U(), i === null && (i = Ie()), i;
11488
11488
  }
11489
- function Al() {
11489
+ function Cl() {
11490
11490
  var i, e, l, u;
11491
- return u = s, i = Cl(), i !== null ? (e = ve(), e !== null ? (l = nn(), l !== null ? i = [i, e, l] : (i = null, s = u)) : (i = null, s = u)) : (i = null, s = u), i;
11491
+ return u = s, i = Al(), i !== null ? (e = ve(), e !== null ? (l = nn(), l !== null ? i = [i, e, l] : (i = null, s = u)) : (i = null, s = u)) : (i = null, s = u), i;
11492
11492
  }
11493
- function Cl() {
11493
+ function Al() {
11494
11494
  var i, e, l;
11495
11495
  if (l = s, e = g(), e !== null)
11496
11496
  for (i = []; e !== null; )
@@ -11609,8 +11609,8 @@ function Zt() {
11609
11609
  if (m = s, n.substr(s, 6).toLowerCase() === "digest" ? (i = n.substr(s, 6), s += 6) : (i = null, h('"Digest"')), i !== null)
11610
11610
  if (e = ve(), e !== null)
11611
11611
  if (l = ns(), l !== null) {
11612
- for (u = [], v = s, f = Ce(), f !== null ? (p = ns(), p !== null ? f = [f, p] : (f = null, s = v)) : (f = null, s = v); f !== null; )
11613
- u.push(f), v = s, f = Ce(), f !== null ? (p = ns(), p !== null ? f = [f, p] : (f = null, s = v)) : (f = null, s = v);
11612
+ for (u = [], v = s, f = Ae(), f !== null ? (p = ns(), p !== null ? f = [f, p] : (f = null, s = v)) : (f = null, s = v); f !== null; )
11613
+ u.push(f), v = s, f = Ae(), f !== null ? (p = ns(), p !== null ? f = [f, p] : (f = null, s = v)) : (f = null, s = v);
11614
11614
  u !== null ? i = [i, e, l, u] : (i = null, s = m);
11615
11615
  } else
11616
11616
  i = null, s = m;
@@ -11625,8 +11625,8 @@ function Zt() {
11625
11625
  if (m = s, i = U(), i !== null)
11626
11626
  if (e = ve(), e !== null)
11627
11627
  if (l = Ps(), l !== null) {
11628
- for (u = [], v = s, f = Ce(), f !== null ? (p = Ps(), p !== null ? f = [f, p] : (f = null, s = v)) : (f = null, s = v); f !== null; )
11629
- u.push(f), v = s, f = Ce(), f !== null ? (p = Ps(), p !== null ? f = [f, p] : (f = null, s = v)) : (f = null, s = v);
11628
+ for (u = [], v = s, f = Ae(), f !== null ? (p = Ps(), p !== null ? f = [f, p] : (f = null, s = v)) : (f = null, s = v); f !== null; )
11629
+ u.push(f), v = s, f = Ae(), f !== null ? (p = Ps(), p !== null ? f = [f, p] : (f = null, s = v)) : (f = null, s = v);
11630
11630
  u !== null ? i = [i, e, l, u] : (i = null, s = m);
11631
11631
  } else
11632
11632
  i = null, s = m;
@@ -11747,8 +11747,8 @@ function Zt() {
11747
11747
  function Gn() {
11748
11748
  var i, e, l, u, f, p;
11749
11749
  if (f = s, i = U(), i !== null) {
11750
- for (e = [], p = s, l = Ce(), l !== null ? (u = U(), u !== null ? l = [l, u] : (l = null, s = p)) : (l = null, s = p); l !== null; )
11751
- e.push(l), p = s, l = Ce(), l !== null ? (u = U(), u !== null ? l = [l, u] : (l = null, s = p)) : (l = null, s = p);
11750
+ for (e = [], p = s, l = Ae(), l !== null ? (u = U(), u !== null ? l = [l, u] : (l = null, s = p)) : (l = null, s = p); l !== null; )
11751
+ e.push(l), p = s, l = Ae(), l !== null ? (u = U(), u !== null ? l = [l, u] : (l = null, s = p)) : (l = null, s = p);
11752
11752
  e !== null ? i = [i, e] : (i = null, s = f);
11753
11753
  } else
11754
11754
  i = null, s = f;
@@ -11757,8 +11757,8 @@ function Zt() {
11757
11757
  function so() {
11758
11758
  var i, e, l, u, f, p, m;
11759
11759
  if (f = s, p = s, i = Wn(), i !== null) {
11760
- for (e = [], m = s, l = Ce(), l !== null ? (u = Wn(), u !== null ? l = [l, u] : (l = null, s = m)) : (l = null, s = m); l !== null; )
11761
- e.push(l), m = s, l = Ce(), l !== null ? (u = Wn(), u !== null ? l = [l, u] : (l = null, s = m)) : (l = null, s = m);
11760
+ for (e = [], m = s, l = Ae(), l !== null ? (u = Wn(), u !== null ? l = [l, u] : (l = null, s = m)) : (l = null, s = m); l !== null; )
11761
+ e.push(l), m = s, l = Ae(), l !== null ? (u = Wn(), u !== null ? l = [l, u] : (l = null, s = m)) : (l = null, s = m);
11762
11762
  e !== null ? i = [i, e] : (i = null, s = p);
11763
11763
  } else
11764
11764
  i = null, s = p;
@@ -11835,8 +11835,8 @@ function Zt() {
11835
11835
  function Il() {
11836
11836
  var i, e, l, u, f, p;
11837
11837
  if (f = s, i = U(), i !== null) {
11838
- for (e = [], p = s, l = Ce(), l !== null ? (u = U(), u !== null ? l = [l, u] : (l = null, s = p)) : (l = null, s = p); l !== null; )
11839
- e.push(l), p = s, l = Ce(), l !== null ? (u = U(), u !== null ? l = [l, u] : (l = null, s = p)) : (l = null, s = p);
11838
+ for (e = [], p = s, l = Ae(), l !== null ? (u = U(), u !== null ? l = [l, u] : (l = null, s = p)) : (l = null, s = p); l !== null; )
11839
+ e.push(l), p = s, l = Ae(), l !== null ? (u = U(), u !== null ? l = [l, u] : (l = null, s = p)) : (l = null, s = p);
11840
11840
  e !== null ? i = [i, e] : (i = null, s = f);
11841
11841
  } else
11842
11842
  i = null, s = f;
@@ -11845,8 +11845,8 @@ function Zt() {
11845
11845
  function no() {
11846
11846
  var i, e, l, u, f, p;
11847
11847
  if (f = s, i = Jn(), i !== null) {
11848
- for (e = [], p = s, l = Ce(), l !== null ? (u = Jn(), u !== null ? l = [l, u] : (l = null, s = p)) : (l = null, s = p); l !== null; )
11849
- e.push(l), p = s, l = Ce(), l !== null ? (u = Jn(), u !== null ? l = [l, u] : (l = null, s = p)) : (l = null, s = p);
11848
+ for (e = [], p = s, l = Ae(), l !== null ? (u = Jn(), u !== null ? l = [l, u] : (l = null, s = p)) : (l = null, s = p); l !== null; )
11849
+ e.push(l), p = s, l = Ae(), l !== null ? (u = Jn(), u !== null ? l = [l, u] : (l = null, s = p)) : (l = null, s = p);
11850
11850
  e !== null ? i = [i, e] : (i = null, s = f);
11851
11851
  } else
11852
11852
  i = null, s = f;
@@ -11899,8 +11899,8 @@ function Zt() {
11899
11899
  function ro() {
11900
11900
  var i, e, l, u, f, p;
11901
11901
  if (f = s, i = U(), i !== null) {
11902
- for (e = [], p = s, l = Ce(), l !== null ? (u = U(), u !== null ? l = [l, u] : (l = null, s = p)) : (l = null, s = p); l !== null; )
11903
- e.push(l), p = s, l = Ce(), l !== null ? (u = U(), u !== null ? l = [l, u] : (l = null, s = p)) : (l = null, s = p);
11902
+ for (e = [], p = s, l = Ae(), l !== null ? (u = U(), u !== null ? l = [l, u] : (l = null, s = p)) : (l = null, s = p); l !== null; )
11903
+ e.push(l), p = s, l = Ae(), l !== null ? (u = U(), u !== null ? l = [l, u] : (l = null, s = p)) : (l = null, s = p);
11904
11904
  e !== null ? i = [i, e] : (i = null, s = f);
11905
11905
  } else
11906
11906
  i = null, s = f;
@@ -11930,8 +11930,8 @@ function Zt() {
11930
11930
  function hi() {
11931
11931
  var i, e, l, u, f, p;
11932
11932
  if (f = s, i = Zn(), i !== null) {
11933
- for (e = [], p = s, l = Ce(), l !== null ? (u = Zn(), u !== null ? l = [l, u] : (l = null, s = p)) : (l = null, s = p); l !== null; )
11934
- e.push(l), p = s, l = Ce(), l !== null ? (u = Zn(), u !== null ? l = [l, u] : (l = null, s = p)) : (l = null, s = p);
11933
+ for (e = [], p = s, l = Ae(), l !== null ? (u = Zn(), u !== null ? l = [l, u] : (l = null, s = p)) : (l = null, s = p); l !== null; )
11934
+ e.push(l), p = s, l = Ae(), l !== null ? (u = Zn(), u !== null ? l = [l, u] : (l = null, s = p)) : (l = null, s = p);
11935
11935
  e !== null ? i = [i, e] : (i = null, s = f);
11936
11936
  } else
11937
11937
  i = null, s = f;
@@ -12009,7 +12009,7 @@ function Zt() {
12009
12009
  }
12010
12010
  function Si() {
12011
12011
  var i, e, l, u, f;
12012
- return u = s, i = yi(), i !== null ? (f = s, e = ye(), e !== null ? (l = Ai(), l !== null ? e = [e, l] : (e = null, s = f)) : (e = null, s = f), e = e !== null ? e : "", e !== null ? i = [i, e] : (i = null, s = u)) : (i = null, s = u), i;
12012
+ return u = s, i = yi(), i !== null ? (f = s, e = ye(), e !== null ? (l = Ci(), l !== null ? e = [e, l] : (e = null, s = f)) : (e = null, s = f), e = e !== null ? e : "", e !== null ? i = [i, e] : (i = null, s = u)) : (i = null, s = u), i;
12013
12013
  }
12014
12014
  function yi() {
12015
12015
  var i, e;
@@ -12017,7 +12017,7 @@ function Zt() {
12017
12017
  b.host = n.substring(s, l);
12018
12018
  }(e)), i === null && (s = e), i;
12019
12019
  }
12020
- function Ai() {
12020
+ function Ci() {
12021
12021
  var i, e, l, u, f, p, m;
12022
12022
  return p = s, m = s, i = g(), i = i !== null ? i : "", i !== null ? (e = g(), e = e !== null ? e : "", e !== null ? (l = g(), l = l !== null ? l : "", l !== null ? (u = g(), u = u !== null ? u : "", u !== null ? (f = g(), f = f !== null ? f : "", f !== null ? i = [i, e, l, u, f] : (i = null, s = m)) : (i = null, s = m)) : (i = null, s = m)) : (i = null, s = m)) : (i = null, s = m), i !== null && (i = function(v, S) {
12023
12023
  b.port = parseInt(S.join(""));
@@ -12029,7 +12029,7 @@ function Zt() {
12029
12029
  return parseInt(m.join(""));
12030
12030
  }(u, i)), i === null && (s = u), i;
12031
12031
  }
12032
- function Ci() {
12032
+ function Ai() {
12033
12033
  var i;
12034
12034
  return i = si(), i;
12035
12035
  }
@@ -12071,8 +12071,8 @@ function Zt() {
12071
12071
  }
12072
12072
  function Ul() {
12073
12073
  var i, e;
12074
- for (i = [], e = A(); e !== null; )
12075
- i.push(e), e = A();
12074
+ for (i = [], e = C(); e !== null; )
12075
+ i.push(e), e = C();
12076
12076
  return i;
12077
12077
  }
12078
12078
  function ao() {
@@ -12207,7 +12207,7 @@ function ys() {
12207
12207
  if (sf)
12208
12208
  return Mo;
12209
12209
  sf = 1;
12210
- const c = De, t = At(), n = Zt();
12210
+ const c = De, t = Ct(), n = Zt();
12211
12211
  return Mo = class ch {
12212
12212
  /**
12213
12213
  * Parse the given string and returns a JsSIP.URI instance or undefined if
@@ -12319,7 +12319,7 @@ function ys() {
12319
12319
  }, Mo;
12320
12320
  }
12321
12321
  var nf;
12322
- function At() {
12322
+ function Ct() {
12323
12323
  if (nf)
12324
12324
  return et;
12325
12325
  nf = 1;
@@ -12398,63 +12398,63 @@ function At() {
12398
12398
  }
12399
12399
  return `192.0.2.${r(1, 254)}`;
12400
12400
  }, et.calculateMD5 = (r) => {
12401
- function d(Ee, Ae) {
12402
- return Ee << Ae | Ee >>> 32 - Ae;
12401
+ function d(Ee, Ce) {
12402
+ return Ee << Ce | Ee >>> 32 - Ce;
12403
12403
  }
12404
- function h(Ee, Ae) {
12405
- const Ie = Ee & 2147483648, Oe = Ae & 2147483648, pe = Ee & 1073741824, ue = Ae & 1073741824, _e = (Ee & 1073741823) + (Ae & 1073741823);
12404
+ function h(Ee, Ce) {
12405
+ const Ie = Ee & 2147483648, Oe = Ce & 2147483648, pe = Ee & 1073741824, ue = Ce & 1073741824, _e = (Ee & 1073741823) + (Ce & 1073741823);
12406
12406
  return pe & ue ? _e ^ 2147483648 ^ Ie ^ Oe : pe | ue ? _e & 1073741824 ? _e ^ 3221225472 ^ Ie ^ Oe : _e ^ 1073741824 ^ Ie ^ Oe : _e ^ Ie ^ Oe;
12407
12407
  }
12408
- function _(Ee, Ae, Ie) {
12409
- return Ee & Ae | ~Ee & Ie;
12408
+ function _(Ee, Ce, Ie) {
12409
+ return Ee & Ce | ~Ee & Ie;
12410
12410
  }
12411
- function g(Ee, Ae, Ie) {
12412
- return Ee & Ie | Ae & ~Ie;
12411
+ function g(Ee, Ce, Ie) {
12412
+ return Ee & Ie | Ce & ~Ie;
12413
12413
  }
12414
- function T(Ee, Ae, Ie) {
12415
- return Ee ^ Ae ^ Ie;
12414
+ function T(Ee, Ce, Ie) {
12415
+ return Ee ^ Ce ^ Ie;
12416
12416
  }
12417
- function E(Ee, Ae, Ie) {
12418
- return Ae ^ (Ee | ~Ie);
12417
+ function E(Ee, Ce, Ie) {
12418
+ return Ce ^ (Ee | ~Ie);
12419
12419
  }
12420
- function y(Ee, Ae, Ie, Oe, pe, ue, _e) {
12421
- return Ee = h(Ee, h(h(_(Ae, Ie, Oe), pe), _e)), h(d(Ee, ue), Ae);
12420
+ function y(Ee, Ce, Ie, Oe, pe, ue, _e) {
12421
+ return Ee = h(Ee, h(h(_(Ce, Ie, Oe), pe), _e)), h(d(Ee, ue), Ce);
12422
12422
  }
12423
- function A(Ee, Ae, Ie, Oe, pe, ue, _e) {
12424
- return Ee = h(Ee, h(h(g(Ae, Ie, Oe), pe), _e)), h(d(Ee, ue), Ae);
12423
+ function C(Ee, Ce, Ie, Oe, pe, ue, _e) {
12424
+ return Ee = h(Ee, h(h(g(Ce, Ie, Oe), pe), _e)), h(d(Ee, ue), Ce);
12425
12425
  }
12426
- function C(Ee, Ae, Ie, Oe, pe, ue, _e) {
12427
- return Ee = h(Ee, h(h(T(Ae, Ie, Oe), pe), _e)), h(d(Ee, ue), Ae);
12426
+ function A(Ee, Ce, Ie, Oe, pe, ue, _e) {
12427
+ return Ee = h(Ee, h(h(T(Ce, Ie, Oe), pe), _e)), h(d(Ee, ue), Ce);
12428
12428
  }
12429
- function I(Ee, Ae, Ie, Oe, pe, ue, _e) {
12430
- return Ee = h(Ee, h(h(E(Ae, Ie, Oe), pe), _e)), h(d(Ee, ue), Ae);
12429
+ function I(Ee, Ce, Ie, Oe, pe, ue, _e) {
12430
+ return Ee = h(Ee, h(h(E(Ce, Ie, Oe), pe), _e)), h(d(Ee, ue), Ce);
12431
12431
  }
12432
12432
  function H(Ee) {
12433
- let Ae;
12433
+ let Ce;
12434
12434
  const Ie = Ee.length, Oe = Ie + 8, ue = ((Oe - Oe % 64) / 64 + 1) * 16, _e = new Array(ue - 1);
12435
12435
  let we = 0, Ne = 0;
12436
12436
  for (; Ne < Ie; )
12437
- Ae = (Ne - Ne % 4) / 4, we = Ne % 4 * 8, _e[Ae] = _e[Ae] | Ee.charCodeAt(Ne) << we, Ne++;
12438
- return Ae = (Ne - Ne % 4) / 4, we = Ne % 4 * 8, _e[Ae] = _e[Ae] | 128 << we, _e[ue - 2] = Ie << 3, _e[ue - 1] = Ie >>> 29, _e;
12437
+ Ce = (Ne - Ne % 4) / 4, we = Ne % 4 * 8, _e[Ce] = _e[Ce] | Ee.charCodeAt(Ne) << we, Ne++;
12438
+ return Ce = (Ne - Ne % 4) / 4, we = Ne % 4 * 8, _e[Ce] = _e[Ce] | 128 << we, _e[ue - 2] = Ie << 3, _e[ue - 1] = Ie >>> 29, _e;
12439
12439
  }
12440
12440
  function $(Ee) {
12441
- let Ae = "", Ie = "", Oe, pe;
12441
+ let Ce = "", Ie = "", Oe, pe;
12442
12442
  for (pe = 0; pe <= 3; pe++)
12443
- Oe = Ee >>> pe * 8 & 255, Ie = `0${Oe.toString(16)}`, Ae = Ae + Ie.substr(Ie.length - 2, 2);
12444
- return Ae;
12443
+ Oe = Ee >>> pe * 8 & 255, Ie = `0${Oe.toString(16)}`, Ce = Ce + Ie.substr(Ie.length - 2, 2);
12444
+ return Ce;
12445
12445
  }
12446
12446
  function oe(Ee) {
12447
- let Ae = "";
12447
+ let Ce = "";
12448
12448
  for (let Ie = 0; Ie < Ee.length; Ie++) {
12449
12449
  const Oe = Ee.charCodeAt(Ie);
12450
- Oe < 128 ? Ae += String.fromCharCode(Oe) : Oe > 127 && Oe < 2048 ? (Ae += String.fromCharCode(Oe >> 6 | 192), Ae += String.fromCharCode(Oe & 63 | 128)) : (Ae += String.fromCharCode(Oe >> 12 | 224), Ae += String.fromCharCode(Oe >> 6 & 63 | 128), Ae += String.fromCharCode(Oe & 63 | 128));
12450
+ Oe < 128 ? Ce += String.fromCharCode(Oe) : Oe > 127 && Oe < 2048 ? (Ce += String.fromCharCode(Oe >> 6 | 192), Ce += String.fromCharCode(Oe & 63 | 128)) : (Ce += String.fromCharCode(Oe >> 12 | 224), Ce += String.fromCharCode(Oe >> 6 & 63 | 128), Ce += String.fromCharCode(Oe & 63 | 128));
12451
12451
  }
12452
- return Ae;
12452
+ return Ce;
12453
12453
  }
12454
12454
  let N = [], j, Se, ve, k, D, B, V, J, F;
12455
- const X = 7, U = 12, P = 17, se = 22, st = 5, ee = 9, W = 14, G = 20, re = 4, ge = 11, be = 16, xe = 23, Ce = 6, le = 10, ye = 15, nt = 21;
12455
+ const X = 7, U = 12, P = 17, se = 22, st = 5, ee = 9, W = 14, G = 20, re = 4, ge = 11, be = 16, xe = 23, Ae = 6, le = 10, ye = 15, nt = 21;
12456
12456
  for (r = oe(r), N = H(r), B = 1732584193, V = 4023233417, J = 2562383102, F = 271733878, j = 0; j < N.length; j += 16)
12457
- Se = B, ve = V, k = J, D = F, B = y(B, V, J, F, N[j + 0], X, 3614090360), F = y(F, B, V, J, N[j + 1], U, 3905402710), J = y(J, F, B, V, N[j + 2], P, 606105819), V = y(V, J, F, B, N[j + 3], se, 3250441966), B = y(B, V, J, F, N[j + 4], X, 4118548399), F = y(F, B, V, J, N[j + 5], U, 1200080426), J = y(J, F, B, V, N[j + 6], P, 2821735955), V = y(V, J, F, B, N[j + 7], se, 4249261313), B = y(B, V, J, F, N[j + 8], X, 1770035416), F = y(F, B, V, J, N[j + 9], U, 2336552879), J = y(J, F, B, V, N[j + 10], P, 4294925233), V = y(V, J, F, B, N[j + 11], se, 2304563134), B = y(B, V, J, F, N[j + 12], X, 1804603682), F = y(F, B, V, J, N[j + 13], U, 4254626195), J = y(J, F, B, V, N[j + 14], P, 2792965006), V = y(V, J, F, B, N[j + 15], se, 1236535329), B = A(B, V, J, F, N[j + 1], st, 4129170786), F = A(F, B, V, J, N[j + 6], ee, 3225465664), J = A(J, F, B, V, N[j + 11], W, 643717713), V = A(V, J, F, B, N[j + 0], G, 3921069994), B = A(B, V, J, F, N[j + 5], st, 3593408605), F = A(F, B, V, J, N[j + 10], ee, 38016083), J = A(J, F, B, V, N[j + 15], W, 3634488961), V = A(V, J, F, B, N[j + 4], G, 3889429448), B = A(B, V, J, F, N[j + 9], st, 568446438), F = A(F, B, V, J, N[j + 14], ee, 3275163606), J = A(J, F, B, V, N[j + 3], W, 4107603335), V = A(V, J, F, B, N[j + 8], G, 1163531501), B = A(B, V, J, F, N[j + 13], st, 2850285829), F = A(F, B, V, J, N[j + 2], ee, 4243563512), J = A(J, F, B, V, N[j + 7], W, 1735328473), V = A(V, J, F, B, N[j + 12], G, 2368359562), B = C(B, V, J, F, N[j + 5], re, 4294588738), F = C(F, B, V, J, N[j + 8], ge, 2272392833), J = C(J, F, B, V, N[j + 11], be, 1839030562), V = C(V, J, F, B, N[j + 14], xe, 4259657740), B = C(B, V, J, F, N[j + 1], re, 2763975236), F = C(F, B, V, J, N[j + 4], ge, 1272893353), J = C(J, F, B, V, N[j + 7], be, 4139469664), V = C(V, J, F, B, N[j + 10], xe, 3200236656), B = C(B, V, J, F, N[j + 13], re, 681279174), F = C(F, B, V, J, N[j + 0], ge, 3936430074), J = C(J, F, B, V, N[j + 3], be, 3572445317), V = C(V, J, F, B, N[j + 6], xe, 76029189), B = C(B, V, J, F, N[j + 9], re, 3654602809), F = C(F, B, V, J, N[j + 12], ge, 3873151461), J = C(J, F, B, V, N[j + 15], be, 530742520), V = C(V, J, F, B, N[j + 2], xe, 3299628645), B = I(B, V, J, F, N[j + 0], Ce, 4096336452), F = I(F, B, V, J, N[j + 7], le, 1126891415), J = I(J, F, B, V, N[j + 14], ye, 2878612391), V = I(V, J, F, B, N[j + 5], nt, 4237533241), B = I(B, V, J, F, N[j + 12], Ce, 1700485571), F = I(F, B, V, J, N[j + 3], le, 2399980690), J = I(J, F, B, V, N[j + 10], ye, 4293915773), V = I(V, J, F, B, N[j + 1], nt, 2240044497), B = I(B, V, J, F, N[j + 8], Ce, 1873313359), F = I(F, B, V, J, N[j + 15], le, 4264355552), J = I(J, F, B, V, N[j + 6], ye, 2734768916), V = I(V, J, F, B, N[j + 13], nt, 1309151649), B = I(B, V, J, F, N[j + 4], Ce, 4149444226), F = I(F, B, V, J, N[j + 11], le, 3174756917), J = I(J, F, B, V, N[j + 2], ye, 718787259), V = I(V, J, F, B, N[j + 9], nt, 3951481745), B = h(B, Se), V = h(V, ve), J = h(J, k), F = h(F, D);
12457
+ Se = B, ve = V, k = J, D = F, B = y(B, V, J, F, N[j + 0], X, 3614090360), F = y(F, B, V, J, N[j + 1], U, 3905402710), J = y(J, F, B, V, N[j + 2], P, 606105819), V = y(V, J, F, B, N[j + 3], se, 3250441966), B = y(B, V, J, F, N[j + 4], X, 4118548399), F = y(F, B, V, J, N[j + 5], U, 1200080426), J = y(J, F, B, V, N[j + 6], P, 2821735955), V = y(V, J, F, B, N[j + 7], se, 4249261313), B = y(B, V, J, F, N[j + 8], X, 1770035416), F = y(F, B, V, J, N[j + 9], U, 2336552879), J = y(J, F, B, V, N[j + 10], P, 4294925233), V = y(V, J, F, B, N[j + 11], se, 2304563134), B = y(B, V, J, F, N[j + 12], X, 1804603682), F = y(F, B, V, J, N[j + 13], U, 4254626195), J = y(J, F, B, V, N[j + 14], P, 2792965006), V = y(V, J, F, B, N[j + 15], se, 1236535329), B = C(B, V, J, F, N[j + 1], st, 4129170786), F = C(F, B, V, J, N[j + 6], ee, 3225465664), J = C(J, F, B, V, N[j + 11], W, 643717713), V = C(V, J, F, B, N[j + 0], G, 3921069994), B = C(B, V, J, F, N[j + 5], st, 3593408605), F = C(F, B, V, J, N[j + 10], ee, 38016083), J = C(J, F, B, V, N[j + 15], W, 3634488961), V = C(V, J, F, B, N[j + 4], G, 3889429448), B = C(B, V, J, F, N[j + 9], st, 568446438), F = C(F, B, V, J, N[j + 14], ee, 3275163606), J = C(J, F, B, V, N[j + 3], W, 4107603335), V = C(V, J, F, B, N[j + 8], G, 1163531501), B = C(B, V, J, F, N[j + 13], st, 2850285829), F = C(F, B, V, J, N[j + 2], ee, 4243563512), J = C(J, F, B, V, N[j + 7], W, 1735328473), V = C(V, J, F, B, N[j + 12], G, 2368359562), B = A(B, V, J, F, N[j + 5], re, 4294588738), F = A(F, B, V, J, N[j + 8], ge, 2272392833), J = A(J, F, B, V, N[j + 11], be, 1839030562), V = A(V, J, F, B, N[j + 14], xe, 4259657740), B = A(B, V, J, F, N[j + 1], re, 2763975236), F = A(F, B, V, J, N[j + 4], ge, 1272893353), J = A(J, F, B, V, N[j + 7], be, 4139469664), V = A(V, J, F, B, N[j + 10], xe, 3200236656), B = A(B, V, J, F, N[j + 13], re, 681279174), F = A(F, B, V, J, N[j + 0], ge, 3936430074), J = A(J, F, B, V, N[j + 3], be, 3572445317), V = A(V, J, F, B, N[j + 6], xe, 76029189), B = A(B, V, J, F, N[j + 9], re, 3654602809), F = A(F, B, V, J, N[j + 12], ge, 3873151461), J = A(J, F, B, V, N[j + 15], be, 530742520), V = A(V, J, F, B, N[j + 2], xe, 3299628645), B = I(B, V, J, F, N[j + 0], Ae, 4096336452), F = I(F, B, V, J, N[j + 7], le, 1126891415), J = I(J, F, B, V, N[j + 14], ye, 2878612391), V = I(V, J, F, B, N[j + 5], nt, 4237533241), B = I(B, V, J, F, N[j + 12], Ae, 1700485571), F = I(F, B, V, J, N[j + 3], le, 2399980690), J = I(J, F, B, V, N[j + 10], ye, 4293915773), V = I(V, J, F, B, N[j + 1], nt, 2240044497), B = I(B, V, J, F, N[j + 8], Ae, 1873313359), F = I(F, B, V, J, N[j + 15], le, 4264355552), J = I(J, F, B, V, N[j + 6], ye, 2734768916), V = I(V, J, F, B, N[j + 13], nt, 1309151649), B = I(B, V, J, F, N[j + 4], Ae, 4149444226), F = I(F, B, V, J, N[j + 11], le, 3174756917), J = I(J, F, B, V, N[j + 2], ye, 718787259), V = I(V, J, F, B, N[j + 9], nt, 3951481745), B = h(B, Se), V = h(V, ve), J = h(J, k), F = h(F, D);
12458
12458
  return ($(B) + $(V) + $(J) + $(F)).toLowerCase();
12459
12459
  }, et.closeMediaStream = (r) => {
12460
12460
  if (r)
@@ -12477,7 +12477,7 @@ function At() {
12477
12477
  }
12478
12478
  }, et.cloneArray = (r) => r && r.slice() || [], et.cloneObject = (r, d = {}) => r && Object.assign({}, r) || d, et;
12479
12479
  }
12480
- const fh = xt, Fm = ut, St = De, it = At(), rf = $u(), jm = Zt(), Lo = new Fm("SIPMessage");
12480
+ const fh = xt, Fm = ut, St = De, it = Ct(), rf = $u(), jm = Zt(), Lo = new Fm("SIPMessage");
12481
12481
  class Wa {
12482
12482
  constructor(t, n, a, o, s, r) {
12483
12483
  if (!t || !n || !a)
@@ -12490,8 +12490,8 @@ class Wa {
12490
12490
  typeof o.from_display_name < "u" ? E = o.from_display_name : a.configuration.display_name ? E = a.configuration.display_name : E = null, this.from = new rf(g, E, T), this.setHeader("from", this.from.toString());
12491
12491
  const y = o.call_id || a.configuration.jssip_id + it.createRandomToken(15);
12492
12492
  this.call_id = y, this.setHeader("call-id", y);
12493
- const A = o.cseq || Math.floor(Math.random() * 1e4);
12494
- this.cseq = A, this.setHeader("cseq", `${A} ${t}`);
12493
+ const C = o.cseq || Math.floor(Math.random() * 1e4);
12494
+ this.cseq = C, this.setHeader("cseq", `${C} ${t}`);
12495
12495
  }
12496
12496
  /**
12497
12497
  * Replace the the given header by the given value.
@@ -12835,7 +12835,7 @@ var yt = {
12835
12835
  IncomingRequest: qm,
12836
12836
  IncomingResponse: Vm
12837
12837
  };
12838
- const pr = /* @__PURE__ */ ze(yt), Bm = ut, ps = At(), Jt = new Bm("DigestAuthentication");
12838
+ const pr = /* @__PURE__ */ ze(yt), Bm = ut, ps = Ct(), Jt = new Bm("DigestAuthentication");
12839
12839
  var dh = class {
12840
12840
  constructor(t) {
12841
12841
  this._credentials = t, this._cnonce = null, this._nc = 0, this._ncHex = "00000000", this._algorithm = null, this._realm = null, this._nonce = null, this._opaque = null, this._stale = null, this._qop = null, this._method = null, this._uri = null, this._ha1 = null, this._response = null;
@@ -13326,7 +13326,7 @@ var vr = class {
13326
13326
  this._eventHandlers.onReceiveResponse(t);
13327
13327
  }
13328
13328
  };
13329
- const sl = /* @__PURE__ */ ze(vr), ng = ut, Fo = At(), Tn = De, ff = yt, hf = vr, Hi = new ng("Registrator"), Ql = 10;
13329
+ const sl = /* @__PURE__ */ ze(vr), ng = ut, Fo = Ct(), Tn = De, ff = yt, hf = vr, Hi = new ng("Registrator"), Ql = 10;
13330
13330
  var rg = class {
13331
13331
  constructor(t, n) {
13332
13332
  this._reg_id = 1, this._ua = t, this._transport = n, this._registrar = t.configuration.registrar_server, this._expires = t.configuration.register_expires, this._call_id = Fo.createRandomToken(22), this._cseq = 0, this._to_uri = t.configuration.uri, this._registrationTimer = null, this._registering = !1, this._registered = !1, this._contact = this._ua.contact.toString(), this._contact += ";+sip.ice", this._extraHeaders = [], this._extraContactParams = "", this._sipInstance = `"<urn:uuid:${this._ua.configuration.instance_id}>"`, this._contact += `;reg-id=${this._reg_id}`, this._contact += `;+sip.instance=${this._sipInstance}`;
@@ -13497,13 +13497,13 @@ class og extends Error {
13497
13497
  super(), this.code = 4, this.name = "NOT_READY_ERROR", this.message = t;
13498
13498
  }
13499
13499
  }
13500
- var As = {
13500
+ var Cs = {
13501
13501
  ConfigurationError: ig,
13502
13502
  InvalidStateError: lg,
13503
13503
  NotSupportedError: ag,
13504
13504
  NotReadyError: og
13505
13505
  };
13506
- const qs = /* @__PURE__ */ ze(As), jo = De, Zl = Tr, ug = vr, qo = {
13506
+ const qs = /* @__PURE__ */ ze(Cs), jo = De, Zl = Tr, ug = vr, qo = {
13507
13507
  onRequestTimeout: () => {
13508
13508
  },
13509
13509
  onTransportError: () => {
@@ -13555,7 +13555,7 @@ var _h = class {
13555
13555
  }, 1e3)) : t.status_code >= 200 && t.status_code < 300 ? this._eventHandlers.onSuccessResponse(t) : t.status_code >= 300 && this._eventHandlers.onErrorResponse(t);
13556
13556
  }
13557
13557
  };
13558
- const cg = /* @__PURE__ */ ze(_h), fg = ut, df = yt, $s = De, Fi = Tr, hg = _h, Vo = At(), Bo = new fg("Dialog"), Hs = {
13558
+ const cg = /* @__PURE__ */ ze(_h), fg = ut, df = yt, $s = De, Fi = Tr, hg = _h, Vo = Ct(), Bo = new fg("Dialog"), Hs = {
13559
13559
  // Dialog states.
13560
13560
  STATUS_EARLY: 1,
13561
13561
  STATUS_CONFIRMED: 2,
@@ -13686,7 +13686,7 @@ var ph = class {
13686
13686
  };
13687
13687
  const ea = /* @__PURE__ */ ze(ph);
13688
13688
  var ju = { exports: {} };
13689
- const dg = ft.EventEmitter, _g = ut, pg = De, mg = As, _f = At(), gg = new _g("RTCSession:DTMF"), mh = {
13689
+ const dg = ft.EventEmitter, _g = ut, pg = De, mg = Cs, _f = Ct(), gg = new _g("RTCSession:DTMF"), mh = {
13690
13690
  MIN_DURATION: 70,
13691
13691
  MAX_DURATION: 6e3,
13692
13692
  DEFAULT_DURATION: 100,
@@ -13770,7 +13770,7 @@ ju.exports = class extends dg {
13770
13770
  };
13771
13771
  ju.exports.C = mh;
13772
13772
  var gh = ju.exports;
13773
- const Tg = /* @__PURE__ */ ze(gh), vg = ft.EventEmitter, Eg = De, Sg = As, yg = At();
13773
+ const Tg = /* @__PURE__ */ ze(gh), vg = ft.EventEmitter, Eg = De, Sg = Cs, yg = Ct();
13774
13774
  var Th = class extends vg {
13775
13775
  constructor(t) {
13776
13776
  super(), this._session = t, this._direction = null, this._contentType = null, this._body = null;
@@ -13828,7 +13828,7 @@ var Th = class extends vg {
13828
13828
  });
13829
13829
  }
13830
13830
  };
13831
- const yu = /* @__PURE__ */ ze(Th), Ag = ut, pf = De, Cg = new Ag("RTCSession:ReferNotifier"), Go = {
13831
+ const yu = /* @__PURE__ */ ze(Th), Cg = ut, pf = De, Ag = new Cg("RTCSession:ReferNotifier"), Go = {
13832
13832
  event_type: "refer",
13833
13833
  body_type: "message/sipfrag;version=2.0",
13834
13834
  expires: 300
@@ -13838,7 +13838,7 @@ var vh = class {
13838
13838
  this._session = t, this._id = n, this._expires = a || Go.expires, this._active = !0, this.notify(100);
13839
13839
  }
13840
13840
  notify(t, n) {
13841
- if (Cg.debug("notify()"), this._active === !1)
13841
+ if (Ag.debug("notify()"), this._active === !1)
13842
13842
  return;
13843
13843
  n = n || pf.REASON_PHRASE[t] || "";
13844
13844
  let a;
@@ -13858,7 +13858,7 @@ var vh = class {
13858
13858
  });
13859
13859
  }
13860
13860
  };
13861
- const Rg = /* @__PURE__ */ ze(vh), Ig = ft.EventEmitter, bg = ut, ji = De, wg = Zt(), mf = At(), vn = new bg("RTCSession:ReferSubscriber");
13861
+ const Rg = /* @__PURE__ */ ze(vh), Ig = ft.EventEmitter, bg = ut, ji = De, wg = Zt(), mf = Ct(), vn = new bg("RTCSession:ReferSubscriber");
13862
13862
  var Eh = class extends Ig {
13863
13863
  constructor(t) {
13864
13864
  super(), this._id = null, this._session = t;
@@ -13949,7 +13949,7 @@ var Eh = class extends Ig {
13949
13949
  });
13950
13950
  }
13951
13951
  };
13952
- const Og = /* @__PURE__ */ ze(Eh), Dg = ft.EventEmitter, gf = xt, Ng = ut, fe = De, En = As, Tf = Tr, Be = At(), qi = Fu, Ug = yt, ta = ph, Pg = vr, Mt = gh, vf = Th, xg = vh, kg = Eh, Ef = ys(), Y = new Ng("RTCSession"), Z = {
13952
+ const Og = /* @__PURE__ */ ze(Eh), Dg = ft.EventEmitter, gf = xt, Ng = ut, fe = De, En = Cs, Tf = Tr, Be = Ct(), qi = Fu, Ug = yt, ta = ph, Pg = vr, Mt = gh, vf = Th, xg = vh, kg = Eh, Ef = ys(), Y = new Ng("RTCSession"), Z = {
13953
13953
  // RTCSession states.
13954
13954
  STATUS_NULL: 0,
13955
13955
  STATUS_INVITE_SENT: 1,
@@ -13962,7 +13962,7 @@ const Og = /* @__PURE__ */ ze(Eh), Dg = ft.EventEmitter, gf = xt, Ng = ut, fe =
13962
13962
  STATUS_TERMINATED: 8,
13963
13963
  STATUS_CONFIRMED: 9
13964
13964
  }, sa = ["audio", "video"];
13965
- var Sh = class Au extends Dg {
13965
+ var Sh = class Cu extends Dg {
13966
13966
  /**
13967
13967
  * Expose C object.
13968
13968
  */
@@ -14088,8 +14088,8 @@ var Sh = class Au extends Dg {
14088
14088
  if (t = this._ua.normalizeTarget(t), !t)
14089
14089
  throw new TypeError(`Invalid target: ${o}`);
14090
14090
  this._sessionTimers.enabled && Be.isDecimal(n.sessionTimersExpires) && (n.sessionTimersExpires >= fe.MIN_SESSION_EXPIRES ? this._sessionTimers.defaultExpires = n.sessionTimersExpires : this._sessionTimers.defaultExpires = fe.SESSION_EXPIRES);
14091
- for (const A in s)
14092
- Object.prototype.hasOwnProperty.call(s, A) && this.on(A, s[A]);
14091
+ for (const C in s)
14092
+ Object.prototype.hasOwnProperty.call(s, C) && this.on(C, s[C]);
14093
14093
  this._from_tag = Be.newTag();
14094
14094
  const E = n.anonymous || !1, y = { from_tag: this._from_tag };
14095
14095
  this._contact = this._ua.contact.toString({
@@ -14132,7 +14132,7 @@ var Sh = class Au extends Dg {
14132
14132
  answer(t = {}) {
14133
14133
  Y.debug("answer()");
14134
14134
  const n = this._request, a = Be.cloneArray(t.extraHeaders), o = Be.cloneObject(t.mediaConstraints), s = t.mediaStream || null, r = Be.cloneObject(t.pcConfig, { iceServers: [] }), d = t.rtcConstraints || null, h = t.rtcAnswerConstraints || null, _ = Be.cloneObject(t.rtcOfferConstraints);
14135
- let g, T = !1, E = !1, y = !1, A = !1;
14135
+ let g, T = !1, E = !1, y = !1, C = !1;
14136
14136
  if (this._rtcAnswerConstraints = h, this._rtcOfferConstraints = t.rtcOfferConstraints || null, this._data = t.data || this._data, this._direction !== "incoming")
14137
14137
  throw new En.NotSupportedError('"answer" not supported for outgoing RTCSession');
14138
14138
  if (this._status !== Z.STATUS_WAITING_FOR_ANSWER)
@@ -14142,10 +14142,10 @@ var Sh = class Au extends Dg {
14142
14142
  return;
14143
14143
  }
14144
14144
  clearTimeout(this._timers.userNoAnswerTimer), a.unshift(`Contact: ${this._contact}`);
14145
- const C = n.parseSDP();
14146
- Array.isArray(C.media) || (C.media = [C.media]);
14147
- for (const I of C.media)
14148
- I.type === "audio" && (T = !0, (!I.direction || I.direction === "sendrecv") && (y = !0)), I.type === "video" && (E = !0, (!I.direction || I.direction === "sendrecv") && (A = !0));
14145
+ const A = n.parseSDP();
14146
+ Array.isArray(A.media) || (A.media = [A.media]);
14147
+ for (const I of A.media)
14148
+ I.type === "audio" && (T = !0, (!I.direction || I.direction === "sendrecv") && (y = !0)), I.type === "video" && (E = !0, (!I.direction || I.direction === "sendrecv") && (C = !0));
14149
14149
  if (s && o.audio === !1) {
14150
14150
  g = s.getAudioTracks();
14151
14151
  for (const I of g)
@@ -14156,7 +14156,7 @@ var Sh = class Au extends Dg {
14156
14156
  for (const I of g)
14157
14157
  s.removeTrack(I);
14158
14158
  }
14159
- !s && o.audio === void 0 && (o.audio = y), !s && o.video === void 0 && (o.video = A), !s && !T && !_.offerToReceiveAudio && (o.audio = !1), !s && !E && !_.offerToReceiveVideo && (o.video = !1), this._createRTCConnection(r, d), Promise.resolve().then(() => {
14159
+ !s && o.audio === void 0 && (o.audio = y), !s && o.video === void 0 && (o.video = C), !s && !T && !_.offerToReceiveAudio && (o.audio = !1), !s && !E && !_.offerToReceiveVideo && (o.video = !1), this._createRTCConnection(r, d), Promise.resolve().then(() => {
14160
14160
  if (s)
14161
14161
  return s;
14162
14162
  if (o.audio || o.video)
@@ -14792,7 +14792,7 @@ var Sh = class Au extends Dg {
14792
14792
  function a(s, r = {}) {
14793
14793
  if (s = typeof s == "function" ? s : null, this._status !== Z.STATUS_WAITING_FOR_ACK && this._status !== Z.STATUS_CONFIRMED)
14794
14794
  return !1;
14795
- const d = new Au(this._ua);
14795
+ const d = new Cu(this._ua);
14796
14796
  if (d.on("progress", ({ response: h }) => {
14797
14797
  n.notify(h.status_code, h.reason_phrase);
14798
14798
  }), d.on("accepted", ({ response: h }) => {
@@ -14843,7 +14843,7 @@ var Sh = class Au extends Dg {
14843
14843
  function n(o) {
14844
14844
  if (this._status !== Z.STATUS_WAITING_FOR_ACK && this._status !== Z.STATUS_CONFIRMED)
14845
14845
  return !1;
14846
- const s = new Au(this._ua);
14846
+ const s = new Cu(this._ua);
14847
14847
  s.on("confirmed", () => {
14848
14848
  this.terminate();
14849
14849
  }), s.init_incoming(t, o);
@@ -15276,7 +15276,7 @@ var Sh = class Au extends Dg {
15276
15276
  });
15277
15277
  }
15278
15278
  };
15279
- const Mg = /* @__PURE__ */ ze(Sh), Lg = ft.EventEmitter, $g = ut, Wo = De, Hg = yt, Vi = At(), Fg = vr, Sf = As, jg = ys(), na = new $g("Message");
15279
+ const Mg = /* @__PURE__ */ ze(Sh), Lg = ft.EventEmitter, $g = ut, Wo = De, Hg = yt, Vi = Ct(), Fg = vr, Sf = Cs, jg = ys(), na = new $g("Message");
15280
15280
  var qg = class extends Lg {
15281
15281
  constructor(t) {
15282
15282
  super(), this._ua = t, this._request = null, this._closed = !1, this._direction = null, this._local_identity = null, this._remote_identity = null, this._is_replied = !1, this._data = {};
@@ -15397,7 +15397,7 @@ var qg = class extends Lg {
15397
15397
  });
15398
15398
  }
15399
15399
  };
15400
- const Vg = ft.EventEmitter, Bg = ut, Ko = De, Gg = yt, Bi = At(), Wg = vr, yf = As, ra = new Bg("Options");
15400
+ const Vg = ft.EventEmitter, Bg = ut, Ko = De, Gg = yt, Bi = Ct(), Wg = vr, yf = Cs, ra = new Bg("Options");
15401
15401
  var Kg = class extends Vg {
15402
15402
  constructor(t) {
15403
15403
  super(), this._ua = t, this._request = null, this._closed = !1, this._direction = null, this._local_identity = null, this._remote_identity = null, this._is_replied = !1, this._data = {};
@@ -15517,7 +15517,7 @@ var Kg = class extends Vg {
15517
15517
  });
15518
15518
  }
15519
15519
  }, qu = {};
15520
- const Yg = ut, Yo = At(), Jg = Zt(), Gi = new Yg("Socket");
15520
+ const Yg = ut, Yo = Ct(), Jg = Zt(), Gi = new Yg("Socket");
15521
15521
  qu.isSocket = (c) => {
15522
15522
  if (Array.isArray(c))
15523
15523
  return !1;
@@ -15543,7 +15543,7 @@ qu.isSocket = (c) => {
15543
15543
  }
15544
15544
  return !0;
15545
15545
  };
15546
- const zg = ut, Xg = qu, Af = De, Ut = new zg("Transport"), Vt = {
15546
+ const zg = ut, Xg = qu, Cf = De, Ut = new zg("Transport"), Vt = {
15547
15547
  // Transport status.
15548
15548
  STATUS_CONNECTED: 0,
15549
15549
  STATUS_CONNECTING: 1,
@@ -15554,9 +15554,9 @@ const zg = ut, Xg = qu, Af = De, Ut = new zg("Transport"), Vt = {
15554
15554
  // Recovery options.
15555
15555
  recovery_options: {
15556
15556
  // minimum interval in seconds between recover attempts.
15557
- min_interval: Af.CONNECTION_RECOVERY_MIN_INTERVAL,
15557
+ min_interval: Cf.CONNECTION_RECOVERY_MIN_INTERVAL,
15558
15558
  // maximum interval in seconds between recover attempts.
15559
- max_interval: Af.CONNECTION_RECOVERY_MAX_INTERVAL
15559
+ max_interval: Cf.CONNECTION_RECOVERY_MAX_INTERVAL
15560
15560
  }
15561
15561
  };
15562
15562
  var yh = class {
@@ -15694,9 +15694,9 @@ ${t}
15694
15694
  }
15695
15695
  };
15696
15696
  const Qg = /* @__PURE__ */ ze(yh);
15697
- var Ah = {};
15698
- const Zg = ut, Cu = Zt(), Ru = yt, ia = new Zg("Parser");
15699
- Ah.parseMessage = (c, t) => {
15697
+ var Ch = {};
15698
+ const Zg = ut, Au = Zt(), Ru = yt, ia = new Zg("Parser");
15699
+ Ch.parseMessage = (c, t) => {
15700
15700
  let n, a, o = c.indexOf(`\r
15701
15701
  `);
15702
15702
  if (o === -1) {
@@ -15704,7 +15704,7 @@ Ah.parseMessage = (c, t) => {
15704
15704
  return;
15705
15705
  }
15706
15706
  const s = c.substring(0, o);
15707
- let r = Cu.parse(s, "Request_Response");
15707
+ let r = Au.parse(s, "Request_Response");
15708
15708
  if (r === -1) {
15709
15709
  ia.warn(`parseMessage() | error parsing first line of SIP message: "${s}"`);
15710
15710
  return;
@@ -15762,7 +15762,7 @@ function tT(c, t, n, a) {
15762
15762
  c.setHeader("to", d), o = c.parseHeader("to"), o && (c.to = o, c.to_tag = o.getParam("tag"));
15763
15763
  break;
15764
15764
  case "record-route":
15765
- if (o = Cu.parse(d, "Record_Route"), o === -1)
15765
+ if (o = Au.parse(d, "Record_Route"), o === -1)
15766
15766
  o = void 0;
15767
15767
  else
15768
15768
  for (const h of o)
@@ -15774,7 +15774,7 @@ function tT(c, t, n, a) {
15774
15774
  break;
15775
15775
  case "contact":
15776
15776
  case "m":
15777
- if (o = Cu.parse(d, "Contact"), o === -1)
15777
+ if (o = Au.parse(d, "Contact"), o === -1)
15778
15778
  o = void 0;
15779
15779
  else
15780
15780
  for (const h of o)
@@ -15822,7 +15822,7 @@ function tT(c, t, n, a) {
15822
15822
  error: `error parsing header "${r}"`
15823
15823
  } : !0;
15824
15824
  }
15825
- const sT = ut, Ch = De, Cf = yt, Vu = At(), Bu = new sT("sanityCheck"), nT = [hT], rT = [
15825
+ const sT = ut, Ah = De, Af = yt, Vu = Ct(), Bu = new sT("sanityCheck"), nT = [hT], rT = [
15826
15826
  lT,
15827
15827
  aT,
15828
15828
  oT,
@@ -15837,11 +15837,11 @@ var Ih = (c, t, n) => {
15837
15837
  for (const a of nT)
15838
15838
  if (a() === !1)
15839
15839
  return !1;
15840
- if (je instanceof Cf.IncomingRequest) {
15840
+ if (je instanceof Af.IncomingRequest) {
15841
15841
  for (const a of rT)
15842
15842
  if (a() === !1)
15843
15843
  return !1;
15844
- } else if (je instanceof Cf.IncomingResponse) {
15844
+ } else if (je instanceof Af.IncomingResponse) {
15845
15845
  for (const a of iT)
15846
15846
  if (a() === !1)
15847
15847
  return !1;
@@ -15865,7 +15865,7 @@ function uT() {
15865
15865
  const c = je.from_tag, t = je.call_id, n = je.cseq;
15866
15866
  let a;
15867
15867
  if (!je.to_tag)
15868
- if (je.method === Ch.INVITE) {
15868
+ if (je.method === Ah.INVITE) {
15869
15869
  if (is._transactions.ist[je.via_branch])
15870
15870
  return !1;
15871
15871
  for (const o in is._transactions.ist)
@@ -15896,7 +15896,7 @@ function hT() {
15896
15896
  }
15897
15897
  function nl(c) {
15898
15898
  const t = je.getHeaders("via");
15899
- let n, a = `SIP/2.0 ${c} ${Ch.REASON_PHRASE[c]}\r
15899
+ let n, a = `SIP/2.0 ${c} ${Ah.REASON_PHRASE[c]}\r
15900
15900
  `;
15901
15901
  for (const o of t)
15902
15902
  a += `Via: ${o}\r
@@ -15910,7 +15910,7 @@ function nl(c) {
15910
15910
  }
15911
15911
  const dT = /* @__PURE__ */ ze(Ih);
15912
15912
  var rl = {};
15913
- const hr = At(), An = De, Jo = Zt(), Rf = ys(), zo = qu, Xo = As;
15913
+ const hr = Ct(), Cn = De, Jo = Zt(), Rf = ys(), zo = qu, Xo = Cs;
15914
15914
  rl.settings = {
15915
15915
  // SIP authentication.
15916
15916
  authorization_user: null,
@@ -15928,7 +15928,7 @@ rl.settings = {
15928
15928
  use_preloaded_route: !1,
15929
15929
  // Session parameters.
15930
15930
  session_timers: !0,
15931
- session_timers_refresh_method: An.UPDATE,
15931
+ session_timers_refresh_method: Cn.UPDATE,
15932
15932
  session_timers_force_refresher: !1,
15933
15933
  no_answer_timeout: 60,
15934
15934
  // Registration parameters.
@@ -15937,8 +15937,8 @@ rl.settings = {
15937
15937
  registrar_server: null,
15938
15938
  // Connection options.
15939
15939
  sockets: null,
15940
- connection_recovery_max_interval: An.CONNECTION_RECOVERY_MAX_INTERVAL,
15941
- connection_recovery_min_interval: An.CONNECTION_RECOVERY_MIN_INTERVAL,
15940
+ connection_recovery_max_interval: Cn.CONNECTION_RECOVERY_MAX_INTERVAL,
15941
+ connection_recovery_min_interval: Cn.CONNECTION_RECOVERY_MIN_INTERVAL,
15942
15942
  // Global extra headers, to be added to every request and response
15943
15943
  extra_headers: null,
15944
15944
  /*
@@ -15961,7 +15961,7 @@ const la = {
15961
15961
  return t;
15962
15962
  },
15963
15963
  uri(c) {
15964
- /^sip:/i.test(c) || (c = `${An.SIP}:${c}`);
15964
+ /^sip:/i.test(c) || (c = `${Cn.SIP}:${c}`);
15965
15965
  const t = Rf.parse(c);
15966
15966
  if (t)
15967
15967
  return t.user ? t : void 0;
@@ -16020,7 +16020,7 @@ const la = {
16020
16020
  return c;
16021
16021
  },
16022
16022
  session_timers_refresh_method(c) {
16023
- if (typeof c == "string" && (c = c.toUpperCase(), c === An.INVITE || c === An.UPDATE))
16023
+ if (typeof c == "string" && (c = c.toUpperCase(), c === Cn.INVITE || c === Cn.UPDATE))
16024
16024
  return c;
16025
16025
  },
16026
16026
  session_timers_force_refresher(c) {
@@ -16048,7 +16048,7 @@ const la = {
16048
16048
  }
16049
16049
  },
16050
16050
  registrar_server(c) {
16051
- /^sip:/i.test(c) || (c = `${An.SIP}:${c}`);
16051
+ /^sip:/i.test(c) || (c = `${Cn.SIP}:${c}`);
16052
16052
  const t = Rf.parse(c);
16053
16053
  if (t)
16054
16054
  return t.user ? void 0 : t;
@@ -16090,7 +16090,7 @@ rl.load = (c, t) => {
16090
16090
  throw new Xo.ConfigurationError(n, a);
16091
16091
  }
16092
16092
  };
16093
- const _T = ft.EventEmitter, pT = ut, mt = De, mT = rg, If = Sh, bf = qg, wf = Kg, Qo = Tr, gT = yh, aa = At(), TT = As, vT = ys(), ET = Ah, Zo = yt, ST = Ih, eu = rl, He = new pT("UA"), vt = {
16093
+ const _T = ft.EventEmitter, pT = ut, mt = De, mT = rg, If = Sh, bf = qg, wf = Kg, Qo = Tr, gT = yh, aa = Ct(), TT = Cs, vT = ys(), ET = Ch, Zo = yt, ST = Ih, eu = rl, He = new pT("UA"), vt = {
16094
16094
  // UA status codes.
16095
16095
  STATUS_INIT: 0,
16096
16096
  STATUS_READY: 1,
@@ -16503,7 +16503,7 @@ var bh = class extends _T {
16503
16503
  // Recovery options.
16504
16504
  max_interval: this._configuration.connection_recovery_max_interval,
16505
16505
  min_interval: this._configuration.connection_recovery_min_interval
16506
- }), this._transport.onconnecting = yT.bind(this), this._transport.onconnect = AT.bind(this), this._transport.ondisconnect = CT.bind(this), this._transport.ondata = RT.bind(this);
16506
+ }), this._transport.onconnecting = yT.bind(this), this._transport.onconnect = CT.bind(this), this._transport.ondisconnect = AT.bind(this), this._transport.ondata = RT.bind(this);
16507
16507
  } catch (o) {
16508
16508
  throw He.warn(o), new TT.ConfigurationError("sockets", this._configuration.sockets);
16509
16509
  }
@@ -16560,10 +16560,10 @@ var bh = class extends _T {
16560
16560
  function yT(c) {
16561
16561
  this.emit("connecting", c);
16562
16562
  }
16563
- function AT(c) {
16563
+ function CT(c) {
16564
16564
  this._status !== vt.STATUS_USER_CLOSED && (this._status = vt.STATUS_READY, this._error = null, this.emit("connected", c), this._dynConfiguration.register && this._registrator.register());
16565
16565
  }
16566
- function CT(c) {
16566
+ function AT(c) {
16567
16567
  const t = ["nict", "ict", "nist", "ist"];
16568
16568
  for (const n of t)
16569
16569
  for (const a in this._transactions[n])
@@ -16622,7 +16622,7 @@ function Df(c, t, n) {
16622
16622
  }
16623
16623
  return bT(a);
16624
16624
  }
16625
- var ke = At();
16625
+ var ke = Ct();
16626
16626
  const Ts = /* @__PURE__ */ ze(ke), su = new Ga("Dialog"), Fs = {
16627
16627
  // Dialog states.
16628
16628
  STATUS_EARLY: 1,
@@ -17072,17 +17072,17 @@ class $a extends ft.EventEmitter {
17072
17072
  if (t = this._ua.normalizeTarget(t), this.room_id = t.user, this.target = t, !t)
17073
17073
  throw new TypeError(`Invalid target: ${s}`);
17074
17074
  this._sessionTimers.enabled && ke.isDecimal(a.sessionTimersExpires) && (a.sessionTimersExpires >= L.MIN_SESSION_EXPIRES ? this._sessionTimers.defaultExpires = a.sessionTimersExpires : this._sessionTimers.defaultExpires = L.SESSION_EXPIRES);
17075
- for (const C in r)
17076
- Object.prototype.hasOwnProperty.call(r, C) && this.on(C, r[C]);
17075
+ for (const A in r)
17076
+ Object.prototype.hasOwnProperty.call(r, A) && this.on(A, r[A]);
17077
17077
  this._from_tag = ke.newTag();
17078
- const y = a.anonymous || !1, A = { from_tag: this._from_tag };
17078
+ const y = a.anonymous || !1, C = { from_tag: this._from_tag };
17079
17079
  this._contact = this._ua.contact.toString({
17080
17080
  anonymous: y,
17081
17081
  outbound: !0
17082
- }), y ? (A.from_display_name = "Anonymous", A.from_uri = new In("sip", "anonymous", "anonymous.invalid"), d.push(`P-Preferred-Identity: ${this._ua.configuration.uri.toString()}`), d.push("Privacy: id")) : a.fromUserName && (A.from_uri = new In("sip", a.fromUserName, this._ua.configuration.uri.host), d.push(`P-Preferred-Identity: ${this._ua.configuration.uri.toString()}`)), a.fromDisplayName && (A.from_display_name = a.fromDisplayName), d.push(`Contact: ${this._contact}`), d.push("Content-Type: application/json"), this._sessionTimers.enabled && d.push(`Session-Expires: ${this._sessionTimers.defaultExpires}${this._ua.configuration.session_timers_force_refresher ? ";refresher=uac" : ""}`), this._request = new yt.InitialOutgoingInviteRequest(
17082
+ }), y ? (C.from_display_name = "Anonymous", C.from_uri = new In("sip", "anonymous", "anonymous.invalid"), d.push(`P-Preferred-Identity: ${this._ua.configuration.uri.toString()}`), d.push("Privacy: id")) : a.fromUserName && (C.from_uri = new In("sip", a.fromUserName, this._ua.configuration.uri.host), d.push(`P-Preferred-Identity: ${this._ua.configuration.uri.toString()}`)), a.fromDisplayName && (C.from_display_name = a.fromDisplayName), d.push(`Contact: ${this._contact}`), d.push("Content-Type: application/json"), this._sessionTimers.enabled && d.push(`Session-Expires: ${this._sessionTimers.defaultExpires}${this._ua.configuration.session_timers_force_refresher ? ";refresher=uac" : ""}`), this._request = new yt.InitialOutgoingInviteRequest(
17083
17083
  t,
17084
17084
  this._ua,
17085
- A,
17085
+ C,
17086
17086
  d
17087
17087
  ), this._id = this._request.call_id + this._from_tag, this._createRTCConnection(g, T), this._direction = "outgoing", this._local_identity = this._request.from, this._remote_identity = this._request.to, o && o(this), this._newJanusSession("local", this._request), this._sendInitialRequest(h, E, _);
17088
17088
  }
@@ -17168,7 +17168,7 @@ class $a extends ft.EventEmitter {
17168
17168
  answer(t = {}) {
17169
17169
  z.debug("answer()");
17170
17170
  const n = this._request, a = ke.cloneArray(t.extraHeaders), o = ke.cloneObject(t.mediaConstraints), s = t.mediaStream || null, r = ke.cloneObject(t.pcConfig, { iceServers: [] }), d = t.rtcConstraints || null, h = t.rtcAnswerConstraints || null, _ = ke.cloneObject(t.rtcOfferConstraints);
17171
- let g, T = !1, E = !1, y = !1, A = !1;
17171
+ let g, T = !1, E = !1, y = !1, C = !1;
17172
17172
  if (this._rtcAnswerConstraints = h, this._rtcOfferConstraints = t.rtcOfferConstraints || null, this._data = t.data || this._data, this._direction !== "incoming")
17173
17173
  throw new qs.NotSupportedError('"answer" not supported for outgoing RTCSession');
17174
17174
  if (this._status !== te.STATUS_WAITING_FOR_ANSWER)
@@ -17178,10 +17178,10 @@ class $a extends ft.EventEmitter {
17178
17178
  return;
17179
17179
  }
17180
17180
  clearTimeout(this._timers.userNoAnswerTimer), a.unshift(`Contact: ${this._contact}`);
17181
- const C = n.parseSDP();
17182
- Array.isArray(C.media) || (C.media = [C.media]);
17183
- for (const I of C.media)
17184
- I.type === "audio" && (T = !0, (!I.direction || I.direction === "sendrecv") && (y = !0)), I.type === "video" && (E = !0, (!I.direction || I.direction === "sendrecv") && (A = !0));
17181
+ const A = n.parseSDP();
17182
+ Array.isArray(A.media) || (A.media = [A.media]);
17183
+ for (const I of A.media)
17184
+ I.type === "audio" && (T = !0, (!I.direction || I.direction === "sendrecv") && (y = !0)), I.type === "video" && (E = !0, (!I.direction || I.direction === "sendrecv") && (C = !0));
17185
17185
  if (s && o.audio === !1) {
17186
17186
  g = s.getAudioTracks();
17187
17187
  for (const I of g)
@@ -17192,7 +17192,7 @@ class $a extends ft.EventEmitter {
17192
17192
  for (const I of g)
17193
17193
  s.removeTrack(I);
17194
17194
  }
17195
- !s && o.audio === void 0 && (o.audio = y), !s && o.video === void 0 && (o.video = A), !s && !T && !_.offerToReceiveAudio && (o.audio = !1), !s && !E && !_.offerToReceiveVideo && (o.video = !1), this._createRTCConnection(r, d), Promise.resolve().then(() => {
17195
+ !s && o.audio === void 0 && (o.audio = y), !s && o.video === void 0 && (o.video = C), !s && !T && !_.offerToReceiveAudio && (o.audio = !1), !s && !E && !_.offerToReceiveVideo && (o.video = !1), this._createRTCConnection(r, d), Promise.resolve().then(() => {
17196
17196
  if (s)
17197
17197
  return s;
17198
17198
  if (o.audio || o.video)
@@ -18318,8 +18318,8 @@ class $a extends ft.EventEmitter {
18318
18318
  audio: !0,
18319
18319
  video: !0
18320
18320
  };
18321
- await new Promise((A) => {
18322
- setTimeout(A, 100);
18321
+ await new Promise((C) => {
18322
+ setTimeout(C, 100);
18323
18323
  }), a = await t.rtcpPeer.createAnswer(y), this._sendMemberStartMessage(t, a);
18324
18324
  }
18325
18325
  const _ = h.streams[0].getAudioTracks(), g = h.streams[0].getVideoTracks(), T = [];
@@ -20135,15 +20135,17 @@ function Pf(c, t) {
20135
20135
  return a.connect(s), s.connect(o), s.gain.value = t, o.stream;
20136
20136
  }
20137
20137
  function YT(c, t, n, a) {
20138
+ if (wh())
20139
+ return;
20138
20140
  const o = document.createElement("audio");
20139
- o.id = t._id, o.className = "audioTag", o.srcObject = c, wh() || (o.setSinkId(n), o.volume = a), o.play(), t.audioTag = o;
20141
+ o.id = t._id, o.className = "audioTag", o.srcObject = c, o.setSinkId(n), o.volume = a, o.play(), t.audioTag = o;
20140
20142
  }
20141
20143
  function JT(c) {
20142
20144
  if (c && typeof c.log == "function" && typeof c.warn == "function" && typeof c.error == "function")
20143
20145
  return !0;
20144
20146
  }
20145
20147
  function wh() {
20146
- return /Mobi|Android|iPhone/i.test(navigator.userAgent);
20148
+ return /Mobi|react-native|Android|iPhone/i.test(navigator.userAgent);
20147
20149
  }
20148
20150
  const zT = ut, XT = Zt(), Dt = new zT("WebSocketInterface");
20149
20151
  var QT = class {
@@ -20215,7 +20217,7 @@ var QT = class {
20215
20217
  Dt.warn(`WebSocket ${this._url} error: `, t);
20216
20218
  }
20217
20219
  };
20218
- const bu = Ha, ZT = De, ev = As, tv = At(), sv = bh, nv = ys(), rv = $u(), iv = Zt(), lv = QT, av = gr("JsSIP");
20220
+ const bu = Ha, ZT = De, ev = Cs, tv = Ct(), sv = bh, nv = ys(), rv = $u(), iv = Zt(), lv = QT, av = gr("JsSIP");
20219
20221
  av("version %s", bu.version);
20220
20222
  var ov = {
20221
20223
  C: ZT,
@@ -20250,8 +20252,8 @@ function cv(c) {
20250
20252
  formatted: o
20251
20253
  };
20252
20254
  }
20253
- var Ct = {};
20254
- Ct.forEach = async (c, t, n) => {
20255
+ var At = {};
20256
+ At.forEach = async (c, t, n) => {
20255
20257
  const a = [];
20256
20258
  for (let o = 0; o < c.length; o++)
20257
20259
  if (o in c) {
@@ -20260,23 +20262,23 @@ Ct.forEach = async (c, t, n) => {
20260
20262
  }
20261
20263
  await Promise.all(a);
20262
20264
  };
20263
- Ct.forEachSeries = async (c, t, n) => {
20265
+ At.forEachSeries = async (c, t, n) => {
20264
20266
  for (let a = 0; a < c.length; a++)
20265
20267
  a in c && await t.call(n || globalThis, await c[a], a, c);
20266
20268
  };
20267
- Ct.map = async (c, t, n) => {
20269
+ At.map = async (c, t, n) => {
20268
20270
  const a = [];
20269
20271
  for (let o = 0; o < c.length; o++)
20270
20272
  o in c && (a[o] = Promise.resolve(c[o]).then((s) => t.call(n || globalThis, s, o, c)));
20271
20273
  return Promise.all(a);
20272
20274
  };
20273
- Ct.mapSeries = async (c, t, n) => {
20275
+ At.mapSeries = async (c, t, n) => {
20274
20276
  const a = [];
20275
20277
  for (let o = 0; o < c.length; o++)
20276
20278
  o in c && (a[o] = await t.call(n || globalThis, await c[o], o, c));
20277
20279
  return a;
20278
20280
  };
20279
- Ct.find = (c, t, n) => new Promise((a, o) => {
20281
+ At.find = (c, t, n) => new Promise((a, o) => {
20280
20282
  if (c.length === 0)
20281
20283
  return a();
20282
20284
  let s = 1;
@@ -20287,12 +20289,12 @@ Ct.find = (c, t, n) => new Promise((a, o) => {
20287
20289
  Promise.resolve(c[r]).then((h) => t.call(n || globalThis, h, r, c)).then(d).catch(o);
20288
20290
  }
20289
20291
  });
20290
- Ct.findSeries = async (c, t, n) => {
20292
+ At.findSeries = async (c, t, n) => {
20291
20293
  for (let a = 0; a < c.length; a++)
20292
20294
  if (await t.call(n || globalThis, await c[a], a, c))
20293
20295
  return c[a];
20294
20296
  };
20295
- Ct.findIndex = (c, t, n) => new Promise((a, o) => {
20297
+ At.findIndex = (c, t, n) => new Promise((a, o) => {
20296
20298
  if (c.length === 0)
20297
20299
  return a(-1);
20298
20300
  let s = 1;
@@ -20303,12 +20305,12 @@ Ct.findIndex = (c, t, n) => new Promise((a, o) => {
20303
20305
  Promise.resolve(c[r]).then((h) => t.call(n || globalThis, h, r, c)).then(d).catch(o);
20304
20306
  }
20305
20307
  });
20306
- Ct.findIndexSeries = async (c, t, n) => {
20308
+ At.findIndexSeries = async (c, t, n) => {
20307
20309
  for (let a = 0; a < c.length; a++)
20308
20310
  if (await t.call(n || globalThis, await c[a], a, c))
20309
20311
  return a;
20310
20312
  };
20311
- Ct.some = (c, t, n) => new Promise((a, o) => {
20313
+ At.some = (c, t, n) => new Promise((a, o) => {
20312
20314
  if (c.length === 0)
20313
20315
  return a(!1);
20314
20316
  let s = 1;
@@ -20323,13 +20325,13 @@ Ct.some = (c, t, n) => new Promise((a, o) => {
20323
20325
  Promise.resolve(c[r]).then((h) => t.call(n || globalThis, h, r, c)).then(d).catch(o);
20324
20326
  }
20325
20327
  });
20326
- Ct.someSeries = async (c, t, n) => {
20328
+ At.someSeries = async (c, t, n) => {
20327
20329
  for (let a = 0; a < c.length; a++)
20328
20330
  if (a in c && await t.call(n || globalThis, await c[a], a, c))
20329
20331
  return !0;
20330
20332
  return !1;
20331
20333
  };
20332
- Ct.every = (c, t, n) => new Promise((a, o) => {
20334
+ At.every = (c, t, n) => new Promise((a, o) => {
20333
20335
  if (c.length === 0)
20334
20336
  return a(!0);
20335
20337
  let s = 1;
@@ -20344,13 +20346,13 @@ Ct.every = (c, t, n) => new Promise((a, o) => {
20344
20346
  Promise.resolve(c[r]).then((h) => t.call(n || globalThis, h, r, c)).then(d).catch(o);
20345
20347
  }
20346
20348
  });
20347
- Ct.everySeries = async (c, t, n) => {
20349
+ At.everySeries = async (c, t, n) => {
20348
20350
  for (let a = 0; a < c.length; a++)
20349
20351
  if (a in c && !await t.call(n || globalThis, await c[a], a, c))
20350
20352
  return !1;
20351
20353
  return !0;
20352
20354
  };
20353
- Ct.filter = (c, t, n) => new Promise(async (a, o) => {
20355
+ At.filter = (c, t, n) => new Promise(async (a, o) => {
20354
20356
  const s = [];
20355
20357
  for (let d = 0; d < c.length; d++)
20356
20358
  d in c && (s[d] = Promise.resolve(c[d]).then((h) => t.call(n || globalThis, h, d, c)).catch(o));
@@ -20359,13 +20361,13 @@ Ct.filter = (c, t, n) => new Promise(async (a, o) => {
20359
20361
  await s[d] && r.push(await c[d]);
20360
20362
  a(r);
20361
20363
  });
20362
- Ct.filterSeries = async (c, t, n) => {
20364
+ At.filterSeries = async (c, t, n) => {
20363
20365
  const a = [];
20364
20366
  for (let o = 0; o < c.length; o++)
20365
20367
  o in c && await t.call(n || globalThis, await c[o], o, c) && a.push(await c[o]);
20366
20368
  return a;
20367
20369
  };
20368
- Ct.reduce = async (c, t, n) => {
20370
+ At.reduce = async (c, t, n) => {
20369
20371
  if (c.length === 0 && n === void 0)
20370
20372
  throw TypeError("Reduce of empty array with no initial value");
20371
20373
  let a, o;
@@ -20375,7 +20377,7 @@ Ct.reduce = async (c, t, n) => {
20375
20377
  };
20376
20378
  var Oh = {};
20377
20379
  (function(c) {
20378
- const t = Ct;
20380
+ const t = At;
20379
20381
  Object.keys(t).forEach((n) => {
20380
20382
  const a = n.charAt(0).toUpperCase() + n.slice(1);
20381
20383
  c[`async${a}`] = async function(...o) {
@@ -20383,9 +20385,9 @@ var Oh = {};
20383
20385
  };
20384
20386
  });
20385
20387
  })(Oh);
20386
- const fv = Ct, hv = Oh;
20388
+ const fv = At, hv = Oh;
20387
20389
  var dv = Object.assign(fv, { instanceMethods: hv });
20388
- const Cn = new AudioContext(), Xt = {
20390
+ const An = new AudioContext(), Xt = {
20389
20391
  NEW_CALL: "new_call",
20390
20392
  CALL_CONFIRMED: "confirmed",
20391
20393
  CALL_FAILED: "failed",
@@ -20425,7 +20427,7 @@ var _v = { exports: {} };
20425
20427
  return { type: "throw", arg: re };
20426
20428
  }
20427
20429
  }
20428
- var A = "suspendedStart", C = "suspendedYield", I = "executing", H = "completed", $ = {};
20430
+ var C = "suspendedStart", A = "suspendedYield", I = "executing", H = "completed", $ = {};
20429
20431
  function oe() {
20430
20432
  }
20431
20433
  function N() {
@@ -20466,26 +20468,26 @@ var _v = { exports: {} };
20466
20468
  return { __await: ee };
20467
20469
  };
20468
20470
  function V(ee, W) {
20469
- function G(be, xe, Ce, le) {
20471
+ function G(be, xe, Ae, le) {
20470
20472
  var ye = y(ee[be], ee, xe);
20471
20473
  if (ye.type === "throw")
20472
20474
  le(ye.arg);
20473
20475
  else {
20474
20476
  var nt = ye.arg, at = nt.value;
20475
20477
  return at && typeof at == "object" && o.call(at, "__await") ? W.resolve(at.__await).then(function(Ee) {
20476
- G("next", Ee, Ce, le);
20478
+ G("next", Ee, Ae, le);
20477
20479
  }, function(Ee) {
20478
- G("throw", Ee, Ce, le);
20480
+ G("throw", Ee, Ae, le);
20479
20481
  }) : W.resolve(at).then(function(Ee) {
20480
- nt.value = Ee, Ce(nt);
20482
+ nt.value = Ee, Ae(nt);
20481
20483
  }, function(Ee) {
20482
- return G("throw", Ee, Ce, le);
20484
+ return G("throw", Ee, Ae, le);
20483
20485
  });
20484
20486
  }
20485
20487
  }
20486
20488
  var re;
20487
20489
  function ge(be, xe) {
20488
- function Ce() {
20490
+ function Ae() {
20489
20491
  return new W(function(le, ye) {
20490
20492
  G(be, xe, le, ye);
20491
20493
  });
@@ -20503,11 +20505,11 @@ var _v = { exports: {} };
20503
20505
  // async functions in terms of async generators, it is especially
20504
20506
  // important to get this right, even though it requires care.
20505
20507
  re ? re.then(
20506
- Ce,
20508
+ Ae,
20507
20509
  // Avoid propagating failures to Promises returned by later
20508
20510
  // invocations of the iterator.
20509
- Ce
20510
- ) : Ce();
20511
+ Ae
20512
+ ) : Ae();
20511
20513
  }
20512
20514
  s(this, "_invoke", { value: ge });
20513
20515
  }
@@ -20524,7 +20526,7 @@ var _v = { exports: {} };
20524
20526
  });
20525
20527
  };
20526
20528
  function J(ee, W, G) {
20527
- var re = A;
20529
+ var re = C;
20528
20530
  return function(be, xe) {
20529
20531
  if (re === I)
20530
20532
  throw new Error("Generator is already running");
@@ -20534,9 +20536,9 @@ var _v = { exports: {} };
20534
20536
  return st();
20535
20537
  }
20536
20538
  for (G.method = be, G.arg = xe; ; ) {
20537
- var Ce = G.delegate;
20538
- if (Ce) {
20539
- var le = F(Ce, G);
20539
+ var Ae = G.delegate;
20540
+ if (Ae) {
20541
+ var le = F(Ae, G);
20540
20542
  if (le) {
20541
20543
  if (le === $)
20542
20544
  continue;
@@ -20546,7 +20548,7 @@ var _v = { exports: {} };
20546
20548
  if (G.method === "next")
20547
20549
  G.sent = G._sent = G.arg;
20548
20550
  else if (G.method === "throw") {
20549
- if (re === A)
20551
+ if (re === C)
20550
20552
  throw re = H, G.arg;
20551
20553
  G.dispatchException(G.arg);
20552
20554
  } else
@@ -20554,7 +20556,7 @@ var _v = { exports: {} };
20554
20556
  re = I;
20555
20557
  var ye = y(ee, W, G);
20556
20558
  if (ye.type === "normal") {
20557
- if (re = G.done ? H : C, ye.arg === $)
20559
+ if (re = G.done ? H : A, ye.arg === $)
20558
20560
  continue;
20559
20561
  return {
20560
20562
  value: ye.arg,
@@ -20661,8 +20663,8 @@ var _v = { exports: {} };
20661
20663
  if (ge.tryLoc === "root")
20662
20664
  return G("end");
20663
20665
  if (ge.tryLoc <= this.prev) {
20664
- var xe = o.call(ge, "catchLoc"), Ce = o.call(ge, "finallyLoc");
20665
- if (xe && Ce) {
20666
+ var xe = o.call(ge, "catchLoc"), Ae = o.call(ge, "finallyLoc");
20667
+ if (xe && Ae) {
20666
20668
  if (this.prev < ge.catchLoc)
20667
20669
  return G(ge.catchLoc, !0);
20668
20670
  if (this.prev < ge.finallyLoc)
@@ -20670,7 +20672,7 @@ var _v = { exports: {} };
20670
20672
  } else if (xe) {
20671
20673
  if (this.prev < ge.catchLoc)
20672
20674
  return G(ge.catchLoc, !0);
20673
- } else if (Ce) {
20675
+ } else if (Ae) {
20674
20676
  if (this.prev < ge.finallyLoc)
20675
20677
  return G(ge.finallyLoc);
20676
20678
  } else
@@ -20750,44 +20752,44 @@ var Dh = { exports: {} };
20750
20752
  "warn",
20751
20753
  "error"
20752
20754
  ];
20753
- function s(C, I) {
20754
- var H = C[I];
20755
+ function s(A, I) {
20756
+ var H = A[I];
20755
20757
  if (typeof H.bind == "function")
20756
- return H.bind(C);
20758
+ return H.bind(A);
20757
20759
  try {
20758
- return Function.prototype.bind.call(H, C);
20760
+ return Function.prototype.bind.call(H, A);
20759
20761
  } catch {
20760
20762
  return function() {
20761
- return Function.prototype.apply.apply(H, [C, arguments]);
20763
+ return Function.prototype.apply.apply(H, [A, arguments]);
20762
20764
  };
20763
20765
  }
20764
20766
  }
20765
20767
  function r() {
20766
20768
  console.log && (console.log.apply ? console.log.apply(console, arguments) : Function.prototype.apply.apply(console.log, [console, arguments])), console.trace && console.trace();
20767
20769
  }
20768
- function d(C) {
20769
- return C === "debug" && (C = "log"), typeof console === n ? !1 : C === "trace" && a ? r : console[C] !== void 0 ? s(console, C) : console.log !== void 0 ? s(console, "log") : t;
20770
+ function d(A) {
20771
+ return A === "debug" && (A = "log"), typeof console === n ? !1 : A === "trace" && a ? r : console[A] !== void 0 ? s(console, A) : console.log !== void 0 ? s(console, "log") : t;
20770
20772
  }
20771
- function h(C, I) {
20773
+ function h(A, I) {
20772
20774
  for (var H = 0; H < o.length; H++) {
20773
20775
  var $ = o[H];
20774
- this[$] = H < C ? t : this.methodFactory($, C, I);
20776
+ this[$] = H < A ? t : this.methodFactory($, A, I);
20775
20777
  }
20776
20778
  this.log = this.debug;
20777
20779
  }
20778
- function _(C, I, H) {
20780
+ function _(A, I, H) {
20779
20781
  return function() {
20780
- typeof console !== n && (h.call(this, I, H), this[C].apply(this, arguments));
20782
+ typeof console !== n && (h.call(this, I, H), this[A].apply(this, arguments));
20781
20783
  };
20782
20784
  }
20783
- function g(C, I, H) {
20784
- return d(C) || _.apply(this, arguments);
20785
+ function g(A, I, H) {
20786
+ return d(A) || _.apply(this, arguments);
20785
20787
  }
20786
- function T(C, I, H) {
20788
+ function T(A, I, H) {
20787
20789
  var $ = this, oe;
20788
20790
  I = I ?? "WARN";
20789
20791
  var N = "loglevel";
20790
- typeof C == "string" ? N += ":" + C : typeof C == "symbol" && (N = void 0);
20792
+ typeof A == "string" ? N += ":" + A : typeof A == "symbol" && (N = void 0);
20791
20793
  function j(D) {
20792
20794
  var B = (o[D] || "silent").toUpperCase();
20793
20795
  if (!(typeof window === n || !N)) {
@@ -20833,7 +20835,7 @@ var Dh = { exports: {} };
20833
20835
  }
20834
20836
  }
20835
20837
  }
20836
- $.name = C, $.levels = {
20838
+ $.name = A, $.levels = {
20837
20839
  TRACE: 0,
20838
20840
  DEBUG: 1,
20839
20841
  INFO: 2,
@@ -20844,7 +20846,7 @@ var Dh = { exports: {} };
20844
20846
  return oe;
20845
20847
  }, $.setLevel = function(D, B) {
20846
20848
  if (typeof D == "string" && $.levels[D.toUpperCase()] !== void 0 && (D = $.levels[D.toUpperCase()]), typeof D == "number" && D >= 0 && D <= $.levels.SILENT) {
20847
- if (oe = D, B !== !1 && j(D), h.call($, D, C), typeof console === n && D < $.levels.SILENT)
20849
+ if (oe = D, B !== !1 && j(D), h.call($, D, A), typeof console === n && D < $.levels.SILENT)
20848
20850
  return "No console available for logging";
20849
20851
  } else
20850
20852
  throw "log.setLevel() called with invalid level: " + D;
@@ -20871,9 +20873,9 @@ var Dh = { exports: {} };
20871
20873
  E.methodFactory
20872
20874
  )), H;
20873
20875
  };
20874
- var A = typeof window !== n ? window.log : void 0;
20876
+ var C = typeof window !== n ? window.log : void 0;
20875
20877
  return E.noConflict = function() {
20876
- return typeof window !== n && window.log === E && (window.log = A), E;
20878
+ return typeof window !== n && window.log === E && (window.log = C), E;
20877
20879
  }, E.getLoggers = function() {
20878
20880
  return y;
20879
20881
  }, E.default = E, E;
@@ -20939,7 +20941,7 @@ const Qi = /* @__PURE__ */ ze(Ev), Sv = () => "WebRTCMetrics", yv = () => "5.0.3
20939
20941
  DISCONNECTED: "disconnected",
20940
20942
  FAILED: "failed",
20941
20943
  CLOSED: "closed"
20942
- }, Av = () => ({
20944
+ }, Cv = () => ({
20943
20945
  ...{
20944
20946
  delta_time_to_measure_probes_ms: 0,
20945
20947
  // Total time to measure all probes
@@ -21042,7 +21044,7 @@ const Qi = /* @__PURE__ */ ze(Ev), Sv = () => "WebRTCMetrics", yv = () => "5.0.3
21042
21044
  timestamp_out: null,
21043
21045
  ssrc: "",
21044
21046
  direction: $e.OUTBOUND
21045
- }, Cv = (c) => {
21047
+ }, Av = (c) => {
21046
21048
  const t = {
21047
21049
  pname: "",
21048
21050
  call_id: "",
@@ -21490,22 +21492,22 @@ class kv {
21490
21492
  x.AUDIO,
21491
21493
  "total_packets_lost_in",
21492
21494
  d
21493
- ), A = gt(
21495
+ ), C = gt(
21494
21496
  this._reports,
21495
21497
  x.AUDIO,
21496
21498
  "total_packets_in",
21497
21499
  d
21498
- ), C = {
21500
+ ), A = {
21499
21501
  lost: y,
21500
21502
  avg: Math.round(
21501
- (y / (y + A) * 100 || 0) * 100
21503
+ (y / (y + C) * 100 || 0) * 100
21502
21504
  ) / 100,
21503
21505
  _unit: {
21504
21506
  avg: "percent",
21505
21507
  lost: "number"
21506
21508
  }
21507
21509
  };
21508
- s[d].jitter = _, s[d].mos = E, s[d].traffic = T, s[d].bitrate = g, s[d].loss = C;
21510
+ s[d].jitter = _, s[d].mos = E, s[d].traffic = T, s[d].bitrate = g, s[d].loss = A;
21509
21511
  } else {
21510
21512
  const _ = {
21511
21513
  avg: Xe(
@@ -21625,15 +21627,15 @@ class kv {
21625
21627
  x.AUDIO,
21626
21628
  "total_packets_lost_out",
21627
21629
  d
21628
- ), A = gt(
21630
+ ), C = gt(
21629
21631
  this._reports,
21630
21632
  x.AUDIO,
21631
21633
  "total_packets_out",
21632
21634
  d
21633
- ), C = {
21635
+ ), A = {
21634
21636
  lost: y,
21635
21637
  avg: Math.round(
21636
- (y / (y + A) * 100 || 0) * 100
21638
+ (y / (y + C) * 100 || 0) * 100
21637
21639
  ) / 100,
21638
21640
  _unit: {
21639
21641
  avg: "percent",
@@ -21669,7 +21671,7 @@ class kv {
21669
21671
  volatility: "percent"
21670
21672
  }
21671
21673
  };
21672
- s[d].jitter = _, s[d].rtt = E, s[d].traffic = T, s[d].bitrate = g, s[d].loss = C, s[d].mos = I;
21674
+ s[d].jitter = _, s[d].rtt = E, s[d].traffic = T, s[d].bitrate = g, s[d].loss = A, s[d].mos = I;
21673
21675
  }
21674
21676
  }), Object.keys(r[x.VIDEO]).forEach((d) => {
21675
21677
  const h = r[x.VIDEO][d];
@@ -21783,7 +21785,7 @@ class kv {
21783
21785
  x.VIDEO,
21784
21786
  "total_packets_in",
21785
21787
  d
21786
- ), A = {
21788
+ ), C = {
21787
21789
  lost: E,
21788
21790
  avg: Math.round(
21789
21791
  (E / (E + y) * 100 || 0) * 100
@@ -21793,7 +21795,7 @@ class kv {
21793
21795
  lost: "number"
21794
21796
  }
21795
21797
  };
21796
- s[d].jitter = _, s[d].traffic = T, s[d].bitrate = g, s[d].loss = A;
21798
+ s[d].jitter = _, s[d].traffic = T, s[d].bitrate = g, s[d].loss = C;
21797
21799
  } else {
21798
21800
  const _ = {
21799
21801
  avg: Xe(
@@ -21912,22 +21914,22 @@ class kv {
21912
21914
  x.VIDEO,
21913
21915
  "total_packets_lost_out",
21914
21916
  d
21915
- ), A = gt(
21917
+ ), C = gt(
21916
21918
  this._reports,
21917
21919
  x.VIDEO,
21918
21920
  "total_packets_out",
21919
21921
  d
21920
- ), C = {
21922
+ ), A = {
21921
21923
  lost: y,
21922
21924
  avg: Math.round(
21923
- (y / (y + A) * 100 || 0) * 100
21925
+ (y / (y + C) * 100 || 0) * 100
21924
21926
  ) / 100,
21925
21927
  _unit: {
21926
21928
  avg: "percent",
21927
21929
  lost: "number"
21928
21930
  }
21929
21931
  };
21930
- s[d].jitter = _, s[d].rtt = E, s[d].traffic = T, s[d].bitrate = g, s[d].loss = C;
21932
+ s[d].jitter = _, s[d].rtt = E, s[d].traffic = T, s[d].bitrate = g, s[d].loss = A;
21931
21933
  }
21932
21934
  })), {
21933
21935
  version: Nv,
@@ -22174,7 +22176,7 @@ const js = "extractor ", Lf = (c, t, n, a) => {
22174
22176
  const o = Number(c[q.PACKETS_RECEIVED]) || 0 - (a ? a[t].total_packets_in : 0), s = Number(c[q.PACKETS_LOST]) || 0 - (a ? a[t].total_packets_lost_in : 0), r = s - n[t].total_packets_lost_in, d = o - n[t].total_packets_in, h = o !== n[t].total_packets_in ? r * 100 / (r + d) : 0, _ = Number(c[q.BYTES_RECEIVED]) / 1024 - (a ? a[t].total_KBytes_in : 0), g = _ - n[t].total_KBytes_in, T = c[q.TIMESTAMP] || Date.now(), E = a ? a.timestamp : null;
22175
22177
  let y = n.timestamp;
22176
22178
  !y && E && (y = E);
22177
- const A = y ? T - y : 0, C = A > 0 ? g * 8e-3 * 1024 / A * 1e3 : 0;
22179
+ const C = y ? T - y : 0, A = C > 0 ? g * 8e-3 * 1024 / C * 1e3 : 0;
22178
22180
  return {
22179
22181
  percentPacketsLost: h,
22180
22182
  packetsReceived: o,
@@ -22183,7 +22185,7 @@ const js = "extractor ", Lf = (c, t, n, a) => {
22183
22185
  deltaPacketsLost: r,
22184
22186
  KBytesReceived: _,
22185
22187
  deltaKBytesReceived: g,
22186
- kbsReceived: C
22188
+ kbsReceived: A
22187
22189
  };
22188
22190
  }, Hv = (c) => c[q.CANDIDATE_TYPE] !== "relay" ? "" : c[q.RELAY_PROTOCOL] || "", Fv = (c) => {
22189
22191
  if (!Object.prototype.hasOwnProperty.call(c, q.NETWORK_TYPE))
@@ -22471,7 +22473,7 @@ const js = "extractor ", Lf = (c, t, n, a) => {
22471
22473
  x.VIDEO,
22472
22474
  d,
22473
22475
  h
22474
- ), T = da(c, x.VIDEO, d), E = c[q.DECODER_IMPLEMENTATION] || null, y = c[q.CODEC_ID] || null, A = jf(c), C = qv(
22476
+ ), T = da(c, x.VIDEO, d), E = c[q.DECODER_IMPLEMENTATION] || null, y = c[q.CODEC_ID] || null, C = jf(c), A = qv(
22475
22477
  c,
22476
22478
  d,
22477
22479
  h
@@ -22550,27 +22552,27 @@ const js = "extractor ", Lf = (c, t, n, a) => {
22550
22552
  {
22551
22553
  ssrc: r,
22552
22554
  type: ne.VIDEO,
22553
- value: { total_nack_sent_in: C.nackCount }
22555
+ value: { total_nack_sent_in: A.nackCount }
22554
22556
  },
22555
22557
  {
22556
22558
  ssrc: r,
22557
22559
  type: ne.VIDEO,
22558
- value: { delta_nack_sent_in: C.deltaNackCount }
22560
+ value: { delta_nack_sent_in: A.deltaNackCount }
22559
22561
  },
22560
22562
  {
22561
22563
  ssrc: r,
22562
22564
  type: ne.VIDEO,
22563
- value: { total_pli_sent_in: C.pliCount }
22565
+ value: { total_pli_sent_in: A.pliCount }
22564
22566
  },
22565
22567
  {
22566
22568
  ssrc: r,
22567
22569
  type: ne.VIDEO,
22568
- value: { delta_pli_sent_in: C.deltaPliCount }
22570
+ value: { delta_pli_sent_in: A.deltaPliCount }
22569
22571
  },
22570
22572
  {
22571
22573
  ssrc: r,
22572
22574
  type: ne.VIDEO,
22573
- value: { size_in: A }
22575
+ value: { size_in: C }
22574
22576
  }
22575
22577
  ];
22576
22578
  }
@@ -22621,11 +22623,11 @@ const js = "extractor ", Lf = (c, t, n, a) => {
22621
22623
  ];
22622
22624
  }
22623
22625
  if (c[q.MEDIA_TYPE] === x.VIDEO) {
22624
- const _ = c[q.ENCODER_IMPLEMENTATION] || null, g = c[q.CODEC_ID] || null, T = $v(c, d), E = jf(c), y = jv(c), A = Vv(
22626
+ const _ = c[q.ENCODER_IMPLEMENTATION] || null, g = c[q.CODEC_ID] || null, T = $v(c, d), E = jf(c), y = jv(c), C = Vv(
22625
22627
  c,
22626
22628
  d,
22627
22629
  h
22628
- ), C = $f(c, x.VIDEO, d, h);
22630
+ ), A = $f(c, x.VIDEO, d, h);
22629
22631
  return [
22630
22632
  {
22631
22633
  ssrc: r,
@@ -22635,27 +22637,27 @@ const js = "extractor ", Lf = (c, t, n, a) => {
22635
22637
  {
22636
22638
  ssrc: r,
22637
22639
  type: ne.VIDEO,
22638
- value: { total_packets_out: C.packetsSent }
22640
+ value: { total_packets_out: A.packetsSent }
22639
22641
  },
22640
22642
  {
22641
22643
  ssrc: r,
22642
22644
  type: ne.VIDEO,
22643
- value: { delta_packets_out: C.deltaPacketsSent }
22645
+ value: { delta_packets_out: A.deltaPacketsSent }
22644
22646
  },
22645
22647
  {
22646
22648
  ssrc: r,
22647
22649
  type: ne.VIDEO,
22648
- value: { total_KBytes_out: C.KBytesSent }
22650
+ value: { total_KBytes_out: A.KBytesSent }
22649
22651
  },
22650
22652
  {
22651
22653
  ssrc: r,
22652
22654
  type: ne.VIDEO,
22653
- value: { delta_KBytes_out: C.deltaKBytesSent }
22655
+ value: { delta_KBytes_out: A.deltaKBytesSent }
22654
22656
  },
22655
22657
  {
22656
22658
  ssrc: r,
22657
22659
  type: ne.VIDEO,
22658
- value: { delta_kbs_out: C.kbsSent }
22660
+ value: { delta_kbs_out: A.kbsSent }
22659
22661
  },
22660
22662
  {
22661
22663
  ssrc: r,
@@ -22680,22 +22682,22 @@ const js = "extractor ", Lf = (c, t, n, a) => {
22680
22682
  {
22681
22683
  ssrc: r,
22682
22684
  type: ne.VIDEO,
22683
- value: { total_nack_received_out: A.nackCount }
22685
+ value: { total_nack_received_out: C.nackCount }
22684
22686
  },
22685
22687
  {
22686
22688
  ssrc: r,
22687
22689
  type: ne.VIDEO,
22688
- value: { delta_nack_received_out: A.deltaNackCount }
22690
+ value: { delta_nack_received_out: C.deltaNackCount }
22689
22691
  },
22690
22692
  {
22691
22693
  ssrc: r,
22692
22694
  type: ne.VIDEO,
22693
- value: { total_pli_received_out: A.pliCount }
22695
+ value: { total_pli_received_out: C.pliCount }
22694
22696
  },
22695
22697
  {
22696
22698
  ssrc: r,
22697
22699
  type: ne.VIDEO,
22698
- value: { delta_pli_received_out: A.deltaPliCount }
22700
+ value: { delta_pli_received_out: C.deltaPliCount }
22699
22701
  },
22700
22702
  {
22701
22703
  ssrc: r,
@@ -22864,23 +22866,23 @@ const js = "extractor ", Lf = (c, t, n, a) => {
22864
22866
  }
22865
22867
  return [];
22866
22868
  }, Ka = (c) => c < 0 ? 1 : c > 100 ? 4.5 : 1 + 0.035 * c + 7 / 1e6 * c * (c - 60) * (100 - c), Jv = (c, t = x.AUDIO, n, a, o) => {
22867
- const s = ct(o, c, $e.INBOUND), r = ct(o, n, $e.INBOUND), d = ct(o, a, $e.INBOUND), h = [], _ = [], g = s[t].percent_packets_lost_in, T = s[t].delta_jitter_ms_in, E = r && r[t].delta_jitter_ms_in || null, y = d && d[t].delta_jitter_ms_in || null, A = c.data.delta_rtt_connectivity_ms, C = n && n.data.delta_rtt_connectivity_ms || null, I = a && a.data.delta_rtt_connectivity_ms || null;
22868
- A && h.push(A), C && h.push(C), I && h.push(I), T && _.push(T), n && E && _.push(E), a && y && _.push(y);
22869
+ const s = ct(o, c, $e.INBOUND), r = ct(o, n, $e.INBOUND), d = ct(o, a, $e.INBOUND), h = [], _ = [], g = s[t].percent_packets_lost_in, T = s[t].delta_jitter_ms_in, E = r && r[t].delta_jitter_ms_in || null, y = d && d[t].delta_jitter_ms_in || null, C = c.data.delta_rtt_connectivity_ms, A = n && n.data.delta_rtt_connectivity_ms || null, I = a && a.data.delta_rtt_connectivity_ms || null;
22870
+ C && h.push(C), A && h.push(A), I && h.push(I), T && _.push(T), n && E && _.push(E), a && y && _.push(y);
22869
22871
  const H = h.length > 0 ? Gs(h) : 100, $ = _.length > 0 ? Gs(_) : 10, oe = 93.2 - g, N = 0.18 * oe * oe - 27.9 * oe + 1126.62, j = (H + $) / 2, Se = j - 177.3 < 0 ? 0 : 1, ve = 0.024 * j + 0.11 * (j - 177.3) * Se, k = N - ve;
22870
22872
  return Ka(k);
22871
22873
  }, zv = (c, t = x.AUDIO, n, a, o) => {
22872
- const s = ct(o, c, $e.OUTBOUND), r = ct(o, n, $e.OUTBOUND), d = ct(o, a, $e.OUTBOUND), h = [], _ = [], g = s[t].percent_packets_lost_out, T = s[t].delta_rtt_ms_out, E = r && r[t].delta_rtt_ms_out || null, y = d && d[t].delta_rtt_ms_out || null, A = s[t].delta_jitter_ms_out, C = r && r[t].delta_jitter_ms_out || null, I = d && d[t].delta_jitter_ms_out || null, H = c.data.delta_rtt_connectivity_ms, $ = n && n.data.delta_rtt_connectivity_ms || null, oe = a && a.data.delta_rtt_connectivity_ms || null;
22873
- T ? h.push(T) : H && h.push(H), E ? h.push(E) : $ && h.push($), y ? h.push(y) : oe && h.push(oe), A && _.push(A), n && C && _.push(C), a && I && _.push(I);
22874
+ const s = ct(o, c, $e.OUTBOUND), r = ct(o, n, $e.OUTBOUND), d = ct(o, a, $e.OUTBOUND), h = [], _ = [], g = s[t].percent_packets_lost_out, T = s[t].delta_rtt_ms_out, E = r && r[t].delta_rtt_ms_out || null, y = d && d[t].delta_rtt_ms_out || null, C = s[t].delta_jitter_ms_out, A = r && r[t].delta_jitter_ms_out || null, I = d && d[t].delta_jitter_ms_out || null, H = c.data.delta_rtt_connectivity_ms, $ = n && n.data.delta_rtt_connectivity_ms || null, oe = a && a.data.delta_rtt_connectivity_ms || null;
22875
+ T ? h.push(T) : H && h.push(H), E ? h.push(E) : $ && h.push($), y ? h.push(y) : oe && h.push(oe), C && _.push(C), n && A && _.push(A), a && I && _.push(I);
22874
22876
  const N = h.length > 0 ? Gs(h) : 100, j = _.length > 0 ? Gs(_) : 10, Se = 93.2 - g, ve = 0.18 * Se * Se - 27.9 * Se + 1126.62, k = (N + j) / 2, D = k - 177.3 < 0 ? 0 : 1, B = 0.024 * k + 0.11 * (k - 177.3) * D, V = ve - B;
22875
22877
  return Ka(V);
22876
22878
  }, Xv = (c, t = x.AUDIO, n, a, o) => {
22877
- const s = ct(o, c, $e.INBOUND), r = ct(o, n, $e.INBOUND), d = ct(o, a, $e.INBOUND), h = [], _ = [], g = s[t].percent_packets_lost_in / 100, T = s[t].delta_jitter_ms_in, E = r && r[t].delta_jitter_ms_in || null, y = d && d[t].delta_jitter_ms_in || null, A = c.data.delta_rtt_connectivity_ms, C = n && n.data.delta_rtt_connectivity_ms || null, I = a && a.data.delta_rtt_connectivity_ms || null;
22878
- A && h.push(A), C && h.push(C), I && h.push(I), T && _.push(T), r && E && _.push(E), d && y && _.push(y);
22879
+ const s = ct(o, c, $e.INBOUND), r = ct(o, n, $e.INBOUND), d = ct(o, a, $e.INBOUND), h = [], _ = [], g = s[t].percent_packets_lost_in / 100, T = s[t].delta_jitter_ms_in, E = r && r[t].delta_jitter_ms_in || null, y = d && d[t].delta_jitter_ms_in || null, C = c.data.delta_rtt_connectivity_ms, A = n && n.data.delta_rtt_connectivity_ms || null, I = a && a.data.delta_rtt_connectivity_ms || null;
22880
+ C && h.push(C), A && h.push(A), I && h.push(I), T && _.push(T), r && E && _.push(E), d && y && _.push(y);
22879
22881
  const H = h.length > 0 ? Gs(h) : 100, $ = _.length > 0 ? Gs(_) : 10, oe = 0, N = 19.8, j = 29.7, Se = 30, ve = (H + $) / 2 + Se, k = ve - 177.3 < 0 ? 0 : 1, D = 0.024 * ve + 0.11 * (ve - 177.3) * k, V = 93.2 - (oe + N * Math.log(1 + j * g) + D);
22880
22882
  return Ka(V);
22881
22883
  }, Qv = (c, t = x.AUDIO, n, a, o) => {
22882
- const s = ct(o, c, $e.OUTBOUND), r = ct(o, n, $e.OUTBOUND), d = ct(o, a, $e.OUTBOUND), h = [], _ = [], g = s[t].percent_packets_lost_out / 100, T = s[t].delta_rtt_ms_out, E = r && r[t].delta_rtt_ms_out || null, y = d && d[t].delta_rtt_ms_out || null, A = s[t].delta_jitter_ms_out, C = r && r[t].delta_jitter_ms_out || null, I = d && d[t].delta_jitter_ms_out || null, H = c.data.delta_rtt_connectivity_ms, $ = n && n.data.delta_rtt_connectivity_ms || null, oe = a && a.data.delta_rtt_connectivity_ms || null;
22883
- T ? h.push(T) : H && h.push(H), E ? h.push(E) : $ && h.push($), y ? h.push(y) : oe && h.push(oe), A && _.push(A), r && C && _.push(C), d && I && _.push(I);
22884
+ const s = ct(o, c, $e.OUTBOUND), r = ct(o, n, $e.OUTBOUND), d = ct(o, a, $e.OUTBOUND), h = [], _ = [], g = s[t].percent_packets_lost_out / 100, T = s[t].delta_rtt_ms_out, E = r && r[t].delta_rtt_ms_out || null, y = d && d[t].delta_rtt_ms_out || null, C = s[t].delta_jitter_ms_out, A = r && r[t].delta_jitter_ms_out || null, I = d && d[t].delta_jitter_ms_out || null, H = c.data.delta_rtt_connectivity_ms, $ = n && n.data.delta_rtt_connectivity_ms || null, oe = a && a.data.delta_rtt_connectivity_ms || null;
22885
+ T ? h.push(T) : H && h.push(H), E ? h.push(E) : $ && h.push($), y ? h.push(y) : oe && h.push(oe), C && _.push(C), r && A && _.push(A), d && I && _.push(I);
22884
22886
  const N = h.length > 0 ? Gs(h) : 100, j = _.length > 0 ? Gs(_) : 10, Se = 0, ve = 19.8, k = 29.7, D = 30, B = (N + j) / 2 + D, V = B - 177.3 < 0 ? 0 : 1, J = 0.024 * B + 0.11 * (B - 177.3) * V, X = 93.2 - (Se + ve * Math.log(1 + k * g) + J);
22885
22887
  return Ka(X);
22886
22888
  };
@@ -22892,7 +22894,7 @@ class Zv {
22892
22894
  }, this._id = Ov(), this._moduleName = this._id, this._probeId = n, this._config = t, this._exporter = new kv(t), this._state = gs.IDLE, this.registerToPCEvents(), Rn(this._moduleName, `new collector created for probe ${this._probeId}`);
22893
22895
  }
22894
22896
  analyze(t, n, a, o) {
22895
- const s = (h, _) => h === x.AUDIO ? _ === zt.INBOUND_RTP ? { ...Nh } : { ...Uh } : _ === zt.INBOUND_RTP ? { ...Ph } : { ...xh }, r = Cv(n);
22897
+ const s = (h, _) => h === x.AUDIO ? _ === zt.INBOUND_RTP ? { ...Nh } : { ...Uh } : _ === zt.INBOUND_RTP ? { ...Ph } : { ...xh }, r = Av(n);
22896
22898
  r.pname = this._config.pname, r.call_id = this._config.cid, r.user_id = this._config.uid, r.count = n ? n.count + 1 : 1;
22897
22899
  let d = null;
22898
22900
  return t.forEach((h) => {
@@ -23252,7 +23254,7 @@ class tE {
23252
23254
  const t = () => {
23253
23255
  this._probes.forEach((s) => s.start());
23254
23256
  }, n = async () => Promise.all(this._probes.map((s) => s.takeReferenceStats())), a = () => this.isIdle ? !1 : !this._config.stopAfter || this._config.stopAfter < 0 ? !0 : Date.now() < this._startedTime + this._config.stopAfter, o = async () => {
23255
- const s = Av(), r = this._probes.filter((d) => d.isRunning);
23257
+ const s = Cv(), r = this._probes.filter((d) => d.isRunning);
23256
23258
  for (const d of r) {
23257
23259
  const h = await d.collectStats();
23258
23260
  h && s.probes.push(h), Pe(Rt, `got probe ${d.id}`), await kf(0);
@@ -23392,8 +23394,8 @@ class lE {
23392
23394
  }
23393
23395
  beginCalculation(t, n) {
23394
23396
  this.clearVolumeInterval(n);
23395
- const a = Cn.createAnalyser(), o = Cn.createMediaStreamSource(t), s = Cn.createScriptProcessor(2048, 1, 1);
23396
- a.smoothingTimeConstant = 0.8, a.fftSize = 1024, o.connect(a), a.connect(s), s.connect(Cn.destination), this.intervals[n] = setInterval(() => {
23397
+ const a = An.createAnalyser(), o = An.createMediaStreamSource(t), s = An.createScriptProcessor(2048, 1, 1);
23398
+ a.smoothingTimeConstant = 0.8, a.fftSize = 1024, o.connect(a), a.connect(s), s.connect(An.destination), this.intervals[n] = setInterval(() => {
23397
23399
  const r = new Uint8Array(a.frequencyBinCount);
23398
23400
  a.getByteFrequencyData(r);
23399
23401
  let d = 0;
@@ -23827,14 +23829,14 @@ class oE {
23827
23829
  var r;
23828
23830
  if (a == null)
23829
23831
  return;
23830
- const o = new MediaStream(), s = Cn.createMediaStreamDestination();
23832
+ const o = new MediaStream(), s = An.createMediaStreamDestination();
23831
23833
  if (a.connection.getReceivers().forEach((d) => {
23832
23834
  n.forEach((h) => {
23833
- o.addTrack(d.track), d.track.id !== h.id && Cn.createMediaStreamSource(new MediaStream([h])).connect(s);
23835
+ o.addTrack(d.track), d.track.id !== h.id && An.createMediaStreamSource(new MediaStream([h])).connect(s);
23834
23836
  });
23835
23837
  }), t[0].roomId === this.currentActiveRoomId) {
23836
23838
  const d = this.getActiveStream();
23837
- Cn.createMediaStreamSource(d).connect(s);
23839
+ An.createMediaStreamSource(d).connect(s);
23838
23840
  }
23839
23841
  (r = a.connection) != null && r.getSenders()[0] && (await a.connection.getSenders()[0].replaceTrack(s.stream.getTracks()[0]), this.muteReconfigure(a));
23840
23842
  });
@@ -24060,15 +24062,12 @@ class oE {
24060
24062
  }, this.context.emit("changeCallMetrics", this.callMetrics);
24061
24063
  }
24062
24064
  getCallQuality(t) {
24063
- this.context.logger.log("LOG 1 before createProbe");
24064
24065
  const n = new nE(this.metricConfig), a = n.createProbe(t.connection, {
24065
24066
  cid: t._id
24066
- });
24067
- this.context.logger.log("LOG 2 after createProbe");
24068
- const o = [];
24067
+ }), o = [];
24069
24068
  let s;
24070
24069
  a.onreport = (r) => {
24071
- this.context.logger.log("LOG 3 in onreport"), Object.entries(r.audio).forEach(([_, g]) => {
24070
+ Object.entries(r.audio).forEach(([_, g]) => {
24072
24071
  g.direction === "inbound" && !o.includes(_) && (o.push(_), s = _);
24073
24072
  });
24074
24073
  const d = r.audio[s];
@@ -24091,11 +24090,11 @@ class oE {
24091
24090
  this.initialStreamValue && (this.initialStreamValue.getTracks().forEach((n) => n.stop()), this.initialStreamValue = null), this.initialStreamValue = t;
24092
24091
  }
24093
24092
  async triggerAddStream(t, n) {
24094
- this.context.logger.log("LOG triggerAddStream 1"), this.setIsMuted(this.muteWhenJoin || this.isMuted), this.initialStreamValue || await this.setupStream();
24093
+ this.setIsMuted(this.muteWhenJoin || this.isMuted), this.initialStreamValue || await this.setupStream();
24095
24094
  const a = Pf(this.initialStreamValue, this.microphoneInputLevel * 2), o = this.isMuted || this.muteWhenJoin;
24096
- a.getTracks().forEach((r) => r.enabled = !o), this.setActiveStream(a), await n.connection.getSenders()[0].replaceTrack(a.getTracks()[0]), this.context.logger.log("LOG triggerAddStream 2");
24095
+ a.getTracks().forEach((r) => r.enabled = !o), this.setActiveStream(a), await n.connection.getSenders()[0].replaceTrack(a.getTracks()[0]);
24097
24096
  const s = new MediaStream([t.track]);
24098
- this.context.logger.log("LOG triggerAddStream 3"), YT(s, n, this.selectedOutputDevice, this.speakerVolume), this.context.logger.log("LOG triggerAddStream 4"), this.setupVUMeter(s, n._id), this.context.logger.log("LOG triggerAddStream 5"), this.getCallQuality(n), this.updateCall(n);
24097
+ YT(s, n, this.selectedOutputDevice, this.speakerVolume), this.setupVUMeter(s, n._id), this.getCallQuality(n), this.updateCall(n);
24099
24098
  }
24100
24099
  //@requireInitialization()
24101
24100
  initCall(t, n, a = !1) {