@regulaforensics/vp-frontend-document-components 9.7.2987-rc → 9.7.2989-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.js CHANGED
@@ -1,5 +1,12 @@
1
1
  //#region \0rolldown/runtime.js
2
- var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (e && (t = e(e = 0)), t), s = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), c = (e, n) => {
2
+ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t, n) => () => {
3
+ if (n) throw n[0];
4
+ try {
5
+ return e && (t = e(e = 0)), t;
6
+ } catch (e) {
7
+ throw n = [e], e;
8
+ }
9
+ }, s = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), c = (e, n) => {
3
10
  let r = {};
4
11
  for (var i in e) t(r, i, {
5
12
  get: e[i],
@@ -1825,24 +1832,24 @@ var Yn = /* @__PURE__ */ s(((e, t) => {
1825
1832
  return he(this, 1, e)[0];
1826
1833
  },
1827
1834
  getInt16: function(e) {
1828
- var t = he(this, 2, e, arguments.length > 1 ? arguments[1] : !1);
1835
+ var t = he(this, 2, e, arguments.length > 1 && arguments[1]);
1829
1836
  return (t[1] << 8 | t[0]) << 16 >> 16;
1830
1837
  },
1831
1838
  getUint16: function(e) {
1832
- var t = he(this, 2, e, arguments.length > 1 ? arguments[1] : !1);
1839
+ var t = he(this, 2, e, arguments.length > 1 && arguments[1]);
1833
1840
  return t[1] << 8 | t[0];
1834
1841
  },
1835
1842
  getInt32: function(e) {
1836
- return ue(he(this, 4, e, arguments.length > 1 ? arguments[1] : !1));
1843
+ return ue(he(this, 4, e, arguments.length > 1 && arguments[1]));
1837
1844
  },
1838
1845
  getUint32: function(e) {
1839
- return ue(he(this, 4, e, arguments.length > 1 ? arguments[1] : !1)) >>> 0;
1846
+ return ue(he(this, 4, e, arguments.length > 1 && arguments[1])) >>> 0;
1840
1847
  },
1841
1848
  getFloat32: function(e) {
1842
- return oe(he(this, 4, e, arguments.length > 1 ? arguments[1] : !1), 23);
1849
+ return oe(he(this, 4, e, arguments.length > 1 && arguments[1]), 23);
1843
1850
  },
1844
1851
  getFloat64: function(e) {
1845
- return oe(he(this, 8, e, arguments.length > 1 ? arguments[1] : !1), 52);
1852
+ return oe(he(this, 8, e, arguments.length > 1 && arguments[1]), 52);
1846
1853
  },
1847
1854
  setInt8: function(e, t) {
1848
1855
  ge(this, 1, e, se, t);
@@ -1851,22 +1858,22 @@ var Yn = /* @__PURE__ */ s(((e, t) => {
1851
1858
  ge(this, 1, e, se, t);
1852
1859
  },
1853
1860
  setInt16: function(e, t) {
1854
- ge(this, 2, e, ce, t, arguments.length > 2 ? arguments[2] : !1);
1861
+ ge(this, 2, e, ce, t, arguments.length > 2 && arguments[2]);
1855
1862
  },
1856
1863
  setUint16: function(e, t) {
1857
- ge(this, 2, e, ce, t, arguments.length > 2 ? arguments[2] : !1);
1864
+ ge(this, 2, e, ce, t, arguments.length > 2 && arguments[2]);
1858
1865
  },
1859
1866
  setInt32: function(e, t) {
1860
- ge(this, 4, e, le, t, arguments.length > 2 ? arguments[2] : !1);
1867
+ ge(this, 4, e, le, t, arguments.length > 2 && arguments[2]);
1861
1868
  },
1862
1869
  setUint32: function(e, t) {
1863
- ge(this, 4, e, le, t, arguments.length > 2 ? arguments[2] : !1);
1870
+ ge(this, 4, e, le, t, arguments.length > 2 && arguments[2]);
1864
1871
  },
1865
1872
  setFloat32: function(e, t) {
1866
- ge(this, 4, e, fe, t, arguments.length > 2 ? arguments[2] : !1);
1873
+ ge(this, 4, e, fe, t, arguments.length > 2 && arguments[2]);
1867
1874
  },
1868
1875
  setFloat64: function(e, t) {
1869
- ge(this, 8, e, pe, t, arguments.length > 2 ? arguments[2] : !1);
1876
+ ge(this, 8, e, pe, t, arguments.length > 2 && arguments[2]);
1870
1877
  }
1871
1878
  });
1872
1879
  else {
@@ -2386,7 +2393,7 @@ var Yn = /* @__PURE__ */ s(((e, t) => {
2386
2393
  return i(t, this, o, a > 1 ? arguments[1] : void 0, a > 2 ? arguments[2] : void 0);
2387
2394
  }, o(function() {
2388
2395
  var e = 0;
2389
- return new Int8Array(2).fill({ valueOf: function() {
2396
+ return (/* @__PURE__ */ new Int8Array(2)).fill({ valueOf: function() {
2390
2397
  return e++;
2391
2398
  } }), e !== 1;
2392
2399
  }));
@@ -2417,7 +2424,7 @@ var Yn = /* @__PURE__ */ s(((e, t) => {
2417
2424
  });
2418
2425
  })), Hr = /* @__PURE__ */ s((() => {
2419
2426
  var e = f(), t = B(), n = br(), r = me(), i = wr(), a = A(), o = v(), s = e.RangeError, c = e.Int8Array, l = c && c.prototype, u = l && l.set, d = n.aTypedArray, p = n.exportTypedArrayMethod, m = !o(function() {
2420
- var e = new Uint8ClampedArray(2);
2427
+ var e = /* @__PURE__ */ new Uint8ClampedArray(2);
2421
2428
  return t(u, e, {
2422
2429
  length: 1,
2423
2430
  0: 3
@@ -2493,7 +2500,7 @@ var Yn = /* @__PURE__ */ s(((e, t) => {
2493
2500
  })), Xr = /* @__PURE__ */ s((() => {
2494
2501
  var e = br(), t = Or(), n = me(), r = de(), i = kr(), a = e.aTypedArray, o = e.getTypedArrayConstructor, s = e.exportTypedArrayMethod, c = RangeError, l = function() {
2495
2502
  try {
2496
- new Int8Array(1).with(2, { valueOf: function() {
2503
+ (/* @__PURE__ */ new Int8Array(1)).with(2, { valueOf: function() {
2497
2504
  throw 8;
2498
2505
  } });
2499
2506
  } catch (e) {
@@ -2501,7 +2508,7 @@ var Yn = /* @__PURE__ */ s(((e, t) => {
2501
2508
  }
2502
2509
  }(), u = l && function() {
2503
2510
  try {
2504
- new Int8Array(1).with(-.5, 1);
2511
+ (/* @__PURE__ */ new Int8Array(1)).with(-.5, 1);
2505
2512
  } catch (e) {
2506
2513
  return !0;
2507
2514
  }
@@ -4401,33 +4408,33 @@ var Mo, No, Po, Fo, Io, Lo, Ro, zo, Bo, Vo, Ho, Uo, Wo, Go, Ko, qo, Jo, Yo, Xo,
4401
4408
  };
4402
4409
  })), is = /* @__PURE__ */ s(((e, t) => {
4403
4410
  (function(n, r) {
4404
- var i = "1.0.41", a = "", o = "?", s = "function", c = "undefined", l = "object", u = "string", d = "major", f = "model", p = "name", m = "type", h = "vendor", g = "version", _ = "architecture", v = "console", y = "mobile", b = "tablet", x = "smarttv", S = "wearable", C = "embedded", w = 500, T = "Amazon", E = "Apple", D = "ASUS", O = "BlackBerry", k = "Browser", A = "Chrome", j = "Edge", M = "Firefox", N = "Google", P = "Honor", F = "Huawei", ee = "Lenovo", I = "LG", L = "Microsoft", R = "Motorola", te = "Nvidia", z = "OnePlus", B = "Opera", V = "OPPO", ne = "Samsung", re = "Sharp", ie = "Sony", H = "Xiaomi", ae = "Zebra", oe = "Facebook", se = "Chromium OS", ce = "Mac OS", le = " Browser", ue = function(e, t) {
4411
+ var i = "1.0.41", a = "", o = "function", s = "undefined", c = "object", l = "string", u = "major", d = "model", f = "name", p = "type", m = "vendor", h = "version", g = "architecture", _ = "console", v = "mobile", y = "tablet", b = "smarttv", x = "wearable", S = "embedded", C = "Amazon", w = "Apple", T = "ASUS", E = "BlackBerry", D = "Browser", O = "Chrome", k = "Edge", A = "Firefox", j = "Google", M = "Honor", N = "Huawei", P = "Lenovo", F = "LG", ee = "Microsoft", I = "Motorola", L = "Nvidia", R = "OnePlus", te = "Opera", z = "OPPO", B = "Samsung", V = "Sharp", ne = "Sony", re = "Xiaomi", ie = "Zebra", H = "Facebook", ae = "Chromium OS", oe = "Mac OS", se = " Browser", ce = function(e, t) {
4405
4412
  var n = {};
4406
4413
  for (var r in e) t[r] && t[r].length % 2 == 0 ? n[r] = t[r].concat(e[r]) : n[r] = e[r];
4407
4414
  return n;
4408
- }, de = function(e) {
4415
+ }, le = function(e) {
4409
4416
  for (var t = {}, n = 0; n < e.length; n++) t[e[n].toUpperCase()] = e[n];
4410
4417
  return t;
4411
- }, fe = function(e, t) {
4412
- return typeof e === u ? pe(t).indexOf(pe(e)) !== -1 : !1;
4413
- }, pe = function(e) {
4418
+ }, ue = function(e, t) {
4419
+ return typeof e == l && de(t).indexOf(de(e)) !== -1;
4420
+ }, de = function(e) {
4414
4421
  return e.toLowerCase();
4415
- }, me = function(e) {
4416
- return typeof e === u ? e.replace(/[^\d\.]/g, a).split(".")[0] : r;
4417
- }, he = function(e, t) {
4418
- if (typeof e === u) return e = e.replace(/^\s\s*/, a), typeof t === c ? e : e.substring(0, w);
4419
- }, ge = function(e, t) {
4420
- for (var n = 0, i, a, o, c, u, d; n < t.length && !u;) {
4422
+ }, fe = function(e) {
4423
+ return typeof e == l ? e.replace(/[^\d\.]/g, a).split(".")[0] : r;
4424
+ }, pe = function(e, t) {
4425
+ if (typeof e == l) return e = e.replace(/^\s\s*/, a), typeof t === s ? e : e.substring(0, 500);
4426
+ }, me = function(e, t) {
4427
+ for (var n = 0, i, a, s, l, u, d; n < t.length && !u;) {
4421
4428
  var f = t[n], p = t[n + 1];
4422
- for (i = a = 0; i < f.length && !u && f[i];) if (u = f[i++].exec(e), u) for (o = 0; o < p.length; o++) d = u[++a], c = p[o], typeof c === l && c.length > 0 ? c.length === 2 ? typeof c[1] == s ? this[c[0]] = c[1].call(this, d) : this[c[0]] = c[1] : c.length === 3 ? typeof c[1] === s && !(c[1].exec && c[1].test) ? this[c[0]] = d ? c[1].call(this, d, c[2]) : r : this[c[0]] = d ? d.replace(c[1], c[2]) : r : c.length === 4 && (this[c[0]] = d ? c[3].call(this, d.replace(c[1], c[2])) : r) : this[c] = d || r;
4429
+ for (i = a = 0; i < f.length && !u && f[i];) if (u = f[i++].exec(e), u) for (s = 0; s < p.length; s++) d = u[++a], l = p[s], typeof l == c && l.length > 0 ? l.length === 2 ? typeof l[1] == o ? this[l[0]] = l[1].call(this, d) : this[l[0]] = l[1] : l.length === 3 ? typeof l[1] === o && !(l[1].exec && l[1].test) ? this[l[0]] = d ? l[1].call(this, d, l[2]) : r : this[l[0]] = d ? d.replace(l[1], l[2]) : r : l.length === 4 && (this[l[0]] = d ? l[3].call(this, d.replace(l[1], l[2])) : r) : this[l] = d || r;
4423
4430
  n += 2;
4424
4431
  }
4425
- }, _e = function(e, t) {
4426
- for (var n in t) if (typeof t[n] === l && t[n].length > 0) {
4427
- for (var i = 0; i < t[n].length; i++) if (fe(t[n][i], e)) return n === o ? r : n;
4428
- } else if (fe(t[n], e)) return n === o ? r : n;
4432
+ }, he = function(e, t) {
4433
+ for (var n in t) if (typeof t[n] == c && t[n].length > 0) {
4434
+ for (var i = 0; i < t[n].length; i++) if (ue(t[n][i], e)) return n === "?" ? r : n;
4435
+ } else if (ue(t[n], e)) return n === "?" ? r : n;
4429
4436
  return t.hasOwnProperty("*") ? t["*"] : e;
4430
- }, ve = {
4437
+ }, ge = {
4431
4438
  "1.0": "/8",
4432
4439
  1.2: "/1",
4433
4440
  1.3: "/3",
@@ -4436,7 +4443,7 @@ var Mo, No, Po, Fo, Io, Lo, Ro, zo, Bo, Vo, Ho, Uo, Wo, Go, Ko, qo, Jo, Yo, Xo,
4436
4443
  "2.0.3": "/417",
4437
4444
  "2.0.4": "/419",
4438
4445
  "?": "/"
4439
- }, ye = {
4446
+ }, _e = {
4440
4447
  ME: "4.90",
4441
4448
  "NT 3.11": "NT3.51",
4442
4449
  "NT 4.0": "NT4.0",
@@ -4448,28 +4455,28 @@ var Mo, No, Po, Fo, Io, Lo, Ro, zo, Bo, Vo, Ho, Uo, Wo, Go, Ko, qo, Jo, Yo, Xo,
4448
4455
  8.1: "NT 6.3",
4449
4456
  10: ["NT 6.4", "NT 10.0"],
4450
4457
  RT: "ARM"
4451
- }, be = {
4458
+ }, ve = {
4452
4459
  browser: [
4453
4460
  [/\b(?:crmo|crios)\/([\w\.]+)/i],
4454
- [g, [p, "Chrome"]],
4461
+ [h, [f, "Chrome"]],
4455
4462
  [/edg(?:e|ios|a)?\/([\w\.]+)/i],
4456
- [g, [p, "Edge"]],
4463
+ [h, [f, "Edge"]],
4457
4464
  [
4458
4465
  /(opera mini)\/([-\w\.]+)/i,
4459
4466
  /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,
4460
4467
  /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i
4461
4468
  ],
4462
- [p, g],
4469
+ [f, h],
4463
4470
  [/opios[\/ ]+([\w\.]+)/i],
4464
- [g, [p, B + " Mini"]],
4471
+ [h, [f, te + " Mini"]],
4465
4472
  [/\bop(?:rg)?x\/([\w\.]+)/i],
4466
- [g, [p, B + " GX"]],
4473
+ [h, [f, te + " GX"]],
4467
4474
  [/\bopr\/([\w\.]+)/i],
4468
- [g, [p, B]],
4475
+ [h, [f, te]],
4469
4476
  [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],
4470
- [g, [p, "Baidu"]],
4477
+ [h, [f, "Baidu"]],
4471
4478
  [/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],
4472
- [g, [p, "Maxthon"]],
4479
+ [h, [f, "Maxthon"]],
4473
4480
  [
4474
4481
  /(kindle)\/([\w\.]+)/i,
4475
4482
  /(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,
@@ -4479,79 +4486,79 @@ var Mo, No, Po, Fo, Io, Lo, Ro, zo, Bo, Vo, Ho, Uo, Wo, Go, Ko, qo, Jo, Yo, Xo,
4479
4486
  /(heytap|ovi|115)browser\/([\d\.]+)/i,
4480
4487
  /(weibo)__([\d\.]+)/i
4481
4488
  ],
4482
- [p, g],
4489
+ [f, h],
4483
4490
  [/quark(?:pc)?\/([-\w\.]+)/i],
4484
- [g, [p, "Quark"]],
4491
+ [h, [f, "Quark"]],
4485
4492
  [/\bddg\/([\w\.]+)/i],
4486
- [g, [p, "DuckDuckGo"]],
4493
+ [h, [f, "DuckDuckGo"]],
4487
4494
  [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],
4488
- [g, [p, "UC" + k]],
4495
+ [h, [f, "UC" + D]],
4489
4496
  [
4490
4497
  /microm.+\bqbcore\/([\w\.]+)/i,
4491
4498
  /\bqbcore\/([\w\.]+).+microm/i,
4492
4499
  /micromessenger\/([\w\.]+)/i
4493
4500
  ],
4494
- [g, [p, "WeChat"]],
4501
+ [h, [f, "WeChat"]],
4495
4502
  [/konqueror\/([\w\.]+)/i],
4496
- [g, [p, "Konqueror"]],
4503
+ [h, [f, "Konqueror"]],
4497
4504
  [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],
4498
- [g, [p, "IE"]],
4505
+ [h, [f, "IE"]],
4499
4506
  [/ya(?:search)?browser\/([\w\.]+)/i],
4500
- [g, [p, "Yandex"]],
4507
+ [h, [f, "Yandex"]],
4501
4508
  [/slbrowser\/([\w\.]+)/i],
4502
- [g, [p, "Smart Lenovo " + k]],
4509
+ [h, [f, "Smart Lenovo " + D]],
4503
4510
  [/(avast|avg)\/([\w\.]+)/i],
4504
4511
  [[
4505
- p,
4512
+ f,
4506
4513
  /(.+)/,
4507
- "$1 Secure " + k
4508
- ], g],
4514
+ "$1 Secure " + D
4515
+ ], h],
4509
4516
  [/\bfocus\/([\w\.]+)/i],
4510
- [g, [p, M + " Focus"]],
4517
+ [h, [f, A + " Focus"]],
4511
4518
  [/\bopt\/([\w\.]+)/i],
4512
- [g, [p, B + " Touch"]],
4519
+ [h, [f, te + " Touch"]],
4513
4520
  [/coc_coc\w+\/([\w\.]+)/i],
4514
- [g, [p, "Coc Coc"]],
4521
+ [h, [f, "Coc Coc"]],
4515
4522
  [/dolfin\/([\w\.]+)/i],
4516
- [g, [p, "Dolphin"]],
4523
+ [h, [f, "Dolphin"]],
4517
4524
  [/coast\/([\w\.]+)/i],
4518
- [g, [p, B + " Coast"]],
4525
+ [h, [f, te + " Coast"]],
4519
4526
  [/miuibrowser\/([\w\.]+)/i],
4520
- [g, [p, "MIUI" + le]],
4527
+ [h, [f, "MIUI" + se]],
4521
4528
  [/fxios\/([\w\.-]+)/i],
4522
- [g, [p, M]],
4529
+ [h, [f, A]],
4523
4530
  [/\bqihoobrowser\/?([\w\.]*)/i],
4524
- [g, [p, "360"]],
4531
+ [h, [f, "360"]],
4525
4532
  [/\b(qq)\/([\w\.]+)/i],
4526
4533
  [[
4527
- p,
4534
+ f,
4528
4535
  /(.+)/,
4529
4536
  "$1Browser"
4530
- ], g],
4537
+ ], h],
4531
4538
  [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],
4532
4539
  [[
4533
- p,
4540
+ f,
4534
4541
  /(.+)/,
4535
- "$1" + le
4536
- ], g],
4542
+ "$1" + se
4543
+ ], h],
4537
4544
  [/samsungbrowser\/([\w\.]+)/i],
4538
- [g, [p, ne + " Internet"]],
4545
+ [h, [f, B + " Internet"]],
4539
4546
  [/metasr[\/ ]?([\d\.]+)/i],
4540
- [g, [p, "Sogou Explorer"]],
4547
+ [h, [f, "Sogou Explorer"]],
4541
4548
  [/(sogou)mo\w+\/([\d\.]+)/i],
4542
- [[p, "Sogou Mobile"], g],
4549
+ [[f, "Sogou Mobile"], h],
4543
4550
  [
4544
4551
  /(electron)\/([\w\.]+) safari/i,
4545
4552
  /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,
4546
4553
  /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i
4547
4554
  ],
4548
- [p, g],
4555
+ [f, h],
4549
4556
  [/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i],
4550
- [p],
4557
+ [f],
4551
4558
  [/ome\/([\w\.]+) \w* ?(iron) saf/i, /ome\/([\w\.]+).+qihu (360)[es]e/i],
4552
- [g, p],
4559
+ [h, f],
4553
4560
  [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],
4554
- [[p, oe], g],
4561
+ [[f, H], h],
4555
4562
  [
4556
4563
  /(Klarna)\/([\w\.]+)/i,
4557
4564
  /(kakao(?:talk|story))[\/ ]([\w\.]+)/i,
@@ -4563,37 +4570,37 @@ var Mo, No, Po, Fo, Io, Lo, Ro, zo, Bo, Vo, Ho, Uo, Wo, Go, Ko, qo, Jo, Yo, Xo,
4563
4570
  /(twitter)(?:and| f.+e\/([\w\.]+))/i,
4564
4571
  /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i
4565
4572
  ],
4566
- [p, g],
4573
+ [f, h],
4567
4574
  [/\bgsa\/([\w\.]+) .*safari\//i],
4568
- [g, [p, "GSA"]],
4575
+ [h, [f, "GSA"]],
4569
4576
  [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],
4570
- [g, [p, "TikTok"]],
4577
+ [h, [f, "TikTok"]],
4571
4578
  [/headlesschrome(?:\/([\w\.]+)| )/i],
4572
- [g, [p, A + " Headless"]],
4579
+ [h, [f, O + " Headless"]],
4573
4580
  [/ wv\).+(chrome)\/([\w\.]+)/i],
4574
- [[p, A + " WebView"], g],
4581
+ [[f, O + " WebView"], h],
4575
4582
  [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],
4576
- [g, [p, "Android " + k]],
4583
+ [h, [f, "Android " + D]],
4577
4584
  [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],
4578
- [p, g],
4585
+ [f, h],
4579
4586
  [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],
4580
- [g, [p, "Mobile Safari"]],
4587
+ [h, [f, "Mobile Safari"]],
4581
4588
  [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],
4582
- [g, p],
4589
+ [h, f],
4583
4590
  [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],
4584
- [p, [
4585
- g,
4586
- _e,
4587
- ve
4591
+ [f, [
4592
+ h,
4593
+ he,
4594
+ ge
4588
4595
  ]],
4589
4596
  [/(webkit|khtml)\/([\w\.]+)/i],
4590
- [p, g],
4597
+ [f, h],
4591
4598
  [/(navigator|netscape\d?)\/([-\w\.]+)/i],
4592
- [[p, "Netscape"], g],
4599
+ [[f, "Netscape"], h],
4593
4600
  [/(wolvic|librewolf)\/([\w\.]+)/i],
4594
- [p, g],
4601
+ [f, h],
4595
4602
  [/mobile vr; rv:([\w\.]+)\).+firefox/i],
4596
- [g, [p, M + " Reality"]],
4603
+ [h, [f, A + " Reality"]],
4597
4604
  [
4598
4605
  /ekiohf.+(flow)\/([\w\.]+)/i,
4599
4606
  /(swiftfox)/i,
@@ -4604,47 +4611,47 @@ var Mo, No, Po, Fo, Io, Lo, Ro, zo, Bo, Vo, Ho, Uo, Wo, Go, Ko, qo, Jo, Yo, Xo,
4604
4611
  /(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,
4605
4612
  /\b(links) \(([\w\.]+)/i
4606
4613
  ],
4607
- [p, [
4608
- g,
4614
+ [f, [
4615
+ h,
4609
4616
  /_/g,
4610
4617
  "."
4611
4618
  ]],
4612
4619
  [/(cobalt)\/([\w\.]+)/i],
4613
- [p, [
4614
- g,
4620
+ [f, [
4621
+ h,
4615
4622
  /master.|lts./,
4616
4623
  ""
4617
4624
  ]]
4618
4625
  ],
4619
4626
  cpu: [
4620
4627
  [/\b((amd|x|x86[-_]?|wow|win)64)\b/i],
4621
- [[_, "amd64"]],
4628
+ [[g, "amd64"]],
4622
4629
  [/(ia32(?=;))/i, /\b((i[346]|x)86)(pc)?\b/i],
4623
- [[_, "ia32"]],
4630
+ [[g, "ia32"]],
4624
4631
  [/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],
4625
- [[_, "arm64"]],
4632
+ [[g, "arm64"]],
4626
4633
  [/\b(arm(v[67])?ht?n?[fl]p?)\b/i],
4627
- [[_, "armhf"]],
4634
+ [[g, "armhf"]],
4628
4635
  [/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],
4629
- [[_, "arm"]],
4636
+ [[g, "arm"]],
4630
4637
  [/((ppc|powerpc)(64)?)( mac|;|\))/i],
4631
4638
  [[
4632
- _,
4639
+ g,
4633
4640
  /ower/,
4634
4641
  a,
4635
- pe
4642
+ de
4636
4643
  ]],
4637
4644
  [/ sun4\w[;\)]/i],
4638
- [[_, "sparc"]],
4645
+ [[g, "sparc"]],
4639
4646
  [/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],
4640
- [[_, pe]]
4647
+ [[g, de]]
4641
4648
  ],
4642
4649
  device: [
4643
4650
  [/\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],
4644
4651
  [
4645
- f,
4646
- [h, ne],
4647
- [m, b]
4652
+ d,
4653
+ [m, B],
4654
+ [p, y]
4648
4655
  ],
4649
4656
  [
4650
4657
  /\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,
@@ -4652,15 +4659,15 @@ var Mo, No, Po, Fo, Io, Lo, Ro, zo, Bo, Vo, Ho, Uo, Wo, Go, Ko, qo, Jo, Yo, Xo,
4652
4659
  /sec-(sgh\w+)/i
4653
4660
  ],
4654
4661
  [
4655
- f,
4656
- [h, ne],
4657
- [m, y]
4662
+ d,
4663
+ [m, B],
4664
+ [p, v]
4658
4665
  ],
4659
4666
  [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],
4660
4667
  [
4661
- f,
4662
- [h, E],
4663
- [m, y]
4668
+ d,
4669
+ [m, w],
4670
+ [p, v]
4664
4671
  ],
4665
4672
  [
4666
4673
  /\((ipad);[-\w\),; ]+apple/i,
@@ -4668,51 +4675,51 @@ var Mo, No, Po, Fo, Io, Lo, Ro, zo, Bo, Vo, Ho, Uo, Wo, Go, Ko, qo, Jo, Yo, Xo,
4668
4675
  /\b(ipad)\d\d?,\d\d?[;\]].+ios/i
4669
4676
  ],
4670
4677
  [
4671
- f,
4672
- [h, E],
4673
- [m, b]
4678
+ d,
4679
+ [m, w],
4680
+ [p, y]
4674
4681
  ],
4675
4682
  [/(macintosh);/i],
4676
- [f, [h, E]],
4683
+ [d, [m, w]],
4677
4684
  [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],
4678
4685
  [
4679
- f,
4680
- [h, re],
4681
- [m, y]
4686
+ d,
4687
+ [m, V],
4688
+ [p, v]
4682
4689
  ],
4683
4690
  [/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],
4684
4691
  [
4685
- f,
4686
- [h, P],
4687
- [m, b]
4692
+ d,
4693
+ [m, M],
4694
+ [p, y]
4688
4695
  ],
4689
4696
  [/honor([-\w ]+)[;\)]/i],
4690
4697
  [
4691
- f,
4692
- [h, P],
4693
- [m, y]
4698
+ d,
4699
+ [m, M],
4700
+ [p, v]
4694
4701
  ],
4695
4702
  [/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],
4696
4703
  [
4697
- f,
4698
- [h, F],
4699
- [m, b]
4704
+ d,
4705
+ [m, N],
4706
+ [p, y]
4700
4707
  ],
4701
4708
  [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],
4702
4709
  [
4703
- f,
4704
- [h, F],
4705
- [m, y]
4710
+ d,
4711
+ [m, N],
4712
+ [p, v]
4706
4713
  ],
4707
4714
  [/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i, /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],
4708
4715
  [
4709
4716
  [
4710
- f,
4717
+ d,
4711
4718
  /_/g,
4712
4719
  " "
4713
4720
  ],
4714
- [h, H],
4715
- [m, b]
4721
+ [m, re],
4722
+ [p, y]
4716
4723
  ],
4717
4724
  [
4718
4725
  /\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,
@@ -4725,47 +4732,47 @@ var Mo, No, Po, Fo, Io, Lo, Ro, zo, Bo, Vo, Ho, Uo, Wo, Go, Ko, qo, Jo, Yo, Xo,
4725
4732
  ],
4726
4733
  [
4727
4734
  [
4728
- f,
4735
+ d,
4729
4736
  /_/g,
4730
4737
  " "
4731
4738
  ],
4732
- [h, H],
4733
- [m, y]
4739
+ [m, re],
4740
+ [p, v]
4734
4741
  ],
4735
4742
  [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],
4736
4743
  [
4737
- f,
4738
- [h, V],
4739
- [m, y]
4744
+ d,
4745
+ [m, z],
4746
+ [p, v]
4740
4747
  ],
4741
4748
  [/\b(opd2(\d{3}a?))(?: bui|\))/i],
4742
4749
  [
4743
- f,
4750
+ d,
4744
4751
  [
4745
- h,
4746
- _e,
4752
+ m,
4753
+ he,
4747
4754
  {
4748
4755
  OnePlus: [
4749
4756
  "304",
4750
4757
  "403",
4751
4758
  "203"
4752
4759
  ],
4753
- "*": V
4760
+ "*": z
4754
4761
  }
4755
4762
  ],
4756
- [m, b]
4763
+ [p, y]
4757
4764
  ],
4758
4765
  [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i],
4759
4766
  [
4760
- f,
4761
- [h, "Vivo"],
4762
- [m, y]
4767
+ d,
4768
+ [m, "Vivo"],
4769
+ [p, v]
4763
4770
  ],
4764
4771
  [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],
4765
4772
  [
4766
- f,
4767
- [h, "Realme"],
4768
- [m, y]
4773
+ d,
4774
+ [m, "Realme"],
4775
+ [p, v]
4769
4776
  ],
4770
4777
  [
4771
4778
  /\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,
@@ -4773,21 +4780,21 @@ var Mo, No, Po, Fo, Io, Lo, Ro, zo, Bo, Vo, Ho, Uo, Wo, Go, Ko, qo, Jo, Yo, Xo,
4773
4780
  /((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i
4774
4781
  ],
4775
4782
  [
4776
- f,
4777
- [h, R],
4778
- [m, y]
4783
+ d,
4784
+ [m, I],
4785
+ [p, v]
4779
4786
  ],
4780
4787
  [/\b(mz60\d|xoom[2 ]{0,2}) build\//i],
4781
4788
  [
4782
- f,
4783
- [h, R],
4784
- [m, b]
4789
+ d,
4790
+ [m, I],
4791
+ [p, y]
4785
4792
  ],
4786
4793
  [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],
4787
4794
  [
4788
- f,
4789
- [h, I],
4790
- [m, b]
4795
+ d,
4796
+ [m, F],
4797
+ [p, y]
4791
4798
  ],
4792
4799
  [
4793
4800
  /(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,
@@ -4795,61 +4802,61 @@ var Mo, No, Po, Fo, Io, Lo, Ro, zo, Bo, Vo, Ho, Uo, Wo, Go, Ko, qo, Jo, Yo, Xo,
4795
4802
  /\blg-?([\d\w]+) bui/i
4796
4803
  ],
4797
4804
  [
4798
- f,
4799
- [h, I],
4800
- [m, y]
4805
+ d,
4806
+ [m, F],
4807
+ [p, v]
4801
4808
  ],
4802
4809
  [/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i, /lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],
4803
4810
  [
4804
- f,
4805
- [h, ee],
4806
- [m, b]
4811
+ d,
4812
+ [m, P],
4813
+ [p, y]
4807
4814
  ],
4808
4815
  [/(nokia) (t[12][01])/i],
4809
4816
  [
4810
- h,
4811
- f,
4812
- [m, b]
4817
+ m,
4818
+ d,
4819
+ [p, y]
4813
4820
  ],
4814
4821
  [/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i, /nokia[-_ ]?(([-\w\. ]*))/i],
4815
4822
  [
4816
4823
  [
4817
- f,
4824
+ d,
4818
4825
  /_/g,
4819
4826
  " "
4820
4827
  ],
4821
- [m, y],
4822
- [h, "Nokia"]
4828
+ [p, v],
4829
+ [m, "Nokia"]
4823
4830
  ],
4824
4831
  [/(pixel (c|tablet))\b/i],
4825
4832
  [
4826
- f,
4827
- [h, N],
4828
- [m, b]
4833
+ d,
4834
+ [m, j],
4835
+ [p, y]
4829
4836
  ],
4830
4837
  [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],
4831
4838
  [
4832
- f,
4833
- [h, N],
4834
- [m, y]
4839
+ d,
4840
+ [m, j],
4841
+ [p, v]
4835
4842
  ],
4836
4843
  [/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],
4837
4844
  [
4838
- f,
4839
- [h, ie],
4840
- [m, y]
4845
+ d,
4846
+ [m, ne],
4847
+ [p, v]
4841
4848
  ],
4842
4849
  [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i],
4843
4850
  [
4844
- [f, "Xperia Tablet"],
4845
- [h, ie],
4846
- [m, b]
4851
+ [d, "Xperia Tablet"],
4852
+ [m, ne],
4853
+ [p, y]
4847
4854
  ],
4848
4855
  [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],
4849
4856
  [
4850
- f,
4851
- [h, z],
4852
- [m, y]
4857
+ d,
4858
+ [m, R],
4859
+ [p, v]
4853
4860
  ],
4854
4861
  [
4855
4862
  /(alexa)webm/i,
@@ -4857,49 +4864,49 @@ var Mo, No, Po, Fo, Io, Lo, Ro, zo, Bo, Vo, Ho, Uo, Wo, Go, Ko, qo, Jo, Yo, Xo,
4857
4864
  /(kf[a-z]+)( bui|\)).+silk\//i
4858
4865
  ],
4859
4866
  [
4860
- f,
4861
- [h, T],
4862
- [m, b]
4867
+ d,
4868
+ [m, C],
4869
+ [p, y]
4863
4870
  ],
4864
4871
  [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],
4865
4872
  [
4866
4873
  [
4867
- f,
4874
+ d,
4868
4875
  /(.+)/g,
4869
4876
  "Fire Phone $1"
4870
4877
  ],
4871
- [h, T],
4872
- [m, y]
4878
+ [m, C],
4879
+ [p, v]
4873
4880
  ],
4874
4881
  [/(playbook);[-\w\),; ]+(rim)/i],
4875
4882
  [
4876
- f,
4877
- h,
4878
- [m, b]
4883
+ d,
4884
+ m,
4885
+ [p, y]
4879
4886
  ],
4880
4887
  [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i],
4881
4888
  [
4882
- f,
4883
- [h, O],
4884
- [m, y]
4889
+ d,
4890
+ [m, E],
4891
+ [p, v]
4885
4892
  ],
4886
4893
  [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],
4887
4894
  [
4888
- f,
4889
- [h, D],
4890
- [m, b]
4895
+ d,
4896
+ [m, T],
4897
+ [p, y]
4891
4898
  ],
4892
4899
  [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],
4893
4900
  [
4894
- f,
4895
- [h, D],
4896
- [m, y]
4901
+ d,
4902
+ [m, T],
4903
+ [p, v]
4897
4904
  ],
4898
4905
  [/(nexus 9)/i],
4899
4906
  [
4900
- f,
4901
- [h, "HTC"],
4902
- [m, b]
4907
+ d,
4908
+ [m, "HTC"],
4909
+ [p, y]
4903
4910
  ],
4904
4911
  [
4905
4912
  /(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,
@@ -4907,27 +4914,27 @@ var Mo, No, Po, Fo, Io, Lo, Ro, zo, Bo, Vo, Ho, Uo, Wo, Go, Ko, qo, Jo, Yo, Xo,
4907
4914
  /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i
4908
4915
  ],
4909
4916
  [
4910
- h,
4917
+ m,
4911
4918
  [
4912
- f,
4919
+ d,
4913
4920
  /_/g,
4914
4921
  " "
4915
4922
  ],
4916
- [m, y]
4923
+ [p, v]
4917
4924
  ],
4918
4925
  [/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],
4919
4926
  [
4920
- f,
4921
- [h, "TCL"],
4922
- [m, b]
4927
+ d,
4928
+ [m, "TCL"],
4929
+ [p, y]
4923
4930
  ],
4924
4931
  [/(itel) ((\w+))/i],
4925
4932
  [
4926
- [h, pe],
4927
- f,
4933
+ [m, de],
4934
+ d,
4928
4935
  [
4929
- m,
4930
- _e,
4936
+ p,
4937
+ he,
4931
4938
  {
4932
4939
  tablet: ["p10001l", "w7001"],
4933
4940
  "*": "mobile"
@@ -4936,63 +4943,63 @@ var Mo, No, Po, Fo, Io, Lo, Ro, zo, Bo, Vo, Ho, Uo, Wo, Go, Ko, qo, Jo, Yo, Xo,
4936
4943
  ],
4937
4944
  [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],
4938
4945
  [
4939
- f,
4940
- [h, "Acer"],
4941
- [m, b]
4946
+ d,
4947
+ [m, "Acer"],
4948
+ [p, y]
4942
4949
  ],
4943
4950
  [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i],
4944
4951
  [
4945
- f,
4946
- [h, "Meizu"],
4947
- [m, y]
4952
+ d,
4953
+ [m, "Meizu"],
4954
+ [p, v]
4948
4955
  ],
4949
4956
  [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],
4950
4957
  [
4951
- f,
4952
- [h, "Ulefone"],
4953
- [m, y]
4958
+ d,
4959
+ [m, "Ulefone"],
4960
+ [p, v]
4954
4961
  ],
4955
4962
  [/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i],
4956
4963
  [
4957
- f,
4958
- [h, "Energizer"],
4959
- [m, y]
4964
+ d,
4965
+ [m, "Energizer"],
4966
+ [p, v]
4960
4967
  ],
4961
4968
  [/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],
4962
4969
  [
4963
- f,
4964
- [h, "Cat"],
4965
- [m, y]
4970
+ d,
4971
+ [m, "Cat"],
4972
+ [p, v]
4966
4973
  ],
4967
4974
  [/((?:new )?andromax[\w- ]+)(?: bui|\))/i],
4968
4975
  [
4969
- f,
4970
- [h, "Smartfren"],
4971
- [m, y]
4976
+ d,
4977
+ [m, "Smartfren"],
4978
+ [p, v]
4972
4979
  ],
4973
4980
  [/droid.+; (a(?:015|06[35]|142p?))/i],
4974
4981
  [
4975
- f,
4976
- [h, "Nothing"],
4977
- [m, y]
4982
+ d,
4983
+ [m, "Nothing"],
4984
+ [p, v]
4978
4985
  ],
4979
4986
  [/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i, /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],
4980
4987
  [
4981
- f,
4982
- [h, "Archos"],
4983
- [m, b]
4988
+ d,
4989
+ [m, "Archos"],
4990
+ [p, y]
4984
4991
  ],
4985
4992
  [/archos ([\w ]+)( b|\))/i, /; (ac[3-6]\d\w{2,8})( b|\))/i],
4986
4993
  [
4987
- f,
4988
- [h, "Archos"],
4989
- [m, y]
4994
+ d,
4995
+ [m, "Archos"],
4996
+ [p, v]
4990
4997
  ],
4991
4998
  [/(imo) (tab \w+)/i, /(infinix) (x1101b?)/i],
4992
4999
  [
4993
- h,
4994
- f,
4995
- [m, b]
5000
+ m,
5001
+ d,
5002
+ [p, y]
4996
5003
  ],
4997
5004
  [
4998
5005
  /(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,
@@ -5003,9 +5010,9 @@ var Mo, No, Po, Fo, Io, Lo, Ro, zo, Bo, Vo, Ho, Uo, Wo, Go, Ko, qo, Jo, Yo, Xo,
5003
5010
  /(oppo) ?([\w ]+) bui/i
5004
5011
  ],
5005
5012
  [
5006
- h,
5007
- f,
5008
- [m, y]
5013
+ m,
5014
+ d,
5015
+ [p, v]
5009
5016
  ],
5010
5017
  [
5011
5018
  /(kobo)\s(ereader|touch)/i,
@@ -5019,384 +5026,384 @@ var Mo, No, Po, Fo, Io, Lo, Ro, zo, Bo, Vo, Ho, Uo, Wo, Go, Ko, qo, Jo, Yo, Xo,
5019
5026
  /(vodafone) ([\w ]+)(?:\)| bui)/i
5020
5027
  ],
5021
5028
  [
5022
- h,
5023
- f,
5024
- [m, b]
5029
+ m,
5030
+ d,
5031
+ [p, y]
5025
5032
  ],
5026
5033
  [/(surface duo)/i],
5027
5034
  [
5028
- f,
5029
- [h, L],
5030
- [m, b]
5035
+ d,
5036
+ [m, ee],
5037
+ [p, y]
5031
5038
  ],
5032
5039
  [/droid [\d\.]+; (fp\du?)(?: b|\))/i],
5033
5040
  [
5034
- f,
5035
- [h, "Fairphone"],
5036
- [m, y]
5041
+ d,
5042
+ [m, "Fairphone"],
5043
+ [p, v]
5037
5044
  ],
5038
5045
  [/(u304aa)/i],
5039
5046
  [
5040
- f,
5041
- [h, "AT&T"],
5042
- [m, y]
5047
+ d,
5048
+ [m, "AT&T"],
5049
+ [p, v]
5043
5050
  ],
5044
5051
  [/\bsie-(\w*)/i],
5045
5052
  [
5046
- f,
5047
- [h, "Siemens"],
5048
- [m, y]
5053
+ d,
5054
+ [m, "Siemens"],
5055
+ [p, v]
5049
5056
  ],
5050
5057
  [/\b(rct\w+) b/i],
5051
5058
  [
5052
- f,
5053
- [h, "RCA"],
5054
- [m, b]
5059
+ d,
5060
+ [m, "RCA"],
5061
+ [p, y]
5055
5062
  ],
5056
5063
  [/\b(venue[\d ]{2,7}) b/i],
5057
5064
  [
5058
- f,
5059
- [h, "Dell"],
5060
- [m, b]
5065
+ d,
5066
+ [m, "Dell"],
5067
+ [p, y]
5061
5068
  ],
5062
5069
  [/\b(q(?:mv|ta)\w+) b/i],
5063
5070
  [
5064
- f,
5065
- [h, "Verizon"],
5066
- [m, b]
5071
+ d,
5072
+ [m, "Verizon"],
5073
+ [p, y]
5067
5074
  ],
5068
5075
  [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],
5069
5076
  [
5070
- f,
5071
- [h, "Barnes & Noble"],
5072
- [m, b]
5077
+ d,
5078
+ [m, "Barnes & Noble"],
5079
+ [p, y]
5073
5080
  ],
5074
5081
  [/\b(tm\d{3}\w+) b/i],
5075
5082
  [
5076
- f,
5077
- [h, "NuVision"],
5078
- [m, b]
5083
+ d,
5084
+ [m, "NuVision"],
5085
+ [p, y]
5079
5086
  ],
5080
5087
  [/\b(k88) b/i],
5081
5088
  [
5082
- f,
5083
- [h, "ZTE"],
5084
- [m, b]
5089
+ d,
5090
+ [m, "ZTE"],
5091
+ [p, y]
5085
5092
  ],
5086
5093
  [/\b(nx\d{3}j) b/i],
5087
5094
  [
5088
- f,
5089
- [h, "ZTE"],
5090
- [m, y]
5095
+ d,
5096
+ [m, "ZTE"],
5097
+ [p, v]
5091
5098
  ],
5092
5099
  [/\b(gen\d{3}) b.+49h/i],
5093
5100
  [
5094
- f,
5095
- [h, "Swiss"],
5096
- [m, y]
5101
+ d,
5102
+ [m, "Swiss"],
5103
+ [p, v]
5097
5104
  ],
5098
5105
  [/\b(zur\d{3}) b/i],
5099
5106
  [
5100
- f,
5101
- [h, "Swiss"],
5102
- [m, b]
5107
+ d,
5108
+ [m, "Swiss"],
5109
+ [p, y]
5103
5110
  ],
5104
5111
  [/\b((zeki)?tb.*\b) b/i],
5105
5112
  [
5106
- f,
5107
- [h, "Zeki"],
5108
- [m, b]
5113
+ d,
5114
+ [m, "Zeki"],
5115
+ [p, y]
5109
5116
  ],
5110
5117
  [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i],
5111
5118
  [
5112
- [h, "Dragon Touch"],
5113
- f,
5114
- [m, b]
5119
+ [m, "Dragon Touch"],
5120
+ d,
5121
+ [p, y]
5115
5122
  ],
5116
5123
  [/\b(ns-?\w{0,9}) b/i],
5117
5124
  [
5118
- f,
5119
- [h, "Insignia"],
5120
- [m, b]
5125
+ d,
5126
+ [m, "Insignia"],
5127
+ [p, y]
5121
5128
  ],
5122
5129
  [/\b((nxa|next)-?\w{0,9}) b/i],
5123
5130
  [
5124
- f,
5125
- [h, "NextBook"],
5126
- [m, b]
5131
+ d,
5132
+ [m, "NextBook"],
5133
+ [p, y]
5127
5134
  ],
5128
5135
  [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],
5129
5136
  [
5130
- [h, "Voice"],
5131
- f,
5132
- [m, y]
5137
+ [m, "Voice"],
5138
+ d,
5139
+ [p, v]
5133
5140
  ],
5134
5141
  [/\b(lvtel\-)?(v1[12]) b/i],
5135
5142
  [
5136
- [h, "LvTel"],
5137
- f,
5138
- [m, y]
5143
+ [m, "LvTel"],
5144
+ d,
5145
+ [p, v]
5139
5146
  ],
5140
5147
  [/\b(ph-1) /i],
5141
5148
  [
5142
- f,
5143
- [h, "Essential"],
5144
- [m, y]
5149
+ d,
5150
+ [m, "Essential"],
5151
+ [p, v]
5145
5152
  ],
5146
5153
  [/\b(v(100md|700na|7011|917g).*\b) b/i],
5147
5154
  [
5148
- f,
5149
- [h, "Envizen"],
5150
- [m, b]
5155
+ d,
5156
+ [m, "Envizen"],
5157
+ [p, y]
5151
5158
  ],
5152
5159
  [/\b(trio[-\w\. ]+) b/i],
5153
5160
  [
5154
- f,
5155
- [h, "MachSpeed"],
5156
- [m, b]
5161
+ d,
5162
+ [m, "MachSpeed"],
5163
+ [p, y]
5157
5164
  ],
5158
5165
  [/\btu_(1491) b/i],
5159
5166
  [
5160
- f,
5161
- [h, "Rotor"],
5162
- [m, b]
5167
+ d,
5168
+ [m, "Rotor"],
5169
+ [p, y]
5163
5170
  ],
5164
5171
  [/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],
5165
5172
  [
5166
- f,
5167
- [h, te],
5168
- [m, b]
5173
+ d,
5174
+ [m, L],
5175
+ [p, y]
5169
5176
  ],
5170
5177
  [/(sprint) (\w+)/i],
5171
5178
  [
5172
- h,
5173
- f,
5174
- [m, y]
5179
+ m,
5180
+ d,
5181
+ [p, v]
5175
5182
  ],
5176
5183
  [/(kin\.[onetw]{3})/i],
5177
5184
  [
5178
5185
  [
5179
- f,
5186
+ d,
5180
5187
  /\./g,
5181
5188
  " "
5182
5189
  ],
5183
- [h, L],
5184
- [m, y]
5190
+ [m, ee],
5191
+ [p, v]
5185
5192
  ],
5186
5193
  [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],
5187
5194
  [
5188
- f,
5189
- [h, ae],
5190
- [m, b]
5195
+ d,
5196
+ [m, ie],
5197
+ [p, y]
5191
5198
  ],
5192
5199
  [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],
5193
5200
  [
5194
- f,
5195
- [h, ae],
5196
- [m, y]
5201
+ d,
5202
+ [m, ie],
5203
+ [p, v]
5197
5204
  ],
5198
5205
  [/smart-tv.+(samsung)/i],
5199
- [h, [m, x]],
5206
+ [m, [p, b]],
5200
5207
  [/hbbtv.+maple;(\d+)/i],
5201
5208
  [
5202
5209
  [
5203
- f,
5210
+ d,
5204
5211
  /^/,
5205
5212
  "SmartTV"
5206
5213
  ],
5207
- [h, ne],
5208
- [m, x]
5214
+ [m, B],
5215
+ [p, b]
5209
5216
  ],
5210
5217
  [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],
5211
- [[h, I], [m, x]],
5218
+ [[m, F], [p, b]],
5212
5219
  [/(apple) ?tv/i],
5213
5220
  [
5214
- h,
5215
- [f, E + " TV"],
5216
- [m, x]
5221
+ m,
5222
+ [d, w + " TV"],
5223
+ [p, b]
5217
5224
  ],
5218
5225
  [/crkey/i],
5219
5226
  [
5220
- [f, A + "cast"],
5221
- [h, N],
5222
- [m, x]
5227
+ [d, O + "cast"],
5228
+ [m, j],
5229
+ [p, b]
5223
5230
  ],
5224
5231
  [/droid.+aft(\w+)( bui|\))/i],
5225
5232
  [
5226
- f,
5227
- [h, T],
5228
- [m, x]
5233
+ d,
5234
+ [m, C],
5235
+ [p, b]
5229
5236
  ],
5230
5237
  [/(shield \w+ tv)/i],
5231
5238
  [
5232
- f,
5233
- [h, te],
5234
- [m, x]
5239
+ d,
5240
+ [m, L],
5241
+ [p, b]
5235
5242
  ],
5236
5243
  [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i],
5237
5244
  [
5238
- f,
5239
- [h, re],
5240
- [m, x]
5245
+ d,
5246
+ [m, V],
5247
+ [p, b]
5241
5248
  ],
5242
5249
  [/(bravia[\w ]+)( bui|\))/i],
5243
5250
  [
5244
- f,
5245
- [h, ie],
5246
- [m, x]
5251
+ d,
5252
+ [m, ne],
5253
+ [p, b]
5247
5254
  ],
5248
5255
  [/(mi(tv|box)-?\w+) bui/i],
5249
5256
  [
5250
- f,
5251
- [h, H],
5252
- [m, x]
5257
+ d,
5258
+ [m, re],
5259
+ [p, b]
5253
5260
  ],
5254
5261
  [/Hbbtv.*(technisat) (.*);/i],
5255
5262
  [
5256
- h,
5257
- f,
5258
- [m, x]
5263
+ m,
5264
+ d,
5265
+ [p, b]
5259
5266
  ],
5260
5267
  [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],
5261
5268
  [
5262
- [h, he],
5263
- [f, he],
5264
- [m, x]
5269
+ [m, pe],
5270
+ [d, pe],
5271
+ [p, b]
5265
5272
  ],
5266
5273
  [/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],
5267
- [f, [m, x]],
5274
+ [d, [p, b]],
5268
5275
  [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],
5269
- [[m, x]],
5276
+ [[p, b]],
5270
5277
  [/(ouya)/i, /(nintendo) ([wids3utch]+)/i],
5271
5278
  [
5272
- h,
5273
- f,
5274
- [m, v]
5279
+ m,
5280
+ d,
5281
+ [p, _]
5275
5282
  ],
5276
5283
  [/droid.+; (shield)( bui|\))/i],
5277
5284
  [
5278
- f,
5279
- [h, te],
5280
- [m, v]
5285
+ d,
5286
+ [m, L],
5287
+ [p, _]
5281
5288
  ],
5282
5289
  [/(playstation \w+)/i],
5283
5290
  [
5284
- f,
5285
- [h, ie],
5286
- [m, v]
5291
+ d,
5292
+ [m, ne],
5293
+ [p, _]
5287
5294
  ],
5288
5295
  [/\b(xbox(?: one)?(?!; xbox))[\); ]/i],
5289
5296
  [
5290
- f,
5291
- [h, L],
5292
- [m, v]
5297
+ d,
5298
+ [m, ee],
5299
+ [p, _]
5293
5300
  ],
5294
5301
  [/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],
5295
5302
  [
5296
- f,
5297
- [h, ne],
5298
- [m, S]
5303
+ d,
5304
+ [m, B],
5305
+ [p, x]
5299
5306
  ],
5300
5307
  [/((pebble))app/i, /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],
5301
5308
  [
5302
- h,
5303
- f,
5304
- [m, S]
5309
+ m,
5310
+ d,
5311
+ [p, x]
5305
5312
  ],
5306
5313
  [/(ow(?:19|20)?we?[1-3]{1,3})/i],
5307
5314
  [
5308
- f,
5309
- [h, V],
5310
- [m, S]
5315
+ d,
5316
+ [m, z],
5317
+ [p, x]
5311
5318
  ],
5312
5319
  [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],
5313
5320
  [
5314
- f,
5315
- [h, E],
5316
- [m, S]
5321
+ d,
5322
+ [m, w],
5323
+ [p, x]
5317
5324
  ],
5318
5325
  [/(opwwe\d{3})/i],
5319
5326
  [
5320
- f,
5321
- [h, z],
5322
- [m, S]
5327
+ d,
5328
+ [m, R],
5329
+ [p, x]
5323
5330
  ],
5324
5331
  [/(moto 360)/i],
5325
5332
  [
5326
- f,
5327
- [h, R],
5328
- [m, S]
5333
+ d,
5334
+ [m, I],
5335
+ [p, x]
5329
5336
  ],
5330
5337
  [/(smartwatch 3)/i],
5331
5338
  [
5332
- f,
5333
- [h, ie],
5334
- [m, S]
5339
+ d,
5340
+ [m, ne],
5341
+ [p, x]
5335
5342
  ],
5336
5343
  [/(g watch r)/i],
5337
5344
  [
5338
- f,
5339
- [h, I],
5340
- [m, S]
5345
+ d,
5346
+ [m, F],
5347
+ [p, x]
5341
5348
  ],
5342
5349
  [/droid.+; (wt63?0{2,3})\)/i],
5343
5350
  [
5344
- f,
5345
- [h, ae],
5346
- [m, S]
5351
+ d,
5352
+ [m, ie],
5353
+ [p, x]
5347
5354
  ],
5348
5355
  [/droid.+; (glass) \d/i],
5349
5356
  [
5350
- f,
5351
- [h, N],
5352
- [m, S]
5357
+ d,
5358
+ [m, j],
5359
+ [p, x]
5353
5360
  ],
5354
5361
  [/(pico) (4|neo3(?: link|pro)?)/i],
5355
5362
  [
5356
- h,
5357
- f,
5358
- [m, S]
5363
+ m,
5364
+ d,
5365
+ [p, x]
5359
5366
  ],
5360
5367
  [/; (quest( \d| pro)?)/i],
5361
5368
  [
5362
- f,
5363
- [h, oe],
5364
- [m, S]
5369
+ d,
5370
+ [m, H],
5371
+ [p, x]
5365
5372
  ],
5366
5373
  [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],
5367
- [h, [m, C]],
5374
+ [m, [p, S]],
5368
5375
  [/(aeobc)\b/i],
5369
5376
  [
5370
- f,
5371
- [h, T],
5372
- [m, C]
5377
+ d,
5378
+ [m, C],
5379
+ [p, S]
5373
5380
  ],
5374
5381
  [/(homepod).+mac os/i],
5375
5382
  [
5376
- f,
5377
- [h, E],
5378
- [m, C]
5383
+ d,
5384
+ [m, w],
5385
+ [p, S]
5379
5386
  ],
5380
5387
  [/windows iot/i],
5381
- [[m, C]],
5388
+ [[p, S]],
5382
5389
  [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],
5383
- [f, [m, y]],
5390
+ [d, [p, v]],
5384
5391
  [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],
5385
- [f, [m, b]],
5392
+ [d, [p, y]],
5386
5393
  [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],
5387
- [[m, b]],
5394
+ [[p, y]],
5388
5395
  [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],
5389
- [[m, y]],
5396
+ [[p, v]],
5390
5397
  [/droid .+?; ([\w\. -]+)( bui|\))/i],
5391
- [f, [h, "Generic"]]
5398
+ [d, [m, "Generic"]]
5392
5399
  ],
5393
5400
  engine: [
5394
5401
  [/windows.+ edge\/([\w\.]+)/i],
5395
- [g, [p, j + "HTML"]],
5402
+ [h, [f, k + "HTML"]],
5396
5403
  [/(arkweb)\/([\w\.]+)/i],
5397
- [p, g],
5404
+ [f, h],
5398
5405
  [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],
5399
- [g, [p, "Blink"]],
5406
+ [h, [f, "Blink"]],
5400
5407
  [
5401
5408
  /(presto)\/([\w\.]+)/i,
5402
5409
  /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,
@@ -5405,20 +5412,20 @@ var Mo, No, Po, Fo, Io, Lo, Ro, zo, Bo, Vo, Ho, Uo, Wo, Go, Ko, qo, Jo, Yo, Xo,
5405
5412
  /(icab)[\/ ]([23]\.[\d\.]+)/i,
5406
5413
  /\b(libweb)/i
5407
5414
  ],
5408
- [p, g],
5415
+ [f, h],
5409
5416
  [/ladybird\//i],
5410
- [[p, "LibWeb"]],
5417
+ [[f, "LibWeb"]],
5411
5418
  [/rv\:([\w\.]{1,9})\b.+(gecko)/i],
5412
- [g, p]
5419
+ [h, f]
5413
5420
  ],
5414
5421
  os: [
5415
5422
  [/microsoft (windows) (vista|xp)/i],
5416
- [p, g],
5423
+ [f, h],
5417
5424
  [/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],
5418
- [p, [
5419
- g,
5420
- _e,
5421
- ye
5425
+ [f, [
5426
+ h,
5427
+ he,
5428
+ _e
5422
5429
  ]],
5423
5430
  [
5424
5431
  /windows nt 6\.2; (arm)/i,
@@ -5426,50 +5433,50 @@ var Mo, No, Po, Fo, Io, Lo, Ro, zo, Bo, Vo, Ho, Uo, Wo, Go, Ko, qo, Jo, Yo, Xo,
5426
5433
  /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i
5427
5434
  ],
5428
5435
  [[
5429
- g,
5430
- _e,
5431
- ye
5432
- ], [p, "Windows"]],
5436
+ h,
5437
+ he,
5438
+ _e
5439
+ ], [f, "Windows"]],
5433
5440
  [
5434
5441
  /[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,
5435
5442
  /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,
5436
5443
  /cfnetwork\/.+darwin/i
5437
5444
  ],
5438
5445
  [[
5439
- g,
5446
+ h,
5440
5447
  /_/g,
5441
5448
  "."
5442
- ], [p, "iOS"]],
5449
+ ], [f, "iOS"]],
5443
5450
  [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i],
5444
- [[p, ce], [
5445
- g,
5451
+ [[f, oe], [
5452
+ h,
5446
5453
  /_/g,
5447
5454
  "."
5448
5455
  ]],
5449
5456
  [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],
5450
- [g, p],
5457
+ [h, f],
5451
5458
  [/(ubuntu) ([\w\.]+) like android/i],
5452
5459
  [[
5453
- p,
5460
+ f,
5454
5461
  /(.+)/,
5455
5462
  "$1 Touch"
5456
- ], g],
5463
+ ], h],
5457
5464
  [/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],
5458
- [p, g],
5465
+ [f, h],
5459
5466
  [/\(bb(10);/i],
5460
- [g, [p, O]],
5467
+ [h, [f, E]],
5461
5468
  [/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],
5462
- [g, [p, "Symbian"]],
5469
+ [h, [f, "Symbian"]],
5463
5470
  [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],
5464
- [g, [p, M + " OS"]],
5471
+ [h, [f, A + " OS"]],
5465
5472
  [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],
5466
- [g, [p, "webOS"]],
5473
+ [h, [f, "webOS"]],
5467
5474
  [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],
5468
- [g, [p, "watchOS"]],
5475
+ [h, [f, "watchOS"]],
5469
5476
  [/crkey\/([\d\.]+)/i],
5470
- [g, [p, A + "cast"]],
5477
+ [h, [f, O + "cast"]],
5471
5478
  [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],
5472
- [[p, se], g],
5479
+ [[f, ae], h],
5473
5480
  [
5474
5481
  /panasonic;(viera)/i,
5475
5482
  /(netrange)mmh/i,
@@ -5485,35 +5492,35 @@ var Mo, No, Po, Fo, Io, Lo, Ro, zo, Bo, Vo, Ho, Uo, Wo, Go, Ko, qo, Jo, Yo, Xo,
5485
5492
  /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,
5486
5493
  /(haiku) (\w+)/i
5487
5494
  ],
5488
- [p, g],
5495
+ [f, h],
5489
5496
  [/(sunos) ?([\w\.\d]*)/i],
5490
- [[p, "Solaris"], g],
5497
+ [[f, "Solaris"], h],
5491
5498
  [
5492
5499
  /((?:open)?solaris)[-\/ ]?([\w\.]*)/i,
5493
5500
  /(aix) ((\d)(?=\.|\)| )[\w\.])*/i,
5494
5501
  /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,
5495
5502
  /(unix) ?([\w\.]*)/i
5496
5503
  ],
5497
- [p, g]
5504
+ [f, h]
5498
5505
  ]
5499
- }, xe = function(e, t) {
5500
- if (typeof e === l && (t = e, e = r), !(this instanceof xe)) return new xe(e, t).getResult();
5501
- var i = typeof n !== c && n.navigator ? n.navigator : r, o = e || (i && i.userAgent ? i.userAgent : a), v = i && i.userAgentData ? i.userAgentData : r, x = t ? ue(be, t) : be, S = i && i.userAgent == o;
5506
+ }, ye = function(e, t) {
5507
+ if (typeof e == c && (t = e, e = r), !(this instanceof ye)) return new ye(e, t).getResult();
5508
+ var i = typeof n !== s && n.navigator ? n.navigator : r, _ = e || (i && i.userAgent ? i.userAgent : a), b = i && i.userAgentData ? i.userAgentData : r, x = t ? ce(ve, t) : ve, S = i && i.userAgent == _;
5502
5509
  return this.getBrowser = function() {
5503
5510
  var e = {};
5504
- return e[p] = r, e[g] = r, ge.call(e, o, x.browser), e[d] = me(e[g]), S && i && i.brave && typeof i.brave.isBrave == s && (e[p] = "Brave"), e;
5511
+ return e[f] = r, e[h] = r, me.call(e, _, x.browser), e[u] = fe(e[h]), S && i && i.brave && typeof i.brave.isBrave == o && (e[f] = "Brave"), e;
5505
5512
  }, this.getCPU = function() {
5506
5513
  var e = {};
5507
- return e[_] = r, ge.call(e, o, x.cpu), e;
5514
+ return e[g] = r, me.call(e, _, x.cpu), e;
5508
5515
  }, this.getDevice = function() {
5509
5516
  var e = {};
5510
- return e[h] = r, e[f] = r, e[m] = r, ge.call(e, o, x.device), S && !e[m] && v && v.mobile && (e[m] = y), S && e[f] == "Macintosh" && i && typeof i.standalone !== c && i.maxTouchPoints && i.maxTouchPoints > 2 && (e[f] = "iPad", e[m] = b), e;
5517
+ return e[m] = r, e[d] = r, e[p] = r, me.call(e, _, x.device), S && !e[p] && b && b.mobile && (e[p] = v), S && e[d] == "Macintosh" && i && typeof i.standalone !== s && i.maxTouchPoints && i.maxTouchPoints > 2 && (e[d] = "iPad", e[p] = y), e;
5511
5518
  }, this.getEngine = function() {
5512
5519
  var e = {};
5513
- return e[p] = r, e[g] = r, ge.call(e, o, x.engine), e;
5520
+ return e[f] = r, e[h] = r, me.call(e, _, x.engine), e;
5514
5521
  }, this.getOS = function() {
5515
5522
  var e = {};
5516
- return e[p] = r, e[g] = r, ge.call(e, o, x.os), S && !e[p] && v && v.platform && v.platform != "Unknown" && (e[p] = v.platform.replace(/chrome os/i, se).replace(/macos/i, ce)), e;
5523
+ return e[f] = r, e[h] = r, me.call(e, _, x.os), S && !e[f] && b && b.platform && b.platform != "Unknown" && (e[f] = b.platform.replace(/chrome os/i, ae).replace(/macos/i, oe)), e;
5517
5524
  }, this.getResult = function() {
5518
5525
  return {
5519
5526
  ua: this.getUA(),
@@ -5524,37 +5531,37 @@ var Mo, No, Po, Fo, Io, Lo, Ro, zo, Bo, Vo, Ho, Uo, Wo, Go, Ko, qo, Jo, Yo, Xo,
5524
5531
  cpu: this.getCPU()
5525
5532
  };
5526
5533
  }, this.getUA = function() {
5527
- return o;
5534
+ return _;
5528
5535
  }, this.setUA = function(e) {
5529
- return o = typeof e === u && e.length > w ? he(e, w) : e, this;
5530
- }, this.setUA(o), this;
5536
+ return _ = typeof e == l && e.length > 500 ? pe(e, 500) : e, this;
5537
+ }, this.setUA(_), this;
5531
5538
  };
5532
- xe.VERSION = i, xe.BROWSER = de([
5533
- p,
5534
- g,
5535
- d
5536
- ]), xe.CPU = de([_]), xe.DEVICE = de([
5539
+ ye.VERSION = i, ye.BROWSER = le([
5537
5540
  f,
5538
5541
  h,
5542
+ u
5543
+ ]), ye.CPU = le([g]), ye.DEVICE = le([
5544
+ d,
5539
5545
  m,
5546
+ p,
5547
+ _,
5540
5548
  v,
5549
+ b,
5541
5550
  y,
5542
5551
  x,
5543
- b,
5544
- S,
5545
- C
5546
- ]), xe.ENGINE = xe.OS = de([p, g]), typeof e === c ? typeof define === s && define.amd ? define(function() {
5547
- return xe;
5548
- }) : typeof n !== c && (n.UAParser = xe) : (typeof t !== c && t.exports && (e = t.exports = xe), e.UAParser = xe);
5549
- var Se = typeof n !== c && (n.jQuery || n.Zepto);
5550
- if (Se && !Se.ua) {
5551
- var Ce = new xe();
5552
- Se.ua = Ce.getResult(), Se.ua.get = function() {
5553
- return Ce.getUA();
5554
- }, Se.ua.set = function(e) {
5555
- Ce.setUA(e);
5556
- var t = Ce.getResult();
5557
- for (var n in t) Se.ua[n] = t[n];
5552
+ S
5553
+ ]), ye.ENGINE = ye.OS = le([f, h]), typeof e === s ? typeof define === o && define.amd ? define(function() {
5554
+ return ye;
5555
+ }) : typeof n !== s && (n.UAParser = ye) : (typeof t !== s && t.exports && (e = t.exports = ye), e.UAParser = ye);
5556
+ var be = typeof n !== s && (n.jQuery || n.Zepto);
5557
+ if (be && !be.ua) {
5558
+ var xe = new ye();
5559
+ be.ua = xe.getResult(), be.ua.get = function() {
5560
+ return xe.getUA();
5561
+ }, be.ua.set = function(e) {
5562
+ xe.setUA(e);
5563
+ var t = xe.getResult();
5564
+ for (var n in t) be.ua[n] = t[n];
5558
5565
  };
5559
5566
  }
5560
5567
  })(typeof window == "object" ? window : e);
@@ -5685,7 +5692,7 @@ var Mo, No, Po, Fo, Io, Lo, Ro, zo, Bo, Vo, Ho, Uo, Wo, Go, Ko, qo, Jo, Yo, Xo,
5685
5692
  return f(t);
5686
5693
  }, oe = function() {
5687
5694
  var e = p(), t = e && e.userAgent && e.userAgent.toLowerCase();
5688
- return typeof t == "string" ? /electron/.test(t) : !1;
5695
+ return typeof t == "string" && /electron/.test(t);
5689
5696
  }, se = function(e) {
5690
5697
  return typeof e == "string" && e.indexOf("Edg/") !== -1;
5691
5698
  }, ce = function() {
@@ -5718,7 +5725,7 @@ function ss(e, t = 0) {
5718
5725
  }
5719
5726
  //#endregion
5720
5727
  //#region ../../node_modules/uuid/dist/rng.js
5721
- var cs = new Uint8Array(16);
5728
+ var cs = /* @__PURE__ */ new Uint8Array(16);
5722
5729
  function ls() {
5723
5730
  return crypto.getRandomValues(cs);
5724
5731
  }
@@ -5740,7 +5747,7 @@ function ds(e, t, n) {
5740
5747
  return ss(o);
5741
5748
  }
5742
5749
  //#endregion
5743
- //#region \0@oxc-project+runtime@0.133.0/helpers/esm/typeof.js
5750
+ //#region \0@oxc-project+runtime@0.139.0/helpers/esm/typeof.js
5744
5751
  rs();
5745
5752
  var fs = as();
5746
5753
  function ps(e) {
@@ -5752,7 +5759,7 @@ function ps(e) {
5752
5759
  }, ps(e);
5753
5760
  }
5754
5761
  //#endregion
5755
- //#region \0@oxc-project+runtime@0.133.0/helpers/esm/toPrimitive.js
5762
+ //#region \0@oxc-project+runtime@0.139.0/helpers/esm/toPrimitive.js
5756
5763
  function ms(e, t) {
5757
5764
  if (ps(e) != "object" || !e) return e;
5758
5765
  var n = e[Symbol.toPrimitive];
@@ -5764,13 +5771,13 @@ function ms(e, t) {
5764
5771
  return (t === "string" ? String : Number)(e);
5765
5772
  }
5766
5773
  //#endregion
5767
- //#region \0@oxc-project+runtime@0.133.0/helpers/esm/toPropertyKey.js
5774
+ //#region \0@oxc-project+runtime@0.139.0/helpers/esm/toPropertyKey.js
5768
5775
  function hs(e) {
5769
5776
  var t = ms(e, "string");
5770
5777
  return ps(t) == "symbol" ? t : t + "";
5771
5778
  }
5772
5779
  //#endregion
5773
- //#region \0@oxc-project+runtime@0.133.0/helpers/esm/defineProperty.js
5780
+ //#region \0@oxc-project+runtime@0.139.0/helpers/esm/defineProperty.js
5774
5781
  function gs(e, t, n) {
5775
5782
  return (t = hs(t)) in e ? Object.defineProperty(e, t, {
5776
5783
  value: n,
@@ -5780,7 +5787,7 @@ function gs(e, t, n) {
5780
5787
  }) : e[t] = n, e;
5781
5788
  }
5782
5789
  //#endregion
5783
- //#region \0@oxc-project+runtime@0.133.0/helpers/esm/objectSpread2.js
5790
+ //#region \0@oxc-project+runtime@0.139.0/helpers/esm/objectSpread2.js
5784
5791
  function _s(e, t) {
5785
5792
  var n = Object.keys(e);
5786
5793
  if (Object.getOwnPropertySymbols) {
@@ -7577,7 +7584,7 @@ function eu(e, t) {
7577
7584
  }
7578
7585
  function tu(e) {
7579
7586
  var t;
7580
- let n = e.layoutParams, r = e.icon, i = e.title, a = e.maskParams, o = e.animation, s = e.videoSize, c = e.controlsSizes, l = e.isLandscape, u = Dc(), d = u.statusIcon, f = d === void 0 ? !0 : d, p = u.statusPositionMultiplier, m = u.activityIndicatorPortraitPositionMultiplier, h = u.activityIndicatorLandscapePositionMultiplier, g = u.newLayout, _ = Da(null), v = Da(null), y = Da(null), b = Da(null), x = Da(null), S = l && a == null, C = `${fl["hint-container"]} ${S ? fl["tips-frameless"] : ""}`, w = Cl().translate, T = {
7587
+ let n = e.layoutParams, r = e.icon, i = e.title, a = e.maskParams, o = e.animation, s = e.videoSize, c = e.controlsSizes, l = e.isLandscape, u = Dc(), d = u.statusIcon, f = d === void 0 || d, p = u.statusPositionMultiplier, m = u.activityIndicatorPortraitPositionMultiplier, h = u.activityIndicatorLandscapePositionMultiplier, g = u.newLayout, _ = Da(null), v = Da(null), y = Da(null), b = Da(null), x = Da(null), S = l && a == null, C = `${fl["hint-container"]} ${S ? fl["tips-frameless"] : ""}`, w = Cl().translate, T = {
7581
7588
  classNames: {
7582
7589
  enter: fl["fade-enter"],
7583
7590
  enterActive: fl["fade-enter-active"],
@@ -7740,12 +7747,12 @@ function cu(e) {
7740
7747
  }
7741
7748
  function lu(e) {
7742
7749
  var t;
7743
- let n = e.mirroring, r = e.isSkipButtonVisible, i = e.isChangeCameraAvailable, a = e.isLandscape, o = e.onClose, s = e.onChangeCamera, c = e.onChangeMirroring, l = e.maskParams, u = e.captureButton, d = e.facing, f = e.onSnapshotProcess, p = e.onCameraSnapshot, m = e.onSkip, h = e.onControlsSizes, g = e.direction, _ = Dc(), v = _.closeButton, y = v === void 0 ? !0 : v, b = _.skipButton, x = b === void 0 ? !0 : b, S = _.mirrorButton, C = S === void 0 ? !1 : S, w = _.changeCameraButton, T = _.captureButtonDelay, E = _.newLayout, D = Cl().translate, O = ru(q(T === void 0), 2), k = O[0], A = O[1], j = Da(null), M = Da(null), N = Da(null), P = Da(null), F = f && u && k, ee = x, I = d !== Ri.environment && C, L = i && w, R = y, te = F || !!p || ee, z = I || L, B = F || !!p || I || L, V = B || ee, ne = n ? "mirrored" : "not-mirrored", re = { "--skip-position": ((t = g === Hi.Ltr && E ? l == null ? void 0 : l.right : l == null ? void 0 : l.left) == null ? 0 : t) + 18 + "px" };
7750
+ let n = e.mirroring, r = e.isSkipButtonVisible, i = e.isChangeCameraAvailable, a = e.isLandscape, o = e.onClose, s = e.onChangeCamera, c = e.onChangeMirroring, l = e.maskParams, u = e.captureButton, d = e.facing, f = e.onSnapshotProcess, p = e.onCameraSnapshot, m = e.onSkip, h = e.onControlsSizes, g = e.direction, _ = Dc(), v = _.closeButton, y = v === void 0 || v, b = _.skipButton, x = b === void 0 || b, S = _.mirrorButton, C = S !== void 0 && S, w = _.changeCameraButton, T = _.captureButtonDelay, E = _.newLayout, D = Cl().translate, O = ru(q(T === void 0), 2), k = O[0], A = O[1], j = Da(null), M = Da(null), N = Da(null), P = Da(null), F = f && u && k, ee = x, I = d !== Ri.environment && C, L = i && w, R = y, te = F || !!p || ee, z = I || L, B = F || !!p || I || L, V = B || ee, ne = n ? "mirrored" : "not-mirrored", re = { "--skip-position": ((t = g === Hi.Ltr && E ? l == null ? void 0 : l.right : l == null ? void 0 : l.left) == null ? 0 : t) + 18 + "px" };
7744
7751
  return J(() => {
7745
7752
  var e, t, n, r, i, o;
7746
- let s = ((e = j.current) == null ? void 0 : e.offsetWidth) || 0, c = ((t = M.current) == null ? void 0 : t.offsetWidth) || 0, l = ((n = N.current) == null ? void 0 : n.offsetWidth) || 0, u = ((r = P.current) == null ? void 0 : r.offsetWidth) || 0, d = ((i = P.current) == null ? void 0 : i.offsetHeight) || 0;
7753
+ let s = ((e = j.current) == null ? void 0 : e.offsetWidth) || 0, c = ((t = M.current) == null ? void 0 : t.offsetWidth) || 0, l = ((n = N.current) == null ? void 0 : n.offsetWidth) || 0, u = ((r = P.current) == null ? void 0 : r.offsetWidth) || 0, d = ((i = P.current) == null ? void 0 : i.offsetHeight) || 0, f = ((o = j.current) == null ? void 0 : o.offsetHeight) || 0;
7747
7754
  h({
7748
- top: ((o = j.current) == null ? void 0 : o.offsetHeight) || 0,
7755
+ top: f,
7749
7756
  main: a && !B && !R ? 0 : a ? Math.max(s, c, l, u) : d
7750
7757
  });
7751
7758
  }, [
@@ -7881,7 +7888,7 @@ var fu = {
7881
7888
  //#endregion
7882
7889
  //#region src/components/common/container/index.tsx
7883
7890
  function pu(e) {
7884
- let t = e.onClose, n = e.children, r = e.direction, i = e.showHeaderAndFooter, a = i === void 0 ? !0 : i, o = e.className, s = Dc().closeButton, c = s === void 0 ? !0 : s;
7891
+ let t = e.onClose, n = e.children, r = e.direction, i = e.showHeaderAndFooter, a = i === void 0 || i, o = e.className, s = Dc().closeButton, c = s === void 0 || s;
7885
7892
  return Z("div", {
7886
7893
  part: "container",
7887
7894
  className: `${fu.window} ${o == null ? "" : o}`,
@@ -7959,7 +7966,7 @@ function bu(e) {
7959
7966
  if (Array.isArray(e)) return e;
7960
7967
  }
7961
7968
  function xu(e) {
7962
- let t = e.direction, n = e.status, r = e.children, i = e.mirroring, a = e.onChangeMirroring, o = e.onChangeCamera, s = e.videoStatusParams, c = e.videoElementParams, l = e.onProcessClose, u = e.onClose, d = e.onSnapshotProcess, f = e.onCameraSnapshot, p = e.onSkip, m = e.frameParams, h = e.captureButton, g = e.animation, _ = e.onControlsWidth, v = Dc(), y = v.cameraFrameBorderWidth, b = v.cameraFrame, x = b === void 0 ? !0 : b, S = v.newLayout, C = v.cameraFrameVerticalPositionMultiplier, w = v.cameraFrameHorizontalPositionMultiplier, T = v.manualMultipageMode, E = Da(null), D = Da(null), O = hu(q(!1), 2), k = O[0], A = O[1], j = hu(q(null), 2), M = j[0], N = j[1], P = hu(q(null), 2), F = P[0], ee = P[1], I = hu(q(null), 2), L = I[0], R = I[1], te = !!(s.sortedDevices && s.sortedDevices.frontCameras.length + s.sortedDevices.backCameras.length > 1), z = n === G.HOLD || n === G.FOCUS || n === G.RESOLUTION || n === G.PROCESSING || n === G.GLARE || n === G.OCCLUSION, B = n !== G.SERVICE_PREPARING, V = s.videoStatus === Li.PLAY, ne = Cc(n), re = ne.icon, ie = ne.title, H = c.videoParams.width > c.videoParams.height, ae = S ? c.videoContainerParams : F;
7969
+ let t = e.direction, n = e.status, r = e.children, i = e.mirroring, a = e.onChangeMirroring, o = e.onChangeCamera, s = e.videoStatusParams, c = e.videoElementParams, l = e.onProcessClose, u = e.onClose, d = e.onSnapshotProcess, f = e.onCameraSnapshot, p = e.onSkip, m = e.frameParams, h = e.captureButton, g = e.animation, _ = e.onControlsWidth, v = Dc(), y = v.cameraFrameBorderWidth, b = v.cameraFrame, x = b === void 0 || b, S = v.newLayout, C = v.cameraFrameVerticalPositionMultiplier, w = v.cameraFrameHorizontalPositionMultiplier, T = v.manualMultipageMode, E = Da(null), D = Da(null), O = hu(q(!1), 2), k = O[0], A = O[1], j = hu(q(null), 2), M = j[0], N = j[1], P = hu(q(null), 2), F = P[0], ee = P[1], I = hu(q(null), 2), L = I[0], R = I[1], te = !!(s.sortedDevices && s.sortedDevices.frontCameras.length + s.sortedDevices.backCameras.length > 1), z = n === G.HOLD || n === G.FOCUS || n === G.RESOLUTION || n === G.PROCESSING || n === G.GLARE || n === G.OCCLUSION, B = n !== G.SERVICE_PREPARING, V = s.videoStatus === Li.PLAY, ne = Cc(n), re = ne.icon, ie = ne.title, H = c.videoParams.width > c.videoParams.height, ae = S ? c.videoContainerParams : F;
7963
7970
  return J(() => {
7964
7971
  n !== G.START_NEXT_PAGE || T || A(!0);
7965
7972
  }, [n, T]), Ea(() => {
@@ -8019,8 +8026,8 @@ function xu(e) {
8019
8026
  t
8020
8027
  ]), Ea(() => {
8021
8028
  if (!F || !_ || !L || !H || S) return;
8022
- let e = F.width / c.videoParams.width;
8023
- _(L.main > 0 ? L.main / e : 0);
8029
+ let e = F.width / c.videoParams.width, t = L.main > 0 ? L.main / e : 0;
8030
+ _(t);
8024
8031
  }, [
8025
8032
  F,
8026
8033
  L,
@@ -8198,29 +8205,29 @@ function Nu(e) {
8198
8205
  };
8199
8206
  }
8200
8207
  function Pu(e) {
8201
- let t = e.videoSize, n = e.mirroring, r = e.controlsWidth, i = e.scenario, a = e.scenarioParams, o = Dc(), s = o.cameraFramePortraitAspectRatio, c = o.cameraFrameLandscapeAspectRatio, l = o.cameraFrameOffsetWidth, u = o.cameraFrameVerticalPositionMultiplier, d = o.cameraFrameHorizontalPositionMultiplier, f = o.cameraFrame, p = f === void 0 ? !0 : f, m = o.newLayout, h = Du(q(null), 2), g = h[0], _ = h[1];
8208
+ let t = e.videoSize, n = e.mirroring, r = e.controlsWidth, i = e.scenario, a = e.scenarioParams, o = Dc(), s = o.cameraFramePortraitAspectRatio, c = o.cameraFrameLandscapeAspectRatio, l = o.cameraFrameOffsetWidth, u = o.cameraFrameVerticalPositionMultiplier, d = o.cameraFrameHorizontalPositionMultiplier, f = o.cameraFrame, p = f === void 0 || f, m = o.newLayout, h = Du(q(null), 2), g = h[0], _ = h[1];
8202
8209
  return J(() => {
8203
8210
  if (!p) return _(null);
8204
8211
  let e = !!t.width, o = !!t.height;
8205
8212
  if (!(e && o && a != null && a.length) || !i) return;
8206
8213
  let f = a.find((e) => e.name === i), h = window.RegulaDocumentSDK.recognizerProcessParam.processParam.doublePageSpread, g = h ? f == null ? void 0 : f.frameKWHDoublePageSpreadLandscape : f == null ? void 0 : f.frameKWHLandscape, v = h ? f == null ? void 0 : f.frameKWHDoublePageSpreadPortrait : f == null ? void 0 : f.frameKWHPortrait;
8207
8214
  if (!g || !v) return;
8208
- let y = Nu({
8215
+ let y = c == null ? Number(g) : c, b = s == null ? Number(v) : s, x = Nu({
8209
8216
  videoSize: t,
8210
8217
  mirroring: n,
8211
8218
  controlsWidth: r,
8212
8219
  cameraFrameOffsetWidth: l,
8213
- landscapeAspectRatio: c == null ? Number(g) : c,
8214
- portraitAspectRatio: s == null ? Number(v) : s,
8220
+ landscapeAspectRatio: y,
8221
+ portraitAspectRatio: b,
8215
8222
  cameraFrameVerticalPositionMultiplier: u,
8216
8223
  cameraFrameHorizontalPositionMultiplier: d,
8217
8224
  newLayout: m
8218
- }), b = y.width, x = y.height, S = y.top, C = y.left;
8225
+ }), S = x.width, C = x.height, w = x.top, T = x.left;
8219
8226
  _({
8220
- frameBottom: S + x,
8221
- frameLeft: C,
8222
- frameRight: C + b,
8223
- frameTop: S
8227
+ frameBottom: w + C,
8228
+ frameLeft: T,
8229
+ frameRight: T + S,
8230
+ frameTop: w
8224
8231
  });
8225
8232
  }, [
8226
8233
  p,
@@ -8464,17 +8471,17 @@ function Ku(e) {
8464
8471
  }, new Ku(e);
8465
8472
  }
8466
8473
  //#endregion
8467
- //#region \0@oxc-project+runtime@0.133.0/helpers/esm/OverloadYield.js
8474
+ //#region \0@oxc-project+runtime@0.139.0/helpers/esm/OverloadYield.js
8468
8475
  function qu(e, t) {
8469
8476
  this.v = e, this.k = t;
8470
8477
  }
8471
8478
  //#endregion
8472
- //#region \0@oxc-project+runtime@0.133.0/helpers/esm/awaitAsyncGenerator.js
8479
+ //#region \0@oxc-project+runtime@0.139.0/helpers/esm/awaitAsyncGenerator.js
8473
8480
  function Ju(e) {
8474
8481
  return new qu(e, 0);
8475
8482
  }
8476
8483
  //#endregion
8477
- //#region \0@oxc-project+runtime@0.133.0/helpers/esm/asyncGeneratorDelegate.js
8484
+ //#region \0@oxc-project+runtime@0.139.0/helpers/esm/asyncGeneratorDelegate.js
8478
8485
  function Yu(e) {
8479
8486
  var t = {}, n = !1;
8480
8487
  function r(t, r) {
@@ -8497,7 +8504,7 @@ function Yu(e) {
8497
8504
  }), t;
8498
8505
  }
8499
8506
  //#endregion
8500
- //#region \0@oxc-project+runtime@0.133.0/helpers/esm/wrapAsyncGenerator.js
8507
+ //#region \0@oxc-project+runtime@0.139.0/helpers/esm/wrapAsyncGenerator.js
8501
8508
  function Xu(e) {
8502
8509
  return function() {
8503
8510
  return new Zu(e.apply(this, arguments));
@@ -8563,7 +8570,7 @@ Zu.prototype[typeof Symbol == "function" && Symbol.asyncIterator || "@@asyncIter
8563
8570
  return this._invoke("return", e);
8564
8571
  };
8565
8572
  //#endregion
8566
- //#region \0@oxc-project+runtime@0.133.0/helpers/esm/objectWithoutPropertiesLoose.js
8573
+ //#region \0@oxc-project+runtime@0.139.0/helpers/esm/objectWithoutPropertiesLoose.js
8567
8574
  function Qu(e, t) {
8568
8575
  if (e == null) return {};
8569
8576
  var n = {};
@@ -8574,7 +8581,7 @@ function Qu(e, t) {
8574
8581
  return n;
8575
8582
  }
8576
8583
  //#endregion
8577
- //#region \0@oxc-project+runtime@0.133.0/helpers/esm/objectWithoutProperties.js
8584
+ //#region \0@oxc-project+runtime@0.139.0/helpers/esm/objectWithoutProperties.js
8578
8585
  function $u(e, t) {
8579
8586
  if (e == null) return {};
8580
8587
  var n, r, i = Qu(e, t);
@@ -9512,7 +9519,7 @@ var wp = (e, t, n = 3) => {
9512
9519
  remove() {}
9513
9520
  };
9514
9521
  function kp(e) {
9515
- return typeof e == "string" ? /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e) : !1;
9522
+ return typeof e == "string" && /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
9516
9523
  }
9517
9524
  function Ap(e, t) {
9518
9525
  return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
@@ -10084,7 +10091,7 @@ hm.transitional = function(e, t, n) {
10084
10091
  }
10085
10092
  return (n, i, a) => {
10086
10093
  if (e === !1) throw new $(r(i, " has been removed" + (t ? " in " + t : "")), $.ERR_DEPRECATED);
10087
- return t && !gm[i] && (gm[i] = !0, console.warn(r(i, " has been deprecated since v" + t + " and will be removed in the near future"))), e ? e(n, i, a) : !0;
10094
+ return t && !gm[i] && (gm[i] = !0, console.warn(r(i, " has been deprecated since v" + t + " and will be removed in the near future"))), !e || e(n, i, a);
10088
10095
  };
10089
10096
  }, hm.spelling = function(e) {
10090
10097
  return (t, n) => (console.warn(`${n} is likely a misspelling of ${e}`), !0);
@@ -11020,7 +11027,7 @@ for (var Pm = function(e, ...t) {
11020
11027
  var n;
11021
11028
  return (n = this.getFieldByName(e, t)) == null ? void 0 : n.getValue();
11022
11029
  }
11023
- }, Kh = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", qh = typeof Uint8Array > "u" ? [] : new Uint8Array(256), Jh = 0; Jh < Kh.length; Jh++) qh[Kh.charCodeAt(Jh)] = Jh;
11030
+ }, Kh = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", qh = typeof Uint8Array > "u" ? [] : /* @__PURE__ */ new Uint8Array(256), Jh = 0; Jh < Kh.length; Jh++) qh[Kh.charCodeAt(Jh)] = Jh;
11024
11031
  var Yh = function(e) {
11025
11032
  var t = new Uint8Array(e), n, r = t.length, i = "";
11026
11033
  for (n = 0; n < r; n += 3) i += Kh[t[n] >> 2], i += Kh[(t[n] & 3) << 4 | t[n + 1] >> 4], i += Kh[(t[n + 1] & 15) << 2 | t[n + 2] >> 6], i += Kh[t[n + 2] & 63];
@@ -11605,7 +11612,7 @@ var Ev = [
11605
11612
  e.window_size = 2 * e.w_size, uv(e.head), e.max_lazy_match = Ev[e.level].max_lazy, e.good_match = Ev[e.level].good_length, e.nice_match = Ev[e.level].nice_length, e.max_chain_length = Ev[e.level].max_chain, e.strstart = 0, e.block_start = 0, e.lookahead = 0, e.insert = 0, e.match_length = e.prev_length = G_ - 1, e.match_available = 0, e.ins_h = 0;
11606
11613
  };
11607
11614
  function Ov() {
11608
- this.strm = null, this.status = 0, this.pending_buf = null, this.pending_buf_size = 0, this.pending_out = 0, this.pending = 0, this.wrap = 0, this.gzhead = null, this.gzindex = 0, this.method = B_, this.last_flush = -1, this.w_size = 0, this.w_bits = 0, this.w_mask = 0, this.window = null, this.window_size = 0, this.prev = null, this.head = null, this.ins_h = 0, this.hash_size = 0, this.hash_bits = 0, this.hash_mask = 0, this.hash_shift = 0, this.block_start = 0, this.match_length = 0, this.prev_match = 0, this.match_available = 0, this.strstart = 0, this.match_start = 0, this.lookahead = 0, this.prev_length = 0, this.max_chain_length = 0, this.max_lazy_match = 0, this.level = 0, this.strategy = 0, this.good_match = 0, this.nice_match = 0, this.dyn_ltree = new Uint16Array(W_ * 2), this.dyn_dtree = new Uint16Array(122), this.bl_tree = new Uint16Array(78), uv(this.dyn_ltree), uv(this.dyn_dtree), uv(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new Uint16Array(16), this.heap = new Uint16Array(573), uv(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new Uint16Array(573), uv(this.depth), this.sym_buf = 0, this.lit_bufsize = 0, this.sym_next = 0, this.sym_end = 0, this.opt_len = 0, this.static_len = 0, this.matches = 0, this.insert = 0, this.bi_buf = 0, this.bi_valid = 0;
11615
+ this.strm = null, this.status = 0, this.pending_buf = null, this.pending_buf_size = 0, this.pending_out = 0, this.pending = 0, this.wrap = 0, this.gzhead = null, this.gzindex = 0, this.method = B_, this.last_flush = -1, this.w_size = 0, this.w_bits = 0, this.w_mask = 0, this.window = null, this.window_size = 0, this.prev = null, this.head = null, this.ins_h = 0, this.hash_size = 0, this.hash_bits = 0, this.hash_mask = 0, this.hash_shift = 0, this.block_start = 0, this.match_length = 0, this.prev_match = 0, this.match_available = 0, this.strstart = 0, this.match_start = 0, this.lookahead = 0, this.prev_length = 0, this.max_chain_length = 0, this.max_lazy_match = 0, this.level = 0, this.strategy = 0, this.good_match = 0, this.nice_match = 0, this.dyn_ltree = new Uint16Array(W_ * 2), this.dyn_dtree = /* @__PURE__ */ new Uint16Array(122), this.bl_tree = /* @__PURE__ */ new Uint16Array(78), uv(this.dyn_ltree), uv(this.dyn_dtree), uv(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = /* @__PURE__ */ new Uint16Array(16), this.heap = /* @__PURE__ */ new Uint16Array(573), uv(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = /* @__PURE__ */ new Uint16Array(573), uv(this.depth), this.sym_buf = 0, this.lit_bufsize = 0, this.sym_next = 0, this.sym_end = 0, this.opt_len = 0, this.static_len = 0, this.matches = 0, this.insert = 0, this.bi_buf = 0, this.bi_valid = 0;
11609
11616
  }
11610
11617
  var kv = (e) => {
11611
11618
  if (!e) return 1;
@@ -11754,11 +11761,11 @@ var kv = (e) => {
11754
11761
  }
11755
11762
  }, Lv = !0;
11756
11763
  try {
11757
- String.fromCharCode.apply(null, new Uint8Array(1));
11764
+ String.fromCharCode.apply(null, /* @__PURE__ */ new Uint8Array(1));
11758
11765
  } catch (e) {
11759
11766
  Lv = !1;
11760
11767
  }
11761
- var Rv = new Uint8Array(256);
11768
+ var Rv = /* @__PURE__ */ new Uint8Array(256);
11762
11769
  for (let e = 0; e < 256; e++) Rv[e] = e >= 252 ? 6 : e >= 248 ? 5 : e >= 240 ? 4 : e >= 224 ? 3 : e >= 192 ? 2 : 1;
11763
11770
  Rv[254] = Rv[254] = 1;
11764
11771
  var zv = (e) => {
@@ -12082,7 +12089,7 @@ var iy = {
12082
12089
  64,
12083
12090
  64
12084
12091
  ]), vy = (e, t, n, r, i, a, o, s) => {
12085
- let c = s.bits, l = 0, u = 0, d = 0, f = 0, p = 0, m = 0, h = 0, g = 0, _ = 0, v = 0, y, b, x, S, C, w = null, T, E = new Uint16Array(16), D = new Uint16Array(16), O = null, k, A, j;
12092
+ let c = s.bits, l = 0, u = 0, d = 0, f = 0, p = 0, m = 0, h = 0, g = 0, _ = 0, v = 0, y, b, x, S, C, w = null, T, E = /* @__PURE__ */ new Uint16Array(16), D = /* @__PURE__ */ new Uint16Array(16), O = null, k, A, j;
12086
12093
  for (l = 0; l <= cy; l++) E[l] = 0;
12087
12094
  for (u = 0; u < r; u++) E[t[n + u]]++;
12088
12095
  for (p = c, f = cy; f >= 1 && E[f] === 0; f--);
@@ -12112,7 +12119,7 @@ var iy = {
12112
12119
  return v !== 0 && (i[C + v] = l - h << 24 | 4194304), s.bits = p, 0;
12113
12120
  }, yy = 0, by = 1, xy = 2, { Z_FINISH: Sy, Z_BLOCK: Cy, Z_TREES: wy, Z_OK: Ty, Z_STREAM_END: Ey, Z_NEED_DICT: Dy, Z_STREAM_ERROR: Oy, Z_DATA_ERROR: ky, Z_MEM_ERROR: Ay, Z_BUF_ERROR: jy, Z_DEFLATED: My } = __, Ny = 16180, Py = 16181, Fy = 16182, Iy = 16183, Ly = 16184, Ry = 16185, zy = 16186, By = 16187, Vy = 16188, Hy = 16189, Uy = 16190, Wy = 16191, Gy = 16192, Ky = 16193, qy = 16194, Jy = 16195, Yy = 16196, Xy = 16197, Zy = 16198, Qy = 16199, $y = 16200, eb = 16201, tb = 16202, nb = 16203, rb = 16204, ib = 16205, ab = 16206, ob = 16207, sb = 16208, cb = 16209, lb = 16210, ub = 16211, db = 852, fb = 592, pb = 15, mb = (e) => (e >>> 24 & 255) + (e >>> 8 & 65280) + ((e & 65280) << 8) + ((e & 255) << 24);
12114
12121
  function hb() {
12115
- this.strm = null, this.mode = 0, this.last = !1, this.wrap = 0, this.havedict = !1, this.flags = 0, this.dmax = 0, this.check = 0, this.total = 0, this.head = null, this.wbits = 0, this.wsize = 0, this.whave = 0, this.wnext = 0, this.window = null, this.hold = 0, this.bits = 0, this.length = 0, this.offset = 0, this.extra = 0, this.lencode = null, this.distcode = null, this.lenbits = 0, this.distbits = 0, this.ncode = 0, this.nlen = 0, this.ndist = 0, this.have = 0, this.next = null, this.lens = new Uint16Array(320), this.work = new Uint16Array(288), this.lendyn = null, this.distdyn = null, this.sane = 0, this.back = 0, this.was = 0;
12122
+ this.strm = null, this.mode = 0, this.last = !1, this.wrap = 0, this.havedict = !1, this.flags = 0, this.dmax = 0, this.check = 0, this.total = 0, this.head = null, this.wbits = 0, this.wsize = 0, this.whave = 0, this.wnext = 0, this.window = null, this.hold = 0, this.bits = 0, this.length = 0, this.offset = 0, this.extra = 0, this.lencode = null, this.distcode = null, this.lenbits = 0, this.distbits = 0, this.ncode = 0, this.nlen = 0, this.ndist = 0, this.have = 0, this.next = null, this.lens = /* @__PURE__ */ new Uint16Array(320), this.work = /* @__PURE__ */ new Uint16Array(288), this.lendyn = null, this.distdyn = null, this.sane = 0, this.back = 0, this.was = 0;
12116
12123
  }
12117
12124
  var gb = (e) => {
12118
12125
  if (!e) return 1;
@@ -12139,7 +12146,7 @@ var gb = (e) => {
12139
12146
  return r !== Ty && (e.state = null), r;
12140
12147
  }, xb = (e) => bb(e, pb), Sb = !0, Cb, wb, Tb = (e) => {
12141
12148
  if (Sb) {
12142
- Cb = new Int32Array(512), wb = new Int32Array(32);
12149
+ Cb = /* @__PURE__ */ new Int32Array(512), wb = /* @__PURE__ */ new Int32Array(32);
12143
12150
  let t = 0;
12144
12151
  for (; t < 144;) e.lens[t++] = 8;
12145
12152
  for (; t < 256;) e.lens[t++] = 9;
@@ -12159,7 +12166,7 @@ var gb = (e) => {
12159
12166
  inflateInit: xb,
12160
12167
  inflateInit2: bb,
12161
12168
  inflate: (e, t) => {
12162
- let n, r, i, a, o, s, c, l, u, d, f, p, m, h, g = 0, _, v, y, b, x, S, C, w, T = new Uint8Array(4), E, D, O = new Uint8Array([
12169
+ let n, r, i, a, o, s, c, l, u, d, f, p, m, h, g = 0, _, v, y, b, x, S, C, w, T = /* @__PURE__ */ new Uint8Array(4), E, D, O = new Uint8Array([
12163
12170
  16,
12164
12171
  17,
12165
12172
  18,
@@ -12848,7 +12855,7 @@ function cx(e, t) {
12848
12855
  }), r;
12849
12856
  }
12850
12857
  function lx(e, t) {
12851
- let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1, r = cx(e, t), i = r.occlusionCheck, a = r.glareCheck, o = r.resolutionCheck, s = r.focusCheck, c = r.isDocumentAvailable, l = !n || n && e.morePagesAvailable === 0;
12858
+ let n = arguments.length > 2 && arguments[2] !== void 0 && arguments[2], r = cx(e, t), i = r.occlusionCheck, a = r.glareCheck, o = r.resolutionCheck, s = r.focusCheck, c = r.isDocumentAvailable, l = !n || n && e.morePagesAvailable === 0;
12852
12859
  return e.ProcessingFinished === bh.FINISHED ? l ? G.SUCCESS : G.START_NEXT_PAGE : e.ProcessingFinished === bh.TIMEOUT ? G.TIMEOUT : "liveness" in e ? G.LIVENESS : c ? s === eh.ERROR ? G.FOCUS : i === eh.ERROR ? G.OCCLUSION : a === eh.ERROR ? G.GLARE : o === eh.ERROR ? G.RESOLUTION : G.HOLD : G.FINDING;
12853
12860
  }
12854
12861
  function ux(e, t) {
@@ -12858,11 +12865,11 @@ function dx(e, t) {
12858
12865
  var n, r;
12859
12866
  let i = {
12860
12867
  [pi.BarcodeMRZ]: {
12861
- PROD: "https://wasm-development.regulaforensics.com/document/rc/9.7/barcodemrz/667d6beb-71ae3aba34",
12868
+ PROD: "https://wasm-development.regulaforensics.com/document/rc/9.7/barcodemrz/134ec6f8-ed5a9cc46",
12862
12869
  DEV: "./wasm/barcode-mrz/"
12863
12870
  },
12864
12871
  [pi.BoundsLite]: {
12865
- PROD: "https://wasm-development.regulaforensics.com/document/rc/9.7/boundslite/667d6beb-71ae3aba34",
12872
+ PROD: "https://wasm-development.regulaforensics.com/document/rc/9.7/boundslite/134ec6f8-ed5a9cc46",
12866
12873
  DEV: "./wasm/bounds-lite/"
12867
12874
  }
12868
12875
  };
@@ -13115,7 +13122,9 @@ function Vx(e) {
13115
13122
  z: 0
13116
13123
  }), a = Mx(n, 1e3), o = (e) => {
13117
13124
  var t, n;
13118
- !((t = e.acceleration) != null && t.x) || !((n = e.acceleration) != null && n.y) || !e.acceleration.z || (r(Math.abs(e.acceleration.x - i.current.x) + Math.abs(e.acceleration.y - i.current.y) + Math.abs(e.acceleration.z - i.current.z) > Bx), i.current.x = e.acceleration.x, i.current.y = e.acceleration.y, i.current.z = e.acceleration.z);
13125
+ if (!((t = e.acceleration) != null && t.x) || !((n = e.acceleration) != null && n.y) || !e.acceleration.z) return;
13126
+ let a = Math.abs(e.acceleration.x - i.current.x) + Math.abs(e.acceleration.y - i.current.y) + Math.abs(e.acceleration.z - i.current.z);
13127
+ r(a > Bx), i.current.x = e.acceleration.x, i.current.y = e.acceleration.y, i.current.z = e.acceleration.z;
13119
13128
  };
13120
13129
  return J(() => {
13121
13130
  if (!e) return;
@@ -13272,7 +13281,7 @@ function eS(e) {
13272
13281
  let t = yield zs({
13273
13282
  cameras: [...n.sortedDevices.frontCameras, ...n.sortedDevices.backCameras],
13274
13283
  cameraID: n.camera.deviceId,
13275
- sdkVersion: "9.7.2987-rc",
13284
+ sdkVersion: "9.7.2989-rc",
13276
13285
  serviceUrl: ((e = s.recognizerProcessParam.processParam.backendProcessing) == null ? void 0 : e.serviceURL) || ""
13277
13286
  });
13278
13287
  $x(`Metadata: ${JSON.stringify(t)}`);
@@ -13514,7 +13523,7 @@ function _S(e) {
13514
13523
  if (Array.isArray(e)) return e;
13515
13524
  }
13516
13525
  function vS(e) {
13517
- let t = e.direction, n = e.onStatusChange, r = e.onFileImageSet, i = e.onError, a = e.onClose, o = Dc(), s = o.onEvent, c = o.cameraId, l = o.startScreen, u = o.captureButton, d = o.newLayout, f = o.captureMode, p = o.resolution, m = o.cameraMode, h = o.videoRecord, g = o.mirrorType, _ = o.mobileDelegate, v = o.finalizeOnTimeout, y = v === void 0 ? !0 : v, b = o.manualMultipageMode, x = window.RegulaDocumentSDK, S = ka(() => ({
13526
+ let t = e.direction, n = e.onStatusChange, r = e.onFileImageSet, i = e.onError, a = e.onClose, o = Dc(), s = o.onEvent, c = o.cameraId, l = o.startScreen, u = o.captureButton, d = o.newLayout, f = o.captureMode, p = o.resolution, m = o.cameraMode, h = o.videoRecord, g = o.mirrorType, _ = o.mobileDelegate, v = o.finalizeOnTimeout, y = v === void 0 || v, b = o.manualMultipageMode, x = window.RegulaDocumentSDK, S = ka(() => ({
13518
13527
  width: (p == null ? void 0 : p.width) || qi.FULL_HD.width,
13519
13528
  height: (p == null ? void 0 : p.height) || qi.FULL_HD.height
13520
13529
  }), [p]), C = Da(!0), w = Da(null), T = Da(null), E = fS(q(!1), 2), D = E[0], O = E[1], k = fS(q(0), 2), A = k[0], j = k[1], M = fS(q({
@@ -13780,7 +13789,7 @@ var wS = {
13780
13789
  //#region src/components/common/start-screen/index.tsx
13781
13790
  to();
13782
13791
  function TS(e) {
13783
- let t = e.onStart, n = e.onFileImageSet, r = e.title, i = e.subtitle, a = e.allowRemote, o = a === void 0 ? !1 : a, s = e.onRemoteDevice, c = Dc(), l = c.onEvent, u = c.multipleFileInput, d = u === void 0 ? !0 : u, f = c.fromCameraButton, p = f === void 0 ? !0 : f, m = c.uploadFileButton, h = m === void 0 ? !0 : m, g = Da(null), _ = Cl().translate;
13792
+ let t = e.onStart, n = e.onFileImageSet, r = e.title, i = e.subtitle, a = e.allowRemote, o = a !== void 0 && a, s = e.onRemoteDevice, c = Dc(), l = c.onEvent, u = c.multipleFileInput, d = u === void 0 || u, f = c.fromCameraButton, p = f === void 0 || f, m = c.uploadFileButton, h = m === void 0 || m, g = Da(null), _ = Cl().translate;
13784
13793
  return Z("div", {
13785
13794
  part: "menu-container",
13786
13795
  className: wS["start-window"],
@@ -13997,7 +14006,7 @@ function RS(e) {
13997
14006
  try {
13998
14007
  var n;
13999
14008
  if ((n = a.imageProcessParam.processParam) != null && n.backendProcessing) {
14000
- let e = yield zs({ sdkVersion: "9.7.2987-rc" });
14009
+ let e = yield zs({ sdkVersion: "9.7.2989-rc" });
14001
14010
  yield a.createBackendTransaction(e, a.imageProcessParam);
14002
14011
  }
14003
14012
  let e = yield a.processImage(t, o);
@@ -14084,7 +14093,11 @@ function GS(e) {
14084
14093
  resolution: 0,
14085
14094
  bytes: 0
14086
14095
  }), n = t.resolution, i = t.bytes, a = l && i / 1024 > l;
14087
- n > (u || 25e6) || a ? r(new Ru(Zr.FILE_SIZE)) : g(e.map((e) => e.data));
14096
+ if (n > (u || 25e6) || a) r(new Ru(Zr.FILE_SIZE));
14097
+ else {
14098
+ let t = e.map((e) => e.data);
14099
+ g(t);
14100
+ }
14088
14101
  }).catch((e) => {
14089
14102
  r(e);
14090
14103
  }).then(() => {
@@ -15667,11 +15680,10 @@ var KC = /* @__PURE__ */ s(((e, t) => {
15667
15680
  }
15668
15681
  c.prototype.clear = r, c.prototype.delete = i, c.prototype.get = a, c.prototype.has = o, c.prototype.set = s, t.exports = c;
15669
15682
  })), Iw = /* @__PURE__ */ s(((e, t) => {
15670
- var n = "__lodash_hash_undefined__";
15671
- function r(e) {
15672
- return this.__data__.set(e, n), this;
15683
+ function n(e) {
15684
+ return this.__data__.set(e, "__lodash_hash_undefined__"), this;
15673
15685
  }
15674
- t.exports = r;
15686
+ t.exports = n;
15675
15687
  })), Lw = /* @__PURE__ */ s(((e, t) => {
15676
15688
  function n(e) {
15677
15689
  return this.__data__.has(e);
@@ -15841,18 +15853,17 @@ var KC = /* @__PURE__ */ s(((e, t) => {
15841
15853
  var n = aw(), r = nT(), i = typeof e == "object" && e && !e.nodeType && e, a = i && typeof t == "object" && t && !t.nodeType && t, o = a && a.exports === i ? n.Buffer : void 0;
15842
15854
  t.exports = (o ? o.isBuffer : void 0) || r;
15843
15855
  })), iT = /* @__PURE__ */ s(((e, t) => {
15844
- var n = 9007199254740991, r = /^(?:0|[1-9]\d*)$/;
15845
- function i(e, t) {
15846
- var i = typeof e;
15847
- return t = t == null ? n : t, !!t && (i == "number" || i != "symbol" && r.test(e)) && e > -1 && e % 1 == 0 && e < t;
15856
+ var n = /^(?:0|[1-9]\d*)$/;
15857
+ function r(e, t) {
15858
+ var r = typeof e;
15859
+ return t = t == null ? 9007199254740991 : t, !!t && (r == "number" || r != "symbol" && n.test(e)) && e > -1 && e % 1 == 0 && e < t;
15848
15860
  }
15849
- t.exports = i;
15861
+ t.exports = r;
15850
15862
  })), aT = /* @__PURE__ */ s(((e, t) => {
15851
- var n = 9007199254740991;
15852
- function r(e) {
15853
- return typeof e == "number" && e > -1 && e % 1 == 0 && e <= n;
15863
+ function n(e) {
15864
+ return typeof e == "number" && e > -1 && e % 1 == 0 && e <= 9007199254740991;
15854
15865
  }
15855
- t.exports = r;
15866
+ t.exports = n;
15856
15867
  })), oT = /* @__PURE__ */ s(((e, t) => {
15857
15868
  var n = lw(), r = aT(), i = $w(), a = "[object Arguments]", o = "[object Array]", s = "[object Boolean]", c = "[object Date]", l = "[object Error]", u = "[object Function]", d = "[object Map]", f = "[object Number]", p = "[object Object]", m = "[object RegExp]", h = "[object Set]", g = "[object String]", _ = "[object WeakMap]", v = "[object ArrayBuffer]", y = "[object DataView]", b = "[object Float32Array]", x = "[object Float64Array]", S = "[object Int8Array]", C = "[object Int16Array]", w = "[object Int32Array]", T = "[object Uint8Array]", E = "[object Uint8ClampedArray]", D = "[object Uint16Array]", O = "[object Uint32Array]", k = {};
15858
15869
  k[b] = k[x] = k[S] = k[C] = k[w] = k[T] = k[E] = k[D] = k[O] = !0, k[a] = k[o] = k[v] = k[s] = k[y] = k[c] = k[l] = k[u] = k[d] = k[f] = k[p] = k[m] = k[h] = k[g] = k[_] = !1;
@@ -16252,18 +16263,18 @@ var KC = /* @__PURE__ */ s(((e, t) => {
16252
16263
  });
16253
16264
  } : i;
16254
16265
  })), tE = /* @__PURE__ */ s(((e, t) => {
16255
- var n = 800, r = 16, i = Date.now;
16256
- function a(e) {
16257
- var t = 0, a = 0;
16266
+ var n = Date.now;
16267
+ function r(e) {
16268
+ var t = 0, r = 0;
16258
16269
  return function() {
16259
- var o = i(), s = r - (o - a);
16260
- if (a = o, s > 0) {
16261
- if (++t >= n) return arguments[0];
16270
+ var i = n(), a = 16 - (i - r);
16271
+ if (r = i, a > 0) {
16272
+ if (++t >= 800) return arguments[0];
16262
16273
  } else t = 0;
16263
16274
  return e.apply(void 0, arguments);
16264
16275
  };
16265
16276
  }
16266
- t.exports = a;
16277
+ t.exports = r;
16267
16278
  })), nE = /* @__PURE__ */ s(((e, t) => {
16268
16279
  var n = eE();
16269
16280
  t.exports = tE()(n);
@@ -16366,7 +16377,7 @@ var KC = /* @__PURE__ */ s(((e, t) => {
16366
16377
  })), mE = /* @__PURE__ */ s(((e, t) => {
16367
16378
  function n(e, t) {
16368
16379
  return function(n) {
16369
- return n == null ? !1 : n[e] === t && (t !== void 0 || e in Object(n));
16380
+ return n != null && n[e] === t && (t !== void 0 || e in Object(n));
16370
16381
  };
16371
16382
  }
16372
16383
  t.exports = n;
@@ -16508,7 +16519,7 @@ var LE = Ys.create("main"), RE = (e) => {
16508
16519
  };
16509
16520
  function zE(e) {
16510
16521
  var t, n, r;
16511
- let i = e.onError, a = e.onStatusChange, o = Dc(), s = o.onEvent, c = o.continueInBrowserButton, l = c === void 0 ? !0 : c, u = Cl().translate, d = window.RegulaDocumentSDK, f = ((t = d.recognizerProcessParam) == null ? void 0 : t.tag) || us(), p = (((n = d.recognizerProcessParam) == null || (n = n.delegateProcessing) == null ? void 0 : n.delegateURL) || window.location.href).replace("{tag}", f), m = new nx({
16522
+ let i = e.onError, a = e.onStatusChange, o = Dc(), s = o.onEvent, c = o.continueInBrowserButton, l = c === void 0 || c, u = Cl().translate, d = window.RegulaDocumentSDK, f = ((t = d.recognizerProcessParam) == null ? void 0 : t.tag) || us(), p = (((n = d.recognizerProcessParam) == null || (n = n.delegateProcessing) == null ? void 0 : n.delegateURL) || window.location.href).replace("{tag}", f), m = new nx({
16512
16523
  basePath: ((r = d.recognizerProcessParam.delegateProcessing) == null ? void 0 : r.serviceURL) || "",
16513
16524
  baseOptions: { headers: RE(d) }
16514
16525
  }), h = Da(), g = Da(), _ = jE(q(!1), 2), v = _[0], y = _[1];
@@ -16586,7 +16597,7 @@ var BE = (e) => {
16586
16597
  var t;
16587
16598
  let n = ((t = window.RegulaDocumentSDK.recognizerProcessParam) == null ? void 0 : t.delegateProcessing) || {}, r = n.serviceURL, i = n.delegateURL;
16588
16599
  return !!r && !!i && (navigator.maxTouchPoints <= 0 && !fs.isMobile || e);
16589
- }, VE = (e, t, n, r) => e ? t ? n ? "fromCameraGalleryMobile" : "fromMobileDesktop" : n ? "fromGalleryMobile" : "" : t ? n ? r ? "fromCameraFilesMobileDesktop" : "fromCameraFilesDesktop" : r ? "fromCameraMobileDesktop" : "fromCameraDesktop" : n ? r ? "fromFilesMobileDesktop" : "fromFilesDesktop" : r ? "fromMobileDesktop" : "", HE = (e, t, n, r) => e ? K.CHOOSE_INPUT_SOURCE : t ? K.CAMERA_PROCESSING : !t && r && !n ? K.REMOTE_SCANNER : K.CONFIGURATION_ERROR, UE = (e, t, n, r, i, a) => e ? (n ? n && (i || t) : !0) && (r ? r && (a || t) : !0) : i || t;
16600
+ }, VE = (e, t, n, r) => e ? t ? n ? "fromCameraGalleryMobile" : "fromMobileDesktop" : n ? "fromGalleryMobile" : "" : t ? n ? r ? "fromCameraFilesMobileDesktop" : "fromCameraFilesDesktop" : r ? "fromCameraMobileDesktop" : "fromCameraDesktop" : n ? r ? "fromFilesMobileDesktop" : "fromFilesDesktop" : r ? "fromMobileDesktop" : "", HE = (e, t, n, r) => e ? K.CHOOSE_INPUT_SOURCE : t ? K.CAMERA_PROCESSING : !t && r && !n ? K.REMOTE_SCANNER : K.CONFIGURATION_ERROR, UE = (e, t, n, r, i, a) => e ? (!n || n && (i || t)) && (!r || r && (a || t)) : i || t;
16590
16601
  to(), rs();
16591
16602
  function WE(e, t) {
16592
16603
  return YE(e) || JE(e, t) || KE(e, t) || GE();
@@ -16631,7 +16642,7 @@ function YE(e) {
16631
16642
  if (Array.isArray(e)) return e;
16632
16643
  }
16633
16644
  function XE(e) {
16634
- let t = e.direction, n = Dc(), r = n.onEvent, i = n.startScreen, a = n.internalScenario, o = n.allDevicesSwitchToMobileButton, s = o === void 0 ? !1 : o, c = n.fromCameraButton, l = c === void 0 ? !0 : c, u = n.uploadFileButton, d = u === void 0 ? !0 : u, f = BE(s), p = HE(!!i, l, d, f), m = Cl().translate, h = _C().orientation, g = WE(q(null), 2), _ = g[0], v = g[1], y = WE(q(p), 2), b = y[0], x = y[1], S = () => {
16645
+ let t = e.direction, n = Dc(), r = n.onEvent, i = n.startScreen, a = n.internalScenario, o = n.allDevicesSwitchToMobileButton, s = o !== void 0 && o, c = n.fromCameraButton, l = c === void 0 || c, u = n.uploadFileButton, d = u === void 0 || u, f = BE(s), p = HE(!!i, l, d, f), m = Cl().translate, h = _C().orientation, g = WE(q(null), 2), _ = g[0], v = g[1], y = WE(q(p), 2), b = y[0], x = y[1], S = () => {
16635
16646
  r({
16636
16647
  action: Qr.PRESS_CAMERA_BUTTON,
16637
16648
  data: null
@@ -16646,7 +16657,8 @@ function XE(e) {
16646
16657
  }, T = () => {
16647
16658
  x(K.REMOTE_SCANNER);
16648
16659
  }, E = (e) => {
16649
- x(Ei[e.type] || K.UNKNOWN_ERROR), r({
16660
+ let t = Ei[e.type] || K.UNKNOWN_ERROR;
16661
+ x(t), r({
16650
16662
  action: Qr.PROCESS_FINISHED,
16651
16663
  data: {
16652
16664
  status: Ii.ERROR,
@@ -19042,7 +19054,7 @@ function qD(e) {
19042
19054
  if (Array.isArray(e)) return e;
19043
19055
  }
19044
19056
  function JD(e) {
19045
- let t = e.direction, n = Dc(), r = n.onEvent, i = n.startScreen, a = n.fromCameraButton, o = a === void 0 ? !0 : a, s = n.uploadFileButton, c = s === void 0 ? !0 : s, l = Cl().translate, u = HD(q(i ? K.CHOOSE_INPUT_SOURCE : K.CAMERA_PROCESSING), 2), d = u[0], f = u[1], p = HD(q(null), 2), m = p[0], h = p[1], g = HD(q([{
19057
+ let t = e.direction, n = Dc(), r = n.onEvent, i = n.startScreen, a = n.fromCameraButton, o = a === void 0 || a, s = n.uploadFileButton, c = s === void 0 || s, l = Cl().translate, u = HD(q(i ? K.CHOOSE_INPUT_SOURCE : K.CAMERA_PROCESSING), 2), d = u[0], f = u[1], p = HD(q(null), 2), m = p[0], h = p[1], g = HD(q([{
19046
19058
  raw: "",
19047
19059
  mimeType: ""
19048
19060
  }]), 2), _ = g[0], v = g[1], y = (e) => {
@@ -19053,7 +19065,8 @@ function JD(e) {
19053
19065
  data: null
19054
19066
  }), f(K.CAMERA_PROCESSING);
19055
19067
  }, x = (e) => {
19056
- f(Ei[e.type] || K.UNKNOWN_ERROR), r({
19068
+ let t = Ei[e.type] || K.UNKNOWN_ERROR;
19069
+ f(t), r({
19057
19070
  action: Qr.PROCESS_FINISHED,
19058
19071
  data: {
19059
19072
  status: Ii.ERROR,
@@ -20411,7 +20424,7 @@ var Hk = class {
20411
20424
  }));
20412
20425
  });
20413
20426
  }
20414
- }, Uk = "text/plain", Wk = "us-ascii", Gk = "%(?:3A|2F|3F|23|5B|5D|40|21|24|26|27|28|29|2A|2B|2C|3B|3D)", Kk = "__normalize_url_encoded_reserved__", qk = /__normalize_url_encoded_reserved__(\d+)__/g, Jk = new RegExp(Gk, "i"), Yk = new RegExp(Gk, "gi"), Xk = (e, t) => Array.isArray(t) && t.some((t) => t instanceof RegExp ? t.flags.includes("g") || t.flags.includes("y") ? new RegExp(t.source, t.flags.replaceAll(/[gy]/g, "")).test(e) : t.test(e) : t === e), Zk = new Set([
20427
+ }, Uk = "text/plain", Wk = "us-ascii", Gk = "%(?:3A|2F|3F|23|5B|5D|40|21|24|26|27|28|29|2A|2B|2C|3B|3D)", Kk = "__normalize_url_encoded_reserved__", qk = /__normalize_url_encoded_reserved__(\d+)__/g, Jk = new RegExp(Gk, "i"), Yk = new RegExp(Gk, "gi"), Xk = (e, t) => Array.isArray(t) && t.some((t) => t instanceof RegExp ? t.flags.includes("g") || t.flags.includes("y") ? new RegExp(t.source, t.flags.replaceAll(/[gy]/g, "")).test(e) : t.test(e) : t === e), Zk = /* @__PURE__ */ new Set([
20415
20428
  "https:",
20416
20429
  "http:",
20417
20430
  "file:"
@@ -20589,7 +20602,7 @@ function fA(e, t) {
20589
20602
  }
20590
20603
  var pA = Ys.create("wasm"), mA = Ys.create("main"), hA = class {
20591
20604
  constructor() {
20592
- uA(this, "_worker", null), uA(this, "_initializeListener", null), uA(this, "_processingListener", null), uA(this, "_queueService", new Hk()), uA(this, "_initProcess", null), uA(this, "version", { component: "9.7.2987-rc" }), uA(this, "onFinalize", null), uA(this, "isPrepared", !1), uA(this, "isInitialized", !1), uA(this, "isProcessing", !1), uA(this, "initData", null), uA(this, "recognizerProcessParam", { processParam: {} }), uA(this, "imageProcessParam", { processParam: {} }), uA(this, "recognizeListener", null), uA(this, "workerPath", "https://wasm-development.regulaforensics.com/document/rc/9.7/barcodemrz/667d6beb-71ae3aba34"), uA(this, "pageIdx", null);
20605
+ uA(this, "_worker", null), uA(this, "_initializeListener", null), uA(this, "_processingListener", null), uA(this, "_queueService", new Hk()), uA(this, "_initProcess", null), uA(this, "version", { component: "9.7.2989-rc" }), uA(this, "onFinalize", null), uA(this, "isPrepared", !1), uA(this, "isInitialized", !1), uA(this, "isProcessing", !1), uA(this, "initData", null), uA(this, "recognizerProcessParam", { processParam: {} }), uA(this, "imageProcessParam", { processParam: {} }), uA(this, "recognizeListener", null), uA(this, "workerPath", "https://wasm-development.regulaforensics.com/document/rc/9.7/barcodemrz/134ec6f8-ed5a9cc46"), uA(this, "pageIdx", null);
20593
20606
  }
20594
20607
  get processingListener() {
20595
20608
  return this._processingListener;
@@ -20642,7 +20655,7 @@ var pA = Ys.create("wasm"), mA = Ys.create("main"), hA = class {
20642
20655
  var n;
20643
20656
  mA("Preparing the service");
20644
20657
  {
20645
- let n = t.workerPath === "https://wasm-development.regulaforensics.com/document/rc/9.7/barcodemrz/667d6beb-71ae3aba34", r = sA(e && n ? dx(e, "PROD") : t.workerPath), i = yield (yield fetch(`${r}/${Ti}`)).text();
20658
+ let n = t.workerPath === "https://wasm-development.regulaforensics.com/document/rc/9.7/barcodemrz/134ec6f8-ed5a9cc46", r = sA(e && n ? dx(e, "PROD") : t.workerPath), i = yield (yield fetch(`${r}/${Ti}`)).text();
20646
20659
  n || (i = ux(i, r));
20647
20660
  let a = new Blob([i], { type: "text/plain" }), o = URL.createObjectURL(a);
20648
20661
  t._worker = new Worker(o), URL.revokeObjectURL(o);
@@ -20681,7 +20694,7 @@ var pA = Ys.create("wasm"), mA = Ys.create("main"), hA = class {
20681
20694
  hostName: (n = document.location) == null ? void 0 : n.origin,
20682
20695
  license: e == null ? void 0 : e.license
20683
20696
  },
20684
- telemetry: yield zs({ sdkVersion: "9.7.2987-rc" }),
20697
+ telemetry: yield zs({ sdkVersion: "9.7.2989-rc" }),
20685
20698
  processParam: t.recognizerProcessParam.processParam || t.imageProcessParam.processParam
20686
20699
  }
20687
20700
  }), a = i.scenario, o = i.license;