bry-biometric-collector 3.3.0-RC12 → 3.3.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.
Files changed (20) hide show
  1. package/dist/{CaptureBar_a4c50c4b_3.3.0-RC12.js → CaptureBar_c06537b7_3.3.0.js} +1 -1
  2. package/dist/{DocumentCollector_fb098cab_3.3.0-RC12.js → DocumentCollector_8466b150_3.3.0.js} +171 -169
  3. package/dist/{FaceCollector_5bbbd0a5_3.3.0-RC12.js → FaceCollector_ef8c1d72_3.3.0.js} +679 -679
  4. package/dist/{FaceOval_9b699823_3.3.0-RC12.js → FaceOval_8e4052f2_3.3.0.js} +2 -2
  5. package/dist/{StreamCollector_092dcb0f_3.3.0-RC12.js → StreamCollector_786a300a_3.3.0.js} +5 -5
  6. package/dist/{ValidationAlert_966df4ee_3.3.0-RC12.js → ValidationAlert_f888dfba_3.3.0.js} +1 -1
  7. package/dist/{___vite-browser-external_commonjs-proxy_3838da21_3.3.0-RC12.js → ___vite-browser-external_commonjs-proxy_c43aa35e_3.3.0.js} +41 -41
  8. package/dist/bry-biometric-collector-main.js +2 -2
  9. package/dist/{fingersApi_6cb94a7e_3.3.0-RC12.js → fingersApi_affad03e_3.3.0.js} +2 -2
  10. package/dist/index.js +2 -2
  11. package/dist/{index_9497ac18_3.3.0-RC12.js → index_4b99238a_3.3.0.js} +3 -3
  12. package/dist/{index_0a9585c5_3.3.0-RC12.js → index_d197fdcb_3.3.0.js} +3 -3
  13. package/dist/{main_ca1065ab_3.3.0-RC12.js → main_bafbae03_3.3.0.js} +36 -37
  14. package/package.json +1 -1
  15. /package/dist/{en-us_c02e99cd_3.3.0-RC12.js → en-us_c02e99cd_3.3.0.js} +0 -0
  16. /package/dist/{es-cl_6f3eda53_3.3.0-RC12.js → es-cl_6f3eda53_3.3.0.js} +0 -0
  17. /package/dist/{face_api_0e3ce8c8_3.3.0-RC12.js → face_api_0e3ce8c8_3.3.0.js} +0 -0
  18. /package/dist/{index-idlf-detector_39cfdffa_3.3.0-RC12.js → index-idlf-detector_39cfdffa_3.3.0.js} +0 -0
  19. /package/dist/{index-idlf-detector_a819b3c8_3.3.0-RC12.js → index-idlf-detector_a819b3c8_3.3.0.js} +0 -0
  20. /package/dist/{pt-br_e7d46668_3.3.0-RC12.js → pt-br_e7d46668_3.3.0.js} +0 -0
