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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/README.md +42 -0
  2. package/dist/CaptureBar_1cc7f43c_3.3.0-RC09.js +847 -0
  3. package/dist/{DocumentCollector_39a1a662_3.3.0-RC07.js → DocumentCollector_7823ce59_3.3.0-RC09.js} +52 -52
  4. package/dist/FaceCollector_0816a7ab_3.3.0-RC09.js +2260 -0
  5. package/dist/FaceOval_5296d98c_3.3.0-RC09.js +212 -0
  6. package/dist/StreamCollector_ce8ceb79_3.3.0-RC09.js +335 -0
  7. package/dist/ValidationAlert_a0e7de22_3.3.0-RC09.js +974 -0
  8. package/dist/{___vite-browser-external_commonjs-proxy_d99dffb1_3.3.0-RC07.js → ___vite-browser-external_commonjs-proxy_68c5c4f2_3.3.0-RC09.js} +1 -1
  9. package/dist/bry-biometric-collector-main.js +2 -2
  10. package/dist/{fingersApi_0f644f7a_3.3.0-RC07.js → fingersApi_30d9a5ce_3.3.0-RC09.js} +2 -2
  11. package/dist/index.d.ts +3 -1
  12. package/dist/index.js +2 -2
  13. package/dist/{index_8a654b33_3.3.0-RC07.js → index_8e78a016_3.3.0-RC09.js} +3 -3
  14. package/dist/{index_b0b3c37a_3.3.0-RC07.js → index_c9f76cd7_3.3.0-RC09.js} +3 -3
  15. package/dist/{main_866e3050_3.3.0-RC07.js → main_bb8df2d0_3.3.0-RC09.js} +3478 -3469
  16. package/dist/style.css +1 -1
  17. package/package.json +1 -1
  18. package/dist/CaptureBar_bbb41c40_3.3.0-RC07.js +0 -893
  19. package/dist/FaceCollector_5e696802_3.3.0-RC07.js +0 -2391
  20. package/dist/StreamCollector_89664342_3.3.0-RC07.js +0 -348
  21. package/dist/ValidationAlert_81eae4eb_3.3.0-RC07.js +0 -847
  22. /package/dist/{en-us_c02e99cd_3.3.0-RC07.js → en-us_c02e99cd_3.3.0-RC09.js} +0 -0
  23. /package/dist/{es-cl_6f3eda53_3.3.0-RC07.js → es-cl_6f3eda53_3.3.0-RC09.js} +0 -0
  24. /package/dist/{face_api_0e3ce8c8_3.3.0-RC07.js → face_api_0e3ce8c8_3.3.0-RC09.js} +0 -0
  25. /package/dist/{index-idlf-detector_39cfdffa_3.3.0-RC07.js → index-idlf-detector_39cfdffa_3.3.0-RC09.js} +0 -0
  26. /package/dist/{index-idlf-detector_a819b3c8_3.3.0-RC07.js → index-idlf-detector_a819b3c8_3.3.0-RC09.js} +0 -0
  27. /package/dist/{pt-br_e7d46668_3.3.0-RC07.js → pt-br_e7d46668_3.3.0-RC09.js} +0 -0
