@tsocial/tvweb-sdk.msb 0.0.0-beta.20251215-165409 → 0.0.0-beta.20251217-142321

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.
@@ -33783,7 +33783,7 @@
33783
33783
  }, nS$1;
33784
33784
  }();
33785
33785
  function nB$1() {
33786
- return "0.0.0-beta.20251215-165409";
33786
+ return "0.0.0-beta.20251217-142321";
33787
33787
  }
33788
33788
  function nI$1() {
33789
33789
  return {
@@ -41259,56 +41259,50 @@
41259
41259
  }, uz;
41260
41260
  }(), uG);
41261
41261
  }();
41262
- let dm = d_, dg = d_, dy = db();
41262
+ function dm(e, t) {
41263
+ let r = dv();
41264
+ return (dm = function(e, t) {
41265
+ return r[e -= 360];
41266
+ })(e, t);
41267
+ }
41268
+ let dg = dm, dy = dm, db = dv();
41263
41269
  for(;;)try {
41264
- if (parseInt(dg(378)) / 1 + -parseInt(dg(391)) / 2 * (-parseInt(dg(386)) / 3) + parseInt(dg(380)) / 4 * (parseInt(dg(384)) / 5) + -parseInt(dg(381)) / 6 + -parseInt(dg(383)) / 7 * (-parseInt(dg(377)) / 8) + -parseInt(dg(379)) / 9 + -parseInt(dg(367)) / 10 * (-parseInt(dg(372)) / 11) === 229615) break;
41265
- dy.push(dy.shift());
41270
+ if (parseInt(dy(360)) / 1 + parseInt(dy(376)) / 2 * (parseInt(dy(364)) / 3) + parseInt(dy(377)) / 4 * (parseInt(dy(367)) / 5) + -parseInt(dy(380)) / 6 + parseInt(dy(374)) / 7 * (parseInt(dy(369)) / 8) + -parseInt(dy(373)) / 9 * (parseInt(dy(378)) / 10) + parseInt(dy(365)) / 11 === 431675) break;
41271
+ db.push(db.shift());
41266
41272
  } catch (e) {
41267
- dy.push(dy.shift());
41273
+ db.push(db.shift());
41268
41274
  }
