@ahmed_hani/dot-auto-capture-ui 7.6.1 → 8.0.0

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 (39) hide show
  1. package/document.mjs +865 -874
  2. package/document.umd.js +27 -27
  3. package/face.mjs +1252 -1323
  4. package/face.umd.js +27 -27
  5. package/magnifeye-liveness.mjs +766 -789
  6. package/magnifeye-liveness.umd.js +45 -45
  7. package/multi-range-liveness.mjs +841 -856
  8. package/multi-range-liveness.umd.js +24 -24
  9. package/package.json +7 -4
  10. package/palm.mjs +873 -891
  11. package/palm.umd.js +27 -27
  12. package/smile-liveness.mjs +1143 -1187
  13. package/smile-liveness.umd.js +37 -37
  14. package/ui/src/types/common.d.ts +3 -19
  15. package/ui/src/types/configuration.d.ts +60 -0
  16. package/ui/src/types/document.d.ts +8 -7
  17. package/ui/src/types/eye-gaze.d.ts +9 -8
  18. package/ui/src/types/face.d.ts +8 -20
  19. package/ui/src/types/magnifeye.d.ts +7 -7
  20. package/ui/src/types/multi-range.d.ts +8 -8
  21. package/ui/src/types/palm.d.ts +8 -7
  22. package/ui/src/types/smile.d.ts +8 -15
  23. package/ui-common/src/types/common.d.ts +21 -35
  24. package/ui-common/src/types/document.d.ts +1 -9
  25. package/ui-common/src/types/events/common-deprecated.d.ts +20 -0
  26. package/ui-common/src/types/events/common.d.ts +0 -13
  27. package/ui-common/src/types/events/document.d.ts +3 -7
  28. package/ui-common/src/types/events/face.d.ts +9 -2
  29. package/ui-common/src/types/events/index.d.ts +1 -0
  30. package/ui-common/src/types/events/palm.d.ts +3 -2
  31. package/ui-common/src/types/events/smile.d.ts +10 -5
  32. package/ui-common/src/types/eye-gaze.d.ts +6 -6
  33. package/ui-common/src/types/face.d.ts +1 -20
  34. package/ui-common/src/types/magnifeye.d.ts +6 -6
  35. package/ui-common/src/types/modality/detection/document.d.ts +9 -0
  36. package/ui-common/src/types/modality/detection/face.d.ts +20 -0
  37. package/ui-common/src/types/modality/detection/palm.d.ts +20 -0
  38. package/ui-common/src/types/palm.d.ts +1 -20
  39. package/ui-common/src/types/smile.d.ts +23 -16
@@ -1,12 +1,9 @@
1
- var Oo = Object.defineProperty;
2
- var ko = (e, t, n) => t in e ? Oo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var rt = (e, t, n) => ko(e, typeof t != "symbol" ? t + "" : t, n);
4
- var Xe, v, vr, ue, In, Cr, Er, wr, fn, Bt, zt, Sr, Ge = {}, br = [], No = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Ke = Array.isArray;
1
+ var Xe, v, hr, ue, On, mr, gr, yr, sn, Ht, Ft, vr, Ge = {}, Cr = [], So = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Ke = Array.isArray;
5
2
  function Z(e, t) {
6
3
  for (var n in t) e[n] = t[n];
7
4
  return e;
8
5
  }
