@tsocial/tvweb-sdk.tcli 0.0.0-beta.20251215-170414 → 5.34.0

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-170414";
33786
+ return "5.34.0";
33787
33787
  }
33788
33788
  function nI$1() {
33789
33789
  return {
@@ -41260,52 +41260,51 @@
41260
41260
  }(), uG);
41261
41261
  }();
41262
41262
  function dm(e, t) {
41263
- let r = dy();
41263
+ let r = dx();
41264
41264
  return (dm = function(e, t) {
41265
- return r[e -= 334];
41265
+ return r[e -= 253];
41266
41266
  })(e, t);
41267
41267
  }
41268
- let dg = dm;
41269
- function dy() {
41268
+ let dg = dm, dy = dm, db = dx();
41269
+ for(;;)try {
41270
+ if (parseInt(dy(266)) / 1 + -parseInt(dy(256)) / 2 * (parseInt(dy(270)) / 3) + -parseInt(dy(255)) / 4 * (parseInt(dy(273)) / 5) + -parseInt(dy(275)) / 6 + parseInt(dy(254)) / 7 * (-parseInt(dy(267)) / 8) + parseInt(dy(257)) / 9 + parseInt(dy(264)) / 10 * (parseInt(dy(276)) / 11) === 688691) break;
41271
+ db.push(db.shift());
41272
+ } catch (e) {
41273
+ db.push(db.shift());
41274
+ }
41275
+ let dv = dg(259) + dg(265) + dg(260) + dg(262) + "0301070342" + dg(272), d_ = dg(274) + dg(268) + dg(253) + dg(258) + dg(269) + dg(263) + "+faHkP3QC3" + dg(261) + "Mjci1ul8mm" + dg(277) + dg(271) + "ssRdXLZEX8KA==";
41276
+ function dx() {
41270
41277
  let e = [
41271
- "0301070342",
41272
- "072a8648ce",
41273
- "DepBO8t60S",
41274
- "+faHkP3QC3",
41275
41278
  "D9EKOWS+U4",
41276
- "KA==",
41277
- "000",
41278
41279
  "KoZIzj0DAQ",
41279
- "ssRdXLZEX8",
41280
- "78pJsmjA",
41281
- "23755112qixOGK",
41280
+ "35LjMmQl",
41281
+ "77156uGIESC",
41282
+ "190508oefdBp",
41283
+ "11280618PQfwNT",
41284
+ "cDQgAE9h6Z",
41285
+ "3059301306",
41286
+ "3d02010608",
41287
+ "44P0rKKsZK",
41288
+ "2a8648ce3d",
41282
41289
  "ytJdcsPxrD",
41290
+ "10JzyKyv",
41291
+ "072a8648ce",
41292
+ "712832CUVhDz",
41293
+ "2152528SbwDRB",
41294
+ "ZIzj0CAQYI",
41295
+ "DepBO8t60S",
41296
+ "9mSroPf",
41283
41297
  "MfPrcYTM70",
41298
+ "000",
41299
+ "225bWuBcu",
41284
41300
  "MFkwEwYHKo",
41285
- "8915nLIOAa",
41286
- "44P0rKKsZK",
41287
- "cDQgAE9h6Z",
41288
- "4218291nxdvtB",
41289
- "2729172royNkn",
41290
- "653601YIYffL",
41291
- "2315541rITdMg",
41292
- "2a8648ce3d",
41293
- "1619078DMdLEK",
41294
- "Mjci1ul8mm",
41295
- "3059301306"
41301
+ "6250770KoXIrQ",
41302
+ "24896839XBOetl"
41296
41303
  ];
41297
- return (dy = function() {
41304
+ return (dx = function() {
41298
41305
  return e;
41299
41306
  })();
41300
41307
  }
41301
- let db = dm, dv = dy();
41302
- for(;;)try {
41303
- if (parseInt(db(350)) / 1 + parseInt(db(353)) / 2 + parseInt(db(351)) / 3 + parseInt(db(349)) / 4 + parseInt(db(345)) / 5 * (parseInt(db(340)) / 6) + parseInt(db(348)) / 7 + -parseInt(db(341)) / 8 === 573683) break;
41304
- dv.push(dv.shift());
41305
- } catch (e) {
41306
- dv.push(dv.shift());
41307
- }
41308
- let d_ = dg(355) + dg(357) + "3d02010608" + dg(352) + dg(356) + dg(337), dx = dg(344) + "ZIzj0CAQYI" + dg(338) + dg(347) + dg(358) + dg(342) + dg(334) + dg(346) + dg(354) + dg(335) + dg(343) + dg(339) + dg(336);
41309
41308
  async function dC(e) {
41310
41309
  let t = new TextEncoder().encode(e);
41311
41310
  return Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256", t))).map((e)=>e.toString(16).padStart(2, "0")).join("");
@@ -41410,7 +41409,7 @@
41410
41409
  isValid: !1,
41411
41410
  error: i0$1.invalid_license
41412
41411
  };
41413
- 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"), {
41412
+ let { mode: a, license: o, signature: s } = dS(e), c = dw(i4$1(o)), l = (r = t || d_, n = i4$1(r).replace(dv, ""), i = new dp.ec("p256").keyFromPublic(n, "hex"), {
41414
41413
  verifySignature: async (e, t)=>{
41415
41414
  try {
41416
41415
  let r = await dC(e), n = i4$1(t);
@@ -43601,6 +43600,10 @@
43601
43600
  }
43602
43601
  }), f0 = Object.freeze({
43603
43602
  __proto__: null,
43603
+ getTheme: (e, t = "")=>(r)=>{
43604
+ let { theme: n } = r, i = "function" == typeof e ? e(r) : e, a = dN(n, "themeVersion"), o = dN(n, "defaultThemes", {}), s = dN(o, a, {});
43605
+ return dN(n, i, dN(s, i, t));
43606
+ },
43604
43607
  useThemeContext: ()=>reactExports.useContext(et$2)
43605
43608
  });
43606
43609
  function f1(e) {
@@ -53110,7 +53113,7 @@
53110
53113
  });
53111
53114
  };
53112
53115
 
53113
- var Z, K, Y, J, ee, et, er, eo, en$1, 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 : {};
53116
+ var Z, K, Y, J, ee, et, er, eo, en$1, 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
53117
  function oX(t) {
53115
53118
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
53116
53119
  }
@@ -53189,7 +53192,7 @@
53189
53192
  };
53190
53193
  }
53191
53194
  function o5() {
53192
- return ep ? ef : (ep = 1, ef = function(t) {
53195
+ return ef ? ep : (ef = 1, ep = function(t) {
53193
53196
  return null != t && "object" == typeof t;
53194
53197
  });
53195
53198
  }
@@ -53421,10 +53424,10 @@
53421
53424
  return t(this, r).get(r);
53422
53425
  };
53423
53426
  }(), n = function() {
53424
- if (tp) return tf;
53425
- tp = 1;
53427
+ if (tf) return tp;
53428
+ tf = 1;
53426
53429
  var t = nr();
53427
- return tf = function(r) {
53430
+ return tp = function(r) {
53428
53431
  return t(this, r).has(r);
53429
53432
  };
53430
53433
  }(), i = function() {
@@ -53567,16 +53570,16 @@
53567
53570
  function nc(t, r) {
53568
53571
  return t.replace(RegExp("(^|\\s)" + r + "(?:\\s|$)", "g"), "$1").replace(/\s+/g, " ").replace(/^\s*|\s*$/g, "");
53569
53572
  }
53570
- var nl = !1, nd = /*#__PURE__*/ React.createContext(null), nu = "unmounted", nf = "exited", np = "entering", nh = "entered", nm = "exiting", ng = function(r) {
53573
+ var nl = !1, nd = /*#__PURE__*/ React.createContext(null), nu = "unmounted", np = "exited", nf = "entering", nh = "entered", nm = "exiting", ng = function(r) {
53571
53574
  function o(t, o) {
53572
53575
  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 = {
53576
+ return i.appearStatus = null, t.in ? a ? (n = np, i.appearStatus = nf) : n = nh : n = t.unmountOnExit || t.mountOnEnter ? nu : np, i.state = {
53574
53577
  status: n
53575
53578
  }, i.nextCallback = null, i;
53576
53579
  }
53577
53580
  ns(o, r), o.getDerivedStateFromProps = function(t, r) {
53578
53581
  return t.in && r.status === nu ? {
53579
- status: nf
53582
+ status: np
53580
53583
  } : null;
53581
53584
  };
53582
53585
  var n = o.prototype;
@@ -53586,7 +53589,7 @@
53586
53589
  var r = null;
53587
53590
  if (t !== this.props) {
53588
53591
  var o = this.state.status;
53589
- this.props.in ? o !== np && o !== nh && (r = np) : (o === np || o === nh) && (r = nm);
53592
+ this.props.in ? o !== nf && o !== nh && (r = nf) : (o === nf || o === nh) && (r = nm);
53590
53593
  }
53591
53594
  this.updateStatus(!1, r);
53592
53595
  }, n.componentWillUnmount = function() {
@@ -53599,7 +53602,7 @@
53599
53602
  appear: o
53600
53603
  };
53601
53604
  }, 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({
53605
+ 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
53606
  status: nu
53604
53607
  });
53605
53608
  }, n.performEnter = function(t) {
@@ -53610,7 +53613,7 @@
53610
53613
  n
53611
53614
  ], a = i[0], s = i[1], c = this.getTimeouts(), l = n ? c.appear : c.enter;
53612
53615
  (t || o) && !nl ? (this.props.onEnter(a, s), this.safeSetState({
53613
- status: np
53616
+ status: nf
53614
53617
  }, function() {
53615
53618
  r.props.onEntering(a, s), r.onTransitionEnd(l, function() {
53616
53619
  r.safeSetState({
@@ -53627,7 +53630,7 @@
53627
53630
  }, n.performExit = function() {
53628
53631
  var t = this, r = this.props.exit, o = this.getTimeouts(), n = this.props.nodeRef ? void 0 : ReactDOM.findDOMNode(this);
53629
53632
  !r || nl ? this.safeSetState({
53630
- status: nf
53633
+ status: np
53631
53634
  }, function() {
53632
53635
  t.props.onExited(n);
53633
53636
  }) : (this.props.onExit(n), this.safeSetState({
@@ -53635,7 +53638,7 @@
53635
53638
  }, function() {
53636
53639
  t.props.onExiting(n), t.onTransitionEnd(o.exit, function() {
53637
53640
  t.safeSetState({
53638
- status: nf
53641
+ status: np
53639
53642
  }, function() {
53640
53643
  t.props.onExited(n);
53641
53644
  });
@@ -53708,7 +53711,7 @@
53708
53711
  onExit: nb,
53709
53712
  onExiting: nb,
53710
53713
  onExited: nb
53711
- }, ng.UNMOUNTED = nu, ng.EXITED = nf, ng.ENTERING = np, ng.ENTERED = nh, ng.EXITING = nm;
53714
+ }, ng.UNMOUNTED = nu, ng.EXITED = np, ng.ENTERING = nf, ng.ENTERED = nh, ng.EXITING = nm;
53712
53715
  var nv = function(t, r) {
53713
53716
  return t && r && r.split(" ").forEach(function(r) {
53714
53717
  var o, n;
@@ -53803,7 +53806,7 @@
53803
53806
  return /*#__PURE__*/ React.cloneElement(o, {
53804
53807
  in: !1,
53805
53808
  onExited: nC(o, "onExited", function() {
53806
- n(np, null);
53809
+ n(nf, null);
53807
53810
  })
53808
53811
  });
53809
53812
  }, tL[ny] = function(r) {
@@ -53813,7 +53816,7 @@
53813
53816
  /*#__PURE__*/ React.cloneElement(i, {
53814
53817
  in: !0,
53815
53818
  onEntered: nC(i, "onEntered", function() {
53816
- n(np);
53819
+ n(nf);
53817
53820
  })
53818
53821
  })
53819
53822
  ];
@@ -53866,8 +53869,8 @@
53866
53869
  if (null == r.children) return {
53867
53870
  current: null
53868
53871
  };
53869
- if (o.status === np && r.mode === ny) return {
53870
- status: np
53872
+ if (o.status === nf && r.mode === ny) return {
53873
+ status: nf
53871
53874
  };
53872
53875
  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
53876
  status: nm
@@ -53884,7 +53887,7 @@
53884
53887
  status: s
53885
53888
  };
53886
53889
  switch(s){
53887
- case np:
53890
+ case nf:
53888
53891
  r = n_[i](l);
53889
53892
  break;
53890
53893
  case nm:
@@ -53914,7 +53917,7 @@
53914
53917
  var t, r;
53915
53918
  if (tN) return nS.exports;
53916
53919
  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) {
53920
+ 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
53921
  var o = {};
53919
53922
  for(var n in t)r[n] && r[n].length % 2 == 0 ? o[n] = r[n].concat(t[n]) : o[n] = t[n];
53920
53923
  return o;
@@ -53929,9 +53932,9 @@
53929
53932
  if (typeof t === c) return t = t.replace(/^\s\s*/, ""), typeof r === a ? t : t.substring(0, 500);
53930
53933
  }, X = function(t, r) {
53931
53934
  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;
53935
+ var p = r[u], f = r[u + 1];
53936
+ for(o = n = 0; o < p.length && !l && p[o];){
53937
+ 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
53938
  }
53936
53939
  u += 2;
53937
53940
  }
@@ -54515,11 +54518,11 @@
54515
54518
  [
54516
54519
  d,
54517
54520
  [
54518
- p,
54521
+ f,
54519
54522
  O
54520
54523
  ],
54521
54524
  [
54522
- f,
54525
+ p,
54523
54526
  v
54524
54527
  ]
54525
54528
  ],
@@ -54531,11 +54534,11 @@
54531
54534
  [
54532
54535
  d,
54533
54536
  [
54534
- p,
54537
+ f,
54535
54538
  O
54536
54539
  ],
54537
54540
  [
54538
- f,
54541
+ p,
54539
54542
  b
54540
54543
  ]
54541
54544
  ],
@@ -54545,11 +54548,11 @@
54545
54548
  [
54546
54549
  d,
54547
54550
  [
54548
- p,
54551
+ f,
54549
54552
  B
54550
54553
  ],
54551
54554
  [
54552
- f,
54555
+ p,
54553
54556
  b
54554
54557
  ]
54555
54558
  ],
@@ -54561,11 +54564,11 @@
54561
54564
  [
54562
54565
  d,
54563
54566
  [
54564
- p,
54567
+ f,
54565
54568
  B
54566
54569
  ],
54567
54570
  [
54568
- f,
54571
+ p,
54569
54572
  v
54570
54573
  ]
54571
54574
  ],
@@ -54575,7 +54578,7 @@
54575
54578
  [
54576
54579
  d,
54577
54580
  [
54578
- p,
54581
+ f,
54579
54582
  B
54580
54583
  ]
54581
54584
  ],
@@ -54585,11 +54588,11 @@
54585
54588
  [
54586
54589
  d,
54587
54590
  [
54588
- p,
54591
+ f,
54589
54592
  M
54590
54593
  ],
54591
54594
  [
54592
- f,
54595
+ p,
54593
54596
  b
54594
54597
  ]
54595
54598
  ],
@@ -54599,11 +54602,11 @@
54599
54602
  [
54600
54603
  d,
54601
54604
  [
54602
- p,
54605
+ f,
54603
54606
  D
54604
54607
  ],
54605
54608
  [
54606
- f,
54609
+ p,
54607
54610
  v
54608
54611
  ]
54609
54612
  ],
@@ -54614,11 +54617,11 @@
54614
54617
  [
54615
54618
  d,
54616
54619
  [
54617
- p,
54620
+ f,
54618
54621
  D
54619
54622
  ],
54620
54623
  [
54621
- f,
54624
+ p,
54622
54625
  b
54623
54626
  ]
54624
54627
  ],
@@ -54637,11 +54640,11 @@
54637
54640
  " "
54638
54641
  ],
54639
54642
  [
54640
- p,
54643
+ f,
54641
54644
  R
54642
54645
  ],
54643
54646
  [
54644
- f,
54647
+ p,
54645
54648
  b
54646
54649
  ]
54647
54650
  ],
@@ -54656,11 +54659,11 @@
54656
54659
  " "
54657
54660
  ],
54658
54661
  [
54659
- p,
54662
+ f,
54660
54663
  R
54661
54664
  ],
54662
54665
  [
54663
- f,
54666
+ p,
54664
54667
  v
54665
54668
  ]
54666
54669
  ],
@@ -54671,11 +54674,11 @@
54671
54674
  [
54672
54675
  d,
54673
54676
  [
54674
- p,
54677
+ f,
54675
54678
  "OPPO"
54676
54679
  ],
54677
54680
  [
54678
- f,
54681
+ p,
54679
54682
  b
54680
54683
  ]
54681
54684
  ],
@@ -54686,11 +54689,11 @@
54686
54689
  [
54687
54690
  d,
54688
54691
  [
54689
- p,
54692
+ f,
54690
54693
  "Vivo"
54691
54694
  ],
54692
54695
  [
54693
- f,
54696
+ p,
54694
54697
  b
54695
54698
  ]
54696
54699
  ],
@@ -54700,11 +54703,11 @@
54700
54703
  [
54701
54704
  d,
54702
54705
  [
54703
- p,
54706
+ f,
54704
54707
  "Realme"
54705
54708
  ],
54706
54709
  [
54707
- f,
54710
+ p,
54708
54711
  b
54709
54712
  ]
54710
54713
  ],
@@ -54716,11 +54719,11 @@
54716
54719
  [
54717
54720
  d,
54718
54721
  [
54719
- p,
54722
+ f,
54720
54723
  j
54721
54724
  ],
54722
54725
  [
54723
- f,
54726
+ p,
54724
54727
  b
54725
54728
  ]
54726
54729
  ],
@@ -54730,11 +54733,11 @@
54730
54733
  [
54731
54734
  d,
54732
54735
  [
54733
- p,
54736
+ f,
54734
54737
  j
54735
54738
  ],
54736
54739
  [
54737
- f,
54740
+ p,
54738
54741
  v
54739
54742
  ]
54740
54743
  ],
@@ -54744,11 +54747,11 @@
54744
54747
  [
54745
54748
  d,
54746
54749
  [
54747
- p,
54750
+ f,
54748
54751
  "LG"
54749
54752
  ],
54750
54753
  [
54751
- f,
54754
+ p,
54752
54755
  v
54753
54756
  ]
54754
54757
  ],
@@ -54760,11 +54763,11 @@
54760
54763
  [
54761
54764
  d,
54762
54765
  [
54763
- p,
54766
+ f,
54764
54767
  "LG"
54765
54768
  ],
54766
54769
  [
54767
- f,
54770
+ p,
54768
54771
  b
54769
54772
  ]
54770
54773
  ],
@@ -54775,11 +54778,11 @@
54775
54778
  [
54776
54779
  d,
54777
54780
  [
54778
- p,
54781
+ f,
54779
54782
  "Lenovo"
54780
54783
  ],
54781
54784
  [
54782
- f,
54785
+ p,
54783
54786
  v
54784
54787
  ]
54785
54788
  ],
@@ -54794,11 +54797,11 @@
54794
54797
  " "
54795
54798
  ],
54796
54799
  [
54797
- p,
54800
+ f,
54798
54801
  "Nokia"
54799
54802
  ],
54800
54803
  [
54801
- f,
54804
+ p,
54802
54805
  b
54803
54806
  ]
54804
54807
  ],
@@ -54808,11 +54811,11 @@
54808
54811
  [
54809
54812
  d,
54810
54813
  [
54811
- p,
54814
+ f,
54812
54815
  T
54813
54816
  ],
54814
54817
  [
54815
- f,
54818
+ p,
54816
54819
  v
54817
54820
  ]
54818
54821
  ],
@@ -54822,11 +54825,11 @@
54822
54825
  [
54823
54826
  d,
54824
54827
  [
54825
- p,
54828
+ f,
54826
54829
  T
54827
54830
  ],
54828
54831
  [
54829
- f,
54832
+ p,
54830
54833
  b
54831
54834
  ]
54832
54835
  ],
@@ -54836,11 +54839,11 @@
54836
54839
  [
54837
54840
  d,
54838
54841
  [
54839
- p,
54842
+ f,
54840
54843
  A
54841
54844
  ],
54842
54845
  [
54843
- f,
54846
+ p,
54844
54847
  b
54845
54848
  ]
54846
54849
  ],
@@ -54854,11 +54857,11 @@
54854
54857
  "Xperia Tablet"
54855
54858
  ],
54856
54859
  [
54857
- p,
54860
+ f,
54858
54861
  A
54859
54862
  ],
54860
54863
  [
54861
- f,
54864
+ p,
54862
54865
  v
54863
54866
  ]
54864
54867
  ],
@@ -54869,11 +54872,11 @@
54869
54872
  [
54870
54873
  d,
54871
54874
  [
54872
- p,
54875
+ f,
54873
54876
  "OnePlus"
54874
54877
  ],
54875
54878
  [
54876
- f,
54879
+ p,
54877
54880
  b
54878
54881
  ]
54879
54882
  ],
@@ -54885,11 +54888,11 @@
54885
54888
  [
54886
54889
  d,
54887
54890
  [
54888
- p,
54891
+ f,
54889
54892
  C
54890
54893
  ],
54891
54894
  [
54892
- f,
54895
+ p,
54893
54896
  v
54894
54897
  ]
54895
54898
  ],
@@ -54903,11 +54906,11 @@
54903
54906
  "Fire Phone $1"
54904
54907
  ],
54905
54908
  [
54906
- p,
54909
+ f,
54907
54910
  C
54908
54911
  ],
54909
54912
  [
54910
- f,
54913
+ p,
54911
54914
  b
54912
54915
  ]
54913
54916
  ],
@@ -54916,9 +54919,9 @@
54916
54919
  ],
54917
54920
  [
54918
54921
  d,
54919
- p,
54922
+ f,
54920
54923
  [
54921
- f,
54924
+ p,
54922
54925
  v
54923
54926
  ]
54924
54927
  ],
@@ -54929,11 +54932,11 @@
54929
54932
  [
54930
54933
  d,
54931
54934
  [
54932
- p,
54935
+ f,
54933
54936
  x
54934
54937
  ],
54935
54938
  [
54936
- f,
54939
+ p,
54937
54940
  b
54938
54941
  ]
54939
54942
  ],
@@ -54943,11 +54946,11 @@
54943
54946
  [
54944
54947
  d,
54945
54948
  [
54946
- p,
54949
+ f,
54947
54950
  _
54948
54951
  ],
54949
54952
  [
54950
- f,
54953
+ p,
54951
54954
  v
54952
54955
  ]
54953
54956
  ],
@@ -54957,11 +54960,11 @@
54957
54960
  [
54958
54961
  d,
54959
54962
  [
54960
- p,
54963
+ f,
54961
54964
  _
54962
54965
  ],
54963
54966
  [
54964
- f,
54967
+ p,
54965
54968
  b
54966
54969
  ]
54967
54970
  ],
@@ -54971,11 +54974,11 @@
54971
54974
  [
54972
54975
  d,
54973
54976
  [
54974
- p,
54977
+ f,
54975
54978
  "HTC"
54976
54979
  ],
54977
54980
  [
54978
- f,
54981
+ p,
54979
54982
  v
54980
54983
  ]
54981
54984
  ],
@@ -54985,14 +54988,14 @@
54985
54988
  /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i
54986
54989
  ],
54987
54990
  [
54988
- p,
54991
+ f,
54989
54992
  [
54990
54993
  d,
54991
54994
  /_/g,
54992
54995
  " "
54993
54996
  ],
54994
54997
  [
54995
- f,
54998
+ p,
54996
54999
  b
54997
55000
  ]
54998
55001
  ],
@@ -55002,11 +55005,11 @@
55002
55005
  [
55003
55006
  d,
55004
55007
  [
55005
- p,
55008
+ f,
55006
55009
  "Acer"
55007
55010
  ],
55008
55011
  [
55009
- f,
55012
+ p,
55010
55013
  v
55011
55014
  ]
55012
55015
  ],
@@ -55017,11 +55020,11 @@
55017
55020
  [
55018
55021
  d,
55019
55022
  [
55020
- p,
55023
+ f,
55021
55024
  "Meizu"
55022
55025
  ],
55023
55026
  [
55024
- f,
55027
+ p,
55025
55028
  b
55026
55029
  ]
55027
55030
  ],
@@ -55031,11 +55034,11 @@
55031
55034
  [
55032
55035
  d,
55033
55036
  [
55034
- p,
55037
+ f,
55035
55038
  "Ulefone"
55036
55039
  ],
55037
55040
  [
55038
- f,
55041
+ p,
55039
55042
  b
55040
55043
  ]
55041
55044
  ],
@@ -55049,10 +55052,10 @@
55049
55052
  /(oppo) ?([\w ]+) bui/i
55050
55053
  ],
55051
55054
  [
55052
- p,
55055
+ f,
55053
55056
  d,
55054
55057
  [
55055
- f,
55058
+ p,
55056
55059
  b
55057
55060
  ]
55058
55061
  ],
@@ -55069,10 +55072,10 @@
55069
55072
  /(vodafone) ([\w ]+)(?:\)| bui)/i
