@regulaforensics/vp-frontend-face-components 6.4.1472-nightly → 6.4.1473-nightly
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.iife.js +11 -11
- package/dist/main.js +91 -91
- package/package.json +1 -1
package/dist/main.js
CHANGED
@@ -10,7 +10,7 @@ var Rj = (e, t, r) => t in e ? wx(e, t, { enumerable: !0, configurable: !0, writ
|
|
10
10
|
Yx.call(t, r) && Rj(e, r, t[r]);
|
11
11
|
return e;
|
12
12
|
}, Hj = (e, t) => kx(e, Ux(t));
|
13
|
-
var
|
13
|
+
var Le = (e, t, r) => new Promise((n, i) => {
|
14
14
|
var M = (s) => {
|
15
15
|
try {
|
16
16
|
u(r.next(s));
|
@@ -1082,8 +1082,8 @@ var D3 = { exports: {} }, xt = {}, y3 = { exports: {} }, T3 = {};
|
|
1082
1082
|
if (k !== U) {
|
1083
1083
|
S[0] = k;
|
1084
1084
|
e: for (var W = 0, J = S.length, Ge = J >>> 1; W < Ge; ) {
|
1085
|
-
var
|
1086
|
-
if (0 > i(Be, k)) he < J && 0 > i(It, Be) ? (S[W] = It, S[he] = k, W = he) : (S[W] = Be, S[
|
1085
|
+
var Ce = 2 * (W + 1) - 1, Be = S[Ce], he = Ce + 1, It = S[he];
|
1086
|
+
if (0 > i(Be, k)) he < J && 0 > i(It, Be) ? (S[W] = It, S[he] = k, W = he) : (S[W] = Be, S[Ce] = k, W = Ce);
|
1087
1087
|
else if (he < J && 0 > i(It, k)) S[W] = It, S[he] = k, W = he;
|
1088
1088
|
else break e;
|
1089
1089
|
}
|
@@ -1137,8 +1137,8 @@ var D3 = { exports: {} }, xt = {}, y3 = { exports: {} }, T3 = {};
|
|
1137
1137
|
}
|
1138
1138
|
if (g !== null) var Ge = !0;
|
1139
1139
|
else {
|
1140
|
-
var
|
1141
|
-
|
1140
|
+
var Ce = r(l);
|
1141
|
+
Ce !== null && De(x, Ce.startTime - U), Ge = !1;
|
1142
1142
|
}
|
1143
1143
|
return Ge;
|
1144
1144
|
} finally {
|
@@ -1166,9 +1166,9 @@ var D3 = { exports: {} }, xt = {}, y3 = { exports: {} }, T3 = {};
|
|
1166
1166
|
y(ee);
|
1167
1167
|
};
|
1168
1168
|
else if (typeof MessageChannel != "undefined") {
|
1169
|
-
var b = new MessageChannel(),
|
1169
|
+
var b = new MessageChannel(), ve = b.port2;
|
1170
1170
|
b.port1.onmessage = ee, Y = function() {
|
1171
|
-
|
1171
|
+
ve.postMessage(null);
|
1172
1172
|
};
|
1173
1173
|
} else Y = function() {
|
1174
1174
|
d(ee, 0);
|
@@ -3695,7 +3695,7 @@ function O4() {
|
|
3695
3695
|
for (var e = 0; e < Vl.length; e++) Vl[e]._workInProgressVersionPrimary = null;
|
3696
3696
|
Vl.length = 0;
|
3697
3697
|
}
|
3698
|
-
var au = Kr.ReactCurrentDispatcher, _l = Kr.ReactCurrentBatchConfig, Mi = 0, ce = null, Ae = null,
|
3698
|
+
var au = Kr.ReactCurrentDispatcher, _l = Kr.ReactCurrentBatchConfig, Mi = 0, ce = null, Ae = null, pe = null, Pu = !1, ia = !1, va = 0, JS = 0;
|
3699
3699
|
function Ye() {
|
3700
3700
|
throw Error(L(321));
|
3701
3701
|
}
|
@@ -3709,10 +3709,10 @@ function S4(e, t, r, n, i, M) {
|
|
3709
3709
|
M = 0;
|
3710
3710
|
do {
|
3711
3711
|
if (ia = !1, va = 0, 25 <= M) throw Error(L(301));
|
3712
|
-
M += 1,
|
3712
|
+
M += 1, pe = Ae = null, t.updateQueue = null, au.current = rv, e = r(n, i);
|
3713
3713
|
} while (ia);
|
3714
3714
|
}
|
3715
|
-
if (au.current = $u, t = Ae !== null && Ae.next !== null, Mi = 0,
|
3715
|
+
if (au.current = $u, t = Ae !== null && Ae.next !== null, Mi = 0, pe = Ae = ce = null, Pu = !1, t) throw Error(L(300));
|
3716
3716
|
return e;
|
3717
3717
|
}
|
3718
3718
|
function v4() {
|
@@ -3721,20 +3721,20 @@ function v4() {
|
|
3721
3721
|
}
|
3722
3722
|
function Er() {
|
3723
3723
|
var e = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null };
|
3724
|
-
return
|
3724
|
+
return pe === null ? ce.memoizedState = pe = e : pe = pe.next = e, pe;
|
3725
3725
|
}
|
3726
3726
|
function Rt() {
|
3727
3727
|
if (Ae === null) {
|
3728
3728
|
var e = ce.alternate;
|
3729
3729
|
e = e !== null ? e.memoizedState : null;
|
3730
3730
|
} else e = Ae.next;
|
3731
|
-
var t =
|
3732
|
-
if (t !== null)
|
3731
|
+
var t = pe === null ? ce.memoizedState : pe.next;
|
3732
|
+
if (t !== null) pe = t, Ae = e;
|
3733
3733
|
else {
|
3734
3734
|
if (e === null) throw Error(L(310));
|
3735
|
-
Ae = e, e = { memoizedState: Ae.memoizedState, baseState: Ae.baseState, baseQueue: Ae.baseQueue, queue: Ae.queue, next: null },
|
3735
|
+
Ae = e, e = { memoizedState: Ae.memoizedState, baseState: Ae.baseState, baseQueue: Ae.baseQueue, queue: Ae.queue, next: null }, pe === null ? ce.memoizedState = pe = e : pe = pe.next = e;
|
3736
3736
|
}
|
3737
|
-
return
|
3737
|
+
return pe;
|
3738
3738
|
}
|
3739
3739
|
function ha(e, t) {
|
3740
3740
|
return typeof t == "function" ? t(e) : t;
|
@@ -3798,8 +3798,8 @@ function z0() {
|
|
3798
3798
|
}
|
3799
3799
|
function f0(e, t) {
|
3800
3800
|
var r = ce, n = Rt(), i = t(), M = !lr(n.memoizedState, i);
|
3801
|
-
if (M && (n.memoizedState = i, it = !0), n = n.queue, h4(O0.bind(null, r, n, e), [e]), n.getSnapshot !== t || M ||
|
3802
|
-
if (r.flags |= 2048, ma(9, L0.bind(null, r, n, i, t), void 0, null),
|
3801
|
+
if (M && (n.memoizedState = i, it = !0), n = n.queue, h4(O0.bind(null, r, n, e), [e]), n.getSnapshot !== t || M || pe !== null && pe.memoizedState.tag & 1) {
|
3802
|
+
if (r.flags |= 2048, ma(9, L0.bind(null, r, n, i, t), void 0, null), Se === null) throw Error(L(349));
|
3803
3803
|
Mi & 30 || C0(r, t, i);
|
3804
3804
|
}
|
3805
3805
|
return i;
|
@@ -3985,7 +3985,7 @@ var $u = { readContext: $t, useCallback: Ye, useContext: Ye, useEffect: Ye, useI
|
|
3985
3985
|
if (r === void 0) throw Error(L(407));
|
3986
3986
|
r = r();
|
3987
3987
|
} else {
|
3988
|
-
if (r = t(),
|
3988
|
+
if (r = t(), Se === null) throw Error(L(349));
|
3989
3989
|
Mi & 30 || C0(n, t, r);
|
3990
3990
|
}
|
3991
3991
|
i.memoizedState = r;
|
@@ -3997,7 +3997,7 @@ var $u = { readContext: $t, useCallback: Ye, useContext: Ye, useEffect: Ye, useI
|
|
3997
3997
|
e
|
3998
3998
|
), [e]), n.flags |= 2048, ma(9, L0.bind(null, n, M, r, t), void 0, null), r;
|
3999
3999
|
}, useId: function() {
|
4000
|
-
var e = Er(), t =
|
4000
|
+
var e = Er(), t = Se.identifierPrefix;
|
4001
4001
|
if (se) {
|
4002
4002
|
var r = Rr, n = $r;
|
4003
4003
|
r = (n & ~(1 << 32 - or(n) - 1)).toString(32) + r, t = ":" + t + "R" + r, r = va++, 0 < r && (t += "H" + r.toString(32)), t += ":";
|
@@ -4269,7 +4269,7 @@ function Mv(e, t, r, n, i, M, o) {
|
|
4269
4269
|
return n = u, M = Error(L(419)), n = Bl(M, n, void 0), Lo(e, t, o, n);
|
4270
4270
|
}
|
4271
4271
|
if (u = (o & e.childLanes) !== 0, it || u) {
|
4272
|
-
if (n =
|
4272
|
+
if (n = Se, n !== null) {
|
4273
4273
|
switch (o & -o) {
|
4274
4274
|
case 4:
|
4275
4275
|
i = 2;
|
@@ -5410,7 +5410,7 @@ function ry(e) {
|
|
5410
5410
|
v = t.return;
|
5411
5411
|
}
|
5412
5412
|
}
|
5413
|
-
var Iv = Math.ceil, Ru = Kr.ReactCurrentDispatcher, k4 = Kr.ReactCurrentOwner, Pt = Kr.ReactCurrentBatchConfig, F = 0,
|
5413
|
+
var Iv = Math.ceil, Ru = Kr.ReactCurrentDispatcher, k4 = Kr.ReactCurrentOwner, Pt = Kr.ReactCurrentBatchConfig, F = 0, Se = null, Te = null, ke = 0, Dt = 0, Pi = Un(0), de = 0, wa = null, ai = 0, ps = 0, U4 = 0, aa = null, rt = null, Q4 = 0, uM = 1 / 0, Ur = null, Hu = !1, _I = null, Cn = null, po = !1, jn = null, Vu = 0, oa = 0, ZI = null, su = -1, lu = 0;
|
5414
5414
|
function Ke() {
|
5415
5415
|
return F & 6 ? ye() : su !== -1 ? su : su = ye();
|
5416
5416
|
}
|
@@ -5419,12 +5419,12 @@ function Ln(e) {
|
|
5419
5419
|
}
|
5420
5420
|
function ur(e, t, r, n) {
|
5421
5421
|
if (50 < oa) throw oa = 0, ZI = null, Error(L(185));
|
5422
|
-
Fa(e, r, n), (!(F & 2) || e !==
|
5422
|
+
Fa(e, r, n), (!(F & 2) || e !== Se) && (e === Se && (!(F & 2) && (ps |= r), de === 4 && In(e, ke)), ut(e, n), r === 1 && F === 0 && !(t.mode & 1) && (uM = ye() + 500, fs && Qn()));
|
5423
5423
|
}
|
5424
5424
|
function ut(e, t) {
|
5425
5425
|
var r = e.callbackNode;
|
5426
5426
|
Wp(e, t);
|
5427
|
-
var n = Lu(e, e ===
|
5427
|
+
var n = Lu(e, e === Se ? ke : 0);
|
5428
5428
|
if (n === 0) r !== null && cD(r), e.callbackNode = null, e.callbackPriority = 0;
|
5429
5429
|
else if (t = n & -n, e.callbackPriority !== t) {
|
5430
5430
|
if (r != null && cD(r), t === 1) e.tag === 0 ? FS(ny.bind(null, e)) : j0(ny.bind(null, e)), _S(function() {
|
@@ -5456,7 +5456,7 @@ function MA(e, t) {
|
|
5456
5456
|
if (su = -1, lu = 0, F & 6) throw Error(L(327));
|
5457
5457
|
var r = e.callbackNode;
|
5458
5458
|
if (Wi() && e.callbackNode !== r) return null;
|
5459
|
-
var n = Lu(e, e ===
|
5459
|
+
var n = Lu(e, e === Se ? ke : 0);
|
5460
5460
|
if (n === 0) return null;
|
5461
5461
|
if (n & 30 || n & e.expiredLanes || t) t = _u(e, n);
|
5462
5462
|
else {
|
@@ -5464,7 +5464,7 @@ function MA(e, t) {
|
|
5464
5464
|
var i = F;
|
5465
5465
|
F |= 2;
|
5466
5466
|
var M = oA();
|
5467
|
-
(
|
5467
|
+
(Se !== e || ke !== t) && (Ur = null, uM = ye() + 500, ei(e, t));
|
5468
5468
|
do
|
5469
5469
|
try {
|
5470
5470
|
Nv();
|
@@ -5473,7 +5473,7 @@ function MA(e, t) {
|
|
5473
5473
|
aA(e, u);
|
5474
5474
|
}
|
5475
5475
|
while (!0);
|
5476
|
-
x4(), Ru.current = M, F = i, Te !== null ? t = 0 : (
|
5476
|
+
x4(), Ru.current = M, F = i, Te !== null ? t = 0 : (Se = null, ke = 0, t = de);
|
5477
5477
|
}
|
5478
5478
|
if (t !== 0) {
|
5479
5479
|
if (t === 2 && (i = TI(e), i !== 0 && (n = i, t = GI(e, i))), t === 1) throw r = wa, ei(e, 0), In(e, n), ut(e, ye()), r;
|
@@ -5630,7 +5630,7 @@ function ei(e, t) {
|
|
5630
5630
|
}
|
5631
5631
|
r = r.return;
|
5632
5632
|
}
|
5633
|
-
if (
|
5633
|
+
if (Se = e, Te = e = On(e.current, null), ke = Dt = t, de = 0, wa = null, U4 = ps = ai = 0, rt = aa = null, Kn !== null) {
|
5634
5634
|
for (t = 0; t < Kn.length; t++) if (r = Kn[t], n = r.interleaved, n !== null) {
|
5635
5635
|
r.interleaved = null;
|
5636
5636
|
var i = n.next, M = r.pending;
|
@@ -5655,7 +5655,7 @@ function aA(e, t) {
|
|
5655
5655
|
}
|
5656
5656
|
Pu = !1;
|
5657
5657
|
}
|
5658
|
-
if (Mi = 0,
|
5658
|
+
if (Mi = 0, pe = Ae = ce = null, ia = !1, va = 0, k4.current = null, r === null || r.return === null) {
|
5659
5659
|
de = 1, wa = t, Te = null;
|
5660
5660
|
break;
|
5661
5661
|
}
|
@@ -5724,13 +5724,13 @@ function oA() {
|
|
5724
5724
|
return Ru.current = $u, e === null ? $u : e;
|
5725
5725
|
}
|
5726
5726
|
function P4() {
|
5727
|
-
(de === 0 || de === 3 || de === 2) && (de = 4),
|
5727
|
+
(de === 0 || de === 3 || de === 2) && (de = 4), Se === null || !(ai & 268435455) && !(ps & 268435455) || In(Se, ke);
|
5728
5728
|
}
|
5729
5729
|
function _u(e, t) {
|
5730
5730
|
var r = F;
|
5731
5731
|
F |= 2;
|
5732
5732
|
var n = oA();
|
5733
|
-
(
|
5733
|
+
(Se !== e || ke !== t) && (Ur = null, ei(e, t));
|
5734
5734
|
do
|
5735
5735
|
try {
|
5736
5736
|
jv();
|
@@ -5740,7 +5740,7 @@ function _u(e, t) {
|
|
5740
5740
|
}
|
5741
5741
|
while (!0);
|
5742
5742
|
if (x4(), F = r, Ru.current = n, Te !== null) throw Error(L(261));
|
5743
|
-
return
|
5743
|
+
return Se = null, ke = 0, de;
|
5744
5744
|
}
|
5745
5745
|
function jv() {
|
5746
5746
|
for (; Te !== null; ) uA(Te);
|
@@ -5798,7 +5798,7 @@ function Dv(e, t, r, n) {
|
|
5798
5798
|
if (e.finishedWork = null, e.finishedLanes = 0, r === e.current) throw Error(L(177));
|
5799
5799
|
e.callbackNode = null, e.callbackPriority = 0;
|
5800
5800
|
var M = r.lanes | r.childLanes;
|
5801
|
-
if (Jp(e, M), e ===
|
5801
|
+
if (Jp(e, M), e === Se && (Te = Se = null, ke = 0), !(r.subtreeFlags & 2064) && !(r.flags & 2064) || po || (po = !0, IA(Cu, function() {
|
5802
5802
|
return Wi(), null;
|
5803
5803
|
})), M = (r.flags & 15990) !== 0, r.subtreeFlags & 15990 || M) {
|
5804
5804
|
M = Pt.transition, Pt.transition = null;
|
@@ -5943,7 +5943,7 @@ function Ne(e, t, r) {
|
|
5943
5943
|
}
|
5944
5944
|
function yv(e, t, r) {
|
5945
5945
|
var n = e.pingCache;
|
5946
|
-
n !== null && n.delete(t), t = Ke(), e.pingedLanes |= e.suspendedLanes & r,
|
5946
|
+
n !== null && n.delete(t), t = Ke(), e.pingedLanes |= e.suspendedLanes & r, Se === e && (ke & r) === r && (de === 4 || de === 3 && (ke & 130023424) === ke && 500 > ye() - Q4 ? ei(e, 0) : U4 |= r), ut(e, t);
|
5947
5947
|
}
|
5948
5948
|
function lA(e, t) {
|
5949
5949
|
t === 0 && (e.mode & 1 ? (t = yo, yo <<= 1, !(yo & 130023424) && (yo = 4194304)) : t = 1);
|
@@ -6492,7 +6492,7 @@ Z4 = oy.createRoot, oy.hydrateRoot;
|
|
6492
6492
|
var h = {}, FI = { exports: {} };
|
6493
6493
|
(function(e, t) {
|
6494
6494
|
(function(r, n) {
|
6495
|
-
var i = "1.0.38", M = "", o = "?", u = "function", s = "undefined", l = "object", I = "string", g = "major", c = "model", D = "name", j = "type", N = "vendor", d = "version", T = "architecture", y = "console", A = "mobile", x = "tablet", E = "smarttv", C = "wearable", p = "embedded", O = 500, w = "Amazon", z = "Apple", H = "ASUS", ee = "BlackBerry", Y = "Browser", b = "Chrome",
|
6495
|
+
var i = "1.0.38", M = "", o = "?", u = "function", s = "undefined", l = "object", I = "string", g = "major", c = "model", D = "name", j = "type", N = "vendor", d = "version", T = "architecture", y = "console", A = "mobile", x = "tablet", E = "smarttv", C = "wearable", p = "embedded", O = 500, w = "Amazon", z = "Apple", H = "ASUS", ee = "BlackBerry", Y = "Browser", b = "Chrome", ve = "Edge", fe = "Firefox", De = "Google", S = "Huawei", U = "LG", k = "Microsoft", W = "Motorola", J = "Opera", Ge = "Samsung", Ce = "Sharp", Be = "Sony", he = "Xiaomi", It = "Zebra", ft = "Facebook", Wt = "Chromium OS", qr = "Mac OS", $n = function(Z, te) {
|
6496
6496
|
var R = {};
|
6497
6497
|
for (var ne in Z)
|
6498
6498
|
te[ne] && te[ne].length % 2 === 0 ? R[ne] = te[ne].concat(Z[ne]) : R[ne] = Z[ne];
|
@@ -6528,7 +6528,7 @@ var h = {}, FI = { exports: {} };
|
|
6528
6528
|
} else if (Ni(te[R], Z))
|
6529
6529
|
return R === o ? n : R;
|
6530
6530
|
return Z;
|
6531
|
-
}, Ks = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, ro = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, no = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [d, [D, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [d, [D, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [D, d], [/opios[\/ ]+([\w\.]+)/i], [d, [D, J + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [d, [D, J + " GX"]], [/\bopr\/([\w\.]+)/i], [d, [D, J]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [d, [D, "Baidu"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i, /(heytap|ovi)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [D, d], [/\bddg\/([\w\.]+)/i], [d, [D, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [d, [D, "UC" + Y]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [d, [D, "WeChat"]], [/konqueror\/([\w\.]+)/i], [d, [D, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [d, [D, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [d, [D, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [d, [D, "Smart Lenovo " + Y]], [/(avast|avg)\/([\w\.]+)/i], [[D, /(.+)/, "$1 Secure " + Y], d], [/\bfocus\/([\w\.]+)/i], [d, [D, fe + " Focus"]], [/\bopt\/([\w\.]+)/i], [d, [D, J + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [d, [D, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [d, [D, "Dolphin"]], [/coast\/([\w\.]+)/i], [d, [D, J + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [d, [D, "MIUI " + Y]], [/fxios\/([-\w\.]+)/i], [d, [D, fe]], [/\bqihu|(qi?ho?o?|360)browser/i], [[D, "360 " + Y]], [/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i], [[D, /(.+)/, "$1 " + Y], d], [/samsungbrowser\/([\w\.]+)/i], [d, [D, Ge + " Internet"]], [/(comodo_dragon)\/([\w\.]+)/i], [[D, /_/g, " "], d], [/metasr[\/ ]?([\d\.]+)/i], [d, [D, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[D, "Sogou Mobile"], d], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i], [D, d], [/(lbbrowser)/i, /\[(linkedin)app\]/i], [D], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[D, ft], d], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [D, d], [/\bgsa\/([\w\.]+) .*safari\//i], [d, [D, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [d, [D, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [d, [D, b + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[D, b + " WebView"], d], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [d, [D, "Android " + Y]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [D, d], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [d, [D, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [d, D], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [D, [d, fM, Ks]], [/(webkit|khtml)\/([\w\.]+)/i], [D, d], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[D, "Netscape"], d], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [d, [D, fe + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /(links) \(([\w\.]+)/i, /panasonic;(viera)/i], [D, d], [/(cobalt)\/([\w\.]+)/i], [D, [d, /master.|lts./, ""]]], cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[T, "amd64"]], [/(ia32(?=;))/i], [[T, jr]], [/((?:i[346]|x)86)[;\)]/i], [[T, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[T, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[T, "armhf"]], [/windows (ce|mobile); ppc;/i], [[T, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[T, /ower/, M, jr]], [/(sun4\w)[;\)]/i], [[T, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[T, jr]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [c, [N, Ge], [j, x]], [/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]([-\w]+)/i, /sec-(sgh\w+)/i], [c, [N, Ge], [j, A]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [c, [N, z], [j, A]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [c, [N, z], [j, x]], [/(macintosh);/i], [c, [N, z]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [c, [N, ve], [j, A]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [c, [N, S], [j, x]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [c, [N, S], [j, A]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i], [[c, /_/g, " "], [N, he], [j, A]], [/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i, /\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[c, /_/g, " "], [N, he], [j, x]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [c, [N, "OPPO"], [j, A]], [/\b(opd2\d{3}a?) bui/i], [c, [N, "OPPO"], [j, x]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [c, [N, "Vivo"], [j, A]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [c, [N, "Realme"], [j, A]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [c, [N, W], [j, A]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [c, [N, W], [j, x]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [c, [N, U], [j, x]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [c, [N, U], [j, A]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [c, [N, "Lenovo"], [j, x]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[c, /_/g, " "], [N, "Nokia"], [j, A]], [/(pixel c)\b/i], [c, [N, De], [j, x]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [c, [N, De], [j, A]], [/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [c, [N, Be], [j, A]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[c, "Xperia Tablet"], [N, Be], [j, x]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [c, [N, "OnePlus"], [j, A]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [c, [N, w], [j, x]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[c, /(.+)/g, "Fire Phone $1"], [N, w], [j, A]], [/(playbook);[-\w\),; ]+(rim)/i], [c, N, [j, x]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [c, [N, ee], [j, A]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [c, [N, H], [j, x]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [c, [N, H], [j, A]], [/(nexus 9)/i], [c, [N, "HTC"], [j, x]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [N, [c, /_/g, " "], [j, A]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [c, [N, "Acer"], [j, x]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [c, [N, "Meizu"], [j, A]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [c, [N, "Ulefone"], [j, A]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i, /(hp) ([\w ]+\w)/i, /(asus)-?(\w+)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w]+)/i, /(jolla)/i, /(oppo) ?([\w ]+) bui/i], [N, c, [j, A]], [/(kobo)\s(ereader|touch)/i, /(archos) (gamepad2?)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [N, c, [j, x]], [/(surface duo)/i], [c, [N, k], [j, x]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [c, [N, "Fairphone"], [j, A]], [/(u304aa)/i], [c, [N, "AT&T"], [j, A]], [/\bsie-(\w*)/i], [c, [N, "Siemens"], [j, A]], [/\b(rct\w+) b/i], [c, [N, "RCA"], [j, x]], [/\b(venue[\d ]{2,7}) b/i], [c, [N, "Dell"], [j, x]], [/\b(q(?:mv|ta)\w+) b/i], [c, [N, "Verizon"], [j, x]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [c, [N, "Barnes & Noble"], [j, x]], [/\b(tm\d{3}\w+) b/i], [c, [N, "NuVision"], [j, x]], [/\b(k88) b/i], [c, [N, "ZTE"], [j, x]], [/\b(nx\d{3}j) b/i], [c, [N, "ZTE"], [j, A]], [/\b(gen\d{3}) b.+49h/i], [c, [N, "Swiss"], [j, A]], [/\b(zur\d{3}) b/i], [c, [N, "Swiss"], [j, x]], [/\b((zeki)?tb.*\b) b/i], [c, [N, "Zeki"], [j, x]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[N, "Dragon Touch"], c, [j, x]], [/\b(ns-?\w{0,9}) b/i], [c, [N, "Insignia"], [j, x]], [/\b((nxa|next)-?\w{0,9}) b/i], [c, [N, "NextBook"], [j, x]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[N, "Voice"], c, [j, A]], [/\b(lvtel\-)?(v1[12]) b/i], [[N, "LvTel"], c, [j, A]], [/\b(ph-1) /i], [c, [N, "Essential"], [j, A]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [c, [N, "Envizen"], [j, x]], [/\b(trio[-\w\. ]+) b/i], [c, [N, "MachSpeed"], [j, x]], [/\btu_(1491) b/i], [c, [N, "Rotor"], [j, x]], [/(shield[\w ]+) b/i], [c, [N, "Nvidia"], [j, x]], [/(sprint) (\w+)/i], [N, c, [j, A]], [/(kin\.[onetw]{3})/i], [[c, /\./g, " "], [N, k], [j, A]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [c, [N, It], [j, x]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [c, [N, It], [j, A]], [/smart-tv.+(samsung)/i], [N, [j, E]], [/hbbtv.+maple;(\d+)/i], [[c, /^/, "SmartTV"], [N, Ge], [j, E]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[N, U], [j, E]], [/(apple) ?tv/i], [N, [c, z + " TV"], [j, E]], [/crkey/i], [[c, b + "cast"], [N, De], [j, E]], [/droid.+aft(\w+)( bui|\))/i], [c, [N, w], [j, E]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [c, [N, ve], [j, E]], [/(bravia[\w ]+)( bui|\))/i], [c, [N, Be], [j, E]], [/(mitv-\w{5}) bui/i], [c, [N, he], [j, E]], [/Hbbtv.*(technisat) (.*);/i], [N, c, [j, E]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[N, Rn], [c, Rn], [j, E]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[j, E]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [N, c, [j, y]], [/droid.+; (shield) bui/i], [c, [N, "Nvidia"], [j, y]], [/(playstation [345portablevi]+)/i], [c, [N, Be], [j, y]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [c, [N, k], [j, y]], [/((pebble))app/i], [N, c, [j, C]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [c, [N, z], [j, C]], [/droid.+; (glass) \d/i], [c, [N, De], [j, C]], [/droid.+; (wt63?0{2,3})\)/i], [c, [N, It], [j, C]], [/(quest( \d| pro)?)/i], [c, [N, ft], [j, C]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [N, [j, p]], [/(aeobc)\b/i], [c, [N, w], [j, p]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [c, [j, A]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [c, [j, x]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[j, x]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[j, A]], [/(android[-\w\. ]{0,9});.+buil/i], [c, [N, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [d, [D, Se + "HTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [d, [D, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [D, d], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [d, D]], os: [[/microsoft (windows) (vista|xp)/i], [D, d], [/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i], [D, [d, fM, ro]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[d, fM, ro], [D, "Windows"]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[d, /_/g, "."], [D, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[D, qr], [d, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [d, D], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [D, d], [/\(bb(10);/i], [d, [D, ee]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [d, [D, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [d, [D, fe + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [d, [D, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [d, [D, "watchOS"]], [/crkey\/([\d\.]+)/i], [d, [D, b + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[D, Wt], d], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux) ?([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [D, d], [/(sunos) ?([\w\.\d]*)/i], [[D, "Solaris"], d], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [D, d]] }, gt = function(Z, te) {
|
6531
|
+
}, Ks = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, ro = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, no = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [d, [D, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [d, [D, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [D, d], [/opios[\/ ]+([\w\.]+)/i], [d, [D, J + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [d, [D, J + " GX"]], [/\bopr\/([\w\.]+)/i], [d, [D, J]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [d, [D, "Baidu"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i, /(heytap|ovi)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [D, d], [/\bddg\/([\w\.]+)/i], [d, [D, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [d, [D, "UC" + Y]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [d, [D, "WeChat"]], [/konqueror\/([\w\.]+)/i], [d, [D, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [d, [D, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [d, [D, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [d, [D, "Smart Lenovo " + Y]], [/(avast|avg)\/([\w\.]+)/i], [[D, /(.+)/, "$1 Secure " + Y], d], [/\bfocus\/([\w\.]+)/i], [d, [D, fe + " Focus"]], [/\bopt\/([\w\.]+)/i], [d, [D, J + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [d, [D, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [d, [D, "Dolphin"]], [/coast\/([\w\.]+)/i], [d, [D, J + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [d, [D, "MIUI " + Y]], [/fxios\/([-\w\.]+)/i], [d, [D, fe]], [/\bqihu|(qi?ho?o?|360)browser/i], [[D, "360 " + Y]], [/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i], [[D, /(.+)/, "$1 " + Y], d], [/samsungbrowser\/([\w\.]+)/i], [d, [D, Ge + " Internet"]], [/(comodo_dragon)\/([\w\.]+)/i], [[D, /_/g, " "], d], [/metasr[\/ ]?([\d\.]+)/i], [d, [D, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[D, "Sogou Mobile"], d], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i], [D, d], [/(lbbrowser)/i, /\[(linkedin)app\]/i], [D], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[D, ft], d], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [D, d], [/\bgsa\/([\w\.]+) .*safari\//i], [d, [D, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [d, [D, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [d, [D, b + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[D, b + " WebView"], d], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [d, [D, "Android " + Y]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [D, d], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [d, [D, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [d, D], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [D, [d, fM, Ks]], [/(webkit|khtml)\/([\w\.]+)/i], [D, d], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[D, "Netscape"], d], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [d, [D, fe + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /(links) \(([\w\.]+)/i, /panasonic;(viera)/i], [D, d], [/(cobalt)\/([\w\.]+)/i], [D, [d, /master.|lts./, ""]]], cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[T, "amd64"]], [/(ia32(?=;))/i], [[T, jr]], [/((?:i[346]|x)86)[;\)]/i], [[T, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[T, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[T, "armhf"]], [/windows (ce|mobile); ppc;/i], [[T, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[T, /ower/, M, jr]], [/(sun4\w)[;\)]/i], [[T, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[T, jr]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [c, [N, Ge], [j, x]], [/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]([-\w]+)/i, /sec-(sgh\w+)/i], [c, [N, Ge], [j, A]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [c, [N, z], [j, A]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [c, [N, z], [j, x]], [/(macintosh);/i], [c, [N, z]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [c, [N, Ce], [j, A]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [c, [N, S], [j, x]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [c, [N, S], [j, A]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i], [[c, /_/g, " "], [N, he], [j, A]], [/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i, /\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[c, /_/g, " "], [N, he], [j, x]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [c, [N, "OPPO"], [j, A]], [/\b(opd2\d{3}a?) bui/i], [c, [N, "OPPO"], [j, x]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [c, [N, "Vivo"], [j, A]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [c, [N, "Realme"], [j, A]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [c, [N, W], [j, A]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [c, [N, W], [j, x]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [c, [N, U], [j, x]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [c, [N, U], [j, A]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [c, [N, "Lenovo"], [j, x]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[c, /_/g, " "], [N, "Nokia"], [j, A]], [/(pixel c)\b/i], [c, [N, De], [j, x]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [c, [N, De], [j, A]], [/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [c, [N, Be], [j, A]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[c, "Xperia Tablet"], [N, Be], [j, x]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [c, [N, "OnePlus"], [j, A]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [c, [N, w], [j, x]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[c, /(.+)/g, "Fire Phone $1"], [N, w], [j, A]], [/(playbook);[-\w\),; ]+(rim)/i], [c, N, [j, x]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [c, [N, ee], [j, A]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [c, [N, H], [j, x]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [c, [N, H], [j, A]], [/(nexus 9)/i], [c, [N, "HTC"], [j, x]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [N, [c, /_/g, " "], [j, A]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [c, [N, "Acer"], [j, x]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [c, [N, "Meizu"], [j, A]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [c, [N, "Ulefone"], [j, A]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i, /(hp) ([\w ]+\w)/i, /(asus)-?(\w+)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w]+)/i, /(jolla)/i, /(oppo) ?([\w ]+) bui/i], [N, c, [j, A]], [/(kobo)\s(ereader|touch)/i, /(archos) (gamepad2?)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [N, c, [j, x]], [/(surface duo)/i], [c, [N, k], [j, x]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [c, [N, "Fairphone"], [j, A]], [/(u304aa)/i], [c, [N, "AT&T"], [j, A]], [/\bsie-(\w*)/i], [c, [N, "Siemens"], [j, A]], [/\b(rct\w+) b/i], [c, [N, "RCA"], [j, x]], [/\b(venue[\d ]{2,7}) b/i], [c, [N, "Dell"], [j, x]], [/\b(q(?:mv|ta)\w+) b/i], [c, [N, "Verizon"], [j, x]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [c, [N, "Barnes & Noble"], [j, x]], [/\b(tm\d{3}\w+) b/i], [c, [N, "NuVision"], [j, x]], [/\b(k88) b/i], [c, [N, "ZTE"], [j, x]], [/\b(nx\d{3}j) b/i], [c, [N, "ZTE"], [j, A]], [/\b(gen\d{3}) b.+49h/i], [c, [N, "Swiss"], [j, A]], [/\b(zur\d{3}) b/i], [c, [N, "Swiss"], [j, x]], [/\b((zeki)?tb.*\b) b/i], [c, [N, "Zeki"], [j, x]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[N, "Dragon Touch"], c, [j, x]], [/\b(ns-?\w{0,9}) b/i], [c, [N, "Insignia"], [j, x]], [/\b((nxa|next)-?\w{0,9}) b/i], [c, [N, "NextBook"], [j, x]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[N, "Voice"], c, [j, A]], [/\b(lvtel\-)?(v1[12]) b/i], [[N, "LvTel"], c, [j, A]], [/\b(ph-1) /i], [c, [N, "Essential"], [j, A]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [c, [N, "Envizen"], [j, x]], [/\b(trio[-\w\. ]+) b/i], [c, [N, "MachSpeed"], [j, x]], [/\btu_(1491) b/i], [c, [N, "Rotor"], [j, x]], [/(shield[\w ]+) b/i], [c, [N, "Nvidia"], [j, x]], [/(sprint) (\w+)/i], [N, c, [j, A]], [/(kin\.[onetw]{3})/i], [[c, /\./g, " "], [N, k], [j, A]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [c, [N, It], [j, x]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [c, [N, It], [j, A]], [/smart-tv.+(samsung)/i], [N, [j, E]], [/hbbtv.+maple;(\d+)/i], [[c, /^/, "SmartTV"], [N, Ge], [j, E]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[N, U], [j, E]], [/(apple) ?tv/i], [N, [c, z + " TV"], [j, E]], [/crkey/i], [[c, b + "cast"], [N, De], [j, E]], [/droid.+aft(\w+)( bui|\))/i], [c, [N, w], [j, E]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [c, [N, Ce], [j, E]], [/(bravia[\w ]+)( bui|\))/i], [c, [N, Be], [j, E]], [/(mitv-\w{5}) bui/i], [c, [N, he], [j, E]], [/Hbbtv.*(technisat) (.*);/i], [N, c, [j, E]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[N, Rn], [c, Rn], [j, E]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[j, E]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [N, c, [j, y]], [/droid.+; (shield) bui/i], [c, [N, "Nvidia"], [j, y]], [/(playstation [345portablevi]+)/i], [c, [N, Be], [j, y]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [c, [N, k], [j, y]], [/((pebble))app/i], [N, c, [j, C]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [c, [N, z], [j, C]], [/droid.+; (glass) \d/i], [c, [N, De], [j, C]], [/droid.+; (wt63?0{2,3})\)/i], [c, [N, It], [j, C]], [/(quest( \d| pro)?)/i], [c, [N, ft], [j, C]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [N, [j, p]], [/(aeobc)\b/i], [c, [N, w], [j, p]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [c, [j, A]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [c, [j, x]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[j, x]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[j, A]], [/(android[-\w\. ]{0,9});.+buil/i], [c, [N, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [d, [D, ve + "HTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [d, [D, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [D, d], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [d, D]], os: [[/microsoft (windows) (vista|xp)/i], [D, d], [/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i], [D, [d, fM, ro]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[d, fM, ro], [D, "Windows"]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[d, /_/g, "."], [D, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[D, qr], [d, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [d, D], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [D, d], [/\(bb(10);/i], [d, [D, ee]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [d, [D, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [d, [D, fe + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [d, [D, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [d, [D, "watchOS"]], [/crkey\/([\d\.]+)/i], [d, [D, b + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[D, Wt], d], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux) ?([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [D, d], [/(sunos) ?([\w\.\d]*)/i], [[D, "Solaris"], d], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [D, d]] }, gt = function(Z, te) {
|
6532
6532
|
if (typeof Z === l && (te = Z, Z = n), !(this instanceof gt))
|
6533
6533
|
return new gt(Z, te).getResult();
|
6534
6534
|
var R = typeof r !== s && r.navigator ? r.navigator : n, ne = Z || (R && R.userAgent ? R.userAgent : M), mr = R && R.userAgentData ? R.userAgentData : n, Nr = te ? $n(no, te) : no, q = R && R.userAgent == ne;
|
@@ -8371,8 +8371,8 @@ var KI = { exports: {} };
|
|
8371
8371
|
if (typeof Y == "string") return z ? I(Y, z) : Y;
|
8372
8372
|
var b = w.split(".");
|
8373
8373
|
if (b.length === 1) return I(ee, z);
|
8374
|
-
for (var
|
8375
|
-
return I(typeof
|
8374
|
+
for (var ve = E[b[0]], fe = 1; fe < b.length; fe++) ve = ve && ve[b[fe]];
|
8375
|
+
return I(typeof ve == "string" ? ve : ee, z);
|
8376
8376
|
}
|
8377
8377
|
n.useEffect(function() {
|
8378
8378
|
o = {};
|
@@ -9700,7 +9700,7 @@ class V8 {
|
|
9700
9700
|
}
|
9701
9701
|
}
|
9702
9702
|
const Bt = new V8();
|
9703
|
-
var Sr = /* @__PURE__ */ ((e) => (e.WASM_ERROR = "WASM_ERROR", e.UNKNOWN_ERROR = "UNKNOWN_ERROR", e.NOT_SUPPORTED = "NOT_SUPPORTED", e.CAMERA_UNKNOWN_ERROR = "CAMERA_UNKNOWN_ERROR", e.CAMERA_PERMISSION_DENIED = "CAMERA_PERMISSION_DENIED", e.NO_CAMERA = "NO_CAMERA", e.INCORRECT_CAMERA_ID = "INCORRECT_CAMERA_ID", e.CONNECTION_ERROR = "CONNECTION_ERROR", e.LANDSCAPE_MODE_RESTRICTED = "LANDSCAPE_MODE_RESTRICTED", e.TIMEOUT_ERROR = "TIMEOUT_ERROR", e.CHANGE_CAMERA = "CHANGE_CAMERA", e.DEVICE_ROTATE = "DEVICE_ROTATE", e.APP_INACTIVE = "APP_INACTIVE", e.HTTP_NOT_SUPPORTED = "HTTP_NOT_SUPPORTED", e.WEBSERVICE_NOT_COMPATIBLE = "WEBSERVICE_NOT_COMPATIBLE", e))(Sr || {}),
|
9703
|
+
var Sr = /* @__PURE__ */ ((e) => (e.WASM_ERROR = "WASM_ERROR", e.UNKNOWN_ERROR = "UNKNOWN_ERROR", e.NOT_SUPPORTED = "NOT_SUPPORTED", e.CAMERA_UNKNOWN_ERROR = "CAMERA_UNKNOWN_ERROR", e.CAMERA_PERMISSION_DENIED = "CAMERA_PERMISSION_DENIED", e.NO_CAMERA = "NO_CAMERA", e.INCORRECT_CAMERA_ID = "INCORRECT_CAMERA_ID", e.CONNECTION_ERROR = "CONNECTION_ERROR", e.LANDSCAPE_MODE_RESTRICTED = "LANDSCAPE_MODE_RESTRICTED", e.TIMEOUT_ERROR = "TIMEOUT_ERROR", e.CHANGE_CAMERA = "CHANGE_CAMERA", e.DEVICE_ROTATE = "DEVICE_ROTATE", e.APP_INACTIVE = "APP_INACTIVE", e.HTTP_NOT_SUPPORTED = "HTTP_NOT_SUPPORTED", e.WEBSERVICE_NOT_COMPATIBLE = "WEBSERVICE_NOT_COMPATIBLE", e))(Sr || {}), Oe = /* @__PURE__ */ ((e) => (e[e.Empty = 0] = "Empty", e[e.FitFaceIntoOval = 1] = "FitFaceIntoOval", e[e.LookStraight = 2] = "LookStraight", e[e.MoveCloser = 3] = "MoveCloser", e[e.MoveAway = 4] = "MoveAway", e[e.HoldStill = 5] = "HoldStill", e[e.ShowOnlyOneFace = 6] = "ShowOnlyOneFace", e[e.TurnHead = 7] = "TurnHead", e[e.GiveMoreLight = 8] = "GiveMoreLight", e[e.RemoveOcclusion = 9] = "RemoveOcclusion", e))(Oe || {}), cj = /* @__PURE__ */ ((e) => (e[e.Far = 0] = "Far", e[e.Near = 1] = "Near", e))(cj || {}), Re = /* @__PURE__ */ ((e) => (e[e.Finished = 0] = "Finished", e[e.InProcess = 1] = "InProcess", e[e.Timeout = 2] = "Timeout", e[e.Failed = 3] = "Failed", e[e.Stop_Session = 4] = "Stop_Session", e))(Re || {}), Ua = /* @__PURE__ */ ((e) => (e[e.ASYNCHRONOUS_UPLOAD = 0] = "ASYNCHRONOUS_UPLOAD", e[e.SYNCHRONOUS_UPLOAD = 1] = "SYNCHRONOUS_UPLOAD", e[e.NOT_UPLOAD = 2] = "NOT_UPLOAD", e))(Ua || {}), xe = /* @__PURE__ */ ((e) => (e.ELEMENT_VISIBLE = "ELEMENT_VISIBLE", e.PRESS_START_BUTTON = "PRESS_START_BUTTON", e.PRESS_RETRY_BUTTON = "PRESS_RETRY_BUTTON", e.CLOSE = "CLOSE", e.PROCESS_FINISHED = "PROCESS_FINISHED", e.SERVICE_INITIALIZED = "SERVICE_INITIALIZED", e.RETRY_COUNTER_EXCEEDED = "RETRY_COUNTER_EXCEEDED", e))(xe || {}), Yt = /* @__PURE__ */ ((e) => (e.CHANGE_CAMERA = "FaceAbortSessionStatus.CHANGE_CAMERA", e.DEVICE_ROTATE = "FaceAbortSessionStatus.DEVICE_ROTATE", e.SESSION_TIMEOUT = "FaceAbortSessionStatus.TIMEOUT", e.CLOSE_BUTTON = "FaceAbortSessionStatus.CLOSE_BUTTON", e.UNKNOWN = "FaceAbortSessionStatus.UNKNOWN", e.APP_INACTIVE = "FaceAbortSessionStatus.APP_INACTIVE", e))(Yt || {}), m = /* @__PURE__ */ ((e) => (e.RESTART = "FaceCompletionStatus.RESTART", e.ABORT_PROCESSING = "FaceCompletionStatus.ABORT_PROCESSING", e.INSTRUCTION = "FaceCompletionStatus.INSTRUCTION", e.SUCCESS = "FaceCompletionStatus.SUCCESS", e.FAILED = "FaceCompletionStatus.FAILED", e.CAPTURING = "FaceCompletionStatus.CAPTURING", e.PROCESSING_REQUEST = "FaceCompletionStatus.PROCESSING_REQUEST", e.WASM_DEFAULT_ERROR = "FaceCompletionStatus.WASM_DEFAULT_ERROR", e.NOT_SUPPORTED_ERROR = "FaceCompletionStatus.NOT_SUPPORTED_ERROR", e.UNKNOWN_ERROR = "FaceCompletionStatus.UNKNOWN_ERROR", e.NO_CAMERA_ERROR = "FaceCompletionStatus.NO_CAMERA_ERROR", e.PERMISSION_DENIED_ERROR = "FaceCompletionStatus.PERMISSION_DENIED_ERROR", e.INCORRECT_CAMERA_ID_ERROR = "FaceCompletionStatus.INCORRECT_CAMERA_ID_ERROR", e.HTTP_NOT_SUPPORTED = "HTTP_NOT_SUPPORTED", e.WEBSERVICE_NOT_COMPATIBLE = "WEBSERVICE_NOT_COMPATIBLE", e))(m || {});
|
9704
9704
|
const _8 = "face-liveness", Z8 = "face-capture", ja = 3, Ri = "https://faceapi.regulaforensics.com", G8 = 200, o1 = {
|
9705
9705
|
199: {
|
9706
9706
|
name: "FACER_CONFIG_ERROR",
|
@@ -9928,7 +9928,7 @@ const r6 = Bt.create("main"), c1 = {
|
|
9928
9928
|
livenessType: Vs.ACTIVE,
|
9929
9929
|
holdStillDuration: void 0,
|
9930
9930
|
timeoutInterval: void 0,
|
9931
|
-
workerPath: "https://wasm.regulaforensics.com/face/nightly/6.4/
|
9931
|
+
workerPath: "https://wasm.regulaforensics.com/face/nightly/6.4/a8b82e0a-47e9b113a",
|
9932
9932
|
detectOcclusion: !0
|
9933
9933
|
}, n6 = (e) => dc(dc({}, c1), {}, {
|
9934
9934
|
onEvent: () => r6('Function "onEvent" not defined.'),
|
@@ -10052,7 +10052,7 @@ const N1 = {
|
|
10052
10052
|
setCompletionStatus: (r) => e(() => ({
|
10053
10053
|
completionStatus: r
|
10054
10054
|
})),
|
10055
|
-
onRestart: (r) =>
|
10055
|
+
onRestart: (r) => Le(void 0, null, function* () {
|
10056
10056
|
const n = t().abortSessionStatus, i = n === Yt.CHANGE_CAMERA, M = n === Yt.DEVICE_ROTATE, o = n === Yt.SESSION_TIMEOUT || n === Yt.APP_INACTIVE;
|
10057
10057
|
if (r) {
|
10058
10058
|
e(() => ({
|
@@ -11196,7 +11196,7 @@ function sx(e, t) {
|
|
11196
11196
|
});
|
11197
11197
|
}
|
11198
11198
|
function hP() {
|
11199
|
-
return
|
11199
|
+
return Le(this, null, function* () {
|
11200
11200
|
const t = (yield navigator.mediaDevices.enumerateDevices()).filter((n) => n.kind === "videoinput"), r = t.every((n) => n.label !== "");
|
11201
11201
|
return {
|
11202
11202
|
videoDevices: t,
|
@@ -11209,7 +11209,7 @@ function mP(e, t) {
|
|
11209
11209
|
return t.some((n) => r.includes(n));
|
11210
11210
|
}
|
11211
11211
|
function wP(e) {
|
11212
|
-
return
|
11212
|
+
return Le(this, null, function* () {
|
11213
11213
|
const t = {
|
11214
11214
|
frontCameras: [],
|
11215
11215
|
backCameras: []
|
@@ -11270,7 +11270,7 @@ const VT = (e) => {
|
|
11270
11270
|
e.getTracks().forEach((t) => t.stop());
|
11271
11271
|
};
|
11272
11272
|
function UP(e, t, r) {
|
11273
|
-
return
|
11273
|
+
return Le(this, null, function* () {
|
11274
11274
|
const n = {
|
11275
11275
|
status: _.PREPARING,
|
11276
11276
|
stream: null,
|
@@ -11363,7 +11363,7 @@ function tM(e, t) {
|
|
11363
11363
|
return n;
|
11364
11364
|
}
|
11365
11365
|
function bP(e) {
|
11366
|
-
return
|
11366
|
+
return Le(this, null, function* () {
|
11367
11367
|
return new Promise((t) => setTimeout(t, e));
|
11368
11368
|
});
|
11369
11369
|
}
|
@@ -11713,7 +11713,7 @@ function I$() {
|
|
11713
11713
|
const j = n === _.PREPARING || n === _.REQUESTING;
|
11714
11714
|
if (!l || i !== null || !j) return;
|
11715
11715
|
const N = kP(e, l, r);
|
11716
|
-
return Gn("Selected camera: ".concat(JSON.stringify(N))),
|
11716
|
+
return Gn("Selected camera: ".concat(JSON.stringify(N))), Le(this, null, function* () {
|
11717
11717
|
try {
|
11718
11718
|
yield bP(Wh ? o6 : 0);
|
11719
11719
|
const y = yield UP(t, N, r);
|
@@ -11799,7 +11799,7 @@ class y$ {
|
|
11799
11799
|
videoBitsPerSecond: this.bitrate
|
11800
11800
|
}), this.recorder.addEventListener("dataavailable", this.setChunk.bind(this)), this.recorder.addEventListener("error", this.errorHandle.bind(this)), this.delay ? this.delayTimeout = setTimeout(() => {
|
11801
11801
|
this.delayTimeout = null, this.startRecording();
|
11802
|
-
}, this.delay) : this.startRecording(), this.duration && (this.durationTimeout = setTimeout(() =>
|
11802
|
+
}, this.delay) : this.startRecording(), this.duration && (this.durationTimeout = setTimeout(() => Le(this, null, function* () {
|
11803
11803
|
this.durationTimeout = null, this.record = yield this.getRecord();
|
11804
11804
|
}), this.delay + this.duration)), fi("MediaRecorder initialized: { duration: ".concat(this.duration, ", delay: ").concat(this.delay, ", mimeType: ").concat(this.mimeType, " }"));
|
11805
11805
|
}
|
@@ -11810,7 +11810,7 @@ class y$ {
|
|
11810
11810
|
this.delayTimeout && clearTimeout(this.delayTimeout), this.durationTimeout && clearTimeout(this.durationTimeout);
|
11811
11811
|
}
|
11812
11812
|
getRecord() {
|
11813
|
-
return
|
11813
|
+
return Le(this, null, function* () {
|
11814
11814
|
if (this.record) {
|
11815
11815
|
const t = this.record;
|
11816
11816
|
return this.record = null, t;
|
@@ -11818,7 +11818,7 @@ class y$ {
|
|
11818
11818
|
return !this.recorder || this.recorder.state === "inactive" ? null : (this.stopRecord(), new Promise((t) => {
|
11819
11819
|
if (!this.recorder)
|
11820
11820
|
return t(null);
|
11821
|
-
this.recorder.onstop = () =>
|
11821
|
+
this.recorder.onstop = () => Le(this, null, function* () {
|
11822
11822
|
const r = yield this.getVideoData();
|
11823
11823
|
fi("Video record resolved"), t(r);
|
11824
11824
|
});
|
@@ -11840,7 +11840,7 @@ class y$ {
|
|
11840
11840
|
this.chunks.push(t.data);
|
11841
11841
|
}
|
11842
11842
|
getVideoData() {
|
11843
|
-
return
|
11843
|
+
return Le(this, null, function* () {
|
11844
11844
|
const t = new Blob(this.chunks, {
|
11845
11845
|
type: this.mimeType
|
11846
11846
|
});
|
@@ -12045,9 +12045,9 @@ const G$ = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAwIiBoZWlnaHQ9IjI0MDAiIH
|
|
12045
12045
|
centerX: u,
|
12046
12046
|
centerY: s
|
12047
12047
|
} = e;
|
12048
|
-
const l = M ===
|
12048
|
+
const l = M === Oe.TurnHead, I = M === Oe.RemoveOcclusion, [g, c] = f.useState(on.TARGET_0_DEG), [D, j] = f.useState(1), N = f.useRef(void 0), [d, T] = f.useState(!1), [y, A] = f.useState(!1), [x, E] = f.useState(null);
|
12049
12049
|
return f.useEffect(() => {
|
12050
|
-
X8.includes(M) && (y && !i || M ===
|
12050
|
+
X8.includes(M) && (y && !i || M === Oe.FitFaceIntoOval && o.x === 0 || (N.current && clearTimeout(N.current), E(M), n(!0), T(K8.includes(M)), A(!0), N.current = setTimeout(() => {
|
12051
12051
|
n(!1), A(!1);
|
12052
12052
|
}, I ? J8 : W8), i && (n(!1), A(!1), clearTimeout(N.current))));
|
12053
12053
|
}, [M, i, o.x]), f.useEffect(() => () => {
|
@@ -12061,7 +12061,7 @@ const G$ = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAwIiBoZWlnaHQ9IjI0MDAiIH
|
|
12061
12061
|
return;
|
12062
12062
|
}
|
12063
12063
|
t === 2 && c(on.TARGET_0_DEG), (t === 1 || t === 3) && c(on.TARGET_45_DEG), (t === 0 || t === 4) && c(on.TARGET_90_DEG), (t === 5 || t === 7) && c(on.TARGET_135_DEG), t === 6 && c(on.TARGET_180_DEG);
|
12064
|
-
const C = typeof t == "number" && F8.includes(t) && M !==
|
12064
|
+
const C = typeof t == "number" && F8.includes(t) && M !== Oe.FitFaceIntoOval;
|
12065
12065
|
j(C ? -1 : 1);
|
12066
12066
|
}, [t, y, M]), /* @__PURE__ */ a.jsx("div", { className: ue["face-hint-container"], style: {
|
12067
12067
|
opacity: l || y ? 1 : 0,
|
@@ -12109,17 +12109,17 @@ const q$ = f.memo(K$), eR = {
|
|
12109
12109
|
[_.UNKNOWN_ERROR]: "somethingWentWrong",
|
12110
12110
|
[_.INCORRECT_CAMERA_ID]: "incorrectCameraId"
|
12111
12111
|
}, tR = {
|
12112
|
-
[
|
12113
|
-
[
|
12114
|
-
[
|
12115
|
-
[
|
12116
|
-
[
|
12117
|
-
[
|
12118
|
-
[
|
12119
|
-
[
|
12112
|
+
[Oe.LookStraight]: "lookStraight",
|
12113
|
+
[Oe.FitFaceIntoOval]: "fitYourFace",
|
12114
|
+
[Oe.MoveCloser]: "moveCloser",
|
12115
|
+
[Oe.MoveAway]: "moveAway",
|
12116
|
+
[Oe.HoldStill]: "holdSteady",
|
12117
|
+
[Oe.ShowOnlyOneFace]: "showOnlyOneFace",
|
12118
|
+
[Oe.TurnHead]: "turnHead",
|
12119
|
+
[Oe.GiveMoreLight]: "",
|
12120
12120
|
// not used in web component
|
12121
|
-
[
|
12122
|
-
[
|
12121
|
+
[Oe.RemoveOcclusion]: "removeOcclusion",
|
12122
|
+
[Oe.Empty]: ""
|
12123
12123
|
}, rR = (e, t, r) => e.videoStatus === _.PLAY ? t ? tR[r] : "preparingService" : eR[e.videoStatus] || "", nR = (e) => {
|
12124
12124
|
let {
|
12125
12125
|
isMobile: t,
|
@@ -12162,7 +12162,7 @@ function iR(e) {
|
|
12162
12162
|
livenessType: k.livenessType
|
12163
12163
|
})), {
|
12164
12164
|
translate: y
|
12165
|
-
} = gi.useLocalize(), A = f.useRef(null), x = i ===
|
12165
|
+
} = gi.useLocalize(), A = f.useRef(null), x = i === Oe.HoldStill, E = g > 0 && typeof I == "number", C = M && n.videoStatus === _.PLAY, p = y(rR(n, M, i)), O = {
|
12166
12166
|
transition: "".concat(G8, "ms")
|
12167
12167
|
}, w = nR({
|
12168
12168
|
isMobile: Vr,
|
@@ -12191,10 +12191,10 @@ function iR(e) {
|
|
12191
12191
|
const {
|
12192
12192
|
width: W,
|
12193
12193
|
height: J
|
12194
|
-
} = k.getBoundingClientRect(), Ge = W,
|
12194
|
+
} = k.getBoundingClientRect(), Ge = W, Ce = J, Be = r.left, he = r.top, It = r.width, ft = r.height, Wt = It + ja, qr = ft + ja, $n = Math.round(Wt * 2 / 2 * (1 - u)), en = Math.round(Be - $n / 2), Ni = Math.round(he - $n / 2), jr = ja, zM = Math.round(jr * 1.5);
|
12195
12195
|
H({
|
12196
12196
|
viewBoxWidth: Ge,
|
12197
|
-
viewBoxHeight:
|
12197
|
+
viewBoxHeight: Ce,
|
12198
12198
|
maskCX: Be,
|
12199
12199
|
maskCY: he,
|
12200
12200
|
maskRX: It,
|
@@ -12209,7 +12209,7 @@ function iR(e) {
|
|
12209
12209
|
});
|
12210
12210
|
}
|
12211
12211
|
}, [r, u]);
|
12212
|
-
const ee = () => E || C && !E ? "url(#bgClip)" : "", Y = () => E || x ? "" : "url(#ovalClip)", b = () => g === 1 ? "".concat(ue.backgroundSvg, " ").concat(ue.firstStepAnimation) : ue.backgroundSvg,
|
12212
|
+
const ee = () => E || C && !E ? "url(#bgClip)" : "", Y = () => E || x ? "" : "url(#ovalClip)", b = () => g === 1 ? "".concat(ue.backgroundSvg, " ").concat(ue.firstStepAnimation) : ue.backgroundSvg, ve = () => E ? 1 : x ? z.steadyStrokeWidth : z.strokeWidth, [fe, De] = f.useState(!1), S = f.useCallback((k) => {
|
12213
12213
|
De(k);
|
12214
12214
|
}, []), U = f.useMemo(() => {
|
12215
12215
|
if (!d || d === 0 || !eo) return "";
|
@@ -12249,7 +12249,7 @@ function iR(e) {
|
|
12249
12249
|
] }),
|
12250
12250
|
/* @__PURE__ */ a.jsx("rect", { mask: ee(), x: "0", y: "0", width: z.viewBoxWidth, height: z.viewBoxHeight, fill: "white" }),
|
12251
12251
|
E && typeof I == "number" && /* @__PURE__ */ a.jsx(Dx, { numSectors: s, targetSector: I, currSector: l, centerX: z.viewBoxWidth / 2, centerY: z.viewBoxHeight / 2, sectorRadius: z.frameRX }),
|
12252
|
-
/* @__PURE__ */ a.jsx("ellipse", { mask: Y(), className: "".concat(x ? ue.done : "", " ").concat(M ? "" : ue.hide), cx: z.maskCX, cy: z.maskCY, rx: E ? z.maskRX : z.frameRX, ry: E ? z.maskRX : z.frameRY, fill: "none", stroke: C ? "var(--camera-screen-stroke-normal)" : "", strokeWidth:
|
12252
|
+
/* @__PURE__ */ a.jsx("ellipse", { mask: Y(), className: "".concat(x ? ue.done : "", " ").concat(M ? "" : ue.hide), cx: z.maskCX, cy: z.maskCY, rx: E ? z.maskRX : z.frameRX, ry: E ? z.maskRX : z.frameRY, fill: "none", stroke: C ? "var(--camera-screen-stroke-normal)" : "", strokeWidth: ve() })
|
12253
12253
|
] }),
|
12254
12254
|
/* @__PURE__ */ a.jsx(yx, { roundRadiusY: z.maskRY, targetSector: E ? I : l, setCameraBlur: S, isSectorMode: E, message: i, facePosition: D, centerX: z.viewBoxWidth / 2, centerY: z.viewBoxHeight / 2 }),
|
12255
12255
|
/* @__PURE__ */ a.jsx("div", { className: "".concat(ue.secondaryMessage, " ").concat(M ? "" : ue.centreMessage), children: /* @__PURE__ */ a.jsx(q$, { children: p }) }),
|
@@ -12291,8 +12291,8 @@ class cR {
|
|
12291
12291
|
ZM(this, "initialized", !1), ZM(this, "processing", !1), ZM(this, "prepared", !1), ZM(this, "worker", void 0), ZM(this, "listenerCallback", null), this.worker = null;
|
12292
12292
|
}
|
12293
12293
|
prepare(t) {
|
12294
|
-
return
|
12295
|
-
const r = "Liveness.worker.js", n = Q.getState().workerPath, i = Q.getState().workerPath === "https://wasm.regulaforensics.com/face/nightly/6.4/
|
12294
|
+
return Le(this, null, function* () {
|
12295
|
+
const r = "Liveness.worker.js", n = Q.getState().workerPath, i = Q.getState().workerPath === "https://wasm.regulaforensics.com/face/nightly/6.4/a8b82e0a-47e9b113a";
|
12296
12296
|
try {
|
12297
12297
|
let o = yield (yield fetch(n + "/" + r)).text();
|
12298
12298
|
i || (o = e$(o, n));
|
@@ -12310,7 +12310,7 @@ class cR {
|
|
12310
12310
|
}), this.worker.postMessage({
|
12311
12311
|
target: "worker-init",
|
12312
12312
|
URL: document.URL,
|
12313
|
-
currentScriptUrl: "https://wasm.regulaforensics.com/face/nightly/6.4/
|
12313
|
+
currentScriptUrl: "https://wasm.regulaforensics.com/face/nightly/6.4/a8b82e0a-47e9b113a",
|
12314
12314
|
preMain: !0
|
12315
12315
|
}));
|
12316
12316
|
});
|
@@ -12427,7 +12427,7 @@ class jR {
|
|
12427
12427
|
t && (this.headers = t);
|
12428
12428
|
}
|
12429
12429
|
getLivenessDetectionResult(t, r) {
|
12430
|
-
return
|
12430
|
+
return Le(this, null, function* () {
|
12431
12431
|
let {
|
12432
12432
|
transactionId: n,
|
12433
12433
|
backendURL: i = Ri,
|
@@ -12448,7 +12448,7 @@ class jR {
|
|
12448
12448
|
});
|
12449
12449
|
}
|
12450
12450
|
sendLivenessAbortedResult(t, r) {
|
12451
|
-
return
|
12451
|
+
return Le(this, null, function* () {
|
12452
12452
|
let {
|
12453
12453
|
transactionId: n,
|
12454
12454
|
backendURL: i = Ri,
|
@@ -12465,7 +12465,7 @@ class jR {
|
|
12465
12465
|
});
|
12466
12466
|
}
|
12467
12467
|
sendVideoData(n, i) {
|
12468
|
-
return
|
12468
|
+
return Le(this, arguments, function* (t, r) {
|
12469
12469
|
let M = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Ri, o = arguments.length > 3 ? arguments[3] : void 0;
|
12470
12470
|
const u = "".concat(M, "/api/v2/liveness/video?transactionId=").concat(r, "&tag=").concat(o), s = {
|
12471
12471
|
method: "POST",
|
@@ -12476,7 +12476,7 @@ class jR {
|
|
12476
12476
|
});
|
12477
12477
|
}
|
12478
12478
|
getInitialisingData(n, i) {
|
12479
|
-
return
|
12479
|
+
return Le(this, arguments, function* (t, r) {
|
12480
12480
|
let M = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Ri, o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 0;
|
12481
12481
|
const u = "".concat(M, "/api/v2/liveness/start"), s = {
|
12482
12482
|
method: "POST",
|
@@ -12521,7 +12521,7 @@ const TR = (e, t, r) => {
|
|
12521
12521
|
f.useEffect(() => {
|
12522
12522
|
if (jx(e)) {
|
12523
12523
|
if (!t.recordService) return r.finalizePackage();
|
12524
|
-
t.recordService.getRecord().then((i) =>
|
12524
|
+
t.recordService.getRecord().then((i) => Le(void 0, null, function* () {
|
12525
12525
|
if (!i) return;
|
12526
12526
|
const {
|
12527
12527
|
data: M
|
@@ -12653,7 +12653,7 @@ const zR = 1500, e2 = (e) => e * 1e3, $c = Bt.create("main"), fR = (e, t, r, n,
|
|
12653
12653
|
config: D,
|
12654
12654
|
metadata: {
|
12655
12655
|
hostAppId: e.url || Ri,
|
12656
|
-
sdkVersion: WT("6.4.
|
12656
|
+
sdkVersion: WT("6.4.1473-nightly"),
|
12657
12657
|
deviceModel: "".concat(Fu, "/").concat(Kl, " ").concat(sa, "/").concat(Xl),
|
12658
12658
|
camera: e.videoStatusParams.camera
|
12659
12659
|
}
|
@@ -12674,7 +12674,7 @@ const zR = 1500, e2 = (e) => e * 1e3, $c = Bt.create("main"), fR = (e, t, r, n,
|
|
12674
12674
|
}), j = {
|
12675
12675
|
platform: "Web",
|
12676
12676
|
osVersion: "".concat(Kl),
|
12677
|
-
sdkVersion: WT("6.4.
|
12677
|
+
sdkVersion: WT("6.4.1473-nightly"),
|
12678
12678
|
hostAppId: e.url || Ri,
|
12679
12679
|
userID: c,
|
12680
12680
|
deviceModel: "".concat(Fu, "/").concat(Kl, " ").concat(sa, "/").concat(Xl),
|
@@ -12757,7 +12757,7 @@ class OR {
|
|
12757
12757
|
}
|
12758
12758
|
}
|
12759
12759
|
setListeners() {
|
12760
|
-
window.DeviceOrientationEvent && typeof window.DeviceOrientationEvent.requestPermission == "function" ?
|
12760
|
+
window.DeviceOrientationEvent && typeof window.DeviceOrientationEvent.requestPermission == "function" ? Le(this, null, function* () {
|
12761
12761
|
yield window.DeviceOrientationEvent.requestPermission().then((t) => {
|
12762
12762
|
t === "granted" && (this.initialized = !0, window.addEventListener("deviceorientation", this.setAngleLink)), t === "denied" && t2("Device orientation service permission denied");
|
12763
12763
|
}).catch((t) => {
|
@@ -12897,7 +12897,7 @@ const QR = Bt.create("main"), YR = {
|
|
12897
12897
|
initialized: !1,
|
12898
12898
|
numSectors: 0,
|
12899
12899
|
step: 0,
|
12900
|
-
message:
|
12900
|
+
message: Oe.Empty,
|
12901
12901
|
prepared: !1,
|
12902
12902
|
processingStage: cj.Far,
|
12903
12903
|
status: Re.InProcess,
|
@@ -12984,7 +12984,7 @@ function $R() {
|
|
12984
12984
|
width: 0,
|
12985
12985
|
height: 0
|
12986
12986
|
}
|
12987
|
-
}), [
|
12987
|
+
}), [ve, fe] = f.useState({
|
12988
12988
|
width: 0,
|
12989
12989
|
height: 0,
|
12990
12990
|
left: 0,
|
@@ -13008,7 +13008,7 @@ function $R() {
|
|
13008
13008
|
message: W,
|
13009
13009
|
status: J,
|
13010
13010
|
processingStage: Ge,
|
13011
|
-
request:
|
13011
|
+
request: Ce,
|
13012
13012
|
debugOutput: Be,
|
13013
13013
|
prepared: he,
|
13014
13014
|
initialized: It,
|
@@ -13084,17 +13084,17 @@ function $R() {
|
|
13084
13084
|
!Rn || N || D(Rn);
|
13085
13085
|
}, [Rn]), f.useEffect(() => {
|
13086
13086
|
if (Wt) return;
|
13087
|
-
J === Re.Timeout && (e({
|
13087
|
+
J === Re.Timeout && !Ce && (e({
|
13088
13088
|
action: xe.PROCESS_FINISHED,
|
13089
13089
|
data: {
|
13090
13090
|
status: nt.ERROR,
|
13091
13091
|
reason: Sr.TIMEOUT_ERROR
|
13092
13092
|
}
|
13093
13093
|
}), N || I(Yt.SESSION_TIMEOUT));
|
13094
|
-
const K = FT(J, N, s, !!(ft != null && ft.length), !!
|
13095
|
-
d(K), Y.videoElement && (K === m.SUCCESS && c(ft), !N && (K === m.PROCESSING_REQUEST && (g(!1), c(ft), T(
|
13096
|
-
}, [J, Ge, N,
|
13097
|
-
if (!Y.videoParams.width || Jt.x === 0 || W !==
|
13094
|
+
const K = FT(J, N, s, !!(ft != null && ft.length), !!Ce);
|
13095
|
+
d(K), Y.videoElement && (K === m.SUCCESS && c(ft), !N && (K === m.PROCESSING_REQUEST && (g(!1), c(ft), T(Ce)), (K === m.FAILED || K === m.ABORT_PROCESSING) && T(Ce)));
|
13096
|
+
}, [J, Ge, N, Ce, ft, Y.videoElement, Wt]), f.useEffect(() => {
|
13097
|
+
if (!Y.videoParams.width || Jt.x === 0 || W !== Oe.FitFaceIntoOval) return;
|
13098
13098
|
const K = Cg(Y.videoParams.width, Y.videoParams.height, Y.videoContainerParams.width, Y.videoContainerParams.height, Jt.width, Jt.height, Jt.x, Jt.y, Pr.contain);
|
13099
13099
|
k({
|
13100
13100
|
width: K.width,
|
@@ -13112,7 +13112,7 @@ function $R() {
|
|
13112
13112
|
}, [Be, Y, r == null ? void 0 : r.faceDebugOutputCanvasFromWasm]), f.useEffect(() => {
|
13113
13113
|
Wt && y(Wt);
|
13114
13114
|
}, [Wt]), /* @__PURE__ */ a.jsxs("div", { className: Bo.container, children: [
|
13115
|
-
/* @__PURE__ */ a.jsx(MR, { facePosition: U, readiness: zM, step: $n, numSectors: jr, currSector: en, targetSector: Ni, captureFrame:
|
13115
|
+
/* @__PURE__ */ a.jsx(MR, { facePosition: U, readiness: zM, step: $n, numSectors: jr, currSector: en, targetSector: Ni, captureFrame: ve, videoStatusParams: De, message: W, prepared: he && It, onChangeCamera: ro, showChangeCameraButton: i, faceSnapshot: N, children: he ? /* @__PURE__ */ a.jsx(T$, { onVideoSizeChange: b, onVideoStatusChange: S, mode: sr.user, resolution: Vr ? Qa.HD : Qa.FULL_HD, onFailStatus: gt, cameraId: o, onRecordService: ee, videoRecord: Ks }) : null }),
|
13116
13116
|
(r == null ? void 0 : r.faceDebugOutputCanvasFromWasm) && /* @__PURE__ */ a.jsx("div", { className: Bo.translateY, children: /* @__PURE__ */ a.jsx("canvas", { ref: z, className: "".concat(Bo["debug-canvas"], " ").concat(fM), width: Y.videoContainerParams.width, height: Y.videoContainerParams.height }) })
|
13117
13117
|
] });
|
13118
13118
|
}
|
@@ -14777,7 +14777,7 @@ class Y4e extends HTMLElement {
|
|
14777
14777
|
this.dispatchEvent(r), Q4e("Component event: ".concat(JSON.stringify(r.detail)));
|
14778
14778
|
}
|
14779
14779
|
get version() {
|
14780
|
-
return "".concat("6.4.
|
14780
|
+
return "".concat("6.4.1473-nightly".trim());
|
14781
14781
|
}
|
14782
14782
|
set translations(t) {
|
14783
14783
|
this._translations = t, this._mounted && this.render();
|
@@ -14954,14 +14954,14 @@ function rje(e) {
|
|
14954
14954
|
backendURL: I,
|
14955
14955
|
publicKey: s
|
14956
14956
|
}).then((b) => {
|
14957
|
-
var
|
14957
|
+
var ve;
|
14958
14958
|
E(b), y(b.status === Re.Finished ? m.SUCCESS : m.FAILED);
|
14959
14959
|
const fe = {
|
14960
14960
|
code: b.code,
|
14961
14961
|
metadata: b.metadata,
|
14962
14962
|
status: b.status,
|
14963
14963
|
transactionId: b.transactionId,
|
14964
|
-
estimatedAge: b.age && Array.isArray(b.age) && ((
|
14964
|
+
estimatedAge: b.age && Array.isArray(b.age) && ((ve = b.age[0]) === null || ve === void 0 ? void 0 : ve.pred) || null,
|
14965
14965
|
images: i,
|
14966
14966
|
tag: D,
|
14967
14967
|
type: b.type
|
@@ -15128,7 +15128,7 @@ class oje extends HTMLElement {
|
|
15128
15128
|
});
|
15129
15129
|
}
|
15130
15130
|
get version() {
|
15131
|
-
return "".concat("6.4.
|
15131
|
+
return "".concat("6.4.1473-nightly".trim());
|
15132
15132
|
}
|
15133
15133
|
set translations(t) {
|
15134
15134
|
this._translations = t, this._mounted && this.render();
|