9
- function dn(e) {
6
+ function cn(e) {
10
7
  e && e.parentNode && e.parentNode.removeChild(e);
11
8
  }
12
9
  function M(e, t, n) {
@@ -16,10 +13,10 @@ function M(e, t, n) {
16
13
  return ze(e, a, r, o, null);
17
14
  }
18
15
  function ze(e, t, n, r, o) {
19
- var i = { type: e, props: t, key: n, ref: r, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: o ?? ++vr, __i: -1, __u: 0 };
16
+ var i = { type: e, props: t, key: n, ref: r, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: o ?? ++hr, __i: -1, __u: 0 };
20
17
  return o == null && v.vnode != null && v.vnode(i), i;
21
18
  }
22
- function To() {
19
+ function bo() {
23
20
  return { current: null };
24
21
  }
25
22
  function V(e) {
@@ -33,38 +30,38 @@ function Se(e, t) {
33
30
  for (var n; t < e.__k.length; t++) if ((n = e.__k[t]) != null && n.__e != null) return n.__e;
34
31
  return typeof e.type == "function" ? Se(e) : null;
35
32
  }
36
- function $r(e) {
33
+ function Er(e) {
37
34
  var t, n;
38
35
  if ((e = e.__) != null && e.__c != null) {
39
36
  for (e.__e = e.__c.base = null, t = 0; t < e.__k.length; t++) if ((n = e.__k[t]) != null && n.__e != null) {
40
37
  e.__e = e.__c.base = n.__e;
41
38
  break;
42
39
  }
43
- return $r(e);
40
+ return Er(e);
44
41
  }
45
42
  }
46
- function Wt(e) {
47
- (!e.__d && (e.__d = !0) && ue.push(e) && !mt.__r++ || In != v.debounceRendering) && ((In = v.debounceRendering) || Cr)(mt);
43
+ function Ut(e) {
44
+ (!e.__d && (e.__d = !0) && ue.push(e) && !ht.__r++ || On != v.debounceRendering) && ((On = v.debounceRendering) || mr)(ht);
48
45
  }
49
- function mt() {
50
- for (var e, t, n, r, o, i, a, c = 1; ue.length; ) ue.length > c && ue.sort(Er), e = ue.shift(), c = ue.length, e.__d && (n = void 0, o = (r = (t = e).__v).__e, i = [], a = [], t.__P && ((n = Z({}, r)).__v = r.__v + 1, v.vnode && v.vnode(n), _n(t.__P, n, r, t.__n, t.__P.namespaceURI, 32 & r.__u ? [o] : null, i, o ?? Se(r), !!(32 & r.__u), a), n.__v = r.__v, n.__.__k[n.__i] = n, Nr(i, n, a), n.__e != o && $r(n)));
51
- mt.__r = 0;
46
+ function ht() {
47
+ for (var e, t, n, r, o, i, a, c = 1; ue.length; ) ue.length > c && ue.sort(gr), e = ue.shift(), c = ue.length, e.__d && (n = void 0, o = (r = (t = e).__v).__e, i = [], a = [], t.__P && ((n = Z({}, r)).__v = r.__v + 1, v.vnode && v.vnode(n), ln(t.__P, n, r, t.__n, t.__P.namespaceURI, 32 & r.__u ? [o] : null, i, o ?? Se(r), !!(32 & r.__u), a), n.__v = r.__v, n.__.__k[n.__i] = n, br(i, n, a), n.__e != o && Er(n)));
48
+ ht.__r = 0;
52
49
  }
53
- function Or(e, t, n, r, o, i, a, c, s, u, f) {
54
- var l, h, _, g, w, $, m = r && r.__k || br, p = t.length;
55
- for (s = xo(n, t, m, s, p), l = 0; l < p; l++) (_ = n.__k[l]) != null && (h = _.__i == -1 ? Ge : m[_.__i] || Ge, _.__i = l, $ = _n(e, _, h, o, i, a, c, s, u, f), g = _.__e, _.ref && h.ref != _.ref && (h.ref && hn(h.ref, null, _), f.push(_.ref, _.__c || g, _)), w == null && g != null && (w = g), 4 & _.__u || h.__k === _.__k ? s = kr(_, s, e) : typeof _.type == "function" && $ !== void 0 ? s = $ : g && (s = g.nextSibling), _.__u &= -7);
50
+ function wr(e, t, n, r, o, i, a, c, s, u, f) {
51
+ var l, p, _, g, w, $, m = r && r.__k || Cr, h = t.length;
52
+ for (s = $o(n, t, m, s, h), l = 0; l < h; l++) (_ = n.__k[l]) != null && (p = _.__i == -1 ? Ge : m[_.__i] || Ge, _.__i = l, $ = ln(e, _, p, o, i, a, c, s, u, f), g = _.__e, _.ref && p.ref != _.ref && (p.ref && un(p.ref, null, _), f.push(_.ref, _.__c || g, _)), w == null && g != null && (w = g), 4 & _.__u || p.__k === _.__k ? s = Sr(_, s, e) : typeof _.type == "function" && $ !== void 0 ? s = $ : g && (s = g.nextSibling), _.__u &= -7);
56
53
  return n.__e = w, s;
57
54
  }
58
- function xo(e, t, n, r, o) {
59
- var i, a, c, s, u, f = n.length, l = f, h = 0;
60
- for (e.__k = new Array(o), i = 0; i < o; i++) (a = t[i]) != null && typeof a != "boolean" && typeof a != "function" ? (s = i + h, (a = e.__k[i] = typeof a == "string" || typeof a == "number" || typeof a == "bigint" || a.constructor == String ? ze(null, a, null, null, null) : Ke(a) ? ze(V, { children: a }, null, null, null) : a.constructor == null && a.__b > 0 ? ze(a.type, a.props, a.key, a.ref ? a.ref : null, a.__v) : a).__ = e, a.__b = e.__b + 1, c = null, (u = a.__i = Io(a, n, s, l)) != -1 && (l--, (c = n[u]) && (c.__u |= 2)), c == null || c.__v == null ? (u == -1 && (o > f ? h-- : o < f && h++), typeof a.type != "function" && (a.__u |= 4)) : u != s && (u == s - 1 ? h-- : u == s + 1 ? h++ : (u > s ? h-- : h++, a.__u |= 4))) : e.__k[i] = null;
61
- if (l) for (i = 0; i < f; i++) (c = n[i]) != null && (2 & c.__u) == 0 && (c.__e == r && (r = Se(c)), xr(c, c));
55
+ function $o(e, t, n, r, o) {
56
+ var i, a, c, s, u, f = n.length, l = f, p = 0;
57
+ for (e.__k = new Array(o), i = 0; i < o; i++) (a = t[i]) != null && typeof a != "boolean" && typeof a != "function" ? (s = i + p, (a = e.__k[i] = typeof a == "string" || typeof a == "number" || typeof a == "bigint" || a.constructor == String ? ze(null, a, null, null, null) : Ke(a) ? ze(V, { children: a }, null, null, null) : a.constructor == null && a.__b > 0 ? ze(a.type, a.props, a.key, a.ref ? a.ref : null, a.__v) : a).__ = e, a.__b = e.__b + 1, c = null, (u = a.__i = ko(a, n, s, l)) != -1 && (l--, (c = n[u]) && (c.__u |= 2)), c == null || c.__v == null ? (u == -1 && (o > f ? p-- : o < f && p++), typeof a.type != "function" && (a.__u |= 4)) : u != s && (u == s - 1 ? p-- : u == s + 1 ? p++ : (u > s ? p-- : p++, a.__u |= 4))) : e.__k[i] = null;
58
+ if (l) for (i = 0; i < f; i++) (c = n[i]) != null && (2 & c.__u) == 0 && (c.__e == r && (r = Se(c)), kr(c, c));
62
59
  return r;
63
60
  }
64
- function kr(e, t, n) {
61
+ function Sr(e, t, n) {
65
62
  var r, o;
66
63
  if (typeof e.type == "function") {
67
- for (r = e.__k, o = 0; r && o < r.length; o++) r[o] && (r[o].__ = e, t = kr(r[o], t, n));
64
+ for (r = e.__k, o = 0; r && o < r.length; o++) r[o] && (r[o].__ = e, t = Sr(r[o], t, n));
68
65
  return t;
69
66
  }
70
67
  e.__e != t && (t && e.type && !n.contains(t) && (t = Se(e)), n.insertBefore(e.__e, t || null), t = e.__e);
@@ -78,7 +75,7 @@ function ee(e, t) {
78
75
  ee(n, t);
79
76
  }) : t.push(e)), t;
80
77
  }
81
- function Io(e, t, n, r) {
78
+ function ko(e, t, n, r) {
82
79
  var o, i, a = e.key, c = e.type, s = t[n];
83
80
  if (s === null && e.key == null || s && a == s.key && c == s.type && (2 & s.__u) == 0) return n;
84
81
  if (r > (s != null && (2 & s.__u) == 0 ? 1 : 0)) for (o = n - 1, i = n + 1; o >= 0 || i < t.length; ) {
@@ -93,17 +90,17 @@ function Io(e, t, n, r) {
93
90
  }
94
91
  return -1;
95
92
  }
96
- function An(e, t, n) {
97
- t[0] == "-" ? e.setProperty(t, n ?? "") : e[t] = n == null ? "" : typeof n != "number" || No.test(t) ? n : n + "px";
93
+ function Nn(e, t, n) {
94
+ t[0] == "-" ? e.setProperty(t, n ?? "") : e[t] = n == null ? "" : typeof n != "number" || So.test(t) ? n : n + "px";
98
95
  }
99
- function ot(e, t, n, r, o) {
96
+ function rt(e, t, n, r, o) {
100
97
  var i;
101
98
  e: if (t == "style") if (typeof n == "string") e.style.cssText = n;
102
99
  else {
103
- if (typeof r == "string" && (e.style.cssText = r = ""), r) for (t in r) n && t in n || An(e.style, t, "");
104
- if (n) for (t in n) r && n[t] == r[t] || An(e.style, t, n[t]);
100
+ if (typeof r == "string" && (e.style.cssText = r = ""), r) for (t in r) n && t in n || Nn(e.style, t, "");
101
+ if (n) for (t in n) r && n[t] == r[t] || Nn(e.style, t, n[t]);
105
102
  }
106
- else if (t[0] == "o" && t[1] == "n") i = t != (t = t.replace(wr, "$1")), t = t.toLowerCase() in e || t == "onFocusOut" || t == "onFocusIn" ? t.toLowerCase().slice(2) : t.slice(2), e.l || (e.l = {}), e.l[t + i] = n, n ? r ? n.u = r.u : (n.u = fn, e.addEventListener(t, i ? zt : Bt, i)) : e.removeEventListener(t, i ? zt : Bt, i);
103
+ else if (t[0] == "o" && t[1] == "n") i = t != (t = t.replace(yr, "$1")), t = t.toLowerCase() in e || t == "onFocusOut" || t == "onFocusIn" ? t.toLowerCase().slice(2) : t.slice(2), e.l || (e.l = {}), e.l[t + i] = n, n ? r ? n.u = r.u : (n.u = sn, e.addEventListener(t, i ? Ft : Ht, i)) : e.removeEventListener(t, i ? Ft : Ht, i);
107
104
  else {
108
105
  if (o == "http://www.w3.org/2000/svg") t = t.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
109
106
  else if (t != "width" && t != "height" && t != "href" && t != "list" && t != "form" && t != "tabIndex" && t != "download" && t != "rowSpan" && t != "colSpan" && t != "role" && t != "popover" && t in e) try {
@@ -114,54 +111,54 @@ function ot(e, t, n, r, o) {
114
111
  typeof n == "function" || (n == null || n === !1 && t[4] != "-" ? e.removeAttribute(t) : e.setAttribute(t, t == "popover" && n == 1 ? "" : n));
115
112
  }
116
113
  }
117
- function Rn(e) {
114
+ function Tn(e) {
118
115
  return function(t) {
119
116
  if (this.l) {
120
117
  var n = this.l[t.type + e];
121
- if (t.t == null) t.t = fn++;
118
+ if (t.t == null) t.t = sn++;
122
119
  else if (t.t < n.u) return;
123
120
  return n(v.event ? v.event(t) : t);
124
121
  }
125
122
  };
126
123
  }
127
- function _n(e, t, n, r, o, i, a, c, s, u) {
128
- var f, l, h, _, g, w, $, m, p, O, S, N, E, y, F, U, Pe, B = t.type;
124
+ function ln(e, t, n, r, o, i, a, c, s, u) {
125
+ var f, l, p, _, g, w, $, m, h, k, S, N, E, y, F, U, Pe, B = t.type;
129
126
  if (t.constructor != null) return null;
130
127
  128 & n.__u && (s = !!(32 & n.__u), i = [c = t.__e = n.__e]), (f = v.__b) && f(t);
131
128
  e: if (typeof B == "function") try {
132
- if (m = t.props, p = "prototype" in B && B.prototype.render, O = (f = B.contextType) && r[f.__c], S = f ? O ? O.props.value : f.__ : r, n.__c ? $ = (l = t.__c = n.__c).__ = l.__E : (p ? t.__c = l = new B(m, S) : (t.__c = l = new j(m, S), l.constructor = B, l.render = Ro), O && O.sub(l), l.props = m, l.state || (l.state = {}), l.context = S, l.__n = r, h = l.__d = !0, l.__h = [], l._sb = []), p && l.__s == null && (l.__s = l.state), p && B.getDerivedStateFromProps != null && (l.__s == l.state && (l.__s = Z({}, l.__s)), Z(l.__s, B.getDerivedStateFromProps(m, l.__s))), _ = l.props, g = l.state, l.__v = t, h) p && B.getDerivedStateFromProps == null && l.componentWillMount != null && l.componentWillMount(), p && l.componentDidMount != null && l.__h.push(l.componentDidMount);
129
+ if (m = t.props, h = "prototype" in B && B.prototype.render, k = (f = B.contextType) && r[f.__c], S = f ? k ? k.props.value : f.__ : r, n.__c ? $ = (l = t.__c = n.__c).__ = l.__E : (h ? t.__c = l = new B(m, S) : (t.__c = l = new j(m, S), l.constructor = B, l.render = No), k && k.sub(l), l.props = m, l.state || (l.state = {}), l.context = S, l.__n = r, p = l.__d = !0, l.__h = [], l._sb = []), h && l.__s == null && (l.__s = l.state), h && B.getDerivedStateFromProps != null && (l.__s == l.state && (l.__s = Z({}, l.__s)), Z(l.__s, B.getDerivedStateFromProps(m, l.__s))), _ = l.props, g = l.state, l.__v = t, p) h && B.getDerivedStateFromProps == null && l.componentWillMount != null && l.componentWillMount(), h && l.componentDidMount != null && l.__h.push(l.componentDidMount);
133
130
  else {
134
- if (p && B.getDerivedStateFromProps == null && m !== _ && l.componentWillReceiveProps != null && l.componentWillReceiveProps(m, S), !l.__e && l.shouldComponentUpdate != null && l.shouldComponentUpdate(m, l.__s, S) === !1 || t.__v == n.__v) {
131
+ if (h && B.getDerivedStateFromProps == null && m !== _ && l.componentWillReceiveProps != null && l.componentWillReceiveProps(m, S), !l.__e && l.shouldComponentUpdate != null && l.shouldComponentUpdate(m, l.__s, S) === !1 || t.__v == n.__v) {
135
132
  for (t.__v != n.__v && (l.props = m, l.state = l.__s, l.__d = !1), t.__e = n.__e, t.__k = n.__k, t.__k.some(function(ce) {
136
133
  ce && (ce.__ = t);
137
134
  }), N = 0; N < l._sb.length; N++) l.__h.push(l._sb[N]);
138
135
  l._sb = [], l.__h.length && a.push(l);
139
136
  break e;
140
137
  }
141
- l.componentWillUpdate != null && l.componentWillUpdate(m, l.__s, S), p && l.componentDidUpdate != null && l.__h.push(function() {
138
+ l.componentWillUpdate != null && l.componentWillUpdate(m, l.__s, S), h && l.componentDidUpdate != null && l.__h.push(function() {
142
139
  l.componentDidUpdate(_, g, w);
143
140
  });
144
141
  }
145
- if (l.context = S, l.props = m, l.__P = e, l.__e = !1, E = v.__r, y = 0, p) {
142
+ if (l.context = S, l.props = m, l.__P = e, l.__e = !1, E = v.__r, y = 0, h) {
146
143
  for (l.state = l.__s, l.__d = !1, E && E(t), f = l.render(l.props, l.state, l.context), F = 0; F < l._sb.length; F++) l.__h.push(l._sb[F]);
147
144
  l._sb = [];
148
145
  } else do
149
146
  l.__d = !1, E && E(t), f = l.render(l.props, l.state, l.context), l.state = l.__s;
150
147
  while (l.__d && ++y < 25);
151
- l.state = l.__s, l.getChildContext != null && (r = Z(Z({}, r), l.getChildContext())), p && !h && l.getSnapshotBeforeUpdate != null && (w = l.getSnapshotBeforeUpdate(_, g)), U = f, f != null && f.type === V && f.key == null && (U = Tr(f.props.children)), c = Or(e, Ke(U) ? U : [U], t, n, r, o, i, a, c, s, u), l.base = t.__e, t.__u &= -161, l.__h.length && a.push(l), $ && (l.__E = l.__ = null);
148
+ l.state = l.__s, l.getChildContext != null && (r = Z(Z({}, r), l.getChildContext())), h && !p && l.getSnapshotBeforeUpdate != null && (w = l.getSnapshotBeforeUpdate(_, g)), U = f, f != null && f.type === V && f.key == null && (U = $r(f.props.children)), c = wr(e, Ke(U) ? U : [U], t, n, r, o, i, a, c, s, u), l.base = t.__e, t.__u &= -161, l.__h.length && a.push(l), $ && (l.__E = l.__ = null);
152
149
  } catch (ce) {
153
150
  if (t.__v = null, s || i != null) if (ce.then) {
154
151
  for (t.__u |= s ? 160 : 128; c && c.nodeType == 8 && c.nextSibling; ) c = c.nextSibling;
155
152
  i[i.indexOf(c)] = null, t.__e = c;
156
- } else for (Pe = i.length; Pe--; ) dn(i[Pe]);
153
+ } else for (Pe = i.length; Pe--; ) cn(i[Pe]);
157
154
  else t.__e = n.__e, t.__k = n.__k;
158
155
  v.__e(ce, t, n);
159
156
  }
160
- else i == null && t.__v == n.__v ? (t.__k = n.__k, t.__e = n.__e) : c = t.__e = Ao(n.__e, t, n, r, o, i, a, s, u);
157
+ else i == null && t.__v == n.__v ? (t.__k = n.__k, t.__e = n.__e) : c = t.__e = Oo(n.__e, t, n, r, o, i, a, s, u);
161
158
  return (f = v.diffed) && f(t), 128 & t.__u ? void 0 : c;
162
159
  }
163
- function Nr(e, t, n) {
164
- for (var r = 0; r < n.length; r++) hn(n[r], n[++r], n[++r]);
160
+ function br(e, t, n) {
161
+ for (var r = 0; r < n.length; r++) un(n[r], n[++r], n[++r]);
165
162
  v.__c && v.__c(t, e), e.some(function(o) {
166
163
  try {
167
164
  e = o.__h, o.__h = [], e.some(function(i) {
@@ -172,39 +169,39 @@ function Nr(e, t, n) {
172
169
  }
173
170
  });
174
171
  }
175
- function Tr(e) {
176
- return typeof e != "object" || e == null || e.__b && e.__b > 0 ? e : Ke(e) ? e.map(Tr) : Z({}, e);
172
+ function $r(e) {
173
+ return typeof e != "object" || e == null || e.__b && e.__b > 0 ? e : Ke(e) ? e.map($r) : Z({}, e);
177
174
  }
178
- function Ao(e, t, n, r, o, i, a, c, s) {
179
- var u, f, l, h, _, g, w, $ = n.props, m = t.props, p = t.type;
180
- if (p == "svg" ? o = "http://www.w3.org/2000/svg" : p == "math" ? o = "http://www.w3.org/1998/Math/MathML" : o || (o = "http://www.w3.org/1999/xhtml"), i != null) {
181
- for (u = 0; u < i.length; u++) if ((_ = i[u]) && "setAttribute" in _ == !!p && (p ? _.localName == p : _.nodeType == 3)) {
175
+ function Oo(e, t, n, r, o, i, a, c, s) {
176
+ var u, f, l, p, _, g, w, $ = n.props, m = t.props, h = t.type;
177
+ if (h == "svg" ? o = "http://www.w3.org/2000/svg" : h == "math" ? o = "http://www.w3.org/1998/Math/MathML" : o || (o = "http://www.w3.org/1999/xhtml"), i != null) {
178
+ for (u = 0; u < i.length; u++) if ((_ = i[u]) && "setAttribute" in _ == !!h && (h ? _.localName == h : _.nodeType == 3)) {
182
179
  e = _, i[u] = null;
183
180
  break;
184
181
  }
185
182
  }
186
183
  if (e == null) {
187
- if (p == null) return document.createTextNode(m);
188
- e = document.createElementNS(o, p, m.is && m), c && (v.__m && v.__m(t, i), c = !1), i = null;
184
+ if (h == null) return document.createTextNode(m);
185
+ e = document.createElementNS(o, h, m.is && m), c && (v.__m && v.__m(t, i), c = !1), i = null;
189
186
  }
190
- if (p == null) $ === m || c && e.data == m || (e.data = m);
187
+ if (h == null) $ === m || c && e.data == m || (e.data = m);
191
188
  else {
192
189
  if (i = i && Xe.call(e.childNodes), $ = n.props || Ge, !c && i != null) for ($ = {}, u = 0; u < e.attributes.length; u++) $[(_ = e.attributes[u]).name] = _.value;
193
190
  for (u in $) if (_ = $[u], u != "children") {
194
191
  if (u == "dangerouslySetInnerHTML") l = _;
195
192
  else if (!(u in m)) {
196
193
  if (u == "value" && "defaultValue" in m || u == "checked" && "defaultChecked" in m) continue;
197
- ot(e, u, null, _, o);
194
+ rt(e, u, null, _, o);
198
195
  }
199
196
  }
200
- for (u in m) _ = m[u], u == "children" ? h = _ : u == "dangerouslySetInnerHTML" ? f = _ : u == "value" ? g = _ : u == "checked" ? w = _ : c && typeof _ != "function" || $[u] === _ || ot(e, u, _, $[u], o);
197
+ for (u in m) _ = m[u], u == "children" ? p = _ : u == "dangerouslySetInnerHTML" ? f = _ : u == "value" ? g = _ : u == "checked" ? w = _ : c && typeof _ != "function" || $[u] === _ || rt(e, u, _, $[u], o);
201
198
  if (f) c || l && (f.__html == l.__html || f.__html == e.innerHTML) || (e.innerHTML = f.__html), t.__k = [];
202
- else if (l && (e.innerHTML = ""), Or(t.type == "template" ? e.content : e, Ke(h) ? h : [h], t, n, r, p == "foreignObject" ? "http://www.w3.org/1999/xhtml" : o, i, a, i ? i[0] : n.__k && Se(n, 0), c, s), i != null) for (u = i.length; u--; ) dn(i[u]);
203
- c || (u = "value", p == "progress" && g == null ? e.removeAttribute("value") : g != null && (g !== e[u] || p == "progress" && !g || p == "option" && g != $[u]) && ot(e, u, g, $[u], o), u = "checked", w != null && w != e[u] && ot(e, u, w, $[u], o));
199
+ else if (l && (e.innerHTML = ""), wr(t.type == "template" ? e.content : e, Ke(p) ? p : [p], t, n, r, h == "foreignObject" ? "http://www.w3.org/1999/xhtml" : o, i, a, i ? i[0] : n.__k && Se(n, 0), c, s), i != null) for (u = i.length; u--; ) cn(i[u]);
200
+ c || (u = "value", h == "progress" && g == null ? e.removeAttribute("value") : g != null && (g !== e[u] || h == "progress" && !g || h == "option" && g != $[u]) && rt(e, u, g, $[u], o), u = "checked", w != null && w != e[u] && rt(e, u, w, $[u], o));
204
201
  }
205
202
  return e;
206
203
  }
207
- function hn(e, t, n) {
204
+ function un(e, t, n) {
208
205
  try {
209
206
  if (typeof e == "function") {
210
207
  var r = typeof e.__u == "function";
@@ -214,9 +211,9 @@ function hn(e, t, n) {
214
211
  v.__e(o, n);
215
212
  }
216
213
  }
217
- function xr(e, t, n) {
214
+ function kr(e, t, n) {
218
215
  var r, o;
219
- if (v.unmount && v.unmount(e), (r = e.ref) && (r.current && r.current != e.__e || hn(r, null, t)), (r = e.__c) != null) {
216
+ if (v.unmount && v.unmount(e), (r = e.ref) && (r.current && r.current != e.__e || un(r, null, t)), (r = e.__c) != null) {
220
217
  if (r.componentWillUnmount) try {
221
218
  r.componentWillUnmount();
222
219
  } catch (i) {
@@ -224,25 +221,25 @@ function xr(e, t, n) {
224
221
  }
225
222
  r.base = r.__P = null;
226
223
  }
227
- if (r = e.__k) for (o = 0; o < r.length; o++) r[o] && xr(r[o], t, n || typeof e.type != "function");
228
- n || dn(e.__e), e.__c = e.__ = e.__e = void 0;
224
+ if (r = e.__k) for (o = 0; o < r.length; o++) r[o] && kr(r[o], t, n || typeof e.type != "function");
225
+ n || cn(e.__e), e.__c = e.__ = e.__e = void 0;
229
226
  }
230
- function Ro(e, t, n) {
227
+ function No(e, t, n) {
231
228
  return this.constructor(e, n);
232
229
  }
233
230
  function ie(e, t, n) {
234
231
  var r, o, i, a;
235
- t == document && (t = document.documentElement), v.__ && v.__(e, t), o = (r = typeof n == "function") ? null : n && n.__k || t.__k, i = [], a = [], _n(t, e = (!r && n || t).__k = M(V, null, [e]), o || Ge, Ge, t.namespaceURI, !r && n ? [n] : o ? null : t.firstChild ? Xe.call(t.childNodes) : null, i, !r && n ? n : o ? o.__e : t.firstChild, r, a), Nr(i, e, a);
232
+ t == document && (t = document.documentElement), v.__ && v.__(e, t), o = (r = typeof n == "function") ? null : n && n.__k || t.__k, i = [], a = [], ln(t, e = (!r && n || t).__k = M(V, null, [e]), o || Ge, Ge, t.namespaceURI, !r && n ? [n] : o ? null : t.firstChild ? Xe.call(t.childNodes) : null, i, !r && n ? n : o ? o.__e : t.firstChild, r, a), br(i, e, a);
236
233
  }
237
- function pn(e, t) {
238
- ie(e, t, pn);
234
+ function fn(e, t) {
235
+ ie(e, t, fn);
239
236
  }
240
- function mn(e, t, n) {
237
+ function dn(e, t, n) {
241
238
  var r, o, i, a, c = Z({}, e.props);
242
239
  for (i in e.type && e.type.defaultProps && (a = e.type.defaultProps), t) i == "key" ? r = t[i] : i == "ref" ? o = t[i] : c[i] = t[i] == null && a != null ? a[i] : t[i];
243
240
  return arguments.length > 2 && (c.children = arguments.length > 3 ? Xe.call(arguments, 2) : n), ze(e.type, c, r || e.key, o || e.ref, null);
244
241
  }
245
- function Ir(e) {
242
+ function Or(e) {
246
243
  function t(n) {
247
244
  var r, o;
248
245
  return this.getChildContext || (r = /* @__PURE__ */ new Set(), (o = {})[t.__c] = this, this.getChildContext = function() {
@@ -251,7 +248,7 @@ function Ir(e) {
251
248
  r = null;
252
249
  }, this.shouldComponentUpdate = function(i) {
253
250
  this.props.value != i.value && r.forEach(function(a) {
254
- a.__e = !0, Wt(a);
251
+ a.__e = !0, Ut(a);
255
252
  });
256
253
  }, this.sub = function(i) {
257
254
  r.add(i);
@@ -261,27 +258,27 @@ function Ir(e) {
261
258
  };
262
259
  }), n.children;
263
260
  }
264
- return t.__c = "__cC" + Sr++, t.__ = e, t.Provider = t.__l = (t.Consumer = function(n, r) {
261
+ return t.__c = "__cC" + vr++, t.__ = e, t.Provider = t.__l = (t.Consumer = function(n, r) {
265
262
  return n.children(r);
266
263
  }).contextType = t, t;
267
264
  }
268
- Xe = br.slice, v = { __e: function(e, t, n, r) {
265
+ Xe = Cr.slice, v = { __e: function(e, t, n, r) {
269
266
  for (var o, i, a; t = t.__; ) if ((o = t.__c) && !o.__) try {
270
267
  if ((i = o.constructor) && i.getDerivedStateFromError != null && (o.setState(i.getDerivedStateFromError(e)), a = o.__d), o.componentDidCatch != null && (o.componentDidCatch(e, r || {}), a = o.__d), a) return o.__E = o;
271
268
  } catch (c) {
272
269
  e = c;
273
270
  }
274
271
  throw e;
275
- } }, vr = 0, j.prototype.setState = function(e, t) {
272
+ } }, hr = 0, j.prototype.setState = function(e, t) {
276
273
  var n;
277
- n = this.__s != null && this.__s != this.state ? this.__s : this.__s = Z({}, this.state), typeof e == "function" && (e = e(Z({}, n), this.props)), e && Z(n, e), e != null && this.__v && (t && this._sb.push(t), Wt(this));
274
+ n = this.__s != null && this.__s != this.state ? this.__s : this.__s = Z({}, this.state), typeof e == "function" && (e = e(Z({}, n), this.props)), e && Z(n, e), e != null && this.__v && (t && this._sb.push(t), Ut(this));
278
275
  }, j.prototype.forceUpdate = function(e) {
279
- this.__v && (this.__e = !0, e && this.__h.push(e), Wt(this));
280
- }, j.prototype.render = V, ue = [], Cr = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, Er = function(e, t) {
276
+ this.__v && (this.__e = !0, e && this.__h.push(e), Ut(this));
277
+ }, j.prototype.render = V, ue = [], mr = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, gr = function(e, t) {
281
278
  return e.__v.__b - t.__v.__b;
282
- }, mt.__r = 0, wr = /(PointerCapture)$|Capture$/i, fn = 0, Bt = Rn(!1), zt = Rn(!0), Sr = 0;
283
- function gn() {
284
- return (gn = Object.assign ? Object.assign.bind() : function(e) {
279
+ }, ht.__r = 0, yr = /(PointerCapture)$|Capture$/i, sn = 0, Ht = Tn(!1), Ft = Tn(!0), vr = 0;
280
+ function _n() {
281
+ return (_n = Object.assign ? Object.assign.bind() : function(e) {
285
282
  for (var t = 1; t < arguments.length; t++) {
286
283
  var n = arguments[t];
287
284
  for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
@@ -289,8 +286,8 @@ function gn() {
289
286
  return e;
290
287
  }).apply(this, arguments);
291
288
  }
292
- var Po = ["context", "children"];
293
- function Do(e) {
289
+ var To = ["context", "children"];
290
+ function xo(e) {
294
291
  this.getChildContext = function() {
295
292
  return e.context;
296
293
  };
@@ -299,52 +296,52 @@ function Do(e) {
299
296
  var i, a, c = {}, s = Object.keys(r);
300
297
  for (a = 0; a < s.length; a++) o.indexOf(i = s[a]) >= 0 || (c[i] = r[i]);
301
298
  return c;
302
- }(e, Po);
303
- return mn(t, n);
299
+ }(e, To);
300
+ return dn(t, n);
304
301
  }
305
- function Lo() {
302
+ function Io() {
306
303
  var e = new CustomEvent("_preact", { detail: {}, bubbles: !0, cancelable: !0 });
307
- this.dispatchEvent(e), this._vdom = M(Do, gn({}, this._props, { context: e.detail.context }), function t(n, r) {
304
+ this.dispatchEvent(e), this._vdom = M(xo, _n({}, this._props, { context: e.detail.context }), function t(n, r) {
308
305
  if (n.nodeType === 3) return n.data;
309
306
  if (n.nodeType !== 1) return null;
310
307
  var o = [], i = {}, a = 0, c = n.attributes, s = n.childNodes;
311
- for (a = c.length; a--; ) c[a].name !== "slot" && (i[c[a].name] = c[a].value, i[Ar(c[a].name)] = c[a].value);
308
+ for (a = c.length; a--; ) c[a].name !== "slot" && (i[c[a].name] = c[a].value, i[Nr(c[a].name)] = c[a].value);
312
309
  for (a = s.length; a--; ) {
313
310
  var u = t(s[a], null), f = s[a].slot;
314
- f ? i[f] = M(Pn, { name: f }, u) : o[a] = u;
311
+ f ? i[f] = M(xn, { name: f }, u) : o[a] = u;
315
312
  }
316
- var l = r ? M(Pn, null, o) : o;
313
+ var l = r ? M(xn, null, o) : o;
317
314
  return M(r || n.nodeName.toLowerCase(), i, l);
318
- }(this, this._vdomComponent)), (this.hasAttribute("hydrate") ? pn : ie)(this._vdom, this._root);
315
+ }(this, this._vdomComponent)), (this.hasAttribute("hydrate") ? fn : ie)(this._vdom, this._root);
319
316
  }
320
- function Ar(e) {
317
+ function Nr(e) {
321
318
  return e.replace(/-(\w)/g, function(t, n) {
322
319
  return n ? n.toUpperCase() : "";
323
320
  });
324
321
  }
325
- function Mo(e, t, n) {
322
+ function Ao(e, t, n) {
326
323
  if (this._vdom) {
327
324
  var r = {};
328
- r[e] = n = n ?? void 0, r[Ar(e)] = n, this._vdom = mn(this._vdom, r), ie(this._vdom, this._root);
325
+ r[e] = n = n ?? void 0, r[Nr(e)] = n, this._vdom = dn(this._vdom, r), ie(this._vdom, this._root);
329
326
  }
330
327
  }
331
- function Ho() {
328
+ function Ro() {
332
329
  ie(this._vdom = null, this._root);
333
330
  }
334
- function Pn(e, t) {
331
+ function xn(e, t) {
335
332
  var n = this;
336
- return M("slot", gn({}, e, { ref: function(r) {
333
+ return M("slot", _n({}, e, { ref: function(r) {
337
334
  r ? (n.ref = r, n._listener || (n._listener = function(o) {
338
335
  o.stopPropagation(), o.detail.context = t;
339
336
  }, r.addEventListener("_preact", n._listener))) : n.ref.removeEventListener("_preact", n._listener);
340
337
  } }));
341
338
  }
342
- function Fo(e, t, n, r) {
339
+ function Po(e, t, n, r) {
343
340
  function o() {
344
341
  var i = Reflect.construct(HTMLElement, [], o);
345
342
  return i._vdomComponent = e, i._root = i, i;
346
343
  }
347
- return (o.prototype = Object.create(HTMLElement.prototype)).constructor = o, o.prototype.connectedCallback = Lo, o.prototype.attributeChangedCallback = Mo, o.prototype.disconnectedCallback = Ho, n = n || e.observedAttributes || Object.keys(e.propTypes || {}), o.observedAttributes = n, n.forEach(function(i) {
344
+ return (o.prototype = Object.create(HTMLElement.prototype)).constructor = o, o.prototype.connectedCallback = Io, o.prototype.attributeChangedCallback = Ao, o.prototype.disconnectedCallback = Ro, n = n || e.observedAttributes || Object.keys(e.propTypes || {}), o.observedAttributes = n, n.forEach(function(i) {
348
345
  Object.defineProperty(o.prototype, i, { get: function() {
349
346
  return this._vdom.props[i];
350
347
  }, set: function(a) {
@@ -354,30 +351,30 @@ function Fo(e, t, n, r) {
354
351
  } });
355
352
  }), customElements.define(t, o);
356
353
  }
357
- var Uo = 0;
354
+ var Lo = 0;
358
355
  function d(e, t, n, r, o, i) {
359
356
  t || (t = {});
360
357
  var a, c, s = t;
361
358
  if ("ref" in s) for (c in s = {}, t) c == "ref" ? a = t[c] : s[c] = t[c];
362
- var u = { type: e, props: s, key: n, ref: a, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --Uo, __i: -1, __u: 0, __source: o, __self: i };
359
+ var u = { type: e, props: s, key: n, ref: a, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --Lo, __i: -1, __u: 0, __source: o, __self: i };
363
360
  if (typeof e == "function" && (a = e.defaultProps)) for (c in a) s[c] === void 0 && (s[c] = a[c]);
364
361
  return v.vnode && v.vnode(u), u;
365
362
  }
366
- const Dn = {
363
+ const In = {
367
364
  SWITCH_CAMERA: "switch-camera",
368
365
  TOGGLE_MIRROR: "toggle-mirror"
369
366
  };
370
- var be = /* @__PURE__ */ ((e) => (e.CAMERA_PROPS_CHANGED = "face-auto-capture:camera-props-changed", e.CONTROL = "face-auto-capture:control", e.DETECTED_FACE_CHANGED = "face-auto-capture:detected-face-changed", e.FACE_DETECTION = "face-auto-capture:face-detection", e.INSTRUCTION_CHANGED = "face-auto-capture:instruction-changed", e.STATE_CHANGED = "face-auto-capture:state-changed", e.VIDEO_ELEMENT_SIZE = "face-auto-capture:video-element-size", e))(be || {}), yn = /* @__PURE__ */ ((e) => (e.ANIMATION_END = "magnifeye-auto-capture:animation-end", e.CONTROL = "magnifeye-auto-capture:control", e.STATUS_CHANGED = "magnifeye-auto-capture:status-changed", e))(yn || {});
371
- const Bo = {
372
- LOADING: "LOADING",
373
- ERROR: "ERROR",
374
- WAITING: "WAITING",
375
- RUNNING: "RUNNING",
376
- COMPLETE: "COMPLETE"
377
- }, jt = {
378
- ...Bo,
379
- DONE: "DONE"
380
- }, Ln = {
367
+ var be = /* @__PURE__ */ ((e) => (e.CAMERA_PROPS_CHANGED = "face-auto-capture:camera-props-changed", e.CONTROL = "face-auto-capture:control", e.DETECTION_CHANGED = "face-auto-capture:detection-changed", e.FACE_DETECTION = "face-auto-capture:face-detection", e.INSTRUCTION_CHANGED = "face-auto-capture:instruction-changed", e.STATE_CHANGED = "face-auto-capture:state-changed", e.VIDEO_ELEMENT_SIZE = "face-auto-capture:video-element-size", e))(be || {}), pn = /* @__PURE__ */ ((e) => (e.ANIMATION_END = "magnifeye-auto-capture:animation-end", e.CONTROL = "magnifeye-auto-capture:control", e.STATUS_CHANGED = "magnifeye-auto-capture:status-changed", e))(pn || {});
368
+ const Do = {
369
+ LOADING: "loading",
370
+ ERROR: "error",
371
+ WAITING: "waiting",
372
+ RUNNING: "running",
373
+ COMPLETE: "complete"
374
+ }, Bt = {
375
+ ...Do,
376
+ DONE: "done"
377
+ }, An = {
381
378
  EYE_NOT_PRESENT: "eye_not_present"
382
379
  }, P = {
383
380
  CANDIDATE_SELECTION: "candidate_selection",
@@ -389,8 +386,8 @@ const Bo = {
389
386
  BRIGHTNESS_TOO_LOW: "brightness_too_low",
390
387
  BRIGHTNESS_TOO_HIGH: "brightness_too_high",
391
388
  DEVICE_PITCHED: "device_pitched",
392
- LEFT_EYE_NOT_PRESENT: `left_${Ln.EYE_NOT_PRESENT}`,
393
- RIGHT_EYE_NOT_PRESENT: `right_${Ln.EYE_NOT_PRESENT}`,
389
+ LEFT_EYE_NOT_PRESENT: `left_${An.EYE_NOT_PRESENT}`,
390
+ RIGHT_EYE_NOT_PRESENT: `right_${An.EYE_NOT_PRESENT}`,
394
391
  MOUTH_NOT_PRESENT: "mouth_not_present",
395
392
  MOUTH_SCORE_TOO_HIGH: "mouth_score_too_high",
396
393
  MOUTH_SCORE_TOO_LOW: "mouth_score_too_low"
@@ -399,35 +396,35 @@ const Bo = {
399
396
  FIT_YOUR_EYE: "fit_your_eye"
400
397
  };
401
398
  var Ye = /* @__PURE__ */ ((e) => (e.CLOSEUP = "CLOSEUP", e.DISTANT = "DISTANT", e.MIDDLE = "MIDDLE", e))(Ye || {});
402
- const we = jt;
403
- var ae, x, Pt, Mn, $e = 0, Rr = [], I = v, Hn = I.__b, Fn = I.__r, Un = I.diffed, Bn = I.__c, zn = I.unmount, Wn = I.__;
399
+ const we = Bt;
400
+ var ae, x, It, Rn, $e = 0, Tr = [], I = v, Pn = I.__b, Ln = I.__r, Dn = I.diffed, Mn = I.__c, Hn = I.unmount, Fn = I.__;
404
401
  function xe(e, t) {
405
402
  I.__h && I.__h(x, e, $e || t), $e = 0;
406
403
  var n = x.__H || (x.__H = { __: [], __h: [] });
407
404
  return e >= n.__.length && n.__.push({}), n.__[e];
408
405
  }
409
406
  function H(e) {
410
- return $e = 1, vn(Lr, e);
407
+ return $e = 1, hn(Ar, e);
411
408
  }
412
- function vn(e, t, n) {
409
+ function hn(e, t, n) {
413
410
  var r = xe(ae++, 2);
414
- if (r.t = e, !r.__c && (r.__ = [n ? n(t) : Lr(void 0, t), function(c) {
411
+ if (r.t = e, !r.__c && (r.__ = [n ? n(t) : Ar(void 0, t), function(c) {
415
412
  var s = r.__N ? r.__N[0] : r.__[0], u = r.t(s, c);
416
413
  s !== u && (r.__N = [u, r.__[1]], r.__c.setState({}));
417
414
  }], r.__c = x, !x.__f)) {
418
415
  var o = function(c, s, u) {
419
416
  if (!r.__c.__H) return !0;
420
- var f = r.__c.__H.__.filter(function(h) {
421
- return !!h.__c;
417
+ var f = r.__c.__H.__.filter(function(p) {
418
+ return !!p.__c;
422
419
  });
423
- if (f.every(function(h) {
424
- return !h.__N;
420
+ if (f.every(function(p) {
421
+ return !p.__N;
425
422
  })) return !i || i.call(this, c, s, u);
426
423
  var l = r.__c.props !== c;
427
- return f.forEach(function(h) {
428
- if (h.__N) {
429
- var _ = h.__[0];
430
- h.__ = h.__N, h.__N = void 0, _ !== h.__[0] && (l = !0);
424
+ return f.forEach(function(p) {
425
+ if (p.__N) {
426
+ var _ = p.__[0];
427
+ p.__ = p.__N, p.__N = void 0, _ !== p.__[0] && (l = !0);
431
428
  }
432
429
  }), i && i.call(this, c, s, u) || l;
433
430
  };
@@ -445,18 +442,18 @@ function vn(e, t, n) {
445
442
  }
446
443
  function X(e, t) {
447
444
  var n = xe(ae++, 3);
448
- !I.__s && Cn(n.__H, t) && (n.__ = e, n.u = t, x.__H.__h.push(n));
445
+ !I.__s && mn(n.__H, t) && (n.__ = e, n.u = t, x.__H.__h.push(n));
449
446
  }
450
447
  function Ie(e, t) {
451
448
  var n = xe(ae++, 4);
452
- !I.__s && Cn(n.__H, t) && (n.__ = e, n.u = t, x.__h.push(n));
449
+ !I.__s && mn(n.__H, t) && (n.__ = e, n.u = t, x.__h.push(n));
453
450
  }
454
451
  function Je(e) {
455
452
  return $e = 5, te(function() {
456
453
  return { current: e };
457
454
  }, []);
458
455
  }
459
- function Pr(e, t, n) {
456
+ function xr(e, t, n) {
460
457
  $e = 6, Ie(function() {
461
458
  if (typeof e == "function") {
462
459
  var r = e(t());
@@ -471,9 +468,9 @@ function Pr(e, t, n) {
471
468
  }
472
469
  function te(e, t) {
473
470
  var n = xe(ae++, 7);
474
- return Cn(n.__H, t) && (n.__ = e(), n.__H = t, n.__h = e), n.__;
471
+ return mn(n.__H, t) && (n.__ = e(), n.__H = t, n.__h = e), n.__;
475
472
  }
476
- function pe(e, t) {
473
+ function he(e, t) {
477
474
  return $e = 8, te(function() {
478
475
  return e;
479
476
  }, t);
@@ -482,10 +479,10 @@ function Qe(e) {
482
479
  var t = x.context[e.__c], n = xe(ae++, 9);
483
480
  return n.c = e, t ? (n.__ == null && (n.__ = !0, t.sub(x)), t.props.value) : e.__;
484
481
  }
485
- function gt(e, t) {
482
+ function mt(e, t) {
486
483
  I.useDebugValue && I.useDebugValue(t ? t(e) : e);
487
484
  }
488
- function Dr() {
485
+ function Ir() {
489
486
  var e = xe(ae++, 11);
490
487
  if (!e.__) {
491
488
  for (var t = x.__v; t !== null && !t.__m && t.__ !== null; ) t = t.__;
@@ -494,121 +491,121 @@ function Dr() {
494
491
  }
495
492
  return e.__;
496
493
  }
497
- function zo() {
498
- for (var e; e = Rr.shift(); ) if (e.__P && e.__H) try {
499
- e.__H.__h.forEach(lt), e.__H.__h.forEach(Gt), e.__H.__h = [];
494
+ function Mo() {
495
+ for (var e; e = Tr.shift(); ) if (e.__P && e.__H) try {
496
+ e.__H.__h.forEach(ct), e.__H.__h.forEach(zt), e.__H.__h = [];
500
497
  } catch (t) {
501
498
  e.__H.__h = [], I.__e(t, e.__v);
502
499
  }
503
500
  }
504
501
  I.__b = function(e) {
505
- x = null, Hn && Hn(e);
502
+ x = null, Pn && Pn(e);
506
503
  }, I.__ = function(e, t) {
507
- e && t.__k && t.__k.__m && (e.__m = t.__k.__m), Wn && Wn(e, t);
504
+ e && t.__k && t.__k.__m && (e.__m = t.__k.__m), Fn && Fn(e, t);
508
505
  }, I.__r = function(e) {
509
- Fn && Fn(e), ae = 0;
506
+ Ln && Ln(e), ae = 0;
510
507
  var t = (x = e.__c).__H;
511
- t && (Pt === x ? (t.__h = [], x.__h = [], t.__.forEach(function(n) {
508
+ t && (It === x ? (t.__h = [], x.__h = [], t.__.forEach(function(n) {
512
509
  n.__N && (n.__ = n.__N), n.u = n.__N = void 0;
513
- })) : (t.__h.forEach(lt), t.__h.forEach(Gt), t.__h = [], ae = 0)), Pt = x;
510
+ })) : (t.__h.forEach(ct), t.__h.forEach(zt), t.__h = [], ae = 0)), It = x;
514
511
  }, I.diffed = function(e) {
515
- Un && Un(e);
512
+ Dn && Dn(e);
516
513
  var t = e.__c;
517
- t && t.__H && (t.__H.__h.length && (Rr.push(t) !== 1 && Mn === I.requestAnimationFrame || ((Mn = I.requestAnimationFrame) || Wo)(zo)), t.__H.__.forEach(function(n) {
514
+ t && t.__H && (t.__H.__h.length && (Tr.push(t) !== 1 && Rn === I.requestAnimationFrame || ((Rn = I.requestAnimationFrame) || Ho)(Mo)), t.__H.__.forEach(function(n) {
518
515
  n.u && (n.__H = n.u), n.u = void 0;
519
- })), Pt = x = null;
516
+ })), It = x = null;
520
517
  }, I.__c = function(e, t) {
521
518
  t.some(function(n) {
522
519
  try {
523
- n.__h.forEach(lt), n.__h = n.__h.filter(function(r) {
524
- return !r.__ || Gt(r);
520
+ n.__h.forEach(ct), n.__h = n.__h.filter(function(r) {
521
+ return !r.__ || zt(r);
525
522
  });
526
523
  } catch (r) {
527
524
  t.some(function(o) {
528
525
  o.__h && (o.__h = []);
529
526
  }), t = [], I.__e(r, n.__v);
530
527
  }
531
- }), Bn && Bn(e, t);
528
+ }), Mn && Mn(e, t);
532
529
  }, I.unmount = function(e) {
533
- zn && zn(e);
530
+ Hn && Hn(e);
534
531
  var t, n = e.__c;
535
532
  n && n.__H && (n.__H.__.forEach(function(r) {
536
533
  try {
537
- lt(r);
534
+ ct(r);
538
535
  } catch (o) {
539
536
  t = o;
540
537
  }
541
538
  }), n.__H = void 0, t && I.__e(t, n.__v));
542
539
  };
543
- var jn = typeof requestAnimationFrame == "function";
544
- function Wo(e) {
540
+ var Un = typeof requestAnimationFrame == "function";
541
+ function Ho(e) {
545
542
  var t, n = function() {
546
- clearTimeout(r), jn && cancelAnimationFrame(t), setTimeout(e);
543
+ clearTimeout(r), Un && cancelAnimationFrame(t), setTimeout(e);
547
544
  }, r = setTimeout(n, 100);
548
- jn && (t = requestAnimationFrame(n));
545
+ Un && (t = requestAnimationFrame(n));
549
546
  }
550
- function lt(e) {
547
+ function ct(e) {
551
548
  var t = x, n = e.__c;
552
549
  typeof n == "function" && (e.__c = void 0, n()), x = t;
553
550
  }
554
- function Gt(e) {
551
+ function zt(e) {
555
552
  var t = x;
556
553
  e.__c = e.__(), x = t;
557
554
  }
558
- function Cn(e, t) {
555
+ function mn(e, t) {
559
556
  return !e || e.length !== t.length || t.some(function(n, r) {
560
557
  return n !== e[r];
561
558
  });
562
559
  }
563
- function Lr(e, t) {
560
+ function Ar(e, t) {
564
561
  return typeof t == "function" ? t(e) : t;
565
562
  }
566
- var D = function() {
567
- return D = Object.assign || function(t) {
563
+ var L = function() {
564
+ return L = Object.assign || function(t) {
568
565
  for (var n, r = 1, o = arguments.length; r < o; r++) {
569
566
  n = arguments[r];
570
567
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]);
571
568
  }
572
569
  return t;
573
- }, D.apply(this, arguments);
570
+ }, L.apply(this, arguments);
574
571
  };
575
572
  function me(e, t, n) {
576
573
  if (n || arguments.length === 2) for (var r = 0, o = t.length, i; r < o; r++)
577
574
  (i || !(r in t)) && (i || (i = Array.prototype.slice.call(t, 0, r)), i[r] = t[r]);
578
575
  return e.concat(i || Array.prototype.slice.call(t));
579
576
  }
580
- function jo(e) {
577
+ function Fo(e) {
581
578
  var t = /* @__PURE__ */ Object.create(null);
582
579
  return function(n) {
583
580
  return t[n] === void 0 && (t[n] = e(n)), t[n];
584
581
  };
585
582
  }
586
- var Go = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, Vo = /* @__PURE__ */ jo(
583
+ var Uo = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, Bo = /* @__PURE__ */ Fo(
587
584
  function(e) {
588
- return Go.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
585
+ return Uo.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
589
586
  }
590
587
  /* Z+1 */
591
588
  );
592
- function Mr(e, t) {
589
+ function Rr(e, t) {
593
590
  for (var n in t) e[n] = t[n];
594
591
  return e;
595
592
  }
596
- function Vt(e, t) {
593
+ function Wt(e, t) {
597
594
  for (var n in e) if (n !== "__source" && !(n in t)) return !0;
598
595
  for (var r in t) if (r !== "__source" && e[r] !== t[r]) return !0;
599
596
  return !1;
600
597
  }
601
- function Hr(e, t) {
598
+ function Pr(e, t) {
602
599
  var n = t(), r = H({ t: { __: n, u: t } }), o = r[0].t, i = r[1];
603
600
  return Ie(function() {
604
- o.__ = n, o.u = t, Dt(o) && i({ t: o });
601
+ o.__ = n, o.u = t, At(o) && i({ t: o });
605
602
  }, [e, n, t]), X(function() {
606
- return Dt(o) && i({ t: o }), e(function() {
607
- Dt(o) && i({ t: o });
603
+ return At(o) && i({ t: o }), e(function() {
604
+ At(o) && i({ t: o });
608
605
  });
609
606
  }, [e]), n;
610
607
  }
611
- function Dt(e) {
608
+ function At(e) {
612
609
  var t, n, r = e.u, o = e.__;
613
610
  try {
614
611
  var i = r();
@@ -617,80 +614,80 @@ function Dt(e) {
617
614
  return !0;
618
615
  }
619
616
  }
620
- function Fr(e) {
617
+ function Lr(e) {
621
618
  e();
622
619
  }
623
- function Ur(e) {
620
+ function Dr(e) {
624
621
  return e;
625
622
  }
626
- function Br() {
627
- return [!1, Fr];
623
+ function Mr() {
624
+ return [!1, Lr];
628
625
  }
629
- var zr = Ie;
630
- function Yt(e, t) {
626
+ var Hr = Ie;
627
+ function jt(e, t) {
631
628
  this.props = e, this.context = t;
632
629
  }
633
- function Yo(e, t) {
630
+ function zo(e, t) {
634
631
  function n(o) {
635
632
  var i = this.props.ref, a = i == o.ref;
636
- return !a && i && (i.call ? i(null) : i.current = null), t ? !t(this.props, o) || !a : Vt(this.props, o);
633
+ return !a && i && (i.call ? i(null) : i.current = null), t ? !t(this.props, o) || !a : Wt(this.props, o);
637
634
  }
638
635
  function r(o) {
639
636
  return this.shouldComponentUpdate = n, M(e, o);
640
637
  }
641
638
  return r.displayName = "Memo(" + (e.displayName || e.name) + ")", r.prototype.isReactComponent = !0, r.__f = !0, r;
642
639
  }
643
- (Yt.prototype = new j()).isPureReactComponent = !0, Yt.prototype.shouldComponentUpdate = function(e, t) {
644
- return Vt(this.props, e) || Vt(this.state, t);
640
+ (jt.prototype = new j()).isPureReactComponent = !0, jt.prototype.shouldComponentUpdate = function(e, t) {
641
+ return Wt(this.props, e) || Wt(this.state, t);
645
642
  };
646
- var Gn = v.__b;
643
+ var Bn = v.__b;
647
644
  v.__b = function(e) {
648
- e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), Gn && Gn(e);
645
+ e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), Bn && Bn(e);
649
646
  };
650
- var Zo = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
651
- function qo(e) {
647
+ var Wo = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
648
+ function jo(e) {
652
649
  function t(n) {
653
- var r = Mr({}, n);
650
+ var r = Rr({}, n);
654
651
  return delete r.ref, e(r, n.ref || null);
655
652
  }
656
- return t.$$typeof = Zo, t.render = t, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", t;
653
+ return t.$$typeof = Wo, t.render = t, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", t;
657
654
  }
658
- var Vn = function(e, t) {
655
+ var zn = function(e, t) {
659
656
  return e == null ? null : ee(ee(e).map(t));
660
- }, Xo = { map: Vn, forEach: Vn, count: function(e) {
657
+ }, Go = { map: zn, forEach: zn, count: function(e) {
661
658
  return e ? ee(e).length : 0;
662
659
  }, only: function(e) {
663
660
  var t = ee(e);
664
661
  if (t.length !== 1) throw "Children.only";
665
662
  return t[0];
666
- }, toArray: ee }, Ko = v.__e;
663
+ }, toArray: ee }, Vo = v.__e;
667
664
  v.__e = function(e, t, n, r) {
668
665
  if (e.then) {
669
666
  for (var o, i = t; i = i.__; ) if ((o = i.__c) && o.__c) return t.__e == null && (t.__e = n.__e, t.__k = n.__k), o.__c(e, t);
670
667
  }
671
- Ko(e, t, n, r);
668
+ Vo(e, t, n, r);
672
669
  };
673
- var Yn = v.unmount;
674
- function Wr(e, t, n) {
670
+ var Wn = v.unmount;
671
+ function Fr(e, t, n) {
675
672
  return e && (e.__c && e.__c.__H && (e.__c.__H.__.forEach(function(r) {
676
673
  typeof r.__c == "function" && r.__c();
677
- }), e.__c.__H = null), (e = Mr({}, e)).__c != null && (e.__c.__P === n && (e.__c.__P = t), e.__c.__e = !0, e.__c = null), e.__k = e.__k && e.__k.map(function(r) {
678
- return Wr(r, t, n);
674
+ }), e.__c.__H = null), (e = Rr({}, e)).__c != null && (e.__c.__P === n && (e.__c.__P = t), e.__c.__e = !0, e.__c = null), e.__k = e.__k && e.__k.map(function(r) {
675
+ return Fr(r, t, n);
679
676
  })), e;
680
677
  }
681
- function jr(e, t, n) {
678
+ function Ur(e, t, n) {
682
679
  return e && n && (e.__v = null, e.__k = e.__k && e.__k.map(function(r) {
683
- return jr(r, t, n);
680
+ return Ur(r, t, n);
684
681
  }), e.__c && e.__c.__P === t && (e.__e && n.appendChild(e.__e), e.__c.__e = !0, e.__c.__P = n)), e;
685
682
  }
686
- function ut() {
683
+ function lt() {
687
684
  this.__u = 0, this.o = null, this.__b = null;
688
685
  }
689
- function Gr(e) {
686
+ function Br(e) {
690
687
  var t = e.__.__c;
691
688
  return t && t.__a && t.__a(e);
692
689
  }
693
- function Jo(e) {
690
+ function Yo(e) {
694
691
  var t, n, r;
695
692
  function o(i) {
696
693
  if (t || (t = e()).then(function(a) {
@@ -708,11 +705,11 @@ function Fe() {
708
705
  }
709
706
  v.unmount = function(e) {
710
707
  var t = e.__c;
711
- t && t.__R && t.__R(), t && 32 & e.__u && (e.type = null), Yn && Yn(e);
712
- }, (ut.prototype = new j()).__c = function(e, t) {
708
+ t && t.__R && t.__R(), t && 32 & e.__u && (e.type = null), Wn && Wn(e);
709
+ }, (lt.prototype = new j()).__c = function(e, t) {
713
710
  var n = t.__c, r = this;
714
711
  r.o == null && (r.o = []), r.o.push(n);
715
- var o = Gr(r.__v), i = !1, a = function() {
712
+ var o = Br(r.__v), i = !1, a = function() {
716
713
  i || (i = !0, n.__R = null, o ? o(c) : c());
717
714
  };
718
715
  n.__R = a;
@@ -720,39 +717,39 @@ v.unmount = function(e) {
720
717
  if (!--r.__u) {
721
718
  if (r.state.__a) {
722
719
  var s = r.state.__a;
723
- r.__v.__k[0] = jr(s, s.__c.__P, s.__c.__O);
720
+ r.__v.__k[0] = Ur(s, s.__c.__P, s.__c.__O);
724
721
  }
725
722
  var u;
726
723
  for (r.setState({ __a: r.__b = null }); u = r.o.pop(); ) u.forceUpdate();
727
724
  }
728
725
  };
729
726
  r.__u++ || 32 & t.__u || r.setState({ __a: r.__b = r.__v.__k[0] }), e.then(a, a);
730
- }, ut.prototype.componentWillUnmount = function() {
727
+ }, lt.prototype.componentWillUnmount = function() {
731
728
  this.o = [];
732
- }, ut.prototype.render = function(e, t) {
729
+ }, lt.prototype.render = function(e, t) {
733
730
  if (this.__b) {
734
731
  if (this.__v.__k) {
735
732
  var n = document.createElement("div"), r = this.__v.__k[0].__c;
736
- this.__v.__k[0] = Wr(this.__b, n, r.__O = r.__P);
733
+ this.__v.__k[0] = Fr(this.__b, n, r.__O = r.__P);
737
734
  }
738
735
  this.__b = null;
739
736
  }
740
737
  var o = t.__a && M(V, null, e.fallback);
741
738
  return o && (o.__u &= -33), [M(V, null, t.__a ? null : e.children), o];
742
739
  };
743
- var Zn = function(e, t, n) {
740
+ var jn = function(e, t, n) {
744
741
  if (++n[1] === n[0] && e.l.delete(t), e.props.revealOrder && (e.props.revealOrder[0] !== "t" || !e.l.size)) for (n = e.i; n; ) {
745
742
  for (; n.length > 3; ) n.pop()();
746
743
  if (n[1] < n[0]) break;
747
744
  e.i = n = n[2];
748
745
  }
749
746
  };
750
- function Qo(e) {
747
+ function Zo(e) {
751
748
  return this.getChildContext = function() {
752
749
  return e.context;
753
750
  }, e.children;
754
751
  }
755
- function ei(e) {
752
+ function qo(e) {
756
753
  var t = this, n = e.h;
757
754
  if (t.componentWillUnmount = function() {
758
755
  ie(null, t.v), t.v = null, t.h = null;
@@ -768,17 +765,17 @@ function ei(e) {
768
765
  this.childNodes.splice(this.childNodes.indexOf(o) >>> 1, 1), t.h.removeChild(o);
769
766
  } };
770
767
  }
771
- ie(M(Qo, { context: t.context }, e.__v), t.v);
768
+ ie(M(Zo, { context: t.context }, e.__v), t.v);
772
769
  }
773
- function ti(e, t) {
774
- var n = M(ei, { __v: e, h: t });
770
+ function Xo(e, t) {
771
+ var n = M(qo, { __v: e, h: t });
775
772
  return n.containerInfo = t, n;
776
773
  }
777
774
  (Fe.prototype = new j()).__a = function(e) {
778
- var t = this, n = Gr(t.__v), r = t.l.get(e);
775
+ var t = this, n = Br(t.__v), r = t.l.get(e);
779
776
  return r[0]++, function(o) {
780
777
  var i = function() {
781
- t.props.revealOrder ? (r.push(o), Zn(t, e, r)) : o();
778
+ t.props.revealOrder ? (r.push(o), jn(t, e, r)) : o();
782
779
  };
783
780
  n ? n(i) : i();
784
781
  };
@@ -791,17 +788,17 @@ function ti(e, t) {
791
788
  }, Fe.prototype.componentDidUpdate = Fe.prototype.componentDidMount = function() {
792
789
  var e = this;
793
790
  this.l.forEach(function(t, n) {
794
- Zn(e, n, t);
791
+ jn(e, n, t);
795
792
  });
796
793
  };
797
- var Vr = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, ni = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, ri = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, oi = /[A-Z0-9]/g, ii = typeof document < "u", ai = function(e) {
794
+ var zr = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, Ko = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, Jo = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, Qo = /[A-Z0-9]/g, ei = typeof document < "u", ti = function(e) {
798
795
  return (typeof Symbol < "u" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(e);
799
796
  };
800
- function si(e, t, n) {
797
+ function ni(e, t, n) {
801
798
  return t.__k == null && (t.textContent = ""), ie(e, t), typeof n == "function" && n(), e ? e.__c : null;
802
799
  }
803
- function ci(e, t, n) {
804
- return pn(e, t), typeof n == "function" && n(), e ? e.__c : null;
800
+ function ri(e, t, n) {
801
+ return fn(e, t), typeof n == "function" && n(), e ? e.__c : null;
805
802
  }
806
803
  j.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(e) {
807
804
  Object.defineProperty(j.prototype, e, { configurable: !0, get: function() {
@@ -810,83 +807,83 @@ j.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveP
810
807
  Object.defineProperty(this, e, { configurable: !0, writable: !0, value: t });
811
808
  } });
812
809
  });
813
- var qn = v.event;
814
- function li() {
810
+ var Gn = v.event;
811
+ function oi() {
815
812
  }
816
- function ui() {
813
+ function ii() {
817
814
  return this.cancelBubble;
818
815
  }
819
- function fi() {
816
+ function ai() {
820
817
  return this.defaultPrevented;
821
818
  }
822
819
  v.event = function(e) {
823
- return qn && (e = qn(e)), e.persist = li, e.isPropagationStopped = ui, e.isDefaultPrevented = fi, e.nativeEvent = e;
820
+ return Gn && (e = Gn(e)), e.persist = oi, e.isPropagationStopped = ii, e.isDefaultPrevented = ai, e.nativeEvent = e;
824
821
  };
825
- var En, di = { enumerable: !1, configurable: !0, get: function() {
822
+ var gn, si = { enumerable: !1, configurable: !0, get: function() {
826
823
  return this.class;
827
- } }, Xn = v.vnode;
824
+ } }, Vn = v.vnode;
828
825
  v.vnode = function(e) {
829
826
  typeof e.type == "string" && function(t) {
830
827
  var n = t.props, r = t.type, o = {}, i = r.indexOf("-") === -1;
831
828
  for (var a in n) {
832
829
  var c = n[a];
833
- if (!(a === "value" && "defaultValue" in n && c == null || ii && a === "children" && r === "noscript" || a === "class" || a === "className")) {
830
+ if (!(a === "value" && "defaultValue" in n && c == null || ei && a === "children" && r === "noscript" || a === "class" || a === "className")) {
834
831
  var s = a.toLowerCase();
835
- a === "defaultValue" && "value" in n && n.value == null ? a = "value" : a === "download" && c === !0 ? c = "" : s === "translate" && c === "no" ? c = !1 : s[0] === "o" && s[1] === "n" ? s === "ondoubleclick" ? a = "ondblclick" : s !== "onchange" || r !== "input" && r !== "textarea" || ai(n.type) ? s === "onfocus" ? a = "onfocusin" : s === "onblur" ? a = "onfocusout" : ri.test(a) && (a = s) : s = a = "oninput" : i && ni.test(a) ? a = a.replace(oi, "-$&").toLowerCase() : c === null && (c = void 0), s === "oninput" && o[a = s] && (a = "oninputCapture"), o[a] = c;
832
+ a === "defaultValue" && "value" in n && n.value == null ? a = "value" : a === "download" && c === !0 ? c = "" : s === "translate" && c === "no" ? c = !1 : s[0] === "o" && s[1] === "n" ? s === "ondoubleclick" ? a = "ondblclick" : s !== "onchange" || r !== "input" && r !== "textarea" || ti(n.type) ? s === "onfocus" ? a = "onfocusin" : s === "onblur" ? a = "onfocusout" : Jo.test(a) && (a = s) : s = a = "oninput" : i && Ko.test(a) ? a = a.replace(Qo, "-$&").toLowerCase() : c === null && (c = void 0), s === "oninput" && o[a = s] && (a = "oninputCapture"), o[a] = c;
836
833
  }
837
834
  }
838
835
  r == "select" && o.multiple && Array.isArray(o.value) && (o.value = ee(n.children).forEach(function(u) {
839
836
  u.props.selected = o.value.indexOf(u.props.value) != -1;
840
837
  })), r == "select" && o.defaultValue != null && (o.value = ee(n.children).forEach(function(u) {
841
838
  u.props.selected = o.multiple ? o.defaultValue.indexOf(u.props.value) != -1 : o.defaultValue == u.props.value;
842
- })), n.class && !n.className ? (o.class = n.class, Object.defineProperty(o, "className", di)) : (n.className && !n.class || n.class && n.className) && (o.class = o.className = n.className), t.props = o;
843
- }(e), e.$$typeof = Vr, Xn && Xn(e);
839
+ })), n.class && !n.className ? (o.class = n.class, Object.defineProperty(o, "className", si)) : (n.className && !n.class || n.class && n.className) && (o.class = o.className = n.className), t.props = o;
840
+ }(e), e.$$typeof = zr, Vn && Vn(e);
844
841
  };
845
- var Kn = v.__r;
842
+ var Yn = v.__r;
846
843
  v.__r = function(e) {
847
- Kn && Kn(e), En = e.__c;
844
+ Yn && Yn(e), gn = e.__c;
848
845
  };
849
- var Jn = v.diffed;
846
+ var Zn = v.diffed;
850
847
  v.diffed = function(e) {
851
- Jn && Jn(e);
848
+ Zn && Zn(e);
852
849
  var t = e.props, n = e.__e;
853
- n != null && e.type === "textarea" && "value" in t && t.value !== n.value && (n.value = t.value == null ? "" : t.value), En = null;
850
+ n != null && e.type === "textarea" && "value" in t && t.value !== n.value && (n.value = t.value == null ? "" : t.value), gn = null;
854
851
  };
855
- var _i = { ReactCurrentDispatcher: { current: { readContext: function(e) {
856
- return En.__n[e.__c].props.value;
857
- }, useCallback: pe, useContext: Qe, useDebugValue: gt, useDeferredValue: Ur, useEffect: X, useId: Dr, useImperativeHandle: Pr, useInsertionEffect: zr, useLayoutEffect: Ie, useMemo: te, useReducer: vn, useRef: Je, useState: H, useSyncExternalStore: Hr, useTransition: Br } } };
858
- function hi(e) {
852
+ var ci = { ReactCurrentDispatcher: { current: { readContext: function(e) {
853
+ return gn.__n[e.__c].props.value;
854
+ }, useCallback: he, useContext: Qe, useDebugValue: mt, useDeferredValue: Dr, useEffect: X, useId: Ir, useImperativeHandle: xr, useInsertionEffect: Hr, useLayoutEffect: Ie, useMemo: te, useReducer: hn, useRef: Je, useState: H, useSyncExternalStore: Pr, useTransition: Mr } } };
855
+ function li(e) {
859
856
  return M.bind(null, e);
860
857
  }
861
- function St(e) {
862
- return !!e && e.$$typeof === Vr;
858
+ function Ct(e) {
859
+ return !!e && e.$$typeof === zr;
863
860
  }
864
- function pi(e) {
865
- return St(e) && e.type === V;
861
+ function ui(e) {
862
+ return Ct(e) && e.type === V;
866
863
  }
867
- function mi(e) {
864
+ function fi(e) {
868
865
  return !!e && !!e.displayName && (typeof e.displayName == "string" || e.displayName instanceof String) && e.displayName.startsWith("Memo(");
869
866
  }
870
- function gi(e) {
871
- return St(e) ? mn.apply(null, arguments) : e;
867
+ function di(e) {
868
+ return Ct(e) ? dn.apply(null, arguments) : e;
872
869
  }
873
- function yi(e) {
870
+ function _i(e) {
874
871
  return !!e.__k && (ie(null, e), !0);
875
872
  }
876
- function vi(e) {
873
+ function pi(e) {
877
874
  return e && (e.base || e.nodeType === 1 && e) || null;
878
875
  }
879
- var Ci = function(e, t) {
876
+ var hi = function(e, t) {
880
877
  return e(t);
881
- }, Ei = function(e, t) {
878
+ }, mi = function(e, t) {
882
879
  return e(t);
883
- }, wi = V, Si = St, ne = { useState: H, useId: Dr, useReducer: vn, useEffect: X, useLayoutEffect: Ie, useInsertionEffect: zr, useTransition: Br, useDeferredValue: Ur, useSyncExternalStore: Hr, startTransition: Fr, useRef: Je, useImperativeHandle: Pr, useMemo: te, useCallback: pe, useContext: Qe, useDebugValue: gt, version: "18.3.1", Children: Xo, render: si, hydrate: ci, unmountComponentAtNode: yi, createPortal: ti, createElement: M, createContext: Ir, createFactory: hi, cloneElement: gi, createRef: To, Fragment: V, isValidElement: St, isElement: Si, isFragment: pi, isMemo: mi, findDOMNode: vi, Component: j, PureComponent: Yt, memo: Yo, forwardRef: qo, flushSync: Ei, unstable_batchedUpdates: Ci, StrictMode: wi, Suspense: ut, SuspenseList: Fe, lazy: Jo, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: _i };
884
- function bi(e) {
880
+ }, gi = V, yi = Ct, ne = { useState: H, useId: Ir, useReducer: hn, useEffect: X, useLayoutEffect: Ie, useInsertionEffect: Hr, useTransition: Mr, useDeferredValue: Dr, useSyncExternalStore: Pr, startTransition: Lr, useRef: Je, useImperativeHandle: xr, useMemo: te, useCallback: he, useContext: Qe, useDebugValue: mt, version: "18.3.1", Children: Go, render: ni, hydrate: ri, unmountComponentAtNode: _i, createPortal: Xo, createElement: M, createContext: Or, createFactory: li, cloneElement: di, createRef: bo, Fragment: V, isValidElement: Ct, isElement: yi, isFragment: ui, isMemo: fi, findDOMNode: pi, Component: j, PureComponent: jt, memo: zo, forwardRef: jo, flushSync: mi, unstable_batchedUpdates: hi, StrictMode: gi, Suspense: lt, SuspenseList: Fe, lazy: Yo, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: ci };
881
+ function vi(e) {
885
882
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
886
883
  }
887
- var Lt, Qn;
888
- function $i() {
889
- return Qn || (Qn = 1, Lt = function(t, n, r, o) {
884
+ var Rt, qn;
885
+ function Ci() {
886
+ return qn || (qn = 1, Rt = function(t, n, r, o) {
890
887
  var i = r ? r.call(o, t, n) : void 0;
891
888
  if (i !== void 0)
892
889
  return !!i;
@@ -901,20 +898,20 @@ function $i() {
901
898
  var f = a[u];
902
899
  if (!s(f))
903
900
  return !1;
904
- var l = t[f], h = n[f];
905
- if (i = r ? r.call(o, l, h, f) : void 0, i === !1 || i === void 0 && l !== h)
901
+ var l = t[f], p = n[f];
902
+ if (i = r ? r.call(o, l, p, f) : void 0, i === !1 || i === void 0 && l !== p)
906
903
  return !1;
907
904
  }
908
905
  return !0;
909
- }), Lt;
906
+ }), Rt;
910
907
  }
911
- var Oi = $i();
912
- const ki = /* @__PURE__ */ bi(Oi);
913
- var T = "-ms-", We = "-moz-", k = "-webkit-", Yr = "comm", bt = "rule", wn = "decl", Ni = "@import", Zr = "@keyframes", Ti = "@layer", qr = Math.abs, Sn = String.fromCharCode, Zt = Object.assign;
914
- function xi(e, t) {
908
+ var Ei = Ci();
909
+ const wi = /* @__PURE__ */ vi(Ei);
910
+ var T = "-ms-", We = "-moz-", O = "-webkit-", Wr = "comm", Et = "rule", yn = "decl", Si = "@import", jr = "@keyframes", bi = "@layer", Gr = Math.abs, vn = String.fromCharCode, Gt = Object.assign;
911
+ function $i(e, t) {
915
912
  return R(e, 0) ^ 45 ? (((t << 2 ^ R(e, 0)) << 2 ^ R(e, 1)) << 2 ^ R(e, 2)) << 2 ^ R(e, 3) : 0;
916
913
  }
917
- function Xr(e) {
914
+ function Vr(e) {
918
915
  return e.trim();
919
916
  }
920
917
  function J(e, t) {
@@ -923,63 +920,63 @@ function J(e, t) {
923
920
  function C(e, t, n) {
924
921
  return e.replace(t, n);
925
922
  }
926
- function ft(e, t, n) {
923
+ function ut(e, t, n) {
927
924
  return e.indexOf(t, n);
928
925
  }
929
926
  function R(e, t) {
930
927
  return e.charCodeAt(t) | 0;
931
928
  }
932
- function Oe(e, t, n) {
929
+ function ke(e, t, n) {
933
930
  return e.slice(t, n);
934
931
  }
935
932
  function Y(e) {
936
933
  return e.length;
937
934
  }
938
- function Kr(e) {
935
+ function Yr(e) {
939
936
  return e.length;
940
937
  }
941
938
  function Ue(e, t) {
942
939
  return t.push(e), e;
943
940
  }
944
- function Ii(e, t) {
941
+ function ki(e, t) {
945
942
  return e.map(t).join("");
946
943
  }
947
- function er(e, t) {
944
+ function Xn(e, t) {
948
945
  return e.filter(function(n) {
949
946
  return !J(n, t);
950
947
  });
951
948
  }
952
- var $t = 1, ke = 1, Jr = 0, W = 0, A = 0, Ae = "";
953
- function Ot(e, t, n, r, o, i, a, c) {
954
- return { value: e, root: t, parent: n, type: r, props: o, children: i, line: $t, column: ke, length: a, return: "", siblings: c };
949
+ var wt = 1, Oe = 1, Zr = 0, W = 0, A = 0, Ae = "";
950
+ function St(e, t, n, r, o, i, a, c) {
951
+ return { value: e, root: t, parent: n, type: r, props: o, children: i, line: wt, column: Oe, length: a, return: "", siblings: c };
955
952
  }
956
953
  function oe(e, t) {
957
- return Zt(Ot("", null, null, "", null, null, 0, e.siblings), e, { length: -e.length }, t);
954
+ return Gt(St("", null, null, "", null, null, 0, e.siblings), e, { length: -e.length }, t);
958
955
  }
959
956
  function Ee(e) {
960
957
  for (; e.root; )
961
958
  e = oe(e.root, { children: [e] });
962
959
  Ue(e, e.siblings);
963
960
  }
964
- function Ai() {
961
+ function Oi() {
965
962
  return A;
966
963
  }
967
- function Ri() {
968
- return A = W > 0 ? R(Ae, --W) : 0, ke--, A === 10 && (ke = 1, $t--), A;
964
+ function Ni() {
965
+ return A = W > 0 ? R(Ae, --W) : 0, Oe--, A === 10 && (Oe = 1, wt--), A;
969
966
  }
970
967
  function G() {
971
- return A = W < Jr ? R(Ae, W++) : 0, ke++, A === 10 && (ke = 1, $t++), A;
968
+ return A = W < Zr ? R(Ae, W++) : 0, Oe++, A === 10 && (Oe = 1, wt++), A;
972
969
  }
973
970
  function _e() {
974
971
  return R(Ae, W);
975
972
  }
976
- function dt() {
973
+ function ft() {
977
974
  return W;
978
975
  }
979
- function kt(e, t) {
980
- return Oe(Ae, e, t);
976
+ function bt(e, t) {
977
+ return ke(Ae, e, t);
981
978
  }
982
- function qt(e) {
979
+ function Vt(e) {
983
980
  switch (e) {
984
981
  // \0 \t \n \r \s whitespace token
985
982
  case 0:
@@ -1017,26 +1014,26 @@ function qt(e) {
1017
1014
  }
1018
1015
  return 0;
1019
1016
  }
1020
- function Pi(e) {
1021
- return $t = ke = 1, Jr = Y(Ae = e), W = 0, [];
1017
+ function Ti(e) {
1018
+ return wt = Oe = 1, Zr = Y(Ae = e), W = 0, [];
1022
1019
  }
1023
- function Di(e) {
1020
+ function xi(e) {
1024
1021
  return Ae = "", e;
1025
1022
  }
1026
- function Mt(e) {
1027
- return Xr(kt(W - 1, Xt(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
1023
+ function Pt(e) {
1024
+ return Vr(bt(W - 1, Yt(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
1028
1025
  }
1029
- function Li(e) {
1026
+ function Ii(e) {
1030
1027
  for (; (A = _e()) && A < 33; )
1031
1028
  G();
1032
- return qt(e) > 2 || qt(A) > 3 ? "" : " ";
1029
+ return Vt(e) > 2 || Vt(A) > 3 ? "" : " ";
1033
1030
  }
1034
- function Mi(e, t) {
1031
+ function Ai(e, t) {
1035
1032
  for (; --t && G() && !(A < 48 || A > 102 || A > 57 && A < 65 || A > 70 && A < 97); )
1036
1033
  ;
1037
- return kt(e, dt() + (t < 6 && _e() == 32 && G() == 32));
1034
+ return bt(e, ft() + (t < 6 && _e() == 32 && G() == 32));
1038
1035
  }
1039
- function Xt(e) {
1036
+ function Yt(e) {
1040
1037
  for (; G(); )
1041
1038
  switch (A) {
1042
1039
  // ] ) " '
@@ -1045,11 +1042,11 @@ function Xt(e) {
1045
1042
  // " '
1046
1043
  case 34:
1047
1044
  case 39:
1048
- e !== 34 && e !== 39 && Xt(A);
1045
+ e !== 34 && e !== 39 && Yt(A);
1049
1046
  break;
1050
1047
  // (
1051
1048
  case 40:
1052
- e === 41 && Xt(e);
1049
+ e === 41 && Yt(e);
1053
1050
  break;
1054
1051
  // \
1055
1052
  case 92:
@@ -1058,52 +1055,52 @@ function Xt(e) {
1058
1055
  }
1059
1056
  return W;
1060
1057
  }
1061
- function Hi(e, t) {
1058
+ function Ri(e, t) {
1062
1059
  for (; G() && e + A !== 57; )
1063
1060
  if (e + A === 84 && _e() === 47)
1064
1061
  break;
1065
- return "/*" + kt(t, W - 1) + "*" + Sn(e === 47 ? e : G());
1062
+ return "/*" + bt(t, W - 1) + "*" + vn(e === 47 ? e : G());
1066
1063
  }
1067
- function Fi(e) {
1068
- for (; !qt(_e()); )
1064
+ function Pi(e) {
1065
+ for (; !Vt(_e()); )
1069
1066
  G();
1070
- return kt(e, W);
1067
+ return bt(e, W);
1071
1068
  }
1072
- function Ui(e) {
1073
- return Di(_t("", null, null, null, [""], e = Pi(e), 0, [0], e));
1069
+ function Li(e) {
1070
+ return xi(dt("", null, null, null, [""], e = Ti(e), 0, [0], e));
1074
1071
  }
1075
- function _t(e, t, n, r, o, i, a, c, s) {
1076
- for (var u = 0, f = 0, l = a, h = 0, _ = 0, g = 0, w = 1, $ = 1, m = 1, p = 0, O = "", S = o, N = i, E = r, y = O; $; )
1077
- switch (g = p, p = G()) {
1072
+ function dt(e, t, n, r, o, i, a, c, s) {
1073
+ for (var u = 0, f = 0, l = a, p = 0, _ = 0, g = 0, w = 1, $ = 1, m = 1, h = 0, k = "", S = o, N = i, E = r, y = k; $; )
1074
+ switch (g = h, h = G()) {
1078
1075
  // (
1079
1076
  case 40:
1080
1077
  if (g != 108 && R(y, l - 1) == 58) {
1081
- ft(y += C(Mt(p), "&", "&\f"), "&\f", qr(u ? c[u - 1] : 0)) != -1 && (m = -1);
1078
+ ut(y += C(Pt(h), "&", "&\f"), "&\f", Gr(u ? c[u - 1] : 0)) != -1 && (m = -1);
1082
1079
  break;
1083
1080
  }
1084
1081
  // " ' [
1085
1082
  case 34:
1086
1083
  case 39:
1087
1084
  case 91:
1088
- y += Mt(p);
1085
+ y += Pt(h);
1089
1086
  break;
1090
1087
  // \t \n \r \s
1091
1088
  case 9:
1092
1089
  case 10:
1093
1090
  case 13:
1094
1091
  case 32:
1095
- y += Li(g);
1092
+ y += Ii(g);
1096
1093
  break;
1097
1094
  // \
1098
1095
  case 92:
1099
- y += Mi(dt() - 1, 7);
1096
+ y += Ai(ft() - 1, 7);
1100
1097
  continue;
1101
1098
  // /
1102
1099
  case 47:
1103
1100
  switch (_e()) {
1104
1101
  case 42:
1105
1102
  case 47:
1106
- Ue(Bi(Hi(G(), dt()), t, n, s), s);
1103
+ Ue(Di(Ri(G(), ft()), t, n, s), s);
1107
1104
  break;
1108
1105
  default:
1109
1106
  y += "/";
@@ -1116,49 +1113,49 @@ function _t(e, t, n, r, o, i, a, c, s) {
1116
1113
  case 125 * w:
1117
1114
  case 59:
1118
1115
  case 0:
1119
- switch (p) {
1116
+ switch (h) {
1120
1117
  // \0 }
1121
1118
  case 0:
1122
1119
  case 125:
1123
1120
  $ = 0;
1124
1121
  // ;
1125
1122
  case 59 + f:
1126
- m == -1 && (y = C(y, /\f/g, "")), _ > 0 && Y(y) - l && Ue(_ > 32 ? nr(y + ";", r, n, l - 1, s) : nr(C(y, " ", "") + ";", r, n, l - 2, s), s);
1123
+ m == -1 && (y = C(y, /\f/g, "")), _ > 0 && Y(y) - l && Ue(_ > 32 ? Jn(y + ";", r, n, l - 1, s) : Jn(C(y, " ", "") + ";", r, n, l - 2, s), s);
1127
1124
  break;
1128
1125
  // @ ;
1129
1126
  case 59:
1130
1127
  y += ";";
1131
1128
  // { rule/at-rule
1132
1129
  default:
1133
- if (Ue(E = tr(y, t, n, u, f, o, c, O, S = [], N = [], l, i), i), p === 123)
1130
+ if (Ue(E = Kn(y, t, n, u, f, o, c, k, S = [], N = [], l, i), i), h === 123)
1134
1131
  if (f === 0)
1135
- _t(y, t, E, E, S, i, l, c, N);
1132
+ dt(y, t, E, E, S, i, l, c, N);
1136
1133
  else
1137
- switch (h === 99 && R(y, 3) === 110 ? 100 : h) {
1134
+ switch (p === 99 && R(y, 3) === 110 ? 100 : p) {
1138
1135
  // d l m s
1139
1136
  case 100:
1140
1137
  case 108:
1141
1138
  case 109:
1142
1139
  case 115:
1143
- _t(e, E, E, r && Ue(tr(e, E, E, 0, 0, o, c, O, o, S = [], l, N), N), o, N, l, c, r ? S : N);
1140
+ dt(e, E, E, r && Ue(Kn(e, E, E, 0, 0, o, c, k, o, S = [], l, N), N), o, N, l, c, r ? S : N);
1144
1141
  break;
1145
1142
  default:
1146
- _t(y, E, E, E, [""], N, 0, c, N);
1143
+ dt(y, E, E, E, [""], N, 0, c, N);
1147
1144
  }
1148
1145
  }
1149
- u = f = _ = 0, w = m = 1, O = y = "", l = a;
1146
+ u = f = _ = 0, w = m = 1, k = y = "", l = a;
1150
1147
  break;
1151
1148
  // :
1152
1149
  case 58:
1153
1150
  l = 1 + Y(y), _ = g;
1154
1151
  default:
1155
1152
  if (w < 1) {
1156
- if (p == 123)
1153
+ if (h == 123)
1157
1154
  --w;
1158
- else if (p == 125 && w++ == 0 && Ri() == 125)
1155
+ else if (h == 125 && w++ == 0 && Ni() == 125)
1159
1156
  continue;
1160
1157
  }
1161
- switch (y += Sn(p), p * w) {
1158
+ switch (y += vn(h), h * w) {
1162
1159
  // &
1163
1160
  case 38:
1164
1161
  m = f > 0 ? 1 : (y += "\f", -1);
@@ -1169,7 +1166,7 @@ function _t(e, t, n, r, o, i, a, c, s) {
1169
1166
  break;
1170
1167
  // @
1171
1168
  case 64:
1172
- _e() === 45 && (y += Mt(G())), h = _e(), f = l = Y(O = y += Fi(dt())), p++;
1169
+ _e() === 45 && (y += Pt(G())), p = _e(), f = l = Y(k = y += Pi(ft())), h++;
1173
1170
  break;
1174
1171
  // -
1175
1172
  case 45:
@@ -1178,23 +1175,23 @@ function _t(e, t, n, r, o, i, a, c, s) {
1178
1175
  }
1179
1176
  return i;
1180
1177
  }
1181
- function tr(e, t, n, r, o, i, a, c, s, u, f, l) {
1182
- for (var h = o - 1, _ = o === 0 ? i : [""], g = Kr(_), w = 0, $ = 0, m = 0; w < r; ++w)
1183
- for (var p = 0, O = Oe(e, h + 1, h = qr($ = a[w])), S = e; p < g; ++p)
1184
- (S = Xr($ > 0 ? _[p] + " " + O : C(O, /&\f/g, _[p]))) && (s[m++] = S);
1185
- return Ot(e, t, n, o === 0 ? bt : c, s, u, f, l);
1178
+ function Kn(e, t, n, r, o, i, a, c, s, u, f, l) {
1179
+ for (var p = o - 1, _ = o === 0 ? i : [""], g = Yr(_), w = 0, $ = 0, m = 0; w < r; ++w)
1180
+ for (var h = 0, k = ke(e, p + 1, p = Gr($ = a[w])), S = e; h < g; ++h)
1181
+ (S = Vr($ > 0 ? _[h] + " " + k : C(k, /&\f/g, _[h]))) && (s[m++] = S);
1182
+ return St(e, t, n, o === 0 ? Et : c, s, u, f, l);
1186
1183
  }
1187
- function Bi(e, t, n, r) {
1188
- return Ot(e, t, n, Yr, Sn(Ai()), Oe(e, 2, -2), 0, r);
1184
+ function Di(e, t, n, r) {
1185
+ return St(e, t, n, Wr, vn(Oi()), ke(e, 2, -2), 0, r);
1189
1186
  }
1190
- function nr(e, t, n, r, o) {
1191
- return Ot(e, t, n, wn, Oe(e, 0, r), Oe(e, r + 1, -1), r, o);
1187
+ function Jn(e, t, n, r, o) {
1188
+ return St(e, t, n, yn, ke(e, 0, r), ke(e, r + 1, -1), r, o);
1192
1189
  }
1193
- function Qr(e, t, n) {
1194
- switch (xi(e, t)) {
1190
+ function qr(e, t, n) {
1191
+ switch ($i(e, t)) {
1195
1192
  // color-adjust
1196
1193
  case 5103:
1197
- return k + "print-" + e + e;
1194
+ return O + "print-" + e + e;
1198
1195
  // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
1199
1196
  case 5737:
1200
1197
  case 4201:
@@ -1224,7 +1221,7 @@ function Qr(e, t, n) {
1224
1221
  case 5365:
1225
1222
  case 5621:
1226
1223
  case 3829:
1227
- return k + e + e;
1224
+ return O + e + e;
1228
1225
  // tab-size
1229
1226
  case 4789:
1230
1227
  return We + e + e;
@@ -1234,62 +1231,62 @@ function Qr(e, t, n) {
1234
1231
  case 4810:
1235
1232
  case 6968:
1236
1233
  case 2756:
1237
- return k + e + We + e + T + e + e;
1234
+ return O + e + We + e + T + e + e;
1238
1235
  // writing-mode
1239
1236
  case 5936:
1240
1237
  switch (R(e, t + 11)) {
1241
1238
  // vertical-l(r)
1242
1239
  case 114:
1243
- return k + e + T + C(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
1240
+ return O + e + T + C(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
1244
1241
  // vertical-r(l)
1245
1242
  case 108:
1246
- return k + e + T + C(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
1243
+ return O + e + T + C(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
1247
1244
  // horizontal(-)tb
1248
1245
  case 45:
1249
- return k + e + T + C(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
1246
+ return O + e + T + C(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
1250
1247
  }
1251
1248
  // flex, flex-direction, scroll-snap-type, writing-mode
1252
1249
  case 6828:
1253
1250
  case 4268:
1254
1251
  case 2903:
1255
- return k + e + T + e + e;
1252
+ return O + e + T + e + e;
1256
1253
  // order
1257
1254
  case 6165:
1258
- return k + e + T + "flex-" + e + e;
1255
+ return O + e + T + "flex-" + e + e;
1259
1256
  // align-items
1260
1257
  case 5187:
1261
- return k + e + C(e, /(\w+).+(:[^]+)/, k + "box-$1$2" + T + "flex-$1$2") + e;
1258
+ return O + e + C(e, /(\w+).+(:[^]+)/, O + "box-$1$2" + T + "flex-$1$2") + e;
1262
1259
  // align-self
1263
1260
  case 5443:
1264
- return k + e + T + "flex-item-" + C(e, /flex-|-self/g, "") + (J(e, /flex-|baseline/) ? "" : T + "grid-row-" + C(e, /flex-|-self/g, "")) + e;
1261
+ return O + e + T + "flex-item-" + C(e, /flex-|-self/g, "") + (J(e, /flex-|baseline/) ? "" : T + "grid-row-" + C(e, /flex-|-self/g, "")) + e;
1265
1262
  // align-content
1266
1263
  case 4675:
1267
- return k + e + T + "flex-line-pack" + C(e, /align-content|flex-|-self/g, "") + e;
1264
+ return O + e + T + "flex-line-pack" + C(e, /align-content|flex-|-self/g, "") + e;
1268
1265
  // flex-shrink
1269
1266
  case 5548:
1270
- return k + e + T + C(e, "shrink", "negative") + e;
1267
+ return O + e + T + C(e, "shrink", "negative") + e;
1271
1268
  // flex-basis
1272
1269
  case 5292:
1273
- return k + e + T + C(e, "basis", "preferred-size") + e;
1270
+ return O + e + T + C(e, "basis", "preferred-size") + e;
1274
1271
  // flex-grow
1275
1272
  case 6060:
1276
- return k + "box-" + C(e, "-grow", "") + k + e + T + C(e, "grow", "positive") + e;
1273
+ return O + "box-" + C(e, "-grow", "") + O + e + T + C(e, "grow", "positive") + e;
1277
1274
  // transition
1278
1275
  case 4554:
1279
- return k + C(e, /([^-])(transform)/g, "$1" + k + "$2") + e;
1276
+ return O + C(e, /([^-])(transform)/g, "$1" + O + "$2") + e;
1280
1277
  // cursor
1281
1278
  case 6187:
1282
- return C(C(C(e, /(zoom-|grab)/, k + "$1"), /(image-set)/, k + "$1"), e, "") + e;
1279
+ return C(C(C(e, /(zoom-|grab)/, O + "$1"), /(image-set)/, O + "$1"), e, "") + e;
1283
1280
  // background, background-image
1284
1281
  case 5495:
1285
1282
  case 3959:
1286
- return C(e, /(image-set\([^]*)/, k + "$1$`$1");
1283
+ return C(e, /(image-set\([^]*)/, O + "$1$`$1");
1287
1284
  // justify-content
1288
1285
  case 4968:
1289
- return C(C(e, /(.+:)(flex-)?(.*)/, k + "box-pack:$3" + T + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + k + e + e;
1286
+ return C(C(e, /(.+:)(flex-)?(.*)/, O + "box-pack:$3" + T + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + O + e + e;
1290
1287
  // justify-self
1291
1288
  case 4200:
1292
- if (!J(e, /flex-|baseline/)) return T + "grid-column-align" + Oe(e, t) + e;
1289
+ if (!J(e, /flex-|baseline/)) return T + "grid-column-align" + ke(e, t) + e;
1293
1290
  break;
1294
1291
  // grid-template-(columns|rows)
1295
1292
  case 2592:
@@ -1300,7 +1297,7 @@ function Qr(e, t, n) {
1300
1297
  case 3616:
1301
1298
  return n && n.some(function(r, o) {
1302
1299
  return t = o, J(r.props, /grid-\w+-end/);
1303
- }) ? ~ft(e + (n = n[t].value), "span", 0) ? e : T + C(e, "-start", "") + e + T + "grid-row-span:" + (~ft(n, "span", 0) ? J(n, /\d+/) : +J(n, /\d+/) - +J(e, /\d+/)) + ";" : T + C(e, "-start", "") + e;
1300
+ }) ? ~ut(e + (n = n[t].value), "span", 0) ? e : T + C(e, "-start", "") + e + T + "grid-row-span:" + (~ut(n, "span", 0) ? J(n, /\d+/) : +J(n, /\d+/) - +J(e, /\d+/)) + ";" : T + C(e, "-start", "") + e;
1304
1301
  // grid-(row|column)-end
1305
1302
  case 4896:
1306
1303
  case 4128:
@@ -1312,7 +1309,7 @@ function Qr(e, t, n) {
1312
1309
  case 3583:
1313
1310
  case 4068:
1314
1311
  case 2532:
1315
- return C(e, /(.+)-inline(.+)/, k + "$1$2") + e;
1312
+ return C(e, /(.+)-inline(.+)/, O + "$1$2") + e;
1316
1313
  // (min|max)?(width|height|inline-size|block-size)
1317
1314
  case 8116:
1318
1315
  case 7059:
@@ -1334,10 +1331,10 @@ function Qr(e, t, n) {
1334
1331
  break;
1335
1332
  // (f)ill-available, (f)it-content
1336
1333
  case 102:
1337
- return C(e, /(.+:)(.+)-([^]+)/, "$1" + k + "$2-$3$1" + We + (R(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
1334
+ return C(e, /(.+:)(.+)-([^]+)/, "$1" + O + "$2-$3$1" + We + (R(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
1338
1335
  // (s)tretch
1339
1336
  case 115:
1340
- return ~ft(e, "stretch", 0) ? Qr(C(e, "stretch", "fill-available"), t, n) + e : e;
1337
+ return ~ut(e, "stretch", 0) ? qr(C(e, "stretch", "fill-available"), t, n) + e : e;
1341
1338
  }
1342
1339
  break;
1343
1340
  // grid-(column|row)
@@ -1349,14 +1346,14 @@ function Qr(e, t, n) {
1349
1346
  // position: sticky
1350
1347
  case 4949:
1351
1348
  if (R(e, t + 6) === 121)
1352
- return C(e, ":", ":" + k) + e;
1349
+ return C(e, ":", ":" + O) + e;
1353
1350
  break;
1354
1351
  // display: (flex|inline-flex|grid|inline-grid)
1355
1352
  case 6444:
1356
1353
  switch (R(e, R(e, 14) === 45 ? 18 : 11)) {
1357
1354
  // (inline-)?fle(x)
1358
1355
  case 120:
1359
- return C(e, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + k + (R(e, 14) === 45 ? "inline-" : "") + "box$3$1" + k + "$2$3$1" + T + "$2box$3") + e;
1356
+ return C(e, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + O + (R(e, 14) === 45 ? "inline-" : "") + "box$3$1" + O + "$2$3$1" + T + "$2box$3") + e;
1360
1357
  // (inline-)?gri(d)
1361
1358
  case 100:
1362
1359
  return C(e, ":", ":" + T) + e;
@@ -1372,67 +1369,67 @@ function Qr(e, t, n) {
1372
1369
  }
1373
1370
  return e;
1374
1371
  }
1375
- function yt(e, t) {
1372
+ function gt(e, t) {
1376
1373
  for (var n = "", r = 0; r < e.length; r++)
1377
1374
  n += t(e[r], r, e, t) || "";
1378
1375
  return n;
1379
1376
  }
1380
- function zi(e, t, n, r) {
1377
+ function Mi(e, t, n, r) {
1381
1378
  switch (e.type) {
1382
- case Ti:
1379
+ case bi:
1383
1380
  if (e.children.length) break;
1384
- case Ni:
1385
- case wn:
1381
+ case Si:
1382
+ case yn:
1386
1383
  return e.return = e.return || e.value;
1387
- case Yr:
1384
+ case Wr:
1388
1385
  return "";
1389
- case Zr:
1390
- return e.return = e.value + "{" + yt(e.children, r) + "}";
1391
- case bt:
1386
+ case jr:
1387
+ return e.return = e.value + "{" + gt(e.children, r) + "}";
1388
+ case Et:
1392
1389
  if (!Y(e.value = e.props.join(","))) return "";
1393
1390
  }
1394
- return Y(n = yt(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
1391
+ return Y(n = gt(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
1395
1392
  }
1396
- function Wi(e) {
1397
- var t = Kr(e);
1393
+ function Hi(e) {
1394
+ var t = Yr(e);
1398
1395
  return function(n, r, o, i) {
1399
1396
  for (var a = "", c = 0; c < t; c++)
1400
1397
  a += e[c](n, r, o, i) || "";
1401
1398
  return a;
1402
1399
  };
1403
1400
  }
1404
- function ji(e) {
1401
+ function Fi(e) {
1405
1402
  return function(t) {
1406
1403
  t.root || (t = t.return) && e(t);
1407
1404
  };
1408
1405
  }
1409
- function Gi(e, t, n, r) {
1406
+ function Ui(e, t, n, r) {
1410
1407
  if (e.length > -1 && !e.return)
1411
1408
  switch (e.type) {
1412
- case wn:
1413
- e.return = Qr(e.value, e.length, n);
1409
+ case yn:
1410
+ e.return = qr(e.value, e.length, n);
1414
1411
  return;
1415
- case Zr:
1416
- return yt([oe(e, { value: C(e.value, "@", "@" + k) })], r);
1417
- case bt:
1412
+ case jr:
1413
+ return gt([oe(e, { value: C(e.value, "@", "@" + O) })], r);
1414
+ case Et:
1418
1415
  if (e.length)
1419
- return Ii(n = e.props, function(o) {
1416
+ return ki(n = e.props, function(o) {
1420
1417
  switch (J(o, r = /(::plac\w+|:read-\w+)/)) {
1421
1418
  // :read-(only|write)
1422
1419
  case ":read-only":
1423
1420
  case ":read-write":
1424
- Ee(oe(e, { props: [C(o, /:(read-\w+)/, ":" + We + "$1")] })), Ee(oe(e, { props: [o] })), Zt(e, { props: er(n, r) });
1421
+ Ee(oe(e, { props: [C(o, /:(read-\w+)/, ":" + We + "$1")] })), Ee(oe(e, { props: [o] })), Gt(e, { props: Xn(n, r) });
1425
1422
  break;
1426
1423
  // :placeholder
1427
1424
  case "::placeholder":
1428
- Ee(oe(e, { props: [C(o, /:(plac\w+)/, ":" + k + "input-$1")] })), Ee(oe(e, { props: [C(o, /:(plac\w+)/, ":" + We + "$1")] })), Ee(oe(e, { props: [C(o, /:(plac\w+)/, T + "input-$1")] })), Ee(oe(e, { props: [o] })), Zt(e, { props: er(n, r) });
1425
+ Ee(oe(e, { props: [C(o, /:(plac\w+)/, ":" + O + "input-$1")] })), Ee(oe(e, { props: [C(o, /:(plac\w+)/, ":" + We + "$1")] })), Ee(oe(e, { props: [C(o, /:(plac\w+)/, T + "input-$1")] })), Ee(oe(e, { props: [o] })), Gt(e, { props: Xn(n, r) });
1429
1426
  break;
1430
1427
  }
1431
1428
  return "";
1432
1429
  });
1433
1430
  }
1434
1431
  }
1435
- var Vi = {
1432
+ var Bi = {
1436
1433
  animationIterationCount: 1,
1437
1434
  aspectRatio: 1,
1438
1435
  borderImageOutset: 1,
@@ -1480,8 +1477,8 @@ var Vi = {
1480
1477
  strokeMiterlimit: 1,
1481
1478
  strokeOpacity: 1,
1482
1479
  strokeWidth: 1
1483
- }, b = {}, ge = typeof process < "u" && b !== void 0 && (b.REACT_APP_SC_ATTR || b.SC_ATTR) || "data-styled", eo = "active", to = "data-styled-version", Nt = "6.1.18", bn = `/*!sc*/
1484
- `, vt = typeof window < "u" && typeof document < "u", Yi = !!(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof process < "u" && b !== void 0 && b.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && b.REACT_APP_SC_DISABLE_SPEEDY !== "" ? b.REACT_APP_SC_DISABLE_SPEEDY !== "false" && b.REACT_APP_SC_DISABLE_SPEEDY : typeof process < "u" && b !== void 0 && b.SC_DISABLE_SPEEDY !== void 0 && b.SC_DISABLE_SPEEDY !== "" ? b.SC_DISABLE_SPEEDY !== "false" && b.SC_DISABLE_SPEEDY : b.NODE_ENV !== "production"), rr = /invalid hook call/i, it = /* @__PURE__ */ new Set(), Zi = function(e, t) {
1480
+ }, b = {}, ge = typeof process < "u" && b !== void 0 && (b.REACT_APP_SC_ATTR || b.SC_ATTR) || "data-styled", Xr = "active", Kr = "data-styled-version", $t = "6.1.18", Cn = `/*!sc*/
1481
+ `, yt = typeof window < "u" && typeof document < "u", zi = !!(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof process < "u" && b !== void 0 && b.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && b.REACT_APP_SC_DISABLE_SPEEDY !== "" ? b.REACT_APP_SC_DISABLE_SPEEDY !== "false" && b.REACT_APP_SC_DISABLE_SPEEDY : typeof process < "u" && b !== void 0 && b.SC_DISABLE_SPEEDY !== void 0 && b.SC_DISABLE_SPEEDY !== "" ? b.SC_DISABLE_SPEEDY !== "false" && b.SC_DISABLE_SPEEDY : b.NODE_ENV !== "production"), Qn = /invalid hook call/i, ot = /* @__PURE__ */ new Set(), Wi = function(e, t) {
1485
1482
  if (b.NODE_ENV !== "production") {
1486
1483
  var n = t ? ' with the id of "'.concat(t, '"') : "", r = "The component ".concat(e).concat(n, ` has been created dynamically.
1487
1484
  `) + `You may see this warning because you've called styled inside another component.
@@ -1492,65 +1489,65 @@ See https://styled-components.com/docs/basics#define-styled-components-outside-o
1492
1489
  var i = !0;
1493
1490
  console.error = function(a) {
1494
1491
  for (var c = [], s = 1; s < arguments.length; s++) c[s - 1] = arguments[s];
1495
- rr.test(a) ? (i = !1, it.delete(r)) : o.apply(void 0, me([a], c, !1));
1496
- }, Je(), i && !it.has(r) && (console.warn(r), it.add(r));
1492
+ Qn.test(a) ? (i = !1, ot.delete(r)) : o.apply(void 0, me([a], c, !1));
1493
+ }, Je(), i && !ot.has(r) && (console.warn(r), ot.add(r));
1497
1494
  } catch (a) {
1498
- rr.test(a.message) && it.delete(r);
1495
+ Qn.test(a.message) && ot.delete(r);
1499
1496
  } finally {
1500
1497
  console.error = o;
1501
1498
  }
1502
1499
  }
1503
- }, Tt = Object.freeze([]), Ne = Object.freeze({});
1504
- function qi(e, t, n) {
1500
+ }, kt = Object.freeze([]), Ne = Object.freeze({});
1501
+ function ji(e, t, n) {
1505
1502
  return n === void 0 && (n = Ne), e.theme !== n.theme && e.theme || t || n.theme;
1506
1503
  }
1507
- var Kt = /* @__PURE__ */ new Set(["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "u", "ul", "use", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "tspan"]), Xi = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, Ki = /(^-|-$)/g;
1508
- function or(e) {
1509
- return e.replace(Xi, "-").replace(Ki, "");
1504
+ var Zt = /* @__PURE__ */ new Set(["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "u", "ul", "use", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "tspan"]), Gi = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, Vi = /(^-|-$)/g;
1505
+ function er(e) {
1506
+ return e.replace(Gi, "-").replace(Vi, "");
1510
1507
  }
1511
- var Ji = /(a)(d)/gi, at = 52, ir = function(e) {
1508
+ var Yi = /(a)(d)/gi, it = 52, tr = function(e) {
1512
1509
  return String.fromCharCode(e + (e > 25 ? 39 : 97));
1513
1510
  };
1514
- function Jt(e) {
1511
+ function qt(e) {
1515
1512
  var t, n = "";
1516
- for (t = Math.abs(e); t > at; t = t / at | 0) n = ir(t % at) + n;
1517
- return (ir(t % at) + n).replace(Ji, "$1-$2");
1513
+ for (t = Math.abs(e); t > it; t = t / it | 0) n = tr(t % it) + n;
1514
+ return (tr(t % it) + n).replace(Yi, "$1-$2");
1518
1515
  }
1519
- var Ht, no = 5381, fe = function(e, t) {
1516
+ var Lt, Jr = 5381, fe = function(e, t) {
1520
1517
  for (var n = t.length; n; ) e = 33 * e ^ t.charCodeAt(--n);
1521
1518
  return e;
1522
- }, ro = function(e) {
1523
- return fe(no, e);
1519
+ }, Qr = function(e) {
1520
+ return fe(Jr, e);
1524
1521
  };
1525
- function oo(e) {
1526
- return Jt(ro(e) >>> 0);
1522
+ function eo(e) {
1523
+ return qt(Qr(e) >>> 0);
1527
1524
  }
1528
- function io(e) {
1525
+ function to(e) {
1529
1526
  return b.NODE_ENV !== "production" && typeof e == "string" && e || e.displayName || e.name || "Component";
1530
1527
  }
1531
- function Ft(e) {
1528
+ function Dt(e) {
1532
1529
  return typeof e == "string" && (b.NODE_ENV === "production" || e.charAt(0) === e.charAt(0).toLowerCase());
1533
1530
  }
1534
- var ao = typeof Symbol == "function" && Symbol.for, so = ao ? Symbol.for("react.memo") : 60115, Qi = ao ? Symbol.for("react.forward_ref") : 60112, ea = { childContextTypes: !0, contextType: !0, contextTypes: !0, defaultProps: !0, displayName: !0, getDefaultProps: !0, getDerivedStateFromError: !0, getDerivedStateFromProps: !0, mixins: !0, propTypes: !0, type: !0 }, ta = { name: !0, length: !0, prototype: !0, caller: !0, callee: !0, arguments: !0, arity: !0 }, co = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 }, na = ((Ht = {})[Qi] = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 }, Ht[so] = co, Ht);
1535
- function ar(e) {
1536
- return ("type" in (t = e) && t.type.$$typeof) === so ? co : "$$typeof" in e ? na[e.$$typeof] : ea;
1531
+ var no = typeof Symbol == "function" && Symbol.for, ro = no ? Symbol.for("react.memo") : 60115, Zi = no ? Symbol.for("react.forward_ref") : 60112, qi = { childContextTypes: !0, contextType: !0, contextTypes: !0, defaultProps: !0, displayName: !0, getDefaultProps: !0, getDerivedStateFromError: !0, getDerivedStateFromProps: !0, mixins: !0, propTypes: !0, type: !0 }, Xi = { name: !0, length: !0, prototype: !0, caller: !0, callee: !0, arguments: !0, arity: !0 }, oo = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 }, Ki = ((Lt = {})[Zi] = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 }, Lt[ro] = oo, Lt);
1532
+ function nr(e) {
1533
+ return ("type" in (t = e) && t.type.$$typeof) === ro ? oo : "$$typeof" in e ? Ki[e.$$typeof] : qi;
1537
1534
  var t;
1538
1535
  }
1539
- var ra = Object.defineProperty, oa = Object.getOwnPropertyNames, sr = Object.getOwnPropertySymbols, ia = Object.getOwnPropertyDescriptor, aa = Object.getPrototypeOf, cr = Object.prototype;
1540
- function lo(e, t, n) {
1536
+ var Ji = Object.defineProperty, Qi = Object.getOwnPropertyNames, rr = Object.getOwnPropertySymbols, ea = Object.getOwnPropertyDescriptor, ta = Object.getPrototypeOf, or = Object.prototype;
1537
+ function io(e, t, n) {
1541
1538
  if (typeof t != "string") {
1542
- if (cr) {
1543
- var r = aa(t);
1544
- r && r !== cr && lo(e, r, n);
1539
+ if (or) {
1540
+ var r = ta(t);
1541
+ r && r !== or && io(e, r, n);
1545
1542
  }
1546
- var o = oa(t);
1547
- sr && (o = o.concat(sr(t)));
1548
- for (var i = ar(e), a = ar(t), c = 0; c < o.length; ++c) {
1543
+ var o = Qi(t);
1544
+ rr && (o = o.concat(rr(t)));
1545
+ for (var i = nr(e), a = nr(t), c = 0; c < o.length; ++c) {
1549
1546
  var s = o[c];
1550
- if (!(s in ta || n && n[s] || a && s in a || i && s in i)) {
1551
- var u = ia(t, s);
1547
+ if (!(s in Xi || n && n[s] || a && s in a || i && s in i)) {
1548
+ var u = ea(t, s);
1552
1549
  try {
1553
- ra(e, s, u);
1550
+ Ji(e, s, u);
1554
1551
  } catch {
1555
1552
  }
1556
1553
  }
@@ -1561,13 +1558,13 @@ function lo(e, t, n) {
1561
1558
  function ye(e) {
1562
1559
  return typeof e == "function";
1563
1560
  }
1564
- function $n(e) {
1561
+ function En(e) {
1565
1562
  return typeof e == "object" && "styledComponentId" in e;
1566
1563
  }
1567
1564
  function de(e, t) {
1568
1565
  return e && t ? "".concat(e, " ").concat(t) : e || t || "";
1569
1566
  }
1570
- function Qt(e, t) {
1567
+ function Xt(e, t) {
1571
1568
  if (e.length === 0) return "";
1572
1569
  for (var n = e[0], r = 1; r < e.length; r++) n += e[r];
1573
1570
  return n;
@@ -1575,16 +1572,16 @@ function Qt(e, t) {
1575
1572
  function Te(e) {
1576
1573
  return e !== null && typeof e == "object" && e.constructor.name === Object.name && !("props" in e && e.$$typeof);
1577
1574
  }
1578
- function en(e, t, n) {
1575
+ function Kt(e, t, n) {
1579
1576
  if (n === void 0 && (n = !1), !n && !Te(e) && !Array.isArray(e)) return t;
1580
- if (Array.isArray(t)) for (var r = 0; r < t.length; r++) e[r] = en(e[r], t[r]);
1581
- else if (Te(t)) for (var r in t) e[r] = en(e[r], t[r]);
1577
+ if (Array.isArray(t)) for (var r = 0; r < t.length; r++) e[r] = Kt(e[r], t[r]);
1578
+ else if (Te(t)) for (var r in t) e[r] = Kt(e[r], t[r]);
1582
1579
  return e;
1583
1580
  }
1584
- function On(e, t) {
1581
+ function wn(e, t) {
1585
1582
  Object.defineProperty(e, "toString", { value: t });
1586
1583
  }
1587
- var sa = b.NODE_ENV !== "production" ? { 1: `Cannot create styled-component for component: %s.
1584
+ var na = b.NODE_ENV !== "production" ? { 1: `Cannot create styled-component for component: %s.
1588
1585
 
1589
1586
  `, 2: `Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
1590
1587
 
@@ -1626,7 +1623,7 @@ as for instance in your render method then you may be running into this limitati
1626
1623
  `, 17: `CSSStyleSheet could not be found on HTMLStyleElement.
1627
1624
  Has styled-components' style tag been unmounted or altered by another script?
1628
1625
  `, 18: "ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`" } : {};
1629
- function ca() {
1626
+ function ra() {
1630
1627
  for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
1631
1628
  for (var n = e[0], r = [], o = 1, i = e.length; o < i; o += 1) r.push(e[o]);
1632
1629
  return r.forEach(function(a) {
@@ -1635,9 +1632,9 @@ function ca() {
1635
1632
  }
1636
1633
  function q(e) {
1637
1634
  for (var t = [], n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];
1638
- return b.NODE_ENV === "production" ? new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e, " for more information.").concat(t.length > 0 ? " Args: ".concat(t.join(", ")) : "")) : new Error(ca.apply(void 0, me([sa[e]], t, !1)).trim());
1635
+ return b.NODE_ENV === "production" ? new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e, " for more information.").concat(t.length > 0 ? " Args: ".concat(t.join(", ")) : "")) : new Error(ra.apply(void 0, me([na[e]], t, !1)).trim());
1639
1636
  }
1640
- var la = function() {
1637
+ var oa = function() {
1641
1638
  function e(t) {
1642
1639
  this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = t;
1643
1640
  }
@@ -1660,50 +1657,50 @@ var la = function() {
1660
1657
  }, e.prototype.getGroup = function(t) {
1661
1658
  var n = "";
1662
1659
  if (t >= this.length || this.groupSizes[t] === 0) return n;
1663
- for (var r = this.groupSizes[t], o = this.indexOfGroup(t), i = o + r, a = o; a < i; a++) n += "".concat(this.tag.getRule(a)).concat(bn);
1660
+ for (var r = this.groupSizes[t], o = this.indexOfGroup(t), i = o + r, a = o; a < i; a++) n += "".concat(this.tag.getRule(a)).concat(Cn);
1664
1661
  return n;
1665
1662
  }, e;
1666
- }(), ua = 1 << 30, ht = /* @__PURE__ */ new Map(), Ct = /* @__PURE__ */ new Map(), pt = 1, st = function(e) {
1667
- if (ht.has(e)) return ht.get(e);
1668
- for (; Ct.has(pt); ) pt++;
1663
+ }(), ia = 1 << 30, _t = /* @__PURE__ */ new Map(), vt = /* @__PURE__ */ new Map(), pt = 1, at = function(e) {
1664
+ if (_t.has(e)) return _t.get(e);
1665
+ for (; vt.has(pt); ) pt++;
1669
1666
  var t = pt++;
1670
- if (b.NODE_ENV !== "production" && ((0 | t) < 0 || t > ua)) throw q(16, "".concat(t));
1671
- return ht.set(e, t), Ct.set(t, e), t;
1672
- }, fa = function(e, t) {
1673
- pt = t + 1, ht.set(e, t), Ct.set(t, e);
1674
- }, da = "style[".concat(ge, "][").concat(to, '="').concat(Nt, '"]'), _a = new RegExp("^".concat(ge, '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')), ha = function(e, t, n) {
1667
+ if (b.NODE_ENV !== "production" && ((0 | t) < 0 || t > ia)) throw q(16, "".concat(t));
1668
+ return _t.set(e, t), vt.set(t, e), t;
1669
+ }, aa = function(e, t) {
1670
+ pt = t + 1, _t.set(e, t), vt.set(t, e);
1671
+ }, sa = "style[".concat(ge, "][").concat(Kr, '="').concat($t, '"]'), ca = new RegExp("^".concat(ge, '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')), la = function(e, t, n) {
1675
1672
  for (var r, o = n.split(","), i = 0, a = o.length; i < a; i++) (r = o[i]) && e.registerName(t, r);
1676
- }, pa = function(e, t) {
1677
- for (var n, r = ((n = t.textContent) !== null && n !== void 0 ? n : "").split(bn), o = [], i = 0, a = r.length; i < a; i++) {
1673
+ }, ua = function(e, t) {
1674
+ for (var n, r = ((n = t.textContent) !== null && n !== void 0 ? n : "").split(Cn), o = [], i = 0, a = r.length; i < a; i++) {
1678
1675
  var c = r[i].trim();
1679
1676
  if (c) {
1680
- var s = c.match(_a);
1677
+ var s = c.match(ca);
1681
1678
  if (s) {
1682
1679
  var u = 0 | parseInt(s[1], 10), f = s[2];
1683
- u !== 0 && (fa(f, u), ha(e, f, s[3]), e.getTag().insertRules(u, o)), o.length = 0;
1680
+ u !== 0 && (aa(f, u), la(e, f, s[3]), e.getTag().insertRules(u, o)), o.length = 0;
1684
1681
  } else o.push(c);
1685
1682
  }
1686
1683
  }
1687
- }, lr = function(e) {
1688
- for (var t = document.querySelectorAll(da), n = 0, r = t.length; n < r; n++) {
1684
+ }, ir = function(e) {
1685
+ for (var t = document.querySelectorAll(sa), n = 0, r = t.length; n < r; n++) {
1689
1686
  var o = t[n];
1690
- o && o.getAttribute(ge) !== eo && (pa(e, o), o.parentNode && o.parentNode.removeChild(o));
1687
+ o && o.getAttribute(ge) !== Xr && (ua(e, o), o.parentNode && o.parentNode.removeChild(o));
1691
1688
  }
1692
1689
  };
1693
- function ma() {
1690
+ function fa() {
1694
1691
  return typeof __webpack_nonce__ < "u" ? __webpack_nonce__ : null;
1695
1692
  }
1696
- var uo = function(e) {
1693
+ var ao = function(e) {
1697
1694
  var t = document.head, n = e || t, r = document.createElement("style"), o = function(c) {
1698
1695
  var s = Array.from(c.querySelectorAll("style[".concat(ge, "]")));
1699
1696
  return s[s.length - 1];
1700
1697
  }(n), i = o !== void 0 ? o.nextSibling : null;
1701
- r.setAttribute(ge, eo), r.setAttribute(to, Nt);
1702
- var a = ma();
1698
+ r.setAttribute(ge, Xr), r.setAttribute(Kr, $t);
1699
+ var a = fa();
1703
1700
  return a && r.setAttribute("nonce", a), n.insertBefore(r, i), r;
1704
- }, ga = function() {
1701
+ }, da = function() {
1705
1702
  function e(t) {
1706
- this.element = uo(t), this.element.appendChild(document.createTextNode("")), this.sheet = function(n) {
1703
+ this.element = ao(t), this.element.appendChild(document.createTextNode("")), this.sheet = function(n) {
1707
1704
  if (n.sheet) return n.sheet;
1708
1705
  for (var r = document.styleSheets, o = 0, i = r.length; o < i; o++) {
1709
1706
  var a = r[o];
@@ -1724,9 +1721,9 @@ var uo = function(e) {
1724
1721
  var n = this.sheet.cssRules[t];
1725
1722
  return n && n.cssText ? n.cssText : "";
1726
1723
  }, e;
1727
- }(), ya = function() {
1724
+ }(), _a = function() {
1728
1725
  function e(t) {
1729
- this.element = uo(t), this.nodes = this.element.childNodes, this.length = 0;
1726
+ this.element = ao(t), this.nodes = this.element.childNodes, this.length = 0;
1730
1727
  }
1731
1728
  return e.prototype.insertRule = function(t, n) {
1732
1729
  if (t <= this.length && t >= 0) {
@@ -1739,7 +1736,7 @@ var uo = function(e) {
1739
1736
  }, e.prototype.getRule = function(t) {
1740
1737
  return t < this.length ? this.nodes[t].textContent : "";
1741
1738
  }, e;
1742
- }(), va = function() {
1739
+ }(), pa = function() {
1743
1740
  function e(t) {
1744
1741
  this.rules = [], this.length = 0;
1745
1742
  }
@@ -1750,172 +1747,172 @@ var uo = function(e) {
1750
1747
  }, e.prototype.getRule = function(t) {
1751
1748
  return t < this.length ? this.rules[t] : "";
1752
1749
  }, e;
1753
- }(), ur = vt, Ca = { isServer: !vt, useCSSOMInjection: !Yi }, fo = function() {
1750
+ }(), ar = yt, ha = { isServer: !yt, useCSSOMInjection: !zi }, so = function() {
1754
1751
  function e(t, n, r) {
1755
1752
  t === void 0 && (t = Ne), n === void 0 && (n = {});
1756
1753
  var o = this;
1757
- this.options = D(D({}, Ca), t), this.gs = n, this.names = new Map(r), this.server = !!t.isServer, !this.server && vt && ur && (ur = !1, lr(this)), On(this, function() {
1754
+ this.options = L(L({}, ha), t), this.gs = n, this.names = new Map(r), this.server = !!t.isServer, !this.server && yt && ar && (ar = !1, ir(this)), wn(this, function() {
1758
1755
  return function(i) {
1759
1756
  for (var a = i.getTag(), c = a.length, s = "", u = function(l) {
1760
- var h = function(m) {
1761
- return Ct.get(m);
1757
+ var p = function(m) {
1758
+ return vt.get(m);
1762
1759
  }(l);
1763
- if (h === void 0) return "continue";
1764
- var _ = i.names.get(h), g = a.getGroup(l);
1760
+ if (p === void 0) return "continue";
1761
+ var _ = i.names.get(p), g = a.getGroup(l);
1765
1762
  if (_ === void 0 || !_.size || g.length === 0) return "continue";
1766
- var w = "".concat(ge, ".g").concat(l, '[id="').concat(h, '"]'), $ = "";
1763
+ var w = "".concat(ge, ".g").concat(l, '[id="').concat(p, '"]'), $ = "";
1767
1764
  _ !== void 0 && _.forEach(function(m) {
1768
1765
  m.length > 0 && ($ += "".concat(m, ","));
1769
- }), s += "".concat(g).concat(w, '{content:"').concat($, '"}').concat(bn);
1766
+ }), s += "".concat(g).concat(w, '{content:"').concat($, '"}').concat(Cn);
1770
1767
  }, f = 0; f < c; f++) u(f);
1771
1768
  return s;
1772
1769
  }(o);
1773
1770
  });
1774
1771
  }
1775
1772
  return e.registerId = function(t) {
1776
- return st(t);
1773
+ return at(t);
1777
1774
  }, e.prototype.rehydrate = function() {
1778
- !this.server && vt && lr(this);
1775
+ !this.server && yt && ir(this);
1779
1776
  }, e.prototype.reconstructWithOptions = function(t, n) {
1780
- return n === void 0 && (n = !0), new e(D(D({}, this.options), t), this.gs, n && this.names || void 0);
1777
+ return n === void 0 && (n = !0), new e(L(L({}, this.options), t), this.gs, n && this.names || void 0);
1781
1778
  }, e.prototype.allocateGSInstance = function(t) {
1782
1779
  return this.gs[t] = (this.gs[t] || 0) + 1;
1783
1780
  }, e.prototype.getTag = function() {
1784
1781
  return this.tag || (this.tag = (t = function(n) {
1785
1782
  var r = n.useCSSOMInjection, o = n.target;
1786
- return n.isServer ? new va(o) : r ? new ga(o) : new ya(o);
1787
- }(this.options), new la(t)));
1783
+ return n.isServer ? new pa(o) : r ? new da(o) : new _a(o);
1784
+ }(this.options), new oa(t)));
1788
1785
  var t;
1789
1786
  }, e.prototype.hasNameForId = function(t, n) {
1790
1787
  return this.names.has(t) && this.names.get(t).has(n);
1791
1788
  }, e.prototype.registerName = function(t, n) {
1792
- if (st(t), this.names.has(t)) this.names.get(t).add(n);
1789
+ if (at(t), this.names.has(t)) this.names.get(t).add(n);
1793
1790
  else {
1794
1791
  var r = /* @__PURE__ */ new Set();
1795
1792
  r.add(n), this.names.set(t, r);
1796
1793
  }
1797
1794
  }, e.prototype.insertRules = function(t, n, r) {
1798
- this.registerName(t, n), this.getTag().insertRules(st(t), r);
1795
+ this.registerName(t, n), this.getTag().insertRules(at(t), r);
1799
1796
  }, e.prototype.clearNames = function(t) {
1800
1797
  this.names.has(t) && this.names.get(t).clear();
1801
1798
  }, e.prototype.clearRules = function(t) {
1802
- this.getTag().clearGroup(st(t)), this.clearNames(t);
1799
+ this.getTag().clearGroup(at(t)), this.clearNames(t);
1803
1800
  }, e.prototype.clearTag = function() {
1804
1801
  this.tag = void 0;
1805
1802
  }, e;
1806
- }(), Ea = /&/g, wa = /^\s*\/\/.*$/gm;
1807
- function _o(e, t) {
1803
+ }(), ma = /&/g, ga = /^\s*\/\/.*$/gm;
1804
+ function co(e, t) {
1808
1805
  return e.map(function(n) {
1809
1806
  return n.type === "rule" && (n.value = "".concat(t, " ").concat(n.value), n.value = n.value.replaceAll(",", ",".concat(t, " ")), n.props = n.props.map(function(r) {
1810
1807
  return "".concat(t, " ").concat(r);
1811
- })), Array.isArray(n.children) && n.type !== "@keyframes" && (n.children = _o(n.children, t)), n;
1808
+ })), Array.isArray(n.children) && n.type !== "@keyframes" && (n.children = co(n.children, t)), n;
1812
1809
  });
1813
1810
  }
1814
- function ho(e) {
1815
- var t, n, r, o = e === void 0 ? Ne : e, i = o.options, a = i === void 0 ? Ne : i, c = o.plugins, s = c === void 0 ? Tt : c, u = function(h, _, g) {
1816
- return g.startsWith(n) && g.endsWith(n) && g.replaceAll(n, "").length > 0 ? ".".concat(t) : h;
1811
+ function lo(e) {
1812
+ var t, n, r, o = e === void 0 ? Ne : e, i = o.options, a = i === void 0 ? Ne : i, c = o.plugins, s = c === void 0 ? kt : c, u = function(p, _, g) {
1813
+ return g.startsWith(n) && g.endsWith(n) && g.replaceAll(n, "").length > 0 ? ".".concat(t) : p;
1817
1814
  }, f = s.slice();
1818
- f.push(function(h) {
1819
- h.type === bt && h.value.includes("&") && (h.props[0] = h.props[0].replace(Ea, n).replace(r, u));
1820
- }), a.prefix && f.push(Gi), f.push(zi);
1821
- var l = function(h, _, g, w) {
1815
+ f.push(function(p) {
1816
+ p.type === Et && p.value.includes("&") && (p.props[0] = p.props[0].replace(ma, n).replace(r, u));
1817
+ }), a.prefix && f.push(Ui), f.push(Mi);
1818
+ var l = function(p, _, g, w) {
1822
1819
  _ === void 0 && (_ = ""), g === void 0 && (g = ""), w === void 0 && (w = "&"), t = w, n = _, r = new RegExp("\\".concat(n, "\\b"), "g");
1823
- var $ = h.replace(wa, ""), m = Ui(g || _ ? "".concat(g, " ").concat(_, " { ").concat($, " }") : $);
1824
- a.namespace && (m = _o(m, a.namespace));
1825
- var p = [];
1826
- return yt(m, Wi(f.concat(ji(function(O) {
1827
- return p.push(O);
1828
- })))), p;
1820
+ var $ = p.replace(ga, ""), m = Li(g || _ ? "".concat(g, " ").concat(_, " { ").concat($, " }") : $);
1821
+ a.namespace && (m = co(m, a.namespace));
1822
+ var h = [];
1823
+ return gt(m, Hi(f.concat(Fi(function(k) {
1824
+ return h.push(k);
1825
+ })))), h;
1829
1826
  };
1830
- return l.hash = s.length ? s.reduce(function(h, _) {
1831
- return _.name || q(15), fe(h, _.name);
1832
- }, no).toString() : "", l;
1833
- }
1834
- var Sa = new fo(), tn = ho(), kn = ne.createContext({ shouldForwardProp: void 0, styleSheet: Sa, stylis: tn });
1835
- kn.Consumer;
1836
- var ba = ne.createContext(void 0);
1837
- function nn() {
1838
- return Qe(kn);
1839
- }
1840
- function $a(e) {
1841
- var t = H(e.stylisPlugins), n = t[0], r = t[1], o = nn().styleSheet, i = te(function() {
1827
+ return l.hash = s.length ? s.reduce(function(p, _) {
1828
+ return _.name || q(15), fe(p, _.name);
1829
+ }, Jr).toString() : "", l;
1830
+ }
1831
+ var ya = new so(), Jt = lo(), Sn = ne.createContext({ shouldForwardProp: void 0, styleSheet: ya, stylis: Jt });
1832
+ Sn.Consumer;
1833
+ var va = ne.createContext(void 0);
1834
+ function Qt() {
1835
+ return Qe(Sn);
1836
+ }
1837
+ function Ca(e) {
1838
+ var t = H(e.stylisPlugins), n = t[0], r = t[1], o = Qt().styleSheet, i = te(function() {
1842
1839
  var s = o;
1843
1840
  return e.sheet ? s = e.sheet : e.target && (s = s.reconstructWithOptions({ target: e.target }, !1)), e.disableCSSOMInjection && (s = s.reconstructWithOptions({ useCSSOMInjection: !1 })), s;
1844
1841
  }, [e.disableCSSOMInjection, e.sheet, e.target, o]), a = te(function() {
1845
- return ho({ options: { namespace: e.namespace, prefix: e.enableVendorPrefixes }, plugins: n });
1842
+ return lo({ options: { namespace: e.namespace, prefix: e.enableVendorPrefixes }, plugins: n });
1846
1843
  }, [e.enableVendorPrefixes, e.namespace, n]);
1847
1844
  X(function() {
1848
- ki(n, e.stylisPlugins) || r(e.stylisPlugins);
1845
+ wi(n, e.stylisPlugins) || r(e.stylisPlugins);
1849
1846
  }, [e.stylisPlugins]);
1850
1847
  var c = te(function() {
1851
1848
  return { shouldForwardProp: e.shouldForwardProp, styleSheet: i, stylis: a };
1852
1849
  }, [e.shouldForwardProp, i, a]);
1853
- return ne.createElement(kn.Provider, { value: c }, ne.createElement(ba.Provider, { value: a }, e.children));
1850
+ return ne.createElement(Sn.Provider, { value: c }, ne.createElement(va.Provider, { value: a }, e.children));
1854
1851
  }
1855
- var rn = function() {
1852
+ var en = function() {
1856
1853
  function e(t, n) {
1857
1854
  var r = this;
1858
1855
  this.inject = function(o, i) {
1859
- i === void 0 && (i = tn);
1856
+ i === void 0 && (i = Jt);
1860
1857
  var a = r.name + i.hash;
1861
1858
  o.hasNameForId(r.id, a) || o.insertRules(r.id, a, i(r.rules, a, "@keyframes"));
1862
- }, this.name = t, this.id = "sc-keyframes-".concat(t), this.rules = n, On(this, function() {
1859
+ }, this.name = t, this.id = "sc-keyframes-".concat(t), this.rules = n, wn(this, function() {
1863
1860
  throw q(12, String(r.name));
1864
1861
  });
1865
1862
  }
1866
1863
  return e.prototype.getName = function(t) {
1867
- return t === void 0 && (t = tn), this.name + t.hash;
1864
+ return t === void 0 && (t = Jt), this.name + t.hash;
1868
1865
  }, e;
1869
- }(), Oa = function(e) {
1866
+ }(), Ea = function(e) {
1870
1867
  return e >= "A" && e <= "Z";
1871
1868
  };
1872
- function fr(e) {
1869
+ function sr(e) {
1873
1870
  for (var t = "", n = 0; n < e.length; n++) {
1874
1871
  var r = e[n];
1875
1872
  if (n === 1 && r === "-" && e[0] === "-") return e;
1876
- Oa(r) ? t += "-" + r.toLowerCase() : t += r;
1873
+ Ea(r) ? t += "-" + r.toLowerCase() : t += r;
1877
1874
  }
1878
1875
  return t.startsWith("ms-") ? "-" + t : t;
1879
1876
  }
1880
- var po = function(e) {
1877
+ var uo = function(e) {
1881
1878
  return e == null || e === !1 || e === "";
1882
- }, mo = function(e) {
1879
+ }, fo = function(e) {
1883
1880
  var t, n, r = [];
1884
1881
  for (var o in e) {
1885
1882
  var i = e[o];
1886
- e.hasOwnProperty(o) && !po(i) && (Array.isArray(i) && i.isCss || ye(i) ? r.push("".concat(fr(o), ":"), i, ";") : Te(i) ? r.push.apply(r, me(me(["".concat(o, " {")], mo(i), !1), ["}"], !1)) : r.push("".concat(fr(o), ": ").concat((t = o, (n = i) == null || typeof n == "boolean" || n === "" ? "" : typeof n != "number" || n === 0 || t in Vi || t.startsWith("--") ? String(n).trim() : "".concat(n, "px")), ";")));
1883
+ e.hasOwnProperty(o) && !uo(i) && (Array.isArray(i) && i.isCss || ye(i) ? r.push("".concat(sr(o), ":"), i, ";") : Te(i) ? r.push.apply(r, me(me(["".concat(o, " {")], fo(i), !1), ["}"], !1)) : r.push("".concat(sr(o), ": ").concat((t = o, (n = i) == null || typeof n == "boolean" || n === "" ? "" : typeof n != "number" || n === 0 || t in Bi || t.startsWith("--") ? String(n).trim() : "".concat(n, "px")), ";")));
1887
1884
  }
1888
1885
  return r;
1889
1886
  };
1890
- function he(e, t, n, r) {
1891
- if (po(e)) return [];
1892
- if ($n(e)) return [".".concat(e.styledComponentId)];
1887
+ function pe(e, t, n, r) {
1888
+ if (uo(e)) return [];
1889
+ if (En(e)) return [".".concat(e.styledComponentId)];
1893
1890
  if (ye(e)) {
1894
1891
  if (!ye(i = e) || i.prototype && i.prototype.isReactComponent || !t) return [e];
1895
1892
  var o = e(t);
1896
- return b.NODE_ENV === "production" || typeof o != "object" || Array.isArray(o) || o instanceof rn || Te(o) || o === null || console.error("".concat(io(e), " is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")), he(o, t, n, r);
1893
+ return b.NODE_ENV === "production" || typeof o != "object" || Array.isArray(o) || o instanceof en || Te(o) || o === null || console.error("".concat(to(e), " is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")), pe(o, t, n, r);
1897
1894
  }
1898
1895
  var i;
1899
- return e instanceof rn ? n ? (e.inject(n, r), [e.getName(r)]) : [e] : Te(e) ? mo(e) : Array.isArray(e) ? Array.prototype.concat.apply(Tt, e.map(function(a) {
1900
- return he(a, t, n, r);
1896
+ return e instanceof en ? n ? (e.inject(n, r), [e.getName(r)]) : [e] : Te(e) ? fo(e) : Array.isArray(e) ? Array.prototype.concat.apply(kt, e.map(function(a) {
1897
+ return pe(a, t, n, r);
1901
1898
  })) : [e.toString()];
1902
1899
  }
1903
- function ka(e) {
1900
+ function wa(e) {
1904
1901
  for (var t = 0; t < e.length; t += 1) {
1905
1902
  var n = e[t];
1906
- if (ye(n) && !$n(n)) return !1;
1903
+ if (ye(n) && !En(n)) return !1;
1907
1904
  }
1908
1905
  return !0;
1909
1906
  }
1910
- var Na = ro(Nt), Ta = function() {
1907
+ var Sa = Qr($t), ba = function() {
1911
1908
  function e(t, n, r) {
1912
- this.rules = t, this.staticRulesId = "", this.isStatic = b.NODE_ENV === "production" && (r === void 0 || r.isStatic) && ka(t), this.componentId = n, this.baseHash = fe(Na, n), this.baseStyle = r, fo.registerId(n);
1909
+ this.rules = t, this.staticRulesId = "", this.isStatic = b.NODE_ENV === "production" && (r === void 0 || r.isStatic) && wa(t), this.componentId = n, this.baseHash = fe(Sa, n), this.baseStyle = r, so.registerId(n);
1913
1910
  }
1914
1911
  return e.prototype.generateAndInjectStyles = function(t, n, r) {
1915
1912
  var o = this.baseStyle ? this.baseStyle.generateAndInjectStyles(t, n, r) : "";
1916
1913
  if (this.isStatic && !r.hash) if (this.staticRulesId && n.hasNameForId(this.componentId, this.staticRulesId)) o = de(o, this.staticRulesId);
1917
1914
  else {
1918
- var i = Qt(he(this.rules, t, n, r)), a = Jt(fe(this.baseHash, i) >>> 0);
1915
+ var i = Xt(pe(this.rules, t, n, r)), a = qt(fe(this.baseHash, i) >>> 0);
1919
1916
  if (!n.hasNameForId(this.componentId, a)) {
1920
1917
  var c = r(i, ".".concat(a), void 0, this.componentId);
1921
1918
  n.insertRules(this.componentId, a, c);
@@ -1927,12 +1924,12 @@ var Na = ro(Nt), Ta = function() {
1927
1924
  var l = this.rules[f];
1928
1925
  if (typeof l == "string") u += l, b.NODE_ENV !== "production" && (s = fe(s, l));
1929
1926
  else if (l) {
1930
- var h = Qt(he(l, t, n, r));
1931
- s = fe(s, h + f), u += h;
1927
+ var p = Xt(pe(l, t, n, r));
1928
+ s = fe(s, p + f), u += p;
1932
1929
  }
1933
1930
  }
1934
1931
  if (u) {
1935
- var _ = Jt(s >>> 0);
1932
+ var _ = qt(s >>> 0);
1936
1933
  n.hasNameForId(this.componentId, _) || n.insertRules(this.componentId, _, r(u, ".".concat(_), void 0, this.componentId)), o = de(o, _);
1937
1934
  }
1938
1935
  }
@@ -1940,12 +1937,12 @@ var Na = ro(Nt), Ta = function() {
1940
1937
  }, e;
1941
1938
  }(), Ze = ne.createContext(void 0);
1942
1939
  Ze.Consumer;
1943
- function go() {
1940
+ function _o() {
1944
1941
  var e = Qe(Ze);
1945
1942
  if (!e) throw q(18);
1946
1943
  return e;
1947
1944
  }
1948
- function xa(e) {
1945
+ function $a(e) {
1949
1946
  var t = ne.useContext(Ze), n = te(function() {
1950
1947
  return function(r, o) {
1951
1948
  if (!r) throw q(14);
@@ -1955,21 +1952,21 @@ function xa(e) {
1955
1952
  return i;
1956
1953
  }
1957
1954
  if (Array.isArray(r) || typeof r != "object") throw q(8);
1958
- return o ? D(D({}, o), r) : r;
1955
+ return o ? L(L({}, o), r) : r;
1959
1956
  }(e.theme, t);
1960
1957
  }, [e.theme, t]);
1961
1958
  return e.children ? ne.createElement(Ze.Provider, { value: n }, e.children) : null;
1962
1959
  }
1963
- var Ut = {}, dr = /* @__PURE__ */ new Set();
1964
- function Ia(e, t, n) {
1965
- var r = $n(e), o = e, i = !Ft(e), a = t.attrs, c = a === void 0 ? Tt : a, s = t.componentId, u = s === void 0 ? function(S, N) {
1966
- var E = typeof S != "string" ? "sc" : or(S);
1967
- Ut[E] = (Ut[E] || 0) + 1;
1968
- var y = "".concat(E, "-").concat(oo(Nt + E + Ut[E]));
1960
+ var Mt = {}, cr = /* @__PURE__ */ new Set();
1961
+ function ka(e, t, n) {
1962
+ var r = En(e), o = e, i = !Dt(e), a = t.attrs, c = a === void 0 ? kt : a, s = t.componentId, u = s === void 0 ? function(S, N) {
1963
+ var E = typeof S != "string" ? "sc" : er(S);
1964
+ Mt[E] = (Mt[E] || 0) + 1;
1965
+ var y = "".concat(E, "-").concat(eo($t + E + Mt[E]));
1969
1966
  return N ? "".concat(N, "-").concat(y) : y;
1970
1967
  }(t.displayName, t.parentComponentId) : s, f = t.displayName, l = f === void 0 ? function(S) {
1971
- return Ft(S) ? "styled.".concat(S) : "Styled(".concat(io(S), ")");
1972
- }(e) : f, h = t.displayName && t.componentId ? "".concat(or(t.displayName), "-").concat(t.componentId) : t.componentId || u, _ = r && o.attrs ? o.attrs.concat(c).filter(Boolean) : c, g = t.shouldForwardProp;
1968
+ return Dt(S) ? "styled.".concat(S) : "Styled(".concat(to(S), ")");
1969
+ }(e) : f, p = t.displayName && t.componentId ? "".concat(er(t.displayName), "-").concat(t.componentId) : t.componentId || u, _ = r && o.attrs ? o.attrs.concat(c).filter(Boolean) : c, g = t.shouldForwardProp;
1973
1970
  if (r && o.shouldForwardProp) {
1974
1971
  var w = o.shouldForwardProp;
1975
1972
  if (t.shouldForwardProp) {
@@ -1979,39 +1976,39 @@ function Ia(e, t, n) {
1979
1976
  };
1980
1977
  } else g = w;
1981
1978
  }
1982
- var m = new Ta(n, h, r ? o.componentStyle : void 0);
1983
- function p(S, N) {
1979
+ var m = new ba(n, p, r ? o.componentStyle : void 0);
1980
+ function h(S, N) {
1984
1981
  return function(E, y, F) {
1985
- var U = E.attrs, Pe = E.componentStyle, B = E.defaultProps, ce = E.foldedComponentIds, Tn = E.styledComponentId, So = E.target, bo = ne.useContext(Ze), $o = nn(), xt = E.shouldForwardProp || $o.shouldForwardProp;
1986
- b.NODE_ENV !== "production" && gt(Tn);
1987
- var xn = qi(y, bo, B) || Ne, K = function(et, Me, tt) {
1988
- for (var Ce, le = D(D({}, Me), { className: void 0, theme: tt }), Rt = 0; Rt < et.length; Rt += 1) {
1989
- var nt = ye(Ce = et[Rt]) ? Ce(le) : Ce;
1990
- for (var re in nt) le[re] = re === "className" ? de(le[re], nt[re]) : re === "style" ? D(D({}, le[re]), nt[re]) : nt[re];
1982
+ var U = E.attrs, Pe = E.componentStyle, B = E.defaultProps, ce = E.foldedComponentIds, $n = E.styledComponentId, Co = E.target, Eo = ne.useContext(Ze), wo = Qt(), Ot = E.shouldForwardProp || wo.shouldForwardProp;
1983
+ b.NODE_ENV !== "production" && mt($n);
1984
+ var kn = ji(y, Eo, B) || Ne, K = function(et, Me, tt) {
1985
+ for (var Ce, le = L(L({}, Me), { className: void 0, theme: tt }), xt = 0; xt < et.length; xt += 1) {
1986
+ var nt = ye(Ce = et[xt]) ? Ce(le) : Ce;
1987
+ for (var re in nt) le[re] = re === "className" ? de(le[re], nt[re]) : re === "style" ? L(L({}, le[re]), nt[re]) : nt[re];
1991
1988
  }
1992
1989
  return Me.className && (le.className = de(le.className, Me.className)), le;
1993
- }(U, y, xn), De = K.as || So, Le = {};
1994
- for (var z in K) K[z] === void 0 || z[0] === "$" || z === "as" || z === "theme" && K.theme === xn || (z === "forwardedAs" ? Le.as = K.forwardedAs : xt && !xt(z, De) || (Le[z] = K[z], xt || b.NODE_ENV !== "development" || Vo(z) || dr.has(z) || !Kt.has(De) || (dr.add(z), console.warn('styled-components: it looks like an unknown prop "'.concat(z, '" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));
1995
- var It = function(et, Me) {
1996
- var tt = nn(), Ce = et.generateAndInjectStyles(Me, tt.styleSheet, tt.stylis);
1997
- return b.NODE_ENV !== "production" && gt(Ce), Ce;
1990
+ }(U, y, kn), Le = K.as || Co, De = {};
1991
+ for (var z in K) K[z] === void 0 || z[0] === "$" || z === "as" || z === "theme" && K.theme === kn || (z === "forwardedAs" ? De.as = K.forwardedAs : Ot && !Ot(z, Le) || (De[z] = K[z], Ot || b.NODE_ENV !== "development" || Bo(z) || cr.has(z) || !Zt.has(Le) || (cr.add(z), console.warn('styled-components: it looks like an unknown prop "'.concat(z, '" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));
1992
+ var Nt = function(et, Me) {
1993
+ var tt = Qt(), Ce = et.generateAndInjectStyles(Me, tt.styleSheet, tt.stylis);
1994
+ return b.NODE_ENV !== "production" && mt(Ce), Ce;
1998
1995
  }(Pe, K);
1999
- b.NODE_ENV !== "production" && E.warnTooManyClasses && E.warnTooManyClasses(It);
2000
- var At = de(ce, Tn);
2001
- return It && (At += " " + It), K.className && (At += " " + K.className), Le[Ft(De) && !Kt.has(De) ? "class" : "className"] = At, F && (Le.ref = F), M(De, Le);
2002
- }(O, S, N);
2003
- }
2004
- p.displayName = l;
2005
- var O = ne.forwardRef(p);
2006
- return O.attrs = _, O.componentStyle = m, O.displayName = l, O.shouldForwardProp = g, O.foldedComponentIds = r ? de(o.foldedComponentIds, o.styledComponentId) : "", O.styledComponentId = h, O.target = r ? o.target : e, Object.defineProperty(O, "defaultProps", { get: function() {
1996
+ b.NODE_ENV !== "production" && E.warnTooManyClasses && E.warnTooManyClasses(Nt);
1997
+ var Tt = de(ce, $n);
1998
+ return Nt && (Tt += " " + Nt), K.className && (Tt += " " + K.className), De[Dt(Le) && !Zt.has(Le) ? "class" : "className"] = Tt, F && (De.ref = F), M(Le, De);
1999
+ }(k, S, N);
2000
+ }
2001
+ h.displayName = l;
2002
+ var k = ne.forwardRef(h);
2003
+ return k.attrs = _, k.componentStyle = m, k.displayName = l, k.shouldForwardProp = g, k.foldedComponentIds = r ? de(o.foldedComponentIds, o.styledComponentId) : "", k.styledComponentId = p, k.target = r ? o.target : e, Object.defineProperty(k, "defaultProps", { get: function() {
2007
2004
  return this._foldedDefaultProps;
2008
2005
  }, set: function(S) {
2009
2006
  this._foldedDefaultProps = r ? function(N) {
2010
2007
  for (var E = [], y = 1; y < arguments.length; y++) E[y - 1] = arguments[y];
2011
- for (var F = 0, U = E; F < U.length; F++) en(N, U[F], !0);
2008
+ for (var F = 0, U = E; F < U.length; F++) Kt(N, U[F], !0);
2012
2009
  return N;
2013
2010
  }({}, o.defaultProps, S) : S;
2014
- } }), b.NODE_ENV !== "production" && (Zi(l, h), O.warnTooManyClasses = /* @__PURE__ */ function(S, N) {
2011
+ } }), b.NODE_ENV !== "production" && (Wi(l, p), k.warnTooManyClasses = /* @__PURE__ */ function(S, N) {
2015
2012
  var E = {}, y = !1;
2016
2013
  return function(F) {
2017
2014
  if (!y && (E[F] = !0, Object.keys(E).length >= 200)) {
@@ -2028,55 +2025,55 @@ Example:
2028
2025
  <Component />`), y = !0, E = {};
2029
2026
  }
2030
2027
  };
2031
- }(l, h)), On(O, function() {
2032
- return ".".concat(O.styledComponentId);
2033
- }), i && lo(O, e, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0 }), O;
2028
+ }(l, p)), wn(k, function() {
2029
+ return ".".concat(k.styledComponentId);
2030
+ }), i && io(k, e, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0 }), k;
2034
2031
  }
2035
- function _r(e, t) {
2032
+ function lr(e, t) {
2036
2033
  for (var n = [e[0]], r = 0, o = t.length; r < o; r += 1) n.push(t[r], e[r + 1]);
2037
2034
  return n;
2038
2035
  }
2039
- var hr = function(e) {
2036
+ var ur = function(e) {
2040
2037
  return Object.assign(e, { isCss: !0 });
2041
2038
  };
2042
2039
  function se(e) {
2043
2040
  for (var t = [], n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];
2044
- if (ye(e) || Te(e)) return hr(he(_r(Tt, me([e], t, !0))));
2041
+ if (ye(e) || Te(e)) return ur(pe(lr(kt, me([e], t, !0))));
2045
2042
  var r = e;
2046
- return t.length === 0 && r.length === 1 && typeof r[0] == "string" ? he(r) : hr(he(_r(r, t)));
2043
+ return t.length === 0 && r.length === 1 && typeof r[0] == "string" ? pe(r) : ur(pe(lr(r, t)));
2047
2044
  }
2048
- function on(e, t, n) {
2045
+ function tn(e, t, n) {
2049
2046
  if (n === void 0 && (n = Ne), !t) throw q(1, t);
2050
2047
  var r = function(o) {
2051
2048
  for (var i = [], a = 1; a < arguments.length; a++) i[a - 1] = arguments[a];
2052
2049
  return e(t, n, se.apply(void 0, me([o], i, !1)));
2053
2050
  };
2054
2051
  return r.attrs = function(o) {
2055
- return on(e, t, D(D({}, n), { attrs: Array.prototype.concat(n.attrs, o).filter(Boolean) }));
2052
+ return tn(e, t, L(L({}, n), { attrs: Array.prototype.concat(n.attrs, o).filter(Boolean) }));
2056
2053
  }, r.withConfig = function(o) {
2057
- return on(e, t, D(D({}, n), o));
2054
+ return tn(e, t, L(L({}, n), o));
2058
2055
  }, r;
2059
2056
  }
2060
- var yo = function(e) {
2061
- return on(Ia, e);
2062
- }, L = yo;
2063
- Kt.forEach(function(e) {
2064
- L[e] = yo(e);
2057
+ var po = function(e) {
2058
+ return tn(ka, e);
2059
+ }, D = po;
2060
+ Zt.forEach(function(e) {
2061
+ D[e] = po(e);
2065
2062
  });
2066
2063
  function Re(e) {
2067
2064
  for (var t = [], n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];
2068
2065
  b.NODE_ENV !== "production" && typeof navigator < "u" && navigator.product === "ReactNative" && console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");
2069
- var r = Qt(se.apply(void 0, me([e], t, !1))), o = oo(r);
2070
- return new rn(o, r);
2066
+ var r = Xt(se.apply(void 0, me([e], t, !1))), o = eo(r);
2067
+ return new en(o, r);
2071
2068
  }
2072
2069
  b.NODE_ENV !== "production" && typeof navigator < "u" && navigator.product === "ReactNative" && console.warn(`It looks like you've imported 'styled-components' on React Native.
2073
2070
  Perhaps you're looking to import 'styled-components/native'?
2074
2071
  Read more about this at https://www.styled-components.com/docs/basics#react-native`);
2075
- var ct = "__sc-".concat(ge, "__");
2076
- b.NODE_ENV !== "production" && b.NODE_ENV !== "test" && typeof window < "u" && (window[ct] || (window[ct] = 0), window[ct] === 1 && console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
2072
+ var st = "__sc-".concat(ge, "__");
2073
+ b.NODE_ENV !== "production" && b.NODE_ENV !== "test" && typeof window < "u" && (window[st] || (window[st] = 0), window[st] === 1 && console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
2077
2074
 
2078
- See https://s-c.sh/2BAXzed for more info.`), window[ct] += 1);
2079
- const Aa = 2, vo = 14, Ra = 0.0276;
2075
+ See https://s-c.sh/2BAXzed for more info.`), window[st] += 1);
2076
+ const Oa = 2, ho = 14, Na = 0.0276;
2080
2077
  var Q = /* @__PURE__ */ ((e) => (e[e.S = 300] = "S", e[e.M = 400] = "M", e[e.L = 500] = "L", e[e.Default = 600] = "Default", e))(Q || {});
2081
2078
  const Be = {
2082
2079
  300: {
@@ -2099,10 +2096,10 @@ const Be = {
2099
2096
  marginLeft: 12,
2100
2097
  buttonPadding: 24
2101
2098
  }
2102
- }, pr = {
2099
+ }, fr = {
2103
2100
  loading: { text: "Loading. Please wait.", visible: !0 },
2104
2101
  done: { text: "Waiting for input...", visible: !0 }
2105
- }, Pa = {
2102
+ }, Ta = {
2106
2103
  [P.CANDIDATE_SELECTION]: "Stay still…",
2107
2104
  [P.FACE_TOO_CLOSE]: "Move back",
2108
2105
  [P.FACE_TOO_FAR]: "Move closer",
@@ -2117,24 +2114,24 @@ const Be = {
2117
2114
  [P.MOUTH_SCORE_TOO_HIGH]: "Keep neutral expression",
2118
2115
  [P.MOUTH_SCORE_TOO_LOW]: "Smile :)",
2119
2116
  [P.MOUTH_NOT_PRESENT]: "Position your face into the circle"
2120
- }, Da = {
2121
- ...Pa,
2117
+ }, xa = {
2118
+ ...Ta,
2122
2119
  [Ve.FIT_YOUR_EYE]: "Fit your eye into square",
2123
2120
  [Ve.DEVICE_PITCHED]: "Hold your phone at eye level"
2124
- }, La = "rgba(19, 19, 19, 0.5)", Ma = 34;
2125
- function mr(e, t) {
2126
- return Math.max(t, t + (e - 400) * Ra + 2);
2121
+ }, Ia = "rgba(19, 19, 19, 0.5)", Aa = 34;
2122
+ function dr(e, t) {
2123
+ return Math.max(t, t + (e - 400) * Na + 2);
2127
2124
  }
2128
- const Ha = (e, t = vo) => e ? e.width < e.height ? mr(e.width, t) : mr(e.height, t) : t, Fa = (e) => e > Q.Default ? Be[Q.Default] : e > Q.L ? Be[Q.L] : e > Q.M ? Be[Q.M] : Be[Q.S], Ua = (e) => e ? Fa(e.width) : Be[Q.Default];
2129
- function Ba() {
2125
+ const Ra = (e, t = ho) => e ? e.width < e.height ? dr(e.width, t) : dr(e.height, t) : t, Pa = (e) => e > Q.Default ? Be[Q.Default] : e > Q.L ? Be[Q.L] : e > Q.M ? Be[Q.M] : Be[Q.S], La = (e) => e ? Pa(e.width) : Be[Q.Default];
2126
+ function Da() {
2130
2127
  const e = "https://fonts.googleapis.com/css?family=Montserrat:600";
2131
2128
  if (!document.querySelector(`link[href="${e}"]`)) {
2132
2129
  const n = document.createElement("link");
2133
2130
  n.href = e, n.rel = "stylesheet", document.head.appendChild(n);
2134
2131
  }
2135
2132
  }
2136
- const je = Ir(void 0);
2137
- je.displayName = "UiCustomizationContext";
2133
+ const je = Or(void 0);
2134
+ je.displayName = "ConfigurationContext";
2138
2135
  function ve() {
2139
2136
  const e = Qe(je);
2140
2137
  if (!e)
@@ -2143,14 +2140,18 @@ function ve() {
2143
2140
  );
2144
2141
  return e;
2145
2142
  }
2146
- function za({ children: e, props: t, videoElementSize: n }) {
2147
- const { font: r } = go(), o = te(
2148
- () => ({ ...t, videoElementSize: n, fontSize: Ha(n, r.minimumSize) }),
2143
+ function Ma({
2144
+ children: e,
2145
+ configuration: t,
2146
+ videoElementSize: n
2147
+ }) {
2148
+ const { font: r } = _o(), o = te(
2149
+ () => ({ ...t, videoElementSize: n, fontSize: Ra(n, r.minimumSize) }),
2149
2150
  [t, r.minimumSize, n]
2150
2151
  );
2151
2152
  return /* @__PURE__ */ d(je.Provider, { value: o, children: e });
2152
2153
  }
2153
- const Co = ({ svgSize: e }) => /* @__PURE__ */ d("svg", { fill: "none", height: e, viewBox: "0 0 16 14", width: e, xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ d(
2154
+ const mo = ({ svgSize: e }) => /* @__PURE__ */ d("svg", { fill: "none", height: e, viewBox: "0 0 16 14", width: e, xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ d(
2154
2155
  "path",
2155
2156
  {
2156
2157
  clipRule: "evenodd",
@@ -2158,7 +2159,7 @@ const Co = ({ svgSize: e }) => /* @__PURE__ */ d("svg", { fill: "none", height:
2158
2159
  fill: "currentColor",
2159
2160
  fillRule: "evenodd"
2160
2161
  }
2161
- ) }), Wa = L.div`
2162
+ ) }), Ha = D.div`
2162
2163
  width: 100%;
2163
2164
  height: 100%;
2164
2165
  top: 0;
@@ -2177,14 +2178,14 @@ const Co = ({ svgSize: e }) => /* @__PURE__ */ d("svg", { fill: "none", height:
2177
2178
  aspect-ratio: 9/16;
2178
2179
  }
2179
2180
  `}
2180
- `, ja = L.div`
2181
+ `, Fa = D.div`
2181
2182
  width: 100%;
2182
2183
  display: flex;
2183
2184
  flex-direction: column;
2184
2185
  justify-content: center;
2185
2186
  align-items: center;
2186
2187
  color: ${(e) => e.theme.colors.instructionTextColor};
2187
- `, Ga = L.p`
2188
+ `, Ua = D.p`
2188
2189
  background: ${(e) => e.theme.colors.instructionColor};
2189
2190
  border-radius: 0.25em;
2190
2191
  padding: 0.583em 0.666em;
@@ -2192,14 +2193,14 @@ const Co = ({ svgSize: e }) => /* @__PURE__ */ d("svg", { fill: "none", height:
2192
2193
  font-size: ${(e) => `${e.$fontSize}px`};
2193
2194
  line-height: 1em;
2194
2195
  max-width: 80%;
2195
- `, an = ({ Icon: e, isCameraReady: t, position: n = "absolute", text: r }) => {
2196
+ `, nn = ({ Icon: e, isCameraReady: t, position: n = "absolute", text: r }) => {
2196
2197
  const { fontSize: o } = ve();
2197
- return /* @__PURE__ */ d(Wa, { $isCameraReady: t, $position: n, children: /* @__PURE__ */ d(ja, { children: [
2198
+ return /* @__PURE__ */ d(Ha, { $isCameraReady: t, $position: n, children: /* @__PURE__ */ d(Fa, { children: [
2198
2199
  e ? /* @__PURE__ */ d(e, { svgSize: o * 2 }) : null,
2199
- /* @__PURE__ */ d(Ga, { $fontSize: o, children: r })
2200
+ /* @__PURE__ */ d(Ua, { $fontSize: o, children: r })
2200
2201
  ] }) });
2201
- }, Eo = ({ text: e = "An unknown error has occurred" }) => /* @__PURE__ */ d(an, { Icon: Co, position: "relative", text: e });
2202
- class Va extends j {
2202
+ }, go = ({ text: e = "An unknown error has occurred" }) => /* @__PURE__ */ d(nn, { Icon: mo, position: "relative", text: e });
2203
+ class Ba extends j {
2203
2204
  constructor(t) {
2204
2205
  super(t), this.state = { hasError: !1 };
2205
2206
  }
@@ -2210,21 +2211,32 @@ class Va extends j {
2210
2211
  console.error(t, n);
2211
2212
  }
2212
2213
  render() {
2213
- return this.state.hasError ? /* @__PURE__ */ d(Eo, { Icon: Co, isCameraReady: !1 }) : this.props.children;
2214
+ return this.state.hasError ? /* @__PURE__ */ d(go, { Icon: mo, isCameraReady: !1 }) : this.props.children;
2214
2215
  }
2215
2216
  }
2216
- const Ya = L.div`
2217
+ const za = D.div`
2217
2218
  font-family: ${(e) => e.theme.font.family};
2218
2219
  font-style: ${(e) => e.theme.font.style};
2219
2220
  font-weight: ${(e) => e.theme.font.weight};
2220
- `, Za = ({ children: e, uiProps: t, videoElementSize: n }) => (X(() => {
2221
- Ba();
2222
- }, []), /* @__PURE__ */ d($a, { target: t.styleTarget, children: /* @__PURE__ */ d(xa, { theme: t.theme, children: /* @__PURE__ */ d(Ya, { children: /* @__PURE__ */ d(Va, { videoElementSize: n, children: /* @__PURE__ */ d(za, { props: t, videoElementSize: n, children: e }) }) }) }) })), qa = 0.75, Xa = 2, Ka = "dot-auto-capture-video", qe = (e, t) => {
2221
+ `;
2222
+ function Wa({
2223
+ children: e,
2224
+ uiConfiguration: t,
2225
+ videoElementSize: n
2226
+ }) {
2227
+ return X(() => {
2228
+ Da();
2229
+ }, []), /* @__PURE__ */ d(Ca, { target: t.styleTarget, children: /* @__PURE__ */ d($a, { theme: t.styling.theme, children: /* @__PURE__ */ d(za, { children: /* @__PURE__ */ d(Ba, { videoElementSize: n, children: /* @__PURE__ */ d(Ma, { configuration: t, videoElementSize: n, children: e }) }) }) }) });
2230
+ }
2231
+ const ja = 0.75, Ga = 2, Va = "dot-auto-capture-video";
2232
+ function qe(e, t) {
2223
2233
  const n = Je(t);
2224
2234
  X(() => {
2225
2235
  n.current = t;
2226
2236
  }, [t]), X(
2227
2237
  () => {
2238
+ if (!e)
2239
+ return;
2228
2240
  const r = (o) => n.current(o);
2229
2241
  return document.addEventListener(e, r), () => {
2230
2242
  document.removeEventListener(e, r);
@@ -2233,9 +2245,9 @@ const Ya = L.div`
2233
2245
  [e]
2234
2246
  // Re-run if eventName
2235
2247
  );
2236
- };
2237
- function Ja(e) {
2238
- const [t, n] = H(), r = pe(
2248
+ }
2249
+ function Ya(e) {
2250
+ const [t, n] = H(), r = he(
2239
2251
  (o) => {
2240
2252
  var i;
2241
2253
  n((i = o.detail) == null ? void 0 : i.size);
@@ -2244,29 +2256,29 @@ function Ja(e) {
2244
2256
  );
2245
2257
  return qe(e, r), Ie(() => {
2246
2258
  if (!t) {
2247
- const o = document.getElementById(Ka);
2259
+ const o = document.getElementById(Va);
2248
2260
  o && n(o.getBoundingClientRect());
2249
2261
  }
2250
2262
  }, [t, n]), t;
2251
2263
  }
2252
- function Qa(e, t) {
2264
+ function Za(e, t) {
2253
2265
  return e ? `${e}, ${t}` : t;
2254
2266
  }
2255
- const es = {
2267
+ const qa = {
2256
2268
  placeholderColor: "white",
2257
2269
  placeholderColorSuccess: "#00BFB2",
2258
2270
  instructionColor: "#F8FBFB",
2259
2271
  instructionColorSuccess: "#00BFB2",
2260
2272
  instructionTextColor: "#021B41;"
2261
- }, ts = {
2273
+ }, Xa = {
2262
2274
  family: "Montserrat, Arial, sans-serif",
2263
2275
  weight: "600",
2264
2276
  style: "normal",
2265
- minimumSize: vo
2277
+ minimumSize: ho
2266
2278
  }, He = {
2267
- colors: es,
2268
- font: ts
2269
- }, ns = (e) => {
2279
+ colors: qa,
2280
+ font: Xa
2281
+ }, Ka = (e) => {
2270
2282
  var t;
2271
2283
  return e ? {
2272
2284
  ...He,
@@ -2278,81 +2290,31 @@ const es = {
2278
2290
  font: {
2279
2291
  ...He.font,
2280
2292
  ...e.font,
2281
- family: Qa((t = e.font) == null ? void 0 : t.family, He.font.family)
2293
+ family: Za((t = e.font) == null ? void 0 : t.family, He.font.family)
2282
2294
  }
2283
2295
  } : He;
2284
- }, Et = (e, t) => {
2296
+ }, yo = (e, t) => {
2285
2297
  document.dispatchEvent(
2286
2298
  new CustomEvent(e, {
2287
2299
  detail: t
2288
2300
  })
2289
2301
  );
2290
- }, wt = class wt {
2291
- constructor() {
2292
- rt(this, "lastDetails");
2293
- rt(this, "delayedTime");
2294
- this.lastDetails = {}, this.delayedTime = 0;
2295
- }
2296
- // TODO remove singleton
2297
- static getInstance() {
2298
- return this._instance || (this._instance = new wt()), this._instance;
2299
- }
2300
- restart() {
2301
- this.lastDetails = {}, this.delayedTime = 0;
2302
- }
2303
- /**
2304
- * If the detail object has changed, save the new detail object and return true. Otherwise, return
2305
- * false
2306
- * @param {string} eventName - The name of the event.
2307
- * @param detail - This is the data that is passed to the event.
2308
- * @returns a boolean value.
2309
- */
2310
- isDetailChanged(t, n) {
2311
- return JSON.stringify(n) !== JSON.stringify(this.lastDetails[t]) ? (this.lastDetails[t] = n, !0) : !1;
2312
- }
2313
- /**
2314
- * If the detail of the event has changed, dispatch the event
2315
- * @param {string} eventName - The name of the event to dispatch.
2316
- * @param detail - Record<string, unknown>
2317
- */
2318
- dispatchCustomEventOnChange(t, n) {
2319
- this.isDetailChanged(t, n) && Et(t, n);
2320
- }
2321
- /**
2322
- * If the detail of the event has changed, delay time has passed, dispatch the event
2323
- * @param {string} eventName - The name of the event to dispatch.
2324
- * @param detail - Record<string, unknown>
2325
- * @param {number} delay - How long dispatch should be delayed.
2326
- */
2327
- dispatchDelayedCustomEventOnChange(t, n, r) {
2328
- const o = performance.now();
2329
- o - this.delayedTime > r && (this.dispatchCustomEventOnChange(t, n), this.delayedTime = o);
2330
- }
2331
- // implement this method in the class
2332
- dispatchCustomEvent(t, n) {
2333
- Et(t, n);
2334
- }
2335
- };
2336
- // TODO remove singleton
2337
- rt(wt, "_instance");
2338
- let sn = wt;
2339
- sn.getInstance();
2340
- const gr = (e, t) => {
2341
- Et(e, {
2302
+ }, _r = (e, t) => {
2303
+ yo(e, {
2342
2304
  instruction: t
2343
2305
  });
2344
- }, rs = (e) => {
2345
- Et(e, { animationEnd: !0 });
2346
- }, os = (e) => Number.parseFloat(e.toFixed(3)), Nn = (e, t) => Math.min(e, t), is = ({ height: e, width: t }, n) => {
2347
- const r = Nn(t, e) * n, o = (t - r) / 2, i = (e - r) / 2;
2306
+ }, Ja = (e) => {
2307
+ yo(e, { animationEnd: !0 });
2308
+ }, Qa = (e) => Number.parseFloat(e.toFixed(3)), bn = (e, t) => Math.min(e, t), es = ({ height: e, width: t }, n) => {
2309
+ const r = bn(t, e) * n, o = (t - r) / 2, i = (e - r) / 2;
2348
2310
  return {
2349
2311
  shiftX: o,
2350
2312
  shiftY: i,
2351
2313
  width: r,
2352
2314
  height: r
2353
2315
  };
2354
- }, as = (e, t) => {
2355
- const { height: n, shiftX: r, shiftY: o, width: i } = is(e, t);
2316
+ }, ts = (e, t) => {
2317
+ const { height: n, shiftX: r, shiftY: o, width: i } = es(e, t);
2356
2318
  return {
2357
2319
  shiftX: r / e.width,
2358
2320
  shiftY: o / e.height,
@@ -2360,30 +2322,30 @@ const gr = (e, t) => {
2360
2322
  height: n / e.height
2361
2323
  };
2362
2324
  };
2363
- function ss(e, t) {
2364
- const n = Nn(t.width, t.height);
2365
- return os(e * n);
2325
+ function ns(e, t) {
2326
+ const n = bn(t.width, t.height);
2327
+ return Qa(e * n);
2366
2328
  }
2367
- function cs(e) {
2368
- return as(e, qa);
2329
+ function rs(e) {
2330
+ return ts(e, ja);
2369
2331
  }
2370
- function ls(e, t) {
2371
- return ss(e, t) * Xa;
2332
+ function os(e, t) {
2333
+ return ns(e, t) * Ga;
2372
2334
  }
2373
- async function us() {
2335
+ async function is() {
2374
2336
  return navigator.mediaDevices.enumerateDevices();
2375
2337
  }
2376
- async function fs() {
2377
- return (await us()).filter((t) => t.kind === "videoinput");
2338
+ async function as() {
2339
+ return (await is()).filter((t) => t.kind === "videoinput");
2378
2340
  }
2379
- const ds = () => {
2341
+ const ss = () => {
2380
2342
  const [e, t] = H(!1);
2381
2343
  return X(() => {
2382
2344
  (async () => {
2383
- (await fs()).length > 1 && t(!0);
2345
+ (await as()).length > 1 && t(!0);
2384
2346
  })();
2385
2347
  }, []), e;
2386
- }, _s = ({ size: e }) => /* @__PURE__ */ d("svg", { fill: "none", height: e, viewBox: "0 0 52 52", width: e, xmlns: "http://www.w3.org/2000/svg", children: [
2348
+ }, cs = ({ size: e }) => /* @__PURE__ */ d("svg", { fill: "none", height: e, viewBox: "0 0 52 52", width: e, xmlns: "http://www.w3.org/2000/svg", children: [
2387
2349
  /* @__PURE__ */ d(
2388
2350
  "path",
2389
2351
  {
@@ -2410,7 +2372,7 @@ const ds = () => {
2410
2372
  strokeWidth: "2"
2411
2373
  }
2412
2374
  )
2413
- ] }), hs = ({ size: e }) => /* @__PURE__ */ d("svg", { fill: "none", height: e, viewBox: "0 0 52 52", width: "52", xmlns: "http://www.w3.org/2000/svg", children: [
2375
+ ] }), ls = ({ size: e }) => /* @__PURE__ */ d("svg", { fill: "none", height: e, viewBox: "0 0 52 52", width: "52", xmlns: "http://www.w3.org/2000/svg", children: [
2414
2376
  /* @__PURE__ */ d("circle", { cx: "26", cy: "26", fill: "#131313", fillOpacity: "0.3", r: "26" }),
2415
2377
  /* @__PURE__ */ d(
2416
2378
  "path",
@@ -2419,7 +2381,7 @@ const ds = () => {
2419
2381
  fill: "white"
2420
2382
  }
2421
2383
  )
2422
- ] }), wo = L.button`
2384
+ ] }), vo = D.button`
2423
2385
  background: none;
2424
2386
  border: none;
2425
2387
  padding: 0;
@@ -2429,57 +2391,60 @@ const ds = () => {
2429
2391
  &:disabled {
2430
2392
  cursor: not-allowed;
2431
2393
  }
2432
- `, ps = ({ marginLeft: e, size: t, ...n }) => /* @__PURE__ */ d(wo, { $marginLeft: e, ...n, children: /* @__PURE__ */ d(_s, { size: t }) }), ms = ({ marginLeft: e, size: t, ...n }) => /* @__PURE__ */ d(wo, { $marginLeft: e, ...n, children: /* @__PURE__ */ d(hs, { size: t }) }), gs = L.div`
2394
+ `, us = ({ marginLeft: e, size: t, ...n }) => /* @__PURE__ */ d(vo, { $marginLeft: e, ...n, children: /* @__PURE__ */ d(cs, { size: t }) }), fs = ({ marginLeft: e, size: t, ...n }) => /* @__PURE__ */ d(vo, { $marginLeft: e, ...n, children: /* @__PURE__ */ d(ls, { size: t }) }), ds = D.div`
2433
2395
  position: absolute;
2434
2396
  top: 0;
2435
2397
  right: 0;
2436
2398
  padding: ${(e) => `${e.$padding}px`};
2437
2399
  z-index: 2;
2438
- `, ys = ({
2400
+ `, _s = ({
2439
2401
  customControlEvent: e,
2440
2402
  isSwitchCameraDisabled: t
2441
2403
  }) => {
2442
- const { showCameraButtons: n, videoElementSize: r } = ve(), o = ds();
2404
+ const {
2405
+ control: { showCameraButtons: n },
2406
+ videoElementSize: r
2407
+ } = ve(), o = ss();
2443
2408
  if (!n)
2444
2409
  return null;
2445
- const { buttonPadding: i, iconSize: a, marginLeft: c } = Ua(r);
2446
- return /* @__PURE__ */ d(gs, { $padding: i, children: [
2447
- o && /* @__PURE__ */ d(ms, { disabled: t, onClick: () => {
2448
- gr(e, Dn.SWITCH_CAMERA);
2410
+ const { buttonPadding: i, iconSize: a, marginLeft: c } = La(r);
2411
+ return /* @__PURE__ */ d(ds, { $padding: i, children: [
2412
+ o && /* @__PURE__ */ d(fs, { disabled: t, onClick: () => {
2413
+ _r(e, In.SWITCH_CAMERA);
2449
2414
  }, size: a }),
2450
2415
  /* @__PURE__ */ d(
2451
- ps,
2416
+ us,
2452
2417
  {
2453
2418
  marginLeft: o ? c : 0,
2454
2419
  onClick: () => {
2455
- gr(e, Dn.TOGGLE_MIRROR);
2420
+ _r(e, In.TOGGLE_MIRROR);
2456
2421
  },
2457
2422
  size: a
2458
2423
  }
2459
2424
  )
2460
2425
  ] });
2461
- }, yr = 2.6, cn = "1.5s", ln = "1.5s", un = "ease-in-out", vs = 2500, Cs = "2.5s", Es = "0.3s", ws = "linear", Ss = ".5s", bs = "3s", $s = "ease-in-out", Os = ".5s", ks = ".5s", Ns = "ease-out", Ts = (e) => Re`
2426
+ }, pr = 2.6, rn = "1.5s", on = "1.5s", an = "ease-in-out", ps = 2500, hs = "2.5s", ms = "0.3s", gs = "linear", ys = ".5s", vs = "3s", Cs = "ease-in-out", Es = ".5s", ws = ".5s", Ss = "ease-out", bs = (e) => Re`
2462
2427
  100% {
2463
2428
  transform: translateX(22%) scale(${e});
2464
2429
  }
2465
- `, xs = (e) => Re`
2430
+ `, $s = (e) => Re`
2466
2431
  100% {
2467
2432
  transform: translate(34%, 8%) scale(${e * 0.98});
2468
2433
  }
2469
- `, Is = Re`
2434
+ `, ks = Re`
2470
2435
  0% {
2471
2436
  opacity: 0;
2472
2437
  }
2473
2438
  100% {
2474
2439
  opacity: 1;
2475
2440
  }
2476
- `, As = Re`
2441
+ `, Os = Re`
2477
2442
  100% {
2478
2443
  transform: translate(-50%, -50%) scale(2.6);
2479
2444
  top: 50%;
2480
2445
  left: 50%;
2481
2446
  }
2482
- `, Rs = Re`
2447
+ `, Ns = Re`
2483
2448
  5% {
2484
2449
  transform: translate(-50%, -50%) scale(0.7);
2485
2450
  opacity: 1;
@@ -2502,7 +2467,7 @@ const ds = () => {
2502
2467
  transform: translate(-50%, -50%) scale(0.85);
2503
2468
  opacity: 0.5;
2504
2469
  }
2505
- `, Ps = Re`
2470
+ `, Ts = Re`
2506
2471
  5% {
2507
2472
  opacity: 1;
2508
2473
  }
@@ -2514,16 +2479,16 @@ const ds = () => {
2514
2479
  transform: scale(1);
2515
2480
  opacity: 1;
2516
2481
  }
2517
- `, Ds = L.div`
2482
+ `, xs = D.div`
2518
2483
  position: absolute;
2519
2484
  left: 50%;
2520
2485
 
2521
2486
  ${(e) => e.$cssTop ? `top: ${e.$cssTop}%;` : ""}
2522
2487
  ${(e) => e.$cssBottom ? `bottom: ${e.$cssBottom}%;` : ""}
2523
2488
  ${(e) => e.$isAnimating && se`
2524
- animation: ${Is} ${Es}
2525
- ${ws} both;
2526
- animation-delay: ${Cs};
2489
+ animation: ${ks} ${ms}
2490
+ ${gs} both;
2491
+ animation-delay: ${hs};
2527
2492
 
2528
2493
  @media (orientation: landscape) {
2529
2494
  bottom: ${e.$cssBottom ? e.$cssBottom - 15 : ""}%;
@@ -2547,7 +2512,7 @@ const ds = () => {
2547
2512
  ${(e) => e.$cssTop || e.$isPortrait ? "-50%" : e.$isPortrait ? "" : "50%"}
2548
2513
  );
2549
2514
  z-index: 2;
2550
- `, Ls = L.div`
2515
+ `, Is = D.div`
2551
2516
  display: flex;
2552
2517
  align-items: center;
2553
2518
  justify-content: center;
@@ -2561,7 +2526,7 @@ const ds = () => {
2561
2526
  line-height: 1em;
2562
2527
  font-size: ${(e) => `${e.$fontSize}px`};
2563
2528
  white-space: ${(e) => e.$wrap ? "break-spaces" : "nowrap"};
2564
- `, Ms = ({
2529
+ `, As = ({
2565
2530
  children: e,
2566
2531
  cssBottom: t,
2567
2532
  cssTop: n,
@@ -2570,16 +2535,16 @@ const ds = () => {
2570
2535
  isPortrait: i
2571
2536
  }) => {
2572
2537
  const { fontSize: a } = ve();
2573
- return /* @__PURE__ */ d(Ds, { $cssBottom: t, $cssTop: n, $isAnimating: r, $isPortrait: i, children: /* @__PURE__ */ d(
2574
- Ls,
2538
+ return /* @__PURE__ */ d(xs, { $cssBottom: t, $cssTop: n, $isAnimating: r, $isPortrait: i, children: /* @__PURE__ */ d(
2539
+ Is,
2575
2540
  {
2576
2541
  $fontSize: a,
2577
2542
  $isInCandidateSelection: o,
2578
- $wrap: e.length > Ma,
2543
+ $wrap: e.length > Aa,
2579
2544
  children: e
2580
2545
  }
2581
2546
  ) });
2582
- }, Hs = L.div`
2547
+ }, Rs = D.div`
2583
2548
  color: ${(e) => e.theme.colors.instructionTextColor};
2584
2549
  animation: spin 2s linear infinite;
2585
2550
 
@@ -2588,7 +2553,7 @@ const ds = () => {
2588
2553
  transform: rotate(-360deg);
2589
2554
  }
2590
2555
  }
2591
- `, Fs = ({ svgSize: e }) => /* @__PURE__ */ d(Hs, { children: /* @__PURE__ */ d("svg", { fill: "none", height: e, viewBox: "0 0 48 48", width: e, xmlns: "http://www.w3.org/2000/svg", children: [
2556
+ `, Ps = ({ svgSize: e }) => /* @__PURE__ */ d(Rs, { children: /* @__PURE__ */ d("svg", { fill: "none", height: e, viewBox: "0 0 48 48", width: e, xmlns: "http://www.w3.org/2000/svg", children: [
2592
2557
  /* @__PURE__ */ d(
2593
2558
  "path",
2594
2559
  {
@@ -2645,7 +2610,7 @@ const ds = () => {
2645
2610
  fill: "currentColor"
2646
2611
  }
2647
2612
  )
2648
- ] }) }), Us = L.div`
2613
+ ] }) }), Ls = D.div`
2649
2614
  z-index: 1;
2650
2615
  position: absolute;
2651
2616
  // Scale up the backdrop to have space when placeholder is scaled below 1
@@ -2662,9 +2627,11 @@ const ds = () => {
2662
2627
  transform: scale(0.5);
2663
2628
  translate: 25% 25%;
2664
2629
  }
2665
- `, Bs = ({ children: e, height: t, scale: n, width: r }) => {
2666
- const { backdropColor: o } = ve(), i = Nn(r, t);
2667
- return /* @__PURE__ */ d(Us, { $backdropColor: o, $scale: n, $shorterSide: i, children: /* @__PURE__ */ d("svg", { viewBox: `0 0 ${r} ${t}`, children: [
2630
+ `, Ds = ({ children: e, height: t, scale: n, width: r }) => {
2631
+ const {
2632
+ styling: { backdropColor: o }
2633
+ } = ve(), i = bn(r, t);
2634
+ return /* @__PURE__ */ d(Ls, { $backdropColor: o, $scale: n, $shorterSide: i, children: /* @__PURE__ */ d("svg", { viewBox: `0 0 ${r} ${t}`, children: [
2668
2635
  /* @__PURE__ */ d("defs", { children: /* @__PURE__ */ d("mask", { id: "mask", children: [
2669
2636
  /* @__PURE__ */ d("rect", { fill: "#fff", height: "100%", width: "100%" }),
2670
2637
  /* @__PURE__ */ d("g", { children: e })
@@ -2672,15 +2639,15 @@ const ds = () => {
2672
2639
  /* @__PURE__ */ d("rect", { fill: o, height: "100%", mask: "url(#mask)", width: "100%" })
2673
2640
  ] }) });
2674
2641
  };
2675
- function zs({ cameraHeight: e, cameraWidth: t, state: n }) {
2642
+ function Ms({ cameraHeight: e, cameraWidth: t, state: n }) {
2676
2643
  var o;
2677
2644
  const { appStateInstructions: r } = ve();
2678
- return !n || n === jt.ERROR || !((o = r == null ? void 0 : r[n]) != null && o.visible) ? null : n === jt.DONE ? /* @__PURE__ */ d(V, { children: [
2679
- e && t && /* @__PURE__ */ d(Bs, { height: e, width: t }),
2680
- /* @__PURE__ */ d(an, { isCameraReady: !0, text: r[n].text })
2681
- ] }) : /* @__PURE__ */ d(an, { Icon: Fs, isCameraReady: !0, text: r[n].text });
2645
+ return !n || n === Bt.ERROR || !((o = r == null ? void 0 : r[n]) != null && o.visible) ? null : n === Bt.DONE ? /* @__PURE__ */ d(V, { children: [
2646
+ e && t && /* @__PURE__ */ d(Ds, { height: e, width: t }),
2647
+ /* @__PURE__ */ d(nn, { isCameraReady: !0, text: r[n].text })
2648
+ ] }) : /* @__PURE__ */ d(nn, { Icon: Ps, isCameraReady: !0, text: r[n].text });
2682
2649
  }
2683
- const Ws = L.canvas`
2650
+ const Hs = D.canvas`
2684
2651
  transform: ${(e) => e.$isImageMirror ? "rotateY(180deg)" : "none"};
2685
2652
  position: absolute;
2686
2653
  top: 0;
@@ -2689,35 +2656,35 @@ const Ws = L.canvas`
2689
2656
  height: 100%;
2690
2657
  z-index: 1;
2691
2658
  `;
2692
- function js(e) {
2659
+ function Fs(e) {
2693
2660
  const t = e.getContext("2d");
2694
2661
  t && t.clearRect(0, 0, t.canvas.width, t.canvas.height);
2695
2662
  }
2696
- const Gs = ({ cameraResolution: e, isImageMirror: t }) => {
2697
- const n = Je(null), r = go(), [o, i] = H(), a = pe(
2663
+ const Us = ({ cameraResolution: e, isImageMirror: t }) => {
2664
+ const n = Je(null), r = _o(), [o, i] = H(), a = he(
2698
2665
  (c) => {
2699
2666
  var s;
2700
2667
  i((s = c == null ? void 0 : c.detail) == null ? void 0 : s.detectedObject);
2701
2668
  },
2702
2669
  [i]
2703
2670
  );
2704
- return qe(be.DETECTED_FACE_CHANGED, a), X(() => {
2671
+ return qe(be.DETECTION_CHANGED, a), X(() => {
2705
2672
  if (!n.current)
2706
2673
  return;
2707
2674
  const c = (s, u) => {
2708
2675
  var g;
2709
2676
  if (!u)
2710
2677
  return;
2711
- const { faceCenter: f, faceSize: l } = u, h = (g = n == null ? void 0 : n.current) == null ? void 0 : g.getContext("2d");
2712
- if (!h)
2678
+ const { faceCenter: f, faceSize: l } = u, p = (g = n == null ? void 0 : n.current) == null ? void 0 : g.getContext("2d");
2679
+ if (!p)
2713
2680
  return;
2714
- const _ = ls(l, s);
2715
- h.beginPath(), h.arc(f.x, f.y, _, 0, 2 * Math.PI, !1), h.lineWidth = Aa, h.strokeStyle = r.colors.placeholderColor, h.stroke();
2681
+ const _ = os(l, s);
2682
+ p.beginPath(), p.arc(f.x, f.y, _, 0, 2 * Math.PI, !1), p.lineWidth = Oa, p.strokeStyle = r.colors.placeholderColor, p.stroke();
2716
2683
  };
2717
- n.current.width = e.width, n.current.height = e.height, js(n.current), c(e, o);
2718
- }, [e, o, r.colors.placeholderColor]), /* @__PURE__ */ d(Ws, { ref: n, $isImageMirror: t });
2719
- }, Vs = () => {
2720
- const [e, t] = H(), [n, r] = H(!1), o = pe(
2684
+ n.current.width = e.width, n.current.height = e.height, Fs(n.current), c(e, o);
2685
+ }, [e, o, r.colors.placeholderColor]), /* @__PURE__ */ d(Hs, { ref: n, $isImageMirror: t });
2686
+ }, Bs = () => {
2687
+ const [e, t] = H(), [n, r] = H(!1), o = he(
2721
2688
  (s) => {
2722
2689
  var f, l;
2723
2690
  t((f = s == null ? void 0 : s.detail) == null ? void 0 : f.cameraResolution);
@@ -2731,7 +2698,7 @@ const Gs = ({ cameraResolution: e, isImageMirror: t }) => {
2731
2698
  code: P.FACE_NOT_PRESENT,
2732
2699
  // FIXME Default instruction should not be here
2733
2700
  isEscalated: !1
2734
- }), c = pe(
2701
+ }), c = he(
2735
2702
  (s) => {
2736
2703
  var u, f;
2737
2704
  a({
@@ -2746,31 +2713,31 @@ const Gs = ({ cameraResolution: e, isImageMirror: t }) => {
2746
2713
  instruction: i,
2747
2714
  isMirroring: n
2748
2715
  };
2749
- }, Ys = () => {
2750
- const [e, t] = H(Ye.DISTANT), [n, r] = H(we.LOADING), [o, i] = H(), a = pe(
2716
+ }, zs = () => {
2717
+ const [e, t] = H(Ye.DISTANT), [n, r] = H(we.LOADING), [o, i] = H(), a = he(
2751
2718
  (c) => {
2752
2719
  const { error: s, phase: u, state: f } = c.detail || {};
2753
2720
  u && t(u), f && r(f), s && i(s);
2754
2721
  },
2755
2722
  [t, r, i]
2756
2723
  );
2757
- return qe(yn.STATUS_CHANGED, a), {
2724
+ return qe(pn.STATUS_CHANGED, a), {
2758
2725
  magnifEyePhase: e,
2759
2726
  magnifEyeState: n,
2760
2727
  magnifEyeError: o
2761
2728
  };
2762
- }, Zs = (e, t) => {
2729
+ }, Ws = (e, t) => {
2763
2730
  const [n, r] = H(!1);
2764
2731
  return X(() => {
2765
2732
  if (t === Ye.CLOSEUP) {
2766
2733
  r(!0);
2767
2734
  const o = setTimeout(() => {
2768
2735
  r(!1);
2769
- }, vs);
2736
+ }, ps);
2770
2737
  return () => clearTimeout(o);
2771
2738
  }
2772
2739
  }, [t]), e && n ? e === Ve.CANDIDATE_SELECTION ? e : Ve.FIT_YOUR_EYE : e;
2773
- }, qs = L.div`
2740
+ }, js = D.div`
2774
2741
  z-index: 1;
2775
2742
  position: absolute;
2776
2743
  top: 0;
@@ -2790,20 +2757,20 @@ const Gs = ({ cameraResolution: e, isImageMirror: t }) => {
2790
2757
  transform-origin: center;
2791
2758
 
2792
2759
  ${(e) => e.$isAnimating && se`
2793
- animation: ${Ts(yr)} ${ln}
2794
- ${un} both;
2795
- animation-delay: ${cn};
2760
+ animation: ${bs(pr)} ${on}
2761
+ ${an} both;
2762
+ animation-delay: ${rn};
2796
2763
  `}
2797
2764
 
2798
2765
  @media (max-width: 667px) {
2799
2766
  ${(e) => e.$isAnimating && se`
2800
- animation: ${xs(yr)} ${ln}
2801
- ${un} both;
2802
- animation-delay: ${cn};
2767
+ animation: ${$s(pr)} ${on}
2768
+ ${an} both;
2769
+ animation-delay: ${rn};
2803
2770
  `}
2804
2771
  }
2805
2772
  }
2806
- `, Xs = ({
2773
+ `, Gs = ({
2807
2774
  handleAnimationEnd: e,
2808
2775
  height: t,
2809
2776
  initialPosition: n,
@@ -2811,9 +2778,11 @@ const Gs = ({ cameraResolution: e, isImageMirror: t }) => {
2811
2778
  isInCandidateSelection: o,
2812
2779
  width: i
2813
2780
  }) => {
2814
- const { backdropColor: a } = ve();
2781
+ const {
2782
+ styling: { backdropColor: a }
2783
+ } = ve();
2815
2784
  return /* @__PURE__ */ d(
2816
- qs,
2785
+ js,
2817
2786
  {
2818
2787
  $isAnimating: r,
2819
2788
  $isInCandidateSelection: o,
@@ -2854,7 +2823,7 @@ const Gs = ({ cameraResolution: e, isImageMirror: t }) => {
2854
2823
  }
2855
2824
  );
2856
2825
  };
2857
- function Ks() {
2826
+ function Vs() {
2858
2827
  return /* @__PURE__ */ d(
2859
2828
  "svg",
2860
2829
  {
@@ -2882,7 +2851,7 @@ function Ks() {
2882
2851
  }
2883
2852
  );
2884
2853
  }
2885
- function Js() {
2854
+ function Ys() {
2886
2855
  return /* @__PURE__ */ d(
2887
2856
  "svg",
2888
2857
  {
@@ -2924,7 +2893,7 @@ function Js() {
2924
2893
  }
2925
2894
  );
2926
2895
  }
2927
- const Qs = L.div`
2896
+ const Zs = D.div`
2928
2897
  z-index: 1;
2929
2898
  position: absolute;
2930
2899
  top: 47%;
@@ -2938,10 +2907,10 @@ const Qs = L.div`
2938
2907
  }
2939
2908
 
2940
2909
  ${(e) => e.$isAnimating && se`
2941
- animation: ${As} ${ln} ${un} both;
2942
- animation-delay: ${cn};
2910
+ animation: ${Os} ${on} ${an} both;
2911
+ animation-delay: ${rn};
2943
2912
  `}
2944
- `, ec = L.div`
2913
+ `, qs = D.div`
2945
2914
  z-index: 1;
2946
2915
  display: flex;
2947
2916
  justify-content: center;
@@ -2954,8 +2923,8 @@ const Qs = L.div`
2954
2923
  opacity: 0;
2955
2924
 
2956
2925
  ${(e) => e.$isAnimating && se`
2957
- animation: ${Rs} ${bs} ${$s} both;
2958
- animation-delay: ${Ss};
2926
+ animation: ${Ns} ${vs} ${Cs} both;
2927
+ animation-delay: ${ys};
2959
2928
  `}
2960
2929
 
2961
2930
  svg {
@@ -2964,7 +2933,7 @@ const Qs = L.div`
2964
2933
  height: auto;
2965
2934
  filter: drop-shadow(0px 0px 5px rgba(2, 27, 65, 0.3));
2966
2935
  }
2967
- `, tc = L.div`
2936
+ `, Xs = D.div`
2968
2937
  z-index: 1;
2969
2938
  position: absolute;
2970
2939
  width: 100%;
@@ -2974,8 +2943,8 @@ const Qs = L.div`
2974
2943
  opacity: 0;
2975
2944
 
2976
2945
  ${(e) => e.$isAnimating && se`
2977
- animation: ${Ps} ${ks} ${Ns} both;
2978
- animation-delay: ${Os};
2946
+ animation: ${Ts} ${ws} ${Ss} both;
2947
+ animation-delay: ${Es};
2979
2948
  `}
2980
2949
 
2981
2950
  svg {
@@ -2984,21 +2953,21 @@ const Qs = L.div`
2984
2953
  height: auto;
2985
2954
  filter: drop-shadow(0px 0px 4px rgba(2, 27, 65, 0.3));
2986
2955
  }
2987
- `, nc = ({ isAnimating: e, isInCandidateSelection: t }) => /* @__PURE__ */ d(Qs, { $isAnimating: e, children: [
2988
- /* @__PURE__ */ d(tc, { $isAnimating: e, $isInCandidateSelection: t, children: /* @__PURE__ */ d(Ks, {}) }),
2989
- /* @__PURE__ */ d(ec, { $isAnimating: e, children: /* @__PURE__ */ d(Js, {}) })
2990
- ] }), rc = () => {
2991
- const { cameraResolution: e, instruction: t, isMirroring: n } = Vs(), { magnifEyeError: r, magnifEyePhase: o, magnifEyeState: i } = Ys(), { instructions: a } = ve(), c = Zs(t.code, o), s = c === Ve.CANDIDATE_SELECTION, u = o === Ye.MIDDLE || o === Ye.CLOSEUP;
2956
+ `, Ks = ({ isAnimating: e, isInCandidateSelection: t }) => /* @__PURE__ */ d(Zs, { $isAnimating: e, children: [
2957
+ /* @__PURE__ */ d(Xs, { $isAnimating: e, $isInCandidateSelection: t, children: /* @__PURE__ */ d(Vs, {}) }),
2958
+ /* @__PURE__ */ d(qs, { $isAnimating: e, children: /* @__PURE__ */ d(Ys, {}) })
2959
+ ] }), Js = () => {
2960
+ const { cameraResolution: e, instruction: t, isMirroring: n } = Bs(), { magnifEyeError: r, magnifEyePhase: o, magnifEyeState: i } = zs(), { instructions: a } = ve(), c = Ws(t.code, o), s = c === Ve.CANDIDATE_SELECTION, u = o === Ye.MIDDLE || o === Ye.CLOSEUP;
2992
2961
  if (i === we.ERROR)
2993
- return /* @__PURE__ */ d(Eo, { text: r == null ? void 0 : r.message });
2962
+ return /* @__PURE__ */ d(go, { text: r == null ? void 0 : r.message });
2994
2963
  if ((i === we.RUNNING || i === we.WAITING) && e) {
2995
- const f = cs(e);
2964
+ const f = rs(e);
2996
2965
  return /* @__PURE__ */ d(V, { children: [
2997
- !u && /* @__PURE__ */ d(Gs, { cameraResolution: e, isImageMirror: n }),
2966
+ !u && /* @__PURE__ */ d(Us, { cameraResolution: e, isImageMirror: n }),
2998
2967
  /* @__PURE__ */ d(
2999
- Xs,
2968
+ Gs,
3000
2969
  {
3001
- handleAnimationEnd: () => rs(yn.ANIMATION_END),
2970
+ handleAnimationEnd: () => Ja(pn.ANIMATION_END),
3002
2971
  height: e.height,
3003
2972
  initialPosition: f,
3004
2973
  isAnimating: u,
@@ -3007,7 +2976,7 @@ const Qs = L.div`
3007
2976
  }
3008
2977
  ),
3009
2978
  c && /* @__PURE__ */ d(
3010
- Ms,
2979
+ As,
3011
2980
  {
3012
2981
  cssBottom: (f.height + f.shiftY) * 100,
3013
2982
  isAnimating: u,
@@ -3016,36 +2985,44 @@ const Qs = L.div`
3016
2985
  children: a[c]
3017
2986
  }
3018
2987
  ),
3019
- /* @__PURE__ */ d(nc, { isAnimating: u, isInCandidateSelection: s }),
3020
- !u && /* @__PURE__ */ d(ys, { customControlEvent: be.CONTROL, isSwitchCameraDisabled: s })
2988
+ /* @__PURE__ */ d(Ks, { isAnimating: u, isInCandidateSelection: s }),
2989
+ !u && /* @__PURE__ */ d(_s, { customControlEvent: be.CONTROL, isSwitchCameraDisabled: s })
3021
2990
  ] });
3022
2991
  }
3023
2992
  return /* @__PURE__ */ d(
3024
- zs,
2993
+ Ms,
3025
2994
  {
3026
2995
  cameraHeight: e == null ? void 0 : e.height,
3027
2996
  cameraWidth: e == null ? void 0 : e.width,
3028
2997
  state: i
3029
2998
  }
3030
2999
  );
3031
- }, oc = (e) => {
3032
- var a, c;
3033
- const t = { ...Da, ...e == null ? void 0 : e.instructions }, n = {
3000
+ }, Qs = (e) => {
3001
+ var i, a, c, s, u;
3002
+ const t = { ...xa, ...e == null ? void 0 : e.instructions }, n = {
3034
3003
  [we.LOADING]: {
3035
- ...pr.loading,
3036
- ...(a = e == null ? void 0 : e.appStateInstructions) == null ? void 0 : a.loading
3004
+ ...fr.loading,
3005
+ ...(i = e == null ? void 0 : e.appStateInstructions) == null ? void 0 : i.loading
3037
3006
  },
3038
- [we.DONE]: { ...pr.done, ...(c = e == null ? void 0 : e.appStateInstructions) == null ? void 0 : c.done }
3039
- }, r = (e == null ? void 0 : e.backdropColor) ?? La, o = (e == null ? void 0 : e.showCameraButtons) ?? !1, i = ns(e == null ? void 0 : e.theme);
3007
+ [we.DONE]: {
3008
+ ...fr.done,
3009
+ ...(a = e == null ? void 0 : e.appStateInstructions) == null ? void 0 : a.done
3010
+ }
3011
+ }, r = {
3012
+ ...e == null ? void 0 : e.styling,
3013
+ backdropColor: ((c = e == null ? void 0 : e.styling) == null ? void 0 : c.backdropColor) ?? Ia,
3014
+ theme: Ka((s = e == null ? void 0 : e.styling) == null ? void 0 : s.theme)
3015
+ }, o = {
3016
+ showCameraButtons: ((u = e == null ? void 0 : e.control) == null ? void 0 : u.showCameraButtons) ?? !1
3017
+ };
3040
3018
  return {
3041
- backdropColor: r,
3042
3019
  instructions: t,
3043
3020
  appStateInstructions: n,
3044
- showCameraButtons: o,
3045
- theme: i
3021
+ styling: r,
3022
+ control: o
3046
3023
  };
3047
- }, ic = ({ props: e }) => {
3048
- const t = Ja(be.VIDEO_ELEMENT_SIZE);
3049
- return /* @__PURE__ */ d(Za, { uiProps: oc(e), videoElementSize: t, children: /* @__PURE__ */ d(rc, {}) });
3024
+ }, ec = ({ configuration: e }) => {
3025
+ const t = Ya(be.VIDEO_ELEMENT_SIZE);
3026
+ return /* @__PURE__ */ d(Wa, { uiConfiguration: Qs(e), videoElementSize: t, children: /* @__PURE__ */ d(Js, {}) });
3050
3027
  };
3051
- Fo(ic, "x-dot-magnifeye-liveness-ui", ["props"]);
3028
+ Po(ec, "x-dot-magnifeye-liveness-ui", ["configuration"]);