bry-biometric-collector 2.0.3 → 2.0.5
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/README.md +6 -0
- package/dist/{FaceCollector_93d41450_2.0.3.js → FaceCollector_f475af9f_2.0.5.js} +558 -553
- package/dist/bry-biometric-collector-main.js +1 -1
- package/dist/{en-us_360d5d87_2.0.3.js → en-us_5ebe727c_2.0.5.js} +7 -6
- package/dist/{fingersApi_7384225f_2.0.3.js → fingersApi_df7ac79b_2.0.5.js} +1 -1
- package/dist/images/face-collector.png +0 -0
- package/dist/images/fingerprint-collector.png +0 -0
- package/dist/index.d.ts +198 -0
- package/dist/index.js +4 -0
- package/dist/{main_4a3321b2_2.0.3.js → main_bce0667c_2.0.5.js} +72 -72
- package/dist/{pt-br_c3fe6b06_2.0.3.js → pt-br_cb19a314_2.0.5.js} +1 -0
- package/package.json +5 -8
- /package/dist/{face_api_0e3ce8c8_2.0.3.js → face_api_0e3ce8c8_2.0.5.js} +0 -0
- /package/dist/{index-no-detector_c7c1d3a2_2.0.3.js → index-no-detector_c7c1d3a2_2.0.5.js} +0 -0
@@ -1,11 +1,11 @@
|
|
1
|
-
import { w as yt, S as tl, r as ll, t as
|
2
|
-
var
|
3
|
-
const
|
1
|
+
import { w as yt, S as tl, r as ll, t as It, x as il, y as p, z as Me, B as h, C as G, D as o, E as w, G as A, H as $e, I as Nt, J as Z, K as L, L as We, M as u, N as se, O as _t, P as q, Q as Bl, R as Pt, T, U as St, V as W, W as sl, X as Ne, Y as al, Z as Fe, _ as At, a0 as gt, a1 as lt, a2 as vt, a3 as Ft, a4 as Je, a5 as Hl, $ as Ul, a6 as Vl, a7 as Re, a8 as Kl, a9 as Ge, aa as it, ab as wt, ac as kt, ad as xe, ae as jl, af as ql, ag as ot, ah as Ct, ai as zl, aj as nt, ak as Wt, al as Bt, am as Ht, an as Zl, ao as Et, ap as Ut, aq as Vt, ar as Ql, as as Xl, at as Jl, au as Gl, av as Yl, aw as k, ax as Kt, ay as jt, f as $l, az as ei, aA as rt, aB as J, aC as ct, aD as ut, A as qt, aE as Rt, aF as ft, aG as ti, aH as li, aI as ii, aJ as si, aK as Ye, aL as ai, aM as oi, aN as bt, aO as dt, aP as ol, l as Ot, aQ as ye, aR as Lt, aS as ni, aT as ri, aU as zt, aV as mt, aW as ci, aX as ui } from "./main_bce0667c_2.0.5.js";
|
2
|
+
var re = /* @__PURE__ */ ((l) => (l.OK = "OK", l.DEVICE_NOT_FOUND_ERROR = "DEVICE_NOT_FOUND_ERROR", l.CAMERA_DENIED_ERROR = "CAMERA_DENIED_ERROR", l.CAMERA_IN_USE_ERROR = "CAMERA_IN_USE_ERROR", l.CAMERA_CLOSED_ERROR = "CAMERA_CLOSED_ERROR", l))(re || {});
|
3
|
+
const Ke = yt(
|
4
4
|
"OK"
|
5
5
|
/* OK */
|
6
6
|
);
|
7
|
-
function
|
8
|
-
let e, t, s, a, c,
|
7
|
+
function fi(l) {
|
8
|
+
let e, t, s, a, c, d, m, n, f, g, E = [
|
9
9
|
{ class: "text-[8em] mx-auto" },
|
10
10
|
{ xmlns: "http://www.w3.org/2000/svg" },
|
11
11
|
{ width: "1em" },
|
@@ -14,22 +14,22 @@ function di(l) {
|
|
14
14
|
/*$$props*/
|
15
15
|
l[2]
|
16
16
|
], b = {};
|
17
|
-
for (let r = 0; r <
|
18
|
-
b =
|
17
|
+
for (let r = 0; r < E.length; r += 1)
|
18
|
+
b = $e(b, E[r]);
|
19
19
|
return {
|
20
20
|
c() {
|
21
|
-
e =
|
21
|
+
e = Z("svg"), t = Z("path"), s = L(), a = h("span"), a.textContent = "Por favor, permaneça na mesma aba durante a coleta biométrica.", c = L(), d = h("span"), d.textContent = "Clique no botão Reiniciar para capturar novamente.", m = L(), n = h("button"), n.textContent = "Reiniciar", o(t, "fill", "currentColor"), o(t, "d", "M236.8 188.09L149.35 36.22a24.76 24.76 0 0 0-42.7 0L19.2 188.09a23.51 23.51 0 0 0 0 23.72A24.35 24.35 0 0 0 40.55 224h174.9a24.35 24.35 0 0 0 21.33-12.19a23.51 23.51 0 0 0 .02-23.72m-13.87 15.71a8.5 8.5 0 0 1-7.48 4.2H40.55a8.5 8.5 0 0 1-7.48-4.2a7.59 7.59 0 0 1 0-7.72l87.45-151.87a8.75 8.75 0 0 1 15 0l87.45 151.87a7.59 7.59 0 0 1-.04 7.72M120 144v-40a8 8 0 0 1 16 0v40a8 8 0 0 1-16 0m20 36a12 12 0 1 1-12-12a12 12 0 0 1 12 12"), We(e, b), o(a, "class", "text-xl font-bold text-center"), o(d, "class", "m-auto text-base block text-center"), o(n, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
|
22
22
|
},
|
23
23
|
m(r, _) {
|
24
|
-
p(r, e, _), u(e, t), p(r, s, _), p(r, a, _), p(r, c, _), p(r,
|
24
|
+
p(r, e, _), u(e, t), p(r, s, _), p(r, a, _), p(r, c, _), p(r, d, _), p(r, m, _), p(r, n, _), f || (g = se(
|
25
25
|
n,
|
26
26
|
"click",
|
27
27
|
/*click_handler_3*/
|
28
28
|
l[6]
|
29
|
-
),
|
29
|
+
), f = !0);
|
30
30
|
},
|
31
31
|
p(r, _) {
|
32
|
-
|
32
|
+
We(e, b = _t(E, [
|
33
33
|
{ class: "text-[8em] mx-auto" },
|
34
34
|
{ xmlns: "http://www.w3.org/2000/svg" },
|
35
35
|
{ width: "1em" },
|
@@ -41,12 +41,12 @@ function di(l) {
|
|
41
41
|
]));
|
42
42
|
},
|
43
43
|
d(r) {
|
44
|
-
r && w(e), r && w(s), r && w(a), r && w(c), r && w(
|
44
|
+
r && w(e), r && w(s), r && w(a), r && w(c), r && w(d), r && w(m), r && w(n), f = !1, g();
|
45
45
|
}
|
46
46
|
};
|
47
47
|
}
|
48
|
-
function
|
49
|
-
let e, t, s, a, c,
|
48
|
+
function di(l) {
|
49
|
+
let e, t, s, a, c, d, m, n, f, g, E = [
|
50
50
|
{ class: "text-[8em] mx-auto" },
|
51
51
|
{ xmlns: "http://www.w3.org/2000/svg" },
|
52
52
|
{ width: "1em" },
|
@@ -55,22 +55,22 @@ function fi(l) {
|
|
55
55
|
/*$$props*/
|
56
56
|
l[2]
|
57
57
|
], b = {};
|
58
|
-
for (let r = 0; r <
|
59
|
-
b =
|
58
|
+
for (let r = 0; r < E.length; r += 1)
|
59
|
+
b = $e(b, E[r]);
|
60
60
|
return {
|
61
61
|
c() {
|
62
|
-
e =
|
62
|
+
e = Z("svg"), t = Z("path"), s = L(), a = h("span"), a.textContent = "A câmera está em uso.", c = L(), d = h("span"), d.textContent = "Certifique-se de que a câmera não está sendo utilizada por nenhuma outra aplicação e clique no botão abaixo.", m = L(), n = h("button"), n.textContent = "Reiniciar", o(t, "fill", "currentColor"), o(t, "d", "M56.88 31.93a12 12 0 1 0-17.76 16.14l4 4.37A28 28 0 0 0 20 80v112a28 28 0 0 0 28 28h147.42l3.7 4.07a12 12 0 0 0 17.76-16.14Zm49.35 90L136 154.64a24 24 0 0 1-29.77-32.75ZM48 196a4 4 0 0 1-4-4V80a4 4 0 0 1 4-4h16.51l24.92 27.41a48 48 0 0 0 63.34 69.67L173.6 196ZM236 80v94.14a12 12 0 0 1-24 0V80a4 4 0 0 0-4-4h-32a12 12 0 0 1-10-5.34L153.57 52h-51.51a12 12 0 0 1 0-24H160a12 12 0 0 1 10 5.34L182.42 52H208a28 28 0 0 1 28 28"), We(e, b), o(a, "class", "text-xl font-bold text-center"), o(d, "class", "m-auto text-base block text-center"), o(n, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
|
63
63
|
},
|
64
64
|
m(r, _) {
|
65
|
-
p(r, e, _), u(e, t), p(r, s, _), p(r, a, _), p(r, c, _), p(r,
|
65
|
+
p(r, e, _), u(e, t), p(r, s, _), p(r, a, _), p(r, c, _), p(r, d, _), p(r, m, _), p(r, n, _), f || (g = se(
|
66
66
|
n,
|
67
67
|
"click",
|
68
68
|
/*click_handler_2*/
|
69
69
|
l[5]
|
70
|
-
),
|
70
|
+
), f = !0);
|
71
71
|
},
|
72
72
|
p(r, _) {
|
73
|
-
|
73
|
+
We(e, b = _t(E, [
|
74
74
|
{ class: "text-[8em] mx-auto" },
|
75
75
|
{ xmlns: "http://www.w3.org/2000/svg" },
|
76
76
|
{ width: "1em" },
|
@@ -82,12 +82,12 @@ function fi(l) {
|
|
82
82
|
]));
|
83
83
|
},
|
84
84
|
d(r) {
|
85
|
-
r && w(e), r && w(s), r && w(a), r && w(c), r && w(
|
85
|
+
r && w(e), r && w(s), r && w(a), r && w(c), r && w(d), r && w(m), r && w(n), f = !1, g();
|
86
86
|
}
|
87
87
|
};
|
88
88
|
}
|
89
89
|
function mi(l) {
|
90
|
-
let e, t, s, a, c,
|
90
|
+
let e, t, s, a, c, d, m, n, f, g, E = [
|
91
91
|
{ class: "text-[8em] mx-auto" },
|
92
92
|
{ xmlns: "http://www.w3.org/2000/svg" },
|
93
93
|
{ width: "1em" },
|
@@ -96,22 +96,22 @@ function mi(l) {
|
|
96
96
|
/*$$props*/
|
97
97
|
l[2]
|
98
98
|
], b = {};
|
99
|
-
for (let r = 0; r <
|
100
|
-
b =
|
99
|
+
for (let r = 0; r < E.length; r += 1)
|
100
|
+
b = $e(b, E[r]);
|
101
101
|
return {
|
102
102
|
c() {
|
103
|
-
e =
|
103
|
+
e = Z("svg"), t = Z("path"), s = L(), a = h("span"), a.textContent = "A câmera não foi detectada.", c = L(), d = h("span"), d.textContent = "Por favor, conecte a sua câmera, espere alguns instantes e clique no botão Reiniciar.", m = L(), n = h("button"), n.textContent = "Reiniciar", o(t, "fill", "currentColor"), o(t, "d", "m137 168l11.52-11.51a12 12 0 0 0-17-17L120 151l-15-15l11.52-11.51a12 12 0 0 0-17-17L88 119l-15.51-15.49a12 12 0 0 0-17 17L59 124l-20.46 20.49a36 36 0 0 0 0 50.91l2.55 2.54l-25.58 25.57a12 12 0 0 0 17 17l25.57-25.58l2.54 2.55a36.06 36.06 0 0 0 50.91 0L132 197l3.51 3.52a12 12 0 0 0 17-17Zm-42.46 32.49a12 12 0 0 1-17 0l-22.03-22.06a12 12 0 0 1 0-17L76 141l39 39Zm146-185a12 12 0 0 0-17 0l-25.6 25.6l-2.54-2.55a36.05 36.05 0 0 0-50.91 0L124 59l-3.51-3.52a12 12 0 0 0-17 17l80 80a12 12 0 0 0 17-17L197 132l20.49-20.49a36 36 0 0 0 0-50.91l-2.55-2.54l25.58-25.57a12 12 0 0 0-.03-16.98Zm-40 79L180 115l-39-39l20.49-20.49a12 12 0 0 1 17 0l22.06 22.06a12 12 0 0 1 0 17Z"), We(e, b), o(a, "class", "text-xl font-bold text-center"), o(d, "class", "m-auto text-base block text-center"), o(n, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
|
104
104
|
},
|
105
105
|
m(r, _) {
|
106
|
-
p(r, e, _), u(e, t), p(r, s, _), p(r, a, _), p(r, c, _), p(r,
|
106
|
+
p(r, e, _), u(e, t), p(r, s, _), p(r, a, _), p(r, c, _), p(r, d, _), p(r, m, _), p(r, n, _), f || (g = se(
|
107
107
|
n,
|
108
108
|
"click",
|
109
109
|
/*click_handler_1*/
|
110
110
|
l[4]
|
111
|
-
),
|
111
|
+
), f = !0);
|
112
112
|
},
|
113
113
|
p(r, _) {
|
114
|
-
|
114
|
+
We(e, b = _t(E, [
|
115
115
|
{ class: "text-[8em] mx-auto" },
|
116
116
|
{ xmlns: "http://www.w3.org/2000/svg" },
|
117
117
|
{ width: "1em" },
|
@@ -123,12 +123,12 @@ function mi(l) {
|
|
123
123
|
]));
|
124
124
|
},
|
125
125
|
d(r) {
|
126
|
-
r && w(e), r && w(s), r && w(a), r && w(c), r && w(
|
126
|
+
r && w(e), r && w(s), r && w(a), r && w(c), r && w(d), r && w(m), r && w(n), f = !1, g();
|
127
127
|
}
|
128
128
|
};
|
129
129
|
}
|
130
130
|
function _i(l) {
|
131
|
-
let e, t, s, a, c,
|
131
|
+
let e, t, s, a, c, d, m, n, f, g, E = [
|
132
132
|
{ class: "text-[8em] mx-auto" },
|
133
133
|
{ xmlns: "http://www.w3.org/2000/svg" },
|
134
134
|
{ width: "1em" },
|
@@ -137,22 +137,22 @@ function _i(l) {
|
|
137
137
|
/*$$props*/
|
138
138
|
l[2]
|
139
139
|
], b = {};
|
140
|
-
for (let r = 0; r <
|
141
|
-
b =
|
140
|
+
for (let r = 0; r < E.length; r += 1)
|
141
|
+
b = $e(b, E[r]);
|
142
142
|
return {
|
143
143
|
c() {
|
144
|
-
e =
|
144
|
+
e = Z("svg"), t = Z("path"), s = L(), a = h("span"), a.textContent = "Por favor, conceda permissão de acesso à câmera.", c = L(), d = h("span"), d.textContent = "Após conceder a permissão, clique no botão Reiniciar.", m = L(), n = h("button"), n.textContent = "Reiniciar", o(t, "fill", "currentColor"), o(t, "d", "M249.45 69.31a12 12 0 0 0-12.51 1L212 88.43V72a20 20 0 0 0-20-20h-68.12a12 12 0 0 0 0 24H188v68a12 12 0 0 0 4.46 9.33c.15.13.31.25.48.38l44 32A12 12 0 0 0 256 176V80a12 12 0 0 0-6.55-10.69M232 152.43l-20-14.54v-19.78l20-14.54ZM56.88 31.93a12 12 0 1 0-17.76 16.14L42.69 52H32a20 20 0 0 0-20 20v112a20 20 0 0 0 20 20h148.87l18.25 20.07a12 12 0 0 0 17.76-16.14ZM36 180V76h28.51l94.55 104Z"), We(e, b), o(a, "class", "text-xl font-bold text-center"), o(d, "class", "m-auto text-base block text-center"), o(n, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
|
145
145
|
},
|
146
146
|
m(r, _) {
|
147
|
-
p(r, e, _), u(e, t), p(r, s, _), p(r, a, _), p(r, c, _), p(r,
|
147
|
+
p(r, e, _), u(e, t), p(r, s, _), p(r, a, _), p(r, c, _), p(r, d, _), p(r, m, _), p(r, n, _), f || (g = se(
|
148
148
|
n,
|
149
149
|
"click",
|
150
150
|
/*click_handler*/
|
151
151
|
l[3]
|
152
|
-
),
|
152
|
+
), f = !0);
|
153
153
|
},
|
154
154
|
p(r, _) {
|
155
|
-
|
155
|
+
We(e, b = _t(E, [
|
156
156
|
{ class: "text-[8em] mx-auto" },
|
157
157
|
{ xmlns: "http://www.w3.org/2000/svg" },
|
158
158
|
{ width: "1em" },
|
@@ -164,47 +164,47 @@ function _i(l) {
|
|
164
164
|
]));
|
165
165
|
},
|
166
166
|
d(r) {
|
167
|
-
r && w(e), r && w(s), r && w(a), r && w(c), r && w(
|
167
|
+
r && w(e), r && w(s), r && w(a), r && w(c), r && w(d), r && w(m), r && w(n), f = !1, g();
|
168
168
|
}
|
169
169
|
};
|
170
170
|
}
|
171
171
|
function bi(l) {
|
172
172
|
let e;
|
173
|
-
function t(c,
|
173
|
+
function t(c, d) {
|
174
174
|
if (
|
175
175
|
/*$cameraStatusStore*/
|
176
|
-
c[1] ===
|
176
|
+
c[1] === re.CAMERA_DENIED_ERROR
|
177
177
|
)
|
178
178
|
return _i;
|
179
179
|
if (
|
180
180
|
/*$cameraStatusStore*/
|
181
|
-
c[1] ===
|
181
|
+
c[1] === re.DEVICE_NOT_FOUND_ERROR
|
182
182
|
)
|
183
183
|
return mi;
|
184
184
|
if (
|
185
185
|
/*$cameraStatusStore*/
|
186
|
-
c[1] ===
|
186
|
+
c[1] === re.CAMERA_IN_USE_ERROR
|
187
187
|
)
|
188
|
-
return
|
188
|
+
return di;
|
189
189
|
if (
|
190
190
|
/*$cameraStatusStore*/
|
191
|
-
c[1] ===
|
191
|
+
c[1] === re.CAMERA_CLOSED_ERROR
|
192
192
|
)
|
193
|
-
return
|
193
|
+
return fi;
|
194
194
|
}
|
195
195
|
let s = t(l), a = s && s(l);
|
196
196
|
return {
|
197
197
|
c() {
|
198
|
-
e = h("div"), a && a.c(), this.c =
|
198
|
+
e = h("div"), a && a.c(), this.c = G, o(e, "class", "flex flex-col gap-4 justify-center absolute -translate-y-1/2 -translate-x-1/2 top-1/2 left-1/2 overflow-visible text-nowrap");
|
199
199
|
},
|
200
|
-
m(c,
|
201
|
-
p(c, e,
|
200
|
+
m(c, d) {
|
201
|
+
p(c, e, d), a && a.m(e, null);
|
202
202
|
},
|
203
|
-
p(c, [
|
204
|
-
s === (s = t(c)) && a ? a.p(c,
|
203
|
+
p(c, [d]) {
|
204
|
+
s === (s = t(c)) && a ? a.p(c, d) : (a && a.d(1), a = s && s(c), a && (a.c(), a.m(e, null)));
|
205
205
|
},
|
206
|
-
i:
|
207
|
-
o:
|
206
|
+
i: G,
|
207
|
+
o: G,
|
208
208
|
d(c) {
|
209
209
|
c && w(e), a && a.d();
|
210
210
|
}
|
@@ -212,26 +212,26 @@ function bi(l) {
|
|
212
212
|
}
|
213
213
|
function hi(l, e, t) {
|
214
214
|
let s;
|
215
|
-
|
215
|
+
A(l, Ke, (f) => t(1, s = f));
|
216
216
|
let { handler: a = () => {
|
217
217
|
} } = e;
|
218
218
|
const c = () => {
|
219
219
|
a(), console.log("canicna", a);
|
220
|
-
},
|
220
|
+
}, d = () => {
|
221
221
|
a(), console.log("canicna", a);
|
222
222
|
}, m = () => {
|
223
223
|
a(), console.log("canicna", a);
|
224
224
|
}, n = () => {
|
225
225
|
a();
|
226
226
|
};
|
227
|
-
return l.$$set = (
|
228
|
-
t(2, e =
|
227
|
+
return l.$$set = (f) => {
|
228
|
+
t(2, e = $e($e({}, e), Nt(f))), "handler" in f && t(0, a = f.handler);
|
229
229
|
}, e = Nt(e), [
|
230
230
|
a,
|
231
231
|
s,
|
232
232
|
e,
|
233
233
|
c,
|
234
|
-
|
234
|
+
d,
|
235
235
|
m,
|
236
236
|
n
|
237
237
|
];
|
@@ -247,10 +247,10 @@ class nl extends tl {
|
|
247
247
|
},
|
248
248
|
hi,
|
249
249
|
bi,
|
250
|
-
|
250
|
+
It,
|
251
251
|
{ handler: 0 },
|
252
252
|
null
|
253
|
-
), e && (e.target && p(e.target, this, e.anchor), e.props && (this.$set(e.props),
|
253
|
+
), e && (e.target && p(e.target, this, e.anchor), e.props && (this.$set(e.props), Me()));
|
254
254
|
}
|
255
255
|
static get observedAttributes() {
|
256
256
|
return ["handler"];
|
@@ -259,7 +259,7 @@ class nl extends tl {
|
|
259
259
|
return this.$$.ctx[0];
|
260
260
|
}
|
261
261
|
set handler(e) {
|
262
|
-
this.$$set({ handler: e }),
|
262
|
+
this.$$set({ handler: e }), Me();
|
263
263
|
}
|
264
264
|
}
|
265
265
|
customElements.define("camera-status", nl);
|
@@ -276,7 +276,7 @@ function pi(l) {
|
|
276
276
|
m(t, s) {
|
277
277
|
p(t, e, s), l[46](e);
|
278
278
|
},
|
279
|
-
p:
|
279
|
+
p: G,
|
280
280
|
d(t) {
|
281
281
|
t && w(e), l[46](null);
|
282
282
|
}
|
@@ -290,13 +290,13 @@ function Qt(l) {
|
|
290
290
|
},
|
291
291
|
m(a, c) {
|
292
292
|
p(a, e, c), l[47](e), t || (s = [
|
293
|
-
|
293
|
+
se(
|
294
294
|
e,
|
295
295
|
"canplay",
|
296
296
|
/*canplay_handler*/
|
297
297
|
l[48]
|
298
298
|
),
|
299
|
-
|
299
|
+
se(
|
300
300
|
e,
|
301
301
|
"play",
|
302
302
|
/*play*/
|
@@ -305,7 +305,7 @@ function Qt(l) {
|
|
305
305
|
)
|
306
306
|
], t = !0);
|
307
307
|
},
|
308
|
-
p:
|
308
|
+
p: G,
|
309
309
|
d(a) {
|
310
310
|
a && w(e), l[47](null), t = !1, bt(s);
|
311
311
|
}
|
@@ -315,7 +315,7 @@ function gi(l) {
|
|
315
315
|
let e, t;
|
316
316
|
return {
|
317
317
|
c() {
|
318
|
-
e =
|
318
|
+
e = Z("svg"), t = Z("path"), o(t, "fill", "currentColor"), o(t, "d", "M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7l233.4-233.3c12.5-12.5 32.8-12.5 45.3 0z"), o(e, "class", "mt-[1px] ml-[.25em] overflow-visible"), o(e, "xmlns", "http://www.w3.org/2000/svg"), o(e, "width", "1em"), o(e, "height", "1em"), o(e, "viewBox", "0 0 512 512");
|
319
319
|
},
|
320
320
|
m(s, a) {
|
321
321
|
p(s, e, a), u(e, t);
|
@@ -329,7 +329,7 @@ function vi(l) {
|
|
329
329
|
let e, t;
|
330
330
|
return {
|
331
331
|
c() {
|
332
|
-
e =
|
332
|
+
e = Z("svg"), t = Z("path"), o(t, "fill", "currentColor"), o(t, "d", "M310.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L160 210.7L54.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L114.7 256L9.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 301.3l105.4 105.3c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L205.3 256l105.3-105.4z"), o(e, "class", "mt-[2px] ml-[.25em] overflow-visible"), o(e, "xmlns", "http://www.w3.org/2000/svg"), o(e, "width", "0.63em"), o(e, "height", "1em"), o(e, "viewBox", "0 0 320 512");
|
333
333
|
},
|
334
334
|
m(s, a) {
|
335
335
|
p(s, e, a), u(e, t);
|
@@ -343,7 +343,7 @@ function wi(l) {
|
|
343
343
|
let e, t;
|
344
344
|
return {
|
345
345
|
c() {
|
346
|
-
e =
|
346
|
+
e = Z("svg"), t = Z("path"), o(t, "fill", "currentColor"), o(t, "d", "M310.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L160 210.7L54.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L114.7 256L9.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 301.3l105.4 105.3c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L205.3 256l105.3-105.4z"), o(e, "class", "mt-[2px] ml-[.25em] overflow-visible"), o(e, "xmlns", "http://www.w3.org/2000/svg"), o(e, "width", "0.63em"), o(e, "height", "1em"), o(e, "viewBox", "0 0 320 512");
|
347
347
|
},
|
348
348
|
m(s, a) {
|
349
349
|
p(s, e, a), u(e, t);
|
@@ -357,7 +357,7 @@ function ki(l) {
|
|
357
357
|
let e, t;
|
358
358
|
return {
|
359
359
|
c() {
|
360
|
-
e =
|
360
|
+
e = Z("svg"), t = Z("path"), o(t, "fill", "currentColor"), o(t, "d", "M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7l233.4-233.3c12.5-12.5 32.8-12.5 45.3 0z"), o(e, "class", "mt-[1px] ml-[.25em] overflow-visible"), o(e, "xmlns", "http://www.w3.org/2000/svg"), o(e, "width", "1em"), o(e, "height", "1em"), o(e, "viewBox", "0 0 512 512");
|
361
361
|
},
|
362
362
|
m(s, a) {
|
363
363
|
p(s, e, a), u(e, t);
|
@@ -398,7 +398,7 @@ function Ei(l) {
|
|
398
398
|
m(t, s) {
|
399
399
|
p(t, e, s);
|
400
400
|
},
|
401
|
-
p:
|
401
|
+
p: G,
|
402
402
|
d(t) {
|
403
403
|
t && w(e);
|
404
404
|
}
|
@@ -408,7 +408,7 @@ function Ri(l) {
|
|
408
408
|
let e, t;
|
409
409
|
return {
|
410
410
|
c() {
|
411
|
-
e =
|
411
|
+
e = Z("svg"), t = Z("path"), o(t, "fill", "currentColor"), o(t, "d", "M310.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L160 210.7L54.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L114.7 256L9.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 301.3l105.4 105.3c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L205.3 256l105.3-105.4z"), o(e, "class", "mt-[2px] ml-[.25em] overflow-visible"), o(e, "xmlns", "http://www.w3.org/2000/svg"), o(e, "width", "0.63em"), o(e, "height", "1em"), o(e, "viewBox", "0 0 320 512");
|
412
412
|
},
|
413
413
|
m(s, a) {
|
414
414
|
p(s, e, a), u(e, t);
|
@@ -422,7 +422,7 @@ function Li(l) {
|
|
422
422
|
let e, t;
|
423
423
|
return {
|
424
424
|
c() {
|
425
|
-
e =
|
425
|
+
e = Z("svg"), t = Z("path"), o(t, "fill", "currentColor"), o(t, "d", "M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7l233.4-233.3c12.5-12.5 32.8-12.5 45.3 0z"), o(e, "class", "mt-[1px] ml-[.25em] overflow-visible"), o(e, "xmlns", "http://www.w3.org/2000/svg"), o(e, "width", "1em"), o(e, "height", "1em"), o(e, "viewBox", "0 0 512 512");
|
426
426
|
},
|
427
427
|
m(s, a) {
|
428
428
|
p(s, e, a), u(e, t);
|
@@ -434,25 +434,25 @@ function Li(l) {
|
|
434
434
|
}
|
435
435
|
function Xt(l) {
|
436
436
|
let e, t, s, a, c;
|
437
|
-
function f
|
437
|
+
function d(f, g) {
|
438
438
|
return (
|
439
439
|
/*$isLoading*/
|
440
|
-
|
440
|
+
f[33] ? Oi : yi
|
441
441
|
);
|
442
442
|
}
|
443
|
-
let m =
|
443
|
+
let m = d(l), n = m(l);
|
444
444
|
return {
|
445
445
|
c() {
|
446
|
-
e = h("slot"), t = h("div"), s = h("img"), c = L(), n.c(),
|
446
|
+
e = h("slot"), t = h("div"), s = h("img"), c = L(), n.c(), dt(s.src, a = ol) || o(s, "src", a), o(s, "alt", "loading gif"), o(s, "class", "m-auto h-[10em] lg:h-[12em]"), o(t, "class", "translate-y-1/3 md:translate-y-1/4 xl:translate-y-1/2"), o(e, "name", "obtaining-photo-gif"), o(e, "class", "block h-[17em] lg:h-[21.6em] xl:h-[30em]");
|
447
447
|
},
|
448
|
-
m(
|
449
|
-
p(
|
448
|
+
m(f, g) {
|
449
|
+
p(f, e, g), u(e, t), u(t, s), u(t, c), n.m(t, null);
|
450
450
|
},
|
451
|
-
p(
|
452
|
-
m === (m = f
|
451
|
+
p(f, g) {
|
452
|
+
m === (m = d(f)) && n ? n.p(f, g) : (n.d(1), n = m(f), n && (n.c(), n.m(t, null)));
|
453
453
|
},
|
454
|
-
d(
|
455
|
-
|
454
|
+
d(f) {
|
455
|
+
f && w(e), n.d();
|
456
456
|
}
|
457
457
|
};
|
458
458
|
}
|
@@ -478,7 +478,7 @@ function yi(l) {
|
|
478
478
|
}
|
479
479
|
};
|
480
480
|
}
|
481
|
-
function
|
481
|
+
function Oi(l) {
|
482
482
|
let e;
|
483
483
|
return {
|
484
484
|
c() {
|
@@ -487,7 +487,7 @@ function Pi(l) {
|
|
487
487
|
m(t, s) {
|
488
488
|
p(t, e, s);
|
489
489
|
},
|
490
|
-
p:
|
490
|
+
p: G,
|
491
491
|
d(t) {
|
492
492
|
t && w(e);
|
493
493
|
}
|
@@ -495,29 +495,29 @@ function Pi(l) {
|
|
495
495
|
}
|
496
496
|
function Jt(l) {
|
497
497
|
let e, t, s, a, c;
|
498
|
-
function f
|
498
|
+
function d(f, g) {
|
499
499
|
return (
|
500
500
|
/*$isLoading*/
|
501
|
-
|
501
|
+
f[33] ? Pi : Ii
|
502
502
|
);
|
503
503
|
}
|
504
|
-
let m =
|
504
|
+
let m = d(l), n = m(l);
|
505
505
|
return {
|
506
506
|
c() {
|
507
|
-
e = h("slot"), t = h("div"), s = h("img"), c = L(), n.c(),
|
507
|
+
e = h("slot"), t = h("div"), s = h("img"), c = L(), n.c(), dt(s.src, a = ol) || o(s, "src", a), o(s, "alt", "loading gif"), o(s, "class", "m-auto h-[10em] lg:h-[12em]"), o(t, "class", "translate-y-1/3 md:translate-y-1/4 xl:translate-y-1/2"), o(e, "name", "loading-camera-gif"), o(e, "class", "block h-[17em] lg:h-[21.6em] xl:h-[30em]");
|
508
508
|
},
|
509
|
-
m(
|
510
|
-
p(
|
509
|
+
m(f, g) {
|
510
|
+
p(f, e, g), u(e, t), u(t, s), u(t, c), n.m(t, null);
|
511
511
|
},
|
512
|
-
p(
|
513
|
-
m === (m = f
|
512
|
+
p(f, g) {
|
513
|
+
m === (m = d(f)) && n ? n.p(f, g) : (n.d(1), n = m(f), n && (n.c(), n.m(t, null)));
|
514
514
|
},
|
515
|
-
d(
|
516
|
-
|
515
|
+
d(f) {
|
516
|
+
f && w(e), n.d();
|
517
517
|
}
|
518
518
|
};
|
519
519
|
}
|
520
|
-
function
|
520
|
+
function Ii(l) {
|
521
521
|
let e, t = (
|
522
522
|
/*$_*/
|
523
523
|
l[20]("faceCollector.initiatingCamera") + ""
|
@@ -539,7 +539,7 @@ function Oi(l) {
|
|
539
539
|
}
|
540
540
|
};
|
541
541
|
}
|
542
|
-
function
|
542
|
+
function Pi(l) {
|
543
543
|
let e;
|
544
544
|
return {
|
545
545
|
c() {
|
@@ -548,34 +548,34 @@ function Ii(l) {
|
|
548
548
|
m(t, s) {
|
549
549
|
p(t, e, s);
|
550
550
|
},
|
551
|
-
p:
|
551
|
+
p: G,
|
552
552
|
d(t) {
|
553
553
|
t && w(e);
|
554
554
|
}
|
555
555
|
};
|
556
556
|
}
|
557
|
-
function
|
557
|
+
function Si(l) {
|
558
558
|
let e, t, s = (
|
559
559
|
/*$_*/
|
560
560
|
l[20]("faceCollector.finish") + ""
|
561
|
-
), a, c,
|
561
|
+
), a, c, d, m, n = (
|
562
562
|
/*$_*/
|
563
563
|
l[20]("faceCollector.retakePhoto") + ""
|
564
|
-
),
|
564
|
+
), f, g, E;
|
565
565
|
return {
|
566
566
|
c() {
|
567
|
-
e = h("div"), t = h("button"), a = T(s),
|
567
|
+
e = h("div"), t = h("button"), a = T(s), d = L(), m = h("button"), f = T(n), t.disabled = c = /*$justification*/
|
568
568
|
l[25].length === 0, o(t, "class", "ce-dui-btn ce-dui-btn-primary ce-dui-btn-block flex-shrink"), o(m, "id", "bry-cc-retake-button"), o(m, "class", "ce-dui-btn ce-dui-btn-block ce-dui-btn-outline flex-shrink"), o(e, "class", "ce-dui-btn-group flex");
|
569
569
|
},
|
570
570
|
m(b, r) {
|
571
|
-
p(b, e, r), u(e, t), u(t, a), u(e,
|
572
|
-
|
571
|
+
p(b, e, r), u(e, t), u(t, a), u(e, d), u(e, m), u(m, f), g || (E = [
|
572
|
+
se(
|
573
573
|
t,
|
574
574
|
"click",
|
575
575
|
/*click_handler_1*/
|
576
576
|
l[57]
|
577
577
|
),
|
578
|
-
|
578
|
+
se(
|
579
579
|
m,
|
580
580
|
"click",
|
581
581
|
/*click_handler_2*/
|
@@ -590,22 +590,22 @@ function Ai(l) {
|
|
590
590
|
33554432 && c !== (c = /*$justification*/
|
591
591
|
b[25].length === 0) && (t.disabled = c), r[0] & /*$_*/
|
592
592
|
1048576 && n !== (n = /*$_*/
|
593
|
-
b[20]("faceCollector.retakePhoto") + "") && W(
|
593
|
+
b[20]("faceCollector.retakePhoto") + "") && W(f, n);
|
594
594
|
},
|
595
595
|
d(b) {
|
596
|
-
b && w(e), g = !1, bt(
|
596
|
+
b && w(e), g = !1, bt(E);
|
597
597
|
}
|
598
598
|
};
|
599
599
|
}
|
600
|
-
function
|
600
|
+
function Ai(l) {
|
601
601
|
let e, t, s, a;
|
602
|
-
function c(n,
|
602
|
+
function c(n, f) {
|
603
603
|
return (
|
604
604
|
/*$isLoading*/
|
605
|
-
n[33] ?
|
605
|
+
n[33] ? Di : Ti
|
606
606
|
);
|
607
607
|
}
|
608
|
-
let
|
608
|
+
let d = c(l), m = d(l);
|
609
609
|
return {
|
610
610
|
c() {
|
611
611
|
e = h("button"), m.c(), o(e, "id", "bry-cc-capture-btn"), e.disabled = t = !/*$faceFound*/
|
@@ -614,17 +614,17 @@ function Si(l) {
|
|
614
614
|
l[29] && !/*$enableFaceApi*/
|
615
615
|
l[28], o(e, "class", "ce-dui-btn ce-dui-btn-block ce-dui-btn-primary text-xl");
|
616
616
|
},
|
617
|
-
m(n,
|
618
|
-
p(n, e,
|
617
|
+
m(n, f) {
|
618
|
+
p(n, e, f), m.m(e, null), s || (a = se(
|
619
619
|
e,
|
620
620
|
"click",
|
621
621
|
/*click_handler*/
|
622
622
|
l[56]
|
623
623
|
), s = !0);
|
624
624
|
},
|
625
|
-
p(n,
|
626
|
-
|
627
|
-
805306368 |
|
625
|
+
p(n, f) {
|
626
|
+
d === (d = c(n)) && m ? m.p(n, f) : (m.d(1), m = d(n), m && (m.c(), m.m(e, null))), f[0] & /*$enableFaceApi, $ready*/
|
627
|
+
805306368 | f[1] & /*$faceFound*/
|
628
628
|
1 && t !== (t = !/*$faceFound*/
|
629
629
|
n[31] && /*$enableFaceApi*/
|
630
630
|
n[28] || !/*$ready*/
|
@@ -658,7 +658,7 @@ function Ti(l) {
|
|
658
658
|
}
|
659
659
|
};
|
660
660
|
}
|
661
|
-
function
|
661
|
+
function Di(l) {
|
662
662
|
let e;
|
663
663
|
return {
|
664
664
|
c() {
|
@@ -667,23 +667,23 @@ function xi(l) {
|
|
667
667
|
m(t, s) {
|
668
668
|
p(t, e, s);
|
669
669
|
},
|
670
|
-
p:
|
670
|
+
p: G,
|
671
671
|
d(t) {
|
672
672
|
t && w(e);
|
673
673
|
}
|
674
674
|
};
|
675
675
|
}
|
676
|
-
function
|
676
|
+
function xi(l) {
|
677
677
|
let e, t;
|
678
678
|
return e = new nl({ props: { handler: (
|
679
679
|
/*func*/
|
680
680
|
l[67]
|
681
681
|
) } }), {
|
682
682
|
c() {
|
683
|
-
|
683
|
+
Pt(e.$$.fragment);
|
684
684
|
},
|
685
685
|
m(s, a) {
|
686
|
-
|
686
|
+
St(e, s, a), t = !0;
|
687
687
|
},
|
688
688
|
p(s, a) {
|
689
689
|
const c = {};
|
@@ -692,25 +692,25 @@ function Di(l) {
|
|
692
692
|
s[67]), e.$set(c);
|
693
693
|
},
|
694
694
|
i(s) {
|
695
|
-
t || (
|
695
|
+
t || (Fe(e.$$.fragment, s), t = !0);
|
696
696
|
},
|
697
697
|
o(s) {
|
698
|
-
|
698
|
+
Ne(e.$$.fragment, s), t = !1;
|
699
699
|
},
|
700
700
|
d(s) {
|
701
|
-
|
701
|
+
At(e, s);
|
702
702
|
}
|
703
703
|
};
|
704
704
|
}
|
705
705
|
function Mi(l) {
|
706
|
-
let e, t, s, a, c,
|
706
|
+
let e, t, s, a, c, d, m, n, f;
|
707
707
|
const g = [
|
708
708
|
Hi,
|
709
709
|
Bi,
|
710
710
|
Wi,
|
711
711
|
Fi,
|
712
712
|
Ni
|
713
|
-
],
|
713
|
+
], E = [];
|
714
714
|
function b(r, _) {
|
715
715
|
return (
|
716
716
|
/*$captured*/
|
@@ -718,7 +718,7 @@ function Mi(l) {
|
|
718
718
|
/*$unconformitiesStore*/
|
719
719
|
r[23].isLoading ? 1 : (
|
720
720
|
/*$requestResult*/
|
721
|
-
r[21] !==
|
721
|
+
r[21] !== J.OK ? 2 : (
|
722
722
|
/*$saved*/
|
723
723
|
r[24] ? 4 : 3
|
724
724
|
)
|
@@ -726,9 +726,9 @@ function Mi(l) {
|
|
726
726
|
) : 0
|
727
727
|
);
|
728
728
|
}
|
729
|
-
return
|
729
|
+
return d = b(l), m = E[d] = g[d](l), {
|
730
730
|
c() {
|
731
|
-
e = h("div"), t = h("img"), c = L(), m.c(), o(t, "class", "m-auto col-start-1 col-end-1 max-h-[23.2em]"),
|
731
|
+
e = h("div"), t = h("img"), c = L(), m.c(), o(t, "class", "m-auto col-start-1 col-end-1 max-h-[23.2em]"), dt(t.src, s = /*$dataTypePrefix*/
|
732
732
|
l[27] + "," + /*$image*/
|
733
733
|
l[26]) || o(t, "src", s), t.hidden = a = !/*$captured*/
|
734
734
|
l[18] || !/*$showFaceWhileValidating*/
|
@@ -738,35 +738,35 @@ function Mi(l) {
|
|
738
738
|
l[23].isLoading ? "absolute -translate-y-1/2 -translate-x-1/2 top-1/2 left-1/2 overflow-visible" : "grid m-[1em] overflow-hidden"));
|
739
739
|
},
|
740
740
|
m(r, _) {
|
741
|
-
p(r, e, _), u(e, t), u(e, c),
|
741
|
+
p(r, e, _), u(e, t), u(e, c), E[d].m(e, null), f = !0;
|
742
742
|
},
|
743
743
|
p(r, _) {
|
744
|
-
(!
|
745
|
-
201326592 && !
|
744
|
+
(!f || _[0] & /*$dataTypePrefix, $image*/
|
745
|
+
201326592 && !dt(t.src, s = /*$dataTypePrefix*/
|
746
746
|
r[27] + "," + /*$image*/
|
747
|
-
r[26])) && o(t, "src", s), (!
|
747
|
+
r[26])) && o(t, "src", s), (!f || _[0] & /*$captured, $unconformitiesStore*/
|
748
748
|
8650752 | _[1] & /*$showFaceWhileValidating*/
|
749
749
|
8 && a !== (a = !/*$captured*/
|
750
750
|
r[18] || !/*$showFaceWhileValidating*/
|
751
751
|
r[34] && /*$unconformitiesStore*/
|
752
752
|
r[23].isLoading)) && (t.hidden = a);
|
753
|
-
let
|
754
|
-
|
755
|
-
|
756
|
-
}), al(), m =
|
753
|
+
let I = d;
|
754
|
+
d = b(r), d === I ? E[d].p(r, _) : (sl(), Ne(E[I], 1, 1, () => {
|
755
|
+
E[I] = null;
|
756
|
+
}), al(), m = E[d], m ? m.p(r, _) : (m = E[d] = g[d](r), m.c()), Fe(m, 1), m.m(e, null)), (!f || _[0] & /*$unconformitiesStore*/
|
757
757
|
8388608 | _[1] & /*$showFaceWhileValidating*/
|
758
758
|
8 && n !== (n = "grid-cols-1 grid-rows-2 sm:grid-cols-2 sm:grid-rows-1 gap-[.5em] " + (!/*$showFaceWhileValidating*/
|
759
759
|
r[34] && /*$unconformitiesStore*/
|
760
760
|
r[23].isLoading ? "absolute -translate-y-1/2 -translate-x-1/2 top-1/2 left-1/2 overflow-visible" : "grid m-[1em] overflow-hidden"))) && o(e, "class", n);
|
761
761
|
},
|
762
762
|
i(r) {
|
763
|
-
|
763
|
+
f || (Fe(m), f = !0);
|
764
764
|
},
|
765
765
|
o(r) {
|
766
|
-
|
766
|
+
Ne(m), f = !1;
|
767
767
|
},
|
768
768
|
d(r) {
|
769
|
-
r && w(e),
|
769
|
+
r && w(e), E[d].d();
|
770
770
|
}
|
771
771
|
};
|
772
772
|
}
|
@@ -774,44 +774,44 @@ function Ni(l) {
|
|
774
774
|
let e, t, s = (
|
775
775
|
/*$_*/
|
776
776
|
l[20]("faceCollector.captured") + ""
|
777
|
-
), a, c,
|
777
|
+
), a, c, d, m, n, f = (
|
778
778
|
/*$_*/
|
779
779
|
l[20]("faceCollector.retakePhoto") + ""
|
780
|
-
), g,
|
780
|
+
), g, E, b = Ot(ni).faceStrategy !== ri.DISABLED, r, _, I, O = (
|
781
781
|
/*$unconformitiesStore*/
|
782
782
|
l[23].unconformities.length !== 0 && Gt(l)
|
783
783
|
), R = b && Ui();
|
784
784
|
return {
|
785
785
|
c() {
|
786
|
-
e = h("div"), t = h("h1"), a = T(s), c = L(), O && O.c(),
|
786
|
+
e = h("div"), t = h("h1"), a = T(s), c = L(), O && O.c(), d = L(), m = h("div"), n = h("button"), g = T(f), E = L(), R && R.c(), o(t, "class", "text-3xl font-bold pb-[1em] transition-opacity"), o(n, "id", "bry-cc-retake-button"), o(n, "class", "ce-dui-btn ce-dui-btn-block flex-shrink text-base"), o(m, "class", "flex flex-row"), zt(m, "ce-dui-btn-group", !/*$exportButtonDisabled*/
|
787
787
|
l[35]);
|
788
788
|
},
|
789
|
-
m(
|
790
|
-
p(
|
789
|
+
m(C, U) {
|
790
|
+
p(C, e, U), u(e, t), u(t, a), u(e, c), O && O.m(e, null), u(e, d), u(e, m), u(m, n), u(n, g), u(m, E), R && R.m(m, null), r = !0, _ || (I = se(
|
791
791
|
n,
|
792
792
|
"click",
|
793
793
|
/*click_handler_7*/
|
794
794
|
l[66]
|
795
795
|
), _ = !0);
|
796
796
|
},
|
797
|
-
p(
|
797
|
+
p(C, U) {
|
798
798
|
(!r || U[0] & /*$_*/
|
799
799
|
1048576) && s !== (s = /*$_*/
|
800
|
-
|
801
|
-
|
802
|
-
1048576) &&
|
803
|
-
|
800
|
+
C[20]("faceCollector.captured") + "") && W(a, s), /*$unconformitiesStore*/
|
801
|
+
C[23].unconformities.length !== 0 ? O ? O.p(C, U) : (O = Gt(C), O.c(), O.m(e, d)) : O && (O.d(1), O = null), (!r || U[0] & /*$_*/
|
802
|
+
1048576) && f !== (f = /*$_*/
|
803
|
+
C[20]("faceCollector.retakePhoto") + "") && W(g, f), (!r || U[1] & /*$exportButtonDisabled*/
|
804
804
|
16) && zt(m, "ce-dui-btn-group", !/*$exportButtonDisabled*/
|
805
|
-
|
805
|
+
C[35]);
|
806
806
|
},
|
807
|
-
i(
|
808
|
-
r || (
|
807
|
+
i(C) {
|
808
|
+
r || (Fe(R), r = !0);
|
809
809
|
},
|
810
|
-
o(
|
811
|
-
|
810
|
+
o(C) {
|
811
|
+
Ne(R), r = !1;
|
812
812
|
},
|
813
|
-
d(
|
814
|
-
|
813
|
+
d(C) {
|
814
|
+
C && w(e), O && O.d(), R && R.d(), _ = !1, I();
|
815
815
|
}
|
816
816
|
};
|
817
817
|
}
|
@@ -819,135 +819,135 @@ function Fi(l) {
|
|
819
819
|
let e, t, s = (
|
820
820
|
/*$_*/
|
821
821
|
l[20]("faceCollector.unconformities") + ""
|
822
|
-
), a, c,
|
822
|
+
), a, c, d, m, n, f, g, E = (
|
823
823
|
/*$_*/
|
824
824
|
l[20]("faceCollector.provideAReasonForTheLowQualityCapture") + ""
|
825
|
-
), b, r, _,
|
825
|
+
), b, r, _, I, O, R, C, U, _e = (
|
826
826
|
/*$_*/
|
827
827
|
l[20]("faceCollector.thisInformationIsRequired") + ""
|
828
|
-
),
|
828
|
+
), ce, Q, ae, j, Ie, ue = (
|
829
829
|
/*$unconformitiesStore*/
|
830
830
|
l[23].unconformities
|
831
|
-
),
|
832
|
-
for (let
|
833
|
-
|
834
|
-
let
|
831
|
+
), N = [];
|
832
|
+
for (let D = 0; D < ue.length; D += 1)
|
833
|
+
N[D] = Yt(Zt(l, ue, D));
|
834
|
+
let V = (
|
835
835
|
/*$captured*/
|
836
836
|
l[18] && $t(l)
|
837
837
|
);
|
838
838
|
return {
|
839
839
|
c() {
|
840
|
-
e = h("div"), t = h("h1"), a = T(s), c = L(),
|
841
|
-
for (let
|
842
|
-
|
843
|
-
m = L(), n = h("div"),
|
844
|
-
l[20]("faceCollector.yourJustification")), o(
|
845
|
-
},
|
846
|
-
m(
|
847
|
-
p(
|
848
|
-
for (let
|
849
|
-
|
850
|
-
u(e, m), u(e, n), u(n,
|
840
|
+
e = h("div"), t = h("h1"), a = T(s), c = L(), d = h("div");
|
841
|
+
for (let D = 0; D < N.length; D += 1)
|
842
|
+
N[D].c();
|
843
|
+
m = L(), n = h("div"), f = h("label"), g = h("span"), b = T(E), r = L(), _ = h("textarea"), O = L(), R = h("label"), C = h("span"), U = T("("), ce = T(_e), Q = T(")"), ae = L(), V && V.c(), o(t, "class", "text-3xl font-bold pb-[1em] transition-opacity"), o(d, "class", "flex flex-wrap"), o(g, "class", "ce-dui-label-text text-base"), o(f, "class", "ce-dui-label"), o(f, "for", "justification"), o(_, "contenteditable", ""), o(_, "id", "justification"), o(_, "class", "ce-dui-textarea ce-dui-textarea-bordered h-[6em] text-base"), o(_, "placeholder", I = /*$_*/
|
844
|
+
l[20]("faceCollector.yourJustification")), o(C, "class", "ce-dui-label-text-alt text-base"), o(R, "class", "ce-dui-label"), o(R, "for", "justification"), o(n, "class", "ce-dui-form-control mt-[2.5em]");
|
845
|
+
},
|
846
|
+
m(D, te) {
|
847
|
+
p(D, e, te), u(e, t), u(t, a), u(e, c), u(e, d);
|
848
|
+
for (let x = 0; x < N.length; x += 1)
|
849
|
+
N[x] && N[x].m(d, null);
|
850
|
+
u(e, m), u(e, n), u(n, f), u(f, g), u(g, b), u(n, r), u(n, _), mt(
|
851
851
|
_,
|
852
852
|
/*$justification*/
|
853
853
|
l[25]
|
854
|
-
), u(n, O), u(n, R), u(R,
|
854
|
+
), u(n, O), u(n, R), u(R, C), u(C, U), u(C, ce), u(C, Q), u(e, ae), V && V.m(e, null), j || (Ie = se(
|
855
855
|
_,
|
856
856
|
"input",
|
857
857
|
/*textarea_input_handler*/
|
858
858
|
l[62]
|
859
|
-
),
|
859
|
+
), j = !0);
|
860
860
|
},
|
861
|
-
p(
|
862
|
-
if (
|
861
|
+
p(D, te) {
|
862
|
+
if (te[0] & /*$_*/
|
863
863
|
1048576 && s !== (s = /*$_*/
|
864
|
-
|
864
|
+
D[20]("faceCollector.unconformities") + "") && W(a, s), te[0] & /*$unconformitiesStore*/
|
865
865
|
8388608) {
|
866
|
-
|
867
|
-
|
868
|
-
let
|
869
|
-
for (
|
870
|
-
const
|
871
|
-
|
866
|
+
ue = /*$unconformitiesStore*/
|
867
|
+
D[23].unconformities;
|
868
|
+
let x;
|
869
|
+
for (x = 0; x < ue.length; x += 1) {
|
870
|
+
const be = Zt(D, ue, x);
|
871
|
+
N[x] ? N[x].p(be, te) : (N[x] = Yt(be), N[x].c(), N[x].m(d, null));
|
872
872
|
}
|
873
|
-
for (;
|
874
|
-
|
875
|
-
|
873
|
+
for (; x < N.length; x += 1)
|
874
|
+
N[x].d(1);
|
875
|
+
N.length = ue.length;
|
876
876
|
}
|
877
|
-
|
878
|
-
1048576 &&
|
879
|
-
|
880
|
-
1048576 &&
|
881
|
-
|
877
|
+
te[0] & /*$_*/
|
878
|
+
1048576 && E !== (E = /*$_*/
|
879
|
+
D[20]("faceCollector.provideAReasonForTheLowQualityCapture") + "") && W(b, E), te[0] & /*$_*/
|
880
|
+
1048576 && I !== (I = /*$_*/
|
881
|
+
D[20]("faceCollector.yourJustification")) && o(_, "placeholder", I), te[0] & /*$justification*/
|
882
882
|
33554432 && mt(
|
883
883
|
_,
|
884
884
|
/*$justification*/
|
885
|
-
|
886
|
-
),
|
887
|
-
1048576 &&
|
888
|
-
|
889
|
-
|
890
|
-
},
|
891
|
-
i:
|
892
|
-
o:
|
893
|
-
d(
|
894
|
-
|
885
|
+
D[25]
|
886
|
+
), te[0] & /*$_*/
|
887
|
+
1048576 && _e !== (_e = /*$_*/
|
888
|
+
D[20]("faceCollector.thisInformationIsRequired") + "") && W(ce, _e), /*$captured*/
|
889
|
+
D[18] ? V ? V.p(D, te) : (V = $t(D), V.c(), V.m(e, null)) : V && (V.d(1), V = null);
|
890
|
+
},
|
891
|
+
i: G,
|
892
|
+
o: G,
|
893
|
+
d(D) {
|
894
|
+
D && w(e), ci(N, D), V && V.d(), j = !1, Ie();
|
895
895
|
}
|
896
896
|
};
|
897
897
|
}
|
898
898
|
function Wi(l) {
|
899
|
-
let e, t, s, a, c,
|
899
|
+
let e, t, s, a, c, d = (
|
900
900
|
/*$_*/
|
901
901
|
l[20]("faceCollector.finish") + ""
|
902
|
-
), m, n,
|
902
|
+
), m, n, f, g = (
|
903
903
|
/*$_*/
|
904
904
|
l[20]("faceCollector.retakePhoto") + ""
|
905
|
-
),
|
906
|
-
function _(R,
|
907
|
-
return
|
905
|
+
), E, b, r;
|
906
|
+
function _(R, C) {
|
907
|
+
return C[0] & /*$requestResult, $rejectOnFailLiveness*/
|
908
908
|
6291456 && (t = null), /*$requestResult*/
|
909
|
-
R[21] ===
|
910
|
-
R[21] ===
|
911
|
-
(R[21] ===
|
909
|
+
R[21] === J.LIVENESS_DETECTION_FAILURE || /*$requestResult*/
|
910
|
+
R[21] === J.UNKNOWN_LIVENESS_ERROR ? zi : (t == null && (t = !!/*$requestResult*/
|
911
|
+
(R[21] === J.LOW_LIVENESS_SCORE && q() && /*$rejectOnFailLiveness*/
|
912
912
|
R[22])), t ? qi : (
|
913
913
|
/*$requestResult*/
|
914
|
-
R[21] ===
|
915
|
-
R[21] ===
|
914
|
+
R[21] === J.TEMPLATE_EXTRACTION_ERROR || /*$requestResult*/
|
915
|
+
R[21] === J.UNKNOWN_TEMPLATE_EXTRACTION_ERROR ? ji : (
|
916
916
|
/*$requestResult*/
|
917
|
-
R[21] ===
|
917
|
+
R[21] === J.UNABLE_TO_COMMUNICATE_WITH_TEMPLATE_EXTRACTION_SERVICE ? Ki : Vi
|
918
918
|
)
|
919
919
|
));
|
920
920
|
}
|
921
|
-
let
|
921
|
+
let I = _(l, [-1, -1, -1, -1]), O = I(l);
|
922
922
|
return {
|
923
923
|
c() {
|
924
|
-
e = h("div"), O.c(), s = L(), a = h("div"), c = h("button"), m = T(
|
924
|
+
e = h("div"), O.c(), s = L(), a = h("div"), c = h("button"), m = T(d), n = L(), f = h("button"), E = T(g), c.disabled = !0, o(c, "class", "ce-dui-btn ce-dui-btn-primary ce-dui-btn-block flex-shrink"), o(f, "id", "bry-cc-retake-button"), o(f, "class", "ce-dui-btn ce-dui-btn-block ce-dui-btn-outline flex-shrink"), o(a, "class", "ce-dui-btn-group flex"), o(e, "class", "flex flex-col justify-between");
|
925
925
|
},
|
926
|
-
m(R,
|
927
|
-
p(R, e,
|
928
|
-
|
926
|
+
m(R, C) {
|
927
|
+
p(R, e, C), O.m(e, null), u(e, s), u(e, a), u(a, c), u(c, m), u(a, n), u(a, f), u(f, E), b || (r = [
|
928
|
+
se(
|
929
929
|
c,
|
930
930
|
"click",
|
931
931
|
/*click_handler_3*/
|
932
932
|
l[60]
|
933
933
|
),
|
934
|
-
|
935
|
-
|
934
|
+
se(
|
935
|
+
f,
|
936
936
|
"click",
|
937
937
|
/*click_handler_4*/
|
938
938
|
l[61]
|
939
939
|
)
|
940
940
|
], b = !0);
|
941
941
|
},
|
942
|
-
p(R,
|
943
|
-
|
944
|
-
1048576 &&
|
945
|
-
R[20]("faceCollector.finish") + "") && W(m,
|
942
|
+
p(R, C) {
|
943
|
+
I === (I = _(R, C)) && O ? O.p(R, C) : (O.d(1), O = I(R), O && (O.c(), O.m(e, s))), C[0] & /*$_*/
|
944
|
+
1048576 && d !== (d = /*$_*/
|
945
|
+
R[20]("faceCollector.finish") + "") && W(m, d), C[0] & /*$_*/
|
946
946
|
1048576 && g !== (g = /*$_*/
|
947
|
-
R[20]("faceCollector.retakePhoto") + "") && W(
|
947
|
+
R[20]("faceCollector.retakePhoto") + "") && W(E, g);
|
948
948
|
},
|
949
|
-
i:
|
950
|
-
o:
|
949
|
+
i: G,
|
950
|
+
o: G,
|
951
951
|
d(R) {
|
952
952
|
R && w(e), O.d(), b = !1, bt(r);
|
953
953
|
}
|
@@ -957,21 +957,21 @@ function Bi(l) {
|
|
957
957
|
let e, t, s = (
|
958
958
|
/*$_*/
|
959
959
|
l[20]("faceCollector.validating") + ""
|
960
|
-
), a, c,
|
960
|
+
), a, c, d;
|
961
961
|
return {
|
962
962
|
c() {
|
963
|
-
e = h("div"), t = h("h1"), a = T(s), c = L(),
|
963
|
+
e = h("div"), t = h("h1"), a = T(s), c = L(), d = h("div"), o(t, "class", "inline-block text-3xl font-bold pb-[1em] transition-opacity"), o(d, "class", "ml-6 inline-block dot-typing"), o(e, "class", "min-w-[200px]");
|
964
964
|
},
|
965
965
|
m(m, n) {
|
966
|
-
p(m, e, n), u(e, t), u(t, a), u(e, c), u(e,
|
966
|
+
p(m, e, n), u(e, t), u(t, a), u(e, c), u(e, d);
|
967
967
|
},
|
968
968
|
p(m, n) {
|
969
969
|
n[0] & /*$_*/
|
970
970
|
1048576 && s !== (s = /*$_*/
|
971
971
|
m[20]("faceCollector.validating") + "") && W(a, s);
|
972
972
|
},
|
973
|
-
i:
|
974
|
-
o:
|
973
|
+
i: G,
|
974
|
+
o: G,
|
975
975
|
d(m) {
|
976
976
|
m && w(e);
|
977
977
|
}
|
@@ -986,9 +986,9 @@ function Hi(l) {
|
|
986
986
|
m(t, s) {
|
987
987
|
p(t, e, s);
|
988
988
|
},
|
989
|
-
p:
|
990
|
-
i:
|
991
|
-
o:
|
989
|
+
p: G,
|
990
|
+
i: G,
|
991
|
+
o: G,
|
992
992
|
d(t) {
|
993
993
|
t && w(e);
|
994
994
|
}
|
@@ -998,35 +998,35 @@ function Gt(l) {
|
|
998
998
|
let e, t, s = (
|
999
999
|
/*$_*/
|
1000
1000
|
l[20]("faceCollector.justification") + ""
|
1001
|
-
), a, c,
|
1001
|
+
), a, c, d, m, n;
|
1002
1002
|
return {
|
1003
1003
|
c() {
|
1004
|
-
e = h("label"), t = h("span"), a = T(s), c = L(),
|
1004
|
+
e = h("label"), t = h("span"), a = T(s), c = L(), d = h("textarea"), o(t, "class", "ce-dui-label-text text-base"), o(e, "class", "ce-dui-label"), o(e, "for", "justification"), o(d, "contenteditable", ""), o(d, "id", "justification"), o(d, "class", "ce-dui-textarea ce-dui-textarea-bordered textarea-ghost h-[6em] w-full text-base");
|
1005
1005
|
},
|
1006
|
-
m(
|
1007
|
-
p(
|
1008
|
-
|
1006
|
+
m(f, g) {
|
1007
|
+
p(f, e, g), u(e, t), u(t, a), p(f, c, g), p(f, d, g), mt(
|
1008
|
+
d,
|
1009
1009
|
/*$justification*/
|
1010
1010
|
l[25]
|
1011
|
-
), m || (n =
|
1012
|
-
|
1011
|
+
), m || (n = se(
|
1012
|
+
d,
|
1013
1013
|
"input",
|
1014
1014
|
/*textarea_input_handler_1*/
|
1015
1015
|
l[65]
|
1016
1016
|
), m = !0);
|
1017
1017
|
},
|
1018
|
-
p(
|
1018
|
+
p(f, g) {
|
1019
1019
|
g[0] & /*$_*/
|
1020
1020
|
1048576 && s !== (s = /*$_*/
|
1021
|
-
|
1021
|
+
f[20]("faceCollector.justification") + "") && W(a, s), g[0] & /*$justification*/
|
1022
1022
|
33554432 && mt(
|
1023
|
-
|
1023
|
+
d,
|
1024
1024
|
/*$justification*/
|
1025
|
-
|
1025
|
+
f[25]
|
1026
1026
|
);
|
1027
1027
|
},
|
1028
|
-
d(
|
1029
|
-
|
1028
|
+
d(f) {
|
1029
|
+
f && w(e), f && w(c), f && w(d), m = !1, n();
|
1030
1030
|
}
|
1031
1031
|
};
|
1032
1032
|
}
|
@@ -1036,19 +1036,19 @@ function Ui(l) {
|
|
1036
1036
|
props: { cssClass: "ce-dui-btn-block flex-shrink" }
|
1037
1037
|
}), {
|
1038
1038
|
c() {
|
1039
|
-
|
1039
|
+
Pt(e.$$.fragment);
|
1040
1040
|
},
|
1041
1041
|
m(s, a) {
|
1042
|
-
|
1042
|
+
St(e, s, a), t = !0;
|
1043
1043
|
},
|
1044
1044
|
i(s) {
|
1045
|
-
t || (
|
1045
|
+
t || (Fe(e.$$.fragment, s), t = !0);
|
1046
1046
|
},
|
1047
1047
|
o(s) {
|
1048
|
-
|
1048
|
+
Ne(e.$$.fragment, s), t = !1;
|
1049
1049
|
},
|
1050
1050
|
d(s) {
|
1051
|
-
|
1051
|
+
At(e, s);
|
1052
1052
|
}
|
1053
1053
|
};
|
1054
1054
|
}
|
@@ -1061,11 +1061,11 @@ function Yt(l) {
|
|
1061
1061
|
c() {
|
1062
1062
|
e = h("div"), s = T(t), a = L(), o(e, "class", "ce-dui-badge ce-dui-badge-lg h-[2em] ce-dui-badge-error text-xl pb-[.25em] m-[.5em]");
|
1063
1063
|
},
|
1064
|
-
m(c,
|
1065
|
-
p(c, e,
|
1064
|
+
m(c, d) {
|
1065
|
+
p(c, e, d), u(e, s), u(e, a);
|
1066
1066
|
},
|
1067
|
-
p(c,
|
1068
|
-
|
1067
|
+
p(c, d) {
|
1068
|
+
d[0] & /*$unconformitiesStore*/
|
1069
1069
|
8388608 && t !== (t = /*unconformity*/
|
1070
1070
|
c[102] + "") && W(s, t);
|
1071
1071
|
},
|
@@ -1078,24 +1078,24 @@ function $t(l) {
|
|
1078
1078
|
let e, t, s = (
|
1079
1079
|
/*$_*/
|
1080
1080
|
l[20]("faceCollector.finish") + ""
|
1081
|
-
), a, c,
|
1081
|
+
), a, c, d, m, n = (
|
1082
1082
|
/*$_*/
|
1083
1083
|
l[20]("faceCollector.retakePhoto") + ""
|
1084
|
-
),
|
1084
|
+
), f, g, E;
|
1085
1085
|
return {
|
1086
1086
|
c() {
|
1087
|
-
e = h("div"), t = h("button"), a = T(s),
|
1087
|
+
e = h("div"), t = h("button"), a = T(s), d = L(), m = h("button"), f = T(n), t.disabled = c = /*$justification*/
|
1088
1088
|
l[25].length === 0, o(t, "class", "ce-dui-btn ce-dui-btn-primary ce-dui-btn-block flex-shrink text-base"), o(m, "id", "bry-cc-retake-button"), o(m, "class", "ce-dui-btn ce-dui-btn-block ce-dui-btn-outline flex-shrink text-base"), o(e, "class", "ce-dui-btn-group flex");
|
1089
1089
|
},
|
1090
1090
|
m(b, r) {
|
1091
|
-
p(b, e, r), u(e, t), u(t, a), u(e,
|
1092
|
-
|
1091
|
+
p(b, e, r), u(e, t), u(t, a), u(e, d), u(e, m), u(m, f), g || (E = [
|
1092
|
+
se(
|
1093
1093
|
t,
|
1094
1094
|
"click",
|
1095
1095
|
/*click_handler_5*/
|
1096
1096
|
l[63]
|
1097
1097
|
),
|
1098
|
-
|
1098
|
+
se(
|
1099
1099
|
m,
|
1100
1100
|
"click",
|
1101
1101
|
/*click_handler_6*/
|
@@ -1110,10 +1110,10 @@ function $t(l) {
|
|
1110
1110
|
33554432 && c !== (c = /*$justification*/
|
1111
1111
|
b[25].length === 0) && (t.disabled = c), r[0] & /*$_*/
|
1112
1112
|
1048576 && n !== (n = /*$_*/
|
1113
|
-
b[20]("faceCollector.retakePhoto") + "") && W(
|
1113
|
+
b[20]("faceCollector.retakePhoto") + "") && W(f, n);
|
1114
1114
|
},
|
1115
1115
|
d(b) {
|
1116
|
-
b && w(e), g = !1, bt(
|
1116
|
+
b && w(e), g = !1, bt(E);
|
1117
1117
|
}
|
1118
1118
|
};
|
1119
1119
|
}
|
@@ -1190,20 +1190,20 @@ function qi(l) {
|
|
1190
1190
|
), s, a, c = (
|
1191
1191
|
/*$_*/
|
1192
1192
|
l[20]("faceCollector.unaliveCapture") + ""
|
1193
|
-
),
|
1193
|
+
), d;
|
1194
1194
|
return {
|
1195
1195
|
c() {
|
1196
|
-
e = h("h1"), s = T(t), a = T(": "),
|
1196
|
+
e = h("h1"), s = T(t), a = T(": "), d = T(c), o(e, "class", "text-3xl font-bold pb-[1em] transition-opacity text-error");
|
1197
1197
|
},
|
1198
1198
|
m(m, n) {
|
1199
|
-
p(m, e, n), u(e, s), u(e, a), u(e,
|
1199
|
+
p(m, e, n), u(e, s), u(e, a), u(e, d);
|
1200
1200
|
},
|
1201
1201
|
p(m, n) {
|
1202
1202
|
n[0] & /*$_*/
|
1203
1203
|
1048576 && t !== (t = /*$_*/
|
1204
1204
|
m[20]("liveness.error.error") + "") && W(s, t), n[0] & /*$_*/
|
1205
1205
|
1048576 && c !== (c = /*$_*/
|
1206
|
-
m[20]("faceCollector.unaliveCapture") + "") && W(
|
1206
|
+
m[20]("faceCollector.unaliveCapture") + "") && W(d, c);
|
1207
1207
|
},
|
1208
1208
|
d(m) {
|
1209
1209
|
m && w(e);
|
@@ -1220,23 +1220,23 @@ function zi(l) {
|
|
1220
1220
|
/*livenessError*/
|
1221
1221
|
l[17]
|
1222
1222
|
) + ""
|
1223
|
-
),
|
1223
|
+
), d, m;
|
1224
1224
|
return {
|
1225
1225
|
c() {
|
1226
|
-
e = h("h1"), s = T(t), a = T(": "),
|
1226
|
+
e = h("h1"), s = T(t), a = T(": "), d = T(c), m = T("."), o(e, "class", "text-3xl font-bold pb-[1em] transition-opacity text-error");
|
1227
1227
|
},
|
1228
|
-
m(n,
|
1229
|
-
p(n, e,
|
1228
|
+
m(n, f) {
|
1229
|
+
p(n, e, f), u(e, s), u(e, a), u(e, d), u(e, m);
|
1230
1230
|
},
|
1231
|
-
p(n,
|
1232
|
-
|
1231
|
+
p(n, f) {
|
1232
|
+
f[0] & /*$_*/
|
1233
1233
|
1048576 && t !== (t = /*$_*/
|
1234
|
-
n[20]("liveness.error.error") + "") && W(s, t),
|
1234
|
+
n[20]("liveness.error.error") + "") && W(s, t), f[0] & /*$_, livenessError*/
|
1235
1235
|
1179648 && c !== (c = /*$_*/
|
1236
1236
|
n[20](
|
1237
1237
|
/*livenessError*/
|
1238
1238
|
n[17]
|
1239
|
-
) + "") && W(
|
1239
|
+
) + "") && W(d, c);
|
1240
1240
|
},
|
1241
1241
|
d(n) {
|
1242
1242
|
n && w(e);
|
@@ -1244,106 +1244,111 @@ function zi(l) {
|
|
1244
1244
|
};
|
1245
1245
|
}
|
1246
1246
|
function Zi(l) {
|
1247
|
-
let e, t, s, a, c =
|
1247
|
+
let e, t, s, a, c = q(), d, m = (
|
1248
1248
|
/*unique*/
|
1249
1249
|
l[10]
|
1250
|
-
), n,
|
1251
|
-
|
1250
|
+
), n, f, g, E, b, r, _, I, O, R, C = (
|
1251
|
+
/*$_*/
|
1252
|
+
l[20]("faceCollector.capturing") + ""
|
1253
|
+
), U, _e, ce, Q, ae, j, Ie, ue, N, V, D, te, x, be, et, Be, He, tt, P = q() && /*waitingIdrndCaptureEvent*/
|
1254
|
+
l[16], le, Pe = q() && /*idrndLoading*/
|
1252
1255
|
l[14] && /*$cameraStatusStore*/
|
1253
|
-
l[30] ===
|
1254
|
-
|
1255
|
-
function
|
1256
|
+
l[30] === re.OK, Y, z, fe, we, H, $, he, ke = c && pi(l), pe = Qt(l);
|
1257
|
+
f = new Bl({ props: { className: "bottom-0" } });
|
1258
|
+
function je(v, F) {
|
1256
1259
|
return !/*$faceValidationsStore*/
|
1257
1260
|
v[32].isPersonCloseEnough || /*$faceValidationsStore*/
|
1258
1261
|
v[32].isPersonTooclose ? vi : gi;
|
1259
1262
|
}
|
1260
|
-
let
|
1261
|
-
function
|
1263
|
+
let Se = je(l), de = Se(l);
|
1264
|
+
function Ae(v, F) {
|
1262
1265
|
return (
|
1263
1266
|
/*$faceValidationsStore*/
|
1264
1267
|
v[32].closedMouth ? ki : wi
|
1265
1268
|
);
|
1266
1269
|
}
|
1267
|
-
let
|
1268
|
-
function
|
1270
|
+
let X = Ae(l), ie = X(l);
|
1271
|
+
function K(v, F) {
|
1269
1272
|
return (
|
1270
1273
|
/*$isLoading*/
|
1271
1274
|
v[33] ? Ei : Ci
|
1272
1275
|
);
|
1273
1276
|
}
|
1274
|
-
let
|
1275
|
-
function
|
1277
|
+
let ge = K(l), oe = ge(l);
|
1278
|
+
function Ue(v, F) {
|
1276
1279
|
return (
|
1277
1280
|
/*$faceValidationsStore*/
|
1278
1281
|
v[32].isPersonInFrame ? Li : Ri
|
1279
1282
|
);
|
1280
1283
|
}
|
1281
|
-
let
|
1282
|
-
function
|
1284
|
+
let Ce = Ue(l), me = Ce(l), ee = P && Xt(l), B = Pe && Jt(l);
|
1285
|
+
function qe(v, F) {
|
1283
1286
|
return (
|
1284
1287
|
/*$captured*/
|
1285
|
-
v[18] ?
|
1288
|
+
v[18] ? Si : Ai
|
1286
1289
|
);
|
1287
1290
|
}
|
1288
|
-
let
|
1289
|
-
const
|
1290
|
-
function
|
1291
|
+
let Te = qe(l), ne = Te(l);
|
1292
|
+
const ze = [Mi, xi], Le = [];
|
1293
|
+
function Oe(v, F) {
|
1291
1294
|
return !/*idrndClosed*/
|
1292
1295
|
v[15] || /*$captured*/
|
1293
1296
|
v[18] ? 0 : (
|
1294
1297
|
/*$cameraStatusStore*/
|
1295
|
-
v[30] !==
|
1298
|
+
v[30] !== re.OK ? 1 : -1
|
1296
1299
|
);
|
1297
1300
|
}
|
1298
|
-
return ~(
|
1301
|
+
return ~(H = Oe(l)) && ($ = Le[H] = ze[H](l)), {
|
1299
1302
|
c() {
|
1300
|
-
e = h("div"), t = h("div"), s = h("div"), a = h("div"),
|
1301
|
-
l[9], o(R, "class", "absolute left-1/2 -translate-x-1/2 top-[85%] text-[1.5rem] bg-info text-info-content p-1 rounded-md"), o(
|
1302
|
-
(l[28] ? "flex" : "hidden") + " justify-around w-full top-[5%]"), o(a, "class", "relative"), a.hidden =
|
1303
|
+
e = h("div"), t = h("div"), s = h("div"), a = h("div"), ke && ke.c(), d = L(), pe.c(), n = L(), Pt(f.$$.fragment), g = L(), E = h("canvas"), b = L(), r = h("canvas"), _ = L(), I = h("canvas"), O = L(), R = h("span"), U = T(C), ce = L(), Q = h("div"), ae = h("div"), j = h("span"), j.textContent = "Longe", Ie = L(), de.c(), ue = L(), N = h("div"), V = h("span"), V.textContent = "Boca Aberta", D = L(), ie.c(), te = L(), x = h("div"), be = h("span"), oe.c(), et = L(), me.c(), tt = L(), ee && ee.c(), le = L(), B && B.c(), Y = L(), z = h("div"), ne.c(), we = L(), $ && $.c(), this.c = G, o(E, "id", "bry-ce-displayCanvas"), o(E, "class", "max-w-full -scale-x-100"), o(r, "id", "bry-ce-detectionsCanvas"), o(r, "class", "absolute top-0 left-0 max-w-full -scale-x-100"), o(I, "id", "bry-ce-maskCanvas"), o(I, "class", "absolute top-0 left-0 max-w-full"), R.hidden = _e = !/*isCountingDown*/
|
1304
|
+
l[9], o(R, "class", "absolute left-1/2 -translate-x-1/2 top-[85%] text-[1.5rem] bg-info text-info-content p-1 rounded-md"), o(ae, "class", "ce-dui-badge ce-dui-badge-lg h-[2em] text-2xs sm:text-base w-[10.1em]"), o(N, "class", "ce-dui-badge ce-dui-badge-lg h-[2em] text-[.1em] 2xs:text-2xs sm:text-base w-[9.6em]"), o(x, "class", "ce-dui-badge ce-dui-badge-lg h-[2em] text-2xs sm:text-base w-[10em]"), o(Q, "class", Be = "absolute " + /*$enableFaceApi*/
|
1305
|
+
(l[28] ? "flex" : "hidden") + " justify-around w-full top-[5%]"), o(a, "class", "relative"), a.hidden = He = q() && /*idrndLoading*/
|
1303
1306
|
(l[14] || /*idrndClosed*/
|
1304
1307
|
l[15] || /*waitingIdrndCaptureEvent*/
|
1305
|
-
l[16]), o(
|
1308
|
+
l[16]), o(z, "class", "px-4 sm:px-0 mt-[1em]"), z.hidden = fe = q() && /*idrndLoading*/
|
1306
1309
|
(l[14] || /*idrndClosed*/
|
1307
1310
|
l[15] || /*waitingIdrndCaptureEvent*/
|
1308
1311
|
l[16]), o(s, "class", "relative mx-auto"), o(t, "class", "flex flex-col justify-between");
|
1309
1312
|
},
|
1310
|
-
m(v,
|
1311
|
-
p(v, e,
|
1312
|
-
},
|
1313
|
-
p(v,
|
1314
|
-
c &&
|
1315
|
-
1024 &&
|
1316
|
-
v[10]) ? (
|
1317
|
-
|
1318
|
-
v[
|
1319
|
-
|
1320
|
-
|
1321
|
-
|
1313
|
+
m(v, F) {
|
1314
|
+
p(v, e, F), u(e, t), u(t, s), u(s, a), ke && ke.m(a, null), u(a, d), pe.m(a, null), u(a, n), St(f, a, null), u(a, g), u(a, E), l[49](E), u(a, b), u(a, r), l[50](r), u(a, _), u(a, I), l[51](I), u(a, O), u(a, R), u(R, U), l[52](R), u(a, ce), u(a, Q), u(Q, ae), u(ae, j), u(ae, Ie), de.m(ae, null), l[53](ae), u(Q, ue), u(Q, N), u(N, V), u(N, D), ie.m(N, null), l[54](N), u(Q, te), u(Q, x), u(x, be), oe.m(be, null), u(x, et), me.m(x, null), l[55](x), u(s, tt), ee && ee.m(s, null), u(s, le), B && B.m(s, null), u(s, Y), u(s, z), ne.m(z, null), l[59](t), u(e, we), ~H && Le[H].m(e, null), he = !0;
|
1315
|
+
},
|
1316
|
+
p(v, F) {
|
1317
|
+
c && ke.p(v, F), F[0] & /*unique*/
|
1318
|
+
1024 && It(m, m = /*unique*/
|
1319
|
+
v[10]) ? (pe.d(1), pe = Qt(v), pe.c(), pe.m(a, n)) : pe.p(v, F), (!he || F[0] & /*$_*/
|
1320
|
+
1048576) && C !== (C = /*$_*/
|
1321
|
+
v[20]("faceCollector.capturing") + "") && W(U, C), (!he || F[0] & /*isCountingDown*/
|
1322
|
+
512 && _e !== (_e = !/*isCountingDown*/
|
1323
|
+
v[9])) && (R.hidden = _e), Se !== (Se = je(v)) && (de.d(1), de = Se(v), de && (de.c(), de.m(ae, null))), X !== (X = Ae(v)) && (ie.d(1), ie = X(v), ie && (ie.c(), ie.m(N, null))), ge === (ge = K(v)) && oe ? oe.p(v, F) : (oe.d(1), oe = ge(v), oe && (oe.c(), oe.m(be, null))), Ce !== (Ce = Ue(v)) && (me.d(1), me = Ce(v), me && (me.c(), me.m(x, null))), (!he || F[0] & /*$enableFaceApi*/
|
1324
|
+
268435456 && Be !== (Be = "absolute " + /*$enableFaceApi*/
|
1325
|
+
(v[28] ? "flex" : "hidden") + " justify-around w-full top-[5%]")) && o(Q, "class", Be), (!he || F[0] & /*idrndLoading, idrndClosed, waitingIdrndCaptureEvent*/
|
1326
|
+
114688 && He !== (He = q() && /*idrndLoading*/
|
1322
1327
|
(v[14] || /*idrndClosed*/
|
1323
1328
|
v[15] || /*waitingIdrndCaptureEvent*/
|
1324
|
-
v[16]))) && (a.hidden =
|
1325
|
-
65536 && (
|
1326
|
-
v[16]),
|
1327
|
-
1073758208 && (
|
1329
|
+
v[16]))) && (a.hidden = He), F[0] & /*waitingIdrndCaptureEvent*/
|
1330
|
+
65536 && (P = q() && /*waitingIdrndCaptureEvent*/
|
1331
|
+
v[16]), P ? ee ? ee.p(v, F) : (ee = Xt(v), ee.c(), ee.m(s, le)) : ee && (ee.d(1), ee = null), F[0] & /*idrndLoading, $cameraStatusStore*/
|
1332
|
+
1073758208 && (Pe = q() && /*idrndLoading*/
|
1328
1333
|
v[14] && /*$cameraStatusStore*/
|
1329
|
-
v[30] ===
|
1330
|
-
114688 &&
|
1334
|
+
v[30] === re.OK), Pe ? B ? B.p(v, F) : (B = Jt(v), B.c(), B.m(s, Y)) : B && (B.d(1), B = null), Te === (Te = qe(v)) && ne ? ne.p(v, F) : (ne.d(1), ne = Te(v), ne && (ne.c(), ne.m(z, null))), (!he || F[0] & /*idrndLoading, idrndClosed, waitingIdrndCaptureEvent*/
|
1335
|
+
114688 && fe !== (fe = q() && /*idrndLoading*/
|
1331
1336
|
(v[14] || /*idrndClosed*/
|
1332
1337
|
v[15] || /*waitingIdrndCaptureEvent*/
|
1333
|
-
v[16]))) && (
|
1334
|
-
let
|
1335
|
-
|
1336
|
-
|
1337
|
-
}), al()), ~
|
1338
|
+
v[16]))) && (z.hidden = fe);
|
1339
|
+
let De = H;
|
1340
|
+
H = Oe(v), H === De ? ~H && Le[H].p(v, F) : ($ && (sl(), Ne(Le[De], 1, 1, () => {
|
1341
|
+
Le[De] = null;
|
1342
|
+
}), al()), ~H ? ($ = Le[H], $ ? $.p(v, F) : ($ = Le[H] = ze[H](v), $.c()), Fe($, 1), $.m(e, null)) : $ = null);
|
1338
1343
|
},
|
1339
1344
|
i(v) {
|
1340
|
-
he || (
|
1345
|
+
he || (Fe(f.$$.fragment, v), Fe($), he = !0);
|
1341
1346
|
},
|
1342
1347
|
o(v) {
|
1343
|
-
|
1348
|
+
Ne(f.$$.fragment, v), Ne($), he = !1;
|
1344
1349
|
},
|
1345
1350
|
d(v) {
|
1346
|
-
v && w(e),
|
1351
|
+
v && w(e), ke && ke.d(), pe.d(v), At(f), l[49](null), l[50](null), l[51](null), l[52](null), de.d(), l[53](null), ie.d(), l[54](null), oe.d(), me.d(), l[55](null), ee && ee.d(), B && B.d(), ne.d(), l[59](null), ~H && Le[H].d();
|
1347
1352
|
}
|
1348
1353
|
};
|
1349
1354
|
}
|
@@ -1362,392 +1367,392 @@ function el(l, e, t) {
|
|
1362
1367
|
);
|
1363
1368
|
}
|
1364
1369
|
function Qi(l, e, t) {
|
1365
|
-
let s, a, c,
|
1366
|
-
|
1367
|
-
let
|
1368
|
-
const
|
1369
|
-
|
1370
|
-
const
|
1371
|
-
|
1372
|
-
let { widgetInstance:
|
1373
|
-
const
|
1370
|
+
let s, a, c, d, m, n, f, g, E, b, r, _, I, O, R, C, U, _e, ce, Q, ae, j, Ie, ue, N, V, D, te, x, be, et, Be, He, tt;
|
1371
|
+
A(l, gt, (i) => t(73, s = i)), A(l, lt, (i) => t(18, c = i)), A(l, vt, (i) => t(75, d = i)), A(l, Ft, (i) => t(76, m = i)), A(l, Je, (i) => t(19, n = i)), A(l, Hl, (i) => t(77, f = i)), A(l, Ul, (i) => t(20, g = i)), A(l, Vl, (i) => t(78, E = i)), A(l, Re, (i) => t(21, b = i)), A(l, Kl, (i) => t(22, r = i)), A(l, Ge, (i) => t(23, _ = i)), A(l, it, (i) => t(79, I = i)), A(l, wt, (i) => t(24, O = i)), A(l, kt, (i) => t(25, R = i)), A(l, xe, (i) => t(26, C = i)), A(l, jl, (i) => t(80, _e = i)), A(l, ql, (i) => t(28, ce = i)), A(l, ot, (i) => t(29, Q = i)), A(l, Ct, (i) => t(81, ae = i)), A(l, Ke, (i) => t(30, j = i)), A(l, zl, (i) => t(82, Ie = i)), A(l, nt, (i) => t(83, ue = i)), A(l, Wt, (i) => t(84, N = i)), A(l, Bt, (i) => t(85, V = i)), A(l, Ht, (i) => t(86, D = i)), A(l, Zl, (i) => t(87, te = i)), A(l, Et, (i) => t(88, x = i)), A(l, Ut, (i) => t(31, be = i)), A(l, Vt, (i) => t(32, et = i)), A(l, Ql, (i) => t(33, Be = i)), A(l, Xl, (i) => t(34, He = i)), A(l, Jl, (i) => t(35, tt = i));
|
1372
|
+
let P, le, Pe, Y, z, fe, we, H = !1, $ = {}, he = !1, { enableMinutiae: ke } = e, { videoDimensions: pe } = e, { noTabs: je } = e, { weightsPath: Se } = e;
|
1373
|
+
const de = yt(!1);
|
1374
|
+
A(l, de, (i) => t(74, a = i));
|
1375
|
+
const Ae = yt("data:image/png;base64");
|
1376
|
+
A(l, Ae, (i) => t(27, U = i));
|
1377
|
+
let { widgetInstance: X } = e, ie, K, ge = !1, oe = !1, Ue = !0, Ce = !1, me = !1, ee = 0, B = "", qe = 0, Te = !1;
|
1378
|
+
const ne = Gl.mixin({
|
1374
1379
|
toast: !0,
|
1375
1380
|
position: "bottom-left",
|
1376
1381
|
timer: 13e3,
|
1377
1382
|
timerProgressBar: !0
|
1378
1383
|
});
|
1379
1384
|
Yl(async () => {
|
1380
|
-
k(ot,
|
1381
|
-
const [i,
|
1382
|
-
if (!(!i || !
|
1383
|
-
if (
|
1385
|
+
k(ot, Q = !1, Q), k(Ut, be = !1, be);
|
1386
|
+
const [i, y] = (pe ?? "")?.replaceAll(" ", "")?.split("x")?.map((S) => S ? parseInt(S) : void 0);
|
1387
|
+
if (!(!i || !y)) {
|
1388
|
+
if (y > i && !q() && Kt() ? k(Je, n = { videoWidth: y, videoHeight: i }, n) : q() && y < i && Kt() ? k(Je, n = { videoWidth: y, videoHeight: i }, n) : k(Je, n = { videoWidth: i, videoHeight: y }, n), !q())
|
1384
1389
|
try {
|
1385
1390
|
await jt(), (await navigator.mediaDevices.getUserMedia({
|
1386
1391
|
video: {
|
1387
|
-
height: { exact:
|
1392
|
+
height: { exact: y },
|
1388
1393
|
width: { exact: i }
|
1389
1394
|
},
|
1390
1395
|
audio: !1
|
1391
|
-
}))?.getTracks()?.forEach((M) => M?.stop()), k(Et,
|
1392
|
-
} catch (
|
1393
|
-
const M =
|
1394
|
-
console.error(M), $l(M) && "message" in M && M.message.includes("Permission denied") && (console.error("User didn't give permission to use camera!"), k(Ht,
|
1396
|
+
}))?.getTracks()?.forEach((M) => M?.stop()), k(Et, x = te[0].deviceId, x);
|
1397
|
+
} catch (S) {
|
1398
|
+
const M = S;
|
1399
|
+
console.error(M), $l(M) && "message" in M && M.message.includes("Permission denied") && (console.error("User didn't give permission to use camera!"), k(Ht, D = !0, D));
|
1395
1400
|
}
|
1396
|
-
|
1401
|
+
q() && (import("./index-no-detector_c7c1d3a2_2.0.5.js"), Le()), ce && (await ei(Se), he = !0), q() && !oe && N && Oe();
|
1397
1402
|
}
|
1398
1403
|
});
|
1399
|
-
function
|
1400
|
-
i.clearRect(0, 0,
|
1401
|
-
let
|
1402
|
-
n.videoWidth > n.videoHeight ?
|
1403
|
-
const M =
|
1404
|
-
i.ellipse(n.videoWidth / 2, n.videoHeight / 2,
|
1405
|
-
const
|
1406
|
-
if (i.strokeStyle = `hsl(${
|
1407
|
-
const st = 1 - (
|
1408
|
-
i.save(), i.beginPath(), i.lineWidth = 16, i.strokeStyle = `hsl(${
|
1404
|
+
function ze(i, y) {
|
1405
|
+
i.clearRect(0, 0, K.width, K.height), i.save(), i.filter = "blur(7px)", i.beginPath(), i.rect(0, 0, K.width, K.height);
|
1406
|
+
let S = 200;
|
1407
|
+
n.videoWidth > n.videoHeight ? S = 1.1 * (100 * n.videoWidth) / n.videoHeight * 1.1 : S = 1.1 * (100 * n.videoHeight * 1.1) / n.videoWidth;
|
1408
|
+
const M = S * 1.45;
|
1409
|
+
i.ellipse(n.videoWidth / 2, n.videoHeight / 2, S / 2, M / 2, 0, 0, 2 * Math.PI, !0), i.clip(), el(i, y, K), i.restore(), i.save(), i.beginPath();
|
1410
|
+
const ve = window.getComputedStyle(K).getPropertyValue("--p"), Qe = window.getComputedStyle(K).getPropertyValue("--su");
|
1411
|
+
if (i.strokeStyle = `hsl(${ve})`, i.lineWidth = 16, i.ellipse(n.videoWidth / 2, n.videoHeight / 2, S / 2, M / 2, 0, 0, 2 * Math.PI), i.stroke(), H && !Te) {
|
1412
|
+
const st = 1 - (qe - (/* @__PURE__ */ new Date()).getTime()) / 4500;
|
1413
|
+
i.save(), i.beginPath(), i.lineWidth = 16, i.strokeStyle = `hsl(${Qe})`, i.ellipse(n.videoWidth / 2, n.videoHeight / 2, S / 2, M / 2, 0, 0 - Math.PI / 2, 1.25 * (Math.PI * 2 * st) - Math.PI / 2), i.stroke();
|
1409
1414
|
}
|
1410
1415
|
i.beginPath();
|
1411
|
-
const
|
1412
|
-
|
1416
|
+
const Xe = new Path2D();
|
1417
|
+
Xe.ellipse(n.videoWidth / 2, n.videoHeight / 2, S / 2, M / 2, 0, 0, 2 * Math.PI), i.clip(Xe), el(i, y, K), i.restore();
|
1413
1418
|
}
|
1414
|
-
function
|
1415
|
-
|
1416
|
-
const
|
1419
|
+
function Le() {
|
1420
|
+
X.addEventListener("open", (i) => {
|
1421
|
+
const y = i.detail[0].video;
|
1417
1422
|
k(
|
1418
1423
|
Bt,
|
1419
|
-
|
1420
|
-
width:
|
1421
|
-
height:
|
1424
|
+
V = {
|
1425
|
+
width: y.videoWidth,
|
1426
|
+
height: y.videoHeight
|
1422
1427
|
},
|
1423
|
-
|
1424
|
-
), t(2,
|
1425
|
-
function
|
1426
|
-
|
1428
|
+
V
|
1429
|
+
), t(2, P.srcObject = y.srcObject, P), t(14, Ue = !1);
|
1430
|
+
function S() {
|
1431
|
+
Ce || (ze(K.getContext("2d"), y), Ye(P, S, !0));
|
1427
1432
|
}
|
1428
|
-
|
1429
|
-
}),
|
1430
|
-
console.error(i), i.detail[0].message === "Device in use" ? k(
|
1431
|
-
}),
|
1432
|
-
}),
|
1433
|
-
c || t(13,
|
1434
|
-
}),
|
1435
|
-
|
1436
|
-
}),
|
1437
|
-
t(17,
|
1438
|
-
const { encryptedFile:
|
1439
|
-
k(nt,
|
1440
|
-
const M = (await ct(
|
1441
|
-
if (k(
|
1442
|
-
let
|
1433
|
+
S();
|
1434
|
+
}), X.addEventListener("error", (i) => {
|
1435
|
+
console.error(i), i.detail[0].message === "Device in use" ? k(Ke, j = re.CAMERA_IN_USE_ERROR, j) : i.detail[0].message === "Permission denied" || i.detail[0].message === "Permission dismissed" ? k(Ke, j = re.CAMERA_DENIED_ERROR, j) : i.detail[0].message === "Requested device not found" && k(Ke, j = re.DEVICE_NOT_FOUND_ERROR, j), t(14, Ue = !1);
|
1436
|
+
}), X.addEventListener("faceDetection", (i) => {
|
1437
|
+
}), X.addEventListener("close", async (i) => {
|
1438
|
+
c || t(13, ge = !1), t(15, Ce = !0), t(16, me = !1), j === re.OK && k(Ke, j = re.CAMERA_CLOSED_ERROR, j);
|
1439
|
+
}), X.addEventListener("initialize", async (i) => {
|
1440
|
+
oe = !0, k(Wt, N = !0, N), ae === rt.Face && !ge && !c && oe && await Oe();
|
1441
|
+
}), X.addEventListener("capture", async (i) => {
|
1442
|
+
t(17, B = "");
|
1443
|
+
const { encryptedFile: y, photo: S } = i.detail[0];
|
1444
|
+
k(nt, ue = y, ue), t(16, me = !1), k(Re, b = J.OK, b), k(Ge, _.isLoading = !0, _), k(lt, c = !0, c), t(13, ge = !1);
|
1445
|
+
const M = (await ct(S)).split(",");
|
1446
|
+
if (k(Ae, U = M[0], U), k(xe, C = M[1], C), k(it, I = M[1], I), !Ie) {
|
1447
|
+
let Ee, ht;
|
1443
1448
|
try {
|
1444
|
-
({ bodyParts:
|
1449
|
+
({ bodyParts: Ee, icaoWarnings: ht } = await ut(I, (await ct(y)).split(",")[1])), window.dispatchEvent(new CustomEvent(
|
1445
1450
|
"face-unconformities-validated",
|
1446
1451
|
{
|
1447
1452
|
detail: {
|
1448
|
-
bodyParts:
|
1453
|
+
bodyParts: Ee,
|
1449
1454
|
icaoWarnings: ht,
|
1450
1455
|
status: b
|
1451
1456
|
}
|
1452
1457
|
}
|
1453
1458
|
));
|
1454
|
-
} catch (
|
1455
|
-
console.error(
|
1456
|
-
let at = Rt.UNKNOWN, pt = [],
|
1457
|
-
if (
|
1458
|
-
if (
|
1459
|
-
pt =
|
1459
|
+
} catch (Ve) {
|
1460
|
+
console.error(Ve);
|
1461
|
+
let at = Rt.UNKNOWN, pt = [], xt = [];
|
1462
|
+
if (Ve instanceof qt && Ve.response?.status === 400)
|
1463
|
+
if (Ve.response.data && Array.isArray(Ve.response.data.bodyParts)) {
|
1464
|
+
pt = Ve.response.data.bodyParts, xt = Ve.response.data.icaoWarnings;
|
1460
1465
|
const Mt = pt.find((Wl) => Wl.livenessResult.error);
|
1461
|
-
at = Mt?.livenessResult.error_code, k(
|
1466
|
+
at = Mt?.livenessResult.error_code, k(Re, b = J.LIVENESS_DETECTION_FAILURE, b), Mt?.livenessResult.error_code || k(Re, b = J.UNKNOWN_LIVENESS_ERROR, b), t(17, B = Rt[at]), console.error("Liveness error:", at);
|
1462
1467
|
} else
|
1463
|
-
k(
|
1468
|
+
k(Re, b = J.TEMPLATE_EXTRACTION_ERROR, b);
|
1464
1469
|
else
|
1465
|
-
k(
|
1470
|
+
k(Re, b = J.UNKNOWN_LIVENESS_ERROR, b), ne.fire({
|
1466
1471
|
icon: "error",
|
1467
1472
|
title: "Falha ao comunicar com serviço de Liveness"
|
1468
1473
|
});
|
1469
|
-
k(
|
1474
|
+
k(Ge, _.isLoading = !1, _), window.dispatchEvent(new CustomEvent(
|
1470
1475
|
"face-unconformities-validated",
|
1471
1476
|
{
|
1472
1477
|
detail: {
|
1473
1478
|
bodyParts: pt,
|
1474
1479
|
errorCode: at,
|
1475
|
-
translatedError: g(
|
1480
|
+
translatedError: g(B),
|
1476
1481
|
status: b,
|
1477
|
-
icaoWarnings:
|
1482
|
+
icaoWarnings: xt
|
1478
1483
|
}
|
1479
1484
|
}
|
1480
1485
|
));
|
1481
1486
|
return;
|
1482
1487
|
}
|
1483
|
-
if (b !==
|
1484
|
-
k(
|
1488
|
+
if (b !== J.OK) {
|
1489
|
+
k(Ge, _.isLoading = !1, _);
|
1485
1490
|
return;
|
1486
1491
|
}
|
1487
|
-
Tt(
|
1492
|
+
Tt(Ee[0].livenessResult), Ee.length !== 0 && Ee[0].data && k(xe, C = Ee[0].data, C), ft(ht);
|
1488
1493
|
return;
|
1489
1494
|
}
|
1490
|
-
let
|
1495
|
+
let ve, Qe;
|
1491
1496
|
try {
|
1492
|
-
|
1493
|
-
} catch (
|
1494
|
-
k(
|
1497
|
+
Qe = await ti(y), Tt(Qe.data);
|
1498
|
+
} catch (Ee) {
|
1499
|
+
k(Re, b = J.UNKNOWN_LIVENESS_ERROR, b), console.error(Ee), Ee instanceof qt && Ee.response?.status === 400 ? (ve = Ee.response.data.error_code, t(17, B = Rt[ve]), console.error("Liveness error:", ve), k(Re, b = J.LIVENESS_DETECTION_FAILURE, b)) : ne.fire({
|
1495
1500
|
icon: "error",
|
1496
1501
|
title: "Falha ao comunicar com serviço de Liveness"
|
1497
1502
|
});
|
1498
1503
|
}
|
1499
|
-
if (b !==
|
1500
|
-
k(
|
1504
|
+
if (b !== J.OK) {
|
1505
|
+
k(Ge, _.isLoading = !1, _), window.dispatchEvent(new CustomEvent(
|
1501
1506
|
"face-unconformities-validated",
|
1502
1507
|
{
|
1503
1508
|
detail: {
|
1504
1509
|
bodyParts: [
|
1505
1510
|
{
|
1506
1511
|
bodyPart: "FACE",
|
1507
|
-
data:
|
1508
|
-
livenessBlob: (await ct(
|
1509
|
-
...
|
1512
|
+
data: I,
|
1513
|
+
livenessBlob: (await ct(y)).split(",")[1],
|
1514
|
+
...Qe && { livenessResult: Qe }
|
1510
1515
|
}
|
1511
1516
|
],
|
1512
|
-
...
|
1513
|
-
...
|
1517
|
+
...ve && { errorCode: ve },
|
1518
|
+
...B && { translatedError: g(B) },
|
1514
1519
|
status: b
|
1515
1520
|
}
|
1516
1521
|
}
|
1517
1522
|
));
|
1518
1523
|
return;
|
1519
1524
|
}
|
1520
|
-
let { bodyParts:
|
1525
|
+
let { bodyParts: Xe, icaoWarnings: st } = await ut(I);
|
1521
1526
|
window.dispatchEvent(new CustomEvent(
|
1522
1527
|
"face-unconformities-validated",
|
1523
1528
|
{
|
1524
1529
|
detail: {
|
1525
|
-
bodyParts:
|
1530
|
+
bodyParts: Xe,
|
1526
1531
|
icaoWarnings: st,
|
1527
1532
|
status: b,
|
1528
|
-
errorCode:
|
1529
|
-
...
|
1533
|
+
errorCode: ve,
|
1534
|
+
...B && { translatedError: g(B) }
|
1530
1535
|
}
|
1531
1536
|
}
|
1532
|
-
)),
|
1537
|
+
)), Xe[0].data && k(xe, C = Xe[0].data, C), ft(st);
|
1533
1538
|
});
|
1534
1539
|
}
|
1535
|
-
function
|
1536
|
-
k(
|
1540
|
+
function Oe() {
|
1541
|
+
k(Ke, j = re.OK, j), X && "openCamera" in X && X.openCamera(), t(13, ge = !0), t(15, Ce = !1), t(14, Ue = !0);
|
1537
1542
|
}
|
1538
|
-
async function
|
1539
|
-
if (
|
1540
|
-
return
|
1541
|
-
if (
|
1542
|
-
if (
|
1543
|
-
return
|
1544
|
-
k(ot,
|
1543
|
+
async function v() {
|
1544
|
+
if (ce && !he)
|
1545
|
+
return Ye(P, v);
|
1546
|
+
if (P) {
|
1547
|
+
if (ae !== rt.Face && !je)
|
1548
|
+
return Ye(P, v);
|
1549
|
+
k(ot, Q = !0, Q), ce ? (a || k(de, a = !0, a), q() || ze(K.getContext("2d"), P), Ye(P, v)) : (ze(K.getContext("2d"), P), Ye(P, v));
|
1545
1550
|
}
|
1546
1551
|
}
|
1547
|
-
async function
|
1548
|
-
if (k(
|
1549
|
-
t(16,
|
1552
|
+
async function F() {
|
1553
|
+
if (k(Re, b = J.OK, b), q()) {
|
1554
|
+
t(16, me = !0), X.takePhoto();
|
1550
1555
|
return;
|
1551
1556
|
}
|
1552
|
-
if (k(
|
1553
|
-
const [i] = await (await import("./face_api_0e3ce8c8_2.0.
|
1554
|
-
k(
|
1555
|
-
let { bodyParts:
|
1557
|
+
if (k(lt, c = !0, c), ce) {
|
1558
|
+
const [i] = await (await import("./face_api_0e3ce8c8_2.0.5.js")).extractFaces(P, [_e]), y = i.toDataURL("image/jpeg").split(",");
|
1559
|
+
k(Ae, U = y[0], U), k(xe, C = y[1], C), k(it, I = y[1], I);
|
1560
|
+
let { bodyParts: S, icaoWarnings: M } = await ut(C);
|
1556
1561
|
window.dispatchEvent(new CustomEvent(
|
1557
1562
|
"face-unconformities-validated",
|
1558
1563
|
{
|
1559
1564
|
detail: {
|
1560
|
-
bodyParts:
|
1565
|
+
bodyParts: S,
|
1561
1566
|
icaoWarnings: M,
|
1562
1567
|
status: b
|
1563
1568
|
}
|
1564
1569
|
}
|
1565
|
-
)),
|
1570
|
+
)), S.length !== 0 && S[0].data && k(xe, C = S[0].data, C), ft(M);
|
1566
1571
|
} else {
|
1567
|
-
const i = document.createElement("canvas"),
|
1568
|
-
i.width =
|
1569
|
-
const
|
1570
|
-
k(
|
1571
|
-
let { bodyParts: M, icaoWarnings:
|
1572
|
+
const i = document.createElement("canvas"), y = i.getContext("2d");
|
1573
|
+
i.width = P.width, i.height = P.height, y?.drawImage(P, 0, 0, i.width, i.height);
|
1574
|
+
const S = i.toDataURL("image/jpeg").split(",");
|
1575
|
+
k(Ae, U = S[0], U), k(xe, C = S[1], C), k(it, I = S[1], I);
|
1576
|
+
let { bodyParts: M, icaoWarnings: ve } = await ut(C);
|
1572
1577
|
window.dispatchEvent(new CustomEvent(
|
1573
1578
|
"face-unconformities-validated",
|
1574
1579
|
{
|
1575
1580
|
detail: {
|
1576
|
-
bodyParts:
|
1577
|
-
icaoWarnings:
|
1581
|
+
bodyParts: M,
|
1582
|
+
icaoWarnings: ve,
|
1578
1583
|
status: b
|
1579
1584
|
}
|
1580
1585
|
}
|
1581
|
-
)), M.length !== 0 && M[0].data && k(
|
1586
|
+
)), M.length !== 0 && M[0].data && k(xe, C = M[0].data, C), ft(ve);
|
1582
1587
|
}
|
1583
1588
|
}
|
1584
|
-
function
|
1589
|
+
function De() {
|
1585
1590
|
const i = {
|
1586
1591
|
bodyPart: "FACE",
|
1587
|
-
data:
|
1592
|
+
data: I || C,
|
1588
1593
|
justification: R
|
1589
1594
|
};
|
1590
|
-
k(wt, O = !0, O),
|
1591
|
-
i.livenessBlob =
|
1595
|
+
k(wt, O = !0, O), Ot(nt) && ct(Ot(nt)).then((y) => {
|
1596
|
+
i.livenessBlob = y.split(",")[1];
|
1592
1597
|
}), window.dispatchEvent(new CustomEvent("export-face", { detail: i }));
|
1593
1598
|
}
|
1594
|
-
function
|
1595
|
-
window.dispatchEvent(new CustomEvent("face-scrapped")), k(wt, O = !1, O), k(
|
1599
|
+
function Ze() {
|
1600
|
+
window.dispatchEvent(new CustomEvent("face-scrapped")), k(wt, O = !1, O), k(Re, b = J.OK, b), k(lt, c = !1, c), k(it, I = "", I), k(Ge, _.unconformities = [], _), Ce && Oe();
|
1596
1601
|
}
|
1597
1602
|
function Tt(i) {
|
1598
|
-
let
|
1599
|
-
i.isAlive ?
|
1603
|
+
let y = "", S = "success";
|
1604
|
+
i.isAlive ? y = `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 && (S = "error", y = `Vivacidade de face (${i.face_liveness.probability.toFixed(2)}) e de captura (${i.capture_liveness.probability}, ${i.capture_liveness.score.toFixed(2)}) insuficientes!`, r && k(Re, b = J.LOW_LIVENESS_SCORE, b)), E && ne.fire({ icon: S, title: y });
|
1600
1605
|
}
|
1601
|
-
const rl =
|
1602
|
-
|
1606
|
+
const rl = Je.subscribe((i) => {
|
1607
|
+
P && le && (t(2, P.width = i.videoWidth, P), t(2, P.height = i.videoHeight, P), t(3, le.width = i.videoWidth, le), t(3, le.height = i.videoHeight, le), t(11, ie.width = i.videoWidth, ie), t(11, ie.height = i.videoHeight, ie), t(12, K.width = i.videoWidth, K), t(12, K.height = i.videoHeight, K));
|
1603
1608
|
}), cl = Vt.subscribe((i) => {
|
1604
|
-
if (!(!
|
1605
|
-
t(9,
|
1606
|
-
const
|
1609
|
+
if (!(!Y || !z || !fe) && (i.closedMouth ? (z.classList.add("ce-dui-badge-success"), z.classList.remove("ce-dui-badge-error"), t(6, z.firstChild.textContent = g("faceCollector.closedMouth"), z)) : (z.classList.remove("ce-dui-badge-success"), z.classList.add("ce-dui-badge-error"), t(6, z.firstChild.textContent = g("faceCollector.mouthOpen"), z)), !i.isPersonCloseEnough || i.isPersonTooclose ? (Y.classList.remove("ce-dui-badge-success"), Y.classList.add("ce-dui-badge-error"), i.isPersonCloseEnough ? i.isPersonTooclose && t(5, Y.firstChild.textContent = g("faceCollector.tooClose"), Y) : t(5, Y.firstChild.textContent = g("faceCollector.tooFar"), Y)) : (Y.classList.add("ce-dui-badge-success"), Y.classList.remove("ce-dui-badge-error"), t(5, Y.firstChild.textContent = g("faceCollector.okDistance"), Y)), i.isPersonInFrame ? (fe.classList.add("ce-dui-badge-success"), fe.classList.remove("ce-dui-badge-error")) : (fe.classList.remove("ce-dui-badge-success"), fe.classList.add("ce-dui-badge-error")), !c && f && !H && Pe && i.isPersonInFrame && i.closedMouth && !(!i.isPersonCloseEnough || i.isPersonTooclose))) {
|
1610
|
+
t(9, H = !0), qe = (/* @__PURE__ */ new Date()).getTime() + 4500;
|
1611
|
+
const y = setInterval(
|
1607
1612
|
() => {
|
1608
|
-
if (!
|
1609
|
-
t(9,
|
1613
|
+
if (!f || c || q() && Ce || !i.isPersonCloseEnough || i.isPersonTooclose || !i.closedMouth || !i.isPersonInFrame) {
|
1614
|
+
t(9, H = !1), Te = !0, setTimeout(
|
1610
1615
|
() => {
|
1611
|
-
|
1616
|
+
Te = !1;
|
1612
1617
|
},
|
1613
1618
|
1500
|
1614
|
-
), clearInterval(
|
1619
|
+
), clearInterval(y);
|
1615
1620
|
return;
|
1616
1621
|
}
|
1617
|
-
const
|
1618
|
-
Math.floor((
|
1622
|
+
const S = (/* @__PURE__ */ new Date()).getTime();
|
1623
|
+
Math.floor((qe - S) % (1e3 * 60) / 1e3) <= 0 && (clearInterval(y), t(9, H = !1), document.getElementsByTagName("biometric-collector")?.[0]?.shadowRoot?.getElementById("bry-cc-capture-btn")?.click());
|
1619
1624
|
},
|
1620
1625
|
250
|
1621
1626
|
);
|
1622
1627
|
}
|
1623
|
-
}), ul =
|
1624
|
-
|
1625
|
-
}),
|
1626
|
-
|
1628
|
+
}), ul = lt.subscribe((i) => {
|
1629
|
+
we && (i ? (we.classList.remove("flex"), we.classList.add("hidden")) : (we.classList.add("flex"), we.classList.remove("hidden")));
|
1630
|
+
}), fl = vt.subscribe((i) => {
|
1631
|
+
P && i && (console.log("setting null in video srcObject"), t(2, P.srcObject = null, P), t(2, P.src = "", P));
|
1627
1632
|
});
|
1628
1633
|
Ct.subscribe(async (i) => {
|
1629
1634
|
i === rt.Face && await jt();
|
1630
1635
|
});
|
1631
|
-
const
|
1632
|
-
if (
|
1636
|
+
const dl = Et.subscribe(async (i) => {
|
1637
|
+
if (q() || !i)
|
1633
1638
|
return;
|
1634
|
-
|
1635
|
-
const { videoHeight:
|
1636
|
-
t(2,
|
1639
|
+
P || t(10, $ = {});
|
1640
|
+
const { videoHeight: y, videoWidth: S } = n, M = await li(S, y, i);
|
1641
|
+
t(2, P.srcObject = M, P), k(Ft, m = M, m), k(vt, d = !1, d);
|
1637
1642
|
}), ml = Ct.subscribe(async (i) => {
|
1638
|
-
i === rt.Face &&
|
1639
|
-
}), _l =
|
1640
|
-
i &&
|
1643
|
+
i === rt.Face && q() && !ge && !c && oe && await Oe();
|
1644
|
+
}), _l = de.subscribe(async (i) => {
|
1645
|
+
i && Dt();
|
1641
1646
|
});
|
1642
|
-
async function
|
1643
|
-
const i = await ii(),
|
1644
|
-
let
|
1645
|
-
|
1646
|
-
const M = await
|
1647
|
-
|
1647
|
+
async function Dt() {
|
1648
|
+
const i = await ii(), y = await import("./face_api_0e3ce8c8_2.0.5.js");
|
1649
|
+
let S;
|
1650
|
+
S = y.detectSingleFace(K, i);
|
1651
|
+
const M = await S.withFaceLandmarks();
|
1652
|
+
le.getContext("2d")?.clearRect(0, 0, le.width, le.height), M && si(M, le, ke), a && Ye(P, Dt);
|
1648
1653
|
}
|
1649
1654
|
gt.subscribe(async (i) => {
|
1650
|
-
i && (
|
1655
|
+
i && (Ze(), k(gt, s = !1, s));
|
1651
1656
|
});
|
1652
1657
|
const bl = ot.subscribe((i) => {
|
1653
1658
|
i && window.dispatchEvent(new CustomEvent("brycc-camera-ready"));
|
1654
1659
|
});
|
1655
1660
|
ai(() => {
|
1656
|
-
oi(), ul(), cl(), rl(),
|
1661
|
+
oi(), ul(), cl(), rl(), fl(), dl(), ml(), clearInterval(ee), _l(), bl(), ee = 0;
|
1657
1662
|
});
|
1658
1663
|
function hl(i) {
|
1659
|
-
|
1660
|
-
|
1664
|
+
ye[i ? "unshift" : "push"](() => {
|
1665
|
+
X = i, t(0, X);
|
1661
1666
|
});
|
1662
1667
|
}
|
1663
1668
|
function pl(i) {
|
1664
|
-
|
1665
|
-
|
1669
|
+
ye[i ? "unshift" : "push"](() => {
|
1670
|
+
P = i, t(2, P);
|
1666
1671
|
});
|
1667
1672
|
}
|
1668
1673
|
const gl = () => {
|
1669
|
-
|
1670
|
-
|
1674
|
+
q() || k(
|
1675
|
+
Je,
|
1671
1676
|
n = {
|
1672
|
-
videoHeight:
|
1673
|
-
videoWidth:
|
1677
|
+
videoHeight: P.videoHeight,
|
1678
|
+
videoWidth: P.videoWidth
|
1674
1679
|
},
|
1675
1680
|
n
|
1676
1681
|
);
|
1677
1682
|
};
|
1678
1683
|
function vl(i) {
|
1679
|
-
|
1680
|
-
|
1684
|
+
ye[i ? "unshift" : "push"](() => {
|
1685
|
+
K = i, t(12, K);
|
1681
1686
|
});
|
1682
1687
|
}
|
1683
1688
|
function wl(i) {
|
1684
|
-
|
1685
|
-
|
1689
|
+
ye[i ? "unshift" : "push"](() => {
|
1690
|
+
le = i, t(3, le);
|
1686
1691
|
});
|
1687
1692
|
}
|
1688
1693
|
function kl(i) {
|
1689
|
-
|
1690
|
-
|
1694
|
+
ye[i ? "unshift" : "push"](() => {
|
1695
|
+
ie = i, t(11, ie);
|
1691
1696
|
});
|
1692
1697
|
}
|
1693
1698
|
function Cl(i) {
|
1694
|
-
|
1695
|
-
|
1699
|
+
ye[i ? "unshift" : "push"](() => {
|
1700
|
+
Pe = i, t(4, Pe);
|
1696
1701
|
});
|
1697
1702
|
}
|
1698
1703
|
function El(i) {
|
1699
|
-
|
1700
|
-
|
1704
|
+
ye[i ? "unshift" : "push"](() => {
|
1705
|
+
Y = i, t(5, Y);
|
1701
1706
|
});
|
1702
1707
|
}
|
1703
1708
|
function Rl(i) {
|
1704
|
-
|
1705
|
-
|
1709
|
+
ye[i ? "unshift" : "push"](() => {
|
1710
|
+
z = i, t(6, z);
|
1706
1711
|
});
|
1707
1712
|
}
|
1708
1713
|
function Ll(i) {
|
1709
|
-
|
1710
|
-
|
1714
|
+
ye[i ? "unshift" : "push"](() => {
|
1715
|
+
fe = i, t(7, fe);
|
1711
1716
|
});
|
1712
1717
|
}
|
1713
|
-
const yl = () =>
|
1714
|
-
function
|
1715
|
-
|
1716
|
-
|
1718
|
+
const yl = () => F(), Ol = () => De(), Il = () => Ze();
|
1719
|
+
function Pl(i) {
|
1720
|
+
ye[i ? "unshift" : "push"](() => {
|
1721
|
+
we = i, t(8, we);
|
1717
1722
|
});
|
1718
1723
|
}
|
1719
|
-
const
|
1724
|
+
const Sl = () => De(), Al = () => Ze();
|
1720
1725
|
function Tl() {
|
1721
1726
|
R = this.value, kt.set(R);
|
1722
1727
|
}
|
1723
|
-
const
|
1728
|
+
const Dl = () => De(), xl = () => Ze();
|
1724
1729
|
function Ml() {
|
1725
1730
|
R = this.value, kt.set(R);
|
1726
1731
|
}
|
1727
|
-
const Nl = () =>
|
1728
|
-
t(13,
|
1732
|
+
const Nl = () => Ze(), Fl = () => {
|
1733
|
+
t(13, ge = !0), Oe();
|
1729
1734
|
};
|
1730
1735
|
return l.$$set = (i) => {
|
1731
|
-
"enableMinutiae" in i && t(42,
|
1736
|
+
"enableMinutiae" in i && t(42, ke = i.enableMinutiae), "videoDimensions" in i && t(43, pe = i.videoDimensions), "noTabs" in i && t(44, je = i.noTabs), "weightsPath" in i && t(45, Se = i.weightsPath), "widgetInstance" in i && t(0, X = i.widgetInstance);
|
1732
1737
|
}, [
|
1733
|
-
|
1734
|
-
|
1735
|
-
|
1736
|
-
ae,
|
1737
|
-
Oe,
|
1738
|
-
j,
|
1739
|
-
ie,
|
1740
|
-
be,
|
1741
|
-
F,
|
1742
|
-
z,
|
1743
|
-
he,
|
1744
|
-
Re,
|
1745
|
-
H,
|
1738
|
+
X,
|
1739
|
+
v,
|
1740
|
+
P,
|
1746
1741
|
le,
|
1747
|
-
|
1748
|
-
ne,
|
1742
|
+
Pe,
|
1749
1743
|
Y,
|
1744
|
+
z,
|
1750
1745
|
fe,
|
1746
|
+
we,
|
1747
|
+
H,
|
1748
|
+
$,
|
1749
|
+
ie,
|
1750
|
+
K,
|
1751
|
+
ge,
|
1752
|
+
Ue,
|
1753
|
+
Ce,
|
1754
|
+
me,
|
1755
|
+
B,
|
1751
1756
|
c,
|
1752
1757
|
n,
|
1753
1758
|
g,
|
@@ -1756,26 +1761,26 @@ function Qi(l, e, t) {
|
|
1756
1761
|
_,
|
1757
1762
|
O,
|
1758
1763
|
R,
|
1759
|
-
|
1764
|
+
C,
|
1760
1765
|
U,
|
1766
|
+
ce,
|
1761
1767
|
Q,
|
1762
|
-
|
1763
|
-
|
1764
|
-
|
1765
|
-
|
1766
|
-
|
1767
|
-
|
1768
|
-
Ve,
|
1769
|
-
We,
|
1770
|
-
Ee,
|
1771
|
-
v,
|
1772
|
-
qe,
|
1773
|
-
it,
|
1774
|
-
ze,
|
1775
|
-
ue,
|
1776
|
-
Ke,
|
1777
|
-
Ie,
|
1768
|
+
j,
|
1769
|
+
be,
|
1770
|
+
et,
|
1771
|
+
Be,
|
1772
|
+
He,
|
1773
|
+
tt,
|
1778
1774
|
de,
|
1775
|
+
Ae,
|
1776
|
+
Oe,
|
1777
|
+
F,
|
1778
|
+
De,
|
1779
|
+
Ze,
|
1780
|
+
ke,
|
1781
|
+
pe,
|
1782
|
+
je,
|
1783
|
+
Se,
|
1779
1784
|
hl,
|
1780
1785
|
pl,
|
1781
1786
|
gl,
|
@@ -1787,14 +1792,14 @@ function Qi(l, e, t) {
|
|
1787
1792
|
Rl,
|
1788
1793
|
Ll,
|
1789
1794
|
yl,
|
1790
|
-
Pl,
|
1791
1795
|
Ol,
|
1792
1796
|
Il,
|
1793
|
-
|
1797
|
+
Pl,
|
1794
1798
|
Sl,
|
1799
|
+
Al,
|
1795
1800
|
Tl,
|
1796
|
-
xl,
|
1797
1801
|
Dl,
|
1802
|
+
xl,
|
1798
1803
|
Ml,
|
1799
1804
|
Nl,
|
1800
1805
|
Fl
|
@@ -1811,7 +1816,7 @@ class Xi extends tl {
|
|
1811
1816
|
},
|
1812
1817
|
Qi,
|
1813
1818
|
Zi,
|
1814
|
-
|
1819
|
+
It,
|
1815
1820
|
{
|
1816
1821
|
enableMinutiae: 42,
|
1817
1822
|
videoDimensions: 43,
|
@@ -1822,7 +1827,7 @@ class Xi extends tl {
|
|
1822
1827
|
},
|
1823
1828
|
null,
|
1824
1829
|
[-1, -1, -1, -1]
|
1825
|
-
), e && (e.target && p(e.target, this, e.anchor), e.props && (this.$set(e.props),
|
1830
|
+
), e && (e.target && p(e.target, this, e.anchor), e.props && (this.$set(e.props), Me()));
|
1826
1831
|
}
|
1827
1832
|
static get observedAttributes() {
|
1828
1833
|
return [
|
@@ -1838,31 +1843,31 @@ class Xi extends tl {
|
|
1838
1843
|
return this.$$.ctx[42];
|
1839
1844
|
}
|
1840
1845
|
set enableMinutiae(e) {
|
1841
|
-
this.$$set({ enableMinutiae: e }),
|
1846
|
+
this.$$set({ enableMinutiae: e }), Me();
|
1842
1847
|
}
|
1843
1848
|
get videoDimensions() {
|
1844
1849
|
return this.$$.ctx[43];
|
1845
1850
|
}
|
1846
1851
|
set videoDimensions(e) {
|
1847
|
-
this.$$set({ videoDimensions: e }),
|
1852
|
+
this.$$set({ videoDimensions: e }), Me();
|
1848
1853
|
}
|
1849
1854
|
get noTabs() {
|
1850
1855
|
return this.$$.ctx[44];
|
1851
1856
|
}
|
1852
1857
|
set noTabs(e) {
|
1853
|
-
this.$$set({ noTabs: e }),
|
1858
|
+
this.$$set({ noTabs: e }), Me();
|
1854
1859
|
}
|
1855
1860
|
get weightsPath() {
|
1856
1861
|
return this.$$.ctx[45];
|
1857
1862
|
}
|
1858
1863
|
set weightsPath(e) {
|
1859
|
-
this.$$set({ weightsPath: e }),
|
1864
|
+
this.$$set({ weightsPath: e }), Me();
|
1860
1865
|
}
|
1861
1866
|
get widgetInstance() {
|
1862
1867
|
return this.$$.ctx[0];
|
1863
1868
|
}
|
1864
1869
|
set widgetInstance(e) {
|
1865
|
-
this.$$set({ widgetInstance: e }),
|
1870
|
+
this.$$set({ widgetInstance: e }), Me();
|
1866
1871
|
}
|
1867
1872
|
get play() {
|
1868
1873
|
return this.$$.ctx[1];
|