opensips-js-vue 0.1.5 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/library/super.mjs CHANGED
@@ -26,8 +26,8 @@ var re = (l, s, n) => new Promise((i, a) => {
26
26
  }, _ = (u) => u.done ? i(u.value) : Promise.resolve(u.value).then(e, d);
27
27
  _((n = n.apply(l, s)).next());
28
28
  });
29
- import { ref as Ye, computed as _o, watch as qn, provide as S_, inject as C_ } from "vue";
30
- var A_ = Object.defineProperty, b_ = (l, s, n) => s in l ? A_(l, s, { enumerable: !0, configurable: !0, writable: !0, value: n }) : l[s] = n, an = (l, s, n) => (b_(l, typeof s != "symbol" ? s + "" : s, n), n), R_ = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
29
+ import { ref as Ye, computed as _o, watch as qn, provide as S_, inject as A_ } from "vue";
30
+ var C_ = Object.defineProperty, b_ = (l, s, n) => s in l ? C_(l, s, { enumerable: !0, configurable: !0, writable: !0, value: n }) : l[s] = n, an = (l, s, n) => (b_(l, typeof s != "symbol" ? s + "" : s, n), n), R_ = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
31
31
  function Je(l) {
32
32
  return l && l.__esModule && Object.prototype.hasOwnProperty.call(l, "default") ? l.default : l;
33
33
  }
