bry-biometric-collector 2.2.3 → 2.2.4
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 +4 -1
- package/dist/{CameraBtn_96f6ebaf_2.2.3.js → CameraBtn_31de128d_2.2.4.js} +21 -21
- package/dist/DocumentCollector_c6e6ff03_2.2.4.js +974 -0
- package/dist/FaceCollector_093647e9_2.2.4.js +1578 -0
- package/dist/bry-biometric-collector-main.js +1 -1
- package/dist/{en-us_46223587_2.2.3.js → en-us_55a6748c_2.2.4.js} +10 -8
- package/dist/{fingersApi_bb08f771_2.2.3.js → fingersApi_3ba4f3ab_2.2.4.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{main_0b5de60d_2.2.3.js → main_b9c95070_2.2.4.js} +2919 -2894
- package/dist/{pt-br_7b1f22cd_2.2.3.js → pt-br_083e1c6a_2.2.4.js} +8 -6
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/DocumentCollector_33f88502_2.2.3.js +0 -1037
- package/dist/FaceCollector_14d69b3d_2.2.3.js +0 -1636
- /package/dist/{face_api_0e3ce8c8_2.2.3.js → face_api_0e3ce8c8_2.2.4.js} +0 -0
- /package/dist/{index-no-detector_acb82d83_2.2.3.js → index-no-detector_acb82d83_2.2.4.js} +0 -0
@@ -1,1636 +0,0 @@
|
|
1
|
-
import { S as qi, r as zi, t as ui, w as Xi, x as A, y as _e, z as K, C as Qi, B as b, D as N, E as dt, G as ee, H as d, I as c, J as mt, K as fi, L as ke, M as di, N as Ee, O as L, P as ht, Q as O, R as Pt, T as ze, U as et, V as Ae, W as Ji, X as De, Y as It, _ as Ht, Z as Gi, a0 as Yi, a1 as Me, a2 as Xe, a3 as ge, a4 as Tt, a5 as Ot, a6 as Ie, a7 as Zi, a8 as xi, a9 as tt, aa as At, ab as it, $ as $i, ac as el, ad as lt, ae as jt, af as qt, ag as zt, ah as Xt, ai as tl, aj as il, ak as ll, al, am as sl, an as m, ao as at, ap as nl, aq as st, ar as $, as as nt, at as ot, A as Qt, au as St, av as rt, aw as ol, ax as ct, ay as Jt, az as rl, f as ut, aA as Lt, aB as cl, aC as Ft, aD as ul, aE as fl, aF as We, aG as dl, aH as Gt, aI as de, aJ as _t, aK as S, aL as U, aM as Qe, aN as Dt, aO as Yt, l as ft, aP as ml, aQ as hl, aR as Ue, aS as Nt, aT as bl, aU as _l, aV as Zt, aW as bt, aX as gl, aY as pl } from "./main_0b5de60d_2.2.3.js";
|
2
|
-
import { C as Y, a as vl, c as re, b as wl } from "./CameraBtn_96f6ebaf_2.2.3.js";
|
3
|
-
function xt(l, e, t) {
|
4
|
-
const a = l.slice();
|
5
|
-
return a[106] = e[t], a;
|
6
|
-
}
|
7
|
-
function Cl(l) {
|
8
|
-
let e;
|
9
|
-
return {
|
10
|
-
c() {
|
11
|
-
e = b("idlive-face-capture"), e.hidden = !0, Nt(e, "mask_hidden", ""), Nt(e, "auto_capture_disabled", ""), Nt(e, "auto_close_disabled", "");
|
12
|
-
},
|
13
|
-
m(t, a) {
|
14
|
-
A(t, e, a), l[46](e);
|
15
|
-
},
|
16
|
-
p: ee,
|
17
|
-
d(t) {
|
18
|
-
t && L(e), l[46](null);
|
19
|
-
}
|
20
|
-
};
|
21
|
-
}
|
22
|
-
function $t(l) {
|
23
|
-
let e, t, a;
|
24
|
-
return {
|
25
|
-
c() {
|
26
|
-
e = b("video"), d(e, "id", "bry-cc-camera-video-tag"), d(e, "class", "absolute -z-10"), e.playsInline = !0, e.muted = !0, e.autoplay = !0;
|
27
|
-
},
|
28
|
-
m(s, n) {
|
29
|
-
A(s, e, n), l[47](e), t || (a = [
|
30
|
-
de(
|
31
|
-
e,
|
32
|
-
"canplay",
|
33
|
-
/*canplay_handler*/
|
34
|
-
l[48]
|
35
|
-
),
|
36
|
-
de(
|
37
|
-
e,
|
38
|
-
"play",
|
39
|
-
/*play*/
|
40
|
-
l[3],
|
41
|
-
{ once: !0 }
|
42
|
-
)
|
43
|
-
], t = !0);
|
44
|
-
},
|
45
|
-
p: ee,
|
46
|
-
d(s) {
|
47
|
-
s && L(e), l[47](null), t = !1, _t(a);
|
48
|
-
}
|
49
|
-
};
|
50
|
-
}
|
51
|
-
function ei(l) {
|
52
|
-
let e, t = (
|
53
|
-
/*$_*/
|
54
|
-
l[29]("faceCollector.stayStill") + ""
|
55
|
-
), a;
|
56
|
-
return {
|
57
|
-
c() {
|
58
|
-
e = b("span"), a = S(t), d(e, "class", "absolute left-1/2 -translate-x-1/2 top-[10%] ce-dui-badge ce-dui-badge-lg h-[2em] text-4xl 4xl:text-base w-[12.1em]");
|
59
|
-
},
|
60
|
-
m(s, n) {
|
61
|
-
A(s, e, n), c(e, a);
|
62
|
-
},
|
63
|
-
p(s, n) {
|
64
|
-
n[0] & /*$_*/
|
65
|
-
536870912 && t !== (t = /*$_*/
|
66
|
-
s[29]("faceCollector.stayStill") + "") && U(a, t);
|
67
|
-
},
|
68
|
-
d(s) {
|
69
|
-
s && L(e);
|
70
|
-
}
|
71
|
-
};
|
72
|
-
}
|
73
|
-
function ti(l) {
|
74
|
-
let e, t = (
|
75
|
-
/*$_*/
|
76
|
-
l[29](`${/*faceValidationAlert*/
|
77
|
-
l[16]}`) + ""
|
78
|
-
), a;
|
79
|
-
return {
|
80
|
-
c() {
|
81
|
-
e = b("span"), a = S(t), d(e, "class", "absolute left-1/2 -translate-x-1/2 top-[10%] ce-dui-badge ce-dui-badge-lg h-[2em] text-4xl 4xl:text-base w-[12.1em]");
|
82
|
-
},
|
83
|
-
m(s, n) {
|
84
|
-
A(s, e, n), c(e, a);
|
85
|
-
},
|
86
|
-
p(s, n) {
|
87
|
-
n[0] & /*$_, faceValidationAlert*/
|
88
|
-
536936448 && t !== (t = /*$_*/
|
89
|
-
s[29](`${/*faceValidationAlert*/
|
90
|
-
s[16]}`) + "") && U(a, t);
|
91
|
-
},
|
92
|
-
d(s) {
|
93
|
-
s && L(e);
|
94
|
-
}
|
95
|
-
};
|
96
|
-
}
|
97
|
-
function ii(l) {
|
98
|
-
let e, t, a, s, n;
|
99
|
-
function r(u, h) {
|
100
|
-
return (
|
101
|
-
/*$isLoading*/
|
102
|
-
u[31] ? El : kl
|
103
|
-
);
|
104
|
-
}
|
105
|
-
let f = r(l), o = f(l);
|
106
|
-
return {
|
107
|
-
c() {
|
108
|
-
e = b("slot"), t = b("div"), a = b("img"), n = N(), o.c(), Qe(a.src, s = Dt) || d(a, "src", s), d(a, "alt", "loading gif"), d(a, "class", "m-auto h-[10em] lg:h-[12em]"), d(t, "class", "translate-y-1/3 md:translate-y-1/4 xl:translate-y-1/2"), d(e, "name", "obtaining-photo-gif"), d(e, "class", "block h-[17em] lg:h-[21.6em] xl:h-[30em]");
|
109
|
-
},
|
110
|
-
m(u, h) {
|
111
|
-
A(u, e, h), c(e, t), c(t, a), c(t, n), o.m(t, null);
|
112
|
-
},
|
113
|
-
p(u, h) {
|
114
|
-
f === (f = r(u)) && o ? o.p(u, h) : (o.d(1), o = f(u), o && (o.c(), o.m(t, null)));
|
115
|
-
},
|
116
|
-
d(u) {
|
117
|
-
u && L(e), o.d();
|
118
|
-
}
|
119
|
-
};
|
120
|
-
}
|
121
|
-
function kl(l) {
|
122
|
-
let e, t = (
|
123
|
-
/*$_*/
|
124
|
-
l[29]("faceCollector.obtainingPicture") + ""
|
125
|
-
), a;
|
126
|
-
return {
|
127
|
-
c() {
|
128
|
-
e = b("span"), a = S(t), d(e, "class", "2xl:text-2xl lg:text-2xl text-md block p-2 m-auto text-center");
|
129
|
-
},
|
130
|
-
m(s, n) {
|
131
|
-
A(s, e, n), c(e, a);
|
132
|
-
},
|
133
|
-
p(s, n) {
|
134
|
-
n[0] & /*$_*/
|
135
|
-
536870912 && t !== (t = /*$_*/
|
136
|
-
s[29]("faceCollector.obtainingPicture") + "") && U(a, t);
|
137
|
-
},
|
138
|
-
d(s) {
|
139
|
-
s && L(e);
|
140
|
-
}
|
141
|
-
};
|
142
|
-
}
|
143
|
-
function El(l) {
|
144
|
-
let e;
|
145
|
-
return {
|
146
|
-
c() {
|
147
|
-
e = b("span"), e.textContent = "Obtaining photo...", d(e, "class", "2xl:text-2xl lg:text-2xl text-md block p-2 m-auto text-center");
|
148
|
-
},
|
149
|
-
m(t, a) {
|
150
|
-
A(t, e, a);
|
151
|
-
},
|
152
|
-
p: ee,
|
153
|
-
d(t) {
|
154
|
-
t && L(e);
|
155
|
-
}
|
156
|
-
};
|
157
|
-
}
|
158
|
-
function li(l) {
|
159
|
-
let e, t, a, s, n;
|
160
|
-
function r(u, h) {
|
161
|
-
return (
|
162
|
-
/*$isLoading*/
|
163
|
-
u[31] ? yl : Rl
|
164
|
-
);
|
165
|
-
}
|
166
|
-
let f = r(l), o = f(l);
|
167
|
-
return {
|
168
|
-
c() {
|
169
|
-
e = b("slot"), t = b("div"), a = b("img"), n = N(), o.c(), Qe(a.src, s = Dt) || d(a, "src", s), d(a, "alt", "loading gif"), d(a, "class", "m-auto h-[10em] lg:h-[12em]"), d(t, "class", "translate-y-1/3 md:translate-y-1/4 xl:translate-y-1/2"), d(e, "name", "loading-camera-gif"), d(e, "class", "block h-[17em] lg:h-[21.6em] xl:h-[30em]");
|
170
|
-
},
|
171
|
-
m(u, h) {
|
172
|
-
A(u, e, h), c(e, t), c(t, a), c(t, n), o.m(t, null);
|
173
|
-
},
|
174
|
-
p(u, h) {
|
175
|
-
f === (f = r(u)) && o ? o.p(u, h) : (o.d(1), o = f(u), o && (o.c(), o.m(t, null)));
|
176
|
-
},
|
177
|
-
d(u) {
|
178
|
-
u && L(e), o.d();
|
179
|
-
}
|
180
|
-
};
|
181
|
-
}
|
182
|
-
function Rl(l) {
|
183
|
-
let e, t = (
|
184
|
-
/*$_*/
|
185
|
-
l[29]("faceCollector.initiatingCamera") + ""
|
186
|
-
), a;
|
187
|
-
return {
|
188
|
-
c() {
|
189
|
-
e = b("span"), a = S(t), d(e, "class", "2xl:text-2xl lg:text-2xl text-md block p-2 m-auto text-center");
|
190
|
-
},
|
191
|
-
m(s, n) {
|
192
|
-
A(s, e, n), c(e, a);
|
193
|
-
},
|
194
|
-
p(s, n) {
|
195
|
-
n[0] & /*$_*/
|
196
|
-
536870912 && t !== (t = /*$_*/
|
197
|
-
s[29]("faceCollector.initiatingCamera") + "") && U(a, t);
|
198
|
-
},
|
199
|
-
d(s) {
|
200
|
-
s && L(e);
|
201
|
-
}
|
202
|
-
};
|
203
|
-
}
|
204
|
-
function yl(l) {
|
205
|
-
let e;
|
206
|
-
return {
|
207
|
-
c() {
|
208
|
-
e = b("span"), e.textContent = "Loading camera...", d(e, "class", "2xl:text-2xl lg:text-2xl text-md block p-2 m-auto text-center");
|
209
|
-
},
|
210
|
-
m(t, a) {
|
211
|
-
A(t, e, a);
|
212
|
-
},
|
213
|
-
p: ee,
|
214
|
-
d(t) {
|
215
|
-
t && L(e);
|
216
|
-
}
|
217
|
-
};
|
218
|
-
}
|
219
|
-
function Pl(l) {
|
220
|
-
let e, t, a = (
|
221
|
-
/*$_*/
|
222
|
-
l[29]("faceCollector.finish") + ""
|
223
|
-
), s, n, r, f, o = (
|
224
|
-
/*$_*/
|
225
|
-
l[29]("faceCollector.retakePhoto") + ""
|
226
|
-
), u, h, P;
|
227
|
-
return {
|
228
|
-
c() {
|
229
|
-
e = b("div"), t = b("button"), s = S(a), r = N(), f = b("button"), u = S(o), t.disabled = n = /*$justification*/
|
230
|
-
l[23].length === 0, d(t, "class", "ce-dui-btn ce-dui-btn-primary ce-dui-btn-block flex-shrink"), d(f, "id", "bry-cc-retake-button"), d(f, "class", "ce-dui-btn ce-dui-btn-block ce-dui-btn-outline flex-shrink"), d(e, "class", "ce-dui-btn-group flex");
|
231
|
-
},
|
232
|
-
m(T, g) {
|
233
|
-
A(T, e, g), c(e, t), c(t, s), c(e, r), c(e, f), c(f, u), h || (P = [
|
234
|
-
de(
|
235
|
-
t,
|
236
|
-
"click",
|
237
|
-
/*click_handler_1*/
|
238
|
-
l[53]
|
239
|
-
),
|
240
|
-
de(
|
241
|
-
f,
|
242
|
-
"click",
|
243
|
-
/*click_handler_2*/
|
244
|
-
l[54]
|
245
|
-
)
|
246
|
-
], h = !0);
|
247
|
-
},
|
248
|
-
p(T, g) {
|
249
|
-
g[0] & /*$_*/
|
250
|
-
536870912 && a !== (a = /*$_*/
|
251
|
-
T[29]("faceCollector.finish") + "") && U(s, a), g[0] & /*$justification*/
|
252
|
-
8388608 && n !== (n = /*$justification*/
|
253
|
-
T[23].length === 0) && (t.disabled = n), g[0] & /*$_*/
|
254
|
-
536870912 && o !== (o = /*$_*/
|
255
|
-
T[29]("faceCollector.retakePhoto") + "") && U(u, o);
|
256
|
-
},
|
257
|
-
d(T) {
|
258
|
-
T && L(e), h = !1, _t(P);
|
259
|
-
}
|
260
|
-
};
|
261
|
-
}
|
262
|
-
function Il(l) {
|
263
|
-
let e, t, a, s, n;
|
264
|
-
function r(u, h) {
|
265
|
-
return (
|
266
|
-
/*$isLoading*/
|
267
|
-
u[31] ? Ol : Tl
|
268
|
-
);
|
269
|
-
}
|
270
|
-
let f = r(l), o = f(l);
|
271
|
-
return {
|
272
|
-
c() {
|
273
|
-
e = b("button"), o.c(), d(e, "id", "bry-cc-capture-btn"), e.disabled = t = !/*$faceFound*/
|
274
|
-
l[30] && /*$enableFaceApi*/
|
275
|
-
l[26] || !/*$ready*/
|
276
|
-
l[27] && !/*$enableFaceApi*/
|
277
|
-
l[26], e.hidden = a = !/*showCaptureButton*/
|
278
|
-
l[1], d(e, "class", "ce-dui-btn ce-dui-btn-block ce-dui-btn-primary text-xl");
|
279
|
-
},
|
280
|
-
m(u, h) {
|
281
|
-
A(u, e, h), o.m(e, null), s || (n = de(
|
282
|
-
e,
|
283
|
-
"click",
|
284
|
-
/*click_handler*/
|
285
|
-
l[52]
|
286
|
-
), s = !0);
|
287
|
-
},
|
288
|
-
p(u, h) {
|
289
|
-
f === (f = r(u)) && o ? o.p(u, h) : (o.d(1), o = f(u), o && (o.c(), o.m(e, null))), h[0] & /*$faceFound, $enableFaceApi, $ready*/
|
290
|
-
1275068416 && t !== (t = !/*$faceFound*/
|
291
|
-
u[30] && /*$enableFaceApi*/
|
292
|
-
u[26] || !/*$ready*/
|
293
|
-
u[27] && !/*$enableFaceApi*/
|
294
|
-
u[26]) && (e.disabled = t), h[0] & /*showCaptureButton*/
|
295
|
-
2 && a !== (a = !/*showCaptureButton*/
|
296
|
-
u[1]) && (e.hidden = a);
|
297
|
-
},
|
298
|
-
d(u) {
|
299
|
-
u && L(e), o.d(), s = !1, n();
|
300
|
-
}
|
301
|
-
};
|
302
|
-
}
|
303
|
-
function Tl(l) {
|
304
|
-
let e = (
|
305
|
-
/*$_*/
|
306
|
-
l[29]("faceCollector.takePicture") + ""
|
307
|
-
), t;
|
308
|
-
return {
|
309
|
-
c() {
|
310
|
-
t = S(e);
|
311
|
-
},
|
312
|
-
m(a, s) {
|
313
|
-
A(a, t, s);
|
314
|
-
},
|
315
|
-
p(a, s) {
|
316
|
-
s[0] & /*$_*/
|
317
|
-
536870912 && e !== (e = /*$_*/
|
318
|
-
a[29]("faceCollector.takePicture") + "") && U(t, e);
|
319
|
-
},
|
320
|
-
d(a) {
|
321
|
-
a && L(t);
|
322
|
-
}
|
323
|
-
};
|
324
|
-
}
|
325
|
-
function Ol(l) {
|
326
|
-
let e;
|
327
|
-
return {
|
328
|
-
c() {
|
329
|
-
e = S("Take picture");
|
330
|
-
},
|
331
|
-
m(t, a) {
|
332
|
-
A(t, e, a);
|
333
|
-
},
|
334
|
-
p: ee,
|
335
|
-
d(t) {
|
336
|
-
t && L(e);
|
337
|
-
}
|
338
|
-
};
|
339
|
-
}
|
340
|
-
function Al(l) {
|
341
|
-
let e, t, a, s, n, r = (
|
342
|
-
/*$isLoadingAPP*/
|
343
|
-
l[28] && ai(l)
|
344
|
-
);
|
345
|
-
return {
|
346
|
-
c() {
|
347
|
-
e = b("slot"), t = b("div"), a = b("img"), n = N(), r && r.c(), Qe(a.src, s = Dt) || d(a, "src", s), d(a, "alt", "loading gif"), d(a, "class", "m-auto h-[10em] lg:h-[12em]"), d(t, "class", "translate-y-1/3 md:translate-y-1/4 xl:translate-y-1/2"), d(e, "name", "obtaining-photo-gif"), d(e, "class", "block h-[17em] lg:h-[21.6em] xl:h-[30em]");
|
348
|
-
},
|
349
|
-
m(f, o) {
|
350
|
-
A(f, e, o), c(e, t), c(t, a), c(t, n), r && r.m(t, null);
|
351
|
-
},
|
352
|
-
p(f, o) {
|
353
|
-
/*$isLoadingAPP*/
|
354
|
-
f[28] ? r ? r.p(f, o) : (r = ai(f), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
|
355
|
-
},
|
356
|
-
i: ee,
|
357
|
-
o: ee,
|
358
|
-
d(f) {
|
359
|
-
f && L(e), r && r.d();
|
360
|
-
}
|
361
|
-
};
|
362
|
-
}
|
363
|
-
function Sl(l) {
|
364
|
-
let e, t;
|
365
|
-
return e = new wl({ props: { handler: (
|
366
|
-
/*func*/
|
367
|
-
l[63]
|
368
|
-
) } }), {
|
369
|
-
c() {
|
370
|
-
dt(e.$$.fragment);
|
371
|
-
},
|
372
|
-
m(a, s) {
|
373
|
-
mt(e, a, s), t = !0;
|
374
|
-
},
|
375
|
-
p: ee,
|
376
|
-
i(a) {
|
377
|
-
t || (Ee(e.$$.fragment, a), t = !0);
|
378
|
-
},
|
379
|
-
o(a) {
|
380
|
-
ke(e.$$.fragment, a), t = !1;
|
381
|
-
},
|
382
|
-
d(a) {
|
383
|
-
ht(e, a);
|
384
|
-
}
|
385
|
-
};
|
386
|
-
}
|
387
|
-
function Ll(l) {
|
388
|
-
let e, t, a, s, n, r, f, o, u;
|
389
|
-
const h = [
|
390
|
-
Wl,
|
391
|
-
Ml,
|
392
|
-
Dl,
|
393
|
-
Nl,
|
394
|
-
Fl
|
395
|
-
], P = [];
|
396
|
-
function T(g, R) {
|
397
|
-
return (
|
398
|
-
/*$captured*/
|
399
|
-
g[19] ? (
|
400
|
-
/*$unconformitiesStore*/
|
401
|
-
g[20].isLoading ? 1 : (
|
402
|
-
/*$requestResult*/
|
403
|
-
g[21] !== $.OK ? 2 : (
|
404
|
-
/*$saved*/
|
405
|
-
g[22] ? 4 : 3
|
406
|
-
)
|
407
|
-
)
|
408
|
-
) : 0
|
409
|
-
);
|
410
|
-
}
|
411
|
-
return r = T(l), f = P[r] = h[r](l), {
|
412
|
-
c() {
|
413
|
-
e = b("div"), t = b("img"), n = N(), f.c(), d(t, "class", "m-auto col-start-1 col-end-1 max-h-[23.2em]"), Qe(t.src, a = /*$dataTypePrefix*/
|
414
|
-
l[25] + "," + /*$image*/
|
415
|
-
l[24]) || d(t, "src", a), t.hidden = s = !/*$captured*/
|
416
|
-
l[19] || !/*$showFaceWhileValidating*/
|
417
|
-
l[32] && /*$unconformitiesStore*/
|
418
|
-
l[20].isLoading, d(t, "alt", ""), d(e, "class", o = "grid-cols-1 grid-rows-2 sm:grid-cols-2 sm:grid-rows-1 gap-[.5em] " + (!/*$showFaceWhileValidating*/
|
419
|
-
l[32] && /*$unconformitiesStore*/
|
420
|
-
l[20].isLoading ? "absolute -translate-y-1/2 -translate-x-1/2 top-1/2 left-1/2 overflow-visible" : "grid m-[1em] overflow-hidden"));
|
421
|
-
},
|
422
|
-
m(g, R) {
|
423
|
-
A(g, e, R), c(e, t), c(e, n), P[r].m(e, null), u = !0;
|
424
|
-
},
|
425
|
-
p(g, R) {
|
426
|
-
(!u || R[0] & /*$dataTypePrefix, $image*/
|
427
|
-
50331648 && !Qe(t.src, a = /*$dataTypePrefix*/
|
428
|
-
g[25] + "," + /*$image*/
|
429
|
-
g[24])) && d(t, "src", a), (!u || R[0] & /*$captured, $unconformitiesStore*/
|
430
|
-
1572864 | R[1] & /*$showFaceWhileValidating*/
|
431
|
-
2 && s !== (s = !/*$captured*/
|
432
|
-
g[19] || !/*$showFaceWhileValidating*/
|
433
|
-
g[32] && /*$unconformitiesStore*/
|
434
|
-
g[20].isLoading)) && (t.hidden = s);
|
435
|
-
let y = r;
|
436
|
-
r = T(g), r === y ? P[r].p(g, R) : (fi(), ke(P[y], 1, 1, () => {
|
437
|
-
P[y] = null;
|
438
|
-
}), di(), f = P[r], f ? f.p(g, R) : (f = P[r] = h[r](g), f.c()), Ee(f, 1), f.m(e, null)), (!u || R[0] & /*$unconformitiesStore*/
|
439
|
-
1048576 | R[1] & /*$showFaceWhileValidating*/
|
440
|
-
2 && o !== (o = "grid-cols-1 grid-rows-2 sm:grid-cols-2 sm:grid-rows-1 gap-[.5em] " + (!/*$showFaceWhileValidating*/
|
441
|
-
g[32] && /*$unconformitiesStore*/
|
442
|
-
g[20].isLoading ? "absolute -translate-y-1/2 -translate-x-1/2 top-1/2 left-1/2 overflow-visible" : "grid m-[1em] overflow-hidden"))) && d(e, "class", o);
|
443
|
-
},
|
444
|
-
i(g) {
|
445
|
-
u || (Ee(f), u = !0);
|
446
|
-
},
|
447
|
-
o(g) {
|
448
|
-
ke(f), u = !1;
|
449
|
-
},
|
450
|
-
d(g) {
|
451
|
-
g && L(e), P[r].d();
|
452
|
-
}
|
453
|
-
};
|
454
|
-
}
|
455
|
-
function ai(l) {
|
456
|
-
let e, t = (
|
457
|
-
/*$_*/
|
458
|
-
l[29]("faceCollector.loading") + ""
|
459
|
-
), a;
|
460
|
-
return {
|
461
|
-
c() {
|
462
|
-
e = b("span"), a = S(t), d(e, "class", "2xl:text-2xl lg:text-2xl text-md block p-2 m-auto text-center");
|
463
|
-
},
|
464
|
-
m(s, n) {
|
465
|
-
A(s, e, n), c(e, a);
|
466
|
-
},
|
467
|
-
p(s, n) {
|
468
|
-
n[0] & /*$_*/
|
469
|
-
536870912 && t !== (t = /*$_*/
|
470
|
-
s[29]("faceCollector.loading") + "") && U(a, t);
|
471
|
-
},
|
472
|
-
d(s) {
|
473
|
-
s && L(e);
|
474
|
-
}
|
475
|
-
};
|
476
|
-
}
|
477
|
-
function Fl(l) {
|
478
|
-
let e, t, a = (
|
479
|
-
/*$_*/
|
480
|
-
l[29]("faceCollector.captured") + ""
|
481
|
-
), s, n, r, f, o, u = (
|
482
|
-
/*$_*/
|
483
|
-
l[29]("faceCollector.retakePhoto") + ""
|
484
|
-
), h, P, T = ft(bl).faceStrategy !== _l.DISABLED, g, R, y, p = (
|
485
|
-
/*$unconformitiesStore*/
|
486
|
-
l[20].unconformities.length !== 0 && si(l)
|
487
|
-
), v = T && Ul();
|
488
|
-
return {
|
489
|
-
c() {
|
490
|
-
e = b("div"), t = b("h1"), s = S(a), n = N(), p && p.c(), r = N(), f = b("div"), o = b("button"), h = S(u), P = N(), v && v.c(), d(t, "class", "text-3xl font-bold pb-[1em] transition-opacity"), d(o, "id", "bry-cc-retake-button"), d(o, "class", "ce-dui-btn ce-dui-btn-block flex-shrink text-base"), d(f, "class", "flex flex-row"), Zt(f, "ce-dui-btn-group", !/*$exportButtonDisabled*/
|
491
|
-
l[33]);
|
492
|
-
},
|
493
|
-
m(D, B) {
|
494
|
-
A(D, e, B), c(e, t), c(t, s), c(e, n), p && p.m(e, null), c(e, r), c(e, f), c(f, o), c(o, h), c(f, P), v && v.m(f, null), g = !0, R || (y = de(
|
495
|
-
o,
|
496
|
-
"click",
|
497
|
-
/*click_handler_7*/
|
498
|
-
l[62]
|
499
|
-
), R = !0);
|
500
|
-
},
|
501
|
-
p(D, B) {
|
502
|
-
(!g || B[0] & /*$_*/
|
503
|
-
536870912) && a !== (a = /*$_*/
|
504
|
-
D[29]("faceCollector.captured") + "") && U(s, a), /*$unconformitiesStore*/
|
505
|
-
D[20].unconformities.length !== 0 ? p ? p.p(D, B) : (p = si(D), p.c(), p.m(e, r)) : p && (p.d(1), p = null), (!g || B[0] & /*$_*/
|
506
|
-
536870912) && u !== (u = /*$_*/
|
507
|
-
D[29]("faceCollector.retakePhoto") + "") && U(h, u), (!g || B[1] & /*$exportButtonDisabled*/
|
508
|
-
4) && Zt(f, "ce-dui-btn-group", !/*$exportButtonDisabled*/
|
509
|
-
D[33]);
|
510
|
-
},
|
511
|
-
i(D) {
|
512
|
-
g || (Ee(v), g = !0);
|
513
|
-
},
|
514
|
-
o(D) {
|
515
|
-
ke(v), g = !1;
|
516
|
-
},
|
517
|
-
d(D) {
|
518
|
-
D && L(e), p && p.d(), v && v.d(), R = !1, y();
|
519
|
-
}
|
520
|
-
};
|
521
|
-
}
|
522
|
-
function Nl(l) {
|
523
|
-
let e, t, a = (
|
524
|
-
/*$_*/
|
525
|
-
l[29]("faceCollector.unconformities") + ""
|
526
|
-
), s, n, r, f, o, u, h, P = (
|
527
|
-
/*$_*/
|
528
|
-
l[29]("faceCollector.provideAReasonForTheLowQualityCapture") + ""
|
529
|
-
), T, g, R, y, p, v, D, B, M = (
|
530
|
-
/*$_*/
|
531
|
-
l[29]("faceCollector.thisInformationIsRequired") + ""
|
532
|
-
), ae, pe, se, ce, he, Z = (
|
533
|
-
/*$unconformitiesStore*/
|
534
|
-
l[20].unconformities
|
535
|
-
), H = [];
|
536
|
-
for (let I = 0; I < Z.length; I += 1)
|
537
|
-
H[I] = ni(xt(l, Z, I));
|
538
|
-
let X = (
|
539
|
-
/*$captured*/
|
540
|
-
l[19] && oi(l)
|
541
|
-
);
|
542
|
-
return {
|
543
|
-
c() {
|
544
|
-
e = b("div"), t = b("h1"), s = S(a), n = N(), r = b("div");
|
545
|
-
for (let I = 0; I < H.length; I += 1)
|
546
|
-
H[I].c();
|
547
|
-
f = N(), o = b("div"), u = b("label"), h = b("span"), T = S(P), g = N(), R = b("textarea"), p = N(), v = b("label"), D = b("span"), B = S("("), ae = S(M), pe = S(")"), se = N(), X && X.c(), d(t, "class", "text-3xl font-bold pb-[1em] transition-opacity"), d(r, "class", "flex flex-wrap"), d(h, "class", "ce-dui-label-text text-base"), d(u, "class", "ce-dui-label"), d(u, "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", y = /*$_*/
|
548
|
-
l[29]("faceCollector.yourJustification")), d(D, "class", "ce-dui-label-text-alt text-base"), d(v, "class", "ce-dui-label"), d(v, "for", "justification"), d(o, "class", "ce-dui-form-control mt-[2.5em]");
|
549
|
-
},
|
550
|
-
m(I, x) {
|
551
|
-
A(I, e, x), c(e, t), c(t, s), c(e, n), c(e, r);
|
552
|
-
for (let j = 0; j < H.length; j += 1)
|
553
|
-
H[j] && H[j].m(r, null);
|
554
|
-
c(e, f), c(e, o), c(o, u), c(u, h), c(h, T), c(o, g), c(o, R), bt(
|
555
|
-
R,
|
556
|
-
/*$justification*/
|
557
|
-
l[23]
|
558
|
-
), c(o, p), c(o, v), c(v, D), c(D, B), c(D, ae), c(D, pe), c(e, se), X && X.m(e, null), ce || (he = de(
|
559
|
-
R,
|
560
|
-
"input",
|
561
|
-
/*textarea_input_handler*/
|
562
|
-
l[58]
|
563
|
-
), ce = !0);
|
564
|
-
},
|
565
|
-
p(I, x) {
|
566
|
-
if (x[0] & /*$_*/
|
567
|
-
536870912 && a !== (a = /*$_*/
|
568
|
-
I[29]("faceCollector.unconformities") + "") && U(s, a), x[0] & /*$unconformitiesStore*/
|
569
|
-
1048576) {
|
570
|
-
Z = /*$unconformitiesStore*/
|
571
|
-
I[20].unconformities;
|
572
|
-
let j;
|
573
|
-
for (j = 0; j < Z.length; j += 1) {
|
574
|
-
const me = xt(I, Z, j);
|
575
|
-
H[j] ? H[j].p(me, x) : (H[j] = ni(me), H[j].c(), H[j].m(r, null));
|
576
|
-
}
|
577
|
-
for (; j < H.length; j += 1)
|
578
|
-
H[j].d(1);
|
579
|
-
H.length = Z.length;
|
580
|
-
}
|
581
|
-
x[0] & /*$_*/
|
582
|
-
536870912 && P !== (P = /*$_*/
|
583
|
-
I[29]("faceCollector.provideAReasonForTheLowQualityCapture") + "") && U(T, P), x[0] & /*$_*/
|
584
|
-
536870912 && y !== (y = /*$_*/
|
585
|
-
I[29]("faceCollector.yourJustification")) && d(R, "placeholder", y), x[0] & /*$justification*/
|
586
|
-
8388608 && bt(
|
587
|
-
R,
|
588
|
-
/*$justification*/
|
589
|
-
I[23]
|
590
|
-
), x[0] & /*$_*/
|
591
|
-
536870912 && M !== (M = /*$_*/
|
592
|
-
I[29]("faceCollector.thisInformationIsRequired") + "") && U(ae, M), /*$captured*/
|
593
|
-
I[19] ? X ? X.p(I, x) : (X = oi(I), X.c(), X.m(e, null)) : X && (X.d(1), X = null);
|
594
|
-
},
|
595
|
-
i: ee,
|
596
|
-
o: ee,
|
597
|
-
d(I) {
|
598
|
-
I && L(e), gl(H, I), X && X.d(), ce = !1, he();
|
599
|
-
}
|
600
|
-
};
|
601
|
-
}
|
602
|
-
function Dl(l) {
|
603
|
-
let e, t, a, s, n = (
|
604
|
-
/*$_*/
|
605
|
-
l[29]("faceCollector.finish") + ""
|
606
|
-
), r, f, o, u = (
|
607
|
-
/*$_*/
|
608
|
-
l[29]("faceCollector.retakePhoto") + ""
|
609
|
-
), h, P, T;
|
610
|
-
function g(p, v) {
|
611
|
-
return (
|
612
|
-
/*$requestResult*/
|
613
|
-
p[21] === $.LIVENESS_DETECTION_FAILURE || /*$requestResult*/
|
614
|
-
p[21] === $.UNKNOWN_LIVENESS_ERROR ? jl : (
|
615
|
-
/*$requestResult*/
|
616
|
-
p[21] === $.LOW_LIVENESS_SCORE ? Hl : (
|
617
|
-
/*$requestResult*/
|
618
|
-
p[21] === $.TEMPLATE_EXTRACTION_ERROR || /*$requestResult*/
|
619
|
-
p[21] === $.UNKNOWN_TEMPLATE_EXTRACTION_ERROR ? Bl : (
|
620
|
-
/*$requestResult*/
|
621
|
-
p[21] === $.UNABLE_TO_COMMUNICATE_WITH_TEMPLATE_EXTRACTION_SERVICE ? Kl : Vl
|
622
|
-
)
|
623
|
-
)
|
624
|
-
)
|
625
|
-
);
|
626
|
-
}
|
627
|
-
let R = g(l), y = R(l);
|
628
|
-
return {
|
629
|
-
c() {
|
630
|
-
e = b("div"), y.c(), t = N(), a = b("div"), s = b("button"), r = S(n), f = N(), o = b("button"), h = S(u), s.disabled = !0, d(s, "class", "ce-dui-btn ce-dui-btn-primary ce-dui-btn-block flex-shrink"), d(o, "id", "bry-cc-retake-button"), d(o, "class", "ce-dui-btn ce-dui-btn-block ce-dui-btn-outline flex-shrink"), d(a, "class", "ce-dui-btn-group flex"), d(e, "class", "flex flex-col justify-between");
|
631
|
-
},
|
632
|
-
m(p, v) {
|
633
|
-
A(p, e, v), y.m(e, null), c(e, t), c(e, a), c(a, s), c(s, r), c(a, f), c(a, o), c(o, h), P || (T = [
|
634
|
-
de(
|
635
|
-
s,
|
636
|
-
"click",
|
637
|
-
/*click_handler_3*/
|
638
|
-
l[56]
|
639
|
-
),
|
640
|
-
de(
|
641
|
-
o,
|
642
|
-
"click",
|
643
|
-
/*click_handler_4*/
|
644
|
-
l[57]
|
645
|
-
)
|
646
|
-
], P = !0);
|
647
|
-
},
|
648
|
-
p(p, v) {
|
649
|
-
R === (R = g(p)) && y ? y.p(p, v) : (y.d(1), y = R(p), y && (y.c(), y.m(e, t))), v[0] & /*$_*/
|
650
|
-
536870912 && n !== (n = /*$_*/
|
651
|
-
p[29]("faceCollector.finish") + "") && U(r, n), v[0] & /*$_*/
|
652
|
-
536870912 && u !== (u = /*$_*/
|
653
|
-
p[29]("faceCollector.retakePhoto") + "") && U(h, u);
|
654
|
-
},
|
655
|
-
i: ee,
|
656
|
-
o: ee,
|
657
|
-
d(p) {
|
658
|
-
p && L(e), y.d(), P = !1, _t(T);
|
659
|
-
}
|
660
|
-
};
|
661
|
-
}
|
662
|
-
function Ml(l) {
|
663
|
-
let e, t, a = (
|
664
|
-
/*$_*/
|
665
|
-
l[29]("faceCollector.validating") + ""
|
666
|
-
), s, n, r;
|
667
|
-
return {
|
668
|
-
c() {
|
669
|
-
e = b("div"), t = b("h1"), s = S(a), n = N(), r = b("div"), d(t, "class", "inline-block text-3xl font-bold pb-[1em] transition-opacity"), d(r, "class", "ml-6 inline-block dot-typing"), d(e, "class", "min-w-[200px]");
|
670
|
-
},
|
671
|
-
m(f, o) {
|
672
|
-
A(f, e, o), c(e, t), c(t, s), c(e, n), c(e, r);
|
673
|
-
},
|
674
|
-
p(f, o) {
|
675
|
-
o[0] & /*$_*/
|
676
|
-
536870912 && a !== (a = /*$_*/
|
677
|
-
f[29]("faceCollector.validating") + "") && U(s, a);
|
678
|
-
},
|
679
|
-
i: ee,
|
680
|
-
o: ee,
|
681
|
-
d(f) {
|
682
|
-
f && L(e);
|
683
|
-
}
|
684
|
-
};
|
685
|
-
}
|
686
|
-
function Wl(l) {
|
687
|
-
let e;
|
688
|
-
return {
|
689
|
-
c() {
|
690
|
-
e = b("div"), d(e, "class", "");
|
691
|
-
},
|
692
|
-
m(t, a) {
|
693
|
-
A(t, e, a);
|
694
|
-
},
|
695
|
-
p: ee,
|
696
|
-
i: ee,
|
697
|
-
o: ee,
|
698
|
-
d(t) {
|
699
|
-
t && L(e);
|
700
|
-
}
|
701
|
-
};
|
702
|
-
}
|
703
|
-
function si(l) {
|
704
|
-
let e, t, a = (
|
705
|
-
/*$_*/
|
706
|
-
l[29]("faceCollector.justification") + ""
|
707
|
-
), s, n, r, f, o;
|
708
|
-
return {
|
709
|
-
c() {
|
710
|
-
e = b("label"), t = b("span"), s = S(a), n = N(), r = b("textarea"), d(t, "class", "ce-dui-label-text text-base"), d(e, "class", "ce-dui-label"), d(e, "for", "justification"), d(r, "contenteditable", ""), d(r, "id", "justification"), d(r, "class", "ce-dui-textarea ce-dui-textarea-bordered textarea-ghost h-[6em] w-full text-base");
|
711
|
-
},
|
712
|
-
m(u, h) {
|
713
|
-
A(u, e, h), c(e, t), c(t, s), A(u, n, h), A(u, r, h), bt(
|
714
|
-
r,
|
715
|
-
/*$justification*/
|
716
|
-
l[23]
|
717
|
-
), f || (o = de(
|
718
|
-
r,
|
719
|
-
"input",
|
720
|
-
/*textarea_input_handler_1*/
|
721
|
-
l[61]
|
722
|
-
), f = !0);
|
723
|
-
},
|
724
|
-
p(u, h) {
|
725
|
-
h[0] & /*$_*/
|
726
|
-
536870912 && a !== (a = /*$_*/
|
727
|
-
u[29]("faceCollector.justification") + "") && U(s, a), h[0] & /*$justification*/
|
728
|
-
8388608 && bt(
|
729
|
-
r,
|
730
|
-
/*$justification*/
|
731
|
-
u[23]
|
732
|
-
);
|
733
|
-
},
|
734
|
-
d(u) {
|
735
|
-
u && L(e), u && L(n), u && L(r), f = !1, o();
|
736
|
-
}
|
737
|
-
};
|
738
|
-
}
|
739
|
-
function Ul(l) {
|
740
|
-
let e, t;
|
741
|
-
return e = new pl({
|
742
|
-
props: { cssClass: "ce-dui-btn-block flex-shrink" }
|
743
|
-
}), {
|
744
|
-
c() {
|
745
|
-
dt(e.$$.fragment);
|
746
|
-
},
|
747
|
-
m(a, s) {
|
748
|
-
mt(e, a, s), t = !0;
|
749
|
-
},
|
750
|
-
i(a) {
|
751
|
-
t || (Ee(e.$$.fragment, a), t = !0);
|
752
|
-
},
|
753
|
-
o(a) {
|
754
|
-
ke(e.$$.fragment, a), t = !1;
|
755
|
-
},
|
756
|
-
d(a) {
|
757
|
-
ht(e, a);
|
758
|
-
}
|
759
|
-
};
|
760
|
-
}
|
761
|
-
function ni(l) {
|
762
|
-
let e, t = (
|
763
|
-
/*unconformity*/
|
764
|
-
l[106] + ""
|
765
|
-
), a, s;
|
766
|
-
return {
|
767
|
-
c() {
|
768
|
-
e = b("div"), a = S(t), s = N(), d(e, "class", "ce-dui-badge ce-dui-badge-lg h-[2em] ce-dui-badge-error text-xl pb-[.25em] m-[.5em]");
|
769
|
-
},
|
770
|
-
m(n, r) {
|
771
|
-
A(n, e, r), c(e, a), c(e, s);
|
772
|
-
},
|
773
|
-
p(n, r) {
|
774
|
-
r[0] & /*$unconformitiesStore*/
|
775
|
-
1048576 && t !== (t = /*unconformity*/
|
776
|
-
n[106] + "") && U(a, t);
|
777
|
-
},
|
778
|
-
d(n) {
|
779
|
-
n && L(e);
|
780
|
-
}
|
781
|
-
};
|
782
|
-
}
|
783
|
-
function oi(l) {
|
784
|
-
let e, t, a = (
|
785
|
-
/*$_*/
|
786
|
-
l[29]("faceCollector.finish") + ""
|
787
|
-
), s, n, r, f, o = (
|
788
|
-
/*$_*/
|
789
|
-
l[29]("faceCollector.retakePhoto") + ""
|
790
|
-
), u, h, P;
|
791
|
-
return {
|
792
|
-
c() {
|
793
|
-
e = b("div"), t = b("button"), s = S(a), r = N(), f = b("button"), u = S(o), t.disabled = n = /*$justification*/
|
794
|
-
l[23].length === 0, d(t, "class", "ce-dui-btn ce-dui-btn-primary ce-dui-btn-block flex-shrink text-base"), d(f, "id", "bry-cc-retake-button"), d(f, "class", "ce-dui-btn ce-dui-btn-block ce-dui-btn-outline flex-shrink text-base"), d(e, "class", "ce-dui-btn-group flex");
|
795
|
-
},
|
796
|
-
m(T, g) {
|
797
|
-
A(T, e, g), c(e, t), c(t, s), c(e, r), c(e, f), c(f, u), h || (P = [
|
798
|
-
de(
|
799
|
-
t,
|
800
|
-
"click",
|
801
|
-
/*click_handler_5*/
|
802
|
-
l[59]
|
803
|
-
),
|
804
|
-
de(
|
805
|
-
f,
|
806
|
-
"click",
|
807
|
-
/*click_handler_6*/
|
808
|
-
l[60]
|
809
|
-
)
|
810
|
-
], h = !0);
|
811
|
-
},
|
812
|
-
p(T, g) {
|
813
|
-
g[0] & /*$_*/
|
814
|
-
536870912 && a !== (a = /*$_*/
|
815
|
-
T[29]("faceCollector.finish") + "") && U(s, a), g[0] & /*$justification*/
|
816
|
-
8388608 && n !== (n = /*$justification*/
|
817
|
-
T[23].length === 0) && (t.disabled = n), g[0] & /*$_*/
|
818
|
-
536870912 && o !== (o = /*$_*/
|
819
|
-
T[29]("faceCollector.retakePhoto") + "") && U(u, o);
|
820
|
-
},
|
821
|
-
d(T) {
|
822
|
-
T && L(e), h = !1, _t(P);
|
823
|
-
}
|
824
|
-
};
|
825
|
-
}
|
826
|
-
function Vl(l) {
|
827
|
-
let e, t = (
|
828
|
-
/*$_*/
|
829
|
-
l[29]("faceCollector.everythingOk") + ""
|
830
|
-
), a;
|
831
|
-
return {
|
832
|
-
c() {
|
833
|
-
e = b("h1"), a = S(t), d(e, "class", "text-3xl font-bold pb-[1em] transition-opacity");
|
834
|
-
},
|
835
|
-
m(s, n) {
|
836
|
-
A(s, e, n), c(e, a);
|
837
|
-
},
|
838
|
-
p(s, n) {
|
839
|
-
n[0] & /*$_*/
|
840
|
-
536870912 && t !== (t = /*$_*/
|
841
|
-
s[29]("faceCollector.everythingOk") + "") && U(a, t);
|
842
|
-
},
|
843
|
-
d(s) {
|
844
|
-
s && L(e);
|
845
|
-
}
|
846
|
-
};
|
847
|
-
}
|
848
|
-
function Kl(l) {
|
849
|
-
let e, t = (
|
850
|
-
/*$_*/
|
851
|
-
l[29]("faceCollector.unableToCompleteRequest") + ""
|
852
|
-
), a;
|
853
|
-
return {
|
854
|
-
c() {
|
855
|
-
e = b("h1"), a = S(t), d(e, "class", "text-3xl font-bold pb-[1em] transition-opacity text-error");
|
856
|
-
},
|
857
|
-
m(s, n) {
|
858
|
-
A(s, e, n), c(e, a);
|
859
|
-
},
|
860
|
-
p(s, n) {
|
861
|
-
n[0] & /*$_*/
|
862
|
-
536870912 && t !== (t = /*$_*/
|
863
|
-
s[29]("faceCollector.unableToCompleteRequest") + "") && U(a, t);
|
864
|
-
},
|
865
|
-
d(s) {
|
866
|
-
s && L(e);
|
867
|
-
}
|
868
|
-
};
|
869
|
-
}
|
870
|
-
function Bl(l) {
|
871
|
-
let e, t = (
|
872
|
-
/*$_*/
|
873
|
-
l[29]("faceCollector.lowQualityCapture") + ""
|
874
|
-
), a;
|
875
|
-
return {
|
876
|
-
c() {
|
877
|
-
e = b("h1"), a = S(t), d(e, "class", "text-3xl font-bold pb-[1em] transition-opacity text-error");
|
878
|
-
},
|
879
|
-
m(s, n) {
|
880
|
-
A(s, e, n), c(e, a);
|
881
|
-
},
|
882
|
-
p(s, n) {
|
883
|
-
n[0] & /*$_*/
|
884
|
-
536870912 && t !== (t = /*$_*/
|
885
|
-
s[29]("faceCollector.lowQualityCapture") + "") && U(a, t);
|
886
|
-
},
|
887
|
-
d(s) {
|
888
|
-
s && L(e);
|
889
|
-
}
|
890
|
-
};
|
891
|
-
}
|
892
|
-
function Hl(l) {
|
893
|
-
let e, t = (
|
894
|
-
/*$_*/
|
895
|
-
l[29]("liveness.error.error") + ""
|
896
|
-
), a, s, n = (
|
897
|
-
/*$_*/
|
898
|
-
l[29]("faceCollector.unaliveCapture") + ""
|
899
|
-
), r;
|
900
|
-
return {
|
901
|
-
c() {
|
902
|
-
e = b("h1"), a = S(t), s = S(": "), r = S(n), d(e, "class", "text-3xl font-bold pb-[1em] transition-opacity text-error");
|
903
|
-
},
|
904
|
-
m(f, o) {
|
905
|
-
A(f, e, o), c(e, a), c(e, s), c(e, r);
|
906
|
-
},
|
907
|
-
p(f, o) {
|
908
|
-
o[0] & /*$_*/
|
909
|
-
536870912 && t !== (t = /*$_*/
|
910
|
-
f[29]("liveness.error.error") + "") && U(a, t), o[0] & /*$_*/
|
911
|
-
536870912 && n !== (n = /*$_*/
|
912
|
-
f[29]("faceCollector.unaliveCapture") + "") && U(r, n);
|
913
|
-
},
|
914
|
-
d(f) {
|
915
|
-
f && L(e);
|
916
|
-
}
|
917
|
-
};
|
918
|
-
}
|
919
|
-
function jl(l) {
|
920
|
-
let e, t = (
|
921
|
-
/*$_*/
|
922
|
-
l[29]("liveness.error.error") + ""
|
923
|
-
), a, s, n = (
|
924
|
-
/*$_*/
|
925
|
-
l[29](
|
926
|
-
/*livenessError*/
|
927
|
-
l[14]
|
928
|
-
) + ""
|
929
|
-
), r, f;
|
930
|
-
return {
|
931
|
-
c() {
|
932
|
-
e = b("h1"), a = S(t), s = S(": "), r = S(n), f = S("."), d(e, "class", "text-3xl font-bold pb-[1em] transition-opacity text-error");
|
933
|
-
},
|
934
|
-
m(o, u) {
|
935
|
-
A(o, e, u), c(e, a), c(e, s), c(e, r), c(e, f);
|
936
|
-
},
|
937
|
-
p(o, u) {
|
938
|
-
u[0] & /*$_*/
|
939
|
-
536870912 && t !== (t = /*$_*/
|
940
|
-
o[29]("liveness.error.error") + "") && U(a, t), u[0] & /*$_, livenessError*/
|
941
|
-
536887296 && n !== (n = /*$_*/
|
942
|
-
o[29](
|
943
|
-
/*livenessError*/
|
944
|
-
o[14]
|
945
|
-
) + "") && U(r, n);
|
946
|
-
},
|
947
|
-
d(o) {
|
948
|
-
o && L(e);
|
949
|
-
}
|
950
|
-
};
|
951
|
-
}
|
952
|
-
function ql(l) {
|
953
|
-
let e, t, a, s, n = K(), r, f = (
|
954
|
-
/*unique*/
|
955
|
-
l[8]
|
956
|
-
), o, u, h, P, T, g, R, y, p, v, D, B, M, ae, pe, se, ce, he = K() && /*waitingIdrndCaptureEvent*/
|
957
|
-
l[13], Z, H = K() && /*idrndLoading*/
|
958
|
-
l[11] && /*$cameraStatusStore*/
|
959
|
-
l[17] === Y.OK, X, I, x, j, me, Q, te, ue, be = n && Cl(l), C = $t(l);
|
960
|
-
u = new Qi({ props: { className: "bottom-0" } }), P = new vl({ props: { className: "bottom-0" } });
|
961
|
-
let W = (
|
962
|
-
/*isCountingDown*/
|
963
|
-
l[7] && ei(l)
|
964
|
-
), z = !/*$isLoadingAPP*/
|
965
|
-
l[28] && /*$enableFaceApi*/
|
966
|
-
l[26] && !/*isCountingDown*/
|
967
|
-
l[7] && /*faceNotValidated*/
|
968
|
-
l[15] && ti(l), J = he && ii(l), ie = H && li(l);
|
969
|
-
function Ve(_, V) {
|
970
|
-
return (
|
971
|
-
/*$captured*/
|
972
|
-
_[19] ? Pl : Il
|
973
|
-
);
|
974
|
-
}
|
975
|
-
let Re = Ve(l), ne = Re(l);
|
976
|
-
const Se = [Ll, Sl, Al], fe = [];
|
977
|
-
function ve(_, V) {
|
978
|
-
return V[0] & /*$isLoadingAPP*/
|
979
|
-
268435456 && (me = null), (!/*idrndClosed*/
|
980
|
-
_[12] || /*$captured*/
|
981
|
-
_[19]) && /*showUnconformities*/
|
982
|
-
_[2] ? 0 : (
|
983
|
-
/*$cameraStatusStore*/
|
984
|
-
_[17] !== Y.OK ? 1 : (me == null && (me = !!/*$isLoadingAPP*/
|
985
|
-
(_[28] && !K())), me ? 2 : -1)
|
986
|
-
);
|
987
|
-
}
|
988
|
-
return ~(Q = ve(l, [-1, -1, -1, -1])) && (te = fe[Q] = Se[Q](l)), {
|
989
|
-
c() {
|
990
|
-
e = b("div"), t = b("div"), a = b("div"), s = b("div"), be && be.c(), r = N(), C.c(), o = N(), dt(u.$$.fragment), h = N(), dt(P.$$.fragment), T = N(), g = b("canvas"), y = N(), p = b("canvas"), D = N(), B = b("canvas"), ae = N(), W && W.c(), pe = N(), z && z.c(), ce = N(), J && J.c(), Z = N(), ie && ie.c(), X = N(), I = b("div"), ne.c(), j = N(), te && te.c(), this.c = ee, g.hidden = R = /*$isLoadingAPP*/
|
991
|
-
l[28] && !K(), d(g, "id", "bry-ce-displayCanvas"), d(g, "class", "max-w-full -scale-x-100"), d(p, "id", "bry-ce-detectionsCanvas"), p.hidden = v = /*$isLoadingAPP*/
|
992
|
-
l[28] && !K(), d(p, "class", "absolute top-0 left-0 max-w-full -scale-x-100"), d(B, "id", "bry-ce-maskCanvas"), B.hidden = M = /*$isLoadingAPP*/
|
993
|
-
l[28] && !K(), d(B, "class", "absolute top-0 left-0 max-w-full -scale-x-100"), d(s, "class", "relative"), s.hidden = se = /*$isLoadingAPP*/
|
994
|
-
l[28] && /*$cameraStatusStore*/
|
995
|
-
l[17] !== Y.OK || K() && /*idrndLoading*/
|
996
|
-
(l[11] || /*idrndClosed*/
|
997
|
-
l[12] || /*waitingIdrndCaptureEvent*/
|
998
|
-
l[13]), d(I, "class", "px-4 sm:px-0 mt-[1em]"), I.hidden = x = !/*showCaptureButton*/
|
999
|
-
l[1] || K() && /*idrndLoading*/
|
1000
|
-
(l[11] || /*idrndClosed*/
|
1001
|
-
l[12] || /*waitingIdrndCaptureEvent*/
|
1002
|
-
l[13]), d(a, "class", "relative mx-auto"), d(t, "class", "flex flex-col justify-between");
|
1003
|
-
},
|
1004
|
-
m(_, V) {
|
1005
|
-
A(_, e, V), c(e, t), c(t, a), c(a, s), be && be.m(s, null), c(s, r), C.m(s, null), c(s, o), mt(u, s, null), c(s, h), mt(P, s, null), c(s, T), c(s, g), l[49](g), c(s, y), c(s, p), l[50](p), c(s, D), c(s, B), l[51](B), c(s, ae), W && W.m(s, null), c(s, pe), z && z.m(s, null), c(a, ce), J && J.m(a, null), c(a, Z), ie && ie.m(a, null), c(a, X), c(a, I), ne.m(I, null), l[55](t), c(e, j), ~Q && fe[Q].m(e, null), ue = !0;
|
1006
|
-
},
|
1007
|
-
p(_, V) {
|
1008
|
-
n && be.p(_, V), V[0] & /*unique*/
|
1009
|
-
256 && ui(f, f = /*unique*/
|
1010
|
-
_[8]) ? (C.d(1), C = $t(_), C.c(), C.m(s, o)) : C.p(_, V), (!ue || V[0] & /*$isLoadingAPP*/
|
1011
|
-
268435456 && R !== (R = /*$isLoadingAPP*/
|
1012
|
-
_[28] && !K())) && (g.hidden = R), (!ue || V[0] & /*$isLoadingAPP*/
|
1013
|
-
268435456 && v !== (v = /*$isLoadingAPP*/
|
1014
|
-
_[28] && !K())) && (p.hidden = v), (!ue || V[0] & /*$isLoadingAPP*/
|
1015
|
-
268435456 && M !== (M = /*$isLoadingAPP*/
|
1016
|
-
_[28] && !K())) && (B.hidden = M), /*isCountingDown*/
|
1017
|
-
_[7] ? W ? W.p(_, V) : (W = ei(_), W.c(), W.m(s, pe)) : W && (W.d(1), W = null), !/*$isLoadingAPP*/
|
1018
|
-
_[28] && /*$enableFaceApi*/
|
1019
|
-
_[26] && !/*isCountingDown*/
|
1020
|
-
_[7] && /*faceNotValidated*/
|
1021
|
-
_[15] ? z ? z.p(_, V) : (z = ti(_), z.c(), z.m(s, null)) : z && (z.d(1), z = null), (!ue || V[0] & /*$isLoadingAPP, $cameraStatusStore, idrndLoading, idrndClosed, waitingIdrndCaptureEvent*/
|
1022
|
-
268580864 && se !== (se = /*$isLoadingAPP*/
|
1023
|
-
_[28] && /*$cameraStatusStore*/
|
1024
|
-
_[17] !== Y.OK || K() && /*idrndLoading*/
|
1025
|
-
(_[11] || /*idrndClosed*/
|
1026
|
-
_[12] || /*waitingIdrndCaptureEvent*/
|
1027
|
-
_[13]))) && (s.hidden = se), V[0] & /*waitingIdrndCaptureEvent*/
|
1028
|
-
8192 && (he = K() && /*waitingIdrndCaptureEvent*/
|
1029
|
-
_[13]), he ? J ? J.p(_, V) : (J = ii(_), J.c(), J.m(a, Z)) : J && (J.d(1), J = null), V[0] & /*idrndLoading, $cameraStatusStore*/
|
1030
|
-
133120 && (H = K() && /*idrndLoading*/
|
1031
|
-
_[11] && /*$cameraStatusStore*/
|
1032
|
-
_[17] === Y.OK), H ? ie ? ie.p(_, V) : (ie = li(_), ie.c(), ie.m(a, X)) : ie && (ie.d(1), ie = null), Re === (Re = Ve(_)) && ne ? ne.p(_, V) : (ne.d(1), ne = Re(_), ne && (ne.c(), ne.m(I, null))), (!ue || V[0] & /*showCaptureButton, idrndLoading, idrndClosed, waitingIdrndCaptureEvent*/
|
1033
|
-
14338 && x !== (x = !/*showCaptureButton*/
|
1034
|
-
_[1] || K() && /*idrndLoading*/
|
1035
|
-
(_[11] || /*idrndClosed*/
|
1036
|
-
_[12] || /*waitingIdrndCaptureEvent*/
|
1037
|
-
_[13]))) && (I.hidden = x);
|
1038
|
-
let we = Q;
|
1039
|
-
Q = ve(_, V), Q === we ? ~Q && fe[Q].p(_, V) : (te && (fi(), ke(fe[we], 1, 1, () => {
|
1040
|
-
fe[we] = null;
|
1041
|
-
}), di()), ~Q ? (te = fe[Q], te ? te.p(_, V) : (te = fe[Q] = Se[Q](_), te.c()), Ee(te, 1), te.m(e, null)) : te = null);
|
1042
|
-
},
|
1043
|
-
i(_) {
|
1044
|
-
ue || (Ee(u.$$.fragment, _), Ee(P.$$.fragment, _), Ee(te), ue = !0);
|
1045
|
-
},
|
1046
|
-
o(_) {
|
1047
|
-
ke(u.$$.fragment, _), ke(P.$$.fragment, _), ke(te), ue = !1;
|
1048
|
-
},
|
1049
|
-
d(_) {
|
1050
|
-
_ && L(e), be && be.d(), C.d(_), ht(u), ht(P), l[49](null), l[50](null), l[51](null), W && W.d(), z && z.d(), J && J.d(), ie && ie.d(), ne.d(), l[55](null), ~Q && fe[Q].d();
|
1051
|
-
}
|
1052
|
-
};
|
1053
|
-
}
|
1054
|
-
let zl = 5, ri = 3e3;
|
1055
|
-
function ci(l, e, t) {
|
1056
|
-
const a = e.videoHeight >= e.videoWidth && t.height >= t.width || e.videoHeight < e.videoWidth && t.height < t.width;
|
1057
|
-
l.drawImage(
|
1058
|
-
e,
|
1059
|
-
a ? 0 : e.videoWidth / 2 - t.width,
|
1060
|
-
0,
|
1061
|
-
a ? e.videoWidth : e.videoHeight * (t.width / t.height),
|
1062
|
-
e.videoHeight,
|
1063
|
-
0,
|
1064
|
-
0,
|
1065
|
-
t.width,
|
1066
|
-
t.height
|
1067
|
-
);
|
1068
|
-
}
|
1069
|
-
function Xl(l, e, t) {
|
1070
|
-
let a, s, n, r, f, o, u, h, P, T, g, R, y, p, v, D, B, M, ae, pe, se, ce, he, Z, H, X, I, x, j, me, Q, te, ue, be;
|
1071
|
-
O(l, Pt, (i) => t(72, a = i)), O(l, re, (i) => t(17, n = i)), O(l, ze, (i) => t(74, r = i)), O(l, et, (i) => t(75, f = i)), O(l, Ae, (i) => t(18, o = i)), O(l, Ji, (i) => t(76, u = i)), O(l, De, (i) => t(19, h = i)), O(l, It, (i) => t(77, P = i)), O(l, Ht, (i) => t(78, T = i)), O(l, Gi, (i) => t(79, g = i)), O(l, Yi, (i) => t(80, R = i)), O(l, Me, (i) => t(20, y = i)), O(l, Xe, (i) => t(81, p = i)), O(l, ge, (i) => t(21, v = i)), O(l, Tt, (i) => t(22, D = i)), O(l, Ot, (i) => t(23, B = i)), O(l, Ie, (i) => t(24, M = i)), O(l, Zi, (i) => t(82, pe = i)), O(l, xi, (i) => t(26, se = i)), O(l, tt, (i) => t(27, ce = i)), O(l, At, (i) => t(83, he = i)), O(l, it, (i) => t(28, Z = i)), O(l, $i, (i) => t(29, H = i)), O(l, el, (i) => t(84, X = i)), O(l, lt, (i) => t(85, I = i)), O(l, jt, (i) => t(86, x = i)), O(l, qt, (i) => t(87, j = i)), O(l, zt, (i) => t(88, me = i)), O(l, Xt, (i) => t(30, Q = i)), O(l, tl, (i) => t(31, te = i)), O(l, il, (i) => t(32, ue = i)), O(l, ll, (i) => t(33, be = i));
|
1072
|
-
let C, W, z, J = !1, ie = {}, Ve = !1, { enableMinutiae: Re } = e, { videoDimensions: ne } = e, { noTabs: Se } = e, { weightsPath: fe } = e, { evaluatePhoto: ve } = e, { showCaptureButton: _ } = e, { showUnconformities: V } = e, { videoFilter: we } = e;
|
1073
|
-
const Je = Yt(!1);
|
1074
|
-
O(l, Je, (i) => t(73, s = i));
|
1075
|
-
const Ke = Yt("data:image/png;base64");
|
1076
|
-
O(l, Ke, (i) => t(25, ae = i));
|
1077
|
-
let { widgetInstance: oe } = e, Te, q, Be = !1, gt = !1, Ge = !0, ye = !0, Ye = !1, Mt = 0, Ce = "", pt = 0, vt = !0, wt = 0, Ct = !1, He = !1, Ze = "";
|
1078
|
-
const kt = al.mixin({
|
1079
|
-
toast: !0,
|
1080
|
-
position: "bottom-left",
|
1081
|
-
timer: 13e3,
|
1082
|
-
timerProgressBar: !0
|
1083
|
-
});
|
1084
|
-
sl(async () => {
|
1085
|
-
m(it, Z = !0, Z), m(tt, ce = !1, ce), m(Xt, Q = !1, Q), m(De, h = !1, h), m(ze, r = at.FRONT_CAMERA, r), K() && (import("./index-no-detector_acb82d83_2.2.3.js"), mi()), se && (await nl(fe), Ve = !0), await Pe();
|
1086
|
-
});
|
1087
|
-
function Et(i, w) {
|
1088
|
-
i.clearRect(0, 0, q.width, q.height), i.save(), we == "blur" ? (i.filter = `blur(${w.width / 60}px)`, i.rect(0, 0, q.width, q.height)) : we != "none" ? (i.fillStyle = we, i.fillRect(0, 0, q.width, q.height)) : (i.beginPath(), i.rect(0, 0, q.width, q.height));
|
1089
|
-
const E = q.height * 0.65, k = E / 1.45, F = o.videoWidth / 2, G = o.videoHeight * 0.51;
|
1090
|
-
m(zt, me.width = k, me), i.ellipse(F, G, k / 2, E / 2, 0, 0, 2 * Math.PI, !0), i.clip(), ci(i, w, q), i.restore(), i.save(), i.beginPath();
|
1091
|
-
const Fe = window.getComputedStyle(q).getPropertyValue("--p"), Ne = window.getComputedStyle(q).getPropertyValue("--su");
|
1092
|
-
if (i.strokeStyle = `hsl(${Fe})`, i.lineWidth = 16, i.ellipse(F, G, k / 2, E / 2, 0, 0, 2 * Math.PI), i.stroke(), J && !Ct) {
|
1093
|
-
const qe = 1 - (wt - (/* @__PURE__ */ new Date()).getTime()) / ri;
|
1094
|
-
i.save(), i.beginPath(), i.lineWidth = 16, i.strokeStyle = `hsl(${Ne})`, i.ellipse(F, G, k / 2, E / 2, 0, 0 - Math.PI / 2, 1.5 * (Math.PI * 2 * qe) - Math.PI / 2), i.stroke();
|
1095
|
-
}
|
1096
|
-
i.beginPath();
|
1097
|
-
const le = new Path2D();
|
1098
|
-
le.ellipse(F, G, k / 2, E / 2, 0, 0, 2 * Math.PI), i.clip(le), ci(i, w, q), i.restore();
|
1099
|
-
}
|
1100
|
-
function mi() {
|
1101
|
-
oe.addEventListener("open", (i) => {
|
1102
|
-
const w = i.detail[0].video;
|
1103
|
-
m(
|
1104
|
-
qt,
|
1105
|
-
j = {
|
1106
|
-
width: w.videoWidth,
|
1107
|
-
height: w.videoHeight
|
1108
|
-
},
|
1109
|
-
j
|
1110
|
-
), t(4, C.srcObject = w.srcObject, C), t(11, Ge = !1);
|
1111
|
-
function E() {
|
1112
|
-
ye || (Et(q.getContext("2d"), w), We(C, E, !0));
|
1113
|
-
}
|
1114
|
-
E();
|
1115
|
-
}), oe.addEventListener("error", (i) => {
|
1116
|
-
console.error(i), i.detail[0].message === "Device in use" ? m(re, n = Y.CAMERA_IN_USE_ERROR, n) : i.detail[0].message === "Permission denied" || i.detail[0].message === "Permission dismissed" ? m(re, n = Y.CAMERA_DENIED_ERROR, n) : i.detail[0].message === "Requested device not found" && m(re, n = Y.DEVICE_NOT_FOUND_ERROR, n), t(11, Ge = !1);
|
1117
|
-
}), oe.addEventListener("faceDetection", (i) => {
|
1118
|
-
}), oe.addEventListener("close", async (i) => {
|
1119
|
-
h || (Be = !1), t(12, ye = !0), t(13, Ye = !1), n === Y.OK && m(re, n = Y.CAMERA_CLOSED_ERROR, n);
|
1120
|
-
}), oe.addEventListener("initialize", async (i) => {
|
1121
|
-
gt = !0, m(jt, x = !0, x), he === st.Face && !Be && !h && gt && await Rt();
|
1122
|
-
}), oe.addEventListener("capture", async (i) => {
|
1123
|
-
t(14, Ce = "");
|
1124
|
-
const { encryptedFile: w, photo: E } = i.detail[0];
|
1125
|
-
m(lt, I = w, I), t(13, Ye = !1), m(ge, v = $.OK, v), m(Me, y.isLoading = !0, y), m(De, h = !0, h), Be = !1;
|
1126
|
-
const k = (await nt(E)).split(",");
|
1127
|
-
if (m(Ke, ae = k[0], ae), m(Ie, M = k[1], M), m(Xe, p = k[1], p), !X) {
|
1128
|
-
let le, qe;
|
1129
|
-
try {
|
1130
|
-
({ bodyParts: le, icaoWarnings: qe } = await ot(p, ve, (await nt(w)).split(",")[1])), window.dispatchEvent(new CustomEvent(
|
1131
|
-
"face-unconformities-validated",
|
1132
|
-
{
|
1133
|
-
detail: {
|
1134
|
-
bodyParts: le,
|
1135
|
-
icaoWarnings: qe,
|
1136
|
-
status: v
|
1137
|
-
}
|
1138
|
-
}
|
1139
|
-
));
|
1140
|
-
} catch (Oe) {
|
1141
|
-
console.error(Oe);
|
1142
|
-
let $e = St.UNKNOWN, yt = [], Kt = [];
|
1143
|
-
if (Oe instanceof Qt && Oe.response?.status === 400)
|
1144
|
-
if (Oe.response.data && Array.isArray(Oe.response.data.bodyParts)) {
|
1145
|
-
yt = Oe.response.data.bodyParts, Kt = Oe.response.data.icaoWarnings;
|
1146
|
-
const Bt = yt.find((ji) => ji.livenessResult.error);
|
1147
|
-
$e = Bt?.livenessResult.error_code, m(ge, v = $.LIVENESS_DETECTION_FAILURE, v), Bt?.livenessResult.error_code || m(ge, v = $.UNKNOWN_LIVENESS_ERROR, v), t(14, Ce = St[$e]), console.error("Liveness error:", $e);
|
1148
|
-
} else
|
1149
|
-
m(ge, v = $.TEMPLATE_EXTRACTION_ERROR, v);
|
1150
|
-
else
|
1151
|
-
m(ge, v = $.UNKNOWN_LIVENESS_ERROR, v), kt.fire({
|
1152
|
-
icon: "error",
|
1153
|
-
title: "Falha ao comunicar com serviço de Liveness"
|
1154
|
-
});
|
1155
|
-
m(Me, y.isLoading = !1, y), window.dispatchEvent(new CustomEvent(
|
1156
|
-
"face-unconformities-validated",
|
1157
|
-
{
|
1158
|
-
detail: {
|
1159
|
-
bodyParts: yt,
|
1160
|
-
errorCode: $e,
|
1161
|
-
translatedError: H(Ce),
|
1162
|
-
status: v,
|
1163
|
-
icaoWarnings: Kt
|
1164
|
-
}
|
1165
|
-
}
|
1166
|
-
));
|
1167
|
-
return;
|
1168
|
-
}
|
1169
|
-
if (v !== $.OK) {
|
1170
|
-
m(Me, y.isLoading = !1, y);
|
1171
|
-
return;
|
1172
|
-
}
|
1173
|
-
le[0].livenessResult && Ut(le[0].livenessResult), le.length !== 0 && le[0].data && m(Ie, M = le[0].data, M), rt(qe);
|
1174
|
-
return;
|
1175
|
-
}
|
1176
|
-
let F, G;
|
1177
|
-
try {
|
1178
|
-
G = await ol(w), Ut(G.data);
|
1179
|
-
} catch (le) {
|
1180
|
-
m(ge, v = $.UNKNOWN_LIVENESS_ERROR, v), console.error(le), le instanceof Qt && le.response?.status === 400 ? (F = le.response.data.error_code, t(14, Ce = St[F]), console.error("Liveness error:", F), m(ge, v = $.LIVENESS_DETECTION_FAILURE, v)) : kt.fire({
|
1181
|
-
icon: "error",
|
1182
|
-
title: "Falha ao comunicar com serviço de Liveness"
|
1183
|
-
});
|
1184
|
-
}
|
1185
|
-
if (v !== $.OK) {
|
1186
|
-
m(Me, y.isLoading = !1, y), window.dispatchEvent(new CustomEvent(
|
1187
|
-
"face-unconformities-validated",
|
1188
|
-
{
|
1189
|
-
detail: {
|
1190
|
-
bodyParts: [
|
1191
|
-
{
|
1192
|
-
bodyPart: "FACE",
|
1193
|
-
data: p,
|
1194
|
-
livenessBlob: (await nt(w)).split(",")[1],
|
1195
|
-
...G && { livenessResult: G }
|
1196
|
-
}
|
1197
|
-
],
|
1198
|
-
...F && { errorCode: F },
|
1199
|
-
...Ce && { translatedError: H(Ce) },
|
1200
|
-
status: v
|
1201
|
-
}
|
1202
|
-
}
|
1203
|
-
));
|
1204
|
-
return;
|
1205
|
-
}
|
1206
|
-
let { bodyParts: Fe, icaoWarnings: Ne } = await ot(p, ve);
|
1207
|
-
window.dispatchEvent(new CustomEvent(
|
1208
|
-
"face-unconformities-validated",
|
1209
|
-
{
|
1210
|
-
detail: {
|
1211
|
-
bodyParts: Fe,
|
1212
|
-
icaoWarnings: Ne,
|
1213
|
-
status: v,
|
1214
|
-
errorCode: F,
|
1215
|
-
...Ce && { translatedError: H(Ce) }
|
1216
|
-
}
|
1217
|
-
}
|
1218
|
-
)), Fe[0].data && m(Ie, M = Fe[0].data, M), rt(Ne);
|
1219
|
-
});
|
1220
|
-
}
|
1221
|
-
async function Pe(i) {
|
1222
|
-
m(it, Z = !0, Z);
|
1223
|
-
const [w, E] = (ne ?? "")?.replaceAll(" ", "")?.split("x")?.map((k) => k ? parseInt(k) : void 0);
|
1224
|
-
if (!(!w || !E)) {
|
1225
|
-
if (m(Ae, o = { videoWidth: w, videoHeight: E }, o), K() && E < w && ct() && m(Ae, o = { videoWidth: E, videoHeight: w }, o), K()) {
|
1226
|
-
Rt();
|
1227
|
-
return;
|
1228
|
-
}
|
1229
|
-
await hi(w, E, i), m(it, Z = !1, Z);
|
1230
|
-
}
|
1231
|
-
}
|
1232
|
-
function Rt() {
|
1233
|
-
K() && (m(re, n = Y.OK, n), oe && "openCamera" in oe && oe.openCamera(), Be = !0, t(12, ye = !1), t(11, Ge = !0));
|
1234
|
-
}
|
1235
|
-
async function je() {
|
1236
|
-
if (se && !Ve)
|
1237
|
-
return We(C, je);
|
1238
|
-
if (C) {
|
1239
|
-
if (he !== st.Face && !Se)
|
1240
|
-
return We(C, je);
|
1241
|
-
m(tt, ce = !0, ce), se ? (s || m(Je, s = !0, s), K() || Et(q.getContext("2d"), C), We(C, je)) : (Et(q.getContext("2d"), C), We(C, je));
|
1242
|
-
}
|
1243
|
-
}
|
1244
|
-
async function Wt() {
|
1245
|
-
if (Gt(), m(ge, v = $.OK, v), K()) {
|
1246
|
-
t(13, Ye = !0), oe.takePhoto();
|
1247
|
-
return;
|
1248
|
-
}
|
1249
|
-
if (m(De, h = !0, h), se) {
|
1250
|
-
const [i] = await (await import("./face_api_0e3ce8c8_2.2.3.js")).extractFaces(C, [pe]), w = i.toDataURL("image/jpeg").split(",");
|
1251
|
-
m(Ke, ae = w[0], ae), m(Ie, M = w[1], M), m(Xe, p = w[1], p);
|
1252
|
-
let { bodyParts: E, icaoWarnings: k } = await ot(M, ve);
|
1253
|
-
window.dispatchEvent(new CustomEvent(
|
1254
|
-
"face-unconformities-validated",
|
1255
|
-
{
|
1256
|
-
detail: {
|
1257
|
-
bodyParts: E,
|
1258
|
-
icaoWarnings: k,
|
1259
|
-
status: v
|
1260
|
-
}
|
1261
|
-
}
|
1262
|
-
)), E.length !== 0 && E[0].data && m(Ie, M = E[0].data, M), rt(k);
|
1263
|
-
} else {
|
1264
|
-
const i = document.createElement("canvas"), w = i.getContext("2d");
|
1265
|
-
i.width = C.width, i.height = C.height, w?.drawImage(C, 0, 0, i.width, i.height);
|
1266
|
-
const E = i.toDataURL("image/jpeg").split(",");
|
1267
|
-
m(Ke, ae = E[0], ae), m(Ie, M = E[1], M), m(Xe, p = E[1], p);
|
1268
|
-
let { bodyParts: k, icaoWarnings: F } = await ot(M, ve);
|
1269
|
-
window.dispatchEvent(new CustomEvent(
|
1270
|
-
"face-unconformities-validated",
|
1271
|
-
{
|
1272
|
-
detail: {
|
1273
|
-
bodyParts: k,
|
1274
|
-
icaoWarnings: F,
|
1275
|
-
status: v
|
1276
|
-
}
|
1277
|
-
}
|
1278
|
-
)), k.length !== 0 && k[0].data && m(Ie, M = k[0].data, M), rt(F);
|
1279
|
-
}
|
1280
|
-
}
|
1281
|
-
function xe() {
|
1282
|
-
const i = {
|
1283
|
-
bodyPart: "FACE",
|
1284
|
-
data: M,
|
1285
|
-
justification: B
|
1286
|
-
};
|
1287
|
-
m(Tt, D = !0, D), ft(lt) && nt(ft(lt)).then((w) => {
|
1288
|
-
i.livenessBlob = w.split(",")[1];
|
1289
|
-
}), window.dispatchEvent(new CustomEvent("export-face", { detail: i }));
|
1290
|
-
}
|
1291
|
-
function Le() {
|
1292
|
-
window.dispatchEvent(new CustomEvent("face-scrapped")), m(Tt, D = !1, D), m(ge, v = $.OK, v), m(De, h = !1, h), m(Xe, p = "", p), m(Me, y.unconformities = [], y);
|
1293
|
-
const i = ft(Lt);
|
1294
|
-
i.closedMouth = !1, i.isPersonCloseEnough = !1, i.isPersonTooclose = !0, i.isPersonInFrame = !1, t(16, Ze = ""), t(15, He = !1), Lt.set(i), ye && Rt();
|
1295
|
-
}
|
1296
|
-
function Ut(i) {
|
1297
|
-
let w = "", E = "success";
|
1298
|
-
i.isAlive ? w = `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 && (E = "error", w = `Vivacidade de face (${i.face_liveness.probability.toFixed(2)}) e de captura (${i.capture_liveness.probability}, ${i.capture_liveness.score.toFixed(2)}) insuficientes!`), R && kt.fire({ icon: E, title: w });
|
1299
|
-
}
|
1300
|
-
async function hi(i, w, E) {
|
1301
|
-
try {
|
1302
|
-
if (n == Y.CAMERA_ORIENTATION_PORTRAIT)
|
1303
|
-
return;
|
1304
|
-
await Jt();
|
1305
|
-
const { deviceId: k, width: F, height: G, aspectRatio: Fe, facingMode: Ne, touchPoints: le } = await rl(i, w, r, E);
|
1306
|
-
F < i && G < w && m(
|
1307
|
-
Ae,
|
1308
|
-
o = {
|
1309
|
-
videoWidth: F,
|
1310
|
-
videoHeight: G
|
1311
|
-
},
|
1312
|
-
o
|
1313
|
-
), ct() && (!Ne || le <= 1) && F > G && m(
|
1314
|
-
Ae,
|
1315
|
-
o = {
|
1316
|
-
videoWidth: G,
|
1317
|
-
videoHeight: F
|
1318
|
-
},
|
1319
|
-
o
|
1320
|
-
), m(et, f = k || u[0].deviceId, f), m(re, n = Y.OK, n);
|
1321
|
-
} catch (k) {
|
1322
|
-
const F = k;
|
1323
|
-
t(12, ye = !0);
|
1324
|
-
const G = ut(k) && k.constraint ? k.constraint : "";
|
1325
|
-
console.error(F, G), ut(F) && "message" in F && F.message.includes("Permission denied") && (console.error("User didn't give permission to use camera!"), m(re, n = Y.CAMERA_DENIED_ERROR, n)), ut(F) && "message" in F && F.message.includes("Requested device not found") && m(re, n = Y.DEVICE_NOT_FOUND_ERROR, n), (G.includes("width") || G.includes("height")) && (console.error(`Camera does not meet the minimum supported requirements! (${G})`), m(re, n = Y.CAMERA_UNSUPPORTED, n));
|
1326
|
-
}
|
1327
|
-
}
|
1328
|
-
const bi = Ae.subscribe((i) => {
|
1329
|
-
C && W && (t(4, C.width = i.videoWidth, C), t(4, C.height = i.videoHeight, C), t(5, W.width = i.videoWidth, W), t(5, W.height = i.videoHeight, W), t(9, Te.width = i.videoWidth, Te), t(9, Te.height = i.videoHeight, Te), t(10, q.width = i.videoWidth, q), t(10, q.height = i.videoHeight, q));
|
1330
|
-
}), _i = Lt.subscribe((i) => {
|
1331
|
-
let w = "";
|
1332
|
-
if (i.isPersonCloseEnough ? i.isPersonTooclose ? w = "faceCollector.moveAwayCamera" : i.isPersonInFrame ? i.closedMouth || (w = "faceCollector.dontOpenMouth") : w = "faceCollector.stayInFrame" : w = "faceCollector.comeCloserCamera", w != "" && w != Ze && (t(15, He = !1), setTimeout(
|
1333
|
-
() => {
|
1334
|
-
t(16, Ze = w), t(15, He = !0);
|
1335
|
-
},
|
1336
|
-
1e3
|
1337
|
-
)), !h && g && !J && i.isPersonInFrame && i.closedMouth && !(!i.isPersonCloseEnough || i.isPersonTooclose)) {
|
1338
|
-
t(7, J = !0), t(15, He = !1), wt = (/* @__PURE__ */ new Date()).getTime() + ri;
|
1339
|
-
const E = setInterval(
|
1340
|
-
() => {
|
1341
|
-
if (!g || h || K() && ye || !i.isPersonCloseEnough || i.isPersonTooclose || !i.closedMouth || !i.isPersonInFrame) {
|
1342
|
-
t(7, J = !1), Ct = !0, setTimeout(
|
1343
|
-
() => {
|
1344
|
-
Ct = !1;
|
1345
|
-
},
|
1346
|
-
1500
|
1347
|
-
), clearInterval(E);
|
1348
|
-
return;
|
1349
|
-
}
|
1350
|
-
const k = (/* @__PURE__ */ new Date()).getTime();
|
1351
|
-
Math.floor((wt - k) % (1e3 * 60) / 1e3) <= 0 && (clearInterval(E), t(7, J = !1), document.getElementsByTagName("biometric-collector")?.[0]?.shadowRoot?.getElementById("bry-cc-capture-btn")?.click());
|
1352
|
-
},
|
1353
|
-
100
|
1354
|
-
);
|
1355
|
-
}
|
1356
|
-
}), gi = De.subscribe((i) => {
|
1357
|
-
z && (i ? (z.classList.remove("flex"), z.classList.add("hidden")) : (z.classList.add("flex"), z.classList.remove("hidden")));
|
1358
|
-
}), pi = It.subscribe((i) => {
|
1359
|
-
C && i && (console.log("setting null in video srcObject"), t(4, C.srcObject = null, C), t(4, C.src = "", C));
|
1360
|
-
});
|
1361
|
-
At.subscribe(async (i) => {
|
1362
|
-
i === st.Face && await Jt();
|
1363
|
-
});
|
1364
|
-
const vi = et.subscribe(async (i) => {
|
1365
|
-
if (K() || !i)
|
1366
|
-
return;
|
1367
|
-
C || t(8, ie = {});
|
1368
|
-
const { videoHeight: w, videoWidth: E } = o;
|
1369
|
-
try {
|
1370
|
-
const k = await cl(E, w, i);
|
1371
|
-
t(4, C.srcObject = k, C), m(Ht, T = k, T), m(It, P = !1, P), vt || (m(re, n = Y.CAMERA_ORIENTATION_PORTRAIT, n), Ft());
|
1372
|
-
} catch (k) {
|
1373
|
-
const F = k;
|
1374
|
-
t(12, ye = !0), ut(F) && "message" in F && F.message.includes("Requested device not found") && m(re, n = Y.DEVICE_NOT_FOUND_ERROR, n);
|
1375
|
-
}
|
1376
|
-
}), wi = At.subscribe(async (i) => {
|
1377
|
-
i === st.Face && K() && !Be && !h && gt && await Pe();
|
1378
|
-
}), Ci = Je.subscribe(async (i) => {
|
1379
|
-
i && Vt();
|
1380
|
-
}), ki = ul.subscribe(async (i) => {
|
1381
|
-
if (o) {
|
1382
|
-
if (!ct()) {
|
1383
|
-
const w = u.find((k) => k.deviceId !== f), E = w ? w.deviceId : u[0].deviceId;
|
1384
|
-
Pe(E);
|
1385
|
-
return;
|
1386
|
-
}
|
1387
|
-
i ? (m(ze, r = at.REAR_CAMERA, r), await Pe()) : (m(ze, r = at.FRONT_CAMERA, r), await Pe());
|
1388
|
-
}
|
1389
|
-
}), Ei = fl.subscribe(async (i) => {
|
1390
|
-
!i.isSupported || !ct() || (vt = i.orientation.includes("portrait"), vt ? (m(re, n = Y.OK, n), o && (m(et, f = "", f), m(ze, r = at.FRONT_CAMERA, r), await Pe())) : (m(re, n = Y.CAMERA_ORIENTATION_PORTRAIT, n), Ft()));
|
1391
|
-
});
|
1392
|
-
async function Vt() {
|
1393
|
-
let i;
|
1394
|
-
if (pt >= zl) {
|
1395
|
-
pt = 0;
|
1396
|
-
const w = await ml(), E = await import("./face_api_0e3ce8c8_2.2.3.js");
|
1397
|
-
let k;
|
1398
|
-
k = E.detectSingleFace(q, w), i = await k.withFaceLandmarks(), W.getContext("2d")?.clearRect(0, 0, W.width, W.height);
|
1399
|
-
} else
|
1400
|
-
pt++;
|
1401
|
-
i && hl(i, W, Re), s && We(C, Vt);
|
1402
|
-
}
|
1403
|
-
Pt.subscribe(async (i) => {
|
1404
|
-
i && (Le(), m(Pt, a = !1, a));
|
1405
|
-
});
|
1406
|
-
const Ri = tt.subscribe((i) => {
|
1407
|
-
i && window.dispatchEvent(new CustomEvent("brycc-camera-ready"));
|
1408
|
-
});
|
1409
|
-
dl(() => {
|
1410
|
-
Ft(), gi(), _i(), bi(), pi(), vi(), wi(), clearInterval(Mt), Ci(), ki(), Ei(), Ri(), Gt(), Mt = 0;
|
1411
|
-
});
|
1412
|
-
function yi(i) {
|
1413
|
-
Ue[i ? "unshift" : "push"](() => {
|
1414
|
-
oe = i, t(0, oe);
|
1415
|
-
});
|
1416
|
-
}
|
1417
|
-
function Pi(i) {
|
1418
|
-
Ue[i ? "unshift" : "push"](() => {
|
1419
|
-
C = i, t(4, C);
|
1420
|
-
});
|
1421
|
-
}
|
1422
|
-
const Ii = () => {
|
1423
|
-
K() || m(
|
1424
|
-
Ae,
|
1425
|
-
o = {
|
1426
|
-
videoHeight: C.videoHeight,
|
1427
|
-
videoWidth: C.videoWidth
|
1428
|
-
},
|
1429
|
-
o
|
1430
|
-
);
|
1431
|
-
};
|
1432
|
-
function Ti(i) {
|
1433
|
-
Ue[i ? "unshift" : "push"](() => {
|
1434
|
-
q = i, t(10, q);
|
1435
|
-
});
|
1436
|
-
}
|
1437
|
-
function Oi(i) {
|
1438
|
-
Ue[i ? "unshift" : "push"](() => {
|
1439
|
-
W = i, t(5, W);
|
1440
|
-
});
|
1441
|
-
}
|
1442
|
-
function Ai(i) {
|
1443
|
-
Ue[i ? "unshift" : "push"](() => {
|
1444
|
-
Te = i, t(9, Te);
|
1445
|
-
});
|
1446
|
-
}
|
1447
|
-
const Si = () => Wt(), Li = () => xe(), Fi = () => Le();
|
1448
|
-
function Ni(i) {
|
1449
|
-
Ue[i ? "unshift" : "push"](() => {
|
1450
|
-
z = i, t(6, z);
|
1451
|
-
});
|
1452
|
-
}
|
1453
|
-
const Di = () => xe(), Mi = () => Le();
|
1454
|
-
function Wi() {
|
1455
|
-
B = this.value, Ot.set(B);
|
1456
|
-
}
|
1457
|
-
const Ui = () => xe(), Vi = () => Le();
|
1458
|
-
function Ki() {
|
1459
|
-
B = this.value, Ot.set(B);
|
1460
|
-
}
|
1461
|
-
const Bi = () => Le(), Hi = async () => {
|
1462
|
-
await Pe();
|
1463
|
-
};
|
1464
|
-
return l.$$set = (i) => {
|
1465
|
-
"enableMinutiae" in i && t(40, Re = i.enableMinutiae), "videoDimensions" in i && t(41, ne = i.videoDimensions), "noTabs" in i && t(42, Se = i.noTabs), "weightsPath" in i && t(43, fe = i.weightsPath), "evaluatePhoto" in i && t(44, ve = i.evaluatePhoto), "showCaptureButton" in i && t(1, _ = i.showCaptureButton), "showUnconformities" in i && t(2, V = i.showUnconformities), "videoFilter" in i && t(45, we = i.videoFilter), "widgetInstance" in i && t(0, oe = i.widgetInstance);
|
1466
|
-
}, [
|
1467
|
-
oe,
|
1468
|
-
_,
|
1469
|
-
V,
|
1470
|
-
je,
|
1471
|
-
C,
|
1472
|
-
W,
|
1473
|
-
z,
|
1474
|
-
J,
|
1475
|
-
ie,
|
1476
|
-
Te,
|
1477
|
-
q,
|
1478
|
-
Ge,
|
1479
|
-
ye,
|
1480
|
-
Ye,
|
1481
|
-
Ce,
|
1482
|
-
He,
|
1483
|
-
Ze,
|
1484
|
-
n,
|
1485
|
-
o,
|
1486
|
-
h,
|
1487
|
-
y,
|
1488
|
-
v,
|
1489
|
-
D,
|
1490
|
-
B,
|
1491
|
-
M,
|
1492
|
-
ae,
|
1493
|
-
se,
|
1494
|
-
ce,
|
1495
|
-
Z,
|
1496
|
-
H,
|
1497
|
-
Q,
|
1498
|
-
te,
|
1499
|
-
ue,
|
1500
|
-
be,
|
1501
|
-
Je,
|
1502
|
-
Ke,
|
1503
|
-
Pe,
|
1504
|
-
Wt,
|
1505
|
-
xe,
|
1506
|
-
Le,
|
1507
|
-
Re,
|
1508
|
-
ne,
|
1509
|
-
Se,
|
1510
|
-
fe,
|
1511
|
-
ve,
|
1512
|
-
we,
|
1513
|
-
yi,
|
1514
|
-
Pi,
|
1515
|
-
Ii,
|
1516
|
-
Ti,
|
1517
|
-
Oi,
|
1518
|
-
Ai,
|
1519
|
-
Si,
|
1520
|
-
Li,
|
1521
|
-
Fi,
|
1522
|
-
Ni,
|
1523
|
-
Di,
|
1524
|
-
Mi,
|
1525
|
-
Wi,
|
1526
|
-
Ui,
|
1527
|
-
Vi,
|
1528
|
-
Ki,
|
1529
|
-
Bi,
|
1530
|
-
Hi
|
1531
|
-
];
|
1532
|
-
}
|
1533
|
-
class Ql extends qi {
|
1534
|
-
constructor(e) {
|
1535
|
-
super(), zi(
|
1536
|
-
this,
|
1537
|
-
{
|
1538
|
-
target: this.shadowRoot,
|
1539
|
-
props: Xi(this.attributes),
|
1540
|
-
customElement: !0
|
1541
|
-
},
|
1542
|
-
Xl,
|
1543
|
-
ql,
|
1544
|
-
ui,
|
1545
|
-
{
|
1546
|
-
enableMinutiae: 40,
|
1547
|
-
videoDimensions: 41,
|
1548
|
-
noTabs: 42,
|
1549
|
-
weightsPath: 43,
|
1550
|
-
evaluatePhoto: 44,
|
1551
|
-
showCaptureButton: 1,
|
1552
|
-
showUnconformities: 2,
|
1553
|
-
videoFilter: 45,
|
1554
|
-
widgetInstance: 0,
|
1555
|
-
play: 3
|
1556
|
-
},
|
1557
|
-
null,
|
1558
|
-
[-1, -1, -1, -1]
|
1559
|
-
), e && (e.target && A(e.target, this, e.anchor), e.props && (this.$set(e.props), _e()));
|
1560
|
-
}
|
1561
|
-
static get observedAttributes() {
|
1562
|
-
return [
|
1563
|
-
"enableMinutiae",
|
1564
|
-
"videoDimensions",
|
1565
|
-
"noTabs",
|
1566
|
-
"weightsPath",
|
1567
|
-
"evaluatePhoto",
|
1568
|
-
"showCaptureButton",
|
1569
|
-
"showUnconformities",
|
1570
|
-
"videoFilter",
|
1571
|
-
"widgetInstance",
|
1572
|
-
"play"
|
1573
|
-
];
|
1574
|
-
}
|
1575
|
-
get enableMinutiae() {
|
1576
|
-
return this.$$.ctx[40];
|
1577
|
-
}
|
1578
|
-
set enableMinutiae(e) {
|
1579
|
-
this.$$set({ enableMinutiae: e }), _e();
|
1580
|
-
}
|
1581
|
-
get videoDimensions() {
|
1582
|
-
return this.$$.ctx[41];
|
1583
|
-
}
|
1584
|
-
set videoDimensions(e) {
|
1585
|
-
this.$$set({ videoDimensions: e }), _e();
|
1586
|
-
}
|
1587
|
-
get noTabs() {
|
1588
|
-
return this.$$.ctx[42];
|
1589
|
-
}
|
1590
|
-
set noTabs(e) {
|
1591
|
-
this.$$set({ noTabs: e }), _e();
|
1592
|
-
}
|
1593
|
-
get weightsPath() {
|
1594
|
-
return this.$$.ctx[43];
|
1595
|
-
}
|
1596
|
-
set weightsPath(e) {
|
1597
|
-
this.$$set({ weightsPath: e }), _e();
|
1598
|
-
}
|
1599
|
-
get evaluatePhoto() {
|
1600
|
-
return this.$$.ctx[44];
|
1601
|
-
}
|
1602
|
-
set evaluatePhoto(e) {
|
1603
|
-
this.$$set({ evaluatePhoto: e }), _e();
|
1604
|
-
}
|
1605
|
-
get showCaptureButton() {
|
1606
|
-
return this.$$.ctx[1];
|
1607
|
-
}
|
1608
|
-
set showCaptureButton(e) {
|
1609
|
-
this.$$set({ showCaptureButton: e }), _e();
|
1610
|
-
}
|
1611
|
-
get showUnconformities() {
|
1612
|
-
return this.$$.ctx[2];
|
1613
|
-
}
|
1614
|
-
set showUnconformities(e) {
|
1615
|
-
this.$$set({ showUnconformities: e }), _e();
|
1616
|
-
}
|
1617
|
-
get videoFilter() {
|
1618
|
-
return this.$$.ctx[45];
|
1619
|
-
}
|
1620
|
-
set videoFilter(e) {
|
1621
|
-
this.$$set({ videoFilter: e }), _e();
|
1622
|
-
}
|
1623
|
-
get widgetInstance() {
|
1624
|
-
return this.$$.ctx[0];
|
1625
|
-
}
|
1626
|
-
set widgetInstance(e) {
|
1627
|
-
this.$$set({ widgetInstance: e }), _e();
|
1628
|
-
}
|
1629
|
-
get play() {
|
1630
|
-
return this.$$.ctx[3];
|
1631
|
-
}
|
1632
|
-
}
|
1633
|
-
customElements.define("face-collector", Ql);
|
1634
|
-
export {
|
1635
|
-
Ql as default
|
1636
|
-
};
|