55070
55073
  ],
55071
55074
  [
55072
- p,
55075
+ f,
55073
55076
  d,
55074
55077
  [
55075
- f,
55078
+ p,
55076
55079
  v
55077
55080
  ]
55078
55081
  ],
@@ -55082,11 +55085,11 @@
55082
55085
  [
55083
55086
  d,
55084
55087
  [
55085
- p,
55088
+ f,
55086
55089
  $
55087
55090
  ],
55088
55091
  [
55089
- f,
55092
+ p,
55090
55093
  v
55091
55094
  ]
55092
55095
  ],
@@ -55096,11 +55099,11 @@
55096
55099
  [
55097
55100
  d,
55098
55101
  [
55099
- p,
55102
+ f,
55100
55103
  "Fairphone"
55101
55104
  ],
55102
55105
  [
55103
- f,
55106
+ p,
55104
55107
  b
55105
55108
  ]
55106
55109
  ],
@@ -55110,11 +55113,11 @@
55110
55113
  [
55111
55114
  d,
55112
55115
  [
55113
- p,
55116
+ f,
55114
55117
  "AT&T"
55115
55118
  ],
55116
55119
  [
55117
- f,
55120
+ p,
55118
55121
  b
55119
55122
  ]
55120
55123
  ],
@@ -55124,11 +55127,11 @@
55124
55127
  [
55125
55128
  d,
55126
55129
  [
55127
- p,
55130
+ f,
55128
55131
  "Siemens"
55129
55132
  ],
55130
55133
  [
55131
- f,
55134
+ p,
55132
55135
  b
55133
55136
  ]
55134
55137
  ],
@@ -55138,11 +55141,11 @@
55138
55141
  [
55139
55142
  d,
55140
55143
  [
55141
- p,
55144
+ f,
55142
55145
  "RCA"
55143
55146
  ],
55144
55147
  [
55145
- f,
55148
+ p,
55146
55149
  v
55147
55150
  ]
55148
55151
  ],
@@ -55152,11 +55155,11 @@
55152
55155
  [
55153
55156
  d,
55154
55157
  [
55155
- p,
55158
+ f,
55156
55159
  "Dell"
55157
55160
  ],
55158
55161
  [
55159
- f,
55162
+ p,
55160
55163
  v
55161
55164
  ]
55162
55165
  ],
@@ -55166,11 +55169,11 @@
55166
55169
  [
55167
55170
  d,
55168
55171
  [
55169
- p,
55172
+ f,
55170
55173
  "Verizon"
55171
55174
  ],
55172
55175
  [
55173
- f,
55176
+ p,
55174
55177
  v
55175
55178
  ]
55176
55179
  ],
@@ -55180,11 +55183,11 @@
55180
55183
  [
55181
55184
  d,
55182
55185
  [
55183
- p,
55186
+ f,
55184
55187
  "Barnes & Noble"
55185
55188
  ],
55186
55189
  [
55187
- f,
55190
+ p,
55188
55191
  v
55189
55192
  ]
55190
55193
  ],
@@ -55194,11 +55197,11 @@
55194
55197
  [
55195
55198
  d,
55196
55199
  [
55197
- p,
55200
+ f,
55198
55201
  "NuVision"
55199
55202
  ],
55200
55203
  [
55201
- f,
55204
+ p,
55202
55205
  v
55203
55206
  ]
55204
55207
  ],
@@ -55208,11 +55211,11 @@
55208
55211
  [
55209
55212
  d,
55210
55213
  [
55211
- p,
55214
+ f,
55212
55215
  "ZTE"
55213
55216
  ],
55214
55217
  [
55215
- f,
55218
+ p,
55216
55219
  v
55217
55220
  ]
55218
55221
  ],
@@ -55222,11 +55225,11 @@
55222
55225
  [
55223
55226
  d,
55224
55227
  [
55225
- p,
55228
+ f,
55226
55229
  "ZTE"
55227
55230
  ],
55228
55231
  [
55229
- f,
55232
+ p,
55230
55233
  b
55231
55234
  ]
55232
55235
  ],
@@ -55236,11 +55239,11 @@
55236
55239
  [
55237
55240
  d,
55238
55241
  [
55239
- p,
55242
+ f,
55240
55243
  "Swiss"
55241
55244
  ],
55242
55245
  [
55243
- f,
55246
+ p,
55244
55247
  b
55245
55248
  ]
55246
55249
  ],
@@ -55250,11 +55253,11 @@
55250
55253
  [
55251
55254
  d,
55252
55255
  [
55253
- p,
55256
+ f,
55254
55257
  "Swiss"
55255
55258
  ],
55256
55259
  [
55257
- f,
55260
+ p,
55258
55261
  v
55259
55262
  ]
55260
55263
  ],
@@ -55264,11 +55267,11 @@
55264
55267
  [
55265
55268
  d,
55266
55269
  [
55267
- p,
55270
+ f,
55268
55271
  "Zeki"
55269
55272
  ],
55270
55273
  [
55271
- f,
55274
+ p,
55272
55275
  v
55273
55276
  ]
55274
55277
  ],
@@ -55278,12 +55281,12 @@
55278
55281
  ],
55279
55282
  [
55280
55283
  [
55281
- p,
55284
+ f,
55282
55285
  "Dragon Touch"
55283
55286
  ],
55284
55287
  d,
55285
55288
  [
55286
- f,
55289
+ p,
55287
55290
  v
55288
55291
  ]
55289
55292
  ],
@@ -55293,11 +55296,11 @@
55293
55296
  [
55294
55297
  d,
55295
55298
  [
55296
- p,
55299
+ f,
55297
55300
  "Insignia"
55298
55301
  ],
55299
55302
  [
55300
- f,
55303
+ p,
55301
55304
  v
55302
55305
  ]
55303
55306
  ],
@@ -55307,11 +55310,11 @@
55307
55310
  [
55308
55311
  d,
55309
55312
  [
55310
- p,
55313
+ f,
55311
55314
  "NextBook"
55312
55315
  ],
55313
55316
  [
55314
- f,
55317
+ p,
55315
55318
  v
55316
55319
  ]
55317
55320
  ],
@@ -55320,12 +55323,12 @@
55320
55323
  ],
55321
55324
  [
55322
55325
  [
55323
- p,
55326
+ f,
55324
55327
  "Voice"
55325
55328
  ],
55326
55329
  d,
55327
55330
  [
55328
- f,
55331
+ p,
55329
55332
  b
55330
55333
  ]
55331
55334
  ],
@@ -55334,12 +55337,12 @@
55334
55337
  ],
55335
55338
  [
55336
55339
  [
55337
- p,
55340
+ f,
55338
55341
  "LvTel"
55339
55342
  ],
55340
55343
  d,
55341
55344
  [
55342
- f,
55345
+ p,
55343
55346
  b
55344
55347
  ]
55345
55348
  ],
@@ -55349,11 +55352,11 @@
55349
55352
  [
55350
55353
  d,
55351
55354
  [
55352
- p,
55355
+ f,
55353
55356
  "Essential"
55354
55357
  ],
55355
55358
  [
55356
- f,
55359
+ p,
55357
55360
  b
55358
55361
  ]
55359
55362
  ],
@@ -55363,11 +55366,11 @@
55363
55366
  [
55364
55367
  d,
55365
55368
  [
55366
- p,
55369
+ f,
55367
55370
  "Envizen"
55368
55371
  ],
55369
55372
  [
55370
- f,
55373
+ p,
55371
55374
  v
55372
55375
  ]
55373
55376
  ],
@@ -55377,11 +55380,11 @@
55377
55380
  [
55378
55381
  d,
55379
55382
  [
55380
- p,
55383
+ f,
55381
55384
  "MachSpeed"
55382
55385
  ],
55383
55386
  [
55384
- f,
55387
+ p,
55385
55388
  v
55386
55389
  ]
55387
55390
  ],
@@ -55391,11 +55394,11 @@
55391
55394
  [
55392
55395
  d,
55393
55396
  [
55394
- p,
55397
+ f,
55395
55398
  "Rotor"
55396
55399
  ],
55397
55400
  [
55398
- f,
55401
+ p,
55399
55402
  v
55400
55403
  ]
55401
55404
  ],
@@ -55405,11 +55408,11 @@
55405
55408
  [
55406
55409
  d,
55407
55410
  [
55408
- p,
55411
+ f,
55409
55412
  "Nvidia"
55410
55413
  ],
55411
55414
  [
55412
- f,
55415
+ p,
55413
55416
  v
55414
55417
  ]
55415
55418
  ],
@@ -55417,10 +55420,10 @@
55417
55420
  /(sprint) (\w+)/i
55418
55421
  ],
55419
55422
  [
55420
- p,
55423
+ f,
55421
55424
  d,
55422
55425
  [
55423
- f,
55426
+ p,
55424
55427
  b
55425
55428
  ]
55426
55429
  ],
@@ -55434,11 +55437,11 @@
55434
55437
  " "
55435
55438
  ],
55436
55439
  [
55437
- p,
55440
+ f,
55438
55441
  $
55439
55442
  ],
55440
55443
  [
55441
- f,
55444
+ p,
55442
55445
  b
55443
55446
  ]