41269
- function db() {
41275
+ function dv() {
41270
41276
  let e = [
41271
- "25310HBUOBg",
41272
- "DepBO8t60S",
41273
- "MFkwEwYHKo",
41274
- "3059301306",
41275
- "+faHkP3QC3",
41276
- "407Ilvdnt",
41277
+ "431298HdIesc",
41278
+ "28QBzsDj",
41279
+ "MfPrcYTM70",
41280
+ "278jLdKKf",
41281
+ "69524PqGfjj",
41282
+ "40oyrDAO",
41283
+ "Mjci1ul8mm",
41284
+ "4090686MGSzKL",
41285
+ "ssRdXLZEX8",
41277
41286
  "44P0rKKsZK",
41278
- "3d02010608",
41279
- "ytJdcsPxrD",
41287
+ "388265omPOkm",
41280
41288
  "D9EKOWS+U4",
41281
- "14552FNqEza",
41282
- "101165gbwSGf",
41283
- "3599838cBdphG",
41284
- "96444qpbkcR",
41285
- "671448TAUmcs",
41286
- "072a8648ce",
41287
- "532kymtpA",
41288
- "45uWuFYC",
41289
- "MfPrcYTM70",
41290
- "6ocbIJZ",
41291
- "000",
41292
- "0301070342",
41289
+ "KA==",
41290
+ "2a8648ce3d",
41291
+ "1131IWqIwd",
41292
+ "3490498FdsWqz",
41293
+ "MFkwEwYHKo",
41294
+ "130pWIRuI",
41293
41295
  "KoZIzj0DAQ",
41296
+ "190504tfNTkt",
41294
41297
  "ZIzj0CAQYI",
41295
- "191450lvsUWR",
41296
- "2a8648ce3d",
41297
- "cDQgAE9h6Z",
41298
- "KA=="
41298
+ "3d02010608",
41299
+ "DepBO8t60S"
41299
41300
  ];
41300
- return (db = function() {
41301
+ return (dv = function() {
41301
41302
  return e;
41302
41303
  })();
41303
41304
  }
41304
- let dv = dm(370) + dm(382) + dm(374) + dm(392) + dm(388) + dm(387);
41305
- function d_(e, t) {
41306
- let r = db();
41307
- return (d_ = function(e, t) {
41308
- return r[e -= 366];
41309
- })(e, t);
41310
- }
41311
- let dx = dm(369) + dm(390) + dm(389) + dm(393) + dm(368) + dm(375) + dm(371) + dm(373) + "Mjci1ul8mm" + dm(376) + dm(385) + "ssRdXLZEX8" + dm(366);
41305
+ let d_ = "3059301306072a8648ce" + dg(371) + dg(363) + "0301070342000", dx = dg(366) + dg(370) + dg(368) + "cDQgAE9h6Z" + dg(372) + "ytJdcsPxrD+faHkP3QC3" + dg(382) + dg(379) + dg(361) + dg(375) + dg(381) + dg(362);
41312
41306
  async function dC(e) {
41313
41307
  let t = new TextEncoder().encode(e);
41314
41308
  return Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256", t))).map((e)=>e.toString(16).padStart(2, "0")).join("");
@@ -41413,7 +41407,7 @@
41413
41407
  isValid: !1,
41414
41408
  error: i0$1.invalid_license
41415
41409
  };
41416
- let { mode: a, license: o, signature: s } = dS(e), c = dw(i4$1(o)), l = (r = t || dx, n = i4$1(r).replace(dv, ""), i = new dp.ec("p256").keyFromPublic(n, "hex"), {
41410
+ let { mode: a, license: o, signature: s } = dS(e), c = dw(i4$1(o)), l = (r = t || dx, n = i4$1(r).replace(d_, ""), i = new dp.ec("p256").keyFromPublic(n, "hex"), {
41417
41411
  verifySignature: async (e, t)=>{
41418
41412
  try {
41419
41413
  let r = await dC(e), n = i4$1(t);
@@ -53110,7 +53104,7 @@
53110
53104
  });
53111
53105
  };
53112
53106
 
53113
- var Z, K, Y, J, ee, et, er, eo, en, ei, ea, es, ec, el, ed, eu, ef, ep, eh, em, eg, eb, ev, ew, ek, ey, eC, eB, e_, ex, eP, eS, eE, eT, eD, e$, ej, eI, eO, eM, eA, eR, eL, eF, eN, ez, eV, eW, eU, eq, eQ, eX, eH, eG, eZ, eK, eY, eJ, e3, e2, e5, e0, e1, e8, e9, e4, e7, e6, te, tt, tr, to, tn, ti, ta, ts, tc, tl, td, tu, tf, tp, th, tm, tg, tb, tv, tw, tk, ty, tC, tB, t_, tx, tP, tS, tE, tT, tD, t$, tj, tI, tO, tM, tA, tR, tL, tF, tN, tz, tV, tW, tU, tq, tQ, tX, tH, tG, tZ, tK, tY, tJ, t3, t2, t5, t0, t1, t8, t9, t4, t7, t6, re, rt, rr, ro, rn, ri, ra, rs, rc, rl, rd, ru, rf, rp, rh, rm, rg, rb, rv, rw, rk, ry, rC, rB, r_, rx, rP, rS, rE, rT, rD, r$, rj, rI, rO, rM, rA, rR, rL, rF, rN, rz, rV, rW, rU, rq, rQ, rX, rH, rG, rZ, rK, rY, rJ, r3, r2, r5, r0, r1, r8, r9, r4, r7, r6, oe, ot, or, oo, on, oi, oa, os, oc, ol, od, ou, of, op, oh, om, og, ob, ov, ow, ok, oy, oC, oB, o_, ox, oP, oS, oE, oT, oD, o$, oj, oI, oO, oM, oA, oR, oL, oF, oN, oz, oV, oW, oq, oQ = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : {};
53107
+ var Z, K, Y, J, ee, et, er, eo, en, ei, ea, es, ec, el, ed, eu, ep, ef, eh, em, eg, eb, ev, ew, ek, ey, eC, eB, e_, ex, eP, eS, eE, eT, eD, e$, ej, eI, eO, eM, eA, eR, eL, eF, eN, ez, eV, eW, eU, eq, eQ, eX, eH, eG, eZ, eK, eY, eJ, e3, e2, e5, e0, e1, e8, e9, e4, e7, e6, te, tt, tr, to, tn, ti, ta, ts, tc, tl, td, tu, tp, tf, th, tm, tg, tb, tv, tw, tk, ty, tC, tB, t_, tx, tP, tS, tE, tT, tD, t$, tj, tI, tO, tM, tA, tR, tL, tF, tN, tz, tV, tW, tU, tq, tQ, tX, tH, tG, tZ, tK, tY, tJ, t3, t2, t5, t0, t1, t8, t9, t4, t7, t6, re, rt, rr, ro, rn, ri, ra, rs, rc, rl, rd, ru, rp, rf, rh, rm, rg, rb, rv, rw, rk, ry, rC, rB, r_, rx, rP, rS, rE, rT, rD, r$, rj, rI, rO, rM, rA, rR, rL, rF, rN, rz, rV, rW, rU, rq, rQ, rX, rH, rG, rZ, rK, rY, rJ, r3, r2, r5, r0, r1, r8, r9, r4, r7, r6, oe, ot, or, oo, on, oi, oa, os, oc, ol, od, ou, op, of, oh, om, og, ob, ov, ow, ok, oy, oC, oB, o_, ox, oP, oS, oE, oT, oD, o$, oj, oI, oO, oM, oA, oR, oL, oF, oN, oz, oV, oW, oq, oQ = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : {};
53114
53108
  function oX(t) {
53115
53109
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
53116
53110
  }
@@ -53189,7 +53183,7 @@
53189
53183
  };
53190
53184
  }
53191
53185
  function o5() {
53192
- return ep ? ef : (ep = 1, ef = function(t) {
53186
+ return ef ? ep : (ef = 1, ep = function(t) {
53193
53187
  return null != t && "object" == typeof t;
53194
53188
  });
53195
53189
  }
@@ -53421,10 +53415,10 @@
53421
53415
  return t(this, r).get(r);
53422
53416
  };
53423
53417
  }(), n = function() {
53424
- if (tp) return tf;
53425
- tp = 1;
53418
+ if (tf) return tp;
53419
+ tf = 1;
53426
53420
  var t = nr();
53427
- return tf = function(r) {
53421
+ return tp = function(r) {
53428
53422
  return t(this, r).has(r);
53429
53423
  };
53430
53424
  }(), i = function() {
@@ -53567,16 +53561,16 @@
53567
53561
  function nc(t, r) {
53568
53562
  return t.replace(RegExp("(^|\\s)" + r + "(?:\\s|$)", "g"), "$1").replace(/\s+/g, " ").replace(/^\s*|\s*$/g, "");
53569
53563
  }
53570
- var nl = !1, nd = /*#__PURE__*/ React.createContext(null), nu = "unmounted", nf = "exited", np = "entering", nh = "entered", nm = "exiting", ng = function(r) {
53564
+ var nl = !1, nd = /*#__PURE__*/ React.createContext(null), nu = "unmounted", np = "exited", nf = "entering", nh = "entered", nm = "exiting", ng = function(r) {
53571
53565
  function o(t, o) {
53572
53566
  var n, i = r.call(this, t, o) || this, a = o && !o.isMounting ? t.enter : t.appear;
53573
- return i.appearStatus = null, t.in ? a ? (n = nf, i.appearStatus = np) : n = nh : n = t.unmountOnExit || t.mountOnEnter ? nu : nf, i.state = {
53567
+ return i.appearStatus = null, t.in ? a ? (n = np, i.appearStatus = nf) : n = nh : n = t.unmountOnExit || t.mountOnEnter ? nu : np, i.state = {
53574
53568
  status: n
53575
53569
  }, i.nextCallback = null, i;
53576
53570
  }
53577
53571
  ns(o, r), o.getDerivedStateFromProps = function(t, r) {
53578
53572
  return t.in && r.status === nu ? {
53579
- status: nf
53573
+ status: np
53580
53574
  } : null;
53581
53575
  };
53582
53576
  var n = o.prototype;
@@ -53586,7 +53580,7 @@
53586
53580
  var r = null;
53587
53581
  if (t !== this.props) {
53588
53582
  var o = this.state.status;
53589
- this.props.in ? o !== np && o !== nh && (r = np) : (o === np || o === nh) && (r = nm);
53583
+ this.props.in ? o !== nf && o !== nh && (r = nf) : (o === nf || o === nh) && (r = nm);
53590
53584
  }
53591
53585
  this.updateStatus(!1, r);
53592
53586
  }, n.componentWillUnmount = function() {
@@ -53599,7 +53593,7 @@
53599
53593
  appear: o
53600
53594
  };
53601
53595
  }, n.updateStatus = function(t, r) {
53602
- void 0 === t && (t = !1), null !== r ? (this.cancelNextCallback(), r === np ? this.performEnter(t) : this.performExit()) : this.props.unmountOnExit && this.state.status === nf && this.setState({
53596
+ void 0 === t && (t = !1), null !== r ? (this.cancelNextCallback(), r === nf ? this.performEnter(t) : this.performExit()) : this.props.unmountOnExit && this.state.status === np && this.setState({
53603
53597
  status: nu
53604
53598
  });
53605
53599
  }, n.performEnter = function(t) {
@@ -53610,7 +53604,7 @@
53610
53604
  n
53611
53605
  ], a = i[0], s = i[1], c = this.getTimeouts(), l = n ? c.appear : c.enter;
53612
53606
  (t || o) && !nl ? (this.props.onEnter(a, s), this.safeSetState({
53613
- status: np
53607
+ status: nf
53614
53608
  }, function() {
53615
53609
  r.props.onEntering(a, s), r.onTransitionEnd(l, function() {
53616
53610
  r.safeSetState({
@@ -53627,7 +53621,7 @@
53627
53621
  }, n.performExit = function() {
53628
53622
  var t = this, r = this.props.exit, o = this.getTimeouts(), n = this.props.nodeRef ? void 0 : ReactDOM.findDOMNode(this);
53629
53623
  !r || nl ? this.safeSetState({
53630
- status: nf
53624
+ status: np
53631
53625
  }, function() {
53632
53626
  t.props.onExited(n);
53633
53627
  }) : (this.props.onExit(n), this.safeSetState({
@@ -53635,7 +53629,7 @@
53635
53629
  }, function() {
53636
53630
  t.props.onExiting(n), t.onTransitionEnd(o.exit, function() {
53637
53631
  t.safeSetState({
53638
- status: nf
53632
+ status: np
53639
53633
  }, function() {
53640
53634
  t.props.onExited(n);
53641
53635
  });
@@ -53708,7 +53702,7 @@
53708
53702
  onExit: nb,
53709
53703
  onExiting: nb,
53710
53704
  onExited: nb
53711
- }, ng.UNMOUNTED = nu, ng.EXITED = nf, ng.ENTERING = np, ng.ENTERED = nh, ng.EXITING = nm;
53705
+ }, ng.UNMOUNTED = nu, ng.EXITED = np, ng.ENTERING = nf, ng.ENTERED = nh, ng.EXITING = nm;
53712
53706
  var nv = function(t, r) {
53713
53707
  return t && r && r.split(" ").forEach(function(r) {
53714
53708
  var o, n;
@@ -53803,7 +53797,7 @@
53803
53797
  return /*#__PURE__*/ React.cloneElement(o, {
53804
53798
  in: !1,
53805
53799
  onExited: nC(o, "onExited", function() {
53806
- n(np, null);
53800
+ n(nf, null);
53807
53801
  })
53808
53802
  });
53809
53803
  }, tL[ny] = function(r) {
@@ -53813,7 +53807,7 @@
53813
53807
  /*#__PURE__*/ React.cloneElement(i, {
53814
53808
  in: !0,
53815
53809
  onEntered: nC(i, "onEntered", function() {
53816
- n(np);
53810
+ n(nf);
53817
53811
  })
53818
53812
  })
53819
53813
  ];
@@ -53866,8 +53860,8 @@
53866
53860
  if (null == r.children) return {
53867
53861
  current: null
53868
53862
  };
53869
- if (o.status === np && r.mode === ny) return {
53870
- status: np
53863
+ if (o.status === nf && r.mode === ny) return {
53864
+ status: nf
53871
53865
  };
53872
53866
  return o.current && (n = o.current, !(n === (i = r.children) || /*#__PURE__*/ React.isValidElement(n) && /*#__PURE__*/ React.isValidElement(i) && null != n.key && n.key === i.key) && 1) ? {
53873
53867
  status: nm
@@ -53884,7 +53878,7 @@
53884
53878
  status: s
53885
53879
  };
53886
53880
  switch(s){
53887
- case np:
53881
+ case nf:
53888
53882
  r = n_[i](l);
53889
53883
  break;
53890
53884
  case nm:
@@ -53914,7 +53908,7 @@
53914
53908
  var t, r;
53915
53909
  if (tN) return nS.exports;
53916
53910
  return tN = 1, t = nS, r = nS.exports, function(o, n) {
53917
- var i = "function", a = "undefined", s = "object", c = "string", l = "major", d = "model", u = "name", f = "type", p = "vendor", h = "version", m = "architecture", g = "console", b = "mobile", v = "tablet", w = "smarttv", k = "wearable", y = "embedded", C = "Amazon", B = "Apple", _ = "ASUS", x = "BlackBerry", P = "Browser", S = "Chrome", E = "Firefox", T = "Google", D = "Huawei", $ = "Microsoft", j = "Motorola", I = "Opera", O = "Samsung", M = "Sharp", A = "Sony", R = "Xiaomi", L = "Zebra", F = "Facebook", N = "Chromium OS", z = "Mac OS", V = function(t, r) {
53911
+ var i = "function", a = "undefined", s = "object", c = "string", l = "major", d = "model", u = "name", p = "type", f = "vendor", h = "version", m = "architecture", g = "console", b = "mobile", v = "tablet", w = "smarttv", k = "wearable", y = "embedded", C = "Amazon", B = "Apple", _ = "ASUS", x = "BlackBerry", P = "Browser", S = "Chrome", E = "Firefox", T = "Google", D = "Huawei", $ = "Microsoft", j = "Motorola", I = "Opera", O = "Samsung", M = "Sharp", A = "Sony", R = "Xiaomi", L = "Zebra", F = "Facebook", N = "Chromium OS", z = "Mac OS", V = function(t, r) {
53918
53912
  var o = {};
53919
53913
  for(var n in t)r[n] && r[n].length % 2 == 0 ? o[n] = r[n].concat(t[n]) : o[n] = t[n];
53920
53914
  return o;
@@ -53929,9 +53923,9 @@
53929
53923
  if (typeof t === c) return t = t.replace(/^\s\s*/, ""), typeof r === a ? t : t.substring(0, 500);
53930
53924
  }, X = function(t, r) {
53931
53925
  for(var o, n, a, c, l, d, u = 0; u < r.length && !l;){
53932
- var f = r[u], p = r[u + 1];
53933
- for(o = n = 0; o < f.length && !l && f[o];){
53934
- if (l = f[o++].exec(t)) for(a = 0; a < p.length; a++)d = l[++n], typeof (c = p[a]) === s && c.length > 0 ? 2 === c.length ? typeof c[1] == i ? this[c[0]] = c[1].call(this, d) : this[c[0]] = c[1] : 3 === c.length ? typeof c[1] !== i || c[1].exec && c[1].test ? this[c[0]] = d ? d.replace(c[1], c[2]) : void 0 : this[c[0]] = d ? c[1].call(this, d, c[2]) : void 0 : 4 === c.length && (this[c[0]] = d ? c[3].call(this, d.replace(c[1], c[2])) : void 0) : this[c] = d || void 0;
53926
+ var p = r[u], f = r[u + 1];
53927
+ for(o = n = 0; o < p.length && !l && p[o];){
53928
+ if (l = p[o++].exec(t)) for(a = 0; a < f.length; a++)d = l[++n], typeof (c = f[a]) === s && c.length > 0 ? 2 === c.length ? typeof c[1] == i ? this[c[0]] = c[1].call(this, d) : this[c[0]] = c[1] : 3 === c.length ? typeof c[1] !== i || c[1].exec && c[1].test ? this[c[0]] = d ? d.replace(c[1], c[2]) : void 0 : this[c[0]] = d ? c[1].call(this, d, c[2]) : void 0 : 4 === c.length && (this[c[0]] = d ? c[3].call(this, d.replace(c[1], c[2])) : void 0) : this[c] = d || void 0;
53935
53929
  }
53936
53930
  u += 2;
53937
53931
  }
@@ -54515,11 +54509,11 @@
54515
54509
  [
54516
54510
  d,
54517
54511
  [
54518
- p,
54512
+ f,
54519
54513
  O
54520
54514
  ],
54521
54515
  [
54522
- f,
54516
+ p,
54523
54517
  v
54524
54518
  ]
54525
54519
  ],
@@ -54531,11 +54525,11 @@
54531
54525
  [
54532
54526
  d,
54533
54527
  [
54534
- p,
54528
+ f,
54535
54529
  O
54536
54530
  ],
54537
54531
  [
54538
- f,
54532
+ p,
54539
54533
  b
54540
54534
  ]
54541
54535
  ],
@@ -54545,11 +54539,11 @@
54545
54539
  [
54546
54540
  d,
54547
54541
  [
54548
- p,
54542
+ f,
54549
54543
  B
54550
54544
  ],
54551
54545
  [
54552
- f,
54546
+ p,
54553
54547
  b
54554
54548
  ]
54555
54549
  ],
@@ -54561,11 +54555,11 @@
54561
54555
  [
54562
54556
  d,
54563
54557
  [
54564
- p,
54558
+ f,
54565
54559
  B
54566
54560
  ],
54567
54561
  [
54568
- f,
54562
+ p,
54569
54563
  v
54570
54564
  ]
54571
54565
  ],
@@ -54575,7 +54569,7 @@
54575
54569
  [
54576
54570
  d,
54577
54571
  [
54578
- p,
54572
+ f,
54579
54573
  B
54580
54574
  ]
54581
54575
  ],
@@ -54585,11 +54579,11 @@
54585
54579
  [
54586
54580
  d,
54587
54581
  [
54588
- p,
54582
+ f,
54589
54583
  M
54590
54584
  ],
54591
54585
  [
54592
- f,
54586
+ p,
54593
54587
  b
54594
54588
  ]
54595
54589
  ],
@@ -54599,11 +54593,11 @@
54599
54593
  [
54600
54594
  d,
54601
54595
  [
54602
- p,
54596
+ f,
54603
54597
  D
54604
54598
  ],
54605
54599
  [
54606
- f,
54600
+ p,
54607
54601
  v
54608
54602
  ]
54609
54603
  ],
@@ -54614,11 +54608,11 @@
54614
54608
  [
54615
54609
  d,
54616
54610
  [
54617
- p,
54611
+ f,
54618
54612
  D
54619
54613
  ],
54620
54614
  [
54621
- f,
54615
+ p,
54622
54616
  b
54623
54617
  ]
54624
54618
  ],
@@ -54637,11 +54631,11 @@
54637
54631
  " "
54638
54632
  ],
54639
54633
  [
54640
- p,
54634
+ f,
54641
54635
  R
54642
54636
  ],
54643
54637
  [
54644
- f,
54638
+ p,
54645
54639
  b
54646
54640
  ]
54647
54641
  ],
@@ -54656,11 +54650,11 @@
54656
54650
  " "
54657
54651
  ],
54658
54652
  [
54659
- p,
54653
+ f,
54660
54654
  R
54661
54655
  ],
54662
54656
  [
54663
- f,
54657
+ p,
54664
54658
  v
54665
54659
  ]
54666
54660
  ],
@@ -54671,11 +54665,11 @@
54671
54665
  [
54672
54666
  d,
54673
54667
  [
54674
- p,
54668
+ f,
54675
54669
  "OPPO"
54676
54670
  ],
54677
54671
  [
54678
- f,
54672
+ p,
54679
54673
  b
54680
54674
  ]
54681
54675
  ],
@@ -54686,11 +54680,11 @@
54686
54680
  [
54687
54681
  d,
54688
54682
  [
54689
- p,
54683
+ f,
54690
54684
  "Vivo"
54691
54685
  ],
54692
54686
  [
54693
- f,
54687
+ p,
54694
54688
  b
54695
54689
  ]
54696
54690
  ],
@@ -54700,11 +54694,11 @@
54700
54694
  [
54701
54695
  d,
54702
54696
  [
54703
- p,
54697
+ f,
54704
54698
  "Realme"
54705
54699
  ],
54706
54700
  [
54707
- f,
54701
+ p,
54708
54702
  b
54709
54703
  ]
54710
54704
  ],
@@ -54716,11 +54710,11 @@
54716
54710
  [
54717
54711
  d,
54718
54712
  [
54719
- p,
54713
+ f,
54720
54714
  j
54721
54715
  ],
54722
54716
  [
54723
- f,
54717
+ p,
54724
54718
  b
54725
54719
  ]
54726
54720
  ],
@@ -54730,11 +54724,11 @@
54730
54724
  [
54731
54725
  d,
54732
54726
  [
54733
- p,
54727
+ f,
54734
54728
  j
54735
54729
  ],
54736
54730
  [
54737
- f,
54731
+ p,
54738
54732
  v
54739
54733
  ]
54740
54734
  ],
@@ -54744,11 +54738,11 @@
54744
54738
  [
54745
54739
  d,
54746
54740
  [
54747
- p,
54741
+ f,
54748
54742
  "LG"
54749
54743
  ],
54750
54744
  [
54751
- f,
54745
+ p,
54752
54746
  v
54753
54747
  ]
54754
54748
  ],
@@ -54760,11 +54754,11 @@
54760
54754
  [
54761
54755
  d,
54762
54756
  [
54763
- p,
54757
+ f,
54764
54758
  "LG"
54765
54759
  ],
54766
54760
  [
54767
- f,
54761
+ p,
54768
54762
  b
54769
54763
  ]
54770
54764
  ],
@@ -54775,11 +54769,11 @@
54775
54769
  [
54776
54770
  d,
54777
54771
  [
54778
- p,
54772
+ f,
54779
54773
  "Lenovo"
54780
54774
  ],
54781
54775
  [
54782
- f,
54776
+ p,
54783
54777
  v
54784
54778
  ]
54785
54779
  ],
@@ -54794,11 +54788,11 @@
54794
54788
  " "
54795
54789
  ],
54796
54790
  [
54797
- p,
54791
+ f,
54798
54792
  "Nokia"
54799
54793
  ],
54800
54794
  [
54801
- f,
54795
+ p,
54802
54796
  b
54803
54797
  ]
54804
54798
  ],
@@ -54808,11 +54802,11 @@
54808
54802
  [
54809
54803
  d,
54810
54804
  [
54811
- p,
54805
+ f,
54812
54806
  T
54813
54807
  ],
54814
54808
  [
54815
- f,
54809
+ p,
54816
54810
  v
54817
54811
  ]
54818
54812
  ],
@@ -54822,11 +54816,11 @@
54822
54816
  [
54823
54817
  d,
54824
54818
  [
54825
- p,
54819
+ f,
54826
54820
  T
54827
54821
  ],
54828
54822
  [
54829
- f,
54823
+ p,
54830
54824
  b
54831
54825
  ]
54832
54826
  ],
@@ -54836,11 +54830,11 @@
54836
54830
  [
54837
54831
  d,
54838
54832
  [
54839
- p,
54833
+ f,
54840
54834
  A
54841
54835
  ],
54842
54836
  [
54843
- f,
54837
+ p,
54844
54838
  b
54845
54839
  ]
54846
54840
  ],
@@ -54854,11 +54848,11 @@
54854
54848
  "Xperia Tablet"
54855
54849
  ],
54856
54850
  [
54857
- p,
54851
+ f,
54858
54852
  A
54859
54853
  ],
54860
54854
  [
54861
- f,
54855
+ p,
54862
54856
  v
54863
54857
  ]
54864
54858
  ],
@@ -54869,11 +54863,11 @@
54869
54863
  [
54870
54864
  d,
54871
54865
  [
54872
- p,
54866
+ f,
54873
54867
  "OnePlus"
54874
54868
  ],
54875
54869
  [
54876
- f,
54870
+ p,
54877
54871
  b
54878
54872
  ]
54879
54873
  ],
@@ -54885,11 +54879,11 @@
54885
54879
  [
54886
54880
  d,
54887
54881
  [
54888
- p,
54882
+ f,
54889
54883
  C
54890
54884
  ],
54891
54885
  [
54892
- f,
54886
+ p,
54893
54887
  v
54894
54888
  ]
54895
54889
  ],
@@ -54903,11 +54897,11 @@
54903
54897
  "Fire Phone $1"
54904
54898
  ],
54905
54899
  [
54906
- p,
54900
+ f,
54907
54901
  C
54908
54902
  ],
54909
54903
  [
54910
- f,
54904
+ p,
54911
54905
  b
54912
54906
  ]
54913
54907
  ],
@@ -54916,9 +54910,9 @@
54916
54910
  ],
54917
54911
  [
54918
54912
  d,
54919
- p,
54913
+ f,
54920
54914
  [
54921
- f,
54915
+ p,
54922
54916
  v
54923
54917
  ]
54924
54918
  ],
@@ -54929,11 +54923,11 @@
54929
54923
  [
54930
54924
  d,
54931
54925
  [
54932
- p,
54926
+ f,
54933
54927
  x
54934
54928
  ],
54935
54929
  [
54936
- f,
54930
+ p,
54937
54931
  b
54938
54932
  ]
54939
54933
  ],
@@ -54943,11 +54937,11 @@
54943
54937
  [
54944
54938
  d,
54945
54939
  [
54946
- p,
54940
+ f,
54947
54941
  _
54948
54942
  ],
54949
54943
  [
54950
- f,
54944
+ p,
54951
54945
  v
54952
54946
  ]
54953
54947
  ],
@@ -54957,11 +54951,11 @@
54957
54951
  [
54958
54952
  d,
54959
54953
  [
54960
- p,
54954
+ f,
54961
54955
  _
54962
54956
  ],
54963
54957
  [
54964
- f,
54958
+ p,
54965
54959
  b
54966
54960
  ]
54967
54961
  ],
@@ -54971,11 +54965,11 @@
54971
54965
  [
54972
54966
  d,
54973
54967
  [
54974
- p,
54968
+ f,
54975
54969
  "HTC"
54976
54970
  ],
54977
54971
  [
54978
- f,
54972
+ p,
54979
54973
  v
54980
54974
  ]
54981
54975
  ],
@@ -54985,14 +54979,14 @@
54985
54979
  /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i
54986
54980
  ],
54987
54981
  [
54988
- p,
54982
+ f,
54989
54983
  [
54990
54984
  d,
54991
54985
  /_/g,
54992
54986
  " "
54993
54987
  ],
54994
54988
  [
54995
- f,
54989
+ p,
54996
54990
  b
54997
54991
  ]
54998
54992
  ],
@@ -55002,11 +54996,11 @@
55002
54996
  [
55003
54997
  d,
55004
54998
  [
55005
- p,
54999
+ f,
55006
55000
  "Acer"
55007
55001
  ],
55008
55002
  [
55009
- f,
55003
+ p,
55010
55004
  v
55011
55005
  ]
55012
55006
  ],
@@ -55017,11 +55011,11 @@
55017
55011
  [
55018
55012
  d,
55019
55013
  [
55020
- p,
55014
+ f,
55021
55015
  "Meizu"
55022
55016
  ],
55023
55017
  [
55024
- f,
55018
+ p,
55025
55019
  b
55026
55020
  ]
55027
55021
  ],
@@ -55031,11 +55025,11 @@
55031
55025
  [
55032
55026
  d,
55033
55027
  [
55034
- p,
55028
+ f,
55035
55029
  "Ulefone"
55036
55030
  ],
55037
55031
  [
55038
- f,
55032
+ p,
55039
55033
  b
55040
55034
  ]
55041
55035
  ],
@@ -55049,10 +55043,10 @@
55049
55043
  /(oppo) ?([\w ]+) bui/i
55050
55044
  ],
55051
55045
  [
55052
- p,
55046
+ f,
55053
55047
  d,
55054
55048
  [
55055
- f,
55049
+ p,
55056
55050
  b
55057
55051
  ]
55058
55052
  ],
@@ -55069,10 +55063,10 @@
55069
55063
  /(vodafone) ([\w ]+)(?:\)| bui)/i
55070
55064
  ],
55071
55065
  [
55072
- p,
55066
+ f,
55073
55067
  d,
55074
55068
  [
55075
- f,
55069
+ p,
55076
55070
  v
55077
55071
  ]
55078
55072
  ],
@@ -55082,11 +55076,11 @@
55082
55076
  [
55083
55077
  d,
55084
55078
  [
55085
- p,
55079
+ f,
55086
55080
  $
55087
55081
  ],
55088
55082
  [
55089
- f,
55083
+ p,
55090
55084
  v
55091
55085
  ]
55092
55086
  ],
@@ -55096,11 +55090,11 @@
55096
55090
  [
55097
55091
  d,
55098
55092
  [
55099
- p,
55093
+ f,
55100
55094
  "Fairphone"
55101
55095
  ],
55102
55096
  [
55103
- f,
55097
+ p,
55104
55098
  b
55105
55099
  ]
55106
55100
  ],
@@ -55110,11 +55104,11 @@
55110
55104
  [
55111
55105
  d,
55112
55106
  [
55113
- p,
55107
+ f,
55114
55108
  "AT&T"
55115
55109
  ],
55116
55110
  [
55117
- f,
55111
+ p,
55118
55112
  b
55119
55113
  ]
55120
55114
  ],
@@ -55124,11 +55118,11 @@
55124
55118
  [
55125
55119
  d,
55126
55120
  [
55127
- p,
55121
+ f,
55128
55122
  "Siemens"
55129
55123
  ],
55130
55124
  [
55131
- f,
55125
+ p,
55132
55126
  b
55133
55127
  ]
55134
55128
  ],
@@ -55138,11 +55132,11 @@
55138
55132
  [
55139
55133
  d,
55140
55134
  [
55141
- p,
55135
+ f,
55142
55136
  "RCA"
55143
55137
  ],
55144
55138
  [
55145
- f,
55139
+ p,
55146
55140
  v
55147
55141
  ]
55148
55142
  ],
@@ -55152,11 +55146,11 @@
55152
55146
  [
55153
55147
  d,
55154
55148
  [
55155
- p,
55149
+ f,
55156
55150
  "Dell"
55157
55151
  ],
55158
55152
  [
55159
- f,
55153
+ p,
55160
55154
  v
55161
55155
  ]
55162
55156
  ],
@@ -55166,11 +55160,11 @@
55166
55160
  [
55167
55161
  d,
55168
55162
  [
55169
- p,
55163
+ f,
55170
55164
  "Verizon"
55171
55165
  ],
55172
55166
  [
55173
- f,
55167
+ p,
55174
55168
  v
55175
55169
  ]
55176
55170
  ],
@@ -55180,11 +55174,11 @@
55180
55174
  [
55181
55175
  d,
55182
55176
  [
55183
- p,
55177
+ f,
55184
55178
  "Barnes & Noble"
55185
55179
  ],
55186
55180
  [
55187
- f,
55181
+ p,
55188
55182
  v
55189
55183
  ]
55190
55184
  ],
@@ -55194,11 +55188,11 @@
55194
55188
  [
55195
55189
  d,
55196
55190
  [
55197
- p,
55191
+ f,
55198
55192
  "NuVision"
55199
55193
  ],
55200
55194
  [
55201
- f,
55195
+ p,
55202
55196
  v
55203
55197
  ]
55204
55198
  ],
@@ -55208,11 +55202,11 @@
55208
55202
  [
55209
55203
  d,
55210
55204
  [
55211
- p,
55205
+ f,
55212
55206
  "ZTE"
55213
55207
  ],
55214
55208
  [
55215
- f,
55209
+ p,
55216
55210
  v
55217
55211
  ]
55218
55212
  ],
@@ -55222,11 +55216,11 @@
55222
55216
  [
55223
55217
  d,
55224
55218
  [
55225
- p,
55219
+ f,
55226
55220
  "ZTE"
55227
55221
  ],
55228
55222
  [
55229
- f,
55223
+ p,
55230
55224
  b
55231
55225
  ]
55232
55226
  ],
@@ -55236,11 +55230,11 @@
55236
55230
  [
55237
55231
  d,
55238
55232
  [
55239
- p,
55233
+ f,
55240
55234
  "Swiss"
55241
55235
  ],
55242
55236
  [
55243
- f,
55237
+ p,
55244
55238
  b
55245
55239
  ]
55246
55240
  ],
@@ -55250,11 +55244,11 @@
55250
55244
  [
55251
55245
  d,
55252
55246
  [
55253
- p,
55247
+ f,
55254
55248
  "Swiss"
55255
55249
  ],
55256
55250
  [
55257
- f,
55251
+ p,
55258
55252
  v
55259
55253
  ]
55260
55254
  ],
@@ -55264,11 +55258,11 @@
55264
55258
  [
55265
55259
  d,
55266
55260
  [
55267
- p,
55261
+ f,
55268
55262
  "Zeki"
55269
55263
  ],
55270
55264
  [
55271
- f,
55265
+ p,
55272
55266
  v
55273
55267
  ]
55274
55268
  ],
@@ -55278,12 +55272,12 @@
55278
55272
  ],
55279
55273
  [
55280
55274
  [
55281
- p,
55275
+ f,
55282
55276
  "Dragon Touch"
55283
55277
  ],
55284
55278
  d,
55285
55279
  [
55286
- f,
55280
+ p,
55287
55281
  v
55288
55282
  ]
55289
55283
  ],
@@ -55293,11 +55287,11 @@
55293
55287
  [
55294
55288
  d,
55295
55289
  [
55296
- p,
55290
+ f,
55297
55291
  "Insignia"
55298
55292
  ],
55299
55293
  [
55300
- f,
55294
+ p,
55301
55295
  v
55302
55296
  ]
55303
55297
  ],
@@ -55307,11 +55301,11 @@
55307
55301
  [
55308
55302
  d,
55309
55303
  [
55310
- p,
55304
+ f,
55311
55305
  "NextBook"
55312
55306
  ],
55313
55307
  [
55314
- f,
55308
+ p,
55315
55309
  v
55316
55310
  ]
55317
55311
  ],
@@ -55320,12 +55314,12 @@
55320
55314
  ],
55321
55315
  [
55322
55316
  [
55323
- p,
55317
+ f,
55324
55318
  "Voice"
55325
55319
  ],
55326
55320
  d,
55327
55321
  [
55328
- f,
55322
+ p,
55329
55323
  b
55330
55324
  ]
55331
55325
  ],
@@ -55334,12 +55328,12 @@
55334
55328
  ],
55335
55329
  [
55336
55330
  [
55337
- p,
55331
+ f,
55338
55332
  "LvTel"
55339
55333
  ],
55340
55334
  d,
55341
55335
  [
55342
- f,
55336
+ p,
55343
55337
  b
55344
55338
  ]
55345
55339
  ],
@@ -55349,11 +55343,11 @@
55349
55343
  [
55350
55344
  d,
55351
55345
  [
55352
- p,
55346
+ f,
55353
55347
  "Essential"
55354
55348
  ],
55355
55349
  [
55356
- f,
55350
+ p,
55357
55351
  b
55358
55352
  ]
55359
55353
  ],
@@ -55363,11 +55357,11 @@
55363
55357
  [
55364
55358
  d,
55365
55359
  [
55366
- p,
55360
+ f,
55367
55361
  "Envizen"
55368
55362
  ],
55369
55363
  [
55370
- f,
55364
+ p,
55371
55365
  v
55372
55366
  ]
55373
55367
  ],
@@ -55377,11 +55371,11 @@
55377
55371
  [
55378
55372
  d,
55379
55373
  [
55380
- p,
55374
+ f,
55381
55375
  "MachSpeed"
55382
55376
  ],
55383
55377
  [
55384
- f,
55378
+ p,
55385
55379
  v
55386
55380
  ]
55387
55381
  ],
@@ -55391,11 +55385,11 @@
55391
55385
  [
55392
55386
  d,
55393
55387
  [
55394
- p,
55388
+ f,
55395
55389
  "Rotor"
55396
55390
  ],
55397
55391
  [
55398
- f,
55392
+ p,
55399
55393
  v
55400
55394
  ]
55401
55395
  ],
@@ -55405,11 +55399,11 @@
55405
55399
  [
55406
55400
  d,
55407
55401
  [
55408
- p,
55402
+ f,
55409
55403
  "Nvidia"
55410
55404
  ],
55411
55405
  [
55412
- f,
55406
+ p,
55413
55407
  v
55414
55408
  ]
55415
55409
  ],
@@ -55417,10 +55411,10 @@
55417
55411
  /(sprint) (\w+)/i
55418
55412
  ],
55419
55413
  [
55420
- p,
55414
+ f,
55421
55415
  d,
55422
55416
  [
55423
- f,
55417
+ p,
55424
55418
  b
55425
55419
  ]
55426
55420
  ],
@@ -55434,11 +55428,11 @@
55434
55428
  " "
55435
55429
  ],
55436
55430
  [
55437
- p,
55431
+ f,
55438
55432
  $
55439
55433
  ],
55440
55434
  [
55441
- f,
55435
+ p,
55442
55436
  b
55443
55437
  ]
55444
55438
  ],
@@ -55448,11 +55442,11 @@
55448
55442
  [
55449
55443
  d,
55450
55444
  [
55451
- p,
55445
+ f,
55452
55446
  L
55453
55447
  ],
55454
55448
  [
55455
- f,
55449
+ p,
55456
55450
  v
55457
55451
  ]
55458
55452
  ],
@@ -55462,11 +55456,11 @@
55462
55456
  [
55463
55457
  d,
55464
55458
  [
55465
- p,
55459
+ f,
55466
55460
  L
55467
55461
  ],
55468
55462
  [
55469
- f,
55463
+ p,
55470
55464
  b
55471
55465
  ]
55472
55466
  ],
@@ -55474,9 +55468,9 @@
55474
55468
  /smart-tv.+(samsung)/i
55475
55469
  ],
55476
55470
  [
55477
- p,
55471
+ f,
55478
55472
  [
55479
- f,
55473
+ p,
55480
55474
  w
55481
55475
  ]
55482
55476
  ],
@@ -55490,11 +55484,11 @@
55490
55484
  "SmartTV"
55491
55485
  ],
55492
55486
  [
55493
- p,
55487
+ f,
55494
55488
  O
55495
55489
  ],
55496
55490
  [
55497
- f,
55491
+ p,
55498
55492
  w
55499
55493
  ]
55500
55494
  ],
@@ -55503,11 +55497,11 @@
55503
55497
  ],
55504
55498
  [
55505
55499
  [
55506
- p,
55500
+ f,
55507
55501
  "LG"
55508
55502
  ],
55509
55503
  [
55510
- f,
55504
+ p,
55511
55505
  w
55512
55506
  ]
55513
55507
  ],
@@ -55515,13 +55509,13 @@
55515
55509
  /(apple) ?tv/i
55516
55510
  ],
55517
55511
  [
55518
- p,
55512
+ f,
55519
55513
  [
55520
55514
  d,
55521
55515
  B + " TV"
55522
55516
  ],
55523
55517
  [
55524
- f,
55518
+ p,
55525
55519
  w
55526
55520
  ]
55527
55521
  ],
@@ -55534,11 +55528,11 @@
55534
55528
  S + "cast"
55535
55529
  ],
55536
55530
  [
55537
- p,
55531
+ f,
55538
55532
  T
55539
55533
  ],
55540
55534
  [
55541
- f,
55535
+ p,
55542
55536
  w
55543
55537
  ]
55544
55538
  ],
@@ -55548,11 +55542,11 @@
55548
55542
  [
55549
55543
  d,
55550
55544
  [
55551
- p,
55545
+ f,
55552
55546
  C
55553
55547
  ],
55554
55548
  [
55555
- f,
55549
+ p,
55556
55550
  w
55557
55551
  ]
55558
55552
  ],
@@ -55563,11 +55557,11 @@
55563
55557
  [
55564
55558
  d,
55565
55559
  [
55566
- p,
55560
+ f,
55567
55561
  M
55568
55562
  ],
55569
55563
  [
55570
- f,
55564
+ p,
55571
55565
  w
55572
55566
  ]
55573
55567
  ],
@@ -55577,11 +55571,11 @@
55577
55571
  [
55578
55572
  d,
55579
55573
  [
55580
- p,
55574
+ f,
55581
55575
  A
55582
55576
  ],
55583
55577
  [
55584
- f,
55578
+ p,
55585
55579
  w
55586
55580
  ]
55587
55581
  ],
