@regulaforensics/idv-gui 3.2.282-rc → 3.2.284-nightly

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.
package/dist/main.js CHANGED
@@ -1,15 +1,15 @@
1
- var zs = Object.defineProperty, Os = Object.defineProperties;
2
- var xs = Object.getOwnPropertyDescriptors;
1
+ var Ts = Object.defineProperty, zs = Object.defineProperties;
2
+ var Os = Object.getOwnPropertyDescriptors;
3
3
  var et = Object.getOwnPropertySymbols;
4
4
  var vr = Object.prototype.hasOwnProperty, Lr = Object.prototype.propertyIsEnumerable;
5
- var Cr = (e, i, t) => i in e ? zs(e, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[i] = t, O = (e, i) => {
5
+ var Cr = (e, i, t) => i in e ? Ts(e, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[i] = t, O = (e, i) => {
6
6
  for (var t in i || (i = {}))
7
7
  vr.call(i, t) && Cr(e, t, i[t]);
8
8
  if (et)
9
9
  for (var t of et(i))
10
10
  Lr.call(i, t) && Cr(e, t, i[t]);
11
11
  return e;
12
- }, J = (e, i) => Os(e, xs(i));
12
+ }, J = (e, i) => zs(e, Os(i));
13
13
  var Di = (e, i) => {
14
14
  var t = {};
15
15
  for (var r in e)
@@ -35,7 +35,7 @@ var De = (e, i, t) => new Promise((r, n) => {
35
35
  }, M = (D) => D.done ? r(D.value) : Promise.resolve(D.value).then(o, s);
36
36
  M((t = t.apply(e, i)).next());
37
37
  });
38
- var Zi, X, An, ji, kr, Tn, zn, On, Lt, Et, ht, xn, Bi = {}, En = [], Es = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Hi = Array.isArray;
38
+ var Zi, X, An, ji, kr, Tn, zn, On, Lt, Et, ht, xn, Bi = {}, En = [], xs = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Hi = Array.isArray;
39
39
  function qe(e, i) {
40
40
  for (var t in i) e[t] = i[t];
41
41
  return e;
@@ -86,12 +86,12 @@ function ot() {
86
86
  }
87
87
  function wn(e, i, t, r, n, o, s, M, D, j, A) {
88
88
  var c, a, y, N, I, z, w, _ = r && r.__k || En, h = i.length;
89
- for (D = hs(t, i, _, D, h), c = 0; c < h; c++) (y = t.__k[c]) != null && (a = y.__i == -1 ? Bi : _[y.__i] || Bi, y.__i = c, z = Ut(e, y, a, n, o, s, M, D, j, A), N = y.__e, y.ref && a.ref != y.ref && (a.ref && Qt(a.ref, null, y), A.push(y.ref, y.__c || N, y)), I == null && N != null && (I = N), (w = !!(4 & y.__u)) || a.__k === y.__k ? D = pn(y, D, e, w) : typeof y.type == "function" && z !== void 0 ? D = z : N && (D = N.nextSibling), y.__u &= -7);
89
+ for (D = Es(t, i, _, D, h), c = 0; c < h; c++) (y = t.__k[c]) != null && (a = y.__i == -1 ? Bi : _[y.__i] || Bi, y.__i = c, z = Ut(e, y, a, n, o, s, M, D, j, A), N = y.__e, y.ref && a.ref != y.ref && (a.ref && Qt(a.ref, null, y), A.push(y.ref, y.__c || N, y)), I == null && N != null && (I = N), (w = !!(4 & y.__u)) || a.__k === y.__k ? D = pn(y, D, e, w) : typeof y.type == "function" && z !== void 0 ? D = z : N && (D = N.nextSibling), y.__u &= -7);
90
90
  return t.__e = I, D;
91
91
  }
92
- function hs(e, i, t, r, n) {
92
+ function Es(e, i, t, r, n) {
93
93
  var o, s, M, D, j, A = t.length, c = A, a = 0;
94
- for (e.__k = new Array(n), o = 0; o < n; o++) (s = i[o]) != null && typeof s != "boolean" && typeof s != "function" ? (D = o + a, (s = e.__k[o] = typeof s == "string" || typeof s == "number" || typeof s == "bigint" || s.constructor == String ? Yi(null, s, null, null, null) : Hi(s) ? Yi(be, { children: s }, null, null, null) : s.constructor == null && s.__b > 0 ? Yi(s.type, s.props, s.key, s.ref ? s.ref : null, s.__v) : s).__ = e, s.__b = e.__b + 1, M = null, (j = s.__i = ms(s, t, D, c)) != -1 && (c--, (M = t[j]) && (M.__u |= 2)), M == null || M.__v == null ? (j == -1 && (n > A ? a-- : n < A && a++), typeof s.type != "function" && (s.__u |= 4)) : j != D && (j == D - 1 ? a-- : j == D + 1 ? a++ : (j > D ? a-- : a++, s.__u |= 4))) : e.__k[o] = null;
94
+ for (e.__k = new Array(n), o = 0; o < n; o++) (s = i[o]) != null && typeof s != "boolean" && typeof s != "function" ? (typeof s == "string" || typeof s == "number" || typeof s == "bigint" || s.constructor == String ? s = e.__k[o] = Yi(null, s, null, null, null) : Hi(s) ? s = e.__k[o] = Yi(be, { children: s }, null, null, null) : s.constructor === void 0 && s.__b > 0 ? s = e.__k[o] = Yi(s.type, s.props, s.key, s.ref ? s.ref : null, s.__v) : e.__k[o] = s, D = o + a, s.__ = e, s.__b = e.__b + 1, M = null, (j = s.__i = hs(s, t, D, c)) != -1 && (c--, (M = t[j]) && (M.__u |= 2)), M == null || M.__v == null ? (j == -1 && (n > A ? a-- : n < A && a++), typeof s.type != "function" && (s.__u |= 4)) : j != D && (j == D - 1 ? a-- : j == D + 1 ? a++ : (j > D ? a-- : a++, s.__u |= 4))) : e.__k[o] = null;
95
95
  if (c) for (o = 0; o < A; o++) (M = t[o]) != null && (2 & M.__u) == 0 && (M.__e == r && (r = bi(M)), Sn(M, M));
96
96
  return r;
97
97
  }
@@ -112,16 +112,16 @@ function oi(e, i) {
112
112
  oi(t, i);
113
113
  }) : i.push(e)), i;
114
114
  }
115
- function ms(e, i, t, r) {
115
+ function hs(e, i, t, r) {
116
116
  var n, o, s, M = e.key, D = e.type, j = i[t], A = j != null && (2 & j.__u) == 0;
117
- if (j === null && e.key == null || A && M == j.key && D == j.type) return t;
117
+ if (j === null && M == null || A && M == j.key && D == j.type) return t;
118
118
  if (r > (A ? 1 : 0)) {
119
119
  for (n = t - 1, o = t + 1; n >= 0 || o < i.length; ) if ((j = i[s = n >= 0 ? n-- : o++]) != null && (2 & j.__u) == 0 && M == j.key && D == j.type) return s;
120
120
  }
121
121
  return -1;
122
122
  }
123
123
  function Ur(e, i, t) {
124
- i[0] == "-" ? e.setProperty(i, t == null ? "" : t) : e[i] = t == null ? "" : typeof t != "number" || Es.test(i) ? t : t + "px";
124
+ i[0] == "-" ? e.setProperty(i, t == null ? "" : t) : e[i] = t == null ? "" : typeof t != "number" || xs.test(i) ? t : t + "px";
125
125
  }
126
126
  function it(e, i, t, r, n) {
127
127
  var o, s;
@@ -153,12 +153,12 @@ function Qr(e) {
153
153
  }
154
154
  function Ut(e, i, t, r, n, o, s, M, D, j) {
155
155
  var A, c, a, y, N, I, z, w, _, h, p, k, ie, F, ae, Y, H, V = i.type;
156
- if (i.constructor != null) return null;
156
+ if (i.constructor !== void 0) return null;
157
157
  128 & t.__u && (D = !!(32 & t.__u), o = [M = i.__e = t.__e]), (A = X.__b) && A(i);
158
158
  e: if (typeof V == "function") try {
159
- if (w = i.props, _ = "prototype" in V && V.prototype.render, h = (A = V.contextType) && r[A.__c], p = A ? h ? h.props.value : A.__ : r, t.__c ? z = (c = i.__c = t.__c).__ = c.__E : (_ ? i.__c = c = new V(w, p) : (i.__c = c = new Ge(w, p), c.constructor = V, c.render = ps), h && h.sub(c), c.props = w, c.state || (c.state = {}), c.context = p, c.__n = r, a = c.__d = !0, c.__h = [], c._sb = []), _ && c.__s == null && (c.__s = c.state), _ && V.getDerivedStateFromProps != null && (c.__s == c.state && (c.__s = qe({}, c.__s)), qe(c.__s, V.getDerivedStateFromProps(w, c.__s))), y = c.props, N = c.state, c.__v = i, a) _ && V.getDerivedStateFromProps == null && c.componentWillMount != null && c.componentWillMount(), _ && c.componentDidMount != null && c.__h.push(c.componentDidMount);
159
+ if (w = i.props, _ = "prototype" in V && V.prototype.render, h = (A = V.contextType) && r[A.__c], p = A ? h ? h.props.value : A.__ : r, t.__c ? z = (c = i.__c = t.__c).__ = c.__E : (_ ? i.__c = c = new V(w, p) : (i.__c = c = new Ge(w, p), c.constructor = V, c.render = ws), h && h.sub(c), c.state || (c.state = {}), c.__n = r, a = c.__d = !0, c.__h = [], c._sb = []), _ && c.__s == null && (c.__s = c.state), _ && V.getDerivedStateFromProps != null && (c.__s == c.state && (c.__s = qe({}, c.__s)), qe(c.__s, V.getDerivedStateFromProps(w, c.__s))), y = c.props, N = c.state, c.__v = i, a) _ && V.getDerivedStateFromProps == null && c.componentWillMount != null && c.componentWillMount(), _ && c.componentDidMount != null && c.__h.push(c.componentDidMount);
160
160
  else {
161
- if (_ && V.getDerivedStateFromProps == null && w !== y && c.componentWillReceiveProps != null && c.componentWillReceiveProps(w, p), !c.__e && c.shouldComponentUpdate != null && c.shouldComponentUpdate(w, c.__s, p) === !1 || i.__v == t.__v) {
161
+ if (_ && V.getDerivedStateFromProps == null && w !== y && c.componentWillReceiveProps != null && c.componentWillReceiveProps(w, p), i.__v == t.__v || !c.__e && c.shouldComponentUpdate != null && c.shouldComponentUpdate(w, c.__s, p) === !1) {
162
162
  for (i.__v != t.__v && (c.props = w, c.state = c.__s, c.__d = !1), i.__e = t.__e, i.__k = t.__k, i.__k.some(function(R) {
163
163
  R && (R.__ = i);
164
164
  }), k = 0; k < c._sb.length; k++) c.__h.push(c._sb[k]);
@@ -187,7 +187,7 @@ function Ut(e, i, t, r, n, o, s, M, D, j) {
187
187
  else i.__e = t.__e, i.__k = t.__k, R.then || wt(i);
188
188
  X.__e(R, i, t);
189
189
  }
190
- else o == null && i.__v == t.__v ? (i.__k = t.__k, i.__e = t.__e) : M = i.__e = ws(t.__e, i, t, r, n, o, s, D, j);
190
+ else o == null && i.__v == t.__v ? (i.__k = t.__k, i.__e = t.__e) : M = i.__e = ms(t.__e, i, t, r, n, o, s, D, j);
191
191
  return (A = X.diffed) && A(i), 128 & i.__u ? void 0 : M;
192
192
  }
193
193
  function wt(e) {
@@ -208,8 +208,8 @@ function _n(e, i, t) {
208
208
  function bn(e) {
209
209
  return typeof e != "object" || e == null || e.__b && e.__b > 0 ? e : Hi(e) ? e.map(bn) : qe({}, e);
210
210
  }
211
- function ws(e, i, t, r, n, o, s, M, D) {
212
- var j, A, c, a, y, N, I, z = t.props, w = i.props, _ = i.type;
211
+ function ms(e, i, t, r, n, o, s, M, D) {
212
+ var j, A, c, a, y, N, I, z = t.props || Bi, w = i.props, _ = i.type;
213
213
  if (_ == "svg" ? n = "http://www.w3.org/2000/svg" : _ == "math" ? n = "http://www.w3.org/1998/Math/MathML" : n || (n = "http://www.w3.org/1999/xhtml"), o != null) {
214
214
  for (j = 0; j < o.length; j++) if ((y = o[j]) && "setAttribute" in y == !!_ && (_ ? y.localName == _ : y.nodeType == 3)) {
215
215
  e = y, o[j] = null;
@@ -222,7 +222,7 @@ function ws(e, i, t, r, n, o, s, M, D) {
222
222
  }
223
223
  if (_ == null) z === w || M && e.data == w || (e.data = w);
224
224
  else {
225
- if (o = o && Zi.call(e.childNodes), z = t.props || Bi, !M && o != null) for (z = {}, j = 0; j < e.attributes.length; j++) z[(y = e.attributes[j]).name] = y.value;
225
+ if (o = o && Zi.call(e.childNodes), !M && o != null) for (z = {}, j = 0; j < e.attributes.length; j++) z[(y = e.attributes[j]).name] = y.value;
226
226
  for (j in z) if (y = z[j], j != "children") {
227
227
  if (j == "dangerouslySetInnerHTML") c = y;
228
228
  else if (!(j in w)) {
@@ -260,7 +260,7 @@ function Sn(e, i, t) {
260
260
  if (r = e.__k) for (n = 0; n < r.length; n++) r[n] && Sn(r[n], i, t || typeof e.type != "function");
261
261
  t || kt(e.__e), e.__c = e.__ = e.__e = void 0;
262
262
  }
263
- function ps(e, i, t) {
263
+ function ws(e, i, t) {
264
264
  return this.constructor(e, t);
265
265
  }
266
266
  function Ai(e, i, t) {
@@ -270,7 +270,7 @@ function Ai(e, i, t) {
270
270
  function Cn(e, i) {
271
271
  Ai(e, i, Cn);
272
272
  }
273
- function _s(e, i, t) {
273
+ function ps(e, i, t) {
274
274
  var r, n, o, s, M = qe({}, e.props);
275
275
  for (o in e.type && e.type.defaultProps && (s = e.type.defaultProps), i) o == "key" ? r = i[o] : o == "ref" ? n = i[o] : M[o] = i[o] === void 0 && s != null ? s[o] : i[o];
276
276
  return arguments.length > 2 && (M.children = arguments.length > 3 ? Zi.call(arguments, 2) : t), Yi(e.type, M, r || e.key, n || e.ref, null);
@@ -313,12 +313,12 @@ Zi = En.slice, X = { __e: function(e, i, t, r) {
313
313
  }, Ge.prototype.render = be, ji = [], Tn = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, zn = function(e, i) {
314
314
  return e.__v.__b - i.__v.__b;
315
315
  }, ot.__r = 0, On = /(PointerCapture)$|Capture$/i, Lt = 0, Et = Qr(!1), ht = Qr(!0), xn = 0;
316
- var bs = 0;
316
+ var _s = 0;
317
317
  function d(e, i, t, r, n, o) {
318
318
  i || (i = {});
319
319
  var s, M, D = i;
320
320
  if ("ref" in D) for (M in D = {}, i) M == "ref" ? s = i[M] : D[M] = i[M];
321
- var j = { type: e, props: D, key: t, ref: s, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --bs, __i: -1, __u: 0, __source: n, __self: o };
321
+ var j = { type: e, props: D, key: t, ref: s, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --_s, __i: -1, __u: 0, __source: n, __self: o };
322
322
  if (typeof e == "function" && (s = e.defaultProps)) for (M in s) D[M] === void 0 && (D[M] = s[M]);
323
323
  return X.vnode && X.vnode(j), j;
324
324
  }
@@ -369,9 +369,9 @@ class yi {
369
369
  return this.underlyingBaseError instanceof yi && (i += `-${this.underlyingBaseError.fullChain}`), i;
370
370
  }
371
371
  }
372
- class Ss extends HTMLElement {
372
+ class bs extends HTMLElement {
373
373
  }
374
- function Cs(e, i) {
374
+ function Ss(e, i) {
375
375
  if (i.displayName ? console.log(`Register module: ${i.displayName}`) : console.error('Missed "displayName" when register module'), i.getSupportedTemplates && typeof i.getSupportedTemplates == "function") {
376
376
  const t = i.getSupportedTemplates();
377
377
  console.log(`${i == null ? void 0 : i.displayName} supported templates: ${t.join(", ")}`);
@@ -384,7 +384,7 @@ function Cs(e, i) {
384
384
  console.error('Missed "getIdentifier" when register module');
385
385
  customElements.get(i.getIdentifier()) ? console.log(`Module ${e} has already registered`) : customElements.define(e, i), console.log("-------");
386
386
  }
387
- const st = {
387
+ const Nt = {
388
388
  FORM: "form",
389
389
  DATA: "data"
390
390
  };
@@ -473,7 +473,7 @@ function Ci(e) {
473
473
  function Ft(e, i) {
474
474
  ye.useDebugValue && ye.useDebugValue(i ? i(e) : e);
475
475
  }
476
- function vs(e) {
476
+ function Cs(e) {
477
477
  var i = Ti(si++, 10), t = pe();
478
478
  return i.__ = e, de.componentDidCatch || (de.componentDidCatch = function(r, n) {
479
479
  i.__ && i.__(r, n), t[1](r);
@@ -490,7 +490,7 @@ function Vt() {
490
490
  }
491
491
  return e.__;
492
492
  }
493
- function Ls() {
493
+ function vs() {
494
494
  for (var e; e = vn.shift(); ) if (e.__P && e.__H) try {
495
495
  e.__H.__h.forEach(nt), e.__H.__h.forEach(pt), e.__H.__h = [];
496
496
  } catch (i) {
@@ -510,7 +510,7 @@ ye.__b = function(e) {
510
510
  }, ye.diffed = function(e) {
511
511
  Fr && Fr(e);
512
512
  var i = e.__c;
513
- i && i.__H && (i.__H.__h.length && (vn.push(i) !== 1 && Yr === ye.requestAnimationFrame || ((Yr = ye.requestAnimationFrame) || ks)(Ls)), i.__H.__.forEach(function(t) {
513
+ i && i.__H && (i.__H.__h.length && (vn.push(i) !== 1 && Yr === ye.requestAnimationFrame || ((Yr = ye.requestAnimationFrame) || Ls)(vs)), i.__H.__.forEach(function(t) {
514
514
  t.u && (t.__H = t.u), t.u = void 0;
515
515
  })), ft = de = null;
516
516
  }, ye.__c = function(e, i) {
@@ -537,7 +537,7 @@ ye.__b = function(e) {
537
537
  }), t.__H = void 0, i && ye.__e(i, t.__v));
538
538
  };
539
539
  var Zr = typeof requestAnimationFrame == "function";
540
- function ks(e) {
540
+ function Ls(e) {
541
541
  var i, t = function() {
542
542
  clearTimeout(r), Zr && cancelAnimationFrame(i), setTimeout(e);
543
543
  }, r = setTimeout(t, 35);
@@ -559,7 +559,7 @@ function Bt(e, i) {
559
559
  function Ln(e, i) {
560
560
  return typeof i == "function" ? i(e) : i;
561
561
  }
562
- const It = Yt(void 0), Hr = ({ perform: e, children: i, setIsProcessingCallback: t, devSettings: r }) => /* @__PURE__ */ d(It.Provider, { value: { perform: e, setIsProcessingCallback: t, devSettings: r }, children: i }), Us = () => {
562
+ const It = Yt(void 0), Hr = ({ perform: e, children: i, setIsProcessingCallback: t, devSettings: r }) => /* @__PURE__ */ d(It.Provider, { value: { perform: e, setIsProcessingCallback: t, devSettings: r }, children: i }), ks = () => {
563
563
  const e = Ci(It);
564
564
  if (!e)
565
565
  throw new Error("useDevSettings must be used within a Context Provider");
@@ -569,12 +569,12 @@ const It = Yt(void 0), Hr = ({ perform: e, children: i, setIsProcessingCallback:
569
569
  if (!e)
570
570
  throw new Error("usePerform must be used within a PerformProvider");
571
571
  return { perform: e.perform };
572
- }, Qs = () => {
572
+ }, Us = () => {
573
573
  const e = Ci(It);
574
574
  if (!e)
575
575
  throw new Error("useSetIsProcessingCallback must be used within a Context Provider");
576
576
  return { setIsProcessingCallback: e.setIsProcessingCallback };
577
- }, Ys = {
577
+ }, Qs = {
578
578
  width: "86px",
579
579
  height: "86px",
580
580
  flex: "0 0 86px",
@@ -592,7 +592,7 @@ const It = Yt(void 0), Hr = ({ perform: e, children: i, setIsProcessingCallback:
592
592
  CAMERA: "CAMERA",
593
593
  GALLERY: "GALLERY",
594
594
  GEOLOCATION: "GEOLOCATION"
595
- }, Mt = {
595
+ }, st = {
596
596
  LEFT: "LEFT",
597
597
  CENTER: "CENTER",
598
598
  RIGHT: "RIGHT"
@@ -612,7 +612,7 @@ const It = Yt(void 0), Hr = ({ perform: e, children: i, setIsProcessingCallback:
612
612
  EMAIL: "EMAIL",
613
613
  NUMBER: "NUMBER",
614
614
  SECURE: "SECURE"
615
- }, Ps = ({ dataUrl: e }) => {
615
+ }, Ys = ({ dataUrl: e }) => {
616
616
  const i = Je(null), t = 360 / 1e3;
617
617
  return Fe(() => {
618
618
  if (!i.current) return;
@@ -690,8 +690,8 @@ const It = Yt(void 0), Hr = ({ perform: e, children: i, setIsProcessingCallback:
690
690
  [ce.DEFAULT]: () => ""
691
691
  }, kn = ({ type: e, color: i }) => {
692
692
  const t = _t[e] || _t[ce.DEFAULT], r = t == null ? void 0 : t(i);
693
- return e === ce.SPINNER ? /* @__PURE__ */ d(Ps, { dataUrl: r }) : /* @__PURE__ */ d("img", { src: r, style: { width: "auto", height: "auto", maxWidth: "100%", maxHeight: "100%" } });
694
- }, Ji = "#005fcc", at = "idv-gui", ut = {
693
+ return e === ce.SPINNER ? /* @__PURE__ */ d(Ys, { dataUrl: r }) : /* @__PURE__ */ d("img", { src: r, style: { width: "auto", height: "auto", maxWidth: "100%", maxHeight: "100%" } });
694
+ }, Ji = "#005fcc", Mt = "idv-gui", at = {
695
695
  DECODING_FAILED: "DECODING_FAILED"
696
696
  }, At = {
697
697
  text: "text",
@@ -700,12 +700,12 @@ const It = Yt(void 0), Hr = ({ perform: e, children: i, setIsProcessingCallback:
700
700
  }, Gr = {
701
701
  NOT_EMPTY: "notEmpty",
702
702
  REGEX: "regex"
703
- }, Rs = {
703
+ }, Ps = {
704
704
  APP_DENIED: "app_denied",
705
705
  SYSTEM_RESTRICTED: "system_restricted"
706
706
  };
707
707
  function Un(e) {
708
- return e === Mt.CENTER ? "center" : e === Mt.RIGHT ? "right" : "left";
708
+ return e === st.CENTER ? "center" : e === st.RIGHT ? "right" : "left";
709
709
  }
710
710
  function Wt(e) {
711
711
  if (typeof e == "object" && e !== null)
@@ -713,17 +713,17 @@ function Wt(e) {
713
713
  typeof e[i] == "object" ? Wt(e[i]) : e[i] === "true" ? e[i] = !0 : e[i] === "false" && (e[i] = !1);
714
714
  return e;
715
715
  }
716
- function Fs(e) {
716
+ function Rs(e) {
717
717
  return Object.entries(e).map(([i, t]) => ({
718
718
  id: i,
719
719
  value: typeof t == "string" ? t.trim() : t
720
720
  })).filter((i) => !!i.value);
721
721
  }
722
- const Vs = (e) => Array.isArray(e) ? e.length === 0 : e === 0 ? !1 : !e;
722
+ const Fs = (e) => Array.isArray(e) ? e.length === 0 : e === 0 ? !1 : !e;
723
723
  function ee(e) {
724
724
  return e && /^#(?:[0-9a-fA-F]{3}){1,2}$/.test(e) ? e : void 0;
725
725
  }
726
- const Bs = (e, i) => e.reduce((t, r) => {
726
+ const Vs = (e, i) => e.reduce((t, r) => {
727
727
  var n, o, s;
728
728
  if (r.answerType === At.text && (n = r.property) != null && n.id) {
729
729
  const M = i.find((D) => D.name === r.property.id);
@@ -751,13 +751,13 @@ const Bs = (e, i) => e.reduce((t, r) => {
751
751
  } else
752
752
  t(new Error("Unexpected result type"));
753
753
  }, r.onerror = () => t(r.error), r.readAsDataURL(e);
754
- }), Ws = () => De(null, null, function* () {
754
+ }), Bs = () => De(null, null, function* () {
755
755
  try {
756
756
  return (yield navigator.mediaDevices.getUserMedia({ video: !0 })).getTracks().forEach((i) => i.stop()), "allowed";
757
757
  } catch (e) {
758
758
  return (e == null ? void 0 : e.name) === "NotAllowedError" ? "denied" : "error";
759
759
  }
760
- }), Zs = () => String.fromCharCode(Math.floor(Math.random() * 26) + 97) + Number(Math.random()).toString(16).slice(2) + Date.now().toString(16).slice(4), Yn = (e) => (e == null ? void 0 : e.some((t) => t.type === "FORM")) ? st.FORM : st.DATA, _e = ({
760
+ }), Ws = () => String.fromCharCode(Math.floor(Math.random() * 26) + 97) + Number(Math.random()).toString(16).slice(2) + Date.now().toString(16).slice(4), _e = ({
761
761
  imageId: e,
762
762
  imageURL: i,
763
763
  base64: t,
@@ -824,7 +824,7 @@ const Bs = (e, i) => e.reduce((t, r) => {
824
824
  }
825
825
  )
826
826
  ] });
827
- }, Hs = ({ signature: e }) => /* @__PURE__ */ d(
827
+ }, Zs = ({ signature: e }) => /* @__PURE__ */ d(
828
828
  "footer",
829
829
  {
830
830
  "data-ui": "gui-footer",
@@ -839,7 +839,7 @@ const Bs = (e, i) => e.reduce((t, r) => {
839
839
  },
840
840
  children: /* @__PURE__ */ d("a", { href: "", children: /* @__PURE__ */ d(_e, O({}, e)) })
841
841
  }
842
- ), Gs = {
842
+ ), Hs = {
843
843
  display: "flex",
844
844
  justifyContent: "center",
845
845
  alignItems: "center",
@@ -848,7 +848,7 @@ const Bs = (e, i) => e.reduce((t, r) => {
848
848
  minWidth: "36px",
849
849
  border: "none",
850
850
  cursor: "pointer"
851
- }, Js = ({
851
+ }, Gs = ({
852
852
  dataTestId: e,
853
853
  responseBody: i,
854
854
  image: t,
@@ -867,10 +867,10 @@ const Bs = (e, i) => e.reduce((t, r) => {
867
867
  "data-test": e,
868
868
  onClick: () => {
869
869
  const y = JSON.parse(JSON.stringify(i));
870
- Wt(y), A(y, st.DATA);
870
+ Wt(y), A(y, Nt.DATA);
871
871
  },
872
872
  className: "hover-button",
873
- style: J(O(O({}, Gs), o && { borderRadius: o }), {
873
+ style: J(O(O({}, Hs), o && { borderRadius: o }), {
874
874
  backgroundColor: (a = ee(j)) != null ? a : "transparent"
875
875
  }),
876
876
  onMouseEnter: () => D(!0),
@@ -893,7 +893,7 @@ const Bs = (e, i) => e.reduce((t, r) => {
893
893
  ]
894
894
  }
895
895
  );
896
- }, $s = ({ closeButton: e }) => /* @__PURE__ */ d(
896
+ }, Js = ({ closeButton: e }) => /* @__PURE__ */ d(
897
897
  "header",
898
898
  {
899
899
  style: {
@@ -906,10 +906,10 @@ const Bs = (e, i) => e.reduce((t, r) => {
906
906
  },
907
907
  "data-ui": "gui-header",
908
908
  part: "gui-header",
909
- children: /* @__PURE__ */ d("div", { children: e && /* @__PURE__ */ d(Js, O({ dataTestId: "close-btn" }, e)) })
909
+ children: /* @__PURE__ */ d("div", { children: e && /* @__PURE__ */ d(Gs, O({ dataTestId: "close-btn" }, e)) })
910
910
  }
911
911
  );
912
- function Xs(e) {
912
+ function $s(e) {
913
913
  var n;
914
914
  const i = /\[([^\]]+)\]\(((https?:\/\/|www\.)?[^\s)]+\.[^\s)]+)\)/g, t = [];
915
915
  let r = 0;
@@ -923,11 +923,11 @@ function Xs(e) {
923
923
  }
924
924
  return r < e.length && t.push(e.slice(r)), t;
925
925
  }
926
- function Pn(e) {
926
+ function Yn(e) {
927
927
  const i = e.split(`
928
928
  `);
929
929
  return i.flatMap((t, r) => {
930
- const n = Xs(t);
930
+ const n = $s(t);
931
931
  return r === i.length - 1 ? n : [...n, /* @__PURE__ */ d("br", {}, "br-" + r)];
932
932
  });
933
933
  }
@@ -936,7 +936,7 @@ const fe = ({
936
936
  fontName: i = "",
937
937
  fontSize: t = "17px",
938
938
  fontColor: r,
939
- alignment: n = Mt.LEFT,
939
+ alignment: n = st.LEFT,
940
940
  backgroundColor: o,
941
941
  cornerRadius: s = 0,
942
942
  htmlFor: M
@@ -948,9 +948,9 @@ const fe = ({
948
948
  textAlign: Un(n),
949
949
  backgroundColor: ee(o) || "transparent",
950
950
  borderRadius: s
951
- }, j = typeof e == "string" && e.trim() && Pn(e);
951
+ }, j = typeof e == "string" && e.trim() && Yn(e);
952
952
  return M ? /* @__PURE__ */ d("label", { "data-ui": "gui-label", part: "gui-label", style: D, htmlFor: M, children: j }) : /* @__PURE__ */ d("div", { "data-ui": "gui-label", part: "gui-label", style: D, children: j });
953
- }, lt = ({
953
+ }, ut = ({
954
954
  title: e,
955
955
  image: i,
956
956
  responseBody: t,
@@ -967,7 +967,7 @@ const fe = ({
967
967
  const [c, a] = pe(!1), y = c && ee(o) ? o : r, { perform: N } = zi(), I = (h) => {
968
968
  if (A && A(h), j !== "RESPONSE_BODY") return;
969
969
  const p = JSON.parse(JSON.stringify(t));
970
- Wt(p), N(p, st.DATA);
970
+ Wt(p), N(p, Nt.DATA);
971
971
  }, z = {
972
972
  height: "50px",
973
973
  width: "100%",
@@ -1015,7 +1015,7 @@ const fe = ({
1015
1015
  ]
1016
1016
  }
1017
1017
  );
1018
- }, Ks = (t) => {
1018
+ }, Xs = (t) => {
1019
1019
  var r = t, { items: e } = r, i = Di(r, ["items"]);
1020
1020
  return /* @__PURE__ */ d("div", { part: "gui-buttons", "data-ui": "gui-buttons", style: O(O({}, {
1021
1021
  display: "flex",
@@ -1031,7 +1031,7 @@ const fe = ({
1031
1031
  paddingTop: "20px"
1032
1032
  }), i), children: e.map((o) => {
1033
1033
  var s;
1034
- return /* @__PURE__ */ d(lt, O({ dataTestId: "button-" + ((s = o.title) == null ? void 0 : s.text) }, o), Zs());
1034
+ return /* @__PURE__ */ d(ut, O({ dataTestId: "button-" + ((s = o.title) == null ? void 0 : s.text) }, o), Ws());
1035
1035
  }) });
1036
1036
  }, ci = ({
1037
1037
  children: e,
@@ -1075,11 +1075,11 @@ const fe = ({
1075
1075
  width: "100%",
1076
1076
  height: o
1077
1077
  },
1078
- children: /* @__PURE__ */ d($s, { closeButton: i.closeButton })
1078
+ children: /* @__PURE__ */ d(Js, { closeButton: i.closeButton })
1079
1079
  }
1080
1080
  ),
1081
1081
  /* @__PURE__ */ d("div", { style: { height: "100%", width: "100%", flex: "1 1 100%", overflow: "hidden" }, children: e }),
1082
- (n == null ? void 0 : n.length) && /* @__PURE__ */ d(Ks, { items: n }),
1082
+ (n == null ? void 0 : n.length) && /* @__PURE__ */ d(Xs, { items: n }),
1083
1083
  t && /* @__PURE__ */ d(
1084
1084
  "div",
1085
1085
  {
@@ -1090,7 +1090,7 @@ const fe = ({
1090
1090
  width: "100%",
1091
1091
  height: s
1092
1092
  },
1093
- children: /* @__PURE__ */ d(Hs, O({}, t))
1093
+ children: /* @__PURE__ */ d(Zs, O({}, t))
1094
1094
  }
1095
1095
  )
1096
1096
  ]
@@ -1100,7 +1100,7 @@ const fe = ({
1100
1100
  text: e,
1101
1101
  fontName: i = "",
1102
1102
  fontColor: t,
1103
- alignment: r = Mt.LEFT,
1103
+ alignment: r = st.LEFT,
1104
1104
  fontSize: n = 17,
1105
1105
  backgroundColor: o,
1106
1106
  cornerRadius: s = 0
@@ -1118,9 +1118,9 @@ const fe = ({
1118
1118
  backgroundColor: ee(o) || "transparent",
1119
1119
  whiteSpace: "pre-line"
1120
1120
  },
1121
- children: e && Pn(e)
1121
+ children: e && Yn(e)
1122
1122
  }
1123
- ), qs = ({
1123
+ ), Ks = ({
1124
1124
  header: e,
1125
1125
  footer: i,
1126
1126
  image: t,
@@ -1146,7 +1146,7 @@ const fe = ({
1146
1146
  flexDirection: "column"
1147
1147
  },
1148
1148
  children: [
1149
- t && /* @__PURE__ */ d("div", { style: Ys, children: /* @__PURE__ */ d(_e, O({}, t)) }),
1149
+ t && /* @__PURE__ */ d("div", { style: Qs, children: /* @__PURE__ */ d(_e, O({}, t)) }),
1150
1150
  (r == null ? void 0 : r.text) && /* @__PURE__ */ d(
1151
1151
  "div",
1152
1152
  {
@@ -1180,12 +1180,12 @@ const fe = ({
1180
1180
  ]
1181
1181
  }
1182
1182
  ) });
1183
- }, eM = {
1183
+ }, qs = {
1184
1184
  width: "100%",
1185
1185
  height: "auto",
1186
1186
  marginBottom: "32px",
1187
1187
  aspectRatio: "1.68"
1188
- }, iM = {
1188
+ }, eM = {
1189
1189
  position: "relative",
1190
1190
  display: "flex",
1191
1191
  flexDirection: "column",
@@ -1196,7 +1196,7 @@ const fe = ({
1196
1196
  width: "100%",
1197
1197
  minHeight: "100%",
1198
1198
  overflow: "auto"
1199
- }, tM = ({
1199
+ }, iM = ({
1200
1200
  title: e,
1201
1201
  header: i,
1202
1202
  footer: t,
@@ -1210,16 +1210,16 @@ const fe = ({
1210
1210
  part: "gui-info-screen-container",
1211
1211
  "data-ui": "gui-info-screen-container",
1212
1212
  id: "info-screen-container",
1213
- style: J(O({}, iM), {
1213
+ style: J(O({}, eM), {
1214
1214
  justifyContent: r ? "flex-start" : "center"
1215
1215
  }),
1216
1216
  children: [
1217
- r && /* @__PURE__ */ d("div", { style: eM, children: /* @__PURE__ */ d(_e, O({}, r)) }),
1217
+ r && /* @__PURE__ */ d("div", { style: qs, children: /* @__PURE__ */ d(_e, O({}, r)) }),
1218
1218
  e && /* @__PURE__ */ d("div", { style: { marginBottom: 20, lineHeight: "39.2px" }, children: /* @__PURE__ */ d(fe, O({}, e)) }),
1219
1219
  n && /* @__PURE__ */ d("div", { style: { lineHeight: "28px", fontWeight: "400" }, children: /* @__PURE__ */ d(jt, O({}, n)) })
1220
1220
  ]
1221
1221
  }
1222
- ) }) }), rM = ({ indicatorColor: e = "#7E57C5" }) => /* @__PURE__ */ d(kn, { type: ce.SPINNER, color: e }), Jr = ({
1222
+ ) }) }), tM = ({ indicatorColor: e = "#7E57C5" }) => /* @__PURE__ */ d(kn, { type: ce.SPINNER, color: e }), Jr = ({
1223
1223
  progressView: e,
1224
1224
  footer: i,
1225
1225
  backgroundColor: t
@@ -1237,9 +1237,9 @@ const fe = ({
1237
1237
  height: "100%",
1238
1238
  width: "100%"
1239
1239
  },
1240
- children: /* @__PURE__ */ d(rM, { indicatorColor: ee(e == null ? void 0 : e.indicatorColor) || "#000000" })
1240
+ children: /* @__PURE__ */ d(tM, { indicatorColor: ee(e == null ? void 0 : e.indicatorColor) || "#000000" })
1241
1241
  }
1242
- ) }), nM = ({
1242
+ ) }), rM = ({
1243
1243
  title: e,
1244
1244
  description: i,
1245
1245
  image: t,
@@ -1277,21 +1277,21 @@ const fe = ({
1277
1277
  /* @__PURE__ */ d("div", { style: { aspectRatio: "1 / 1", width: 120, height: 120, flex: "0 0 120px" }, children: /* @__PURE__ */ d(_e, O({}, t)) })
1278
1278
  ]
1279
1279
  }
1280
- ), oM = {
1280
+ ), nM = {
1281
1281
  display: "flex",
1282
1282
  flexDirection: "column",
1283
1283
  padding: "0 16px"
1284
- }, sM = ({ items: e, backgroundColor: i, cornerRadius: t = 16 }) => /* @__PURE__ */ d(
1284
+ }, oM = ({ items: e, backgroundColor: i, cornerRadius: t = 16 }) => /* @__PURE__ */ d(
1285
1285
  "div",
1286
1286
  {
1287
1287
  className: "details",
1288
- style: J(O({}, oM), {
1288
+ style: J(O({}, nM), {
1289
1289
  backgroundColor: ee(i) || "white",
1290
1290
  borderRadius: t
1291
1291
  }),
1292
- children: e.map((r, n) => /* @__PURE__ */ d(nM, O({ isLastChild: n === e.length - 1 }, r), n))
1292
+ children: e.map((r, n) => /* @__PURE__ */ d(rM, O({ isLastChild: n === e.length - 1 }, r), n))
1293
1293
  }
1294
- ), MM = ({
1294
+ ), sM = ({
1295
1295
  title: e,
1296
1296
  header: i,
1297
1297
  footer: t,
@@ -1316,12 +1316,12 @@ const fe = ({
1316
1316
  ref: s,
1317
1317
  children: [
1318
1318
  /* @__PURE__ */ d("div", { style: { marginBottom: e ? "16px" : "0", fontWeight: 400, fontSize: "28px" }, children: e && /* @__PURE__ */ d(fe, O({}, e)) }),
1319
- r && /* @__PURE__ */ d(sM, O({}, r))
1319
+ r && /* @__PURE__ */ d(oM, O({}, r))
1320
1320
  ]
1321
1321
  }
1322
1322
  ) });
1323
1323
  };
1324
- function Rn(e, i) {
1324
+ function Pn(e, i) {
1325
1325
  for (var t in i) e[t] = i[t];
1326
1326
  return e;
1327
1327
  }
@@ -1359,10 +1359,10 @@ function Jt() {
1359
1359
  return [!1, Ht];
1360
1360
  }
1361
1361
  var $t = li;
1362
- function ct(e, i) {
1362
+ function lt(e, i) {
1363
1363
  this.props = e, this.context = i;
1364
1364
  }
1365
- function Fn(e, i) {
1365
+ function Rn(e, i) {
1366
1366
  function t(n) {
1367
1367
  var o = this.props.ref, s = o == n.ref;
1368
1368
  return !s && o && (o.call ? o(null) : o.current = null), i ? !i(this.props, n) || !s : bt(this.props, n);
@@ -1372,68 +1372,68 @@ function Fn(e, i) {
1372
1372
  }
1373
1373
  return r.displayName = "Memo(" + (e.displayName || e.name) + ")", r.prototype.isReactComponent = !0, r.__f = !0, r.type = e, r;
1374
1374
  }
1375
- (ct.prototype = new Ge()).isPureReactComponent = !0, ct.prototype.shouldComponentUpdate = function(e, i) {
1375
+ (lt.prototype = new Ge()).isPureReactComponent = !0, lt.prototype.shouldComponentUpdate = function(e, i) {
1376
1376
  return bt(this.props, e) || bt(this.state, i);
1377
1377
  };
1378
1378
  var $r = X.__b;
1379
1379
  X.__b = function(e) {
1380
1380
  e.type && e.type.__f && e.ref && (e.props.ref = e.ref, e.ref = null), $r && $r(e);
1381
1381
  };
1382
- var aM = typeof Symbol != "undefined" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
1383
- function Vn(e) {
1382
+ var MM = typeof Symbol != "undefined" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
1383
+ function Fn(e) {
1384
1384
  function i(t) {
1385
- var r = Rn({}, t);
1385
+ var r = Pn({}, t);
1386
1386
  return delete r.ref, e(r, t.ref || null);
1387
1387
  }
1388
- return i.$$typeof = aM, i.render = e, i.prototype.isReactComponent = i.__f = !0, i.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", i;
1388
+ return i.$$typeof = MM, i.render = e, i.prototype.isReactComponent = i.__f = !0, i.displayName = "ForwardRef(" + (e.displayName || e.name) + ")", i;
1389
1389
  }
1390
1390
  var Xr = function(e, i) {
1391
1391
  return e == null ? null : oi(oi(e).map(i));
1392
- }, Bn = { map: Xr, forEach: Xr, count: function(e) {
1392
+ }, Vn = { map: Xr, forEach: Xr, count: function(e) {
1393
1393
  return e ? oi(e).length : 0;
1394
1394
  }, only: function(e) {
1395
1395
  var i = oi(e);
1396
1396
  if (i.length !== 1) throw "Children.only";
1397
1397
  return i[0];
1398
- }, toArray: oi }, uM = X.__e;
1398
+ }, toArray: oi }, aM = X.__e;
1399
1399
  X.__e = function(e, i, t, r) {
1400
1400
  if (e.then) {
1401
1401
  for (var n, o = i; o = o.__; ) if ((n = o.__c) && n.__c) return i.__e == null && (i.__e = t.__e, i.__k = t.__k), n.__c(e, i);
1402
1402
  }
1403
- uM(e, i, t, r);
1403
+ aM(e, i, t, r);
1404
1404
  };
1405
1405
  var Kr = X.unmount;
1406
- function Wn(e, i, t) {
1406
+ function Bn(e, i, t) {
1407
1407
  return e && (e.__c && e.__c.__H && (e.__c.__H.__.forEach(function(r) {
1408
1408
  typeof r.__c == "function" && r.__c();
1409
- }), e.__c.__H = null), (e = Rn({}, e)).__c != null && (e.__c.__P === t && (e.__c.__P = i), e.__c.__e = !0, e.__c = null), e.__k = e.__k && e.__k.map(function(r) {
1410
- return Wn(r, i, t);
1409
+ }), e.__c.__H = null), (e = Pn({}, e)).__c != null && (e.__c.__P === t && (e.__c.__P = i), e.__c.__e = !0, e.__c = null), e.__k = e.__k && e.__k.map(function(r) {
1410
+ return Bn(r, i, t);
1411
1411
  })), e;
1412
1412
  }
1413
- function Zn(e, i, t) {
1413
+ function Wn(e, i, t) {
1414
1414
  return e && t && (e.__v = null, e.__k = e.__k && e.__k.map(function(r) {
1415
- return Zn(r, i, t);
1415
+ return Wn(r, i, t);
1416
1416
  }), e.__c && e.__c.__P === i && (e.__e && t.appendChild(e.__e), e.__c.__e = !0, e.__c.__P = t)), e;
1417
1417
  }
1418
1418
  function Pi() {
1419
1419
  this.__u = 0, this.o = null, this.__b = null;
1420
1420
  }
1421
- function Hn(e) {
1421
+ function Zn(e) {
1422
1422
  var i = e.__.__c;
1423
1423
  return i && i.__a && i.__a(e);
1424
1424
  }
1425
- function Gn(e) {
1426
- var i, t, r;
1427
- function n(o) {
1428
- if (i || (i = e()).then(function(s) {
1429
- t = s.default || s;
1430
- }, function(s) {
1431
- r = s;
1432
- }), r) throw r;
1433
- if (!t) throw i;
1434
- return ei(t, o);
1425
+ function Hn(e) {
1426
+ var i, t, r, n = null;
1427
+ function o(s) {
1428
+ if (i || (i = e()).then(function(M) {
1429
+ M && (n = M.default || M), r = !0;
1430
+ }, function(M) {
1431
+ t = M, r = !0;
1432
+ }), t) throw t;
1433
+ if (!r) throw i;
1434
+ return n ? ei(n, s) : null;
1435
1435
  }
1436
- return n.displayName = "Lazy", n.__f = !0, n;
1436
+ return o.displayName = "Lazy", o.__f = !0, o;
1437
1437
  }
1438
1438
  function _i() {
1439
1439
  this.i = null, this.l = null;
@@ -1444,7 +1444,7 @@ X.unmount = function(e) {
1444
1444
  }, (Pi.prototype = new Ge()).__c = function(e, i) {
1445
1445
  var t = i.__c, r = this;
1446
1446
  r.o == null && (r.o = []), r.o.push(t);
1447
- var n = Hn(r.__v), o = !1, s = function() {
1447
+ var n = Zn(r.__v), o = !1, s = function() {
1448
1448
  o || (o = !0, t.__R = null, n ? n(M) : M());
1449
1449
  };
1450
1450
  t.__R = s;
@@ -1452,7 +1452,7 @@ X.unmount = function(e) {
1452
1452
  if (!--r.__u) {
1453
1453
  if (r.state.__a) {
1454
1454
  var D = r.state.__a;
1455
- r.__v.__k[0] = Zn(D, D.__c.__P, D.__c.__O);
1455
+ r.__v.__k[0] = Wn(D, D.__c.__P, D.__c.__O);
1456
1456
  }
1457
1457
  var j;
1458
1458
  for (r.setState({ __a: r.__b = null }); j = r.o.pop(); ) j.forceUpdate();
@@ -1465,7 +1465,7 @@ X.unmount = function(e) {
1465
1465
  if (this.__b) {
1466
1466
  if (this.__v.__k) {
1467
1467
  var t = document.createElement("div"), r = this.__v.__k[0].__c;
1468
- this.__v.__k[0] = Wn(this.__b, t, r.__O = r.__P);
1468
+ this.__v.__k[0] = Bn(this.__b, t, r.__O = r.__P);
1469
1469
  }
1470
1470
  this.__b = null;
1471
1471
  }
@@ -1479,12 +1479,12 @@ var qr = function(e, i, t) {
1479
1479
  e.i = t = t[2];
1480
1480
  }
1481
1481
  };
1482
- function lM(e) {
1482
+ function uM(e) {
1483
1483
  return this.getChildContext = function() {
1484
1484
  return e.context;
1485
1485
  }, e.children;
1486
1486
  }
1487
- function cM(e) {
1487
+ function lM(e) {
1488
1488
  var i = this, t = e.h;
1489
1489
  if (i.componentWillUnmount = function() {
1490
1490
  Ai(null, i.v), i.v = null, i.h = null;
@@ -1498,14 +1498,14 @@ function cM(e) {
1498
1498
  this.childNodes.splice(this.childNodes.indexOf(n) >>> 1, 1), i.h.removeChild(n);
1499
1499
  } };
1500
1500
  }
1501
- Ai(ei(lM, { context: i.context }, e.__v), i.v);
1501
+ Ai(ei(uM, { context: i.context }, e.__v), i.v);
1502
1502
  }
1503
- function Jn(e, i) {
1504
- var t = ei(cM, { __v: e, h: i });
1503
+ function Gn(e, i) {
1504
+ var t = ei(lM, { __v: e, h: i });
1505
1505
  return t.containerInfo = i, t;
1506
1506
  }
1507
1507
  (_i.prototype = new Ge()).__a = function(e) {
1508
- var i = this, t = Hn(i.__v), r = i.l.get(e);
1508
+ var i = this, t = Zn(i.__v), r = i.l.get(e);
1509
1509
  return r[0]++, function(n) {
1510
1510
  var o = function() {
1511
1511
  i.props.revealOrder ? (r.push(n), qr(i, e, r)) : n();
@@ -1524,13 +1524,13 @@ function Jn(e, i) {
1524
1524
  qr(e, t, i);
1525
1525
  });
1526
1526
  };
1527
- var $n = typeof Symbol != "undefined" && Symbol.for && Symbol.for("react.element") || 60103, gM = /^(?: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]/, dM = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, NM = /[A-Z0-9]/g, DM = typeof document != "undefined", IM = function(e) {
1527
+ var Jn = typeof Symbol != "undefined" && Symbol.for && Symbol.for("react.element") || 60103, cM = /^(?: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]/, gM = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, dM = /[A-Z0-9]/g, NM = typeof document != "undefined", DM = function(e) {
1528
1528
  return (typeof Symbol != "undefined" && typeof Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(e);
1529
1529
  };
1530
- function Xn(e, i, t) {
1530
+ function $n(e, i, t) {
1531
1531
  return i.__k == null && (i.textContent = ""), Ai(e, i), typeof t == "function" && t(), e ? e.__c : null;
1532
1532
  }
1533
- function Kn(e, i, t) {
1533
+ function Xn(e, i, t) {
1534
1534
  return Cn(e, i), typeof t == "function" && t(), e ? e.__c : null;
1535
1535
  }
1536
1536
  Ge.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(e) {
@@ -1541,18 +1541,18 @@ Ge.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceive
1541
1541
  } });
1542
1542
  });
1543
1543
  var en = X.event;
1544
- function jM() {
1544
+ function IM() {
1545
1545
  }
1546
- function yM() {
1546
+ function jM() {
1547
1547
  return this.cancelBubble;
1548
1548
  }
1549
- function fM() {
1549
+ function yM() {
1550
1550
  return this.defaultPrevented;
1551
1551
  }
1552
1552
  X.event = function(e) {
1553
- return en && (e = en(e)), e.persist = jM, e.isPropagationStopped = yM, e.isDefaultPrevented = fM, e.nativeEvent = e;
1553
+ return en && (e = en(e)), e.persist = IM, e.isPropagationStopped = jM, e.isDefaultPrevented = yM, e.nativeEvent = e;
1554
1554
  };
1555
- var Xt, AM = { enumerable: !1, configurable: !0, get: function() {
1555
+ var Xt, fM = { enumerable: !1, configurable: !0, get: function() {
1556
1556
  return this.class;
1557
1557
  } }, tn = X.vnode;
1558
1558
  X.vnode = function(e) {
@@ -1560,17 +1560,17 @@ X.vnode = function(e) {
1560
1560
  var t = i.props, r = i.type, n = {}, o = r.indexOf("-") === -1;
1561
1561
  for (var s in t) {
1562
1562
  var M = t[s];
1563
- if (!(s === "value" && "defaultValue" in t && M == null || DM && s === "children" && r === "noscript" || s === "class" || s === "className")) {
1563
+ if (!(s === "value" && "defaultValue" in t && M == null || NM && s === "children" && r === "noscript" || s === "class" || s === "className")) {
1564
1564
  var D = s.toLowerCase();
1565
- s === "defaultValue" && "value" in t && t.value == null ? s = "value" : s === "download" && M === !0 ? M = "" : D === "translate" && M === "no" ? M = !1 : D[0] === "o" && D[1] === "n" ? D === "ondoubleclick" ? s = "ondblclick" : D !== "onchange" || r !== "input" && r !== "textarea" || IM(t.type) ? D === "onfocus" ? s = "onfocusin" : D === "onblur" ? s = "onfocusout" : dM.test(s) && (s = D) : D = s = "oninput" : o && gM.test(s) ? s = s.replace(NM, "-$&").toLowerCase() : M === null && (M = void 0), D === "oninput" && n[s = D] && (s = "oninputCapture"), n[s] = M;
1565
+ s === "defaultValue" && "value" in t && t.value == null ? s = "value" : s === "download" && M === !0 ? M = "" : D === "translate" && M === "no" ? M = !1 : D[0] === "o" && D[1] === "n" ? D === "ondoubleclick" ? s = "ondblclick" : D !== "onchange" || r !== "input" && r !== "textarea" || DM(t.type) ? D === "onfocus" ? s = "onfocusin" : D === "onblur" ? s = "onfocusout" : gM.test(s) && (s = D) : D = s = "oninput" : o && cM.test(s) ? s = s.replace(dM, "-$&").toLowerCase() : M === null && (M = void 0), D === "oninput" && n[s = D] && (s = "oninputCapture"), n[s] = M;
1566
1566
  }
1567
1567
  }
1568
1568
  r == "select" && n.multiple && Array.isArray(n.value) && (n.value = oi(t.children).forEach(function(j) {
1569
1569
  j.props.selected = n.value.indexOf(j.props.value) != -1;
1570
1570
  })), r == "select" && n.defaultValue != null && (n.value = oi(t.children).forEach(function(j) {
1571
1571
  j.props.selected = n.multiple ? n.defaultValue.indexOf(j.props.value) != -1 : n.defaultValue == j.props.value;
1572
- })), t.class && !t.className ? (n.class = t.class, Object.defineProperty(n, "className", AM)) : (t.className && !t.class || t.class && t.className) && (n.class = n.className = t.className), i.props = n;
1573
- })(e), e.$$typeof = $n, tn && tn(e);
1572
+ })), t.class && !t.className ? (n.class = t.class, Object.defineProperty(n, "className", fM)) : (t.className && !t.class || t.class && t.className) && (n.class = n.className = t.className), i.props = n;
1573
+ })(e), e.$$typeof = Jn, tn && tn(e);
1574
1574
  };
1575
1575
  var rn = X.__r;
1576
1576
  X.__r = function(e) {
@@ -1582,72 +1582,72 @@ X.diffed = function(e) {
1582
1582
  var i = e.props, t = e.__e;
1583
1583
  t != null && e.type === "textarea" && "value" in i && i.value !== t.value && (t.value = i.value == null ? "" : i.value), Xt = null;
1584
1584
  };
1585
- var qn = { ReactCurrentDispatcher: { current: { readContext: function(e) {
1585
+ var Kn = { ReactCurrentDispatcher: { current: { readContext: function(e) {
1586
1586
  return Xt.__n[e.__c].props.value;
1587
- }, useCallback: Rt, useContext: Ci, useDebugValue: Ft, useDeferredValue: Gt, useEffect: Fe, useId: Vt, useImperativeHandle: Pt, useInsertionEffect: $t, useLayoutEffect: li, useMemo: Gi, useReducer: Dt, useRef: Je, useState: pe, useSyncExternalStore: Zt, useTransition: Jt } } }, TM = "18.3.1";
1588
- function eo(e) {
1587
+ }, useCallback: Rt, useContext: Ci, useDebugValue: Ft, useDeferredValue: Gt, useEffect: Fe, useId: Vt, useImperativeHandle: Pt, useInsertionEffect: $t, useLayoutEffect: li, useMemo: Gi, useReducer: Dt, useRef: Je, useState: pe, useSyncExternalStore: Zt, useTransition: Jt } } }, AM = "18.3.1";
1588
+ function qn(e) {
1589
1589
  return ei.bind(null, e);
1590
1590
  }
1591
1591
  function $i(e) {
1592
- return !!e && e.$$typeof === $n;
1592
+ return !!e && e.$$typeof === Jn;
1593
1593
  }
1594
- function io(e) {
1594
+ function eo(e) {
1595
1595
  return $i(e) && e.type === be;
1596
1596
  }
1597
- function to(e) {
1597
+ function io(e) {
1598
1598
  return !!e && !!e.displayName && (typeof e.displayName == "string" || e.displayName instanceof String) && e.displayName.startsWith("Memo(");
1599
1599
  }
1600
- function ro(e) {
1601
- return $i(e) ? _s.apply(null, arguments) : e;
1600
+ function to(e) {
1601
+ return $i(e) ? ps.apply(null, arguments) : e;
1602
1602
  }
1603
- function no(e) {
1603
+ function ro(e) {
1604
1604
  return !!e.__k && (Ai(null, e), !0);
1605
1605
  }
1606
- function oo(e) {
1606
+ function no(e) {
1607
1607
  return e && (e.base || e.nodeType === 1 && e) || null;
1608
1608
  }
1609
- var so = function(e, i) {
1609
+ var oo = function(e, i) {
1610
1610
  return e(i);
1611
- }, Mo = function(e, i) {
1611
+ }, so = function(e, i) {
1612
1612
  return e(i);
1613
- }, ao = be, uo = $i, re = { useState: pe, useId: Vt, useReducer: Dt, useEffect: Fe, useLayoutEffect: li, useInsertionEffect: $t, useTransition: Jt, useDeferredValue: Gt, useSyncExternalStore: Zt, startTransition: Ht, useRef: Je, useImperativeHandle: Pt, useMemo: Gi, useCallback: Rt, useContext: Ci, useDebugValue: Ft, version: "18.3.1", Children: Bn, render: Xn, hydrate: Kn, unmountComponentAtNode: no, createPortal: Jn, createElement: ei, createContext: Yt, createFactory: eo, cloneElement: ro, createRef: hn, Fragment: be, isValidElement: $i, isElement: uo, isFragment: io, isMemo: to, findDOMNode: oo, Component: Ge, PureComponent: ct, memo: Fn, forwardRef: Vn, flushSync: Mo, unstable_batchedUpdates: so, StrictMode: ao, Suspense: Pi, SuspenseList: _i, lazy: Gn, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: qn };
1614
- const zM = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1613
+ }, Mo = be, ao = $i, re = { useState: pe, useId: Vt, useReducer: Dt, useEffect: Fe, useLayoutEffect: li, useInsertionEffect: $t, useTransition: Jt, useDeferredValue: Gt, useSyncExternalStore: Zt, startTransition: Ht, useRef: Je, useImperativeHandle: Pt, useMemo: Gi, useCallback: Rt, useContext: Ci, useDebugValue: Ft, version: "18.3.1", Children: Vn, render: $n, hydrate: Xn, unmountComponentAtNode: ro, createPortal: Gn, createElement: ei, createContext: Yt, createFactory: qn, cloneElement: to, createRef: hn, Fragment: be, isValidElement: $i, isElement: ao, isFragment: eo, isMemo: io, findDOMNode: no, Component: Ge, PureComponent: lt, memo: Rn, forwardRef: Fn, flushSync: so, unstable_batchedUpdates: oo, StrictMode: Mo, Suspense: Pi, SuspenseList: _i, lazy: Hn, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Kn };
1614
+ const TM = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1615
1615
  __proto__: null,
1616
- Children: Bn,
1616
+ Children: Vn,
1617
1617
  Component: Ge,
1618
1618
  Fragment: be,
1619
- PureComponent: ct,
1620
- StrictMode: ao,
1619
+ PureComponent: lt,
1620
+ StrictMode: Mo,
1621
1621
  Suspense: Pi,
1622
1622
  SuspenseList: _i,
1623
- __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: qn,
1624
- cloneElement: ro,
1623
+ __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Kn,
1624
+ cloneElement: to,
1625
1625
  createContext: Yt,
1626
1626
  createElement: ei,
1627
- createFactory: eo,
1628
- createPortal: Jn,
1627
+ createFactory: qn,
1628
+ createPortal: Gn,
1629
1629
  createRef: hn,
1630
1630
  default: re,
1631
- findDOMNode: oo,
1632
- flushSync: Mo,
1633
- forwardRef: Vn,
1634
- hydrate: Kn,
1635
- isElement: uo,
1636
- isFragment: io,
1637
- isMemo: to,
1631
+ findDOMNode: no,
1632
+ flushSync: so,
1633
+ forwardRef: Fn,
1634
+ hydrate: Xn,
1635
+ isElement: ao,
1636
+ isFragment: eo,
1637
+ isMemo: io,
1638
1638
  isValidElement: $i,
1639
- lazy: Gn,
1640
- memo: Fn,
1641
- render: Xn,
1639
+ lazy: Hn,
1640
+ memo: Rn,
1641
+ render: $n,
1642
1642
  startTransition: Ht,
1643
- unmountComponentAtNode: no,
1644
- unstable_batchedUpdates: so,
1643
+ unmountComponentAtNode: ro,
1644
+ unstable_batchedUpdates: oo,
1645
1645
  useCallback: Rt,
1646
1646
  useContext: Ci,
1647
1647
  useDebugValue: Ft,
1648
1648
  useDeferredValue: Gt,
1649
1649
  useEffect: Fe,
1650
- useErrorBoundary: vs,
1650
+ useErrorBoundary: Cs,
1651
1651
  useId: Vt,
1652
1652
  useImperativeHandle: Pt,
1653
1653
  useInsertionEffect: $t,
@@ -1658,11 +1658,11 @@ const zM = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1658
1658
  useState: pe,
1659
1659
  useSyncExternalStore: Zt,
1660
1660
  useTransition: Jt,
1661
- version: TM
1661
+ version: AM
1662
1662
  }, Symbol.toStringTag, { value: "Module" }));
1663
1663
  var Xi = (e) => e.type === "checkbox", fi = (e) => e instanceof Date, Ce = (e) => e == null;
1664
- const lo = (e) => typeof e == "object";
1665
- var Ee = (e) => !Ce(e) && !Array.isArray(e) && lo(e) && !fi(e), co = (e) => Ee(e) && e.target ? Xi(e.target) ? e.target.checked : e.target.value : e, OM = (e) => e.substring(0, e.search(/\.\d+(\.|$)/)) || e, go = (e, i) => e.has(OM(i)), xM = (e) => {
1664
+ const uo = (e) => typeof e == "object";
1665
+ var Ee = (e) => !Ce(e) && !Array.isArray(e) && uo(e) && !fi(e), lo = (e) => Ee(e) && e.target ? Xi(e.target) ? e.target.checked : e.target.value : e, zM = (e) => e.substring(0, e.search(/\.\d+(\.|$)/)) || e, co = (e, i) => e.has(zM(i)), OM = (e) => {
1666
1666
  const i = e.constructor && e.constructor.prototype;
1667
1667
  return Ee(i) && i.hasOwnProperty("isPrototypeOf");
1668
1668
  }, Kt = typeof window != "undefined" && typeof window.HTMLElement != "undefined" && typeof document != "undefined";
@@ -1672,7 +1672,7 @@ function me(e) {
1672
1672
  if (e instanceof Date)
1673
1673
  i = new Date(e);
1674
1674
  else if (!(Kt && (e instanceof Blob || r)) && (t || Ee(e)))
1675
- if (i = t ? [] : Object.create(Object.getPrototypeOf(e)), !t && !xM(e))
1675
+ if (i = t ? [] : Object.create(Object.getPrototypeOf(e)), !t && !OM(e))
1676
1676
  i = e;
1677
1677
  else
1678
1678
  for (const n in e)
@@ -1701,7 +1701,7 @@ var yt = (e) => /^\w*$/.test(e), Te = (e) => e === void 0, qt = (e) => Array.isA
1701
1701
  e[M] = D, e = e[M];
1702
1702
  }
1703
1703
  };
1704
- const gt = {
1704
+ const ct = {
1705
1705
  BLUR: "blur",
1706
1706
  FOCUS_OUT: "focusout",
1707
1707
  CHANGE: "change"
@@ -1719,10 +1719,10 @@ const gt = {
1719
1719
  pattern: "pattern",
1720
1720
  required: "required",
1721
1721
  validate: "validate"
1722
- }, No = re.createContext(null);
1723
- No.displayName = "HookFormContext";
1724
- const ir = () => re.useContext(No);
1725
- var Do = (e, i, t, r = !0) => {
1722
+ }, go = re.createContext(null);
1723
+ go.displayName = "HookFormContext";
1724
+ const ir = () => re.useContext(go);
1725
+ var No = (e, i, t, r = !0) => {
1726
1726
  const n = {
1727
1727
  defaultValues: i._defaultValues
1728
1728
  };
@@ -1736,7 +1736,7 @@ var Do = (e, i, t, r = !0) => {
1736
1736
  return n;
1737
1737
  };
1738
1738
  const tr = typeof window != "undefined" ? re.useLayoutEffect : re.useEffect;
1739
- function EM(e) {
1739
+ function xM(e) {
1740
1740
  const i = ir(), { control: t = i.control, disabled: r, name: n, exact: o } = e || {}, [s, M] = re.useState(t._formState), D = re.useRef({
1741
1741
  isDirty: !1,
1742
1742
  isLoading: !1,
@@ -1756,9 +1756,9 @@ function EM(e) {
1756
1756
  }
1757
1757
  }), [n, r, o]), re.useEffect(() => {
1758
1758
  D.current.isValid && t._setValid(!0);
1759
- }, [t]), re.useMemo(() => Do(s, t, D.current, !1), [s, t]);
1759
+ }, [t]), re.useMemo(() => No(s, t, D.current, !1), [s, t]);
1760
1760
  }
1761
- var Re = (e) => typeof e == "string", Io = (e, i, t, r, n) => Re(e) ? (r && i.watch.add(e), C(t, e, n)) : Array.isArray(e) ? e.map((o) => (r && i.watch.add(o), C(t, o))) : (r && (i.watchAll = !0), t), St = (e) => Ce(e) || !lo(e);
1761
+ var Re = (e) => typeof e == "string", Do = (e, i, t, r, n) => Re(e) ? (r && i.watch.add(e), C(t, e, n)) : Array.isArray(e) ? e.map((o) => (r && i.watch.add(o), C(t, o))) : (r && (i.watchAll = !0), t), St = (e) => Ce(e) || !uo(e);
1762
1762
  function ni(e, i, t = /* @__PURE__ */ new WeakSet()) {
1763
1763
  if (St(e) || St(i))
1764
1764
  return e === i;
@@ -1782,7 +1782,7 @@ function ni(e, i, t = /* @__PURE__ */ new WeakSet()) {
1782
1782
  }
1783
1783
  return !0;
1784
1784
  }
1785
- function hM(e) {
1785
+ function EM(e) {
1786
1786
  const i = ir(), { control: t = i.control, name: r, defaultValue: n, disabled: o, exact: s, compute: M } = e || {}, D = re.useRef(n), j = re.useRef(M), A = re.useRef(void 0);
1787
1787
  j.current = M;
1788
1788
  const c = re.useMemo(() => t._getWatch(r, D.current), [t, r]), [a, y] = re.useState(j.current ? j.current(c) : c);
@@ -1794,7 +1794,7 @@ function hM(e) {
1794
1794
  exact: s,
1795
1795
  callback: (N) => {
1796
1796
  if (!o) {
1797
- const I = Io(r, t._names, N.values || t._formValues, !1, D.current);
1797
+ const I = Do(r, t._names, N.values || t._formValues, !1, D.current);
1798
1798
  if (j.current) {
1799
1799
  const z = j.current(I);
1800
1800
  ni(z, A.current) || (y(z), A.current = z);
@@ -1804,13 +1804,13 @@ function hM(e) {
1804
1804
  }
1805
1805
  }), [t, o, r, s]), re.useEffect(() => t._removeUnmounted()), a;
1806
1806
  }
1807
- function mM(e) {
1808
- const i = ir(), { name: t, disabled: r, control: n = i.control, shouldUnregister: o, defaultValue: s } = e, M = go(n._names.array, t), D = re.useMemo(() => C(n._formValues, t, C(n._defaultValues, t, s)), [n, t, s]), j = hM({
1807
+ function hM(e) {
1808
+ const i = ir(), { name: t, disabled: r, control: n = i.control, shouldUnregister: o, defaultValue: s } = e, M = co(n._names.array, t), D = re.useMemo(() => C(n._formValues, t, C(n._defaultValues, t, s)), [n, t, s]), j = EM({
1809
1809
  control: n,
1810
1810
  name: t,
1811
1811
  defaultValue: D,
1812
1812
  exact: !0
1813
- }), A = EM({
1813
+ }), A = xM({
1814
1814
  control: n,
1815
1815
  name: t,
1816
1816
  exact: !0
@@ -1841,16 +1841,16 @@ function mM(e) {
1841
1841
  }
1842
1842
  }), [A, t]), I = re.useCallback((h) => y.current.onChange({
1843
1843
  target: {
1844
- value: co(h),
1844
+ value: lo(h),
1845
1845
  name: t
1846
1846
  },
1847
- type: gt.CHANGE
1847
+ type: ct.CHANGE
1848
1848
  }), [t]), z = re.useCallback(() => y.current.onBlur({
1849
1849
  target: {
1850
1850
  value: C(n._formValues, t),
1851
1851
  name: t
1852
1852
  },
1853
- type: gt.BLUR
1853
+ type: ct.BLUR
1854
1854
  }), [t, n._formValues]), w = re.useCallback((h) => {
1855
1855
  const p = C(n._fields, t);
1856
1856
  p && h && (p._f.ref = {
@@ -1892,8 +1892,8 @@ function mM(e) {
1892
1892
  fieldState: N
1893
1893
  }), [_, A, N]);
1894
1894
  }
1895
- const jo = (e) => e.render(mM(e));
1896
- var wM = (e, i, t, r, n) => i ? J(O({}, t[e]), {
1895
+ const Io = (e) => e.render(hM(e));
1896
+ var mM = (e, i, t, r, n) => i ? J(O({}, t[e]), {
1897
1897
  types: J(O({}, t[e] && t[e].types ? t[e].types : {}), {
1898
1898
  [r]: n || !0
1899
1899
  })
@@ -1917,66 +1917,66 @@ var wM = (e, i, t, r, n) => i ? J(O({}, t[e]), {
1917
1917
  }
1918
1918
  };
1919
1919
  };
1920
- function yo(e, i) {
1920
+ function jo(e, i) {
1921
1921
  const t = {};
1922
1922
  for (const r in e)
1923
1923
  if (e.hasOwnProperty(r)) {
1924
1924
  const n = e[r], o = i[r];
1925
1925
  if (n && Ee(n) && o) {
1926
- const s = yo(n, o);
1926
+ const s = jo(n, o);
1927
1927
  Ee(s) && (t[r] = s);
1928
1928
  } else e[r] && (t[r] = o);
1929
1929
  }
1930
1930
  return t;
1931
1931
  }
1932
- var Ue = (e) => Ee(e) && !Object.keys(e).length, rr = (e) => e.type === "file", He = (e) => typeof e == "function", dt = (e) => {
1932
+ var Ue = (e) => Ee(e) && !Object.keys(e).length, rr = (e) => e.type === "file", He = (e) => typeof e == "function", gt = (e) => {
1933
1933
  if (!Kt)
1934
1934
  return !1;
1935
1935
  const i = e ? e.ownerDocument : 0;
1936
1936
  return e instanceof (i && i.defaultView ? i.defaultView.HTMLElement : HTMLElement);
1937
- }, fo = (e) => e.type === "select-multiple", nr = (e) => e.type === "radio", pM = (e) => nr(e) || Xi(e), zt = (e) => dt(e) && e.isConnected;
1938
- function _M(e, i) {
1937
+ }, yo = (e) => e.type === "select-multiple", nr = (e) => e.type === "radio", wM = (e) => nr(e) || Xi(e), zt = (e) => gt(e) && e.isConnected;
1938
+ function pM(e, i) {
1939
1939
  const t = i.slice(0, -1).length;
1940
1940
  let r = 0;
1941
1941
  for (; r < t; )
1942
1942
  e = Te(e) ? r++ : e[i[r++]];
1943
1943
  return e;
1944
1944
  }
1945
- function bM(e) {
1945
+ function _M(e) {
1946
1946
  for (const i in e)
1947
1947
  if (e.hasOwnProperty(i) && !Te(e[i]))
1948
1948
  return !1;
1949
1949
  return !0;
1950
1950
  }
1951
1951
  function xe(e, i) {
1952
- const t = Array.isArray(i) ? i : yt(i) ? [i] : er(i), r = t.length === 1 ? e : _M(e, t), n = t.length - 1, o = t[n];
1953
- return r && delete r[o], n !== 0 && (Ee(r) && Ue(r) || Array.isArray(r) && bM(r)) && xe(e, t.slice(0, -1)), e;
1952
+ const t = Array.isArray(i) ? i : yt(i) ? [i] : er(i), r = t.length === 1 ? e : pM(e, t), n = t.length - 1, o = t[n];
1953
+ return r && delete r[o], n !== 0 && (Ee(r) && Ue(r) || Array.isArray(r) && _M(r)) && xe(e, t.slice(0, -1)), e;
1954
1954
  }
1955
- var SM = (e) => {
1955
+ var bM = (e) => {
1956
1956
  for (const i in e)
1957
1957
  if (He(e[i]))
1958
1958
  return !0;
1959
1959
  return !1;
1960
1960
  };
1961
- function Ao(e) {
1962
- return Array.isArray(e) || Ee(e) && !SM(e);
1961
+ function fo(e) {
1962
+ return Array.isArray(e) || Ee(e) && !bM(e);
1963
1963
  }
1964
1964
  function Ct(e, i = {}) {
1965
1965
  for (const t in e)
1966
- Ao(e[t]) ? (i[t] = Array.isArray(e[t]) ? [] : {}, Ct(e[t], i[t])) : Ce(e[t]) || (i[t] = !0);
1966
+ fo(e[t]) ? (i[t] = Array.isArray(e[t]) ? [] : {}, Ct(e[t], i[t])) : Ce(e[t]) || (i[t] = !0);
1967
1967
  return i;
1968
1968
  }
1969
1969
  function pi(e, i, t) {
1970
1970
  t || (t = Ct(i));
1971
1971
  for (const r in e)
1972
- Ao(e[r]) ? Te(i) || St(t[r]) ? t[r] = Ct(e[r], Array.isArray(e[r]) ? [] : {}) : pi(e[r], Ce(i) ? {} : i[r], t[r]) : t[r] = !ni(e[r], i[r]);
1972
+ fo(e[r]) ? Te(i) || St(t[r]) ? t[r] = Ct(e[r], Array.isArray(e[r]) ? [] : {}) : pi(e[r], Ce(i) ? {} : i[r], t[r]) : t[r] = !ni(e[r], i[r]);
1973
1973
  return t;
1974
1974
  }
1975
1975
  const sn = {
1976
1976
  value: !1,
1977
1977
  isValid: !1
1978
1978
  }, Mn = { value: !0, isValid: !0 };
1979
- var To = (e) => {
1979
+ var Ao = (e) => {
1980
1980
  if (Array.isArray(e)) {
1981
1981
  if (e.length > 1) {
1982
1982
  const i = e.filter((t) => t && t.checked && !t.disabled).map((t) => t.value);
@@ -1988,20 +1988,20 @@ var To = (e) => {
1988
1988
  ) : sn;
1989
1989
  }
1990
1990
  return sn;
1991
- }, zo = (e, { valueAsNumber: i, valueAsDate: t, setValueAs: r }) => Te(e) ? e : i ? e === "" ? NaN : e && +e : t && Re(e) ? new Date(e) : r ? r(e) : e;
1991
+ }, To = (e, { valueAsNumber: i, valueAsDate: t, setValueAs: r }) => Te(e) ? e : i ? e === "" ? NaN : e && +e : t && Re(e) ? new Date(e) : r ? r(e) : e;
1992
1992
  const an = {
1993
1993
  isValid: !1,
1994
1994
  value: null
1995
1995
  };
1996
- var Oo = (e) => Array.isArray(e) ? e.reduce((i, t) => t && t.checked && !t.disabled ? {
1996
+ var zo = (e) => Array.isArray(e) ? e.reduce((i, t) => t && t.checked && !t.disabled ? {
1997
1997
  isValid: !0,
1998
1998
  value: t.value
1999
1999
  } : i, an) : an;
2000
2000
  function un(e) {
2001
2001
  const i = e.ref;
2002
- return rr(i) ? i.files : nr(i) ? Oo(e.refs).value : fo(i) ? [...i.selectedOptions].map(({ value: t }) => t) : Xi(i) ? To(e.refs).value : zo(Te(i.value) ? e.ref.value : i.value, e);
2002
+ return rr(i) ? i.files : nr(i) ? zo(e.refs).value : yo(i) ? [...i.selectedOptions].map(({ value: t }) => t) : Xi(i) ? Ao(e.refs).value : To(Te(i.value) ? e.ref.value : i.value, e);
2003
2003
  }
2004
- var CM = (e, i, t, r) => {
2004
+ var SM = (e, i, t, r) => {
2005
2005
  const n = {};
2006
2006
  for (const o of e) {
2007
2007
  const s = C(i, o);
@@ -2013,7 +2013,7 @@ var CM = (e, i, t, r) => {
2013
2013
  fields: n,
2014
2014
  shouldUseNativeValidation: r
2015
2015
  };
2016
- }, Nt = (e) => e instanceof RegExp, ki = (e) => Te(e) ? e : Nt(e) ? e.source : Ee(e) ? Nt(e.value) ? e.value.source : e.value : e, ln = (e) => ({
2016
+ }, dt = (e) => e instanceof RegExp, ki = (e) => Te(e) ? e : dt(e) ? e.source : Ee(e) ? dt(e.value) ? e.value.source : e.value : e, ln = (e) => ({
2017
2017
  isOnSubmit: !e || e === Ze.onSubmit,
2018
2018
  isOnBlur: e === Ze.onBlur,
2019
2019
  isOnChange: e === Ze.onChange,
@@ -2021,7 +2021,7 @@ var CM = (e, i, t, r) => {
2021
2021
  isOnTouch: e === Ze.onTouched
2022
2022
  });
2023
2023
  const cn = "AsyncFunction";
2024
- var vM = (e) => !!e && !!e.validate && !!(He(e.validate) && e.validate.constructor.name === cn || Ee(e.validate) && Object.values(e.validate).find((i) => i.constructor.name === cn)), LM = (e) => e.mount && (e.required || e.min || e.max || e.maxLength || e.minLength || e.pattern || e.validate), gn = (e, i, t) => !t && (i.watchAll || i.watch.has(e) || [...i.watch].some((r) => e.startsWith(r) && /^\.\w+/.test(e.slice(r.length))));
2024
+ var CM = (e) => !!e && !!e.validate && !!(He(e.validate) && e.validate.constructor.name === cn || Ee(e.validate) && Object.values(e.validate).find((i) => i.constructor.name === cn)), vM = (e) => e.mount && (e.required || e.min || e.max || e.maxLength || e.minLength || e.pattern || e.validate), gn = (e, i, t) => !t && (i.watchAll || i.watch.has(e) || [...i.watch].some((r) => e.startsWith(r) && /^\.\w+/.test(e.slice(r.length))));
2025
2025
  const Fi = (e, i, t, r) => {
2026
2026
  for (const o of t || Object.keys(e)) {
2027
2027
  const s = C(e, o);
@@ -2067,11 +2067,11 @@ function dn(e, i, t) {
2067
2067
  name: t
2068
2068
  };
2069
2069
  }
2070
- var kM = (e, i, t, r) => {
2070
+ var LM = (e, i, t, r) => {
2071
2071
  t(e);
2072
2072
  const s = e, { name: n } = s, o = Di(s, ["name"]);
2073
2073
  return Ue(o) || Object.keys(o).length >= Object.keys(i).length || Object.keys(o).find((M) => i[M] === (!r || Ze.all));
2074
- }, UM = (e, i, t) => !e || !i || e === i || Ri(e).some((r) => r && (t ? r === i : r.startsWith(i) || i.startsWith(r))), QM = (e, i, t, r, n) => n.isOnAll ? !1 : !t && n.isOnTouch ? !(i || e) : (t ? r.isOnBlur : n.isOnBlur) ? !e : (t ? r.isOnChange : n.isOnChange) ? e : !0, YM = (e, i) => !qt(C(e, i)).length && xe(e, i), PM = (e, i, t) => {
2074
+ }, kM = (e, i, t) => !e || !i || e === i || Ri(e).some((r) => r && (t ? r === i : r.startsWith(i) || i.startsWith(r))), UM = (e, i, t, r, n) => n.isOnAll ? !1 : !t && n.isOnTouch ? !(i || e) : (t ? r.isOnBlur : n.isOnBlur) ? !e : (t ? r.isOnChange : n.isOnChange) ? e : !0, QM = (e, i) => !qt(C(e, i)).length && xe(e, i), YM = (e, i, t) => {
2075
2075
  const r = Ri(C(e, t));
2076
2076
  return Ne(r, "root", i[t]), Ne(e, t, r), e;
2077
2077
  };
@@ -2083,7 +2083,7 @@ function Nn(e, i, t = "validate") {
2083
2083
  ref: i
2084
2084
  };
2085
2085
  }
2086
- var wi = (e) => Ee(e) && !Nt(e) ? e : {
2086
+ var wi = (e) => Ee(e) && !dt(e) ? e : {
2087
2087
  value: e,
2088
2088
  message: ""
2089
2089
  }, Dn = (e, i, t, r, n, o) => De(null, null, function* () {
@@ -2092,7 +2092,7 @@ var wi = (e) => Ee(e) && !Nt(e) ? e : {
2092
2092
  return {};
2093
2093
  const h = M ? M[0] : s, p = (R) => {
2094
2094
  n && h.reportValidity && (h.setCustomValidity(Pe(R) ? "" : R || ""), h.reportValidity());
2095
- }, k = {}, ie = nr(s), F = Xi(s), ae = ie || F, Y = (z || rr(s)) && Te(s.value) && Te(_) || dt(s) && s.value === "" || _ === "" || Array.isArray(_) && !_.length, H = wM.bind(null, I, r, k), V = (R, $, se, Ie = ti.maxLength, je = ti.minLength) => {
2095
+ }, k = {}, ie = nr(s), F = Xi(s), ae = ie || F, Y = (z || rr(s)) && Te(s.value) && Te(_) || gt(s) && s.value === "" || _ === "" || Array.isArray(_) && !_.length, H = mM.bind(null, I, r, k), V = (R, $, se, Ie = ti.maxLength, je = ti.minLength) => {
2096
2096
  const Ae = R ? $ : se;
2097
2097
  k[I] = O({
2098
2098
  type: R ? Ie : je,
@@ -2100,7 +2100,7 @@ var wi = (e) => Ee(e) && !Nt(e) ? e : {
2100
2100
  ref: s
2101
2101
  }, H(R ? Ie : je, Ae));
2102
2102
  };
2103
- if (o ? !Array.isArray(_) || !_.length : D && (!ae && (Y || Ce(_)) || Pe(_) && !_ || F && !To(M).isValid || ie && !Oo(M).isValid)) {
2103
+ if (o ? !Array.isArray(_) || !_.length : D && (!ae && (Y || Ce(_)) || Pe(_) && !_ || F && !Ao(M).isValid || ie && !zo(M).isValid)) {
2104
2104
  const { value: R, message: $ } = Re(D) ? { value: !!D, message: D } : wi(D);
2105
2105
  if (R && (k[I] = O({
2106
2106
  type: ti.required,
@@ -2129,7 +2129,7 @@ var wi = (e) => Ee(e) && !Nt(e) ? e : {
2129
2129
  }
2130
2130
  if (y && !Y && Re(_)) {
2131
2131
  const { value: R, message: $ } = wi(y);
2132
- if (Nt(R) && !_.match(R) && (k[I] = O({
2132
+ if (dt(R) && !_.match(R) && (k[I] = O({
2133
2133
  type: ti.pattern,
2134
2134
  message: $,
2135
2135
  ref: s
@@ -2157,13 +2157,13 @@ var wi = (e) => Ee(e) && !Nt(e) ? e : {
2157
2157
  }
2158
2158
  return p(!0), k;
2159
2159
  });
2160
- const RM = {
2160
+ const PM = {
2161
2161
  mode: Ze.onSubmit,
2162
2162
  reValidateMode: Ze.onChange,
2163
2163
  shouldFocusError: !0
2164
2164
  };
2165
- function FM(e = {}) {
2166
- let i = O(O({}, RM), e), t = {
2165
+ function RM(e = {}) {
2166
+ let i = O(O({}, PM), e), t = {
2167
2167
  submitCount: 0,
2168
2168
  isDirty: !1,
2169
2169
  isReady: !1,
@@ -2226,7 +2226,7 @@ function FM(e = {}) {
2226
2226
  }
2227
2227
  if (S && Array.isArray(C(t.errors, g))) {
2228
2228
  const Q = E(C(t.errors, g), v.argA, v.argB);
2229
- b && Ne(t.errors, g, Q), YM(t.errors, g);
2229
+ b && Ne(t.errors, g, Q), QM(t.errors, g);
2230
2230
  }
2231
2231
  if ((A.touchedFields || c.touchedFields) && S && Array.isArray(C(t.touchedFields, g))) {
2232
2232
  const Q = E(C(t.touchedFields, g), v.argA, v.argB);
@@ -2285,7 +2285,7 @@ function FM(e = {}) {
2285
2285
  }
2286
2286
  }, F = (g) => De(null, null, function* () {
2287
2287
  z(g, !0);
2288
- const T = yield i.resolver(o, i.context, CM(g || M.mount, r, i.criteriaMode, i.shouldUseNativeValidation));
2288
+ const T = yield i.resolver(o, i.context, SM(g || M.mount, r, i.criteriaMode, i.shouldUseNativeValidation));
2289
2289
  return z(g), T;
2290
2290
  }), ae = (g) => De(null, null, function* () {
2291
2291
  const { errors: T } = yield F(g);
@@ -2305,12 +2305,12 @@ function FM(e = {}) {
2305
2305
  if (B) {
2306
2306
  const Q = B, { _f: ue } = Q, Se = Di(Q, ["_f"]);
2307
2307
  if (ue) {
2308
- const Z = M.array.has(ue.name), q = B._f && vM(B._f);
2308
+ const Z = M.array.has(ue.name), q = B._f && CM(B._f);
2309
2309
  q && A.validatingFields && z([ue.name], !0);
2310
2310
  const P = yield Dn(B, M.disabled, o, y, i.shouldUseNativeValidation && !T, Z);
2311
2311
  if (q && A.validatingFields && z([ue.name]), P[ue.name] && (E.valid = !1, T))
2312
2312
  break;
2313
- !T && (C(P, ue.name) ? Z ? PM(t.errors, P, ue.name) : Ne(t.errors, ue.name, P[ue.name]) : xe(t.errors, ue.name));
2313
+ !T && (C(P, ue.name) ? Z ? YM(t.errors, P, ue.name) : Ne(t.errors, ue.name, P[ue.name]) : xe(t.errors, ue.name));
2314
2314
  }
2315
2315
  !Ue(Se) && (yield Y(Se, T, E));
2316
2316
  }
@@ -2322,12 +2322,12 @@ function FM(e = {}) {
2322
2322
  T && (T._f.refs ? T._f.refs.every((E) => !zt(E)) : !zt(T._f.ref)) && Ve(g);
2323
2323
  }
2324
2324
  M.unMount = /* @__PURE__ */ new Set();
2325
- }, V = (g, T) => !i.disabled && (g && T && Ne(o, g, T), !ni(G(), n)), R = (g, T, E) => Io(g, M, O({}, s.mount ? o : Te(T) ? n : Re(g) ? { [g]: T } : T), E, T), $ = (g) => qt(C(s.mount ? o : n, g, i.shouldUnregister ? C(n, g, []) : [])), se = (g, T, E = {}) => {
2325
+ }, V = (g, T) => !i.disabled && (g && T && Ne(o, g, T), !ni(G(), n)), R = (g, T, E) => Do(g, M, O({}, s.mount ? o : Te(T) ? n : Re(g) ? { [g]: T } : T), E, T), $ = (g) => qt(C(s.mount ? o : n, g, i.shouldUnregister ? C(n, g, []) : [])), se = (g, T, E = {}) => {
2326
2326
  const v = C(r, g);
2327
2327
  let b = T;
2328
2328
  if (v) {
2329
2329
  const S = v._f;
2330
- S && (!S.disabled && Ne(o, g, zo(T, S)), b = dt(S.ref) && Ce(T) ? "" : T, fo(S.ref) ? [...S.ref.options].forEach((Q) => Q.selected = b.includes(Q.value)) : S.refs ? Xi(S.ref) ? S.refs.forEach((Q) => {
2330
+ S && (!S.disabled && Ne(o, g, To(T, S)), b = gt(S.ref) && Ce(T) ? "" : T, yo(S.ref) ? [...S.ref.options].forEach((Q) => Q.selected = b.includes(Q.value)) : S.refs ? Xi(S.ref) ? S.refs.forEach((Q) => {
2331
2331
  (!Q.defaultChecked || !Q.disabled) && (Array.isArray(b) ? Q.checked = !!b.find((K) => K === Q.value) : Q.checked = b === Q.value || !!b);
2332
2332
  }) : S.refs.forEach((Q) => Q.checked = Q.value === b) : rr(S.ref) ? S.ref.value = "" : (S.ref.value = b, S.ref.type || a.state.next({
2333
2333
  name: g,
@@ -2364,7 +2364,7 @@ function FM(e = {}) {
2364
2364
  }, Q = ln(i.mode), K = ln(i.reValidateMode);
2365
2365
  if (b) {
2366
2366
  let B, ue;
2367
- const Se = T.type ? un(b._f) : co(g), Z = g.type === gt.BLUR || g.type === gt.FOCUS_OUT, q = !LM(b._f) && !i.resolver && !C(t.errors, E) && !b._f.deps || QM(Z, C(t.touchedFields, E), t.isSubmitted, K, Q), P = gn(E, M, Z);
2367
+ const Se = T.type ? un(b._f) : lo(g), Z = g.type === ct.BLUR || g.type === ct.FOCUS_OUT, q = !vM(b._f) && !i.resolver && !C(t.errors, E) && !b._f.deps || UM(Z, C(t.touchedFields, E), t.isSubmitted, K, Q), P = gn(E, M, Z);
2368
2368
  Ne(o, E, Se), Z ? (!T || !T.readOnly) && (b._f.onBlur && b._f.onBlur(g), D && D(0)) : b._f.onChange && b._f.onChange(g);
2369
2369
  const Me = k(E, Se, Z), Le = !Ue(Me) || P;
2370
2370
  if (!Z && a.state.next({
@@ -2401,7 +2401,7 @@ function FM(e = {}) {
2401
2401
  })), T.shouldFocus && !S && Fi(r, Qe, g ? Q : M.mount), S;
2402
2402
  }), G = (g, T) => {
2403
2403
  let E = O({}, s.mount ? o : n);
2404
- return T && (E = yo(T.dirtyFields ? t.dirtyFields : t.touchedFields, E)), Te(g) ? E : Re(g) ? C(E, g) : g.map((v) => C(E, v));
2404
+ return T && (E = jo(T.dirtyFields ? t.dirtyFields : t.touchedFields, E)), Te(g) ? E : Re(g) ? C(E, g) : g.map((v) => C(E, v));
2405
2405
  }, ge = (g, T) => ({
2406
2406
  invalid: !!C((T || t).errors, g),
2407
2407
  isDirty: !!C((T || t).dirtyFields, g),
@@ -2425,7 +2425,7 @@ function FM(e = {}) {
2425
2425
  next: (E) => "values" in E && g(R(void 0, T), E)
2426
2426
  }) : R(g, T, !0), U = (g) => a.state.subscribe({
2427
2427
  next: (T) => {
2428
- UM(g.name, T.name, g.exact) && kM(T, g.formState || A, xi, g.reRenderRoot) && g.callback(J(O(O({
2428
+ kM(g.name, T.name, g.exact) && LM(T, g.formState || A, xi, g.reRenderRoot) && g.callback(J(O(O({
2429
2429
  values: O({}, o)
2430
2430
  }, t), T), {
2431
2431
  defaultValues: n
@@ -2466,7 +2466,7 @@ function FM(e = {}) {
2466
2466
  ref: (b) => {
2467
2467
  if (b) {
2468
2468
  ii(g, T), E = C(r, g);
2469
- const S = Te(b.value) && b.querySelectorAll && b.querySelectorAll("input,select,textarea")[0] || b, Q = pM(S), K = E._f.refs || [];
2469
+ const S = Te(b.value) && b.querySelectorAll && b.querySelectorAll("input,select,textarea")[0] || b, Q = wM(S), K = E._f.refs || [];
2470
2470
  if (Q ? K.find((B) => B === S) : S === E._f.ref)
2471
2471
  return;
2472
2472
  Ne(r, g, {
@@ -2480,7 +2480,7 @@ function FM(e = {}) {
2480
2480
  } : { ref: S })
2481
2481
  }), p(g, !1, void 0, S);
2482
2482
  } else
2483
- E = C(r, g, {}), E._f && (E._f.mount = !1), (i.shouldUnregister || T.shouldUnregister) && !(go(M.array, g) && s.action) && M.unMount.add(g);
2483
+ E = C(r, g, {}), E._f && (E._f.mount = !1), (i.shouldUnregister || T.shouldUnregister) && !(co(M.array, g) && s.action) && M.unMount.add(g);
2484
2484
  }
2485
2485
  });
2486
2486
  }, Be = () => i.shouldFocusError && Fi(r, Qe, M.mount), gi = (g) => {
@@ -2541,7 +2541,7 @@ function FM(e = {}) {
2541
2541
  const K = C(r, Q);
2542
2542
  if (K && K._f) {
2543
2543
  const B = Array.isArray(K._f.refs) ? K._f.refs[0] : K._f.ref;
2544
- if (dt(B)) {
2544
+ if (gt(B)) {
2545
2545
  const ue = B.closest("form");
2546
2546
  if (ue) {
2547
2547
  ue.reset();
@@ -2666,7 +2666,7 @@ function FM(e = {}) {
2666
2666
  formControl: Xe
2667
2667
  });
2668
2668
  }
2669
- function VM(e = {}) {
2669
+ function FM(e = {}) {
2670
2670
  const i = re.useRef(void 0), t = re.useRef(void 0), [r, n] = re.useState({
2671
2671
  isDirty: !1,
2672
2672
  isValidating: !1,
@@ -2690,7 +2690,7 @@ function VM(e = {}) {
2690
2690
  formState: r
2691
2691
  }), e.defaultValues && !He(e.defaultValues) && e.formControl.reset(e.defaultValues, e.resetOptions);
2692
2692
  else {
2693
- const s = FM(e), { formControl: M } = s, D = Di(s, ["formControl"]);
2693
+ const s = RM(e), { formControl: M } = s, D = Di(s, ["formControl"]);
2694
2694
  i.current = J(O({}, D), {
2695
2695
  formState: r
2696
2696
  });
@@ -2726,17 +2726,17 @@ function VM(e = {}) {
2726
2726
  }, o._options.resetOptions)), t.current = e.values, n((M) => O({}, M))) : o._resetDefaultValues();
2727
2727
  }, [o, e.values]), re.useEffect(() => {
2728
2728
  o._state.mount || (o._setValid(), o._state.mount = !0), o._state.watch && (o._state.watch = !1, o._subjects.state.next(O({}, o._formState))), o._removeUnmounted();
2729
- }), i.current.formState = Do(r, o), i.current;
2729
+ }), i.current.formState = No(r, o), i.current;
2730
2730
  }
2731
2731
  const vi = (e, i) => {
2732
2732
  const t = {};
2733
2733
  return e.forEach((r, n) => {
2734
- if (r.type === Gr.NOT_EMPTY && (t.required = (o) => i && Vs(o) ? r.message : !0), r.type === Gr.REGEX) {
2734
+ if (r.type === Gr.NOT_EMPTY && (t.required = (o) => i && Fs(o) ? r.message : !0), r.type === Gr.REGEX) {
2735
2735
  const o = new RegExp(r.regex);
2736
2736
  t[`regex_${n}`] = (s) => !i && !s ? !0 : typeof s != "string" ? r.message : o.test(s) || r.message;
2737
2737
  }
2738
2738
  }), t;
2739
- }, BM = ({ isOpen: e, image: i }) => /* @__PURE__ */ d(
2739
+ }, VM = ({ isOpen: e, image: i }) => /* @__PURE__ */ d(
2740
2740
  "div",
2741
2741
  {
2742
2742
  "data-ui": "gui-custom-select-chevron",
@@ -2753,7 +2753,7 @@ const vi = (e, i) => {
2753
2753
  },
2754
2754
  children: i ? /* @__PURE__ */ d(_e, O({}, i)) : /* @__PURE__ */ d(_e, { imageId: "chevronDown" })
2755
2755
  }
2756
- ), WM = ({
2756
+ ), BM = ({
2757
2757
  isChosen: e,
2758
2758
  option: i,
2759
2759
  onOptionClickCallback: t,
@@ -2802,7 +2802,7 @@ const vi = (e, i) => {
2802
2802
  },
2803
2803
  i.value
2804
2804
  );
2805
- }, xo = ({
2805
+ }, Oo = ({
2806
2806
  name: e,
2807
2807
  options: i,
2808
2808
  isMulti: t = !1,
@@ -2969,7 +2969,7 @@ const vi = (e, i) => {
2969
2969
  }
2970
2970
  }
2971
2971
  ) : null,
2972
- /* @__PURE__ */ d(BM, { isOpen: a, image: A == null ? void 0 : A.expandButton }),
2972
+ /* @__PURE__ */ d(VM, { isOpen: a, image: A == null ? void 0 : A.expandButton }),
2973
2973
  a && /* @__PURE__ */ d(
2974
2974
  "div",
2975
2975
  {
@@ -3000,7 +3000,7 @@ const vi = (e, i) => {
3000
3000
  children: i.map((G) => {
3001
3001
  const ge = N.some((ze) => ze.value === G.value);
3002
3002
  return /* @__PURE__ */ d(
3003
- WM,
3003
+ BM,
3004
3004
  {
3005
3005
  isChosen: ge,
3006
3006
  option: G,
@@ -3017,7 +3017,7 @@ const vi = (e, i) => {
3017
3017
  ]
3018
3018
  }
3019
3019
  ) });
3020
- }, ZM = ({
3020
+ }, WM = ({
3021
3021
  control: e,
3022
3022
  layout: i,
3023
3023
  dataSourceQuestion: t,
@@ -3041,7 +3041,7 @@ const vi = (e, i) => {
3041
3041
  children: [
3042
3042
  i.title && /* @__PURE__ */ d(fe, J(O({}, i.title), { text: t.text, htmlFor: o })),
3043
3043
  /* @__PURE__ */ d(
3044
- jo,
3044
+ Io,
3045
3045
  {
3046
3046
  name: o,
3047
3047
  control: e,
@@ -3052,7 +3052,7 @@ const vi = (e, i) => {
3052
3052
  render: ({ field: s }) => {
3053
3053
  const M = n.find((D) => D.value === s.value);
3054
3054
  return /* @__PURE__ */ d(
3055
- xo,
3055
+ Oo,
3056
3056
  {
3057
3057
  options: n,
3058
3058
  placeholder: t.placeholder,
@@ -3076,7 +3076,7 @@ const vi = (e, i) => {
3076
3076
  ]
3077
3077
  }
3078
3078
  );
3079
- }, HM = ({
3079
+ }, ZM = ({
3080
3080
  control: e,
3081
3081
  layout: i,
3082
3082
  dataSourceQuestion: t,
@@ -3100,7 +3100,7 @@ const vi = (e, i) => {
3100
3100
  children: [
3101
3101
  i.title && /* @__PURE__ */ d(fe, J(O({}, i.title), { text: t.text, htmlFor: o })),
3102
3102
  /* @__PURE__ */ d(
3103
- jo,
3103
+ Io,
3104
3104
  {
3105
3105
  name: o,
3106
3106
  control: e,
@@ -3114,7 +3114,7 @@ const vi = (e, i) => {
3114
3114
  return (j = s.value) == null ? void 0 : j.includes(D.value);
3115
3115
  });
3116
3116
  return /* @__PURE__ */ d(
3117
- xo,
3117
+ Oo,
3118
3118
  {
3119
3119
  name: o,
3120
3120
  options: n,
@@ -3138,7 +3138,7 @@ const vi = (e, i) => {
3138
3138
  ]
3139
3139
  }
3140
3140
  );
3141
- }, Eo = () => {
3141
+ }, xo = () => {
3142
3142
  const [e, i] = pe(!1);
3143
3143
  return Fe(() => {
3144
3144
  const t = () => i(!0), r = () => i(!1);
@@ -3146,14 +3146,14 @@ const vi = (e, i) => {
3146
3146
  window.removeEventListener("keydown", t), window.removeEventListener("mousedown", r);
3147
3147
  };
3148
3148
  }, []), e;
3149
- }, GM = ({
3149
+ }, HM = ({
3150
3150
  option: e,
3151
3151
  layout: i,
3152
3152
  dataSourceQuestion: t,
3153
3153
  register: r,
3154
3154
  watch: n
3155
3155
  }) => {
3156
- const [o, s] = pe(!1), M = Eo(), D = String(t.id), A = n(D) === String(e.id), c = i.option, a = i.optionSelected, y = {
3156
+ const [o, s] = pe(!1), M = xo(), D = String(t.id), A = n(D) === String(e.id), c = i.option, a = i.optionSelected, y = {
3157
3157
  backgroundColor: ee(a == null ? void 0 : a.backgroundColor),
3158
3158
  borderRadius: a.cornerRadius
3159
3159
  }, N = {
@@ -3210,7 +3210,7 @@ const vi = (e, i) => {
3210
3210
  ]
3211
3211
  }
3212
3212
  ) }, e.id);
3213
- }, JM = ({
3213
+ }, GM = ({
3214
3214
  layout: e,
3215
3215
  register: i,
3216
3216
  watch: t,
@@ -3239,7 +3239,7 @@ const vi = (e, i) => {
3239
3239
  }
3240
3240
  ),
3241
3241
  r.options.map((n) => /* @__PURE__ */ d(
3242
- GM,
3242
+ HM,
3243
3243
  {
3244
3244
  register: i,
3245
3245
  watch: t,
@@ -3251,14 +3251,14 @@ const vi = (e, i) => {
3251
3251
  ))
3252
3252
  ]
3253
3253
  }
3254
- ) }), $M = ({
3254
+ ) }), JM = ({
3255
3255
  option: e,
3256
3256
  layout: i,
3257
3257
  dataSourceQuestion: t,
3258
3258
  register: r,
3259
3259
  watch: n
3260
3260
  }) => {
3261
- const [o, s] = pe(!1), M = Eo(), D = String(t.id), A = n(D) === String(e.id), c = i.option, a = i.optionSelected, y = {
3261
+ const [o, s] = pe(!1), M = xo(), D = String(t.id), A = n(D) === String(e.id), c = i.option, a = i.optionSelected, y = {
3262
3262
  borderRadius: c == null ? void 0 : c.cornerRadius,
3263
3263
  background: ee(c == null ? void 0 : c.backgroundColor),
3264
3264
  borderColor: ee(c == null ? void 0 : c.borderColor),
@@ -3317,7 +3317,7 @@ const vi = (e, i) => {
3317
3317
  },
3318
3318
  e.id
3319
3319
  );
3320
- }, XM = ({
3320
+ }, $M = ({
3321
3321
  layout: e,
3322
3322
  watch: i,
3323
3323
  register: t,
@@ -3343,7 +3343,7 @@ const vi = (e, i) => {
3343
3343
  }
3344
3344
  ),
3345
3345
  /* @__PURE__ */ d("div", { style: { display: "flex", justifyContent: "center", gap: 5 }, children: r.options.map((n) => /* @__PURE__ */ d(
3346
- $M,
3346
+ JM,
3347
3347
  {
3348
3348
  register: t,
3349
3349
  watch: i,
@@ -3355,7 +3355,7 @@ const vi = (e, i) => {
3355
3355
  )) })
3356
3356
  ]
3357
3357
  }
3358
- ) }), KM = ({
3358
+ ) }), XM = ({
3359
3359
  children: e,
3360
3360
  backgroundColor: i,
3361
3361
  cornerRadius: t = 0,
@@ -3394,7 +3394,7 @@ const vi = (e, i) => {
3394
3394
  ),
3395
3395
  e
3396
3396
  ] });
3397
- }, qM = ({ validationErrorsTypes: e, title: i }) => e ? /* @__PURE__ */ d("div", { style: { width: "100%", fontSize: 12 }, children: Object.entries(e).map(([t, r]) => /* @__PURE__ */ d(fe, J(O({}, i), { text: r }), t)) }) : null, ea = ({
3397
+ }, KM = ({ validationErrorsTypes: e, title: i }) => e ? /* @__PURE__ */ d("div", { style: { width: "100%", fontSize: 12 }, children: Object.entries(e).map(([t, r]) => /* @__PURE__ */ d(fe, J(O({}, i), { text: r }), t)) }) : null, qM = ({
3398
3398
  layout: e,
3399
3399
  dataSourceQuestion: i,
3400
3400
  register: t
@@ -3440,7 +3440,7 @@ const vi = (e, i) => {
3440
3440
  ]
3441
3441
  }
3442
3442
  );
3443
- }, ia = ({
3443
+ }, ea = ({
3444
3444
  layout: e,
3445
3445
  dataSourceQuestion: i,
3446
3446
  register: t
@@ -3498,7 +3498,7 @@ const vi = (e, i) => {
3498
3498
  underlyingError: r,
3499
3499
  underlyingBaseError: n
3500
3500
  }) {
3501
- const o = yi.getErrorKey(i, ut);
3501
+ const o = yi.getErrorKey(i, at);
3502
3502
  super({
3503
3503
  errorCode: i,
3504
3504
  errorCodeKey: o,
@@ -3512,17 +3512,17 @@ const vi = (e, i) => {
3512
3512
  });
3513
3513
  }
3514
3514
  };
3515
- ri.MODULE = at, ri.ERROR_ENUM_NAME = "GuiModuleError", ri.SHORT_CODE = "GM";
3515
+ ri.MODULE = Mt, ri.ERROR_ENUM_NAME = "GuiModuleError", ri.SHORT_CODE = "GM";
3516
3516
  let Wi = ri;
3517
- const ta = ({ header: e, title: i, buttons: t, footer: r, questions: n, dataSource: o, properties: s, backgroundColor: M }) => {
3518
- const D = Yn(t), { perform: j } = zi(), A = s ? Bs(o.questions, s) : {}, c = Je(null), {
3517
+ const ia = ({ header: e, title: i, buttons: t, footer: r, questions: n, dataSource: o, properties: s, backgroundColor: M }) => {
3518
+ const D = Nt.FORM, { perform: j } = zi(), A = s ? Vs(o.questions, s) : {}, c = Je(null), {
3519
3519
  register: a,
3520
3520
  handleSubmit: y,
3521
3521
  formState: { errors: N },
3522
3522
  reset: I,
3523
3523
  watch: z,
3524
3524
  control: w
3525
- } = VM({
3525
+ } = FM({
3526
3526
  criteriaMode: "all",
3527
3527
  defaultValues: A
3528
3528
  });
@@ -3530,7 +3530,7 @@ const ta = ({ header: e, title: i, buttons: t, footer: r, questions: n, dataSour
3530
3530
  "form",
3531
3531
  {
3532
3532
  onSubmit: y((h) => {
3533
- j(Fs(h), D), I();
3533
+ j(Rs(h), D), I();
3534
3534
  }),
3535
3535
  style: {
3536
3536
  height: "100%",
@@ -3577,7 +3577,7 @@ const ta = ({ header: e, title: i, buttons: t, footer: r, questions: n, dataSour
3577
3577
  }), ie = (V, R) => R.find(($) => !$.questionIds && $.answerType === V), F = p ? k(String(h.id), n.itemTypes) || ie(h.answerType, n.itemTypes) : n.itemTypes.find((V) => V.answerType === h.answerType);
3578
3578
  if (!F) {
3579
3579
  const V = new Wi({
3580
- errorCode: ut.DECODING_FAILED,
3580
+ errorCode: at.DECODING_FAILED,
3581
3581
  message: "The question template has not been found"
3582
3582
  });
3583
3583
  j(V);
@@ -3588,7 +3588,7 @@ const ta = ({ header: e, title: i, buttons: t, footer: r, questions: n, dataSour
3588
3588
  /** Question */
3589
3589
  /* @__PURE__ */ d(be, { children: [
3590
3590
  /* @__PURE__ */ d(
3591
- KM,
3591
+ XM,
3592
3592
  {
3593
3593
  backgroundColor: F == null ? void 0 : F.backgroundColor,
3594
3594
  cornerRadius: F == null ? void 0 : F.cornerRadius,
@@ -3598,7 +3598,7 @@ const ta = ({ header: e, title: i, buttons: t, footer: r, questions: n, dataSour
3598
3598
  validationBorderWidth: F == null ? void 0 : F.validationBorderWidth,
3599
3599
  children: [
3600
3600
  ae === mi.TEXT_EXPANDABLE && /* @__PURE__ */ d(
3601
- ia,
3601
+ ea,
3602
3602
  {
3603
3603
  layout: F,
3604
3604
  dataSourceQuestion: h,
@@ -3606,7 +3606,7 @@ const ta = ({ header: e, title: i, buttons: t, footer: r, questions: n, dataSour
3606
3606
  }
3607
3607
  ),
3608
3608
  ae === mi.TEXT_SINGLE_LINE && /* @__PURE__ */ d(
3609
- ea,
3609
+ qM,
3610
3610
  {
3611
3611
  layout: F,
3612
3612
  dataSourceQuestion: h,
@@ -3614,7 +3614,7 @@ const ta = ({ header: e, title: i, buttons: t, footer: r, questions: n, dataSour
3614
3614
  }
3615
3615
  ),
3616
3616
  ae === mi.SELECTOR_OPTIONS && /* @__PURE__ */ d(
3617
- JM,
3617
+ GM,
3618
3618
  {
3619
3619
  layout: F,
3620
3620
  dataSourceQuestion: h,
@@ -3623,7 +3623,7 @@ const ta = ({ header: e, title: i, buttons: t, footer: r, questions: n, dataSour
3623
3623
  }
3624
3624
  ),
3625
3625
  ae === mi.SELECTOR_BUTTONS && /* @__PURE__ */ d(
3626
- XM,
3626
+ $M,
3627
3627
  {
3628
3628
  layout: F,
3629
3629
  dataSourceQuestion: h,
@@ -3632,7 +3632,7 @@ const ta = ({ header: e, title: i, buttons: t, footer: r, questions: n, dataSour
3632
3632
  }
3633
3633
  ),
3634
3634
  ae === mi.SELECTOR_DROPDOWN && /* @__PURE__ */ d(
3635
- ZM,
3635
+ WM,
3636
3636
  {
3637
3637
  control: w,
3638
3638
  layout: F,
@@ -3641,7 +3641,7 @@ const ta = ({ header: e, title: i, buttons: t, footer: r, questions: n, dataSour
3641
3641
  }
3642
3642
  ),
3643
3643
  ae === mi.MULTI_SELECTOR_DROPDOWN && /* @__PURE__ */ d(
3644
- HM,
3644
+ ZM,
3645
3645
  {
3646
3646
  control: w,
3647
3647
  layout: F,
@@ -3653,7 +3653,7 @@ const ta = ({ header: e, title: i, buttons: t, footer: r, questions: n, dataSour
3653
3653
  }
3654
3654
  ),
3655
3655
  Y && /* @__PURE__ */ d(
3656
- qM,
3656
+ KM,
3657
3657
  {
3658
3658
  validationErrorsTypes: Y,
3659
3659
  title: F.validationMessage
@@ -3682,15 +3682,15 @@ const ta = ({ header: e, title: i, buttons: t, footer: r, questions: n, dataSour
3682
3682
  alignItems: "flex-end",
3683
3683
  padding: "2px"
3684
3684
  },
3685
- children: t.map((h, p) => /* @__PURE__ */ d(lt, O({ dataTestId: "question-button" }, h), p))
3685
+ children: t.map((h, p) => /* @__PURE__ */ d(ut, O({ dataTestId: "question-button" }, h), p))
3686
3686
  }
3687
3687
  )
3688
3688
  ]
3689
3689
  }
3690
3690
  ) });
3691
- }, ra = {
3691
+ }, ta = {
3692
3692
  display: "none"
3693
- }, na = {
3693
+ }, ra = {
3694
3694
  display: "flex",
3695
3695
  alignItems: "center",
3696
3696
  justifyContent: "center",
@@ -3700,7 +3700,7 @@ const ta = ({ header: e, title: i, buttons: t, footer: r, questions: n, dataSour
3700
3700
  borderRadius: "16px",
3701
3701
  backgroundColor: "#7e57c5",
3702
3702
  cursor: "pointer"
3703
- }, oa = {
3703
+ }, na = {
3704
3704
  position: "relative",
3705
3705
  display: "flex",
3706
3706
  flexGrow: 1,
@@ -3712,7 +3712,7 @@ const ta = ({ header: e, title: i, buttons: t, footer: r, questions: n, dataSour
3712
3712
  width: "100%",
3713
3713
  minHeight: "100%",
3714
3714
  overflow: "auto"
3715
- }, sa = ({
3715
+ }, oa = ({
3716
3716
  header: e,
3717
3717
  footer: i,
3718
3718
  buttons: t,
@@ -3755,14 +3755,14 @@ const ta = ({ header: e, title: i, buttons: t, footer: r, questions: n, dataSour
3755
3755
  return /* @__PURE__ */ d(ci, { header: e, footer: i, backgroundColor: r, children: /* @__PURE__ */ d(be, { children: /* @__PURE__ */ d(
3756
3756
  "div",
3757
3757
  {
3758
- style: J(O({}, oa), {
3758
+ style: J(O({}, na), {
3759
3759
  justifyContent: "center"
3760
3760
  }),
3761
3761
  children: [
3762
3762
  /* @__PURE__ */ d(
3763
3763
  "input",
3764
3764
  J(O({
3765
- style: ra,
3765
+ style: ta,
3766
3766
  ref: s,
3767
3767
  type: "file",
3768
3768
  accept: "image/*"
@@ -3770,12 +3770,12 @@ const ta = ({ header: e, title: i, buttons: t, footer: r, questions: n, dataSour
3770
3770
  onInput: D
3771
3771
  })
3772
3772
  ),
3773
- /* @__PURE__ */ d("button", { style: na, onClick: j, children: /* @__PURE__ */ d(_e, { imageId: (c = (A = t == null ? void 0 : t[0]) == null ? void 0 : A.image) == null ? void 0 : c.imageId }) })
3773
+ /* @__PURE__ */ d("button", { style: ra, onClick: j, children: /* @__PURE__ */ d(_e, { imageId: (c = (A = t == null ? void 0 : t[0]) == null ? void 0 : A.image) == null ? void 0 : c.imageId }) })
3774
3774
  ]
3775
3775
  }
3776
3776
  ) }) });
3777
3777
  };
3778
- function Ma(e) {
3778
+ function sa(e) {
3779
3779
  if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
3780
3780
  var i = e.default;
3781
3781
  if (typeof i == "function") {
@@ -3800,9 +3800,9 @@ function Ma(e) {
3800
3800
  }), t;
3801
3801
  }
3802
3802
  var L = {};
3803
- const aa = /* @__PURE__ */ Ma(zM);
3804
- var Qi = { exports: {} }, ua = Qi.exports, In;
3805
- function la() {
3803
+ const Ma = /* @__PURE__ */ sa(TM);
3804
+ var Qi = { exports: {} }, aa = Qi.exports, In;
3805
+ function ua() {
3806
3806
  return In || (In = 1, (function(e, i) {
3807
3807
  (function(t, r) {
3808
3808
  var n = "1.0.41", o = "", s = "?", M = "function", D = "undefined", j = "object", A = "string", c = "major", a = "model", y = "name", N = "type", I = "vendor", z = "version", w = "architecture", _ = "console", h = "mobile", p = "tablet", k = "smarttv", ie = "wearable", F = "embedded", ae = 500, Y = "Amazon", H = "Apple", V = "ASUS", R = "BlackBerry", $ = "Browser", se = "Chrome", Ie = "Edge", je = "Firefox", Ae = "Google", Qe = "Honor", le = "Huawei", G = "Lenovo", ge = "LG", ze = "Microsoft", he = "Motorola", ve = "Nvidia", U = "OnePlus", ne = "Opera", Ve = "OPPO", $e = "Samsung", ii = "Sharp", Be = "Sony", gi = "Xiaomi", Mi = "Zebra", Oi = "Facebook", di = "Chromium OS", ai = "Mac OS", Ni = " Browser", xi = function(Z, q) {
@@ -3881,17 +3881,17 @@ function la() {
3881
3881
  ue.ua[P] = q[P];
3882
3882
  };
3883
3883
  }
3884
- })(typeof window == "object" ? window : ua);
3884
+ })(typeof window == "object" ? window : aa);
3885
3885
  })(Qi, Qi.exports)), Qi.exports;
3886
3886
  }
3887
3887
  var jn;
3888
- function ca() {
3888
+ function la() {
3889
3889
  if (jn) return L;
3890
3890
  jn = 1, Object.defineProperty(L, "__esModule", { value: !0 });
3891
3891
  function e(f) {
3892
3892
  return f && typeof f == "object" && "default" in f ? f.default : f;
3893
3893
  }
3894
- var i = aa, t = e(i), r = la(), n = new r(), o = n.getBrowser(), s = n.getCPU(), M = n.getDevice(), D = n.getEngine(), j = n.getOS(), A = n.getUA(), c = function(u) {
3894
+ var i = Ma, t = e(i), r = ua(), n = new r(), o = n.getBrowser(), s = n.getCPU(), M = n.getDevice(), D = n.getEngine(), j = n.getOS(), A = n.getUA(), c = function(u) {
3895
3895
  return n.setUA(u);
3896
3896
  }, a = function(u) {
3897
3897
  if (!u) {
@@ -4212,14 +4212,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
4212
4212
  };
4213
4213
  };
4214
4214
  function di(f) {
4215
- var u = f ? a(f) : y, l = u.device, x = u.browser, m = u.engine, te = u.os, Oe = u.ua, ke = he(l.type), qi = ke.isBrowser, As = ke.isMobile, Ts = ke.isTablet, pr = ke.isSmartTV, _r = ke.isConsole, br = ke.isWearable, Sr = ke.isEmbedded;
4215
+ var u = f ? a(f) : y, l = u.device, x = u.browser, m = u.engine, te = u.os, Oe = u.ua, ke = he(l.type), qi = ke.isBrowser, fs = ke.isMobile, As = ke.isTablet, pr = ke.isSmartTV, _r = ke.isConsole, br = ke.isWearable, Sr = ke.isEmbedded;
4216
4216
  if (qi)
4217
4217
  return $e(qi, x, m, te, Oe);
4218
4218
  if (pr)
4219
4219
  return Be(pr, m, te, Oe);
4220
4220
  if (_r)
4221
4221
  return gi(_r, m, te, Oe);
4222
- if (As || Ts)
4222
+ if (fs || As)
4223
4223
  return ii(ke, l, te, Oe);
4224
4224
  if (br)
4225
4225
  return Mi(br, m, te, Oe);
@@ -4393,7 +4393,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
4393
4393
  isSamsungBrowser: sr(x)
4394
4394
  };
4395
4395
  }
4396
- var yr = ui(M), fr = T(M), Ar = g(M), ho = E(M), mo = Ye(o) || Ke(), wo = Le(o), Ki = xi(M) || Ke(), Tr = ai(M), zr = Ni(M) || Ke(), Or = Xe(M), po = Xe(M), xr = Q(j), Er = ue(j), hr = Se(j) || Ke(), _o = P(o), bo = Me(o), So = W(o), Co = Ei(o), mr = Li(o), vo = Z(j), Lo = q(j), ko = Mr(o), Uo = ar(o), Qo = ur(o), Yo = v(M), Po = b(M), Ro = lr(D), Fo = cr(D), Vo = Ir(A), Bo = we(o) || hi(A), Wo = oe(o), Zo = S(M), Ho = dr(), Go = Ke(), Jo = Nr(), $o = Dr(), Xo = gr(), Ko = hi(A), qo = we(o) && !hi(A), es = K(j), is = B(j), ts = or(o), rs = sr(o), ns = function(u) {
4396
+ var yr = ui(M), fr = T(M), Ar = g(M), Eo = E(M), ho = Ye(o) || Ke(), mo = Le(o), Ki = xi(M) || Ke(), Tr = ai(M), zr = Ni(M) || Ke(), Or = Xe(M), wo = Xe(M), xr = Q(j), Er = ue(j), hr = Se(j) || Ke(), po = P(o), _o = Me(o), bo = W(o), So = Ei(o), mr = Li(o), Co = Z(j), vo = q(j), Lo = Mr(o), ko = ar(o), Uo = ur(o), Qo = v(M), Yo = b(M), Po = lr(D), Ro = cr(D), Fo = Ir(A), Vo = we(o) || hi(A), Bo = oe(o), Wo = S(M), Zo = dr(), Ho = Ke(), Go = Nr(), Jo = Dr(), $o = gr(), Xo = hi(A), Ko = we(o) && !hi(A), qo = K(j), es = B(j), is = or(o), ts = sr(o), rs = function(u) {
4397
4397
  if (!u || typeof u != "string") {
4398
4398
  console.error("No valid user agent string was provided");
4399
4399
  return;
@@ -4406,48 +4406,48 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
4406
4406
  engine: Oe,
4407
4407
  ua: ke
4408
4408
  });
4409
- }, os = function(u) {
4409
+ }, ns = function(u) {
4410
4410
  var l = u.renderWithFragment, x = u.children, m = H(u, ["renderWithFragment", "children"]);
4411
4411
  return xr ? l ? t.createElement(i.Fragment, null, x) : t.createElement("div", m, x) : null;
4412
- }, ss = function(u) {
4412
+ }, os = function(u) {
4413
4413
  var l = u.renderWithFragment, x = u.children, m = H(u, ["renderWithFragment", "children"]);
4414
4414
  return Or ? l ? t.createElement(i.Fragment, null, x) : t.createElement("div", m, x) : null;
4415
- }, Ms = function(u) {
4415
+ }, ss = function(u) {
4416
4416
  var l = u.renderWithFragment, x = u.children, m = H(u, ["renderWithFragment", "children"]);
4417
4417
  return mr ? l ? t.createElement(i.Fragment, null, x) : t.createElement("div", m, x) : null;
4418
- }, as = function(u) {
4418
+ }, Ms = function(u) {
4419
4419
  var l = u.renderWithFragment, x = u.children, m = H(u, ["renderWithFragment", "children"]);
4420
4420
  return hr ? l ? t.createElement(i.Fragment, null, x) : t.createElement("div", m, x) : null;
4421
- }, us = function(u) {
4421
+ }, as = function(u) {
4422
4422
  var l = u.renderWithFragment, x = u.children, m = H(u, ["renderWithFragment", "children"]);
4423
4423
  return Ki ? l ? t.createElement(i.Fragment, null, x) : t.createElement("div", m, x) : null;
4424
- }, ls = function(u) {
4424
+ }, us = function(u) {
4425
4425
  var l = u.renderWithFragment, x = u.children, m = H(u, ["renderWithFragment", "children"]);
4426
4426
  return zr ? l ? t.createElement(i.Fragment, null, x) : t.createElement("div", m, x) : null;
4427
- }, cs = function(u) {
4427
+ }, ls = function(u) {
4428
4428
  var l = u.renderWithFragment, x = u.children, m = H(u, ["renderWithFragment", "children"]);
4429
4429
  return Er ? l ? t.createElement(i.Fragment, null, x) : t.createElement("div", m, x) : null;
4430
- }, gs = function(u) {
4430
+ }, cs = function(u) {
4431
4431
  var l = u.renderWithFragment, x = u.children;
4432
4432
  u.viewClassName, u.style;
4433
4433
  var m = H(u, ["renderWithFragment", "children", "viewClassName", "style"]);
4434
4434
  return Tr ? l ? t.createElement(i.Fragment, null, x) : t.createElement("div", m, x) : null;
4435
- }, ds = function(u) {
4435
+ }, gs = function(u) {
4436
4436
  var l = u.renderWithFragment, x = u.children, m = H(u, ["renderWithFragment", "children"]);
4437
4437
  return yr ? l ? t.createElement(i.Fragment, null, x) : t.createElement("div", m, x) : null;
4438
- }, Ns = function(u) {
4438
+ }, ds = function(u) {
4439
4439
  var l = u.renderWithFragment, x = u.children, m = H(u, ["renderWithFragment", "children"]);
4440
4440
  return fr ? l ? t.createElement(i.Fragment, null, x) : t.createElement("div", m, x) : null;
4441
- }, Ds = function(u) {
4441
+ }, Ns = function(u) {
4442
4442
  var l = u.renderWithFragment, x = u.children, m = H(u, ["renderWithFragment", "children"]);
4443
4443
  return Ar ? l ? t.createElement(i.Fragment, null, x) : t.createElement("div", m, x) : null;
4444
- }, Is = function(u) {
4444
+ }, Ds = function(u) {
4445
4445
  var l = u.renderWithFragment, x = u.children;
4446
4446
  u.viewClassName, u.style;
4447
4447
  var m = u.condition, te = H(u, ["renderWithFragment", "children", "viewClassName", "style", "condition"]);
4448
4448
  return m ? l ? t.createElement(i.Fragment, null, x) : t.createElement("div", te, x) : null;
4449
4449
  };
4450
- function js(f) {
4450
+ function Is(f) {
4451
4451
  return /* @__PURE__ */ (function(u) {
4452
4452
  ie(l, u);
4453
4453
  function l(x) {
@@ -4498,7 +4498,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
4498
4498
  }]), l;
4499
4499
  })(t.Component);
4500
4500
  }
4501
- function ys() {
4501
+ function js() {
4502
4502
  var f = i.useState(function() {
4503
4503
  var te = window.innerWidth > window.innerHeight ? 90 : 0;
4504
4504
  return {
@@ -4524,16 +4524,16 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
4524
4524
  var u = f || window.navigator.userAgent;
4525
4525
  return a(u);
4526
4526
  }
4527
- function fs(f) {
4527
+ function ys(f) {
4528
4528
  var u = f || window.navigator.userAgent, l = wr(u), x = jr(l);
4529
4529
  return [x, l];
4530
4530
  }
4531
- return L.AndroidView = os, L.BrowserTypes = G, L.BrowserView = ss, L.ConsoleView = Ns, L.CustomView = Is, L.IEView = Ms, L.IOSView = as, L.MobileOnlyView = gs, L.MobileView = us, L.OsTypes = ge, L.SmartTVView = ds, L.TabletView = ls, L.WearableView = Ds, L.WinPhoneView = cs, L.browserName = Qo, L.browserVersion = Uo, L.deviceDetect = di, L.deviceType = Zo, L.engineName = Ro, L.engineVersion = Fo, L.fullBrowserVersion = ko, L.getSelectorsByUserAgent = ns, L.getUA = Vo, L.isAndroid = xr, L.isBrowser = Or, L.isChrome = _o, L.isChromium = wo, L.isConsole = fr, L.isDesktop = po, L.isEdge = Bo, L.isEdgeChromium = Ko, L.isElectron = Xo, L.isEmbedded = ho, L.isFirefox = bo, L.isIE = mr, L.isIOS = hr, L.isIOS13 = Ho, L.isIPad13 = Go, L.isIPhone13 = Jo, L.isIPod13 = $o, L.isLegacyEdge = qo, L.isMIUI = ts, L.isMacOs = is, L.isMobile = Ki, L.isMobileOnly = Tr, L.isMobileSafari = mo, L.isOpera = Co, L.isSafari = So, L.isSamsungBrowser = rs, L.isSmartTV = yr, L.isTablet = zr, L.isWearable = Ar, L.isWinPhone = Er, L.isWindows = es, L.isYandex = Wo, L.mobileModel = Po, L.mobileVendor = Yo, L.osName = Lo, L.osVersion = vo, L.parseUserAgent = a, L.setUserAgent = ve, L.useDeviceData = wr, L.useDeviceSelectors = fs, L.useMobileOrientation = ys, L.withOrientationChange = js, L;
4531
+ return L.AndroidView = ns, L.BrowserTypes = G, L.BrowserView = os, L.ConsoleView = ds, L.CustomView = Ds, L.IEView = ss, L.IOSView = Ms, L.MobileOnlyView = cs, L.MobileView = as, L.OsTypes = ge, L.SmartTVView = gs, L.TabletView = us, L.WearableView = Ns, L.WinPhoneView = ls, L.browserName = Uo, L.browserVersion = ko, L.deviceDetect = di, L.deviceType = Wo, L.engineName = Po, L.engineVersion = Ro, L.fullBrowserVersion = Lo, L.getSelectorsByUserAgent = rs, L.getUA = Fo, L.isAndroid = xr, L.isBrowser = Or, L.isChrome = po, L.isChromium = mo, L.isConsole = fr, L.isDesktop = wo, L.isEdge = Vo, L.isEdgeChromium = Xo, L.isElectron = $o, L.isEmbedded = Eo, L.isFirefox = _o, L.isIE = mr, L.isIOS = hr, L.isIOS13 = Zo, L.isIPad13 = Ho, L.isIPhone13 = Go, L.isIPod13 = Jo, L.isLegacyEdge = Ko, L.isMIUI = is, L.isMacOs = es, L.isMobile = Ki, L.isMobileOnly = Tr, L.isMobileSafari = ho, L.isOpera = So, L.isSafari = bo, L.isSamsungBrowser = ts, L.isSmartTV = yr, L.isTablet = zr, L.isWearable = Ar, L.isWinPhone = Er, L.isWindows = qo, L.isYandex = Bo, L.mobileModel = Yo, L.mobileVendor = Qo, L.osName = vo, L.osVersion = Co, L.parseUserAgent = a, L.setUserAgent = ve, L.useDeviceData = wr, L.useDeviceSelectors = ys, L.useMobileOrientation = js, L.withOrientationChange = Is, L;
4532
4532
  }
4533
- var Ii = ca();
4534
- const ga = {
4533
+ var Ii = la();
4534
+ const ca = {
4535
4535
  display: "none"
4536
- }, da = {
4536
+ }, ga = {
4537
4537
  display: "flex",
4538
4538
  alignItems: "center",
4539
4539
  justifyContent: "center",
@@ -4543,7 +4543,7 @@ const ga = {
4543
4543
  borderRadius: "16px",
4544
4544
  background: "#7e57c5",
4545
4545
  cursor: "pointer"
4546
- }, Na = {
4546
+ }, da = {
4547
4547
  position: "relative",
4548
4548
  display: "flex",
4549
4549
  alignItems: "center",
@@ -4552,7 +4552,7 @@ const ga = {
4552
4552
  width: "100%",
4553
4553
  minHeight: "100%",
4554
4554
  overflow: "auto"
4555
- }, Da = ({
4555
+ }, Na = ({
4556
4556
  header: e,
4557
4557
  footer: i,
4558
4558
  backgroundColor: t,
@@ -4595,7 +4595,7 @@ const ga = {
4595
4595
  return Fe(() => {
4596
4596
  De(null, null, function* () {
4597
4597
  if (Ii.isDesktop) return;
4598
- const a = yield Ws();
4598
+ const a = yield Bs();
4599
4599
  (a === "denied" || a === "error") && o({
4600
4600
  cancel: !1,
4601
4601
  permissionDenied: !0,
@@ -4605,14 +4605,14 @@ const ga = {
4605
4605
  }, []), /* @__PURE__ */ d(ci, { header: e, footer: i, backgroundColor: t, children: /* @__PURE__ */ d(be, { children: /* @__PURE__ */ d(
4606
4606
  "div",
4607
4607
  {
4608
- style: J(O({}, Na), {
4608
+ style: J(O({}, da), {
4609
4609
  justifyContent: "center"
4610
4610
  }),
4611
4611
  children: [
4612
4612
  /* @__PURE__ */ d(
4613
4613
  "input",
4614
4614
  J(O({
4615
- style: ga,
4615
+ style: ca,
4616
4616
  ref: s,
4617
4617
  type: "file",
4618
4618
  accept: "image/*",
@@ -4621,7 +4621,7 @@ const ga = {
4621
4621
  onInput: D
4622
4622
  })
4623
4623
  ),
4624
- /* @__PURE__ */ d("button", { style: da, onClick: j, children: /* @__PURE__ */ d(_e, { imageId: (c = (A = r == null ? void 0 : r[0]) == null ? void 0 : A.image) == null ? void 0 : c.imageId }) })
4624
+ /* @__PURE__ */ d("button", { style: ga, onClick: j, children: /* @__PURE__ */ d(_e, { imageId: (c = (A = r == null ? void 0 : r[0]) == null ? void 0 : A.image) == null ? void 0 : c.imageId }) })
4625
4625
  ]
4626
4626
  }
4627
4627
  ) }) });
@@ -4633,7 +4633,7 @@ const ga = {
4633
4633
  } catch (i) {
4634
4634
  return "unknown";
4635
4635
  }
4636
- }), Ia = () => De(null, null, function* () {
4636
+ }), Da = () => De(null, null, function* () {
4637
4637
  try {
4638
4638
  return yield navigator.permissions.query({ name: "geolocation" });
4639
4639
  } catch (e) {
@@ -4679,13 +4679,13 @@ const ga = {
4679
4679
  e
4680
4680
  );
4681
4681
  });
4682
- }), ja = {
4682
+ }), Ia = {
4683
4683
  height: "100%",
4684
4684
  fontFamily: "sans-serif",
4685
4685
  display: "flex",
4686
4686
  flexDirection: "column",
4687
4687
  gap: "15px"
4688
- }, ya = {
4688
+ }, ja = {
4689
4689
  flex: "1 1 100%",
4690
4690
  display: "flex",
4691
4691
  justifyContent: "flex-start",
@@ -4697,7 +4697,7 @@ const ga = {
4697
4697
  width: "100%",
4698
4698
  overflow: "auto",
4699
4699
  position: "relative"
4700
- }, fa = {
4700
+ }, ya = {
4701
4701
  position: "absolute",
4702
4702
  // TODO: move popup with styles with overlay styles to common component (BaseContainer?)
4703
4703
  width: "100%",
@@ -4712,25 +4712,25 @@ const ga = {
4712
4712
  zIndex: 1e3,
4713
4713
  pointerEvents: "auto",
4714
4714
  cursor: "default"
4715
- }, Aa = {
4715
+ }, fa = {
4716
4716
  width: "100%",
4717
4717
  height: "auto",
4718
4718
  marginBottom: "32px",
4719
4719
  aspectRatio: 1.61
4720
- }, Ta = {
4720
+ }, Aa = {
4721
4721
  marginBottom: 20,
4722
4722
  lineHeight: "39.2px",
4723
4723
  width: "100%"
4724
- }, za = {
4724
+ }, Ta = {
4725
4725
  lineHeight: "28px",
4726
4726
  fontWeight: "400",
4727
4727
  width: "100%"
4728
- }, Oa = {
4728
+ }, za = {
4729
4729
  position: "relative",
4730
4730
  padding: "32px 24px 0 24px",
4731
4731
  border: "1px solid rgba(0, 0, 0, 0.06)",
4732
4732
  width: "min(400px, calc(100vw - 32px))"
4733
- }, xa = {
4733
+ }, Oa = {
4734
4734
  marginBottom: "10px",
4735
4735
  fontWeight: 500,
4736
4736
  display: "-webkit-box",
@@ -4739,20 +4739,20 @@ const ga = {
4739
4739
  overflow: "hidden",
4740
4740
  textOverflow: "ellipsis",
4741
4741
  lineClamp: 2
4742
- }, Ea = {
4742
+ }, xa = {
4743
4743
  marginBottom: "84px",
4744
4744
  fontWeight: 400
4745
- }, ha = {
4745
+ }, Ea = {
4746
4746
  height: "100%",
4747
4747
  overflow: "scroll",
4748
4748
  maxHeight: "calc(100dvh - 190px)"
4749
- }, ma = {
4749
+ }, ha = {
4750
4750
  position: "absolute",
4751
4751
  bottom: 0,
4752
4752
  left: 0,
4753
4753
  padding: "24px",
4754
4754
  width: "100%"
4755
- }, wa = ({
4755
+ }, ma = ({
4756
4756
  title: e,
4757
4757
  header: i,
4758
4758
  footer: t,
@@ -4764,13 +4764,13 @@ const ga = {
4764
4764
  askEveryTime: D
4765
4765
  }) => {
4766
4766
  var F, ae;
4767
- const j = Yn(o), { perform: A } = zi(), { setIsProcessingCallback: c } = Qs(), [a, y] = pe(!1), N = () => {
4767
+ const j = Nt.FORM, { perform: A } = zi(), { setIsProcessingCallback: c } = Us(), [a, y] = pe(!1), N = () => {
4768
4768
  var Y;
4769
4769
  (Y = z == null ? void 0 : z.popups) != null && Y.system_restricted || y(!0);
4770
4770
  }, I = () => {
4771
4771
  var Y;
4772
4772
  (Y = z == null ? void 0 : z.popups) != null && Y.system_restricted || y(!1);
4773
- }, { devSettings: z } = Us(), w = !!((ae = (F = z == null ? void 0 : z.popups) == null ? void 0 : F.system_restricted) != null && ae.isOpen);
4773
+ }, { devSettings: z } = ks(), w = !!((ae = (F = z == null ? void 0 : z.popups) == null ? void 0 : F.system_restricted) != null && ae.isOpen);
4774
4774
  Fe(() => {
4775
4775
  z && y(w);
4776
4776
  }, [w, z]);
@@ -4778,7 +4778,7 @@ const ga = {
4778
4778
  enableHighAccuracy: !0,
4779
4779
  timeout: 15e3,
4780
4780
  maximumAge: 6e4
4781
- }, h = M == null ? void 0 : M.find((Y) => Y.reason === Rs.SYSTEM_RESTRICTED);
4781
+ }, h = M == null ? void 0 : M.find((Y) => Y.reason === Ps.SYSTEM_RESTRICTED);
4782
4782
  li(() => {
4783
4783
  Ii.isSafari || D || c == null || c(!0);
4784
4784
  }, []), Fe(() => {
@@ -4798,7 +4798,7 @@ const ga = {
4798
4798
  if (Ii.isSafari) return;
4799
4799
  let Y = !0, H = null;
4800
4800
  return De(null, null, function* () {
4801
- const V = yield Ia();
4801
+ const V = yield Da();
4802
4802
  V && (H = V, V.onchange = () => De(null, null, function* () {
4803
4803
  if (V.state === "denied" && (c == null || c(!0), A(
4804
4804
  {
@@ -4844,11 +4844,11 @@ const ga = {
4844
4844
  Y.preventDefault(), I();
4845
4845
  };
4846
4846
  return /* @__PURE__ */ d(ci, { header: i, footer: t, backgroundColor: s, children: [
4847
- /* @__PURE__ */ d("div", { style: ja, children: [
4848
- /* @__PURE__ */ d("div", { style: ya, children: [
4849
- r && /* @__PURE__ */ d("div", { style: Aa, children: /* @__PURE__ */ d(_e, O({}, r)) }),
4850
- e && /* @__PURE__ */ d("div", { style: Ta, children: /* @__PURE__ */ d(fe, O({}, e)) }),
4851
- n && /* @__PURE__ */ d("div", { style: za, children: /* @__PURE__ */ d(jt, O({}, n)) })
4847
+ /* @__PURE__ */ d("div", { style: Ia, children: [
4848
+ /* @__PURE__ */ d("div", { style: ja, children: [
4849
+ r && /* @__PURE__ */ d("div", { style: fa, children: /* @__PURE__ */ d(_e, O({}, r)) }),
4850
+ e && /* @__PURE__ */ d("div", { style: Aa, children: /* @__PURE__ */ d(fe, O({}, e)) }),
4851
+ n && /* @__PURE__ */ d("div", { style: Ta, children: /* @__PURE__ */ d(jt, O({}, n)) })
4852
4852
  ] }),
4853
4853
  !!(o != null && o.length) && /* @__PURE__ */ d(
4854
4854
  "div",
@@ -4858,7 +4858,7 @@ const ga = {
4858
4858
  flexDirection: "column"
4859
4859
  },
4860
4860
  children: o.map((Y, H) => /* @__PURE__ */ d("div", { style: { padding: "5px" }, children: /* @__PURE__ */ d(
4861
- lt,
4861
+ ut,
4862
4862
  O(O({
4863
4863
  dataTestId: "question-button"
4864
4864
  }, Y), Y.type === "FORM" ? {
@@ -4871,22 +4871,22 @@ const ga = {
4871
4871
  h && a && /* @__PURE__ */ d(
4872
4872
  "div",
4873
4873
  {
4874
- style: fa,
4874
+ style: ya,
4875
4875
  onPointerDown: (Y) => {
4876
4876
  Y.preventDefault(), Y.stopPropagation(), I();
4877
4877
  },
4878
4878
  children: /* @__PURE__ */ d(
4879
4879
  "div",
4880
4880
  {
4881
- style: J(O({}, Oa), {
4881
+ style: J(O({}, za), {
4882
4882
  borderRadius: (h == null ? void 0 : h.cornerRadius) || "27px",
4883
4883
  backgroundColor: (h == null ? void 0 : h.backgroundColor) || "#ffffff"
4884
4884
  }),
4885
4885
  children: [
4886
- /* @__PURE__ */ d("div", { style: xa, children: /* @__PURE__ */ d(fe, O({}, O({ fontSize: "24px" }, h.title))) }),
4887
- /* @__PURE__ */ d("div", { style: Ea, children: /* @__PURE__ */ d("div", { style: ha, children: /* @__PURE__ */ d(fe, O({}, O({ fontSize: "17px" }, h.message))) }) }),
4888
- h.actionButton1 && /* @__PURE__ */ d("div", { style: ma, children: /* @__PURE__ */ d(
4889
- lt,
4886
+ /* @__PURE__ */ d("div", { style: Oa, children: /* @__PURE__ */ d(fe, O({}, O({ fontSize: "24px" }, h.title))) }),
4887
+ /* @__PURE__ */ d("div", { style: xa, children: /* @__PURE__ */ d("div", { style: Ea, children: /* @__PURE__ */ d(fe, O({}, O({ fontSize: "17px" }, h.message))) }) }),
4888
+ h.actionButton1 && /* @__PURE__ */ d("div", { style: ha, children: /* @__PURE__ */ d(
4889
+ ut,
4890
4890
  O(O({
4891
4891
  dataTestId: "question-button"
4892
4892
  }, h.actionButton1), h.actionButton1.type === "FORM" ? { onClick: ie } : {})
@@ -4903,7 +4903,7 @@ const ga = {
4903
4903
  const s = n != null && n.length ? JSON.stringify(n) : "default-key";
4904
4904
  if (i === We.STATUS)
4905
4905
  return /* @__PURE__ */ d(
4906
- qs,
4906
+ Ks,
4907
4907
  {
4908
4908
  header: t == null ? void 0 : t.header,
4909
4909
  footer: t == null ? void 0 : t.footer,
@@ -4916,7 +4916,7 @@ const ga = {
4916
4916
  );
4917
4917
  if (i === We.INFO)
4918
4918
  return /* @__PURE__ */ d(
4919
- tM,
4919
+ iM,
4920
4920
  {
4921
4921
  header: t == null ? void 0 : t.header,
4922
4922
  footer: t == null ? void 0 : t.footer,
@@ -4929,7 +4929,7 @@ const ga = {
4929
4929
  );
4930
4930
  if (i === We.GEOLOCATION)
4931
4931
  return /* @__PURE__ */ d(
4932
- wa,
4932
+ ma,
4933
4933
  {
4934
4934
  header: t.header,
4935
4935
  footer: t.footer,
@@ -4954,7 +4954,7 @@ const ga = {
4954
4954
  );
4955
4955
  if (i === We.INFO_DETAILS)
4956
4956
  return /* @__PURE__ */ d(
4957
- MM,
4957
+ sM,
4958
4958
  {
4959
4959
  header: t == null ? void 0 : t.header,
4960
4960
  title: t == null ? void 0 : t.title,
@@ -4966,7 +4966,7 @@ const ga = {
4966
4966
  );
4967
4967
  if (i === We.CAMERA)
4968
4968
  return /* @__PURE__ */ d(
4969
- Da,
4969
+ Na,
4970
4970
  {
4971
4971
  header: t == null ? void 0 : t.header,
4972
4972
  buttons: t == null ? void 0 : t.buttons,
@@ -4977,7 +4977,7 @@ const ga = {
4977
4977
  );
4978
4978
  if (i === We.GALLERY)
4979
4979
  return /* @__PURE__ */ d(
4980
- sa,
4980
+ oa,
4981
4981
  {
4982
4982
  header: t == null ? void 0 : t.header,
4983
4983
  buttons: t == null ? void 0 : t.buttons,
@@ -4988,7 +4988,7 @@ const ga = {
4988
4988
  );
4989
4989
  if (r && (r != null && r.questions.length) && i === We.QUESTIONS)
4990
4990
  return /* @__PURE__ */ d(
4991
- ta,
4991
+ ia,
4992
4992
  {
4993
4993
  dataSource: r,
4994
4994
  properties: n,
@@ -5003,22 +5003,22 @@ const ga = {
5003
5003
  );
5004
5004
  if (i === We.QUESTIONS && !r) {
5005
5005
  const D = new Wi({
5006
- errorCode: ut.DECODING_FAILED,
5006
+ errorCode: at.DECODING_FAILED,
5007
5007
  message: "No data for questions"
5008
5008
  });
5009
5009
  return o(D), null;
5010
5010
  }
5011
5011
  const M = new Wi({
5012
- errorCode: ut.DECODING_FAILED,
5012
+ errorCode: at.DECODING_FAILED,
5013
5013
  message: "Unsupported step template"
5014
5014
  });
5015
5015
  return o(M), null;
5016
5016
  };
5017
5017
  let xt = !1;
5018
- const ba = ({ children: e }) => /* @__PURE__ */ d(be, { children: [
5018
+ const _a = ({ children: e }) => /* @__PURE__ */ d(be, { children: [
5019
5019
  /* @__PURE__ */ d("style", { children: "#gui-idv-web-c *, #gui-idv-web-c *::before, #gui-idv-web-c *::after {box-sizing: border-box;}" }),
5020
5020
  e
5021
- ] }), fn = ({ children: e }) => /* @__PURE__ */ d("div", { part: "gui-idv", id: "gui-idv-web-c", style: { backgroundColor: "white", height: "100%", width: "100%" }, children: e }), pa = ({ isProcessing: e, moduleProps: i, perform: t, devSettings: r }) => {
5021
+ ] }), fn = ({ children: e }) => /* @__PURE__ */ d("div", { part: "gui-idv", id: "gui-idv-web-c", style: { backgroundColor: "white", height: "100%", width: "100%" }, children: e }), wa = ({ isProcessing: e, moduleProps: i, perform: t, devSettings: r }) => {
5022
5022
  const { templateId: n, templateLayout: o, dataSource: s, properties: M } = i, D = (j, A) => {
5023
5023
  t && t(j, A);
5024
5024
  };
@@ -5045,7 +5045,7 @@ const ba = ({ children: e }) => /* @__PURE__ */ d(be, { children: [
5045
5045
  ) })
5046
5046
  }
5047
5047
  );
5048
- }, Vi = class Vi extends Ss {
5048
+ }, Vi = class Vi extends bs {
5049
5049
  constructor() {
5050
5050
  super(), this._mounted = !1, this._shadowRoot = this.attachShadow({ mode: "open" }), this.props = null;
5051
5051
  }
@@ -5087,7 +5087,7 @@ const ba = ({ children: e }) => /* @__PURE__ */ d(be, { children: [
5087
5087
  }
5088
5088
  Ai(
5089
5089
  /* @__PURE__ */ d(
5090
- pa,
5090
+ wa,
5091
5091
  {
5092
5092
  moduleProps: this.props.moduleProps,
5093
5093
  perform: this.props.perform,
@@ -5115,16 +5115,16 @@ const ba = ({ children: e }) => /* @__PURE__ */ d(be, { children: [
5115
5115
  xt = !1;
5116
5116
  }
5117
5117
  };
5118
- Vi.displayName = at, Vi.getSupportedTemplates = () => Object.values(We), Vi.getIdentifier = () => at;
5118
+ Vi.displayName = Mt, Vi.getSupportedTemplates = () => Object.values(We), Vi.getIdentifier = () => Mt;
5119
5119
  let vt = Vi;
5120
- Cs(at, vt);
5120
+ Ss(Mt, vt);
5121
5121
  export {
5122
5122
  vt as GuiIdv,
5123
- pa as GuiIdvReactComponent,
5123
+ wa as GuiIdvReactComponent,
5124
5124
  We as GuiIdvSteps,
5125
- ba as GuiIdvStyleInjectionWrapper,
5126
- ut as GuiModuleError,
5125
+ _a as GuiIdvStyleInjectionWrapper,
5126
+ at as GuiModuleError,
5127
5127
  ce as IDV_UI_ICONS,
5128
- Rs as PopupReason,
5128
+ Ps as PopupReason,
5129
5129
  _t as idvIconDataUrlMap
5130
5130
  };