55444
55447
  ],
@@ -55448,11 +55451,11 @@
55448
55451
  [
55449
55452
  d,
55450
55453
  [
55451
- p,
55454
+ f,
55452
55455
  L
55453
55456
  ],
55454
55457
  [
55455
- f,
55458
+ p,
55456
55459
  v
55457
55460
  ]
55458
55461
  ],
@@ -55462,11 +55465,11 @@
55462
55465
  [
55463
55466
  d,
55464
55467
  [
55465
- p,
55468
+ f,
55466
55469
  L
55467
55470
  ],
55468
55471
  [
55469
- f,
55472
+ p,
55470
55473
  b
55471
55474
  ]
55472
55475
  ],
@@ -55474,9 +55477,9 @@
55474
55477
  /smart-tv.+(samsung)/i
55475
55478
  ],
55476
55479
  [
55477
- p,
55480
+ f,
55478
55481
  [
55479
- f,
55482
+ p,
55480
55483
  w
55481
55484
  ]
55482
55485
  ],
@@ -55490,11 +55493,11 @@
55490
55493
  "SmartTV"
55491
55494
  ],
55492
55495
  [
55493
- p,
55496
+ f,
55494
55497
  O
55495
55498
  ],
55496
55499
  [
55497
- f,
55500
+ p,
55498
55501
  w
55499
55502
  ]
55500
55503
  ],
@@ -55503,11 +55506,11 @@
55503
55506
  ],
55504
55507
  [
55505
55508
  [
55506
- p,
55509
+ f,
55507
55510
  "LG"
55508
55511
  ],
55509
55512
  [
55510
- f,
55513
+ p,
55511
55514
  w
55512
55515
  ]
55513
55516
  ],
@@ -55515,13 +55518,13 @@
55515
55518
  /(apple) ?tv/i
55516
55519
  ],
55517
55520
  [
55518
- p,
55521
+ f,
55519
55522
  [
55520
55523
  d,
55521
55524
  B + " TV"
55522
55525
  ],
55523
55526
  [
55524
- f,
55527
+ p,
55525
55528
  w
55526
55529
  ]
55527
55530
  ],
@@ -55534,11 +55537,11 @@
55534
55537
  S + "cast"
55535
55538
  ],
55536
55539
  [
55537
- p,
55540
+ f,
55538
55541
  T
55539
55542
  ],
55540
55543
  [
55541
- f,
55544
+ p,
55542
55545
  w
55543
55546
  ]
55544
55547
  ],
@@ -55548,11 +55551,11 @@
55548
55551
  [
55549
55552
  d,
55550
55553
  [
55551
- p,
55554
+ f,
55552
55555
  C
55553
55556
  ],
55554
55557
  [
55555
- f,
55558
+ p,
55556
55559
  w
55557
55560
  ]
55558
55561
  ],
@@ -55563,11 +55566,11 @@
55563
55566
  [
55564
55567
  d,
55565
55568
  [
55566
- p,
55569
+ f,
55567
55570
  M
55568
55571
  ],
55569
55572
  [
55570
- f,
55573
+ p,
55571
55574
  w
55572
55575
  ]
55573
55576
  ],
@@ -55577,11 +55580,11 @@
55577
55580
  [
55578
55581
  d,
55579
55582
  [
55580
- p,
55583
+ f,
55581
55584
  A
55582
55585
  ],
55583
55586
  [
55584
- f,
55587
+ p,
55585
55588
  w
55586
55589
  ]
55587
55590
  ],
@@ -55591,11 +55594,11 @@
55591
55594
  [
55592
55595
  d,
55593
55596
  [
55594
- p,
55597
+ f,
55595
55598
  R
55596
55599
  ],
55597
55600
  [
55598
- f,
55601
+ p,
55599
55602
  w
55600
55603
  ]
55601
55604
  ],
@@ -55603,10 +55606,10 @@
55603
55606
  /Hbbtv.*(technisat) (.*);/i
55604
55607
  ],
55605
55608
  [
55606
- p,
55609
+ f,
55607
55610
  d,
55608
55611
  [
55609
- f,
55612
+ p,
55610
55613
  w
55611
55614
  ]
55612
55615
  ],
@@ -55616,7 +55619,7 @@
55616
55619
  ],
55617
55620
  [
55618
55621
  [
55619
- p,
55622
+ f,
55620
55623
  Q
55621
55624
  ],
55622
55625
  [
@@ -55624,7 +55627,7 @@
55624
55627
  Q
55625
55628
  ],
55626
55629
  [
55627
- f,
55630
+ p,
55628
55631
  w
55629
55632
  ]
55630
55633
  ],
@@ -55633,7 +55636,7 @@
55633
55636
  ],
55634
55637
  [
55635
55638
  [
55636
- f,
55639
+ p,
55637
55640
  w
55638
55641
  ]
55639
55642
  ],
@@ -55642,10 +55645,10 @@
55642
55645
  /(nintendo) ([wids3utch]+)/i
55643
55646
  ],
55644
55647
  [
55645
- p,
55648
+ f,
55646
55649
  d,
55647
55650
  [
55648
- f,
55651
+ p,
55649
55652
  g
55650
55653
  ]
55651
55654
  ],
@@ -55655,11 +55658,11 @@
55655
55658
  [
55656
55659
  d,
55657
55660
  [
55658
- p,
55661
+ f,
55659
55662
  "Nvidia"
55660
55663
  ],
55661
55664
  [
55662
- f,
55665
+ p,
55663
55666
  g
55664
55667
  ]
55665
55668
  ],
@@ -55669,11 +55672,11 @@
55669
55672
  [
55670
55673
  d,
55671
55674
  [
55672
- p,
55675
+ f,
55673
55676
  A
55674
55677
  ],
55675
55678
  [
55676
- f,
55679
+ p,
55677
55680
  g
55678
55681
  ]
55679
55682
  ],
@@ -55683,11 +55686,11 @@
55683
55686
  [
55684
55687
  d,
55685
55688
  [
55686
- p,
55689
+ f,
55687
55690
  $
55688
55691
  ],
55689
55692
  [
55690
- f,
55693
+ p,
55691
55694
  g
55692
55695
  ]
55693
55696
  ],
@@ -55695,10 +55698,10 @@
55695
55698
  /((pebble))app/i
55696
55699
  ],
55697
55700
  [
55698
- p,
55701
+ f,
55699
55702
  d,
55700
55703
  [
55701
- f,
55704
+ p,
55702
55705
  k
55703
55706
  ]
55704
55707
  ],
@@ -55708,11 +55711,11 @@
55708
55711
  [
55709
55712
  d,
55710
55713
  [
55711
- p,
55714
+ f,
55712
55715
  B
55713
55716
  ],
55714
55717
  [
55715
- f,
55718
+ p,
55716
55719
  k
55717
55720
  ]
55718
55721
  ],
@@ -55722,11 +55725,11 @@
55722
55725
  [
55723
55726
  d,
55724
55727
  [
55725
- p,
55728
+ f,
55726
55729
  T
55727
55730
  ],
55728
55731
  [
55729
- f,
55732
+ p,
55730
55733
  k
55731
55734
  ]
55732
55735
  ],
@@ -55736,11 +55739,11 @@
55736
55739
  [
55737
55740
  d,
55738
55741
  [
55739
- p,
55742
+ f,
55740
55743
  L
55741
55744
  ],
55742
55745
  [
55743
- f,
55746
+ p,
55744
55747
  k
55745
55748
  ]
55746
55749
  ],
@@ -55750,11 +55753,11 @@
55750
55753
  [
55751
55754
  d,
55752
55755
  [
55753
- p,
55756
+ f,
55754
55757
  F
55755
55758
  ],
55756
55759
  [
55757
- f,
55760
+ p,
55758
55761
  k
55759
55762
  ]
55760
55763
  ],
@@ -55762,9 +55765,9 @@
55762
55765
  /(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i
55763
55766
  ],
55764
55767
  [
55765
- p,
55768
+ f,
55766
55769
  [
55767
- f,
55770
+ p,
55768
55771
  y
55769
55772
  ]
55770
55773
  ],
@@ -55774,11 +55777,11 @@
55774
55777
  [
55775
55778
  d,
55776
55779
  [
55777
- p,
55780
+ f,
55778
55781
  C
55779
55782
  ],
55780
55783
  [
55781
- f,
55784
+ p,
55782
55785
  y
55783
55786
  ]
55784
55787
  ],
@@ -55788,7 +55791,7 @@
55788
55791
  [
55789
55792
  d,
55790
55793
  [
55791
- f,
55794
+ p,
55792
55795
  b
55793
55796
  ]
55794
55797
  ],
@@ -55798,7 +55801,7 @@
55798
55801
  [
55799
55802
  d,
55800
55803
  [
55801
- f,
55804
+ p,
55802
55805
  v
55803
55806
  ]
55804
55807
  ],
@@ -55807,7 +55810,7 @@
55807
55810
  ],
55808
55811
  [
55809
55812
  [
55810
- f,
55813
+ p,
55811
55814
  v
55812
55815
  ]
55813
55816
  ],
@@ -55816,7 +55819,7 @@
55816
55819
  ],
55817
55820
  [
55818
55821
  [
55819
- f,
55822
+ p,
55820
55823
  b
55821
55824
  ]
55822
55825
  ],
@@ -55826,7 +55829,7 @@
55826
55829
  [
55827
55830
  d,
55828
55831
  [
55829
- p,
55832
+ f,
55830
55833
  "Generic"
55831
55834
  ]
55832
55835
  ]
@@ -56077,7 +56080,7 @@
56077
56080
  return t[m] = void 0, X.call(t, g, k.cpu), t;
56078
56081
  }, this.getDevice = function() {
56079
56082
  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;
56083
+ 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
56084
  }, this.getEngine = function() {
56082
56085
  var t = {};
56083
56086
  return t[u] = void 0, t[h] = void 0, X.call(t, g, k.engine), t;
@@ -56107,8 +56110,8 @@
56107
56110
  m
56108
56111
  ]), K.DEVICE = W([
56109
56112
  d,
56110
- p,
56111
56113
  f,
56114
+ p,
56112
56115
  g,
56113
56116
  b,
56114
56117
  w,
@@ -56131,9 +56134,9 @@
56131
56134
  };
56132
56135
  }
56133
56136
  }("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) {
56137
+ }(), 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
56138
  return i.setUA(t);
56136
- }, p = function(t) {
56139
+ }, f = function(t) {
56137
56140
  if (!t) return void console.error("No userAgent string was provided");
56138
56141
  var r = new n(t);
56139
56142
  return {
@@ -56156,8 +56159,8 @@
56156
56159
  engine: l,
56157
56160
  os: d,
56158
56161
  ua: u,
56159
- setUa: f,
56160
- parseUserAgent: p
56162
+ setUa: p,
56163
+ parseUserAgent: f
56161
56164
  });
56162
56165
  function m(t, r) {
56163
56166
  var o = Object.keys(t);
@@ -56376,9 +56379,9 @@
56376
56379
  }, eu = function(t) {
56377
56380
  var r = t.name;
56378
56381
  return r === $.InternetExplorer || r === $.Ie;
56379
- }, ef = function(t) {
56380
- return t.name === $.MIUI;
56381
56382
  }, ep = function(t) {
56383
+ return t.name === $.MIUI;
56384
+ }, ef = function(t) {
56382
56385
  return t.name === $.SamsungBrowser;
56383
56386
  }, eh = function(t) {
56384
56387
  return M(t.version);
@@ -56451,13 +56454,13 @@
56451
56454
  isLegacyEdge: ea(n) && !ek(s),
56452
56455
  isWindows: K(i),
56453
56456
  isMacOs: Y(i),
56454
- isMIUI: ef(n),
56455
- isSamsungBrowser: ep(n)
56457
+ isMIUI: ep(n),
56458
+ isSamsungBrowser: ef(n)
56456
56459
  };
56457
56460
  }
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);
56461
+ 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
56462
  function ta(t) {
56460
- return p(t || window.navigator.userAgent);
56463
+ return f(t || window.navigator.userAgent);
56461
56464
  }
56462
56465
  return nP.AndroidView = function(r) {
56463
56466
  var n = r.renderWithFragment, i = r.children, a = y(r, [
@@ -56541,7 +56544,7 @@
56541
56544
  ]);
56542
56545
  return eF ? n ? o.createElement(React.Fragment, null, i) : o.createElement("div", a, i) : null;
56543
56546
  }, 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;
56547
+ 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
56548
  if (I) {
56546
56549
  return r = I, o = E, n = T, i = D, a = $, {
56547
56550
  isBrowser: r,
@@ -56566,10 +56569,10 @@
56566
56569
  };
56567
56570
  }
56568
56571
  if (N) {
56569
- return u = N, f = T, m = D, g = $, {
56572
+ return u = N, p = T, m = D, g = $, {
56570
56573
  isConsole: u,
56571
- engineName: M(f.name),
56572
- engineVersion: M(f.version),
56574
+ engineName: M(p.name),
56575
+ engineVersion: M(p.version),
56573
56576
  osName: M(m.name),
56574
56577
  osVersion: M(m.version),
56575
56578
  userAgent: M(g)
@@ -56600,7 +56603,7 @@
56600
56603
  }
56601
56604
  }, nP.deviceType = e1, nP.engineName = eJ, nP.engineVersion = e3, nP.fullBrowserVersion = eH, nP.getSelectorsByUserAgent = function(t) {
56602
56605
  if (!t || "string" != typeof t) return void console.error("No valid user agent string was provided");
56603
- var r = p(t);
56606
+ var r = f(t);
56604
56607
  return eP({
56605
56608
  device: r.device,
56606
56609
  browser: r.browser,
@@ -56608,8 +56611,8 @@
56608
56611
  engine: r.engine,
56609
56612
  ua: r.ua
56610
56613
  });
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);
56614
+ }, 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) {
56615
+ return p(t);
56613
56616
  }, nP.useDeviceData = ta, nP.useDeviceSelectors = function(t) {
56614
56617
  var r = ta(t || window.navigator.userAgent);
56615
56618
  return [
@@ -56815,7 +56818,7 @@
56815
56818
  var nM = oX(function() {
56816
56819
  if (tW) return tV;
56817
56820
  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() {
56821
+ 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
56822
  return l.Date.now();
56820
56823
  };
56821
56824
  function h(t) {
@@ -56831,8 +56834,8 @@
56831
56834
  }
56832
56835
  if ("string" != typeof s) return 0 === s ? s : +s;
56833
56836
  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;
56837
+ var p = n.test(s);
56838
+ return p || i.test(s) ? a(s.slice(2), p ? 2 : 8) : o.test(s) ? t : +s;
56836
56839
  }
56837
56840
  return tV = function(t, r, o) {
56838
56841
  var n, i, a, s, c, l, d = 0, g = !1, b = !1, v = !0;
@@ -56847,15 +56850,15 @@
56847
56850
  return void 0 === l || o >= r || o < 0 || b && n >= a;
56848
56851
  }
56849
56852
  function y() {
56850
- var t, o, n, i, s = p();
56853
+ var t, o, n, i, s = f();
56851
56854
  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));
56855
+ c = setTimeout(y, (o = (t = s) - l, n = t - d, i = r - o, b ? p(i, a - n) : i));
56853
56856
  }
56854
56857
  function C(t) {
56855
56858
  return (c = void 0, v && n) ? w(t) : (n = i = void 0, s);
56856
56859
  }
56857
56860
  function B() {
56858
- var t, o = p(), a = k(o);
56861
+ var t, o = f(), a = k(o);
56859
56862
  if (n = arguments, i = this, l = o, a) {
56860
56863
  if (void 0 === c) {
56861
56864
  return d = t = l, c = setTimeout(y, r), g ? w(t) : s;
@@ -56867,7 +56870,7 @@
56867
56870
  return B.cancel = function() {
56868
56871
  void 0 !== c && clearTimeout(c), d = 0, n = l = i = c = void 0;
56869
56872
  }, B.flush = function() {
56870
- return void 0 === c ? s : C(p());
56873
+ return void 0 === c ? s : C(f());
56871
56874
  }, B;
56872
56875
  };
56873
56876
  }()), nA = {
@@ -56878,11 +56881,11 @@
56878
56881
  var t = tq ? nA.exports : (tq = 1, nA.exports = function() {
56879
56882
  if (tU) return nR;
56880
56883
  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;
56884
+ 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
56885
  function k(t) {
56883
56886
  if ("object" == typeof t && null !== t) {
56884
- var p = t.$$typeof;
56885
- switch(p){
56887
+ var f = t.$$typeof;
56888
+ switch(f){
56886
56889
  case r:
56887
56890
  switch(t = t.type){
56888
56891
  case l:
@@ -56890,7 +56893,7 @@
56890
56893
  case n:
56891
56894
  case a:
56892
56895
  case i:
56893
- case f:
56896
+ case p:
56894
56897
  return t;
56895
56898
  default:
56896
56899
  switch(t = t && t.$$typeof){
@@ -56901,18 +56904,18 @@
56901
56904
  case s:
56902
56905
  return t;
56903
56906
  default:
56904
- return p;
56907
+ return f;
56905
56908
  }
56906
56909
  }
56907
56910
  case o:
56908
- return p;
56911
+ return f;
56909
56912
  }
56910
56913
  }
56911
56914
  }
56912
56915
  function y(t) {
56913
56916
  return k(t) === d;
56914
56917
  }
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) {
56918
+ 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
56919
  return y(t) || k(t) === l;
56917
56920
  }, nR.isConcurrentMode = y, nR.isContextConsumer = function(t) {
56918
56921
  return k(t) === c;
@@ -56935,9 +56938,9 @@
56935
56938
  }, nR.isStrictMode = function(t) {
56936
56939
  return k(t) === i;
56937
56940
  }, nR.isSuspense = function(t) {
56938
- return k(t) === f;
56941
+ return k(t) === p;
56939
56942
  }, 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);
56943
+ 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
56944
  }, nR.typeOf = k, nR;
56942
56945
  }(), nA.exports), r = {
56943
56946
  childContextTypes: !0,
@@ -56977,12 +56980,12 @@
56977
56980
  displayName: !0,
56978
56981
  propTypes: !0
56979
56982
  }, i[t.Memo] = n;
