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