opensips-js 0.1.14 → 0.1.16

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.
@@ -487,7 +487,7 @@ function os() {
487
487
  WSP: C,
488
488
  OCTET: A,
489
489
  DQUOTE: R,
490
- SP: k,
490
+ SP: P,
491
491
  HTAB: M,
492
492
  alphanum: ie,
493
493
  reserved: N,
@@ -511,7 +511,7 @@ function os() {
511
511
  EQUAL: re,
512
512
  LPAREN: ge,
513
513
  RPAREN: be,
514
- RAQUOT: Pe,
514
+ RAQUOT: ke,
515
515
  LAQUOT: Ae,
516
516
  COMMA: ae,
517
517
  SEMI: ye,
@@ -566,7 +566,7 @@ function os() {
566
566
  Request_Response: ml,
567
567
  Request_Line: Dr,
568
568
  Request_URI: xn,
569
- absoluteURI: Pn,
569
+ absoluteURI: kn,
570
570
  hier_part: Nr,
571
571
  net_path: en,
572
572
  abs_path: tn,
@@ -578,10 +578,10 @@ function os() {
578
578
  param: cs,
579
579
  pchar: Ns,
580
580
  scheme: xr,
581
- authority: Pr,
582
- srvr: kr,
581
+ authority: kr,
582
+ srvr: Pr,
583
583
  reg_name: Mr,
584
- query: kn,
584
+ query: Pn,
585
585
  SIP_Version: Mn,
586
586
  INVITEm: Lr,
587
587
  ACKm: $r,
@@ -671,7 +671,7 @@ function os() {
671
671
  To: ci,
672
672
  to_param: fi,
673
673
  Via: Qn,
674
- via_param: Ps,
674
+ via_param: ks,
675
675
  via_params: Zn,
676
676
  via_ttl: hi,
677
677
  via_maddr: di,
@@ -700,12 +700,12 @@ function os() {
700
700
  hex8: Ai,
701
701
  hex12: xl,
702
702
  Refer_To: oo,
703
- Replaces: Pl,
703
+ Replaces: kl,
704
704
  call_id: nr,
705
705
  replaces_param: rr,
706
706
  to_tag: Ri,
707
707
  from_tag: Ii,
708
- early_flag: kl
708
+ early_flag: Pl
709
709
  };
710
710
  if (o !== void 0) {
711
711
  if (s[o] === void 0)
@@ -736,7 +736,7 @@ function os() {
736
736
  }
737
737
  function C() {
738
738
  var e;
739
- return e = k(), e === null && (e = M()), e;
739
+ return e = P(), e === null && (e = M()), e;
740
740
  }
741
741
  function A() {
742
742
  var e;
@@ -746,7 +746,7 @@ function os() {
746
746
  var e;
747
747
  return /^["]/.test(a.charAt(r)) ? (e = a.charAt(r), r++) : (e = null, _('["]')), e;
748
748
  }
749
- function k() {
749
+ function P() {
750
750
  var e;
751
751
  return a.charCodeAt(r) === 32 ? (e = " ", r++) : (e = null, _('" "')), e;
752
752
  }
@@ -799,8 +799,8 @@ function os() {
799
799
  }
800
800
  function B() {
801
801
  var e, l, u, f, p;
802
- for (f = r, p = r, e = [], l = k(), l === null && (l = M()); l !== null; )
803
- e.push(l), l = k(), l === null && (l = M());
802
+ for (f = r, p = r, e = [], l = P(), l === null && (l = M()); l !== null; )
803
+ e.push(l), l = P(), l === null && (l = M());
804
804
  return e !== null ? (a.charCodeAt(r) === 58 ? (l = ":", r++) : (l = null, _('":"')), l !== null ? (u = D(), u !== null ? e = [e, l, u] : (e = null, r = p)) : (e = null, r = p)) : (e = null, r = p), e !== null && (e = function(m) {
805
805
  return ":";
806
806
  }()), e === null && (r = f), e;
@@ -867,7 +867,7 @@ function os() {
867
867
  }
868
868
  function st() {
869
869
  var e;
870
- return a.charCodeAt(r) === 40 ? (e = "(", r++) : (e = null, _('"("')), e === null && (a.charCodeAt(r) === 41 ? (e = ")", r++) : (e = null, _('")"')), e === null && (a.charCodeAt(r) === 60 ? (e = "<", r++) : (e = null, _('"<"')), e === null && (a.charCodeAt(r) === 62 ? (e = ">", r++) : (e = null, _('">"')), e === null && (a.charCodeAt(r) === 64 ? (e = "@", r++) : (e = null, _('"@"')), e === null && (a.charCodeAt(r) === 44 ? (e = ",", r++) : (e = null, _('","')), e === null && (a.charCodeAt(r) === 59 ? (e = ";", r++) : (e = null, _('";"')), e === null && (a.charCodeAt(r) === 58 ? (e = ":", r++) : (e = null, _('":"')), e === null && (a.charCodeAt(r) === 92 ? (e = "\\", r++) : (e = null, _('"\\\\"')), e === null && (e = R(), e === null && (a.charCodeAt(r) === 47 ? (e = "/", r++) : (e = null, _('"/"')), e === null && (a.charCodeAt(r) === 91 ? (e = "[", r++) : (e = null, _('"["')), e === null && (a.charCodeAt(r) === 93 ? (e = "]", r++) : (e = null, _('"]"')), e === null && (a.charCodeAt(r) === 63 ? (e = "?", r++) : (e = null, _('"?"')), e === null && (a.charCodeAt(r) === 61 ? (e = "=", r++) : (e = null, _('"="')), e === null && (a.charCodeAt(r) === 123 ? (e = "{", r++) : (e = null, _('"{"')), e === null && (a.charCodeAt(r) === 125 ? (e = "}", r++) : (e = null, _('"}"')), e === null && (e = k(), e === null && (e = M())))))))))))))))))), e;
870
+ return a.charCodeAt(r) === 40 ? (e = "(", r++) : (e = null, _('"("')), e === null && (a.charCodeAt(r) === 41 ? (e = ")", r++) : (e = null, _('")"')), e === null && (a.charCodeAt(r) === 60 ? (e = "<", r++) : (e = null, _('"<"')), e === null && (a.charCodeAt(r) === 62 ? (e = ">", r++) : (e = null, _('">"')), e === null && (a.charCodeAt(r) === 64 ? (e = "@", r++) : (e = null, _('"@"')), e === null && (a.charCodeAt(r) === 44 ? (e = ",", r++) : (e = null, _('","')), e === null && (a.charCodeAt(r) === 59 ? (e = ";", r++) : (e = null, _('";"')), e === null && (a.charCodeAt(r) === 58 ? (e = ":", r++) : (e = null, _('":"')), e === null && (a.charCodeAt(r) === 92 ? (e = "\\", r++) : (e = null, _('"\\\\"')), e === null && (e = R(), e === null && (a.charCodeAt(r) === 47 ? (e = "/", r++) : (e = null, _('"/"')), e === null && (a.charCodeAt(r) === 91 ? (e = "[", r++) : (e = null, _('"["')), e === null && (a.charCodeAt(r) === 93 ? (e = "]", r++) : (e = null, _('"]"')), e === null && (a.charCodeAt(r) === 63 ? (e = "?", r++) : (e = null, _('"?"')), e === null && (a.charCodeAt(r) === 61 ? (e = "=", r++) : (e = null, _('"="')), e === null && (a.charCodeAt(r) === 123 ? (e = "{", r++) : (e = null, _('"{"')), e === null && (a.charCodeAt(r) === 125 ? (e = "}", r++) : (e = null, _('"}"')), e === null && (e = P(), e === null && (e = M())))))))))))))))))), e;
871
871
  }
872
872
  function ee() {
873
873
  var e, l, u;
@@ -910,7 +910,7 @@ function os() {
910
910
  return ")";
911
911
  }()), e === null && (r = f), e;
912
912
  }
913
- function Pe() {
913
+ function ke() {
914
914
  var e, l, u, f;
915
915
  return u = r, f = r, a.charCodeAt(r) === 62 ? (e = ">", r++) : (e = null, _('">"')), e !== null ? (l = D(), l !== null ? e = [e, l] : (e = null, r = f)) : (e = null, r = f), e !== null && (e = function(p) {
916
916
  return ">";
@@ -1113,9 +1113,9 @@ function os() {
1113
1113
  }(f)), e === null && (r = f), e;
1114
1114
  }
1115
1115
  function me() {
1116
- var e, l, u, f, p, m, v, y, O, le, Ue, wt, ks, $, I, Te;
1117
- return $ = r, I = r, e = oe(), e !== null ? (a.charCodeAt(r) === 58 ? (l = ":", r++) : (l = null, _('":"')), l !== null ? (u = oe(), u !== null ? (a.charCodeAt(r) === 58 ? (f = ":", r++) : (f = null, _('":"')), f !== null ? (p = oe(), p !== null ? (a.charCodeAt(r) === 58 ? (m = ":", r++) : (m = null, _('":"')), m !== null ? (v = oe(), v !== null ? (a.charCodeAt(r) === 58 ? (y = ":", r++) : (y = null, _('":"')), y !== null ? (O = oe(), O !== null ? (a.charCodeAt(r) === 58 ? (le = ":", r++) : (le = null, _('":"')), le !== null ? (Ue = oe(), Ue !== null ? (a.charCodeAt(r) === 58 ? (wt = ":", r++) : (wt = null, _('":"')), wt !== null ? (ks = ot(), ks !== null ? e = [e, l, u, f, p, m, v, y, O, le, Ue, wt, ks] : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I), e === null && (I = r, a.substr(r, 2) === "::" ? (e = "::", r += 2) : (e = null, _('"::"')), e !== null ? (l = oe(), l !== null ? (a.charCodeAt(r) === 58 ? (u = ":", r++) : (u = null, _('":"')), u !== null ? (f = oe(), f !== null ? (a.charCodeAt(r) === 58 ? (p = ":", r++) : (p = null, _('":"')), p !== null ? (m = oe(), m !== null ? (a.charCodeAt(r) === 58 ? (v = ":", r++) : (v = null, _('":"')), v !== null ? (y = oe(), y !== null ? (a.charCodeAt(r) === 58 ? (O = ":", r++) : (O = null, _('":"')), O !== null ? (le = oe(), le !== null ? (a.charCodeAt(r) === 58 ? (Ue = ":", r++) : (Ue = null, _('":"')), Ue !== null ? (wt = ot(), wt !== null ? e = [e, l, u, f, p, m, v, y, O, le, Ue, wt] : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I), e === null && (I = r, a.substr(r, 2) === "::" ? (e = "::", r += 2) : (e = null, _('"::"')), e !== null ? (l = oe(), l !== null ? (a.charCodeAt(r) === 58 ? (u = ":", r++) : (u = null, _('":"')), u !== null ? (f = oe(), f !== null ? (a.charCodeAt(r) === 58 ? (p = ":", r++) : (p = null, _('":"')), p !== null ? (m = oe(), m !== null ? (a.charCodeAt(r) === 58 ? (v = ":", r++) : (v = null, _('":"')), v !== null ? (y = oe(), y !== null ? (a.charCodeAt(r) === 58 ? (O = ":", r++) : (O = null, _('":"')), O !== null ? (le = ot(), le !== null ? e = [e, l, u, f, p, m, v, y, O, le] : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I), e === null && (I = r, a.substr(r, 2) === "::" ? (e = "::", r += 2) : (e = null, _('"::"')), e !== null ? (l = oe(), l !== null ? (a.charCodeAt(r) === 58 ? (u = ":", r++) : (u = null, _('":"')), u !== null ? (f = oe(), f !== null ? (a.charCodeAt(r) === 58 ? (p = ":", r++) : (p = null, _('":"')), p !== null ? (m = oe(), m !== null ? (a.charCodeAt(r) === 58 ? (v = ":", r++) : (v = null, _('":"')), v !== null ? (y = ot(), y !== null ? e = [e, l, u, f, p, m, v, y] : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I), e === null && (I = r, a.substr(r, 2) === "::" ? (e = "::", r += 2) : (e = null, _('"::"')), e !== null ? (l = oe(), l !== null ? (a.charCodeAt(r) === 58 ? (u = ":", r++) : (u = null, _('":"')), u !== null ? (f = oe(), f !== null ? (a.charCodeAt(r) === 58 ? (p = ":", r++) : (p = null, _('":"')), p !== null ? (m = ot(), m !== null ? e = [e, l, u, f, p, m] : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I), e === null && (I = r, a.substr(r, 2) === "::" ? (e = "::", r += 2) : (e = null, _('"::"')), e !== null ? (l = oe(), l !== null ? (a.charCodeAt(r) === 58 ? (u = ":", r++) : (u = null, _('":"')), u !== null ? (f = ot(), f !== null ? e = [e, l, u, f] : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I), e === null && (I = r, a.substr(r, 2) === "::" ? (e = "::", r += 2) : (e = null, _('"::"')), e !== null ? (l = ot(), l !== null ? e = [e, l] : (e = null, r = I)) : (e = null, r = I), e === null && (I = r, a.substr(r, 2) === "::" ? (e = "::", r += 2) : (e = null, _('"::"')), e !== null ? (l = oe(), l !== null ? e = [e, l] : (e = null, r = I)) : (e = null, r = I), e === null && (I = r, e = oe(), e !== null ? (a.substr(r, 2) === "::" ? (l = "::", r += 2) : (l = null, _('"::"')), l !== null ? (u = oe(), u !== null ? (a.charCodeAt(r) === 58 ? (f = ":", r++) : (f = null, _('":"')), f !== null ? (p = oe(), p !== null ? (a.charCodeAt(r) === 58 ? (m = ":", r++) : (m = null, _('":"')), m !== null ? (v = oe(), v !== null ? (a.charCodeAt(r) === 58 ? (y = ":", r++) : (y = null, _('":"')), y !== null ? (O = oe(), O !== null ? (a.charCodeAt(r) === 58 ? (le = ":", r++) : (le = null, _('":"')), le !== null ? (Ue = ot(), Ue !== null ? e = [e, l, u, f, p, m, v, y, O, le, Ue] : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I), e === null && (I = r, e = oe(), e !== null ? (Te = r, a.charCodeAt(r) === 58 ? (l = ":", r++) : (l = null, _('":"')), l !== null ? (u = oe(), u !== null ? l = [l, u] : (l = null, r = Te)) : (l = null, r = Te), l = l !== null ? l : "", l !== null ? (a.substr(r, 2) === "::" ? (u = "::", r += 2) : (u = null, _('"::"')), u !== null ? (f = oe(), f !== null ? (a.charCodeAt(r) === 58 ? (p = ":", r++) : (p = null, _('":"')), p !== null ? (m = oe(), m !== null ? (a.charCodeAt(r) === 58 ? (v = ":", r++) : (v = null, _('":"')), v !== null ? (y = oe(), y !== null ? (a.charCodeAt(r) === 58 ? (O = ":", r++) : (O = null, _('":"')), O !== null ? (le = ot(), le !== null ? e = [e, l, u, f, p, m, v, y, O, le] : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I), e === null && (I = r, e = oe(), e !== null ? (Te = r, a.charCodeAt(r) === 58 ? (l = ":", r++) : (l = null, _('":"')), l !== null ? (u = oe(), u !== null ? l = [l, u] : (l = null, r = Te)) : (l = null, r = Te), l = l !== null ? l : "", l !== null ? (Te = r, a.charCodeAt(r) === 58 ? (u = ":", r++) : (u = null, _('":"')), u !== null ? (f = oe(), f !== null ? u = [u, f] : (u = null, r = Te)) : (u = null, r = Te), u = u !== null ? u : "", u !== null ? (a.substr(r, 2) === "::" ? (f = "::", r += 2) : (f = null, _('"::"')), f !== null ? (p = oe(), p !== null ? (a.charCodeAt(r) === 58 ? (m = ":", r++) : (m = null, _('":"')), m !== null ? (v = oe(), v !== null ? (a.charCodeAt(r) === 58 ? (y = ":", r++) : (y = null, _('":"')), y !== null ? (O = ot(), O !== null ? e = [e, l, u, f, p, m, v, y, O] : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I), e === null && (I = r, e = oe(), e !== null ? (Te = r, a.charCodeAt(r) === 58 ? (l = ":", r++) : (l = null, _('":"')), l !== null ? (u = oe(), u !== null ? l = [l, u] : (l = null, r = Te)) : (l = null, r = Te), l = l !== null ? l : "", l !== null ? (Te = r, a.charCodeAt(r) === 58 ? (u = ":", r++) : (u = null, _('":"')), u !== null ? (f = oe(), f !== null ? u = [u, f] : (u = null, r = Te)) : (u = null, r = Te), u = u !== null ? u : "", u !== null ? (Te = r, a.charCodeAt(r) === 58 ? (f = ":", r++) : (f = null, _('":"')), f !== null ? (p = oe(), p !== null ? f = [f, p] : (f = null, r = Te)) : (f = null, r = Te), f = f !== null ? f : "", f !== null ? (a.substr(r, 2) === "::" ? (p = "::", r += 2) : (p = null, _('"::"')), p !== null ? (m = oe(), m !== null ? (a.charCodeAt(r) === 58 ? (v = ":", r++) : (v = null, _('":"')), v !== null ? (y = ot(), y !== null ? e = [e, l, u, f, p, m, v, y] : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I), e === null && (I = r, e = oe(), e !== null ? (Te = r, a.charCodeAt(r) === 58 ? (l = ":", r++) : (l = null, _('":"')), l !== null ? (u = oe(), u !== null ? l = [l, u] : (l = null, r = Te)) : (l = null, r = Te), l = l !== null ? l : "", l !== null ? (Te = r, a.charCodeAt(r) === 58 ? (u = ":", r++) : (u = null, _('":"')), u !== null ? (f = oe(), f !== null ? u = [u, f] : (u = null, r = Te)) : (u = null, r = Te), u = u !== null ? u : "", u !== null ? (Te = r, a.charCodeAt(r) === 58 ? (f = ":", r++) : (f = null, _('":"')), f !== null ? (p = oe(), p !== null ? f = [f, p] : (f = null, r = Te)) : (f = null, r = Te), f = f !== null ? f : "", f !== null ? (Te = r, a.charCodeAt(r) === 58 ? (p = ":", r++) : (p = null, _('":"')), p !== null ? (m = oe(), m !== null ? p = [p, m] : (p = null, r = Te)) : (p = null, r = Te), p = p !== null ? p : "", p !== null ? (a.substr(r, 2) === "::" ? (m = "::", r += 2) : (m = null, _('"::"')), m !== null ? (v = ot(), v !== null ? e = [e, l, u, f, p, m, v] : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I), e === null && (I = r, e = oe(), e !== null ? (Te = r, a.charCodeAt(r) === 58 ? (l = ":", r++) : (l = null, _('":"')), l !== null ? (u = oe(), u !== null ? l = [l, u] : (l = null, r = Te)) : (l = null, r = Te), l = l !== null ? l : "", l !== null ? (Te = r, a.charCodeAt(r) === 58 ? (u = ":", r++) : (u = null, _('":"')), u !== null ? (f = oe(), f !== null ? u = [u, f] : (u = null, r = Te)) : (u = null, r = Te), u = u !== null ? u : "", u !== null ? (Te = r, a.charCodeAt(r) === 58 ? (f = ":", r++) : (f = null, _('":"')), f !== null ? (p = oe(), p !== null ? f = [f, p] : (f = null, r = Te)) : (f = null, r = Te), f = f !== null ? f : "", f !== null ? (Te = r, a.charCodeAt(r) === 58 ? (p = ":", r++) : (p = null, _('":"')), p !== null ? (m = oe(), m !== null ? p = [p, m] : (p = null, r = Te)) : (p = null, r = Te), p = p !== null ? p : "", p !== null ? (Te = r, a.charCodeAt(r) === 58 ? (m = ":", r++) : (m = null, _('":"')), m !== null ? (v = oe(), v !== null ? m = [m, v] : (m = null, r = Te)) : (m = null, r = Te), m = m !== null ? m : "", m !== null ? (a.substr(r, 2) === "::" ? (v = "::", r += 2) : (v = null, _('"::"')), v !== null ? (y = oe(), y !== null ? e = [e, l, u, f, p, m, v, y] : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I), e === null && (I = r, e = oe(), e !== null ? (Te = r, a.charCodeAt(r) === 58 ? (l = ":", r++) : (l = null, _('":"')), l !== null ? (u = oe(), u !== null ? l = [l, u] : (l = null, r = Te)) : (l = null, r = Te), l = l !== null ? l : "", l !== null ? (Te = r, a.charCodeAt(r) === 58 ? (u = ":", r++) : (u = null, _('":"')), u !== null ? (f = oe(), f !== null ? u = [u, f] : (u = null, r = Te)) : (u = null, r = Te), u = u !== null ? u : "", u !== null ? (Te = r, a.charCodeAt(r) === 58 ? (f = ":", r++) : (f = null, _('":"')), f !== null ? (p = oe(), p !== null ? f = [f, p] : (f = null, r = Te)) : (f = null, r = Te), f = f !== null ? f : "", f !== null ? (Te = r, a.charCodeAt(r) === 58 ? (p = ":", r++) : (p = null, _('":"')), p !== null ? (m = oe(), m !== null ? p = [p, m] : (p = null, r = Te)) : (p = null, r = Te), p = p !== null ? p : "", p !== null ? (Te = r, a.charCodeAt(r) === 58 ? (m = ":", r++) : (m = null, _('":"')), m !== null ? (v = oe(), v !== null ? m = [m, v] : (m = null, r = Te)) : (m = null, r = Te), m = m !== null ? m : "", m !== null ? (Te = r, a.charCodeAt(r) === 58 ? (v = ":", r++) : (v = null, _('":"')), v !== null ? (y = oe(), y !== null ? v = [v, y] : (v = null, r = Te)) : (v = null, r = Te), v = v !== null ? v : "", v !== null ? (a.substr(r, 2) === "::" ? (y = "::", r += 2) : (y = null, _('"::"')), y !== null ? e = [e, l, u, f, p, m, v, y] : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I))))))))))))))), e !== null && (e = function(kh) {
1118
- return w.host_type = "IPv6", a.substring(r, kh);
1116
+ var e, l, u, f, p, m, v, y, O, le, Ue, wt, Ps, $, I, Te;
1117
+ return $ = r, I = r, e = oe(), e !== null ? (a.charCodeAt(r) === 58 ? (l = ":", r++) : (l = null, _('":"')), l !== null ? (u = oe(), u !== null ? (a.charCodeAt(r) === 58 ? (f = ":", r++) : (f = null, _('":"')), f !== null ? (p = oe(), p !== null ? (a.charCodeAt(r) === 58 ? (m = ":", r++) : (m = null, _('":"')), m !== null ? (v = oe(), v !== null ? (a.charCodeAt(r) === 58 ? (y = ":", r++) : (y = null, _('":"')), y !== null ? (O = oe(), O !== null ? (a.charCodeAt(r) === 58 ? (le = ":", r++) : (le = null, _('":"')), le !== null ? (Ue = oe(), Ue !== null ? (a.charCodeAt(r) === 58 ? (wt = ":", r++) : (wt = null, _('":"')), wt !== null ? (Ps = ot(), Ps !== null ? e = [e, l, u, f, p, m, v, y, O, le, Ue, wt, Ps] : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I), e === null && (I = r, a.substr(r, 2) === "::" ? (e = "::", r += 2) : (e = null, _('"::"')), e !== null ? (l = oe(), l !== null ? (a.charCodeAt(r) === 58 ? (u = ":", r++) : (u = null, _('":"')), u !== null ? (f = oe(), f !== null ? (a.charCodeAt(r) === 58 ? (p = ":", r++) : (p = null, _('":"')), p !== null ? (m = oe(), m !== null ? (a.charCodeAt(r) === 58 ? (v = ":", r++) : (v = null, _('":"')), v !== null ? (y = oe(), y !== null ? (a.charCodeAt(r) === 58 ? (O = ":", r++) : (O = null, _('":"')), O !== null ? (le = oe(), le !== null ? (a.charCodeAt(r) === 58 ? (Ue = ":", r++) : (Ue = null, _('":"')), Ue !== null ? (wt = ot(), wt !== null ? e = [e, l, u, f, p, m, v, y, O, le, Ue, wt] : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I), e === null && (I = r, a.substr(r, 2) === "::" ? (e = "::", r += 2) : (e = null, _('"::"')), e !== null ? (l = oe(), l !== null ? (a.charCodeAt(r) === 58 ? (u = ":", r++) : (u = null, _('":"')), u !== null ? (f = oe(), f !== null ? (a.charCodeAt(r) === 58 ? (p = ":", r++) : (p = null, _('":"')), p !== null ? (m = oe(), m !== null ? (a.charCodeAt(r) === 58 ? (v = ":", r++) : (v = null, _('":"')), v !== null ? (y = oe(), y !== null ? (a.charCodeAt(r) === 58 ? (O = ":", r++) : (O = null, _('":"')), O !== null ? (le = ot(), le !== null ? e = [e, l, u, f, p, m, v, y, O, le] : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I), e === null && (I = r, a.substr(r, 2) === "::" ? (e = "::", r += 2) : (e = null, _('"::"')), e !== null ? (l = oe(), l !== null ? (a.charCodeAt(r) === 58 ? (u = ":", r++) : (u = null, _('":"')), u !== null ? (f = oe(), f !== null ? (a.charCodeAt(r) === 58 ? (p = ":", r++) : (p = null, _('":"')), p !== null ? (m = oe(), m !== null ? (a.charCodeAt(r) === 58 ? (v = ":", r++) : (v = null, _('":"')), v !== null ? (y = ot(), y !== null ? e = [e, l, u, f, p, m, v, y] : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I), e === null && (I = r, a.substr(r, 2) === "::" ? (e = "::", r += 2) : (e = null, _('"::"')), e !== null ? (l = oe(), l !== null ? (a.charCodeAt(r) === 58 ? (u = ":", r++) : (u = null, _('":"')), u !== null ? (f = oe(), f !== null ? (a.charCodeAt(r) === 58 ? (p = ":", r++) : (p = null, _('":"')), p !== null ? (m = ot(), m !== null ? e = [e, l, u, f, p, m] : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I), e === null && (I = r, a.substr(r, 2) === "::" ? (e = "::", r += 2) : (e = null, _('"::"')), e !== null ? (l = oe(), l !== null ? (a.charCodeAt(r) === 58 ? (u = ":", r++) : (u = null, _('":"')), u !== null ? (f = ot(), f !== null ? e = [e, l, u, f] : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I), e === null && (I = r, a.substr(r, 2) === "::" ? (e = "::", r += 2) : (e = null, _('"::"')), e !== null ? (l = ot(), l !== null ? e = [e, l] : (e = null, r = I)) : (e = null, r = I), e === null && (I = r, a.substr(r, 2) === "::" ? (e = "::", r += 2) : (e = null, _('"::"')), e !== null ? (l = oe(), l !== null ? e = [e, l] : (e = null, r = I)) : (e = null, r = I), e === null && (I = r, e = oe(), e !== null ? (a.substr(r, 2) === "::" ? (l = "::", r += 2) : (l = null, _('"::"')), l !== null ? (u = oe(), u !== null ? (a.charCodeAt(r) === 58 ? (f = ":", r++) : (f = null, _('":"')), f !== null ? (p = oe(), p !== null ? (a.charCodeAt(r) === 58 ? (m = ":", r++) : (m = null, _('":"')), m !== null ? (v = oe(), v !== null ? (a.charCodeAt(r) === 58 ? (y = ":", r++) : (y = null, _('":"')), y !== null ? (O = oe(), O !== null ? (a.charCodeAt(r) === 58 ? (le = ":", r++) : (le = null, _('":"')), le !== null ? (Ue = ot(), Ue !== null ? e = [e, l, u, f, p, m, v, y, O, le, Ue] : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I), e === null && (I = r, e = oe(), e !== null ? (Te = r, a.charCodeAt(r) === 58 ? (l = ":", r++) : (l = null, _('":"')), l !== null ? (u = oe(), u !== null ? l = [l, u] : (l = null, r = Te)) : (l = null, r = Te), l = l !== null ? l : "", l !== null ? (a.substr(r, 2) === "::" ? (u = "::", r += 2) : (u = null, _('"::"')), u !== null ? (f = oe(), f !== null ? (a.charCodeAt(r) === 58 ? (p = ":", r++) : (p = null, _('":"')), p !== null ? (m = oe(), m !== null ? (a.charCodeAt(r) === 58 ? (v = ":", r++) : (v = null, _('":"')), v !== null ? (y = oe(), y !== null ? (a.charCodeAt(r) === 58 ? (O = ":", r++) : (O = null, _('":"')), O !== null ? (le = ot(), le !== null ? e = [e, l, u, f, p, m, v, y, O, le] : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I), e === null && (I = r, e = oe(), e !== null ? (Te = r, a.charCodeAt(r) === 58 ? (l = ":", r++) : (l = null, _('":"')), l !== null ? (u = oe(), u !== null ? l = [l, u] : (l = null, r = Te)) : (l = null, r = Te), l = l !== null ? l : "", l !== null ? (Te = r, a.charCodeAt(r) === 58 ? (u = ":", r++) : (u = null, _('":"')), u !== null ? (f = oe(), f !== null ? u = [u, f] : (u = null, r = Te)) : (u = null, r = Te), u = u !== null ? u : "", u !== null ? (a.substr(r, 2) === "::" ? (f = "::", r += 2) : (f = null, _('"::"')), f !== null ? (p = oe(), p !== null ? (a.charCodeAt(r) === 58 ? (m = ":", r++) : (m = null, _('":"')), m !== null ? (v = oe(), v !== null ? (a.charCodeAt(r) === 58 ? (y = ":", r++) : (y = null, _('":"')), y !== null ? (O = ot(), O !== null ? e = [e, l, u, f, p, m, v, y, O] : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I), e === null && (I = r, e = oe(), e !== null ? (Te = r, a.charCodeAt(r) === 58 ? (l = ":", r++) : (l = null, _('":"')), l !== null ? (u = oe(), u !== null ? l = [l, u] : (l = null, r = Te)) : (l = null, r = Te), l = l !== null ? l : "", l !== null ? (Te = r, a.charCodeAt(r) === 58 ? (u = ":", r++) : (u = null, _('":"')), u !== null ? (f = oe(), f !== null ? u = [u, f] : (u = null, r = Te)) : (u = null, r = Te), u = u !== null ? u : "", u !== null ? (Te = r, a.charCodeAt(r) === 58 ? (f = ":", r++) : (f = null, _('":"')), f !== null ? (p = oe(), p !== null ? f = [f, p] : (f = null, r = Te)) : (f = null, r = Te), f = f !== null ? f : "", f !== null ? (a.substr(r, 2) === "::" ? (p = "::", r += 2) : (p = null, _('"::"')), p !== null ? (m = oe(), m !== null ? (a.charCodeAt(r) === 58 ? (v = ":", r++) : (v = null, _('":"')), v !== null ? (y = ot(), y !== null ? e = [e, l, u, f, p, m, v, y] : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I), e === null && (I = r, e = oe(), e !== null ? (Te = r, a.charCodeAt(r) === 58 ? (l = ":", r++) : (l = null, _('":"')), l !== null ? (u = oe(), u !== null ? l = [l, u] : (l = null, r = Te)) : (l = null, r = Te), l = l !== null ? l : "", l !== null ? (Te = r, a.charCodeAt(r) === 58 ? (u = ":", r++) : (u = null, _('":"')), u !== null ? (f = oe(), f !== null ? u = [u, f] : (u = null, r = Te)) : (u = null, r = Te), u = u !== null ? u : "", u !== null ? (Te = r, a.charCodeAt(r) === 58 ? (f = ":", r++) : (f = null, _('":"')), f !== null ? (p = oe(), p !== null ? f = [f, p] : (f = null, r = Te)) : (f = null, r = Te), f = f !== null ? f : "", f !== null ? (Te = r, a.charCodeAt(r) === 58 ? (p = ":", r++) : (p = null, _('":"')), p !== null ? (m = oe(), m !== null ? p = [p, m] : (p = null, r = Te)) : (p = null, r = Te), p = p !== null ? p : "", p !== null ? (a.substr(r, 2) === "::" ? (m = "::", r += 2) : (m = null, _('"::"')), m !== null ? (v = ot(), v !== null ? e = [e, l, u, f, p, m, v] : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I), e === null && (I = r, e = oe(), e !== null ? (Te = r, a.charCodeAt(r) === 58 ? (l = ":", r++) : (l = null, _('":"')), l !== null ? (u = oe(), u !== null ? l = [l, u] : (l = null, r = Te)) : (l = null, r = Te), l = l !== null ? l : "", l !== null ? (Te = r, a.charCodeAt(r) === 58 ? (u = ":", r++) : (u = null, _('":"')), u !== null ? (f = oe(), f !== null ? u = [u, f] : (u = null, r = Te)) : (u = null, r = Te), u = u !== null ? u : "", u !== null ? (Te = r, a.charCodeAt(r) === 58 ? (f = ":", r++) : (f = null, _('":"')), f !== null ? (p = oe(), p !== null ? f = [f, p] : (f = null, r = Te)) : (f = null, r = Te), f = f !== null ? f : "", f !== null ? (Te = r, a.charCodeAt(r) === 58 ? (p = ":", r++) : (p = null, _('":"')), p !== null ? (m = oe(), m !== null ? p = [p, m] : (p = null, r = Te)) : (p = null, r = Te), p = p !== null ? p : "", p !== null ? (Te = r, a.charCodeAt(r) === 58 ? (m = ":", r++) : (m = null, _('":"')), m !== null ? (v = oe(), v !== null ? m = [m, v] : (m = null, r = Te)) : (m = null, r = Te), m = m !== null ? m : "", m !== null ? (a.substr(r, 2) === "::" ? (v = "::", r += 2) : (v = null, _('"::"')), v !== null ? (y = oe(), y !== null ? e = [e, l, u, f, p, m, v, y] : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I), e === null && (I = r, e = oe(), e !== null ? (Te = r, a.charCodeAt(r) === 58 ? (l = ":", r++) : (l = null, _('":"')), l !== null ? (u = oe(), u !== null ? l = [l, u] : (l = null, r = Te)) : (l = null, r = Te), l = l !== null ? l : "", l !== null ? (Te = r, a.charCodeAt(r) === 58 ? (u = ":", r++) : (u = null, _('":"')), u !== null ? (f = oe(), f !== null ? u = [u, f] : (u = null, r = Te)) : (u = null, r = Te), u = u !== null ? u : "", u !== null ? (Te = r, a.charCodeAt(r) === 58 ? (f = ":", r++) : (f = null, _('":"')), f !== null ? (p = oe(), p !== null ? f = [f, p] : (f = null, r = Te)) : (f = null, r = Te), f = f !== null ? f : "", f !== null ? (Te = r, a.charCodeAt(r) === 58 ? (p = ":", r++) : (p = null, _('":"')), p !== null ? (m = oe(), m !== null ? p = [p, m] : (p = null, r = Te)) : (p = null, r = Te), p = p !== null ? p : "", p !== null ? (Te = r, a.charCodeAt(r) === 58 ? (m = ":", r++) : (m = null, _('":"')), m !== null ? (v = oe(), v !== null ? m = [m, v] : (m = null, r = Te)) : (m = null, r = Te), m = m !== null ? m : "", m !== null ? (Te = r, a.charCodeAt(r) === 58 ? (v = ":", r++) : (v = null, _('":"')), v !== null ? (y = oe(), y !== null ? v = [v, y] : (v = null, r = Te)) : (v = null, r = Te), v = v !== null ? v : "", v !== null ? (a.substr(r, 2) === "::" ? (y = "::", r += 2) : (y = null, _('"::"')), y !== null ? e = [e, l, u, f, p, m, v, y] : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I)) : (e = null, r = I))))))))))))))), e !== null && (e = function(Ph) {
1118
+ return w.host_type = "IPv6", a.substring(r, Ph);
1119
1119
  }($)), e === null && (r = $), e;
1120
1120
  }
1121
1121
  function oe() {
@@ -1268,23 +1268,23 @@ function os() {
1268
1268
  }
1269
1269
  function Dr() {
1270
1270
  var e, l, u, f, p, m;
1271
- return m = r, e = rn(), e !== null ? (l = k(), l !== null ? (u = xn(), u !== null ? (f = k(), f !== null ? (p = Mn(), p !== null ? e = [e, l, u, f, p] : (e = null, r = m)) : (e = null, r = m)) : (e = null, r = m)) : (e = null, r = m)) : (e = null, r = m), e;
1271
+ return m = r, e = rn(), e !== null ? (l = P(), l !== null ? (u = xn(), u !== null ? (f = P(), f !== null ? (p = Mn(), p !== null ? e = [e, l, u, f, p] : (e = null, r = m)) : (e = null, r = m)) : (e = null, r = m)) : (e = null, r = m)) : (e = null, r = m), e;
1272
1272
  }
1273
1273
  function xn() {
1274
1274
  var e;
1275
- return e = Ne(), e === null && (e = Pn()), e;
1275
+ return e = Ne(), e === null && (e = kn()), e;
1276
1276
  }
1277
- function Pn() {
1277
+ function kn() {
1278
1278
  var e, l, u, f;
1279
1279
  return f = r, e = xr(), e !== null ? (a.charCodeAt(r) === 58 ? (l = ":", r++) : (l = null, _('":"')), l !== null ? (u = Nr(), u === null && (u = ws()), u !== null ? e = [e, l, u] : (e = null, r = f)) : (e = null, r = f)) : (e = null, r = f), e;
1280
1280
  }
1281
1281
  function Nr() {
1282
1282
  var e, l, u, f, p;
1283
- return f = r, e = en(), e === null && (e = tn()), e !== null ? (p = r, a.charCodeAt(r) === 63 ? (l = "?", r++) : (l = null, _('"?"')), l !== null ? (u = kn(), u !== null ? l = [l, u] : (l = null, r = p)) : (l = null, r = p), l = l !== null ? l : "", l !== null ? e = [e, l] : (e = null, r = f)) : (e = null, r = f), e;
1283
+ return f = r, e = en(), e === null && (e = tn()), e !== null ? (p = r, a.charCodeAt(r) === 63 ? (l = "?", r++) : (l = null, _('"?"')), l !== null ? (u = Pn(), u !== null ? l = [l, u] : (l = null, r = p)) : (l = null, r = p), l = l !== null ? l : "", l !== null ? e = [e, l] : (e = null, r = f)) : (e = null, r = f), e;
1284
1284
  }
1285
1285
  function en() {
1286
1286
  var e, l, u, f;
1287
- return f = r, a.substr(r, 2) === "//" ? (e = "//", r += 2) : (e = null, _('"//"')), e !== null ? (l = Pr(), l !== null ? (u = tn(), u = u !== null ? u : "", u !== null ? e = [e, l, u] : (e = null, r = f)) : (e = null, r = f)) : (e = null, r = f), e;
1287
+ return f = r, a.substr(r, 2) === "//" ? (e = "//", r += 2) : (e = null, _('"//"')), e !== null ? (l = kr(), l !== null ? (u = tn(), u = u !== null ? u : "", u !== null ? e = [e, l, u] : (e = null, r = f)) : (e = null, r = f)) : (e = null, r = f), e;
1288
1288
  }
1289
1289
  function tn() {
1290
1290
  var e, l, u;
@@ -1352,11 +1352,11 @@ function os() {
1352
1352
  w.scheme = a.substring(r, m);
1353
1353
  }(f)), e === null && (r = f), e;
1354
1354
  }
1355
- function Pr() {
1355
+ function kr() {
1356
1356
  var e;
1357
- return e = kr(), e === null && (e = Mr()), e;
1357
+ return e = Pr(), e === null && (e = Mr()), e;
1358
1358
  }
1359
- function kr() {
1359
+ function Pr() {
1360
1360
  var e, l, u, f;
1361
1361
  return u = r, f = r, e = dt(), e !== null ? (a.charCodeAt(r) === 64 ? (l = "@", r++) : (l = null, _('"@"')), l !== null ? e = [e, l] : (e = null, r = f)) : (e = null, r = f), e = e !== null ? e : "", e !== null ? (l = es(), l !== null ? e = [e, l] : (e = null, r = u)) : (e = null, r = u), e = e !== null ? e : "", e;
1362
1362
  }
@@ -1369,7 +1369,7 @@ function os() {
1369
1369
  e = null;
1370
1370
  return e;
1371
1371
  }
1372
- function kn() {
1372
+ function Pn() {
1373
1373
  var e, l;
1374
1374
  for (e = [], l = Os(); l !== null; )
1375
1375
  e.push(l), l = Os();
@@ -1448,7 +1448,7 @@ function os() {
1448
1448
  }
1449
1449
  function Gr() {
1450
1450
  var e, l, u, f, p, m;
1451
- return m = r, e = Mn(), e !== null ? (l = k(), l !== null ? (u = Wr(), u !== null ? (f = k(), f !== null ? (p = gl(), p !== null ? e = [e, l, u, f, p] : (e = null, r = m)) : (e = null, r = m)) : (e = null, r = m)) : (e = null, r = m)) : (e = null, r = m), e;
1451
+ return m = r, e = Mn(), e !== null ? (l = P(), l !== null ? (u = Wr(), u !== null ? (f = P(), f !== null ? (p = gl(), p !== null ? e = [e, l, u, f, p] : (e = null, r = m)) : (e = null, r = m)) : (e = null, r = m)) : (e = null, r = m)) : (e = null, r = m), e;
1452
1452
  }
1453
1453
  function Wr() {
1454
1454
  var e, l;
@@ -1462,8 +1462,8 @@ function os() {
1462
1462
  }
1463
1463
  function gl() {
1464
1464
  var e, l, u;
1465
- for (u = r, e = [], l = N(), l === null && (l = j(), l === null && (l = ve(), l === null && (l = F(), l === null && (l = X(), l === null && (l = k(), l === null && (l = M())))))); l !== null; )
1466
- e.push(l), l = N(), l === null && (l = j(), l === null && (l = ve(), l === null && (l = F(), l === null && (l = X(), l === null && (l = k(), l === null && (l = M()))))));
1465
+ for (u = r, e = [], l = N(), l === null && (l = j(), l === null && (l = ve(), l === null && (l = F(), l === null && (l = X(), l === null && (l = P(), l === null && (l = M())))))); l !== null; )
1466
+ e.push(l), l = N(), l === null && (l = j(), l === null && (l = ve(), l === null && (l = F(), l === null && (l = X(), l === null && (l = P(), l === null && (l = M()))))));
1467
1467
  return e !== null && (e = function(f) {
1468
1468
  w.reason_phrase = a.substring(r, f);
1469
1469
  }(u)), e === null && (r = u), e;
@@ -1528,7 +1528,7 @@ function os() {
1528
1528
  }
1529
1529
  function Ht() {
1530
1530
  var e, l, u, f, p;
1531
- return p = r, e = Us(), e = e !== null ? e : "", e !== null ? (l = Ae(), l !== null ? (u = Ne(), u !== null ? (f = Pe(), f !== null ? e = [e, l, u, f] : (e = null, r = p)) : (e = null, r = p)) : (e = null, r = p)) : (e = null, r = p), e;
1531
+ return p = r, e = Us(), e = e !== null ? e : "", e !== null ? (l = Ae(), l !== null ? (u = Ne(), u !== null ? (f = ke(), f !== null ? e = [e, l, u, f] : (e = null, r = p)) : (e = null, r = p)) : (e = null, r = p)) : (e = null, r = p), e;
1532
1532
  }
1533
1533
  function Us() {
1534
1534
  var e, l, u, f, p, m, v;
@@ -1778,7 +1778,7 @@ function os() {
1778
1778
  if (e !== null)
1779
1779
  if (l = Ae(), l !== null)
1780
1780
  if (u = Ne(), u !== null)
1781
- if (f = Pe(), f !== null) {
1781
+ if (f = ke(), f !== null) {
1782
1782
  for (p = [], le = r, m = ye(), m !== null ? (v = We(), v !== null ? m = [m, v] : (m = null, r = le)) : (m = null, r = le); m !== null; )
1783
1783
  p.push(m), le = r, m = ye(), m !== null ? (v = We(), v !== null ? m = [m, v] : (m = null, r = le)) : (m = null, r = le);
1784
1784
  p !== null ? e = [e, l, u, f, p] : (e = null, r = O);
@@ -1858,15 +1858,15 @@ function os() {
1858
1858
  if (l = re(), l !== null)
1859
1859
  if (u = at(), u !== null)
1860
1860
  if (f = dn(), f !== null) {
1861
- if (p = [], O = r, v = k(), v !== null)
1861
+ if (p = [], O = r, v = P(), v !== null)
1862
1862
  for (m = []; v !== null; )
1863
- m.push(v), v = k();
1863
+ m.push(v), v = P();
1864
1864
  else
1865
1865
  m = null;
1866
1866
  for (m !== null ? (v = dn(), v !== null ? m = [m, v] : (m = null, r = O)) : (m = null, r = O); m !== null; ) {
1867
- if (p.push(m), O = r, v = k(), v !== null)
1867
+ if (p.push(m), O = r, v = P(), v !== null)
1868
1868
  for (m = []; v !== null; )
1869
- m.push(v), v = k();
1869
+ m.push(v), v = P();
1870
1870
  else
1871
1871
  m = null;
1872
1872
  m !== null ? (v = dn(), v !== null ? m = [m, v] : (m = null, r = O)) : (m = null, r = O);
@@ -1884,7 +1884,7 @@ function os() {
1884
1884
  }
1885
1885
  function dn() {
1886
1886
  var e;
1887
- return e = Pn(), e === null && (e = tn()), e;
1887
+ return e = kn(), e === null && (e = tn()), e;
1888
1888
  }
1889
1889
  function ri() {
1890
1890
  var e, l, u, f;
@@ -2127,15 +2127,15 @@ function os() {
2127
2127
  }
2128
2128
  function Qn() {
2129
2129
  var e, l, u, f, p, m;
2130
- if (p = r, e = Ps(), e !== null) {
2131
- for (l = [], m = r, u = ae(), u !== null ? (f = Ps(), f !== null ? u = [u, f] : (u = null, r = m)) : (u = null, r = m); u !== null; )
2132
- l.push(u), m = r, u = ae(), u !== null ? (f = Ps(), f !== null ? u = [u, f] : (u = null, r = m)) : (u = null, r = m);
2130
+ if (p = r, e = ks(), e !== null) {
2131
+ for (l = [], m = r, u = ae(), u !== null ? (f = ks(), f !== null ? u = [u, f] : (u = null, r = m)) : (u = null, r = m); u !== null; )
2132
+ l.push(u), m = r, u = ae(), u !== null ? (f = ks(), f !== null ? u = [u, f] : (u = null, r = m)) : (u = null, r = m);
2133
2133
  l !== null ? e = [e, l] : (e = null, r = p);
2134
2134
  } else
2135
2135
  e = null, r = p;
2136
2136
  return e;
2137
2137
  }
2138
- function Ps() {
2138
+ function ks() {
2139
2139
  var e, l, u, f, p, m, v, y;
2140
2140
  if (v = r, e = Ti(), e !== null)
2141
2141
  if (l = L(), l !== null)
@@ -2279,7 +2279,7 @@ function os() {
2279
2279
  }
2280
2280
  function Ft() {
2281
2281
  var e, l, u, f, p, m, v, y, O, le, Ue;
2282
- return le = r, Ue = r, e = Ai(), e !== null ? (a.charCodeAt(r) === 45 ? (l = "-", r++) : (l = null, _('"-"')), l !== null ? (u = jt(), u !== null ? (a.charCodeAt(r) === 45 ? (f = "-", r++) : (f = null, _('"-"')), f !== null ? (p = jt(), p !== null ? (a.charCodeAt(r) === 45 ? (m = "-", r++) : (m = null, _('"-"')), m !== null ? (v = jt(), v !== null ? (a.charCodeAt(r) === 45 ? (y = "-", r++) : (y = null, _('"-"')), y !== null ? (O = xl(), O !== null ? e = [e, l, u, f, p, m, v, y, O] : (e = null, r = Ue)) : (e = null, r = Ue)) : (e = null, r = Ue)) : (e = null, r = Ue)) : (e = null, r = Ue)) : (e = null, r = Ue)) : (e = null, r = Ue)) : (e = null, r = Ue)) : (e = null, r = Ue), e !== null && (e = function(wt, ks) {
2282
+ return le = r, Ue = r, e = Ai(), e !== null ? (a.charCodeAt(r) === 45 ? (l = "-", r++) : (l = null, _('"-"')), l !== null ? (u = jt(), u !== null ? (a.charCodeAt(r) === 45 ? (f = "-", r++) : (f = null, _('"-"')), f !== null ? (p = jt(), p !== null ? (a.charCodeAt(r) === 45 ? (m = "-", r++) : (m = null, _('"-"')), m !== null ? (v = jt(), v !== null ? (a.charCodeAt(r) === 45 ? (y = "-", r++) : (y = null, _('"-"')), y !== null ? (O = xl(), O !== null ? e = [e, l, u, f, p, m, v, y, O] : (e = null, r = Ue)) : (e = null, r = Ue)) : (e = null, r = Ue)) : (e = null, r = Ue)) : (e = null, r = Ue)) : (e = null, r = Ue)) : (e = null, r = Ue)) : (e = null, r = Ue)) : (e = null, r = Ue), e !== null && (e = function(wt, Ps) {
2283
2283
  w = a.substring(r + 5, wt);
2284
2284
  }(le, e[0])), e === null && (r = le), e;
2285
2285
  }
@@ -2311,7 +2311,7 @@ function os() {
2311
2311
  }
2312
2312
  }()), e === null && (r = p), e;
2313
2313
  }
2314
- function Pl() {
2314
+ function kl() {
2315
2315
  var e, l, u, f, p, m;
2316
2316
  if (p = r, e = nr(), e !== null) {
2317
2317
  for (l = [], m = r, u = ye(), u !== null ? (f = rr(), f !== null ? u = [u, f] : (u = null, r = m)) : (u = null, r = m); u !== null; )
@@ -2329,7 +2329,7 @@ function os() {
2329
2329
  }
2330
2330
  function rr() {
2331
2331
  var e;
2332
- return e = Ri(), e === null && (e = Ii(), e === null && (e = kl(), e === null && (e = We()))), e;
2332
+ return e = Ri(), e === null && (e = Ii(), e === null && (e = Pl(), e === null && (e = We()))), e;
2333
2333
  }
2334
2334
  function Ri() {
2335
2335
  var e, l, u, f, p;
@@ -2343,7 +2343,7 @@ function os() {
2343
2343
  w.from_tag = v;
2344
2344
  }(f, e[2])), e === null && (r = f), e;
2345
2345
  }
2346
- function kl() {
2346
+ function Pl() {
2347
2347
  var e, l;
2348
2348
  return l = r, a.substr(r, 10) === "early-only" ? (e = "early-only", r += 10) : (e = null, _('"early-only"')), e !== null && (e = function(u) {
2349
2349
  w.early_only = !0;
@@ -2485,8 +2485,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2485
2485
  this._parameters = {}, this._headers = {}, this._scheme = g || r.SIP, this._user = T, this._host = S, this._port = E;
2486
2486
  for (var R in C)
2487
2487
  Object.prototype.hasOwnProperty.call(C, R) && this.setParam(R, C[R]);
2488
- for (var k in A)
2489
- Object.prototype.hasOwnProperty.call(A, k) && this.setHeader(k, A[k]);
2488
+ for (var P in A)
2489
+ Object.prototype.hasOwnProperty.call(A, P) && this.setHeader(P, A[P]);
2490
2490
  }
2491
2491
  return s(_, [{
2492
2492
  key: "setParam",
@@ -2565,8 +2565,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2565
2565
  var A = c(this._headers[C]), R;
2566
2566
  try {
2567
2567
  for (A.s(); !(R = A.n()).done; ) {
2568
- var k = R.value;
2569
- T.push("".concat(C, "=").concat(k));
2568
+ var P = R.value;
2569
+ T.push("".concat(C, "=").concat(P));
2570
2570
  }
2571
2571
  } catch (M) {
2572
2572
  A.e(M);
@@ -2646,20 +2646,20 @@ function bt() {
2646
2646
  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2647
2647
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2648
2648
  }
2649
- var A = !0, R = !1, k;
2649
+ var A = !0, R = !1, P;
2650
2650
  return { s: function() {
2651
2651
  S = g[Symbol.iterator]();
2652
2652
  }, n: function() {
2653
2653
  var ie = S.next();
2654
2654
  return A = ie.done, ie;
2655
2655
  }, e: function(ie) {
2656
- R = !0, k = ie;
2656
+ R = !0, P = ie;
2657
2657
  }, f: function() {
2658
2658
  try {
2659
2659
  !A && S.return != null && S.return();
2660
2660
  } finally {
2661
2661
  if (R)
2662
- throw k;
2662
+ throw P;
2663
2663
  }
2664
2664
  } };
2665
2665
  }
@@ -2791,7 +2791,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2791
2791
  function R(pe, ue, _e) {
2792
2792
  return ue ^ (pe | ~_e);
2793
2793
  }
2794
- function k(pe, ue, _e, we, Ne, Qe, Le) {
2794
+ function P(pe, ue, _e, we, Ne, Qe, Le) {
2795
2795
  return pe = S(pe, S(S(E(ue, _e, we), Ne), Le)), S(T(pe, Qe), ue);
2796
2796
  }
2797
2797
  function M(pe, ue, _e, we, Ne, Qe, Le) {
@@ -2821,9 +2821,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2821
2821
  }
2822
2822
  return ue;
2823
2823
  }
2824
- var L = [], D, B, q, J, F, X, U, x, se, st = 7, ee = 12, W = 17, G = 22, re = 5, ge = 9, be = 14, Pe = 20, Ae = 4, ae = 11, ye = 16, nt = 23, at = 6, Se = 10, Ce = 15, Ie = 21;
2824
+ var L = [], D, B, q, J, F, X, U, x, se, st = 7, ee = 12, W = 17, G = 22, re = 5, ge = 9, be = 14, ke = 20, Ae = 4, ae = 11, ye = 16, nt = 23, at = 6, Se = 10, Ce = 15, Ie = 21;
2825
2825
  for (g = ve(g), L = j(g), X = 1732584193, U = 4023233417, x = 2562383102, se = 271733878, D = 0; D < L.length; D += 16)
2826
- B = X, q = U, J = x, F = se, X = k(X, U, x, se, L[D + 0], st, 3614090360), se = k(se, X, U, x, L[D + 1], ee, 3905402710), x = k(x, se, X, U, L[D + 2], W, 606105819), U = k(U, x, se, X, L[D + 3], G, 3250441966), X = k(X, U, x, se, L[D + 4], st, 4118548399), se = k(se, X, U, x, L[D + 5], ee, 1200080426), x = k(x, se, X, U, L[D + 6], W, 2821735955), U = k(U, x, se, X, L[D + 7], G, 4249261313), X = k(X, U, x, se, L[D + 8], st, 1770035416), se = k(se, X, U, x, L[D + 9], ee, 2336552879), x = k(x, se, X, U, L[D + 10], W, 4294925233), U = k(U, x, se, X, L[D + 11], G, 2304563134), X = k(X, U, x, se, L[D + 12], st, 1804603682), se = k(se, X, U, x, L[D + 13], ee, 4254626195), x = k(x, se, X, U, L[D + 14], W, 2792965006), U = k(U, x, se, X, L[D + 15], G, 1236535329), X = M(X, U, x, se, L[D + 1], re, 4129170786), se = M(se, X, U, x, L[D + 6], ge, 3225465664), x = M(x, se, X, U, L[D + 11], be, 643717713), U = M(U, x, se, X, L[D + 0], Pe, 3921069994), X = M(X, U, x, se, L[D + 5], re, 3593408605), se = M(se, X, U, x, L[D + 10], ge, 38016083), x = M(x, se, X, U, L[D + 15], be, 3634488961), U = M(U, x, se, X, L[D + 4], Pe, 3889429448), X = M(X, U, x, se, L[D + 9], re, 568446438), se = M(se, X, U, x, L[D + 14], ge, 3275163606), x = M(x, se, X, U, L[D + 3], be, 4107603335), U = M(U, x, se, X, L[D + 8], Pe, 1163531501), X = M(X, U, x, se, L[D + 13], re, 2850285829), se = M(se, X, U, x, L[D + 2], ge, 4243563512), x = M(x, se, X, U, L[D + 7], be, 1735328473), U = M(U, x, se, X, L[D + 12], Pe, 2368359562), X = ie(X, U, x, se, L[D + 5], Ae, 4294588738), se = ie(se, X, U, x, L[D + 8], ae, 2272392833), x = ie(x, se, X, U, L[D + 11], ye, 1839030562), U = ie(U, x, se, X, L[D + 14], nt, 4259657740), X = ie(X, U, x, se, L[D + 1], Ae, 2763975236), se = ie(se, X, U, x, L[D + 4], ae, 1272893353), x = ie(x, se, X, U, L[D + 7], ye, 4139469664), U = ie(U, x, se, X, L[D + 10], nt, 3200236656), X = ie(X, U, x, se, L[D + 13], Ae, 681279174), se = ie(se, X, U, x, L[D + 0], ae, 3936430074), x = ie(x, se, X, U, L[D + 3], ye, 3572445317), U = ie(U, x, se, X, L[D + 6], nt, 76029189), X = ie(X, U, x, se, L[D + 9], Ae, 3654602809), se = ie(se, X, U, x, L[D + 12], ae, 3873151461), x = ie(x, se, X, U, L[D + 15], ye, 530742520), U = ie(U, x, se, X, L[D + 2], nt, 3299628645), X = N(X, U, x, se, L[D + 0], at, 4096336452), se = N(se, X, U, x, L[D + 7], Se, 1126891415), x = N(x, se, X, U, L[D + 14], Ce, 2878612391), U = N(U, x, se, X, L[D + 5], Ie, 4237533241), X = N(X, U, x, se, L[D + 12], at, 1700485571), se = N(se, X, U, x, L[D + 3], Se, 2399980690), x = N(x, se, X, U, L[D + 10], Ce, 4293915773), U = N(U, x, se, X, L[D + 1], Ie, 2240044497), X = N(X, U, x, se, L[D + 8], at, 1873313359), se = N(se, X, U, x, L[D + 15], Se, 4264355552), x = N(x, se, X, U, L[D + 6], Ce, 2734768916), U = N(U, x, se, X, L[D + 13], Ie, 1309151649), X = N(X, U, x, se, L[D + 4], at, 4149444226), se = N(se, X, U, x, L[D + 11], Se, 3174756917), x = N(x, se, X, U, L[D + 2], Ce, 718787259), U = N(U, x, se, X, L[D + 9], Ie, 3951481745), X = S(X, B), U = S(U, q), x = S(x, J), se = S(se, F);
2826
+ B = X, q = U, J = x, F = se, X = P(X, U, x, se, L[D + 0], st, 3614090360), se = P(se, X, U, x, L[D + 1], ee, 3905402710), x = P(x, se, X, U, L[D + 2], W, 606105819), U = P(U, x, se, X, L[D + 3], G, 3250441966), X = P(X, U, x, se, L[D + 4], st, 4118548399), se = P(se, X, U, x, L[D + 5], ee, 1200080426), x = P(x, se, X, U, L[D + 6], W, 2821735955), U = P(U, x, se, X, L[D + 7], G, 4249261313), X = P(X, U, x, se, L[D + 8], st, 1770035416), se = P(se, X, U, x, L[D + 9], ee, 2336552879), x = P(x, se, X, U, L[D + 10], W, 4294925233), U = P(U, x, se, X, L[D + 11], G, 2304563134), X = P(X, U, x, se, L[D + 12], st, 1804603682), se = P(se, X, U, x, L[D + 13], ee, 4254626195), x = P(x, se, X, U, L[D + 14], W, 2792965006), U = P(U, x, se, X, L[D + 15], G, 1236535329), X = M(X, U, x, se, L[D + 1], re, 4129170786), se = M(se, X, U, x, L[D + 6], ge, 3225465664), x = M(x, se, X, U, L[D + 11], be, 643717713), U = M(U, x, se, X, L[D + 0], ke, 3921069994), X = M(X, U, x, se, L[D + 5], re, 3593408605), se = M(se, X, U, x, L[D + 10], ge, 38016083), x = M(x, se, X, U, L[D + 15], be, 3634488961), U = M(U, x, se, X, L[D + 4], ke, 3889429448), X = M(X, U, x, se, L[D + 9], re, 568446438), se = M(se, X, U, x, L[D + 14], ge, 3275163606), x = M(x, se, X, U, L[D + 3], be, 4107603335), U = M(U, x, se, X, L[D + 8], ke, 1163531501), X = M(X, U, x, se, L[D + 13], re, 2850285829), se = M(se, X, U, x, L[D + 2], ge, 4243563512), x = M(x, se, X, U, L[D + 7], be, 1735328473), U = M(U, x, se, X, L[D + 12], ke, 2368359562), X = ie(X, U, x, se, L[D + 5], Ae, 4294588738), se = ie(se, X, U, x, L[D + 8], ae, 2272392833), x = ie(x, se, X, U, L[D + 11], ye, 1839030562), U = ie(U, x, se, X, L[D + 14], nt, 4259657740), X = ie(X, U, x, se, L[D + 1], Ae, 2763975236), se = ie(se, X, U, x, L[D + 4], ae, 1272893353), x = ie(x, se, X, U, L[D + 7], ye, 4139469664), U = ie(U, x, se, X, L[D + 10], nt, 3200236656), X = ie(X, U, x, se, L[D + 13], Ae, 681279174), se = ie(se, X, U, x, L[D + 0], ae, 3936430074), x = ie(x, se, X, U, L[D + 3], ye, 3572445317), U = ie(U, x, se, X, L[D + 6], nt, 76029189), X = ie(X, U, x, se, L[D + 9], Ae, 3654602809), se = ie(se, X, U, x, L[D + 12], ae, 3873151461), x = ie(x, se, X, U, L[D + 15], ye, 530742520), U = ie(U, x, se, X, L[D + 2], nt, 3299628645), X = N(X, U, x, se, L[D + 0], at, 4096336452), se = N(se, X, U, x, L[D + 7], Se, 1126891415), x = N(x, se, X, U, L[D + 14], Ce, 2878612391), U = N(U, x, se, X, L[D + 5], Ie, 4237533241), X = N(X, U, x, se, L[D + 12], at, 1700485571), se = N(se, X, U, x, L[D + 3], Se, 2399980690), x = N(x, se, X, U, L[D + 10], Ce, 4293915773), U = N(U, x, se, X, L[D + 1], Ie, 2240044497), X = N(X, U, x, se, L[D + 8], at, 1873313359), se = N(se, X, U, x, L[D + 15], Se, 4264355552), x = N(x, se, X, U, L[D + 6], Ce, 2734768916), U = N(U, x, se, X, L[D + 13], Ie, 1309151649), X = N(X, U, x, se, L[D + 4], at, 4149444226), se = N(se, X, U, x, L[D + 11], Se, 3174756917), x = N(x, se, X, U, L[D + 2], Ce, 718787259), U = N(U, x, se, X, L[D + 9], Ie, 3951481745), X = S(X, B), U = S(U, q), x = S(x, J), se = S(se, F);
2827
2827
  var Oe = Ee(X) + Ee(U) + Ee(x) + Ee(se);
2828
2828
  return Oe.toLowerCase();
2829
2829
  }, Ze.closeMediaStream = function(g) {
@@ -2848,8 +2848,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2848
2848
  var A = t(T), R;
2849
2849
  try {
2850
2850
  for (A.s(); !(R = A.n()).done; ) {
2851
- var k = R.value;
2852
- k.stop();
2851
+ var P = R.value;
2852
+ P.stop();
2853
2853
  }
2854
2854
  } catch (j) {
2855
2855
  A.e(j);
@@ -3202,8 +3202,8 @@ function _d(c) {
3202
3202
  function A(...R) {
3203
3203
  if (!A.enabled)
3204
3204
  return;
3205
- const k = A, M = Number(/* @__PURE__ */ new Date()), ie = M - (T || M);
3206
- k.diff = ie, k.prev = T, k.curr = M, T = M, R[0] = n.coerce(R[0]), typeof R[0] != "string" && R.unshift("%O");
3205
+ const P = A, M = Number(/* @__PURE__ */ new Date()), ie = M - (T || M);
3206
+ P.diff = ie, P.prev = T, P.curr = M, T = M, R[0] = n.coerce(R[0]), typeof R[0] != "string" && R.unshift("%O");
3207
3207
  let N = 0;
3208
3208
  R[0] = R[0].replace(/%([a-zA-Z%])/g, (Ee, ve) => {
3209
3209
  if (Ee === "%%")
@@ -3212,10 +3212,10 @@ function _d(c) {
3212
3212
  const L = n.formatters[ve];
3213
3213
  if (typeof L == "function") {
3214
3214
  const D = R[N];
3215
- Ee = L.call(k, D), R.splice(N, 1), N--;
3215
+ Ee = L.call(P, D), R.splice(N, 1), N--;
3216
3216
  }
3217
3217
  return Ee;
3218
- }), n.formatArgs.call(k, R), (k.log || n.log).apply(k, R);
3218
+ }), n.formatArgs.call(P, R), (P.log || n.log).apply(P, R);
3219
3219
  }
3220
3220
  return A.namespace = g, A.useColors = n.useColors(), A.color = n.selectColor(g), A.extend = a, A.destroy = n.destroy, Object.defineProperty(A, "enabled", {
3221
3221
  enumerable: !0,
@@ -3435,7 +3435,7 @@ var ir = mr, lr = "JsSIP", ht = /* @__PURE__ */ function() {
3435
3435
  return this._error;
3436
3436
  }
3437
3437
  }]), c;
3438
- }(), Pt = {}, zf = {}, Xf = { exports: {} }, ec = Xf.exports = {
3438
+ }(), kt = {}, zf = {}, Xf = { exports: {} }, ec = Xf.exports = {
3439
3439
  v: [{
3440
3440
  name: "version",
3441
3441
  reg: /^(\d*)$/
@@ -4002,14 +4002,14 @@ var po = Qf, Td = /%[sdv%]/g, vd = function(c) {
4002
4002
  `) + `\r
4003
4003
  `;
4004
4004
  }, In = zf, Cd = yd;
4005
- Pt.write = Cd;
4006
- Pt.parse = In.parse;
4007
- Pt.parseParams = In.parseParams;
4008
- Pt.parseFmtpConfig = In.parseFmtpConfig;
4009
- Pt.parsePayloads = In.parsePayloads;
4010
- Pt.parseRemoteCandidates = In.parseRemoteCandidates;
4011
- Pt.parseImageAttributes = In.parseImageAttributes;
4012
- Pt.parseSimulcastStreamList = In.parseSimulcastStreamList;
4005
+ kt.write = Cd;
4006
+ kt.parse = In.parse;
4007
+ kt.parseParams = In.parseParams;
4008
+ kt.parseFmtpConfig = In.parseFmtpConfig;
4009
+ kt.parsePayloads = In.parsePayloads;
4010
+ kt.parseRemoteCandidates = In.parseRemoteCandidates;
4011
+ kt.parseImageAttributes = In.parseImageAttributes;
4012
+ kt.parseSimulcastStreamList = In.parseSimulcastStreamList;
4013
4013
  function Ta(c) {
4014
4014
  "@babel/helpers - typeof";
4015
4015
  return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Ta = function(n) {
@@ -4128,7 +4128,7 @@ function sc(c, t) {
4128
4128
  function Ba(c, t, n) {
4129
4129
  return t && sc(c.prototype, t), n && sc(c, n), c;
4130
4130
  }
4131
- var Zf = Pt, wd = ht, St = lt, rt = bt(), nc = Ou(), Od = os(), mo = new wd("SIPMessage"), eh = /* @__PURE__ */ function() {
4131
+ var Zf = kt, wd = ht, St = lt, rt = bt(), nc = Ou(), Od = os(), mo = new wd("SIPMessage"), eh = /* @__PURE__ */ function() {
4132
4132
  function c(t, n, a, o, s, r) {
4133
4133
  if (rl(this, c), !t || !n || !a)
4134
4134
  return null;
@@ -4506,7 +4506,7 @@ var Zf = Pt, wd = ht, St = lt, rt = bt(), nc = Ou(), Od = os(), mo = new wd("SIP
4506
4506
  C.f();
4507
4507
  }
4508
4508
  }
4509
- var k = this.getHeaders("via"), M = Bt(k), ie;
4509
+ var P = this.getHeaders("via"), M = Bt(P), ie;
4510
4510
  try {
4511
4511
  for (M.s(); !(ie = M.n()).done; ) {
4512
4512
  var N = ie.value;
@@ -4634,14 +4634,14 @@ function rc(c, t) {
4634
4634
  a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(c, a.key, a);
4635
4635
  }
4636
4636
  }
4637
- function Pd(c, t, n) {
4637
+ function kd(c, t, n) {
4638
4638
  return t && rc(c.prototype, t), n && rc(c, n), c;
4639
4639
  }
4640
- var kd = ht, hs = bt(), Yt = new kd("DigestAuthentication"), Md = /* @__PURE__ */ function() {
4640
+ var Pd = ht, hs = bt(), Yt = new Pd("DigestAuthentication"), Md = /* @__PURE__ */ function() {
4641
4641
  function c(t) {
4642
4642
  xd(this, c), this._credentials = t, this._cnonce = null, this._nc = 0, this._ncHex = "00000000", this._algorithm = null, this._realm = null, this._nonce = null, this._opaque = null, this._stale = null, this._qop = null, this._method = null, this._uri = null, this._ha1 = null, this._response = null;
4643
4643
  }
4644
- return Pd(c, [{
4644
+ return kd(c, [{
4645
4645
  key: "get",
4646
4646
  value: function(n) {
4647
4647
  switch (n) {
@@ -5924,7 +5924,7 @@ function Ua(c) {
5924
5924
  return n.__proto__ || Object.getPrototypeOf(n);
5925
5925
  }, Ua(c);
5926
5926
  }
5927
- var D_ = ft.EventEmitter, N_ = lt, U_ = Ws, x_ = bt(), P_ = /* @__PURE__ */ function(c) {
5927
+ var D_ = ft.EventEmitter, N_ = lt, U_ = Ws, x_ = bt(), k_ = /* @__PURE__ */ function(c) {
5928
5928
  R_(n, c);
5929
5929
  var t = I_(n);
5930
5930
  function n(a) {
@@ -5994,7 +5994,7 @@ var D_ = ft.EventEmitter, N_ = lt, U_ = Ws, x_ = bt(), P_ = /* @__PURE__ */ func
5994
5994
  }
5995
5995
  }]), n;
5996
5996
  }(D_);
5997
- function k_(c, t) {
5997
+ function P_(c, t) {
5998
5998
  if (!(c instanceof t))
5999
5999
  throw new TypeError("Cannot call a class as a function");
6000
6000
  }
@@ -6013,7 +6013,7 @@ var L_ = ht, Cc = lt, $_ = new L_("RTCSession:ReferNotifier"), Ao = {
6013
6013
  expires: 300
6014
6014
  }, H_ = /* @__PURE__ */ function() {
6015
6015
  function c(t, n, a) {
6016
- k_(this, c), this._session = t, this._id = n, this._expires = a || Ao.expires, this._active = !0, this.notify(100);
6016
+ P_(this, c), this._session = t, this._id = n, this._expires = a || Ao.expires, this._active = !0, this.notify(100);
6017
6017
  }
6018
6018
  return M_(c, [{
6019
6019
  key: "notify",
@@ -6294,9 +6294,9 @@ function pu(c, t) {
6294
6294
  function ep(c) {
6295
6295
  var t = np();
6296
6296
  return function() {
6297
- var a = Pa(c), o;
6297
+ var a = ka(c), o;
6298
6298
  if (t) {
6299
- var s = Pa(this).constructor;
6299
+ var s = ka(this).constructor;
6300
6300
  o = Reflect.construct(a, arguments, s);
6301
6301
  } else
6302
6302
  o = a.apply(this, arguments);
@@ -6323,12 +6323,12 @@ function np() {
6323
6323
  return !1;
6324
6324
  }
6325
6325
  }
6326
- function Pa(c) {
6327
- return Pa = Object.setPrototypeOf ? Object.getPrototypeOf : function(n) {
6326
+ function ka(c) {
6327
+ return ka = Object.setPrototypeOf ? Object.getPrototypeOf : function(n) {
6328
6328
  return n.__proto__ || Object.getPrototypeOf(n);
6329
- }, Pa(c);
6329
+ }, ka(c);
6330
6330
  }
6331
- var rp = ft.EventEmitter, Oc = Pt, ip = ht, ce = lt, gn = Ws, Dc = fl, qe = bt(), xi = sh, lp = Es, Vl = u_, ap = hl, kt = y_, Nc = P_, op = H_, up = z_, Uc = Ks(), K = new ip("RTCSession"), Q = {
6331
+ var rp = ft.EventEmitter, Oc = kt, ip = ht, ce = lt, gn = Ws, Dc = fl, qe = bt(), xi = sh, lp = Es, Vl = u_, ap = hl, Pt = y_, Nc = k_, op = H_, up = z_, Uc = Ks(), K = new ip("RTCSession"), Q = {
6332
6332
  // RTCSession states.
6333
6333
  STATUS_NULL: 0,
6334
6334
  STATUS_INVITE_SENT: 1,
@@ -6446,13 +6446,13 @@ var rp = ft.EventEmitter, Oc = Pt, ip = ht, ce = lt, gn = Ws, Dc = fl, qe = bt()
6446
6446
  for (var A in h)
6447
6447
  Object.prototype.hasOwnProperty.call(h, A) && this.on(A, h[A]);
6448
6448
  this._from_tag = qe.newTag();
6449
- var R = s.anonymous || !1, k = {
6449
+ var R = s.anonymous || !1, P = {
6450
6450
  from_tag: this._from_tag
6451
6451
  };
6452
6452
  this._contact = this._ua.contact.toString({
6453
6453
  anonymous: R,
6454
6454
  outbound: !0
6455
- }), R ? (k.from_display_name = "Anonymous", k.from_uri = new Uc("sip", "anonymous", "anonymous.invalid"), _.push("P-Preferred-Identity: ".concat(this._ua.configuration.uri.toString())), _.push("Privacy: id")) : s.fromUserName && (k.from_uri = new Uc("sip", s.fromUserName, this._ua.configuration.uri.host), _.push("P-Preferred-Identity: ".concat(this._ua.configuration.uri.toString()))), s.fromDisplayName && (k.from_display_name = s.fromDisplayName), _.push("Contact: ".concat(this._contact)), _.push("Content-Type: application/sdp"), this._sessionTimers.enabled && _.push("Session-Expires: ".concat(this._sessionTimers.defaultExpires).concat(this._ua.configuration.session_timers_force_refresher ? ";refresher=uac" : "")), this._request = new lp.InitialOutgoingInviteRequest(o, this._ua, k, _), this._id = this._request.call_id + this._from_tag, this._createRTCConnection(S, E), this._direction = "outgoing", this._local_identity = this._request.from, this._remote_identity = this._request.to, r && r(this), this._newRTCSession("local", this._request), this._sendInitialRequest(g, C, T);
6455
+ }), R ? (P.from_display_name = "Anonymous", P.from_uri = new Uc("sip", "anonymous", "anonymous.invalid"), _.push("P-Preferred-Identity: ".concat(this._ua.configuration.uri.toString())), _.push("Privacy: id")) : s.fromUserName && (P.from_uri = new Uc("sip", s.fromUserName, this._ua.configuration.uri.host), _.push("P-Preferred-Identity: ".concat(this._ua.configuration.uri.toString()))), s.fromDisplayName && (P.from_display_name = s.fromDisplayName), _.push("Contact: ".concat(this._contact)), _.push("Content-Type: application/sdp"), this._sessionTimers.enabled && _.push("Session-Expires: ".concat(this._sessionTimers.defaultExpires).concat(this._ua.configuration.session_timers_force_refresher ? ";refresher=uac" : "")), this._request = new lp.InitialOutgoingInviteRequest(o, this._ua, P, _), this._id = this._request.call_id + this._from_tag, this._createRTCConnection(S, E), this._direction = "outgoing", this._local_identity = this._request.from, this._remote_identity = this._request.to, r && r(this), this._newRTCSession("local", this._request), this._sendInitialRequest(g, C, T);
6456
6456
  }
6457
6457
  }, {
6458
6458
  key: "init_incoming",
@@ -6484,7 +6484,7 @@ var rp = ft.EventEmitter, Oc = Pt, ip = ht, ce = lt, gn = Ws, Dc = fl, qe = bt()
6484
6484
  K.debug("answer()");
6485
6485
  var r = this._request, d = qe.cloneArray(s.extraHeaders), h = qe.cloneObject(s.mediaConstraints), _ = s.mediaStream || null, g = qe.cloneObject(s.pcConfig, {
6486
6486
  iceServers: []
6487
- }), T = s.rtcConstraints || null, S = s.rtcAnswerConstraints || null, E = qe.cloneObject(s.rtcOfferConstraints), C, A = !1, R = !1, k = !1, M = !1;
6487
+ }), T = s.rtcConstraints || null, S = s.rtcAnswerConstraints || null, E = qe.cloneObject(s.rtcOfferConstraints), C, A = !1, R = !1, P = !1, M = !1;
6488
6488
  if (this._rtcAnswerConstraints = S, this._rtcOfferConstraints = s.rtcOfferConstraints || null, this._data = s.data || this._data, this._direction !== "incoming")
6489
6489
  throw new gn.NotSupportedError('"answer" not supported for outgoing RTCSession');
6490
6490
  if (this._status !== Q.STATUS_WAITING_FOR_ANSWER)
@@ -6500,7 +6500,7 @@ var rp = ft.EventEmitter, Oc = Pt, ip = ht, ce = lt, gn = Ws, Dc = fl, qe = bt()
6500
6500
  try {
6501
6501
  for (N.s(); !(j = N.n()).done; ) {
6502
6502
  var Ee = j.value;
6503
- Ee.type === "audio" && (A = !0, (!Ee.direction || Ee.direction === "sendrecv") && (k = !0)), Ee.type === "video" && (R = !0, (!Ee.direction || Ee.direction === "sendrecv") && (M = !0));
6503
+ Ee.type === "audio" && (A = !0, (!Ee.direction || Ee.direction === "sendrecv") && (P = !0)), Ee.type === "video" && (R = !0, (!Ee.direction || Ee.direction === "sendrecv") && (M = !0));
6504
6504
  }
6505
6505
  } catch (F) {
6506
6506
  N.e(F);
@@ -6535,7 +6535,7 @@ var rp = ft.EventEmitter, Oc = Pt, ip = ht, ce = lt, gn = Ws, Dc = fl, qe = bt()
6535
6535
  B.f();
6536
6536
  }
6537
6537
  }
6538
- !_ && h.audio === void 0 && (h.audio = k), !_ && h.video === void 0 && (h.video = M), !_ && !A && !E.offerToReceiveAudio && (h.audio = !1), !_ && !R && !E.offerToReceiveVideo && (h.video = !1), this._createRTCConnection(g, T), Promise.resolve().then(function() {
6538
+ !_ && h.audio === void 0 && (h.audio = P), !_ && h.video === void 0 && (h.video = M), !_ && !A && !E.offerToReceiveAudio && (h.audio = !1), !_ && !R && !E.offerToReceiveVideo && (h.video = !1), this._createRTCConnection(g, T), Promise.resolve().then(function() {
6539
6539
  if (_)
6540
6540
  return _;
6541
6541
  if (h.audio || h.video)
@@ -6652,9 +6652,9 @@ var rp = ft.EventEmitter, Oc = Pt, ip = ht, ce = lt, gn = Ws, Dc = fl, qe = bt()
6652
6652
  throw new TypeError("Invalid tones: ".concat(o));
6653
6653
  if (d && !qe.isDecimal(d))
6654
6654
  throw new TypeError("Invalid tone duration: ".concat(d));
6655
- if (d ? d < kt.C.MIN_DURATION ? (K.debug('"duration" value is lower than the minimum allowed, setting it to '.concat(kt.C.MIN_DURATION, " milliseconds")), d = kt.C.MIN_DURATION) : d > kt.C.MAX_DURATION ? (K.debug('"duration" value is greater than the maximum allowed, setting it to '.concat(kt.C.MAX_DURATION, " milliseconds")), d = kt.C.MAX_DURATION) : d = Math.abs(d) : d = kt.C.DEFAULT_DURATION, s.duration = d, h && !qe.isDecimal(h))
6655
+ if (d ? d < Pt.C.MIN_DURATION ? (K.debug('"duration" value is lower than the minimum allowed, setting it to '.concat(Pt.C.MIN_DURATION, " milliseconds")), d = Pt.C.MIN_DURATION) : d > Pt.C.MAX_DURATION ? (K.debug('"duration" value is greater than the maximum allowed, setting it to '.concat(Pt.C.MAX_DURATION, " milliseconds")), d = Pt.C.MAX_DURATION) : d = Math.abs(d) : d = Pt.C.DEFAULT_DURATION, s.duration = d, h && !qe.isDecimal(h))
6656
6656
  throw new TypeError("Invalid interToneGap: ".concat(h));
6657
- if (h ? h < kt.C.MIN_INTER_TONE_GAP ? (K.debug('"interToneGap" value is lower than the minimum allowed, setting it to '.concat(kt.C.MIN_INTER_TONE_GAP, " milliseconds")), h = kt.C.MIN_INTER_TONE_GAP) : h = Math.abs(h) : h = kt.C.DEFAULT_INTER_TONE_GAP, _ === ce.DTMF_TRANSPORT.RFC2833) {
6657
+ if (h ? h < Pt.C.MIN_INTER_TONE_GAP ? (K.debug('"interToneGap" value is lower than the minimum allowed, setting it to '.concat(Pt.C.MIN_INTER_TONE_GAP, " milliseconds")), h = Pt.C.MIN_INTER_TONE_GAP) : h = Math.abs(h) : h = Pt.C.DEFAULT_INTER_TONE_GAP, _ === ce.DTMF_TRANSPORT.RFC2833) {
6658
6658
  var g = this._getDTMFRTPSender();
6659
6659
  g && (o = g.toneBuffer + o, g.insertDTMF(o, d, h));
6660
6660
  return;
@@ -6674,7 +6674,7 @@ var rp = ft.EventEmitter, Oc = Pt, ip = ht, ce = lt, gn = Ws, Dc = fl, qe = bt()
6674
6674
  if (r += 1, C === ",")
6675
6675
  E = 2e3;
6676
6676
  else {
6677
- var A = new kt(this);
6677
+ var A = new Pt(this);
6678
6678
  s.eventHandlers = {
6679
6679
  onFailed: function() {
6680
6680
  S._tones = null;
@@ -6903,7 +6903,7 @@ var rp = ft.EventEmitter, Oc = Pt, ip = ht, ce = lt, gn = Ws, Dc = fl, qe = bt()
6903
6903
  case ce.INFO:
6904
6904
  if (this._status === Q.STATUS_1XX_RECEIVED || this._status === Q.STATUS_WAITING_FOR_ANSWER || this._status === Q.STATUS_ANSWERED || this._status === Q.STATUS_WAITING_FOR_ACK || this._status === Q.STATUS_CONFIRMED) {
6905
6905
  var h = o.hasHeader("Content-Type") ? o.getHeader("Content-Type").toLowerCase() : void 0;
6906
- h && h.match(/^application\/dtmf-relay/i) ? new kt(this).init_incoming(o) : h !== void 0 ? new Nc(this).init_incoming(o) : o.reply(415);
6906
+ h && h.match(/^application\/dtmf-relay/i) ? new Pt(this).init_incoming(o) : h !== void 0 ? new Nc(this).init_incoming(o) : o.reply(415);
6907
6907
  } else
6908
6908
  o.reply(403, "Wrong Status");
6909
6909
  break;
@@ -7076,9 +7076,9 @@ var rp = ft.EventEmitter, Oc = Pt, ip = ht, ce = lt, gn = Ws, Dc = fl, qe = bt()
7076
7076
  K.debug('emit "sdp"'), r.emit("sdp", R), g(R.sdp);
7077
7077
  };
7078
7078
  d.addEventListener("icecandidate", S = function(R) {
7079
- var k = R.candidate;
7080
- k ? r.emit("icecandidate", {
7081
- candidate: k,
7079
+ var P = R.candidate;
7080
+ P ? r.emit("icecandidate", {
7081
+ candidate: P,
7082
7082
  ready: C
7083
7083
  }) : T || C();
7084
7084
  }), d.addEventListener("icegatheringstatechange", E = function() {
@@ -7681,8 +7681,8 @@ var rp = ft.EventEmitter, Oc = Pt, ip = ht, ce = lt, gn = Ws, Dc = fl, qe = bt()
7681
7681
  return C._connection.setRemoteDescription(R);
7682
7682
  }).then(function() {
7683
7683
  d.succeeded && d.succeeded(E);
7684
- }).catch(function(k) {
7685
- S.call(C), K.warn('emit "peerconnection:setremotedescriptionfailed" [error:%o]', k), C.emit("peerconnection:setremotedescriptionfailed", k);
7684
+ }).catch(function(P) {
7685
+ S.call(C), K.warn('emit "peerconnection:setremotedescriptionfailed" [error:%o]', P), C.emit("peerconnection:setremotedescriptionfailed", P);
7686
7686
  });
7687
7687
  } else
7688
7688
  d.succeeded && d.succeeded(E);
@@ -8023,9 +8023,9 @@ function mu(c, t) {
8023
8023
  function _p(c) {
8024
8024
  var t = gp();
8025
8025
  return function() {
8026
- var a = ka(c), o;
8026
+ var a = Pa(c), o;
8027
8027
  if (t) {
8028
- var s = ka(this).constructor;
8028
+ var s = Pa(this).constructor;
8029
8029
  o = Reflect.construct(a, arguments, s);
8030
8030
  } else
8031
8031
  o = a.apply(this, arguments);
@@ -8052,12 +8052,12 @@ function gp() {
8052
8052
  return !1;
8053
8053
  }
8054
8054
  }
8055
- function ka(c) {
8056
- return ka = Object.setPrototypeOf ? Object.getPrototypeOf : function(n) {
8055
+ function Pa(c) {
8056
+ return Pa = Object.setPrototypeOf ? Object.getPrototypeOf : function(n) {
8057
8057
  return n.__proto__ || Object.getPrototypeOf(n);
8058
- }, ka(c);
8058
+ }, Pa(c);
8059
8059
  }
8060
- var Tp = ft.EventEmitter, vp = ht, Ro = lt, Sp = Es, Pi = bt(), Ep = hl, Pc = Ws, yp = Ks(), Bl = new vp("Message"), Cp = /* @__PURE__ */ function(c) {
8060
+ var Tp = ft.EventEmitter, vp = ht, Ro = lt, Sp = Es, ki = bt(), Ep = hl, kc = Ws, yp = Ks(), Bl = new vp("Message"), Cp = /* @__PURE__ */ function(c) {
8061
8061
  dp(n, c);
8062
8062
  var t = _p(n);
8063
8063
  function n(a) {
@@ -8072,7 +8072,7 @@ var Tp = ft.EventEmitter, vp = ht, Ro = lt, Sp = Es, Pi = bt(), Ep = hl, Pc = Ws
8072
8072
  throw new TypeError("Not enough arguments");
8073
8073
  if (o = this._ua.normalizeTarget(o), !o)
8074
8074
  throw new TypeError("Invalid target: ".concat(h));
8075
- var _ = Pi.cloneArray(d.extraHeaders), g = Pi.cloneObject(d.eventHandlers), T = d.contentType || "text/plain", S = {};
8075
+ var _ = ki.cloneArray(d.extraHeaders), g = ki.cloneObject(d.eventHandlers), T = d.contentType || "text/plain", S = {};
8076
8076
  d.fromUserName && (S.from_uri = new yp("sip", d.fromUserName, this._ua.configuration.uri.host), _.push("P-Preferred-Identity: ".concat(this._ua.configuration.uri.toString()))), d.fromDisplayName && (S.from_display_name = d.fromDisplayName);
8077
8077
  for (var E in g)
8078
8078
  Object.prototype.hasOwnProperty.call(g, E) && this.on(E, g[E]);
@@ -8102,9 +8102,9 @@ var Tp = ft.EventEmitter, vp = ht, Ro = lt, Sp = Es, Pi = bt(), Ep = hl, Pc = Ws
8102
8102
  }, {
8103
8103
  key: "accept",
8104
8104
  value: function() {
8105
- var o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s = Pi.cloneArray(o.extraHeaders), r = o.body;
8105
+ var o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s = ki.cloneArray(o.extraHeaders), r = o.body;
8106
8106
  if (this._direction !== "incoming")
8107
- throw new Pc.NotSupportedError('"accept" not supported for outgoing Message');
8107
+ throw new kc.NotSupportedError('"accept" not supported for outgoing Message');
8108
8108
  if (this._is_replied)
8109
8109
  throw new Error("incoming Message already replied");
8110
8110
  this._is_replied = !0, this._request.reply(200, null, s, r);
@@ -8116,9 +8116,9 @@ var Tp = ft.EventEmitter, vp = ht, Ro = lt, Sp = Es, Pi = bt(), Ep = hl, Pc = Ws
8116
8116
  }, {
8117
8117
  key: "reject",
8118
8118
  value: function() {
8119
- var o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s = o.status_code || 480, r = o.reason_phrase, d = Pi.cloneArray(o.extraHeaders), h = o.body;
8119
+ var o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s = o.status_code || 480, r = o.reason_phrase, d = ki.cloneArray(o.extraHeaders), h = o.body;
8120
8120
  if (this._direction !== "incoming")
8121
- throw new Pc.NotSupportedError('"reject" not supported for outgoing Message');
8121
+ throw new kc.NotSupportedError('"reject" not supported for outgoing Message');
8122
8122
  if (this._is_replied)
8123
8123
  throw new Error("incoming Message already replied");
8124
8124
  if (s < 300 || s >= 700)
@@ -8136,7 +8136,7 @@ var Tp = ft.EventEmitter, vp = ht, Ro = lt, Sp = Es, Pi = bt(), Ep = hl, Pc = Ws
8136
8136
  this._succeeded("remote", o);
8137
8137
  break;
8138
8138
  default: {
8139
- var s = Pi.sipErrorCause(o.status_code);
8139
+ var s = ki.sipErrorCause(o.status_code);
8140
8140
  this._failed("remote", o, s);
8141
8141
  break;
8142
8142
  }
@@ -8215,14 +8215,14 @@ function Ap(c, t) {
8215
8215
  if (!(c instanceof t))
8216
8216
  throw new TypeError("Cannot call a class as a function");
8217
8217
  }
8218
- function kc(c, t) {
8218
+ function Pc(c, t) {
8219
8219
  for (var n = 0; n < t.length; n++) {
8220
8220
  var a = t[n];
8221
8221
  a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(c, a.key, a);
8222
8222
  }
8223
8223
  }
8224
8224
  function Rp(c, t, n) {
8225
- return t && kc(c.prototype, t), n && kc(c, n), c;
8225
+ return t && Pc(c.prototype, t), n && Pc(c, n), c;
8226
8226
  }
8227
8227
  function Ip(c, t) {
8228
8228
  if (typeof t != "function" && t !== null)
@@ -8271,7 +8271,7 @@ function Ma(c) {
8271
8271
  return n.__proto__ || Object.getPrototypeOf(n);
8272
8272
  }, Ma(c);
8273
8273
  }
8274
- var Np = ft.EventEmitter, Up = ht, Io = lt, xp = Es, ki = bt(), Pp = hl, Mc = Ws, Gl = new Up("Options"), kp = /* @__PURE__ */ function(c) {
8274
+ var Np = ft.EventEmitter, Up = ht, Io = lt, xp = Es, Pi = bt(), kp = hl, Mc = Ws, Gl = new Up("Options"), Pp = /* @__PURE__ */ function(c) {
8275
8275
  Ip(n, c);
8276
8276
  var t = bp(n);
8277
8277
  function n(a) {
@@ -8286,11 +8286,11 @@ var Np = ft.EventEmitter, Up = ht, Io = lt, xp = Es, ki = bt(), Pp = hl, Mc = Ws
8286
8286
  throw new TypeError("A target is required for OPTIONS");
8287
8287
  if (o = this._ua.normalizeTarget(o), !o)
8288
8288
  throw new TypeError("Invalid target: ".concat(h));
8289
- var _ = ki.cloneArray(d.extraHeaders), g = ki.cloneObject(d.eventHandlers), T = d.contentType || "application/sdp";
8289
+ var _ = Pi.cloneArray(d.extraHeaders), g = Pi.cloneObject(d.eventHandlers), T = d.contentType || "application/sdp";
8290
8290
  for (var S in g)
8291
8291
  Object.prototype.hasOwnProperty.call(g, S) && this.on(S, g[S]);
8292
8292
  _.push("Content-Type: ".concat(T)), this._request = new xp.OutgoingRequest(Io.OPTIONS, o, this._ua, null, _), s && (this._request.body = s);
8293
- var E = new Pp(this._ua, this._request, {
8293
+ var E = new kp(this._ua, this._request, {
8294
8294
  onRequestTimeout: function() {
8295
8295
  r._onRequestTimeout();
8296
8296
  },
@@ -8315,7 +8315,7 @@ var Np = ft.EventEmitter, Up = ht, Io = lt, xp = Es, ki = bt(), Pp = hl, Mc = Ws
8315
8315
  }, {
8316
8316
  key: "accept",
8317
8317
  value: function() {
8318
- var o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s = ki.cloneArray(o.extraHeaders), r = o.body;
8318
+ var o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s = Pi.cloneArray(o.extraHeaders), r = o.body;
8319
8319
  if (this._direction !== "incoming")
8320
8320
  throw new Mc.NotSupportedError('"accept" not supported for outgoing Options');
8321
8321
  if (this._is_replied)
@@ -8329,7 +8329,7 @@ var Np = ft.EventEmitter, Up = ht, Io = lt, xp = Es, ki = bt(), Pp = hl, Mc = Ws
8329
8329
  }, {
8330
8330
  key: "reject",
8331
8331
  value: function() {
8332
- var o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s = o.status_code || 480, r = o.reason_phrase, d = ki.cloneArray(o.extraHeaders), h = o.body;
8332
+ var o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s = o.status_code || 480, r = o.reason_phrase, d = Pi.cloneArray(o.extraHeaders), h = o.body;
8333
8333
  if (this._direction !== "incoming")
8334
8334
  throw new Mc.NotSupportedError('"reject" not supported for outgoing Options');
8335
8335
  if (this._is_replied)
@@ -8349,7 +8349,7 @@ var Np = ft.EventEmitter, Up = ht, Io = lt, xp = Es, ki = bt(), Pp = hl, Mc = Ws
8349
8349
  this._succeeded("remote", o);
8350
8350
  break;
8351
8351
  default: {
8352
- var s = ki.sipErrorCause(o.status_code);
8352
+ var s = Pi.sipErrorCause(o.status_code);
8353
8353
  this._failed("remote", o, s);
8354
8354
  break;
8355
8355
  }
@@ -8415,8 +8415,8 @@ var Np = ft.EventEmitter, Up = ht, Io = lt, xp = Es, ki = bt(), Pp = hl, Mc = Ws
8415
8415
  return this._remote_identity;
8416
8416
  }
8417
8417
  }]), n;
8418
- }(Np), Pu = {}, Mp = ht, bo = bt(), Lp = os(), Mi = new Mp("Socket");
8419
- Pu.isSocket = function(c) {
8418
+ }(Np), ku = {}, Mp = ht, bo = bt(), Lp = os(), Mi = new Mp("Socket");
8419
+ ku.isSocket = function(c) {
8420
8420
  if (Array.isArray(c))
8421
8421
  return !1;
8422
8422
  if (typeof c > "u")
@@ -8454,7 +8454,7 @@ function Lc(c, t) {
8454
8454
  function Hp(c, t, n) {
8455
8455
  return t && Lc(c.prototype, t), n && Lc(c, n), c;
8456
8456
  }
8457
- var Fp = ht, jp = Pu, $c = lt, Nt = new Fp("Transport"), Vt = {
8457
+ var Fp = ht, jp = ku, $c = lt, Nt = new Fp("Transport"), Vt = {
8458
8458
  // Transport status.
8459
8459
  STATUS_CONNECTED: 0,
8460
8460
  STATUS_CONNECTING: 1,
@@ -8881,7 +8881,7 @@ function jc(c, t) {
8881
8881
  a[n] = c[n];
8882
8882
  return a;
8883
8883
  }
8884
- var Yp = ht, ih = lt, Vc = Es, ku = bt(), Mu = new Yp("sanityCheck"), Jp = [im], zp = [Zp, em, tm, sm], Xp = [nm, rm], He, rs, lh, Qp = function(c, t, n) {
8884
+ var Yp = ht, ih = lt, Vc = Es, Pu = bt(), Mu = new Yp("sanityCheck"), Jp = [im], zp = [Zp, em, tm, sm], Xp = [nm, rm], He, rs, lh, Qp = function(c, t, n) {
8885
8885
  He = c, rs = t, lh = n;
8886
8886
  var a = Ia(Jp), o;
8887
8887
  try {
@@ -8933,7 +8933,7 @@ function em() {
8933
8933
  return el(482), !1;
8934
8934
  }
8935
8935
  function tm() {
8936
- var c = ku.str_utf8_length(He.body), t = He.getHeader("content-length");
8936
+ var c = Pu.str_utf8_length(He.body), t = He.getHeader("content-length");
8937
8937
  if (c < t)
8938
8938
  return el(400), !1;
8939
8939
  }
@@ -8959,7 +8959,7 @@ function nm() {
8959
8959
  return Mu.debug("more than one Via header field present in the response, dropping the response"), !1;
8960
8960
  }
8961
8961
  function rm() {
8962
- var c = ku.str_utf8_length(He.body), t = He.getHeader("content-length");
8962
+ var c = Pu.str_utf8_length(He.body), t = He.getHeader("content-length");
8963
8963
  if (c < t)
8964
8964
  return Mu.debug("message body length is lower than the value in Content-Length header field, dropping the response"), !1;
8965
8965
  }
@@ -8984,7 +8984,7 @@ function el(c) {
8984
8984
  } finally {
8985
8985
  o.f();
8986
8986
  }
8987
- n = He.getHeader("To"), He.to_tag || (n += ";tag=".concat(ku.newTag())), a += "To: ".concat(n, `\r
8987
+ n = He.getHeader("To"), He.to_tag || (n += ";tag=".concat(Pu.newTag())), a += "To: ".concat(n, `\r
8988
8988
  `), a += "From: ".concat(He.getHeader("From"), `\r
8989
8989
  `), a += "Call-ID: ".concat(He.call_id, `\r
8990
8990
  `), a += "CSeq: ".concat(He.cseq, " ").concat(He.method, `\r
@@ -9042,7 +9042,7 @@ function Bc(c, t) {
9042
9042
  a[n] = c[n];
9043
9043
  return a;
9044
9044
  }
9045
- var cr = bt(), yn = lt, wo = os(), Gc = Ks(), Oo = Pu, Do = Ws;
9045
+ var cr = bt(), yn = lt, wo = os(), Gc = Ks(), Oo = ku, Do = Ws;
9046
9046
  Lu.settings = {
9047
9047
  // SIP authentication.
9048
9048
  authorization_user: null,
@@ -9312,7 +9312,7 @@ function La(c) {
9312
9312
  return n.__proto__ || Object.getPrototypeOf(n);
9313
9313
  }, La(c);
9314
9314
  }
9315
- var hm = ft.EventEmitter, dm = ht, pt = lt, _m = t_, Yc = cp, Jc = Cp, zc = kp, No = fl, pm = Vp, Yl = bt(), mm = Ws, gm = Ks(), Tm = rh, Uo = Es, vm = Qp, xo = Lu, je = new dm("UA"), Tt = {
9315
+ var hm = ft.EventEmitter, dm = ht, pt = lt, _m = t_, Yc = cp, Jc = Cp, zc = Pp, No = fl, pm = Vp, Yl = bt(), mm = Ws, gm = Ks(), Tm = rh, Uo = Es, vm = Qp, xo = Lu, je = new dm("UA"), Tt = {
9316
9316
  // UA status codes.
9317
9317
  STATUS_INIT: 0,
9318
9318
  STATUS_READY: 1,
@@ -9988,15 +9988,15 @@ var bm = ht, wm = os(), Ot = new bm("WebSocketInterface"), Om = /* @__PURE__ */
9988
9988
  return this._url;
9989
9989
  }
9990
9990
  }]), c;
9991
- }(), Eu = Ha, Dm = lt, Nm = Ws, Um = bt(), xm = Sm, Pm = Ks(), km = Ou(), Mm = os(), Lm = Om, $m = mr("JsSIP");
9991
+ }(), Eu = Ha, Dm = lt, Nm = Ws, Um = bt(), xm = Sm, km = Ks(), Pm = Ou(), Mm = os(), Lm = Om, $m = mr("JsSIP");
9992
9992
  $m("version %s", Eu.version);
9993
9993
  var Qc = {
9994
9994
  C: Dm,
9995
9995
  Exceptions: Nm,
9996
9996
  Utils: Um,
9997
9997
  UA: xm,
9998
- URI: Pm,
9999
- NameAddrHeader: km,
9998
+ URI: km,
9999
+ NameAddrHeader: Pm,
10000
10000
  WebSocketInterface: Lm,
10001
10001
  Grammar: Mm,
10002
10002
  // Expose the debug module.
@@ -10195,13 +10195,13 @@ var De = {
10195
10195
  CONNECTION_RECOVERY_MIN_INTERVAL: 2
10196
10196
  };
10197
10197
  const H = /* @__PURE__ */ ze(De);
10198
- var et = {}, Po, ef;
10198
+ var et = {}, ko, ef;
10199
10199
  function $u() {
10200
10200
  if (ef)
10201
- return Po;
10201
+ return ko;
10202
10202
  ef = 1;
10203
10203
  const c = ys(), t = Zt();
10204
- return Po = class oh {
10204
+ return ko = class oh {
10205
10205
  /**
10206
10206
  * Parse the given string and returns a NameAddrHeader instance or undefined if
10207
10207
  * it is an invalid NameAddrHeader.
@@ -10263,11 +10263,11 @@ function $u() {
10263
10263
  Object.prototype.hasOwnProperty.call(this._parameters, o) && (a += `;${o}`, this._parameters[o] !== null && (a += `=${this._parameters[o]}`));
10264
10264
  return a;
10265
10265
  }
10266
- }, Po;
10266
+ }, ko;
10267
10267
  }
10268
- var ko, tf;
10268
+ var Po, tf;
10269
10269
  function Zt() {
10270
- return tf || (tf = 1, ko = function() {
10270
+ return tf || (tf = 1, Po = function() {
10271
10271
  function c(n) {
10272
10272
  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) + '"';
10273
10273
  }
@@ -10288,7 +10288,7 @@ function Zt() {
10288
10288
  OCTET: C,
10289
10289
  DQUOTE: A,
10290
10290
  SP: R,
10291
- HTAB: k,
10291
+ HTAB: P,
10292
10292
  alphanum: M,
10293
10293
  reserved: ie,
10294
10294
  unreserved: N,
@@ -10312,7 +10312,7 @@ function Zt() {
10312
10312
  LPAREN: re,
10313
10313
  RPAREN: ge,
10314
10314
  RAQUOT: be,
10315
- LAQUOT: Pe,
10315
+ LAQUOT: ke,
10316
10316
  COMMA: Ae,
10317
10317
  SEMI: ae,
10318
10318
  COLON: ye,
@@ -10367,7 +10367,7 @@ function Zt() {
10367
10367
  Request_Line: ml,
10368
10368
  Request_URI: Dr,
10369
10369
  absoluteURI: xn,
10370
- hier_part: Pn,
10370
+ hier_part: kn,
10371
10371
  net_path: Nr,
10372
10372
  abs_path: en,
10373
10373
  opaque_part: tn,
@@ -10379,10 +10379,10 @@ function Zt() {
10379
10379
  pchar: cs,
10380
10380
  scheme: Ns,
10381
10381
  authority: xr,
10382
- srvr: Pr,
10383
- reg_name: kr,
10382
+ srvr: kr,
10383
+ reg_name: Pr,
10384
10384
  query: Mr,
10385
- SIP_Version: kn,
10385
+ SIP_Version: Pn,
10386
10386
  INVITEm: Mn,
10387
10387
  ACKm: Lr,
10388
10388
  OPTIONSm: $r,
@@ -10472,7 +10472,7 @@ function Zt() {
10472
10472
  to_param: ci,
10473
10473
  Via: fi,
10474
10474
  via_param: Qn,
10475
- via_params: Ps,
10475
+ via_params: ks,
10476
10476
  via_ttl: Zn,
10477
10477
  via_maddr: hi,
10478
10478
  via_received: di,
@@ -10501,7 +10501,7 @@ function Zt() {
10501
10501
  hex12: Ai,
10502
10502
  Refer_To: xl,
10503
10503
  Replaces: oo,
10504
- call_id: Pl,
10504
+ call_id: kl,
10505
10505
  replaces_param: nr,
10506
10506
  to_tag: rr,
10507
10507
  from_tag: Ri,
@@ -10536,7 +10536,7 @@ function Zt() {
10536
10536
  }
10537
10537
  function E() {
10538
10538
  var i;
10539
- return i = R(), i === null && (i = k()), i;
10539
+ return i = R(), i === null && (i = P()), i;
10540
10540
  }
10541
10541
  function C() {
10542
10542
  var i;
@@ -10550,7 +10550,7 @@ function Zt() {
10550
10550
  var i;
10551
10551
  return n.charCodeAt(s) === 32 ? (i = " ", s++) : (i = null, h('" "')), i;
10552
10552
  }
10553
- function k() {
10553
+ function P() {
10554
10554
  var i;
10555
10555
  return n.charCodeAt(s) === 9 ? (i = " ", s++) : (i = null, h('"\\t"')), i;
10556
10556
  }
@@ -10599,8 +10599,8 @@ function Zt() {
10599
10599
  }
10600
10600
  function D() {
10601
10601
  var i, e, l, u, f;
10602
- for (u = s, f = s, i = [], e = R(), e === null && (e = k()); e !== null; )
10603
- i.push(e), e = R(), e === null && (e = k());
10602
+ for (u = s, f = s, i = [], e = R(), e === null && (e = P()); e !== null; )
10603
+ i.push(e), e = R(), e === null && (e = P());
10604
10604
  return i !== null ? (n.charCodeAt(s) === 58 ? (e = ":", s++) : (e = null, h('":"')), e !== null ? (l = L(), l !== null ? i = [i, e, l] : (i = null, s = f)) : (i = null, s = f)) : (i = null, s = f), i !== null && (i = function(p) {
10605
10605
  return ":";
10606
10606
  }()), i === null && (s = u), i;
@@ -10667,7 +10667,7 @@ function Zt() {
10667
10667
  }
10668
10668
  function se() {
10669
10669
  var i;
10670
- return n.charCodeAt(s) === 40 ? (i = "(", s++) : (i = null, h('"("')), i === null && (n.charCodeAt(s) === 41 ? (i = ")", s++) : (i = null, h('")"')), i === null && (n.charCodeAt(s) === 60 ? (i = "<", s++) : (i = null, h('"<"')), i === null && (n.charCodeAt(s) === 62 ? (i = ">", s++) : (i = null, h('">"')), i === null && (n.charCodeAt(s) === 64 ? (i = "@", s++) : (i = null, h('"@"')), i === null && (n.charCodeAt(s) === 44 ? (i = ",", s++) : (i = null, h('","')), i === null && (n.charCodeAt(s) === 59 ? (i = ";", s++) : (i = null, h('";"')), i === null && (n.charCodeAt(s) === 58 ? (i = ":", s++) : (i = null, h('":"')), i === null && (n.charCodeAt(s) === 92 ? (i = "\\", s++) : (i = null, h('"\\\\"')), i === null && (i = A(), i === null && (n.charCodeAt(s) === 47 ? (i = "/", s++) : (i = null, h('"/"')), i === null && (n.charCodeAt(s) === 91 ? (i = "[", s++) : (i = null, h('"["')), i === null && (n.charCodeAt(s) === 93 ? (i = "]", s++) : (i = null, h('"]"')), i === null && (n.charCodeAt(s) === 63 ? (i = "?", s++) : (i = null, h('"?"')), i === null && (n.charCodeAt(s) === 61 ? (i = "=", s++) : (i = null, h('"="')), i === null && (n.charCodeAt(s) === 123 ? (i = "{", s++) : (i = null, h('"{"')), i === null && (n.charCodeAt(s) === 125 ? (i = "}", s++) : (i = null, h('"}"')), i === null && (i = R(), i === null && (i = k())))))))))))))))))), i;
10670
+ return n.charCodeAt(s) === 40 ? (i = "(", s++) : (i = null, h('"("')), i === null && (n.charCodeAt(s) === 41 ? (i = ")", s++) : (i = null, h('")"')), i === null && (n.charCodeAt(s) === 60 ? (i = "<", s++) : (i = null, h('"<"')), i === null && (n.charCodeAt(s) === 62 ? (i = ">", s++) : (i = null, h('">"')), i === null && (n.charCodeAt(s) === 64 ? (i = "@", s++) : (i = null, h('"@"')), i === null && (n.charCodeAt(s) === 44 ? (i = ",", s++) : (i = null, h('","')), i === null && (n.charCodeAt(s) === 59 ? (i = ";", s++) : (i = null, h('";"')), i === null && (n.charCodeAt(s) === 58 ? (i = ":", s++) : (i = null, h('":"')), i === null && (n.charCodeAt(s) === 92 ? (i = "\\", s++) : (i = null, h('"\\\\"')), i === null && (i = A(), i === null && (n.charCodeAt(s) === 47 ? (i = "/", s++) : (i = null, h('"/"')), i === null && (n.charCodeAt(s) === 91 ? (i = "[", s++) : (i = null, h('"["')), i === null && (n.charCodeAt(s) === 93 ? (i = "]", s++) : (i = null, h('"]"')), i === null && (n.charCodeAt(s) === 63 ? (i = "?", s++) : (i = null, h('"?"')), i === null && (n.charCodeAt(s) === 61 ? (i = "=", s++) : (i = null, h('"="')), i === null && (n.charCodeAt(s) === 123 ? (i = "{", s++) : (i = null, h('"{"')), i === null && (n.charCodeAt(s) === 125 ? (i = "}", s++) : (i = null, h('"}"')), i === null && (i = R(), i === null && (i = P())))))))))))))))))), i;
10671
10671
  }
10672
10672
  function st() {
10673
10673
  var i, e, l;
@@ -10716,7 +10716,7 @@ function Zt() {
10716
10716
  return ">";
10717
10717
  }()), i === null && (s = l), i;
10718
10718
  }
10719
- function Pe() {
10719
+ function ke() {
10720
10720
  var i, e, l, u;
10721
10721
  return l = s, u = s, i = L(), i !== null ? (n.charCodeAt(s) === 60 ? (e = "<", s++) : (e = null, h('"<"')), e !== null ? i = [i, e] : (i = null, s = u)) : (i = null, s = u), i !== null && (i = function(f) {
10722
10722
  return "<";
@@ -10913,10 +10913,10 @@ function Zt() {
10913
10913
  }(u)), i === null && (s = u), i;
10914
10914
  }
10915
10915
  function zs() {
10916
- var i, e, l, u, f, p, m, v, y, O, le, Ue, wt, ks, $, I;
10917
- return ks = s, $ = s, i = me(), i !== null ? (n.charCodeAt(s) === 58 ? (e = ":", s++) : (e = null, h('":"')), e !== null ? (l = me(), l !== null ? (n.charCodeAt(s) === 58 ? (u = ":", s++) : (u = null, h('":"')), u !== null ? (f = me(), f !== null ? (n.charCodeAt(s) === 58 ? (p = ":", s++) : (p = null, h('":"')), p !== null ? (m = me(), m !== null ? (n.charCodeAt(s) === 58 ? (v = ":", s++) : (v = null, h('":"')), v !== null ? (y = me(), y !== null ? (n.charCodeAt(s) === 58 ? (O = ":", s++) : (O = null, h('":"')), O !== null ? (le = me(), le !== null ? (n.charCodeAt(s) === 58 ? (Ue = ":", s++) : (Ue = null, h('":"')), Ue !== null ? (wt = oe(), wt !== null ? i = [i, e, l, u, f, p, m, v, y, O, le, Ue, wt] : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $), i === null && ($ = s, n.substr(s, 2) === "::" ? (i = "::", s += 2) : (i = null, h('"::"')), i !== null ? (e = me(), e !== null ? (n.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, h('":"')), l !== null ? (u = me(), u !== null ? (n.charCodeAt(s) === 58 ? (f = ":", s++) : (f = null, h('":"')), f !== null ? (p = me(), p !== null ? (n.charCodeAt(s) === 58 ? (m = ":", s++) : (m = null, h('":"')), m !== null ? (v = me(), v !== null ? (n.charCodeAt(s) === 58 ? (y = ":", s++) : (y = null, h('":"')), y !== null ? (O = me(), O !== null ? (n.charCodeAt(s) === 58 ? (le = ":", s++) : (le = null, h('":"')), le !== null ? (Ue = oe(), Ue !== null ? i = [i, e, l, u, f, p, m, v, y, O, le, Ue] : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $), i === null && ($ = s, n.substr(s, 2) === "::" ? (i = "::", s += 2) : (i = null, h('"::"')), i !== null ? (e = me(), e !== null ? (n.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, h('":"')), l !== null ? (u = me(), u !== null ? (n.charCodeAt(s) === 58 ? (f = ":", s++) : (f = null, h('":"')), f !== null ? (p = me(), p !== null ? (n.charCodeAt(s) === 58 ? (m = ":", s++) : (m = null, h('":"')), m !== null ? (v = me(), v !== null ? (n.charCodeAt(s) === 58 ? (y = ":", s++) : (y = null, h('":"')), y !== null ? (O = oe(), O !== null ? i = [i, e, l, u, f, p, m, v, y, O] : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $), i === null && ($ = s, n.substr(s, 2) === "::" ? (i = "::", s += 2) : (i = null, h('"::"')), i !== null ? (e = me(), e !== null ? (n.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, h('":"')), l !== null ? (u = me(), u !== null ? (n.charCodeAt(s) === 58 ? (f = ":", s++) : (f = null, h('":"')), f !== null ? (p = me(), p !== null ? (n.charCodeAt(s) === 58 ? (m = ":", s++) : (m = null, h('":"')), m !== null ? (v = oe(), v !== null ? i = [i, e, l, u, f, p, m, v] : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $), i === null && ($ = s, n.substr(s, 2) === "::" ? (i = "::", s += 2) : (i = null, h('"::"')), i !== null ? (e = me(), e !== null ? (n.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, h('":"')), l !== null ? (u = me(), u !== null ? (n.charCodeAt(s) === 58 ? (f = ":", s++) : (f = null, h('":"')), f !== null ? (p = oe(), p !== null ? i = [i, e, l, u, f, p] : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $), i === null && ($ = s, n.substr(s, 2) === "::" ? (i = "::", s += 2) : (i = null, h('"::"')), i !== null ? (e = me(), e !== null ? (n.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, h('":"')), l !== null ? (u = oe(), u !== null ? i = [i, e, l, u] : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $), i === null && ($ = s, n.substr(s, 2) === "::" ? (i = "::", s += 2) : (i = null, h('"::"')), i !== null ? (e = oe(), e !== null ? i = [i, e] : (i = null, s = $)) : (i = null, s = $), i === null && ($ = s, n.substr(s, 2) === "::" ? (i = "::", s += 2) : (i = null, h('"::"')), i !== null ? (e = me(), e !== null ? i = [i, e] : (i = null, s = $)) : (i = null, s = $), i === null && ($ = s, i = me(), i !== null ? (n.substr(s, 2) === "::" ? (e = "::", s += 2) : (e = null, h('"::"')), e !== null ? (l = me(), l !== null ? (n.charCodeAt(s) === 58 ? (u = ":", s++) : (u = null, h('":"')), u !== null ? (f = me(), f !== null ? (n.charCodeAt(s) === 58 ? (p = ":", s++) : (p = null, h('":"')), p !== null ? (m = me(), m !== null ? (n.charCodeAt(s) === 58 ? (v = ":", s++) : (v = null, h('":"')), v !== null ? (y = me(), y !== null ? (n.charCodeAt(s) === 58 ? (O = ":", s++) : (O = null, h('":"')), O !== null ? (le = oe(), le !== null ? i = [i, e, l, u, f, p, m, v, y, O, le] : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $), i === null && ($ = s, i = me(), i !== null ? (I = s, n.charCodeAt(s) === 58 ? (e = ":", s++) : (e = null, h('":"')), e !== null ? (l = me(), l !== null ? e = [e, l] : (e = null, s = I)) : (e = null, s = I), e = e !== null ? e : "", e !== null ? (n.substr(s, 2) === "::" ? (l = "::", s += 2) : (l = null, h('"::"')), l !== null ? (u = me(), u !== null ? (n.charCodeAt(s) === 58 ? (f = ":", s++) : (f = null, h('":"')), f !== null ? (p = me(), p !== null ? (n.charCodeAt(s) === 58 ? (m = ":", s++) : (m = null, h('":"')), m !== null ? (v = me(), v !== null ? (n.charCodeAt(s) === 58 ? (y = ":", s++) : (y = null, h('":"')), y !== null ? (O = oe(), O !== null ? i = [i, e, l, u, f, p, m, v, y, O] : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $), i === null && ($ = s, i = me(), i !== null ? (I = s, n.charCodeAt(s) === 58 ? (e = ":", s++) : (e = null, h('":"')), e !== null ? (l = me(), l !== null ? e = [e, l] : (e = null, s = I)) : (e = null, s = I), e = e !== null ? e : "", e !== null ? (I = s, n.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, h('":"')), l !== null ? (u = me(), u !== null ? l = [l, u] : (l = null, s = I)) : (l = null, s = I), l = l !== null ? l : "", l !== null ? (n.substr(s, 2) === "::" ? (u = "::", s += 2) : (u = null, h('"::"')), u !== null ? (f = me(), f !== null ? (n.charCodeAt(s) === 58 ? (p = ":", s++) : (p = null, h('":"')), p !== null ? (m = me(), m !== null ? (n.charCodeAt(s) === 58 ? (v = ":", s++) : (v = null, h('":"')), v !== null ? (y = oe(), y !== null ? i = [i, e, l, u, f, p, m, v, y] : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $), i === null && ($ = s, i = me(), i !== null ? (I = s, n.charCodeAt(s) === 58 ? (e = ":", s++) : (e = null, h('":"')), e !== null ? (l = me(), l !== null ? e = [e, l] : (e = null, s = I)) : (e = null, s = I), e = e !== null ? e : "", e !== null ? (I = s, n.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, h('":"')), l !== null ? (u = me(), u !== null ? l = [l, u] : (l = null, s = I)) : (l = null, s = I), l = l !== null ? l : "", l !== null ? (I = s, n.charCodeAt(s) === 58 ? (u = ":", s++) : (u = null, h('":"')), u !== null ? (f = me(), f !== null ? u = [u, f] : (u = null, s = I)) : (u = null, s = I), u = u !== null ? u : "", u !== null ? (n.substr(s, 2) === "::" ? (f = "::", s += 2) : (f = null, h('"::"')), f !== null ? (p = me(), p !== null ? (n.charCodeAt(s) === 58 ? (m = ":", s++) : (m = null, h('":"')), m !== null ? (v = oe(), v !== null ? i = [i, e, l, u, f, p, m, v] : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $), i === null && ($ = s, i = me(), i !== null ? (I = s, n.charCodeAt(s) === 58 ? (e = ":", s++) : (e = null, h('":"')), e !== null ? (l = me(), l !== null ? e = [e, l] : (e = null, s = I)) : (e = null, s = I), e = e !== null ? e : "", e !== null ? (I = s, n.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, h('":"')), l !== null ? (u = me(), u !== null ? l = [l, u] : (l = null, s = I)) : (l = null, s = I), l = l !== null ? l : "", l !== null ? (I = s, n.charCodeAt(s) === 58 ? (u = ":", s++) : (u = null, h('":"')), u !== null ? (f = me(), f !== null ? u = [u, f] : (u = null, s = I)) : (u = null, s = I), u = u !== null ? u : "", u !== null ? (I = s, n.charCodeAt(s) === 58 ? (f = ":", s++) : (f = null, h('":"')), f !== null ? (p = me(), p !== null ? f = [f, p] : (f = null, s = I)) : (f = null, s = I), f = f !== null ? f : "", f !== null ? (n.substr(s, 2) === "::" ? (p = "::", s += 2) : (p = null, h('"::"')), p !== null ? (m = oe(), m !== null ? i = [i, e, l, u, f, p, m] : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $), i === null && ($ = s, i = me(), i !== null ? (I = s, n.charCodeAt(s) === 58 ? (e = ":", s++) : (e = null, h('":"')), e !== null ? (l = me(), l !== null ? e = [e, l] : (e = null, s = I)) : (e = null, s = I), e = e !== null ? e : "", e !== null ? (I = s, n.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, h('":"')), l !== null ? (u = me(), u !== null ? l = [l, u] : (l = null, s = I)) : (l = null, s = I), l = l !== null ? l : "", l !== null ? (I = s, n.charCodeAt(s) === 58 ? (u = ":", s++) : (u = null, h('":"')), u !== null ? (f = me(), f !== null ? u = [u, f] : (u = null, s = I)) : (u = null, s = I), u = u !== null ? u : "", u !== null ? (I = s, n.charCodeAt(s) === 58 ? (f = ":", s++) : (f = null, h('":"')), f !== null ? (p = me(), p !== null ? f = [f, p] : (f = null, s = I)) : (f = null, s = I), f = f !== null ? f : "", f !== null ? (I = s, n.charCodeAt(s) === 58 ? (p = ":", s++) : (p = null, h('":"')), p !== null ? (m = me(), m !== null ? p = [p, m] : (p = null, s = I)) : (p = null, s = I), p = p !== null ? p : "", p !== null ? (n.substr(s, 2) === "::" ? (m = "::", s += 2) : (m = null, h('"::"')), m !== null ? (v = me(), v !== null ? i = [i, e, l, u, f, p, m, v] : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $), i === null && ($ = s, i = me(), i !== null ? (I = s, n.charCodeAt(s) === 58 ? (e = ":", s++) : (e = null, h('":"')), e !== null ? (l = me(), l !== null ? e = [e, l] : (e = null, s = I)) : (e = null, s = I), e = e !== null ? e : "", e !== null ? (I = s, n.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, h('":"')), l !== null ? (u = me(), u !== null ? l = [l, u] : (l = null, s = I)) : (l = null, s = I), l = l !== null ? l : "", l !== null ? (I = s, n.charCodeAt(s) === 58 ? (u = ":", s++) : (u = null, h('":"')), u !== null ? (f = me(), f !== null ? u = [u, f] : (u = null, s = I)) : (u = null, s = I), u = u !== null ? u : "", u !== null ? (I = s, n.charCodeAt(s) === 58 ? (f = ":", s++) : (f = null, h('":"')), f !== null ? (p = me(), p !== null ? f = [f, p] : (f = null, s = I)) : (f = null, s = I), f = f !== null ? f : "", f !== null ? (I = s, n.charCodeAt(s) === 58 ? (p = ":", s++) : (p = null, h('":"')), p !== null ? (m = me(), m !== null ? p = [p, m] : (p = null, s = I)) : (p = null, s = I), p = p !== null ? p : "", p !== null ? (I = s, n.charCodeAt(s) === 58 ? (m = ":", s++) : (m = null, h('":"')), m !== null ? (v = me(), v !== null ? m = [m, v] : (m = null, s = I)) : (m = null, s = I), m = m !== null ? m : "", m !== null ? (n.substr(s, 2) === "::" ? (v = "::", s += 2) : (v = null, h('"::"')), v !== null ? i = [i, e, l, u, f, p, m, v] : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $))))))))))))))), i !== null && (i = function(Te) {
10916
+ var i, e, l, u, f, p, m, v, y, O, le, Ue, wt, Ps, $, I;
10917
+ return Ps = s, $ = s, i = me(), i !== null ? (n.charCodeAt(s) === 58 ? (e = ":", s++) : (e = null, h('":"')), e !== null ? (l = me(), l !== null ? (n.charCodeAt(s) === 58 ? (u = ":", s++) : (u = null, h('":"')), u !== null ? (f = me(), f !== null ? (n.charCodeAt(s) === 58 ? (p = ":", s++) : (p = null, h('":"')), p !== null ? (m = me(), m !== null ? (n.charCodeAt(s) === 58 ? (v = ":", s++) : (v = null, h('":"')), v !== null ? (y = me(), y !== null ? (n.charCodeAt(s) === 58 ? (O = ":", s++) : (O = null, h('":"')), O !== null ? (le = me(), le !== null ? (n.charCodeAt(s) === 58 ? (Ue = ":", s++) : (Ue = null, h('":"')), Ue !== null ? (wt = oe(), wt !== null ? i = [i, e, l, u, f, p, m, v, y, O, le, Ue, wt] : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $), i === null && ($ = s, n.substr(s, 2) === "::" ? (i = "::", s += 2) : (i = null, h('"::"')), i !== null ? (e = me(), e !== null ? (n.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, h('":"')), l !== null ? (u = me(), u !== null ? (n.charCodeAt(s) === 58 ? (f = ":", s++) : (f = null, h('":"')), f !== null ? (p = me(), p !== null ? (n.charCodeAt(s) === 58 ? (m = ":", s++) : (m = null, h('":"')), m !== null ? (v = me(), v !== null ? (n.charCodeAt(s) === 58 ? (y = ":", s++) : (y = null, h('":"')), y !== null ? (O = me(), O !== null ? (n.charCodeAt(s) === 58 ? (le = ":", s++) : (le = null, h('":"')), le !== null ? (Ue = oe(), Ue !== null ? i = [i, e, l, u, f, p, m, v, y, O, le, Ue] : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $), i === null && ($ = s, n.substr(s, 2) === "::" ? (i = "::", s += 2) : (i = null, h('"::"')), i !== null ? (e = me(), e !== null ? (n.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, h('":"')), l !== null ? (u = me(), u !== null ? (n.charCodeAt(s) === 58 ? (f = ":", s++) : (f = null, h('":"')), f !== null ? (p = me(), p !== null ? (n.charCodeAt(s) === 58 ? (m = ":", s++) : (m = null, h('":"')), m !== null ? (v = me(), v !== null ? (n.charCodeAt(s) === 58 ? (y = ":", s++) : (y = null, h('":"')), y !== null ? (O = oe(), O !== null ? i = [i, e, l, u, f, p, m, v, y, O] : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $), i === null && ($ = s, n.substr(s, 2) === "::" ? (i = "::", s += 2) : (i = null, h('"::"')), i !== null ? (e = me(), e !== null ? (n.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, h('":"')), l !== null ? (u = me(), u !== null ? (n.charCodeAt(s) === 58 ? (f = ":", s++) : (f = null, h('":"')), f !== null ? (p = me(), p !== null ? (n.charCodeAt(s) === 58 ? (m = ":", s++) : (m = null, h('":"')), m !== null ? (v = oe(), v !== null ? i = [i, e, l, u, f, p, m, v] : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $), i === null && ($ = s, n.substr(s, 2) === "::" ? (i = "::", s += 2) : (i = null, h('"::"')), i !== null ? (e = me(), e !== null ? (n.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, h('":"')), l !== null ? (u = me(), u !== null ? (n.charCodeAt(s) === 58 ? (f = ":", s++) : (f = null, h('":"')), f !== null ? (p = oe(), p !== null ? i = [i, e, l, u, f, p] : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $), i === null && ($ = s, n.substr(s, 2) === "::" ? (i = "::", s += 2) : (i = null, h('"::"')), i !== null ? (e = me(), e !== null ? (n.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, h('":"')), l !== null ? (u = oe(), u !== null ? i = [i, e, l, u] : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $), i === null && ($ = s, n.substr(s, 2) === "::" ? (i = "::", s += 2) : (i = null, h('"::"')), i !== null ? (e = oe(), e !== null ? i = [i, e] : (i = null, s = $)) : (i = null, s = $), i === null && ($ = s, n.substr(s, 2) === "::" ? (i = "::", s += 2) : (i = null, h('"::"')), i !== null ? (e = me(), e !== null ? i = [i, e] : (i = null, s = $)) : (i = null, s = $), i === null && ($ = s, i = me(), i !== null ? (n.substr(s, 2) === "::" ? (e = "::", s += 2) : (e = null, h('"::"')), e !== null ? (l = me(), l !== null ? (n.charCodeAt(s) === 58 ? (u = ":", s++) : (u = null, h('":"')), u !== null ? (f = me(), f !== null ? (n.charCodeAt(s) === 58 ? (p = ":", s++) : (p = null, h('":"')), p !== null ? (m = me(), m !== null ? (n.charCodeAt(s) === 58 ? (v = ":", s++) : (v = null, h('":"')), v !== null ? (y = me(), y !== null ? (n.charCodeAt(s) === 58 ? (O = ":", s++) : (O = null, h('":"')), O !== null ? (le = oe(), le !== null ? i = [i, e, l, u, f, p, m, v, y, O, le] : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $), i === null && ($ = s, i = me(), i !== null ? (I = s, n.charCodeAt(s) === 58 ? (e = ":", s++) : (e = null, h('":"')), e !== null ? (l = me(), l !== null ? e = [e, l] : (e = null, s = I)) : (e = null, s = I), e = e !== null ? e : "", e !== null ? (n.substr(s, 2) === "::" ? (l = "::", s += 2) : (l = null, h('"::"')), l !== null ? (u = me(), u !== null ? (n.charCodeAt(s) === 58 ? (f = ":", s++) : (f = null, h('":"')), f !== null ? (p = me(), p !== null ? (n.charCodeAt(s) === 58 ? (m = ":", s++) : (m = null, h('":"')), m !== null ? (v = me(), v !== null ? (n.charCodeAt(s) === 58 ? (y = ":", s++) : (y = null, h('":"')), y !== null ? (O = oe(), O !== null ? i = [i, e, l, u, f, p, m, v, y, O] : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $), i === null && ($ = s, i = me(), i !== null ? (I = s, n.charCodeAt(s) === 58 ? (e = ":", s++) : (e = null, h('":"')), e !== null ? (l = me(), l !== null ? e = [e, l] : (e = null, s = I)) : (e = null, s = I), e = e !== null ? e : "", e !== null ? (I = s, n.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, h('":"')), l !== null ? (u = me(), u !== null ? l = [l, u] : (l = null, s = I)) : (l = null, s = I), l = l !== null ? l : "", l !== null ? (n.substr(s, 2) === "::" ? (u = "::", s += 2) : (u = null, h('"::"')), u !== null ? (f = me(), f !== null ? (n.charCodeAt(s) === 58 ? (p = ":", s++) : (p = null, h('":"')), p !== null ? (m = me(), m !== null ? (n.charCodeAt(s) === 58 ? (v = ":", s++) : (v = null, h('":"')), v !== null ? (y = oe(), y !== null ? i = [i, e, l, u, f, p, m, v, y] : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $), i === null && ($ = s, i = me(), i !== null ? (I = s, n.charCodeAt(s) === 58 ? (e = ":", s++) : (e = null, h('":"')), e !== null ? (l = me(), l !== null ? e = [e, l] : (e = null, s = I)) : (e = null, s = I), e = e !== null ? e : "", e !== null ? (I = s, n.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, h('":"')), l !== null ? (u = me(), u !== null ? l = [l, u] : (l = null, s = I)) : (l = null, s = I), l = l !== null ? l : "", l !== null ? (I = s, n.charCodeAt(s) === 58 ? (u = ":", s++) : (u = null, h('":"')), u !== null ? (f = me(), f !== null ? u = [u, f] : (u = null, s = I)) : (u = null, s = I), u = u !== null ? u : "", u !== null ? (n.substr(s, 2) === "::" ? (f = "::", s += 2) : (f = null, h('"::"')), f !== null ? (p = me(), p !== null ? (n.charCodeAt(s) === 58 ? (m = ":", s++) : (m = null, h('":"')), m !== null ? (v = oe(), v !== null ? i = [i, e, l, u, f, p, m, v] : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $), i === null && ($ = s, i = me(), i !== null ? (I = s, n.charCodeAt(s) === 58 ? (e = ":", s++) : (e = null, h('":"')), e !== null ? (l = me(), l !== null ? e = [e, l] : (e = null, s = I)) : (e = null, s = I), e = e !== null ? e : "", e !== null ? (I = s, n.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, h('":"')), l !== null ? (u = me(), u !== null ? l = [l, u] : (l = null, s = I)) : (l = null, s = I), l = l !== null ? l : "", l !== null ? (I = s, n.charCodeAt(s) === 58 ? (u = ":", s++) : (u = null, h('":"')), u !== null ? (f = me(), f !== null ? u = [u, f] : (u = null, s = I)) : (u = null, s = I), u = u !== null ? u : "", u !== null ? (I = s, n.charCodeAt(s) === 58 ? (f = ":", s++) : (f = null, h('":"')), f !== null ? (p = me(), p !== null ? f = [f, p] : (f = null, s = I)) : (f = null, s = I), f = f !== null ? f : "", f !== null ? (n.substr(s, 2) === "::" ? (p = "::", s += 2) : (p = null, h('"::"')), p !== null ? (m = oe(), m !== null ? i = [i, e, l, u, f, p, m] : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $), i === null && ($ = s, i = me(), i !== null ? (I = s, n.charCodeAt(s) === 58 ? (e = ":", s++) : (e = null, h('":"')), e !== null ? (l = me(), l !== null ? e = [e, l] : (e = null, s = I)) : (e = null, s = I), e = e !== null ? e : "", e !== null ? (I = s, n.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, h('":"')), l !== null ? (u = me(), u !== null ? l = [l, u] : (l = null, s = I)) : (l = null, s = I), l = l !== null ? l : "", l !== null ? (I = s, n.charCodeAt(s) === 58 ? (u = ":", s++) : (u = null, h('":"')), u !== null ? (f = me(), f !== null ? u = [u, f] : (u = null, s = I)) : (u = null, s = I), u = u !== null ? u : "", u !== null ? (I = s, n.charCodeAt(s) === 58 ? (f = ":", s++) : (f = null, h('":"')), f !== null ? (p = me(), p !== null ? f = [f, p] : (f = null, s = I)) : (f = null, s = I), f = f !== null ? f : "", f !== null ? (I = s, n.charCodeAt(s) === 58 ? (p = ":", s++) : (p = null, h('":"')), p !== null ? (m = me(), m !== null ? p = [p, m] : (p = null, s = I)) : (p = null, s = I), p = p !== null ? p : "", p !== null ? (n.substr(s, 2) === "::" ? (m = "::", s += 2) : (m = null, h('"::"')), m !== null ? (v = me(), v !== null ? i = [i, e, l, u, f, p, m, v] : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $), i === null && ($ = s, i = me(), i !== null ? (I = s, n.charCodeAt(s) === 58 ? (e = ":", s++) : (e = null, h('":"')), e !== null ? (l = me(), l !== null ? e = [e, l] : (e = null, s = I)) : (e = null, s = I), e = e !== null ? e : "", e !== null ? (I = s, n.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, h('":"')), l !== null ? (u = me(), u !== null ? l = [l, u] : (l = null, s = I)) : (l = null, s = I), l = l !== null ? l : "", l !== null ? (I = s, n.charCodeAt(s) === 58 ? (u = ":", s++) : (u = null, h('":"')), u !== null ? (f = me(), f !== null ? u = [u, f] : (u = null, s = I)) : (u = null, s = I), u = u !== null ? u : "", u !== null ? (I = s, n.charCodeAt(s) === 58 ? (f = ":", s++) : (f = null, h('":"')), f !== null ? (p = me(), p !== null ? f = [f, p] : (f = null, s = I)) : (f = null, s = I), f = f !== null ? f : "", f !== null ? (I = s, n.charCodeAt(s) === 58 ? (p = ":", s++) : (p = null, h('":"')), p !== null ? (m = me(), m !== null ? p = [p, m] : (p = null, s = I)) : (p = null, s = I), p = p !== null ? p : "", p !== null ? (I = s, n.charCodeAt(s) === 58 ? (m = ":", s++) : (m = null, h('":"')), m !== null ? (v = me(), v !== null ? m = [m, v] : (m = null, s = I)) : (m = null, s = I), m = m !== null ? m : "", m !== null ? (n.substr(s, 2) === "::" ? (v = "::", s += 2) : (v = null, h('"::"')), v !== null ? i = [i, e, l, u, f, p, m, v] : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $)) : (i = null, s = $))))))))))))))), i !== null && (i = function(Te) {
10918
10918
  return b.host_type = "IPv6", n.substring(s, Te);
10919
- }(ks)), i === null && (s = ks), i;
10919
+ }(Ps)), i === null && (s = Ps), i;
10920
10920
  }
10921
10921
  function me() {
10922
10922
  var i, e, l, u, f;
@@ -11068,7 +11068,7 @@ function Zt() {
11068
11068
  }
11069
11069
  function ml() {
11070
11070
  var i, e, l, u, f, p;
11071
- return p = s, i = nn(), i !== null ? (e = R(), e !== null ? (l = Dr(), l !== null ? (u = R(), u !== null ? (f = kn(), f !== null ? i = [i, e, l, u, f] : (i = null, s = p)) : (i = null, s = p)) : (i = null, s = p)) : (i = null, s = p)) : (i = null, s = p), i;
11071
+ return p = s, i = nn(), i !== null ? (e = R(), e !== null ? (l = Dr(), l !== null ? (u = R(), u !== null ? (f = Pn(), f !== null ? i = [i, e, l, u, f] : (i = null, s = p)) : (i = null, s = p)) : (i = null, s = p)) : (i = null, s = p)) : (i = null, s = p), i;
11072
11072
  }
11073
11073
  function Dr() {
11074
11074
  var i;
@@ -11076,9 +11076,9 @@ function Zt() {
11076
11076
  }
11077
11077
  function xn() {
11078
11078
  var i, e, l, u;
11079
- return u = s, i = Ns(), i !== null ? (n.charCodeAt(s) === 58 ? (e = ":", s++) : (e = null, h('":"')), e !== null ? (l = Pn(), l === null && (l = tn()), l !== null ? i = [i, e, l] : (i = null, s = u)) : (i = null, s = u)) : (i = null, s = u), i;
11079
+ return u = s, i = Ns(), i !== null ? (n.charCodeAt(s) === 58 ? (e = ":", s++) : (e = null, h('":"')), e !== null ? (l = kn(), l === null && (l = tn()), l !== null ? i = [i, e, l] : (i = null, s = u)) : (i = null, s = u)) : (i = null, s = u), i;
11080
11080
  }
11081
- function Pn() {
11081
+ function kn() {
11082
11082
  var i, e, l, u, f;
11083
11083
  return u = s, i = Nr(), i === null && (i = en()), i !== null ? (f = s, n.charCodeAt(s) === 63 ? (e = "?", s++) : (e = null, h('"?"')), e !== null ? (l = Mr(), l !== null ? e = [e, l] : (e = null, s = f)) : (e = null, s = f), e = e !== null ? e : "", e !== null ? i = [i, e] : (i = null, s = u)) : (i = null, s = u), i;
11084
11084
  }
@@ -11154,13 +11154,13 @@ function Zt() {
11154
11154
  }
11155
11155
  function xr() {
11156
11156
  var i;
11157
- return i = Pr(), i === null && (i = kr()), i;
11157
+ return i = kr(), i === null && (i = Pr()), i;
11158
11158
  }
11159
- function Pr() {
11159
+ function kr() {
11160
11160
  var i, e, l, u;
11161
11161
  return l = s, u = s, i = Lt(), i !== null ? (n.charCodeAt(s) === 64 ? (e = "@", s++) : (e = null, h('"@"')), e !== null ? i = [i, e] : (i = null, s = u)) : (i = null, s = u), i = i !== null ? i : "", i !== null ? (e = Ys(), e !== null ? i = [i, e] : (i = null, s = l)) : (i = null, s = l), i = i !== null ? i : "", i;
11162
11162
  }
11163
- function kr() {
11163
+ function Pr() {
11164
11164
  var i, e;
11165
11165
  if (e = N(), e === null && (e = Ee(), e === null && (n.charCodeAt(s) === 36 ? (e = "$", s++) : (e = null, h('"$"')), e === null && (n.charCodeAt(s) === 44 ? (e = ",", s++) : (e = null, h('","')), e === null && (n.charCodeAt(s) === 59 ? (e = ";", s++) : (e = null, h('";"')), e === null && (n.charCodeAt(s) === 58 ? (e = ":", s++) : (e = null, h('":"')), e === null && (n.charCodeAt(s) === 64 ? (e = "@", s++) : (e = null, h('"@"')), e === null && (n.charCodeAt(s) === 38 ? (e = "&", s++) : (e = null, h('"&"')), e === null && (n.charCodeAt(s) === 61 ? (e = "=", s++) : (e = null, h('"="')), e === null && (n.charCodeAt(s) === 43 ? (e = "+", s++) : (e = null, h('"+"'))))))))))), e !== null)
11166
11166
  for (i = []; e !== null; )
@@ -11175,7 +11175,7 @@ function Zt() {
11175
11175
  i.push(e), e = ws();
11176
11176
  return i;
11177
11177
  }
11178
- function kn() {
11178
+ function Pn() {
11179
11179
  var i, e, l, u, f, p, m, v;
11180
11180
  if (m = s, v = s, n.substr(s, 3).toLowerCase() === "sip" ? (i = n.substr(s, 3), s += 3) : (i = null, h('"SIP"')), i !== null)
11181
11181
  if (n.charCodeAt(s) === 47 ? (e = "/", s++) : (e = null, h('"/"')), e !== null) {
@@ -11248,7 +11248,7 @@ function Zt() {
11248
11248
  }
11249
11249
  function rn() {
11250
11250
  var i, e, l, u, f, p;
11251
- return p = s, i = kn(), i !== null ? (e = R(), e !== null ? (l = Gr(), l !== null ? (u = R(), u !== null ? (f = Kr(), f !== null ? i = [i, e, l, u, f] : (i = null, s = p)) : (i = null, s = p)) : (i = null, s = p)) : (i = null, s = p)) : (i = null, s = p), i;
11251
+ return p = s, i = Pn(), i !== null ? (e = R(), e !== null ? (l = Gr(), l !== null ? (u = R(), u !== null ? (f = Kr(), f !== null ? i = [i, e, l, u, f] : (i = null, s = p)) : (i = null, s = p)) : (i = null, s = p)) : (i = null, s = p)) : (i = null, s = p), i;
11252
11252
  }
11253
11253
  function Gr() {
11254
11254
  var i, e;
@@ -11262,8 +11262,8 @@ function Zt() {
11262
11262
  }
11263
11263
  function Kr() {
11264
11264
  var i, e, l;
11265
- for (l = s, i = [], e = ie(), e === null && (e = N(), e === null && (e = Ee(), e === null && (e = J(), e === null && (e = F(), e === null && (e = R(), e === null && (e = k())))))); e !== null; )
11266
- i.push(e), e = ie(), e === null && (e = N(), e === null && (e = Ee(), e === null && (e = J(), e === null && (e = F(), e === null && (e = R(), e === null && (e = k()))))));
11265
+ for (l = s, i = [], e = ie(), e === null && (e = N(), e === null && (e = Ee(), e === null && (e = J(), e === null && (e = F(), e === null && (e = R(), e === null && (e = P())))))); e !== null; )
11266
+ i.push(e), e = ie(), e === null && (e = N(), e === null && (e = Ee(), e === null && (e = J(), e === null && (e = F(), e === null && (e = R(), e === null && (e = P()))))));
11267
11267
  return i !== null && (i = function(u) {
11268
11268
  b.reason_phrase = n.substring(s, u);
11269
11269
  }(l)), i === null && (s = l), i;
@@ -11328,7 +11328,7 @@ function Zt() {
11328
11328
  }
11329
11329
  function $t() {
11330
11330
  var i, e, l, u, f;
11331
- return f = s, i = Ht(), i = i !== null ? i : "", i !== null ? (e = Pe(), e !== null ? (l = we(), l !== null ? (u = be(), u !== null ? i = [i, e, l, u] : (i = null, s = f)) : (i = null, s = f)) : (i = null, s = f)) : (i = null, s = f), i;
11331
+ return f = s, i = Ht(), i = i !== null ? i : "", i !== null ? (e = ke(), e !== null ? (l = we(), l !== null ? (u = be(), u !== null ? i = [i, e, l, u] : (i = null, s = f)) : (i = null, s = f)) : (i = null, s = f)) : (i = null, s = f), i;
11332
11332
  }
11333
11333
  function Ht() {
11334
11334
  var i, e, l, u, f, p, m;
@@ -11576,7 +11576,7 @@ function Zt() {
11576
11576
  for (v = s, y = s, i = [], e = Ht(); e !== null; )
11577
11577
  i.push(e), e = Ht();
11578
11578
  if (i !== null)
11579
- if (e = Pe(), e !== null)
11579
+ if (e = ke(), e !== null)
11580
11580
  if (l = we(), l !== null)
11581
11581
  if (u = be(), u !== null) {
11582
11582
  for (f = [], O = s, p = ae(), p !== null ? (m = Ge(), m !== null ? p = [p, m] : (p = null, s = O)) : (p = null, s = O); p !== null; )
@@ -11940,8 +11940,8 @@ function Zt() {
11940
11940
  if (m = s, i = gi(), i !== null)
11941
11941
  if (e = ve(), e !== null)
11942
11942
  if (l = Si(), l !== null) {
11943
- for (u = [], v = s, f = ae(), f !== null ? (p = Ps(), p !== null ? f = [f, p] : (f = null, s = v)) : (f = null, s = v); f !== null; )
11944
- u.push(f), v = s, f = ae(), f !== null ? (p = Ps(), p !== null ? f = [f, p] : (f = null, s = v)) : (f = null, s = v);
11943
+ for (u = [], v = s, f = ae(), f !== null ? (p = ks(), p !== null ? f = [f, p] : (f = null, s = v)) : (f = null, s = v); f !== null; )
11944
+ u.push(f), v = s, f = ae(), f !== null ? (p = ks(), p !== null ? f = [f, p] : (f = null, s = v)) : (f = null, s = v);
11945
11945
  u !== null ? i = [i, e, l, u] : (i = null, s = m);
11946
11946
  } else
11947
11947
  i = null, s = m;
@@ -11951,7 +11951,7 @@ function Zt() {
11951
11951
  i = null, s = m;
11952
11952
  return i;
11953
11953
  }
11954
- function Ps() {
11954
+ function ks() {
11955
11955
  var i;
11956
11956
  return i = Zn(), i === null && (i = hi(), i === null && (i = di(), i === null && (i = _i(), i === null && (i = pi(), i === null && (i = Ge()))))), i;
11957
11957
  }
@@ -12113,7 +12113,7 @@ function Zt() {
12113
12113
  }
12114
12114
  function oo() {
12115
12115
  var i, e, l, u, f, p;
12116
- if (f = s, i = Pl(), i !== null) {
12116
+ if (f = s, i = kl(), i !== null) {
12117
12117
  for (e = [], p = s, l = ae(), l !== null ? (u = nr(), u !== null ? l = [l, u] : (l = null, s = p)) : (l = null, s = p); l !== null; )
12118
12118
  e.push(l), p = s, l = ae(), l !== null ? (u = nr(), u !== null ? l = [l, u] : (l = null, s = p)) : (l = null, s = p);
12119
12119
  e !== null ? i = [i, e] : (i = null, s = f);
@@ -12121,7 +12121,7 @@ function Zt() {
12121
12121
  i = null, s = f;
12122
12122
  return i;
12123
12123
  }
12124
- function Pl() {
12124
+ function kl() {
12125
12125
  var i, e, l, u, f, p;
12126
12126
  return u = s, f = s, i = st(), i !== null ? (p = s, n.charCodeAt(s) === 64 ? (e = "@", s++) : (e = null, h('"@"')), e !== null ? (l = st(), l !== null ? e = [e, l] : (e = null, s = p)) : (e = null, s = p), e = e !== null ? e : "", e !== null ? i = [i, e] : (i = null, s = f)) : (i = null, s = f), i !== null && (i = function(m) {
12127
12127
  b.call_id = n.substring(s, m);
@@ -12149,7 +12149,7 @@ function Zt() {
12149
12149
  b.early_only = !0;
12150
12150
  }()), i === null && (s = e), i;
12151
12151
  }
12152
- function kl(i) {
12152
+ function Pl(i) {
12153
12153
  i.sort();
12154
12154
  for (var e = null, l = [], u = 0; u < i.length; u++)
12155
12155
  i[u] !== e && (l.push(i[u]), e = i[u]);
@@ -12167,7 +12167,7 @@ function Zt() {
12167
12167
  if (w === null || s !== n.length) {
12168
12168
  var bi = Math.max(s, r), wi = bi < n.length ? n.charAt(bi) : null, Ll = uo();
12169
12169
  return new this.SyntaxError(
12170
- kl(d),
12170
+ Pl(d),
12171
12171
  wi,
12172
12172
  bi,
12173
12173
  Ll.line,
@@ -12198,7 +12198,7 @@ function Zt() {
12198
12198
  }
12199
12199
  this.name = "SyntaxError", this.expected = n, this.found = a, this.message = d(n, a), this.offset = o, this.line = s, this.column = r;
12200
12200
  }, t.SyntaxError.prototype = Error.prototype, t;
12201
- }()), ko;
12201
+ }()), Po;
12202
12202
  }
12203
12203
  var Mo, sf;
12204
12204
  function ys() {
@@ -12427,7 +12427,7 @@ function Ct() {
12427
12427
  function R(Se, Ce, Ie, Oe, pe, ue, _e) {
12428
12428
  return Se = h(Se, h(h(S(Ce, Ie, Oe), pe), _e)), h(d(Se, ue), Ce);
12429
12429
  }
12430
- function k(Se) {
12430
+ function P(Se) {
12431
12431
  let Ce;
12432
12432
  const Ie = Se.length, Oe = Ie + 8, ue = ((Oe - Oe % 64) / 64 + 1) * 16, _e = new Array(ue - 1);
12433
12433
  let we = 0, Ne = 0;
@@ -12450,9 +12450,9 @@ function Ct() {
12450
12450
  return Ce;
12451
12451
  }
12452
12452
  let N = [], j, Ee, ve, L, D, B, q, J, F;
12453
- const X = 7, U = 12, x = 17, se = 22, st = 5, ee = 9, W = 14, G = 20, re = 4, ge = 11, be = 16, Pe = 23, Ae = 6, ae = 10, ye = 15, nt = 21;
12454
- for (r = ie(r), N = k(r), B = 1732584193, q = 4023233417, J = 2562383102, F = 271733878, j = 0; j < N.length; j += 16)
12455
- Ee = B, ve = q, L = J, D = F, B = E(B, q, J, F, N[j + 0], X, 3614090360), F = E(F, B, q, J, N[j + 1], U, 3905402710), J = E(J, F, B, q, N[j + 2], x, 606105819), q = E(q, J, F, B, N[j + 3], se, 3250441966), B = E(B, q, J, F, N[j + 4], X, 4118548399), F = E(F, B, q, J, N[j + 5], U, 1200080426), J = E(J, F, B, q, N[j + 6], x, 2821735955), q = E(q, J, F, B, N[j + 7], se, 4249261313), B = E(B, q, J, F, N[j + 8], X, 1770035416), F = E(F, B, q, J, N[j + 9], U, 2336552879), J = E(J, F, B, q, N[j + 10], x, 4294925233), q = E(q, J, F, B, N[j + 11], se, 2304563134), B = E(B, q, J, F, N[j + 12], X, 1804603682), F = E(F, B, q, J, N[j + 13], U, 4254626195), J = E(J, F, B, q, N[j + 14], x, 2792965006), q = E(q, J, F, B, N[j + 15], se, 1236535329), B = C(B, q, J, F, N[j + 1], st, 4129170786), F = C(F, B, q, J, N[j + 6], ee, 3225465664), J = C(J, F, B, q, N[j + 11], W, 643717713), q = C(q, J, F, B, N[j + 0], G, 3921069994), B = C(B, q, J, F, N[j + 5], st, 3593408605), F = C(F, B, q, J, N[j + 10], ee, 38016083), J = C(J, F, B, q, N[j + 15], W, 3634488961), q = C(q, J, F, B, N[j + 4], G, 3889429448), B = C(B, q, J, F, N[j + 9], st, 568446438), F = C(F, B, q, J, N[j + 14], ee, 3275163606), J = C(J, F, B, q, N[j + 3], W, 4107603335), q = C(q, J, F, B, N[j + 8], G, 1163531501), B = C(B, q, J, F, N[j + 13], st, 2850285829), F = C(F, B, q, J, N[j + 2], ee, 4243563512), J = C(J, F, B, q, N[j + 7], W, 1735328473), q = C(q, J, F, B, N[j + 12], G, 2368359562), B = A(B, q, J, F, N[j + 5], re, 4294588738), F = A(F, B, q, J, N[j + 8], ge, 2272392833), J = A(J, F, B, q, N[j + 11], be, 1839030562), q = A(q, J, F, B, N[j + 14], Pe, 4259657740), B = A(B, q, J, F, N[j + 1], re, 2763975236), F = A(F, B, q, J, N[j + 4], ge, 1272893353), J = A(J, F, B, q, N[j + 7], be, 4139469664), q = A(q, J, F, B, N[j + 10], Pe, 3200236656), B = A(B, q, J, F, N[j + 13], re, 681279174), F = A(F, B, q, J, N[j + 0], ge, 3936430074), J = A(J, F, B, q, N[j + 3], be, 3572445317), q = A(q, J, F, B, N[j + 6], Pe, 76029189), B = A(B, q, J, F, N[j + 9], re, 3654602809), F = A(F, B, q, J, N[j + 12], ge, 3873151461), J = A(J, F, B, q, N[j + 15], be, 530742520), q = A(q, J, F, B, N[j + 2], Pe, 3299628645), B = R(B, q, J, F, N[j + 0], Ae, 4096336452), F = R(F, B, q, J, N[j + 7], ae, 1126891415), J = R(J, F, B, q, N[j + 14], ye, 2878612391), q = R(q, J, F, B, N[j + 5], nt, 4237533241), B = R(B, q, J, F, N[j + 12], Ae, 1700485571), F = R(F, B, q, J, N[j + 3], ae, 2399980690), J = R(J, F, B, q, N[j + 10], ye, 4293915773), q = R(q, J, F, B, N[j + 1], nt, 2240044497), B = R(B, q, J, F, N[j + 8], Ae, 1873313359), F = R(F, B, q, J, N[j + 15], ae, 4264355552), J = R(J, F, B, q, N[j + 6], ye, 2734768916), q = R(q, J, F, B, N[j + 13], nt, 1309151649), B = R(B, q, J, F, N[j + 4], Ae, 4149444226), F = R(F, B, q, J, N[j + 11], ae, 3174756917), J = R(J, F, B, q, N[j + 2], ye, 718787259), q = R(q, J, F, B, N[j + 9], nt, 3951481745), B = h(B, Ee), q = h(q, ve), J = h(J, L), F = h(F, D);
12453
+ const X = 7, U = 12, x = 17, se = 22, st = 5, ee = 9, W = 14, G = 20, re = 4, ge = 11, be = 16, ke = 23, Ae = 6, ae = 10, ye = 15, nt = 21;
12454
+ for (r = ie(r), N = P(r), B = 1732584193, q = 4023233417, J = 2562383102, F = 271733878, j = 0; j < N.length; j += 16)
12455
+ Ee = B, ve = q, L = J, D = F, B = E(B, q, J, F, N[j + 0], X, 3614090360), F = E(F, B, q, J, N[j + 1], U, 3905402710), J = E(J, F, B, q, N[j + 2], x, 606105819), q = E(q, J, F, B, N[j + 3], se, 3250441966), B = E(B, q, J, F, N[j + 4], X, 4118548399), F = E(F, B, q, J, N[j + 5], U, 1200080426), J = E(J, F, B, q, N[j + 6], x, 2821735955), q = E(q, J, F, B, N[j + 7], se, 4249261313), B = E(B, q, J, F, N[j + 8], X, 1770035416), F = E(F, B, q, J, N[j + 9], U, 2336552879), J = E(J, F, B, q, N[j + 10], x, 4294925233), q = E(q, J, F, B, N[j + 11], se, 2304563134), B = E(B, q, J, F, N[j + 12], X, 1804603682), F = E(F, B, q, J, N[j + 13], U, 4254626195), J = E(J, F, B, q, N[j + 14], x, 2792965006), q = E(q, J, F, B, N[j + 15], se, 1236535329), B = C(B, q, J, F, N[j + 1], st, 4129170786), F = C(F, B, q, J, N[j + 6], ee, 3225465664), J = C(J, F, B, q, N[j + 11], W, 643717713), q = C(q, J, F, B, N[j + 0], G, 3921069994), B = C(B, q, J, F, N[j + 5], st, 3593408605), F = C(F, B, q, J, N[j + 10], ee, 38016083), J = C(J, F, B, q, N[j + 15], W, 3634488961), q = C(q, J, F, B, N[j + 4], G, 3889429448), B = C(B, q, J, F, N[j + 9], st, 568446438), F = C(F, B, q, J, N[j + 14], ee, 3275163606), J = C(J, F, B, q, N[j + 3], W, 4107603335), q = C(q, J, F, B, N[j + 8], G, 1163531501), B = C(B, q, J, F, N[j + 13], st, 2850285829), F = C(F, B, q, J, N[j + 2], ee, 4243563512), J = C(J, F, B, q, N[j + 7], W, 1735328473), q = C(q, J, F, B, N[j + 12], G, 2368359562), B = A(B, q, J, F, N[j + 5], re, 4294588738), F = A(F, B, q, J, N[j + 8], ge, 2272392833), J = A(J, F, B, q, N[j + 11], be, 1839030562), q = A(q, J, F, B, N[j + 14], ke, 4259657740), B = A(B, q, J, F, N[j + 1], re, 2763975236), F = A(F, B, q, J, N[j + 4], ge, 1272893353), J = A(J, F, B, q, N[j + 7], be, 4139469664), q = A(q, J, F, B, N[j + 10], ke, 3200236656), B = A(B, q, J, F, N[j + 13], re, 681279174), F = A(F, B, q, J, N[j + 0], ge, 3936430074), J = A(J, F, B, q, N[j + 3], be, 3572445317), q = A(q, J, F, B, N[j + 6], ke, 76029189), B = A(B, q, J, F, N[j + 9], re, 3654602809), F = A(F, B, q, J, N[j + 12], ge, 3873151461), J = A(J, F, B, q, N[j + 15], be, 530742520), q = A(q, J, F, B, N[j + 2], ke, 3299628645), B = R(B, q, J, F, N[j + 0], Ae, 4096336452), F = R(F, B, q, J, N[j + 7], ae, 1126891415), J = R(J, F, B, q, N[j + 14], ye, 2878612391), q = R(q, J, F, B, N[j + 5], nt, 4237533241), B = R(B, q, J, F, N[j + 12], Ae, 1700485571), F = R(F, B, q, J, N[j + 3], ae, 2399980690), J = R(J, F, B, q, N[j + 10], ye, 4293915773), q = R(q, J, F, B, N[j + 1], nt, 2240044497), B = R(B, q, J, F, N[j + 8], Ae, 1873313359), F = R(F, B, q, J, N[j + 15], ae, 4264355552), J = R(J, F, B, q, N[j + 6], ye, 2734768916), q = R(q, J, F, B, N[j + 13], nt, 1309151649), B = R(B, q, J, F, N[j + 4], Ae, 4149444226), F = R(F, B, q, J, N[j + 11], ae, 3174756917), J = R(J, F, B, q, N[j + 2], ye, 718787259), q = R(q, J, F, B, N[j + 9], nt, 3951481745), B = h(B, Ee), q = h(q, ve), J = h(J, L), F = h(F, D);
12456
12456
  return (M(B) + M(q) + M(J) + M(F)).toLowerCase();
12457
12457
  }, et.closeMediaStream = (r) => {
12458
12458
  if (r)
@@ -12475,7 +12475,7 @@ function Ct() {
12475
12475
  }
12476
12476
  }, et.cloneArray = (r) => r && r.slice() || [], et.cloneObject = (r, d = {}) => r && Object.assign({}, r) || d, et;
12477
12477
  }
12478
- const ch = Pt, Hm = ut, Et = De, it = Ct(), rf = $u(), Fm = Zt(), Lo = new Hm("SIPMessage");
12478
+ const ch = kt, Hm = ut, Et = De, it = Ct(), rf = $u(), Fm = Zt(), Lo = new Hm("SIPMessage");
12479
12479
  class Wa {
12480
12480
  constructor(t, n, a, o, s, r) {
12481
12481
  if (!t || !n || !a)
@@ -13947,7 +13947,7 @@ var vh = class extends Rg {
13947
13947
  });
13948
13948
  }
13949
13949
  };
13950
- const wg = /* @__PURE__ */ ze(vh), Og = ft.EventEmitter, gf = Pt, Dg = ut, fe = De, Sn = Cs, Tf = gr, Be = Ct(), ji = Fu, Ng = yt, ea = _h, Ug = Tr, Mt = mh, vf = gh, xg = Th, Pg = vh, Sf = ys(), Y = new Dg("RTCSession"), Z = {
13950
+ const wg = /* @__PURE__ */ ze(vh), Og = ft.EventEmitter, gf = kt, Dg = ut, fe = De, Sn = Cs, Tf = gr, Be = Ct(), ji = Fu, Ng = yt, ea = _h, Ug = Tr, Mt = mh, vf = gh, xg = Th, kg = vh, Sf = ys(), Y = new Dg("RTCSession"), Z = {
13951
13951
  // RTCSession states.
13952
13952
  STATUS_NULL: 0,
13953
13953
  STATUS_INVITE_SENT: 1,
@@ -14164,16 +14164,16 @@ var Sh = class Cu extends Og {
14164
14164
  }).then((R) => {
14165
14165
  if (this._status === Z.STATUS_TERMINATED)
14166
14166
  throw new Error("terminated");
14167
- this._localMediaStream = R, R && R.getTracks().forEach((k) => {
14168
- this._connection.addTrack(k, R);
14167
+ this._localMediaStream = R, R && R.getTracks().forEach((P) => {
14168
+ this._connection.addTrack(P, R);
14169
14169
  });
14170
14170
  }).then(() => {
14171
14171
  if (this._late_sdp)
14172
14172
  return;
14173
14173
  const R = { originator: "remote", type: "offer", sdp: n.body };
14174
14174
  Y.debug('emit "sdp"'), this.emit("sdp", R);
14175
- const k = new RTCSessionDescription({ type: "offer", sdp: R.sdp });
14176
- return this._connectionPromiseQueue = this._connectionPromiseQueue.then(() => this._connection.setRemoteDescription(k)).catch((M) => {
14175
+ const P = new RTCSessionDescription({ type: "offer", sdp: R.sdp });
14176
+ return this._connectionPromiseQueue = this._connectionPromiseQueue.then(() => this._connection.setRemoteDescription(P)).catch((M) => {
14177
14177
  throw n.reply(488), this._failed("system", null, fe.causes.WEBRTC_ERROR), Y.warn('emit "peerconnection:setremotedescriptionfailed" [error:%o]', M), this.emit("peerconnection:setremotedescriptionfailed", M), new Error("peerconnection.setRemoteDescription() failed");
14178
14178
  }), this._connectionPromiseQueue;
14179
14179
  }).then(() => {
@@ -14414,7 +14414,7 @@ var Sh = class Cu extends Og {
14414
14414
  return !1;
14415
14415
  if (t = this._ua.normalizeTarget(t), !t)
14416
14416
  throw new TypeError(`Invalid target: ${a}`);
14417
- const o = new Pg(this);
14417
+ const o = new kg(this);
14418
14418
  o.sendRefer(t, n);
14419
14419
  const s = o.id;
14420
14420
  return this._referSubscribers[s] = o, o.on("requestFailed", () => {
@@ -15274,7 +15274,7 @@ var Sh = class Cu extends Og {
15274
15274
  });
15275
15275
  }
15276
15276
  };
15277
- const kg = /* @__PURE__ */ ze(Sh), Mg = ft.EventEmitter, Lg = ut, Wo = De, $g = yt, Vi = Ct(), Hg = Tr, Ef = Cs, Fg = ys(), sa = new Lg("Message");
15277
+ const Pg = /* @__PURE__ */ ze(Sh), Mg = ft.EventEmitter, Lg = ut, Wo = De, $g = yt, Vi = Ct(), Hg = Tr, Ef = Cs, Fg = ys(), sa = new Lg("Message");
15278
15278
  var jg = class extends Mg {
15279
15279
  constructor(t) {
15280
15280
  super(), this._ua = t, this._request = null, this._closed = !1, this._direction = null, this._local_identity = null, this._remote_identity = null, this._is_replied = !1, this._data = {};
@@ -16616,8 +16616,8 @@ function Df(c, t, n) {
16616
16616
  }
16617
16617
  return IT(a);
16618
16618
  }
16619
- var ke = Ct();
16620
- const Ts = /* @__PURE__ */ ze(ke), su = new Ga("Dialog"), Fs = {
16619
+ var Pe = Ct();
16620
+ const Ts = /* @__PURE__ */ ze(Pe), su = new Ga("Dialog"), Fs = {
16621
16621
  // Dialog states.
16622
16622
  STATUS_EARLY: 1,
16623
16623
  STATUS_CONFIRMED: 2,
@@ -17051,12 +17051,12 @@ class $a extends ft.EventEmitter {
17051
17051
  }
17052
17052
  connect(t, n, a = {}, o) {
17053
17053
  z.debug("connect()"), this.display_name = n;
17054
- const s = t, r = ke.cloneObject(a.eventHandlers), d = ke.cloneArray(a.extraHeaders), h = ke.cloneObject(a.mediaConstraints, {
17054
+ const s = t, r = Pe.cloneObject(a.eventHandlers), d = Pe.cloneArray(a.extraHeaders), h = Pe.cloneObject(a.mediaConstraints, {
17055
17055
  audio: !0,
17056
17056
  video: !0
17057
17057
  });
17058
17058
  this.mediaConstraints = { ...h };
17059
- const _ = a.mediaStream || null, g = ke.cloneObject(a.pcConfig, { iceServers: [] }), T = a.rtcConstraints || null, S = a.rtcOfferConstraints || null;
17059
+ const _ = a.mediaStream || null, g = Pe.cloneObject(a.pcConfig, { iceServers: [] }), T = a.rtcConstraints || null, S = a.rtcOfferConstraints || null;
17060
17060
  if (this._rtcOfferConstraints = S, this._rtcAnswerConstraints = a.rtcAnswerConstraints || null, this._data = a.data || this._data, t === void 0)
17061
17061
  throw new TypeError("Not enough arguments");
17062
17062
  if (this._status !== te.STATUS_NULL)
@@ -17065,10 +17065,10 @@ class $a extends ft.EventEmitter {
17065
17065
  throw new Vs.NotSupportedError("WebRTC not supported");
17066
17066
  if (t = this._ua.normalizeTarget(t), this.room_id = t.user, this.target = t, !t)
17067
17067
  throw new TypeError(`Invalid target: ${s}`);
17068
- this._sessionTimers.enabled && ke.isDecimal(a.sessionTimersExpires) && (a.sessionTimersExpires >= H.MIN_SESSION_EXPIRES ? this._sessionTimers.defaultExpires = a.sessionTimersExpires : this._sessionTimers.defaultExpires = H.SESSION_EXPIRES);
17068
+ this._sessionTimers.enabled && Pe.isDecimal(a.sessionTimersExpires) && (a.sessionTimersExpires >= H.MIN_SESSION_EXPIRES ? this._sessionTimers.defaultExpires = a.sessionTimersExpires : this._sessionTimers.defaultExpires = H.SESSION_EXPIRES);
17069
17069
  for (const A in r)
17070
17070
  Object.prototype.hasOwnProperty.call(r, A) && this.on(A, r[A]);
17071
- this._from_tag = ke.newTag();
17071
+ this._from_tag = Pe.newTag();
17072
17072
  const E = a.anonymous || !1, C = { from_tag: this._from_tag };
17073
17073
  this._contact = this._ua.contact.toString({
17074
17074
  anonymous: E,
@@ -17140,7 +17140,7 @@ class $a extends ft.EventEmitter {
17140
17140
  t.reply(415);
17141
17141
  return;
17142
17142
  }
17143
- if (this._status = te.STATUS_INVITE_RECEIVED, this._from_tag = t.from_tag, this._id = t.call_id + this._from_tag, this._request = t, this._contact = this._ua.contact.toString(), t.hasHeader("expires") && (a = t.getHeader("expires") * 1e3), t.to_tag = ke.newTag(), !this._createDialog(t, "UAS", !0)) {
17143
+ if (this._status = te.STATUS_INVITE_RECEIVED, this._from_tag = t.from_tag, this._id = t.call_id + this._from_tag, this._request = t, this._contact = this._ua.contact.toString(), t.hasHeader("expires") && (a = t.getHeader("expires") * 1e3), t.to_tag = Pe.newTag(), !this._createDialog(t, "UAS", !0)) {
17144
17144
  t.reply(500, "Missing Contact header field");
17145
17145
  return;
17146
17146
  }
@@ -17161,13 +17161,13 @@ class $a extends ft.EventEmitter {
17161
17161
  */
17162
17162
  answer(t = {}) {
17163
17163
  z.debug("answer()");
17164
- const n = this._request, a = ke.cloneArray(t.extraHeaders), o = ke.cloneObject(t.mediaConstraints), s = t.mediaStream || null, r = ke.cloneObject(t.pcConfig, { iceServers: [] }), d = t.rtcConstraints || null, h = t.rtcAnswerConstraints || null, _ = ke.cloneObject(t.rtcOfferConstraints);
17164
+ const n = this._request, a = Pe.cloneArray(t.extraHeaders), o = Pe.cloneObject(t.mediaConstraints), s = t.mediaStream || null, r = Pe.cloneObject(t.pcConfig, { iceServers: [] }), d = t.rtcConstraints || null, h = t.rtcAnswerConstraints || null, _ = Pe.cloneObject(t.rtcOfferConstraints);
17165
17165
  let g, T = !1, S = !1, E = !1, C = !1;
17166
17166
  if (this._rtcAnswerConstraints = h, this._rtcOfferConstraints = t.rtcOfferConstraints || null, this._data = t.data || this._data, this._direction !== "incoming")
17167
17167
  throw new Vs.NotSupportedError('"answer" not supported for outgoing RTCSession');
17168
17168
  if (this._status !== te.STATUS_WAITING_FOR_ANSWER)
17169
17169
  throw new Vs.InvalidStateError(this._status);
17170
- if (this._sessionTimers.enabled && ke.isDecimal(t.sessionTimersExpires) && (t.sessionTimersExpires >= H.MIN_SESSION_EXPIRES ? this._sessionTimers.defaultExpires = t.sessionTimersExpires : this._sessionTimers.defaultExpires = H.SESSION_EXPIRES), this._status = te.STATUS_ANSWERED, !this._createDialog(n, "UAS")) {
17170
+ if (this._sessionTimers.enabled && Pe.isDecimal(t.sessionTimersExpires) && (t.sessionTimersExpires >= H.MIN_SESSION_EXPIRES ? this._sessionTimers.defaultExpires = t.sessionTimersExpires : this._sessionTimers.defaultExpires = H.SESSION_EXPIRES), this._status = te.STATUS_ANSWERED, !this._createDialog(n, "UAS")) {
17171
17171
  n.reply(500, "Error creating dialog");
17172
17172
  return;
17173
17173
  }
@@ -17196,8 +17196,8 @@ class $a extends ft.EventEmitter {
17196
17196
  }).then((R) => {
17197
17197
  if (this._status === te.STATUS_TERMINATED)
17198
17198
  throw new Error("terminated");
17199
- this._localMediaStream = R, R && R.getTracks().forEach((k) => {
17200
- this._connection.addTrack(k, R);
17199
+ this._localMediaStream = R, R && R.getTracks().forEach((P) => {
17200
+ this._connection.addTrack(P, R);
17201
17201
  });
17202
17202
  }).then(() => {
17203
17203
  if (this._late_sdp)
@@ -17208,11 +17208,11 @@ class $a extends ft.EventEmitter {
17208
17208
  sdp: n.body
17209
17209
  };
17210
17210
  z.debug('emit "sdp"'), this.emit("sdp", R);
17211
- const k = new RTCSessionDescription({
17211
+ const P = new RTCSessionDescription({
17212
17212
  type: "offer",
17213
17213
  sdp: R.sdp
17214
17214
  });
17215
- return this._connectionPromiseQueue = this._connectionPromiseQueue.then(() => this._connection.setRemoteDescription(k)).catch((M) => {
17215
+ return this._connectionPromiseQueue = this._connectionPromiseQueue.then(() => this._connection.setRemoteDescription(P)).catch((M) => {
17216
17216
  throw n.reply(488), this._failed("system", null, H.causes.WEBRTC_ERROR), z.warn('emit "peerconnection:setremotedescriptionfailed" [error:%o]', M), this.emit("peerconnection:setremotedescriptionfailed", M), new Error("peerconnection.setRemoteDescription() failed");
17217
17217
  }), this._connectionPromiseQueue;
17218
17218
  }).then(() => {
@@ -17247,7 +17247,7 @@ class $a extends ft.EventEmitter {
17247
17247
  */
17248
17248
  terminate(t = {}) {
17249
17249
  z.debug("terminate()");
17250
- const n = t.cause || H.causes.BYE, a = ke.cloneArray(t.extraHeaders), o = t.body;
17250
+ const n = t.cause || H.causes.BYE, a = Pe.cloneArray(t.extraHeaders), o = t.body;
17251
17251
  let s, r = t.status_code, d = t.reason_phrase;
17252
17252
  if (this._status === te.STATUS_TERMINATED)
17253
17253
  throw new Vs.InvalidStateError(this._status);
@@ -17752,7 +17752,7 @@ class $a extends ft.EventEmitter {
17752
17752
  return this._rtcReady ? this._dialog ? this._dialog.uac_pending_reply === !0 || this._dialog.uas_pending_reply === !0 ? (z.debug("_isReadyToReOffer() | there is another INVITE/UPDATE transaction in progress"), !1) : !0 : (z.debug("_isReadyToReOffer() | session not established yet"), !1) : (z.debug("_isReadyToReOffer() | internal WebRTC status not ready"), !1);
17753
17753
  }
17754
17754
  _close() {
17755
- if (z.debug("close()"), this._localMediaStream && this._localMediaStreamLocallyGenerated && (z.debug("close() | closing local MediaStream"), ke.closeMediaStream(this._localMediaStream)), this._status !== te.STATUS_TERMINATED) {
17755
+ if (z.debug("close()"), this._localMediaStream && this._localMediaStreamLocallyGenerated && (z.debug("close() | closing local MediaStream"), Pe.closeMediaStream(this._localMediaStream)), this._status !== te.STATUS_TERMINATED) {
17756
17756
  if (this._status = te.STATUS_TERMINATED, this._connection)
17757
17757
  try {
17758
17758
  this._connection.close();
@@ -17892,7 +17892,7 @@ class $a extends ft.EventEmitter {
17892
17892
  let o = !1;
17893
17893
  function s(d = {}) {
17894
17894
  o = !0;
17895
- const h = d.status_code || 403, _ = d.reason_phrase || "", g = ke.cloneArray(d.extraHeaders);
17895
+ const h = d.status_code || 403, _ = d.reason_phrase || "", g = Pe.cloneArray(d.extraHeaders);
17896
17896
  if (this._status !== te.STATUS_CONFIRMED)
17897
17897
  return !1;
17898
17898
  if (h < 300 || h >= 700)
@@ -17944,7 +17944,7 @@ class $a extends ft.EventEmitter {
17944
17944
  let o = !1;
17945
17945
  function s(d = {}) {
17946
17946
  o = !0;
17947
- const h = d.status_code || 403, _ = d.reason_phrase || "", g = ke.cloneArray(d.extraHeaders);
17947
+ const h = d.status_code || 403, _ = d.reason_phrase || "", g = Pe.cloneArray(d.extraHeaders);
17948
17948
  if (this._status !== te.STATUS_CONFIRMED)
17949
17949
  return !1;
17950
17950
  if (h < 300 || h >= 700)
@@ -18051,7 +18051,7 @@ class $a extends ft.EventEmitter {
18051
18051
  h ? n.notify(h.status_code, h.reason_phrase) : n.notify(487, _);
18052
18052
  }), t.refer_to.uri.hasHeader("replaces")) {
18053
18053
  const h = decodeURIComponent(t.refer_to.uri.getHeader("replaces"));
18054
- r.extraHeaders = ke.cloneArray(r.extraHeaders), r.extraHeaders.push(`Replaces: ${h}`);
18054
+ r.extraHeaders = Pe.cloneArray(r.extraHeaders), r.extraHeaders.push(`Replaces: ${h}`);
18055
18055
  }
18056
18056
  d.connect(t.refer_to.uri.toAor(), r, s);
18057
18057
  }
@@ -18556,7 +18556,7 @@ class $a extends ft.EventEmitter {
18556
18556
  break;
18557
18557
  }
18558
18558
  default: {
18559
- const n = ke.sipErrorCause(t.status_code);
18559
+ const n = Pe.sipErrorCause(t.status_code);
18560
18560
  this._failed("remote", t, n);
18561
18561
  }
18562
18562
  }
@@ -18566,7 +18566,7 @@ class $a extends ft.EventEmitter {
18566
18566
  */
18567
18567
  _sendReinvite(t = {}) {
18568
18568
  z.debug("sendReinvite()");
18569
- const n = ke.cloneArray(t.extraHeaders), a = ke.cloneObject(t.eventHandlers), o = t.rtcOfferConstraints || this._rtcOfferConstraints || null;
18569
+ const n = Pe.cloneArray(t.extraHeaders), a = Pe.cloneObject(t.eventHandlers), o = t.rtcOfferConstraints || this._rtcOfferConstraints || null;
18570
18570
  let s = !1;
18571
18571
  n.push(`Contact: ${this._contact}`), n.push("Content-Type: application/sdp"), this._sessionTimers.running && n.push(`Session-Expires: ${this._sessionTimers.currentExpires};refresher=${this._sessionTimers.refresher ? "uac" : "uas"}`), this._connectionPromiseQueue = this._connectionPromiseQueue.then(() => this._createLocalDescription("offer", o)).then((h) => {
18572
18572
  h = this._mangleOffer(h);
@@ -18636,7 +18636,7 @@ class $a extends ft.EventEmitter {
18636
18636
  */
18637
18637
  _sendUpdate(t = {}) {
18638
18638
  z.debug("sendUpdate()");
18639
- const n = ke.cloneArray(t.extraHeaders), a = ke.cloneObject(t.eventHandlers), o = t.rtcOfferConstraints || this._rtcOfferConstraints || null, s = t.sdpOffer || !1;
18639
+ const n = Pe.cloneArray(t.extraHeaders), a = Pe.cloneObject(t.eventHandlers), o = t.rtcOfferConstraints || this._rtcOfferConstraints || null, s = t.sdpOffer || !1;
18640
18640
  let r = !1;
18641
18641
  n.push(`Contact: ${this._contact}`), this._sessionTimers.running && n.push(`Session-Expires: ${this._sessionTimers.currentExpires};refresher=${this._sessionTimers.refresher ? "uac" : "uas"}`), s ? (n.push("Content-Type: application/sdp"), this._connectionPromiseQueue = this._connectionPromiseQueue.then(() => this._createLocalDescription("offer", o)).then((_) => {
18642
18642
  _ = this._mangleOffer(_);
@@ -18735,7 +18735,7 @@ class $a extends ft.EventEmitter {
18735
18735
  _mangleOffer(t) {
18736
18736
  if (!this._localHold && !this._remoteHold)
18737
18737
  return t;
18738
- if (t = Pt.parse(t), this._localHold && !this._remoteHold) {
18738
+ if (t = kt.parse(t), this._localHold && !this._remoteHold) {
18739
18739
  z.debug("mangleOffer() | me on hold, mangling offer");
18740
18740
  for (const n of t.media)
18741
18741
  ua.indexOf(n.type) !== -1 && (n.direction ? n.direction === "sendrecv" ? n.direction = "sendonly" : n.direction === "recvonly" && (n.direction = "inactive") : n.direction = "sendonly");
@@ -18748,7 +18748,7 @@ class $a extends ft.EventEmitter {
18748
18748
  for (const n of t.media)
18749
18749
  ua.indexOf(n.type) !== -1 && (n.direction ? n.direction === "sendrecv" ? n.direction = "recvonly" : n.direction === "recvonly" && (n.direction = "inactive") : n.direction = "recvonly");
18750
18750
  }
18751
- return Pt.write(t);
18751
+ return kt.write(t);
18752
18752
  }
18753
18753
  _setLocalMediaStatus() {
18754
18754
  let t = !0, n = !0;
@@ -18891,7 +18891,7 @@ class ur {
18891
18891
  }
18892
18892
  }
18893
18893
  } else
18894
- this.ident = ke.createRandomToken(12), this.protocol = "MSRP";
18894
+ this.ident = Pe.createRandomToken(12), this.protocol = "MSRP";
18895
18895
  }
18896
18896
  addHeader(t, n) {
18897
18897
  this.headers[t] = n;
@@ -18926,7 +18926,7 @@ const Re = {
18926
18926
  };
18927
18927
  class nu extends ft.EventEmitter {
18928
18928
  constructor(t) {
18929
- super(), this._id = null, this.my_ip = "127.0.0.1", this._ua = t, this.auth_id = ke.createRandomToken(10), this._status = Re.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 = {
18929
+ super(), this._id = null, this.my_ip = "127.0.0.1", this._ua = t, this.auth_id = Pe.createRandomToken(10), this._status = Re.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 = {
18930
18930
  username: t._configuration.authorization_user,
18931
18931
  ha1: t._configuration.ha1,
18932
18932
  realm: t._configuration.realm
@@ -18974,7 +18974,7 @@ class nu extends ft.EventEmitter {
18974
18974
  }
18975
18975
  _sendKeepAlive() {
18976
18976
  const t = new ur("");
18977
- t.method = "SEND", t.addHeader("To-Path", `${this.my_addr[1]}`), t.addHeader("From-Path", `${this.my_addr[0]}`), t.addHeader("Message-ID", ke.createRandomToken(10)), this._connection.send(t.toString());
18977
+ t.method = "SEND", t.addHeader("To-Path", `${this.my_addr[1]}`), t.addHeader("From-Path", `${this.my_addr[0]}`), t.addHeader("Message-ID", Pe.createRandomToken(10)), this._connection.send(t.toString());
18978
18978
  }
18979
18979
  answer() {
18980
18980
  if (!this._createDialog(this._request, "UAS")) {
@@ -19027,7 +19027,7 @@ a=path:${t.getHeader("Use-Path")} msrp://${this._ua._configuration.authorization
19027
19027
  }).send(), this._status = Re.STATUS_INVITE_SENT;
19028
19028
  }
19029
19029
  terminate(t = {}) {
19030
- const n = t.cause || H.causes.BYE, a = ke.cloneArray(t.extraHeaders), o = t.body;
19030
+ const n = t.cause || H.causes.BYE, a = Pe.cloneArray(t.extraHeaders), o = t.body;
19031
19031
  let s, r = t.status_code, d = t.reason_phrase;
19032
19032
  if (this._status === Re.STATUS_TERMINATED)
19033
19033
  throw new Vs.InvalidStateError(this._status);
@@ -19092,7 +19092,7 @@ a=path:${t.getHeader("Use-Path")} msrp://${this._ua._configuration.authorization
19092
19092
  method: "AUTH",
19093
19093
  ruri: `msrp://${this._ua._configuration.realm}:2856;ws`,
19094
19094
  body: null
19095
- }, a, ke.createRandomToken(12)), this.authenticate(o);
19095
+ }, a, Pe.createRandomToken(12)), this.authenticate(o);
19096
19096
  }
19097
19097
  this.status === "auth" && n.code === 200 && this._direction === "outgoing" ? (this.my_addr.push(n.getHeader("To-Path")), this.my_addr.push(n.getHeader("Use-Path")), this.status = "active", this.inviteParty(n)) : this.status === "auth" && n.code === 200 && this._direction === "incoming" ? (this.my_addr.push(n.getHeader("To-Path")), this.my_addr.push(n.getHeader("Use-Path")), this.status = "active", this.acceptParty(n), this.emit("confirmed")) : n.method === "SEND" && (this._sendOk(n), this._sendReport(n), n.direction = "incoming", this.emit("newMessage", n), this._msgHistory.push(n), this.emit("msgHistoryUpdate", this._msgHistory)), n.code === 480 && this._close();
19098
19098
  }
@@ -19187,14 +19187,14 @@ a=path:${t.getHeader("Use-Path")} msrp://${this._ua._configuration.authorization
19187
19187
  break;
19188
19188
  }
19189
19189
  default: {
19190
- const n = ke.sipErrorCause(t.status_code);
19190
+ const n = Pe.sipErrorCause(t.status_code);
19191
19191
  console.log("failed 5"), this._failed("remote", t, n);
19192
19192
  }
19193
19193
  }
19194
19194
  }
19195
19195
  sendMSRP(t) {
19196
19196
  const n = new ur("");
19197
- n.method = "SEND", n.addHeader("To-Path", `${this.my_addr[1]} ${this.target_addr[1]} ${this.target_addr[0]}`), n.addHeader("From-Path", `${this.my_addr[0]}`), n.addHeader("Message-ID", ke.createRandomToken(10)), n.addHeader("Byte-Range", "1-25/25"), n.addHeader("Content-Type", "text/plain"), n.addHeader("Success-Report", "yes"), n.addHeader("Failure-Report", "yes"), n.body = t;
19197
+ n.method = "SEND", n.addHeader("To-Path", `${this.my_addr[1]} ${this.target_addr[1]} ${this.target_addr[0]}`), n.addHeader("From-Path", `${this.my_addr[0]}`), n.addHeader("Message-ID", Pe.createRandomToken(10)), n.addHeader("Byte-Range", "1-25/25"), n.addHeader("Content-Type", "text/plain"), n.addHeader("Success-Report", "yes"), n.addHeader("Failure-Report", "yes"), n.body = t;
19198
19198
  let a = n.toString();
19199
19199
  console.log(a);
19200
19200
  let o = [];
@@ -19237,7 +19237,7 @@ a=path:${t.getHeader("Use-Path")} msrp://${this._ua._configuration.authorization
19237
19237
  t.reply(415);
19238
19238
  return;
19239
19239
  }
19240
- if (this._status = Re.STATUS_INVITE_RECEIVED, this._from_tag = t.from_tag, this._id = t.call_id + this._from_tag, this._request = t, this._contact = this._ua.contact.toString(), t.hasHeader("expires") && (a = t.getHeader("expires") * 1e3), t.to_tag = ke.newTag(), !this._createDialog(t, "UAS", !0)) {
19240
+ if (this._status = Re.STATUS_INVITE_RECEIVED, this._from_tag = t.from_tag, this._id = t.call_id + this._from_tag, this._request = t, this._contact = this._ua.contact.toString(), t.hasHeader("expires") && (a = t.getHeader("expires") * 1e3), t.to_tag = Pe.newTag(), !this._createDialog(t, "UAS", !0)) {
19241
19241
  t.reply(500, "Missing Contact header field");
19242
19242
  return;
19243
19243
  }
@@ -19423,7 +19423,7 @@ a=path:${t.getHeader("Use-Path")} msrp://${this._ua._configuration.authorization
19423
19423
  }
19424
19424
  }
19425
19425
  var xT = Zt();
19426
- const Iu = /* @__PURE__ */ ze(xT), ca = new Ga("Parser"), PT = (c, t) => {
19426
+ const Iu = /* @__PURE__ */ ze(xT), ca = new Ga("Parser"), kT = (c, t) => {
19427
19427
  let n, a, o = c.indexOf(`\r
19428
19428
  `);
19429
19429
  if (o === -1) {
@@ -19440,7 +19440,7 @@ const Iu = /* @__PURE__ */ ze(xT), ca = new Ga("Parser"), PT = (c, t) => {
19440
19440
  n.data = c;
19441
19441
  let d = o + 2;
19442
19442
  for (; ; ) {
19443
- if (o = kT(c, d), o === -2) {
19443
+ if (o = PT(c, d), o === -2) {
19444
19444
  a = d + 2;
19445
19445
  break;
19446
19446
  } else if (o === -1) {
@@ -19460,7 +19460,7 @@ const Iu = /* @__PURE__ */ ze(xT), ca = new Ga("Parser"), PT = (c, t) => {
19460
19460
  n.body = c.substring(a);
19461
19461
  return n;
19462
19462
  };
19463
- function kT(c, t) {
19463
+ function PT(c, t) {
19464
19464
  let n = t, a = 0, o = 0;
19465
19465
  if (c.substring(n, n + 2).match(/(^\r\n)/))
19466
19466
  return -2;
@@ -19550,7 +19550,7 @@ function MT(c, t, n, a) {
19550
19550
  } : !0;
19551
19551
  }
19552
19552
  const LT = {
19553
- parseMessage: PT
19553
+ parseMessage: kT
19554
19554
  }, Gi = new Ga("Registrator"), fa = 10;
19555
19555
  class $T {
19556
19556
  constructor(t, n) {
@@ -19937,7 +19937,7 @@ class FT extends HT {
19937
19937
  _.to_tag
19938
19938
  ), a ? (o = a.owner, o.isEnded() ? t.reply(603) : o.receiveRequest(t)) : t.reply(481);
19939
19939
  } else
19940
- t.body.search(/MSRP/ig) > -1 ? (o = new nu(this), o.init_incoming(t)) : t.body.search(/JANUS/ig) > -1 || (o = new kg(this), o.init_incoming(t));
19940
+ t.body.search(/MSRP/ig) > -1 ? (o = new nu(this), o.init_incoming(t)) : t.body.search(/JANUS/ig) > -1 || (o = new Pg(this), o.init_incoming(t));
19941
19941
  else
19942
19942
  tt.warn("INVITE received but WebRTC is not supported"), t.reply(488);
19943
19943
  break;
@@ -20443,8 +20443,8 @@ var pv = { exports: {} };
20443
20443
  };
20444
20444
  }
20445
20445
  function S(ee, W, G, re) {
20446
- var ge = W && W.prototype instanceof ie ? W : ie, be = Object.create(ge.prototype), Pe = new x(re || []);
20447
- return s(be, "_invoke", { value: J(ee, G, Pe) }), be;
20446
+ var ge = W && W.prototype instanceof ie ? W : ie, be = Object.create(ge.prototype), ke = new x(re || []);
20447
+ return s(be, "_invoke", { value: J(ee, G, ke) }), be;
20448
20448
  }
20449
20449
  n.wrap = S;
20450
20450
  function E(ee, W, G) {
@@ -20454,7 +20454,7 @@ var pv = { exports: {} };
20454
20454
  return { type: "throw", arg: re };
20455
20455
  }
20456
20456
  }
20457
- var C = "suspendedStart", A = "suspendedYield", R = "executing", k = "completed", M = {};
20457
+ var C = "suspendedStart", A = "suspendedYield", R = "executing", P = "completed", M = {};
20458
20458
  function ie() {
20459
20459
  }
20460
20460
  function N() {
@@ -20495,8 +20495,8 @@ var pv = { exports: {} };
20495
20495
  return { __await: ee };
20496
20496
  };
20497
20497
  function q(ee, W) {
20498
- function G(be, Pe, Ae, ae) {
20499
- var ye = E(ee[be], ee, Pe);
20498
+ function G(be, ke, Ae, ae) {
20499
+ var ye = E(ee[be], ee, ke);
20500
20500
  if (ye.type === "throw")
20501
20501
  ae(ye.arg);
20502
20502
  else {
@@ -20513,10 +20513,10 @@ var pv = { exports: {} };
20513
20513
  }
20514
20514
  }
20515
20515
  var re;
20516
- function ge(be, Pe) {
20516
+ function ge(be, ke) {
20517
20517
  function Ae() {
20518
20518
  return new W(function(ae, ye) {
20519
- G(be, Pe, ae, ye);
20519
+ G(be, ke, ae, ye);
20520
20520
  });
20521
20521
  }
20522
20522
  return re = // If enqueue has been called before, then we want to wait until
@@ -20548,21 +20548,21 @@ var pv = { exports: {} };
20548
20548
  S(ee, W, G, re),
20549
20549
  ge
20550
20550
  );
20551
- return n.isGeneratorFunction(W) ? be : be.next().then(function(Pe) {
20552
- return Pe.done ? Pe.value : be.next();
20551
+ return n.isGeneratorFunction(W) ? be : be.next().then(function(ke) {
20552
+ return ke.done ? ke.value : be.next();
20553
20553
  });
20554
20554
  };
20555
20555
  function J(ee, W, G) {
20556
20556
  var re = C;
20557
- return function(be, Pe) {
20557
+ return function(be, ke) {
20558
20558
  if (re === R)
20559
20559
  throw new Error("Generator is already running");
20560
- if (re === k) {
20560
+ if (re === P) {
20561
20561
  if (be === "throw")
20562
- throw Pe;
20562
+ throw ke;
20563
20563
  return st();
20564
20564
  }
20565
- for (G.method = be, G.arg = Pe; ; ) {
20565
+ for (G.method = be, G.arg = ke; ; ) {
20566
20566
  var Ae = G.delegate;
20567
20567
  if (Ae) {
20568
20568
  var ae = F(Ae, G);
@@ -20576,21 +20576,21 @@ var pv = { exports: {} };
20576
20576
  G.sent = G._sent = G.arg;
20577
20577
  else if (G.method === "throw") {
20578
20578
  if (re === C)
20579
- throw re = k, G.arg;
20579
+ throw re = P, G.arg;
20580
20580
  G.dispatchException(G.arg);
20581
20581
  } else
20582
20582
  G.method === "return" && G.abrupt("return", G.arg);
20583
20583
  re = R;
20584
20584
  var ye = E(ee, W, G);
20585
20585
  if (ye.type === "normal") {
20586
- if (re = G.done ? k : A, ye.arg === M)
20586
+ if (re = G.done ? P : A, ye.arg === M)
20587
20587
  continue;
20588
20588
  return {
20589
20589
  value: ye.arg,
20590
20590
  done: G.done
20591
20591
  };
20592
20592
  } else
20593
- ye.type === "throw" && (re = k, G.method = "throw", G.arg = ye.arg);
20593
+ ye.type === "throw" && (re = P, G.method = "throw", G.arg = ye.arg);
20594
20594
  }
20595
20595
  };
20596
20596
  }
@@ -20690,13 +20690,13 @@ var pv = { exports: {} };
20690
20690
  if (ge.tryLoc === "root")
20691
20691
  return G("end");
20692
20692
  if (ge.tryLoc <= this.prev) {
20693
- var Pe = o.call(ge, "catchLoc"), Ae = o.call(ge, "finallyLoc");
20694
- if (Pe && Ae) {
20693
+ var ke = o.call(ge, "catchLoc"), Ae = o.call(ge, "finallyLoc");
20694
+ if (ke && Ae) {
20695
20695
  if (this.prev < ge.catchLoc)
20696
20696
  return G(ge.catchLoc, !0);
20697
20697
  if (this.prev < ge.finallyLoc)
20698
20698
  return G(ge.finallyLoc);
20699
- } else if (Pe) {
20699
+ } else if (ke) {
20700
20700
  if (this.prev < ge.catchLoc)
20701
20701
  return G(ge.catchLoc, !0);
20702
20702
  } else if (Ae) {
@@ -20780,14 +20780,14 @@ var Oh = { exports: {} };
20780
20780
  "error"
20781
20781
  ];
20782
20782
  function s(A, R) {
20783
- var k = A[R];
20784
- if (typeof k.bind == "function")
20785
- return k.bind(A);
20783
+ var P = A[R];
20784
+ if (typeof P.bind == "function")
20785
+ return P.bind(A);
20786
20786
  try {
20787
- return Function.prototype.bind.call(k, A);
20787
+ return Function.prototype.bind.call(P, A);
20788
20788
  } catch {
20789
20789
  return function() {
20790
- return Function.prototype.apply.apply(k, [A, arguments]);
20790
+ return Function.prototype.apply.apply(P, [A, arguments]);
20791
20791
  };
20792
20792
  }
20793
20793
  }
@@ -20798,21 +20798,21 @@ var Oh = { exports: {} };
20798
20798
  return A === "debug" && (A = "log"), typeof console === n ? !1 : A === "trace" && a ? r : console[A] !== void 0 ? s(console, A) : console.log !== void 0 ? s(console, "log") : t;
20799
20799
  }
20800
20800
  function h(A, R) {
20801
- for (var k = 0; k < o.length; k++) {
20802
- var M = o[k];
20803
- this[M] = k < A ? t : this.methodFactory(M, A, R);
20801
+ for (var P = 0; P < o.length; P++) {
20802
+ var M = o[P];
20803
+ this[M] = P < A ? t : this.methodFactory(M, A, R);
20804
20804
  }
20805
20805
  this.log = this.debug;
20806
20806
  }
20807
- function _(A, R, k) {
20807
+ function _(A, R, P) {
20808
20808
  return function() {
20809
- typeof console !== n && (h.call(this, R, k), this[A].apply(this, arguments));
20809
+ typeof console !== n && (h.call(this, R, P), this[A].apply(this, arguments));
20810
20810
  };
20811
20811
  }
20812
- function g(A, R, k) {
20812
+ function g(A, R, P) {
20813
20813
  return d(A) || _.apply(this, arguments);
20814
20814
  }
20815
- function T(A, R, k) {
20815
+ function T(A, R, P) {
20816
20816
  var M = this, ie;
20817
20817
  R = R ?? "WARN";
20818
20818
  var N = "loglevel";
@@ -20869,7 +20869,7 @@ var Oh = { exports: {} };
20869
20869
  WARN: 3,
20870
20870
  ERROR: 4,
20871
20871
  SILENT: 5
20872
- }, M.methodFactory = k || g, M.getLevel = function() {
20872
+ }, M.methodFactory = P || g, M.getLevel = function() {
20873
20873
  return ie;
20874
20874
  }, M.setLevel = function(D, B) {
20875
20875
  if (typeof D == "string" && M.levels[D.toUpperCase()] !== void 0 && (D = M.levels[D.toUpperCase()]), typeof D == "number" && D >= 0 && D <= M.levels.SILENT) {
@@ -20893,12 +20893,12 @@ var Oh = { exports: {} };
20893
20893
  S.getLogger = function(R) {
20894
20894
  if (typeof R != "symbol" && typeof R != "string" || R === "")
20895
20895
  throw new TypeError("You must supply a name when creating a logger.");
20896
- var k = E[R];
20897
- return k || (k = E[R] = new T(
20896
+ var P = E[R];
20897
+ return P || (P = E[R] = new T(
20898
20898
  R,
20899
20899
  S.getLevel(),
20900
20900
  S.methodFactory
20901
- )), k;
20901
+ )), P;
20902
20902
  };
20903
20903
  var C = typeof window !== n ? window.log : void 0;
20904
20904
  return S.noConflict = function() {
@@ -21213,7 +21213,7 @@ const Xi = /* @__PURE__ */ ze(Ev), yv = () => "WebRTCMetrics", Cv = () => "5.0.3
21213
21213
  TOTAL_ENCODE_TIME: "totalEncodeTime",
21214
21214
  PLI: "pliCount",
21215
21215
  NACK: "nackCount"
21216
- }, P = {
21216
+ }, k = {
21217
21217
  SUCCEEDED: "succeeded",
21218
21218
  AUDIO: "audio",
21219
21219
  VIDEO: "video"
@@ -21249,7 +21249,7 @@ const Xi = /* @__PURE__ */ ze(Ev), yv = () => "WebRTCMetrics", Cv = () => "5.0.3
21249
21249
  return d ? d[n] : null;
21250
21250
  });
21251
21251
  return s = s.filter((r) => a ? Number.isFinite(r) && r > 0 : Number.isFinite(r)), s.length === 0 ? [] : s;
21252
- }, Gs = (c) => c.reduce((t, n) => t + n, 0) / c.length, Ov = () => `probe-${Xi()}`, Dv = () => `coltr-${Xi()}`, Pf = (c) => new Promise((t) => setTimeout(t, c)), wu = (c, t, n) => {
21252
+ }, Gs = (c) => c.reduce((t, n) => t + n, 0) / c.length, Ov = () => `probe-${Xi()}`, Dv = () => `coltr-${Xi()}`, kf = (c) => new Promise((t) => setTimeout(t, c)), wu = (c, t, n) => {
21253
21253
  t ? c.call(t, n) : c(n);
21254
21254
  }, Ke = (c, t, n, a) => {
21255
21255
  const o = pl(c, t, n, !0, a);
@@ -21280,11 +21280,11 @@ const Xi = /* @__PURE__ */ ze(Ev), yv = () => "WebRTCMetrics", Cv = () => "5.0.3
21280
21280
  if (!t)
21281
21281
  return null;
21282
21282
  const a = {};
21283
- let o = t[P.AUDIO][c];
21284
- o || (o = n === $e.INBOUND ? { ...Dh } : { ...Nh }), a[P.AUDIO] = o;
21285
- let s = t[P.VIDEO][c];
21286
- return s || (s = n === $e.INBOUND ? { ...Uh } : { ...xh }), a[P.VIDEO] = s, a;
21287
- }, Yi = "exporter ", Uv = "2.0", kf = (c, t, n) => {
21283
+ let o = t[k.AUDIO][c];
21284
+ o || (o = n === $e.INBOUND ? { ...Dh } : { ...Nh }), a[k.AUDIO] = o;
21285
+ let s = t[k.VIDEO][c];
21286
+ return s || (s = n === $e.INBOUND ? { ...Uh } : { ...xh }), a[k.VIDEO] = s, a;
21287
+ }, Yi = "exporter ", Uv = "2.0", Pf = (c, t, n) => {
21288
21288
  if (!c || c.length === 0)
21289
21289
  return 0;
21290
21290
  const a = c[c.length - 1];
@@ -21308,7 +21308,7 @@ const Xi = /* @__PURE__ */ ze(Ev), yv = () => "WebRTCMetrics", Cv = () => "5.0.3
21308
21308
  t,
21309
21309
  "delta_rtt_connectivity_ms"
21310
21310
  ) : Number(a / o);
21311
- }, Pv = (c) => gt(
21311
+ }, kv = (c) => gt(
21312
21312
  c,
21313
21313
  "network",
21314
21314
  "local_candidate_type"
@@ -21320,7 +21320,7 @@ const Xi = /* @__PURE__ */ ze(Ev), yv = () => "WebRTCMetrics", Cv = () => "5.0.3
21320
21320
  c,
21321
21321
  "network",
21322
21322
  "local_candidate_relay_protocol"
21323
- )}`, kv = (c) => {
21323
+ )}`, Pv = (c) => {
21324
21324
  const t = gt(
21325
21325
  c,
21326
21326
  "network",
@@ -21383,35 +21383,35 @@ class Mv {
21383
21383
  "video",
21384
21384
  "total_packets_in"
21385
21385
  ), s = {}, r = Nv(this._reports);
21386
- return r && (Object.keys(r[P.AUDIO]).forEach((d) => {
21387
- const h = r[P.AUDIO][d];
21386
+ return r && (Object.keys(r[k.AUDIO]).forEach((d) => {
21387
+ const h = r[k.AUDIO][d];
21388
21388
  if (s[h.ssrc] = {
21389
- type: P.AUDIO,
21389
+ type: k.AUDIO,
21390
21390
  direction: h.direction
21391
21391
  }, h.direction === $e.INBOUND) {
21392
21392
  const _ = {
21393
21393
  avg: Xe(
21394
21394
  this._reports,
21395
- P.AUDIO,
21395
+ k.AUDIO,
21396
21396
  "delta_jitter_ms_in",
21397
21397
  !1,
21398
21398
  d
21399
21399
  ),
21400
21400
  min: Ye(
21401
21401
  this._reports,
21402
- P.AUDIO,
21402
+ k.AUDIO,
21403
21403
  "delta_jitter_ms_in",
21404
21404
  d
21405
21405
  ),
21406
21406
  max: Je(
21407
21407
  this._reports,
21408
- P.AUDIO,
21408
+ k.AUDIO,
21409
21409
  "delta_jitter_ms_in",
21410
21410
  d
21411
21411
  ),
21412
21412
  volatility: Ke(
21413
21413
  this._reports,
21414
- P.AUDIO,
21414
+ k.AUDIO,
21415
21415
  "delta_jitter_ms_in",
21416
21416
  d
21417
21417
  ),
@@ -21424,26 +21424,26 @@ class Mv {
21424
21424
  }, g = {
21425
21425
  avg: Xe(
21426
21426
  this._reports,
21427
- P.AUDIO,
21427
+ k.AUDIO,
21428
21428
  "delta_kbs_in",
21429
21429
  !1,
21430
21430
  d
21431
21431
  ),
21432
21432
  min: Ye(
21433
21433
  this._reports,
21434
- P.AUDIO,
21434
+ k.AUDIO,
21435
21435
  "delta_kbs_in",
21436
21436
  d
21437
21437
  ),
21438
21438
  max: Je(
21439
21439
  this._reports,
21440
- P.AUDIO,
21440
+ k.AUDIO,
21441
21441
  "delta_kbs_in",
21442
21442
  d
21443
21443
  ),
21444
21444
  volatility: Ke(
21445
21445
  this._reports,
21446
- P.AUDIO,
21446
+ k.AUDIO,
21447
21447
  "delta_kbs_in",
21448
21448
  d
21449
21449
  ),
@@ -21456,26 +21456,26 @@ class Mv {
21456
21456
  }, T = {
21457
21457
  avg: Xe(
21458
21458
  this._reports,
21459
- P.AUDIO,
21459
+ k.AUDIO,
21460
21460
  "delta_KBytes_in",
21461
21461
  !1,
21462
21462
  d
21463
21463
  ),
21464
21464
  min: Ye(
21465
21465
  this._reports,
21466
- P.AUDIO,
21466
+ k.AUDIO,
21467
21467
  "delta_KBytes_in",
21468
21468
  d
21469
21469
  ),
21470
21470
  max: Je(
21471
21471
  this._reports,
21472
- P.AUDIO,
21472
+ k.AUDIO,
21473
21473
  "delta_KBytes_in",
21474
21474
  d
21475
21475
  ),
21476
21476
  volatility: Ke(
21477
21477
  this._reports,
21478
- P.AUDIO,
21478
+ k.AUDIO,
21479
21479
  "delta_KBytes_in",
21480
21480
  d
21481
21481
  ),
@@ -21487,23 +21487,23 @@ class Mv {
21487
21487
  }
21488
21488
  }, S = {
21489
21489
  emodel: {
21490
- avg: Xe(this._reports, P.AUDIO, "mos_emodel_in", !1, d),
21491
- min: Ye(this._reports, P.AUDIO, "mos_emodel_in", d),
21492
- max: Je(this._reports, P.AUDIO, "mos_emodel_in", d),
21490
+ avg: Xe(this._reports, k.AUDIO, "mos_emodel_in", !1, d),
21491
+ min: Ye(this._reports, k.AUDIO, "mos_emodel_in", d),
21492
+ max: Je(this._reports, k.AUDIO, "mos_emodel_in", d),
21493
21493
  volatility: Ke(
21494
21494
  this._reports,
21495
- P.AUDIO,
21495
+ k.AUDIO,
21496
21496
  "mos_emodel_in",
21497
21497
  d
21498
21498
  )
21499
21499
  },
21500
21500
  effective: {
21501
- avg: Xe(this._reports, P.AUDIO, "mos_in", !1, d),
21502
- min: Ye(this._reports, P.AUDIO, "mos_in", d),
21503
- max: Je(this._reports, P.AUDIO, "mos_in", d),
21501
+ avg: Xe(this._reports, k.AUDIO, "mos_in", !1, d),
21502
+ min: Ye(this._reports, k.AUDIO, "mos_in", d),
21503
+ max: Je(this._reports, k.AUDIO, "mos_in", d),
21504
21504
  volatility: Ke(
21505
21505
  this._reports,
21506
- P.AUDIO,
21506
+ k.AUDIO,
21507
21507
  "mos_in",
21508
21508
  d
21509
21509
  )
@@ -21516,12 +21516,12 @@ class Mv {
21516
21516
  }
21517
21517
  }, E = gt(
21518
21518
  this._reports,
21519
- P.AUDIO,
21519
+ k.AUDIO,
21520
21520
  "total_packets_lost_in",
21521
21521
  d
21522
21522
  ), C = gt(
21523
21523
  this._reports,
21524
- P.AUDIO,
21524
+ k.AUDIO,
21525
21525
  "total_packets_in",
21526
21526
  d
21527
21527
  ), A = {
@@ -21539,26 +21539,26 @@ class Mv {
21539
21539
  const _ = {
21540
21540
  avg: Xe(
21541
21541
  this._reports,
21542
- P.AUDIO,
21542
+ k.AUDIO,
21543
21543
  "delta_jitter_ms_out",
21544
21544
  !1,
21545
21545
  d
21546
21546
  ),
21547
21547
  min: Ye(
21548
21548
  this._reports,
21549
- P.AUDIO,
21549
+ k.AUDIO,
21550
21550
  "delta_jitter_ms_out",
21551
21551
  d
21552
21552
  ),
21553
21553
  max: Je(
21554
21554
  this._reports,
21555
- P.AUDIO,
21555
+ k.AUDIO,
21556
21556
  "delta_jitter_ms_out",
21557
21557
  d
21558
21558
  ),
21559
21559
  volatility: Ke(
21560
21560
  this._reports,
21561
- P.AUDIO,
21561
+ k.AUDIO,
21562
21562
  "delta_jitter_ms_out",
21563
21563
  d
21564
21564
  ),
@@ -21571,26 +21571,26 @@ class Mv {
21571
21571
  }, g = {
21572
21572
  avg: Xe(
21573
21573
  this._reports,
21574
- P.AUDIO,
21574
+ k.AUDIO,
21575
21575
  "delta_kbs_out",
21576
21576
  !1,
21577
21577
  d
21578
21578
  ),
21579
21579
  min: Ye(
21580
21580
  this._reports,
21581
- P.AUDIO,
21581
+ k.AUDIO,
21582
21582
  "delta_kbs_out",
21583
21583
  d
21584
21584
  ),
21585
21585
  max: Je(
21586
21586
  this._reports,
21587
- P.AUDIO,
21587
+ k.AUDIO,
21588
21588
  "delta_kbs_out",
21589
21589
  d
21590
21590
  ),
21591
21591
  volatility: Ke(
21592
21592
  this._reports,
21593
- P.AUDIO,
21593
+ k.AUDIO,
21594
21594
  "delta_kbs_out",
21595
21595
  d
21596
21596
  ),
@@ -21603,26 +21603,26 @@ class Mv {
21603
21603
  }, T = {
21604
21604
  avg: Xe(
21605
21605
  this._reports,
21606
- P.AUDIO,
21606
+ k.AUDIO,
21607
21607
  "delta_KBytes_out",
21608
21608
  !1,
21609
21609
  d
21610
21610
  ),
21611
21611
  min: Ye(
21612
21612
  this._reports,
21613
- P.AUDIO,
21613
+ k.AUDIO,
21614
21614
  "delta_KBytes_out",
21615
21615
  d
21616
21616
  ),
21617
21617
  max: Je(
21618
21618
  this._reports,
21619
- P.AUDIO,
21619
+ k.AUDIO,
21620
21620
  "delta_KBytes_out",
21621
21621
  d
21622
21622
  ),
21623
21623
  volatility: Ke(
21624
21624
  this._reports,
21625
- P.AUDIO,
21625
+ k.AUDIO,
21626
21626
  "delta_KBytes_out",
21627
21627
  d
21628
21628
  ),
@@ -21634,12 +21634,12 @@ class Mv {
21634
21634
  volatility: "percent"
21635
21635
  }
21636
21636
  }, S = {
21637
- avg: kf(this._reports, P.AUDIO, d),
21638
- min: Ye(this._reports, P.AUDIO, "delta_rtt_ms_out", d),
21639
- max: Je(this._reports, P.AUDIO, "delta_rtt_ms_out", d),
21637
+ avg: Pf(this._reports, k.AUDIO, d),
21638
+ min: Ye(this._reports, k.AUDIO, "delta_rtt_ms_out", d),
21639
+ max: Je(this._reports, k.AUDIO, "delta_rtt_ms_out", d),
21640
21640
  volatility: Ke(
21641
21641
  this._reports,
21642
- P.AUDIO,
21642
+ k.AUDIO,
21643
21643
  "delta_rtt_ms_out",
21644
21644
  d
21645
21645
  ),
@@ -21651,12 +21651,12 @@ class Mv {
21651
21651
  }
21652
21652
  }, E = gt(
21653
21653
  this._reports,
21654
- P.AUDIO,
21654
+ k.AUDIO,
21655
21655
  "total_packets_lost_out",
21656
21656
  d
21657
21657
  ), C = gt(
21658
21658
  this._reports,
21659
- P.AUDIO,
21659
+ k.AUDIO,
21660
21660
  "total_packets_out",
21661
21661
  d
21662
21662
  ), A = {
@@ -21670,23 +21670,23 @@ class Mv {
21670
21670
  }
21671
21671
  }, R = {
21672
21672
  emodel: {
21673
- avg: Xe(this._reports, P.AUDIO, "mos_emodel_out", !1, d),
21674
- min: Ye(this._reports, P.AUDIO, "mos_emodel_out", d),
21675
- max: Je(this._reports, P.AUDIO, "mos_emodel_out", d),
21673
+ avg: Xe(this._reports, k.AUDIO, "mos_emodel_out", !1, d),
21674
+ min: Ye(this._reports, k.AUDIO, "mos_emodel_out", d),
21675
+ max: Je(this._reports, k.AUDIO, "mos_emodel_out", d),
21676
21676
  volatility: Ke(
21677
21677
  this._reports,
21678
- P.AUDIO,
21678
+ k.AUDIO,
21679
21679
  "mos_emodel_out",
21680
21680
  d
21681
21681
  )
21682
21682
  },
21683
21683
  effective: {
21684
- avg: Xe(this._reports, P.AUDIO, "mos_out", !1, d),
21685
- min: Ye(this._reports, P.AUDIO, "mos_out", d),
21686
- max: Je(this._reports, P.AUDIO, "mos_out", d),
21684
+ avg: Xe(this._reports, k.AUDIO, "mos_out", !1, d),
21685
+ min: Ye(this._reports, k.AUDIO, "mos_out", d),
21686
+ max: Je(this._reports, k.AUDIO, "mos_out", d),
21687
21687
  volatility: Ke(
21688
21688
  this._reports,
21689
- P.AUDIO,
21689
+ k.AUDIO,
21690
21690
  "mos_out",
21691
21691
  d
21692
21692
  )
@@ -21700,35 +21700,35 @@ class Mv {
21700
21700
  };
21701
21701
  s[d].jitter = _, s[d].rtt = S, s[d].traffic = T, s[d].bitrate = g, s[d].loss = A, s[d].mos = R;
21702
21702
  }
21703
- }), Object.keys(r[P.VIDEO]).forEach((d) => {
21704
- const h = r[P.VIDEO][d];
21703
+ }), Object.keys(r[k.VIDEO]).forEach((d) => {
21704
+ const h = r[k.VIDEO][d];
21705
21705
  if (s[d] = {
21706
- type: P.VIDEO,
21706
+ type: k.VIDEO,
21707
21707
  direction: h.direction
21708
21708
  }, h.direction === $e.INBOUND) {
21709
21709
  const _ = {
21710
21710
  avg: Xe(
21711
21711
  this._reports,
21712
- P.VIDEO,
21712
+ k.VIDEO,
21713
21713
  "delta_jitter_ms_in",
21714
21714
  !1,
21715
21715
  d
21716
21716
  ),
21717
21717
  min: Ye(
21718
21718
  this._reports,
21719
- P.VIDEO,
21719
+ k.VIDEO,
21720
21720
  "delta_jitter_ms_in",
21721
21721
  d
21722
21722
  ),
21723
21723
  max: Je(
21724
21724
  this._reports,
21725
- P.VIDEO,
21725
+ k.VIDEO,
21726
21726
  "delta_jitter_ms_in",
21727
21727
  d
21728
21728
  ),
21729
21729
  volatility: Ke(
21730
21730
  this._reports,
21731
- P.VIDEO,
21731
+ k.VIDEO,
21732
21732
  "delta_jitter_ms_in",
21733
21733
  d
21734
21734
  ),
@@ -21741,26 +21741,26 @@ class Mv {
21741
21741
  }, g = {
21742
21742
  avg: Xe(
21743
21743
  this._reports,
21744
- P.VIDEO,
21744
+ k.VIDEO,
21745
21745
  "delta_kbs_in",
21746
21746
  !1,
21747
21747
  d
21748
21748
  ),
21749
21749
  min: Ye(
21750
21750
  this._reports,
21751
- P.VIDEO,
21751
+ k.VIDEO,
21752
21752
  "delta_kbs_in",
21753
21753
  d
21754
21754
  ),
21755
21755
  max: Je(
21756
21756
  this._reports,
21757
- P.VIDEO,
21757
+ k.VIDEO,
21758
21758
  "delta_kbs_in",
21759
21759
  d
21760
21760
  ),
21761
21761
  volatility: Ke(
21762
21762
  this._reports,
21763
- P.VIDEO,
21763
+ k.VIDEO,
21764
21764
  "delta_kbs_in",
21765
21765
  d
21766
21766
  ),
@@ -21773,26 +21773,26 @@ class Mv {
21773
21773
  }, T = {
21774
21774
  avg: Xe(
21775
21775
  this._reports,
21776
- P.VIDEO,
21776
+ k.VIDEO,
21777
21777
  "delta_KBytes_in",
21778
21778
  !1,
21779
21779
  d
21780
21780
  ),
21781
21781
  min: Ye(
21782
21782
  this._reports,
21783
- P.VIDEO,
21783
+ k.VIDEO,
21784
21784
  "delta_KBytes_in",
21785
21785
  d
21786
21786
  ),
21787
21787
  max: Je(
21788
21788
  this._reports,
21789
- P.VIDEO,
21789
+ k.VIDEO,
21790
21790
  "delta_KBytes_in",
21791
21791
  d
21792
21792
  ),
21793
21793
  volatility: Ke(
21794
21794
  this._reports,
21795
- P.VIDEO,
21795
+ k.VIDEO,
21796
21796
  "delta_KBytes_in",
21797
21797
  d
21798
21798
  ),
@@ -21804,12 +21804,12 @@ class Mv {
21804
21804
  }
21805
21805
  }, S = gt(
21806
21806
  this._reports,
21807
- P.VIDEO,
21807
+ k.VIDEO,
21808
21808
  "total_packets_lost_in",
21809
21809
  d
21810
21810
  ), E = gt(
21811
21811
  this._reports,
21812
- P.VIDEO,
21812
+ k.VIDEO,
21813
21813
  "total_packets_in",
21814
21814
  d
21815
21815
  ), C = {
@@ -21827,26 +21827,26 @@ class Mv {
21827
21827
  const _ = {
21828
21828
  avg: Xe(
21829
21829
  this._reports,
21830
- P.VIDEO,
21830
+ k.VIDEO,
21831
21831
  "delta_jitter_ms_out",
21832
21832
  !1,
21833
21833
  d
21834
21834
  ),
21835
21835
  min: Ye(
21836
21836
  this._reports,
21837
- P.VIDEO,
21837
+ k.VIDEO,
21838
21838
  "delta_jitter_ms_out",
21839
21839
  d
21840
21840
  ),
21841
21841
  max: Je(
21842
21842
  this._reports,
21843
- P.VIDEO,
21843
+ k.VIDEO,
21844
21844
  "delta_jitter_ms_out",
21845
21845
  d
21846
21846
  ),
21847
21847
  volatility: Ke(
21848
21848
  this._reports,
21849
- P.VIDEO,
21849
+ k.VIDEO,
21850
21850
  "delta_jitter_ms_out",
21851
21851
  d
21852
21852
  ),
@@ -21859,26 +21859,26 @@ class Mv {
21859
21859
  }, g = {
21860
21860
  avg: Xe(
21861
21861
  this._reports,
21862
- P.VIDEO,
21862
+ k.VIDEO,
21863
21863
  "delta_kbs_out",
21864
21864
  !1,
21865
21865
  d
21866
21866
  ),
21867
21867
  min: Ye(
21868
21868
  this._reports,
21869
- P.VIDEO,
21869
+ k.VIDEO,
21870
21870
  "delta_kbs_out",
21871
21871
  d
21872
21872
  ),
21873
21873
  max: Je(
21874
21874
  this._reports,
21875
- P.VIDEO,
21875
+ k.VIDEO,
21876
21876
  "delta_kbs_out",
21877
21877
  d
21878
21878
  ),
21879
21879
  volatility: Ke(
21880
21880
  this._reports,
21881
- P.VIDEO,
21881
+ k.VIDEO,
21882
21882
  "delta_kbs_out",
21883
21883
  d
21884
21884
  ),
@@ -21891,26 +21891,26 @@ class Mv {
21891
21891
  }, T = {
21892
21892
  avg: Xe(
21893
21893
  this._reports,
21894
- P.VIDEO,
21894
+ k.VIDEO,
21895
21895
  "delta_KBytes_out",
21896
21896
  !1,
21897
21897
  d
21898
21898
  ),
21899
21899
  min: Ye(
21900
21900
  this._reports,
21901
- P.VIDEO,
21901
+ k.VIDEO,
21902
21902
  "delta_KBytes_out",
21903
21903
  d
21904
21904
  ),
21905
21905
  max: Je(
21906
21906
  this._reports,
21907
- P.VIDEO,
21907
+ k.VIDEO,
21908
21908
  "delta_KBytes_out",
21909
21909
  d
21910
21910
  ),
21911
21911
  volatility: Ke(
21912
21912
  this._reports,
21913
- P.VIDEO,
21913
+ k.VIDEO,
21914
21914
  "delta_KBytes_out",
21915
21915
  d
21916
21916
  ),
@@ -21921,12 +21921,12 @@ class Mv {
21921
21921
  volatility: "percent"
21922
21922
  }
21923
21923
  }, S = {
21924
- avg: kf(this._reports, P.VIDEO, d),
21925
- min: Ye(this._reports, P.VIDEO, "delta_rtt_ms_out", d),
21926
- max: Je(this._reports, P.VIDEO, "delta_rtt_ms_out", d),
21924
+ avg: Pf(this._reports, k.VIDEO, d),
21925
+ min: Ye(this._reports, k.VIDEO, "delta_rtt_ms_out", d),
21926
+ max: Je(this._reports, k.VIDEO, "delta_rtt_ms_out", d),
21927
21927
  volatility: Ke(
21928
21928
  this._reports,
21929
- P.VIDEO,
21929
+ k.VIDEO,
21930
21930
  "delta_rtt_ms_out",
21931
21931
  d
21932
21932
  ),
@@ -21938,12 +21938,12 @@ class Mv {
21938
21938
  }
21939
21939
  }, E = gt(
21940
21940
  this._reports,
21941
- P.VIDEO,
21941
+ k.VIDEO,
21942
21942
  "total_packets_lost_out",
21943
21943
  d
21944
21944
  ), C = gt(
21945
21945
  this._reports,
21946
- P.VIDEO,
21946
+ k.VIDEO,
21947
21947
  "total_packets_out",
21948
21948
  d
21949
21949
  ), A = {
@@ -22085,8 +22085,8 @@ class Mv {
22085
22085
  }
22086
22086
  },
22087
22087
  network: {
22088
- localConnection: Pv(this._reports),
22089
- remoteConnection: kv(this._reports)
22088
+ localConnection: kv(this._reports),
22089
+ remoteConnection: Pv(this._reports)
22090
22090
  }
22091
22091
  }
22092
22092
  };
@@ -22144,11 +22144,11 @@ const js = "extractor ", Mf = (c, t, n, a) => {
22144
22144
  }, ha = (c, t, n) => c[V.TIMESTAMP] === n[t].timestamp_out || !Object.prototype.hasOwnProperty.call(c, V.JITTER) ? null : 1e3 * (Number(c[V.JITTER]) || 0), $v = (c, t) => {
22145
22145
  if (!Object.prototype.hasOwnProperty.call(c, V.FRAMES_DECODED) || !Object.prototype.hasOwnProperty.call(c, V.TOTAL_DECODE_TIME))
22146
22146
  return {
22147
- delta_ms_decode_frame: t[P.VIDEO].delta_ms_decode_frame_in,
22148
- frames_decoded: t[P.VIDEO].total_frames_decoded_in,
22149
- total_decode_time: t[P.VIDEO].total_time_decoded_in
22147
+ delta_ms_decode_frame: t[k.VIDEO].delta_ms_decode_frame_in,
22148
+ frames_decoded: t[k.VIDEO].total_frames_decoded_in,
22149
+ total_decode_time: t[k.VIDEO].total_time_decoded_in
22150
22150
  };
22151
- const n = c[V.FRAMES_DECODED], a = c[V.TOTAL_DECODE_TIME], o = a - t[P.VIDEO].total_time_decoded_in, s = n - t[P.VIDEO].total_frames_decoded_in;
22151
+ const n = c[V.FRAMES_DECODED], a = c[V.TOTAL_DECODE_TIME], o = a - t[k.VIDEO].total_time_decoded_in, s = n - t[k.VIDEO].total_frames_decoded_in;
22152
22152
  return {
22153
22153
  delta_ms_decode_frame: s > 0 ? o * 1e3 / s : 0,
22154
22154
  frames_decoded: n,
@@ -22157,11 +22157,11 @@ const js = "extractor ", Mf = (c, t, n, a) => {
22157
22157
  }, Hv = (c, t) => {
22158
22158
  if (!Object.prototype.hasOwnProperty.call(c, V.FRAMES_ENCODED) || !Object.prototype.hasOwnProperty.call(c, V.TOTAL_ENCODE_TIME))
22159
22159
  return {
22160
- delta_ms_encode_frame: t[P.VIDEO].delta_ms_encode_frame_out,
22161
- frames_encoded: t[P.VIDEO].total_frames_encoded_out,
22162
- total_encode_time: t[P.VIDEO].total_time_encoded_out
22160
+ delta_ms_encode_frame: t[k.VIDEO].delta_ms_encode_frame_out,
22161
+ frames_encoded: t[k.VIDEO].total_frames_encoded_out,
22162
+ total_encode_time: t[k.VIDEO].total_time_encoded_out
22163
22163
  };
22164
- const n = c[V.FRAMES_ENCODED], a = c[V.TOTAL_ENCODE_TIME], o = a - t[P.VIDEO].total_time_encoded_out, s = n - t[P.VIDEO].total_frames_encoded_out;
22164
+ const n = c[V.FRAMES_ENCODED], a = c[V.TOTAL_ENCODE_TIME], o = a - t[k.VIDEO].total_time_encoded_out, s = n - t[k.VIDEO].total_frames_encoded_out;
22165
22165
  return {
22166
22166
  delta_ms_encode_frame: s > 0 && o ? o * 1e3 / s : 0,
22167
22167
  frames_encoded: n,
@@ -22253,12 +22253,12 @@ const js = "extractor ", Mf = (c, t, n, a) => {
22253
22253
  deltaPliCount: 0,
22254
22254
  deltaNackCount: 0
22255
22255
  };
22256
- const a = (c[V.PLI] || 0) - (n ? n[P.VIDEO].total_pli_sent_in : 0), o = (c[V.NACK] || 0) - (n ? n[P.VIDEO].total_nack_sent_in : 0);
22256
+ const a = (c[V.PLI] || 0) - (n ? n[k.VIDEO].total_pli_sent_in : 0), o = (c[V.NACK] || 0) - (n ? n[k.VIDEO].total_nack_sent_in : 0);
22257
22257
  return {
22258
22258
  pliCount: a,
22259
22259
  nackCount: o,
22260
- deltaPliCount: a - t[P.VIDEO].total_pli_sent_in,
22261
- deltaNackCount: o - t[P.VIDEO].total_nack_sent_in
22260
+ deltaPliCount: a - t[k.VIDEO].total_pli_sent_in,
22261
+ deltaNackCount: o - t[k.VIDEO].total_nack_sent_in
22262
22262
  };
22263
22263
  }, Bv = (c, t, n) => {
22264
22264
  if (!Object.prototype.hasOwnProperty.call(c, V.PLI) || !Object.prototype.hasOwnProperty.call(c, V.NACK))
@@ -22268,12 +22268,12 @@ const js = "extractor ", Mf = (c, t, n, a) => {
22268
22268
  deltaPliCount: 0,
22269
22269
  deltaNackCount: 0
22270
22270
  };
22271
- const a = (c[V.PLI] || 0) - (n ? n[P.VIDEO].total_pli_received_out : 0), o = (c[V.NACK] || 0) - (n ? n[P.VIDEO].total_nack_received_out : 0);
22271
+ const a = (c[V.PLI] || 0) - (n ? n[k.VIDEO].total_pli_received_out : 0), o = (c[V.NACK] || 0) - (n ? n[k.VIDEO].total_nack_received_out : 0);
22272
22272
  return {
22273
22273
  pliCount: a,
22274
22274
  nackCount: o,
22275
- deltaPliCount: a - t[P.VIDEO].total_pli_received_out,
22276
- deltaNackCount: o - t[P.VIDEO].total_nack_received_out
22275
+ deltaPliCount: a - t[k.VIDEO].total_pli_received_out,
22276
+ deltaNackCount: o - t[k.VIDEO].total_nack_received_out
22277
22277
  };
22278
22278
  }, Gv = (c) => ({
22279
22279
  channels: c[V.CHANNELS] || null,
@@ -22308,7 +22308,7 @@ const js = "extractor ", Mf = (c, t, n, a) => {
22308
22308
  switch (c[V.TYPE]) {
22309
22309
  case zt.CANDIDATE_PAIR:
22310
22310
  let o = !1;
22311
- if (c[V.NOMINATED] && c[V.STATE] === P.SUCCEEDED && (o = !0, xe(
22311
+ if (c[V.NOMINATED] && c[V.STATE] === k.SUCCEEDED && (o = !0, xe(
22312
22312
  js,
22313
22313
  `analyze() - got stats ${c[V.TYPE]} for ${n}`,
22314
22314
  c
@@ -22434,13 +22434,13 @@ const js = "extractor ", Mf = (c, t, n, a) => {
22434
22434
  const r = c[V.SSRC], d = ct(r, t, $e.INBOUND);
22435
22435
  d && (d.timestamp = t.timestamp);
22436
22436
  const h = ct(r, a, $e.INBOUND);
22437
- if (h && (h.timestamp = a.timestamp), c[V.MEDIA_TYPE] === P.AUDIO) {
22437
+ if (h && (h.timestamp = a.timestamp), c[V.MEDIA_TYPE] === k.AUDIO) {
22438
22438
  const _ = Hf(
22439
22439
  c,
22440
- P.AUDIO,
22440
+ k.AUDIO,
22441
22441
  d,
22442
22442
  h
22443
- ), g = ha(c, P.AUDIO, d), T = c[V.CODEC_ID] || "";
22443
+ ), g = ha(c, k.AUDIO, d), T = c[V.CODEC_ID] || "";
22444
22444
  return [
22445
22445
  {
22446
22446
  ssrc: r,
@@ -22494,13 +22494,13 @@ const js = "extractor ", Mf = (c, t, n, a) => {
22494
22494
  }
22495
22495
  ];
22496
22496
  }
22497
- if (c[V.MEDIA_TYPE] === P.VIDEO) {
22497
+ if (c[V.MEDIA_TYPE] === k.VIDEO) {
22498
22498
  const _ = $v(c, d), g = Hf(
22499
22499
  c,
22500
- P.VIDEO,
22500
+ k.VIDEO,
22501
22501
  d,
22502
22502
  h
22503
- ), T = ha(c, P.VIDEO, d), S = c[V.DECODER_IMPLEMENTATION] || null, E = c[V.CODEC_ID] || null, C = Ff(c), A = qv(
22503
+ ), T = ha(c, k.VIDEO, d), S = c[V.DECODER_IMPLEMENTATION] || null, E = c[V.CODEC_ID] || null, C = Ff(c), A = qv(
22504
22504
  c,
22505
22505
  d,
22506
22506
  h
@@ -22614,8 +22614,8 @@ const js = "extractor ", Mf = (c, t, n, a) => {
22614
22614
  const r = c[V.SSRC], d = ct(r, t, $e.OUTBOUND);
22615
22615
  d && (d.timestamp = t.timestamp);
22616
22616
  const h = ct(r, a, $e.OUTBOUND);
22617
- if (h && (h.timestamp = a.timestamp), c[V.MEDIA_TYPE] === P.AUDIO) {
22618
- const _ = c[V.CODEC_ID] || null, g = Lf(c, P.AUDIO, d, h);
22617
+ if (h && (h.timestamp = a.timestamp), c[V.MEDIA_TYPE] === k.AUDIO) {
22618
+ const _ = c[V.CODEC_ID] || null, g = Lf(c, k.AUDIO, d, h);
22619
22619
  return [
22620
22620
  {
22621
22621
  ssrc: r,
@@ -22649,12 +22649,12 @@ const js = "extractor ", Mf = (c, t, n, a) => {
22649
22649
  }
22650
22650
  ];
22651
22651
  }
22652
- if (c[V.MEDIA_TYPE] === P.VIDEO) {
22652
+ if (c[V.MEDIA_TYPE] === k.VIDEO) {
22653
22653
  const _ = c[V.ENCODER_IMPLEMENTATION] || null, g = c[V.CODEC_ID] || null, T = Hv(c, d), S = Ff(c), E = Vv(c), C = Bv(
22654
22654
  c,
22655
22655
  d,
22656
22656
  h
22657
- ), A = Lf(c, P.VIDEO, d, h);
22657
+ ), A = Lf(c, k.VIDEO, d, h);
22658
22658
  return [
22659
22659
  {
22660
22660
  ssrc: r,
@@ -22758,8 +22758,8 @@ const js = "extractor ", Mf = (c, t, n, a) => {
22758
22758
  }
22759
22759
  case zt.CODEC:
22760
22760
  const s = [];
22761
- return Object.keys(t[P.AUDIO]).forEach((r) => {
22762
- const d = t[P.AUDIO][r];
22761
+ return Object.keys(t[k.AUDIO]).forEach((r) => {
22762
+ const d = t[k.AUDIO][r];
22763
22763
  if (d.codec_id_in === c[V.ID] || d.codec_id_out === c[V.ID]) {
22764
22764
  xe(
22765
22765
  js,
@@ -22769,8 +22769,8 @@ const js = "extractor ", Mf = (c, t, n, a) => {
22769
22769
  const h = Gv(c);
22770
22770
  c[V.ID] === d.codec_id_in ? s.push({ ssrc: d.ssrc, type: ne.AUDIO, value: { codec_in: h } }) : s.push({ ssrc: d.ssrc, type: ne.AUDIO, value: { codec_out: h } });
22771
22771
  }
22772
- }), Object.keys(t[P.VIDEO]).forEach((r) => {
22773
- const d = t[P.VIDEO][r];
22772
+ }), Object.keys(t[k.VIDEO]).forEach((r) => {
22773
+ const d = t[k.VIDEO][r];
22774
22774
  if (d.codec_id_in === c[V.ID] || d.codec_id_out === c[V.ID]) {
22775
22775
  xe(
22776
22776
  js,
@@ -22788,13 +22788,13 @@ const js = "extractor ", Mf = (c, t, n, a) => {
22788
22788
  c
22789
22789
  );
22790
22790
  const r = c[V.SSRC], d = ct(r, t, $e.OUTBOUND), h = ct(r, a, $e.OUTBOUND);
22791
- if (c[V.KIND] === P.AUDIO) {
22791
+ if (c[V.KIND] === k.AUDIO) {
22792
22792
  const _ = Mf(
22793
22793
  c,
22794
- P.AUDIO,
22794
+ k.AUDIO,
22795
22795
  h,
22796
22796
  d
22797
- ), g = ha(c, P.AUDIO, d), T = $f(c, P.AUDIO, d, h);
22797
+ ), g = ha(c, k.AUDIO, d), T = $f(c, k.AUDIO, d, h);
22798
22798
  return [
22799
22799
  {
22800
22800
  ssrc: r,
@@ -22838,13 +22838,13 @@ const js = "extractor ", Mf = (c, t, n, a) => {
22838
22838
  }
22839
22839
  ];
22840
22840
  }
22841
- if (c[V.KIND] === P.VIDEO) {
22841
+ if (c[V.KIND] === k.VIDEO) {
22842
22842
  const _ = Mf(
22843
22843
  c,
22844
- P.VIDEO,
22844
+ k.VIDEO,
22845
22845
  h,
22846
22846
  d
22847
- ), g = ha(c, P.VIDEO, d), T = $f(c, P.VIDEO, d, h);
22847
+ ), g = ha(c, k.VIDEO, d), T = $f(c, k.VIDEO, d, h);
22848
22848
  return [
22849
22849
  {
22850
22850
  ssrc: r,
@@ -22892,24 +22892,24 @@ const js = "extractor ", Mf = (c, t, n, a) => {
22892
22892
  }
22893
22893
  }
22894
22894
  return [];
22895
- }, Ka = (c) => c < 0 ? 1 : c > 100 ? 4.5 : 1 + 0.035 * c + 7 / 1e6 * c * (c - 60) * (100 - c), zv = (c, t = P.AUDIO, n, a, o) => {
22895
+ }, Ka = (c) => c < 0 ? 1 : c > 100 ? 4.5 : 1 + 0.035 * c + 7 / 1e6 * c * (c - 60) * (100 - c), zv = (c, t = k.AUDIO, n, a, o) => {
22896
22896
  const s = ct(o, c, $e.INBOUND), r = ct(o, n, $e.INBOUND), d = ct(o, a, $e.INBOUND), h = [], _ = [], g = s[t].percent_packets_lost_in, T = s[t].delta_jitter_ms_in, S = r && r[t].delta_jitter_ms_in || null, E = d && d[t].delta_jitter_ms_in || null, C = c.data.delta_rtt_connectivity_ms, A = n && n.data.delta_rtt_connectivity_ms || null, R = a && a.data.delta_rtt_connectivity_ms || null;
22897
22897
  C && h.push(C), A && h.push(A), R && h.push(R), T && _.push(T), n && S && _.push(S), a && E && _.push(E);
22898
- const k = h.length > 0 ? Gs(h) : 100, M = _.length > 0 ? Gs(_) : 10, ie = 93.2 - g, N = 0.18 * ie * ie - 27.9 * ie + 1126.62, j = (k + M) / 2, Ee = j - 177.3 < 0 ? 0 : 1, ve = 0.024 * j + 0.11 * (j - 177.3) * Ee, L = N - ve;
22898
+ const P = h.length > 0 ? Gs(h) : 100, M = _.length > 0 ? Gs(_) : 10, ie = 93.2 - g, N = 0.18 * ie * ie - 27.9 * ie + 1126.62, j = (P + M) / 2, Ee = j - 177.3 < 0 ? 0 : 1, ve = 0.024 * j + 0.11 * (j - 177.3) * Ee, L = N - ve;
22899
22899
  return Ka(L);
22900
- }, Xv = (c, t = P.AUDIO, n, a, o) => {
22901
- const s = ct(o, c, $e.OUTBOUND), r = ct(o, n, $e.OUTBOUND), d = ct(o, a, $e.OUTBOUND), h = [], _ = [], g = s[t].percent_packets_lost_out, T = s[t].delta_rtt_ms_out, S = r && r[t].delta_rtt_ms_out || null, E = d && d[t].delta_rtt_ms_out || null, C = s[t].delta_jitter_ms_out, A = r && r[t].delta_jitter_ms_out || null, R = d && d[t].delta_jitter_ms_out || null, k = c.data.delta_rtt_connectivity_ms, M = n && n.data.delta_rtt_connectivity_ms || null, ie = a && a.data.delta_rtt_connectivity_ms || null;
22902
- T ? h.push(T) : k && h.push(k), S ? h.push(S) : M && h.push(M), E ? h.push(E) : ie && h.push(ie), C && _.push(C), n && A && _.push(A), a && R && _.push(R);
22900
+ }, Xv = (c, t = k.AUDIO, n, a, o) => {
22901
+ const s = ct(o, c, $e.OUTBOUND), r = ct(o, n, $e.OUTBOUND), d = ct(o, a, $e.OUTBOUND), h = [], _ = [], g = s[t].percent_packets_lost_out, T = s[t].delta_rtt_ms_out, S = r && r[t].delta_rtt_ms_out || null, E = d && d[t].delta_rtt_ms_out || null, C = s[t].delta_jitter_ms_out, A = r && r[t].delta_jitter_ms_out || null, R = d && d[t].delta_jitter_ms_out || null, P = c.data.delta_rtt_connectivity_ms, M = n && n.data.delta_rtt_connectivity_ms || null, ie = a && a.data.delta_rtt_connectivity_ms || null;
22902
+ T ? h.push(T) : P && h.push(P), S ? h.push(S) : M && h.push(M), E ? h.push(E) : ie && h.push(ie), C && _.push(C), n && A && _.push(A), a && R && _.push(R);
22903
22903
  const N = h.length > 0 ? Gs(h) : 100, j = _.length > 0 ? Gs(_) : 10, Ee = 93.2 - g, ve = 0.18 * Ee * Ee - 27.9 * Ee + 1126.62, L = (N + j) / 2, D = L - 177.3 < 0 ? 0 : 1, B = 0.024 * L + 0.11 * (L - 177.3) * D, q = ve - B;
22904
22904
  return Ka(q);
22905
- }, Qv = (c, t = P.AUDIO, n, a, o) => {
22905
+ }, Qv = (c, t = k.AUDIO, n, a, o) => {
22906
22906
  const s = ct(o, c, $e.INBOUND), r = ct(o, n, $e.INBOUND), d = ct(o, a, $e.INBOUND), h = [], _ = [], g = s[t].percent_packets_lost_in / 100, T = s[t].delta_jitter_ms_in, S = r && r[t].delta_jitter_ms_in || null, E = d && d[t].delta_jitter_ms_in || null, C = c.data.delta_rtt_connectivity_ms, A = n && n.data.delta_rtt_connectivity_ms || null, R = a && a.data.delta_rtt_connectivity_ms || null;
22907
22907
  C && h.push(C), A && h.push(A), R && h.push(R), T && _.push(T), r && S && _.push(S), d && E && _.push(E);
22908
- const k = h.length > 0 ? Gs(h) : 100, M = _.length > 0 ? Gs(_) : 10, ie = 0, N = 19.8, j = 29.7, Ee = 30, ve = (k + M) / 2 + Ee, L = ve - 177.3 < 0 ? 0 : 1, D = 0.024 * ve + 0.11 * (ve - 177.3) * L, q = 93.2 - (ie + N * Math.log(1 + j * g) + D);
22908
+ const P = h.length > 0 ? Gs(h) : 100, M = _.length > 0 ? Gs(_) : 10, ie = 0, N = 19.8, j = 29.7, Ee = 30, ve = (P + M) / 2 + Ee, L = ve - 177.3 < 0 ? 0 : 1, D = 0.024 * ve + 0.11 * (ve - 177.3) * L, q = 93.2 - (ie + N * Math.log(1 + j * g) + D);
22909
22909
  return Ka(q);
22910
- }, Zv = (c, t = P.AUDIO, n, a, o) => {
22911
- const s = ct(o, c, $e.OUTBOUND), r = ct(o, n, $e.OUTBOUND), d = ct(o, a, $e.OUTBOUND), h = [], _ = [], g = s[t].percent_packets_lost_out / 100, T = s[t].delta_rtt_ms_out, S = r && r[t].delta_rtt_ms_out || null, E = d && d[t].delta_rtt_ms_out || null, C = s[t].delta_jitter_ms_out, A = r && r[t].delta_jitter_ms_out || null, R = d && d[t].delta_jitter_ms_out || null, k = c.data.delta_rtt_connectivity_ms, M = n && n.data.delta_rtt_connectivity_ms || null, ie = a && a.data.delta_rtt_connectivity_ms || null;
22912
- T ? h.push(T) : k && h.push(k), S ? h.push(S) : M && h.push(M), E ? h.push(E) : ie && h.push(ie), C && _.push(C), r && A && _.push(A), d && R && _.push(R);
22910
+ }, Zv = (c, t = k.AUDIO, n, a, o) => {
22911
+ const s = ct(o, c, $e.OUTBOUND), r = ct(o, n, $e.OUTBOUND), d = ct(o, a, $e.OUTBOUND), h = [], _ = [], g = s[t].percent_packets_lost_out / 100, T = s[t].delta_rtt_ms_out, S = r && r[t].delta_rtt_ms_out || null, E = d && d[t].delta_rtt_ms_out || null, C = s[t].delta_jitter_ms_out, A = r && r[t].delta_jitter_ms_out || null, R = d && d[t].delta_jitter_ms_out || null, P = c.data.delta_rtt_connectivity_ms, M = n && n.data.delta_rtt_connectivity_ms || null, ie = a && a.data.delta_rtt_connectivity_ms || null;
22912
+ T ? h.push(T) : P && h.push(P), S ? h.push(S) : M && h.push(M), E ? h.push(E) : ie && h.push(ie), C && _.push(C), r && A && _.push(A), d && R && _.push(R);
22913
22913
  const N = h.length > 0 ? Gs(h) : 100, j = _.length > 0 ? Gs(_) : 10, Ee = 0, ve = 19.8, L = 29.7, D = 30, B = (N + j) / 2 + D, q = B - 177.3 < 0 ? 0 : 1, J = 0.024 * B + 0.11 * (B - 177.3) * q, X = 93.2 - (Ee + ve * Math.log(1 + L * g) + J);
22914
22914
  return Ka(X);
22915
22915
  };
@@ -22921,7 +22921,7 @@ class eS {
22921
22921
  }, this._id = Dv(), this._moduleName = this._id, this._probeId = n, this._config = t, this._exporter = new Mv(t), this._state = gs.IDLE, this.registerToPCEvents(), An(this._moduleName, `new collector created for probe ${this._probeId}`);
22922
22922
  }
22923
22923
  analyze(t, n, a, o) {
22924
- const s = (h, _) => h === P.AUDIO ? _ === zt.INBOUND_RTP ? { ...Dh } : { ...Nh } : _ === zt.INBOUND_RTP ? { ...Uh } : { ...xh }, r = Rv(n);
22924
+ const s = (h, _) => h === k.AUDIO ? _ === zt.INBOUND_RTP ? { ...Dh } : { ...Nh } : _ === zt.INBOUND_RTP ? { ...Uh } : { ...xh }, r = Rv(n);
22925
22925
  r.pname = this._config.pname, r.call_id = this._config.cid, r.user_id = this._config.uid, r.count = n ? n.count + 1 : 1;
22926
22926
  let d = null;
22927
22927
  return t.forEach((h) => {
@@ -22937,29 +22937,29 @@ class eS {
22937
22937
  r[g.type][T] = g.value[T];
22938
22938
  });
22939
22939
  });
22940
- }), r.timestamp = d, Object.keys(r[P.AUDIO]).forEach((h) => {
22941
- const _ = r[P.AUDIO][h];
22940
+ }), r.timestamp = d, Object.keys(r[k.AUDIO]).forEach((h) => {
22941
+ const _ = r[k.AUDIO][h];
22942
22942
  _.direction === $e.INBOUND ? (_.mos_emodel_in = zv(
22943
22943
  r,
22944
- P.AUDIO,
22944
+ k.AUDIO,
22945
22945
  n,
22946
22946
  a,
22947
22947
  _.ssrc
22948
22948
  ), _.mos_in = Qv(
22949
22949
  r,
22950
- P.AUDIO,
22950
+ k.AUDIO,
22951
22951
  n,
22952
22952
  a,
22953
22953
  _.ssrc
22954
22954
  )) : (_.mos_emodel_out = Xv(
22955
22955
  r,
22956
- P.AUDIO,
22956
+ k.AUDIO,
22957
22957
  n,
22958
22958
  a,
22959
22959
  _.ssrc
22960
22960
  ), _.mos_out = Zv(
22961
22961
  r,
22962
- P.AUDIO,
22962
+ k.AUDIO,
22963
22963
  n,
22964
22964
  a,
22965
22965
  _.ssrc
@@ -23284,12 +23284,12 @@ class sS {
23284
23284
  const s = Av(), r = this._probes.filter((d) => d.isRunning);
23285
23285
  for (const d of r) {
23286
23286
  const h = await d.collectStats();
23287
- h && s.probes.push(h), xe(Rt, `got probe ${d.id}`), await Pf(0);
23287
+ h && s.probes.push(h), xe(Rt, `got probe ${d.id}`), await kf(0);
23288
23288
  }
23289
23289
  return s.delta_time_to_measure_probes_ms = En(s.probes, "experimental", "time_to_measure_ms"), s.delta_KBytes_in = En(s.probes, "data", "delta_KBytes_in"), s.delta_KBytes_out = En(s.probes, "data", "delta_KBytes_out"), s.delta_kbs_in = En(s.probes, "data", "delta_kbs_in"), s.delta_kbs_out = En(s.probes, "data", "delta_kbs_out"), s.total_time_decoded_in = En(s.probes, "video", "total_time_decoded_in"), s.total_time_encoded_out = En(s.probes, "video", "total_time_encoded_out"), s;
23290
23290
  };
23291
23291
  for (xe(Rt, "starting to collect"), t(), xe(Rt, "generating reference reports..."), await n(), xe(Rt, "reference reports generated"), this._startedTime = Date.now(); a(); )
23292
- if (xe(Rt, `wait ${this._config.refreshEvery}ms before collecting`), await Pf(this._config.refreshEvery), a()) {
23292
+ if (xe(Rt, `wait ${this._config.refreshEvery}ms before collecting`), await kf(this._config.refreshEvery), a()) {
23293
23293
  xe(Rt, "collecting...");
23294
23294
  const s = Date.now(), r = await o(), d = Date.now();
23295
23295
  r.delta_time_consumed_to_measure_ms = d - s, this.fireOnReports(r), xe(Rt, "collected");
@@ -23452,21 +23452,14 @@ class uS {
23452
23452
  })), await this.resumePromise), this.context;
23453
23453
  }
23454
23454
  }
23455
- class cS {
23456
- constructor(t) {
23457
- this.id = t;
23458
- }
23459
- new(t) {
23460
- console.log(t);
23461
- }
23462
- }
23463
23455
  const da = {
23464
23456
  SELECTED_INPUT_DEVICE: "OpensipsJSInputDevice",
23465
23457
  SELECTED_OUTPUT_DEVICE: "OpensipsJSOutputDevice"
23466
- }, fS = 0;
23467
- class hS {
23458
+ }, cS = 0;
23459
+ class fS {
23468
23460
  constructor(t) {
23469
- this.isAutoAnswer = !1, this.muteWhenJoinEnabled = !1, this.isDNDEnabled = !1, this.isCallWaitingEnabled = !0, this.muted = !1, this.microphoneInputLevelValue = 1, this.speakerVolumeValue = 1, this.activeRooms = {}, this.activeCalls = {}, this.extendedCalls = {}, this.conferenceNodes = {}, this.availableMediaDevices = [], this.selectedMediaDevices = {
23461
+ var n;
23462
+ if (this.isAutoAnswer = !1, this.muteWhenJoinEnabled = !1, this.isDNDEnabled = !1, this.isCallWaitingEnabled = !0, this.muted = !1, this.microphoneInputLevelValue = 1, this.speakerVolumeValue = 1, this.activeRooms = {}, this.activeCalls = {}, this.extendedCalls = {}, this.conferenceNodes = {}, this.availableMediaDevices = [], this.selectedMediaDevices = {
23470
23463
  input: "default",
23471
23464
  output: "default"
23472
23465
  }, this.callStatus = {}, this.callTime = {}, this.callMetrics = {}, this.timeIntervals = {}, this.metricConfig = {
@@ -23476,7 +23469,10 @@ class hS {
23476
23469
  this.newRTCSessionCallback.bind(this)
23477
23470
  ), this.VUMeter = new oS({
23478
23471
  onChangeFunction: this.emitVolumeChange.bind(this)
23479
- }), this.processVADConfiguration(), this.initializeMediaDevices();
23472
+ }), this.processVADConfiguration(), this.initializeMediaDevices(), ["enabled", "dynamic"].includes(this.noiseReduction.mode)) {
23473
+ const a = (n = this.context.options.configuration) == null ? void 0 : n.vadModule;
23474
+ a && a.MicVAD ? (this.MicVAD = a.MicVAD, console.log("✅ VAD module loaded successfully")) : (console.warn("⚠️ Noise reduction is enabled but VAD module is not provided. To use VAD features, please install @ricky0123/vad-web and pass it via configuration.vadModule option."), this.noiseReduction.mode = "disabled");
23475
+ }
23480
23476
  }
23481
23477
  processVADConfiguration() {
23482
23478
  var n;
@@ -23797,7 +23793,7 @@ class hS {
23797
23793
  });
23798
23794
  }
23799
23795
  cancelAllOutgoingUnanswered() {
23800
- Object.values(this.getActiveCalls).filter((t) => t.direction === "outgoing" && t.status === fS).forEach((t) => this.terminateCall(t._id));
23796
+ Object.values(this.getActiveCalls).filter((t) => t.direction === "outgoing" && t.status === cS).forEach((t) => this.terminateCall(t._id));
23801
23797
  }
23802
23798
  answerCall(t) {
23803
23799
  const n = this.extendedCalls[t];
@@ -23980,7 +23976,7 @@ class hS {
23980
23976
  };
23981
23977
  const o = await this.managedAudioContext.getContext(), s = await fv(a, o, 150);
23982
23978
  let r = !1;
23983
- const d = await cS.new({
23979
+ const d = await this.MicVAD.new({
23984
23980
  getStream: () => new Promise((h) => h(a)),
23985
23981
  ...aS,
23986
23982
  ...this.noiseReduction.vadConfig,
@@ -24080,10 +24076,10 @@ class hS {
24080
24076
  const r = this.conferenceNodes[n], d = /* @__PURE__ */ new Map();
24081
24077
  t.forEach((h, _) => {
24082
24078
  h && h.connection && h.connection.getReceivers().forEach((T, S) => {
24083
- var A, R, k;
24079
+ var A, R, P;
24084
24080
  T.track.enabled = !h.localMuted;
24085
24081
  const E = (A = T.track) == null ? void 0 : A.id;
24086
- (R = T.track) == null || R.readyState, (k = T.track) == null || k.kind;
24082
+ (R = T.track) == null || R.readyState, (P = T.track) == null || P.kind;
24087
24083
  const C = `${h._id}-${E}`;
24088
24084
  T.track && T.track.readyState === "live" && d.set(C, T.track);
24089
24085
  });
@@ -24096,15 +24092,15 @@ class hS {
24096
24092
  if (d.forEach((A, R) => {
24097
24093
  if (!R.startsWith(h._id))
24098
24094
  try {
24099
- const k = s.createMediaStreamSource(new MediaStream([A])), M = s.createGain(), ie = `${h._id}-${R}`;
24100
- k.connect(M), M.connect(g), r.sources.set(ie, k), r.gains.set(ie, M), T++;
24101
- } catch (k) {
24102
- console.error(k);
24095
+ const P = s.createMediaStreamSource(new MediaStream([A])), M = s.createGain(), ie = `${h._id}-${R}`;
24096
+ P.connect(M), M.connect(g), r.sources.set(ie, P), r.gains.set(ie, M), T++;
24097
+ } catch (P) {
24098
+ console.error(P);
24103
24099
  }
24104
24100
  }), a && this.activeStreamValue)
24105
24101
  try {
24106
- const A = this.activeStream, R = s.createMediaStreamSource(A), k = s.createGain(), M = `${h._id}-local`;
24107
- R.connect(k), k.connect(g), r.sources.set(M, R), r.gains.set(M, k);
24102
+ const A = this.activeStream, R = s.createMediaStreamSource(A), P = s.createGain(), M = `${h._id}-local`;
24103
+ R.connect(P), P.connect(g), r.sources.set(M, R), r.gains.set(M, P);
24108
24104
  } catch (A) {
24109
24105
  console.error(A);
24110
24106
  }
@@ -24467,7 +24463,7 @@ class hS {
24467
24463
  a.roomId = n, this.updateCall(a), await this.roomReconfigure(o), await this.roomReconfigure(n);
24468
24464
  }
24469
24465
  }
24470
- class dS {
24466
+ class hS {
24471
24467
  constructor(t) {
24472
24468
  this.context = t;
24473
24469
  }
@@ -24513,7 +24509,7 @@ class dS {
24513
24509
  this.context.stopBlur();
24514
24510
  }
24515
24511
  }
24516
- class _S {
24512
+ class dS {
24517
24513
  constructor(t) {
24518
24514
  this.activeMessages = {}, this.extendedMessages = {}, this.msrpHistory = {}, this.context = t, this.context.on(
24519
24515
  this.context.newMSRPSessionEventName,
@@ -24684,7 +24680,7 @@ const _a = {
24684
24680
  VIDEO: "video",
24685
24681
  MSRP: "msrp"
24686
24682
  };
24687
- class Ph {
24683
+ class kh {
24688
24684
  constructor(t) {
24689
24685
  this.opensips = null, this.session = null, this.name = null, this.name = t;
24690
24686
  }
@@ -24698,13 +24694,13 @@ class Ph {
24698
24694
  this.opensips.kill(this.name);
24699
24695
  }
24700
24696
  }
24701
- class pS extends Ph {
24697
+ class _S extends kh {
24702
24698
  constructor(t, n) {
24703
24699
  super(t), this._candidates = [], this._subscribeSent = !1, this._configureSent = !1, this._lastTrickleReceived = !1, this.type = n;
24704
24700
  }
24705
24701
  connect(t = {}) {
24706
24702
  this.opaqueId = this.session.generateOpaqueId();
24707
- const n = ke.cloneArray(t.extraHeaders), a = {
24703
+ const n = Pe.cloneArray(t.extraHeaders), a = {
24708
24704
  from_tag: this.session._from_tag
24709
24705
  };
24710
24706
  t.fromUserName && (a.from_uri = new Rn("sip", t.fromUserName, this.session._ua.configuration.uri.host), n.push(`P-Preferred-Identity: ${this.session._ua.configuration.uri.toString()}`)), t.fromDisplayName && (a.from_display_name = t.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 yt.InitialOutgoingInviteRequest(
@@ -24881,7 +24877,7 @@ class pS extends Ph {
24881
24877
  throw new Error("generateStream method is not implemented");
24882
24878
  }
24883
24879
  }
24884
- class mS extends Ph {
24880
+ class pS extends kh {
24885
24881
  constructor(t, n, a = {}) {
24886
24882
  super(t), this.stream = null, this.running = !1, this.immediate = !1, this.type = "video", this.immediate = a.immediate || !1, this.type = n;
24887
24883
  }
@@ -24908,7 +24904,7 @@ class mS extends Ph {
24908
24904
  this.stop(), this.running = !1, await this.session.resyncPlugins(this.type);
24909
24905
  }
24910
24906
  }
24911
- class xS extends FT {
24907
+ class US extends FT {
24912
24908
  constructor(t, n) {
24913
24909
  if (!t.modules.length)
24914
24910
  throw new Error("options.modules should include at least 1 module");
@@ -24945,9 +24941,9 @@ class xS extends FT {
24945
24941
  use(t) {
24946
24942
  if (this.newStreamPlugins.find((n) => n.name === t.name) || this.processStreamPlugins.find((n) => n.name === t.name))
24947
24943
  throw new Error(`Plugin with name ${t.name} already exists`);
24948
- if (t instanceof pS)
24944
+ if (t instanceof _S)
24949
24945
  t.setOpensips(this), this.newStreamPlugins.push(t);
24950
- else if (t instanceof mS)
24946
+ else if (t instanceof pS)
24951
24947
  t.setOpensips(this), this.processStreamPlugins.push(t);
24952
24948
  else
24953
24949
  throw new Error("Wrong plugin instance");
@@ -24967,7 +24963,7 @@ class xS extends FT {
24967
24963
  console.error("Connection is already established");
24968
24964
  return;
24969
24965
  }
24970
- return this.modules.includes(_a.AUDIO) && (this.audio = new hS(this)), this.modules.includes(_a.MSRP) && (this.msrp = new _S(this)), this.modules.includes(_a.VIDEO) && (this.video = new dS(this)), this.on(
24966
+ return this.modules.includes(_a.AUDIO) && (this.audio = new fS(this)), this.modules.includes(_a.MSRP) && (this.msrp = new dS(this)), this.modules.includes(_a.VIDEO) && (this.video = new hS(this)), this.on(
24971
24967
  this.registeredEventName,
24972
24968
  () => {
24973
24969
  this.logger.log("Successfully registered to", this.options.socketInterfaces[0]), this.setInitialized(!0);
@@ -26152,7 +26148,7 @@ class xS extends FT {
26152
26148
  }*/
26153
26149
  }
26154
26150
  export {
26155
- pS as BaseNewStreamPlugin,
26156
- mS as BaseProcessStreamPlugin,
26157
- xS as default
26151
+ _S as BaseNewStreamPlugin,
26152
+ pS as BaseProcessStreamPlugin,
26153
+ US as default
26158
26154
  };