bry-biometric-collector 2.2.0 → 2.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,32 +1,32 @@
1
- import { aB as S, S as V, r as B, t as P, w as y, x as n, y as g, z as x, B as k, aJ as v, H as c, I, b0 as A, b1 as L, b2 as D, b3 as R, aG as w, b4 as h, aK as C, aP as O, b5 as M, b6 as Z, b7 as H, aH as U, aL as z, G as q, D as j, aM as K, aw as T, N as F, af as G } from "./main_6691dc65_2.2.0.js";
2
- var E = /* @__PURE__ */ ((m) => (m.OK = "OK", m.DEVICE_NOT_FOUND_ERROR = "DEVICE_NOT_FOUND_ERROR", m.CAMERA_DENIED_ERROR = "CAMERA_DENIED_ERROR", m.CAMERA_IN_USE_ERROR = "CAMERA_IN_USE_ERROR", m.CAMERA_CLOSED_ERROR = "CAMERA_CLOSED_ERROR", m.CAMERA_UNSUPPORTED = "CAMERA_UNSUPPORTED", m.CAMERA_ORIENTATION_PORTRAIT = "CAMERA_ORIENTATION_PORTRAIT", m.CAMERA_ORIENTATION_LANDSCAPE = "CAMERA_ORIENTATION_LANDSCAPE", m))(E || {});
3
- const J = S(
1
+ import { aO as S, S as V, r as P, t as B, w as Z, x as n, y as g, B as b, G as k, H as v, O as r, Q as I, aZ as A, a_ as L, a$ as D, b0 as R, D as w, b1 as h, I as E, aI as O, b2 as M, b3 as H, E as y, J as U, N as z, L as q, P as j, aD as T, W as F, an as K } from "./main_3ec3e90c_2.2.2.js";
2
+ var C = /* @__PURE__ */ ((c) => (c.OK = "OK", c.DEVICE_NOT_FOUND_ERROR = "DEVICE_NOT_FOUND_ERROR", c.CAMERA_DENIED_ERROR = "CAMERA_DENIED_ERROR", c.CAMERA_IN_USE_ERROR = "CAMERA_IN_USE_ERROR", c.CAMERA_CLOSED_ERROR = "CAMERA_CLOSED_ERROR", c.CAMERA_UNSUPPORTED = "CAMERA_UNSUPPORTED", c.CAMERA_ORIENTATION_PORTRAIT = "CAMERA_ORIENTATION_PORTRAIT", c.CAMERA_ORIENTATION_LANDSCAPE = "CAMERA_ORIENTATION_LANDSCAPE", c))(C || {});
3
+ const G = S(
4
4
  "OK"
5
5
  /* OK */
6
6
  );
7
- function Q(m) {
8
- let e, u, r, s, a, i, _, o, b, p, d = [
7
+ function J(c) {
8
+ let e, m, u, s, o, a, _, i, x, p, d = [
9
9
  { class: "text-[8em] mx-auto" },
10
10
  { xmlns: "http://www.w3.org/2000/svg" },
11
11
  { width: "1em" },
12
12
  { height: "1em" },
13
13
  { viewBox: "0 0 256 256" },
14
14
  /*$$props*/
15
- m[2]
15
+ c[2]
16
16
  ], f = {};
17
17
  for (let t = 0; t < d.length; t += 1)
18
18
  f = A(f, d[t]);
19
19
  return {
20
20
  c() {
21
- e = R("svg"), u = R("path"), r = w(), s = x("span"), s.textContent = "O dispositivo precisa estar na posição paisagem.", a = w(), i = x("span"), i.textContent = "Por favor, vire o dispositivo ou pressione o botão abaixo.", _ = w(), o = x("button"), o.textContent = "Ajustar Orientação", v(u, "fill", "currentColor"), v(u, "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"), h(e, f), v(s, "class", "text-xl font-bold text-center"), v(i, "class", "m-auto text-base block text-center"), v(o, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
21
+ e = R("svg"), m = R("path"), u = w(), s = b("span"), s.textContent = "O dispositivo precisa estar na posição paisagem.", o = w(), a = b("span"), a.textContent = "Por favor, vire o dispositivo ou pressione o botão abaixo.", _ = w(), i = b("button"), i.textContent = "Ajustar Orientação", v(m, "fill", "currentColor"), v(m, "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"), h(e, f), v(s, "class", "text-xl font-bold text-center"), v(a, "class", "m-auto text-base block text-center"), v(i, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
22
22
  },
23
23
  m(t, l) {
24
- n(t, e, l), C(e, u), n(t, r, l), n(t, s, l), n(t, a, l), n(t, i, l), n(t, _, l), n(t, o, l), b || (p = O(
25
- o,
24
+ n(t, e, l), E(e, m), n(t, u, l), n(t, s, l), n(t, o, l), n(t, a, l), n(t, _, l), n(t, i, l), x || (p = O(
25
+ i,
26
26
  "click",
27
27
  /*click_handler_6*/
28
- m[9]
29
- ), b = !0);
28
+ c[9]
29
+ ), x = !0);
30
30
  },
31
31
  p(t, l) {
32
32
  h(e, f = M(d, [
@@ -41,33 +41,33 @@ function Q(m) {
41
41
  ]));
42
42
  },
43
43
  d(t) {
44
- t && c(e), t && c(r), t && c(s), t && c(a), t && c(i), t && c(_), t && c(o), b = !1, p();
44
+ t && r(e), t && r(u), t && r(s), t && r(o), t && r(a), t && r(_), t && r(i), x = !1, p();
45
45
  }
46
46
  };
47
47
  }
48
- function W(m) {
49
- let e, u, r, s, a, i, _, o, b, p, d = [
48
+ function Q(c) {
49
+ let e, m, u, s, o, a, _, i, x, p, d = [
50
50
  { class: "text-[8em] mx-auto" },
51
51
  { xmlns: "http://www.w3.org/2000/svg" },
52
52
  { width: "1em" },
53
53
  { height: "1em" },
54
54
  { viewBox: "0 0 256 256" },
55
55
  /*$$props*/
56
- m[2]
56
+ c[2]
57
57
  ], f = {};
58
58
  for (let t = 0; t < d.length; t += 1)
59
59
  f = A(f, d[t]);
60
60
  return {
61
61
  c() {
62
- e = R("svg"), u = R("path"), r = w(), s = x("span"), s.textContent = "O dispositivo precisa estar na posição retrato.", a = w(), i = x("span"), i.textContent = "Por favor, vire o dispositivo ou pressione o botão abaixo.", _ = w(), o = x("button"), o.textContent = "Ajustar Orientação", v(u, "fill", "currentColor"), v(u, "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"), h(e, f), v(s, "class", "text-xl font-bold text-center"), v(i, "class", "m-auto text-base block text-center"), v(o, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
62
+ e = R("svg"), m = R("path"), u = w(), s = b("span"), s.textContent = "O dispositivo precisa estar na posição retrato.", o = w(), a = b("span"), a.textContent = "Por favor, vire o dispositivo ou pressione o botão abaixo.", _ = w(), i = b("button"), i.textContent = "Ajustar Orientação", v(m, "fill", "currentColor"), v(m, "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"), h(e, f), v(s, "class", "text-xl font-bold text-center"), v(a, "class", "m-auto text-base block text-center"), v(i, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
63
63
  },
64
64
  m(t, l) {
65
- n(t, e, l), C(e, u), n(t, r, l), n(t, s, l), n(t, a, l), n(t, i, l), n(t, _, l), n(t, o, l), b || (p = O(
66
- o,
65
+ n(t, e, l), E(e, m), n(t, u, l), n(t, s, l), n(t, o, l), n(t, a, l), n(t, _, l), n(t, i, l), x || (p = O(
66
+ i,
67
67
  "click",
68
68
  /*click_handler_5*/
69
- m[8]
70
- ), b = !0);
69
+ c[8]
70
+ ), x = !0);
71
71
  },
72
72
  p(t, l) {
73
73
  h(e, f = M(d, [
@@ -82,33 +82,33 @@ function W(m) {
82
82
  ]));
83
83
  },
84
84
  d(t) {
85
- t && c(e), t && c(r), t && c(s), t && c(a), t && c(i), t && c(_), t && c(o), b = !1, p();
85
+ t && r(e), t && r(u), t && r(s), t && r(o), t && r(a), t && r(_), t && r(i), x = !1, p();
86
86
  }
87
87
  };
88
88
  }
89
- function X(m) {
90
- let e, u, r, s, a, i, _, o, b, p, d = [
89
+ function W(c) {
90
+ let e, m, u, s, o, a, _, i, x, p, d = [
91
91
  { class: "text-[8em] mx-auto" },
92
92
  { xmlns: "http://www.w3.org/2000/svg" },
93
93
  { width: "1em" },
94
94
  { height: "1em" },
95
95
  { viewBox: "0 0 256 256" },
96
96
  /*$$props*/
97
- m[2]
97
+ c[2]
98
98
  ], f = {};
99
99
  for (let t = 0; t < d.length; t += 1)
100
100
  f = A(f, d[t]);
101
101
  return {
102
102
  c() {
103
- e = R("svg"), u = R("path"), r = w(), s = x("span"), s.textContent = "A câmera não atende os requisitos necessários.", a = w(), i = x("span"), i.textContent = "Por favor, conecte outra câmera e tente novamente.", _ = w(), o = x("button"), o.textContent = "Reiniciar", v(u, "fill", "currentColor"), v(u, "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"), h(e, f), v(s, "class", "text-xl font-bold text-center"), v(i, "class", "m-auto text-base block text-center"), v(o, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
103
+ e = R("svg"), m = R("path"), u = w(), s = b("span"), s.textContent = "A câmera não atende os requisitos necessários.", o = w(), a = b("span"), a.textContent = "Por favor, conecte outra câmera e tente novamente.", _ = w(), i = b("button"), i.textContent = "Reiniciar", v(m, "fill", "currentColor"), v(m, "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"), h(e, f), v(s, "class", "text-xl font-bold text-center"), v(a, "class", "m-auto text-base block text-center"), v(i, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
104
104
  },
105
105
  m(t, l) {
106
- n(t, e, l), C(e, u), n(t, r, l), n(t, s, l), n(t, a, l), n(t, i, l), n(t, _, l), n(t, o, l), b || (p = O(
107
- o,
106
+ n(t, e, l), E(e, m), n(t, u, l), n(t, s, l), n(t, o, l), n(t, a, l), n(t, _, l), n(t, i, l), x || (p = O(
107
+ i,
108
108
  "click",
109
109
  /*click_handler_4*/
110
- m[7]
111
- ), b = !0);
110
+ c[7]
111
+ ), x = !0);
112
112
  },
113
113
  p(t, l) {
114
114
  h(e, f = M(d, [
@@ -123,33 +123,33 @@ function X(m) {
123
123
  ]));
124
124
  },
125
125
  d(t) {
126
- t && c(e), t && c(r), t && c(s), t && c(a), t && c(i), t && c(_), t && c(o), b = !1, p();
126
+ t && r(e), t && r(u), t && r(s), t && r(o), t && r(a), t && r(_), t && r(i), x = !1, p();
127
127
  }
128
128
  };
129
129
  }
130
- function Y(m) {
131
- let e, u, r, s, a, i, _, o, b, p, d = [
130
+ function X(c) {
131
+ let e, m, u, s, o, a, _, i, x, p, d = [
132
132
  { class: "text-[8em] mx-auto" },
133
133
  { xmlns: "http://www.w3.org/2000/svg" },
134
134
  { width: "1em" },
135
135
  { height: "1em" },
136
136
  { viewBox: "0 0 256 256" },
137
137
  /*$$props*/
138
- m[2]
138
+ c[2]
139
139
  ], f = {};
140
140
  for (let t = 0; t < d.length; t += 1)
141
141
  f = A(f, d[t]);
142
142
  return {
143
143
  c() {
144
- e = R("svg"), u = R("path"), r = w(), s = x("span"), s.textContent = "Por favor, permaneça na mesma aba durante a coleta biométrica.", a = w(), i = x("span"), i.textContent = "Clique no botão Reiniciar para capturar novamente.", _ = w(), o = x("button"), o.textContent = "Reiniciar", v(u, "fill", "currentColor"), v(u, "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"), h(e, f), v(s, "class", "text-xl font-bold text-center"), v(i, "class", "m-auto text-base block text-center"), v(o, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
144
+ e = R("svg"), m = R("path"), u = w(), s = b("span"), s.textContent = "Por favor, permaneça na mesma aba durante a coleta biométrica.", o = w(), a = b("span"), a.textContent = "Clique no botão Reiniciar para capturar novamente.", _ = w(), i = b("button"), i.textContent = "Reiniciar", v(m, "fill", "currentColor"), v(m, "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"), h(e, f), v(s, "class", "text-xl font-bold text-center"), v(a, "class", "m-auto text-base block text-center"), v(i, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
145
145
  },
146
146
  m(t, l) {
147
- n(t, e, l), C(e, u), n(t, r, l), n(t, s, l), n(t, a, l), n(t, i, l), n(t, _, l), n(t, o, l), b || (p = O(
148
- o,
147
+ n(t, e, l), E(e, m), n(t, u, l), n(t, s, l), n(t, o, l), n(t, a, l), n(t, _, l), n(t, i, l), x || (p = O(
148
+ i,
149
149
  "click",
150
150
  /*click_handler_3*/
151
- m[6]
152
- ), b = !0);
151
+ c[6]
152
+ ), x = !0);
153
153
  },
154
154
  p(t, l) {
155
155
  h(e, f = M(d, [
@@ -164,33 +164,33 @@ function Y(m) {
164
164
  ]));
165
165
  },
166
166
  d(t) {
167
- t && c(e), t && c(r), t && c(s), t && c(a), t && c(i), t && c(_), t && c(o), b = !1, p();
167
+ t && r(e), t && r(u), t && r(s), t && r(o), t && r(a), t && r(_), t && r(i), x = !1, p();
168
168
  }
169
169
  };
170
170
  }
171
- function $(m) {
172
- let e, u, r, s, a, i, _, o, b, p, d = [
171
+ function Y(c) {
172
+ let e, m, u, s, o, a, _, i, x, p, d = [
173
173
  { class: "text-[8em] mx-auto" },
174
174
  { xmlns: "http://www.w3.org/2000/svg" },
175
175
  { width: "1em" },
176
176
  { height: "1em" },
177
177
  { viewBox: "0 0 256 256" },
178
178
  /*$$props*/
179
- m[2]
179
+ c[2]
180
180
  ], f = {};
181
181
  for (let t = 0; t < d.length; t += 1)
182
182
  f = A(f, d[t]);
183
183
  return {
184
184
  c() {
185
- e = R("svg"), u = R("path"), r = w(), s = x("span"), s.textContent = "A câmera está em uso.", a = w(), i = x("span"), i.textContent = "Certifique-se de que a câmera não está sendo utilizada por nenhuma outra aplicação e clique no botão abaixo.", _ = w(), o = x("button"), o.textContent = "Reiniciar", v(u, "fill", "currentColor"), v(u, "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"), h(e, f), v(s, "class", "text-xl font-bold text-center"), v(i, "class", "m-auto text-base block text-center"), v(o, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
185
+ e = R("svg"), m = R("path"), u = w(), s = b("span"), s.textContent = "A câmera está em uso.", o = w(), a = b("span"), a.textContent = "Certifique-se de que a câmera não está sendo utilizada por nenhuma outra aplicação e clique no botão abaixo.", _ = w(), i = b("button"), i.textContent = "Reiniciar", v(m, "fill", "currentColor"), v(m, "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"), h(e, f), v(s, "class", "text-xl font-bold text-center"), v(a, "class", "m-auto text-base block text-center"), v(i, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
186
186
  },
187
187
  m(t, l) {
188
- n(t, e, l), C(e, u), n(t, r, l), n(t, s, l), n(t, a, l), n(t, i, l), n(t, _, l), n(t, o, l), b || (p = O(
189
- o,
188
+ n(t, e, l), E(e, m), n(t, u, l), n(t, s, l), n(t, o, l), n(t, a, l), n(t, _, l), n(t, i, l), x || (p = O(
189
+ i,
190
190
  "click",
191
191
  /*click_handler_2*/
192
- m[5]
193
- ), b = !0);
192
+ c[5]
193
+ ), x = !0);
194
194
  },
195
195
  p(t, l) {
196
196
  h(e, f = M(d, [
@@ -205,33 +205,33 @@ function $(m) {
205
205
  ]));
206
206
  },
207
207
  d(t) {
208
- t && c(e), t && c(r), t && c(s), t && c(a), t && c(i), t && c(_), t && c(o), b = !1, p();
208
+ t && r(e), t && r(u), t && r(s), t && r(o), t && r(a), t && r(_), t && r(i), x = !1, p();
209
209
  }
210
210
  };
211
211
  }
212
- function tt(m) {
213
- let e, u, r, s, a, i, _, o, b, p, d = [
212
+ function $(c) {
213
+ let e, m, u, s, o, a, _, i, x, p, d = [
214
214
  { class: "text-[8em] mx-auto" },
215
215
  { xmlns: "http://www.w3.org/2000/svg" },
216
216
  { width: "1em" },
217
217
  { height: "1em" },
218
218
  { viewBox: "0 0 256 256" },
219
219
  /*$$props*/
220
- m[2]
220
+ c[2]
221
221
  ], f = {};
222
222
  for (let t = 0; t < d.length; t += 1)
223
223
  f = A(f, d[t]);
224
224
  return {
225
225
  c() {
226
- e = R("svg"), u = R("path"), r = w(), s = x("span"), s.textContent = "A câmera não foi detectada.", a = w(), i = x("span"), i.textContent = "Por favor, conecte a sua câmera, espere alguns instantes e clique no botão Reiniciar.", _ = w(), o = x("button"), o.textContent = "Reiniciar", v(u, "fill", "currentColor"), v(u, "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"), h(e, f), v(s, "class", "text-xl font-bold text-center"), v(i, "class", "m-auto text-base block text-center"), v(o, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
226
+ e = R("svg"), m = R("path"), u = w(), s = b("span"), s.textContent = "A câmera não foi detectada.", o = w(), a = b("span"), a.textContent = "Por favor, conecte a sua câmera, espere alguns instantes e clique no botão Reiniciar.", _ = w(), i = b("button"), i.textContent = "Reiniciar", v(m, "fill", "currentColor"), v(m, "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"), h(e, f), v(s, "class", "text-xl font-bold text-center"), v(a, "class", "m-auto text-base block text-center"), v(i, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
227
227
  },
228
228
  m(t, l) {
229
- n(t, e, l), C(e, u), n(t, r, l), n(t, s, l), n(t, a, l), n(t, i, l), n(t, _, l), n(t, o, l), b || (p = O(
230
- o,
229
+ n(t, e, l), E(e, m), n(t, u, l), n(t, s, l), n(t, o, l), n(t, a, l), n(t, _, l), n(t, i, l), x || (p = O(
230
+ i,
231
231
  "click",
232
232
  /*click_handler_1*/
233
- m[4]
234
- ), b = !0);
233
+ c[4]
234
+ ), x = !0);
235
235
  },
236
236
  p(t, l) {
237
237
  h(e, f = M(d, [
@@ -246,33 +246,33 @@ function tt(m) {
246
246
  ]));
247
247
  },
248
248
  d(t) {
249
- t && c(e), t && c(r), t && c(s), t && c(a), t && c(i), t && c(_), t && c(o), b = !1, p();
249
+ t && r(e), t && r(u), t && r(s), t && r(o), t && r(a), t && r(_), t && r(i), x = !1, p();
250
250
  }
251
251
  };
252
252
  }
253
- function et(m) {
254
- let e, u, r, s, a, i, _, o, b, p, d = [
253
+ function tt(c) {
254
+ let e, m, u, s, o, a, _, i, x, p, d = [
255
255
  { class: "text-[8em] mx-auto" },
256
256
  { xmlns: "http://www.w3.org/2000/svg" },
257
257
  { width: "1em" },
258
258
  { height: "1em" },
259
259
  { viewBox: "0 0 256 256" },
260
260
  /*$$props*/
261
- m[2]
261
+ c[2]
262
262
  ], f = {};
263
263
  for (let t = 0; t < d.length; t += 1)
264
264
  f = A(f, d[t]);
265
265
  return {
266
266
  c() {
267
- e = R("svg"), u = R("path"), r = w(), s = x("span"), s.textContent = "Por favor, conceda permissão de acesso à câmera.", a = w(), i = x("span"), i.textContent = "Após conceder a permissão, clique no botão Reiniciar.", _ = w(), o = x("button"), o.textContent = "Reiniciar", v(u, "fill", "currentColor"), v(u, "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"), h(e, f), v(s, "class", "text-xl font-bold text-center"), v(i, "class", "m-auto text-base block text-center"), v(o, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
267
+ e = R("svg"), m = R("path"), u = w(), s = b("span"), s.textContent = "Por favor, conceda permissão de acesso à câmera.", o = w(), a = b("span"), a.textContent = "Após conceder a permissão, clique no botão Reiniciar.", _ = w(), i = b("button"), i.textContent = "Reiniciar", v(m, "fill", "currentColor"), v(m, "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"), h(e, f), v(s, "class", "text-xl font-bold text-center"), v(a, "class", "m-auto text-base block text-center"), v(i, "class", "z-20 ce-dui-btn ce-dui-btn-outline ce-dui-btn-primary m-auto");
268
268
  },
269
269
  m(t, l) {
270
- n(t, e, l), C(e, u), n(t, r, l), n(t, s, l), n(t, a, l), n(t, i, l), n(t, _, l), n(t, o, l), b || (p = O(
271
- o,
270
+ n(t, e, l), E(e, m), n(t, u, l), n(t, s, l), n(t, o, l), n(t, a, l), n(t, _, l), n(t, i, l), x || (p = O(
271
+ i,
272
272
  "click",
273
273
  /*click_handler*/
274
- m[3]
275
- ), b = !0);
274
+ c[3]
275
+ ), x = !0);
276
276
  },
277
277
  p(t, l) {
278
278
  h(e, f = M(d, [
@@ -287,114 +287,114 @@ function et(m) {
287
287
  ]));
288
288
  },
289
289
  d(t) {
290
- t && c(e), t && c(r), t && c(s), t && c(a), t && c(i), t && c(_), t && c(o), b = !1, p();
290
+ t && r(e), t && r(u), t && r(s), t && r(o), t && r(a), t && r(_), t && r(i), x = !1, p();
291
291
  }
292
292
  };
293
293
  }
294
- function lt(m) {
294
+ function et(c) {
295
295
  let e;
296
- function u(a, i) {
296
+ function m(o, a) {
297
297
  if (
298
298
  /*$cameraStatusStore*/
299
- a[1] === E.CAMERA_DENIED_ERROR
300
- )
301
- return et;
302
- if (
303
- /*$cameraStatusStore*/
304
- a[1] === E.DEVICE_NOT_FOUND_ERROR
299
+ o[1] === C.CAMERA_DENIED_ERROR
305
300
  )
306
301
  return tt;
307
302
  if (
308
303
  /*$cameraStatusStore*/
309
- a[1] === E.CAMERA_IN_USE_ERROR
304
+ o[1] === C.DEVICE_NOT_FOUND_ERROR
310
305
  )
311
306
  return $;
312
307
  if (
313
308
  /*$cameraStatusStore*/
314
- a[1] === E.CAMERA_CLOSED_ERROR
309
+ o[1] === C.CAMERA_IN_USE_ERROR
315
310
  )
316
311
  return Y;
317
312
  if (
318
313
  /*$cameraStatusStore*/
319
- a[1] === E.CAMERA_UNSUPPORTED
314
+ o[1] === C.CAMERA_CLOSED_ERROR
320
315
  )
321
316
  return X;
322
317
  if (
323
318
  /*$cameraStatusStore*/
324
- a[1] === E.CAMERA_ORIENTATION_PORTRAIT
319
+ o[1] === C.CAMERA_UNSUPPORTED
325
320
  )
326
321
  return W;
327
322
  if (
328
323
  /*$cameraStatusStore*/
329
- a[1] === E.CAMERA_ORIENTATION_LANDSCAPE
324
+ o[1] === C.CAMERA_ORIENTATION_PORTRAIT
330
325
  )
331
326
  return Q;
327
+ if (
328
+ /*$cameraStatusStore*/
329
+ o[1] === C.CAMERA_ORIENTATION_LANDSCAPE
330
+ )
331
+ return J;
332
332
  }
333
- let r = u(m), s = r && r(m);
333
+ let u = m(c), s = u && u(c);
334
334
  return {
335
335
  c() {
336
- e = x("div"), s && s.c(), this.c = k, v(e, "class", "flex flex-col gap-4 justify-center absolute -translate-y-1/2 -translate-x-1/2 top-1/2 left-1/2 overflow-visible text-nowrap");
336
+ e = b("div"), s && s.c(), this.c = k, v(e, "class", "flex flex-col gap-4 justify-center absolute -translate-y-1/2 -translate-x-1/2 top-1/2 left-1/2 overflow-visible text-nowrap");
337
337
  },
338
- m(a, i) {
339
- n(a, e, i), s && s.m(e, null);
338
+ m(o, a) {
339
+ n(o, e, a), s && s.m(e, null);
340
340
  },
341
- p(a, [i]) {
342
- r === (r = u(a)) && s ? s.p(a, i) : (s && s.d(1), s = r && r(a), s && (s.c(), s.m(e, null)));
341
+ p(o, [a]) {
342
+ u === (u = m(o)) && s ? s.p(o, a) : (s && s.d(1), s = u && u(o), s && (s.c(), s.m(e, null)));
343
343
  },
344
344
  i: k,
345
345
  o: k,
346
- d(a) {
347
- a && c(e), s && s.d();
346
+ d(o) {
347
+ o && r(e), s && s.d();
348
348
  }
349
349
  };
350
350
  }
351
- function st(m, e, u) {
352
- let r;
353
- I(m, J, (f) => u(1, r = f));
351
+ function lt(c, e, m) {
352
+ let u;
353
+ I(c, G, (f) => m(1, u = f));
354
354
  let { handler: s = () => {
355
355
  } } = e;
356
- const a = () => {
356
+ const o = () => {
357
357
  s(), console.log("canicna", s);
358
- }, i = () => {
358
+ }, a = () => {
359
359
  s(), console.log("canicna", s);
360
360
  }, _ = () => {
361
361
  s(), console.log("canicna", s);
362
- }, o = () => {
362
+ }, i = () => {
363
363
  s();
364
- }, b = () => {
364
+ }, x = () => {
365
365
  s();
366
366
  }, p = () => {
367
367
  D(!0);
368
368
  }, d = () => {
369
369
  D(!1);
370
370
  };
371
- return m.$$set = (f) => {
372
- u(2, e = A(A({}, e), L(f))), "handler" in f && u(0, s = f.handler);
371
+ return c.$$set = (f) => {
372
+ m(2, e = A(A({}, e), L(f))), "handler" in f && m(0, s = f.handler);
373
373
  }, e = L(e), [
374
374
  s,
375
- r,
375
+ u,
376
376
  e,
377
+ o,
377
378
  a,
378
- i,
379
379
  _,
380
- o,
381
- b,
380
+ i,
381
+ x,
382
382
  p,
383
383
  d
384
384
  ];
385
385
  }
386
- class at extends V {
386
+ class st extends V {
387
387
  constructor(e) {
388
- super(), B(
388
+ super(), P(
389
389
  this,
390
390
  {
391
391
  target: this.shadowRoot,
392
- props: y(this.attributes),
392
+ props: Z(this.attributes),
393
393
  customElement: !0
394
394
  },
395
- st,
396
395
  lt,
397
- P,
396
+ et,
397
+ B,
398
398
  { handler: 0 },
399
399
  null
400
400
  ), e && (e.target && n(e.target, this, e.anchor), e.props && (this.$set(e.props), g()));
@@ -409,18 +409,9 @@ class at extends V {
409
409
  this.$$set({ handler: e }), g();
410
410
  }
411
411
  }
412
- customElements.define("camera-status", at);
413
- function ut(m, { delay: e = 0, duration: u = 400, easing: r = Z } = {}) {
414
- const s = +getComputedStyle(m).opacity;
415
- return {
416
- delay: e,
417
- duration: u,
418
- easing: r,
419
- css: (a) => `opacity: ${a * s}`
420
- };
421
- }
422
- function it(m) {
423
- let e, u, r, s, a, i, _, o, b, p, d;
412
+ customElements.define("camera-status", st);
413
+ function at(c) {
414
+ let e, m, u, s, o, a, _, i, x, p, d;
424
415
  e = new H({});
425
416
  let f = [
426
417
  { xmlns: "http://www.w3.org/2000/svg" },
@@ -428,26 +419,26 @@ function it(m) {
428
419
  { height: "3em" },
429
420
  { viewBox: "0 0 256 256" },
430
421
  /*$$props*/
431
- m[3]
422
+ c[3]
432
423
  ], t = {};
433
424
  for (let l = 0; l < f.length; l += 1)
434
425
  t = A(t, f[l]);
435
426
  return {
436
427
  c() {
437
- U(e.$$.fragment), u = w(), r = x("div"), s = x("label"), a = R("svg"), i = R("path"), this.c = k, v(i, "fill", "currentColor"), v(i, "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"), h(a, t), v(s, "tabindex", "0"), s.hidden = _ = /*$cameraDevicesStore*/
438
- m[2].length == 1, v(s, "class", "ce-dui-btn ce-dui-btn-ghost m-1"), v(r, "class", o = "ce-dui-dropdown ce-dui-dropdown-top absolute z-10 right-0 sm:block " + /*className*/
439
- m[0]);
428
+ y(e.$$.fragment), m = w(), u = b("div"), s = b("label"), o = R("svg"), a = R("path"), this.c = k, v(a, "fill", "currentColor"), v(a, "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"), h(o, t), v(s, "tabindex", "0"), s.hidden = _ = /*$cameraDevicesStore*/
429
+ c[2].length == 1, v(s, "class", "ce-dui-btn ce-dui-btn-ghost m-1"), v(u, "class", i = "ce-dui-dropdown ce-dui-dropdown-top absolute z-10 right-0 sm:block " + /*className*/
430
+ c[0]);
440
431
  },
441
432
  m(l, N) {
442
- z(e, l, N), n(l, u, N), n(l, r, N), C(r, s), C(s, a), C(a, i), b = !0, p || (d = O(
443
- r,
433
+ U(e, l, N), n(l, m, N), n(l, u, N), E(u, s), E(s, o), E(o, a), x = !0, p || (d = O(
434
+ u,
444
435
  "click",
445
436
  /*click_handler*/
446
- m[4]
437
+ c[4]
447
438
  ), p = !0);
448
439
  },
449
440
  p(l, [N]) {
450
- h(a, t = M(f, [
441
+ h(o, t = M(f, [
451
442
  { xmlns: "http://www.w3.org/2000/svg" },
452
443
  { width: "3em" },
453
444
  { height: "3em" },
@@ -455,46 +446,46 @@ function it(m) {
455
446
  N & /*$$props*/
456
447
  8 && /*$$props*/
457
448
  l[3]
458
- ])), (!b || N & /*$cameraDevicesStore*/
449
+ ])), (!x || N & /*$cameraDevicesStore*/
459
450
  4 && _ !== (_ = /*$cameraDevicesStore*/
460
- l[2].length == 1)) && (s.hidden = _), (!b || N & /*className*/
461
- 1 && o !== (o = "ce-dui-dropdown ce-dui-dropdown-top absolute z-10 right-0 sm:block " + /*className*/
462
- l[0])) && v(r, "class", o);
451
+ l[2].length == 1)) && (s.hidden = _), (!x || N & /*className*/
452
+ 1 && i !== (i = "ce-dui-dropdown ce-dui-dropdown-top absolute z-10 right-0 sm:block " + /*className*/
453
+ l[0])) && v(u, "class", i);
463
454
  },
464
455
  i(l) {
465
- b || (q(e.$$.fragment, l), b = !0);
456
+ x || (z(e.$$.fragment, l), x = !0);
466
457
  },
467
458
  o(l) {
468
- j(e.$$.fragment, l), b = !1;
459
+ q(e.$$.fragment, l), x = !1;
469
460
  },
470
461
  d(l) {
471
- K(e, l), l && c(u), l && c(r), p = !1, d();
462
+ j(e, l), l && r(m), l && r(u), p = !1, d();
472
463
  }
473
464
  };
474
465
  }
475
- function ot(m, e, u) {
476
- let r, s;
477
- I(m, T, (_) => u(1, r = _)), I(m, F, (_) => u(2, s = _));
478
- let { className: a = "" } = e;
479
- const i = () => {
480
- G(T, r = !r, r);
466
+ function it(c, e, m) {
467
+ let u, s;
468
+ I(c, T, (_) => m(1, u = _)), I(c, F, (_) => m(2, s = _));
469
+ let { className: o = "" } = e;
470
+ const a = () => {
471
+ K(T, u = !u, u);
481
472
  };
482
- return m.$$set = (_) => {
483
- u(3, e = A(A({}, e), L(_))), "className" in _ && u(0, a = _.className);
484
- }, e = L(e), [a, r, s, e, i];
473
+ return c.$$set = (_) => {
474
+ m(3, e = A(A({}, e), L(_))), "className" in _ && m(0, o = _.className);
475
+ }, e = L(e), [o, u, s, e, a];
485
476
  }
486
- class nt extends V {
477
+ class ot extends V {
487
478
  constructor(e) {
488
- super(), B(
479
+ super(), P(
489
480
  this,
490
481
  {
491
482
  target: this.shadowRoot,
492
- props: y(this.attributes),
483
+ props: Z(this.attributes),
493
484
  customElement: !0
494
485
  },
495
- ot,
496
486
  it,
497
- P,
487
+ at,
488
+ B,
498
489
  { className: 0 },
499
490
  null
500
491
  ), e && (e.target && n(e.target, this, e.anchor), e.props && (this.$set(e.props), g()));
@@ -509,11 +500,10 @@ class nt extends V {
509
500
  this.$$set({ className: e }), g();
510
501
  }
511
502
  }
512
- customElements.define("camera-btn", nt);
503
+ customElements.define("camera-btn", ot);
513
504
  export {
514
- E as C,
515
- nt as a,
516
- at as b,
517
- J as c,
518
- ut as f
505
+ C,
506
+ ot as a,
507
+ st as b,
508
+ G as c
519
509
  };