56980
- var s = Object.defineProperty, c = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, d = Object.getOwnPropertyDescriptor, u = Object.getPrototypeOf, f = Object.prototype;
56983
+ var s = Object.defineProperty, c = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, d = Object.getOwnPropertyDescriptor, u = Object.getPrototypeOf, p = Object.prototype;
56981
56984
  return tQ = function t(r, n, i) {
56982
56985
  if ("string" != typeof n) {
56983
- if (f) {
56984
- var p = u(n);
56985
- p && p !== f && t(r, p, i);
56986
+ if (p) {
56987
+ var f = u(n);
56988
+ f && f !== p && t(r, f, i);
56986
56989
  }
56987
56990
  var h = c(n);
56988
56991
  l && (h = h.concat(l(n)));
@@ -57139,7 +57142,7 @@
57139
57142
  else console.warn("Flashlight is not supported or not initialized.");
57140
57143
  }, [
57141
57144
  c
57142
- ]), f = reactExports.useCallback(async ()=>{
57145
+ ]), p = reactExports.useCallback(async ()=>{
57143
57146
  if (c && c.isSupported()) try {
57144
57147
  await c.turnOff(), d.current = !1;
57145
57148
  } catch (t) {
@@ -57147,15 +57150,15 @@
57147
57150
  }
57148
57151
  }, [
57149
57152
  c
57150
- ]), p = React.useMemo(()=>({
57153
+ ]), f = React.useMemo(()=>({
57151
57154
  turnOnFlashlight: u,
57152
- turnOffFlashlight: f
57155
+ turnOffFlashlight: p
57153
57156
  }), [
57154
57157
  u,
57155
- f
57158
+ p
57156
57159
  ]);
57157
57160
  return oZ.jsx(nU.Provider, {
57158
- value: p,
57161
+ value: f,
57159
57162
  children: s
57160
57163
  });
57161
57164
  }, { Errors: nQ } = ra$1, nX = dt$1.div`
@@ -57201,7 +57204,7 @@
57201
57204
  `;
57202
57205
  function nJ(r) {
57203
57206
  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)=>{
57207
+ 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
57208
  B && B(t);
57206
57209
  }, [
57207
57210
  B
@@ -57277,8 +57280,8 @@
57277
57280
  },
57278
57281
  ...o
57279
57282
  }
57280
- }, f = await navigator.mediaDevices.getUserMedia(n);
57281
- if (await U(), q(), !f) return O(z("not_supported")), V(nQ.not_supported), null;
57283
+ }, p = await navigator.mediaDevices.getUserMedia(n);
57284
+ if (await U(), q(), !p) return O(z("not_supported")), V(nQ.not_supported), null;
57282
57285
  a(performance.now(), "end"), window.tv_last_req_camera_complete = !0, c() - s() < 1600 ? $({
57283
57286
  tag: "cam_permission",
57284
57287
  event: "user_activity.cam",
@@ -57291,13 +57294,13 @@
57291
57294
  log: {}
57292
57295
  });
57293
57296
  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();
57297
+ let t = p.getVideoTracks()[0].getSettings();
57298
+ 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) {
57299
+ let t = p.getVideoTracks()[0].getCapabilities();
57297
57300
  h7.addExifData("device_info.camera_capabilities", JSON.stringify(t));
57298
57301
  }
57299
57302
  } catch (t) {}
57300
- return f;
57303
+ return p;
57301
57304
  } catch (t) {
57302
57305
  a(performance.now(), "end"), "NotAllowedError" === t.name ? (O(z("no_permission")), V(nQ.no_permission), A.current = !0, $({
57303
57306
  tag: "cam_permission",
@@ -57408,13 +57411,13 @@
57408
57411
  z
57409
57412
  ]);
57410
57413
  let H = reactExports.useCallback(()=>{
57411
- W(), f && f(), $({
57414
+ W(), p && p(), $({
57412
57415
  tag: "result",
57413
57416
  event: "user_activity.cancel",
57414
57417
  log: {}
57415
57418
  });
57416
57419
  }, [
57417
- f,
57420
+ p,
57418
57421
  W,
57419
57422
  $
57420
57423
  ]);
@@ -57477,7 +57480,7 @@
57477
57480
  className: x,
57478
57481
  scale: P
57479
57482
  }),
57480
- p,
57483
+ f,
57481
57484
  _ ? /*#__PURE__*/ React.cloneElement(_, {
57482
57485
  onClick: H,
57483
57486
  "data-testid": "close-camera"
@@ -57677,32 +57680,32 @@
57677
57680
  "left center",
57678
57681
  "left bottom"
57679
57682
  ], 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%";
57683
+ 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
57684
  switch(l[0]){
57682
57685
  case "top":
57683
- h -= f / 2 + t.height / 2 + c, g = "rotate(180deg) translateX(50%)", b = "100%", v = "50%";
57686
+ h -= p / 2 + t.height / 2 + c, g = "rotate(180deg) translateX(50%)", b = "100%", v = "50%";
57684
57687
  break;
57685
57688
  case "bottom":
57686
- h += f / 2 + t.height / 2 + c, g = "rotate(0deg) translateY(-100%) translateX(-50%)", v = "50%";
57689
+ h += p / 2 + t.height / 2 + c, g = "rotate(0deg) translateY(-100%) translateX(-50%)", v = "50%";
57687
57690
  break;
57688
57691
  case "left":
57689
- m -= p / 2 + t.width / 2 + c, g = " rotate(90deg) translateY(50%) translateX(-25%)", v = "100%", b = "50%";
57692
+ m -= f / 2 + t.width / 2 + c, g = " rotate(90deg) translateY(50%) translateX(-25%)", v = "100%", b = "50%";
57690
57693
  break;
57691
57694
  case "right":
57692
- m += p / 2 + t.width / 2 + c, g = "rotate(-90deg) translateY(-150%) translateX(25%)", b = "50%";
57695
+ m += f / 2 + t.width / 2 + c, g = "rotate(-90deg) translateY(-150%) translateX(25%)", b = "50%";
57693
57696
  }
57694
57697
  switch(l[1]){
57695
57698
  case "top":
57696
57699
  h = t.top, b = t.height / 2 + "px";
57697
57700
  break;
57698
57701
  case "bottom":
57699
- h = t.top - f + t.height, b = f - t.height / 2 + "px";
57702
+ h = t.top - p + t.height, b = p - t.height / 2 + "px";
57700
57703
  break;
57701
57704
  case "left":
57702
57705
  m = t.left, v = t.width / 2 + "px";
57703
57706
  break;
57704
57707
  case "right":
57705
- m = t.left - p + t.width, v = p - t.width / 2 + "px";
57708
+ m = t.left - f + t.width, v = f - t.width / 2 + "px";
57706
57709
  }
57707
57710
  return h = "top" === l[0] ? h - s : h + s, {
57708
57711
  top: h,
@@ -57730,12 +57733,12 @@
57730
57733
  left: 0,
57731
57734
  top: 0,
57732
57735
  transform: "rotate(135deg)"
57733
- }, d = 0, u = ii(a), f = Array.isArray(o) ? o : [
57736
+ }, d = 0, u = ii(a), p = Array.isArray(o) ? o : [
57734
57737
  o
57735
57738
  ];
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, {
57739
+ for((a || Array.isArray(o)) && (p = [].concat(p, ir)); d < p.length;){
57740
+ var f = {
57741
+ top: (l = io(t, r, p[d], n, {
57739
57742
  offsetX: s,
57740
57743
  offsetY: c
57741
57744
  })).top,
@@ -57743,7 +57746,7 @@
57743
57746
  width: r.width,
57744
57747
  height: r.height
57745
57748
  };
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++;
57749
+ 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
57750
  else break;
57748
57751
  }
57749
57752
  return l;
@@ -57751,7 +57754,7 @@
57751
57754
  var t = document.getElementById("popup-root");
57752
57755
  return null === t && ((t = document.createElement("div")).setAttribute("id", "popup-root"), document.body.appendChild(t)), t;
57753
57756
  }, 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 ? [
57757
+ 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
57758
  "click"
57756
57759
  ] : 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
57760
  n7(function() {
@@ -57773,16 +57776,16 @@
57773
57776
  }, eu = function(t) {
57774
57777
  var r;
57775
57778
  et && !v && (er(!1), ec && (null == (r = ea.current) || r.focus()), setTimeout(function() {
57776
- return p(t);
57779
+ return f(t);
57777
57780
  }, 0));
57778
- }, ef = function(t) {
57779
- null == t || t.stopPropagation(), et ? eu(t) : ed(t);
57780
57781
  }, ep = function(t) {
57782
+ null == t || t.stopPropagation(), et ? eu(t) : ed(t);
57783
+ }, ef = function(t) {
57781
57784
  clearTimeout(el.current), el.current = setTimeout(function() {
57782
57785
  return ed(t);
57783
57786
  }, X);
57784
57787
  }, eh = function(t) {
57785
- null == t || t.preventDefault(), ef();
57788
+ null == t || t.preventDefault(), ep();
57786
57789
  }, em = function(t) {
57787
57790
  clearTimeout(el.current), el.current = setTimeout(function() {
57788
57791
  return eu(t);
@@ -57804,7 +57807,7 @@
57804
57807
  eu();
57805
57808
  },
57806
57809
  toggle: function() {
57807
- ef();
57810
+ ep();
57808
57811
  }
57809
57812
  };
57810
57813
  });
@@ -57838,7 +57841,7 @@
57838
57841
  t.stopPropagation();
57839
57842
  }
57840
57843
  };
57841
- return !R && P.indexOf("hover") >= 0 && (r.onMouseEnter = ep, r.onMouseLeave = em), r;
57844
+ return !R && P.indexOf("hover") >= 0 && (r.onMouseEnter = ef, r.onMouseLeave = em), r;
57842
57845
  }, ey = function() {
57843
57846
  return /*#__PURE__*/ React.createElement("div", Object.assign({}, ek(), {
57844
57847
  key: "C",
@@ -57885,16 +57888,16 @@
57885
57888
  P
57886
57889
  ], n = 0, i = o.length; n < i; n++)switch(o[n]){
57887
57890
  case "click":
57888
- r.onClick = ef;
57891
+ r.onClick = ep;
57889
57892
  break;
57890
57893
  case "right-click":
57891
57894
  r.onContextMenu = eh;
57892
57895
  break;
57893
57896
  case "hover":
57894
- r.onMouseEnter = ep, r.onMouseLeave = em;
57897
+ r.onMouseEnter = ef, r.onMouseLeave = em;
57895
57898
  break;
57896
57899
  case "focus":
57897
- r.onFocus = ep, r.onBlur = em;
57900
+ r.onFocus = ef, r.onBlur = em;
57898
57901
  }
57899
57902
  if ("function" == typeof c) {
57900
57903
  var a = c(et);
@@ -58160,8 +58163,8 @@
58160
58163
  }
58161
58164
  }
58162
58165
  }, 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(()=>({
58166
+ 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 }) {
58167
+ let f = reactExports.useMemo(()=>({
58165
58168
  [im]: l,
58166
58169
  [ig]: d,
58167
58170
  ...i
@@ -58169,7 +58172,7 @@
58169
58172
  l,
58170
58173
  d,
58171
58174
  i
58172
- ]), p = s + 1.5 * a, h = u[n];
58175
+ ]), h = s + a * u, m = f[n];
58173
58176
  return oZ.jsxs("svg", {
58174
58177
  width: r,
58175
58178
  height: o,
@@ -58182,22 +58185,22 @@
58182
58185
  ry: s,
58183
58186
  width: r - a,
58184
58187
  height: o - a,
58185
- style: h
58188
+ style: m
58186
58189
  }),
58187
58190
  oZ.jsx("path", {
58188
- d: `M0,${p} Q0,0 ${p},0 L0,0 Z`,
58191
+ d: `M0,${h} Q0,0 ${h},0 L0,0 Z`,
58189
58192
  style: c
58190
58193
  }),
58191
58194
  oZ.jsx("path", {
58192
- d: `M0,${o - p} Q0,${o} ${p},${o} L0,${o} Z`,
58195
+ d: `M0,${o - h} Q0,${o} ${h},${o} L0,${o} Z`,
58193
58196
  style: c
58194
58197
  }),
58195
58198
  oZ.jsx("path", {
58196
- d: `M${r - p},${o} Q${r},${o} ${r},${o - p} L${r},${o} Z`,
58199
+ d: `M${r - h},${o} Q${r},${o} ${r},${o - h} L${r},${o} Z`,
58197
58200
  style: c
58198
58201
  }),
58199
58202
  oZ.jsx("path", {
58200
- d: `M${r - p},0 Q${r},0 ${r},${p} L${r},0 Z`,
58203
+ d: `M${r - h},0 Q${r},0 ${r},${h} L${r},0 Z`,
58201
58204
  style: c
58202
58205
  })
58203
58206
  ]
@@ -58216,7 +58219,8 @@
58216
58219
  radius: PropTypes.number,
58217
58220
  paddingStyle: PropTypes.shape({}),
58218
58221
  defaultRectStyles: PropTypes.shape({}),
58219
- errorRectStyles: PropTypes.shape({})
58222
+ errorRectStyles: PropTypes.shape({}),
58223
+ paddingCornerMultiplier: PropTypes.number
58220
58224
  }, ib.defaultProps = {
58221
58225
  className: "",
58222
58226
  width: ih.IDCapturing.rectangleMask.width,
@@ -58227,7 +58231,8 @@
58227
58231
  radius: ih.IDCapturing.rectangleMask.radius,
58228
58232
  paddingStyle: ih.IDCapturing.rectangleMask.paddingStyle,
58229
58233
  defaultRectStyles: ih.IDCapturing.rectangleMask.default,
58230
- errorRectStyles: ih.IDCapturing.rectangleMask.error
58234
+ errorRectStyles: ih.IDCapturing.rectangleMask.error,
58235
+ paddingCornerMultiplier: 1.5
58231
58236
  };
