@regulaforensics/vp-frontend-document-components 7.5.1884-nightly → 7.5.1886-rc
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 +8 -8
- package/dist/main.js +171 -171
- package/package.json +2 -2
package/dist/main.js
CHANGED
|
@@ -1151,21 +1151,21 @@ var G8 = { exports: {} }, Dn = {}, z8 = { exports: {} }, Z8 = {};
|
|
|
1151
1151
|
m = null, E = ie, v = !1;
|
|
1152
1152
|
}
|
|
1153
1153
|
}
|
|
1154
|
-
var
|
|
1154
|
+
var j = !1, F = null, z = -1, q = 5, V = -1;
|
|
1155
1155
|
function re() {
|
|
1156
|
-
return !(e.unstable_now() -
|
|
1156
|
+
return !(e.unstable_now() - V < q);
|
|
1157
1157
|
}
|
|
1158
1158
|
function Ee() {
|
|
1159
1159
|
if (F !== null) {
|
|
1160
1160
|
var ee = e.unstable_now();
|
|
1161
|
-
|
|
1161
|
+
V = ee;
|
|
1162
1162
|
var ce = !0;
|
|
1163
1163
|
try {
|
|
1164
1164
|
ce = F(!0, ee);
|
|
1165
1165
|
} finally {
|
|
1166
|
-
ce ? $e() : (
|
|
1166
|
+
ce ? $e() : (j = !1, F = null);
|
|
1167
1167
|
}
|
|
1168
|
-
} else
|
|
1168
|
+
} else j = !1;
|
|
1169
1169
|
}
|
|
1170
1170
|
var $e;
|
|
1171
1171
|
if (typeof y == "function") $e = function() {
|
|
@@ -1180,7 +1180,7 @@ var G8 = { exports: {} }, Dn = {}, z8 = { exports: {} }, Z8 = {};
|
|
|
1180
1180
|
D(Ee, 0);
|
|
1181
1181
|
};
|
|
1182
1182
|
function Ze(ee) {
|
|
1183
|
-
F = ee,
|
|
1183
|
+
F = ee, j || (j = !0, $e());
|
|
1184
1184
|
}
|
|
1185
1185
|
function We(ee, ce) {
|
|
1186
1186
|
z = D(function() {
|
|
@@ -2939,18 +2939,18 @@ function F2(e, t, r, n, i) {
|
|
|
2939
2939
|
else if (NR(E)) if (NT) $ = uK;
|
|
2940
2940
|
else {
|
|
2941
2941
|
$ = lK;
|
|
2942
|
-
var
|
|
2942
|
+
var j = sK;
|
|
2943
2943
|
}
|
|
2944
2944
|
else (v = E.nodeName) && v.toLowerCase() === "input" && (E.type === "checkbox" || E.type === "radio") && ($ = cK);
|
|
2945
2945
|
if ($ && ($ = $(e, f))) {
|
|
2946
2946
|
yT(m, $, r, h);
|
|
2947
2947
|
break e;
|
|
2948
2948
|
}
|
|
2949
|
-
|
|
2949
|
+
j && j(e, E, f), e === "focusout" && (j = E._wrapperState) && j.controlled && E.type === "number" && G0(E, "number", E.value);
|
|
2950
2950
|
}
|
|
2951
|
-
switch (
|
|
2951
|
+
switch (j = f ? Ml(f) : window, e) {
|
|
2952
2952
|
case "focusin":
|
|
2953
|
-
(NR(
|
|
2953
|
+
(NR(j) || j.contentEditable === "true") && (wl = j, rE = f, qu = null);
|
|
2954
2954
|
break;
|
|
2955
2955
|
case "focusout":
|
|
2956
2956
|
qu = rE = wl = null;
|
|
@@ -2985,7 +2985,7 @@ function F2(e, t, r, n, i) {
|
|
|
2985
2985
|
z = void 0;
|
|
2986
2986
|
}
|
|
2987
2987
|
else Ll ? OT(e, r) && (z = "onCompositionEnd") : e === "keydown" && r.keyCode === 229 && (z = "onCompositionStart");
|
|
2988
|
-
z && (DT && r.locale !== "ko" && (Ll || z !== "onCompositionStart" ? z === "onCompositionEnd" && Ll && (F = AT()) : (fa = h, N5 = "value" in fa ? fa.value : fa.textContent, Ll = !0)),
|
|
2988
|
+
z && (DT && r.locale !== "ko" && (Ll || z !== "onCompositionStart" ? z === "onCompositionEnd" && Ll && (F = AT()) : (fa = h, N5 = "value" in fa ? fa.value : fa.textContent, Ll = !0)), j = W1(f, z), 0 < j.length && (z = new DR(z, e, null, r, h), m.push({ event: z, listeners: j }), F ? z.data = F : (F = TT(r), F !== null && (z.data = F)))), (F = tK ? rK(e, r) : nK(e, r)) && (f = W1(f, "onBeforeInput"), 0 < f.length && (h = new DR("onBeforeInput", "beforeinput", null, r, h), m.push({ event: h, listeners: f }), h.data = F));
|
|
2989
2989
|
}
|
|
2990
2990
|
FT(m, t);
|
|
2991
2991
|
});
|
|
@@ -3392,8 +3392,8 @@ function ZT(e) {
|
|
|
3392
3392
|
case yl:
|
|
3393
3393
|
return O = O.get(P.key === null ? T : P.key) || null, f(y, O, P, $);
|
|
3394
3394
|
case aa:
|
|
3395
|
-
var
|
|
3396
|
-
return v(O, y, T,
|
|
3395
|
+
var j = P._init;
|
|
3396
|
+
return v(O, y, T, j(P._payload), $);
|
|
3397
3397
|
}
|
|
3398
3398
|
if (bu(P) || cu(P)) return O = O.get(T) || null, h(y, O, P, $, null);
|
|
3399
3399
|
Ad(y, P);
|
|
@@ -3401,21 +3401,21 @@ function ZT(e) {
|
|
|
3401
3401
|
return null;
|
|
3402
3402
|
}
|
|
3403
3403
|
function g(O, y, T, P) {
|
|
3404
|
-
for (var $ = null,
|
|
3404
|
+
for (var $ = null, j = null, F = y, z = y = 0, q = null; F !== null && z < T.length; z++) {
|
|
3405
3405
|
F.index > z ? (q = F, F = null) : q = F.sibling;
|
|
3406
|
-
var
|
|
3407
|
-
if (
|
|
3406
|
+
var V = E(O, F, T[z], P);
|
|
3407
|
+
if (V === null) {
|
|
3408
3408
|
F === null && (F = q);
|
|
3409
3409
|
break;
|
|
3410
3410
|
}
|
|
3411
|
-
e && F &&
|
|
3411
|
+
e && F && V.alternate === null && t(O, F), y = a(V, y, z), j === null ? $ = V : j.sibling = V, j = V, F = q;
|
|
3412
3412
|
}
|
|
3413
3413
|
if (z === T.length) return r(O, F), Ct && ls(O, z), $;
|
|
3414
3414
|
if (F === null) {
|
|
3415
|
-
for (; z < T.length; z++) F = m(O, T[z], P), F !== null && (y = a(F, y, z),
|
|
3415
|
+
for (; z < T.length; z++) F = m(O, T[z], P), F !== null && (y = a(F, y, z), j === null ? $ = F : j.sibling = F, j = F);
|
|
3416
3416
|
return Ct && ls(O, z), $;
|
|
3417
3417
|
}
|
|
3418
|
-
for (F = n(O, F); z < T.length; z++) q = v(F, O, z, T[z], P), q !== null && (e && q.alternate !== null && F.delete(q.key === null ? z : q.key), y = a(q, y, z),
|
|
3418
|
+
for (F = n(O, F); z < T.length; z++) q = v(F, O, z, T[z], P), q !== null && (e && q.alternate !== null && F.delete(q.key === null ? z : q.key), y = a(q, y, z), j === null ? $ = q : j.sibling = q, j = q);
|
|
3419
3419
|
return e && F.forEach(function(re) {
|
|
3420
3420
|
return t(O, re);
|
|
3421
3421
|
}), Ct && ls(O, z), $;
|
|
@@ -3424,24 +3424,24 @@ function ZT(e) {
|
|
|
3424
3424
|
var $ = cu(T);
|
|
3425
3425
|
if (typeof $ != "function") throw Error(te(150));
|
|
3426
3426
|
if (T = $.call(T), T == null) throw Error(te(151));
|
|
3427
|
-
for (var
|
|
3427
|
+
for (var j = $ = null, F = y, z = y = 0, q = null, V = T.next(); F !== null && !V.done; z++, V = T.next()) {
|
|
3428
3428
|
F.index > z ? (q = F, F = null) : q = F.sibling;
|
|
3429
|
-
var re = E(O, F,
|
|
3429
|
+
var re = E(O, F, V.value, P);
|
|
3430
3430
|
if (re === null) {
|
|
3431
3431
|
F === null && (F = q);
|
|
3432
3432
|
break;
|
|
3433
3433
|
}
|
|
3434
|
-
e && F && re.alternate === null && t(O, F), y = a(re, y, z),
|
|
3434
|
+
e && F && re.alternate === null && t(O, F), y = a(re, y, z), j === null ? $ = re : j.sibling = re, j = re, F = q;
|
|
3435
3435
|
}
|
|
3436
|
-
if (
|
|
3436
|
+
if (V.done) return r(
|
|
3437
3437
|
O,
|
|
3438
3438
|
F
|
|
3439
3439
|
), Ct && ls(O, z), $;
|
|
3440
3440
|
if (F === null) {
|
|
3441
|
-
for (; !
|
|
3441
|
+
for (; !V.done; z++, V = T.next()) V = m(O, V.value, P), V !== null && (y = a(V, y, z), j === null ? $ = V : j.sibling = V, j = V);
|
|
3442
3442
|
return Ct && ls(O, z), $;
|
|
3443
3443
|
}
|
|
3444
|
-
for (F = n(O, F); !
|
|
3444
|
+
for (F = n(O, F); !V.done; z++, V = T.next()) V = v(F, O, z, V.value, P), V !== null && (e && V.alternate !== null && F.delete(V.key === null ? z : V.key), y = a(V, y, z), j === null ? $ = V : j.sibling = V, j = V);
|
|
3445
3445
|
return e && F.forEach(function(Ee) {
|
|
3446
3446
|
return t(O, Ee);
|
|
3447
3447
|
}), Ct && ls(O, z), $;
|
|
@@ -3451,29 +3451,29 @@ function ZT(e) {
|
|
|
3451
3451
|
switch (T.$$typeof) {
|
|
3452
3452
|
case dd:
|
|
3453
3453
|
e: {
|
|
3454
|
-
for (var $ = T.key,
|
|
3455
|
-
if (
|
|
3454
|
+
for (var $ = T.key, j = y; j !== null; ) {
|
|
3455
|
+
if (j.key === $) {
|
|
3456
3456
|
if ($ = T.type, $ === Nl) {
|
|
3457
|
-
if (
|
|
3458
|
-
r(O,
|
|
3457
|
+
if (j.tag === 7) {
|
|
3458
|
+
r(O, j.sibling), y = i(j, T.props.children), y.return = O, O = y;
|
|
3459
3459
|
break e;
|
|
3460
3460
|
}
|
|
3461
|
-
} else if (
|
|
3462
|
-
r(O,
|
|
3461
|
+
} else if (j.elementType === $ || typeof $ == "object" && $ !== null && $.$$typeof === aa && zR($) === j.type) {
|
|
3462
|
+
r(O, j.sibling), y = i(j, T.props), y.ref = pu(O, j, T), y.return = O, O = y;
|
|
3463
3463
|
break e;
|
|
3464
3464
|
}
|
|
3465
|
-
r(O,
|
|
3465
|
+
r(O, j);
|
|
3466
3466
|
break;
|
|
3467
|
-
} else t(O,
|
|
3468
|
-
|
|
3467
|
+
} else t(O, j);
|
|
3468
|
+
j = j.sibling;
|
|
3469
3469
|
}
|
|
3470
3470
|
T.type === Nl ? (y = gs(T.props.children, O.mode, P, T.key), y.return = O, O = y) : (P = D1(T.type, T.key, T.props, null, O.mode, P), P.ref = pu(O, y, T), P.return = O, O = P);
|
|
3471
3471
|
}
|
|
3472
3472
|
return l(O);
|
|
3473
3473
|
case yl:
|
|
3474
3474
|
e: {
|
|
3475
|
-
for (
|
|
3476
|
-
if (y.key ===
|
|
3475
|
+
for (j = T.key; y !== null; ) {
|
|
3476
|
+
if (y.key === j) if (y.tag === 4 && y.stateNode.containerInfo === T.containerInfo && y.stateNode.implementation === T.implementation) {
|
|
3477
3477
|
r(O, y.sibling), y = i(y, T.children || []), y.return = O, O = y;
|
|
3478
3478
|
break e;
|
|
3479
3479
|
} else {
|
|
@@ -3487,7 +3487,7 @@ function ZT(e) {
|
|
|
3487
3487
|
}
|
|
3488
3488
|
return l(O);
|
|
3489
3489
|
case aa:
|
|
3490
|
-
return
|
|
3490
|
+
return j = T._init, D(O, y, j(T._payload), P);
|
|
3491
3491
|
}
|
|
3492
3492
|
if (bu(T)) return g(O, y, T, P);
|
|
3493
3493
|
if (cu(T)) return R(O, y, T, P);
|
|
@@ -7102,22 +7102,22 @@ bJ ? (Hd || (xN.f = m6, bN.f = E6, Fd(Su, "buffer"), Fd(Su, "byteOffset"), Fd(Su
|
|
|
7102
7102
|
R in _ || vu(_, R, u[R]);
|
|
7103
7103
|
}), _.prototype = f) : (_ = t(function(R, D, O, y) {
|
|
7104
7104
|
c6(R, f);
|
|
7105
|
-
var T = 0, P = 0, $,
|
|
7105
|
+
var T = 0, P = 0, $, j, F;
|
|
7106
7106
|
if (!$E(D))
|
|
7107
|
-
F = u6(D),
|
|
7107
|
+
F = u6(D), j = F * n, $ = new HN(j);
|
|
7108
7108
|
else if (h6(D)) {
|
|
7109
7109
|
$ = D, P = i3(O, n);
|
|
7110
7110
|
var z = D.byteLength;
|
|
7111
7111
|
if (y === void 0) {
|
|
7112
7112
|
if (z % n) throw new o3(a3);
|
|
7113
|
-
if (
|
|
7114
|
-
} else if (
|
|
7115
|
-
F =
|
|
7113
|
+
if (j = z - P, j < 0) throw new o3(a3);
|
|
7114
|
+
} else if (j = kJ(y) * n, j + P > z) throw new o3(a3);
|
|
7115
|
+
F = j / n;
|
|
7116
7116
|
} else return kE(D) ? _6(_, D) : l6(f6, _, D);
|
|
7117
7117
|
for (KJ(R, {
|
|
7118
7118
|
buffer: $,
|
|
7119
7119
|
byteOffset: P,
|
|
7120
|
-
byteLength:
|
|
7120
|
+
byteLength: j,
|
|
7121
7121
|
length: F,
|
|
7122
7122
|
view: new JJ($)
|
|
7123
7123
|
}); T < F; ) v(R, T++);
|
|
@@ -7595,7 +7595,7 @@ ane("replace", function(e, t, r) {
|
|
|
7595
7595
|
}
|
|
7596
7596
|
for (var R = "", D = 0, O = 0; O < E.length; O++) {
|
|
7597
7597
|
v = E[O];
|
|
7598
|
-
for (var y = sl(v[0]), T = vne(gne(fne(v.index), u.length), 0), P = [], $,
|
|
7598
|
+
for (var y = sl(v[0]), T = vne(gne(fne(v.index), u.length), 0), P = [], $, j = 1; j < v.length; j++) f3(P, Ine(v[j]));
|
|
7599
7599
|
var F = v.groups;
|
|
7600
7600
|
if (f) {
|
|
7601
7601
|
var z = Sne([y], P, T, u);
|
|
@@ -8622,7 +8622,7 @@ class bA {
|
|
|
8622
8622
|
var le = {}, nC = { exports: {} };
|
|
8623
8623
|
(function(e, t) {
|
|
8624
8624
|
(function(r, n) {
|
|
8625
|
-
var i = "1.0.38", a = "", l = "?", u = "function", _ = "undefined", f = "object", h = "string", m = "major", E = "model", v = "name", g = "type", R = "vendor", D = "version", O = "architecture", y = "console", T = "mobile", P = "tablet", $ = "smarttv",
|
|
8625
|
+
var i = "1.0.38", a = "", l = "?", u = "function", _ = "undefined", f = "object", h = "string", m = "major", E = "model", v = "name", g = "type", R = "vendor", D = "version", O = "architecture", y = "console", T = "mobile", P = "tablet", $ = "smarttv", j = "wearable", F = "embedded", z = 500, q = "Amazon", V = "Apple", re = "ASUS", Ee = "BlackBerry", $e = "Browser", Je = "Chrome", it = "Edge", Ze = "Firefox", We = "Google", ee = "Huawei", ce = "LG", ie = "Microsoft", fe = "Motorola", we = "Opera", Qt = "Samsung", Ht = "Sharp", ht = "Sony", bt = "Xiaomi", ur = "Zebra", Nn = "Facebook", Ni = "Chromium OS", qt = "Mac OS", ko = function(ye, Ye) {
|
|
8626
8626
|
var Se = {};
|
|
8627
8627
|
for (var Be in ye)
|
|
8628
8628
|
Ye[Be] && Ye[Be].length % 2 === 0 ? Se[Be] = Ye[Be].concat(ye[Be]) : Se[Be] = ye[Be];
|
|
@@ -8658,7 +8658,7 @@ var le = {}, nC = { exports: {} };
|
|
|
8658
8658
|
} else if (Fo(Ye[Se], ye))
|
|
8659
8659
|
return Se === l ? n : Se;
|
|
8660
8660
|
return ye;
|
|
8661
|
-
}, Gc = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, Vo = { 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" }, Hr = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [D, [v, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [D, [v, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [v, D], [/opios[\/ ]+([\w\.]+)/i], [D, [v, we + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [D, [v, we + " GX"]], [/\bopr\/([\w\.]+)/i], [D, [v, we]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [D, [v, "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], [v, D], [/\bddg\/([\w\.]+)/i], [D, [v, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [D, [v, "UC" + $e]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [D, [v, "WeChat"]], [/konqueror\/([\w\.]+)/i], [D, [v, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [D, [v, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [D, [v, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [D, [v, "Smart Lenovo " + $e]], [/(avast|avg)\/([\w\.]+)/i], [[v, /(.+)/, "$1 Secure " + $e], D], [/\bfocus\/([\w\.]+)/i], [D, [v, Ze + " Focus"]], [/\bopt\/([\w\.]+)/i], [D, [v, we + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [D, [v, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [D, [v, "Dolphin"]], [/coast\/([\w\.]+)/i], [D, [v, we + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [D, [v, "MIUI " + $e]], [/fxios\/([-\w\.]+)/i], [D, [v, Ze]], [/\bqihu|(qi?ho?o?|360)browser/i], [[v, "360 " + $e]], [/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i], [[v, /(.+)/, "$1 " + $e], D], [/samsungbrowser\/([\w\.]+)/i], [D, [v, Qt + " Internet"]], [/(comodo_dragon)\/([\w\.]+)/i], [[v, /_/g, " "], D], [/metasr[\/ ]?([\d\.]+)/i], [D, [v, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[v, "Sogou Mobile"], D], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i], [v, D], [/(lbbrowser)/i, /\[(linkedin)app\]/i], [v], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[v, Nn], 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], [v, D], [/\bgsa\/([\w\.]+) .*safari\//i], [D, [v, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [D, [v, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [D, [v, Je + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[v, Je + " WebView"], D], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [D, [v, "Android " + $e]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [v, D], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [D, [v, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [D, v], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [v, [D, Uo, Gc]], [/(webkit|khtml)\/([\w\.]+)/i], [v, D], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[v, "Netscape"], D], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [D, [v, Ze + " 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], [v, D], [/(cobalt)\/([\w\.]+)/i], [v, [D, /master.|lts./, ""]]], cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[O, "amd64"]], [/(ia32(?=;))/i], [[O, Ot]], [/((?:i[346]|x)86)[;\)]/i], [[O, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[O, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[O, "armhf"]], [/windows (ce|mobile); ppc;/i], [[O, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[O, /ower/, a, Ot]], [/(sun4\w)[;\)]/i], [[O, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[O, Ot]]], 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], [E, [R, Qt], [g, P]], [/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]([-\w]+)/i, /sec-(sgh\w+)/i], [E, [R, Qt], [g, T]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [E, [R, j], [g, T]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [E, [R, j], [g, P]], [/(macintosh);/i], [E, [R, j]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [E, [R, Ht], [g, T]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [E, [R, ee], [g, P]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [E, [R, ee], [g, T]], [/\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], [[E, /_/g, " "], [R, bt], [g, T]], [/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i, /\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[E, /_/g, " "], [R, bt], [g, P]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [E, [R, "OPPO"], [g, T]], [/\b(opd2\d{3}a?) bui/i], [E, [R, "OPPO"], [g, P]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [E, [R, "Vivo"], [g, T]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [E, [R, "Realme"], [g, T]], [/\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], [E, [R, fe], [g, T]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [E, [R, fe], [g, P]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [E, [R, ce], [g, P]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [E, [R, ce], [g, T]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [E, [R, "Lenovo"], [g, P]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[E, /_/g, " "], [R, "Nokia"], [g, T]], [/(pixel c)\b/i], [E, [R, We], [g, P]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [E, [R, We], [g, T]], [/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], [E, [R, ht], [g, T]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[E, "Xperia Tablet"], [R, ht], [g, P]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [E, [R, "OnePlus"], [g, T]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [E, [R, q], [g, P]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[E, /(.+)/g, "Fire Phone $1"], [R, q], [g, T]], [/(playbook);[-\w\),; ]+(rim)/i], [E, R, [g, P]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [E, [R, Ee], [g, T]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [E, [R, re], [g, P]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [E, [R, re], [g, T]], [/(nexus 9)/i], [E, [R, "HTC"], [g, P]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [R, [E, /_/g, " "], [g, T]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [E, [R, "Acer"], [g, P]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [E, [R, "Meizu"], [g, T]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [E, [R, "Ulefone"], [g, T]], [/(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], [R, E, [g, T]], [/(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], [R, E, [g, P]], [/(surface duo)/i], [E, [R, ie], [g, P]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [E, [R, "Fairphone"], [g, T]], [/(u304aa)/i], [E, [R, "AT&T"], [g, T]], [/\bsie-(\w*)/i], [E, [R, "Siemens"], [g, T]], [/\b(rct\w+) b/i], [E, [R, "RCA"], [g, P]], [/\b(venue[\d ]{2,7}) b/i], [E, [R, "Dell"], [g, P]], [/\b(q(?:mv|ta)\w+) b/i], [E, [R, "Verizon"], [g, P]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [E, [R, "Barnes & Noble"], [g, P]], [/\b(tm\d{3}\w+) b/i], [E, [R, "NuVision"], [g, P]], [/\b(k88) b/i], [E, [R, "ZTE"], [g, P]], [/\b(nx\d{3}j) b/i], [E, [R, "ZTE"], [g, T]], [/\b(gen\d{3}) b.+49h/i], [E, [R, "Swiss"], [g, T]], [/\b(zur\d{3}) b/i], [E, [R, "Swiss"], [g, P]], [/\b((zeki)?tb.*\b) b/i], [E, [R, "Zeki"], [g, P]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[R, "Dragon Touch"], E, [g, P]], [/\b(ns-?\w{0,9}) b/i], [E, [R, "Insignia"], [g, P]], [/\b((nxa|next)-?\w{0,9}) b/i], [E, [R, "NextBook"], [g, P]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[R, "Voice"], E, [g, T]], [/\b(lvtel\-)?(v1[12]) b/i], [[R, "LvTel"], E, [g, T]], [/\b(ph-1) /i], [E, [R, "Essential"], [g, T]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [E, [R, "Envizen"], [g, P]], [/\b(trio[-\w\. ]+) b/i], [E, [R, "MachSpeed"], [g, P]], [/\btu_(1491) b/i], [E, [R, "Rotor"], [g, P]], [/(shield[\w ]+) b/i], [E, [R, "Nvidia"], [g, P]], [/(sprint) (\w+)/i], [R, E, [g, T]], [/(kin\.[onetw]{3})/i], [[E, /\./g, " "], [R, ie], [g, T]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [E, [R, ur], [g, P]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [E, [R, ur], [g, T]], [/smart-tv.+(samsung)/i], [R, [g, $]], [/hbbtv.+maple;(\d+)/i], [[E, /^/, "SmartTV"], [R, Qt], [g, $]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[R, ce], [g, $]], [/(apple) ?tv/i], [R, [E, j + " TV"], [g, $]], [/crkey/i], [[E, Je + "cast"], [R, We], [g, $]], [/droid.+aft(\w+)( bui|\))/i], [E, [R, q], [g, $]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [E, [R, Ht], [g, $]], [/(bravia[\w ]+)( bui|\))/i], [E, [R, ht], [g, $]], [/(mitv-\w{5}) bui/i], [E, [R, bt], [g, $]], [/Hbbtv.*(technisat) (.*);/i], [R, E, [g, $]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[R, Ga], [E, Ga], [g, $]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[g, $]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [R, E, [g, y]], [/droid.+; (shield) bui/i], [E, [R, "Nvidia"], [g, y]], [/(playstation [345portablevi]+)/i], [E, [R, ht], [g, y]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [E, [R, ie], [g, y]], [/((pebble))app/i], [R, E, [g, B]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [E, [R, j], [g, B]], [/droid.+; (glass) \d/i], [E, [R, We], [g, B]], [/droid.+; (wt63?0{2,3})\)/i], [E, [R, ur], [g, B]], [/(quest( \d| pro)?)/i], [E, [R, Nn], [g, B]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [R, [g, F]], [/(aeobc)\b/i], [E, [R, q], [g, F]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [E, [g, T]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [E, [g, P]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[g, P]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[g, T]], [/(android[-\w\. ]{0,9});.+buil/i], [E, [R, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [D, [v, it + "HTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [D, [v, "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], [v, D], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [D, v]], os: [[/microsoft (windows) (vista|xp)/i], [v, D], [/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i], [v, [D, Uo, Vo]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[D, Uo, Vo], [v, "Windows"]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[D, /_/g, "."], [v, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[v, qt], [D, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [D, v], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [v, D], [/\(bb(10);/i], [D, [v, Ee]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [D, [v, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [D, [v, Ze + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [D, [v, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [D, [v, "watchOS"]], [/crkey\/([\d\.]+)/i], [D, [v, Je + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[v, Ni], 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], [v, D], [/(sunos) ?([\w\.\d]*)/i], [[v, "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], [v, D]] }, Jt = function(ye, Ye) {
|
|
8661
|
+
}, Gc = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, Vo = { 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" }, Hr = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [D, [v, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [D, [v, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [v, D], [/opios[\/ ]+([\w\.]+)/i], [D, [v, we + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [D, [v, we + " GX"]], [/\bopr\/([\w\.]+)/i], [D, [v, we]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [D, [v, "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], [v, D], [/\bddg\/([\w\.]+)/i], [D, [v, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [D, [v, "UC" + $e]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [D, [v, "WeChat"]], [/konqueror\/([\w\.]+)/i], [D, [v, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [D, [v, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [D, [v, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [D, [v, "Smart Lenovo " + $e]], [/(avast|avg)\/([\w\.]+)/i], [[v, /(.+)/, "$1 Secure " + $e], D], [/\bfocus\/([\w\.]+)/i], [D, [v, Ze + " Focus"]], [/\bopt\/([\w\.]+)/i], [D, [v, we + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [D, [v, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [D, [v, "Dolphin"]], [/coast\/([\w\.]+)/i], [D, [v, we + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [D, [v, "MIUI " + $e]], [/fxios\/([-\w\.]+)/i], [D, [v, Ze]], [/\bqihu|(qi?ho?o?|360)browser/i], [[v, "360 " + $e]], [/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i], [[v, /(.+)/, "$1 " + $e], D], [/samsungbrowser\/([\w\.]+)/i], [D, [v, Qt + " Internet"]], [/(comodo_dragon)\/([\w\.]+)/i], [[v, /_/g, " "], D], [/metasr[\/ ]?([\d\.]+)/i], [D, [v, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[v, "Sogou Mobile"], D], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i], [v, D], [/(lbbrowser)/i, /\[(linkedin)app\]/i], [v], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[v, Nn], 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], [v, D], [/\bgsa\/([\w\.]+) .*safari\//i], [D, [v, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [D, [v, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [D, [v, Je + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[v, Je + " WebView"], D], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [D, [v, "Android " + $e]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [v, D], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [D, [v, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [D, v], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [v, [D, Uo, Gc]], [/(webkit|khtml)\/([\w\.]+)/i], [v, D], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[v, "Netscape"], D], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [D, [v, Ze + " 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], [v, D], [/(cobalt)\/([\w\.]+)/i], [v, [D, /master.|lts./, ""]]], cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[O, "amd64"]], [/(ia32(?=;))/i], [[O, Ot]], [/((?:i[346]|x)86)[;\)]/i], [[O, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[O, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[O, "armhf"]], [/windows (ce|mobile); ppc;/i], [[O, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[O, /ower/, a, Ot]], [/(sun4\w)[;\)]/i], [[O, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[O, Ot]]], 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], [E, [R, Qt], [g, P]], [/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]([-\w]+)/i, /sec-(sgh\w+)/i], [E, [R, Qt], [g, T]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [E, [R, V], [g, T]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [E, [R, V], [g, P]], [/(macintosh);/i], [E, [R, V]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [E, [R, Ht], [g, T]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [E, [R, ee], [g, P]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [E, [R, ee], [g, T]], [/\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], [[E, /_/g, " "], [R, bt], [g, T]], [/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i, /\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[E, /_/g, " "], [R, bt], [g, P]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [E, [R, "OPPO"], [g, T]], [/\b(opd2\d{3}a?) bui/i], [E, [R, "OPPO"], [g, P]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [E, [R, "Vivo"], [g, T]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [E, [R, "Realme"], [g, T]], [/\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], [E, [R, fe], [g, T]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [E, [R, fe], [g, P]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [E, [R, ce], [g, P]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [E, [R, ce], [g, T]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [E, [R, "Lenovo"], [g, P]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[E, /_/g, " "], [R, "Nokia"], [g, T]], [/(pixel c)\b/i], [E, [R, We], [g, P]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [E, [R, We], [g, T]], [/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], [E, [R, ht], [g, T]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[E, "Xperia Tablet"], [R, ht], [g, P]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [E, [R, "OnePlus"], [g, T]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [E, [R, q], [g, P]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[E, /(.+)/g, "Fire Phone $1"], [R, q], [g, T]], [/(playbook);[-\w\),; ]+(rim)/i], [E, R, [g, P]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [E, [R, Ee], [g, T]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [E, [R, re], [g, P]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [E, [R, re], [g, T]], [/(nexus 9)/i], [E, [R, "HTC"], [g, P]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [R, [E, /_/g, " "], [g, T]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [E, [R, "Acer"], [g, P]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [E, [R, "Meizu"], [g, T]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [E, [R, "Ulefone"], [g, T]], [/(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], [R, E, [g, T]], [/(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], [R, E, [g, P]], [/(surface duo)/i], [E, [R, ie], [g, P]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [E, [R, "Fairphone"], [g, T]], [/(u304aa)/i], [E, [R, "AT&T"], [g, T]], [/\bsie-(\w*)/i], [E, [R, "Siemens"], [g, T]], [/\b(rct\w+) b/i], [E, [R, "RCA"], [g, P]], [/\b(venue[\d ]{2,7}) b/i], [E, [R, "Dell"], [g, P]], [/\b(q(?:mv|ta)\w+) b/i], [E, [R, "Verizon"], [g, P]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [E, [R, "Barnes & Noble"], [g, P]], [/\b(tm\d{3}\w+) b/i], [E, [R, "NuVision"], [g, P]], [/\b(k88) b/i], [E, [R, "ZTE"], [g, P]], [/\b(nx\d{3}j) b/i], [E, [R, "ZTE"], [g, T]], [/\b(gen\d{3}) b.+49h/i], [E, [R, "Swiss"], [g, T]], [/\b(zur\d{3}) b/i], [E, [R, "Swiss"], [g, P]], [/\b((zeki)?tb.*\b) b/i], [E, [R, "Zeki"], [g, P]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[R, "Dragon Touch"], E, [g, P]], [/\b(ns-?\w{0,9}) b/i], [E, [R, "Insignia"], [g, P]], [/\b((nxa|next)-?\w{0,9}) b/i], [E, [R, "NextBook"], [g, P]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[R, "Voice"], E, [g, T]], [/\b(lvtel\-)?(v1[12]) b/i], [[R, "LvTel"], E, [g, T]], [/\b(ph-1) /i], [E, [R, "Essential"], [g, T]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [E, [R, "Envizen"], [g, P]], [/\b(trio[-\w\. ]+) b/i], [E, [R, "MachSpeed"], [g, P]], [/\btu_(1491) b/i], [E, [R, "Rotor"], [g, P]], [/(shield[\w ]+) b/i], [E, [R, "Nvidia"], [g, P]], [/(sprint) (\w+)/i], [R, E, [g, T]], [/(kin\.[onetw]{3})/i], [[E, /\./g, " "], [R, ie], [g, T]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [E, [R, ur], [g, P]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [E, [R, ur], [g, T]], [/smart-tv.+(samsung)/i], [R, [g, $]], [/hbbtv.+maple;(\d+)/i], [[E, /^/, "SmartTV"], [R, Qt], [g, $]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[R, ce], [g, $]], [/(apple) ?tv/i], [R, [E, V + " TV"], [g, $]], [/crkey/i], [[E, Je + "cast"], [R, We], [g, $]], [/droid.+aft(\w+)( bui|\))/i], [E, [R, q], [g, $]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [E, [R, Ht], [g, $]], [/(bravia[\w ]+)( bui|\))/i], [E, [R, ht], [g, $]], [/(mitv-\w{5}) bui/i], [E, [R, bt], [g, $]], [/Hbbtv.*(technisat) (.*);/i], [R, E, [g, $]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[R, Ga], [E, Ga], [g, $]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[g, $]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [R, E, [g, y]], [/droid.+; (shield) bui/i], [E, [R, "Nvidia"], [g, y]], [/(playstation [345portablevi]+)/i], [E, [R, ht], [g, y]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [E, [R, ie], [g, y]], [/((pebble))app/i], [R, E, [g, j]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [E, [R, V], [g, j]], [/droid.+; (glass) \d/i], [E, [R, We], [g, j]], [/droid.+; (wt63?0{2,3})\)/i], [E, [R, ur], [g, j]], [/(quest( \d| pro)?)/i], [E, [R, Nn], [g, j]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [R, [g, F]], [/(aeobc)\b/i], [E, [R, q], [g, F]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [E, [g, T]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [E, [g, P]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[g, P]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[g, T]], [/(android[-\w\. ]{0,9});.+buil/i], [E, [R, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [D, [v, it + "HTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [D, [v, "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], [v, D], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [D, v]], os: [[/microsoft (windows) (vista|xp)/i], [v, D], [/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i], [v, [D, Uo, Vo]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[D, Uo, Vo], [v, "Windows"]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[D, /_/g, "."], [v, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[v, qt], [D, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [D, v], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [v, D], [/\(bb(10);/i], [D, [v, Ee]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [D, [v, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [D, [v, Ze + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [D, [v, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [D, [v, "watchOS"]], [/crkey\/([\d\.]+)/i], [D, [v, Je + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[v, Ni], 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], [v, D], [/(sunos) ?([\w\.\d]*)/i], [[v, "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], [v, D]] }, Jt = function(ye, Ye) {
|
|
8662
8662
|
if (typeof ye === f && (Ye = ye, ye = n), !(this instanceof Jt))
|
|
8663
8663
|
return new Jt(ye, Ye).getResult();
|
|
8664
8664
|
var Se = typeof r !== _ && r.navigator ? r.navigator : n, Be = ye || (Se && Se.userAgent ? Se.userAgent : a), nn = Se && Se.userAgentData ? Se.userAgentData : n, kr = Ye ? ko(Hr, Ye) : Hr, je = Se && Se.userAgent == Be;
|
|
@@ -8685,7 +8685,7 @@ var le = {}, nC = { exports: {} };
|
|
|
8685
8685
|
return Be = typeof ge === h && ge.length > z ? Ga(ge, z) : ge, this;
|
|
8686
8686
|
}, this.setUA(Be), this;
|
|
8687
8687
|
};
|
|
8688
|
-
Jt.VERSION = i, Jt.BROWSER = ai([v, D, m]), Jt.CPU = ai([O]), Jt.DEVICE = ai([E, R, g, y, T, $, P,
|
|
8688
|
+
Jt.VERSION = i, Jt.BROWSER = ai([v, D, m]), Jt.CPU = ai([O]), Jt.DEVICE = ai([E, R, g, y, T, $, P, j, F]), Jt.ENGINE = Jt.OS = ai([v, D]), e.exports && (t = e.exports = Jt), t.UAParser = Jt;
|
|
8689
8689
|
var si = typeof r !== _ && (r.jQuery || r.Zepto);
|
|
8690
8690
|
if (si && !si.ua) {
|
|
8691
8691
|
var Vs = new Jt();
|
|
@@ -9962,11 +9962,11 @@ function YL(e) {
|
|
|
9962
9962
|
camera: D,
|
|
9963
9963
|
sortedDevices: O,
|
|
9964
9964
|
onPlay: y
|
|
9965
|
-
} = Use(n, i, u), T = Q.useRef(null), P = Q.useRef(null), $ = (D == null ? void 0 : D.facing) === gn.environment || E === o9.noMirror ? 1 : -1,
|
|
9965
|
+
} = Use(n, i, u), T = Q.useRef(null), P = Q.useRef(null), $ = (D == null ? void 0 : D.facing) === gn.environment || E === o9.noMirror ? 1 : -1, j = a ? -$ : $, F = () => {
|
|
9966
9966
|
y(), h == null || h();
|
|
9967
9967
|
};
|
|
9968
9968
|
return Q.useEffect(() => {
|
|
9969
|
-
const z = T.current, q = P.current,
|
|
9969
|
+
const z = T.current, q = P.current, V = () => {
|
|
9970
9970
|
!z || !q || r == null || r({
|
|
9971
9971
|
videoElement: z,
|
|
9972
9972
|
videoParams: {
|
|
@@ -9979,16 +9979,16 @@ function YL(e) {
|
|
|
9979
9979
|
}
|
|
9980
9980
|
});
|
|
9981
9981
|
};
|
|
9982
|
-
return z && (window.addEventListener("resize",
|
|
9982
|
+
return z && (window.addEventListener("resize", V), z.addEventListener("resize", V)), () => {
|
|
9983
9983
|
var re;
|
|
9984
|
-
z && (window.removeEventListener("resize",
|
|
9984
|
+
z && (window.removeEventListener("resize", V), z.removeEventListener("resize", V)), (re = v.current) === null || re === void 0 || re.stopRecord();
|
|
9985
9985
|
};
|
|
9986
9986
|
}, []), Q.useEffect(() => {
|
|
9987
9987
|
const z = T.current;
|
|
9988
9988
|
if (g === st.READY && z && R && (z.srcObject = R, kL ? setTimeout(() => z.play(), Bte) : z.play(), f)) {
|
|
9989
9989
|
if (v.current) {
|
|
9990
|
-
var
|
|
9991
|
-
(
|
|
9990
|
+
var V;
|
|
9991
|
+
(V = v.current) === null || V === void 0 || V.stopRecord();
|
|
9992
9992
|
} else {
|
|
9993
9993
|
const Ee = new Zse();
|
|
9994
9994
|
typeof f != "boolean" && (Ee.delay = f.delay || 0, Ee.duration = f.duration, Ee.debug = !!f.debug), v.current = Ee, _ == null || _(Ee);
|
|
@@ -10002,7 +10002,7 @@ function YL(e) {
|
|
|
10002
10002
|
sortedDevices: O
|
|
10003
10003
|
});
|
|
10004
10004
|
}, [g, D, R, O, f]), /* @__PURE__ */ p.jsx("div", { ref: P, className: BA.container, children: /* @__PURE__ */ p.jsx("video", { onAbort: m, onLoadedData: F, className: BA.video, style: {
|
|
10005
|
-
transform: "scaleX(".concat(
|
|
10005
|
+
transform: "scaleX(".concat(j, ")")
|
|
10006
10006
|
}, ref: T, playsInline: !0 }) });
|
|
10007
10007
|
}
|
|
10008
10008
|
const Wse = "_container_1i3sj_1", Yse = "_layout_1i3sj_14", Kse = "_svg_1i3sj_19", Qse = "_icon_1i3sj_40", qse = "_message_1i3sj_28", Xse = "_title_1i3sj_73", Jse = "_subtitle_1i3sj_80", ele = "_flip_1i3sj_223", tle = "_front_1i3sj_237", rle = "_back_1i3sj_238", nle = "_loader_1i3sj_307", _t = {
|
|
@@ -11580,13 +11580,13 @@ var _C = { exports: {} };
|
|
|
11580
11580
|
if (!R || Object.keys(R).length === 0) return g;
|
|
11581
11581
|
var D, O, y, T = g.match(f);
|
|
11582
11582
|
return T && T.length !== 0 ? (D = T, O = R, y = Object.keys(O), D.map(function(P) {
|
|
11583
|
-
var $ = Array.prototype.slice.call(P, 2, -2).join(""),
|
|
11583
|
+
var $ = Array.prototype.slice.call(P, 2, -2).join(""), j = y.find(function(F) {
|
|
11584
11584
|
return F === $;
|
|
11585
11585
|
});
|
|
11586
|
-
return
|
|
11586
|
+
return j ? [P, O[j]] : (console.warn(_, P), [P, P]);
|
|
11587
11587
|
})).reduce(function(P, $) {
|
|
11588
|
-
var
|
|
11589
|
-
return P.replace(
|
|
11588
|
+
var j = new RegExp($[0], "gi");
|
|
11589
|
+
return P.replace(j, $[1]);
|
|
11590
11590
|
}, g) : g;
|
|
11591
11591
|
}
|
|
11592
11592
|
var m = i.createContext(), E = m.Consumer;
|
|
@@ -11594,30 +11594,30 @@ var _C = { exports: {} };
|
|
|
11594
11594
|
return n.useContext(m);
|
|
11595
11595
|
}
|
|
11596
11596
|
r.LocalizationConsumer = E, r.LocalizationContext = m, r.LocalizationProvider = function(g) {
|
|
11597
|
-
var R = g.children, D = g.disableCache, O = g.locale, y = g.translations, T = y === void 0 ? {} : y, P = function(q,
|
|
11597
|
+
var R = g.children, D = g.disableCache, O = g.locale, y = g.translations, T = y === void 0 ? {} : y, P = function(q, V) {
|
|
11598
11598
|
if (!q) return null;
|
|
11599
|
-
if (a(
|
|
11599
|
+
if (a(V[q]) === "object") return q;
|
|
11600
11600
|
var re = q.toLowerCase().replace(/-/g, "_");
|
|
11601
|
-
if (a(
|
|
11601
|
+
if (a(V[re]) === "object") return re;
|
|
11602
11602
|
var Ee = re.split("_")[0];
|
|
11603
|
-
return a(
|
|
11603
|
+
return a(V[Ee]) === "object" ? Ee : (console.warn(u, q), q);
|
|
11604
11604
|
}(O, T), $ = P ? T[P] : T;
|
|
11605
|
-
function
|
|
11605
|
+
function j(q, V, re) {
|
|
11606
11606
|
if (!$ || !q) return re || q;
|
|
11607
11607
|
var Ee = typeof re == "string" ? re : q, $e = $[q];
|
|
11608
|
-
if (typeof $e == "string") return
|
|
11608
|
+
if (typeof $e == "string") return V ? h($e, V) : $e;
|
|
11609
11609
|
var Je = q.split(".");
|
|
11610
|
-
if (Je.length === 1) return h(Ee,
|
|
11610
|
+
if (Je.length === 1) return h(Ee, V);
|
|
11611
11611
|
for (var it = $[Je[0]], Ze = 1; Ze < Je.length; Ze++) it = it && it[Je[Ze]];
|
|
11612
|
-
return h(typeof it == "string" ? it : Ee,
|
|
11612
|
+
return h(typeof it == "string" ? it : Ee, V);
|
|
11613
11613
|
}
|
|
11614
11614
|
n.useEffect(function() {
|
|
11615
11615
|
l = {};
|
|
11616
11616
|
}, [O, T]);
|
|
11617
|
-
var F, z = D ?
|
|
11618
|
-
var Ee = 2 < arguments.length && re !== void 0 ? re : "", $e =
|
|
11617
|
+
var F, z = D ? j : (F = j, function(q, V, re) {
|
|
11618
|
+
var Ee = 2 < arguments.length && re !== void 0 ? re : "", $e = V ? JSON.stringify(V, null, "") + q + Ee : q + Ee;
|
|
11619
11619
|
if (l[$e]) return l[$e];
|
|
11620
|
-
var Je = F(q,
|
|
11620
|
+
var Je = F(q, V, Ee);
|
|
11621
11621
|
return l[$e] = Je;
|
|
11622
11622
|
});
|
|
11623
11623
|
return i.createElement(m.Provider, { value: { locale: O, translate: z, translations: T } }, R);
|
|
@@ -11662,12 +11662,12 @@ function Xle(e) {
|
|
|
11662
11662
|
statusBackgroundColor: v = wte
|
|
11663
11663
|
} = cr(), g = Q.useRef(null), R = Q.useRef(null), D = Q.useRef(null), O = Q.useRef(null), {
|
|
11664
11664
|
translate: y
|
|
11665
|
-
} = Ba.useLocalize(), T = "".concat(_t.title, " ").concat(i ? "" : _t["message-text"]), P = l ? l[0] : 11, $ = l ? l[1] : 12,
|
|
11665
|
+
} = Ba.useLocalize(), T = "".concat(_t.title, " ").concat(i ? "" : _t["message-text"]), P = l ? l[0] : 11, $ = l ? l[1] : 12, j = Qd[P] || Qd[11], F = Qd[$] || Qd[12];
|
|
11666
11666
|
Q.useEffect(() => {
|
|
11667
|
-
const
|
|
11668
|
-
if (!a || !
|
|
11667
|
+
const V = R.current, re = O.current;
|
|
11668
|
+
if (!a || !V || (V.style.width = "".concat(a.width, "px"), V.style.height = "".concat(a.height, "px"), V.style.top = "".concat(a.top, "px"), V.style.left = "".concat(a.left, "px"), !re || m === void 0)) return;
|
|
11669
11669
|
const Ee = re.clientHeight;
|
|
11670
|
-
|
|
11670
|
+
V.style.setProperty("--message-container-height", "100%"), V.style.setProperty("--message-margin-top", "0px"), V.style.setProperty("--message-top", "".concat((a.height - Ee) / 2 * m, "px"));
|
|
11671
11671
|
}, [m, a]);
|
|
11672
11672
|
const z = u && a == null, q = [_t["tips-container"], z ? _t["tips-frameless"] : ""];
|
|
11673
11673
|
return /* @__PURE__ */ p.jsx("div", { ref: R, className: q.join(" "), children: /* @__PURE__ */ p.jsx(ng, { children: /* @__PURE__ */ p.jsx(rg, { nodeRef: t ? g : D, classNames: {
|
|
@@ -11676,7 +11676,7 @@ function Xle(e) {
|
|
|
11676
11676
|
exit: _t["fade-exit"],
|
|
11677
11677
|
exitActive: _t["fade-exit-active"]
|
|
11678
11678
|
}, timeout: 300, children: t ? /* @__PURE__ */ p.jsxs("div", { ref: g, className: _t.flip, children: [
|
|
11679
|
-
/* @__PURE__ */ p.jsx("div", { className: _t.front, children: _ ? /* @__PURE__ */ p.jsx("img", { src: _, alt: "Flip icon" }) : /* @__PURE__ */ p.jsx(mn, { type:
|
|
11679
|
+
/* @__PURE__ */ p.jsx("div", { className: _t.front, children: _ ? /* @__PURE__ */ p.jsx("img", { src: _, alt: "Flip icon" }) : /* @__PURE__ */ p.jsx(mn, { type: j }) }),
|
|
11680
11680
|
/* @__PURE__ */ p.jsx("div", { className: _t.back, children: f ? /* @__PURE__ */ p.jsx("img", { src: f, alt: "Flip icon" }) : /* @__PURE__ */ p.jsx(mn, { type: F }) })
|
|
11681
11681
|
] }) : /* @__PURE__ */ p.jsxs("div", { ref: D, className: _t["message-container"], children: [
|
|
11682
11682
|
h && /* @__PURE__ */ p.jsx("div", { className: _t.icon, children: /* @__PURE__ */ p.jsx(mn, { type: r }) }),
|
|
@@ -11807,7 +11807,7 @@ function XL(e) {
|
|
|
11807
11807
|
cameraFrame: y = !0,
|
|
11808
11808
|
cameraFrameDefaultColor: T = Nte,
|
|
11809
11809
|
cameraFrameActiveColor: P = Lte
|
|
11810
|
-
} = cr(), $ = Q.useRef(null), [
|
|
11810
|
+
} = cr(), $ = Q.useRef(null), [j, F] = Q.useState(!1), [z, q] = Q.useState(null), [V, re] = Q.useState(null), Ee = !!(u.sortedDevices && u.sortedDevices.frontCameras.length + u.sortedDevices.backCameras.length > jte), Je = t === De.HOLD || t === De.FOCUS || t === De.RESOLUTION || t === De.PROCESSING || t === De.GLARE ? P : T, it = u.videoStatus === st.PLAY, {
|
|
11811
11811
|
icon: Ze,
|
|
11812
11812
|
title: We,
|
|
11813
11813
|
subtitle: ee
|
|
@@ -11830,28 +11830,28 @@ function XL(e) {
|
|
|
11830
11830
|
left: ht
|
|
11831
11831
|
});
|
|
11832
11832
|
}, [_, it, r]), Q.useEffect(() => {
|
|
11833
|
-
if (!g || !
|
|
11833
|
+
if (!g || !V) return;
|
|
11834
11834
|
const fe = g.frameRight - g.frameLeft, we = g.frameBottom - g.frameTop;
|
|
11835
|
-
if (!(
|
|
11835
|
+
if (!(V.width && V.height) || !(fe && we)) return;
|
|
11836
11836
|
const {
|
|
11837
11837
|
width: ht,
|
|
11838
11838
|
height: bt,
|
|
11839
11839
|
left: ur,
|
|
11840
11840
|
top: Nn
|
|
11841
|
-
} = VA(_.videoParams.width, _.videoParams.height,
|
|
11841
|
+
} = VA(_.videoParams.width, _.videoParams.height, V.width, V.height, fe, we, g.frameLeft, g.frameTop, pp.contain);
|
|
11842
11842
|
q({
|
|
11843
11843
|
width: ht,
|
|
11844
11844
|
height: bt,
|
|
11845
11845
|
top: Nn,
|
|
11846
|
-
left: i ? ur :
|
|
11846
|
+
left: i ? ur : V.width - (ur + ht),
|
|
11847
11847
|
stroke: O
|
|
11848
11848
|
});
|
|
11849
|
-
}, [
|
|
11849
|
+
}, [V, g, _.videoParams, i, O]), /* @__PURE__ */ p.jsxs("div", { className: _t.container, children: [
|
|
11850
11850
|
n,
|
|
11851
11851
|
r && it ? /* @__PURE__ */ p.jsxs("div", { ref: $, className: _t.layout, children: [
|
|
11852
|
-
y && z &&
|
|
11852
|
+
y && z && V && /* @__PURE__ */ p.jsx(ale, { layoutParams: V, maskParams: z, borderColor: Je }),
|
|
11853
11853
|
/* @__PURE__ */ p.jsx(Xle, { isNextPage: ce, title: We, subtitle: ee, icon: Ze, maskParams: z, isLandscape: ie, animationImage: D }),
|
|
11854
|
-
/* @__PURE__ */ p.jsx(Jle, { mirroring: i, captureButton: R, facing: u.camera.facing, isLandscape: ie, isSkipButtonVisible:
|
|
11854
|
+
/* @__PURE__ */ p.jsx(Jle, { mirroring: i, captureButton: R, facing: u.camera.facing, isLandscape: ie, isSkipButtonVisible: j, isChangeCameraAvailable: Ee, onClose: f, onChangeCamera: l, onChangeMirroring: a, onSnapshotProcess: m, onCameraSnapshot: E, onSkip: v })
|
|
11855
11855
|
] }) : /* @__PURE__ */ p.jsx(ig, { onClose: h, className: _t.loader, children: /* @__PURE__ */ p.jsx(s_, {}) })
|
|
11856
11856
|
] });
|
|
11857
11857
|
}
|
|
@@ -13200,8 +13200,8 @@ const Wue = (e) => oe(void 0, null, function* () {
|
|
|
13200
13200
|
method: "POST",
|
|
13201
13201
|
body: n,
|
|
13202
13202
|
duplex: "half"
|
|
13203
|
-
}),
|
|
13204
|
-
if (Z.isFormData(n) && (
|
|
13203
|
+
}), j;
|
|
13204
|
+
if (Z.isFormData(n) && (j = $.headers.get("content-type")) && h.setContentType(j), $.body) {
|
|
13205
13205
|
const [F, z] = iD(
|
|
13206
13206
|
D,
|
|
13207
13207
|
Dp(oD(_))
|
|
@@ -13226,8 +13226,8 @@ const Wue = (e) => oe(void 0, null, function* () {
|
|
|
13226
13226
|
["status", "statusText", "headers"].forEach((q) => {
|
|
13227
13227
|
$[q] = y[q];
|
|
13228
13228
|
});
|
|
13229
|
-
const
|
|
13230
|
-
|
|
13229
|
+
const j = Z.toFiniteNumber(y.headers.get("content-length")), [F, z] = u && iD(
|
|
13230
|
+
j,
|
|
13231
13231
|
Dp(oD(u), !0)
|
|
13232
13232
|
) || [];
|
|
13233
13233
|
y = new Response(
|
|
@@ -13239,8 +13239,8 @@ const Wue = (e) => oe(void 0, null, function* () {
|
|
|
13239
13239
|
}
|
|
13240
13240
|
f = f || "text";
|
|
13241
13241
|
let P = yield Op[Z.findKey(Op, f) || "text"](y, e);
|
|
13242
|
-
return !T && R && R(), yield new Promise(($,
|
|
13243
|
-
mw($,
|
|
13242
|
+
return !T && R && R(), yield new Promise(($, j) => {
|
|
13243
|
+
mw($, j, {
|
|
13244
13244
|
data: P,
|
|
13245
13245
|
headers: en.from(y.headers),
|
|
13246
13246
|
status: y.status,
|
|
@@ -14501,27 +14501,27 @@ hg.prototype.onEnd = function(e) {
|
|
|
14501
14501
|
};
|
|
14502
14502
|
const Jd = 16209, b_e = 16191;
|
|
14503
14503
|
var x_e = function(t, r) {
|
|
14504
|
-
let n, i, a, l, u, _, f, h, m, E, v, g, R, D, O, y, T, P, $,
|
|
14504
|
+
let n, i, a, l, u, _, f, h, m, E, v, g, R, D, O, y, T, P, $, j, F, z, q, V;
|
|
14505
14505
|
const re = t.state;
|
|
14506
|
-
n = t.next_in, q = t.input, i = n + (t.avail_in - 5), a = t.next_out,
|
|
14506
|
+
n = t.next_in, q = t.input, i = n + (t.avail_in - 5), a = t.next_out, V = t.output, l = a - (r - t.avail_out), u = a + (t.avail_out - 257), _ = re.dmax, f = re.wsize, h = re.whave, m = re.wnext, E = re.window, v = re.hold, g = re.bits, R = re.lencode, D = re.distcode, O = (1 << re.lenbits) - 1, y = (1 << re.distbits) - 1;
|
|
14507
14507
|
e:
|
|
14508
14508
|
do {
|
|
14509
14509
|
g < 15 && (v += q[n++] << g, g += 8, v += q[n++] << g, g += 8), T = R[v & O];
|
|
14510
14510
|
t:
|
|
14511
14511
|
for (; ; ) {
|
|
14512
14512
|
if (P = T >>> 24, v >>>= P, g -= P, P = T >>> 16 & 255, P === 0)
|
|
14513
|
-
|
|
14513
|
+
V[a++] = T & 65535;
|
|
14514
14514
|
else if (P & 16) {
|
|
14515
14515
|
$ = T & 65535, P &= 15, P && (g < P && (v += q[n++] << g, g += 8), $ += v & (1 << P) - 1, v >>>= P, g -= P), g < 15 && (v += q[n++] << g, g += 8, v += q[n++] << g, g += 8), T = D[v & y];
|
|
14516
14516
|
r:
|
|
14517
14517
|
for (; ; ) {
|
|
14518
14518
|
if (P = T >>> 24, v >>>= P, g -= P, P = T >>> 16 & 255, P & 16) {
|
|
14519
|
-
if (
|
|
14519
|
+
if (j = T & 65535, P &= 15, g < P && (v += q[n++] << g, g += 8, g < P && (v += q[n++] << g, g += 8)), j += v & (1 << P) - 1, j > _) {
|
|
14520
14520
|
t.msg = "invalid distance too far back", re.mode = Jd;
|
|
14521
14521
|
break e;
|
|
14522
14522
|
}
|
|
14523
|
-
if (v >>>= P, g -= P, P = a - l,
|
|
14524
|
-
if (P =
|
|
14523
|
+
if (v >>>= P, g -= P, P = a - l, j > P) {
|
|
14524
|
+
if (P = j - P, P > h && re.sane) {
|
|
14525
14525
|
t.msg = "invalid distance too far back", re.mode = Jd;
|
|
14526
14526
|
break e;
|
|
14527
14527
|
}
|
|
@@ -14529,40 +14529,40 @@ var x_e = function(t, r) {
|
|
|
14529
14529
|
if (F += f - P, P < $) {
|
|
14530
14530
|
$ -= P;
|
|
14531
14531
|
do
|
|
14532
|
-
|
|
14532
|
+
V[a++] = E[F++];
|
|
14533
14533
|
while (--P);
|
|
14534
|
-
F = a -
|
|
14534
|
+
F = a - j, z = V;
|
|
14535
14535
|
}
|
|
14536
14536
|
} else if (m < P) {
|
|
14537
14537
|
if (F += f + m - P, P -= m, P < $) {
|
|
14538
14538
|
$ -= P;
|
|
14539
14539
|
do
|
|
14540
|
-
|
|
14540
|
+
V[a++] = E[F++];
|
|
14541
14541
|
while (--P);
|
|
14542
14542
|
if (F = 0, m < $) {
|
|
14543
14543
|
P = m, $ -= P;
|
|
14544
14544
|
do
|
|
14545
|
-
|
|
14545
|
+
V[a++] = E[F++];
|
|
14546
14546
|
while (--P);
|
|
14547
|
-
F = a -
|
|
14547
|
+
F = a - j, z = V;
|
|
14548
14548
|
}
|
|
14549
14549
|
}
|
|
14550
14550
|
} else if (F += m - P, P < $) {
|
|
14551
14551
|
$ -= P;
|
|
14552
14552
|
do
|
|
14553
|
-
|
|
14553
|
+
V[a++] = E[F++];
|
|
14554
14554
|
while (--P);
|
|
14555
|
-
F = a -
|
|
14555
|
+
F = a - j, z = V;
|
|
14556
14556
|
}
|
|
14557
14557
|
for (; $ > 2; )
|
|
14558
|
-
|
|
14559
|
-
$ && (
|
|
14558
|
+
V[a++] = z[F++], V[a++] = z[F++], V[a++] = z[F++], $ -= 3;
|
|
14559
|
+
$ && (V[a++] = z[F++], $ > 1 && (V[a++] = z[F++]));
|
|
14560
14560
|
} else {
|
|
14561
|
-
F = a -
|
|
14561
|
+
F = a - j;
|
|
14562
14562
|
do
|
|
14563
|
-
|
|
14563
|
+
V[a++] = V[F++], V[a++] = V[F++], V[a++] = V[F++], $ -= 3;
|
|
14564
14564
|
while ($ > 2);
|
|
14565
|
-
$ && (
|
|
14565
|
+
$ && (V[a++] = V[F++], $ > 1 && (V[a++] = V[F++]));
|
|
14566
14566
|
}
|
|
14567
14567
|
} else if (P & 64) {
|
|
14568
14568
|
t.msg = "invalid distance code", re.mode = Jd;
|
|
@@ -14726,29 +14726,29 @@ const ml = 15, ID = 852, RD = 592, AD = 0, z3 = 1, DD = 2, $_e = new Uint16Array
|
|
|
14726
14726
|
64
|
|
14727
14727
|
]), U_e = (e, t, r, n, i, a, l, u) => {
|
|
14728
14728
|
const _ = u.bits;
|
|
14729
|
-
let f = 0, h = 0, m = 0, E = 0, v = 0, g = 0, R = 0, D = 0, O = 0, y = 0, T, P, $,
|
|
14730
|
-
const
|
|
14729
|
+
let f = 0, h = 0, m = 0, E = 0, v = 0, g = 0, R = 0, D = 0, O = 0, y = 0, T, P, $, j, F, z = null, q;
|
|
14730
|
+
const V = new Uint16Array(ml + 1), re = new Uint16Array(ml + 1);
|
|
14731
14731
|
let Ee = null, $e, Je, it;
|
|
14732
14732
|
for (f = 0; f <= ml; f++)
|
|
14733
|
-
|
|
14733
|
+
V[f] = 0;
|
|
14734
14734
|
for (h = 0; h < n; h++)
|
|
14735
|
-
|
|
14736
|
-
for (v = _, E = ml; E >= 1 &&
|
|
14735
|
+
V[t[r + h]]++;
|
|
14736
|
+
for (v = _, E = ml; E >= 1 && V[E] === 0; E--)
|
|
14737
14737
|
;
|
|
14738
14738
|
if (v > E && (v = E), E === 0)
|
|
14739
14739
|
return i[a++] = 1 << 24 | 64 << 16 | 0, i[a++] = 1 << 24 | 64 << 16 | 0, u.bits = 1, 0;
|
|
14740
|
-
for (m = 1; m < E &&
|
|
14740
|
+
for (m = 1; m < E && V[m] === 0; m++)
|
|
14741
14741
|
;
|
|
14742
14742
|
for (v < m && (v = m), D = 1, f = 1; f <= ml; f++)
|
|
14743
|
-
if (D <<= 1, D -=
|
|
14743
|
+
if (D <<= 1, D -= V[f], D < 0)
|
|
14744
14744
|
return -1;
|
|
14745
14745
|
if (D > 0 && (e === AD || E !== 1))
|
|
14746
14746
|
return -1;
|
|
14747
14747
|
for (re[1] = 0, f = 1; f < ml; f++)
|
|
14748
|
-
re[f + 1] = re[f] +
|
|
14748
|
+
re[f + 1] = re[f] + V[f];
|
|
14749
14749
|
for (h = 0; h < n; h++)
|
|
14750
14750
|
t[r + h] !== 0 && (l[re[t[r + h]]++] = h);
|
|
14751
|
-
if (e === AD ? (z = Ee = l, q = 20) : e === z3 ? (z = $_e, Ee = H_e, q = 257) : (z = k_e, Ee = F_e, q = 0), y = 0, h = 0, f = m, F = a, g = v, R = 0, $ = -1, O = 1 << v,
|
|
14751
|
+
if (e === AD ? (z = Ee = l, q = 20) : e === z3 ? (z = $_e, Ee = H_e, q = 257) : (z = k_e, Ee = F_e, q = 0), y = 0, h = 0, f = m, F = a, g = v, R = 0, $ = -1, O = 1 << v, j = O - 1, e === z3 && O > ID || e === DD && O > RD)
|
|
14752
14752
|
return 1;
|
|
14753
14753
|
for (; ; ) {
|
|
14754
14754
|
$e = f - R, l[h] + 1 < q ? (Je = 0, it = l[h]) : l[h] >= q ? (Je = Ee[l[h] - q], it = z[l[h] - q]) : (Je = 96, it = 0), T = 1 << f - R, P = 1 << g, m = P;
|
|
@@ -14757,17 +14757,17 @@ const ml = 15, ID = 852, RD = 592, AD = 0, z3 = 1, DD = 2, $_e = new Uint16Array
|
|
|
14757
14757
|
while (P !== 0);
|
|
14758
14758
|
for (T = 1 << f - 1; y & T; )
|
|
14759
14759
|
T >>= 1;
|
|
14760
|
-
if (T !== 0 ? (y &= T - 1, y += T) : y = 0, h++, --
|
|
14760
|
+
if (T !== 0 ? (y &= T - 1, y += T) : y = 0, h++, --V[f] === 0) {
|
|
14761
14761
|
if (f === E)
|
|
14762
14762
|
break;
|
|
14763
14763
|
f = t[r + l[h]];
|
|
14764
14764
|
}
|
|
14765
|
-
if (f > v && (y &
|
|
14766
|
-
for (R === 0 && (R = v), F += m, g = f - R, D = 1 << g; g + R < E && (D -=
|
|
14765
|
+
if (f > v && (y & j) !== $) {
|
|
14766
|
+
for (R === 0 && (R = v), F += m, g = f - R, D = 1 << g; g + R < E && (D -= V[g + R], !(D <= 0)); )
|
|
14767
14767
|
g++, D <<= 1;
|
|
14768
14768
|
if (O += 1 << g, e === z3 && O > ID || e === DD && O > RD)
|
|
14769
14769
|
return 1;
|
|
14770
|
-
$ = y &
|
|
14770
|
+
$ = y & j, i[$] = v << 24 | g << 16 | F - a | 0;
|
|
14771
14771
|
}
|
|
14772
14772
|
}
|
|
14773
14773
|
return y !== 0 && (i[F + y] = f - R << 24 | 64 << 16 | 0), u.bits = v, 0;
|
|
@@ -14841,9 +14841,9 @@ const X_e = (e) => {
|
|
|
14841
14841
|
const a = e.state;
|
|
14842
14842
|
return a.window === null && (a.wsize = 1 << a.wbits, a.wnext = 0, a.whave = 0, a.window = new Uint8Array(a.wsize)), n >= a.wsize ? (a.window.set(t.subarray(r - a.wsize, r), 0), a.wnext = 0, a.whave = a.wsize) : (i = a.wsize - a.wnext, i > n && (i = n), a.window.set(t.subarray(r - n, r - n + i), a.wnext), n -= i, n ? (a.window.set(t.subarray(r - n, r), 0), a.wnext = n, a.whave = a.wsize) : (a.wnext += i, a.wnext === a.wsize && (a.wnext = 0), a.whave < a.wsize && (a.whave += i))), 0;
|
|
14843
14843
|
}, J_e = (e, t) => {
|
|
14844
|
-
let r, n, i, a, l, u, _, f, h, m, E, v, g, R, D = 0, O, y, T, P, $,
|
|
14844
|
+
let r, n, i, a, l, u, _, f, h, m, E, v, g, R, D = 0, O, y, T, P, $, j, F, z;
|
|
14845
14845
|
const q = new Uint8Array(4);
|
|
14846
|
-
let
|
|
14846
|
+
let V, re;
|
|
14847
14847
|
const Ee = (
|
|
14848
14848
|
/* permutation of code lengths */
|
|
14849
14849
|
new Uint8Array([16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15])
|
|
@@ -15061,7 +15061,7 @@ const X_e = (e) => {
|
|
|
15061
15061
|
}
|
|
15062
15062
|
for (; r.have < 19; )
|
|
15063
15063
|
r.lens[Ee[r.have++]] = 0;
|
|
15064
|
-
if (r.lencode = r.lendyn, r.lenbits = 7,
|
|
15064
|
+
if (r.lencode = r.lendyn, r.lenbits = 7, V = { bits: r.lenbits }, z = ff(V_e, r.lens, 0, 19, r.lencode, 0, r.work, V), r.lenbits = V.bits, z) {
|
|
15065
15065
|
e.msg = "invalid code lengths set", r.mode = Et;
|
|
15066
15066
|
break;
|
|
15067
15067
|
}
|
|
@@ -15116,11 +15116,11 @@ const X_e = (e) => {
|
|
|
15116
15116
|
e.msg = "invalid code -- missing end-of-block", r.mode = Et;
|
|
15117
15117
|
break;
|
|
15118
15118
|
}
|
|
15119
|
-
if (r.lenbits = 9,
|
|
15119
|
+
if (r.lenbits = 9, V = { bits: r.lenbits }, z = ff(Ww, r.lens, 0, r.nlen, r.lencode, 0, r.work, V), r.lenbits = V.bits, z) {
|
|
15120
15120
|
e.msg = "invalid literal/lengths set", r.mode = Et;
|
|
15121
15121
|
break;
|
|
15122
15122
|
}
|
|
15123
|
-
if (r.distbits = 6, r.distcode = r.distdyn,
|
|
15123
|
+
if (r.distbits = 6, r.distcode = r.distdyn, V = { bits: r.distbits }, z = ff(Yw, r.lens, r.nlen, r.ndist, r.distcode, 0, r.work, V), r.distbits = V.bits, z) {
|
|
15124
15124
|
e.msg = "invalid distances set", r.mode = Et;
|
|
15125
15125
|
break;
|
|
15126
15126
|
}
|
|
@@ -15139,7 +15139,7 @@ const X_e = (e) => {
|
|
|
15139
15139
|
u--, f += n[a++] << h, h += 8;
|
|
15140
15140
|
}
|
|
15141
15141
|
if (y && !(y & 240)) {
|
|
15142
|
-
for (P = O, $ = y,
|
|
15142
|
+
for (P = O, $ = y, j = T; D = r.lencode[j + ((f & (1 << P + $) - 1) >> P)], O = D >>> 24, y = D >>> 16 & 255, T = D & 65535, !(P + O <= h); ) {
|
|
15143
15143
|
if (u === 0)
|
|
15144
15144
|
break e;
|
|
15145
15145
|
u--, f += n[a++] << h, h += 8;
|
|
@@ -15176,7 +15176,7 @@ const X_e = (e) => {
|
|
|
15176
15176
|
u--, f += n[a++] << h, h += 8;
|
|
15177
15177
|
}
|
|
15178
15178
|
if (!(y & 240)) {
|
|
15179
|
-
for (P = O, $ = y,
|
|
15179
|
+
for (P = O, $ = y, j = T; D = r.distcode[j + ((f & (1 << P + $) - 1) >> P)], O = D >>> 24, y = D >>> 16 & 255, T = D & 65535, !(P + O <= h); ) {
|
|
15180
15180
|
if (u === 0)
|
|
15181
15181
|
break e;
|
|
15182
15182
|
u--, f += n[a++] << h, h += 8;
|
|
@@ -15444,8 +15444,8 @@ class Nde extends Eg {
|
|
|
15444
15444
|
for (let q in P) $.set(q, P[q]);
|
|
15445
15445
|
for (let q in E.query) $.set(q, E.query[q]);
|
|
15446
15446
|
O.search = new URLSearchParams($).toString();
|
|
15447
|
-
let
|
|
15448
|
-
y.headers = de(de(de({}, T),
|
|
15447
|
+
let j = D && D.headers ? D.headers : {};
|
|
15448
|
+
y.headers = de(de(de({}, T), j), E.headers);
|
|
15449
15449
|
let F = typeof h != "string", z = F && i && i.isJsonMime ? i.isJsonMime(y.headers["Content-Type"]) : F;
|
|
15450
15450
|
return y.data = z ? JSON.stringify(h !== void 0 ? h : {}) : h || "", { url: O.pathname + O.search + O.hash, options: y };
|
|
15451
15451
|
}) }.apiProcess(l, u, _);
|
|
@@ -15612,7 +15612,7 @@ ke(wC, "Response", function() {
|
|
|
15612
15612
|
}), ke(wC, "LowLvlResponse", function() {
|
|
15613
15613
|
return $P;
|
|
15614
15614
|
});
|
|
15615
|
-
var
|
|
15615
|
+
var B = {}, oP = {};
|
|
15616
15616
|
ke(oP, "AuthenticityResultType", function() {
|
|
15617
15617
|
return xt;
|
|
15618
15618
|
}), (Ae = xt || (xt = {}))[Ae.UV_LUMINESCENCE = 1] = "UV_LUMINESCENCE", Ae[Ae.IR_B900 = 2] = "IR_B900", Ae[Ae.IMAGE_PATTERN = 4] = "IMAGE_PATTERN", Ae[Ae.AXIAL_PROTECTION = 8] = "AXIAL_PROTECTION", Ae[Ae.UV_FIBERS = 16] = "UV_FIBERS", Ae[Ae.IR_VISIBILITY = 32] = "IR_VISIBILITY", Ae[Ae.OCR_SECURITY_TEXT = 64] = "OCR_SECURITY_TEXT", Ae[Ae.IPI = 128] = "IPI", Ae[Ae.PHOTO_EMBED_TYPE = 512] = "PHOTO_EMBED_TYPE", Ae[Ae.OVI = 1024] = "OVI", Ae[Ae.HOLOGRAMS = 4096] = "HOLOGRAMS", Ae[Ae.PHOTO_AREA = 8192] = "PHOTO_AREA", Ae[Ae.PORTRAIT_COMPARISON = 32768] = "PORTRAIT_COMPARISON", Ae[Ae.BARCODE_FORMAT_CHECK = 65536] = "BARCODE_FORMAT_CHECK", Ae[Ae.KINEGRAM = 131072] = "KINEGRAM", Ae[Ae.LETTER_SCREEN = 262144] = "LETTER_SCREEN", Ae[Ae.HOLOGRAM_DETECTION = 524288] = "HOLOGRAM_DETECTION", Ae[Ae.FINGERPRINT_COMPARISON = 1048576] = "FINGERPRINT_COMPARISON", Ae[Ae.LIVENESS = 2097152] = "LIVENESS", Ae[Ae.EXTENDED_OCR_CHECK = 4194304] = "EXTENDED_OCR_CHECK", Ae[Ae.EXTENDED_MRZ_CHECK = 8388608] = "EXTENDED_MRZ_CHECK", Ae[Ae.ENCRYPTED_IPI = 16777216] = "ENCRYPTED_IPI";
|
|
@@ -15715,7 +15715,7 @@ ke(NP, "VerificationResult", function() {
|
|
|
15715
15715
|
var XD = {};
|
|
15716
15716
|
ke(XD, "Visibility", function() {
|
|
15717
15717
|
return h0;
|
|
15718
|
-
}), (Vi = h0 || (h0 = {}))[Vi.INVISIBLE = 0] = "INVISIBLE", Vi[Vi.VISIBLE = 1] = "VISIBLE", Vi[Vi.COLORED = 2] = "COLORED", Vi[Vi.GRAYSCALE = 4] = "GRAYSCALE", Vi[Vi.WHITE_IR_MATCHING = 8] = "WHITE_IR_MATCHING", U(
|
|
15718
|
+
}), (Vi = h0 || (h0 = {}))[Vi.INVISIBLE = 0] = "INVISIBLE", Vi[Vi.VISIBLE = 1] = "VISIBLE", Vi[Vi.COLORED = 2] = "COLORED", Vi[Vi.GRAYSCALE = 4] = "GRAYSCALE", Vi[Vi.WHITE_IR_MATCHING = 8] = "WHITE_IR_MATCHING", U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, oP), U(B, {}), U(B, {}), U(B, aP), U(B, sP), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, lP), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, cP), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, uP), U(B, fP), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, _P), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, dP), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, pP), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, hP), U(B, {}), U(B, {}), U(B, {}), U(B, mP), U(B, EP), U(B, CP), U(B, vP), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, gP), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, SP), U(B, {}), U(B, {}), U(B, IP), U(B, {}), U(B, RP), U(B, {}), U(B, AP), U(B, {}), U(B, {}), U(B, DP), U(B, OP), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, TP), U(B, {}), U(B, yP), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, {}), U(B, NP), U(B, {}), U(B, XD);
|
|
15719
15719
|
var LP = {};
|
|
15720
15720
|
ke(LP, "TextExt", function() {
|
|
15721
15721
|
return MP;
|
|
@@ -16320,7 +16320,7 @@ function Yde(e, t, r, n, i) {
|
|
|
16320
16320
|
videoCaptureMotionControl: h
|
|
16321
16321
|
} = cr(), {
|
|
16322
16322
|
isShake: m
|
|
16323
|
-
} = Gde(h), E = Q.useRef(!1), [v, g] = Q.useState(!1), [R, D] = Q.useState(null), [O, y] = Q.useState(!1), [T, P] = Q.useState(0), [$,
|
|
16323
|
+
} = Gde(h), E = Q.useRef(!1), [v, g] = Q.useState(!1), [R, D] = Q.useState(null), [O, y] = Q.useState(!1), [T, P] = Q.useState(0), [$, j] = Q.useState(void 0), [F, z] = Q.useState([11, 12]), [q, V] = Q.useState({
|
|
16324
16324
|
status: De.SERVICE_PREPARING,
|
|
16325
16325
|
response: null
|
|
16326
16326
|
}), {
|
|
@@ -16353,7 +16353,7 @@ function Yde(e, t, r, n, i) {
|
|
|
16353
16353
|
};
|
|
16354
16354
|
a.recognizerProcessParam = Lr(a.recognizerProcessParam, Ze);
|
|
16355
16355
|
}
|
|
16356
|
-
oa("Current scenario: ".concat(a.recognizerProcessParam.processParam.scenario)),
|
|
16356
|
+
oa("Current scenario: ".concat(a.recognizerProcessParam.processParam.scenario)), j(a.recognizerProcessParam.processParam.scenario);
|
|
16357
16357
|
}
|
|
16358
16358
|
}, [a, _, u]), Q.useEffect(() => {
|
|
16359
16359
|
$e && (f ? (oa("Frame params: ".concat(JSON.stringify($e))), a.recognizerProcessParam = Lr(a.recognizerProcessParam, {
|
|
@@ -16373,7 +16373,7 @@ function Yde(e, t, r, n, i) {
|
|
|
16373
16373
|
}), ee = {
|
|
16374
16374
|
platform: "Web",
|
|
16375
16375
|
osVersion: "".concat(FA),
|
|
16376
|
-
sdkVersion: "7.5.
|
|
16376
|
+
sdkVersion: "7.5.1886-rc".trim(),
|
|
16377
16377
|
hostAppId: (Ze = a.recognizerProcessParam.processParam.backendProcessing) === null || Ze === void 0 ? void 0 : Ze.serviceURL,
|
|
16378
16378
|
userID: WL(c9),
|
|
16379
16379
|
deviceModel: "".concat(sC, "/").concat(FA, " ").concat(Rp, "/").concat(kA),
|
|
@@ -16390,13 +16390,13 @@ function Yde(e, t, r, n, i) {
|
|
|
16390
16390
|
transactionId: ie == null || (we = ie.TransactionInfo) === null || we === void 0 ? void 0 : we.TransactionID
|
|
16391
16391
|
}), oa("New document started");
|
|
16392
16392
|
}).catch((ie) => {
|
|
16393
|
-
|
|
16393
|
+
V((fe) => Gr(Gr({}, fe), {}, {
|
|
16394
16394
|
status: De.FAILED
|
|
16395
16395
|
})), n(new vt(Nt.WASM_ERROR, ie));
|
|
16396
16396
|
});
|
|
16397
16397
|
}, [Ee, R, i.captureMode, t]), Q.useEffect(() => {
|
|
16398
16398
|
const Ze = R && (!i.captureMode || i.captureMode === pa.auto), We = R && i.captureMode === pa.captureVideo, ee = Ee && i.captureMode === pa.captureFrame;
|
|
16399
|
-
Ze && g(!0), (ee || We) &&
|
|
16399
|
+
Ze && g(!0), (ee || We) && V((ce) => Gr(Gr({}, ce), {}, {
|
|
16400
16400
|
status: De.FINDING
|
|
16401
16401
|
}));
|
|
16402
16402
|
}, [R, i.captureMode, Ee]), Q.useEffect(() => {
|
|
@@ -16406,7 +16406,7 @@ function Yde(e, t, r, n, i) {
|
|
|
16406
16406
|
action: Me.CAMERA_PROCESS_STARTED,
|
|
16407
16407
|
data: null
|
|
16408
16408
|
}), E.current = !0), m)
|
|
16409
|
-
return
|
|
16409
|
+
return V((ee) => Gr(Gr({}, ee), {}, {
|
|
16410
16410
|
status: De.SHAKING
|
|
16411
16411
|
}));
|
|
16412
16412
|
y(!0);
|
|
@@ -16415,14 +16415,14 @@ function Yde(e, t, r, n, i) {
|
|
|
16415
16415
|
} = Rh(e.videoElement, Ns.UINT);
|
|
16416
16416
|
oa("Image processing started"), a.process(We).then((ee) => {
|
|
16417
16417
|
const ce = jP(ee, T, a.recognizerProcessParam.processParam.multipageProcessing);
|
|
16418
|
-
|
|
16418
|
+
V((fe) => Gr(Gr({}, fe), {}, {
|
|
16419
16419
|
status: ce,
|
|
16420
16420
|
response: ee
|
|
16421
16421
|
})), y(!1), oa("Image processing is finished");
|
|
16422
16422
|
const ie = !!Mv[ce];
|
|
16423
16423
|
(ce === De.START_NEXT_PAGE || ie) && (ee.rawResponse.multipageAnimationImage && z(ee.rawResponse.multipageAnimationImage), g(!1));
|
|
16424
16424
|
}).catch((ee) => {
|
|
16425
|
-
|
|
16425
|
+
V((ce) => Gr(Gr({}, ce), {}, {
|
|
16426
16426
|
status: De.FAILED
|
|
16427
16427
|
})), n(new vt(Nt.WASM_ERROR, ee)), g(!1);
|
|
16428
16428
|
});
|
|
@@ -16439,7 +16439,7 @@ function Yde(e, t, r, n, i) {
|
|
|
16439
16439
|
data: null
|
|
16440
16440
|
}), g(!0), P((We) => We + Ate), oa("New page started");
|
|
16441
16441
|
} catch (We) {
|
|
16442
|
-
|
|
16442
|
+
V((ee) => Gr(Gr({}, ee), {}, {
|
|
16443
16443
|
status: De.FAILED
|
|
16444
16444
|
})), n(new vt(Nt.WASM_ERROR, We));
|
|
16445
16445
|
}
|
|
@@ -16495,7 +16495,7 @@ function Xde(e) {
|
|
|
16495
16495
|
} = cr(), R = window.RegulaDocumentSDK, D = Q.useMemo(() => ({
|
|
16496
16496
|
width: (h == null ? void 0 : h.width) || Xi.FULL_HD.width,
|
|
16497
16497
|
height: (h == null ? void 0 : h.height) || Xi.FULL_HD.height
|
|
16498
|
-
}), [h]), O = Q.useRef(!0), y = Q.useRef(null), [T, P] = Q.useState(!1), [$,
|
|
16498
|
+
}), [h]), O = Q.useRef(!0), y = Q.useRef(null), [T, P] = Q.useState(!1), [$, j] = Q.useState({
|
|
16499
16499
|
videoElement: null,
|
|
16500
16500
|
videoParams: {
|
|
16501
16501
|
width: 0,
|
|
@@ -16514,7 +16514,7 @@ function Xde(e) {
|
|
|
16514
16514
|
label: ""
|
|
16515
16515
|
},
|
|
16516
16516
|
sortedDevices: null
|
|
16517
|
-
}), [q,
|
|
16517
|
+
}), [q, V] = Q.useState(l), {
|
|
16518
16518
|
status: re,
|
|
16519
16519
|
response: Ee,
|
|
16520
16520
|
initialized: $e,
|
|
@@ -16574,7 +16574,7 @@ function Xde(e) {
|
|
|
16574
16574
|
data: null
|
|
16575
16575
|
}), !F.sortedDevices) return;
|
|
16576
16576
|
const qt = Jv(F.sortedDevices, F.camera.deviceId);
|
|
16577
|
-
qt &&
|
|
16577
|
+
qt && V(qt);
|
|
16578
16578
|
}, [F.camera.deviceId, F.sortedDevices]), ht = Q.useCallback(() => {
|
|
16579
16579
|
if (a({
|
|
16580
16580
|
action: Me.PRESS_CAPTURE_BUTTON,
|
|
@@ -16612,7 +16612,7 @@ function Xde(e) {
|
|
|
16612
16612
|
data: null
|
|
16613
16613
|
});
|
|
16614
16614
|
};
|
|
16615
|
-
return Q.useMemo(() => /* @__PURE__ */ p.jsx(XL, { mirroring: T, onChangeMirroring: fe, status: re, isServiceInitialized: $e, videoStatusParams: F, frameParams: Je, videoElementParams: $, onProcessClose: we, onClose: i, onSnapshotProcess: ht, onSkip: Qt, onChangeCamera: Ht, captureButton: ur, animationImage: We, children: /* @__PURE__ */ p.jsx(YL, { onVideoSizeChange:
|
|
16615
|
+
return Q.useMemo(() => /* @__PURE__ */ p.jsx(XL, { mirroring: T, onChangeMirroring: fe, status: re, isServiceInitialized: $e, videoStatusParams: F, frameParams: Je, videoElementParams: $, onProcessClose: we, onClose: i, onSnapshotProcess: ht, onSkip: Qt, onChangeCamera: Ht, captureButton: ur, animationImage: We, children: /* @__PURE__ */ p.jsx(YL, { onVideoSizeChange: j, onVideoStatusChange: z, resolution: D, mirroring: T, onFailStatus: bt, mode: m || gn.environment, cameraId: q, onRecordService: ce, videoRecord: E, onVideoStarted: Nn, onVideoStopped: Ni, mirrorType: v }) }), [q, T, fe, ht, re, $e, F, Je, we, Ht, $, ur, D, m, E, We]);
|
|
16616
16616
|
}
|
|
16617
16617
|
const Jde = "_title_l8agz_19", e1e = "_subtitle_l8agz_28", t1e = "_button_l8agz_37", a1 = {
|
|
16618
16618
|
"info-message": "_info-message_l8agz_1",
|
|
@@ -17129,8 +17129,8 @@ var Ms;
|
|
|
17129
17129
|
for (let T = 0, P = 0; T < m; T++) {
|
|
17130
17130
|
let $ = _.slice(P, P + R - E + (T < g ? 0 : 1));
|
|
17131
17131
|
P += $.length;
|
|
17132
|
-
const
|
|
17133
|
-
T < g && $.push(0), D.push($.concat(
|
|
17132
|
+
const j = t.reedSolomonComputeRemainder($, O);
|
|
17133
|
+
T < g && $.push(0), D.push($.concat(j));
|
|
17134
17134
|
}
|
|
17135
17135
|
let y = [];
|
|
17136
17136
|
for (let T = 0; T < D[0].length; T++)
|
|
@@ -18096,7 +18096,7 @@ var bp = { exports: {} };
|
|
|
18096
18096
|
bp.exports;
|
|
18097
18097
|
(function(e, t) {
|
|
18098
18098
|
(function() {
|
|
18099
|
-
var r, n = "4.17.21", i = 200, a = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", l = "Expected a function", u = "Invalid `variable` option passed into `_.template`", _ = "__lodash_hash_undefined__", f = 500, h = "__lodash_placeholder__", m = 1, E = 2, v = 4, g = 1, R = 2, D = 1, O = 2, y = 4, T = 8, P = 16, $ = 32,
|
|
18099
|
+
var r, n = "4.17.21", i = 200, a = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", l = "Expected a function", u = "Invalid `variable` option passed into `_.template`", _ = "__lodash_hash_undefined__", f = 500, h = "__lodash_placeholder__", m = 1, E = 2, v = 4, g = 1, R = 2, D = 1, O = 2, y = 4, T = 8, P = 16, $ = 32, j = 64, F = 128, z = 256, q = 512, V = 30, re = "...", Ee = 800, $e = 16, Je = 1, it = 2, Ze = 3, We = 1 / 0, ee = 9007199254740991, ce = 17976931348623157e292, ie = NaN, fe = 4294967295, we = fe - 1, Qt = fe >>> 1, Ht = [
|
|
18100
18100
|
["ary", F],
|
|
18101
18101
|
["bind", D],
|
|
18102
18102
|
["bindKey", O],
|
|
@@ -18104,7 +18104,7 @@ bp.exports;
|
|
|
18104
18104
|
["curryRight", P],
|
|
18105
18105
|
["flip", q],
|
|
18106
18106
|
["partial", $],
|
|
18107
|
-
["partialRight",
|
|
18107
|
+
["partialRight", j],
|
|
18108
18108
|
["rearg", z]
|
|
18109
18109
|
], ht = "[object Arguments]", bt = "[object Array]", ur = "[object AsyncFunction]", Nn = "[object Boolean]", Ni = "[object Date]", qt = "[object DOMException]", ko = "[object Error]", ai = "[object Function]", Fo = "[object GeneratorFunction]", Ot = "[object Map]", Li = "[object Number]", Ga = "[object Null]", Xt = "[object Object]", Uo = "[object Promise]", Gc = "[object Proxy]", Vo = "[object RegExp]", Hr = "[object Set]", Jt = "[object String]", si = "[object Symbol]", Vs = "[object Undefined]", ye = "[object WeakMap]", Ye = "[object WeakSet]", Se = "[object ArrayBuffer]", Be = "[object DataView]", nn = "[object Float32Array]", kr = "[object Float64Array]", je = "[object Int8Array]", ge = "[object Int16Array]", Fr = "[object Int32Array]", za = "[object Uint8Array]", js = "[object Uint8ClampedArray]", Fh = "[object Uint16Array]", Uh = "[object Uint32Array]", BM = /\b__p \+= '';/g, GM = /\b(__p \+=) '' \+/g, zM = /(__e\(.*?\)|\b__t\)) \+\n'';/g, Rg = /&(?:amp|lt|gt|quot|#39);/g, Ag = /[&<>"']/g, ZM = RegExp(Rg.source), WM = RegExp(Ag.source), YM = /<%-([\s\S]+?)%>/g, KM = /<%([\s\S]+?)%>/g, Dg = /<%=([\s\S]+?)%>/g, QM = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, qM = /^\w*$/, XM = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Vh = /[\\^$.*+?()[\]{}|]/g, JM = RegExp(Vh.source), jh = /^\s+/, eb = /\s/, tb = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, rb = /\{\n\/\* \[wrapped with (.+)\] \*/, nb = /,? & /, ib = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, ob = /[()=,{}\[\]\/\s]/, ab = /\\(\\)?/g, sb = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, Og = /\w*$/, lb = /^[-+]0x[0-9a-f]+$/i, cb = /^0b[01]+$/i, ub = /^\[object .+?Constructor\]$/, fb = /^0o[0-7]+$/i, _b = /^(?:0|[1-9]\d*)$/, db = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, m_ = /($^)/, pb = /['\n\r\u2028\u2029\\]/g, E_ = "\\ud800-\\udfff", hb = "\\u0300-\\u036f", mb = "\\ufe20-\\ufe2f", Eb = "\\u20d0-\\u20ff", Tg = hb + mb + Eb, yg = "\\u2700-\\u27bf", Ng = "a-z\\xdf-\\xf6\\xf8-\\xff", Cb = "\\xac\\xb1\\xd7\\xf7", vb = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", gb = "\\u2000-\\u206f", Sb = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Lg = "A-Z\\xc0-\\xd6\\xd8-\\xde", wg = "\\ufe0e\\ufe0f", Pg = Cb + vb + gb + Sb, Bh = "['’]", Ib = "[" + E_ + "]", Mg = "[" + Pg + "]", C_ = "[" + Tg + "]", bg = "\\d+", Rb = "[" + yg + "]", xg = "[" + Ng + "]", $g = "[^" + E_ + Pg + bg + yg + Ng + Lg + "]", Gh = "\\ud83c[\\udffb-\\udfff]", Ab = "(?:" + C_ + "|" + Gh + ")", Hg = "[^" + E_ + "]", zh = "(?:\\ud83c[\\udde6-\\uddff]){2}", Zh = "[\\ud800-\\udbff][\\udc00-\\udfff]", Bs = "[" + Lg + "]", kg = "\\u200d", Fg = "(?:" + xg + "|" + $g + ")", Db = "(?:" + Bs + "|" + $g + ")", Ug = "(?:" + Bh + "(?:d|ll|m|re|s|t|ve))?", Vg = "(?:" + Bh + "(?:D|LL|M|RE|S|T|VE))?", jg = Ab + "?", Bg = "[" + wg + "]?", Ob = "(?:" + kg + "(?:" + [Hg, zh, Zh].join("|") + ")" + Bg + jg + ")*", Tb = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", yb = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Gg = Bg + jg + Ob, Nb = "(?:" + [Rb, zh, Zh].join("|") + ")" + Gg, Lb = "(?:" + [Hg + C_ + "?", C_, zh, Zh, Ib].join("|") + ")", wb = RegExp(Bh, "g"), Pb = RegExp(C_, "g"), Wh = RegExp(Gh + "(?=" + Gh + ")|" + Lb + Gg, "g"), Mb = RegExp([
|
|
18110
18110
|
Bs + "?" + xg + "+" + Ug + "(?=" + [Mg, Bs, "$"].join("|") + ")",
|
|
@@ -19833,7 +19833,7 @@ bp.exports;
|
|
|
19833
19833
|
}
|
|
19834
19834
|
function tI(o, s, d, C, A, w, b, x, k, Y) {
|
|
19835
19835
|
var K = s & T, X = K ? b : r, ne = K ? r : b, ue = K ? w : r, Ce = K ? r : w;
|
|
19836
|
-
s |= K ? $ :
|
|
19836
|
+
s |= K ? $ : j, s &= ~(K ? j : $), s & y || (s &= ~(D | O));
|
|
19837
19837
|
var Le = [
|
|
19838
19838
|
o,
|
|
19839
19839
|
s,
|
|
@@ -19872,7 +19872,7 @@ bp.exports;
|
|
|
19872
19872
|
if (!k && typeof o != "function")
|
|
19873
19873
|
throw new Pn(l);
|
|
19874
19874
|
var Y = C ? C.length : 0;
|
|
19875
|
-
if (Y || (s &= ~($ |
|
|
19875
|
+
if (Y || (s &= ~($ | j), C = A = r), b = b === r ? b : Ft(Ne(b), 0), x = x === r ? x : Ne(x), Y -= A ? A.length : 0, s & j) {
|
|
19876
19876
|
var K = C, X = A;
|
|
19877
19877
|
C = A = r;
|
|
19878
19878
|
}
|
|
@@ -20906,7 +20906,7 @@ bp.exports;
|
|
|
20906
20906
|
return so(o, $, r, s, d);
|
|
20907
20907
|
}), MI = Pe(function(o, s) {
|
|
20908
20908
|
var d = Go(s, el(MI));
|
|
20909
|
-
return so(o,
|
|
20909
|
+
return so(o, j, r, s, d);
|
|
20910
20910
|
}), Kk = lo(function(o, s) {
|
|
20911
20911
|
return so(o, z, r, r, r, s);
|
|
20912
20912
|
});
|
|
@@ -21456,7 +21456,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
21456
21456
|
return Ko(C, A).join("");
|
|
21457
21457
|
}
|
|
21458
21458
|
function bU(o, s) {
|
|
21459
|
-
var d =
|
|
21459
|
+
var d = V, C = re;
|
|
21460
21460
|
if (gt(s)) {
|
|
21461
21461
|
var A = "separator" in s ? s.separator : A;
|
|
21462
21462
|
d = "length" in s ? Ne(s.length) : d, C = "omission" in s ? sn(s.omission) : C;
|
|
@@ -21839,18 +21839,18 @@ function CEe(e) {
|
|
|
21839
21839
|
action: Me.CLOSE,
|
|
21840
21840
|
data: null
|
|
21841
21841
|
});
|
|
21842
|
-
}, R = (
|
|
21843
|
-
h(
|
|
21842
|
+
}, R = (j) => {
|
|
21843
|
+
h(j), E(_e.FILE_PROCESSING);
|
|
21844
21844
|
}, D = window.RegulaDocumentSDK, O = mEe(D), y = () => {
|
|
21845
21845
|
E(_e.REMOTE_SCANNER);
|
|
21846
|
-
}, T = (
|
|
21847
|
-
const F = r9[
|
|
21846
|
+
}, T = (j) => {
|
|
21847
|
+
const F = r9[j.type] || _e.UNKNOWN_ERROR;
|
|
21848
21848
|
E(F), r({
|
|
21849
21849
|
action: Me.PROCESS_FINISHED,
|
|
21850
21850
|
data: {
|
|
21851
21851
|
status: To.ERROR,
|
|
21852
|
-
reason:
|
|
21853
|
-
details:
|
|
21852
|
+
reason: j.type,
|
|
21853
|
+
details: j.details
|
|
21854
21854
|
}
|
|
21855
21855
|
});
|
|
21856
21856
|
}, P = () => {
|
|
@@ -21864,8 +21864,8 @@ function CEe(e) {
|
|
|
21864
21864
|
return Q.useEffect(() => {
|
|
21865
21865
|
hc && m === _e.CAMERA_PROCESSING && P();
|
|
21866
21866
|
}, [_]), Q.useEffect(() => {
|
|
21867
|
-
const
|
|
21868
|
-
!i && (!
|
|
21867
|
+
const j = D.recognizerProcessParam.processParam.scenario, F = D.imageProcessParam.processParam.scenario;
|
|
21868
|
+
!i && (!j || !F && n) && T(new vt(Nt.MISSING_SCENARIO, "Set processing scenario (for video and for image)"));
|
|
21869
21869
|
}, [i, n]), /* @__PURE__ */ p.jsx(Q.StrictMode, { children: /* @__PURE__ */ p.jsx(WP, { onError: T, supportedBrowserVersions: n9, children: /* @__PURE__ */ p.jsx(ig, { showHeaderAndFooter: m !== _e.CAMERA_PROCESSING, onClose: g, direction: t, children: m === _e.CHOOSE_INPUT_SOURCE ? /* @__PURE__ */ p.jsx(GP, { onStart: v, onFileImageSet: R, allowRemote: O, onRemoteDevice: y, title: u("verifyYourIdentity"), subtitle: u(EEe(hc, a, l, O)) }) : m === _e.CAMERA_PROCESSING ? /* @__PURE__ */ p.jsx(Xde, { onStatusChange: E, onFileImageSet: R, onError: T, onClose: g }) : m === _e.FILE_PROCESSING ? /* @__PURE__ */ p.jsx(_1e, { onStatusChange: E, images: f, onError: T }) : m === _e.REMOTE_SCANNER ? /* @__PURE__ */ p.jsx(hEe, { onError: T, onStatusChange: E }) : m === _e.SUCCESS ? /* @__PURE__ */ p.jsx(ir, { type: "verified", title: u("done") }) : m === _e.FILE_SIZE_ERROR ? /* @__PURE__ */ p.jsx(ir, { type: "error", title: u("largeFile") }) : m === _e.NOT_SUPPORTED_ERROR ? /* @__PURE__ */ p.jsx(ir, { type: "error", title: u("versionNotSupported") }) : m === _e.WASM_LICENSE_ERROR ? /* @__PURE__ */ p.jsx(ir, { type: "error", title: u("badLicense") }) : m === _e.INCORRECT_FILE_ERROR ? /* @__PURE__ */ p.jsx(ir, { type: "error", title: u("fileCorrupt") }) : m === _e.CAMERA_PERMISSION_DENIED_ERROR ? /* @__PURE__ */ p.jsx(ir, { type: "docreader-camera-disabled", title: u("cameraUnavailable") }) : m === _e.HTTP_NOT_SUPPORTED_ERROR ? /* @__PURE__ */ p.jsx(ir, { type: "error", title: u("httpNotSupported") }) : m === _e.INSECURE_PAGE_CONTEXT_ERROR ? /* @__PURE__ */ p.jsx(ir, { type: "error", title: u("insecurePageContext") }) : m === _e.NO_CAMERA_ERROR ? /* @__PURE__ */ p.jsx(ir, { type: "docreader-camera-disabled", title: u("noCameraAvailable") }) : m === _e.INCORRECT_CAMERA_ID_ERROR ? /* @__PURE__ */ p.jsx(ir, { type: "docreader-camera-disabled", title: u("incorrectCameraId") }) : m === _e.TIMEOUT ? /* @__PURE__ */ p.jsx(ir, { onReset: $, type: "error", title: u("timeout") }) : m === _e.DELEGATE_SUCCESS ? /* @__PURE__ */ p.jsx(ir, { type: "verified", title: u("returnToComputer"), subtitle: u("documentCaptured") }) : m === _e.PROCESSING ? /* @__PURE__ */ p.jsx(s_, {}) : /* @__PURE__ */ p.jsx(ir, { type: "error", title: u("somethingWentWrong") }) }) }) });
|
|
21870
21870
|
}
|
|
21871
21871
|
const vEe = UL(ZP, zP)(CEe), fM = "*,*:before,*:after{box-sizing:border-box}:host{display:block;container-type:inline-size;container-name:host;--font-family: Inter, sans-serif;--font-size: 16px;--main-color: #7E57C5;--hover-color: #bd00ff;--active-color: #bd7dff;width:100%;height:100%}document-reader{display:block;--font-family: Inter, sans-serif;--font-size: 16px;--main-color: #7E57C5;--hover-color: #bd00ff;--active-color: #bd7dff;width:100%;height:100%}camera-snapshot{display:block;--font-family: Inter, sans-serif;--font-size: 16px;--main-color: #7E57C5;--hover-color: #bd00ff;--active-color: #bd7dff;width:100%;height:100%}._window_19i9h_40{width:100%;height:100%;display:flex;flex-direction:column;background:#fff;box-shadow:0 8px 16px #0000000a,0 2px 4px #00000008,0 1px 2px #00000005;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);font-family:var(--font-family);font-size:var(--font-size)}._window_19i9h_40[data-direction=rtl]{direction:rtl}._window_19i9h_40[data-direction=ltr]{direction:ltr}._header_19i9h_63{display:flex;justify-content:flex-end;padding:16px 16px 0}._header_19i9h_63 button{display:flex;justify-content:center;align-items:center;border:none;padding:0;margin:0;text-decoration:none;background:none;cursor:pointer;text-align:center;transition:background .25s ease-in-out,transform .15s ease;appearance:none}._footer_19i9h_84{display:flex;align-items:center;padding:0 16px 10px}._ads_19i9h_90{font-size:12px;font-weight:500;line-height:16px;letter-spacing:-.12px;color:#8c8c8c}._ads_19i9h_90 svg{vertical-align:bottom}@media (max-width: 640px){._footer_19i9h_84{justify-content:center}}@container host (max-width: 640px){._footer_19i9h_84{justify-content:center}}", _M = "._start-window_1an07_1{display:flex;flex:1;align-items:center;justify-content:center;flex-direction:column;row-gap:1.5em;padding:1.5em}._text_1an07_11{display:flex;flex-direction:column;row-gap:1em;align-items:center;text-align:center}._text_1an07_11 ._title_1an07_19{max-width:500px;color:#000;font-size:1.25em;font-weight:600;line-height:1.25em;margin:0}._text_1an07_11 ._subtitle_1an07_28{display:block;max-width:465px;color:#454545;font-size:.875em;font-weight:400;line-height:1.25em;margin:0}._buttons_1an07_38{display:flex;width:100%;align-items:center;justify-content:center;column-gap:1em}@media (max-width: 640px){._buttons_1an07_38{flex-direction:column;row-gap:1em}._text_1an07_11 ._title_1an07_19{font-size:1.125em}}@container host (max-width: 640px){._buttons_1an07_38{flex-direction:column;row-gap:1em}._text_1an07_11 ._title_1an07_19{font-size:1.125em}}", dM = "._info-message_l8agz_1{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;padding:1.5em}._text-container_l8agz_10{display:flex;flex-direction:column;align-items:center;max-width:410px;word-break:break-word;row-gap:1em}._title_l8agz_19{margin:0;font-size:1.25em;font-weight:600;line-height:120%;color:#262626;text-align:center}._subtitle_l8agz_28{margin:0;font-size:1em;font-weight:400;line-height:100%;color:#454545;text-align:center}._button_l8agz_37{border:none;margin:0;background:var(--main-color);cursor:pointer;text-align:center;text-decoration:none;font-family:var(--font-family);font-size:1em;font-weight:400;line-height:1.5em;color:#fff;appearance:none;padding:.5em 2.15em;border-radius:2px;transition:background .25s ease-in-out,transform .15s ease}._button_l8agz_37:hover{background:var(--hover-color)}._button_l8agz_37:active{background:var(--active-color)}", pM = "._container_1i3sj_1{display:flex;position:relative;width:100%;height:100%}._tips-container_1i3sj_8{--message-container-height: auto;--message-margin-top: 50px;--message-top: 0}._layout_1i3sj_14,._tips-container_1i3sj_8{display:flex;justify-content:center}._svg_1i3sj_19,._tips-container_1i3sj_8,._layout_1i3sj_14{position:absolute;inset:0}._svg_1i3sj_19 rect,._svg_1i3sj_19 path{transition:.25s stroke}._message-container_1i3sj_28{display:flex;flex-direction:column;height:var(--message-container-height);width:100%;max-width:370px;position:relative;align-self:center;align-items:center;margin:0 1em}._icon_1i3sj_40{position:absolute;top:50%;display:flex;justify-content:center;align-items:center;width:80px;height:80px;transform:translateY(-50%);border-radius:50%}._message_1i3sj_28{position:absolute;top:var(--message-top);left:0;right:0;display:flex;justify-content:center;margin-top:var(--message-margin-top)}._message-background_1i3sj_62{text-align:center;padding:.75em 1.5em;border-radius:6px}._tips-frameless_1i3sj_68 ._message_1i3sj_28{margin-left:36px;margin-right:36px}._title_1i3sj_73{font-weight:700;margin:0;font-size:1.25em;line-height:1.25em}._subtitle_1i3sj_80{font-weight:400;opacity:.65;margin:.5em 0 0;font-size:1em;line-height:1.125em}._message-text_1i3sj_88{font-weight:400;margin:0;font-size:1.125em;line-height:1.3em}._bottom-functional-buttons_1i3sj_95,._top-functional-buttons_1i3sj_95{position:absolute;padding:15px;display:flex}._buttons-left_1i3sj_101,._buttons-right_1i3sj_101,._left-functional-buttons_1i3sj_101{display:flex}div[data-orientation=landscape] ._bottom-functional-buttons_1i3sj_95,div[data-orientation=landscape] ._buttons-left_1i3sj_101,div[data-orientation=landscape] ._buttons-right_1i3sj_101{flex-direction:column}div[data-orientation=landscape] ._buttons-left_1i3sj_101 button+button,div[data-orientation=landscape] ._buttons-right_1i3sj_101 button+button,div[data-orientation=landscape] ._bottom-functional-buttons_1i3sj_95 div+div{margin-top:15px}div[data-orientation=portrait] ._left-functional-buttons_1i3sj_101 button+button{margin-bottom:15px}div[data-orientation=landscape] ._top-functional-buttons_1i3sj_95,div[data-orientation=landscape] ._left-functional-buttons_1i3sj_101,div[data-direction=rtl] div[data-orientation=portrait] ._top-functional-buttons_1i3sj_95,._bottom-functional-buttons_1i3sj_95{left:0}div[data-orientation=portrait] ._bottom-functional-buttons_1i3sj_95,div[data-direction=ltr] div[data-orientation=portrait] ._top-functional-buttons_1i3sj_95{right:0}div[data-orientation=portrait] ._bottom-functional-buttons_1i3sj_95{justify-content:space-between}div[data-direction=ltr] div[data-orientation=portrait] ._buttons-left_1i3sj_101 button+button,div[data-direction=ltr] div[data-orientation=portrait] ._buttons-right_1i3sj_101 button+button,div[data-orientation=landscape] ._left-functional-buttons_1i3sj_101 button+button{margin-left:15px}div[data-direction=rtl] div[data-orientation=portrait] ._buttons-left_1i3sj_101 button+button,div[data-direction=rtl] div[data-orientation=portrait] ._buttons-right_1i3sj_101 button+button{margin-right:15px}._left-functional-buttons_1i3sj_101{position:absolute;bottom:50%;transform:translateY(50%);padding:15px}div[data-orientation=portrait] ._left-functional-buttons_1i3sj_101{bottom:0;right:50%;transform:translate(50%);flex-direction:column-reverse;z-index:1}._top-functional-buttons_1i3sj_95{top:0}._bottom-functional-buttons_1i3sj_95{bottom:0}._bottom-functional-buttons_1i3sj_95 button:not(._snapshot-button_1i3sj_171):hover,._top-functional-buttons_1i3sj_95 button:hover,._left-functional-buttons_1i3sj_101 button:hover{transform:scale(1.1)}._bottom-functional-buttons_1i3sj_95 button,._top-functional-buttons_1i3sj_95 button,._left-functional-buttons_1i3sj_101 button,._snapshot-button_1i3sj_171{display:flex;justify-content:center;align-items:center;border:none;padding:0;margin:0;text-decoration:none;background:none;cursor:pointer;text-align:center;transition:background .25s ease-in-out,transform .15s ease}._snapshot-button_1i3sj_171{position:absolute;bottom:20px;left:50%;transform:translate(-50%)}._left-functional-buttons_1i3sj_101 ._skip-button_1i3sj_201{padding:0 10px;border-radius:6px;background-color:#1b101f80}._snapshot-button_1i3sj_171:hover{transform:translate(-50%) scale(1.1)}@media (max-width: 640px){._snapshot-button_1i3sj_171{padding-bottom:27px}}@container host (max-width: 640px){._snapshot-button_1i3sj_171{padding-bottom:27px}}._flip_1i3sj_223{width:70%;height:80%;position:relative;align-self:center;perspective:1000px}._flip_1i3sj_223 svg,._flip_1i3sj_223 img{width:100%;height:auto;object-fit:cover}._flip_1i3sj_223 ._front_1i3sj_237,._flip_1i3sj_223 ._back_1i3sj_238{position:absolute;display:flex;justify-content:center;align-items:center;top:0;left:0;width:100%;height:100%;backface-visibility:hidden;-webkit-backface-visibility:hidden;transition:transform .6s ease-out}._flip_1i3sj_223 ._front_1i3sj_237{z-index:2;animation:_flip-front_1i3sj_1 1.5s}._flip_1i3sj_223 ._back_1i3sj_238{transform:rotateY(180deg);animation:_flip-back_1i3sj_1 1.5s}._flip_1i3sj_223 ._front_1i3sj_237,._flip_1i3sj_223 ._back_1i3sj_238{animation-delay:1s;animation-fill-mode:forwards}@keyframes _flip-front_1i3sj_1{0%{transform:rotateY(0)}to{transform:rotateY(-180deg)}}@keyframes _flip-back_1i3sj_1{0%{transform:rotateY(180deg)}to{transform:rotateY(0)}}._fade-enter_1i3sj_286{opacity:0}._fade-exit_1i3sj_290,._fade-enter-active_1i3sj_294{opacity:1}._fade-exit-active_1i3sj_298{opacity:0}._fade-enter-active_1i3sj_294,._fade-exit-active_1i3sj_298{transition:opacity .3s}._loader_1i3sj_307{position:absolute;inset:0;box-shadow:none}", hM = "._process-message_p14bs_1{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;padding:1.5em;row-gap:1.5em}._message_p14bs_11{display:block;font-size:.875em;line-height:1.25em;color:#000}", mM = "._button_b09l6_1{display:flex;width:100%;max-width:290px;padding:.75em 1.5em;justify-content:center;column-gap:5px;background:#fff;border:1px solid #211236;border-radius:112px;cursor:pointer;font-size:1em}._button_b09l6_1 span{font-family:var(--font-family);font-style:normal;line-height:135%;font-size:1.125em;font-weight:400;color:#211236;white-space:nowrap;margin:0}._button_b09l6_1:hover:not(:disabled),._button_b09l6_1:focus:not(:disabled){background:#f5f5f5}._button_b09l6_1:active:not(:disabled){background:#e2e2e2}._button_b09l6_1:disabled{opacity:.5;cursor:default}", EM = "._container_1hyic_1{display:flex;flex:1}._video_1hyic_6{background-color:#fff;width:100%;height:100%;object-fit:contain}", CM = '._spinner_1dmr8_1{width:48px;height:48px;position:relative}._circle_1dmr8_7{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-radius:50%;border:2px solid var(--main-color);border-bottom-color:transparent;animation:_spin_1dmr8_1 1s linear infinite}._spinner_1dmr8_1:before{content:"";width:100%;height:100%;border-radius:50%;border:2px solid #D9D9D9;position:absolute;top:0;left:0;box-sizing:border-box}@keyframes _spin_1dmr8_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}', gEe = "._remote-scanner-wrapper_12a10_1{display:flex;flex:1;flex-direction:column;align-items:center;row-gap:1.5em;justify-content:center;padding:1.5em}._qr-container_12a10_11{display:flex;flex-direction:column;align-items:center;max-width:350px;max-height:140px}._text_12a10_19{display:flex;flex-direction:column;align-items:center;text-align:center;row-gap:1em}._title_12a10_27{max-width:465px;color:#000;font-size:1.25em;font-weight:600;line-height:1.25em;margin:0}._subtitle_12a10_36{display:block;max-width:465px;color:#454545;font-size:.875em;font-weight:400;line-height:1.25em;margin:0}._note_12a10_46{display:block;max-width:465px;color:#000;font-size:.875em;line-height:1.375em}", SEe = "Scan QR code", IEe = "Open the camera on your mobile device, scan the QR code, and follow the link", REe = "Please wait...", AEe = "Mobile device", DEe = "Verify your identity document", OEe = "Capture a document using the computer’s camera, or upload it from files, or scan it on a mobile device", TEe = "Capture a document using the computer’s camera, or upload it from files", yEe = "Capture a document using the computer’s camera, or scan it on a mobile device", NEe = "Upload a document from files, or scan it on a mobile device", LEe = "Use the computer's camera to capture a document", wEe = "Pick a document from the files and upload it", PEe = "Use your mobile camera to capture a document", MEe = "Capture a document using the mobile's camera, or upload it from gallery", bEe = "Pick a document from the gallery and upload it", xEe = "Gallery", $Ee = "Files", HEe = "Return to the computer", kEe = "Your document has been captured", FEe = "Поместите документ в рамку", UEe = "Держите устройство неподвижно", VEe = "Держите документ прямо", jEe = "Избегайте бликов на документе", BEe = "Подготовка камеры...", GEe = "Камера", zEe = "Подвиньтесь ближе", ZEe = "Тайм-аут", WEe = "Что-то пошло не так", YEe = "Подготовка сервиса...", KEe = "Камера недоступна!", QEe = "Повторите попытку", qEe = "Отсутствует камера", XEe = "Обработка документа...", JEe = "Расположите документ в центре", eCe = "Переверните документ", tCe = "Загрузите фото", rCe = "Версия вашего браузера не поддерживается", nCe = "Размер загружаемого файла слишком велик", iCe = "Лицензия не найдена или недействительна", oCe = "Файл поврежден или не поддерживается", aCe = "Нет фокусировки камеры", sCe = "Камера с заданным ID не найдена.", lCe = "Готово!", cCe = "Небезопасный контекст", uCe = "HTTPS не используется", fCe = {
|
|
@@ -23541,7 +23541,7 @@ function Xke(e) {
|
|
|
23541
23541
|
i({
|
|
23542
23542
|
action: Me.PRESS_MIRRORING_BUTTON,
|
|
23543
23543
|
data: null
|
|
23544
|
-
}), E((
|
|
23544
|
+
}), E((V) => !V);
|
|
23545
23545
|
}, P = () => {
|
|
23546
23546
|
i({
|
|
23547
23547
|
action: Me.CAMERA_PROCESS_CLOSED,
|
|
@@ -23553,27 +23553,27 @@ function Xke(e) {
|
|
|
23553
23553
|
data: null
|
|
23554
23554
|
}), !v.videoElement) return;
|
|
23555
23555
|
const {
|
|
23556
|
-
raw:
|
|
23556
|
+
raw: V,
|
|
23557
23557
|
mimeType: re
|
|
23558
23558
|
} = Rh(v.videoElement, Ns.BASE64);
|
|
23559
23559
|
r([{
|
|
23560
|
-
raw:
|
|
23560
|
+
raw: V,
|
|
23561
23561
|
mimeType: re
|
|
23562
23562
|
}]), t(_e.SUCCESS);
|
|
23563
|
-
},
|
|
23563
|
+
}, j = () => {
|
|
23564
23564
|
if (!R.sortedDevices) return;
|
|
23565
23565
|
i({
|
|
23566
23566
|
action: Me.PRESS_CHANGE_CAMERA_BUTTON,
|
|
23567
23567
|
data: null
|
|
23568
23568
|
});
|
|
23569
|
-
const
|
|
23570
|
-
|
|
23571
|
-
}, F = (
|
|
23569
|
+
const V = Jv(R.sortedDevices, R.camera.deviceId);
|
|
23570
|
+
V && y(V);
|
|
23571
|
+
}, F = (V) => {
|
|
23572
23572
|
i({
|
|
23573
23573
|
action: Me.PROCESS_FINISHED,
|
|
23574
23574
|
data: {
|
|
23575
23575
|
status: To.ERROR,
|
|
23576
|
-
reason:
|
|
23576
|
+
reason: V
|
|
23577
23577
|
}
|
|
23578
23578
|
});
|
|
23579
23579
|
}, z = () => {
|
|
@@ -23587,7 +23587,7 @@ function Xke(e) {
|
|
|
23587
23587
|
data: null
|
|
23588
23588
|
});
|
|
23589
23589
|
};
|
|
23590
|
-
return /* @__PURE__ */ p.jsx(XL, { mirroring: m, onChangeMirroring: T, status: De.SNAPSHOT, videoStatusParams: R, onCameraSnapshot: $, isServiceInitialized: !0, onProcessClose: P, onClose: n, onChangeCamera:
|
|
23590
|
+
return /* @__PURE__ */ p.jsx(XL, { mirroring: m, onChangeMirroring: T, status: De.SNAPSHOT, videoStatusParams: R, onCameraSnapshot: $, isServiceInitialized: !0, onProcessClose: P, onClose: n, onChangeCamera: j, videoElementParams: v, children: /* @__PURE__ */ p.jsx(YL, { onVideoSizeChange: g, onVideoStatusChange: D, resolution: h, mirroring: m, onFailStatus: F, mode: _ || gn.environment, cameraId: O, onVideoStarted: z, onVideoStopped: q, mirrorType: f }) });
|
|
23591
23591
|
}
|
|
23592
23592
|
function S0(e, t, r) {
|
|
23593
23593
|
return (t = Jke(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
|
|
@@ -24965,8 +24965,8 @@ class XFe {
|
|
|
24965
24965
|
processParam: {}
|
|
24966
24966
|
}), nr(this, "imageProcessParam", {
|
|
24967
24967
|
processParam: {}
|
|
24968
|
-
}), nr(this, "recognizeListener", null), nr(this, "workerPath", "https://wasm.regulaforensics.com/document/
|
|
24969
|
-
component: "7.5.
|
|
24968
|
+
}), nr(this, "recognizeListener", null), nr(this, "workerPath", "https://wasm.regulaforensics.com/document/rc/7.5/76636ff4-87d815a8f"), nr(this, "version", {
|
|
24969
|
+
component: "7.5.1886-rc".trim()
|
|
24970
24970
|
});
|
|
24971
24971
|
}
|
|
24972
24972
|
get processingListener() {
|
|
@@ -25031,7 +25031,7 @@ class XFe {
|
|
|
25031
25031
|
prepare() {
|
|
25032
25032
|
return oe(this, null, function* () {
|
|
25033
25033
|
var t, r;
|
|
25034
|
-
const n = "ProcMgr.worker.js", i = this.workerPath === "https://wasm.regulaforensics.com/document/
|
|
25034
|
+
const n = "ProcMgr.worker.js", i = this.workerPath === "https://wasm.regulaforensics.com/document/rc/7.5/76636ff4-87d815a8f";
|
|
25035
25035
|
{
|
|
25036
25036
|
let l = yield (yield fetch("".concat(this.workerPath, "/").concat(n))).text();
|
|
25037
25037
|
i || (l = kde(l, this.workerPath));
|