@@ -0,0 +1,212 @@
1
+ import { S as z, x as D, y as M, z as T, B as v, C as g, O as A, E as x, a1 as E, a2 as b, a3 as B, a0 as d, H as C, I as W, bx as _, J as F, a8 as O, K as R, aB as k, D as j, G as n, bk as S, X as q, Z as G, _ as I, a4 as J } from "./main_bb8df2d0_3.3.0-RC09.js";
2
+ import { W as K } from "./ValidationAlert_a0e7de22_3.3.0-RC09.js";
3
+ function N(a) {
4
+ let e, t, o, r = (
5
+ /*showWatermark*/
6
+ a[1] && H()
7
+ );
8
+ return {
9
+ c() {
10
+ e = j("div"), r && r.c(), n(e, "id", "face-oval"), n(e, "class", t = "loader " + /*loading*/
11
+ (a[0] ? "loading" : "") + " z-10"), n(
12
+ e,
13
+ "style",
14
+ /*styleVars*/
15
+ a[3]
16
+ );
17
+ },
18
+ m(l, s) {
19
+ v(l, e, s), r && r.m(e, null), o = !0;
20
+ },
21
+ p(l, s) {
22
+ /*showWatermark*/
23
+ l[1] ? r ? s & /*showWatermark*/
24
+ 2 && d(r, 1) : (r = H(), r.c(), d(r, 1), r.m(e, null)) : r && (E(), b(r, 1, 1, () => {
25
+ r = null;
26
+ }), B()), (!o || s & /*loading*/
27
+ 1 && t !== (t = "loader " + /*loading*/
28
+ (l[0] ? "loading" : "") + " z-10")) && n(e, "class", t), (!o || s & /*styleVars*/
29
+ 8) && n(
30
+ e,
31
+ "style",
32
+ /*styleVars*/
33
+ l[3]
34
+ );
35
+ },
36
+ i(l) {
37
+ o || (d(r), o = !0);
38
+ },
39
+ o(l) {
40
+ b(r), o = !1;
41
+ },
42
+ d(l) {
43
+ l && C(e), r && r.d();
44
+ }
45
+ };
46
+ }
47
+ function P(a) {
48
+ let e, t;
49
+ return {
50
+ c() {
51
+ e = S("svg"), t = S("ellipse"), n(t, "cx", "50"), n(t, "cy", "50"), n(t, "rx", "35"), n(t, "ry", "48"), n(t, "fill", "transparent"), n(t, "stroke", "currentColor"), n(t, "stroke-width", "3.5"), n(e, "viewBox", "0 0 100 100"), n(e, "width", "100%"), n(e, "height", "100%"), n(
52
+ e,
53
+ "class",
54
+ /*borderColor*/
55
+ a[2]
56
+ );
57
+ },
58
+ m(o, r) {
59
+ v(o, e, r), q(e, t);
60
+ },
61
+ p(o, r) {
62
+ r & /*borderColor*/
63
+ 4 && n(
64
+ e,
65
+ "class",
66
+ /*borderColor*/
67
+ o[2]
68
+ );
69
+ },
70
+ i: x,
71
+ o: x,
72
+ d(o) {
73
+ o && C(e);
74
+ }
75
+ };
76
+ }
77
+ function H(a) {
78
+ let e, t;
79
+ return e = new K({}), {
80
+ c() {
81
+ G(e.$$.fragment);
82
+ },
83
+ m(o, r) {
84
+ I(e, o, r), t = !0;
85
+ },
86
+ i(o) {
87
+ t || (d(e.$$.fragment, o), t = !0);
88
+ },
89
+ o(o) {
90
+ b(e.$$.fragment, o), t = !1;
91
+ },
92
+ d(o) {
93
+ J(e, o);
94
+ }
95
+ };
96
+ }
97
+ function V(a) {
98
+ let e, t, o, r;
99
+ const l = [P, N], s = [];
100
+ function h(i, u) {
101
+ return (
102
+ /*$collectorSelect*/
103
+ i[4] === "STREAM" ? 0 : 1
104
+ );
105
+ }
106
+ return e = h(a), t = s[e] = l[e](a), {
107
+ c() {
108
+ t.c(), o = A(), this.c = x;
109
+ },
110
+ m(i, u) {
111
+ s[e].m(i, u), v(i, o, u), r = !0;
112
+ },
113
+ p(i, [u]) {
114
+ let f = e;
115
+ e = h(i), e === f ? s[e].p(i, u) : (E(), b(s[f], 1, 1, () => {
116
+ s[f] = null;
117
+ }), B(), t = s[e], t ? t.p(i, u) : (t = s[e] = l[e](i), t.c()), d(t, 1), t.m(o.parentNode, o));
118
+ },
119
+ i(i) {
120
+ r || (d(t), r = !0);
121
+ },
122
+ o(i) {
123
+ b(t), r = !1;
124
+ },
125
+ d(i) {
126
+ s[e].d(i), i && C(o);
127
+ }
128
+ };
129
+ }
130
+ const X = "hsl(var(--p))", Z = "hsl(var(--su))";
131
+ function L(a, e, t) {
132
+ let o, r, l, s;
133
+ W(a, _, (c) => t(10, r = c)), W(a, F, (c) => t(11, l = c)), W(a, O, (c) => t(4, s = c));
134
+ let { loading: h = !1 } = e, { showWatermark: i = !1 } = e, { borderColor: u = "text-blue-400" } = e, f, m, p = 0.8, w = 8, y = 0.15;
135
+ return R() && (p = 0.65, w = 10, y = 0.25), a.$$set = (c) => {
136
+ "loading" in c && t(0, h = c.loading), "showWatermark" in c && t(1, i = c.showWatermark), "borderColor" in c && t(2, u = c.borderColor);
137
+ }, a.$$.update = () => {
138
+ if (a.$$.dirty & /*$videoStore, percentage, ovalHeight, ovalWidth, $ovalDimensions, captureBarPercentage*/
139
+ 3808 && l) {
140
+ t(6, m = l.videoHeight * p), t(5, f = m / 1.45), k(_, r.width = f, r), k(_, r.height = m, r), k(_, r.x = (l.videoWidth - r.width) / 2, r);
141
+ let c = l.videoHeight - l.videoHeight * y;
142
+ k(_, r.y = c - r.height, r);
143
+ }
144
+ a.$$.dirty & /*ovalWidth, ovalHeight, borderWidth*/
145
+ 352 && t(3, o = `
146
+ --oval-width: ${f}px;
147
+ --oval-height: ${m}px;
148
+ --border-color: ${X};
149
+ --border-color-animation: ${Z};
150
+ --oval-border: ${w}px;
151
+ `);
152
+ }, [
153
+ h,
154
+ i,
155
+ u,
156
+ o,
157
+ s,
158
+ f,
159
+ m,
160
+ p,
161
+ w,
162
+ y,
163
+ r,
164
+ l
165
+ ];
166
+ }
167
+ class Q extends z {
168
+ constructor(e) {
169
+ super(), D(
170
+ this,
171
+ {
172
+ target: this.shadowRoot,
173
+ props: T(this.attributes),
174
+ customElement: !0
175
+ },
176
+ L,
177
+ V,
178
+ M,
179
+ {
180
+ loading: 0,
181
+ showWatermark: 1,
182
+ borderColor: 2
183
+ },
184
+ null
185
+ ), e && (e.target && v(e.target, this, e.anchor), e.props && (this.$set(e.props), g()));
186
+ }
187
+ static get observedAttributes() {
188
+ return ["loading", "showWatermark", "borderColor"];
189
+ }
190
+ get loading() {
191
+ return this.$$.ctx[0];
192
+ }
193
+ set loading(e) {
194
+ this.$$set({ loading: e }), g();
195
+ }
196
+ get showWatermark() {
197
+ return this.$$.ctx[1];
198
+ }
199
+ set showWatermark(e) {
200
+ this.$$set({ showWatermark: e }), g();
201
+ }
202
+ get borderColor() {
203
+ return this.$$.ctx[2];
204
+ }
205
+ set borderColor(e) {
206
+ this.$$set({ borderColor: e }), g();
207
+ }
208
+ }
209
+ customElements.define("face-oval", Q);
210
+ export {
211
+ Q as F
212
+ };
@@ -0,0 +1,335 @@
1
+ import { S as pe, x as be, y as ge, z as he, B as P, C as k, D as M, N, E as se, bd as m, G as ne, X as B, a0 as g, a1 as Z, a2 as E, a3 as J, H as ie, I as b, aa as S, a9 as Y, am as x, ac as T, au as $, av as ee, ah as L, T as I, ar as F, aA as ve, f as we, aB as u, aF as Ee, l as A, aK as ye, aM as te, aU as Ce, e as Ie, b4 as ze, aW as De, Z as R, _ as j, a4 as K, w as ke, aQ as Se, bc as Le } from "./main_bb8df2d0_3.3.0-RC09.js";
2
+ import { V as Fe, C as Be } from "./ValidationAlert_a0e7de22_3.3.0-RC09.js";
3
+ import { F as Oe } from "./FaceOval_5296d98c_3.3.0-RC09.js";
4
+ import "./face_api_0e3ce8c8_3.3.0-RC09.js";
5
+ function ae(s) {
6
+ let t, a, r, l, _;
7
+ return a = new Fe({}), l = new Oe({
8
+ props: { borderColor: (
9
+ /*ovalColor*/
10
+ s[5]
11
+ ) }
12
+ }), {
13
+ c() {
14
+ t = M("div"), R(a.$$.fragment), r = N(), R(l.$$.fragment), ne(t, "class", "absolute inset-0 flex flex-col items-center mt-[4%] mb-[8%] z-50");
15
+ },
16
+ m(c, n) {
17
+ P(c, t, n), j(a, t, null), B(t, r), j(l, t, null), _ = !0;
18
+ },
19
+ p(c, n) {
20
+ const i = {};
21
+ n[0] & /*ovalColor*/
22
+ 32 && (i.borderColor = /*ovalColor*/
23
+ c[5]), l.$set(i);
24
+ },
25
+ i(c) {
26
+ _ || (g(a.$$.fragment, c), g(l.$$.fragment, c), _ = !0);
27
+ },
28
+ o(c) {
29
+ E(a.$$.fragment, c), E(l.$$.fragment, c), _ = !1;
30
+ },
31
+ d(c) {
32
+ c && ie(t), K(a), K(l);
33
+ }
34
+ };
35
+ }
36
+ function re(s) {
37
+ let t, a;
38
+ return t = new Be({ props: { handler: (
39
+ /*func*/
40
+ s[12]
41
+ ) } }), {
42
+ c() {
43
+ R(t.$$.fragment);
44
+ },
45
+ m(r, l) {
46
+ j(t, r, l), a = !0;
47
+ },
48
+ p: se,
49
+ i(r) {
50
+ a || (g(t.$$.fragment, r), a = !0);
51
+ },
52
+ o(r) {
53
+ E(t.$$.fragment, r), a = !1;
54
+ },
55
+ d(r) {
56
+ K(t, r);
57
+ }
58
+ };
59
+ }
60
+ function Ve(s) {
61
+ let t, a, r, l, _, c, n = (
62
+ /*$ready*/
63
+ s[7] && !/*idrndClosed*/
64
+ s[3] && !/*idrndLoading*/
65
+ s[4] && ae(s)
66
+ ), i = (
67
+ /*idrndClosed*/
68
+ s[3] && !/*idrndLoading*/
69
+ s[4] && re(s)
70
+ );
71
+ return {
72
+ c() {
73
+ t = M("div"), n && n.c(), a = N(), r = M("idlive-face-capture"), _ = N(), i && i.c(), this.c = se, m(r, "class", "w-full h-full"), m(r, "mask_hidden", ""), m(r, "auto_close_disabled", ""), m(
74
+ r,
75
+ "device_id",
76
+ /*$selectedVideoDeviceId*/
77
+ s[6]
78
+ ), m(r, "face_not_centered_check_enabled", ""), m(r, "sunglasses_detected_check_enabled", ""), m(r, "mouth_open_check_enabled", ""), m(r, "face_blurry_check_enabled", ""), m(r, "dark_image_check_enabled", ""), m(r, "eyes_closed_check_enabled", ""), m(
79
+ r,
80
+ "payload_size",
81
+ /*livenessBlobSize*/
82
+ s[1]
83
+ ), m(r, "style", l = /*idrndClosed*/
84
+ s[3] ? "opacity: 0; pointer-events: none;" : "opacity: 1;"), ne(t, "class", "flex justify-center w-full h-full relative bg-black");
85
+ },
86
+ m(o, d) {
87
+ P(o, t, d), n && n.m(t, null), B(t, a), B(t, r), s[11](r), B(t, _), i && i.m(t, null), c = !0;
88
+ },
89
+ p(o, d) {
90
+ /*$ready*/
91
+ o[7] && !/*idrndClosed*/
92
+ o[3] && !/*idrndLoading*/
93
+ o[4] ? n ? (n.p(o, d), d[0] & /*$ready, idrndClosed, idrndLoading*/
94
+ 152 && g(n, 1)) : (n = ae(o), n.c(), g(n, 1), n.m(t, a)) : n && (Z(), E(n, 1, 1, () => {
95
+ n = null;
96
+ }), J()), (!c || d[0] & /*$selectedVideoDeviceId*/
97
+ 64) && m(
98
+ r,
99
+ "device_id",
100
+ /*$selectedVideoDeviceId*/
101
+ o[6]
102
+ ), (!c || d[0] & /*livenessBlobSize*/
103
+ 2) && m(
104
+ r,
105
+ "payload_size",
106
+ /*livenessBlobSize*/
107
+ o[1]
108
+ ), (!c || d[0] & /*idrndClosed*/
109
+ 8 && l !== (l = /*idrndClosed*/
110
+ o[3] ? "opacity: 0; pointer-events: none;" : "opacity: 1;")) && m(r, "style", l), /*idrndClosed*/
111
+ o[3] && !/*idrndLoading*/
112
+ o[4] ? i ? (i.p(o, d), d[0] & /*idrndClosed, idrndLoading*/
113
+ 24 && g(i, 1)) : (i = re(o), i.c(), g(i, 1), i.m(t, null)) : i && (Z(), E(i, 1, 1, () => {
114
+ i = null;
115
+ }), J());
116
+ },
117
+ i(o) {
118
+ c || (g(n), g(i), c = !0);
119
+ },
120
+ o(o) {
121
+ E(n), E(i), c = !1;
122
+ },
123
+ d(o) {
124
+ o && ie(t), n && n.d(), s[11](null), i && i.d();
125
+ }
126
+ };
127
+ }
128
+ function Te() {
129
+ ({}).VITE_USE_DEV === "true" ? import("./index-idlf-detector_39cfdffa_3.3.0-RC09.js") : import("./index-idlf-detector_a819b3c8_3.3.0-RC09.js");
130
+ }
131
+ function Ae(s, t, a) {
132
+ let r, l, _, c, n, i, o, d, h, y;
133
+ b(s, S, (e) => a(6, r = e)), b(s, Y, (e) => a(16, l = e)), b(s, x, (e) => a(17, _ = e)), b(s, T, (e) => a(19, n = e)), b(s, $, (e) => a(20, i = e)), b(s, ee, (e) => a(21, o = e)), b(s, L, (e) => a(22, d = e)), b(s, I, (e) => a(7, h = e)), b(s, F, (e) => a(23, y = e));
134
+ let { livenessBlobSize: U } = t, { cameraDeviceId: z } = t;
135
+ const O = ke("data:image/png;base64");
136
+ b(s, O, (e) => a(18, c = e));
137
+ let { widgetInstance: f } = t, H = !1, v = !0, w = !0, D = !0, V = "text-blue-400";
138
+ ve(async () => {
139
+ we("Mounting Stream Collector!"), u(F, y = !0, y), u(I, h = !1, h), ce(), Te(), oe();
140
+ });
141
+ function ce() {
142
+ u(T, n = !1, n), u(Y, l = Ee.FRONT_CAMERA, l), D = document.hasFocus(), u(L, d = "faceCollector.stayInFrame", d);
143
+ }
144
+ function oe() {
145
+ f.addEventListener("open", async (e) => {
146
+ a(3, v = !1), a(4, w = !1), u(I, h = !0, h), u(F, y = !1, y), window.dispatchEvent(new CustomEvent(
147
+ "stream-ready",
148
+ {
149
+ detail: {
150
+ message: "Stream de vídeo pronto para captura"
151
+ }
152
+ }
153
+ ));
154
+ }), f.addEventListener("error", (e) => {
155
+ A("Stream Collector error:", e), a(3, v = !0), a(4, w = !1), u(I, h = !1, h), window.dispatchEvent(new CustomEvent(
156
+ "stream-error",
157
+ {
158
+ detail: {
159
+ message: e.detail[0]?.message || "Erro na câmera",
160
+ error: e
161
+ }
162
+ }
163
+ ));
164
+ }), f.addEventListener("faceDetection", (e) => {
165
+ u(
166
+ L,
167
+ d = e.detail[0].errors[0] ? "faceCollector.stayInFrame" : "faceCollector.capturing",
168
+ d
169
+ ), a(5, V = e.detail[0].errors[0] ? "text-blue-400" : "text-green-400");
170
+ }), f.addEventListener("detection", (e) => {
171
+ u(
172
+ L,
173
+ d = e.detail[0].errors[0] ? "faceCollector.stayInFrame" : "faceCollector.capturing",
174
+ d
175
+ ), a(5, V = e.detail[0].errors[0] ? "text-blue-400" : "text-green-400");
176
+ }), f.addEventListener("close", async (e) => {
177
+ a(3, v = !0), a(4, w = !1), D = D && document.hasFocus(), !n && !D && window.dispatchEvent(new CustomEvent(
178
+ "stream-lost-focus",
179
+ {
180
+ detail: { message: "Stream de vídeo foi fechado" }
181
+ }
182
+ ));
183
+ }), f.addEventListener("initialize", async (e) => {
184
+ H = !0, u(ee, o = !0, o);
185
+ try {
186
+ f.setLicense(ye, "faceDetector");
187
+ } catch (p) {
188
+ A("Error setting license:", p);
189
+ }
190
+ !n && H && await W();
191
+ }), f.addEventListener("capture", async (e) => {
192
+ const { encryptedFile: p, photo: C } = e.detail[0];
193
+ u($, i = p, i);
194
+ const G = (await te(C)).split(",");
195
+ u(T, n = !0, n), u(O, c = G[0], c), u(x, _ = G[1], _);
196
+ try {
197
+ window.dispatchEvent(new CustomEvent(
198
+ "stream-capture",
199
+ {
200
+ detail: {
201
+ image: _,
202
+ blob: (await te(p)).split(",")[1],
203
+ status: "success"
204
+ }
205
+ }
206
+ ));
207
+ } catch (Q) {
208
+ let X = Q instanceof Error ? Q.message : "UNKNOWN", _e = Se[X] || "Erro desconhecido";
209
+ window.dispatchEvent(new CustomEvent(
210
+ "stream-capture",
211
+ {
212
+ detail: {
213
+ errorCode: X,
214
+ translatedError: _e,
215
+ status: "error"
216
+ }
217
+ }
218
+ ));
219
+ }
220
+ });
221
+ }
222
+ async function W() {
223
+ if (z)
224
+ u(S, r = z, r);
225
+ else
226
+ try {
227
+ const { deviceId: e, stream: p } = await Ce(1920, 1080, l);
228
+ p?.getTracks()?.forEach((C) => C?.stop()), u(S, r = e || "", r);
229
+ } catch (e) {
230
+ const p = e, C = Ie(p) && "constraint" in p ? p.constraint : "";
231
+ A(p.message, C);
232
+ }
233
+ a(4, w = !0), v && f && "openCamera" in f && f.openCamera(), a(3, v = !1);
234
+ }
235
+ async function le() {
236
+ f.takePhoto();
237
+ }
238
+ async function q() {
239
+ !v && !w || (a(4, w = !0), u(S, r = "", r), await W());
240
+ }
241
+ const ue = I.subscribe((e) => {
242
+ e && window.dispatchEvent(new CustomEvent("brycc-camera-ready"));
243
+ }), de = F.subscribe((e) => {
244
+ e && window.dispatchEvent(new CustomEvent("brycc-face-initialized"));
245
+ });
246
+ ze(() => {
247
+ De(f), ue(), de();
248
+ });
249
+ function fe(e) {
250
+ Le[e ? "unshift" : "push"](() => {
251
+ f = e, a(0, f);
252
+ });
253
+ }
254
+ const me = async () => {
255
+ await q();
256
+ };
257
+ return s.$$set = (e) => {
258
+ "livenessBlobSize" in e && a(1, U = e.livenessBlobSize), "cameraDeviceId" in e && a(9, z = e.cameraDeviceId), "widgetInstance" in e && a(0, f = e.widgetInstance);
259
+ }, [
260
+ f,
261
+ U,
262
+ q,
263
+ v,
264
+ w,
265
+ V,
266
+ r,
267
+ h,
268
+ O,
269
+ z,
270
+ le,
271
+ fe,
272
+ me
273
+ ];
274
+ }
275
+ class Me extends pe {
276
+ constructor(t) {
277
+ super(), be(
278
+ this,
279
+ {
280
+ target: this.shadowRoot,
281
+ props: he(this.attributes),
282
+ customElement: !0
283
+ },
284
+ Ae,
285
+ Ve,
286
+ ge,
287
+ {
288
+ livenessBlobSize: 1,
289
+ cameraDeviceId: 9,
290
+ widgetInstance: 0,
291
+ capture: 10,
292
+ reOpenCamera: 2
293
+ },
294
+ null,
295
+ [-1, -1]
296
+ ), t && (t.target && P(t.target, this, t.anchor), t.props && (this.$set(t.props), k()));
297
+ }
298
+ static get observedAttributes() {
299
+ return [
300
+ "livenessBlobSize",
301
+ "cameraDeviceId",
302
+ "widgetInstance",
303
+ "capture",
304
+ "reOpenCamera"
305
+ ];
306
+ }
307
+ get livenessBlobSize() {
308
+ return this.$$.ctx[1];
309
+ }
310
+ set livenessBlobSize(t) {
311
+ this.$$set({ livenessBlobSize: t }), k();
312
+ }
313
+ get cameraDeviceId() {
314
+ return this.$$.ctx[9];
315
+ }
316
+ set cameraDeviceId(t) {
317
+ this.$$set({ cameraDeviceId: t }), k();
318
+ }
319
+ get widgetInstance() {
320
+ return this.$$.ctx[0];
321
+ }
322
+ set widgetInstance(t) {
323
+ this.$$set({ widgetInstance: t }), k();
324
+ }
325
+ get capture() {
326
+ return this.$$.ctx[10];
327
+ }
328
+ get reOpenCamera() {
329
+ return this.$$.ctx[2];
330
+ }
331
+ }
332
+ customElements.define("stream-collector", Me);
333
+ export {
334
+ Me as default
335
+ };