58232
58237
  let iv = mt$1`
58233
58238
  from {
@@ -58386,8 +58391,8 @@
58386
58391
  if (o && !a || !o && !s) return null;
58387
58392
  let { width: c, height: l } = r, d = document.createElement("canvas"), u = document.createElement("canvas");
58388
58393
  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);
58394
+ let p = d.getContext("2d"), f = u.getContext("2d");
58395
+ 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
58396
  let [h, m] = await Promise.all([
58392
58397
  fb.getModelPredictions({
58393
58398
  model: t,
@@ -58428,13 +58433,13 @@
58428
58433
  return i;
58429
58434
  }, iz = (t, r)=>parseFloat(t.toFixed(r)), iV = ({ currentFrameBlurScore: t, incomingFrameBlurScore: r, currentFrameGlareScore: o, incomingFrameGlareScore: n, settings: i, blurLargeThreshold: a, blurSmallThreshold: s })=>{
58430
58435
  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);
58436
+ let { enableBlurCheck: c, enableGlareCheck: l } = i, d = t?.small, u = t?.large, p = r?.small, f = r?.large;
58437
+ 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
58438
  };
58434
58439
  function iW(t, r, o, n, i) {
58435
58440
  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);
58441
+ 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;
58442
+ o.strokeRect(l, d, u - l, p - d);
58438
58443
  }));
58439
58444
  }
58440
58445
  function iU(t) {
@@ -59240,14 +59245,14 @@
59240
59245
  _drawToCanvas(t, r, o, n, i, a) {
59241
59246
  if (this._animationFrameId && cancelAnimationFrame(this._animationFrameId), !t || !a || this._stopDrawing) return;
59242
59247
  this._lastFrameTime = 0;
59243
- let { cropX: s, cropY: c, cropWidth: l, cropHeight: d } = a, u = 1e3 / i, f = (i)=>{
59248
+ let { cropX: s, cropY: c, cropWidth: l, cropHeight: d } = a, u = 1e3 / i, p = (i)=>{
59244
59249
  if (this._stopDrawing) {
59245
59250
  this._animationFrameId = null;
59246
59251
  return;
59247
59252
  }
59248
- i - this._lastFrameTime >= u && (this._lastFrameTime = i, t.drawImage(r, s, c, l, d, 0, 0, o, n)), this._animationFrameId = requestAnimationFrame(f);
59253
+ i - this._lastFrameTime >= u && (this._lastFrameTime = i, t.drawImage(r, s, c, l, d, 0, 0, o, n)), this._animationFrameId = requestAnimationFrame(p);
59249
59254
  };
59250
- this._animationFrameId = requestAnimationFrame(f);
59255
+ this._animationFrameId = requestAnimationFrame(p);
59251
59256
  }
59252
59257
  stopDrawing() {
59253
59258
  this._stopDrawing = !0, this._animationFrameId && (cancelAnimationFrame(this._animationFrameId), this._animationFrameId = null);
@@ -59257,10 +59262,10 @@
59257
59262
  this.clearVideoChunks(), this._stopDrawing = !1;
59258
59263
  let { videoFrameWidth: a, videoFrameHeight: s, videoBitrate: c, fps: l } = o, d = l || this.DEFAULT_VIDEO_FPS, u = r.cropWidth / r.cropHeight;
59259
59264
  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."), {
59265
+ let p = document.createElement("canvas");
59266
+ p.width = n, p.height = i;
59267
+ let f = p.getContext("2d");
59268
+ if (!f) return console.error("Could not get canvas context."), {
59264
59269
  mediaRecorder: null
59265
59270
  };
59266
59271
  try {
@@ -59268,7 +59273,7 @@
59268
59273
  mimeType: "video/webm",
59269
59274
  videoBitsPerSecond: c
59270
59275
  }, 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 = {
59276
+ 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
59277
  mimeType: i,
59273
59278
  videoBitsPerSecond: Math.min(c, this.MAX_VIDEO_BITRATE)
59274
59279
  }), !this._stream) throw Error("Failed to create a media stream for recording.");
@@ -59323,7 +59328,7 @@
59323
59328
  }
59324
59329
  }, [
59325
59330
  i
59326
- ]), p = reactExports.useCallback(()=>{
59331
+ ]), f = reactExports.useCallback(()=>{
59327
59332
  if (s.current && r.current) try {
59328
59333
  s.current.discardRecording(), r.current = !1;
59329
59334
  } catch (t) {
@@ -59332,19 +59337,19 @@
59332
59337
  }, []);
59333
59338
  return reactExports.useEffect(()=>{
59334
59339
  let t = ()=>{
59335
- "hidden" === document.visibilityState ? p() : "visible" === document.visibilityState && c.current && l(c.current);
59340
+ "hidden" === document.visibilityState ? f() : "visible" === document.visibilityState && c.current && l(c.current);
59336
59341
  };
59337
59342
  return document.addEventListener("visibilitychange", t), ()=>{
59338
59343
  document.removeEventListener("visibilitychange", t);
59339
59344
  };
59340
59345
  }, [
59341
59346
  l,
59342
- p
59347
+ f
59343
59348
  ]), {
59344
59349
  startRecording: l,
59345
59350
  stopRecording: d,
59346
59351
  resetRecording: u,
59347
- discardRecording: p
59352
+ discardRecording: f
59348
59353
  };
59349
59354
  }, { Errors: a$ } = ra$1, aj = ()=>({
59350
59355
  imageBlob: null,
@@ -59557,22 +59562,22 @@
59557
59562
  });
59558
59563
  }
59559
59564
  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")({
59565
+ 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
59566
  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)=>{
59567
+ }), 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
59568
  null === t ? er("") : er(Y(t?.code, {
59564
59569
  side: k ? Y("front") : Y("back")
59565
59570
  }));
59566
59571
  }, [
59567
59572
  Y,
59568
59573
  k
59569
- ]), ep = reactExports.useCallback(()=>{
59574
+ ]), ef = reactExports.useCallback(()=>{
59570
59575
  ee(""), eu.current();
59571
59576
  }, []), eh = reactExports.useCallback((...t)=>{
59572
59577
  ee(""), B(...t);
59573
59578
  }, [
59574
59579
  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 })=>{
59580
+ ]), { 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
59581
  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
59582
  Q((t)=>!t);
59578
59583
  }, []), { autoCaptureWaitForBestImageTimeMs: H, manualCaptureWaitForBestImageTimeMs: G } = l, Z = q ? H : G;
@@ -59613,30 +59618,30 @@
59613
59618
  l.blurLargeThresholdAuto,
59614
59619
  l.blurLargeThresholdManual,
59615
59620
  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 }) {
59621
+ ]), { 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
59622
  let C = reactExports.useRef(null);
59618
59623
  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
59624
+ 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(()=>({
59625
+ videoFrameWidth: f.recordVideoFrameWidth,
59626
+ videoFrameHeight: f.recordVideoFrameHeight,
59627
+ videoBitrate: f.recordVideoBitrate,
59628
+ fps: f.recordVideoFps
59624
59629
  }), [
59625
- p.recordVideoBitrate,
59626
- p.recordVideoFps,
59627
- p.recordVideoFrameHeight,
59628
- p.recordVideoFrameWidth
59630
+ f.recordVideoBitrate,
59631
+ f.recordVideoFps,
59632
+ f.recordVideoFrameHeight,
59633
+ f.recordVideoFrameWidth
59629
59634
  ]), { startRecording: er, stopRecording: eo, resetRecording: en } = aD({
59630
- shouldRecord: reactExports.useMemo(()=>g ? p.enableRecordCapturingFront : p.enableRecordCapturingBack, [
59635
+ shouldRecord: reactExports.useMemo(()=>g ? f.enableRecordCapturingFront : f.enableRecordCapturingBack, [
59631
59636
  g,
59632
- p.enableRecordCapturingBack,
59633
- p.enableRecordCapturingFront
59637
+ f.enableRecordCapturingBack,
59638
+ f.enableRecordCapturingFront
59634
59639
  ])
59635
59640
  }), { startRecording: ei, stopRecording: ea, resetRecording: es } = aD({
59636
- shouldRecord: reactExports.useMemo(()=>g ? p.enableRecordFullSessionFront : p.enableRecordFullSessionBack, [
59641
+ shouldRecord: reactExports.useMemo(()=>g ? f.enableRecordFullSessionFront : f.enableRecordFullSessionBack, [
59637
59642
  g,
59638
- p.enableRecordFullSessionBack,
59639
- p.enableRecordFullSessionFront
59643
+ f.enableRecordFullSessionBack,
59644
+ f.enableRecordFullSessionFront
59640
59645
  ])
59641
59646
  }), { turnOnFlashlight: ec, turnOffFlashlight: el } = (()=>{
59642
59647
  let t = reactExports.useContext(nU);
@@ -59650,8 +59655,8 @@
59650
59655
  ]), reactExports.useEffect(()=>{
59651
59656
  let t = !1;
59652
59657
  return async function r() {
59653
- if (p && !I) {
59654
- if (p.enableIdDetection) {
59658
+ if (f && !I) {
59659
+ if (f.enableIdDetection) {
59655
59660
  let t = ((t, r)=>{
59656
59661
  if (0 === t.length) return {
59657
59662
  isValid: !1
@@ -59672,7 +59677,7 @@
59672
59677
  } : {
59673
59678
  isValid: !1
59674
59679
  };
59675
- })(Z.map((t)=>t.code), p?.cardTypeModelMapping);
59680
+ })(Z.map((t)=>t.code), f?.cardTypeModelMapping);
59676
59681
  if (!t.isValid) {
59677
59682
  U(a$.invalid_card_type_config), Q(!1), O(!0);
59678
59683
  return;
@@ -59681,7 +59686,7 @@
59681
59686
  V.current = await a_({
59682
59687
  ...W,
59683
59688
  idCardModelUrl: r
59684
- }, t.cardModel), await fY.initTensorFlow(), N.current = p.enableBlurCheck && V.current.ableToUseModel, Q(!t.forceOffDetection);
59689
+ }, t.cardModel), await fY.initTensorFlow(), N.current = f.enableBlurCheck && V.current.ableToUseModel, Q(!t.forceOffDetection);
59685
59690
  } else Q(!1), N.current = !1;
59686
59691
  t || O(!0);
59687
59692
  }
@@ -59690,7 +59695,7 @@
59690
59695
  };
59691
59696
  }, [
59692
59697
  I,
59693
- p,
59698
+ f,
59694
59699
  W,
59695
59700
  Z,
59696
59701
  U
@@ -59707,13 +59712,13 @@
59707
59712
  });
59708
59713
  }, [
59709
59714
  k
59710
- ]), ef = reactExports.useCallback(()=>{
59715
+ ]), ep = reactExports.useCallback(()=>{
59711
59716
  Y || (en(), es());
59712
59717
  }, [
59713
59718
  Y,
59714
59719
  en,
59715
59720
  es
59716
- ]), ep = reactExports.useCallback(async ()=>{
59721
+ ]), ef = reactExports.useCallback(async ()=>{
59717
59722
  let t = {
59718
59723
  capturingVideo: {
59719
59724
  blob: null
@@ -59728,18 +59733,18 @@
59728
59733
  }, [
59729
59734
  eo,
59730
59735
  ea
59731
- ]), eh = reactExports.useMemo(()=>g ? p.enableFlashlightFront : p.enableFlashlightBack, [
59736
+ ]), eh = reactExports.useMemo(()=>g ? f.enableFlashlightFront : f.enableFlashlightBack, [
59732
59737
  g,
59733
- p.enableFlashlightBack,
59734
- p.enableFlashlightFront
59735
- ]), em = reactExports.useMemo(()=>g ? p.flashlightActivationDelayFront : p.flashlightActivationDelayBack, [
59738
+ f.enableFlashlightBack,
59739
+ f.enableFlashlightFront
59740
+ ]), em = reactExports.useMemo(()=>g ? f.flashlightActivationDelayFront : f.flashlightActivationDelayBack, [
59736
59741
  g,
59737
- p.flashlightActivationDelayBack,
59738
- p.flashlightActivationDelayFront
59739
- ]), eg = reactExports.useMemo(()=>g ? p.flashlightDurationFront : p.flashlightDurationBack, [
59742
+ f.flashlightActivationDelayBack,
59743
+ f.flashlightActivationDelayFront
59744
+ ]), eg = reactExports.useMemo(()=>g ? f.flashlightDurationFront : f.flashlightDurationBack, [
59740
59745
  g,
59741
- p.flashlightDurationBack,
59742
- p.flashlightDurationFront
59746
+ f.flashlightDurationBack,
59747
+ f.flashlightDurationFront
59743
59748
  ]), eb = reactExports.useCallback(()=>{
59744
59749
  !ed.current && eh && (ed.current = !0, setTimeout(()=>{
59745
59750
  ec(eg);
@@ -59756,9 +59761,9 @@
59756
59761
  ]), ew = reactExports.useCallback(()=>{
59757
59762
  !0 === T.current && (T.current = !1);
59758
59763
  }, []), ek = reactExports.useCallback(()=>{
59759
- ef(), X.current = [], H.current = [], R.current = null, z.current = !1, ee.current = !1;
59764
+ ep(), X.current = [], H.current = [], R.current = null, z.current = !1, ee.current = !1;
59760
59765
  }, [
59761
- ef
59766
+ ep
59762
59767
  ]), ey = reactExports.useCallback(async ({ blurScore: t, detectedCard: o, glareScore: n })=>{
59763
59768
  await er({
59764
59769
  videoEl: l.current,
@@ -59771,7 +59776,7 @@
59771
59776
  incomingFrameBlurScore: t,
59772
59777
  currentFrameGlareScore: i.glareScore,
59773
59778
  incomingFrameGlareScore: n,
59774
- settings: p,
59779
+ settings: f,
59775
59780
  blurLargeThreshold: s,
59776
59781
  blurSmallThreshold: r
59777
59782
  })) {
@@ -59789,25 +59794,25 @@
59789
59794
  }
59790
59795
  i.takenAt = new Date().getTime(), i.blurScore = t, i.glareScore = n, i.detectedCard = o, i.captureType = "auto";
59791
59796
  }
59792
- p.enableBlurCheck && X.current.push(t), p.enableGlareCheck && H.current.push(n);
59797
+ f.enableBlurCheck && X.current.push(t), f.enableGlareCheck && H.current.push(n);
59793
59798
  }, [
59794
59799
  er,
59795
59800
  l,
59796
59801
  et,
59797
59802
  eb,
59798
- p,
59803
+ f,
59799
59804
  s,
59800
59805
  r,
59801
59806
  k
59802
59807
  ]), eC = reactExports.useCallback(async ({ blurScore: t, detectedCard: o, glareScore: n })=>{
59803
59808
  F.current = !0;
59804
59809
  let i = A.current;
59805
- if (p.enableBlurCheck && X.current.push(t), p.enableGlareCheck && H.current.push(n), iV({
59810
+ if (f.enableBlurCheck && X.current.push(t), f.enableGlareCheck && H.current.push(n), iV({
59806
59811
  currentFrameBlurScore: i.blurScore,
59807
59812
  currentFrameGlareScore: i.glareScore,
59808
59813
  incomingFrameBlurScore: t,
59809
59814
  incomingFrameGlareScore: n,
59810
- settings: p,
59815
+ settings: f,
59811
59816
  blurLargeThreshold: s,
59812
59817
  blurSmallThreshold: r
59813
59818
  })) {
@@ -59826,19 +59831,19 @@
59826
59831
  s,
59827
59832
  r,
59828
59833
  k,
59829
- p
59834
+ f
59830
59835
  ]), eB = reactExports.useCallback(async ()=>{
59831
- let { autoCaptureWaitForBestImageTimeMs: t } = p, r = M.current;
59836
+ let { autoCaptureWaitForBestImageTimeMs: t } = f, r = M.current;
59832
59837
  if (null !== r.imageBlob && new Date().getTime() - R.current > t) {
59833
- let t = await ep();
59838
+ let t = await ef();
59834
59839
  await ev(), await b({
59835
59840
  ...r,
59836
59841
  ...t
59837
59842
  }), J(!1), R.current = null;
59838
59843
  }
59839
59844
  }, [
59840
- p,
59841
- ep,
59845
+ f,
59846
+ ef,
59842
59847
  ev,
59843
59848
  b
59844
59849
  ]), e_ = reactExports.useCallback(()=>{
@@ -59853,7 +59858,7 @@
59853
59858
  resultAnalyzeVideoAndWindowSizes: D.current,
59854
59859
  recordVideoSettings: et
59855
59860
  }), eb(), new Promise((t)=>{
59856
- let { enableVirtualCamHashes: o, manualCaptureWaitForBestImageTimeMs: n } = p, i = A.current;
59861
+ let { enableVirtualCamHashes: o, manualCaptureWaitForBestImageTimeMs: n } = f, i = A.current;
59857
59862
  if (i.captureTime = Date.now(), N.current) J(!0), e_(), setTimeout(()=>{
59858
59863
  ex().then(async ()=>{
59859
59864
  await ev(), (i.blurScore?.small <= r || i.blurScore?.large <= s) && (i.error = a$.id_detector_error_blur);
@@ -59868,7 +59873,7 @@
59868
59873
  quality: k
59869
59874
  }).then(async (n)=>{
59870
59875
  i.imageBlob = n, i.captureTime = Date.now(), i.hash = r, o && await eu(i.detectedCard);
59871
- let a = await ep();
59876
+ let a = await ef();
59872
59877
  t({
59873
59878
  ...i,
59874
59879
  ...a
@@ -59876,7 +59881,7 @@
59876
59881
  });
59877
59882
  } else {
59878
59883
  o && await eu(i.detectedCard);
59879
- let r = await ep();
59884
+ let r = await ef();
59880
59885
  t({
59881
59886
  ...i,
59882
59887
  ...r
@@ -59903,10 +59908,10 @@
59903
59908
  l,
59904
59909
  et,
59905
59910
  eb,
59906
- p,
59911
+ f,
59907
59912
  e_,
59908
59913
  ex,
59909
- ep,
59914
+ ef,
59910
59915
  ev,
59911
59916
  r,
59912
59917
  s,
@@ -59940,10 +59945,10 @@
59940
59945
  portraitTopLeft: c,
59941
59946
  portraitBottomRight: l
59942
59947
  };
59943
- }(t, p.blurFullFaceImageRatio, r), a = function(t, r) {
59948
+ }(t, f.blurFullFaceImageRatio, r), a = function(t, r) {
59944
59949
  let { cv: o } = window;
59945
59950
  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, [
59951
+ 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
59952
  n.x,
59948
59953
  n.y,
59949
59954
  i.x,
@@ -59952,7 +59957,7 @@
59952
59957
  a.y,
59953
59958
  s.x,
59954
59959
  s.y
59955
- ]), p = o.matFromArray(4, 1, o.CV_32FC2, [
59960
+ ]), f = o.matFromArray(4, 1, o.CV_32FC2, [
59956
59961
  0,
59957
59962
  0,
59958
59963
  c - 1,
@@ -59961,7 +59966,7 @@
59961
59966
  l - 1,
59962
59967
  0,
59963
59968
  l - 1
59964
- ]), h = o.getPerspectiveTransform(f, p), m = (t)=>{
59969
+ ]), h = o.getPerspectiveTransform(p, f), m = (t)=>{
59965
59970
  let r = o.matFromArray(1, 1, o.CV_32FC2, [
59966
59971
  t[0],
59967
59972
  t[1]
@@ -59975,7 +59980,7 @@
59975
59980
  Math.max(0, Math.min(i[1] * (ra$1.RESIZE_IMAGE_HEIGHT / l), l))
59976
59981
  ];
59977
59982
  }, g = m(d), b = m(u);
59978
- return f.delete(), p.delete(), h.delete(), [
59983
+ return p.delete(), f.delete(), h.delete(), [
59979
59984
  parseInt(g[0], 10),
59980
59985
  parseInt(g[1], 10),
59981
59986
  parseInt(b[0], 10),
@@ -60053,9 +60058,9 @@
60053
60058
  };
60054
60059
  }
60055
60060
  }, [
60056
- p
60061
+ f
60057
60062
  ]), 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 = {
60063
+ 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
60064
  error: null
60060
60065
  };
60061
60066
  try {
@@ -60072,12 +60077,12 @@
60072
60077
  area: c.width * c.height
60073
60078
  },
60074
60079
  big: {
60075
- area: f * h
60080
+ area: p * h
60076
60081
  }
60077
60082
  });
60078
60083
  if (l < .5) throw Error("id_detector_card_too_small");
60079
60084
  if (l > .95) throw Error("id_detector_error_incomplete");
60080
- if (k && nn(p, "enableCardTypeCheck")) {
60085
+ if (k && nn(f, "enableCardTypeCheck")) {
60081
60086
  let r = nn(t, "card.label", ""), { isAllowed: o, cardType: n } = ((t, r)=>{
60082
60087
  let o = t.split(".")?.[0];
60083
60088
  if (o !== r[0].split(".")?.[0]) return {
@@ -60151,8 +60156,8 @@
60151
60156
  smallThreshold: r,
60152
60157
  largeThreshold: s
60153
60158
  }), u = {
60154
- small: iz(d?.[0], p.blurSmallDecimal),
60155
- large: iz(d?.[1], p.blurLargeDecimal)
60159
+ small: iz(d?.[0], f.blurSmallDecimal),
60160
+ large: iz(d?.[1], f.blurLargeDecimal)
60156
60161
  };
60157
60162
  if (eT.current = {
60158
60163
  ...eT.current,
@@ -60168,10 +60173,10 @@
60168
60173
  }
60169
60174
  if (y) {
60170
60175
  var I, O, M, A, R, L, F, N;
60171
- let r, s, f, p = nn(t, "card.label"), h = nn(t, "card.corners");
60176
+ let r, s, p, f = nn(t, "card.label"), h = nn(t, "card.corners");
60172
60177
  eT.current = {
60173
60178
  ...eT.current,
60174
- label: p,
60179
+ label: f,
60175
60180
  corner_size: h?.length
60176
60181
  }, p_.drawDebugCanvas(eE.current, eT.current);
60177
60182
  let m = i$ / o.width, g = eS.current.getContext("2d");
@@ -60183,7 +60188,7 @@
60183
60188
  o.strokeRect(s, c, l - s, d - c);
60184
60189
  }(O[0], "black", I, R), s = M.filter((t)=>"small" === t.lapType), s.length > 0 && s.forEach((t)=>{
60185
60190
  iW(t.bboxes, "blue", I, R, r);
60186
- }), f = M.filter((t)=>"large" === t.lapType), f.length > 0 && f.forEach((t)=>{
60191
+ }), p = M.filter((t)=>"large" === t.lapType), p.length > 0 && p.forEach((t)=>{
60187
60192
  iW(t.bboxes, "green", I, R, r);
60188
60193
  }), L = A.map((t)=>t.location), F = I, N = R, F && (F.strokeStyle = "red", F.lineWidth = 2, L.forEach((t)=>{
60189
60194
  let r = t.x * N, o = t.y * N;
@@ -60192,7 +60197,7 @@
60192
60197
  }
60193
60198
  return T;
60194
60199
  }, [
60195
- p,
60200
+ f,
60196
60201
  y,
60197
60202
  l,
60198
60203
  Z,
@@ -60201,13 +60206,13 @@
60201
60206
  s,
60202
60207
  eD
60203
60208
  ]), ej = reactExports.useCallback(async ()=>{
60204
- if (!p || !I || T.current) return;
60209
+ if (!f || !I || T.current) return;
60205
60210
  M.current = aj(), A.current = aI();
60206
- let { enableVirtualCamHashes: t } = p, { idCardModel: r, ableToUseModel: o } = V.current, n = D.current, i = l.current;
60211
+ let { enableVirtualCamHashes: t } = f, { idCardModel: r, ableToUseModel: o } = V.current, n = D.current, i = l.current;
60207
60212
  T.current = !0;
60208
60213
  let { cropX: a, cropY: s, cropWidth: c, cropHeight: d } = n, u = C.current;
60209
60214
  u.width = c, u.height = d;
60210
- let f = u.getContext("2d"), h = async ()=>{
60215
+ let p = u.getContext("2d"), h = async ()=>{
60211
60216
  if (!1 === T.current) return;
60212
60217
  await ei({
60213
60218
  videoEl: l.current,
@@ -60215,11 +60220,11 @@
60215
60220
  recordVideoSettings: et
60216
60221
  });
60217
60222
  let n = K.current;
60218
- f.drawImage(i, a, s, c, d, 0, 0, c, d);
60223
+ p.drawImage(i, a, s, c, d, 0, 0, c, d);
60219
60224
  let g = performance.now();
60220
60225
  if (z.current = !1, q && o) {
60221
60226
  let o = await r.predict(u);
60222
- !p?.trackCardCoordinates || A.current.imageBlob || M.current.imageBlob || E.current.push(((t)=>{
60227
+ !f?.trackCardCoordinates || A.current.imageBlob || M.current.imageBlob || E.current.push(((t)=>{
60223
60228
  let r = nn(t, "card.corners");
60224
60229
  if (r && Array.isArray(r) && r.length > 0) {
60225
60230
  let { x: t, y: o } = nn(r, "[0].location");
@@ -60248,7 +60253,7 @@
60248
60253
  };
60249
60254
  K.current = window.requestAnimationFrame(h);
60250
60255
  }, [
60251
- p,
60256
+ f,
60252
60257
  I,
60253
60258
  l,
60254
60259
  ei,
@@ -60301,7 +60306,7 @@
60301
60306
  refBlurScores: X,
60302
60307
  refGlareScores: H,
60303
60308
  resetState: ek,
60304
- resetRecordVideo: ef
60309
+ resetRecordVideo: ep
60305
60310
  };
60306
60311
  }({
60307
60312
  isAutoCapture: q,
@@ -60319,17 +60324,17 @@
60319
60324
  });
60320
60325
  reactExports.useContext(aO);
60321
60326
  let eh = reactExports.useCallback(()=>{
60322
- ep(), eo(), k();
60327
+ ef(), eo(), k();
60323
60328
  }, [
60324
60329
  eo,
60325
- ep,
60330
+ ef,
60326
60331
  k
60327
60332
  ]), { 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({
60333
+ let { interruptible: r = !0, totalTime: i, maxRetriesSettings: s, onAboutToTimeout: c, onTimeout: l, shouldStart: d, onError: u } = t, p = reactExports.useRef(new pT({
60329
60334
  totalTime: i,
60330
60335
  interruptible: r
60331
60336
  }));
60332
- reactExports.useEffect(()=>f.current.on("tick", ({ remainTime: t })=>{
60337
+ reactExports.useEffect(()=>p.current.on("tick", ({ remainTime: t })=>{
60333
60338
  t >= 0 && t <= i / 3 && "function" == typeof c && c({
60334
60339
  curTimeLeft: t
60335
60340
  });
@@ -60338,24 +60343,24 @@
60338
60343
  c,
60339
60344
  i,
60340
60345
  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);
60346
+ ]), reactExports.useEffect(()=>p.current.on("reset", ({ attemptCount: t })=>{
60347
+ r && p.current.pause(), l(), s?.enable && t >= s?.total && u(ra$1.Errors.max_retry_reached);
60343
60348
  }), [
60344
60349
  l,
60345
60350
  u,
60346
60351
  s?.enable,
60347
60352
  s?.total,
60348
60353
  r
60349
- ]), reactExports.useEffect(()=>d ? f.current.start() : ()=>{}, [
60354
+ ]), reactExports.useEffect(()=>d ? p.current.start() : ()=>{}, [
60350
60355
  d
60351
60356
  ]);
60352
- let p = reactExports.useCallback(()=>{
60353
- f.current.resume();
60357
+ let f = reactExports.useCallback(()=>{
60358
+ p.current.resume();
60354
60359
  }, []);
60355
60360
  return {
60356
- resumeTimer: p,
60361
+ resumeTimer: f,
60357
60362
  pauseTimer: reactExports.useCallback(()=>{
60358
- f.current.pause();
60363
+ p.current.pause();
60359
60364
  }, [])
60360
60365
  };
60361
60366
  })({
@@ -60369,24 +60374,24 @@
60369
60374
  }), eb = reactExports.useCallback(()=>{
60370
60375
  x.current = !1;
60371
60376
  }, []), 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([
60377
+ eb(), em(), ep(), E(!1), U(u ? "keep_front_id_fit_border" : "keep_back_id_fit_border"), await Promise.all([
60373
60378
  en()
60374
60379
  ]);
60375
60380
  }, [
60376
60381
  eb,
60377
- ef,
60382
+ ep,
60378
60383
  U,
60379
60384
  u,
60380
60385
  en,
60381
60386
  em
60382
60387
  ]), 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;
60388
+ 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
60389
  if (x.current) return;
60385
60390
  x.current = !0, E(!0), eo(), eg(), Y(null);
60386
60391
  let v = l?.enableVirtualCamHashes, w = l?.enableGlareCheck, k = l?.enableBlurCheck, B = {};
60387
- if (v && null !== f) {
60392
+ if (v && null !== p) {
60388
60393
  let t = [
60389
- f,
60394
+ p,
60390
60395
  ...ec.current
60391
60396
  ];
60392
60397
  t.length > 0 && (B = t.reduce((t, r, o)=>(t[`hash${o + 1}`] = r, t), {}));
@@ -60395,7 +60400,7 @@
60395
60400
  h7.addExifData("user_action", {
60396
60401
  start_id_card: F.current,
60397
60402
  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)));
60403
+ }), 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
60404
  let T = await h7.writeCurrentExif({
60400
60405
  imageData: {
60401
60406
  blob: o
@@ -60533,14 +60538,14 @@
60533
60538
  };
60534
60539
  })({
60535
60540
  shouldStart: !0,
60536
- refVideo: p,
60541
+ refVideo: f,
60537
60542
  cropArea: eo,
60538
60543
  settings: C,
60539
- onModelErrorChange: ef,
60544
+ onModelErrorChange: ep,
60540
60545
  frontSide: k,
60541
60546
  allowedCardTypes: y,
60542
60547
  onDebugInfoChange: K,
60543
- onSessionTimeout: ep,
60548
+ onSessionTimeout: ef,
60544
60549
  onCaptureDone: eh,
60545
60550
  onAboutToTimeout: reactExports.useCallback(({ curTimeLeft: t })=>{
60546
60551
  ee(Y("remaining_time", {
@@ -60569,9 +60574,9 @@
60569
60574
  }), { showCaptureButtonInAuto: eS = !0, showHoldStillProgress: eE = !1, showAutoCaptureToggle: eT } = C ?? {};
60570
60575
  reactExports.useEffect(()=>{
60571
60576
  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,
60577
+ let t, r, o, n, i, a, s, { videoAreaWidth: c, videoAreaHeight: d, lostX: p, lostY: f, clientHeight: h } = u;
60578
+ 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({
60579
+ x: Math.floor((c - i) / 2) + p,
60575
60580
  y: s,
60576
60581
  width: i,
60577
60582
  height: a,
@@ -61041,8 +61046,8 @@
61041
61046
  Object.keys(l || {}).forEach(function(t) {
61042
61047
  l[t] = i[t] || l[t];
61043
61048
  });
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;
61049
+ 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);
61050
+ return f || "attemptBoth" !== l.inversionAttempts && "invertFirst" !== l.inversionAttempts || (f = c(s ? u : p)), f;
61046
61051
  }
61047
61052
  d.default = d, r.default = d;
61048
61053
  },
@@ -61063,10 +61068,10 @@
61063
61068
  r.binarize = function(t, r, o, a) {
61064
61069
  if (t.length !== r * o * 4) throw Error("Malformed data passed to binarizer.");
61065
61070
  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);
61071
+ var d = t[(l * r + c) * 4 + 0], u = t[(l * r + c) * 4 + 1], p = t[(l * r + c) * 4 + 2];
61072
+ s.set(c, l, .2126 * d + .7152 * u + .0722 * p);
61068
61073
  }
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++){
61074
+ 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
61075
  for(var v = 0, w = 1 / 0, k = 0, l = 0; l < 8; l++)for(var c = 0; c < 8; c++){
61071
61076
  var y = s.get(8 * b + c, 8 * g + l);
61072
61077
  v += y, w = Math.min(w, y), k = Math.max(k, y);
@@ -61080,8 +61085,8 @@
61080
61085
  }
61081
61086
  var _ = n.BitMatrix.createEmpty(r, o), x = null;
61082
61087
  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);
61088
+ for(var g = 0; g < h; g++)for(var b = 0; b < f; b++){
61089
+ 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
61090
  for(var O = v / 25, j = 0; j < 8; j++)for(var I = 0; I < 8; I++){
61086
61091
  var c = 8 * b + j, l = 8 * g + I, M = s.get(c, l);
61087
61092
  _.set(c, l, M <= O), a && x.set(c, l, !(M <= O));
@@ -61362,16 +61367,16 @@
61362
61367
  for(var l = 0, d = 5; d >= 0; d--)for(var u = i - 9; u >= i - 11; u--){
61363
61368
  r = t.get(u, d), l = l << 1 | r;
61364
61369
  }
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;
61370
+ for(var p = 0, u = 5; u >= 0; u--)for(var d = i - 9; d >= i - 11; d--){
61371
+ o = t.get(u, d), p = p << 1 | o;
61367
61372
  }
61368
- for(var p = 1 / 0, h = 0, m = s.VERSIONS; h < m.length; h++){
61373
+ for(var f = 1 / 0, h = 0, m = s.VERSIONS; h < m.length; h++){
61369
61374
  var g = m[h];
61370
- if (g.infoBits === l || g.infoBits === f) return g;
61375
+ if (g.infoBits === l || g.infoBits === p) return g;
61371
61376
  var b = c(l, g.infoBits);
61372
- b < p && (n = g, p = b), (b = c(f, g.infoBits)) < p && (n = g, p = b);
61377
+ b < f && (n = g, f = b), (b = c(p, g.infoBits)) < f && (n = g, f = b);
61373
61378
  }
61374
- if (p <= 3) return n;
61379
+ if (f <= 3) return n;
61375
61380
  }(t);
61376
61381
  if (!r) return null;
61377
61382
  var o = function(t) {
@@ -61381,19 +61386,19 @@
61381
61386
  for(var d = 7; d >= 0; d--){
61382
61387
  6 !== d && (o = t.get(8, d), a = a << 1 | o);
61383
61388
  }
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;
61389
+ for(var u = t.height, p = 0, d = u - 1; d >= u - 7; d--){
61390
+ n = t.get(8, d), p = p << 1 | n;
61386
61391
  }
61387
61392
  for(var s = u - 8; s < u; s++){
61388
- i = t.get(s, 8), f = f << 1 | i;
61393
+ i = t.get(s, 8), p = p << 1 | i;
61389
61394
  }
61390
- for(var p = 1 / 0, h = null, m = 0; m < l.length; m++){
61395
+ for(var f = 1 / 0, h = null, m = 0; m < l.length; m++){
61391
61396
  var g = l[m], b = g.bits, v = g.formatInfo;
61392
- if (b === a || b === f) return v;
61397
+ if (b === a || b === p) return v;
61393
61398
  var w = c(a, b);
61394
- w < p && (h = v, p = w), a !== f && (w = c(f, b)) < p && (h = v, p = w);
61399
+ w < f && (h = v, f = w), a !== p && (w = c(p, b)) < f && (h = v, f = w);
61395
61400
  }
61396
- return p <= 3 ? h : null;
61401
+ return f <= 3 ? h : null;
61397
61402
  }(t);
61398
61403
  if (!o) return null;
61399
61404
  var u = function(t, r, o) {
@@ -61410,10 +61415,10 @@
61410
61415
  d.codewords.push(t.shift());
61411
61416
  }
61412
61417
  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());
61418
+ 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
61419
  }
61415
- for(; t.length > 0;)for(var p = 0; p < i.length; p++){
61416
- var d = i[p];
61420
+ for(; t.length > 0;)for(var f = 0; f < i.length; f++){
61421
+ var d = i[f];
61417
61422
  d.codewords.push(t.shift());
61418
61423
  }
61419
61424
  return i;
@@ -61428,11 +61433,11 @@
61428
61433
  }
61429
61434
  }
61430
61435
  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--;
61436
+ }(r), c = [], l = 0, u = 0, p = !0, f = a - 1; f > 0; f -= 2){
61437
+ 6 === f && f--;
61433
61438
  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;
61439
+ for(var m = p ? a - 1 - h : h, g = 0; g < 2; g++){
61440
+ var b = f - g;
61436
61441
  if (!s.get(b, m)) {
61437
61442
  u++;
61438
61443
  var v = t.get(b, m);
@@ -61443,20 +61448,20 @@
61443
61448
  }
61444
61449
  }
61445
61450
  }
61446
- f = !f;
61451
+ p = !p;
61447
61452
  }
61448
61453
  return c;
61449
61454
  }(t, r, o), r, o.errorCorrectionLevel);
61450
61455
  if (!u) return null;
61451
- for(var f = new Uint8ClampedArray(u.reduce(function(t, r) {
61456
+ for(var p = new Uint8ClampedArray(u.reduce(function(t, r) {
61452
61457
  return t + r.numDataCodewords;
61453
- }, 0)), p = 0, h = 0; h < u.length; h++){
61458
+ }, 0)), f = 0, h = 0; h < u.length; h++){
61454
61459
  var m = u[h], g = a.decode(m.codewords, m.codewords.length - m.numDataCodewords);
61455
61460
  if (!g) return null;
61456
- for(var b = 0; b < m.numDataCodewords; b++)f[p++] = g[b];
61461
+ for(var b = 0; b < m.numDataCodewords; b++)p[f++] = g[b];
61457
61462
  }
61458
61463
  try {
61459
- return i.decode(f, r.versionNumber);
61464
+ return i.decode(p, r.versionNumber);
61460
61465
  } catch (t) {
61461
61466
  return null;
61462
61467
  }
@@ -61523,23 +61528,23 @@
61523
61528
  ":"
61524
61529
  ];
61525
61530
  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 = {
61531
+ for(var o, n, i, u, p = new c.BitStream(t), f = r <= 9 ? 0 : r <= 26 ? 1 : 2, h = {
61527
61532
  text: "",
61528
61533
  bytes: [],
61529
61534
  chunks: [],
61530
61535
  version: r
61531
- }; f.available() >= 4;){
61532
- var m = f.readBits(4);
61536
+ }; p.available() >= 4;){
61537
+ var m = p.readBits(4);
61533
61538
  if (m === s.Terminator) return h;
61534
- if (m === s.ECI) 0 === f.readBits(1) ? h.chunks.push({
61539
+ if (m === s.ECI) 0 === p.readBits(1) ? h.chunks.push({
61535
61540
  type: a.ECI,
61536
- assignmentNumber: f.readBits(7)
61537
- }) : 0 === f.readBits(1) ? h.chunks.push({
61541
+ assignmentNumber: p.readBits(7)
61542
+ }) : 0 === p.readBits(1) ? h.chunks.push({
61538
61543
  type: a.ECI,
61539
- assignmentNumber: f.readBits(14)
61540
- }) : 0 === f.readBits(1) ? h.chunks.push({
61544
+ assignmentNumber: p.readBits(14)
61545
+ }) : 0 === p.readBits(1) ? h.chunks.push({
61541
61546
  type: a.ECI,
61542
- assignmentNumber: f.readBits(21)
61547
+ assignmentNumber: p.readBits(21)
61543
61548
  }) : h.chunks.push({
61544
61549
  type: a.ECI,
61545
61550
  assignmentNumber: -1
@@ -61570,7 +61575,7 @@
61570
61575
  bytes: o,
61571
61576
  text: n
61572
61577
  };
61573
- }(f, p);
61578
+ }(p, f);
61574
61579
  h.text += g.text, (o = h.bytes).push.apply(o, g.bytes), h.chunks.push({
61575
61580
  type: a.Numeric,
61576
61581
  text: g.text
@@ -61593,7 +61598,7 @@
61593
61598
  bytes: o,
61594
61599
  text: n
61595
61600
  };
61596
- }(f, p);
61601
+ }(p, f);
61597
61602
  h.text += b.text, (n = h.bytes).push.apply(n, b.bytes), h.chunks.push({
61598
61603
  type: a.Alphanumeric,
61599
61604
  text: b.text
@@ -61617,7 +61622,7 @@
61617
61622
  bytes: o,
61618
61623
  text: n
61619
61624
  };
61620
- }(f, p);
61625
+ }(p, f);
61621
61626
  h.text += v.text, (i = h.bytes).push.apply(i, v.bytes), h.chunks.push({
61622
61627
  type: a.Byte,
61623
61628
  bytes: v.bytes,
@@ -61637,7 +61642,7 @@
61637
61642
  bytes: o,
61638
61643
  text: n
61639
61644
  };
61640
- }(f, p);
61645
+ }(p, f);
61641
61646
  h.text += w.text, (u = h.bytes).push.apply(u, w.bytes), h.chunks.push({
61642
61647
  type: a.Kanji,
61643
61648
  bytes: w.bytes,
@@ -61645,7 +61650,7 @@
61645
61650
  });
61646
61651
  }
61647
61652
  }
61648
- if (0 === f.available() || 0 === f.readBits(f.available())) return h;
61653
+ if (0 === p.available() || 0 === p.readBits(p.available())) return h;
61649
61654
  };
61650
61655
  },
61651
61656
  function(t, r, o) {
@@ -68731,7 +68736,7 @@
68731
68736
  c[c.length - 1 - d] = u, 0 !== u && (l = !0);
68732
68737
  }
68733
68738
  if (!l) return o;
68734
- var f = new i.default(a, c), p = function(t, r, o, n) {
68739
+ var p = new i.default(a, c), f = function(t, r, o, n) {
68735
68740
  r.degree() < o.degree() && (r = (i = [
68736
68741
  o,
68737
68742
  r
@@ -68740,11 +68745,11 @@
68740
68745
  var d = a, u = c;
68741
68746
  if (a = s, c = l, a.isZero()) return null;
68742
68747
  s = d;
68743
- for(var f = t.zero, p = a.getCoefficient(a.degree()), h = t.inverse(p); s.degree() >= a.degree() && !s.isZero();){
68748
+ for(var p = t.zero, f = a.getCoefficient(a.degree()), h = t.inverse(f); s.degree() >= a.degree() && !s.isZero();){
68744
68749
  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));
68750
+ p = p.addOrSubtract(t.buildMonomial(m, g)), s = s.addOrSubtract(a.multiplyByMonomial(m, g));
68746
68751
  }
68747
- if (l = f.multiplyPoly(c).addOrSubtract(u), s.degree() >= a.degree()) return null;
68752
+ if (l = p.multiplyPoly(c).addOrSubtract(u), s.degree() >= a.degree()) return null;
68748
68753
  }
68749
68754
  var b = l.getCoefficient(0);
68750
68755
  if (0 === b) return null;
@@ -68753,8 +68758,8 @@
68753
68758
  l.multiply(v),
68754
68759
  s.multiply(v)
68755
68760
  ];
68756
- }(a, a.buildMonomial(r, 1), f, r);
68757
- if (null === p) return null;
68761
+ }(a, a.buildMonomial(r, 1), p, r);
68762
+ if (null === f) return null;
68758
68763
  var h = function(t, r) {
68759
68764
  var o = r.degree();
68760
68765
  if (1 === o) return [
@@ -68762,7 +68767,7 @@
68762
68767
  ];
68763
68768
  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
68769
  return i !== o ? null : n;
68765
- }(a, p[0]);
68770
+ }(a, f[0]);
68766
68771
  if (null == h) return null;
68767
68772
  for(var m = function(t, r, o) {
68768
68773
  for(var i = o.length, a = Array(i), s = 0; s < i; s++){
@@ -68770,7 +68775,7 @@
68770
68775
  a[s] = t.multiply(r.evaluateAt(c), t.inverse(l)), 0 !== t.generatorBase && (a[s] = t.multiply(a[s], c));
68771
68776
  }
68772
68777
  return a;
68773
- }(a, p[1], h), g = 0; g < h.length; g++){
68778
+ }(a, f[1], h), g = 0; g < h.length; g++){
68774
68779
  var b = o.length - 1 - a.log(h[g]);
68775
68780
  if (b < 0) return null;
68776
68781
  o[b] = n.addOrSubtractGF(o[b], m[g]);
@@ -71251,14 +71256,14 @@
71251
71256
  a32: t.y,
71252
71257
  a33: 1
71253
71258
  };
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;
71259
+ 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
71260
  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,
71261
+ a11: r.x - t.x + p * r.x,
71262
+ a12: r.y - t.y + p * r.y,
71263
+ a13: p,
71264
+ a21: n.x - t.x + f * n.x,
71265
+ a22: n.y - t.y + f * n.y,
71266
+ a23: f,
71262
71267
  a31: t.x,
71263
71268
  a32: t.y,
71264
71269
  a33: 1
@@ -71287,7 +71292,7 @@
71287
71292
  a31: c.a21 * c.a32 - c.a22 * c.a31,
71288
71293
  a32: c.a12 * c.a31 - c.a11 * c.a32,
71289
71294
  a33: c.a11 * c.a22 - c.a12 * c.a21
71290
- }), f = (l = i(r.topLeft, r.topRight, r.alignmentPattern, r.bottomLeft), d = u, {
71295
+ }), p = (l = i(r.topLeft, r.topRight, r.alignmentPattern, r.bottomLeft), d = u, {
71291
71296
  a11: l.a11 * d.a11 + l.a21 * d.a12 + l.a31 * d.a13,
71292
71297
  a12: l.a12 * d.a11 + l.a22 * d.a12 + l.a32 * d.a13,
71293
71298
  a13: l.a13 * d.a11 + l.a23 * d.a12 + l.a33 * d.a13,
@@ -71297,18 +71302,18 @@
71297
71302
  a31: l.a11 * d.a31 + l.a21 * d.a32 + l.a31 * d.a33,
71298
71303
  a32: l.a12 * d.a31 + l.a22 * d.a32 + l.a32 * d.a33,
71299
71304
  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;
71305
+ }), f = n.BitMatrix.createEmpty(r.dimension, r.dimension), h = function(t, r) {
71306
+ var o = p.a13 * t + p.a23 * r + p.a33;
71302
71307
  return {
71303
- x: (f.a11 * t + f.a21 * r + f.a31) / o,
71304
- y: (f.a12 * t + f.a22 * r + f.a32) / o
71308
+ x: (p.a11 * t + p.a21 * r + p.a31) / o,
71309
+ y: (p.a12 * t + p.a22 * r + p.a32) / o
71305
71310
  };
71306
71311
  }, m = 0; m < r.dimension; m++)for(var g = 0; g < r.dimension; g++){
71307
71312
  var b = h(g + .5, m + .5);
71308
- p.set(g, m, t.get(Math.floor(b.x), Math.floor(b.y)));
71313
+ f.set(g, m, t.get(Math.floor(b.x), Math.floor(b.y)));
71309
71314
  }
71310
71315
  return {
71311
- matrix: p,
71316
+ matrix: f,
71312
71317
  mappingFunction: h
71313
71318
  };
71314
71319
  };
@@ -71333,15 +71338,15 @@
71333
71338
  }
71334
71339
  ], u = Math.abs(r.y - t.y) > Math.abs(r.x - t.x);
71335
71340
  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){
71341
+ 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
71342
  var k = u ? w : v, y = u ? v : w;
71338
71343
  if (o.get(k, y) !== b && (b = !b, d.push({
71339
71344
  x: k,
71340
71345
  y: y
71341
71346
  }), d.length === i + 1)) break;
71342
- if ((h += p) > 0) {
71347
+ if ((h += f) > 0) {
71343
71348
  if (w === l) break;
71344
- w += g, h -= f;
71349
+ w += g, h -= p;
71345
71350
  }
71346
71351
  }
71347
71352
  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 +71382,7 @@
71377
71382
  }, l = s(t, a, o, r.length), d = {
71378
71383
  x: Math.min(o.width, t.x + t.y) + 1,
71379
71384
  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;
71385
+ }, 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
71386
  return g + v;
71382
71387
  } catch (t) {
71383
71388
  return 1 / 0;
@@ -71410,16 +71415,16 @@
71410
71415
  dimension: l,
71411
71416
  moduleSize: c
71412
71417
  };
71413
- }(a, o, c, t)).dimension, f = d.moduleSize;
71418
+ }(a, o, c, t)).dimension, p = d.moduleSize;
71414
71419
  } catch (t) {
71415
71420
  return null;
71416
71421
  }
71417
- var d, u, f, p = {
71422
+ var d, u, p, f = {
71418
71423
  x: o.x - a.x + c.x,
71419
71424
  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)
71425
+ }, h = (n(a, c) + n(a, o)) / 2 / p, m = 1 - 3 / h, g = {
71426
+ x: a.x + m * (f.x - a.x),
71427
+ y: a.y + m * (f.y - a.y)
71423
71428
  }, b = r.map(function(r) {
71424
71429
  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
71430
  if (t.get(Math.floor(o), Math.floor(a))) {
@@ -71457,7 +71462,7 @@
71457
71462
  };
71458
71463
  }
71459
71464
  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) {
71465
+ for(var r, o, a, s, c, p, f, h, m, g, b, v, w, k = [], y = [], C = [], B = [], _ = function(r) {
71461
71466
  for(var o = 0, n = !1, a = [
71462
71467
  0,
71463
71468
  0,
@@ -71475,21 +71480,21 @@
71475
71480
  a[4],
71476
71481
  o
71477
71482
  ], 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;
71483
+ 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
71484
  if (d) {
71480
- var p = s - a[3] - a[4], h = p - a[2], m = {
71485
+ var f = s - a[3] - a[4], h = f - a[2], m = {
71481
71486
  startX: h,
71482
- endX: p,
71487
+ endX: f,
71483
71488
  y: r
71484
71489
  }, 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;
71490
+ 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
71491
  });
71487
71492
  g.length > 0 ? g[0].bottom = m : y.push({
71488
71493
  top: m,
71489
71494
  bottom: m
71490
71495
  });
71491
71496
  }
71492
- if (f) {
71497
+ if (p) {
71493
71498
  var b = s - a[4], v = b - a[3], m = {
71494
71499
  startX: v,
71495
71500
  y: r,
@@ -71583,14 +71588,14 @@
71583
71588
  r,
71584
71589
  o,
71585
71590
  a
71586
- ])[0], m = c[1], g = c[2]) : (h = (f = [
71591
+ ])[0], m = c[1], g = c[2]) : (h = (p = [
71587
71592
  r,
71588
71593
  a,
71589
71594
  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 = [
71595
+ ])[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
71596
  g,
71592
71597
  h
71593
- ])[0], g = p[1]), {
71598
+ ])[0], g = f[1]), {
71594
71599
  bottomLeft: h,
71595
71600
  topLeft: m,
71596
71601
  topRight: g
@@ -71804,10 +71809,10 @@
71804
71809
  }
71805
71810
  ];
71806
71811
  function sV() {
71807
- if (rh) return rp;
71812
+ if (rh) return rf;
71808
71813
  rh = 1;
71809
71814
  var t = o9();
71810
- return rp = function() {
71815
+ return rf = function() {
71811
71816
  try {
71812
71817
  var r = t(Object, "defineProperty");
71813
71818
  return r({}, "", {}), r;
@@ -71954,14 +71959,14 @@
71954
71959
  return n;
71955
71960
  }), r = sH(), o = oK(), n = sY(), i = s5(), a = s3(), s = Object.prototype.hasOwnProperty;
71956
71961
  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);
71962
+ 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;
71963
+ 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
71964
  return m;
71960
71965
  };
71961
71966
  }(), r = function() {
71962
71967
  if (om) return oh;
71963
71968
  om = 1;
71964
- var t = o1(), r = sX(), o = op ? of : (op = 1, of = function(t) {
71969
+ var t = o1(), r = sX(), o = of ? op : (of = 1, op = function(t) {
71965
71970
  var r = [];
71966
71971
  if (null != t) for(var o in Object(t))r.push(o);
71967
71972
  return r;
@@ -71989,8 +71994,8 @@
71989
71994
  if (oB) return oC;
71990
71995
  oB = 1;
71991
71996
  var t = function() {
71992
- if (rf) return ru;
71993
- rf = 1;
71997
+ if (rp) return ru;
71998
+ rp = 1;
71994
71999
  var t = ne(), r = function() {
71995
72000
  if (rr) return rt;
71996
72001
  rr = 1;
@@ -72094,7 +72099,7 @@
72094
72099
  return rZ = function(o) {
72095
72100
  return r(o) && t(o);
72096
72101
  };
72097
- }(), l = sY(), d = o8(), u = o1(), f = function() {
72102
+ }(), l = sY(), d = o8(), u = o1(), p = function() {
72098
72103
  if (r5) return r2;
72099
72104
  r5 = 1;
72100
72105
  var t = o2(), r = sQ(), o = o5(), n = Object.prototype, i = Function.prototype.toString, a = n.hasOwnProperty, s = i.call(Object);
@@ -72105,7 +72110,7 @@
72105
72110
  var l = a.call(c, "constructor") && c.constructor;
72106
72111
  return "function" == typeof l && l instanceof l && i.call(l) == s;
72107
72112
  };
72108
- }(), p = s3(), h = s2(), m = function() {
72113
+ }(), f = s3(), h = s2(), m = function() {
72109
72114
  if (ow) return ov;
72110
72115
  ow = 1;
72111
72116
  var t = function() {
@@ -72139,17 +72144,17 @@
72139
72144
  if (x) return void t(g, v, x);
72140
72145
  var P = y ? y(B, _, v + "", g, b, C) : void 0, S = void 0 === P;
72141
72146
  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;
72147
+ var E = s(_), T = !E && l(_), D = !E && !T && f(_);
72148
+ 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
72149
  }
72145
72150
  S && (C.set(_, P), k(P, _, w, y, C), C.delete(_)), t(g, v, P);
72146
72151
  };
72147
72152
  }(), i = o1(), a = s0(), s = s2();
72148
- return oC = function c(l, d, u, f, p) {
72153
+ return oC = function c(l, d, u, p, f) {
72149
72154
  l !== d && o(d, function(o, a) {
72150
- if (p || (p = new t), i(o)) n(l, d, a, u, c, f, p);
72155
+ if (f || (f = new t), i(o)) n(l, d, a, u, c, p, f);
72151
72156
  else {
72152
- var h = f ? f(s(l, a), o, a + "", l, d, p) : void 0;
72157
+ var h = p ? p(s(l, a), o, a + "", l, d, f) : void 0;
72153
72158
  void 0 === h && (h = o), r(l, a, h);
72154
72159
  }
72155
72160
  }, a);
@@ -89123,7 +89128,7 @@
89123
89128
  });
89124
89129
  };
89125
89130
 
89126
- const CloseIconComponent = (props)=>{
89131
+ const CloseIconComponent$1 = (props)=>{
89127
89132
  return(// eslint-disable-next-line react/jsx-props-no-spreading
89128
89133
  /*#__PURE__*/ jsxRuntimeExports.jsxs("svg", {
89129
89134
  width: "24",
@@ -89159,7 +89164,7 @@
89159
89164
  ]
89160
89165
  }));
89161
89166
  };
89162
- const CloseIcon = dt$1(CloseIconComponent)`
89167
+ const CloseIcon$1 = dt$1(CloseIconComponent$1)`
89163
89168
  z-index: ${BASE_Z_INDEX + 10};
89164
89169
  cursor: pointer;
89165
89170
  position: fixed;
@@ -89260,7 +89265,7 @@
89260
89265
  `;