@@ -55591,11 +55585,11 @@
55591
55585
  [
55592
55586
  d,
55593
55587
  [
55594
- p,
55588
+ f,
55595
55589
  R
55596
55590
  ],
55597
55591
  [
55598
- f,
55592
+ p,
55599
55593
  w
55600
55594
  ]
55601
55595
  ],
@@ -55603,10 +55597,10 @@
55603
55597
  /Hbbtv.*(technisat) (.*);/i
55604
55598
  ],
55605
55599
  [
55606
- p,
55600
+ f,
55607
55601
  d,
55608
55602
  [
55609
- f,
55603
+ p,
55610
55604
  w
55611
55605
  ]
55612
55606
  ],
@@ -55616,7 +55610,7 @@
55616
55610
  ],
55617
55611
  [
55618
55612
  [
55619
- p,
55613
+ f,
55620
55614
  Q
55621
55615
  ],
55622
55616
  [
@@ -55624,7 +55618,7 @@
55624
55618
  Q
55625
55619
  ],
55626
55620
  [
55627
- f,
55621
+ p,
55628
55622
  w
55629
55623
  ]
55630
55624
  ],
@@ -55633,7 +55627,7 @@
55633
55627
  ],
55634
55628
  [
55635
55629
  [
55636
- f,
55630
+ p,
55637
55631
  w
55638
55632
  ]
55639
55633
  ],
@@ -55642,10 +55636,10 @@
55642
55636
  /(nintendo) ([wids3utch]+)/i
55643
55637
  ],
55644
55638
  [
55645
- p,
55639
+ f,
55646
55640
  d,
55647
55641
  [
55648
- f,
55642
+ p,
55649
55643
  g
55650
55644
  ]
55651
55645
  ],
@@ -55655,11 +55649,11 @@
55655
55649
  [
55656
55650
  d,
55657
55651
  [
55658
- p,
55652
+ f,
55659
55653
  "Nvidia"
55660
55654
  ],
55661
55655
  [
55662
- f,
55656
+ p,
55663
55657
  g
55664
55658
  ]
55665
55659
  ],
@@ -55669,11 +55663,11 @@
55669
55663
  [
55670
55664
  d,
55671
55665
  [
55672
- p,
55666
+ f,
55673
55667
  A
55674
55668
  ],
55675
55669
  [
55676
- f,
55670
+ p,
55677
55671
  g
55678
55672
  ]
55679
55673
  ],
@@ -55683,11 +55677,11 @@
55683
55677
  [
55684
55678
  d,
55685
55679
  [
55686
- p,
55680
+ f,
55687
55681
  $
55688
55682
  ],
55689
55683
  [
55690
- f,
55684
+ p,
55691
55685
  g
55692
55686
  ]
55693
55687
  ],
@@ -55695,10 +55689,10 @@
55695
55689
  /((pebble))app/i
55696
55690
  ],
55697
55691
  [
55698
- p,
55692
+ f,
55699
55693
  d,
55700
55694
  [
55701
- f,
55695
+ p,
55702
55696
  k
55703
55697
  ]
55704
55698
  ],
@@ -55708,11 +55702,11 @@
55708
55702
  [
55709
55703
  d,
55710
55704
  [
55711
- p,
55705
+ f,
55712
55706
  B
55713
55707
  ],
55714
55708
  [
55715
- f,
55709
+ p,
55716
55710
  k
55717
55711
  ]
55718
55712
  ],
@@ -55722,11 +55716,11 @@
55722
55716
  [
55723
55717
  d,
55724
55718
  [
55725
- p,
55719
+ f,
55726
55720
  T
55727
55721
  ],
55728
55722
  [
55729
- f,
55723
+ p,
55730
55724
  k
55731
55725
  ]
55732
55726
  ],
@@ -55736,11 +55730,11 @@
55736
55730
  [
55737
55731
  d,
55738
55732
  [
55739
- p,
55733
+ f,
55740
55734
  L
55741
55735
  ],
55742
55736
  [
55743
- f,
55737
+ p,
55744
55738
  k
55745
55739
  ]
55746
55740
  ],
@@ -55750,11 +55744,11 @@
55750
55744
  [
55751
55745
  d,
55752
55746
  [
55753
- p,
55747
+ f,
55754
55748
  F
55755
55749
  ],
55756
55750
  [
55757
- f,
55751
+ p,
55758
55752
  k
55759
55753
  ]
55760
55754
  ],
@@ -55762,9 +55756,9 @@
55762
55756
  /(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i
55763
55757
  ],
55764
55758
  [
55765
- p,
55759
+ f,
55766
55760
  [
55767
- f,
55761
+ p,
55768
55762
  y
55769
55763
  ]
55770
55764
  ],
@@ -55774,11 +55768,11 @@
55774
55768
  [
55775
55769
  d,
55776
55770
  [
55777
- p,
55771
+ f,
55778
55772
  C
55779
55773
  ],
55780
55774
  [
55781
- f,
55775
+ p,
55782
55776
  y
55783
55777
  ]
55784
55778
  ],
@@ -55788,7 +55782,7 @@
55788
55782
  [
55789
55783
  d,
55790
55784
  [
55791
- f,
55785
+ p,
55792
55786
  b
55793
55787
  ]
55794
55788
  ],
@@ -55798,7 +55792,7 @@
55798
55792
  [
55799
55793
  d,
55800
55794
  [
55801
- f,
55795
+ p,
55802
55796
  v
55803
55797
  ]
55804
55798
  ],
@@ -55807,7 +55801,7 @@
55807
55801
  ],
55808
55802
  [
55809
55803
  [
55810
- f,
55804
+ p,
55811
55805
  v
55812
55806
  ]
55813
55807
  ],
@@ -55816,7 +55810,7 @@
55816
55810
  ],
55817
55811
  [
55818
55812
  [
55819
- f,
55813
+ p,
55820
55814
  b
55821
55815
  ]
55822
55816
  ],
@@ -55826,7 +55820,7 @@
55826
55820
  [
55827
55821
  d,
55828
55822
  [
55829
- p,
55823
+ f,
55830
55824
  "Generic"
55831
55825
  ]
55832
55826
  ]
@@ -56077,7 +56071,7 @@
56077
56071
  return t[m] = void 0, X.call(t, g, k.cpu), t;
56078
56072
  }, this.getDevice = function() {
56079
56073
  var t = {};
56080
- return t[p] = void 0, t[d] = void 0, t[f] = void 0, X.call(t, g, k.device), y && !t[f] && w && w.mobile && (t[f] = b), y && "Macintosh" == t[d] && n && typeof n.standalone !== a && n.maxTouchPoints && n.maxTouchPoints > 2 && (t[d] = "iPad", t[f] = v), t;
56074
+ return t[f] = void 0, t[d] = void 0, t[p] = void 0, X.call(t, g, k.device), y && !t[p] && w && w.mobile && (t[p] = b), y && "Macintosh" == t[d] && n && typeof n.standalone !== a && n.maxTouchPoints && n.maxTouchPoints > 2 && (t[d] = "iPad", t[p] = v), t;
56081
56075
  }, this.getEngine = function() {
56082
56076
  var t = {};
56083
56077
  return t[u] = void 0, t[h] = void 0, X.call(t, g, k.engine), t;
@@ -56107,8 +56101,8 @@
56107
56101
  m
56108
56102
  ]), K.DEVICE = W([
56109
56103
  d,
56110
- p,
56111
56104
  f,
56105
+ p,
56112
56106
  g,
56113
56107
  b,
56114
56108
  w,
@@ -56131,9 +56125,9 @@
56131
56125
  };
56132
56126
  }
56133
56127
  }("object" == typeof window ? window : nE), nS.exports;
56134
- }(), i = new n, a = i.getBrowser(), s = i.getCPU(), c = i.getDevice(), l = i.getEngine(), d = i.getOS(), u = i.getUA(), f = function(t) {
56128
+ }(), i = new n, a = i.getBrowser(), s = i.getCPU(), c = i.getDevice(), l = i.getEngine(), d = i.getOS(), u = i.getUA(), p = function(t) {
56135
56129
  return i.setUA(t);
56136
- }, p = function(t) {
56130
+ }, f = function(t) {
56137
56131
  if (!t) return void console.error("No userAgent string was provided");
56138
56132
  var r = new n(t);
56139
56133
  return {
@@ -56156,8 +56150,8 @@
56156
56150
  engine: l,
56157
56151
  os: d,
56158
56152
  ua: u,
56159
- setUa: f,
56160
- parseUserAgent: p
56153
+ setUa: p,
56154
+ parseUserAgent: f
56161
56155
  });
56162
56156
  function m(t, r) {
56163
56157
  var o = Object.keys(t);
@@ -56376,9 +56370,9 @@
56376
56370
  }, eu = function(t) {
56377
56371
  var r = t.name;
56378
56372
  return r === $.InternetExplorer || r === $.Ie;
56379
- }, ef = function(t) {
56380
- return t.name === $.MIUI;
56381
56373
  }, ep = function(t) {
56374
+ return t.name === $.MIUI;
56375
+ }, ef = function(t) {
56382
56376
  return t.name === $.SamsungBrowser;
56383
56377
  }, eh = function(t) {
56384
56378
  return M(t.version);
@@ -56451,13 +56445,13 @@
56451
56445
  isLegacyEdge: ea(n) && !ek(s),
56452
56446
  isWindows: K(i),
56453
56447
  isMacOs: Y(i),
56454
- isMIUI: ef(n),
56455
- isSamsungBrowser: ep(n)
56448
+ isMIUI: ep(n),
56449
+ isSamsungBrowser: ef(n)
56456
56450
  };
56457
56451
  }
56458
- var eS = V(c), eE = q(c), eT = U(c), eD = Q(c), e$ = el(a) || eC(), ej = ei(a), eI = z(c) || eC(), eO = F(c), eM = N(c) || eC(), eA = W(c), eR = W(c), eL = Z(d), eF = J(d), eN = ee(d) || eC(), ez = eo(a), eV = en(a), eW = ec(a), eU = ed(a), eq = eu(a), eQ = et(d), eX = er(d), eH = eh(a), eG = em(a), eZ = eg(a), eK = X(c), eY = H(c), eJ = eb(l), e3 = ev(l), e2 = ex(u), e5 = ea(a) || ek(u), e0 = es(a), e1 = G(c), e8 = ey(), e9 = eC(), e4 = eB(), e7 = e_(), e6 = ew(), te = ek(u), tt = ea(a) && !ek(u), tr = K(d), to = Y(d), tn = ef(a), ti = ep(a);
56452
+ var eS = V(c), eE = q(c), eT = U(c), eD = Q(c), e$ = el(a) || eC(), ej = ei(a), eI = z(c) || eC(), eO = F(c), eM = N(c) || eC(), eA = W(c), eR = W(c), eL = Z(d), eF = J(d), eN = ee(d) || eC(), ez = eo(a), eV = en(a), eW = ec(a), eU = ed(a), eq = eu(a), eQ = et(d), eX = er(d), eH = eh(a), eG = em(a), eZ = eg(a), eK = X(c), eY = H(c), eJ = eb(l), e3 = ev(l), e2 = ex(u), e5 = ea(a) || ek(u), e0 = es(a), e1 = G(c), e8 = ey(), e9 = eC(), e4 = eB(), e7 = e_(), e6 = ew(), te = ek(u), tt = ea(a) && !ek(u), tr = K(d), to = Y(d), tn = ep(a), ti = ef(a);
56459
56453
  function ta(t) {
56460
- return p(t || window.navigator.userAgent);
56454
+ return f(t || window.navigator.userAgent);
56461
56455
  }
