bry-biometric-collector 2.5.0 → 2.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{DocumentCollector_a64c974d_2.5.0.js → DocumentCollector_72fa39f4_2.5.1.js} +4 -4
- package/dist/{FaceCollector_65f36037_2.5.0.js → FaceCollector_c27c1f38_2.5.1.js} +124 -107
- package/dist/{TakePictureBtn_746cd059_2.5.0.js → TakePictureBtn_9e8dbf87_2.5.1.js} +1 -1
- package/dist/{___vite-browser-external_commonjs-proxy_00458647_2.5.0.js → ___vite-browser-external_commonjs-proxy_3e7f0646_2.5.1.js} +1 -1
- package/dist/bry-biometric-collector-main.js +2 -2
- package/dist/{fingersApi_83f12fc4_2.5.0.js → fingersApi_feb4df00_2.5.1.js} +2 -2
- package/dist/index.js +2 -2
- package/dist/{index_fd15b978_2.5.0.js → index_4a117773_2.5.1.js} +3 -3
- package/dist/{index_be00af4f_2.5.0.js → index_6ae4f794_2.5.1.js} +3 -3
- package/dist/{main_c6f26308_2.5.0.js → main_2fb3a060_2.5.1.js} +20 -20
- package/package.json +1 -1
- /package/dist/{en-us_99b30d39_2.5.0.js → en-us_99b30d39_2.5.1.js} +0 -0
- /package/dist/{es-cl_cfa50670_2.5.0.js → es-cl_cfa50670_2.5.1.js} +0 -0
- /package/dist/{face_api_0e3ce8c8_2.5.0.js → face_api_0e3ce8c8_2.5.1.js} +0 -0
- /package/dist/{index-no-detector_281a271b_2.5.0.js → index-no-detector_281a271b_2.5.1.js} +0 -0
- /package/dist/{index-no-detector_56051121_2.5.0.js → index-no-detector_56051121_2.5.1.js} +0 -0
- /package/dist/{pt-br_d5ca6103_2.5.0.js → pt-br_d5ca6103_2.5.1.js} +0 -0
@@ -1,6 +1,6 @@
|
|
1
|
-
import { S as Ut, q as Yt, r as bt, t as Xt, w as U, x as p, z as ae, aX as Be, B as g, b9 as ge, D as h, H as G, I as D, a4 as Te, ba as ke, L as se, N as Y, O as B, bb as Ti, P as H, Q as De, R as J, T as ye, U as nt, V as Ze, W as te, X as We, Y as ki, Z as Fe, a0 as zi, _ as ve, a1 as He, a2 as lt, a3 as At, J as Tt, a8 as Ue, aa as ct, ab as Oi, ac as kt, ad as Ye, $ as Ri, a7 as rt, af as zt, ah as ut, an as ji, ao as Li, aq as Pi, ar as Si, K as u, as as Ei, au as dt, av as me, j as Zi, aw as ft, aH as Wi, d as Xe, aI as Ot, aJ as gt, aK as Fi, ay as ht, aL as Hi, aM as Ui, aN as Yi, C as he, aO as Xi, at as Bi, aP as Gi, aQ as Ne, aR as Qi, E as ze, aU as Oe, aV as Re, aW as je, aT as Vi, y as oe, G as ne, aY as Ji, aS as Bt, aZ as Rt, a_ as Ki, aB as qi, b1 as Ae, bc as xi } from "./
|
2
|
-
import { C as $i, T as es, a as ts } from "./
|
3
|
-
import "./face_api_0e3ce8c8_2.5.
|
1
|
+
import { S as Ut, q as Yt, r as bt, t as Xt, w as U, x as p, z as ae, aX as Be, B as g, b9 as ge, D as h, H as G, I as D, a4 as Te, ba as ke, L as se, N as Y, O as B, bb as Ti, P as H, Q as De, R as J, T as ye, U as nt, V as Ze, W as te, X as We, Y as ki, Z as Fe, a0 as zi, _ as ve, a1 as He, a2 as lt, a3 as At, J as Tt, a8 as Ue, aa as ct, ab as Oi, ac as kt, ad as Ye, $ as Ri, a7 as rt, af as zt, ah as ut, an as ji, ao as Li, aq as Pi, ar as Si, K as u, as as Ei, au as dt, av as me, j as Zi, aw as ft, aH as Wi, d as Xe, aI as Ot, aJ as gt, aK as Fi, ay as ht, aL as Hi, aM as Ui, aN as Yi, C as he, aO as Xi, at as Bi, aP as Gi, aQ as Ne, aR as Qi, E as ze, aU as Oe, aV as Re, aW as je, aT as Vi, y as oe, G as ne, aY as Ji, aS as Bt, aZ as Rt, a_ as Ki, aB as qi, b1 as Ae, bc as xi } from "./main_2fb3a060_2.5.1.js";
|
2
|
+
import { C as $i, T as es, a as ts } from "./TakePictureBtn_9e8dbf87_2.5.1.js";
|
3
|
+
import "./face_api_0e3ce8c8_2.5.1.js";
|
4
4
|
const is = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIwNiIgaGVpZ2h0PSI4OTAiIHZpZXdCb3g9IjAgMCAxMjA2IDg5MCIgZmlsbD0ibm9uZSIgb3BhY2l0eT0iMC4yIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogICAgPGcgZmlsdGVyPSJ1cmwoI2ZpbHRlcjBfZF8xOF80KSIgb3BhY2l0eT0iMCI+CiAgICA8bWFzayBpZD0icGF0aC0xLWluc2lkZS0xXzE4XzQiIGZpbGw9IndoaXRlIj4KICAgIDxyZWN0IHg9IjQiIHdpZHRoPSIxMTk4IiBoZWlnaHQ9Ijg4MiIgcng9IjYiLz4KICAgIDwvbWFzaz4KICAgIDxyZWN0IHg9IjQiIHdpZHRoPSIxMTk4IiBoZWlnaHQ9Ijg4MiIgcng9IjYiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS1vcGFjaXR5PSIwLjkiIHN0cm9rZS13aWR0aD0iMTYiIHNoYXBlLXJlbmRlcmluZz0iY3Jpc3BFZGdlcyIgbWFzaz0idXJsKCNwYXRoLTEtaW5zaWRlLTFfMThfNCkiLz4KICAgIDwvZz4KICAgIDxtYXNrIGlkPSJwYXRoLTItaW5zaWRlLTJfMThfNCIgZmlsbD0id2hpdGUiPgogICAgPHJlY3QgeD0iMjE5LjI3OCIgeT0iMjk2IiB3aWR0aD0iMzM4Ljg2MyIgaGVpZ2h0PSI0NjgiIHJ4PSI3Ii8+CiAgICA8L21hc2s+CiAgICA8cmVjdCB4PSIyMTkuMjc4IiB5PSIyOTYiIHdpZHRoPSIzMzguODYzIiBoZWlnaHQ9IjQ2OCIgcng9IjciIHN0cm9rZT0id2hpdGUiIHN0cm9rZS1vcGFjaXR5PSIwLjkiIHN0cm9rZS13aWR0aD0iMTYiIG1hc2s9InVybCgjcGF0aC0yLWluc2lkZS0yXzE4XzQpIi8+CiAgICA8ZWxsaXBzZSBjeD0iMzg5LjIzOCIgY3k9IjUxMS4yMjgiIHJ4PSI4Ni4yMzc2IiByeT0iODUuMjI4NCIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC4wOCIvPgogICAgPHBhdGggZD0iTTQ3MS40NzUgNTExLjIyOEM0NzEuNDc1IDU1Ni4wNDUgNDM0LjcwMSA1OTIuNDU3IDM4OS4yMzggNTkyLjQ1N0MzNDMuNzc0IDU5Mi40NTcgMzA3IDU1Ni4wNDUgMzA3IDUxMS4yMjhDMzA3IDQ2Ni40MTEgMzQzLjc3NCA0MzAgMzg5LjIzOCA0MzBDNDM0LjcwMSA0MzAgNDcxLjQ3NSA0NjYuNDExIDQ3MS40NzUgNTExLjIyOFoiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS1vcGFjaXR5PSIwLjkiIHN0cm9rZS13aWR0aD0iOCIvPgogICAgPHBhdGggZD0iTTM4Ny4zOCA2MDhDNTM1LjI2IDYwOCA1MzkuODggNzQzLjQ3MyA1MzkuODggNzQzLjQ3M0wyMzkgNzQzLjVDMjM5IDc0My41IDIzOS41IDYwOCAzODcuMzggNjA4WiIgZmlsbD0id2hpdGUiIGZpbGwtb3BhY2l0eT0iMC4wOCIvPgogICAgPHBhdGggZD0iTTM4Ny4zOCA2MTJDNDU5Ljc5NCA2MTIgNDk2LjY0OSA2NDUuMDIgNTE1LjYyNSA2NzcuNzQzQzUyNS4xOCA2OTQuMjIgNTMwLjI1NSA3MTAuNzMzIDUzMi45MzggNzIzLjE1QzUzNC4yNzggNzI5LjM1MSA1MzUuMDE2IDczNC41MDggNTM1LjQxOCA3MzguMDk4QzUzNS40NzMgNzM4LjU4NiA1MzUuNTIxIDczOS4wNDUgNTM1LjU2NCA3MzkuNDc0TDI0My4xODQgNzM5LjVDMjQzLjIxNiA3MzkuMDM3IDI0My4yNTMgNzM4LjUzOCAyNDMuMjk3IDczOC4wMDNDMjQzLjU5IDczNC40MTQgMjQ0LjE3MSA3MjkuMjU4IDI0NS4zMjIgNzIzLjA1OEMyNDcuNjI2IDcxMC42NDIgMjUyLjE5NyA2OTQuMTM4IDI2MS4yNDEgNjc3LjY3NkMyNzAuMjczIDY2MS4yMzYgMjgzLjc0OCA2NDQuODY0IDMwMy44OTEgNjMyLjU4N0MzMjQuMDI0IDYyMC4zMTYgMzUxLjA0MiA2MTIgMzg3LjM4IDYxMloiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS1vcGFjaXR5PSIwLjkiIHN0cm9rZS13aWR0aD0iOCIvPgogICAgPGRlZnM+CiAgICA8ZmlsdGVyIGlkPSJmaWx0ZXIwX2RfMThfNCIgeD0iMCIgeT0iMCIgd2lkdGg9IjEyMDYiIGhlaWdodD0iODkwIiBmaWx0ZXJVbml0cz0idXNlclNwYWNlT25Vc2UiIGNvbG9yLWludGVycG9sYXRpb24tZmlsdGVycz0ic1JHQiI+CiAgICA8ZmVGbG9vZCBmbG9vZC1vcGFjaXR5PSIwIiByZXN1bHQ9IkJhY2tncm91bmRJbWFnZUZpeCIvPgogICAgPGZlQ29sb3JNYXRyaXggaW49IlNvdXJjZUFscGhhIiB0eXBlPSJtYXRyaXgiIHZhbHVlcz0iMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMTI3IDAiIHJlc3VsdD0iaGFyZEFscGhhIi8+CiAgICA8ZmVPZmZzZXQgZHk9IjQiLz4KICAgIDxmZUdhdXNzaWFuQmx1ciBzdGREZXZpYXRpb249IjIiLz4KICAgIDxmZUNvbXBvc2l0ZSBpbjI9ImhhcmRBbHBoYSIgb3BlcmF0b3I9Im91dCIvPgogICAgPGZlQ29sb3JNYXRyaXggdHlwZT0ibWF0cml4IiB2YWx1ZXM9IjAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAuMjUgMCIvPgogICAgPGZlQmxlbmQgbW9kZT0ibm9ybWFsIiBpbjI9IkJhY2tncm91bmRJbWFnZUZpeCIgcmVzdWx0PSJlZmZlY3QxX2Ryb3BTaGFkb3dfMThfNCIvPgogICAgPGZlQmxlbmQgbW9kZT0ibm9ybWFsIiBpbj0iU291cmNlR3JhcGhpYyIgaW4yPSJlZmZlY3QxX2Ryb3BTaGFkb3dfMThfNCIgcmVzdWx0PSJzaGFwZSIvPgogICAgPC9maWx0ZXI+CiAgICA8L2RlZnM+CiAgICA8L3N2Zz4KICAgIA==";
|
5
5
|
function ss(a) {
|
6
6
|
let e, i, s, o;
|
@@ -919,7 +919,7 @@ function Is(a, e, i) {
|
|
919
919
|
try {
|
920
920
|
if (Ve >= bs) {
|
921
921
|
Ve = 0;
|
922
|
-
const b = await Bi(), r = await import("./face_api_0e3ce8c8_2.5.
|
922
|
+
const b = await Bi(), r = await import("./face_api_0e3ce8c8_2.5.1.js");
|
923
923
|
let v;
|
924
924
|
v = r.detectSingleFace(z, b), t = await v.withFaceLandmarks(), y.getContext("2d")?.clearRect(0, 0, y.width, y.height), t != null ? (Gi(t, y, l, !0), u(Ze, n = !0, n), xe = (/* @__PURE__ */ new Date()).getTime()) : Kt();
|
925
925
|
} else
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { S as Vi, q as Hi, r as ti, t as Ki, w as F, x as p, y as D, z as re, B as d, C as Ie, D as c, E as _e, G as B, H as S, I as L, J as It, $ as ji, K as f, L as ce, M as j, N as K, O as P, P as Y, Q as qe, R as te, T as ze, U as zt, V as _t, W as ie, X as gt, Y as Ta, Z as pt, _ as Oe, a0 as Oa, a1 as it, a2 as Jt, a3 as mi, a4 as vt, a5 as Aa, a6 as Ia, a7 as at, a8 as Ne, a9 as La, aa as Xt, ab as Qt, ac as Ae, ad as fe, ae as Me, af as bi, ag as wt, ah as Yt, ai as Fa, aj as Ct, ak as _i, al as gi, am as Et, an as Da, ao as Pa, ap as Sa, aq as Na, ar as Ma, as as Wa, at as Ba, au as Gt, av as Q, j as At, aw as Zt, ax as Ua, ay as yt, az as kt, aA as Va, aB as pi, aC as vi, aD as Rt, A as xt, aE as We, aF as Tt, aG as Ha, aH as wi, d as He, aI as $t, aJ as Ot, aK as Ka, aL as ja, aM as qa, aN as za, aO as Ja, aP as Xa, aQ as Ke, aR as Qa, aS as Dt, aT as Ya, aU as Je, aV as Xe, aW as Qe, aX as Lt, aY as qi, aZ as Ci, a_ as Ga, a$ as Za, b0 as xa, b1 as je, b2 as st, b3 as $a, b4 as es, b5 as Ei, b6 as ts, b7 as Ft, b8 as is } from "./
|
2
|
-
import { C as as, T as ss, a as ns } from "./
|
3
|
-
import { detectSingleFace as os, Box as ls } from "./face_api_0e3ce8c8_2.5.
|
1
|
+
import { S as Vi, q as Hi, r as ti, t as Ki, w as F, x as p, y as D, z as re, B as d, C as Ie, D as c, E as _e, G as B, H as S, I as L, J as It, $ as ji, K as f, L as ce, M as j, N as K, O as P, P as Y, Q as qe, R as te, T as ze, U as zt, V as _t, W as ie, X as gt, Y as Ta, Z as pt, _ as Oe, a0 as Oa, a1 as it, a2 as Jt, a3 as mi, a4 as vt, a5 as Aa, a6 as Ia, a7 as at, a8 as Ne, a9 as La, aa as Xt, ab as Qt, ac as Ae, ad as fe, ae as Me, af as bi, ag as wt, ah as Yt, ai as Fa, aj as Ct, ak as _i, al as gi, am as Et, an as Da, ao as Pa, ap as Sa, aq as Na, ar as Ma, as as Wa, at as Ba, au as Gt, av as Q, j as At, aw as Zt, ax as Ua, ay as yt, az as kt, aA as Va, aB as pi, aC as vi, aD as Rt, A as xt, aE as We, aF as Tt, aG as Ha, aH as wi, d as He, aI as $t, aJ as Ot, aK as Ka, aL as ja, aM as qa, aN as za, aO as Ja, aP as Xa, aQ as Ke, aR as Qa, aS as Dt, aT as Ya, aU as Je, aV as Xe, aW as Qe, aX as Lt, aY as qi, aZ as Ci, a_ as Ga, a$ as Za, b0 as xa, b1 as je, b2 as st, b3 as $a, b4 as es, b5 as Ei, b6 as ts, b7 as Ft, b8 as is } from "./main_2fb3a060_2.5.1.js";
|
2
|
+
import { C as as, T as ss, a as ns } from "./TakePictureBtn_9e8dbf87_2.5.1.js";
|
3
|
+
import { detectSingleFace as os, Box as ls } from "./face_api_0e3ce8c8_2.5.1.js";
|
4
4
|
function rs(a) {
|
5
5
|
let e, t, s = (
|
6
6
|
/*$_*/
|
@@ -516,9 +516,9 @@ function _s(a) {
|
|
516
516
|
m[24] || !/*$showFaceWhileValidating*/
|
517
517
|
m[36] && /*$unconformitiesStore*/
|
518
518
|
m[32].isLoading)) && (t.hidden = n);
|
519
|
-
let
|
520
|
-
l = v(m), l ===
|
521
|
-
E[
|
519
|
+
let b = l;
|
520
|
+
l = v(m), l === b ? E[l].p(m, T) : (qe(), te(E[b], 1, 1, () => {
|
521
|
+
E[b] = null;
|
522
522
|
}), ze(), r = E[l], r ? r.p(m, T) : (r = E[l] = g[l](m), r.c()), Y(r, 1), r.m(e, null)), (!h || T[1] & /*$showFaceWhileValidating, $unconformitiesStore*/
|
523
523
|
34 && u !== (u = "grid-cols-1 grid-rows-2 sm:grid-cols-2 sm:grid-rows-1 gap-[.5em] " + (!/*$showFaceWhileValidating*/
|
524
524
|
m[36] && /*$unconformitiesStore*/
|
@@ -542,7 +542,7 @@ function gs(a) {
|
|
542
542
|
), n, o, l, r, u, h = (
|
543
543
|
/*$_*/
|
544
544
|
a[31]("faceCollector.retakePhoto") + ""
|
545
|
-
), g, E, v = At($a).faceStrategy !== es.DISABLED, m, T,
|
545
|
+
), g, E, v = At($a).faceStrategy !== es.DISABLED, m, T, b, y = (
|
546
546
|
/*$unconformitiesStore*/
|
547
547
|
a[32].unconformities.length !== 0 && Si(a)
|
548
548
|
), R = v && Es();
|
@@ -552,7 +552,7 @@ function gs(a) {
|
|
552
552
|
a[37]);
|
553
553
|
},
|
554
554
|
m(M, N) {
|
555
|
-
F(M, e, N), c(e, t), c(t, n), c(e, o), y && y.m(e, null), c(e, l), c(e, r), c(r, u), c(u, g), c(r, E), R && R.m(r, null), m = !0, T || (
|
555
|
+
F(M, e, N), c(e, t), c(t, n), c(e, o), y && y.m(e, null), c(e, l), c(e, r), c(r, u), c(u, g), c(r, E), R && R.m(r, null), m = !0, T || (b = _e(
|
556
556
|
u,
|
557
557
|
"click",
|
558
558
|
/*click_handler_6*/
|
@@ -576,7 +576,7 @@ function gs(a) {
|
|
576
576
|
te(R), m = !1;
|
577
577
|
},
|
578
578
|
d(M) {
|
579
|
-
M && S(e), y && y.d(), R && R.d(), T = !1,
|
579
|
+
M && S(e), y && y.d(), R && R.d(), T = !1, b();
|
580
580
|
}
|
581
581
|
};
|
582
582
|
}
|
@@ -584,8 +584,14 @@ function ps(a) {
|
|
584
584
|
let e, t, s = (
|
585
585
|
/*evaluatePhoto*/
|
586
586
|
(a[2] ? (
|
587
|
-
/*$
|
588
|
-
a[
|
587
|
+
/*$unconformitiesStore*/
|
588
|
+
a[32].unconformities.length === 0 ? (
|
589
|
+
/*$_*/
|
590
|
+
a[31]("faceCollector.everythingOk")
|
591
|
+
) : (
|
592
|
+
/*$_*/
|
593
|
+
a[31]("faceCollector.unconformities")
|
594
|
+
)
|
589
595
|
) : (
|
590
596
|
/*$_*/
|
591
597
|
a[31]("faceCollector.previewCapture")
|
@@ -594,8 +600,8 @@ function ps(a) {
|
|
594
600
|
/*$unconformitiesStore*/
|
595
601
|
a[32].unconformities
|
596
602
|
), E = [];
|
597
|
-
for (let
|
598
|
-
E[
|
603
|
+
for (let b = 0; b < g.length; b += 1)
|
604
|
+
E[b] = Ni(yi(a, g, b));
|
599
605
|
let v = (
|
600
606
|
/*evaluatePhoto*/
|
601
607
|
a[2] && /*$unconformitiesStore*/
|
@@ -611,33 +617,39 @@ function ps(a) {
|
|
611
617
|
return {
|
612
618
|
c() {
|
613
619
|
e = p("div"), t = p("h1"), n = D(s), o = P(), l = p("div");
|
614
|
-
for (let
|
615
|
-
E[
|
620
|
+
for (let b = 0; b < E.length; b += 1)
|
621
|
+
E[b].c();
|
616
622
|
r = P(), v && v.c(), u = P(), m && m.c(), h = P(), T && T.c(), d(t, "class", "text-3xl font-bold transition-opacity"), d(l, "class", "flex flex-wrap"), d(e, "class", "flex flex-col justify-between");
|
617
623
|
},
|
618
|
-
m(
|
619
|
-
F(
|
624
|
+
m(b, y) {
|
625
|
+
F(b, e, y), c(e, t), c(t, n), c(e, o), c(e, l);
|
620
626
|
for (let R = 0; R < E.length; R += 1)
|
621
627
|
E[R] && E[R].m(l, null);
|
622
628
|
c(l, r), v && v.m(l, null), c(e, u), m && m.m(e, null), c(e, h), T && T.m(e, null);
|
623
629
|
},
|
624
|
-
p(
|
630
|
+
p(b, y) {
|
625
631
|
if (y[0] & /*evaluatePhoto*/
|
626
|
-
4 | y[1] & /*$_*/
|
627
|
-
|
628
|
-
(
|
629
|
-
/*$
|
630
|
-
|
632
|
+
4 | y[1] & /*$unconformitiesStore, $_*/
|
633
|
+
3 && s !== (s = /*evaluatePhoto*/
|
634
|
+
(b[2] ? (
|
635
|
+
/*$unconformitiesStore*/
|
636
|
+
b[32].unconformities.length === 0 ? (
|
637
|
+
/*$_*/
|
638
|
+
b[31]("faceCollector.everythingOk")
|
639
|
+
) : (
|
640
|
+
/*$_*/
|
641
|
+
b[31]("faceCollector.unconformities")
|
642
|
+
)
|
631
643
|
) : (
|
632
644
|
/*$_*/
|
633
|
-
|
645
|
+
b[31]("faceCollector.previewCapture")
|
634
646
|
)) + "") && B(n, s), y[1] & /*$unconformitiesStore*/
|
635
647
|
2) {
|
636
648
|
g = /*$unconformitiesStore*/
|
637
|
-
|
649
|
+
b[32].unconformities;
|
638
650
|
let R;
|
639
651
|
for (R = 0; R < g.length; R += 1) {
|
640
|
-
const M = yi(
|
652
|
+
const M = yi(b, g, R);
|
641
653
|
E[R] ? E[R].p(M, y) : (E[R] = Ni(M), E[R].c(), E[R].m(l, r));
|
642
654
|
}
|
643
655
|
for (; R < E.length; R += 1)
|
@@ -645,16 +657,16 @@ function ps(a) {
|
|
645
657
|
E.length = g.length;
|
646
658
|
}
|
647
659
|
/*evaluatePhoto*/
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
660
|
+
b[2] && /*$unconformitiesStore*/
|
661
|
+
b[32].unconformities.length == 0 ? v ? v.p(b, y) : (v = Mi(b), v.c(), v.m(l, null)) : v && (v.d(1), v = null), /*showJustificationField*/
|
662
|
+
b[7] && /*$unconformitiesStore*/
|
663
|
+
b[32].unconformities.length > 0 ? m ? m.p(b, y) : (m = Wi(b), m.c(), m.m(e, h)) : m && (m.d(1), m = null), /*$captured*/
|
664
|
+
b[24] ? T ? T.p(b, y) : (T = Bi(b), T.c(), T.m(e, null)) : T && (T.d(1), T = null);
|
653
665
|
},
|
654
666
|
i: re,
|
655
667
|
o: re,
|
656
|
-
d(
|
657
|
-
|
668
|
+
d(b) {
|
669
|
+
b && S(e), ts(E, b), v && v.d(), m && m.d(), T && T.d();
|
658
670
|
}
|
659
671
|
};
|
660
672
|
}
|
@@ -686,13 +698,13 @@ function vs(a) {
|
|
686
698
|
)
|
687
699
|
);
|
688
700
|
}
|
689
|
-
let T = m(a),
|
701
|
+
let T = m(a), b = T(a);
|
690
702
|
return {
|
691
703
|
c() {
|
692
|
-
e = p("div"),
|
704
|
+
e = p("div"), b.c(), t = P(), s = p("div"), n = p("button"), l = D(o), r = P(), u = p("button"), g = D(h), n.disabled = !0, d(n, "class", "ce-dui-btn ce-dui-btn-primary ce-dui-btn-block flex-shrink"), d(u, "id", "bry-cc-retake-button"), d(u, "class", "ce-dui-btn ce-dui-btn-block ce-dui-btn-outline flex-shrink"), d(s, "class", "ce-dui-btn-group flex"), d(e, "class", "flex flex-col justify-between");
|
693
705
|
},
|
694
706
|
m(y, R) {
|
695
|
-
F(y, e, R),
|
707
|
+
F(y, e, R), b.m(e, null), c(e, t), c(e, s), c(s, n), c(n, l), c(s, r), c(s, u), c(u, g), E || (v = [
|
696
708
|
_e(
|
697
709
|
n,
|
698
710
|
"click",
|
@@ -708,7 +720,7 @@ function vs(a) {
|
|
708
720
|
], E = !0);
|
709
721
|
},
|
710
722
|
p(y, R) {
|
711
|
-
T === (T = m(y)) &&
|
723
|
+
T === (T = m(y)) && b ? b.p(y, R) : (b.d(1), b = T(y), b && (b.c(), b.m(e, t))), R[1] & /*$_*/
|
712
724
|
1 && o !== (o = /*$_*/
|
713
725
|
y[31]("faceCollector.finish") + "") && B(l, o), R[1] & /*$_*/
|
714
726
|
1 && h !== (h = /*$_*/
|
@@ -717,7 +729,7 @@ function vs(a) {
|
|
717
729
|
i: re,
|
718
730
|
o: re,
|
719
731
|
d(y) {
|
720
|
-
y && S(e),
|
732
|
+
y && S(e), b.d(), E = !1, Dt(v);
|
721
733
|
}
|
722
734
|
};
|
723
735
|
}
|
@@ -871,10 +883,10 @@ function Wi(a) {
|
|
871
883
|
), o, l, r, u, h, g, E, v, m = (
|
872
884
|
/*$_*/
|
873
885
|
a[31]("faceCollector.thisInformationIsRequired") + ""
|
874
|
-
), T,
|
886
|
+
), T, b, y, R;
|
875
887
|
return {
|
876
888
|
c() {
|
877
|
-
e = p("div"), t = p("label"), s = p("span"), o = D(n), l = P(), r = p("textarea"), h = P(), g = p("label"), E = p("span"), v = D("("), T = D(m),
|
889
|
+
e = p("div"), t = p("label"), s = p("span"), o = D(n), l = P(), r = p("textarea"), h = P(), g = p("label"), E = p("span"), v = D("("), T = D(m), b = D(")"), d(s, "class", "ce-dui-label-text text-base"), d(t, "class", "ce-dui-label"), d(t, "for", "justification"), d(r, "contenteditable", ""), d(r, "id", "justification"), d(r, "class", "ce-dui-textarea ce-dui-textarea-bordered h-[6em] text-base"), d(r, "placeholder", u = /*$_*/
|
878
890
|
a[31]("faceCollector.yourJustification")), d(E, "class", "ce-dui-label-text-alt text-base"), d(g, "class", "ce-dui-label"), d(g, "for", "justification"), d(e, "class", "ce-dui-form-control");
|
879
891
|
},
|
880
892
|
m(M, N) {
|
@@ -882,7 +894,7 @@ function Wi(a) {
|
|
882
894
|
r,
|
883
895
|
/*$justification*/
|
884
896
|
a[28]
|
885
|
-
), c(e, h), c(e, g), c(g, E), c(E, v), c(E, T), c(E,
|
897
|
+
), c(e, h), c(e, g), c(g, E), c(E, v), c(E, T), c(E, b), y || (R = _e(
|
886
898
|
r,
|
887
899
|
"input",
|
888
900
|
/*textarea_input_handler*/
|
@@ -918,9 +930,11 @@ function Bi(a) {
|
|
918
930
|
), h, g, E;
|
919
931
|
return {
|
920
932
|
c() {
|
921
|
-
e = p("div"), t = p("button"), n = D(s), l = P(), r = p("button"), h = D(u), t.disabled = o =
|
922
|
-
a[
|
923
|
-
a[7]
|
933
|
+
e = p("div"), t = p("button"), n = D(s), l = P(), r = p("button"), h = D(u), t.disabled = o = /*evaluatePhoto*/
|
934
|
+
a[2] && /*showJustificationField*/
|
935
|
+
a[7] && /*$justification*/
|
936
|
+
a[28].length === 0 && /*$unconformitiesStore*/
|
937
|
+
a[32].unconformities.length !== 0, d(t, "class", "ce-dui-btn ce-dui-btn-primary ce-dui-btn-block flex-shrink text-base"), d(r, "id", "bry-cc-retake-button"), d(r, "class", "ce-dui-btn ce-dui-btn-block ce-dui-btn-outline flex-shrink text-base"), d(e, "class", "ce-dui-btn-group flex");
|
924
938
|
},
|
925
939
|
m(v, m) {
|
926
940
|
F(v, e, m), c(e, t), c(t, n), c(e, l), c(e, r), c(r, h), g || (E = [
|
@@ -941,10 +955,13 @@ function Bi(a) {
|
|
941
955
|
p(v, m) {
|
942
956
|
m[1] & /*$_*/
|
943
957
|
1 && s !== (s = /*$_*/
|
944
|
-
v[31]("faceCollector.finish") + "") && B(n, s), m[0] &
|
945
|
-
|
946
|
-
|
947
|
-
v[
|
958
|
+
v[31]("faceCollector.finish") + "") && B(n, s), m[0] & /*evaluatePhoto, showJustificationField, $justification*/
|
959
|
+
268435588 | m[1] & /*$unconformitiesStore*/
|
960
|
+
2 && o !== (o = /*evaluatePhoto*/
|
961
|
+
v[2] && /*showJustificationField*/
|
962
|
+
v[7] && /*$justification*/
|
963
|
+
v[28].length === 0 && /*$unconformitiesStore*/
|
964
|
+
v[32].unconformities.length !== 0) && (t.disabled = o), m[1] & /*$_*/
|
948
965
|
1 && u !== (u = /*$_*/
|
949
966
|
v[31]("faceCollector.retakePhoto") + "") && B(h, u);
|
950
967
|
},
|
@@ -1106,7 +1123,7 @@ function Is(a) {
|
|
1106
1123
|
let e, t, s, n, o = j(), l, r = (
|
1107
1124
|
/*unique*/
|
1108
1125
|
a[13]
|
1109
|
-
), u, h, g, E, v, m, T,
|
1126
|
+
), u, h, g, E, v, m, T, b, y, R, M, N, Z, Le, ke, ge = j() && /*waitingIdrndCaptureEvent*/
|
1110
1127
|
a[19], X, I = (j() && /*idrndLoading*/
|
1111
1128
|
(a[17] || !/*$ready*/
|
1112
1129
|
a[22]) || !j() && !/*$ready*/
|
@@ -1153,7 +1170,7 @@ function Is(a) {
|
|
1153
1170
|
}
|
1154
1171
|
return ~(q = Re(a)) && (z = Ce[q] = we[q](a)), {
|
1155
1172
|
c() {
|
1156
|
-
e = p("div"), t = p("div"), s = p("div"), n = p("div"), pe && pe.c(), l = P(), ve.c(), u = P(), x && x.c(), h = P(), $ && $.c(), g = P(), ee && ee.c(), E = P(), H && H.c(), v = P(), m = p("canvas"), T = P(),
|
1173
|
+
e = p("div"), t = p("div"), s = p("div"), n = p("div"), pe && pe.c(), l = P(), ve.c(), u = P(), x && x.c(), h = P(), $ && $.c(), g = P(), ee && ee.c(), E = P(), H && H.c(), v = P(), m = p("canvas"), T = P(), b = p("canvas"), y = P(), R = p("canvas"), M = P(), se && se.c(), N = P(), ne && ne.c(), ke = P(), oe && oe.c(), X = P(), k && k.c(), Ee = P(), U && U.c(), ae = P(), z && z.c(), this.c = re, d(m, "id", "bry-ce-displayCanvas"), d(m, "class", "max-w-full -scale-x-100"), d(b, "id", "bry-ce-detectionsCanvas"), d(b, "class", "absolute top-0 left-0 max-w-full -scale-x-100"), d(R, "id", "bry-ce-maskCanvas"), d(R, "class", "absolute top-0 left-0 max-w-full -scale-x-100"), d(n, "class", Z = /*$ready*/
|
1157
1174
|
a[22] ? "relative" : "relative w-0 h-0"), n.hidden = Le = /*$cameraStatusStore*/
|
1158
1175
|
a[21] !== K.OK || j() && /*idrndLoading*/
|
1159
1176
|
(a[17] || /*idrndClosed*/
|
@@ -1161,7 +1178,7 @@ function Is(a) {
|
|
1161
1178
|
a[19]), d(s, "class", "relative mx-auto"), d(t, "class", "flex flex-col justify-between");
|
1162
1179
|
},
|
1163
1180
|
m(w, J) {
|
1164
|
-
F(w, e, J), c(e, t), c(t, s), c(s, n), pe && pe.m(n, null), c(n, l), ve.m(n, null), c(n, u), x && x.m(n, null), c(n, h), $ && $.m(n, null), c(n, g), ee && ee.m(n, null), c(n, E), H && H.m(n, null), c(n, v), c(n, m), a[54](m), c(n, T), c(n,
|
1181
|
+
F(w, e, J), c(e, t), c(t, s), c(s, n), pe && pe.m(n, null), c(n, l), ve.m(n, null), c(n, u), x && x.m(n, null), c(n, h), $ && $.m(n, null), c(n, g), ee && ee.m(n, null), c(n, E), H && H.m(n, null), c(n, v), c(n, m), a[54](m), c(n, T), c(n, b), a[55](b), c(n, y), c(n, R), a[56](R), c(n, M), se && se.m(n, null), c(n, N), ne && ne.m(n, null), c(s, ke), oe && oe.m(s, null), c(s, X), k && k.m(s, null), c(s, Ee), U && U.m(s, null), a[59](t), c(e, ae), ~q && Ce[q].m(e, null), he = !0;
|
1165
1182
|
},
|
1166
1183
|
p(w, J) {
|
1167
1184
|
o && pe.p(w, J), J[0] & /*unique*/
|
@@ -1226,7 +1243,7 @@ function Is(a) {
|
|
1226
1243
|
}
|
1227
1244
|
let Ls = 5, Ui = 3e3;
|
1228
1245
|
function Fs() {
|
1229
|
-
({}).VITE_USE_DEV === "true" ? import("./index-no-detector_281a271b_2.5.
|
1246
|
+
({}).VITE_USE_DEV === "true" ? import("./index-no-detector_281a271b_2.5.1.js") : import("./index-no-detector_56051121_2.5.1.js");
|
1230
1247
|
}
|
1231
1248
|
function ei(a, e, t) {
|
1232
1249
|
const s = e.videoWidth / e.videoHeight, n = t.width / t.height;
|
@@ -1234,8 +1251,8 @@ function ei(a, e, t) {
|
|
1234
1251
|
s > n ? (r = e.videoHeight * n, o = (e.videoWidth - r) / 2) : s < n && (u = e.videoWidth / n, l = (e.videoHeight - u) / 2), a.drawImage(e, o, l, r, u, 0, 0, t.width, t.height);
|
1235
1252
|
}
|
1236
1253
|
function Ds(a, e, t) {
|
1237
|
-
let s, n, o, l, r, u, h, g, E, v, m, T,
|
1238
|
-
L(a, zt, (i) => t(79, s = i)), L(a, _t, (i) => t(81, o = i)), L(a, ie, (i) => t(21, l = i)), L(a, gt, (i) => t(22, r = i)), L(a, Ta, (i) => t(82, u = i)), L(a, pt, (i) => t(83, h = i)), L(a, Oe, (i) => t(23, g = i)), L(a, Oa, (i) => t(84, E = i)), L(a, it, (i) => t(24, v = i)), L(a, Jt, (i) => t(85, m = i)), L(a, mi, (i) => t(86, T = i)), L(a, vt, (i) => t(87,
|
1254
|
+
let s, n, o, l, r, u, h, g, E, v, m, T, b, y, R, M, N, Z, Le, ke, ge, X, I, Ee, ae, q, z, he, pe, ve, x, $, ee, H, se, ne, oe;
|
1255
|
+
L(a, zt, (i) => t(79, s = i)), L(a, _t, (i) => t(81, o = i)), L(a, ie, (i) => t(21, l = i)), L(a, gt, (i) => t(22, r = i)), L(a, Ta, (i) => t(82, u = i)), L(a, pt, (i) => t(83, h = i)), L(a, Oe, (i) => t(23, g = i)), L(a, Oa, (i) => t(84, E = i)), L(a, it, (i) => t(24, v = i)), L(a, Jt, (i) => t(85, m = i)), L(a, mi, (i) => t(86, T = i)), L(a, vt, (i) => t(87, b = i)), L(a, It, (i) => t(25, y = i)), L(a, Aa, (i) => t(88, R = i)), L(a, Ia, (i) => t(89, M = i)), L(a, at, (i) => t(90, N = i)), L(a, Ne, (i) => t(26, Z = i)), L(a, La, (i) => t(91, Le = i)), L(a, Xt, (i) => t(27, ke = i)), L(a, Qt, (i) => t(28, ge = i)), L(a, Ae, (i) => t(29, X = i)), L(a, fe, (i) => t(30, I = i)), L(a, ji, (i) => t(31, Ee = i)), L(a, Me, (i) => t(32, ae = i)), L(a, bi, (i) => t(34, z = i)), L(a, wt, (i) => t(92, he = i)), L(a, Yt, (i) => t(93, pe = i)), L(a, Fa, (i) => t(94, ve = i)), L(a, Ct, (i) => t(95, x = i)), L(a, _i, (i) => t(96, $ = i)), L(a, gi, (i) => t(97, ee = i)), L(a, Et, (i) => t(98, H = i)), L(a, Da, (i) => t(35, se = i)), L(a, Pa, (i) => t(36, ne = i)), L(a, Sa, (i) => t(37, oe = i));
|
1239
1256
|
let k, U, we, Ce, Re = !1, w = {}, J = !1, Fe = !1, Pt = !1, St = (/* @__PURE__ */ new Date()).getTime(), Ye = { width: 1280, height: 720 }, { enableMinutiae: Nt } = e, { videoDimensions: Mt } = e, { noTabs: Wt } = e, { weightsPath: Bt } = e, { evaluatePhoto: Te } = e, { showCaptureButton: nt } = e, { showUnconformities: ii } = e, { videoOverlay: ot } = e, { videoOverlayTransparency: Ge } = e, { showConfigButton: ai } = e, { showAutoCaptureButton: lt } = e, { showCameraButton: si } = e, { showJustificationField: ni } = e, { minEyeToEyeDist: Ze } = e;
|
1240
1257
|
const rt = Ci(!1);
|
1241
1258
|
L(a, rt, (i) => t(80, n = i));
|
@@ -1258,37 +1275,37 @@ function Ds(a, e, t) {
|
|
1258
1275
|
j() ? (Fs(), Ji()) : await Pe(), Ie() || Qi();
|
1259
1276
|
});
|
1260
1277
|
async function li() {
|
1261
|
-
const [i,
|
1262
|
-
if (!(!i || !
|
1278
|
+
const [i, _] = (Mt ?? "")?.replaceAll(" ", "")?.split("x")?.map((C) => C ? parseInt(C) : void 0);
|
1279
|
+
if (!(!i || !_))
|
1263
1280
|
if (Ie()) {
|
1264
1281
|
await Ga();
|
1265
|
-
const C = window.innerWidth, O = window.innerHeight, A =
|
1282
|
+
const C = window.innerWidth, O = window.innerHeight, A = _, W = O / C * A;
|
1266
1283
|
f(
|
1267
1284
|
vt,
|
1268
|
-
|
1285
|
+
b = {
|
1269
1286
|
videoWidth: A,
|
1270
1287
|
videoHeight: W
|
1271
1288
|
},
|
1272
|
-
|
1289
|
+
b
|
1273
1290
|
);
|
1274
1291
|
} else
|
1275
|
-
f(vt,
|
1292
|
+
f(vt, b = { videoWidth: i, videoHeight: _ }, b);
|
1276
1293
|
}
|
1277
1294
|
function ri() {
|
1278
1295
|
f(_t, o = !1, o), f(it, v = !1, v), f(pt, h = Gt.FRONT_CAMERA, h), lt && f(It, y = !1, y), f(Xt, ke = !1, ke), f(fe, I = Q.OK, I), f(at, N = "", N), f(Me, ae.unconformities = [], ae);
|
1279
1296
|
const i = At(Zt);
|
1280
1297
|
i.closedMouth = !1, i.isPersonCloseEnough = !1, i.isPersonTooclose = !0, i.isPersonInFrame = !1, Zt.set(i), f(Ne, Z = "", Z);
|
1281
1298
|
}
|
1282
|
-
function jt(i,
|
1299
|
+
function jt(i, _) {
|
1283
1300
|
i.clearRect(0, 0, V.width, V.height), i.save(), ot != "none" ? (Ge > 0 && (i.globalAlpha = Ge / 100), i.fillStyle = ot, i.fillRect(0, 0, V.width, V.height)) : (i.beginPath(), i.rect(0, 0, V.width, V.height));
|
1284
1301
|
const C = window.innerWidth;
|
1285
1302
|
let O = V.height * 0.8;
|
1286
1303
|
C < 1024 && (O = V.height * 0.7);
|
1287
|
-
const A =
|
1288
|
-
let W =
|
1289
|
-
(lt || nt) && (W =
|
1304
|
+
const A = b.videoWidth / 2;
|
1305
|
+
let W = b.videoHeight * 0.5;
|
1306
|
+
(lt || nt) && (W = b.videoHeight * 0.44), Ie() && (O = V.height * 0.65, W = b.videoHeight * 0.4);
|
1290
1307
|
const ue = O / 1.45;
|
1291
|
-
f(Et, H.width = ue, H), f(Et, H.height = O, H), f(Et, H.y = W, H), i.ellipse(A, W, ue / 2, O / 2, 0, 0, 2 * Math.PI, !0), Ge == 0 && i.clip(), ei(i,
|
1308
|
+
f(Et, H.width = ue, H), f(Et, H.height = O, H), f(Et, H.y = W, H), i.ellipse(A, W, ue / 2, O / 2, 0, 0, 2 * Math.PI, !0), Ge == 0 && i.clip(), ei(i, _, V), i.restore(), i.save(), i.beginPath();
|
1292
1309
|
const Se = window.getComputedStyle(V).getPropertyValue("--p"), G = window.getComputedStyle(V).getPropertyValue("--su");
|
1293
1310
|
if (i.strokeStyle = `hsl(${Se})`, i.lineWidth = 14, i.ellipse(A, W, ue / 2, O / 2, 0, 0, 2 * Math.PI), i.stroke(), Re && !Kt) {
|
1294
1311
|
const tt = 1 - (Ht - (/* @__PURE__ */ new Date()).getTime()) / Ui;
|
@@ -1296,21 +1313,21 @@ function Ds(a, e, t) {
|
|
1296
1313
|
}
|
1297
1314
|
i.beginPath();
|
1298
1315
|
const me = new Path2D();
|
1299
|
-
me.ellipse(A, W, ue / 2, O / 2, 0, 0, 2 * Math.PI), i.clip(me), ei(i,
|
1316
|
+
me.ellipse(A, W, ue / 2, O / 2, 0, 0, 2 * Math.PI), i.clip(me), ei(i, _, V), i.restore();
|
1300
1317
|
}
|
1301
1318
|
function Ji() {
|
1302
1319
|
le.addEventListener("open", (i) => {
|
1303
|
-
const
|
1320
|
+
const _ = i.detail[0].video;
|
1304
1321
|
f(
|
1305
1322
|
gi,
|
1306
1323
|
ee = {
|
1307
|
-
width:
|
1308
|
-
height:
|
1324
|
+
width: _.videoWidth,
|
1325
|
+
height: _.videoHeight
|
1309
1326
|
},
|
1310
1327
|
ee
|
1311
|
-
), t(9, k.srcObject =
|
1328
|
+
), t(9, k.srcObject = _.srcObject, k), t(17, ct = !1), Ua(le);
|
1312
1329
|
function C() {
|
1313
|
-
ye || (jt(V.getContext("2d"),
|
1330
|
+
ye || (jt(V.getContext("2d"), _), Ke(k, C, !0));
|
1314
1331
|
}
|
1315
1332
|
C();
|
1316
1333
|
}), le.addEventListener("error", (i) => {
|
@@ -1322,8 +1339,8 @@ function Ds(a, e, t) {
|
|
1322
1339
|
Ut = !0, f(_i, $ = !0, $), pe === yt.Face && !$e && !v && Ut && await qt();
|
1323
1340
|
}), le.addEventListener("capture", async (i) => {
|
1324
1341
|
t(20, de = "");
|
1325
|
-
const { encryptedFile:
|
1326
|
-
f(Ct, x =
|
1342
|
+
const { encryptedFile: _, photo: C } = i.detail[0];
|
1343
|
+
f(Ct, x = _, x);
|
1327
1344
|
const O = (await kt(C)).split(",");
|
1328
1345
|
if (z)
|
1329
1346
|
try {
|
@@ -1342,7 +1359,7 @@ function Ds(a, e, t) {
|
|
1342
1359
|
try {
|
1343
1360
|
if (!vi(Ze))
|
1344
1361
|
throw new Error("FACE_TOO_SMALL");
|
1345
|
-
({ bodyParts: G, icaoWarnings: me } = await Rt(N, Te, (await kt(
|
1362
|
+
({ bodyParts: G, icaoWarnings: me } = await Rt(N, Te, (await kt(_)).split(",")[1])), window.dispatchEvent(new CustomEvent(
|
1346
1363
|
"face-unconformities-validated",
|
1347
1364
|
{
|
1348
1365
|
detail: {
|
@@ -1383,7 +1400,7 @@ function Ds(a, e, t) {
|
|
1383
1400
|
}
|
1384
1401
|
let A, W;
|
1385
1402
|
try {
|
1386
|
-
W = await Ha(
|
1403
|
+
W = await Ha(_), ui(W.data);
|
1387
1404
|
} catch (G) {
|
1388
1405
|
f(fe, I = Q.UNKNOWN_LIVENESS_ERROR, I), console.error(G), G instanceof xt && G.response?.status === 400 ? (A = G.response.data.error_code, t(20, de = We[A]), console.error("Liveness error:", A), f(fe, I = Q.LIVENESS_DETECTION_FAILURE, I)) : ft.fire({
|
1389
1406
|
icon: "error",
|
@@ -1399,7 +1416,7 @@ function Ds(a, e, t) {
|
|
1399
1416
|
{
|
1400
1417
|
bodyPart: "FACE",
|
1401
1418
|
data: N,
|
1402
|
-
livenessBlob: (await kt(
|
1419
|
+
livenessBlob: (await kt(_)).split(",")[1],
|
1403
1420
|
...W && { livenessResult: W }
|
1404
1421
|
}
|
1405
1422
|
],
|
@@ -1431,7 +1448,7 @@ function Ds(a, e, t) {
|
|
1431
1448
|
f(ie, l = K.CAMERA_ORIENTATION_PORTRAIT, l);
|
1432
1449
|
return;
|
1433
1450
|
}
|
1434
|
-
await li(), j() ? qt() : await Xi(
|
1451
|
+
await li(), j() ? qt() : await Xi(b.videoWidth, b.videoHeight, i);
|
1435
1452
|
}
|
1436
1453
|
async function qt() {
|
1437
1454
|
if (j()) {
|
@@ -1439,8 +1456,8 @@ function Ds(a, e, t) {
|
|
1439
1456
|
try {
|
1440
1457
|
await wi(640, 480);
|
1441
1458
|
} catch (i) {
|
1442
|
-
const
|
1443
|
-
console.error(
|
1459
|
+
const _ = i, C = He(i) && i.constraint ? i.constraint : "";
|
1460
|
+
console.error(_.message, C), He(_) && "message" in _ && _.message.includes("Requested device not found") && f(ie, l = K.DEVICE_NOT_FOUND_ERROR, l);
|
1444
1461
|
}
|
1445
1462
|
await $t(), f(Oe, g = E[0].deviceId, g);
|
1446
1463
|
}
|
@@ -1471,8 +1488,8 @@ function Ds(a, e, t) {
|
|
1471
1488
|
f(it, v = !0, v);
|
1472
1489
|
try {
|
1473
1490
|
if (z && i) {
|
1474
|
-
const
|
1475
|
-
f(xe, q =
|
1491
|
+
const _ = i.toDataURL("image/jpeg").split(",");
|
1492
|
+
f(xe, q = _[0], q), f(Ae, X = _[1], X), f(at, N = _[1], N);
|
1476
1493
|
let C, O;
|
1477
1494
|
if (!vi(Ze))
|
1478
1495
|
throw new Error("FACE_TOO_SMALL");
|
@@ -1487,9 +1504,9 @@ function Ds(a, e, t) {
|
|
1487
1504
|
}
|
1488
1505
|
)), C.length !== 0 && C[0].data && f(Ae, X = C[0].data, X), Tt(O);
|
1489
1506
|
} else {
|
1490
|
-
const
|
1491
|
-
|
1492
|
-
const O =
|
1507
|
+
const _ = document.createElement("canvas"), C = _.getContext("2d");
|
1508
|
+
_.width = k.width, _.height = k.height, C?.drawImage(k, 0, 0, _.width, _.height);
|
1509
|
+
const O = _.toDataURL("image/jpeg").split(",");
|
1493
1510
|
f(xe, q = O[0], q), f(Ae, X = O[1], X), f(at, N = O[1], N);
|
1494
1511
|
let { bodyParts: A, icaoWarnings: W } = await Rt(X, Te);
|
1495
1512
|
window.dispatchEvent(new CustomEvent(
|
@@ -1503,18 +1520,18 @@ function Ds(a, e, t) {
|
|
1503
1520
|
}
|
1504
1521
|
)), A.length !== 0 && A[0].data && f(Ae, X = A[0].data, X), Tt(W);
|
1505
1522
|
}
|
1506
|
-
} catch (
|
1507
|
-
console.error(
|
1523
|
+
} catch (_) {
|
1524
|
+
console.error(_);
|
1508
1525
|
let C = We.UNKNOWN, O = [], A = [];
|
1509
|
-
if (
|
1510
|
-
if (
|
1511
|
-
O =
|
1526
|
+
if (_ instanceof xt && _.response?.status === 400)
|
1527
|
+
if (_.response.data && Array.isArray(_.response.data.bodyParts)) {
|
1528
|
+
O = _.response.data.bodyParts, A = _.response.data.icaoWarnings;
|
1512
1529
|
const W = O.find((ue) => ue.livenessResult.error);
|
1513
1530
|
C = W?.livenessResult.error_code, f(fe, I = Q.LIVENESS_DETECTION_FAILURE, I), W?.livenessResult.error_code || f(fe, I = Q.UNKNOWN_LIVENESS_ERROR, I), t(20, de = We[C]), console.error("Liveness error:", C);
|
1514
1531
|
} else
|
1515
1532
|
f(fe, I = Q.TEMPLATE_EXTRACTION_ERROR, I);
|
1516
1533
|
else
|
1517
|
-
|
1534
|
+
_ instanceof Error && ["FACE_NOT_FOUND", "FACE_TOO_SMALL"].includes(_.message) ? (f(fe, I = Q.LIVENESS_DETECTION_FAILURE, I), C = _.message, t(20, de = We[C]), O = fi()) : (f(fe, I = Q.UNABLE_TO_COMMUNICATE_WITH_TEMPLATE_EXTRACTION_SERVICE, I), Te && ft.fire({
|
1518
1535
|
icon: "error",
|
1519
1536
|
title: "Falha ao comunicar com serviço de Liveness"
|
1520
1537
|
}));
|
@@ -1538,18 +1555,18 @@ function Ds(a, e, t) {
|
|
1538
1555
|
data: X,
|
1539
1556
|
justification: ge
|
1540
1557
|
};
|
1541
|
-
f(Xt, ke = !0, ke), At(Ct) && kt(At(Ct)).then((
|
1542
|
-
i.livenessBlob =
|
1558
|
+
f(Xt, ke = !0, ke), At(Ct) && kt(At(Ct)).then((_) => {
|
1559
|
+
i.livenessBlob = _.split(",")[1];
|
1543
1560
|
}), window.dispatchEvent(new CustomEvent("export-face", { detail: i }));
|
1544
1561
|
}
|
1545
1562
|
function Ue() {
|
1546
1563
|
window.dispatchEvent(new CustomEvent("face-scrapped")), ri(), ye && qt();
|
1547
1564
|
}
|
1548
1565
|
function ui(i) {
|
1549
|
-
let
|
1550
|
-
i.isAlive ?
|
1566
|
+
let _ = "", C = "success";
|
1567
|
+
i.isAlive ? _ = `Vivacidade de face (${i.face_liveness.probability.toFixed(2)}) e de captura (${i.capture_liveness.probability}, ${i.capture_liveness.score.toFixed(2)}) verificados!` : i?.face_liveness?.probability && (C = "error", _ = `Vivacidade de face (${i.face_liveness.probability.toFixed(2)}) e de captura (${i.capture_liveness.probability}, ${i.capture_liveness.score.toFixed(2)}) insuficientes!`), Le && ft.fire({ icon: C, title: _ });
|
1551
1568
|
}
|
1552
|
-
async function Xi(i,
|
1569
|
+
async function Xi(i, _, C) {
|
1553
1570
|
try {
|
1554
1571
|
const { deviceId: O, facingMode: A, touchPoints: W } = await wi(Ye.width, Ye.height, h, C);
|
1555
1572
|
f(Oe, g = O || E[0].deviceId, g);
|
@@ -1619,7 +1636,7 @@ function Ds(a, e, t) {
|
|
1619
1636
|
];
|
1620
1637
|
}
|
1621
1638
|
async function Gi() {
|
1622
|
-
const i = V.width,
|
1639
|
+
const i = V.width, _ = V.height, C = Ye.height, O = _ / i * C, A = document.createElement("canvas"), W = A.getContext("2d");
|
1623
1640
|
A.width = C, A.height = O;
|
1624
1641
|
const ue = A.width / V.width, Se = A.height / V.height, G = new ls({
|
1625
1642
|
x: R.x * ue,
|
@@ -1628,14 +1645,14 @@ function Ds(a, e, t) {
|
|
1628
1645
|
height: R.height * Se
|
1629
1646
|
}), me = document.createElement("canvas");
|
1630
1647
|
me.width = G.width, me.height = G.height, me.getContext("2d")?.clearRect(0, 0, me.width, me.height), W && ei(W, k, A);
|
1631
|
-
const [mt] = await (await import("./face_api_0e3ce8c8_2.5.
|
1648
|
+
const [mt] = await (await import("./face_api_0e3ce8c8_2.5.1.js")).extractFaces(A, [G]);
|
1632
1649
|
return mt;
|
1633
1650
|
}
|
1634
1651
|
const Zi = vt.subscribe((i) => {
|
1635
1652
|
k && U && (t(9, k.width = i.videoWidth, k), t(9, k.height = i.videoHeight, k), t(10, U.width = i.videoWidth, U), t(10, U.height = i.videoHeight, U), t(15, De.width = i.videoWidth, De), t(15, De.height = i.videoHeight, De), t(16, V.width = i.videoWidth, V), t(16, V.height = i.videoHeight, V));
|
1636
1653
|
}), xi = Zt.subscribe((i) => {
|
1637
|
-
let
|
1638
|
-
if (i.isPersonCloseEnough ? i.isPersonTooclose ?
|
1654
|
+
let _ = "";
|
1655
|
+
if (i.isPersonCloseEnough ? i.isPersonTooclose ? _ = "faceCollector.moveAwayCamera" : i.isPersonInFrame ? i.closedMouth || (_ = "faceCollector.dontOpenMouth") : _ = "faceCollector.stayInFrame" : _ = "faceCollector.comeCloserCamera", o && Ka(_), !v && y && o && !Re && i.isPersonInFrame && i.closedMouth && !(!i.isPersonCloseEnough || i.isPersonTooclose)) {
|
1639
1656
|
t(12, Re = !0), Ht = (/* @__PURE__ */ new Date()).getTime() + Ui;
|
1640
1657
|
const C = setInterval(
|
1641
1658
|
async () => {
|
@@ -1670,12 +1687,12 @@ function Ds(a, e, t) {
|
|
1670
1687
|
await Ot(le), await Pe();
|
1671
1688
|
return;
|
1672
1689
|
}
|
1673
|
-
const
|
1674
|
-
t(9, k.srcObject =
|
1690
|
+
const _ = await ja(Ye.width, Ye.height, i);
|
1691
|
+
t(9, k.srcObject = _, k), f(mi, T = _, T), f(Jt, m = !1, m), ut ? f(ie, l = K.OK, l) : f(ie, l = K.CAMERA_ORIENTATION_PORTRAIT, l), _.getTracks().forEach((C) => {
|
1675
1692
|
C.readyState === "live" && console.log(`Camera ${C.label} opened successfully!`);
|
1676
1693
|
}), f(ie, l = K.OK, l), qa(k);
|
1677
|
-
} catch (
|
1678
|
-
const C =
|
1694
|
+
} catch (_) {
|
1695
|
+
const C = _;
|
1679
1696
|
t(18, ye = !0), He(C) && "message" in C && C.message.includes("Requested device not found") && f(ie, l = K.DEVICE_NOT_FOUND_ERROR, l);
|
1680
1697
|
}
|
1681
1698
|
}
|
@@ -1700,13 +1717,13 @@ function Ds(a, e, t) {
|
|
1700
1717
|
try {
|
1701
1718
|
if (Vt >= Ls) {
|
1702
1719
|
Vt = 0;
|
1703
|
-
let
|
1704
|
-
|
1720
|
+
let _;
|
1721
|
+
_ = os(V, Ce), i = await _.withFaceLandmarks(), U.getContext("2d")?.clearRect(0, 0, U.width, U.height), i != null ? (Xa(i, U, Nt), f(_t, o = !0, o), t(14, Pt = !0), St = (/* @__PURE__ */ new Date()).getTime()) : Yi();
|
1705
1722
|
} else
|
1706
1723
|
Vt++;
|
1707
1724
|
n && Ke(k, di);
|
1708
|
-
} catch (
|
1709
|
-
console.warn(`FaceapiLoop: ${
|
1725
|
+
} catch (_) {
|
1726
|
+
console.warn(`FaceapiLoop: ${_}`);
|
1710
1727
|
}
|
1711
1728
|
}
|
1712
1729
|
zt.subscribe(async (i) => {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { S as U, q as P, r as j, t as F, w as b, L as T, x as g, z as V, B as _, H as v, I as z, W as K, $ as W, bd as N, be as Z, N as O, bf as B, O as M, y as A, bg as L, D as k, bh as H, G as E, E as D, bi as Y, aU as J, C as I, aV as Q, P as X, R as y, aW as $, aN as q, Y as G, a0 as ee, K as te, bb as le } from "./
|
1
|
+
import { S as U, q as P, r as j, t as F, w as b, L as T, x as g, z as V, B as _, H as v, I as z, W as K, $ as W, bd as N, be as Z, N as O, bf as B, O as M, y as A, bg as L, D as k, bh as H, G as E, E as D, bi as Y, aU as J, C as I, aV as Q, P as X, R as y, aW as $, aN as q, Y as G, a0 as ee, K as te, bb as le } from "./main_2fb3a060_2.5.1.js";
|
2
2
|
function ae(i) {
|
3
3
|
let e, a, n, s, l = (
|
4
4
|
/*$_*/
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { u as m, $ as D, n as C, g as b, i as y, s as l, a as F, F as U, b as M, c, v as x, d as P, A as B, e as I, h as g, f as v, j as W, k as R, l as $, m as k, o as w, p as V } from "./
|
2
|
-
import "./face_api_0e3ce8c8_2.5.
|
1
|
+
import { u as m, $ as D, n as C, g as b, i as y, s as l, a as F, F as U, b as M, c, v as x, d as P, A as B, e as I, h as g, f as v, j as W, k as R, l as $, m as k, o as w, p as V } from "./main_2fb3a060_2.5.1.js";
|
2
|
+
import "./face_api_0e3ce8c8_2.5.1.js";
|
3
3
|
const f = m(D);
|
4
4
|
var X = /* @__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))(X || {});
|
5
5
|
class r extends Error {
|
package/dist/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
import { l as vu, L as Au, r as se } from "./___vite-browser-external_commonjs-
|
2
|
-
import { bj as Xa, bk as hr } from "./
|
3
|
-
import "./face_api_0e3ce8c8_2.5.
|
1
|
+
import { l as vu, L as Au, r as se } from "./___vite-browser-external_commonjs-proxy_3e7f0646_2.5.1.js";
|
2
|
+
import { bj as Xa, bk as hr } from "./main_2fb3a060_2.5.1.js";
|
3
|
+
import "./face_api_0e3ce8c8_2.5.1.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 { bj as eo } from "./
|
2
|
-
import { r as x1, l as b1, L as y1 } from "./___vite-browser-external_commonjs-
|
3
|
-
import "./face_api_0e3ce8c8_2.5.
|
1
|
+
import { bj as eo } from "./main_2fb3a060_2.5.1.js";
|
2
|
+
import { r as x1, l as b1, L as y1 } from "./___vite-browser-external_commonjs-proxy_3e7f0646_2.5.1.js";
|
3
|
+
import "./face_api_0e3ce8c8_2.5.1.js";
|
4
4
|
var pu = { exports: {} };
|
5
5
|
pu.exports;
|
6
6
|
(function(n) {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { detectSingleFace as dc } from "./face_api_0e3ce8c8_2.5.
|
1
|
+
import { detectSingleFace as dc } from "./face_api_0e3ce8c8_2.5.1.js";
|
2
2
|
function W() {
|
3
3
|
}
|
4
4
|
function ln(A, e) {
|
@@ -7200,18 +7200,18 @@ async function Xd(A) {
|
|
7200
7200
|
A && (e = A), console.log("requesting weights from", e);
|
7201
7201
|
try {
|
7202
7202
|
await Promise.all([
|
7203
|
-
(await import("./face_api_0e3ce8c8_2.5.
|
7204
|
-
(await import("./face_api_0e3ce8c8_2.5.
|
7203
|
+
(await import("./face_api_0e3ce8c8_2.5.1.js")).nets.tinyFaceDetector.load(e),
|
7204
|
+
(await import("./face_api_0e3ce8c8_2.5.1.js")).loadFaceLandmarkModel(e)
|
7205
7205
|
]);
|
7206
7206
|
} catch {
|
7207
7207
|
console.warn("Your browser doesn't support WebGL! Trying to use WASM backend now...");
|
7208
7208
|
try {
|
7209
7209
|
await Promise.all([
|
7210
|
-
(await import("./
|
7211
|
-
(await import("./
|
7212
|
-
(await import("./
|
7213
|
-
(await import("./face_api_0e3ce8c8_2.5.
|
7214
|
-
(await import("./face_api_0e3ce8c8_2.5.
|
7210
|
+
(await import("./index_4a117773_2.5.1.js")).setWasmPaths("https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-backend-wasm/dist/"),
|
7211
|
+
(await import("./index_6ae4f794_2.5.1.js")).setBackend("wasm"),
|
7212
|
+
(await import("./index_6ae4f794_2.5.1.js")).ready(),
|
7213
|
+
(await import("./face_api_0e3ce8c8_2.5.1.js")).nets.tinyFaceDetector.load(e),
|
7214
|
+
(await import("./face_api_0e3ce8c8_2.5.1.js")).loadFaceLandmarkModel(e)
|
7215
7215
|
]);
|
7216
7216
|
} catch {
|
7217
7217
|
throw console.warn("WASM backend failed to load, face detection will be disabled"), new Error("Face detection failed to load");
|
@@ -10213,13 +10213,13 @@ const yi = Y(!0), VE = Y(), xg = Y(!1), XI = Y(0), XE = Y({
|
|
10213
10213
|
height: 0
|
10214
10214
|
});
|
10215
10215
|
async function ZE() {
|
10216
|
-
return new (await import("./face_api_0e3ce8c8_2.5.
|
10216
|
+
return new (await import("./face_api_0e3ce8c8_2.5.1.js")).TinyFaceDetectorOptions({
|
10217
10217
|
scoreThreshold: 0.6
|
10218
10218
|
});
|
10219
10219
|
}
|
10220
10220
|
async function Bf(A, e, t, r = !1) {
|
10221
10221
|
if (t) {
|
10222
|
-
const C = (await import("./face_api_0e3ce8c8_2.5.
|
10222
|
+
const C = (await import("./face_api_0e3ce8c8_2.5.1.js")).draw;
|
10223
10223
|
C.drawDetections(e, A), new C.DrawFaceLandmarks(A.landmarks, { pointColor: "gold" }).draw(e);
|
10224
10224
|
}
|
10225
10225
|
const o = A.landmarks.positions, i = WE(o), a = await YE(o), B = A.detection.box, I = await jE(B, a, e, t);
|
@@ -10230,17 +10230,17 @@ function WE(A) {
|
|
10230
10230
|
return Di(e, t);
|
10231
10231
|
}
|
10232
10232
|
async function YE(A) {
|
10233
|
-
const e = (await import("./face_api_0e3ce8c8_2.5.
|
10233
|
+
const e = (await import("./face_api_0e3ce8c8_2.5.1.js")).Point;
|
10234
10234
|
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]);
|
10235
10235
|
t = t.div(new e(4, 4)), r = r.div(new e(4, 4));
|
10236
10236
|
const o = Di(r, t);
|
10237
10237
|
return XI.set(o), o;
|
10238
10238
|
}
|
10239
10239
|
async function jE(A, e, t, r) {
|
10240
|
-
const o = (await import("./face_api_0e3ce8c8_2.5.
|
10240
|
+
const o = (await import("./face_api_0e3ce8c8_2.5.1.js")).Point;
|
10241
10241
|
let i = 2.5, a = 0.8;
|
10242
10242
|
const B = A.topLeft.x - e, I = A.topLeft.y - i * e, C = A.bottomLeft.x - e, l = A.bottomLeft.y + a * e, p = A.bottomRight.x + e, b = A.bottomRight.y + e, y = Di(new o(C, l), new o(B, I)), D = Di(new o(C, l), new o(p, b)), U = t.getContext("2d");
|
10243
|
-
return U.beginPath(), U.strokeStyle = "gold", VE.set(new (await import("./face_api_0e3ce8c8_2.5.
|
10243
|
+
return U.beginPath(), U.strokeStyle = "gold", VE.set(new (await import("./face_api_0e3ce8c8_2.5.1.js")).Box({ x: B, y: I, width: D, height: y })), U.rect(B, I, D, y), r && U.stroke(), {
|
10244
10244
|
topLeftX: A.topLeft.x,
|
10245
10245
|
topLeftY: A.topLeft.y,
|
10246
10246
|
bottomRightX: A.bottomRight.x,
|
@@ -22936,7 +22936,7 @@ function sB(A) {
|
|
22936
22936
|
return this;
|
22937
22937
|
}
|
22938
22938
|
async function IB(A, e) {
|
22939
|
-
return await import("./
|
22939
|
+
return await import("./fingersApi_feb4df00_2.5.1.js").then((t) => t.captureSingleFinger(A, e));
|
22940
22940
|
}
|
22941
22941
|
function bd(A, e, t) {
|
22942
22942
|
let r, o, i, a, B, I, C, l, p, b, y, D, U, d, P, X, z, fA, aA, j, gA, T, lA, GA, Ie, Ke, Pe, eA, Me, se, mA, Qe, lt, S, k;
|
@@ -22944,7 +22944,7 @@ function bd(A, e, t) {
|
|
22944
22944
|
let { lottie_color: rA = "71 89 124" } = e, { extension_name: _ = "BryWebExtension" } = e, { extension_url_chrome: EA } = e, { extension_url_mozilla: sA } = e, { min_nfiq_acceptable: dA = 3 } = e;
|
22945
22945
|
EE(dA);
|
22946
22946
|
let { show_theme_picker: oA = "true" } = e, { video_dimensions: DA } = e, { enable_minutiae: LA } = e, { collector_select: RA = "BOTH" } = e, { import_lottie: qA = "true" } = e, { hide_tabs: HA = "false" } = e, { import_extension_script: re = "false" } = e, { extension_url_script: SA } = e, { liveness_enable: oe = "false" } = e, { weights_path: Be = "https://unpkg.com/bry-biometric-collector@latest/dist/weights/" } = e, { evaluate_photo: ZA = "true" } = e, { show_capture_button: fe = "true" } = e, { show_unconformities: WA = "true" } = e, { video_overlay: TA = "white" } = e, { video_overlay_transparency: xe = 0 } = e, { show_config_button: Ee = "true" } = e, { show_auto_capture_button: rt = "false" } = e, { show_camera_button: De = "true" } = e, { language: ee = dI() } = e, { show_justification_field: vA = "true" } = e, { min_eye_to_eye_dist: ve = 0 } = e;
|
22947
|
-
Xr("en", () => import("./en-us_99b30d39_2.5.
|
22947
|
+
Xr("en", () => import("./en-us_99b30d39_2.5.1.js")), Xr("pt", () => import("./pt-br_d5ca6103_2.5.1.js")), Xr("es", () => import("./es-cl_cfa50670_2.5.1.js")), Sn({
|
22948
22948
|
fallbackLocale: "pt",
|
22949
22949
|
initialLocale: ee
|
22950
22950
|
});
|
@@ -23164,10 +23164,10 @@ function bd(A, e, t) {
|
|
23164
23164
|
return hA(Mn, l = v, l), this;
|
23165
23165
|
}
|
23166
23166
|
async function Lt() {
|
23167
|
-
return t(24, kA = (await import("./
|
23167
|
+
return t(24, kA = (await import("./FaceCollector_c27c1f38_2.5.1.js")).default), this;
|
23168
23168
|
}
|
23169
23169
|
async function jt() {
|
23170
|
-
return t(25, YA = (await import("./
|
23170
|
+
return t(25, YA = (await import("./DocumentCollector_72fa39f4_2.5.1.js")).default), this;
|
23171
23171
|
}
|
23172
23172
|
function Sr(v) {
|
23173
23173
|
Te(v);
|
@@ -23782,9 +23782,9 @@ class BB extends ye {
|
|
23782
23782
|
}
|
23783
23783
|
}
|
23784
23784
|
customElements.define("biometric-collector", BB);
|
23785
|
-
Xr("en", () => import("./en-us_99b30d39_2.5.
|
23786
|
-
Xr("pt", () => import("./pt-br_d5ca6103_2.5.
|
23787
|
-
Xr("es", () => import("./es-cl_cfa50670_2.5.
|
23785
|
+
Xr("en", () => import("./en-us_99b30d39_2.5.1.js"));
|
23786
|
+
Xr("pt", () => import("./pt-br_d5ca6103_2.5.1.js"));
|
23787
|
+
Xr("es", () => import("./es-cl_cfa50670_2.5.1.js"));
|
23788
23788
|
Sn({
|
23789
23789
|
fallbackLocale: "pt",
|
23790
23790
|
initialLocale: dI()
|
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": "2.5.
|
5
|
+
"version": "2.5.1",
|
6
6
|
"main": "dist/bry-biometric-collector-main.js",
|
7
7
|
"type": "module",
|
8
8
|
"license": "UNLICENSED",
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|