bry-biometric-collector 3.0.0-RC01 → 3.0.0-RC03
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/DocumentCollector_cc7c3a54_3.0.0-RC03.js +1173 -0
- package/dist/{FaceCollector_95bb182b_3.0.0-RC01.js → FaceCollector_e350268a_3.0.0-RC03.js} +264 -270
- package/dist/{ValidationAlert_0a6b586f_3.0.0-RC01.js → ValidationAlert_dfb361e9_3.0.0-RC03.js} +230 -229
- package/dist/{___vite-browser-external_commonjs-proxy_8bb8db0d_3.0.0-RC01.js → ___vite-browser-external_commonjs-proxy_cbe30ad4_3.0.0-RC03.js} +31 -31
- package/dist/bry-biometric-collector-main.js +3 -3
- package/dist/{fingersApi_09f5a55b_3.0.0-RC01.js → fingersApi_5b5a03ec_3.0.0-RC03.js} +2 -2
- package/dist/index.js +3 -3
- package/dist/{index_b8df6bb6_3.0.0-RC01.js → index_4c3936a1_3.0.0-RC03.js} +3 -3
- package/dist/{index_fa569ec3_3.0.0-RC01.js → index_89b7de40_3.0.0-RC03.js} +3 -3
- package/dist/{main_550fd4ab_3.0.0-RC01.js → main_f74f12d4_3.0.0-RC03.js} +484 -474
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/DocumentCollector_480bc217_3.0.0-RC01.js +0 -1029
- /package/dist/{en-us_99b30d39_3.0.0-RC01.js → en-us_99b30d39_3.0.0-RC03.js} +0 -0
- /package/dist/{es-cl_cfa50670_3.0.0-RC01.js → es-cl_cfa50670_3.0.0-RC03.js} +0 -0
- /package/dist/{face_api_0e3ce8c8_3.0.0-RC01.js → face_api_0e3ce8c8_3.0.0-RC03.js} +0 -0
- /package/dist/{index-no-detector_281a271b_3.0.0-RC01.js → index-no-detector_281a271b_3.0.0-RC03.js} +0 -0
- /package/dist/{index-no-detector_56051121_3.0.0-RC01.js → index-no-detector_56051121_3.0.0-RC03.js} +0 -0
- /package/dist/{pt-br_d5ca6103_3.0.0-RC01.js → pt-br_d5ca6103_3.0.0-RC03.js} +0 -0
package/dist/{ValidationAlert_0a6b586f_3.0.0-RC01.js → ValidationAlert_dfb361e9_3.0.0-RC03.js}
RENAMED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { S as H, q as P, r as F, t as G, w as M, x as S, y as
|
2
|
-
function
|
1
|
+
import { S as H, q as P, r as F, t as G, w as M, x as S, y as I, B as T, C as h, H as g, J as E, Y as we, $ as le, bh as Y, bi as $, P as B, bb as O, Q as p, aZ as L, bj as x, T as b, bk as Q, a_ as C, aV as R, aX as pe, _ as ie, R as X, a2 as ve, aN as re, N as ee, a6 as se, U as V, G as k, V as Z, E as z, L as Ae, be as ae, Z as Le, ah as _e, M as q, aU as U, bc as te, bl as Ie, z as J, D as W, I as K, O as oe, aa as Ce } from "./main_f74f12d4_3.0.0-RC03.js";
|
2
|
+
function ke(i) {
|
3
3
|
let e, s, a, t, l = (
|
4
4
|
/*$_*/
|
5
5
|
i[2]("cameraStatus.deviceMustBeInLandscape") + ""
|
@@ -16,16 +16,16 @@ function Ce(i) {
|
|
16
16
|
i[3]
|
17
17
|
], d = {};
|
18
18
|
for (let m = 0; m < D.length; m += 1)
|
19
|
-
d =
|
19
|
+
d = Y(d, D[m]);
|
20
20
|
return {
|
21
21
|
c() {
|
22
|
-
e = O("svg"), s = O("path"), a =
|
22
|
+
e = O("svg"), s = O("path"), a = p(), t = I("span"), u = L(l), o = p(), n = I("span"), c = L(f), h(s, "fill", "currentColor"), h(s, "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"), x(e, d), h(t, "class", "text-xl font-bold text-center"), h(n, "class", "m-auto text-base block text-center");
|
23
23
|
},
|
24
24
|
m(m, j) {
|
25
25
|
M(m, e, j), b(e, s), M(m, a, j), M(m, t, j), b(t, u), M(m, o, j), M(m, n, j), b(n, c);
|
26
26
|
},
|
27
27
|
p(m, j) {
|
28
|
-
|
28
|
+
x(e, d = Q(D, [
|
29
29
|
{ class: "text-[8em] mx-auto" },
|
30
30
|
{ xmlns: "http://www.w3.org/2000/svg" },
|
31
31
|
{ width: "1em" },
|
@@ -45,7 +45,7 @@ function Ce(i) {
|
|
45
45
|
}
|
46
46
|
};
|
47
47
|
}
|
48
|
-
function
|
48
|
+
function ye(i) {
|
49
49
|
let e, s, a, t, l = (
|
50
50
|
/*$_*/
|
51
51
|
i[2]("cameraStatus.deviceMustBeInPortrait") + ""
|
@@ -62,16 +62,16 @@ function ke(i) {
|
|
62
62
|
i[3]
|
63
63
|
], d = {};
|
64
64
|
for (let m = 0; m < D.length; m += 1)
|
65
|
-
d =
|
65
|
+
d = Y(d, D[m]);
|
66
66
|
return {
|
67
67
|
c() {
|
68
|
-
e = O("svg"), s = O("path"), a =
|
68
|
+
e = O("svg"), s = O("path"), a = p(), t = I("span"), u = L(l), o = p(), n = I("span"), c = L(f), h(s, "fill", "currentColor"), h(s, "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"), x(e, d), h(t, "class", "text-xl font-bold text-center"), h(n, "class", "m-auto text-base block text-center");
|
69
69
|
},
|
70
70
|
m(m, j) {
|
71
71
|
M(m, e, j), b(e, s), M(m, a, j), M(m, t, j), b(t, u), M(m, o, j), M(m, n, j), b(n, c);
|
72
72
|
},
|
73
73
|
p(m, j) {
|
74
|
-
|
74
|
+
x(e, d = Q(D, [
|
75
75
|
{ class: "text-[8em] mx-auto" },
|
76
76
|
{ xmlns: "http://www.w3.org/2000/svg" },
|
77
77
|
{ width: "1em" },
|
@@ -91,7 +91,7 @@ function ke(i) {
|
|
91
91
|
}
|
92
92
|
};
|
93
93
|
}
|
94
|
-
function
|
94
|
+
function Se(i) {
|
95
95
|
let e, s, a, t, l = (
|
96
96
|
/*$_*/
|
97
97
|
i[2]("cameraStatus.biometricCapture") + ""
|
@@ -107,42 +107,42 @@ function ye(i) {
|
|
107
107
|
/*$$props*/
|
108
108
|
i[3]
|
109
109
|
], j = {};
|
110
|
-
for (let
|
111
|
-
j =
|
110
|
+
for (let w = 0; w < m.length; w += 1)
|
111
|
+
j = Y(j, m[w]);
|
112
112
|
return {
|
113
113
|
c() {
|
114
|
-
e = O("svg"), s = O("path"), a =
|
114
|
+
e = O("svg"), s = O("path"), a = p(), t = I("span"), u = L(l), o = p(), n = I("button"), c = L(f), h(s, "fill", "currentColor"), h(s, "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"), x(e, j), h(t, "class", "text-xl font-bold text-center"), h(n, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
|
115
115
|
},
|
116
|
-
m(
|
117
|
-
M(
|
116
|
+
m(w, v) {
|
117
|
+
M(w, e, v), b(e, s), M(w, a, v), M(w, t, v), b(t, u), M(w, o, v), M(w, n, v), b(n, c), D || (d = R(
|
118
118
|
n,
|
119
119
|
"click",
|
120
120
|
/*click_handler_5*/
|
121
121
|
i[9]
|
122
122
|
), D = !0);
|
123
123
|
},
|
124
|
-
p(
|
125
|
-
|
124
|
+
p(w, v) {
|
125
|
+
x(e, j = Q(m, [
|
126
126
|
{ class: "text-[8em] mx-auto" },
|
127
127
|
{ xmlns: "http://www.w3.org/2000/svg" },
|
128
128
|
{ width: "1em" },
|
129
129
|
{ height: "1em" },
|
130
130
|
{ viewBox: "0 0 24 24" },
|
131
|
-
|
131
|
+
v & /*$$props*/
|
132
132
|
8 && /*$$props*/
|
133
|
-
|
134
|
-
])),
|
133
|
+
w[3]
|
134
|
+
])), v & /*$_*/
|
135
135
|
4 && l !== (l = /*$_*/
|
136
|
-
|
136
|
+
w[2]("cameraStatus.biometricCapture") + "") && C(u, l), v & /*$_*/
|
137
137
|
4 && f !== (f = /*$_*/
|
138
|
-
|
138
|
+
w[2]("cameraStatus.startCapture") + "") && C(c, f);
|
139
139
|
},
|
140
|
-
d(
|
141
|
-
|
140
|
+
d(w) {
|
141
|
+
w && g(e), w && g(a), w && g(t), w && g(o), w && g(n), D = !1, d();
|
142
142
|
}
|
143
143
|
};
|
144
144
|
}
|
145
|
-
function
|
145
|
+
function Te(i) {
|
146
146
|
let e, s, a, t, l = (
|
147
147
|
/*$_*/
|
148
148
|
i[2]("cameraStatus.cameraNotSupported") + ""
|
@@ -152,7 +152,7 @@ function Se(i) {
|
|
152
152
|
), c, D, d, m = (
|
153
153
|
/*$_*/
|
154
154
|
i[2]("cameraStatus.restart") + ""
|
155
|
-
), j,
|
155
|
+
), j, w, v, y = [
|
156
156
|
{ class: "text-[8em] mx-auto" },
|
157
157
|
{ xmlns: "http://www.w3.org/2000/svg" },
|
158
158
|
{ width: "1em" },
|
@@ -160,23 +160,23 @@ function Se(i) {
|
|
160
160
|
{ viewBox: "0 0 256 256" },
|
161
161
|
/*$$props*/
|
162
162
|
i[3]
|
163
|
-
],
|
163
|
+
], A = {};
|
164
164
|
for (let r = 0; r < y.length; r += 1)
|
165
|
-
|
165
|
+
A = Y(A, y[r]);
|
166
166
|
return {
|
167
167
|
c() {
|
168
|
-
e = O("svg"), s = O("path"), a =
|
168
|
+
e = O("svg"), s = O("path"), a = p(), t = I("span"), u = L(l), o = p(), n = I("span"), c = L(f), D = p(), d = I("button"), j = L(m), h(s, "fill", "currentColor"), h(s, "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"), x(e, A), h(t, "class", "text-xl font-bold text-center"), h(n, "class", "m-auto text-base block text-center"), h(d, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
|
169
169
|
},
|
170
170
|
m(r, N) {
|
171
|
-
M(r, e, N), b(e, s), M(r, a, N), M(r, t, N), b(t, u), M(r, o, N), M(r, n, N), b(n, c), M(r, D, N), M(r, d, N), b(d, j),
|
171
|
+
M(r, e, N), b(e, s), M(r, a, N), M(r, t, N), b(t, u), M(r, o, N), M(r, n, N), b(n, c), M(r, D, N), M(r, d, N), b(d, j), w || (v = R(
|
172
172
|
d,
|
173
173
|
"click",
|
174
174
|
/*click_handler_4*/
|
175
175
|
i[8]
|
176
|
-
),
|
176
|
+
), w = !0);
|
177
177
|
},
|
178
178
|
p(r, N) {
|
179
|
-
|
179
|
+
x(e, A = Q(y, [
|
180
180
|
{ class: "text-[8em] mx-auto" },
|
181
181
|
{ xmlns: "http://www.w3.org/2000/svg" },
|
182
182
|
{ width: "1em" },
|
@@ -194,11 +194,11 @@ function Se(i) {
|
|
194
194
|
r[2]("cameraStatus.restart") + "") && C(j, m);
|
195
195
|
},
|
196
196
|
d(r) {
|
197
|
-
r && g(e), r && g(a), r && g(t), r && g(o), r && g(n), r && g(D), r && g(d),
|
197
|
+
r && g(e), r && g(a), r && g(t), r && g(o), r && g(n), r && g(D), r && g(d), w = !1, v();
|
198
198
|
}
|
199
199
|
};
|
200
200
|
}
|
201
|
-
function
|
201
|
+
function Ee(i) {
|
202
202
|
let e, s, a, t, l = (
|
203
203
|
/*$_*/
|
204
204
|
i[2]("cameraStatus.stayOnSameTab") + ""
|
@@ -208,7 +208,7 @@ function Te(i) {
|
|
208
208
|
), c, D, d, m = (
|
209
209
|
/*$_*/
|
210
210
|
i[2]("cameraStatus.restart") + ""
|
211
|
-
), j,
|
211
|
+
), j, w, v, y = [
|
212
212
|
{ class: "text-[8em] mx-auto" },
|
213
213
|
{ xmlns: "http://www.w3.org/2000/svg" },
|
214
214
|
{ width: "1em" },
|
@@ -216,23 +216,23 @@ function Te(i) {
|
|
216
216
|
{ viewBox: "0 0 256 256" },
|
217
217
|
/*$$props*/
|
218
218
|
i[3]
|
219
|
-
],
|
219
|
+
], A = {};
|
220
220
|
for (let r = 0; r < y.length; r += 1)
|
221
|
-
|
221
|
+
A = Y(A, y[r]);
|
222
222
|
return {
|
223
223
|
c() {
|
224
|
-
e = O("svg"), s = O("path"), a =
|
224
|
+
e = O("svg"), s = O("path"), a = p(), t = I("span"), u = L(l), o = p(), n = I("span"), c = L(f), D = p(), d = I("button"), j = L(m), h(s, "fill", "currentColor"), h(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"), x(e, A), h(t, "class", "text-xl font-bold text-center"), h(n, "class", "m-auto text-base block text-center"), h(d, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
|
225
225
|
},
|
226
226
|
m(r, N) {
|
227
|
-
M(r, e, N), b(e, s), M(r, a, N), M(r, t, N), b(t, u), M(r, o, N), M(r, n, N), b(n, c), M(r, D, N), M(r, d, N), b(d, j),
|
227
|
+
M(r, e, N), b(e, s), M(r, a, N), M(r, t, N), b(t, u), M(r, o, N), M(r, n, N), b(n, c), M(r, D, N), M(r, d, N), b(d, j), w || (v = R(
|
228
228
|
d,
|
229
229
|
"click",
|
230
230
|
/*click_handler_3*/
|
231
231
|
i[7]
|
232
|
-
),
|
232
|
+
), w = !0);
|
233
233
|
},
|
234
234
|
p(r, N) {
|
235
|
-
|
235
|
+
x(e, A = Q(y, [
|
236
236
|
{ class: "text-[8em] mx-auto" },
|
237
237
|
{ xmlns: "http://www.w3.org/2000/svg" },
|
238
238
|
{ width: "1em" },
|
@@ -250,11 +250,11 @@ function Te(i) {
|
|
250
250
|
r[2]("cameraStatus.restart") + "") && C(j, m);
|
251
251
|
},
|
252
252
|
d(r) {
|
253
|
-
r && g(e), r && g(a), r && g(t), r && g(o), r && g(n), r && g(D), r && g(d),
|
253
|
+
r && g(e), r && g(a), r && g(t), r && g(o), r && g(n), r && g(D), r && g(d), w = !1, v();
|
254
254
|
}
|
255
255
|
};
|
256
256
|
}
|
257
|
-
function
|
257
|
+
function Oe(i) {
|
258
258
|
let e, s, a, t, l = (
|
259
259
|
/*$_*/
|
260
260
|
i[2]("cameraStatus.cameraInUse") + ""
|
@@ -264,7 +264,7 @@ function Ee(i) {
|
|
264
264
|
), c, D, d, m = (
|
265
265
|
/*$_*/
|
266
266
|
i[2]("cameraStatus.restart") + ""
|
267
|
-
), j,
|
267
|
+
), j, w, v, y = [
|
268
268
|
{ class: "text-[8em] mx-auto" },
|
269
269
|
{ xmlns: "http://www.w3.org/2000/svg" },
|
270
270
|
{ width: "1em" },
|
@@ -272,23 +272,23 @@ function Ee(i) {
|
|
272
272
|
{ viewBox: "0 0 256 256" },
|
273
273
|
/*$$props*/
|
274
274
|
i[3]
|
275
|
-
],
|
275
|
+
], A = {};
|
276
276
|
for (let r = 0; r < y.length; r += 1)
|
277
|
-
|
277
|
+
A = Y(A, y[r]);
|
278
278
|
return {
|
279
279
|
c() {
|
280
|
-
e = O("svg"), s = O("path"), a =
|
280
|
+
e = O("svg"), s = O("path"), a = p(), t = I("span"), u = L(l), o = p(), n = I("span"), c = L(f), D = p(), d = I("button"), j = L(m), h(s, "fill", "currentColor"), h(s, "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"), x(e, A), h(t, "class", "text-xl font-bold text-center"), h(n, "class", "m-auto text-base block text-center"), h(d, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
|
281
281
|
},
|
282
282
|
m(r, N) {
|
283
|
-
M(r, e, N), b(e, s), M(r, a, N), M(r, t, N), b(t, u), M(r, o, N), M(r, n, N), b(n, c), M(r, D, N), M(r, d, N), b(d, j),
|
283
|
+
M(r, e, N), b(e, s), M(r, a, N), M(r, t, N), b(t, u), M(r, o, N), M(r, n, N), b(n, c), M(r, D, N), M(r, d, N), b(d, j), w || (v = R(
|
284
284
|
d,
|
285
285
|
"click",
|
286
286
|
/*click_handler_2*/
|
287
287
|
i[6]
|
288
|
-
),
|
288
|
+
), w = !0);
|
289
289
|
},
|
290
290
|
p(r, N) {
|
291
|
-
|
291
|
+
x(e, A = Q(y, [
|
292
292
|
{ class: "text-[8em] mx-auto" },
|
293
293
|
{ xmlns: "http://www.w3.org/2000/svg" },
|
294
294
|
{ width: "1em" },
|
@@ -306,11 +306,11 @@ function Ee(i) {
|
|
306
306
|
r[2]("cameraStatus.restart") + "") && C(j, m);
|
307
307
|
},
|
308
308
|
d(r) {
|
309
|
-
r && g(e), r && g(a), r && g(t), r && g(o), r && g(n), r && g(D), r && g(d),
|
309
|
+
r && g(e), r && g(a), r && g(t), r && g(o), r && g(n), r && g(D), r && g(d), w = !1, v();
|
310
310
|
}
|
311
311
|
};
|
312
312
|
}
|
313
|
-
function
|
313
|
+
function xe(i) {
|
314
314
|
let e, s, a, t, l = (
|
315
315
|
/*$_*/
|
316
316
|
i[2]("cameraStatus.cameraNotDetected") + ""
|
@@ -320,7 +320,7 @@ function Oe(i) {
|
|
320
320
|
), c, D, d, m = (
|
321
321
|
/*$_*/
|
322
322
|
i[2]("cameraStatus.restart") + ""
|
323
|
-
), j,
|
323
|
+
), j, w, v, y = [
|
324
324
|
{ class: "text-[8em] mx-auto" },
|
325
325
|
{ xmlns: "http://www.w3.org/2000/svg" },
|
326
326
|
{ width: "1em" },
|
@@ -328,23 +328,23 @@ function Oe(i) {
|
|
328
328
|
{ viewBox: "0 0 256 256" },
|
329
329
|
/*$$props*/
|
330
330
|
i[3]
|
331
|
-
],
|
331
|
+
], A = {};
|
332
332
|
for (let r = 0; r < y.length; r += 1)
|
333
|
-
|
333
|
+
A = Y(A, y[r]);
|
334
334
|
return {
|
335
335
|
c() {
|
336
|
-
e = O("svg"), s = O("path"), a =
|
336
|
+
e = O("svg"), s = O("path"), a = p(), t = I("span"), u = L(l), o = p(), n = I("span"), c = L(f), D = p(), d = I("button"), j = L(m), h(s, "fill", "currentColor"), h(s, "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"), x(e, A), h(t, "class", "text-xl font-bold text-center"), h(n, "class", "m-auto text-base block text-center"), h(d, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
|
337
337
|
},
|
338
338
|
m(r, N) {
|
339
|
-
M(r, e, N), b(e, s), M(r, a, N), M(r, t, N), b(t, u), M(r, o, N), M(r, n, N), b(n, c), M(r, D, N), M(r, d, N), b(d, j),
|
339
|
+
M(r, e, N), b(e, s), M(r, a, N), M(r, t, N), b(t, u), M(r, o, N), M(r, n, N), b(n, c), M(r, D, N), M(r, d, N), b(d, j), w || (v = R(
|
340
340
|
d,
|
341
341
|
"click",
|
342
342
|
/*click_handler_1*/
|
343
343
|
i[5]
|
344
|
-
),
|
344
|
+
), w = !0);
|
345
345
|
},
|
346
346
|
p(r, N) {
|
347
|
-
|
347
|
+
x(e, A = Q(y, [
|
348
348
|
{ class: "text-[8em] mx-auto" },
|
349
349
|
{ xmlns: "http://www.w3.org/2000/svg" },
|
350
350
|
{ width: "1em" },
|
@@ -362,7 +362,7 @@ function Oe(i) {
|
|
362
362
|
r[2]("cameraStatus.restart") + "") && C(j, m);
|
363
363
|
},
|
364
364
|
d(r) {
|
365
|
-
r && g(e), r && g(a), r && g(t), r && g(o), r && g(n), r && g(D), r && g(d),
|
365
|
+
r && g(e), r && g(a), r && g(t), r && g(o), r && g(n), r && g(D), r && g(d), w = !1, v();
|
366
366
|
}
|
367
367
|
};
|
368
368
|
}
|
@@ -376,7 +376,7 @@ function Ye(i) {
|
|
376
376
|
), c, D, d, m = (
|
377
377
|
/*$_*/
|
378
378
|
i[2]("cameraStatus.restart") + ""
|
379
|
-
), j,
|
379
|
+
), j, w, v, y = [
|
380
380
|
{ class: "text-[8em] mx-auto" },
|
381
381
|
{ xmlns: "http://www.w3.org/2000/svg" },
|
382
382
|
{ width: "1em" },
|
@@ -384,23 +384,23 @@ function Ye(i) {
|
|
384
384
|
{ viewBox: "0 0 256 256" },
|
385
385
|
/*$$props*/
|
386
386
|
i[3]
|
387
|
-
],
|
387
|
+
], A = {};
|
388
388
|
for (let r = 0; r < y.length; r += 1)
|
389
|
-
|
389
|
+
A = Y(A, y[r]);
|
390
390
|
return {
|
391
391
|
c() {
|
392
|
-
e = O("svg"), s = O("path"), a =
|
392
|
+
e = O("svg"), s = O("path"), a = p(), t = I("span"), u = L(l), o = p(), n = I("span"), c = L(f), D = p(), d = I("button"), j = L(m), h(s, "fill", "currentColor"), h(s, "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"), x(e, A), h(t, "class", "text-xl font-bold text-center"), h(n, "class", "m-auto text-base block text-center"), h(d, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
|
393
393
|
},
|
394
394
|
m(r, N) {
|
395
|
-
M(r, e, N), b(e, s), M(r, a, N), M(r, t, N), b(t, u), M(r, o, N), M(r, n, N), b(n, c), M(r, D, N), M(r, d, N), b(d, j),
|
395
|
+
M(r, e, N), b(e, s), M(r, a, N), M(r, t, N), b(t, u), M(r, o, N), M(r, n, N), b(n, c), M(r, D, N), M(r, d, N), b(d, j), w || (v = R(
|
396
396
|
d,
|
397
397
|
"click",
|
398
398
|
/*click_handler*/
|
399
399
|
i[4]
|
400
|
-
),
|
400
|
+
), w = !0);
|
401
401
|
},
|
402
402
|
p(r, N) {
|
403
|
-
|
403
|
+
x(e, A = Q(y, [
|
404
404
|
{ class: "text-[8em] mx-auto" },
|
405
405
|
{ xmlns: "http://www.w3.org/2000/svg" },
|
406
406
|
{ width: "1em" },
|
@@ -418,11 +418,11 @@ function Ye(i) {
|
|
418
418
|
r[2]("cameraStatus.restart") + "") && C(j, m);
|
419
419
|
},
|
420
420
|
d(r) {
|
421
|
-
r && g(e), r && g(a), r && g(t), r && g(o), r && g(n), r && g(D), r && g(d),
|
421
|
+
r && g(e), r && g(a), r && g(t), r && g(o), r && g(n), r && g(D), r && g(d), w = !1, v();
|
422
422
|
}
|
423
423
|
};
|
424
424
|
}
|
425
|
-
function
|
425
|
+
function Be(i) {
|
426
426
|
let e;
|
427
427
|
function s(l, u) {
|
428
428
|
if (
|
@@ -434,42 +434,42 @@ function xe(i) {
|
|
434
434
|
/*$cameraStatusStore*/
|
435
435
|
l[1] === B.DEVICE_NOT_FOUND_ERROR
|
436
436
|
)
|
437
|
-
return
|
437
|
+
return xe;
|
438
438
|
if (
|
439
439
|
/*$cameraStatusStore*/
|
440
440
|
l[1] === B.CAMERA_IN_USE_ERROR
|
441
441
|
)
|
442
|
-
return
|
442
|
+
return Oe;
|
443
443
|
if (
|
444
444
|
/*$cameraStatusStore*/
|
445
445
|
l[1] === B.CAMERA_CLOSED_ERROR
|
446
446
|
)
|
447
|
-
return
|
447
|
+
return Ee;
|
448
448
|
if (
|
449
449
|
/*$cameraStatusStore*/
|
450
450
|
l[1] === B.CAMERA_UNSUPPORTED
|
451
451
|
)
|
452
|
-
return
|
452
|
+
return Te;
|
453
453
|
if (
|
454
454
|
/*$cameraStatusStore*/
|
455
455
|
l[1] === B.CAMERA_NOT_STARTED
|
456
456
|
)
|
457
|
-
return
|
457
|
+
return Se;
|
458
458
|
if (
|
459
459
|
/*$cameraStatusStore*/
|
460
460
|
l[1] === B.CAMERA_ORIENTATION_PORTRAIT
|
461
461
|
)
|
462
|
-
return
|
462
|
+
return ye;
|
463
463
|
if (
|
464
464
|
/*$cameraStatusStore*/
|
465
465
|
l[1] === B.CAMERA_ORIENTATION_LANDSCAPE
|
466
466
|
)
|
467
|
-
return
|
467
|
+
return ke;
|
468
468
|
}
|
469
469
|
let a = s(i), t = a && a(i);
|
470
470
|
return {
|
471
471
|
c() {
|
472
|
-
e =
|
472
|
+
e = I("div"), t && t.c(), this.c = T, h(e, "class", "flex flex-col gap-4 justify-center items-center relative overflow-visible p-4");
|
473
473
|
},
|
474
474
|
m(l, u) {
|
475
475
|
M(l, e, u), t && t.m(e, null);
|
@@ -484,9 +484,9 @@ function xe(i) {
|
|
484
484
|
}
|
485
485
|
};
|
486
486
|
}
|
487
|
-
function
|
487
|
+
function Ue(i, e, s) {
|
488
488
|
let a, t;
|
489
|
-
E(i,
|
489
|
+
E(i, we, (d) => s(1, a = d)), E(i, le, (d) => s(2, t = d));
|
490
490
|
let { handler: l = () => {
|
491
491
|
} } = e;
|
492
492
|
const u = () => {
|
@@ -503,7 +503,7 @@ function Be(i, e, s) {
|
|
503
503
|
l();
|
504
504
|
};
|
505
505
|
return i.$$set = (d) => {
|
506
|
-
s(3, e =
|
506
|
+
s(3, e = Y(Y({}, e), $(d))), "handler" in d && s(0, l = d.handler);
|
507
507
|
}, e = $(e), [
|
508
508
|
l,
|
509
509
|
a,
|
@@ -517,7 +517,7 @@ function Be(i, e, s) {
|
|
517
517
|
D
|
518
518
|
];
|
519
519
|
}
|
520
|
-
class
|
520
|
+
class Qe extends H {
|
521
521
|
constructor(e) {
|
522
522
|
super(), P(
|
523
523
|
this,
|
@@ -526,8 +526,8 @@ class Ue extends H {
|
|
526
526
|
props: G(this.attributes),
|
527
527
|
customElement: !0
|
528
528
|
},
|
529
|
+
Ue,
|
529
530
|
Be,
|
530
|
-
xe,
|
531
531
|
F,
|
532
532
|
{ handler: 0 },
|
533
533
|
null
|
@@ -543,14 +543,14 @@ class Ue extends H {
|
|
543
543
|
this.$$set({ handler: e }), S();
|
544
544
|
}
|
545
545
|
}
|
546
|
-
customElements.define("camera-status",
|
547
|
-
const
|
548
|
-
function
|
546
|
+
customElements.define("camera-status", Qe);
|
547
|
+
const Re = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjgiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCA4NSAyNSIgZmlsbD0ibm9uZSIgb3BhY2l0eT0iMC4zNSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTI4LjMzNiAyMFY1LjdIMzQuMjc2QzM1LjIyMjcgNS43IDM2LjA0OTMgNS44NTMzMyAzNi43NTYgNi4xNkMzNy40NjI3IDYuNDY2NjcgMzguMDA5MyA2LjkgMzguMzk2IDcuNDZDMzguNzgyNyA4LjAyIDM4Ljk3NiA4LjY4IDM4Ljk3NiA5LjQ0QzM4Ljk3NiAxMC4xMzMzIDM4Ljc4MjcgMTAuNzUzMyAzOC4zOTYgMTEuM0MzOC4wMDkzIDExLjgzMzMgMzcuNDYyNyAxMi4yNTMzIDM2Ljc1NiAxMi41NkMzNi4wNDkzIDEyLjg2NjcgMzUuMjIyNyAxMy4wMiAzNC4yNzYgMTMuMDJIMzEuMjM2VjEySDM0LjQ1NkMzNS40ODI3IDEyIDM2LjM3NiAxMi4xNiAzNy4xMzYgMTIuNDhDMzcuOTA5MyAxMi43ODY3IDM4LjUwOTMgMTMuMjMzMyAzOC45MzYgMTMuODJDMzkuMzc2IDE0LjM5MzMgMzkuNTk2IDE1LjA4IDM5LjU5NiAxNS44OEMzOS41OTYgMTYuNjkzMyAzOS4zODI3IDE3LjQxMzMgMzguOTU2IDE4LjA0QzM4LjUyOTQgMTguNjY2NyAzNy45MjkzIDE5LjE1MzMgMzcuMTU2IDE5LjVDMzYuMzgyNyAxOS44MzMzIDM1LjQ4MjcgMjAgMzQuNDU2IDIwSDI4LjMzNlpNMzEuMDM2IDE3Ljc0SDM0LjQ3NkMzNS4yMDkzIDE3Ljc0IDM1Ljc4OTMgMTcuNTY2NyAzNi4yMTYgMTcuMjJDMzYuNjQyNyAxNi44NiAzNi44NTYgMTYuMzYgMzYuODU2IDE1LjcyQzM2Ljg1NiAxNS4xMDY3IDM2LjY0MjcgMTQuNjMzMyAzNi4yMTYgMTQuM0MzNS43ODkzIDEzLjk1MzMgMzUuMjA5MyAxMy43OCAzNC40NzYgMTMuNzhIMzAuODM2VjExLjU2SDM0LjEzNkMzNC43ODkzIDExLjU2IDM1LjMwMjcgMTEuNCAzNS42NzYgMTEuMDhDMzYuMDYyNyAxMC43NDY3IDM2LjI1NiAxMC4yOTMzIDM2LjI1NiA5LjcyQzM2LjI1NiA5LjE2IDM2LjA2MjcgOC43MjY2NyAzNS42NzYgOC40MkMzNS4zMDI3IDguMTEzMzMgMzQuNzg5MyA3Ljk2IDM0LjEzNiA3Ljk2SDMxLjAzNlYxNy43NFpNNDcuODMyMSA5Ljc2VjEyLjE2SDQ3LjI5MjFDNDYuNjY1NCAxMi4xNiA0Ni4xMjU0IDEyLjI4NjcgNDUuNjcyMSAxMi41NEM0NS4yMTg4IDEyLjc4IDQ0Ljg1ODggMTMuMTYgNDQuNTkyMSAxMy42OEM0NC4zMzg4IDE0LjIgNDQuMjEyMSAxNC44NzMzIDQ0LjIxMjEgMTUuN1YyMEg0MS41NzIxVjkuOTRINDQuMTkyMVYxMy4ySDQzLjg3MjFDNDMuOTkyMSAxMi4zMDY3IDQ0LjIzODggMTEuNjEzMyA0NC42MTIxIDExLjEyQzQ0Ljk5ODggMTAuNjI2NyA0NS40NDU0IDEwLjI4IDQ1Ljk1MjEgMTAuMDhDNDYuNDcyMSA5Ljg2NjY3IDQ2Ljk3ODggOS43NiA0Ny40NzIxIDkuNzZINDcuODMyMVpNNTcuMjAwOSA5Ljk0SDU5Ljg2MDlMNTUuMDgwOSAyMS4xNkM1NC42OTQyIDIyLjA1MzMgNTQuMjA3NSAyMi43MjY3IDUzLjYyMDkgMjMuMThDNTMuMDM0MiAyMy42NDY3IDUyLjI1NDIgMjMuODggNTEuMjgwOSAyMy44OEg0OS45ODA5VjIxLjcySDUxLjE0MDlDNTEuNTQwOSAyMS43MiA1MS44NzQyIDIxLjYyNjcgNTIuMTQwOSAyMS40NEM1Mi40MjA5IDIxLjI2NjcgNTIuNjQwOSAyMC45ODY3IDUyLjgwMDkgMjAuNkw1My4wMjA5IDIwLjAyTDQ4LjcyMDkgOS45NEg1MS40NjA5TDU0Ljc0MDkgMTguNTJINTMuODgwOUw1Ny4yMDA5IDkuOTRaTTY3LjkwMzUgMjBINjUuMjYzNVY5Ljk0SDY3LjkwMzVWMjBaTTY2LjU4MzUgOC4yQzY2LjE0MzUgOC4yIDY1Ljc2MzUgOC4wNTMzMyA2NS40NDM1IDcuNzZDNjUuMTM2OCA3LjQ1MzMzIDY0Ljk4MzUgNy4wODY2NyA2NC45ODM1IDYuNjZDNjQuOTgzNSA2LjIwNjY3IDY1LjEzNjggNS44MzMzMyA2NS40NDM1IDUuNTRDNjUuNzYzNSA1LjI0NjY3IDY2LjE0MzUgNS4xIDY2LjU4MzUgNS4xQzY3LjAzNjggNS4xIDY3LjQxNjggNS4yNTMzMyA2Ny43MjM1IDUuNTZDNjguMDMwMiA1Ljg1MzMzIDY4LjE4MzUgNi4yMiA2OC4xODM1IDYuNjZDNjguMTgzNSA3LjA4NjY3IDY4LjAzMDIgNy40NTMzMyA2Ny43MjM1IDcuNzZDNjcuNDE2OCA4LjA1MzMzIDY3LjAzNjggOC4yIDY2LjU4MzUgOC4yWk03MC41MDQgMjBWNS43SDc1LjUwNEM3Ny4wMzczIDUuNyA3OC4zNzczIDYuMDA2NjcgNzkuNTI0IDYuNjJDODAuNjg0IDcuMjIgODEuNTg0IDguMDYgODIuMjI0IDkuMTRDODIuODc3MyAxMC4yMDY3IDgzLjIwNCAxMS40NCA4My4yMDQgMTIuODRDODMuMjA0IDE0LjI0IDgyLjg3NzMgMTUuNDggODIuMjI0IDE2LjU2QzgxLjU4NCAxNy42MjY3IDgwLjY4NCAxOC40NjY3IDc5LjUyNCAxOS4wOEM3OC4zNzczIDE5LjY5MzMgNzcuMDM3MyAyMCA3NS41MDQgMjBINzAuNTA0Wk03My4yMDQgMTcuN0g3NS41MDRDNzYuNTA0IDE3LjcgNzcuMzY0IDE3LjUgNzguMDg0IDE3LjFDNzguODE3MyAxNi43IDc5LjM3NzMgMTYuMTQgNzkuNzY0IDE1LjQyQzgwLjE2NCAxNC42ODY3IDgwLjM2NCAxMy44MjY3IDgwLjM2NCAxMi44NEM4MC4zNjQgMTEuODUzMyA4MC4xNjQgMTEgNzkuNzY0IDEwLjI4Qzc5LjM3NzMgOS41NDY2NyA3OC44MTczIDguOTg2NjcgNzguMDg0IDguNkM3Ny4zNjQgOC4yIDc2LjUwNCA4IDc1LjUwNCA4SDczLjIwNFYxNy43WiIgZmlsbD0id2hpdGUiLz4KPGNpcmNsZSBjeD0iMTAiIGN5PSIxMy4zMDYyIiByPSI0IiBmaWxsPSJ3aGl0ZSIvPgo8Y2lyY2xlIGN4PSI5Ljk1OTA1IiBjeT0iMTMuMjUyIiByPSI2Ljc1MjAyIiBzdHJva2U9IndoaXRlIi8+CjxwYXRoIGQ9Ik01LjQ3OTE5IDRIMy4xMzI5NUMxLjk1NDk1IDQgMSA0Ljk1NDk1IDEgNi4xMzI5NVY4LjQ3OTE5TTE0LjQzNzYgNEgxNi43ODM4QzE3Ljk2MTggNCAxOC45MTY3IDQuOTU0OTUgMTguOTE2NyA2LjEzMjk1VjguNDc5MTlNMTguOTE2NyAxNy40Mzc2VjE5Ljc4MzhDMTguOTE2NyAyMC45NjE4IDE3Ljk2MTggMjEuOTE2NyAxNi43ODM4IDIxLjkxNjdIMTQuNDM3Nk01LjQ3OTE5IDIxLjkxNjdIMy4xMzI5NUMxLjk1NDk1IDIxLjkxNjcgMSAyMC45NjE4IDEgMTkuNzgzOFYxNy40Mzc2IiBzdHJva2U9IndoaXRlIi8+Cjwvc3ZnPgo=";
|
548
|
+
function Ve(i) {
|
549
549
|
let e, s, a, t;
|
550
550
|
return {
|
551
551
|
c() {
|
552
|
-
e =
|
553
|
-
i[0] === "DOCUMENT" ? "absolute inset-0 flex justify-
|
552
|
+
e = I("div"), s = I("img"), this.c = T, pe(s.src, a = Re) || h(s, "src", a), h(s, "alt", "BryID"), h(e, "class", t = /*$collectorSelect*/
|
553
|
+
i[0] === "DOCUMENT" ? "absolute inset-0 flex justify-end items-end mb-2 mr-2" : "absolute inset-0 flex justify-center items-end mb-4");
|
554
554
|
},
|
555
555
|
m(l, u) {
|
556
556
|
M(l, e, u), b(e, s);
|
@@ -558,7 +558,7 @@ function Re(i) {
|
|
558
558
|
p(l, [u]) {
|
559
559
|
u & /*$collectorSelect*/
|
560
560
|
1 && t !== (t = /*$collectorSelect*/
|
561
|
-
l[0] === "DOCUMENT" ? "absolute inset-0 flex justify-
|
561
|
+
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") && h(e, "class", t);
|
562
562
|
},
|
563
563
|
i: T,
|
564
564
|
o: T,
|
@@ -567,11 +567,11 @@ function Re(i) {
|
|
567
567
|
}
|
568
568
|
};
|
569
569
|
}
|
570
|
-
function
|
570
|
+
function Ze(i, e, s) {
|
571
571
|
let a;
|
572
|
-
return E(i,
|
572
|
+
return E(i, ie, (t) => s(0, a = t)), [a];
|
573
573
|
}
|
574
|
-
class
|
574
|
+
class He extends H {
|
575
575
|
constructor(e) {
|
576
576
|
super(), P(
|
577
577
|
this,
|
@@ -580,20 +580,20 @@ class Ze extends H {
|
|
580
580
|
props: G(this.attributes),
|
581
581
|
customElement: !0
|
582
582
|
},
|
583
|
+
Ze,
|
583
584
|
Ve,
|
584
|
-
Re,
|
585
585
|
F,
|
586
586
|
{},
|
587
587
|
null
|
588
588
|
), e && e.target && M(e.target, this, e.anchor);
|
589
589
|
}
|
590
590
|
}
|
591
|
-
customElements.define("water-mark",
|
592
|
-
function
|
591
|
+
customElements.define("water-mark", He);
|
592
|
+
function Pe(i) {
|
593
593
|
let e;
|
594
594
|
return {
|
595
595
|
c() {
|
596
|
-
e =
|
596
|
+
e = I("div"), h(e, "class", "w-16");
|
597
597
|
},
|
598
598
|
m(s, a) {
|
599
599
|
M(s, e, a);
|
@@ -604,7 +604,7 @@ function He(i) {
|
|
604
604
|
}
|
605
605
|
};
|
606
606
|
}
|
607
|
-
function
|
607
|
+
function Fe(i) {
|
608
608
|
let e, s, a, t, l, u, o, n = [
|
609
609
|
{ xmlns: "http://www.w3.org/2000/svg" },
|
610
610
|
{ width: "2em" },
|
@@ -614,10 +614,10 @@ function Pe(i) {
|
|
614
614
|
i[3]
|
615
615
|
], f = {};
|
616
616
|
for (let c = 0; c < n.length; c += 1)
|
617
|
-
f =
|
617
|
+
f = Y(f, n[c]);
|
618
618
|
return {
|
619
619
|
c() {
|
620
|
-
e =
|
620
|
+
e = I("div"), s = I("label"), a = O("svg"), t = O("path"), h(t, "fill", "hsl(var(--n))"), h(t, "d", "M208 56h-27.72l-13.63-20.44A8 8 0 0 0 160 32H96a8 8 0 0 0-6.65 3.56L75.71 56H48a24 24 0 0 0-24 24v112a24 24 0 0 0 24 24h160a24 24 0 0 0 24-24V80a24 24 0 0 0-24-24m-51.19 110.4A48.21 48.21 0 0 1 96 163.77V168a8 8 0 0 1-16 0v-24a8 8 0 0 1 8-8h24a8 8 0 0 1 0 16h-5.15a32.12 32.12 0 0 0 40.34 1.61a8 8 0 0 1 9.62 12.79M176 120a8 8 0 0 1-8 8h-24a8 8 0 0 1 0-16h5.15a32.12 32.12 0 0 0-40.34-1.61a8 8 0 0 1-9.62-12.79a48.21 48.21 0 0 1 60.81 2.63V96a8 8 0 0 1 16 0Z"), x(a, f), h(s, "tabindex", "0"), s.hidden = l = /*$cameraDevicesStore*/
|
621
621
|
i[1].length <= 1, h(s, "class", "ce-dui-btn ce-dui-btn-ghost w-16");
|
622
622
|
},
|
623
623
|
m(c, D) {
|
@@ -629,7 +629,7 @@ function Pe(i) {
|
|
629
629
|
), u = !0);
|
630
630
|
},
|
631
631
|
p(c, D) {
|
632
|
-
|
632
|
+
x(a, f = Q(n, [
|
633
633
|
{ xmlns: "http://www.w3.org/2000/svg" },
|
634
634
|
{ width: "2em" },
|
635
635
|
{ height: "2em" },
|
@@ -646,13 +646,13 @@ function Pe(i) {
|
|
646
646
|
}
|
647
647
|
};
|
648
648
|
}
|
649
|
-
function
|
649
|
+
function Ge(i) {
|
650
650
|
let e;
|
651
651
|
function s(l, u) {
|
652
652
|
return (
|
653
653
|
/*show*/
|
654
654
|
l[0] && /*$cameraDevicesStore*/
|
655
|
-
l[1].length > 1 ?
|
655
|
+
l[1].length > 1 ? Fe : Pe
|
656
656
|
);
|
657
657
|
}
|
658
658
|
let a = s(i), t = a(i);
|
@@ -673,18 +673,18 @@ function Fe(i) {
|
|
673
673
|
}
|
674
674
|
};
|
675
675
|
}
|
676
|
-
function
|
676
|
+
function Je(i, e, s) {
|
677
677
|
let a, t;
|
678
|
-
E(i, ve, (o) => s(1, a = o)), E(i,
|
678
|
+
E(i, ve, (o) => s(1, a = o)), E(i, re, (o) => s(2, t = o));
|
679
679
|
let { show: l } = e;
|
680
680
|
const u = () => {
|
681
|
-
|
681
|
+
ee(re, t = !t, t);
|
682
682
|
};
|
683
683
|
return i.$$set = (o) => {
|
684
|
-
s(3, e =
|
684
|
+
s(3, e = Y(Y({}, e), $(o))), "show" in o && s(0, l = o.show);
|
685
685
|
}, e = $(e), [l, a, t, e, u];
|
686
686
|
}
|
687
|
-
class
|
687
|
+
class ue extends H {
|
688
688
|
constructor(e) {
|
689
689
|
super(), P(
|
690
690
|
this,
|
@@ -693,8 +693,8 @@ class se extends H {
|
|
693
693
|
props: G(this.attributes),
|
694
694
|
customElement: !0
|
695
695
|
},
|
696
|
+
Je,
|
696
697
|
Ge,
|
697
|
-
Fe,
|
698
698
|
F,
|
699
699
|
{ show: 0 },
|
700
700
|
null
|
@@ -710,15 +710,15 @@ class se extends H {
|
|
710
710
|
this.$$set({ show: e }), S();
|
711
711
|
}
|
712
712
|
}
|
713
|
-
customElements.define("camera-btn",
|
714
|
-
function
|
713
|
+
customElements.define("camera-btn", ue);
|
714
|
+
function We(i) {
|
715
715
|
let e, s = (
|
716
716
|
/*$_*/
|
717
717
|
i[0]("buttons.startCapture") + ""
|
718
718
|
), a, t, l;
|
719
719
|
return {
|
720
720
|
c() {
|
721
|
-
e =
|
721
|
+
e = I("button"), a = L(s), this.c = T, h(e, "class", "bg-primary text-white font-medium h-12 px-4 rounded-3xl text-xl transition-colors duration-500 hover:bg-primary-focus");
|
722
722
|
},
|
723
723
|
m(u, o) {
|
724
724
|
M(u, e, o), b(e, a), t || (l = R(
|
@@ -740,15 +740,15 @@ function Je(i) {
|
|
740
740
|
}
|
741
741
|
};
|
742
742
|
}
|
743
|
-
function
|
743
|
+
function Ke(i, e, s) {
|
744
744
|
let a, t;
|
745
|
-
E(i,
|
745
|
+
E(i, se, (o) => s(3, a = o)), E(i, le, (o) => s(0, t = o));
|
746
746
|
function l() {
|
747
|
-
|
747
|
+
ee(se, a = !0, a);
|
748
748
|
}
|
749
749
|
return [t, l, () => l()];
|
750
750
|
}
|
751
|
-
class
|
751
|
+
class ze extends H {
|
752
752
|
constructor(e) {
|
753
753
|
super(), P(
|
754
754
|
this,
|
@@ -757,23 +757,23 @@ class Ie extends H {
|
|
757
757
|
props: G(this.attributes),
|
758
758
|
customElement: !0
|
759
759
|
},
|
760
|
+
Ke,
|
760
761
|
We,
|
761
|
-
Je,
|
762
762
|
F,
|
763
763
|
{},
|
764
764
|
null
|
765
765
|
), e && e.target && M(e.target, this, e.anchor);
|
766
766
|
}
|
767
767
|
}
|
768
|
-
customElements.define("start-auto-capture-btn",
|
769
|
-
function
|
768
|
+
customElements.define("start-auto-capture-btn", ze);
|
769
|
+
function Xe(i) {
|
770
770
|
let e, s = (
|
771
771
|
/*$_*/
|
772
772
|
i[3]("faceCollector.capture") + ""
|
773
773
|
), a, t, l;
|
774
774
|
return {
|
775
775
|
c() {
|
776
|
-
e =
|
776
|
+
e = I("button"), a = L(s), this.c = T, e.disabled = /*disabled*/
|
777
777
|
i[1], e.hidden = /*hidden*/
|
778
778
|
i[2], h(e, "class", "bg-primary text-white font-medium h-12 px-4 rounded-3xl text-xl transition-colors duration-200 hover:bg-primary-focus disabled:bg-gray-300 disabled:hover:bg-gray-300 disabled:opacity-60");
|
779
779
|
},
|
@@ -801,9 +801,9 @@ function Ke(i) {
|
|
801
801
|
}
|
802
802
|
};
|
803
803
|
}
|
804
|
-
function
|
804
|
+
function qe(i, e, s) {
|
805
805
|
let a;
|
806
|
-
E(i,
|
806
|
+
E(i, le, (n) => s(3, a = n));
|
807
807
|
let { handler: t = () => {
|
808
808
|
} } = e, { disabled: l = !1 } = e, { hidden: u = !1 } = e;
|
809
809
|
const o = () => !l && t();
|
@@ -811,7 +811,7 @@ function Xe(i, e, s) {
|
|
811
811
|
"handler" in n && s(0, t = n.handler), "disabled" in n && s(1, l = n.disabled), "hidden" in n && s(2, u = n.hidden);
|
812
812
|
}, [t, l, u, a, o];
|
813
813
|
}
|
814
|
-
class
|
814
|
+
class ne extends H {
|
815
815
|
constructor(e) {
|
816
816
|
super(), P(
|
817
817
|
this,
|
@@ -820,8 +820,8 @@ class ie extends H {
|
|
820
820
|
props: G(this.attributes),
|
821
821
|
customElement: !0
|
822
822
|
},
|
823
|
+
qe,
|
823
824
|
Xe,
|
824
|
-
Ke,
|
825
825
|
F,
|
826
826
|
{ handler: 0, disabled: 1, hidden: 2 },
|
827
827
|
null
|
@@ -849,34 +849,34 @@ class ie extends H {
|
|
849
849
|
this.$$set({ hidden: e }), S();
|
850
850
|
}
|
851
851
|
}
|
852
|
-
customElements.define("take-picture-btn",
|
853
|
-
function
|
852
|
+
customElements.define("take-picture-btn", ne);
|
853
|
+
function $e(i) {
|
854
854
|
let e, s, a, t, l = (
|
855
855
|
/*$ready*/
|
856
|
-
i[13] &&
|
856
|
+
i[13] && fe(i)
|
857
857
|
), u = (
|
858
858
|
/*$ready*/
|
859
|
-
i[13] &&
|
859
|
+
i[13] && ce(i)
|
860
860
|
), o = (
|
861
861
|
/*$ready*/
|
862
|
-
i[13] &&
|
862
|
+
i[13] && Me(i)
|
863
863
|
);
|
864
864
|
return {
|
865
865
|
c() {
|
866
|
-
e =
|
866
|
+
e = I("div"), l && l.c(), s = p(), u && u.c(), a = p(), o && o.c(), h(e, "class", "w-full flex justify-between items-center px-2"), U(e, "background-color", "rgba(" + te(
|
867
867
|
/*videoOverlay*/
|
868
868
|
i[5]
|
869
869
|
) + ", " + (1 - /*videoOverlayTransparency*/
|
870
870
|
i[6] / 100) + ")"), U(
|
871
871
|
e,
|
872
872
|
"height",
|
873
|
-
|
874
|
-
i[11]
|
873
|
+
/*$captureBarHeight*/
|
874
|
+
i[11] + "px"
|
875
875
|
), U(
|
876
876
|
e,
|
877
877
|
"max-height",
|
878
|
-
|
879
|
-
i[11]
|
878
|
+
/*$captureBarHeight*/
|
879
|
+
i[11] + "px"
|
880
880
|
);
|
881
881
|
},
|
882
882
|
m(n, f) {
|
@@ -885,33 +885,33 @@ function qe(i) {
|
|
885
885
|
p(n, f) {
|
886
886
|
/*$ready*/
|
887
887
|
n[13] ? l ? (l.p(n, f), f & /*$ready*/
|
888
|
-
8192 && z(l, 1)) : (l =
|
888
|
+
8192 && z(l, 1)) : (l = fe(n), l.c(), z(l, 1), l.m(e, s)) : l && (V(), k(l, 1, 1, () => {
|
889
889
|
l = null;
|
890
890
|
}), Z()), /*$ready*/
|
891
891
|
n[13] ? u ? (u.p(n, f), f & /*$ready*/
|
892
|
-
8192 && z(u, 1)) : (u =
|
892
|
+
8192 && z(u, 1)) : (u = ce(n), u.c(), z(u, 1), u.m(e, a)) : u && (V(), k(u, 1, 1, () => {
|
893
893
|
u = null;
|
894
894
|
}), Z()), /*$ready*/
|
895
895
|
n[13] ? o ? (o.p(n, f), f & /*$ready*/
|
896
|
-
8192 && z(o, 1)) : (o =
|
896
|
+
8192 && z(o, 1)) : (o = Me(n), o.c(), z(o, 1), o.m(e, null)) : o && (V(), k(o, 1, 1, () => {
|
897
897
|
o = null;
|
898
898
|
}), Z()), (!t || f & /*videoOverlay, videoOverlayTransparency*/
|
899
|
-
96) && U(e, "background-color", "rgba(" +
|
899
|
+
96) && U(e, "background-color", "rgba(" + te(
|
900
900
|
/*videoOverlay*/
|
901
901
|
n[5]
|
902
902
|
) + ", " + (1 - /*videoOverlayTransparency*/
|
903
|
-
n[6] / 100) + ")"), (!t || f &
|
903
|
+
n[6] / 100) + ")"), (!t || f & /*$captureBarHeight*/
|
904
904
|
2048) && U(
|
905
905
|
e,
|
906
906
|
"height",
|
907
|
-
|
908
|
-
n[11]
|
909
|
-
), (!t || f &
|
907
|
+
/*$captureBarHeight*/
|
908
|
+
n[11] + "px"
|
909
|
+
), (!t || f & /*$captureBarHeight*/
|
910
910
|
2048) && U(
|
911
911
|
e,
|
912
912
|
"max-height",
|
913
|
-
|
914
|
-
n[11]
|
913
|
+
/*$captureBarHeight*/
|
914
|
+
n[11] + "px"
|
915
915
|
);
|
916
916
|
},
|
917
917
|
i(n) {
|
@@ -925,40 +925,40 @@ function qe(i) {
|
|
925
925
|
}
|
926
926
|
};
|
927
927
|
}
|
928
|
-
function
|
928
|
+
function et(i) {
|
929
929
|
let e, s, a, t, l, u = (
|
930
930
|
/*$ready*/
|
931
|
-
i[13] &&
|
931
|
+
i[13] && me(i)
|
932
932
|
), o = (
|
933
933
|
/*showAutoCaptureButton*/
|
934
934
|
i[1] && !/*$automaticCapture*/
|
935
935
|
i[14] && !/*showCaptureButton*/
|
936
936
|
i[2] && /*$ready*/
|
937
|
-
i[13] &&
|
937
|
+
i[13] && ge()
|
938
938
|
), n = (
|
939
939
|
/*showCaptureButton*/
|
940
940
|
i[2] && /*$ready*/
|
941
|
-
i[13] &&
|
941
|
+
i[13] && Ne(i)
|
942
942
|
), f = (
|
943
943
|
/*$ready*/
|
944
|
-
i[13] &&
|
944
|
+
i[13] && de(i)
|
945
945
|
);
|
946
946
|
return {
|
947
947
|
c() {
|
948
|
-
e =
|
948
|
+
e = I("div"), u && u.c(), s = p(), o && o.c(), a = p(), n && n.c(), t = p(), f && f.c(), h(e, "class", "w-full flex justify-between items-center px-2"), U(e, "background-color", "rgba(" + te(
|
949
949
|
/*videoOverlay*/
|
950
950
|
i[5]
|
951
951
|
) + ", " + (1 - /*videoOverlayTransparency*/
|
952
952
|
i[6] / 100) + ")"), U(
|
953
953
|
e,
|
954
954
|
"height",
|
955
|
-
|
956
|
-
i[11]
|
955
|
+
/*$captureBarHeight*/
|
956
|
+
i[11] + "px"
|
957
957
|
), U(
|
958
958
|
e,
|
959
959
|
"max-height",
|
960
|
-
|
961
|
-
i[11]
|
960
|
+
/*$captureBarHeight*/
|
961
|
+
i[11] + "px"
|
962
962
|
);
|
963
963
|
},
|
964
964
|
m(c, D) {
|
@@ -967,41 +967,41 @@ function $e(i) {
|
|
967
967
|
p(c, D) {
|
968
968
|
/*$ready*/
|
969
969
|
c[13] ? u ? (u.p(c, D), D & /*$ready*/
|
970
|
-
8192 && z(u, 1)) : (u =
|
970
|
+
8192 && z(u, 1)) : (u = me(c), u.c(), z(u, 1), u.m(e, s)) : u && (V(), k(u, 1, 1, () => {
|
971
971
|
u = null;
|
972
972
|
}), Z()), /*showAutoCaptureButton*/
|
973
973
|
c[1] && !/*$automaticCapture*/
|
974
974
|
c[14] && !/*showCaptureButton*/
|
975
975
|
c[2] && /*$ready*/
|
976
976
|
c[13] ? o ? D & /*showAutoCaptureButton, $automaticCapture, showCaptureButton, $ready*/
|
977
|
-
24582 && z(o, 1) : (o =
|
977
|
+
24582 && z(o, 1) : (o = ge(), o.c(), z(o, 1), o.m(e, a)) : o && (V(), k(o, 1, 1, () => {
|
978
978
|
o = null;
|
979
979
|
}), Z()), /*showCaptureButton*/
|
980
980
|
c[2] && /*$ready*/
|
981
981
|
c[13] ? n ? (n.p(c, D), D & /*showCaptureButton, $ready*/
|
982
|
-
8196 && z(n, 1)) : (n =
|
982
|
+
8196 && z(n, 1)) : (n = Ne(c), n.c(), z(n, 1), n.m(e, t)) : n && (V(), k(n, 1, 1, () => {
|
983
983
|
n = null;
|
984
984
|
}), Z()), /*$ready*/
|
985
985
|
c[13] ? f ? (f.p(c, D), D & /*$ready*/
|
986
|
-
8192 && z(f, 1)) : (f =
|
986
|
+
8192 && z(f, 1)) : (f = de(c), f.c(), z(f, 1), f.m(e, null)) : f && (V(), k(f, 1, 1, () => {
|
987
987
|
f = null;
|
988
988
|
}), Z()), (!l || D & /*videoOverlay, videoOverlayTransparency*/
|
989
|
-
96) && U(e, "background-color", "rgba(" +
|
989
|
+
96) && U(e, "background-color", "rgba(" + te(
|
990
990
|
/*videoOverlay*/
|
991
991
|
c[5]
|
992
992
|
) + ", " + (1 - /*videoOverlayTransparency*/
|
993
|
-
c[6] / 100) + ")"), (!l || D &
|
993
|
+
c[6] / 100) + ")"), (!l || D & /*$captureBarHeight*/
|
994
994
|
2048) && U(
|
995
995
|
e,
|
996
996
|
"height",
|
997
|
-
|
998
|
-
c[11]
|
999
|
-
), (!l || D &
|
997
|
+
/*$captureBarHeight*/
|
998
|
+
c[11] + "px"
|
999
|
+
), (!l || D & /*$captureBarHeight*/
|
1000
1000
|
2048) && U(
|
1001
1001
|
e,
|
1002
1002
|
"max-height",
|
1003
|
-
|
1004
|
-
c[11]
|
1003
|
+
/*$captureBarHeight*/
|
1004
|
+
c[11] + "px"
|
1005
1005
|
);
|
1006
1006
|
},
|
1007
1007
|
i(c) {
|
@@ -1015,9 +1015,9 @@ function $e(i) {
|
|
1015
1015
|
}
|
1016
1016
|
};
|
1017
1017
|
}
|
1018
|
-
function
|
1018
|
+
function fe(i) {
|
1019
1019
|
let e, s;
|
1020
|
-
return e = new
|
1020
|
+
return e = new Ie({
|
1021
1021
|
props: { show: (
|
1022
1022
|
/*showConfigButton*/
|
1023
1023
|
i[0]
|
@@ -1046,9 +1046,9 @@ function re(i) {
|
|
1046
1046
|
}
|
1047
1047
|
};
|
1048
1048
|
}
|
1049
|
-
function
|
1049
|
+
function ce(i) {
|
1050
1050
|
let e, s;
|
1051
|
-
return e = new
|
1051
|
+
return e = new ne({
|
1052
1052
|
props: {
|
1053
1053
|
hidden: (
|
1054
1054
|
/*$cameraStatusStore*/
|
@@ -1085,9 +1085,9 @@ function oe(i) {
|
|
1085
1085
|
}
|
1086
1086
|
};
|
1087
1087
|
}
|
1088
|
-
function
|
1088
|
+
function Me(i) {
|
1089
1089
|
let e, s;
|
1090
|
-
return e = new
|
1090
|
+
return e = new ue({
|
1091
1091
|
props: { show: (
|
1092
1092
|
/*showCameraButton*/
|
1093
1093
|
i[3]
|
@@ -1116,9 +1116,9 @@ function fe(i) {
|
|
1116
1116
|
}
|
1117
1117
|
};
|
1118
1118
|
}
|
1119
|
-
function
|
1119
|
+
function me(i) {
|
1120
1120
|
let e, s;
|
1121
|
-
return e = new
|
1121
|
+
return e = new Ie({
|
1122
1122
|
props: { show: (
|
1123
1123
|
/*showConfigButton*/
|
1124
1124
|
i[0]
|
@@ -1147,9 +1147,9 @@ function ce(i) {
|
|
1147
1147
|
}
|
1148
1148
|
};
|
1149
1149
|
}
|
1150
|
-
function
|
1150
|
+
function ge(i) {
|
1151
1151
|
let e, s;
|
1152
|
-
return e = new
|
1152
|
+
return e = new ze({}), {
|
1153
1153
|
c() {
|
1154
1154
|
J(e.$$.fragment);
|
1155
1155
|
},
|
@@ -1167,9 +1167,9 @@ function Me(i) {
|
|
1167
1167
|
}
|
1168
1168
|
};
|
1169
1169
|
}
|
1170
|
-
function
|
1170
|
+
function Ne(i) {
|
1171
1171
|
let e, s;
|
1172
|
-
return e = new
|
1172
|
+
return e = new ne({
|
1173
1173
|
props: {
|
1174
1174
|
disabled: !/*enableCaptureButton*/
|
1175
1175
|
i[4] && /*$enableFaceApi*/
|
@@ -1178,7 +1178,7 @@ function me(i) {
|
|
1178
1178
|
i[15],
|
1179
1179
|
hidden: (
|
1180
1180
|
/*$cameraStatusStore*/
|
1181
|
-
i[16] !== B.OK ||
|
1181
|
+
i[16] !== B.OK || oe() && /*idrndLoading*/
|
1182
1182
|
(i[8] || /*idrndClosed*/
|
1183
1183
|
i[7] || /*waitingIdrndCaptureEvent*/
|
1184
1184
|
i[9])
|
@@ -1204,7 +1204,7 @@ function me(i) {
|
|
1204
1204
|
a[13] && !/*$enableFaceApi*/
|
1205
1205
|
a[15]), t & /*$cameraStatusStore, idrndLoading, idrndClosed, waitingIdrndCaptureEvent*/
|
1206
1206
|
66432 && (l.hidden = /*$cameraStatusStore*/
|
1207
|
-
a[16] !== B.OK ||
|
1207
|
+
a[16] !== B.OK || oe() && /*idrndLoading*/
|
1208
1208
|
(a[8] || /*idrndClosed*/
|
1209
1209
|
a[7] || /*waitingIdrndCaptureEvent*/
|
1210
1210
|
a[9])), t & /*handler*/
|
@@ -1222,9 +1222,9 @@ function me(i) {
|
|
1222
1222
|
}
|
1223
1223
|
};
|
1224
1224
|
}
|
1225
|
-
function
|
1225
|
+
function de(i) {
|
1226
1226
|
let e, s;
|
1227
|
-
return e = new
|
1227
|
+
return e = new ue({
|
1228
1228
|
props: { show: (
|
1229
1229
|
/*showCameraButton*/
|
1230
1230
|
i[3]
|
@@ -1253,13 +1253,14 @@ function ge(i) {
|
|
1253
1253
|
}
|
1254
1254
|
};
|
1255
1255
|
}
|
1256
|
-
function
|
1256
|
+
function tt(i) {
|
1257
1257
|
let e, s, a, t;
|
1258
|
-
const l = [$e
|
1258
|
+
const l = [et, $e], u = [];
|
1259
1259
|
function o(n, f) {
|
1260
1260
|
return (
|
1261
1261
|
/*$collectorSelect*/
|
1262
|
-
n[12] === "FACE"
|
1262
|
+
n[12] === "FACE" || /*$collectorSelect*/
|
1263
|
+
n[12] === "BOTH" ? 0 : (
|
1263
1264
|
/*$collectorSelect*/
|
1264
1265
|
n[12] === "DOCUMENT" ? 1 : -1
|
1265
1266
|
)
|
@@ -1289,27 +1290,26 @@ function et(i) {
|
|
1289
1290
|
}
|
1290
1291
|
};
|
1291
1292
|
}
|
1292
|
-
function
|
1293
|
-
let a, t, l, u, o, n;
|
1294
|
-
E(i, Ae, (
|
1295
|
-
let { showConfigButton:
|
1296
|
-
} } = e
|
1297
|
-
return i.$$set = (
|
1298
|
-
"showConfigButton" in
|
1293
|
+
function lt(i, e, s) {
|
1294
|
+
let a, t, l, u, o, n, f;
|
1295
|
+
E(i, Ae, (_) => s(17, a = _)), E(i, ae, (_) => s(11, t = _)), E(i, ie, (_) => s(12, l = _)), E(i, Le, (_) => s(13, u = _)), E(i, se, (_) => s(14, o = _)), E(i, _e, (_) => s(15, n = _)), E(i, we, (_) => s(16, f = _));
|
1296
|
+
let { showConfigButton: c = null } = e, { showAutoCaptureButton: D = null } = e, { showCaptureButton: d = null } = e, { showCameraButton: m = null } = e, { enableCaptureButton: j = null } = e, { videoOverlay: w = "" } = e, { videoOverlayTransparency: v = 100 } = e, { idrndClosed: y = null } = e, { idrndLoading: A = null } = e, { waitingIdrndCaptureEvent: r = null } = e, { handler: N = () => {
|
1297
|
+
} } = e;
|
1298
|
+
return i.$$set = (_) => {
|
1299
|
+
"showConfigButton" in _ && s(0, c = _.showConfigButton), "showAutoCaptureButton" in _ && s(1, D = _.showAutoCaptureButton), "showCaptureButton" in _ && s(2, d = _.showCaptureButton), "showCameraButton" in _ && s(3, m = _.showCameraButton), "enableCaptureButton" in _ && s(4, j = _.enableCaptureButton), "videoOverlay" in _ && s(5, w = _.videoOverlay), "videoOverlayTransparency" in _ && s(6, v = _.videoOverlayTransparency), "idrndClosed" in _ && s(7, y = _.idrndClosed), "idrndLoading" in _ && s(8, A = _.idrndLoading), "waitingIdrndCaptureEvent" in _ && s(9, r = _.waitingIdrndCaptureEvent), "handler" in _ && s(10, N = _.handler);
|
1299
1300
|
}, i.$$.update = () => {
|
1300
1301
|
i.$$.dirty & /*$videoStore*/
|
1301
|
-
131072 && a && (q() ?
|
1302
|
+
131072 && a && (q() ? ee(ae, t = Math.round(a.videoHeight * 0.25), t) : ee(ae, t = Math.round(a.videoHeight * 0.15), t));
|
1302
1303
|
}, [
|
1303
|
-
f,
|
1304
1304
|
c,
|
1305
1305
|
D,
|
1306
1306
|
d,
|
1307
1307
|
m,
|
1308
1308
|
j,
|
1309
|
-
|
1310
|
-
|
1309
|
+
w,
|
1310
|
+
v,
|
1311
1311
|
y,
|
1312
|
-
|
1312
|
+
A,
|
1313
1313
|
r,
|
1314
1314
|
N,
|
1315
1315
|
t,
|
@@ -1317,10 +1317,11 @@ function tt(i, e, s) {
|
|
1317
1317
|
u,
|
1318
1318
|
o,
|
1319
1319
|
n,
|
1320
|
+
f,
|
1320
1321
|
a
|
1321
1322
|
];
|
1322
1323
|
}
|
1323
|
-
class
|
1324
|
+
class at extends H {
|
1324
1325
|
constructor(e) {
|
1325
1326
|
super(), P(
|
1326
1327
|
this,
|
@@ -1329,8 +1330,8 @@ class lt extends H {
|
|
1329
1330
|
props: G(this.attributes),
|
1330
1331
|
customElement: !0
|
1331
1332
|
},
|
1333
|
+
lt,
|
1332
1334
|
tt,
|
1333
|
-
et,
|
1334
1335
|
F,
|
1335
1336
|
{
|
1336
1337
|
showConfigButton: 0,
|
@@ -1430,73 +1431,73 @@ class lt extends H {
|
|
1430
1431
|
this.$$set({ handler: e }), S();
|
1431
1432
|
}
|
1432
1433
|
}
|
1433
|
-
customElements.define("capture-bar",
|
1434
|
-
function
|
1434
|
+
customElements.define("capture-bar", at);
|
1435
|
+
function st(i) {
|
1435
1436
|
let e, s, a = (
|
1436
1437
|
/*isCountingDown*/
|
1437
|
-
i[0] &&
|
1438
|
+
i[0] && he(i)
|
1438
1439
|
), t = (
|
1439
1440
|
/*$enableFaceApi*/
|
1440
1441
|
i[3] && !/*isCountingDown*/
|
1441
1442
|
i[0] && /*$faceValidationAlert*/
|
1442
|
-
i[4] &&
|
1443
|
+
i[4] && De(i)
|
1443
1444
|
);
|
1444
1445
|
return {
|
1445
1446
|
c() {
|
1446
|
-
a && a.c(), e =
|
1447
|
+
a && a.c(), e = p(), t && t.c(), s = X();
|
1447
1448
|
},
|
1448
1449
|
m(l, u) {
|
1449
1450
|
a && a.m(l, u), M(l, e, u), t && t.m(l, u), M(l, s, u);
|
1450
1451
|
},
|
1451
1452
|
p(l, u) {
|
1452
1453
|
/*isCountingDown*/
|
1453
|
-
l[0] ? a ? a.p(l, u) : (a =
|
1454
|
+
l[0] ? a ? a.p(l, u) : (a = he(l), a.c(), a.m(e.parentNode, e)) : a && (a.d(1), a = null), /*$enableFaceApi*/
|
1454
1455
|
l[3] && !/*isCountingDown*/
|
1455
1456
|
l[0] && /*$faceValidationAlert*/
|
1456
|
-
l[4] ? t ? t.p(l, u) : (t =
|
1457
|
+
l[4] ? t ? t.p(l, u) : (t = De(l), t.c(), t.m(s.parentNode, s)) : t && (t.d(1), t = null);
|
1457
1458
|
},
|
1458
1459
|
d(l) {
|
1459
1460
|
a && a.d(l), l && g(e), t && t.d(l), l && g(s);
|
1460
1461
|
}
|
1461
1462
|
};
|
1462
1463
|
}
|
1463
|
-
function
|
1464
|
+
function it(i) {
|
1464
1465
|
let e, s, a = (
|
1465
1466
|
/*isCountingDown*/
|
1466
|
-
i[0] &&
|
1467
|
+
i[0] && je(i)
|
1467
1468
|
), t = (
|
1468
1469
|
/*$enableFaceApi*/
|
1469
1470
|
i[3] && !/*isCountingDown*/
|
1470
1471
|
i[0] && /*$faceValidationAlert*/
|
1471
|
-
i[4] &&
|
1472
|
+
i[4] && be(i)
|
1472
1473
|
);
|
1473
1474
|
return {
|
1474
1475
|
c() {
|
1475
|
-
a && a.c(), e =
|
1476
|
+
a && a.c(), e = p(), t && t.c(), s = X();
|
1476
1477
|
},
|
1477
1478
|
m(l, u) {
|
1478
1479
|
a && a.m(l, u), M(l, e, u), t && t.m(l, u), M(l, s, u);
|
1479
1480
|
},
|
1480
1481
|
p(l, u) {
|
1481
1482
|
/*isCountingDown*/
|
1482
|
-
l[0] ? a ? a.p(l, u) : (a =
|
1483
|
+
l[0] ? a ? a.p(l, u) : (a = je(l), a.c(), a.m(e.parentNode, e)) : a && (a.d(1), a = null), /*$enableFaceApi*/
|
1483
1484
|
l[3] && !/*isCountingDown*/
|
1484
1485
|
l[0] && /*$faceValidationAlert*/
|
1485
|
-
l[4] ? t ? t.p(l, u) : (t =
|
1486
|
+
l[4] ? t ? t.p(l, u) : (t = be(l), t.c(), t.m(s.parentNode, s)) : t && (t.d(1), t = null);
|
1486
1487
|
},
|
1487
1488
|
d(l) {
|
1488
1489
|
a && a.d(l), l && g(e), t && t.d(l), l && g(s);
|
1489
1490
|
}
|
1490
1491
|
};
|
1491
1492
|
}
|
1492
|
-
function
|
1493
|
+
function he(i) {
|
1493
1494
|
let e, s = (
|
1494
1495
|
/*$_*/
|
1495
1496
|
i[2]("faceCollector.stayStill") + ""
|
1496
1497
|
), a;
|
1497
1498
|
return {
|
1498
1499
|
c() {
|
1499
|
-
e =
|
1500
|
+
e = I("span"), a = L(s), h(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 " + (q() ? "top-[6%]" : "top-[4.5%]"));
|
1500
1501
|
},
|
1501
1502
|
m(t, l) {
|
1502
1503
|
M(t, e, l), b(e, a);
|
@@ -1511,7 +1512,7 @@ function Ne(i) {
|
|
1511
1512
|
}
|
1512
1513
|
};
|
1513
1514
|
}
|
1514
|
-
function
|
1515
|
+
function De(i) {
|
1515
1516
|
let e, s = (
|
1516
1517
|
/*$_*/
|
1517
1518
|
i[2](`${/*$faceValidationAlert*/
|
@@ -1519,7 +1520,7 @@ function de(i) {
|
|
1519
1520
|
), a;
|
1520
1521
|
return {
|
1521
1522
|
c() {
|
1522
|
-
e =
|
1523
|
+
e = I("span"), a = L(s), h(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 " + (q() ? "top-[6%]" : "top-[4.5%]"));
|
1523
1524
|
},
|
1524
1525
|
m(t, l) {
|
1525
1526
|
M(t, e, l), b(e, a);
|
@@ -1535,14 +1536,14 @@ function de(i) {
|
|
1535
1536
|
}
|
1536
1537
|
};
|
1537
1538
|
}
|
1538
|
-
function
|
1539
|
+
function je(i) {
|
1539
1540
|
let e, s = (
|
1540
1541
|
/*$_*/
|
1541
1542
|
i[2]("faceCollector.stayStill") + ""
|
1542
1543
|
), a;
|
1543
1544
|
return {
|
1544
1545
|
c() {
|
1545
|
-
e =
|
1546
|
+
e = I("span"), a = L(s), h(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 " + (q() ? "top-[6.5%]" : "top-[3%]"));
|
1546
1547
|
},
|
1547
1548
|
m(t, l) {
|
1548
1549
|
M(t, e, l), b(e, a);
|
@@ -1557,7 +1558,7 @@ function he(i) {
|
|
1557
1558
|
}
|
1558
1559
|
};
|
1559
1560
|
}
|
1560
|
-
function
|
1561
|
+
function be(i) {
|
1561
1562
|
let e, s = (
|
1562
1563
|
/*$_*/
|
1563
1564
|
i[2](`${/*$faceValidationAlert*/
|
@@ -1565,7 +1566,7 @@ function De(i) {
|
|
1565
1566
|
), a;
|
1566
1567
|
return {
|
1567
1568
|
c() {
|
1568
|
-
e =
|
1569
|
+
e = I("span"), a = L(s), h(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 " + (q() ? "top-[6.5%]" : "top-[3%]"));
|
1569
1570
|
},
|
1570
1571
|
m(t, l) {
|
1571
1572
|
M(t, e, l), b(e, a);
|
@@ -1581,19 +1582,19 @@ function De(i) {
|
|
1581
1582
|
}
|
1582
1583
|
};
|
1583
1584
|
}
|
1584
|
-
function
|
1585
|
+
function ut(i) {
|
1585
1586
|
let e;
|
1586
1587
|
function s(l, u) {
|
1587
1588
|
if (
|
1588
1589
|
/*$collectorSelect*/
|
1589
1590
|
l[1] === "FACE"
|
1590
1591
|
)
|
1591
|
-
return
|
1592
|
+
return it;
|
1592
1593
|
if (
|
1593
1594
|
/*$collectorSelect*/
|
1594
1595
|
l[1] === "DOCUMENT"
|
1595
1596
|
)
|
1596
|
-
return
|
1597
|
+
return st;
|
1597
1598
|
}
|
1598
1599
|
let a = s(i), t = a && a(i);
|
1599
1600
|
return {
|
@@ -1613,15 +1614,15 @@ function it(i) {
|
|
1613
1614
|
}
|
1614
1615
|
};
|
1615
1616
|
}
|
1616
|
-
function
|
1617
|
+
function nt(i, e, s) {
|
1617
1618
|
let a, t, l, u;
|
1618
|
-
E(i,
|
1619
|
+
E(i, ie, (n) => s(1, a = n)), E(i, le, (n) => s(2, t = n)), E(i, _e, (n) => s(3, l = n)), E(i, Ce, (n) => s(4, u = n));
|
1619
1620
|
let { isCountingDown: o } = e;
|
1620
1621
|
return i.$$set = (n) => {
|
1621
1622
|
"isCountingDown" in n && s(0, o = n.isCountingDown);
|
1622
1623
|
}, [o, a, t, l, u];
|
1623
1624
|
}
|
1624
|
-
class
|
1625
|
+
class rt extends H {
|
1625
1626
|
constructor(e) {
|
1626
1627
|
super(), P(
|
1627
1628
|
this,
|
@@ -1630,8 +1631,8 @@ class nt extends H {
|
|
1630
1631
|
props: G(this.attributes),
|
1631
1632
|
customElement: !0
|
1632
1633
|
},
|
1634
|
+
nt,
|
1633
1635
|
ut,
|
1634
|
-
it,
|
1635
1636
|
F,
|
1636
1637
|
{ isCountingDown: 0 },
|
1637
1638
|
null
|
@@ -1647,10 +1648,10 @@ class nt extends H {
|
|
1647
1648
|
this.$$set({ isCountingDown: e }), S();
|
1648
1649
|
}
|
1649
1650
|
}
|
1650
|
-
customElements.define("validation-alert",
|
1651
|
+
customElements.define("validation-alert", rt);
|
1651
1652
|
export {
|
1652
|
-
|
1653
|
-
|
1654
|
-
|
1655
|
-
|
1653
|
+
at as C,
|
1654
|
+
rt as V,
|
1655
|
+
He as W,
|
1656
|
+
Qe as a
|
1656
1657
|
};
|