89261
89266
  }}
89262
89267
  `;
89263
- dt$1(CloseIcon)`
89268
+ dt$1(CloseIcon$1)`
89264
89269
  z-index: 1001;
89265
89270
  cursor: pointer;
89266
89271
  position: fixed;
@@ -90658,6 +90663,7 @@
90658
90663
  const DefaultFlashLivenessBody = FlashLivenessBody$1;
90659
90664
  const DefaultFlashLivenessOverlay = FlashLivenessOverlay$1;
90660
90665
  const DefaultFlashLivenessError = FlashLivenessError$1;
90666
+ const DefaultFlashLivenessCloseIcon = CloseIcon$1;
90661
90667
  function FlashLivenessImpl(props) {
90662
90668
  const { onReset, onFlashDone: onFlashDoneCallback, frontCamera, styledComponent, onFramesCaptured, customComponent, extraConfig, onImageCaptured } = props;
90663
90669
  const { onCloseCallback, onErrorCallback } = useSDKCallback();
@@ -90665,6 +90671,7 @@
90665
90671
  const FlashLivenessBodyComponent = customComponent?.FlashLivenessBody ?? DefaultFlashLivenessBody;
90666
90672
  const FlashLivenessOverlayComponent = customComponent?.FlashLivenessOverlay ?? DefaultFlashLivenessOverlay;
90667
90673
  const FlashLivenessErrorComponent = customComponent?.FlashLivenessError ?? DefaultFlashLivenessError;
90674
+ const FlashLivenessCloseIconComponent = customComponent?.FlashLivenessCloseIcon ?? DefaultFlashLivenessCloseIcon;
90668
90675
  const { maskSettings, flashSettings, faceSettings, livenessSettings, captureFrameSettings, imageSettings, timeoutSettings, blurCheckFarSettings, blurCheckCloseSettings, exifSettings, autoGenFrameIds } = flashLivenessSettings;
90669
90676
  if (maskSettings.smallScale > maskSettings.largeScale) {
90670
90677
  throw new Error('smallScale must be smaller than largeScale');
@@ -91391,7 +91398,7 @@
91391
91398
  ref: videoRef,
91392
91399
  onError: onErrorCallback,
91393
91400
  videoSettings: videoSettings$5,
91394
- closeButton: /*#__PURE__*/ jsxRuntimeExports.jsx(CloseIcon, {}),
91401
+ closeButton: /*#__PURE__*/ jsxRuntimeExports.jsx(FlashLivenessCloseIconComponent, {}),
91395
91402
  children: /*#__PURE__*/ jsxRuntimeExports.jsxs(WarmUpOverlay, {
91396
91403
  overlay: !warmupDone || !isPlaying,
91397
91404
  loadingComponent: Loading,
@@ -92136,7 +92143,7 @@
92136
92143
  onError: onErrorCallback,
92137
92144
  scale: cameraScale,
92138
92145
  defaultCameraId: defaultCameraId,
92139
- closeButton: CloseCameraButton || /*#__PURE__*/ jsxRuntimeExports.jsx(CloseIcon, {}),
92146
+ closeButton: CloseCameraButton || /*#__PURE__*/ jsxRuntimeExports.jsx(CloseIcon$1, {}),
92140
92147
  children: [
92141
92148
  !warmupDone && /*#__PURE__*/ jsxRuntimeExports.jsx(WarmupPopup, {}),
92142
92149
  videoPlayed ? /*#__PURE__*/ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, {
@@ -92673,12 +92680,14 @@
92673
92680
  };
92674
92681
  const DefaultPassiveLivenessBody = PassiveLivenessBody$1;
92675
92682
  const DefaultPassiveLivenessError = PassiveLivenessError;
92683
+ const DefaultPassiveLivenessCloseIcon = CloseIcon$1;
92676
92684
  function PassiveLivenessUI(props) {
92677
92685
  const { onReset, onDone: onDoneCallback, frontCamera, styledComponent, onFramesCaptured, customComponent, extraConfig } = props;
92678
92686
  const { onErrorCallback, onCloseCallback } = useSDKCallback();
92679
92687
  const passiveLivenessSettings = usePassiveLivenessV2Settings();
92680
92688
  const PassiveLivenessBodyComponent = customComponent?.PassiveLivenessBody ?? DefaultPassiveLivenessBody;
92681
92689
  const PassiveLivenessErrorComponent = customComponent?.PassiveLivenessError ?? DefaultPassiveLivenessError;
92690
+ const PassiveLivenessCloseIconComponent = customComponent?.PassiveLivenessCloseIcon ?? DefaultPassiveLivenessCloseIcon;
92682
92691
  const { maskSettings, faceSettings, captureFrameSettings, exifSettings, imageSettings, timeoutSettings, blurCheckFarSettings, outputImageSettings, autoGenFrameIds } = passiveLivenessSettings;
92683
92692
  const farFaceTimeRef = reactExports.useRef();
92684
92693
  const logEvent = useEventLogging();
@@ -93164,7 +93173,7 @@
93164
93173
  ref: videoRef,
93165
93174
  onError: onErrorCallback,
93166
93175
  videoSettings: videoSettings$3,
93167
- closeButton: /*#__PURE__*/ jsxRuntimeExports.jsx(CloseIcon, {}),
93176
+ closeButton: /*#__PURE__*/ jsxRuntimeExports.jsx(PassiveLivenessCloseIconComponent, {}),
93168
93177
  children: /*#__PURE__*/ jsxRuntimeExports.jsxs(WarmUpOverlay, {
93169
93178
  overlay: !warmupDone || !isPlaying,
93170
93179
  loadingComponent: Loading,
@@ -93685,7 +93694,7 @@
93685
93694
  onError: onErrorCallback,
93686
93695
  scale: cameraScale,
93687
93696
  defaultCameraId: defaultCameraId,
93688
- closeButton: /*#__PURE__*/ jsxRuntimeExports.jsx(CloseIcon, {}),
93697
+ closeButton: /*#__PURE__*/ jsxRuntimeExports.jsx(CloseIcon$1, {}),
93689
93698
  children: [
93690
93699
  !warmupDone && /*#__PURE__*/ jsxRuntimeExports.jsx(WarmupPopup, {}),
93691
93700
  videoPlayed ? /*#__PURE__*/ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, {
@@ -94824,7 +94833,7 @@
94824
94833
  DEFAULT: 'default',
94825
94834
  ERROR: 'error'
94826
94835
  };
94827
- function RectangleMask({ className, width, height, type, strokeStyles, strokeWidth, radius, paddingStyle, defaultRectStyles, errorRectStyles }) {
94836
+ function RectangleMask({ className, width, height, type, strokeStyles, strokeWidth, radius, paddingStyle, defaultRectStyles, errorRectStyles, paddingCornerMultiplier = 1.5 }) {
94828
94837
  const styleMapping = reactExports.useMemo(()=>{
94829
94838
  return {
94830
94839
  [Type.DEFAULT]: defaultRectStyles,
@@ -94836,7 +94845,7 @@
94836
94845
  errorRectStyles,
94837
94846
  strokeStyles
94838
94847
  ]);
94839
- const paddingCornerSize = radius + strokeWidth * 1.5;
94848
+ const paddingCornerSize = radius + strokeWidth * paddingCornerMultiplier;
94840
94849
  const rectStyle = styleMapping[type];
94841
94850
  return /*#__PURE__*/ jsxRuntimeExports.jsxs("svg", {
94842
94851
  width: width,
@@ -94884,7 +94893,8 @@
94884
94893
  radius: PropTypes.number,
94885
94894
  paddingStyle: PropTypes.shape({}),
94886
94895
  defaultRectStyles: PropTypes.shape({}),
94887
- errorRectStyles: PropTypes.shape({})
94896
+ errorRectStyles: PropTypes.shape({}),
94897
+ paddingCornerMultiplier: PropTypes.number
94888
94898
  };
94889
94899
  RectangleMask.defaultProps = {
94890
94900
  className: '',
@@ -94896,7 +94906,8 @@
94896
94906
  radius: defaultIDThemeV2$1.IDCapturing.rectangleMask.radius,
94897
94907
  paddingStyle: defaultIDThemeV2$1.IDCapturing.rectangleMask.paddingStyle,
94898
94908
  defaultRectStyles: defaultIDThemeV2$1.IDCapturing.rectangleMask.default,
94899
- errorRectStyles: defaultIDThemeV2$1.IDCapturing.rectangleMask.error
94909
+ errorRectStyles: defaultIDThemeV2$1.IDCapturing.rectangleMask.error,
94910
+ paddingCornerMultiplier: 1.5
94900
94911
  };
94901
94912
 
94902
94913
  const StyledRectangleMask$1 = dt$1(RectangleMask)``;
@@ -113299,6 +113310,17 @@
113299
113310
  });
113300
113311
  };
113301
113312
  };
113313
+ const withLocale = (Component)=>{
113314
+ return function WrappedComponent(props) {
113315
+ const { customTexts } = props;
113316
+ return /*#__PURE__*/ jsxRuntimeExports.jsx(SDKLocaleProvider, {
113317
+ customTexts: customTexts,
113318
+ children: /*#__PURE__*/ jsxRuntimeExports.jsx(Component, {
113319
+ ...props
113320
+ })
113321
+ });
113322
+ };
113323
+ };
113302
113324
  // eslint-disable-next-line react/require-default-props
113303
113325
  function FaceAuthenticationContainer(props) {
113304
113326
  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;
@@ -113550,7 +113572,7 @@
113550
113572
  onFramesCaptured: ()=>{},
113551
113573
  customTexts: {}
113552
113574
  };
113553
- var FaceAuthenticationContainer$1 = withClientSettings(FaceAuthenticationContainer);
113575
+ var FaceAuthenticationContainer$1 = withClientSettings(withLocale(FaceAuthenticationContainer));
113554
113576
 
113555
113577
  // eslint-disable-next-line react/require-default-props
113556
113578
  function FaceAuthentication(props) {
@@ -113583,6 +113605,8 @@
113583
113605
  FlashLivenessOverlay: FlashLivenessOverlay$1,
113584
113606
  FlashLivenessLoading,
113585
113607
  FlashLivenessError: FlashLivenessError$1,
113608
+ FlashLivenessCloseIcon: CloseIcon$1,
113609
+ PassiveLivenessCloseIcon: CloseIcon$1,
113586
113610
  PassiveLivenessBody: PassiveLivenessBody$1,
113587
113611
  PassiveLivenessError
113588
113612
  }
@@ -115034,9 +115058,16 @@
115034
115058
  position: absolute;
115035
115059
  top: ${(props)=>props.y};
115036
115060
  z-index: ${BASE_Z_INDEX + 20};
115037
- left: 50%;
115038
- transform: translateX(-50%);
115039
- width: fit-content;
115061
+
115062
+ @media (max-width: 480px) {
115063
+ width: 80%;
115064
+ }
115065
+
115066
+ @media (min-width: 481px) {
115067
+ left: 50%;
115068
+ transform: translateX(-50%);
115069
+ width: fit-content;
115070
+ }
115040
115071
  `;
