bry-biometric-collector 3.3.0-RC07 → 3.3.0-RC09

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/README.md +42 -0
  2. package/dist/CaptureBar_1cc7f43c_3.3.0-RC09.js +847 -0
  3. package/dist/{DocumentCollector_39a1a662_3.3.0-RC07.js → DocumentCollector_7823ce59_3.3.0-RC09.js} +52 -52
  4. package/dist/FaceCollector_0816a7ab_3.3.0-RC09.js +2260 -0
  5. package/dist/FaceOval_5296d98c_3.3.0-RC09.js +212 -0
  6. package/dist/StreamCollector_ce8ceb79_3.3.0-RC09.js +335 -0
  7. package/dist/ValidationAlert_a0e7de22_3.3.0-RC09.js +974 -0
  8. package/dist/{___vite-browser-external_commonjs-proxy_d99dffb1_3.3.0-RC07.js → ___vite-browser-external_commonjs-proxy_68c5c4f2_3.3.0-RC09.js} +1 -1
  9. package/dist/bry-biometric-collector-main.js +2 -2
  10. package/dist/{fingersApi_0f644f7a_3.3.0-RC07.js → fingersApi_30d9a5ce_3.3.0-RC09.js} +2 -2
  11. package/dist/index.d.ts +3 -1
  12. package/dist/index.js +2 -2
  13. package/dist/{index_8a654b33_3.3.0-RC07.js → index_8e78a016_3.3.0-RC09.js} +3 -3
  14. package/dist/{index_b0b3c37a_3.3.0-RC07.js → index_c9f76cd7_3.3.0-RC09.js} +3 -3
  15. package/dist/{main_866e3050_3.3.0-RC07.js → main_bb8df2d0_3.3.0-RC09.js} +3478 -3469
  16. package/dist/style.css +1 -1
  17. package/package.json +1 -1
  18. package/dist/CaptureBar_bbb41c40_3.3.0-RC07.js +0 -893
  19. package/dist/FaceCollector_5e696802_3.3.0-RC07.js +0 -2391
  20. package/dist/StreamCollector_89664342_3.3.0-RC07.js +0 -348
  21. package/dist/ValidationAlert_81eae4eb_3.3.0-RC07.js +0 -847
  22. /package/dist/{en-us_c02e99cd_3.3.0-RC07.js → en-us_c02e99cd_3.3.0-RC09.js} +0 -0
  23. /package/dist/{es-cl_6f3eda53_3.3.0-RC07.js → es-cl_6f3eda53_3.3.0-RC09.js} +0 -0
  24. /package/dist/{face_api_0e3ce8c8_3.3.0-RC07.js → face_api_0e3ce8c8_3.3.0-RC09.js} +0 -0
  25. /package/dist/{index-idlf-detector_39cfdffa_3.3.0-RC07.js → index-idlf-detector_39cfdffa_3.3.0-RC09.js} +0 -0
  26. /package/dist/{index-idlf-detector_a819b3c8_3.3.0-RC07.js → index-idlf-detector_a819b3c8_3.3.0-RC09.js} +0 -0
  27. /package/dist/{pt-br_e7d46668_3.3.0-RC07.js → pt-br_e7d46668_3.3.0-RC09.js} +0 -0