@@ -1,5 +1,5 @@
1
- import { S as z, x as D, y as M, z as T, B as v, C as g, O as A, E as x, a1 as E, a2 as b, a3 as B, a0 as d, H as C, I as W, bx as _, J as F, a8 as O, K as R, aB as k, D as j, G as n, bk as S, X as q, Z as G, _ as I, a4 as J } from "./main_ca1065ab_3.3.0-RC12.js";
2
- import { W as K } from "./ValidationAlert_966df4ee_3.3.0-RC12.js";
1
+ import { S as z, x as D, y as M, z as T, B as v, C as g, O as A, E as x, a1 as E, a2 as b, a3 as B, a0 as d, H as C, I as W, bw as _, J as F, a8 as O, K as R, aB as k, D as j, G as n, bk as S, X as q, Z as G, _ as I, a4 as J } from "./main_bafbae03_3.3.0.js";
2
+ import { W as K } from "./ValidationAlert_f888dfba_3.3.0.js";
3
3
  function N(a) {
4
4
  let e, t, o, r = (
5
5
  /*showWatermark*/
@@ -1,7 +1,7 @@
1
- import { S as ve, x as he, y as we, z as Ee, B as R, C as I, D as A, N as M, E as se, bd as f, G as ie, X as D, a0 as g, a1 as Z, a2 as h, a3 as J, H as oe, I as _, aa as V, am as Y, au as x, av as $, ah as L, T as E, ar as z, a9 as ee, aA as ye, f as Ce, aB as m, aF as Ie, l as te, aK as Le, aM as ae, b4 as ze, Z as O, _ as T, a4 as N, w as De, aQ as Se, bc as ke } from "./main_ca1065ab_3.3.0-RC12.js";
2
- import { V as Fe, C as Be } from "./ValidationAlert_966df4ee_3.3.0-RC12.js";
3
- import { F as Ve } from "./FaceOval_9b699823_3.3.0-RC12.js";
4
- import "./face_api_0e3ce8c8_3.3.0-RC12.js";
1
+ import { S as ve, x as he, y as we, z as Ee, B as R, C as I, D as A, N as M, E as se, bd as f, G as ie, X as D, a0 as g, a1 as Z, a2 as h, a3 as J, H as oe, I as _, aa as V, am as Y, au as x, av as $, ah as L, T as E, ar as z, a9 as ee, aA as ye, f as Ce, aB as m, aF as Ie, l as te, aK as Le, aM as ae, b4 as ze, Z as O, _ as T, a4 as N, w as De, aQ as Se, bc as ke } from "./main_bafbae03_3.3.0.js";
2
+ import { V as Fe, C as Be } from "./ValidationAlert_f888dfba_3.3.0.js";
3
+ import { F as Ve } from "./FaceOval_8e4052f2_3.3.0.js";
4
+ import "./face_api_0e3ce8c8_3.3.0.js";
5
5
  function re(n) {
6
6
  let t, a, r, l, b;
7
7
  return a = new Fe({}), l = new Ve({
@@ -126,7 +126,7 @@ function Ae(n) {
126
126
  };
127
127
  }
128
128
  function Me() {
129
- ({}).VITE_USE_DEV === "true" ? import("./index-idlf-detector_39cfdffa_3.3.0-RC12.js") : import("./index-idlf-detector_a819b3c8_3.3.0-RC12.js");
129
+ ({}).VITE_USE_DEV === "true" ? import("./index-idlf-detector_39cfdffa_3.3.0.js") : import("./index-idlf-detector_a819b3c8_3.3.0.js");
130
130
  }
131
131
  function Oe(n, t, a) {
132
132
  let r, l, b, c, o, s, i, u, S;
@@ -1,4 +1,4 @@
1
- import { S as B, x as V, y as Z, z as H, B as n, C as Q, O as Y, E as d, H as c, I as C, a8 as P, $ as K, Q as q, bs as k, bt as F, f as R, D as w, G as N, bk as S, N as x, U as L, bu as T, X as I, b7 as h, bv as E, Y as y, b8 as $, M as O, V as ee, ap as te, ah as le, K as U } from "./main_ca1065ab_3.3.0-RC12.js";
1
+ import { S as B, x as V, y as Z, z as H, B as n, C as Q, O as Y, E as d, H as c, I as C, a8 as P, $ as K, Q as q, br as k, bs as F, f as R, D as w, G as N, bk as S, N as x, U as L, bt as T, X as I, b7 as h, bu as E, Y as y, b8 as $, M as O, V as ee, ap as te, ah as le, K as U } from "./main_bafbae03_3.3.0.js";
2
2
  function ae(u) {
3
3
  let e;
4
4
  function i(l, M) {
@@ -1,4 +1,4 @@
1
- import { bz as D, bA as V } from "./main_ca1065ab_3.3.0-RC12.js";
1
+ import { by as D, bz as V } from "./main_bafbae03_3.3.0.js";
2
2
  function H(e, t) {
3
3
  for (var n = 0; n < t.length; n++) {
4
4
  const r = t[n];
@@ -317,17 +317,17 @@ function w(e) {
317
317
  }
318
318
  f.isLong = w;
319
319
  var I = {}, B = {};
320
- function q(e, t) {
320
+ function m(e, t) {
321
321
  var n, r, s;
322
322
  return t ? (e >>>= 0, (s = 0 <= e && e < 256) && (r = B[e], r) ? r : (n = o(e, (e | 0) < 0 ? -1 : 0, !0), s && (B[e] = n), n)) : (e |= 0, (s = -128 <= e && e < 128) && (r = I[e], r) ? r : (n = o(e, e < 0 ? -1 : 0, !1), s && (I[e] = n), n));
323
323
  }
324
- f.fromInt = q;
324
+ f.fromInt = m;
325
325
  function O(e, t) {
326
326
  if (isNaN(e))
327
- return t ? m : L;
327
+ return t ? b : y;
328
328
  if (t) {
329
329
  if (e < 0)
330
- return m;
330
+ return b;
331
331
  if (e >= Z)
332
332
  return j;
333
333
  } else {
@@ -348,7 +348,7 @@ function A(e, t, n) {
348
348
  if (e.length === 0)
349
349
  throw Error("empty string");
350
350
  if (e === "NaN" || e === "Infinity" || e === "+Infinity" || e === "-Infinity")
351
- return L;
351
+ return y;
352
352
  if (typeof t == "number" ? (n = t, t = !1) : t = !!t, n = n || 10, n < 2 || 36 < n)
353
353
  throw RangeError("radix");
354
354
  var r;
@@ -356,7 +356,7 @@ function A(e, t, n) {
356
356
  throw Error("interior hyphen");
357
357
  if (r === 0)
358
358
  return A(e.substring(1), t, n).neg();
359
- for (var s = O(T(n, 8)), h = L, u = 0; u < e.length; u += 8) {
359
+ for (var s = O(T(n, 8)), h = y, u = 0; u < e.length; u += 8) {
360
360
  var F = Math.min(8, e.length - u), E = parseInt(e.substring(u, u + F), n);
361
361
  if (F < 8) {
362
362
  var l = O(T(n, F));
@@ -367,19 +367,19 @@ function A(e, t, n) {
367
367
  return h.unsigned = t, h;
368
368
  }
369
369
  f.fromString = A;
370
- function b(e, t) {
370
+ function L(e, t) {
371
371
  return typeof e == "number" ? O(e, t) : typeof e == "string" ? A(e, t) : o(e.low, e.high, typeof t == "boolean" ? t : e.unsigned);
372
372
  }
373
- f.fromValue = b;
374
- var M = 65536, C = 1 << 24, d = M * M, Z = d * d, P = Z / 2, S = q(C), L = q(0);
375
- f.ZERO = L;
376
- var m = q(0, !0);
377
- f.UZERO = m;
378
- var y = q(1);
379
- f.ONE = y;
380
- var p = q(1, !0);
373
+ f.fromValue = L;
374
+ var M = 65536, C = 1 << 24, d = M * M, Z = d * d, P = Z / 2, S = m(C), y = m(0);
375
+ f.ZERO = y;
376
+ var b = m(0, !0);
377
+ f.UZERO = b;
378
+ var q = m(1);
379
+ f.ONE = q;
380
+ var p = m(1, !0);
381
381
  f.UONE = p;
382
- var U = q(-1);
382
+ var U = m(-1);
383
383
  f.NEG_ONE = U;
384
384
  var R = o(-1, 2147483647, !1);
385
385
  f.MAX_VALUE = R;
@@ -450,7 +450,7 @@ i.isEven = function() {
450
450
  return (this.low & 1) === 0;
451
451
  };
452
452
  i.equals = function(t) {
453
- return w(t) || (t = b(t)), this.unsigned !== t.unsigned && this.high >>> 31 === 1 && t.high >>> 31 === 1 ? !1 : this.high === t.high && this.low === t.low;
453
+ return w(t) || (t = L(t)), this.unsigned !== t.unsigned && this.high >>> 31 === 1 && t.high >>> 31 === 1 ? !1 : this.high === t.high && this.low === t.low;
454
454
  };
455
455
  i.eq = i.equals;
456
456
  i.notEquals = function(t) {
@@ -492,29 +492,29 @@ i.greaterThanOrEqual = function(t) {
492
492
  i.gte = i.greaterThanOrEqual;
493
493
  i.ge = i.greaterThanOrEqual;
494
494
  i.compare = function(t) {
495
- if (w(t) || (t = b(t)), this.eq(t))
495
+ if (w(t) || (t = L(t)), this.eq(t))
496
496
  return 0;
497
497
  var n = this.isNegative(), r = t.isNegative();
498
498
  return n && !r ? -1 : !n && r ? 1 : this.unsigned ? t.high >>> 0 > this.high >>> 0 || t.high === this.high && t.low >>> 0 > this.low >>> 0 ? -1 : 1 : this.sub(t).isNegative() ? -1 : 1;
499
499
  };
500
500
  i.comp = i.compare;
501
501
  i.negate = function() {
502
- return !this.unsigned && this.eq(c) ? c : this.not().add(y);
502
+ return !this.unsigned && this.eq(c) ? c : this.not().add(q);
503
503
  };
504
504
  i.neg = i.negate;
505
505
  i.add = function(t) {
506
- w(t) || (t = b(t));
506
+ w(t) || (t = L(t));
507
507
  var n = this.high >>> 16, r = this.high & 65535, s = this.low >>> 16, h = this.low & 65535, u = t.high >>> 16, F = t.high & 65535, E = t.low >>> 16, l = t.low & 65535, g = 0, N = 0, a = 0, _ = 0;
508
508
  return _ += h + l, a += _ >>> 16, _ &= 65535, a += s + E, N += a >>> 16, a &= 65535, N += r + F, g += N >>> 16, N &= 65535, g += n + u, g &= 65535, o(a << 16 | _, g << 16 | N, this.unsigned);
509
509
  };
510
510
  i.subtract = function(t) {
511
- return w(t) || (t = b(t)), this.add(t.neg());
511
+ return w(t) || (t = L(t)), this.add(t.neg());
512
512
  };
513
513
  i.sub = i.subtract;
514
514
  i.multiply = function(t) {
515
515
  if (this.isZero())
516
- return L;
517
- if (w(t) || (t = b(t)), v) {
516
+ return y;
517
+ if (w(t) || (t = L(t)), v) {
518
518
  var n = v.mul(
519
519
  this.low,
520
520
  this.high,
@@ -524,11 +524,11 @@ i.multiply = function(t) {
524
524
  return o(n, v.get_high(), this.unsigned);
525
525
  }
526
526
  if (t.isZero())
527
- return L;
527
+ return y;
528
528
  if (this.eq(c))
529
- return t.isOdd() ? c : L;
529
+ return t.isOdd() ? c : y;
530
530
  if (t.eq(c))
531
- return this.isOdd() ? c : L;
531
+ return this.isOdd() ? c : y;
532
532
  if (this.isNegative())
533
533
  return t.isNegative() ? this.neg().mul(t.neg()) : this.neg().mul(t).neg();
534
534
  if (t.isNegative())
@@ -540,7 +540,7 @@ i.multiply = function(t) {
540
540
  };
541
541
  i.mul = i.multiply;
542
542
  i.divide = function(t) {
543
- if (w(t) || (t = b(t)), t.isZero())
543
+ if (w(t) || (t = L(t)), t.isZero())
544
544
  throw Error("division by zero");
545
545
  if (v) {
546
546
  if (!this.unsigned && this.high === -2147483648 && t.low === -1 && t.high === -1)
@@ -554,41 +554,41 @@ i.divide = function(t) {
554
554
  return o(n, v.get_high(), this.unsigned);
555
555
  }
556
556
  if (this.isZero())
557
- return this.unsigned ? m : L;
557
+ return this.unsigned ? b : y;
558
558
  var r, s, h;
559
559
  if (this.unsigned) {
560
560
  if (t.unsigned || (t = t.toUnsigned()), t.gt(this))
561
- return m;
561
+ return b;
562
562
  if (t.gt(this.shru(1)))
563
563
  return p;
564
- h = m;
564
+ h = b;
565
565
  } else {
566
566
  if (this.eq(c)) {
567
- if (t.eq(y) || t.eq(U))
567
+ if (t.eq(q) || t.eq(U))
568
568
  return c;
569
569
  if (t.eq(c))
570
- return y;
570
+ return q;
571
571
  var u = this.shr(1);
572
- return r = u.div(t).shl(1), r.eq(L) ? t.isNegative() ? y : U : (s = this.sub(t.mul(r)), h = r.add(s.div(t)), h);
572
+ return r = u.div(t).shl(1), r.eq(y) ? t.isNegative() ? q : U : (s = this.sub(t.mul(r)), h = r.add(s.div(t)), h);
573
573
  } else if (t.eq(c))
574
- return this.unsigned ? m : L;
574
+ return this.unsigned ? b : y;
575
575
  if (this.isNegative())
576
576
  return t.isNegative() ? this.neg().div(t.neg()) : this.neg().div(t).neg();
577
577
  if (t.isNegative())
578
578
  return this.div(t.neg()).neg();
579
- h = L;
579
+ h = y;
580
580
  }
581
581
  for (s = this; s.gte(t); ) {
582
582
  r = Math.max(1, Math.floor(s.toNumber() / t.toNumber()));
583
583
  for (var F = Math.ceil(Math.log(r) / Math.LN2), E = F <= 48 ? 1 : T(2, F - 48), l = O(r), g = l.mul(t); g.isNegative() || g.gt(s); )
584
584
  r -= E, l = O(r, this.unsigned), g = l.mul(t);
585
- l.isZero() && (l = y), h = h.add(l), s = s.sub(g);
585
+ l.isZero() && (l = q), h = h.add(l), s = s.sub(g);
586
586
  }
587
587
  return h;
588
588
  };
589
589
  i.div = i.divide;
590
590
  i.modulo = function(t) {
591
- if (w(t) || (t = b(t)), v) {
591
+ if (w(t) || (t = L(t)), v) {
592
592
  var n = (this.unsigned ? v.rem_u : v.rem_s)(
593
593
  this.low,
594
594
  this.high,
@@ -605,13 +605,13 @@ i.not = function() {
605
605
  return o(~this.low, ~this.high, this.unsigned);
606
606
  };
607
607
  i.and = function(t) {
608
- return w(t) || (t = b(t)), o(this.low & t.low, this.high & t.high, this.unsigned);
608
+ return w(t) || (t = L(t)), o(this.low & t.low, this.high & t.high, this.unsigned);
609
609
  };
610
610
  i.or = function(t) {
611
- return w(t) || (t = b(t)), o(this.low | t.low, this.high | t.high, this.unsigned);
611
+ return w(t) || (t = L(t)), o(this.low | t.low, this.high | t.high, this.unsigned);
612
612
  };
613
613
  i.xor = function(t) {
614
- return w(t) || (t = b(t)), o(this.low ^ t.low, this.high ^ t.high, this.unsigned);
614
+ return w(t) || (t = L(t)), o(this.low ^ t.low, this.high ^ t.high, this.unsigned);
615
615
  };
616
616
  i.shiftLeft = function(t) {
617
617
  return w(t) && (t = t.toInt()), (t &= 63) === 0 ? this : t < 32 ? o(this.low << t, this.high << t | this.low >>> 32 - t, this.unsigned) : o(0, this.low << t - 32, this.unsigned);
@@ -1,5 +1,5 @@
1
- import { bB as a } from "./main_ca1065ab_3.3.0-RC12.js";
2
- import "./face_api_0e3ce8c8_3.3.0-RC12.js";
1
+ import { bA as a } from "./main_bafbae03_3.3.0.js";
2
+ import "./face_api_0e3ce8c8_3.3.0.js";
3
3
  export {
4
4
  a as default
5
5
  };
@@ -1,5 +1,5 @@
1
- import { u as D, $ as C, n as b, g as y, i as M, s as l, a as F, l as U, F as L, b as x, c as E, v as P, d as B, e as W, A as v, f as $, h as I, j as g, k, m as q, o as R, p as V, q as X, r as p, t as G } from "./main_ca1065ab_3.3.0-RC12.js";
2
- import "./face_api_0e3ce8c8_3.3.0-RC12.js";
1
+ import { u as D, $ as C, n as b, g as y, i as M, s as l, a as F, l as U, F as L, b as x, c as E, v as P, d as B, e as W, A as v, f as $, h as I, j as g, k, m as q, o as R, p as V, q as X, r as p, t as G } from "./main_bafbae03_3.3.0.js";
2
+ import "./face_api_0e3ce8c8_3.3.0.js";
3
3
  const f = D(C);
4
4
  var Q = /* @__PURE__ */ ((n) => (n.EXTENSION_MISSING = "EXTENSION_MISSING", n.USER_CANCELLED = "USER_CANCELLED", n.UNAUTHORIZED_EXTENSION = "UNAUTHORIZED_EXTENSION", n.SCANNER_NOT_FOUND = "SCANNER_NOT_FOUND", n.EXTENSION_MODULE_NOT_INSTALLED = "EXTENSION_MODULE_NOT_INSTALLED", n.FINGER_NOT_REMOVED = "FINGER_NOT_REMOVED", n.UNKNOWN_ERROR = "UNKNOWN_ERROR", n.EVALUATE_BIOMETRICS_TIMEOUT = "EVALUATE_BIOMETRICS_TIMEOUT", n.EVALUATE_BIOMETRICS_NETWORK_ISSUE = "EVALUATE_BIOMETRICS_NETWORK_ISSUE", n))(Q || {});
5
5
  class r extends Error {
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { bB as a } from "./main_ca1065ab_3.3.0-RC12.js";
2
- import "./face_api_0e3ce8c8_3.3.0-RC12.js";
1
+ import { bA as a } from "./main_bafbae03_3.3.0.js";
2
+ import "./face_api_0e3ce8c8_3.3.0.js";
3
3
  export {
4
4
  a as default
5
5
  };
@@ -1,6 +1,6 @@
1
- import { l as vu, L as Au, r as se } from "./___vite-browser-external_commonjs-proxy_3838da21_3.3.0-RC12.js";
2
- import { by as Xa, bz as hr } from "./main_ca1065ab_3.3.0-RC12.js";
3
- import "./face_api_0e3ce8c8_3.3.0-RC12.js";
1
+ import { l as vu, L as Au, r as se } from "./___vite-browser-external_commonjs-proxy_c43aa35e_3.3.0.js";
2
+ import { bx as Xa, by as hr } from "./main_bafbae03_3.3.0.js";
3
+ import "./face_api_0e3ce8c8_3.3.0.js";
4
4
  function gr(e, t) {
5
5
  for (var n = 0; n < t.length; n++) {
6
6
  const s = t[n];
@@ -1,6 +1,6 @@
1
- import { by as eo } from "./main_ca1065ab_3.3.0-RC12.js";
2
- import { r as x1, l as b1, L as y1 } from "./___vite-browser-external_commonjs-proxy_3838da21_3.3.0-RC12.js";
3
- import "./face_api_0e3ce8c8_3.3.0-RC12.js";
1
+ import { bx as eo } from "./main_bafbae03_3.3.0.js";
2
+ import { r as x1, l as b1, L as y1 } from "./___vite-browser-external_commonjs-proxy_c43aa35e_3.3.0.js";
3
+ import "./face_api_0e3ce8c8_3.3.0.js";
4
4
  var pu = { exports: {} };
5
5
  pu.exports;
6
6
  (function(n) {
@@ -1,4 +1,4 @@
1
- import { detectSingleFace as SB, Box as RB } from "./face_api_0e3ce8c8_3.3.0-RC12.js";
1
+ import { detectSingleFace as SB, Box as RB } from "./face_api_0e3ce8c8_3.3.0.js";
2
2
  function $() {
3
3
  }
4
4
  function un(A, e) {
@@ -7217,18 +7217,18 @@ async function cf(A) {
7217
7217
  A && (e = A), wi("requesting weights from", e);
7218
7218
  try {
7219
7219
  await Promise.all([
7220
- (await import("./face_api_0e3ce8c8_3.3.0-RC12.js")).nets.tinyFaceDetector.load(e),
7221
- (await import("./face_api_0e3ce8c8_3.3.0-RC12.js")).loadFaceLandmarkModel(e)
7220
+ (await import("./face_api_0e3ce8c8_3.3.0.js")).nets.tinyFaceDetector.load(e),
7221
+ (await import("./face_api_0e3ce8c8_3.3.0.js")).loadFaceLandmarkModel(e)
7222
7222
  ]);
7223
7223
  } catch {
7224
7224
  bi("Your browser doesn't support WebGL! Trying to use WASM backend now...");
7225
7225
  try {
7226
7226
  await Promise.all([
7227
- (await import("./index_9497ac18_3.3.0-RC12.js")).setWasmPaths("https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-backend-wasm/dist/"),
7228
- (await import("./index_0a9585c5_3.3.0-RC12.js")).setBackend("wasm"),
7229
- (await import("./index_0a9585c5_3.3.0-RC12.js")).ready(),
7230
- (await import("./face_api_0e3ce8c8_3.3.0-RC12.js")).nets.tinyFaceDetector.load(e),
7231
- (await import("./face_api_0e3ce8c8_3.3.0-RC12.js")).loadFaceLandmarkModel(e)
7227
+ (await import("./index_4b99238a_3.3.0.js")).setWasmPaths("https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-backend-wasm/dist/"),
7228
+ (await import("./index_d197fdcb_3.3.0.js")).setBackend("wasm"),
7229
+ (await import("./index_d197fdcb_3.3.0.js")).ready(),
7230
+ (await import("./face_api_0e3ce8c8_3.3.0.js")).nets.tinyFaceDetector.load(e),
7231
+ (await import("./face_api_0e3ce8c8_3.3.0.js")).loadFaceLandmarkModel(e)
7232
7232
  ]);
7233
7233
  } catch {
7234
7234
  throw bi("WASM backend failed to load, face detection will be disabled"), new Error("Face detection failed to load");
@@ -7873,7 +7873,7 @@ async function wE(A, e, t, r) {
7873
7873
  const i = {
7874
7874
  audio: !1,
7875
7875
  video: {
7876
- deviceId: t ?? "",
7876
+ deviceId: t ? { exact: t } : void 0,
7877
7877
  facingMode: {},
7878
7878
  height: {
7879
7879
  min: 480,
@@ -10316,13 +10316,13 @@ async function iQ(A) {
10316
10316
  e = 0.2;
10317
10317
  break;
10318
10318
  }
10319
- return new (await import("./face_api_0e3ce8c8_3.3.0-RC12.js")).TinyFaceDetectorOptions({
10319
+ return new (await import("./face_api_0e3ce8c8_3.3.0.js")).TinyFaceDetectorOptions({
10320
10320
  scoreThreshold: e
10321
10321
  });
10322
10322
  }
10323
10323
  async function Kf(A, e, t, r = !1) {
10324
10324
  if (t) {
10325
- const l = (await import("./face_api_0e3ce8c8_3.3.0-RC12.js")).draw;
10325
+ const l = (await import("./face_api_0e3ce8c8_3.3.0.js")).draw;
10326
10326
  l.drawDetections(e, A), new l.DrawFaceLandmarks(A.landmarks, { pointColor: "gold" }).draw(e);
10327
10327
  }
10328
10328
  const i = A.landmarks.positions, o = oQ(i), n = await nQ(i), c = A.detection.box, s = await aQ(c, n, e, t);
@@ -10333,17 +10333,17 @@ function oQ(A) {
10333
10333
  return Ro(e, t);
10334
10334
  }
10335
10335
  async function nQ(A) {
10336
- const e = (await import("./face_api_0e3ce8c8_3.3.0-RC12.js")).Point;
10336
+ const e = (await import("./face_api_0e3ce8c8_3.3.0.js")).Point;
10337
10337
  let t = A[37].add(A[38]).add(A[40]).add(A[41]), r = A[43].add(A[44]).add(A[46]).add(A[47]);
10338
10338
  t = t.div(new e(4, 4)), r = r.div(new e(4, 4));
10339
10339
  const i = Ro(r, t);
10340
10340
  return ec.set(i), i;
10341
10341
  }
10342
10342
  async function aQ(A, e, t, r) {
10343
- const i = (await import("./face_api_0e3ce8c8_3.3.0-RC12.js")).Point;
10343
+ const i = (await import("./face_api_0e3ce8c8_3.3.0.js")).Point;
10344
10344
  let o = 2.5, n = 0.8;
10345
10345
  const c = A.topLeft.x - e, s = A.topLeft.y - o * e, l = A.bottomLeft.x - e, C = A.bottomLeft.y + n * e, h = A.bottomRight.x + e, b = A.bottomRight.y + e, v = Ro(new i(l, C), new i(c, s)), D = Ro(new i(l, C), new i(h, b)), U = t.getContext("2d");
10346
- return U.beginPath(), U.strokeStyle = "gold", Ac.set(new (await import("./face_api_0e3ce8c8_3.3.0-RC12.js")).Box({ x: c, y: s, width: D, height: v })), U.rect(c, s, D, v), r && U.stroke(), {
10346
+ return U.beginPath(), U.strokeStyle = "gold", Ac.set(new (await import("./face_api_0e3ce8c8_3.3.0.js")).Box({ x: c, y: s, width: D, height: v })), U.rect(c, s, D, v), r && U.stroke(), {
10347
10347
  topLeftX: A.topLeft.x,
10348
10348
  topLeftY: A.topLeft.y,
10349
10349
  bottomRightX: A.bottomRight.x,
@@ -10416,7 +10416,7 @@ async function BQ(A, e, t) {
10416
10416
  height: e.height * C
10417
10417
  }), b = document.createElement("canvas");
10418
10418
  b.width = h.width, b.height = h.height, b.getContext("2d")?.clearRect(0, 0, b.width, b.height), s && lQ(s, A, c);
10419
- const [D] = await (await import("./face_api_0e3ce8c8_3.3.0-RC12.js")).extractFaces(c, [h]);
10419
+ const [D] = await (await import("./face_api_0e3ce8c8_3.3.0.js")).extractFaces(c, [h]);
10420
10420
  return D;
10421
10421
  }
10422
10422
  function lQ(A, e, t) {
@@ -23324,7 +23324,7 @@ function hc(A) {
23324
23324
  return this;
23325
23325
  }
23326
23326
  async function pc(A, e) {
23327
- return await import("./fingersApi_6cb94a7e_3.3.0-RC12.js").then((t) => t.captureSingleFinger(A, e));
23327
+ return await import("./fingersApi_affad03e_3.3.0.js").then((t) => t.captureSingleFinger(A, e));
23328
23328
  }
23329
23329
  function Hd(A, e, t) {
23330
23330
  let r, i, o, n, c, s, l, C, h, b, v, D, U, f, P, W, Z, wA, IA, eA, cA, V, QA, GA, ge, Le, He, iA, Ge, ae, mA, le, Et, S, k;
@@ -23332,7 +23332,7 @@ function Hd(A, e, t) {
23332
23332
  let { lottie_color: oA = "71 89 124" } = e, { extension_name: tA = "BryWebExtension" } = e, { extension_url_chrome: uA } = e, { extension_url_mozilla: BA } = e, { min_nfiq_acceptable: fA = 3 } = e;
23333
23333
  kE(fA);
23334
23334
  let { show_theme_picker: aA = "true" } = e, { video_dimensions: DA } = e, { enable_minutiae: LA } = e, { collector_select: RA = "BOTH" } = e, { import_lottie: MA = "true" } = e, { hide_tabs: JA = "false" } = e, { import_extension_script: Ae = "false" } = e, { extension_url_script: FA } = e, { liveness_enable: ee = "false" } = e, { weights_path: se = "https://cdn.jsdelivr.net/npm/bry-biometric-collector@latest/dist/weights/" } = e, { evaluate_photo: ZA = "true" } = e, { show_capture_button: de = "true" } = e, { show_unconformities: YA = "true" } = e, { video_overlay: HA = "white" } = e, { video_overlay_transparency: Ke = 0 } = e, { show_config_button: Ce = "true" } = e, { show_auto_capture_button: At = "false" } = e, { show_camera_button: De = "true" } = e, { language: $A = yI() } = e, { show_justification_field: vA = "true" } = e, { min_eye_to_eye_dist: ve = 0 } = e, { show_watermark: Oe = "true" } = e, { face_detection_sensitivity: dA = "permissive" } = e, { hidden: kA = "false" } = e, { liveness_blob_size: jA = "normal" } = e, { camera_device_id: ct = "" } = e;
23335
- Wr("en", () => import("./en-us_c02e99cd_3.3.0-RC12.js")), Wr("pt", () => import("./pt-br_e7d46668_3.3.0-RC12.js")), Wr("es", () => import("./es-cl_6f3eda53_3.3.0-RC12.js")), Nn({
23335
+ Wr("en", () => import("./en-us_c02e99cd_3.3.0.js")), Wr("pt", () => import("./pt-br_e7d46668_3.3.0.js")), Wr("es", () => import("./es-cl_6f3eda53_3.3.0.js")), Nn({
23336
23336
  fallbackLocale: "pt",
23337
23337
  initialLocale: $A
23338
23338
  });
@@ -23552,13 +23552,13 @@ function Hd(A, e, t) {
23552
23552
  return bA(Pn, C = w, C), this;
23553
23553
  }
23554
23554
  async function Ut() {
23555
- return t(29, sr = (await import("./FaceCollector_5bbbd0a5_3.3.0-RC12.js")).default), this;
23555
+ return t(29, sr = (await import("./FaceCollector_ef8c1d72_3.3.0.js")).default), this;
23556
23556
  }
23557
23557
  async function Cr() {
23558
- return t(31, St = (await import("./DocumentCollector_fb098cab_3.3.0-RC12.js")).default), this;
23558
+ return t(31, St = (await import("./DocumentCollector_8466b150_3.3.0.js")).default), this;
23559
23559
  }
23560
23560
  async function Bt() {
23561
- return t(32, fe = (await import("./StreamCollector_092dcb0f_3.3.0-RC12.js")).default), this;
23561
+ return t(32, fe = (await import("./StreamCollector_786a300a_3.3.0.js")).default), this;
23562
23562
  }
23563
23563
  function Lt(w) {
23564
23564
  Tt(w);
@@ -24265,9 +24265,9 @@ class wc extends ye {
24265
24265
  }
24266
24266
  }
24267
24267
  customElements.define("biometric-collector", wc);
24268
- Wr("en", () => import("./en-us_c02e99cd_3.3.0-RC12.js"));
24269
- Wr("pt", () => import("./pt-br_e7d46668_3.3.0-RC12.js"));
24270
- Wr("es", () => import("./es-cl_6f3eda53_3.3.0-RC12.js"));
24268
+ Wr("en", () => import("./en-us_c02e99cd_3.3.0.js"));
24269
+ Wr("pt", () => import("./pt-br_e7d46668_3.3.0.js"));
24270
+ Wr("es", () => import("./es-cl_6f3eda53_3.3.0.js"));
24271
24271
  Nn({
24272
24272
  fallbackLocale: "pt",
24273
24273
  initialLocale: yI()
@@ -24404,8 +24404,7 @@ export {
24404
24404
  oe as b7,
24405
24405
  Jt as b8,
24406
24406
  Pf as b9,
24407
- sf as bA,
24408
- Of as bB,
24407
+ Of as bA,
24409
24408
  Bf as ba,
24410
24409
  lf as bb,
24411
24410
  me as bc,
@@ -24420,18 +24419,18 @@ export {
24420
24419
  Cf as bl,
24421
24420
  rc as bm,
24422
24421
  pf as bn,
24423
- wE as bo,
24424
- Jf as bp,
24425
- sQ as bq,
24426
- EE as br,
24427
- un as bs,
24428
- _a as bt,
24429
- $a as bu,
24430
- MB as bv,
24431
- ic as bw,
24432
- tc as bx,
24433
- _e as by,
24434
- Ws as bz,
24422
+ Jf as bo,
24423
+ sQ as bp,
24424
+ EE as bq,
24425
+ un as br,
24426
+ _a as bs,
24427
+ $a as bt,
24428
+ MB as bu,
24429
+ ic as bv,
24430
+ tc as bw,
24431
+ _e as bx,
24432
+ Ws as by,
24433
+ sf as bz,
24435
24434
  yA as c,
24436
24435
  bi as d,
24437
24436
  IE as e,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "bry-biometric-collector",
3
3
  "private": false,
4
4
  "description": "BRy web-collector component for biometric capture.",
5
- "version": "3.3.0-RC12",
5
+ "version": "3.3.0",
6
6
  "main": "dist/bry-biometric-collector-main.js",
7
7
  "type": "module",
8
8
  "license": "UNLICENSED",