115041
115072
  const ErrorMessageText = dt$1(Text)`
115042
115073
  text-align: center;
@@ -115287,7 +115318,8 @@
115287
115318
  errorColor: dangerColor,
115288
115319
  width: cropArea.width,
115289
115320
  height: cropArea.height,
115290
- type: errorMessage ? Type.ERROR : Type.DEFAULT
115321
+ type: errorMessage ? Type.ERROR : Type.DEFAULT,
115322
+ paddingCornerMultiplier: 0.8
115291
115323
  })
115292
115324
  }),
115293
115325
  errorMessage && /*#__PURE__*/ jsxRuntimeExports.jsx(ErrorMessage, {
@@ -115494,7 +115526,7 @@
115494
115526
  path: 'M299 150.325C299 232.242 292.613 439 150.5 439C5.18661 439 2 232.242 2 150.325C2 68.4073 68.4857 2 150.5 2C232.514 2 299 68.4073 299 150.325Z',
115495
115527
  strokeColor: '#007AFF',
115496
115528
  strokeColorError: '#FF3B30',
115497
- strokeWidth: 6
115529
+ strokeWidth: 3
115498
115530
  },
115499
115531
  errorOverlay: {
115500
115532
  backgroundColor: 'transparent'
@@ -116170,7 +116202,41 @@
116170
116202
  });
116171
116203
  };
116172
116204
 
116173
- const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.tcli/0.0.0-beta.20251215-170414/assets";
116205
+ const CloseIconComponent = (props)=>{
116206
+ return /*#__PURE__*/ jsxRuntimeExports.jsx("svg", {
116207
+ style: {
116208
+ top: 12,
116209
+ left: 12,
116210
+ width: 28,
116211
+ height: 28,
116212
+ position: 'fixed',
116213
+ cursor: 'pointer',
116214
+ display: 'block'
116215
+ },
116216
+ width: "24",
116217
+ height: "24",
116218
+ viewBox: "0 0 24 24",
116219
+ fill: "none",
116220
+ xmlns: "http://www.w3.org/2000/svg",
116221
+ ...props,
116222
+ children: /*#__PURE__*/ jsxRuntimeExports.jsx("path", {
116223
+ d: "M19.7273 10.7249C20.154 10.7249 20.5 11.0718 20.5 11.4998C20.5 11.9278 20.154 12.2748 19.7273 12.2748L6.14405 12.2748L11.0512 17.1759C11.3536 17.4779 11.3546 17.9686 11.0535 18.2719C10.7524 18.5752 10.2631 18.5762 9.96071 18.2742L3.72746 12.0486C3.58184 11.9032 3.49999 11.7056 3.5 11.4995C3.50001 11.2933 3.58188 11.0957 3.7275 10.9503L9.96076 4.7258C10.2632 4.42381 10.7524 4.42487 11.0535 4.72816C11.3547 5.03146 11.3536 5.52214 11.0512 5.82413L6.14357 10.7249L19.7273 10.7249Z",
116224
+ fill: "black"
116225
+ })
116226
+ });
116227
+ };
116228
+ const CloseIcon = dt$1(CloseIconComponent)`
116229
+ z-index: 1010;
116230
+ cursor: pointer;
116231
+ position: fixed;
116232
+ top: ${f0.getTheme('closeButton.top')};
116233
+ right: ${f0.getTheme('closeButton.right')};
116234
+ left: ${f0.getTheme('closeButton.left')};
116235
+ bottom: ${f0.getTheme('closeButton.bottom')};
116236
+ display: ${f0.getTheme('closeButton.display')};
116237
+ `;
116238
+
116239
+ const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.tcli/5.34.0/assets";
116174
116240
  class TVWebSDK extends gU {
116175
116241
  constructor(props){
116176
116242
  super({
@@ -116187,6 +116253,8 @@
116187
116253
  FlashLivenessBody,
116188
116254
  FlashLivenessOverlay,
116189
116255
  FlashLivenessLoading: Loading,
116256
+ FlashLivenessCloseIcon: CloseIcon,
116257
+ PassiveLivenessCloseIcon: CloseIcon,
116190
116258
  PassiveLivenessBody,
116191
116259
  FlashLivenessError,
116192
116260
  PassiveLivenessError: FlashLivenessError