@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 So = Object.defineProperty;
2
- var wo = (e, t, n) => t in e ? So(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var et = (e, t, n) => wo(e, typeof t != "symbol" ? t + "" : t, n);
4
- var Ze, E, _r, fe, kn, hr, pr, mr, sn, zt, Ut, gr, Ge = {}, yr = [], bo = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Ye = Array.isArray;
1
+ var Ze, S, lr, fe, wn, ur, fr, dr, nn, Ft, Ht, _r, je = {}, pr = [], yo = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Ye = Array.isArray;
5
2
  function q(e, t) {
6
3
  for (var n in t) e[n] = t[n];
7
4
  return e;
8
5
  }
9
- function cn(e) {
6
+ function rn(e) {
10
7
  e && e.parentNode && e.parentNode.removeChild(e);
11
8
  }
12
9
  function L(e, t, n) {
@@ -16,13 +13,13 @@ function L(e, t, n) {
16
13
  return Ue(e, a, r, o, null);
17
14
  }
18
15
  function Ue(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 ?? ++_r, __i: -1, __u: 0 };
20
- return o == null && E.vnode != null && E.vnode(i), i;
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 ?? ++lr, __i: -1, __u: 0 };
17
+ return o == null && S.vnode != null && S.vnode(i), i;
21
18
  }
22
- function $o() {
19
+ function vo() {
23
20
  return { current: null };
24
21
  }
25
- function G(e) {
22
+ function j(e) {
26
23
  return e.children;
27
24
  }
28
25
  function V(e, t) {
@@ -33,38 +30,38 @@ function be(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" ? be(e) : null;
35
32
  }
36
- function vr(e) {
33
+ function hr(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 vr(e);
40
+ return hr(e);
44
41
  }
45
42
  }
46
- function Bt(e) {
47
- (!e.__d && (e.__d = !0) && fe.push(e) && !_t.__r++ || kn != E.debounceRendering) && ((kn = E.debounceRendering) || hr)(_t);
43
+ function zt(e) {
44
+ (!e.__d && (e.__d = !0) && fe.push(e) && !dt.__r++ || wn != S.debounceRendering) && ((wn = S.debounceRendering) || ur)(dt);
48
45
  }
49
- function _t() {
50
- for (var e, t, n, r, o, i, a, s = 1; fe.length; ) fe.length > s && fe.sort(pr), e = fe.shift(), s = fe.length, e.__d && (n = void 0, o = (r = (t = e).__v).__e, i = [], a = [], t.__P && ((n = q({}, r)).__v = r.__v + 1, E.vnode && E.vnode(n), ln(t.__P, n, r, t.__n, t.__P.namespaceURI, 32 & r.__u ? [o] : null, i, o ?? be(r), !!(32 & r.__u), a), n.__v = r.__v, n.__.__k[n.__i] = n, Sr(i, n, a), n.__e != o && vr(n)));
51
- _t.__r = 0;
46
+ function dt() {
47
+ for (var e, t, n, r, o, i, a, s = 1; fe.length; ) fe.length > s && fe.sort(fr), e = fe.shift(), s = fe.length, e.__d && (n = void 0, o = (r = (t = e).__v).__e, i = [], a = [], t.__P && ((n = q({}, r)).__v = r.__v + 1, S.vnode && S.vnode(n), on(t.__P, n, r, t.__n, t.__P.namespaceURI, 32 & r.__u ? [o] : null, i, o ?? be(r), !!(32 & r.__u), a), n.__v = r.__v, n.__.__k[n.__i] = n, yr(i, n, a), n.__e != o && hr(n)));
48
+ dt.__r = 0;
52
49
  }
53
- function Cr(e, t, n, r, o, i, a, s, l, u, f) {
54
- var c, _, d, g, y, v, m = r && r.__k || yr, p = t.length;
55
- for (l = Oo(n, t, m, l, p), c = 0; c < p; c++) (d = n.__k[c]) != null && (_ = d.__i == -1 ? Ge : m[d.__i] || Ge, d.__i = c, v = ln(e, d, _, o, i, a, s, l, u, f), g = d.__e, d.ref && _.ref != d.ref && (_.ref && un(_.ref, null, d), f.push(d.ref, d.__c || g, d)), y == null && g != null && (y = g), 4 & d.__u || _.__k === d.__k ? l = Er(d, l, e) : typeof d.type == "function" && v !== void 0 ? l = v : g && (l = g.nextSibling), d.__u &= -7);
50
+ function mr(e, t, n, r, o, i, a, s, l, u, f) {
51
+ var c, _, d, g, y, v, m = r && r.__k || pr, h = t.length;
52
+ for (l = Co(n, t, m, l, h), c = 0; c < h; c++) (d = n.__k[c]) != null && (_ = d.__i == -1 ? je : m[d.__i] || je, d.__i = c, v = on(e, d, _, o, i, a, s, l, u, f), g = d.__e, d.ref && _.ref != d.ref && (_.ref && an(_.ref, null, d), f.push(d.ref, d.__c || g, d)), y == null && g != null && (y = g), 4 & d.__u || _.__k === d.__k ? l = gr(d, l, e) : typeof d.type == "function" && v !== void 0 ? l = v : g && (l = g.nextSibling), d.__u &= -7);
56
53
  return n.__e = y, l;
57
54
  }
58
- function Oo(e, t, n, r, o) {
55
+ function Co(e, t, n, r, o) {
59
56
  var i, a, s, l, u, f = n.length, c = f, _ = 0;
60
- for (e.__k = new Array(o), i = 0; i < o; i++) (a = t[i]) != null && typeof a != "boolean" && typeof a != "function" ? (l = i + _, (a = e.__k[i] = typeof a == "string" || typeof a == "number" || typeof a == "bigint" || a.constructor == String ? Ue(null, a, null, null, null) : Ye(a) ? Ue(G, { children: a }, null, null, null) : a.constructor == null && a.__b > 0 ? Ue(a.type, a.props, a.key, a.ref ? a.ref : null, a.__v) : a).__ = e, a.__b = e.__b + 1, s = null, (u = a.__i = ko(a, n, l, c)) != -1 && (c--, (s = n[u]) && (s.__u |= 2)), s == null || s.__v == null ? (u == -1 && (o > f ? _-- : o < f && _++), typeof a.type != "function" && (a.__u |= 4)) : u != l && (u == l - 1 ? _-- : u == l + 1 ? _++ : (u > l ? _-- : _++, a.__u |= 4))) : e.__k[i] = null;
61
- if (c) for (i = 0; i < f; i++) (s = n[i]) != null && (2 & s.__u) == 0 && (s.__e == r && (r = be(s)), br(s, s));
57
+ for (e.__k = new Array(o), i = 0; i < o; i++) (a = t[i]) != null && typeof a != "boolean" && typeof a != "function" ? (l = i + _, (a = e.__k[i] = typeof a == "string" || typeof a == "number" || typeof a == "bigint" || a.constructor == String ? Ue(null, a, null, null, null) : Ye(a) ? Ue(j, { children: a }, null, null, null) : a.constructor == null && a.__b > 0 ? Ue(a.type, a.props, a.key, a.ref ? a.ref : null, a.__v) : a).__ = e, a.__b = e.__b + 1, s = null, (u = a.__i = So(a, n, l, c)) != -1 && (c--, (s = n[u]) && (s.__u |= 2)), s == null || s.__v == null ? (u == -1 && (o > f ? _-- : o < f && _++), typeof a.type != "function" && (a.__u |= 4)) : u != l && (u == l - 1 ? _-- : u == l + 1 ? _++ : (u > l ? _-- : _++, a.__u |= 4))) : e.__k[i] = null;
58
+ if (c) for (i = 0; i < f; i++) (s = n[i]) != null && (2 & s.__u) == 0 && (s.__e == r && (r = be(s)), Cr(s, s));
62
59
  return r;
63
60
  }
64
- function Er(e, t, n) {
61
+ function gr(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 = Er(r[o], t, n));
64
+ for (r = e.__k, o = 0; r && o < r.length; o++) r[o] && (r[o].__ = e, t = gr(r[o], t, n));
68
65
  return t;
69
66
  }
70
67
  e.__e != t && (t && e.type && !n.contains(t) && (t = be(e)), n.insertBefore(e.__e, t || null), t = e.__e);
@@ -78,7 +75,7 @@ function te(e, t) {
78
75
  te(n, t);
79
76
  }) : t.push(e)), t;
80
77
  }
81
- function ko(e, t, n, r) {
78
+ function So(e, t, n, r) {
82
79
  var o, i, a = e.key, s = e.type, l = t[n];
83
80
  if (l === null && e.key == null || l && a == l.key && s == l.type && (2 & l.__u) == 0) return n;
84
81
  if (r > (l != null && (2 & l.__u) == 0 ? 1 : 0)) for (o = n - 1, i = n + 1; o >= 0 || i < t.length; ) {
@@ -93,17 +90,17 @@ function ko(e, t, n, r) {
93
90
  }
94
91
  return -1;
95
92
  }
96
- function Nn(e, t, n) {
97
- t[0] == "-" ? e.setProperty(t, n ?? "") : e[t] = n == null ? "" : typeof n != "number" || bo.test(t) ? n : n + "px";
93
+ function bn(e, t, n) {
94
+ t[0] == "-" ? e.setProperty(t, n ?? "") : e[t] = n == null ? "" : typeof n != "number" || yo.test(t) ? n : n + "px";
98
95
  }
99
- function tt(e, t, n, r, o) {
96
+ function et(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 || Nn(e.style, t, "");
104
- if (n) for (t in n) r && n[t] == r[t] || Nn(e.style, t, n[t]);
100
+ if (typeof r == "string" && (e.style.cssText = r = ""), r) for (t in r) n && t in n || bn(e.style, t, "");
101
+ if (n) for (t in n) r && n[t] == r[t] || bn(e.style, t, n[t]);
105
102
  }
106
- else if (t[0] == "o" && t[1] == "n") i = t != (t = t.replace(mr, "$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 ? Ut : zt, i)) : e.removeEventListener(t, i ? Ut : zt, i);
103
+ else if (t[0] == "o" && t[1] == "n") i = t != (t = t.replace(dr, "$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 = nn, e.addEventListener(t, i ? Ht : Ft, i)) : e.removeEventListener(t, i ? Ht : Ft, 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,135 +111,135 @@ function tt(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 Tn(e) {
114
+ function $n(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 = sn++;
118
+ if (t.t == null) t.t = nn++;
122
119
  else if (t.t < n.u) return;
123
- return n(E.event ? E.event(t) : t);
120
+ return n(S.event ? S.event(t) : t);
124
121
  }
125
122
  };
126
123
  }
127
- function ln(e, t, n, r, o, i, a, s, l, u) {
128
- var f, c, _, d, g, y, v, m, p, O, b, N, w, C, M, U, Ae, B = t.type;
124
+ function on(e, t, n, r, o, i, a, s, l, u) {
125
+ var f, c, _, d, g, y, v, m, h, O, b, N, w, C, D, U, Pe, B = t.type;
129
126
  if (t.constructor != null) return null;
130
- 128 & n.__u && (l = !!(32 & n.__u), i = [s = t.__e = n.__e]), (f = E.__b) && f(t);
127
+ 128 & n.__u && (l = !!(32 & n.__u), i = [s = t.__e = n.__e]), (f = S.__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], b = f ? O ? O.props.value : f.__ : r, n.__c ? v = (c = t.__c = n.__c).__ = c.__E : (p ? t.__c = c = new B(m, b) : (t.__c = c = new V(m, b), c.constructor = B, c.render = To), O && O.sub(c), c.props = m, c.state || (c.state = {}), c.context = b, c.__n = r, _ = c.__d = !0, c.__h = [], c._sb = []), p && c.__s == null && (c.__s = c.state), p && B.getDerivedStateFromProps != null && (c.__s == c.state && (c.__s = q({}, c.__s)), q(c.__s, B.getDerivedStateFromProps(m, c.__s))), d = c.props, g = c.state, c.__v = t, _) p && B.getDerivedStateFromProps == null && c.componentWillMount != null && c.componentWillMount(), p && c.componentDidMount != null && c.__h.push(c.componentDidMount);
129
+ if (m = t.props, h = "prototype" in B && B.prototype.render, O = (f = B.contextType) && r[f.__c], b = f ? O ? O.props.value : f.__ : r, n.__c ? v = (c = t.__c = n.__c).__ = c.__E : (h ? t.__c = c = new B(m, b) : (t.__c = c = new V(m, b), c.constructor = B, c.render = wo), O && O.sub(c), c.props = m, c.state || (c.state = {}), c.context = b, c.__n = r, _ = c.__d = !0, c.__h = [], c._sb = []), h && c.__s == null && (c.__s = c.state), h && B.getDerivedStateFromProps != null && (c.__s == c.state && (c.__s = q({}, c.__s)), q(c.__s, B.getDerivedStateFromProps(m, c.__s))), d = c.props, g = c.state, c.__v = t, _) h && B.getDerivedStateFromProps == null && c.componentWillMount != null && c.componentWillMount(), h && c.componentDidMount != null && c.__h.push(c.componentDidMount);
133
130
  else {
134
- if (p && B.getDerivedStateFromProps == null && m !== d && c.componentWillReceiveProps != null && c.componentWillReceiveProps(m, b), !c.__e && c.shouldComponentUpdate != null && c.shouldComponentUpdate(m, c.__s, b) === !1 || t.__v == n.__v) {
131
+ if (h && B.getDerivedStateFromProps == null && m !== d && c.componentWillReceiveProps != null && c.componentWillReceiveProps(m, b), !c.__e && c.shouldComponentUpdate != null && c.shouldComponentUpdate(m, c.__s, b) === !1 || t.__v == n.__v) {
135
132
  for (t.__v != n.__v && (c.props = m, c.state = c.__s, c.__d = !1), t.__e = n.__e, t.__k = n.__k, t.__k.some(function(le) {
136
133
  le && (le.__ = t);
137
134
  }), N = 0; N < c._sb.length; N++) c.__h.push(c._sb[N]);
138
135
  c._sb = [], c.__h.length && a.push(c);
139
136
  break e;
140
137
  }
141
- c.componentWillUpdate != null && c.componentWillUpdate(m, c.__s, b), p && c.componentDidUpdate != null && c.__h.push(function() {
138
+ c.componentWillUpdate != null && c.componentWillUpdate(m, c.__s, b), h && c.componentDidUpdate != null && c.__h.push(function() {
142
139
  c.componentDidUpdate(d, g, y);
143
140
  });
144
141
  }
145
- if (c.context = b, c.props = m, c.__P = e, c.__e = !1, w = E.__r, C = 0, p) {
146
- for (c.state = c.__s, c.__d = !1, w && w(t), f = c.render(c.props, c.state, c.context), M = 0; M < c._sb.length; M++) c.__h.push(c._sb[M]);
142
+ if (c.context = b, c.props = m, c.__P = e, c.__e = !1, w = S.__r, C = 0, h) {
143
+ for (c.state = c.__s, c.__d = !1, w && w(t), f = c.render(c.props, c.state, c.context), D = 0; D < c._sb.length; D++) c.__h.push(c._sb[D]);
147
144
  c._sb = [];
148
145
  } else do
149
146
  c.__d = !1, w && w(t), f = c.render(c.props, c.state, c.context), c.state = c.__s;
150
147
  while (c.__d && ++C < 25);
151
- c.state = c.__s, c.getChildContext != null && (r = q(q({}, r), c.getChildContext())), p && !_ && c.getSnapshotBeforeUpdate != null && (y = c.getSnapshotBeforeUpdate(d, g)), U = f, f != null && f.type === G && f.key == null && (U = wr(f.props.children)), s = Cr(e, Ye(U) ? U : [U], t, n, r, o, i, a, s, l, u), c.base = t.__e, t.__u &= -161, c.__h.length && a.push(c), v && (c.__E = c.__ = null);
148
+ c.state = c.__s, c.getChildContext != null && (r = q(q({}, r), c.getChildContext())), h && !_ && c.getSnapshotBeforeUpdate != null && (y = c.getSnapshotBeforeUpdate(d, g)), U = f, f != null && f.type === j && f.key == null && (U = vr(f.props.children)), s = mr(e, Ye(U) ? U : [U], t, n, r, o, i, a, s, l, u), c.base = t.__e, t.__u &= -161, c.__h.length && a.push(c), v && (c.__E = c.__ = null);
152
149
  } catch (le) {
153
150
  if (t.__v = null, l || i != null) if (le.then) {
154
151
  for (t.__u |= l ? 160 : 128; s && s.nodeType == 8 && s.nextSibling; ) s = s.nextSibling;
155
152
  i[i.indexOf(s)] = null, t.__e = s;
156
- } else for (Ae = i.length; Ae--; ) cn(i[Ae]);
153
+ } else for (Pe = i.length; Pe--; ) rn(i[Pe]);
157
154
  else t.__e = n.__e, t.__k = n.__k;
158
- E.__e(le, t, n);
155
+ S.__e(le, t, n);
159
156
  }
160
- else i == null && t.__v == n.__v ? (t.__k = n.__k, t.__e = n.__e) : s = t.__e = No(n.__e, t, n, r, o, i, a, l, u);
161
- return (f = E.diffed) && f(t), 128 & t.__u ? void 0 : s;
157
+ else i == null && t.__v == n.__v ? (t.__k = n.__k, t.__e = n.__e) : s = t.__e = Eo(n.__e, t, n, r, o, i, a, l, u);
158
+ return (f = S.diffed) && f(t), 128 & t.__u ? void 0 : s;
162
159
  }
163
- function Sr(e, t, n) {
164
- for (var r = 0; r < n.length; r++) un(n[r], n[++r], n[++r]);
165
- E.__c && E.__c(t, e), e.some(function(o) {
160
+ function yr(e, t, n) {
161
+ for (var r = 0; r < n.length; r++) an(n[r], n[++r], n[++r]);
162
+ S.__c && S.__c(t, e), e.some(function(o) {
166
163
  try {
167
164
  e = o.__h, o.__h = [], e.some(function(i) {
168
165
  i.call(o);
169
166
  });
170
167
  } catch (i) {
171
- E.__e(i, o.__v);
168
+ S.__e(i, o.__v);
172
169
  }
173
170
  });
174
171
  }
175
- function wr(e) {
176
- return typeof e != "object" || e == null || e.__b && e.__b > 0 ? e : Ye(e) ? e.map(wr) : q({}, e);
172
+ function vr(e) {
173
+ return typeof e != "object" || e == null || e.__b && e.__b > 0 ? e : Ye(e) ? e.map(vr) : q({}, e);
177
174
  }
178
- function No(e, t, n, r, o, i, a, s, l) {
179
- var u, f, c, _, d, g, y, v = 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 ((d = i[u]) && "setAttribute" in d == !!p && (p ? d.localName == p : d.nodeType == 3)) {
175
+ function Eo(e, t, n, r, o, i, a, s, l) {
176
+ var u, f, c, _, d, g, y, v = 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 ((d = i[u]) && "setAttribute" in d == !!h && (h ? d.localName == h : d.nodeType == 3)) {
182
179
  e = d, 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), s && (E.__m && E.__m(t, i), s = !1), i = null;
184
+ if (h == null) return document.createTextNode(m);
185
+ e = document.createElementNS(o, h, m.is && m), s && (S.__m && S.__m(t, i), s = !1), i = null;
189
186
  }
190
- if (p == null) v === m || s && e.data == m || (e.data = m);
187
+ if (h == null) v === m || s && e.data == m || (e.data = m);
191
188
  else {
192
- if (i = i && Ze.call(e.childNodes), v = n.props || Ge, !s && i != null) for (v = {}, u = 0; u < e.attributes.length; u++) v[(d = e.attributes[u]).name] = d.value;
189
+ if (i = i && Ze.call(e.childNodes), v = n.props || je, !s && i != null) for (v = {}, u = 0; u < e.attributes.length; u++) v[(d = e.attributes[u]).name] = d.value;
193
190
  for (u in v) if (d = v[u], u != "children") {
194
191
  if (u == "dangerouslySetInnerHTML") c = d;
195
192
  else if (!(u in m)) {
196
193
  if (u == "value" && "defaultValue" in m || u == "checked" && "defaultChecked" in m) continue;
197
- tt(e, u, null, d, o);
194
+ et(e, u, null, d, o);
198
195
  }
199
196
  }
200
- for (u in m) d = m[u], u == "children" ? _ = d : u == "dangerouslySetInnerHTML" ? f = d : u == "value" ? g = d : u == "checked" ? y = d : s && typeof d != "function" || v[u] === d || tt(e, u, d, v[u], o);
197
+ for (u in m) d = m[u], u == "children" ? _ = d : u == "dangerouslySetInnerHTML" ? f = d : u == "value" ? g = d : u == "checked" ? y = d : s && typeof d != "function" || v[u] === d || et(e, u, d, v[u], o);
201
198
  if (f) s || c && (f.__html == c.__html || f.__html == e.innerHTML) || (e.innerHTML = f.__html), t.__k = [];
202
- else if (c && (e.innerHTML = ""), Cr(t.type == "template" ? e.content : e, Ye(_) ? _ : [_], t, n, r, p == "foreignObject" ? "http://www.w3.org/1999/xhtml" : o, i, a, i ? i[0] : n.__k && be(n, 0), s, l), i != null) for (u = i.length; u--; ) cn(i[u]);
203
- s || (u = "value", p == "progress" && g == null ? e.removeAttribute("value") : g != null && (g !== e[u] || p == "progress" && !g || p == "option" && g != v[u]) && tt(e, u, g, v[u], o), u = "checked", y != null && y != e[u] && tt(e, u, y, v[u], o));
199
+ else if (c && (e.innerHTML = ""), mr(t.type == "template" ? e.content : e, Ye(_) ? _ : [_], t, n, r, h == "foreignObject" ? "http://www.w3.org/1999/xhtml" : o, i, a, i ? i[0] : n.__k && be(n, 0), s, l), i != null) for (u = i.length; u--; ) rn(i[u]);
200
+ s || (u = "value", h == "progress" && g == null ? e.removeAttribute("value") : g != null && (g !== e[u] || h == "progress" && !g || h == "option" && g != v[u]) && et(e, u, g, v[u], o), u = "checked", y != null && y != e[u] && et(e, u, y, v[u], o));
204
201
  }
205
202
  return e;
206
203
  }
207
- function un(e, t, n) {
204
+ function an(e, t, n) {
208
205
  try {
209
206
  if (typeof e == "function") {
210
207
  var r = typeof e.__u == "function";
211
208
  r && e.__u(), r && t == null || (e.__u = e(t));
212
209
  } else e.current = t;
213
210
  } catch (o) {
214
- E.__e(o, n);
211
+ S.__e(o, n);
215
212
  }
216
213
  }
217
- function br(e, t, n) {
214
+ function Cr(e, t, n) {
218
215
  var r, o;
219
- if (E.unmount && E.unmount(e), (r = e.ref) && (r.current && r.current != e.__e || un(r, null, t)), (r = e.__c) != null) {
216
+ if (S.unmount && S.unmount(e), (r = e.ref) && (r.current && r.current != e.__e || an(r, null, t)), (r = e.__c) != null) {
220
217
  if (r.componentWillUnmount) try {
221
218
  r.componentWillUnmount();
222
219
  } catch (i) {
223
- E.__e(i, t);
220
+ S.__e(i, t);
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] && br(r[o], t, n || typeof e.type != "function");
228
- n || cn(e.__e), e.__c = e.__ = e.__e = void 0;
224
+ if (r = e.__k) for (o = 0; o < r.length; o++) r[o] && Cr(r[o], t, n || typeof e.type != "function");
225
+ n || rn(e.__e), e.__c = e.__ = e.__e = void 0;
229
226
  }
230
- function To(e, t, n) {
227
+ function wo(e, t, n) {
231
228
  return this.constructor(e, n);
232
229
  }
233
230
  function se(e, t, n) {
234
231
  var r, o, i, a;
235
- t == document && (t = document.documentElement), E.__ && E.__(e, t), o = (r = typeof n == "function") ? null : n && n.__k || t.__k, i = [], a = [], ln(t, e = (!r && n || t).__k = L(G, null, [e]), o || Ge, Ge, t.namespaceURI, !r && n ? [n] : o ? null : t.firstChild ? Ze.call(t.childNodes) : null, i, !r && n ? n : o ? o.__e : t.firstChild, r, a), Sr(i, e, a);
232
+ t == document && (t = document.documentElement), S.__ && S.__(e, t), o = (r = typeof n == "function") ? null : n && n.__k || t.__k, i = [], a = [], on(t, e = (!r && n || t).__k = L(j, null, [e]), o || je, je, t.namespaceURI, !r && n ? [n] : o ? null : t.firstChild ? Ze.call(t.childNodes) : null, i, !r && n ? n : o ? o.__e : t.firstChild, r, a), yr(i, e, a);
236
233
  }
237
- function fn(e, t) {
238
- se(e, t, fn);
234
+ function sn(e, t) {
235
+ se(e, t, sn);
239
236
  }
240
- function dn(e, t, n) {
237
+ function cn(e, t, n) {
241
238
  var r, o, i, a, s = q({}, 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] : s[i] = t[i] == null && a != null ? a[i] : t[i];
243
240
  return arguments.length > 2 && (s.children = arguments.length > 3 ? Ze.call(arguments, 2) : n), Ue(e.type, s, r || e.key, o || e.ref, null);
244
241
  }
245
- function $r(e) {
242
+ function Sr(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 $r(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, Bt(a);
251
+ a.__e = !0, zt(a);
255
252
  });
256
253
  }, this.sub = function(i) {
257
254
  r.add(i);
@@ -261,27 +258,27 @@ function $r(e) {
261
258
  };
262
259
  }), n.children;
263
260
  }
264
- return t.__c = "__cC" + gr++, t.__ = e, t.Provider = t.__l = (t.Consumer = function(n, r) {
261
+ return t.__c = "__cC" + _r++, 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
- Ze = yr.slice, E = { __e: function(e, t, n, r) {
265
+ Ze = pr.slice, S = { __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 (s) {
272
269
  e = s;
273
270
  }
274
271
  throw e;
275
- } }, _r = 0, V.prototype.setState = function(e, t) {
272
+ } }, lr = 0, V.prototype.setState = function(e, t) {
276
273
  var n;
277
- n = this.__s != null && this.__s != this.state ? this.__s : this.__s = q({}, this.state), typeof e == "function" && (e = e(q({}, n), this.props)), e && q(n, e), e != null && this.__v && (t && this._sb.push(t), Bt(this));
274
+ n = this.__s != null && this.__s != this.state ? this.__s : this.__s = q({}, this.state), typeof e == "function" && (e = e(q({}, n), this.props)), e && q(n, e), e != null && this.__v && (t && this._sb.push(t), zt(this));
278
275
  }, V.prototype.forceUpdate = function(e) {
279
- this.__v && (this.__e = !0, e && this.__h.push(e), Bt(this));
280
- }, V.prototype.render = G, fe = [], hr = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, pr = function(e, t) {
276
+ this.__v && (this.__e = !0, e && this.__h.push(e), zt(this));
277
+ }, V.prototype.render = j, fe = [], ur = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, fr = function(e, t) {
281
278
  return e.__v.__b - t.__v.__b;
282
- }, _t.__r = 0, mr = /(PointerCapture)$|Capture$/i, sn = 0, zt = Tn(!1), Ut = Tn(!0), gr = 0;
283
- function _n() {
284
- return (_n = Object.assign ? Object.assign.bind() : function(e) {
279
+ }, dt.__r = 0, dr = /(PointerCapture)$|Capture$/i, nn = 0, Ft = $n(!1), Ht = $n(!0), _r = 0;
280
+ function ln() {
281
+ return (ln = 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 _n() {
289
286
  return e;
290
287
  }).apply(this, arguments);
291
288
  }
292
- var Io = ["context", "children"];
293
- function Ro(e) {
289
+ var bo = ["context", "children"];
290
+ function $o(e) {
294
291
  this.getChildContext = function() {
295
292
  return e.context;
296
293
  };
@@ -299,52 +296,52 @@ function Ro(e) {
299
296
  var i, a, s = {}, l = Object.keys(r);
300
297
  for (a = 0; a < l.length; a++) o.indexOf(i = l[a]) >= 0 || (s[i] = r[i]);
301
298
  return s;
302
- }(e, Io);
303
- return dn(t, n);
299
+ }(e, bo);
300
+ return cn(t, n);
304
301
  }
305
- function xo() {
302
+ function Oo() {
306
303
  var e = new CustomEvent("_preact", { detail: {}, bubbles: !0, cancelable: !0 });
307
- this.dispatchEvent(e), this._vdom = L(Ro, _n({}, this._props, { context: e.detail.context }), function t(n, r) {
304
+ this.dispatchEvent(e), this._vdom = L($o, ln({}, 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, s = n.attributes, l = n.childNodes;
311
- for (a = s.length; a--; ) s[a].name !== "slot" && (i[s[a].name] = s[a].value, i[Or(s[a].name)] = s[a].value);
308
+ for (a = s.length; a--; ) s[a].name !== "slot" && (i[s[a].name] = s[a].value, i[Er(s[a].name)] = s[a].value);
312
309
  for (a = l.length; a--; ) {
313
310
  var u = t(l[a], null), f = l[a].slot;
314
- f ? i[f] = L(In, { name: f }, u) : o[a] = u;
311
+ f ? i[f] = L(On, { name: f }, u) : o[a] = u;
315
312
  }
316
- var c = r ? L(In, null, o) : o;
313
+ var c = r ? L(On, null, o) : o;
317
314
  return L(r || n.nodeName.toLowerCase(), i, c);
318
- }(this, this._vdomComponent)), (this.hasAttribute("hydrate") ? fn : se)(this._vdom, this._root);
315
+ }(this, this._vdomComponent)), (this.hasAttribute("hydrate") ? sn : se)(this._vdom, this._root);
319
316
  }
320
- function Or(e) {
317
+ function Er(e) {
321
318
  return e.replace(/-(\w)/g, function(t, n) {
322
319
  return n ? n.toUpperCase() : "";
323
320
  });
324
321
  }
325
- function Ao(e, t, n) {
322
+ function ko(e, t, n) {
326
323
  if (this._vdom) {
327
324
  var r = {};
328
- r[e] = n = n ?? void 0, r[Or(e)] = n, this._vdom = dn(this._vdom, r), se(this._vdom, this._root);
325
+ r[e] = n = n ?? void 0, r[Er(e)] = n, this._vdom = cn(this._vdom, r), se(this._vdom, this._root);
329
326
  }
330
327
  }
331
- function Po() {
328
+ function No() {
332
329
  se(this._vdom = null, this._root);
333
330
  }
334
- function In(e, t) {
331
+ function On(e, t) {
335
332
  var n = this;
336
- return L("slot", _n({}, e, { ref: function(r) {
333
+ return L("slot", ln({}, 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 Lo(e, t, n, r) {
339
+ function To(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 = xo, o.prototype.attributeChangedCallback = Ao, o.prototype.disconnectedCallback = Po, 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 = Oo, o.prototype.attributeChangedCallback = ko, o.prototype.disconnectedCallback = No, 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,19 +351,19 @@ function Lo(e, t, n, r) {
354
351
  } });
355
352
  }), customElements.define(t, o);
356
353
  }
357
- var Do = 0;
358
- function h(e, t, n, r, o, i) {
354
+ var Io = 0;
355
+ function p(e, t, n, r, o, i) {
359
356
  t || (t = {});
360
357
  var a, s, l = t;
361
358
  if ("ref" in l) for (s in l = {}, t) s == "ref" ? a = t[s] : l[s] = t[s];
362
- var u = { type: e, props: l, key: n, ref: a, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --Do, __i: -1, __u: 0, __source: o, __self: i };
359
+ var u = { type: e, props: l, key: n, ref: a, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --Io, __i: -1, __u: 0, __source: o, __self: i };
363
360
  if (typeof e == "function" && (a = e.defaultProps)) for (s in a) l[s] === void 0 && (l[s] = a[s]);
364
- return E.vnode && E.vnode(u), u;
361
+ return S.vnode && S.vnode(u), u;
365
362
  }
366
- const Rn = {
363
+ const kn = {
367
364
  SWITCH_CAMERA: "switch-camera",
368
365
  TOGGLE_MIRROR: "toggle-mirror"
369
- }, je = {
366
+ }, Ge = {
370
367
  DETECTION_CHANGED: "multi-range-auto-capture:detection-changed",
371
368
  CAMERA_PROPS_CHANGED: "multi-range-auto-capture:camera-props-changed",
372
369
  CONTROL: "multi-range-auto-capture:control",
@@ -375,14 +372,14 @@ const Rn = {
375
372
  CHALLENGE_VALUE_CHANGED: "multi-range-auto-capture:challenge-value-changed",
376
373
  STATE_CHANGED: "multi-range-auto-capture:state-changed"
377
374
  }, F = {
378
- LOADING: "LOADING",
379
- ERROR: "ERROR",
380
- WAITING: "WAITING",
381
- RUNNING: "RUNNING",
382
- COMPLETE: "COMPLETE"
383
- }, xn = {
375
+ LOADING: "loading",
376
+ ERROR: "error",
377
+ WAITING: "waiting",
378
+ RUNNING: "running",
379
+ COMPLETE: "complete"
380
+ }, Nn = {
384
381
  EYE_NOT_PRESENT: "eye_not_present"
385
- }, D = {
382
+ }, M = {
386
383
  CANDIDATE_SELECTION: "candidate_selection",
387
384
  FACE_TOO_CLOSE: "face_too_close",
388
385
  FACE_TOO_FAR: "face_too_far",
@@ -392,17 +389,17 @@ const Rn = {
392
389
  BRIGHTNESS_TOO_LOW: "brightness_too_low",
393
390
  BRIGHTNESS_TOO_HIGH: "brightness_too_high",
394
391
  DEVICE_PITCHED: "device_pitched",
395
- LEFT_EYE_NOT_PRESENT: `left_${xn.EYE_NOT_PRESENT}`,
396
- RIGHT_EYE_NOT_PRESENT: `right_${xn.EYE_NOT_PRESENT}`,
392
+ LEFT_EYE_NOT_PRESENT: `left_${Nn.EYE_NOT_PRESENT}`,
393
+ RIGHT_EYE_NOT_PRESENT: `right_${Nn.EYE_NOT_PRESENT}`,
397
394
  MOUTH_NOT_PRESENT: "mouth_not_present",
398
395
  MOUTH_SCORE_TOO_HIGH: "mouth_score_too_high",
399
396
  MOUTH_SCORE_TOO_LOW: "mouth_score_too_low"
400
- }, ht = {
397
+ }, _t = {
401
398
  CANDIDATE_SELECTION: "candidate_selection",
402
399
  FACE_TOO_CLOSE: "face_too_close",
403
400
  FACE_TOO_FAR: "face_too_far",
404
401
  FACE_NOT_PRESENT: "face_not_present"
405
- }, Ee = {
402
+ }, Se = {
406
403
  ZERO: "ZERO",
407
404
  ONE: "ONE",
408
405
  TWO: "TWO",
@@ -410,18 +407,18 @@ const Rn = {
410
407
  FOUR: "FOUR",
411
408
  FIVE: "FIVE"
412
409
  };
413
- var ce, I, xt, An, $e = 0, kr = [], R = E, Pn = R.__b, Ln = R.__r, Dn = R.diffed, Mn = R.__c, Fn = R.unmount, Hn = R.__;
410
+ var ce, I, It, Tn, $e = 0, wr = [], R = S, In = R.__b, Rn = R.__r, xn = R.diffed, Pn = R.__c, An = R.unmount, Ln = R.__;
414
411
  function Ie(e, t) {
415
412
  R.__h && R.__h(I, e, $e || t), $e = 0;
416
413
  var n = I.__H || (I.__H = { __: [], __h: [] });
417
414
  return e >= n.__.length && n.__.push({}), n.__[e];
418
415
  }
419
416
  function H(e) {
420
- return $e = 1, hn(Ir, e);
417
+ return $e = 1, un(Or, e);
421
418
  }
422
- function hn(e, t, n) {
419
+ function un(e, t, n) {
423
420
  var r = Ie(ce++, 2);
424
- if (r.t = e, !r.__c && (r.__ = [n ? n(t) : Ir(void 0, t), function(s) {
421
+ if (r.t = e, !r.__c && (r.__ = [n ? n(t) : Or(void 0, t), function(s) {
425
422
  var l = r.__N ? r.__N[0] : r.__[0], u = r.t(l, s);
426
423
  l !== u && (r.__N = [u, r.__[1]], r.__c.setState({}));
427
424
  }], r.__c = I, !I.__f)) {
@@ -455,18 +452,18 @@ function hn(e, t, n) {
455
452
  }
456
453
  function K(e, t) {
457
454
  var n = Ie(ce++, 3);
458
- !R.__s && pn(n.__H, t) && (n.__ = e, n.u = t, I.__H.__h.push(n));
455
+ !R.__s && fn(n.__H, t) && (n.__ = e, n.u = t, I.__H.__h.push(n));
459
456
  }
460
457
  function Re(e, t) {
461
458
  var n = Ie(ce++, 4);
462
- !R.__s && pn(n.__H, t) && (n.__ = e, n.u = t, I.__h.push(n));
459
+ !R.__s && fn(n.__H, t) && (n.__ = e, n.u = t, I.__h.push(n));
463
460
  }
464
461
  function qe(e) {
465
462
  return $e = 5, ne(function() {
466
463
  return { current: e };
467
464
  }, []);
468
465
  }
469
- function Nr(e, t, n) {
466
+ function br(e, t, n) {
470
467
  $e = 6, Re(function() {
471
468
  if (typeof e == "function") {
472
469
  var r = e(t());
@@ -481,7 +478,7 @@ function Nr(e, t, n) {
481
478
  }
482
479
  function ne(e, t) {
483
480
  var n = Ie(ce++, 7);
484
- return pn(n.__H, t) && (n.__ = e(), n.__H = t, n.__h = e), n.__;
481
+ return fn(n.__H, t) && (n.__ = e(), n.__H = t, n.__h = e), n.__;
485
482
  }
486
483
  function ae(e, t) {
487
484
  return $e = 8, ne(function() {
@@ -495,7 +492,7 @@ function Xe(e) {
495
492
  function pt(e, t) {
496
493
  R.useDebugValue && R.useDebugValue(t ? t(e) : e);
497
494
  }
498
- function Tr() {
495
+ function $r() {
499
496
  var e = Ie(ce++, 11);
500
497
  if (!e.__) {
501
498
  for (var t = I.__v; t !== null && !t.__m && t.__ !== null; ) t = t.__;
@@ -504,121 +501,121 @@ function Tr() {
504
501
  }
505
502
  return e.__;
506
503
  }
507
- function Mo() {
508
- for (var e; e = kr.shift(); ) if (e.__P && e.__H) try {
509
- e.__H.__h.forEach(at), e.__H.__h.forEach(Wt), e.__H.__h = [];
504
+ function Ro() {
505
+ for (var e; e = wr.shift(); ) if (e.__P && e.__H) try {
506
+ e.__H.__h.forEach(it), e.__H.__h.forEach(Ut), e.__H.__h = [];
510
507
  } catch (t) {
511
508
  e.__H.__h = [], R.__e(t, e.__v);
512
509
  }
513
510
  }
514
511
  R.__b = function(e) {
515
- I = null, Pn && Pn(e);
512
+ I = null, In && In(e);
516
513
  }, R.__ = function(e, t) {
517
- e && t.__k && t.__k.__m && (e.__m = t.__k.__m), Hn && Hn(e, t);
514
+ e && t.__k && t.__k.__m && (e.__m = t.__k.__m), Ln && Ln(e, t);
518
515
  }, R.__r = function(e) {
519
- Ln && Ln(e), ce = 0;
516
+ Rn && Rn(e), ce = 0;
520
517
  var t = (I = e.__c).__H;
521
- t && (xt === I ? (t.__h = [], I.__h = [], t.__.forEach(function(n) {
518
+ t && (It === I ? (t.__h = [], I.__h = [], t.__.forEach(function(n) {
522
519
  n.__N && (n.__ = n.__N), n.u = n.__N = void 0;
523
- })) : (t.__h.forEach(at), t.__h.forEach(Wt), t.__h = [], ce = 0)), xt = I;
520
+ })) : (t.__h.forEach(it), t.__h.forEach(Ut), t.__h = [], ce = 0)), It = I;
524
521
  }, R.diffed = function(e) {
525
- Dn && Dn(e);
522
+ xn && xn(e);
526
523
  var t = e.__c;
527
- t && t.__H && (t.__H.__h.length && (kr.push(t) !== 1 && An === R.requestAnimationFrame || ((An = R.requestAnimationFrame) || Fo)(Mo)), t.__H.__.forEach(function(n) {
524
+ t && t.__H && (t.__H.__h.length && (wr.push(t) !== 1 && Tn === R.requestAnimationFrame || ((Tn = R.requestAnimationFrame) || xo)(Ro)), t.__H.__.forEach(function(n) {
528
525
  n.u && (n.__H = n.u), n.u = void 0;
529
- })), xt = I = null;
526
+ })), It = I = null;
530
527
  }, R.__c = function(e, t) {
531
528
  t.some(function(n) {
532
529
  try {
533
- n.__h.forEach(at), n.__h = n.__h.filter(function(r) {
534
- return !r.__ || Wt(r);
530
+ n.__h.forEach(it), n.__h = n.__h.filter(function(r) {
531
+ return !r.__ || Ut(r);
535
532
  });
536
533
  } catch (r) {
537
534
  t.some(function(o) {
538
535
  o.__h && (o.__h = []);
539
536
  }), t = [], R.__e(r, n.__v);
540
537
  }
541
- }), Mn && Mn(e, t);
538
+ }), Pn && Pn(e, t);
542
539
  }, R.unmount = function(e) {
543
- Fn && Fn(e);
540
+ An && An(e);
544
541
  var t, n = e.__c;
545
542
  n && n.__H && (n.__H.__.forEach(function(r) {
546
543
  try {
547
- at(r);
544
+ it(r);
548
545
  } catch (o) {
549
546
  t = o;
550
547
  }
551
548
  }), n.__H = void 0, t && R.__e(t, n.__v));
552
549
  };
553
- var zn = typeof requestAnimationFrame == "function";
554
- function Fo(e) {
550
+ var Mn = typeof requestAnimationFrame == "function";
551
+ function xo(e) {
555
552
  var t, n = function() {
556
- clearTimeout(r), zn && cancelAnimationFrame(t), setTimeout(e);
553
+ clearTimeout(r), Mn && cancelAnimationFrame(t), setTimeout(e);
557
554
  }, r = setTimeout(n, 100);
558
- zn && (t = requestAnimationFrame(n));
555
+ Mn && (t = requestAnimationFrame(n));
559
556
  }
560
- function at(e) {
557
+ function it(e) {
561
558
  var t = I, n = e.__c;
562
559
  typeof n == "function" && (e.__c = void 0, n()), I = t;
563
560
  }
564
- function Wt(e) {
561
+ function Ut(e) {
565
562
  var t = I;
566
563
  e.__c = e.__(), I = t;
567
564
  }
568
- function pn(e, t) {
565
+ function fn(e, t) {
569
566
  return !e || e.length !== t.length || t.some(function(n, r) {
570
567
  return n !== e[r];
571
568
  });
572
569
  }
573
- function Ir(e, t) {
570
+ function Or(e, t) {
574
571
  return typeof t == "function" ? t(e) : t;
575
572
  }
576
- var P = function() {
577
- return P = Object.assign || function(t) {
573
+ var A = function() {
574
+ return A = Object.assign || function(t) {
578
575
  for (var n, r = 1, o = arguments.length; r < o; r++) {
579
576
  n = arguments[r];
580
577
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]);
581
578
  }
582
579
  return t;
583
- }, P.apply(this, arguments);
580
+ }, A.apply(this, arguments);
584
581
  };
585
582
  function me(e, t, n) {
586
583
  if (n || arguments.length === 2) for (var r = 0, o = t.length, i; r < o; r++)
587
584
  (i || !(r in t)) && (i || (i = Array.prototype.slice.call(t, 0, r)), i[r] = t[r]);
588
585
  return e.concat(i || Array.prototype.slice.call(t));
589
586
  }
590
- function Ho(e) {
587
+ function Po(e) {
591
588
  var t = /* @__PURE__ */ Object.create(null);
592
589
  return function(n) {
593
590
  return t[n] === void 0 && (t[n] = e(n)), t[n];
594
591
  };
595
592
  }
596
- var zo = /^((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)-.*))$/, Uo = /* @__PURE__ */ Ho(
593
+ var Ao = /^((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)-.*))$/, Lo = /* @__PURE__ */ Po(
597
594
  function(e) {
598
- return zo.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
595
+ return Ao.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
599
596
  }
600
597
  /* Z+1 */
601
598
  );
602
- function Rr(e, t) {
599
+ function kr(e, t) {
603
600
  for (var n in t) e[n] = t[n];
604
601
  return e;
605
602
  }
606
- function Gt(e, t) {
603
+ function Bt(e, t) {
607
604
  for (var n in e) if (n !== "__source" && !(n in t)) return !0;
608
605
  for (var r in t) if (r !== "__source" && e[r] !== t[r]) return !0;
609
606
  return !1;
610
607
  }
611
- function xr(e, t) {
608
+ function Nr(e, t) {
612
609
  var n = t(), r = H({ t: { __: n, u: t } }), o = r[0].t, i = r[1];
613
610
  return Re(function() {
614
- o.__ = n, o.u = t, At(o) && i({ t: o });
611
+ o.__ = n, o.u = t, Rt(o) && i({ t: o });
615
612
  }, [e, n, t]), K(function() {
616
- return At(o) && i({ t: o }), e(function() {
617
- At(o) && i({ t: o });
613
+ return Rt(o) && i({ t: o }), e(function() {
614
+ Rt(o) && i({ t: o });
618
615
  });
619
616
  }, [e]), n;
620
617
  }
621
- function At(e) {
618
+ function Rt(e) {
622
619
  var t, n, r = e.u, o = e.__;
623
620
  try {
624
621
  var i = r();
@@ -627,80 +624,80 @@ function At(e) {
627
624
  return !0;
628
625
  }
629
626
  }
630
- function Ar(e) {
627
+ function Tr(e) {
631
628
  e();
632
629
  }
633
- function Pr(e) {
630
+ function Ir(e) {
634
631
  return e;
635
632
  }
636
- function Lr() {
637
- return [!1, Ar];
633
+ function Rr() {
634
+ return [!1, Tr];
638
635
  }
639
- var Dr = Re;
640
- function jt(e, t) {
636
+ var xr = Re;
637
+ function Wt(e, t) {
641
638
  this.props = e, this.context = t;
642
639
  }
643
- function Bo(e, t) {
640
+ function Mo(e, t) {
644
641
  function n(o) {
645
642
  var i = this.props.ref, a = i == o.ref;
646
- return !a && i && (i.call ? i(null) : i.current = null), t ? !t(this.props, o) || !a : Gt(this.props, o);
643
+ return !a && i && (i.call ? i(null) : i.current = null), t ? !t(this.props, o) || !a : Bt(this.props, o);
647
644
  }
648
645
  function r(o) {
649
646
  return this.shouldComponentUpdate = n, L(e, o);
650
647
  }
651
648
  return r.displayName = "Memo(" + (e.displayName || e.name) + ")", r.prototype.isReactComponent = !0, r.__f = !0, r;
652
649
  }
653
- (jt.prototype = new V()).isPureReactComponent = !0, jt.prototype.shouldComponentUpdate = function(e, t) {
654
- return Gt(this.props, e) || Gt(this.state, t);
650
+ (Wt.prototype = new V()).isPureReactComponent = !0, Wt.prototype.shouldComponentUpdate = function(e, t) {
651
+ return Bt(this.props, e) || Bt(this.state, t);
655
652
  };
656
- var Un = E.__b;
657
- E.__b = function(e) {
658
- e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), Un && Un(e);
653
+ var Dn = S.__b;
654
+ S.__b = function(e) {
655
+ e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), Dn && Dn(e);
659
656
  };
660
- var Wo = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
661
- function Go(e) {
657
+ var Do = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
658
+ function Fo(e) {
662
659
  function t(n) {
663
- var r = Rr({}, n);
660
+ var r = kr({}, n);
664
661
  return delete r.ref, e(r, n.ref || null);
665
662
  }
666
- return t.$$typeof = Wo, t.render = t, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", t;
663
+ return t.$$typeof = Do, t.render = t, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", t;
667
664
  }
668
- var Bn = function(e, t) {
665
+ var Fn = function(e, t) {
669
666
  return e == null ? null : te(te(e).map(t));
670
- }, jo = { map: Bn, forEach: Bn, count: function(e) {
667
+ }, Ho = { map: Fn, forEach: Fn, count: function(e) {
671
668
  return e ? te(e).length : 0;
672
669
  }, only: function(e) {
673
670
  var t = te(e);
674
671
  if (t.length !== 1) throw "Children.only";
675
672
  return t[0];
676
- }, toArray: te }, Vo = E.__e;
677
- E.__e = function(e, t, n, r) {
673
+ }, toArray: te }, zo = S.__e;
674
+ S.__e = function(e, t, n, r) {
678
675
  if (e.then) {
679
676
  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);
680
677
  }
681
- Vo(e, t, n, r);
678
+ zo(e, t, n, r);
682
679
  };
683
- var Wn = E.unmount;
684
- function Mr(e, t, n) {
680
+ var Hn = S.unmount;
681
+ function Pr(e, t, n) {
685
682
  return e && (e.__c && e.__c.__H && (e.__c.__H.__.forEach(function(r) {
686
683
  typeof r.__c == "function" && r.__c();
687
- }), 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) {
688
- return Mr(r, t, n);
684
+ }), e.__c.__H = null), (e = kr({}, 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) {
685
+ return Pr(r, t, n);
689
686
  })), e;
690
687
  }
691
- function Fr(e, t, n) {
688
+ function Ar(e, t, n) {
692
689
  return e && n && (e.__v = null, e.__k = e.__k && e.__k.map(function(r) {
693
- return Fr(r, t, n);
690
+ return Ar(r, t, n);
694
691
  }), e.__c && e.__c.__P === t && (e.__e && n.appendChild(e.__e), e.__c.__e = !0, e.__c.__P = n)), e;
695
692
  }
696
- function st() {
693
+ function at() {
697
694
  this.__u = 0, this.o = null, this.__b = null;
698
695
  }
699
- function Hr(e) {
696
+ function Lr(e) {
700
697
  var t = e.__.__c;
701
698
  return t && t.__a && t.__a(e);
702
699
  }
703
- function Zo(e) {
700
+ function Uo(e) {
704
701
  var t, n, r;
705
702
  function o(i) {
706
703
  if (t || (t = e()).then(function(a) {
@@ -716,13 +713,13 @@ function Zo(e) {
716
713
  function Fe() {
717
714
  this.i = null, this.l = null;
718
715
  }
719
- E.unmount = function(e) {
716
+ S.unmount = function(e) {
720
717
  var t = e.__c;
721
- t && t.__R && t.__R(), t && 32 & e.__u && (e.type = null), Wn && Wn(e);
722
- }, (st.prototype = new V()).__c = function(e, t) {
718
+ t && t.__R && t.__R(), t && 32 & e.__u && (e.type = null), Hn && Hn(e);
719
+ }, (at.prototype = new V()).__c = function(e, t) {
723
720
  var n = t.__c, r = this;
724
721
  r.o == null && (r.o = []), r.o.push(n);
725
- var o = Hr(r.__v), i = !1, a = function() {
722
+ var o = Lr(r.__v), i = !1, a = function() {
726
723
  i || (i = !0, n.__R = null, o ? o(s) : s());
727
724
  };
728
725
  n.__R = a;
@@ -730,39 +727,39 @@ E.unmount = function(e) {
730
727
  if (!--r.__u) {
731
728
  if (r.state.__a) {
732
729
  var l = r.state.__a;
733
- r.__v.__k[0] = Fr(l, l.__c.__P, l.__c.__O);
730
+ r.__v.__k[0] = Ar(l, l.__c.__P, l.__c.__O);
734
731
  }
735
732
  var u;
736
733
  for (r.setState({ __a: r.__b = null }); u = r.o.pop(); ) u.forceUpdate();
737
734
  }
738
735
  };
739
736
  r.__u++ || 32 & t.__u || r.setState({ __a: r.__b = r.__v.__k[0] }), e.then(a, a);
740
- }, st.prototype.componentWillUnmount = function() {
737
+ }, at.prototype.componentWillUnmount = function() {
741
738
  this.o = [];
742
- }, st.prototype.render = function(e, t) {
739
+ }, at.prototype.render = function(e, t) {
743
740
  if (this.__b) {
744
741
  if (this.__v.__k) {
745
742
  var n = document.createElement("div"), r = this.__v.__k[0].__c;
746
- this.__v.__k[0] = Mr(this.__b, n, r.__O = r.__P);
743
+ this.__v.__k[0] = Pr(this.__b, n, r.__O = r.__P);
747
744
  }
748
745
  this.__b = null;
749
746
  }
750
- var o = t.__a && L(G, null, e.fallback);
751
- return o && (o.__u &= -33), [L(G, null, t.__a ? null : e.children), o];
747
+ var o = t.__a && L(j, null, e.fallback);
748
+ return o && (o.__u &= -33), [L(j, null, t.__a ? null : e.children), o];
752
749
  };
753
- var Gn = function(e, t, n) {
750
+ var zn = function(e, t, n) {
754
751
  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; ) {
755
752
  for (; n.length > 3; ) n.pop()();
756
753
  if (n[1] < n[0]) break;
757
754
  e.i = n = n[2];
758
755
  }
759
756
  };
760
- function Yo(e) {
757
+ function Bo(e) {
761
758
  return this.getChildContext = function() {
762
759
  return e.context;
763
760
  }, e.children;
764
761
  }
765
- function qo(e) {
762
+ function Wo(e) {
766
763
  var t = this, n = e.h;
767
764
  if (t.componentWillUnmount = function() {
768
765
  se(null, t.v), t.v = null, t.h = null;
@@ -778,17 +775,17 @@ function qo(e) {
778
775
  this.childNodes.splice(this.childNodes.indexOf(o) >>> 1, 1), t.h.removeChild(o);
779
776
  } };
780
777
  }
781
- se(L(Yo, { context: t.context }, e.__v), t.v);
778
+ se(L(Bo, { context: t.context }, e.__v), t.v);
782
779
  }
783
- function Xo(e, t) {
784
- var n = L(qo, { __v: e, h: t });
780
+ function jo(e, t) {
781
+ var n = L(Wo, { __v: e, h: t });
785
782
  return n.containerInfo = t, n;
786
783
  }
787
784
  (Fe.prototype = new V()).__a = function(e) {
788
- var t = this, n = Hr(t.__v), r = t.l.get(e);
785
+ var t = this, n = Lr(t.__v), r = t.l.get(e);
789
786
  return r[0]++, function(o) {
790
787
  var i = function() {
791
- t.props.revealOrder ? (r.push(o), Gn(t, e, r)) : o();
788
+ t.props.revealOrder ? (r.push(o), zn(t, e, r)) : o();
792
789
  };
793
790
  n ? n(i) : i();
794
791
  };
@@ -801,17 +798,17 @@ function Xo(e, t) {
801
798
  }, Fe.prototype.componentDidUpdate = Fe.prototype.componentDidMount = function() {
802
799
  var e = this;
803
800
  this.l.forEach(function(t, n) {
804
- Gn(e, n, t);
801
+ zn(e, n, t);
805
802
  });
806
803
  };
807
- 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) {
804
+ var Mr = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, Go = /^(?: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]/, Vo = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, Zo = /[A-Z0-9]/g, Yo = typeof document < "u", qo = function(e) {
808
805
  return (typeof Symbol < "u" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(e);
809
806
  };
810
- function ni(e, t, n) {
807
+ function Xo(e, t, n) {
811
808
  return t.__k == null && (t.textContent = ""), se(e, t), typeof n == "function" && n(), e ? e.__c : null;
812
809
  }
813
- function ri(e, t, n) {
814
- return fn(e, t), typeof n == "function" && n(), e ? e.__c : null;
810
+ function Ko(e, t, n) {
811
+ return sn(e, t), typeof n == "function" && n(), e ? e.__c : null;
815
812
  }
816
813
  V.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(e) {
817
814
  Object.defineProperty(V.prototype, e, { configurable: !0, get: function() {
@@ -820,83 +817,83 @@ V.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveP
820
817
  Object.defineProperty(this, e, { configurable: !0, writable: !0, value: t });
821
818
  } });
822
819
  });
823
- var jn = E.event;
824
- function oi() {
820
+ var Un = S.event;
821
+ function Jo() {
825
822
  }
826
- function ii() {
823
+ function Qo() {
827
824
  return this.cancelBubble;
828
825
  }
829
- function ai() {
826
+ function ei() {
830
827
  return this.defaultPrevented;
831
828
  }
832
- E.event = function(e) {
833
- return jn && (e = jn(e)), e.persist = oi, e.isPropagationStopped = ii, e.isDefaultPrevented = ai, e.nativeEvent = e;
829
+ S.event = function(e) {
830
+ return Un && (e = Un(e)), e.persist = Jo, e.isPropagationStopped = Qo, e.isDefaultPrevented = ei, e.nativeEvent = e;
834
831
  };
835
- var mn, si = { enumerable: !1, configurable: !0, get: function() {
832
+ var dn, ti = { enumerable: !1, configurable: !0, get: function() {
836
833
  return this.class;
837
- } }, Vn = E.vnode;
838
- E.vnode = function(e) {
834
+ } }, Bn = S.vnode;
835
+ S.vnode = function(e) {
839
836
  typeof e.type == "string" && function(t) {
840
837
  var n = t.props, r = t.type, o = {}, i = r.indexOf("-") === -1;
841
838
  for (var a in n) {
842
839
  var s = n[a];
843
- if (!(a === "value" && "defaultValue" in n && s == null || ei && a === "children" && r === "noscript" || a === "class" || a === "className")) {
840
+ if (!(a === "value" && "defaultValue" in n && s == null || Yo && a === "children" && r === "noscript" || a === "class" || a === "className")) {
844
841
  var l = a.toLowerCase();
845
- a === "defaultValue" && "value" in n && n.value == null ? a = "value" : a === "download" && s === !0 ? s = "" : l === "translate" && s === "no" ? s = !1 : l[0] === "o" && l[1] === "n" ? l === "ondoubleclick" ? a = "ondblclick" : l !== "onchange" || r !== "input" && r !== "textarea" || ti(n.type) ? l === "onfocus" ? a = "onfocusin" : l === "onblur" ? a = "onfocusout" : Jo.test(a) && (a = l) : l = a = "oninput" : i && Ko.test(a) ? a = a.replace(Qo, "-$&").toLowerCase() : s === null && (s = void 0), l === "oninput" && o[a = l] && (a = "oninputCapture"), o[a] = s;
842
+ a === "defaultValue" && "value" in n && n.value == null ? a = "value" : a === "download" && s === !0 ? s = "" : l === "translate" && s === "no" ? s = !1 : l[0] === "o" && l[1] === "n" ? l === "ondoubleclick" ? a = "ondblclick" : l !== "onchange" || r !== "input" && r !== "textarea" || qo(n.type) ? l === "onfocus" ? a = "onfocusin" : l === "onblur" ? a = "onfocusout" : Vo.test(a) && (a = l) : l = a = "oninput" : i && Go.test(a) ? a = a.replace(Zo, "-$&").toLowerCase() : s === null && (s = void 0), l === "oninput" && o[a = l] && (a = "oninputCapture"), o[a] = s;
846
843
  }
847
844
  }
848
845
  r == "select" && o.multiple && Array.isArray(o.value) && (o.value = te(n.children).forEach(function(u) {
849
846
  u.props.selected = o.value.indexOf(u.props.value) != -1;
850
847
  })), r == "select" && o.defaultValue != null && (o.value = te(n.children).forEach(function(u) {
851
848
  u.props.selected = o.multiple ? o.defaultValue.indexOf(u.props.value) != -1 : o.defaultValue == u.props.value;
852
- })), 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;
853
- }(e), e.$$typeof = zr, Vn && Vn(e);
849
+ })), n.class && !n.className ? (o.class = n.class, Object.defineProperty(o, "className", ti)) : (n.className && !n.class || n.class && n.className) && (o.class = o.className = n.className), t.props = o;
850
+ }(e), e.$$typeof = Mr, Bn && Bn(e);
854
851
  };
855
- var Zn = E.__r;
856
- E.__r = function(e) {
857
- Zn && Zn(e), mn = e.__c;
852
+ var Wn = S.__r;
853
+ S.__r = function(e) {
854
+ Wn && Wn(e), dn = e.__c;
858
855
  };
859
- var Yn = E.diffed;
860
- E.diffed = function(e) {
861
- Yn && Yn(e);
856
+ var jn = S.diffed;
857
+ S.diffed = function(e) {
858
+ jn && jn(e);
862
859
  var t = e.props, n = e.__e;
863
- n != null && e.type === "textarea" && "value" in t && t.value !== n.value && (n.value = t.value == null ? "" : t.value), mn = null;
860
+ n != null && e.type === "textarea" && "value" in t && t.value !== n.value && (n.value = t.value == null ? "" : t.value), dn = null;
864
861
  };
865
- var ci = { ReactCurrentDispatcher: { current: { readContext: function(e) {
866
- return mn.__n[e.__c].props.value;
867
- }, useCallback: ae, useContext: Xe, useDebugValue: pt, useDeferredValue: Pr, useEffect: K, useId: Tr, useImperativeHandle: Nr, useInsertionEffect: Dr, useLayoutEffect: Re, useMemo: ne, useReducer: hn, useRef: qe, useState: H, useSyncExternalStore: xr, useTransition: Lr } } };
868
- function li(e) {
862
+ var ni = { ReactCurrentDispatcher: { current: { readContext: function(e) {
863
+ return dn.__n[e.__c].props.value;
864
+ }, useCallback: ae, useContext: Xe, useDebugValue: pt, useDeferredValue: Ir, useEffect: K, useId: $r, useImperativeHandle: br, useInsertionEffect: xr, useLayoutEffect: Re, useMemo: ne, useReducer: un, useRef: qe, useState: H, useSyncExternalStore: Nr, useTransition: Rr } } };
865
+ function ri(e) {
869
866
  return L.bind(null, e);
870
867
  }
871
- function Ct(e) {
872
- return !!e && e.$$typeof === zr;
868
+ function yt(e) {
869
+ return !!e && e.$$typeof === Mr;
873
870
  }
874
- function ui(e) {
875
- return Ct(e) && e.type === G;
871
+ function oi(e) {
872
+ return yt(e) && e.type === j;
876
873
  }
877
- function fi(e) {
874
+ function ii(e) {
878
875
  return !!e && !!e.displayName && (typeof e.displayName == "string" || e.displayName instanceof String) && e.displayName.startsWith("Memo(");
879
876
  }
880
- function di(e) {
881
- return Ct(e) ? dn.apply(null, arguments) : e;
877
+ function ai(e) {
878
+ return yt(e) ? cn.apply(null, arguments) : e;
882
879
  }
883
- function _i(e) {
880
+ function si(e) {
884
881
  return !!e.__k && (se(null, e), !0);
885
882
  }
886
- function hi(e) {
883
+ function ci(e) {
887
884
  return e && (e.base || e.nodeType === 1 && e) || null;
888
885
  }
889
- var pi = function(e, t) {
886
+ var li = function(e, t) {
890
887
  return e(t);
891
- }, mi = function(e, t) {
888
+ }, ui = function(e, t) {
892
889
  return e(t);
893
- }, gi = G, yi = Ct, re = { useState: H, useId: Tr, useReducer: hn, useEffect: K, useLayoutEffect: Re, useInsertionEffect: Dr, useTransition: Lr, useDeferredValue: Pr, useSyncExternalStore: xr, startTransition: Ar, useRef: qe, useImperativeHandle: Nr, useMemo: ne, useCallback: ae, useContext: Xe, useDebugValue: pt, version: "18.3.1", Children: jo, render: ni, hydrate: ri, unmountComponentAtNode: _i, createPortal: Xo, createElement: L, createContext: $r, createFactory: li, cloneElement: di, createRef: $o, Fragment: G, isValidElement: Ct, isElement: yi, isFragment: ui, isMemo: fi, findDOMNode: hi, Component: V, PureComponent: jt, memo: Bo, forwardRef: Go, flushSync: mi, unstable_batchedUpdates: pi, StrictMode: gi, Suspense: st, SuspenseList: Fe, lazy: Zo, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: ci };
894
- function vi(e) {
890
+ }, fi = j, di = yt, re = { useState: H, useId: $r, useReducer: un, useEffect: K, useLayoutEffect: Re, useInsertionEffect: xr, useTransition: Rr, useDeferredValue: Ir, useSyncExternalStore: Nr, startTransition: Tr, useRef: qe, useImperativeHandle: br, useMemo: ne, useCallback: ae, useContext: Xe, useDebugValue: pt, version: "18.3.1", Children: Ho, render: Xo, hydrate: Ko, unmountComponentAtNode: si, createPortal: jo, createElement: L, createContext: Sr, createFactory: ri, cloneElement: ai, createRef: vo, Fragment: j, isValidElement: yt, isElement: di, isFragment: oi, isMemo: ii, findDOMNode: ci, Component: V, PureComponent: Wt, memo: Mo, forwardRef: Fo, flushSync: ui, unstable_batchedUpdates: li, StrictMode: fi, Suspense: at, SuspenseList: Fe, lazy: Uo, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: ni };
891
+ function _i(e) {
895
892
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
896
893
  }
897
- var Pt, qn;
898
- function Ci() {
899
- return qn || (qn = 1, Pt = function(t, n, r, o) {
894
+ var xt, Gn;
895
+ function pi() {
896
+ return Gn || (Gn = 1, xt = function(t, n, r, o) {
900
897
  var i = r ? r.call(o, t, n) : void 0;
901
898
  if (i !== void 0)
902
899
  return !!i;
@@ -916,27 +913,27 @@ function Ci() {
916
913
  return !1;
917
914
  }
918
915
  return !0;
919
- }), Pt;
916
+ }), xt;
920
917
  }
921
- var Ei = Ci();
922
- const Si = /* @__PURE__ */ vi(Ei);
923
- var T = "-ms-", Be = "-moz-", k = "-webkit-", Ur = "comm", Et = "rule", gn = "decl", wi = "@import", Br = "@keyframes", bi = "@layer", Wr = Math.abs, yn = String.fromCharCode, Vt = Object.assign;
924
- function $i(e, t) {
925
- return A(e, 0) ^ 45 ? (((t << 2 ^ A(e, 0)) << 2 ^ A(e, 1)) << 2 ^ A(e, 2)) << 2 ^ A(e, 3) : 0;
918
+ var hi = pi();
919
+ const mi = /* @__PURE__ */ _i(hi);
920
+ var T = "-ms-", Be = "-moz-", k = "-webkit-", Dr = "comm", vt = "rule", _n = "decl", gi = "@import", Fr = "@keyframes", yi = "@layer", Hr = Math.abs, pn = String.fromCharCode, jt = Object.assign;
921
+ function vi(e, t) {
922
+ return P(e, 0) ^ 45 ? (((t << 2 ^ P(e, 0)) << 2 ^ P(e, 1)) << 2 ^ P(e, 2)) << 2 ^ P(e, 3) : 0;
926
923
  }
927
- function Gr(e) {
924
+ function zr(e) {
928
925
  return e.trim();
929
926
  }
930
927
  function Q(e, t) {
931
928
  return (e = t.exec(e)) ? e[0] : e;
932
929
  }
933
- function S(e, t, n) {
930
+ function E(e, t, n) {
934
931
  return e.replace(t, n);
935
932
  }
936
- function ct(e, t, n) {
933
+ function st(e, t, n) {
937
934
  return e.indexOf(t, n);
938
935
  }
939
- function A(e, t) {
936
+ function P(e, t) {
940
937
  return e.charCodeAt(t) | 0;
941
938
  }
942
939
  function Oe(e, t, n) {
@@ -945,51 +942,51 @@ function Oe(e, t, n) {
945
942
  function Y(e) {
946
943
  return e.length;
947
944
  }
948
- function jr(e) {
945
+ function Ur(e) {
949
946
  return e.length;
950
947
  }
951
948
  function He(e, t) {
952
949
  return t.push(e), e;
953
950
  }
954
- function Oi(e, t) {
951
+ function Ci(e, t) {
955
952
  return e.map(t).join("");
956
953
  }
957
- function Xn(e, t) {
954
+ function Vn(e, t) {
958
955
  return e.filter(function(n) {
959
956
  return !Q(n, t);
960
957
  });
961
958
  }
962
- var St = 1, ke = 1, Vr = 0, j = 0, x = 0, xe = "";
963
- function wt(e, t, n, r, o, i, a, s) {
964
- return { value: e, root: t, parent: n, type: r, props: o, children: i, line: St, column: ke, length: a, return: "", siblings: s };
959
+ var Ct = 1, ke = 1, Br = 0, G = 0, x = 0, xe = "";
960
+ function St(e, t, n, r, o, i, a, s) {
961
+ return { value: e, root: t, parent: n, type: r, props: o, children: i, line: Ct, column: ke, length: a, return: "", siblings: s };
965
962
  }
966
963
  function ie(e, t) {
967
- return Vt(wt("", null, null, "", null, null, 0, e.siblings), e, { length: -e.length }, t);
964
+ return jt(St("", null, null, "", null, null, 0, e.siblings), e, { length: -e.length }, t);
968
965
  }
969
- function Se(e) {
966
+ function Ee(e) {
970
967
  for (; e.root; )
971
968
  e = ie(e.root, { children: [e] });
972
969
  He(e, e.siblings);
973
970
  }
974
- function ki() {
971
+ function Si() {
975
972
  return x;
976
973
  }
977
- function Ni() {
978
- return x = j > 0 ? A(xe, --j) : 0, ke--, x === 10 && (ke = 1, St--), x;
974
+ function Ei() {
975
+ return x = G > 0 ? P(xe, --G) : 0, ke--, x === 10 && (ke = 1, Ct--), x;
979
976
  }
980
977
  function Z() {
981
- return x = j < Vr ? A(xe, j++) : 0, ke++, x === 10 && (ke = 1, St++), x;
978
+ return x = G < Br ? P(xe, G++) : 0, ke++, x === 10 && (ke = 1, Ct++), x;
982
979
  }
983
- function he() {
984
- return A(xe, j);
980
+ function pe() {
981
+ return P(xe, G);
985
982
  }
986
- function lt() {
987
- return j;
983
+ function ct() {
984
+ return G;
988
985
  }
989
- function bt(e, t) {
986
+ function Et(e, t) {
990
987
  return Oe(xe, e, t);
991
988
  }
992
- function Zt(e) {
989
+ function Gt(e) {
993
990
  switch (e) {
994
991
  // \0 \t \n \r \s whitespace token
995
992
  case 0:
@@ -1027,93 +1024,93 @@ function Zt(e) {
1027
1024
  }
1028
1025
  return 0;
1029
1026
  }
1030
- function Ti(e) {
1031
- return St = ke = 1, Vr = Y(xe = e), j = 0, [];
1027
+ function wi(e) {
1028
+ return Ct = ke = 1, Br = Y(xe = e), G = 0, [];
1032
1029
  }
1033
- function Ii(e) {
1030
+ function bi(e) {
1034
1031
  return xe = "", e;
1035
1032
  }
1036
- function Lt(e) {
1037
- return Gr(bt(j - 1, Yt(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
1033
+ function Pt(e) {
1034
+ return zr(Et(G - 1, Vt(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
1038
1035
  }
1039
- function Ri(e) {
1040
- for (; (x = he()) && x < 33; )
1036
+ function $i(e) {
1037
+ for (; (x = pe()) && x < 33; )
1041
1038
  Z();
1042
- return Zt(e) > 2 || Zt(x) > 3 ? "" : " ";
1039
+ return Gt(e) > 2 || Gt(x) > 3 ? "" : " ";
1043
1040
  }
1044
- function xi(e, t) {
1041
+ function Oi(e, t) {
1045
1042
  for (; --t && Z() && !(x < 48 || x > 102 || x > 57 && x < 65 || x > 70 && x < 97); )
1046
1043
  ;
1047
- return bt(e, lt() + (t < 6 && he() == 32 && Z() == 32));
1044
+ return Et(e, ct() + (t < 6 && pe() == 32 && Z() == 32));
1048
1045
  }
1049
- function Yt(e) {
1046
+ function Vt(e) {
1050
1047
  for (; Z(); )
1051
1048
  switch (x) {
1052
1049
  // ] ) " '
1053
1050
  case e:
1054
- return j;
1051
+ return G;
1055
1052
  // " '
1056
1053
  case 34:
1057
1054
  case 39:
1058
- e !== 34 && e !== 39 && Yt(x);
1055
+ e !== 34 && e !== 39 && Vt(x);
1059
1056
  break;
1060
1057
  // (
1061
1058
  case 40:
1062
- e === 41 && Yt(e);
1059
+ e === 41 && Vt(e);
1063
1060
  break;
1064
1061
  // \
1065
1062
  case 92:
1066
1063
  Z();
1067
1064
  break;
1068
1065
  }
1069
- return j;
1066
+ return G;
1070
1067
  }
1071
- function Ai(e, t) {
1068
+ function ki(e, t) {
1072
1069
  for (; Z() && e + x !== 57; )
1073
- if (e + x === 84 && he() === 47)
1070
+ if (e + x === 84 && pe() === 47)
1074
1071
  break;
1075
- return "/*" + bt(t, j - 1) + "*" + yn(e === 47 ? e : Z());
1072
+ return "/*" + Et(t, G - 1) + "*" + pn(e === 47 ? e : Z());
1076
1073
  }
1077
- function Pi(e) {
1078
- for (; !Zt(he()); )
1074
+ function Ni(e) {
1075
+ for (; !Gt(pe()); )
1079
1076
  Z();
1080
- return bt(e, j);
1077
+ return Et(e, G);
1081
1078
  }
1082
- function Li(e) {
1083
- return Ii(ut("", null, null, null, [""], e = Ti(e), 0, [0], e));
1079
+ function Ti(e) {
1080
+ return bi(lt("", null, null, null, [""], e = wi(e), 0, [0], e));
1084
1081
  }
1085
- function ut(e, t, n, r, o, i, a, s, l) {
1086
- for (var u = 0, f = 0, c = a, _ = 0, d = 0, g = 0, y = 1, v = 1, m = 1, p = 0, O = "", b = o, N = i, w = r, C = O; v; )
1087
- switch (g = p, p = Z()) {
1082
+ function lt(e, t, n, r, o, i, a, s, l) {
1083
+ for (var u = 0, f = 0, c = a, _ = 0, d = 0, g = 0, y = 1, v = 1, m = 1, h = 0, O = "", b = o, N = i, w = r, C = O; v; )
1084
+ switch (g = h, h = Z()) {
1088
1085
  // (
1089
1086
  case 40:
1090
- if (g != 108 && A(C, c - 1) == 58) {
1091
- ct(C += S(Lt(p), "&", "&\f"), "&\f", Wr(u ? s[u - 1] : 0)) != -1 && (m = -1);
1087
+ if (g != 108 && P(C, c - 1) == 58) {
1088
+ st(C += E(Pt(h), "&", "&\f"), "&\f", Hr(u ? s[u - 1] : 0)) != -1 && (m = -1);
1092
1089
  break;
1093
1090
  }
1094
1091
  // " ' [
1095
1092
  case 34:
1096
1093
  case 39:
1097
1094
  case 91:
1098
- C += Lt(p);
1095
+ C += Pt(h);
1099
1096
  break;
1100
1097
  // \t \n \r \s
1101
1098
  case 9:
1102
1099
  case 10:
1103
1100
  case 13:
1104
1101
  case 32:
1105
- C += Ri(g);
1102
+ C += $i(g);
1106
1103
  break;
1107
1104
  // \
1108
1105
  case 92:
1109
- C += xi(lt() - 1, 7);
1106
+ C += Oi(ct() - 1, 7);
1110
1107
  continue;
1111
1108
  // /
1112
1109
  case 47:
1113
- switch (he()) {
1110
+ switch (pe()) {
1114
1111
  case 42:
1115
1112
  case 47:
1116
- He(Di(Ai(Z(), lt()), t, n, l), l);
1113
+ He(Ii(ki(Z(), ct()), t, n, l), l);
1117
1114
  break;
1118
1115
  default:
1119
1116
  C += "/";
@@ -1126,34 +1123,34 @@ function ut(e, t, n, r, o, i, a, s, l) {
1126
1123
  case 125 * y:
1127
1124
  case 59:
1128
1125
  case 0:
1129
- switch (p) {
1126
+ switch (h) {
1130
1127
  // \0 }
1131
1128
  case 0:
1132
1129
  case 125:
1133
1130
  v = 0;
1134
1131
  // ;
1135
1132
  case 59 + f:
1136
- m == -1 && (C = S(C, /\f/g, "")), d > 0 && Y(C) - c && He(d > 32 ? Jn(C + ";", r, n, c - 1, l) : Jn(S(C, " ", "") + ";", r, n, c - 2, l), l);
1133
+ m == -1 && (C = E(C, /\f/g, "")), d > 0 && Y(C) - c && He(d > 32 ? Yn(C + ";", r, n, c - 1, l) : Yn(E(C, " ", "") + ";", r, n, c - 2, l), l);
1137
1134
  break;
1138
1135
  // @ ;
1139
1136
  case 59:
1140
1137
  C += ";";
1141
1138
  // { rule/at-rule
1142
1139
  default:
1143
- if (He(w = Kn(C, t, n, u, f, o, s, O, b = [], N = [], c, i), i), p === 123)
1140
+ if (He(w = Zn(C, t, n, u, f, o, s, O, b = [], N = [], c, i), i), h === 123)
1144
1141
  if (f === 0)
1145
- ut(C, t, w, w, b, i, c, s, N);
1142
+ lt(C, t, w, w, b, i, c, s, N);
1146
1143
  else
1147
- switch (_ === 99 && A(C, 3) === 110 ? 100 : _) {
1144
+ switch (_ === 99 && P(C, 3) === 110 ? 100 : _) {
1148
1145
  // d l m s
1149
1146
  case 100:
1150
1147
  case 108:
1151
1148
  case 109:
1152
1149
  case 115:
1153
- ut(e, w, w, r && He(Kn(e, w, w, 0, 0, o, s, O, o, b = [], c, N), N), o, N, c, s, r ? b : N);
1150
+ lt(e, w, w, r && He(Zn(e, w, w, 0, 0, o, s, O, o, b = [], c, N), N), o, N, c, s, r ? b : N);
1154
1151
  break;
1155
1152
  default:
1156
- ut(C, w, w, w, [""], N, 0, s, N);
1153
+ lt(C, w, w, w, [""], N, 0, s, N);
1157
1154
  }
1158
1155
  }
1159
1156
  u = f = d = 0, y = m = 1, O = C = "", c = a;
@@ -1163,12 +1160,12 @@ function ut(e, t, n, r, o, i, a, s, l) {
1163
1160
  c = 1 + Y(C), d = g;
1164
1161
  default:
1165
1162
  if (y < 1) {
1166
- if (p == 123)
1163
+ if (h == 123)
1167
1164
  --y;
1168
- else if (p == 125 && y++ == 0 && Ni() == 125)
1165
+ else if (h == 125 && y++ == 0 && Ei() == 125)
1169
1166
  continue;
1170
1167
  }
1171
- switch (C += yn(p), p * y) {
1168
+ switch (C += pn(h), h * y) {
1172
1169
  // &
1173
1170
  case 38:
1174
1171
  m = f > 0 ? 1 : (C += "\f", -1);
@@ -1179,7 +1176,7 @@ function ut(e, t, n, r, o, i, a, s, l) {
1179
1176
  break;
1180
1177
  // @
1181
1178
  case 64:
1182
- he() === 45 && (C += Lt(Z())), _ = he(), f = c = Y(O = C += Pi(lt())), p++;
1179
+ pe() === 45 && (C += Pt(Z())), _ = pe(), f = c = Y(O = C += Ni(ct())), h++;
1183
1180
  break;
1184
1181
  // -
1185
1182
  case 45:
@@ -1188,20 +1185,20 @@ function ut(e, t, n, r, o, i, a, s, l) {
1188
1185
  }
1189
1186
  return i;
1190
1187
  }
1191
- function Kn(e, t, n, r, o, i, a, s, l, u, f, c) {
1192
- for (var _ = o - 1, d = o === 0 ? i : [""], g = jr(d), y = 0, v = 0, m = 0; y < r; ++y)
1193
- for (var p = 0, O = Oe(e, _ + 1, _ = Wr(v = a[y])), b = e; p < g; ++p)
1194
- (b = Gr(v > 0 ? d[p] + " " + O : S(O, /&\f/g, d[p]))) && (l[m++] = b);
1195
- return wt(e, t, n, o === 0 ? Et : s, l, u, f, c);
1188
+ function Zn(e, t, n, r, o, i, a, s, l, u, f, c) {
1189
+ for (var _ = o - 1, d = o === 0 ? i : [""], g = Ur(d), y = 0, v = 0, m = 0; y < r; ++y)
1190
+ for (var h = 0, O = Oe(e, _ + 1, _ = Hr(v = a[y])), b = e; h < g; ++h)
1191
+ (b = zr(v > 0 ? d[h] + " " + O : E(O, /&\f/g, d[h]))) && (l[m++] = b);
1192
+ return St(e, t, n, o === 0 ? vt : s, l, u, f, c);
1196
1193
  }
1197
- function Di(e, t, n, r) {
1198
- return wt(e, t, n, Ur, yn(ki()), Oe(e, 2, -2), 0, r);
1194
+ function Ii(e, t, n, r) {
1195
+ return St(e, t, n, Dr, pn(Si()), Oe(e, 2, -2), 0, r);
1199
1196
  }
1200
- function Jn(e, t, n, r, o) {
1201
- return wt(e, t, n, gn, Oe(e, 0, r), Oe(e, r + 1, -1), r, o);
1197
+ function Yn(e, t, n, r, o) {
1198
+ return St(e, t, n, _n, Oe(e, 0, r), Oe(e, r + 1, -1), r, o);
1202
1199
  }
1203
- function Zr(e, t, n) {
1204
- switch ($i(e, t)) {
1200
+ function Wr(e, t, n) {
1201
+ switch (vi(e, t)) {
1205
1202
  // color-adjust
1206
1203
  case 5103:
1207
1204
  return k + "print-" + e + e;
@@ -1247,16 +1244,16 @@ function Zr(e, t, n) {
1247
1244
  return k + e + Be + e + T + e + e;
1248
1245
  // writing-mode
1249
1246
  case 5936:
1250
- switch (A(e, t + 11)) {
1247
+ switch (P(e, t + 11)) {
1251
1248
  // vertical-l(r)
1252
1249
  case 114:
1253
- return k + e + T + S(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
1250
+ return k + e + T + E(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
1254
1251
  // vertical-r(l)
1255
1252
  case 108:
1256
- return k + e + T + S(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
1253
+ return k + e + T + E(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
1257
1254
  // horizontal(-)tb
1258
1255
  case 45:
1259
- return k + e + T + S(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
1256
+ return k + e + T + E(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
1260
1257
  }
1261
1258
  // flex, flex-direction, scroll-snap-type, writing-mode
1262
1259
  case 6828:
@@ -1268,35 +1265,35 @@ function Zr(e, t, n) {
1268
1265
  return k + e + T + "flex-" + e + e;
1269
1266
  // align-items
1270
1267
  case 5187:
1271
- return k + e + S(e, /(\w+).+(:[^]+)/, k + "box-$1$2" + T + "flex-$1$2") + e;
1268
+ return k + e + E(e, /(\w+).+(:[^]+)/, k + "box-$1$2" + T + "flex-$1$2") + e;
1272
1269
  // align-self
1273
1270
  case 5443:
1274
- return k + e + T + "flex-item-" + S(e, /flex-|-self/g, "") + (Q(e, /flex-|baseline/) ? "" : T + "grid-row-" + S(e, /flex-|-self/g, "")) + e;
1271
+ return k + e + T + "flex-item-" + E(e, /flex-|-self/g, "") + (Q(e, /flex-|baseline/) ? "" : T + "grid-row-" + E(e, /flex-|-self/g, "")) + e;
1275
1272
  // align-content
1276
1273
  case 4675:
1277
- return k + e + T + "flex-line-pack" + S(e, /align-content|flex-|-self/g, "") + e;
1274
+ return k + e + T + "flex-line-pack" + E(e, /align-content|flex-|-self/g, "") + e;
1278
1275
  // flex-shrink
1279
1276
  case 5548:
1280
- return k + e + T + S(e, "shrink", "negative") + e;
1277
+ return k + e + T + E(e, "shrink", "negative") + e;
1281
1278
  // flex-basis
1282
1279
  case 5292:
1283
- return k + e + T + S(e, "basis", "preferred-size") + e;
1280
+ return k + e + T + E(e, "basis", "preferred-size") + e;
1284
1281
  // flex-grow
1285
1282
  case 6060:
1286
- return k + "box-" + S(e, "-grow", "") + k + e + T + S(e, "grow", "positive") + e;
1283
+ return k + "box-" + E(e, "-grow", "") + k + e + T + E(e, "grow", "positive") + e;
1287
1284
  // transition
1288
1285
  case 4554:
1289
- return k + S(e, /([^-])(transform)/g, "$1" + k + "$2") + e;
1286
+ return k + E(e, /([^-])(transform)/g, "$1" + k + "$2") + e;
1290
1287
  // cursor
1291
1288
  case 6187:
1292
- return S(S(S(e, /(zoom-|grab)/, k + "$1"), /(image-set)/, k + "$1"), e, "") + e;
1289
+ return E(E(E(e, /(zoom-|grab)/, k + "$1"), /(image-set)/, k + "$1"), e, "") + e;
1293
1290
  // background, background-image
1294
1291
  case 5495:
1295
1292
  case 3959:
1296
- return S(e, /(image-set\([^]*)/, k + "$1$`$1");
1293
+ return E(e, /(image-set\([^]*)/, k + "$1$`$1");
1297
1294
  // justify-content
1298
1295
  case 4968:
1299
- return S(S(e, /(.+:)(flex-)?(.*)/, k + "box-pack:$3" + T + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + k + e + e;
1296
+ return E(E(e, /(.+:)(flex-)?(.*)/, k + "box-pack:$3" + T + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + k + e + e;
1300
1297
  // justify-self
1301
1298
  case 4200:
1302
1299
  if (!Q(e, /flex-|baseline/)) return T + "grid-column-align" + Oe(e, t) + e;
@@ -1304,25 +1301,25 @@ function Zr(e, t, n) {
1304
1301
  // grid-template-(columns|rows)
1305
1302
  case 2592:
1306
1303
  case 3360:
1307
- return T + S(e, "template-", "") + e;
1304
+ return T + E(e, "template-", "") + e;
1308
1305
  // grid-(row|column)-start
1309
1306
  case 4384:
1310
1307
  case 3616:
1311
1308
  return n && n.some(function(r, o) {
1312
1309
  return t = o, Q(r.props, /grid-\w+-end/);
1313
- }) ? ~ct(e + (n = n[t].value), "span", 0) ? e : T + S(e, "-start", "") + e + T + "grid-row-span:" + (~ct(n, "span", 0) ? Q(n, /\d+/) : +Q(n, /\d+/) - +Q(e, /\d+/)) + ";" : T + S(e, "-start", "") + e;
1310
+ }) ? ~st(e + (n = n[t].value), "span", 0) ? e : T + E(e, "-start", "") + e + T + "grid-row-span:" + (~st(n, "span", 0) ? Q(n, /\d+/) : +Q(n, /\d+/) - +Q(e, /\d+/)) + ";" : T + E(e, "-start", "") + e;
1314
1311
  // grid-(row|column)-end
1315
1312
  case 4896:
1316
1313
  case 4128:
1317
1314
  return n && n.some(function(r) {
1318
1315
  return Q(r.props, /grid-\w+-start/);
1319
- }) ? e : T + S(S(e, "-end", "-span"), "span ", "") + e;
1316
+ }) ? e : T + E(E(e, "-end", "-span"), "span ", "") + e;
1320
1317
  // (margin|padding)-inline-(start|end)
1321
1318
  case 4095:
1322
1319
  case 3583:
1323
1320
  case 4068:
1324
1321
  case 2532:
1325
- return S(e, /(.+)-inline(.+)/, k + "$1$2") + e;
1322
+ return E(e, /(.+)-inline(.+)/, k + "$1$2") + e;
1326
1323
  // (min|max)?(width|height|inline-size|block-size)
1327
1324
  case 8116:
1328
1325
  case 7059:
@@ -1337,39 +1334,39 @@ function Zr(e, t, n) {
1337
1334
  case 5021:
1338
1335
  case 4765:
1339
1336
  if (Y(e) - 1 - t > 6)
1340
- switch (A(e, t + 1)) {
1337
+ switch (P(e, t + 1)) {
1341
1338
  // (m)ax-content, (m)in-content
1342
1339
  case 109:
1343
- if (A(e, t + 4) !== 45)
1340
+ if (P(e, t + 4) !== 45)
1344
1341
  break;
1345
1342
  // (f)ill-available, (f)it-content
1346
1343
  case 102:
1347
- return S(e, /(.+:)(.+)-([^]+)/, "$1" + k + "$2-$3$1" + Be + (A(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
1344
+ return E(e, /(.+:)(.+)-([^]+)/, "$1" + k + "$2-$3$1" + Be + (P(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
1348
1345
  // (s)tretch
1349
1346
  case 115:
1350
- return ~ct(e, "stretch", 0) ? Zr(S(e, "stretch", "fill-available"), t, n) + e : e;
1347
+ return ~st(e, "stretch", 0) ? Wr(E(e, "stretch", "fill-available"), t, n) + e : e;
1351
1348
  }
1352
1349
  break;
1353
1350
  // grid-(column|row)
1354
1351
  case 5152:
1355
1352
  case 5920:
1356
- return S(e, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function(r, o, i, a, s, l, u) {
1353
+ return E(e, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function(r, o, i, a, s, l, u) {
1357
1354
  return T + o + ":" + i + u + (a ? T + o + "-span:" + (s ? l : +l - +i) + u : "") + e;
1358
1355
  });
1359
1356
  // position: sticky
1360
1357
  case 4949:
1361
- if (A(e, t + 6) === 121)
1362
- return S(e, ":", ":" + k) + e;
1358
+ if (P(e, t + 6) === 121)
1359
+ return E(e, ":", ":" + k) + e;
1363
1360
  break;
1364
1361
  // display: (flex|inline-flex|grid|inline-grid)
1365
1362
  case 6444:
1366
- switch (A(e, A(e, 14) === 45 ? 18 : 11)) {
1363
+ switch (P(e, P(e, 14) === 45 ? 18 : 11)) {
1367
1364
  // (inline-)?fle(x)
1368
1365
  case 120:
1369
- return S(e, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + k + (A(e, 14) === 45 ? "inline-" : "") + "box$3$1" + k + "$2$3$1" + T + "$2box$3") + e;
1366
+ return E(e, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + k + (P(e, 14) === 45 ? "inline-" : "") + "box$3$1" + k + "$2$3$1" + T + "$2box$3") + e;
1370
1367
  // (inline-)?gri(d)
1371
1368
  case 100:
1372
- return S(e, ":", ":" + T) + e;
1369
+ return E(e, ":", ":" + T) + e;
1373
1370
  }
1374
1371
  break;
1375
1372
  // scroll-margin, scroll-margin-(top|right|bottom|left)
@@ -1378,71 +1375,71 @@ function Zr(e, t, n) {
1378
1375
  case 2135:
1379
1376
  case 3927:
1380
1377
  case 2391:
1381
- return S(e, "scroll-", "scroll-snap-") + e;
1378
+ return E(e, "scroll-", "scroll-snap-") + e;
1382
1379
  }
1383
1380
  return e;
1384
1381
  }
1385
- function mt(e, t) {
1382
+ function ht(e, t) {
1386
1383
  for (var n = "", r = 0; r < e.length; r++)
1387
1384
  n += t(e[r], r, e, t) || "";
1388
1385
  return n;
1389
1386
  }
1390
- function Mi(e, t, n, r) {
1387
+ function Ri(e, t, n, r) {
1391
1388
  switch (e.type) {
1392
- case bi:
1389
+ case yi:
1393
1390
  if (e.children.length) break;
1394
- case wi:
1395
- case gn:
1391
+ case gi:
1392
+ case _n:
1396
1393
  return e.return = e.return || e.value;
1397
- case Ur:
1394
+ case Dr:
1398
1395
  return "";
1399
- case Br:
1400
- return e.return = e.value + "{" + mt(e.children, r) + "}";
1401
- case Et:
1396
+ case Fr:
1397
+ return e.return = e.value + "{" + ht(e.children, r) + "}";
1398
+ case vt:
1402
1399
  if (!Y(e.value = e.props.join(","))) return "";
1403
1400
  }
1404
- return Y(n = mt(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
1401
+ return Y(n = ht(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
1405
1402
  }
1406
- function Fi(e) {
1407
- var t = jr(e);
1403
+ function xi(e) {
1404
+ var t = Ur(e);
1408
1405
  return function(n, r, o, i) {
1409
1406
  for (var a = "", s = 0; s < t; s++)
1410
1407
  a += e[s](n, r, o, i) || "";
1411
1408
  return a;
1412
1409
  };
1413
1410
  }
1414
- function Hi(e) {
1411
+ function Pi(e) {
1415
1412
  return function(t) {
1416
1413
  t.root || (t = t.return) && e(t);
1417
1414
  };
1418
1415
  }
1419
- function zi(e, t, n, r) {
1416
+ function Ai(e, t, n, r) {
1420
1417
  if (e.length > -1 && !e.return)
1421
1418
  switch (e.type) {
1422
- case gn:
1423
- e.return = Zr(e.value, e.length, n);
1419
+ case _n:
1420
+ e.return = Wr(e.value, e.length, n);
1424
1421
  return;
1425
- case Br:
1426
- return mt([ie(e, { value: S(e.value, "@", "@" + k) })], r);
1427
- case Et:
1422
+ case Fr:
1423
+ return ht([ie(e, { value: E(e.value, "@", "@" + k) })], r);
1424
+ case vt:
1428
1425
  if (e.length)
1429
- return Oi(n = e.props, function(o) {
1426
+ return Ci(n = e.props, function(o) {
1430
1427
  switch (Q(o, r = /(::plac\w+|:read-\w+)/)) {
1431
1428
  // :read-(only|write)
1432
1429
  case ":read-only":
1433
1430
  case ":read-write":
1434
- Se(ie(e, { props: [S(o, /:(read-\w+)/, ":" + Be + "$1")] })), Se(ie(e, { props: [o] })), Vt(e, { props: Xn(n, r) });
1431
+ Ee(ie(e, { props: [E(o, /:(read-\w+)/, ":" + Be + "$1")] })), Ee(ie(e, { props: [o] })), jt(e, { props: Vn(n, r) });
1435
1432
  break;
1436
1433
  // :placeholder
1437
1434
  case "::placeholder":
1438
- Se(ie(e, { props: [S(o, /:(plac\w+)/, ":" + k + "input-$1")] })), Se(ie(e, { props: [S(o, /:(plac\w+)/, ":" + Be + "$1")] })), Se(ie(e, { props: [S(o, /:(plac\w+)/, T + "input-$1")] })), Se(ie(e, { props: [o] })), Vt(e, { props: Xn(n, r) });
1435
+ Ee(ie(e, { props: [E(o, /:(plac\w+)/, ":" + k + "input-$1")] })), Ee(ie(e, { props: [E(o, /:(plac\w+)/, ":" + Be + "$1")] })), Ee(ie(e, { props: [E(o, /:(plac\w+)/, T + "input-$1")] })), Ee(ie(e, { props: [o] })), jt(e, { props: Vn(n, r) });
1439
1436
  break;
1440
1437
  }
1441
1438
  return "";
1442
1439
  });
1443
1440
  }
1444
1441
  }
1445
- var Ui = {
1442
+ var Li = {
1446
1443
  animationIterationCount: 1,
1447
1444
  aspectRatio: 1,
1448
1445
  borderImageOutset: 1,
@@ -1490,8 +1487,8 @@ var Ui = {
1490
1487
  strokeMiterlimit: 1,
1491
1488
  strokeOpacity: 1,
1492
1489
  strokeWidth: 1
1493
- }, $ = {}, ge = typeof process < "u" && $ !== void 0 && ($.REACT_APP_SC_ATTR || $.SC_ATTR) || "data-styled", Yr = "active", qr = "data-styled-version", $t = "6.1.18", vn = `/*!sc*/
1494
- `, gt = typeof window < "u" && typeof document < "u", Bi = !!(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof process < "u" && $ !== void 0 && $.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && $.REACT_APP_SC_DISABLE_SPEEDY !== "" ? $.REACT_APP_SC_DISABLE_SPEEDY !== "false" && $.REACT_APP_SC_DISABLE_SPEEDY : typeof process < "u" && $ !== void 0 && $.SC_DISABLE_SPEEDY !== void 0 && $.SC_DISABLE_SPEEDY !== "" ? $.SC_DISABLE_SPEEDY !== "false" && $.SC_DISABLE_SPEEDY : $.NODE_ENV !== "production"), Qn = /invalid hook call/i, nt = /* @__PURE__ */ new Set(), Wi = function(e, t) {
1490
+ }, $ = {}, ge = typeof process < "u" && $ !== void 0 && ($.REACT_APP_SC_ATTR || $.SC_ATTR) || "data-styled", jr = "active", Gr = "data-styled-version", wt = "6.1.18", hn = `/*!sc*/
1491
+ `, mt = typeof window < "u" && typeof document < "u", Mi = !!(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof process < "u" && $ !== void 0 && $.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && $.REACT_APP_SC_DISABLE_SPEEDY !== "" ? $.REACT_APP_SC_DISABLE_SPEEDY !== "false" && $.REACT_APP_SC_DISABLE_SPEEDY : typeof process < "u" && $ !== void 0 && $.SC_DISABLE_SPEEDY !== void 0 && $.SC_DISABLE_SPEEDY !== "" ? $.SC_DISABLE_SPEEDY !== "false" && $.SC_DISABLE_SPEEDY : $.NODE_ENV !== "production"), qn = /invalid hook call/i, tt = /* @__PURE__ */ new Set(), Di = function(e, t) {
1495
1492
  if ($.NODE_ENV !== "production") {
1496
1493
  var n = t ? ' with the id of "'.concat(t, '"') : "", r = "The component ".concat(e).concat(n, ` has been created dynamically.
1497
1494
  `) + `You may see this warning because you've called styled inside another component.
@@ -1502,65 +1499,65 @@ See https://styled-components.com/docs/basics#define-styled-components-outside-o
1502
1499
  var i = !0;
1503
1500
  console.error = function(a) {
1504
1501
  for (var s = [], l = 1; l < arguments.length; l++) s[l - 1] = arguments[l];
1505
- Qn.test(a) ? (i = !1, nt.delete(r)) : o.apply(void 0, me([a], s, !1));
1506
- }, qe(), i && !nt.has(r) && (console.warn(r), nt.add(r));
1502
+ qn.test(a) ? (i = !1, tt.delete(r)) : o.apply(void 0, me([a], s, !1));
1503
+ }, qe(), i && !tt.has(r) && (console.warn(r), tt.add(r));
1507
1504
  } catch (a) {
1508
- Qn.test(a.message) && nt.delete(r);
1505
+ qn.test(a.message) && tt.delete(r);
1509
1506
  } finally {
1510
1507
  console.error = o;
1511
1508
  }
1512
1509
  }
1513
- }, Ot = Object.freeze([]), Ne = Object.freeze({});
1514
- function Gi(e, t, n) {
1510
+ }, bt = Object.freeze([]), Ne = Object.freeze({});
1511
+ function Fi(e, t, n) {
1515
1512
  return n === void 0 && (n = Ne), e.theme !== n.theme && e.theme || t || n.theme;
1516
1513
  }
1517
- var qt = /* @__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"]), ji = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, Vi = /(^-|-$)/g;
1518
- function er(e) {
1519
- return e.replace(ji, "-").replace(Vi, "");
1514
+ 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"]), Hi = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, zi = /(^-|-$)/g;
1515
+ function Xn(e) {
1516
+ return e.replace(Hi, "-").replace(zi, "");
1520
1517
  }
1521
- var Zi = /(a)(d)/gi, rt = 52, tr = function(e) {
1518
+ var Ui = /(a)(d)/gi, nt = 52, Kn = function(e) {
1522
1519
  return String.fromCharCode(e + (e > 25 ? 39 : 97));
1523
1520
  };
1524
- function Xt(e) {
1521
+ function Yt(e) {
1525
1522
  var t, n = "";
1526
- for (t = Math.abs(e); t > rt; t = t / rt | 0) n = tr(t % rt) + n;
1527
- return (tr(t % rt) + n).replace(Zi, "$1-$2");
1523
+ for (t = Math.abs(e); t > nt; t = t / nt | 0) n = Kn(t % nt) + n;
1524
+ return (Kn(t % nt) + n).replace(Ui, "$1-$2");
1528
1525
  }
1529
- var Dt, Xr = 5381, de = function(e, t) {
1526
+ var At, Vr = 5381, de = function(e, t) {
1530
1527
  for (var n = t.length; n; ) e = 33 * e ^ t.charCodeAt(--n);
1531
1528
  return e;
1532
- }, Kr = function(e) {
1533
- return de(Xr, e);
1529
+ }, Zr = function(e) {
1530
+ return de(Vr, e);
1534
1531
  };
1535
- function Jr(e) {
1536
- return Xt(Kr(e) >>> 0);
1532
+ function Yr(e) {
1533
+ return Yt(Zr(e) >>> 0);
1537
1534
  }
1538
- function Qr(e) {
1535
+ function qr(e) {
1539
1536
  return $.NODE_ENV !== "production" && typeof e == "string" && e || e.displayName || e.name || "Component";
1540
1537
  }
1541
- function Mt(e) {
1538
+ function Lt(e) {
1542
1539
  return typeof e == "string" && ($.NODE_ENV === "production" || e.charAt(0) === e.charAt(0).toLowerCase());
1543
1540
  }
1544
- var eo = typeof Symbol == "function" && Symbol.for, to = eo ? Symbol.for("react.memo") : 60115, Yi = eo ? 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 }, no = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 }, Ki = ((Dt = {})[Yi] = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 }, Dt[to] = no, Dt);
1545
- function nr(e) {
1546
- return ("type" in (t = e) && t.type.$$typeof) === to ? no : "$$typeof" in e ? Ki[e.$$typeof] : qi;
1541
+ var Xr = typeof Symbol == "function" && Symbol.for, Kr = Xr ? Symbol.for("react.memo") : 60115, Bi = Xr ? Symbol.for("react.forward_ref") : 60112, Wi = { childContextTypes: !0, contextType: !0, contextTypes: !0, defaultProps: !0, displayName: !0, getDefaultProps: !0, getDerivedStateFromError: !0, getDerivedStateFromProps: !0, mixins: !0, propTypes: !0, type: !0 }, ji = { name: !0, length: !0, prototype: !0, caller: !0, callee: !0, arguments: !0, arity: !0 }, Jr = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 }, Gi = ((At = {})[Bi] = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 }, At[Kr] = Jr, At);
1542
+ function Jn(e) {
1543
+ return ("type" in (t = e) && t.type.$$typeof) === Kr ? Jr : "$$typeof" in e ? Gi[e.$$typeof] : Wi;
1547
1544
  var t;
1548
1545
  }
1549
- var Ji = Object.defineProperty, Qi = Object.getOwnPropertyNames, rr = Object.getOwnPropertySymbols, ea = Object.getOwnPropertyDescriptor, ta = Object.getPrototypeOf, or = Object.prototype;
1550
- function ro(e, t, n) {
1546
+ var Vi = Object.defineProperty, Zi = Object.getOwnPropertyNames, Qn = Object.getOwnPropertySymbols, Yi = Object.getOwnPropertyDescriptor, qi = Object.getPrototypeOf, er = Object.prototype;
1547
+ function Qr(e, t, n) {
1551
1548
  if (typeof t != "string") {
1552
- if (or) {
1553
- var r = ta(t);
1554
- r && r !== or && ro(e, r, n);
1549
+ if (er) {
1550
+ var r = qi(t);
1551
+ r && r !== er && Qr(e, r, n);
1555
1552
  }
1556
- var o = Qi(t);
1557
- rr && (o = o.concat(rr(t)));
1558
- for (var i = nr(e), a = nr(t), s = 0; s < o.length; ++s) {
1553
+ var o = Zi(t);
1554
+ Qn && (o = o.concat(Qn(t)));
1555
+ for (var i = Jn(e), a = Jn(t), s = 0; s < o.length; ++s) {
1559
1556
  var l = o[s];
1560
- if (!(l in Xi || n && n[l] || a && l in a || i && l in i)) {
1561
- var u = ea(t, l);
1557
+ if (!(l in ji || n && n[l] || a && l in a || i && l in i)) {
1558
+ var u = Yi(t, l);
1562
1559
  try {
1563
- Ji(e, l, u);
1560
+ Vi(e, l, u);
1564
1561
  } catch {
1565
1562
  }
1566
1563
  }
@@ -1571,13 +1568,13 @@ function ro(e, t, n) {
1571
1568
  function ye(e) {
1572
1569
  return typeof e == "function";
1573
1570
  }
1574
- function Cn(e) {
1571
+ function mn(e) {
1575
1572
  return typeof e == "object" && "styledComponentId" in e;
1576
1573
  }
1577
1574
  function _e(e, t) {
1578
1575
  return e && t ? "".concat(e, " ").concat(t) : e || t || "";
1579
1576
  }
1580
- function Kt(e, t) {
1577
+ function qt(e, t) {
1581
1578
  if (e.length === 0) return "";
1582
1579
  for (var n = e[0], r = 1; r < e.length; r++) n += e[r];
1583
1580
  return n;
@@ -1585,16 +1582,16 @@ function Kt(e, t) {
1585
1582
  function Te(e) {
1586
1583
  return e !== null && typeof e == "object" && e.constructor.name === Object.name && !("props" in e && e.$$typeof);
1587
1584
  }
1588
- function Jt(e, t, n) {
1585
+ function Xt(e, t, n) {
1589
1586
  if (n === void 0 && (n = !1), !n && !Te(e) && !Array.isArray(e)) return t;
1590
- if (Array.isArray(t)) for (var r = 0; r < t.length; r++) e[r] = Jt(e[r], t[r]);
1591
- else if (Te(t)) for (var r in t) e[r] = Jt(e[r], t[r]);
1587
+ if (Array.isArray(t)) for (var r = 0; r < t.length; r++) e[r] = Xt(e[r], t[r]);
1588
+ else if (Te(t)) for (var r in t) e[r] = Xt(e[r], t[r]);
1592
1589
  return e;
1593
1590
  }
1594
- function En(e, t) {
1591
+ function gn(e, t) {
1595
1592
  Object.defineProperty(e, "toString", { value: t });
1596
1593
  }
1597
- var na = $.NODE_ENV !== "production" ? { 1: `Cannot create styled-component for component: %s.
1594
+ var Xi = $.NODE_ENV !== "production" ? { 1: `Cannot create styled-component for component: %s.
1598
1595
 
1599
1596
  `, 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.
1600
1597
 
@@ -1636,7 +1633,7 @@ as for instance in your render method then you may be running into this limitati
1636
1633
  `, 17: `CSSStyleSheet could not be found on HTMLStyleElement.
1637
1634
  Has styled-components' style tag been unmounted or altered by another script?
1638
1635
  `, 18: "ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`" } : {};
1639
- function ra() {
1636
+ function Ki() {
1640
1637
  for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
1641
1638
  for (var n = e[0], r = [], o = 1, i = e.length; o < i; o += 1) r.push(e[o]);
1642
1639
  return r.forEach(function(a) {
@@ -1645,9 +1642,9 @@ function ra() {
1645
1642
  }
1646
1643
  function X(e) {
1647
1644
  for (var t = [], n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];
1648
- return $.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());
1645
+ return $.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(Ki.apply(void 0, me([Xi[e]], t, !1)).trim());
1649
1646
  }
1650
- var oa = function() {
1647
+ var Ji = function() {
1651
1648
  function e(t) {
1652
1649
  this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = t;
1653
1650
  }
@@ -1670,50 +1667,50 @@ var oa = function() {
1670
1667
  }, e.prototype.getGroup = function(t) {
1671
1668
  var n = "";
1672
1669
  if (t >= this.length || this.groupSizes[t] === 0) return n;
1673
- 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(vn);
1670
+ 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(hn);
1674
1671
  return n;
1675
1672
  }, e;
1676
- }(), ia = 1 << 30, ft = /* @__PURE__ */ new Map(), yt = /* @__PURE__ */ new Map(), dt = 1, ot = function(e) {
1677
- if (ft.has(e)) return ft.get(e);
1678
- for (; yt.has(dt); ) dt++;
1679
- var t = dt++;
1680
- if ($.NODE_ENV !== "production" && ((0 | t) < 0 || t > ia)) throw X(16, "".concat(t));
1681
- return ft.set(e, t), yt.set(t, e), t;
1682
- }, aa = function(e, t) {
1683
- dt = t + 1, ft.set(e, t), yt.set(t, e);
1684
- }, sa = "style[".concat(ge, "][").concat(qr, '="').concat($t, '"]'), ca = new RegExp("^".concat(ge, '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')), la = function(e, t, n) {
1673
+ }(), Qi = 1 << 30, ut = /* @__PURE__ */ new Map(), gt = /* @__PURE__ */ new Map(), ft = 1, rt = function(e) {
1674
+ if (ut.has(e)) return ut.get(e);
1675
+ for (; gt.has(ft); ) ft++;
1676
+ var t = ft++;
1677
+ if ($.NODE_ENV !== "production" && ((0 | t) < 0 || t > Qi)) throw X(16, "".concat(t));
1678
+ return ut.set(e, t), gt.set(t, e), t;
1679
+ }, ea = function(e, t) {
1680
+ ft = t + 1, ut.set(e, t), gt.set(t, e);
1681
+ }, ta = "style[".concat(ge, "][").concat(Gr, '="').concat(wt, '"]'), na = new RegExp("^".concat(ge, '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')), ra = function(e, t, n) {
1685
1682
  for (var r, o = n.split(","), i = 0, a = o.length; i < a; i++) (r = o[i]) && e.registerName(t, r);
1686
- }, ua = function(e, t) {
1687
- for (var n, r = ((n = t.textContent) !== null && n !== void 0 ? n : "").split(vn), o = [], i = 0, a = r.length; i < a; i++) {
1683
+ }, oa = function(e, t) {
1684
+ for (var n, r = ((n = t.textContent) !== null && n !== void 0 ? n : "").split(hn), o = [], i = 0, a = r.length; i < a; i++) {
1688
1685
  var s = r[i].trim();
1689
1686
  if (s) {
1690
- var l = s.match(ca);
1687
+ var l = s.match(na);
1691
1688
  if (l) {
1692
1689
  var u = 0 | parseInt(l[1], 10), f = l[2];
1693
- u !== 0 && (aa(f, u), la(e, f, l[3]), e.getTag().insertRules(u, o)), o.length = 0;
1690
+ u !== 0 && (ea(f, u), ra(e, f, l[3]), e.getTag().insertRules(u, o)), o.length = 0;
1694
1691
  } else o.push(s);
1695
1692
  }
1696
1693
  }
1697
- }, ir = function(e) {
1698
- for (var t = document.querySelectorAll(sa), n = 0, r = t.length; n < r; n++) {
1694
+ }, tr = function(e) {
1695
+ for (var t = document.querySelectorAll(ta), n = 0, r = t.length; n < r; n++) {
1699
1696
  var o = t[n];
1700
- o && o.getAttribute(ge) !== Yr && (ua(e, o), o.parentNode && o.parentNode.removeChild(o));
1697
+ o && o.getAttribute(ge) !== jr && (oa(e, o), o.parentNode && o.parentNode.removeChild(o));
1701
1698
  }
1702
1699
  };
1703
- function fa() {
1700
+ function ia() {
1704
1701
  return typeof __webpack_nonce__ < "u" ? __webpack_nonce__ : null;
1705
1702
  }
1706
- var oo = function(e) {
1703
+ var eo = function(e) {
1707
1704
  var t = document.head, n = e || t, r = document.createElement("style"), o = function(s) {
1708
1705
  var l = Array.from(s.querySelectorAll("style[".concat(ge, "]")));
1709
1706
  return l[l.length - 1];
1710
1707
  }(n), i = o !== void 0 ? o.nextSibling : null;
1711
- r.setAttribute(ge, Yr), r.setAttribute(qr, $t);
1712
- var a = fa();
1708
+ r.setAttribute(ge, jr), r.setAttribute(Gr, wt);
1709
+ var a = ia();
1713
1710
  return a && r.setAttribute("nonce", a), n.insertBefore(r, i), r;
1714
- }, da = function() {
1711
+ }, aa = function() {
1715
1712
  function e(t) {
1716
- this.element = oo(t), this.element.appendChild(document.createTextNode("")), this.sheet = function(n) {
1713
+ this.element = eo(t), this.element.appendChild(document.createTextNode("")), this.sheet = function(n) {
1717
1714
  if (n.sheet) return n.sheet;
1718
1715
  for (var r = document.styleSheets, o = 0, i = r.length; o < i; o++) {
1719
1716
  var a = r[o];
@@ -1734,9 +1731,9 @@ var oo = function(e) {
1734
1731
  var n = this.sheet.cssRules[t];
1735
1732
  return n && n.cssText ? n.cssText : "";
1736
1733
  }, e;
1737
- }(), _a = function() {
1734
+ }(), sa = function() {
1738
1735
  function e(t) {
1739
- this.element = oo(t), this.nodes = this.element.childNodes, this.length = 0;
1736
+ this.element = eo(t), this.nodes = this.element.childNodes, this.length = 0;
1740
1737
  }
1741
1738
  return e.prototype.insertRule = function(t, n) {
1742
1739
  if (t <= this.length && t >= 0) {
@@ -1749,7 +1746,7 @@ var oo = function(e) {
1749
1746
  }, e.prototype.getRule = function(t) {
1750
1747
  return t < this.length ? this.nodes[t].textContent : "";
1751
1748
  }, e;
1752
- }(), ha = function() {
1749
+ }(), ca = function() {
1753
1750
  function e(t) {
1754
1751
  this.rules = [], this.length = 0;
1755
1752
  }
@@ -1760,15 +1757,15 @@ var oo = function(e) {
1760
1757
  }, e.prototype.getRule = function(t) {
1761
1758
  return t < this.length ? this.rules[t] : "";
1762
1759
  }, e;
1763
- }(), ar = gt, pa = { isServer: !gt, useCSSOMInjection: !Bi }, io = function() {
1760
+ }(), nr = mt, la = { isServer: !mt, useCSSOMInjection: !Mi }, to = function() {
1764
1761
  function e(t, n, r) {
1765
1762
  t === void 0 && (t = Ne), n === void 0 && (n = {});
1766
1763
  var o = this;
1767
- this.options = P(P({}, pa), t), this.gs = n, this.names = new Map(r), this.server = !!t.isServer, !this.server && gt && ar && (ar = !1, ir(this)), En(this, function() {
1764
+ this.options = A(A({}, la), t), this.gs = n, this.names = new Map(r), this.server = !!t.isServer, !this.server && mt && nr && (nr = !1, tr(this)), gn(this, function() {
1768
1765
  return function(i) {
1769
1766
  for (var a = i.getTag(), s = a.length, l = "", u = function(c) {
1770
1767
  var _ = function(m) {
1771
- return yt.get(m);
1768
+ return gt.get(m);
1772
1769
  }(c);
1773
1770
  if (_ === void 0) return "continue";
1774
1771
  var d = i.names.get(_), g = a.getGroup(c);
@@ -1776,156 +1773,156 @@ var oo = function(e) {
1776
1773
  var y = "".concat(ge, ".g").concat(c, '[id="').concat(_, '"]'), v = "";
1777
1774
  d !== void 0 && d.forEach(function(m) {
1778
1775
  m.length > 0 && (v += "".concat(m, ","));
1779
- }), l += "".concat(g).concat(y, '{content:"').concat(v, '"}').concat(vn);
1776
+ }), l += "".concat(g).concat(y, '{content:"').concat(v, '"}').concat(hn);
1780
1777
  }, f = 0; f < s; f++) u(f);
1781
1778
  return l;
1782
1779
  }(o);
1783
1780
  });
1784
1781
  }
1785
1782
  return e.registerId = function(t) {
1786
- return ot(t);
1783
+ return rt(t);
1787
1784
  }, e.prototype.rehydrate = function() {
1788
- !this.server && gt && ir(this);
1785
+ !this.server && mt && tr(this);
1789
1786
  }, e.prototype.reconstructWithOptions = function(t, n) {
1790
- return n === void 0 && (n = !0), new e(P(P({}, this.options), t), this.gs, n && this.names || void 0);
1787
+ return n === void 0 && (n = !0), new e(A(A({}, this.options), t), this.gs, n && this.names || void 0);
1791
1788
  }, e.prototype.allocateGSInstance = function(t) {
1792
1789
  return this.gs[t] = (this.gs[t] || 0) + 1;
1793
1790
  }, e.prototype.getTag = function() {
1794
1791
  return this.tag || (this.tag = (t = function(n) {
1795
1792
  var r = n.useCSSOMInjection, o = n.target;
1796
- return n.isServer ? new ha(o) : r ? new da(o) : new _a(o);
1797
- }(this.options), new oa(t)));
1793
+ return n.isServer ? new ca(o) : r ? new aa(o) : new sa(o);
1794
+ }(this.options), new Ji(t)));
1798
1795
  var t;
1799
1796
  }, e.prototype.hasNameForId = function(t, n) {
1800
1797
  return this.names.has(t) && this.names.get(t).has(n);
1801
1798
  }, e.prototype.registerName = function(t, n) {
1802
- if (ot(t), this.names.has(t)) this.names.get(t).add(n);
1799
+ if (rt(t), this.names.has(t)) this.names.get(t).add(n);
1803
1800
  else {
1804
1801
  var r = /* @__PURE__ */ new Set();
1805
1802
  r.add(n), this.names.set(t, r);
1806
1803
  }
1807
1804
  }, e.prototype.insertRules = function(t, n, r) {
1808
- this.registerName(t, n), this.getTag().insertRules(ot(t), r);
1805
+ this.registerName(t, n), this.getTag().insertRules(rt(t), r);
1809
1806
  }, e.prototype.clearNames = function(t) {
1810
1807
  this.names.has(t) && this.names.get(t).clear();
1811
1808
  }, e.prototype.clearRules = function(t) {
1812
- this.getTag().clearGroup(ot(t)), this.clearNames(t);
1809
+ this.getTag().clearGroup(rt(t)), this.clearNames(t);
1813
1810
  }, e.prototype.clearTag = function() {
1814
1811
  this.tag = void 0;
1815
1812
  }, e;
1816
- }(), ma = /&/g, ga = /^\s*\/\/.*$/gm;
1817
- function ao(e, t) {
1813
+ }(), ua = /&/g, fa = /^\s*\/\/.*$/gm;
1814
+ function no(e, t) {
1818
1815
  return e.map(function(n) {
1819
1816
  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) {
1820
1817
  return "".concat(t, " ").concat(r);
1821
- })), Array.isArray(n.children) && n.type !== "@keyframes" && (n.children = ao(n.children, t)), n;
1818
+ })), Array.isArray(n.children) && n.type !== "@keyframes" && (n.children = no(n.children, t)), n;
1822
1819
  });
1823
1820
  }
1824
- function so(e) {
1825
- var t, n, r, o = e === void 0 ? Ne : e, i = o.options, a = i === void 0 ? Ne : i, s = o.plugins, l = s === void 0 ? Ot : s, u = function(_, d, g) {
1821
+ function ro(e) {
1822
+ var t, n, r, o = e === void 0 ? Ne : e, i = o.options, a = i === void 0 ? Ne : i, s = o.plugins, l = s === void 0 ? bt : s, u = function(_, d, g) {
1826
1823
  return g.startsWith(n) && g.endsWith(n) && g.replaceAll(n, "").length > 0 ? ".".concat(t) : _;
1827
1824
  }, f = l.slice();
1828
1825
  f.push(function(_) {
1829
- _.type === Et && _.value.includes("&") && (_.props[0] = _.props[0].replace(ma, n).replace(r, u));
1830
- }), a.prefix && f.push(zi), f.push(Mi);
1826
+ _.type === vt && _.value.includes("&") && (_.props[0] = _.props[0].replace(ua, n).replace(r, u));
1827
+ }), a.prefix && f.push(Ai), f.push(Ri);
1831
1828
  var c = function(_, d, g, y) {
1832
1829
  d === void 0 && (d = ""), g === void 0 && (g = ""), y === void 0 && (y = "&"), t = y, n = d, r = new RegExp("\\".concat(n, "\\b"), "g");
1833
- var v = _.replace(ga, ""), m = Li(g || d ? "".concat(g, " ").concat(d, " { ").concat(v, " }") : v);
1834
- a.namespace && (m = ao(m, a.namespace));
1835
- var p = [];
1836
- return mt(m, Fi(f.concat(Hi(function(O) {
1837
- return p.push(O);
1838
- })))), p;
1830
+ var v = _.replace(fa, ""), m = Ti(g || d ? "".concat(g, " ").concat(d, " { ").concat(v, " }") : v);
1831
+ a.namespace && (m = no(m, a.namespace));
1832
+ var h = [];
1833
+ return ht(m, xi(f.concat(Pi(function(O) {
1834
+ return h.push(O);
1835
+ })))), h;
1839
1836
  };
1840
1837
  return c.hash = l.length ? l.reduce(function(_, d) {
1841
1838
  return d.name || X(15), de(_, d.name);
1842
- }, Xr).toString() : "", c;
1839
+ }, Vr).toString() : "", c;
1843
1840
  }
1844
- var ya = new io(), Qt = so(), Sn = re.createContext({ shouldForwardProp: void 0, styleSheet: ya, stylis: Qt });
1845
- Sn.Consumer;
1846
- var va = re.createContext(void 0);
1847
- function en() {
1848
- return Xe(Sn);
1841
+ var da = new to(), Kt = ro(), yn = re.createContext({ shouldForwardProp: void 0, styleSheet: da, stylis: Kt });
1842
+ yn.Consumer;
1843
+ var _a = re.createContext(void 0);
1844
+ function Jt() {
1845
+ return Xe(yn);
1849
1846
  }
1850
- function Ca(e) {
1851
- var t = H(e.stylisPlugins), n = t[0], r = t[1], o = en().styleSheet, i = ne(function() {
1847
+ function pa(e) {
1848
+ var t = H(e.stylisPlugins), n = t[0], r = t[1], o = Jt().styleSheet, i = ne(function() {
1852
1849
  var l = o;
1853
1850
  return e.sheet ? l = e.sheet : e.target && (l = l.reconstructWithOptions({ target: e.target }, !1)), e.disableCSSOMInjection && (l = l.reconstructWithOptions({ useCSSOMInjection: !1 })), l;
1854
1851
  }, [e.disableCSSOMInjection, e.sheet, e.target, o]), a = ne(function() {
1855
- return so({ options: { namespace: e.namespace, prefix: e.enableVendorPrefixes }, plugins: n });
1852
+ return ro({ options: { namespace: e.namespace, prefix: e.enableVendorPrefixes }, plugins: n });
1856
1853
  }, [e.enableVendorPrefixes, e.namespace, n]);
1857
1854
  K(function() {
1858
- Si(n, e.stylisPlugins) || r(e.stylisPlugins);
1855
+ mi(n, e.stylisPlugins) || r(e.stylisPlugins);
1859
1856
  }, [e.stylisPlugins]);
1860
1857
  var s = ne(function() {
1861
1858
  return { shouldForwardProp: e.shouldForwardProp, styleSheet: i, stylis: a };
1862
1859
  }, [e.shouldForwardProp, i, a]);
1863
- return re.createElement(Sn.Provider, { value: s }, re.createElement(va.Provider, { value: a }, e.children));
1860
+ return re.createElement(yn.Provider, { value: s }, re.createElement(_a.Provider, { value: a }, e.children));
1864
1861
  }
1865
- var tn = function() {
1862
+ var Qt = function() {
1866
1863
  function e(t, n) {
1867
1864
  var r = this;
1868
1865
  this.inject = function(o, i) {
1869
- i === void 0 && (i = Qt);
1866
+ i === void 0 && (i = Kt);
1870
1867
  var a = r.name + i.hash;
1871
1868
  o.hasNameForId(r.id, a) || o.insertRules(r.id, a, i(r.rules, a, "@keyframes"));
1872
- }, this.name = t, this.id = "sc-keyframes-".concat(t), this.rules = n, En(this, function() {
1869
+ }, this.name = t, this.id = "sc-keyframes-".concat(t), this.rules = n, gn(this, function() {
1873
1870
  throw X(12, String(r.name));
1874
1871
  });
1875
1872
  }
1876
1873
  return e.prototype.getName = function(t) {
1877
- return t === void 0 && (t = Qt), this.name + t.hash;
1874
+ return t === void 0 && (t = Kt), this.name + t.hash;
1878
1875
  }, e;
1879
- }(), Ea = function(e) {
1876
+ }(), ha = function(e) {
1880
1877
  return e >= "A" && e <= "Z";
1881
1878
  };
1882
- function sr(e) {
1879
+ function rr(e) {
1883
1880
  for (var t = "", n = 0; n < e.length; n++) {
1884
1881
  var r = e[n];
1885
1882
  if (n === 1 && r === "-" && e[0] === "-") return e;
1886
- Ea(r) ? t += "-" + r.toLowerCase() : t += r;
1883
+ ha(r) ? t += "-" + r.toLowerCase() : t += r;
1887
1884
  }
1888
1885
  return t.startsWith("ms-") ? "-" + t : t;
1889
1886
  }
1890
- var co = function(e) {
1887
+ var oo = function(e) {
1891
1888
  return e == null || e === !1 || e === "";
1892
- }, lo = function(e) {
1889
+ }, io = function(e) {
1893
1890
  var t, n, r = [];
1894
1891
  for (var o in e) {
1895
1892
  var i = e[o];
1896
- e.hasOwnProperty(o) && !co(i) && (Array.isArray(i) && i.isCss || ye(i) ? r.push("".concat(sr(o), ":"), i, ";") : Te(i) ? r.push.apply(r, me(me(["".concat(o, " {")], lo(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 Ui || t.startsWith("--") ? String(n).trim() : "".concat(n, "px")), ";")));
1893
+ e.hasOwnProperty(o) && !oo(i) && (Array.isArray(i) && i.isCss || ye(i) ? r.push("".concat(rr(o), ":"), i, ";") : Te(i) ? r.push.apply(r, me(me(["".concat(o, " {")], io(i), !1), ["}"], !1)) : r.push("".concat(rr(o), ": ").concat((t = o, (n = i) == null || typeof n == "boolean" || n === "" ? "" : typeof n != "number" || n === 0 || t in Li || t.startsWith("--") ? String(n).trim() : "".concat(n, "px")), ";")));
1897
1894
  }
1898
1895
  return r;
1899
1896
  };
1900
- function pe(e, t, n, r) {
1901
- if (co(e)) return [];
1902
- if (Cn(e)) return [".".concat(e.styledComponentId)];
1897
+ function he(e, t, n, r) {
1898
+ if (oo(e)) return [];
1899
+ if (mn(e)) return [".".concat(e.styledComponentId)];
1903
1900
  if (ye(e)) {
1904
1901
  if (!ye(i = e) || i.prototype && i.prototype.isReactComponent || !t) return [e];
1905
1902
  var o = e(t);
1906
- return $.NODE_ENV === "production" || typeof o != "object" || Array.isArray(o) || o instanceof tn || Te(o) || o === null || console.error("".concat(Qr(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);
1903
+ return $.NODE_ENV === "production" || typeof o != "object" || Array.isArray(o) || o instanceof Qt || Te(o) || o === null || console.error("".concat(qr(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);
1907
1904
  }
1908
1905
  var i;
1909
- return e instanceof tn ? n ? (e.inject(n, r), [e.getName(r)]) : [e] : Te(e) ? lo(e) : Array.isArray(e) ? Array.prototype.concat.apply(Ot, e.map(function(a) {
1910
- return pe(a, t, n, r);
1906
+ return e instanceof Qt ? n ? (e.inject(n, r), [e.getName(r)]) : [e] : Te(e) ? io(e) : Array.isArray(e) ? Array.prototype.concat.apply(bt, e.map(function(a) {
1907
+ return he(a, t, n, r);
1911
1908
  })) : [e.toString()];
1912
1909
  }
1913
- function Sa(e) {
1910
+ function ma(e) {
1914
1911
  for (var t = 0; t < e.length; t += 1) {
1915
1912
  var n = e[t];
1916
- if (ye(n) && !Cn(n)) return !1;
1913
+ if (ye(n) && !mn(n)) return !1;
1917
1914
  }
1918
1915
  return !0;
1919
1916
  }
1920
- var wa = Kr($t), ba = function() {
1917
+ var ga = Zr(wt), ya = function() {
1921
1918
  function e(t, n, r) {
1922
- this.rules = t, this.staticRulesId = "", this.isStatic = $.NODE_ENV === "production" && (r === void 0 || r.isStatic) && Sa(t), this.componentId = n, this.baseHash = de(wa, n), this.baseStyle = r, io.registerId(n);
1919
+ this.rules = t, this.staticRulesId = "", this.isStatic = $.NODE_ENV === "production" && (r === void 0 || r.isStatic) && ma(t), this.componentId = n, this.baseHash = de(ga, n), this.baseStyle = r, to.registerId(n);
1923
1920
  }
1924
1921
  return e.prototype.generateAndInjectStyles = function(t, n, r) {
1925
1922
  var o = this.baseStyle ? this.baseStyle.generateAndInjectStyles(t, n, r) : "";
1926
1923
  if (this.isStatic && !r.hash) if (this.staticRulesId && n.hasNameForId(this.componentId, this.staticRulesId)) o = _e(o, this.staticRulesId);
1927
1924
  else {
1928
- var i = Kt(pe(this.rules, t, n, r)), a = Xt(de(this.baseHash, i) >>> 0);
1925
+ var i = qt(he(this.rules, t, n, r)), a = Yt(de(this.baseHash, i) >>> 0);
1929
1926
  if (!n.hasNameForId(this.componentId, a)) {
1930
1927
  var s = r(i, ".".concat(a), void 0, this.componentId);
1931
1928
  n.insertRules(this.componentId, a, s);
@@ -1937,12 +1934,12 @@ var wa = Kr($t), ba = function() {
1937
1934
  var c = this.rules[f];
1938
1935
  if (typeof c == "string") u += c, $.NODE_ENV !== "production" && (l = de(l, c));
1939
1936
  else if (c) {
1940
- var _ = Kt(pe(c, t, n, r));
1937
+ var _ = qt(he(c, t, n, r));
1941
1938
  l = de(l, _ + f), u += _;
1942
1939
  }
1943
1940
  }
1944
1941
  if (u) {
1945
- var d = Xt(l >>> 0);
1942
+ var d = Yt(l >>> 0);
1946
1943
  n.hasNameForId(this.componentId, d) || n.insertRules(this.componentId, d, r(u, ".".concat(d), void 0, this.componentId)), o = _e(o, d);
1947
1944
  }
1948
1945
  }
@@ -1950,12 +1947,12 @@ var wa = Kr($t), ba = function() {
1950
1947
  }, e;
1951
1948
  }(), Ve = re.createContext(void 0);
1952
1949
  Ve.Consumer;
1953
- function uo() {
1950
+ function ao() {
1954
1951
  var e = Xe(Ve);
1955
1952
  if (!e) throw X(18);
1956
1953
  return e;
1957
1954
  }
1958
- function $a(e) {
1955
+ function va(e) {
1959
1956
  var t = re.useContext(Ve), n = ne(function() {
1960
1957
  return function(r, o) {
1961
1958
  if (!r) throw X(14);
@@ -1965,21 +1962,21 @@ function $a(e) {
1965
1962
  return i;
1966
1963
  }
1967
1964
  if (Array.isArray(r) || typeof r != "object") throw X(8);
1968
- return o ? P(P({}, o), r) : r;
1965
+ return o ? A(A({}, o), r) : r;
1969
1966
  }(e.theme, t);
1970
1967
  }, [e.theme, t]);
1971
1968
  return e.children ? re.createElement(Ve.Provider, { value: n }, e.children) : null;
1972
1969
  }
1973
- var Ft = {}, cr = /* @__PURE__ */ new Set();
1974
- function Oa(e, t, n) {
1975
- var r = Cn(e), o = e, i = !Mt(e), a = t.attrs, s = a === void 0 ? Ot : a, l = t.componentId, u = l === void 0 ? function(b, N) {
1976
- var w = typeof b != "string" ? "sc" : er(b);
1977
- Ft[w] = (Ft[w] || 0) + 1;
1978
- var C = "".concat(w, "-").concat(Jr($t + w + Ft[w]));
1970
+ var Mt = {}, or = /* @__PURE__ */ new Set();
1971
+ function Ca(e, t, n) {
1972
+ var r = mn(e), o = e, i = !Lt(e), a = t.attrs, s = a === void 0 ? bt : a, l = t.componentId, u = l === void 0 ? function(b, N) {
1973
+ var w = typeof b != "string" ? "sc" : Xn(b);
1974
+ Mt[w] = (Mt[w] || 0) + 1;
1975
+ var C = "".concat(w, "-").concat(Yr(wt + w + Mt[w]));
1979
1976
  return N ? "".concat(N, "-").concat(C) : C;
1980
1977
  }(t.displayName, t.parentComponentId) : l, f = t.displayName, c = f === void 0 ? function(b) {
1981
- return Mt(b) ? "styled.".concat(b) : "Styled(".concat(Qr(b), ")");
1982
- }(e) : f, _ = t.displayName && t.componentId ? "".concat(er(t.displayName), "-").concat(t.componentId) : t.componentId || u, d = r && o.attrs ? o.attrs.concat(s).filter(Boolean) : s, g = t.shouldForwardProp;
1978
+ return Lt(b) ? "styled.".concat(b) : "Styled(".concat(qr(b), ")");
1979
+ }(e) : f, _ = t.displayName && t.componentId ? "".concat(Xn(t.displayName), "-").concat(t.componentId) : t.componentId || u, d = r && o.attrs ? o.attrs.concat(s).filter(Boolean) : s, g = t.shouldForwardProp;
1983
1980
  if (r && o.shouldForwardProp) {
1984
1981
  var y = o.shouldForwardProp;
1985
1982
  if (t.shouldForwardProp) {
@@ -1989,42 +1986,42 @@ function Oa(e, t, n) {
1989
1986
  };
1990
1987
  } else g = y;
1991
1988
  }
1992
- var m = new ba(n, _, r ? o.componentStyle : void 0);
1993
- function p(b, N) {
1994
- return function(w, C, M) {
1995
- var U = w.attrs, Ae = w.componentStyle, B = w.defaultProps, le = w.foldedComponentIds, $n = w.styledComponentId, vo = w.target, Co = re.useContext(Ve), Eo = en(), Nt = w.shouldForwardProp || Eo.shouldForwardProp;
1996
- $.NODE_ENV !== "production" && pt($n);
1997
- var On = Gi(C, Co, B) || Ne, J = function(Ke, De, Je) {
1998
- for (var Ce, ue = P(P({}, De), { className: void 0, theme: Je }), Rt = 0; Rt < Ke.length; Rt += 1) {
1999
- var Qe = ye(Ce = Ke[Rt]) ? Ce(ue) : Ce;
2000
- for (var oe in Qe) ue[oe] = oe === "className" ? _e(ue[oe], Qe[oe]) : oe === "style" ? P(P({}, ue[oe]), Qe[oe]) : Qe[oe];
1989
+ var m = new ya(n, _, r ? o.componentStyle : void 0);
1990
+ function h(b, N) {
1991
+ return function(w, C, D) {
1992
+ var U = w.attrs, Pe = w.componentStyle, B = w.defaultProps, le = w.foldedComponentIds, Sn = w.styledComponentId, ho = w.target, mo = re.useContext(Ve), go = Jt(), Ot = w.shouldForwardProp || go.shouldForwardProp;
1993
+ $.NODE_ENV !== "production" && pt(Sn);
1994
+ var En = Fi(C, mo, B) || Ne, J = function(Ke, Me, Je) {
1995
+ for (var Ce, ue = A(A({}, Me), { className: void 0, theme: Je }), Tt = 0; Tt < Ke.length; Tt += 1) {
1996
+ var Qe = ye(Ce = Ke[Tt]) ? Ce(ue) : Ce;
1997
+ for (var oe in Qe) ue[oe] = oe === "className" ? _e(ue[oe], Qe[oe]) : oe === "style" ? A(A({}, ue[oe]), Qe[oe]) : Qe[oe];
2001
1998
  }
2002
- return De.className && (ue.className = _e(ue.className, De.className)), ue;
2003
- }(U, C, On), Pe = J.as || vo, Le = {};
2004
- for (var W in J) J[W] === void 0 || W[0] === "$" || W === "as" || W === "theme" && J.theme === On || (W === "forwardedAs" ? Le.as = J.forwardedAs : Nt && !Nt(W, Pe) || (Le[W] = J[W], Nt || $.NODE_ENV !== "development" || Uo(W) || cr.has(W) || !qt.has(Pe) || (cr.add(W), console.warn('styled-components: it looks like an unknown prop "'.concat(W, '" 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.)')))));
2005
- var Tt = function(Ke, De) {
2006
- var Je = en(), Ce = Ke.generateAndInjectStyles(De, Je.styleSheet, Je.stylis);
1999
+ return Me.className && (ue.className = _e(ue.className, Me.className)), ue;
2000
+ }(U, C, En), Ae = J.as || ho, Le = {};
2001
+ for (var W in J) J[W] === void 0 || W[0] === "$" || W === "as" || W === "theme" && J.theme === En || (W === "forwardedAs" ? Le.as = J.forwardedAs : Ot && !Ot(W, Ae) || (Le[W] = J[W], Ot || $.NODE_ENV !== "development" || Lo(W) || or.has(W) || !Zt.has(Ae) || (or.add(W), console.warn('styled-components: it looks like an unknown prop "'.concat(W, '" 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.)')))));
2002
+ var kt = function(Ke, Me) {
2003
+ var Je = Jt(), Ce = Ke.generateAndInjectStyles(Me, Je.styleSheet, Je.stylis);
2007
2004
  return $.NODE_ENV !== "production" && pt(Ce), Ce;
2008
- }(Ae, J);
2009
- $.NODE_ENV !== "production" && w.warnTooManyClasses && w.warnTooManyClasses(Tt);
2010
- var It = _e(le, $n);
2011
- return Tt && (It += " " + Tt), J.className && (It += " " + J.className), Le[Mt(Pe) && !qt.has(Pe) ? "class" : "className"] = It, M && (Le.ref = M), L(Pe, Le);
2005
+ }(Pe, J);
2006
+ $.NODE_ENV !== "production" && w.warnTooManyClasses && w.warnTooManyClasses(kt);
2007
+ var Nt = _e(le, Sn);
2008
+ return kt && (Nt += " " + kt), J.className && (Nt += " " + J.className), Le[Lt(Ae) && !Zt.has(Ae) ? "class" : "className"] = Nt, D && (Le.ref = D), L(Ae, Le);
2012
2009
  }(O, b, N);
2013
2010
  }
2014
- p.displayName = c;
2015
- var O = re.forwardRef(p);
2011
+ h.displayName = c;
2012
+ var O = re.forwardRef(h);
2016
2013
  return O.attrs = d, O.componentStyle = m, O.displayName = c, O.shouldForwardProp = g, O.foldedComponentIds = r ? _e(o.foldedComponentIds, o.styledComponentId) : "", O.styledComponentId = _, O.target = r ? o.target : e, Object.defineProperty(O, "defaultProps", { get: function() {
2017
2014
  return this._foldedDefaultProps;
2018
2015
  }, set: function(b) {
2019
2016
  this._foldedDefaultProps = r ? function(N) {
2020
2017
  for (var w = [], C = 1; C < arguments.length; C++) w[C - 1] = arguments[C];
2021
- for (var M = 0, U = w; M < U.length; M++) Jt(N, U[M], !0);
2018
+ for (var D = 0, U = w; D < U.length; D++) Xt(N, U[D], !0);
2022
2019
  return N;
2023
2020
  }({}, o.defaultProps, b) : b;
2024
- } }), $.NODE_ENV !== "production" && (Wi(c, _), O.warnTooManyClasses = /* @__PURE__ */ function(b, N) {
2021
+ } }), $.NODE_ENV !== "production" && (Di(c, _), O.warnTooManyClasses = /* @__PURE__ */ function(b, N) {
2025
2022
  var w = {}, C = !1;
2026
- return function(M) {
2027
- if (!C && (w[M] = !0, Object.keys(w).length >= 200)) {
2023
+ return function(D) {
2024
+ if (!C && (w[D] = !0, Object.keys(w).length >= 200)) {
2028
2025
  var U = N ? ' with the id of "'.concat(N, '"') : "";
2029
2026
  console.warn("Over ".concat(200, " classes were generated for component ").concat(b).concat(U, `.
2030
2027
  `) + `Consider using the attrs method, together with a style object for frequently changed styles.
@@ -2038,57 +2035,57 @@ Example:
2038
2035
  <Component />`), C = !0, w = {};
2039
2036
  }
2040
2037
  };
2041
- }(c, _)), En(O, function() {
2038
+ }(c, _)), gn(O, function() {
2042
2039
  return ".".concat(O.styledComponentId);
2043
- }), i && ro(O, e, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0 }), O;
2040
+ }), i && Qr(O, e, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0 }), O;
2044
2041
  }
2045
- function lr(e, t) {
2042
+ function ir(e, t) {
2046
2043
  for (var n = [e[0]], r = 0, o = t.length; r < o; r += 1) n.push(t[r], e[r + 1]);
2047
2044
  return n;
2048
2045
  }
2049
- var ur = function(e) {
2046
+ var ar = function(e) {
2050
2047
  return Object.assign(e, { isCss: !0 });
2051
2048
  };
2052
- function wn(e) {
2049
+ function vn(e) {
2053
2050
  for (var t = [], n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];
2054
- if (ye(e) || Te(e)) return ur(pe(lr(Ot, me([e], t, !0))));
2051
+ if (ye(e) || Te(e)) return ar(he(ir(bt, me([e], t, !0))));
2055
2052
  var r = e;
2056
- return t.length === 0 && r.length === 1 && typeof r[0] == "string" ? pe(r) : ur(pe(lr(r, t)));
2053
+ return t.length === 0 && r.length === 1 && typeof r[0] == "string" ? he(r) : ar(he(ir(r, t)));
2057
2054
  }
2058
- function nn(e, t, n) {
2055
+ function en(e, t, n) {
2059
2056
  if (n === void 0 && (n = Ne), !t) throw X(1, t);
2060
2057
  var r = function(o) {
2061
2058
  for (var i = [], a = 1; a < arguments.length; a++) i[a - 1] = arguments[a];
2062
- return e(t, n, wn.apply(void 0, me([o], i, !1)));
2059
+ return e(t, n, vn.apply(void 0, me([o], i, !1)));
2063
2060
  };
2064
2061
  return r.attrs = function(o) {
2065
- return nn(e, t, P(P({}, n), { attrs: Array.prototype.concat(n.attrs, o).filter(Boolean) }));
2062
+ return en(e, t, A(A({}, n), { attrs: Array.prototype.concat(n.attrs, o).filter(Boolean) }));
2066
2063
  }, r.withConfig = function(o) {
2067
- return nn(e, t, P(P({}, n), o));
2064
+ return en(e, t, A(A({}, n), o));
2068
2065
  }, r;
2069
2066
  }
2070
- var fo = function(e) {
2071
- return nn(Oa, e);
2072
- }, z = fo;
2073
- qt.forEach(function(e) {
2074
- z[e] = fo(e);
2067
+ var so = function(e) {
2068
+ return en(Ca, e);
2069
+ }, z = so;
2070
+ Zt.forEach(function(e) {
2071
+ z[e] = so(e);
2075
2072
  });
2076
- function kt(e) {
2073
+ function $t(e) {
2077
2074
  for (var t = [], n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];
2078
2075
  $.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.");
2079
- var r = Kt(wn.apply(void 0, me([e], t, !1))), o = Jr(r);
2080
- return new tn(o, r);
2076
+ var r = qt(vn.apply(void 0, me([e], t, !1))), o = Yr(r);
2077
+ return new Qt(o, r);
2081
2078
  }
2082
2079
  $.NODE_ENV !== "production" && typeof navigator < "u" && navigator.product === "ReactNative" && console.warn(`It looks like you've imported 'styled-components' on React Native.
2083
2080
  Perhaps you're looking to import 'styled-components/native'?
2084
2081
  Read more about this at https://www.styled-components.com/docs/basics#react-native`);
2085
- var it = "__sc-".concat(ge, "__");
2086
- $.NODE_ENV !== "production" && $.NODE_ENV !== "test" && typeof window < "u" && (window[it] || (window[it] = 0), window[it] === 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.
2082
+ var ot = "__sc-".concat(ge, "__");
2083
+ $.NODE_ENV !== "production" && $.NODE_ENV !== "test" && typeof window < "u" && (window[ot] || (window[ot] = 0), window[ot] === 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.
2087
2084
 
2088
- See https://s-c.sh/2BAXzed for more info.`), window[it] += 1);
2089
- const _o = {
2085
+ See https://s-c.sh/2BAXzed for more info.`), window[ot] += 1);
2086
+ const co = {
2090
2087
  CIRCLE_SOLID: "circle-solid"
2091
- }, ka = 2, ho = 14, Na = 0.0276;
2088
+ }, Sa = 2, lo = 14, Ea = 0.0276;
2092
2089
  var ee = /* @__PURE__ */ ((e) => (e[e.S = 300] = "S", e[e.M = 400] = "M", e[e.L = 500] = "L", e[e.Default = 600] = "Default", e))(ee || {});
2093
2090
  const ze = {
2094
2091
  300: {
@@ -2111,42 +2108,42 @@ const ze = {
2111
2108
  marginLeft: 12,
2112
2109
  buttonPadding: 24
2113
2110
  }
2114
- }, Ht = {
2111
+ }, Dt = {
2115
2112
  loading: { text: "Loading. Please wait.", visible: !0 },
2116
2113
  waiting: { text: "Waiting for input...", visible: !0 }
2117
- }, Ta = {
2118
- [D.CANDIDATE_SELECTION]: "Stay still…",
2119
- [D.FACE_TOO_CLOSE]: "Move back",
2120
- [D.FACE_TOO_FAR]: "Move closer",
2121
- [D.FACE_CENTERING]: "Center your face",
2122
- [D.FACE_NOT_PRESENT]: "Position your face into the circle",
2123
- [D.SHARPNESS_TOO_LOW]: "Turn face against light",
2124
- [D.BRIGHTNESS_TOO_LOW]: "Turn face against light",
2125
- [D.BRIGHTNESS_TOO_HIGH]: "Less light needed",
2126
- [D.DEVICE_PITCHED]: "Hold your phone at eye level",
2127
- [D.LEFT_EYE_NOT_PRESENT]: "Position your face into the circle",
2128
- [D.RIGHT_EYE_NOT_PRESENT]: "Position your face into the circle",
2129
- [D.MOUTH_SCORE_TOO_HIGH]: "Keep neutral expression",
2130
- [D.MOUTH_SCORE_TOO_LOW]: "Smile :)",
2131
- [D.MOUTH_NOT_PRESENT]: "Position your face into the circle"
2132
- }, Ia = _o.CIRCLE_SOLID, Ra = {
2133
- ...Ta
2134
- }, xa = {
2135
- [ht.FACE_TOO_CLOSE]: "Move your face back",
2136
- [ht.FACE_TOO_FAR]: "Move your face closer"
2137
- }, Aa = "rgba(19, 19, 19, 0.5)", Pa = 34;
2138
- function fr(e, t) {
2139
- return Math.max(t, t + (e - 400) * Na + 2);
2140
- }
2141
- const La = (e, t = ho) => e ? e.width < e.height ? fr(e.width, t) : fr(e.height, t) : t, Da = (e) => e > ee.Default ? ze[ee.Default] : e > ee.L ? ze[ee.L] : e > ee.M ? ze[ee.M] : ze[ee.S], Ma = (e) => e ? Da(e.width) : ze[ee.Default];
2142
- function Fa() {
2114
+ }, wa = {
2115
+ [M.CANDIDATE_SELECTION]: "Stay still…",
2116
+ [M.FACE_TOO_CLOSE]: "Move back",
2117
+ [M.FACE_TOO_FAR]: "Move closer",
2118
+ [M.FACE_CENTERING]: "Center your face",
2119
+ [M.FACE_NOT_PRESENT]: "Position your face into the circle",
2120
+ [M.SHARPNESS_TOO_LOW]: "Turn face against light",
2121
+ [M.BRIGHTNESS_TOO_LOW]: "Turn face against light",
2122
+ [M.BRIGHTNESS_TOO_HIGH]: "Less light needed",
2123
+ [M.DEVICE_PITCHED]: "Hold your phone at eye level",
2124
+ [M.LEFT_EYE_NOT_PRESENT]: "Position your face into the circle",
2125
+ [M.RIGHT_EYE_NOT_PRESENT]: "Position your face into the circle",
2126
+ [M.MOUTH_SCORE_TOO_HIGH]: "Keep neutral expression",
2127
+ [M.MOUTH_SCORE_TOO_LOW]: "Smile :)",
2128
+ [M.MOUTH_NOT_PRESENT]: "Position your face into the circle"
2129
+ }, ba = co.CIRCLE_SOLID, $a = {
2130
+ ...wa
2131
+ }, Oa = {
2132
+ [_t.FACE_TOO_CLOSE]: "Move your face back",
2133
+ [_t.FACE_TOO_FAR]: "Move your face closer"
2134
+ }, ka = "rgba(19, 19, 19, 0.5)", Na = 34;
2135
+ function sr(e, t) {
2136
+ return Math.max(t, t + (e - 400) * Ea + 2);
2137
+ }
2138
+ const Ta = (e, t = lo) => e ? e.width < e.height ? sr(e.width, t) : sr(e.height, t) : t, Ia = (e) => e > ee.Default ? ze[ee.Default] : e > ee.L ? ze[ee.L] : e > ee.M ? ze[ee.M] : ze[ee.S], Ra = (e) => e ? Ia(e.width) : ze[ee.Default];
2139
+ function xa() {
2143
2140
  const e = "https://fonts.googleapis.com/css?family=Montserrat:600";
2144
2141
  if (!document.querySelector(`link[href="${e}"]`)) {
2145
2142
  const n = document.createElement("link");
2146
2143
  n.href = e, n.rel = "stylesheet", document.head.appendChild(n);
2147
2144
  }
2148
2145
  }
2149
- function Ha({
2146
+ function Pa({
2150
2147
  currentInstruction: e,
2151
2148
  escalatedInstructions: t,
2152
2149
  instructions: n
@@ -2155,8 +2152,8 @@ function Ha({
2155
2152
  if (r)
2156
2153
  return o && t && r in t ? t[r] : n[r];
2157
2154
  }
2158
- const We = $r(void 0);
2159
- We.displayName = "UiCustomizationContext";
2155
+ const We = Sr(void 0);
2156
+ We.displayName = "ConfigurationContext";
2160
2157
  function ve() {
2161
2158
  const e = Xe(We);
2162
2159
  if (!e)
@@ -2165,14 +2162,18 @@ function ve() {
2165
2162
  );
2166
2163
  return e;
2167
2164
  }
2168
- function za({ children: e, props: t, videoElementSize: n }) {
2169
- const { font: r } = uo(), o = ne(
2170
- () => ({ ...t, videoElementSize: n, fontSize: La(n, r.minimumSize) }),
2165
+ function Aa({
2166
+ children: e,
2167
+ configuration: t,
2168
+ videoElementSize: n
2169
+ }) {
2170
+ const { font: r } = ao(), o = ne(
2171
+ () => ({ ...t, videoElementSize: n, fontSize: Ta(n, r.minimumSize) }),
2171
2172
  [t, r.minimumSize, n]
2172
2173
  );
2173
- return /* @__PURE__ */ h(We.Provider, { value: o, children: e });
2174
+ return /* @__PURE__ */ p(We.Provider, { value: o, children: e });
2174
2175
  }
2175
- const po = ({ svgSize: e }) => /* @__PURE__ */ h("svg", { fill: "none", height: e, viewBox: "0 0 16 14", width: e, xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ h(
2176
+ const uo = ({ svgSize: e }) => /* @__PURE__ */ p("svg", { fill: "none", height: e, viewBox: "0 0 16 14", width: e, xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ p(
2176
2177
  "path",
2177
2178
  {
2178
2179
  clipRule: "evenodd",
@@ -2180,7 +2181,7 @@ const po = ({ svgSize: e }) => /* @__PURE__ */ h("svg", { fill: "none", height:
2180
2181
  fill: "currentColor",
2181
2182
  fillRule: "evenodd"
2182
2183
  }
2183
- ) }), Ua = z.div`
2184
+ ) }), La = z.div`
2184
2185
  width: 100%;
2185
2186
  height: 100%;
2186
2187
  top: 0;
@@ -2199,14 +2200,14 @@ const po = ({ svgSize: e }) => /* @__PURE__ */ h("svg", { fill: "none", height:
2199
2200
  aspect-ratio: 9/16;
2200
2201
  }
2201
2202
  `}
2202
- `, Ba = z.div`
2203
+ `, Ma = z.div`
2203
2204
  width: 100%;
2204
2205
  display: flex;
2205
2206
  flex-direction: column;
2206
2207
  justify-content: center;
2207
2208
  align-items: center;
2208
2209
  color: ${(e) => e.theme.colors.instructionTextColor};
2209
- `, Wa = z.p`
2210
+ `, Da = z.p`
2210
2211
  background: ${(e) => e.theme.colors.instructionColor};
2211
2212
  border-radius: 0.25em;
2212
2213
  padding: 0.583em 0.666em;
@@ -2214,14 +2215,14 @@ const po = ({ svgSize: e }) => /* @__PURE__ */ h("svg", { fill: "none", height:
2214
2215
  font-size: ${(e) => `${e.$fontSize}px`};
2215
2216
  line-height: 1em;
2216
2217
  max-width: 80%;
2217
- `, rn = ({ Icon: e, isCameraReady: t, position: n = "absolute", text: r }) => {
2218
+ `, tn = ({ Icon: e, isCameraReady: t, position: n = "absolute", text: r }) => {
2218
2219
  const { fontSize: o } = ve();
2219
- return /* @__PURE__ */ h(Ua, { $isCameraReady: t, $position: n, children: /* @__PURE__ */ h(Ba, { children: [
2220
- e ? /* @__PURE__ */ h(e, { svgSize: o * 2 }) : null,
2221
- /* @__PURE__ */ h(Wa, { $fontSize: o, children: r })
2220
+ return /* @__PURE__ */ p(La, { $isCameraReady: t, $position: n, children: /* @__PURE__ */ p(Ma, { children: [
2221
+ e ? /* @__PURE__ */ p(e, { svgSize: o * 2 }) : null,
2222
+ /* @__PURE__ */ p(Da, { $fontSize: o, children: r })
2222
2223
  ] }) });
2223
- }, mo = ({ text: e = "An unknown error has occurred" }) => /* @__PURE__ */ h(rn, { Icon: po, position: "relative", text: e });
2224
- class Ga extends V {
2224
+ }, fo = ({ text: e = "An unknown error has occurred" }) => /* @__PURE__ */ p(tn, { Icon: uo, position: "relative", text: e });
2225
+ class Fa extends V {
2225
2226
  constructor(t) {
2226
2227
  super(t), this.state = { hasError: !1 };
2227
2228
  }
@@ -2232,21 +2233,32 @@ class Ga extends V {
2232
2233
  console.error(t, n);
2233
2234
  }
2234
2235
  render() {
2235
- return this.state.hasError ? /* @__PURE__ */ h(mo, { Icon: po, isCameraReady: !1 }) : this.props.children;
2236
+ return this.state.hasError ? /* @__PURE__ */ p(fo, { Icon: uo, isCameraReady: !1 }) : this.props.children;
2236
2237
  }
2237
2238
  }
2238
- const ja = z.div`
2239
+ const Ha = z.div`
2239
2240
  font-family: ${(e) => e.theme.font.family};
2240
2241
  font-style: ${(e) => e.theme.font.style};
2241
2242
  font-weight: ${(e) => e.theme.font.weight};
2242
- `, Va = ({ children: e, uiProps: t, videoElementSize: n }) => (K(() => {
2243
- Fa();
2244
- }, []), /* @__PURE__ */ h(Ca, { target: t.styleTarget, children: /* @__PURE__ */ h($a, { theme: t.theme, children: /* @__PURE__ */ h(ja, { children: /* @__PURE__ */ h(Ga, { videoElementSize: n, children: /* @__PURE__ */ h(za, { props: t, videoElementSize: n, children: e }) }) }) }) })), Za = 0.75, Ya = 2, qa = "dot-auto-capture-video", we = (e, t) => {
2243
+ `;
2244
+ function za({
2245
+ children: e,
2246
+ uiConfiguration: t,
2247
+ videoElementSize: n
2248
+ }) {
2249
+ return K(() => {
2250
+ xa();
2251
+ }, []), /* @__PURE__ */ p(pa, { target: t.styleTarget, children: /* @__PURE__ */ p(va, { theme: t.styling.theme, children: /* @__PURE__ */ p(Ha, { children: /* @__PURE__ */ p(Fa, { videoElementSize: n, children: /* @__PURE__ */ p(Aa, { configuration: t, videoElementSize: n, children: e }) }) }) }) });
2252
+ }
2253
+ const Ua = 0.75, Ba = 2, Wa = "dot-auto-capture-video";
2254
+ function we(e, t) {
2245
2255
  const n = qe(t);
2246
2256
  K(() => {
2247
2257
  n.current = t;
2248
2258
  }, [t]), K(
2249
2259
  () => {
2260
+ if (!e)
2261
+ return;
2250
2262
  const r = (o) => n.current(o);
2251
2263
  return document.addEventListener(e, r), () => {
2252
2264
  document.removeEventListener(e, r);
@@ -2255,8 +2267,8 @@ const ja = z.div`
2255
2267
  [e]
2256
2268
  // Re-run if eventName
2257
2269
  );
2258
- };
2259
- function Xa(e) {
2270
+ }
2271
+ function ja(e) {
2260
2272
  const [t, n] = H(), r = ae(
2261
2273
  (o) => {
2262
2274
  var i;
@@ -2266,53 +2278,53 @@ function Xa(e) {
2266
2278
  );
2267
2279
  return we(e, r), Re(() => {
2268
2280
  if (!t) {
2269
- const o = document.getElementById(qa);
2281
+ const o = document.getElementById(Wa);
2270
2282
  o && n(o.getBoundingClientRect());
2271
2283
  }
2272
2284
  }, [t, n]), t;
2273
2285
  }
2274
- function Ka(e, t) {
2286
+ function Ga(e, t) {
2275
2287
  return e ? `${e}, ${t}` : t;
2276
2288
  }
2277
- const Ja = {
2289
+ const Va = {
2278
2290
  placeholderColor: "white",
2279
2291
  placeholderColorSuccess: "#00BFB2",
2280
2292
  instructionColor: "#F8FBFB",
2281
2293
  instructionColorSuccess: "#00BFB2",
2282
2294
  instructionTextColor: "#021B41;"
2283
- }, Qa = {
2295
+ }, Za = {
2284
2296
  family: "Montserrat, Arial, sans-serif",
2285
2297
  weight: "600",
2286
2298
  style: "normal",
2287
- minimumSize: ho
2288
- }, Me = {
2289
- colors: Ja,
2290
- font: Qa
2291
- }, es = (e) => {
2299
+ minimumSize: lo
2300
+ }, De = {
2301
+ colors: Va,
2302
+ font: Za
2303
+ }, Ya = (e) => {
2292
2304
  var t;
2293
2305
  return e ? {
2294
- ...Me,
2306
+ ...De,
2295
2307
  ...e,
2296
2308
  colors: {
2297
- ...Me.colors,
2309
+ ...De.colors,
2298
2310
  ...e.colors
2299
2311
  },
2300
2312
  font: {
2301
- ...Me.font,
2313
+ ...De.font,
2302
2314
  ...e.font,
2303
- family: Ka((t = e.font) == null ? void 0 : t.family, Me.font.family)
2315
+ family: Ga((t = e.font) == null ? void 0 : t.family, De.font.family)
2304
2316
  }
2305
- } : Me;
2306
- }, ts = (e) => Number.parseFloat(e.toFixed(3)), bn = (e, t) => Math.min(e, t), ns = ({ height: e, width: t }, n) => {
2307
- const r = bn(t, e) * n, o = (t - r) / 2, i = (e - r) / 2;
2317
+ } : De;
2318
+ }, qa = (e) => Number.parseFloat(e.toFixed(3)), Cn = (e, t) => Math.min(e, t), Xa = ({ height: e, width: t }, n) => {
2319
+ const r = Cn(t, e) * n, o = (t - r) / 2, i = (e - r) / 2;
2308
2320
  return {
2309
2321
  shiftX: o,
2310
2322
  shiftY: i,
2311
2323
  width: r,
2312
2324
  height: r
2313
2325
  };
2314
- }, rs = (e, t) => {
2315
- const { height: n, shiftX: r, shiftY: o, width: i } = ns(e, t);
2326
+ }, Ka = (e, t) => {
2327
+ const { height: n, shiftX: r, shiftY: o, width: i } = Xa(e, t);
2316
2328
  return {
2317
2329
  shiftX: r / e.width,
2318
2330
  shiftY: o / e.height,
@@ -2320,92 +2332,42 @@ const Ja = {
2320
2332
  height: n / e.height
2321
2333
  };
2322
2334
  };
2323
- function os(e, t) {
2324
- const n = bn(t.width, t.height);
2325
- return ts(e * n);
2335
+ function Ja(e, t) {
2336
+ const n = Cn(t.width, t.height);
2337
+ return qa(e * n);
2326
2338
  }
2327
- function is(e) {
2328
- return rs(e, Za);
2339
+ function Qa(e) {
2340
+ return Ka(e, Ua);
2329
2341
  }
2330
- function as(e, t) {
2331
- return os(e, t) * Ya;
2342
+ function es(e, t) {
2343
+ return Ja(e, t) * Ba;
2332
2344
  }
2333
- const on = (e, t) => {
2345
+ const ts = (e, t) => {
2334
2346
  document.dispatchEvent(
2335
2347
  new CustomEvent(e, {
2336
2348
  detail: t
2337
2349
  })
2338
2350
  );
2339
- }, vt = class vt {
2340
- constructor() {
2341
- et(this, "lastDetails");
2342
- et(this, "delayedTime");
2343
- this.lastDetails = {}, this.delayedTime = 0;
2344
- }
2345
- // TODO remove singleton
2346
- static getInstance() {
2347
- return this._instance || (this._instance = new vt()), this._instance;
2348
- }
2349
- restart() {
2350
- this.lastDetails = {}, this.delayedTime = 0;
2351
- }
2352
- /**
2353
- * If the detail object has changed, save the new detail object and return true. Otherwise, return
2354
- * false
2355
- * @param {string} eventName - The name of the event.
2356
- * @param detail - This is the data that is passed to the event.
2357
- * @returns a boolean value.
2358
- */
2359
- isDetailChanged(t, n) {
2360
- return JSON.stringify(n) !== JSON.stringify(this.lastDetails[t]) ? (this.lastDetails[t] = n, !0) : !1;
2361
- }
2362
- /**
2363
- * If the detail of the event has changed, dispatch the event
2364
- * @param {string} eventName - The name of the event to dispatch.
2365
- * @param detail - Record<string, unknown>
2366
- */
2367
- dispatchCustomEventOnChange(t, n) {
2368
- this.isDetailChanged(t, n) && on(t, n);
2369
- }
2370
- /**
2371
- * If the detail of the event has changed, delay time has passed, dispatch the event
2372
- * @param {string} eventName - The name of the event to dispatch.
2373
- * @param detail - Record<string, unknown>
2374
- * @param {number} delay - How long dispatch should be delayed.
2375
- */
2376
- dispatchDelayedCustomEventOnChange(t, n, r) {
2377
- const o = performance.now();
2378
- o - this.delayedTime > r && (this.dispatchCustomEventOnChange(t, n), this.delayedTime = o);
2379
- }
2380
- // implement this method in the class
2381
- dispatchCustomEvent(t, n) {
2382
- on(t, n);
2383
- }
2384
- };
2385
- // TODO remove singleton
2386
- et(vt, "_instance");
2387
- let an = vt;
2388
- an.getInstance();
2389
- const dr = (e, t) => {
2390
- on(e, {
2351
+ }, cr = (e, t) => {
2352
+ ts(e, {
2391
2353
  instruction: t
2392
2354
  });
2393
2355
  };
2394
- async function ss() {
2356
+ async function ns() {
2395
2357
  return navigator.mediaDevices.enumerateDevices();
2396
2358
  }
2397
- async function cs() {
2398
- return (await ss()).filter((t) => t.kind === "videoinput");
2359
+ async function rs() {
2360
+ return (await ns()).filter((t) => t.kind === "videoinput");
2399
2361
  }
2400
- const ls = () => {
2362
+ const os = () => {
2401
2363
  const [e, t] = H(!1);
2402
2364
  return K(() => {
2403
2365
  (async () => {
2404
- (await cs()).length > 1 && t(!0);
2366
+ (await rs()).length > 1 && t(!0);
2405
2367
  })();
2406
2368
  }, []), e;
2407
- }, us = ({ size: e }) => /* @__PURE__ */ h("svg", { fill: "none", height: e, viewBox: "0 0 52 52", width: e, xmlns: "http://www.w3.org/2000/svg", children: [
2408
- /* @__PURE__ */ h(
2369
+ }, is = ({ size: e }) => /* @__PURE__ */ p("svg", { fill: "none", height: e, viewBox: "0 0 52 52", width: e, xmlns: "http://www.w3.org/2000/svg", children: [
2370
+ /* @__PURE__ */ p(
2409
2371
  "path",
2410
2372
  {
2411
2373
  d: "M0 26C0 11.6406 11.6406 0 26 0C40.3594 0 52 11.6406 52 26C52 40.3594 40.3594 52 26 52C11.6406 52 0 40.3594 0 26Z",
@@ -2413,8 +2375,8 @@ const ls = () => {
2413
2375
  fillOpacity: "0.3"
2414
2376
  }
2415
2377
  ),
2416
- /* @__PURE__ */ h("circle", { cx: "17.5", cy: "24.5", fill: "white", r: "1.5" }),
2417
- /* @__PURE__ */ h(
2378
+ /* @__PURE__ */ p("circle", { cx: "17.5", cy: "24.5", fill: "white", r: "1.5" }),
2379
+ /* @__PURE__ */ p(
2418
2380
  "path",
2419
2381
  {
2420
2382
  d: "M15 17H16C19.5 17 23 21 23 29C22.5 29 21.5 29 20 29C20 29 20.25 33 19.5 34.5C18.75 36 16 36 16 36H15",
@@ -2422,8 +2384,8 @@ const ls = () => {
2422
2384
  strokeWidth: "2"
2423
2385
  }
2424
2386
  ),
2425
- /* @__PURE__ */ h("circle", { fill: "white", r: "1.5", transform: "matrix(-1 0 0 1 34.5 24.5)" }),
2426
- /* @__PURE__ */ h(
2387
+ /* @__PURE__ */ p("circle", { fill: "white", r: "1.5", transform: "matrix(-1 0 0 1 34.5 24.5)" }),
2388
+ /* @__PURE__ */ p(
2427
2389
  "path",
2428
2390
  {
2429
2391
  d: "M37 17H36C32.5 17 29 21 29 29C29.5 29 30.5 29 32 29C32 29 31.75 33 32.5 34.5C33.25 36 36 36 36 36H37",
@@ -2431,16 +2393,16 @@ const ls = () => {
2431
2393
  strokeWidth: "2"
2432
2394
  }
2433
2395
  )
2434
- ] }), fs = ({ size: e }) => /* @__PURE__ */ h("svg", { fill: "none", height: e, viewBox: "0 0 52 52", width: "52", xmlns: "http://www.w3.org/2000/svg", children: [
2435
- /* @__PURE__ */ h("circle", { cx: "26", cy: "26", fill: "#131313", fillOpacity: "0.3", r: "26" }),
2436
- /* @__PURE__ */ h(
2396
+ ] }), as = ({ size: e }) => /* @__PURE__ */ p("svg", { fill: "none", height: e, viewBox: "0 0 52 52", width: "52", xmlns: "http://www.w3.org/2000/svg", children: [
2397
+ /* @__PURE__ */ p("circle", { cx: "26", cy: "26", fill: "#131313", fillOpacity: "0.3", r: "26" }),
2398
+ /* @__PURE__ */ p(
2437
2399
  "path",
2438
2400
  {
2439
2401
  d: "M18 26C18 25.4477 17.5523 25 17 25C16.4477 25 16 25.4477 16 26H18ZM34 26C34 26.5523 34.4477 27 35 27C35.5523 27 36 26.5523 36 26H34ZM18.3977 19.5032C18.0387 19.923 18.0879 20.5542 18.5076 20.9132C18.9273 21.2722 19.5586 21.2229 19.9176 20.8032L18.3977 19.5032ZM33.5961 32.504C33.9555 32.0846 33.9069 31.4533 33.4875 31.094C33.0681 30.7346 32.4368 30.7832 32.0775 31.2026L33.5961 32.504ZM33.8321 24.4453C33.5257 23.9858 32.9048 23.8616 32.4453 24.1679C31.9858 24.4743 31.8616 25.0952 32.1679 25.5547L33.8321 24.4453ZM35 28L34.1679 28.5547C34.3534 28.8329 34.6656 29 35 29C35.3344 29 35.6466 28.8329 35.8321 28.5547L35 28ZM37.8321 25.5547C38.1384 25.0952 38.0142 24.4743 37.5547 24.1679C37.0952 23.8616 36.4743 23.9858 36.1679 24.4453L37.8321 25.5547ZM14.1679 26.4453C13.8616 26.9048 13.9858 27.5257 14.4453 27.8321C14.9048 28.1384 15.5257 28.0142 15.8321 27.5547L14.1679 26.4453ZM17 24L17.8321 23.4453C17.6466 23.1671 17.3344 23 17 23C16.6656 23 16.3534 23.1671 16.1679 23.4453L17 24ZM18.1679 27.5547C18.4743 28.0142 19.0952 28.1384 19.5547 27.8321C20.0142 27.5257 20.1384 26.9048 19.8321 26.4453L18.1679 27.5547ZM26 34C21.5817 34 18 30.4183 18 26H16C16 31.5228 20.4772 36 26 36V34ZM26 18C30.4183 18 34 21.5817 34 26H36C36 20.4772 31.5228 16 26 16V18ZM19.9176 20.8032C21.3864 19.0859 23.5658 18 26 18V16C22.9568 16 20.2302 17.3606 18.3977 19.5032L19.9176 20.8032ZM32.0775 31.2026C30.6087 32.9165 28.4314 34 26 34V36C29.0398 36 31.7636 34.6424 33.5961 32.504L32.0775 31.2026ZM32.1679 25.5547L34.1679 28.5547L35.8321 27.4453L33.8321 24.4453L32.1679 25.5547ZM35.8321 28.5547L37.8321 25.5547L36.1679 24.4453L34.1679 27.4453L35.8321 28.5547ZM15.8321 27.5547L17.8321 24.5547L16.1679 23.4453L14.1679 26.4453L15.8321 27.5547ZM16.1679 24.5547L18.1679 27.5547L19.8321 26.4453L17.8321 23.4453L16.1679 24.5547Z",
2440
2402
  fill: "white"
2441
2403
  }
2442
2404
  )
2443
- ] }), go = z.button`
2405
+ ] }), _o = z.button`
2444
2406
  background: none;
2445
2407
  border: none;
2446
2408
  padding: 0;
@@ -2450,36 +2412,39 @@ const ls = () => {
2450
2412
  &:disabled {
2451
2413
  cursor: not-allowed;
2452
2414
  }
2453
- `, ds = ({ marginLeft: e, size: t, ...n }) => /* @__PURE__ */ h(go, { $marginLeft: e, ...n, children: /* @__PURE__ */ h(us, { size: t }) }), _s = ({ marginLeft: e, size: t, ...n }) => /* @__PURE__ */ h(go, { $marginLeft: e, ...n, children: /* @__PURE__ */ h(fs, { size: t }) }), hs = z.div`
2415
+ `, ss = ({ marginLeft: e, size: t, ...n }) => /* @__PURE__ */ p(_o, { $marginLeft: e, ...n, children: /* @__PURE__ */ p(is, { size: t }) }), cs = ({ marginLeft: e, size: t, ...n }) => /* @__PURE__ */ p(_o, { $marginLeft: e, ...n, children: /* @__PURE__ */ p(as, { size: t }) }), ls = z.div`
2454
2416
  position: absolute;
2455
2417
  top: 0;
2456
2418
  right: 0;
2457
2419
  padding: ${(e) => `${e.$padding}px`};
2458
2420
  z-index: 2;
2459
- `, ps = ({
2421
+ `, us = ({
2460
2422
  customControlEvent: e,
2461
2423
  isSwitchCameraDisabled: t
2462
2424
  }) => {
2463
- const { showCameraButtons: n, videoElementSize: r } = ve(), o = ls();
2425
+ const {
2426
+ control: { showCameraButtons: n },
2427
+ videoElementSize: r
2428
+ } = ve(), o = os();
2464
2429
  if (!n)
2465
2430
  return null;
2466
- const { buttonPadding: i, iconSize: a, marginLeft: s } = Ma(r);
2467
- return /* @__PURE__ */ h(hs, { $padding: i, children: [
2468
- o && /* @__PURE__ */ h(_s, { disabled: t, onClick: () => {
2469
- dr(e, Rn.SWITCH_CAMERA);
2431
+ const { buttonPadding: i, iconSize: a, marginLeft: s } = Ra(r);
2432
+ return /* @__PURE__ */ p(ls, { $padding: i, children: [
2433
+ o && /* @__PURE__ */ p(cs, { disabled: t, onClick: () => {
2434
+ cr(e, kn.SWITCH_CAMERA);
2470
2435
  }, size: a }),
2471
- /* @__PURE__ */ h(
2472
- ds,
2436
+ /* @__PURE__ */ p(
2437
+ ss,
2473
2438
  {
2474
2439
  marginLeft: o ? s : 0,
2475
2440
  onClick: () => {
2476
- dr(e, Rn.TOGGLE_MIRROR);
2441
+ cr(e, kn.TOGGLE_MIRROR);
2477
2442
  },
2478
2443
  size: a
2479
2444
  }
2480
2445
  )
2481
2446
  ] });
2482
- }, ms = "2.5s", gs = "0.3s", ys = "linear", vs = kt`
2447
+ }, fs = "2.5s", ds = "0.3s", _s = "linear", ps = $t`
2483
2448
  0% {
2484
2449
  opacity: 0;
2485
2450
  }
@@ -2487,14 +2452,14 @@ const ls = () => {
2487
2452
  opacity: 1;
2488
2453
  }
2489
2454
  `;
2490
- kt`
2455
+ $t`
2491
2456
  100% {
2492
2457
  transform: translate(-50%, -50%) scale(2.6);
2493
2458
  top: 50%;
2494
2459
  left: 50%;
2495
2460
  }
2496
2461
  `;
2497
- kt`
2462
+ $t`
2498
2463
  5% {
2499
2464
  transform: translate(-50%, -50%) scale(0.7);
2500
2465
  opacity: 1;
@@ -2518,7 +2483,7 @@ kt`
2518
2483
  opacity: 0.5;
2519
2484
  }
2520
2485
  `;
2521
- kt`
2486
+ $t`
2522
2487
  5% {
2523
2488
  opacity: 1;
2524
2489
  }
@@ -2531,16 +2496,16 @@ kt`
2531
2496
  opacity: 1;
2532
2497
  }
2533
2498
  `;
2534
- const Cs = z.div`
2499
+ const hs = z.div`
2535
2500
  position: absolute;
2536
2501
  left: 50%;
2537
2502
 
2538
2503
  ${(e) => e.$cssTop ? `top: ${e.$cssTop}%;` : ""}
2539
2504
  ${(e) => e.$cssBottom ? `bottom: ${e.$cssBottom}%;` : ""}
2540
- ${(e) => e.$isAnimating && wn`
2541
- animation: ${vs} ${gs}
2542
- ${ys} both;
2543
- animation-delay: ${ms};
2505
+ ${(e) => e.$isAnimating && vn`
2506
+ animation: ${ps} ${ds}
2507
+ ${_s} both;
2508
+ animation-delay: ${fs};
2544
2509
 
2545
2510
  @media (orientation: landscape) {
2546
2511
  bottom: ${e.$cssBottom ? e.$cssBottom - 15 : ""}%;
@@ -2564,7 +2529,7 @@ const Cs = z.div`
2564
2529
  ${(e) => e.$cssTop || e.$isPortrait ? "-50%" : e.$isPortrait ? "" : "50%"}
2565
2530
  );
2566
2531
  z-index: 2;
2567
- `, Es = z.div`
2532
+ `, ms = z.div`
2568
2533
  display: flex;
2569
2534
  align-items: center;
2570
2535
  justify-content: center;
@@ -2578,7 +2543,7 @@ const Cs = z.div`
2578
2543
  line-height: 1em;
2579
2544
  font-size: ${(e) => `${e.$fontSize}px`};
2580
2545
  white-space: ${(e) => e.$wrap ? "break-spaces" : "nowrap"};
2581
- `, Ss = ({
2546
+ `, gs = ({
2582
2547
  children: e,
2583
2548
  cssBottom: t,
2584
2549
  cssTop: n,
@@ -2587,16 +2552,16 @@ const Cs = z.div`
2587
2552
  isPortrait: i
2588
2553
  }) => {
2589
2554
  const { fontSize: a } = ve();
2590
- return /* @__PURE__ */ h(Cs, { $cssBottom: t, $cssTop: n, $isAnimating: r, $isPortrait: i, children: /* @__PURE__ */ h(
2591
- Es,
2555
+ return /* @__PURE__ */ p(hs, { $cssBottom: t, $cssTop: n, $isAnimating: r, $isPortrait: i, children: /* @__PURE__ */ p(
2556
+ ms,
2592
2557
  {
2593
2558
  $fontSize: a,
2594
2559
  $isInCandidateSelection: o,
2595
- $wrap: e.length > Pa,
2560
+ $wrap: e.length > Na,
2596
2561
  children: e
2597
2562
  }
2598
2563
  ) });
2599
- }, ws = z.div`
2564
+ }, ys = z.div`
2600
2565
  color: ${(e) => e.theme.colors.instructionTextColor};
2601
2566
  animation: spin 2s linear infinite;
2602
2567
 
@@ -2605,64 +2570,64 @@ const Cs = z.div`
2605
2570
  transform: rotate(-360deg);
2606
2571
  }
2607
2572
  }
2608
- `, bs = ({ svgSize: e }) => /* @__PURE__ */ h(ws, { children: /* @__PURE__ */ h("svg", { fill: "none", height: e, viewBox: "0 0 48 48", width: e, xmlns: "http://www.w3.org/2000/svg", children: [
2609
- /* @__PURE__ */ h(
2573
+ `, vs = ({ svgSize: e }) => /* @__PURE__ */ p(ys, { children: /* @__PURE__ */ p("svg", { fill: "none", height: e, viewBox: "0 0 48 48", width: e, xmlns: "http://www.w3.org/2000/svg", children: [
2574
+ /* @__PURE__ */ p(
2610
2575
  "path",
2611
2576
  {
2612
2577
  d: "M30.9229 9.75026C30.9229 12.3736 28.7533 14.5002 26.0767 14.5002C23.4003 14.5002 21.2307 12.3736 21.2307 9.75026C21.2307 7.12664 23.4003 5 26.0767 5C28.7533 5 30.9229 7.12664 30.9229 9.75026Z",
2613
2578
  fill: "currentColor"
2614
2579
  }
2615
2580
  ),
2616
- /* @__PURE__ */ h(
2581
+ /* @__PURE__ */ p(
2617
2582
  "path",
2618
2583
  {
2619
2584
  d: "M40.6155 15.8556C40.6155 18.1044 38.7559 19.9273 36.4618 19.9273C34.1675 19.9273 32.3079 18.1044 32.3079 15.8556C32.3079 13.607 34.1675 11.7842 36.4618 11.7842C38.7559 11.7842 40.6155 13.607 40.6155 15.8556Z",
2620
2585
  fill: "currentColor"
2621
2586
  }
2622
2587
  ),
2623
- /* @__PURE__ */ h(
2588
+ /* @__PURE__ */ p(
2624
2589
  "path",
2625
2590
  {
2626
2591
  d: "M42 27.3921C42 29.2659 40.4502 30.785 38.5386 30.785C36.6267 30.785 35.0769 29.2659 35.0769 27.3921C35.0769 25.5181 36.6267 23.999 38.5386 23.999C40.4502 23.999 42 25.5181 42 27.3921Z",
2627
2592
  fill: "currentColor"
2628
2593
  }
2629
2594
  ),
2630
- /* @__PURE__ */ h(
2595
+ /* @__PURE__ */ p(
2631
2596
  "path",
2632
2597
  {
2633
2598
  d: "M35.0766 37.5712C35.0766 39.0704 33.837 40.2858 32.3075 40.2858C30.7779 40.2858 29.5383 39.0704 29.5383 37.5712C29.5383 36.0723 30.7779 34.8569 32.3075 34.8569C33.837 34.8569 35.0766 36.0723 35.0766 37.5712Z",
2634
2599
  fill: "currentColor"
2635
2600
  }
2636
2601
  ),
2637
- /* @__PURE__ */ h(
2602
+ /* @__PURE__ */ p(
2638
2603
  "path",
2639
2604
  {
2640
2605
  d: "M22.6154 40.2858C22.6154 41.7848 21.3756 43.0001 19.846 43.0001C18.3168 43.0001 17.0769 41.7848 17.0769 40.2858C17.0769 38.7866 18.3168 37.5713 19.846 37.5713C21.3756 37.5713 22.6154 38.7866 22.6154 40.2858Z",
2641
2606
  fill: "currentColor"
2642
2607
  }
2643
2608
  ),
2644
- /* @__PURE__ */ h(
2609
+ /* @__PURE__ */ p(
2645
2610
  "path",
2646
2611
  {
2647
2612
  d: "M11.5382 32.8216C11.5382 33.9457 10.6085 34.8573 9.46137 34.8573C8.31426 34.8573 7.38452 33.9457 7.38452 32.8216C7.38452 31.6972 8.31426 30.7856 9.46137 30.7856C10.6085 30.7856 11.5382 31.6972 11.5382 32.8216Z",
2648
2613
  fill: "currentColor"
2649
2614
  }
2650
2615
  ),
2651
- /* @__PURE__ */ h(
2616
+ /* @__PURE__ */ p(
2652
2617
  "path",
2653
2618
  {
2654
2619
  d: "M8.76913 21.2849C8.76913 22.0345 8.14932 22.642 7.38456 22.642C6.6198 22.642 6 22.0345 6 21.2849C6 20.5353 6.61981 19.9277 7.38456 19.9277C8.14933 19.9277 8.76913 20.5353 8.76913 21.2849Z",
2655
2620
  fill: "currentColor"
2656
2621
  }
2657
2622
  ),
2658
- /* @__PURE__ */ h(
2623
+ /* @__PURE__ */ p(
2659
2624
  "path",
2660
2625
  {
2661
2626
  d: "M15.6927 11.7844C15.6927 12.534 15.0729 13.1415 14.3081 13.1415C13.5434 13.1415 12.9236 12.534 12.9236 11.7844C12.9236 11.0348 13.5434 10.4272 14.3081 10.4272C15.0729 10.4272 15.6927 11.0348 15.6927 11.7844Z",
2662
2627
  fill: "currentColor"
2663
2628
  }
2664
2629
  )
2665
- ] }) }), $s = z.div`
2630
+ ] }) }), Cs = z.div`
2666
2631
  z-index: 1;
2667
2632
  position: absolute;
2668
2633
  // Scale up the backdrop to have space when placeholder is scaled below 1
@@ -2679,27 +2644,29 @@ const Cs = z.div`
2679
2644
  transform: scale(0.5);
2680
2645
  translate: 25% 25%;
2681
2646
  }
2682
- `, yo = ({ children: e, height: t, scale: n, width: r }) => {
2683
- const { backdropColor: o } = ve(), i = bn(r, t);
2684
- return /* @__PURE__ */ h($s, { $backdropColor: o, $scale: n, $shorterSide: i, children: /* @__PURE__ */ h("svg", { viewBox: `0 0 ${r} ${t}`, children: [
2685
- /* @__PURE__ */ h("defs", { children: /* @__PURE__ */ h("mask", { id: "mask", children: [
2686
- /* @__PURE__ */ h("rect", { fill: "#fff", height: "100%", width: "100%" }),
2687
- /* @__PURE__ */ h("g", { children: e })
2647
+ `, po = ({ children: e, height: t, scale: n, width: r }) => {
2648
+ const {
2649
+ styling: { backdropColor: o }
2650
+ } = ve(), i = Cn(r, t);
2651
+ return /* @__PURE__ */ p(Cs, { $backdropColor: o, $scale: n, $shorterSide: i, children: /* @__PURE__ */ p("svg", { viewBox: `0 0 ${r} ${t}`, children: [
2652
+ /* @__PURE__ */ p("defs", { children: /* @__PURE__ */ p("mask", { id: "mask", children: [
2653
+ /* @__PURE__ */ p("rect", { fill: "#fff", height: "100%", width: "100%" }),
2654
+ /* @__PURE__ */ p("g", { children: e })
2688
2655
  ] }) }),
2689
- /* @__PURE__ */ h("rect", { fill: o, height: "100%", mask: "url(#mask)", width: "100%" })
2656
+ /* @__PURE__ */ p("rect", { fill: o, height: "100%", mask: "url(#mask)", width: "100%" })
2690
2657
  ] }) });
2691
2658
  };
2692
- function Os({ cameraHeight: e, cameraWidth: t, isBackdrop: n, state: r }) {
2659
+ function Ss({ cameraHeight: e, cameraWidth: t, isBackdrop: n, state: r }) {
2693
2660
  const { appStateInstructions: o } = ve(), i = r === F.ERROR || r === F.RUNNING;
2694
- return !r || i || !(o != null && o[r].visible) ? null : r === F.WAITING || r === F.COMPLETE ? /* @__PURE__ */ h(G, { children: [
2695
- n && e && t && /* @__PURE__ */ h(yo, { height: e, width: t }),
2696
- /* @__PURE__ */ h(rn, { isCameraReady: !0, text: o[F.WAITING].text })
2697
- ] }) : /* @__PURE__ */ h(rn, { Icon: bs, isCameraReady: !0, text: o[F.LOADING].text });
2661
+ return !r || i || !(o != null && o[r].visible) ? null : r === F.WAITING || r === F.COMPLETE ? /* @__PURE__ */ p(j, { children: [
2662
+ n && e && t && /* @__PURE__ */ p(po, { height: e, width: t }),
2663
+ /* @__PURE__ */ p(tn, { isCameraReady: !0, text: o[F.WAITING].text })
2664
+ ] }) : /* @__PURE__ */ p(tn, { Icon: vs, isCameraReady: !0, text: o[F.LOADING].text });
2698
2665
  }
2699
- function ks({ isRounded: e, isSquare: t, ...n }) {
2700
- return e ? /* @__PURE__ */ h("rect", { fill: "#000", ...n, rx: "2%" }) : /* @__PURE__ */ h("rect", { fill: "#000", ...n, rx: t ? "0" : "50%" });
2666
+ function Es({ isRounded: e, isSquare: t, ...n }) {
2667
+ return e ? /* @__PURE__ */ p("rect", { fill: "#000", ...n, rx: "2%" }) : /* @__PURE__ */ p("rect", { fill: "#000", ...n, rx: t ? "0" : "50%" });
2701
2668
  }
2702
- const Ns = () => /* @__PURE__ */ h("svg", { fill: "none", height: "480", viewBox: "0 0 480 480", width: "480", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ h(
2669
+ const ws = () => /* @__PURE__ */ p("svg", { fill: "none", height: "480", viewBox: "0 0 480 480", width: "480", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ p(
2703
2670
  "path",
2704
2671
  {
2705
2672
  d: "M2 240C2 108.556 108.556 2 240 2C371.444 2 478 108.556 478 240C478 371.444 371.444 478 240 478C108.556 478 2 371.444 2 240Z",
@@ -2707,7 +2674,7 @@ const Ns = () => /* @__PURE__ */ h("svg", { fill: "none", height: "480", viewBox
2707
2674
  strokeLinecap: "round",
2708
2675
  strokeWidth: "4"
2709
2676
  }
2710
- ) }), Ts = z.div`
2677
+ ) }), bs = z.div`
2711
2678
  z-index: 1;
2712
2679
  position: absolute;
2713
2680
  top: ${(e) => e.$placeholderRectangle.shiftY * 100}%;
@@ -2721,15 +2688,15 @@ const Ns = () => /* @__PURE__ */ h("svg", { fill: "none", height: "480", viewBox
2721
2688
  width: 100%;
2722
2689
  height: 100%;
2723
2690
  }
2724
- `, Is = ({
2691
+ `, $s = ({
2725
2692
  children: e,
2726
2693
  className: t,
2727
2694
  isInCandidateSelection: n,
2728
2695
  onAnimationEnd: r,
2729
2696
  placeholderRectangle: o,
2730
2697
  scale: i
2731
- }) => /* @__PURE__ */ h(
2732
- Ts,
2698
+ }) => /* @__PURE__ */ p(
2699
+ bs,
2733
2700
  {
2734
2701
  $isInCandidateSelection: n,
2735
2702
  $placeholderRectangle: o,
@@ -2738,14 +2705,14 @@ const Ns = () => /* @__PURE__ */ h("svg", { fill: "none", height: "480", viewBox
2738
2705
  onAnimationEnd: r,
2739
2706
  children: e
2740
2707
  }
2741
- ), Rs = {
2742
- [_o.CIRCLE_SOLID]: /* @__PURE__ */ h(Ns, {})
2708
+ ), Os = {
2709
+ [co.CIRCLE_SOLID]: /* @__PURE__ */ p(ws, {})
2743
2710
  };
2744
- function xs({ backdropHeight: e, backdropWidth: t, placeholderRectangle: n, scale: r, ...o }) {
2711
+ function ks({ backdropHeight: e, backdropWidth: t, placeholderRectangle: n, scale: r, ...o }) {
2745
2712
  const { placeholder: i } = ve();
2746
- return /* @__PURE__ */ h(G, { children: [
2747
- /* @__PURE__ */ h(yo, { height: e, scale: r, width: t, children: /* @__PURE__ */ h(
2748
- ks,
2713
+ return /* @__PURE__ */ p(j, { children: [
2714
+ /* @__PURE__ */ p(po, { height: e, scale: r, width: t, children: /* @__PURE__ */ p(
2715
+ Es,
2749
2716
  {
2750
2717
  height: `${n.height * 100}%`,
2751
2718
  width: `${n.width * 100}%`,
@@ -2753,26 +2720,26 @@ function xs({ backdropHeight: e, backdropWidth: t, placeholderRectangle: n, scal
2753
2720
  y: `${n.shiftY * 100}%`
2754
2721
  }
2755
2722
  ) }),
2756
- /* @__PURE__ */ h(Is, { placeholderRectangle: n, scale: r, ...o, children: Rs[i] })
2723
+ /* @__PURE__ */ p($s, { placeholderRectangle: n, scale: r, ...o, children: Os[i] })
2757
2724
  ] });
2758
2725
  }
2759
- const As = /* @__PURE__ */ new Map([
2760
- [Ee.ZERO, { minFaceSizeRatio: 0.13, maxFaceSizeRatio: 0.15, scale: 0.85 }],
2761
- [Ee.ONE, { minFaceSizeRatio: 0.152, maxFaceSizeRatio: 0.172, scale: 1 }],
2762
- [Ee.TWO, { minFaceSizeRatio: 0.18, maxFaceSizeRatio: 0.205, scale: 1.18 }],
2763
- [Ee.THREE, { minFaceSizeRatio: 0.215, maxFaceSizeRatio: 0.24, scale: 1.41 }],
2764
- [Ee.FOUR, { minFaceSizeRatio: 0.245, maxFaceSizeRatio: 0.275, scale: 1.61 }],
2765
- [Ee.FIVE, { minFaceSizeRatio: 0.28, maxFaceSizeRatio: 0.34, scale: 1.84 }]
2726
+ const Ns = /* @__PURE__ */ new Map([
2727
+ [Se.ZERO, { minFaceSizeRatio: 0.13, maxFaceSizeRatio: 0.15, scale: 0.85 }],
2728
+ [Se.ONE, { minFaceSizeRatio: 0.152, maxFaceSizeRatio: 0.172, scale: 1 }],
2729
+ [Se.TWO, { minFaceSizeRatio: 0.18, maxFaceSizeRatio: 0.205, scale: 1.18 }],
2730
+ [Se.THREE, { minFaceSizeRatio: 0.215, maxFaceSizeRatio: 0.24, scale: 1.41 }],
2731
+ [Se.FOUR, { minFaceSizeRatio: 0.245, maxFaceSizeRatio: 0.275, scale: 1.61 }],
2732
+ [Se.FIVE, { minFaceSizeRatio: 0.28, maxFaceSizeRatio: 0.34, scale: 1.84 }]
2766
2733
  ]);
2767
- function Ps({
2734
+ function Ts({
2768
2735
  customEvents: e,
2769
2736
  defaultInstructionCode: t
2770
2737
  }) {
2771
2738
  const [n, r] = H(), [o, i] = H(!1), a = ae(
2772
2739
  (y) => {
2773
- var m, p;
2740
+ var m, h;
2774
2741
  r((m = y == null ? void 0 : y.detail) == null ? void 0 : m.cameraResolution);
2775
- const v = (p = y == null ? void 0 : y.detail) == null ? void 0 : p.isMirroring;
2742
+ const v = (h = y == null ? void 0 : y.detail) == null ? void 0 : h.isMirroring;
2776
2743
  v !== void 0 && i(v);
2777
2744
  },
2778
2745
  [r]
@@ -2783,11 +2750,11 @@ function Ps({
2783
2750
  isEscalated: !1
2784
2751
  }), u = ae(
2785
2752
  (y) => {
2786
- var m, p;
2753
+ var m, h;
2787
2754
  const v = y;
2788
2755
  l({
2789
2756
  code: (m = v == null ? void 0 : v.detail) == null ? void 0 : m.instructionCode,
2790
- isEscalated: ((p = v == null ? void 0 : v.detail) == null ? void 0 : p.isEscalated) ?? !1
2757
+ isEscalated: ((h = v == null ? void 0 : v.detail) == null ? void 0 : h.isEscalated) ?? !1
2791
2758
  });
2792
2759
  },
2793
2760
  [l]
@@ -2795,9 +2762,9 @@ function Ps({
2795
2762
  we(e.INSTRUCTION_CHANGED, u);
2796
2763
  const [f, c] = H(F.LOADING), [_, d] = H(), g = ae(
2797
2764
  (y) => {
2798
- var m, p;
2765
+ var m, h;
2799
2766
  c((m = y.detail) == null ? void 0 : m.appState);
2800
- const v = (p = y == null ? void 0 : y.detail) == null ? void 0 : p.error;
2767
+ const v = (h = y == null ? void 0 : y.detail) == null ? void 0 : h.error;
2801
2768
  v && d(v);
2802
2769
  },
2803
2770
  [c, d]
@@ -2810,25 +2777,25 @@ function Ps({
2810
2777
  error: _
2811
2778
  };
2812
2779
  }
2813
- function Ls() {
2814
- const e = Ps({
2815
- customEvents: je,
2816
- defaultInstructionCode: ht.FACE_NOT_PRESENT
2780
+ function Is() {
2781
+ const e = Ts({
2782
+ customEvents: Ge,
2783
+ defaultInstructionCode: _t.FACE_NOT_PRESENT
2817
2784
  }), [t, n] = H(1), r = ae((o) => {
2818
2785
  var s;
2819
2786
  const i = o, { currentMultiRangeLivenessChallengeItem: a } = i.detail;
2820
2787
  n(
2821
- ((s = As.get(a)) == null ? void 0 : s.scale) ?? 1
2788
+ ((s = Ns.get(a)) == null ? void 0 : s.scale) ?? 1
2822
2789
  );
2823
2790
  }, []);
2824
- return we(je.CHALLENGE_VALUE_CHANGED, r), K(() => {
2791
+ return we(Ge.CHALLENGE_VALUE_CHANGED, r), K(() => {
2825
2792
  e.appState !== F.RUNNING && n(1);
2826
2793
  }, [e.appState]), {
2827
2794
  ...e,
2828
2795
  faceScale: t
2829
2796
  };
2830
2797
  }
2831
- const Ds = z.canvas`
2798
+ const Rs = z.canvas`
2832
2799
  transform: ${(e) => e.$isImageMirror ? "rotateY(180deg)" : "none"};
2833
2800
  position: absolute;
2834
2801
  top: 0;
@@ -2837,19 +2804,19 @@ const Ds = z.canvas`
2837
2804
  height: 100%;
2838
2805
  z-index: 1;
2839
2806
  `;
2840
- function Ms(e) {
2807
+ function xs(e) {
2841
2808
  const t = e.getContext("2d");
2842
2809
  t && t.clearRect(0, 0, t.canvas.width, t.canvas.height);
2843
2810
  }
2844
- function Fs({ cameraResolution: e, isImageMirror: t }) {
2845
- const n = qe(null), r = uo(), [o, i] = H(), a = ae(
2811
+ function Ps({ cameraResolution: e, isImageMirror: t }) {
2812
+ const n = qe(null), r = ao(), [o, i] = H(), a = ae(
2846
2813
  (s) => {
2847
2814
  var l, u, f;
2848
2815
  i((f = (u = (l = s == null ? void 0 : s.detail) == null ? void 0 : l.detectionDetails) == null ? void 0 : u.processedImage) == null ? void 0 : f.detection);
2849
2816
  },
2850
2817
  [i]
2851
2818
  );
2852
- return we(je.DETECTION_CHANGED, a), K(() => {
2819
+ return we(Ge.DETECTION_CHANGED, a), K(() => {
2853
2820
  if (!n.current)
2854
2821
  return;
2855
2822
  const s = (l, u) => {
@@ -2859,13 +2826,13 @@ function Fs({ cameraResolution: e, isImageMirror: t }) {
2859
2826
  const { faceCenter: f, faceSize: c } = u, _ = (g = n == null ? void 0 : n.current) == null ? void 0 : g.getContext("2d");
2860
2827
  if (!_)
2861
2828
  return;
2862
- const d = as(c, l);
2863
- _.beginPath(), _.arc(f.x, f.y, d, 0, 2 * Math.PI, !1), _.lineWidth = ka, _.strokeStyle = r.colors.placeholderColor, _.stroke();
2829
+ const d = es(c, l);
2830
+ _.beginPath(), _.arc(f.x, f.y, d, 0, 2 * Math.PI, !1), _.lineWidth = Sa, _.strokeStyle = r.colors.placeholderColor, _.stroke();
2864
2831
  };
2865
- n.current.width = e.width, n.current.height = e.height, Ms(n.current), s(e, o);
2866
- }, [e, o, r.colors.placeholderColor]), /* @__PURE__ */ h(Ds, { ref: n, $isImageMirror: t });
2832
+ n.current.width = e.width, n.current.height = e.height, xs(n.current), s(e, o);
2833
+ }, [e, o, r.colors.placeholderColor]), /* @__PURE__ */ p(Rs, { ref: n, $isImageMirror: t });
2867
2834
  }
2868
- function Hs() {
2835
+ function As() {
2869
2836
  const {
2870
2837
  appState: e,
2871
2838
  cameraResolution: t,
@@ -2873,22 +2840,26 @@ function Hs() {
2873
2840
  faceScale: r,
2874
2841
  instruction: o,
2875
2842
  isMirroring: i
2876
- } = Ls(), { escalatedInstructions: a, instructions: s, showDetectionLayer: l } = ve(), u = o.code === ht.CANDIDATE_SELECTION, f = Ha({
2877
- escalatedInstructions: a,
2878
- instructions: s,
2843
+ } = Is(), {
2844
+ control: { showDetectionLayer: a },
2845
+ escalatedInstructions: s,
2846
+ instructions: l
2847
+ } = ve(), u = o.code === _t.CANDIDATE_SELECTION, f = Pa({
2848
+ escalatedInstructions: s,
2849
+ instructions: l,
2879
2850
  currentInstruction: {
2880
2851
  ...o,
2881
2852
  code: o.code
2882
2853
  }
2883
2854
  });
2884
2855
  if (e === F.ERROR)
2885
- return /* @__PURE__ */ h(mo, { text: n == null ? void 0 : n.message });
2856
+ return /* @__PURE__ */ p(fo, { text: n == null ? void 0 : n.message });
2886
2857
  if (e === F.RUNNING && t) {
2887
- const c = is(t);
2888
- return /* @__PURE__ */ h(G, { children: [
2889
- l && /* @__PURE__ */ h(Fs, { cameraResolution: t, isImageMirror: i }),
2890
- /* @__PURE__ */ h(
2891
- xs,
2858
+ const c = Qa(t);
2859
+ return /* @__PURE__ */ p(j, { children: [
2860
+ a && /* @__PURE__ */ p(Ps, { cameraResolution: t, isImageMirror: i }),
2861
+ /* @__PURE__ */ p(
2862
+ ks,
2892
2863
  {
2893
2864
  backdropHeight: t.height,
2894
2865
  backdropWidth: t.width,
@@ -2897,8 +2868,8 @@ function Hs() {
2897
2868
  scale: r
2898
2869
  }
2899
2870
  ),
2900
- f && /* @__PURE__ */ h(
2901
- Ss,
2871
+ f && /* @__PURE__ */ p(
2872
+ gs,
2902
2873
  {
2903
2874
  cssBottom: (c.height + c.shiftY) * 100,
2904
2875
  isInCandidateSelection: u,
@@ -2906,17 +2877,17 @@ function Hs() {
2906
2877
  children: f
2907
2878
  }
2908
2879
  ),
2909
- /* @__PURE__ */ h(
2910
- ps,
2880
+ /* @__PURE__ */ p(
2881
+ us,
2911
2882
  {
2912
- customControlEvent: je.CONTROL,
2883
+ customControlEvent: Ge.CONTROL,
2913
2884
  isSwitchCameraDisabled: u
2914
2885
  }
2915
2886
  )
2916
2887
  ] });
2917
2888
  }
2918
- return /* @__PURE__ */ h(
2919
- Os,
2889
+ return /* @__PURE__ */ p(
2890
+ Ss,
2920
2891
  {
2921
2892
  cameraHeight: t == null ? void 0 : t.height,
2922
2893
  cameraWidth: t == null ? void 0 : t.width,
@@ -2925,29 +2896,43 @@ function Hs() {
2925
2896
  }
2926
2897
  );
2927
2898
  }
2928
- function zs(e) {
2929
- var u, f, c;
2930
- const t = { ...Ra, ...e == null ? void 0 : e.instructions }, n = {
2931
- ...xa,
2899
+ function Ls(e) {
2900
+ var s, l, u, f, c, _, d;
2901
+ const t = { ...$a, ...e == null ? void 0 : e.instructions }, n = {
2902
+ ...Oa,
2932
2903
  ...e == null ? void 0 : e.escalatedInstructions
2933
2904
  }, r = {
2934
- [F.LOADING]: { ...Ht.loading, ...(u = e == null ? void 0 : e.appStateInstructions) == null ? void 0 : u.loading },
2935
- [F.WAITING]: { ...Ht.waiting, ...(f = e == null ? void 0 : e.appStateInstructions) == null ? void 0 : f.waiting },
2936
- [F.COMPLETE]: { ...Ht.waiting, ...(c = e == null ? void 0 : e.appStateInstructions) == null ? void 0 : c.waiting }
2937
- }, o = (e == null ? void 0 : e.placeholder) ?? Ia, i = (e == null ? void 0 : e.backdropColor) ?? Aa, a = (e == null ? void 0 : e.showDetectionLayer) ?? !1, s = (e == null ? void 0 : e.showCameraButtons) ?? !1, l = es(e == null ? void 0 : e.theme);
2905
+ [F.LOADING]: {
2906
+ ...Dt.loading,
2907
+ ...(s = e == null ? void 0 : e.appStateInstructions) == null ? void 0 : s.loading
2908
+ },
2909
+ [F.WAITING]: {
2910
+ ...Dt.waiting,
2911
+ ...(l = e == null ? void 0 : e.appStateInstructions) == null ? void 0 : l.waiting
2912
+ },
2913
+ [F.COMPLETE]: {
2914
+ ...Dt.waiting,
2915
+ ...(u = e == null ? void 0 : e.appStateInstructions) == null ? void 0 : u.waiting
2916
+ }
2917
+ }, o = {
2918
+ ...e == null ? void 0 : e.styling,
2919
+ backdropColor: ((f = e == null ? void 0 : e.styling) == null ? void 0 : f.backdropColor) ?? ka,
2920
+ theme: Ya((c = e == null ? void 0 : e.styling) == null ? void 0 : c.theme)
2921
+ }, i = {
2922
+ showCameraButtons: ((_ = e == null ? void 0 : e.control) == null ? void 0 : _.showCameraButtons) ?? !1,
2923
+ showDetectionLayer: ((d = e == null ? void 0 : e.control) == null ? void 0 : d.showDetectionLayer) ?? !1
2924
+ }, a = (e == null ? void 0 : e.placeholder) ?? ba;
2938
2925
  return {
2939
2926
  instructions: t,
2940
2927
  appStateInstructions: r,
2941
- placeholder: o,
2942
- showDetectionLayer: a,
2943
- showCameraButtons: s,
2944
- theme: l,
2945
- escalatedInstructions: n,
2946
- backdropColor: i
2928
+ placeholder: a,
2929
+ styling: o,
2930
+ control: i,
2931
+ escalatedInstructions: n
2947
2932
  };
2948
2933
  }
2949
- function Us({ props: e }) {
2950
- const t = Xa(je.VIDEO_ELEMENT_SIZE);
2951
- return /* @__PURE__ */ h(Va, { uiProps: zs(e), videoElementSize: t, children: /* @__PURE__ */ h(Hs, {}) });
2934
+ function Ms({ configuration: e }) {
2935
+ const t = ja(Ge.VIDEO_ELEMENT_SIZE);
2936
+ return /* @__PURE__ */ p(za, { uiConfiguration: Ls(e), videoElementSize: t, children: /* @__PURE__ */ p(As, {}) });
2952
2937
  }
2953
- Lo(Us, "x-dot-multi-range-liveness-ui", ["props"]);
2938
+ To(Ms, "x-dot-multi-range-liveness-ui", ["configuration"]);