@ahmed_hani/dot-auto-capture-ui 7.4.0 → 7.7.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.
@@ -1,12 +1,12 @@
1
- var No = Object.defineProperty;
2
- var Io = (e, t, n) => t in e ? No(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var tt = (e, t, n) => Io(e, typeof t != "symbol" ? t + "" : t, n);
4
- var Ze, v, vr, de, On, Cr, Sr, wr, an, Ft, Bt, Er, Ge = {}, br = [], To = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Xe = Array.isArray;
1
+ var Io = Object.defineProperty;
2
+ var To = (e, t, n) => t in e ? Io(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
+ var tt = (e, t, n) => To(e, typeof t != "symbol" ? t + "" : t, n);
4
+ var Ze, v, Cr, de, Nn, Sr, wr, Er, cn, Ft, Bt, br, Ge = {}, $r = [], xo = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Xe = Array.isArray;
5
5
  function q(e, t) {
6
6
  for (var n in t) e[n] = t[n];
7
7
  return e;
8
8
  }
9
- function cn(e) {
9
+ function ln(e) {
10
10
  e && e.parentNode && e.parentNode.removeChild(e);
11
11
  }
12
12
  function D(e, t, n) {
@@ -16,13 +16,13 @@ function D(e, t, n) {
16
16
  return We(e, s, r, o, null);
17
17
  }
18
18
  function We(e, t, n, r, o) {
19
- var i = { type: e, props: t, key: n, ref: r, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: o ?? ++vr, __i: -1, __u: 0 };
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 ?? ++Cr, __i: -1, __u: 0 };
20
20
  return o == null && v.vnode != null && v.vnode(i), i;
21
21
  }
22
- function xo() {
22
+ function Ao() {
23
23
  return { current: null };
24
24
  }
25
- function j(e) {
25
+ function z(e) {
26
26
  return e.children;
27
27
  }
28
28
  function G(e, t) {
@@ -33,38 +33,38 @@ function $e(e, t) {
33
33
  for (var n; t < e.__k.length; t++) if ((n = e.__k[t]) != null && n.__e != null) return n.__e;
34
34
  return typeof e.type == "function" ? $e(e) : null;
35
35
  }
36
- function $r(e) {
36
+ function kr(e) {
37
37
  var t, n;
38
38
  if ((e = e.__) != null && e.__c != null) {
39
39
  for (e.__e = e.__c.base = null, t = 0; t < e.__k.length; t++) if ((n = e.__k[t]) != null && n.__e != null) {
40
40
  e.__e = e.__c.base = n.__e;
41
41
  break;
42
42
  }
43
- return $r(e);
43
+ return kr(e);
44
44
  }
45
45
  }
46
46
  function Wt(e) {
47
- (!e.__d && (e.__d = !0) && de.push(e) && !ht.__r++ || On != v.debounceRendering) && ((On = v.debounceRendering) || Cr)(ht);
47
+ (!e.__d && (e.__d = !0) && de.push(e) && !_t.__r++ || Nn != v.debounceRendering) && ((Nn = v.debounceRendering) || Sr)(_t);
48
48
  }
49
- function ht() {
50
- for (var e, t, n, r, o, i, s, c = 1; de.length; ) de.length > c && de.sort(Sr), e = de.shift(), c = de.length, e.__d && (n = void 0, o = (r = (t = e).__v).__e, i = [], s = [], t.__P && ((n = q({}, r)).__v = r.__v + 1, v.vnode && v.vnode(n), ln(t.__P, n, r, t.__n, t.__P.namespaceURI, 32 & r.__u ? [o] : null, i, o ?? $e(r), !!(32 & r.__u), s), n.__v = r.__v, n.__.__k[n.__i] = n, Nr(i, n, s), n.__e != o && $r(n)));
51
- ht.__r = 0;
49
+ function _t() {
50
+ for (var e, t, n, r, o, i, s, c = 1; de.length; ) de.length > c && de.sort(wr), e = de.shift(), c = de.length, e.__d && (n = void 0, o = (r = (t = e).__v).__e, i = [], s = [], t.__P && ((n = q({}, r)).__v = r.__v + 1, v.vnode && v.vnode(n), un(t.__P, n, r, t.__n, t.__P.namespaceURI, 32 & r.__u ? [o] : null, i, o ?? $e(r), !!(32 & r.__u), s), n.__v = r.__v, n.__.__k[n.__i] = n, Ir(i, n, s), n.__e != o && kr(n)));
51
+ _t.__r = 0;
52
52
  }
53
- function kr(e, t, n, r, o, i, s, c, a, u, d) {
54
- var l, h, _, g, w, $, m = r && r.__k || br, p = t.length;
55
- for (a = Ao(n, t, m, a, p), l = 0; l < p; l++) (_ = n.__k[l]) != null && (h = _.__i == -1 ? Ge : m[_.__i] || Ge, _.__i = l, $ = ln(e, _, h, o, i, s, c, a, u, d), g = _.__e, _.ref && h.ref != _.ref && (h.ref && un(h.ref, null, _), d.push(_.ref, _.__c || g, _)), w == null && g != null && (w = g), 4 & _.__u || h.__k === _.__k ? a = Or(_, a, e) : typeof _.type == "function" && $ !== void 0 ? a = $ : g && (a = g.nextSibling), _.__u &= -7);
53
+ function Or(e, t, n, r, o, i, s, c, a, u, d) {
54
+ var l, _, h, g, w, $, m = r && r.__k || $r, p = t.length;
55
+ for (a = Ro(n, t, m, a, p), l = 0; l < p; l++) (h = n.__k[l]) != null && (_ = h.__i == -1 ? Ge : m[h.__i] || Ge, h.__i = l, $ = un(e, h, _, o, i, s, c, a, u, d), g = h.__e, h.ref && _.ref != h.ref && (_.ref && fn(_.ref, null, h), d.push(h.ref, h.__c || g, h)), w == null && g != null && (w = g), 4 & h.__u || _.__k === h.__k ? a = Nr(h, a, e) : typeof h.type == "function" && $ !== void 0 ? a = $ : g && (a = g.nextSibling), h.__u &= -7);
56
56
  return n.__e = w, a;
57
57
  }
58
- function Ao(e, t, n, r, o) {
59
- var i, s, c, a, u, d = n.length, l = d, h = 0;
60
- for (e.__k = new Array(o), i = 0; i < o; i++) (s = t[i]) != null && typeof s != "boolean" && typeof s != "function" ? (a = i + h, (s = e.__k[i] = typeof s == "string" || typeof s == "number" || typeof s == "bigint" || s.constructor == String ? We(null, s, null, null, null) : Xe(s) ? We(j, { children: s }, null, null, null) : s.constructor == null && s.__b > 0 ? We(s.type, s.props, s.key, s.ref ? s.ref : null, s.__v) : s).__ = e, s.__b = e.__b + 1, c = null, (u = s.__i = Ro(s, n, a, l)) != -1 && (l--, (c = n[u]) && (c.__u |= 2)), c == null || c.__v == null ? (u == -1 && (o > d ? h-- : o < d && h++), typeof s.type != "function" && (s.__u |= 4)) : u != a && (u == a - 1 ? h-- : u == a + 1 ? h++ : (u > a ? h-- : h++, s.__u |= 4))) : e.__k[i] = null;
61
- if (l) for (i = 0; i < d; i++) (c = n[i]) != null && (2 & c.__u) == 0 && (c.__e == r && (r = $e(c)), Tr(c, c));
58
+ function Ro(e, t, n, r, o) {
59
+ var i, s, c, a, u, d = n.length, l = d, _ = 0;
60
+ for (e.__k = new Array(o), i = 0; i < o; i++) (s = t[i]) != null && typeof s != "boolean" && typeof s != "function" ? (a = i + _, (s = e.__k[i] = typeof s == "string" || typeof s == "number" || typeof s == "bigint" || s.constructor == String ? We(null, s, null, null, null) : Xe(s) ? We(z, { children: s }, null, null, null) : s.constructor == null && s.__b > 0 ? We(s.type, s.props, s.key, s.ref ? s.ref : null, s.__v) : s).__ = e, s.__b = e.__b + 1, c = null, (u = s.__i = Lo(s, n, a, l)) != -1 && (l--, (c = n[u]) && (c.__u |= 2)), c == null || c.__v == null ? (u == -1 && (o > d ? _-- : o < d && _++), typeof s.type != "function" && (s.__u |= 4)) : u != a && (u == a - 1 ? _-- : u == a + 1 ? _++ : (u > a ? _-- : _++, s.__u |= 4))) : e.__k[i] = null;
61
+ if (l) for (i = 0; i < d; i++) (c = n[i]) != null && (2 & c.__u) == 0 && (c.__e == r && (r = $e(c)), xr(c, c));
62
62
  return r;
63
63
  }
64
- function Or(e, t, n) {
64
+ function Nr(e, t, n) {
65
65
  var r, o;
66
66
  if (typeof e.type == "function") {
67
- for (r = e.__k, o = 0; r && o < r.length; o++) r[o] && (r[o].__ = e, t = Or(r[o], t, n));
67
+ for (r = e.__k, o = 0; r && o < r.length; o++) r[o] && (r[o].__ = e, t = Nr(r[o], t, n));
68
68
  return t;
69
69
  }
70
70
  e.__e != t && (t && e.type && !n.contains(t) && (t = $e(e)), n.insertBefore(e.__e, t || null), t = e.__e);
@@ -78,7 +78,7 @@ function te(e, t) {
78
78
  te(n, t);
79
79
  }) : t.push(e)), t;
80
80
  }
81
- function Ro(e, t, n, r) {
81
+ function Lo(e, t, n, r) {
82
82
  var o, i, s = e.key, c = e.type, a = t[n];
83
83
  if (a === null && e.key == null || a && s == a.key && c == a.type && (2 & a.__u) == 0) return n;
84
84
  if (r > (a != null && (2 & a.__u) == 0 ? 1 : 0)) for (o = n - 1, i = n + 1; o >= 0 || i < t.length; ) {
@@ -93,17 +93,17 @@ function Ro(e, t, n, r) {
93
93
  }
94
94
  return -1;
95
95
  }
96
- function Nn(e, t, n) {
97
- t[0] == "-" ? e.setProperty(t, n ?? "") : e[t] = n == null ? "" : typeof n != "number" || To.test(t) ? n : n + "px";
96
+ function In(e, t, n) {
97
+ t[0] == "-" ? e.setProperty(t, n ?? "") : e[t] = n == null ? "" : typeof n != "number" || xo.test(t) ? n : n + "px";
98
98
  }
99
99
  function nt(e, t, n, r, o) {
100
100
  var i;
101
101
  e: if (t == "style") if (typeof n == "string") e.style.cssText = n;
102
102
  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]);
103
+ if (typeof r == "string" && (e.style.cssText = r = ""), r) for (t in r) n && t in n || In(e.style, t, "");
104
+ if (n) for (t in n) r && n[t] == r[t] || In(e.style, t, n[t]);
105
105
  }
106
- else if (t[0] == "o" && t[1] == "n") i = t != (t = t.replace(wr, "$1")), t = t.toLowerCase() in e || t == "onFocusOut" || t == "onFocusIn" ? t.toLowerCase().slice(2) : t.slice(2), e.l || (e.l = {}), e.l[t + i] = n, n ? r ? n.u = r.u : (n.u = an, e.addEventListener(t, i ? Bt : Ft, i)) : e.removeEventListener(t, i ? Bt : Ft, i);
106
+ else if (t[0] == "o" && t[1] == "n") i = t != (t = t.replace(Er, "$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 = cn, e.addEventListener(t, i ? Bt : Ft, i)) : e.removeEventListener(t, i ? Bt : Ft, i);
107
107
  else {
108
108
  if (o == "http://www.w3.org/2000/svg") t = t.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
109
109
  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,24 +114,24 @@ function nt(e, t, n, r, o) {
114
114
  typeof n == "function" || (n == null || n === !1 && t[4] != "-" ? e.removeAttribute(t) : e.setAttribute(t, t == "popover" && n == 1 ? "" : n));
115
115
  }
116
116
  }
117
- function In(e) {
117
+ function Tn(e) {
118
118
  return function(t) {
119
119
  if (this.l) {
120
120
  var n = this.l[t.type + e];
121
- if (t.t == null) t.t = an++;
121
+ if (t.t == null) t.t = cn++;
122
122
  else if (t.t < n.u) return;
123
123
  return n(v.event ? v.event(t) : t);
124
124
  }
125
125
  };
126
126
  }
127
- function ln(e, t, n, r, o, i, s, c, a, u) {
128
- var d, l, h, _, g, w, $, m, p, k, E, N, S, y, H, F, Le, B = t.type;
127
+ function un(e, t, n, r, o, i, s, c, a, u) {
128
+ var d, l, _, h, g, w, $, m, p, k, E, N, S, y, H, F, Le, B = t.type;
129
129
  if (t.constructor != null) return null;
130
130
  128 & n.__u && (a = !!(32 & n.__u), i = [c = t.__e = n.__e]), (d = v.__b) && d(t);
131
131
  e: if (typeof B == "function") try {
132
- if (m = t.props, p = "prototype" in B && B.prototype.render, k = (d = B.contextType) && r[d.__c], E = d ? k ? k.props.value : d.__ : r, n.__c ? $ = (l = t.__c = n.__c).__ = l.__E : (p ? t.__c = l = new B(m, E) : (t.__c = l = new G(m, E), l.constructor = B, l.render = Po), k && k.sub(l), l.props = m, l.state || (l.state = {}), l.context = E, l.__n = r, h = l.__d = !0, l.__h = [], l._sb = []), p && l.__s == null && (l.__s = l.state), p && B.getDerivedStateFromProps != null && (l.__s == l.state && (l.__s = q({}, l.__s)), q(l.__s, B.getDerivedStateFromProps(m, l.__s))), _ = l.props, g = l.state, l.__v = t, h) p && B.getDerivedStateFromProps == null && l.componentWillMount != null && l.componentWillMount(), p && l.componentDidMount != null && l.__h.push(l.componentDidMount);
132
+ if (m = t.props, p = "prototype" in B && B.prototype.render, k = (d = B.contextType) && r[d.__c], E = d ? k ? k.props.value : d.__ : r, n.__c ? $ = (l = t.__c = n.__c).__ = l.__E : (p ? t.__c = l = new B(m, E) : (t.__c = l = new G(m, E), l.constructor = B, l.render = Do), k && k.sub(l), l.props = m, l.state || (l.state = {}), l.context = E, l.__n = r, _ = l.__d = !0, l.__h = [], l._sb = []), p && l.__s == null && (l.__s = l.state), p && B.getDerivedStateFromProps != null && (l.__s == l.state && (l.__s = q({}, l.__s)), q(l.__s, B.getDerivedStateFromProps(m, l.__s))), h = l.props, g = l.state, l.__v = t, _) p && B.getDerivedStateFromProps == null && l.componentWillMount != null && l.componentWillMount(), p && l.componentDidMount != null && l.__h.push(l.componentDidMount);
133
133
  else {
134
- if (p && B.getDerivedStateFromProps == null && m !== _ && l.componentWillReceiveProps != null && l.componentWillReceiveProps(m, E), !l.__e && l.shouldComponentUpdate != null && l.shouldComponentUpdate(m, l.__s, E) === !1 || t.__v == n.__v) {
134
+ if (p && B.getDerivedStateFromProps == null && m !== h && l.componentWillReceiveProps != null && l.componentWillReceiveProps(m, E), !l.__e && l.shouldComponentUpdate != null && l.shouldComponentUpdate(m, l.__s, E) === !1 || t.__v == n.__v) {
135
135
  for (t.__v != n.__v && (l.props = m, l.state = l.__s, l.__d = !1), t.__e = n.__e, t.__k = n.__k, t.__k.some(function(ue) {
136
136
  ue && (ue.__ = t);
137
137
  }), N = 0; N < l._sb.length; N++) l.__h.push(l._sb[N]);
@@ -139,7 +139,7 @@ function ln(e, t, n, r, o, i, s, c, a, u) {
139
139
  break e;
140
140
  }
141
141
  l.componentWillUpdate != null && l.componentWillUpdate(m, l.__s, E), p && l.componentDidUpdate != null && l.__h.push(function() {
142
- l.componentDidUpdate(_, g, w);
142
+ l.componentDidUpdate(h, g, w);
143
143
  });
144
144
  }
145
145
  if (l.context = E, l.props = m, l.__P = e, l.__e = !1, S = v.__r, y = 0, p) {
@@ -148,20 +148,20 @@ function ln(e, t, n, r, o, i, s, c, a, u) {
148
148
  } else do
149
149
  l.__d = !1, S && S(t), d = l.render(l.props, l.state, l.context), l.state = l.__s;
150
150
  while (l.__d && ++y < 25);
151
- l.state = l.__s, l.getChildContext != null && (r = q(q({}, r), l.getChildContext())), p && !h && l.getSnapshotBeforeUpdate != null && (w = l.getSnapshotBeforeUpdate(_, g)), F = d, d != null && d.type === j && d.key == null && (F = Ir(d.props.children)), c = kr(e, Xe(F) ? F : [F], t, n, r, o, i, s, c, a, u), l.base = t.__e, t.__u &= -161, l.__h.length && s.push(l), $ && (l.__E = l.__ = null);
151
+ l.state = l.__s, l.getChildContext != null && (r = q(q({}, r), l.getChildContext())), p && !_ && l.getSnapshotBeforeUpdate != null && (w = l.getSnapshotBeforeUpdate(h, g)), F = d, d != null && d.type === z && d.key == null && (F = Tr(d.props.children)), c = Or(e, Xe(F) ? F : [F], t, n, r, o, i, s, c, a, u), l.base = t.__e, t.__u &= -161, l.__h.length && s.push(l), $ && (l.__E = l.__ = null);
152
152
  } catch (ue) {
153
153
  if (t.__v = null, a || i != null) if (ue.then) {
154
154
  for (t.__u |= a ? 160 : 128; c && c.nodeType == 8 && c.nextSibling; ) c = c.nextSibling;
155
155
  i[i.indexOf(c)] = null, t.__e = c;
156
- } else for (Le = i.length; Le--; ) cn(i[Le]);
156
+ } else for (Le = i.length; Le--; ) ln(i[Le]);
157
157
  else t.__e = n.__e, t.__k = n.__k;
158
158
  v.__e(ue, t, n);
159
159
  }
160
- else i == null && t.__v == n.__v ? (t.__k = n.__k, t.__e = n.__e) : c = t.__e = Lo(n.__e, t, n, r, o, i, s, a, u);
160
+ else i == null && t.__v == n.__v ? (t.__k = n.__k, t.__e = n.__e) : c = t.__e = Po(n.__e, t, n, r, o, i, s, a, u);
161
161
  return (d = v.diffed) && d(t), 128 & t.__u ? void 0 : c;
162
162
  }
163
- function Nr(e, t, n) {
164
- for (var r = 0; r < n.length; r++) un(n[r], n[++r], n[++r]);
163
+ function Ir(e, t, n) {
164
+ for (var r = 0; r < n.length; r++) fn(n[r], n[++r], n[++r]);
165
165
  v.__c && v.__c(t, e), e.some(function(o) {
166
166
  try {
167
167
  e = o.__h, o.__h = [], e.some(function(i) {
@@ -172,14 +172,14 @@ function Nr(e, t, n) {
172
172
  }
173
173
  });
174
174
  }
175
- function Ir(e) {
176
- return typeof e != "object" || e == null || e.__b && e.__b > 0 ? e : Xe(e) ? e.map(Ir) : q({}, e);
175
+ function Tr(e) {
176
+ return typeof e != "object" || e == null || e.__b && e.__b > 0 ? e : Xe(e) ? e.map(Tr) : q({}, e);
177
177
  }
178
- function Lo(e, t, n, r, o, i, s, c, a) {
179
- var u, d, l, h, _, g, w, $ = n.props, m = t.props, p = t.type;
178
+ function Po(e, t, n, r, o, i, s, c, a) {
179
+ var u, d, l, _, h, g, w, $ = n.props, m = t.props, p = t.type;
180
180
  if (p == "svg" ? o = "http://www.w3.org/2000/svg" : p == "math" ? o = "http://www.w3.org/1998/Math/MathML" : o || (o = "http://www.w3.org/1999/xhtml"), i != null) {
181
- for (u = 0; u < i.length; u++) if ((_ = i[u]) && "setAttribute" in _ == !!p && (p ? _.localName == p : _.nodeType == 3)) {
182
- e = _, i[u] = null;
181
+ for (u = 0; u < i.length; u++) if ((h = i[u]) && "setAttribute" in h == !!p && (p ? h.localName == p : h.nodeType == 3)) {
182
+ e = h, i[u] = null;
183
183
  break;
184
184
  }
185
185
  }
@@ -189,22 +189,22 @@ function Lo(e, t, n, r, o, i, s, c, a) {
189
189
  }
190
190
  if (p == null) $ === m || c && e.data == m || (e.data = m);
191
191
  else {
192
- if (i = i && Ze.call(e.childNodes), $ = n.props || Ge, !c && i != null) for ($ = {}, u = 0; u < e.attributes.length; u++) $[(_ = e.attributes[u]).name] = _.value;
193
- for (u in $) if (_ = $[u], u != "children") {
194
- if (u == "dangerouslySetInnerHTML") l = _;
192
+ if (i = i && Ze.call(e.childNodes), $ = n.props || Ge, !c && i != null) for ($ = {}, u = 0; u < e.attributes.length; u++) $[(h = e.attributes[u]).name] = h.value;
193
+ for (u in $) if (h = $[u], u != "children") {
194
+ if (u == "dangerouslySetInnerHTML") l = h;
195
195
  else if (!(u in m)) {
196
196
  if (u == "value" && "defaultValue" in m || u == "checked" && "defaultChecked" in m) continue;
197
- nt(e, u, null, _, o);
197
+ nt(e, u, null, h, o);
198
198
  }
199
199
  }
200
- for (u in m) _ = m[u], u == "children" ? h = _ : u == "dangerouslySetInnerHTML" ? d = _ : u == "value" ? g = _ : u == "checked" ? w = _ : c && typeof _ != "function" || $[u] === _ || nt(e, u, _, $[u], o);
200
+ for (u in m) h = m[u], u == "children" ? _ = h : u == "dangerouslySetInnerHTML" ? d = h : u == "value" ? g = h : u == "checked" ? w = h : c && typeof h != "function" || $[u] === h || nt(e, u, h, $[u], o);
201
201
  if (d) c || l && (d.__html == l.__html || d.__html == e.innerHTML) || (e.innerHTML = d.__html), t.__k = [];
202
- else if (l && (e.innerHTML = ""), kr(t.type == "template" ? e.content : e, Xe(h) ? h : [h], t, n, r, p == "foreignObject" ? "http://www.w3.org/1999/xhtml" : o, i, s, i ? i[0] : n.__k && $e(n, 0), c, a), i != null) for (u = i.length; u--; ) cn(i[u]);
202
+ else if (l && (e.innerHTML = ""), Or(t.type == "template" ? e.content : e, Xe(_) ? _ : [_], t, n, r, p == "foreignObject" ? "http://www.w3.org/1999/xhtml" : o, i, s, i ? i[0] : n.__k && $e(n, 0), c, a), i != null) for (u = i.length; u--; ) ln(i[u]);
203
203
  c || (u = "value", p == "progress" && g == null ? e.removeAttribute("value") : g != null && (g !== e[u] || p == "progress" && !g || p == "option" && g != $[u]) && nt(e, u, g, $[u], o), u = "checked", w != null && w != e[u] && nt(e, u, w, $[u], o));
204
204
  }
205
205
  return e;
206
206
  }
207
- function un(e, t, n) {
207
+ function fn(e, t, n) {
208
208
  try {
209
209
  if (typeof e == "function") {
210
210
  var r = typeof e.__u == "function";
@@ -214,9 +214,9 @@ function un(e, t, n) {
214
214
  v.__e(o, n);
215
215
  }
216
216
  }
217
- function Tr(e, t, n) {
217
+ function xr(e, t, n) {
218
218
  var r, o;
219
- if (v.unmount && v.unmount(e), (r = e.ref) && (r.current && r.current != e.__e || un(r, null, t)), (r = e.__c) != null) {
219
+ if (v.unmount && v.unmount(e), (r = e.ref) && (r.current && r.current != e.__e || fn(r, null, t)), (r = e.__c) != null) {
220
220
  if (r.componentWillUnmount) try {
221
221
  r.componentWillUnmount();
222
222
  } catch (i) {
@@ -224,25 +224,25 @@ function Tr(e, t, n) {
224
224
  }
225
225
  r.base = r.__P = null;
226
226
  }
227
- if (r = e.__k) for (o = 0; o < r.length; o++) r[o] && Tr(r[o], t, n || typeof e.type != "function");
228
- n || cn(e.__e), e.__c = e.__ = e.__e = void 0;
227
+ if (r = e.__k) for (o = 0; o < r.length; o++) r[o] && xr(r[o], t, n || typeof e.type != "function");
228
+ n || ln(e.__e), e.__c = e.__ = e.__e = void 0;
229
229
  }
230
- function Po(e, t, n) {
230
+ function Do(e, t, n) {
231
231
  return this.constructor(e, n);
232
232
  }
233
233
  function ae(e, t, n) {
234
234
  var r, o, i, s;
235
- t == document && (t = document.documentElement), v.__ && v.__(e, t), o = (r = typeof n == "function") ? null : n && n.__k || t.__k, i = [], s = [], ln(t, e = (!r && n || t).__k = D(j, 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, s), Nr(i, e, s);
235
+ t == document && (t = document.documentElement), v.__ && v.__(e, t), o = (r = typeof n == "function") ? null : n && n.__k || t.__k, i = [], s = [], un(t, e = (!r && n || t).__k = D(z, 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, s), Ir(i, e, s);
236
236
  }
237
- function fn(e, t) {
238
- ae(e, t, fn);
237
+ function dn(e, t) {
238
+ ae(e, t, dn);
239
239
  }
240
- function dn(e, t, n) {
240
+ function hn(e, t, n) {
241
241
  var r, o, i, s, c = q({}, e.props);
242
242
  for (i in e.type && e.type.defaultProps && (s = e.type.defaultProps), t) i == "key" ? r = t[i] : i == "ref" ? o = t[i] : c[i] = t[i] == null && s != null ? s[i] : t[i];
243
243
  return arguments.length > 2 && (c.children = arguments.length > 3 ? Ze.call(arguments, 2) : n), We(e.type, c, r || e.key, o || e.ref, null);
244
244
  }
245
- function xr(e) {
245
+ function Ar(e) {
246
246
  function t(n) {
247
247
  var r, o;
248
248
  return this.getChildContext || (r = /* @__PURE__ */ new Set(), (o = {})[t.__c] = this, this.getChildContext = function() {
@@ -261,25 +261,25 @@ function xr(e) {
261
261
  };
262
262
  }), n.children;
263
263
  }
264
- return t.__c = "__cC" + Er++, t.__ = e, t.Provider = t.__l = (t.Consumer = function(n, r) {
264
+ return t.__c = "__cC" + br++, t.__ = e, t.Provider = t.__l = (t.Consumer = function(n, r) {
265
265
  return n.children(r);
266
266
  }).contextType = t, t;
267
267
  }
268
- Ze = br.slice, v = { __e: function(e, t, n, r) {
268
+ Ze = $r.slice, v = { __e: function(e, t, n, r) {
269
269
  for (var o, i, s; t = t.__; ) if ((o = t.__c) && !o.__) try {
270
270
  if ((i = o.constructor) && i.getDerivedStateFromError != null && (o.setState(i.getDerivedStateFromError(e)), s = o.__d), o.componentDidCatch != null && (o.componentDidCatch(e, r || {}), s = o.__d), s) return o.__E = o;
271
271
  } catch (c) {
272
272
  e = c;
273
273
  }
274
274
  throw e;
275
- } }, vr = 0, G.prototype.setState = function(e, t) {
275
+ } }, Cr = 0, G.prototype.setState = function(e, t) {
276
276
  var n;
277
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), Wt(this));
278
278
  }, G.prototype.forceUpdate = function(e) {
279
279
  this.__v && (this.__e = !0, e && this.__h.push(e), Wt(this));
280
- }, G.prototype.render = j, de = [], Cr = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, Sr = function(e, t) {
280
+ }, G.prototype.render = z, de = [], Sr = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, wr = function(e, t) {
281
281
  return e.__v.__b - t.__v.__b;
282
- }, ht.__r = 0, wr = /(PointerCapture)$|Capture$/i, an = 0, Ft = In(!1), Bt = In(!0), Er = 0;
282
+ }, _t.__r = 0, Er = /(PointerCapture)$|Capture$/i, cn = 0, Ft = Tn(!1), Bt = Tn(!0), br = 0;
283
283
  function _n() {
284
284
  return (_n = Object.assign ? Object.assign.bind() : function(e) {
285
285
  for (var t = 1; t < arguments.length; t++) {
@@ -289,8 +289,8 @@ function _n() {
289
289
  return e;
290
290
  }).apply(this, arguments);
291
291
  }
292
- var Do = ["context", "children"];
293
- function Mo(e) {
292
+ var Mo = ["context", "children"];
293
+ function Ho(e) {
294
294
  this.getChildContext = function() {
295
295
  return e.context;
296
296
  };
@@ -299,39 +299,39 @@ function Mo(e) {
299
299
  var i, s, c = {}, a = Object.keys(r);
300
300
  for (s = 0; s < a.length; s++) o.indexOf(i = a[s]) >= 0 || (c[i] = r[i]);
301
301
  return c;
302
- }(e, Do);
303
- return dn(t, n);
302
+ }(e, Mo);
303
+ return hn(t, n);
304
304
  }
305
- function Ho() {
305
+ function Uo() {
306
306
  var e = new CustomEvent("_preact", { detail: {}, bubbles: !0, cancelable: !0 });
307
- this.dispatchEvent(e), this._vdom = D(Mo, _n({}, this._props, { context: e.detail.context }), function t(n, r) {
307
+ this.dispatchEvent(e), this._vdom = D(Ho, _n({}, this._props, { context: e.detail.context }), function t(n, r) {
308
308
  if (n.nodeType === 3) return n.data;
309
309
  if (n.nodeType !== 1) return null;
310
310
  var o = [], i = {}, s = 0, c = n.attributes, a = n.childNodes;
311
- for (s = c.length; s--; ) c[s].name !== "slot" && (i[c[s].name] = c[s].value, i[Ar(c[s].name)] = c[s].value);
311
+ for (s = c.length; s--; ) c[s].name !== "slot" && (i[c[s].name] = c[s].value, i[Rr(c[s].name)] = c[s].value);
312
312
  for (s = a.length; s--; ) {
313
313
  var u = t(a[s], null), d = a[s].slot;
314
- d ? i[d] = D(Tn, { name: d }, u) : o[s] = u;
314
+ d ? i[d] = D(xn, { name: d }, u) : o[s] = u;
315
315
  }
316
- var l = r ? D(Tn, null, o) : o;
316
+ var l = r ? D(xn, null, o) : o;
317
317
  return D(r || n.nodeName.toLowerCase(), i, l);
318
- }(this, this._vdomComponent)), (this.hasAttribute("hydrate") ? fn : ae)(this._vdom, this._root);
318
+ }(this, this._vdomComponent)), (this.hasAttribute("hydrate") ? dn : ae)(this._vdom, this._root);
319
319
  }
320
- function Ar(e) {
320
+ function Rr(e) {
321
321
  return e.replace(/-(\w)/g, function(t, n) {
322
322
  return n ? n.toUpperCase() : "";
323
323
  });
324
324
  }
325
- function Uo(e, t, n) {
325
+ function Fo(e, t, n) {
326
326
  if (this._vdom) {
327
327
  var r = {};
328
- r[e] = n = n ?? void 0, r[Ar(e)] = n, this._vdom = dn(this._vdom, r), ae(this._vdom, this._root);
328
+ r[e] = n = n ?? void 0, r[Rr(e)] = n, this._vdom = hn(this._vdom, r), ae(this._vdom, this._root);
329
329
  }
330
330
  }
331
- function Fo() {
331
+ function Bo() {
332
332
  ae(this._vdom = null, this._root);
333
333
  }
334
- function Tn(e, t) {
334
+ function xn(e, t) {
335
335
  var n = this;
336
336
  return D("slot", _n({}, e, { ref: function(r) {
337
337
  r ? (n.ref = r, n._listener || (n._listener = function(o) {
@@ -339,12 +339,12 @@ function Tn(e, t) {
339
339
  }, r.addEventListener("_preact", n._listener))) : n.ref.removeEventListener("_preact", n._listener);
340
340
  } }));
341
341
  }
342
- function Bo(e, t, n, r) {
342
+ function Wo(e, t, n, r) {
343
343
  function o() {
344
344
  var i = Reflect.construct(HTMLElement, [], o);
345
345
  return i._vdomComponent = e, i._root = i, i;
346
346
  }
347
- return (o.prototype = Object.create(HTMLElement.prototype)).constructor = o, o.prototype.connectedCallback = Ho, o.prototype.attributeChangedCallback = Uo, o.prototype.disconnectedCallback = Fo, n = n || e.observedAttributes || Object.keys(e.propTypes || {}), o.observedAttributes = n, n.forEach(function(i) {
347
+ return (o.prototype = Object.create(HTMLElement.prototype)).constructor = o, o.prototype.connectedCallback = Uo, o.prototype.attributeChangedCallback = Fo, o.prototype.disconnectedCallback = Bo, n = n || e.observedAttributes || Object.keys(e.propTypes || {}), o.observedAttributes = n, n.forEach(function(i) {
348
348
  Object.defineProperty(o.prototype, i, { get: function() {
349
349
  return this._vdom.props[i];
350
350
  }, set: function(s) {
@@ -354,21 +354,30 @@ function Bo(e, t, n, r) {
354
354
  } });
355
355
  }), customElements.define(t, o);
356
356
  }
357
- var Wo = 0;
357
+ var zo = 0;
358
358
  function f(e, t, n, r, o, i) {
359
359
  t || (t = {});
360
360
  var s, c, a = t;
361
361
  if ("ref" in a) for (c in a = {}, t) c == "ref" ? s = t[c] : a[c] = t[c];
362
- var u = { type: e, props: a, key: n, ref: s, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --Wo, __i: -1, __u: 0, __source: o, __self: i };
362
+ var u = { type: e, props: a, key: n, ref: s, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --zo, __i: -1, __u: 0, __source: o, __self: i };
363
363
  if (typeof e == "function" && (s = e.defaultProps)) for (c in s) a[c] === void 0 && (a[c] = s[c]);
364
364
  return v.vnode && v.vnode(u), u;
365
365
  }
366
- const xn = {
366
+ const An = {
367
367
  SWITCH_CAMERA: "switch-camera",
368
368
  TOGGLE_MIRROR: "toggle-mirror"
369
369
  };
370
- var Ve = /* @__PURE__ */ ((e) => (e.CAMERA_PROPS_CHANGED = "face-auto-capture:camera-props-changed", e.CONTROL = "face-auto-capture:control", e.DETECTED_FACE_CHANGED = "face-auto-capture:detected-face-changed", e.FACE_DETECTION = "face-auto-capture:face-detection", e.INSTRUCTION_CHANGED = "face-auto-capture:instruction-changed", e.STATE_CHANGED = "face-auto-capture:state-changed", e.VIDEO_ELEMENT_SIZE = "face-auto-capture:video-element-size", e))(Ve || {}), hn = /* @__PURE__ */ ((e) => (e.CONTROL = "smile-auto-capture:control", e.INSTRUCTION_ESCALATED = "smile:instruction-escalated", e.STATUS_CHANGED = "smile-auto-capture:status-changed", e))(hn || {});
371
- const An = {
370
+ var Ve = /* @__PURE__ */ ((e) => (e.CAMERA_PROPS_CHANGED = "face-auto-capture:camera-props-changed", e.CONTROL = "face-auto-capture:control", e.DETECTED_FACE_CHANGED = "face-auto-capture:detected-face-changed", e.FACE_DETECTION = "face-auto-capture:face-detection", e.INSTRUCTION_CHANGED = "face-auto-capture:instruction-changed", e.STATE_CHANGED = "face-auto-capture:state-changed", e.VIDEO_ELEMENT_SIZE = "face-auto-capture:video-element-size", e))(Ve || {}), pn = /* @__PURE__ */ ((e) => (e.CONTROL = "smile-auto-capture:control", e.INSTRUCTION_ESCALATED = "smile:instruction-escalated", e.STATUS_CHANGED = "smile-auto-capture:status-changed", e))(pn || {});
371
+ const jo = {
372
+ LOADING: "LOADING",
373
+ ERROR: "ERROR",
374
+ WAITING: "WAITING",
375
+ RUNNING: "RUNNING",
376
+ COMPLETE: "COMPLETE"
377
+ }, zt = {
378
+ ...jo,
379
+ DONE: "DONE"
380
+ }, Rn = {
372
381
  EYE_NOT_PRESENT: "eye_not_present"
373
382
  }, L = {
374
383
  CANDIDATE_SELECTION: "candidate_selection",
@@ -380,19 +389,11 @@ const An = {
380
389
  BRIGHTNESS_TOO_LOW: "brightness_too_low",
381
390
  BRIGHTNESS_TOO_HIGH: "brightness_too_high",
382
391
  DEVICE_PITCHED: "device_pitched",
383
- LEFT_EYE_NOT_PRESENT: `left_${An.EYE_NOT_PRESENT}`,
384
- RIGHT_EYE_NOT_PRESENT: `right_${An.EYE_NOT_PRESENT}`,
392
+ LEFT_EYE_NOT_PRESENT: `left_${Rn.EYE_NOT_PRESENT}`,
393
+ RIGHT_EYE_NOT_PRESENT: `right_${Rn.EYE_NOT_PRESENT}`,
385
394
  MOUTH_NOT_PRESENT: "mouth_not_present",
386
395
  MOUTH_SCORE_TOO_HIGH: "mouth_score_too_high",
387
396
  MOUTH_SCORE_TOO_LOW: "mouth_score_too_low"
388
- }, jo = {
389
- LOADING: "LOADING",
390
- ERROR: "ERROR",
391
- WAITING: "WAITING",
392
- RUNNING: "RUNNING"
393
- }, jt = {
394
- ...jo,
395
- DONE: "DONE"
396
397
  }, ne = {
397
398
  ...L,
398
399
  SMILE: "smile",
@@ -401,35 +402,35 @@ const An = {
401
402
  }, pt = {
402
403
  NEUTRAL: "NEUTRAL",
403
404
  SMILE: "SMILE"
404
- }, be = jt;
405
- var ce, T, Rt, Rn, ke = 0, Rr = [], x = v, Ln = x.__b, Pn = x.__r, Dn = x.diffed, Mn = x.__c, Hn = x.unmount, Un = x.__;
405
+ }, be = zt;
406
+ var ce, T, Rt, Ln, ke = 0, Lr = [], x = v, Pn = x.__b, Dn = x.__r, Mn = x.diffed, Hn = x.__c, Un = x.unmount, Fn = x.__;
406
407
  function xe(e, t) {
407
408
  x.__h && x.__h(T, e, ke || t), ke = 0;
408
409
  var n = T.__H || (T.__H = { __: [], __h: [] });
409
410
  return e >= n.__.length && n.__.push({}), n.__[e];
410
411
  }
411
412
  function M(e) {
412
- return ke = 1, pn(Dr, e);
413
+ return ke = 1, mn(Mr, e);
413
414
  }
414
- function pn(e, t, n) {
415
+ function mn(e, t, n) {
415
416
  var r = xe(ce++, 2);
416
- if (r.t = e, !r.__c && (r.__ = [n ? n(t) : Dr(void 0, t), function(c) {
417
+ if (r.t = e, !r.__c && (r.__ = [n ? n(t) : Mr(void 0, t), function(c) {
417
418
  var a = r.__N ? r.__N[0] : r.__[0], u = r.t(a, c);
418
419
  a !== u && (r.__N = [u, r.__[1]], r.__c.setState({}));
419
420
  }], r.__c = T, !T.__f)) {
420
421
  var o = function(c, a, u) {
421
422
  if (!r.__c.__H) return !0;
422
- var d = r.__c.__H.__.filter(function(h) {
423
- return !!h.__c;
423
+ var d = r.__c.__H.__.filter(function(_) {
424
+ return !!_.__c;
424
425
  });
425
- if (d.every(function(h) {
426
- return !h.__N;
426
+ if (d.every(function(_) {
427
+ return !_.__N;
427
428
  })) return !i || i.call(this, c, a, u);
428
429
  var l = r.__c.props !== c;
429
- return d.forEach(function(h) {
430
- if (h.__N) {
431
- var _ = h.__[0];
432
- h.__ = h.__N, h.__N = void 0, _ !== h.__[0] && (l = !0);
430
+ return d.forEach(function(_) {
431
+ if (_.__N) {
432
+ var h = _.__[0];
433
+ _.__ = _.__N, _.__N = void 0, h !== _.__[0] && (l = !0);
433
434
  }
434
435
  }), i && i.call(this, c, a, u) || l;
435
436
  };
@@ -447,18 +448,18 @@ function pn(e, t, n) {
447
448
  }
448
449
  function X(e, t) {
449
450
  var n = xe(ce++, 3);
450
- !x.__s && mn(n.__H, t) && (n.__ = e, n.u = t, T.__H.__h.push(n));
451
+ !x.__s && gn(n.__H, t) && (n.__ = e, n.u = t, T.__H.__h.push(n));
451
452
  }
452
453
  function Ae(e, t) {
453
454
  var n = xe(ce++, 4);
454
- !x.__s && mn(n.__H, t) && (n.__ = e, n.u = t, T.__h.push(n));
455
+ !x.__s && gn(n.__H, t) && (n.__ = e, n.u = t, T.__h.push(n));
455
456
  }
456
457
  function St(e) {
457
458
  return ke = 5, re(function() {
458
459
  return { current: e };
459
460
  }, []);
460
461
  }
461
- function Lr(e, t, n) {
462
+ function Pr(e, t, n) {
462
463
  ke = 6, Ae(function() {
463
464
  if (typeof e == "function") {
464
465
  var r = e(t());
@@ -473,7 +474,7 @@ function Lr(e, t, n) {
473
474
  }
474
475
  function re(e, t) {
475
476
  var n = xe(ce++, 7);
476
- return mn(n.__H, t) && (n.__ = e(), n.__H = t, n.__h = e), n.__;
477
+ return gn(n.__H, t) && (n.__ = e(), n.__H = t, n.__h = e), n.__;
477
478
  }
478
479
  function ge(e, t) {
479
480
  return ke = 8, re(function() {
@@ -487,7 +488,7 @@ function Ke(e) {
487
488
  function mt(e, t) {
488
489
  x.useDebugValue && x.useDebugValue(t ? t(e) : e);
489
490
  }
490
- function Pr() {
491
+ function Dr() {
491
492
  var e = xe(ce++, 11);
492
493
  if (!e.__) {
493
494
  for (var t = T.__v; t !== null && !t.__m && t.__ !== null; ) t = t.__;
@@ -496,43 +497,43 @@ function Pr() {
496
497
  }
497
498
  return e.__;
498
499
  }
499
- function zo() {
500
- for (var e; e = Rr.shift(); ) if (e.__P && e.__H) try {
501
- e.__H.__h.forEach(at), e.__H.__h.forEach(zt), e.__H.__h = [];
500
+ function Go() {
501
+ for (var e; e = Lr.shift(); ) if (e.__P && e.__H) try {
502
+ e.__H.__h.forEach(at), e.__H.__h.forEach(jt), e.__H.__h = [];
502
503
  } catch (t) {
503
504
  e.__H.__h = [], x.__e(t, e.__v);
504
505
  }
505
506
  }
506
507
  x.__b = function(e) {
507
- T = null, Ln && Ln(e);
508
+ T = null, Pn && Pn(e);
508
509
  }, x.__ = function(e, t) {
509
- e && t.__k && t.__k.__m && (e.__m = t.__k.__m), Un && Un(e, t);
510
+ e && t.__k && t.__k.__m && (e.__m = t.__k.__m), Fn && Fn(e, t);
510
511
  }, x.__r = function(e) {
511
- Pn && Pn(e), ce = 0;
512
+ Dn && Dn(e), ce = 0;
512
513
  var t = (T = e.__c).__H;
513
514
  t && (Rt === T ? (t.__h = [], T.__h = [], t.__.forEach(function(n) {
514
515
  n.__N && (n.__ = n.__N), n.u = n.__N = void 0;
515
- })) : (t.__h.forEach(at), t.__h.forEach(zt), t.__h = [], ce = 0)), Rt = T;
516
+ })) : (t.__h.forEach(at), t.__h.forEach(jt), t.__h = [], ce = 0)), Rt = T;
516
517
  }, x.diffed = function(e) {
517
- Dn && Dn(e);
518
+ Mn && Mn(e);
518
519
  var t = e.__c;
519
- t && t.__H && (t.__H.__h.length && (Rr.push(t) !== 1 && Rn === x.requestAnimationFrame || ((Rn = x.requestAnimationFrame) || Go)(zo)), t.__H.__.forEach(function(n) {
520
+ t && t.__H && (t.__H.__h.length && (Lr.push(t) !== 1 && Ln === x.requestAnimationFrame || ((Ln = x.requestAnimationFrame) || Vo)(Go)), t.__H.__.forEach(function(n) {
520
521
  n.u && (n.__H = n.u), n.u = void 0;
521
522
  })), Rt = T = null;
522
523
  }, x.__c = function(e, t) {
523
524
  t.some(function(n) {
524
525
  try {
525
526
  n.__h.forEach(at), n.__h = n.__h.filter(function(r) {
526
- return !r.__ || zt(r);
527
+ return !r.__ || jt(r);
527
528
  });
528
529
  } catch (r) {
529
530
  t.some(function(o) {
530
531
  o.__h && (o.__h = []);
531
532
  }), t = [], x.__e(r, n.__v);
532
533
  }
533
- }), Mn && Mn(e, t);
534
+ }), Hn && Hn(e, t);
534
535
  }, x.unmount = function(e) {
535
- Hn && Hn(e);
536
+ Un && Un(e);
536
537
  var t, n = e.__c;
537
538
  n && n.__H && (n.__H.__.forEach(function(r) {
538
539
  try {
@@ -542,27 +543,27 @@ x.__b = function(e) {
542
543
  }
543
544
  }), n.__H = void 0, t && x.__e(t, n.__v));
544
545
  };
545
- var Fn = typeof requestAnimationFrame == "function";
546
- function Go(e) {
546
+ var Bn = typeof requestAnimationFrame == "function";
547
+ function Vo(e) {
547
548
  var t, n = function() {
548
- clearTimeout(r), Fn && cancelAnimationFrame(t), setTimeout(e);
549
+ clearTimeout(r), Bn && cancelAnimationFrame(t), setTimeout(e);
549
550
  }, r = setTimeout(n, 100);
550
- Fn && (t = requestAnimationFrame(n));
551
+ Bn && (t = requestAnimationFrame(n));
551
552
  }
552
553
  function at(e) {
553
554
  var t = T, n = e.__c;
554
555
  typeof n == "function" && (e.__c = void 0, n()), T = t;
555
556
  }
556
- function zt(e) {
557
+ function jt(e) {
557
558
  var t = T;
558
559
  e.__c = e.__(), T = t;
559
560
  }
560
- function mn(e, t) {
561
+ function gn(e, t) {
561
562
  return !e || e.length !== t.length || t.some(function(n, r) {
562
563
  return n !== e[r];
563
564
  });
564
565
  }
565
- function Dr(e, t) {
566
+ function Mr(e, t) {
566
567
  return typeof t == "function" ? t(e) : t;
567
568
  }
568
569
  var P = function() {
@@ -579,19 +580,19 @@ function ye(e, t, n) {
579
580
  (i || !(r in t)) && (i || (i = Array.prototype.slice.call(t, 0, r)), i[r] = t[r]);
580
581
  return e.concat(i || Array.prototype.slice.call(t));
581
582
  }
582
- function Vo(e) {
583
+ function Yo(e) {
583
584
  var t = /* @__PURE__ */ Object.create(null);
584
585
  return function(n) {
585
586
  return t[n] === void 0 && (t[n] = e(n)), t[n];
586
587
  };
587
588
  }
588
- var Yo = /^((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)-.*))$/, qo = /* @__PURE__ */ Vo(
589
+ var qo = /^((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)-.*))$/, Zo = /* @__PURE__ */ Yo(
589
590
  function(e) {
590
- return Yo.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
591
+ return qo.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
591
592
  }
592
593
  /* Z+1 */
593
594
  );
594
- function Mr(e, t) {
595
+ function Hr(e, t) {
595
596
  for (var n in t) e[n] = t[n];
596
597
  return e;
597
598
  }
@@ -600,7 +601,7 @@ function Gt(e, t) {
600
601
  for (var r in t) if (r !== "__source" && e[r] !== t[r]) return !0;
601
602
  return !1;
602
603
  }
603
- function Hr(e, t) {
604
+ function Ur(e, t) {
604
605
  var n = t(), r = M({ t: { __: n, u: t } }), o = r[0].t, i = r[1];
605
606
  return Ae(function() {
606
607
  o.__ = n, o.u = t, Lt(o) && i({ t: o });
@@ -619,20 +620,20 @@ function Lt(e) {
619
620
  return !0;
620
621
  }
621
622
  }
622
- function Ur(e) {
623
+ function Fr(e) {
623
624
  e();
624
625
  }
625
- function Fr(e) {
626
+ function Br(e) {
626
627
  return e;
627
628
  }
628
- function Br() {
629
- return [!1, Ur];
629
+ function Wr() {
630
+ return [!1, Fr];
630
631
  }
631
- var Wr = Ae;
632
+ var zr = Ae;
632
633
  function Vt(e, t) {
633
634
  this.props = e, this.context = t;
634
635
  }
635
- function Zo(e, t) {
636
+ function Xo(e, t) {
636
637
  function n(o) {
637
638
  var i = this.props.ref, s = i == o.ref;
638
639
  return !s && i && (i.call ? i(null) : i.current = null), t ? !t(this.props, o) || !s : Gt(this.props, o);
@@ -645,54 +646,54 @@ function Zo(e, t) {
645
646
  (Vt.prototype = new G()).isPureReactComponent = !0, Vt.prototype.shouldComponentUpdate = function(e, t) {
646
647
  return Gt(this.props, e) || Gt(this.state, t);
647
648
  };
648
- var Bn = v.__b;
649
+ var Wn = v.__b;
649
650
  v.__b = function(e) {
650
- e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), Bn && Bn(e);
651
+ e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), Wn && Wn(e);
651
652
  };
652
- var Xo = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
653
- function Ko(e) {
653
+ var Ko = typeof Symbol < "u" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
654
+ function Qo(e) {
654
655
  function t(n) {
655
- var r = Mr({}, n);
656
+ var r = Hr({}, n);
656
657
  return delete r.ref, e(r, n.ref || null);
657
658
  }
658
- return t.$$typeof = Xo, t.render = t, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", t;
659
+ return t.$$typeof = Ko, t.render = t, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", t;
659
660
  }
660
- var Wn = function(e, t) {
661
+ var zn = function(e, t) {
661
662
  return e == null ? null : te(te(e).map(t));
662
- }, Qo = { map: Wn, forEach: Wn, count: function(e) {
663
+ }, Jo = { map: zn, forEach: zn, count: function(e) {
663
664
  return e ? te(e).length : 0;
664
665
  }, only: function(e) {
665
666
  var t = te(e);
666
667
  if (t.length !== 1) throw "Children.only";
667
668
  return t[0];
668
- }, toArray: te }, Jo = v.__e;
669
+ }, toArray: te }, ei = v.__e;
669
670
  v.__e = function(e, t, n, r) {
670
671
  if (e.then) {
671
672
  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);
672
673
  }
673
- Jo(e, t, n, r);
674
+ ei(e, t, n, r);
674
675
  };
675
676
  var jn = v.unmount;
676
677
  function jr(e, t, n) {
677
678
  return e && (e.__c && e.__c.__H && (e.__c.__H.__.forEach(function(r) {
678
679
  typeof r.__c == "function" && r.__c();
679
- }), e.__c.__H = null), (e = Mr({}, e)).__c != null && (e.__c.__P === n && (e.__c.__P = t), e.__c.__e = !0, e.__c = null), e.__k = e.__k && e.__k.map(function(r) {
680
+ }), e.__c.__H = null), (e = Hr({}, 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) {
680
681
  return jr(r, t, n);
681
682
  })), e;
682
683
  }
683
- function zr(e, t, n) {
684
+ function Gr(e, t, n) {
684
685
  return e && n && (e.__v = null, e.__k = e.__k && e.__k.map(function(r) {
685
- return zr(r, t, n);
686
+ return Gr(r, t, n);
686
687
  }), e.__c && e.__c.__P === t && (e.__e && n.appendChild(e.__e), e.__c.__e = !0, e.__c.__P = n)), e;
687
688
  }
688
689
  function ct() {
689
690
  this.__u = 0, this.o = null, this.__b = null;
690
691
  }
691
- function Gr(e) {
692
+ function Vr(e) {
692
693
  var t = e.__.__c;
693
694
  return t && t.__a && t.__a(e);
694
695
  }
695
- function ei(e) {
696
+ function ti(e) {
696
697
  var t, n, r;
697
698
  function o(i) {
698
699
  if (t || (t = e()).then(function(s) {
@@ -714,7 +715,7 @@ v.unmount = function(e) {
714
715
  }, (ct.prototype = new G()).__c = function(e, t) {
715
716
  var n = t.__c, r = this;
716
717
  r.o == null && (r.o = []), r.o.push(n);
717
- var o = Gr(r.__v), i = !1, s = function() {
718
+ var o = Vr(r.__v), i = !1, s = function() {
718
719
  i || (i = !0, n.__R = null, o ? o(c) : c());
719
720
  };
720
721
  n.__R = s;
@@ -722,7 +723,7 @@ v.unmount = function(e) {
722
723
  if (!--r.__u) {
723
724
  if (r.state.__a) {
724
725
  var a = r.state.__a;
725
- r.__v.__k[0] = zr(a, a.__c.__P, a.__c.__O);
726
+ r.__v.__k[0] = Gr(a, a.__c.__P, a.__c.__O);
726
727
  }
727
728
  var u;
728
729
  for (r.setState({ __a: r.__b = null }); u = r.o.pop(); ) u.forceUpdate();
@@ -739,22 +740,22 @@ v.unmount = function(e) {
739
740
  }
740
741
  this.__b = null;
741
742
  }
742
- var o = t.__a && D(j, null, e.fallback);
743
- return o && (o.__u &= -33), [D(j, null, t.__a ? null : e.children), o];
743
+ var o = t.__a && D(z, null, e.fallback);
744
+ return o && (o.__u &= -33), [D(z, null, t.__a ? null : e.children), o];
744
745
  };
745
- var zn = function(e, t, n) {
746
+ var Gn = function(e, t, n) {
746
747
  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; ) {
747
748
  for (; n.length > 3; ) n.pop()();
748
749
  if (n[1] < n[0]) break;
749
750
  e.i = n = n[2];
750
751
  }
751
752
  };
752
- function ti(e) {
753
+ function ni(e) {
753
754
  return this.getChildContext = function() {
754
755
  return e.context;
755
756
  }, e.children;
756
757
  }
757
- function ni(e) {
758
+ function ri(e) {
758
759
  var t = this, n = e.h;
759
760
  if (t.componentWillUnmount = function() {
760
761
  ae(null, t.v), t.v = null, t.h = null;
@@ -770,17 +771,17 @@ function ni(e) {
770
771
  this.childNodes.splice(this.childNodes.indexOf(o) >>> 1, 1), t.h.removeChild(o);
771
772
  } };
772
773
  }
773
- ae(D(ti, { context: t.context }, e.__v), t.v);
774
+ ae(D(ni, { context: t.context }, e.__v), t.v);
774
775
  }
775
- function ri(e, t) {
776
- var n = D(ni, { __v: e, h: t });
776
+ function oi(e, t) {
777
+ var n = D(ri, { __v: e, h: t });
777
778
  return n.containerInfo = t, n;
778
779
  }
779
780
  (Ue.prototype = new G()).__a = function(e) {
780
- var t = this, n = Gr(t.__v), r = t.l.get(e);
781
+ var t = this, n = Vr(t.__v), r = t.l.get(e);
781
782
  return r[0]++, function(o) {
782
783
  var i = function() {
783
- t.props.revealOrder ? (r.push(o), zn(t, e, r)) : o();
784
+ t.props.revealOrder ? (r.push(o), Gn(t, e, r)) : o();
784
785
  };
785
786
  n ? n(i) : i();
786
787
  };
@@ -793,17 +794,17 @@ function ri(e, t) {
793
794
  }, Ue.prototype.componentDidUpdate = Ue.prototype.componentDidMount = function() {
794
795
  var e = this;
795
796
  this.l.forEach(function(t, n) {
796
- zn(e, n, t);
797
+ Gn(e, n, t);
797
798
  });
798
799
  };
799
- var Vr = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, oi = /^(?: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]/, ii = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, si = /[A-Z0-9]/g, ai = typeof document < "u", ci = function(e) {
800
+ var Yr = typeof Symbol < "u" && Symbol.for && Symbol.for("react.element") || 60103, ii = /^(?: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]/, si = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, ai = /[A-Z0-9]/g, ci = typeof document < "u", li = function(e) {
800
801
  return (typeof Symbol < "u" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(e);
801
802
  };
802
- function li(e, t, n) {
803
+ function ui(e, t, n) {
803
804
  return t.__k == null && (t.textContent = ""), ae(e, t), typeof n == "function" && n(), e ? e.__c : null;
804
805
  }
805
- function ui(e, t, n) {
806
- return fn(e, t), typeof n == "function" && n(), e ? e.__c : null;
806
+ function fi(e, t, n) {
807
+ return dn(e, t), typeof n == "function" && n(), e ? e.__c : null;
807
808
  }
808
809
  G.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(e) {
809
810
  Object.defineProperty(G.prototype, e, { configurable: !0, get: function() {
@@ -812,83 +813,83 @@ G.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveP
812
813
  Object.defineProperty(this, e, { configurable: !0, writable: !0, value: t });
813
814
  } });
814
815
  });
815
- var Gn = v.event;
816
- function fi() {
817
- }
816
+ var Vn = v.event;
818
817
  function di() {
818
+ }
819
+ function hi() {
819
820
  return this.cancelBubble;
820
821
  }
821
822
  function _i() {
822
823
  return this.defaultPrevented;
823
824
  }
824
825
  v.event = function(e) {
825
- return Gn && (e = Gn(e)), e.persist = fi, e.isPropagationStopped = di, e.isDefaultPrevented = _i, e.nativeEvent = e;
826
+ return Vn && (e = Vn(e)), e.persist = di, e.isPropagationStopped = hi, e.isDefaultPrevented = _i, e.nativeEvent = e;
826
827
  };
827
- var gn, hi = { enumerable: !1, configurable: !0, get: function() {
828
+ var yn, pi = { enumerable: !1, configurable: !0, get: function() {
828
829
  return this.class;
829
- } }, Vn = v.vnode;
830
+ } }, Yn = v.vnode;
830
831
  v.vnode = function(e) {
831
832
  typeof e.type == "string" && function(t) {
832
833
  var n = t.props, r = t.type, o = {}, i = r.indexOf("-") === -1;
833
834
  for (var s in n) {
834
835
  var c = n[s];
835
- if (!(s === "value" && "defaultValue" in n && c == null || ai && s === "children" && r === "noscript" || s === "class" || s === "className")) {
836
+ if (!(s === "value" && "defaultValue" in n && c == null || ci && s === "children" && r === "noscript" || s === "class" || s === "className")) {
836
837
  var a = s.toLowerCase();
837
- s === "defaultValue" && "value" in n && n.value == null ? s = "value" : s === "download" && c === !0 ? c = "" : a === "translate" && c === "no" ? c = !1 : a[0] === "o" && a[1] === "n" ? a === "ondoubleclick" ? s = "ondblclick" : a !== "onchange" || r !== "input" && r !== "textarea" || ci(n.type) ? a === "onfocus" ? s = "onfocusin" : a === "onblur" ? s = "onfocusout" : ii.test(s) && (s = a) : a = s = "oninput" : i && oi.test(s) ? s = s.replace(si, "-$&").toLowerCase() : c === null && (c = void 0), a === "oninput" && o[s = a] && (s = "oninputCapture"), o[s] = c;
838
+ s === "defaultValue" && "value" in n && n.value == null ? s = "value" : s === "download" && c === !0 ? c = "" : a === "translate" && c === "no" ? c = !1 : a[0] === "o" && a[1] === "n" ? a === "ondoubleclick" ? s = "ondblclick" : a !== "onchange" || r !== "input" && r !== "textarea" || li(n.type) ? a === "onfocus" ? s = "onfocusin" : a === "onblur" ? s = "onfocusout" : si.test(s) && (s = a) : a = s = "oninput" : i && ii.test(s) ? s = s.replace(ai, "-$&").toLowerCase() : c === null && (c = void 0), a === "oninput" && o[s = a] && (s = "oninputCapture"), o[s] = c;
838
839
  }
839
840
  }
840
841
  r == "select" && o.multiple && Array.isArray(o.value) && (o.value = te(n.children).forEach(function(u) {
841
842
  u.props.selected = o.value.indexOf(u.props.value) != -1;
842
843
  })), r == "select" && o.defaultValue != null && (o.value = te(n.children).forEach(function(u) {
843
844
  u.props.selected = o.multiple ? o.defaultValue.indexOf(u.props.value) != -1 : o.defaultValue == u.props.value;
844
- })), n.class && !n.className ? (o.class = n.class, Object.defineProperty(o, "className", hi)) : (n.className && !n.class || n.class && n.className) && (o.class = o.className = n.className), t.props = o;
845
- }(e), e.$$typeof = Vr, Vn && Vn(e);
845
+ })), n.class && !n.className ? (o.class = n.class, Object.defineProperty(o, "className", pi)) : (n.className && !n.class || n.class && n.className) && (o.class = o.className = n.className), t.props = o;
846
+ }(e), e.$$typeof = Yr, Yn && Yn(e);
846
847
  };
847
- var Yn = v.__r;
848
+ var qn = v.__r;
848
849
  v.__r = function(e) {
849
- Yn && Yn(e), gn = e.__c;
850
+ qn && qn(e), yn = e.__c;
850
851
  };
851
- var qn = v.diffed;
852
+ var Zn = v.diffed;
852
853
  v.diffed = function(e) {
853
- qn && qn(e);
854
+ Zn && Zn(e);
854
855
  var t = e.props, n = e.__e;
855
- n != null && e.type === "textarea" && "value" in t && t.value !== n.value && (n.value = t.value == null ? "" : t.value), gn = null;
856
+ n != null && e.type === "textarea" && "value" in t && t.value !== n.value && (n.value = t.value == null ? "" : t.value), yn = null;
856
857
  };
857
- var pi = { ReactCurrentDispatcher: { current: { readContext: function(e) {
858
- return gn.__n[e.__c].props.value;
859
- }, useCallback: ge, useContext: Ke, useDebugValue: mt, useDeferredValue: Fr, useEffect: X, useId: Pr, useImperativeHandle: Lr, useInsertionEffect: Wr, useLayoutEffect: Ae, useMemo: re, useReducer: pn, useRef: St, useState: M, useSyncExternalStore: Hr, useTransition: Br } } };
860
- function mi(e) {
858
+ var mi = { ReactCurrentDispatcher: { current: { readContext: function(e) {
859
+ return yn.__n[e.__c].props.value;
860
+ }, useCallback: ge, useContext: Ke, useDebugValue: mt, useDeferredValue: Br, useEffect: X, useId: Dr, useImperativeHandle: Pr, useInsertionEffect: zr, useLayoutEffect: Ae, useMemo: re, useReducer: mn, useRef: St, useState: M, useSyncExternalStore: Ur, useTransition: Wr } } };
861
+ function gi(e) {
861
862
  return D.bind(null, e);
862
863
  }
863
864
  function wt(e) {
864
- return !!e && e.$$typeof === Vr;
865
- }
866
- function gi(e) {
867
- return wt(e) && e.type === j;
865
+ return !!e && e.$$typeof === Yr;
868
866
  }
869
867
  function yi(e) {
870
- return !!e && !!e.displayName && (typeof e.displayName == "string" || e.displayName instanceof String) && e.displayName.startsWith("Memo(");
868
+ return wt(e) && e.type === z;
871
869
  }
872
870
  function vi(e) {
873
- return wt(e) ? dn.apply(null, arguments) : e;
871
+ return !!e && !!e.displayName && (typeof e.displayName == "string" || e.displayName instanceof String) && e.displayName.startsWith("Memo(");
874
872
  }
875
873
  function Ci(e) {
876
- return !!e.__k && (ae(null, e), !0);
874
+ return wt(e) ? hn.apply(null, arguments) : e;
877
875
  }
878
876
  function Si(e) {
877
+ return !!e.__k && (ae(null, e), !0);
878
+ }
879
+ function wi(e) {
879
880
  return e && (e.base || e.nodeType === 1 && e) || null;
880
881
  }
881
- var wi = function(e, t) {
882
+ var Ei = function(e, t) {
882
883
  return e(t);
883
- }, Ei = function(e, t) {
884
+ }, bi = function(e, t) {
884
885
  return e(t);
885
- }, bi = j, $i = wt, oe = { useState: M, useId: Pr, useReducer: pn, useEffect: X, useLayoutEffect: Ae, useInsertionEffect: Wr, useTransition: Br, useDeferredValue: Fr, useSyncExternalStore: Hr, startTransition: Ur, useRef: St, useImperativeHandle: Lr, useMemo: re, useCallback: ge, useContext: Ke, useDebugValue: mt, version: "18.3.1", Children: Qo, render: li, hydrate: ui, unmountComponentAtNode: Ci, createPortal: ri, createElement: D, createContext: xr, createFactory: mi, cloneElement: vi, createRef: xo, Fragment: j, isValidElement: wt, isElement: $i, isFragment: gi, isMemo: yi, findDOMNode: Si, Component: G, PureComponent: Vt, memo: Zo, forwardRef: Ko, flushSync: Ei, unstable_batchedUpdates: wi, StrictMode: bi, Suspense: ct, SuspenseList: Ue, lazy: ei, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: pi };
886
- function ki(e) {
886
+ }, $i = z, ki = wt, oe = { useState: M, useId: Dr, useReducer: mn, useEffect: X, useLayoutEffect: Ae, useInsertionEffect: zr, useTransition: Wr, useDeferredValue: Br, useSyncExternalStore: Ur, startTransition: Fr, useRef: St, useImperativeHandle: Pr, useMemo: re, useCallback: ge, useContext: Ke, useDebugValue: mt, version: "18.3.1", Children: Jo, render: ui, hydrate: fi, unmountComponentAtNode: Si, createPortal: oi, createElement: D, createContext: Ar, createFactory: gi, cloneElement: Ci, createRef: Ao, Fragment: z, isValidElement: wt, isElement: ki, isFragment: yi, isMemo: vi, findDOMNode: wi, Component: G, PureComponent: Vt, memo: Xo, forwardRef: Qo, flushSync: bi, unstable_batchedUpdates: Ei, StrictMode: $i, Suspense: ct, SuspenseList: Ue, lazy: ti, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: mi };
887
+ function Oi(e) {
887
888
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
888
889
  }
889
- var Pt, Zn;
890
- function Oi() {
891
- return Zn || (Zn = 1, Pt = function(t, n, r, o) {
890
+ var Pt, Xn;
891
+ function Ni() {
892
+ return Xn || (Xn = 1, Pt = function(t, n, r, o) {
892
893
  var i = r ? r.call(o, t, n) : void 0;
893
894
  if (i !== void 0)
894
895
  return !!i;
@@ -903,20 +904,20 @@ function Oi() {
903
904
  var d = s[u];
904
905
  if (!a(d))
905
906
  return !1;
906
- var l = t[d], h = n[d];
907
- if (i = r ? r.call(o, l, h, d) : void 0, i === !1 || i === void 0 && l !== h)
907
+ var l = t[d], _ = n[d];
908
+ if (i = r ? r.call(o, l, _, d) : void 0, i === !1 || i === void 0 && l !== _)
908
909
  return !1;
909
910
  }
910
911
  return !0;
911
912
  }), Pt;
912
913
  }
913
- var Ni = Oi();
914
- const Ii = /* @__PURE__ */ ki(Ni);
915
- var I = "-ms-", je = "-moz-", O = "-webkit-", Yr = "comm", Et = "rule", yn = "decl", Ti = "@import", qr = "@keyframes", xi = "@layer", Zr = Math.abs, vn = String.fromCharCode, Yt = Object.assign;
916
- function Ai(e, t) {
914
+ var Ii = Ni();
915
+ const Ti = /* @__PURE__ */ Oi(Ii);
916
+ var I = "-ms-", ze = "-moz-", O = "-webkit-", qr = "comm", Et = "rule", vn = "decl", xi = "@import", Zr = "@keyframes", Ai = "@layer", Xr = Math.abs, Cn = String.fromCharCode, Yt = Object.assign;
917
+ function Ri(e, t) {
917
918
  return R(e, 0) ^ 45 ? (((t << 2 ^ R(e, 0)) << 2 ^ R(e, 1)) << 2 ^ R(e, 2)) << 2 ^ R(e, 3) : 0;
918
919
  }
919
- function Xr(e) {
920
+ function Kr(e) {
920
921
  return e.trim();
921
922
  }
922
923
  function J(e, t) {
@@ -937,21 +938,21 @@ function Oe(e, t, n) {
937
938
  function Y(e) {
938
939
  return e.length;
939
940
  }
940
- function Kr(e) {
941
+ function Qr(e) {
941
942
  return e.length;
942
943
  }
943
944
  function Fe(e, t) {
944
945
  return t.push(e), e;
945
946
  }
946
- function Ri(e, t) {
947
+ function Li(e, t) {
947
948
  return e.map(t).join("");
948
949
  }
949
- function Xn(e, t) {
950
+ function Kn(e, t) {
950
951
  return e.filter(function(n) {
951
952
  return !J(n, t);
952
953
  });
953
954
  }
954
- var bt = 1, Ne = 1, Qr = 0, z = 0, A = 0, Re = "";
955
+ var bt = 1, Ne = 1, Jr = 0, j = 0, A = 0, Re = "";
955
956
  function $t(e, t, n, r, o, i, s, c) {
956
957
  return { value: e, root: t, parent: n, type: r, props: o, children: i, line: bt, column: Ne, length: s, return: "", siblings: c };
957
958
  }
@@ -963,20 +964,20 @@ function Ee(e) {
963
964
  e = se(e.root, { children: [e] });
964
965
  Fe(e, e.siblings);
965
966
  }
966
- function Li() {
967
+ function Pi() {
967
968
  return A;
968
969
  }
969
- function Pi() {
970
- return A = z > 0 ? R(Re, --z) : 0, Ne--, A === 10 && (Ne = 1, bt--), A;
970
+ function Di() {
971
+ return A = j > 0 ? R(Re, --j) : 0, Ne--, A === 10 && (Ne = 1, bt--), A;
971
972
  }
972
973
  function V() {
973
- return A = z < Qr ? R(Re, z++) : 0, Ne++, A === 10 && (Ne = 1, bt++), A;
974
+ return A = j < Jr ? R(Re, j++) : 0, Ne++, A === 10 && (Ne = 1, bt++), A;
974
975
  }
975
976
  function pe() {
976
- return R(Re, z);
977
+ return R(Re, j);
977
978
  }
978
979
  function ut() {
979
- return z;
980
+ return j;
980
981
  }
981
982
  function kt(e, t) {
982
983
  return Oe(Re, e, t);
@@ -1019,21 +1020,21 @@ function qt(e) {
1019
1020
  }
1020
1021
  return 0;
1021
1022
  }
1022
- function Di(e) {
1023
- return bt = Ne = 1, Qr = Y(Re = e), z = 0, [];
1024
- }
1025
1023
  function Mi(e) {
1024
+ return bt = Ne = 1, Jr = Y(Re = e), j = 0, [];
1025
+ }
1026
+ function Hi(e) {
1026
1027
  return Re = "", e;
1027
1028
  }
1028
1029
  function Dt(e) {
1029
- return Xr(kt(z - 1, Zt(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
1030
+ return Kr(kt(j - 1, Zt(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
1030
1031
  }
1031
- function Hi(e) {
1032
+ function Ui(e) {
1032
1033
  for (; (A = pe()) && A < 33; )
1033
1034
  V();
1034
1035
  return qt(e) > 2 || qt(A) > 3 ? "" : " ";
1035
1036
  }
1036
- function Ui(e, t) {
1037
+ function Fi(e, t) {
1037
1038
  for (; --t && V() && !(A < 48 || A > 102 || A > 57 && A < 65 || A > 70 && A < 97); )
1038
1039
  ;
1039
1040
  return kt(e, ut() + (t < 6 && pe() == 32 && V() == 32));
@@ -1043,7 +1044,7 @@ function Zt(e) {
1043
1044
  switch (A) {
1044
1045
  // ] ) " '
1045
1046
  case e:
1046
- return z;
1047
+ return j;
1047
1048
  // " '
1048
1049
  case 34:
1049
1050
  case 39:
@@ -1058,29 +1059,29 @@ function Zt(e) {
1058
1059
  V();
1059
1060
  break;
1060
1061
  }
1061
- return z;
1062
+ return j;
1062
1063
  }
1063
- function Fi(e, t) {
1064
+ function Bi(e, t) {
1064
1065
  for (; V() && e + A !== 57; )
1065
1066
  if (e + A === 84 && pe() === 47)
1066
1067
  break;
1067
- return "/*" + kt(t, z - 1) + "*" + vn(e === 47 ? e : V());
1068
+ return "/*" + kt(t, j - 1) + "*" + Cn(e === 47 ? e : V());
1068
1069
  }
1069
- function Bi(e) {
1070
+ function Wi(e) {
1070
1071
  for (; !qt(pe()); )
1071
1072
  V();
1072
- return kt(e, z);
1073
+ return kt(e, j);
1073
1074
  }
1074
- function Wi(e) {
1075
- return Mi(ft("", null, null, null, [""], e = Di(e), 0, [0], e));
1075
+ function zi(e) {
1076
+ return Hi(ft("", null, null, null, [""], e = Mi(e), 0, [0], e));
1076
1077
  }
1077
1078
  function ft(e, t, n, r, o, i, s, c, a) {
1078
- for (var u = 0, d = 0, l = s, h = 0, _ = 0, g = 0, w = 1, $ = 1, m = 1, p = 0, k = "", E = o, N = i, S = r, y = k; $; )
1079
+ for (var u = 0, d = 0, l = s, _ = 0, h = 0, g = 0, w = 1, $ = 1, m = 1, p = 0, k = "", E = o, N = i, S = r, y = k; $; )
1079
1080
  switch (g = p, p = V()) {
1080
1081
  // (
1081
1082
  case 40:
1082
1083
  if (g != 108 && R(y, l - 1) == 58) {
1083
- lt(y += C(Dt(p), "&", "&\f"), "&\f", Zr(u ? c[u - 1] : 0)) != -1 && (m = -1);
1084
+ lt(y += C(Dt(p), "&", "&\f"), "&\f", Xr(u ? c[u - 1] : 0)) != -1 && (m = -1);
1084
1085
  break;
1085
1086
  }
1086
1087
  // " ' [
@@ -1094,18 +1095,18 @@ function ft(e, t, n, r, o, i, s, c, a) {
1094
1095
  case 10:
1095
1096
  case 13:
1096
1097
  case 32:
1097
- y += Hi(g);
1098
+ y += Ui(g);
1098
1099
  break;
1099
1100
  // \
1100
1101
  case 92:
1101
- y += Ui(ut() - 1, 7);
1102
+ y += Fi(ut() - 1, 7);
1102
1103
  continue;
1103
1104
  // /
1104
1105
  case 47:
1105
1106
  switch (pe()) {
1106
1107
  case 42:
1107
1108
  case 47:
1108
- Fe(ji(Fi(V(), ut()), t, n, a), a);
1109
+ Fe(ji(Bi(V(), ut()), t, n, a), a);
1109
1110
  break;
1110
1111
  default:
1111
1112
  y += "/";
@@ -1125,42 +1126,42 @@ function ft(e, t, n, r, o, i, s, c, a) {
1125
1126
  $ = 0;
1126
1127
  // ;
1127
1128
  case 59 + d:
1128
- m == -1 && (y = C(y, /\f/g, "")), _ > 0 && Y(y) - l && Fe(_ > 32 ? Qn(y + ";", r, n, l - 1, a) : Qn(C(y, " ", "") + ";", r, n, l - 2, a), a);
1129
+ m == -1 && (y = C(y, /\f/g, "")), h > 0 && Y(y) - l && Fe(h > 32 ? Jn(y + ";", r, n, l - 1, a) : Jn(C(y, " ", "") + ";", r, n, l - 2, a), a);
1129
1130
  break;
1130
1131
  // @ ;
1131
1132
  case 59:
1132
1133
  y += ";";
1133
1134
  // { rule/at-rule
1134
1135
  default:
1135
- if (Fe(S = Kn(y, t, n, u, d, o, c, k, E = [], N = [], l, i), i), p === 123)
1136
+ if (Fe(S = Qn(y, t, n, u, d, o, c, k, E = [], N = [], l, i), i), p === 123)
1136
1137
  if (d === 0)
1137
1138
  ft(y, t, S, S, E, i, l, c, N);
1138
1139
  else
1139
- switch (h === 99 && R(y, 3) === 110 ? 100 : h) {
1140
+ switch (_ === 99 && R(y, 3) === 110 ? 100 : _) {
1140
1141
  // d l m s
1141
1142
  case 100:
1142
1143
  case 108:
1143
1144
  case 109:
1144
1145
  case 115:
1145
- ft(e, S, S, r && Fe(Kn(e, S, S, 0, 0, o, c, k, o, E = [], l, N), N), o, N, l, c, r ? E : N);
1146
+ ft(e, S, S, r && Fe(Qn(e, S, S, 0, 0, o, c, k, o, E = [], l, N), N), o, N, l, c, r ? E : N);
1146
1147
  break;
1147
1148
  default:
1148
1149
  ft(y, S, S, S, [""], N, 0, c, N);
1149
1150
  }
1150
1151
  }
1151
- u = d = _ = 0, w = m = 1, k = y = "", l = s;
1152
+ u = d = h = 0, w = m = 1, k = y = "", l = s;
1152
1153
  break;
1153
1154
  // :
1154
1155
  case 58:
1155
- l = 1 + Y(y), _ = g;
1156
+ l = 1 + Y(y), h = g;
1156
1157
  default:
1157
1158
  if (w < 1) {
1158
1159
  if (p == 123)
1159
1160
  --w;
1160
- else if (p == 125 && w++ == 0 && Pi() == 125)
1161
+ else if (p == 125 && w++ == 0 && Di() == 125)
1161
1162
  continue;
1162
1163
  }
1163
- switch (y += vn(p), p * w) {
1164
+ switch (y += Cn(p), p * w) {
1164
1165
  // &
1165
1166
  case 38:
1166
1167
  m = d > 0 ? 1 : (y += "\f", -1);
@@ -1171,7 +1172,7 @@ function ft(e, t, n, r, o, i, s, c, a) {
1171
1172
  break;
1172
1173
  // @
1173
1174
  case 64:
1174
- pe() === 45 && (y += Dt(V())), h = pe(), d = l = Y(k = y += Bi(ut())), p++;
1175
+ pe() === 45 && (y += Dt(V())), _ = pe(), d = l = Y(k = y += Wi(ut())), p++;
1175
1176
  break;
1176
1177
  // -
1177
1178
  case 45:
@@ -1180,20 +1181,20 @@ function ft(e, t, n, r, o, i, s, c, a) {
1180
1181
  }
1181
1182
  return i;
1182
1183
  }
1183
- function Kn(e, t, n, r, o, i, s, c, a, u, d, l) {
1184
- for (var h = o - 1, _ = o === 0 ? i : [""], g = Kr(_), w = 0, $ = 0, m = 0; w < r; ++w)
1185
- for (var p = 0, k = Oe(e, h + 1, h = Zr($ = s[w])), E = e; p < g; ++p)
1186
- (E = Xr($ > 0 ? _[p] + " " + k : C(k, /&\f/g, _[p]))) && (a[m++] = E);
1184
+ function Qn(e, t, n, r, o, i, s, c, a, u, d, l) {
1185
+ for (var _ = o - 1, h = o === 0 ? i : [""], g = Qr(h), w = 0, $ = 0, m = 0; w < r; ++w)
1186
+ for (var p = 0, k = Oe(e, _ + 1, _ = Xr($ = s[w])), E = e; p < g; ++p)
1187
+ (E = Kr($ > 0 ? h[p] + " " + k : C(k, /&\f/g, h[p]))) && (a[m++] = E);
1187
1188
  return $t(e, t, n, o === 0 ? Et : c, a, u, d, l);
1188
1189
  }
1189
1190
  function ji(e, t, n, r) {
1190
- return $t(e, t, n, Yr, vn(Li()), Oe(e, 2, -2), 0, r);
1191
+ return $t(e, t, n, qr, Cn(Pi()), Oe(e, 2, -2), 0, r);
1191
1192
  }
1192
- function Qn(e, t, n, r, o) {
1193
- return $t(e, t, n, yn, Oe(e, 0, r), Oe(e, r + 1, -1), r, o);
1193
+ function Jn(e, t, n, r, o) {
1194
+ return $t(e, t, n, vn, Oe(e, 0, r), Oe(e, r + 1, -1), r, o);
1194
1195
  }
1195
- function Jr(e, t, n) {
1196
- switch (Ai(e, t)) {
1196
+ function eo(e, t, n) {
1197
+ switch (Ri(e, t)) {
1197
1198
  // color-adjust
1198
1199
  case 5103:
1199
1200
  return O + "print-" + e + e;
@@ -1229,14 +1230,14 @@ function Jr(e, t, n) {
1229
1230
  return O + e + e;
1230
1231
  // tab-size
1231
1232
  case 4789:
1232
- return je + e + e;
1233
+ return ze + e + e;
1233
1234
  // appearance, user-select, transform, hyphens, text-size-adjust
1234
1235
  case 5349:
1235
1236
  case 4246:
1236
1237
  case 4810:
1237
1238
  case 6968:
1238
1239
  case 2756:
1239
- return O + e + je + e + I + e + e;
1240
+ return O + e + ze + e + I + e + e;
1240
1241
  // writing-mode
1241
1242
  case 5936:
1242
1243
  switch (R(e, t + 11)) {
@@ -1336,10 +1337,10 @@ function Jr(e, t, n) {
1336
1337
  break;
1337
1338
  // (f)ill-available, (f)it-content
1338
1339
  case 102:
1339
- return C(e, /(.+:)(.+)-([^]+)/, "$1" + O + "$2-$3$1" + je + (R(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
1340
+ return C(e, /(.+:)(.+)-([^]+)/, "$1" + O + "$2-$3$1" + ze + (R(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
1340
1341
  // (s)tretch
1341
1342
  case 115:
1342
- return ~lt(e, "stretch", 0) ? Jr(C(e, "stretch", "fill-available"), t, n) + e : e;
1343
+ return ~lt(e, "stretch", 0) ? eo(C(e, "stretch", "fill-available"), t, n) + e : e;
1343
1344
  }
1344
1345
  break;
1345
1346
  // grid-(column|row)
@@ -1379,62 +1380,62 @@ function gt(e, t) {
1379
1380
  n += t(e[r], r, e, t) || "";
1380
1381
  return n;
1381
1382
  }
1382
- function zi(e, t, n, r) {
1383
+ function Gi(e, t, n, r) {
1383
1384
  switch (e.type) {
1384
- case xi:
1385
+ case Ai:
1385
1386
  if (e.children.length) break;
1386
- case Ti:
1387
- case yn:
1387
+ case xi:
1388
+ case vn:
1388
1389
  return e.return = e.return || e.value;
1389
- case Yr:
1390
- return "";
1391
1390
  case qr:
1391
+ return "";
1392
+ case Zr:
1392
1393
  return e.return = e.value + "{" + gt(e.children, r) + "}";
1393
1394
  case Et:
1394
1395
  if (!Y(e.value = e.props.join(","))) return "";
1395
1396
  }
1396
1397
  return Y(n = gt(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
1397
1398
  }
1398
- function Gi(e) {
1399
- var t = Kr(e);
1399
+ function Vi(e) {
1400
+ var t = Qr(e);
1400
1401
  return function(n, r, o, i) {
1401
1402
  for (var s = "", c = 0; c < t; c++)
1402
1403
  s += e[c](n, r, o, i) || "";
1403
1404
  return s;
1404
1405
  };
1405
1406
  }
1406
- function Vi(e) {
1407
+ function Yi(e) {
1407
1408
  return function(t) {
1408
1409
  t.root || (t = t.return) && e(t);
1409
1410
  };
1410
1411
  }
1411
- function Yi(e, t, n, r) {
1412
+ function qi(e, t, n, r) {
1412
1413
  if (e.length > -1 && !e.return)
1413
1414
  switch (e.type) {
1414
- case yn:
1415
- e.return = Jr(e.value, e.length, n);
1415
+ case vn:
1416
+ e.return = eo(e.value, e.length, n);
1416
1417
  return;
1417
- case qr:
1418
+ case Zr:
1418
1419
  return gt([se(e, { value: C(e.value, "@", "@" + O) })], r);
1419
1420
  case Et:
1420
1421
  if (e.length)
1421
- return Ri(n = e.props, function(o) {
1422
+ return Li(n = e.props, function(o) {
1422
1423
  switch (J(o, r = /(::plac\w+|:read-\w+)/)) {
1423
1424
  // :read-(only|write)
1424
1425
  case ":read-only":
1425
1426
  case ":read-write":
1426
- Ee(se(e, { props: [C(o, /:(read-\w+)/, ":" + je + "$1")] })), Ee(se(e, { props: [o] })), Yt(e, { props: Xn(n, r) });
1427
+ Ee(se(e, { props: [C(o, /:(read-\w+)/, ":" + ze + "$1")] })), Ee(se(e, { props: [o] })), Yt(e, { props: Kn(n, r) });
1427
1428
  break;
1428
1429
  // :placeholder
1429
1430
  case "::placeholder":
1430
- Ee(se(e, { props: [C(o, /:(plac\w+)/, ":" + O + "input-$1")] })), Ee(se(e, { props: [C(o, /:(plac\w+)/, ":" + je + "$1")] })), Ee(se(e, { props: [C(o, /:(plac\w+)/, I + "input-$1")] })), Ee(se(e, { props: [o] })), Yt(e, { props: Xn(n, r) });
1431
+ Ee(se(e, { props: [C(o, /:(plac\w+)/, ":" + O + "input-$1")] })), Ee(se(e, { props: [C(o, /:(plac\w+)/, ":" + ze + "$1")] })), Ee(se(e, { props: [C(o, /:(plac\w+)/, I + "input-$1")] })), Ee(se(e, { props: [o] })), Yt(e, { props: Kn(n, r) });
1431
1432
  break;
1432
1433
  }
1433
1434
  return "";
1434
1435
  });
1435
1436
  }
1436
1437
  }
1437
- var qi = {
1438
+ var Zi = {
1438
1439
  animationIterationCount: 1,
1439
1440
  aspectRatio: 1,
1440
1441
  borderImageOutset: 1,
@@ -1482,8 +1483,8 @@ var qi = {
1482
1483
  strokeMiterlimit: 1,
1483
1484
  strokeOpacity: 1,
1484
1485
  strokeWidth: 1
1485
- }, b = {}, ve = typeof process < "u" && b !== void 0 && (b.REACT_APP_SC_ATTR || b.SC_ATTR) || "data-styled", eo = "active", to = "data-styled-version", Ot = "6.1.18", Cn = `/*!sc*/
1486
- `, yt = typeof window < "u" && typeof document < "u", Zi = !!(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof process < "u" && b !== void 0 && b.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && b.REACT_APP_SC_DISABLE_SPEEDY !== "" ? b.REACT_APP_SC_DISABLE_SPEEDY !== "false" && b.REACT_APP_SC_DISABLE_SPEEDY : typeof process < "u" && b !== void 0 && b.SC_DISABLE_SPEEDY !== void 0 && b.SC_DISABLE_SPEEDY !== "" ? b.SC_DISABLE_SPEEDY !== "false" && b.SC_DISABLE_SPEEDY : b.NODE_ENV !== "production"), Jn = /invalid hook call/i, rt = /* @__PURE__ */ new Set(), Xi = function(e, t) {
1486
+ }, b = {}, ve = typeof process < "u" && b !== void 0 && (b.REACT_APP_SC_ATTR || b.SC_ATTR) || "data-styled", to = "active", no = "data-styled-version", Ot = "6.1.18", Sn = `/*!sc*/
1487
+ `, yt = typeof window < "u" && typeof document < "u", Xi = !!(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof process < "u" && b !== void 0 && b.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && b.REACT_APP_SC_DISABLE_SPEEDY !== "" ? b.REACT_APP_SC_DISABLE_SPEEDY !== "false" && b.REACT_APP_SC_DISABLE_SPEEDY : typeof process < "u" && b !== void 0 && b.SC_DISABLE_SPEEDY !== void 0 && b.SC_DISABLE_SPEEDY !== "" ? b.SC_DISABLE_SPEEDY !== "false" && b.SC_DISABLE_SPEEDY : b.NODE_ENV !== "production"), er = /invalid hook call/i, rt = /* @__PURE__ */ new Set(), Ki = function(e, t) {
1487
1488
  if (b.NODE_ENV !== "production") {
1488
1489
  var n = t ? ' with the id of "'.concat(t, '"') : "", r = "The component ".concat(e).concat(n, ` has been created dynamically.
1489
1490
  `) + `You may see this warning because you've called styled inside another component.
@@ -1494,65 +1495,65 @@ See https://styled-components.com/docs/basics#define-styled-components-outside-o
1494
1495
  var i = !0;
1495
1496
  console.error = function(s) {
1496
1497
  for (var c = [], a = 1; a < arguments.length; a++) c[a - 1] = arguments[a];
1497
- Jn.test(s) ? (i = !1, rt.delete(r)) : o.apply(void 0, ye([s], c, !1));
1498
+ er.test(s) ? (i = !1, rt.delete(r)) : o.apply(void 0, ye([s], c, !1));
1498
1499
  }, St(), i && !rt.has(r) && (console.warn(r), rt.add(r));
1499
1500
  } catch (s) {
1500
- Jn.test(s.message) && rt.delete(r);
1501
+ er.test(s.message) && rt.delete(r);
1501
1502
  } finally {
1502
1503
  console.error = o;
1503
1504
  }
1504
1505
  }
1505
1506
  }, Nt = Object.freeze([]), Ie = Object.freeze({});
1506
- function Ki(e, t, n) {
1507
+ function Qi(e, t, n) {
1507
1508
  return n === void 0 && (n = Ie), e.theme !== n.theme && e.theme || t || n.theme;
1508
1509
  }
1509
- var Xt = /* @__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"]), Qi = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, Ji = /(^-|-$)/g;
1510
- function er(e) {
1511
- return e.replace(Qi, "-").replace(Ji, "");
1510
+ var Xt = /* @__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, es = /(^-|-$)/g;
1511
+ function tr(e) {
1512
+ return e.replace(Ji, "-").replace(es, "");
1512
1513
  }
1513
- var es = /(a)(d)/gi, ot = 52, tr = function(e) {
1514
+ var ts = /(a)(d)/gi, ot = 52, nr = function(e) {
1514
1515
  return String.fromCharCode(e + (e > 25 ? 39 : 97));
1515
1516
  };
1516
1517
  function Kt(e) {
1517
1518
  var t, n = "";
1518
- for (t = Math.abs(e); t > ot; t = t / ot | 0) n = tr(t % ot) + n;
1519
- return (tr(t % ot) + n).replace(es, "$1-$2");
1519
+ for (t = Math.abs(e); t > ot; t = t / ot | 0) n = nr(t % ot) + n;
1520
+ return (nr(t % ot) + n).replace(ts, "$1-$2");
1520
1521
  }
1521
- var Mt, no = 5381, _e = function(e, t) {
1522
+ var Mt, ro = 5381, he = function(e, t) {
1522
1523
  for (var n = t.length; n; ) e = 33 * e ^ t.charCodeAt(--n);
1523
1524
  return e;
1524
- }, ro = function(e) {
1525
- return _e(no, e);
1525
+ }, oo = function(e) {
1526
+ return he(ro, e);
1526
1527
  };
1527
- function oo(e) {
1528
- return Kt(ro(e) >>> 0);
1529
- }
1530
1528
  function io(e) {
1529
+ return Kt(oo(e) >>> 0);
1530
+ }
1531
+ function so(e) {
1531
1532
  return b.NODE_ENV !== "production" && typeof e == "string" && e || e.displayName || e.name || "Component";
1532
1533
  }
1533
1534
  function Ht(e) {
1534
1535
  return typeof e == "string" && (b.NODE_ENV === "production" || e.charAt(0) === e.charAt(0).toLowerCase());
1535
1536
  }
1536
- var so = typeof Symbol == "function" && Symbol.for, ao = so ? Symbol.for("react.memo") : 60115, ts = so ? Symbol.for("react.forward_ref") : 60112, ns = { childContextTypes: !0, contextType: !0, contextTypes: !0, defaultProps: !0, displayName: !0, getDefaultProps: !0, getDerivedStateFromError: !0, getDerivedStateFromProps: !0, mixins: !0, propTypes: !0, type: !0 }, rs = { name: !0, length: !0, prototype: !0, caller: !0, callee: !0, arguments: !0, arity: !0 }, co = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 }, os = ((Mt = {})[ts] = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 }, Mt[ao] = co, Mt);
1537
- function nr(e) {
1538
- return ("type" in (t = e) && t.type.$$typeof) === ao ? co : "$$typeof" in e ? os[e.$$typeof] : ns;
1537
+ var ao = typeof Symbol == "function" && Symbol.for, co = ao ? Symbol.for("react.memo") : 60115, ns = ao ? Symbol.for("react.forward_ref") : 60112, rs = { childContextTypes: !0, contextType: !0, contextTypes: !0, defaultProps: !0, displayName: !0, getDefaultProps: !0, getDerivedStateFromError: !0, getDerivedStateFromProps: !0, mixins: !0, propTypes: !0, type: !0 }, os = { name: !0, length: !0, prototype: !0, caller: !0, callee: !0, arguments: !0, arity: !0 }, lo = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 }, is = ((Mt = {})[ns] = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 }, Mt[co] = lo, Mt);
1538
+ function rr(e) {
1539
+ return ("type" in (t = e) && t.type.$$typeof) === co ? lo : "$$typeof" in e ? is[e.$$typeof] : rs;
1539
1540
  var t;
1540
1541
  }
1541
- var is = Object.defineProperty, ss = Object.getOwnPropertyNames, rr = Object.getOwnPropertySymbols, as = Object.getOwnPropertyDescriptor, cs = Object.getPrototypeOf, or = Object.prototype;
1542
- function lo(e, t, n) {
1542
+ var ss = Object.defineProperty, as = Object.getOwnPropertyNames, or = Object.getOwnPropertySymbols, cs = Object.getOwnPropertyDescriptor, ls = Object.getPrototypeOf, ir = Object.prototype;
1543
+ function uo(e, t, n) {
1543
1544
  if (typeof t != "string") {
1544
- if (or) {
1545
- var r = cs(t);
1546
- r && r !== or && lo(e, r, n);
1545
+ if (ir) {
1546
+ var r = ls(t);
1547
+ r && r !== ir && uo(e, r, n);
1547
1548
  }
1548
- var o = ss(t);
1549
- rr && (o = o.concat(rr(t)));
1550
- for (var i = nr(e), s = nr(t), c = 0; c < o.length; ++c) {
1549
+ var o = as(t);
1550
+ or && (o = o.concat(or(t)));
1551
+ for (var i = rr(e), s = rr(t), c = 0; c < o.length; ++c) {
1551
1552
  var a = o[c];
1552
- if (!(a in rs || n && n[a] || s && a in s || i && a in i)) {
1553
- var u = as(t, a);
1553
+ if (!(a in os || n && n[a] || s && a in s || i && a in i)) {
1554
+ var u = cs(t, a);
1554
1555
  try {
1555
- is(e, a, u);
1556
+ ss(e, a, u);
1556
1557
  } catch {
1557
1558
  }
1558
1559
  }
@@ -1563,10 +1564,10 @@ function lo(e, t, n) {
1563
1564
  function Ce(e) {
1564
1565
  return typeof e == "function";
1565
1566
  }
1566
- function Sn(e) {
1567
+ function wn(e) {
1567
1568
  return typeof e == "object" && "styledComponentId" in e;
1568
1569
  }
1569
- function he(e, t) {
1570
+ function _e(e, t) {
1570
1571
  return e && t ? "".concat(e, " ").concat(t) : e || t || "";
1571
1572
  }
1572
1573
  function Qt(e, t) {
@@ -1583,10 +1584,10 @@ function Jt(e, t, n) {
1583
1584
  else if (Te(t)) for (var r in t) e[r] = Jt(e[r], t[r]);
1584
1585
  return e;
1585
1586
  }
1586
- function wn(e, t) {
1587
+ function En(e, t) {
1587
1588
  Object.defineProperty(e, "toString", { value: t });
1588
1589
  }
1589
- var ls = b.NODE_ENV !== "production" ? { 1: `Cannot create styled-component for component: %s.
1590
+ var us = b.NODE_ENV !== "production" ? { 1: `Cannot create styled-component for component: %s.
1590
1591
 
1591
1592
  `, 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.
1592
1593
 
@@ -1628,7 +1629,7 @@ as for instance in your render method then you may be running into this limitati
1628
1629
  `, 17: `CSSStyleSheet could not be found on HTMLStyleElement.
1629
1630
  Has styled-components' style tag been unmounted or altered by another script?
1630
1631
  `, 18: "ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`" } : {};
1631
- function us() {
1632
+ function fs() {
1632
1633
  for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
1633
1634
  for (var n = e[0], r = [], o = 1, i = e.length; o < i; o += 1) r.push(e[o]);
1634
1635
  return r.forEach(function(s) {
@@ -1637,9 +1638,9 @@ function us() {
1637
1638
  }
1638
1639
  function Z(e) {
1639
1640
  for (var t = [], n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];
1640
- return b.NODE_ENV === "production" ? new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e, " for more information.").concat(t.length > 0 ? " Args: ".concat(t.join(", ")) : "")) : new Error(us.apply(void 0, ye([ls[e]], t, !1)).trim());
1641
+ return b.NODE_ENV === "production" ? new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e, " for more information.").concat(t.length > 0 ? " Args: ".concat(t.join(", ")) : "")) : new Error(fs.apply(void 0, ye([us[e]], t, !1)).trim());
1641
1642
  }
1642
- var fs = function() {
1643
+ var ds = function() {
1643
1644
  function e(t) {
1644
1645
  this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = t;
1645
1646
  }
@@ -1662,50 +1663,50 @@ var fs = function() {
1662
1663
  }, e.prototype.getGroup = function(t) {
1663
1664
  var n = "";
1664
1665
  if (t >= this.length || this.groupSizes[t] === 0) return n;
1665
- for (var r = this.groupSizes[t], o = this.indexOfGroup(t), i = o + r, s = o; s < i; s++) n += "".concat(this.tag.getRule(s)).concat(Cn);
1666
+ for (var r = this.groupSizes[t], o = this.indexOfGroup(t), i = o + r, s = o; s < i; s++) n += "".concat(this.tag.getRule(s)).concat(Sn);
1666
1667
  return n;
1667
1668
  }, e;
1668
- }(), ds = 1 << 30, dt = /* @__PURE__ */ new Map(), vt = /* @__PURE__ */ new Map(), _t = 1, it = function(e) {
1669
+ }(), hs = 1 << 30, dt = /* @__PURE__ */ new Map(), vt = /* @__PURE__ */ new Map(), ht = 1, it = function(e) {
1669
1670
  if (dt.has(e)) return dt.get(e);
1670
- for (; vt.has(_t); ) _t++;
1671
- var t = _t++;
1672
- if (b.NODE_ENV !== "production" && ((0 | t) < 0 || t > ds)) throw Z(16, "".concat(t));
1671
+ for (; vt.has(ht); ) ht++;
1672
+ var t = ht++;
1673
+ if (b.NODE_ENV !== "production" && ((0 | t) < 0 || t > hs)) throw Z(16, "".concat(t));
1673
1674
  return dt.set(e, t), vt.set(t, e), t;
1674
1675
  }, _s = function(e, t) {
1675
- _t = t + 1, dt.set(e, t), vt.set(t, e);
1676
- }, hs = "style[".concat(ve, "][").concat(to, '="').concat(Ot, '"]'), ps = new RegExp("^".concat(ve, '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')), ms = function(e, t, n) {
1676
+ ht = t + 1, dt.set(e, t), vt.set(t, e);
1677
+ }, ps = "style[".concat(ve, "][").concat(no, '="').concat(Ot, '"]'), ms = new RegExp("^".concat(ve, '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')), gs = function(e, t, n) {
1677
1678
  for (var r, o = n.split(","), i = 0, s = o.length; i < s; i++) (r = o[i]) && e.registerName(t, r);
1678
- }, gs = function(e, t) {
1679
- for (var n, r = ((n = t.textContent) !== null && n !== void 0 ? n : "").split(Cn), o = [], i = 0, s = r.length; i < s; i++) {
1679
+ }, ys = function(e, t) {
1680
+ for (var n, r = ((n = t.textContent) !== null && n !== void 0 ? n : "").split(Sn), o = [], i = 0, s = r.length; i < s; i++) {
1680
1681
  var c = r[i].trim();
1681
1682
  if (c) {
1682
- var a = c.match(ps);
1683
+ var a = c.match(ms);
1683
1684
  if (a) {
1684
1685
  var u = 0 | parseInt(a[1], 10), d = a[2];
1685
- u !== 0 && (_s(d, u), ms(e, d, a[3]), e.getTag().insertRules(u, o)), o.length = 0;
1686
+ u !== 0 && (_s(d, u), gs(e, d, a[3]), e.getTag().insertRules(u, o)), o.length = 0;
1686
1687
  } else o.push(c);
1687
1688
  }
1688
1689
  }
1689
- }, ir = function(e) {
1690
- for (var t = document.querySelectorAll(hs), n = 0, r = t.length; n < r; n++) {
1690
+ }, sr = function(e) {
1691
+ for (var t = document.querySelectorAll(ps), n = 0, r = t.length; n < r; n++) {
1691
1692
  var o = t[n];
1692
- o && o.getAttribute(ve) !== eo && (gs(e, o), o.parentNode && o.parentNode.removeChild(o));
1693
+ o && o.getAttribute(ve) !== to && (ys(e, o), o.parentNode && o.parentNode.removeChild(o));
1693
1694
  }
1694
1695
  };
1695
- function ys() {
1696
+ function vs() {
1696
1697
  return typeof __webpack_nonce__ < "u" ? __webpack_nonce__ : null;
1697
1698
  }
1698
- var uo = function(e) {
1699
+ var fo = function(e) {
1699
1700
  var t = document.head, n = e || t, r = document.createElement("style"), o = function(c) {
1700
1701
  var a = Array.from(c.querySelectorAll("style[".concat(ve, "]")));
1701
1702
  return a[a.length - 1];
1702
1703
  }(n), i = o !== void 0 ? o.nextSibling : null;
1703
- r.setAttribute(ve, eo), r.setAttribute(to, Ot);
1704
- var s = ys();
1704
+ r.setAttribute(ve, to), r.setAttribute(no, Ot);
1705
+ var s = vs();
1705
1706
  return s && r.setAttribute("nonce", s), n.insertBefore(r, i), r;
1706
- }, vs = function() {
1707
+ }, Cs = function() {
1707
1708
  function e(t) {
1708
- this.element = uo(t), this.element.appendChild(document.createTextNode("")), this.sheet = function(n) {
1709
+ this.element = fo(t), this.element.appendChild(document.createTextNode("")), this.sheet = function(n) {
1709
1710
  if (n.sheet) return n.sheet;
1710
1711
  for (var r = document.styleSheets, o = 0, i = r.length; o < i; o++) {
1711
1712
  var s = r[o];
@@ -1726,9 +1727,9 @@ var uo = function(e) {
1726
1727
  var n = this.sheet.cssRules[t];
1727
1728
  return n && n.cssText ? n.cssText : "";
1728
1729
  }, e;
1729
- }(), Cs = function() {
1730
+ }(), Ss = function() {
1730
1731
  function e(t) {
1731
- this.element = uo(t), this.nodes = this.element.childNodes, this.length = 0;
1732
+ this.element = fo(t), this.nodes = this.element.childNodes, this.length = 0;
1732
1733
  }
1733
1734
  return e.prototype.insertRule = function(t, n) {
1734
1735
  if (t <= this.length && t >= 0) {
@@ -1741,7 +1742,7 @@ var uo = function(e) {
1741
1742
  }, e.prototype.getRule = function(t) {
1742
1743
  return t < this.length ? this.nodes[t].textContent : "";
1743
1744
  }, e;
1744
- }(), Ss = function() {
1745
+ }(), ws = function() {
1745
1746
  function e(t) {
1746
1747
  this.rules = [], this.length = 0;
1747
1748
  }
@@ -1752,23 +1753,23 @@ var uo = function(e) {
1752
1753
  }, e.prototype.getRule = function(t) {
1753
1754
  return t < this.length ? this.rules[t] : "";
1754
1755
  }, e;
1755
- }(), sr = yt, ws = { isServer: !yt, useCSSOMInjection: !Zi }, fo = function() {
1756
+ }(), ar = yt, Es = { isServer: !yt, useCSSOMInjection: !Xi }, ho = function() {
1756
1757
  function e(t, n, r) {
1757
1758
  t === void 0 && (t = Ie), n === void 0 && (n = {});
1758
1759
  var o = this;
1759
- this.options = P(P({}, ws), t), this.gs = n, this.names = new Map(r), this.server = !!t.isServer, !this.server && yt && sr && (sr = !1, ir(this)), wn(this, function() {
1760
+ this.options = P(P({}, Es), t), this.gs = n, this.names = new Map(r), this.server = !!t.isServer, !this.server && yt && ar && (ar = !1, sr(this)), En(this, function() {
1760
1761
  return function(i) {
1761
1762
  for (var s = i.getTag(), c = s.length, a = "", u = function(l) {
1762
- var h = function(m) {
1763
+ var _ = function(m) {
1763
1764
  return vt.get(m);
1764
1765
  }(l);
1765
- if (h === void 0) return "continue";
1766
- var _ = i.names.get(h), g = s.getGroup(l);
1767
- if (_ === void 0 || !_.size || g.length === 0) return "continue";
1768
- var w = "".concat(ve, ".g").concat(l, '[id="').concat(h, '"]'), $ = "";
1769
- _ !== void 0 && _.forEach(function(m) {
1766
+ if (_ === void 0) return "continue";
1767
+ var h = i.names.get(_), g = s.getGroup(l);
1768
+ if (h === void 0 || !h.size || g.length === 0) return "continue";
1769
+ var w = "".concat(ve, ".g").concat(l, '[id="').concat(_, '"]'), $ = "";
1770
+ h !== void 0 && h.forEach(function(m) {
1770
1771
  m.length > 0 && ($ += "".concat(m, ","));
1771
- }), a += "".concat(g).concat(w, '{content:"').concat($, '"}').concat(Cn);
1772
+ }), a += "".concat(g).concat(w, '{content:"').concat($, '"}').concat(Sn);
1772
1773
  }, d = 0; d < c; d++) u(d);
1773
1774
  return a;
1774
1775
  }(o);
@@ -1777,7 +1778,7 @@ var uo = function(e) {
1777
1778
  return e.registerId = function(t) {
1778
1779
  return it(t);
1779
1780
  }, e.prototype.rehydrate = function() {
1780
- !this.server && yt && ir(this);
1781
+ !this.server && yt && sr(this);
1781
1782
  }, e.prototype.reconstructWithOptions = function(t, n) {
1782
1783
  return n === void 0 && (n = !0), new e(P(P({}, this.options), t), this.gs, n && this.names || void 0);
1783
1784
  }, e.prototype.allocateGSInstance = function(t) {
@@ -1785,8 +1786,8 @@ var uo = function(e) {
1785
1786
  }, e.prototype.getTag = function() {
1786
1787
  return this.tag || (this.tag = (t = function(n) {
1787
1788
  var r = n.useCSSOMInjection, o = n.target;
1788
- return n.isServer ? new Ss(o) : r ? new vs(o) : new Cs(o);
1789
- }(this.options), new fs(t)));
1789
+ return n.isServer ? new ws(o) : r ? new Cs(o) : new Ss(o);
1790
+ }(this.options), new ds(t)));
1790
1791
  var t;
1791
1792
  }, e.prototype.hasNameForId = function(t, n) {
1792
1793
  return this.names.has(t) && this.names.get(t).has(n);
@@ -1805,7 +1806,7 @@ var uo = function(e) {
1805
1806
  }, e.prototype.clearTag = function() {
1806
1807
  this.tag = void 0;
1807
1808
  }, e;
1808
- }(), Es = /&/g, bs = /^\s*\/\/.*$/gm;
1809
+ }(), bs = /&/g, $s = /^\s*\/\/.*$/gm;
1809
1810
  function _o(e, t) {
1810
1811
  return e.map(function(n) {
1811
1812
  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) {
@@ -1813,46 +1814,46 @@ function _o(e, t) {
1813
1814
  })), Array.isArray(n.children) && n.type !== "@keyframes" && (n.children = _o(n.children, t)), n;
1814
1815
  });
1815
1816
  }
1816
- function ho(e) {
1817
- var t, n, r, o = e === void 0 ? Ie : e, i = o.options, s = i === void 0 ? Ie : i, c = o.plugins, a = c === void 0 ? Nt : c, u = function(h, _, g) {
1818
- return g.startsWith(n) && g.endsWith(n) && g.replaceAll(n, "").length > 0 ? ".".concat(t) : h;
1817
+ function po(e) {
1818
+ var t, n, r, o = e === void 0 ? Ie : e, i = o.options, s = i === void 0 ? Ie : i, c = o.plugins, a = c === void 0 ? Nt : c, u = function(_, h, g) {
1819
+ return g.startsWith(n) && g.endsWith(n) && g.replaceAll(n, "").length > 0 ? ".".concat(t) : _;
1819
1820
  }, d = a.slice();
1820
- d.push(function(h) {
1821
- h.type === Et && h.value.includes("&") && (h.props[0] = h.props[0].replace(Es, n).replace(r, u));
1822
- }), s.prefix && d.push(Yi), d.push(zi);
1823
- var l = function(h, _, g, w) {
1824
- _ === void 0 && (_ = ""), g === void 0 && (g = ""), w === void 0 && (w = "&"), t = w, n = _, r = new RegExp("\\".concat(n, "\\b"), "g");
1825
- var $ = h.replace(bs, ""), m = Wi(g || _ ? "".concat(g, " ").concat(_, " { ").concat($, " }") : $);
1821
+ d.push(function(_) {
1822
+ _.type === Et && _.value.includes("&") && (_.props[0] = _.props[0].replace(bs, n).replace(r, u));
1823
+ }), s.prefix && d.push(qi), d.push(Gi);
1824
+ var l = function(_, h, g, w) {
1825
+ h === void 0 && (h = ""), g === void 0 && (g = ""), w === void 0 && (w = "&"), t = w, n = h, r = new RegExp("\\".concat(n, "\\b"), "g");
1826
+ var $ = _.replace($s, ""), m = zi(g || h ? "".concat(g, " ").concat(h, " { ").concat($, " }") : $);
1826
1827
  s.namespace && (m = _o(m, s.namespace));
1827
1828
  var p = [];
1828
- return gt(m, Gi(d.concat(Vi(function(k) {
1829
+ return gt(m, Vi(d.concat(Yi(function(k) {
1829
1830
  return p.push(k);
1830
1831
  })))), p;
1831
1832
  };
1832
- return l.hash = a.length ? a.reduce(function(h, _) {
1833
- return _.name || Z(15), _e(h, _.name);
1834
- }, no).toString() : "", l;
1833
+ return l.hash = a.length ? a.reduce(function(_, h) {
1834
+ return h.name || Z(15), he(_, h.name);
1835
+ }, ro).toString() : "", l;
1835
1836
  }
1836
- var $s = new fo(), en = ho(), En = oe.createContext({ shouldForwardProp: void 0, styleSheet: $s, stylis: en });
1837
- En.Consumer;
1838
- var ks = oe.createContext(void 0);
1837
+ var ks = new ho(), en = po(), bn = oe.createContext({ shouldForwardProp: void 0, styleSheet: ks, stylis: en });
1838
+ bn.Consumer;
1839
+ var Os = oe.createContext(void 0);
1839
1840
  function tn() {
1840
- return Ke(En);
1841
+ return Ke(bn);
1841
1842
  }
1842
- function Os(e) {
1843
+ function Ns(e) {
1843
1844
  var t = M(e.stylisPlugins), n = t[0], r = t[1], o = tn().styleSheet, i = re(function() {
1844
1845
  var a = o;
1845
1846
  return e.sheet ? a = e.sheet : e.target && (a = a.reconstructWithOptions({ target: e.target }, !1)), e.disableCSSOMInjection && (a = a.reconstructWithOptions({ useCSSOMInjection: !1 })), a;
1846
1847
  }, [e.disableCSSOMInjection, e.sheet, e.target, o]), s = re(function() {
1847
- return ho({ options: { namespace: e.namespace, prefix: e.enableVendorPrefixes }, plugins: n });
1848
+ return po({ options: { namespace: e.namespace, prefix: e.enableVendorPrefixes }, plugins: n });
1848
1849
  }, [e.enableVendorPrefixes, e.namespace, n]);
1849
1850
  X(function() {
1850
- Ii(n, e.stylisPlugins) || r(e.stylisPlugins);
1851
+ Ti(n, e.stylisPlugins) || r(e.stylisPlugins);
1851
1852
  }, [e.stylisPlugins]);
1852
1853
  var c = re(function() {
1853
1854
  return { shouldForwardProp: e.shouldForwardProp, styleSheet: i, stylis: s };
1854
1855
  }, [e.shouldForwardProp, i, s]);
1855
- return oe.createElement(En.Provider, { value: c }, oe.createElement(ks.Provider, { value: s }, e.children));
1856
+ return oe.createElement(bn.Provider, { value: c }, oe.createElement(Os.Provider, { value: s }, e.children));
1856
1857
  }
1857
1858
  var nn = function() {
1858
1859
  function e(t, n) {
@@ -1861,93 +1862,93 @@ var nn = function() {
1861
1862
  i === void 0 && (i = en);
1862
1863
  var s = r.name + i.hash;
1863
1864
  o.hasNameForId(r.id, s) || o.insertRules(r.id, s, i(r.rules, s, "@keyframes"));
1864
- }, this.name = t, this.id = "sc-keyframes-".concat(t), this.rules = n, wn(this, function() {
1865
+ }, this.name = t, this.id = "sc-keyframes-".concat(t), this.rules = n, En(this, function() {
1865
1866
  throw Z(12, String(r.name));
1866
1867
  });
1867
1868
  }
1868
1869
  return e.prototype.getName = function(t) {
1869
1870
  return t === void 0 && (t = en), this.name + t.hash;
1870
1871
  }, e;
1871
- }(), Ns = function(e) {
1872
+ }(), Is = function(e) {
1872
1873
  return e >= "A" && e <= "Z";
1873
1874
  };
1874
- function ar(e) {
1875
+ function cr(e) {
1875
1876
  for (var t = "", n = 0; n < e.length; n++) {
1876
1877
  var r = e[n];
1877
1878
  if (n === 1 && r === "-" && e[0] === "-") return e;
1878
- Ns(r) ? t += "-" + r.toLowerCase() : t += r;
1879
+ Is(r) ? t += "-" + r.toLowerCase() : t += r;
1879
1880
  }
1880
1881
  return t.startsWith("ms-") ? "-" + t : t;
1881
1882
  }
1882
- var po = function(e) {
1883
+ var mo = function(e) {
1883
1884
  return e == null || e === !1 || e === "";
1884
- }, mo = function(e) {
1885
+ }, go = function(e) {
1885
1886
  var t, n, r = [];
1886
1887
  for (var o in e) {
1887
1888
  var i = e[o];
1888
- e.hasOwnProperty(o) && !po(i) && (Array.isArray(i) && i.isCss || Ce(i) ? r.push("".concat(ar(o), ":"), i, ";") : Te(i) ? r.push.apply(r, ye(ye(["".concat(o, " {")], mo(i), !1), ["}"], !1)) : r.push("".concat(ar(o), ": ").concat((t = o, (n = i) == null || typeof n == "boolean" || n === "" ? "" : typeof n != "number" || n === 0 || t in qi || t.startsWith("--") ? String(n).trim() : "".concat(n, "px")), ";")));
1889
+ e.hasOwnProperty(o) && !mo(i) && (Array.isArray(i) && i.isCss || Ce(i) ? r.push("".concat(cr(o), ":"), i, ";") : Te(i) ? r.push.apply(r, ye(ye(["".concat(o, " {")], go(i), !1), ["}"], !1)) : r.push("".concat(cr(o), ": ").concat((t = o, (n = i) == null || typeof n == "boolean" || n === "" ? "" : typeof n != "number" || n === 0 || t in Zi || t.startsWith("--") ? String(n).trim() : "".concat(n, "px")), ";")));
1889
1890
  }
1890
1891
  return r;
1891
1892
  };
1892
1893
  function me(e, t, n, r) {
1893
- if (po(e)) return [];
1894
- if (Sn(e)) return [".".concat(e.styledComponentId)];
1894
+ if (mo(e)) return [];
1895
+ if (wn(e)) return [".".concat(e.styledComponentId)];
1895
1896
  if (Ce(e)) {
1896
1897
  if (!Ce(i = e) || i.prototype && i.prototype.isReactComponent || !t) return [e];
1897
1898
  var o = e(t);
1898
- return b.NODE_ENV === "production" || typeof o != "object" || Array.isArray(o) || o instanceof nn || Te(o) || o === null || console.error("".concat(io(e), " is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")), me(o, t, n, r);
1899
+ return b.NODE_ENV === "production" || typeof o != "object" || Array.isArray(o) || o instanceof nn || Te(o) || o === null || console.error("".concat(so(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.")), me(o, t, n, r);
1899
1900
  }
1900
1901
  var i;
1901
- return e instanceof nn ? n ? (e.inject(n, r), [e.getName(r)]) : [e] : Te(e) ? mo(e) : Array.isArray(e) ? Array.prototype.concat.apply(Nt, e.map(function(s) {
1902
+ return e instanceof nn ? n ? (e.inject(n, r), [e.getName(r)]) : [e] : Te(e) ? go(e) : Array.isArray(e) ? Array.prototype.concat.apply(Nt, e.map(function(s) {
1902
1903
  return me(s, t, n, r);
1903
1904
  })) : [e.toString()];
1904
1905
  }
1905
- function Is(e) {
1906
+ function Ts(e) {
1906
1907
  for (var t = 0; t < e.length; t += 1) {
1907
1908
  var n = e[t];
1908
- if (Ce(n) && !Sn(n)) return !1;
1909
+ if (Ce(n) && !wn(n)) return !1;
1909
1910
  }
1910
1911
  return !0;
1911
1912
  }
1912
- var Ts = ro(Ot), xs = function() {
1913
+ var xs = oo(Ot), As = function() {
1913
1914
  function e(t, n, r) {
1914
- this.rules = t, this.staticRulesId = "", this.isStatic = b.NODE_ENV === "production" && (r === void 0 || r.isStatic) && Is(t), this.componentId = n, this.baseHash = _e(Ts, n), this.baseStyle = r, fo.registerId(n);
1915
+ this.rules = t, this.staticRulesId = "", this.isStatic = b.NODE_ENV === "production" && (r === void 0 || r.isStatic) && Ts(t), this.componentId = n, this.baseHash = he(xs, n), this.baseStyle = r, ho.registerId(n);
1915
1916
  }
1916
1917
  return e.prototype.generateAndInjectStyles = function(t, n, r) {
1917
1918
  var o = this.baseStyle ? this.baseStyle.generateAndInjectStyles(t, n, r) : "";
1918
- if (this.isStatic && !r.hash) if (this.staticRulesId && n.hasNameForId(this.componentId, this.staticRulesId)) o = he(o, this.staticRulesId);
1919
+ if (this.isStatic && !r.hash) if (this.staticRulesId && n.hasNameForId(this.componentId, this.staticRulesId)) o = _e(o, this.staticRulesId);
1919
1920
  else {
1920
- var i = Qt(me(this.rules, t, n, r)), s = Kt(_e(this.baseHash, i) >>> 0);
1921
+ var i = Qt(me(this.rules, t, n, r)), s = Kt(he(this.baseHash, i) >>> 0);
1921
1922
  if (!n.hasNameForId(this.componentId, s)) {
1922
1923
  var c = r(i, ".".concat(s), void 0, this.componentId);
1923
1924
  n.insertRules(this.componentId, s, c);
1924
1925
  }
1925
- o = he(o, s), this.staticRulesId = s;
1926
+ o = _e(o, s), this.staticRulesId = s;
1926
1927
  }
1927
1928
  else {
1928
- for (var a = _e(this.baseHash, r.hash), u = "", d = 0; d < this.rules.length; d++) {
1929
+ for (var a = he(this.baseHash, r.hash), u = "", d = 0; d < this.rules.length; d++) {
1929
1930
  var l = this.rules[d];
1930
- if (typeof l == "string") u += l, b.NODE_ENV !== "production" && (a = _e(a, l));
1931
+ if (typeof l == "string") u += l, b.NODE_ENV !== "production" && (a = he(a, l));
1931
1932
  else if (l) {
1932
- var h = Qt(me(l, t, n, r));
1933
- a = _e(a, h + d), u += h;
1933
+ var _ = Qt(me(l, t, n, r));
1934
+ a = he(a, _ + d), u += _;
1934
1935
  }
1935
1936
  }
1936
1937
  if (u) {
1937
- var _ = Kt(a >>> 0);
1938
- n.hasNameForId(this.componentId, _) || n.insertRules(this.componentId, _, r(u, ".".concat(_), void 0, this.componentId)), o = he(o, _);
1938
+ var h = Kt(a >>> 0);
1939
+ n.hasNameForId(this.componentId, h) || n.insertRules(this.componentId, h, r(u, ".".concat(h), void 0, this.componentId)), o = _e(o, h);
1939
1940
  }
1940
1941
  }
1941
1942
  return o;
1942
1943
  }, e;
1943
1944
  }(), Ye = oe.createContext(void 0);
1944
1945
  Ye.Consumer;
1945
- function As() {
1946
+ function Rs() {
1946
1947
  var e = Ke(Ye);
1947
1948
  if (!e) throw Z(18);
1948
1949
  return e;
1949
1950
  }
1950
- function Rs(e) {
1951
+ function Ls(e) {
1951
1952
  var t = oe.useContext(Ye), n = re(function() {
1952
1953
  return function(r, o) {
1953
1954
  if (!r) throw Z(14);
@@ -1962,16 +1963,16 @@ function Rs(e) {
1962
1963
  }, [e.theme, t]);
1963
1964
  return e.children ? oe.createElement(Ye.Provider, { value: n }, e.children) : null;
1964
1965
  }
1965
- var Ut = {}, cr = /* @__PURE__ */ new Set();
1966
- function Ls(e, t, n) {
1967
- var r = Sn(e), o = e, i = !Ht(e), s = t.attrs, c = s === void 0 ? Nt : s, a = t.componentId, u = a === void 0 ? function(E, N) {
1968
- var S = typeof E != "string" ? "sc" : er(E);
1966
+ var Ut = {}, lr = /* @__PURE__ */ new Set();
1967
+ function Ps(e, t, n) {
1968
+ var r = wn(e), o = e, i = !Ht(e), s = t.attrs, c = s === void 0 ? Nt : s, a = t.componentId, u = a === void 0 ? function(E, N) {
1969
+ var S = typeof E != "string" ? "sc" : tr(E);
1969
1970
  Ut[S] = (Ut[S] || 0) + 1;
1970
- var y = "".concat(S, "-").concat(oo(Ot + S + Ut[S]));
1971
+ var y = "".concat(S, "-").concat(io(Ot + S + Ut[S]));
1971
1972
  return N ? "".concat(N, "-").concat(y) : y;
1972
1973
  }(t.displayName, t.parentComponentId) : a, d = t.displayName, l = d === void 0 ? function(E) {
1973
- return Ht(E) ? "styled.".concat(E) : "Styled(".concat(io(E), ")");
1974
- }(e) : d, h = t.displayName && t.componentId ? "".concat(er(t.displayName), "-").concat(t.componentId) : t.componentId || u, _ = r && o.attrs ? o.attrs.concat(c).filter(Boolean) : c, g = t.shouldForwardProp;
1974
+ return Ht(E) ? "styled.".concat(E) : "Styled(".concat(so(E), ")");
1975
+ }(e) : d, _ = t.displayName && t.componentId ? "".concat(tr(t.displayName), "-").concat(t.componentId) : t.componentId || u, h = r && o.attrs ? o.attrs.concat(c).filter(Boolean) : c, g = t.shouldForwardProp;
1975
1976
  if (r && o.shouldForwardProp) {
1976
1977
  var w = o.shouldForwardProp;
1977
1978
  if (t.shouldForwardProp) {
@@ -1981,31 +1982,31 @@ function Ls(e, t, n) {
1981
1982
  };
1982
1983
  } else g = w;
1983
1984
  }
1984
- var m = new xs(n, h, r ? o.componentStyle : void 0);
1985
+ var m = new As(n, _, r ? o.componentStyle : void 0);
1985
1986
  function p(E, N) {
1986
1987
  return function(S, y, H) {
1987
- var F = S.attrs, Le = S.componentStyle, B = S.defaultProps, ue = S.foldedComponentIds, $n = S.styledComponentId, $o = S.target, ko = oe.useContext(Ye), Oo = tn(), It = S.shouldForwardProp || Oo.shouldForwardProp;
1988
- b.NODE_ENV !== "production" && mt($n);
1989
- var kn = Ki(y, ko, B) || Ie, K = function(Qe, Me, Je) {
1988
+ var F = S.attrs, Le = S.componentStyle, B = S.defaultProps, ue = S.foldedComponentIds, kn = S.styledComponentId, ko = S.target, Oo = oe.useContext(Ye), No = tn(), It = S.shouldForwardProp || No.shouldForwardProp;
1989
+ b.NODE_ENV !== "production" && mt(kn);
1990
+ var On = Qi(y, Oo, B) || Ie, K = function(Qe, Me, Je) {
1990
1991
  for (var we, fe = P(P({}, Me), { className: void 0, theme: Je }), At = 0; At < Qe.length; At += 1) {
1991
1992
  var et = Ce(we = Qe[At]) ? we(fe) : we;
1992
- for (var ie in et) fe[ie] = ie === "className" ? he(fe[ie], et[ie]) : ie === "style" ? P(P({}, fe[ie]), et[ie]) : et[ie];
1993
+ for (var ie in et) fe[ie] = ie === "className" ? _e(fe[ie], et[ie]) : ie === "style" ? P(P({}, fe[ie]), et[ie]) : et[ie];
1993
1994
  }
1994
- return Me.className && (fe.className = he(fe.className, Me.className)), fe;
1995
- }(F, y, kn), Pe = K.as || $o, De = {};
1996
- for (var W in K) K[W] === void 0 || W[0] === "$" || W === "as" || W === "theme" && K.theme === kn || (W === "forwardedAs" ? De.as = K.forwardedAs : It && !It(W, Pe) || (De[W] = K[W], It || b.NODE_ENV !== "development" || qo(W) || cr.has(W) || !Xt.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.)')))));
1995
+ return Me.className && (fe.className = _e(fe.className, Me.className)), fe;
1996
+ }(F, y, On), Pe = K.as || ko, De = {};
1997
+ for (var W in K) K[W] === void 0 || W[0] === "$" || W === "as" || W === "theme" && K.theme === On || (W === "forwardedAs" ? De.as = K.forwardedAs : It && !It(W, Pe) || (De[W] = K[W], It || b.NODE_ENV !== "development" || Zo(W) || lr.has(W) || !Xt.has(Pe) || (lr.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.)')))));
1997
1998
  var Tt = function(Qe, Me) {
1998
1999
  var Je = tn(), we = Qe.generateAndInjectStyles(Me, Je.styleSheet, Je.stylis);
1999
2000
  return b.NODE_ENV !== "production" && mt(we), we;
2000
2001
  }(Le, K);
2001
2002
  b.NODE_ENV !== "production" && S.warnTooManyClasses && S.warnTooManyClasses(Tt);
2002
- var xt = he(ue, $n);
2003
+ var xt = _e(ue, kn);
2003
2004
  return Tt && (xt += " " + Tt), K.className && (xt += " " + K.className), De[Ht(Pe) && !Xt.has(Pe) ? "class" : "className"] = xt, H && (De.ref = H), D(Pe, De);
2004
2005
  }(k, E, N);
2005
2006
  }
2006
2007
  p.displayName = l;
2007
2008
  var k = oe.forwardRef(p);
2008
- return k.attrs = _, k.componentStyle = m, k.displayName = l, k.shouldForwardProp = g, k.foldedComponentIds = r ? he(o.foldedComponentIds, o.styledComponentId) : "", k.styledComponentId = h, k.target = r ? o.target : e, Object.defineProperty(k, "defaultProps", { get: function() {
2009
+ return k.attrs = h, k.componentStyle = m, k.displayName = l, k.shouldForwardProp = g, k.foldedComponentIds = r ? _e(o.foldedComponentIds, o.styledComponentId) : "", k.styledComponentId = _, k.target = r ? o.target : e, Object.defineProperty(k, "defaultProps", { get: function() {
2009
2010
  return this._foldedDefaultProps;
2010
2011
  }, set: function(E) {
2011
2012
  this._foldedDefaultProps = r ? function(N) {
@@ -2013,7 +2014,7 @@ function Ls(e, t, n) {
2013
2014
  for (var H = 0, F = S; H < F.length; H++) Jt(N, F[H], !0);
2014
2015
  return N;
2015
2016
  }({}, o.defaultProps, E) : E;
2016
- } }), b.NODE_ENV !== "production" && (Xi(l, h), k.warnTooManyClasses = /* @__PURE__ */ function(E, N) {
2017
+ } }), b.NODE_ENV !== "production" && (Ki(l, _), k.warnTooManyClasses = /* @__PURE__ */ function(E, N) {
2017
2018
  var S = {}, y = !1;
2018
2019
  return function(H) {
2019
2020
  if (!y && (S[H] = !0, Object.keys(S).length >= 200)) {
@@ -2030,28 +2031,28 @@ Example:
2030
2031
  <Component />`), y = !0, S = {};
2031
2032
  }
2032
2033
  };
2033
- }(l, h)), wn(k, function() {
2034
+ }(l, _)), En(k, function() {
2034
2035
  return ".".concat(k.styledComponentId);
2035
- }), i && lo(k, e, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0 }), k;
2036
+ }), i && uo(k, e, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0 }), k;
2036
2037
  }
2037
- function lr(e, t) {
2038
+ function ur(e, t) {
2038
2039
  for (var n = [e[0]], r = 0, o = t.length; r < o; r += 1) n.push(t[r], e[r + 1]);
2039
2040
  return n;
2040
2041
  }
2041
- var ur = function(e) {
2042
+ var fr = function(e) {
2042
2043
  return Object.assign(e, { isCss: !0 });
2043
2044
  };
2044
- function bn(e) {
2045
+ function $n(e) {
2045
2046
  for (var t = [], n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];
2046
- if (Ce(e) || Te(e)) return ur(me(lr(Nt, ye([e], t, !0))));
2047
+ if (Ce(e) || Te(e)) return fr(me(ur(Nt, ye([e], t, !0))));
2047
2048
  var r = e;
2048
- return t.length === 0 && r.length === 1 && typeof r[0] == "string" ? me(r) : ur(me(lr(r, t)));
2049
+ return t.length === 0 && r.length === 1 && typeof r[0] == "string" ? me(r) : fr(me(ur(r, t)));
2049
2050
  }
2050
2051
  function rn(e, t, n) {
2051
2052
  if (n === void 0 && (n = Ie), !t) throw Z(1, t);
2052
2053
  var r = function(o) {
2053
2054
  for (var i = [], s = 1; s < arguments.length; s++) i[s - 1] = arguments[s];
2054
- return e(t, n, bn.apply(void 0, ye([o], i, !1)));
2055
+ return e(t, n, $n.apply(void 0, ye([o], i, !1)));
2055
2056
  };
2056
2057
  return r.attrs = function(o) {
2057
2058
  return rn(e, t, P(P({}, n), { attrs: Array.prototype.concat(n.attrs, o).filter(Boolean) }));
@@ -2059,16 +2060,16 @@ function rn(e, t, n) {
2059
2060
  return rn(e, t, P(P({}, n), o));
2060
2061
  }, r;
2061
2062
  }
2062
- var go = function(e) {
2063
- return rn(Ls, e);
2064
- }, U = go;
2063
+ var yo = function(e) {
2064
+ return rn(Ps, e);
2065
+ }, U = yo;
2065
2066
  Xt.forEach(function(e) {
2066
- U[e] = go(e);
2067
+ U[e] = yo(e);
2067
2068
  });
2068
2069
  function le(e) {
2069
2070
  for (var t = [], n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];
2070
2071
  b.NODE_ENV !== "production" && typeof navigator < "u" && navigator.product === "ReactNative" && console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");
2071
- var r = Qt(bn.apply(void 0, ye([e], t, !1))), o = oo(r);
2072
+ var r = Qt($n.apply(void 0, ye([e], t, !1))), o = io(r);
2072
2073
  return new nn(o, r);
2073
2074
  }
2074
2075
  b.NODE_ENV !== "production" && typeof navigator < "u" && navigator.product === "ReactNative" && console.warn(`It looks like you've imported 'styled-components' on React Native.
@@ -2096,7 +2097,7 @@ const Q = {
2096
2097
  SQUARE_ROUNDED_SOLID: "square-rounded-solid",
2097
2098
  SQUARE_DASH: "square-dash",
2098
2099
  SQUARE_SOLID: "square-solid"
2099
- }, yo = 14, Ps = 0.0276;
2100
+ }, vo = 14, Ds = 0.0276;
2100
2101
  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 || {});
2101
2102
  const Be = {
2102
2103
  300: {
@@ -2119,10 +2120,10 @@ const Be = {
2119
2120
  marginLeft: 12,
2120
2121
  buttonPadding: 24
2121
2122
  }
2122
- }, fr = {
2123
+ }, dr = {
2123
2124
  loading: { text: "Loading. Please wait.", visible: !0 },
2124
2125
  done: { text: "Waiting for input...", visible: !0 }
2125
- }, Ds = {
2126
+ }, Ms = {
2126
2127
  [L.CANDIDATE_SELECTION]: "Stay still…",
2127
2128
  [L.FACE_TOO_CLOSE]: "Move back",
2128
2129
  [L.FACE_TOO_FAR]: "Move closer",
@@ -2137,27 +2138,27 @@ const Be = {
2137
2138
  [L.MOUTH_SCORE_TOO_HIGH]: "Keep neutral expression",
2138
2139
  [L.MOUTH_SCORE_TOO_LOW]: "Smile :)",
2139
2140
  [L.MOUTH_NOT_PRESENT]: "Position your face into the circle"
2140
- }, Ms = {
2141
- ...Ds,
2141
+ }, Hs = {
2142
+ ...Ms,
2142
2143
  [ne.SMILE]: "Smile :)",
2143
2144
  [ne.SMILE_CANDIDATE_SELECTION]: "Smile :)",
2144
2145
  [ne.KEEP_NEUTRAL_EXPRESSION]: "Keep neutral expression"
2145
- }, Hs = {
2146
+ }, Us = {
2146
2147
  [ne.SMILE]: "Smile more!",
2147
2148
  [ne.KEEP_NEUTRAL_EXPRESSION]: "Don't smile"
2148
- }, Us = "rgba(19, 19, 19, 0.5)", Fs = 34;
2149
- function dr(e, t) {
2150
- return Math.max(t, t + (e - 400) * Ps + 2);
2149
+ }, Fs = "rgba(19, 19, 19, 0.5)", Bs = 34;
2150
+ function hr(e, t) {
2151
+ return Math.max(t, t + (e - 400) * Ds + 2);
2151
2152
  }
2152
- const Bs = (e, t = yo) => e ? e.width < e.height ? dr(e.width, t) : dr(e.height, t) : t, Ws = (e) => e > ee.Default ? Be[ee.Default] : e > ee.L ? Be[ee.L] : e > ee.M ? Be[ee.M] : Be[ee.S], js = (e) => e ? Ws(e.width) : Be[ee.Default];
2153
- function zs() {
2153
+ const Ws = (e, t = vo) => e ? e.width < e.height ? hr(e.width, t) : hr(e.height, t) : t, zs = (e) => e > ee.Default ? Be[ee.Default] : e > ee.L ? Be[ee.L] : e > ee.M ? Be[ee.M] : Be[ee.S], js = (e) => e ? zs(e.width) : Be[ee.Default];
2154
+ function Gs() {
2154
2155
  const e = "https://fonts.googleapis.com/css?family=Montserrat:600";
2155
2156
  if (!document.querySelector(`link[href="${e}"]`)) {
2156
2157
  const n = document.createElement("link");
2157
2158
  n.href = e, n.rel = "stylesheet", document.head.appendChild(n);
2158
2159
  }
2159
2160
  }
2160
- function Gs({
2161
+ function Vs({
2161
2162
  currentInstruction: e,
2162
2163
  escalatedInstructions: t,
2163
2164
  instructions: n
@@ -2166,24 +2167,24 @@ function Gs({
2166
2167
  if (r)
2167
2168
  return o && t && r in t ? t[r] : n[r];
2168
2169
  }
2169
- const ze = xr(void 0);
2170
- ze.displayName = "UiCustomizationContext";
2170
+ const je = Ar(void 0);
2171
+ je.displayName = "UiCustomizationContext";
2171
2172
  function Se() {
2172
- const e = Ke(ze);
2173
+ const e = Ke(je);
2173
2174
  if (!e)
2174
2175
  throw new Error(
2175
- `${ze.displayName} must be used within a ${ze.displayName} Provider`
2176
+ `${je.displayName} must be used within a ${je.displayName} Provider`
2176
2177
  );
2177
2178
  return e;
2178
2179
  }
2179
- function Vs({ children: e, props: t, videoElementSize: n }) {
2180
- const { font: r } = As(), o = re(
2181
- () => ({ ...t, videoElementSize: n, fontSize: Bs(n, r.minimumSize) }),
2180
+ function Ys({ children: e, props: t, videoElementSize: n }) {
2181
+ const { font: r } = Rs(), o = re(
2182
+ () => ({ ...t, videoElementSize: n, fontSize: Ws(n, r.minimumSize) }),
2182
2183
  [t, r.minimumSize, n]
2183
2184
  );
2184
- return /* @__PURE__ */ f(ze.Provider, { value: o, children: e });
2185
+ return /* @__PURE__ */ f(je.Provider, { value: o, children: e });
2185
2186
  }
2186
- const vo = ({ svgSize: e }) => /* @__PURE__ */ f("svg", { fill: "none", height: e, viewBox: "0 0 16 14", width: e, xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ f(
2187
+ const Co = ({ svgSize: e }) => /* @__PURE__ */ f("svg", { fill: "none", height: e, viewBox: "0 0 16 14", width: e, xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ f(
2187
2188
  "path",
2188
2189
  {
2189
2190
  clipRule: "evenodd",
@@ -2191,7 +2192,7 @@ const vo = ({ svgSize: e }) => /* @__PURE__ */ f("svg", { fill: "none", height:
2191
2192
  fill: "currentColor",
2192
2193
  fillRule: "evenodd"
2193
2194
  }
2194
- ) }), Ys = U.div`
2195
+ ) }), qs = U.div`
2195
2196
  width: 100%;
2196
2197
  height: 100%;
2197
2198
  top: 0;
@@ -2210,14 +2211,14 @@ const vo = ({ svgSize: e }) => /* @__PURE__ */ f("svg", { fill: "none", height:
2210
2211
  aspect-ratio: 9/16;
2211
2212
  }
2212
2213
  `}
2213
- `, qs = U.div`
2214
+ `, Zs = U.div`
2214
2215
  width: 100%;
2215
2216
  display: flex;
2216
2217
  flex-direction: column;
2217
2218
  justify-content: center;
2218
2219
  align-items: center;
2219
2220
  color: ${(e) => e.theme.colors.instructionTextColor};
2220
- `, Zs = U.p`
2221
+ `, Xs = U.p`
2221
2222
  background: ${(e) => e.theme.colors.instructionColor};
2222
2223
  border-radius: 0.25em;
2223
2224
  padding: 0.583em 0.666em;
@@ -2227,12 +2228,12 @@ const vo = ({ svgSize: e }) => /* @__PURE__ */ f("svg", { fill: "none", height:
2227
2228
  max-width: 80%;
2228
2229
  `, on = ({ Icon: e, isCameraReady: t, position: n = "absolute", text: r }) => {
2229
2230
  const { fontSize: o } = Se();
2230
- return /* @__PURE__ */ f(Ys, { $isCameraReady: t, $position: n, children: /* @__PURE__ */ f(qs, { children: [
2231
+ return /* @__PURE__ */ f(qs, { $isCameraReady: t, $position: n, children: /* @__PURE__ */ f(Zs, { children: [
2231
2232
  e ? /* @__PURE__ */ f(e, { svgSize: o * 2 }) : null,
2232
- /* @__PURE__ */ f(Zs, { $fontSize: o, children: r })
2233
+ /* @__PURE__ */ f(Xs, { $fontSize: o, children: r })
2233
2234
  ] }) });
2234
- }, Co = ({ text: e = "An unknown error has occurred" }) => /* @__PURE__ */ f(on, { Icon: vo, position: "relative", text: e });
2235
- class Xs extends G {
2235
+ }, So = ({ text: e = "An unknown error has occurred" }) => /* @__PURE__ */ f(on, { Icon: Co, position: "relative", text: e });
2236
+ class Ks extends G {
2236
2237
  constructor(t) {
2237
2238
  super(t), this.state = { hasError: !1 };
2238
2239
  }
@@ -2243,16 +2244,16 @@ class Xs extends G {
2243
2244
  console.error(t, n);
2244
2245
  }
2245
2246
  render() {
2246
- return this.state.hasError ? /* @__PURE__ */ f(Co, { Icon: vo, isCameraReady: !1 }) : this.props.children;
2247
+ return this.state.hasError ? /* @__PURE__ */ f(So, { Icon: Co, isCameraReady: !1 }) : this.props.children;
2247
2248
  }
2248
2249
  }
2249
- const Ks = U.div`
2250
+ const Qs = U.div`
2250
2251
  font-family: ${(e) => e.theme.font.family};
2251
2252
  font-style: ${(e) => e.theme.font.style};
2252
2253
  font-weight: ${(e) => e.theme.font.weight};
2253
- `, Qs = ({ children: e, uiProps: t, videoElementSize: n }) => (X(() => {
2254
- zs();
2255
- }, []), /* @__PURE__ */ f(Os, { target: t.styleTarget, children: /* @__PURE__ */ f(Rs, { theme: t.theme, children: /* @__PURE__ */ f(Ks, { children: /* @__PURE__ */ f(Xs, { videoElementSize: n, children: /* @__PURE__ */ f(Vs, { props: t, videoElementSize: n, children: e }) }) }) }) })), Js = 0.75, ea = "dot-auto-capture-video", qe = (e, t) => {
2254
+ `, Js = ({ children: e, uiProps: t, videoElementSize: n }) => (X(() => {
2255
+ Gs();
2256
+ }, []), /* @__PURE__ */ f(Ns, { target: t.styleTarget, children: /* @__PURE__ */ f(Ls, { theme: t.theme, children: /* @__PURE__ */ f(Qs, { children: /* @__PURE__ */ f(Ks, { videoElementSize: n, children: /* @__PURE__ */ f(Ys, { props: t, videoElementSize: n, children: e }) }) }) }) })), ea = 0.75, ta = "dot-auto-capture-video", qe = (e, t) => {
2256
2257
  const n = St(t);
2257
2258
  X(() => {
2258
2259
  n.current = t;
@@ -2267,7 +2268,7 @@ const Ks = U.div`
2267
2268
  // Re-run if eventName
2268
2269
  );
2269
2270
  };
2270
- function ta(e) {
2271
+ function na(e) {
2271
2272
  const [t, n] = M(), r = ge(
2272
2273
  (o) => {
2273
2274
  var i;
@@ -2277,29 +2278,29 @@ function ta(e) {
2277
2278
  );
2278
2279
  return qe(e, r), Ae(() => {
2279
2280
  if (!t) {
2280
- const o = document.getElementById(ea);
2281
+ const o = document.getElementById(ta);
2281
2282
  o && n(o.getBoundingClientRect());
2282
2283
  }
2283
2284
  }, [t, n]), t;
2284
2285
  }
2285
- function na(e, t) {
2286
+ function ra(e, t) {
2286
2287
  return e ? `${e}, ${t}` : t;
2287
2288
  }
2288
- const ra = {
2289
+ const oa = {
2289
2290
  placeholderColor: "white",
2290
2291
  placeholderColorSuccess: "#00BFB2",
2291
2292
  instructionColor: "#F8FBFB",
2292
2293
  instructionColorSuccess: "#00BFB2",
2293
2294
  instructionTextColor: "#021B41;"
2294
- }, oa = {
2295
+ }, ia = {
2295
2296
  family: "Montserrat, Arial, sans-serif",
2296
2297
  weight: "600",
2297
2298
  style: "normal",
2298
- minimumSize: yo
2299
+ minimumSize: vo
2299
2300
  }, He = {
2300
- colors: ra,
2301
- font: oa
2302
- }, ia = (e) => {
2301
+ colors: oa,
2302
+ font: ia
2303
+ }, sa = (e) => {
2303
2304
  var t;
2304
2305
  return e ? {
2305
2306
  ...He,
@@ -2311,11 +2312,11 @@ const ra = {
2311
2312
  font: {
2312
2313
  ...He.font,
2313
2314
  ...e.font,
2314
- family: na((t = e.font) == null ? void 0 : t.family, He.font.family)
2315
+ family: ra((t = e.font) == null ? void 0 : t.family, He.font.family)
2315
2316
  }
2316
2317
  } : He;
2317
- }, sa = (e, t) => Math.min(e, t), aa = ({ height: e, width: t }, n) => {
2318
- const r = sa(t, e) * n, o = (t - r) / 2, i = (e - r) / 2;
2318
+ }, wo = (e, t) => Math.min(e, t), aa = ({ height: e, width: t }, n) => {
2319
+ const r = wo(t, e) * n, o = (t - r) / 2, i = (e - r) / 2;
2319
2320
  return {
2320
2321
  shiftX: o,
2321
2322
  shiftY: i,
@@ -2330,7 +2331,11 @@ const ra = {
2330
2331
  width: i / e.width,
2331
2332
  height: n / e.height
2332
2333
  };
2333
- }, la = (e) => ca(e, Js), So = (e, t) => {
2334
+ };
2335
+ function la(e) {
2336
+ return ca(e, ea);
2337
+ }
2338
+ const sn = (e, t) => {
2334
2339
  document.dispatchEvent(
2335
2340
  new CustomEvent(e, {
2336
2341
  detail: t
@@ -2338,9 +2343,11 @@ const ra = {
2338
2343
  );
2339
2344
  }, Ct = class Ct {
2340
2345
  constructor() {
2341
- tt(this, "lastDetails", {});
2342
- tt(this, "delayedTime", 0);
2346
+ tt(this, "lastDetails");
2347
+ tt(this, "delayedTime");
2348
+ this.lastDetails = {}, this.delayedTime = 0;
2343
2349
  }
2350
+ // TODO remove singleton
2344
2351
  static getInstance() {
2345
2352
  return this._instance || (this._instance = new Ct()), this._instance;
2346
2353
  }
@@ -2363,7 +2370,7 @@ const ra = {
2363
2370
  * @param detail - Record<string, unknown>
2364
2371
  */
2365
2372
  dispatchCustomEventOnChange(t, n) {
2366
- this.isDetailChanged(t, n) && So(t, n);
2373
+ this.isDetailChanged(t, n) && sn(t, n);
2367
2374
  }
2368
2375
  /**
2369
2376
  * If the detail of the event has changed, delay time has passed, dispatch the event
@@ -2375,12 +2382,17 @@ const ra = {
2375
2382
  const o = performance.now();
2376
2383
  o - this.delayedTime > r && (this.dispatchCustomEventOnChange(t, n), this.delayedTime = o);
2377
2384
  }
2385
+ // implement this method in the class
2386
+ dispatchCustomEvent(t, n) {
2387
+ sn(t, n);
2388
+ }
2378
2389
  };
2390
+ // TODO remove singleton
2379
2391
  tt(Ct, "_instance");
2380
- let sn = Ct;
2381
- sn.getInstance();
2392
+ let an = Ct;
2393
+ an.getInstance();
2382
2394
  const _r = (e, t) => {
2383
- So(e, {
2395
+ sn(e, {
2384
2396
  instruction: t
2385
2397
  });
2386
2398
  };
@@ -2397,7 +2409,7 @@ const da = () => {
2397
2409
  (await fa()).length > 1 && t(!0);
2398
2410
  })();
2399
2411
  }, []), e;
2400
- }, _a = ({ size: e }) => /* @__PURE__ */ f("svg", { fill: "none", height: e, viewBox: "0 0 52 52", width: e, xmlns: "http://www.w3.org/2000/svg", children: [
2412
+ }, ha = ({ size: e }) => /* @__PURE__ */ f("svg", { fill: "none", height: e, viewBox: "0 0 52 52", width: e, xmlns: "http://www.w3.org/2000/svg", children: [
2401
2413
  /* @__PURE__ */ f(
2402
2414
  "path",
2403
2415
  {
@@ -2424,7 +2436,7 @@ const da = () => {
2424
2436
  strokeWidth: "2"
2425
2437
  }
2426
2438
  )
2427
- ] }), ha = ({ size: e }) => /* @__PURE__ */ f("svg", { fill: "none", height: e, viewBox: "0 0 52 52", width: "52", xmlns: "http://www.w3.org/2000/svg", children: [
2439
+ ] }), _a = ({ size: e }) => /* @__PURE__ */ f("svg", { fill: "none", height: e, viewBox: "0 0 52 52", width: "52", xmlns: "http://www.w3.org/2000/svg", children: [
2428
2440
  /* @__PURE__ */ f("circle", { cx: "26", cy: "26", fill: "#131313", fillOpacity: "0.3", r: "26" }),
2429
2441
  /* @__PURE__ */ f(
2430
2442
  "path",
@@ -2433,7 +2445,7 @@ const da = () => {
2433
2445
  fill: "white"
2434
2446
  }
2435
2447
  )
2436
- ] }), wo = U.button`
2448
+ ] }), Eo = U.button`
2437
2449
  background: none;
2438
2450
  border: none;
2439
2451
  padding: 0;
@@ -2443,7 +2455,7 @@ const da = () => {
2443
2455
  &:disabled {
2444
2456
  cursor: not-allowed;
2445
2457
  }
2446
- `, pa = ({ marginLeft: e, size: t, ...n }) => /* @__PURE__ */ f(wo, { $marginLeft: e, ...n, children: /* @__PURE__ */ f(_a, { size: t }) }), ma = ({ marginLeft: e, size: t, ...n }) => /* @__PURE__ */ f(wo, { $marginLeft: e, ...n, children: /* @__PURE__ */ f(ha, { size: t }) }), ga = U.div`
2458
+ `, pa = ({ marginLeft: e, size: t, ...n }) => /* @__PURE__ */ f(Eo, { $marginLeft: e, ...n, children: /* @__PURE__ */ f(ha, { size: t }) }), ma = ({ marginLeft: e, size: t, ...n }) => /* @__PURE__ */ f(Eo, { $marginLeft: e, ...n, children: /* @__PURE__ */ f(_a, { size: t }) }), ga = U.div`
2447
2459
  position: absolute;
2448
2460
  top: 0;
2449
2461
  right: 0;
@@ -2459,14 +2471,14 @@ const da = () => {
2459
2471
  const { buttonPadding: i, iconSize: s, marginLeft: c } = js(r);
2460
2472
  return /* @__PURE__ */ f(ga, { $padding: i, children: [
2461
2473
  o && /* @__PURE__ */ f(ma, { disabled: t, onClick: () => {
2462
- _r(e, xn.SWITCH_CAMERA);
2474
+ _r(e, An.SWITCH_CAMERA);
2463
2475
  }, size: s }),
2464
2476
  /* @__PURE__ */ f(
2465
2477
  pa,
2466
2478
  {
2467
2479
  marginLeft: o ? c : 0,
2468
2480
  onClick: () => {
2469
- _r(e, xn.TOGGLE_MIRROR);
2481
+ _r(e, An.TOGGLE_MIRROR);
2470
2482
  },
2471
2483
  size: s
2472
2484
  }
@@ -2530,7 +2542,7 @@ const Ea = U.div`
2530
2542
 
2531
2543
  ${(e) => e.$cssTop ? `top: ${e.$cssTop}%;` : ""}
2532
2544
  ${(e) => e.$cssBottom ? `bottom: ${e.$cssBottom}%;` : ""}
2533
- ${(e) => e.$isAnimating && bn`
2545
+ ${(e) => e.$isAnimating && $n`
2534
2546
  animation: ${wa} ${Ca}
2535
2547
  ${Sa} both;
2536
2548
  animation-delay: ${va};
@@ -2585,7 +2597,7 @@ const Ea = U.div`
2585
2597
  {
2586
2598
  $fontSize: s,
2587
2599
  $isInCandidateSelection: o,
2588
- $wrap: e.length > Fs,
2600
+ $wrap: e.length > Bs,
2589
2601
  children: e
2590
2602
  }
2591
2603
  ) });
@@ -2658,25 +2670,35 @@ const Ea = U.div`
2658
2670
  ] }) }), Na = U.div`
2659
2671
  z-index: 1;
2660
2672
  position: absolute;
2661
- top: 0;
2662
- left: 0;
2663
- width: 100%;
2664
- height: 100%;
2665
- `, Eo = ({ children: e, height: t, width: n }) => {
2666
- const { backdropColor: r } = Se();
2667
- return /* @__PURE__ */ f(Na, { children: /* @__PURE__ */ f("svg", { viewBox: `0 0 ${n} ${t}`, children: [
2673
+ // Scale up the backdrop to have space when placeholder is scaled below 1
2674
+ top: -50%;
2675
+ left: -50%;
2676
+ width: 200%;
2677
+ height: 200%;
2678
+ outline: ${({ $backdropColor: e, $shorterSide: t = 1e3 }) => `${t * 0.2}px solid ${e}`};
2679
+ transform: scale(${(e) => e.$scale || 1});
2680
+ transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
2681
+
2682
+ // Scale the children to 50% of the size of the backdrop to achieve 1:1 ratio between placeholder and backdrop
2683
+ g {
2684
+ transform: scale(0.5);
2685
+ translate: 25% 25%;
2686
+ }
2687
+ `, bo = ({ children: e, height: t, scale: n, width: r }) => {
2688
+ const { backdropColor: o } = Se(), i = wo(r, t);
2689
+ return /* @__PURE__ */ f(Na, { $backdropColor: o, $scale: n, $shorterSide: i, children: /* @__PURE__ */ f("svg", { viewBox: `0 0 ${r} ${t}`, children: [
2668
2690
  /* @__PURE__ */ f("defs", { children: /* @__PURE__ */ f("mask", { id: "mask", children: [
2669
2691
  /* @__PURE__ */ f("rect", { fill: "#fff", height: "100%", width: "100%" }),
2670
- e
2692
+ /* @__PURE__ */ f("g", { children: e })
2671
2693
  ] }) }),
2672
- /* @__PURE__ */ f("rect", { fill: r, height: "100%", mask: "url(#mask)", width: "100%" })
2694
+ /* @__PURE__ */ f("rect", { fill: o, height: "100%", mask: "url(#mask)", width: "100%" })
2673
2695
  ] }) });
2674
2696
  };
2675
2697
  function Ia({ cameraHeight: e, cameraWidth: t, state: n }) {
2676
2698
  var o;
2677
2699
  const { appStateInstructions: r } = Se();
2678
- return !n || n === jt.ERROR || !((o = r == null ? void 0 : r[n]) != null && o.visible) ? null : n === jt.DONE ? /* @__PURE__ */ f(j, { children: [
2679
- e && t && /* @__PURE__ */ f(Eo, { height: e, width: t }),
2700
+ return !n || n === zt.ERROR || !((o = r == null ? void 0 : r[n]) != null && o.visible) ? null : n === zt.DONE ? /* @__PURE__ */ f(z, { children: [
2701
+ e && t && /* @__PURE__ */ f(bo, { height: e, width: t }),
2680
2702
  /* @__PURE__ */ f(on, { isCameraReady: !0, text: r[n].text })
2681
2703
  ] }) : /* @__PURE__ */ f(on, { Icon: Oa, isCameraReady: !0, text: r[n].text });
2682
2704
  }
@@ -2771,7 +2793,8 @@ const Ua = U.div`
2771
2793
  left: ${(e) => e.$placeholderRectangle.shiftX * 100}%;
2772
2794
  right: ${(e) => (1 - e.$placeholderRectangle.shiftX - e.$placeholderRectangle.width) * 100}%;
2773
2795
  color: ${(e) => e.$isInCandidateSelection ? `${e.theme.colors.placeholderColorSuccess}` : `${e.theme.colors.placeholderColor}`};
2774
-
2796
+ transform: scale(${(e) => e.$scale || 1});
2797
+ transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
2775
2798
  svg {
2776
2799
  width: 100%;
2777
2800
  height: 100%;
@@ -2781,12 +2804,14 @@ const Ua = U.div`
2781
2804
  className: t,
2782
2805
  isInCandidateSelection: n,
2783
2806
  onAnimationEnd: r,
2784
- placeholderRectangle: o
2807
+ placeholderRectangle: o,
2808
+ scale: i
2785
2809
  }) => /* @__PURE__ */ f(
2786
2810
  Ua,
2787
2811
  {
2788
2812
  $isInCandidateSelection: n,
2789
2813
  $placeholderRectangle: o,
2814
+ $scale: i,
2790
2815
  className: t,
2791
2816
  onAnimationEnd: r,
2792
2817
  children: e
@@ -2803,8 +2828,8 @@ const Ua = U.div`
2803
2828
  };
2804
2829
  function Wa({ backdropHeight: e, backdropWidth: t, isBackdrop: n, placeholderRectangle: r, ...o }) {
2805
2830
  const { placeholder: i } = Se(), s = i.toLowerCase().includes("square"), c = i.toLowerCase().includes("rounded");
2806
- return /* @__PURE__ */ f(j, { children: [
2807
- n && /* @__PURE__ */ f(Eo, { height: e, width: t, children: /* @__PURE__ */ f(
2831
+ return /* @__PURE__ */ f(z, { children: [
2832
+ n && /* @__PURE__ */ f(bo, { height: e, width: t, children: /* @__PURE__ */ f(
2808
2833
  Ta,
2809
2834
  {
2810
2835
  height: `${r.height * 100}%`,
@@ -2818,19 +2843,6 @@ function Wa({ backdropHeight: e, backdropWidth: t, isBackdrop: n, placeholderRec
2818
2843
  /* @__PURE__ */ f(Fa, { placeholderRectangle: r, ...o, children: Ba[i] })
2819
2844
  ] });
2820
2845
  }
2821
- function ja({ eventName: e }) {
2822
- const [t, n] = M([]), r = ge(
2823
- (o) => {
2824
- var s;
2825
- const i = (s = o.detail) == null ? void 0 : s.instructionCode;
2826
- i && n((c) => [...c, i]);
2827
- },
2828
- [n]
2829
- );
2830
- return qe(e, r), {
2831
- escalatedInstructionCodes: t
2832
- };
2833
- }
2834
2846
  const za = () => {
2835
2847
  const [e, t] = M(), [n, r] = M(!1), o = ge(
2836
2848
  (a) => {
@@ -2861,7 +2873,7 @@ const za = () => {
2861
2873
  instruction: i,
2862
2874
  isMirroring: n
2863
2875
  };
2864
- }, Ga = () => {
2876
+ }, ja = () => {
2865
2877
  const [e, t] = M(pt.NEUTRAL), [n, r] = M(be.LOADING), [o, i] = M(), s = ge(
2866
2878
  (c) => {
2867
2879
  const { error: a, phase: u, state: d } = c.detail || {};
@@ -2869,19 +2881,19 @@ const za = () => {
2869
2881
  },
2870
2882
  [t, r, i]
2871
2883
  );
2872
- return qe(hn.STATUS_CHANGED, s), {
2884
+ return qe(pn.STATUS_CHANGED, s), {
2873
2885
  smilePhase: e,
2874
2886
  smileState: n,
2875
2887
  smileError: o
2876
2888
  };
2877
- }, hr = ".3s", Va = ".2s", Ya = ".8s", pr = ".4s", mr = ".4s", qa = ".5s", Za = "1.5s", Xa = 2e3, gr = le`
2889
+ }, pr = ".3s", Ga = ".2s", Va = ".8s", mr = ".4s", gr = ".4s", Ya = ".5s", qa = "1.5s", Za = 2e3, yr = le`
2878
2890
  0%, 100% {
2879
2891
  transform: scale(1);
2880
2892
  }
2881
2893
  50% {
2882
2894
  transform: scale(2);
2883
2895
  }
2884
- `, Ka = le`
2896
+ `, Xa = le`
2885
2897
  0%, 100% {
2886
2898
  transform: scale(1,1);
2887
2899
  opacity: 1;
@@ -2890,36 +2902,50 @@ const za = () => {
2890
2902
  transform: scale(1,0.1);
2891
2903
  opacity: 0.5;
2892
2904
  }
2893
- `, yr = le`
2905
+ `, vr = le`
2894
2906
  0% {
2895
2907
  stroke-dashoffset: 100;
2896
2908
  }
2897
2909
  100% {
2898
2910
  stroke-dashoffset: 200;
2899
2911
  }
2900
- `, bo = le`
2912
+ `, $o = le`
2901
2913
  from {
2902
2914
  opacity: 1;
2903
2915
  }
2904
2916
  to {
2905
2917
  opacity: 0;
2906
2918
  }
2907
- `, Qa = (e, t) => {
2919
+ `, Ka = (e, t) => {
2908
2920
  const [n, r] = M(!1);
2909
2921
  return X(() => {
2910
2922
  t === pt.SMILE && r(!0);
2911
2923
  const o = setTimeout(() => {
2912
2924
  r(!1);
2913
- }, Xa);
2925
+ }, Za);
2914
2926
  return () => clearTimeout(o);
2915
2927
  }, [t]), t === pt.SMILE && e === ne.CANDIDATE_SELECTION ? ne.SMILE_CANDIDATE_SELECTION : n ? ne.SMILE : e;
2916
- }, Ja = U.div`
2928
+ };
2929
+ function Qa({ eventName: e }) {
2930
+ const [t, n] = M([]), r = ge(
2931
+ (o) => {
2932
+ var s;
2933
+ const i = (s = o.detail) == null ? void 0 : s.instructionCode;
2934
+ i && n((c) => [...c, i]);
2935
+ },
2936
+ [n]
2937
+ );
2938
+ return qe(e, r), {
2939
+ escalatedInstructionCodes: t
2940
+ };
2941
+ }
2942
+ const Ja = U.div`
2917
2943
  position: absolute;
2918
2944
  top: ${(e) => e.$initialPosition.shiftY * 100}%;
2919
2945
  bottom: ${(e) => (1 - e.$initialPosition.shiftY - e.$initialPosition.height) * 100}%;
2920
2946
  left: ${(e) => e.$initialPosition.shiftX * 100}%;
2921
2947
  right: ${(e) => (1 - e.$initialPosition.shiftX - e.$initialPosition.width) * 100}%;
2922
- animation: ${bo} ${qa} ${Za} ease-in-out;
2948
+ animation: ${$o} ${Ya} ${qa} ease-in-out;
2923
2949
  animation-fill-mode: forwards;
2924
2950
  z-index: 1;
2925
2951
 
@@ -2930,7 +2956,7 @@ to {
2930
2956
  stroke-linecap: round;
2931
2957
  stroke-dasharray: 100;
2932
2958
  stroke-dashoffset: 100;
2933
- animation: ${yr} ${pr} ${mr} forwards;
2959
+ animation: ${vr} ${mr} ${gr} forwards;
2934
2960
  }
2935
2961
  #right-mouth {
2936
2962
  fill: none;
@@ -2941,19 +2967,19 @@ to {
2941
2967
  stroke-dashoffset: 100;
2942
2968
  transform: scale(-1, 1);
2943
2969
  transform-origin: 119.4px 191.7px;
2944
- animation: ${yr} ${pr} ${mr} forwards;
2970
+ animation: ${vr} ${mr} ${gr} forwards;
2945
2971
  }
2946
2972
  #left-eye {
2947
2973
  transform-origin: 86.8px 96px;
2948
2974
  fill: #ffffff;
2949
- animation: ${gr} ${hr} forwards;
2975
+ animation: ${yr} ${pr} forwards;
2950
2976
  }
2951
2977
  #right-eye {
2952
2978
  transform-origin: 173.2px 96px;
2953
2979
  fill: #ffffff;
2954
2980
  animation:
2955
- ${gr} ${hr} forwards,
2956
- ${Ka} ${Va} ${Ya} forwards;
2981
+ ${yr} ${pr} forwards,
2982
+ ${Xa} ${Ga} ${Va} forwards;
2957
2983
  }
2958
2984
  `, ec = ({ animate: e, initialPosition: t, show: n }) => {
2959
2985
  const [r, o] = M(!0);
@@ -2963,7 +2989,7 @@ to {
2963
2989
  Ja,
2964
2990
  {
2965
2991
  $initialPosition: t,
2966
- onAnimationEnd: (i) => i.animationName === bo.getName() && o(!1),
2992
+ onAnimationEnd: (i) => i.animationName === $o.getName() && o(!1),
2967
2993
  children: /* @__PURE__ */ f("svg", { viewBox: "0 0 260 260", children: [
2968
2994
  /* @__PURE__ */ f("circle", { cx: "86.8", cy: "96", id: "left-eye", r: "9.6" }),
2969
2995
  /* @__PURE__ */ f("circle", { cx: "173.2", cy: "96", id: "right-eye", r: "9.6" }),
@@ -2973,9 +2999,9 @@ to {
2973
2999
  }
2974
3000
  );
2975
3001
  }, tc = () => {
2976
- const { cameraResolution: e, instruction: t } = za(), { smileError: n, smilePhase: r, smileState: o } = Ga(), i = Qa(t.code, r), { escalatedInstructionCodes: s } = ja({
2977
- eventName: hn.INSTRUCTION_ESCALATED
2978
- }), { escalatedInstructions: c, instructions: a } = Se(), u = t.code === ne.CANDIDATE_SELECTION, d = Gs({
3002
+ const { cameraResolution: e, instruction: t } = za(), { smileError: n, smilePhase: r, smileState: o } = ja(), i = Ka(t.code, r), { escalatedInstructionCodes: s } = Qa({
3003
+ eventName: pn.INSTRUCTION_ESCALATED
3004
+ }), { escalatedInstructions: c, instructions: a } = Se(), u = t.code === ne.CANDIDATE_SELECTION, d = Vs({
2979
3005
  escalatedInstructions: c,
2980
3006
  instructions: a,
2981
3007
  currentInstruction: {
@@ -2984,10 +3010,10 @@ to {
2984
3010
  }
2985
3011
  });
2986
3012
  if (o === be.ERROR)
2987
- return /* @__PURE__ */ f(Co, { text: n == null ? void 0 : n.message });
3013
+ return /* @__PURE__ */ f(So, { text: n == null ? void 0 : n.message });
2988
3014
  if ((o === be.RUNNING || o === be.WAITING) && e) {
2989
3015
  const l = la(e);
2990
- return /* @__PURE__ */ f(j, { children: [
3016
+ return /* @__PURE__ */ f(z, { children: [
2991
3017
  /* @__PURE__ */ f(
2992
3018
  Wa,
2993
3019
  {
@@ -3030,20 +3056,20 @@ to {
3030
3056
  }, nc = (e) => {
3031
3057
  var c, a;
3032
3058
  const t = {
3033
- ...Ms,
3059
+ ...Hs,
3034
3060
  ...e == null ? void 0 : e.instructions
3035
3061
  }, n = {
3036
- ...Hs,
3062
+ ...Us,
3037
3063
  ...e == null ? void 0 : e.escalatedInstructions
3038
3064
  };
3039
3065
  t.mouth_score_too_low = t.smile, n.mouth_score_too_low = n.smile, t.mouth_score_too_high = t.keep_neutral_expression, n.mouth_score_too_high = n.keep_neutral_expression;
3040
3066
  const r = {
3041
3067
  [be.LOADING]: {
3042
- ...fr.loading,
3068
+ ...dr.loading,
3043
3069
  ...(c = e == null ? void 0 : e.appStateInstructions) == null ? void 0 : c.loading
3044
3070
  },
3045
- [be.DONE]: { ...fr.done, ...(a = e == null ? void 0 : e.appStateInstructions) == null ? void 0 : a.done }
3046
- }, o = (e == null ? void 0 : e.backdropColor) ?? Us, i = (e == null ? void 0 : e.showCameraButtons) ?? !1, s = ia(e == null ? void 0 : e.theme);
3071
+ [be.DONE]: { ...dr.done, ...(a = e == null ? void 0 : e.appStateInstructions) == null ? void 0 : a.done }
3072
+ }, o = (e == null ? void 0 : e.backdropColor) ?? Fs, i = (e == null ? void 0 : e.showCameraButtons) ?? !1, s = sa(e == null ? void 0 : e.theme);
3047
3073
  return {
3048
3074
  placeholder: Q.CIRCLE_SOLID,
3049
3075
  backdropColor: o,
@@ -3054,7 +3080,7 @@ to {
3054
3080
  escalatedInstructions: n
3055
3081
  };
3056
3082
  }, rc = ({ props: e }) => {
3057
- const t = ta(Ve.VIDEO_ELEMENT_SIZE);
3058
- return /* @__PURE__ */ f(Qs, { uiProps: nc(e), videoElementSize: t, children: /* @__PURE__ */ f(tc, {}) });
3083
+ const t = na(Ve.VIDEO_ELEMENT_SIZE);
3084
+ return /* @__PURE__ */ f(Js, { uiProps: nc(e), videoElementSize: t, children: /* @__PURE__ */ f(tc, {}) });
3059
3085
  };
3060
- Bo(rc, "x-dot-smile-liveness-ui", ["props"]);
3086
+ Wo(rc, "x-dot-smile-liveness-ui", ["props"]);