@@ -510,7 +510,7 @@ function fn() {
510
510
  DIGIT: p,
511
511
  ALPHA: T,
512
512
  HEXDIG: y,
513
- WSP: C,
513
+ WSP: A,
514
514
  OCTET: w,
515
515
  DQUOTE: R,
516
516
  SP: b,
@@ -604,8 +604,8 @@ function fn() {
604
604
  param: as,
605
605
  pchar: Jt,
606
606
  scheme: Sr,
607
- authority: Cr,
608
- srvr: Ar,
607
+ authority: Ar,
608
+ srvr: Cr,
609
609
  reg_name: br,
610
610
  query: Rr,
611
611
  SIP_Version: us,
@@ -667,11 +667,11 @@ function fn() {
667
667
  challenge: ps,
668
668
  other_challenge: ei,
669
669
  auth_param: en,
670
- digest_cln: Cn,
670
+ digest_cln: An,
671
671
  realm: ti,
672
672
  realm_value: ni,
673
673
  domain: si,
674
- URI: An,
674
+ URI: Cn,
675
675
  nonce: ri,
676
676
  nonce_value: ii,
677
677
  opaque: oi,
@@ -709,8 +709,8 @@ function fn() {
709
709
  protocol_name: yi,
710
710
  transport: Ei,
711
711
  sent_by: Si,
712
- via_host: Ci,
713
- via_port: Ai,
712
+ via_host: Ai,
713
+ via_port: Ci,
714
714
  ttl: ys,
715
715
  WWW_Authenticate: ca,
716
716
  Session_Expires: ha,
@@ -760,7 +760,7 @@ function fn() {
760
760
  var t;
761
761
  return /^[0-9a-fA-F]/.test(n.charAt(e)) ? (t = n.charAt(e), e++) : (t = null, u("[0-9a-fA-F]")), t;
762
762
  }
763
- function C() {
763
+ function A() {
764
764
  var t;
765
765
  return t = b(), t === null && (t = G()), t;
766
766
  }
@@ -804,12 +804,12 @@ function fn() {
804
804
  }
805
805
  function Te() {
806
806
  var t, r, o, c, h, f;
807
- for (c = e, h = e, f = e, t = [], r = C(); r !== null; )
808
- t.push(r), r = C();
807
+ for (c = e, h = e, f = e, t = [], r = A(); r !== null; )
808
+ t.push(r), r = A();
809
809
  if (t !== null ? (r = g(), r !== null ? t = [t, r] : (t = null, e = f)) : (t = null, e = f), t = t !== null ? t : "", t !== null) {
810
- if (o = C(), o !== null)
810
+ if (o = A(), o !== null)
811
811
  for (r = []; o !== null; )
812
- r.push(o), o = C();
812
+ r.push(o), o = A();
813
813
  else
814
814
  r = null;
815
815
  r !== null ? t = [t, r] : (t = null, e = h);
@@ -1043,7 +1043,7 @@ function fn() {
1043
1043
  }
1044
1044
  function Ne() {
1045
1045
  var t, r, o, c, h, f, m, E;
1046
- return m = e, E = e, t = je(), t !== null ? (n.charCodeAt(e) === 58 ? (r = ":", e++) : (r = null, u('":"')), r !== null ? (o = Mt(), o = o !== null ? o : "", o !== null ? (c = pn(), c !== null ? (h = tr(), h !== null ? (f = dr(), f = f !== null ? f : "", f !== null ? t = [t, r, o, c, h, f] : (t = null, e = E)) : (t = null, e = E)) : (t = null, e = E)) : (t = null, e = E)) : (t = null, e = E)) : (t = null, e = E), t !== null && (t = function(A) {
1046
+ return m = e, E = e, t = je(), t !== null ? (n.charCodeAt(e) === 58 ? (r = ":", e++) : (r = null, u('":"')), r !== null ? (o = Mt(), o = o !== null ? o : "", o !== null ? (c = pn(), c !== null ? (h = tr(), h !== null ? (f = dr(), f = f !== null ? f : "", f !== null ? t = [t, r, o, c, h, f] : (t = null, e = E)) : (t = null, e = E)) : (t = null, e = E)) : (t = null, e = E)) : (t = null, e = E)) : (t = null, e = E), t !== null && (t = function(C) {
1047
1047
  try {
1048
1048
  v.uri = new xi(v.scheme, v.user, v.host, v.port, v.uri_params, v.uri_headers), delete v.scheme, delete v.user, delete v.host, delete v.host_type, delete v.port, delete v.uri_params, i === "SIP_URI" && (v = v.uri);
1049
1049
  } catch (Y) {
@@ -1139,10 +1139,10 @@ function fn() {
1139
1139
  }(c)), t === null && (e = c), t;
1140
1140
  }
1141
1141
  function is() {
1142
- var t, r, o, c, h, f, m, E, A, Y, Ae, tt, On, As, S, L;
1143
- return As = e, S = e, t = x(), t !== null ? (n.charCodeAt(e) === 58 ? (r = ":", e++) : (r = null, u('":"')), r !== null ? (o = x(), o !== null ? (n.charCodeAt(e) === 58 ? (c = ":", e++) : (c = null, u('":"')), c !== null ? (h = x(), h !== null ? (n.charCodeAt(e) === 58 ? (f = ":", e++) : (f = null, u('":"')), f !== null ? (m = x(), m !== null ? (n.charCodeAt(e) === 58 ? (E = ":", e++) : (E = null, u('":"')), E !== null ? (A = x(), A !== null ? (n.charCodeAt(e) === 58 ? (Y = ":", e++) : (Y = null, u('":"')), Y !== null ? (Ae = x(), Ae !== null ? (n.charCodeAt(e) === 58 ? (tt = ":", e++) : (tt = null, u('":"')), tt !== null ? (On = Le(), On !== null ? t = [t, r, o, c, h, f, m, E, A, Y, Ae, tt, On] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, n.substr(e, 2) === "::" ? (t = "::", e += 2) : (t = null, u('"::"')), t !== null ? (r = x(), r !== null ? (n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = x(), c !== null ? (n.charCodeAt(e) === 58 ? (h = ":", e++) : (h = null, u('":"')), h !== null ? (f = x(), f !== null ? (n.charCodeAt(e) === 58 ? (m = ":", e++) : (m = null, u('":"')), m !== null ? (E = x(), E !== null ? (n.charCodeAt(e) === 58 ? (A = ":", e++) : (A = null, u('":"')), A !== null ? (Y = x(), Y !== null ? (n.charCodeAt(e) === 58 ? (Ae = ":", e++) : (Ae = null, u('":"')), Ae !== null ? (tt = Le(), tt !== null ? t = [t, r, o, c, h, f, m, E, A, Y, Ae, tt] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, n.substr(e, 2) === "::" ? (t = "::", e += 2) : (t = null, u('"::"')), t !== null ? (r = x(), r !== null ? (n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = x(), c !== null ? (n.charCodeAt(e) === 58 ? (h = ":", e++) : (h = null, u('":"')), h !== null ? (f = x(), f !== null ? (n.charCodeAt(e) === 58 ? (m = ":", e++) : (m = null, u('":"')), m !== null ? (E = x(), E !== null ? (n.charCodeAt(e) === 58 ? (A = ":", e++) : (A = null, u('":"')), A !== null ? (Y = Le(), Y !== null ? t = [t, r, o, c, h, f, m, E, A, Y] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, n.substr(e, 2) === "::" ? (t = "::", e += 2) : (t = null, u('"::"')), t !== null ? (r = x(), r !== null ? (n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = x(), c !== null ? (n.charCodeAt(e) === 58 ? (h = ":", e++) : (h = null, u('":"')), h !== null ? (f = x(), f !== null ? (n.charCodeAt(e) === 58 ? (m = ":", e++) : (m = null, u('":"')), m !== null ? (E = Le(), E !== null ? t = [t, r, o, c, h, f, m, E] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, n.substr(e, 2) === "::" ? (t = "::", e += 2) : (t = null, u('"::"')), t !== null ? (r = x(), r !== null ? (n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = x(), c !== null ? (n.charCodeAt(e) === 58 ? (h = ":", e++) : (h = null, u('":"')), h !== null ? (f = Le(), f !== null ? t = [t, r, o, c, h, f] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, n.substr(e, 2) === "::" ? (t = "::", e += 2) : (t = null, u('"::"')), t !== null ? (r = x(), r !== null ? (n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = Le(), c !== null ? t = [t, r, o, c] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, n.substr(e, 2) === "::" ? (t = "::", e += 2) : (t = null, u('"::"')), t !== null ? (r = Le(), r !== null ? t = [t, r] : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, n.substr(e, 2) === "::" ? (t = "::", e += 2) : (t = null, u('"::"')), t !== null ? (r = x(), r !== null ? t = [t, r] : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, t = x(), t !== null ? (n.substr(e, 2) === "::" ? (r = "::", e += 2) : (r = null, u('"::"')), r !== null ? (o = x(), o !== null ? (n.charCodeAt(e) === 58 ? (c = ":", e++) : (c = null, u('":"')), c !== null ? (h = x(), h !== null ? (n.charCodeAt(e) === 58 ? (f = ":", e++) : (f = null, u('":"')), f !== null ? (m = x(), m !== null ? (n.charCodeAt(e) === 58 ? (E = ":", e++) : (E = null, u('":"')), E !== null ? (A = x(), A !== null ? (n.charCodeAt(e) === 58 ? (Y = ":", e++) : (Y = null, u('":"')), Y !== null ? (Ae = Le(), Ae !== null ? t = [t, r, o, c, h, f, m, E, A, Y, Ae] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, t = x(), t !== null ? (L = e, n.charCodeAt(e) === 58 ? (r = ":", e++) : (r = null, u('":"')), r !== null ? (o = x(), o !== null ? r = [r, o] : (r = null, e = L)) : (r = null, e = L), r = r !== null ? r : "", r !== null ? (n.substr(e, 2) === "::" ? (o = "::", e += 2) : (o = null, u('"::"')), o !== null ? (c = x(), c !== null ? (n.charCodeAt(e) === 58 ? (h = ":", e++) : (h = null, u('":"')), h !== null ? (f = x(), f !== null ? (n.charCodeAt(e) === 58 ? (m = ":", e++) : (m = null, u('":"')), m !== null ? (E = x(), E !== null ? (n.charCodeAt(e) === 58 ? (A = ":", e++) : (A = null, u('":"')), A !== null ? (Y = Le(), Y !== null ? t = [t, r, o, c, h, f, m, E, A, Y] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, t = x(), t !== null ? (L = e, n.charCodeAt(e) === 58 ? (r = ":", e++) : (r = null, u('":"')), r !== null ? (o = x(), o !== null ? r = [r, o] : (r = null, e = L)) : (r = null, e = L), r = r !== null ? r : "", r !== null ? (L = e, n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = x(), c !== null ? o = [o, c] : (o = null, e = L)) : (o = null, e = L), o = o !== null ? o : "", o !== null ? (n.substr(e, 2) === "::" ? (c = "::", e += 2) : (c = null, u('"::"')), c !== null ? (h = x(), h !== null ? (n.charCodeAt(e) === 58 ? (f = ":", e++) : (f = null, u('":"')), f !== null ? (m = x(), m !== null ? (n.charCodeAt(e) === 58 ? (E = ":", e++) : (E = null, u('":"')), E !== null ? (A = Le(), A !== null ? t = [t, r, o, c, h, f, m, E, A] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, t = x(), t !== null ? (L = e, n.charCodeAt(e) === 58 ? (r = ":", e++) : (r = null, u('":"')), r !== null ? (o = x(), o !== null ? r = [r, o] : (r = null, e = L)) : (r = null, e = L), r = r !== null ? r : "", r !== null ? (L = e, n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = x(), c !== null ? o = [o, c] : (o = null, e = L)) : (o = null, e = L), o = o !== null ? o : "", o !== null ? (L = e, n.charCodeAt(e) === 58 ? (c = ":", e++) : (c = null, u('":"')), c !== null ? (h = x(), h !== null ? c = [c, h] : (c = null, e = L)) : (c = null, e = L), c = c !== null ? c : "", c !== null ? (n.substr(e, 2) === "::" ? (h = "::", e += 2) : (h = null, u('"::"')), h !== null ? (f = x(), f !== null ? (n.charCodeAt(e) === 58 ? (m = ":", e++) : (m = null, u('":"')), m !== null ? (E = Le(), E !== null ? t = [t, r, o, c, h, f, m, E] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, t = x(), t !== null ? (L = e, n.charCodeAt(e) === 58 ? (r = ":", e++) : (r = null, u('":"')), r !== null ? (o = x(), o !== null ? r = [r, o] : (r = null, e = L)) : (r = null, e = L), r = r !== null ? r : "", r !== null ? (L = e, n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = x(), c !== null ? o = [o, c] : (o = null, e = L)) : (o = null, e = L), o = o !== null ? o : "", o !== null ? (L = e, n.charCodeAt(e) === 58 ? (c = ":", e++) : (c = null, u('":"')), c !== null ? (h = x(), h !== null ? c = [c, h] : (c = null, e = L)) : (c = null, e = L), c = c !== null ? c : "", c !== null ? (L = e, n.charCodeAt(e) === 58 ? (h = ":", e++) : (h = null, u('":"')), h !== null ? (f = x(), f !== null ? h = [h, f] : (h = null, e = L)) : (h = null, e = L), h = h !== null ? h : "", h !== null ? (n.substr(e, 2) === "::" ? (f = "::", e += 2) : (f = null, u('"::"')), f !== null ? (m = Le(), m !== null ? t = [t, r, o, c, h, f, m] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, t = x(), t !== null ? (L = e, n.charCodeAt(e) === 58 ? (r = ":", e++) : (r = null, u('":"')), r !== null ? (o = x(), o !== null ? r = [r, o] : (r = null, e = L)) : (r = null, e = L), r = r !== null ? r : "", r !== null ? (L = e, n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = x(), c !== null ? o = [o, c] : (o = null, e = L)) : (o = null, e = L), o = o !== null ? o : "", o !== null ? (L = e, n.charCodeAt(e) === 58 ? (c = ":", e++) : (c = null, u('":"')), c !== null ? (h = x(), h !== null ? c = [c, h] : (c = null, e = L)) : (c = null, e = L), c = c !== null ? c : "", c !== null ? (L = e, n.charCodeAt(e) === 58 ? (h = ":", e++) : (h = null, u('":"')), h !== null ? (f = x(), f !== null ? h = [h, f] : (h = null, e = L)) : (h = null, e = L), h = h !== null ? h : "", h !== null ? (L = e, n.charCodeAt(e) === 58 ? (f = ":", e++) : (f = null, u('":"')), f !== null ? (m = x(), m !== null ? f = [f, m] : (f = null, e = L)) : (f = null, e = L), f = f !== null ? f : "", f !== null ? (n.substr(e, 2) === "::" ? (m = "::", e += 2) : (m = null, u('"::"')), m !== null ? (E = x(), E !== null ? t = [t, r, o, c, h, f, m, E] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, t = x(), t !== null ? (L = e, n.charCodeAt(e) === 58 ? (r = ":", e++) : (r = null, u('":"')), r !== null ? (o = x(), o !== null ? r = [r, o] : (r = null, e = L)) : (r = null, e = L), r = r !== null ? r : "", r !== null ? (L = e, n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = x(), c !== null ? o = [o, c] : (o = null, e = L)) : (o = null, e = L), o = o !== null ? o : "", o !== null ? (L = e, n.charCodeAt(e) === 58 ? (c = ":", e++) : (c = null, u('":"')), c !== null ? (h = x(), h !== null ? c = [c, h] : (c = null, e = L)) : (c = null, e = L), c = c !== null ? c : "", c !== null ? (L = e, n.charCodeAt(e) === 58 ? (h = ":", e++) : (h = null, u('":"')), h !== null ? (f = x(), f !== null ? h = [h, f] : (h = null, e = L)) : (h = null, e = L), h = h !== null ? h : "", h !== null ? (L = e, n.charCodeAt(e) === 58 ? (f = ":", e++) : (f = null, u('":"')), f !== null ? (m = x(), m !== null ? f = [f, m] : (f = null, e = L)) : (f = null, e = L), f = f !== null ? f : "", f !== null ? (L = e, n.charCodeAt(e) === 58 ? (m = ":", e++) : (m = null, u('":"')), m !== null ? (E = x(), E !== null ? m = [m, E] : (m = null, e = L)) : (m = null, e = L), m = m !== null ? m : "", m !== null ? (n.substr(e, 2) === "::" ? (E = "::", e += 2) : (E = null, u('"::"')), E !== null ? t = [t, r, o, c, h, f, m, E] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S))))))))))))))), t !== null && (t = function(Ea) {
1142
+ var t, r, o, c, h, f, m, E, C, Y, Ce, tt, On, Cs, S, L;
1143
+ return Cs = e, S = e, t = x(), t !== null ? (n.charCodeAt(e) === 58 ? (r = ":", e++) : (r = null, u('":"')), r !== null ? (o = x(), o !== null ? (n.charCodeAt(e) === 58 ? (c = ":", e++) : (c = null, u('":"')), c !== null ? (h = x(), h !== null ? (n.charCodeAt(e) === 58 ? (f = ":", e++) : (f = null, u('":"')), f !== null ? (m = x(), m !== null ? (n.charCodeAt(e) === 58 ? (E = ":", e++) : (E = null, u('":"')), E !== null ? (C = x(), C !== null ? (n.charCodeAt(e) === 58 ? (Y = ":", e++) : (Y = null, u('":"')), Y !== null ? (Ce = x(), Ce !== null ? (n.charCodeAt(e) === 58 ? (tt = ":", e++) : (tt = null, u('":"')), tt !== null ? (On = Le(), On !== null ? t = [t, r, o, c, h, f, m, E, C, Y, Ce, tt, On] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, n.substr(e, 2) === "::" ? (t = "::", e += 2) : (t = null, u('"::"')), t !== null ? (r = x(), r !== null ? (n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = x(), c !== null ? (n.charCodeAt(e) === 58 ? (h = ":", e++) : (h = null, u('":"')), h !== null ? (f = x(), f !== null ? (n.charCodeAt(e) === 58 ? (m = ":", e++) : (m = null, u('":"')), m !== null ? (E = x(), E !== null ? (n.charCodeAt(e) === 58 ? (C = ":", e++) : (C = null, u('":"')), C !== null ? (Y = x(), Y !== null ? (n.charCodeAt(e) === 58 ? (Ce = ":", e++) : (Ce = null, u('":"')), Ce !== null ? (tt = Le(), tt !== null ? t = [t, r, o, c, h, f, m, E, C, Y, Ce, tt] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, n.substr(e, 2) === "::" ? (t = "::", e += 2) : (t = null, u('"::"')), t !== null ? (r = x(), r !== null ? (n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = x(), c !== null ? (n.charCodeAt(e) === 58 ? (h = ":", e++) : (h = null, u('":"')), h !== null ? (f = x(), f !== null ? (n.charCodeAt(e) === 58 ? (m = ":", e++) : (m = null, u('":"')), m !== null ? (E = x(), E !== null ? (n.charCodeAt(e) === 58 ? (C = ":", e++) : (C = null, u('":"')), C !== null ? (Y = Le(), Y !== null ? t = [t, r, o, c, h, f, m, E, C, Y] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, n.substr(e, 2) === "::" ? (t = "::", e += 2) : (t = null, u('"::"')), t !== null ? (r = x(), r !== null ? (n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = x(), c !== null ? (n.charCodeAt(e) === 58 ? (h = ":", e++) : (h = null, u('":"')), h !== null ? (f = x(), f !== null ? (n.charCodeAt(e) === 58 ? (m = ":", e++) : (m = null, u('":"')), m !== null ? (E = Le(), E !== null ? t = [t, r, o, c, h, f, m, E] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, n.substr(e, 2) === "::" ? (t = "::", e += 2) : (t = null, u('"::"')), t !== null ? (r = x(), r !== null ? (n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = x(), c !== null ? (n.charCodeAt(e) === 58 ? (h = ":", e++) : (h = null, u('":"')), h !== null ? (f = Le(), f !== null ? t = [t, r, o, c, h, f] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, n.substr(e, 2) === "::" ? (t = "::", e += 2) : (t = null, u('"::"')), t !== null ? (r = x(), r !== null ? (n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = Le(), c !== null ? t = [t, r, o, c] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, n.substr(e, 2) === "::" ? (t = "::", e += 2) : (t = null, u('"::"')), t !== null ? (r = Le(), r !== null ? t = [t, r] : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, n.substr(e, 2) === "::" ? (t = "::", e += 2) : (t = null, u('"::"')), t !== null ? (r = x(), r !== null ? t = [t, r] : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, t = x(), t !== null ? (n.substr(e, 2) === "::" ? (r = "::", e += 2) : (r = null, u('"::"')), r !== null ? (o = x(), o !== null ? (n.charCodeAt(e) === 58 ? (c = ":", e++) : (c = null, u('":"')), c !== null ? (h = x(), h !== null ? (n.charCodeAt(e) === 58 ? (f = ":", e++) : (f = null, u('":"')), f !== null ? (m = x(), m !== null ? (n.charCodeAt(e) === 58 ? (E = ":", e++) : (E = null, u('":"')), E !== null ? (C = x(), C !== null ? (n.charCodeAt(e) === 58 ? (Y = ":", e++) : (Y = null, u('":"')), Y !== null ? (Ce = Le(), Ce !== null ? t = [t, r, o, c, h, f, m, E, C, Y, Ce] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, t = x(), t !== null ? (L = e, n.charCodeAt(e) === 58 ? (r = ":", e++) : (r = null, u('":"')), r !== null ? (o = x(), o !== null ? r = [r, o] : (r = null, e = L)) : (r = null, e = L), r = r !== null ? r : "", r !== null ? (n.substr(e, 2) === "::" ? (o = "::", e += 2) : (o = null, u('"::"')), o !== null ? (c = x(), c !== null ? (n.charCodeAt(e) === 58 ? (h = ":", e++) : (h = null, u('":"')), h !== null ? (f = x(), f !== null ? (n.charCodeAt(e) === 58 ? (m = ":", e++) : (m = null, u('":"')), m !== null ? (E = x(), E !== null ? (n.charCodeAt(e) === 58 ? (C = ":", e++) : (C = null, u('":"')), C !== null ? (Y = Le(), Y !== null ? t = [t, r, o, c, h, f, m, E, C, Y] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, t = x(), t !== null ? (L = e, n.charCodeAt(e) === 58 ? (r = ":", e++) : (r = null, u('":"')), r !== null ? (o = x(), o !== null ? r = [r, o] : (r = null, e = L)) : (r = null, e = L), r = r !== null ? r : "", r !== null ? (L = e, n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = x(), c !== null ? o = [o, c] : (o = null, e = L)) : (o = null, e = L), o = o !== null ? o : "", o !== null ? (n.substr(e, 2) === "::" ? (c = "::", e += 2) : (c = null, u('"::"')), c !== null ? (h = x(), h !== null ? (n.charCodeAt(e) === 58 ? (f = ":", e++) : (f = null, u('":"')), f !== null ? (m = x(), m !== null ? (n.charCodeAt(e) === 58 ? (E = ":", e++) : (E = null, u('":"')), E !== null ? (C = Le(), C !== null ? t = [t, r, o, c, h, f, m, E, C] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, t = x(), t !== null ? (L = e, n.charCodeAt(e) === 58 ? (r = ":", e++) : (r = null, u('":"')), r !== null ? (o = x(), o !== null ? r = [r, o] : (r = null, e = L)) : (r = null, e = L), r = r !== null ? r : "", r !== null ? (L = e, n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = x(), c !== null ? o = [o, c] : (o = null, e = L)) : (o = null, e = L), o = o !== null ? o : "", o !== null ? (L = e, n.charCodeAt(e) === 58 ? (c = ":", e++) : (c = null, u('":"')), c !== null ? (h = x(), h !== null ? c = [c, h] : (c = null, e = L)) : (c = null, e = L), c = c !== null ? c : "", c !== null ? (n.substr(e, 2) === "::" ? (h = "::", e += 2) : (h = null, u('"::"')), h !== null ? (f = x(), f !== null ? (n.charCodeAt(e) === 58 ? (m = ":", e++) : (m = null, u('":"')), m !== null ? (E = Le(), E !== null ? t = [t, r, o, c, h, f, m, E] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, t = x(), t !== null ? (L = e, n.charCodeAt(e) === 58 ? (r = ":", e++) : (r = null, u('":"')), r !== null ? (o = x(), o !== null ? r = [r, o] : (r = null, e = L)) : (r = null, e = L), r = r !== null ? r : "", r !== null ? (L = e, n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = x(), c !== null ? o = [o, c] : (o = null, e = L)) : (o = null, e = L), o = o !== null ? o : "", o !== null ? (L = e, n.charCodeAt(e) === 58 ? (c = ":", e++) : (c = null, u('":"')), c !== null ? (h = x(), h !== null ? c = [c, h] : (c = null, e = L)) : (c = null, e = L), c = c !== null ? c : "", c !== null ? (L = e, n.charCodeAt(e) === 58 ? (h = ":", e++) : (h = null, u('":"')), h !== null ? (f = x(), f !== null ? h = [h, f] : (h = null, e = L)) : (h = null, e = L), h = h !== null ? h : "", h !== null ? (n.substr(e, 2) === "::" ? (f = "::", e += 2) : (f = null, u('"::"')), f !== null ? (m = Le(), m !== null ? t = [t, r, o, c, h, f, m] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, t = x(), t !== null ? (L = e, n.charCodeAt(e) === 58 ? (r = ":", e++) : (r = null, u('":"')), r !== null ? (o = x(), o !== null ? r = [r, o] : (r = null, e = L)) : (r = null, e = L), r = r !== null ? r : "", r !== null ? (L = e, n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = x(), c !== null ? o = [o, c] : (o = null, e = L)) : (o = null, e = L), o = o !== null ? o : "", o !== null ? (L = e, n.charCodeAt(e) === 58 ? (c = ":", e++) : (c = null, u('":"')), c !== null ? (h = x(), h !== null ? c = [c, h] : (c = null, e = L)) : (c = null, e = L), c = c !== null ? c : "", c !== null ? (L = e, n.charCodeAt(e) === 58 ? (h = ":", e++) : (h = null, u('":"')), h !== null ? (f = x(), f !== null ? h = [h, f] : (h = null, e = L)) : (h = null, e = L), h = h !== null ? h : "", h !== null ? (L = e, n.charCodeAt(e) === 58 ? (f = ":", e++) : (f = null, u('":"')), f !== null ? (m = x(), m !== null ? f = [f, m] : (f = null, e = L)) : (f = null, e = L), f = f !== null ? f : "", f !== null ? (n.substr(e, 2) === "::" ? (m = "::", e += 2) : (m = null, u('"::"')), m !== null ? (E = x(), E !== null ? t = [t, r, o, c, h, f, m, E] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, t = x(), t !== null ? (L = e, n.charCodeAt(e) === 58 ? (r = ":", e++) : (r = null, u('":"')), r !== null ? (o = x(), o !== null ? r = [r, o] : (r = null, e = L)) : (r = null, e = L), r = r !== null ? r : "", r !== null ? (L = e, n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = x(), c !== null ? o = [o, c] : (o = null, e = L)) : (o = null, e = L), o = o !== null ? o : "", o !== null ? (L = e, n.charCodeAt(e) === 58 ? (c = ":", e++) : (c = null, u('":"')), c !== null ? (h = x(), h !== null ? c = [c, h] : (c = null, e = L)) : (c = null, e = L), c = c !== null ? c : "", c !== null ? (L = e, n.charCodeAt(e) === 58 ? (h = ":", e++) : (h = null, u('":"')), h !== null ? (f = x(), f !== null ? h = [h, f] : (h = null, e = L)) : (h = null, e = L), h = h !== null ? h : "", h !== null ? (L = e, n.charCodeAt(e) === 58 ? (f = ":", e++) : (f = null, u('":"')), f !== null ? (m = x(), m !== null ? f = [f, m] : (f = null, e = L)) : (f = null, e = L), f = f !== null ? f : "", f !== null ? (L = e, n.charCodeAt(e) === 58 ? (m = ":", e++) : (m = null, u('":"')), m !== null ? (E = x(), E !== null ? m = [m, E] : (m = null, e = L)) : (m = null, e = L), m = m !== null ? m : "", m !== null ? (n.substr(e, 2) === "::" ? (E = "::", e += 2) : (E = null, u('"::"')), E !== null ? t = [t, r, o, c, h, f, m, E] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S))))))))))))))), t !== null && (t = function(Ea) {
1144
1144
  return v.host_type = "IPv6", n.substring(e, Ea);
1145
- }(As)), t === null && (e = As), t;
1145
+ }(Cs)), t === null && (e = Cs), t;
1146
1146
  }
1147
1147
  function x() {
1148
1148
  var t, r, o, c, h;
@@ -1153,8 +1153,8 @@ function fn() {
1153
1153
  return c = e, t = x(), t !== null ? (n.charCodeAt(e) === 58 ? (r = ":", e++) : (r = null, u('":"')), r !== null ? (o = x(), o !== null ? t = [t, r, o] : (t = null, e = c)) : (t = null, e = c)) : (t = null, e = c), t === null && (t = Wt()), t;
1154
1154
  }
1155
1155
  function Wt() {
1156
- var t, r, o, c, h, f, m, E, A;
1157
- return E = e, A = e, t = Yt(), t !== null ? (n.charCodeAt(e) === 46 ? (r = ".", e++) : (r = null, u('"."')), r !== null ? (o = Yt(), o !== null ? (n.charCodeAt(e) === 46 ? (c = ".", e++) : (c = null, u('"."')), c !== null ? (h = Yt(), h !== null ? (n.charCodeAt(e) === 46 ? (f = ".", e++) : (f = null, u('"."')), f !== null ? (m = Yt(), m !== null ? t = [t, r, o, c, h, f, m] : (t = null, e = A)) : (t = null, e = A)) : (t = null, e = A)) : (t = null, e = A)) : (t = null, e = A)) : (t = null, e = A)) : (t = null, e = A), t !== null && (t = function(Y) {
1156
+ var t, r, o, c, h, f, m, E, C;
1157
+ return E = e, C = e, t = Yt(), t !== null ? (n.charCodeAt(e) === 46 ? (r = ".", e++) : (r = null, u('"."')), r !== null ? (o = Yt(), o !== null ? (n.charCodeAt(e) === 46 ? (c = ".", e++) : (c = null, u('"."')), c !== null ? (h = Yt(), h !== null ? (n.charCodeAt(e) === 46 ? (f = ".", e++) : (f = null, u('"."')), f !== null ? (m = Yt(), m !== null ? t = [t, r, o, c, h, f, m] : (t = null, e = C)) : (t = null, e = C)) : (t = null, e = C)) : (t = null, e = C)) : (t = null, e = C)) : (t = null, e = C)) : (t = null, e = C), t !== null && (t = function(Y) {
1158
1158
  return v.host_type = "IPv4", n.substring(e, Y);
1159
1159
  }(E)), t === null && (e = E), t;
1160
1160
  }
@@ -1164,8 +1164,8 @@ function fn() {
1164
1164
  }
1165
1165
  function er() {
1166
1166
  var t, r, o, c, h, f, m;
1167
- return f = e, m = e, t = p(), t = t !== null ? t : "", t !== null ? (r = p(), r = r !== null ? r : "", r !== null ? (o = p(), o = o !== null ? o : "", o !== null ? (c = p(), c = c !== null ? c : "", c !== null ? (h = p(), h = h !== null ? h : "", h !== null ? t = [t, r, o, c, h] : (t = null, e = m)) : (t = null, e = m)) : (t = null, e = m)) : (t = null, e = m)) : (t = null, e = m), t !== null && (t = function(E, A) {
1168
- return A = parseInt(A.join("")), v.port = A, A;
1167
+ return f = e, m = e, t = p(), t = t !== null ? t : "", t !== null ? (r = p(), r = r !== null ? r : "", r !== null ? (o = p(), o = o !== null ? o : "", o !== null ? (c = p(), c = c !== null ? c : "", c !== null ? (h = p(), h = h !== null ? h : "", h !== null ? t = [t, r, o, c, h] : (t = null, e = m)) : (t = null, e = m)) : (t = null, e = m)) : (t = null, e = m)) : (t = null, e = m), t !== null && (t = function(E, C) {
1168
+ return C = parseInt(C.join("")), v.port = C, C;
1169
1169
  }(f, t)), t === null && (e = f), t;
1170
1170
  }
1171
1171
  function tr() {
@@ -1216,8 +1216,8 @@ function fn() {
1216
1216
  }
1217
1217
  function ar() {
1218
1218
  var t, r, o, c, h, f;
1219
- return c = e, h = e, t = ur(), t !== null ? (f = e, n.charCodeAt(e) === 61 ? (r = "=", e++) : (r = null, u('"="')), r !== null ? (o = cr(), o !== null ? r = [r, o] : (r = null, e = f)) : (r = null, e = f), r = r !== null ? r : "", r !== null ? t = [t, r] : (t = null, e = h)) : (t = null, e = h), t !== null && (t = function(m, E, A) {
1220
- v.uri_params || (v.uri_params = {}), typeof A > "u" ? A = void 0 : A = A[1], v.uri_params[E.toLowerCase()] = A;
1219
+ return c = e, h = e, t = ur(), t !== null ? (f = e, n.charCodeAt(e) === 61 ? (r = "=", e++) : (r = null, u('"="')), r !== null ? (o = cr(), o !== null ? r = [r, o] : (r = null, e = f)) : (r = null, e = f), r = r !== null ? r : "", r !== null ? t = [t, r] : (t = null, e = h)) : (t = null, e = h), t !== null && (t = function(m, E, C) {
1220
+ v.uri_params || (v.uri_params = {}), typeof C > "u" ? C = void 0 : C = C[1], v.uri_params[E.toLowerCase()] = C;
1221
1221
  }(c, t[0], t[1])), t === null && (e = c), t;
1222
1222
  }
1223
1223
  function ur() {
@@ -1310,7 +1310,7 @@ function fn() {
1310
1310
  }
1311
1311
  function Tr() {
1312
1312
  var t, r, o, c;
1313
- return c = e, n.substr(e, 2) === "//" ? (t = "//", e += 2) : (t = null, u('"//"')), t !== null ? (r = Cr(), r !== null ? (o = gn(), o = o !== null ? o : "", o !== null ? t = [t, r, o] : (t = null, e = c)) : (t = null, e = c)) : (t = null, e = c), t;
1313
+ return c = e, n.substr(e, 2) === "//" ? (t = "//", e += 2) : (t = null, u('"//"')), t !== null ? (r = Ar(), r !== null ? (o = gn(), o = o !== null ? o : "", o !== null ? t = [t, r, o] : (t = null, e = c)) : (t = null, e = c)) : (t = null, e = c), t;
1314
1314
  }
1315
1315
  function gn() {
1316
1316
  var t, r, o;
@@ -1378,11 +1378,11 @@ function fn() {
1378
1378
  v.scheme = n.substring(e, f);
1379
1379
  }(c)), t === null && (e = c), t;
1380
1380
  }
1381
- function Cr() {
1381
+ function Ar() {
1382
1382
  var t;
1383
- return t = Ar(), t === null && (t = br()), t;
1383
+ return t = Cr(), t === null && (t = br()), t;
1384
1384
  }
1385
- function Ar() {
1385
+ function Cr() {
1386
1386
  var t, r, o, c;
1387
1387
  return o = e, c = e, t = Mt(), t !== null ? (n.charCodeAt(e) === 64 ? (r = "@", e++) : (r = null, u('"@"')), r !== null ? t = [t, r] : (t = null, e = c)) : (t = null, e = c), t = t !== null ? t : "", t !== null ? (r = pn(), r !== null ? t = [t, r] : (t = null, e = o)) : (t = null, e = o), t = t !== null ? t : "", t;
1388
1388
  }
@@ -1426,8 +1426,8 @@ function fn() {
1426
1426
  t = null, e = E;
1427
1427
  else
1428
1428
  t = null, e = E;
1429
- return t !== null && (t = function(A) {
1430
- v.sip_version = n.substring(e, A);
1429
+ return t !== null && (t = function(C) {
1430
+ v.sip_version = n.substring(e, C);
1431
1431
  }(m)), t === null && (e = m), t;
1432
1432
  }
1433
1433
  function Ir() {
@@ -1520,9 +1520,9 @@ function fn() {
1520
1520
  } else
1521
1521
  t = null, e = f;
1522
1522
  return t !== null && (t = function(E) {
1523
- var A, Y;
1524
- for (Y = v.multi_header.length, A = 0; A < Y; A++)
1525
- if (v.multi_header[A].parsed === null) {
1523
+ var C, Y;
1524
+ for (Y = v.multi_header.length, C = 0; C < Y; C++)
1525
+ if (v.multi_header[C].parsed === null) {
1526
1526
  v = null;
1527
1527
  break;
1528
1528
  }
@@ -1538,17 +1538,17 @@ function fn() {
1538
1538
  } else
1539
1539
  t = null, e = f;
1540
1540
  return t !== null && (t = function(E) {
1541
- var A;
1541
+ var C;
1542
1542
  v.multi_header || (v.multi_header = []);
1543
1543
  try {
1544
- A = new qt(v.uri, v.display_name, v.params), delete v.uri, delete v.display_name, delete v.params;
1544
+ C = new qt(v.uri, v.display_name, v.params), delete v.uri, delete v.display_name, delete v.params;
1545
1545
  } catch (Y) {
1546
- A = null;
1546
+ C = null;
1547
1547
  }
1548
1548
  v.multi_header.push({
1549
1549
  possition: e,
1550
1550
  offset: E,
1551
- parsed: A
1551
+ parsed: C
1552
1552
  });
1553
1553
  }(h)), t === null && (e = h), t;
1554
1554
  }
@@ -1564,10 +1564,10 @@ function fn() {
1564
1564
  r !== null ? t = [t, r] : (t = null, e = f);
1565
1565
  } else
1566
1566
  t = null, e = f;
1567
- return t === null && (t = ke()), t !== null && (t = function(E, A) {
1568
- typeof A == "string" ? v.display_name = A : v.display_name = A[1].reduce(function(Y, Ae) {
1569
- return Y + Ae[0] + Ae[1];
1570
- }, A[0]);
1567
+ return t === null && (t = ke()), t !== null && (t = function(E, C) {
1568
+ typeof C == "string" ? v.display_name = C : v.display_name = C[1].reduce(function(Y, Ce) {
1569
+ return Y + Ce[0] + Ce[1];
1570
+ }, C[0]);
1571
1571
  }(h, t)), t === null && (e = h), t;
1572
1572
  }
1573
1573
  function cs() {
@@ -1599,14 +1599,14 @@ function fn() {
1599
1599
  }
1600
1600
  function $r() {
1601
1601
  var t, r, o, c, h, f, m, E;
1602
- return f = e, m = e, n.charCodeAt(e) === 48 ? (t = "0", e++) : (t = null, u('"0"')), t !== null ? (E = e, n.charCodeAt(e) === 46 ? (r = ".", e++) : (r = null, u('"."')), r !== null ? (o = p(), o = o !== null ? o : "", o !== null ? (c = p(), c = c !== null ? c : "", c !== null ? (h = p(), h = h !== null ? h : "", h !== null ? r = [r, o, c, h] : (r = null, e = E)) : (r = null, e = E)) : (r = null, e = E)) : (r = null, e = E), r = r !== null ? r : "", r !== null ? t = [t, r] : (t = null, e = m)) : (t = null, e = m), t !== null && (t = function(A) {
1603
- return parseFloat(n.substring(e, A));
1602
+ return f = e, m = e, n.charCodeAt(e) === 48 ? (t = "0", e++) : (t = null, u('"0"')), t !== null ? (E = e, n.charCodeAt(e) === 46 ? (r = ".", e++) : (r = null, u('"."')), r !== null ? (o = p(), o = o !== null ? o : "", o !== null ? (c = p(), c = c !== null ? c : "", c !== null ? (h = p(), h = h !== null ? h : "", h !== null ? r = [r, o, c, h] : (r = null, e = E)) : (r = null, e = E)) : (r = null, e = E)) : (r = null, e = E), r = r !== null ? r : "", r !== null ? t = [t, r] : (t = null, e = m)) : (t = null, e = m), t !== null && (t = function(C) {
1603
+ return parseFloat(n.substring(e, C));
1604
1604
  }(f)), t === null && (e = f), t;
1605
1605
  }
1606
1606
  function we() {
1607
1607
  var t, r, o, c, h, f;
1608
- return c = e, h = e, t = I(), t !== null ? (f = e, r = k(), r !== null ? (o = Vr(), o !== null ? r = [r, o] : (r = null, e = f)) : (r = null, e = f), r = r !== null ? r : "", r !== null ? t = [t, r] : (t = null, e = h)) : (t = null, e = h), t !== null && (t = function(m, E, A) {
1609
- v.params || (v.params = {}), typeof A > "u" ? A = void 0 : A = A[1], v.params[E.toLowerCase()] = A;
1608
+ return c = e, h = e, t = I(), t !== null ? (f = e, r = k(), r !== null ? (o = Vr(), o !== null ? r = [r, o] : (r = null, e = f)) : (r = null, e = f), r = r !== null ? r : "", r !== null ? t = [t, r] : (t = null, e = h)) : (t = null, e = h), t !== null && (t = function(m, E, C) {
1609
+ v.params || (v.params = {}), typeof C > "u" ? C = void 0 : C = C[1], v.params[E.toLowerCase()] = C;
1610
1610
  }(c, t[0], t[1])), t === null && (e = c), t;
1611
1611
  }
1612
1612
  function Vr() {
@@ -1739,8 +1739,8 @@ function fn() {
1739
1739
  r !== null ? t = [t, r] : (t = null, e = f);
1740
1740
  } else
1741
1741
  t = null, e = f;
1742
- return t !== null && (t = function(E, A) {
1743
- v.event = A.join("").toLowerCase();
1742
+ return t !== null && (t = function(E, C) {
1743
+ v.event = C.join("").toLowerCase();
1744
1744
  }(h, t[0])), t === null && (e = h), t;
1745
1745
  }
1746
1746
  function Zt() {
@@ -1762,9 +1762,9 @@ function fn() {
1762
1762
  } else
1763
1763
  t = null, e = f;
1764
1764
  return t !== null && (t = function(E) {
1765
- var A = v.tag;
1765
+ var C = v.tag;
1766
1766
  try {
1767
- v = new qt(v.uri, v.display_name, v.params), A && v.setParam("tag", A);
1767
+ v = new qt(v.uri, v.display_name, v.params), C && v.setParam("tag", C);
1768
1768
  } catch (Y) {
1769
1769
  v = -1;
1770
1770
  }
@@ -1798,8 +1798,8 @@ function fn() {
1798
1798
  }(r, t)), t === null && (e = r), t;
1799
1799
  }
1800
1800
  function Jl() {
1801
- var t, r, o, c, h, f, m, E, A, Y;
1802
- for (E = e, A = e, t = [], r = En(); r !== null; )
1801
+ var t, r, o, c, h, f, m, E, C, Y;
1802
+ for (E = e, C = e, t = [], r = En(); r !== null; )
1803
1803
  t.push(r), r = En();
1804
1804
  if (t !== null)
1805
1805
  if (r = Ue(), r !== null)
@@ -1807,16 +1807,16 @@ function fn() {
1807
1807
  if (c = Re(), c !== null) {
1808
1808
  for (h = [], Y = e, f = le(), f !== null ? (m = we(), m !== null ? f = [f, m] : (f = null, e = Y)) : (f = null, e = Y); f !== null; )
1809
1809
  h.push(f), Y = e, f = le(), f !== null ? (m = we(), m !== null ? f = [f, m] : (f = null, e = Y)) : (f = null, e = Y);
1810
- h !== null ? t = [t, r, o, c, h] : (t = null, e = A);
1810
+ h !== null ? t = [t, r, o, c, h] : (t = null, e = C);
1811
1811
  } else
1812
- t = null, e = A;
1812
+ t = null, e = C;
1813
1813
  else
1814
- t = null, e = A;
1814
+ t = null, e = C;
1815
1815
  else
1816
- t = null, e = A;
1816
+ t = null, e = C;
1817
1817
  else
1818
- t = null, e = A;
1819
- return t !== null && (t = function(Ae) {
1818
+ t = null, e = C;
1819
+ return t !== null && (t = function(Ce) {
1820
1820
  try {
1821
1821
  v = new qt(v.uri, v.display_name, v.params);
1822
1822
  } catch (tt) {
@@ -1832,9 +1832,9 @@ function fn() {
1832
1832
  var t, r, o, c, h, f, m, E;
1833
1833
  if (m = e, n.substr(e, 6).toLowerCase() === "digest" ? (t = n.substr(e, 6), e += 6) : (t = null, u('"Digest"')), t !== null)
1834
1834
  if (r = Te(), r !== null)
1835
- if (o = Cn(), o !== null) {
1836
- for (c = [], E = e, h = _e(), h !== null ? (f = Cn(), f !== null ? h = [h, f] : (h = null, e = E)) : (h = null, e = E); h !== null; )
1837
- c.push(h), E = e, h = _e(), h !== null ? (f = Cn(), f !== null ? h = [h, f] : (h = null, e = E)) : (h = null, e = E);
1835
+ if (o = An(), o !== null) {
1836
+ for (c = [], E = e, h = _e(), h !== null ? (f = An(), f !== null ? h = [h, f] : (h = null, e = E)) : (h = null, e = E); h !== null; )
1837
+ c.push(h), E = e, h = _e(), h !== null ? (f = An(), f !== null ? h = [h, f] : (h = null, e = E)) : (h = null, e = E);
1838
1838
  c !== null ? t = [t, r, o, c] : (t = null, e = m);
1839
1839
  } else
1840
1840
  t = null, e = m;
@@ -1864,7 +1864,7 @@ function fn() {
1864
1864
  var t, r, o, c;
1865
1865
  return c = e, t = I(), t !== null ? (r = k(), r !== null ? (o = I(), o === null && (o = Ie()), o !== null ? t = [t, r, o] : (t = null, e = c)) : (t = null, e = c)) : (t = null, e = c), t;
1866
1866
  }
1867
- function Cn() {
1867
+ function An() {
1868
1868
  var t;
1869
1869
  return t = ti(), t === null && (t = si(), t === null && (t = ri(), t === null && (t = oi(), t === null && (t = li(), t === null && (t = ai(), t === null && (t = ui(), t === null && (t = en()))))))), t;
1870
1870
  }
@@ -1879,23 +1879,23 @@ function fn() {
1879
1879
  }(r, t)), t === null && (e = r), t;
1880
1880
  }
1881
1881
  function si() {
1882
- var t, r, o, c, h, f, m, E, A;
1882
+ var t, r, o, c, h, f, m, E, C;
1883
1883
  if (E = e, n.substr(e, 6).toLowerCase() === "domain" ? (t = n.substr(e, 6), e += 6) : (t = null, u('"domain"')), t !== null)
1884
1884
  if (r = k(), r !== null)
1885
1885
  if (o = et(), o !== null)
1886
- if (c = An(), c !== null) {
1887
- if (h = [], A = e, m = b(), m !== null)
1886
+ if (c = Cn(), c !== null) {
1887
+ if (h = [], C = e, m = b(), m !== null)
1888
1888
  for (f = []; m !== null; )
1889
1889
  f.push(m), m = b();
1890
1890
  else
1891
1891
  f = null;
1892
- for (f !== null ? (m = An(), m !== null ? f = [f, m] : (f = null, e = A)) : (f = null, e = A); f !== null; ) {
1893
- if (h.push(f), A = e, m = b(), m !== null)
1892
+ for (f !== null ? (m = Cn(), m !== null ? f = [f, m] : (f = null, e = C)) : (f = null, e = C); f !== null; ) {
1893
+ if (h.push(f), C = e, m = b(), m !== null)
1894
1894
  for (f = []; m !== null; )
1895
1895
  f.push(m), m = b();
1896
1896
  else
1897
1897
  f = null;
1898
- f !== null ? (m = An(), m !== null ? f = [f, m] : (f = null, e = A)) : (f = null, e = A);
1898
+ f !== null ? (m = Cn(), m !== null ? f = [f, m] : (f = null, e = C)) : (f = null, e = C);
1899
1899
  }
1900
1900
  h !== null ? (f = ye(), f !== null ? t = [t, r, o, c, h, f] : (t = null, e = E)) : (t = null, e = E);
1901
1901
  } else
@@ -1908,7 +1908,7 @@ function fn() {
1908
1908
  t = null, e = E;
1909
1909
  return t;
1910
1910
  }
1911
- function An() {
1911
+ function Cn() {
1912
1912
  var t;
1913
1913
  return t = ls(), t === null && (t = gn()), t;
1914
1914
  }
@@ -1943,16 +1943,16 @@ function fn() {
1943
1943
  }(c, t[2])), t === null && (e = c), t;
1944
1944
  }
1945
1945
  function ui() {
1946
- var t, r, o, c, h, f, m, E, A, Y;
1946
+ var t, r, o, c, h, f, m, E, C, Y;
1947
1947
  if (E = e, n.substr(e, 3).toLowerCase() === "qop" ? (t = n.substr(e, 3), e += 3) : (t = null, u('"qop"')), t !== null)
1948
1948
  if (r = k(), r !== null)
1949
1949
  if (o = et(), o !== null) {
1950
- if (A = e, c = bn(), c !== null) {
1950
+ if (C = e, c = bn(), c !== null) {
1951
1951
  for (h = [], Y = e, n.charCodeAt(e) === 44 ? (f = ",", e++) : (f = null, u('","')), f !== null ? (m = bn(), m !== null ? f = [f, m] : (f = null, e = Y)) : (f = null, e = Y); f !== null; )
1952
1952
  h.push(f), Y = e, n.charCodeAt(e) === 44 ? (f = ",", e++) : (f = null, u('","')), f !== null ? (m = bn(), m !== null ? f = [f, m] : (f = null, e = Y)) : (f = null, e = Y);
1953
- h !== null ? c = [c, h] : (c = null, e = A);
1953
+ h !== null ? c = [c, h] : (c = null, e = C);
1954
1954
  } else
1955
- c = null, e = A;
1955
+ c = null, e = C;
1956
1956
  c !== null ? (h = ye(), h !== null ? t = [t, r, o, c, h] : (t = null, e = E)) : (t = null, e = E);
1957
1957
  } else
1958
1958
  t = null, e = E;
@@ -1987,9 +1987,9 @@ function fn() {
1987
1987
  } else
1988
1988
  t = null, e = f;
1989
1989
  return t !== null && (t = function(E) {
1990
- var A, Y;
1991
- for (Y = v.multi_header.length, A = 0; A < Y; A++)
1992
- if (v.multi_header[A].parsed === null) {
1990
+ var C, Y;
1991
+ for (Y = v.multi_header.length, C = 0; C < Y; C++)
1992
+ if (v.multi_header[C].parsed === null) {
1993
1993
  v = null;
1994
1994
  break;
1995
1995
  }
@@ -2005,17 +2005,17 @@ function fn() {
2005
2005
  } else
2006
2006
  t = null, e = f;
2007
2007
  return t !== null && (t = function(E) {
2008
- var A;
2008
+ var C;
2009
2009
  v.multi_header || (v.multi_header = []);
2010
2010
  try {
2011
- A = new qt(v.uri, v.display_name, v.params), delete v.uri, delete v.display_name, delete v.params;
2011
+ C = new qt(v.uri, v.display_name, v.params), delete v.uri, delete v.display_name, delete v.params;
2012
2012
  } catch (Y) {
2013
- A = null;
2013
+ C = null;
2014
2014
  }
2015
2015
  v.multi_header.push({
2016
2016
  possition: e,
2017
2017
  offset: E,
2018
- parsed: A
2018
+ parsed: C
2019
2019
  });
2020
2020
  }(h)), t === null && (e = h), t;
2021
2021
  }
@@ -2027,8 +2027,8 @@ function fn() {
2027
2027
  r !== null ? t = [t, r] : (t = null, e = f);
2028
2028
  } else
2029
2029
  t = null, e = f;
2030
- return t !== null && (t = function(E, A) {
2031
- if (v.protocol = A.toLowerCase(), v.params || (v.params = {}), v.params.text && v.params.text[0] === '"') {
2030
+ return t !== null && (t = function(E, C) {
2031
+ if (v.protocol = C.toLowerCase(), v.params || (v.params = {}), v.params.text && v.params.text[0] === '"') {
2032
2032
  var Y = v.params.text;
2033
2033
  v.text = Y.substring(1, Y.length - 1), delete v.params.text;
2034
2034
  }
@@ -2139,9 +2139,9 @@ function fn() {
2139
2139
  } else
2140
2140
  t = null, e = f;
2141
2141
  return t !== null && (t = function(E) {
2142
- var A = v.tag;
2142
+ var C = v.tag;
2143
2143
  try {
2144
- v = new qt(v.uri, v.display_name, v.params), A && v.setParam("tag", A);
2144
+ v = new qt(v.uri, v.display_name, v.params), C && v.setParam("tag", C);
2145
2145
  } catch (Y) {
2146
2146
  v = -1;
2147
2147
  }
@@ -2211,8 +2211,8 @@ function fn() {
2211
2211
  }
2212
2212
  function Ti() {
2213
2213
  var t, r, o, c, h, f, m;
2214
- return f = e, m = e, t = p(), t = t !== null ? t : "", t !== null ? (r = p(), r = r !== null ? r : "", r !== null ? (o = p(), o = o !== null ? o : "", o !== null ? (c = p(), c = c !== null ? c : "", c !== null ? (h = p(), h = h !== null ? h : "", h !== null ? t = [t, r, o, c, h] : (t = null, e = m)) : (t = null, e = m)) : (t = null, e = m)) : (t = null, e = m)) : (t = null, e = m), t !== null && (t = function(E, A) {
2215
- v.rport = parseInt(A.join(""));
2214
+ return f = e, m = e, t = p(), t = t !== null ? t : "", t !== null ? (r = p(), r = r !== null ? r : "", r !== null ? (o = p(), o = o !== null ? o : "", o !== null ? (c = p(), c = c !== null ? c : "", c !== null ? (h = p(), h = h !== null ? h : "", h !== null ? t = [t, r, o, c, h] : (t = null, e = m)) : (t = null, e = m)) : (t = null, e = m)) : (t = null, e = m)) : (t = null, e = m), t !== null && (t = function(E, C) {
2215
+ v.rport = parseInt(C.join(""));
2216
2216
  }(f, t)), t === null && (e = f), t;
2217
2217
  }
2218
2218
  function vi() {
@@ -2233,18 +2233,18 @@ function fn() {
2233
2233
  }
2234
2234
  function Si() {
2235
2235
  var t, r, o, c, h;
2236
- return c = e, t = Ci(), t !== null ? (h = e, r = Ke(), r !== null ? (o = Ai(), o !== null ? r = [r, o] : (r = null, e = h)) : (r = null, e = h), r = r !== null ? r : "", r !== null ? t = [t, r] : (t = null, e = c)) : (t = null, e = c), t;
2236
+ return c = e, t = Ai(), t !== null ? (h = e, r = Ke(), r !== null ? (o = Ci(), o !== null ? r = [r, o] : (r = null, e = h)) : (r = null, e = h), r = r !== null ? r : "", r !== null ? t = [t, r] : (t = null, e = c)) : (t = null, e = c), t;
2237
2237
  }
2238
- function Ci() {
2238
+ function Ai() {
2239
2239
  var t, r;
2240
2240
  return r = e, t = Wt(), t === null && (t = rs(), t === null && (t = ns())), t !== null && (t = function(o) {
2241
2241
  v.host = n.substring(e, o);
2242
2242
  }(r)), t === null && (e = r), t;
2243
2243
  }
2244
- function Ai() {
2244
+ function Ci() {
2245
2245
  var t, r, o, c, h, f, m;
2246
- return f = e, m = e, t = p(), t = t !== null ? t : "", t !== null ? (r = p(), r = r !== null ? r : "", r !== null ? (o = p(), o = o !== null ? o : "", o !== null ? (c = p(), c = c !== null ? c : "", c !== null ? (h = p(), h = h !== null ? h : "", h !== null ? t = [t, r, o, c, h] : (t = null, e = m)) : (t = null, e = m)) : (t = null, e = m)) : (t = null, e = m)) : (t = null, e = m), t !== null && (t = function(E, A) {
2247
- v.port = parseInt(A.join(""));
2246
+ return f = e, m = e, t = p(), t = t !== null ? t : "", t !== null ? (r = p(), r = r !== null ? r : "", r !== null ? (o = p(), o = o !== null ? o : "", o !== null ? (c = p(), c = c !== null ? c : "", c !== null ? (h = p(), h = h !== null ? h : "", h !== null ? t = [t, r, o, c, h] : (t = null, e = m)) : (t = null, e = m)) : (t = null, e = m)) : (t = null, e = m)) : (t = null, e = m), t !== null && (t = function(E, C) {
2247
+ v.port = parseInt(C.join(""));
2248
2248
  }(f, t)), t === null && (e = f), t;
2249
2249
  }
2250
2250
  function ys() {
@@ -2304,8 +2304,8 @@ function fn() {
2304
2304
  return o = e, n.substr(e, 5) === "uuid:" ? (t = "uuid:", e += 5) : (t = null, u('"uuid:"')), t !== null ? (r = wi(), r !== null ? t = [t, r] : (t = null, e = o)) : (t = null, e = o), t;
2305
2305
  }
2306
2306
  function wi() {
2307
- var t, r, o, c, h, f, m, E, A, Y, Ae;
2308
- return Y = e, Ae = e, t = Oi(), t !== null ? (n.charCodeAt(e) === 45 ? (r = "-", e++) : (r = null, u('"-"')), r !== null ? (o = ct(), o !== null ? (n.charCodeAt(e) === 45 ? (c = "-", e++) : (c = null, u('"-"')), c !== null ? (h = ct(), h !== null ? (n.charCodeAt(e) === 45 ? (f = "-", e++) : (f = null, u('"-"')), f !== null ? (m = ct(), m !== null ? (n.charCodeAt(e) === 45 ? (E = "-", e++) : (E = null, u('"-"')), E !== null ? (A = Ni(), A !== null ? t = [t, r, o, c, h, f, m, E, A] : (t = null, e = Ae)) : (t = null, e = Ae)) : (t = null, e = Ae)) : (t = null, e = Ae)) : (t = null, e = Ae)) : (t = null, e = Ae)) : (t = null, e = Ae)) : (t = null, e = Ae)) : (t = null, e = Ae), t !== null && (t = function(tt, On) {
2307
+ var t, r, o, c, h, f, m, E, C, Y, Ce;
2308
+ return Y = e, Ce = e, t = Oi(), t !== null ? (n.charCodeAt(e) === 45 ? (r = "-", e++) : (r = null, u('"-"')), r !== null ? (o = ct(), o !== null ? (n.charCodeAt(e) === 45 ? (c = "-", e++) : (c = null, u('"-"')), c !== null ? (h = ct(), h !== null ? (n.charCodeAt(e) === 45 ? (f = "-", e++) : (f = null, u('"-"')), f !== null ? (m = ct(), m !== null ? (n.charCodeAt(e) === 45 ? (E = "-", e++) : (E = null, u('"-"')), E !== null ? (C = Ni(), C !== null ? t = [t, r, o, c, h, f, m, E, C] : (t = null, e = Ce)) : (t = null, e = Ce)) : (t = null, e = Ce)) : (t = null, e = Ce)) : (t = null, e = Ce)) : (t = null, e = Ce)) : (t = null, e = Ce)) : (t = null, e = Ce)) : (t = null, e = Ce), t !== null && (t = function(tt, On) {
2309
2309
  v = n.substring(e + 5, tt);
2310
2310
  }(Y, t[0])), t === null && (e = Y), t;
2311
2311
  }
@@ -2332,7 +2332,7 @@ function fn() {
2332
2332
  return t !== null && (t = function(E) {
2333
2333
  try {
2334
2334
  v = new qt(v.uri, v.display_name, v.params);
2335
- } catch (A) {
2335
+ } catch (C) {
2336
2336
  v = -1;
2337
2337
  }
2338
2338
  }()), t === null && (e = h), t;
@@ -2394,8 +2394,8 @@ function fn() {
2394
2394
  }
2395
2395
  var xi = es(), qt = Gu(), v = {}, va = a[i]();
2396
2396
  if (va === null || e !== n.length) {
2397
- var Cs = Math.max(e, d), ya = Cs < n.length ? n.charAt(Cs) : null, Pi = Ta();
2398
- return new this.SyntaxError(ga(_), ya, Cs, Pi.line, Pi.column), -1;
2397
+ var As = Math.max(e, d), ya = As < n.length ? n.charAt(As) : null, Pi = Ta();
2398
+ return new this.SyntaxError(ga(_), ya, As, Pi.line, Pi.column), -1;
2399
2399
  }
2400
2400
  return v;
2401
2401
  },
@@ -2423,23 +2423,23 @@ function fn() {
2423
2423
  }, s.SyntaxError.prototype = Error.prototype, s;
2424
2424
  }()), _c;
2425
2425
  }
2426
- var Ca, pc;
2426
+ var Aa, pc;
2427
2427
  function es() {
2428
2428
  if (pc)
2429
- return Ca;
2429
+ return Aa;
2430
2430
  pc = 1;
2431
2431
  function l(g, p) {
2432
2432
  var T;
2433
2433
  if (typeof Symbol > "u" || g[Symbol.iterator] == null) {
2434
2434
  if (Array.isArray(g) || (T = s(g)) || p && g && typeof g.length == "number") {
2435
2435
  T && (g = T);
2436
- var y = 0, C = function() {
2436
+ var y = 0, A = function() {
2437
2437
  };
2438
- return { s: C, n: function() {
2438
+ return { s: A, n: function() {
2439
2439
  return y >= g.length ? { done: !0 } : { done: !1, value: g[y++] };
2440
2440
  }, e: function(G) {
2441
2441
  throw G;
2442
- }, f: C };
2442
+ }, f: A };
2443
2443
  }
2444
2444
  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2445
2445
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
@@ -2492,7 +2492,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2492
2492
  return p && a(g.prototype, p), T && a(g, T), g;
2493
2493
  }
2494
2494
  var d = ut, _ = wt(), u = fn();
2495
- return Ca = /* @__PURE__ */ function() {
2495
+ return Aa = /* @__PURE__ */ function() {
2496
2496
  e(g, null, [{
2497
2497
  key: "parse",
2498
2498
  /**
@@ -2504,11 +2504,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2504
2504
  return p;
2505
2505
  }
2506
2506
  }]);
2507
- function g(p, T, y, C) {
2507
+ function g(p, T, y, A) {
2508
2508
  var w = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {}, R = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : {};
2509
2509
  if (i(this, g), !y)
2510
2510
  throw new TypeError('missing or invalid "host" parameter');
2511
- this._parameters = {}, this._headers = {}, this._scheme = p || d.SIP, this._user = T, this._host = y, this._port = C;
2511
+ this._parameters = {}, this._headers = {}, this._scheme = p || d.SIP, this._user = T, this._host = y, this._port = A;
2512
2512
  for (var b in w)
2513
2513
  Object.prototype.hasOwnProperty.call(w, b) && this.setParam(b, w[b]);
2514
2514
  for (var G in R)
@@ -2586,13 +2586,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2586
2586
  this._user && (T += "".concat(_.escapeUser(this._user), "@")), T += this._host, (this._port || this._port === 0) && (T += ":".concat(this._port));
2587
2587
  for (var y in this._parameters)
2588
2588
  Object.prototype.hasOwnProperty.call(this._parameters, y) && (T += ";".concat(y), this._parameters[y] !== null && (T += "=".concat(this._parameters[y])));
2589
- for (var C in this._headers)
2590
- if (Object.prototype.hasOwnProperty.call(this._headers, C)) {
2591
- var w = l(this._headers[C]), R;
2589
+ for (var A in this._headers)
2590
+ if (Object.prototype.hasOwnProperty.call(this._headers, A)) {
2591
+ var w = l(this._headers[A]), R;
2592
2592
  try {
2593
2593
  for (w.s(); !(R = w.n()).done; ) {
2594
2594
  var b = R.value;
2595
- p.push("".concat(C, "=").concat(b));
2595
+ p.push("".concat(A, "=").concat(b));
2596
2596
  }
2597
2597
  } catch (G) {
2598
2598
  w.e(G);
@@ -2641,7 +2641,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2641
2641
  this._port = p === 0 ? p : parseInt(p, 10) || null;
2642
2642
  }
2643
2643
  }]), g;
2644
- }(), Ca;
2644
+ }(), Aa;
2645
2645
  }
2646
2646
  var mc;
2647
2647
  function wt() {
@@ -2661,10 +2661,10 @@ function wt() {
2661
2661
  if (typeof Symbol > "u" || p[Symbol.iterator] == null) {
2662
2662
  if (Array.isArray(p) || (y = n(p)) || T && p && typeof p.length == "number") {
2663
2663
  y && (p = y);
2664
- var C = 0, w = function() {
2664
+ var A = 0, w = function() {
2665
2665
  };
2666
2666
  return { s: w, n: function() {
2667
- return C >= p.length ? { done: !0 } : { done: !1, value: p[C++] };
2667
+ return A >= p.length ? { done: !0 } : { done: !1, value: p[A++] };
2668
2668
  }, e: function(P) {
2669
2669
  throw P;
2670
2670
  }, f: w };
@@ -2702,9 +2702,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2702
2702
  }
2703
2703
  function i(p, T) {
2704
2704
  (T == null || T > p.length) && (T = p.length);
2705
- for (var y = 0, C = new Array(T); y < T; y++)
2706
- C[y] = p[y];
2707
- return C;
2705
+ for (var y = 0, A = new Array(T); y < T; y++)
2706
+ A[y] = p[y];
2707
+ return A;
2708
2708
  }
2709
2709
  var a = ut, e = es(), d = fn();
2710
2710
  st.str_utf8_length = function(p) {
@@ -2720,8 +2720,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2720
2720
  }, st.isEmpty = function(p) {
2721
2721
  return p === null || p === "" || p === void 0 || Array.isArray(p) && p.length === 0 || typeof p == "number" && isNaN(p);
2722
2722
  }, st.hasMethods = function(p) {
2723
- for (var T = arguments.length, y = new Array(T > 1 ? T - 1 : 0), C = 1; C < T; C++)
2724
- y[C - 1] = arguments[C];
2723
+ for (var T = arguments.length, y = new Array(T > 1 ? T - 1 : 0), A = 1; A < T; A++)
2724
+ y[A - 1] = arguments[A];
2725
2725
  for (var w = 0, R = y; w < R.length; w++) {
2726
2726
  var b = R[w];
2727
2727
  if (_(p[b]))
@@ -2730,17 +2730,17 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2730
2730
  return !0;
2731
2731
  };
2732
2732
  var u = st.createRandomToken = function(p) {
2733
- var T = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 32, y, C, w = "";
2733
+ var T = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 32, y, A, w = "";
2734
2734
  for (y = 0; y < p; y++)
2735
- C = Math.random() * T | 0, w += C.toString(T);
2735
+ A = Math.random() * T | 0, w += A.toString(T);
2736
2736
  return w;
2737
2737
  };
2738
2738
  st.newTag = function() {
2739
2739
  return u(10);
2740
2740
  }, st.newUUID = function() {
2741
2741
  var p = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(T) {
2742
- var y = Math.random() * 16 | 0, C = T === "x" ? y : y & 3 | 8;
2743
- return C.toString(16);
2742
+ var y = Math.random() * 16 | 0, A = T === "x" ? y : y & 3 | 8;
2743
+ return A.toString(16);
2744
2744
  });
2745
2745
  return p;
2746
2746
  }, st.hostType = function(p) {
@@ -2758,20 +2758,20 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2758
2758
  if (p instanceof e)
2759
2759
  return p;
2760
2760
  if (typeof p == "string") {
2761
- var y = p.split("@"), C, w;
2761
+ var y = p.split("@"), A, w;
2762
2762
  switch (y.length) {
2763
2763
  case 1:
2764
2764
  if (!T)
2765
2765
  return;
2766
- C = p, w = T;
2766
+ A = p, w = T;
2767
2767
  break;
2768
2768
  case 2:
2769
- C = y[0], w = y[1];
2769
+ A = y[0], w = y[1];
2770
2770
  break;
2771
2771
  default:
2772
- C = y.slice(0, y.length - 1).join("@"), w = y[y.length - 1];
2772
+ A = y.slice(0, y.length - 1).join("@"), w = y[y.length - 1];
2773
2773
  }
2774
- C = C.replace(/^(sips?|tel):/i, ""), /^[-.()]*\+?[0-9\-.()]+$/.test(C) && (C = C.replace(/[-.()]/g, "")), p = "".concat(a.SIP, ":").concat(g(C), "@").concat(w);
2774
+ A = A.replace(/^(sips?|tel):/i, ""), /^[-.()]*\+?[0-9\-.()]+$/.test(A) && (A = A.replace(/[-.()]/g, "")), p = "".concat(a.SIP, ":").concat(g(A), "@").concat(w);
2775
2775
  var R;
2776
2776
  return (R = e.parse(p)) ? R : void 0;
2777
2777
  } else
@@ -2783,10 +2783,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2783
2783
  "Call-Id": "Call-ID",
2784
2784
  Cseq: "CSeq",
2785
2785
  "Www-Authenticate": "WWW-Authenticate"
2786
- }, y = p.toLowerCase().replace(/_/g, "-").split("-"), C = "", w = y.length, R;
2786
+ }, y = p.toLowerCase().replace(/_/g, "-").split("-"), A = "", w = y.length, R;
2787
2787
  for (R = 0; R < w; R++)
2788
- R !== 0 && (C += "-"), C += y[R].charAt(0).toUpperCase() + y[R].substring(1);
2789
- return T[C] && (C = T[C]), C;
2788
+ R !== 0 && (A += "-"), A += y[R].charAt(0).toUpperCase() + y[R].substring(1);
2789
+ return T[A] && (A = T[A]), A;
2790
2790
  }, st.sipErrorCause = function(p) {
2791
2791
  for (var T in a.SIP_ERROR_CAUSES)
2792
2792
  if (a.SIP_ERROR_CAUSES[T].indexOf(p) !== -1)
@@ -2805,7 +2805,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2805
2805
  var Ee = fe & 2147483648, Ne = ae & 2147483648, je = fe & 1073741824, ot = ae & 1073741824, Pe = (fe & 1073741823) + (ae & 1073741823);
2806
2806
  return je & ot ? Pe ^ 2147483648 ^ Ee ^ Ne : je | ot ? Pe & 1073741824 ? Pe ^ 3221225472 ^ Ee ^ Ne : Pe ^ 1073741824 ^ Ee ^ Ne : Pe ^ Ee ^ Ne;
2807
2807
  }
2808
- function C(fe, ae, Ee) {
2808
+ function A(fe, ae, Ee) {
2809
2809
  return fe & ae | ~fe & Ee;
2810
2810
  }
2811
2811
  function w(fe, ae, Ee) {
@@ -2818,7 +2818,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2818
2818
  return ae ^ (fe | ~Ee);
2819
2819
  }
2820
2820
  function G(fe, ae, Ee, Ne, je, ot, Pe) {
2821
- return fe = y(fe, y(y(C(ae, Ee, Ne), je), Pe)), y(T(fe, ot), ae);
2821
+ return fe = y(fe, y(y(A(ae, Ee, Ne), je), Pe)), y(T(fe, ot), ae);
2822
2822
  }
2823
2823
  function P(fe, ae, Ee, Ne, je, ot, Pe) {
2824
2824
  return fe = y(fe, y(y(w(ae, Ee, Ne), je), Pe)), y(T(fe, ot), ae);
@@ -2858,10 +2858,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2858
2858
  var T;
2859
2859
  if (p.getTracks) {
2860
2860
  T = p.getTracks();
2861
- var y = s(T), C;
2861
+ var y = s(T), A;
2862
2862
  try {
2863
- for (y.s(); !(C = y.n()).done; ) {
2864
- var w = C.value;
2863
+ for (y.s(); !(A = y.n()).done; ) {
2864
+ var w = A.value;
2865
2865
  w.stop();
2866
2866
  }
2867
2867
  } catch (j) {
@@ -2983,7 +2983,7 @@ xe.prototype.emit = function(l) {
2983
2983
  gc(g[n], this, s);
2984
2984
  return !0;
2985
2985
  };
2986
- function Cd(l, s, n, i) {
2986
+ function Ad(l, s, n, i) {
2987
2987
  var a, e, d;
2988
2988
  if (Ul(n), e = l._events, e === void 0 ? (e = l._events = /* @__PURE__ */ Object.create(null), l._eventsCount = 0) : (e.newListener !== void 0 && (l.emit(
2989
2989
  "newListener",
@@ -2999,25 +2999,25 @@ function Cd(l, s, n, i) {
2999
2999
  return l;
3000
3000
  }
3001
3001
  xe.prototype.addListener = function(l, s) {
3002
- return Cd(this, l, s, !1);
3002
+ return Ad(this, l, s, !1);
3003
3003
  };
3004
3004
  xe.prototype.on = xe.prototype.addListener;
3005
3005
  xe.prototype.prependListener = function(l, s) {
3006
- return Cd(this, l, s, !0);
3006
+ return Ad(this, l, s, !0);
3007
3007
  };
3008
3008
  function X_() {
3009
3009
  if (!this.fired)
3010
3010
  return this.target.removeListener(this.type, this.wrapFn), this.fired = !0, arguments.length === 0 ? this.listener.call(this.target) : this.listener.apply(this.target, arguments);
3011
3011
  }
3012
- function Ad(l, s, n) {
3012
+ function Cd(l, s, n) {
3013
3013
  var i = { fired: !1, wrapFn: void 0, target: l, type: s, listener: n }, a = X_.bind(i);
3014
3014
  return a.listener = n, i.wrapFn = a, a;
3015
3015
  }
3016
3016
  xe.prototype.once = function(l, s) {
3017
- return Ul(s), this.on(l, Ad(this, l, s)), this;
3017
+ return Ul(s), this.on(l, Cd(this, l, s)), this;
3018
3018
  };
3019
3019
  xe.prototype.prependOnceListener = function(l, s) {
3020
- return Ul(s), this.prependListener(l, Ad(this, l, s)), this;
3020
+ return Ul(s), this.prependListener(l, Cd(this, l, s)), this;
3021
3021
  };
3022
3022
  xe.prototype.removeListener = function(l, s) {
3023
3023
  var n, i, a, e, d;
@@ -3129,13 +3129,13 @@ function wd(l, s, n, i) {
3129
3129
  else
3130
3130
  throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof l);
3131
3131
  }
3132
- var _t = Wu.exports, Tu = { exports: {} }, Aa, vc;
3132
+ var _t = Wu.exports, Tu = { exports: {} }, Ca, vc;
3133
3133
  function tf() {
3134
3134
  if (vc)
3135
- return Aa;
3135
+ return Ca;
3136
3136
  vc = 1;
3137
3137
  var l = 1e3, s = l * 60, n = s * 60, i = n * 24, a = i * 7, e = i * 365.25;
3138
- Aa = function(p, T) {
3138
+ Ca = function(p, T) {
3139
3139
  T = T || {};
3140
3140
  var y = typeof p;
3141
3141
  if (y === "string" && p.length > 0)
@@ -3152,8 +3152,8 @@ function tf() {
3152
3152
  p
3153
3153
  );
3154
3154
  if (T) {
3155
- var y = parseFloat(T[1]), C = (T[2] || "ms").toLowerCase();
3156
- switch (C) {
3155
+ var y = parseFloat(T[1]), A = (T[2] || "ms").toLowerCase();
3156
+ switch (A) {
3157
3157
  case "years":
3158
3158
  case "year":
3159
3159
  case "yrs":
@@ -3206,11 +3206,11 @@ function tf() {
3206
3206
  var T = Math.abs(p);
3207
3207
  return T >= i ? g(p, T, i, "day") : T >= n ? g(p, T, n, "hour") : T >= s ? g(p, T, s, "minute") : T >= l ? g(p, T, l, "second") : p + " ms";
3208
3208
  }
3209
- function g(p, T, y, C) {
3209
+ function g(p, T, y, A) {
3210
3210
  var w = T >= y * 1.5;
3211
- return Math.round(p / y) + " " + C + (w ? "s" : "");
3211
+ return Math.round(p / y) + " " + A + (w ? "s" : "");
3212
3212
  }
3213
- return Aa;
3213
+ return Ca;
3214
3214
  }
3215
3215
  function nf(l) {
3216
3216
  n.debug = n, n.default = n, n.coerce = u, n.disable = e, n.enable = a, n.enabled = d, n.humanize = tf(), n.destroy = g, Object.keys(l).forEach((p) => {
@@ -3224,7 +3224,7 @@ function nf(l) {
3224
3224
  }
3225
3225
  n.selectColor = s;
3226
3226
  function n(p) {
3227
- let T, y = null, C, w;
3227
+ let T, y = null, A, w;
3228
3228
  function R(...b) {
3229
3229
  if (!R.enabled)
3230
3230
  return;
@@ -3246,7 +3246,7 @@ function nf(l) {
3246
3246
  return R.namespace = p, R.useColors = n.useColors(), R.color = n.selectColor(p), R.extend = i, R.destroy = n.destroy, Object.defineProperty(R, "enabled", {
3247
3247
  enumerable: !0,
3248
3248
  configurable: !1,
3249
- get: () => y !== null ? y : (C !== n.namespaces && (C = n.namespaces, w = n.enabled(p)), w),
3249
+ get: () => y !== null ? y : (A !== n.namespaces && (A = n.namespaces, w = n.enabled(p)), w),
3250
3250
  set: (b) => {
3251
3251
  y = b;
3252
3252
  }
@@ -3259,8 +3259,8 @@ function nf(l) {
3259
3259
  function a(p) {
3260
3260
  n.save(p), n.namespaces = p, n.names = [], n.skips = [];
3261
3261
  let T;
3262
- const y = (typeof p == "string" ? p : "").split(/[\s,]+/), C = y.length;
3263
- for (T = 0; T < C; T++)
3262
+ const y = (typeof p == "string" ? p : "").split(/[\s,]+/), A = y.length;
3263
+ for (T = 0; T < A; T++)
3264
3264
  y[T] && (p = y[T].replace(/\*/g, ".*?"), p[0] === "-" ? n.skips.push(new RegExp("^" + p.slice(1) + "$")) : n.names.push(new RegExp("^" + p + "$")));
3265
3265
  }
3266
3266
  function e() {
@@ -3923,12 +3923,12 @@ var Dd = Nd.exports;
3923
3923
  l.parse = function(_) {
3924
3924
  var u = {}, g = [], p = u;
3925
3925
  return _.split(/(\r\n|\r|\n)/).filter(e).forEach(function(T) {
3926
- var y = T[0], C = T.slice(2);
3926
+ var y = T[0], A = T.slice(2);
3927
3927
  y === "m" && (g.push({ rtp: [], fmtp: [] }), p = g[g.length - 1]);
3928
3928
  for (var w = 0; w < (a[y] || []).length; w += 1) {
3929
3929
  var R = a[y][w];
3930
- if (R.reg.test(C))
3931
- return i(R, p, C);
3930
+ if (R.reg.test(A))
3931
+ return i(R, p, A);
3932
3932
  }
3933
3933
  }), u.media = g, u;
3934
3934
  };
@@ -4145,16 +4145,16 @@ function fo(l, s) {
4145
4145
  if (!(l instanceof s))
4146
4146
  throw new TypeError("Cannot call a class as a function");
4147
4147
  }
4148
- function Cc(l, s) {
4148
+ function Ac(l, s) {
4149
4149
  for (var n = 0; n < s.length; n++) {
4150
4150
  var i = s[n];
4151
4151
  i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(l, i.key, i);
4152
4152
  }
4153
4153
  }
4154
4154
  function Ml(l, s, n) {
4155
- return s && Cc(l.prototype, s), n && Cc(l, n), l;
4155
+ return s && Ac(l.prototype, s), n && Ac(l, n), l;
4156
4156
  }
4157
- var kd = Ht, gf = ft, Et = ut, lt = wt(), Ac = Gu(), Tf = fn(), Ra = new gf("SIPMessage"), Ud = /* @__PURE__ */ function() {
4157
+ var kd = Ht, gf = ft, Et = ut, lt = wt(), Cc = Gu(), Tf = fn(), Ra = new gf("SIPMessage"), Ud = /* @__PURE__ */ function() {
4158
4158
  function l(s, n, i, a, e, d) {
4159
4159
  if (fo(this, l), !s || !n || !i)
4160
4160
  return null;
@@ -4162,13 +4162,13 @@ var kd = Ht, gf = ft, Et = ut, lt = wt(), Ac = Gu(), Tf = fn(), Ra = new gf("SIP
4162
4162
  var _ = a.to_uri || n, u = a.to_tag ? {
4163
4163
  tag: a.to_tag
4164
4164
  } : null, g = typeof a.to_display_name < "u" ? a.to_display_name : null;
4165
- this.to = new Ac(_, g, u), this.setHeader("to", this.to.toString());
4165
+ this.to = new Cc(_, g, u), this.setHeader("to", this.to.toString());
4166
4166
  var p = a.from_uri || i.configuration.uri, T = {
4167
4167
  tag: a.from_tag || lt.newTag()
4168
4168
  }, y;
4169
- typeof a.from_display_name < "u" ? y = a.from_display_name : i.configuration.display_name ? y = i.configuration.display_name : y = null, this.from = new Ac(p, y, T), this.setHeader("from", this.from.toString());
4170
- var C = a.call_id || i.configuration.jssip_id + lt.createRandomToken(15);
4171
- this.call_id = C, this.setHeader("call-id", C);
4169
+ typeof a.from_display_name < "u" ? y = a.from_display_name : i.configuration.display_name ? y = i.configuration.display_name : y = null, this.from = new Cc(p, y, T), this.setHeader("from", this.from.toString());
4170
+ var A = a.call_id || i.configuration.jssip_id + lt.createRandomToken(15);
4171
+ this.call_id = A, this.setHeader("call-id", A);
4172
4172
  var w = a.cseq || Math.floor(Math.random() * 1e4);
4173
4173
  this.cseq = w, this.setHeader("cseq", "".concat(w, " ").concat(s));
4174
4174
  }
@@ -4519,17 +4519,17 @@ var kd = Ht, gf = ft, Et = ut, lt = wt(), Ac = Gu(), Tf = fn(), Ra = new gf("SIP
4519
4519
  var T = "SIP/2.0 ".concat(i, " ").concat(a, `\r
4520
4520
  `);
4521
4521
  if (this.method === Et.INVITE && i > 100 && i <= 200) {
4522
- var y = this.getHeaders("record-route"), C = Bt(y), w;
4522
+ var y = this.getHeaders("record-route"), A = Bt(y), w;
4523
4523
  try {
4524
- for (C.s(); !(w = C.n()).done; ) {
4524
+ for (A.s(); !(w = A.n()).done; ) {
4525
4525
  var R = w.value;
4526
4526
  T += "Record-Route: ".concat(R, `\r
4527
4527
  `);
4528
4528
  }
4529
4529
  } catch (N) {
4530
- C.e(N);
4530
+ A.e(N);
4531
4531
  } finally {
4532
- C.f();
4532
+ A.f();
4533
4533
  }
4534
4534
  }
4535
4535
  var b = this.getHeaders("via"), G = Bt(b), P;
@@ -4621,8 +4621,8 @@ var kd = Ht, gf = ft, Et = ut, lt = wt(), Ac = Gu(), Tf = fn(), Ra = new gf("SIP
4621
4621
  var T = Bt(this.ua.configuration.extra_headers), y;
4622
4622
  try {
4623
4623
  for (T.s(); !(y = T.n()).done; ) {
4624
- var C = y.value;
4625
- d += "".concat(C.trim(), `\r
4624
+ var A = y.value;
4625
+ d += "".concat(A.trim(), `\r
4626
4626
  `);
4627
4627
  }
4628
4628
  } catch (w) {
@@ -4660,14 +4660,14 @@ function bc(l, s) {
4660
4660
  i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(l, i.key, i);
4661
4661
  }
4662
4662
  }
4663
- function Cf(l, s, n) {
4663
+ function Af(l, s, n) {
4664
4664
  return s && bc(l.prototype, s), n && bc(l, n), l;
4665
4665
  }
4666
- var Af = ft, Nn = wt(), tn = new Af("DigestAuthentication"), bf = /* @__PURE__ */ function() {
4666
+ var Cf = ft, Nn = wt(), tn = new Cf("DigestAuthentication"), bf = /* @__PURE__ */ function() {
4667
4667
  function l(s) {
4668
4668
  Sf(this, l), this._credentials = s, 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;
4669
4669
  }
4670
- return Cf(l, [{
4670
+ return Af(l, [{
4671
4671
  key: "get",
4672
4672
  value: function(s) {
4673
4673
  switch (s) {
@@ -5950,7 +5950,7 @@ function El(l) {
5950
5950
  return s.__proto__ || Object.getPrototypeOf(s);
5951
5951
  }, El(l);
5952
5952
  }
5953
- var vp = _t.EventEmitter, yp = ut, Ep = Zn, Sp = wt(), Cp = /* @__PURE__ */ function(l) {
5953
+ var vp = _t.EventEmitter, yp = ut, Ep = Zn, Sp = wt(), Ap = /* @__PURE__ */ function(l) {
5954
5954
  fp(n, l);
5955
5955
  var s = pp(n);
5956
5956
  function n(i) {
@@ -6020,7 +6020,7 @@ var vp = _t.EventEmitter, yp = ut, Ep = Zn, Sp = wt(), Cp = /* @__PURE__ */ func
6020
6020
  }
6021
6021
  }]), n;
6022
6022
  }(vp);
6023
- function Ap(l, s) {
6023
+ function Cp(l, s) {
6024
6024
  if (!(l instanceof s))
6025
6025
  throw new TypeError("Cannot call a class as a function");
6026
6026
  }
@@ -6039,7 +6039,7 @@ var Rp = ft, Bc = ut, Ip = new Rp("RTCSession:ReferNotifier"), Ma = {
6039
6039
  expires: 300
6040
6040
  }, wp = /* @__PURE__ */ function() {
6041
6041
  function l(s, n, i) {
6042
- Ap(this, l), this._session = s, this._id = n, this._expires = i || Ma.expires, this._active = !0, this.notify(100);
6042
+ Cp(this, l), this._session = s, this._id = n, this._expires = i || Ma.expires, this._active = !0, this.notify(100);
6043
6043
  }
6044
6044
  return bp(l, [{
6045
6045
  key: "notify",
@@ -6085,12 +6085,12 @@ function Np(l, s, n) {
6085
6085
  function Dp(l, s) {
6086
6086
  if (typeof s != "function" && s !== null)
6087
6087
  throw new TypeError("Super expression must either be null or a function");
6088
- l.prototype = Object.create(s && s.prototype, { constructor: { value: l, writable: !0, configurable: !0 } }), s && Cu(l, s);
6088
+ l.prototype = Object.create(s && s.prototype, { constructor: { value: l, writable: !0, configurable: !0 } }), s && Au(l, s);
6089
6089
  }
6090
- function Cu(l, s) {
6091
- return Cu = Object.setPrototypeOf || function(n, i) {
6090
+ function Au(l, s) {
6091
+ return Au = Object.setPrototypeOf || function(n, i) {
6092
6092
  return n.__proto__ = i, n;
6093
- }, Cu(l, s);
6093
+ }, Au(l, s);
6094
6094
  }
6095
6095
  function kp(l) {
6096
6096
  var s = xp();
@@ -6147,8 +6147,8 @@ var Pp = _t.EventEmitter, Lp = ft, Fi = ut, Hp = fn(), Gc = wt(), Rs = new Lp("R
6147
6147
  var g = null;
6148
6148
  e.replaces && (g = e.replaces._request.call_id, g += ";to-tag=".concat(e.replaces._to_tag), g += ";from-tag=".concat(e.replaces._from_tag), g = encodeURIComponent(g));
6149
6149
  var p = "Refer-To: <".concat(i).concat(g ? "?Replaces=".concat(g) : "", ">");
6150
- if (d.push(p), !d.some(function(C) {
6151
- return C.toLowerCase().startsWith("referred-by:");
6150
+ if (d.push(p), !d.some(function(A) {
6151
+ return A.toLowerCase().startsWith("referred-by:");
6152
6152
  })) {
6153
6153
  var T = "Referred-By: <".concat(this._session._ua._configuration.uri._scheme, ":").concat(this._session._ua._configuration.uri._user, "@").concat(this._session._ua._configuration.uri._host, ">");
6154
6154
  d.push(T);
@@ -6157,11 +6157,11 @@ var Pp = _t.EventEmitter, Lp = ft, Fi = ut, Hp = fn(), Gc = wt(), Rs = new Lp("R
6157
6157
  var y = this._session.sendRequest(Fi.REFER, {
6158
6158
  extraHeaders: d,
6159
6159
  eventHandlers: {
6160
- onSuccessResponse: function(C) {
6161
- a._requestSucceeded(C);
6160
+ onSuccessResponse: function(A) {
6161
+ a._requestSucceeded(A);
6162
6162
  },
6163
- onErrorResponse: function(C) {
6164
- a._requestFailed(C, Fi.causes.REJECTED);
6163
+ onErrorResponse: function(A) {
6164
+ a._requestFailed(A, Fi.causes.REJECTED);
6165
6165
  },
6166
6166
  onTransportError: function() {
6167
6167
  a._requestFailed(null, Fi.causes.CONNECTION_ERROR);
@@ -6310,19 +6310,19 @@ function zc(l, s, n) {
6310
6310
  function $p(l, s) {
6311
6311
  if (typeof s != "function" && s !== null)
6312
6312
  throw new TypeError("Super expression must either be null or a function");
6313
- l.prototype = Object.create(s && s.prototype, { constructor: { value: l, writable: !0, configurable: !0 } }), s && Au(l, s);
6313
+ l.prototype = Object.create(s && s.prototype, { constructor: { value: l, writable: !0, configurable: !0 } }), s && Cu(l, s);
6314
6314
  }
6315
- function Au(l, s) {
6316
- return Au = Object.setPrototypeOf || function(n, i) {
6315
+ function Cu(l, s) {
6316
+ return Cu = Object.setPrototypeOf || function(n, i) {
6317
6317
  return n.__proto__ = i, n;
6318
- }, Au(l, s);
6318
+ }, Cu(l, s);
6319
6319
  }
6320
6320
  function Vp(l) {
6321
6321
  var s = Gp();
6322
6322
  return function() {
6323
- var n = Cl(l), i;
6323
+ var n = Al(l), i;
6324
6324
  if (s) {
6325
- var a = Cl(this).constructor;
6325
+ var a = Al(this).constructor;
6326
6326
  i = Reflect.construct(n, arguments, a);
6327
6327
  } else
6328
6328
  i = n.apply(this, arguments);
@@ -6349,12 +6349,12 @@ function Gp() {
6349
6349
  return !1;
6350
6350
  }
6351
6351
  }
6352
- function Cl(l) {
6353
- return Cl = Object.setPrototypeOf ? Object.getPrototypeOf : function(s) {
6352
+ function Al(l) {
6353
+ return Al = Object.setPrototypeOf ? Object.getPrototypeOf : function(s) {
6354
6354
  return s.__proto__ || Object.getPrototypeOf(s);
6355
- }, Cl(l);
6355
+ }, Al(l);
6356
6356
  }
6357
- var Wp = _t.EventEmitter, Xc = Ht, Yp = ft, ue = ut, Is = Zn, Qc = Eo, Ge = wt(), ji = xd, zp = Fn, No = Jf, Xp = So, Ft = hp, Jc = Cp, Qp = wp, Jp = qp, Zc = es(), B = new Yp("RTCSession"), X = {
6357
+ var Wp = _t.EventEmitter, Xc = Ht, Yp = ft, ue = ut, Is = Zn, Qc = Eo, Ge = wt(), ji = xd, zp = Fn, No = Jf, Xp = So, Ft = hp, Jc = Ap, Qp = wp, Jp = qp, Zc = es(), B = new Yp("RTCSession"), X = {
6358
6358
  // RTCSession states.
6359
6359
  STATUS_NULL: 0,
6360
6360
  STATUS_INVITE_SENT: 1,
@@ -6459,8 +6459,8 @@ var Wp = _t.EventEmitter, Xc = Ht, Yp = ft, ue = ut, Is = Zn, Qc = Eo, Ge = wt()
6459
6459
  video: !0
6460
6460
  }), p = a.mediaStream || null, T = Ge.cloneObject(a.pcConfig, {
6461
6461
  iceServers: []
6462
- }), y = a.rtcConstraints || null, C = a.rtcOfferConstraints || null;
6463
- if (this._rtcOfferConstraints = C, this._rtcAnswerConstraints = a.rtcAnswerConstraints || null, this._data = a.data || this._data, i === void 0)
6462
+ }), y = a.rtcConstraints || null, A = a.rtcOfferConstraints || null;
6463
+ if (this._rtcOfferConstraints = A, this._rtcAnswerConstraints = a.rtcAnswerConstraints || null, this._data = a.data || this._data, i === void 0)
6464
6464
  throw new TypeError("Not enough arguments");
6465
6465
  if (this._status !== X.STATUS_NULL)
6466
6466
  throw new Is.InvalidStateError(this._status);
@@ -6478,7 +6478,7 @@ var Wp = _t.EventEmitter, Xc = Ht, Yp = ft, ue = ut, Is = Zn, Qc = Eo, Ge = wt()
6478
6478
  this._contact = this._ua.contact.toString({
6479
6479
  anonymous: R,
6480
6480
  outbound: !0
6481
- }), R ? (b.from_display_name = "Anonymous", b.from_uri = new Zc("sip", "anonymous", "anonymous.invalid"), u.push("P-Preferred-Identity: ".concat(this._ua.configuration.uri.toString())), u.push("Privacy: id")) : a.fromUserName && (b.from_uri = new Zc("sip", a.fromUserName, this._ua.configuration.uri.host), u.push("P-Preferred-Identity: ".concat(this._ua.configuration.uri.toString()))), a.fromDisplayName && (b.from_display_name = a.fromDisplayName), u.push("Contact: ".concat(this._contact)), u.push("Content-Type: application/sdp"), this._sessionTimers.enabled && u.push("Session-Expires: ".concat(this._sessionTimers.defaultExpires).concat(this._ua.configuration.session_timers_force_refresher ? ";refresher=uac" : "")), this._request = new zp.InitialOutgoingInviteRequest(i, this._ua, b, u), this._id = this._request.call_id + this._from_tag, this._createRTCConnection(T, y), this._direction = "outgoing", this._local_identity = this._request.from, this._remote_identity = this._request.to, e && e(this), this._newRTCSession("local", this._request), this._sendInitialRequest(g, C, p);
6481
+ }), R ? (b.from_display_name = "Anonymous", b.from_uri = new Zc("sip", "anonymous", "anonymous.invalid"), u.push("P-Preferred-Identity: ".concat(this._ua.configuration.uri.toString())), u.push("Privacy: id")) : a.fromUserName && (b.from_uri = new Zc("sip", a.fromUserName, this._ua.configuration.uri.host), u.push("P-Preferred-Identity: ".concat(this._ua.configuration.uri.toString()))), a.fromDisplayName && (b.from_display_name = a.fromDisplayName), u.push("Contact: ".concat(this._contact)), u.push("Content-Type: application/sdp"), this._sessionTimers.enabled && u.push("Session-Expires: ".concat(this._sessionTimers.defaultExpires).concat(this._ua.configuration.session_timers_force_refresher ? ";refresher=uac" : "")), this._request = new zp.InitialOutgoingInviteRequest(i, this._ua, b, u), this._id = this._request.call_id + this._from_tag, this._createRTCConnection(T, y), this._direction = "outgoing", this._local_identity = this._request.from, this._remote_identity = this._request.to, e && e(this), this._newRTCSession("local", this._request), this._sendInitialRequest(g, A, p);
6482
6482
  }
6483
6483
  }, {
6484
6484
  key: "init_incoming",
@@ -6510,7 +6510,7 @@ var Wp = _t.EventEmitter, Xc = Ht, Yp = ft, ue = ut, Is = Zn, Qc = Eo, Ge = wt()
6510
6510
  B.debug("answer()");
6511
6511
  var e = this._request, d = Ge.cloneArray(a.extraHeaders), _ = Ge.cloneObject(a.mediaConstraints), u = a.mediaStream || null, g = Ge.cloneObject(a.pcConfig, {
6512
6512
  iceServers: []
6513
- }), p = a.rtcConstraints || null, T = a.rtcAnswerConstraints || null, y = Ge.cloneObject(a.rtcOfferConstraints), C, w = !1, R = !1, b = !1, G = !1;
6513
+ }), p = a.rtcConstraints || null, T = a.rtcAnswerConstraints || null, y = Ge.cloneObject(a.rtcOfferConstraints), A, w = !1, R = !1, b = !1, G = !1;
6514
6514
  if (this._rtcAnswerConstraints = T, this._rtcOfferConstraints = a.rtcOfferConstraints || null, this._data = a.data || this._data, this._direction !== "incoming")
6515
6515
  throw new Is.NotSupportedError('"answer" not supported for outgoing RTCSession');
6516
6516
  if (this._status !== X.STATUS_WAITING_FOR_ANSWER)
@@ -6534,8 +6534,8 @@ var Wp = _t.EventEmitter, Xc = Ht, Yp = ft, ue = ut, Is = Zn, Qc = Eo, Ge = wt()
6534
6534
  ve.f();
6535
6535
  }
6536
6536
  if (u && _.audio === !1) {
6537
- C = u.getAudioTracks();
6538
- var pe = kn(C), Te;
6537
+ A = u.getAudioTracks();
6538
+ var pe = kn(A), Te;
6539
6539
  try {
6540
6540
  for (pe.s(); !(Te = pe.n()).done; ) {
6541
6541
  var N = Te.value;
@@ -6548,8 +6548,8 @@ var Wp = _t.EventEmitter, Xc = Ht, Yp = ft, ue = ut, Is = Zn, Qc = Eo, Ge = wt()
6548
6548
  }
6549
6549
  }
6550
6550
  if (u && _.video === !1) {
6551
- C = u.getVideoTracks();
6552
- var H = kn(C), $;
6551
+ A = u.getVideoTracks();
6552
+ var H = kn(A), $;
6553
6553
  try {
6554
6554
  for (H.s(); !($ = H.n()).done; ) {
6555
6555
  var q = $.value;
@@ -6644,8 +6644,8 @@ var Wp = _t.EventEmitter, Xc = Ht, Yp = ft, ue = ut, Is = Zn, Qc = Eo, Ge = wt()
6644
6644
  if (g && d.push("Reason: SIP ;cause=".concat(g, '; text="').concat(p, '"')), this._status === X.STATUS_WAITING_FOR_ACK && this._direction === "incoming" && this._request.server_transaction.state !== Qc.C.STATUS_TERMINATED) {
6645
6645
  var T = this._dialog;
6646
6646
  this.receiveRequest = function(y) {
6647
- var C = y.method;
6648
- C === ue.ACK && (i.sendRequest(ue.BYE, {
6647
+ var A = y.method;
6648
+ A === ue.ACK && (i.sendRequest(ue.BYE, {
6649
6649
  extraHeaders: d,
6650
6650
  body: _
6651
6651
  }), T.terminate());
@@ -6696,8 +6696,8 @@ var Wp = _t.EventEmitter, Xc = Ht, Yp = ft, ue = ut, Is = Zn, Qc = Eo, Ge = wt()
6696
6696
  this._tones = null;
6697
6697
  return;
6698
6698
  }
6699
- var C = this._tones[e];
6700
- if (e += 1, C === ",")
6699
+ var A = this._tones[e];
6700
+ if (e += 1, A === ",")
6701
6701
  y = 2e3;
6702
6702
  else {
6703
6703
  var w = new Ft(this);
@@ -6705,7 +6705,7 @@ var Wp = _t.EventEmitter, Xc = Ht, Yp = ft, ue = ut, Is = Zn, Qc = Eo, Ge = wt()
6705
6705
  onFailed: function() {
6706
6706
  T._tones = null;
6707
6707
  }
6708
- }, w.send(C, a), y = d + _;
6708
+ }, w.send(A, a), y = d + _;
6709
6709
  }
6710
6710
  setTimeout(p.bind(this), y);
6711
6711
  }
@@ -7092,7 +7092,7 @@ var Wp = _t.EventEmitter, Xc = Ht, Yp = ft, ue = ut, Is = Zn, Qc = Eo, Ge = wt()
7092
7092
  return new Promise(function(g) {
7093
7093
  var p = !1, T, y;
7094
7094
  e._iceReady = !1;
7095
- var C = function() {
7095
+ var A = function() {
7096
7096
  d.removeEventListener("icecandidate", T), d.removeEventListener("icegatheringstatechange", y), p = !0, e._rtcReady = !0, e._iceReady = !0;
7097
7097
  var w = {
7098
7098
  originator: "local",
@@ -7105,10 +7105,10 @@ var Wp = _t.EventEmitter, Xc = Ht, Yp = ft, ue = ut, Is = Zn, Qc = Eo, Ge = wt()
7105
7105
  var R = w.candidate;
7106
7106
  R ? e.emit("icecandidate", {
7107
7107
  candidate: R,
7108
- ready: C
7109
- }) : p || C();
7108
+ ready: A
7109
+ }) : p || A();
7110
7110
  }), d.addEventListener("icegatheringstatechange", y = function() {
7111
- d.iceGatheringState === "complete" && !p && C();
7111
+ d.iceGatheringState === "complete" && !p && A();
7112
7112
  });
7113
7113
  });
7114
7114
  });
@@ -7143,12 +7143,12 @@ var Wp = _t.EventEmitter, Xc = Ht, Yp = ft, ue = ut, Is = Zn, Qc = Eo, Ge = wt()
7143
7143
  function u() {
7144
7144
  var p = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
7145
7145
  _ = !0;
7146
- var T = p.status_code || 403, y = p.reason_phrase || "", C = Ge.cloneArray(p.extraHeaders);
7146
+ var T = p.status_code || 403, y = p.reason_phrase || "", A = Ge.cloneArray(p.extraHeaders);
7147
7147
  if (this._status !== X.STATUS_CONFIRMED)
7148
7148
  return !1;
7149
7149
  if (T < 300 || T >= 700)
7150
7150
  throw new TypeError("Invalid status_code: ".concat(T));
7151
- i.reply(T, y, C);
7151
+ i.reply(T, y, A);
7152
7152
  }
7153
7153
  if (this.emit("reinvite", d), _)
7154
7154
  return;
@@ -7194,12 +7194,12 @@ var Wp = _t.EventEmitter, Xc = Ht, Yp = ft, ue = ut, Is = Zn, Qc = Eo, Ge = wt()
7194
7194
  function u() {
7195
7195
  var p = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
7196
7196
  _ = !0;
7197
- var T = p.status_code || 403, y = p.reason_phrase || "", C = Ge.cloneArray(p.extraHeaders);
7197
+ var T = p.status_code || 403, y = p.reason_phrase || "", A = Ge.cloneArray(p.extraHeaders);
7198
7198
  if (this._status !== X.STATUS_CONFIRMED)
7199
7199
  return !1;
7200
7200
  if (T < 300 || T >= 700)
7201
7201
  throw new TypeError("Invalid status_code: ".concat(T));
7202
- i.reply(T, y, C);
7202
+ i.reply(T, y, A);
7203
7203
  }
7204
7204
  if (this.emit("update", d), _)
7205
7205
  return;
@@ -7240,8 +7240,8 @@ var Wp = _t.EventEmitter, Xc = Ht, Yp = ft, ue = ut, Is = Zn, Qc = Eo, Ge = wt()
7240
7240
  }
7241
7241
  }
7242
7242
  }
7243
- } catch (C) {
7244
- _.e(C);
7243
+ } catch (A) {
7244
+ _.e(A);
7245
7245
  } finally {
7246
7246
  _.f();
7247
7247
  }
@@ -7258,8 +7258,8 @@ var Wp = _t.EventEmitter, Xc = Ht, Yp = ft, ue = ut, Is = Zn, Qc = Eo, Ge = wt()
7258
7258
  return this._connectionPromiseQueue = this._connectionPromiseQueue.then(function() {
7259
7259
  if (a._status === X.STATUS_TERMINATED)
7260
7260
  throw new Error("terminated");
7261
- return a._connection.setRemoteDescription(y).catch(function(C) {
7262
- throw i.reply(488), B.warn('emit "peerconnection:setremotedescriptionfailed" [error:%o]', C), a.emit("peerconnection:setremotedescriptionfailed", C), C;
7261
+ return a._connection.setRemoteDescription(y).catch(function(A) {
7262
+ throw i.reply(488), B.warn('emit "peerconnection:setremotedescriptionfailed" [error:%o]', A), a.emit("peerconnection:setremotedescriptionfailed", A), A;
7263
7263
  });
7264
7264
  }).then(function() {
7265
7265
  if (a._status === X.STATUS_TERMINATED)
@@ -7268,11 +7268,11 @@ var Wp = _t.EventEmitter, Xc = Ht, Yp = ft, ue = ut, Is = Zn, Qc = Eo, Ge = wt()
7268
7268
  }).then(function() {
7269
7269
  if (a._status === X.STATUS_TERMINATED)
7270
7270
  throw new Error("terminated");
7271
- return a._createLocalDescription("answer", a._rtcAnswerConstraints).catch(function(C) {
7272
- throw i.reply(500), B.warn('emit "peerconnection:createtelocaldescriptionfailed" [error:%o]', C), C;
7271
+ return a._createLocalDescription("answer", a._rtcAnswerConstraints).catch(function(A) {
7272
+ throw i.reply(500), B.warn('emit "peerconnection:createtelocaldescriptionfailed" [error:%o]', A), A;
7273
7273
  });
7274
- }).catch(function(C) {
7275
- B.warn("_processInDialogSdpOffer() failed [error: %o]", C);
7274
+ }).catch(function(A) {
7275
+ B.warn("_processInDialogSdpOffer() failed [error: %o]", A);
7276
7276
  }), this._connectionPromiseQueue;
7277
7277
  }
7278
7278
  /**
@@ -7307,14 +7307,14 @@ var Wp = _t.EventEmitter, Xc = Ht, Yp = ft, ue = ut, Is = Zn, Qc = Eo, Ge = wt()
7307
7307
  return !1;
7308
7308
  var p = new n(this._ua);
7309
7309
  if (p.on("progress", function(y) {
7310
- var C = y.response;
7311
- e.notify(C.status_code, C.reason_phrase);
7310
+ var A = y.response;
7311
+ e.notify(A.status_code, A.reason_phrase);
7312
7312
  }), p.on("accepted", function(y) {
7313
- var C = y.response;
7314
- e.notify(C.status_code, C.reason_phrase);
7313
+ var A = y.response;
7314
+ e.notify(A.status_code, A.reason_phrase);
7315
7315
  }), p.on("_failed", function(y) {
7316
- var C = y.message, w = y.cause;
7317
- C ? e.notify(C.status_code, C.reason_phrase) : e.notify(487, w);
7316
+ var A = y.message, w = y.cause;
7317
+ A ? e.notify(A.status_code, A.reason_phrase) : e.notify(487, w);
7318
7318
  }), i.refer_to.uri.hasHeader("replaces")) {
7319
7319
  var T = decodeURIComponent(i.refer_to.uri.getHeader("replaces"));
7320
7320
  g.extraHeaders = Ge.cloneArray(g.extraHeaders), g.extraHeaders.push("Replaces: ".concat(T));
@@ -7564,11 +7564,11 @@ var Wp = _t.EventEmitter, Xc = Ht, Yp = ft, ue = ut, Is = Zn, Qc = Eo, Ge = wt()
7564
7564
  extraHeaders: e,
7565
7565
  body: T,
7566
7566
  eventHandlers: {
7567
- onSuccessResponse: function(C) {
7568
- g.call(i, C), u = !0;
7567
+ onSuccessResponse: function(A) {
7568
+ g.call(i, A), u = !0;
7569
7569
  },
7570
- onErrorResponse: function(C) {
7571
- p.call(i, C);
7570
+ onErrorResponse: function(A) {
7571
+ p.call(i, A);
7572
7572
  },
7573
7573
  onTransportError: function() {
7574
7574
  i.onTransportError();
@@ -7596,15 +7596,15 @@ var Wp = _t.EventEmitter, Xc = Ht, Yp = ft, ue = ut, Is = Zn, Qc = Eo, Ge = wt()
7596
7596
  p.call(this);
7597
7597
  return;
7598
7598
  }
7599
- var C = {
7599
+ var A = {
7600
7600
  originator: "remote",
7601
7601
  type: "answer",
7602
7602
  sdp: T.body
7603
7603
  };
7604
- B.debug('emit "sdp"'), this.emit("sdp", C);
7604
+ B.debug('emit "sdp"'), this.emit("sdp", A);
7605
7605
  var w = new RTCSessionDescription({
7606
7606
  type: "answer",
7607
- sdp: C.sdp
7607
+ sdp: A.sdp
7608
7608
  });
7609
7609
  this._connectionPromiseQueue = this._connectionPromiseQueue.then(function() {
7610
7610
  return y._connection.setRemoteDescription(w);
@@ -7632,12 +7632,12 @@ var Wp = _t.EventEmitter, Xc = Ht, Yp = ft, ue = ut, Is = Zn, Qc = Eo, Ge = wt()
7632
7632
  return i._createLocalDescription("offer", _);
7633
7633
  }).then(function(y) {
7634
7634
  y = i._mangleOffer(y);
7635
- var C = {
7635
+ var A = {
7636
7636
  originator: "local",
7637
7637
  type: "offer",
7638
7638
  sdp: y
7639
7639
  };
7640
- B.debug('emit "sdp"'), i.emit("sdp", C), i.sendRequest(ue.UPDATE, {
7640
+ B.debug('emit "sdp"'), i.emit("sdp", A), i.sendRequest(ue.UPDATE, {
7641
7641
  extraHeaders: e,
7642
7642
  body: y,
7643
7643
  eventHandlers: {
@@ -7681,7 +7681,7 @@ var Wp = _t.EventEmitter, Xc = Ht, Yp = ft, ue = ut, Is = Zn, Qc = Eo, Ge = wt()
7681
7681
  }
7682
7682
  });
7683
7683
  function p(y) {
7684
- var C = this;
7684
+ var A = this;
7685
7685
  if (this._status !== X.STATUS_TERMINATED && !g)
7686
7686
  if (this._handleSessionTimersInIncomingResponse(y), u) {
7687
7687
  if (y.body) {
@@ -7704,11 +7704,11 @@ var Wp = _t.EventEmitter, Xc = Ht, Yp = ft, ue = ut, Is = Zn, Qc = Eo, Ge = wt()
7704
7704
  sdp: w.sdp
7705
7705
  });
7706
7706
  this._connectionPromiseQueue = this._connectionPromiseQueue.then(function() {
7707
- return C._connection.setRemoteDescription(R);
7707
+ return A._connection.setRemoteDescription(R);
7708
7708
  }).then(function() {
7709
7709
  d.succeeded && d.succeeded(y);
7710
7710
  }).catch(function(b) {
7711
- T.call(C), B.warn('emit "peerconnection:setremotedescriptionfailed" [error:%o]', b), C.emit("peerconnection:setremotedescriptionfailed", b);
7711
+ T.call(A), B.warn('emit "peerconnection:setremotedescriptionfailed" [error:%o]', b), A.emit("peerconnection:setremotedescriptionfailed", b);
7712
7712
  });
7713
7713
  } else
7714
7714
  d.succeeded && d.succeeded(y);
@@ -7742,8 +7742,8 @@ var Wp = _t.EventEmitter, Xc = Ht, Yp = ft, ue = ut, Is = Zn, Qc = Eo, Ge = wt()
7742
7742
  var d = e.value;
7743
7743
  Do.indexOf(d.type) !== -1 && (d.direction ? d.direction === "sendrecv" ? d.direction = "sendonly" : d.direction === "recvonly" && (d.direction = "inactive") : d.direction = "sendonly");
7744
7744
  }
7745
- } catch (C) {
7746
- a.e(C);
7745
+ } catch (A) {
7746
+ a.e(A);
7747
7747
  } finally {
7748
7748
  a.f();
7749
7749
  }
@@ -7755,8 +7755,8 @@ var Wp = _t.EventEmitter, Xc = Ht, Yp = ft, ue = ut, Is = Zn, Qc = Eo, Ge = wt()
7755
7755
  var g = u.value;
7756
7756
  Do.indexOf(g.type) !== -1 && (g.direction = "inactive");
7757
7757
  }
7758
- } catch (C) {
7759
- _.e(C);
7758
+ } catch (A) {
7759
+ _.e(A);
7760
7760
  } finally {
7761
7761
  _.f();
7762
7762
  }
@@ -7768,8 +7768,8 @@ var Wp = _t.EventEmitter, Xc = Ht, Yp = ft, ue = ut, Is = Zn, Qc = Eo, Ge = wt()
7768
7768
  var y = T.value;
7769
7769
  Do.indexOf(y.type) !== -1 && (y.direction ? y.direction === "sendrecv" ? y.direction = "recvonly" : y.direction === "recvonly" && (y.direction = "inactive") : y.direction = "recvonly");
7770
7770
  }
7771
- } catch (C) {
7772
- p.e(C);
7771
+ } catch (A) {
7772
+ p.e(A);
7773
7773
  } finally {
7774
7774
  p.f();
7775
7775
  }
@@ -8049,9 +8049,9 @@ function bu(l, s) {
8049
8049
  function sm(l) {
8050
8050
  var s = om();
8051
8051
  return function() {
8052
- var n = Al(l), i;
8052
+ var n = Cl(l), i;
8053
8053
  if (s) {
8054
- var a = Al(this).constructor;
8054
+ var a = Cl(this).constructor;
8055
8055
  i = Reflect.construct(n, arguments, a);
8056
8056
  } else
8057
8057
  i = n.apply(this, arguments);
@@ -8078,10 +8078,10 @@ function om() {
8078
8078
  return !1;
8079
8079
  }
8080
8080
  }
8081
- function Al(l) {
8082
- return Al = Object.setPrototypeOf ? Object.getPrototypeOf : function(s) {
8081
+ function Cl(l) {
8082
+ return Cl = Object.setPrototypeOf ? Object.getPrototypeOf : function(s) {
8083
8083
  return s.__proto__ || Object.getPrototypeOf(s);
8084
- }, Al(l);
8084
+ }, Cl(l);
8085
8085
  }
8086
8086
  var lm = _t.EventEmitter, am = ft, xa = ut, um = Fn, $i = wt(), cm = So, th = Zn, hm = es(), ko = new am("Message"), dm = /* @__PURE__ */ function(l) {
8087
8087
  nm(n, l);
@@ -8103,7 +8103,7 @@ var lm = _t.EventEmitter, am = ft, xa = ut, um = Fn, $i = wt(), cm = So, th = Zn
8103
8103
  for (var y in g)
8104
8104
  Object.prototype.hasOwnProperty.call(g, y) && this.on(y, g[y]);
8105
8105
  u.push("Content-Type: ".concat(p)), this._request = new um.OutgoingRequest(xa.MESSAGE, i, this._ua, T, u), a && (this._request.body = a);
8106
- var C = new cm(this._ua, this._request, {
8106
+ var A = new cm(this._ua, this._request, {
8107
8107
  onRequestTimeout: function() {
8108
8108
  e._onRequestTimeout();
8109
8109
  },
@@ -8114,7 +8114,7 @@ var lm = _t.EventEmitter, am = ft, xa = ut, um = Fn, $i = wt(), cm = So, th = Zn
8114
8114
  e._receiveResponse(w);
8115
8115
  }
8116
8116
  });
8117
- this._newMessage("local", this._request), C.send();
8117
+ this._newMessage("local", this._request), A.send();
8118
8118
  }
8119
8119
  }, {
8120
8120
  key: "init_incoming",
@@ -8297,7 +8297,7 @@ function bl(l) {
8297
8297
  return s.__proto__ || Object.getPrototypeOf(s);
8298
8298
  }, bl(l);
8299
8299
  }
8300
- var ym = _t.EventEmitter, Em = ft, Pa = ut, Sm = Fn, Vi = wt(), Cm = So, sh = Zn, Uo = new Em("Options"), Am = /* @__PURE__ */ function(l) {
8300
+ var ym = _t.EventEmitter, Em = ft, Pa = ut, Sm = Fn, Vi = wt(), Am = So, sh = Zn, Uo = new Em("Options"), Cm = /* @__PURE__ */ function(l) {
8301
8301
  pm(n, l);
8302
8302
  var s = mm(n);
8303
8303
  function n(i) {
@@ -8316,15 +8316,15 @@ var ym = _t.EventEmitter, Em = ft, Pa = ut, Sm = Fn, Vi = wt(), Cm = So, sh = Zn
8316
8316
  for (var T in g)
8317
8317
  Object.prototype.hasOwnProperty.call(g, T) && this.on(T, g[T]);
8318
8318
  u.push("Content-Type: ".concat(p)), this._request = new Sm.OutgoingRequest(Pa.OPTIONS, i, this._ua, null, u), a && (this._request.body = a);
8319
- var y = new Cm(this._ua, this._request, {
8319
+ var y = new Am(this._ua, this._request, {
8320
8320
  onRequestTimeout: function() {
8321
8321
  e._onRequestTimeout();
8322
8322
  },
8323
8323
  onTransportError: function() {
8324
8324
  e._onTransportError();
8325
8325
  },
8326
- onReceiveResponse: function(C) {
8327
- e._receiveResponse(C);
8326
+ onReceiveResponse: function(A) {
8327
+ e._receiveResponse(A);
8328
8328
  }
8329
8329
  });
8330
8330
  this._newOptions("local", this._request), y.send();
@@ -8805,8 +8805,8 @@ function xm(l, s, n, i) {
8805
8805
  var T = oh(a), y;
8806
8806
  try {
8807
8807
  for (T.s(); !(y = T.n()).done; ) {
8808
- var C = y.value;
8809
- l.addHeader("contact", _.substring(C.possition, C.offset)), l.headers.Contact[l.getHeaders("contact").length - 1].parsed = C.parsed;
8808
+ var A = y.value;
8809
+ l.addHeader("contact", _.substring(A.possition, A.offset)), l.headers.Contact[l.getHeaders("contact").length - 1].parsed = A.parsed;
8810
8810
  }
8811
8811
  } catch (w) {
8812
8812
  T.e(w);
@@ -9338,7 +9338,7 @@ function Rl(l) {
9338
9338
  return s.__proto__ || Object.getPrototypeOf(s);
9339
9339
  }, Rl(l);
9340
9340
  }
9341
- var tg = _t.EventEmitter, ng = ft, mt = ut, sg = Bf, ph = Zp, mh = dm, gh = Am, ja = Eo, rg = Dm, Po = wt(), ig = Zn, og = es(), lg = Ld, $a = Fn, ag = jm, Va = ec, $e = new ng("UA"), vt = {
9341
+ var tg = _t.EventEmitter, ng = ft, mt = ut, sg = Bf, ph = Zp, mh = dm, gh = Cm, ja = Eo, rg = Dm, Po = wt(), ig = Zn, og = es(), lg = Ld, $a = Fn, ag = jm, Va = ec, $e = new ng("UA"), vt = {
9342
9342
  // UA status codes.
9343
9343
  STATUS_INIT: 0,
9344
9344
  STATUS_READY: 1,
@@ -10014,15 +10014,15 @@ var mg = ft, gg = fn(), kt = new mg("WebSocketInterface"), Tg = /* @__PURE__ */
10014
10014
  return this._url;
10015
10015
  }
10016
10016
  }]), l;
10017
- }(), Nu = Ol, vg = ut, yg = Zn, Eg = wt(), Sg = ug, Cg = es(), Ag = Gu(), bg = fn(), Rg = Tg, Ig = zs("JsSIP");
10017
+ }(), Nu = Ol, vg = ut, yg = Zn, Eg = wt(), Sg = ug, Ag = es(), Cg = Gu(), bg = fn(), Rg = Tg, Ig = zs("JsSIP");
10018
10018
  Ig("version %s", Nu.version);
10019
10019
  var vh = {
10020
10020
  C: vg,
10021
10021
  Exceptions: yg,
10022
10022
  Utils: Eg,
10023
10023
  UA: Sg,
10024
- URI: Cg,
10025
- NameAddrHeader: Ag,
10024
+ URI: Ag,
10025
+ NameAddrHeader: Cg,
10026
10026
  WebSocketInterface: Rg,
10027
10027
  Grammar: bg,
10028
10028
  // Expose the debug module.
@@ -10291,9 +10291,9 @@ function tc() {
10291
10291
  }
10292
10292
  }, Ba;
10293
10293
  }
10294
- var Sh, Ch;
10294
+ var Sh, Ah;
10295
10295
  function ln() {
10296
- return Ch || (Ch = 1, Sh = function() {
10296
+ return Ah || (Ah = 1, Sh = function() {
10297
10297
  function l(n) {
10298
10298
  return '"' + n.replace(/\\/g, "\\\\").replace(/"/g, '\\"').replace(/\x08/g, "\\b").replace(/\t/g, "\\t").replace(/\n/g, "\\n").replace(/\f/g, "\\f").replace(/\r/g, "\\r").replace(/[\x00-\x07\x0B\x0E-\x1F\x80-\uFFFF]/g, escape) + '"';
10299
10299
  }
@@ -10310,7 +10310,7 @@ function ln() {
10310
10310
  DIGIT: p,
10311
10311
  ALPHA: T,
10312
10312
  HEXDIG: y,
10313
- WSP: C,
10313
+ WSP: A,
10314
10314
  OCTET: w,
10315
10315
  DQUOTE: R,
10316
10316
  SP: b,
@@ -10404,8 +10404,8 @@ function ln() {
10404
10404
  param: as,
10405
10405
  pchar: Jt,
10406
10406
  scheme: Sr,
10407
- authority: Cr,
10408
- srvr: Ar,
10407
+ authority: Ar,
10408
+ srvr: Cr,
10409
10409
  reg_name: br,
10410
10410
  query: Rr,
10411
10411
  SIP_Version: us,
@@ -10467,11 +10467,11 @@ function ln() {
10467
10467
  challenge: ps,
10468
10468
  other_challenge: ei,
10469
10469
  auth_param: en,
10470
- digest_cln: Cn,
10470
+ digest_cln: An,
10471
10471
  realm: ti,
10472
10472
  realm_value: ni,
10473
10473
  domain: si,
10474
- URI: An,
10474
+ URI: Cn,
10475
10475
  nonce: ri,
10476
10476
  nonce_value: ii,
10477
10477
  opaque: oi,
@@ -10509,8 +10509,8 @@ function ln() {
10509
10509
  protocol_name: yi,
10510
10510
  transport: Ei,
10511
10511
  sent_by: Si,
10512
- via_host: Ci,
10513
- via_port: Ai,
10512
+ via_host: Ai,
10513
+ via_port: Ci,
10514
10514
  ttl: ys,
10515
10515
  WWW_Authenticate: ca,
10516
10516
  Session_Expires: ha,
@@ -10560,7 +10560,7 @@ function ln() {
10560
10560
  var t;
10561
10561
  return /^[0-9a-fA-F]/.test(n.charAt(e)) ? (t = n.charAt(e), e++) : (t = null, u("[0-9a-fA-F]")), t;
10562
10562
  }
10563
- function C() {
10563
+ function A() {
10564
10564
  var t;
10565
10565
  return t = b(), t === null && (t = G()), t;
10566
10566
  }
@@ -10604,12 +10604,12 @@ function ln() {
10604
10604
  }
10605
10605
  function Te() {
10606
10606
  var t, r, o, c, h, f;
10607
- for (c = e, h = e, f = e, t = [], r = C(); r !== null; )
10608
- t.push(r), r = C();
10607
+ for (c = e, h = e, f = e, t = [], r = A(); r !== null; )
10608
+ t.push(r), r = A();
10609
10609
  if (t !== null ? (r = g(), r !== null ? t = [t, r] : (t = null, e = f)) : (t = null, e = f), t = t !== null ? t : "", t !== null) {
10610
- if (o = C(), o !== null)
10610
+ if (o = A(), o !== null)
10611
10611
  for (r = []; o !== null; )
10612
- r.push(o), o = C();
10612
+ r.push(o), o = A();
10613
10613
  else
10614
10614
  r = null;
10615
10615
  r !== null ? t = [t, r] : (t = null, e = h);
@@ -10843,7 +10843,7 @@ function ln() {
10843
10843
  }
10844
10844
  function Ne() {
10845
10845
  var t, r, o, c, h, f, m, E;
10846
- return m = e, E = e, t = je(), t !== null ? (n.charCodeAt(e) === 58 ? (r = ":", e++) : (r = null, u('":"')), r !== null ? (o = Mt(), o = o !== null ? o : "", o !== null ? (c = pn(), c !== null ? (h = tr(), h !== null ? (f = dr(), f = f !== null ? f : "", f !== null ? t = [t, r, o, c, h, f] : (t = null, e = E)) : (t = null, e = E)) : (t = null, e = E)) : (t = null, e = E)) : (t = null, e = E)) : (t = null, e = E), t !== null && (t = function(A) {
10846
+ return m = e, E = e, t = je(), t !== null ? (n.charCodeAt(e) === 58 ? (r = ":", e++) : (r = null, u('":"')), r !== null ? (o = Mt(), o = o !== null ? o : "", o !== null ? (c = pn(), c !== null ? (h = tr(), h !== null ? (f = dr(), f = f !== null ? f : "", f !== null ? t = [t, r, o, c, h, f] : (t = null, e = E)) : (t = null, e = E)) : (t = null, e = E)) : (t = null, e = E)) : (t = null, e = E)) : (t = null, e = E), t !== null && (t = function(C) {
10847
10847
  try {
10848
10848
  v.uri = new xi(v.scheme, v.user, v.host, v.port, v.uri_params, v.uri_headers), delete v.scheme, delete v.user, delete v.host, delete v.host_type, delete v.port, delete v.uri_params, i === "SIP_URI" && (v = v.uri);
10849
10849
  } catch (Y) {
@@ -10939,10 +10939,10 @@ function ln() {
10939
10939
  }(c)), t === null && (e = c), t;
10940
10940
  }
10941
10941
  function is() {
10942
- var t, r, o, c, h, f, m, E, A, Y, Ae, tt, On, As, S, L;
10943
- return As = e, S = e, t = x(), t !== null ? (n.charCodeAt(e) === 58 ? (r = ":", e++) : (r = null, u('":"')), r !== null ? (o = x(), o !== null ? (n.charCodeAt(e) === 58 ? (c = ":", e++) : (c = null, u('":"')), c !== null ? (h = x(), h !== null ? (n.charCodeAt(e) === 58 ? (f = ":", e++) : (f = null, u('":"')), f !== null ? (m = x(), m !== null ? (n.charCodeAt(e) === 58 ? (E = ":", e++) : (E = null, u('":"')), E !== null ? (A = x(), A !== null ? (n.charCodeAt(e) === 58 ? (Y = ":", e++) : (Y = null, u('":"')), Y !== null ? (Ae = x(), Ae !== null ? (n.charCodeAt(e) === 58 ? (tt = ":", e++) : (tt = null, u('":"')), tt !== null ? (On = Le(), On !== null ? t = [t, r, o, c, h, f, m, E, A, Y, Ae, tt, On] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, n.substr(e, 2) === "::" ? (t = "::", e += 2) : (t = null, u('"::"')), t !== null ? (r = x(), r !== null ? (n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = x(), c !== null ? (n.charCodeAt(e) === 58 ? (h = ":", e++) : (h = null, u('":"')), h !== null ? (f = x(), f !== null ? (n.charCodeAt(e) === 58 ? (m = ":", e++) : (m = null, u('":"')), m !== null ? (E = x(), E !== null ? (n.charCodeAt(e) === 58 ? (A = ":", e++) : (A = null, u('":"')), A !== null ? (Y = x(), Y !== null ? (n.charCodeAt(e) === 58 ? (Ae = ":", e++) : (Ae = null, u('":"')), Ae !== null ? (tt = Le(), tt !== null ? t = [t, r, o, c, h, f, m, E, A, Y, Ae, tt] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, n.substr(e, 2) === "::" ? (t = "::", e += 2) : (t = null, u('"::"')), t !== null ? (r = x(), r !== null ? (n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = x(), c !== null ? (n.charCodeAt(e) === 58 ? (h = ":", e++) : (h = null, u('":"')), h !== null ? (f = x(), f !== null ? (n.charCodeAt(e) === 58 ? (m = ":", e++) : (m = null, u('":"')), m !== null ? (E = x(), E !== null ? (n.charCodeAt(e) === 58 ? (A = ":", e++) : (A = null, u('":"')), A !== null ? (Y = Le(), Y !== null ? t = [t, r, o, c, h, f, m, E, A, Y] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, n.substr(e, 2) === "::" ? (t = "::", e += 2) : (t = null, u('"::"')), t !== null ? (r = x(), r !== null ? (n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = x(), c !== null ? (n.charCodeAt(e) === 58 ? (h = ":", e++) : (h = null, u('":"')), h !== null ? (f = x(), f !== null ? (n.charCodeAt(e) === 58 ? (m = ":", e++) : (m = null, u('":"')), m !== null ? (E = Le(), E !== null ? t = [t, r, o, c, h, f, m, E] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, n.substr(e, 2) === "::" ? (t = "::", e += 2) : (t = null, u('"::"')), t !== null ? (r = x(), r !== null ? (n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = x(), c !== null ? (n.charCodeAt(e) === 58 ? (h = ":", e++) : (h = null, u('":"')), h !== null ? (f = Le(), f !== null ? t = [t, r, o, c, h, f] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, n.substr(e, 2) === "::" ? (t = "::", e += 2) : (t = null, u('"::"')), t !== null ? (r = x(), r !== null ? (n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = Le(), c !== null ? t = [t, r, o, c] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, n.substr(e, 2) === "::" ? (t = "::", e += 2) : (t = null, u('"::"')), t !== null ? (r = Le(), r !== null ? t = [t, r] : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, n.substr(e, 2) === "::" ? (t = "::", e += 2) : (t = null, u('"::"')), t !== null ? (r = x(), r !== null ? t = [t, r] : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, t = x(), t !== null ? (n.substr(e, 2) === "::" ? (r = "::", e += 2) : (r = null, u('"::"')), r !== null ? (o = x(), o !== null ? (n.charCodeAt(e) === 58 ? (c = ":", e++) : (c = null, u('":"')), c !== null ? (h = x(), h !== null ? (n.charCodeAt(e) === 58 ? (f = ":", e++) : (f = null, u('":"')), f !== null ? (m = x(), m !== null ? (n.charCodeAt(e) === 58 ? (E = ":", e++) : (E = null, u('":"')), E !== null ? (A = x(), A !== null ? (n.charCodeAt(e) === 58 ? (Y = ":", e++) : (Y = null, u('":"')), Y !== null ? (Ae = Le(), Ae !== null ? t = [t, r, o, c, h, f, m, E, A, Y, Ae] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, t = x(), t !== null ? (L = e, n.charCodeAt(e) === 58 ? (r = ":", e++) : (r = null, u('":"')), r !== null ? (o = x(), o !== null ? r = [r, o] : (r = null, e = L)) : (r = null, e = L), r = r !== null ? r : "", r !== null ? (n.substr(e, 2) === "::" ? (o = "::", e += 2) : (o = null, u('"::"')), o !== null ? (c = x(), c !== null ? (n.charCodeAt(e) === 58 ? (h = ":", e++) : (h = null, u('":"')), h !== null ? (f = x(), f !== null ? (n.charCodeAt(e) === 58 ? (m = ":", e++) : (m = null, u('":"')), m !== null ? (E = x(), E !== null ? (n.charCodeAt(e) === 58 ? (A = ":", e++) : (A = null, u('":"')), A !== null ? (Y = Le(), Y !== null ? t = [t, r, o, c, h, f, m, E, A, Y] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, t = x(), t !== null ? (L = e, n.charCodeAt(e) === 58 ? (r = ":", e++) : (r = null, u('":"')), r !== null ? (o = x(), o !== null ? r = [r, o] : (r = null, e = L)) : (r = null, e = L), r = r !== null ? r : "", r !== null ? (L = e, n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = x(), c !== null ? o = [o, c] : (o = null, e = L)) : (o = null, e = L), o = o !== null ? o : "", o !== null ? (n.substr(e, 2) === "::" ? (c = "::", e += 2) : (c = null, u('"::"')), c !== null ? (h = x(), h !== null ? (n.charCodeAt(e) === 58 ? (f = ":", e++) : (f = null, u('":"')), f !== null ? (m = x(), m !== null ? (n.charCodeAt(e) === 58 ? (E = ":", e++) : (E = null, u('":"')), E !== null ? (A = Le(), A !== null ? t = [t, r, o, c, h, f, m, E, A] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, t = x(), t !== null ? (L = e, n.charCodeAt(e) === 58 ? (r = ":", e++) : (r = null, u('":"')), r !== null ? (o = x(), o !== null ? r = [r, o] : (r = null, e = L)) : (r = null, e = L), r = r !== null ? r : "", r !== null ? (L = e, n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = x(), c !== null ? o = [o, c] : (o = null, e = L)) : (o = null, e = L), o = o !== null ? o : "", o !== null ? (L = e, n.charCodeAt(e) === 58 ? (c = ":", e++) : (c = null, u('":"')), c !== null ? (h = x(), h !== null ? c = [c, h] : (c = null, e = L)) : (c = null, e = L), c = c !== null ? c : "", c !== null ? (n.substr(e, 2) === "::" ? (h = "::", e += 2) : (h = null, u('"::"')), h !== null ? (f = x(), f !== null ? (n.charCodeAt(e) === 58 ? (m = ":", e++) : (m = null, u('":"')), m !== null ? (E = Le(), E !== null ? t = [t, r, o, c, h, f, m, E] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, t = x(), t !== null ? (L = e, n.charCodeAt(e) === 58 ? (r = ":", e++) : (r = null, u('":"')), r !== null ? (o = x(), o !== null ? r = [r, o] : (r = null, e = L)) : (r = null, e = L), r = r !== null ? r : "", r !== null ? (L = e, n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = x(), c !== null ? o = [o, c] : (o = null, e = L)) : (o = null, e = L), o = o !== null ? o : "", o !== null ? (L = e, n.charCodeAt(e) === 58 ? (c = ":", e++) : (c = null, u('":"')), c !== null ? (h = x(), h !== null ? c = [c, h] : (c = null, e = L)) : (c = null, e = L), c = c !== null ? c : "", c !== null ? (L = e, n.charCodeAt(e) === 58 ? (h = ":", e++) : (h = null, u('":"')), h !== null ? (f = x(), f !== null ? h = [h, f] : (h = null, e = L)) : (h = null, e = L), h = h !== null ? h : "", h !== null ? (n.substr(e, 2) === "::" ? (f = "::", e += 2) : (f = null, u('"::"')), f !== null ? (m = Le(), m !== null ? t = [t, r, o, c, h, f, m] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, t = x(), t !== null ? (L = e, n.charCodeAt(e) === 58 ? (r = ":", e++) : (r = null, u('":"')), r !== null ? (o = x(), o !== null ? r = [r, o] : (r = null, e = L)) : (r = null, e = L), r = r !== null ? r : "", r !== null ? (L = e, n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = x(), c !== null ? o = [o, c] : (o = null, e = L)) : (o = null, e = L), o = o !== null ? o : "", o !== null ? (L = e, n.charCodeAt(e) === 58 ? (c = ":", e++) : (c = null, u('":"')), c !== null ? (h = x(), h !== null ? c = [c, h] : (c = null, e = L)) : (c = null, e = L), c = c !== null ? c : "", c !== null ? (L = e, n.charCodeAt(e) === 58 ? (h = ":", e++) : (h = null, u('":"')), h !== null ? (f = x(), f !== null ? h = [h, f] : (h = null, e = L)) : (h = null, e = L), h = h !== null ? h : "", h !== null ? (L = e, n.charCodeAt(e) === 58 ? (f = ":", e++) : (f = null, u('":"')), f !== null ? (m = x(), m !== null ? f = [f, m] : (f = null, e = L)) : (f = null, e = L), f = f !== null ? f : "", f !== null ? (n.substr(e, 2) === "::" ? (m = "::", e += 2) : (m = null, u('"::"')), m !== null ? (E = x(), E !== null ? t = [t, r, o, c, h, f, m, E] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, t = x(), t !== null ? (L = e, n.charCodeAt(e) === 58 ? (r = ":", e++) : (r = null, u('":"')), r !== null ? (o = x(), o !== null ? r = [r, o] : (r = null, e = L)) : (r = null, e = L), r = r !== null ? r : "", r !== null ? (L = e, n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = x(), c !== null ? o = [o, c] : (o = null, e = L)) : (o = null, e = L), o = o !== null ? o : "", o !== null ? (L = e, n.charCodeAt(e) === 58 ? (c = ":", e++) : (c = null, u('":"')), c !== null ? (h = x(), h !== null ? c = [c, h] : (c = null, e = L)) : (c = null, e = L), c = c !== null ? c : "", c !== null ? (L = e, n.charCodeAt(e) === 58 ? (h = ":", e++) : (h = null, u('":"')), h !== null ? (f = x(), f !== null ? h = [h, f] : (h = null, e = L)) : (h = null, e = L), h = h !== null ? h : "", h !== null ? (L = e, n.charCodeAt(e) === 58 ? (f = ":", e++) : (f = null, u('":"')), f !== null ? (m = x(), m !== null ? f = [f, m] : (f = null, e = L)) : (f = null, e = L), f = f !== null ? f : "", f !== null ? (L = e, n.charCodeAt(e) === 58 ? (m = ":", e++) : (m = null, u('":"')), m !== null ? (E = x(), E !== null ? m = [m, E] : (m = null, e = L)) : (m = null, e = L), m = m !== null ? m : "", m !== null ? (n.substr(e, 2) === "::" ? (E = "::", e += 2) : (E = null, u('"::"')), E !== null ? t = [t, r, o, c, h, f, m, E] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S))))))))))))))), t !== null && (t = function(Ea) {
10942
+ var t, r, o, c, h, f, m, E, C, Y, Ce, tt, On, Cs, S, L;
10943
+ return Cs = e, S = e, t = x(), t !== null ? (n.charCodeAt(e) === 58 ? (r = ":", e++) : (r = null, u('":"')), r !== null ? (o = x(), o !== null ? (n.charCodeAt(e) === 58 ? (c = ":", e++) : (c = null, u('":"')), c !== null ? (h = x(), h !== null ? (n.charCodeAt(e) === 58 ? (f = ":", e++) : (f = null, u('":"')), f !== null ? (m = x(), m !== null ? (n.charCodeAt(e) === 58 ? (E = ":", e++) : (E = null, u('":"')), E !== null ? (C = x(), C !== null ? (n.charCodeAt(e) === 58 ? (Y = ":", e++) : (Y = null, u('":"')), Y !== null ? (Ce = x(), Ce !== null ? (n.charCodeAt(e) === 58 ? (tt = ":", e++) : (tt = null, u('":"')), tt !== null ? (On = Le(), On !== null ? t = [t, r, o, c, h, f, m, E, C, Y, Ce, tt, On] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, n.substr(e, 2) === "::" ? (t = "::", e += 2) : (t = null, u('"::"')), t !== null ? (r = x(), r !== null ? (n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = x(), c !== null ? (n.charCodeAt(e) === 58 ? (h = ":", e++) : (h = null, u('":"')), h !== null ? (f = x(), f !== null ? (n.charCodeAt(e) === 58 ? (m = ":", e++) : (m = null, u('":"')), m !== null ? (E = x(), E !== null ? (n.charCodeAt(e) === 58 ? (C = ":", e++) : (C = null, u('":"')), C !== null ? (Y = x(), Y !== null ? (n.charCodeAt(e) === 58 ? (Ce = ":", e++) : (Ce = null, u('":"')), Ce !== null ? (tt = Le(), tt !== null ? t = [t, r, o, c, h, f, m, E, C, Y, Ce, tt] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, n.substr(e, 2) === "::" ? (t = "::", e += 2) : (t = null, u('"::"')), t !== null ? (r = x(), r !== null ? (n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = x(), c !== null ? (n.charCodeAt(e) === 58 ? (h = ":", e++) : (h = null, u('":"')), h !== null ? (f = x(), f !== null ? (n.charCodeAt(e) === 58 ? (m = ":", e++) : (m = null, u('":"')), m !== null ? (E = x(), E !== null ? (n.charCodeAt(e) === 58 ? (C = ":", e++) : (C = null, u('":"')), C !== null ? (Y = Le(), Y !== null ? t = [t, r, o, c, h, f, m, E, C, Y] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, n.substr(e, 2) === "::" ? (t = "::", e += 2) : (t = null, u('"::"')), t !== null ? (r = x(), r !== null ? (n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = x(), c !== null ? (n.charCodeAt(e) === 58 ? (h = ":", e++) : (h = null, u('":"')), h !== null ? (f = x(), f !== null ? (n.charCodeAt(e) === 58 ? (m = ":", e++) : (m = null, u('":"')), m !== null ? (E = Le(), E !== null ? t = [t, r, o, c, h, f, m, E] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, n.substr(e, 2) === "::" ? (t = "::", e += 2) : (t = null, u('"::"')), t !== null ? (r = x(), r !== null ? (n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = x(), c !== null ? (n.charCodeAt(e) === 58 ? (h = ":", e++) : (h = null, u('":"')), h !== null ? (f = Le(), f !== null ? t = [t, r, o, c, h, f] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, n.substr(e, 2) === "::" ? (t = "::", e += 2) : (t = null, u('"::"')), t !== null ? (r = x(), r !== null ? (n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = Le(), c !== null ? t = [t, r, o, c] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, n.substr(e, 2) === "::" ? (t = "::", e += 2) : (t = null, u('"::"')), t !== null ? (r = Le(), r !== null ? t = [t, r] : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, n.substr(e, 2) === "::" ? (t = "::", e += 2) : (t = null, u('"::"')), t !== null ? (r = x(), r !== null ? t = [t, r] : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, t = x(), t !== null ? (n.substr(e, 2) === "::" ? (r = "::", e += 2) : (r = null, u('"::"')), r !== null ? (o = x(), o !== null ? (n.charCodeAt(e) === 58 ? (c = ":", e++) : (c = null, u('":"')), c !== null ? (h = x(), h !== null ? (n.charCodeAt(e) === 58 ? (f = ":", e++) : (f = null, u('":"')), f !== null ? (m = x(), m !== null ? (n.charCodeAt(e) === 58 ? (E = ":", e++) : (E = null, u('":"')), E !== null ? (C = x(), C !== null ? (n.charCodeAt(e) === 58 ? (Y = ":", e++) : (Y = null, u('":"')), Y !== null ? (Ce = Le(), Ce !== null ? t = [t, r, o, c, h, f, m, E, C, Y, Ce] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, t = x(), t !== null ? (L = e, n.charCodeAt(e) === 58 ? (r = ":", e++) : (r = null, u('":"')), r !== null ? (o = x(), o !== null ? r = [r, o] : (r = null, e = L)) : (r = null, e = L), r = r !== null ? r : "", r !== null ? (n.substr(e, 2) === "::" ? (o = "::", e += 2) : (o = null, u('"::"')), o !== null ? (c = x(), c !== null ? (n.charCodeAt(e) === 58 ? (h = ":", e++) : (h = null, u('":"')), h !== null ? (f = x(), f !== null ? (n.charCodeAt(e) === 58 ? (m = ":", e++) : (m = null, u('":"')), m !== null ? (E = x(), E !== null ? (n.charCodeAt(e) === 58 ? (C = ":", e++) : (C = null, u('":"')), C !== null ? (Y = Le(), Y !== null ? t = [t, r, o, c, h, f, m, E, C, Y] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, t = x(), t !== null ? (L = e, n.charCodeAt(e) === 58 ? (r = ":", e++) : (r = null, u('":"')), r !== null ? (o = x(), o !== null ? r = [r, o] : (r = null, e = L)) : (r = null, e = L), r = r !== null ? r : "", r !== null ? (L = e, n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = x(), c !== null ? o = [o, c] : (o = null, e = L)) : (o = null, e = L), o = o !== null ? o : "", o !== null ? (n.substr(e, 2) === "::" ? (c = "::", e += 2) : (c = null, u('"::"')), c !== null ? (h = x(), h !== null ? (n.charCodeAt(e) === 58 ? (f = ":", e++) : (f = null, u('":"')), f !== null ? (m = x(), m !== null ? (n.charCodeAt(e) === 58 ? (E = ":", e++) : (E = null, u('":"')), E !== null ? (C = Le(), C !== null ? t = [t, r, o, c, h, f, m, E, C] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, t = x(), t !== null ? (L = e, n.charCodeAt(e) === 58 ? (r = ":", e++) : (r = null, u('":"')), r !== null ? (o = x(), o !== null ? r = [r, o] : (r = null, e = L)) : (r = null, e = L), r = r !== null ? r : "", r !== null ? (L = e, n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = x(), c !== null ? o = [o, c] : (o = null, e = L)) : (o = null, e = L), o = o !== null ? o : "", o !== null ? (L = e, n.charCodeAt(e) === 58 ? (c = ":", e++) : (c = null, u('":"')), c !== null ? (h = x(), h !== null ? c = [c, h] : (c = null, e = L)) : (c = null, e = L), c = c !== null ? c : "", c !== null ? (n.substr(e, 2) === "::" ? (h = "::", e += 2) : (h = null, u('"::"')), h !== null ? (f = x(), f !== null ? (n.charCodeAt(e) === 58 ? (m = ":", e++) : (m = null, u('":"')), m !== null ? (E = Le(), E !== null ? t = [t, r, o, c, h, f, m, E] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, t = x(), t !== null ? (L = e, n.charCodeAt(e) === 58 ? (r = ":", e++) : (r = null, u('":"')), r !== null ? (o = x(), o !== null ? r = [r, o] : (r = null, e = L)) : (r = null, e = L), r = r !== null ? r : "", r !== null ? (L = e, n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = x(), c !== null ? o = [o, c] : (o = null, e = L)) : (o = null, e = L), o = o !== null ? o : "", o !== null ? (L = e, n.charCodeAt(e) === 58 ? (c = ":", e++) : (c = null, u('":"')), c !== null ? (h = x(), h !== null ? c = [c, h] : (c = null, e = L)) : (c = null, e = L), c = c !== null ? c : "", c !== null ? (L = e, n.charCodeAt(e) === 58 ? (h = ":", e++) : (h = null, u('":"')), h !== null ? (f = x(), f !== null ? h = [h, f] : (h = null, e = L)) : (h = null, e = L), h = h !== null ? h : "", h !== null ? (n.substr(e, 2) === "::" ? (f = "::", e += 2) : (f = null, u('"::"')), f !== null ? (m = Le(), m !== null ? t = [t, r, o, c, h, f, m] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, t = x(), t !== null ? (L = e, n.charCodeAt(e) === 58 ? (r = ":", e++) : (r = null, u('":"')), r !== null ? (o = x(), o !== null ? r = [r, o] : (r = null, e = L)) : (r = null, e = L), r = r !== null ? r : "", r !== null ? (L = e, n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = x(), c !== null ? o = [o, c] : (o = null, e = L)) : (o = null, e = L), o = o !== null ? o : "", o !== null ? (L = e, n.charCodeAt(e) === 58 ? (c = ":", e++) : (c = null, u('":"')), c !== null ? (h = x(), h !== null ? c = [c, h] : (c = null, e = L)) : (c = null, e = L), c = c !== null ? c : "", c !== null ? (L = e, n.charCodeAt(e) === 58 ? (h = ":", e++) : (h = null, u('":"')), h !== null ? (f = x(), f !== null ? h = [h, f] : (h = null, e = L)) : (h = null, e = L), h = h !== null ? h : "", h !== null ? (L = e, n.charCodeAt(e) === 58 ? (f = ":", e++) : (f = null, u('":"')), f !== null ? (m = x(), m !== null ? f = [f, m] : (f = null, e = L)) : (f = null, e = L), f = f !== null ? f : "", f !== null ? (n.substr(e, 2) === "::" ? (m = "::", e += 2) : (m = null, u('"::"')), m !== null ? (E = x(), E !== null ? t = [t, r, o, c, h, f, m, E] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S), t === null && (S = e, t = x(), t !== null ? (L = e, n.charCodeAt(e) === 58 ? (r = ":", e++) : (r = null, u('":"')), r !== null ? (o = x(), o !== null ? r = [r, o] : (r = null, e = L)) : (r = null, e = L), r = r !== null ? r : "", r !== null ? (L = e, n.charCodeAt(e) === 58 ? (o = ":", e++) : (o = null, u('":"')), o !== null ? (c = x(), c !== null ? o = [o, c] : (o = null, e = L)) : (o = null, e = L), o = o !== null ? o : "", o !== null ? (L = e, n.charCodeAt(e) === 58 ? (c = ":", e++) : (c = null, u('":"')), c !== null ? (h = x(), h !== null ? c = [c, h] : (c = null, e = L)) : (c = null, e = L), c = c !== null ? c : "", c !== null ? (L = e, n.charCodeAt(e) === 58 ? (h = ":", e++) : (h = null, u('":"')), h !== null ? (f = x(), f !== null ? h = [h, f] : (h = null, e = L)) : (h = null, e = L), h = h !== null ? h : "", h !== null ? (L = e, n.charCodeAt(e) === 58 ? (f = ":", e++) : (f = null, u('":"')), f !== null ? (m = x(), m !== null ? f = [f, m] : (f = null, e = L)) : (f = null, e = L), f = f !== null ? f : "", f !== null ? (L = e, n.charCodeAt(e) === 58 ? (m = ":", e++) : (m = null, u('":"')), m !== null ? (E = x(), E !== null ? m = [m, E] : (m = null, e = L)) : (m = null, e = L), m = m !== null ? m : "", m !== null ? (n.substr(e, 2) === "::" ? (E = "::", e += 2) : (E = null, u('"::"')), E !== null ? t = [t, r, o, c, h, f, m, E] : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S)) : (t = null, e = S))))))))))))))), t !== null && (t = function(Ea) {
10944
10944
  return v.host_type = "IPv6", n.substring(e, Ea);
10945
- }(As)), t === null && (e = As), t;
10945
+ }(Cs)), t === null && (e = Cs), t;
10946
10946
  }
10947
10947
  function x() {
10948
10948
  var t, r, o, c, h;
@@ -10953,8 +10953,8 @@ function ln() {
10953
10953
  return c = e, t = x(), t !== null ? (n.charCodeAt(e) === 58 ? (r = ":", e++) : (r = null, u('":"')), r !== null ? (o = x(), o !== null ? t = [t, r, o] : (t = null, e = c)) : (t = null, e = c)) : (t = null, e = c), t === null && (t = Wt()), t;
10954
10954
  }
10955
10955
  function Wt() {
10956
- var t, r, o, c, h, f, m, E, A;
10957
- return E = e, A = e, t = Yt(), t !== null ? (n.charCodeAt(e) === 46 ? (r = ".", e++) : (r = null, u('"."')), r !== null ? (o = Yt(), o !== null ? (n.charCodeAt(e) === 46 ? (c = ".", e++) : (c = null, u('"."')), c !== null ? (h = Yt(), h !== null ? (n.charCodeAt(e) === 46 ? (f = ".", e++) : (f = null, u('"."')), f !== null ? (m = Yt(), m !== null ? t = [t, r, o, c, h, f, m] : (t = null, e = A)) : (t = null, e = A)) : (t = null, e = A)) : (t = null, e = A)) : (t = null, e = A)) : (t = null, e = A)) : (t = null, e = A), t !== null && (t = function(Y) {
10956
+ var t, r, o, c, h, f, m, E, C;
10957
+ return E = e, C = e, t = Yt(), t !== null ? (n.charCodeAt(e) === 46 ? (r = ".", e++) : (r = null, u('"."')), r !== null ? (o = Yt(), o !== null ? (n.charCodeAt(e) === 46 ? (c = ".", e++) : (c = null, u('"."')), c !== null ? (h = Yt(), h !== null ? (n.charCodeAt(e) === 46 ? (f = ".", e++) : (f = null, u('"."')), f !== null ? (m = Yt(), m !== null ? t = [t, r, o, c, h, f, m] : (t = null, e = C)) : (t = null, e = C)) : (t = null, e = C)) : (t = null, e = C)) : (t = null, e = C)) : (t = null, e = C)) : (t = null, e = C), t !== null && (t = function(Y) {
10958
10958
  return v.host_type = "IPv4", n.substring(e, Y);
10959
10959
  }(E)), t === null && (e = E), t;
10960
10960
  }
@@ -10964,8 +10964,8 @@ function ln() {
10964
10964
  }
10965
10965
  function er() {
10966
10966
  var t, r, o, c, h, f, m;
10967
- return f = e, m = e, t = p(), t = t !== null ? t : "", t !== null ? (r = p(), r = r !== null ? r : "", r !== null ? (o = p(), o = o !== null ? o : "", o !== null ? (c = p(), c = c !== null ? c : "", c !== null ? (h = p(), h = h !== null ? h : "", h !== null ? t = [t, r, o, c, h] : (t = null, e = m)) : (t = null, e = m)) : (t = null, e = m)) : (t = null, e = m)) : (t = null, e = m), t !== null && (t = function(E, A) {
10968
- return A = parseInt(A.join("")), v.port = A, A;
10967
+ return f = e, m = e, t = p(), t = t !== null ? t : "", t !== null ? (r = p(), r = r !== null ? r : "", r !== null ? (o = p(), o = o !== null ? o : "", o !== null ? (c = p(), c = c !== null ? c : "", c !== null ? (h = p(), h = h !== null ? h : "", h !== null ? t = [t, r, o, c, h] : (t = null, e = m)) : (t = null, e = m)) : (t = null, e = m)) : (t = null, e = m)) : (t = null, e = m), t !== null && (t = function(E, C) {
10968
+ return C = parseInt(C.join("")), v.port = C, C;
10969
10969
  }(f, t)), t === null && (e = f), t;
10970
10970
  }
10971
10971
  function tr() {
@@ -11016,8 +11016,8 @@ function ln() {
11016
11016
  }
11017
11017
  function ar() {
11018
11018
  var t, r, o, c, h, f;
11019
- return c = e, h = e, t = ur(), t !== null ? (f = e, n.charCodeAt(e) === 61 ? (r = "=", e++) : (r = null, u('"="')), r !== null ? (o = cr(), o !== null ? r = [r, o] : (r = null, e = f)) : (r = null, e = f), r = r !== null ? r : "", r !== null ? t = [t, r] : (t = null, e = h)) : (t = null, e = h), t !== null && (t = function(m, E, A) {
11020
- v.uri_params || (v.uri_params = {}), typeof A > "u" ? A = void 0 : A = A[1], v.uri_params[E.toLowerCase()] = A;
11019
+ return c = e, h = e, t = ur(), t !== null ? (f = e, n.charCodeAt(e) === 61 ? (r = "=", e++) : (r = null, u('"="')), r !== null ? (o = cr(), o !== null ? r = [r, o] : (r = null, e = f)) : (r = null, e = f), r = r !== null ? r : "", r !== null ? t = [t, r] : (t = null, e = h)) : (t = null, e = h), t !== null && (t = function(m, E, C) {
11020
+ v.uri_params || (v.uri_params = {}), typeof C > "u" ? C = void 0 : C = C[1], v.uri_params[E.toLowerCase()] = C;
11021
11021
  }(c, t[0], t[1])), t === null && (e = c), t;
11022
11022
  }
11023
11023
  function ur() {
@@ -11110,7 +11110,7 @@ function ln() {
11110
11110
  }
11111
11111
  function Tr() {
11112
11112
  var t, r, o, c;
11113
- return c = e, n.substr(e, 2) === "//" ? (t = "//", e += 2) : (t = null, u('"//"')), t !== null ? (r = Cr(), r !== null ? (o = gn(), o = o !== null ? o : "", o !== null ? t = [t, r, o] : (t = null, e = c)) : (t = null, e = c)) : (t = null, e = c), t;
11113
+ return c = e, n.substr(e, 2) === "//" ? (t = "//", e += 2) : (t = null, u('"//"')), t !== null ? (r = Ar(), r !== null ? (o = gn(), o = o !== null ? o : "", o !== null ? t = [t, r, o] : (t = null, e = c)) : (t = null, e = c)) : (t = null, e = c), t;
11114
11114
  }
11115
11115
  function gn() {
11116
11116
  var t, r, o;
@@ -11178,11 +11178,11 @@ function ln() {
11178
11178
  v.scheme = n.substring(e, f);
11179
11179
  }(c)), t === null && (e = c), t;
11180
11180
  }
11181
- function Cr() {
11181
+ function Ar() {
11182
11182
  var t;
11183
- return t = Ar(), t === null && (t = br()), t;
11183
+ return t = Cr(), t === null && (t = br()), t;
11184
11184
  }
11185
- function Ar() {
11185
+ function Cr() {
11186
11186
  var t, r, o, c;
11187
11187
  return o = e, c = e, t = Mt(), t !== null ? (n.charCodeAt(e) === 64 ? (r = "@", e++) : (r = null, u('"@"')), r !== null ? t = [t, r] : (t = null, e = c)) : (t = null, e = c), t = t !== null ? t : "", t !== null ? (r = pn(), r !== null ? t = [t, r] : (t = null, e = o)) : (t = null, e = o), t = t !== null ? t : "", t;
11188
11188
  }
@@ -11226,8 +11226,8 @@ function ln() {
11226
11226
  t = null, e = E;
11227
11227
  else
11228
11228
  t = null, e = E;
11229
- return t !== null && (t = function(A) {
11230
- v.sip_version = n.substring(e, A);
11229
+ return t !== null && (t = function(C) {
11230
+ v.sip_version = n.substring(e, C);
11231
11231
  }(m)), t === null && (e = m), t;
11232
11232
  }
11233
11233
  function Ir() {
@@ -11320,9 +11320,9 @@ function ln() {
11320
11320
  } else
11321
11321
  t = null, e = f;
11322
11322
  return t !== null && (t = function(E) {
11323
- var A, Y;
11324
- for (Y = v.multi_header.length, A = 0; A < Y; A++)
11325
- if (v.multi_header[A].parsed === null) {
11323
+ var C, Y;
11324
+ for (Y = v.multi_header.length, C = 0; C < Y; C++)
11325
+ if (v.multi_header[C].parsed === null) {
11326
11326
  v = null;
11327
11327
  break;
11328
11328
  }
@@ -11338,17 +11338,17 @@ function ln() {
11338
11338
  } else
11339
11339
  t = null, e = f;
11340
11340
  return t !== null && (t = function(E) {
11341
- var A;
11341
+ var C;
11342
11342
  v.multi_header || (v.multi_header = []);
11343
11343
  try {
11344
- A = new qt(v.uri, v.display_name, v.params), delete v.uri, delete v.display_name, delete v.params;
11344
+ C = new qt(v.uri, v.display_name, v.params), delete v.uri, delete v.display_name, delete v.params;
11345
11345
  } catch (Y) {
11346
- A = null;
11346
+ C = null;
11347
11347
  }
11348
11348
  v.multi_header.push({
11349
11349
  possition: e,
11350
11350
  offset: E,
11351
- parsed: A
11351
+ parsed: C
11352
11352
  });
11353
11353
  }(h)), t === null && (e = h), t;
11354
11354
  }
@@ -11364,10 +11364,10 @@ function ln() {
11364
11364
  r !== null ? t = [t, r] : (t = null, e = f);
11365
11365
  } else
11366
11366
  t = null, e = f;
11367
- return t === null && (t = ke()), t !== null && (t = function(E, A) {
11368
- typeof A == "string" ? v.display_name = A : v.display_name = A[1].reduce(function(Y, Ae) {
11369
- return Y + Ae[0] + Ae[1];
11370
- }, A[0]);
11367
+ return t === null && (t = ke()), t !== null && (t = function(E, C) {
11368
+ typeof C == "string" ? v.display_name = C : v.display_name = C[1].reduce(function(Y, Ce) {
11369
+ return Y + Ce[0] + Ce[1];
11370
+ }, C[0]);
11371
11371
  }(h, t)), t === null && (e = h), t;
11372
11372
  }
11373
11373
  function cs() {
@@ -11399,14 +11399,14 @@ function ln() {
11399
11399
  }
11400
11400
  function $r() {
11401
11401
  var t, r, o, c, h, f, m, E;
11402
- return f = e, m = e, n.charCodeAt(e) === 48 ? (t = "0", e++) : (t = null, u('"0"')), t !== null ? (E = e, n.charCodeAt(e) === 46 ? (r = ".", e++) : (r = null, u('"."')), r !== null ? (o = p(), o = o !== null ? o : "", o !== null ? (c = p(), c = c !== null ? c : "", c !== null ? (h = p(), h = h !== null ? h : "", h !== null ? r = [r, o, c, h] : (r = null, e = E)) : (r = null, e = E)) : (r = null, e = E)) : (r = null, e = E), r = r !== null ? r : "", r !== null ? t = [t, r] : (t = null, e = m)) : (t = null, e = m), t !== null && (t = function(A) {
11403
- return parseFloat(n.substring(e, A));
11402
+ return f = e, m = e, n.charCodeAt(e) === 48 ? (t = "0", e++) : (t = null, u('"0"')), t !== null ? (E = e, n.charCodeAt(e) === 46 ? (r = ".", e++) : (r = null, u('"."')), r !== null ? (o = p(), o = o !== null ? o : "", o !== null ? (c = p(), c = c !== null ? c : "", c !== null ? (h = p(), h = h !== null ? h : "", h !== null ? r = [r, o, c, h] : (r = null, e = E)) : (r = null, e = E)) : (r = null, e = E)) : (r = null, e = E), r = r !== null ? r : "", r !== null ? t = [t, r] : (t = null, e = m)) : (t = null, e = m), t !== null && (t = function(C) {
11403
+ return parseFloat(n.substring(e, C));
11404
11404
  }(f)), t === null && (e = f), t;
11405
11405
  }
11406
11406
  function we() {
11407
11407
  var t, r, o, c, h, f;
11408
- return c = e, h = e, t = I(), t !== null ? (f = e, r = k(), r !== null ? (o = Vr(), o !== null ? r = [r, o] : (r = null, e = f)) : (r = null, e = f), r = r !== null ? r : "", r !== null ? t = [t, r] : (t = null, e = h)) : (t = null, e = h), t !== null && (t = function(m, E, A) {
11409
- v.params || (v.params = {}), typeof A > "u" ? A = void 0 : A = A[1], v.params[E.toLowerCase()] = A;
11408
+ return c = e, h = e, t = I(), t !== null ? (f = e, r = k(), r !== null ? (o = Vr(), o !== null ? r = [r, o] : (r = null, e = f)) : (r = null, e = f), r = r !== null ? r : "", r !== null ? t = [t, r] : (t = null, e = h)) : (t = null, e = h), t !== null && (t = function(m, E, C) {
11409
+ v.params || (v.params = {}), typeof C > "u" ? C = void 0 : C = C[1], v.params[E.toLowerCase()] = C;
11410
11410
  }(c, t[0], t[1])), t === null && (e = c), t;
11411
11411
  }
11412
11412
  function Vr() {
@@ -11539,8 +11539,8 @@ function ln() {
11539
11539
  r !== null ? t = [t, r] : (t = null, e = f);
11540
11540
  } else
11541
11541
  t = null, e = f;
11542
- return t !== null && (t = function(E, A) {
11543
- v.event = A.join("").toLowerCase();
11542
+ return t !== null && (t = function(E, C) {
11543
+ v.event = C.join("").toLowerCase();
11544
11544
  }(h, t[0])), t === null && (e = h), t;
11545
11545
  }
11546
11546
  function Zt() {
@@ -11562,9 +11562,9 @@ function ln() {
11562
11562
  } else
11563
11563
  t = null, e = f;
11564
11564
  return t !== null && (t = function(E) {
11565
- var A = v.tag;
11565
+ var C = v.tag;
11566
11566
  try {
11567
- v = new qt(v.uri, v.display_name, v.params), A && v.setParam("tag", A);
11567
+ v = new qt(v.uri, v.display_name, v.params), C && v.setParam("tag", C);
11568
11568
  } catch (Y) {
11569
11569
  v = -1;
11570
11570
  }
@@ -11598,8 +11598,8 @@ function ln() {
11598
11598
  }(r, t)), t === null && (e = r), t;
11599
11599
  }
11600
11600
  function Jl() {
11601
- var t, r, o, c, h, f, m, E, A, Y;
11602
- for (E = e, A = e, t = [], r = En(); r !== null; )
11601
+ var t, r, o, c, h, f, m, E, C, Y;
11602
+ for (E = e, C = e, t = [], r = En(); r !== null; )
11603
11603
  t.push(r), r = En();
11604
11604
  if (t !== null)
11605
11605
  if (r = Ue(), r !== null)
@@ -11607,16 +11607,16 @@ function ln() {
11607
11607
  if (c = Re(), c !== null) {
11608
11608
  for (h = [], Y = e, f = le(), f !== null ? (m = we(), m !== null ? f = [f, m] : (f = null, e = Y)) : (f = null, e = Y); f !== null; )
11609
11609
  h.push(f), Y = e, f = le(), f !== null ? (m = we(), m !== null ? f = [f, m] : (f = null, e = Y)) : (f = null, e = Y);
11610
- h !== null ? t = [t, r, o, c, h] : (t = null, e = A);
11610
+ h !== null ? t = [t, r, o, c, h] : (t = null, e = C);
11611
11611
  } else
11612
- t = null, e = A;
11612
+ t = null, e = C;
11613
11613
  else
11614
- t = null, e = A;
11614
+ t = null, e = C;
11615
11615
  else
11616
- t = null, e = A;
11616
+ t = null, e = C;
11617
11617
  else
11618
- t = null, e = A;
11619
- return t !== null && (t = function(Ae) {
11618
+ t = null, e = C;
11619
+ return t !== null && (t = function(Ce) {
11620
11620
  try {
11621
11621
  v = new qt(v.uri, v.display_name, v.params);
11622
11622
  } catch (tt) {
@@ -11632,9 +11632,9 @@ function ln() {
11632
11632
  var t, r, o, c, h, f, m, E;
11633
11633
  if (m = e, n.substr(e, 6).toLowerCase() === "digest" ? (t = n.substr(e, 6), e += 6) : (t = null, u('"Digest"')), t !== null)
11634
11634
  if (r = Te(), r !== null)
11635
- if (o = Cn(), o !== null) {
11636
- for (c = [], E = e, h = _e(), h !== null ? (f = Cn(), f !== null ? h = [h, f] : (h = null, e = E)) : (h = null, e = E); h !== null; )
11637
- c.push(h), E = e, h = _e(), h !== null ? (f = Cn(), f !== null ? h = [h, f] : (h = null, e = E)) : (h = null, e = E);
11635
+ if (o = An(), o !== null) {
11636
+ for (c = [], E = e, h = _e(), h !== null ? (f = An(), f !== null ? h = [h, f] : (h = null, e = E)) : (h = null, e = E); h !== null; )
11637
+ c.push(h), E = e, h = _e(), h !== null ? (f = An(), f !== null ? h = [h, f] : (h = null, e = E)) : (h = null, e = E);
11638
11638
  c !== null ? t = [t, r, o, c] : (t = null, e = m);
11639
11639
  } else
11640
11640
  t = null, e = m;
@@ -11664,7 +11664,7 @@ function ln() {
11664
11664
  var t, r, o, c;
11665
11665
  return c = e, t = I(), t !== null ? (r = k(), r !== null ? (o = I(), o === null && (o = Ie()), o !== null ? t = [t, r, o] : (t = null, e = c)) : (t = null, e = c)) : (t = null, e = c), t;
11666
11666
  }
11667
- function Cn() {
11667
+ function An() {
11668
11668
  var t;
11669
11669
  return t = ti(), t === null && (t = si(), t === null && (t = ri(), t === null && (t = oi(), t === null && (t = li(), t === null && (t = ai(), t === null && (t = ui(), t === null && (t = en()))))))), t;
11670
11670
  }
@@ -11679,23 +11679,23 @@ function ln() {
11679
11679
  }(r, t)), t === null && (e = r), t;
11680
11680
  }
11681
11681
  function si() {
11682
- var t, r, o, c, h, f, m, E, A;
11682
+ var t, r, o, c, h, f, m, E, C;
11683
11683
  if (E = e, n.substr(e, 6).toLowerCase() === "domain" ? (t = n.substr(e, 6), e += 6) : (t = null, u('"domain"')), t !== null)
11684
11684
  if (r = k(), r !== null)
11685
11685
  if (o = et(), o !== null)
11686
- if (c = An(), c !== null) {
11687
- if (h = [], A = e, m = b(), m !== null)
11686
+ if (c = Cn(), c !== null) {
11687
+ if (h = [], C = e, m = b(), m !== null)
11688
11688
  for (f = []; m !== null; )
11689
11689
  f.push(m), m = b();
11690
11690
  else
11691
11691
  f = null;
11692
- for (f !== null ? (m = An(), m !== null ? f = [f, m] : (f = null, e = A)) : (f = null, e = A); f !== null; ) {
11693
- if (h.push(f), A = e, m = b(), m !== null)
11692
+ for (f !== null ? (m = Cn(), m !== null ? f = [f, m] : (f = null, e = C)) : (f = null, e = C); f !== null; ) {
11693
+ if (h.push(f), C = e, m = b(), m !== null)
11694
11694
  for (f = []; m !== null; )
11695
11695
  f.push(m), m = b();
11696
11696
  else
11697
11697
  f = null;
11698
- f !== null ? (m = An(), m !== null ? f = [f, m] : (f = null, e = A)) : (f = null, e = A);
11698
+ f !== null ? (m = Cn(), m !== null ? f = [f, m] : (f = null, e = C)) : (f = null, e = C);
11699
11699
  }
11700
11700
  h !== null ? (f = ye(), f !== null ? t = [t, r, o, c, h, f] : (t = null, e = E)) : (t = null, e = E);
11701
11701
  } else
@@ -11708,7 +11708,7 @@ function ln() {
11708
11708
  t = null, e = E;
11709
11709
  return t;
11710
11710
  }
11711
- function An() {
11711
+ function Cn() {
11712
11712
  var t;
11713
11713
  return t = ls(), t === null && (t = gn()), t;
11714
11714
  }
@@ -11743,16 +11743,16 @@ function ln() {
11743
11743
  }(c, t[2])), t === null && (e = c), t;
11744
11744
  }
11745
11745
  function ui() {
11746
- var t, r, o, c, h, f, m, E, A, Y;
11746
+ var t, r, o, c, h, f, m, E, C, Y;
11747
11747
  if (E = e, n.substr(e, 3).toLowerCase() === "qop" ? (t = n.substr(e, 3), e += 3) : (t = null, u('"qop"')), t !== null)
11748
11748
  if (r = k(), r !== null)
11749
11749
  if (o = et(), o !== null) {
11750
- if (A = e, c = bn(), c !== null) {
11750
+ if (C = e, c = bn(), c !== null) {
11751
11751
  for (h = [], Y = e, n.charCodeAt(e) === 44 ? (f = ",", e++) : (f = null, u('","')), f !== null ? (m = bn(), m !== null ? f = [f, m] : (f = null, e = Y)) : (f = null, e = Y); f !== null; )
11752
11752
  h.push(f), Y = e, n.charCodeAt(e) === 44 ? (f = ",", e++) : (f = null, u('","')), f !== null ? (m = bn(), m !== null ? f = [f, m] : (f = null, e = Y)) : (f = null, e = Y);
11753
- h !== null ? c = [c, h] : (c = null, e = A);
11753
+ h !== null ? c = [c, h] : (c = null, e = C);
11754
11754
  } else
11755
- c = null, e = A;
11755
+ c = null, e = C;
11756
11756
  c !== null ? (h = ye(), h !== null ? t = [t, r, o, c, h] : (t = null, e = E)) : (t = null, e = E);
11757
11757
  } else
11758
11758
  t = null, e = E;
@@ -11787,9 +11787,9 @@ function ln() {
11787
11787
  } else
11788
11788
  t = null, e = f;
11789
11789
  return t !== null && (t = function(E) {
11790
- var A, Y;
11791
- for (Y = v.multi_header.length, A = 0; A < Y; A++)
11792
- if (v.multi_header[A].parsed === null) {
11790
+ var C, Y;
11791
+ for (Y = v.multi_header.length, C = 0; C < Y; C++)
11792
+ if (v.multi_header[C].parsed === null) {
11793
11793
  v = null;
11794
11794
  break;
11795
11795
  }
@@ -11805,17 +11805,17 @@ function ln() {
11805
11805
  } else
11806
11806
  t = null, e = f;
11807
11807
  return t !== null && (t = function(E) {
11808
- var A;
11808
+ var C;
11809
11809
  v.multi_header || (v.multi_header = []);
11810
11810
  try {
11811
- A = new qt(v.uri, v.display_name, v.params), delete v.uri, delete v.display_name, delete v.params;
11811
+ C = new qt(v.uri, v.display_name, v.params), delete v.uri, delete v.display_name, delete v.params;
11812
11812
  } catch (Y) {
11813
- A = null;
11813
+ C = null;
11814
11814
  }
11815
11815
  v.multi_header.push({
11816
11816
  possition: e,
11817
11817
  offset: E,
11818
- parsed: A
11818
+ parsed: C
11819
11819
  });
11820
11820
  }(h)), t === null && (e = h), t;
11821
11821
  }
@@ -11827,8 +11827,8 @@ function ln() {
11827
11827
  r !== null ? t = [t, r] : (t = null, e = f);
11828
11828
  } else
11829
11829
  t = null, e = f;
11830
- return t !== null && (t = function(E, A) {
11831
- if (v.protocol = A.toLowerCase(), v.params || (v.params = {}), v.params.text && v.params.text[0] === '"') {
11830
+ return t !== null && (t = function(E, C) {
11831
+ if (v.protocol = C.toLowerCase(), v.params || (v.params = {}), v.params.text && v.params.text[0] === '"') {
11832
11832
  var Y = v.params.text;
11833
11833
  v.text = Y.substring(1, Y.length - 1), delete v.params.text;
11834
11834
  }
@@ -11939,9 +11939,9 @@ function ln() {
11939
11939
  } else
11940
11940
  t = null, e = f;
11941
11941
  return t !== null && (t = function(E) {
11942
- var A = v.tag;
11942
+ var C = v.tag;
11943
11943
  try {
11944
- v = new qt(v.uri, v.display_name, v.params), A && v.setParam("tag", A);
11944
+ v = new qt(v.uri, v.display_name, v.params), C && v.setParam("tag", C);
11945
11945
  } catch (Y) {
11946
11946
  v = -1;
11947
11947
  }
@@ -12011,8 +12011,8 @@ function ln() {
12011
12011
  }
12012
12012
  function Ti() {
12013
12013
  var t, r, o, c, h, f, m;
12014
- return f = e, m = e, t = p(), t = t !== null ? t : "", t !== null ? (r = p(), r = r !== null ? r : "", r !== null ? (o = p(), o = o !== null ? o : "", o !== null ? (c = p(), c = c !== null ? c : "", c !== null ? (h = p(), h = h !== null ? h : "", h !== null ? t = [t, r, o, c, h] : (t = null, e = m)) : (t = null, e = m)) : (t = null, e = m)) : (t = null, e = m)) : (t = null, e = m), t !== null && (t = function(E, A) {
12015
- v.rport = parseInt(A.join(""));
12014
+ return f = e, m = e, t = p(), t = t !== null ? t : "", t !== null ? (r = p(), r = r !== null ? r : "", r !== null ? (o = p(), o = o !== null ? o : "", o !== null ? (c = p(), c = c !== null ? c : "", c !== null ? (h = p(), h = h !== null ? h : "", h !== null ? t = [t, r, o, c, h] : (t = null, e = m)) : (t = null, e = m)) : (t = null, e = m)) : (t = null, e = m)) : (t = null, e = m), t !== null && (t = function(E, C) {
12015
+ v.rport = parseInt(C.join(""));
12016
12016
  }(f, t)), t === null && (e = f), t;
12017
12017
  }
12018
12018
  function vi() {
@@ -12033,18 +12033,18 @@ function ln() {
12033
12033
  }
12034
12034
  function Si() {
12035
12035
  var t, r, o, c, h;
12036
- return c = e, t = Ci(), t !== null ? (h = e, r = Ke(), r !== null ? (o = Ai(), o !== null ? r = [r, o] : (r = null, e = h)) : (r = null, e = h), r = r !== null ? r : "", r !== null ? t = [t, r] : (t = null, e = c)) : (t = null, e = c), t;
12036
+ return c = e, t = Ai(), t !== null ? (h = e, r = Ke(), r !== null ? (o = Ci(), o !== null ? r = [r, o] : (r = null, e = h)) : (r = null, e = h), r = r !== null ? r : "", r !== null ? t = [t, r] : (t = null, e = c)) : (t = null, e = c), t;
12037
12037
  }
12038
- function Ci() {
12038
+ function Ai() {
12039
12039
  var t, r;
12040
12040
  return r = e, t = Wt(), t === null && (t = rs(), t === null && (t = ns())), t !== null && (t = function(o) {
12041
12041
  v.host = n.substring(e, o);
12042
12042
  }(r)), t === null && (e = r), t;
12043
12043
  }
12044
- function Ai() {
12044
+ function Ci() {
12045
12045
  var t, r, o, c, h, f, m;
12046
- return f = e, m = e, t = p(), t = t !== null ? t : "", t !== null ? (r = p(), r = r !== null ? r : "", r !== null ? (o = p(), o = o !== null ? o : "", o !== null ? (c = p(), c = c !== null ? c : "", c !== null ? (h = p(), h = h !== null ? h : "", h !== null ? t = [t, r, o, c, h] : (t = null, e = m)) : (t = null, e = m)) : (t = null, e = m)) : (t = null, e = m)) : (t = null, e = m), t !== null && (t = function(E, A) {
12047
- v.port = parseInt(A.join(""));
12046
+ return f = e, m = e, t = p(), t = t !== null ? t : "", t !== null ? (r = p(), r = r !== null ? r : "", r !== null ? (o = p(), o = o !== null ? o : "", o !== null ? (c = p(), c = c !== null ? c : "", c !== null ? (h = p(), h = h !== null ? h : "", h !== null ? t = [t, r, o, c, h] : (t = null, e = m)) : (t = null, e = m)) : (t = null, e = m)) : (t = null, e = m)) : (t = null, e = m), t !== null && (t = function(E, C) {
12047
+ v.port = parseInt(C.join(""));
12048
12048
  }(f, t)), t === null && (e = f), t;
12049
12049
  }
12050
12050
  function ys() {
@@ -12104,8 +12104,8 @@ function ln() {
12104
12104
  return o = e, n.substr(e, 5) === "uuid:" ? (t = "uuid:", e += 5) : (t = null, u('"uuid:"')), t !== null ? (r = wi(), r !== null ? t = [t, r] : (t = null, e = o)) : (t = null, e = o), t;
12105
12105
  }
12106
12106
  function wi() {
12107
- var t, r, o, c, h, f, m, E, A, Y, Ae;
12108
- return Y = e, Ae = e, t = Oi(), t !== null ? (n.charCodeAt(e) === 45 ? (r = "-", e++) : (r = null, u('"-"')), r !== null ? (o = ct(), o !== null ? (n.charCodeAt(e) === 45 ? (c = "-", e++) : (c = null, u('"-"')), c !== null ? (h = ct(), h !== null ? (n.charCodeAt(e) === 45 ? (f = "-", e++) : (f = null, u('"-"')), f !== null ? (m = ct(), m !== null ? (n.charCodeAt(e) === 45 ? (E = "-", e++) : (E = null, u('"-"')), E !== null ? (A = Ni(), A !== null ? t = [t, r, o, c, h, f, m, E, A] : (t = null, e = Ae)) : (t = null, e = Ae)) : (t = null, e = Ae)) : (t = null, e = Ae)) : (t = null, e = Ae)) : (t = null, e = Ae)) : (t = null, e = Ae)) : (t = null, e = Ae)) : (t = null, e = Ae), t !== null && (t = function(tt, On) {
12107
+ var t, r, o, c, h, f, m, E, C, Y, Ce;
12108
+ return Y = e, Ce = e, t = Oi(), t !== null ? (n.charCodeAt(e) === 45 ? (r = "-", e++) : (r = null, u('"-"')), r !== null ? (o = ct(), o !== null ? (n.charCodeAt(e) === 45 ? (c = "-", e++) : (c = null, u('"-"')), c !== null ? (h = ct(), h !== null ? (n.charCodeAt(e) === 45 ? (f = "-", e++) : (f = null, u('"-"')), f !== null ? (m = ct(), m !== null ? (n.charCodeAt(e) === 45 ? (E = "-", e++) : (E = null, u('"-"')), E !== null ? (C = Ni(), C !== null ? t = [t, r, o, c, h, f, m, E, C] : (t = null, e = Ce)) : (t = null, e = Ce)) : (t = null, e = Ce)) : (t = null, e = Ce)) : (t = null, e = Ce)) : (t = null, e = Ce)) : (t = null, e = Ce)) : (t = null, e = Ce)) : (t = null, e = Ce), t !== null && (t = function(tt, On) {
12109
12109
  v = n.substring(e + 5, tt);
12110
12110
  }(Y, t[0])), t === null && (e = Y), t;
12111
12111
  }
@@ -12132,7 +12132,7 @@ function ln() {
12132
12132
  return t !== null && (t = function(E) {
12133
12133
  try {
12134
12134
  v = new qt(v.uri, v.display_name, v.params);
12135
- } catch (A) {
12135
+ } catch (C) {
12136
12136
  v = -1;
12137
12137
  }
12138
12138
  }()), t === null && (e = h), t;
@@ -12191,11 +12191,11 @@ function ln() {
12191
12191
  }
12192
12192
  var xi = jn(), qt = tc(), v = {}, va = a[i]();
12193
12193
  if (va === null || e !== n.length) {
12194
- var Cs = Math.max(e, d), ya = Cs < n.length ? n.charAt(Cs) : null, Pi = Ta();
12194
+ var As = Math.max(e, d), ya = As < n.length ? n.charAt(As) : null, Pi = Ta();
12195
12195
  return new this.SyntaxError(
12196
12196
  ga(_),
12197
12197
  ya,
12198
- Cs,
12198
+ As,
12199
12199
  Pi.line,
12200
12200
  Pi.column
12201
12201
  ), -1;
@@ -12226,12 +12226,12 @@ function ln() {
12226
12226
  }, s.SyntaxError.prototype = Error.prototype, s;
12227
12227
  }()), Sh;
12228
12228
  }
12229
- var Ka, Ah;
12229
+ var Ka, Ch;
12230
12230
  function jn() {
12231
- if (Ah)
12231
+ if (Ch)
12232
12232
  return Ka;
12233
- Ah = 1;
12234
- const l = Oe, s = At(), n = ln();
12233
+ Ch = 1;
12234
+ const l = Oe, s = Ct(), n = ln();
12235
12235
  return Ka = class $d {
12236
12236
  /**
12237
12237
  * Parse the given string and returns a JsSIP.URI instance or undefined if
@@ -12343,7 +12343,7 @@ function jn() {
12343
12343
  }, Ka;
12344
12344
  }
12345
12345
  var bh;
12346
- function At() {
12346
+ function Ct() {
12347
12347
  if (bh)
12348
12348
  return rt;
12349
12349
  bh = 1;
@@ -12441,7 +12441,7 @@ function At() {
12441
12441
  function y(ye, ge, be) {
12442
12442
  return ge ^ (ye | ~be);
12443
12443
  }
12444
- function C(ye, ge, be, Ie, ke, fe, ae) {
12444
+ function A(ye, ge, be, Ie, ke, fe, ae) {
12445
12445
  return ye = u(ye, u(u(g(ge, be, Ie), ke), ae)), u(_(ye, fe), ge);
12446
12446
  }
12447
12447
  function w(ye, ge, be, Ie, ke, fe, ae) {
@@ -12478,7 +12478,7 @@ function At() {
12478
12478
  let O = [], j, pe, Te, N, H, $, q, M, W;
12479
12479
  const te = 7, I = 12, J = 17, ne = 22, Be = 5, Z = 9, V = 14, k = 20, Se = 4, me = 11, Re = 16, Ue = 23, _e = 6, le = 10, Ke = 15, et = 21;
12480
12480
  for (d = ve(d), O = G(d), $ = 1732584193, q = 4023233417, M = 2562383102, W = 271733878, j = 0; j < O.length; j += 16)
12481
- pe = $, Te = q, N = M, H = W, $ = C($, q, M, W, O[j + 0], te, 3614090360), W = C(W, $, q, M, O[j + 1], I, 3905402710), M = C(M, W, $, q, O[j + 2], J, 606105819), q = C(q, M, W, $, O[j + 3], ne, 3250441966), $ = C($, q, M, W, O[j + 4], te, 4118548399), W = C(W, $, q, M, O[j + 5], I, 1200080426), M = C(M, W, $, q, O[j + 6], J, 2821735955), q = C(q, M, W, $, O[j + 7], ne, 4249261313), $ = C($, q, M, W, O[j + 8], te, 1770035416), W = C(W, $, q, M, O[j + 9], I, 2336552879), M = C(M, W, $, q, O[j + 10], J, 4294925233), q = C(q, M, W, $, O[j + 11], ne, 2304563134), $ = C($, q, M, W, O[j + 12], te, 1804603682), W = C(W, $, q, M, O[j + 13], I, 4254626195), M = C(M, W, $, q, O[j + 14], J, 2792965006), q = C(q, M, W, $, O[j + 15], ne, 1236535329), $ = w($, q, M, W, O[j + 1], Be, 4129170786), W = w(W, $, q, M, O[j + 6], Z, 3225465664), M = w(M, W, $, q, O[j + 11], V, 643717713), q = w(q, M, W, $, O[j + 0], k, 3921069994), $ = w($, q, M, W, O[j + 5], Be, 3593408605), W = w(W, $, q, M, O[j + 10], Z, 38016083), M = w(M, W, $, q, O[j + 15], V, 3634488961), q = w(q, M, W, $, O[j + 4], k, 3889429448), $ = w($, q, M, W, O[j + 9], Be, 568446438), W = w(W, $, q, M, O[j + 14], Z, 3275163606), M = w(M, W, $, q, O[j + 3], V, 4107603335), q = w(q, M, W, $, O[j + 8], k, 1163531501), $ = w($, q, M, W, O[j + 13], Be, 2850285829), W = w(W, $, q, M, O[j + 2], Z, 4243563512), M = w(M, W, $, q, O[j + 7], V, 1735328473), q = w(q, M, W, $, O[j + 12], k, 2368359562), $ = R($, q, M, W, O[j + 5], Se, 4294588738), W = R(W, $, q, M, O[j + 8], me, 2272392833), M = R(M, W, $, q, O[j + 11], Re, 1839030562), q = R(q, M, W, $, O[j + 14], Ue, 4259657740), $ = R($, q, M, W, O[j + 1], Se, 2763975236), W = R(W, $, q, M, O[j + 4], me, 1272893353), M = R(M, W, $, q, O[j + 7], Re, 4139469664), q = R(q, M, W, $, O[j + 10], Ue, 3200236656), $ = R($, q, M, W, O[j + 13], Se, 681279174), W = R(W, $, q, M, O[j + 0], me, 3936430074), M = R(M, W, $, q, O[j + 3], Re, 3572445317), q = R(q, M, W, $, O[j + 6], Ue, 76029189), $ = R($, q, M, W, O[j + 9], Se, 3654602809), W = R(W, $, q, M, O[j + 12], me, 3873151461), M = R(M, W, $, q, O[j + 15], Re, 530742520), q = R(q, M, W, $, O[j + 2], Ue, 3299628645), $ = b($, q, M, W, O[j + 0], _e, 4096336452), W = b(W, $, q, M, O[j + 7], le, 1126891415), M = b(M, W, $, q, O[j + 14], Ke, 2878612391), q = b(q, M, W, $, O[j + 5], et, 4237533241), $ = b($, q, M, W, O[j + 12], _e, 1700485571), W = b(W, $, q, M, O[j + 3], le, 2399980690), M = b(M, W, $, q, O[j + 10], Ke, 4293915773), q = b(q, M, W, $, O[j + 1], et, 2240044497), $ = b($, q, M, W, O[j + 8], _e, 1873313359), W = b(W, $, q, M, O[j + 15], le, 4264355552), M = b(M, W, $, q, O[j + 6], Ke, 2734768916), q = b(q, M, W, $, O[j + 13], et, 1309151649), $ = b($, q, M, W, O[j + 4], _e, 4149444226), W = b(W, $, q, M, O[j + 11], le, 3174756917), M = b(M, W, $, q, O[j + 2], Ke, 718787259), q = b(q, M, W, $, O[j + 9], et, 3951481745), $ = u($, pe), q = u(q, Te), M = u(M, N), W = u(W, H);
12481
+ pe = $, Te = q, N = M, H = W, $ = A($, q, M, W, O[j + 0], te, 3614090360), W = A(W, $, q, M, O[j + 1], I, 3905402710), M = A(M, W, $, q, O[j + 2], J, 606105819), q = A(q, M, W, $, O[j + 3], ne, 3250441966), $ = A($, q, M, W, O[j + 4], te, 4118548399), W = A(W, $, q, M, O[j + 5], I, 1200080426), M = A(M, W, $, q, O[j + 6], J, 2821735955), q = A(q, M, W, $, O[j + 7], ne, 4249261313), $ = A($, q, M, W, O[j + 8], te, 1770035416), W = A(W, $, q, M, O[j + 9], I, 2336552879), M = A(M, W, $, q, O[j + 10], J, 4294925233), q = A(q, M, W, $, O[j + 11], ne, 2304563134), $ = A($, q, M, W, O[j + 12], te, 1804603682), W = A(W, $, q, M, O[j + 13], I, 4254626195), M = A(M, W, $, q, O[j + 14], J, 2792965006), q = A(q, M, W, $, O[j + 15], ne, 1236535329), $ = w($, q, M, W, O[j + 1], Be, 4129170786), W = w(W, $, q, M, O[j + 6], Z, 3225465664), M = w(M, W, $, q, O[j + 11], V, 643717713), q = w(q, M, W, $, O[j + 0], k, 3921069994), $ = w($, q, M, W, O[j + 5], Be, 3593408605), W = w(W, $, q, M, O[j + 10], Z, 38016083), M = w(M, W, $, q, O[j + 15], V, 3634488961), q = w(q, M, W, $, O[j + 4], k, 3889429448), $ = w($, q, M, W, O[j + 9], Be, 568446438), W = w(W, $, q, M, O[j + 14], Z, 3275163606), M = w(M, W, $, q, O[j + 3], V, 4107603335), q = w(q, M, W, $, O[j + 8], k, 1163531501), $ = w($, q, M, W, O[j + 13], Be, 2850285829), W = w(W, $, q, M, O[j + 2], Z, 4243563512), M = w(M, W, $, q, O[j + 7], V, 1735328473), q = w(q, M, W, $, O[j + 12], k, 2368359562), $ = R($, q, M, W, O[j + 5], Se, 4294588738), W = R(W, $, q, M, O[j + 8], me, 2272392833), M = R(M, W, $, q, O[j + 11], Re, 1839030562), q = R(q, M, W, $, O[j + 14], Ue, 4259657740), $ = R($, q, M, W, O[j + 1], Se, 2763975236), W = R(W, $, q, M, O[j + 4], me, 1272893353), M = R(M, W, $, q, O[j + 7], Re, 4139469664), q = R(q, M, W, $, O[j + 10], Ue, 3200236656), $ = R($, q, M, W, O[j + 13], Se, 681279174), W = R(W, $, q, M, O[j + 0], me, 3936430074), M = R(M, W, $, q, O[j + 3], Re, 3572445317), q = R(q, M, W, $, O[j + 6], Ue, 76029189), $ = R($, q, M, W, O[j + 9], Se, 3654602809), W = R(W, $, q, M, O[j + 12], me, 3873151461), M = R(M, W, $, q, O[j + 15], Re, 530742520), q = R(q, M, W, $, O[j + 2], Ue, 3299628645), $ = b($, q, M, W, O[j + 0], _e, 4096336452), W = b(W, $, q, M, O[j + 7], le, 1126891415), M = b(M, W, $, q, O[j + 14], Ke, 2878612391), q = b(q, M, W, $, O[j + 5], et, 4237533241), $ = b($, q, M, W, O[j + 12], _e, 1700485571), W = b(W, $, q, M, O[j + 3], le, 2399980690), M = b(M, W, $, q, O[j + 10], Ke, 4293915773), q = b(q, M, W, $, O[j + 1], et, 2240044497), $ = b($, q, M, W, O[j + 8], _e, 1873313359), W = b(W, $, q, M, O[j + 15], le, 4264355552), M = b(M, W, $, q, O[j + 6], Ke, 2734768916), q = b(q, M, W, $, O[j + 13], et, 1309151649), $ = b($, q, M, W, O[j + 4], _e, 4149444226), W = b(W, $, q, M, O[j + 11], le, 3174756917), M = b(M, W, $, q, O[j + 2], Ke, 718787259), q = b(q, M, W, $, O[j + 9], et, 3951481745), $ = u($, pe), q = u(q, Te), M = u(M, N), W = u(W, H);
12482
12482
  return (P($) + P(q) + P(M) + P(W)).toLowerCase();
12483
12483
  }, rt.closeMediaStream = (d) => {
12484
12484
  if (d)
@@ -12501,7 +12501,7 @@ function At() {
12501
12501
  }
12502
12502
  }, rt.cloneArray = (d) => d && d.slice() || [], rt.cloneObject = (d, _ = {}) => d && Object.assign({}, d) || _, rt;
12503
12503
  }
12504
- const Vd = Ht, wg = ht, St = Oe, at = At(), Rh = tc(), Og = ln(), Ga = new wg("SIPMessage");
12504
+ const Vd = Ht, wg = ht, St = Oe, at = Ct(), Rh = tc(), Og = ln(), Ga = new wg("SIPMessage");
12505
12505
  class Pl {
12506
12506
  constructor(s, n, i, a, e, d) {
12507
12507
  if (!s || !n || !i)
@@ -12512,8 +12512,8 @@ class Pl {
12512
12512
  const p = a.from_uri || i.configuration.uri, T = { tag: a.from_tag || at.newTag() };
12513
12513
  let y;
12514
12514
  typeof a.from_display_name < "u" ? y = a.from_display_name : i.configuration.display_name ? y = i.configuration.display_name : y = null, this.from = new Rh(p, y, T), this.setHeader("from", this.from.toString());
12515
- const C = a.call_id || i.configuration.jssip_id + at.createRandomToken(15);
12516
- this.call_id = C, this.setHeader("call-id", C);
12515
+ const A = a.call_id || i.configuration.jssip_id + at.createRandomToken(15);
12516
+ this.call_id = A, this.setHeader("call-id", A);
12517
12517
  const w = a.cseq || Math.floor(Math.random() * 1e4);
12518
12518
  this.cseq = w, this.setHeader("cseq", `${w} ${s}`);
12519
12519
  }
@@ -12853,13 +12853,13 @@ class Dg extends Bd {
12853
12853
  super(), this.headers = {}, this.status_code = null, this.reason_phrase = null;
12854
12854
  }
12855
12855
  }
12856
- var Ct = {
12856
+ var At = {
12857
12857
  OutgoingRequest: Pl,
12858
12858
  InitialOutgoingInviteRequest: nc,
12859
12859
  IncomingRequest: Ng,
12860
12860
  IncomingResponse: Dg
12861
12861
  };
12862
- const Gs = /* @__PURE__ */ Je(Ct), kg = ht, Un = At(), nn = new kg("DigestAuthentication");
12862
+ const Gs = /* @__PURE__ */ Je(At), kg = ht, Un = Ct(), nn = new kg("DigestAuthentication");
12863
12863
  var Kd = class {
12864
12864
  constructor(l) {
12865
12865
  this._credentials = l, 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;
@@ -12938,7 +12938,7 @@ var sc = {
12938
12938
  PROVISIONAL_RESPONSE_INTERVAL: 6e4
12939
12939
  // See RFC 3261 Section 13.3.1.1
12940
12940
  };
12941
- const Ki = /* @__PURE__ */ Je(sc), Co = _t.EventEmitter, Ao = ht, ro = Oe, wh = Ct, dn = sc, Oh = new Ao("NonInviteClientTransaction"), Lo = new Ao("InviteClientTransaction"), xg = new Ao("AckClientTransaction"), Nh = new Ao("NonInviteServerTransaction"), Ho = new Ao("InviteServerTransaction"), de = {
12941
+ const Ki = /* @__PURE__ */ Je(sc), Ao = _t.EventEmitter, Co = ht, ro = Oe, wh = At, dn = sc, Oh = new Co("NonInviteClientTransaction"), Lo = new Co("InviteClientTransaction"), xg = new Co("AckClientTransaction"), Nh = new Co("NonInviteServerTransaction"), Ho = new Co("InviteServerTransaction"), de = {
12942
12942
  // Transaction states.
12943
12943
  STATUS_TRYING: 1,
12944
12944
  STATUS_PROCEEDING: 2,
@@ -12953,7 +12953,7 @@ const Ki = /* @__PURE__ */ Je(sc), Co = _t.EventEmitter, Ao = ht, ro = Oe, wh =
12953
12953
  INVITE_CLIENT: "ict",
12954
12954
  INVITE_SERVER: "ist"
12955
12955
  };
12956
- class Pg extends Co {
12956
+ class Pg extends Ao {
12957
12957
  constructor(s, n, i, a) {
12958
12958
  super(), this.type = de.NON_INVITE_CLIENT, this.id = `z9hG4bK${Math.floor(Math.random() * 1e7)}`, this.ua = s, this.transport = n, this.request = i, this.eventHandlers = a;
12959
12959
  let e = `SIP/2.0/${n.via_transport}`;
@@ -13001,7 +13001,7 @@ class Pg extends Co {
13001
13001
  }
13002
13002
  }
13003
13003
  }
13004
- class Lg extends Co {
13004
+ class Lg extends Ao {
13005
13005
  constructor(s, n, i, a) {
13006
13006
  super(), this.type = de.INVITE_CLIENT, this.id = `z9hG4bK${Math.floor(Math.random() * 1e7)}`, this.ua = s, this.transport = n, this.request = i, this.eventHandlers = a, i.transaction = this;
13007
13007
  let e = `SIP/2.0/${n.via_transport}`;
@@ -13097,7 +13097,7 @@ class Lg extends Co {
13097
13097
  }
13098
13098
  }
13099
13099
  }
13100
- class Hg extends Co {
13100
+ class Hg extends Ao {
13101
13101
  constructor(s, n, i, a) {
13102
13102
  super(), this.id = `z9hG4bK${Math.floor(Math.random() * 1e7)}`, this.transport = n, this.request = i, this.eventHandlers = a;
13103
13103
  let e = `SIP/2.0/${n.via_transport}`;
@@ -13113,7 +13113,7 @@ class Hg extends Co {
13113
13113
  xg.debug(`transport error occurred for transaction ${this.id}`), this.eventHandlers.onTransportError();
13114
13114
  }
13115
13115
  }
13116
- class qg extends Co {
13116
+ class qg extends Ao {
13117
13117
  constructor(s, n, i) {
13118
13118
  super(), this.type = de.NON_INVITE_SERVER, this.id = i.via_branch, this.ua = s, this.transport = n, this.request = i, this.last_response = "", i.server_transaction = this, this.state = de.STATUS_TRYING, s.newTransaction(this);
13119
13119
  }
@@ -13152,7 +13152,7 @@ class qg extends Co {
13152
13152
  }
13153
13153
  }
13154
13154
  }
13155
- class Fg extends Co {
13155
+ class Fg extends Ao {
13156
13156
  constructor(s, n, i) {
13157
13157
  super(), this.type = de.INVITE_SERVER, this.id = i.via_branch, this.ua = s, this.transport = n, this.request = i, this.last_response = "", i.server_transaction = this, this.state = de.STATUS_PROCEEDING, s.newTransaction(this), this.resendProvisionalTimer = null, i.reply(100);
13158
13158
  }
@@ -13350,7 +13350,7 @@ var Qs = class {
13350
13350
  this._eventHandlers.onReceiveResponse(l);
13351
13351
  }
13352
13352
  };
13353
- const uo = /* @__PURE__ */ Je(Qs), Kg = ht, za = At(), ws = Oe, kh = Ct, Uh = Qs, Gi = new Kg("Registrator"), qo = 10;
13353
+ const uo = /* @__PURE__ */ Je(Qs), Kg = ht, za = Ct(), ws = Oe, kh = At, Uh = Qs, Gi = new Kg("Registrator"), qo = 10;
13354
13354
  var Gg = class {
13355
13355
  constructor(l, s) {
13356
13356
  this._reg_id = 1, this._ua = l, this._transport = s, this._registrar = l.configuration.registrar_server, this._expires = l.configuration.register_expires, this._call_id = za.createRandomToken(22), this._cseq = 0, this._to_uri = l.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}`;
@@ -13579,7 +13579,7 @@ var Gd = class {
13579
13579
  }, 1e3)) : l.status_code >= 200 && l.status_code < 300 ? this._eventHandlers.onSuccessResponse(l) : l.status_code >= 300 && this._eventHandlers.onErrorResponse(l);
13580
13580
  }
13581
13581
  };
13582
- const Jg = /* @__PURE__ */ Je(Gd), Zg = ht, Mh = Ct, Kn = Oe, Wi = Xs, eT = Gd, Ja = At(), Za = new Zg("Dialog"), Gn = {
13582
+ const Jg = /* @__PURE__ */ Je(Gd), Zg = ht, Mh = At, Kn = Oe, Wi = Xs, eT = Gd, Ja = Ct(), Za = new Zg("Dialog"), Gn = {
13583
13583
  // Dialog states.
13584
13584
  STATUS_EARLY: 1,
13585
13585
  STATUS_CONFIRMED: 2,
@@ -13710,7 +13710,7 @@ var Wd = class {
13710
13710
  };
13711
13711
  const jo = /* @__PURE__ */ Je(Wd);
13712
13712
  var rc = { exports: {} };
13713
- const tT = _t.EventEmitter, nT = ht, sT = Oe, rT = $n, xh = At(), iT = new nT("RTCSession:DTMF"), Yd = {
13713
+ const tT = _t.EventEmitter, nT = ht, sT = Oe, rT = $n, xh = Ct(), iT = new nT("RTCSession:DTMF"), Yd = {
13714
13714
  MIN_DURATION: 70,
13715
13715
  MAX_DURATION: 6e3,
13716
13716
  DEFAULT_DURATION: 100,
@@ -13794,7 +13794,7 @@ rc.exports = class extends tT {
13794
13794
  };
13795
13795
  rc.exports.C = Yd;
13796
13796
  var zd = rc.exports;
13797
- const oT = /* @__PURE__ */ Je(zd), lT = _t.EventEmitter, aT = Oe, uT = $n, cT = At();
13797
+ const oT = /* @__PURE__ */ Je(zd), lT = _t.EventEmitter, aT = Oe, uT = $n, cT = Ct();
13798
13798
  var Xd = class extends lT {
13799
13799
  constructor(l) {
13800
13800
  super(), this._session = l, this._direction = null, this._contentType = null, this._body = null;
@@ -13882,7 +13882,7 @@ var Qd = class {
13882
13882
  });
13883
13883
  }
13884
13884
  };
13885
- const _T = /* @__PURE__ */ Je(Qd), fT = _t.EventEmitter, pT = ht, Yi = Oe, mT = ln(), Lh = At(), Os = new pT("RTCSession:ReferSubscriber");
13885
+ const _T = /* @__PURE__ */ Je(Qd), fT = _t.EventEmitter, pT = ht, Yi = Oe, mT = ln(), Lh = Ct(), Os = new pT("RTCSession:ReferSubscriber");
13886
13886
  var Jd = class extends fT {
13887
13887
  constructor(l) {
13888
13888
  super(), this._id = null, this._session = l;
@@ -13973,7 +13973,7 @@ var Jd = class extends fT {
13973
13973
  });
13974
13974
  }
13975
13975
  };
13976
- const gT = /* @__PURE__ */ Je(Jd), TT = _t.EventEmitter, Hh = Ht, vT = ht, ce = Oe, Ns = $n, qh = Xs, We = At(), zi = sc, yT = Ct, $o = Wd, ET = Qs, jt = zd, Fh = Xd, ST = Qd, CT = Jd, jh = jn(), K = new vT("RTCSession"), Q = {
13976
+ const gT = /* @__PURE__ */ Je(Jd), TT = _t.EventEmitter, Hh = Ht, vT = ht, ce = Oe, Ns = $n, qh = Xs, We = Ct(), zi = sc, yT = At, $o = Wd, ET = Qs, jt = zd, Fh = Xd, ST = Qd, AT = Jd, jh = jn(), K = new vT("RTCSession"), Q = {
13977
13977
  // RTCSession states.
13978
13978
  STATUS_NULL: 0,
13979
13979
  STATUS_INVITE_SENT: 1,
@@ -14115,14 +14115,14 @@ var Zd = class ku extends TT {
14115
14115
  for (const w in e)
14116
14116
  Object.prototype.hasOwnProperty.call(e, w) && this.on(w, e[w]);
14117
14117
  this._from_tag = We.newTag();
14118
- const y = n.anonymous || !1, C = { from_tag: this._from_tag };
14118
+ const y = n.anonymous || !1, A = { from_tag: this._from_tag };
14119
14119
  this._contact = this._ua.contact.toString({
14120
14120
  anonymous: y,
14121
14121
  outbound: !0
14122
- }), y ? (C.from_display_name = "Anonymous", C.from_uri = new jh("sip", "anonymous", "anonymous.invalid"), d.push(`P-Preferred-Identity: ${this._ua.configuration.uri.toString()}`), d.push("Privacy: id")) : n.fromUserName && (C.from_uri = new jh("sip", n.fromUserName, this._ua.configuration.uri.host), d.push(`P-Preferred-Identity: ${this._ua.configuration.uri.toString()}`)), n.fromDisplayName && (C.from_display_name = n.fromDisplayName), d.push(`Contact: ${this._contact}`), d.push("Content-Type: application/sdp"), this._sessionTimers.enabled && d.push(`Session-Expires: ${this._sessionTimers.defaultExpires}${this._ua.configuration.session_timers_force_refresher ? ";refresher=uac" : ""}`), this._request = new yT.InitialOutgoingInviteRequest(
14122
+ }), y ? (A.from_display_name = "Anonymous", A.from_uri = new jh("sip", "anonymous", "anonymous.invalid"), d.push(`P-Preferred-Identity: ${this._ua.configuration.uri.toString()}`), d.push("Privacy: id")) : n.fromUserName && (A.from_uri = new jh("sip", n.fromUserName, this._ua.configuration.uri.host), d.push(`P-Preferred-Identity: ${this._ua.configuration.uri.toString()}`)), n.fromDisplayName && (A.from_display_name = n.fromDisplayName), d.push(`Contact: ${this._contact}`), d.push("Content-Type: application/sdp"), this._sessionTimers.enabled && d.push(`Session-Expires: ${this._sessionTimers.defaultExpires}${this._ua.configuration.session_timers_force_refresher ? ";refresher=uac" : ""}`), this._request = new yT.InitialOutgoingInviteRequest(
14123
14123
  s,
14124
14124
  this._ua,
14125
- C,
14125
+ A,
14126
14126
  d
14127
14127
  ), this._id = this._request.call_id + this._from_tag, this._createRTCConnection(g, p), this._direction = "outgoing", this._local_identity = this._request.from, this._remote_identity = this._request.to, i && i(this), this._newRTCSession("local", this._request), this._sendInitialRequest(_, T, u);
14128
14128
  }
@@ -14156,7 +14156,7 @@ var Zd = class ku extends TT {
14156
14156
  answer(s = {}) {
14157
14157
  K.debug("answer()");
14158
14158
  const n = this._request, i = We.cloneArray(s.extraHeaders), a = We.cloneObject(s.mediaConstraints), e = s.mediaStream || null, d = We.cloneObject(s.pcConfig, { iceServers: [] }), _ = s.rtcConstraints || null, u = s.rtcAnswerConstraints || null, g = We.cloneObject(s.rtcOfferConstraints);
14159
- let p, T = !1, y = !1, C = !1, w = !1;
14159
+ let p, T = !1, y = !1, A = !1, w = !1;
14160
14160
  if (this._rtcAnswerConstraints = u, this._rtcOfferConstraints = s.rtcOfferConstraints || null, this._data = s.data || this._data, this._direction !== "incoming")
14161
14161
  throw new Ns.NotSupportedError('"answer" not supported for outgoing RTCSession');
14162
14162
  if (this._status !== Q.STATUS_WAITING_FOR_ANSWER)
@@ -14169,7 +14169,7 @@ var Zd = class ku extends TT {
14169
14169
  const R = n.parseSDP();
14170
14170
  Array.isArray(R.media) || (R.media = [R.media]);
14171
14171
  for (const b of R.media)
14172
- b.type === "audio" && (T = !0, (!b.direction || b.direction === "sendrecv") && (C = !0)), b.type === "video" && (y = !0, (!b.direction || b.direction === "sendrecv") && (w = !0));
14172
+ b.type === "audio" && (T = !0, (!b.direction || b.direction === "sendrecv") && (A = !0)), b.type === "video" && (y = !0, (!b.direction || b.direction === "sendrecv") && (w = !0));
14173
14173
  if (e && a.audio === !1) {
14174
14174
  p = e.getAudioTracks();
14175
14175
  for (const b of p)
@@ -14180,7 +14180,7 @@ var Zd = class ku extends TT {
14180
14180
  for (const b of p)
14181
14181
  e.removeTrack(b);
14182
14182
  }
14183
- !e && a.audio === void 0 && (a.audio = C), !e && a.video === void 0 && (a.video = w), !e && !T && !g.offerToReceiveAudio && (a.audio = !1), !e && !y && !g.offerToReceiveVideo && (a.video = !1), this._createRTCConnection(d, _), Promise.resolve().then(() => {
14183
+ !e && a.audio === void 0 && (a.audio = A), !e && a.video === void 0 && (a.video = w), !e && !T && !g.offerToReceiveAudio && (a.audio = !1), !e && !y && !g.offerToReceiveVideo && (a.video = !1), this._createRTCConnection(d, _), Promise.resolve().then(() => {
14184
14184
  if (e)
14185
14185
  return e;
14186
14186
  if (a.audio || a.video)
@@ -14440,7 +14440,7 @@ var Zd = class ku extends TT {
14440
14440
  return !1;
14441
14441
  if (s = this._ua.normalizeTarget(s), !s)
14442
14442
  throw new TypeError(`Invalid target: ${i}`);
14443
- const a = new CT(this);
14443
+ const a = new AT(this);
14444
14444
  a.sendRefer(s, n);
14445
14445
  const e = a.id;
14446
14446
  return this._referSubscribers[e] = a, a.on("requestFailed", () => {
@@ -15300,7 +15300,7 @@ var Zd = class ku extends TT {
15300
15300
  });
15301
15301
  }
15302
15302
  };
15303
- const AT = /* @__PURE__ */ Je(Zd), bT = _t.EventEmitter, RT = ht, tu = Oe, IT = Ct, Xi = At(), wT = Qs, $h = $n, OT = jn(), Bo = new RT("Message");
15303
+ const CT = /* @__PURE__ */ Je(Zd), bT = _t.EventEmitter, RT = ht, tu = Oe, IT = At, Xi = Ct(), wT = Qs, $h = $n, OT = jn(), Bo = new RT("Message");
15304
15304
  var NT = class extends bT {
15305
15305
  constructor(l) {
15306
15306
  super(), this._ua = l, this._request = null, this._closed = !1, this._direction = null, this._local_identity = null, this._remote_identity = null, this._is_replied = !1, this._data = {};
@@ -15421,7 +15421,7 @@ var NT = class extends bT {
15421
15421
  });
15422
15422
  }
15423
15423
  };
15424
- const DT = _t.EventEmitter, kT = ht, nu = Oe, UT = Ct, Qi = At(), MT = Qs, Vh = $n, Ko = new kT("Options");
15424
+ const DT = _t.EventEmitter, kT = ht, nu = Oe, UT = At, Qi = Ct(), MT = Qs, Vh = $n, Ko = new kT("Options");
15425
15425
  var xT = class extends DT {
15426
15426
  constructor(l) {
15427
15427
  super(), this._ua = l, this._request = null, this._closed = !1, this._direction = null, this._local_identity = null, this._remote_identity = null, this._is_replied = !1, this._data = {};
@@ -15541,7 +15541,7 @@ var xT = class extends DT {
15541
15541
  });
15542
15542
  }
15543
15543
  }, ic = {};
15544
- const PT = ht, su = At(), LT = ln(), Ji = new PT("Socket");
15544
+ const PT = ht, su = Ct(), LT = ln(), Ji = new PT("Socket");
15545
15545
  ic.isSocket = (l) => {
15546
15546
  if (Array.isArray(l))
15547
15547
  return !1;
@@ -15719,7 +15719,7 @@ ${l}
15719
15719
  };
15720
15720
  const FT = /* @__PURE__ */ Je(e_);
15721
15721
  var t_ = {};
15722
- const jT = ht, Uu = ln(), Mu = Ct, Go = new jT("Parser");
15722
+ const jT = ht, Uu = ln(), Mu = At, Go = new jT("Parser");
15723
15723
  t_.parseMessage = (l, s) => {
15724
15724
  let n, i, a = l.indexOf(`\r
15725
15725
  `);
@@ -15846,7 +15846,7 @@ function VT(l, s, n, i) {
15846
15846
  error: `error parsing header "${d}"`
15847
15847
  } : !0;
15848
15848
  }
15849
- const BT = ht, n_ = Oe, Kh = Ct, oc = At(), lc = new BT("sanityCheck"), KT = [ev], GT = [
15849
+ const BT = ht, n_ = Oe, Kh = At, oc = Ct(), lc = new BT("sanityCheck"), KT = [ev], GT = [
15850
15850
  YT,
15851
15851
  zT,
15852
15852
  XT,
@@ -15934,7 +15934,7 @@ function co(l) {
15934
15934
  }
15935
15935
  const tv = /* @__PURE__ */ Je(r_);
15936
15936
  var ho = {};
15937
- const Vs = At(), Us = Oe, ru = ln(), Gh = jn(), iu = ic, ou = $n;
15937
+ const Vs = Ct(), Us = Oe, ru = ln(), Gh = jn(), iu = ic, ou = $n;
15938
15938
  ho.settings = {
15939
15939
  // SIP authentication.
15940
15940
  authorization_user: null,
@@ -16114,7 +16114,7 @@ ho.load = (l, s) => {
16114
16114
  throw new ou.ConfigurationError(n, i);
16115
16115
  }
16116
16116
  };
16117
- const nv = _t.EventEmitter, sv = ht, gt = Oe, rv = Gg, Wh = Zd, Yh = NT, zh = xT, lu = Xs, iv = e_, Yo = At(), ov = $n, lv = jn(), av = t_, au = Ct, uv = r_, uu = ho, Ve = new sv("UA"), yt = {
16117
+ const nv = _t.EventEmitter, sv = ht, gt = Oe, rv = Gg, Wh = Zd, Yh = NT, zh = xT, lu = Xs, iv = e_, Yo = Ct(), ov = $n, lv = jn(), av = t_, au = At, uv = r_, uu = ho, Ve = new sv("UA"), yt = {
16118
16118
  // UA status codes.
16119
16119
  STATUS_INIT: 0,
16120
16120
  STATUS_READY: 1,
@@ -16642,7 +16642,7 @@ function Qh(l, s, n) {
16642
16642
  }
16643
16643
  return pv(i);
16644
16644
  }
16645
- var Me = At();
16645
+ var Me = Ct();
16646
16646
  const Pn = /* @__PURE__ */ Je(Me), hu = new xl("Dialog"), Wn = {
16647
16647
  // Dialog states.
16648
16648
  STATUS_EARLY: 1,
@@ -16655,7 +16655,7 @@ class Xo {
16655
16655
  return Wn;
16656
16656
  }
16657
16657
  constructor(s, n, i, a = Wn.STATUS_CONFIRMED) {
16658
- if (this._owner = s, this._ua = s._ua, this._uac_pending_reply = !1, this._uas_pending_reply = !1, n instanceof Ct.IncomingResponse && (a = n.status_code < 200 ? Wn.STATUS_EARLY : Wn.STATUS_CONFIRMED), i === "UAS") {
16658
+ if (this._owner = s, this._ua = s._ua, this._uac_pending_reply = !1, this._uas_pending_reply = !1, n instanceof At.IncomingResponse && (a = n.status_code < 200 ? Wn.STATUS_EARLY : Wn.STATUS_CONFIRMED), i === "UAS") {
16659
16659
  this._id = {
16660
16660
  call_id: n.call_id,
16661
16661
  local_tag: n.to_tag,
@@ -16723,7 +16723,7 @@ class Xo {
16723
16723
  _createRequest(s, n, i) {
16724
16724
  n = Pn.cloneArray(n), this._local_seqnum || (this._local_seqnum = Math.floor(Math.random() * 1e4));
16725
16725
  const a = s === U.CANCEL || s === U.ACK ? this._local_seqnum : this._local_seqnum += 1;
16726
- return new Ct.OutgoingRequest(
16726
+ return new At.OutgoingRequest(
16727
16727
  s,
16728
16728
  this._remote_target,
16729
16729
  this._ua,
@@ -17094,11 +17094,11 @@ class Il extends _t.EventEmitter {
17094
17094
  for (const R in d)
17095
17095
  Object.prototype.hasOwnProperty.call(d, R) && this.on(R, d[R]);
17096
17096
  this._from_tag = Me.newTag();
17097
- const C = i.anonymous || !1, w = { from_tag: this._from_tag };
17097
+ const A = i.anonymous || !1, w = { from_tag: this._from_tag };
17098
17098
  this._contact = this._ua.contact.toString({
17099
- anonymous: C,
17099
+ anonymous: A,
17100
17100
  outbound: !0
17101
- }), C ? (w.from_display_name = "Anonymous", w.from_uri = new xs("sip", "anonymous", "anonymous.invalid"), _.push(`P-Preferred-Identity: ${this._ua.configuration.uri.toString()}`), _.push("Privacy: id")) : i.fromUserName && (w.from_uri = new xs("sip", i.fromUserName, this._ua.configuration.uri.host), _.push(`P-Preferred-Identity: ${this._ua.configuration.uri.toString()}`)), i.fromDisplayName && (w.from_display_name = i.fromDisplayName), _.push(`Contact: ${this._contact}`), _.push("Content-Type: application/json"), this._sessionTimers.enabled && _.push(`Session-Expires: ${this._sessionTimers.defaultExpires}${this._ua.configuration.session_timers_force_refresher ? ";refresher=uac" : ""}`), this._request = new Ct.InitialOutgoingInviteRequest(
17101
+ }), A ? (w.from_display_name = "Anonymous", w.from_uri = new xs("sip", "anonymous", "anonymous.invalid"), _.push(`P-Preferred-Identity: ${this._ua.configuration.uri.toString()}`), _.push("Privacy: id")) : i.fromUserName && (w.from_uri = new xs("sip", i.fromUserName, this._ua.configuration.uri.host), _.push(`P-Preferred-Identity: ${this._ua.configuration.uri.toString()}`)), i.fromDisplayName && (w.from_display_name = i.fromDisplayName), _.push(`Contact: ${this._contact}`), _.push("Content-Type: application/json"), this._sessionTimers.enabled && _.push(`Session-Expires: ${this._sessionTimers.defaultExpires}${this._ua.configuration.session_timers_force_refresher ? ";refresher=uac" : ""}`), this._request = new At.InitialOutgoingInviteRequest(
17102
17102
  s,
17103
17103
  this._ua,
17104
17104
  w,
@@ -17187,7 +17187,7 @@ class Il extends _t.EventEmitter {
17187
17187
  answer(s = {}) {
17188
17188
  z.debug("answer()");
17189
17189
  const n = this._request, i = Me.cloneArray(s.extraHeaders), a = Me.cloneObject(s.mediaConstraints), e = s.mediaStream || null, d = Me.cloneObject(s.pcConfig, { iceServers: [] }), _ = s.rtcConstraints || null, u = s.rtcAnswerConstraints || null, g = Me.cloneObject(s.rtcOfferConstraints);
17190
- let p, T = !1, y = !1, C = !1, w = !1;
17190
+ let p, T = !1, y = !1, A = !1, w = !1;
17191
17191
  if (this._rtcAnswerConstraints = u, this._rtcOfferConstraints = s.rtcOfferConstraints || null, this._data = s.data || this._data, this._direction !== "incoming")
17192
17192
  throw new zn.NotSupportedError('"answer" not supported for outgoing RTCSession');
17193
17193
  if (this._status !== ee.STATUS_WAITING_FOR_ANSWER)
@@ -17200,7 +17200,7 @@ class Il extends _t.EventEmitter {
17200
17200
  const R = n.parseSDP();
17201
17201
  Array.isArray(R.media) || (R.media = [R.media]);
17202
17202
  for (const b of R.media)
17203
- b.type === "audio" && (T = !0, (!b.direction || b.direction === "sendrecv") && (C = !0)), b.type === "video" && (y = !0, (!b.direction || b.direction === "sendrecv") && (w = !0));
17203
+ b.type === "audio" && (T = !0, (!b.direction || b.direction === "sendrecv") && (A = !0)), b.type === "video" && (y = !0, (!b.direction || b.direction === "sendrecv") && (w = !0));
17204
17204
  if (e && a.audio === !1) {
17205
17205
  p = e.getAudioTracks();
17206
17206
  for (const b of p)
@@ -17211,7 +17211,7 @@ class Il extends _t.EventEmitter {
17211
17211
  for (const b of p)
17212
17212
  e.removeTrack(b);
17213
17213
  }
17214
- !e && a.audio === void 0 && (a.audio = C), !e && a.video === void 0 && (a.video = w), !e && !T && !g.offerToReceiveAudio && (a.audio = !1), !e && !y && !g.offerToReceiveVideo && (a.video = !1), this._createRTCConnection(d, _), Promise.resolve().then(() => {
17214
+ !e && a.audio === void 0 && (a.audio = A), !e && a.video === void 0 && (a.video = w), !e && !T && !g.offerToReceiveAudio && (a.audio = !1), !e && !y && !g.offerToReceiveVideo && (a.video = !1), this._createRTCConnection(d, _), Promise.resolve().then(() => {
17215
17215
  if (e)
17216
17216
  return e;
17217
17217
  if (a.audio || a.video)
@@ -18345,13 +18345,13 @@ class Il extends _t.EventEmitter {
18345
18345
  return;
18346
18346
  {
18347
18347
  s.loaded = !0;
18348
- const C = {
18348
+ const A = {
18349
18349
  audio: !0,
18350
18350
  video: !0
18351
18351
  };
18352
18352
  yield new Promise((w) => {
18353
18353
  setTimeout(w, 100);
18354
- }), i = yield s.rtcpPeer.createAnswer(C), this._sendMemberStartMessage(s, i);
18354
+ }), i = yield s.rtcpPeer.createAnswer(A), this._sendMemberStartMessage(s, i);
18355
18355
  }
18356
18356
  const g = u.streams[0].getAudioTracks(), p = u.streams[0].getVideoTracks(), T = [];
18357
18357
  g[0] && T.push(g[0]), p[0] && T.push(p[0]);
@@ -18953,7 +18953,7 @@ ${this.body}\r
18953
18953
  `, s;
18954
18954
  }
18955
18955
  }
18956
- const Ce = {
18956
+ const Ae = {
18957
18957
  // RTCSession states.
18958
18958
  STATUS_NULL: 0,
18959
18959
  STATUS_INVITE_SENT: 1,
@@ -18968,7 +18968,7 @@ const Ce = {
18968
18968
  };
18969
18969
  class du extends _t.EventEmitter {
18970
18970
  constructor(s) {
18971
- super(), this._id = null, this.my_ip = "127.0.0.1", this._ua = s, this.auth_id = Me.createRandomToken(10), this._status = Ce.STATUS_NULL, this._dialog = null, this._earlyDialogs = {}, this._contact = null, this._from_tag = null, this._to_tag = null, this._msgHistory = [], this.target_addr = [], this.my_addr = [], this.credentials = {
18971
+ super(), this._id = null, this.my_ip = "127.0.0.1", this._ua = s, this.auth_id = Me.createRandomToken(10), this._status = Ae.STATUS_NULL, this._dialog = null, this._earlyDialogs = {}, this._contact = null, this._from_tag = null, this._to_tag = null, this._msgHistory = [], this.target_addr = [], this.my_addr = [], this.credentials = {
18972
18972
  username: s._configuration.authorization_user,
18973
18973
  ha1: s._configuration.ha1,
18974
18974
  realm: s._configuration.realm
@@ -18992,7 +18992,7 @@ class du extends _t.EventEmitter {
18992
18992
  * Expose C object.
18993
18993
  */
18994
18994
  static get C() {
18995
- return Ce;
18995
+ return Ae;
18996
18996
  }
18997
18997
  get direction() {
18998
18998
  return this._direction;
@@ -19023,7 +19023,7 @@ class du extends _t.EventEmitter {
19023
19023
  this._request.reply(500, "Error creating dialog");
19024
19024
  return;
19025
19025
  }
19026
- this._status = Ce.STATUS_ANSWERED, clearTimeout(this._timers.userNoAnswerTimer), this.connect();
19026
+ this._status = Ae.STATUS_ANSWERED, clearTimeout(this._timers.userNoAnswerTimer), this.connect();
19027
19027
  }
19028
19028
  acceptParty(s) {
19029
19029
  this._request.parseSDP(!0), this._request.reply(200, "OK", [], `v=0
@@ -19039,7 +19039,7 @@ a=path: ${s.getHeader("Use-Path")} msrp://${this._ua._configuration.authorizatio
19039
19039
  const n = {}, i = [];
19040
19040
  n.to_uri = new xs("sip", this.target, this._ua._configuration.realm), n.from_uri = new xs("sip", this._ua._configuration.uri.user, this._ua._configuration.uri.host), i.push(`Contact: ${this._ua.contact.toString({
19041
19041
  outbound: !0
19042
- })}`), i.push("Content-Type: application/sdp"), this._request = new Ct.InitialOutgoingInviteRequest(
19042
+ })}`), i.push("Content-Type: application/sdp"), this._request = new At.InitialOutgoingInviteRequest(
19043
19043
  new xs("sip", this.target, this._ua._configuration.realm).clone(),
19044
19044
  this._ua,
19045
19045
  n,
@@ -19064,34 +19064,34 @@ a=path:${s.getHeader("Use-Path")} msrp://${this._ua._configuration.authorization
19064
19064
  this._request = a;
19065
19065
  },
19066
19066
  onReceiveResponse: (a) => {
19067
- this._receiveInviteResponse(a), a.status_code === 200 && (a.parseSDP(!0), this._status = Ce.STATUS_CONFIRMED, this.target_addr = a.sdp.media[0].invalid[1].value.replaceAll("path:", "").split(" ").reverse(), this.status = "active", this.emit("active"), this.emit("confirmed"));
19067
+ this._receiveInviteResponse(a), a.status_code === 200 && (a.parseSDP(!0), this._status = Ae.STATUS_CONFIRMED, this.target_addr = a.sdp.media[0].invalid[1].value.replaceAll("path:", "").split(" ").reverse(), this.status = "active", this.emit("active"), this.emit("confirmed"));
19068
19068
  }
19069
- }).send(), this._status = Ce.STATUS_INVITE_SENT;
19069
+ }).send(), this._status = Ae.STATUS_INVITE_SENT;
19070
19070
  }
19071
19071
  terminate(s = {}) {
19072
19072
  const n = s.cause || U.causes.BYE, i = Me.cloneArray(s.extraHeaders), a = s.body;
19073
19073
  let e, d = s.status_code, _ = s.reason_phrase;
19074
- if (this._status === Ce.STATUS_TERMINATED)
19074
+ if (this._status === Ae.STATUS_TERMINATED)
19075
19075
  throw new zn.InvalidStateError(this._status);
19076
19076
  switch (this.status = "terminated", this._status) {
19077
- case Ce.STATUS_NULL:
19078
- case Ce.STATUS_INVITE_SENT:
19079
- case Ce.STATUS_1XX_RECEIVED:
19077
+ case Ae.STATUS_NULL:
19078
+ case Ae.STATUS_INVITE_SENT:
19079
+ case Ae.STATUS_1XX_RECEIVED:
19080
19080
  if (d && (d < 200 || d >= 700))
19081
19081
  throw new TypeError(`Invalid status_code: ${d}`);
19082
- d && (_ = _ || U.REASON_PHRASE[d] || "", e = `SIP ;cause=${d} ;text="${_}"`), this._status === Ce.STATUS_NULL || this._status === Ce.STATUS_INVITE_SENT ? (this._is_canceled = !0, this._cancel_reason = e) : this._status === Ce.STATUS_1XX_RECEIVED && this._request.cancel(e), this._status = Ce.STATUS_CANCELED, this._failed("local", null, U.causes.CANCELED);
19082
+ d && (_ = _ || U.REASON_PHRASE[d] || "", e = `SIP ;cause=${d} ;text="${_}"`), this._status === Ae.STATUS_NULL || this._status === Ae.STATUS_INVITE_SENT ? (this._is_canceled = !0, this._cancel_reason = e) : this._status === Ae.STATUS_1XX_RECEIVED && this._request.cancel(e), this._status = Ae.STATUS_CANCELED, this._failed("local", null, U.causes.CANCELED);
19083
19083
  break;
19084
- case Ce.STATUS_WAITING_FOR_ANSWER:
19085
- case Ce.STATUS_ANSWERED:
19084
+ case Ae.STATUS_WAITING_FOR_ANSWER:
19085
+ case Ae.STATUS_ANSWERED:
19086
19086
  if (d = d || 480, d < 300 || d >= 700)
19087
19087
  throw new TypeError(`Invalid status_code: ${d}`);
19088
19088
  this._request.reply(d, _, i, a), this._failed("local", null, U.causes.REJECTED);
19089
19089
  break;
19090
- case Ce.STATUS_WAITING_FOR_ACK:
19091
- case Ce.STATUS_CONFIRMED:
19090
+ case Ae.STATUS_WAITING_FOR_ACK:
19091
+ case Ae.STATUS_CONFIRMED:
19092
19092
  if (_ = s.reason_phrase || U.REASON_PHRASE[d] || "", d && (d < 200 || d >= 700))
19093
19093
  throw new TypeError(`Invalid status_code: ${d}`);
19094
- if (d && i.push(`Reason: SIP ;cause=${d}; text="${_}"`), this._status === Ce.STATUS_WAITING_FOR_ACK && this._direction === "incoming" && this._request.server_transaction.state !== Kt.C.STATUS_TERMINATED) {
19094
+ if (d && i.push(`Reason: SIP ;cause=${d}; text="${_}"`), this._status === Ae.STATUS_WAITING_FOR_ACK && this._direction === "incoming" && this._request.server_transaction.state !== Kt.C.STATUS_TERMINATED) {
19095
19095
  const u = this._dialog;
19096
19096
  this.receiveRequest = ({ method: g }) => {
19097
19097
  g === U.ACK && (this.sendRequest(U.BYE, {
@@ -19172,10 +19172,10 @@ a=path:${s.getHeader("Use-Path")} msrp://${this._ua._configuration.authorization
19172
19172
  s.status_code >= 100 && s.status_code < 200 ? this._request.cancel(this._cancel_reason) : s.status_code >= 200 && s.status_code < 299 && this._acceptAndTerminate(s);
19173
19173
  return;
19174
19174
  }
19175
- if (!(this._status !== Ce.STATUS_INVITE_SENT && this._status !== Ce.STATUS_1XX_RECEIVED))
19175
+ if (!(this._status !== Ae.STATUS_INVITE_SENT && this._status !== Ae.STATUS_1XX_RECEIVED))
19176
19176
  switch (console.log("start Switch"), !0) {
19177
19177
  case /^100$/.test(s.status_code):
19178
- this._status = Ce.STATUS_1XX_RECEIVED;
19178
+ this._status = Ae.STATUS_1XX_RECEIVED;
19179
19179
  break;
19180
19180
  case /^1[0-9]{2}$/.test(s.status_code): {
19181
19181
  if (!s.to_tag) {
@@ -19184,7 +19184,7 @@ a=path:${s.getHeader("Use-Path")} msrp://${this._ua._configuration.authorization
19184
19184
  }
19185
19185
  if (s.hasHeader("contact") && !this._createDialog(s, "UAC", !0))
19186
19186
  break;
19187
- if (this._status = Ce.STATUS_1XX_RECEIVED, !s.body) {
19187
+ if (this._status = Ae.STATUS_1XX_RECEIVED, !s.body) {
19188
19188
  this._progress("remote", s);
19189
19189
  break;
19190
19190
  }
@@ -19204,7 +19204,7 @@ a=path:${s.getHeader("Use-Path")} msrp://${this._ua._configuration.authorization
19204
19204
  break;
19205
19205
  }
19206
19206
  case /^2[0-9]{2}$/.test(s.status_code): {
19207
- if (console.log("maybe here???"), this._status = Ce.STATUS_CONFIRMED, !s.body) {
19207
+ if (console.log("maybe here???"), this._status = Ae.STATUS_CONFIRMED, !s.body) {
19208
19208
  this._acceptAndTerminate(s, 400, U.causes.MISSING_SDP), console.log("failed 3"), this._failed("remote", s, U.causes.BAD_MEDIA_DESCRIPTION);
19209
19209
  break;
19210
19210
  }
@@ -19279,21 +19279,21 @@ a=path:${s.getHeader("Use-Path")} msrp://${this._ua._configuration.authorization
19279
19279
  s.reply(415);
19280
19280
  return;
19281
19281
  }
19282
- if (this._status = Ce.STATUS_INVITE_RECEIVED, this._from_tag = s.from_tag, this._id = s.call_id + this._from_tag, this._request = s, this._contact = this._ua.contact.toString(), s.hasHeader("expires") && (i = s.getHeader("expires") * 1e3), s.to_tag = Me.newTag(), !this._createDialog(s, "UAS", !0)) {
19282
+ if (this._status = Ae.STATUS_INVITE_RECEIVED, this._from_tag = s.from_tag, this._id = s.call_id + this._from_tag, this._request = s, this._contact = this._ua.contact.toString(), s.hasHeader("expires") && (i = s.getHeader("expires") * 1e3), s.to_tag = Me.newTag(), !this._createDialog(s, "UAS", !0)) {
19283
19283
  s.reply(500, "Missing Contact header field");
19284
19284
  return;
19285
19285
  }
19286
- s.body ? this._late_sdp = !1 : this._late_sdp = !0, this._status = Ce.STATUS_WAITING_FOR_ANSWER, this._timers.userNoAnswerTimer = setTimeout(
19286
+ s.body ? this._late_sdp = !1 : this._late_sdp = !0, this._status = Ae.STATUS_WAITING_FOR_ANSWER, this._timers.userNoAnswerTimer = setTimeout(
19287
19287
  () => {
19288
19288
  s.reply(408), console.log("failed 6"), this._failed("local", null, U.causes.NO_ANSWER);
19289
19289
  },
19290
19290
  this._ua.configuration.no_answer_timeout
19291
19291
  ), i && (this._timers.expiresTimer = setTimeout(
19292
19292
  () => {
19293
- this._status === Ce.STATUS_WAITING_FOR_ANSWER && (s.reply(487), console.log("failed 7"), this._failed("system", null, U.causes.EXPIRES));
19293
+ this._status === Ae.STATUS_WAITING_FOR_ANSWER && (s.reply(487), console.log("failed 7"), this._failed("system", null, U.causes.EXPIRES));
19294
19294
  },
19295
19295
  i
19296
- )), this._direction = "incoming", this._local_identity = s.to, this._remote_identity = s.from, n && n(this), s.parseSDP(!0), this.target_addr = s.sdp.media[0].invalid[1].value.replaceAll("path:", "").split(" ").reverse(), this._newMSRPSession("remote", s), this._status !== Ce.STATUS_TERMINATED && (s.reply(180, null, [`Contact: ${this._ua._contact}`]), this._progress("local", null));
19296
+ )), this._direction = "incoming", this._local_identity = s.to, this._remote_identity = s.from, n && n(this), s.parseSDP(!0), this.target_addr = s.sdp.media[0].invalid[1].value.replaceAll("path:", "").split(" ").reverse(), this._newMSRPSession("remote", s), this._status !== Ae.STATUS_TERMINATED && (s.reply(180, null, [`Contact: ${this._ua._contact}`]), this._progress("local", null));
19297
19297
  }
19298
19298
  _failed(s, n, i) {
19299
19299
  this.emit("_failed", {
@@ -19307,8 +19307,8 @@ a=path:${s.getHeader("Use-Path")} msrp://${this._ua._configuration.authorization
19307
19307
  });
19308
19308
  }
19309
19309
  _close() {
19310
- if (console.log("CLOSE SESSION"), this._status !== Ce.STATUS_TERMINATED) {
19311
- if (this._status = Ce.STATUS_TERMINATED, this._connection)
19310
+ if (console.log("CLOSE SESSION"), this._status !== Ae.STATUS_TERMINATED) {
19311
+ if (this._status = Ae.STATUS_TERMINATED, this._connection)
19312
19312
  try {
19313
19313
  this._connection.close();
19314
19314
  } catch (s) {
@@ -19351,8 +19351,8 @@ a=path:${s.getHeader("Use-Path")} msrp://${this._ua._configuration.authorization
19351
19351
  }
19352
19352
  isEnded() {
19353
19353
  switch (this._status) {
19354
- case Ce.STATUS_CANCELED:
19355
- case Ce.STATUS_TERMINATED:
19354
+ case Ae.STATUS_CANCELED:
19355
+ case Ae.STATUS_TERMINATED:
19356
19356
  return !0;
19357
19357
  default:
19358
19358
  return !1;
@@ -19385,13 +19385,13 @@ a=path:${s.getHeader("Use-Path")} msrp://${this._ua._configuration.authorization
19385
19385
  }
19386
19386
  receiveRequest(s) {
19387
19387
  if (console.log("receiveRequest()"), s.method === U.CANCEL)
19388
- (this._status === Ce.STATUS_WAITING_FOR_ANSWER || this._status === Ce.STATUS_ANSWERED) && (this._status = Ce.STATUS_CANCELED, this._request.reply(487), console.log("failed 10"), this._failed("remote", s, U.causes.CANCELED));
19388
+ (this._status === Ae.STATUS_WAITING_FOR_ANSWER || this._status === Ae.STATUS_ANSWERED) && (this._status = Ae.STATUS_CANCELED, this._request.reply(487), console.log("failed 10"), this._failed("remote", s, U.causes.CANCELED));
19389
19389
  else
19390
19390
  switch (s.method) {
19391
19391
  case U.ACK:
19392
- if (this._status !== Ce.STATUS_WAITING_FOR_ACK)
19392
+ if (this._status !== Ae.STATUS_WAITING_FOR_ACK)
19393
19393
  return;
19394
- if (this._status = Ce.STATUS_CONFIRMED, clearTimeout(this._timers.ackTimer), clearTimeout(this._timers.invite2xxTimer), this._late_sdp) {
19394
+ if (this._status = Ae.STATUS_CONFIRMED, clearTimeout(this._timers.ackTimer), clearTimeout(this._timers.invite2xxTimer), this._late_sdp) {
19395
19395
  if (!s.body) {
19396
19396
  this.terminate({
19397
19397
  cause: U.causes.MISSING_SDP,
@@ -19421,43 +19421,43 @@ a=path:${s.getHeader("Use-Path")} msrp://${this._ua._configuration.authorization
19421
19421
  this._is_confirmed || this._confirmed("remote", s);
19422
19422
  break;
19423
19423
  case U.BYE:
19424
- this._status === Ce.STATUS_CONFIRMED || this._status === Ce.STATUS_WAITING_FOR_ACK ? (s.reply(200), this._ended("remote", s, U.causes.BYE)) : this._status === Ce.STATUS_INVITE_RECEIVED || this._status === Ce.STATUS_WAITING_FOR_ANSWER ? (s.reply(200), this._request.reply(487, "BYE Received"), this._ended("remote", s, U.causes.BYE)) : s.reply(403, "Wrong Status");
19424
+ this._status === Ae.STATUS_CONFIRMED || this._status === Ae.STATUS_WAITING_FOR_ACK ? (s.reply(200), this._ended("remote", s, U.causes.BYE)) : this._status === Ae.STATUS_INVITE_RECEIVED || this._status === Ae.STATUS_WAITING_FOR_ANSWER ? (s.reply(200), this._request.reply(487, "BYE Received"), this._ended("remote", s, U.causes.BYE)) : s.reply(403, "Wrong Status");
19425
19425
  break;
19426
19426
  case U.INVITE:
19427
- this._status === Ce.STATUS_CONFIRMED ? s.hasHeader("replaces") ? this._receiveReplaces(s) : this._receiveReinvite(s) : s.reply(403, "Wrong Status");
19427
+ this._status === Ae.STATUS_CONFIRMED ? s.hasHeader("replaces") ? this._receiveReplaces(s) : this._receiveReinvite(s) : s.reply(403, "Wrong Status");
19428
19428
  break;
19429
19429
  case U.INFO:
19430
- this._status === Ce.STATUS_1XX_RECEIVED || this._status === Ce.STATUS_WAITING_FOR_ANSWER || this._status === Ce.STATUS_ANSWERED || this._status === Ce.STATUS_WAITING_FOR_ACK || this._status === Ce.STATUS_CONFIRMED ? (s.hasHeader("Content-Type") ? s.getHeader("Content-Type").toLowerCase() : void 0) !== void 0 ? new Du(this).init_incoming(s) : s.reply(415) : s.reply(403, "Wrong Status");
19430
+ this._status === Ae.STATUS_1XX_RECEIVED || this._status === Ae.STATUS_WAITING_FOR_ANSWER || this._status === Ae.STATUS_ANSWERED || this._status === Ae.STATUS_WAITING_FOR_ACK || this._status === Ae.STATUS_CONFIRMED ? (s.hasHeader("Content-Type") ? s.getHeader("Content-Type").toLowerCase() : void 0) !== void 0 ? new Du(this).init_incoming(s) : s.reply(415) : s.reply(403, "Wrong Status");
19431
19431
  break;
19432
19432
  case U.UPDATE:
19433
- this._status === Ce.STATUS_CONFIRMED ? this._receiveUpdate(s) : s.reply(403, "Wrong Status");
19433
+ this._status === Ae.STATUS_CONFIRMED ? this._receiveUpdate(s) : s.reply(403, "Wrong Status");
19434
19434
  break;
19435
19435
  case U.REFER:
19436
- this._status === Ce.STATUS_CONFIRMED ? this._receiveRefer(s) : s.reply(403, "Wrong Status");
19436
+ this._status === Ae.STATUS_CONFIRMED ? this._receiveRefer(s) : s.reply(403, "Wrong Status");
19437
19437
  break;
19438
19438
  case U.NOTIFY:
19439
- this._status === Ce.STATUS_CONFIRMED ? this._receiveNotify(s) : s.reply(403, "Wrong Status");
19439
+ this._status === Ae.STATUS_CONFIRMED ? this._receiveNotify(s) : s.reply(403, "Wrong Status");
19440
19440
  break;
19441
19441
  default:
19442
19442
  s.reply(501);
19443
19443
  }
19444
19444
  }
19445
19445
  onTransportError() {
19446
- console.log("onTransportError()"), this._status !== Ce.STATUS_TERMINATED && this.terminate({
19446
+ console.log("onTransportError()"), this._status !== Ae.STATUS_TERMINATED && this.terminate({
19447
19447
  status_code: 500,
19448
19448
  reason_phrase: U.causes.CONNECTION_ERROR,
19449
19449
  cause: U.causes.CONNECTION_ERROR
19450
19450
  });
19451
19451
  }
19452
19452
  onRequestTimeout() {
19453
- console.log("onRequestTimeout()"), this._status !== Ce.STATUS_TERMINATED && this.terminate({
19453
+ console.log("onRequestTimeout()"), this._status !== Ae.STATUS_TERMINATED && this.terminate({
19454
19454
  status_code: 408,
19455
19455
  reason_phrase: U.causes.REQUEST_TIMEOUT,
19456
19456
  cause: U.causes.REQUEST_TIMEOUT
19457
19457
  });
19458
19458
  }
19459
19459
  onDialogError() {
19460
- console.log("onDialogError()"), this._status !== Ce.STATUS_TERMINATED && this.terminate({
19460
+ console.log("onDialogError()"), this._status !== Ae.STATUS_TERMINATED && this.terminate({
19461
19461
  status_code: 500,
19462
19462
  reason_phrase: U.causes.DIALOG_ERROR,
19463
19463
  cause: U.causes.DIALOG_ERROR
@@ -19465,7 +19465,7 @@ a=path:${s.getHeader("Use-Path")} msrp://${this._ua._configuration.authorization
19465
19465
  }
19466
19466
  }
19467
19467
  var Sv = ln();
19468
- const xu = /* @__PURE__ */ Je(Sv), Jo = new xl("Parser"), Cv = (l, s) => {
19468
+ const xu = /* @__PURE__ */ Je(Sv), Jo = new xl("Parser"), Av = (l, s) => {
19469
19469
  let n, i, a = l.indexOf(`\r
19470
19470
  `);
19471
19471
  if (a === -1) {
@@ -19482,7 +19482,7 @@ const xu = /* @__PURE__ */ Je(Sv), Jo = new xl("Parser"), Cv = (l, s) => {
19482
19482
  n.data = l;
19483
19483
  let _ = a + 2;
19484
19484
  for (; ; ) {
19485
- if (a = Av(l, _), a === -2) {
19485
+ if (a = Cv(l, _), a === -2) {
19486
19486
  i = _ + 2;
19487
19487
  break;
19488
19488
  } else if (a === -1) {
@@ -19502,7 +19502,7 @@ const xu = /* @__PURE__ */ Je(Sv), Jo = new xl("Parser"), Cv = (l, s) => {
19502
19502
  n.body = l.substring(i);
19503
19503
  return n;
19504
19504
  };
19505
- function Av(l, s) {
19505
+ function Cv(l, s) {
19506
19506
  let n = s, i = 0, a = 0;
19507
19507
  if (l.substring(n, n + 2).match(/(^\r\n)/))
19508
19508
  return -2;
@@ -19592,7 +19592,7 @@ function bv(l, s, n, i) {
19592
19592
  } : !0;
19593
19593
  }
19594
19594
  const Rv = {
19595
- parseMessage: Cv
19595
+ parseMessage: Av
19596
19596
  }, Zi = new xl("Registrator"), Zo = 10;
19597
19597
  class Iv {
19598
19598
  constructor(s, n) {
@@ -19633,7 +19633,7 @@ class Iv {
19633
19633
  }
19634
19634
  const s = this._extraHeaders.slice();
19635
19635
  s.push(`Contact: ${this._contact}${this._extraContactParams}>${this._extra_contact};expires=${this._expires}`), s.push(`Expires: ${this._expires}`);
19636
- const n = new Ct.OutgoingRequest(
19636
+ const n = new At.OutgoingRequest(
19637
19637
  U.REGISTER,
19638
19638
  this._registrar,
19639
19639
  this._ua,
@@ -19700,7 +19700,7 @@ class Iv {
19700
19700
  this._registered = !1, this._registrationTimer !== null && (clearTimeout(this._registrationTimer), this._registrationTimer = null);
19701
19701
  const n = this._extraHeaders.slice();
19702
19702
  s.all ? n.push(`Contact: *${this._extraContactParams}`) : n.push(`Contact: ${this._contact}${this._extraContactParams}>${this._extra_contact};expires=0`), n.push("Expires: 0");
19703
- const i = new Ct.OutgoingRequest(
19703
+ const i = new At.OutgoingRequest(
19704
19704
  U.REGISTER,
19705
19705
  this._registrar,
19706
19706
  this._ua,
@@ -19979,7 +19979,7 @@ class Ov extends wv {
19979
19979
  g.to_tag
19980
19980
  ), _ ? (u = _.owner, u.isEnded() ? s.reply(603) : u.receiveRequest(s)) : s.reply(481);
19981
19981
  } else
19982
- s.body.search(/MSRP/ig) > -1 ? (u = new du(this), u.init_incoming(s)) : s.body.search(/JANUS/ig) > -1 || (u = new AT(this), u.init_incoming(s));
19982
+ s.body.search(/MSRP/ig) > -1 ? (u = new du(this), u.init_incoming(s)) : s.body.search(/JANUS/ig) > -1 || (u = new CT(this), u.init_incoming(s));
19983
19983
  else
19984
19984
  it.warn("INVITE received but WebRTC is not supported"), s.reply(488);
19985
19985
  break;
@@ -20269,7 +20269,7 @@ var Fv = class {
20269
20269
  Ut.warn(`WebSocket ${this._url} error: `, l);
20270
20270
  }
20271
20271
  };
20272
- const Pu = Ol, jv = Oe, $v = $n, Vv = At(), Bv = i_, Kv = jn(), Gv = tc(), Wv = ln(), Yv = Fv, zv = zs("JsSIP");
20272
+ const Pu = Ol, jv = Oe, $v = $n, Vv = Ct(), Bv = i_, Kv = jn(), Gv = tc(), Wv = ln(), Yv = Fv, zv = zs("JsSIP");
20273
20273
  zv("version %s", Pu.version);
20274
20274
  var Xv = {
20275
20275
  C: jv,
@@ -20474,7 +20474,7 @@ var ny = { exports: {} };
20474
20474
  return e(Re, "_invoke", { value: M(Z, k, Ue) }), Re;
20475
20475
  }
20476
20476
  n.wrap = y;
20477
- function C(Z, V, k) {
20477
+ function A(Z, V, k) {
20478
20478
  try {
20479
20479
  return { type: "normal", arg: Z.call(V, k) };
20480
20480
  } catch (Se) {
@@ -20523,7 +20523,7 @@ var ny = { exports: {} };
20523
20523
  };
20524
20524
  function q(Z, V) {
20525
20525
  function k(Re, Ue, _e, le) {
20526
- var Ke = C(Z[Re], Z, Ue);
20526
+ var Ke = A(Z[Re], Z, Ue);
20527
20527
  if (Ke.type === "throw")
20528
20528
  le(Ke.arg);
20529
20529
  else {
@@ -20608,7 +20608,7 @@ var ny = { exports: {} };
20608
20608
  } else
20609
20609
  k.method === "return" && k.abrupt("return", k.arg);
20610
20610
  Se = b;
20611
- var le = C(Z, V, k);
20611
+ var le = A(Z, V, k);
20612
20612
  if (le.type === "normal") {
20613
20613
  if (Se = k.done ? G : R, le.arg === P)
20614
20614
  continue;
@@ -20627,7 +20627,7 @@ var ny = { exports: {} };
20627
20627
  return V.delegate = null, k === "throw" && Z.iterator.return && (V.method = "return", V.arg = d, W(Z, V), V.method === "throw") || k !== "return" && (V.method = "throw", V.arg = new TypeError(
20628
20628
  "The iterator does not provide a '" + k + "' method"
20629
20629
  )), P;
20630
- var me = C(Se, Z.iterator, V.arg);
20630
+ var me = A(Se, Z.iterator, V.arg);
20631
20631
  if (me.type === "throw")
20632
20632
  return V.method = "throw", V.arg = me.arg, V.delegate = null, P;
20633
20633
  var Re = me.arg;
@@ -20916,12 +20916,12 @@ var a_ = { exports: {} };
20916
20916
  var N = pe();
20917
20917
  N == null && (N = b), P.setLevel(N, !1);
20918
20918
  }
20919
- var y = new T(), C = {};
20919
+ var y = new T(), A = {};
20920
20920
  y.getLogger = function(R) {
20921
20921
  if (typeof R != "symbol" && typeof R != "string" || R === "")
20922
20922
  throw new TypeError("You must supply a name when creating a logger.");
20923
- var b = C[R];
20924
- return b || (b = C[R] = new T(
20923
+ var b = A[R];
20924
+ return b || (b = A[R] = new T(
20925
20925
  R,
20926
20926
  y.getLevel(),
20927
20927
  y.methodFactory
@@ -20931,7 +20931,7 @@ var a_ = { exports: {} };
20931
20931
  return y.noConflict = function() {
20932
20932
  return typeof window !== n && window.log === y && (window.log = w), y;
20933
20933
  }, y.getLoggers = function() {
20934
- return C;
20934
+ return A;
20935
20935
  }, y.default = y, y;
20936
20936
  });
20937
20937
  })(a_);
@@ -21355,7 +21355,7 @@ const io = /* @__PURE__ */ Je(ay), uy = () => "WebRTCMetrics", cy = () => "5.0.3
21355
21355
  );
21356
21356
  return s !== "relay" ? `direct/${n}` : `turn/${n}`;
21357
21357
  };
21358
- class Cy {
21358
+ class Ay {
21359
21359
  constructor(s) {
21360
21360
  this._start = null, this._end = null, this._cfg = s, this._referenceReport = null, this._reports = [], this._events = [];
21361
21361
  }
@@ -21537,7 +21537,7 @@ class Cy {
21537
21537
  max: "number (1-5)",
21538
21538
  volatility: "percent"
21539
21539
  }
21540
- }, C = Tt(
21540
+ }, A = Tt(
21541
21541
  this._reports,
21542
21542
  D.AUDIO,
21543
21543
  "total_packets_lost_in",
@@ -21548,9 +21548,9 @@ class Cy {
21548
21548
  "total_packets_in",
21549
21549
  _
21550
21550
  ), R = {
21551
- lost: C,
21551
+ lost: A,
21552
21552
  avg: Math.round(
21553
- (C / (C + w) * 100 || 0) * 100
21553
+ (A / (A + w) * 100 || 0) * 100
21554
21554
  ) / 100,
21555
21555
  _unit: {
21556
21556
  avg: "percent",
@@ -21672,7 +21672,7 @@ class Cy {
21672
21672
  max: "ms",
21673
21673
  volatility: "percent"
21674
21674
  }
21675
- }, C = Tt(
21675
+ }, A = Tt(
21676
21676
  this._reports,
21677
21677
  D.AUDIO,
21678
21678
  "total_packets_lost_out",
@@ -21683,9 +21683,9 @@ class Cy {
21683
21683
  "total_packets_out",
21684
21684
  _
21685
21685
  ), R = {
21686
- lost: C,
21686
+ lost: A,
21687
21687
  avg: Math.round(
21688
- (C / (C + w) * 100 || 0) * 100
21688
+ (A / (A + w) * 100 || 0) * 100
21689
21689
  ) / 100,
21690
21690
  _unit: {
21691
21691
  avg: "percent",
@@ -21830,7 +21830,7 @@ class Cy {
21830
21830
  D.VIDEO,
21831
21831
  "total_packets_lost_in",
21832
21832
  _
21833
- ), C = Tt(
21833
+ ), A = Tt(
21834
21834
  this._reports,
21835
21835
  D.VIDEO,
21836
21836
  "total_packets_in",
@@ -21838,7 +21838,7 @@ class Cy {
21838
21838
  ), w = {
21839
21839
  lost: y,
21840
21840
  avg: Math.round(
21841
- (y / (y + C) * 100 || 0) * 100
21841
+ (y / (y + A) * 100 || 0) * 100
21842
21842
  ) / 100,
21843
21843
  _unit: {
21844
21844
  avg: "percent",
@@ -21959,7 +21959,7 @@ class Cy {
21959
21959
  max: "ms",
21960
21960
  volatility: "percent"
21961
21961
  }
21962
- }, C = Tt(
21962
+ }, A = Tt(
21963
21963
  this._reports,
21964
21964
  D.VIDEO,
21965
21965
  "total_packets_lost_out",
@@ -21970,9 +21970,9 @@ class Cy {
21970
21970
  "total_packets_out",
21971
21971
  _
21972
21972
  ), R = {
21973
- lost: C,
21973
+ lost: A,
21974
21974
  avg: Math.round(
21975
- (C / (C + w) * 100 || 0) * 100
21975
+ (A / (A + w) * 100 || 0) * 100
21976
21976
  ) / 100,
21977
21977
  _unit: {
21978
21978
  avg: "percent",
@@ -22147,7 +22147,7 @@ const Yn = "extractor ", rd = (l, s, n, i) => {
22147
22147
  totalRTT: T,
22148
22148
  totalRTTMeasurements: y
22149
22149
  };
22150
- }, Ay = (l, s, n, i) => {
22150
+ }, Cy = (l, s, n, i) => {
22151
22151
  if (!Object.prototype.hasOwnProperty.call(
22152
22152
  l,
22153
22153
  F.CURRENT_ROUND_TRIP_TIME
@@ -22224,9 +22224,9 @@ const Yn = "extractor ", rd = (l, s, n, i) => {
22224
22224
  bytesReceived: n[s].total_KBytes_in
22225
22225
  };
22226
22226
  const a = Number(l[F.PACKETS_RECEIVED]) || 0 - (i ? i[s].total_packets_in : 0), e = Number(l[F.PACKETS_LOST]) || 0 - (i ? i[s].total_packets_lost_in : 0), d = e - n[s].total_packets_lost_in, _ = a - n[s].total_packets_in, u = a !== n[s].total_packets_in ? d * 100 / (d + _) : 0, g = Number(l[F.BYTES_RECEIVED]) / 1024 - (i ? i[s].total_KBytes_in : 0), p = g - n[s].total_KBytes_in, T = l[F.TIMESTAMP] || Date.now(), y = i ? i.timestamp : null;
22227
- let C = n.timestamp;
22228
- !C && y && (C = y);
22229
- const w = C ? T - C : 0, R = w > 0 ? p * 8e-3 * 1024 / w * 1e3 : 0;
22227
+ let A = n.timestamp;
22228
+ !A && y && (A = y);
22229
+ const w = A ? T - A : 0, R = w > 0 ? p * 8e-3 * 1024 / w * 1e3 : 0;
22230
22230
  return {
22231
22231
  percentPacketsLost: u,
22232
22232
  packetsReceived: a,
@@ -22340,7 +22340,7 @@ const Yn = "extractor ", rd = (l, s, n, i) => {
22340
22340
  l,
22341
22341
  s,
22342
22342
  i
22343
- ), g = xy(l), p = Ay(
22343
+ ), g = xy(l), p = Cy(
22344
22344
  l,
22345
22345
  "data",
22346
22346
  i,
@@ -22523,7 +22523,7 @@ const Yn = "extractor ", rd = (l, s, n, i) => {
22523
22523
  D.VIDEO,
22524
22524
  _,
22525
22525
  u
22526
- ), T = el(l, D.VIDEO, _), y = l[F.DECODER_IMPLEMENTATION] || null, C = l[F.CODEC_ID] || null, w = ad(l), R = Ny(
22526
+ ), T = el(l, D.VIDEO, _), y = l[F.DECODER_IMPLEMENTATION] || null, A = l[F.CODEC_ID] || null, w = ad(l), R = Ny(
22527
22527
  l,
22528
22528
  _,
22529
22529
  u
@@ -22532,7 +22532,7 @@ const Yn = "extractor ", rd = (l, s, n, i) => {
22532
22532
  {
22533
22533
  ssrc: d,
22534
22534
  type: oe.VIDEO,
22535
- value: { codec_id_in: C }
22535
+ value: { codec_id_in: A }
22536
22536
  },
22537
22537
  {
22538
22538
  ssrc: d,
@@ -22673,7 +22673,7 @@ const Yn = "extractor ", rd = (l, s, n, i) => {
22673
22673
  ];
22674
22674
  }
22675
22675
  if (l[F.MEDIA_TYPE] === D.VIDEO) {
22676
- const g = l[F.ENCODER_IMPLEMENTATION] || null, p = l[F.CODEC_ID] || null, T = Ry(l, _), y = ad(l), C = Oy(l), w = Dy(
22676
+ const g = l[F.ENCODER_IMPLEMENTATION] || null, p = l[F.CODEC_ID] || null, T = Ry(l, _), y = ad(l), A = Oy(l), w = Dy(
22677
22677
  l,
22678
22678
  _,
22679
22679
  u
@@ -22757,7 +22757,7 @@ const Yn = "extractor ", rd = (l, s, n, i) => {
22757
22757
  {
22758
22758
  ssrc: d,
22759
22759
  type: oe.VIDEO,
22760
- value: { limitation_out: C }
22760
+ value: { limitation_out: A }
22761
22761
  }
22762
22762
  ];
22763
22763
  }
@@ -22916,23 +22916,23 @@ const Yn = "extractor ", rd = (l, s, n, i) => {
22916
22916
  }
22917
22917
  return [];
22918
22918
  }, Ll = (l) => l < 0 ? 1 : l > 100 ? 4.5 : 1 + 0.035 * l + 7 / 1e6 * l * (l - 60) * (100 - l), Ly = (l, s = D.AUDIO, n, i, a) => {
22919
- const e = dt(a, l, He.INBOUND), d = dt(a, n, He.INBOUND), _ = dt(a, i, He.INBOUND), u = [], g = [], p = e[s].percent_packets_lost_in, T = e[s].delta_jitter_ms_in, y = d && d[s].delta_jitter_ms_in || null, C = _ && _[s].delta_jitter_ms_in || null, w = l.data.delta_rtt_connectivity_ms, R = n && n.data.delta_rtt_connectivity_ms || null, b = i && i.data.delta_rtt_connectivity_ms || null;
22920
- w && u.push(w), R && u.push(R), b && u.push(b), T && g.push(T), n && y && g.push(y), i && C && g.push(C);
22919
+ const e = dt(a, l, He.INBOUND), d = dt(a, n, He.INBOUND), _ = dt(a, i, He.INBOUND), u = [], g = [], p = e[s].percent_packets_lost_in, T = e[s].delta_jitter_ms_in, y = d && d[s].delta_jitter_ms_in || null, A = _ && _[s].delta_jitter_ms_in || null, w = l.data.delta_rtt_connectivity_ms, R = n && n.data.delta_rtt_connectivity_ms || null, b = i && i.data.delta_rtt_connectivity_ms || null;
22920
+ w && u.push(w), R && u.push(R), b && u.push(b), T && g.push(T), n && y && g.push(y), i && A && g.push(A);
22921
22921
  const G = u.length > 0 ? Jn(u) : 100, P = g.length > 0 ? Jn(g) : 10, ve = 93.2 - p, O = 0.18 * ve * ve - 27.9 * ve + 1126.62, j = (G + P) / 2, pe = j - 177.3 < 0 ? 0 : 1, Te = 0.024 * j + 0.11 * (j - 177.3) * pe, N = O - Te;
22922
22922
  return Ll(N);
22923
22923
  }, Hy = (l, s = D.AUDIO, n, i, a) => {
22924
- const e = dt(a, l, He.OUTBOUND), d = dt(a, n, He.OUTBOUND), _ = dt(a, i, He.OUTBOUND), u = [], g = [], p = e[s].percent_packets_lost_out, T = e[s].delta_rtt_ms_out, y = d && d[s].delta_rtt_ms_out || null, C = _ && _[s].delta_rtt_ms_out || null, w = e[s].delta_jitter_ms_out, R = d && d[s].delta_jitter_ms_out || null, b = _ && _[s].delta_jitter_ms_out || null, G = l.data.delta_rtt_connectivity_ms, P = n && n.data.delta_rtt_connectivity_ms || null, ve = i && i.data.delta_rtt_connectivity_ms || null;
22925
- T ? u.push(T) : G && u.push(G), y ? u.push(y) : P && u.push(P), C ? u.push(C) : ve && u.push(ve), w && g.push(w), n && R && g.push(R), i && b && g.push(b);
22924
+ const e = dt(a, l, He.OUTBOUND), d = dt(a, n, He.OUTBOUND), _ = dt(a, i, He.OUTBOUND), u = [], g = [], p = e[s].percent_packets_lost_out, T = e[s].delta_rtt_ms_out, y = d && d[s].delta_rtt_ms_out || null, A = _ && _[s].delta_rtt_ms_out || null, w = e[s].delta_jitter_ms_out, R = d && d[s].delta_jitter_ms_out || null, b = _ && _[s].delta_jitter_ms_out || null, G = l.data.delta_rtt_connectivity_ms, P = n && n.data.delta_rtt_connectivity_ms || null, ve = i && i.data.delta_rtt_connectivity_ms || null;
22925
+ T ? u.push(T) : G && u.push(G), y ? u.push(y) : P && u.push(P), A ? u.push(A) : ve && u.push(ve), w && g.push(w), n && R && g.push(R), i && b && g.push(b);
22926
22926
  const O = u.length > 0 ? Jn(u) : 100, j = g.length > 0 ? Jn(g) : 10, pe = 93.2 - p, Te = 0.18 * pe * pe - 27.9 * pe + 1126.62, N = (O + j) / 2, H = N - 177.3 < 0 ? 0 : 1, $ = 0.024 * N + 0.11 * (N - 177.3) * H, q = Te - $;
22927
22927
  return Ll(q);
22928
22928
  }, qy = (l, s = D.AUDIO, n, i, a) => {
22929
- const e = dt(a, l, He.INBOUND), d = dt(a, n, He.INBOUND), _ = dt(a, i, He.INBOUND), u = [], g = [], p = e[s].percent_packets_lost_in / 100, T = e[s].delta_jitter_ms_in, y = d && d[s].delta_jitter_ms_in || null, C = _ && _[s].delta_jitter_ms_in || null, w = l.data.delta_rtt_connectivity_ms, R = n && n.data.delta_rtt_connectivity_ms || null, b = i && i.data.delta_rtt_connectivity_ms || null;
22930
- w && u.push(w), R && u.push(R), b && u.push(b), T && g.push(T), d && y && g.push(y), _ && C && g.push(C);
22929
+ const e = dt(a, l, He.INBOUND), d = dt(a, n, He.INBOUND), _ = dt(a, i, He.INBOUND), u = [], g = [], p = e[s].percent_packets_lost_in / 100, T = e[s].delta_jitter_ms_in, y = d && d[s].delta_jitter_ms_in || null, A = _ && _[s].delta_jitter_ms_in || null, w = l.data.delta_rtt_connectivity_ms, R = n && n.data.delta_rtt_connectivity_ms || null, b = i && i.data.delta_rtt_connectivity_ms || null;
22930
+ w && u.push(w), R && u.push(R), b && u.push(b), T && g.push(T), d && y && g.push(y), _ && A && g.push(A);
22931
22931
  const G = u.length > 0 ? Jn(u) : 100, P = g.length > 0 ? Jn(g) : 10, ve = 0, O = 19.8, j = 29.7, pe = 30, Te = (G + P) / 2 + pe, N = Te - 177.3 < 0 ? 0 : 1, H = 0.024 * Te + 0.11 * (Te - 177.3) * N, $ = 93.2 - (ve + O * Math.log(1 + j * p) + H);
22932
22932
  return Ll($);
22933
22933
  }, Fy = (l, s = D.AUDIO, n, i, a) => {
22934
- const e = dt(a, l, He.OUTBOUND), d = dt(a, n, He.OUTBOUND), _ = dt(a, i, He.OUTBOUND), u = [], g = [], p = e[s].percent_packets_lost_out / 100, T = e[s].delta_rtt_ms_out, y = d && d[s].delta_rtt_ms_out || null, C = _ && _[s].delta_rtt_ms_out || null, w = e[s].delta_jitter_ms_out, R = d && d[s].delta_jitter_ms_out || null, b = _ && _[s].delta_jitter_ms_out || null, G = l.data.delta_rtt_connectivity_ms, P = n && n.data.delta_rtt_connectivity_ms || null, ve = i && i.data.delta_rtt_connectivity_ms || null;
22935
- T ? u.push(T) : G && u.push(G), y ? u.push(y) : P && u.push(P), C ? u.push(C) : ve && u.push(ve), w && g.push(w), d && R && g.push(R), _ && b && g.push(b);
22934
+ const e = dt(a, l, He.OUTBOUND), d = dt(a, n, He.OUTBOUND), _ = dt(a, i, He.OUTBOUND), u = [], g = [], p = e[s].percent_packets_lost_out / 100, T = e[s].delta_rtt_ms_out, y = d && d[s].delta_rtt_ms_out || null, A = _ && _[s].delta_rtt_ms_out || null, w = e[s].delta_jitter_ms_out, R = d && d[s].delta_jitter_ms_out || null, b = _ && _[s].delta_jitter_ms_out || null, G = l.data.delta_rtt_connectivity_ms, P = n && n.data.delta_rtt_connectivity_ms || null, ve = i && i.data.delta_rtt_connectivity_ms || null;
22935
+ T ? u.push(T) : G && u.push(G), y ? u.push(y) : P && u.push(P), A ? u.push(A) : ve && u.push(ve), w && g.push(w), d && R && g.push(R), _ && b && g.push(b);
22936
22936
  const O = u.length > 0 ? Jn(u) : 100, j = g.length > 0 ? Jn(g) : 10, pe = 0, Te = 19.8, N = 29.7, H = 30, $ = (O + j) / 2 + H, q = $ - 177.3 < 0 ? 0 : 1, M = 0.024 * $ + 0.11 * ($ - 177.3) * q, W = 93.2 - (pe + Te * Math.log(1 + N * p) + M);
22937
22937
  return Ll(W);
22938
22938
  };
@@ -22941,7 +22941,7 @@ class jy {
22941
22941
  this._callbacks = {
22942
22942
  onreport: null,
22943
22943
  onticket: null
22944
- }, this._id = gy(), this._moduleName = this._id, this._probeId = n, this._config = s, this._exporter = new Cy(s), this._state = xn.IDLE, this.registerToPCEvents(), Ms(this._moduleName, `new collector created for probe ${this._probeId}`);
22944
+ }, this._id = gy(), this._moduleName = this._id, this._probeId = n, this._config = s, this._exporter = new Ay(s), this._state = xn.IDLE, this.registerToPCEvents(), Ms(this._moduleName, `new collector created for probe ${this._probeId}`);
22945
22945
  }
22946
22946
  analyze(s, n, i, a) {
22947
22947
  const e = (u, g) => u === D.AUDIO ? g === sn.INBOUND_RTP ? ie({}, u_) : ie({}, c_) : g === sn.INBOUND_RTP ? ie({}, h_) : ie({}, d_), d = dy(n);
@@ -23484,37 +23484,17 @@ class Yy {
23484
23484
  }
23485
23485
  class zy {
23486
23486
  constructor() {
23487
- this.resumePromise = null, this.stateChangeCount = 0, this.lastStateChange = Date.now(), this.resumeAttempts = 0, this.context = new AudioContext(), this.context.addEventListener("statechange", () => {
23488
- this.stateChangeCount++;
23489
- const s = Date.now();
23490
- this.lastStateChange = s;
23491
- });
23487
+ this.resumePromise = null, this.context = new AudioContext();
23492
23488
  }
23493
23489
  getContext() {
23494
23490
  return re(this, null, function* () {
23495
- return this.context.state === "suspended" && (this.resumeAttempts++, this.resumePromise || (this.resumePromise = this.context.resume().then(() => {
23491
+ return this.context.state === "suspended" && (this.resumePromise || (this.resumePromise = this.context.resume().then(() => {
23496
23492
  this.resumePromise = null;
23497
23493
  }).catch((s) => {
23498
23494
  throw this.resumePromise = null, s;
23499
23495
  })), yield this.resumePromise), this.context;
23500
23496
  });
23501
23497
  }
23502
- get rawContext() {
23503
- return this.context;
23504
- }
23505
- getDebugInfo() {
23506
- return {
23507
- state: this.context.state,
23508
- sampleRate: this.context.sampleRate,
23509
- currentTime: this.context.currentTime,
23510
- stateChangeCount: this.stateChangeCount,
23511
- resumeAttempts: this.resumeAttempts,
23512
- lastStateChange: new Date(this.lastStateChange).toISOString(),
23513
- hasResumePromise: !!this.resumePromise,
23514
- documentHidden: document.hidden,
23515
- documentVisibility: document.visibilityState
23516
- };
23517
- }
23518
23498
  }
23519
23499
  const tl = {
23520
23500
  SELECTED_INPUT_DEVICE: "OpensipsJSInputDevice",
@@ -24020,10 +24000,10 @@ class Qy {
24020
24000
  const e = this.conferenceNodes[n], d = /* @__PURE__ */ new Map();
24021
24001
  s.forEach((_, u) => {
24022
24002
  _ && _.connection && _.connection.getReceivers().forEach((g, p) => {
24023
- var T, y, C;
24003
+ var T, y, A;
24024
24004
  g.track.enabled = !_.localMuted;
24025
24005
  const w = (T = g.track) == null ? void 0 : T.id;
24026
- (y = g.track) == null || y.readyState, (C = g.track) == null || C.kind;
24006
+ (y = g.track) == null || y.readyState, (A = g.track) == null || A.kind;
24027
24007
  const R = `${_._id}-${w}`;
24028
24008
  g.track && g.track.readyState === "live" && d.set(R, g.track);
24029
24009
  });
@@ -24033,20 +24013,20 @@ class Qy {
24033
24013
  const g = a.createMediaStreamDestination();
24034
24014
  e.destinations.set(_._id, g);
24035
24015
  let p = 0;
24036
- if (d.forEach((C, w) => {
24016
+ if (d.forEach((A, w) => {
24037
24017
  if (!w.startsWith(_._id))
24038
24018
  try {
24039
- const R = a.createMediaStreamSource(new MediaStream([C])), b = a.createGain(), G = `${_._id}-${w}`;
24019
+ const R = a.createMediaStreamSource(new MediaStream([A])), b = a.createGain(), G = `${_._id}-${w}`;
24040
24020
  R.connect(b), b.connect(g), e.sources.set(G, R), e.gains.set(G, b), p++;
24041
24021
  } catch (R) {
24042
24022
  console.error(R);
24043
24023
  }
24044
24024
  }), i && this.activeStreamValue)
24045
24025
  try {
24046
- const C = yield this.getActiveStream(), w = a.createMediaStreamSource(C), R = a.createGain(), b = `${_._id}-local`;
24026
+ const A = yield this.getActiveStream(), w = a.createMediaStreamSource(A), R = a.createGain(), b = `${_._id}-local`;
24047
24027
  w.connect(R), R.connect(g), e.sources.set(b, w), e.gains.set(b, R);
24048
- } catch (C) {
24049
- console.error(C);
24028
+ } catch (A) {
24029
+ console.error(A);
24050
24030
  }
24051
24031
  else
24052
24032
  i && console.error(`Host room but no activeStreamValue - skipping host microphone for session ${_._id}`);
@@ -24054,8 +24034,8 @@ class Qy {
24054
24034
  if (T && y[0])
24055
24035
  try {
24056
24036
  yield T.replaceTrack(y[0]), this.muteReconfigure(_);
24057
- } catch (C) {
24058
- console.error(C);
24037
+ } catch (A) {
24038
+ console.error(A);
24059
24039
  }
24060
24040
  }));
24061
24041
  });
@@ -24646,7 +24626,7 @@ class eE extends __ {
24646
24626
  const n = Me.cloneArray(s.extraHeaders), i = {
24647
24627
  from_tag: this.session._from_tag
24648
24628
  };
24649
- s.fromUserName && (i.from_uri = new xs("sip", s.fromUserName, this.session._ua.configuration.uri.host), n.push(`P-Preferred-Identity: ${this.session._ua.configuration.uri.toString()}`)), s.fromDisplayName && (i.from_display_name = s.fromDisplayName), n.push(`Contact: ${this.session._contact}`), n.push("Content-Type: application/json"), this.session._sessionTimers.enabled && n.push(`Session-Expires: ${this.session._sessionTimers.defaultExpires}${this.session._ua.configuration.session_timers_force_refresher ? ";refresher=uac" : ""}`), this._request = new Ct.InitialOutgoingInviteRequest(
24629
+ s.fromUserName && (i.from_uri = new xs("sip", s.fromUserName, this.session._ua.configuration.uri.host), n.push(`P-Preferred-Identity: ${this.session._ua.configuration.uri.toString()}`)), s.fromDisplayName && (i.from_display_name = s.fromDisplayName), n.push(`Contact: ${this.session._contact}`), n.push("Content-Type: application/json"), this.session._sessionTimers.enabled && n.push(`Session-Expires: ${this.session._sessionTimers.defaultExpires}${this.session._ua.configuration.session_timers_force_refresher ? ";refresher=uac" : ""}`), this._request = new At.InitialOutgoingInviteRequest(
24650
24630
  this.session.target,
24651
24631
  this.session._ua,
24652
24632
  i,
@@ -24869,7 +24849,7 @@ class nE extends Ov {
24869
24849
  const i = nt(ie({}, s.configuration), {
24870
24850
  sockets: s.socketInterfaces.map((a) => new Qv.WebSocketInterface(a))
24871
24851
  });
24872
- super(i), this.initialized = !1, this.connected = !1, this.logger = console, this.newRTCSessionEventName = "newRTCSession", this.registeredEventName = "registered", this.unregisteredEventName = "unregistered", this.disconnectedEventName = "disconnected", this.connectedEventName = "connected", this.newMSRPSessionEventName = "newMSRPSession", this.isReconnecting = !1, this.activeConnection = !1, this.waitingForSessionHangup = !1, this.waitingForSessionTimeout = null, this.audio = null, this.msrp = null, this.video = null, this.listenersList = {}, this.modules = [], s.pnExtraHeaders && Object.keys(s.pnExtraHeaders).length && this.registrator().setExtraContactUriParams(s.pnExtraHeaders), this.options = s, this.modules = s.modules, n && Lv(n) && (this.logger = n);
24852
+ super(i), this.initialized = !1, this.connected = !1, this.logger = console, this.newRTCSessionEventName = "newRTCSession", this.registeredEventName = "registered", this.unregisteredEventName = "unregistered", this.disconnectedEventName = "disconnected", this.connectedEventName = "connected", this.newMSRPSessionEventName = "newMSRPSession", this.isReconnecting = !1, this.activeConnection = !1, this.waitingForSessionHangup = !1, this.waitingForSessionTimeout = null, this.reconnectionAttemptsLimit = 1 / 0, this.reconnectionAttemptsCounter = 0, this.audio = null, this.msrp = null, this.video = null, this.listenersList = {}, this.modules = [], s.pnExtraHeaders && Object.keys(s.pnExtraHeaders).length && this.registrator().setExtraContactUriParams(s.pnExtraHeaders), this.options = s, this.modules = s.modules, s.configuration.reconnectionAttemptsLimit && (this.reconnectionAttemptsLimit = s.configuration.reconnectionAttemptsLimit), n && Lv(n) && (this.logger = n);
24873
24853
  }
24874
24854
  /*public setWaitingForSessionHangup (value: boolean) {
24875
24855
  this.waitingForSessionHangup = value
@@ -24878,7 +24858,7 @@ class nE extends Ov {
24878
24858
  return this.waitingForSessionHangup;
24879
24859
  }
24880
24860
  stopSessionAfterWaiting() {
24881
- this.setInitialized(!1), this.waitingForSessionHangup = !1, clearTimeout(this.waitingForSessionTimeout), this.waitingForSessionTimeout = null, this.activeConnection && setTimeout(this.start.bind(this), 5e3);
24861
+ this.setInitialized(!1), this.waitingForSessionHangup = !1, clearTimeout(this.waitingForSessionTimeout), this.waitingForSessionTimeout = null, this.activeConnection && this.reconnect();
24882
24862
  }
24883
24863
  get hasActiveSessions() {
24884
24864
  return this.modules.includes(nl.AUDIO) ? this.audio.hasActiveAnsweredCalls : !1;
@@ -24908,6 +24888,13 @@ class nE extends Ov {
24908
24888
  getPlugin(s) {
24909
24889
  return this.newStreamPlugins.find((n) => n.name === s) || this.processStreamPlugins.find((n) => n.name === s);
24910
24890
  }
24891
+ reconnect() {
24892
+ if (this.reconnectionAttemptsCounter < this.reconnectionAttemptsLimit) {
24893
+ const s = 5e3 * Math.pow(2, this.reconnectionAttemptsCounter);
24894
+ this.reconnectionAttemptsCounter++, setTimeout(this.start.bind(this), s);
24895
+ } else
24896
+ this.emit("reconnectionAttemptsLimitReached", void 0);
24897
+ }
24911
24898
  begin() {
24912
24899
  if (this.isConnected()) {
24913
24900
  console.error("Connection is already established");
@@ -24926,14 +24913,14 @@ class nE extends Ov {
24926
24913
  ), this.on(
24927
24914
  this.connectedEventName,
24928
24915
  () => {
24929
- this.logger.log("Connected to", this.options.socketInterfaces[0]), this.setConnected(!0), this.setReconnecting(!1), this.activeConnection = !0, this.waitingForSessionHangup = !1;
24916
+ this.logger.log("Connected to", this.options.socketInterfaces[0]), this.setConnected(!0), this.setReconnecting(!1), this.activeConnection = !0, this.waitingForSessionHangup = !1, this.reconnectionAttemptsCounter = 0;
24930
24917
  }
24931
24918
  ), this.on(
24932
24919
  this.disconnectedEventName,
24933
24920
  () => {
24934
24921
  this.setConnected(!1), !this.isReconnecting && (this.setReconnecting(!0), this.logger.log("Disconnected from", this.options.socketInterfaces[0]), this.logger.log("Reconnecting to", this.options.socketInterfaces[0]), this.hasActiveSessions ? (this.waitingForSessionHangup = !0, this.stop(!1), this.waitingForSessionTimeout = setTimeout(() => {
24935
- this.terminateAllSessions(), this.setInitialized(!1), this.waitingForSessionHangup = !1, this.activeConnection && setTimeout(this.start.bind(this), 5e3);
24936
- }, 12e5)) : (this.stop(), this.setInitialized(!1), this.activeConnection && setTimeout(this.start.bind(this), 5e3)));
24922
+ this.terminateAllSessions(), this.setInitialized(!1), this.waitingForSessionHangup = !1, this.activeConnection && this.reconnect();
24923
+ }, 12e5)) : (this.stop(), this.setInitialized(!1), this.activeConnection && this.reconnect()));
24937
24924
  }
24938
24925
  ), this.logger.log("Connecting to", this.options.socketInterfaces[0]), this.start(), this;
24939
24926
  }
@@ -26179,12 +26166,13 @@ const _n = {
26179
26166
  return new Promise(
26180
26167
  (i, a) => {
26181
26168
  try {
26182
- se = new nE({
26183
- configuration: nt(ie({}, n), {
26184
- session_timers: !1,
26185
- uri: `sip:${l.username}@${l.domain}`,
26186
- password: l.password
26187
- }),
26169
+ const e = nt(ie({}, n), {
26170
+ session_timers: !1,
26171
+ uri: `sip:${l.username}@${l.domain}`,
26172
+ password: l.password
26173
+ });
26174
+ l.authorization_jwt && (e.authorization_jwt = l.authorization_jwt), se = new nE({
26175
+ configuration: e,
26188
26176
  socketInterfaces: [`wss://${l.domain}`],
26189
26177
  sipDomain: `${l.domain}`,
26190
26178
  sipOptions: {
@@ -26194,49 +26182,49 @@ const _n = {
26194
26182
  },
26195
26183
  modules: l.modules,
26196
26184
  pnExtraHeaders: s
26197
- }), se.on("connection", (e) => {
26198
- _d.value = !1, ud.value = !0, cd.value = e, i(se);
26199
- }).on("reconnecting", (e) => {
26200
- hd.value = e;
26201
- }).on("changeActiveCalls", (e) => {
26202
- f_.value = ie({}, e);
26203
- }).on("changeActiveMessages", (e) => {
26204
- dd.value = ie({}, e);
26205
- }).on("newMSRPMessage", (e) => {
26206
- const d = e.session._id, _ = gu.value[d] || [];
26207
- _.push(e.message), gu.value[d] = [..._];
26208
- }).on("callAddingInProgressChanged", (e) => {
26209
- fd.value = e;
26210
- }).on("changeAvailableDeviceList", (e) => {
26211
- wl.value = [...e];
26212
- }).on("changeActiveInputMediaDevice", (e) => {
26213
- qu.value = e;
26214
- }).on("changeActiveOutputMediaDevice", (e) => {
26215
- Hu.value = e;
26216
- }).on("changeMuteWhenJoin", (e) => {
26217
- Fu.value = e;
26218
- }).on("changeIsCallWaiting", (e) => {
26219
- $u.value = e;
26220
- }).on("changeIsDND", (e) => {
26221
- ju.value = e;
26222
- }).on("changeIsMuted", (e) => {
26223
- pd.value = e;
26224
- }).on("changeActiveStream", (e) => {
26225
- md.value = e;
26226
- }).on("currentActiveRoomChanged", (e) => {
26227
- Ys.value = e;
26228
- }).on("addRoom", ({ roomList: e }) => {
26229
- gl.value = ie({}, e);
26230
- }).on("updateRoom", ({ roomList: e }) => {
26231
- gl.value = ie({}, e);
26232
- }).on("removeRoom", ({ roomList: e }) => {
26233
- gl.value = ie({}, e);
26234
- }).on("changeCallStatus", (e) => {
26235
- Ku.value = ie({}, e);
26236
- }).on("changeCallTime", (e) => {
26237
- Td.value = ie({}, e);
26238
- }).on("changeCallMetrics", (e) => {
26239
- vd.value = ie({}, e);
26185
+ }), se.on("connection", (d) => {
26186
+ _d.value = !1, ud.value = !0, cd.value = d, i(se);
26187
+ }).on("reconnecting", (d) => {
26188
+ hd.value = d;
26189
+ }).on("changeActiveCalls", (d) => {
26190
+ f_.value = ie({}, d);
26191
+ }).on("changeActiveMessages", (d) => {
26192
+ dd.value = ie({}, d);
26193
+ }).on("newMSRPMessage", (d) => {
26194
+ const _ = d.session._id, u = gu.value[_] || [];
26195
+ u.push(d.message), gu.value[_] = [...u];
26196
+ }).on("callAddingInProgressChanged", (d) => {
26197
+ fd.value = d;
26198
+ }).on("changeAvailableDeviceList", (d) => {
26199
+ wl.value = [...d];
26200
+ }).on("changeActiveInputMediaDevice", (d) => {
26201
+ qu.value = d;
26202
+ }).on("changeActiveOutputMediaDevice", (d) => {
26203
+ Hu.value = d;
26204
+ }).on("changeMuteWhenJoin", (d) => {
26205
+ Fu.value = d;
26206
+ }).on("changeIsCallWaiting", (d) => {
26207
+ $u.value = d;
26208
+ }).on("changeIsDND", (d) => {
26209
+ ju.value = d;
26210
+ }).on("changeIsMuted", (d) => {
26211
+ pd.value = d;
26212
+ }).on("changeActiveStream", (d) => {
26213
+ md.value = d;
26214
+ }).on("currentActiveRoomChanged", (d) => {
26215
+ Ys.value = d;
26216
+ }).on("addRoom", ({ roomList: d }) => {
26217
+ gl.value = ie({}, d);
26218
+ }).on("updateRoom", ({ roomList: d }) => {
26219
+ gl.value = ie({}, d);
26220
+ }).on("removeRoom", ({ roomList: d }) => {
26221
+ gl.value = ie({}, d);
26222
+ }).on("changeCallStatus", (d) => {
26223
+ Ku.value = ie({}, d);
26224
+ }).on("changeCallTime", (d) => {
26225
+ Td.value = ie({}, d);
26226
+ }).on("changeCallMetrics", (d) => {
26227
+ vd.value = ie({}, d);
26240
26228
  }).begin(), i(se);
26241
26229
  } catch (e) {
26242
26230
  console.error(e), a();
@@ -26354,7 +26342,7 @@ function aE() {
26354
26342
  ), _n;
26355
26343
  }
26356
26344
  function uE() {
26357
- const l = C_(m_);
26345
+ const l = A_(m_);
26358
26346
  if (!l)
26359
26347
  throw new Error("useVsipInject() is called without provider, please call useVsipProvide() first");
26360
26348
  return l;