@voicenter-team/opensips-js 1.0.78 → 1.0.80
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +8 -0
- package/dist/index.d.ts +21 -4
- package/dist/opensips-js.cjs.js +21 -21
- package/dist/opensips-js.es.js +532 -532
- package/dist/opensips-js.iife.js +19 -19
- package/dist/opensips-js.umd.js +19 -19
- package/package.json +1 -1
- package/src/types/rtc.d.ts +6 -1
package/dist/opensips-js.es.js
CHANGED
@@ -354,7 +354,7 @@ var F_ = /* @__PURE__ */ function(c) {
|
|
354
354
|
return wo(this, r), a = n.call(this), a.code = 4, a.name = "NOT_READY_ERROR", a.message = o, a;
|
355
355
|
}
|
356
356
|
return r;
|
357
|
-
}(/* @__PURE__ */ ar(Error)),
|
357
|
+
}(/* @__PURE__ */ ar(Error)), Hs = {
|
358
358
|
ConfigurationError: F_,
|
359
359
|
InvalidStateError: V_,
|
360
360
|
NotSupportedError: j_,
|
@@ -377,7 +377,7 @@ function du() {
|
|
377
377
|
function r(t, s, p) {
|
378
378
|
return s && n(t.prototype, s), p && n(t, p), t;
|
379
379
|
}
|
380
|
-
var o =
|
380
|
+
var o = Fs(), a = ns();
|
381
381
|
return Xo = /* @__PURE__ */ function() {
|
382
382
|
r(t, null, [{
|
383
383
|
key: "parse",
|
@@ -463,7 +463,7 @@ function du() {
|
|
463
463
|
}(), Xo;
|
464
464
|
}
|
465
465
|
var Qo, Pu;
|
466
|
-
function
|
466
|
+
function ns() {
|
467
467
|
return Pu || (Pu = 1, Qo = function() {
|
468
468
|
function c(r) {
|
469
469
|
return '"' + r.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) + '"';
|
@@ -529,18 +529,18 @@ function rs() {
|
|
529
529
|
userinfo: _t,
|
530
530
|
user: Sn,
|
531
531
|
user_unreserved: yn,
|
532
|
-
password:
|
532
|
+
password: Vs,
|
533
533
|
hostport: Yt,
|
534
|
-
host:
|
535
|
-
hostname:
|
534
|
+
host: is,
|
535
|
+
hostname: js,
|
536
536
|
domainlabel: An,
|
537
537
|
toplabel: Cn,
|
538
|
-
IPv6reference:
|
538
|
+
IPv6reference: qs,
|
539
539
|
IPv6address: me,
|
540
540
|
h16: oe,
|
541
541
|
ls32: lt,
|
542
542
|
IPv4address: Bt,
|
543
|
-
dec_octet:
|
543
|
+
dec_octet: vs,
|
544
544
|
port: _r,
|
545
545
|
uri_parameters: Rn,
|
546
546
|
uri_parameter: In,
|
@@ -552,28 +552,28 @@ function rs() {
|
|
552
552
|
lr_param: Tr,
|
553
553
|
other_param: vr,
|
554
554
|
pname: Er,
|
555
|
-
pvalue:
|
556
|
-
paramchar:
|
555
|
+
pvalue: Es,
|
556
|
+
paramchar: Ss,
|
557
557
|
param_unreserved: Sr,
|
558
|
-
headers:
|
559
|
-
header:
|
558
|
+
headers: Bs,
|
559
|
+
header: Gs,
|
560
560
|
hname: yr,
|
561
|
-
hvalue:
|
562
|
-
hnv_unreserved:
|
561
|
+
hvalue: ys,
|
562
|
+
hnv_unreserved: Ws,
|
563
563
|
Request_Response: ol,
|
564
564
|
Request_Line: Ar,
|
565
565
|
Request_URI: bn,
|
566
566
|
absoluteURI: wn,
|
567
567
|
hier_part: Cr,
|
568
|
-
net_path:
|
569
|
-
abs_path:
|
570
|
-
opaque_part:
|
571
|
-
uric:
|
568
|
+
net_path: Ks,
|
569
|
+
abs_path: Ys,
|
570
|
+
opaque_part: As,
|
571
|
+
uric: Cs,
|
572
572
|
uric_no_slash: Rr,
|
573
|
-
path_segments:
|
574
|
-
segment:
|
575
|
-
param:
|
576
|
-
pchar:
|
573
|
+
path_segments: zs,
|
574
|
+
segment: Rs,
|
575
|
+
param: ls,
|
576
|
+
pchar: Is,
|
577
577
|
scheme: Ir,
|
578
578
|
authority: br,
|
579
579
|
srvr: wr,
|
@@ -588,8 +588,8 @@ function rs() {
|
|
588
588
|
REGISTERm: Mr,
|
589
589
|
SUBSCRIBEm: kr,
|
590
590
|
NOTIFYm: Lr,
|
591
|
-
REFERm:
|
592
|
-
Method:
|
591
|
+
REFERm: Js,
|
592
|
+
Method: Xs,
|
593
593
|
Status_Line: $r,
|
594
594
|
Status_Code: Hr,
|
595
595
|
extension_code: Fr,
|
@@ -599,7 +599,7 @@ function rs() {
|
|
599
599
|
Contact: Nn,
|
600
600
|
contact_param: kt,
|
601
601
|
name_addr: Lt,
|
602
|
-
display_name:
|
602
|
+
display_name: bs,
|
603
603
|
contact_params: Un,
|
604
604
|
c_p_q: Vr,
|
605
605
|
c_p_expires: zt,
|
@@ -617,8 +617,8 @@ function rs() {
|
|
617
617
|
media_type: jr,
|
618
618
|
m_type: qr,
|
619
619
|
discrete_type: Br,
|
620
|
-
composite_type:
|
621
|
-
extension_token:
|
620
|
+
composite_type: Qs,
|
621
|
+
extension_token: Zs,
|
622
622
|
x_token: Gr,
|
623
623
|
m_subtype: Mn,
|
624
624
|
m_parameter: kn,
|
@@ -626,29 +626,29 @@ function rs() {
|
|
626
626
|
CSeq: dl,
|
627
627
|
CSeq_value: pl,
|
628
628
|
Expires: Ho,
|
629
|
-
Event:
|
630
|
-
event_type:
|
629
|
+
Event: en,
|
630
|
+
event_type: tn,
|
631
631
|
From: Wr,
|
632
|
-
from_param:
|
632
|
+
from_param: sn,
|
633
633
|
tag_param: Kr,
|
634
634
|
Max_Forwards: Fo,
|
635
635
|
Min_Expires: Vo,
|
636
636
|
Name_Addr_Header: jo,
|
637
637
|
Proxy_Authenticate: Yr,
|
638
638
|
challenge: Ln,
|
639
|
-
other_challenge:
|
639
|
+
other_challenge: ws,
|
640
640
|
auth_param: Xt,
|
641
|
-
digest_cln:
|
641
|
+
digest_cln: nn,
|
642
642
|
realm: zr,
|
643
643
|
realm_value: Jr,
|
644
|
-
domain:
|
645
|
-
URI:
|
644
|
+
domain: rn,
|
645
|
+
URI: ln,
|
646
646
|
nonce: Xr,
|
647
647
|
nonce_value: Qr,
|
648
648
|
opaque: Zr,
|
649
649
|
stale: ei,
|
650
650
|
algorithm: ti,
|
651
|
-
qop_options:
|
651
|
+
qop_options: on,
|
652
652
|
qop_value: $n,
|
653
653
|
Proxy_Require: qo,
|
654
654
|
Record_Route: Hn,
|
@@ -668,7 +668,7 @@ function rs() {
|
|
668
668
|
To: ni,
|
669
669
|
to_param: ri,
|
670
670
|
Via: Wn,
|
671
|
-
via_param:
|
671
|
+
via_param: Os,
|
672
672
|
via_params: Kn,
|
673
673
|
via_ttl: ii,
|
674
674
|
via_maddr: li,
|
@@ -1006,7 +1006,7 @@ function rs() {
|
|
1006
1006
|
var e, l, u, f, h, m;
|
1007
1007
|
return h = s, m = s, e = Xe(), e !== null ? (o.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, d('":"')), l !== null ? (u = _t(), u = u !== null ? u : "", u !== null ? (f = Yt(), f !== null ? e = [e, l, u, f] : (e = null, s = m)) : (e = null, s = m)) : (e = null, s = m)) : (e = null, s = m), e !== null && (e = function(v) {
|
1008
1008
|
try {
|
1009
|
-
w.uri = new
|
1009
|
+
w.uri = new os(w.scheme, w.user, w.host, w.port), delete w.scheme, delete w.user, delete w.host, delete w.host_type, delete w.port;
|
1010
1010
|
} catch {
|
1011
1011
|
w = -1;
|
1012
1012
|
}
|
@@ -1014,9 +1014,9 @@ function rs() {
|
|
1014
1014
|
}
|
1015
1015
|
function De() {
|
1016
1016
|
var e, l, u, f, h, m, v, S;
|
1017
|
-
return v = s, S = s, e = Xe(), e !== null ? (o.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, d('":"')), l !== null ? (u = _t(), u = u !== null ? u : "", u !== null ? (f = Yt(), f !== null ? (h = Rn(), h !== null ? (m =
|
1017
|
+
return v = s, S = s, e = Xe(), e !== null ? (o.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, d('":"')), l !== null ? (u = _t(), u = u !== null ? u : "", u !== null ? (f = Yt(), f !== null ? (h = Rn(), h !== null ? (m = Bs(), m = m !== null ? m : "", m !== null ? e = [e, l, u, f, h, m] : (e = null, s = S)) : (e = null, s = S)) : (e = null, s = S)) : (e = null, s = S)) : (e = null, s = S)) : (e = null, s = S), e !== null && (e = function(O) {
|
1018
1018
|
try {
|
1019
|
-
w.uri = new
|
1019
|
+
w.uri = new os(w.scheme, w.user, w.host, w.port, w.uri_params, w.uri_headers), delete w.scheme, delete w.user, delete w.host, delete w.host_type, delete w.port, delete w.uri_params, a === "SIP_URI" && (w = w.uri);
|
1020
1020
|
} catch {
|
1021
1021
|
w = -1;
|
1022
1022
|
}
|
@@ -1040,7 +1040,7 @@ function rs() {
|
|
1040
1040
|
}
|
1041
1041
|
function _t() {
|
1042
1042
|
var e, l, u, f, h, m;
|
1043
|
-
return f = s, h = s, e = Sn(), e !== null ? (m = s, o.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, d('":"')), l !== null ? (u =
|
1043
|
+
return f = s, h = s, e = Sn(), e !== null ? (m = s, o.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, d('":"')), l !== null ? (u = Vs(), u !== null ? l = [l, u] : (l = null, s = m)) : (l = null, s = m), l = l !== null ? l : "", l !== null ? (o.charCodeAt(s) === 64 ? (u = "@", s++) : (u = null, d('"@"')), u !== null ? e = [e, l, u] : (e = null, s = h)) : (e = null, s = h)) : (e = null, s = h), e !== null && (e = function(v) {
|
1044
1044
|
w.user = decodeURIComponent(o.substring(s - 1, v));
|
1045
1045
|
}(f)), e === null && (s = f), e;
|
1046
1046
|
}
|
@@ -1057,7 +1057,7 @@ function rs() {
|
|
1057
1057
|
var e;
|
1058
1058
|
return o.charCodeAt(s) === 38 ? (e = "&", s++) : (e = null, d('"&"')), e === null && (o.charCodeAt(s) === 61 ? (e = "=", s++) : (e = null, d('"="')), e === null && (o.charCodeAt(s) === 43 ? (e = "+", s++) : (e = null, d('"+"')), e === null && (o.charCodeAt(s) === 36 ? (e = "$", s++) : (e = null, d('"$"')), e === null && (o.charCodeAt(s) === 44 ? (e = ",", s++) : (e = null, d('","')), e === null && (o.charCodeAt(s) === 59 ? (e = ";", s++) : (e = null, d('";"')), e === null && (o.charCodeAt(s) === 63 ? (e = "?", s++) : (e = null, d('"?"')), e === null && (o.charCodeAt(s) === 47 ? (e = "/", s++) : (e = null, d('"/"'))))))))), e;
|
1059
1059
|
}
|
1060
|
-
function
|
1060
|
+
function Vs() {
|
1061
1061
|
var e, l, u;
|
1062
1062
|
for (u = s, e = [], l = F(), l === null && (l = ve(), l === null && (o.charCodeAt(s) === 38 ? (l = "&", s++) : (l = null, d('"&"')), l === null && (o.charCodeAt(s) === 61 ? (l = "=", s++) : (l = null, d('"="')), l === null && (o.charCodeAt(s) === 43 ? (l = "+", s++) : (l = null, d('"+"')), l === null && (o.charCodeAt(s) === 36 ? (l = "$", s++) : (l = null, d('"$"')), l === null && (o.charCodeAt(s) === 44 ? (l = ",", s++) : (l = null, d('","')))))))); l !== null; )
|
1063
1063
|
e.push(l), l = F(), l === null && (l = ve(), l === null && (o.charCodeAt(s) === 38 ? (l = "&", s++) : (l = null, d('"&"')), l === null && (o.charCodeAt(s) === 61 ? (l = "=", s++) : (l = null, d('"="')), l === null && (o.charCodeAt(s) === 43 ? (l = "+", s++) : (l = null, d('"+"')), l === null && (o.charCodeAt(s) === 36 ? (l = "$", s++) : (l = null, d('"$"')), l === null && (o.charCodeAt(s) === 44 ? (l = ",", s++) : (l = null, d('","'))))))));
|
@@ -1067,15 +1067,15 @@ function rs() {
|
|
1067
1067
|
}
|
1068
1068
|
function Yt() {
|
1069
1069
|
var e, l, u, f, h;
|
1070
|
-
return f = s, e =
|
1070
|
+
return f = s, e = is(), e !== null ? (h = s, o.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, d('":"')), l !== null ? (u = _r(), u !== null ? l = [l, u] : (l = null, s = h)) : (l = null, s = h), l = l !== null ? l : "", l !== null ? e = [e, l] : (e = null, s = f)) : (e = null, s = f), e;
|
1071
1071
|
}
|
1072
|
-
function
|
1072
|
+
function is() {
|
1073
1073
|
var e, l;
|
1074
|
-
return l = s, e =
|
1074
|
+
return l = s, e = js(), e === null && (e = Bt(), e === null && (e = qs())), e !== null && (e = function(u) {
|
1075
1075
|
return w.host = o.substring(s, u).toLowerCase(), w.host;
|
1076
1076
|
}(l)), e === null && (s = l), e;
|
1077
1077
|
}
|
1078
|
-
function
|
1078
|
+
function js() {
|
1079
1079
|
var e, l, u, f, h, m;
|
1080
1080
|
for (f = s, h = s, e = [], m = s, l = An(), l !== null ? (o.charCodeAt(s) === 46 ? (u = ".", s++) : (u = null, d('"."')), u !== null ? l = [l, u] : (l = null, s = m)) : (l = null, s = m); l !== null; )
|
1081
1081
|
e.push(l), m = s, l = An(), l !== null ? (o.charCodeAt(s) === 46 ? (u = ".", s++) : (u = null, d('"."')), u !== null ? l = [l, u] : (l = null, s = m)) : (l = null, s = m);
|
@@ -1103,15 +1103,15 @@ function rs() {
|
|
1103
1103
|
e = null, s = f;
|
1104
1104
|
return e;
|
1105
1105
|
}
|
1106
|
-
function
|
1106
|
+
function qs() {
|
1107
1107
|
var e, l, u, f, h;
|
1108
1108
|
return f = s, h = s, o.charCodeAt(s) === 91 ? (e = "[", s++) : (e = null, d('"["')), e !== null ? (l = me(), l !== null ? (o.charCodeAt(s) === 93 ? (u = "]", s++) : (u = null, d('"]"')), u !== null ? e = [e, l, u] : (e = null, s = h)) : (e = null, s = h)) : (e = null, s = h), e !== null && (e = function(m) {
|
1109
1109
|
return w.host_type = "IPv6", o.substring(s, m);
|
1110
1110
|
}(f)), e === null && (s = f), e;
|
1111
1111
|
}
|
1112
1112
|
function me() {
|
1113
|
-
var e, l, u, f, h, m, v, S, O, ie, Ne, Rt,
|
1114
|
-
return k = s, C = s, e = oe(), e !== null ? (o.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, d('":"')), l !== null ? (u = oe(), u !== null ? (o.charCodeAt(s) === 58 ? (f = ":", s++) : (f = null, d('":"')), f !== null ? (h = oe(), h !== null ? (o.charCodeAt(s) === 58 ? (m = ":", s++) : (m = null, d('":"')), m !== null ? (v = oe(), v !== null ? (o.charCodeAt(s) === 58 ? (S = ":", s++) : (S = null, d('":"')), S !== null ? (O = oe(), O !== null ? (o.charCodeAt(s) === 58 ? (ie = ":", s++) : (ie = null, d('":"')), ie !== null ? (Ne = oe(), Ne !== null ? (o.charCodeAt(s) === 58 ? (Rt = ":", s++) : (Rt = null, d('":"')), Rt !== null ? (Ns = lt(), Ns !== null ? e = [e, l, u, f, h, m, v, S, O, ie, Ne, Rt, Ns] : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C), e === null && (C = s, o.substr(s, 2) === "::" ? (e = "::", s += 2) : (e = null, d('"::"')), e !== null ? (l = oe(), l !== null ? (o.charCodeAt(s) === 58 ? (u = ":", s++) : (u = null, d('":"')), u !== null ? (f = oe(), f !== null ? (o.charCodeAt(s) === 58 ? (h = ":", s++) : (h = null, d('":"')), h !== null ? (m = oe(), m !== null ? (o.charCodeAt(s) === 58 ? (v = ":", s++) : (v = null, d('":"')), v !== null ? (S = oe(), S !== null ? (o.charCodeAt(s) === 58 ? (O = ":", s++) : (O = null, d('":"')), O !== null ? (ie = oe(), ie !== null ? (o.charCodeAt(s) === 58 ? (Ne = ":", s++) : (Ne = null, d('":"')), Ne !== null ? (Rt = lt(), Rt !== null ? e = [e, l, u, f, h, m, v, S, O, ie, Ne, Rt] : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C), e === null && (C = s, o.substr(s, 2) === "::" ? (e = "::", s += 2) : (e = null, d('"::"')), e !== null ? (l = oe(), l !== null ? (o.charCodeAt(s) === 58 ? (u = ":", s++) : (u = null, d('":"')), u !== null ? (f = oe(), f !== null ? (o.charCodeAt(s) === 58 ? (h = ":", s++) : (h = null, d('":"')), h !== null ? (m = oe(), m !== null ? (o.charCodeAt(s) === 58 ? (v = ":", s++) : (v = null, d('":"')), v !== null ? (S = oe(), S !== null ? (o.charCodeAt(s) === 58 ? (O = ":", s++) : (O = null, d('":"')), O !== null ? (ie = lt(), ie !== null ? e = [e, l, u, f, h, m, v, S, O, ie] : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C), e === null && (C = s, o.substr(s, 2) === "::" ? (e = "::", s += 2) : (e = null, d('"::"')), e !== null ? (l = oe(), l !== null ? (o.charCodeAt(s) === 58 ? (u = ":", s++) : (u = null, d('":"')), u !== null ? (f = oe(), f !== null ? (o.charCodeAt(s) === 58 ? (h = ":", s++) : (h = null, d('":"')), h !== null ? (m = oe(), m !== null ? (o.charCodeAt(s) === 58 ? (v = ":", s++) : (v = null, d('":"')), v !== null ? (S = lt(), S !== null ? e = [e, l, u, f, h, m, v, S] : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C), e === null && (C = s, o.substr(s, 2) === "::" ? (e = "::", s += 2) : (e = null, d('"::"')), e !== null ? (l = oe(), l !== null ? (o.charCodeAt(s) === 58 ? (u = ":", s++) : (u = null, d('":"')), u !== null ? (f = oe(), f !== null ? (o.charCodeAt(s) === 58 ? (h = ":", s++) : (h = null, d('":"')), h !== null ? (m = lt(), m !== null ? e = [e, l, u, f, h, m] : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C), e === null && (C = s, o.substr(s, 2) === "::" ? (e = "::", s += 2) : (e = null, d('"::"')), e !== null ? (l = oe(), l !== null ? (o.charCodeAt(s) === 58 ? (u = ":", s++) : (u = null, d('":"')), u !== null ? (f = lt(), f !== null ? e = [e, l, u, f] : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C), e === null && (C = s, o.substr(s, 2) === "::" ? (e = "::", s += 2) : (e = null, d('"::"')), e !== null ? (l = lt(), l !== null ? e = [e, l] : (e = null, s = C)) : (e = null, s = C), e === null && (C = s, o.substr(s, 2) === "::" ? (e = "::", s += 2) : (e = null, d('"::"')), e !== null ? (l = oe(), l !== null ? e = [e, l] : (e = null, s = C)) : (e = null, s = C), e === null && (C = s, e = oe(), e !== null ? (o.substr(s, 2) === "::" ? (l = "::", s += 2) : (l = null, d('"::"')), l !== null ? (u = oe(), u !== null ? (o.charCodeAt(s) === 58 ? (f = ":", s++) : (f = null, d('":"')), f !== null ? (h = oe(), h !== null ? (o.charCodeAt(s) === 58 ? (m = ":", s++) : (m = null, d('":"')), m !== null ? (v = oe(), v !== null ? (o.charCodeAt(s) === 58 ? (S = ":", s++) : (S = null, d('":"')), S !== null ? (O = oe(), O !== null ? (o.charCodeAt(s) === 58 ? (ie = ":", s++) : (ie = null, d('":"')), ie !== null ? (Ne = lt(), Ne !== null ? e = [e, l, u, f, h, m, v, S, O, ie, Ne] : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C), e === null && (C = s, e = oe(), e !== null ? (Te = s, o.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, d('":"')), l !== null ? (u = oe(), u !== null ? l = [l, u] : (l = null, s = Te)) : (l = null, s = Te), l = l !== null ? l : "", l !== null ? (o.substr(s, 2) === "::" ? (u = "::", s += 2) : (u = null, d('"::"')), u !== null ? (f = oe(), f !== null ? (o.charCodeAt(s) === 58 ? (h = ":", s++) : (h = null, d('":"')), h !== null ? (m = oe(), m !== null ? (o.charCodeAt(s) === 58 ? (v = ":", s++) : (v = null, d('":"')), v !== null ? (S = oe(), S !== null ? (o.charCodeAt(s) === 58 ? (O = ":", s++) : (O = null, d('":"')), O !== null ? (ie = lt(), ie !== null ? e = [e, l, u, f, h, m, v, S, O, ie] : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C), e === null && (C = s, e = oe(), e !== null ? (Te = s, o.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, d('":"')), l !== null ? (u = oe(), u !== null ? l = [l, u] : (l = null, s = Te)) : (l = null, s = Te), l = l !== null ? l : "", l !== null ? (Te = s, o.charCodeAt(s) === 58 ? (u = ":", s++) : (u = null, d('":"')), u !== null ? (f = oe(), f !== null ? u = [u, f] : (u = null, s = Te)) : (u = null, s = Te), u = u !== null ? u : "", u !== null ? (o.substr(s, 2) === "::" ? (f = "::", s += 2) : (f = null, d('"::"')), f !== null ? (h = oe(), h !== null ? (o.charCodeAt(s) === 58 ? (m = ":", s++) : (m = null, d('":"')), m !== null ? (v = oe(), v !== null ? (o.charCodeAt(s) === 58 ? (S = ":", s++) : (S = null, d('":"')), S !== null ? (O = lt(), O !== null ? e = [e, l, u, f, h, m, v, S, O] : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C), e === null && (C = s, e = oe(), e !== null ? (Te = s, o.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, d('":"')), l !== null ? (u = oe(), u !== null ? l = [l, u] : (l = null, s = Te)) : (l = null, s = Te), l = l !== null ? l : "", l !== null ? (Te = s, o.charCodeAt(s) === 58 ? (u = ":", s++) : (u = null, d('":"')), u !== null ? (f = oe(), f !== null ? u = [u, f] : (u = null, s = Te)) : (u = null, s = Te), u = u !== null ? u : "", u !== null ? (Te = s, o.charCodeAt(s) === 58 ? (f = ":", s++) : (f = null, d('":"')), f !== null ? (h = oe(), h !== null ? f = [f, h] : (f = null, s = Te)) : (f = null, s = Te), f = f !== null ? f : "", f !== null ? (o.substr(s, 2) === "::" ? (h = "::", s += 2) : (h = null, d('"::"')), h !== null ? (m = oe(), m !== null ? (o.charCodeAt(s) === 58 ? (v = ":", s++) : (v = null, d('":"')), v !== null ? (S = lt(), S !== null ? e = [e, l, u, f, h, m, v, S] : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C), e === null && (C = s, e = oe(), e !== null ? (Te = s, o.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, d('":"')), l !== null ? (u = oe(), u !== null ? l = [l, u] : (l = null, s = Te)) : (l = null, s = Te), l = l !== null ? l : "", l !== null ? (Te = s, o.charCodeAt(s) === 58 ? (u = ":", s++) : (u = null, d('":"')), u !== null ? (f = oe(), f !== null ? u = [u, f] : (u = null, s = Te)) : (u = null, s = Te), u = u !== null ? u : "", u !== null ? (Te = s, o.charCodeAt(s) === 58 ? (f = ":", s++) : (f = null, d('":"')), f !== null ? (h = oe(), h !== null ? f = [f, h] : (f = null, s = Te)) : (f = null, s = Te), f = f !== null ? f : "", f !== null ? (Te = s, o.charCodeAt(s) === 58 ? (h = ":", s++) : (h = null, d('":"')), h !== null ? (m = oe(), m !== null ? h = [h, m] : (h = null, s = Te)) : (h = null, s = Te), h = h !== null ? h : "", h !== null ? (o.substr(s, 2) === "::" ? (m = "::", s += 2) : (m = null, d('"::"')), m !== null ? (v = lt(), v !== null ? e = [e, l, u, f, h, m, v] : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C), e === null && (C = s, e = oe(), e !== null ? (Te = s, o.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, d('":"')), l !== null ? (u = oe(), u !== null ? l = [l, u] : (l = null, s = Te)) : (l = null, s = Te), l = l !== null ? l : "", l !== null ? (Te = s, o.charCodeAt(s) === 58 ? (u = ":", s++) : (u = null, d('":"')), u !== null ? (f = oe(), f !== null ? u = [u, f] : (u = null, s = Te)) : (u = null, s = Te), u = u !== null ? u : "", u !== null ? (Te = s, o.charCodeAt(s) === 58 ? (f = ":", s++) : (f = null, d('":"')), f !== null ? (h = oe(), h !== null ? f = [f, h] : (f = null, s = Te)) : (f = null, s = Te), f = f !== null ? f : "", f !== null ? (Te = s, o.charCodeAt(s) === 58 ? (h = ":", s++) : (h = null, d('":"')), h !== null ? (m = oe(), m !== null ? h = [h, m] : (h = null, s = Te)) : (h = null, s = Te), h = h !== null ? h : "", h !== null ? (Te = s, o.charCodeAt(s) === 58 ? (m = ":", s++) : (m = null, d('":"')), m !== null ? (v = oe(), v !== null ? m = [m, v] : (m = null, s = Te)) : (m = null, s = Te), m = m !== null ? m : "", m !== null ? (o.substr(s, 2) === "::" ? (v = "::", s += 2) : (v = null, d('"::"')), v !== null ? (S = oe(), S !== null ? e = [e, l, u, f, h, m, v, S] : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C), e === null && (C = s, e = oe(), e !== null ? (Te = s, o.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, d('":"')), l !== null ? (u = oe(), u !== null ? l = [l, u] : (l = null, s = Te)) : (l = null, s = Te), l = l !== null ? l : "", l !== null ? (Te = s, o.charCodeAt(s) === 58 ? (u = ":", s++) : (u = null, d('":"')), u !== null ? (f = oe(), f !== null ? u = [u, f] : (u = null, s = Te)) : (u = null, s = Te), u = u !== null ? u : "", u !== null ? (Te = s, o.charCodeAt(s) === 58 ? (f = ":", s++) : (f = null, d('":"')), f !== null ? (h = oe(), h !== null ? f = [f, h] : (f = null, s = Te)) : (f = null, s = Te), f = f !== null ? f : "", f !== null ? (Te = s, o.charCodeAt(s) === 58 ? (h = ":", s++) : (h = null, d('":"')), h !== null ? (m = oe(), m !== null ? h = [h, m] : (h = null, s = Te)) : (h = null, s = Te), h = h !== null ? h : "", h !== null ? (Te = s, o.charCodeAt(s) === 58 ? (m = ":", s++) : (m = null, d('":"')), m !== null ? (v = oe(), v !== null ? m = [m, v] : (m = null, s = Te)) : (m = null, s = Te), m = m !== null ? m : "", m !== null ? (Te = s, o.charCodeAt(s) === 58 ? (v = ":", s++) : (v = null, d('":"')), v !== null ? (S = oe(), S !== null ? v = [v, S] : (v = null, s = Te)) : (v = null, s = Te), v = v !== null ? v : "", v !== null ? (o.substr(s, 2) === "::" ? (S = "::", s += 2) : (S = null, d('"::"')), S !== null ? e = [e, l, u, f, h, m, v, S] : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C))))))))))))))), e !== null && (e = function(E_) {
|
1113
|
+
var e, l, u, f, h, m, v, S, O, ie, Ne, Rt, Ds, k, C, Te;
|
1114
|
+
return k = s, C = s, e = oe(), e !== null ? (o.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, d('":"')), l !== null ? (u = oe(), u !== null ? (o.charCodeAt(s) === 58 ? (f = ":", s++) : (f = null, d('":"')), f !== null ? (h = oe(), h !== null ? (o.charCodeAt(s) === 58 ? (m = ":", s++) : (m = null, d('":"')), m !== null ? (v = oe(), v !== null ? (o.charCodeAt(s) === 58 ? (S = ":", s++) : (S = null, d('":"')), S !== null ? (O = oe(), O !== null ? (o.charCodeAt(s) === 58 ? (ie = ":", s++) : (ie = null, d('":"')), ie !== null ? (Ne = oe(), Ne !== null ? (o.charCodeAt(s) === 58 ? (Rt = ":", s++) : (Rt = null, d('":"')), Rt !== null ? (Ds = lt(), Ds !== null ? e = [e, l, u, f, h, m, v, S, O, ie, Ne, Rt, Ds] : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C), e === null && (C = s, o.substr(s, 2) === "::" ? (e = "::", s += 2) : (e = null, d('"::"')), e !== null ? (l = oe(), l !== null ? (o.charCodeAt(s) === 58 ? (u = ":", s++) : (u = null, d('":"')), u !== null ? (f = oe(), f !== null ? (o.charCodeAt(s) === 58 ? (h = ":", s++) : (h = null, d('":"')), h !== null ? (m = oe(), m !== null ? (o.charCodeAt(s) === 58 ? (v = ":", s++) : (v = null, d('":"')), v !== null ? (S = oe(), S !== null ? (o.charCodeAt(s) === 58 ? (O = ":", s++) : (O = null, d('":"')), O !== null ? (ie = oe(), ie !== null ? (o.charCodeAt(s) === 58 ? (Ne = ":", s++) : (Ne = null, d('":"')), Ne !== null ? (Rt = lt(), Rt !== null ? e = [e, l, u, f, h, m, v, S, O, ie, Ne, Rt] : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C), e === null && (C = s, o.substr(s, 2) === "::" ? (e = "::", s += 2) : (e = null, d('"::"')), e !== null ? (l = oe(), l !== null ? (o.charCodeAt(s) === 58 ? (u = ":", s++) : (u = null, d('":"')), u !== null ? (f = oe(), f !== null ? (o.charCodeAt(s) === 58 ? (h = ":", s++) : (h = null, d('":"')), h !== null ? (m = oe(), m !== null ? (o.charCodeAt(s) === 58 ? (v = ":", s++) : (v = null, d('":"')), v !== null ? (S = oe(), S !== null ? (o.charCodeAt(s) === 58 ? (O = ":", s++) : (O = null, d('":"')), O !== null ? (ie = lt(), ie !== null ? e = [e, l, u, f, h, m, v, S, O, ie] : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C), e === null && (C = s, o.substr(s, 2) === "::" ? (e = "::", s += 2) : (e = null, d('"::"')), e !== null ? (l = oe(), l !== null ? (o.charCodeAt(s) === 58 ? (u = ":", s++) : (u = null, d('":"')), u !== null ? (f = oe(), f !== null ? (o.charCodeAt(s) === 58 ? (h = ":", s++) : (h = null, d('":"')), h !== null ? (m = oe(), m !== null ? (o.charCodeAt(s) === 58 ? (v = ":", s++) : (v = null, d('":"')), v !== null ? (S = lt(), S !== null ? e = [e, l, u, f, h, m, v, S] : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C), e === null && (C = s, o.substr(s, 2) === "::" ? (e = "::", s += 2) : (e = null, d('"::"')), e !== null ? (l = oe(), l !== null ? (o.charCodeAt(s) === 58 ? (u = ":", s++) : (u = null, d('":"')), u !== null ? (f = oe(), f !== null ? (o.charCodeAt(s) === 58 ? (h = ":", s++) : (h = null, d('":"')), h !== null ? (m = lt(), m !== null ? e = [e, l, u, f, h, m] : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C), e === null && (C = s, o.substr(s, 2) === "::" ? (e = "::", s += 2) : (e = null, d('"::"')), e !== null ? (l = oe(), l !== null ? (o.charCodeAt(s) === 58 ? (u = ":", s++) : (u = null, d('":"')), u !== null ? (f = lt(), f !== null ? e = [e, l, u, f] : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C), e === null && (C = s, o.substr(s, 2) === "::" ? (e = "::", s += 2) : (e = null, d('"::"')), e !== null ? (l = lt(), l !== null ? e = [e, l] : (e = null, s = C)) : (e = null, s = C), e === null && (C = s, o.substr(s, 2) === "::" ? (e = "::", s += 2) : (e = null, d('"::"')), e !== null ? (l = oe(), l !== null ? e = [e, l] : (e = null, s = C)) : (e = null, s = C), e === null && (C = s, e = oe(), e !== null ? (o.substr(s, 2) === "::" ? (l = "::", s += 2) : (l = null, d('"::"')), l !== null ? (u = oe(), u !== null ? (o.charCodeAt(s) === 58 ? (f = ":", s++) : (f = null, d('":"')), f !== null ? (h = oe(), h !== null ? (o.charCodeAt(s) === 58 ? (m = ":", s++) : (m = null, d('":"')), m !== null ? (v = oe(), v !== null ? (o.charCodeAt(s) === 58 ? (S = ":", s++) : (S = null, d('":"')), S !== null ? (O = oe(), O !== null ? (o.charCodeAt(s) === 58 ? (ie = ":", s++) : (ie = null, d('":"')), ie !== null ? (Ne = lt(), Ne !== null ? e = [e, l, u, f, h, m, v, S, O, ie, Ne] : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C), e === null && (C = s, e = oe(), e !== null ? (Te = s, o.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, d('":"')), l !== null ? (u = oe(), u !== null ? l = [l, u] : (l = null, s = Te)) : (l = null, s = Te), l = l !== null ? l : "", l !== null ? (o.substr(s, 2) === "::" ? (u = "::", s += 2) : (u = null, d('"::"')), u !== null ? (f = oe(), f !== null ? (o.charCodeAt(s) === 58 ? (h = ":", s++) : (h = null, d('":"')), h !== null ? (m = oe(), m !== null ? (o.charCodeAt(s) === 58 ? (v = ":", s++) : (v = null, d('":"')), v !== null ? (S = oe(), S !== null ? (o.charCodeAt(s) === 58 ? (O = ":", s++) : (O = null, d('":"')), O !== null ? (ie = lt(), ie !== null ? e = [e, l, u, f, h, m, v, S, O, ie] : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C), e === null && (C = s, e = oe(), e !== null ? (Te = s, o.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, d('":"')), l !== null ? (u = oe(), u !== null ? l = [l, u] : (l = null, s = Te)) : (l = null, s = Te), l = l !== null ? l : "", l !== null ? (Te = s, o.charCodeAt(s) === 58 ? (u = ":", s++) : (u = null, d('":"')), u !== null ? (f = oe(), f !== null ? u = [u, f] : (u = null, s = Te)) : (u = null, s = Te), u = u !== null ? u : "", u !== null ? (o.substr(s, 2) === "::" ? (f = "::", s += 2) : (f = null, d('"::"')), f !== null ? (h = oe(), h !== null ? (o.charCodeAt(s) === 58 ? (m = ":", s++) : (m = null, d('":"')), m !== null ? (v = oe(), v !== null ? (o.charCodeAt(s) === 58 ? (S = ":", s++) : (S = null, d('":"')), S !== null ? (O = lt(), O !== null ? e = [e, l, u, f, h, m, v, S, O] : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C), e === null && (C = s, e = oe(), e !== null ? (Te = s, o.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, d('":"')), l !== null ? (u = oe(), u !== null ? l = [l, u] : (l = null, s = Te)) : (l = null, s = Te), l = l !== null ? l : "", l !== null ? (Te = s, o.charCodeAt(s) === 58 ? (u = ":", s++) : (u = null, d('":"')), u !== null ? (f = oe(), f !== null ? u = [u, f] : (u = null, s = Te)) : (u = null, s = Te), u = u !== null ? u : "", u !== null ? (Te = s, o.charCodeAt(s) === 58 ? (f = ":", s++) : (f = null, d('":"')), f !== null ? (h = oe(), h !== null ? f = [f, h] : (f = null, s = Te)) : (f = null, s = Te), f = f !== null ? f : "", f !== null ? (o.substr(s, 2) === "::" ? (h = "::", s += 2) : (h = null, d('"::"')), h !== null ? (m = oe(), m !== null ? (o.charCodeAt(s) === 58 ? (v = ":", s++) : (v = null, d('":"')), v !== null ? (S = lt(), S !== null ? e = [e, l, u, f, h, m, v, S] : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C), e === null && (C = s, e = oe(), e !== null ? (Te = s, o.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, d('":"')), l !== null ? (u = oe(), u !== null ? l = [l, u] : (l = null, s = Te)) : (l = null, s = Te), l = l !== null ? l : "", l !== null ? (Te = s, o.charCodeAt(s) === 58 ? (u = ":", s++) : (u = null, d('":"')), u !== null ? (f = oe(), f !== null ? u = [u, f] : (u = null, s = Te)) : (u = null, s = Te), u = u !== null ? u : "", u !== null ? (Te = s, o.charCodeAt(s) === 58 ? (f = ":", s++) : (f = null, d('":"')), f !== null ? (h = oe(), h !== null ? f = [f, h] : (f = null, s = Te)) : (f = null, s = Te), f = f !== null ? f : "", f !== null ? (Te = s, o.charCodeAt(s) === 58 ? (h = ":", s++) : (h = null, d('":"')), h !== null ? (m = oe(), m !== null ? h = [h, m] : (h = null, s = Te)) : (h = null, s = Te), h = h !== null ? h : "", h !== null ? (o.substr(s, 2) === "::" ? (m = "::", s += 2) : (m = null, d('"::"')), m !== null ? (v = lt(), v !== null ? e = [e, l, u, f, h, m, v] : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C), e === null && (C = s, e = oe(), e !== null ? (Te = s, o.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, d('":"')), l !== null ? (u = oe(), u !== null ? l = [l, u] : (l = null, s = Te)) : (l = null, s = Te), l = l !== null ? l : "", l !== null ? (Te = s, o.charCodeAt(s) === 58 ? (u = ":", s++) : (u = null, d('":"')), u !== null ? (f = oe(), f !== null ? u = [u, f] : (u = null, s = Te)) : (u = null, s = Te), u = u !== null ? u : "", u !== null ? (Te = s, o.charCodeAt(s) === 58 ? (f = ":", s++) : (f = null, d('":"')), f !== null ? (h = oe(), h !== null ? f = [f, h] : (f = null, s = Te)) : (f = null, s = Te), f = f !== null ? f : "", f !== null ? (Te = s, o.charCodeAt(s) === 58 ? (h = ":", s++) : (h = null, d('":"')), h !== null ? (m = oe(), m !== null ? h = [h, m] : (h = null, s = Te)) : (h = null, s = Te), h = h !== null ? h : "", h !== null ? (Te = s, o.charCodeAt(s) === 58 ? (m = ":", s++) : (m = null, d('":"')), m !== null ? (v = oe(), v !== null ? m = [m, v] : (m = null, s = Te)) : (m = null, s = Te), m = m !== null ? m : "", m !== null ? (o.substr(s, 2) === "::" ? (v = "::", s += 2) : (v = null, d('"::"')), v !== null ? (S = oe(), S !== null ? e = [e, l, u, f, h, m, v, S] : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C), e === null && (C = s, e = oe(), e !== null ? (Te = s, o.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, d('":"')), l !== null ? (u = oe(), u !== null ? l = [l, u] : (l = null, s = Te)) : (l = null, s = Te), l = l !== null ? l : "", l !== null ? (Te = s, o.charCodeAt(s) === 58 ? (u = ":", s++) : (u = null, d('":"')), u !== null ? (f = oe(), f !== null ? u = [u, f] : (u = null, s = Te)) : (u = null, s = Te), u = u !== null ? u : "", u !== null ? (Te = s, o.charCodeAt(s) === 58 ? (f = ":", s++) : (f = null, d('":"')), f !== null ? (h = oe(), h !== null ? f = [f, h] : (f = null, s = Te)) : (f = null, s = Te), f = f !== null ? f : "", f !== null ? (Te = s, o.charCodeAt(s) === 58 ? (h = ":", s++) : (h = null, d('":"')), h !== null ? (m = oe(), m !== null ? h = [h, m] : (h = null, s = Te)) : (h = null, s = Te), h = h !== null ? h : "", h !== null ? (Te = s, o.charCodeAt(s) === 58 ? (m = ":", s++) : (m = null, d('":"')), m !== null ? (v = oe(), v !== null ? m = [m, v] : (m = null, s = Te)) : (m = null, s = Te), m = m !== null ? m : "", m !== null ? (Te = s, o.charCodeAt(s) === 58 ? (v = ":", s++) : (v = null, d('":"')), v !== null ? (S = oe(), S !== null ? v = [v, S] : (v = null, s = Te)) : (v = null, s = Te), v = v !== null ? v : "", v !== null ? (o.substr(s, 2) === "::" ? (S = "::", s += 2) : (S = null, d('"::"')), S !== null ? e = [e, l, u, f, h, m, v, S] : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C)) : (e = null, s = C))))))))))))))), e !== null && (e = function(E_) {
|
1115
1115
|
return w.host_type = "IPv6", o.substring(s, E_);
|
1116
1116
|
}(k)), e === null && (s = k), e;
|
1117
1117
|
}
|
@@ -1125,11 +1125,11 @@ function rs() {
|
|
1125
1125
|
}
|
1126
1126
|
function Bt() {
|
1127
1127
|
var e, l, u, f, h, m, v, S, O;
|
1128
|
-
return S = s, O = s, e =
|
1128
|
+
return S = s, O = s, e = vs(), e !== null ? (o.charCodeAt(s) === 46 ? (l = ".", s++) : (l = null, d('"."')), l !== null ? (u = vs(), u !== null ? (o.charCodeAt(s) === 46 ? (f = ".", s++) : (f = null, d('"."')), f !== null ? (h = vs(), h !== null ? (o.charCodeAt(s) === 46 ? (m = ".", s++) : (m = null, d('"."')), m !== null ? (v = vs(), v !== null ? e = [e, l, u, f, h, m, v] : (e = null, s = O)) : (e = null, s = O)) : (e = null, s = O)) : (e = null, s = O)) : (e = null, s = O)) : (e = null, s = O)) : (e = null, s = O), e !== null && (e = function(ie) {
|
1129
1129
|
return w.host_type = "IPv4", o.substring(s, ie);
|
1130
1130
|
}(S)), e === null && (s = S), e;
|
1131
1131
|
}
|
1132
|
-
function
|
1132
|
+
function vs() {
|
1133
1133
|
var e, l, u, f;
|
1134
1134
|
return f = s, o.substr(s, 2) === "25" ? (e = "25", s += 2) : (e = null, d('"25"')), e !== null ? (/^[0-5]/.test(o.charAt(s)) ? (l = o.charAt(s), s++) : (l = null, d("[0-5]")), l !== null ? e = [e, l] : (e = null, s = f)) : (e = null, s = f), e === null && (f = s, o.charCodeAt(s) === 50 ? (e = "2", s++) : (e = null, d('"2"')), e !== null ? (/^[0-4]/.test(o.charAt(s)) ? (l = o.charAt(s), s++) : (l = null, d("[0-4]")), l !== null ? (u = T(), u !== null ? e = [e, l, u] : (e = null, s = f)) : (e = null, s = f)) : (e = null, s = f), e === null && (f = s, o.charCodeAt(s) === 49 ? (e = "1", s++) : (e = null, d('"1"')), e !== null ? (l = T(), l !== null ? (u = T(), u !== null ? e = [e, l, u] : (e = null, s = f)) : (e = null, s = f)) : (e = null, s = f), e === null && (f = s, /^[1-9]/.test(o.charAt(s)) ? (e = o.charAt(s), s++) : (e = null, d("[1-9]")), e !== null ? (l = T(), l !== null ? e = [e, l] : (e = null, s = f)) : (e = null, s = f), e === null && (e = T())))), e;
|
1135
1135
|
}
|
@@ -1163,7 +1163,7 @@ function rs() {
|
|
1163
1163
|
}
|
1164
1164
|
function pr() {
|
1165
1165
|
var e, l, u, f;
|
1166
|
-
return u = s, f = s, o.substr(s, 7).toLowerCase() === "method=" ? (e = o.substr(s, 7), s += 7) : (e = null, d('"method="')), e !== null ? (l =
|
1166
|
+
return u = s, f = s, o.substr(s, 7).toLowerCase() === "method=" ? (e = o.substr(s, 7), s += 7) : (e = null, d('"method="')), e !== null ? (l = Xs(), l !== null ? e = [e, l] : (e = null, s = f)) : (e = null, s = f), e !== null && (e = function(h, m) {
|
1167
1167
|
w.uri_params || (w.uri_params = {}), w.uri_params.method = m;
|
1168
1168
|
}(u, e[1])), e === null && (s = u), e;
|
1169
1169
|
}
|
@@ -1175,7 +1175,7 @@ function rs() {
|
|
1175
1175
|
}
|
1176
1176
|
function gr() {
|
1177
1177
|
var e, l, u, f;
|
1178
|
-
return u = s, f = s, o.substr(s, 6).toLowerCase() === "maddr=" ? (e = o.substr(s, 6), s += 6) : (e = null, d('"maddr="')), e !== null ? (l =
|
1178
|
+
return u = s, f = s, o.substr(s, 6).toLowerCase() === "maddr=" ? (e = o.substr(s, 6), s += 6) : (e = null, d('"maddr="')), e !== null ? (l = is(), l !== null ? e = [e, l] : (e = null, s = f)) : (e = null, s = f), e !== null && (e = function(h, m) {
|
1179
1179
|
w.uri_params || (w.uri_params = {}), w.uri_params.maddr = m;
|
1180
1180
|
}(u, e[1])), e === null && (s = u), e;
|
1181
1181
|
}
|
@@ -1187,33 +1187,33 @@ function rs() {
|
|
1187
1187
|
}
|
1188
1188
|
function vr() {
|
1189
1189
|
var e, l, u, f, h, m;
|
1190
|
-
return f = s, h = s, e = Er(), e !== null ? (m = s, o.charCodeAt(s) === 61 ? (l = "=", s++) : (l = null, d('"="')), l !== null ? (u =
|
1190
|
+
return f = s, h = s, e = Er(), e !== null ? (m = s, o.charCodeAt(s) === 61 ? (l = "=", s++) : (l = null, d('"="')), l !== null ? (u = Es(), u !== null ? l = [l, u] : (l = null, s = m)) : (l = null, s = m), l = l !== null ? l : "", l !== null ? e = [e, l] : (e = null, s = h)) : (e = null, s = h), e !== null && (e = function(v, S, O) {
|
1191
1191
|
w.uri_params || (w.uri_params = {}), typeof O > "u" ? O = void 0 : O = O[1], w.uri_params[S.toLowerCase()] = O;
|
1192
1192
|
}(f, e[0], e[1])), e === null && (s = f), e;
|
1193
1193
|
}
|
1194
1194
|
function Er() {
|
1195
1195
|
var e, l, u;
|
1196
|
-
if (u = s, l =
|
1196
|
+
if (u = s, l = Ss(), l !== null)
|
1197
1197
|
for (e = []; l !== null; )
|
1198
|
-
e.push(l), l =
|
1198
|
+
e.push(l), l = Ss();
|
1199
1199
|
else
|
1200
1200
|
e = null;
|
1201
1201
|
return e !== null && (e = function(f, h) {
|
1202
1202
|
return h.join("");
|
1203
1203
|
}(u, e)), e === null && (s = u), e;
|
1204
1204
|
}
|
1205
|
-
function
|
1205
|
+
function Es() {
|
1206
1206
|
var e, l, u;
|
1207
|
-
if (u = s, l =
|
1207
|
+
if (u = s, l = Ss(), l !== null)
|
1208
1208
|
for (e = []; l !== null; )
|
1209
|
-
e.push(l), l =
|
1209
|
+
e.push(l), l = Ss();
|
1210
1210
|
else
|
1211
1211
|
e = null;
|
1212
1212
|
return e !== null && (e = function(f, h) {
|
1213
1213
|
return h.join("");
|
1214
1214
|
}(u, e)), e === null && (s = u), e;
|
1215
1215
|
}
|
1216
|
-
function
|
1216
|
+
function Ss() {
|
1217
1217
|
var e;
|
1218
1218
|
return e = Sr(), e === null && (e = F(), e === null && (e = ve())), e;
|
1219
1219
|
}
|
@@ -1221,12 +1221,12 @@ function rs() {
|
|
1221
1221
|
var e;
|
1222
1222
|
return o.charCodeAt(s) === 91 ? (e = "[", s++) : (e = null, d('"["')), e === null && (o.charCodeAt(s) === 93 ? (e = "]", s++) : (e = null, d('"]"')), e === null && (o.charCodeAt(s) === 47 ? (e = "/", s++) : (e = null, d('"/"')), e === null && (o.charCodeAt(s) === 58 ? (e = ":", s++) : (e = null, d('":"')), e === null && (o.charCodeAt(s) === 38 ? (e = "&", s++) : (e = null, d('"&"')), e === null && (o.charCodeAt(s) === 43 ? (e = "+", s++) : (e = null, d('"+"')), e === null && (o.charCodeAt(s) === 36 ? (e = "$", s++) : (e = null, d('"$"')))))))), e;
|
1223
1223
|
}
|
1224
|
-
function
|
1224
|
+
function Bs() {
|
1225
1225
|
var e, l, u, f, h, m, v;
|
1226
1226
|
if (m = s, o.charCodeAt(s) === 63 ? (e = "?", s++) : (e = null, d('"?"')), e !== null)
|
1227
|
-
if (l =
|
1228
|
-
for (u = [], v = s, o.charCodeAt(s) === 38 ? (f = "&", s++) : (f = null, d('"&"')), f !== null ? (h =
|
1229
|
-
u.push(f), v = s, o.charCodeAt(s) === 38 ? (f = "&", s++) : (f = null, d('"&"')), f !== null ? (h =
|
1227
|
+
if (l = Gs(), l !== null) {
|
1228
|
+
for (u = [], v = s, o.charCodeAt(s) === 38 ? (f = "&", s++) : (f = null, d('"&"')), f !== null ? (h = Gs(), h !== null ? f = [f, h] : (f = null, s = v)) : (f = null, s = v); f !== null; )
|
1229
|
+
u.push(f), v = s, o.charCodeAt(s) === 38 ? (f = "&", s++) : (f = null, d('"&"')), f !== null ? (h = Gs(), h !== null ? f = [f, h] : (f = null, s = v)) : (f = null, s = v);
|
1230
1230
|
u !== null ? e = [e, l, u] : (e = null, s = m);
|
1231
1231
|
} else
|
1232
1232
|
e = null, s = m;
|
@@ -1234,28 +1234,28 @@ function rs() {
|
|
1234
1234
|
e = null, s = m;
|
1235
1235
|
return e;
|
1236
1236
|
}
|
1237
|
-
function
|
1237
|
+
function Gs() {
|
1238
1238
|
var e, l, u, f, h;
|
1239
|
-
return f = s, h = s, e = yr(), e !== null ? (o.charCodeAt(s) === 61 ? (l = "=", s++) : (l = null, d('"="')), l !== null ? (u =
|
1239
|
+
return f = s, h = s, e = yr(), e !== null ? (o.charCodeAt(s) === 61 ? (l = "=", s++) : (l = null, d('"="')), l !== null ? (u = ys(), u !== null ? e = [e, l, u] : (e = null, s = h)) : (e = null, s = h)) : (e = null, s = h), e !== null && (e = function(m, v, S) {
|
1240
1240
|
v = v.join("").toLowerCase(), S = S.join(""), w.uri_headers || (w.uri_headers = {}), w.uri_headers[v] ? w.uri_headers[v].push(S) : w.uri_headers[v] = [S];
|
1241
1241
|
}(f, e[0], e[2])), e === null && (s = f), e;
|
1242
1242
|
}
|
1243
1243
|
function yr() {
|
1244
1244
|
var e, l;
|
1245
|
-
if (l =
|
1245
|
+
if (l = Ws(), l === null && (l = F(), l === null && (l = ve())), l !== null)
|
1246
1246
|
for (e = []; l !== null; )
|
1247
|
-
e.push(l), l =
|
1247
|
+
e.push(l), l = Ws(), l === null && (l = F(), l === null && (l = ve()));
|
1248
1248
|
else
|
1249
1249
|
e = null;
|
1250
1250
|
return e;
|
1251
1251
|
}
|
1252
|
-
function
|
1252
|
+
function ys() {
|
1253
1253
|
var e, l;
|
1254
|
-
for (e = [], l =
|
1255
|
-
e.push(l), l =
|
1254
|
+
for (e = [], l = Ws(), l === null && (l = F(), l === null && (l = ve())); l !== null; )
|
1255
|
+
e.push(l), l = Ws(), l === null && (l = F(), l === null && (l = ve()));
|
1256
1256
|
return e;
|
1257
1257
|
}
|
1258
|
-
function
|
1258
|
+
function Ws() {
|
1259
1259
|
var e;
|
1260
1260
|
return o.charCodeAt(s) === 91 ? (e = "[", s++) : (e = null, d('"["')), e === null && (o.charCodeAt(s) === 93 ? (e = "]", s++) : (e = null, d('"]"')), e === null && (o.charCodeAt(s) === 47 ? (e = "/", s++) : (e = null, d('"/"')), e === null && (o.charCodeAt(s) === 63 ? (e = "?", s++) : (e = null, d('"?"')), e === null && (o.charCodeAt(s) === 58 ? (e = ":", s++) : (e = null, d('":"')), e === null && (o.charCodeAt(s) === 43 ? (e = "+", s++) : (e = null, d('"+"')), e === null && (o.charCodeAt(s) === 36 ? (e = "$", s++) : (e = null, d('"$"')))))))), e;
|
1261
1261
|
}
|
@@ -1265,7 +1265,7 @@ function rs() {
|
|
1265
1265
|
}
|
1266
1266
|
function Ar() {
|
1267
1267
|
var e, l, u, f, h, m;
|
1268
|
-
return m = s, e =
|
1268
|
+
return m = s, e = Xs(), e !== null ? (l = $(), l !== null ? (u = bn(), u !== null ? (f = $(), f !== null ? (h = Dn(), h !== null ? e = [e, l, u, f, h] : (e = null, s = m)) : (e = null, s = m)) : (e = null, s = m)) : (e = null, s = m)) : (e = null, s = m), e;
|
1269
1269
|
}
|
1270
1270
|
function bn() {
|
1271
1271
|
var e;
|
@@ -1273,31 +1273,31 @@ function rs() {
|
|
1273
1273
|
}
|
1274
1274
|
function wn() {
|
1275
1275
|
var e, l, u, f;
|
1276
|
-
return f = s, e = Ir(), e !== null ? (o.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, d('":"')), l !== null ? (u = Cr(), u === null && (u =
|
1276
|
+
return f = s, e = Ir(), e !== null ? (o.charCodeAt(s) === 58 ? (l = ":", s++) : (l = null, d('":"')), l !== null ? (u = Cr(), u === null && (u = As()), u !== null ? e = [e, l, u] : (e = null, s = f)) : (e = null, s = f)) : (e = null, s = f), e;
|
1277
1277
|
}
|
1278
1278
|
function Cr() {
|
1279
1279
|
var e, l, u, f, h;
|
1280
|
-
return f = s, e =
|
1280
|
+
return f = s, e = Ks(), e === null && (e = Ys()), e !== null ? (h = s, o.charCodeAt(s) === 63 ? (l = "?", s++) : (l = null, d('"?"')), l !== null ? (u = On(), u !== null ? l = [l, u] : (l = null, s = h)) : (l = null, s = h), l = l !== null ? l : "", l !== null ? e = [e, l] : (e = null, s = f)) : (e = null, s = f), e;
|
1281
1281
|
}
|
1282
|
-
function
|
1282
|
+
function Ks() {
|
1283
1283
|
var e, l, u, f;
|
1284
|
-
return f = s, o.substr(s, 2) === "//" ? (e = "//", s += 2) : (e = null, d('"//"')), e !== null ? (l = br(), l !== null ? (u =
|
1284
|
+
return f = s, o.substr(s, 2) === "//" ? (e = "//", s += 2) : (e = null, d('"//"')), e !== null ? (l = br(), l !== null ? (u = Ys(), u = u !== null ? u : "", u !== null ? e = [e, l, u] : (e = null, s = f)) : (e = null, s = f)) : (e = null, s = f), e;
|
1285
1285
|
}
|
1286
|
-
function
|
1286
|
+
function Ys() {
|
1287
1287
|
var e, l, u;
|
1288
|
-
return u = s, o.charCodeAt(s) === 47 ? (e = "/", s++) : (e = null, d('"/"')), e !== null ? (l =
|
1288
|
+
return u = s, o.charCodeAt(s) === 47 ? (e = "/", s++) : (e = null, d('"/"')), e !== null ? (l = zs(), l !== null ? e = [e, l] : (e = null, s = u)) : (e = null, s = u), e;
|
1289
1289
|
}
|
1290
|
-
function
|
1290
|
+
function As() {
|
1291
1291
|
var e, l, u, f;
|
1292
1292
|
if (f = s, e = Rr(), e !== null) {
|
1293
|
-
for (l = [], u =
|
1294
|
-
l.push(u), u =
|
1293
|
+
for (l = [], u = Cs(); u !== null; )
|
1294
|
+
l.push(u), u = Cs();
|
1295
1295
|
l !== null ? e = [e, l] : (e = null, s = f);
|
1296
1296
|
} else
|
1297
1297
|
e = null, s = f;
|
1298
1298
|
return e;
|
1299
1299
|
}
|
1300
|
-
function
|
1300
|
+
function Cs() {
|
1301
1301
|
var e;
|
1302
1302
|
return e = N(), e === null && (e = F(), e === null && (e = ve())), e;
|
1303
1303
|
}
|
@@ -1305,35 +1305,35 @@ function rs() {
|
|
1305
1305
|
var e;
|
1306
1306
|
return e = F(), e === null && (e = ve(), e === null && (o.charCodeAt(s) === 59 ? (e = ";", s++) : (e = null, d('";"')), e === null && (o.charCodeAt(s) === 63 ? (e = "?", s++) : (e = null, d('"?"')), e === null && (o.charCodeAt(s) === 58 ? (e = ":", s++) : (e = null, d('":"')), e === null && (o.charCodeAt(s) === 64 ? (e = "@", s++) : (e = null, d('"@"')), e === null && (o.charCodeAt(s) === 38 ? (e = "&", s++) : (e = null, d('"&"')), e === null && (o.charCodeAt(s) === 61 ? (e = "=", s++) : (e = null, d('"="')), e === null && (o.charCodeAt(s) === 43 ? (e = "+", s++) : (e = null, d('"+"')), e === null && (o.charCodeAt(s) === 36 ? (e = "$", s++) : (e = null, d('"$"')), e === null && (o.charCodeAt(s) === 44 ? (e = ",", s++) : (e = null, d('","')))))))))))), e;
|
1307
1307
|
}
|
1308
|
-
function
|
1308
|
+
function zs() {
|
1309
1309
|
var e, l, u, f, h, m;
|
1310
|
-
if (h = s, e =
|
1311
|
-
for (l = [], m = s, o.charCodeAt(s) === 47 ? (u = "/", s++) : (u = null, d('"/"')), u !== null ? (f =
|
1312
|
-
l.push(u), m = s, o.charCodeAt(s) === 47 ? (u = "/", s++) : (u = null, d('"/"')), u !== null ? (f =
|
1310
|
+
if (h = s, e = Rs(), e !== null) {
|
1311
|
+
for (l = [], m = s, o.charCodeAt(s) === 47 ? (u = "/", s++) : (u = null, d('"/"')), u !== null ? (f = Rs(), f !== null ? u = [u, f] : (u = null, s = m)) : (u = null, s = m); u !== null; )
|
1312
|
+
l.push(u), m = s, o.charCodeAt(s) === 47 ? (u = "/", s++) : (u = null, d('"/"')), u !== null ? (f = Rs(), f !== null ? u = [u, f] : (u = null, s = m)) : (u = null, s = m);
|
1313
1313
|
l !== null ? e = [e, l] : (e = null, s = h);
|
1314
1314
|
} else
|
1315
1315
|
e = null, s = h;
|
1316
1316
|
return e;
|
1317
1317
|
}
|
1318
|
-
function
|
1318
|
+
function Rs() {
|
1319
1319
|
var e, l, u, f, h, m;
|
1320
|
-
for (h = s, e = [], l =
|
1321
|
-
e.push(l), l =
|
1320
|
+
for (h = s, e = [], l = Is(); l !== null; )
|
1321
|
+
e.push(l), l = Is();
|
1322
1322
|
if (e !== null) {
|
1323
|
-
for (l = [], m = s, o.charCodeAt(s) === 59 ? (u = ";", s++) : (u = null, d('";"')), u !== null ? (f =
|
1324
|
-
l.push(u), m = s, o.charCodeAt(s) === 59 ? (u = ";", s++) : (u = null, d('";"')), u !== null ? (f =
|
1323
|
+
for (l = [], m = s, o.charCodeAt(s) === 59 ? (u = ";", s++) : (u = null, d('";"')), u !== null ? (f = ls(), f !== null ? u = [u, f] : (u = null, s = m)) : (u = null, s = m); u !== null; )
|
1324
|
+
l.push(u), m = s, o.charCodeAt(s) === 59 ? (u = ";", s++) : (u = null, d('";"')), u !== null ? (f = ls(), f !== null ? u = [u, f] : (u = null, s = m)) : (u = null, s = m);
|
1325
1325
|
l !== null ? e = [e, l] : (e = null, s = h);
|
1326
1326
|
} else
|
1327
1327
|
e = null, s = h;
|
1328
1328
|
return e;
|
1329
1329
|
}
|
1330
|
-
function
|
1330
|
+
function ls() {
|
1331
1331
|
var e, l;
|
1332
|
-
for (e = [], l =
|
1333
|
-
e.push(l), l =
|
1332
|
+
for (e = [], l = Is(); l !== null; )
|
1333
|
+
e.push(l), l = Is();
|
1334
1334
|
return e;
|
1335
1335
|
}
|
1336
|
-
function
|
1336
|
+
function Is() {
|
1337
1337
|
var e;
|
1338
1338
|
return e = F(), e === null && (e = ve(), e === null && (o.charCodeAt(s) === 58 ? (e = ":", s++) : (e = null, d('":"')), e === null && (o.charCodeAt(s) === 64 ? (e = "@", s++) : (e = null, d('"@"')), e === null && (o.charCodeAt(s) === 38 ? (e = "&", s++) : (e = null, d('"&"')), e === null && (o.charCodeAt(s) === 61 ? (e = "=", s++) : (e = null, d('"="')), e === null && (o.charCodeAt(s) === 43 ? (e = "+", s++) : (e = null, d('"+"')), e === null && (o.charCodeAt(s) === 36 ? (e = "$", s++) : (e = null, d('"$"')), e === null && (o.charCodeAt(s) === 44 ? (e = ",", s++) : (e = null, d('","')))))))))), e;
|
1339
1339
|
}
|
@@ -1368,8 +1368,8 @@ function rs() {
|
|
1368
1368
|
}
|
1369
1369
|
function On() {
|
1370
1370
|
var e, l;
|
1371
|
-
for (e = [], l =
|
1372
|
-
e.push(l), l =
|
1371
|
+
for (e = [], l = Cs(); l !== null; )
|
1372
|
+
e.push(l), l = Cs();
|
1373
1373
|
return e;
|
1374
1374
|
}
|
1375
1375
|
function Dn() {
|
@@ -1433,13 +1433,13 @@ function rs() {
|
|
1433
1433
|
var e;
|
1434
1434
|
return o.substr(s, 6) === "NOTIFY" ? (e = "NOTIFY", s += 6) : (e = null, d('"NOTIFY"')), e;
|
1435
1435
|
}
|
1436
|
-
function
|
1436
|
+
function Js() {
|
1437
1437
|
var e;
|
1438
1438
|
return o.substr(s, 5) === "REFER" ? (e = "REFER", s += 5) : (e = null, d('"REFER"')), e;
|
1439
1439
|
}
|
1440
|
-
function
|
1440
|
+
function Xs() {
|
1441
1441
|
var e, l;
|
1442
|
-
return l = s, e = Dr(), e === null && (e = Nr(), e === null && (e = Ur(), e === null && (e = Pr(), e === null && (e = xr(), e === null && (e = Mr(), e === null && (e = kr(), e === null && (e = Lr(), e === null && (e =
|
1442
|
+
return l = s, e = Dr(), e === null && (e = Nr(), e === null && (e = Ur(), e === null && (e = Pr(), e === null && (e = xr(), e === null && (e = Mr(), e === null && (e = kr(), e === null && (e = Lr(), e === null && (e = Js(), e === null && (e = P()))))))))), e !== null && (e = function(u) {
|
1443
1443
|
return w.method = o.substring(s, u), w.method;
|
1444
1444
|
}(l)), e === null && (s = l), e;
|
1445
1445
|
}
|
@@ -1467,9 +1467,9 @@ function rs() {
|
|
1467
1467
|
}
|
1468
1468
|
function Mo() {
|
1469
1469
|
var e, l, u, f, h, m;
|
1470
|
-
if (h = s, e =
|
1471
|
-
for (l = [], m = s, u = le(), u !== null ? (f =
|
1472
|
-
l.push(u), m = s, u = le(), u !== null ? (f =
|
1470
|
+
if (h = s, e = tn(), e !== null) {
|
1471
|
+
for (l = [], m = s, u = le(), u !== null ? (f = tn(), f !== null ? u = [u, f] : (u = null, s = m)) : (u = null, s = m); u !== null; )
|
1472
|
+
l.push(u), m = s, u = le(), u !== null ? (f = tn(), f !== null ? u = [u, f] : (u = null, s = m)) : (u = null, s = m);
|
1473
1473
|
l !== null ? e = [e, l] : (e = null, s = h);
|
1474
1474
|
} else
|
1475
1475
|
e = null, s = h;
|
@@ -1525,9 +1525,9 @@ function rs() {
|
|
1525
1525
|
}
|
1526
1526
|
function Lt() {
|
1527
1527
|
var e, l, u, f, h;
|
1528
|
-
return h = s, e =
|
1528
|
+
return h = s, e = bs(), e = e !== null ? e : "", e !== null ? (l = Ce(), l !== null ? (u = De(), u !== null ? (f = xe(), f !== null ? e = [e, l, u, f] : (e = null, s = h)) : (e = null, s = h)) : (e = null, s = h)) : (e = null, s = h), e;
|
1529
1529
|
}
|
1530
|
-
function
|
1530
|
+
function bs() {
|
1531
1531
|
var e, l, u, f, h, m, v;
|
1532
1532
|
if (h = s, m = s, e = P(), e !== null) {
|
1533
1533
|
for (l = [], v = s, u = M(), u !== null ? (f = P(), f !== null ? u = [u, f] : (u = null, s = v)) : (u = null, s = v); u !== null; )
|
@@ -1582,7 +1582,7 @@ function rs() {
|
|
1582
1582
|
}
|
1583
1583
|
function ul() {
|
1584
1584
|
var e;
|
1585
|
-
return e = P(), e === null && (e =
|
1585
|
+
return e = P(), e === null && (e = is(), e === null && (e = Oe())), e;
|
1586
1586
|
}
|
1587
1587
|
function cl() {
|
1588
1588
|
var e, l, u, f, h, m;
|
@@ -1651,17 +1651,17 @@ function rs() {
|
|
1651
1651
|
}
|
1652
1652
|
function qr() {
|
1653
1653
|
var e;
|
1654
|
-
return e = Br(), e === null && (e =
|
1654
|
+
return e = Br(), e === null && (e = Qs()), e;
|
1655
1655
|
}
|
1656
1656
|
function Br() {
|
1657
1657
|
var e;
|
1658
|
-
return o.substr(s, 4).toLowerCase() === "text" ? (e = o.substr(s, 4), s += 4) : (e = null, d('"text"')), e === null && (o.substr(s, 5).toLowerCase() === "image" ? (e = o.substr(s, 5), s += 5) : (e = null, d('"image"')), e === null && (o.substr(s, 5).toLowerCase() === "audio" ? (e = o.substr(s, 5), s += 5) : (e = null, d('"audio"')), e === null && (o.substr(s, 5).toLowerCase() === "video" ? (e = o.substr(s, 5), s += 5) : (e = null, d('"video"')), e === null && (o.substr(s, 11).toLowerCase() === "application" ? (e = o.substr(s, 11), s += 11) : (e = null, d('"application"')), e === null && (e =
|
1658
|
+
return o.substr(s, 4).toLowerCase() === "text" ? (e = o.substr(s, 4), s += 4) : (e = null, d('"text"')), e === null && (o.substr(s, 5).toLowerCase() === "image" ? (e = o.substr(s, 5), s += 5) : (e = null, d('"image"')), e === null && (o.substr(s, 5).toLowerCase() === "audio" ? (e = o.substr(s, 5), s += 5) : (e = null, d('"audio"')), e === null && (o.substr(s, 5).toLowerCase() === "video" ? (e = o.substr(s, 5), s += 5) : (e = null, d('"video"')), e === null && (o.substr(s, 11).toLowerCase() === "application" ? (e = o.substr(s, 11), s += 11) : (e = null, d('"application"')), e === null && (e = Zs()))))), e;
|
1659
1659
|
}
|
1660
|
-
function
|
1660
|
+
function Qs() {
|
1661
1661
|
var e;
|
1662
|
-
return o.substr(s, 7).toLowerCase() === "message" ? (e = o.substr(s, 7), s += 7) : (e = null, d('"message"')), e === null && (o.substr(s, 9).toLowerCase() === "multipart" ? (e = o.substr(s, 9), s += 9) : (e = null, d('"multipart"')), e === null && (e =
|
1662
|
+
return o.substr(s, 7).toLowerCase() === "message" ? (e = o.substr(s, 7), s += 7) : (e = null, d('"message"')), e === null && (o.substr(s, 9).toLowerCase() === "multipart" ? (e = o.substr(s, 9), s += 9) : (e = null, d('"multipart"')), e === null && (e = Zs())), e;
|
1663
1663
|
}
|
1664
|
-
function
|
1664
|
+
function Zs() {
|
1665
1665
|
var e;
|
1666
1666
|
return e = P(), e === null && (e = Gr()), e;
|
1667
1667
|
}
|
@@ -1671,7 +1671,7 @@ function rs() {
|
|
1671
1671
|
}
|
1672
1672
|
function Mn() {
|
1673
1673
|
var e;
|
1674
|
-
return e =
|
1674
|
+
return e = Zs(), e === null && (e = P()), e;
|
1675
1675
|
}
|
1676
1676
|
function kn() {
|
1677
1677
|
var e, l, u, f;
|
@@ -1683,7 +1683,7 @@ function rs() {
|
|
1683
1683
|
}
|
1684
1684
|
function dl() {
|
1685
1685
|
var e, l, u, f;
|
1686
|
-
return f = s, e = pl(), e !== null ? (l = M(), l !== null ? (u =
|
1686
|
+
return f = s, e = pl(), e !== null ? (l = M(), l !== null ? (u = Xs(), u !== null ? e = [e, l, u] : (e = null, s = f)) : (e = null, s = f)) : (e = null, s = f), e;
|
1687
1687
|
}
|
1688
1688
|
function pl() {
|
1689
1689
|
var e, l, u;
|
@@ -1702,9 +1702,9 @@ function rs() {
|
|
1702
1702
|
w = f;
|
1703
1703
|
}(l, e)), e === null && (s = l), e;
|
1704
1704
|
}
|
1705
|
-
function
|
1705
|
+
function en() {
|
1706
1706
|
var e, l, u, f, h, m, v;
|
1707
|
-
if (h = s, m = s, e =
|
1707
|
+
if (h = s, m = s, e = tn(), e !== null) {
|
1708
1708
|
for (l = [], v = s, u = ye(), u !== null ? (f = We(), f !== null ? u = [u, f] : (u = null, s = v)) : (u = null, s = v); u !== null; )
|
1709
1709
|
l.push(u), v = s, u = ye(), u !== null ? (f = We(), f !== null ? u = [u, f] : (u = null, s = v)) : (u = null, s = v);
|
1710
1710
|
l !== null ? e = [e, l] : (e = null, s = m);
|
@@ -1714,7 +1714,7 @@ function rs() {
|
|
1714
1714
|
w.event = O.join("").toLowerCase();
|
1715
1715
|
}(h, e[0])), e === null && (s = h), e;
|
1716
1716
|
}
|
1717
|
-
function
|
1717
|
+
function tn() {
|
1718
1718
|
var e, l, u, f, h, m;
|
1719
1719
|
if (h = s, e = se(), e !== null) {
|
1720
1720
|
for (l = [], m = s, o.charCodeAt(s) === 46 ? (u = ".", s++) : (u = null, d('"."')), u !== null ? (f = se(), f !== null ? u = [u, f] : (u = null, s = m)) : (u = null, s = m); u !== null; )
|
@@ -1727,8 +1727,8 @@ function rs() {
|
|
1727
1727
|
function Wr() {
|
1728
1728
|
var e, l, u, f, h, m, v;
|
1729
1729
|
if (h = s, m = s, e = we(), e === null && (e = Lt()), e !== null) {
|
1730
|
-
for (l = [], v = s, u = ye(), u !== null ? (f =
|
1731
|
-
l.push(u), v = s, u = ye(), u !== null ? (f =
|
1730
|
+
for (l = [], v = s, u = ye(), u !== null ? (f = sn(), f !== null ? u = [u, f] : (u = null, s = v)) : (u = null, s = v); u !== null; )
|
1731
|
+
l.push(u), v = s, u = ye(), u !== null ? (f = sn(), f !== null ? u = [u, f] : (u = null, s = v)) : (u = null, s = v);
|
1732
1732
|
l !== null ? e = [e, l] : (e = null, s = m);
|
1733
1733
|
} else
|
1734
1734
|
e = null, s = m;
|
@@ -1741,7 +1741,7 @@ function rs() {
|
|
1741
1741
|
}
|
1742
1742
|
}()), e === null && (s = h), e;
|
1743
1743
|
}
|
1744
|
-
function
|
1744
|
+
function sn() {
|
1745
1745
|
var e;
|
1746
1746
|
return e = Kr(), e === null && (e = We()), e;
|
1747
1747
|
}
|
@@ -1770,8 +1770,8 @@ function rs() {
|
|
1770
1770
|
}
|
1771
1771
|
function jo() {
|
1772
1772
|
var e, l, u, f, h, m, v, S, O, ie;
|
1773
|
-
for (S = s, O = s, e = [], l =
|
1774
|
-
e.push(l), l =
|
1773
|
+
for (S = s, O = s, e = [], l = bs(); l !== null; )
|
1774
|
+
e.push(l), l = bs();
|
1775
1775
|
if (e !== null)
|
1776
1776
|
if (l = Ce(), l !== null)
|
1777
1777
|
if (u = De(), u !== null)
|
@@ -1803,9 +1803,9 @@ function rs() {
|
|
1803
1803
|
var e, l, u, f, h, m, v, S;
|
1804
1804
|
if (v = s, o.substr(s, 6).toLowerCase() === "digest" ? (e = o.substr(s, 6), s += 6) : (e = null, d('"Digest"')), e !== null)
|
1805
1805
|
if (l = M(), l !== null)
|
1806
|
-
if (u =
|
1807
|
-
for (f = [], S = s, h = le(), h !== null ? (m =
|
1808
|
-
f.push(h), S = s, h = le(), h !== null ? (m =
|
1806
|
+
if (u = nn(), u !== null) {
|
1807
|
+
for (f = [], S = s, h = le(), h !== null ? (m = nn(), m !== null ? h = [h, m] : (h = null, s = S)) : (h = null, s = S); h !== null; )
|
1808
|
+
f.push(h), S = s, h = le(), h !== null ? (m = nn(), m !== null ? h = [h, m] : (h = null, s = S)) : (h = null, s = S);
|
1809
1809
|
f !== null ? e = [e, l, u, f] : (e = null, s = v);
|
1810
1810
|
} else
|
1811
1811
|
e = null, s = v;
|
@@ -1813,9 +1813,9 @@ function rs() {
|
|
1813
1813
|
e = null, s = v;
|
1814
1814
|
else
|
1815
1815
|
e = null, s = v;
|
1816
|
-
return e === null && (e =
|
1816
|
+
return e === null && (e = ws()), e;
|
1817
1817
|
}
|
1818
|
-
function
|
1818
|
+
function ws() {
|
1819
1819
|
var e, l, u, f, h, m, v, S;
|
1820
1820
|
if (v = s, e = P(), e !== null)
|
1821
1821
|
if (l = M(), l !== null)
|
@@ -1835,9 +1835,9 @@ function rs() {
|
|
1835
1835
|
var e, l, u, f;
|
1836
1836
|
return f = s, e = P(), e !== null ? (l = re(), l !== null ? (u = P(), u === null && (u = Oe()), u !== null ? e = [e, l, u] : (e = null, s = f)) : (e = null, s = f)) : (e = null, s = f), e;
|
1837
1837
|
}
|
1838
|
-
function
|
1838
|
+
function nn() {
|
1839
1839
|
var e;
|
1840
|
-
return e = zr(), e === null && (e =
|
1840
|
+
return e = zr(), e === null && (e = rn(), e === null && (e = Xr(), e === null && (e = Zr(), e === null && (e = ei(), e === null && (e = ti(), e === null && (e = on(), e === null && (e = Xt()))))))), e;
|
1841
1841
|
}
|
1842
1842
|
function zr() {
|
1843
1843
|
var e, l, u, f;
|
@@ -1849,24 +1849,24 @@ function rs() {
|
|
1849
1849
|
w.realm = f;
|
1850
1850
|
}(l, e)), e === null && (s = l), e;
|
1851
1851
|
}
|
1852
|
-
function
|
1852
|
+
function rn() {
|
1853
1853
|
var e, l, u, f, h, m, v, S, O;
|
1854
1854
|
if (S = s, o.substr(s, 6).toLowerCase() === "domain" ? (e = o.substr(s, 6), s += 6) : (e = null, d('"domain"')), e !== null)
|
1855
1855
|
if (l = re(), l !== null)
|
1856
1856
|
if (u = it(), u !== null)
|
1857
|
-
if (f =
|
1857
|
+
if (f = ln(), f !== null) {
|
1858
1858
|
if (h = [], O = s, v = $(), v !== null)
|
1859
1859
|
for (m = []; v !== null; )
|
1860
1860
|
m.push(v), v = $();
|
1861
1861
|
else
|
1862
1862
|
m = null;
|
1863
|
-
for (m !== null ? (v =
|
1863
|
+
for (m !== null ? (v = ln(), v !== null ? m = [m, v] : (m = null, s = O)) : (m = null, s = O); m !== null; ) {
|
1864
1864
|
if (h.push(m), O = s, v = $(), v !== null)
|
1865
1865
|
for (m = []; v !== null; )
|
1866
1866
|
m.push(v), v = $();
|
1867
1867
|
else
|
1868
1868
|
m = null;
|
1869
|
-
m !== null ? (v =
|
1869
|
+
m !== null ? (v = ln(), v !== null ? m = [m, v] : (m = null, s = O)) : (m = null, s = O);
|
1870
1870
|
}
|
1871
1871
|
h !== null ? (m = Ee(), m !== null ? e = [e, l, u, f, h, m] : (e = null, s = S)) : (e = null, s = S);
|
1872
1872
|
} else
|
@@ -1879,9 +1879,9 @@ function rs() {
|
|
1879
1879
|
e = null, s = S;
|
1880
1880
|
return e;
|
1881
1881
|
}
|
1882
|
-
function
|
1882
|
+
function ln() {
|
1883
1883
|
var e;
|
1884
|
-
return e = wn(), e === null && (e =
|
1884
|
+
return e = wn(), e === null && (e = Ys()), e;
|
1885
1885
|
}
|
1886
1886
|
function Xr() {
|
1887
1887
|
var e, l, u, f;
|
@@ -1913,7 +1913,7 @@ function rs() {
|
|
1913
1913
|
w.algorithm = v.toUpperCase();
|
1914
1914
|
}(f, e[2])), e === null && (s = f), e;
|
1915
1915
|
}
|
1916
|
-
function
|
1916
|
+
function on() {
|
1917
1917
|
var e, l, u, f, h, m, v, S, O, ie;
|
1918
1918
|
if (S = s, o.substr(s, 3).toLowerCase() === "qop" ? (e = o.substr(s, 3), s += 3) : (e = null, d('"qop"')), e !== null)
|
1919
1919
|
if (l = re(), l !== null)
|
@@ -2124,15 +2124,15 @@ function rs() {
|
|
2124
2124
|
}
|
2125
2125
|
function Wn() {
|
2126
2126
|
var e, l, u, f, h, m;
|
2127
|
-
if (h = s, e =
|
2128
|
-
for (l = [], m = s, u = le(), u !== null ? (f =
|
2129
|
-
l.push(u), m = s, u = le(), u !== null ? (f =
|
2127
|
+
if (h = s, e = Os(), e !== null) {
|
2128
|
+
for (l = [], m = s, u = le(), u !== null ? (f = Os(), f !== null ? u = [u, f] : (u = null, s = m)) : (u = null, s = m); u !== null; )
|
2129
|
+
l.push(u), m = s, u = le(), u !== null ? (f = Os(), f !== null ? u = [u, f] : (u = null, s = m)) : (u = null, s = m);
|
2130
2130
|
l !== null ? e = [e, l] : (e = null, s = h);
|
2131
2131
|
} else
|
2132
2132
|
e = null, s = h;
|
2133
2133
|
return e;
|
2134
2134
|
}
|
2135
|
-
function
|
2135
|
+
function Os() {
|
2136
2136
|
var e, l, u, f, h, m, v, S;
|
2137
2137
|
if (v = s, e = fi(), e !== null)
|
2138
2138
|
if (l = M(), l !== null)
|
@@ -2160,7 +2160,7 @@ function rs() {
|
|
2160
2160
|
}
|
2161
2161
|
function li() {
|
2162
2162
|
var e, l, u, f, h;
|
2163
|
-
return f = s, h = s, o.substr(s, 5).toLowerCase() === "maddr" ? (e = o.substr(s, 5), s += 5) : (e = null, d('"maddr"')), e !== null ? (l = re(), l !== null ? (u =
|
2163
|
+
return f = s, h = s, o.substr(s, 5).toLowerCase() === "maddr" ? (e = o.substr(s, 5), s += 5) : (e = null, d('"maddr"')), e !== null ? (l = re(), l !== null ? (u = is(), u !== null ? e = [e, l, u] : (e = null, s = h)) : (e = null, s = h)) : (e = null, s = h), e !== null && (e = function(m, v) {
|
2164
2164
|
w.maddr = v;
|
2165
2165
|
}(f, e[2])), e === null && (s = f), e;
|
2166
2166
|
}
|
@@ -2208,7 +2208,7 @@ function rs() {
|
|
2208
2208
|
}
|
2209
2209
|
function pi() {
|
2210
2210
|
var e, l;
|
2211
|
-
return l = s, e = Bt(), e === null && (e =
|
2211
|
+
return l = s, e = Bt(), e === null && (e = qs(), e === null && (e = js())), e !== null && (e = function(u) {
|
2212
2212
|
w.host = o.substring(s, u);
|
2213
2213
|
}(l)), e === null && (s = l), e;
|
2214
2214
|
}
|
@@ -2276,7 +2276,7 @@ function rs() {
|
|
2276
2276
|
}
|
2277
2277
|
function $t() {
|
2278
2278
|
var e, l, u, f, h, m, v, S, O, ie, Ne;
|
2279
|
-
return ie = s, Ne = s, e = gi(), e !== null ? (o.charCodeAt(s) === 45 ? (l = "-", s++) : (l = null, d('"-"')), l !== null ? (u = Ht(), u !== null ? (o.charCodeAt(s) === 45 ? (f = "-", s++) : (f = null, d('"-"')), f !== null ? (h = Ht(), h !== null ? (o.charCodeAt(s) === 45 ? (m = "-", s++) : (m = null, d('"-"')), m !== null ? (v = Ht(), v !== null ? (o.charCodeAt(s) === 45 ? (S = "-", s++) : (S = null, d('"-"')), S !== null ? (O = Cl(), O !== null ? e = [e, l, u, f, h, m, v, S, O] : (e = null, s = Ne)) : (e = null, s = Ne)) : (e = null, s = Ne)) : (e = null, s = Ne)) : (e = null, s = Ne)) : (e = null, s = Ne)) : (e = null, s = Ne)) : (e = null, s = Ne)) : (e = null, s = Ne), e !== null && (e = function(Rt,
|
2279
|
+
return ie = s, Ne = s, e = gi(), e !== null ? (o.charCodeAt(s) === 45 ? (l = "-", s++) : (l = null, d('"-"')), l !== null ? (u = Ht(), u !== null ? (o.charCodeAt(s) === 45 ? (f = "-", s++) : (f = null, d('"-"')), f !== null ? (h = Ht(), h !== null ? (o.charCodeAt(s) === 45 ? (m = "-", s++) : (m = null, d('"-"')), m !== null ? (v = Ht(), v !== null ? (o.charCodeAt(s) === 45 ? (S = "-", s++) : (S = null, d('"-"')), S !== null ? (O = Cl(), O !== null ? e = [e, l, u, f, h, m, v, S, O] : (e = null, s = Ne)) : (e = null, s = Ne)) : (e = null, s = Ne)) : (e = null, s = Ne)) : (e = null, s = Ne)) : (e = null, s = Ne)) : (e = null, s = Ne)) : (e = null, s = Ne)) : (e = null, s = Ne), e !== null && (e = function(Rt, Ds) {
|
2280
2280
|
w = o.substring(s + 5, Rt);
|
2281
2281
|
}(ie, e[0])), e === null && (s = ie), e;
|
2282
2282
|
}
|
@@ -2363,7 +2363,7 @@ function rs() {
|
|
2363
2363
|
column: l
|
2364
2364
|
};
|
2365
2365
|
}
|
2366
|
-
var
|
2366
|
+
var os = Fs(), b = du(), w = {}, Ei = t[a]();
|
2367
2367
|
if (Ei === null || s !== o.length) {
|
2368
2368
|
var Si = Math.max(s, p), wl = Si < o.length ? o.charAt(Si) : null, i = bl();
|
2369
2369
|
return new this.SyntaxError(Jo(_), wl, Si, i.line, i.column), -1;
|
@@ -2395,7 +2395,7 @@ function rs() {
|
|
2395
2395
|
}()), Qo;
|
2396
2396
|
}
|
2397
2397
|
var Zo, xu;
|
2398
|
-
function
|
2398
|
+
function Fs() {
|
2399
2399
|
if (xu)
|
2400
2400
|
return Zo;
|
2401
2401
|
xu = 1;
|
@@ -2462,7 +2462,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
2462
2462
|
function t(d, g, T) {
|
2463
2463
|
return g && a(d.prototype, g), T && a(d, T), d;
|
2464
2464
|
}
|
2465
|
-
var s = rt, p = Ct(), _ =
|
2465
|
+
var s = rt, p = Ct(), _ = ns();
|
2466
2466
|
return Zo = /* @__PURE__ */ function() {
|
2467
2467
|
t(d, null, [{
|
2468
2468
|
key: "parse",
|
@@ -2677,7 +2677,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
2677
2677
|
y[E] = g[E];
|
2678
2678
|
return y;
|
2679
2679
|
}
|
2680
|
-
var a = rt, t =
|
2680
|
+
var a = rt, t = Fs(), s = ns();
|
2681
2681
|
Qe.str_utf8_length = function(g) {
|
2682
2682
|
return unescape(encodeURIComponent(g)).length;
|
2683
2683
|
};
|
@@ -4125,7 +4125,7 @@ function ju(c, n) {
|
|
4125
4125
|
function Uo(c, n, r) {
|
4126
4126
|
return n && ju(c.prototype, n), r && ju(c, r), c;
|
4127
4127
|
}
|
4128
|
-
var Ff = Nt, fh = ft, Tt = rt, st = Ct(), qu = du(), _h =
|
4128
|
+
var Ff = Nt, fh = ft, Tt = rt, st = Ct(), qu = du(), _h = ns(), sa = new fh("SIPMessage"), Vf = /* @__PURE__ */ function() {
|
4129
4129
|
function c(n, r, o, a, t, s) {
|
4130
4130
|
if (zi(this, c), !n || !r || !o)
|
4131
4131
|
return null;
|
@@ -4615,7 +4615,7 @@ var Ff = Nt, fh = ft, Tt = rt, st = Ct(), qu = du(), _h = rs(), sa = new fh("SIP
|
|
4615
4615
|
return zi(this, r), o = n.call(this), o.headers = {}, o.status_code = null, o.reason_phrase = null, o;
|
4616
4616
|
}
|
4617
4617
|
return r;
|
4618
|
-
}(jf),
|
4618
|
+
}(jf), ms = {
|
4619
4619
|
OutgoingRequest: Vf,
|
4620
4620
|
InitialOutgoingInviteRequest: hh,
|
4621
4621
|
IncomingRequest: dh,
|
@@ -4634,7 +4634,7 @@ function Bu(c, n) {
|
|
4634
4634
|
function gh(c, n, r) {
|
4635
4635
|
return n && Bu(c.prototype, n), r && Bu(c, r), c;
|
4636
4636
|
}
|
4637
|
-
var Th = ft,
|
4637
|
+
var Th = ft, as = Ct(), Gt = new Th("DigestAuthentication"), vh = /* @__PURE__ */ function() {
|
4638
4638
|
function c(n) {
|
4639
4639
|
mh(this, c), this._credentials = n, 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;
|
4640
4640
|
}
|
@@ -4684,11 +4684,11 @@ var Th = ft, us = Ct(), Gt = new Th("DigestAuthentication"), vh = /* @__PURE__ *
|
|
4684
4684
|
return Gt.warn('authenticate() | challenge without Digest qop different than "auth" or "auth-int", authentication aborted'), !1;
|
4685
4685
|
else
|
4686
4686
|
this._qop = null;
|
4687
|
-
this._method = a, this._uri = t, this._cnonce = p ||
|
4687
|
+
this._method = a, this._uri = t, this._cnonce = p || as.createRandomToken(12), this._nc += 1;
|
4688
4688
|
var _ = Number(this._nc).toString(16);
|
4689
|
-
this._ncHex = "00000000".substr(0, 8 - _.length) + _, this._nc === 4294967296 && (this._nc = 1, this._ncHex = "00000001"), this._credentials.password ? this._ha1 =
|
4689
|
+
this._ncHex = "00000000".substr(0, 8 - _.length) + _, this._nc === 4294967296 && (this._nc = 1, this._ncHex = "00000001"), this._credentials.password ? this._ha1 = as.calculateMD5("".concat(this._credentials.username, ":").concat(this._realm, ":").concat(this._credentials.password)) : this._ha1 = this._credentials.ha1;
|
4690
4690
|
var d, g;
|
4691
|
-
return this._qop === "auth" ? (d = "".concat(this._method, ":").concat(this._uri), g =
|
4691
|
+
return this._qop === "auth" ? (d = "".concat(this._method, ":").concat(this._uri), g = as.calculateMD5(d), Gt.debug('authenticate() | using qop=auth [a2:"%s"]', d), this._response = as.calculateMD5("".concat(this._ha1, ":").concat(this._nonce, ":").concat(this._ncHex, ":").concat(this._cnonce, ":auth:").concat(g))) : this._qop === "auth-int" ? (d = "".concat(this._method, ":").concat(this._uri, ":").concat(as.calculateMD5(s || "")), g = as.calculateMD5(d), Gt.debug('authenticate() | using qop=auth-int [a2:"%s"]', d), this._response = as.calculateMD5("".concat(this._ha1, ":").concat(this._nonce, ":").concat(this._ncHex, ":").concat(this._cnonce, ":auth-int:").concat(g))) : this._qop === null && (d = "".concat(this._method, ":").concat(this._uri), g = as.calculateMD5(d), Gt.debug('authenticate() | using qop=null [a2:"%s"]', d), this._response = as.calculateMD5("".concat(this._ha1, ":").concat(this._nonce, ":").concat(g))), Gt.debug("authenticate() | response generated"), !0;
|
4692
4692
|
}
|
4693
4693
|
/**
|
4694
4694
|
* Return the Proxy-Authorization or WWW-Authorization header value.
|
@@ -4702,19 +4702,19 @@ var Th = ft, us = Ct(), Gt = new Th("DigestAuthentication"), vh = /* @__PURE__ *
|
|
4702
4702
|
return r.push("algorithm=".concat(this._algorithm)), r.push('username="'.concat(this._credentials.username, '"')), r.push('realm="'.concat(this._realm, '"')), r.push('nonce="'.concat(this._nonce, '"')), r.push('uri="'.concat(this._uri, '"')), r.push('response="'.concat(this._response, '"')), this._opaque && r.push('opaque="'.concat(this._opaque, '"')), this._qop && (r.push("qop=".concat(this._qop)), r.push('cnonce="'.concat(this._cnonce, '"')), r.push("nc=".concat(this._ncHex))), "Digest ".concat(r.join(", "));
|
4703
4703
|
}
|
4704
4704
|
}]), c;
|
4705
|
-
}(),
|
4706
|
-
T1:
|
4705
|
+
}(), us = 500, Eh = 4e3, Gu = 5e3, qf = {
|
4706
|
+
T1: us,
|
4707
4707
|
T2: Eh,
|
4708
4708
|
T4: Gu,
|
4709
|
-
TIMER_B: 64 *
|
4710
|
-
TIMER_D: 0 *
|
4711
|
-
TIMER_F: 64 *
|
4712
|
-
TIMER_H: 64 *
|
4713
|
-
TIMER_I: 0 *
|
4714
|
-
TIMER_J: 0 *
|
4709
|
+
TIMER_B: 64 * us,
|
4710
|
+
TIMER_D: 0 * us,
|
4711
|
+
TIMER_F: 64 * us,
|
4712
|
+
TIMER_H: 64 * us,
|
4713
|
+
TIMER_I: 0 * us,
|
4714
|
+
TIMER_J: 0 * us,
|
4715
4715
|
TIMER_K: 0 * Gu,
|
4716
|
-
TIMER_L: 64 *
|
4717
|
-
TIMER_M: 64 *
|
4716
|
+
TIMER_L: 64 * us,
|
4717
|
+
TIMER_M: 64 * us,
|
4718
4718
|
PROVISIONAL_RESPONSE_INTERVAL: 6e4
|
4719
4719
|
// See RFC 3261 Section 13.3.1.1
|
4720
4720
|
};
|
@@ -4762,9 +4762,9 @@ function Zi(c) {
|
|
4762
4762
|
};
|
4763
4763
|
}
|
4764
4764
|
function Sh(c, n) {
|
4765
|
-
return n && (lo(n) === "object" || typeof n == "function") ? n :
|
4765
|
+
return n && (lo(n) === "object" || typeof n == "function") ? n : Ls(c);
|
4766
4766
|
}
|
4767
|
-
function
|
4767
|
+
function Ls(c) {
|
4768
4768
|
if (c === void 0)
|
4769
4769
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
4770
4770
|
return c;
|
@@ -4786,7 +4786,7 @@ function To(c) {
|
|
4786
4786
|
return r.__proto__ || Object.getPrototypeOf(r);
|
4787
4787
|
}, To(c);
|
4788
4788
|
}
|
4789
|
-
var el = ct.EventEmitter, tl = ft, Vi = rt, Ku =
|
4789
|
+
var el = ct.EventEmitter, tl = ft, Vi = rt, Ku = ms, ts = qf, Yu = new tl("NonInviteClientTransaction"), Ol = new tl("InviteClientTransaction"), Ah = new tl("AckClientTransaction"), zu = new tl("NonInviteServerTransaction"), Dl = new tl("InviteServerTransaction"), _e = {
|
4790
4790
|
// Transaction states.
|
4791
4791
|
STATUS_TRYING: 1,
|
4792
4792
|
STATUS_PROCEEDING: 2,
|
@@ -4807,7 +4807,7 @@ var el = ct.EventEmitter, tl = ft, Vi = rt, Ku = gs, ss = qf, Yu = new tl("NonIn
|
|
4807
4807
|
var p;
|
4808
4808
|
Ji(this, r), p = n.call(this), p.type = _e.NON_INVITE_CLIENT, p.id = "z9hG4bK".concat(Math.floor(Math.random() * 1e7)), p.ua = o, p.transport = a, p.request = t, p.eventHandlers = s;
|
4809
4809
|
var _ = "SIP/2.0/".concat(a.via_transport);
|
4810
|
-
return _ += " ".concat(o.configuration.via_host, ";branch=").concat(p.id), p.request.setHeader("via", _), p.ua.newTransaction(
|
4810
|
+
return _ += " ".concat(o.configuration.via_host, ";branch=").concat(p.id), p.request.setHeader("via", _), p.ua.newTransaction(Ls(p)), p;
|
4811
4811
|
}
|
4812
4812
|
return Xi(r, [{
|
4813
4813
|
key: "stateChanged",
|
@@ -4820,7 +4820,7 @@ var el = ct.EventEmitter, tl = ft, Vi = rt, Ku = gs, ss = qf, Yu = new tl("NonIn
|
|
4820
4820
|
var a = this;
|
4821
4821
|
this.stateChanged(_e.STATUS_TRYING), this.F = setTimeout(function() {
|
4822
4822
|
a.timer_F();
|
4823
|
-
},
|
4823
|
+
}, ts.TIMER_F), this.transport.send(this.request) || this.onTransportError();
|
4824
4824
|
}
|
4825
4825
|
}, {
|
4826
4826
|
key: "onTransportError",
|
@@ -4854,7 +4854,7 @@ var el = ct.EventEmitter, tl = ft, Vi = rt, Ku = gs, ss = qf, Yu = new tl("NonIn
|
|
4854
4854
|
case _e.STATUS_PROCEEDING:
|
4855
4855
|
this.stateChanged(_e.STATUS_COMPLETED), clearTimeout(this.F), s === 408 ? this.eventHandlers.onRequestTimeout() : this.eventHandlers.onReceiveResponse(a), this.K = setTimeout(function() {
|
4856
4856
|
t.timer_K();
|
4857
|
-
},
|
4857
|
+
}, ts.TIMER_K);
|
4858
4858
|
break;
|
4859
4859
|
case _e.STATUS_COMPLETED:
|
4860
4860
|
break;
|
@@ -4871,9 +4871,9 @@ var el = ct.EventEmitter, tl = ft, Vi = rt, Ku = gs, ss = qf, Yu = new tl("NonIn
|
|
4871
4871
|
var n = Zi(r);
|
4872
4872
|
function r(o, a, t, s) {
|
4873
4873
|
var p;
|
4874
|
-
Ji(this, r), p = n.call(this), p.type = _e.INVITE_CLIENT, p.id = "z9hG4bK".concat(Math.floor(Math.random() * 1e7)), p.ua = o, p.transport = a, p.request = t, p.eventHandlers = s, t.transaction =
|
4874
|
+
Ji(this, r), p = n.call(this), p.type = _e.INVITE_CLIENT, p.id = "z9hG4bK".concat(Math.floor(Math.random() * 1e7)), p.ua = o, p.transport = a, p.request = t, p.eventHandlers = s, t.transaction = Ls(p);
|
4875
4875
|
var _ = "SIP/2.0/".concat(a.via_transport);
|
4876
|
-
return _ += " ".concat(o.configuration.via_host, ";branch=").concat(p.id), p.request.setHeader("via", _), p.ua.newTransaction(
|
4876
|
+
return _ += " ".concat(o.configuration.via_host, ";branch=").concat(p.id), p.request.setHeader("via", _), p.ua.newTransaction(Ls(p)), p;
|
4877
4877
|
}
|
4878
4878
|
return Xi(r, [{
|
4879
4879
|
key: "stateChanged",
|
@@ -4886,7 +4886,7 @@ var el = ct.EventEmitter, tl = ft, Vi = rt, Ku = gs, ss = qf, Yu = new tl("NonIn
|
|
4886
4886
|
var a = this;
|
4887
4887
|
this.stateChanged(_e.STATUS_CALLING), this.B = setTimeout(function() {
|
4888
4888
|
a.timer_B();
|
4889
|
-
},
|
4889
|
+
}, ts.TIMER_B), this.transport.send(this.request) || this.onTransportError();
|
4890
4890
|
}
|
4891
4891
|
}, {
|
4892
4892
|
key: "onTransportError",
|
@@ -4920,7 +4920,7 @@ var el = ct.EventEmitter, tl = ft, Vi = rt, Ku = gs, ss = qf, Yu = new tl("NonIn
|
|
4920
4920
|
});
|
4921
4921
|
s.setHeader("from", this.request.getHeader("from")), s.setHeader("via", this.request.getHeader("via")), s.setHeader("to", a.getHeader("to")), this.D = setTimeout(function() {
|
4922
4922
|
t.timer_D();
|
4923
|
-
},
|
4923
|
+
}, ts.TIMER_D), this.transport.send(s);
|
4924
4924
|
}
|
4925
4925
|
}, {
|
4926
4926
|
key: "cancel",
|
@@ -4953,7 +4953,7 @@ var el = ct.EventEmitter, tl = ft, Vi = rt, Ku = gs, ss = qf, Yu = new tl("NonIn
|
|
4953
4953
|
case _e.STATUS_PROCEEDING:
|
4954
4954
|
this.stateChanged(_e.STATUS_ACCEPTED), this.M = setTimeout(function() {
|
4955
4955
|
t.timer_M();
|
4956
|
-
},
|
4956
|
+
}, ts.TIMER_M), this.eventHandlers.onReceiveResponse(a);
|
4957
4957
|
break;
|
4958
4958
|
case _e.STATUS_ACCEPTED:
|
4959
4959
|
this.eventHandlers.onReceiveResponse(a);
|
@@ -5006,7 +5006,7 @@ var el = ct.EventEmitter, tl = ft, Vi = rt, Ku = gs, ss = qf, Yu = new tl("NonIn
|
|
5006
5006
|
var n = Zi(r);
|
5007
5007
|
function r(o, a, t) {
|
5008
5008
|
var s;
|
5009
|
-
return Ji(this, r), s = n.call(this), s.type = _e.NON_INVITE_SERVER, s.id = t.via_branch, s.ua = o, s.transport = a, s.request = t, s.last_response = "", t.server_transaction =
|
5009
|
+
return Ji(this, r), s = n.call(this), s.type = _e.NON_INVITE_SERVER, s.id = t.via_branch, s.ua = o, s.transport = a, s.request = t, s.last_response = "", t.server_transaction = Ls(s), s.state = _e.STATUS_TRYING, o.newTransaction(Ls(s)), s;
|
5010
5010
|
}
|
5011
5011
|
return Xi(r, [{
|
5012
5012
|
key: "stateChanged",
|
@@ -5042,7 +5042,7 @@ var el = ct.EventEmitter, tl = ft, Vi = rt, Ku = gs, ss = qf, Yu = new tl("NonIn
|
|
5042
5042
|
case _e.STATUS_PROCEEDING:
|
5043
5043
|
this.stateChanged(_e.STATUS_COMPLETED), this.last_response = t, this.J = setTimeout(function() {
|
5044
5044
|
_.timer_J();
|
5045
|
-
},
|
5045
|
+
}, ts.TIMER_J), this.transport.send(t) ? s && s() : (this.onTransportError(), p && p());
|
5046
5046
|
break;
|
5047
5047
|
case _e.STATUS_COMPLETED:
|
5048
5048
|
break;
|
@@ -5059,7 +5059,7 @@ var el = ct.EventEmitter, tl = ft, Vi = rt, Ku = gs, ss = qf, Yu = new tl("NonIn
|
|
5059
5059
|
var n = Zi(r);
|
5060
5060
|
function r(o, a, t) {
|
5061
5061
|
var s;
|
5062
|
-
return Ji(this, r), s = n.call(this), s.type = _e.INVITE_SERVER, s.id = t.via_branch, s.ua = o, s.transport = a, s.request = t, s.last_response = "", t.server_transaction =
|
5062
|
+
return Ji(this, r), s = n.call(this), s.type = _e.INVITE_SERVER, s.id = t.via_branch, s.ua = o, s.transport = a, s.request = t, s.last_response = "", t.server_transaction = Ls(s), s.state = _e.STATUS_PROCEEDING, o.newTransaction(Ls(s)), s.resendProvisionalTimer = null, t.reply(100), s;
|
5063
5063
|
}
|
5064
5064
|
return Xi(r, [{
|
5065
5065
|
key: "stateChanged",
|
@@ -5106,13 +5106,13 @@ var el = ct.EventEmitter, tl = ft, Vi = rt, Ku = gs, ss = qf, Yu = new tl("NonIn
|
|
5106
5106
|
if (a > 100 && a <= 199 && this.state === _e.STATUS_PROCEEDING)
|
5107
5107
|
this.resendProvisionalTimer === null && (this.resendProvisionalTimer = setInterval(function() {
|
5108
5108
|
_.resend_provisional();
|
5109
|
-
},
|
5109
|
+
}, ts.PROVISIONAL_RESPONSE_INTERVAL));
|
5110
5110
|
else if (a >= 200 && a <= 299)
|
5111
5111
|
switch (this.state) {
|
5112
5112
|
case _e.STATUS_PROCEEDING:
|
5113
5113
|
this.stateChanged(_e.STATUS_ACCEPTED), this.last_response = t, this.L = setTimeout(function() {
|
5114
5114
|
_.timer_L();
|
5115
|
-
},
|
5115
|
+
}, ts.TIMER_L), this.resendProvisionalTimer !== null && (clearInterval(this.resendProvisionalTimer), this.resendProvisionalTimer = null);
|
5116
5116
|
case _e.STATUS_ACCEPTED:
|
5117
5117
|
this.transport.send(t) ? s && s() : (this.onTransportError(), p && p());
|
5118
5118
|
break;
|
@@ -5122,7 +5122,7 @@ var el = ct.EventEmitter, tl = ft, Vi = rt, Ku = gs, ss = qf, Yu = new tl("NonIn
|
|
5122
5122
|
case _e.STATUS_PROCEEDING:
|
5123
5123
|
this.resendProvisionalTimer !== null && (clearInterval(this.resendProvisionalTimer), this.resendProvisionalTimer = null), this.transport.send(t) ? (this.stateChanged(_e.STATUS_COMPLETED), this.H = setTimeout(function() {
|
5124
5124
|
_.timer_H();
|
5125
|
-
},
|
5125
|
+
}, ts.TIMER_H), s && s()) : (this.onTransportError(), p && p());
|
5126
5126
|
break;
|
5127
5127
|
}
|
5128
5128
|
}
|
@@ -5155,7 +5155,7 @@ function Oh(c, n) {
|
|
5155
5155
|
if (o.state === _e.STATUS_COMPLETED)
|
5156
5156
|
return o.state = _e.STATUS_CONFIRMED, o.I = setTimeout(function() {
|
5157
5157
|
o.timer_I();
|
5158
|
-
},
|
5158
|
+
}, ts.TIMER_I), !0;
|
5159
5159
|
} else
|
5160
5160
|
return !1;
|
5161
5161
|
break;
|
@@ -5284,7 +5284,7 @@ function Qu(c, n) {
|
|
5284
5284
|
function kh(c, n, r) {
|
5285
5285
|
return n && Qu(c.prototype, n), r && Qu(c, r), c;
|
5286
5286
|
}
|
5287
|
-
var Lh = ft, ia = Ct(),
|
5287
|
+
var Lh = ft, ia = Ct(), an = rt, Zu = ms, ec = nl, Ai = new Lh("Registrator"), Nl = 10, $h = /* @__PURE__ */ function() {
|
5288
5288
|
function c(n, r) {
|
5289
5289
|
Mh(this, c), this._reg_id = 1, this._ua = n, this._transport = r, this._registrar = n.configuration.registrar_server, this._expires = n.configuration.register_expires, this._call_id = ia.createRandomToken(22), this._cseq = 0, this._to_uri = n.configuration.uri, this._registrationTimer = null, this._registering = !1, this._registered = !1, this._contact = this._ua.contact.toString(), this._contact += ";+sip.ice", this._extraHeaders = [], this._extraContactParams = "", this._sipInstance = '"<urn:uuid:'.concat(this._ua.configuration.instance_id, '>"'), this._contact += ";reg-id=".concat(this._reg_id), this._contact += ";+sip.instance=".concat(this._sipInstance);
|
5290
5290
|
}
|
@@ -5313,16 +5313,16 @@ var Lh = ft, ia = Ct(), un = rt, Zu = gs, ec = nl, Ai = new Lh("Registrator"), N
|
|
5313
5313
|
}
|
5314
5314
|
var o = this._extraHeaders.slice();
|
5315
5315
|
o.push("Contact: ".concat(this._contact, ";expires=").concat(this._expires).concat(this._extraContactParams)), o.push("Expires: ".concat(this._expires));
|
5316
|
-
var a = new Zu.OutgoingRequest(
|
5316
|
+
var a = new Zu.OutgoingRequest(an.REGISTER, this._registrar, this._ua, {
|
5317
5317
|
to_uri: this._to_uri,
|
5318
5318
|
call_id: this._call_id,
|
5319
5319
|
cseq: this._cseq += 1
|
5320
5320
|
}, o), t = new ec(this._ua, a, {
|
5321
5321
|
onRequestTimeout: function() {
|
5322
|
-
r._registrationFailure(null,
|
5322
|
+
r._registrationFailure(null, an.causes.REQUEST_TIMEOUT);
|
5323
5323
|
},
|
5324
5324
|
onTransportError: function() {
|
5325
|
-
r._registrationFailure(null,
|
5325
|
+
r._registrationFailure(null, an.causes.CONNECTION_ERROR);
|
5326
5326
|
},
|
5327
5327
|
// Increase the CSeq on authentication.
|
5328
5328
|
onAuthenticated: function() {
|
@@ -5360,7 +5360,7 @@ var Lh = ft, ia = Ct(), un = rt, Zu = gs, ec = nl, Ai = new Lh("Registrator"), N
|
|
5360
5360
|
break;
|
5361
5361
|
}
|
5362
5362
|
case /^423$/.test(p.status_code): {
|
5363
|
-
p.hasHeader("min-expires") ? (r._expires = Number(p.getHeader("min-expires")), r._expires < Nl && (r._expires = Nl), r.register()) : (Ai.debug("423 response received for REGISTER without Min-Expires"), r._registrationFailure(p,
|
5363
|
+
p.hasHeader("min-expires") ? (r._expires = Number(p.getHeader("min-expires")), r._expires < Nl && (r._expires = Nl), r.register()) : (Ai.debug("423 response received for REGISTER without Min-Expires"), r._registrationFailure(p, an.causes.SIP_FAILURE_CODE));
|
5364
5364
|
break;
|
5365
5365
|
}
|
5366
5366
|
default: {
|
@@ -5383,16 +5383,16 @@ var Lh = ft, ia = Ct(), un = rt, Zu = gs, ec = nl, Ai = new Lh("Registrator"), N
|
|
5383
5383
|
this._registered = !1, this._registrationTimer !== null && (clearTimeout(this._registrationTimer), this._registrationTimer = null);
|
5384
5384
|
var a = this._extraHeaders.slice();
|
5385
5385
|
o.all ? a.push("Contact: *".concat(this._extraContactParams)) : a.push("Contact: ".concat(this._contact, ";expires=0").concat(this._extraContactParams)), a.push("Expires: 0");
|
5386
|
-
var t = new Zu.OutgoingRequest(
|
5386
|
+
var t = new Zu.OutgoingRequest(an.REGISTER, this._registrar, this._ua, {
|
5387
5387
|
to_uri: this._to_uri,
|
5388
5388
|
call_id: this._call_id,
|
5389
5389
|
cseq: this._cseq += 1
|
5390
5390
|
}, a), s = new ec(this._ua, t, {
|
5391
5391
|
onRequestTimeout: function() {
|
5392
|
-
r._unregistered(null,
|
5392
|
+
r._unregistered(null, an.causes.REQUEST_TIMEOUT);
|
5393
5393
|
},
|
5394
5394
|
onTransportError: function() {
|
5395
|
-
r._unregistered(null,
|
5395
|
+
r._unregistered(null, an.causes.CONNECTION_ERROR);
|
5396
5396
|
},
|
5397
5397
|
// Increase the CSeq on authentication.
|
5398
5398
|
onAuthenticated: function() {
|
@@ -5535,7 +5535,7 @@ function sc(c, n) {
|
|
5535
5535
|
function nc(c, n, r) {
|
5536
5536
|
return n && sc(c.prototype, n), r && sc(c, r), c;
|
5537
5537
|
}
|
5538
|
-
var Bh = ft, rc =
|
5538
|
+
var Bh = ft, rc = ms, Ns = rt, Ci = sl, Gh = jh, aa = Ct(), ua = new Bh("Dialog"), Us = {
|
5539
5539
|
// Dialog states.
|
5540
5540
|
STATUS_EARLY: 1,
|
5541
5541
|
STATUS_CONFIRMED: 2,
|
@@ -5545,16 +5545,16 @@ var Bh = ft, rc = gs, Us = rt, Ci = sl, Gh = jh, aa = Ct(), ua = new Bh("Dialog"
|
|
5545
5545
|
key: "C",
|
5546
5546
|
// Expose C object.
|
5547
5547
|
get: function() {
|
5548
|
-
return
|
5548
|
+
return Us;
|
5549
5549
|
}
|
5550
5550
|
}]);
|
5551
5551
|
function c(n, r, o) {
|
5552
|
-
var a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] :
|
5552
|
+
var a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : Us.STATUS_CONFIRMED;
|
5553
5553
|
if (qh(this, c), this._owner = n, this._ua = n._ua, this._uac_pending_reply = !1, this._uas_pending_reply = !1, !r.hasHeader("contact"))
|
5554
5554
|
return {
|
5555
5555
|
error: "unable to create a Dialog without Contact header field"
|
5556
5556
|
};
|
5557
|
-
r instanceof rc.IncomingResponse && (a = r.status_code < 200 ?
|
5557
|
+
r instanceof rc.IncomingResponse && (a = r.status_code < 200 ? Us.STATUS_EARLY : Us.STATUS_CONFIRMED);
|
5558
5558
|
var t = r.parseHeader("contact");
|
5559
5559
|
o === "UAS" ? (this._id = {
|
5560
5560
|
call_id: r.call_id,
|
@@ -5570,22 +5570,22 @@ var Bh = ft, rc = gs, Us = rt, Ci = sl, Gh = jh, aa = Ct(), ua = new Bh("Dialog"
|
|
5570
5570
|
toString: function() {
|
5571
5571
|
return this.call_id + this.local_tag + this.remote_tag;
|
5572
5572
|
}
|
5573
|
-
}, this._state = a, this._local_seqnum = r.cseq, this._local_uri = r.parseHeader("from").uri, this._remote_uri = r.parseHeader("to").uri, this._remote_target = t.uri, this._route_set = r.getHeaders("record-route").reverse(), this._ack_seqnum = null), this._ua.newDialog(this), ua.debug("new ".concat(o, " dialog created with status ").concat(this._state ===
|
5573
|
+
}, this._state = a, this._local_seqnum = r.cseq, this._local_uri = r.parseHeader("from").uri, this._remote_uri = r.parseHeader("to").uri, this._remote_target = t.uri, this._route_set = r.getHeaders("record-route").reverse(), this._ack_seqnum = null), this._ua.newDialog(this), ua.debug("new ".concat(o, " dialog created with status ").concat(this._state === Us.STATUS_EARLY ? "EARLY" : "CONFIRMED"));
|
5574
5574
|
}
|
5575
5575
|
return nc(c, [{
|
5576
5576
|
key: "isTerminated",
|
5577
5577
|
value: function() {
|
5578
|
-
return this._status ===
|
5578
|
+
return this._status === Us.STATUS_TERMINATED;
|
5579
5579
|
}
|
5580
5580
|
}, {
|
5581
5581
|
key: "update",
|
5582
5582
|
value: function(r, o) {
|
5583
|
-
this._state =
|
5583
|
+
this._state = Us.STATUS_CONFIRMED, ua.debug("dialog ".concat(this._id.toString(), " changed to CONFIRMED state")), o === "UAC" && (this._route_set = r.getHeaders("record-route").reverse());
|
5584
5584
|
}
|
5585
5585
|
}, {
|
5586
5586
|
key: "terminate",
|
5587
5587
|
value: function() {
|
5588
|
-
ua.debug("dialog ".concat(this._id.toString(), " deleted")), this._ua.destroyDialog(this), this._state =
|
5588
|
+
ua.debug("dialog ".concat(this._id.toString(), " deleted")), this._ua.destroyDialog(this), this._state = Us.STATUS_TERMINATED;
|
5589
5589
|
}
|
5590
5590
|
}, {
|
5591
5591
|
key: "sendRequest",
|
@@ -5600,14 +5600,14 @@ var Bh = ft, rc = gs, Us = rt, Ci = sl, Gh = jh, aa = Ct(), ua = new Bh("Dialog"
|
|
5600
5600
|
}, {
|
5601
5601
|
key: "receiveRequest",
|
5602
5602
|
value: function(r) {
|
5603
|
-
this._checkInDialogRequest(r) && (r.method ===
|
5603
|
+
this._checkInDialogRequest(r) && (r.method === Ns.ACK && this._ack_seqnum !== null ? this._ack_seqnum = null : r.method === Ns.INVITE && (this._ack_seqnum = r.cseq), this._owner.receiveRequest(r));
|
5604
5604
|
}
|
5605
5605
|
// RFC 3261 12.2.1.1.
|
5606
5606
|
}, {
|
5607
5607
|
key: "_createRequest",
|
5608
5608
|
value: function(r, o, a) {
|
5609
5609
|
o = aa.cloneArray(o), this._local_seqnum || (this._local_seqnum = Math.floor(Math.random() * 1e4));
|
5610
|
-
var t = r ===
|
5610
|
+
var t = r === Ns.CANCEL || r === Ns.ACK ? this._local_seqnum : this._local_seqnum += 1, s = new rc.OutgoingRequest(r, this._remote_target, this._ua, {
|
5611
5611
|
cseq: t,
|
5612
5612
|
call_id: this._id.call_id,
|
5613
5613
|
from_uri: this._local_uri,
|
@@ -5626,14 +5626,14 @@ var Bh = ft, rc = gs, Us = rt, Ci = sl, Gh = jh, aa = Ct(), ua = new Bh("Dialog"
|
|
5626
5626
|
if (!this._remote_seqnum)
|
5627
5627
|
this._remote_seqnum = r.cseq;
|
5628
5628
|
else if (r.cseq < this._remote_seqnum)
|
5629
|
-
if (r.method ===
|
5629
|
+
if (r.method === Ns.ACK) {
|
5630
5630
|
if (this._ack_seqnum === null || r.cseq !== this._ack_seqnum)
|
5631
5631
|
return !1;
|
5632
5632
|
} else
|
5633
5633
|
return r.reply(500), !1;
|
5634
5634
|
else
|
5635
5635
|
r.cseq > this._remote_seqnum && (this._remote_seqnum = r.cseq);
|
5636
|
-
if (r.method ===
|
5636
|
+
if (r.method === Ns.INVITE || r.method === Ns.UPDATE && r.body) {
|
5637
5637
|
if (this._uac_pending_reply === !0)
|
5638
5638
|
r.reply(491);
|
5639
5639
|
else if (this._uas_pending_reply === !0) {
|
@@ -5650,7 +5650,7 @@ var Bh = ft, rc = gs, Us = rt, Ci = sl, Gh = jh, aa = Ct(), ua = new Bh("Dialog"
|
|
5650
5650
|
r.server_transaction.state === Ci.C.STATUS_ACCEPTED && (o._remote_target = r.parseHeader("contact").uri);
|
5651
5651
|
});
|
5652
5652
|
} else
|
5653
|
-
r.method ===
|
5653
|
+
r.method === Ns.NOTIFY && r.hasHeader("contact") && r.server_transaction.on("stateChanged", function() {
|
5654
5654
|
r.server_transaction.state === Ci.C.STATUS_COMPLETED && (o._remote_target = r.parseHeader("contact").uri);
|
5655
5655
|
});
|
5656
5656
|
return !0;
|
@@ -5756,7 +5756,7 @@ function vo(c) {
|
|
5756
5756
|
return r.__proto__ || Object.getPrototypeOf(r);
|
5757
5757
|
}, vo(c);
|
5758
5758
|
}
|
5759
|
-
var ed = ct.EventEmitter, td = ft, sd = rt, nd =
|
5759
|
+
var ed = ct.EventEmitter, td = ft, sd = rt, nd = Hs, lc = Ct(), rd = new td("RTCSession:DTMF"), Bf = {
|
5760
5760
|
MIN_DURATION: 70,
|
5761
5761
|
MAX_DURATION: 6e3,
|
5762
5762
|
DEFAULT_DURATION: 100,
|
@@ -5921,7 +5921,7 @@ function Eo(c) {
|
|
5921
5921
|
return r.__proto__ || Object.getPrototypeOf(r);
|
5922
5922
|
}, Eo(c);
|
5923
5923
|
}
|
5924
|
-
var hd = ct.EventEmitter, dd = rt, pd =
|
5924
|
+
var hd = ct.EventEmitter, dd = rt, pd = Hs, md = Ct(), gd = /* @__PURE__ */ function(c) {
|
5925
5925
|
ad(r, c);
|
5926
5926
|
var n = ud(r);
|
5927
5927
|
function r(o) {
|
@@ -6100,7 +6100,7 @@ function So(c) {
|
|
6100
6100
|
return r.__proto__ || Object.getPrototypeOf(r);
|
6101
6101
|
}, So(c);
|
6102
6102
|
}
|
6103
|
-
var Dd = ct.EventEmitter, Nd = ft, Ri = rt, Ud =
|
6103
|
+
var Dd = ct.EventEmitter, Nd = ft, Ri = rt, Ud = ns(), fc = Ct(), un = new Nd("RTCSession:ReferSubscriber"), Pd = /* @__PURE__ */ function(c) {
|
6104
6104
|
Rd(r, c);
|
6105
6105
|
var n = Id(r);
|
6106
6106
|
function r(o) {
|
@@ -6111,7 +6111,7 @@ var Dd = ct.EventEmitter, Nd = ft, Ri = rt, Ud = rs(), fc = Ct(), cn = new Nd("R
|
|
6111
6111
|
key: "sendRefer",
|
6112
6112
|
value: function(a) {
|
6113
6113
|
var t = this, s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
6114
|
-
|
6114
|
+
un.debug("sendRefer()");
|
6115
6115
|
var p = fc.cloneArray(s.extraHeaders), _ = fc.cloneObject(s.eventHandlers);
|
6116
6116
|
for (var d in _)
|
6117
6117
|
Object.prototype.hasOwnProperty.call(_, d) && this.on(d, _[d]);
|
@@ -6150,11 +6150,11 @@ var Dd = ct.EventEmitter, Nd = ft, Ri = rt, Ud = rs(), fc = Ct(), cn = new Nd("R
|
|
6150
6150
|
}, {
|
6151
6151
|
key: "receiveNotify",
|
6152
6152
|
value: function(a) {
|
6153
|
-
if (
|
6153
|
+
if (un.debug("receiveNotify()"), !!a.body) {
|
6154
6154
|
var t = Ud.parse(a.body.trim().split(`\r
|
6155
6155
|
`, 1)[0], "Status_Line");
|
6156
6156
|
if (t === -1) {
|
6157
|
-
|
6157
|
+
un.debug('receiveNotify() | error parsing NOTIFY body: "'.concat(a.body, '"'));
|
6158
6158
|
return;
|
6159
6159
|
}
|
6160
6160
|
switch (!0) {
|
@@ -6188,14 +6188,14 @@ var Dd = ct.EventEmitter, Nd = ft, Ri = rt, Ud = rs(), fc = Ct(), cn = new Nd("R
|
|
6188
6188
|
}, {
|
6189
6189
|
key: "_requestSucceeded",
|
6190
6190
|
value: function(a) {
|
6191
|
-
|
6191
|
+
un.debug("REFER succeeded"), un.debug('emit "requestSucceeded"'), this.emit("requestSucceeded", {
|
6192
6192
|
response: a
|
6193
6193
|
});
|
6194
6194
|
}
|
6195
6195
|
}, {
|
6196
6196
|
key: "_requestFailed",
|
6197
6197
|
value: function(a, t) {
|
6198
|
-
|
6198
|
+
un.debug("REFER failed"), un.debug('emit "requestFailed"'), this.emit("requestFailed", {
|
6199
6199
|
response: a || null,
|
6200
6200
|
cause: t
|
6201
6201
|
});
|
@@ -6215,7 +6215,7 @@ function co(c) {
|
|
6215
6215
|
return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r;
|
6216
6216
|
}, co(c);
|
6217
6217
|
}
|
6218
|
-
function
|
6218
|
+
function cs(c, n) {
|
6219
6219
|
var r;
|
6220
6220
|
if (typeof Symbol > "u" || c[Symbol.iterator] == null) {
|
6221
6221
|
if (Array.isArray(c) || (r = xd(c)) || n && c && typeof c.length == "number") {
|
@@ -6325,7 +6325,7 @@ function yo(c) {
|
|
6325
6325
|
return r.__proto__ || Object.getPrototypeOf(r);
|
6326
6326
|
}, yo(c);
|
6327
6327
|
}
|
6328
|
-
var Vd = ct.EventEmitter, pc = Nt, jd = ft, ce = rt,
|
6328
|
+
var Vd = ct.EventEmitter, pc = Nt, jd = ft, ce = rt, cn = Hs, mc = sl, qe = Ct(), Ii = qf, qd = ms, Pl = Wh, Bd = nl, Ut = id, gc = gd, Gd = yd, Wd = Pd, Tc = Fs(), K = new jd("RTCSession"), X = {
|
6329
6329
|
// RTCSession states.
|
6330
6330
|
STATUS_NULL: 0,
|
6331
6331
|
STATUS_INVITE_SENT: 1,
|
@@ -6435,9 +6435,9 @@ var Vd = ct.EventEmitter, pc = Nt, jd = ft, ce = rt, fn = Fs, mc = sl, qe = Ct()
|
|
6435
6435
|
if (this._rtcOfferConstraints = A, this._rtcAnswerConstraints = t.rtcAnswerConstraints || null, this._data = t.data || this._data, a === void 0)
|
6436
6436
|
throw new TypeError("Not enough arguments");
|
6437
6437
|
if (this._status !== X.STATUS_NULL)
|
6438
|
-
throw new
|
6438
|
+
throw new cn.InvalidStateError(this._status);
|
6439
6439
|
if (!window.RTCPeerConnection)
|
6440
|
-
throw new
|
6440
|
+
throw new cn.NotSupportedError("WebRTC not supported");
|
6441
6441
|
if (a = this._ua.normalizeTarget(a), !a)
|
6442
6442
|
throw new TypeError("Invalid target: ".concat(p));
|
6443
6443
|
this._sessionTimers.enabled && qe.isDecimal(t.sessionTimersExpires) && (t.sessionTimersExpires >= ce.MIN_SESSION_EXPIRES ? this._sessionTimers.defaultExpires = t.sessionTimersExpires : this._sessionTimers.defaultExpires = ce.SESSION_EXPIRES);
|
@@ -6484,9 +6484,9 @@ var Vd = ct.EventEmitter, pc = Nt, jd = ft, ce = rt, fn = Fs, mc = sl, qe = Ct()
|
|
6484
6484
|
iceServers: []
|
6485
6485
|
}), T = t.rtcConstraints || null, E = t.rtcAnswerConstraints || null, y = qe.cloneObject(t.rtcOfferConstraints), A, R = !1, I = !1, $ = !1, L = !1;
|
6486
6486
|
if (this._rtcAnswerConstraints = E, this._rtcOfferConstraints = t.rtcOfferConstraints || null, this._data = t.data || this._data, this._direction !== "incoming")
|
6487
|
-
throw new
|
6487
|
+
throw new cn.NotSupportedError('"answer" not supported for outgoing RTCSession');
|
6488
6488
|
if (this._status !== X.STATUS_WAITING_FOR_ANSWER)
|
6489
|
-
throw new
|
6489
|
+
throw new cn.InvalidStateError(this._status);
|
6490
6490
|
if (this._sessionTimers.enabled && qe.isDecimal(t.sessionTimersExpires) && (t.sessionTimersExpires >= ce.MIN_SESSION_EXPIRES ? this._sessionTimers.defaultExpires = t.sessionTimersExpires : this._sessionTimers.defaultExpires = ce.SESSION_EXPIRES), this._status = X.STATUS_ANSWERED, !this._createDialog(s, "UAS")) {
|
6491
6491
|
s.reply(500, "Error creating dialog");
|
6492
6492
|
return;
|
@@ -6494,7 +6494,7 @@ var Vd = ct.EventEmitter, pc = Nt, jd = ft, ce = rt, fn = Fs, mc = sl, qe = Ct()
|
|
6494
6494
|
clearTimeout(this._timers.userNoAnswerTimer), p.unshift("Contact: ".concat(this._contact));
|
6495
6495
|
var ae = s.parseSDP();
|
6496
6496
|
Array.isArray(ae.media) || (ae.media = [ae.media]);
|
6497
|
-
var N =
|
6497
|
+
var N = cs(ae.media), F;
|
6498
6498
|
try {
|
6499
6499
|
for (N.s(); !(F = N.n()).done; ) {
|
6500
6500
|
var Se = F.value;
|
@@ -6507,7 +6507,7 @@ var Vd = ct.EventEmitter, pc = Nt, jd = ft, ce = rt, fn = Fs, mc = sl, qe = Ct()
|
|
6507
6507
|
}
|
6508
6508
|
if (d && _.audio === !1) {
|
6509
6509
|
A = d.getAudioTracks();
|
6510
|
-
var ve =
|
6510
|
+
var ve = cs(A), M;
|
6511
6511
|
try {
|
6512
6512
|
for (ve.s(); !(M = ve.n()).done; ) {
|
6513
6513
|
var D = M.value;
|
@@ -6521,7 +6521,7 @@ var Vd = ct.EventEmitter, pc = Nt, jd = ft, ce = rt, fn = Fs, mc = sl, qe = Ct()
|
|
6521
6521
|
}
|
6522
6522
|
if (d && _.video === !1) {
|
6523
6523
|
A = d.getVideoTracks();
|
6524
|
-
var q =
|
6524
|
+
var q = cs(A), j;
|
6525
6525
|
try {
|
6526
6526
|
for (q.s(); !(j = q.n()).done; ) {
|
6527
6527
|
var z = j.value;
|
@@ -6594,7 +6594,7 @@ var Vd = ct.EventEmitter, pc = Nt, jd = ft, ce = rt, fn = Fs, mc = sl, qe = Ct()
|
|
6594
6594
|
K.debug("terminate()");
|
6595
6595
|
var s = t.cause || ce.causes.BYE, p = qe.cloneArray(t.extraHeaders), _ = t.body, d, g = t.status_code, T = t.reason_phrase;
|
6596
6596
|
if (this._status === X.STATUS_TERMINATED)
|
6597
|
-
throw new
|
6597
|
+
throw new cn.InvalidStateError(this._status);
|
6598
6598
|
switch (this._status) {
|
6599
6599
|
case X.STATUS_NULL:
|
6600
6600
|
case X.STATUS_INVITE_SENT:
|
@@ -6643,7 +6643,7 @@ var Vd = ct.EventEmitter, pc = Nt, jd = ft, ce = rt, fn = Fs, mc = sl, qe = Ct()
|
|
6643
6643
|
if (a === void 0)
|
6644
6644
|
throw new TypeError("Not enough arguments");
|
6645
6645
|
if (this._status !== X.STATUS_CONFIRMED && this._status !== X.STATUS_WAITING_FOR_ACK && this._status !== X.STATUS_1XX_RECEIVED)
|
6646
|
-
throw new
|
6646
|
+
throw new cn.InvalidStateError(this._status);
|
6647
6647
|
if (d !== ce.DTMF_TRANSPORT.INFO && d !== ce.DTMF_TRANSPORT.RFC2833)
|
6648
6648
|
throw new TypeError("invalid transportType: ".concat(d));
|
6649
6649
|
if (typeof a == "number" && (a = a.toString()), !a || typeof a != "string" || !a.match(/^[0-9A-DR#*,]+$/i))
|
@@ -6687,7 +6687,7 @@ var Vd = ct.EventEmitter, pc = Nt, jd = ft, ce = rt, fn = Fs, mc = sl, qe = Ct()
|
|
6687
6687
|
value: function(a, t) {
|
6688
6688
|
var s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
6689
6689
|
if (K.debug("sendInfo()"), this._status !== X.STATUS_CONFIRMED && this._status !== X.STATUS_WAITING_FOR_ACK && this._status !== X.STATUS_1XX_RECEIVED)
|
6690
|
-
throw new
|
6690
|
+
throw new cn.InvalidStateError(this._status);
|
6691
6691
|
var p = new gc(this);
|
6692
6692
|
p.send(a, t, s);
|
6693
6693
|
}
|
@@ -7198,7 +7198,7 @@ var Vd = ct.EventEmitter, pc = Nt, jd = ft, ce = rt, fn = Fs, mc = sl, qe = Ct()
|
|
7198
7198
|
value: function(a) {
|
7199
7199
|
var t = this;
|
7200
7200
|
K.debug("_processInDialogSdpOffer()");
|
7201
|
-
var s = a.parseSDP(), p = !1, _ =
|
7201
|
+
var s = a.parseSDP(), p = !1, _ = cs(s.media), d;
|
7202
7202
|
try {
|
7203
7203
|
for (_.s(); !(d = _.n()).done; ) {
|
7204
7204
|
var g = d.value;
|
@@ -7710,7 +7710,7 @@ var Vd = ct.EventEmitter, pc = Nt, jd = ft, ce = rt, fn = Fs, mc = sl, qe = Ct()
|
|
7710
7710
|
return a;
|
7711
7711
|
if (a = pc.parse(a), this._localHold && !this._remoteHold) {
|
7712
7712
|
K.debug("mangleOffer() | me on hold, mangling offer");
|
7713
|
-
var t =
|
7713
|
+
var t = cs(a.media), s;
|
7714
7714
|
try {
|
7715
7715
|
for (t.s(); !(s = t.n()).done; ) {
|
7716
7716
|
var p = s.value;
|
@@ -7723,7 +7723,7 @@ var Vd = ct.EventEmitter, pc = Nt, jd = ft, ce = rt, fn = Fs, mc = sl, qe = Ct()
|
|
7723
7723
|
}
|
7724
7724
|
} else if (this._localHold && this._remoteHold) {
|
7725
7725
|
K.debug("mangleOffer() | both on hold, mangling offer");
|
7726
|
-
var _ =
|
7726
|
+
var _ = cs(a.media), d;
|
7727
7727
|
try {
|
7728
7728
|
for (_.s(); !(d = _.n()).done; ) {
|
7729
7729
|
var g = d.value;
|
@@ -7736,7 +7736,7 @@ var Vd = ct.EventEmitter, pc = Nt, jd = ft, ce = rt, fn = Fs, mc = sl, qe = Ct()
|
|
7736
7736
|
}
|
7737
7737
|
} else if (this._remoteHold) {
|
7738
7738
|
K.debug("mangleOffer() | remote on hold, mangling offer");
|
7739
|
-
var T =
|
7739
|
+
var T = cs(a.media), E;
|
7740
7740
|
try {
|
7741
7741
|
for (T.s(); !(E = T.n()).done; ) {
|
7742
7742
|
var y = E.value;
|
@@ -7800,7 +7800,7 @@ var Vd = ct.EventEmitter, pc = Nt, jd = ft, ce = rt, fn = Fs, mc = sl, qe = Ct()
|
|
7800
7800
|
value: function(a) {
|
7801
7801
|
var t = this._connection.getSenders().filter(function(d) {
|
7802
7802
|
return d.track && d.track.kind === "audio";
|
7803
|
-
}), s =
|
7803
|
+
}), s = cs(t), p;
|
7804
7804
|
try {
|
7805
7805
|
for (s.s(); !(p = s.n()).done; ) {
|
7806
7806
|
var _ = p.value;
|
@@ -7817,7 +7817,7 @@ var Vd = ct.EventEmitter, pc = Nt, jd = ft, ce = rt, fn = Fs, mc = sl, qe = Ct()
|
|
7817
7817
|
value: function(a) {
|
7818
7818
|
var t = this._connection.getSenders().filter(function(d) {
|
7819
7819
|
return d.track && d.track.kind === "video";
|
7820
|
-
}), s =
|
7820
|
+
}), s = cs(t), p;
|
7821
7821
|
try {
|
7822
7822
|
for (s.s(); !(p = s.n()).done; ) {
|
7823
7823
|
var _ = p.value;
|
@@ -8057,7 +8057,7 @@ function Ao(c) {
|
|
8057
8057
|
return r.__proto__ || Object.getPrototypeOf(r);
|
8058
8058
|
}, Ao(c);
|
8059
8059
|
}
|
8060
|
-
var tp = ct.EventEmitter, sp = ft, fa = rt, np =
|
8060
|
+
var tp = ct.EventEmitter, sp = ft, fa = rt, np = ms, bi = Ct(), rp = nl, Ec = Hs, ip = Fs(), Ml = new sp("Message"), lp = /* @__PURE__ */ function(c) {
|
8061
8061
|
Jd(r, c);
|
8062
8062
|
var n = Xd(r);
|
8063
8063
|
function r(o) {
|
@@ -8271,7 +8271,7 @@ function Co(c) {
|
|
8271
8271
|
return r.__proto__ || Object.getPrototypeOf(r);
|
8272
8272
|
}, Co(c);
|
8273
8273
|
}
|
8274
|
-
var dp = ct.EventEmitter, pp = ft, _a = rt, mp =
|
8274
|
+
var dp = ct.EventEmitter, pp = ft, _a = rt, mp = ms, wi = Ct(), gp = nl, yc = Hs, kl = new pp("Options"), Tp = /* @__PURE__ */ function(c) {
|
8275
8275
|
up(r, c);
|
8276
8276
|
var n = cp(r);
|
8277
8277
|
function r(o) {
|
@@ -8415,7 +8415,7 @@ var dp = ct.EventEmitter, pp = ft, _a = rt, mp = gs, wi = Ct(), gp = nl, yc = Fs
|
|
8415
8415
|
return this._remote_identity;
|
8416
8416
|
}
|
8417
8417
|
}]), r;
|
8418
|
-
}(dp), vu = {}, vp = ft, ha = Ct(), Ep =
|
8418
|
+
}(dp), vu = {}, vp = ft, ha = Ct(), Ep = ns(), Oi = new vp("Socket");
|
8419
8419
|
vu.isSocket = function(c) {
|
8420
8420
|
if (Array.isArray(c))
|
8421
8421
|
return !1;
|
@@ -8687,7 +8687,7 @@ function Ic(c, n) {
|
|
8687
8687
|
o[r] = c[r];
|
8688
8688
|
return o;
|
8689
8689
|
}
|
8690
|
-
var bp = ft, ru =
|
8690
|
+
var bp = ft, ru = ns(), iu = ms, Ll = new bp("Parser");
|
8691
8691
|
Gf.parseMessage = function(c, n) {
|
8692
8692
|
var r, o, a = c.indexOf(`\r
|
8693
8693
|
`);
|
@@ -8881,7 +8881,7 @@ function bc(c, n) {
|
|
8881
8881
|
o[r] = c[r];
|
8882
8882
|
return o;
|
8883
8883
|
}
|
8884
|
-
var Np = ft, Wf = rt, wc =
|
8884
|
+
var Np = ft, Wf = rt, wc = ms, Eu = Ct(), Su = new Np("sanityCheck"), Up = [jp], Pp = [kp, Lp, $p, Hp], xp = [Fp, Vp], He, Qt, Kf, Mp = function(c, n, r) {
|
8885
8885
|
He = c, Qt = n, Kf = r;
|
8886
8886
|
var o = ho(Up), a;
|
8887
8887
|
try {
|
@@ -9042,7 +9042,7 @@ function Dc(c, n) {
|
|
9042
9042
|
o[r] = c[r];
|
9043
9043
|
return o;
|
9044
9044
|
}
|
9045
|
-
var rr = Ct(),
|
9045
|
+
var rr = Ct(), mn = rt, da = ns(), Nc = Fs(), pa = vu, ma = Hs;
|
9046
9046
|
yu.settings = {
|
9047
9047
|
// SIP authentication.
|
9048
9048
|
authorization_user: null,
|
@@ -9060,7 +9060,7 @@ yu.settings = {
|
|
9060
9060
|
use_preloaded_route: !1,
|
9061
9061
|
// Session parameters.
|
9062
9062
|
session_timers: !0,
|
9063
|
-
session_timers_refresh_method:
|
9063
|
+
session_timers_refresh_method: mn.UPDATE,
|
9064
9064
|
session_timers_force_refresher: !1,
|
9065
9065
|
no_answer_timeout: 60,
|
9066
9066
|
// Registration parameters.
|
@@ -9069,8 +9069,8 @@ yu.settings = {
|
|
9069
9069
|
registrar_server: null,
|
9070
9070
|
// Connection options.
|
9071
9071
|
sockets: null,
|
9072
|
-
connection_recovery_max_interval:
|
9073
|
-
connection_recovery_min_interval:
|
9072
|
+
connection_recovery_max_interval: mn.CONNECTION_RECOVERY_MAX_INTERVAL,
|
9073
|
+
connection_recovery_min_interval: mn.CONNECTION_RECOVERY_MIN_INTERVAL,
|
9074
9074
|
// Global extra headers, to be added to every request and response
|
9075
9075
|
extra_headers: null,
|
9076
9076
|
/*
|
@@ -9106,7 +9106,7 @@ var $l = {
|
|
9106
9106
|
return r;
|
9107
9107
|
},
|
9108
9108
|
uri: function(n) {
|
9109
|
-
/^sip:/i.test(n) || (n = "".concat(
|
9109
|
+
/^sip:/i.test(n) || (n = "".concat(mn.SIP, ":").concat(n));
|
9110
9110
|
var r = Nc.parse(n);
|
9111
9111
|
if (r)
|
9112
9112
|
return r.user ? r : void 0;
|
@@ -9165,7 +9165,7 @@ var $l = {
|
|
9165
9165
|
return n;
|
9166
9166
|
},
|
9167
9167
|
session_timers_refresh_method: function(n) {
|
9168
|
-
if (typeof n == "string" && (n = n.toUpperCase(), n ===
|
9168
|
+
if (typeof n == "string" && (n = n.toUpperCase(), n === mn.INVITE || n === mn.UPDATE))
|
9169
9169
|
return n;
|
9170
9170
|
},
|
9171
9171
|
session_timers_force_refresher: function(n) {
|
@@ -9193,7 +9193,7 @@ var $l = {
|
|
9193
9193
|
}
|
9194
9194
|
},
|
9195
9195
|
registrar_server: function(n) {
|
9196
|
-
/^sip:/i.test(n) || (n = "".concat(
|
9196
|
+
/^sip:/i.test(n) || (n = "".concat(mn.SIP, ":").concat(n));
|
9197
9197
|
var r = Nc.parse(n);
|
9198
9198
|
if (r)
|
9199
9199
|
return r.user ? void 0 : r;
|
@@ -9312,7 +9312,7 @@ function Ro(c) {
|
|
9312
9312
|
return r.__proto__ || Object.getPrototypeOf(r);
|
9313
9313
|
}, Ro(c);
|
9314
9314
|
}
|
9315
|
-
var zp = ct.EventEmitter, Jp = ft, ht = rt, Xp = $h, xc = Kd, Mc = lp, kc = Tp, ga = sl, Qp = Rp, Hl = Ct(), Zp =
|
9315
|
+
var zp = ct.EventEmitter, Jp = ft, ht = rt, Xp = $h, xc = Kd, Mc = lp, kc = Tp, ga = sl, Qp = Rp, Hl = Ct(), Zp = Hs, em = Fs(), tm = Gf, Ta = ms, sm = Mp, va = yu, Ve = new Jp("UA"), mt = {
|
9316
9316
|
// UA status codes.
|
9317
9317
|
STATUS_INIT: 0,
|
9318
9318
|
STATUS_READY: 1,
|
@@ -9893,7 +9893,7 @@ function Lc(c, n) {
|
|
9893
9893
|
function um(c, n, r) {
|
9894
9894
|
return n && Lc(c.prototype, n), r && Lc(c, r), c;
|
9895
9895
|
}
|
9896
|
-
var cm = ft, fm =
|
9896
|
+
var cm = ft, fm = ns(), It = new cm("WebSocketInterface"), _m = /* @__PURE__ */ function() {
|
9897
9897
|
function c(n) {
|
9898
9898
|
am(this, c), It.debug('new() [url:"%s"]', n), this._url = n, this._sip_uri = null, this._via_transport = null, this._ws = null;
|
9899
9899
|
var r = fm.parse(n, "absoluteURI");
|
@@ -9988,7 +9988,7 @@ var cm = ft, fm = rs(), It = new cm("WebSocketInterface"), _m = /* @__PURE__ */
|
|
9988
9988
|
return this._url;
|
9989
9989
|
}
|
9990
9990
|
}]), c;
|
9991
|
-
}(), ou = bo, hm = rt, dm =
|
9991
|
+
}(), ou = bo, hm = rt, dm = Hs, pm = Ct(), mm = nm, gm = Fs(), Tm = du(), vm = ns(), Em = _m, Sm = ur("JsSIP");
|
9992
9992
|
Sm("version %s", ou.version);
|
9993
9993
|
var $c = {
|
9994
9994
|
C: hm,
|
@@ -10200,7 +10200,7 @@ function Au() {
|
|
10200
10200
|
if (Fc)
|
10201
10201
|
return Ea;
|
10202
10202
|
Fc = 1;
|
10203
|
-
const c =
|
10203
|
+
const c = gs(), n = rs();
|
10204
10204
|
return Ea = class Jf {
|
10205
10205
|
/**
|
10206
10206
|
* Parse the given string and returns a NameAddrHeader instance or undefined if
|
@@ -10266,7 +10266,7 @@ function Au() {
|
|
10266
10266
|
}, Ea;
|
10267
10267
|
}
|
10268
10268
|
var Sa, Vc;
|
10269
|
-
function
|
10269
|
+
function rs() {
|
10270
10270
|
return Vc || (Vc = 1, Sa = function() {
|
10271
10271
|
function c(r) {
|
10272
10272
|
return '"' + r.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) + '"';
|
@@ -10333,18 +10333,18 @@ function is() {
|
|
10333
10333
|
user: _t,
|
10334
10334
|
user_unreserved: Sn,
|
10335
10335
|
password: yn,
|
10336
|
-
hostport:
|
10336
|
+
hostport: Vs,
|
10337
10337
|
host: Yt,
|
10338
|
-
hostname:
|
10339
|
-
domainlabel:
|
10338
|
+
hostname: is,
|
10339
|
+
domainlabel: js,
|
10340
10340
|
toplabel: An,
|
10341
10341
|
IPv6reference: Cn,
|
10342
|
-
IPv6address:
|
10342
|
+
IPv6address: qs,
|
10343
10343
|
h16: me,
|
10344
10344
|
ls32: oe,
|
10345
10345
|
IPv4address: lt,
|
10346
10346
|
dec_octet: Bt,
|
10347
|
-
port:
|
10347
|
+
port: vs,
|
10348
10348
|
uri_parameters: _r,
|
10349
10349
|
uri_parameter: Rn,
|
10350
10350
|
transport_param: In,
|
@@ -10356,28 +10356,28 @@ function is() {
|
|
10356
10356
|
other_param: Tr,
|
10357
10357
|
pname: vr,
|
10358
10358
|
pvalue: Er,
|
10359
|
-
paramchar:
|
10360
|
-
param_unreserved:
|
10359
|
+
paramchar: Es,
|
10360
|
+
param_unreserved: Ss,
|
10361
10361
|
headers: Sr,
|
10362
|
-
header:
|
10363
|
-
hname:
|
10362
|
+
header: Bs,
|
10363
|
+
hname: Gs,
|
10364
10364
|
hvalue: yr,
|
10365
|
-
hnv_unreserved:
|
10366
|
-
Request_Response:
|
10365
|
+
hnv_unreserved: ys,
|
10366
|
+
Request_Response: Ws,
|
10367
10367
|
Request_Line: ol,
|
10368
10368
|
Request_URI: Ar,
|
10369
10369
|
absoluteURI: bn,
|
10370
10370
|
hier_part: wn,
|
10371
10371
|
net_path: Cr,
|
10372
|
-
abs_path:
|
10373
|
-
opaque_part:
|
10374
|
-
uric:
|
10375
|
-
uric_no_slash:
|
10372
|
+
abs_path: Ks,
|
10373
|
+
opaque_part: Ys,
|
10374
|
+
uric: As,
|
10375
|
+
uric_no_slash: Cs,
|
10376
10376
|
path_segments: Rr,
|
10377
|
-
segment:
|
10378
|
-
param:
|
10379
|
-
pchar:
|
10380
|
-
scheme:
|
10377
|
+
segment: zs,
|
10378
|
+
param: Rs,
|
10379
|
+
pchar: ls,
|
10380
|
+
scheme: Is,
|
10381
10381
|
authority: Ir,
|
10382
10382
|
srvr: br,
|
10383
10383
|
reg_name: wr,
|
@@ -10392,8 +10392,8 @@ function is() {
|
|
10392
10392
|
SUBSCRIBEm: Mr,
|
10393
10393
|
NOTIFYm: kr,
|
10394
10394
|
REFERm: Lr,
|
10395
|
-
Method:
|
10396
|
-
Status_Line:
|
10395
|
+
Method: Js,
|
10396
|
+
Status_Line: Xs,
|
10397
10397
|
Status_Code: $r,
|
10398
10398
|
extension_code: Hr,
|
10399
10399
|
Reason_Phrase: Fr,
|
@@ -10403,7 +10403,7 @@ function is() {
|
|
10403
10403
|
contact_param: Nn,
|
10404
10404
|
name_addr: kt,
|
10405
10405
|
display_name: Lt,
|
10406
|
-
contact_params:
|
10406
|
+
contact_params: bs,
|
10407
10407
|
c_p_q: Un,
|
10408
10408
|
c_p_expires: Vr,
|
10409
10409
|
delta_seconds: zt,
|
@@ -10421,8 +10421,8 @@ function is() {
|
|
10421
10421
|
m_type: jr,
|
10422
10422
|
discrete_type: qr,
|
10423
10423
|
composite_type: Br,
|
10424
|
-
extension_token:
|
10425
|
-
x_token:
|
10424
|
+
extension_token: Qs,
|
10425
|
+
x_token: Zs,
|
10426
10426
|
m_subtype: Gr,
|
10427
10427
|
m_parameter: Mn,
|
10428
10428
|
m_value: kn,
|
@@ -10430,29 +10430,29 @@ function is() {
|
|
10430
10430
|
CSeq_value: dl,
|
10431
10431
|
Expires: pl,
|
10432
10432
|
Event: Ho,
|
10433
|
-
event_type:
|
10434
|
-
From:
|
10433
|
+
event_type: en,
|
10434
|
+
From: tn,
|
10435
10435
|
from_param: Wr,
|
10436
|
-
tag_param:
|
10436
|
+
tag_param: sn,
|
10437
10437
|
Max_Forwards: Kr,
|
10438
10438
|
Min_Expires: Fo,
|
10439
10439
|
Name_Addr_Header: Vo,
|
10440
10440
|
Proxy_Authenticate: jo,
|
10441
10441
|
challenge: Yr,
|
10442
10442
|
other_challenge: Ln,
|
10443
|
-
auth_param:
|
10443
|
+
auth_param: ws,
|
10444
10444
|
digest_cln: Xt,
|
10445
|
-
realm:
|
10445
|
+
realm: nn,
|
10446
10446
|
realm_value: zr,
|
10447
10447
|
domain: Jr,
|
10448
|
-
URI:
|
10449
|
-
nonce:
|
10448
|
+
URI: rn,
|
10449
|
+
nonce: ln,
|
10450
10450
|
nonce_value: Xr,
|
10451
10451
|
opaque: Qr,
|
10452
10452
|
stale: Zr,
|
10453
10453
|
algorithm: ei,
|
10454
10454
|
qop_options: ti,
|
10455
|
-
qop_value:
|
10455
|
+
qop_value: on,
|
10456
10456
|
Proxy_Require: $n,
|
10457
10457
|
Record_Route: qo,
|
10458
10458
|
rec_route: Hn,
|
@@ -10472,7 +10472,7 @@ function is() {
|
|
10472
10472
|
to_param: ni,
|
10473
10473
|
Via: ri,
|
10474
10474
|
via_param: Wn,
|
10475
|
-
via_params:
|
10475
|
+
via_params: Os,
|
10476
10476
|
via_ttl: Kn,
|
10477
10477
|
via_maddr: ii,
|
10478
10478
|
via_received: li,
|
@@ -10807,7 +10807,7 @@ function is() {
|
|
10807
10807
|
}
|
10808
10808
|
function de() {
|
10809
10809
|
var i, e, l, u, f, h;
|
10810
|
-
return f = t, h = t, i = De(), i !== null ? (r.charCodeAt(t) === 58 ? (e = ":", t++) : (e = null, _('":"')), e !== null ? (l = Mt(), l = l !== null ? l : "", l !== null ? (u =
|
10810
|
+
return f = t, h = t, i = De(), i !== null ? (r.charCodeAt(t) === 58 ? (e = ":", t++) : (e = null, _('":"')), e !== null ? (l = Mt(), l = l !== null ? l : "", l !== null ? (u = Vs(), u !== null ? i = [i, e, l, u] : (i = null, t = h)) : (i = null, t = h)) : (i = null, t = h)) : (i = null, t = h), i !== null && (i = function(m) {
|
10811
10811
|
try {
|
10812
10812
|
b.uri = new bl(b.scheme, b.user, b.host, b.port), delete b.scheme, delete b.user, delete b.host, delete b.host_type, delete b.port;
|
10813
10813
|
} catch {
|
@@ -10817,7 +10817,7 @@ function is() {
|
|
10817
10817
|
}
|
10818
10818
|
function we() {
|
10819
10819
|
var i, e, l, u, f, h, m, v;
|
10820
|
-
return m = t, v = t, i = De(), i !== null ? (r.charCodeAt(t) === 58 ? (e = ":", t++) : (e = null, _('":"')), e !== null ? (l = Mt(), l = l !== null ? l : "", l !== null ? (u =
|
10820
|
+
return m = t, v = t, i = De(), i !== null ? (r.charCodeAt(t) === 58 ? (e = ":", t++) : (e = null, _('":"')), e !== null ? (l = Mt(), l = l !== null ? l : "", l !== null ? (u = Vs(), u !== null ? (f = _r(), f !== null ? (h = Sr(), h = h !== null ? h : "", h !== null ? i = [i, e, l, u, f, h] : (i = null, t = v)) : (i = null, t = v)) : (i = null, t = v)) : (i = null, t = v)) : (i = null, t = v)) : (i = null, t = v), i !== null && (i = function(S) {
|
10821
10821
|
try {
|
10822
10822
|
b.uri = new bl(b.scheme, b.user, b.host, b.port, b.uri_params, b.uri_headers), delete b.scheme, delete b.user, delete b.host, delete b.host_type, delete b.port, delete b.uri_params, o === "SIP_URI" && (b = b.uri);
|
10823
10823
|
} catch {
|
@@ -10868,25 +10868,25 @@ function is() {
|
|
10868
10868
|
b.password = r.substring(t, u);
|
10869
10869
|
}(l)), i === null && (t = l), i;
|
10870
10870
|
}
|
10871
|
-
function
|
10871
|
+
function Vs() {
|
10872
10872
|
var i, e, l, u, f;
|
10873
|
-
return u = t, i = Yt(), i !== null ? (f = t, r.charCodeAt(t) === 58 ? (e = ":", t++) : (e = null, _('":"')), e !== null ? (l =
|
10873
|
+
return u = t, i = Yt(), i !== null ? (f = t, r.charCodeAt(t) === 58 ? (e = ":", t++) : (e = null, _('":"')), e !== null ? (l = vs(), l !== null ? e = [e, l] : (e = null, t = f)) : (e = null, t = f), e = e !== null ? e : "", e !== null ? i = [i, e] : (i = null, t = u)) : (i = null, t = u), i;
|
10874
10874
|
}
|
10875
10875
|
function Yt() {
|
10876
10876
|
var i, e;
|
10877
|
-
return e = t, i =
|
10877
|
+
return e = t, i = is(), i === null && (i = lt(), i === null && (i = Cn())), i !== null && (i = function(l) {
|
10878
10878
|
return b.host = r.substring(t, l).toLowerCase(), b.host;
|
10879
10879
|
}(e)), i === null && (t = e), i;
|
10880
10880
|
}
|
10881
|
-
function
|
10881
|
+
function is() {
|
10882
10882
|
var i, e, l, u, f, h;
|
10883
|
-
for (u = t, f = t, i = [], h = t, e =
|
10884
|
-
i.push(e), h = t, e =
|
10883
|
+
for (u = t, f = t, i = [], h = t, e = js(), e !== null ? (r.charCodeAt(t) === 46 ? (l = ".", t++) : (l = null, _('"."')), l !== null ? e = [e, l] : (e = null, t = h)) : (e = null, t = h); e !== null; )
|
10884
|
+
i.push(e), h = t, e = js(), e !== null ? (r.charCodeAt(t) === 46 ? (l = ".", t++) : (l = null, _('"."')), l !== null ? e = [e, l] : (e = null, t = h)) : (e = null, t = h);
|
10885
10885
|
return i !== null ? (e = An(), e !== null ? (r.charCodeAt(t) === 46 ? (l = ".", t++) : (l = null, _('"."')), l = l !== null ? l : "", l !== null ? i = [i, e, l] : (i = null, t = f)) : (i = null, t = f)) : (i = null, t = f), i !== null && (i = function(m) {
|
10886
10886
|
return b.host_type = "domain", r.substring(t, m);
|
10887
10887
|
}(u)), i === null && (t = u), i;
|
10888
10888
|
}
|
10889
|
-
function
|
10889
|
+
function js() {
|
10890
10890
|
var i, e, l, u;
|
10891
10891
|
if (u = t, i = L(), i !== null) {
|
10892
10892
|
for (e = [], l = L(), l === null && (r.charCodeAt(t) === 45 ? (l = "-", t++) : (l = null, _('"-"')), l === null && (r.charCodeAt(t) === 95 ? (l = "_", t++) : (l = null, _('"_"')))); l !== null; )
|
@@ -10908,15 +10908,15 @@ function is() {
|
|
10908
10908
|
}
|
10909
10909
|
function Cn() {
|
10910
10910
|
var i, e, l, u, f;
|
10911
|
-
return u = t, f = t, r.charCodeAt(t) === 91 ? (i = "[", t++) : (i = null, _('"["')), i !== null ? (e =
|
10911
|
+
return u = t, f = t, r.charCodeAt(t) === 91 ? (i = "[", t++) : (i = null, _('"["')), i !== null ? (e = qs(), e !== null ? (r.charCodeAt(t) === 93 ? (l = "]", t++) : (l = null, _('"]"')), l !== null ? i = [i, e, l] : (i = null, t = f)) : (i = null, t = f)) : (i = null, t = f), i !== null && (i = function(h) {
|
10912
10912
|
return b.host_type = "IPv6", r.substring(t, h);
|
10913
10913
|
}(u)), i === null && (t = u), i;
|
10914
10914
|
}
|
10915
|
-
function
|
10916
|
-
var i, e, l, u, f, h, m, v, S, O, ie, Ne, Rt,
|
10917
|
-
return Ns = t, k = t, i = me(), i !== null ? (r.charCodeAt(t) === 58 ? (e = ":", t++) : (e = null, _('":"')), e !== null ? (l = me(), l !== null ? (r.charCodeAt(t) === 58 ? (u = ":", t++) : (u = null, _('":"')), u !== null ? (f = me(), f !== null ? (r.charCodeAt(t) === 58 ? (h = ":", t++) : (h = null, _('":"')), h !== null ? (m = me(), m !== null ? (r.charCodeAt(t) === 58 ? (v = ":", t++) : (v = null, _('":"')), v !== null ? (S = me(), S !== null ? (r.charCodeAt(t) === 58 ? (O = ":", t++) : (O = null, _('":"')), O !== null ? (ie = me(), ie !== null ? (r.charCodeAt(t) === 58 ? (Ne = ":", t++) : (Ne = null, _('":"')), Ne !== null ? (Rt = oe(), Rt !== null ? i = [i, e, l, u, f, h, m, v, S, O, ie, Ne, Rt] : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k), i === null && (k = t, r.substr(t, 2) === "::" ? (i = "::", t += 2) : (i = null, _('"::"')), i !== null ? (e = me(), e !== null ? (r.charCodeAt(t) === 58 ? (l = ":", t++) : (l = null, _('":"')), l !== null ? (u = me(), u !== null ? (r.charCodeAt(t) === 58 ? (f = ":", t++) : (f = null, _('":"')), f !== null ? (h = me(), h !== null ? (r.charCodeAt(t) === 58 ? (m = ":", t++) : (m = null, _('":"')), m !== null ? (v = me(), v !== null ? (r.charCodeAt(t) === 58 ? (S = ":", t++) : (S = null, _('":"')), S !== null ? (O = me(), O !== null ? (r.charCodeAt(t) === 58 ? (ie = ":", t++) : (ie = null, _('":"')), ie !== null ? (Ne = oe(), Ne !== null ? i = [i, e, l, u, f, h, m, v, S, O, ie, Ne] : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k), i === null && (k = t, r.substr(t, 2) === "::" ? (i = "::", t += 2) : (i = null, _('"::"')), i !== null ? (e = me(), e !== null ? (r.charCodeAt(t) === 58 ? (l = ":", t++) : (l = null, _('":"')), l !== null ? (u = me(), u !== null ? (r.charCodeAt(t) === 58 ? (f = ":", t++) : (f = null, _('":"')), f !== null ? (h = me(), h !== null ? (r.charCodeAt(t) === 58 ? (m = ":", t++) : (m = null, _('":"')), m !== null ? (v = me(), v !== null ? (r.charCodeAt(t) === 58 ? (S = ":", t++) : (S = null, _('":"')), S !== null ? (O = oe(), O !== null ? i = [i, e, l, u, f, h, m, v, S, O] : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k), i === null && (k = t, r.substr(t, 2) === "::" ? (i = "::", t += 2) : (i = null, _('"::"')), i !== null ? (e = me(), e !== null ? (r.charCodeAt(t) === 58 ? (l = ":", t++) : (l = null, _('":"')), l !== null ? (u = me(), u !== null ? (r.charCodeAt(t) === 58 ? (f = ":", t++) : (f = null, _('":"')), f !== null ? (h = me(), h !== null ? (r.charCodeAt(t) === 58 ? (m = ":", t++) : (m = null, _('":"')), m !== null ? (v = oe(), v !== null ? i = [i, e, l, u, f, h, m, v] : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k), i === null && (k = t, r.substr(t, 2) === "::" ? (i = "::", t += 2) : (i = null, _('"::"')), i !== null ? (e = me(), e !== null ? (r.charCodeAt(t) === 58 ? (l = ":", t++) : (l = null, _('":"')), l !== null ? (u = me(), u !== null ? (r.charCodeAt(t) === 58 ? (f = ":", t++) : (f = null, _('":"')), f !== null ? (h = oe(), h !== null ? i = [i, e, l, u, f, h] : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k), i === null && (k = t, r.substr(t, 2) === "::" ? (i = "::", t += 2) : (i = null, _('"::"')), i !== null ? (e = me(), e !== null ? (r.charCodeAt(t) === 58 ? (l = ":", t++) : (l = null, _('":"')), l !== null ? (u = oe(), u !== null ? i = [i, e, l, u] : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k), i === null && (k = t, r.substr(t, 2) === "::" ? (i = "::", t += 2) : (i = null, _('"::"')), i !== null ? (e = oe(), e !== null ? i = [i, e] : (i = null, t = k)) : (i = null, t = k), i === null && (k = t, r.substr(t, 2) === "::" ? (i = "::", t += 2) : (i = null, _('"::"')), i !== null ? (e = me(), e !== null ? i = [i, e] : (i = null, t = k)) : (i = null, t = k), i === null && (k = t, i = me(), i !== null ? (r.substr(t, 2) === "::" ? (e = "::", t += 2) : (e = null, _('"::"')), e !== null ? (l = me(), l !== null ? (r.charCodeAt(t) === 58 ? (u = ":", t++) : (u = null, _('":"')), u !== null ? (f = me(), f !== null ? (r.charCodeAt(t) === 58 ? (h = ":", t++) : (h = null, _('":"')), h !== null ? (m = me(), m !== null ? (r.charCodeAt(t) === 58 ? (v = ":", t++) : (v = null, _('":"')), v !== null ? (S = me(), S !== null ? (r.charCodeAt(t) === 58 ? (O = ":", t++) : (O = null, _('":"')), O !== null ? (ie = oe(), ie !== null ? i = [i, e, l, u, f, h, m, v, S, O, ie] : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k), i === null && (k = t, i = me(), i !== null ? (C = t, r.charCodeAt(t) === 58 ? (e = ":", t++) : (e = null, _('":"')), e !== null ? (l = me(), l !== null ? e = [e, l] : (e = null, t = C)) : (e = null, t = C), e = e !== null ? e : "", e !== null ? (r.substr(t, 2) === "::" ? (l = "::", t += 2) : (l = null, _('"::"')), l !== null ? (u = me(), u !== null ? (r.charCodeAt(t) === 58 ? (f = ":", t++) : (f = null, _('":"')), f !== null ? (h = me(), h !== null ? (r.charCodeAt(t) === 58 ? (m = ":", t++) : (m = null, _('":"')), m !== null ? (v = me(), v !== null ? (r.charCodeAt(t) === 58 ? (S = ":", t++) : (S = null, _('":"')), S !== null ? (O = oe(), O !== null ? i = [i, e, l, u, f, h, m, v, S, O] : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k), i === null && (k = t, i = me(), i !== null ? (C = t, r.charCodeAt(t) === 58 ? (e = ":", t++) : (e = null, _('":"')), e !== null ? (l = me(), l !== null ? e = [e, l] : (e = null, t = C)) : (e = null, t = C), e = e !== null ? e : "", e !== null ? (C = t, r.charCodeAt(t) === 58 ? (l = ":", t++) : (l = null, _('":"')), l !== null ? (u = me(), u !== null ? l = [l, u] : (l = null, t = C)) : (l = null, t = C), l = l !== null ? l : "", l !== null ? (r.substr(t, 2) === "::" ? (u = "::", t += 2) : (u = null, _('"::"')), u !== null ? (f = me(), f !== null ? (r.charCodeAt(t) === 58 ? (h = ":", t++) : (h = null, _('":"')), h !== null ? (m = me(), m !== null ? (r.charCodeAt(t) === 58 ? (v = ":", t++) : (v = null, _('":"')), v !== null ? (S = oe(), S !== null ? i = [i, e, l, u, f, h, m, v, S] : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k), i === null && (k = t, i = me(), i !== null ? (C = t, r.charCodeAt(t) === 58 ? (e = ":", t++) : (e = null, _('":"')), e !== null ? (l = me(), l !== null ? e = [e, l] : (e = null, t = C)) : (e = null, t = C), e = e !== null ? e : "", e !== null ? (C = t, r.charCodeAt(t) === 58 ? (l = ":", t++) : (l = null, _('":"')), l !== null ? (u = me(), u !== null ? l = [l, u] : (l = null, t = C)) : (l = null, t = C), l = l !== null ? l : "", l !== null ? (C = t, r.charCodeAt(t) === 58 ? (u = ":", t++) : (u = null, _('":"')), u !== null ? (f = me(), f !== null ? u = [u, f] : (u = null, t = C)) : (u = null, t = C), u = u !== null ? u : "", u !== null ? (r.substr(t, 2) === "::" ? (f = "::", t += 2) : (f = null, _('"::"')), f !== null ? (h = me(), h !== null ? (r.charCodeAt(t) === 58 ? (m = ":", t++) : (m = null, _('":"')), m !== null ? (v = oe(), v !== null ? i = [i, e, l, u, f, h, m, v] : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k), i === null && (k = t, i = me(), i !== null ? (C = t, r.charCodeAt(t) === 58 ? (e = ":", t++) : (e = null, _('":"')), e !== null ? (l = me(), l !== null ? e = [e, l] : (e = null, t = C)) : (e = null, t = C), e = e !== null ? e : "", e !== null ? (C = t, r.charCodeAt(t) === 58 ? (l = ":", t++) : (l = null, _('":"')), l !== null ? (u = me(), u !== null ? l = [l, u] : (l = null, t = C)) : (l = null, t = C), l = l !== null ? l : "", l !== null ? (C = t, r.charCodeAt(t) === 58 ? (u = ":", t++) : (u = null, _('":"')), u !== null ? (f = me(), f !== null ? u = [u, f] : (u = null, t = C)) : (u = null, t = C), u = u !== null ? u : "", u !== null ? (C = t, r.charCodeAt(t) === 58 ? (f = ":", t++) : (f = null, _('":"')), f !== null ? (h = me(), h !== null ? f = [f, h] : (f = null, t = C)) : (f = null, t = C), f = f !== null ? f : "", f !== null ? (r.substr(t, 2) === "::" ? (h = "::", t += 2) : (h = null, _('"::"')), h !== null ? (m = oe(), m !== null ? i = [i, e, l, u, f, h, m] : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k), i === null && (k = t, i = me(), i !== null ? (C = t, r.charCodeAt(t) === 58 ? (e = ":", t++) : (e = null, _('":"')), e !== null ? (l = me(), l !== null ? e = [e, l] : (e = null, t = C)) : (e = null, t = C), e = e !== null ? e : "", e !== null ? (C = t, r.charCodeAt(t) === 58 ? (l = ":", t++) : (l = null, _('":"')), l !== null ? (u = me(), u !== null ? l = [l, u] : (l = null, t = C)) : (l = null, t = C), l = l !== null ? l : "", l !== null ? (C = t, r.charCodeAt(t) === 58 ? (u = ":", t++) : (u = null, _('":"')), u !== null ? (f = me(), f !== null ? u = [u, f] : (u = null, t = C)) : (u = null, t = C), u = u !== null ? u : "", u !== null ? (C = t, r.charCodeAt(t) === 58 ? (f = ":", t++) : (f = null, _('":"')), f !== null ? (h = me(), h !== null ? f = [f, h] : (f = null, t = C)) : (f = null, t = C), f = f !== null ? f : "", f !== null ? (C = t, r.charCodeAt(t) === 58 ? (h = ":", t++) : (h = null, _('":"')), h !== null ? (m = me(), m !== null ? h = [h, m] : (h = null, t = C)) : (h = null, t = C), h = h !== null ? h : "", h !== null ? (r.substr(t, 2) === "::" ? (m = "::", t += 2) : (m = null, _('"::"')), m !== null ? (v = me(), v !== null ? i = [i, e, l, u, f, h, m, v] : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k), i === null && (k = t, i = me(), i !== null ? (C = t, r.charCodeAt(t) === 58 ? (e = ":", t++) : (e = null, _('":"')), e !== null ? (l = me(), l !== null ? e = [e, l] : (e = null, t = C)) : (e = null, t = C), e = e !== null ? e : "", e !== null ? (C = t, r.charCodeAt(t) === 58 ? (l = ":", t++) : (l = null, _('":"')), l !== null ? (u = me(), u !== null ? l = [l, u] : (l = null, t = C)) : (l = null, t = C), l = l !== null ? l : "", l !== null ? (C = t, r.charCodeAt(t) === 58 ? (u = ":", t++) : (u = null, _('":"')), u !== null ? (f = me(), f !== null ? u = [u, f] : (u = null, t = C)) : (u = null, t = C), u = u !== null ? u : "", u !== null ? (C = t, r.charCodeAt(t) === 58 ? (f = ":", t++) : (f = null, _('":"')), f !== null ? (h = me(), h !== null ? f = [f, h] : (f = null, t = C)) : (f = null, t = C), f = f !== null ? f : "", f !== null ? (C = t, r.charCodeAt(t) === 58 ? (h = ":", t++) : (h = null, _('":"')), h !== null ? (m = me(), m !== null ? h = [h, m] : (h = null, t = C)) : (h = null, t = C), h = h !== null ? h : "", h !== null ? (C = t, r.charCodeAt(t) === 58 ? (m = ":", t++) : (m = null, _('":"')), m !== null ? (v = me(), v !== null ? m = [m, v] : (m = null, t = C)) : (m = null, t = C), m = m !== null ? m : "", m !== null ? (r.substr(t, 2) === "::" ? (v = "::", t += 2) : (v = null, _('"::"')), v !== null ? i = [i, e, l, u, f, h, m, v] : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k))))))))))))))), i !== null && (i = function(Te) {
|
10915
|
+
function qs() {
|
10916
|
+
var i, e, l, u, f, h, m, v, S, O, ie, Ne, Rt, Ds, k, C;
|
10917
|
+
return Ds = t, k = t, i = me(), i !== null ? (r.charCodeAt(t) === 58 ? (e = ":", t++) : (e = null, _('":"')), e !== null ? (l = me(), l !== null ? (r.charCodeAt(t) === 58 ? (u = ":", t++) : (u = null, _('":"')), u !== null ? (f = me(), f !== null ? (r.charCodeAt(t) === 58 ? (h = ":", t++) : (h = null, _('":"')), h !== null ? (m = me(), m !== null ? (r.charCodeAt(t) === 58 ? (v = ":", t++) : (v = null, _('":"')), v !== null ? (S = me(), S !== null ? (r.charCodeAt(t) === 58 ? (O = ":", t++) : (O = null, _('":"')), O !== null ? (ie = me(), ie !== null ? (r.charCodeAt(t) === 58 ? (Ne = ":", t++) : (Ne = null, _('":"')), Ne !== null ? (Rt = oe(), Rt !== null ? i = [i, e, l, u, f, h, m, v, S, O, ie, Ne, Rt] : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k), i === null && (k = t, r.substr(t, 2) === "::" ? (i = "::", t += 2) : (i = null, _('"::"')), i !== null ? (e = me(), e !== null ? (r.charCodeAt(t) === 58 ? (l = ":", t++) : (l = null, _('":"')), l !== null ? (u = me(), u !== null ? (r.charCodeAt(t) === 58 ? (f = ":", t++) : (f = null, _('":"')), f !== null ? (h = me(), h !== null ? (r.charCodeAt(t) === 58 ? (m = ":", t++) : (m = null, _('":"')), m !== null ? (v = me(), v !== null ? (r.charCodeAt(t) === 58 ? (S = ":", t++) : (S = null, _('":"')), S !== null ? (O = me(), O !== null ? (r.charCodeAt(t) === 58 ? (ie = ":", t++) : (ie = null, _('":"')), ie !== null ? (Ne = oe(), Ne !== null ? i = [i, e, l, u, f, h, m, v, S, O, ie, Ne] : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k), i === null && (k = t, r.substr(t, 2) === "::" ? (i = "::", t += 2) : (i = null, _('"::"')), i !== null ? (e = me(), e !== null ? (r.charCodeAt(t) === 58 ? (l = ":", t++) : (l = null, _('":"')), l !== null ? (u = me(), u !== null ? (r.charCodeAt(t) === 58 ? (f = ":", t++) : (f = null, _('":"')), f !== null ? (h = me(), h !== null ? (r.charCodeAt(t) === 58 ? (m = ":", t++) : (m = null, _('":"')), m !== null ? (v = me(), v !== null ? (r.charCodeAt(t) === 58 ? (S = ":", t++) : (S = null, _('":"')), S !== null ? (O = oe(), O !== null ? i = [i, e, l, u, f, h, m, v, S, O] : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k), i === null && (k = t, r.substr(t, 2) === "::" ? (i = "::", t += 2) : (i = null, _('"::"')), i !== null ? (e = me(), e !== null ? (r.charCodeAt(t) === 58 ? (l = ":", t++) : (l = null, _('":"')), l !== null ? (u = me(), u !== null ? (r.charCodeAt(t) === 58 ? (f = ":", t++) : (f = null, _('":"')), f !== null ? (h = me(), h !== null ? (r.charCodeAt(t) === 58 ? (m = ":", t++) : (m = null, _('":"')), m !== null ? (v = oe(), v !== null ? i = [i, e, l, u, f, h, m, v] : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k), i === null && (k = t, r.substr(t, 2) === "::" ? (i = "::", t += 2) : (i = null, _('"::"')), i !== null ? (e = me(), e !== null ? (r.charCodeAt(t) === 58 ? (l = ":", t++) : (l = null, _('":"')), l !== null ? (u = me(), u !== null ? (r.charCodeAt(t) === 58 ? (f = ":", t++) : (f = null, _('":"')), f !== null ? (h = oe(), h !== null ? i = [i, e, l, u, f, h] : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k), i === null && (k = t, r.substr(t, 2) === "::" ? (i = "::", t += 2) : (i = null, _('"::"')), i !== null ? (e = me(), e !== null ? (r.charCodeAt(t) === 58 ? (l = ":", t++) : (l = null, _('":"')), l !== null ? (u = oe(), u !== null ? i = [i, e, l, u] : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k), i === null && (k = t, r.substr(t, 2) === "::" ? (i = "::", t += 2) : (i = null, _('"::"')), i !== null ? (e = oe(), e !== null ? i = [i, e] : (i = null, t = k)) : (i = null, t = k), i === null && (k = t, r.substr(t, 2) === "::" ? (i = "::", t += 2) : (i = null, _('"::"')), i !== null ? (e = me(), e !== null ? i = [i, e] : (i = null, t = k)) : (i = null, t = k), i === null && (k = t, i = me(), i !== null ? (r.substr(t, 2) === "::" ? (e = "::", t += 2) : (e = null, _('"::"')), e !== null ? (l = me(), l !== null ? (r.charCodeAt(t) === 58 ? (u = ":", t++) : (u = null, _('":"')), u !== null ? (f = me(), f !== null ? (r.charCodeAt(t) === 58 ? (h = ":", t++) : (h = null, _('":"')), h !== null ? (m = me(), m !== null ? (r.charCodeAt(t) === 58 ? (v = ":", t++) : (v = null, _('":"')), v !== null ? (S = me(), S !== null ? (r.charCodeAt(t) === 58 ? (O = ":", t++) : (O = null, _('":"')), O !== null ? (ie = oe(), ie !== null ? i = [i, e, l, u, f, h, m, v, S, O, ie] : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k), i === null && (k = t, i = me(), i !== null ? (C = t, r.charCodeAt(t) === 58 ? (e = ":", t++) : (e = null, _('":"')), e !== null ? (l = me(), l !== null ? e = [e, l] : (e = null, t = C)) : (e = null, t = C), e = e !== null ? e : "", e !== null ? (r.substr(t, 2) === "::" ? (l = "::", t += 2) : (l = null, _('"::"')), l !== null ? (u = me(), u !== null ? (r.charCodeAt(t) === 58 ? (f = ":", t++) : (f = null, _('":"')), f !== null ? (h = me(), h !== null ? (r.charCodeAt(t) === 58 ? (m = ":", t++) : (m = null, _('":"')), m !== null ? (v = me(), v !== null ? (r.charCodeAt(t) === 58 ? (S = ":", t++) : (S = null, _('":"')), S !== null ? (O = oe(), O !== null ? i = [i, e, l, u, f, h, m, v, S, O] : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k), i === null && (k = t, i = me(), i !== null ? (C = t, r.charCodeAt(t) === 58 ? (e = ":", t++) : (e = null, _('":"')), e !== null ? (l = me(), l !== null ? e = [e, l] : (e = null, t = C)) : (e = null, t = C), e = e !== null ? e : "", e !== null ? (C = t, r.charCodeAt(t) === 58 ? (l = ":", t++) : (l = null, _('":"')), l !== null ? (u = me(), u !== null ? l = [l, u] : (l = null, t = C)) : (l = null, t = C), l = l !== null ? l : "", l !== null ? (r.substr(t, 2) === "::" ? (u = "::", t += 2) : (u = null, _('"::"')), u !== null ? (f = me(), f !== null ? (r.charCodeAt(t) === 58 ? (h = ":", t++) : (h = null, _('":"')), h !== null ? (m = me(), m !== null ? (r.charCodeAt(t) === 58 ? (v = ":", t++) : (v = null, _('":"')), v !== null ? (S = oe(), S !== null ? i = [i, e, l, u, f, h, m, v, S] : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k), i === null && (k = t, i = me(), i !== null ? (C = t, r.charCodeAt(t) === 58 ? (e = ":", t++) : (e = null, _('":"')), e !== null ? (l = me(), l !== null ? e = [e, l] : (e = null, t = C)) : (e = null, t = C), e = e !== null ? e : "", e !== null ? (C = t, r.charCodeAt(t) === 58 ? (l = ":", t++) : (l = null, _('":"')), l !== null ? (u = me(), u !== null ? l = [l, u] : (l = null, t = C)) : (l = null, t = C), l = l !== null ? l : "", l !== null ? (C = t, r.charCodeAt(t) === 58 ? (u = ":", t++) : (u = null, _('":"')), u !== null ? (f = me(), f !== null ? u = [u, f] : (u = null, t = C)) : (u = null, t = C), u = u !== null ? u : "", u !== null ? (r.substr(t, 2) === "::" ? (f = "::", t += 2) : (f = null, _('"::"')), f !== null ? (h = me(), h !== null ? (r.charCodeAt(t) === 58 ? (m = ":", t++) : (m = null, _('":"')), m !== null ? (v = oe(), v !== null ? i = [i, e, l, u, f, h, m, v] : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k), i === null && (k = t, i = me(), i !== null ? (C = t, r.charCodeAt(t) === 58 ? (e = ":", t++) : (e = null, _('":"')), e !== null ? (l = me(), l !== null ? e = [e, l] : (e = null, t = C)) : (e = null, t = C), e = e !== null ? e : "", e !== null ? (C = t, r.charCodeAt(t) === 58 ? (l = ":", t++) : (l = null, _('":"')), l !== null ? (u = me(), u !== null ? l = [l, u] : (l = null, t = C)) : (l = null, t = C), l = l !== null ? l : "", l !== null ? (C = t, r.charCodeAt(t) === 58 ? (u = ":", t++) : (u = null, _('":"')), u !== null ? (f = me(), f !== null ? u = [u, f] : (u = null, t = C)) : (u = null, t = C), u = u !== null ? u : "", u !== null ? (C = t, r.charCodeAt(t) === 58 ? (f = ":", t++) : (f = null, _('":"')), f !== null ? (h = me(), h !== null ? f = [f, h] : (f = null, t = C)) : (f = null, t = C), f = f !== null ? f : "", f !== null ? (r.substr(t, 2) === "::" ? (h = "::", t += 2) : (h = null, _('"::"')), h !== null ? (m = oe(), m !== null ? i = [i, e, l, u, f, h, m] : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k), i === null && (k = t, i = me(), i !== null ? (C = t, r.charCodeAt(t) === 58 ? (e = ":", t++) : (e = null, _('":"')), e !== null ? (l = me(), l !== null ? e = [e, l] : (e = null, t = C)) : (e = null, t = C), e = e !== null ? e : "", e !== null ? (C = t, r.charCodeAt(t) === 58 ? (l = ":", t++) : (l = null, _('":"')), l !== null ? (u = me(), u !== null ? l = [l, u] : (l = null, t = C)) : (l = null, t = C), l = l !== null ? l : "", l !== null ? (C = t, r.charCodeAt(t) === 58 ? (u = ":", t++) : (u = null, _('":"')), u !== null ? (f = me(), f !== null ? u = [u, f] : (u = null, t = C)) : (u = null, t = C), u = u !== null ? u : "", u !== null ? (C = t, r.charCodeAt(t) === 58 ? (f = ":", t++) : (f = null, _('":"')), f !== null ? (h = me(), h !== null ? f = [f, h] : (f = null, t = C)) : (f = null, t = C), f = f !== null ? f : "", f !== null ? (C = t, r.charCodeAt(t) === 58 ? (h = ":", t++) : (h = null, _('":"')), h !== null ? (m = me(), m !== null ? h = [h, m] : (h = null, t = C)) : (h = null, t = C), h = h !== null ? h : "", h !== null ? (r.substr(t, 2) === "::" ? (m = "::", t += 2) : (m = null, _('"::"')), m !== null ? (v = me(), v !== null ? i = [i, e, l, u, f, h, m, v] : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k), i === null && (k = t, i = me(), i !== null ? (C = t, r.charCodeAt(t) === 58 ? (e = ":", t++) : (e = null, _('":"')), e !== null ? (l = me(), l !== null ? e = [e, l] : (e = null, t = C)) : (e = null, t = C), e = e !== null ? e : "", e !== null ? (C = t, r.charCodeAt(t) === 58 ? (l = ":", t++) : (l = null, _('":"')), l !== null ? (u = me(), u !== null ? l = [l, u] : (l = null, t = C)) : (l = null, t = C), l = l !== null ? l : "", l !== null ? (C = t, r.charCodeAt(t) === 58 ? (u = ":", t++) : (u = null, _('":"')), u !== null ? (f = me(), f !== null ? u = [u, f] : (u = null, t = C)) : (u = null, t = C), u = u !== null ? u : "", u !== null ? (C = t, r.charCodeAt(t) === 58 ? (f = ":", t++) : (f = null, _('":"')), f !== null ? (h = me(), h !== null ? f = [f, h] : (f = null, t = C)) : (f = null, t = C), f = f !== null ? f : "", f !== null ? (C = t, r.charCodeAt(t) === 58 ? (h = ":", t++) : (h = null, _('":"')), h !== null ? (m = me(), m !== null ? h = [h, m] : (h = null, t = C)) : (h = null, t = C), h = h !== null ? h : "", h !== null ? (C = t, r.charCodeAt(t) === 58 ? (m = ":", t++) : (m = null, _('":"')), m !== null ? (v = me(), v !== null ? m = [m, v] : (m = null, t = C)) : (m = null, t = C), m = m !== null ? m : "", m !== null ? (r.substr(t, 2) === "::" ? (v = "::", t += 2) : (v = null, _('"::"')), v !== null ? i = [i, e, l, u, f, h, m, v] : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k)) : (i = null, t = k))))))))))))))), i !== null && (i = function(Te) {
|
10918
10918
|
return b.host_type = "IPv6", r.substring(t, Te);
|
10919
|
-
}(
|
10919
|
+
}(Ds)), i === null && (t = Ds), i;
|
10920
10920
|
}
|
10921
10921
|
function me() {
|
10922
10922
|
var i, e, l, u, f;
|
@@ -10936,7 +10936,7 @@ function is() {
|
|
10936
10936
|
var i, e, l, u;
|
10937
10937
|
return u = t, r.substr(t, 2) === "25" ? (i = "25", t += 2) : (i = null, _('"25"')), i !== null ? (/^[0-5]/.test(r.charAt(t)) ? (e = r.charAt(t), t++) : (e = null, _("[0-5]")), e !== null ? i = [i, e] : (i = null, t = u)) : (i = null, t = u), i === null && (u = t, r.charCodeAt(t) === 50 ? (i = "2", t++) : (i = null, _('"2"')), i !== null ? (/^[0-4]/.test(r.charAt(t)) ? (e = r.charAt(t), t++) : (e = null, _("[0-4]")), e !== null ? (l = g(), l !== null ? i = [i, e, l] : (i = null, t = u)) : (i = null, t = u)) : (i = null, t = u), i === null && (u = t, r.charCodeAt(t) === 49 ? (i = "1", t++) : (i = null, _('"1"')), i !== null ? (e = g(), e !== null ? (l = g(), l !== null ? i = [i, e, l] : (i = null, t = u)) : (i = null, t = u)) : (i = null, t = u), i === null && (u = t, /^[1-9]/.test(r.charAt(t)) ? (i = r.charAt(t), t++) : (i = null, _("[1-9]")), i !== null ? (e = g(), e !== null ? i = [i, e] : (i = null, t = u)) : (i = null, t = u), i === null && (i = g())))), i;
|
10938
10938
|
}
|
10939
|
-
function
|
10939
|
+
function vs() {
|
10940
10940
|
var i, e, l, u, f, h, m;
|
10941
10941
|
return h = t, m = t, i = g(), i = i !== null ? i : "", i !== null ? (e = g(), e = e !== null ? e : "", e !== null ? (l = g(), l = l !== null ? l : "", l !== null ? (u = g(), u = u !== null ? u : "", u !== null ? (f = g(), f = f !== null ? f : "", f !== null ? i = [i, e, l, u, f] : (i = null, t = m)) : (i = null, t = m)) : (i = null, t = m)) : (i = null, t = m)) : (i = null, t = m), i !== null && (i = function(v, S) {
|
10942
10942
|
return S = parseInt(S.join("")), b.port = S, S;
|
@@ -10966,7 +10966,7 @@ function is() {
|
|
10966
10966
|
}
|
10967
10967
|
function dr() {
|
10968
10968
|
var i, e, l, u;
|
10969
|
-
return l = t, u = t, r.substr(t, 7).toLowerCase() === "method=" ? (i = r.substr(t, 7), t += 7) : (i = null, _('"method="')), i !== null ? (e =
|
10969
|
+
return l = t, u = t, r.substr(t, 7).toLowerCase() === "method=" ? (i = r.substr(t, 7), t += 7) : (i = null, _('"method="')), i !== null ? (e = Js(), e !== null ? i = [i, e] : (i = null, t = u)) : (i = null, t = u), i !== null && (i = function(f, h) {
|
10970
10970
|
b.uri_params || (b.uri_params = {}), b.uri_params.method = h;
|
10971
10971
|
}(l, i[1])), i === null && (t = l), i;
|
10972
10972
|
}
|
@@ -10996,9 +10996,9 @@ function is() {
|
|
10996
10996
|
}
|
10997
10997
|
function vr() {
|
10998
10998
|
var i, e, l;
|
10999
|
-
if (l = t, e =
|
10999
|
+
if (l = t, e = Es(), e !== null)
|
11000
11000
|
for (i = []; e !== null; )
|
11001
|
-
i.push(e), e =
|
11001
|
+
i.push(e), e = Es();
|
11002
11002
|
else
|
11003
11003
|
i = null;
|
11004
11004
|
return i !== null && (i = function(u, f) {
|
@@ -11007,29 +11007,29 @@ function is() {
|
|
11007
11007
|
}
|
11008
11008
|
function Er() {
|
11009
11009
|
var i, e, l;
|
11010
|
-
if (l = t, e =
|
11010
|
+
if (l = t, e = Es(), e !== null)
|
11011
11011
|
for (i = []; e !== null; )
|
11012
|
-
i.push(e), e =
|
11012
|
+
i.push(e), e = Es();
|
11013
11013
|
else
|
11014
11014
|
i = null;
|
11015
11015
|
return i !== null && (i = function(u, f) {
|
11016
11016
|
return f.join("");
|
11017
11017
|
}(l, i)), i === null && (t = l), i;
|
11018
11018
|
}
|
11019
|
-
function
|
11019
|
+
function Es() {
|
11020
11020
|
var i;
|
11021
|
-
return i =
|
11021
|
+
return i = Ss(), i === null && (i = N(), i === null && (i = Se())), i;
|
11022
11022
|
}
|
11023
|
-
function
|
11023
|
+
function Ss() {
|
11024
11024
|
var i;
|
11025
11025
|
return r.charCodeAt(t) === 91 ? (i = "[", t++) : (i = null, _('"["')), i === null && (r.charCodeAt(t) === 93 ? (i = "]", t++) : (i = null, _('"]"')), i === null && (r.charCodeAt(t) === 47 ? (i = "/", t++) : (i = null, _('"/"')), i === null && (r.charCodeAt(t) === 58 ? (i = ":", t++) : (i = null, _('":"')), i === null && (r.charCodeAt(t) === 38 ? (i = "&", t++) : (i = null, _('"&"')), i === null && (r.charCodeAt(t) === 43 ? (i = "+", t++) : (i = null, _('"+"')), i === null && (r.charCodeAt(t) === 36 ? (i = "$", t++) : (i = null, _('"$"')))))))), i;
|
11026
11026
|
}
|
11027
11027
|
function Sr() {
|
11028
11028
|
var i, e, l, u, f, h, m;
|
11029
11029
|
if (h = t, r.charCodeAt(t) === 63 ? (i = "?", t++) : (i = null, _('"?"')), i !== null)
|
11030
|
-
if (e =
|
11031
|
-
for (l = [], m = t, r.charCodeAt(t) === 38 ? (u = "&", t++) : (u = null, _('"&"')), u !== null ? (f =
|
11032
|
-
l.push(u), m = t, r.charCodeAt(t) === 38 ? (u = "&", t++) : (u = null, _('"&"')), u !== null ? (f =
|
11030
|
+
if (e = Bs(), e !== null) {
|
11031
|
+
for (l = [], m = t, r.charCodeAt(t) === 38 ? (u = "&", t++) : (u = null, _('"&"')), u !== null ? (f = Bs(), f !== null ? u = [u, f] : (u = null, t = m)) : (u = null, t = m); u !== null; )
|
11032
|
+
l.push(u), m = t, r.charCodeAt(t) === 38 ? (u = "&", t++) : (u = null, _('"&"')), u !== null ? (f = Bs(), f !== null ? u = [u, f] : (u = null, t = m)) : (u = null, t = m);
|
11033
11033
|
l !== null ? i = [i, e, l] : (i = null, t = h);
|
11034
11034
|
} else
|
11035
11035
|
i = null, t = h;
|
@@ -11037,38 +11037,38 @@ function is() {
|
|
11037
11037
|
i = null, t = h;
|
11038
11038
|
return i;
|
11039
11039
|
}
|
11040
|
-
function
|
11040
|
+
function Bs() {
|
11041
11041
|
var i, e, l, u, f;
|
11042
|
-
return u = t, f = t, i =
|
11042
|
+
return u = t, f = t, i = Gs(), i !== null ? (r.charCodeAt(t) === 61 ? (e = "=", t++) : (e = null, _('"="')), e !== null ? (l = yr(), l !== null ? i = [i, e, l] : (i = null, t = f)) : (i = null, t = f)) : (i = null, t = f), i !== null && (i = function(h, m, v) {
|
11043
11043
|
m = m.join("").toLowerCase(), v = v.join(""), b.uri_headers || (b.uri_headers = {}), b.uri_headers[m] ? b.uri_headers[m].push(v) : b.uri_headers[m] = [v];
|
11044
11044
|
}(u, i[0], i[2])), i === null && (t = u), i;
|
11045
11045
|
}
|
11046
|
-
function
|
11046
|
+
function Gs() {
|
11047
11047
|
var i, e;
|
11048
|
-
if (e =
|
11048
|
+
if (e = ys(), e === null && (e = N(), e === null && (e = Se())), e !== null)
|
11049
11049
|
for (i = []; e !== null; )
|
11050
|
-
i.push(e), e =
|
11050
|
+
i.push(e), e = ys(), e === null && (e = N(), e === null && (e = Se()));
|
11051
11051
|
else
|
11052
11052
|
i = null;
|
11053
11053
|
return i;
|
11054
11054
|
}
|
11055
11055
|
function yr() {
|
11056
11056
|
var i, e;
|
11057
|
-
for (i = [], e =
|
11058
|
-
i.push(e), e =
|
11057
|
+
for (i = [], e = ys(), e === null && (e = N(), e === null && (e = Se())); e !== null; )
|
11058
|
+
i.push(e), e = ys(), e === null && (e = N(), e === null && (e = Se()));
|
11059
11059
|
return i;
|
11060
11060
|
}
|
11061
|
-
function
|
11061
|
+
function ys() {
|
11062
11062
|
var i;
|
11063
11063
|
return r.charCodeAt(t) === 91 ? (i = "[", t++) : (i = null, _('"["')), i === null && (r.charCodeAt(t) === 93 ? (i = "]", t++) : (i = null, _('"]"')), i === null && (r.charCodeAt(t) === 47 ? (i = "/", t++) : (i = null, _('"/"')), i === null && (r.charCodeAt(t) === 63 ? (i = "?", t++) : (i = null, _('"?"')), i === null && (r.charCodeAt(t) === 58 ? (i = ":", t++) : (i = null, _('":"')), i === null && (r.charCodeAt(t) === 43 ? (i = "+", t++) : (i = null, _('"+"')), i === null && (r.charCodeAt(t) === 36 ? (i = "$", t++) : (i = null, _('"$"')))))))), i;
|
11064
11064
|
}
|
11065
|
-
function
|
11065
|
+
function Ws() {
|
11066
11066
|
var i;
|
11067
|
-
return i =
|
11067
|
+
return i = Xs(), i === null && (i = ol()), i;
|
11068
11068
|
}
|
11069
11069
|
function ol() {
|
11070
11070
|
var i, e, l, u, f, h;
|
11071
|
-
return h = t, i =
|
11071
|
+
return h = t, i = Js(), i !== null ? (e = I(), e !== null ? (l = Ar(), l !== null ? (u = I(), u !== null ? (f = On(), f !== null ? i = [i, e, l, u, f] : (i = null, t = h)) : (i = null, t = h)) : (i = null, t = h)) : (i = null, t = h)) : (i = null, t = h), i;
|
11072
11072
|
}
|
11073
11073
|
function Ar() {
|
11074
11074
|
var i;
|
@@ -11076,71 +11076,71 @@ function is() {
|
|
11076
11076
|
}
|
11077
11077
|
function bn() {
|
11078
11078
|
var i, e, l, u;
|
11079
|
-
return u = t, i =
|
11079
|
+
return u = t, i = Is(), i !== null ? (r.charCodeAt(t) === 58 ? (e = ":", t++) : (e = null, _('":"')), e !== null ? (l = wn(), l === null && (l = Ys()), l !== null ? i = [i, e, l] : (i = null, t = u)) : (i = null, t = u)) : (i = null, t = u), i;
|
11080
11080
|
}
|
11081
11081
|
function wn() {
|
11082
11082
|
var i, e, l, u, f;
|
11083
|
-
return u = t, i = Cr(), i === null && (i =
|
11083
|
+
return u = t, i = Cr(), i === null && (i = Ks()), i !== null ? (f = t, r.charCodeAt(t) === 63 ? (e = "?", t++) : (e = null, _('"?"')), e !== null ? (l = Or(), l !== null ? e = [e, l] : (e = null, t = f)) : (e = null, t = f), e = e !== null ? e : "", e !== null ? i = [i, e] : (i = null, t = u)) : (i = null, t = u), i;
|
11084
11084
|
}
|
11085
11085
|
function Cr() {
|
11086
11086
|
var i, e, l, u;
|
11087
|
-
return u = t, r.substr(t, 2) === "//" ? (i = "//", t += 2) : (i = null, _('"//"')), i !== null ? (e = Ir(), e !== null ? (l =
|
11087
|
+
return u = t, r.substr(t, 2) === "//" ? (i = "//", t += 2) : (i = null, _('"//"')), i !== null ? (e = Ir(), e !== null ? (l = Ks(), l = l !== null ? l : "", l !== null ? i = [i, e, l] : (i = null, t = u)) : (i = null, t = u)) : (i = null, t = u), i;
|
11088
11088
|
}
|
11089
|
-
function
|
11089
|
+
function Ks() {
|
11090
11090
|
var i, e, l;
|
11091
11091
|
return l = t, r.charCodeAt(t) === 47 ? (i = "/", t++) : (i = null, _('"/"')), i !== null ? (e = Rr(), e !== null ? i = [i, e] : (i = null, t = l)) : (i = null, t = l), i;
|
11092
11092
|
}
|
11093
|
-
function
|
11093
|
+
function Ys() {
|
11094
11094
|
var i, e, l, u;
|
11095
|
-
if (u = t, i =
|
11096
|
-
for (e = [], l =
|
11097
|
-
e.push(l), l =
|
11095
|
+
if (u = t, i = Cs(), i !== null) {
|
11096
|
+
for (e = [], l = As(); l !== null; )
|
11097
|
+
e.push(l), l = As();
|
11098
11098
|
e !== null ? i = [i, e] : (i = null, t = u);
|
11099
11099
|
} else
|
11100
11100
|
i = null, t = u;
|
11101
11101
|
return i;
|
11102
11102
|
}
|
11103
|
-
function
|
11103
|
+
function As() {
|
11104
11104
|
var i;
|
11105
11105
|
return i = ae(), i === null && (i = N(), i === null && (i = Se())), i;
|
11106
11106
|
}
|
11107
|
-
function
|
11107
|
+
function Cs() {
|
11108
11108
|
var i;
|
11109
11109
|
return i = N(), i === null && (i = Se(), i === null && (r.charCodeAt(t) === 59 ? (i = ";", t++) : (i = null, _('";"')), i === null && (r.charCodeAt(t) === 63 ? (i = "?", t++) : (i = null, _('"?"')), i === null && (r.charCodeAt(t) === 58 ? (i = ":", t++) : (i = null, _('":"')), i === null && (r.charCodeAt(t) === 64 ? (i = "@", t++) : (i = null, _('"@"')), i === null && (r.charCodeAt(t) === 38 ? (i = "&", t++) : (i = null, _('"&"')), i === null && (r.charCodeAt(t) === 61 ? (i = "=", t++) : (i = null, _('"="')), i === null && (r.charCodeAt(t) === 43 ? (i = "+", t++) : (i = null, _('"+"')), i === null && (r.charCodeAt(t) === 36 ? (i = "$", t++) : (i = null, _('"$"')), i === null && (r.charCodeAt(t) === 44 ? (i = ",", t++) : (i = null, _('","')))))))))))), i;
|
11110
11110
|
}
|
11111
11111
|
function Rr() {
|
11112
11112
|
var i, e, l, u, f, h;
|
11113
|
-
if (f = t, i =
|
11114
|
-
for (e = [], h = t, r.charCodeAt(t) === 47 ? (l = "/", t++) : (l = null, _('"/"')), l !== null ? (u =
|
11115
|
-
e.push(l), h = t, r.charCodeAt(t) === 47 ? (l = "/", t++) : (l = null, _('"/"')), l !== null ? (u =
|
11113
|
+
if (f = t, i = zs(), i !== null) {
|
11114
|
+
for (e = [], h = t, r.charCodeAt(t) === 47 ? (l = "/", t++) : (l = null, _('"/"')), l !== null ? (u = zs(), u !== null ? l = [l, u] : (l = null, t = h)) : (l = null, t = h); l !== null; )
|
11115
|
+
e.push(l), h = t, r.charCodeAt(t) === 47 ? (l = "/", t++) : (l = null, _('"/"')), l !== null ? (u = zs(), u !== null ? l = [l, u] : (l = null, t = h)) : (l = null, t = h);
|
11116
11116
|
e !== null ? i = [i, e] : (i = null, t = f);
|
11117
11117
|
} else
|
11118
11118
|
i = null, t = f;
|
11119
11119
|
return i;
|
11120
11120
|
}
|
11121
|
-
function
|
11121
|
+
function zs() {
|
11122
11122
|
var i, e, l, u, f, h;
|
11123
|
-
for (f = t, i = [], e =
|
11124
|
-
i.push(e), e =
|
11123
|
+
for (f = t, i = [], e = ls(); e !== null; )
|
11124
|
+
i.push(e), e = ls();
|
11125
11125
|
if (i !== null) {
|
11126
|
-
for (e = [], h = t, r.charCodeAt(t) === 59 ? (l = ";", t++) : (l = null, _('";"')), l !== null ? (u =
|
11127
|
-
e.push(l), h = t, r.charCodeAt(t) === 59 ? (l = ";", t++) : (l = null, _('";"')), l !== null ? (u =
|
11126
|
+
for (e = [], h = t, r.charCodeAt(t) === 59 ? (l = ";", t++) : (l = null, _('";"')), l !== null ? (u = Rs(), u !== null ? l = [l, u] : (l = null, t = h)) : (l = null, t = h); l !== null; )
|
11127
|
+
e.push(l), h = t, r.charCodeAt(t) === 59 ? (l = ";", t++) : (l = null, _('";"')), l !== null ? (u = Rs(), u !== null ? l = [l, u] : (l = null, t = h)) : (l = null, t = h);
|
11128
11128
|
e !== null ? i = [i, e] : (i = null, t = f);
|
11129
11129
|
} else
|
11130
11130
|
i = null, t = f;
|
11131
11131
|
return i;
|
11132
11132
|
}
|
11133
|
-
function
|
11133
|
+
function Rs() {
|
11134
11134
|
var i, e;
|
11135
|
-
for (i = [], e =
|
11136
|
-
i.push(e), e =
|
11135
|
+
for (i = [], e = ls(); e !== null; )
|
11136
|
+
i.push(e), e = ls();
|
11137
11137
|
return i;
|
11138
11138
|
}
|
11139
|
-
function
|
11139
|
+
function ls() {
|
11140
11140
|
var i;
|
11141
11141
|
return i = N(), i === null && (i = Se(), i === null && (r.charCodeAt(t) === 58 ? (i = ":", t++) : (i = null, _('":"')), i === null && (r.charCodeAt(t) === 64 ? (i = "@", t++) : (i = null, _('"@"')), i === null && (r.charCodeAt(t) === 38 ? (i = "&", t++) : (i = null, _('"&"')), i === null && (r.charCodeAt(t) === 61 ? (i = "=", t++) : (i = null, _('"="')), i === null && (r.charCodeAt(t) === 43 ? (i = "+", t++) : (i = null, _('"+"')), i === null && (r.charCodeAt(t) === 36 ? (i = "$", t++) : (i = null, _('"$"')), i === null && (r.charCodeAt(t) === 44 ? (i = ",", t++) : (i = null, _('","')))))))))), i;
|
11142
11142
|
}
|
11143
|
-
function
|
11143
|
+
function Is() {
|
11144
11144
|
var i, e, l, u, f;
|
11145
11145
|
if (u = t, f = t, i = T(), i !== null) {
|
11146
11146
|
for (e = [], l = T(), l === null && (l = g(), l === null && (r.charCodeAt(t) === 43 ? (l = "+", t++) : (l = null, _('"+"')), l === null && (r.charCodeAt(t) === 45 ? (l = "-", t++) : (l = null, _('"-"')), l === null && (r.charCodeAt(t) === 46 ? (l = ".", t++) : (l = null, _('"."')))))); l !== null; )
|
@@ -11158,7 +11158,7 @@ function is() {
|
|
11158
11158
|
}
|
11159
11159
|
function br() {
|
11160
11160
|
var i, e, l, u;
|
11161
|
-
return l = t, u = t, i = Mt(), i !== null ? (r.charCodeAt(t) === 64 ? (e = "@", t++) : (e = null, _('"@"')), e !== null ? i = [i, e] : (i = null, t = u)) : (i = null, t = u), i = i !== null ? i : "", i !== null ? (e =
|
11161
|
+
return l = t, u = t, i = Mt(), i !== null ? (r.charCodeAt(t) === 64 ? (e = "@", t++) : (e = null, _('"@"')), e !== null ? i = [i, e] : (i = null, t = u)) : (i = null, t = u), i = i !== null ? i : "", i !== null ? (e = Vs(), e !== null ? i = [i, e] : (i = null, t = l)) : (i = null, t = l), i = i !== null ? i : "", i;
|
11162
11162
|
}
|
11163
11163
|
function wr() {
|
11164
11164
|
var i, e;
|
@@ -11171,8 +11171,8 @@ function is() {
|
|
11171
11171
|
}
|
11172
11172
|
function Or() {
|
11173
11173
|
var i, e;
|
11174
|
-
for (i = [], e =
|
11175
|
-
i.push(e), e =
|
11174
|
+
for (i = [], e = As(); e !== null; )
|
11175
|
+
i.push(e), e = As();
|
11176
11176
|
return i;
|
11177
11177
|
}
|
11178
11178
|
function On() {
|
@@ -11240,13 +11240,13 @@ function is() {
|
|
11240
11240
|
var i;
|
11241
11241
|
return r.substr(t, 5) === "REFER" ? (i = "REFER", t += 5) : (i = null, _('"REFER"')), i;
|
11242
11242
|
}
|
11243
|
-
function
|
11243
|
+
function Js() {
|
11244
11244
|
var i, e;
|
11245
11245
|
return e = t, i = Dn(), i === null && (i = Dr(), i === null && (i = Nr(), i === null && (i = Ur(), i === null && (i = Pr(), i === null && (i = xr(), i === null && (i = Mr(), i === null && (i = kr(), i === null && (i = Lr(), i === null && (i = U()))))))))), i !== null && (i = function(l) {
|
11246
11246
|
return b.method = r.substring(t, l), b.method;
|
11247
11247
|
}(e)), i === null && (t = e), i;
|
11248
11248
|
}
|
11249
|
-
function
|
11249
|
+
function Xs() {
|
11250
11250
|
var i, e, l, u, f, h;
|
11251
11251
|
return h = t, i = On(), i !== null ? (e = I(), e !== null ? (l = $r(), l !== null ? (u = I(), u !== null ? (f = Fr(), f !== null ? i = [i, e, l, u, f] : (i = null, t = h)) : (i = null, t = h)) : (i = null, t = h)) : (i = null, t = h)) : (i = null, t = h), i;
|
11252
11252
|
}
|
@@ -11270,9 +11270,9 @@ function is() {
|
|
11270
11270
|
}
|
11271
11271
|
function al() {
|
11272
11272
|
var i, e, l, u, f, h;
|
11273
|
-
if (f = t, i =
|
11274
|
-
for (e = [], h = t, l = Ce(), l !== null ? (u =
|
11275
|
-
e.push(l), h = t, l = Ce(), l !== null ? (u =
|
11273
|
+
if (f = t, i = en(), i !== null) {
|
11274
|
+
for (e = [], h = t, l = Ce(), l !== null ? (u = en(), u !== null ? l = [l, u] : (l = null, t = h)) : (l = null, t = h); l !== null; )
|
11275
|
+
e.push(l), h = t, l = Ce(), l !== null ? (u = en(), u !== null ? l = [l, u] : (l = null, t = h)) : (l = null, t = h);
|
11276
11276
|
e !== null ? i = [i, e] : (i = null, t = f);
|
11277
11277
|
} else
|
11278
11278
|
i = null, t = f;
|
@@ -11306,8 +11306,8 @@ function is() {
|
|
11306
11306
|
function Nn() {
|
11307
11307
|
var i, e, l, u, f, h, m;
|
11308
11308
|
if (f = t, h = t, i = de(), i === null && (i = kt()), i !== null) {
|
11309
|
-
for (e = [], m = t, l = le(), l !== null ? (u =
|
11310
|
-
e.push(l), m = t, l = le(), l !== null ? (u =
|
11309
|
+
for (e = [], m = t, l = le(), l !== null ? (u = bs(), u !== null ? l = [l, u] : (l = null, t = m)) : (l = null, t = m); l !== null; )
|
11310
|
+
e.push(l), m = t, l = le(), l !== null ? (u = bs(), u !== null ? l = [l, u] : (l = null, t = m)) : (l = null, t = m);
|
11311
11311
|
e !== null ? i = [i, e] : (i = null, t = h);
|
11312
11312
|
} else
|
11313
11313
|
i = null, t = h;
|
@@ -11315,7 +11315,7 @@ function is() {
|
|
11315
11315
|
var S;
|
11316
11316
|
b.multi_header || (b.multi_header = []);
|
11317
11317
|
try {
|
11318
|
-
S = new
|
11318
|
+
S = new os(b.uri, b.display_name, b.params), delete b.uri, delete b.display_name, delete b.params;
|
11319
11319
|
} catch {
|
11320
11320
|
S = null;
|
11321
11321
|
}
|
@@ -11344,7 +11344,7 @@ function is() {
|
|
11344
11344
|
}, S[0]);
|
11345
11345
|
}(f, i)), i === null && (t = f), i;
|
11346
11346
|
}
|
11347
|
-
function
|
11347
|
+
function bs() {
|
11348
11348
|
var i;
|
11349
11349
|
return i = Un(), i === null && (i = Vr(), i === null && (i = Ge())), i;
|
11350
11350
|
}
|
@@ -11458,23 +11458,23 @@ function is() {
|
|
11458
11458
|
}
|
11459
11459
|
function qr() {
|
11460
11460
|
var i;
|
11461
|
-
return r.substr(t, 4).toLowerCase() === "text" ? (i = r.substr(t, 4), t += 4) : (i = null, _('"text"')), i === null && (r.substr(t, 5).toLowerCase() === "image" ? (i = r.substr(t, 5), t += 5) : (i = null, _('"image"')), i === null && (r.substr(t, 5).toLowerCase() === "audio" ? (i = r.substr(t, 5), t += 5) : (i = null, _('"audio"')), i === null && (r.substr(t, 5).toLowerCase() === "video" ? (i = r.substr(t, 5), t += 5) : (i = null, _('"video"')), i === null && (r.substr(t, 11).toLowerCase() === "application" ? (i = r.substr(t, 11), t += 11) : (i = null, _('"application"')), i === null && (i =
|
11461
|
+
return r.substr(t, 4).toLowerCase() === "text" ? (i = r.substr(t, 4), t += 4) : (i = null, _('"text"')), i === null && (r.substr(t, 5).toLowerCase() === "image" ? (i = r.substr(t, 5), t += 5) : (i = null, _('"image"')), i === null && (r.substr(t, 5).toLowerCase() === "audio" ? (i = r.substr(t, 5), t += 5) : (i = null, _('"audio"')), i === null && (r.substr(t, 5).toLowerCase() === "video" ? (i = r.substr(t, 5), t += 5) : (i = null, _('"video"')), i === null && (r.substr(t, 11).toLowerCase() === "application" ? (i = r.substr(t, 11), t += 11) : (i = null, _('"application"')), i === null && (i = Qs()))))), i;
|
11462
11462
|
}
|
11463
11463
|
function Br() {
|
11464
11464
|
var i;
|
11465
|
-
return r.substr(t, 7).toLowerCase() === "message" ? (i = r.substr(t, 7), t += 7) : (i = null, _('"message"')), i === null && (r.substr(t, 9).toLowerCase() === "multipart" ? (i = r.substr(t, 9), t += 9) : (i = null, _('"multipart"')), i === null && (i =
|
11465
|
+
return r.substr(t, 7).toLowerCase() === "message" ? (i = r.substr(t, 7), t += 7) : (i = null, _('"message"')), i === null && (r.substr(t, 9).toLowerCase() === "multipart" ? (i = r.substr(t, 9), t += 9) : (i = null, _('"multipart"')), i === null && (i = Qs())), i;
|
11466
11466
|
}
|
11467
|
-
function
|
11467
|
+
function Qs() {
|
11468
11468
|
var i;
|
11469
|
-
return i = U(), i === null && (i =
|
11469
|
+
return i = U(), i === null && (i = Zs()), i;
|
11470
11470
|
}
|
11471
|
-
function
|
11471
|
+
function Zs() {
|
11472
11472
|
var i, e, l;
|
11473
11473
|
return l = t, r.substr(t, 2).toLowerCase() === "x-" ? (i = r.substr(t, 2), t += 2) : (i = null, _('"x-"')), i !== null ? (e = U(), e !== null ? i = [i, e] : (i = null, t = l)) : (i = null, t = l), i;
|
11474
11474
|
}
|
11475
11475
|
function Gr() {
|
11476
11476
|
var i;
|
11477
|
-
return i =
|
11477
|
+
return i = Qs(), i === null && (i = U()), i;
|
11478
11478
|
}
|
11479
11479
|
function Mn() {
|
11480
11480
|
var i, e, l, u;
|
@@ -11486,7 +11486,7 @@ function is() {
|
|
11486
11486
|
}
|
11487
11487
|
function hl() {
|
11488
11488
|
var i, e, l, u;
|
11489
|
-
return u = t, i = dl(), i !== null ? (e = ve(), e !== null ? (l =
|
11489
|
+
return u = t, i = dl(), i !== null ? (e = ve(), e !== null ? (l = Js(), l !== null ? i = [i, e, l] : (i = null, t = u)) : (i = null, t = u)) : (i = null, t = u), i;
|
11490
11490
|
}
|
11491
11491
|
function dl() {
|
11492
11492
|
var i, e, l;
|
@@ -11507,7 +11507,7 @@ function is() {
|
|
11507
11507
|
}
|
11508
11508
|
function Ho() {
|
11509
11509
|
var i, e, l, u, f, h, m;
|
11510
|
-
if (f = t, h = t, i =
|
11510
|
+
if (f = t, h = t, i = en(), i !== null) {
|
11511
11511
|
for (e = [], m = t, l = le(), l !== null ? (u = Ge(), u !== null ? l = [l, u] : (l = null, t = m)) : (l = null, t = m); l !== null; )
|
11512
11512
|
e.push(l), m = t, l = le(), l !== null ? (u = Ge(), u !== null ? l = [l, u] : (l = null, t = m)) : (l = null, t = m);
|
11513
11513
|
e !== null ? i = [i, e] : (i = null, t = h);
|
@@ -11517,7 +11517,7 @@ function is() {
|
|
11517
11517
|
b.event = S.join("").toLowerCase();
|
11518
11518
|
}(f, i[0])), i === null && (t = f), i;
|
11519
11519
|
}
|
11520
|
-
function
|
11520
|
+
function en() {
|
11521
11521
|
var i, e, l, u, f, h;
|
11522
11522
|
if (f = t, i = P(), i !== null) {
|
11523
11523
|
for (e = [], h = t, r.charCodeAt(t) === 46 ? (l = ".", t++) : (l = null, _('"."')), l !== null ? (u = P(), u !== null ? l = [l, u] : (l = null, t = h)) : (l = null, t = h); l !== null; )
|
@@ -11527,7 +11527,7 @@ function is() {
|
|
11527
11527
|
i = null, t = f;
|
11528
11528
|
return i;
|
11529
11529
|
}
|
11530
|
-
function
|
11530
|
+
function tn() {
|
11531
11531
|
var i, e, l, u, f, h, m;
|
11532
11532
|
if (f = t, h = t, i = de(), i === null && (i = kt()), i !== null) {
|
11533
11533
|
for (e = [], m = t, l = le(), l !== null ? (u = Wr(), u !== null ? l = [l, u] : (l = null, t = m)) : (l = null, t = m); l !== null; )
|
@@ -11538,7 +11538,7 @@ function is() {
|
|
11538
11538
|
return i !== null && (i = function(v) {
|
11539
11539
|
var S = b.tag;
|
11540
11540
|
try {
|
11541
|
-
b = new
|
11541
|
+
b = new os(b.uri, b.display_name, b.params), S && b.setParam("tag", S);
|
11542
11542
|
} catch {
|
11543
11543
|
b = -1;
|
11544
11544
|
}
|
@@ -11546,9 +11546,9 @@ function is() {
|
|
11546
11546
|
}
|
11547
11547
|
function Wr() {
|
11548
11548
|
var i;
|
11549
|
-
return i =
|
11549
|
+
return i = sn(), i === null && (i = Ge()), i;
|
11550
11550
|
}
|
11551
|
-
function
|
11551
|
+
function sn() {
|
11552
11552
|
var i, e, l, u, f;
|
11553
11553
|
return u = t, f = t, r.substr(t, 3).toLowerCase() === "tag" ? (i = r.substr(t, 3), t += 3) : (i = null, _('"tag"')), i !== null ? (e = B(), e !== null ? (l = U(), l !== null ? i = [i, e, l] : (i = null, t = f)) : (i = null, t = f)) : (i = null, t = f), i !== null && (i = function(h, m) {
|
11554
11554
|
b.tag = m;
|
@@ -11592,7 +11592,7 @@ function is() {
|
|
11592
11592
|
i = null, t = S;
|
11593
11593
|
return i !== null && (i = function(ie) {
|
11594
11594
|
try {
|
11595
|
-
b = new
|
11595
|
+
b = new os(b.uri, b.display_name, b.params);
|
11596
11596
|
} catch {
|
11597
11597
|
b = -1;
|
11598
11598
|
}
|
@@ -11622,9 +11622,9 @@ function is() {
|
|
11622
11622
|
var i, e, l, u, f, h, m, v;
|
11623
11623
|
if (m = t, i = U(), i !== null)
|
11624
11624
|
if (e = ve(), e !== null)
|
11625
|
-
if (l =
|
11626
|
-
for (u = [], v = t, f = Ce(), f !== null ? (h =
|
11627
|
-
u.push(f), v = t, f = Ce(), f !== null ? (h =
|
11625
|
+
if (l = ws(), l !== null) {
|
11626
|
+
for (u = [], v = t, f = Ce(), f !== null ? (h = ws(), h !== null ? f = [f, h] : (f = null, t = v)) : (f = null, t = v); f !== null; )
|
11627
|
+
u.push(f), v = t, f = Ce(), f !== null ? (h = ws(), h !== null ? f = [f, h] : (f = null, t = v)) : (f = null, t = v);
|
11628
11628
|
u !== null ? i = [i, e, l, u] : (i = null, t = m);
|
11629
11629
|
} else
|
11630
11630
|
i = null, t = m;
|
@@ -11634,15 +11634,15 @@ function is() {
|
|
11634
11634
|
i = null, t = m;
|
11635
11635
|
return i;
|
11636
11636
|
}
|
11637
|
-
function
|
11637
|
+
function ws() {
|
11638
11638
|
var i, e, l, u;
|
11639
11639
|
return u = t, i = U(), i !== null ? (e = B(), e !== null ? (l = U(), l === null && (l = Ie()), l !== null ? i = [i, e, l] : (i = null, t = u)) : (i = null, t = u)) : (i = null, t = u), i;
|
11640
11640
|
}
|
11641
11641
|
function Xt() {
|
11642
11642
|
var i;
|
11643
|
-
return i =
|
11643
|
+
return i = nn(), i === null && (i = Jr(), i === null && (i = ln(), i === null && (i = Qr(), i === null && (i = Zr(), i === null && (i = ei(), i === null && (i = ti(), i === null && (i = ws()))))))), i;
|
11644
11644
|
}
|
11645
|
-
function
|
11645
|
+
function nn() {
|
11646
11646
|
var i, e, l, u;
|
11647
11647
|
return u = t, r.substr(t, 5).toLowerCase() === "realm" ? (i = r.substr(t, 5), t += 5) : (i = null, _('"realm"')), i !== null ? (e = B(), e !== null ? (l = zr(), l !== null ? i = [i, e, l] : (i = null, t = u)) : (i = null, t = u)) : (i = null, t = u), i;
|
11648
11648
|
}
|
@@ -11657,19 +11657,19 @@ function is() {
|
|
11657
11657
|
if (v = t, r.substr(t, 6).toLowerCase() === "domain" ? (i = r.substr(t, 6), t += 6) : (i = null, _('"domain"')), i !== null)
|
11658
11658
|
if (e = B(), e !== null)
|
11659
11659
|
if (l = tt(), l !== null)
|
11660
|
-
if (u =
|
11660
|
+
if (u = rn(), u !== null) {
|
11661
11661
|
if (f = [], S = t, m = I(), m !== null)
|
11662
11662
|
for (h = []; m !== null; )
|
11663
11663
|
h.push(m), m = I();
|
11664
11664
|
else
|
11665
11665
|
h = null;
|
11666
|
-
for (h !== null ? (m =
|
11666
|
+
for (h !== null ? (m = rn(), m !== null ? h = [h, m] : (h = null, t = S)) : (h = null, t = S); h !== null; ) {
|
11667
11667
|
if (f.push(h), S = t, m = I(), m !== null)
|
11668
11668
|
for (h = []; m !== null; )
|
11669
11669
|
h.push(m), m = I();
|
11670
11670
|
else
|
11671
11671
|
h = null;
|
11672
|
-
h !== null ? (m =
|
11672
|
+
h !== null ? (m = rn(), m !== null ? h = [h, m] : (h = null, t = S)) : (h = null, t = S);
|
11673
11673
|
}
|
11674
11674
|
f !== null ? (h = it(), h !== null ? i = [i, e, l, u, f, h] : (i = null, t = v)) : (i = null, t = v);
|
11675
11675
|
} else
|
@@ -11682,11 +11682,11 @@ function is() {
|
|
11682
11682
|
i = null, t = v;
|
11683
11683
|
return i;
|
11684
11684
|
}
|
11685
|
-
function
|
11685
|
+
function rn() {
|
11686
11686
|
var i;
|
11687
|
-
return i = bn(), i === null && (i =
|
11687
|
+
return i = bn(), i === null && (i = Ks()), i;
|
11688
11688
|
}
|
11689
|
-
function
|
11689
|
+
function ln() {
|
11690
11690
|
var i, e, l, u;
|
11691
11691
|
return u = t, r.substr(t, 5).toLowerCase() === "nonce" ? (i = r.substr(t, 5), t += 5) : (i = null, _('"nonce"')), i !== null ? (e = B(), e !== null ? (l = Xr(), l !== null ? i = [i, e, l] : (i = null, t = u)) : (i = null, t = u)) : (i = null, t = u), i;
|
11692
11692
|
}
|
@@ -11721,9 +11721,9 @@ function is() {
|
|
11721
11721
|
if (v = t, r.substr(t, 3).toLowerCase() === "qop" ? (i = r.substr(t, 3), t += 3) : (i = null, _('"qop"')), i !== null)
|
11722
11722
|
if (e = B(), e !== null)
|
11723
11723
|
if (l = tt(), l !== null) {
|
11724
|
-
if (S = t, u =
|
11725
|
-
for (f = [], O = t, r.charCodeAt(t) === 44 ? (h = ",", t++) : (h = null, _('","')), h !== null ? (m =
|
11726
|
-
f.push(h), O = t, r.charCodeAt(t) === 44 ? (h = ",", t++) : (h = null, _('","')), h !== null ? (m =
|
11724
|
+
if (S = t, u = on(), u !== null) {
|
11725
|
+
for (f = [], O = t, r.charCodeAt(t) === 44 ? (h = ",", t++) : (h = null, _('","')), h !== null ? (m = on(), m !== null ? h = [h, m] : (h = null, t = O)) : (h = null, t = O); h !== null; )
|
11726
|
+
f.push(h), O = t, r.charCodeAt(t) === 44 ? (h = ",", t++) : (h = null, _('","')), h !== null ? (m = on(), m !== null ? h = [h, m] : (h = null, t = O)) : (h = null, t = O);
|
11727
11727
|
f !== null ? u = [u, f] : (u = null, t = S);
|
11728
11728
|
} else
|
11729
11729
|
u = null, t = S;
|
@@ -11736,7 +11736,7 @@ function is() {
|
|
11736
11736
|
i = null, t = v;
|
11737
11737
|
return i;
|
11738
11738
|
}
|
11739
|
-
function
|
11739
|
+
function on() {
|
11740
11740
|
var i, e;
|
11741
11741
|
return e = t, r.substr(t, 8).toLowerCase() === "auth-int" ? (i = r.substr(t, 8), t += 8) : (i = null, _('"auth-int"')), i === null && (r.substr(t, 4).toLowerCase() === "auth" ? (i = r.substr(t, 4), t += 4) : (i = null, _('"auth"')), i === null && (i = U())), i !== null && (i = function(l, u) {
|
11742
11742
|
b.qop || (b.qop = []), b.qop.push(u.toLowerCase());
|
@@ -11782,7 +11782,7 @@ function is() {
|
|
11782
11782
|
var S;
|
11783
11783
|
b.multi_header || (b.multi_header = []);
|
11784
11784
|
try {
|
11785
|
-
S = new
|
11785
|
+
S = new os(b.uri, b.display_name, b.params), delete b.uri, delete b.display_name, delete b.params;
|
11786
11786
|
} catch {
|
11787
11787
|
S = null;
|
11788
11788
|
}
|
@@ -11915,7 +11915,7 @@ function is() {
|
|
11915
11915
|
return i !== null && (i = function(v) {
|
11916
11916
|
var S = b.tag;
|
11917
11917
|
try {
|
11918
|
-
b = new
|
11918
|
+
b = new os(b.uri, b.display_name, b.params), S && b.setParam("tag", S);
|
11919
11919
|
} catch {
|
11920
11920
|
b = -1;
|
11921
11921
|
}
|
@@ -11923,7 +11923,7 @@ function is() {
|
|
11923
11923
|
}
|
11924
11924
|
function ni() {
|
11925
11925
|
var i;
|
11926
|
-
return i =
|
11926
|
+
return i = sn(), i === null && (i = Ge()), i;
|
11927
11927
|
}
|
11928
11928
|
function ri() {
|
11929
11929
|
var i, e, l, u, f, h;
|
@@ -11940,8 +11940,8 @@ function is() {
|
|
11940
11940
|
if (m = t, i = ci(), i !== null)
|
11941
11941
|
if (e = ve(), e !== null)
|
11942
11942
|
if (l = hi(), l !== null) {
|
11943
|
-
for (u = [], v = t, f = le(), f !== null ? (h =
|
11944
|
-
u.push(f), v = t, f = le(), f !== null ? (h =
|
11943
|
+
for (u = [], v = t, f = le(), f !== null ? (h = Os(), h !== null ? f = [f, h] : (f = null, t = v)) : (f = null, t = v); f !== null; )
|
11944
|
+
u.push(f), v = t, f = le(), f !== null ? (h = Os(), h !== null ? f = [f, h] : (f = null, t = v)) : (f = null, t = v);
|
11945
11945
|
u !== null ? i = [i, e, l, u] : (i = null, t = m);
|
11946
11946
|
} else
|
11947
11947
|
i = null, t = m;
|
@@ -11951,7 +11951,7 @@ function is() {
|
|
11951
11951
|
i = null, t = m;
|
11952
11952
|
return i;
|
11953
11953
|
}
|
11954
|
-
function
|
11954
|
+
function Os() {
|
11955
11955
|
var i;
|
11956
11956
|
return i = Kn(), i === null && (i = ii(), i === null && (i = li(), i === null && (i = oi(), i === null && (i = ai(), i === null && (i = Ge()))))), i;
|
11957
11957
|
}
|
@@ -11969,7 +11969,7 @@ function is() {
|
|
11969
11969
|
}
|
11970
11970
|
function li() {
|
11971
11971
|
var i, e, l, u, f;
|
11972
|
-
return u = t, f = t, r.substr(t, 8).toLowerCase() === "received" ? (i = r.substr(t, 8), t += 8) : (i = null, _('"received"')), i !== null ? (e = B(), e !== null ? (l = lt(), l === null && (l =
|
11972
|
+
return u = t, f = t, r.substr(t, 8).toLowerCase() === "received" ? (i = r.substr(t, 8), t += 8) : (i = null, _('"received"')), i !== null ? (e = B(), e !== null ? (l = lt(), l === null && (l = qs()), l !== null ? i = [i, e, l] : (i = null, t = f)) : (i = null, t = f)) : (i = null, t = f), i !== null && (i = function(h, m) {
|
11973
11973
|
b.received = m;
|
11974
11974
|
}(u, i[2])), i === null && (t = u), i;
|
11975
11975
|
}
|
@@ -12011,7 +12011,7 @@ function is() {
|
|
12011
12011
|
}
|
12012
12012
|
function di() {
|
12013
12013
|
var i, e;
|
12014
|
-
return e = t, i = lt(), i === null && (i = Cn(), i === null && (i =
|
12014
|
+
return e = t, i = lt(), i === null && (i = Cn(), i === null && (i = is())), i !== null && (i = function(l) {
|
12015
12015
|
b.host = r.substring(t, l);
|
12016
12016
|
}(e)), i === null && (t = e), i;
|
12017
12017
|
}
|
@@ -12105,7 +12105,7 @@ function is() {
|
|
12105
12105
|
i = null, t = h;
|
12106
12106
|
return i !== null && (i = function(v) {
|
12107
12107
|
try {
|
12108
|
-
b = new
|
12108
|
+
b = new os(b.uri, b.display_name, b.params);
|
12109
12109
|
} catch {
|
12110
12110
|
b = -1;
|
12111
12111
|
}
|
@@ -12163,7 +12163,7 @@ function is() {
|
|
12163
12163
|
}
|
12164
12164
|
return { line: i, column: e };
|
12165
12165
|
}
|
12166
|
-
var bl =
|
12166
|
+
var bl = gs(), os = Au(), b = {}, w = a[o]();
|
12167
12167
|
if (w === null || t !== r.length) {
|
12168
12168
|
var Ei = Math.max(t, s), Si = Ei < r.length ? r.charAt(Ei) : null, wl = Jo();
|
12169
12169
|
return new this.SyntaxError(
|
@@ -12201,11 +12201,11 @@ function is() {
|
|
12201
12201
|
}()), Sa;
|
12202
12202
|
}
|
12203
12203
|
var ya, jc;
|
12204
|
-
function
|
12204
|
+
function gs() {
|
12205
12205
|
if (jc)
|
12206
12206
|
return ya;
|
12207
12207
|
jc = 1;
|
12208
|
-
const c = Ue, n = Et(), r =
|
12208
|
+
const c = Ue, n = Et(), r = rs();
|
12209
12209
|
return ya = class Xf {
|
12210
12210
|
/**
|
12211
12211
|
* Parse the given string and returns a JsSIP.URI instance or undefined if
|
@@ -12321,7 +12321,7 @@ function Et() {
|
|
12321
12321
|
if (qc)
|
12322
12322
|
return Ze;
|
12323
12323
|
qc = 1;
|
12324
|
-
const c = Ue, n =
|
12324
|
+
const c = Ue, n = gs(), r = rs();
|
12325
12325
|
Ze.str_utf8_length = (s) => unescape(encodeURIComponent(s)).length;
|
12326
12326
|
const o = Ze.isFunction = (s) => s !== void 0 ? Object.prototype.toString.call(s) === "[object Function]" : !1;
|
12327
12327
|
Ze.isString = (s) => s !== void 0 ? Object.prototype.toString.call(s) === "[object String]" : !1, Ze.isDecimal = (s) => !isNaN(s) && parseFloat(s) === parseInt(s, 10), Ze.isEmpty = (s) => s === null || s === "" || s === void 0 || Array.isArray(s) && s.length === 0 || typeof s == "number" && isNaN(s), Ze.hasMethods = function(s, ...p) {
|
@@ -12475,7 +12475,7 @@ function Et() {
|
|
12475
12475
|
}
|
12476
12476
|
}, Ze.cloneArray = (s) => s && s.slice() || [], Ze.cloneObject = (s, p = {}) => s && Object.assign({}, s) || p, Ze;
|
12477
12477
|
}
|
12478
|
-
const Qf = Nt, ym = at, vt = Ue, nt = Et(), Bc = Au(), Am =
|
12478
|
+
const Qf = Nt, ym = at, vt = Ue, nt = Et(), Bc = Au(), Am = rs(), Aa = new ym("SIPMessage");
|
12479
12479
|
class Po {
|
12480
12480
|
constructor(n, r, o, a, t, s) {
|
12481
12481
|
if (!n || !r || !o)
|
@@ -12833,7 +12833,7 @@ var xt = {
|
|
12833
12833
|
IncomingRequest: Cm,
|
12834
12834
|
IncomingResponse: Rm
|
12835
12835
|
};
|
12836
|
-
const Im = at,
|
12836
|
+
const Im = at, fs = Et(), Wt = new Im("DigestAuthentication");
|
12837
12837
|
var e_ = class {
|
12838
12838
|
constructor(n) {
|
12839
12839
|
this._credentials = n, 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;
|
@@ -12879,11 +12879,11 @@ var e_ = class {
|
|
12879
12879
|
return Wt.warn('authenticate() | challenge without Digest qop different than "auth" or "auth-int", authentication aborted'), !1;
|
12880
12880
|
else
|
12881
12881
|
this._qop = null;
|
12882
|
-
this._method = n, this._uri = r, this._cnonce = t ||
|
12882
|
+
this._method = n, this._uri = r, this._cnonce = t || fs.createRandomToken(12), this._nc += 1;
|
12883
12883
|
const s = Number(this._nc).toString(16);
|
12884
|
-
this._ncHex = "00000000".substr(0, 8 - s.length) + s, this._nc === 4294967296 && (this._nc = 1, this._ncHex = "00000001"), this._credentials.password ? this._ha1 =
|
12884
|
+
this._ncHex = "00000000".substr(0, 8 - s.length) + s, this._nc === 4294967296 && (this._nc = 1, this._ncHex = "00000001"), this._credentials.password ? this._ha1 = fs.calculateMD5(`${this._credentials.username}:${this._realm}:${this._credentials.password}`) : this._ha1 = this._credentials.ha1;
|
12885
12885
|
let p, _;
|
12886
|
-
return this._qop === "auth" ? (p = `${this._method}:${this._uri}`, _ =
|
12886
|
+
return this._qop === "auth" ? (p = `${this._method}:${this._uri}`, _ = fs.calculateMD5(p), Wt.debug('authenticate() | using qop=auth [a2:"%s"]', p), this._response = fs.calculateMD5(`${this._ha1}:${this._nonce}:${this._ncHex}:${this._cnonce}:auth:${_}`)) : this._qop === "auth-int" ? (p = `${this._method}:${this._uri}:${fs.calculateMD5(o || "")}`, _ = fs.calculateMD5(p), Wt.debug('authenticate() | using qop=auth-int [a2:"%s"]', p), this._response = fs.calculateMD5(`${this._ha1}:${this._nonce}:${this._ncHex}:${this._cnonce}:auth-int:${_}`)) : this._qop === null && (p = `${this._method}:${this._uri}`, _ = fs.calculateMD5(p), Wt.debug('authenticate() | using qop=null [a2:"%s"]', p), this._response = fs.calculateMD5(`${this._ha1}:${this._nonce}:${_}`)), Wt.debug("authenticate() | response generated"), !0;
|
12887
12887
|
}
|
12888
12888
|
/**
|
12889
12889
|
* Return the Proxy-Authorization or WWW-Authorization header value.
|
@@ -12895,24 +12895,24 @@ var e_ = class {
|
|
12895
12895
|
return n.push(`algorithm=${this._algorithm}`), n.push(`username="${this._credentials.username}"`), n.push(`realm="${this._realm}"`), n.push(`nonce="${this._nonce}"`), n.push(`uri="${this._uri}"`), n.push(`response="${this._response}"`), this._opaque && n.push(`opaque="${this._opaque}"`), this._qop && (n.push(`qop=${this._qop}`), n.push(`cnonce="${this._cnonce}"`), n.push(`nc=${this._ncHex}`)), `Digest ${n.join(", ")}`;
|
12896
12896
|
}
|
12897
12897
|
};
|
12898
|
-
const bm = /* @__PURE__ */ ot(e_),
|
12898
|
+
const bm = /* @__PURE__ */ ot(e_), _s = 500, wm = 4e3, Gc = 5e3;
|
12899
12899
|
var Ru = {
|
12900
|
-
T1:
|
12900
|
+
T1: _s,
|
12901
12901
|
T2: wm,
|
12902
12902
|
T4: Gc,
|
12903
|
-
TIMER_B: 64 *
|
12904
|
-
TIMER_D: 0 *
|
12905
|
-
TIMER_F: 64 *
|
12906
|
-
TIMER_H: 64 *
|
12907
|
-
TIMER_I: 0 *
|
12908
|
-
TIMER_J: 0 *
|
12903
|
+
TIMER_B: 64 * _s,
|
12904
|
+
TIMER_D: 0 * _s,
|
12905
|
+
TIMER_F: 64 * _s,
|
12906
|
+
TIMER_H: 64 * _s,
|
12907
|
+
TIMER_I: 0 * _s,
|
12908
|
+
TIMER_J: 0 * _s,
|
12909
12909
|
TIMER_K: 0 * Gc,
|
12910
|
-
TIMER_L: 64 *
|
12911
|
-
TIMER_M: 64 *
|
12910
|
+
TIMER_L: 64 * _s,
|
12911
|
+
TIMER_M: 64 * _s,
|
12912
12912
|
PROVISIONAL_RESPONSE_INTERVAL: 6e4
|
12913
12913
|
// See RFC 3261 Section 13.3.1.1
|
12914
12914
|
};
|
12915
|
-
const Di = /* @__PURE__ */ ot(Ru), rl = ct.EventEmitter, il = at, ji = Ue, Wc = xt,
|
12915
|
+
const Di = /* @__PURE__ */ ot(Ru), rl = ct.EventEmitter, il = at, ji = Ue, Wc = xt, ss = Ru, Kc = new il("NonInviteClientTransaction"), Fl = new il("InviteClientTransaction"), Om = new il("AckClientTransaction"), Yc = new il("NonInviteServerTransaction"), Vl = new il("InviteServerTransaction"), he = {
|
12916
12916
|
// Transaction states.
|
12917
12917
|
STATUS_TRYING: 1,
|
12918
12918
|
STATUS_PROCEEDING: 2,
|
@@ -12942,7 +12942,7 @@ class Dm extends rl {
|
|
12942
12942
|
send() {
|
12943
12943
|
this.stateChanged(he.STATUS_TRYING), this.F = setTimeout(() => {
|
12944
12944
|
this.timer_F();
|
12945
|
-
},
|
12945
|
+
}, ss.TIMER_F), this.transport.send(this.request) || this.onTransportError();
|
12946
12946
|
}
|
12947
12947
|
onTransportError() {
|
12948
12948
|
Kc.debug(`transport error occurred, deleting transaction ${this.id}`), clearTimeout(this.F), clearTimeout(this.K), this.stateChanged(he.STATUS_TERMINATED), this.ua.destroyTransaction(this), this.eventHandlers.onTransportError();
|
@@ -12968,7 +12968,7 @@ class Dm extends rl {
|
|
12968
12968
|
case he.STATUS_PROCEEDING:
|
12969
12969
|
this.stateChanged(he.STATUS_COMPLETED), clearTimeout(this.F), r === 408 ? this.eventHandlers.onRequestTimeout() : this.eventHandlers.onReceiveResponse(n), this.K = setTimeout(() => {
|
12970
12970
|
this.timer_K();
|
12971
|
-
},
|
12971
|
+
}, ss.TIMER_K);
|
12972
12972
|
break;
|
12973
12973
|
case he.STATUS_COMPLETED:
|
12974
12974
|
break;
|
@@ -12990,7 +12990,7 @@ class Nm extends rl {
|
|
12990
12990
|
send() {
|
12991
12991
|
this.stateChanged(he.STATUS_CALLING), this.B = setTimeout(() => {
|
12992
12992
|
this.timer_B();
|
12993
|
-
},
|
12993
|
+
}, ss.TIMER_B), this.transport.send(this.request) || this.onTransportError();
|
12994
12994
|
}
|
12995
12995
|
onTransportError() {
|
12996
12996
|
clearTimeout(this.B), clearTimeout(this.D), clearTimeout(this.M), this.state !== he.STATUS_ACCEPTED && (Fl.debug(`transport error occurred, deleting transaction ${this.id}`), this.eventHandlers.onTransportError()), this.stateChanged(he.STATUS_TERMINATED), this.ua.destroyTransaction(this);
|
@@ -13019,7 +13019,7 @@ class Nm extends rl {
|
|
13019
13019
|
);
|
13020
13020
|
r.setHeader("from", this.request.getHeader("from")), r.setHeader("via", this.request.getHeader("via")), r.setHeader("to", n.getHeader("to")), this.D = setTimeout(() => {
|
13021
13021
|
this.timer_D();
|
13022
|
-
},
|
13022
|
+
}, ss.TIMER_D), this.transport.send(r);
|
13023
13023
|
}
|
13024
13024
|
cancel(n) {
|
13025
13025
|
if (this.state !== he.STATUS_PROCEEDING)
|
@@ -13053,7 +13053,7 @@ class Nm extends rl {
|
|
13053
13053
|
case he.STATUS_PROCEEDING:
|
13054
13054
|
this.stateChanged(he.STATUS_ACCEPTED), this.M = setTimeout(() => {
|
13055
13055
|
this.timer_M();
|
13056
|
-
},
|
13056
|
+
}, ss.TIMER_M), this.eventHandlers.onReceiveResponse(n);
|
13057
13057
|
break;
|
13058
13058
|
case he.STATUS_ACCEPTED:
|
13059
13059
|
this.eventHandlers.onReceiveResponse(n);
|
@@ -13119,7 +13119,7 @@ class Pm extends rl {
|
|
13119
13119
|
case he.STATUS_PROCEEDING:
|
13120
13120
|
this.stateChanged(he.STATUS_COMPLETED), this.last_response = r, this.J = setTimeout(() => {
|
13121
13121
|
this.timer_J();
|
13122
|
-
},
|
13122
|
+
}, ss.TIMER_J), this.transport.send(r) ? o && o() : (this.onTransportError(), a && a());
|
13123
13123
|
break;
|
13124
13124
|
case he.STATUS_COMPLETED:
|
13125
13125
|
break;
|
@@ -13163,13 +13163,13 @@ class xm extends rl {
|
|
13163
13163
|
if (n > 100 && n <= 199 && this.state === he.STATUS_PROCEEDING)
|
13164
13164
|
this.resendProvisionalTimer === null && (this.resendProvisionalTimer = setInterval(() => {
|
13165
13165
|
this.resend_provisional();
|
13166
|
-
},
|
13166
|
+
}, ss.PROVISIONAL_RESPONSE_INTERVAL));
|
13167
13167
|
else if (n >= 200 && n <= 299)
|
13168
13168
|
switch (this.state) {
|
13169
13169
|
case he.STATUS_PROCEEDING:
|
13170
13170
|
this.stateChanged(he.STATUS_ACCEPTED), this.last_response = r, this.L = setTimeout(() => {
|
13171
13171
|
this.timer_L();
|
13172
|
-
},
|
13172
|
+
}, ss.TIMER_L), this.resendProvisionalTimer !== null && (clearInterval(this.resendProvisionalTimer), this.resendProvisionalTimer = null);
|
13173
13173
|
case he.STATUS_ACCEPTED:
|
13174
13174
|
this.transport.send(r) ? o && o() : (this.onTransportError(), a && a());
|
13175
13175
|
break;
|
@@ -13179,7 +13179,7 @@ class xm extends rl {
|
|
13179
13179
|
case he.STATUS_PROCEEDING:
|
13180
13180
|
this.resendProvisionalTimer !== null && (clearInterval(this.resendProvisionalTimer), this.resendProvisionalTimer = null), this.transport.send(r) ? (this.stateChanged(he.STATUS_COMPLETED), this.H = setTimeout(() => {
|
13181
13181
|
this.timer_H();
|
13182
|
-
},
|
13182
|
+
}, ss.TIMER_H), o && o()) : (this.onTransportError(), a && a());
|
13183
13183
|
break;
|
13184
13184
|
}
|
13185
13185
|
}
|
@@ -13206,7 +13206,7 @@ function Mm({ _transactions: c }, n) {
|
|
13206
13206
|
if (r.state === he.STATUS_COMPLETED)
|
13207
13207
|
return r.state = he.STATUS_CONFIRMED, r.I = setTimeout(() => {
|
13208
13208
|
r.timer_I();
|
13209
|
-
},
|
13209
|
+
}, ss.TIMER_I), !0;
|
13210
13210
|
} else
|
13211
13211
|
return !1;
|
13212
13212
|
break;
|
@@ -13324,7 +13324,7 @@ var fr = class {
|
|
13324
13324
|
this._eventHandlers.onReceiveResponse(n);
|
13325
13325
|
}
|
13326
13326
|
};
|
13327
|
-
const t_ = /* @__PURE__ */ ot(fr), Hm = at, Ia = Et(),
|
13327
|
+
const t_ = /* @__PURE__ */ ot(fr), Hm = at, Ia = Et(), fn = Ue, Jc = xt, Xc = fr, Ni = new Hm("Registrator"), jl = 10;
|
13328
13328
|
var Fm = class {
|
13329
13329
|
constructor(n, r) {
|
13330
13330
|
this._reg_id = 1, this._ua = n, this._transport = r, this._registrar = n.configuration.registrar_server, this._expires = n.configuration.register_expires, this._call_id = Ia.createRandomToken(22), this._cseq = 0, this._to_uri = n.configuration.uri, this._registrationTimer = null, this._registering = !1, this._registered = !1, this._contact = this._ua.contact.toString(), this._contact += ";+sip.ice", this._extraHeaders = [], this._extraContactParams = "", this._sipInstance = `"<urn:uuid:${this._ua.configuration.instance_id}>"`, this._contact += `;reg-id=${this._reg_id}`, this._contact += `;+sip.instance=${this._sipInstance}`;
|
@@ -13351,7 +13351,7 @@ var Fm = class {
|
|
13351
13351
|
const n = this._extraHeaders.slice();
|
13352
13352
|
n.push(`Contact: ${this._contact};expires=${this._expires}${this._extraContactParams}`), n.push(`Expires: ${this._expires}`);
|
13353
13353
|
const r = new Jc.OutgoingRequest(
|
13354
|
-
|
13354
|
+
fn.REGISTER,
|
13355
13355
|
this._registrar,
|
13356
13356
|
this._ua,
|
13357
13357
|
{
|
@@ -13362,10 +13362,10 @@ var Fm = class {
|
|
13362
13362
|
n
|
13363
13363
|
), o = new Xc(this._ua, r, {
|
13364
13364
|
onRequestTimeout: () => {
|
13365
|
-
this._registrationFailure(null,
|
13365
|
+
this._registrationFailure(null, fn.causes.REQUEST_TIMEOUT);
|
13366
13366
|
},
|
13367
13367
|
onTransportError: () => {
|
13368
|
-
this._registrationFailure(null,
|
13368
|
+
this._registrationFailure(null, fn.causes.CONNECTION_ERROR);
|
13369
13369
|
},
|
13370
13370
|
// Increase the CSeq on authentication.
|
13371
13371
|
onAuthenticated: () => {
|
@@ -13396,7 +13396,7 @@ var Fm = class {
|
|
13396
13396
|
break;
|
13397
13397
|
}
|
13398
13398
|
case /^423$/.test(a.status_code): {
|
13399
|
-
a.hasHeader("min-expires") ? (this._expires = Number(a.getHeader("min-expires")), this._expires < jl && (this._expires = jl), this.register()) : (Ni.debug("423 response received for REGISTER without Min-Expires"), this._registrationFailure(a,
|
13399
|
+
a.hasHeader("min-expires") ? (this._expires = Number(a.getHeader("min-expires")), this._expires < jl && (this._expires = jl), this.register()) : (Ni.debug("423 response received for REGISTER without Min-Expires"), this._registrationFailure(a, fn.causes.SIP_FAILURE_CODE));
|
13400
13400
|
break;
|
13401
13401
|
}
|
13402
13402
|
default: {
|
@@ -13417,7 +13417,7 @@ var Fm = class {
|
|
13417
13417
|
const r = this._extraHeaders.slice();
|
13418
13418
|
n.all ? r.push(`Contact: *${this._extraContactParams}`) : r.push(`Contact: ${this._contact};expires=0${this._extraContactParams}`), r.push("Expires: 0");
|
13419
13419
|
const o = new Jc.OutgoingRequest(
|
13420
|
-
|
13420
|
+
fn.REGISTER,
|
13421
13421
|
this._registrar,
|
13422
13422
|
this._ua,
|
13423
13423
|
{
|
@@ -13429,10 +13429,10 @@ var Fm = class {
|
|
13429
13429
|
);
|
13430
13430
|
new Xc(this._ua, o, {
|
13431
13431
|
onRequestTimeout: () => {
|
13432
|
-
this._unregistered(null,
|
13432
|
+
this._unregistered(null, fn.causes.REQUEST_TIMEOUT);
|
13433
13433
|
},
|
13434
13434
|
onTransportError: () => {
|
13435
|
-
this._unregistered(null,
|
13435
|
+
this._unregistered(null, fn.causes.CONNECTION_ERROR);
|
13436
13436
|
},
|
13437
13437
|
// Increase the CSeq on authentication.
|
13438
13438
|
onAuthenticated: () => {
|
@@ -13495,13 +13495,13 @@ class Bm extends Error {
|
|
13495
13495
|
super(), this.code = 4, this.name = "NOT_READY_ERROR", this.message = n;
|
13496
13496
|
}
|
13497
13497
|
}
|
13498
|
-
var
|
13498
|
+
var Ts = {
|
13499
13499
|
ConfigurationError: Vm,
|
13500
13500
|
InvalidStateError: jm,
|
13501
13501
|
NotSupportedError: qm,
|
13502
13502
|
NotReadyError: Bm
|
13503
13503
|
};
|
13504
|
-
const
|
13504
|
+
const pn = /* @__PURE__ */ ot(Ts), ba = Ue, ql = cr, Gm = fr, wa = {
|
13505
13505
|
onRequestTimeout: () => {
|
13506
13506
|
},
|
13507
13507
|
onTransportError: () => {
|
@@ -13553,7 +13553,7 @@ var s_ = class {
|
|
13553
13553
|
}, 1e3)) : n.status_code >= 200 && n.status_code < 300 ? this._eventHandlers.onSuccessResponse(n) : n.status_code >= 300 && this._eventHandlers.onErrorResponse(n);
|
13554
13554
|
}
|
13555
13555
|
};
|
13556
|
-
const Wm = /* @__PURE__ */ ot(s_), Km = at, Qc = xt,
|
13556
|
+
const Wm = /* @__PURE__ */ ot(s_), Km = at, Qc = xt, Ps = Ue, Ui = cr, Ym = s_, Oa = Et(), Da = new Km("Dialog"), xs = {
|
13557
13557
|
// Dialog states.
|
13558
13558
|
STATUS_EARLY: 1,
|
13559
13559
|
STATUS_CONFIRMED: 2,
|
@@ -13562,14 +13562,14 @@ const Wm = /* @__PURE__ */ ot(s_), Km = at, Qc = xt, xs = Ue, Ui = cr, Ym = s_,
|
|
13562
13562
|
var n_ = class {
|
13563
13563
|
// Expose C object.
|
13564
13564
|
static get C() {
|
13565
|
-
return
|
13565
|
+
return xs;
|
13566
13566
|
}
|
13567
|
-
constructor(n, r, o, a =
|
13567
|
+
constructor(n, r, o, a = xs.STATUS_CONFIRMED) {
|
13568
13568
|
if (this._owner = n, this._ua = n._ua, this._uac_pending_reply = !1, this._uas_pending_reply = !1, !r.hasHeader("contact"))
|
13569
13569
|
return {
|
13570
13570
|
error: "unable to create a Dialog without Contact header field"
|
13571
13571
|
};
|
13572
|
-
r instanceof Qc.IncomingResponse && (a = r.status_code < 200 ?
|
13572
|
+
r instanceof Qc.IncomingResponse && (a = r.status_code < 200 ? xs.STATUS_EARLY : xs.STATUS_CONFIRMED);
|
13573
13573
|
const t = r.parseHeader("contact");
|
13574
13574
|
o === "UAS" ? (this._id = {
|
13575
13575
|
call_id: r.call_id,
|
@@ -13585,7 +13585,7 @@ var n_ = class {
|
|
13585
13585
|
toString() {
|
13586
13586
|
return this.call_id + this.local_tag + this.remote_tag;
|
13587
13587
|
}
|
13588
|
-
}, this._state = a, this._local_seqnum = r.cseq, this._local_uri = r.parseHeader("from").uri, this._remote_uri = r.parseHeader("to").uri, this._remote_target = t.uri, this._route_set = r.getHeaders("record-route").reverse(), this._ack_seqnum = null), this._ua.newDialog(this), Da.debug(`new ${o} dialog created with status ${this._state ===
|
13588
|
+
}, this._state = a, this._local_seqnum = r.cseq, this._local_uri = r.parseHeader("from").uri, this._remote_uri = r.parseHeader("to").uri, this._remote_target = t.uri, this._route_set = r.getHeaders("record-route").reverse(), this._ack_seqnum = null), this._ua.newDialog(this), Da.debug(`new ${o} dialog created with status ${this._state === xs.STATUS_EARLY ? "EARLY" : "CONFIRMED"}`);
|
13589
13589
|
}
|
13590
13590
|
get id() {
|
13591
13591
|
return this._id;
|
@@ -13609,13 +13609,13 @@ var n_ = class {
|
|
13609
13609
|
return this._uas_pending_reply;
|
13610
13610
|
}
|
13611
13611
|
isTerminated() {
|
13612
|
-
return this._status ===
|
13612
|
+
return this._status === xs.STATUS_TERMINATED;
|
13613
13613
|
}
|
13614
13614
|
update(n, r) {
|
13615
|
-
this._state =
|
13615
|
+
this._state = xs.STATUS_CONFIRMED, Da.debug(`dialog ${this._id.toString()} changed to CONFIRMED state`), r === "UAC" && (this._route_set = n.getHeaders("record-route").reverse());
|
13616
13616
|
}
|
13617
13617
|
terminate() {
|
13618
|
-
Da.debug(`dialog ${this._id.toString()} deleted`), this._ua.destroyDialog(this), this._state =
|
13618
|
+
Da.debug(`dialog ${this._id.toString()} deleted`), this._ua.destroyDialog(this), this._state = xs.STATUS_TERMINATED;
|
13619
13619
|
}
|
13620
13620
|
sendRequest(n, r = {}) {
|
13621
13621
|
const o = Oa.cloneArray(r.extraHeaders), a = Oa.cloneObject(r.eventHandlers), t = r.body || null, s = this._createRequest(n, o, t);
|
@@ -13624,12 +13624,12 @@ var n_ = class {
|
|
13624
13624
|
}, new Ym(this, s, a).send(), s;
|
13625
13625
|
}
|
13626
13626
|
receiveRequest(n) {
|
13627
|
-
this._checkInDialogRequest(n) && (n.method ===
|
13627
|
+
this._checkInDialogRequest(n) && (n.method === Ps.ACK && this._ack_seqnum !== null ? this._ack_seqnum = null : n.method === Ps.INVITE && (this._ack_seqnum = n.cseq), this._owner.receiveRequest(n));
|
13628
13628
|
}
|
13629
13629
|
// RFC 3261 12.2.1.1.
|
13630
13630
|
_createRequest(n, r, o) {
|
13631
13631
|
r = Oa.cloneArray(r), this._local_seqnum || (this._local_seqnum = Math.floor(Math.random() * 1e4));
|
13632
|
-
const a = n ===
|
13632
|
+
const a = n === Ps.CANCEL || n === Ps.ACK ? this._local_seqnum : this._local_seqnum += 1;
|
13633
13633
|
return new Qc.OutgoingRequest(
|
13634
13634
|
n,
|
13635
13635
|
this._remote_target,
|
@@ -13652,14 +13652,14 @@ var n_ = class {
|
|
13652
13652
|
if (!this._remote_seqnum)
|
13653
13653
|
this._remote_seqnum = n.cseq;
|
13654
13654
|
else if (n.cseq < this._remote_seqnum)
|
13655
|
-
if (n.method ===
|
13655
|
+
if (n.method === Ps.ACK) {
|
13656
13656
|
if (this._ack_seqnum === null || n.cseq !== this._ack_seqnum)
|
13657
13657
|
return !1;
|
13658
13658
|
} else
|
13659
13659
|
return n.reply(500), !1;
|
13660
13660
|
else
|
13661
13661
|
n.cseq > this._remote_seqnum && (this._remote_seqnum = n.cseq);
|
13662
|
-
if (n.method ===
|
13662
|
+
if (n.method === Ps.INVITE || n.method === Ps.UPDATE && n.body) {
|
13663
13663
|
if (this._uac_pending_reply === !0)
|
13664
13664
|
n.reply(491);
|
13665
13665
|
else if (this._uas_pending_reply === !0) {
|
@@ -13676,7 +13676,7 @@ var n_ = class {
|
|
13676
13676
|
n.server_transaction.state === Ui.C.STATUS_ACCEPTED && (this._remote_target = n.parseHeader("contact").uri);
|
13677
13677
|
});
|
13678
13678
|
} else
|
13679
|
-
n.method ===
|
13679
|
+
n.method === Ps.NOTIFY && n.hasHeader("contact") && n.server_transaction.on("stateChanged", () => {
|
13680
13680
|
n.server_transaction.state === Ui.C.STATUS_COMPLETED && (this._remote_target = n.parseHeader("contact").uri);
|
13681
13681
|
});
|
13682
13682
|
return !0;
|
@@ -13684,7 +13684,7 @@ var n_ = class {
|
|
13684
13684
|
};
|
13685
13685
|
const Bl = /* @__PURE__ */ ot(n_);
|
13686
13686
|
var Iu = { exports: {} };
|
13687
|
-
const zm = ct.EventEmitter, Jm = at, Xm = Ue, Qm =
|
13687
|
+
const zm = ct.EventEmitter, Jm = at, Xm = Ue, Qm = Ts, Zc = Et(), Zm = new Jm("RTCSession:DTMF"), r_ = {
|
13688
13688
|
MIN_DURATION: 70,
|
13689
13689
|
MAX_DURATION: 6e3,
|
13690
13690
|
DEFAULT_DURATION: 100,
|
@@ -13768,7 +13768,7 @@ Iu.exports = class extends zm {
|
|
13768
13768
|
};
|
13769
13769
|
Iu.exports.C = r_;
|
13770
13770
|
var i_ = Iu.exports;
|
13771
|
-
const eg = /* @__PURE__ */ ot(i_), tg = ct.EventEmitter, sg = Ue, ng =
|
13771
|
+
const eg = /* @__PURE__ */ ot(i_), tg = ct.EventEmitter, sg = Ue, ng = Ts, rg = Et();
|
13772
13772
|
var l_ = class extends tg {
|
13773
13773
|
constructor(n) {
|
13774
13774
|
super(), this._session = n, this._direction = null, this._contentType = null, this._body = null;
|
@@ -13856,7 +13856,7 @@ var o_ = class {
|
|
13856
13856
|
});
|
13857
13857
|
}
|
13858
13858
|
};
|
13859
|
-
const og = /* @__PURE__ */ ot(o_), ag = ct.EventEmitter, ug = at, Pi = Ue, cg =
|
13859
|
+
const og = /* @__PURE__ */ ot(o_), ag = ct.EventEmitter, ug = at, Pi = Ue, cg = rs(), tf = Et(), _n = new ug("RTCSession:ReferSubscriber");
|
13860
13860
|
var a_ = class extends ag {
|
13861
13861
|
constructor(n) {
|
13862
13862
|
super(), this._id = null, this._session = n;
|
@@ -13865,7 +13865,7 @@ var a_ = class extends ag {
|
|
13865
13865
|
return this._id;
|
13866
13866
|
}
|
13867
13867
|
sendRefer(n, r = {}) {
|
13868
|
-
|
13868
|
+
_n.debug("sendRefer()");
|
13869
13869
|
const o = tf.cloneArray(r.extraHeaders), a = tf.cloneObject(r.eventHandlers);
|
13870
13870
|
for (const _ in a)
|
13871
13871
|
Object.prototype.hasOwnProperty.call(a, _) && this.on(_, a[_]);
|
@@ -13900,12 +13900,12 @@ var a_ = class extends ag {
|
|
13900
13900
|
this._id = p.cseq;
|
13901
13901
|
}
|
13902
13902
|
receiveNotify(n) {
|
13903
|
-
if (
|
13903
|
+
if (_n.debug("receiveNotify()"), !n.body)
|
13904
13904
|
return;
|
13905
13905
|
const r = cg.parse(n.body.trim().split(`\r
|
13906
13906
|
`, 1)[0], "Status_Line");
|
13907
13907
|
if (r === -1) {
|
13908
|
-
|
13908
|
+
_n.debug(`receiveNotify() | error parsing NOTIFY body: "${n.body}"`);
|
13909
13909
|
return;
|
13910
13910
|
}
|
13911
13911
|
switch (!0) {
|
@@ -13936,18 +13936,18 @@ var a_ = class extends ag {
|
|
13936
13936
|
}
|
13937
13937
|
}
|
13938
13938
|
_requestSucceeded(n) {
|
13939
|
-
|
13939
|
+
_n.debug("REFER succeeded"), _n.debug('emit "requestSucceeded"'), this.emit("requestSucceeded", {
|
13940
13940
|
response: n
|
13941
13941
|
});
|
13942
13942
|
}
|
13943
13943
|
_requestFailed(n, r) {
|
13944
|
-
|
13944
|
+
_n.debug("REFER failed"), _n.debug('emit "requestFailed"'), this.emit("requestFailed", {
|
13945
13945
|
response: n || null,
|
13946
13946
|
cause: r
|
13947
13947
|
});
|
13948
13948
|
}
|
13949
13949
|
};
|
13950
|
-
const fg = /* @__PURE__ */ ot(a_), _g = ct.EventEmitter, sf = Nt, hg = at, fe = Ue,
|
13950
|
+
const fg = /* @__PURE__ */ ot(a_), _g = ct.EventEmitter, sf = Nt, hg = at, fe = Ue, hn = Ts, nf = cr, Be = Et(), xi = Ru, dg = xt, Gl = n_, pg = fr, Pt = i_, rf = l_, mg = o_, gg = a_, lf = gs(), Y = new hg("RTCSession"), Q = {
|
13951
13951
|
// RTCSession states.
|
13952
13952
|
STATUS_NULL: 0,
|
13953
13953
|
STATUS_INVITE_SENT: 1,
|
@@ -14080,9 +14080,9 @@ var u_ = class uu extends _g {
|
|
14080
14080
|
if (this._rtcOfferConstraints = T, this._rtcAnswerConstraints = r.rtcAnswerConstraints || null, this._data = r.data || this._data, n === void 0)
|
14081
14081
|
throw new TypeError("Not enough arguments");
|
14082
14082
|
if (this._status !== Q.STATUS_NULL)
|
14083
|
-
throw new
|
14083
|
+
throw new hn.InvalidStateError(this._status);
|
14084
14084
|
if (!window.RTCPeerConnection)
|
14085
|
-
throw new
|
14085
|
+
throw new hn.NotSupportedError("WebRTC not supported");
|
14086
14086
|
if (n = this._ua.normalizeTarget(n), !n)
|
14087
14087
|
throw new TypeError(`Invalid target: ${a}`);
|
14088
14088
|
this._sessionTimers.enabled && Be.isDecimal(r.sessionTimersExpires) && (r.sessionTimersExpires >= fe.MIN_SESSION_EXPIRES ? this._sessionTimers.defaultExpires = r.sessionTimersExpires : this._sessionTimers.defaultExpires = fe.SESSION_EXPIRES);
|
@@ -14132,9 +14132,9 @@ var u_ = class uu extends _g {
|
|
14132
14132
|
const r = this._request, o = Be.cloneArray(n.extraHeaders), a = Be.cloneObject(n.mediaConstraints), t = n.mediaStream || null, s = Be.cloneObject(n.pcConfig, { iceServers: [] }), p = n.rtcConstraints || null, _ = n.rtcAnswerConstraints || null, d = Be.cloneObject(n.rtcOfferConstraints);
|
14133
14133
|
let g, T = !1, E = !1, y = !1, A = !1;
|
14134
14134
|
if (this._rtcAnswerConstraints = _, this._rtcOfferConstraints = n.rtcOfferConstraints || null, this._data = n.data || this._data, this._direction !== "incoming")
|
14135
|
-
throw new
|
14135
|
+
throw new hn.NotSupportedError('"answer" not supported for outgoing RTCSession');
|
14136
14136
|
if (this._status !== Q.STATUS_WAITING_FOR_ANSWER)
|
14137
|
-
throw new
|
14137
|
+
throw new hn.InvalidStateError(this._status);
|
14138
14138
|
if (this._sessionTimers.enabled && Be.isDecimal(n.sessionTimersExpires) && (n.sessionTimersExpires >= fe.MIN_SESSION_EXPIRES ? this._sessionTimers.defaultExpires = n.sessionTimersExpires : this._sessionTimers.defaultExpires = fe.SESSION_EXPIRES), this._status = Q.STATUS_ANSWERED, !this._createDialog(r, "UAS")) {
|
14139
14139
|
r.reply(500, "Error creating dialog");
|
14140
14140
|
return;
|
@@ -14211,7 +14211,7 @@ var u_ = class uu extends _g {
|
|
14211
14211
|
const r = n.cause || fe.causes.BYE, o = Be.cloneArray(n.extraHeaders), a = n.body;
|
14212
14212
|
let t, s = n.status_code, p = n.reason_phrase;
|
14213
14213
|
if (this._status === Q.STATUS_TERMINATED)
|
14214
|
-
throw new
|
14214
|
+
throw new hn.InvalidStateError(this._status);
|
14215
14215
|
switch (this._status) {
|
14216
14216
|
case Q.STATUS_NULL:
|
14217
14217
|
case Q.STATUS_INVITE_SENT:
|
@@ -14257,7 +14257,7 @@ var u_ = class uu extends _g {
|
|
14257
14257
|
if (n === void 0)
|
14258
14258
|
throw new TypeError("Not enough arguments");
|
14259
14259
|
if (this._status !== Q.STATUS_CONFIRMED && this._status !== Q.STATUS_WAITING_FOR_ACK && this._status !== Q.STATUS_1XX_RECEIVED)
|
14260
|
-
throw new
|
14260
|
+
throw new hn.InvalidStateError(this._status);
|
14261
14261
|
if (s !== fe.DTMF_TRANSPORT.INFO && s !== fe.DTMF_TRANSPORT.RFC2833)
|
14262
14262
|
throw new TypeError(`invalid transportType: ${s}`);
|
14263
14263
|
if (typeof n == "number" && (n = n.toString()), !n || typeof n != "string" || !n.match(/^[0-9A-DR#*,]+$/i))
|
@@ -14298,7 +14298,7 @@ var u_ = class uu extends _g {
|
|
14298
14298
|
}
|
14299
14299
|
sendInfo(n, r, o = {}) {
|
14300
14300
|
if (Y.debug("sendInfo()"), this._status !== Q.STATUS_CONFIRMED && this._status !== Q.STATUS_WAITING_FOR_ACK && this._status !== Q.STATUS_1XX_RECEIVED)
|
14301
|
-
throw new
|
14301
|
+
throw new hn.InvalidStateError(this._status);
|
14302
14302
|
new rf(this).send(n, r, o);
|
14303
14303
|
}
|
14304
14304
|
/**
|
@@ -15274,7 +15274,7 @@ var u_ = class uu extends _g {
|
|
15274
15274
|
});
|
15275
15275
|
}
|
15276
15276
|
};
|
15277
|
-
const Tg = /* @__PURE__ */ ot(u_), vg = ct.EventEmitter, Eg = at, Ua = Ue, Sg = xt, Mi = Et(), yg = fr, of =
|
15277
|
+
const Tg = /* @__PURE__ */ ot(u_), vg = ct.EventEmitter, Eg = at, Ua = Ue, Sg = xt, Mi = Et(), yg = fr, of = Ts, Ag = gs(), Kl = new Eg("Message");
|
15278
15278
|
var Cg = class extends vg {
|
15279
15279
|
constructor(n) {
|
15280
15280
|
super(), this._ua = n, this._request = null, this._closed = !1, this._direction = null, this._local_identity = null, this._remote_identity = null, this._is_replied = !1, this._data = {};
|
@@ -15395,7 +15395,7 @@ var Cg = class extends vg {
|
|
15395
15395
|
});
|
15396
15396
|
}
|
15397
15397
|
};
|
15398
|
-
const Rg = ct.EventEmitter, Ig = at, Pa = Ue, bg = xt, ki = Et(), wg = fr, af =
|
15398
|
+
const Rg = ct.EventEmitter, Ig = at, Pa = Ue, bg = xt, ki = Et(), wg = fr, af = Ts, Yl = new Ig("Options");
|
15399
15399
|
var Og = class extends Rg {
|
15400
15400
|
constructor(n) {
|
15401
15401
|
super(), this._ua = n, this._request = null, this._closed = !1, this._direction = null, this._local_identity = null, this._remote_identity = null, this._is_replied = !1, this._data = {};
|
@@ -15515,7 +15515,7 @@ var Og = class extends Rg {
|
|
15515
15515
|
});
|
15516
15516
|
}
|
15517
15517
|
}, bu = {};
|
15518
|
-
const Dg = at, xa = Et(), Ng =
|
15518
|
+
const Dg = at, xa = Et(), Ng = rs(), Li = new Dg("Socket");
|
15519
15519
|
bu.isSocket = (c) => {
|
15520
15520
|
if (Array.isArray(c))
|
15521
15521
|
return !1;
|
@@ -15691,7 +15691,7 @@ ${n}
|
|
15691
15691
|
this.ondata({ transport: this, message: n });
|
15692
15692
|
}
|
15693
15693
|
}, c_ = {};
|
15694
|
-
const Mg = at, cu =
|
15694
|
+
const Mg = at, cu = rs(), fu = xt, zl = new Mg("Parser");
|
15695
15695
|
c_.parseMessage = (c, n) => {
|
15696
15696
|
let r, o, a = c.indexOf(`\r
|
15697
15697
|
`);
|
@@ -15905,7 +15905,7 @@ function Yi(c) {
|
|
15905
15905
|
`, __.send(o);
|
15906
15906
|
}
|
15907
15907
|
var Du = {};
|
15908
|
-
const ir = Et(),
|
15908
|
+
const ir = Et(), gn = Ue, Ma = rs(), ff = gs(), ka = bu, La = Ts;
|
15909
15909
|
Du.settings = {
|
15910
15910
|
// SIP authentication.
|
15911
15911
|
authorization_user: null,
|
@@ -15923,7 +15923,7 @@ Du.settings = {
|
|
15923
15923
|
use_preloaded_route: !1,
|
15924
15924
|
// Session parameters.
|
15925
15925
|
session_timers: !0,
|
15926
|
-
session_timers_refresh_method:
|
15926
|
+
session_timers_refresh_method: gn.UPDATE,
|
15927
15927
|
session_timers_force_refresher: !1,
|
15928
15928
|
no_answer_timeout: 60,
|
15929
15929
|
// Registration parameters.
|
@@ -15932,8 +15932,8 @@ Du.settings = {
|
|
15932
15932
|
registrar_server: null,
|
15933
15933
|
// Connection options.
|
15934
15934
|
sockets: null,
|
15935
|
-
connection_recovery_max_interval:
|
15936
|
-
connection_recovery_min_interval:
|
15935
|
+
connection_recovery_max_interval: gn.CONNECTION_RECOVERY_MAX_INTERVAL,
|
15936
|
+
connection_recovery_min_interval: gn.CONNECTION_RECOVERY_MIN_INTERVAL,
|
15937
15937
|
// Global extra headers, to be added to every request and response
|
15938
15938
|
extra_headers: null,
|
15939
15939
|
/*
|
@@ -15956,7 +15956,7 @@ const Jl = {
|
|
15956
15956
|
return n;
|
15957
15957
|
},
|
15958
15958
|
uri(c) {
|
15959
|
-
/^sip:/i.test(c) || (c = `${
|
15959
|
+
/^sip:/i.test(c) || (c = `${gn.SIP}:${c}`);
|
15960
15960
|
const n = ff.parse(c);
|
15961
15961
|
if (n)
|
15962
15962
|
return n.user ? n : void 0;
|
@@ -16015,7 +16015,7 @@ const Jl = {
|
|
16015
16015
|
return c;
|
16016
16016
|
},
|
16017
16017
|
session_timers_refresh_method(c) {
|
16018
|
-
if (typeof c == "string" && (c = c.toUpperCase(), c ===
|
16018
|
+
if (typeof c == "string" && (c = c.toUpperCase(), c === gn.INVITE || c === gn.UPDATE))
|
16019
16019
|
return c;
|
16020
16020
|
},
|
16021
16021
|
session_timers_force_refresher(c) {
|
@@ -16043,7 +16043,7 @@ const Jl = {
|
|
16043
16043
|
}
|
16044
16044
|
},
|
16045
16045
|
registrar_server(c) {
|
16046
|
-
/^sip:/i.test(c) || (c = `${
|
16046
|
+
/^sip:/i.test(c) || (c = `${gn.SIP}:${c}`);
|
16047
16047
|
const n = ff.parse(c);
|
16048
16048
|
if (n)
|
16049
16049
|
return n.user ? void 0 : n;
|
@@ -16085,7 +16085,7 @@ Du.load = (c, n) => {
|
|
16085
16085
|
throw new La.ConfigurationError(r, o);
|
16086
16086
|
}
|
16087
16087
|
};
|
16088
|
-
const Jg = ct.EventEmitter, Xg = at, dt = Ue, Qg = Fm, _f = u_, hf = Cg, df = Og, $a = cr, Zg = xg, Xl = Et(), eT =
|
16088
|
+
const Jg = ct.EventEmitter, Xg = at, dt = Ue, Qg = Fm, _f = u_, hf = Cg, df = Og, $a = cr, Zg = xg, Xl = Et(), eT = Ts, tT = gs(), sT = c_, Ha = xt, nT = jg, Fa = Du, je = new Xg("UA"), gt = {
|
16089
16089
|
// UA status codes.
|
16090
16090
|
STATUS_INIT: 0,
|
16091
16091
|
STATUS_READY: 1,
|
@@ -16585,7 +16585,7 @@ function oT(c) {
|
|
16585
16585
|
}
|
16586
16586
|
const aT = /* @__PURE__ */ ot(h_);
|
16587
16587
|
var Me = Et();
|
16588
|
-
const Va = /* @__PURE__ */ ot(Me), ja = new zf("Dialog"),
|
16588
|
+
const Va = /* @__PURE__ */ ot(Me), ja = new zf("Dialog"), Ms = {
|
16589
16589
|
// Dialog states.
|
16590
16590
|
STATUS_EARLY: 1,
|
16591
16591
|
STATUS_CONFIRMED: 2,
|
@@ -16594,10 +16594,10 @@ const Va = /* @__PURE__ */ ot(Me), ja = new zf("Dialog"), ks = {
|
|
16594
16594
|
class Ql {
|
16595
16595
|
// Expose C object.
|
16596
16596
|
static get C() {
|
16597
|
-
return
|
16597
|
+
return Ms;
|
16598
16598
|
}
|
16599
|
-
constructor(n, r, o, a =
|
16600
|
-
if (this._owner = n, this._ua = n._ua, this._uac_pending_reply = !1, this._uas_pending_reply = !1, r instanceof xt.IncomingResponse && (a = r.status_code < 200 ?
|
16599
|
+
constructor(n, r, o, a = Ms.STATUS_CONFIRMED) {
|
16600
|
+
if (this._owner = n, this._ua = n._ua, this._uac_pending_reply = !1, this._uas_pending_reply = !1, r instanceof xt.IncomingResponse && (a = r.status_code < 200 ? Ms.STATUS_EARLY : Ms.STATUS_CONFIRMED), o === "UAS") {
|
16601
16601
|
this._id = {
|
16602
16602
|
call_id: r.call_id,
|
16603
16603
|
local_tag: r.to_tag,
|
@@ -16620,7 +16620,7 @@ class Ql {
|
|
16620
16620
|
let t = r.getHeaders("to")[0].split(";")[0];
|
16621
16621
|
t = t.match(/<([^>]*)>/)[1], this._remote_target = t, this._route_set = r.getHeaders("record-route").reverse(), this._ack_seqnum = null;
|
16622
16622
|
}
|
16623
|
-
this._ua.newDialog(this), ja.debug(`new ${o} dialog created with status ${this._state ===
|
16623
|
+
this._ua.newDialog(this), ja.debug(`new ${o} dialog created with status ${this._state === Ms.STATUS_EARLY ? "EARLY" : "CONFIRMED"}`);
|
16624
16624
|
}
|
16625
16625
|
get id() {
|
16626
16626
|
return this._id;
|
@@ -16644,13 +16644,13 @@ class Ql {
|
|
16644
16644
|
return this._uas_pending_reply;
|
16645
16645
|
}
|
16646
16646
|
isTerminated() {
|
16647
|
-
return this._status ===
|
16647
|
+
return this._status === Ms.STATUS_TERMINATED;
|
16648
16648
|
}
|
16649
16649
|
update(n, r) {
|
16650
|
-
this._state =
|
16650
|
+
this._state = Ms.STATUS_CONFIRMED, ja.debug(`dialog ${this._id.toString()} changed to CONFIRMED state`), r === "UAC" && (this._route_set = n.getHeaders("record-route").reverse());
|
16651
16651
|
}
|
16652
16652
|
terminate() {
|
16653
|
-
ja.debug(`dialog ${this._id.toString()} deleted`), this._ua.destroyDialog(this), this._state =
|
16653
|
+
ja.debug(`dialog ${this._id.toString()} deleted`), this._ua.destroyDialog(this), this._state = Ms.STATUS_TERMINATED;
|
16654
16654
|
}
|
16655
16655
|
sendRequest(n, r = {}) {
|
16656
16656
|
const o = Va.cloneArray(r.extraHeaders), a = Va.cloneObject(r.eventHandlers), t = r.body || null, s = this._createRequest(n, o, t);
|
@@ -16717,7 +16717,7 @@ class Ql {
|
|
16717
16717
|
return !0;
|
16718
16718
|
}
|
16719
16719
|
}
|
16720
|
-
var uT =
|
16720
|
+
var uT = gs();
|
16721
16721
|
const qi = /* @__PURE__ */ ot(uT);
|
16722
16722
|
function cT(c) {
|
16723
16723
|
const n = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
@@ -16861,9 +16861,9 @@ class Io extends ct.EventEmitter {
|
|
16861
16861
|
if (this._rtcOfferConstraints = T, this._rtcAnswerConstraints = r.rtcAnswerConstraints || null, this._data = r.data || this._data, n === void 0)
|
16862
16862
|
throw new TypeError("Not enough arguments");
|
16863
16863
|
if (this._status !== te.STATUS_NULL)
|
16864
|
-
throw new
|
16864
|
+
throw new pn.InvalidStateError(this._status);
|
16865
16865
|
if (!window.RTCPeerConnection)
|
16866
|
-
throw new
|
16866
|
+
throw new pn.NotSupportedError("WebRTC not supported");
|
16867
16867
|
if (console.log("target", n), n = this._ua.normalizeTarget(n), console.log("normalizeTarget target", n), !n)
|
16868
16868
|
throw new TypeError(`Invalid target: ${a}`);
|
16869
16869
|
this._sessionTimers.enabled && Me.isDecimal(r.sessionTimersExpires) && (r.sessionTimersExpires >= G.MIN_SESSION_EXPIRES ? this._sessionTimers.defaultExpires = r.sessionTimersExpires : this._sessionTimers.defaultExpires = G.SESSION_EXPIRES);
|
@@ -16913,9 +16913,9 @@ class Io extends ct.EventEmitter {
|
|
16913
16913
|
const r = this._request, o = Me.cloneArray(n.extraHeaders), a = Me.cloneObject(n.mediaConstraints), t = n.mediaStream || null, s = Me.cloneObject(n.pcConfig, { iceServers: [] }), p = n.rtcConstraints || null, _ = n.rtcAnswerConstraints || null, d = Me.cloneObject(n.rtcOfferConstraints);
|
16914
16914
|
let g, T = !1, E = !1, y = !1, A = !1;
|
16915
16915
|
if (this._rtcAnswerConstraints = _, this._rtcOfferConstraints = n.rtcOfferConstraints || null, this._data = n.data || this._data, this._direction !== "incoming")
|
16916
|
-
throw new
|
16916
|
+
throw new pn.NotSupportedError('"answer" not supported for outgoing RTCSession');
|
16917
16917
|
if (this._status !== te.STATUS_WAITING_FOR_ANSWER)
|
16918
|
-
throw new
|
16918
|
+
throw new pn.InvalidStateError(this._status);
|
16919
16919
|
if (this._sessionTimers.enabled && Me.isDecimal(n.sessionTimersExpires) && (n.sessionTimersExpires >= G.MIN_SESSION_EXPIRES ? this._sessionTimers.defaultExpires = n.sessionTimersExpires : this._sessionTimers.defaultExpires = G.SESSION_EXPIRES), this._status = te.STATUS_ANSWERED, !this._createDialog(r, "UAS")) {
|
16920
16920
|
r.reply(500, "Error creating dialog");
|
16921
16921
|
return;
|
@@ -16999,7 +16999,7 @@ class Io extends ct.EventEmitter {
|
|
16999
16999
|
const r = n.cause || G.causes.BYE, o = Me.cloneArray(n.extraHeaders), a = n.body;
|
17000
17000
|
let t, s = n.status_code, p = n.reason_phrase;
|
17001
17001
|
if (this._status === te.STATUS_TERMINATED)
|
17002
|
-
throw new
|
17002
|
+
throw new pn.InvalidStateError(this._status);
|
17003
17003
|
switch (this._status) {
|
17004
17004
|
case te.STATUS_NULL:
|
17005
17005
|
case te.STATUS_INVITE_SENT:
|
@@ -17166,7 +17166,7 @@ class Io extends ct.EventEmitter {
|
|
17166
17166
|
}*/
|
17167
17167
|
sendInfo(n, r, o = {}) {
|
17168
17168
|
if (Z.debug("sendInfo()"), this._status !== te.STATUS_CONFIRMED && this._status !== te.STATUS_WAITING_FOR_ACK && this._status !== te.STATUS_1XX_RECEIVED)
|
17169
|
-
throw new
|
17169
|
+
throw new pn.InvalidStateError(this._status);
|
17170
17170
|
new au(this).send(n, r, o);
|
17171
17171
|
}
|
17172
17172
|
/**
|
@@ -18391,7 +18391,7 @@ a=path:${n.getHeader("Use-Path")} msrp://${this._ua._configuration.authorization
|
|
18391
18391
|
const r = n.cause || G.causes.BYE, o = Me.cloneArray(n.extraHeaders), a = n.body;
|
18392
18392
|
let t, s = n.status_code, p = n.reason_phrase;
|
18393
18393
|
if (this._status === Re.STATUS_TERMINATED)
|
18394
|
-
throw new
|
18394
|
+
throw new pn.InvalidStateError(this._status);
|
18395
18395
|
switch (this.status = "terminated", this._status) {
|
18396
18396
|
case Re.STATUS_NULL:
|
18397
18397
|
case Re.STATUS_INVITE_SENT:
|
@@ -18985,7 +18985,7 @@ class _T extends fT {
|
|
18985
18985
|
// return session
|
18986
18986
|
// }
|
18987
18987
|
}
|
18988
|
-
const
|
18988
|
+
const hT = [
|
18989
18989
|
"roomId",
|
18990
18990
|
"_audioMuted",
|
18991
18991
|
"_cancel_reason",
|
@@ -19039,8 +19039,8 @@ function gf(c) {
|
|
19039
19039
|
}), n;
|
19040
19040
|
}
|
19041
19041
|
function Tf(c, n) {
|
19042
|
-
const r =
|
19043
|
-
return
|
19042
|
+
const r = new AudioContext(), o = r.createMediaStreamSource(c), a = r.createMediaStreamDestination(), t = r.createGain();
|
19043
|
+
return o.connect(t), t.connect(a), t.gain.value = n, a.stream;
|
19044
19044
|
}
|
19045
19045
|
function pT(c, n, r, o) {
|
19046
19046
|
const a = document.createElement("audio");
|
@@ -19050,7 +19050,7 @@ function mT(c) {
|
|
19050
19050
|
if (c && typeof c.log == "function" && typeof c.warn == "function" && typeof c.error == "function")
|
19051
19051
|
return !0;
|
19052
19052
|
}
|
19053
|
-
const gT = at, TT =
|
19053
|
+
const gT = at, TT = rs(), bt = new gT("WebSocketInterface");
|
19054
19054
|
var vT = class {
|
19055
19055
|
constructor(n) {
|
19056
19056
|
bt.debug('new() [url:"%s"]', n), this._url = n, this._sip_uri = null, this._via_transport = null, this._ws = null;
|
@@ -19120,7 +19120,7 @@ var vT = class {
|
|
19120
19120
|
bt.warn(`WebSocket ${this._url} error: `, n);
|
19121
19121
|
}
|
19122
19122
|
};
|
19123
|
-
const _u = bo, ET = Ue, ST =
|
19123
|
+
const _u = bo, ET = Ue, ST = Ts, yT = Et(), AT = h_, CT = gs(), RT = Au(), IT = rs(), bT = vT, wT = ur("JsSIP");
|
19124
19124
|
wT("version %s", _u.version);
|
19125
19125
|
var OT = {
|
19126
19126
|
C: ET,
|
@@ -19290,7 +19290,7 @@ var d_ = {};
|
|
19290
19290
|
})(d_);
|
19291
19291
|
const UT = St, PT = d_;
|
19292
19292
|
var vf = Object.assign(UT, { instanceMethods: PT });
|
19293
|
-
const es = {
|
19293
|
+
const Tn = new AudioContext(), es = {
|
19294
19294
|
NEW_CALL: "new_call",
|
19295
19295
|
CALL_CONFIRMED: "confirmed",
|
19296
19296
|
CALL_FAILED: "failed",
|
@@ -19785,23 +19785,23 @@ var p_ = { exports: {} };
|
|
19785
19785
|
});
|
19786
19786
|
})(p_);
|
19787
19787
|
var At = p_.exports;
|
19788
|
-
const
|
19788
|
+
const ds = () => `${(/* @__PURE__ */ new Date()).toISOString()} | metrics`, ps = (c, n, r) => `${c} | ${n} | ${r}`;
|
19789
19789
|
At.setDefaultLevel(At.levels.TRACE);
|
19790
19790
|
const MT = (c) => {
|
19791
|
-
At.info(
|
19791
|
+
At.info(ps(ds(), "log ", `set log level to ${c ? "verbose" : "info"}`)), At.setLevel(c ? At.levels.TRACE : At.levels.INFO);
|
19792
19792
|
}, kT = (c) => {
|
19793
19793
|
const n = [...Object.keys(At.levels)];
|
19794
|
-
n.includes(c) ? (At.info(
|
19794
|
+
n.includes(c) ? (At.info(ps(ds(), "log ", `update log level to ${c.toLowerCase()}`)), At.setLevel(c)) : At.warn(ps(ds(), "log ", "Incorrect log level please choose one of "), n);
|
19795
19795
|
}, Pe = (c, n, r) => {
|
19796
|
-
r ? At.debug(
|
19796
|
+
r ? At.debug(ps(ds(), c, n), r) : At.debug(ps(ds(), c, n));
|
19797
19797
|
}, Ga = (c, n) => {
|
19798
|
-
At.info(
|
19798
|
+
At.info(ps(ds(), c, n));
|
19799
19799
|
}, vn = (c, n) => {
|
19800
|
-
At.info(
|
19800
|
+
At.info(ps(ds(), c, n));
|
19801
19801
|
}, mo = (c, n) => {
|
19802
|
-
At.warn(
|
19802
|
+
At.warn(ps(ds(), c, n));
|
19803
19803
|
}, lr = (c, n) => {
|
19804
|
-
At.error(
|
19804
|
+
At.error(ps(ds(), c, n));
|
19805
19805
|
};
|
19806
19806
|
function LT(c) {
|
19807
19807
|
return Math.floor(Math.random() * c).toString();
|
@@ -19832,7 +19832,7 @@ var FT = HT;
|
|
19832
19832
|
const Bi = /* @__PURE__ */ ot(FT), VT = () => "WebRTCMetrics", jT = () => "5.0.3", $e = {
|
19833
19833
|
INBOUND: "inbound",
|
19834
19834
|
OUTBOUND: "outbound"
|
19835
|
-
},
|
19835
|
+
}, hs = {
|
19836
19836
|
IDLE: "idle",
|
19837
19837
|
RUNNING: "running",
|
19838
19838
|
MUTED: "muted"
|
@@ -20125,7 +20125,7 @@ const Bi = /* @__PURE__ */ ot(FT), VT = () => "WebRTCMetrics", jT = () => "5.0.3
|
|
20125
20125
|
return p ? p[r] : null;
|
20126
20126
|
});
|
20127
20127
|
return t = t.filter((s) => o ? Number.isFinite(s) && s > 0 : Number.isFinite(s)), t.length === 0 ? [] : t;
|
20128
|
-
},
|
20128
|
+
}, $s = (c) => c.reduce((n, r) => n + r, 0) / c.length, YT = () => `probe-${Bi()}`, zT = () => `coltr-${Bi()}`, Sf = (c) => new Promise((n) => setTimeout(n, c)), hu = (c, n, r) => {
|
20129
20129
|
n ? c.call(n, r) : c(r);
|
20130
20130
|
}, Ke = (c, n, r, o) => {
|
20131
20131
|
const a = ll(c, n, r, !0, o);
|
@@ -20136,7 +20136,7 @@ const Bi = /* @__PURE__ */ ot(FT), VT = () => "WebRTCMetrics", jT = () => "5.0.3
|
|
20136
20136
|
}, Je = (c, n, r, o = !1, a) => {
|
20137
20137
|
const t = ll(c, n, r, o, a);
|
20138
20138
|
return t.length === 0 ? null : t.reduce((s, p) => s + p, 0) / t.length;
|
20139
|
-
},
|
20139
|
+
}, dn = (c, n, r) => ll(c, n, r).reduce((a, t) => a + t, 0), Ye = (c, n, r, o) => {
|
20140
20140
|
const a = ll(c, n, r, !0, o);
|
20141
20141
|
return a.length === 0 ? null : Math.min(...a);
|
20142
20142
|
}, ze = (c, n, r, o) => {
|
@@ -20981,7 +20981,7 @@ class tv {
|
|
20981
20981
|
return this._reports.length;
|
20982
20982
|
}
|
20983
20983
|
}
|
20984
|
-
const
|
20984
|
+
const ks = "extractor ", Af = (c, n, r, o) => {
|
20985
20985
|
let a = !1;
|
20986
20986
|
const t = o[n].total_rtt_ms_out, s = o[n].total_rtt_measure_out, p = r ? r[n].total_rtt_ms_out : 0, _ = r ? r[n].total_rtt_measure_out : 0, d = {
|
20987
20987
|
rtt: null,
|
@@ -21185,7 +21185,7 @@ const Ls = "extractor ", Af = (c, n, r, o) => {
|
|
21185
21185
|
case Kt.CANDIDATE_PAIR:
|
21186
21186
|
let a = !1;
|
21187
21187
|
if (c[V.NOMINATED] && c[V.STATE] === x.SUCCEEDED && (a = !0, Pe(
|
21188
|
-
|
21188
|
+
ks,
|
21189
21189
|
`analyze() - got stats ${c[V.TYPE]} for ${r}`,
|
21190
21190
|
c
|
21191
21191
|
), V.SELECTED in c && !c[V.SELECTED] && (a = !1)), a) {
|
@@ -21303,7 +21303,7 @@ const Ls = "extractor ", Af = (c, n, r, o) => {
|
|
21303
21303
|
break;
|
21304
21304
|
case Kt.INBOUND_RTP: {
|
21305
21305
|
Pe(
|
21306
|
-
|
21306
|
+
ks,
|
21307
21307
|
`analyze() - got stats ${c[V.TYPE]} for ${r}`,
|
21308
21308
|
c
|
21309
21309
|
);
|
@@ -21483,7 +21483,7 @@ const Ls = "extractor ", Af = (c, n, r, o) => {
|
|
21483
21483
|
}
|
21484
21484
|
case Kt.OUTBOUND_RTP: {
|
21485
21485
|
Pe(
|
21486
|
-
|
21486
|
+
ks,
|
21487
21487
|
`analyze() - got stats ${c[V.TYPE]} for ${r}`,
|
21488
21488
|
c
|
21489
21489
|
);
|
@@ -21618,7 +21618,7 @@ const Ls = "extractor ", Af = (c, n, r, o) => {
|
|
21618
21618
|
}
|
21619
21619
|
case Kt.MEDIA_SOURCE: {
|
21620
21620
|
Pe(
|
21621
|
-
|
21621
|
+
ks,
|
21622
21622
|
`analyze() - got stats ${c[V.TYPE]} for ${r}`,
|
21623
21623
|
c
|
21624
21624
|
);
|
@@ -21626,7 +21626,7 @@ const Ls = "extractor ", Af = (c, n, r, o) => {
|
|
21626
21626
|
}
|
21627
21627
|
case Kt.TRACK: {
|
21628
21628
|
Pe(
|
21629
|
-
|
21629
|
+
ks,
|
21630
21630
|
`analyze() - got stats ${c[V.TYPE]} for ${r}`,
|
21631
21631
|
c
|
21632
21632
|
);
|
@@ -21638,7 +21638,7 @@ const Ls = "extractor ", Af = (c, n, r, o) => {
|
|
21638
21638
|
const p = n[x.AUDIO][s];
|
21639
21639
|
if (p.codec_id_in === c[V.ID] || p.codec_id_out === c[V.ID]) {
|
21640
21640
|
Pe(
|
21641
|
-
|
21641
|
+
ks,
|
21642
21642
|
`analyze() - got stats ${c[V.TYPE]} for ${r}`,
|
21643
21643
|
c
|
21644
21644
|
);
|
@@ -21649,7 +21649,7 @@ const Ls = "extractor ", Af = (c, n, r, o) => {
|
|
21649
21649
|
const p = n[x.VIDEO][s];
|
21650
21650
|
if (p.codec_id_in === c[V.ID] || p.codec_id_out === c[V.ID]) {
|
21651
21651
|
Pe(
|
21652
|
-
|
21652
|
+
ks,
|
21653
21653
|
`analyze() - got stats ${c[V.TYPE]} for ${r}`,
|
21654
21654
|
c
|
21655
21655
|
);
|
@@ -21659,7 +21659,7 @@ const Ls = "extractor ", Af = (c, n, r, o) => {
|
|
21659
21659
|
}), t;
|
21660
21660
|
case Kt.REMOTE_INBOUND_RTP: {
|
21661
21661
|
Pe(
|
21662
|
-
|
21662
|
+
ks,
|
21663
21663
|
`analyze() - got stats ${c[V.TYPE]} for ${r}`,
|
21664
21664
|
c
|
21665
21665
|
);
|
@@ -21771,22 +21771,22 @@ const Ls = "extractor ", Af = (c, n, r, o) => {
|
|
21771
21771
|
}, xo = (c) => c < 0 ? 1 : c > 100 ? 4.5 : 1 + 0.035 * c + 7 / 1e6 * c * (c - 60) * (100 - c), pv = (c, n = x.AUDIO, r, o, a) => {
|
21772
21772
|
const t = ut(a, c, $e.INBOUND), s = ut(a, r, $e.INBOUND), p = ut(a, o, $e.INBOUND), _ = [], d = [], g = t[n].percent_packets_lost_in, T = t[n].delta_jitter_ms_in, E = s && s[n].delta_jitter_ms_in || null, y = p && p[n].delta_jitter_ms_in || null, A = c.data.delta_rtt_connectivity_ms, R = r && r.data.delta_rtt_connectivity_ms || null, I = o && o.data.delta_rtt_connectivity_ms || null;
|
21773
21773
|
A && _.push(A), R && _.push(R), I && _.push(I), T && d.push(T), r && E && d.push(E), o && y && d.push(y);
|
21774
|
-
const $ = _.length > 0 ?
|
21774
|
+
const $ = _.length > 0 ? $s(_) : 100, L = d.length > 0 ? $s(d) : 10, ae = 93.2 - g, N = 0.18 * ae * ae - 27.9 * ae + 1126.62, F = ($ + L) / 2, Se = F - 177.3 < 0 ? 0 : 1, ve = 0.024 * F + 0.11 * (F - 177.3) * Se, M = N - ve;
|
21775
21775
|
return xo(M);
|
21776
21776
|
}, mv = (c, n = x.AUDIO, r, o, a) => {
|
21777
21777
|
const t = ut(a, c, $e.OUTBOUND), s = ut(a, r, $e.OUTBOUND), p = ut(a, o, $e.OUTBOUND), _ = [], d = [], g = t[n].percent_packets_lost_out, T = t[n].delta_rtt_ms_out, E = s && s[n].delta_rtt_ms_out || null, y = p && p[n].delta_rtt_ms_out || null, A = t[n].delta_jitter_ms_out, R = s && s[n].delta_jitter_ms_out || null, I = p && p[n].delta_jitter_ms_out || null, $ = c.data.delta_rtt_connectivity_ms, L = r && r.data.delta_rtt_connectivity_ms || null, ae = o && o.data.delta_rtt_connectivity_ms || null;
|
21778
21778
|
T ? _.push(T) : $ && _.push($), E ? _.push(E) : L && _.push(L), y ? _.push(y) : ae && _.push(ae), A && d.push(A), r && R && d.push(R), o && I && d.push(I);
|
21779
|
-
const N = _.length > 0 ?
|
21779
|
+
const N = _.length > 0 ? $s(_) : 100, F = d.length > 0 ? $s(d) : 10, Se = 93.2 - g, ve = 0.18 * Se * Se - 27.9 * Se + 1126.62, M = (N + F) / 2, D = M - 177.3 < 0 ? 0 : 1, q = 0.024 * M + 0.11 * (M - 177.3) * D, j = ve - q;
|
21780
21780
|
return xo(j);
|
21781
21781
|
}, gv = (c, n = x.AUDIO, r, o, a) => {
|
21782
21782
|
const t = ut(a, c, $e.INBOUND), s = ut(a, r, $e.INBOUND), p = ut(a, o, $e.INBOUND), _ = [], d = [], g = t[n].percent_packets_lost_in / 100, T = t[n].delta_jitter_ms_in, E = s && s[n].delta_jitter_ms_in || null, y = p && p[n].delta_jitter_ms_in || null, A = c.data.delta_rtt_connectivity_ms, R = r && r.data.delta_rtt_connectivity_ms || null, I = o && o.data.delta_rtt_connectivity_ms || null;
|
21783
21783
|
A && _.push(A), R && _.push(R), I && _.push(I), T && d.push(T), s && E && d.push(E), p && y && d.push(y);
|
21784
|
-
const $ = _.length > 0 ?
|
21784
|
+
const $ = _.length > 0 ? $s(_) : 100, L = d.length > 0 ? $s(d) : 10, ae = 0, N = 19.8, F = 29.7, Se = 30, ve = ($ + L) / 2 + Se, M = ve - 177.3 < 0 ? 0 : 1, D = 0.024 * ve + 0.11 * (ve - 177.3) * M, j = 93.2 - (ae + N * Math.log(1 + F * g) + D);
|
21785
21785
|
return xo(j);
|
21786
21786
|
}, Tv = (c, n = x.AUDIO, r, o, a) => {
|
21787
21787
|
const t = ut(a, c, $e.OUTBOUND), s = ut(a, r, $e.OUTBOUND), p = ut(a, o, $e.OUTBOUND), _ = [], d = [], g = t[n].percent_packets_lost_out / 100, T = t[n].delta_rtt_ms_out, E = s && s[n].delta_rtt_ms_out || null, y = p && p[n].delta_rtt_ms_out || null, A = t[n].delta_jitter_ms_out, R = s && s[n].delta_jitter_ms_out || null, I = p && p[n].delta_jitter_ms_out || null, $ = c.data.delta_rtt_connectivity_ms, L = r && r.data.delta_rtt_connectivity_ms || null, ae = o && o.data.delta_rtt_connectivity_ms || null;
|
21788
21788
|
T ? _.push(T) : $ && _.push($), E ? _.push(E) : L && _.push(L), y ? _.push(y) : ae && _.push(ae), A && d.push(A), s && R && d.push(R), p && I && d.push(I);
|
21789
|
-
const N = _.length > 0 ?
|
21789
|
+
const N = _.length > 0 ? $s(_) : 100, F = d.length > 0 ? $s(d) : 10, Se = 0, ve = 19.8, M = 29.7, D = 30, q = (N + F) / 2 + D, j = q - 177.3 < 0 ? 0 : 1, z = 0.024 * q + 0.11 * (q - 177.3) * j, J = 93.2 - (Se + ve * Math.log(1 + M * g) + z);
|
21790
21790
|
return xo(J);
|
21791
21791
|
};
|
21792
21792
|
class vv {
|
@@ -21794,7 +21794,7 @@ class vv {
|
|
21794
21794
|
this._callbacks = {
|
21795
21795
|
onreport: null,
|
21796
21796
|
onticket: null
|
21797
|
-
}, this._id = zT(), this._moduleName = this._id, this._probeId = r, this._config = n, this._exporter = new tv(n), this._state =
|
21797
|
+
}, this._id = zT(), this._moduleName = this._id, this._probeId = r, this._config = n, this._exporter = new tv(n), this._state = hs.IDLE, this.registerToPCEvents(), vn(this._moduleName, `new collector created for probe ${this._probeId}`);
|
21798
21798
|
}
|
21799
21799
|
analyze(n, r, o, a) {
|
21800
21800
|
const t = (_, d) => _ === x.AUDIO ? d === Kt.INBOUND_RTP ? { ...m_ } : { ...g_ } : d === Kt.INBOUND_RTP ? { ...T_ } : { ...v_ }, s = BT(r);
|
@@ -21860,7 +21860,7 @@ class vv {
|
|
21860
21860
|
}
|
21861
21861
|
async collectStats() {
|
21862
21862
|
try {
|
21863
|
-
if (this._state !==
|
21863
|
+
if (this._state !== hs.RUNNING || !this._config.pc)
|
21864
21864
|
return Pe(
|
21865
21865
|
this._moduleName,
|
21866
21866
|
`report discarded (too late) for probe ${this._probeId}`
|
@@ -21880,16 +21880,16 @@ class vv {
|
|
21880
21880
|
}
|
21881
21881
|
}
|
21882
21882
|
async start() {
|
21883
|
-
Pe(this._moduleName, "starting"), this.state =
|
21883
|
+
Pe(this._moduleName, "starting"), this.state = hs.RUNNING, this._startedTime = this._exporter.start(), Pe(this._moduleName, "started");
|
21884
21884
|
}
|
21885
21885
|
async mute() {
|
21886
|
-
this.state =
|
21886
|
+
this.state = hs.MUTED, Pe(this._moduleName, "muted");
|
21887
21887
|
}
|
21888
21888
|
async unmute() {
|
21889
|
-
this.state =
|
21889
|
+
this.state = hs.RUNNING, Pe(this._moduleName, "unmuted");
|
21890
21890
|
}
|
21891
21891
|
async stop(n) {
|
21892
|
-
if (Pe(this._moduleName, `stopping${n ? " by watchdog" : ""}...`), this._stoppedTime = this._exporter.stop(), this.state =
|
21892
|
+
if (Pe(this._moduleName, `stopping${n ? " by watchdog" : ""}...`), this._stoppedTime = this._exporter.stop(), this.state = hs.IDLE, this._config.ticket) {
|
21893
21893
|
const { ticket: r } = this._exporter;
|
21894
21894
|
this.fireOnTicket(r);
|
21895
21895
|
}
|
@@ -22083,13 +22083,13 @@ class Ev {
|
|
22083
22083
|
* Return true if the probe is running
|
22084
22084
|
*/
|
22085
22085
|
get isRunning() {
|
22086
|
-
return this._collector.state ===
|
22086
|
+
return this._collector.state === hs.RUNNING;
|
22087
22087
|
}
|
22088
22088
|
/**
|
22089
22089
|
* Return true if the probe is idle
|
22090
22090
|
*/
|
22091
22091
|
get isIdle() {
|
22092
|
-
return this._collector.state ===
|
22092
|
+
return this._collector.state === hs.IDLE;
|
22093
22093
|
}
|
22094
22094
|
/**
|
22095
22095
|
* Set the user identifier
|
@@ -22151,7 +22151,7 @@ class Sv {
|
|
22151
22151
|
removeExistingProbe(n) {
|
22152
22152
|
if (!n)
|
22153
22153
|
throw new Error("undefined probe");
|
22154
|
-
n.state ===
|
22154
|
+
n.state === hs.RUNNING && n.stop(), this._probes = this._probes.filter((r) => n.id !== r.id);
|
22155
22155
|
}
|
22156
22156
|
async start() {
|
22157
22157
|
const n = () => {
|
@@ -22162,7 +22162,7 @@ class Sv {
|
|
22162
22162
|
const _ = await p.collectStats();
|
22163
22163
|
_ && t.probes.push(_), Pe(yt, `got probe ${p.id}`), await Sf(0);
|
22164
22164
|
}
|
22165
|
-
return t.delta_time_to_measure_probes_ms =
|
22165
|
+
return t.delta_time_to_measure_probes_ms = dn(t.probes, "experimental", "time_to_measure_ms"), t.delta_KBytes_in = dn(t.probes, "data", "delta_KBytes_in"), t.delta_KBytes_out = dn(t.probes, "data", "delta_KBytes_out"), t.delta_kbs_in = dn(t.probes, "data", "delta_kbs_in"), t.delta_kbs_out = dn(t.probes, "data", "delta_kbs_out"), t.total_time_decoded_in = dn(t.probes, "video", "total_time_decoded_in"), t.total_time_encoded_out = dn(t.probes, "video", "total_time_encoded_out"), t;
|
22166
22166
|
};
|
22167
22167
|
for (Pe(yt, "starting to collect"), n(), Pe(yt, "generating reference reports..."), await r(), Pe(yt, "reference reports generated"), this._startedTime = Date.now(); o(); )
|
22168
22168
|
if (Pe(yt, `wait ${this._config.refreshEvery}ms before collecting`), await Sf(this._config.refreshEvery), o()) {
|
@@ -22297,8 +22297,8 @@ class Iv {
|
|
22297
22297
|
}
|
22298
22298
|
beginCalculation(n, r) {
|
22299
22299
|
this.clearVolumeInterval(r);
|
22300
|
-
const o =
|
22301
|
-
o.smoothingTimeConstant = 0.8, o.fftSize = 1024, a.connect(o), o.connect(t), t.connect(
|
22300
|
+
const o = Tn.createAnalyser(), a = Tn.createMediaStreamSource(n), t = Tn.createScriptProcessor(2048, 1, 1);
|
22301
|
+
o.smoothingTimeConstant = 0.8, o.fftSize = 1024, a.connect(o), o.connect(t), t.connect(Tn.destination), this.intervals[r] = setInterval(() => {
|
22302
22302
|
const s = new Uint8Array(o.frequencyBinCount);
|
22303
22303
|
o.getByteFrequencyData(s);
|
22304
22304
|
let p = 0;
|
@@ -22727,14 +22727,14 @@ class wv {
|
|
22727
22727
|
}), await vf.forEach(n, async (o) => {
|
22728
22728
|
if (o == null)
|
22729
22729
|
return;
|
22730
|
-
const a = new MediaStream(), t =
|
22730
|
+
const a = new MediaStream(), t = Tn.createMediaStreamDestination();
|
22731
22731
|
if (o.connection.getReceivers().forEach((s) => {
|
22732
22732
|
r.forEach((p) => {
|
22733
|
-
a.addTrack(s.track), s.track.id !== p.id &&
|
22733
|
+
a.addTrack(s.track), s.track.id !== p.id && Tn.createMediaStreamSource(new MediaStream([p])).connect(t);
|
22734
22734
|
});
|
22735
22735
|
}), n[0].roomId === this.currentActiveRoomId) {
|
22736
22736
|
const s = this.getActiveStream();
|
22737
|
-
|
22737
|
+
Tn.createMediaStreamSource(s).connect(t);
|
22738
22738
|
}
|
22739
22739
|
o.connection.getSenders()[0] && (await o.connection.getSenders()[0].replaceTrack(t.stream.getTracks()[0]), this.muteReconfigure(o));
|
22740
22740
|
});
|
@@ -22931,7 +22931,7 @@ class wv {
|
|
22931
22931
|
}
|
22932
22932
|
setCallMetrics(n) {
|
22933
22933
|
const r = { ...n };
|
22934
|
-
delete r.callId, this.callMetrics = {
|
22934
|
+
delete r.callId, console.log("setCallMetrics", r), this.callMetrics = {
|
22935
22935
|
...this.callMetrics,
|
22936
22936
|
[n.callId]: r
|
22937
22937
|
}, this.context.emit("changeCallMetrics", this.callMetrics);
|
@@ -23211,7 +23211,7 @@ class Wv extends _T {
|
|
23211
23211
|
...n.configuration,
|
23212
23212
|
sockets: n.socketInterfaces.map((a) => new DT.WebSocketInterface(a))
|
23213
23213
|
};
|
23214
|
-
super(o), this.initialized = !1, this.logger = console, this.newRTCSessionEventName = "newRTCSession", this.registeredEventName = "registered", this.unregisteredEventName = "unregistered", this.disconnectedEventName = "disconnected", this.connectedEventName = "connected", this.newMSRPSessionEventName = "newMSRPSession", this.isReconnecting = !1, this.audio = null, this.msrp = null, this.video = null, this.listenersList = {}, this.modules = [], this.options = n, this.modules = n.modules, r && mT(r) && (this.logger = r);
|
23214
|
+
super(o), this.initialized = !1, this.logger = console, this.newRTCSessionEventName = "newRTCSession", this.registeredEventName = "registered", this.unregisteredEventName = "unregistered", this.disconnectedEventName = "disconnected", this.connectedEventName = "connected", this.newMSRPSessionEventName = "newMSRPSession", this.isReconnecting = !1, this.audio = null, this.msrp = null, this.video = null, this.listenersList = {}, this.modules = [], n.pnExtraHeaders && Object.keys(n.pnExtraHeaders).length && this.registrator().setExtraContactParams(n.pnExtraHeaders), this.options = n, this.modules = n.modules, r && mT(r) && (this.logger = r);
|
23215
23215
|
}
|
23216
23216
|
on(n, r) {
|
23217
23217
|
return super.on(n, r);
|