bry-biometric-collector 2.2.0 → 2.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,1080 +0,0 @@
1
- import { S as ii, r as li, t as Pt, w as si, x as U, y as ae, z as g, B as ee, C as ve, D as Q, E as Ce, G as z, H as K, I as S, J as Xe, L as De, M as ue, K as Ae, N as oi, O as pe, P as Ye, _ as ut, Q as ai, a3 as Se, U as ze, V as Je, W as Te, X as ft, Y as dt, a0 as ni, a1 as Ie, a2 as Qe, a9 as ht, $ as ri, aa as ci, ab as ui, ac as fi, ad as di, ae as hi, af as p, ag as Ge, ai as bi, ar as bt, as as mi, aq as Ze, f as Fe, at as _i, aj as xe, au as gi, av as $e, aw as pi, ax as ki, ay as ke, az as wi, aA as mt, aB as _t, ak as et, aC as vi, aD as Ci, aE as we, aF as yi, aG as N, aH as Le, aI as Ei, aJ as f, aK as u, aL as Oe, aM as We, aN as tt, aO as Pi, aP as le, aQ as He, aR as V, aS as J, aT as Rt, aU as Me, l as Ri, aW as Di, aX as Ai, aY as gt, aZ as pt, a$ as Si } from "./main_6691dc65_2.2.0.js";
2
- import { c as se, C as Z, a as Ti, f as Ne, b as Ii } from "./CameraBtn_feceeea6_2.2.0.js";
3
- function Fi(s) {
4
- let t, e, l, c = (
5
- /*unique*/
6
- s[7]
7
- ), n, a, o, r, d, m, w, h, b, v, C, k, R, G, X, x, $, D, H, T, I, B = kt(s);
8
- a = new yi({ props: { className: "bottom-0" } }), r = new Ti({ props: { className: "bottom-0" } });
9
- let W = (
10
- /*isCountingDown*/
11
- s[6] && wt(s)
12
- ), M = (
13
- /*$enableFaceApi*/
14
- s[23] && !/*isCountingDown*/
15
- s[6] && /*faceNotValidated*/
16
- s[12] && vt(s)
17
- );
18
- function y(_, F) {
19
- return (
20
- /*$captured*/
21
- _[16] ? Oi : Wi
22
- );
23
- }
24
- let Y = y(s), q = Y(s);
25
- const oe = [Bi, Hi], te = [];
26
- function fe(_, F) {
27
- return (
28
- /*showUnconformities*/
29
- _[1] && (!/*idrndClosed*/
30
- _[11] || /*$captured*/
31
- _[16]) ? 0 : (
32
- /*$cameraStatusStore*/
33
- _[14] !== Z.OK ? 1 : -1
34
- )
35
- );
36
- }
37
- return ~(D = fe(s)) && (H = te[D] = oe[D](s)), {
38
- c() {
39
- t = g("div"), e = g("div"), l = g("div"), B.c(), n = N(), Le(a.$$.fragment), o = N(), Le(r.$$.fragment), d = N(), m = g("canvas"), w = N(), h = g("canvas"), b = N(), v = g("canvas"), C = N(), W && W.c(), k = N(), M && M.c(), G = N(), X = g("div"), q.c(), $ = N(), H && H.c(), T = Ei(), f(m, "id", "bry-ce-displayCanvas"), f(m, "class", "max-w-full"), f(h, "id", "bry-ce-detectionsCanvas"), f(h, "class", "absolute top-0 left-0 max-w-full"), f(v, "id", "bry-ce-maskCanvas"), f(v, "class", "absolute top-0 left-0 max-w-full"), f(l, "class", "relative"), l.hidden = R = /*$cameraStatusStore*/
40
- s[14] !== Z.OK, f(X, "class", "px-4 sm:px-0 mt-[1em]"), X.hidden = x = !/*showCaptureButton*/
41
- s[0], f(e, "class", "relative mx-auto"), f(t, "class", "flex flex-col justify-between");
42
- },
43
- m(_, F) {
44
- U(_, t, F), u(t, e), u(e, l), B.m(l, null), u(l, n), Oe(a, l, null), u(l, o), Oe(r, l, null), u(l, d), u(l, m), s[42](m), u(l, w), u(l, h), s[43](h), u(l, b), u(l, v), s[44](v), u(l, C), W && W.m(l, null), u(l, k), M && M.m(l, null), u(e, G), u(e, X), q.m(X, null), s[48](t), U(_, $, F), ~D && te[D].m(_, F), U(_, T, F), I = !0;
45
- },
46
- p(_, F) {
47
- F[0] & /*unique*/
48
- 128 && Pt(c, c = /*unique*/
49
- _[7]) ? (B.d(1), B = kt(_), B.c(), B.m(l, n)) : B.p(_, F), /*isCountingDown*/
50
- _[6] ? W ? (W.p(_, F), F[0] & /*isCountingDown*/
51
- 64 && z(W, 1)) : (W = wt(_), W.c(), z(W, 1), W.m(l, k)) : W && (ve(), Q(W, 1, 1, () => {
52
- W = null;
53
- }), Ce()), /*$enableFaceApi*/
54
- _[23] && !/*isCountingDown*/
55
- _[6] && /*faceNotValidated*/
56
- _[12] ? M ? (M.p(_, F), F[0] & /*$enableFaceApi, isCountingDown, faceNotValidated*/
57
- 8392768 && z(M, 1)) : (M = vt(_), M.c(), z(M, 1), M.m(l, null)) : M && (ve(), Q(M, 1, 1, () => {
58
- M = null;
59
- }), Ce()), (!I || F[0] & /*$cameraStatusStore*/
60
- 16384 && R !== (R = /*$cameraStatusStore*/
61
- _[14] !== Z.OK)) && (l.hidden = R), Y === (Y = y(_)) && q ? q.p(_, F) : (q.d(1), q = Y(_), q && (q.c(), q.m(X, null))), (!I || F[0] & /*showCaptureButton*/
62
- 1 && x !== (x = !/*showCaptureButton*/
63
- _[0])) && (X.hidden = x);
64
- let ne = D;
65
- D = fe(_), D === ne ? ~D && te[D].p(_, F) : (H && (ve(), Q(te[ne], 1, 1, () => {
66
- te[ne] = null;
67
- }), Ce()), ~D ? (H = te[D], H ? H.p(_, F) : (H = te[D] = oe[D](_), H.c()), z(H, 1), H.m(T.parentNode, T)) : H = null);
68
- },
69
- i(_) {
70
- I || (z(a.$$.fragment, _), z(r.$$.fragment, _), z(W), z(M), z(H), I = !0);
71
- },
72
- o(_) {
73
- Q(a.$$.fragment, _), Q(r.$$.fragment, _), Q(W), Q(M), Q(H), I = !1;
74
- },
75
- d(_) {
76
- _ && K(t), B.d(_), We(a), We(r), s[42](null), s[43](null), s[44](null), W && W.d(), M && M.d(), q.d(), s[48](null), _ && K($), ~D && te[D].d(_), _ && K(T);
77
- }
78
- };
79
- }
80
- function Li(s) {
81
- let t, e, l, c, n, a = (
82
- /*$isLoadingAPP*/
83
- s[17] && yt(s)
84
- );
85
- return {
86
- c() {
87
- t = g("slot"), e = g("div"), l = g("img"), n = N(), a && a.c(), tt(l.src, c = Pi) || f(l, "src", c), f(l, "alt", "loading gif"), f(l, "class", "m-auto h-[10em] lg:h-[12em]"), f(e, "class", "translate-y-1/3 md:translate-y-1/4 xl:translate-y-1/2"), f(t, "name", "obtaining-photo-gif"), f(t, "class", "block h-[17em] lg:h-[21.6em] xl:h-[30em]");
88
- },
89
- m(o, r) {
90
- U(o, t, r), u(t, e), u(e, l), u(e, n), a && a.m(e, null);
91
- },
92
- p(o, r) {
93
- /*$isLoadingAPP*/
94
- o[17] ? a ? a.p(o, r) : (a = yt(o), a.c(), a.m(e, null)) : a && (a.d(1), a = null);
95
- },
96
- i: ee,
97
- o: ee,
98
- d(o) {
99
- o && K(t), a && a.d();
100
- }
101
- };
102
- }
103
- function kt(s) {
104
- let t, e, l;
105
- return {
106
- c() {
107
- t = g("video"), f(t, "id", "bry-cc-camera-video-tag"), f(t, "class", "absolute -z-10"), t.playsInline = !0, t.muted = !0, t.autoplay = !0;
108
- },
109
- m(c, n) {
110
- U(c, t, n), s[40](t), e || (l = [
111
- le(
112
- t,
113
- "canplay",
114
- /*canplay_handler*/
115
- s[41]
116
- ),
117
- le(
118
- t,
119
- "play",
120
- /*play*/
121
- s[2],
122
- { once: !0 }
123
- )
124
- ], e = !0);
125
- },
126
- p: ee,
127
- d(c) {
128
- c && K(t), s[40](null), e = !1, He(l);
129
- }
130
- };
131
- }
132
- function wt(s) {
133
- let t, e, l = (
134
- /*$_*/
135
- s[26]("faceCollector.stayStill") + ""
136
- ), c, n, a;
137
- return {
138
- c() {
139
- t = g("div"), e = g("span"), c = V(l), f(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]");
140
- },
141
- m(o, r) {
142
- U(o, t, r), u(t, e), u(e, c), a = !0;
143
- },
144
- p(o, r) {
145
- (!a || r[0] & /*$_*/
146
- 67108864) && l !== (l = /*$_*/
147
- o[26]("faceCollector.stayStill") + "") && J(c, l);
148
- },
149
- i(o) {
150
- a || (Rt(() => {
151
- a && (n || (n = Me(t, Ne, { delay: 250, duration: 300 }, !0)), n.run(1));
152
- }), a = !0);
153
- },
154
- o(o) {
155
- n || (n = Me(t, Ne, { delay: 250, duration: 300 }, !1)), n.run(0), a = !1;
156
- },
157
- d(o) {
158
- o && K(t), o && n && n.end();
159
- }
160
- };
161
- }
162
- function vt(s) {
163
- let t, e, l = (
164
- /*$_*/
165
- s[26](`${/*faceValidationAlert*/
166
- s[13]}`) + ""
167
- ), c, n, a;
168
- return {
169
- c() {
170
- t = g("div"), e = g("span"), c = V(l), f(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]");
171
- },
172
- m(o, r) {
173
- U(o, t, r), u(t, e), u(e, c), a = !0;
174
- },
175
- p(o, r) {
176
- (!a || r[0] & /*$_, faceValidationAlert*/
177
- 67117056) && l !== (l = /*$_*/
178
- o[26](`${/*faceValidationAlert*/
179
- o[13]}`) + "") && J(c, l);
180
- },
181
- i(o) {
182
- a || (Rt(() => {
183
- a && (n || (n = Me(t, Ne, { delay: 250, duration: 300 }, !0)), n.run(1));
184
- }), a = !0);
185
- },
186
- o(o) {
187
- n || (n = Me(t, Ne, { delay: 250, duration: 300 }, !1)), n.run(0), a = !1;
188
- },
189
- d(o) {
190
- o && K(t), o && n && n.end();
191
- }
192
- };
193
- }
194
- function Oi(s) {
195
- let t, e, l = (
196
- /*$_*/
197
- s[26]("faceCollector.finish") + ""
198
- ), c, n, a, o, r = (
199
- /*$_*/
200
- s[26]("faceCollector.retakePhoto") + ""
201
- ), d, m, w;
202
- return {
203
- c() {
204
- t = g("div"), e = g("button"), c = V(l), a = N(), o = g("button"), d = V(r), e.disabled = n = /*$justification*/
205
- s[20].length === 0, f(e, "class", "ce-dui-btn ce-dui-btn-primary ce-dui-btn-block flex-shrink"), f(o, "id", "bry-cc-retake-button"), f(o, "class", "ce-dui-btn ce-dui-btn-block ce-dui-btn-outline flex-shrink"), f(t, "class", "ce-dui-btn-group flex");
206
- },
207
- m(h, b) {
208
- U(h, t, b), u(t, e), u(e, c), u(t, a), u(t, o), u(o, d), m || (w = [
209
- le(
210
- e,
211
- "click",
212
- /*click_handler_1*/
213
- s[46]
214
- ),
215
- le(
216
- o,
217
- "click",
218
- /*click_handler_2*/
219
- s[47]
220
- )
221
- ], m = !0);
222
- },
223
- p(h, b) {
224
- b[0] & /*$_*/
225
- 67108864 && l !== (l = /*$_*/
226
- h[26]("faceCollector.finish") + "") && J(c, l), b[0] & /*$justification*/
227
- 1048576 && n !== (n = /*$justification*/
228
- h[20].length === 0) && (e.disabled = n), b[0] & /*$_*/
229
- 67108864 && r !== (r = /*$_*/
230
- h[26]("faceCollector.retakePhoto") + "") && J(d, r);
231
- },
232
- d(h) {
233
- h && K(t), m = !1, He(w);
234
- }
235
- };
236
- }
237
- function Wi(s) {
238
- let t, e, l, c, n;
239
- function a(d, m) {
240
- return (
241
- /*$isLoading*/
242
- d[27] ? Ni : Mi
243
- );
244
- }
245
- let o = a(s), r = o(s);
246
- return {
247
- c() {
248
- t = g("button"), r.c(), f(t, "id", "bry-cc-capture-btn"), t.disabled = e = !/*$faceFound*/
249
- s[25] && /*$enableFaceApi*/
250
- s[23] || !/*$ready*/
251
- s[24] && !/*$enableFaceApi*/
252
- s[23], t.hidden = l = !/*showCaptureButton*/
253
- s[0], f(t, "class", "ce-dui-btn ce-dui-btn-block ce-dui-btn-primary text-xl");
254
- },
255
- m(d, m) {
256
- U(d, t, m), r.m(t, null), c || (n = le(
257
- t,
258
- "click",
259
- /*click_handler*/
260
- s[45]
261
- ), c = !0);
262
- },
263
- p(d, m) {
264
- o === (o = a(d)) && r ? r.p(d, m) : (r.d(1), r = o(d), r && (r.c(), r.m(t, null))), m[0] & /*$faceFound, $enableFaceApi, $ready*/
265
- 58720256 && e !== (e = !/*$faceFound*/
266
- d[25] && /*$enableFaceApi*/
267
- d[23] || !/*$ready*/
268
- d[24] && !/*$enableFaceApi*/
269
- d[23]) && (t.disabled = e), m[0] & /*showCaptureButton*/
270
- 1 && l !== (l = !/*showCaptureButton*/
271
- d[0]) && (t.hidden = l);
272
- },
273
- d(d) {
274
- d && K(t), r.d(), c = !1, n();
275
- }
276
- };
277
- }
278
- function Mi(s) {
279
- let t = (
280
- /*$_*/
281
- s[26]("faceCollector.takePicture") + ""
282
- ), e;
283
- return {
284
- c() {
285
- e = V(t);
286
- },
287
- m(l, c) {
288
- U(l, e, c);
289
- },
290
- p(l, c) {
291
- c[0] & /*$_*/
292
- 67108864 && t !== (t = /*$_*/
293
- l[26]("faceCollector.takePicture") + "") && J(e, t);
294
- },
295
- d(l) {
296
- l && K(e);
297
- }
298
- };
299
- }
300
- function Ni(s) {
301
- let t;
302
- return {
303
- c() {
304
- t = V("Take picture");
305
- },
306
- m(e, l) {
307
- U(e, t, l);
308
- },
309
- p: ee,
310
- d(e) {
311
- e && K(t);
312
- }
313
- };
314
- }
315
- function Hi(s) {
316
- let t, e;
317
- return t = new Ii({ props: { handler: (
318
- /*func*/
319
- s[55]
320
- ) } }), {
321
- c() {
322
- Le(t.$$.fragment);
323
- },
324
- m(l, c) {
325
- Oe(t, l, c), e = !0;
326
- },
327
- p(l, c) {
328
- const n = {};
329
- c[0] & /*capturing*/
330
- 1024 && (n.handler = /*func*/
331
- l[55]), t.$set(n);
332
- },
333
- i(l) {
334
- e || (z(t.$$.fragment, l), e = !0);
335
- },
336
- o(l) {
337
- Q(t.$$.fragment, l), e = !1;
338
- },
339
- d(l) {
340
- We(t, l);
341
- }
342
- };
343
- }
344
- function Bi(s) {
345
- let t, e, l, c, n, a, o, r, d;
346
- const m = [Ki, Vi, qi, Ui], w = [];
347
- function h(b, v) {
348
- return (
349
- /*$captured*/
350
- b[16] ? (
351
- /*$requestResult*/
352
- b[18] !== et.OK ? 1 : (
353
- /*$saved*/
354
- b[19] ? 3 : 2
355
- )
356
- ) : 0
357
- );
358
- }
359
- return a = h(s), o = w[a] = m[a](s), {
360
- c() {
361
- t = g("div"), e = g("img"), n = N(), o.c(), f(e, "class", "m-auto col-start-1 col-end-1 max-h-[23.2em]"), tt(e.src, l = /*$dataTypePrefix*/
362
- s[22] + "," + /*$image*/
363
- s[21]) || f(e, "src", l), e.hidden = c = !/*$captured*/
364
- s[16] || !/*$showFaceWhileValidating*/
365
- s[28], f(e, "alt", ""), f(t, "class", r = "grid-cols-1 grid-rows-2 sm:grid-cols-2 sm:grid-rows-1 gap-[.5em] " + (/*$showFaceWhileValidating*/
366
- s[28] ? "grid m-[1em] overflow-hidden" : "absolute -translate-y-1/2 -translate-x-1/2 top-1/2 left-1/2 overflow-visible"));
367
- },
368
- m(b, v) {
369
- U(b, t, v), u(t, e), u(t, n), w[a].m(t, null), d = !0;
370
- },
371
- p(b, v) {
372
- (!d || v[0] & /*$dataTypePrefix, $image*/
373
- 6291456 && !tt(e.src, l = /*$dataTypePrefix*/
374
- b[22] + "," + /*$image*/
375
- b[21])) && f(e, "src", l), (!d || v[0] & /*$captured, $showFaceWhileValidating*/
376
- 268500992 && c !== (c = !/*$captured*/
377
- b[16] || !/*$showFaceWhileValidating*/
378
- b[28])) && (e.hidden = c);
379
- let C = a;
380
- a = h(b), a === C ? w[a].p(b, v) : (ve(), Q(w[C], 1, 1, () => {
381
- w[C] = null;
382
- }), Ce(), o = w[a], o ? o.p(b, v) : (o = w[a] = m[a](b), o.c()), z(o, 1), o.m(t, null)), (!d || v[0] & /*$showFaceWhileValidating*/
383
- 268435456 && r !== (r = "grid-cols-1 grid-rows-2 sm:grid-cols-2 sm:grid-rows-1 gap-[.5em] " + (/*$showFaceWhileValidating*/
384
- b[28] ? "grid m-[1em] overflow-hidden" : "absolute -translate-y-1/2 -translate-x-1/2 top-1/2 left-1/2 overflow-visible"))) && f(t, "class", r);
385
- },
386
- i(b) {
387
- d || (z(o), d = !0);
388
- },
389
- o(b) {
390
- Q(o), d = !1;
391
- },
392
- d(b) {
393
- b && K(t), w[a].d();
394
- }
395
- };
396
- }
397
- function Ui(s) {
398
- let t, e, l = (
399
- /*$_*/
400
- s[26]("docCollector.captured") + ""
401
- ), c, n, a, o, r = (
402
- /*$_*/
403
- s[26]("faceCollector.retakePhoto") + ""
404
- ), d, m, w = Ri(Di).faceStrategy !== Ai.DISABLED, h, b, v, C = w && ji();
405
- return {
406
- c() {
407
- t = g("div"), e = g("h1"), c = V(l), n = N(), a = g("div"), o = g("button"), d = V(r), m = N(), C && C.c(), f(e, "class", "text-3xl font-bold pb-[1em] transition-opacity"), f(o, "id", "bry-cc-retake-button"), f(o, "class", "ce-dui-btn ce-dui-btn-block flex-shrink text-base"), f(a, "class", "flex flex-row"), gt(a, "ce-dui-btn-group", !/*$exportButtonDisabled*/
408
- s[29]);
409
- },
410
- m(k, R) {
411
- U(k, t, R), u(t, e), u(e, c), u(t, n), u(t, a), u(a, o), u(o, d), u(a, m), C && C.m(a, null), h = !0, b || (v = le(
412
- o,
413
- "click",
414
- /*click_handler_7*/
415
- s[54]
416
- ), b = !0);
417
- },
418
- p(k, R) {
419
- (!h || R[0] & /*$_*/
420
- 67108864) && l !== (l = /*$_*/
421
- k[26]("docCollector.captured") + "") && J(c, l), (!h || R[0] & /*$_*/
422
- 67108864) && r !== (r = /*$_*/
423
- k[26]("faceCollector.retakePhoto") + "") && J(d, r), (!h || R[0] & /*$exportButtonDisabled*/
424
- 536870912) && gt(a, "ce-dui-btn-group", !/*$exportButtonDisabled*/
425
- k[29]);
426
- },
427
- i(k) {
428
- h || (z(C), h = !0);
429
- },
430
- o(k) {
431
- Q(C), h = !1;
432
- },
433
- d(k) {
434
- k && K(t), C && C.d(), b = !1, v();
435
- }
436
- };
437
- }
438
- function qi(s) {
439
- let t, e, l = (
440
- /*$_*/
441
- s[26]("faceCollector.unconformities") + ""
442
- ), c, n, a, o, r, d = (
443
- /*$_*/
444
- s[26]("faceCollector.provideAReasonForTheLowQualityCapture") + ""
445
- ), m, w, h, b, v, C, k, R, G = (
446
- /*$_*/
447
- s[26]("faceCollector.thisInformationIsRequired") + ""
448
- ), X, x, $, D, H, T = (
449
- /*$captured*/
450
- s[16] && Ct(s)
451
- );
452
- return {
453
- c() {
454
- t = g("div"), e = g("h1"), c = V(l), n = N(), a = g("div"), o = g("label"), r = g("span"), m = V(d), w = N(), h = g("textarea"), v = N(), C = g("label"), k = g("span"), R = V("("), X = V(G), x = V(")"), $ = N(), T && T.c(), f(e, "class", "text-3xl font-bold pb-[1em] transition-opacity"), f(r, "class", "ce-dui-label-text text-base"), f(o, "class", "ce-dui-label"), f(o, "for", "justification"), f(h, "contenteditable", ""), f(h, "id", "justification"), f(h, "class", "ce-dui-textarea ce-dui-textarea-bordered h-[6em] text-base"), f(h, "placeholder", b = /*$_*/
455
- s[26]("faceCollector.yourJustification")), f(k, "class", "ce-dui-label-text-alt text-base"), f(C, "class", "ce-dui-label"), f(C, "for", "justification"), f(a, "class", "ce-dui-form-control mt-[2.5em]");
456
- },
457
- m(I, B) {
458
- U(I, t, B), u(t, e), u(e, c), u(t, n), u(t, a), u(a, o), u(o, r), u(r, m), u(a, w), u(a, h), pt(
459
- h,
460
- /*$justification*/
461
- s[20]
462
- ), u(a, v), u(a, C), u(C, k), u(k, R), u(k, X), u(k, x), u(t, $), T && T.m(t, null), D || (H = le(
463
- h,
464
- "input",
465
- /*textarea_input_handler*/
466
- s[51]
467
- ), D = !0);
468
- },
469
- p(I, B) {
470
- B[0] & /*$_*/
471
- 67108864 && l !== (l = /*$_*/
472
- I[26]("faceCollector.unconformities") + "") && J(c, l), B[0] & /*$_*/
473
- 67108864 && d !== (d = /*$_*/
474
- I[26]("faceCollector.provideAReasonForTheLowQualityCapture") + "") && J(m, d), B[0] & /*$_*/
475
- 67108864 && b !== (b = /*$_*/
476
- I[26]("faceCollector.yourJustification")) && f(h, "placeholder", b), B[0] & /*$justification*/
477
- 1048576 && pt(
478
- h,
479
- /*$justification*/
480
- I[20]
481
- ), B[0] & /*$_*/
482
- 67108864 && G !== (G = /*$_*/
483
- I[26]("faceCollector.thisInformationIsRequired") + "") && J(X, G), /*$captured*/
484
- I[16] ? T ? T.p(I, B) : (T = Ct(I), T.c(), T.m(t, null)) : T && (T.d(1), T = null);
485
- },
486
- i: ee,
487
- o: ee,
488
- d(I) {
489
- I && K(t), T && T.d(), D = !1, H();
490
- }
491
- };
492
- }
493
- function Vi(s) {
494
- let t, e, l = (
495
- /*$_*/
496
- s[26]("faceCollector.everythingOk") + ""
497
- ), c, n, a, o, r = (
498
- /*$_*/
499
- s[26]("faceCollector.finish") + ""
500
- ), d, m, w, h = (
501
- /*$_*/
502
- s[26]("faceCollector.retakePhoto") + ""
503
- ), b, v, C;
504
- return {
505
- c() {
506
- t = g("div"), e = g("h1"), c = V(l), n = N(), a = g("div"), o = g("button"), d = V(r), m = N(), w = g("button"), b = V(h), f(e, "class", "text-3xl font-bold pb-[1em] transition-opacity"), o.disabled = !0, f(o, "class", "ce-dui-btn ce-dui-btn-primary ce-dui-btn-block flex-shrink"), f(w, "id", "bry-cc-retake-button"), f(w, "class", "ce-dui-btn ce-dui-btn-block ce-dui-btn-outline flex-shrink"), f(a, "class", "ce-dui-btn-group flex"), f(t, "class", "flex flex-col justify-between");
507
- },
508
- m(k, R) {
509
- U(k, t, R), u(t, e), u(e, c), u(t, n), u(t, a), u(a, o), u(o, d), u(a, m), u(a, w), u(w, b), v || (C = [
510
- le(
511
- o,
512
- "click",
513
- /*click_handler_3*/
514
- s[49]
515
- ),
516
- le(
517
- w,
518
- "click",
519
- /*click_handler_4*/
520
- s[50]
521
- )
522
- ], v = !0);
523
- },
524
- p(k, R) {
525
- R[0] & /*$_*/
526
- 67108864 && l !== (l = /*$_*/
527
- k[26]("faceCollector.everythingOk") + "") && J(c, l), R[0] & /*$_*/
528
- 67108864 && r !== (r = /*$_*/
529
- k[26]("faceCollector.finish") + "") && J(d, r), R[0] & /*$_*/
530
- 67108864 && h !== (h = /*$_*/
531
- k[26]("faceCollector.retakePhoto") + "") && J(b, h);
532
- },
533
- i: ee,
534
- o: ee,
535
- d(k) {
536
- k && K(t), v = !1, He(C);
537
- }
538
- };
539
- }
540
- function Ki(s) {
541
- let t;
542
- return {
543
- c() {
544
- t = g("div"), f(t, "class", "");
545
- },
546
- m(e, l) {
547
- U(e, t, l);
548
- },
549
- p: ee,
550
- i: ee,
551
- o: ee,
552
- d(e) {
553
- e && K(t);
554
- }
555
- };
556
- }
557
- function ji(s) {
558
- let t, e;
559
- return t = new Si({
560
- props: { cssClass: "ce-dui-btn-block flex-shrink" }
561
- }), {
562
- c() {
563
- Le(t.$$.fragment);
564
- },
565
- m(l, c) {
566
- Oe(t, l, c), e = !0;
567
- },
568
- i(l) {
569
- e || (z(t.$$.fragment, l), e = !0);
570
- },
571
- o(l) {
572
- Q(t.$$.fragment, l), e = !1;
573
- },
574
- d(l) {
575
- We(t, l);
576
- }
577
- };
578
- }
579
- function Ct(s) {
580
- let t, e, l = (
581
- /*$_*/
582
- s[26]("faceCollector.finish") + ""
583
- ), c, n, a, o, r = (
584
- /*$_*/
585
- s[26]("faceCollector.retakePhoto") + ""
586
- ), d, m, w;
587
- return {
588
- c() {
589
- t = g("div"), e = g("button"), c = V(l), a = N(), o = g("button"), d = V(r), e.disabled = n = /*$justification*/
590
- s[20].length === 0, f(e, "class", "ce-dui-btn ce-dui-btn-primary ce-dui-btn-block flex-shrink text-base"), f(o, "id", "bry-cc-retake-button"), f(o, "class", "ce-dui-btn ce-dui-btn-block ce-dui-btn-outline flex-shrink text-base"), f(t, "class", "ce-dui-btn-group flex");
591
- },
592
- m(h, b) {
593
- U(h, t, b), u(t, e), u(e, c), u(t, a), u(t, o), u(o, d), m || (w = [
594
- le(
595
- e,
596
- "click",
597
- /*click_handler_5*/
598
- s[52]
599
- ),
600
- le(
601
- o,
602
- "click",
603
- /*click_handler_6*/
604
- s[53]
605
- )
606
- ], m = !0);
607
- },
608
- p(h, b) {
609
- b[0] & /*$_*/
610
- 67108864 && l !== (l = /*$_*/
611
- h[26]("faceCollector.finish") + "") && J(c, l), b[0] & /*$justification*/
612
- 1048576 && n !== (n = /*$justification*/
613
- h[20].length === 0) && (e.disabled = n), b[0] & /*$_*/
614
- 67108864 && r !== (r = /*$_*/
615
- h[26]("faceCollector.retakePhoto") + "") && J(d, r);
616
- },
617
- d(h) {
618
- h && K(t), m = !1, He(w);
619
- }
620
- };
621
- }
622
- function yt(s) {
623
- let t, e = (
624
- /*$_*/
625
- s[26]("faceCollector.loading") + ""
626
- ), l;
627
- return {
628
- c() {
629
- t = g("span"), l = V(e), f(t, "class", "2xl:text-2xl lg:text-2xl text-md block p-2 m-auto text-center");
630
- },
631
- m(c, n) {
632
- U(c, t, n), u(t, l);
633
- },
634
- p(c, n) {
635
- n[0] & /*$_*/
636
- 67108864 && e !== (e = /*$_*/
637
- c[26]("faceCollector.loading") + "") && J(l, e);
638
- },
639
- d(c) {
640
- c && K(t);
641
- }
642
- };
643
- }
644
- function Xi(s) {
645
- let t, e, l, c;
646
- const n = [Li, Fi], a = [];
647
- function o(r, d) {
648
- return (
649
- /*$isLoadingAPP*/
650
- r[17] ? 0 : 1
651
- );
652
- }
653
- return e = o(s), l = a[e] = n[e](s), {
654
- c() {
655
- t = g("div"), l.c(), this.c = ee;
656
- },
657
- m(r, d) {
658
- U(r, t, d), a[e].m(t, null), c = !0;
659
- },
660
- p(r, d) {
661
- let m = e;
662
- e = o(r), e === m ? a[e].p(r, d) : (ve(), Q(a[m], 1, 1, () => {
663
- a[m] = null;
664
- }), Ce(), l = a[e], l ? l.p(r, d) : (l = a[e] = n[e](r), l.c()), z(l, 1), l.m(t, null));
665
- },
666
- i(r) {
667
- c || (z(l), c = !0);
668
- },
669
- o(r) {
670
- Q(l), c = !1;
671
- },
672
- d(r) {
673
- r && K(t), a[e].d();
674
- }
675
- };
676
- }
677
- let Yi = !1, zi = 10;
678
- function Et(s, t, e) {
679
- const l = t.videoHeight >= t.videoWidth && e.height >= e.width || t.videoHeight < t.videoWidth && e.height < e.width;
680
- s.drawImage(
681
- t,
682
- l ? 0 : t.videoWidth / 2 - e.width,
683
- 0,
684
- l ? t.videoWidth : t.videoHeight * (e.width / e.height),
685
- t.videoHeight,
686
- 0,
687
- 0,
688
- e.width,
689
- e.height
690
- );
691
- }
692
- function Ji(s, t, e) {
693
- let l, c, n, a, o, r, d, m, w, h, b, v, C, k, R, G, X, x, $, D, H, T, I, B, W, M;
694
- S(s, Xe, (i) => e(64, l = i)), S(s, se, (i) => e(14, n = i)), S(s, De, (i) => e(66, a = i)), S(s, ue, (i) => e(15, o = i)), S(s, Ae, (i) => e(67, r = i)), S(s, oi, (i) => e(68, d = i)), S(s, pe, (i) => e(16, m = i)), S(s, Ye, (i) => e(69, w = i)), S(s, ut, (i) => e(70, h = i)), S(s, ai, (i) => e(71, b = i)), S(s, Se, (i) => e(17, v = i)), S(s, ze, (i) => e(72, C = i)), S(s, Je, (i) => e(18, k = i)), S(s, Te, (i) => e(19, R = i)), S(s, ft, (i) => e(20, G = i)), S(s, dt, (i) => e(21, X = i)), S(s, ni, (i) => e(23, $ = i)), S(s, Ie, (i) => e(24, D = i)), S(s, Qe, (i) => e(73, H = i)), S(s, ht, (i) => e(25, T = i)), S(s, ri, (i) => e(26, I = i)), S(s, ci, (i) => e(27, B = i)), S(s, ui, (i) => e(28, W = i)), S(s, fi, (i) => e(29, M = i));
695
- let y, Y, q, oe = !1, te = {}, fe = !1, { enableMinutiae: _ } = t, { videoDimensions: F } = t, { noTabs: ne } = t, { weightsPath: Be } = t, { showCaptureButton: it } = t, { showUnconformities: lt } = t, { videoFilter: de } = t;
696
- const ye = _t(!1);
697
- S(s, ye, (i) => e(65, c = i));
698
- const Ue = _t("data:image/png;base64");
699
- S(s, Ue, (i) => e(22, x = i));
700
- let re, L, Ee = !1, he = !0, st = 0, qe = 0, Ve = !0, Ke = 0, je = !1, be = !1, Pe = "", E = {
701
- topLeftX: 130,
702
- topLeftY: 70,
703
- width: 540,
704
- height: 400
705
- };
706
- di.mixin({
707
- toast: !0,
708
- position: "bottom-left",
709
- timer: 13e3,
710
- timerProgressBar: !0
711
- }), hi(async () => {
712
- p(Se, v = !0, v), p(Ie, D = !1, D), p(ht, T = !1, T), p(pe, m = !1, m), p(Ae, r = Ge.REAR_CAMERA, r), _e(), $ && (await bi(Be), fe = !0);
713
- });
714
- function Dt() {
715
- const i = o.videoWidth, A = o.videoHeight, O = A * 0.73, P = O * 1.36;
716
- E.topLeftX = (i - P) / 2, E.topLeftY = (A - O) / 1.42, E.width = P, E.height = O;
717
- }
718
- function ot(i, A) {
719
- i.clearRect(0, 0, L.width, L.height), i.save(), de == "blur" ? (i.filter = `blur(${A.width / 60}px)`, i.rect(0, 0, L.width, L.height)) : de != "none" ? (i.fillStyle = de, i.fillRect(0, 0, L.width, L.height)) : (i.beginPath(), i.rect(0, 0, L.width, L.height)), i.rect(E.topLeftX, E.topLeftY, E.width, E.height), i.clip(), Et(i, A, L), i.restore(), i.save(), i.beginPath();
720
- const O = window.getComputedStyle(L).getPropertyValue("--p"), P = window.getComputedStyle(L).getPropertyValue("--su");
721
- if (i.strokeStyle = `hsl(${O})`, i.lineWidth = 16, i.rect(E.topLeftX, E.topLeftY, E.width, E.height), i.stroke(), oe && !je) {
722
- const ie = 1 - (Ke - (/* @__PURE__ */ new Date()).getTime()) / 4500;
723
- i.save(), i.beginPath(), i.lineWidth = 16, i.strokeStyle = `hsl(${P})`;
724
- const ge = E.width * 3 * ie, ct = E.height * 2 * ie, ei = ge < E.width ? ge : E.width, ti = ct < E.height ? ct : E.height;
725
- i.rect(E.topLeftX, E.topLeftY, ei, ti), i.stroke();
726
- }
727
- i.beginPath();
728
- const j = new Path2D();
729
- j.rect(E.topLeftX, E.topLeftY, E.width, E.height), i.clip(j), Et(i, A, L), i.restore();
730
- }
731
- function at() {
732
- p(se, n = Z.OK, n), e(10, Ee = !0), e(11, he = !1);
733
- }
734
- async function me() {
735
- if ($ && !fe)
736
- return ke(y, me);
737
- if (y) {
738
- if (H !== xe.Document && !ne)
739
- return ke(y, me);
740
- p(Ie, D = !0, D), $ ? (c || p(ye, c = !0, c), ot(L.getContext("2d"), y), ke(y, me)) : (ot(L.getContext("2d"), y), ke(y, me));
741
- }
742
- }
743
- async function nt() {
744
- mt(), p(Je, k = et.OK, k), p(pe, m = !0, m), p(Te, R = !0, R);
745
- const i = document.createElement("canvas"), A = i.getContext("2d");
746
- i.width = E.width, i.height = E.height, A?.drawImage(y, E.topLeftX, E.topLeftY, E.width, E.height, 0, 0, i.width, i.height);
747
- const O = i.toDataURL("image/jpeg").split(",");
748
- p(Ue, x = O[0], x), p(dt, X = O[1], X), p(ze, C = O[1], C);
749
- const P = [{ data: C }];
750
- window.dispatchEvent(new CustomEvent(
751
- "document-unconformities-validated",
752
- {
753
- detail: { bodyParts: P, status: k }
754
- }
755
- ));
756
- }
757
- function Re() {
758
- const i = {
759
- bodyPart: "DOCUMENT",
760
- data: X,
761
- justification: G
762
- };
763
- p(Te, R = !0, R), window.dispatchEvent(new CustomEvent("export-document", { detail: i }));
764
- }
765
- function ce() {
766
- window.dispatchEvent(new CustomEvent("document-scrapped")), p(Te, R = !1, R), p(Je, k = et.OK, k), p(pe, m = !1, m), p(ze, C = "", C), e(13, Pe = ""), e(12, be = !1), he && at();
767
- }
768
- async function _e(i) {
769
- p(Se, v = !0, v);
770
- const [A, O] = (F ?? "")?.replaceAll(" ", "")?.split("x")?.map((P) => P ? parseInt(P) : void 0);
771
- if (!(!A || !O)) {
772
- p(ue, o = { videoWidth: A, videoHeight: O }, o);
773
- try {
774
- if (n == Z.CAMERA_ORIENTATION_LANDSCAPE)
775
- return;
776
- await bt();
777
- const { deviceId: P, width: j, height: ie, aspectRatio: ge } = await mi(A, O, r, i);
778
- ge && ge < 1 && Ze() ? p(
779
- ue,
780
- o = {
781
- videoWidth: ie,
782
- videoHeight: j
783
- },
784
- o
785
- ) : p(
786
- ue,
787
- o = {
788
- videoWidth: j,
789
- videoHeight: ie
790
- },
791
- o
792
- ), Dt(), p(De, a = P || d[0].deviceId, a), p(se, n = Z.OK, n);
793
- } catch (P) {
794
- const j = P;
795
- e(11, he = !0);
796
- const ie = Fe(P) && P.constraint ? P.constraint : "";
797
- console.error(j, ie), Fe(j) && "message" in j && j.message.includes("Permission denied") && (console.error("User didn't give permission to use camera!"), p(se, n = Z.CAMERA_DENIED_ERROR, n)), Fe(j) && "message" in j && j.message.includes("Requested device not found") && p(se, n = Z.DEVICE_NOT_FOUND_ERROR, n), (ie.includes("width") || ie.includes("height")) && (console.error(`Camera does not meet the minimum supported requirements! (${ie})`), p(se, n = Z.CAMERA_UNSUPPORTED, n));
798
- }
799
- p(Se, v = !1, v);
800
- }
801
- }
802
- const At = ue.subscribe((i) => {
803
- y && Y && (e(3, y.width = i.videoWidth, y), e(3, y.height = i.videoHeight, y), e(4, Y.width = i.videoWidth, Y), e(4, Y.height = i.videoHeight, Y), e(8, re.width = i.videoWidth, re), e(8, re.height = i.videoHeight, re), e(9, L.width = i.videoWidth, L), e(9, L.height = i.videoHeight, L));
804
- }), St = _i.subscribe((i) => {
805
- let A = "";
806
- if (i.isPersonCloseEnough ? i.isPersonTooclose ? A = "faceCollector.moveAwayCamera" : i.isPersonInFrame || (A = "docCollector.stayInFrame") : A = "faceCollector.comeCloserCamera", A != "" && A != Pe && setTimeout(
807
- () => {
808
- e(12, be = !1), e(13, Pe = A), setTimeout(
809
- () => {
810
- e(12, be = !0);
811
- },
812
- 1e3
813
- );
814
- },
815
- 3e3
816
- ), !m && b && !oe && i.isPersonInFrame && !(!i.isPersonCloseEnough || i.isPersonTooclose)) {
817
- e(6, oe = !0), e(12, be = !1), Ke = (/* @__PURE__ */ new Date()).getTime() + 4500;
818
- const O = setInterval(
819
- () => {
820
- if (!b || m || !i.isPersonCloseEnough || i.isPersonTooclose || !i.isPersonInFrame) {
821
- e(6, oe = !1), je = !0, setTimeout(
822
- () => {
823
- je = !1;
824
- },
825
- 1500
826
- ), clearInterval(O);
827
- return;
828
- }
829
- const P = (/* @__PURE__ */ new Date()).getTime();
830
- Math.floor((Ke - P) % (1e3 * 60) / 1e3) <= 0 && (clearInterval(O), e(6, oe = !1), document.getElementsByTagName("biometric-collector")?.[0]?.shadowRoot?.getElementById("bry-cc-capture-btn")?.click());
831
- },
832
- 250
833
- );
834
- }
835
- }), Tt = pe.subscribe((i) => {
836
- q && (i ? (q.classList.remove("flex"), q.classList.add("hidden")) : (q.classList.add("flex"), q.classList.remove("hidden")));
837
- }), It = Ye.subscribe((i) => {
838
- y && i && (console.log("setting null in video srcObject"), e(3, y.srcObject = null, y), e(3, y.src = "", y));
839
- });
840
- Qe.subscribe(async (i) => {
841
- i === xe.Document && await bt();
842
- });
843
- const Ft = De.subscribe(async (i) => {
844
- if (!i)
845
- return;
846
- y || e(7, te = {});
847
- const { videoHeight: A, videoWidth: O } = o;
848
- try {
849
- const P = await gi(O, A, i);
850
- e(3, y.srcObject = P, y), p(ut, h = P, h), p(Ye, w = !1, w), Ve || (p(se, n = Z.CAMERA_ORIENTATION_LANDSCAPE, n), $e());
851
- } catch (P) {
852
- const j = P;
853
- e(11, he = !0), Fe(j) && "message" in j && j.message.includes("Requested device not found") && p(se, n = Z.DEVICE_NOT_FOUND_ERROR, n);
854
- }
855
- }), Lt = Qe.subscribe(async (i) => {
856
- i === xe.Document && !Ee && !m && Yi && await at();
857
- }), Ot = ye.subscribe(async (i) => {
858
- i && rt();
859
- }), Wt = Ie.subscribe((i) => {
860
- i && window.dispatchEvent(new CustomEvent("brycc-camera-ready"));
861
- }), Mt = pi.subscribe((i) => {
862
- if (o) {
863
- if (!Ze()) {
864
- const A = d.find((P) => P.deviceId !== a), O = A ? A.deviceId : d[0].deviceId;
865
- _e(O);
866
- return;
867
- }
868
- i ? (p(Ae, r = Ge.FRONT_CAMERA, r), _e()) : (p(Ae, r = Ge.REAR_CAMERA, r), _e());
869
- }
870
- }), Nt = ki.subscribe((i) => {
871
- !i.isSupported || !Ze() || (Ve = i.orientation.includes("landscape"), Ve ? (p(se, n = Z.OK, n), o && (p(De, a = "", a), _e())) : (p(se, n = Z.CAMERA_ORIENTATION_LANDSCAPE, n), $e()));
872
- });
873
- async function rt() {
874
- let i;
875
- if (qe >= zi) {
876
- qe = 0;
877
- const A = await vi(), O = await import("./face_api_0e3ce8c8_2.2.0.js");
878
- let P;
879
- P = O.detectSingleFace(L, A), i = await P.withFaceLandmarks(), Y.getContext("2d")?.clearRect(0, 0, Y.width, Y.height);
880
- } else
881
- qe++;
882
- i && Ci(i, Y, _, !0), c && ke(y, rt);
883
- }
884
- Xe.subscribe(async (i) => {
885
- i && (ce(), p(Xe, l = !1, l));
886
- }), wi(() => {
887
- $e(), Tt(), St(), At(), It(), Ft(), Lt(), clearInterval(st), Ot(), Mt(), Wt(), Nt(), mt(), st = 0;
888
- });
889
- function Ht(i) {
890
- we[i ? "unshift" : "push"](() => {
891
- y = i, e(3, y);
892
- });
893
- }
894
- const Bt = () => {
895
- p(
896
- ue,
897
- o = {
898
- videoHeight: y.videoHeight,
899
- videoWidth: y.videoWidth
900
- },
901
- o
902
- );
903
- };
904
- function Ut(i) {
905
- we[i ? "unshift" : "push"](() => {
906
- L = i, e(9, L);
907
- });
908
- }
909
- function qt(i) {
910
- we[i ? "unshift" : "push"](() => {
911
- Y = i, e(4, Y);
912
- });
913
- }
914
- function Vt(i) {
915
- we[i ? "unshift" : "push"](() => {
916
- re = i, e(8, re);
917
- });
918
- }
919
- const Kt = () => nt(), jt = () => Re(), Xt = () => ce();
920
- function Yt(i) {
921
- we[i ? "unshift" : "push"](() => {
922
- q = i, e(5, q);
923
- });
924
- }
925
- const zt = () => Re(), Jt = () => ce();
926
- function Qt() {
927
- G = this.value, ft.set(G);
928
- }
929
- const Gt = () => Re(), Zt = () => ce(), xt = () => ce(), $t = () => {
930
- e(10, Ee = !0);
931
- };
932
- return s.$$set = (i) => {
933
- "enableMinutiae" in i && e(35, _ = i.enableMinutiae), "videoDimensions" in i && e(36, F = i.videoDimensions), "noTabs" in i && e(37, ne = i.noTabs), "weightsPath" in i && e(38, Be = i.weightsPath), "showCaptureButton" in i && e(0, it = i.showCaptureButton), "showUnconformities" in i && e(1, lt = i.showUnconformities), "videoFilter" in i && e(39, de = i.videoFilter);
934
- }, [
935
- it,
936
- lt,
937
- me,
938
- y,
939
- Y,
940
- q,
941
- oe,
942
- te,
943
- re,
944
- L,
945
- Ee,
946
- he,
947
- be,
948
- Pe,
949
- n,
950
- o,
951
- m,
952
- v,
953
- k,
954
- R,
955
- G,
956
- X,
957
- x,
958
- $,
959
- D,
960
- T,
961
- I,
962
- B,
963
- W,
964
- M,
965
- ye,
966
- Ue,
967
- nt,
968
- Re,
969
- ce,
970
- _,
971
- F,
972
- ne,
973
- Be,
974
- de,
975
- Ht,
976
- Bt,
977
- Ut,
978
- qt,
979
- Vt,
980
- Kt,
981
- jt,
982
- Xt,
983
- Yt,
984
- zt,
985
- Jt,
986
- Qt,
987
- Gt,
988
- Zt,
989
- xt,
990
- $t
991
- ];
992
- }
993
- class Qi extends ii {
994
- constructor(t) {
995
- super(), li(
996
- this,
997
- {
998
- target: this.shadowRoot,
999
- props: si(this.attributes),
1000
- customElement: !0
1001
- },
1002
- Ji,
1003
- Xi,
1004
- Pt,
1005
- {
1006
- enableMinutiae: 35,
1007
- videoDimensions: 36,
1008
- noTabs: 37,
1009
- weightsPath: 38,
1010
- showCaptureButton: 0,
1011
- showUnconformities: 1,
1012
- videoFilter: 39,
1013
- play: 2
1014
- },
1015
- null,
1016
- [-1, -1, -1]
1017
- ), t && (t.target && U(t.target, this, t.anchor), t.props && (this.$set(t.props), ae()));
1018
- }
1019
- static get observedAttributes() {
1020
- return [
1021
- "enableMinutiae",
1022
- "videoDimensions",
1023
- "noTabs",
1024
- "weightsPath",
1025
- "showCaptureButton",
1026
- "showUnconformities",
1027
- "videoFilter",
1028
- "play"
1029
- ];
1030
- }
1031
- get enableMinutiae() {
1032
- return this.$$.ctx[35];
1033
- }
1034
- set enableMinutiae(t) {
1035
- this.$$set({ enableMinutiae: t }), ae();
1036
- }
1037
- get videoDimensions() {
1038
- return this.$$.ctx[36];
1039
- }
1040
- set videoDimensions(t) {
1041
- this.$$set({ videoDimensions: t }), ae();
1042
- }
1043
- get noTabs() {
1044
- return this.$$.ctx[37];
1045
- }
1046
- set noTabs(t) {
1047
- this.$$set({ noTabs: t }), ae();
1048
- }
1049
- get weightsPath() {
1050
- return this.$$.ctx[38];
1051
- }
1052
- set weightsPath(t) {
1053
- this.$$set({ weightsPath: t }), ae();
1054
- }
1055
- get showCaptureButton() {
1056
- return this.$$.ctx[0];
1057
- }
1058
- set showCaptureButton(t) {
1059
- this.$$set({ showCaptureButton: t }), ae();
1060
- }
1061
- get showUnconformities() {
1062
- return this.$$.ctx[1];
1063
- }
1064
- set showUnconformities(t) {
1065
- this.$$set({ showUnconformities: t }), ae();
1066
- }
1067
- get videoFilter() {
1068
- return this.$$.ctx[39];
1069
- }
1070
- set videoFilter(t) {
1071
- this.$$set({ videoFilter: t }), ae();
1072
- }
1073
- get play() {
1074
- return this.$$.ctx[2];
1075
- }
1076
- }
1077
- customElements.define("document-collector", Qi);
1078
- export {
1079
- Qi as default
1080
- };