@@ -0,0 +1,974 @@
1
+ import { S as B, x as V, y as Z, z as H, B as n, C as Q, O as Y, E as d, H as c, I as C, a8 as P, $ as K, Q as q, bs as k, bt as F, f as R, D as w, G as N, bk as S, N as x, U as L, bu as T, X as I, b7 as h, bv as E, Y as y, b8 as $, M as O, V as ee, ap as te, ah as le, K as U } from "./main_bb8df2d0_3.3.0-RC09.js";
2
+ function ae(u) {
3
+ let e;
4
+ function i(l, M) {
5
+ if (
6
+ /*$cameraStatusStore*/
7
+ l[3] === O.CAMERA_DENIED_ERROR
8
+ )
9
+ return oe;
10
+ if (
11
+ /*$cameraStatusStore*/
12
+ l[3] === O.DEVICE_NOT_FOUND_ERROR
13
+ )
14
+ return me;
15
+ if (
16
+ /*$cameraStatusStore*/
17
+ l[3] === O.CAMERA_IN_USE_ERROR
18
+ )
19
+ return ce;
20
+ if (
21
+ /*$cameraStatusStore*/
22
+ l[3] === O.CAMERA_CLOSED_ERROR
23
+ )
24
+ return ne;
25
+ if (
26
+ /*$cameraStatusStore*/
27
+ l[3] === O.CAMERA_UNSUPPORTED
28
+ )
29
+ return re;
30
+ if (
31
+ /*$cameraStatusStore*/
32
+ l[3] === O.CAMERA_NOT_STARTED
33
+ )
34
+ return Me;
35
+ if (
36
+ /*$cameraStatusStore*/
37
+ l[3] === O.CAMERA_ORIENTATION_PORTRAIT
38
+ )
39
+ return ue;
40
+ if (
41
+ /*$cameraStatusStore*/
42
+ l[3] === O.CAMERA_ORIENTATION_LANDSCAPE
43
+ )
44
+ return ie;
45
+ }
46
+ let s = i(u), t = s && s(u);
47
+ return {
48
+ c() {
49
+ e = w("div"), t && t.c(), N(e, "class", "flex flex-col gap-4 justify-center items-center relative overflow-visible p-4");
50
+ },
51
+ m(l, M) {
52
+ n(l, e, M), t && t.m(e, null);
53
+ },
54
+ p(l, M) {
55
+ s === (s = i(l)) && t ? t.p(l, M) : (t && t.d(1), t = s && s(l), t && (t.c(), t.m(e, null)));
56
+ },
57
+ d(l) {
58
+ l && c(e), t && t.d();
59
+ }
60
+ };
61
+ }
62
+ function se(u) {
63
+ let e, i, s, t, l, M = (
64
+ /*$_*/
65
+ u[2]("cameraStatus.stayOnSameTab") + ""
66
+ ), z, m, g, _ = (
67
+ /*$_*/
68
+ u[2]("cameraStatus.clickToRestartCapture") + ""
69
+ ), p, D, r, j = [
70
+ { class: "text-[8em] text-gray-100" },
71
+ { xmlns: "http://www.w3.org/2000/svg" },
72
+ { width: "1em" },
73
+ { height: "1em" },
74
+ { viewBox: "0 0 256 256" },
75
+ /*$$props*/
76
+ u[4]
77
+ ], f = {};
78
+ for (let A = 0; A < j.length; A += 1)
79
+ f = k(f, j[A]);
80
+ return {
81
+ c() {
82
+ e = w("div"), i = S("svg"), s = S("path"), t = x(), l = w("span"), z = L(M), m = x(), g = w("span"), p = L(_), N(s, "fill", "currentColor"), N(s, "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"), T(i, f), N(l, "class", "text-xl font-bold text-center text-gray-100"), N(g, "class", "text-base text-center text-gray-100"), N(e, "class", "absolute inset-0 w-full h-full flex flex-col items-center justify-center px-4 gap-4 cursor-pointer hover:bg-gray-200 hover:bg-opacity-20 transition-colors duration-200"), N(e, "role", "button"), N(e, "tabindex", "0");
83
+ },
84
+ m(A, v) {
85
+ n(A, e, v), I(e, i), I(i, s), I(e, t), I(e, l), I(l, z), I(e, m), I(e, g), I(g, p), D || (r = [
86
+ h(
87
+ e,
88
+ "click",
89
+ /*click_handler*/
90
+ u[5]
91
+ ),
92
+ h(
93
+ e,
94
+ "touchstart",
95
+ /*touchstart_handler*/
96
+ u[6],
97
+ { passive: !0 }
98
+ )
99
+ ], D = !0);
100
+ },
101
+ p(A, v) {
102
+ T(i, f = E(j, [
103
+ { class: "text-[8em] text-gray-100" },
104
+ { xmlns: "http://www.w3.org/2000/svg" },
105
+ { width: "1em" },
106
+ { height: "1em" },
107
+ { viewBox: "0 0 256 256" },
108
+ v & /*$$props*/
109
+ 16 && /*$$props*/
110
+ A[4]
111
+ ])), v & /*$_*/
112
+ 4 && M !== (M = /*$_*/
113
+ A[2]("cameraStatus.stayOnSameTab") + "") && y(z, M), v & /*$_*/
114
+ 4 && _ !== (_ = /*$_*/
115
+ A[2]("cameraStatus.clickToRestartCapture") + "") && y(p, _);
116
+ },
117
+ d(A) {
118
+ A && c(e), D = !1, $(r);
119
+ }
120
+ };
121
+ }
122
+ function ie(u) {
123
+ let e, i, s, t, l = (
124
+ /*$_*/
125
+ u[2]("cameraStatus.deviceMustBeInLandscape") + ""
126
+ ), M, z, m, g = (
127
+ /*$_*/
128
+ u[2]("cameraStatus.rotateDevice") + ""
129
+ ), _, p = [
130
+ { class: "text-[8em] mx-auto" },
131
+ { xmlns: "http://www.w3.org/2000/svg" },
132
+ { width: "1em" },
133
+ { height: "1em" },
134
+ { viewBox: "0 0 24 24" },
135
+ /*$$props*/
136
+ u[4]
137
+ ], D = {};
138
+ for (let r = 0; r < p.length; r += 1)
139
+ D = k(D, p[r]);
140
+ return {
141
+ c() {
142
+ e = S("svg"), i = S("path"), s = x(), t = w("span"), M = L(l), z = x(), m = w("span"), _ = L(g), N(i, "fill", "currentColor"), N(i, "d", "M9 1H3a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2m0 14H3V3h6zm12-2h-8v2h8v6H9v-1H6v1a2 2 0 0 0 2 2h13a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2m2-3l-4-2l1.91-.91A7.52 7.52 0 0 0 14 2.5V1a9 9 0 0 1 9 9"), T(e, D), N(t, "class", "text-xl font-bold text-center"), N(m, "class", "m-auto text-base block text-center");
143
+ },
144
+ m(r, j) {
145
+ n(r, e, j), I(e, i), n(r, s, j), n(r, t, j), I(t, M), n(r, z, j), n(r, m, j), I(m, _);
146
+ },
147
+ p(r, j) {
148
+ T(e, D = E(p, [
149
+ { class: "text-[8em] mx-auto" },
150
+ { xmlns: "http://www.w3.org/2000/svg" },
151
+ { width: "1em" },
152
+ { height: "1em" },
153
+ { viewBox: "0 0 24 24" },
154
+ j & /*$$props*/
155
+ 16 && /*$$props*/
156
+ r[4]
157
+ ])), j & /*$_*/
158
+ 4 && l !== (l = /*$_*/
159
+ r[2]("cameraStatus.deviceMustBeInLandscape") + "") && y(M, l), j & /*$_*/
160
+ 4 && g !== (g = /*$_*/
161
+ r[2]("cameraStatus.rotateDevice") + "") && y(_, g);
162
+ },
163
+ d(r) {
164
+ r && c(e), r && c(s), r && c(t), r && c(z), r && c(m);
165
+ }
166
+ };
167
+ }
168
+ function ue(u) {
169
+ let e, i, s, t, l = (
170
+ /*$_*/
171
+ u[2]("cameraStatus.deviceMustBeInPortrait") + ""
172
+ ), M, z, m, g = (
173
+ /*$_*/
174
+ u[2]("cameraStatus.rotateDevice") + ""
175
+ ), _, p = [
176
+ { class: "text-[8em] mx-auto" },
177
+ { xmlns: "http://www.w3.org/2000/svg" },
178
+ { width: "1em" },
179
+ { height: "1em" },
180
+ { viewBox: "0 0 24 24" },
181
+ /*$$props*/
182
+ u[4]
183
+ ], D = {};
184
+ for (let r = 0; r < p.length; r += 1)
185
+ D = k(D, p[r]);
186
+ return {
187
+ c() {
188
+ e = S("svg"), i = S("path"), s = x(), t = w("span"), M = L(l), z = x(), m = w("span"), _ = L(g), N(i, "fill", "currentColor"), N(i, "d", "M9 1H3a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2h1v-3H3V3h6v8h2V3a2 2 0 0 0-2-2m14 20v-6a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h13a2 2 0 0 0 2-2M9 21v-6h12v6zm14-11h-1.5c0-3-1.81-5.73-4.58-6.91L16 5l-2-4a9 9 0 0 1 9 9"), T(e, D), N(t, "class", "text-xl font-bold text-center"), N(m, "class", "m-auto text-base block text-center");
189
+ },
190
+ m(r, j) {
191
+ n(r, e, j), I(e, i), n(r, s, j), n(r, t, j), I(t, M), n(r, z, j), n(r, m, j), I(m, _);
192
+ },
193
+ p(r, j) {
194
+ T(e, D = E(p, [
195
+ { class: "text-[8em] mx-auto" },
196
+ { xmlns: "http://www.w3.org/2000/svg" },
197
+ { width: "1em" },
198
+ { height: "1em" },
199
+ { viewBox: "0 0 24 24" },
200
+ j & /*$$props*/
201
+ 16 && /*$$props*/
202
+ r[4]
203
+ ])), j & /*$_*/
204
+ 4 && l !== (l = /*$_*/
205
+ r[2]("cameraStatus.deviceMustBeInPortrait") + "") && y(M, l), j & /*$_*/
206
+ 4 && g !== (g = /*$_*/
207
+ r[2]("cameraStatus.rotateDevice") + "") && y(_, g);
208
+ },
209
+ d(r) {
210
+ r && c(e), r && c(s), r && c(t), r && c(z), r && c(m);
211
+ }
212
+ };
213
+ }
214
+ function Me(u) {
215
+ let e, i, s, t, l = (
216
+ /*$_*/
217
+ u[2]("cameraStatus.biometricCapture") + ""
218
+ ), M, z, m, g = (
219
+ /*$_*/
220
+ u[2]("cameraStatus.startCapture") + ""
221
+ ), _, p, D, r = [
222
+ { class: "text-[8em] mx-auto" },
223
+ { xmlns: "http://www.w3.org/2000/svg" },
224
+ { width: "1em" },
225
+ { height: "1em" },
226
+ { viewBox: "0 0 24 24" },
227
+ /*$$props*/
228
+ u[4]
229
+ ], j = {};
230
+ for (let f = 0; f < r.length; f += 1)
231
+ j = k(j, r[f]);
232
+ return {
233
+ c() {
234
+ e = S("svg"), i = S("path"), s = x(), t = w("span"), M = L(l), z = x(), m = w("button"), _ = L(g), N(i, "fill", "currentColor"), N(i, "d", "M16 2H8a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h8a3 3 0 0 0 3-3V5a3 3 0 0 0-3-3m1 17a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-1h10Zm-5-5a3 3 0 0 1 2.82 2H9.18A3 3 0 0 1 12 14m-1-3a1 1 0 1 1 1 1a1 1 0 0 1-1-1m6 5h-.1a5 5 0 0 0-2.42-3.32A3 3 0 0 0 15 11a3 3 0 0 0-6 0a3 3 0 0 0 .52 1.68A5 5 0 0 0 7.1 16H7V5a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1ZM12 5a1 1 0 1 0 1 1a1 1 0 0 0-1-1"), T(e, j), N(t, "class", "text-xl font-bold text-center"), N(m, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
235
+ },
236
+ m(f, A) {
237
+ n(f, e, A), I(e, i), n(f, s, A), n(f, t, A), I(t, M), n(f, z, A), n(f, m, A), I(m, _), p || (D = h(
238
+ m,
239
+ "click",
240
+ /*click_handler_6*/
241
+ u[12]
242
+ ), p = !0);
243
+ },
244
+ p(f, A) {
245
+ T(e, j = E(r, [
246
+ { class: "text-[8em] mx-auto" },
247
+ { xmlns: "http://www.w3.org/2000/svg" },
248
+ { width: "1em" },
249
+ { height: "1em" },
250
+ { viewBox: "0 0 24 24" },
251
+ A & /*$$props*/
252
+ 16 && /*$$props*/
253
+ f[4]
254
+ ])), A & /*$_*/
255
+ 4 && l !== (l = /*$_*/
256
+ f[2]("cameraStatus.biometricCapture") + "") && y(M, l), A & /*$_*/
257
+ 4 && g !== (g = /*$_*/
258
+ f[2]("cameraStatus.startCapture") + "") && y(_, g);
259
+ },
260
+ d(f) {
261
+ f && c(e), f && c(s), f && c(t), f && c(z), f && c(m), p = !1, D();
262
+ }
263
+ };
264
+ }
265
+ function re(u) {
266
+ let e, i, s, t, l = (
267
+ /*$_*/
268
+ u[2]("cameraStatus.cameraNotSupported") + ""
269
+ ), M, z, m, g = (
270
+ /*$_*/
271
+ u[2]("cameraStatus.connectAnotherCamera") + ""
272
+ ), _, p, D, r = (
273
+ /*$_*/
274
+ u[2]("cameraStatus.restart") + ""
275
+ ), j, f, A, v = [
276
+ { class: "text-[8em] mx-auto" },
277
+ { xmlns: "http://www.w3.org/2000/svg" },
278
+ { width: "1em" },
279
+ { height: "1em" },
280
+ { viewBox: "0 0 256 256" },
281
+ /*$$props*/
282
+ u[4]
283
+ ], b = {};
284
+ for (let a = 0; a < v.length; a += 1)
285
+ b = k(b, v[a]);
286
+ return {
287
+ c() {
288
+ e = S("svg"), i = S("path"), s = x(), t = w("span"), M = L(l), z = x(), m = w("span"), _ = L(g), p = x(), D = w("button"), j = L(r), N(i, "fill", "currentColor"), N(i, "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"), T(e, b), N(t, "class", "text-xl font-bold text-center"), N(m, "class", "m-auto text-base block text-center"), N(D, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
289
+ },
290
+ m(a, o) {
291
+ n(a, e, o), I(e, i), n(a, s, o), n(a, t, o), I(t, M), n(a, z, o), n(a, m, o), I(m, _), n(a, p, o), n(a, D, o), I(D, j), f || (A = h(
292
+ D,
293
+ "click",
294
+ /*click_handler_5*/
295
+ u[11]
296
+ ), f = !0);
297
+ },
298
+ p(a, o) {
299
+ T(e, b = E(v, [
300
+ { class: "text-[8em] mx-auto" },
301
+ { xmlns: "http://www.w3.org/2000/svg" },
302
+ { width: "1em" },
303
+ { height: "1em" },
304
+ { viewBox: "0 0 256 256" },
305
+ o & /*$$props*/
306
+ 16 && /*$$props*/
307
+ a[4]
308
+ ])), o & /*$_*/
309
+ 4 && l !== (l = /*$_*/
310
+ a[2]("cameraStatus.cameraNotSupported") + "") && y(M, l), o & /*$_*/
311
+ 4 && g !== (g = /*$_*/
312
+ a[2]("cameraStatus.connectAnotherCamera") + "") && y(_, g), o & /*$_*/
313
+ 4 && r !== (r = /*$_*/
314
+ a[2]("cameraStatus.restart") + "") && y(j, r);
315
+ },
316
+ d(a) {
317
+ a && c(e), a && c(s), a && c(t), a && c(z), a && c(m), a && c(p), a && c(D), f = !1, A();
318
+ }
319
+ };
320
+ }
321
+ function ne(u) {
322
+ let e, i, s, t, l = (
323
+ /*$_*/
324
+ u[2]("cameraStatus.stayOnSameTab") + ""
325
+ ), M, z, m, g = (
326
+ /*$_*/
327
+ u[2]("cameraStatus.clickRestartToRecapture") + ""
328
+ ), _, p, D, r = (
329
+ /*$_*/
330
+ u[2]("cameraStatus.restart") + ""
331
+ ), j, f, A, v = [
332
+ { class: "text-[8em] mx-auto" },
333
+ { xmlns: "http://www.w3.org/2000/svg" },
334
+ { width: "1em" },
335
+ { height: "1em" },
336
+ { viewBox: "0 0 256 256" },
337
+ /*$$props*/
338
+ u[4]
339
+ ], b = {};
340
+ for (let a = 0; a < v.length; a += 1)
341
+ b = k(b, v[a]);
342
+ return {
343
+ c() {
344
+ e = S("svg"), i = S("path"), s = x(), t = w("span"), M = L(l), z = x(), m = w("span"), _ = L(g), p = x(), D = w("button"), j = L(r), N(i, "fill", "currentColor"), N(i, "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"), T(e, b), N(t, "class", "text-xl font-bold text-center"), N(m, "class", "m-auto text-base block text-center"), N(D, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
345
+ },
346
+ m(a, o) {
347
+ n(a, e, o), I(e, i), n(a, s, o), n(a, t, o), I(t, M), n(a, z, o), n(a, m, o), I(m, _), n(a, p, o), n(a, D, o), I(D, j), f || (A = h(
348
+ D,
349
+ "click",
350
+ /*click_handler_4*/
351
+ u[10]
352
+ ), f = !0);
353
+ },
354
+ p(a, o) {
355
+ T(e, b = E(v, [
356
+ { class: "text-[8em] mx-auto" },
357
+ { xmlns: "http://www.w3.org/2000/svg" },
358
+ { width: "1em" },
359
+ { height: "1em" },
360
+ { viewBox: "0 0 256 256" },
361
+ o & /*$$props*/
362
+ 16 && /*$$props*/
363
+ a[4]
364
+ ])), o & /*$_*/
365
+ 4 && l !== (l = /*$_*/
366
+ a[2]("cameraStatus.stayOnSameTab") + "") && y(M, l), o & /*$_*/
367
+ 4 && g !== (g = /*$_*/
368
+ a[2]("cameraStatus.clickRestartToRecapture") + "") && y(_, g), o & /*$_*/
369
+ 4 && r !== (r = /*$_*/
370
+ a[2]("cameraStatus.restart") + "") && y(j, r);
371
+ },
372
+ d(a) {
373
+ a && c(e), a && c(s), a && c(t), a && c(z), a && c(m), a && c(p), a && c(D), f = !1, A();
374
+ }
375
+ };
376
+ }
377
+ function ce(u) {
378
+ let e, i, s, t, l = (
379
+ /*$_*/
380
+ u[2]("cameraStatus.cameraInUse") + ""
381
+ ), M, z, m, g = (
382
+ /*$_*/
383
+ u[2]("cameraStatus.ensureCameraNotInUse") + ""
384
+ ), _, p, D, r = (
385
+ /*$_*/
386
+ u[2]("cameraStatus.restart") + ""
387
+ ), j, f, A, v = [
388
+ { class: "text-[8em] mx-auto" },
389
+ { xmlns: "http://www.w3.org/2000/svg" },
390
+ { width: "1em" },
391
+ { height: "1em" },
392
+ { viewBox: "0 0 256 256" },
393
+ /*$$props*/
394
+ u[4]
395
+ ], b = {};
396
+ for (let a = 0; a < v.length; a += 1)
397
+ b = k(b, v[a]);
398
+ return {
399
+ c() {
400
+ e = S("svg"), i = S("path"), s = x(), t = w("span"), M = L(l), z = x(), m = w("span"), _ = L(g), p = x(), D = w("button"), j = L(r), N(i, "fill", "currentColor"), N(i, "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"), T(e, b), N(t, "class", "text-xl font-bold text-center"), N(m, "class", "m-auto text-base block text-center"), N(D, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
401
+ },
402
+ m(a, o) {
403
+ n(a, e, o), I(e, i), n(a, s, o), n(a, t, o), I(t, M), n(a, z, o), n(a, m, o), I(m, _), n(a, p, o), n(a, D, o), I(D, j), f || (A = h(
404
+ D,
405
+ "click",
406
+ /*click_handler_3*/
407
+ u[9]
408
+ ), f = !0);
409
+ },
410
+ p(a, o) {
411
+ T(e, b = E(v, [
412
+ { class: "text-[8em] mx-auto" },
413
+ { xmlns: "http://www.w3.org/2000/svg" },
414
+ { width: "1em" },
415
+ { height: "1em" },
416
+ { viewBox: "0 0 256 256" },
417
+ o & /*$$props*/
418
+ 16 && /*$$props*/
419
+ a[4]
420
+ ])), o & /*$_*/
421
+ 4 && l !== (l = /*$_*/
422
+ a[2]("cameraStatus.cameraInUse") + "") && y(M, l), o & /*$_*/
423
+ 4 && g !== (g = /*$_*/
424
+ a[2]("cameraStatus.ensureCameraNotInUse") + "") && y(_, g), o & /*$_*/
425
+ 4 && r !== (r = /*$_*/
426
+ a[2]("cameraStatus.restart") + "") && y(j, r);
427
+ },
428
+ d(a) {
429
+ a && c(e), a && c(s), a && c(t), a && c(z), a && c(m), a && c(p), a && c(D), f = !1, A();
430
+ }
431
+ };
432
+ }
433
+ function me(u) {
434
+ let e, i, s, t, l = (
435
+ /*$_*/
436
+ u[2]("cameraStatus.cameraNotDetected") + ""
437
+ ), M, z, m, g = (
438
+ /*$_*/
439
+ u[2]("cameraStatus.connectCameraAndRestart") + ""
440
+ ), _, p, D, r = (
441
+ /*$_*/
442
+ u[2]("cameraStatus.restart") + ""
443
+ ), j, f, A, v = [
444
+ { class: "text-[8em] mx-auto" },
445
+ { xmlns: "http://www.w3.org/2000/svg" },
446
+ { width: "1em" },
447
+ { height: "1em" },
448
+ { viewBox: "0 0 256 256" },
449
+ /*$$props*/
450
+ u[4]
451
+ ], b = {};
452
+ for (let a = 0; a < v.length; a += 1)
453
+ b = k(b, v[a]);
454
+ return {
455
+ c() {
456
+ e = S("svg"), i = S("path"), s = x(), t = w("span"), M = L(l), z = x(), m = w("span"), _ = L(g), p = x(), D = w("button"), j = L(r), N(i, "fill", "currentColor"), N(i, "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"), T(e, b), N(t, "class", "text-xl font-bold text-center"), N(m, "class", "m-auto text-base block text-center"), N(D, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
457
+ },
458
+ m(a, o) {
459
+ n(a, e, o), I(e, i), n(a, s, o), n(a, t, o), I(t, M), n(a, z, o), n(a, m, o), I(m, _), n(a, p, o), n(a, D, o), I(D, j), f || (A = h(
460
+ D,
461
+ "click",
462
+ /*click_handler_2*/
463
+ u[8]
464
+ ), f = !0);
465
+ },
466
+ p(a, o) {
467
+ T(e, b = E(v, [
468
+ { class: "text-[8em] mx-auto" },
469
+ { xmlns: "http://www.w3.org/2000/svg" },
470
+ { width: "1em" },
471
+ { height: "1em" },
472
+ { viewBox: "0 0 256 256" },
473
+ o & /*$$props*/
474
+ 16 && /*$$props*/
475
+ a[4]
476
+ ])), o & /*$_*/
477
+ 4 && l !== (l = /*$_*/
478
+ a[2]("cameraStatus.cameraNotDetected") + "") && y(M, l), o & /*$_*/
479
+ 4 && g !== (g = /*$_*/
480
+ a[2]("cameraStatus.connectCameraAndRestart") + "") && y(_, g), o & /*$_*/
481
+ 4 && r !== (r = /*$_*/
482
+ a[2]("cameraStatus.restart") + "") && y(j, r);
483
+ },
484
+ d(a) {
485
+ a && c(e), a && c(s), a && c(t), a && c(z), a && c(m), a && c(p), a && c(D), f = !1, A();
486
+ }
487
+ };
488
+ }
489
+ function oe(u) {
490
+ let e, i, s, t, l = (
491
+ /*$_*/
492
+ u[2]("cameraStatus.cameraPermission") + ""
493
+ ), M, z, m, g = (
494
+ /*$_*/
495
+ u[2]("cameraStatus.clickRestartButton") + ""
496
+ ), _, p, D, r = (
497
+ /*$_*/
498
+ u[2]("cameraStatus.restart") + ""
499
+ ), j, f, A, v = [
500
+ { class: "text-[8em] mx-auto" },
501
+ { xmlns: "http://www.w3.org/2000/svg" },
502
+ { width: "1em" },
503
+ { height: "1em" },
504
+ { viewBox: "0 0 256 256" },
505
+ /*$$props*/
506
+ u[4]
507
+ ], b = {};
508
+ for (let a = 0; a < v.length; a += 1)
509
+ b = k(b, v[a]);
510
+ return {
511
+ c() {
512
+ e = S("svg"), i = S("path"), s = x(), t = w("span"), M = L(l), z = x(), m = w("span"), _ = L(g), p = x(), D = w("button"), j = L(r), N(i, "fill", "currentColor"), N(i, "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"), T(e, b), N(t, "class", "text-xl font-bold text-center"), N(m, "class", "m-auto text-base block text-center"), N(D, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
513
+ },
514
+ m(a, o) {
515
+ n(a, e, o), I(e, i), n(a, s, o), n(a, t, o), I(t, M), n(a, z, o), n(a, m, o), I(m, _), n(a, p, o), n(a, D, o), I(D, j), f || (A = h(
516
+ D,
517
+ "click",
518
+ /*click_handler_1*/
519
+ u[7]
520
+ ), f = !0);
521
+ },
522
+ p(a, o) {
523
+ T(e, b = E(v, [
524
+ { class: "text-[8em] mx-auto" },
525
+ { xmlns: "http://www.w3.org/2000/svg" },
526
+ { width: "1em" },
527
+ { height: "1em" },
528
+ { viewBox: "0 0 256 256" },
529
+ o & /*$$props*/
530
+ 16 && /*$$props*/
531
+ a[4]
532
+ ])), o & /*$_*/
533
+ 4 && l !== (l = /*$_*/
534
+ a[2]("cameraStatus.cameraPermission") + "") && y(M, l), o & /*$_*/
535
+ 4 && g !== (g = /*$_*/
536
+ a[2]("cameraStatus.clickRestartButton") + "") && y(_, g), o & /*$_*/
537
+ 4 && r !== (r = /*$_*/
538
+ a[2]("cameraStatus.restart") + "") && y(j, r);
539
+ },
540
+ d(a) {
541
+ a && c(e), a && c(s), a && c(t), a && c(z), a && c(m), a && c(p), a && c(D), f = !1, A();
542
+ }
543
+ };
544
+ }
545
+ function Ne(u) {
546
+ let e;
547
+ function i(l, M) {
548
+ return (
549
+ /*$collectorSelect*/
550
+ l[1] === "STREAM" ? se : ae
551
+ );
552
+ }
553
+ let s = i(u), t = s(u);
554
+ return {
555
+ c() {
556
+ t.c(), e = Y(), this.c = d;
557
+ },
558
+ m(l, M) {
559
+ t.m(l, M), n(l, e, M);
560
+ },
561
+ p(l, [M]) {
562
+ s === (s = i(l)) && t ? t.p(l, M) : (t.d(1), t = s(l), t && (t.c(), t.m(e.parentNode, e)));
563
+ },
564
+ i: d,
565
+ o: d,
566
+ d(l) {
567
+ t.d(l), l && c(e);
568
+ }
569
+ };
570
+ }
571
+ function fe(u, e, i) {
572
+ let s, t, l;
573
+ C(u, P, (f) => i(1, s = f)), C(u, K, (f) => i(2, t = f)), C(u, q, (f) => i(3, l = f));
574
+ let { handler: M = () => {
575
+ } } = e;
576
+ const z = () => M(), m = () => M(), g = () => {
577
+ M(), R("canicna", M);
578
+ }, _ = () => {
579
+ M(), R("canicna", M);
580
+ }, p = () => {
581
+ M(), R("canicna", M);
582
+ }, D = () => {
583
+ M();
584
+ }, r = () => {
585
+ M();
586
+ }, j = () => {
587
+ M();
588
+ };
589
+ return u.$$set = (f) => {
590
+ i(4, e = k(k({}, e), F(f))), "handler" in f && i(0, M = f.handler);
591
+ }, e = F(e), [
592
+ M,
593
+ s,
594
+ t,
595
+ l,
596
+ e,
597
+ z,
598
+ m,
599
+ g,
600
+ _,
601
+ p,
602
+ D,
603
+ r,
604
+ j
605
+ ];
606
+ }
607
+ class De extends B {
608
+ constructor(e) {
609
+ super(), V(
610
+ this,
611
+ {
612
+ target: this.shadowRoot,
613
+ props: H(this.attributes),
614
+ customElement: !0
615
+ },
616
+ fe,
617
+ Ne,
618
+ Z,
619
+ { handler: 0 },
620
+ null
621
+ ), e && (e.target && n(e.target, this, e.anchor), e.props && (this.$set(e.props), Q()));
622
+ }
623
+ static get observedAttributes() {
624
+ return ["handler"];
625
+ }
626
+ get handler() {
627
+ return this.$$.ctx[0];
628
+ }
629
+ set handler(e) {
630
+ this.$$set({ handler: e }), Q();
631
+ }
632
+ }
633
+ customElements.define("camera-status", De);
634
+ const je = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjgiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCA4NSAyNSIgZmlsbD0ibm9uZSIgb3BhY2l0eT0iMC4zNSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTI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4zNjQgMTEuODUzMyA4MC4xNjQgMTEgNzkuNzY0IDEwLjI4Qzc5LjM3NzMgOS41NDY2NyA3OC44MTczIDguOTg2NjcgNzguMDg0IDguNkM3Ny4zNjQgOC4yIDc2LjUwNCA4IDc1LjUwNCA4SDczLjIwNFYxNy43WiIgZmlsbD0id2hpdGUiLz4KPGNpcmNsZSBjeD0iMTAiIGN5PSIxMy4zMDYyIiByPSI0IiBmaWxsPSJ3aGl0ZSIvPgo8Y2lyY2xlIGN4PSI5Ljk1OTA1IiBjeT0iMTMuMjUyIiByPSI2Ljc1MjAyIiBzdHJva2U9IndoaXRlIi8+CjxwYXRoIGQ9Ik01LjQ3OTE5IDRIMy4xMzI5NUMxLjk1NDk1IDQgMSA0Ljk1NDk1IDEgNi4xMzI5NVY4LjQ3OTE5TTE0LjQzNzYgNEgxNi43ODM4QzE3Ljk2MTggNCAxOC45MTY3IDQuOTU0OTUgMTguOTE2NyA2LjEzMjk1VjguNDc5MTlNMTguOTE2NyAxNy40Mzc2VjE5Ljc4MzhDMTguOTE2NyAyMC45NjE4IDE3Ljk2MTggMjEuOTE2NyAxNi43ODM4IDIxLjkxNjdIMTQuNDM3Nk01LjQ3OTE5IDIxLjkxNjdIMy4xMzI5NUMxLjk1NDk1IDIxLjkxNjcgMSAyMC45NjE4IDEgMTkuNzgzOFYxNy40Mzc2IiBzdHJva2U9IndoaXRlIi8+Cjwvc3ZnPgo=";
635
+ function ge(u) {
636
+ let e, i, s, t;
637
+ return {
638
+ c() {
639
+ e = w("div"), i = w("img"), this.c = d, ee(i.src, s = je) || N(i, "src", s), N(i, "alt", "BryID"), N(e, "class", t = /*$collectorSelect*/
640
+ u[0] === "DOCUMENT" ? "absolute inset-0 flex justify-end items-end mb-2 mr-2" : "absolute inset-0 flex justify-center items-end mb-4");
641
+ },
642
+ m(l, M) {
643
+ n(l, e, M), I(e, i);
644
+ },
645
+ p(l, [M]) {
646
+ M & /*$collectorSelect*/
647
+ 1 && t !== (t = /*$collectorSelect*/
648
+ l[0] === "DOCUMENT" ? "absolute inset-0 flex justify-end items-end mb-2 mr-2" : "absolute inset-0 flex justify-center items-end mb-4") && N(e, "class", t);
649
+ },
650
+ i: d,
651
+ o: d,
652
+ d(l) {
653
+ l && c(e);
654
+ }
655
+ };
656
+ }
657
+ function Ie(u, e, i) {
658
+ let s;
659
+ return C(u, P, (t) => i(0, s = t)), [s];
660
+ }
661
+ class ze extends B {
662
+ constructor(e) {
663
+ super(), V(
664
+ this,
665
+ {
666
+ target: this.shadowRoot,
667
+ props: H(this.attributes),
668
+ customElement: !0
669
+ },
670
+ Ie,
671
+ ge,
672
+ Z,
673
+ {},
674
+ null
675
+ ), e && e.target && n(e.target, this, e.anchor);
676
+ }
677
+ }
678
+ customElements.define("water-mark", ze);
679
+ function _e(u) {
680
+ let e;
681
+ function i(l, M) {
682
+ return U() ? Le : we;
683
+ }
684
+ let t = i()(u);
685
+ return {
686
+ c() {
687
+ t.c(), e = Y();
688
+ },
689
+ m(l, M) {
690
+ t.m(l, M), n(l, e, M);
691
+ },
692
+ p(l, M) {
693
+ t.p(l, M);
694
+ },
695
+ d(l) {
696
+ t.d(l), l && c(e);
697
+ }
698
+ };
699
+ }
700
+ function pe(u) {
701
+ let e, i, s = (
702
+ /*isCountingDown*/
703
+ u[0] && G(u)
704
+ ), t = (
705
+ /*$enableFaceApi*/
706
+ u[3] && !/*isCountingDown*/
707
+ u[0] && /*$faceValidationAlert*/
708
+ u[4] && W(u)
709
+ );
710
+ return {
711
+ c() {
712
+ s && s.c(), e = x(), t && t.c(), i = Y();
713
+ },
714
+ m(l, M) {
715
+ s && s.m(l, M), n(l, e, M), t && t.m(l, M), n(l, i, M);
716
+ },
717
+ p(l, M) {
718
+ /*isCountingDown*/
719
+ l[0] ? s ? s.p(l, M) : (s = G(l), s.c(), s.m(e.parentNode, e)) : s && (s.d(1), s = null), /*$enableFaceApi*/
720
+ l[3] && !/*isCountingDown*/
721
+ l[0] && /*$faceValidationAlert*/
722
+ l[4] ? t ? t.p(l, M) : (t = W(l), t.c(), t.m(i.parentNode, i)) : t && (t.d(1), t = null);
723
+ },
724
+ d(l) {
725
+ s && s.d(l), l && c(e), t && t.d(l), l && c(i);
726
+ }
727
+ };
728
+ }
729
+ function Ae(u) {
730
+ let e, i, s = (
731
+ /*isCountingDown*/
732
+ u[0] && J(u)
733
+ ), t = (
734
+ /*$enableFaceApi*/
735
+ u[3] && !/*isCountingDown*/
736
+ u[0] && /*$faceValidationAlert*/
737
+ u[4] && X(u)
738
+ );
739
+ return {
740
+ c() {
741
+ s && s.c(), e = x(), t && t.c(), i = Y();
742
+ },
743
+ m(l, M) {
744
+ s && s.m(l, M), n(l, e, M), t && t.m(l, M), n(l, i, M);
745
+ },
746
+ p(l, M) {
747
+ /*isCountingDown*/
748
+ l[0] ? s ? s.p(l, M) : (s = J(l), s.c(), s.m(e.parentNode, e)) : s && (s.d(1), s = null), /*$enableFaceApi*/
749
+ l[3] && !/*isCountingDown*/
750
+ l[0] && /*$faceValidationAlert*/
751
+ l[4] ? t ? t.p(l, M) : (t = X(l), t.c(), t.m(i.parentNode, i)) : t && (t.d(1), t = null);
752
+ },
753
+ d(l) {
754
+ s && s.d(l), l && c(e), t && t.d(l), l && c(i);
755
+ }
756
+ };
757
+ }
758
+ function we(u) {
759
+ let e, i = (
760
+ /*$_*/
761
+ u[2](`${/*$faceValidationAlert*/
762
+ u[4]}`) + ""
763
+ ), s;
764
+ return {
765
+ c() {
766
+ e = w("span"), s = L(i), N(e, "class", "flex items-center justify-center h-[2em] min-w-[10em] max-w-[15em] bg-[#202327] rounded-3xl text-white text-xl px-4");
767
+ },
768
+ m(t, l) {
769
+ n(t, e, l), I(e, s);
770
+ },
771
+ p(t, l) {
772
+ l & /*$_, $faceValidationAlert*/
773
+ 20 && i !== (i = /*$_*/
774
+ t[2](`${/*$faceValidationAlert*/
775
+ t[4]}`) + "") && y(s, i);
776
+ },
777
+ d(t) {
778
+ t && c(e);
779
+ }
780
+ };
781
+ }
782
+ function Le(u) {
783
+ let e, i = (
784
+ /*$_*/
785
+ u[2](`${/*$faceValidationAlert*/
786
+ u[4]}`) + ""
787
+ ), s;
788
+ return {
789
+ c() {
790
+ e = w("span"), s = L(i), N(e, "class", "absolute top-[8%] flex items-center justify-center h-[2em] w-auto bg-[#202327] rounded-3xl text-white text-xl px-4 z-50");
791
+ },
792
+ m(t, l) {
793
+ n(t, e, l), I(e, s);
794
+ },
795
+ p(t, l) {
796
+ l & /*$_, $faceValidationAlert*/
797
+ 20 && i !== (i = /*$_*/
798
+ t[2](`${/*$faceValidationAlert*/
799
+ t[4]}`) + "") && y(s, i);
800
+ },
801
+ d(t) {
802
+ t && c(e);
803
+ }
804
+ };
805
+ }
806
+ function G(u) {
807
+ let e, i = (
808
+ /*$_*/
809
+ u[2]("faceCollector.stayStill") + ""
810
+ ), s;
811
+ return {
812
+ c() {
813
+ e = w("span"), s = L(i), N(e, "class", "absolute flex items-center justify-center h-[2em] bg-[#202327] text-white rounded-3xl text-xl xl:text-base px-4 min-w-[10em] max-w-[20em] z-50 " + (U() ? "top-[6%]" : "top-[4.5%]"));
814
+ },
815
+ m(t, l) {
816
+ n(t, e, l), I(e, s);
817
+ },
818
+ p(t, l) {
819
+ l & /*$_*/
820
+ 4 && i !== (i = /*$_*/
821
+ t[2]("faceCollector.stayStill") + "") && y(s, i);
822
+ },
823
+ d(t) {
824
+ t && c(e);
825
+ }
826
+ };
827
+ }
828
+ function W(u) {
829
+ let e, i = (
830
+ /*$_*/
831
+ u[2](`${/*$faceValidationAlert*/
832
+ u[4]}`) + ""
833
+ ), s;
834
+ return {
835
+ c() {
836
+ e = w("span"), s = L(i), N(e, "class", "absolute flex items-center justify-center h-[2em] bg-[#202327] text-white rounded-3xl text-xl xl:text-base px-4 min-w-[10em] max-w-[20em] z-50 " + (U() ? "top-[6%]" : "top-[4.5%]"));
837
+ },
838
+ m(t, l) {
839
+ n(t, e, l), I(e, s);
840
+ },
841
+ p(t, l) {
842
+ l & /*$_, $faceValidationAlert*/
843
+ 20 && i !== (i = /*$_*/
844
+ t[2](`${/*$faceValidationAlert*/
845
+ t[4]}`) + "") && y(s, i);
846
+ },
847
+ d(t) {
848
+ t && c(e);
849
+ }
850
+ };
851
+ }
852
+ function J(u) {
853
+ let e, i = (
854
+ /*$_*/
855
+ u[2]("faceCollector.stayStill") + ""
856
+ ), s;
857
+ return {
858
+ c() {
859
+ e = w("span"), s = L(i), N(e, "class", "absolute flex items-center justify-center h-[2em] bg-[#202327] text-white rounded-3xl text-xl xl:text-base px-4 min-w-[10em] max-w-[20em] z-50 " + (U() ? "top-[6.5%]" : "top-[3%]"));
860
+ },
861
+ m(t, l) {
862
+ n(t, e, l), I(e, s);
863
+ },
864
+ p(t, l) {
865
+ l & /*$_*/
866
+ 4 && i !== (i = /*$_*/
867
+ t[2]("faceCollector.stayStill") + "") && y(s, i);
868
+ },
869
+ d(t) {
870
+ t && c(e);
871
+ }
872
+ };
873
+ }
874
+ function X(u) {
875
+ let e, i = (
876
+ /*$_*/
877
+ u[2](`${/*$faceValidationAlert*/
878
+ u[4]}`) + ""
879
+ ), s;
880
+ return {
881
+ c() {
882
+ e = w("span"), s = L(i), N(e, "class", "absolute flex items-center justify-center h-[2em] bg-[#202327] text-white rounded-3xl text-xl xl:text-base px-4 min-w-[10em] max-w-[20em] z-50 " + (U() ? "top-[6.5%]" : "top-[3%]"));
883
+ },
884
+ m(t, l) {
885
+ n(t, e, l), I(e, s);
886
+ },
887
+ p(t, l) {
888
+ l & /*$_, $faceValidationAlert*/
889
+ 20 && i !== (i = /*$_*/
890
+ t[2](`${/*$faceValidationAlert*/
891
+ t[4]}`) + "") && y(s, i);
892
+ },
893
+ d(t) {
894
+ t && c(e);
895
+ }
896
+ };
897
+ }
898
+ function ye(u) {
899
+ let e;
900
+ function i(l, M) {
901
+ if (
902
+ /*$collectorSelect*/
903
+ l[1] === "FACE"
904
+ )
905
+ return Ae;
906
+ if (
907
+ /*$collectorSelect*/
908
+ l[1] === "DOCUMENT"
909
+ )
910
+ return pe;
911
+ if (
912
+ /*$collectorSelect*/
913
+ l[1] === "STREAM"
914
+ )
915
+ return _e;
916
+ }
917
+ let s = i(u), t = s && s(u);
918
+ return {
919
+ c() {
920
+ t && t.c(), e = Y(), this.c = d;
921
+ },
922
+ m(l, M) {
923
+ t && t.m(l, M), n(l, e, M);
924
+ },
925
+ p(l, [M]) {
926
+ s === (s = i(l)) && t ? t.p(l, M) : (t && t.d(1), t = s && s(l), t && (t.c(), t.m(e.parentNode, e)));
927
+ },
928
+ i: d,
929
+ o: d,
930
+ d(l) {
931
+ t && t.d(l), l && c(e);
932
+ }
933
+ };
934
+ }
935
+ function ve(u, e, i) {
936
+ let s, t, l, M;
937
+ C(u, P, (m) => i(1, s = m)), C(u, K, (m) => i(2, t = m)), C(u, te, (m) => i(3, l = m)), C(u, le, (m) => i(4, M = m));
938
+ let { isCountingDown: z = !1 } = e;
939
+ return u.$$set = (m) => {
940
+ "isCountingDown" in m && i(0, z = m.isCountingDown);
941
+ }, [z, s, t, l, M];
942
+ }
943
+ class xe extends B {
944
+ constructor(e) {
945
+ super(), V(
946
+ this,
947
+ {
948
+ target: this.shadowRoot,
949
+ props: H(this.attributes),
950
+ customElement: !0
951
+ },
952
+ ve,
953
+ ye,
954
+ Z,
955
+ { isCountingDown: 0 },
956
+ null
957
+ ), e && (e.target && n(e.target, this, e.anchor), e.props && (this.$set(e.props), Q()));
958
+ }
959
+ static get observedAttributes() {
960
+ return ["isCountingDown"];
961
+ }
962
+ get isCountingDown() {
963
+ return this.$$.ctx[0];
964
+ }
965
+ set isCountingDown(e) {
966
+ this.$$set({ isCountingDown: e }), Q();
967
+ }
968
+ }
969
+ customElements.define("validation-alert", xe);
970
+ export {
971
+ De as C,
972
+ xe as V,
973
+ ze as W
974
+ };