56462
56456
  return nP.AndroidView = function(r) {
56463
56457
  var n = r.renderWithFragment, i = r.children, a = y(r, [
@@ -56541,7 +56535,7 @@
56541
56535
  ]);
56542
56536
  return eF ? n ? o.createElement(React.Fragment, null, i) : o.createElement("div", a, i) : null;
56543
56537
  }, nP.browserName = eZ, nP.browserVersion = eG, nP.deviceDetect = function(t) {
56544
- var r, o, n, i, a, s, c, l, d, u, f, m, g, b, v, w, k, y, C, B, _, x, P = t ? p(t) : h, S = P.device, E = P.browser, T = P.engine, D = P.os, $ = P.ua, j = O(S.type), I = j.isBrowser, A = j.isMobile, R = j.isTablet, F = j.isSmartTV, N = j.isConsole, z = j.isWearable, V = j.isEmbedded;
56538
+ var r, o, n, i, a, s, c, l, d, u, p, m, g, b, v, w, k, y, C, B, _, x, P = t ? f(t) : h, S = P.device, E = P.browser, T = P.engine, D = P.os, $ = P.ua, j = O(S.type), I = j.isBrowser, A = j.isMobile, R = j.isTablet, F = j.isSmartTV, N = j.isConsole, z = j.isWearable, V = j.isEmbedded;
56545
56539
  if (I) {
56546
56540
  return r = I, o = E, n = T, i = D, a = $, {
56547
56541
  isBrowser: r,
@@ -56566,10 +56560,10 @@
56566
56560
  };
56567
56561
  }
56568
56562
  if (N) {
56569
- return u = N, f = T, m = D, g = $, {
56563
+ return u = N, p = T, m = D, g = $, {
56570
56564
  isConsole: u,
56571
- engineName: M(f.name),
56572
- engineVersion: M(f.version),
56565
+ engineName: M(p.name),
56566
+ engineVersion: M(p.version),
56573
56567
  osName: M(m.name),
56574
56568
  osVersion: M(m.version),
56575
56569
  userAgent: M(g)
@@ -56600,7 +56594,7 @@
56600
56594
  }
56601
56595
  }, nP.deviceType = e1, nP.engineName = eJ, nP.engineVersion = e3, nP.fullBrowserVersion = eH, nP.getSelectorsByUserAgent = function(t) {
56602
56596
  if (!t || "string" != typeof t) return void console.error("No valid user agent string was provided");
56603
- var r = p(t);
56597
+ var r = f(t);
56604
56598
  return eP({
56605
56599
  device: r.device,
56606
56600
  browser: r.browser,
@@ -56608,8 +56602,8 @@
56608
56602
  engine: r.engine,
56609
56603
  ua: r.ua
56610
56604
  });
56611
- }, nP.getUA = e2, nP.isAndroid = eL, nP.isBrowser = eA, nP.isChrome = ez, nP.isChromium = ej, nP.isConsole = eE, nP.isDesktop = eR, nP.isEdge = e5, nP.isEdgeChromium = te, nP.isElectron = e6, nP.isEmbedded = eD, nP.isFirefox = eV, nP.isIE = eq, nP.isIOS = eN, nP.isIOS13 = e8, nP.isIPad13 = e9, nP.isIPhone13 = e4, nP.isIPod13 = e7, nP.isLegacyEdge = tt, nP.isMIUI = tn, nP.isMacOs = to, nP.isMobile = eI, nP.isMobileOnly = eO, nP.isMobileSafari = e$, nP.isOpera = eU, nP.isSafari = eW, nP.isSamsungBrowser = ti, nP.isSmartTV = eS, nP.isTablet = eM, nP.isWearable = eT, nP.isWinPhone = eF, nP.isWindows = tr, nP.isYandex = e0, nP.mobileModel = eY, nP.mobileVendor = eK, nP.osName = eX, nP.osVersion = eQ, nP.parseUserAgent = p, nP.setUserAgent = function(t) {
56612
- return f(t);
56605
+ }, nP.getUA = e2, nP.isAndroid = eL, nP.isBrowser = eA, nP.isChrome = ez, nP.isChromium = ej, nP.isConsole = eE, nP.isDesktop = eR, nP.isEdge = e5, nP.isEdgeChromium = te, nP.isElectron = e6, nP.isEmbedded = eD, nP.isFirefox = eV, nP.isIE = eq, nP.isIOS = eN, nP.isIOS13 = e8, nP.isIPad13 = e9, nP.isIPhone13 = e4, nP.isIPod13 = e7, nP.isLegacyEdge = tt, nP.isMIUI = tn, nP.isMacOs = to, nP.isMobile = eI, nP.isMobileOnly = eO, nP.isMobileSafari = e$, nP.isOpera = eU, nP.isSafari = eW, nP.isSamsungBrowser = ti, nP.isSmartTV = eS, nP.isTablet = eM, nP.isWearable = eT, nP.isWinPhone = eF, nP.isWindows = tr, nP.isYandex = e0, nP.mobileModel = eY, nP.mobileVendor = eK, nP.osName = eX, nP.osVersion = eQ, nP.parseUserAgent = f, nP.setUserAgent = function(t) {
56606
+ return p(t);
56613
56607
  }, nP.useDeviceData = ta, nP.useDeviceSelectors = function(t) {
56614
56608
  var r = ta(t || window.navigator.userAgent);
56615
56609
  return [
@@ -56815,7 +56809,7 @@
56815
56809
  var nM = oX(function() {
56816
56810
  if (tW) return tV;
56817
56811
  tW = 1;
56818
- var t = 0 / 0, r = /^\s+|\s+$/g, o = /^[-+]0x[0-9a-f]+$/i, n = /^0b[01]+$/i, i = /^0o[0-7]+$/i, a = parseInt, s = "object" == typeof oQ && oQ && oQ.Object === Object && oQ, c = "object" == typeof self && self && self.Object === Object && self, l = s || c || Function("return this")(), d = Object.prototype.toString, u = Math.max, f = Math.min, p = function() {
56812
+ var t = 0 / 0, r = /^\s+|\s+$/g, o = /^[-+]0x[0-9a-f]+$/i, n = /^0b[01]+$/i, i = /^0o[0-7]+$/i, a = parseInt, s = "object" == typeof oQ && oQ && oQ.Object === Object && oQ, c = "object" == typeof self && self && self.Object === Object && self, l = s || c || Function("return this")(), d = Object.prototype.toString, u = Math.max, p = Math.min, f = function() {
56819
56813
  return l.Date.now();
56820
56814
  };
56821
56815
  function h(t) {
@@ -56831,8 +56825,8 @@
56831
56825
  }
56832
56826
  if ("string" != typeof s) return 0 === s ? s : +s;
56833
56827
  s = s.replace(r, "");
56834
- var f = n.test(s);
56835
- return f || i.test(s) ? a(s.slice(2), f ? 2 : 8) : o.test(s) ? t : +s;
56828
+ var p = n.test(s);
56829
+ return p || i.test(s) ? a(s.slice(2), p ? 2 : 8) : o.test(s) ? t : +s;
56836
56830
  }
56837
56831
  return tV = function(t, r, o) {
56838
56832
  var n, i, a, s, c, l, d = 0, g = !1, b = !1, v = !0;
@@ -56847,15 +56841,15 @@
56847
56841
  return void 0 === l || o >= r || o < 0 || b && n >= a;
56848
56842
  }
56849
56843
  function y() {
56850
- var t, o, n, i, s = p();
56844
+ var t, o, n, i, s = f();
56851
56845
  if (k(s)) return C(s);
56852
- c = setTimeout(y, (o = (t = s) - l, n = t - d, i = r - o, b ? f(i, a - n) : i));
56846
+ c = setTimeout(y, (o = (t = s) - l, n = t - d, i = r - o, b ? p(i, a - n) : i));
56853
56847
  }
56854
56848
  function C(t) {
56855
56849
  return (c = void 0, v && n) ? w(t) : (n = i = void 0, s);
56856
56850
  }
56857
56851
  function B() {
56858
- var t, o = p(), a = k(o);
56852
+ var t, o = f(), a = k(o);
56859
56853
  if (n = arguments, i = this, l = o, a) {
56860
56854
  if (void 0 === c) {
56861
56855
  return d = t = l, c = setTimeout(y, r), g ? w(t) : s;
@@ -56867,7 +56861,7 @@
56867
56861
  return B.cancel = function() {
56868
56862
  void 0 !== c && clearTimeout(c), d = 0, n = l = i = c = void 0;
56869
56863
  }, B.flush = function() {
56870
- return void 0 === c ? s : C(p());
56864
+ return void 0 === c ? s : C(f());
56871
56865
  }, B;
56872
56866
  };
56873
56867
  }()), nA = {
@@ -56878,11 +56872,11 @@
56878
56872
  var t = tq ? nA.exports : (tq = 1, nA.exports = function() {
56879
56873
  if (tU) return nR;
56880
56874
  tU = 1;
56881
- var t = "function" == typeof Symbol && Symbol.for, r = t ? Symbol.for("react.element") : 60103, o = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, i = t ? Symbol.for("react.strict_mode") : 60108, a = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, d = t ? Symbol.for("react.concurrent_mode") : 60111, u = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, h = t ? Symbol.for("react.memo") : 60115, m = t ? Symbol.for("react.lazy") : 60116, g = t ? Symbol.for("react.block") : 60121, b = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, w = t ? Symbol.for("react.scope") : 60119;
56875
+ var t = "function" == typeof Symbol && Symbol.for, r = t ? Symbol.for("react.element") : 60103, o = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, i = t ? Symbol.for("react.strict_mode") : 60108, a = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, d = t ? Symbol.for("react.concurrent_mode") : 60111, u = t ? Symbol.for("react.forward_ref") : 60112, p = t ? Symbol.for("react.suspense") : 60113, f = t ? Symbol.for("react.suspense_list") : 60120, h = t ? Symbol.for("react.memo") : 60115, m = t ? Symbol.for("react.lazy") : 60116, g = t ? Symbol.for("react.block") : 60121, b = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, w = t ? Symbol.for("react.scope") : 60119;
56882
56876
  function k(t) {
56883
56877
  if ("object" == typeof t && null !== t) {
56884
- var p = t.$$typeof;
56885
- switch(p){
56878
+ var f = t.$$typeof;
56879
+ switch(f){
56886
56880
  case r:
56887
56881
  switch(t = t.type){
56888
56882
  case l:
@@ -56890,7 +56884,7 @@
56890
56884
  case n:
56891
56885
  case a:
56892
56886
  case i:
56893
- case f:
56887
+ case p:
56894
56888
  return t;
56895
56889
  default:
56896
56890
  switch(t = t && t.$$typeof){
@@ -56901,18 +56895,18 @@
56901
56895
  case s:
56902
56896
  return t;
56903
56897
  default:
56904
- return p;
56898
+ return f;
56905
56899
  }
56906
56900
  }
56907
56901
  case o:
56908
- return p;
56902
+ return f;
56909
56903
  }
56910
56904
  }
56911
56905
  }
56912
56906
  function y(t) {
56913
56907
  return k(t) === d;
56914
56908
  }
56915
- return nR.AsyncMode = l, nR.ConcurrentMode = d, nR.ContextConsumer = c, nR.ContextProvider = s, nR.Element = r, nR.ForwardRef = u, nR.Fragment = n, nR.Lazy = m, nR.Memo = h, nR.Portal = o, nR.Profiler = a, nR.StrictMode = i, nR.Suspense = f, nR.isAsyncMode = function(t) {
56909
+ return nR.AsyncMode = l, nR.ConcurrentMode = d, nR.ContextConsumer = c, nR.ContextProvider = s, nR.Element = r, nR.ForwardRef = u, nR.Fragment = n, nR.Lazy = m, nR.Memo = h, nR.Portal = o, nR.Profiler = a, nR.StrictMode = i, nR.Suspense = p, nR.isAsyncMode = function(t) {
56916
56910
  return y(t) || k(t) === l;
56917
56911
  }, nR.isConcurrentMode = y, nR.isContextConsumer = function(t) {
56918
56912
  return k(t) === c;
@@ -56935,9 +56929,9 @@
56935
56929
  }, nR.isStrictMode = function(t) {
56936
56930
  return k(t) === i;
56937
56931
  }, nR.isSuspense = function(t) {
56938
- return k(t) === f;
56932
+ return k(t) === p;
56939
56933
  }, nR.isValidElementType = function(t) {
56940
- return "string" == typeof t || "function" == typeof t || t === n || t === d || t === a || t === i || t === f || t === p || "object" == typeof t && null !== t && (t.$$typeof === m || t.$$typeof === h || t.$$typeof === s || t.$$typeof === c || t.$$typeof === u || t.$$typeof === b || t.$$typeof === v || t.$$typeof === w || t.$$typeof === g);
56934
+ return "string" == typeof t || "function" == typeof t || t === n || t === d || t === a || t === i || t === p || t === f || "object" == typeof t && null !== t && (t.$$typeof === m || t.$$typeof === h || t.$$typeof === s || t.$$typeof === c || t.$$typeof === u || t.$$typeof === b || t.$$typeof === v || t.$$typeof === w || t.$$typeof === g);
56941
56935
  }, nR.typeOf = k, nR;
56942
56936
  }(), nA.exports), r = {
56943
56937
  childContextTypes: !0,
@@ -56977,12 +56971,12 @@
56977
56971
  displayName: !0,
56978
56972
  propTypes: !0
56979
56973
  }, i[t.Memo] = n;
56980
- var s = Object.defineProperty, c = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, d = Object.getOwnPropertyDescriptor, u = Object.getPrototypeOf, f = Object.prototype;
56974
+ var s = Object.defineProperty, c = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, d = Object.getOwnPropertyDescriptor, u = Object.getPrototypeOf, p = Object.prototype;
56981
56975
  return tQ = function t(r, n, i) {
56982
56976
  if ("string" != typeof n) {
56983
- if (f) {
56984
- var p = u(n);
56985
- p && p !== f && t(r, p, i);
56977
+ if (p) {
56978
+ var f = u(n);
56979
+ f && f !== p && t(r, f, i);
56986
56980
  }
56987
56981
  var h = c(n);
56988
56982
  l && (h = h.concat(l(n)));
@@ -57139,7 +57133,7 @@
57139
57133
  else console.warn("Flashlight is not supported or not initialized.");
57140
57134
  }, [
57141
57135
  c
57142
- ]), f = reactExports.useCallback(async ()=>{
57136
+ ]), p = reactExports.useCallback(async ()=>{
57143
57137
  if (c && c.isSupported()) try {
57144
57138
  await c.turnOff(), d.current = !1;
57145
57139
  } catch (t) {
@@ -57147,15 +57141,15 @@
57147
57141
  }
57148
57142
  }, [
57149
57143
  c
57150
- ]), p = React.useMemo(()=>({
57144
+ ]), f = React.useMemo(()=>({
57151
57145
  turnOnFlashlight: u,
57152
- turnOffFlashlight: f
57146
+ turnOffFlashlight: p
57153
57147
  }), [
57154
57148
  u,
57155
- f
57149
+ p
57156
57150
  ]);
57157
57151
  return oZ.jsx(nU.Provider, {
57158
- value: p,
57152
+ value: f,
57159
57153
  children: s
57160
57154
  });
57161
57155
  }, { Errors: nQ } = ra$1, nX = dt$1.div`
@@ -57201,7 +57195,7 @@
57201
57195
  `;
57202
57196
  function nJ(r) {
57203
57197
  var s, c;
57204
- let l, { checkCameraMode: d, frontCamera: u, onClose: f, children: p, onVideoPlayed: w, flipHorizontal: k, videoSettings: y, refVideo: C, onError: B, closeButton: _, videoClassName: x, scale: P, defaultCameraId: S, onWarning: E } = r, T = reactExports.useRef(), { lang: D } = no$1.useSDKSettings(), { sendEvent: $ } = iN$1.useSDKTracking(), j = nz("closeButton.src", "ic_close.svg"), [I, O] = reactExports.useState(""), M = reactExports.useRef(!1), A = reactExports.useRef(!1), R = reactExports.useRef(!1), L = reactExports.useRef(), F = reactExports.useRef([]), N = reactExports.useRef(""), z = gB(), V = reactExports.useCallback((t)=>{
57198
+ let l, { checkCameraMode: d, frontCamera: u, onClose: p, children: f, onVideoPlayed: w, flipHorizontal: k, videoSettings: y, refVideo: C, onError: B, closeButton: _, videoClassName: x, scale: P, defaultCameraId: S, onWarning: E } = r, T = reactExports.useRef(), { lang: D } = no$1.useSDKSettings(), { sendEvent: $ } = iN$1.useSDKTracking(), j = nz("closeButton.src", "ic_close.svg"), [I, O] = reactExports.useState(""), M = reactExports.useRef(!1), A = reactExports.useRef(!1), R = reactExports.useRef(!1), L = reactExports.useRef(), F = reactExports.useRef([]), N = reactExports.useRef(""), z = gB(), V = reactExports.useCallback((t)=>{
57205
57199
  B && B(t);
57206
57200
  }, [
57207
57201
  B
@@ -57277,8 +57271,8 @@
57277
57271
  },
57278
57272
  ...o
57279
57273
  }
57280
- }, f = await navigator.mediaDevices.getUserMedia(n);
57281
- if (await U(), q(), !f) return O(z("not_supported")), V(nQ.not_supported), null;
57274
+ }, p = await navigator.mediaDevices.getUserMedia(n);
57275
+ if (await U(), q(), !p) return O(z("not_supported")), V(nQ.not_supported), null;
57282
57276
  a(performance.now(), "end"), window.tv_last_req_camera_complete = !0, c() - s() < 1600 ? $({
57283
57277
  tag: "cam_permission",
57284
57278
  event: "user_activity.cam",
@@ -57291,13 +57285,13 @@
57291
57285
  log: {}
57292
57286
  });
57293
57287
  try {
57294
- let t = f.getVideoTracks()[0].getSettings();
57295
- if (h7.addExifData("device_info.camera_label_dimension.got", `${t.width}x${t.height}`), h7.addExifData("camera_res_selected", `${t.width}x${t.height}`), "function" == typeof f.getVideoTracks()[0].getCapabilities) {
57296
- let t = f.getVideoTracks()[0].getCapabilities();
57288
+ let t = p.getVideoTracks()[0].getSettings();
57289
+ if (h7.addExifData("device_info.camera_label_dimension.got", `${t.width}x${t.height}`), h7.addExifData("camera_res_selected", `${t.width}x${t.height}`), "function" == typeof p.getVideoTracks()[0].getCapabilities) {
57290
+ let t = p.getVideoTracks()[0].getCapabilities();
57297
57291
  h7.addExifData("device_info.camera_capabilities", JSON.stringify(t));
57298
57292
  }
57299
57293
  } catch (t) {}
57300
- return f;
57294
+ return p;
57301
57295
  } catch (t) {
57302
57296
  a(performance.now(), "end"), "NotAllowedError" === t.name ? (O(z("no_permission")), V(nQ.no_permission), A.current = !0, $({
57303
57297
  tag: "cam_permission",
@@ -57408,13 +57402,13 @@
57408
57402
  z
57409
57403
  ]);
57410
57404
  let H = reactExports.useCallback(()=>{
57411
- W(), f && f(), $({
57405
+ W(), p && p(), $({
57412
57406
  tag: "result",
57413
57407
  event: "user_activity.cancel",
57414
57408
  log: {}
57415
57409
  });
57416
57410
  }, [
57417
- f,
57411
+ p,
57418
57412
  W,
57419
57413
  $
57420
57414
  ]);
@@ -57477,7 +57471,7 @@
57477
57471
  className: x,
57478
57472
  scale: P
57479
57473
  }),
57480
- p,
57474
+ f,
57481
57475
  _ ? /*#__PURE__*/ React.cloneElement(_, {
57482
57476
  onClick: H,
57483
57477
  "data-testid": "close-camera"
@@ -57677,32 +57671,32 @@
57677
57671
  "left center",
57678
57672
  "left bottom"
57679
57673
  ], io = function(t, r, o, n, i) {
57680
- var a = i.offsetX, s = i.offsetY, c = 8 * !!n, l = o.split(" "), d = t.top + t.height / 2, u = t.left + t.width / 2, f = r.height, p = r.width, h = d - f / 2, m = u - p / 2, g = "", b = "0%", v = "0%";
57674
+ var a = i.offsetX, s = i.offsetY, c = 8 * !!n, l = o.split(" "), d = t.top + t.height / 2, u = t.left + t.width / 2, p = r.height, f = r.width, h = d - p / 2, m = u - f / 2, g = "", b = "0%", v = "0%";
57681
57675
  switch(l[0]){
57682
57676
  case "top":
57683
- h -= f / 2 + t.height / 2 + c, g = "rotate(180deg) translateX(50%)", b = "100%", v = "50%";
57677
+ h -= p / 2 + t.height / 2 + c, g = "rotate(180deg) translateX(50%)", b = "100%", v = "50%";
57684
57678
  break;
57685
57679
  case "bottom":
57686
- h += f / 2 + t.height / 2 + c, g = "rotate(0deg) translateY(-100%) translateX(-50%)", v = "50%";
57680
+ h += p / 2 + t.height / 2 + c, g = "rotate(0deg) translateY(-100%) translateX(-50%)", v = "50%";
57687
57681
  break;
57688
57682
  case "left":
57689
- m -= p / 2 + t.width / 2 + c, g = " rotate(90deg) translateY(50%) translateX(-25%)", v = "100%", b = "50%";
57683
+ m -= f / 2 + t.width / 2 + c, g = " rotate(90deg) translateY(50%) translateX(-25%)", v = "100%", b = "50%";
57690
57684
  break;
57691
57685
  case "right":
57692
- m += p / 2 + t.width / 2 + c, g = "rotate(-90deg) translateY(-150%) translateX(25%)", b = "50%";
57686
+ m += f / 2 + t.width / 2 + c, g = "rotate(-90deg) translateY(-150%) translateX(25%)", b = "50%";
57693
57687
  }
57694
57688
  switch(l[1]){
57695
57689
  case "top":
57696
57690
  h = t.top, b = t.height / 2 + "px";
57697
57691
  break;
57698
57692
  case "bottom":
57699
- h = t.top - f + t.height, b = f - t.height / 2 + "px";
57693
+ h = t.top - p + t.height, b = p - t.height / 2 + "px";
57700
57694
  break;
57701
57695
  case "left":
57702
57696
  m = t.left, v = t.width / 2 + "px";
57703
57697
  break;
57704
57698
  case "right":
57705
- m = t.left - p + t.width, v = p - t.width / 2 + "px";
57699
+ m = t.left - f + t.width, v = f - t.width / 2 + "px";
57706
57700
  }
57707
57701
  return h = "top" === l[0] ? h - s : h + s, {
57708
57702
  top: h,
@@ -57730,12 +57724,12 @@
57730
57724
  left: 0,
57731
57725
  top: 0,
57732
57726
  transform: "rotate(135deg)"
57733
- }, d = 0, u = ii(a), f = Array.isArray(o) ? o : [
57727
+ }, d = 0, u = ii(a), p = Array.isArray(o) ? o : [
57734
57728
  o
57735
57729
  ];
57736
- for((a || Array.isArray(o)) && (f = [].concat(f, ir)); d < f.length;){
57737
- var p = {
57738
- top: (l = io(t, r, f[d], n, {
57730
+ for((a || Array.isArray(o)) && (p = [].concat(p, ir)); d < p.length;){
57731
+ var f = {
57732
+ top: (l = io(t, r, p[d], n, {
57739
57733
  offsetX: s,
57740
57734
  offsetY: c
57741
57735
  })).top,
@@ -57743,7 +57737,7 @@
57743
57737
  width: r.width,
57744
57738
  height: r.height
57745
57739
  };
57746
- if (p.top <= u.top || p.left <= u.left || p.top + p.height >= u.top + u.height || p.left + p.width >= u.left + u.width) d++;
57740
+ if (f.top <= u.top || f.left <= u.left || f.top + f.height >= u.top + u.height || f.left + f.width >= u.left + u.width) d++;
57747
57741
  else break;
57748
57742
  }
57749
57743
  return l;
@@ -57751,7 +57745,7 @@
57751
57745
  var t = document.getElementById("popup-root");
57752
57746
  return null === t && ((t = document.createElement("div")).setAttribute("id", "popup-root"), document.body.appendChild(t)), t;
57753
57747
  }, il = /*#__PURE__*/ reactExports.forwardRef(function(r, a) {
57754
- var s = r.trigger, c = void 0 === s ? null : s, l = r.onOpen, u = void 0 === l ? function() {} : l, f = r.onClose, p = void 0 === f ? function() {} : f, h = r.defaultOpen, m = r.open, g = void 0 === m ? void 0 : m, b = r.disabled, v = void 0 !== b && b, w = r.nested, k = void 0 !== w && w, y = r.closeOnDocumentClick, C = void 0 === y || y, B = r.repositionOnResize, _ = r.closeOnEscape, x = r.on, P = void 0 === x ? [
57748
+ var s = r.trigger, c = void 0 === s ? null : s, l = r.onOpen, u = void 0 === l ? function() {} : l, p = r.onClose, f = void 0 === p ? function() {} : p, h = r.defaultOpen, m = r.open, g = void 0 === m ? void 0 : m, b = r.disabled, v = void 0 !== b && b, w = r.nested, k = void 0 !== w && w, y = r.closeOnDocumentClick, C = void 0 === y || y, B = r.repositionOnResize, _ = r.closeOnEscape, x = r.on, P = void 0 === x ? [
57755
57749
  "click"
57756
57750
  ] : x, S = r.contentStyle, E = void 0 === S ? {} : S, T = r.arrowStyle, D = void 0 === T ? {} : T, $ = r.overlayStyle, j = r.className, I = void 0 === j ? "" : j, O = r.position, M = void 0 === O ? "bottom center" : O, A = r.modal, R = void 0 !== A && A, L = r.lockScroll, F = void 0 !== L && L, N = r.arrow, z = void 0 === N || N, V = r.offsetX, W = void 0 === V ? 0 : V, U = r.offsetY, q = void 0 === U ? 0 : U, Q = r.mouseEnterDelay, X = void 0 === Q ? 100 : Q, H = r.mouseLeaveDelay, Z = void 0 === H ? 100 : H, K = r.keepTooltipInside, Y = void 0 !== K && K, J = r.children, ee = reactExports.useState(g || void 0 !== h && h), et = ee[0], er = ee[1], eo = reactExports.useRef(null), en = reactExports.useRef(null), ei = reactExports.useRef(null), ea = reactExports.useRef(null), es = reactExports.useRef("popup-" + ++is), ec = !!R || !c, el = reactExports.useRef(0);
57757
57751
  n7(function() {
@@ -57773,16 +57767,16 @@
57773
57767
  }, eu = function(t) {
57774
57768
  var r;
57775
57769
  et && !v && (er(!1), ec && (null == (r = ea.current) || r.focus()), setTimeout(function() {
57776
- return p(t);
57770
+ return f(t);
57777
57771
  }, 0));
57778
- }, ef = function(t) {
57779
- null == t || t.stopPropagation(), et ? eu(t) : ed(t);
57780
57772
  }, ep = function(t) {
57773
+ null == t || t.stopPropagation(), et ? eu(t) : ed(t);
57774
+ }, ef = function(t) {
57781
57775
  clearTimeout(el.current), el.current = setTimeout(function() {
57782
57776
  return ed(t);
57783
57777
  }, X);
57784
57778
  }, eh = function(t) {
57785
- null == t || t.preventDefault(), ef();
57779
+ null == t || t.preventDefault(), ep();
57786
57780
  }, em = function(t) {
57787
57781
  clearTimeout(el.current), el.current = setTimeout(function() {
57788
57782
  return eu(t);
@@ -57804,7 +57798,7 @@
57804
57798
  eu();
57805
57799
  },
57806
57800
  toggle: function() {
57807
- ef();
57801
+ ep();
57808
57802
  }
57809
57803
  };
57810
57804
  });
@@ -57838,7 +57832,7 @@
57838
57832
  t.stopPropagation();
57839
57833
  }
57840
57834
  };
57841
- return !R && P.indexOf("hover") >= 0 && (r.onMouseEnter = ep, r.onMouseLeave = em), r;
57835
+ return !R && P.indexOf("hover") >= 0 && (r.onMouseEnter = ef, r.onMouseLeave = em), r;
57842
57836
  }, ey = function() {
57843
57837
  return /*#__PURE__*/ React.createElement("div", Object.assign({}, ek(), {
57844
57838
  key: "C",
@@ -57885,16 +57879,16 @@
57885
57879
  P
57886
57880
  ], n = 0, i = o.length; n < i; n++)switch(o[n]){
57887
57881
  case "click":
57888
- r.onClick = ef;
57882
+ r.onClick = ep;
57889
57883
  break;
57890
57884
  case "right-click":
57891
57885
  r.onContextMenu = eh;
57892
57886
  break;
57893
57887
  case "hover":
57894
- r.onMouseEnter = ep, r.onMouseLeave = em;
57888
+ r.onMouseEnter = ef, r.onMouseLeave = em;
57895
57889
  break;
57896
57890
  case "focus":
57897
- r.onFocus = ep, r.onBlur = em;
57891
+ r.onFocus = ef, r.onBlur = em;
57898
57892
  }
57899
57893
  if ("function" == typeof c) {
57900
57894
  var a = c(et);
@@ -58160,8 +58154,8 @@
58160
58154
  }
58161
58155
  }
58162
58156
  }, im = "default", ig = "error";
58163
- function ib({ className: t, width: r, height: o, type: n, strokeStyles: i, strokeWidth: a, radius: s, paddingStyle: c, defaultRectStyles: l, errorRectStyles: d }) {
58164
- let u = reactExports.useMemo(()=>({
58157
+ function ib({ className: t, width: r, height: o, type: n, strokeStyles: i, strokeWidth: a, radius: s, paddingStyle: c, defaultRectStyles: l, errorRectStyles: d, paddingCornerMultiplier: u = 1.5 }) {
58158
+ let f = reactExports.useMemo(()=>({
58165
58159
  [im]: l,
58166
58160
  [ig]: d,
58167
58161
  ...i
@@ -58169,7 +58163,7 @@
58169
58163
  l,
58170
58164
  d,
58171
58165
  i
58172
- ]), p = s + 1.5 * a, h = u[n];
58166
+ ]), h = s + a * u, m = f[n];
58173
58167
  return oZ.jsxs("svg", {
58174
58168
  width: r,
58175
58169
  height: o,
@@ -58182,22 +58176,22 @@
58182
58176
  ry: s,
58183
58177
  width: r - a,
58184
58178
  height: o - a,
58185
- style: h
58179
+ style: m
58186
58180
  }),
58187
58181
  oZ.jsx("path", {
58188
- d: `M0,${p} Q0,0 ${p},0 L0,0 Z`,
58182
+ d: `M0,${h} Q0,0 ${h},0 L0,0 Z`,
58189
58183
  style: c
58190
58184
  }),
58191
58185
  oZ.jsx("path", {
58192
- d: `M0,${o - p} Q0,${o} ${p},${o} L0,${o} Z`,
58186
+ d: `M0,${o - h} Q0,${o} ${h},${o} L0,${o} Z`,
58193
58187
  style: c
58194
58188
  }),
58195
58189
  oZ.jsx("path", {
58196
- d: `M${r - p},${o} Q${r},${o} ${r},${o - p} L${r},${o} Z`,
58190
+ d: `M${r - h},${o} Q${r},${o} ${r},${o - h} L${r},${o} Z`,
58197
58191
  style: c
58198
58192
  }),
58199
58193
  oZ.jsx("path", {
58200
- d: `M${r - p},0 Q${r},0 ${r},${p} L${r},0 Z`,
58194
+ d: `M${r - h},0 Q${r},0 ${r},${h} L${r},0 Z`,
58201
58195
  style: c
58202
58196
  })
58203
58197
  ]
@@ -58216,7 +58210,8 @@
58216
58210
  radius: PropTypes.number,
58217
58211
  paddingStyle: PropTypes.shape({}),
58218
58212
  defaultRectStyles: PropTypes.shape({}),
58219
- errorRectStyles: PropTypes.shape({})
58213
+ errorRectStyles: PropTypes.shape({}),
58214
+ paddingCornerMultiplier: PropTypes.number
58220
58215
  }, ib.defaultProps = {
58221
58216
  className: "",
58222
58217
  width: ih.IDCapturing.rectangleMask.width,
@@ -58227,7 +58222,8 @@
58227
58222
  radius: ih.IDCapturing.rectangleMask.radius,
58228
58223
  paddingStyle: ih.IDCapturing.rectangleMask.paddingStyle,
58229
58224
  defaultRectStyles: ih.IDCapturing.rectangleMask.default,
58230
- errorRectStyles: ih.IDCapturing.rectangleMask.error
58225
+ errorRectStyles: ih.IDCapturing.rectangleMask.error,
58226
+ paddingCornerMultiplier: 1.5
58231
58227
  };
58232
58228
  let iv = mt$1`
58233
58229
  from {
@@ -58386,8 +58382,8 @@
58386
58382
  if (o && !a || !o && !s) return null;
58387
58383
  let { width: c, height: l } = r, d = document.createElement("canvas"), u = document.createElement("canvas");
58388
58384
  d.width = c / 2, u.width = c / 2, d.height = l, u.height = l;
58389
- let f = d.getContext("2d"), p = u.getContext("2d");
58390
- f.drawImage(r, 0, 0, c / 2, l, 0, 0, c / 2, l), p.drawImage(r, c / 2, 0, c / 2, l, 0, 0, c / 2, l);
58385
+ let p = d.getContext("2d"), f = u.getContext("2d");
58386
+ p.drawImage(r, 0, 0, c / 2, l, 0, 0, c / 2, l), f.drawImage(r, c / 2, 0, c / 2, l, 0, 0, c / 2, l);
58391
58387
  let [h, m] = await Promise.all([
58392
58388
  fb.getModelPredictions({
58393
58389
  model: t,
@@ -58428,13 +58424,13 @@
58428
58424
  return i;
58429
58425
  }, iz = (t, r)=>parseFloat(t.toFixed(r)), iV = ({ currentFrameBlurScore: t, incomingFrameBlurScore: r, currentFrameGlareScore: o, incomingFrameGlareScore: n, settings: i, blurLargeThreshold: a, blurSmallThreshold: s })=>{
58430
58426
  if (null === t) return !0;
58431
- let { enableBlurCheck: c, enableGlareCheck: l } = i, d = t?.small, u = t?.large, f = r?.small, p = r?.large;
58432
- return (!c || !(f < s) && !(p < a)) && (Math.abs(f - d) > Number.EPSILON ? f > d : Math.abs(p - u) > Number.EPSILON ? p > u : !!(l && Math.abs(n - o) > Number.EPSILON) && n > o);
58427
+ let { enableBlurCheck: c, enableGlareCheck: l } = i, d = t?.small, u = t?.large, p = r?.small, f = r?.large;
58428
+ return (!c || !(p < s) && !(f < a)) && (Math.abs(p - d) > Number.EPSILON ? p > d : Math.abs(f - u) > Number.EPSILON ? f > u : !!(l && Math.abs(n - o) > Number.EPSILON) && n > o);
58433
58429
  };
58434
58430
  function iW(t, r, o, n, i) {
58435
58431
  o && (o.strokeStyle = r, o.lineWidth = 2, t.forEach((t)=>{
58436
- let [r, a, s, c] = t, l = (r + i.x) * n, d = (a + i.y) * n, u = (s + i.x) * n, f = (c + i.y) * n;
58437
- o.strokeRect(l, d, u - l, f - d);
58432
+ let [r, a, s, c] = t, l = (r + i.x) * n, d = (a + i.y) * n, u = (s + i.x) * n, p = (c + i.y) * n;
58433
+ o.strokeRect(l, d, u - l, p - d);
58438
58434
  }));
58439
58435
  }
58440
58436
  function iU(t) {
@@ -59240,14 +59236,14 @@
59240
59236
  _drawToCanvas(t, r, o, n, i, a) {
59241
59237
  if (this._animationFrameId && cancelAnimationFrame(this._animationFrameId), !t || !a || this._stopDrawing) return;
59242
59238
  this._lastFrameTime = 0;
59243
- let { cropX: s, cropY: c, cropWidth: l, cropHeight: d } = a, u = 1e3 / i, f = (i)=>{
59239
+ let { cropX: s, cropY: c, cropWidth: l, cropHeight: d } = a, u = 1e3 / i, p = (i)=>{
59244
59240
  if (this._stopDrawing) {
59245
59241
  this._animationFrameId = null;
59246
59242
  return;
59247
59243
  }
59248
- i - this._lastFrameTime >= u && (this._lastFrameTime = i, t.drawImage(r, s, c, l, d, 0, 0, o, n)), this._animationFrameId = requestAnimationFrame(f);
59244
+ i - this._lastFrameTime >= u && (this._lastFrameTime = i, t.drawImage(r, s, c, l, d, 0, 0, o, n)), this._animationFrameId = requestAnimationFrame(p);
59249
59245
  };
59250
- this._animationFrameId = requestAnimationFrame(f);
59246
+ this._animationFrameId = requestAnimationFrame(p);
59251
59247
  }
59252
59248
  stopDrawing() {
59253
59249
  this._stopDrawing = !0, this._animationFrameId && (cancelAnimationFrame(this._animationFrameId), this._animationFrameId = null);
@@ -59257,10 +59253,10 @@
59257
59253
  this.clearVideoChunks(), this._stopDrawing = !1;
59258
59254
  let { videoFrameWidth: a, videoFrameHeight: s, videoBitrate: c, fps: l } = o, d = l || this.DEFAULT_VIDEO_FPS, u = r.cropWidth / r.cropHeight;
59259
59255
  aE(a) ? (n = a, i = a / u) : aE(s) ? (n = s * u, i = s) : (n = 400, i = 800);
59260
- let f = document.createElement("canvas");
59261
- f.width = n, f.height = i;
59262
- let p = f.getContext("2d");
59263
- if (!p) return console.error("Could not get canvas context."), {
59256
+ let p = document.createElement("canvas");
59257
+ p.width = n, p.height = i;
59258
+ let f = p.getContext("2d");
59259
+ if (!f) return console.error("Could not get canvas context."), {
59264
59260
  mediaRecorder: null
59265
59261
  };
59266
59262
  try {
@@ -59268,7 +59264,7 @@
59268
59264
  mimeType: "video/webm",
59269
59265
  videoBitsPerSecond: c
59270
59266
  }, i = nT.isIOS ? "video/mp4" : "video/webm";
59271
- if (MediaRecorder.isTypeSupported(i) && (this._stream && this._stream.getTracks().forEach((t)=>t.stop()), this._stopDrawing = !1, this._drawToCanvas(p, t, n, n / u, d, r), this._stream = f.captureStream(), o = {
59267
+ if (MediaRecorder.isTypeSupported(i) && (this._stream && this._stream.getTracks().forEach((t)=>t.stop()), this._stopDrawing = !1, this._drawToCanvas(f, t, n, n / u, d, r), this._stream = p.captureStream(), o = {
59272
59268
  mimeType: i,
59273
59269
  videoBitsPerSecond: Math.min(c, this.MAX_VIDEO_BITRATE)
59274
59270
  }), !this._stream) throw Error("Failed to create a media stream for recording.");
@@ -59323,7 +59319,7 @@
59323
59319
  }
59324
59320
  }, [
59325
59321
  i
59326
- ]), p = reactExports.useCallback(()=>{
59322
+ ]), f = reactExports.useCallback(()=>{
59327
59323
  if (s.current && r.current) try {
59328
59324
  s.current.discardRecording(), r.current = !1;
59329
59325
  } catch (t) {
@@ -59332,19 +59328,19 @@
59332
59328
  }, []);
59333
59329
  return reactExports.useEffect(()=>{
59334
59330
  let t = ()=>{
59335
- "hidden" === document.visibilityState ? p() : "visible" === document.visibilityState && c.current && l(c.current);
59331
+ "hidden" === document.visibilityState ? f() : "visible" === document.visibilityState && c.current && l(c.current);
59336
59332
  };
59337
59333
  return document.addEventListener("visibilitychange", t), ()=>{
59338
59334
  document.removeEventListener("visibilitychange", t);
59339
59335
  };
59340
59336
  }, [
59341
59337
  l,
59342
- p
59338
+ f
59343
59339
  ]), {
59344
59340
  startRecording: l,
59345
59341
  stopRecording: d,
59346
59342
  resetRecording: u,
59347
- discardRecording: p
59343
+ discardRecording: f
59348
59344
  };
59349
59345
  }, { Errors: a$ } = ra$1, aj = ()=>({
59350
59346
  imageBlob: null,
@@ -59557,22 +59553,22 @@
59557
59553
  });
59558
59554
  }
59559
59555
  let aU = /*#__PURE__*/ reactExports.forwardRef((t, r)=>{
59560
- let { description: s, usePortraitMask: l, windowAndVideoInfo: u, refVideo: p, frontSide: k, allowedCardTypes: y, settings: C, onCaptureDone: B, onUISpacingChange: x, outputEncryptionSettings: S, isShowingSpinner: E } = t, T = nt$2(), [D, F] = reactExports.useState({}), { yMessage: N, yCaptureButton: z, yToggleButton: V, yInstruction: U, yCountdown: q } = D, Q = nz("IDCapturing.captureIcon.src", "ic_camera.svg"), X = nz("IDCapturing.captureIcon.disabled.src", "ic_camera.svg"), H = nN("IDCapturing.countdown.color")({
59556
+ let { description: s, usePortraitMask: l, windowAndVideoInfo: u, refVideo: f, frontSide: k, allowedCardTypes: y, settings: C, onCaptureDone: B, onUISpacingChange: x, outputEncryptionSettings: S, isShowingSpinner: E } = t, T = nt$2(), [D, F] = reactExports.useState({}), { yMessage: N, yCaptureButton: z, yToggleButton: V, yInstruction: U, yCountdown: q } = D, Q = nz("IDCapturing.captureIcon.src", "ic_camera.svg"), X = nz("IDCapturing.captureIcon.disabled.src", "ic_camera.svg"), H = nN("IDCapturing.countdown.color")({
59561
59557
  theme: T
59562
- }), G = nz("IDCapturing.loadingIcon.src", "ic_loading.gif"), [Z, K] = reactExports.useState(""), Y = gB(), [J, ee] = reactExports.useState(null), [et, er] = reactExports.useState(""), [eo, en] = reactExports.useState(null), { showPopup: ei, popupShown: ea, popupType: es } = ad(), ec = reactExports.useContext(aO), [el, ed] = reactExports.useState(!1), eu = reactExports.useRef(()=>{}), ef = reactExports.useCallback((t)=>{
59558
+ }), G = nz("IDCapturing.loadingIcon.src", "ic_loading.gif"), [Z, K] = reactExports.useState(""), Y = gB(), [J, ee] = reactExports.useState(null), [et, er] = reactExports.useState(""), [eo, en] = reactExports.useState(null), { showPopup: ei, popupShown: ea, popupType: es } = ad(), ec = reactExports.useContext(aO), [el, ed] = reactExports.useState(!1), eu = reactExports.useRef(()=>{}), ep = reactExports.useCallback((t)=>{
59563
59559
  null === t ? er("") : er(Y(t?.code, {
59564
59560
  side: k ? Y("front") : Y("back")
59565
59561
  }));
59566
59562
  }, [
59567
59563
  Y,
59568
59564
  k
59569
- ]), ep = reactExports.useCallback(()=>{
59565
+ ]), ef = reactExports.useCallback(()=>{
59570
59566
  ee(""), eu.current();
59571
59567
  }, []), eh = reactExports.useCallback((...t)=>{
59572
59568
  ee(""), B(...t);
59573
59569
  }, [
59574
59570
  B
59575
- ]), { warmupDone: em, isPostProcessing: eg, isAutoCapturing: eb, takePictureManually: ev, restartSession: ew, resetIsProcessingImageBlobTaken: ek, isAutoCaptureModeOn: ey, onToggleAutoCaptureMode: eC, autoCaptureDuration: eB } = (({ shouldStart: t, refVideo: r, cropArea: s, settings: l, onModelErrorChange: d, frontSide: u, onDebugInfoChange: p, onAboutToTimeout: g, onSessionTimeout: k, onCaptureDone: y, outputEncryptionSettings: C, quality: B })=>{
59571
+ ]), { warmupDone: em, isPostProcessing: eg, isAutoCapturing: eb, takePictureManually: ev, restartSession: ew, resetIsProcessingImageBlobTaken: ek, isAutoCaptureModeOn: ey, onToggleAutoCaptureMode: eC, autoCaptureDuration: eB } = (({ shouldStart: t, refVideo: r, cropArea: s, settings: l, onModelErrorChange: d, frontSide: u, onDebugInfoChange: f, onAboutToTimeout: g, onSessionTimeout: k, onCaptureDone: y, outputEncryptionSettings: C, quality: B })=>{
59576
59572
  let x = reactExports.useRef(!1), [S, E] = reactExports.useState(!1), T = reactExports.useRef(()=>{}), { sendEvent: D } = iN$1.useSDKTracking(), L = reactExports.useRef(), F = reactExports.useRef(), N = reactExports.useRef(), z = reactExports.useContext(aO), { enableAntiDebug: V } = no$1.useSDKSettings(), { onErrorCallback: W } = aS(), { playVoice: U } = iJ$1.useVoicePlayer(), [q, Q] = reactExports.useState(nn(l, "enableAutoCapture")), X = reactExports.useCallback(()=>{
59577
59573
  Q((t)=>!t);
59578
59574
  }, []), { autoCaptureWaitForBestImageTimeMs: H, manualCaptureWaitForBestImageTimeMs: G } = l, Z = q ? H : G;
@@ -59613,30 +59609,30 @@
59613
59609
  l.blurLargeThresholdAuto,
59614
59610
  l.blurLargeThresholdManual,
59615
59611
  l.enableAutoCapture
59616
- ]), { isCapturing: et, refWorkingCanvas: er, stopCheckFrame: eo, checkFrame: en, warmupDone: ei, takePictureManually: ea, refAbleToRunBurstMode: es, refVirtualFrames: ec, refCardCoordinates: el, refBlurScores: ed, refGlareScores: eu, resetState: ef, resetRecordVideo: ep } = function({ isAutoCapture: t, blurSmallThreshold: r, blurLargeThreshold: s, refVideo: l, shouldStart: d, cropArea: u, settings: p, onError: m, frontSide: g, onAutoCaptureSuccess: b, quality: k, debug: y }) {
59612
+ ]), { isCapturing: et, refWorkingCanvas: er, stopCheckFrame: eo, checkFrame: en, warmupDone: ei, takePictureManually: ea, refAbleToRunBurstMode: es, refVirtualFrames: ec, refCardCoordinates: el, refBlurScores: ed, refGlareScores: eu, resetState: ep, resetRecordVideo: ef } = function({ isAutoCapture: t, blurSmallThreshold: r, blurLargeThreshold: s, refVideo: l, shouldStart: d, cropArea: u, settings: f, onError: m, frontSide: g, onAutoCaptureSuccess: b, quality: k, debug: y }) {
59617
59613
  let C = reactExports.useRef(null);
59618
59614
  null === C.current && (C.current = document.createElement("canvas"));
59619
- let B = reactExports.useRef([]), x = reactExports.useRef({}), S = reactExports.useRef(!1), E = reactExports.useRef([]), T = reactExports.useRef(!1), D = reactExports.useRef(null), [I, O] = reactExports.useState(!1), M = reactExports.useRef(aj()), A = reactExports.useRef(aI()), R = reactExports.useRef(null), L = reactExports.useRef(!1), F = reactExports.useRef(!1), N = reactExports.useRef(null), z = reactExports.useRef(!1), V = reactExports.useRef({}), { customUrls: W } = no$1.useSDKSettings(), { onErrorCallback: U } = aS(), [q, Q] = reactExports.useState(!0), X = reactExports.useRef([]), H = reactExports.useRef([]), G = reactExports.useRef(t), { allowedCards: Z } = p, K = reactExports.useRef(null), [Y, J] = reactExports.useState(!1), ee = reactExports.useRef(!1), et = reactExports.useMemo(()=>({
59620
- videoFrameWidth: p.recordVideoFrameWidth,
59621
- videoFrameHeight: p.recordVideoFrameHeight,
59622
- videoBitrate: p.recordVideoBitrate,
59623
- fps: p.recordVideoFps
59615
+ let B = reactExports.useRef([]), x = reactExports.useRef({}), S = reactExports.useRef(!1), E = reactExports.useRef([]), T = reactExports.useRef(!1), D = reactExports.useRef(null), [I, O] = reactExports.useState(!1), M = reactExports.useRef(aj()), A = reactExports.useRef(aI()), R = reactExports.useRef(null), L = reactExports.useRef(!1), F = reactExports.useRef(!1), N = reactExports.useRef(null), z = reactExports.useRef(!1), V = reactExports.useRef({}), { customUrls: W } = no$1.useSDKSettings(), { onErrorCallback: U } = aS(), [q, Q] = reactExports.useState(!0), X = reactExports.useRef([]), H = reactExports.useRef([]), G = reactExports.useRef(t), { allowedCards: Z } = f, K = reactExports.useRef(null), [Y, J] = reactExports.useState(!1), ee = reactExports.useRef(!1), et = reactExports.useMemo(()=>({
59616
+ videoFrameWidth: f.recordVideoFrameWidth,
59617
+ videoFrameHeight: f.recordVideoFrameHeight,
59618
+ videoBitrate: f.recordVideoBitrate,
59619
+ fps: f.recordVideoFps
59624
59620
  }), [
59625
- p.recordVideoBitrate,
59626
- p.recordVideoFps,
59627
- p.recordVideoFrameHeight,
59628
- p.recordVideoFrameWidth
59621
+ f.recordVideoBitrate,
59622
+ f.recordVideoFps,
59623
+ f.recordVideoFrameHeight,
59624
+ f.recordVideoFrameWidth
59629
59625
  ]), { startRecording: er, stopRecording: eo, resetRecording: en } = aD({
59630
- shouldRecord: reactExports.useMemo(()=>g ? p.enableRecordCapturingFront : p.enableRecordCapturingBack, [
59626
+ shouldRecord: reactExports.useMemo(()=>g ? f.enableRecordCapturingFront : f.enableRecordCapturingBack, [
59631
59627
  g,
59632
- p.enableRecordCapturingBack,
59633
- p.enableRecordCapturingFront
59628
+ f.enableRecordCapturingBack,
59629
+ f.enableRecordCapturingFront
59634
59630
  ])
59635
59631
  }), { startRecording: ei, stopRecording: ea, resetRecording: es } = aD({
59636
- shouldRecord: reactExports.useMemo(()=>g ? p.enableRecordFullSessionFront : p.enableRecordFullSessionBack, [
59632
+ shouldRecord: reactExports.useMemo(()=>g ? f.enableRecordFullSessionFront : f.enableRecordFullSessionBack, [
59637
59633
  g,
59638
- p.enableRecordFullSessionBack,
59639
- p.enableRecordFullSessionFront
59634
+ f.enableRecordFullSessionBack,
59635
+ f.enableRecordFullSessionFront
59640
59636
  ])
59641
59637
  }), { turnOnFlashlight: ec, turnOffFlashlight: el } = (()=>{
59642
59638
  let t = reactExports.useContext(nU);
@@ -59650,8 +59646,8 @@
59650
59646
  ]), reactExports.useEffect(()=>{
59651
59647
  let t = !1;
59652
59648
  return async function r() {
59653
- if (p && !I) {
59654
- if (p.enableIdDetection) {
59649
+ if (f && !I) {
59650
+ if (f.enableIdDetection) {
59655
59651
  let t = ((t, r)=>{
59656
59652
  if (0 === t.length) return {
59657
59653
  isValid: !1
@@ -59672,7 +59668,7 @@
59672
59668
  } : {
59673
59669
  isValid: !1
59674
59670
  };
59675
- })(Z.map((t)=>t.code), p?.cardTypeModelMapping);
59671
+ })(Z.map((t)=>t.code), f?.cardTypeModelMapping);
59676
59672
  if (!t.isValid) {
59677
59673
  U(a$.invalid_card_type_config), Q(!1), O(!0);
59678
59674
  return;
@@ -59681,7 +59677,7 @@
59681
59677
  V.current = await a_({
59682
59678
  ...W,
59683
59679
  idCardModelUrl: r
59684
- }, t.cardModel), await fY.initTensorFlow(), N.current = p.enableBlurCheck && V.current.ableToUseModel, Q(!t.forceOffDetection);
59680
+ }, t.cardModel), await fY.initTensorFlow(), N.current = f.enableBlurCheck && V.current.ableToUseModel, Q(!t.forceOffDetection);
59685
59681
  } else Q(!1), N.current = !1;
59686
59682
  t || O(!0);
59687
59683
  }
@@ -59690,7 +59686,7 @@
59690
59686
  };
59691
59687
  }, [
59692
59688
  I,
59693
- p,
59689
+ f,
59694
59690
  W,
59695
59691
  Z,
59696
59692
  U
@@ -59707,13 +59703,13 @@
59707
59703
  });
59708
59704
  }, [
59709
59705
  k
59710
- ]), ef = reactExports.useCallback(()=>{
59706
+ ]), ep = reactExports.useCallback(()=>{
59711
59707
  Y || (en(), es());
59712
59708
  }, [
59713
59709
  Y,
59714
59710
  en,
59715
59711
  es
59716
- ]), ep = reactExports.useCallback(async ()=>{
59712
+ ]), ef = reactExports.useCallback(async ()=>{
59717
59713
  let t = {
59718
59714
  capturingVideo: {
59719
59715
  blob: null
@@ -59728,18 +59724,18 @@
59728
59724
  }, [
59729
59725
  eo,
59730
59726
  ea
59731
- ]), eh = reactExports.useMemo(()=>g ? p.enableFlashlightFront : p.enableFlashlightBack, [
59727
+ ]), eh = reactExports.useMemo(()=>g ? f.enableFlashlightFront : f.enableFlashlightBack, [
59732
59728
  g,
59733
- p.enableFlashlightBack,
59734
- p.enableFlashlightFront
59735
- ]), em = reactExports.useMemo(()=>g ? p.flashlightActivationDelayFront : p.flashlightActivationDelayBack, [
59729
+ f.enableFlashlightBack,
59730
+ f.enableFlashlightFront
59731
+ ]), em = reactExports.useMemo(()=>g ? f.flashlightActivationDelayFront : f.flashlightActivationDelayBack, [
59736
59732
  g,
59737
- p.flashlightActivationDelayBack,
59738
- p.flashlightActivationDelayFront
59739
- ]), eg = reactExports.useMemo(()=>g ? p.flashlightDurationFront : p.flashlightDurationBack, [
59733
+ f.flashlightActivationDelayBack,
59734
+ f.flashlightActivationDelayFront
59735
+ ]), eg = reactExports.useMemo(()=>g ? f.flashlightDurationFront : f.flashlightDurationBack, [
59740
59736
  g,
59741
- p.flashlightDurationBack,
59742
- p.flashlightDurationFront
59737
+ f.flashlightDurationBack,
59738
+ f.flashlightDurationFront
59743
59739
  ]), eb = reactExports.useCallback(()=>{
59744
59740
  !ed.current && eh && (ed.current = !0, setTimeout(()=>{
59745
59741
  ec(eg);
@@ -59756,9 +59752,9 @@
59756
59752
  ]), ew = reactExports.useCallback(()=>{
59757
59753
  !0 === T.current && (T.current = !1);
59758
59754
  }, []), ek = reactExports.useCallback(()=>{
59759
- ef(), X.current = [], H.current = [], R.current = null, z.current = !1, ee.current = !1;
59755
+ ep(), X.current = [], H.current = [], R.current = null, z.current = !1, ee.current = !1;
59760
59756
  }, [
59761
- ef
59757
+ ep
59762
59758
  ]), ey = reactExports.useCallback(async ({ blurScore: t, detectedCard: o, glareScore: n })=>{
59763
59759
  await er({
59764
59760
  videoEl: l.current,
@@ -59771,7 +59767,7 @@
59771
59767
  incomingFrameBlurScore: t,
59772
59768
  currentFrameGlareScore: i.glareScore,
59773
59769
  incomingFrameGlareScore: n,
59774
- settings: p,
59770
+ settings: f,
59775
59771
  blurLargeThreshold: s,
59776
59772
  blurSmallThreshold: r
59777
59773
  })) {
@@ -59789,25 +59785,25 @@
59789
59785
  }
59790
59786
  i.takenAt = new Date().getTime(), i.blurScore = t, i.glareScore = n, i.detectedCard = o, i.captureType = "auto";
59791
59787
  }
59792
- p.enableBlurCheck && X.current.push(t), p.enableGlareCheck && H.current.push(n);
59788
+ f.enableBlurCheck && X.current.push(t), f.enableGlareCheck && H.current.push(n);
59793
59789
  }, [
59794
59790
  er,
59795
59791
  l,
59796
59792
  et,
59797
59793
  eb,
59798
- p,
59794
+ f,
59799
59795
  s,
59800
59796
  r,
59801
59797
  k
59802
59798
  ]), eC = reactExports.useCallback(async ({ blurScore: t, detectedCard: o, glareScore: n })=>{
59803
59799
  F.current = !0;
59804
59800
  let i = A.current;
59805
- if (p.enableBlurCheck && X.current.push(t), p.enableGlareCheck && H.current.push(n), iV({
59801
+ if (f.enableBlurCheck && X.current.push(t), f.enableGlareCheck && H.current.push(n), iV({
59806
59802
  currentFrameBlurScore: i.blurScore,
59807
59803
  currentFrameGlareScore: i.glareScore,
59808
59804
  incomingFrameBlurScore: t,
59809
59805
  incomingFrameGlareScore: n,
59810
- settings: p,
59806
+ settings: f,
59811
59807
  blurLargeThreshold: s,
59812
59808
  blurSmallThreshold: r
59813
59809
  })) {
@@ -59826,19 +59822,19 @@
59826
59822
  s,
59827
59823
  r,
59828
59824
  k,
59829
- p
59825
+ f
59830
59826
  ]), eB = reactExports.useCallback(async ()=>{
59831
- let { autoCaptureWaitForBestImageTimeMs: t } = p, r = M.current;
59827
+ let { autoCaptureWaitForBestImageTimeMs: t } = f, r = M.current;
59832
59828
  if (null !== r.imageBlob && new Date().getTime() - R.current > t) {
59833
- let t = await ep();
59829
+ let t = await ef();
59834
59830
  await ev(), await b({
59835
59831
  ...r,
59836
59832
  ...t
59837
59833
  }), J(!1), R.current = null;
59838
59834
  }
59839
59835
  }, [
59840
- p,
59841
- ep,
59836
+ f,
59837
+ ef,
59842
59838
  ev,
59843
59839
  b
59844
59840
  ]), e_ = reactExports.useCallback(()=>{
@@ -59853,7 +59849,7 @@
59853
59849
  resultAnalyzeVideoAndWindowSizes: D.current,
59854
59850
  recordVideoSettings: et
59855
59851
  }), eb(), new Promise((t)=>{
59856
- let { enableVirtualCamHashes: o, manualCaptureWaitForBestImageTimeMs: n } = p, i = A.current;
59852
+ let { enableVirtualCamHashes: o, manualCaptureWaitForBestImageTimeMs: n } = f, i = A.current;
59857
59853
  if (i.captureTime = Date.now(), N.current) J(!0), e_(), setTimeout(()=>{
59858
59854
  ex().then(async ()=>{
59859
59855
  await ev(), (i.blurScore?.small <= r || i.blurScore?.large <= s) && (i.error = a$.id_detector_error_blur);
@@ -59868,7 +59864,7 @@
59868
59864
  quality: k
59869
59865
  }).then(async (n)=>{
59870
59866
  i.imageBlob = n, i.captureTime = Date.now(), i.hash = r, o && await eu(i.detectedCard);
59871
- let a = await ep();
59867
+ let a = await ef();
59872
59868
  t({
59873
59869
  ...i,
59874
59870
  ...a
@@ -59876,7 +59872,7 @@
59876
59872
  });
59877
59873
  } else {
59878
59874
  o && await eu(i.detectedCard);
59879
- let r = await ep();
59875
+ let r = await ef();
59880
59876
  t({
59881
59877
  ...i,
59882
59878
  ...r
@@ -59903,10 +59899,10 @@
59903
59899
  l,
59904
59900
  et,
59905
59901
  eb,
59906
- p,
59902
+ f,
59907
59903
  e_,
59908
59904
  ex,
59909
- ep,
59905
+ ef,
59910
59906
  ev,
59911
59907
  r,
59912
59908
  s,
@@ -59940,10 +59936,10 @@
59940
59936
  portraitTopLeft: c,
59941
59937
  portraitBottomRight: l
59942
59938
  };
59943
- }(t, p.blurFullFaceImageRatio, r), a = function(t, r) {
59939
+ }(t, f.blurFullFaceImageRatio, r), a = function(t, r) {
59944
59940
  let { cv: o } = window;
59945
59941
  if (!o) throw Error("Opencv not found!");
59946
- let { topLeft: n, topRight: i, bottomRight: a, bottomLeft: s, maxWidth: c, maxHeight: l } = r, { portraitTopLeft: d, portraitBottomRight: u } = t, f = o.matFromArray(4, 1, o.CV_32FC2, [
59942
+ let { topLeft: n, topRight: i, bottomRight: a, bottomLeft: s, maxWidth: c, maxHeight: l } = r, { portraitTopLeft: d, portraitBottomRight: u } = t, p = o.matFromArray(4, 1, o.CV_32FC2, [
59947
59943
  n.x,
59948
59944
  n.y,
59949
59945
  i.x,
@@ -59952,7 +59948,7 @@
59952
59948
  a.y,
59953
59949
  s.x,
59954
59950
  s.y
59955
- ]), p = o.matFromArray(4, 1, o.CV_32FC2, [
59951
+ ]), f = o.matFromArray(4, 1, o.CV_32FC2, [
59956
59952
  0,
59957
59953
  0,
59958
59954
  c - 1,
@@ -59961,7 +59957,7 @@
59961
59957
  l - 1,
59962
59958
  0,
59963
59959
  l - 1
59964
- ]), h = o.getPerspectiveTransform(f, p), m = (t)=>{
59960
+ ]), h = o.getPerspectiveTransform(p, f), m = (t)=>{
59965
59961
  let r = o.matFromArray(1, 1, o.CV_32FC2, [
59966
59962
  t[0],
59967
59963
  t[1]
@@ -59975,7 +59971,7 @@
59975
59971
  Math.max(0, Math.min(i[1] * (ra$1.RESIZE_IMAGE_HEIGHT / l), l))
59976
59972
  ];
59977
59973
  }, g = m(d), b = m(u);
59978
- return f.delete(), p.delete(), h.delete(), [
59974
+ return p.delete(), f.delete(), h.delete(), [
59979
59975
  parseInt(g[0], 10),
59980
59976
  parseInt(g[1], 10),
59981
59977
  parseInt(b[0], 10),
@@ -60053,9 +60049,9 @@
60053
60049
  };
60054
60050
  }
60055
60051
  }, [
60056
- p
60052
+ f
60057
60053
  ]), e$ = reactExports.useCallback(async ({ result: t, workingCanvas: o })=>{
60058
- let n, i, { cropX: a, cropY: c, cropWidth: d, cropHeight: u, cropWidthWithoutPadding: f, cropHeightWithoutPadding: h } = D.current, { enableBlurCheck: m, enableGlareCheck: b, glareThreshold: v, isVietnameseCardFlow: k, hasFrontFace: C, hasBackFace: B, genericEnableCheckFrontFace: x, genericEnableCheckBackFace: P } = p, { blazefaceModel: S, blurDetector: E } = V.current, T = {
60054
+ let n, i, { cropX: a, cropY: c, cropWidth: d, cropHeight: u, cropWidthWithoutPadding: p, cropHeightWithoutPadding: h } = D.current, { enableBlurCheck: m, enableGlareCheck: b, glareThreshold: v, isVietnameseCardFlow: k, hasFrontFace: C, hasBackFace: B, genericEnableCheckFrontFace: x, genericEnableCheckBackFace: P } = f, { blazefaceModel: S, blurDetector: E } = V.current, T = {
60059
60055
  error: null
60060
60056
  };
60061
60057
  try {
@@ -60072,12 +60068,12 @@
60072
60068
  area: c.width * c.height
60073
60069
  },
60074
60070
  big: {
60075
- area: f * h
60071
+ area: p * h
60076
60072
  }
60077
60073
  });
60078
60074
  if (l < .5) throw Error("id_detector_card_too_small");
60079
60075
  if (l > .95) throw Error("id_detector_error_incomplete");
60080
- if (k && nn(p, "enableCardTypeCheck")) {
60076
+ if (k && nn(f, "enableCardTypeCheck")) {
60081
60077
  let r = nn(t, "card.label", ""), { isAllowed: o, cardType: n } = ((t, r)=>{
60082
60078
  let o = t.split(".")?.[0];
60083
60079
  if (o !== r[0].split(".")?.[0]) return {
@@ -60151,8 +60147,8 @@
60151
60147
  smallThreshold: r,
60152
60148
  largeThreshold: s
60153
60149
  }), u = {
60154
- small: iz(d?.[0], p.blurSmallDecimal),
60155
- large: iz(d?.[1], p.blurLargeDecimal)
60150
+ small: iz(d?.[0], f.blurSmallDecimal),
60151
+ large: iz(d?.[1], f.blurLargeDecimal)
60156
60152
  };
60157
60153
  if (eT.current = {
60158
60154
  ...eT.current,
@@ -60168,10 +60164,10 @@
60168
60164
  }
60169
60165
  if (y) {
60170
60166
  var I, O, M, A, R, L, F, N;
60171
- let r, s, f, p = nn(t, "card.label"), h = nn(t, "card.corners");
60167
+ let r, s, p, f = nn(t, "card.label"), h = nn(t, "card.corners");
60172
60168
  eT.current = {
60173
60169
  ...eT.current,
60174
- label: p,
60170
+ label: f,
60175
60171
  corner_size: h?.length
60176
60172
  }, p_.drawDebugCanvas(eE.current, eT.current);
60177
60173
  let m = i$ / o.width, g = eS.current.getContext("2d");
@@ -60183,7 +60179,7 @@
60183
60179
  o.strokeRect(s, c, l - s, d - c);
60184
60180
  }(O[0], "black", I, R), s = M.filter((t)=>"small" === t.lapType), s.length > 0 && s.forEach((t)=>{
60185
60181
  iW(t.bboxes, "blue", I, R, r);
60186
- }), f = M.filter((t)=>"large" === t.lapType), f.length > 0 && f.forEach((t)=>{
60182
+ }), p = M.filter((t)=>"large" === t.lapType), p.length > 0 && p.forEach((t)=>{
60187
60183
  iW(t.bboxes, "green", I, R, r);
60188
60184
  }), L = A.map((t)=>t.location), F = I, N = R, F && (F.strokeStyle = "red", F.lineWidth = 2, L.forEach((t)=>{
60189
60185
  let r = t.x * N, o = t.y * N;
@@ -60192,7 +60188,7 @@
60192
60188
  }
60193
60189
  return T;
60194
60190
  }, [
60195
- p,
60191
+ f,
60196
60192
  y,
60197
60193
  l,
60198
60194
  Z,
@@ -60201,13 +60197,13 @@
60201
60197
  s,
60202
60198
  eD
60203
60199
  ]), ej = reactExports.useCallback(async ()=>{
60204
- if (!p || !I || T.current) return;
60200
+ if (!f || !I || T.current) return;
60205
60201
  M.current = aj(), A.current = aI();
60206
- let { enableVirtualCamHashes: t } = p, { idCardModel: r, ableToUseModel: o } = V.current, n = D.current, i = l.current;
60202
+ let { enableVirtualCamHashes: t } = f, { idCardModel: r, ableToUseModel: o } = V.current, n = D.current, i = l.current;
60207
60203
  T.current = !0;
60208
60204
  let { cropX: a, cropY: s, cropWidth: c, cropHeight: d } = n, u = C.current;
60209
60205
  u.width = c, u.height = d;
60210
- let f = u.getContext("2d"), h = async ()=>{
60206
+ let p = u.getContext("2d"), h = async ()=>{
60211
60207
  if (!1 === T.current) return;
60212
60208
  await ei({
60213
60209
  videoEl: l.current,
@@ -60215,11 +60211,11 @@
60215
60211
  recordVideoSettings: et
60216
60212
  });
60217
60213
  let n = K.current;
60218
- f.drawImage(i, a, s, c, d, 0, 0, c, d);
60214
+ p.drawImage(i, a, s, c, d, 0, 0, c, d);
60219
60215
  let g = performance.now();
60220
60216
  if (z.current = !1, q && o) {
60221
60217
  let o = await r.predict(u);
60222
- !p?.trackCardCoordinates || A.current.imageBlob || M.current.imageBlob || E.current.push(((t)=>{
60218
+ !f?.trackCardCoordinates || A.current.imageBlob || M.current.imageBlob || E.current.push(((t)=>{
60223
60219
  let r = nn(t, "card.corners");
60224
60220
  if (r && Array.isArray(r) && r.length > 0) {
60225
60221
  let { x: t, y: o } = nn(r, "[0].location");
@@ -60248,7 +60244,7 @@
60248
60244
  };
60249
60245
  K.current = window.requestAnimationFrame(h);
60250
60246
  }, [
60251
- p,
60247
+ f,
60252
60248
  I,
60253
60249
  l,
60254
60250
  ei,
@@ -60301,7 +60297,7 @@
60301
60297
  refBlurScores: X,
60302
60298
  refGlareScores: H,
60303
60299
  resetState: ek,
60304
- resetRecordVideo: ef
60300
+ resetRecordVideo: ep
60305
60301
  };
60306
60302
  }({
60307
60303
  isAutoCapture: q,
@@ -60319,17 +60315,17 @@
60319
60315
  });
60320
60316
  reactExports.useContext(aO);
60321
60317
  let eh = reactExports.useCallback(()=>{
60322
- ep(), eo(), k();
60318
+ ef(), eo(), k();
60323
60319
  }, [
60324
60320
  eo,
60325
- ep,
60321
+ ef,
60326
60322
  k
60327
60323
  ]), { resumeTimer: em, pauseTimer: eg } = ((t)=>{
60328
- let { interruptible: r = !0, totalTime: i, maxRetriesSettings: s, onAboutToTimeout: c, onTimeout: l, shouldStart: d, onError: u } = t, f = reactExports.useRef(new pT({
60324
+ let { interruptible: r = !0, totalTime: i, maxRetriesSettings: s, onAboutToTimeout: c, onTimeout: l, shouldStart: d, onError: u } = t, p = reactExports.useRef(new pT({
60329
60325
  totalTime: i,
60330
60326
  interruptible: r
60331
60327
  }));
60332
- reactExports.useEffect(()=>f.current.on("tick", ({ remainTime: t })=>{
60328
+ reactExports.useEffect(()=>p.current.on("tick", ({ remainTime: t })=>{
60333
60329
  t >= 0 && t <= i / 3 && "function" == typeof c && c({
60334
60330
  curTimeLeft: t
60335
60331
  });
@@ -60338,24 +60334,24 @@
60338
60334
  c,
60339
60335
  i,
60340
60336
  r
60341
- ]), reactExports.useEffect(()=>f.current.on("reset", ({ attemptCount: t })=>{
60342
- r && f.current.pause(), l(), s?.enable && t >= s?.total && u(ra$1.Errors.max_retry_reached);
60337
+ ]), reactExports.useEffect(()=>p.current.on("reset", ({ attemptCount: t })=>{
60338
+ r && p.current.pause(), l(), s?.enable && t >= s?.total && u(ra$1.Errors.max_retry_reached);
60343
60339
  }), [
60344
60340
  l,
60345
60341
  u,
60346
60342
  s?.enable,
60347
60343
  s?.total,
60348
60344
  r
60349
- ]), reactExports.useEffect(()=>d ? f.current.start() : ()=>{}, [
60345
+ ]), reactExports.useEffect(()=>d ? p.current.start() : ()=>{}, [
60350
60346
  d
60351
60347
  ]);
60352
- let p = reactExports.useCallback(()=>{
60353
- f.current.resume();
60348
+ let f = reactExports.useCallback(()=>{
60349
+ p.current.resume();
60354
60350
  }, []);
60355
60351
  return {
60356
- resumeTimer: p,
60352
+ resumeTimer: f,
60357
60353
  pauseTimer: reactExports.useCallback(()=>{
60358
- f.current.pause();
60354
+ p.current.pause();
60359
60355
  }, [])
60360
60356
  };
60361
60357
  })({
@@ -60369,24 +60365,24 @@
60369
60365
  }), eb = reactExports.useCallback(()=>{
60370
60366
  x.current = !1;
60371
60367
  }, []), ev = reactExports.useCallback(async ()=>{
60372
- eb(), em(), ef(), E(!1), U(u ? "keep_front_id_fit_border" : "keep_back_id_fit_border"), await Promise.all([
60368
+ eb(), em(), ep(), E(!1), U(u ? "keep_front_id_fit_border" : "keep_back_id_fit_border"), await Promise.all([
60373
60369
  en()
60374
60370
  ]);
60375
60371
  }, [
60376
60372
  eb,
60377
- ef,
60373
+ ep,
60378
60374
  U,
60379
60375
  u,
60380
60376
  en,
60381
60377
  em
60382
60378
  ]), ew = reactExports.useCallback(async (t = {})=>{
60383
- let r, { imageBlob: o, error: n, detectedCard: i, captureTime: a, captureCount: s, captureDuration: c, captureType: d, hash: f, blurScore: p, glareScore: h, fullVideo: m, capturingVideo: g } = t;
60379
+ let r, { imageBlob: o, error: n, detectedCard: i, captureTime: a, captureCount: s, captureDuration: c, captureType: d, hash: p, blurScore: f, glareScore: h, fullVideo: m, capturingVideo: g } = t;
60384
60380
  if (x.current) return;
60385
60381
  x.current = !0, E(!0), eo(), eg(), Y(null);
60386
60382
  let v = l?.enableVirtualCamHashes, w = l?.enableGlareCheck, k = l?.enableBlurCheck, B = {};
60387
- if (v && null !== f) {
60383
+ if (v && null !== p) {
60388
60384
  let t = [
60389
- f,
60385
+ p,
60390
60386
  ...ec.current
60391
60387
  ];
60392
60388
  t.length > 0 && (B = t.reduce((t, r, o)=>(t[`hash${o + 1}`] = r, t), {}));
@@ -60395,7 +60391,7 @@
60395
60391
  h7.addExifData("user_action", {
60396
60392
  start_id_card: F.current,
60397
60393
  end_id_card: Date.now()
60398
- }), h7.addExifData("id_detection_settings.blur_check.large_threshold", ee), h7.addExifData("id_detection_settings.blur_check.small_threshold", J), h7.addExifData("capture_time", a), h7.addExifData("type", i?.label), v && h7.addExifData("v_cam", B), h7.addExifData("capture_count", s), h7.addExifData("capture_duration", c), h7.addExifData("capture_type", d), _ && h7.addExifData("card_tracking", S), k && (h7.addExifData("model_score.blurry_score", p), h7.addExifData("blur_score_frames", JSON.stringify(ed.current))), w && (h7.addExifData("model_score.glare_score", h), h7.addExifData("glare_score_frames", JSON.stringify(eu.current)));
60394
+ }), h7.addExifData("id_detection_settings.blur_check.large_threshold", ee), h7.addExifData("id_detection_settings.blur_check.small_threshold", J), h7.addExifData("capture_time", a), h7.addExifData("type", i?.label), v && h7.addExifData("v_cam", B), h7.addExifData("capture_count", s), h7.addExifData("capture_duration", c), h7.addExifData("capture_type", d), _ && h7.addExifData("card_tracking", S), k && (h7.addExifData("model_score.blurry_score", f), h7.addExifData("blur_score_frames", JSON.stringify(ed.current))), w && (h7.addExifData("model_score.glare_score", h), h7.addExifData("glare_score_frames", JSON.stringify(eu.current)));
60399
60395
  let T = await h7.writeCurrentExif({
60400
60396
  imageData: {
60401
60397
  blob: o
@@ -60533,14 +60529,14 @@
60533
60529
  };
60534
60530
  })({
60535
60531
  shouldStart: !0,
60536
- refVideo: p,
60532
+ refVideo: f,
60537
60533
  cropArea: eo,
60538
60534
  settings: C,
60539
- onModelErrorChange: ef,
60535
+ onModelErrorChange: ep,
60540
60536
  frontSide: k,
60541
60537
  allowedCardTypes: y,
60542
60538
  onDebugInfoChange: K,
60543
- onSessionTimeout: ep,
60539
+ onSessionTimeout: ef,
60544
60540
  onCaptureDone: eh,
60545
60541
  onAboutToTimeout: reactExports.useCallback(({ curTimeLeft: t })=>{
60546
60542
  ee(Y("remaining_time", {
@@ -60569,9 +60565,9 @@
60569
60565
  }), { showCaptureButtonInAuto: eS = !0, showHoldStillProgress: eE = !1, showAutoCaptureToggle: eT } = C ?? {};
60570
60566
  reactExports.useEffect(()=>{
60571
60567
  if (u) {
60572
- let t, r, o, n, i, a, s, { videoAreaWidth: c, videoAreaHeight: d, lostX: f, lostY: p, clientHeight: h } = u;
60573
- l ? i = .7 * (a = d - 165) : a = Math.floor(Math.min((i = nT.isMobile ? c - 40 : Math.floor(.4 * c)) / 1.5, h - 2 * p - 80 - 100)), n = (t = (s = p + 140) - 70) + 30, o = eT ? s + a + 20 : s + a, r = s + a + 135, en({
60574
- x: Math.floor((c - i) / 2) + f,
60568
+ let t, r, o, n, i, a, s, { videoAreaWidth: c, videoAreaHeight: d, lostX: p, lostY: f, clientHeight: h } = u;
60569
+ l ? i = .7 * (a = d - 165) : a = Math.floor(Math.min((i = nT.isMobile ? c - 40 : Math.floor(.4 * c)) / 1.5, h - 2 * f - 80 - 100)), n = (t = (s = f + 140) - 70) + 30, o = eT ? s + a + 20 : s + a, r = s + a + 135, en({
60570
+ x: Math.floor((c - i) / 2) + p,
60575
60571
  y: s,
60576
60572
  width: i,
60577
60573
  height: a,
@@ -61041,8 +61037,8 @@
61041
61037
  Object.keys(l || {}).forEach(function(t) {
61042
61038
  l[t] = i[t] || l[t];
61043
61039
  });
61044
- var a = "attemptBoth" === l.inversionAttempts || "invertFirst" === l.inversionAttempts, s = "onlyInvert" === l.inversionAttempts || "invertFirst" === l.inversionAttempts, d = n.binarize(t, r, o, a), u = d.binarized, f = d.inverted, p = c(s ? f : u);
61045
- return p || "attemptBoth" !== l.inversionAttempts && "invertFirst" !== l.inversionAttempts || (p = c(s ? u : f)), p;
61040
+ var a = "attemptBoth" === l.inversionAttempts || "invertFirst" === l.inversionAttempts, s = "onlyInvert" === l.inversionAttempts || "invertFirst" === l.inversionAttempts, d = n.binarize(t, r, o, a), u = d.binarized, p = d.inverted, f = c(s ? p : u);
61041
+ return f || "attemptBoth" !== l.inversionAttempts && "invertFirst" !== l.inversionAttempts || (f = c(s ? u : p)), f;
61046
61042
  }
61047
61043
  d.default = d, r.default = d;
61048
61044
  },
@@ -61063,10 +61059,10 @@
61063
61059
  r.binarize = function(t, r, o, a) {
61064
61060
  if (t.length !== r * o * 4) throw Error("Malformed data passed to binarizer.");
61065
61061
  for(var s = new i(r, o), c = 0; c < r; c++)for(var l = 0; l < o; l++){
61066
- var d = t[(l * r + c) * 4 + 0], u = t[(l * r + c) * 4 + 1], f = t[(l * r + c) * 4 + 2];
61067
- s.set(c, l, .2126 * d + .7152 * u + .0722 * f);
61062
+ var d = t[(l * r + c) * 4 + 0], u = t[(l * r + c) * 4 + 1], p = t[(l * r + c) * 4 + 2];
61063
+ s.set(c, l, .2126 * d + .7152 * u + .0722 * p);
61068
61064
  }
61069
- for(var p = Math.ceil(r / 8), h = Math.ceil(o / 8), m = new i(p, h), g = 0; g < h; g++)for(var b = 0; b < p; b++){
61065
+ for(var f = Math.ceil(r / 8), h = Math.ceil(o / 8), m = new i(f, h), g = 0; g < h; g++)for(var b = 0; b < f; b++){
61070
61066
  for(var v = 0, w = 1 / 0, k = 0, l = 0; l < 8; l++)for(var c = 0; c < 8; c++){
61071
61067
  var y = s.get(8 * b + c, 8 * g + l);
61072
61068
  v += y, w = Math.min(w, y), k = Math.max(k, y);
@@ -61080,8 +61076,8 @@
61080
61076
  }
61081
61077
  var _ = n.BitMatrix.createEmpty(r, o), x = null;
61082
61078
  a && (x = n.BitMatrix.createEmpty(r, o));
61083
- for(var g = 0; g < h; g++)for(var b = 0; b < p; b++){
61084
- for(var P, S, E, T, D = (P = b, S = p - 3, P < 2 ? 2 : P > S ? S : P), $ = (E = g, T = h - 3, E < 2 ? 2 : E > T ? T : E), v = 0, j = -2; j <= 2; j++)for(var I = -2; I <= 2; I++)v += m.get(D + j, $ + I);
61079
+ for(var g = 0; g < h; g++)for(var b = 0; b < f; b++){
61080
+ for(var P, S, E, T, D = (P = b, S = f - 3, P < 2 ? 2 : P > S ? S : P), $ = (E = g, T = h - 3, E < 2 ? 2 : E > T ? T : E), v = 0, j = -2; j <= 2; j++)for(var I = -2; I <= 2; I++)v += m.get(D + j, $ + I);
61085
61081
  for(var O = v / 25, j = 0; j < 8; j++)for(var I = 0; I < 8; I++){
61086
61082
  var c = 8 * b + j, l = 8 * g + I, M = s.get(c, l);
61087
61083
  _.set(c, l, M <= O), a && x.set(c, l, !(M <= O));
@@ -61362,16 +61358,16 @@
61362
61358
  for(var l = 0, d = 5; d >= 0; d--)for(var u = i - 9; u >= i - 11; u--){
61363
61359
  r = t.get(u, d), l = l << 1 | r;
61364
61360
  }
61365
- for(var f = 0, u = 5; u >= 0; u--)for(var d = i - 9; d >= i - 11; d--){
61366
- o = t.get(u, d), f = f << 1 | o;
61361
+ for(var p = 0, u = 5; u >= 0; u--)for(var d = i - 9; d >= i - 11; d--){
61362
+ o = t.get(u, d), p = p << 1 | o;
61367
61363
  }
61368
- for(var p = 1 / 0, h = 0, m = s.VERSIONS; h < m.length; h++){
61364
+ for(var f = 1 / 0, h = 0, m = s.VERSIONS; h < m.length; h++){
61369
61365
  var g = m[h];
61370
- if (g.infoBits === l || g.infoBits === f) return g;
61366
+ if (g.infoBits === l || g.infoBits === p) return g;
61371
61367
  var b = c(l, g.infoBits);
61372
- b < p && (n = g, p = b), (b = c(f, g.infoBits)) < p && (n = g, p = b);
61368
+ b < f && (n = g, f = b), (b = c(p, g.infoBits)) < f && (n = g, f = b);
61373
61369
  }
61374
- if (p <= 3) return n;
61370
+ if (f <= 3) return n;
61375
61371
  }(t);
61376
61372
  if (!r) return null;
61377
61373
  var o = function(t) {
@@ -61381,19 +61377,19 @@
61381
61377
  for(var d = 7; d >= 0; d--){
61382
61378
  6 !== d && (o = t.get(8, d), a = a << 1 | o);
61383
61379
  }
61384
- for(var u = t.height, f = 0, d = u - 1; d >= u - 7; d--){
61385
- n = t.get(8, d), f = f << 1 | n;
61380
+ for(var u = t.height, p = 0, d = u - 1; d >= u - 7; d--){
61381
+ n = t.get(8, d), p = p << 1 | n;
61386
61382
  }
61387
61383
  for(var s = u - 8; s < u; s++){
61388
- i = t.get(s, 8), f = f << 1 | i;
61384
+ i = t.get(s, 8), p = p << 1 | i;
61389
61385
  }
61390
- for(var p = 1 / 0, h = null, m = 0; m < l.length; m++){
61386
+ for(var f = 1 / 0, h = null, m = 0; m < l.length; m++){
61391
61387
  var g = l[m], b = g.bits, v = g.formatInfo;
61392
- if (b === a || b === f) return v;
61388
+ if (b === a || b === p) return v;
61393
61389
  var w = c(a, b);
61394
- w < p && (h = v, p = w), a !== f && (w = c(f, b)) < p && (h = v, p = w);
61390
+ w < f && (h = v, f = w), a !== p && (w = c(p, b)) < f && (h = v, f = w);
61395
61391
  }
61396
- return p <= 3 ? h : null;
61392
+ return f <= 3 ? h : null;
61397
61393
  }(t);
61398
61394
  if (!o) return null;
61399
61395
  var u = function(t, r, o) {
@@ -61410,10 +61406,10 @@
61410
61406
  d.codewords.push(t.shift());
61411
61407
  }
61412
61408
  if (n.ecBlocks.length > 1) {
61413
- for(var u = n.ecBlocks[0].numBlocks, f = n.ecBlocks[1].numBlocks, c = 0; c < f; c++)i[u + c].codewords.push(t.shift());
61409
+ for(var u = n.ecBlocks[0].numBlocks, p = n.ecBlocks[1].numBlocks, c = 0; c < p; c++)i[u + c].codewords.push(t.shift());
61414
61410
  }
61415
- for(; t.length > 0;)for(var p = 0; p < i.length; p++){
61416
- var d = i[p];
61411
+ for(; t.length > 0;)for(var f = 0; f < i.length; f++){
61412
+ var d = i[f];
61417
61413
  d.codewords.push(t.shift());
61418
61414
  }
61419
61415
  return i;
@@ -61428,11 +61424,11 @@
61428
61424
  }
61429
61425
  }
61430
61426
  return o.setRegion(6, 9, 1, r - 17, !0), o.setRegion(9, 6, r - 17, 1, !0), t.versionNumber > 6 && (o.setRegion(r - 11, 0, 3, 6, !0), o.setRegion(0, r - 11, 6, 3, !0)), o;
61431
- }(r), c = [], l = 0, u = 0, f = !0, p = a - 1; p > 0; p -= 2){
61432
- 6 === p && p--;
61427
+ }(r), c = [], l = 0, u = 0, p = !0, f = a - 1; f > 0; f -= 2){
61428
+ 6 === f && f--;
61433
61429
  for(var h = 0; h < a; h++){
61434
- for(var m = f ? a - 1 - h : h, g = 0; g < 2; g++){
61435
- var b = p - g;
61430
+ for(var m = p ? a - 1 - h : h, g = 0; g < 2; g++){
61431
+ var b = f - g;
61436
61432
  if (!s.get(b, m)) {
61437
61433
  u++;
61438
61434
  var v = t.get(b, m);
@@ -61443,20 +61439,20 @@
61443
61439
  }
61444
61440
  }
61445
61441
  }
61446
- f = !f;
61442
+ p = !p;
61447
61443
  }
61448
61444
  return c;
61449
61445
  }(t, r, o), r, o.errorCorrectionLevel);
61450
61446
  if (!u) return null;
61451
- for(var f = new Uint8ClampedArray(u.reduce(function(t, r) {
61447
+ for(var p = new Uint8ClampedArray(u.reduce(function(t, r) {
61452
61448
  return t + r.numDataCodewords;
61453
- }, 0)), p = 0, h = 0; h < u.length; h++){
61449
+ }, 0)), f = 0, h = 0; h < u.length; h++){
61454
61450
  var m = u[h], g = a.decode(m.codewords, m.codewords.length - m.numDataCodewords);
61455
61451
  if (!g) return null;
61456
- for(var b = 0; b < m.numDataCodewords; b++)f[p++] = g[b];
61452
+ for(var b = 0; b < m.numDataCodewords; b++)p[f++] = g[b];
61457
61453
  }
61458
61454
  try {
61459
- return i.decode(f, r.versionNumber);
61455
+ return i.decode(p, r.versionNumber);
61460
61456
  } catch (t) {
61461
61457
  return null;
61462
61458
  }
@@ -61523,23 +61519,23 @@
61523
61519
  ":"
61524
61520
  ];
61525
61521
  r.decode = function(t, r) {
61526
- for(var o, n, i, u, f = new c.BitStream(t), p = r <= 9 ? 0 : r <= 26 ? 1 : 2, h = {
61522
+ for(var o, n, i, u, p = new c.BitStream(t), f = r <= 9 ? 0 : r <= 26 ? 1 : 2, h = {
61527
61523
  text: "",
61528
61524
  bytes: [],
61529
61525
  chunks: [],
61530
61526
  version: r
61531
- }; f.available() >= 4;){
61532
- var m = f.readBits(4);
61527
+ }; p.available() >= 4;){
61528
+ var m = p.readBits(4);
61533
61529
  if (m === s.Terminator) return h;
61534
- if (m === s.ECI) 0 === f.readBits(1) ? h.chunks.push({
61530
+ if (m === s.ECI) 0 === p.readBits(1) ? h.chunks.push({
61535
61531
  type: a.ECI,
61536
- assignmentNumber: f.readBits(7)
61537
- }) : 0 === f.readBits(1) ? h.chunks.push({
61532
+ assignmentNumber: p.readBits(7)
61533
+ }) : 0 === p.readBits(1) ? h.chunks.push({
61538
61534
  type: a.ECI,
61539
- assignmentNumber: f.readBits(14)
61540
- }) : 0 === f.readBits(1) ? h.chunks.push({
61535
+ assignmentNumber: p.readBits(14)
61536
+ }) : 0 === p.readBits(1) ? h.chunks.push({
61541
61537
  type: a.ECI,
61542
- assignmentNumber: f.readBits(21)
61538
+ assignmentNumber: p.readBits(21)
61543
61539
  }) : h.chunks.push({
61544
61540
  type: a.ECI,
61545
61541
  assignmentNumber: -1
@@ -61570,7 +61566,7 @@
61570
61566
  bytes: o,
61571
61567
  text: n
61572
61568
  };
61573
- }(f, p);
61569
+ }(p, f);
61574
61570
  h.text += g.text, (o = h.bytes).push.apply(o, g.bytes), h.chunks.push({
61575
61571
  type: a.Numeric,
61576
61572
  text: g.text
@@ -61593,7 +61589,7 @@
61593
61589
  bytes: o,
61594
61590
  text: n
61595
61591
  };
61596
- }(f, p);
61592
+ }(p, f);
61597
61593
  h.text += b.text, (n = h.bytes).push.apply(n, b.bytes), h.chunks.push({
61598
61594
  type: a.Alphanumeric,
61599
61595
  text: b.text
@@ -61617,7 +61613,7 @@
61617
61613
  bytes: o,
61618
61614
  text: n
61619
61615
  };
61620
- }(f, p);
61616
+ }(p, f);
61621
61617
  h.text += v.text, (i = h.bytes).push.apply(i, v.bytes), h.chunks.push({
61622
61618
  type: a.Byte,
61623
61619
  bytes: v.bytes,
@@ -61637,7 +61633,7 @@
61637
61633
  bytes: o,
61638
61634
  text: n
61639
61635
  };
61640
- }(f, p);
61636
+ }(p, f);
61641
61637
  h.text += w.text, (u = h.bytes).push.apply(u, w.bytes), h.chunks.push({
61642
61638
  type: a.Kanji,
61643
61639
  bytes: w.bytes,
@@ -61645,7 +61641,7 @@
61645
61641
  });
61646
61642
  }
61647
61643
  }
61648
- if (0 === f.available() || 0 === f.readBits(f.available())) return h;
61644
+ if (0 === p.available() || 0 === p.readBits(p.available())) return h;
61649
61645
  };
61650
61646
  },
61651
61647
  function(t, r, o) {
@@ -68731,7 +68727,7 @@
68731
68727
  c[c.length - 1 - d] = u, 0 !== u && (l = !0);
68732
68728
  }
68733
68729
  if (!l) return o;
68734
- var f = new i.default(a, c), p = function(t, r, o, n) {
68730
+ var p = new i.default(a, c), f = function(t, r, o, n) {
68735
68731
  r.degree() < o.degree() && (r = (i = [
68736
68732
  o,
68737
68733
  r
@@ -68740,11 +68736,11 @@
68740
68736
  var d = a, u = c;
68741
68737
  if (a = s, c = l, a.isZero()) return null;
68742
68738
  s = d;
68743
- for(var f = t.zero, p = a.getCoefficient(a.degree()), h = t.inverse(p); s.degree() >= a.degree() && !s.isZero();){
68739
+ for(var p = t.zero, f = a.getCoefficient(a.degree()), h = t.inverse(f); s.degree() >= a.degree() && !s.isZero();){
68744
68740
  var m = s.degree() - a.degree(), g = t.multiply(s.getCoefficient(s.degree()), h);
68745
- f = f.addOrSubtract(t.buildMonomial(m, g)), s = s.addOrSubtract(a.multiplyByMonomial(m, g));
68741
+ p = p.addOrSubtract(t.buildMonomial(m, g)), s = s.addOrSubtract(a.multiplyByMonomial(m, g));
68746
68742
  }
68747
- if (l = f.multiplyPoly(c).addOrSubtract(u), s.degree() >= a.degree()) return null;
68743
+ if (l = p.multiplyPoly(c).addOrSubtract(u), s.degree() >= a.degree()) return null;
68748
68744
  }
68749
68745
  var b = l.getCoefficient(0);
68750
68746
  if (0 === b) return null;
@@ -68753,8 +68749,8 @@
68753
68749
  l.multiply(v),
68754
68750
  s.multiply(v)
68755
68751
  ];
68756
- }(a, a.buildMonomial(r, 1), f, r);
68757
- if (null === p) return null;
68752
+ }(a, a.buildMonomial(r, 1), p, r);
68753
+ if (null === f) return null;
68758
68754
  var h = function(t, r) {
68759
68755
  var o = r.degree();
68760
68756
  if (1 === o) return [
@@ -68762,7 +68758,7 @@
68762
68758
  ];
68763
68759
  for(var n = Array(o), i = 0, a = 1; a < t.size && i < o; a++)0 === r.evaluateAt(a) && (n[i] = t.inverse(a), i++);
68764
68760
  return i !== o ? null : n;
68765
- }(a, p[0]);
68761
+ }(a, f[0]);
68766
68762
  if (null == h) return null;
68767
68763
  for(var m = function(t, r, o) {
68768
68764
  for(var i = o.length, a = Array(i), s = 0; s < i; s++){
@@ -68770,7 +68766,7 @@
68770
68766
  a[s] = t.multiply(r.evaluateAt(c), t.inverse(l)), 0 !== t.generatorBase && (a[s] = t.multiply(a[s], c));
68771
68767
  }
68772
68768
  return a;
68773
- }(a, p[1], h), g = 0; g < h.length; g++){
68769
+ }(a, f[1], h), g = 0; g < h.length; g++){
68774
68770
  var b = o.length - 1 - a.log(h[g]);
68775
68771
  if (b < 0) return null;
68776
68772
  o[b] = n.addOrSubtractGF(o[b], m[g]);
@@ -71251,14 +71247,14 @@
71251
71247
  a32: t.y,
71252
71248
  a33: 1
71253
71249
  };
71254
- var s = r.x - o.x, c = n.x - o.x, l = r.y - o.y, d = n.y - o.y, u = s * d - c * l, f = (i * d - c * a) / u, p = (s * a - i * l) / u;
71250
+ var s = r.x - o.x, c = n.x - o.x, l = r.y - o.y, d = n.y - o.y, u = s * d - c * l, p = (i * d - c * a) / u, f = (s * a - i * l) / u;
71255
71251
  return {
71256
- a11: r.x - t.x + f * r.x,
71257
- a12: r.y - t.y + f * r.y,
71258
- a13: f,
71259
- a21: n.x - t.x + p * n.x,
71260
- a22: n.y - t.y + p * n.y,
71261
- a23: p,
71252
+ a11: r.x - t.x + p * r.x,
71253
+ a12: r.y - t.y + p * r.y,
71254
+ a13: p,
71255
+ a21: n.x - t.x + f * n.x,
71256
+ a22: n.y - t.y + f * n.y,
71257
+ a23: f,
71262
71258
  a31: t.x,
71263
71259
  a32: t.y,
71264
71260
  a33: 1
@@ -71287,7 +71283,7 @@
71287
71283
  a31: c.a21 * c.a32 - c.a22 * c.a31,
71288
71284
  a32: c.a12 * c.a31 - c.a11 * c.a32,
71289
71285
  a33: c.a11 * c.a22 - c.a12 * c.a21
71290
- }), f = (l = i(r.topLeft, r.topRight, r.alignmentPattern, r.bottomLeft), d = u, {
71286
+ }), p = (l = i(r.topLeft, r.topRight, r.alignmentPattern, r.bottomLeft), d = u, {
71291
71287
  a11: l.a11 * d.a11 + l.a21 * d.a12 + l.a31 * d.a13,
71292
71288
  a12: l.a12 * d.a11 + l.a22 * d.a12 + l.a32 * d.a13,
71293
71289
  a13: l.a13 * d.a11 + l.a23 * d.a12 + l.a33 * d.a13,
@@ -71297,18 +71293,18 @@
71297
71293
  a31: l.a11 * d.a31 + l.a21 * d.a32 + l.a31 * d.a33,
71298
71294
  a32: l.a12 * d.a31 + l.a22 * d.a32 + l.a32 * d.a33,
71299
71295
  a33: l.a13 * d.a31 + l.a23 * d.a32 + l.a33 * d.a33
71300
- }), p = n.BitMatrix.createEmpty(r.dimension, r.dimension), h = function(t, r) {
71301
- var o = f.a13 * t + f.a23 * r + f.a33;
71296
+ }), f = n.BitMatrix.createEmpty(r.dimension, r.dimension), h = function(t, r) {
71297
+ var o = p.a13 * t + p.a23 * r + p.a33;
71302
71298
  return {
71303
- x: (f.a11 * t + f.a21 * r + f.a31) / o,
71304
- y: (f.a12 * t + f.a22 * r + f.a32) / o
71299
+ x: (p.a11 * t + p.a21 * r + p.a31) / o,
71300
+ y: (p.a12 * t + p.a22 * r + p.a32) / o
71305
71301
  };
71306
71302
  }, m = 0; m < r.dimension; m++)for(var g = 0; g < r.dimension; g++){
71307
71303
  var b = h(g + .5, m + .5);
71308
- p.set(g, m, t.get(Math.floor(b.x), Math.floor(b.y)));
71304
+ f.set(g, m, t.get(Math.floor(b.x), Math.floor(b.y)));
71309
71305
  }
71310
71306
  return {
71311
- matrix: p,
71307
+ matrix: f,
71312
71308
  mappingFunction: h
71313
71309
  };
71314
71310
  };
@@ -71333,15 +71329,15 @@
71333
71329
  }
71334
71330
  ], u = Math.abs(r.y - t.y) > Math.abs(r.x - t.x);
71335
71331
  u ? (a = Math.floor(t.y), s = Math.floor(t.x), c = Math.floor(r.y), l = Math.floor(r.x)) : (a = Math.floor(t.x), s = Math.floor(t.y), c = Math.floor(r.x), l = Math.floor(r.y));
71336
- for(var f = Math.abs(c - a), p = Math.abs(l - s), h = Math.floor(-f / 2), m = a < c ? 1 : -1, g = s < l ? 1 : -1, b = !0, v = a, w = s; v !== c + m; v += m){
71332
+ for(var p = Math.abs(c - a), f = Math.abs(l - s), h = Math.floor(-p / 2), m = a < c ? 1 : -1, g = s < l ? 1 : -1, b = !0, v = a, w = s; v !== c + m; v += m){
71337
71333
  var k = u ? w : v, y = u ? v : w;
71338
71334
  if (o.get(k, y) !== b && (b = !b, d.push({
71339
71335
  x: k,
71340
71336
  y: y
71341
71337
  }), d.length === i + 1)) break;
71342
- if ((h += p) > 0) {
71338
+ if ((h += f) > 0) {
71343
71339
  if (w === l) break;
71344
- w += g, h -= f;
71340
+ w += g, h -= p;
71345
71341
  }
71346
71342
  }
71347
71343
  for(var C = [], B = 0; B < i; B++)d[B] && d[B + 1] ? C.push(n(d[B], d[B + 1])) : C.push(0);
@@ -71377,7 +71373,7 @@
71377
71373
  }, l = s(t, a, o, r.length), d = {
71378
71374
  x: Math.min(o.width, t.x + t.y) + 1,
71379
71375
  y: Math.min(o.height, t.y + t.x) + 1
71380
- }, u = s(t, d, o, r.length), f = c(n, r), p = c(i, r), h = c(l, r), m = c(u, r), g = Math.sqrt(f.error * f.error + p.error * p.error + h.error * h.error + m.error * m.error), b = (f.averageSize + p.averageSize + h.averageSize + m.averageSize) / 4, v = (Math.pow(f.averageSize - b, 2) + Math.pow(p.averageSize - b, 2) + Math.pow(h.averageSize - b, 2) + Math.pow(m.averageSize - b, 2)) / b;
71376
+ }, u = s(t, d, o, r.length), p = c(n, r), f = c(i, r), h = c(l, r), m = c(u, r), g = Math.sqrt(p.error * p.error + f.error * f.error + h.error * h.error + m.error * m.error), b = (p.averageSize + f.averageSize + h.averageSize + m.averageSize) / 4, v = (Math.pow(p.averageSize - b, 2) + Math.pow(f.averageSize - b, 2) + Math.pow(h.averageSize - b, 2) + Math.pow(m.averageSize - b, 2)) / b;
71381
71377
  return g + v;
71382
71378
  } catch (t) {
71383
71379
  return 1 / 0;
@@ -71410,16 +71406,16 @@
71410
71406
  dimension: l,
71411
71407
  moduleSize: c
71412
71408
  };
71413
- }(a, o, c, t)).dimension, f = d.moduleSize;
71409
+ }(a, o, c, t)).dimension, p = d.moduleSize;
71414
71410
  } catch (t) {
71415
71411
  return null;
71416
71412
  }
71417
- var d, u, f, p = {
71413
+ var d, u, p, f = {
71418
71414
  x: o.x - a.x + c.x,
71419
71415
  y: o.y - a.y + c.y
71420
- }, h = (n(a, c) + n(a, o)) / 2 / f, m = 1 - 3 / h, g = {
71421
- x: a.x + m * (p.x - a.x),
71422
- y: a.y + m * (p.y - a.y)
71416
+ }, h = (n(a, c) + n(a, o)) / 2 / p, m = 1 - 3 / h, g = {
71417
+ x: a.x + m * (f.x - a.x),
71418
+ y: a.y + m * (f.y - a.y)
71423
71419
  }, b = r.map(function(r) {
71424
71420
  var o = (r.top.startX + r.top.endX + r.bottom.startX + r.bottom.endX) / 4, a = (r.top.y + r.bottom.y + 1) / 2;
71425
71421
  if (t.get(Math.floor(o), Math.floor(a))) {
@@ -71457,7 +71453,7 @@
71457
71453
  };
71458
71454
  }
71459
71455
  r.locate = function(t) {
71460
- for(var r, o, a, s, c, f, p, h, m, g, b, v, w, k = [], y = [], C = [], B = [], _ = function(r) {
71456
+ for(var r, o, a, s, c, p, f, h, m, g, b, v, w, k = [], y = [], C = [], B = [], _ = function(r) {
71461
71457
  for(var o = 0, n = !1, a = [
71462
71458
  0,
71463
71459
  0,
@@ -71475,21 +71471,21 @@
71475
71471
  a[4],
71476
71472
  o
71477
71473
  ], o = 1, n = c;
71478
- var l = i(a) / 7, d = Math.abs(a[0] - l) < l && Math.abs(a[1] - l) < l && Math.abs(a[2] - 3 * l) < 3 * l && Math.abs(a[3] - l) < l && Math.abs(a[4] - l) < l && !c, u = i(a.slice(-3)) / 3, f = Math.abs(a[2] - u) < u && Math.abs(a[3] - u) < u && Math.abs(a[4] - u) < u && c;
71474
+ var l = i(a) / 7, d = Math.abs(a[0] - l) < l && Math.abs(a[1] - l) < l && Math.abs(a[2] - 3 * l) < 3 * l && Math.abs(a[3] - l) < l && Math.abs(a[4] - l) < l && !c, u = i(a.slice(-3)) / 3, p = Math.abs(a[2] - u) < u && Math.abs(a[3] - u) < u && Math.abs(a[4] - u) < u && c;
71479
71475
  if (d) {
71480
- var p = s - a[3] - a[4], h = p - a[2], m = {
71476
+ var f = s - a[3] - a[4], h = f - a[2], m = {
71481
71477
  startX: h,
71482
- endX: p,
71478
+ endX: f,
71483
71479
  y: r
71484
71480
  }, g = y.filter(function(t) {
71485
- return h >= t.bottom.startX && h <= t.bottom.endX || p >= t.bottom.startX && h <= t.bottom.endX || h <= t.bottom.startX && p >= t.bottom.endX && a[2] / (t.bottom.endX - t.bottom.startX) < 1.5 && a[2] / (t.bottom.endX - t.bottom.startX) > .5;
71481
+ return h >= t.bottom.startX && h <= t.bottom.endX || f >= t.bottom.startX && h <= t.bottom.endX || h <= t.bottom.startX && f >= t.bottom.endX && a[2] / (t.bottom.endX - t.bottom.startX) < 1.5 && a[2] / (t.bottom.endX - t.bottom.startX) > .5;
71486
71482
  });
71487
71483
  g.length > 0 ? g[0].bottom = m : y.push({
71488
71484
  top: m,
71489
71485
  bottom: m
71490
71486
  });
71491
71487
  }
71492
- if (f) {
71488
+ if (p) {
71493
71489
  var b = s - a[4], v = b - a[3], m = {
71494
71490
  startX: v,
71495
71491
  y: r,
@@ -71583,14 +71579,14 @@
71583
71579
  r,
71584
71580
  o,
71585
71581
  a
71586
- ])[0], m = c[1], g = c[2]) : (h = (f = [
71582
+ ])[0], m = c[1], g = c[2]) : (h = (p = [
71587
71583
  r,
71588
71584
  a,
71589
71585
  o
71590
- ])[0], m = f[1], g = f[2]), (g.x - m.x) * (h.y - m.y) - (g.y - m.y) * (h.x - m.x) < 0 && (h = (p = [
71586
+ ])[0], m = p[1], g = p[2]), (g.x - m.x) * (h.y - m.y) - (g.y - m.y) * (h.x - m.x) < 0 && (h = (f = [
71591
71587
  g,
71592
71588
  h
71593
- ])[0], g = p[1]), {
71589
+ ])[0], g = f[1]), {
71594
71590
  bottomLeft: h,
71595
71591
  topLeft: m,
71596
71592
  topRight: g
@@ -71804,10 +71800,10 @@
71804
71800
  }
71805
71801
  ];
71806
71802
  function sV() {
71807
- if (rh) return rp;
71803
+ if (rh) return rf;
71808
71804
  rh = 1;
71809
71805
  var t = o9();
71810
- return rp = function() {
71806
+ return rf = function() {
71811
71807
  try {
71812
71808
  var r = t(Object, "defineProperty");
71813
71809
  return r({}, "", {}), r;
@@ -71954,14 +71950,14 @@
71954
71950
  return n;
71955
71951
  }), r = sH(), o = oK(), n = sY(), i = s5(), a = s3(), s = Object.prototype.hasOwnProperty;
71956
71952
  return od = function(c, l) {
71957
- var d = o(c), u = !d && r(c), f = !d && !u && n(c), p = !d && !u && !f && a(c), h = d || u || f || p, m = h ? t(c.length, String) : [], g = m.length;
71958
- for(var b in c)(l || s.call(c, b)) && !(h && ("length" == b || f && ("offset" == b || "parent" == b) || p && ("buffer" == b || "byteLength" == b || "byteOffset" == b) || i(b, g))) && m.push(b);
71953
+ var d = o(c), u = !d && r(c), p = !d && !u && n(c), f = !d && !u && !p && a(c), h = d || u || p || f, m = h ? t(c.length, String) : [], g = m.length;
71954
+ for(var b in c)(l || s.call(c, b)) && !(h && ("length" == b || p && ("offset" == b || "parent" == b) || f && ("buffer" == b || "byteLength" == b || "byteOffset" == b) || i(b, g))) && m.push(b);
71959
71955
  return m;
71960
71956
  };
71961
71957
  }(), r = function() {
71962
71958
  if (om) return oh;
71963
71959
  om = 1;
71964
- var t = o1(), r = sX(), o = op ? of : (op = 1, of = function(t) {
71960
+ var t = o1(), r = sX(), o = of ? op : (of = 1, op = function(t) {
71965
71961
  var r = [];
71966
71962
  if (null != t) for(var o in Object(t))r.push(o);
71967
71963
  return r;
@@ -71989,8 +71985,8 @@
71989
71985
  if (oB) return oC;
71990
71986
  oB = 1;
71991
71987
  var t = function() {
71992
- if (rf) return ru;
71993
- rf = 1;
71988
+ if (rp) return ru;
71989
+ rp = 1;
71994
71990
  var t = ne(), r = function() {
71995
71991
  if (rr) return rt;
71996
71992
  rr = 1;
@@ -72094,7 +72090,7 @@
72094
72090
  return rZ = function(o) {
72095
72091
  return r(o) && t(o);
72096
72092
  };
72097
- }(), l = sY(), d = o8(), u = o1(), f = function() {
72093
+ }(), l = sY(), d = o8(), u = o1(), p = function() {
72098
72094
  if (r5) return r2;
72099
72095
  r5 = 1;
72100
72096
  var t = o2(), r = sQ(), o = o5(), n = Object.prototype, i = Function.prototype.toString, a = n.hasOwnProperty, s = i.call(Object);
@@ -72105,7 +72101,7 @@
72105
72101
  var l = a.call(c, "constructor") && c.constructor;
72106
72102
  return "function" == typeof l && l instanceof l && i.call(l) == s;
72107
72103
  };
72108
- }(), p = s3(), h = s2(), m = function() {
72104
+ }(), f = s3(), h = s2(), m = function() {
72109
72105
  if (ow) return ov;
72110
72106
  ow = 1;
72111
72107
  var t = function() {
@@ -72139,17 +72135,17 @@
72139
72135
  if (x) return void t(g, v, x);
72140
72136
  var P = y ? y(B, _, v + "", g, b, C) : void 0, S = void 0 === P;
72141
72137
  if (S) {
72142
- var E = s(_), T = !E && l(_), D = !E && !T && p(_);
72143
- P = _, E || T || D ? s(B) ? P = B : c(B) ? P = n(B) : T ? (S = !1, P = r(_, !0)) : D ? (S = !1, P = o(_, !0)) : P = [] : f(_) || a(_) ? (P = B, a(B) ? P = m(B) : (!u(B) || d(B)) && (P = i(_))) : S = !1;
72138
+ var E = s(_), T = !E && l(_), D = !E && !T && f(_);
72139
+ P = _, E || T || D ? s(B) ? P = B : c(B) ? P = n(B) : T ? (S = !1, P = r(_, !0)) : D ? (S = !1, P = o(_, !0)) : P = [] : p(_) || a(_) ? (P = B, a(B) ? P = m(B) : (!u(B) || d(B)) && (P = i(_))) : S = !1;
72144
72140
  }
72145
72141
  S && (C.set(_, P), k(P, _, w, y, C), C.delete(_)), t(g, v, P);
72146
72142
  };
72147
72143
  }(), i = o1(), a = s0(), s = s2();
72148
- return oC = function c(l, d, u, f, p) {
72144
+ return oC = function c(l, d, u, p, f) {
72149
72145
  l !== d && o(d, function(o, a) {
72150
- if (p || (p = new t), i(o)) n(l, d, a, u, c, f, p);
72146
+ if (f || (f = new t), i(o)) n(l, d, a, u, c, p, f);
72151
72147
  else {
72152
- var h = f ? f(s(l, a), o, a + "", l, d, p) : void 0;
72148
+ var h = p ? p(s(l, a), o, a + "", l, d, f) : void 0;
72153
72149
  void 0 === h && (h = o), r(l, a, h);
72154
72150
  }
72155
72151
  }, a);
@@ -90658,6 +90654,7 @@
90658
90654
  const DefaultFlashLivenessBody = FlashLivenessBody;
90659
90655
  const DefaultFlashLivenessOverlay = FlashLivenessOverlay;
90660
90656
  const DefaultFlashLivenessError = FlashLivenessError;
90657
+ const DefaultFlashLivenessCloseIcon = CloseIcon;
90661
90658
  function FlashLivenessImpl(props) {
90662
90659
  const { onReset, onFlashDone: onFlashDoneCallback, frontCamera, styledComponent, onFramesCaptured, customComponent, extraConfig, onImageCaptured } = props;
90663
90660
  const { onCloseCallback, onErrorCallback } = useSDKCallback();
@@ -90665,6 +90662,7 @@
90665
90662
  const FlashLivenessBodyComponent = customComponent?.FlashLivenessBody ?? DefaultFlashLivenessBody;
90666
90663
  const FlashLivenessOverlayComponent = customComponent?.FlashLivenessOverlay ?? DefaultFlashLivenessOverlay;
90667
90664
  const FlashLivenessErrorComponent = customComponent?.FlashLivenessError ?? DefaultFlashLivenessError;
90665
+ const FlashLivenessCloseIconComponent = customComponent?.FlashLivenessCloseIcon ?? DefaultFlashLivenessCloseIcon;
90668
90666
  const { maskSettings, flashSettings, faceSettings, livenessSettings, captureFrameSettings, imageSettings, timeoutSettings, blurCheckFarSettings, blurCheckCloseSettings, exifSettings, autoGenFrameIds } = flashLivenessSettings;
90669
90667
  if (maskSettings.smallScale > maskSettings.largeScale) {
90670
90668
  throw new Error('smallScale must be smaller than largeScale');
@@ -91391,7 +91389,7 @@
91391
91389
  ref: videoRef,
91392
91390
  onError: onErrorCallback,
91393
91391
  videoSettings: videoSettings$7,
91394
- closeButton: /*#__PURE__*/ jsxRuntimeExports.jsx(CloseIcon, {}),
91392
+ closeButton: /*#__PURE__*/ jsxRuntimeExports.jsx(FlashLivenessCloseIconComponent, {}),
91395
91393
  children: /*#__PURE__*/ jsxRuntimeExports.jsxs(WarmUpOverlay, {
91396
91394
  overlay: !warmupDone || !isPlaying,
91397
91395
  loadingComponent: Loading,
@@ -92673,12 +92671,14 @@
92673
92671
  };
92674
92672
  const DefaultPassiveLivenessBody = PassiveLivenessBody;
92675
92673
  const DefaultPassiveLivenessError = PassiveLivenessError;
92674
+ const DefaultPassiveLivenessCloseIcon = CloseIcon;
92676
92675
  function PassiveLivenessUI(props) {
92677
92676
  const { onReset, onDone: onDoneCallback, frontCamera, styledComponent, onFramesCaptured, customComponent, extraConfig } = props;
92678
92677
  const { onErrorCallback, onCloseCallback } = useSDKCallback();
92679
92678
  const passiveLivenessSettings = usePassiveLivenessV2Settings();
92680
92679
  const PassiveLivenessBodyComponent = customComponent?.PassiveLivenessBody ?? DefaultPassiveLivenessBody;
92681
92680
  const PassiveLivenessErrorComponent = customComponent?.PassiveLivenessError ?? DefaultPassiveLivenessError;
92681
+ const PassiveLivenessCloseIconComponent = customComponent?.PassiveLivenessCloseIcon ?? DefaultPassiveLivenessCloseIcon;
92682
92682
  const { maskSettings, faceSettings, captureFrameSettings, exifSettings, imageSettings, timeoutSettings, blurCheckFarSettings, outputImageSettings, autoGenFrameIds } = passiveLivenessSettings;
92683
92683
  const farFaceTimeRef = reactExports.useRef();
92684
92684
  const logEvent = useEventLogging();
@@ -93164,7 +93164,7 @@
93164
93164
  ref: videoRef,
93165
93165
  onError: onErrorCallback,
93166
93166
  videoSettings: videoSettings$5,
93167
- closeButton: /*#__PURE__*/ jsxRuntimeExports.jsx(CloseIcon, {}),
93167
+ closeButton: /*#__PURE__*/ jsxRuntimeExports.jsx(PassiveLivenessCloseIconComponent, {}),
93168
93168
  children: /*#__PURE__*/ jsxRuntimeExports.jsxs(WarmUpOverlay, {
93169
93169
  overlay: !warmupDone || !isPlaying,
93170
93170
  loadingComponent: Loading,
@@ -94824,7 +94824,7 @@
94824
94824
  DEFAULT: 'default',
94825
94825
  ERROR: 'error'
94826
94826
  };
94827
- function RectangleMask({ className, width, height, type, strokeStyles, strokeWidth, radius, paddingStyle, defaultRectStyles, errorRectStyles }) {
94827
+ function RectangleMask({ className, width, height, type, strokeStyles, strokeWidth, radius, paddingStyle, defaultRectStyles, errorRectStyles, paddingCornerMultiplier = 1.5 }) {
94828
94828
  const styleMapping = reactExports.useMemo(()=>{
94829
94829
  return {
94830
94830
  [Type.DEFAULT]: defaultRectStyles,
@@ -94836,7 +94836,7 @@
94836
94836
  errorRectStyles,
94837
94837
  strokeStyles
94838
94838
  ]);
94839
- const paddingCornerSize = radius + strokeWidth * 1.5;
94839
+ const paddingCornerSize = radius + strokeWidth * paddingCornerMultiplier;
94840
94840
  const rectStyle = styleMapping[type];
94841
94841
  return /*#__PURE__*/ jsxRuntimeExports.jsxs("svg", {
94842
94842
  width: width,
@@ -94884,7 +94884,8 @@
94884
94884
  radius: PropTypes.number,
94885
94885
  paddingStyle: PropTypes.shape({}),
94886
94886
  defaultRectStyles: PropTypes.shape({}),
94887
- errorRectStyles: PropTypes.shape({})
94887
+ errorRectStyles: PropTypes.shape({}),
94888
+ paddingCornerMultiplier: PropTypes.number
94888
94889
  };
94889
94890
  RectangleMask.defaultProps = {
94890
94891
  className: '',
@@ -94896,7 +94897,8 @@
94896
94897
  radius: defaultIDThemeV2$1.IDCapturing.rectangleMask.radius,
94897
94898
  paddingStyle: defaultIDThemeV2$1.IDCapturing.rectangleMask.paddingStyle,
94898
94899
  defaultRectStyles: defaultIDThemeV2$1.IDCapturing.rectangleMask.default,
94899
- errorRectStyles: defaultIDThemeV2$1.IDCapturing.rectangleMask.error
94900
+ errorRectStyles: defaultIDThemeV2$1.IDCapturing.rectangleMask.error,
94901
+ paddingCornerMultiplier: 1.5
94900
94902
  };
94901
94903
 
94902
94904
  const StyledRectangleMask = dt$1(RectangleMask)``;
@@ -113258,6 +113260,17 @@
113258
113260
  });
113259
113261
  };
113260
113262
  };
113263
+ const withLocale = (Component)=>{
113264
+ return function WrappedComponent(props) {
113265
+ const { customTexts } = props;
113266
+ return /*#__PURE__*/ jsxRuntimeExports.jsx(SDKLocaleProvider, {
113267
+ customTexts: customTexts,
113268
+ children: /*#__PURE__*/ jsxRuntimeExports.jsx(Component, {
113269
+ ...props
113270
+ })
113271
+ });
113272
+ };
113273
+ };
113261
113274
  // eslint-disable-next-line react/require-default-props
113262
113275
  function FaceAuthenticationContainer(props) {
113263
113276
  const { apiCheck, mode, authType, authMethod, apiCredentials, onDone: onDoneFromProp, onError: onErrorFromProp, onClose: onCloseFromProp, onReset, captureFrameSettings, onFramesCaptured, clientSettings: clientSettingsFromProp, outputEncryptionSettings, logCredentials, flowId, serviceSettings, cameraScale, offsetFaceY, frontalMinSize, customTheme, livenessDetectionComponent: LivenessDetectionComponent, customComponent, customTexts, extraConfig } = props;
@@ -113509,7 +113522,7 @@
113509
113522
  onFramesCaptured: ()=>{},
113510
113523
  customTexts: {}
113511
113524
  };
113512
- var FaceAuthenticationContainer$1 = withClientSettings(FaceAuthenticationContainer);
113525
+ var FaceAuthenticationContainer$1 = withClientSettings(withLocale(FaceAuthenticationContainer));
113513
113526
 
113514
113527
  // eslint-disable-next-line react/require-default-props
113515
113528
  function FaceAuthentication(props) {
@@ -113542,6 +113555,8 @@
113542
113555
  FlashLivenessOverlay,
113543
113556
  FlashLivenessLoading,
113544
113557
  FlashLivenessError,
113558
+ FlashLivenessCloseIcon: CloseIcon,
113559
+ PassiveLivenessCloseIcon: CloseIcon,
113545
113560
  PassiveLivenessBody,
113546
113561
  PassiveLivenessError
113547
113562
  }
@@ -114362,7 +114377,7 @@
114362
114377
  });
114363
114378
  }
114364
114379
 
114365
- const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.msb/0.0.0-beta.20251215-165409/assets";
114380
+ const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.msb/0.0.0-beta.20251217-142321/assets";
114366
114381
  class TVWebSDK extends gU {
114367
114382
  constructor(props){
114368
114383
  super({