@regulaforensics/idv-capture-web 3.2.261-nightly → 3.2.263-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,12 +1,12 @@
1
1
  var Ml = Object.defineProperty, Pl = Object.defineProperties;
2
2
  var Fl = Object.getOwnPropertyDescriptors;
3
- var In = Object.getOwnPropertySymbols;
3
+ var xn = Object.getOwnPropertySymbols;
4
4
  var Vo = Object.prototype.hasOwnProperty, $o = Object.prototype.propertyIsEnumerable;
5
5
  var Uo = (t, e, r) => e in t ? Ml(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, O = (t, e) => {
6
6
  for (var r in e || (e = {}))
7
7
  Vo.call(e, r) && Uo(t, r, e[r]);
8
- if (In)
9
- for (var r of In(e))
8
+ if (xn)
9
+ for (var r of xn(e))
10
10
  $o.call(e, r) && Uo(t, r, e[r]);
11
11
  return t;
12
12
  }, X = (t, e) => Pl(t, Fl(e));
@@ -14,8 +14,8 @@ var Xt = (t, e) => {
14
14
  var r = {};
15
15
  for (var n in t)
16
16
  Vo.call(t, n) && e.indexOf(n) < 0 && (r[n] = t[n]);
17
- if (t != null && In)
18
- for (var n of In(t))
17
+ if (t != null && xn)
18
+ for (var n of xn(t))
19
19
  e.indexOf(n) < 0 && $o.call(t, n) && (r[n] = t[n]);
20
20
  return r;
21
21
  };
@@ -82,7 +82,7 @@ const Ll = (t) => new Ys(typeof t == "string" ? t : t + "", void 0, eo), Ul = (t
82
82
  * Copyright 2017 Google LLC
83
83
  * SPDX-License-Identifier: BSD-3-Clause
84
84
  */
85
- const { is: $l, defineProperty: Bl, getOwnPropertyDescriptor: Hl, getOwnPropertyNames: Wl, getOwnPropertySymbols: jl, getPrototypeOf: zl } = Object, qt = globalThis, Wo = qt.trustedTypes, Kl = Wo ? Wo.emptyScript : "", Si = qt.reactiveElementPolyfillSupport, kr = (t, e) => t, Mn = { toAttribute(t, e) {
85
+ const { is: $l, defineProperty: Bl, getOwnPropertyDescriptor: Hl, getOwnPropertyNames: Wl, getOwnPropertySymbols: jl, getPrototypeOf: zl } = Object, qt = globalThis, Wo = qt.trustedTypes, Kl = Wo ? Wo.emptyScript : "", Ei = qt.reactiveElementPolyfillSupport, Nr = (t, e) => t, Mn = { toAttribute(t, e) {
86
86
  switch (e) {
87
87
  case Boolean:
88
88
  t = t ? Kl : null;
@@ -144,13 +144,13 @@ let mr = class extends HTMLElement {
144
144
  return (r = this.elementProperties.get(e)) != null ? r : jo;
145
145
  }
146
146
  static _$Ei() {
147
- if (this.hasOwnProperty(kr("elementProperties"))) return;
147
+ if (this.hasOwnProperty(Nr("elementProperties"))) return;
148
148
  const e = zl(this);
149
149
  e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
150
150
  }
151
151
  static finalize() {
152
- if (this.hasOwnProperty(kr("finalized"))) return;
153
- if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(kr("properties"))) {
152
+ if (this.hasOwnProperty(Nr("finalized"))) return;
153
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(Nr("properties"))) {
154
154
  const r = this.properties, n = [...Wl(r), ...jl(r)];
155
155
  for (const i of n) this.createProperty(i, r[i]);
156
156
  }
@@ -324,15 +324,15 @@ let mr = class extends HTMLElement {
324
324
  }
325
325
  };
326
326
  var Ks;
327
- mr.elementStyles = [], mr.shadowRootOptions = { mode: "open" }, mr[kr("elementProperties")] = /* @__PURE__ */ new Map(), mr[kr("finalized")] = /* @__PURE__ */ new Map(), Si == null || Si({ ReactiveElement: mr }), ((Ks = qt.reactiveElementVersions) != null ? Ks : qt.reactiveElementVersions = []).push("2.1.1");
327
+ mr.elementStyles = [], mr.shadowRootOptions = { mode: "open" }, mr[Nr("elementProperties")] = /* @__PURE__ */ new Map(), mr[Nr("finalized")] = /* @__PURE__ */ new Map(), Ei == null || Ei({ ReactiveElement: mr }), ((Ks = qt.reactiveElementVersions) != null ? Ks : qt.reactiveElementVersions = []).push("2.1.1");
328
328
  /**
329
329
  * @license
330
330
  * Copyright 2017 Google LLC
331
331
  * SPDX-License-Identifier: BSD-3-Clause
332
332
  */
333
- const Nr = globalThis, Pn = Nr.trustedTypes, zo = Pn ? Pn.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, Js = "$lit$", Gt = `lit$${Math.random().toFixed(9).slice(2)}$`, Xs = "?" + Gt, Gl = `<${Xs}>`, lr = document, Hr = () => lr.createComment(""), Wr = (t) => t === null || typeof t != "object" && typeof t != "function", ro = Array.isArray, ql = (t) => ro(t) || typeof (t == null ? void 0 : t[Symbol.iterator]) == "function", Ei = `[
334
- \f\r]`, Ir = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ko = /-->/g, Go = />/g, Qt = RegExp(`>|${Ei}(?:([^\\s"'>=/]+)(${Ei}*=${Ei}*(?:[^
335
- \f\r"'\`<>=]|("|')|))|$)`, "g"), qo = /'/g, Zo = /"/g, Qs = /^(?:script|style|textarea|title)$/i, Zl = (t) => (e, ...r) => ({ _$litType$: t, strings: e, values: r }), Ti = Zl(1), yr = Symbol.for("lit-noChange"), ke = Symbol.for("lit-nothing"), Yo = /* @__PURE__ */ new WeakMap(), or = lr.createTreeWalker(lr, 129);
333
+ const Dr = globalThis, Pn = Dr.trustedTypes, zo = Pn ? Pn.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, Js = "$lit$", Gt = `lit$${Math.random().toFixed(9).slice(2)}$`, Xs = "?" + Gt, Gl = `<${Xs}>`, lr = document, Wr = () => lr.createComment(""), jr = (t) => t === null || typeof t != "object" && typeof t != "function", ro = Array.isArray, ql = (t) => ro(t) || typeof (t == null ? void 0 : t[Symbol.iterator]) == "function", Ti = `[
334
+ \f\r]`, Ir = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ko = /-->/g, Go = />/g, Qt = RegExp(`>|${Ti}(?:([^\\s"'>=/]+)(${Ti}*=${Ti}*(?:[^
335
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), qo = /'/g, Zo = /"/g, Qs = /^(?:script|style|textarea|title)$/i, Zl = (t) => (e, ...r) => ({ _$litType$: t, strings: e, values: r }), Oi = Zl(1), yr = Symbol.for("lit-noChange"), ke = Symbol.for("lit-nothing"), Yo = /* @__PURE__ */ new WeakMap(), or = lr.createTreeWalker(lr, 129);
336
336
  function ea(t, e) {
337
337
  if (!ro(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
338
338
  return zo !== void 0 ? zo.createHTML(e) : e;
@@ -342,41 +342,41 @@ const Yl = (t, e) => {
342
342
  let i, o = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", s = Ir;
343
343
  for (let a = 0; a < r; a++) {
344
344
  const l = t[a];
345
- let d, p, h = -1, c = 0;
346
- for (; c < l.length && (s.lastIndex = c, p = s.exec(l), p !== null); ) c = s.lastIndex, s === Ir ? p[1] === "!--" ? s = Ko : p[1] !== void 0 ? s = Go : p[2] !== void 0 ? (Qs.test(p[2]) && (i = RegExp("</" + p[2], "g")), s = Qt) : p[3] !== void 0 && (s = Qt) : s === Qt ? p[0] === ">" ? (s = i != null ? i : Ir, h = -1) : p[1] === void 0 ? h = -2 : (h = s.lastIndex - p[2].length, d = p[1], s = p[3] === void 0 ? Qt : p[3] === '"' ? Zo : qo) : s === Zo || s === qo ? s = Qt : s === Ko || s === Go ? s = Ir : (s = Qt, i = void 0);
345
+ let d, p, f = -1, c = 0;
346
+ for (; c < l.length && (s.lastIndex = c, p = s.exec(l), p !== null); ) c = s.lastIndex, s === Ir ? p[1] === "!--" ? s = Ko : p[1] !== void 0 ? s = Go : p[2] !== void 0 ? (Qs.test(p[2]) && (i = RegExp("</" + p[2], "g")), s = Qt) : p[3] !== void 0 && (s = Qt) : s === Qt ? p[0] === ">" ? (s = i != null ? i : Ir, f = -1) : p[1] === void 0 ? f = -2 : (f = s.lastIndex - p[2].length, d = p[1], s = p[3] === void 0 ? Qt : p[3] === '"' ? Zo : qo) : s === Zo || s === qo ? s = Qt : s === Ko || s === Go ? s = Ir : (s = Qt, i = void 0);
347
347
  const g = s === Qt && t[a + 1].startsWith("/>") ? " " : "";
348
- o += s === Ir ? l + Gl : h >= 0 ? (n.push(d), l.slice(0, h) + Js + l.slice(h) + Gt + g) : l + Gt + (h === -2 ? a : g);
348
+ o += s === Ir ? l + Gl : f >= 0 ? (n.push(d), l.slice(0, f) + Js + l.slice(f) + Gt + g) : l + Gt + (f === -2 ? a : g);
349
349
  }
350
350
  return [ea(t, o + (t[r] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), n];
351
351
  };
352
- let $i = class ta {
352
+ let Bi = class ta {
353
353
  constructor({ strings: e, _$litType$: r }, n) {
354
354
  let i;
355
355
  this.parts = [];
356
356
  let o = 0, s = 0;
357
357
  const a = e.length - 1, l = this.parts, [d, p] = Yl(e, r);
358
358
  if (this.el = ta.createElement(d, n), or.currentNode = this.el.content, r === 2 || r === 3) {
359
- const h = this.el.content.firstChild;
360
- h.replaceWith(...h.childNodes);
359
+ const f = this.el.content.firstChild;
360
+ f.replaceWith(...f.childNodes);
361
361
  }
362
362
  for (; (i = or.nextNode()) !== null && l.length < a; ) {
363
363
  if (i.nodeType === 1) {
364
- if (i.hasAttributes()) for (const h of i.getAttributeNames()) if (h.endsWith(Js)) {
365
- const c = p[s++], g = i.getAttribute(h).split(Gt), w = /([.?@])?(.*)/.exec(c);
366
- l.push({ type: 1, index: o, name: w[2], strings: g, ctor: w[1] === "." ? Xl : w[1] === "?" ? Ql : w[1] === "@" ? ec : Qn }), i.removeAttribute(h);
367
- } else h.startsWith(Gt) && (l.push({ type: 6, index: o }), i.removeAttribute(h));
364
+ if (i.hasAttributes()) for (const f of i.getAttributeNames()) if (f.endsWith(Js)) {
365
+ const c = p[s++], g = i.getAttribute(f).split(Gt), w = /([.?@])?(.*)/.exec(c);
366
+ l.push({ type: 1, index: o, name: w[2], strings: g, ctor: w[1] === "." ? Xl : w[1] === "?" ? Ql : w[1] === "@" ? ec : ei }), i.removeAttribute(f);
367
+ } else f.startsWith(Gt) && (l.push({ type: 6, index: o }), i.removeAttribute(f));
368
368
  if (Qs.test(i.tagName)) {
369
- const h = i.textContent.split(Gt), c = h.length - 1;
369
+ const f = i.textContent.split(Gt), c = f.length - 1;
370
370
  if (c > 0) {
371
371
  i.textContent = Pn ? Pn.emptyScript : "";
372
- for (let g = 0; g < c; g++) i.append(h[g], Hr()), or.nextNode(), l.push({ type: 2, index: ++o });
373
- i.append(h[c], Hr());
372
+ for (let g = 0; g < c; g++) i.append(f[g], Wr()), or.nextNode(), l.push({ type: 2, index: ++o });
373
+ i.append(f[c], Wr());
374
374
  }
375
375
  }
376
376
  } else if (i.nodeType === 8) if (i.data === Xs) l.push({ type: 2, index: o });
377
377
  else {
378
- let h = -1;
379
- for (; (h = i.data.indexOf(Gt, h + 1)) !== -1; ) l.push({ type: 7, index: o }), h += Gt.length - 1;
378
+ let f = -1;
379
+ for (; (f = i.data.indexOf(Gt, f + 1)) !== -1; ) l.push({ type: 7, index: o }), f += Gt.length - 1;
380
380
  }
381
381
  o++;
382
382
  }
@@ -390,7 +390,7 @@ function br(t, e, r = t, n) {
390
390
  var s, a, l;
391
391
  if (e === yr) return e;
392
392
  let i = n !== void 0 ? (s = r._$Co) == null ? void 0 : s[n] : r._$Cl;
393
- const o = Wr(e) ? void 0 : e._$litDirective$;
393
+ const o = jr(e) ? void 0 : e._$litDirective$;
394
394
  return (i == null ? void 0 : i.constructor) !== o && ((a = i == null ? void 0 : i._$AO) == null || a.call(i, !1), o === void 0 ? i = void 0 : (i = new o(t), i._$AT(t, r, n)), n !== void 0 ? ((l = r._$Co) != null ? l : r._$Co = [])[n] = i : r._$Cl = i), i !== void 0 && (e = br(t, i._$AS(t, e.values), i, n)), e;
395
395
  }
396
396
  let Jl = class {
@@ -442,7 +442,7 @@ let Jl = class {
442
442
  return this._$AB;
443
443
  }
444
444
  _$AI(e, r = this) {
445
- e = br(this, e, r), Wr(e) ? e === ke || e == null || e === "" ? (this._$AH !== ke && this._$AR(), this._$AH = ke) : e !== this._$AH && e !== yr && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : ql(e) ? this.k(e) : this._(e);
445
+ e = br(this, e, r), jr(e) ? e === ke || e == null || e === "" ? (this._$AH !== ke && this._$AR(), this._$AH = ke) : e !== this._$AH && e !== yr && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : ql(e) ? this.k(e) : this._(e);
446
446
  }
447
447
  O(e) {
448
448
  return this._$AA.parentNode.insertBefore(e, this._$AB);
@@ -451,11 +451,11 @@ let Jl = class {
451
451
  this._$AH !== e && (this._$AR(), this._$AH = this.O(e));
452
452
  }
453
453
  _(e) {
454
- this._$AH !== ke && Wr(this._$AH) ? this._$AA.nextSibling.data = e : this.T(lr.createTextNode(e)), this._$AH = e;
454
+ this._$AH !== ke && jr(this._$AH) ? this._$AA.nextSibling.data = e : this.T(lr.createTextNode(e)), this._$AH = e;
455
455
  }
456
456
  $(e) {
457
457
  var o;
458
- const { values: r, _$litType$: n } = e, i = typeof n == "number" ? this._$AC(e) : (n.el === void 0 && (n.el = $i.createElement(ea(n.h, n.h[0]), this.options)), n);
458
+ const { values: r, _$litType$: n } = e, i = typeof n == "number" ? this._$AC(e) : (n.el === void 0 && (n.el = Bi.createElement(ea(n.h, n.h[0]), this.options)), n);
459
459
  if (((o = this._$AH) == null ? void 0 : o._$AD) === i) this._$AH.p(r);
460
460
  else {
461
461
  const s = new Jl(i, this), a = s.u(this.options);
@@ -464,13 +464,13 @@ let Jl = class {
464
464
  }
465
465
  _$AC(e) {
466
466
  let r = Yo.get(e.strings);
467
- return r === void 0 && Yo.set(e.strings, r = new $i(e)), r;
467
+ return r === void 0 && Yo.set(e.strings, r = new Bi(e)), r;
468
468
  }
469
469
  k(e) {
470
470
  ro(this._$AH) || (this._$AH = [], this._$AR());
471
471
  const r = this._$AH;
472
472
  let n, i = 0;
473
- for (const o of e) i === r.length ? r.push(n = new ra(this.O(Hr()), this.O(Hr()), this, this.options)) : n = r[i], n._$AI(o), i++;
473
+ for (const o of e) i === r.length ? r.push(n = new ra(this.O(Wr()), this.O(Wr()), this, this.options)) : n = r[i], n._$AI(o), i++;
474
474
  i < r.length && (this._$AR(n && n._$AB.nextSibling, i), r.length = i);
475
475
  }
476
476
  _$AR(e = this._$AA.nextSibling, r) {
@@ -484,7 +484,7 @@ let Jl = class {
484
484
  var r;
485
485
  this._$AM === void 0 && (this._$Cv = e, (r = this._$AP) == null || r.call(this, e));
486
486
  }
487
- }, Qn = class {
487
+ }, ei = class {
488
488
  get tagName() {
489
489
  return this.element.tagName;
490
490
  }
@@ -497,32 +497,32 @@ let Jl = class {
497
497
  _$AI(e, r = this, n, i) {
498
498
  const o = this.strings;
499
499
  let s = !1;
500
- if (o === void 0) e = br(this, e, r, 0), s = !Wr(e) || e !== this._$AH && e !== yr, s && (this._$AH = e);
500
+ if (o === void 0) e = br(this, e, r, 0), s = !jr(e) || e !== this._$AH && e !== yr, s && (this._$AH = e);
501
501
  else {
502
502
  const a = e;
503
503
  let l, d;
504
- for (e = o[0], l = 0; l < o.length - 1; l++) d = br(this, a[n + l], r, l), d === yr && (d = this._$AH[l]), s || (s = !Wr(d) || d !== this._$AH[l]), d === ke ? e = ke : e !== ke && (e += (d != null ? d : "") + o[l + 1]), this._$AH[l] = d;
504
+ for (e = o[0], l = 0; l < o.length - 1; l++) d = br(this, a[n + l], r, l), d === yr && (d = this._$AH[l]), s || (s = !jr(d) || d !== this._$AH[l]), d === ke ? e = ke : e !== ke && (e += (d != null ? d : "") + o[l + 1]), this._$AH[l] = d;
505
505
  }
506
506
  s && !i && this.j(e);
507
507
  }
508
508
  j(e) {
509
509
  e === ke ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e != null ? e : "");
510
510
  }
511
- }, Xl = class extends Qn {
511
+ }, Xl = class extends ei {
512
512
  constructor() {
513
513
  super(...arguments), this.type = 3;
514
514
  }
515
515
  j(e) {
516
516
  this.element[this.name] = e === ke ? void 0 : e;
517
517
  }
518
- }, Ql = class extends Qn {
518
+ }, Ql = class extends ei {
519
519
  constructor() {
520
520
  super(...arguments), this.type = 4;
521
521
  }
522
522
  j(e) {
523
523
  this.element.toggleAttribute(this.name, !!e && e !== ke);
524
524
  }
525
- }, ec = class extends Qn {
525
+ }, ec = class extends ei {
526
526
  constructor(e, r, n, i, o) {
527
527
  super(e, r, n, i, o), this.type = 5;
528
528
  }
@@ -547,16 +547,16 @@ let Jl = class {
547
547
  br(this, e);
548
548
  }
549
549
  };
550
- const Oi = Nr.litHtmlPolyfillSupport;
550
+ const Ii = Dr.litHtmlPolyfillSupport;
551
551
  var Gs;
552
- Oi == null || Oi($i, no), ((Gs = Nr.litHtmlVersions) != null ? Gs : Nr.litHtmlVersions = []).push("3.3.1");
552
+ Ii == null || Ii(Bi, no), ((Gs = Dr.litHtmlVersions) != null ? Gs : Dr.litHtmlVersions = []).push("3.3.1");
553
553
  const rc = (t, e, r) => {
554
554
  var o, s;
555
555
  const n = (o = r == null ? void 0 : r.renderBefore) != null ? o : e;
556
556
  let i = n._$litPart$;
557
557
  if (i === void 0) {
558
558
  const a = (s = r == null ? void 0 : r.renderBefore) != null ? s : null;
559
- n._$litPart$ = i = new no(e.insertBefore(Hr(), a), a, void 0, r != null ? r : {});
559
+ n._$litPart$ = i = new no(e.insertBefore(Wr(), a), a, void 0, r != null ? r : {});
560
560
  }
561
561
  return i._$AI(t), i;
562
562
  };
@@ -566,7 +566,7 @@ const rc = (t, e, r) => {
566
566
  * SPDX-License-Identifier: BSD-3-Clause
567
567
  */
568
568
  const ar = globalThis;
569
- let Dr = class extends mr {
569
+ let Mr = class extends mr {
570
570
  constructor() {
571
571
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
572
572
  }
@@ -592,9 +592,9 @@ let Dr = class extends mr {
592
592
  }
593
593
  };
594
594
  var qs;
595
- Dr._$litElement$ = !0, Dr.finalized = !0, (qs = ar.litElementHydrateSupport) == null || qs.call(ar, { LitElement: Dr });
596
- const Ii = ar.litElementPolyfillSupport;
597
- Ii == null || Ii({ LitElement: Dr });
595
+ Mr._$litElement$ = !0, Mr.finalized = !0, (qs = ar.litElementHydrateSupport) == null || qs.call(ar, { LitElement: Mr });
596
+ const xi = ar.litElementPolyfillSupport;
597
+ xi == null || xi({ LitElement: Mr });
598
598
  var Zs;
599
599
  ((Zs = ar.litElementVersions) != null ? Zs : ar.litElementVersions = []).push("4.2.1");
600
600
  /**
@@ -750,19 +750,19 @@ const na = new sc(), ac = Ul`
750
750
  DATA: "DATA",
751
751
  QUESTIONARY: "QUESTIONARY"
752
752
  }, cc = Object.values(lc);
753
- var ia = /* @__PURE__ */ ((t) => (t.Rtl = "rtl", t.Ltr = "ltr", t))(ia || {}), Mr = /* @__PURE__ */ ((t) => (t.DID_START_SESSION = "DID_START_SESSION", t.DID_END_SESSION = "DID_END_SESSION", t.DID_START_RESTORE_SESSION = "DID_START_RESTORE_SESSION", t.DID_CONTINUE_REMOTE_SESSION = "DID_CONTINUE_REMOTE_SESSION", t))(Mr || {}), Et = /* @__PURE__ */ ((t) => (t[t.INITIALIZATION_REQUIRED = 0] = "INITIALIZATION_REQUIRED", t[t.CONNECTION_ISSUE = 1] = "CONNECTION_ISSUE", t[t.WORKFLOW_ISSUE = 2] = "WORKFLOW_ISSUE", t[t.INTERNAL_ISSUE = 3] = "INTERNAL_ISSUE", t[t.SCENARIO_IN_PROGRESS = 4] = "SCENARIO_IN_PROGRESS", t))(Et || {}), Ue = /* @__PURE__ */ ((t) => (t[t.CONNECTION_ISSUE = 0] = "CONNECTION_ISSUE", t[t.CONFIG_MISSED_OR_INVALID = 1] = "CONFIG_MISSED_OR_INVALID", t[t.INITIALIZATION_REQUIRED = 2] = "INITIALIZATION_REQUIRED", t[t.SCENARIO_IN_PROGRESS = 3] = "SCENARIO_IN_PROGRESS", t))(Ue || {}), Ke = /* @__PURE__ */ ((t) => (t[t.INITIALIZATION_REQUIRED = 0] = "INITIALIZATION_REQUIRED", t[t.PREPARED_REQUIRED = 1] = "PREPARED_REQUIRED", t[t.START_SESSION_FAILED = 2] = "START_SESSION_FAILED", t[t.UNKNOWN_STEP = 3] = "UNKNOWN_STEP", t[t.MODULES_ISSUE = 4] = "MODULES_ISSUE", t[t.ALREADY_STARTED = 5] = "ALREADY_STARTED", t[t.INTERNAL_ISSUE = 6] = "INTERNAL_ISSUE", t))(Ke || {}), ei = /* @__PURE__ */ ((t) => (t[t.CONFIG_MISSED_OR_INVALID = 0] = "CONFIG_MISSED_OR_INVALID", t[t.MODULES_INSTANTIATION_FAILURE = 1] = "MODULES_INSTANTIATION_FAILURE", t[t.INITIALIZATION_IN_PROGRESS = 2] = "INITIALIZATION_IN_PROGRESS", t))(ei || {}), Ln = /* @__PURE__ */ ((t) => (t[t.CONNECTION_ISSUE = 0] = "CONNECTION_ISSUE", t[t.WORKFLOW_ISSUE = 1] = "WORKFLOW_ISSUE", t))(Ln || {}), Tt = /* @__PURE__ */ ((t) => (t[t.HTTP_ISSUE = 0] = "HTTP_ISSUE", t[t.PROVIDER_ERROR = 1] = "PROVIDER_ERROR", t[t.DECODING_FAILED = 2] = "DECODING_FAILED", t))(Tt || {}), tr = /* @__PURE__ */ ((t) => (t[t.HTTP_ISSUE = 0] = "HTTP_ISSUE", t[t.PROVIDER_ERROR = 1] = "PROVIDER_ERROR", t[t.DECODING_FAILED = 2] = "DECODING_FAILED", t[t.TOKEN_ERROR = 3] = "TOKEN_ERROR", t[t.CONNECTION_ISSUE = 4] = "CONNECTION_ISSUE", t))(tr || {}), lt = /* @__PURE__ */ ((t) => (t[t.HTTP_ISSUE = 0] = "HTTP_ISSUE", t[t.PROVIDER_ERROR = 1] = "PROVIDER_ERROR", t[t.DECODING_FAILED = 2] = "DECODING_FAILED", t[t.SAME_STEP = 3] = "SAME_STEP", t[t.IS_PROCESSING = 4] = "IS_PROCESSING", t[t.NOT_DATA_TYPE = 5] = "NOT_DATA_TYPE", t))(lt || {}), Un = /* @__PURE__ */ ((t) => (t[t.INITIALIZATION_REQUIRED = 0] = "INITIALIZATION_REQUIRED", t[t.SCENARIO_IN_PROGRESS = 3] = "SCENARIO_IN_PROGRESS", t))(Un || {}), Kt = /* @__PURE__ */ ((t) => (t[t.HTTP_ISSUE = 0] = "HTTP_ISSUE", t[t.PROVIDER_ERROR = 1] = "PROVIDER_ERROR", t))(Kt || {});
754
- const dc = 120, uc = 200, Bi = "PROGRESS", vt = "IDV", er = "idv-session-data", xr = "idv-session-auth-token", fc = "rgl-uid", hc = "en", Jo = (t) => {
753
+ var ia = /* @__PURE__ */ ((t) => (t.Rtl = "rtl", t.Ltr = "ltr", t))(ia || {}), Pr = /* @__PURE__ */ ((t) => (t.DID_START_SESSION = "DID_START_SESSION", t.DID_END_SESSION = "DID_END_SESSION", t.DID_START_RESTORE_SESSION = "DID_START_RESTORE_SESSION", t.DID_CONTINUE_REMOTE_SESSION = "DID_CONTINUE_REMOTE_SESSION", t))(Pr || {}), Et = /* @__PURE__ */ ((t) => (t[t.INITIALIZATION_REQUIRED = 0] = "INITIALIZATION_REQUIRED", t[t.CONNECTION_ISSUE = 1] = "CONNECTION_ISSUE", t[t.WORKFLOW_ISSUE = 2] = "WORKFLOW_ISSUE", t[t.INTERNAL_ISSUE = 3] = "INTERNAL_ISSUE", t[t.SCENARIO_IN_PROGRESS = 4] = "SCENARIO_IN_PROGRESS", t))(Et || {}), Ue = /* @__PURE__ */ ((t) => (t[t.CONNECTION_ISSUE = 0] = "CONNECTION_ISSUE", t[t.CONFIG_MISSED_OR_INVALID = 1] = "CONFIG_MISSED_OR_INVALID", t[t.INITIALIZATION_REQUIRED = 2] = "INITIALIZATION_REQUIRED", t[t.SCENARIO_IN_PROGRESS = 3] = "SCENARIO_IN_PROGRESS", t))(Ue || {}), Ke = /* @__PURE__ */ ((t) => (t[t.INITIALIZATION_REQUIRED = 0] = "INITIALIZATION_REQUIRED", t[t.PREPARED_REQUIRED = 1] = "PREPARED_REQUIRED", t[t.START_SESSION_FAILED = 2] = "START_SESSION_FAILED", t[t.UNKNOWN_STEP = 3] = "UNKNOWN_STEP", t[t.MODULES_ISSUE = 4] = "MODULES_ISSUE", t[t.ALREADY_STARTED = 5] = "ALREADY_STARTED", t[t.INTERNAL_ISSUE = 6] = "INTERNAL_ISSUE", t))(Ke || {}), ti = /* @__PURE__ */ ((t) => (t[t.CONFIG_MISSED_OR_INVALID = 0] = "CONFIG_MISSED_OR_INVALID", t[t.MODULES_INSTANTIATION_FAILURE = 1] = "MODULES_INSTANTIATION_FAILURE", t[t.INITIALIZATION_IN_PROGRESS = 2] = "INITIALIZATION_IN_PROGRESS", t))(ti || {}), Ln = /* @__PURE__ */ ((t) => (t[t.CONNECTION_ISSUE = 0] = "CONNECTION_ISSUE", t[t.WORKFLOW_ISSUE = 1] = "WORKFLOW_ISSUE", t))(Ln || {}), Tt = /* @__PURE__ */ ((t) => (t[t.HTTP_ISSUE = 0] = "HTTP_ISSUE", t[t.PROVIDER_ERROR = 1] = "PROVIDER_ERROR", t[t.DECODING_FAILED = 2] = "DECODING_FAILED", t))(Tt || {}), tr = /* @__PURE__ */ ((t) => (t[t.HTTP_ISSUE = 0] = "HTTP_ISSUE", t[t.PROVIDER_ERROR = 1] = "PROVIDER_ERROR", t[t.DECODING_FAILED = 2] = "DECODING_FAILED", t[t.TOKEN_ERROR = 3] = "TOKEN_ERROR", t[t.CONNECTION_ISSUE = 4] = "CONNECTION_ISSUE", t))(tr || {}), lt = /* @__PURE__ */ ((t) => (t[t.HTTP_ISSUE = 0] = "HTTP_ISSUE", t[t.PROVIDER_ERROR = 1] = "PROVIDER_ERROR", t[t.DECODING_FAILED = 2] = "DECODING_FAILED", t[t.SAME_STEP = 3] = "SAME_STEP", t[t.IS_PROCESSING = 4] = "IS_PROCESSING", t[t.NOT_DATA_TYPE = 5] = "NOT_DATA_TYPE", t))(lt || {}), Un = /* @__PURE__ */ ((t) => (t[t.INITIALIZATION_REQUIRED = 0] = "INITIALIZATION_REQUIRED", t[t.SCENARIO_IN_PROGRESS = 3] = "SCENARIO_IN_PROGRESS", t))(Un || {}), Kt = /* @__PURE__ */ ((t) => (t[t.HTTP_ISSUE = 0] = "HTTP_ISSUE", t[t.PROVIDER_ERROR = 1] = "PROVIDER_ERROR", t))(Kt || {});
754
+ const dc = 120, uc = 200, Hi = "PROGRESS", vt = "IDV", er = "idv-session-data", xr = "idv-session-auth-token", fc = "rgl-uid", hc = "en", Jo = (t) => {
755
755
  let e;
756
756
  const r = /* @__PURE__ */ new Set(), n = (d, p) => {
757
- const h = typeof d == "function" ? d(e) : d;
758
- if (!Object.is(h, e)) {
757
+ const f = typeof d == "function" ? d(e) : d;
758
+ if (!Object.is(f, e)) {
759
759
  const c = e;
760
- e = (p != null ? p : typeof h != "object" || h === null) ? h : Object.assign({}, e, h), r.forEach((g) => g(e, c));
760
+ e = (p != null ? p : typeof f != "object" || f === null) ? f : Object.assign({}, e, f), r.forEach((g) => g(e, c));
761
761
  }
762
762
  }, i = () => e, a = { setState: n, getState: i, getInitialState: () => l, subscribe: (d) => (r.add(d), () => r.delete(d)) }, l = e = t(n, i, a);
763
763
  return a;
764
764
  }, pc = (t) => t ? Jo(t) : Jo;
765
- var Kr, se, oa, rr, Xo, sa, aa, la, io, Hi, Wi, ca, jr = {}, da = [], _c = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Gr = Array.isArray;
765
+ var Gr, se, oa, rr, Xo, sa, aa, la, io, Wi, ji, ca, zr = {}, da = [], _c = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, qr = Array.isArray;
766
766
  function gt(t, e) {
767
767
  for (var r in e) t[r] = e[r];
768
768
  return t;
@@ -773,10 +773,10 @@ function oo(t) {
773
773
  function wt(t, e, r) {
774
774
  var n, i, o, s = {};
775
775
  for (o in e) o == "key" ? n = e[o] : o == "ref" ? i = e[o] : s[o] = e[o];
776
- if (arguments.length > 2 && (s.children = arguments.length > 3 ? Kr.call(arguments, 2) : r), typeof t == "function" && t.defaultProps != null) for (o in t.defaultProps) s[o] === void 0 && (s[o] = t.defaultProps[o]);
777
- return Pr(t, s, n, i, null);
776
+ if (arguments.length > 2 && (s.children = arguments.length > 3 ? Gr.call(arguments, 2) : r), typeof t == "function" && t.defaultProps != null) for (o in t.defaultProps) s[o] === void 0 && (s[o] = t.defaultProps[o]);
777
+ return Fr(t, s, n, i, null);
778
778
  }
779
- function Pr(t, e, r, n, i) {
779
+ function Fr(t, e, r, n, i) {
780
780
  var o = { type: t, props: e, key: r, ref: n, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: i == null ? ++oa : i, __i: -1, __u: 0 };
781
781
  return i == null && se.vnode != null && se.vnode(o), o;
782
782
  }
@@ -804,7 +804,7 @@ function fa(t) {
804
804
  return fa(t);
805
805
  }
806
806
  }
807
- function ji(t) {
807
+ function zi(t) {
808
808
  (!t.__d && (t.__d = !0) && rr.push(t) && !Vn.__r++ || Xo != se.debounceRendering) && ((Xo = se.debounceRendering) || sa)(Vn);
809
809
  }
810
810
  function Vn() {
@@ -812,14 +812,14 @@ function Vn() {
812
812
  Vn.__r = 0;
813
813
  }
814
814
  function ha(t, e, r, n, i, o, s, a, l, d, p) {
815
- var h, c, g, w, f, m, S, C = n && n.__k || da, b = e.length;
816
- for (l = mc(r, e, C, l, b), h = 0; h < b; h++) (g = r.__k[h]) != null && (c = g.__i == -1 ? jr : C[g.__i] || jr, g.__i = h, m = so(t, g, c, i, o, s, a, l, d, p), w = g.__e, g.ref && c.ref != g.ref && (c.ref && ao(c.ref, null, g), p.push(g.ref, g.__c || w, g)), f == null && w != null && (f = w), (S = !!(4 & g.__u)) || c.__k === g.__k ? l = pa(g, l, t, S) : typeof g.type == "function" && m !== void 0 ? l = m : w && (l = w.nextSibling), g.__u &= -7);
817
- return r.__e = f, l;
815
+ var f, c, g, w, h, m, S, C = n && n.__k || da, b = e.length;
816
+ for (l = mc(r, e, C, l, b), f = 0; f < b; f++) (g = r.__k[f]) != null && (c = g.__i == -1 ? zr : C[g.__i] || zr, g.__i = f, m = so(t, g, c, i, o, s, a, l, d, p), w = g.__e, g.ref && c.ref != g.ref && (c.ref && ao(c.ref, null, g), p.push(g.ref, g.__c || w, g)), h == null && w != null && (h = w), (S = !!(4 & g.__u)) || c.__k === g.__k ? l = pa(g, l, t, S) : typeof g.type == "function" && m !== void 0 ? l = m : w && (l = w.nextSibling), g.__u &= -7);
817
+ return r.__e = h, l;
818
818
  }
819
819
  function mc(t, e, r, n, i) {
820
- var o, s, a, l, d, p = r.length, h = p, c = 0;
821
- for (t.__k = new Array(i), o = 0; o < i; o++) (s = e[o]) != null && typeof s != "boolean" && typeof s != "function" ? (l = o + c, (s = t.__k[o] = typeof s == "string" || typeof s == "number" || typeof s == "bigint" || s.constructor == String ? Pr(null, s, null, null, null) : Gr(s) ? Pr(We, { children: s }, null, null, null) : s.constructor == null && s.__b > 0 ? Pr(s.type, s.props, s.key, s.ref ? s.ref : null, s.__v) : s).__ = t, s.__b = t.__b + 1, a = null, (d = s.__i = gc(s, r, l, h)) != -1 && (h--, (a = r[d]) && (a.__u |= 2)), a == null || a.__v == null ? (d == -1 && (i > p ? c-- : i < p && c++), typeof s.type != "function" && (s.__u |= 4)) : d != l && (d == l - 1 ? c-- : d == l + 1 ? c++ : (d > l ? c-- : c++, s.__u |= 4))) : t.__k[o] = null;
822
- if (h) for (o = 0; o < p; o++) (a = r[o]) != null && (2 & a.__u) == 0 && (a.__e == n && (n = Cr(a)), ga(a, a));
820
+ var o, s, a, l, d, p = r.length, f = p, c = 0;
821
+ for (t.__k = new Array(i), o = 0; o < i; o++) (s = e[o]) != null && typeof s != "boolean" && typeof s != "function" ? (l = o + c, (s = t.__k[o] = typeof s == "string" || typeof s == "number" || typeof s == "bigint" || s.constructor == String ? Fr(null, s, null, null, null) : qr(s) ? Fr(We, { children: s }, null, null, null) : s.constructor == null && s.__b > 0 ? Fr(s.type, s.props, s.key, s.ref ? s.ref : null, s.__v) : s).__ = t, s.__b = t.__b + 1, a = null, (d = s.__i = gc(s, r, l, f)) != -1 && (f--, (a = r[d]) && (a.__u |= 2)), a == null || a.__v == null ? (d == -1 && (i > p ? c-- : i < p && c++), typeof s.type != "function" && (s.__u |= 4)) : d != l && (d == l - 1 ? c-- : d == l + 1 ? c++ : (d > l ? c-- : c++, s.__u |= 4))) : t.__k[o] = null;
822
+ if (f) for (o = 0; o < p; o++) (a = r[o]) != null && (2 & a.__u) == 0 && (a.__e == n && (n = Cr(a)), ga(a, a));
823
823
  return n;
824
824
  }
825
825
  function pa(t, e, r, n) {
@@ -835,7 +835,7 @@ function pa(t, e, r, n) {
835
835
  return e;
836
836
  }
837
837
  function Vt(t, e) {
838
- return e = e || [], t == null || typeof t == "boolean" || (Gr(t) ? t.some(function(r) {
838
+ return e = e || [], t == null || typeof t == "boolean" || (qr(t) ? t.some(function(r) {
839
839
  Vt(r, e);
840
840
  }) : e.push(t)), e;
841
841
  }
@@ -850,14 +850,14 @@ function gc(t, e, r, n) {
850
850
  function Qo(t, e, r) {
851
851
  e[0] == "-" ? t.setProperty(e, r == null ? "" : r) : t[e] = r == null ? "" : typeof r != "number" || _c.test(e) ? r : r + "px";
852
852
  }
853
- function xn(t, e, r, n, i) {
853
+ function An(t, e, r, n, i) {
854
854
  var o, s;
855
855
  e: if (e == "style") if (typeof r == "string") t.style.cssText = r;
856
856
  else {
857
857
  if (typeof n == "string" && (t.style.cssText = n = ""), n) for (e in n) r && e in r || Qo(t.style, e, "");
858
858
  if (r) for (e in r) n && r[e] == n[e] || Qo(t.style, e, r[e]);
859
859
  }
860
- else if (e[0] == "o" && e[1] == "n") o = e != (e = e.replace(la, "$1")), s = e.toLowerCase(), e = s in t || e == "onFocusOut" || e == "onFocusIn" ? s.slice(2) : e.slice(2), t.l || (t.l = {}), t.l[e + o] = r, r ? n ? r.u = n.u : (r.u = io, t.addEventListener(e, o ? Wi : Hi, o)) : t.removeEventListener(e, o ? Wi : Hi, o);
860
+ else if (e[0] == "o" && e[1] == "n") o = e != (e = e.replace(la, "$1")), s = e.toLowerCase(), e = s in t || e == "onFocusOut" || e == "onFocusIn" ? s.slice(2) : e.slice(2), t.l || (t.l = {}), t.l[e + o] = r, r ? n ? r.u = n.u : (r.u = io, t.addEventListener(e, o ? ji : Wi, o)) : t.removeEventListener(e, o ? ji : Wi, o);
861
861
  else {
862
862
  if (i == "http://www.w3.org/2000/svg") e = e.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
863
863
  else if (e != "width" && e != "height" && e != "href" && e != "list" && e != "form" && e != "tabIndex" && e != "download" && e != "rowSpan" && e != "colSpan" && e != "role" && e != "popover" && e in t) try {
@@ -879,46 +879,46 @@ function es(t) {
879
879
  };
880
880
  }
881
881
  function so(t, e, r, n, i, o, s, a, l, d) {
882
- var p, h, c, g, w, f, m, S, C, b, I, D, N, R, fe, _e, ae, Z = e.type;
882
+ var p, f, c, g, w, h, m, S, C, b, I, k, N, R, ae, _e, le, Z = e.type;
883
883
  if (e.constructor != null) return null;
884
884
  128 & r.__u && (l = !!(32 & r.__u), o = [a = e.__e = r.__e]), (p = se.__b) && p(e);
885
885
  e: if (typeof Z == "function") try {
886
- if (S = e.props, C = "prototype" in Z && Z.prototype.render, b = (p = Z.contextType) && n[p.__c], I = p ? b ? b.props.value : p.__ : n, r.__c ? m = (h = e.__c = r.__c).__ = h.__E : (C ? e.__c = h = new Z(S, I) : (e.__c = h = new ht(S, I), h.constructor = Z, h.render = vc), b && b.sub(h), h.props = S, h.state || (h.state = {}), h.context = I, h.__n = n, c = h.__d = !0, h.__h = [], h._sb = []), C && h.__s == null && (h.__s = h.state), C && Z.getDerivedStateFromProps != null && (h.__s == h.state && (h.__s = gt({}, h.__s)), gt(h.__s, Z.getDerivedStateFromProps(S, h.__s))), g = h.props, w = h.state, h.__v = e, c) C && Z.getDerivedStateFromProps == null && h.componentWillMount != null && h.componentWillMount(), C && h.componentDidMount != null && h.__h.push(h.componentDidMount);
886
+ if (S = e.props, C = "prototype" in Z && Z.prototype.render, b = (p = Z.contextType) && n[p.__c], I = p ? b ? b.props.value : p.__ : n, r.__c ? m = (f = e.__c = r.__c).__ = f.__E : (C ? e.__c = f = new Z(S, I) : (e.__c = f = new ht(S, I), f.constructor = Z, f.render = vc), b && b.sub(f), f.props = S, f.state || (f.state = {}), f.context = I, f.__n = n, c = f.__d = !0, f.__h = [], f._sb = []), C && f.__s == null && (f.__s = f.state), C && Z.getDerivedStateFromProps != null && (f.__s == f.state && (f.__s = gt({}, f.__s)), gt(f.__s, Z.getDerivedStateFromProps(S, f.__s))), g = f.props, w = f.state, f.__v = e, c) C && Z.getDerivedStateFromProps == null && f.componentWillMount != null && f.componentWillMount(), C && f.componentDidMount != null && f.__h.push(f.componentDidMount);
887
887
  else {
888
- if (C && Z.getDerivedStateFromProps == null && S !== g && h.componentWillReceiveProps != null && h.componentWillReceiveProps(S, I), !h.__e && h.shouldComponentUpdate != null && h.shouldComponentUpdate(S, h.__s, I) === !1 || e.__v == r.__v) {
889
- for (e.__v != r.__v && (h.props = S, h.state = h.__s, h.__d = !1), e.__e = r.__e, e.__k = r.__k, e.__k.some(function(H) {
888
+ if (C && Z.getDerivedStateFromProps == null && S !== g && f.componentWillReceiveProps != null && f.componentWillReceiveProps(S, I), !f.__e && f.shouldComponentUpdate != null && f.shouldComponentUpdate(S, f.__s, I) === !1 || e.__v == r.__v) {
889
+ for (e.__v != r.__v && (f.props = S, f.state = f.__s, f.__d = !1), e.__e = r.__e, e.__k = r.__k, e.__k.some(function(H) {
890
890
  H && (H.__ = e);
891
- }), D = 0; D < h._sb.length; D++) h.__h.push(h._sb[D]);
892
- h._sb = [], h.__h.length && s.push(h);
891
+ }), k = 0; k < f._sb.length; k++) f.__h.push(f._sb[k]);
892
+ f._sb = [], f.__h.length && s.push(f);
893
893
  break e;
894
894
  }
895
- h.componentWillUpdate != null && h.componentWillUpdate(S, h.__s, I), C && h.componentDidUpdate != null && h.__h.push(function() {
896
- h.componentDidUpdate(g, w, f);
895
+ f.componentWillUpdate != null && f.componentWillUpdate(S, f.__s, I), C && f.componentDidUpdate != null && f.__h.push(function() {
896
+ f.componentDidUpdate(g, w, h);
897
897
  });
898
898
  }
899
- if (h.context = I, h.props = S, h.__P = t, h.__e = !1, N = se.__r, R = 0, C) {
900
- for (h.state = h.__s, h.__d = !1, N && N(e), p = h.render(h.props, h.state, h.context), fe = 0; fe < h._sb.length; fe++) h.__h.push(h._sb[fe]);
901
- h._sb = [];
899
+ if (f.context = I, f.props = S, f.__P = t, f.__e = !1, N = se.__r, R = 0, C) {
900
+ for (f.state = f.__s, f.__d = !1, N && N(e), p = f.render(f.props, f.state, f.context), ae = 0; ae < f._sb.length; ae++) f.__h.push(f._sb[ae]);
901
+ f._sb = [];
902
902
  } else do
903
- h.__d = !1, N && N(e), p = h.render(h.props, h.state, h.context), h.state = h.__s;
904
- while (h.__d && ++R < 25);
905
- h.state = h.__s, h.getChildContext != null && (n = gt(gt({}, n), h.getChildContext())), C && !c && h.getSnapshotBeforeUpdate != null && (f = h.getSnapshotBeforeUpdate(g, w)), _e = p, p != null && p.type === We && p.key == null && (_e = ma(p.props.children)), a = ha(t, Gr(_e) ? _e : [_e], e, r, n, i, o, s, a, l, d), h.base = e.__e, e.__u &= -161, h.__h.length && s.push(h), m && (h.__E = h.__ = null);
903
+ f.__d = !1, N && N(e), p = f.render(f.props, f.state, f.context), f.state = f.__s;
904
+ while (f.__d && ++R < 25);
905
+ f.state = f.__s, f.getChildContext != null && (n = gt(gt({}, n), f.getChildContext())), C && !c && f.getSnapshotBeforeUpdate != null && (h = f.getSnapshotBeforeUpdate(g, w)), _e = p, p != null && p.type === We && p.key == null && (_e = ma(p.props.children)), a = ha(t, qr(_e) ? _e : [_e], e, r, n, i, o, s, a, l, d), f.base = e.__e, e.__u &= -161, f.__h.length && s.push(f), m && (f.__E = f.__ = null);
906
906
  } catch (H) {
907
907
  if (e.__v = null, l || o != null) if (H.then) {
908
908
  for (e.__u |= l ? 160 : 128; a && a.nodeType == 8 && a.nextSibling; ) a = a.nextSibling;
909
909
  o[o.indexOf(a)] = null, e.__e = a;
910
910
  } else {
911
- for (ae = o.length; ae--; ) oo(o[ae]);
912
- zi(e);
911
+ for (le = o.length; le--; ) oo(o[le]);
912
+ Ki(e);
913
913
  }
914
- else e.__e = r.__e, e.__k = r.__k, H.then || zi(e);
914
+ else e.__e = r.__e, e.__k = r.__k, H.then || Ki(e);
915
915
  se.__e(H, e, r);
916
916
  }
917
917
  else o == null && e.__v == r.__v ? (e.__k = r.__k, e.__e = r.__e) : a = e.__e = wc(r.__e, e, r, n, i, o, s, l, d);
918
918
  return (p = se.diffed) && p(e), 128 & e.__u ? void 0 : a;
919
919
  }
920
- function zi(t) {
921
- t && t.__c && (t.__c.__e = !0), t && t.__k && t.__k.forEach(zi);
920
+ function Ki(t) {
921
+ t && t.__c && (t.__c.__e = !0), t && t.__k && t.__k.forEach(Ki);
922
922
  }
923
923
  function _a(t, e, r) {
924
924
  for (var n = 0; n < r.length; n++) ao(r[n], r[++n], r[++n]);
@@ -933,10 +933,10 @@ function _a(t, e, r) {
933
933
  });
934
934
  }
935
935
  function ma(t) {
936
- return typeof t != "object" || t == null || t.__b && t.__b > 0 ? t : Gr(t) ? t.map(ma) : gt({}, t);
936
+ return typeof t != "object" || t == null || t.__b && t.__b > 0 ? t : qr(t) ? t.map(ma) : gt({}, t);
937
937
  }
938
938
  function wc(t, e, r, n, i, o, s, a, l) {
939
- var d, p, h, c, g, w, f, m = r.props, S = e.props, C = e.type;
939
+ var d, p, f, c, g, w, h, m = r.props, S = e.props, C = e.type;
940
940
  if (C == "svg" ? i = "http://www.w3.org/2000/svg" : C == "math" ? i = "http://www.w3.org/1998/Math/MathML" : i || (i = "http://www.w3.org/1999/xhtml"), o != null) {
941
941
  for (d = 0; d < o.length; d++) if ((g = o[d]) && "setAttribute" in g == !!C && (C ? g.localName == C : g.nodeType == 3)) {
942
942
  t = g, o[d] = null;
@@ -949,18 +949,18 @@ function wc(t, e, r, n, i, o, s, a, l) {
949
949
  }
950
950
  if (C == null) m === S || a && t.data == S || (t.data = S);
951
951
  else {
952
- if (o = o && Kr.call(t.childNodes), m = r.props || jr, !a && o != null) for (m = {}, d = 0; d < t.attributes.length; d++) m[(g = t.attributes[d]).name] = g.value;
952
+ if (o = o && Gr.call(t.childNodes), m = r.props || zr, !a && o != null) for (m = {}, d = 0; d < t.attributes.length; d++) m[(g = t.attributes[d]).name] = g.value;
953
953
  for (d in m) if (g = m[d], d != "children") {
954
- if (d == "dangerouslySetInnerHTML") h = g;
954
+ if (d == "dangerouslySetInnerHTML") f = g;
955
955
  else if (!(d in S)) {
956
956
  if (d == "value" && "defaultValue" in S || d == "checked" && "defaultChecked" in S) continue;
957
- xn(t, d, null, g, i);
957
+ An(t, d, null, g, i);
958
958
  }
959
959
  }
960
- for (d in S) g = S[d], d == "children" ? c = g : d == "dangerouslySetInnerHTML" ? p = g : d == "value" ? w = g : d == "checked" ? f = g : a && typeof g != "function" || m[d] === g || xn(t, d, g, m[d], i);
961
- if (p) a || h && (p.__html == h.__html || p.__html == t.innerHTML) || (t.innerHTML = p.__html), e.__k = [];
962
- else if (h && (t.innerHTML = ""), ha(e.type == "template" ? t.content : t, Gr(c) ? c : [c], e, r, n, C == "foreignObject" ? "http://www.w3.org/1999/xhtml" : i, o, s, o ? o[0] : r.__k && Cr(r, 0), a, l), o != null) for (d = o.length; d--; ) oo(o[d]);
963
- a || (d = "value", C == "progress" && w == null ? t.removeAttribute("value") : w != null && (w !== t[d] || C == "progress" && !w || C == "option" && w != m[d]) && xn(t, d, w, m[d], i), d = "checked", f != null && f != t[d] && xn(t, d, f, m[d], i));
960
+ for (d in S) g = S[d], d == "children" ? c = g : d == "dangerouslySetInnerHTML" ? p = g : d == "value" ? w = g : d == "checked" ? h = g : a && typeof g != "function" || m[d] === g || An(t, d, g, m[d], i);
961
+ if (p) a || f && (p.__html == f.__html || p.__html == t.innerHTML) || (t.innerHTML = p.__html), e.__k = [];
962
+ else if (f && (t.innerHTML = ""), ha(e.type == "template" ? t.content : t, qr(c) ? c : [c], e, r, n, C == "foreignObject" ? "http://www.w3.org/1999/xhtml" : i, o, s, o ? o[0] : r.__k && Cr(r, 0), a, l), o != null) for (d = o.length; d--; ) oo(o[d]);
963
+ a || (d = "value", C == "progress" && w == null ? t.removeAttribute("value") : w != null && (w !== t[d] || C == "progress" && !w || C == "option" && w != m[d]) && An(t, d, w, m[d], i), d = "checked", h != null && h != t[d] && An(t, d, h, m[d], i));
964
964
  }
965
965
  return t;
966
966
  }
@@ -992,7 +992,7 @@ function vc(t, e, r) {
992
992
  }
993
993
  function cr(t, e, r) {
994
994
  var n, i, o, s;
995
- e == document && (e = document.documentElement), se.__ && se.__(t, e), i = (n = typeof r == "function") ? null : r && r.__k || e.__k, o = [], s = [], so(e, t = (!n && r || e).__k = wt(We, null, [t]), i || jr, jr, e.namespaceURI, !n && r ? [r] : i ? null : e.firstChild ? Kr.call(e.childNodes) : null, o, !n && r ? r : i ? i.__e : e.firstChild, n, s), _a(o, t, s);
995
+ e == document && (e = document.documentElement), se.__ && se.__(t, e), i = (n = typeof r == "function") ? null : r && r.__k || e.__k, o = [], s = [], so(e, t = (!n && r || e).__k = wt(We, null, [t]), i || zr, zr, e.namespaceURI, !n && r ? [r] : i ? null : e.firstChild ? Gr.call(e.childNodes) : null, o, !n && r ? r : i ? i.__e : e.firstChild, n, s), _a(o, t, s);
996
996
  }
997
997
  function wa(t, e) {
998
998
  cr(t, e, wa);
@@ -1000,7 +1000,7 @@ function wa(t, e) {
1000
1000
  function yc(t, e, r) {
1001
1001
  var n, i, o, s, a = gt({}, t.props);
1002
1002
  for (o in t.type && t.type.defaultProps && (s = t.type.defaultProps), e) o == "key" ? n = e[o] : o == "ref" ? i = e[o] : a[o] = e[o] === void 0 && s != null ? s[o] : e[o];
1003
- return arguments.length > 2 && (a.children = arguments.length > 3 ? Kr.call(arguments, 2) : r), Pr(t.type, a, n || t.key, i || t.ref, null);
1003
+ return arguments.length > 2 && (a.children = arguments.length > 3 ? Gr.call(arguments, 2) : r), Fr(t.type, a, n || t.key, i || t.ref, null);
1004
1004
  }
1005
1005
  function lo(t) {
1006
1006
  function e(r) {
@@ -1011,7 +1011,7 @@ function lo(t) {
1011
1011
  n = null;
1012
1012
  }, this.shouldComponentUpdate = function(o) {
1013
1013
  this.props.value != o.value && n.forEach(function(s) {
1014
- s.__e = !0, ji(s);
1014
+ s.__e = !0, zi(s);
1015
1015
  });
1016
1016
  }, this.sub = function(o) {
1017
1017
  n.add(o);
@@ -1025,7 +1025,7 @@ function lo(t) {
1025
1025
  return r.children(n);
1026
1026
  }).contextType = e, e;
1027
1027
  }
1028
- Kr = da.slice, se = { __e: function(t, e, r, n) {
1028
+ Gr = da.slice, se = { __e: function(t, e, r, n) {
1029
1029
  for (var i, o, s; e = e.__; ) if ((i = e.__c) && !i.__) try {
1030
1030
  if ((o = i.constructor) && o.getDerivedStateFromError != null && (i.setState(o.getDerivedStateFromError(t)), s = i.__d), i.componentDidCatch != null && (i.componentDidCatch(t, n || {}), s = i.__d), s) return i.__E = i;
1031
1031
  } catch (a) {
@@ -1034,22 +1034,22 @@ Kr = da.slice, se = { __e: function(t, e, r, n) {
1034
1034
  throw t;
1035
1035
  } }, oa = 0, ht.prototype.setState = function(t, e) {
1036
1036
  var r;
1037
- r = this.__s != null && this.__s != this.state ? this.__s : this.__s = gt({}, this.state), typeof t == "function" && (t = t(gt({}, r), this.props)), t && gt(r, t), t != null && this.__v && (e && this._sb.push(e), ji(this));
1037
+ r = this.__s != null && this.__s != this.state ? this.__s : this.__s = gt({}, this.state), typeof t == "function" && (t = t(gt({}, r), this.props)), t && gt(r, t), t != null && this.__v && (e && this._sb.push(e), zi(this));
1038
1038
  }, ht.prototype.forceUpdate = function(t) {
1039
- this.__v && (this.__e = !0, t && this.__h.push(t), ji(this));
1039
+ this.__v && (this.__e = !0, t && this.__h.push(t), zi(this));
1040
1040
  }, ht.prototype.render = We, rr = [], sa = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, aa = function(t, e) {
1041
1041
  return t.__v.__b - e.__v.__b;
1042
- }, Vn.__r = 0, la = /(PointerCapture)$|Capture$/i, io = 0, Hi = es(!1), Wi = es(!0), ca = 0;
1043
- var $t, be, xi, ts, Sr = 0, va = [], Te = se, rs = Te.__b, ns = Te.__r, is = Te.diffed, os = Te.__c, ss = Te.unmount, as = Te.__;
1042
+ }, Vn.__r = 0, la = /(PointerCapture)$|Capture$/i, io = 0, Wi = es(!1), ji = es(!0), ca = 0;
1043
+ var $t, be, Ai, ts, Sr = 0, va = [], Te = se, rs = Te.__b, ns = Te.__r, is = Te.diffed, os = Te.__c, ss = Te.unmount, as = Te.__;
1044
1044
  function dr(t, e) {
1045
1045
  Te.__h && Te.__h(be, t, Sr || e), Sr = 0;
1046
1046
  var r = be.__H || (be.__H = { __: [], __h: [] });
1047
1047
  return t >= r.__.length && r.__.push({}), r.__[t];
1048
1048
  }
1049
1049
  function Me(t) {
1050
- return Sr = 1, ti(ya, t);
1050
+ return Sr = 1, ri(ya, t);
1051
1051
  }
1052
- function ti(t, e, r) {
1052
+ function ri(t, e, r) {
1053
1053
  var n = dr($t++, 2);
1054
1054
  if (n.t = t, !n.__c && (n.__ = [r ? r(e) : ya(void 0, e), function(a) {
1055
1055
  var l = n.__N ? n.__N[0] : n.__[0], d = n.t(l, a);
@@ -1063,13 +1063,13 @@ function ti(t, e, r) {
1063
1063
  if (p.every(function(c) {
1064
1064
  return !c.__N;
1065
1065
  })) return !o || o.call(this, a, l, d);
1066
- var h = n.__c.props !== a;
1066
+ var f = n.__c.props !== a;
1067
1067
  return p.forEach(function(c) {
1068
1068
  if (c.__N) {
1069
1069
  var g = c.__[0];
1070
- c.__ = c.__N, c.__N = void 0, g !== c.__[0] && (h = !0);
1070
+ c.__ = c.__N, c.__N = void 0, g !== c.__[0] && (f = !0);
1071
1071
  }
1072
- }), o && o.call(this, a, l, d) || h;
1072
+ }), o && o.call(this, a, l, d) || f;
1073
1073
  };
1074
1074
  be.__f = !0;
1075
1075
  var o = be.shouldComponentUpdate, s = be.componentWillUpdate;
@@ -1092,7 +1092,7 @@ function Zt(t, e) {
1092
1092
  !Te.__s && po(r.__H, e) && (r.__ = t, r.u = e, be.__h.push(r));
1093
1093
  }
1094
1094
  function it(t) {
1095
- return Sr = 5, qr(function() {
1095
+ return Sr = 5, Zr(function() {
1096
1096
  return { current: t };
1097
1097
  }, []);
1098
1098
  }
@@ -1109,16 +1109,16 @@ function co(t, e, r) {
1109
1109
  };
1110
1110
  }, r == null ? r : r.concat(t));
1111
1111
  }
1112
- function qr(t, e) {
1112
+ function Zr(t, e) {
1113
1113
  var r = dr($t++, 7);
1114
1114
  return po(r.__H, e) && (r.__ = t(), r.__H = e, r.__h = t), r.__;
1115
1115
  }
1116
1116
  function uo(t, e) {
1117
- return Sr = 8, qr(function() {
1117
+ return Sr = 8, Zr(function() {
1118
1118
  return t;
1119
1119
  }, e);
1120
1120
  }
1121
- function Zr(t) {
1121
+ function Yr(t) {
1122
1122
  var e = be.context[t.__c], r = dr($t++, 9);
1123
1123
  return r.c = t, e ? (r.__ == null && (r.__ = !0, e.sub(be)), e.props.value) : t.__;
1124
1124
  }
@@ -1144,7 +1144,7 @@ function ho() {
1144
1144
  }
1145
1145
  function Cc() {
1146
1146
  for (var t; t = va.shift(); ) if (t.__P && t.__H) try {
1147
- t.__H.__h.forEach(Dn), t.__H.__h.forEach(Ki), t.__H.__h = [];
1147
+ t.__H.__h.forEach(Dn), t.__H.__h.forEach(Gi), t.__H.__h = [];
1148
1148
  } catch (e) {
1149
1149
  t.__H.__h = [], Te.__e(e, t.__v);
1150
1150
  }
@@ -1156,20 +1156,20 @@ Te.__b = function(t) {
1156
1156
  }, Te.__r = function(t) {
1157
1157
  ns && ns(t), $t = 0;
1158
1158
  var e = (be = t.__c).__H;
1159
- e && (xi === be ? (e.__h = [], be.__h = [], e.__.forEach(function(r) {
1159
+ e && (Ai === be ? (e.__h = [], be.__h = [], e.__.forEach(function(r) {
1160
1160
  r.__N && (r.__ = r.__N), r.u = r.__N = void 0;
1161
- })) : (e.__h.forEach(Dn), e.__h.forEach(Ki), e.__h = [], $t = 0)), xi = be;
1161
+ })) : (e.__h.forEach(Dn), e.__h.forEach(Gi), e.__h = [], $t = 0)), Ai = be;
1162
1162
  }, Te.diffed = function(t) {
1163
1163
  is && is(t);
1164
1164
  var e = t.__c;
1165
1165
  e && e.__H && (e.__H.__h.length && (va.push(e) !== 1 && ts === Te.requestAnimationFrame || ((ts = Te.requestAnimationFrame) || Sc)(Cc)), e.__H.__.forEach(function(r) {
1166
1166
  r.u && (r.__H = r.u), r.u = void 0;
1167
- })), xi = be = null;
1167
+ })), Ai = be = null;
1168
1168
  }, Te.__c = function(t, e) {
1169
1169
  e.some(function(r) {
1170
1170
  try {
1171
1171
  r.__h.forEach(Dn), r.__h = r.__h.filter(function(n) {
1172
- return !n.__ || Ki(n);
1172
+ return !n.__ || Gi(n);
1173
1173
  });
1174
1174
  } catch (n) {
1175
1175
  e.some(function(i) {
@@ -1199,7 +1199,7 @@ function Dn(t) {
1199
1199
  var e = be, r = t.__c;
1200
1200
  typeof r == "function" && (t.__c = void 0, r()), be = e;
1201
1201
  }
1202
- function Ki(t) {
1202
+ function Gi(t) {
1203
1203
  var e = be;
1204
1204
  t.__c = t.__(), be = e;
1205
1205
  }
@@ -1215,7 +1215,7 @@ function ba(t, e) {
1215
1215
  for (var r in e) t[r] = e[r];
1216
1216
  return t;
1217
1217
  }
1218
- function Gi(t, e) {
1218
+ function qi(t, e) {
1219
1219
  for (var r in t) if (r !== "__source" && !(r in e)) return !0;
1220
1220
  for (var n in e) if (n !== "__source" && t[n] !== e[n]) return !0;
1221
1221
  return !1;
@@ -1223,14 +1223,14 @@ function Gi(t, e) {
1223
1223
  function _o(t, e) {
1224
1224
  var r = e(), n = Me({ t: { __: r, u: e } }), i = n[0].t, o = n[1];
1225
1225
  return Zt(function() {
1226
- i.__ = r, i.u = e, Ai(i) && o({ t: i });
1226
+ i.__ = r, i.u = e, Ri(i) && o({ t: i });
1227
1227
  }, [t, r, e]), nt(function() {
1228
- return Ai(i) && o({ t: i }), t(function() {
1229
- Ai(i) && o({ t: i });
1228
+ return Ri(i) && o({ t: i }), t(function() {
1229
+ Ri(i) && o({ t: i });
1230
1230
  });
1231
1231
  }, [t]), r;
1232
1232
  }
1233
- function Ai(t) {
1233
+ function Ri(t) {
1234
1234
  var e, r, n = t.u, i = t.__;
1235
1235
  try {
1236
1236
  var o = n();
@@ -1255,7 +1255,7 @@ function $n(t, e) {
1255
1255
  function Ca(t, e) {
1256
1256
  function r(i) {
1257
1257
  var o = this.props.ref, s = o == i.ref;
1258
- return !s && o && (o.call ? o(null) : o.current = null), e ? !e(this.props, i) || !s : Gi(this.props, i);
1258
+ return !s && o && (o.call ? o(null) : o.current = null), e ? !e(this.props, i) || !s : qi(this.props, i);
1259
1259
  }
1260
1260
  function n(i) {
1261
1261
  return this.shouldComponentUpdate = r, wt(t, i);
@@ -1263,7 +1263,7 @@ function Ca(t, e) {
1263
1263
  return n.displayName = "Memo(" + (t.displayName || t.name) + ")", n.prototype.isReactComponent = !0, n.__f = !0, n.type = t, n;
1264
1264
  }
1265
1265
  ($n.prototype = new ht()).isPureReactComponent = !0, $n.prototype.shouldComponentUpdate = function(t, e) {
1266
- return Gi(this.props, t) || Gi(this.state, e);
1266
+ return qi(this.props, t) || qi(this.state, e);
1267
1267
  };
1268
1268
  var cs = se.__b;
1269
1269
  se.__b = function(t) {
@@ -1305,7 +1305,7 @@ function Oa(t, e, r) {
1305
1305
  return Oa(n, e, r);
1306
1306
  }), t.__c && t.__c.__P === e && (t.__e && r.appendChild(t.__e), t.__c.__e = !0, t.__c.__P = r)), t;
1307
1307
  }
1308
- function Fr() {
1308
+ function Lr() {
1309
1309
  this.__u = 0, this.o = null, this.__b = null;
1310
1310
  }
1311
1311
  function Ia(t) {
@@ -1331,7 +1331,7 @@ function wr() {
1331
1331
  se.unmount = function(t) {
1332
1332
  var e = t.__c;
1333
1333
  e && e.__R && e.__R(), e && 32 & t.__u && (t.type = null), us && us(t);
1334
- }, (Fr.prototype = new ht()).__c = function(t, e) {
1334
+ }, (Lr.prototype = new ht()).__c = function(t, e) {
1335
1335
  var r = e.__c, n = this;
1336
1336
  n.o == null && (n.o = []), n.o.push(r);
1337
1337
  var i = Ia(n.__v), o = !1, s = function() {
@@ -1349,9 +1349,9 @@ se.unmount = function(t) {
1349
1349
  }
1350
1350
  };
1351
1351
  n.__u++ || 32 & e.__u || n.setState({ __a: n.__b = n.__v.__k[0] }), t.then(s, s);
1352
- }, Fr.prototype.componentWillUnmount = function() {
1352
+ }, Lr.prototype.componentWillUnmount = function() {
1353
1353
  this.o = [];
1354
- }, Fr.prototype.render = function(t, e) {
1354
+ }, Lr.prototype.render = function(t, e) {
1355
1355
  if (this.__b) {
1356
1356
  if (this.__v.__k) {
1357
1357
  var r = document.createElement("div"), n = this.__v.__k[0].__c;
@@ -1474,21 +1474,21 @@ se.diffed = function(t) {
1474
1474
  };
1475
1475
  var Da = { ReactCurrentDispatcher: { current: { readContext: function(t) {
1476
1476
  return yo.__n[t.__c].props.value;
1477
- }, useCallback: uo, useContext: Zr, useDebugValue: fo, useDeferredValue: go, useEffect: nt, useId: ho, useImperativeHandle: co, useInsertionEffect: vo, useLayoutEffect: Zt, useMemo: qr, useReducer: ti, useRef: it, useState: Me, useSyncExternalStore: _o, useTransition: wo } } }, Lc = "18.3.1";
1477
+ }, useCallback: uo, useContext: Yr, useDebugValue: fo, useDeferredValue: go, useEffect: nt, useId: ho, useImperativeHandle: co, useInsertionEffect: vo, useLayoutEffect: Zt, useMemo: Zr, useReducer: ri, useRef: it, useState: Me, useSyncExternalStore: _o, useTransition: wo } } }, Lc = "18.3.1";
1478
1478
  function Ma(t) {
1479
1479
  return wt.bind(null, t);
1480
1480
  }
1481
- function Yr(t) {
1481
+ function Jr(t) {
1482
1482
  return !!t && t.$$typeof === Ra;
1483
1483
  }
1484
1484
  function Pa(t) {
1485
- return Yr(t) && t.type === We;
1485
+ return Jr(t) && t.type === We;
1486
1486
  }
1487
1487
  function Fa(t) {
1488
1488
  return !!t && !!t.displayName && (typeof t.displayName == "string" || t.displayName instanceof String) && t.displayName.startsWith("Memo(");
1489
1489
  }
1490
1490
  function La(t) {
1491
- return Yr(t) ? yc.apply(null, arguments) : t;
1491
+ return Jr(t) ? yc.apply(null, arguments) : t;
1492
1492
  }
1493
1493
  function Ua(t) {
1494
1494
  return !!t.__k && (cr(null, t), !0);
@@ -1500,7 +1500,7 @@ var $a = function(t, e) {
1500
1500
  return t(e);
1501
1501
  }, Ba = function(t, e) {
1502
1502
  return t(e);
1503
- }, Ha = We, Wa = Yr, ue = { useState: Me, useId: ho, useReducer: ti, useEffect: nt, useLayoutEffect: Zt, useInsertionEffect: vo, useTransition: wo, useDeferredValue: go, useSyncExternalStore: _o, startTransition: mo, useRef: it, useImperativeHandle: co, useMemo: qr, useCallback: uo, useContext: Zr, useDebugValue: fo, version: "18.3.1", Children: Ea, render: ka, hydrate: Na, unmountComponentAtNode: Ua, createPortal: Aa, createElement: wt, createContext: lo, createFactory: Ma, cloneElement: La, createRef: ua, Fragment: We, isValidElement: Yr, isElement: Wa, isFragment: Pa, isMemo: Fa, findDOMNode: Va, Component: ht, PureComponent: $n, memo: Ca, forwardRef: Sa, flushSync: Ba, unstable_batchedUpdates: $a, StrictMode: Ha, Suspense: Fr, SuspenseList: wr, lazy: xa, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Da };
1503
+ }, Ha = We, Wa = Jr, fe = { useState: Me, useId: ho, useReducer: ri, useEffect: nt, useLayoutEffect: Zt, useInsertionEffect: vo, useTransition: wo, useDeferredValue: go, useSyncExternalStore: _o, startTransition: mo, useRef: it, useImperativeHandle: co, useMemo: Zr, useCallback: uo, useContext: Yr, useDebugValue: fo, version: "18.3.1", Children: Ea, render: ka, hydrate: Na, unmountComponentAtNode: Ua, createPortal: Aa, createElement: wt, createContext: lo, createFactory: Ma, cloneElement: La, createRef: ua, Fragment: We, isValidElement: Jr, isElement: Wa, isFragment: Pa, isMemo: Fa, findDOMNode: Va, Component: ht, PureComponent: $n, memo: Ca, forwardRef: Sa, flushSync: Ba, unstable_batchedUpdates: $a, StrictMode: Ha, Suspense: Lr, SuspenseList: wr, lazy: xa, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Da };
1504
1504
  const Uc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1505
1505
  __proto__: null,
1506
1506
  Children: Ea,
@@ -1508,7 +1508,7 @@ const Uc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1508
1508
  Fragment: We,
1509
1509
  PureComponent: $n,
1510
1510
  StrictMode: Ha,
1511
- Suspense: Fr,
1511
+ Suspense: Lr,
1512
1512
  SuspenseList: wr,
1513
1513
  __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Da,
1514
1514
  cloneElement: La,
@@ -1517,7 +1517,7 @@ const Uc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1517
1517
  createFactory: Ma,
1518
1518
  createPortal: Aa,
1519
1519
  createRef: ua,
1520
- default: ue,
1520
+ default: fe,
1521
1521
  findDOMNode: Va,
1522
1522
  flushSync: Ba,
1523
1523
  forwardRef: Sa,
@@ -1525,7 +1525,7 @@ const Uc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1525
1525
  isElement: Wa,
1526
1526
  isFragment: Pa,
1527
1527
  isMemo: Fa,
1528
- isValidElement: Yr,
1528
+ isValidElement: Jr,
1529
1529
  lazy: xa,
1530
1530
  memo: Ca,
1531
1531
  render: ka,
@@ -1533,7 +1533,7 @@ const Uc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1533
1533
  unmountComponentAtNode: Ua,
1534
1534
  unstable_batchedUpdates: $a,
1535
1535
  useCallback: uo,
1536
- useContext: Zr,
1536
+ useContext: Yr,
1537
1537
  useDebugValue: fo,
1538
1538
  useDeferredValue: go,
1539
1539
  useEffect: nt,
@@ -1542,8 +1542,8 @@ const Uc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1542
1542
  useImperativeHandle: co,
1543
1543
  useInsertionEffect: vo,
1544
1544
  useLayoutEffect: Zt,
1545
- useMemo: qr,
1546
- useReducer: ti,
1545
+ useMemo: Zr,
1546
+ useReducer: ri,
1547
1547
  useRef: it,
1548
1548
  useState: Me,
1549
1549
  useSyncExternalStore: _o,
@@ -1551,12 +1551,12 @@ const Uc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1551
1551
  version: Lc
1552
1552
  }, Symbol.toStringTag, { value: "Module" })), Vc = (t) => t;
1553
1553
  function $c(t, e = Vc) {
1554
- const r = ue.useSyncExternalStore(
1554
+ const r = fe.useSyncExternalStore(
1555
1555
  t.subscribe,
1556
1556
  () => e(t.getState()),
1557
1557
  () => e(t.getInitialState())
1558
1558
  );
1559
- return ue.useDebugValue(r), r;
1559
+ return fe.useDebugValue(r), r;
1560
1560
  }
1561
1561
  const gs = (t) => {
1562
1562
  const e = pc(t), r = (n) => $c(e, n);
@@ -1588,11 +1588,11 @@ function Hc(t) {
1588
1588
  }
1589
1589
  var B = {};
1590
1590
  const Wc = /* @__PURE__ */ Hc(Uc);
1591
- var Rr = { exports: {} }, jc = Rr.exports, ws;
1591
+ var kr = { exports: {} }, jc = kr.exports, ws;
1592
1592
  function zc() {
1593
1593
  return ws || (ws = 1, (function(t, e) {
1594
1594
  (function(r, n) {
1595
- var i = "1.0.41", o = "", s = "?", a = "function", l = "undefined", d = "object", p = "string", h = "major", c = "model", g = "name", w = "type", f = "vendor", m = "version", S = "architecture", C = "console", b = "mobile", I = "tablet", D = "smarttv", N = "wearable", R = "embedded", fe = 500, _e = "Amazon", ae = "Apple", Z = "ASUS", H = "BlackBerry", K = "Browser", de = "Chrome", le = "Edge", we = "Firefox", ve = "Google", ee = "Honor", z = "Huawei", L = "Lenovo", Y = "LG", te = "Microsoft", Se = "Motorola", re = "Nvidia", $ = "OnePlus", Q = "Opera", Be = "OPPO", je = "Samsung", ot = "Sharp", Xe = "Sony", yt = "Xiaomi", st = "Zebra", Ht = "Facebook", bt = "Chromium OS", pt = "Mac OS", Ct = " Browser", Wt = function(J, oe) {
1595
+ var i = "1.0.41", o = "", s = "?", a = "function", l = "undefined", d = "object", p = "string", f = "major", c = "model", g = "name", w = "type", h = "vendor", m = "version", S = "architecture", C = "console", b = "mobile", I = "tablet", k = "smarttv", N = "wearable", R = "embedded", ae = 500, _e = "Amazon", le = "Apple", Z = "ASUS", H = "BlackBerry", K = "Browser", ue = "Chrome", ce = "Edge", we = "Firefox", ve = "Google", ee = "Honor", z = "Huawei", L = "Lenovo", Y = "LG", te = "Microsoft", Se = "Motorola", re = "Nvidia", $ = "OnePlus", Q = "Opera", Be = "OPPO", je = "Samsung", ot = "Sharp", Xe = "Sony", yt = "Xiaomi", st = "Zebra", Ht = "Facebook", bt = "Chromium OS", pt = "Mac OS", Ct = " Browser", Wt = function(J, oe) {
1596
1596
  var j = {};
1597
1597
  for (var me in J)
1598
1598
  oe[me] && oe[me].length % 2 === 0 ? j[me] = oe[me].concat(J[me]) : j[me] = J[me];
@@ -1609,7 +1609,7 @@ function zc() {
1609
1609
  return typeof J === p ? J.replace(/[^\d\.]/g, o).split(".")[0] : n;
1610
1610
  }, A = function(J, oe) {
1611
1611
  if (typeof J === p)
1612
- return J = J.replace(/^\s\s*/, o), typeof oe === l ? J : J.substring(0, fe);
1612
+ return J = J.replace(/^\s\s*/, o), typeof oe === l ? J : J.substring(0, ae);
1613
1613
  }, V = function(J, oe) {
1614
1614
  for (var j = 0, me, He, xe, he, q, ze; j < oe.length && !q; ) {
1615
1615
  var jt = oe[j], Jt = oe[j + 1];
@@ -1628,19 +1628,19 @@ function zc() {
1628
1628
  } else if (tt(oe[j], J))
1629
1629
  return j === s ? n : j;
1630
1630
  return oe.hasOwnProperty("*") ? oe["*"] : J;
1631
- }, P = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, W = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, ne = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [m, [g, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [m, [g, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [g, m], [/opios[\/ ]+([\w\.]+)/i], [m, [g, Q + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [m, [g, Q + " GX"]], [/\bopr\/([\w\.]+)/i], [m, [g, Q]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [m, [g, "Baidu"]], [/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i], [m, [g, "Maxthon"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i, /(heytap|ovi|115)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [g, m], [/quark(?:pc)?\/([-\w\.]+)/i], [m, [g, "Quark"]], [/\bddg\/([\w\.]+)/i], [m, [g, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [m, [g, "UC" + K]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [m, [g, "WeChat"]], [/konqueror\/([\w\.]+)/i], [m, [g, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [m, [g, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [m, [g, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [m, [g, "Smart Lenovo " + K]], [/(avast|avg)\/([\w\.]+)/i], [[g, /(.+)/, "$1 Secure " + K], m], [/\bfocus\/([\w\.]+)/i], [m, [g, we + " Focus"]], [/\bopt\/([\w\.]+)/i], [m, [g, Q + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [m, [g, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [m, [g, "Dolphin"]], [/coast\/([\w\.]+)/i], [m, [g, Q + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [m, [g, "MIUI" + Ct]], [/fxios\/([\w\.-]+)/i], [m, [g, we]], [/\bqihoobrowser\/?([\w\.]*)/i], [m, [g, "360"]], [/\b(qq)\/([\w\.]+)/i], [[g, /(.+)/, "$1Browser"], m], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[g, /(.+)/, "$1" + Ct], m], [/samsungbrowser\/([\w\.]+)/i], [m, [g, je + " Internet"]], [/metasr[\/ ]?([\d\.]+)/i], [m, [g, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[g, "Sogou Mobile"], m], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i], [g, m], [/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i], [g], [/ome\/([\w\.]+) \w* ?(iron) saf/i, /ome\/([\w\.]+).+qihu (360)[es]e/i], [m, g], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[g, Ht], m], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /(daum)apps[\/ ]([\w\.]+)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [g, m], [/\bgsa\/([\w\.]+) .*safari\//i], [m, [g, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [m, [g, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [m, [g, de + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[g, de + " WebView"], m], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [m, [g, "Android " + K]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [g, m], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [m, [g, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [m, g], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [g, [m, M, P]], [/(webkit|khtml)\/([\w\.]+)/i], [g, m], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[g, "Netscape"], m], [/(wolvic|librewolf)\/([\w\.]+)/i], [g, m], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [m, [g, we + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /\b(links) \(([\w\.]+)/i], [g, [m, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [g, [m, /master.|lts./, ""]]], cpu: [[/\b((amd|x|x86[-_]?|wow|win)64)\b/i], [[S, "amd64"]], [/(ia32(?=;))/i, /\b((i[346]|x)86)(pc)?\b/i], [[S, "ia32"]], [/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i], [[S, "arm64"]], [/\b(arm(v[67])?ht?n?[fl]p?)\b/i], [[S, "armhf"]], [/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i], [[S, "arm"]], [/((ppc|powerpc)(64)?)( mac|;|\))/i], [[S, /ower/, o, y]], [/ sun4\w[;\)]/i], [[S, "sparc"]], [/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i], [[S, y]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [c, [f, je], [w, I]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [c, [f, je], [w, b]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [c, [f, ae], [w, b]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [c, [f, ae], [w, I]], [/(macintosh);/i], [c, [f, ae]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [c, [f, ot], [w, b]], [/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i], [c, [f, ee], [w, I]], [/honor([-\w ]+)[;\)]/i], [c, [f, ee], [w, b]], [/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i], [c, [f, z], [w, I]], [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [c, [f, z], [w, b]], [/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i, /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i], [[c, /_/g, " "], [f, yt], [w, I]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i, / ([\w ]+) miui\/v?\d/i], [[c, /_/g, " "], [f, yt], [w, b]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [c, [f, Be], [w, b]], [/\b(opd2(\d{3}a?))(?: bui|\))/i], [c, [f, M, { OnePlus: ["304", "403", "203"], "*": Be }], [w, I]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [c, [f, "Vivo"], [w, b]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [c, [f, "Realme"], [w, b]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [c, [f, Se], [w, b]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [c, [f, Se], [w, I]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [c, [f, Y], [w, I]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i, /\blg-?([\d\w]+) bui/i], [c, [f, Y], [w, b]], [/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i, /lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i], [c, [f, L], [w, I]], [/(nokia) (t[12][01])/i], [f, c, [w, I]], [/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i, /nokia[-_ ]?(([-\w\. ]*))/i], [[c, /_/g, " "], [w, b], [f, "Nokia"]], [/(pixel (c|tablet))\b/i], [c, [f, ve], [w, I]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [c, [f, ve], [w, b]], [/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [c, [f, Xe], [w, b]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[c, "Xperia Tablet"], [f, Xe], [w, I]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [c, [f, $], [w, b]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [c, [f, _e], [w, I]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[c, /(.+)/g, "Fire Phone $1"], [f, _e], [w, b]], [/(playbook);[-\w\),; ]+(rim)/i], [c, f, [w, I]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [c, [f, H], [w, b]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [c, [f, Z], [w, I]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [c, [f, Z], [w, b]], [/(nexus 9)/i], [c, [f, "HTC"], [w, I]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [f, [c, /_/g, " "], [w, b]], [/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i], [c, [f, "TCL"], [w, I]], [/(itel) ((\w+))/i], [[f, y], c, [w, M, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [c, [f, "Acer"], [w, I]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [c, [f, "Meizu"], [w, b]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [c, [f, "Ulefone"], [w, b]], [/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i], [c, [f, "Energizer"], [w, b]], [/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i], [c, [f, "Cat"], [w, b]], [/((?:new )?andromax[\w- ]+)(?: bui|\))/i], [c, [f, "Smartfren"], [w, b]], [/droid.+; (a(?:015|06[35]|142p?))/i], [c, [f, "Nothing"], [w, b]], [/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i, /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i], [c, [f, "Archos"], [w, I]], [/archos ([\w ]+)( b|\))/i, /; (ac[3-6]\d\w{2,8})( b|\))/i], [c, [f, "Archos"], [w, b]], [/(imo) (tab \w+)/i, /(infinix) (x1101b?)/i], [f, c, [w, I]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i, /; (hmd|imo) ([\w ]+?)(?: bui|\))/i, /(hp) ([\w ]+\w)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i, /(oppo) ?([\w ]+) bui/i], [f, c, [w, b]], [/(kobo)\s(ereader|touch)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [f, c, [w, I]], [/(surface duo)/i], [c, [f, te], [w, I]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [c, [f, "Fairphone"], [w, b]], [/(u304aa)/i], [c, [f, "AT&T"], [w, b]], [/\bsie-(\w*)/i], [c, [f, "Siemens"], [w, b]], [/\b(rct\w+) b/i], [c, [f, "RCA"], [w, I]], [/\b(venue[\d ]{2,7}) b/i], [c, [f, "Dell"], [w, I]], [/\b(q(?:mv|ta)\w+) b/i], [c, [f, "Verizon"], [w, I]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [c, [f, "Barnes & Noble"], [w, I]], [/\b(tm\d{3}\w+) b/i], [c, [f, "NuVision"], [w, I]], [/\b(k88) b/i], [c, [f, "ZTE"], [w, I]], [/\b(nx\d{3}j) b/i], [c, [f, "ZTE"], [w, b]], [/\b(gen\d{3}) b.+49h/i], [c, [f, "Swiss"], [w, b]], [/\b(zur\d{3}) b/i], [c, [f, "Swiss"], [w, I]], [/\b((zeki)?tb.*\b) b/i], [c, [f, "Zeki"], [w, I]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[f, "Dragon Touch"], c, [w, I]], [/\b(ns-?\w{0,9}) b/i], [c, [f, "Insignia"], [w, I]], [/\b((nxa|next)-?\w{0,9}) b/i], [c, [f, "NextBook"], [w, I]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[f, "Voice"], c, [w, b]], [/\b(lvtel\-)?(v1[12]) b/i], [[f, "LvTel"], c, [w, b]], [/\b(ph-1) /i], [c, [f, "Essential"], [w, b]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [c, [f, "Envizen"], [w, I]], [/\b(trio[-\w\. ]+) b/i], [c, [f, "MachSpeed"], [w, I]], [/\btu_(1491) b/i], [c, [f, "Rotor"], [w, I]], [/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i], [c, [f, re], [w, I]], [/(sprint) (\w+)/i], [f, c, [w, b]], [/(kin\.[onetw]{3})/i], [[c, /\./g, " "], [f, te], [w, b]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [c, [f, st], [w, I]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [c, [f, st], [w, b]], [/smart-tv.+(samsung)/i], [f, [w, D]], [/hbbtv.+maple;(\d+)/i], [[c, /^/, "SmartTV"], [f, je], [w, D]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[f, Y], [w, D]], [/(apple) ?tv/i], [f, [c, ae + " TV"], [w, D]], [/crkey/i], [[c, de + "cast"], [f, ve], [w, D]], [/droid.+aft(\w+)( bui|\))/i], [c, [f, _e], [w, D]], [/(shield \w+ tv)/i], [c, [f, re], [w, D]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [c, [f, ot], [w, D]], [/(bravia[\w ]+)( bui|\))/i], [c, [f, Xe], [w, D]], [/(mi(tv|box)-?\w+) bui/i], [c, [f, yt], [w, D]], [/Hbbtv.*(technisat) (.*);/i], [f, c, [w, D]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[f, A], [c, A], [w, D]], [/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i], [c, [w, D]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[w, D]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [f, c, [w, C]], [/droid.+; (shield)( bui|\))/i], [c, [f, re], [w, C]], [/(playstation \w+)/i], [c, [f, Xe], [w, C]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [c, [f, te], [w, C]], [/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i], [c, [f, je], [w, N]], [/((pebble))app/i, /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i], [f, c, [w, N]], [/(ow(?:19|20)?we?[1-3]{1,3})/i], [c, [f, Be], [w, N]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [c, [f, ae], [w, N]], [/(opwwe\d{3})/i], [c, [f, $], [w, N]], [/(moto 360)/i], [c, [f, Se], [w, N]], [/(smartwatch 3)/i], [c, [f, Xe], [w, N]], [/(g watch r)/i], [c, [f, Y], [w, N]], [/droid.+; (wt63?0{2,3})\)/i], [c, [f, st], [w, N]], [/droid.+; (glass) \d/i], [c, [f, ve], [w, N]], [/(pico) (4|neo3(?: link|pro)?)/i], [f, c, [w, N]], [/; (quest( \d| pro)?)/i], [c, [f, Ht], [w, N]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [f, [w, R]], [/(aeobc)\b/i], [c, [f, _e], [w, R]], [/(homepod).+mac os/i], [c, [f, ae], [w, R]], [/windows iot/i], [[w, R]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [c, [w, b]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [c, [w, I]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[w, I]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[w, b]], [/droid .+?; ([\w\. -]+)( bui|\))/i], [c, [f, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [m, [g, le + "HTML"]], [/(arkweb)\/([\w\.]+)/i], [g, m], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [m, [g, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [g, m], [/ladybird\//i], [[g, "LibWeb"]], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [m, g]], os: [[/microsoft (windows) (vista|xp)/i], [g, m], [/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i], [g, [m, M, W]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[m, M, W], [g, "Windows"]], [/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[m, /_/g, "."], [g, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[g, pt], [m, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [m, g], [/(ubuntu) ([\w\.]+) like android/i], [[g, /(.+)/, "$1 Touch"], m], [/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i], [g, m], [/\(bb(10);/i], [m, [g, H]], [/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i], [m, [g, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [m, [g, we + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [m, [g, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [m, [g, "watchOS"]], [/crkey\/([\d\.]+)/i], [m, [g, de + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[g, bt], m], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [g, m], [/(sunos) ?([\w\.\d]*)/i], [[g, "Solaris"], m], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [g, m]] }, G = function(J, oe) {
1631
+ }, P = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, W = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, ne = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [m, [g, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [m, [g, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [g, m], [/opios[\/ ]+([\w\.]+)/i], [m, [g, Q + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [m, [g, Q + " GX"]], [/\bopr\/([\w\.]+)/i], [m, [g, Q]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [m, [g, "Baidu"]], [/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i], [m, [g, "Maxthon"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i, /(heytap|ovi|115)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [g, m], [/quark(?:pc)?\/([-\w\.]+)/i], [m, [g, "Quark"]], [/\bddg\/([\w\.]+)/i], [m, [g, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [m, [g, "UC" + K]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [m, [g, "WeChat"]], [/konqueror\/([\w\.]+)/i], [m, [g, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [m, [g, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [m, [g, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [m, [g, "Smart Lenovo " + K]], [/(avast|avg)\/([\w\.]+)/i], [[g, /(.+)/, "$1 Secure " + K], m], [/\bfocus\/([\w\.]+)/i], [m, [g, we + " Focus"]], [/\bopt\/([\w\.]+)/i], [m, [g, Q + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [m, [g, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [m, [g, "Dolphin"]], [/coast\/([\w\.]+)/i], [m, [g, Q + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [m, [g, "MIUI" + Ct]], [/fxios\/([\w\.-]+)/i], [m, [g, we]], [/\bqihoobrowser\/?([\w\.]*)/i], [m, [g, "360"]], [/\b(qq)\/([\w\.]+)/i], [[g, /(.+)/, "$1Browser"], m], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[g, /(.+)/, "$1" + Ct], m], [/samsungbrowser\/([\w\.]+)/i], [m, [g, je + " Internet"]], [/metasr[\/ ]?([\d\.]+)/i], [m, [g, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[g, "Sogou Mobile"], m], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i], [g, m], [/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i], [g], [/ome\/([\w\.]+) \w* ?(iron) saf/i, /ome\/([\w\.]+).+qihu (360)[es]e/i], [m, g], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[g, Ht], m], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /(daum)apps[\/ ]([\w\.]+)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [g, m], [/\bgsa\/([\w\.]+) .*safari\//i], [m, [g, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [m, [g, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [m, [g, ue + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[g, ue + " WebView"], m], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [m, [g, "Android " + K]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [g, m], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [m, [g, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [m, g], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [g, [m, M, P]], [/(webkit|khtml)\/([\w\.]+)/i], [g, m], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[g, "Netscape"], m], [/(wolvic|librewolf)\/([\w\.]+)/i], [g, m], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [m, [g, we + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /\b(links) \(([\w\.]+)/i], [g, [m, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [g, [m, /master.|lts./, ""]]], cpu: [[/\b((amd|x|x86[-_]?|wow|win)64)\b/i], [[S, "amd64"]], [/(ia32(?=;))/i, /\b((i[346]|x)86)(pc)?\b/i], [[S, "ia32"]], [/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i], [[S, "arm64"]], [/\b(arm(v[67])?ht?n?[fl]p?)\b/i], [[S, "armhf"]], [/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i], [[S, "arm"]], [/((ppc|powerpc)(64)?)( mac|;|\))/i], [[S, /ower/, o, y]], [/ sun4\w[;\)]/i], [[S, "sparc"]], [/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i], [[S, y]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [c, [h, je], [w, I]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [c, [h, je], [w, b]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [c, [h, le], [w, b]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [c, [h, le], [w, I]], [/(macintosh);/i], [c, [h, le]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [c, [h, ot], [w, b]], [/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i], [c, [h, ee], [w, I]], [/honor([-\w ]+)[;\)]/i], [c, [h, ee], [w, b]], [/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i], [c, [h, z], [w, I]], [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [c, [h, z], [w, b]], [/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i, /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i], [[c, /_/g, " "], [h, yt], [w, I]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i, / ([\w ]+) miui\/v?\d/i], [[c, /_/g, " "], [h, yt], [w, b]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [c, [h, Be], [w, b]], [/\b(opd2(\d{3}a?))(?: bui|\))/i], [c, [h, M, { OnePlus: ["304", "403", "203"], "*": Be }], [w, I]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [c, [h, "Vivo"], [w, b]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [c, [h, "Realme"], [w, b]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [c, [h, Se], [w, b]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [c, [h, Se], [w, I]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [c, [h, Y], [w, I]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i, /\blg-?([\d\w]+) bui/i], [c, [h, Y], [w, b]], [/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i, /lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i], [c, [h, L], [w, I]], [/(nokia) (t[12][01])/i], [h, c, [w, I]], [/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i, /nokia[-_ ]?(([-\w\. ]*))/i], [[c, /_/g, " "], [w, b], [h, "Nokia"]], [/(pixel (c|tablet))\b/i], [c, [h, ve], [w, I]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [c, [h, ve], [w, b]], [/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [c, [h, Xe], [w, b]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[c, "Xperia Tablet"], [h, Xe], [w, I]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [c, [h, $], [w, b]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [c, [h, _e], [w, I]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[c, /(.+)/g, "Fire Phone $1"], [h, _e], [w, b]], [/(playbook);[-\w\),; ]+(rim)/i], [c, h, [w, I]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [c, [h, H], [w, b]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [c, [h, Z], [w, I]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [c, [h, Z], [w, b]], [/(nexus 9)/i], [c, [h, "HTC"], [w, I]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [h, [c, /_/g, " "], [w, b]], [/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i], [c, [h, "TCL"], [w, I]], [/(itel) ((\w+))/i], [[h, y], c, [w, M, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [c, [h, "Acer"], [w, I]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [c, [h, "Meizu"], [w, b]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [c, [h, "Ulefone"], [w, b]], [/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i], [c, [h, "Energizer"], [w, b]], [/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i], [c, [h, "Cat"], [w, b]], [/((?:new )?andromax[\w- ]+)(?: bui|\))/i], [c, [h, "Smartfren"], [w, b]], [/droid.+; (a(?:015|06[35]|142p?))/i], [c, [h, "Nothing"], [w, b]], [/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i, /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i], [c, [h, "Archos"], [w, I]], [/archos ([\w ]+)( b|\))/i, /; (ac[3-6]\d\w{2,8})( b|\))/i], [c, [h, "Archos"], [w, b]], [/(imo) (tab \w+)/i, /(infinix) (x1101b?)/i], [h, c, [w, I]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i, /; (hmd|imo) ([\w ]+?)(?: bui|\))/i, /(hp) ([\w ]+\w)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i, /(oppo) ?([\w ]+) bui/i], [h, c, [w, b]], [/(kobo)\s(ereader|touch)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [h, c, [w, I]], [/(surface duo)/i], [c, [h, te], [w, I]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [c, [h, "Fairphone"], [w, b]], [/(u304aa)/i], [c, [h, "AT&T"], [w, b]], [/\bsie-(\w*)/i], [c, [h, "Siemens"], [w, b]], [/\b(rct\w+) b/i], [c, [h, "RCA"], [w, I]], [/\b(venue[\d ]{2,7}) b/i], [c, [h, "Dell"], [w, I]], [/\b(q(?:mv|ta)\w+) b/i], [c, [h, "Verizon"], [w, I]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [c, [h, "Barnes & Noble"], [w, I]], [/\b(tm\d{3}\w+) b/i], [c, [h, "NuVision"], [w, I]], [/\b(k88) b/i], [c, [h, "ZTE"], [w, I]], [/\b(nx\d{3}j) b/i], [c, [h, "ZTE"], [w, b]], [/\b(gen\d{3}) b.+49h/i], [c, [h, "Swiss"], [w, b]], [/\b(zur\d{3}) b/i], [c, [h, "Swiss"], [w, I]], [/\b((zeki)?tb.*\b) b/i], [c, [h, "Zeki"], [w, I]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[h, "Dragon Touch"], c, [w, I]], [/\b(ns-?\w{0,9}) b/i], [c, [h, "Insignia"], [w, I]], [/\b((nxa|next)-?\w{0,9}) b/i], [c, [h, "NextBook"], [w, I]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[h, "Voice"], c, [w, b]], [/\b(lvtel\-)?(v1[12]) b/i], [[h, "LvTel"], c, [w, b]], [/\b(ph-1) /i], [c, [h, "Essential"], [w, b]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [c, [h, "Envizen"], [w, I]], [/\b(trio[-\w\. ]+) b/i], [c, [h, "MachSpeed"], [w, I]], [/\btu_(1491) b/i], [c, [h, "Rotor"], [w, I]], [/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i], [c, [h, re], [w, I]], [/(sprint) (\w+)/i], [h, c, [w, b]], [/(kin\.[onetw]{3})/i], [[c, /\./g, " "], [h, te], [w, b]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [c, [h, st], [w, I]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [c, [h, st], [w, b]], [/smart-tv.+(samsung)/i], [h, [w, k]], [/hbbtv.+maple;(\d+)/i], [[c, /^/, "SmartTV"], [h, je], [w, k]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[h, Y], [w, k]], [/(apple) ?tv/i], [h, [c, le + " TV"], [w, k]], [/crkey/i], [[c, ue + "cast"], [h, ve], [w, k]], [/droid.+aft(\w+)( bui|\))/i], [c, [h, _e], [w, k]], [/(shield \w+ tv)/i], [c, [h, re], [w, k]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [c, [h, ot], [w, k]], [/(bravia[\w ]+)( bui|\))/i], [c, [h, Xe], [w, k]], [/(mi(tv|box)-?\w+) bui/i], [c, [h, yt], [w, k]], [/Hbbtv.*(technisat) (.*);/i], [h, c, [w, k]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[h, A], [c, A], [w, k]], [/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i], [c, [w, k]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[w, k]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [h, c, [w, C]], [/droid.+; (shield)( bui|\))/i], [c, [h, re], [w, C]], [/(playstation \w+)/i], [c, [h, Xe], [w, C]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [c, [h, te], [w, C]], [/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i], [c, [h, je], [w, N]], [/((pebble))app/i, /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i], [h, c, [w, N]], [/(ow(?:19|20)?we?[1-3]{1,3})/i], [c, [h, Be], [w, N]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [c, [h, le], [w, N]], [/(opwwe\d{3})/i], [c, [h, $], [w, N]], [/(moto 360)/i], [c, [h, Se], [w, N]], [/(smartwatch 3)/i], [c, [h, Xe], [w, N]], [/(g watch r)/i], [c, [h, Y], [w, N]], [/droid.+; (wt63?0{2,3})\)/i], [c, [h, st], [w, N]], [/droid.+; (glass) \d/i], [c, [h, ve], [w, N]], [/(pico) (4|neo3(?: link|pro)?)/i], [h, c, [w, N]], [/; (quest( \d| pro)?)/i], [c, [h, Ht], [w, N]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [h, [w, R]], [/(aeobc)\b/i], [c, [h, _e], [w, R]], [/(homepod).+mac os/i], [c, [h, le], [w, R]], [/windows iot/i], [[w, R]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [c, [w, b]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [c, [w, I]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[w, I]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[w, b]], [/droid .+?; ([\w\. -]+)( bui|\))/i], [c, [h, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [m, [g, ce + "HTML"]], [/(arkweb)\/([\w\.]+)/i], [g, m], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [m, [g, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [g, m], [/ladybird\//i], [[g, "LibWeb"]], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [m, g]], os: [[/microsoft (windows) (vista|xp)/i], [g, m], [/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i], [g, [m, M, W]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[m, M, W], [g, "Windows"]], [/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[m, /_/g, "."], [g, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[g, pt], [m, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [m, g], [/(ubuntu) ([\w\.]+) like android/i], [[g, /(.+)/, "$1 Touch"], m], [/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i], [g, m], [/\(bb(10);/i], [m, [g, H]], [/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i], [m, [g, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [m, [g, we + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [m, [g, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [m, [g, "watchOS"]], [/crkey\/([\d\.]+)/i], [m, [g, ue + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[g, bt], m], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [g, m], [/(sunos) ?([\w\.\d]*)/i], [[g, "Solaris"], m], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [g, m]] }, G = function(J, oe) {
1632
1632
  if (typeof J === d && (oe = J, J = n), !(this instanceof G))
1633
1633
  return new G(J, oe).getResult();
1634
1634
  var j = typeof r !== l && r.navigator ? r.navigator : n, me = J || (j && j.userAgent ? j.userAgent : o), He = j && j.userAgentData ? j.userAgentData : n, xe = oe ? Wt(ne, oe) : ne, he = j && j.userAgent == me;
1635
1635
  return this.getBrowser = function() {
1636
1636
  var q = {};
1637
- return q[g] = n, q[m] = n, V.call(q, me, xe.browser), q[h] = T(q[m]), he && j && j.brave && typeof j.brave.isBrave == a && (q[g] = "Brave"), q;
1637
+ return q[g] = n, q[m] = n, V.call(q, me, xe.browser), q[f] = T(q[m]), he && j && j.brave && typeof j.brave.isBrave == a && (q[g] = "Brave"), q;
1638
1638
  }, this.getCPU = function() {
1639
1639
  var q = {};
1640
1640
  return q[S] = n, V.call(q, me, xe.cpu), q;
1641
1641
  }, this.getDevice = function() {
1642
1642
  var q = {};
1643
- return q[f] = n, q[c] = n, q[w] = n, V.call(q, me, xe.device), he && !q[w] && He && He.mobile && (q[w] = b), he && q[c] == "Macintosh" && j && typeof j.standalone !== l && j.maxTouchPoints && j.maxTouchPoints > 2 && (q[c] = "iPad", q[w] = I), q;
1643
+ return q[h] = n, q[c] = n, q[w] = n, V.call(q, me, xe.device), he && !q[w] && He && He.mobile && (q[w] = b), he && q[c] == "Macintosh" && j && typeof j.standalone !== l && j.maxTouchPoints && j.maxTouchPoints > 2 && (q[c] = "iPad", q[w] = I), q;
1644
1644
  }, this.getEngine = function() {
1645
1645
  var q = {};
1646
1646
  return q[g] = n, q[m] = n, V.call(q, me, xe.engine), q;
@@ -1652,10 +1652,10 @@ function zc() {
1652
1652
  }, this.getUA = function() {
1653
1653
  return me;
1654
1654
  }, this.setUA = function(q) {
1655
- return me = typeof q === p && q.length > fe ? A(q, fe) : q, this;
1655
+ return me = typeof q === p && q.length > ae ? A(q, ae) : q, this;
1656
1656
  }, this.setUA(me), this;
1657
1657
  };
1658
- G.VERSION = i, G.BROWSER = _t([g, m, h]), G.CPU = _t([S]), G.DEVICE = _t([c, f, w, C, b, D, I, N, R]), G.ENGINE = G.OS = _t([g, m]), t.exports && (e = t.exports = G), e.UAParser = G;
1658
+ G.VERSION = i, G.BROWSER = _t([g, m, f]), G.CPU = _t([S]), G.DEVICE = _t([c, h, w, C, b, k, I, N, R]), G.ENGINE = G.OS = _t([g, m]), t.exports && (e = t.exports = G), e.UAParser = G;
1659
1659
  var ge = typeof r !== l && (r.jQuery || r.Zepto);
1660
1660
  if (ge && !ge.ua) {
1661
1661
  var Pe = new G();
@@ -1669,7 +1669,7 @@ function zc() {
1669
1669
  };
1670
1670
  }
1671
1671
  })(typeof window == "object" ? window : jc);
1672
- })(Rr, Rr.exports)), Rr.exports;
1672
+ })(kr, kr.exports)), kr.exports;
1673
1673
  }
1674
1674
  var vs;
1675
1675
  function Kc() {
@@ -1678,7 +1678,7 @@ function Kc() {
1678
1678
  function t(E) {
1679
1679
  return E && typeof E == "object" && "default" in E ? E.default : E;
1680
1680
  }
1681
- var e = Wc, r = t(e), n = zc(), i = new n(), o = i.getBrowser(), s = i.getCPU(), a = i.getDevice(), l = i.getEngine(), d = i.getOS(), p = i.getUA(), h = function(_) {
1681
+ var e = Wc, r = t(e), n = zc(), i = new n(), o = i.getBrowser(), s = i.getCPU(), a = i.getDevice(), l = i.getEngine(), d = i.getOS(), p = i.getUA(), f = function(_) {
1682
1682
  return i.setUA(_);
1683
1683
  }, c = function(_) {
1684
1684
  if (!_) {
@@ -1694,8 +1694,8 @@ function Kc() {
1694
1694
  engine: v.getEngine(),
1695
1695
  os: v.getOS(),
1696
1696
  ua: v.getUA(),
1697
- setUserAgent: function(k) {
1698
- return v.setUA(k);
1697
+ setUserAgent: function(D) {
1698
+ return v.setUA(D);
1699
1699
  }
1700
1700
  };
1701
1701
  }, g = /* @__PURE__ */ Object.freeze({
@@ -1706,20 +1706,20 @@ function Kc() {
1706
1706
  engine: l,
1707
1707
  os: d,
1708
1708
  ua: p,
1709
- setUa: h,
1709
+ setUa: f,
1710
1710
  parseUserAgent: c
1711
1711
  });
1712
1712
  function w(E, _) {
1713
1713
  var v = Object.keys(E);
1714
1714
  if (Object.getOwnPropertySymbols) {
1715
1715
  var x = Object.getOwnPropertySymbols(E);
1716
- _ && (x = x.filter(function(k) {
1717
- return Object.getOwnPropertyDescriptor(E, k).enumerable;
1716
+ _ && (x = x.filter(function(D) {
1717
+ return Object.getOwnPropertyDescriptor(E, D).enumerable;
1718
1718
  })), v.push.apply(v, x);
1719
1719
  }
1720
1720
  return v;
1721
1721
  }
1722
- function f(E) {
1722
+ function h(E) {
1723
1723
  for (var _ = 1; _ < arguments.length; _++) {
1724
1724
  var v = arguments[_] != null ? arguments[_] : {};
1725
1725
  _ % 2 ? w(Object(v), !0).forEach(function(x) {
@@ -1759,15 +1759,15 @@ function Kc() {
1759
1759
  writable: !0
1760
1760
  }) : E[_] = v, E;
1761
1761
  }
1762
- function D() {
1763
- return D = Object.assign || function(E) {
1762
+ function k() {
1763
+ return k = Object.assign || function(E) {
1764
1764
  for (var _ = 1; _ < arguments.length; _++) {
1765
1765
  var v = arguments[_];
1766
1766
  for (var x in v)
1767
1767
  Object.prototype.hasOwnProperty.call(v, x) && (E[x] = v[x]);
1768
1768
  }
1769
1769
  return E;
1770
- }, D.apply(this, arguments);
1770
+ }, k.apply(this, arguments);
1771
1771
  }
1772
1772
  function N(E, _) {
1773
1773
  if (typeof _ != "function" && _ !== null)
@@ -1778,32 +1778,32 @@ function Kc() {
1778
1778
  writable: !0,
1779
1779
  configurable: !0
1780
1780
  }
1781
- }), _ && fe(E, _);
1781
+ }), _ && ae(E, _);
1782
1782
  }
1783
1783
  function R(E) {
1784
1784
  return R = Object.setPrototypeOf ? Object.getPrototypeOf : function(v) {
1785
1785
  return v.__proto__ || Object.getPrototypeOf(v);
1786
1786
  }, R(E);
1787
1787
  }
1788
- function fe(E, _) {
1789
- return fe = Object.setPrototypeOf || function(x, k) {
1790
- return x.__proto__ = k, x;
1791
- }, fe(E, _);
1788
+ function ae(E, _) {
1789
+ return ae = Object.setPrototypeOf || function(x, D) {
1790
+ return x.__proto__ = D, x;
1791
+ }, ae(E, _);
1792
1792
  }
1793
1793
  function _e(E, _) {
1794
1794
  if (E == null) return {};
1795
- var v = {}, x = Object.keys(E), k, pe;
1795
+ var v = {}, x = Object.keys(E), D, pe;
1796
1796
  for (pe = 0; pe < x.length; pe++)
1797
- k = x[pe], !(_.indexOf(k) >= 0) && (v[k] = E[k]);
1797
+ D = x[pe], !(_.indexOf(D) >= 0) && (v[D] = E[D]);
1798
1798
  return v;
1799
1799
  }
1800
- function ae(E, _) {
1800
+ function le(E, _) {
1801
1801
  if (E == null) return {};
1802
- var v = _e(E, _), x, k;
1802
+ var v = _e(E, _), x, D;
1803
1803
  if (Object.getOwnPropertySymbols) {
1804
1804
  var pe = Object.getOwnPropertySymbols(E);
1805
- for (k = 0; k < pe.length; k++)
1806
- x = pe[k], !(_.indexOf(x) >= 0) && Object.prototype.propertyIsEnumerable.call(E, x) && (v[x] = E[x]);
1805
+ for (D = 0; D < pe.length; D++)
1806
+ x = pe[D], !(_.indexOf(x) >= 0) && Object.prototype.propertyIsEnumerable.call(E, x) && (v[x] = E[x]);
1807
1807
  }
1808
1808
  return v;
1809
1809
  }
@@ -1820,23 +1820,23 @@ function Kc() {
1820
1820
  return Z(E);
1821
1821
  }
1822
1822
  function K(E, _) {
1823
- return de(E) || le(E, _) || we(E, _) || ee();
1823
+ return ue(E) || ce(E, _) || we(E, _) || ee();
1824
1824
  }
1825
- function de(E) {
1825
+ function ue(E) {
1826
1826
  if (Array.isArray(E)) return E;
1827
1827
  }
1828
- function le(E, _) {
1828
+ function ce(E, _) {
1829
1829
  var v = E == null ? null : typeof Symbol != "undefined" && E[Symbol.iterator] || E["@@iterator"];
1830
1830
  if (v != null) {
1831
- var x = [], k = !0, pe = !1, Ae, Ze;
1831
+ var x = [], D = !0, pe = !1, Ae, Ze;
1832
1832
  try {
1833
- for (v = v.call(E); !(k = (Ae = v.next()).done) && (x.push(Ae.value), !(_ && x.length === _)); k = !0)
1833
+ for (v = v.call(E); !(D = (Ae = v.next()).done) && (x.push(Ae.value), !(_ && x.length === _)); D = !0)
1834
1834
  ;
1835
- } catch (On) {
1836
- pe = !0, Ze = On;
1835
+ } catch (In) {
1836
+ pe = !0, Ze = In;
1837
1837
  } finally {
1838
1838
  try {
1839
- !k && v.return != null && v.return();
1839
+ !D && v.return != null && v.return();
1840
1840
  } finally {
1841
1841
  if (pe) throw Ze;
1842
1842
  }
@@ -1930,7 +1930,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1930
1930
  return te;
1931
1931
  }
1932
1932
  }, re = function(_) {
1933
- return h(_);
1933
+ return f(_);
1934
1934
  }, $ = function(_) {
1935
1935
  var v = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "none";
1936
1936
  return _ || v;
@@ -1939,7 +1939,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1939
1939
  }, Be = function(_) {
1940
1940
  var v = Q();
1941
1941
  return v && v.platform && (v.platform.indexOf(_) !== -1 || v.platform === "MacIntel" && v.maxTouchPoints > 1 && !window.MSStream);
1942
- }, je = function(_, v, x, k, pe) {
1942
+ }, je = function(_, v, x, D, pe) {
1943
1943
  return {
1944
1944
  isBrowser: _,
1945
1945
  browserMajorVersion: $(v.major),
@@ -1947,71 +1947,71 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1947
1947
  browserName: $(v.name),
1948
1948
  engineName: $(x.name),
1949
1949
  engineVersion: $(x.version),
1950
- osName: $(k.name),
1951
- osVersion: $(k.version),
1950
+ osName: $(D.name),
1951
+ osVersion: $(D.version),
1952
1952
  userAgent: $(pe)
1953
1953
  };
1954
- }, ot = function(_, v, x, k) {
1955
- return f({}, _, {
1954
+ }, ot = function(_, v, x, D) {
1955
+ return h({}, _, {
1956
1956
  vendor: $(v.vendor),
1957
1957
  model: $(v.model),
1958
1958
  os: $(x.name),
1959
1959
  osVersion: $(x.version),
1960
- ua: $(k)
1960
+ ua: $(D)
1961
1961
  });
1962
- }, Xe = function(_, v, x, k) {
1962
+ }, Xe = function(_, v, x, D) {
1963
1963
  return {
1964
1964
  isSmartTV: _,
1965
1965
  engineName: $(v.name),
1966
1966
  engineVersion: $(v.version),
1967
1967
  osName: $(x.name),
1968
1968
  osVersion: $(x.version),
1969
- userAgent: $(k)
1969
+ userAgent: $(D)
1970
1970
  };
1971
- }, yt = function(_, v, x, k) {
1971
+ }, yt = function(_, v, x, D) {
1972
1972
  return {
1973
1973
  isConsole: _,
1974
1974
  engineName: $(v.name),
1975
1975
  engineVersion: $(v.version),
1976
1976
  osName: $(x.name),
1977
1977
  osVersion: $(x.version),
1978
- userAgent: $(k)
1978
+ userAgent: $(D)
1979
1979
  };
1980
- }, st = function(_, v, x, k) {
1980
+ }, st = function(_, v, x, D) {
1981
1981
  return {
1982
1982
  isWearable: _,
1983
1983
  engineName: $(v.name),
1984
1984
  engineVersion: $(v.version),
1985
1985
  osName: $(x.name),
1986
1986
  osVersion: $(x.version),
1987
- userAgent: $(k)
1987
+ userAgent: $(D)
1988
1988
  };
1989
- }, Ht = function(_, v, x, k, pe) {
1989
+ }, Ht = function(_, v, x, D, pe) {
1990
1990
  return {
1991
1991
  isEmbedded: _,
1992
1992
  vendor: $(v.vendor),
1993
1993
  model: $(v.model),
1994
1994
  engineName: $(x.name),
1995
1995
  engineVersion: $(x.version),
1996
- osName: $(k.name),
1997
- osVersion: $(k.version),
1996
+ osName: $(D.name),
1997
+ osVersion: $(D.version),
1998
1998
  userAgent: $(pe)
1999
1999
  };
2000
2000
  };
2001
2001
  function bt(E) {
2002
- var _ = E ? c(E) : g, v = _.device, x = _.browser, k = _.engine, pe = _.os, Ae = _.ua, Ze = Se(v.type), On = Ze.isBrowser, Nl = Ze.isMobile, Dl = Ze.isTablet, Mo = Ze.isSmartTV, Po = Ze.isConsole, Fo = Ze.isWearable, Lo = Ze.isEmbedded;
2003
- if (On)
2004
- return je(On, x, k, pe, Ae);
2002
+ var _ = E ? c(E) : g, v = _.device, x = _.browser, D = _.engine, pe = _.os, Ae = _.ua, Ze = Se(v.type), In = Ze.isBrowser, Nl = Ze.isMobile, Dl = Ze.isTablet, Mo = Ze.isSmartTV, Po = Ze.isConsole, Fo = Ze.isWearable, Lo = Ze.isEmbedded;
2003
+ if (In)
2004
+ return je(In, x, D, pe, Ae);
2005
2005
  if (Mo)
2006
- return Xe(Mo, k, pe, Ae);
2006
+ return Xe(Mo, D, pe, Ae);
2007
2007
  if (Po)
2008
- return yt(Po, k, pe, Ae);
2008
+ return yt(Po, D, pe, Ae);
2009
2009
  if (Nl || Dl)
2010
2010
  return ot(Ze, v, pe, Ae);
2011
2011
  if (Fo)
2012
- return st(Fo, k, pe, Ae);
2012
+ return st(Fo, D, pe, Ae);
2013
2013
  if (Lo)
2014
- return Ht(Lo, v, k, pe, Ae);
2014
+ return Ht(Lo, v, D, pe, Ae);
2015
2015
  }
2016
2016
  var pt = function(_) {
2017
2017
  var v = _.type;
@@ -2094,46 +2094,46 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2094
2094
  }, Jt = function(_) {
2095
2095
  var v = _.name;
2096
2096
  return v === L.InternetExplorer || v === L.Ie;
2097
- }, Qr = function(_) {
2097
+ }, en = function(_) {
2098
2098
  var v = _.name;
2099
2099
  return v === L.MIUI;
2100
- }, en = function(_) {
2100
+ }, tn = function(_) {
2101
2101
  var v = _.name;
2102
2102
  return v === L.SamsungBrowser;
2103
- }, tn = function(_) {
2104
- var v = _.version;
2105
- return $(v);
2106
2103
  }, rn = function(_) {
2107
- var v = _.major;
2104
+ var v = _.version;
2108
2105
  return $(v);
2109
2106
  }, nn = function(_) {
2110
- var v = _.name;
2107
+ var v = _.major;
2111
2108
  return $(v);
2112
2109
  }, on = function(_) {
2113
2110
  var v = _.name;
2114
2111
  return $(v);
2115
2112
  }, sn = function(_) {
2113
+ var v = _.name;
2114
+ return $(v);
2115
+ }, an = function(_) {
2116
2116
  var v = _.version;
2117
2117
  return $(v);
2118
- }, an = function() {
2118
+ }, ln = function() {
2119
2119
  var _ = Q(), v = _ && _.userAgent && _.userAgent.toLowerCase();
2120
2120
  return typeof v == "string" ? /electron/.test(v) : !1;
2121
2121
  }, zt = function(_) {
2122
2122
  return typeof _ == "string" && _.indexOf("Edg/") !== -1;
2123
- }, ln = function() {
2123
+ }, cn = function() {
2124
2124
  var _ = Q();
2125
2125
  return _ && (/iPad|iPhone|iPod/.test(_.platform) || _.platform === "MacIntel" && _.maxTouchPoints > 1) && !window.MSStream;
2126
2126
  }, rt = function() {
2127
2127
  return Be("iPad");
2128
- }, cn = function() {
2129
- return Be("iPhone");
2130
2128
  }, dn = function() {
2129
+ return Be("iPhone");
2130
+ }, un = function() {
2131
2131
  return Be("iPod");
2132
- }, un = function(_) {
2132
+ }, fn = function(_) {
2133
2133
  return $(_);
2134
2134
  };
2135
- function fn(E) {
2136
- var _ = E || g, v = _.device, x = _.browser, k = _.os, pe = _.engine, Ae = _.ua;
2135
+ function hn(E) {
2136
+ var _ = E || g, v = _.device, x = _.browser, D = _.os, pe = _.engine, Ae = _.ua;
2137
2137
  return {
2138
2138
  isSmartTV: _t(v),
2139
2139
  isConsole: T(v),
@@ -2146,112 +2146,112 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2146
2146
  isTablet: Ct(v) || rt(),
2147
2147
  isBrowser: tt(v),
2148
2148
  isDesktop: tt(v),
2149
- isAndroid: W(k),
2150
- isWinPhone: ge(k),
2151
- isIOS: Pe(k) || rt(),
2149
+ isAndroid: W(D),
2150
+ isWinPhone: ge(D),
2151
+ isIOS: Pe(D) || rt(),
2152
2152
  isChrome: j(x),
2153
2153
  isFirefox: me(x),
2154
2154
  isSafari: q(x),
2155
2155
  isOpera: jt(x),
2156
2156
  isIE: Jt(x),
2157
- osVersion: J(k),
2158
- osName: oe(k),
2159
- fullBrowserVersion: tn(x),
2160
- browserVersion: rn(x),
2161
- browserName: nn(x),
2157
+ osVersion: J(D),
2158
+ osName: oe(D),
2159
+ fullBrowserVersion: rn(x),
2160
+ browserVersion: nn(x),
2161
+ browserName: on(x),
2162
2162
  mobileVendor: V(v),
2163
2163
  mobileModel: M(v),
2164
- engineName: on(pe),
2165
- engineVersion: sn(pe),
2166
- getUA: un(Ae),
2164
+ engineName: sn(pe),
2165
+ engineVersion: an(pe),
2166
+ getUA: fn(Ae),
2167
2167
  isEdge: xe(x) || zt(Ae),
2168
2168
  isYandex: he(x),
2169
2169
  deviceType: P(v),
2170
- isIOS13: ln(),
2170
+ isIOS13: cn(),
2171
2171
  isIPad13: rt(),
2172
- isIPhone13: cn(),
2173
- isIPod13: dn(),
2174
- isElectron: an(),
2172
+ isIPhone13: dn(),
2173
+ isIPod13: un(),
2174
+ isElectron: ln(),
2175
2175
  isEdgeChromium: zt(Ae),
2176
2176
  isLegacyEdge: xe(x) && !zt(Ae),
2177
- isWindows: ne(k),
2178
- isMacOs: G(k),
2179
- isMIUI: Qr(x),
2180
- isSamsungBrowser: en(x)
2177
+ isWindows: ne(D),
2178
+ isMacOs: G(D),
2179
+ isMIUI: en(x),
2180
+ isSamsungBrowser: tn(x)
2181
2181
  };
2182
2182
  }
2183
- var hn = _t(a), pn = T(a), _n = y(a), ii = A(a), oi = ze(o) || rt(), si = He(o), fr = Wt(a) || rt(), mn = pt(a), gn = Ct(a) || rt(), wn = tt(a), ai = tt(a), vn = W(d), yn = ge(d), bn = Pe(d) || rt(), li = j(o), ci = me(o), di = q(o), ui = jt(o), Cn = Jt(o), fi = J(d), hi = oe(d), pi = tn(o), _i = rn(o), mi = nn(o), gi = V(a), wi = M(a), vi = on(l), yi = sn(l), bi = un(p), mt = xe(o) || zt(p), Ci = he(o), ie = P(a), at = ln(), hr = rt(), Sn = cn(), En = dn(), Tn = an(), dl = zt(p), ul = xe(o) && !zt(p), fl = ne(d), hl = G(d), pl = Qr(o), _l = en(o), ml = function(_) {
2183
+ var pn = _t(a), _n = T(a), mn = y(a), oi = A(a), si = ze(o) || rt(), ai = He(o), fr = Wt(a) || rt(), gn = pt(a), wn = Ct(a) || rt(), vn = tt(a), li = tt(a), yn = W(d), bn = ge(d), Cn = Pe(d) || rt(), ci = j(o), di = me(o), ui = q(o), fi = jt(o), Sn = Jt(o), hi = J(d), pi = oe(d), _i = rn(o), mi = nn(o), gi = on(o), wi = V(a), vi = M(a), yi = sn(l), bi = an(l), Ci = fn(p), mt = xe(o) || zt(p), Si = he(o), ie = P(a), at = cn(), hr = rt(), En = dn(), Tn = un(), On = ln(), dl = zt(p), ul = xe(o) && !zt(p), fl = ne(d), hl = G(d), pl = en(o), _l = tn(o), ml = function(_) {
2184
2184
  if (!_ || typeof _ != "string") {
2185
2185
  console.error("No valid user agent string was provided");
2186
2186
  return;
2187
2187
  }
2188
- var v = c(_), x = v.device, k = v.browser, pe = v.os, Ae = v.engine, Ze = v.ua;
2189
- return fn({
2188
+ var v = c(_), x = v.device, D = v.browser, pe = v.os, Ae = v.engine, Ze = v.ua;
2189
+ return hn({
2190
2190
  device: x,
2191
- browser: k,
2191
+ browser: D,
2192
2192
  os: pe,
2193
2193
  engine: Ae,
2194
2194
  ua: Ze
2195
2195
  });
2196
2196
  }, gl = function(_) {
2197
- var v = _.renderWithFragment, x = _.children, k = ae(_, ["renderWithFragment", "children"]);
2198
- return vn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", k, x) : null;
2197
+ var v = _.renderWithFragment, x = _.children, D = le(_, ["renderWithFragment", "children"]);
2198
+ return yn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", D, x) : null;
2199
2199
  }, wl = function(_) {
2200
- var v = _.renderWithFragment, x = _.children, k = ae(_, ["renderWithFragment", "children"]);
2201
- return wn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", k, x) : null;
2200
+ var v = _.renderWithFragment, x = _.children, D = le(_, ["renderWithFragment", "children"]);
2201
+ return vn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", D, x) : null;
2202
2202
  }, vl = function(_) {
2203
- var v = _.renderWithFragment, x = _.children, k = ae(_, ["renderWithFragment", "children"]);
2204
- return Cn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", k, x) : null;
2203
+ var v = _.renderWithFragment, x = _.children, D = le(_, ["renderWithFragment", "children"]);
2204
+ return Sn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", D, x) : null;
2205
2205
  }, yl = function(_) {
2206
- var v = _.renderWithFragment, x = _.children, k = ae(_, ["renderWithFragment", "children"]);
2207
- return bn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", k, x) : null;
2206
+ var v = _.renderWithFragment, x = _.children, D = le(_, ["renderWithFragment", "children"]);
2207
+ return Cn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", D, x) : null;
2208
2208
  }, bl = function(_) {
2209
- var v = _.renderWithFragment, x = _.children, k = ae(_, ["renderWithFragment", "children"]);
2210
- return fr ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", k, x) : null;
2209
+ var v = _.renderWithFragment, x = _.children, D = le(_, ["renderWithFragment", "children"]);
2210
+ return fr ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", D, x) : null;
2211
2211
  }, Cl = function(_) {
2212
- var v = _.renderWithFragment, x = _.children, k = ae(_, ["renderWithFragment", "children"]);
2213
- return gn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", k, x) : null;
2212
+ var v = _.renderWithFragment, x = _.children, D = le(_, ["renderWithFragment", "children"]);
2213
+ return wn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", D, x) : null;
2214
2214
  }, Sl = function(_) {
2215
- var v = _.renderWithFragment, x = _.children, k = ae(_, ["renderWithFragment", "children"]);
2216
- return yn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", k, x) : null;
2215
+ var v = _.renderWithFragment, x = _.children, D = le(_, ["renderWithFragment", "children"]);
2216
+ return bn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", D, x) : null;
2217
2217
  }, El = function(_) {
2218
2218
  var v = _.renderWithFragment, x = _.children;
2219
2219
  _.viewClassName, _.style;
2220
- var k = ae(_, ["renderWithFragment", "children", "viewClassName", "style"]);
2221
- return mn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", k, x) : null;
2220
+ var D = le(_, ["renderWithFragment", "children", "viewClassName", "style"]);
2221
+ return gn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", D, x) : null;
2222
2222
  }, Tl = function(_) {
2223
- var v = _.renderWithFragment, x = _.children, k = ae(_, ["renderWithFragment", "children"]);
2224
- return hn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", k, x) : null;
2223
+ var v = _.renderWithFragment, x = _.children, D = le(_, ["renderWithFragment", "children"]);
2224
+ return pn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", D, x) : null;
2225
2225
  }, Ol = function(_) {
2226
- var v = _.renderWithFragment, x = _.children, k = ae(_, ["renderWithFragment", "children"]);
2227
- return pn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", k, x) : null;
2226
+ var v = _.renderWithFragment, x = _.children, D = le(_, ["renderWithFragment", "children"]);
2227
+ return _n ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", D, x) : null;
2228
2228
  }, Il = function(_) {
2229
- var v = _.renderWithFragment, x = _.children, k = ae(_, ["renderWithFragment", "children"]);
2230
- return _n ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", k, x) : null;
2229
+ var v = _.renderWithFragment, x = _.children, D = le(_, ["renderWithFragment", "children"]);
2230
+ return mn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", D, x) : null;
2231
2231
  }, xl = function(_) {
2232
2232
  var v = _.renderWithFragment, x = _.children;
2233
2233
  _.viewClassName, _.style;
2234
- var k = _.condition, pe = ae(_, ["renderWithFragment", "children", "viewClassName", "style", "condition"]);
2235
- return k ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", pe, x) : null;
2234
+ var D = _.condition, pe = le(_, ["renderWithFragment", "children", "viewClassName", "style", "condition"]);
2235
+ return D ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", pe, x) : null;
2236
2236
  };
2237
2237
  function Al(E) {
2238
2238
  return /* @__PURE__ */ (function(_) {
2239
2239
  N(v, _);
2240
2240
  function v(x) {
2241
- var k;
2242
- return S(this, v), k = H(this, R(v).call(this, x)), k.isEventListenerAdded = !1, k.handleOrientationChange = k.handleOrientationChange.bind(Z(k)), k.onOrientationChange = k.onOrientationChange.bind(Z(k)), k.onPageLoad = k.onPageLoad.bind(Z(k)), k.state = {
2241
+ var D;
2242
+ return S(this, v), D = H(this, R(v).call(this, x)), D.isEventListenerAdded = !1, D.handleOrientationChange = D.handleOrientationChange.bind(Z(D)), D.onOrientationChange = D.onOrientationChange.bind(Z(D)), D.onPageLoad = D.onPageLoad.bind(Z(D)), D.state = {
2243
2243
  isLandscape: !1,
2244
2244
  isPortrait: !1
2245
- }, k;
2245
+ }, D;
2246
2246
  }
2247
2247
  return b(v, [{
2248
2248
  key: "handleOrientationChange",
2249
2249
  value: function() {
2250
2250
  this.isEventListenerAdded || (this.isEventListenerAdded = !0);
2251
- var k = window.innerWidth > window.innerHeight ? 90 : 0;
2251
+ var D = window.innerWidth > window.innerHeight ? 90 : 0;
2252
2252
  this.setState({
2253
- isPortrait: k === 0,
2254
- isLandscape: k === 90
2253
+ isPortrait: D === 0,
2254
+ isLandscape: D === 90
2255
2255
  });
2256
2256
  }
2257
2257
  }, {
@@ -2277,7 +2277,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2277
2277
  }, {
2278
2278
  key: "render",
2279
2279
  value: function() {
2280
- return r.createElement(E, D({}, this.props, {
2280
+ return r.createElement(E, k({}, this.props, {
2281
2281
  isLandscape: this.state.isLandscape,
2282
2282
  isPortrait: this.state.isPortrait
2283
2283
  }));
@@ -2293,7 +2293,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2293
2293
  isLandscape: pe === 90,
2294
2294
  orientation: pe === 0 ? "portrait" : "landscape"
2295
2295
  };
2296
- }), _ = K(E, 2), v = _[0], x = _[1], k = e.useCallback(function() {
2296
+ }), _ = K(E, 2), v = _[0], x = _[1], D = e.useCallback(function() {
2297
2297
  var pe = window.innerWidth > window.innerHeight ? 90 : 0, Ae = {
2298
2298
  isPortrait: pe === 0,
2299
2299
  isLandscape: pe === 90,
@@ -2302,29 +2302,29 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2302
2302
  v.orientation !== Ae.orientation && x(Ae);
2303
2303
  }, [v.orientation]);
2304
2304
  return e.useEffect(function() {
2305
- return (typeof window == "undefined" ? "undefined" : m(window)) !== void 0 && fr && (k(), window.addEventListener("load", k, !1), window.addEventListener("resize", k, !1)), function() {
2306
- window.removeEventListener("resize", k, !1), window.removeEventListener("load", k, !1);
2305
+ return (typeof window == "undefined" ? "undefined" : m(window)) !== void 0 && fr && (D(), window.addEventListener("load", D, !1), window.addEventListener("resize", D, !1)), function() {
2306
+ window.removeEventListener("resize", D, !1), window.removeEventListener("load", D, !1);
2307
2307
  };
2308
- }, [k]), v;
2308
+ }, [D]), v;
2309
2309
  }
2310
2310
  function Do(E) {
2311
2311
  var _ = E || window.navigator.userAgent;
2312
2312
  return c(_);
2313
2313
  }
2314
2314
  function kl(E) {
2315
- var _ = E || window.navigator.userAgent, v = Do(_), x = fn(v);
2315
+ var _ = E || window.navigator.userAgent, v = Do(_), x = hn(v);
2316
2316
  return [x, v];
2317
2317
  }
2318
- return B.AndroidView = gl, B.BrowserTypes = L, B.BrowserView = wl, B.ConsoleView = Ol, B.CustomView = xl, B.IEView = vl, B.IOSView = yl, B.MobileOnlyView = El, B.MobileView = bl, B.OsTypes = Y, B.SmartTVView = Tl, B.TabletView = Cl, B.WearableView = Il, B.WinPhoneView = Sl, B.browserName = mi, B.browserVersion = _i, B.deviceDetect = bt, B.deviceType = ie, B.engineName = vi, B.engineVersion = yi, B.fullBrowserVersion = pi, B.getSelectorsByUserAgent = ml, B.getUA = bi, B.isAndroid = vn, B.isBrowser = wn, B.isChrome = li, B.isChromium = si, B.isConsole = pn, B.isDesktop = ai, B.isEdge = mt, B.isEdgeChromium = dl, B.isElectron = Tn, B.isEmbedded = ii, B.isFirefox = ci, B.isIE = Cn, B.isIOS = bn, B.isIOS13 = at, B.isIPad13 = hr, B.isIPhone13 = Sn, B.isIPod13 = En, B.isLegacyEdge = ul, B.isMIUI = pl, B.isMacOs = hl, B.isMobile = fr, B.isMobileOnly = mn, B.isMobileSafari = oi, B.isOpera = ui, B.isSafari = di, B.isSamsungBrowser = _l, B.isSmartTV = hn, B.isTablet = gn, B.isWearable = _n, B.isWinPhone = yn, B.isWindows = fl, B.isYandex = Ci, B.mobileModel = wi, B.mobileVendor = gi, B.osName = hi, B.osVersion = fi, B.parseUserAgent = c, B.setUserAgent = re, B.useDeviceData = Do, B.useDeviceSelectors = kl, B.useMobileOrientation = Rl, B.withOrientationChange = Al, B;
2318
+ return B.AndroidView = gl, B.BrowserTypes = L, B.BrowserView = wl, B.ConsoleView = Ol, B.CustomView = xl, B.IEView = vl, B.IOSView = yl, B.MobileOnlyView = El, B.MobileView = bl, B.OsTypes = Y, B.SmartTVView = Tl, B.TabletView = Cl, B.WearableView = Il, B.WinPhoneView = Sl, B.browserName = gi, B.browserVersion = mi, B.deviceDetect = bt, B.deviceType = ie, B.engineName = yi, B.engineVersion = bi, B.fullBrowserVersion = _i, B.getSelectorsByUserAgent = ml, B.getUA = Ci, B.isAndroid = yn, B.isBrowser = vn, B.isChrome = ci, B.isChromium = ai, B.isConsole = _n, B.isDesktop = li, B.isEdge = mt, B.isEdgeChromium = dl, B.isElectron = On, B.isEmbedded = oi, B.isFirefox = di, B.isIE = Sn, B.isIOS = Cn, B.isIOS13 = at, B.isIPad13 = hr, B.isIPhone13 = En, B.isIPod13 = Tn, B.isLegacyEdge = ul, B.isMIUI = pl, B.isMacOs = hl, B.isMobile = fr, B.isMobileOnly = gn, B.isMobileSafari = si, B.isOpera = fi, B.isSafari = ui, B.isSamsungBrowser = _l, B.isSmartTV = pn, B.isTablet = wn, B.isWearable = mn, B.isWinPhone = bn, B.isWindows = fl, B.isYandex = Si, B.mobileModel = vi, B.mobileVendor = wi, B.osName = pi, B.osVersion = hi, B.parseUserAgent = c, B.setUserAgent = re, B.useDeviceData = Do, B.useDeviceSelectors = kl, B.useMobileOrientation = Rl, B.withOrientationChange = Al, B;
2319
2319
  }
2320
2320
  var Je = Kc();
2321
2321
  const Gc = (t, e) => bo(t, e), bo = (t, e) => {
2322
- const r = qi(t, e);
2322
+ const r = Zi(t, e);
2323
2323
  for (const n in r)
2324
2324
  if (Object.prototype.hasOwnProperty.call(r, n)) {
2325
2325
  const i = r[n];
2326
2326
  if (typeof i == "object" && !Array.isArray(i))
2327
- r[n] = qi(i, e);
2327
+ r[n] = Zi(i, e);
2328
2328
  else if (Array.isArray(i)) {
2329
2329
  const o = i.map(
2330
2330
  (s) => typeof s == "object" ? bo(s, e) : s
@@ -2333,7 +2333,7 @@ const Gc = (t, e) => bo(t, e), bo = (t, e) => {
2333
2333
  }
2334
2334
  }
2335
2335
  return r;
2336
- }, qi = (t, e) => {
2336
+ }, Zi = (t, e) => {
2337
2337
  const r = qc(t), n = t.layout;
2338
2338
  if (!n || n.length === 0) return r;
2339
2339
  let i = null;
@@ -2341,7 +2341,7 @@ const Gc = (t, e) => bo(t, e), bo = (t, e) => {
2341
2341
  const s = e[o];
2342
2342
  i ? s && Zc(s, i) : i = s;
2343
2343
  }), i) {
2344
- const o = qi(i, e);
2344
+ const o = Zi(i, e);
2345
2345
  for (const s in o)
2346
2346
  if (Object.prototype.hasOwnProperty.call(o, s)) {
2347
2347
  const a = o[s];
@@ -2363,15 +2363,15 @@ for (let t = 0; t < 256; ++t)
2363
2363
  function Yc(t, e = 0) {
2364
2364
  return (Fe[t[e + 0]] + Fe[t[e + 1]] + Fe[t[e + 2]] + Fe[t[e + 3]] + "-" + Fe[t[e + 4]] + Fe[t[e + 5]] + "-" + Fe[t[e + 6]] + Fe[t[e + 7]] + "-" + Fe[t[e + 8]] + Fe[t[e + 9]] + "-" + Fe[t[e + 10]] + Fe[t[e + 11]] + Fe[t[e + 12]] + Fe[t[e + 13]] + Fe[t[e + 14]] + Fe[t[e + 15]]).toLowerCase();
2365
2365
  }
2366
- let Ri;
2366
+ let ki;
2367
2367
  const Jc = new Uint8Array(16);
2368
2368
  function Xc() {
2369
- if (!Ri) {
2369
+ if (!ki) {
2370
2370
  if (typeof crypto == "undefined" || !crypto.getRandomValues)
2371
2371
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
2372
- Ri = crypto.getRandomValues.bind(crypto);
2372
+ ki = crypto.getRandomValues.bind(crypto);
2373
2373
  }
2374
- return Ri(Jc);
2374
+ return ki(Jc);
2375
2375
  }
2376
2376
  const Qc = typeof crypto != "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto), ys = { randomUUID: Qc };
2377
2377
  function ed(t, e, r) {
@@ -2467,16 +2467,16 @@ const id = (t, e, r) => {
2467
2467
  return !1;
2468
2468
  }
2469
2469
  }
2470
- }, ki = (t) => !!t && typeof t == "object" && !Array.isArray(t), Ni = (t) => /^[^:{}\s]+:[^:{}\s]+$/.test(t), Di = {
2470
+ }, Ni = (t) => !!t && typeof t == "object" && !Array.isArray(t), Di = (t) => /^[^:{}\s]+:[^:{}\s]+$/.test(t), Mi = {
2471
2471
  setSessionIdWorkflowIdToLs: (t, e) => {
2472
2472
  const r = localStorage.getItem(er);
2473
2473
  let n = {};
2474
2474
  if (r)
2475
2475
  try {
2476
2476
  const i = JSON.parse(r);
2477
- ki(i) && (n = i);
2477
+ Ni(i) && (n = i);
2478
2478
  } catch (i) {
2479
- if (Ni(r)) {
2479
+ if (Di(r)) {
2480
2480
  const [o, s] = r.split(":");
2481
2481
  o && s && (n = { [s]: o });
2482
2482
  }
@@ -2488,9 +2488,9 @@ const id = (t, e, r) => {
2488
2488
  if (!t) return null;
2489
2489
  try {
2490
2490
  const e = JSON.parse(t);
2491
- return ki(e) ? e : null;
2491
+ return Ni(e) ? e : null;
2492
2492
  } catch (e) {
2493
- if (Ni(t)) {
2493
+ if (Di(t)) {
2494
2494
  const [r, n] = t.split(":");
2495
2495
  if (r && n) return { [n]: r };
2496
2496
  }
@@ -2504,11 +2504,11 @@ const id = (t, e, r) => {
2504
2504
  return localStorage.removeItem(er), !0;
2505
2505
  try {
2506
2506
  const r = JSON.parse(e);
2507
- if (!ki(r)) return !1;
2507
+ if (!Ni(r)) return !1;
2508
2508
  const n = r;
2509
2509
  return Object.prototype.hasOwnProperty.call(n, t) ? (delete n[t], localStorage.setItem(er, JSON.stringify(n)), !0) : !1;
2510
2510
  } catch (r) {
2511
- if (Ni(e)) {
2511
+ if (Di(e)) {
2512
2512
  const [, n] = e.split(":");
2513
2513
  return n === t ? (localStorage.removeItem(er), !0) : !1;
2514
2514
  }
@@ -2551,7 +2551,7 @@ const fd = (t) => {
2551
2551
  function Cs(t) {
2552
2552
  return !("error" in t);
2553
2553
  }
2554
- function Mi(t) {
2554
+ function Pi(t) {
2555
2555
  try {
2556
2556
  let e = t;
2557
2557
  !t.includes("://") && t.includes(".") && (e = `http://${t}`);
@@ -2582,7 +2582,7 @@ const Ss = () => {
2582
2582
  osVersion: `${Je.osVersion}`,
2583
2583
  hostAppId: Ss(),
2584
2584
  host: Ss(),
2585
- sdkVersion: "3.2.261-nightly".trim(),
2585
+ sdkVersion: "3.2.263-nightly".trim(),
2586
2586
  name: navigator.userAgent,
2587
2587
  deviceModel: `${Je.osName}/${Je.osVersion} ${Je.browserName}/${Je.fullBrowserVersion}`,
2588
2588
  hostAppVersion: `${Je.browserName}/${Je.fullBrowserVersion}`,
@@ -2654,15 +2654,15 @@ const Es = {
2654
2654
  t({ listener: r });
2655
2655
  },
2656
2656
  getCurrentSessionDataLs: () => {
2657
- const r = Di.getSessionIdWorkflowIdFromLS(), n = e().workflowId, o = r && r[n];
2657
+ const r = Mi.getSessionIdWorkflowIdFromLS(), n = e().workflowId, o = r && r[n];
2658
2658
  return n && o ? { workflowId: n, sessionId: o } : null;
2659
2659
  },
2660
2660
  setCurrentSessionDataLsAndStore: (r) => {
2661
- Di.setSessionIdWorkflowIdToLs(r.sessionId, r.workflowId), t(() => ({ currentSessionData: r }));
2661
+ Mi.setSessionIdWorkflowIdToLs(r.sessionId, r.workflowId), t(() => ({ currentSessionData: r }));
2662
2662
  },
2663
2663
  removeCurrentSessionDataLsAndStore: () => {
2664
2664
  const r = e().startConfig, n = "apiKey" in r && typeof r.apiKey == "string" ? r.apiKey : "", i = e().workflowId;
2665
- n ? nr.removeAuthTokenLs(n) : Di.removeSessionIdWorkflowIdFromLS({ workflowId: i }), t(() => ({ currentSessionData: null })), t({ _sessionIdFromUrl: null });
2665
+ n ? nr.removeAuthTokenLs(n) : Mi.removeSessionIdWorkflowIdFromLS({ workflowId: i }), t(() => ({ currentSessionData: null })), t({ _sessionIdFromUrl: null });
2666
2666
  },
2667
2667
  /** Idv integration service getter */
2668
2668
  getCurrentSessionId() {
@@ -2761,7 +2761,7 @@ function wd(t, e) {
2761
2761
  console.error('Missed "getIdentifier" when register module');
2762
2762
  customElements.get(e.getIdentifier()) ? console.log(`Module ${t} has already registered`) : customElements.define(t, e), console.log("-------");
2763
2763
  }
2764
- const Zi = {
2764
+ const Bn = {
2765
2765
  FORM: "form",
2766
2766
  DATA: "data"
2767
2767
  }, It = class It extends Ce {
@@ -2771,7 +2771,7 @@ const Zi = {
2771
2771
  underlyingError: n,
2772
2772
  underlyingBaseError: i
2773
2773
  }) {
2774
- const o = Ce.getErrorKey(e, ei);
2774
+ const o = Ce.getErrorKey(e, ti);
2775
2775
  super({
2776
2776
  errorCode: e,
2777
2777
  errorCodeKey: o,
@@ -2786,7 +2786,7 @@ const Zi = {
2786
2786
  }
2787
2787
  };
2788
2788
  It.MODULE = vt, It.ERROR_ENUM_NAME = "InitializeError", It.SHORT_CODE = "IN";
2789
- let Bn = It;
2789
+ let Hn = It;
2790
2790
  const xt = class xt extends Ce {
2791
2791
  constructor({
2792
2792
  errorCode: e,
@@ -2809,7 +2809,7 @@ const xt = class xt extends Ce {
2809
2809
  }
2810
2810
  };
2811
2811
  xt.MODULE = vt, xt.ERROR_ENUM_NAME = "TokenInitializeError", xt.SHORT_CODE = "TI";
2812
- let Hn = xt;
2812
+ let Wn = xt;
2813
2813
  const At = class At extends Ce {
2814
2814
  constructor({
2815
2815
  errorCode: e,
@@ -2901,7 +2901,7 @@ const Nt = class Nt extends Ce {
2901
2901
  }
2902
2902
  };
2903
2903
  Nt.MODULE = vt, Nt.ERROR_ENUM_NAME = "ConnectionError", Nt.SHORT_CODE = "CO";
2904
- let Lr = Nt;
2904
+ let Ur = Nt;
2905
2905
  const Dt = class Dt extends Ce {
2906
2906
  constructor({
2907
2907
  errorCode: e,
@@ -2924,7 +2924,7 @@ const Dt = class Dt extends Ce {
2924
2924
  }
2925
2925
  };
2926
2926
  Dt.MODULE = vt, Dt.ERROR_ENUM_NAME = "SessionError", Dt.SHORT_CODE = "SE";
2927
- let Ur = Dt;
2927
+ let Vr = Dt;
2928
2928
  const Mt = class Mt extends Ce {
2929
2929
  constructor({
2930
2930
  errorCode: e,
@@ -2970,7 +2970,7 @@ const Pt = class Pt extends Ce {
2970
2970
  }
2971
2971
  };
2972
2972
  Pt.MODULE = vt, Pt.ERROR_ENUM_NAME = "DeinitializationError", Pt.SHORT_CODE = "DE";
2973
- let Wn = Pt;
2973
+ let jn = Pt;
2974
2974
  const Ft = class Ft extends Ce {
2975
2975
  constructor({
2976
2976
  errorCode: e,
@@ -2993,7 +2993,7 @@ const Ft = class Ft extends Ce {
2993
2993
  }
2994
2994
  };
2995
2995
  Ft.MODULE = vt, Ft.ERROR_ENUM_NAME = "WorkflowPlatformError", Ft.SHORT_CODE = "WPE";
2996
- let jn = Ft;
2996
+ let zn = Ft;
2997
2997
  class vr {
2998
2998
  constructor() {
2999
2999
  this.webSocket = null, this.callbacks = /* @__PURE__ */ new Set(), this.connected = !1;
@@ -3043,12 +3043,12 @@ function u(t, e, r, n, i, o) {
3043
3043
  return se.vnode && se.vnode(d), d;
3044
3044
  }
3045
3045
  const So = lo(void 0), Ts = ({ perform: t, children: e, setIsProcessingCallback: r }) => /* @__PURE__ */ u(So.Provider, { value: { perform: t, setIsProcessingCallback: r }, children: e }), ur = () => {
3046
- const t = Zr(So);
3046
+ const t = Yr(So);
3047
3047
  if (!t)
3048
3048
  throw new Error("usePerform must be used within a PerformProvider");
3049
3049
  return { perform: t.perform };
3050
3050
  }, yd = () => {
3051
- const t = Zr(So);
3051
+ const t = Yr(So);
3052
3052
  if (!t)
3053
3053
  throw new Error("useSetIsProcessingCallback must be used within a Context Provider");
3054
3054
  return { setIsProcessingCallback: t.setIsProcessingCallback };
@@ -3070,11 +3070,11 @@ const So = lo(void 0), Ts = ({ perform: t, children: e, setIsProcessingCallback:
3070
3070
  CAMERA: "CAMERA",
3071
3071
  GALLERY: "GALLERY",
3072
3072
  GEOLOCATION: "GEOLOCATION"
3073
- }, zn = {
3073
+ }, Kn = {
3074
3074
  LEFT: "LEFT",
3075
3075
  CENTER: "CENTER",
3076
3076
  RIGHT: "RIGHT"
3077
- }, An = {
3077
+ }, Rn = {
3078
3078
  ASPECT_FILL: "ASPECT_FILL",
3079
3079
  ASPECT_FIT: "ASPECT_FIT",
3080
3080
  FILL: "FILL"
@@ -3085,14 +3085,14 @@ const So = lo(void 0), Ts = ({ perform: t, children: e, setIsProcessingCallback:
3085
3085
  SELECTOR_BUTTONS: "selector_buttons",
3086
3086
  SELECTOR_DROPDOWN: "selector_dropdown",
3087
3087
  MULTI_SELECTOR_DROPDOWN: "multi_selector_dropdown"
3088
- }, Rn = {
3088
+ }, kn = {
3089
3089
  FREE_TEXT: "FREE_TEXT",
3090
3090
  EMAIL: "EMAIL",
3091
3091
  NUMBER: "NUMBER",
3092
3092
  SECURE: "SECURE"
3093
- }, Jr = "#005fcc", Kn = "idv-gui", Gn = {
3093
+ }, Xr = "#005fcc", Gn = "idv-gui", qn = {
3094
3094
  DECODING_FAILED: "DECODING_FAILED"
3095
- }, Pi = {
3095
+ }, Fi = {
3096
3096
  text: "text",
3097
3097
  selector: "selector",
3098
3098
  multiSelector: "multiSelector"
@@ -3101,7 +3101,7 @@ const So = lo(void 0), Ts = ({ perform: t, children: e, setIsProcessingCallback:
3101
3101
  REGEX: "regex"
3102
3102
  };
3103
3103
  function ja(t) {
3104
- return t === zn.CENTER ? "center" : t === zn.RIGHT ? "right" : "left";
3104
+ return t === Kn.CENTER ? "center" : t === Kn.RIGHT ? "right" : "left";
3105
3105
  }
3106
3106
  function Eo(t) {
3107
3107
  if (typeof t == "object" && t !== null)
@@ -3116,22 +3116,22 @@ function Cd(t) {
3116
3116
  })).filter((e) => !!e.value);
3117
3117
  }
3118
3118
  const Sd = (t) => Array.isArray(t) ? t.length === 0 : t === 0 ? !1 : !t;
3119
- function ce(t) {
3119
+ function de(t) {
3120
3120
  return t && /^#(?:[0-9a-fA-F]{3}){1,2}$/.test(t) ? t : void 0;
3121
3121
  }
3122
3122
  const Ed = (t, e) => t.reduce((r, n) => {
3123
3123
  var i, o, s;
3124
- if (n.answerType === Pi.text && (i = n.property) != null && i.id) {
3124
+ if (n.answerType === Fi.text && (i = n.property) != null && i.id) {
3125
3125
  const a = e.find((l) => l.name === n.property.id);
3126
3126
  if (a != null && a.string)
3127
3127
  return X(O({}, r), { [n.id]: a.string });
3128
3128
  }
3129
- if (n.answerType === Pi.selector && (o = n.property) != null && o.id) {
3129
+ if (n.answerType === Fi.selector && (o = n.property) != null && o.id) {
3130
3130
  const a = e.find((l) => l.name === n.property.id);
3131
3131
  if (a != null && a.string)
3132
3132
  return X(O({}, r), { [n.id]: a.string });
3133
3133
  }
3134
- if (n.answerType === Pi.multiSelector && (s = n.property) != null && s.id) {
3134
+ if (n.answerType === Fi.multiSelector && (s = n.property) != null && s.id) {
3135
3135
  const a = e.find((l) => l.name === n.property.id);
3136
3136
  if (a != null && a.array)
3137
3137
  return X(O({}, r), { [n.id]: a.array });
@@ -3153,15 +3153,15 @@ const Ed = (t, e) => t.reduce((r, n) => {
3153
3153
  } catch (t) {
3154
3154
  return (t == null ? void 0 : t.name) === "NotAllowedError" ? "denied" : "error";
3155
3155
  }
3156
- }), Od = () => String.fromCharCode(Math.floor(Math.random() * 26) + 97) + Number(Math.random()).toString(16).slice(2) + Date.now().toString(16).slice(4), Ka = (t) => (t == null ? void 0 : t.some((r) => r.type === "FORM")) ? Zi.FORM : Zi.DATA, Ga = ({ indicatorColor: t }) => {
3157
- const e = it(null), r = ce(t) || "#000000", n = 60, i = 5, o = 0.75, s = (n - i) / 2, a = 2 * Math.PI * s, l = 1 - o, d = 360 / 1e3;
3156
+ }), Od = () => String.fromCharCode(Math.floor(Math.random() * 26) + 97) + Number(Math.random()).toString(16).slice(2) + Date.now().toString(16).slice(4), Ka = (t) => (t == null ? void 0 : t.some((r) => r.type === "FORM")) ? Bn.FORM : Bn.DATA, Ga = ({ indicatorColor: t }) => {
3157
+ const e = it(null), r = de(t) || "#000000", n = 60, i = 5, o = 0.75, s = (n - i) / 2, a = 2 * Math.PI * s, l = 1 - o, d = 360 / 1e3;
3158
3158
  return nt(() => {
3159
3159
  if (!e.current) return;
3160
- let p = !0, h = 0, c = performance.now();
3160
+ let p = !0, f = 0, c = performance.now();
3161
3161
  function g(w) {
3162
3162
  if (!p) return;
3163
- const f = w - c;
3164
- c = w, h = (h + d * f) % 360, e.current && (e.current.style.transform = `rotate(${h}deg)`), requestAnimationFrame(g);
3163
+ const h = w - c;
3164
+ c = w, f = (f + d * h) % 360, e.current && (e.current.style.transform = `rotate(${f}deg)`), requestAnimationFrame(g);
3165
3165
  }
3166
3166
  return requestAnimationFrame(g), () => {
3167
3167
  p = !1;
@@ -3645,14 +3645,14 @@ const $d = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
3645
3645
  imageId: t,
3646
3646
  imageURL: e,
3647
3647
  base64: r,
3648
- contentMode: n = An.ASPECT_FILL,
3648
+ contentMode: n = Rn.ASPECT_FILL,
3649
3649
  cornerRadius: i,
3650
3650
  backgroundColor: o
3651
3651
  }) => {
3652
- const s = (h) => {
3653
- if (h === An.ASPECT_FILL) return "cover";
3654
- if (h === An.ASPECT_FIT) return "contain";
3655
- if (h === An.FILL) return "fill";
3652
+ const s = (f) => {
3653
+ if (f === Rn.ASPECT_FILL) return "cover";
3654
+ if (f === Rn.ASPECT_FIT) return "contain";
3655
+ if (f === Rn.FILL) return "fill";
3656
3656
  }, [a, l] = Me(!0), d = a && e, p = () => {
3657
3657
  l(!1);
3658
3658
  };
@@ -3665,15 +3665,15 @@ const $d = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
3665
3665
  height: "100%",
3666
3666
  objectFit: s(n),
3667
3667
  borderRadius: i,
3668
- backgroundColor: ce(o) || "transparent",
3668
+ backgroundColor: de(o) || "transparent",
3669
3669
  display: d ? "none" : "block"
3670
3670
  },
3671
3671
  src: r
3672
3672
  }
3673
3673
  );
3674
3674
  if (t) {
3675
- const h = t in Yi ? t : "default";
3676
- return /* @__PURE__ */ u(Yd, { type: h });
3675
+ const f = t in Yi ? t : "default";
3676
+ return /* @__PURE__ */ u(Yd, { type: f });
3677
3677
  }
3678
3678
  if (e)
3679
3679
  return /* @__PURE__ */ u(We, { children: [
@@ -3747,11 +3747,11 @@ const $d = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
3747
3747
  "data-test": t,
3748
3748
  onClick: () => {
3749
3749
  const g = JSON.parse(JSON.stringify(e));
3750
- Eo(g), p(g);
3750
+ Eo(g), p(g, Bn.DATA);
3751
3751
  },
3752
3752
  className: "hover-button",
3753
3753
  style: X(O(O({}, Xd), o && { borderRadius: o }), {
3754
- backgroundColor: (c = ce(d)) != null ? c : "transparent"
3754
+ backgroundColor: (c = de(d)) != null ? c : "transparent"
3755
3755
  }),
3756
3756
  onMouseEnter: () => l(!0),
3757
3757
  onMouseLeave: () => l(!1),
@@ -3816,7 +3816,7 @@ const Oe = ({
3816
3816
  fontName: e = "",
3817
3817
  fontSize: r = "17px",
3818
3818
  fontColor: n,
3819
- alignment: i = zn.LEFT,
3819
+ alignment: i = Kn.LEFT,
3820
3820
  backgroundColor: o,
3821
3821
  cornerRadius: s = 0,
3822
3822
  htmlFor: a
@@ -3824,13 +3824,13 @@ const Oe = ({
3824
3824
  const l = {
3825
3825
  fontFamily: [e, "-apple-system", "BlinkMacSystemFont", "sans-serif"].filter(Boolean).join(", "),
3826
3826
  fontSize: r,
3827
- color: ce(n) || "#000000",
3827
+ color: de(n) || "#000000",
3828
3828
  textAlign: ja(i),
3829
- backgroundColor: ce(o) || "transparent",
3829
+ backgroundColor: de(o) || "transparent",
3830
3830
  borderRadius: s
3831
3831
  }, d = typeof t == "string" && t.trim() && qa(t);
3832
3832
  return a ? /* @__PURE__ */ u("label", { "data-ui": "gui-label", part: "gui-label", style: l, htmlFor: a, children: d }) : /* @__PURE__ */ u("div", { "data-ui": "gui-label", part: "gui-label", style: l, children: d });
3833
- }, qn = ({
3833
+ }, Zn = ({
3834
3834
  title: t,
3835
3835
  image: e,
3836
3836
  responseBody: r,
@@ -3844,10 +3844,10 @@ const Oe = ({
3844
3844
  onClick: p
3845
3845
  }) => {
3846
3846
  var S, C;
3847
- const [h, c] = Me(!1), g = h && ce(o) ? o : n, { perform: w } = ur(), f = (b) => {
3847
+ const [f, c] = Me(!1), g = f && de(o) ? o : n, { perform: w } = ur(), h = (b) => {
3848
3848
  if (p && p(b), d !== "RESPONSE_BODY") return;
3849
3849
  const I = JSON.parse(JSON.stringify(r));
3850
- Eo(I), w(I, Zi.DATA);
3850
+ Eo(I), w(I, Bn.DATA);
3851
3851
  }, m = {
3852
3852
  height: "50px",
3853
3853
  width: "100%",
@@ -3863,12 +3863,12 @@ const Oe = ({
3863
3863
  gap: 5,
3864
3864
  borderRadius: i || 0,
3865
3865
  borderStyle: a && l ? "solid" : void 0,
3866
- backgroundColor: (S = ce(g)) != null ? S : "transparent",
3867
- borderColor: (C = ce(a)) != null ? C : "none",
3866
+ backgroundColor: (S = de(g)) != null ? S : "transparent",
3867
+ borderColor: (C = de(a)) != null ? C : "none",
3868
3868
  borderWidth: l != null ? l : 0,
3869
3869
  overflow: "hidden",
3870
3870
  transition: ".3s",
3871
- outlineColor: Jr
3871
+ outlineColor: Xr
3872
3872
  };
3873
3873
  return /* @__PURE__ */ u(
3874
3874
  "button",
@@ -3877,7 +3877,7 @@ const Oe = ({
3877
3877
  part: "gui-button",
3878
3878
  type: d === "FORM" ? "submit" : "button",
3879
3879
  "data-test": s,
3880
- onClick: f,
3880
+ onClick: h,
3881
3881
  style: m,
3882
3882
  onMouseEnter: () => c(!0),
3883
3883
  onMouseLeave: () => c(!1),
@@ -3911,7 +3911,7 @@ const Oe = ({
3911
3911
  paddingTop: "20px"
3912
3912
  }), e), children: t.map((o) => {
3913
3913
  var s;
3914
- return /* @__PURE__ */ u(qn, O({ dataTestId: "button-" + ((s = o.title) == null ? void 0 : s.text) }, o), Od());
3914
+ return /* @__PURE__ */ u(Zn, O({ dataTestId: "button-" + ((s = o.title) == null ? void 0 : s.text) }, o), Od());
3915
3915
  }) });
3916
3916
  }, Yt = ({
3917
3917
  children: t,
@@ -3935,7 +3935,7 @@ const Oe = ({
3935
3935
  paddingRight: "20px",
3936
3936
  height: "100%",
3937
3937
  width: "100%",
3938
- backgroundColor: ce(n)
3938
+ backgroundColor: de(n)
3939
3939
  };
3940
3940
  return /* @__PURE__ */ u(
3941
3941
  "div",
@@ -3976,11 +3976,11 @@ const Oe = ({
3976
3976
  ]
3977
3977
  }
3978
3978
  );
3979
- }, ri = ({
3979
+ }, ni = ({
3980
3980
  text: t,
3981
3981
  fontName: e = "",
3982
3982
  fontColor: r,
3983
- alignment: n = zn.LEFT,
3983
+ alignment: n = Kn.LEFT,
3984
3984
  fontSize: i = 17,
3985
3985
  backgroundColor: o,
3986
3986
  cornerRadius: s = 0
@@ -3993,9 +3993,9 @@ const Oe = ({
3993
3993
  fontFamily: [e, "-apple-system", "BlinkMacSystemFont", "sans-serif"].filter(Boolean).join(", "),
3994
3994
  fontSize: i,
3995
3995
  textAlign: ja(n),
3996
- color: ce(r) || "#000000",
3996
+ color: de(r) || "#000000",
3997
3997
  borderRadius: s,
3998
- backgroundColor: ce(o) || "transparent",
3998
+ backgroundColor: de(o) || "transparent",
3999
3999
  whiteSpace: "pre-line"
4000
4000
  },
4001
4001
  children: t && qa(t)
@@ -4056,7 +4056,7 @@ const Oe = ({
4056
4056
  )
4057
4057
  }
4058
4058
  ),
4059
- i && /* @__PURE__ */ u("div", { style: { lineHeight: "28px", fontWeight: "400", marginTop: "16px" }, children: /* @__PURE__ */ u(ri, O({}, i)) })
4059
+ i && /* @__PURE__ */ u("div", { style: { lineHeight: "28px", fontWeight: "400", marginTop: "16px" }, children: /* @__PURE__ */ u(ni, O({}, i)) })
4060
4060
  ]
4061
4061
  }
4062
4062
  ) });
@@ -4096,7 +4096,7 @@ const Oe = ({
4096
4096
  children: [
4097
4097
  n && /* @__PURE__ */ u("div", { style: iu, children: /* @__PURE__ */ u($e, O({}, n)) }),
4098
4098
  t && /* @__PURE__ */ u("div", { style: { marginBottom: 20, lineHeight: "39.2px" }, children: /* @__PURE__ */ u(Oe, O({}, t)) }),
4099
- i && /* @__PURE__ */ u("div", { style: { lineHeight: "28px", fontWeight: "400" }, children: /* @__PURE__ */ u(ri, O({}, i)) })
4099
+ i && /* @__PURE__ */ u("div", { style: { lineHeight: "28px", fontWeight: "400" }, children: /* @__PURE__ */ u(ni, O({}, i)) })
4100
4100
  ]
4101
4101
  }
4102
4102
  ) }) }), au = ({ indicatorColor: t = "black" }) => /* @__PURE__ */ u(We, { children: /* @__PURE__ */ u(Ga, { indicatorColor: t }) }), xs = ({
@@ -4117,7 +4117,7 @@ const Oe = ({
4117
4117
  height: "100%",
4118
4118
  width: "100%"
4119
4119
  },
4120
- children: /* @__PURE__ */ u(au, { indicatorColor: ce(t == null ? void 0 : t.indicatorColor) || "#000000" })
4120
+ children: /* @__PURE__ */ u(au, { indicatorColor: de(t == null ? void 0 : t.indicatorColor) || "#000000" })
4121
4121
  }
4122
4122
  ) }), lu = ({
4123
4123
  title: t,
@@ -4138,7 +4138,7 @@ const Oe = ({
4138
4138
  padding: "16px 0",
4139
4139
  gap: 16
4140
4140
  }), {
4141
- backgroundColor: ce(n) || "transparent",
4141
+ backgroundColor: de(n) || "transparent",
4142
4142
  borderRadius: i
4143
4143
  }),
4144
4144
  children: [
@@ -4150,7 +4150,7 @@ const Oe = ({
4150
4150
  },
4151
4151
  children: [
4152
4152
  /* @__PURE__ */ u("div", { style: { marginBottom: 5, fontWeight: "bold", lineHeight: "21px" }, children: /* @__PURE__ */ u(Oe, O({}, t)) }),
4153
- /* @__PURE__ */ u("div", { style: { lineHeight: "21px", fontWeight: "400" }, children: /* @__PURE__ */ u(ri, O({}, e)) })
4153
+ /* @__PURE__ */ u("div", { style: { lineHeight: "21px", fontWeight: "400" }, children: /* @__PURE__ */ u(ni, O({}, e)) })
4154
4154
  ]
4155
4155
  }
4156
4156
  ),
@@ -4166,7 +4166,7 @@ const Oe = ({
4166
4166
  {
4167
4167
  className: "details",
4168
4168
  style: X(O({}, cu), {
4169
- backgroundColor: ce(e) || "white",
4169
+ backgroundColor: de(e) || "white",
4170
4170
  borderRadius: r
4171
4171
  }),
4172
4172
  children: t.map((n, i) => /* @__PURE__ */ u(lu, O({ isLastChild: i === t.length - 1 }, n), i))
@@ -4201,9 +4201,9 @@ const Oe = ({
4201
4201
  }
4202
4202
  ) });
4203
4203
  };
4204
- var Xr = (t) => t.type === "checkbox", sr = (t) => t instanceof Date, qe = (t) => t == null;
4204
+ var Qr = (t) => t.type === "checkbox", sr = (t) => t instanceof Date, qe = (t) => t == null;
4205
4205
  const Za = (t) => typeof t == "object";
4206
- var Ne = (t) => !qe(t) && !Array.isArray(t) && Za(t) && !sr(t), Ya = (t) => Ne(t) && t.target ? Xr(t.target) ? t.target.checked : t.target.value : t, fu = (t) => t.substring(0, t.search(/\.\d+(\.|$)/)) || t, Ja = (t, e) => t.has(fu(e)), hu = (t) => {
4206
+ var Ne = (t) => !qe(t) && !Array.isArray(t) && Za(t) && !sr(t), Ya = (t) => Ne(t) && t.target ? Qr(t.target) ? t.target.checked : t.target.value : t, fu = (t) => t.substring(0, t.search(/\.\d+(\.|$)/)) || t, Ja = (t, e) => t.has(fu(e)), hu = (t) => {
4207
4207
  const e = t.constructor && t.constructor.prototype;
4208
4208
  return Ne(e) && e.hasOwnProperty("isPrototypeOf");
4209
4209
  }, To = typeof window != "undefined" && typeof window.HTMLElement != "undefined" && typeof document != "undefined";
@@ -4222,14 +4222,14 @@ function De(t) {
4222
4222
  return t;
4223
4223
  return e;
4224
4224
  }
4225
- var ni = (t) => /^\w*$/.test(t), Ie = (t) => t === void 0, Oo = (t) => Array.isArray(t) ? t.filter(Boolean) : [], Io = (t) => Oo(t.replace(/["|']|\]/g, "").split(/\.|\[/)), U = (t, e, r) => {
4225
+ var ii = (t) => /^\w*$/.test(t), Ie = (t) => t === void 0, Oo = (t) => Array.isArray(t) ? t.filter(Boolean) : [], Io = (t) => Oo(t.replace(/["|']|\]/g, "").split(/\.|\[/)), U = (t, e, r) => {
4226
4226
  if (!e || !Ne(t))
4227
4227
  return r;
4228
- const n = (ni(e) ? [e] : Io(e)).reduce((i, o) => qe(i) ? i : i[o], t);
4228
+ const n = (ii(e) ? [e] : Io(e)).reduce((i, o) => qe(i) ? i : i[o], t);
4229
4229
  return Ie(n) || n === t ? Ie(t[e]) ? r : t[e] : n;
4230
4230
  }, Qe = (t) => typeof t == "boolean", Ee = (t, e, r) => {
4231
4231
  let n = -1;
4232
- const i = ni(e) ? [e] : Io(e), o = i.length, s = o - 1;
4232
+ const i = ii(e) ? [e] : Io(e), o = i.length, s = o - 1;
4233
4233
  for (; ++n < o; ) {
4234
4234
  const a = i[n];
4235
4235
  let l = r;
@@ -4242,7 +4242,7 @@ var ni = (t) => /^\w*$/.test(t), Ie = (t) => t === void 0, Oo = (t) => Array.isA
4242
4242
  t[a] = l, t = t[a];
4243
4243
  }
4244
4244
  };
4245
- const Zn = {
4245
+ const Yn = {
4246
4246
  BLUR: "blur",
4247
4247
  FOCUS_OUT: "focusout",
4248
4248
  CHANGE: "change"
@@ -4260,9 +4260,9 @@ const Zn = {
4260
4260
  pattern: "pattern",
4261
4261
  required: "required",
4262
4262
  validate: "validate"
4263
- }, Xa = ue.createContext(null);
4263
+ }, Xa = fe.createContext(null);
4264
4264
  Xa.displayName = "HookFormContext";
4265
- const xo = () => ue.useContext(Xa);
4265
+ const xo = () => fe.useContext(Xa);
4266
4266
  var Qa = (t, e, r, n = !0) => {
4267
4267
  const i = {
4268
4268
  defaultValues: e._defaultValues
@@ -4276,9 +4276,9 @@ var Qa = (t, e, r, n = !0) => {
4276
4276
  });
4277
4277
  return i;
4278
4278
  };
4279
- const Ao = typeof window != "undefined" ? ue.useLayoutEffect : ue.useEffect;
4279
+ const Ao = typeof window != "undefined" ? fe.useLayoutEffect : fe.useEffect;
4280
4280
  function pu(t) {
4281
- const e = xo(), { control: r = e.control, disabled: n, name: i, exact: o } = t || {}, [s, a] = ue.useState(r._formState), l = ue.useRef({
4281
+ const e = xo(), { control: r = e.control, disabled: n, name: i, exact: o } = t || {}, [s, a] = fe.useState(r._formState), l = fe.useRef({
4282
4282
  isDirty: !1,
4283
4283
  isLoading: !1,
4284
4284
  dirtyFields: !1,
@@ -4295,9 +4295,9 @@ function pu(t) {
4295
4295
  callback: (d) => {
4296
4296
  !n && a(O(O({}, r._formState), d));
4297
4297
  }
4298
- }), [i, n, o]), ue.useEffect(() => {
4298
+ }), [i, n, o]), fe.useEffect(() => {
4299
4299
  l.current.isValid && r._setValid(!0);
4300
- }, [r]), ue.useMemo(() => Qa(s, r, l.current, !1), [s, r]);
4300
+ }, [r]), fe.useMemo(() => Qa(s, r, l.current, !1), [s, r]);
4301
4301
  }
4302
4302
  var et = (t) => typeof t == "string", el = (t, e, r, n, i) => et(t) ? (n && e.watch.add(t), U(r, t, i)) : Array.isArray(t) ? t.map((o) => (n && e.watch.add(o), U(r, o))) : (n && (e.watchAll = !0), r), Ji = (t) => qe(t) || !Za(t);
4303
4303
  function Ut(t, e, r = /* @__PURE__ */ new WeakSet()) {
@@ -4324,9 +4324,9 @@ function Ut(t, e, r = /* @__PURE__ */ new WeakSet()) {
4324
4324
  return !0;
4325
4325
  }
4326
4326
  function _u(t) {
4327
- const e = xo(), { control: r = e.control, name: n, defaultValue: i, disabled: o, exact: s, compute: a } = t || {}, l = ue.useRef(i), d = ue.useRef(a), p = ue.useRef(void 0);
4327
+ const e = xo(), { control: r = e.control, name: n, defaultValue: i, disabled: o, exact: s, compute: a } = t || {}, l = fe.useRef(i), d = fe.useRef(a), p = fe.useRef(void 0);
4328
4328
  d.current = a;
4329
- const h = ue.useMemo(() => r._getWatch(n, l.current), [r, n]), [c, g] = ue.useState(d.current ? d.current(h) : h);
4329
+ const f = fe.useMemo(() => r._getWatch(n, l.current), [r, n]), [c, g] = fe.useState(d.current ? d.current(f) : f);
4330
4330
  return Ao(() => r._subscribe({
4331
4331
  name: n,
4332
4332
  formState: {
@@ -4335,18 +4335,18 @@ function _u(t) {
4335
4335
  exact: s,
4336
4336
  callback: (w) => {
4337
4337
  if (!o) {
4338
- const f = el(n, r._names, w.values || r._formValues, !1, l.current);
4338
+ const h = el(n, r._names, w.values || r._formValues, !1, l.current);
4339
4339
  if (d.current) {
4340
- const m = d.current(f);
4340
+ const m = d.current(h);
4341
4341
  Ut(m, p.current) || (g(m), p.current = m);
4342
4342
  } else
4343
- g(f);
4343
+ g(h);
4344
4344
  }
4345
4345
  }
4346
- }), [r, o, n, s]), ue.useEffect(() => r._removeUnmounted()), c;
4346
+ }), [r, o, n, s]), fe.useEffect(() => r._removeUnmounted()), c;
4347
4347
  }
4348
4348
  function mu(t) {
4349
- const e = xo(), { name: r, disabled: n, control: i = e.control, shouldUnregister: o, defaultValue: s } = t, a = Ja(i._names.array, r), l = ue.useMemo(() => U(i._formValues, r, U(i._defaultValues, r, s)), [i, r, s]), d = _u({
4349
+ const e = xo(), { name: r, disabled: n, control: i = e.control, shouldUnregister: o, defaultValue: s } = t, a = Ja(i._names.array, r), l = fe.useMemo(() => U(i._formValues, r, U(i._defaultValues, r, s)), [i, r, s]), d = _u({
4350
4350
  control: i,
4351
4351
  name: r,
4352
4352
  defaultValue: l,
@@ -4355,11 +4355,11 @@ function mu(t) {
4355
4355
  control: i,
4356
4356
  name: r,
4357
4357
  exact: !0
4358
- }), h = ue.useRef(t), c = ue.useRef(void 0), g = ue.useRef(i.register(r, O(X(O({}, t.rules), {
4358
+ }), f = fe.useRef(t), c = fe.useRef(void 0), g = fe.useRef(i.register(r, O(X(O({}, t.rules), {
4359
4359
  value: d
4360
4360
  }), Qe(t.disabled) ? { disabled: t.disabled } : {})));
4361
- h.current = t;
4362
- const w = ue.useMemo(() => Object.defineProperties({}, {
4361
+ f.current = t;
4362
+ const w = fe.useMemo(() => Object.defineProperties({}, {
4363
4363
  invalid: {
4364
4364
  enumerable: !0,
4365
4365
  get: () => !!U(p.errors, r)
@@ -4380,54 +4380,54 @@ function mu(t) {
4380
4380
  enumerable: !0,
4381
4381
  get: () => U(p.errors, r)
4382
4382
  }
4383
- }), [p, r]), f = ue.useCallback((b) => g.current.onChange({
4383
+ }), [p, r]), h = fe.useCallback((b) => g.current.onChange({
4384
4384
  target: {
4385
4385
  value: Ya(b),
4386
4386
  name: r
4387
4387
  },
4388
- type: Zn.CHANGE
4389
- }), [r]), m = ue.useCallback(() => g.current.onBlur({
4388
+ type: Yn.CHANGE
4389
+ }), [r]), m = fe.useCallback(() => g.current.onBlur({
4390
4390
  target: {
4391
4391
  value: U(i._formValues, r),
4392
4392
  name: r
4393
4393
  },
4394
- type: Zn.BLUR
4395
- }), [r, i._formValues]), S = ue.useCallback((b) => {
4394
+ type: Yn.BLUR
4395
+ }), [r, i._formValues]), S = fe.useCallback((b) => {
4396
4396
  const I = U(i._fields, r);
4397
4397
  I && b && (I._f.ref = {
4398
4398
  focus: () => b.focus && b.focus(),
4399
4399
  select: () => b.select && b.select(),
4400
- setCustomValidity: (D) => b.setCustomValidity(D),
4400
+ setCustomValidity: (k) => b.setCustomValidity(k),
4401
4401
  reportValidity: () => b.reportValidity()
4402
4402
  });
4403
- }, [i._fields, r]), C = ue.useMemo(() => X(O({
4403
+ }, [i._fields, r]), C = fe.useMemo(() => X(O({
4404
4404
  name: r,
4405
4405
  value: d
4406
4406
  }, Qe(n) || p.disabled ? { disabled: p.disabled || n } : {}), {
4407
- onChange: f,
4407
+ onChange: h,
4408
4408
  onBlur: m,
4409
4409
  ref: S
4410
- }), [r, n, p.disabled, f, m, S, d]);
4411
- return ue.useEffect(() => {
4410
+ }), [r, n, p.disabled, h, m, S, d]);
4411
+ return fe.useEffect(() => {
4412
4412
  const b = i._options.shouldUnregister || o, I = c.current;
4413
- I && I !== r && !a && i.unregister(I), i.register(r, O(O({}, h.current.rules), Qe(h.current.disabled) ? { disabled: h.current.disabled } : {}));
4414
- const D = (N, R) => {
4415
- const fe = U(i._fields, N);
4416
- fe && fe._f && (fe._f.mount = R);
4413
+ I && I !== r && !a && i.unregister(I), i.register(r, O(O({}, f.current.rules), Qe(f.current.disabled) ? { disabled: f.current.disabled } : {}));
4414
+ const k = (N, R) => {
4415
+ const ae = U(i._fields, N);
4416
+ ae && ae._f && (ae._f.mount = R);
4417
4417
  };
4418
- if (D(r, !0), b) {
4419
- const N = De(U(i._options.defaultValues, r, h.current.defaultValue));
4418
+ if (k(r, !0), b) {
4419
+ const N = De(U(i._options.defaultValues, r, f.current.defaultValue));
4420
4420
  Ee(i._defaultValues, r, N), Ie(U(i._formValues, r)) && Ee(i._formValues, r, N);
4421
4421
  }
4422
4422
  return !a && i.register(r), c.current = r, () => {
4423
- (a ? b && !i._state.action : b) ? i.unregister(r) : D(r, !1);
4423
+ (a ? b && !i._state.action : b) ? i.unregister(r) : k(r, !1);
4424
4424
  };
4425
- }, [r, i, a, o]), ue.useEffect(() => {
4425
+ }, [r, i, a, o]), fe.useEffect(() => {
4426
4426
  i._setDisabledField({
4427
4427
  disabled: n,
4428
4428
  name: r
4429
4429
  });
4430
- }, [n, r, i]), ue.useMemo(() => ({
4430
+ }, [n, r, i]), fe.useMemo(() => ({
4431
4431
  field: C,
4432
4432
  formState: p,
4433
4433
  fieldState: w
@@ -4438,7 +4438,7 @@ var gu = (t, e, r, n, i) => e ? X(O({}, r[t]), {
4438
4438
  types: X(O({}, r[t] && r[t].types ? r[t].types : {}), {
4439
4439
  [n]: i || !0
4440
4440
  })
4441
- }) : {}, Vr = (t) => Array.isArray(t) ? t : [t], As = () => {
4441
+ }) : {}, $r = (t) => Array.isArray(t) ? t : [t], As = () => {
4442
4442
  let t = [];
4443
4443
  return {
4444
4444
  get observers() {
@@ -4470,12 +4470,12 @@ function rl(t, e) {
4470
4470
  }
4471
4471
  return r;
4472
4472
  }
4473
- var Ye = (t) => Ne(t) && !Object.keys(t).length, Ro = (t) => t.type === "file", ft = (t) => typeof t == "function", Yn = (t) => {
4473
+ var Ye = (t) => Ne(t) && !Object.keys(t).length, Ro = (t) => t.type === "file", ft = (t) => typeof t == "function", Jn = (t) => {
4474
4474
  if (!To)
4475
4475
  return !1;
4476
4476
  const e = t ? t.ownerDocument : 0;
4477
4477
  return t instanceof (e && e.defaultView ? e.defaultView.HTMLElement : HTMLElement);
4478
- }, nl = (t) => t.type === "select-multiple", ko = (t) => t.type === "radio", wu = (t) => ko(t) || Xr(t), Fi = (t) => Yn(t) && t.isConnected;
4478
+ }, nl = (t) => t.type === "select-multiple", ko = (t) => t.type === "radio", wu = (t) => ko(t) || Qr(t), Li = (t) => Jn(t) && t.isConnected;
4479
4479
  function vu(t, e) {
4480
4480
  const r = e.slice(0, -1).length;
4481
4481
  let n = 0;
@@ -4490,7 +4490,7 @@ function yu(t) {
4490
4490
  return !0;
4491
4491
  }
4492
4492
  function Re(t, e) {
4493
- const r = Array.isArray(e) ? e : ni(e) ? [e] : Io(e), n = r.length === 1 ? t : vu(t, r), i = r.length - 1, o = r[i];
4493
+ const r = Array.isArray(e) ? e : ii(e) ? [e] : Io(e), n = r.length === 1 ? t : vu(t, r), i = r.length - 1, o = r[i];
4494
4494
  return n && delete n[o], i !== 0 && (Ne(n) && Ye(n) || Array.isArray(n) && yu(n)) && Re(t, r.slice(0, -1)), t;
4495
4495
  }
4496
4496
  var bu = (t) => {
@@ -4540,7 +4540,7 @@ var al = (t) => Array.isArray(t) ? t.reduce((e, r) => r && r.checked && !r.disab
4540
4540
  } : e, Ns) : Ns;
4541
4541
  function Ds(t) {
4542
4542
  const e = t.ref;
4543
- return Ro(e) ? e.files : ko(e) ? al(t.refs).value : nl(e) ? [...e.selectedOptions].map(({ value: r }) => r) : Xr(e) ? ol(t.refs).value : sl(Ie(e.value) ? t.ref.value : e.value, t);
4543
+ return Ro(e) ? e.files : ko(e) ? al(t.refs).value : nl(e) ? [...e.selectedOptions].map(({ value: r }) => r) : Qr(e) ? ol(t.refs).value : sl(Ie(e.value) ? t.ref.value : e.value, t);
4544
4544
  }
4545
4545
  var Cu = (t, e, r, n) => {
4546
4546
  const i = {};
@@ -4554,7 +4554,7 @@ var Cu = (t, e, r, n) => {
4554
4554
  fields: i,
4555
4555
  shouldUseNativeValidation: n
4556
4556
  };
4557
- }, Jn = (t) => t instanceof RegExp, Ar = (t) => Ie(t) ? t : Jn(t) ? t.source : Ne(t) ? Jn(t.value) ? t.value.source : t.value : t, Ms = (t) => ({
4557
+ }, Xn = (t) => t instanceof RegExp, Ar = (t) => Ie(t) ? t : Xn(t) ? t.source : Ne(t) ? Xn(t.value) ? t.value.source : t.value : t, Ms = (t) => ({
4558
4558
  isOnSubmit: !t || t === ut.onSubmit,
4559
4559
  isOnBlur: t === ut.onBlur,
4560
4560
  isOnChange: t === ut.onChange,
@@ -4563,7 +4563,7 @@ var Cu = (t, e, r, n) => {
4563
4563
  });
4564
4564
  const Ps = "AsyncFunction";
4565
4565
  var Su = (t) => !!t && !!t.validate && !!(ft(t.validate) && t.validate.constructor.name === Ps || Ne(t.validate) && Object.values(t.validate).find((e) => e.constructor.name === Ps)), Eu = (t) => t.mount && (t.required || t.min || t.max || t.maxLength || t.minLength || t.pattern || t.validate), Fs = (t, e, r) => !r && (e.watchAll || e.watch.has(t) || [...e.watch].some((n) => t.startsWith(n) && /^\.\w+/.test(t.slice(n.length))));
4566
- const $r = (t, e, r, n) => {
4566
+ const Br = (t, e, r, n) => {
4567
4567
  for (const o of r || Object.keys(t)) {
4568
4568
  const s = U(t, o);
4569
4569
  if (s) {
@@ -4573,16 +4573,16 @@ const $r = (t, e, r, n) => {
4573
4573
  return !0;
4574
4574
  if (a.ref && e(a.ref, a.name) && !n)
4575
4575
  return !0;
4576
- if ($r(l, e))
4576
+ if (Br(l, e))
4577
4577
  break;
4578
- } else if (Ne(l) && $r(l, e))
4578
+ } else if (Ne(l) && Br(l, e))
4579
4579
  break;
4580
4580
  }
4581
4581
  }
4582
4582
  };
4583
4583
  function Ls(t, e, r) {
4584
4584
  const n = U(t, r);
4585
- if (n || ni(r))
4585
+ if (n || ii(r))
4586
4586
  return {
4587
4587
  error: n,
4588
4588
  name: r
@@ -4612,8 +4612,8 @@ var Tu = (t, e, r, n) => {
4612
4612
  r(t);
4613
4613
  const s = t, { name: i } = s, o = Xt(s, ["name"]);
4614
4614
  return Ye(o) || Object.keys(o).length >= Object.keys(e).length || Object.keys(o).find((a) => e[a] === (!n || ut.all));
4615
- }, Ou = (t, e, r) => !t || !e || t === e || Vr(t).some((n) => n && (r ? n === e : n.startsWith(e) || e.startsWith(n))), Iu = (t, e, r, n, i) => i.isOnAll ? !1 : !r && i.isOnTouch ? !(e || t) : (r ? n.isOnBlur : i.isOnBlur) ? !t : (r ? n.isOnChange : i.isOnChange) ? t : !0, xu = (t, e) => !Oo(U(t, e)).length && Re(t, e), Au = (t, e, r) => {
4616
- const n = Vr(U(t, r));
4615
+ }, Ou = (t, e, r) => !t || !e || t === e || $r(t).some((n) => n && (r ? n === e : n.startsWith(e) || e.startsWith(n))), Iu = (t, e, r, n, i) => i.isOnAll ? !1 : !r && i.isOnTouch ? !(e || t) : (r ? n.isOnBlur : i.isOnBlur) ? !t : (r ? n.isOnChange : i.isOnChange) ? t : !0, xu = (t, e) => !Oo(U(t, e)).length && Re(t, e), Au = (t, e, r) => {
4616
+ const n = $r(U(t, r));
4617
4617
  return Ee(n, "root", e[r]), Ee(t, r, n), t;
4618
4618
  };
4619
4619
  function Us(t, e, r = "validate") {
@@ -4624,79 +4624,79 @@ function Us(t, e, r = "validate") {
4624
4624
  ref: e
4625
4625
  };
4626
4626
  }
4627
- var _r = (t) => Ne(t) && !Jn(t) ? t : {
4627
+ var _r = (t) => Ne(t) && !Xn(t) ? t : {
4628
4628
  value: t,
4629
4629
  message: ""
4630
4630
  }, Vs = (t, e, r, n, i, o) => F(null, null, function* () {
4631
- const { ref: s, refs: a, required: l, maxLength: d, minLength: p, min: h, max: c, pattern: g, validate: w, name: f, valueAsNumber: m, mount: S } = t._f, C = U(r, f);
4632
- if (!S || e.has(f))
4631
+ const { ref: s, refs: a, required: l, maxLength: d, minLength: p, min: f, max: c, pattern: g, validate: w, name: h, valueAsNumber: m, mount: S } = t._f, C = U(r, h);
4632
+ if (!S || e.has(h))
4633
4633
  return {};
4634
4634
  const b = a ? a[0] : s, I = (H) => {
4635
4635
  i && b.reportValidity && (b.setCustomValidity(Qe(H) ? "" : H || ""), b.reportValidity());
4636
- }, D = {}, N = ko(s), R = Xr(s), fe = N || R, _e = (m || Ro(s)) && Ie(s.value) && Ie(C) || Yn(s) && s.value === "" || C === "" || Array.isArray(C) && !C.length, ae = gu.bind(null, f, n, D), Z = (H, K, de, le = St.maxLength, we = St.minLength) => {
4637
- const ve = H ? K : de;
4638
- D[f] = O({
4639
- type: H ? le : we,
4636
+ }, k = {}, N = ko(s), R = Qr(s), ae = N || R, _e = (m || Ro(s)) && Ie(s.value) && Ie(C) || Jn(s) && s.value === "" || C === "" || Array.isArray(C) && !C.length, le = gu.bind(null, h, n, k), Z = (H, K, ue, ce = St.maxLength, we = St.minLength) => {
4637
+ const ve = H ? K : ue;
4638
+ k[h] = O({
4639
+ type: H ? ce : we,
4640
4640
  message: ve,
4641
4641
  ref: s
4642
- }, ae(H ? le : we, ve));
4642
+ }, le(H ? ce : we, ve));
4643
4643
  };
4644
- if (o ? !Array.isArray(C) || !C.length : l && (!fe && (_e || qe(C)) || Qe(C) && !C || R && !ol(a).isValid || N && !al(a).isValid)) {
4644
+ if (o ? !Array.isArray(C) || !C.length : l && (!ae && (_e || qe(C)) || Qe(C) && !C || R && !ol(a).isValid || N && !al(a).isValid)) {
4645
4645
  const { value: H, message: K } = et(l) ? { value: !!l, message: l } : _r(l);
4646
- if (H && (D[f] = O({
4646
+ if (H && (k[h] = O({
4647
4647
  type: St.required,
4648
4648
  message: K,
4649
4649
  ref: b
4650
- }, ae(St.required, K)), !n))
4651
- return I(K), D;
4650
+ }, le(St.required, K)), !n))
4651
+ return I(K), k;
4652
4652
  }
4653
- if (!_e && (!qe(h) || !qe(c))) {
4653
+ if (!_e && (!qe(f) || !qe(c))) {
4654
4654
  let H, K;
4655
- const de = _r(c), le = _r(h);
4655
+ const ue = _r(c), ce = _r(f);
4656
4656
  if (!qe(C) && !isNaN(C)) {
4657
4657
  const we = s.valueAsNumber || C && +C;
4658
- qe(de.value) || (H = we > de.value), qe(le.value) || (K = we < le.value);
4658
+ qe(ue.value) || (H = we > ue.value), qe(ce.value) || (K = we < ce.value);
4659
4659
  } else {
4660
4660
  const we = s.valueAsDate || new Date(C), ve = (L) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + L), ee = s.type == "time", z = s.type == "week";
4661
- et(de.value) && C && (H = ee ? ve(C) > ve(de.value) : z ? C > de.value : we > new Date(de.value)), et(le.value) && C && (K = ee ? ve(C) < ve(le.value) : z ? C < le.value : we < new Date(le.value));
4661
+ et(ue.value) && C && (H = ee ? ve(C) > ve(ue.value) : z ? C > ue.value : we > new Date(ue.value)), et(ce.value) && C && (K = ee ? ve(C) < ve(ce.value) : z ? C < ce.value : we < new Date(ce.value));
4662
4662
  }
4663
- if ((H || K) && (Z(!!H, de.message, le.message, St.max, St.min), !n))
4664
- return I(D[f].message), D;
4663
+ if ((H || K) && (Z(!!H, ue.message, ce.message, St.max, St.min), !n))
4664
+ return I(k[h].message), k;
4665
4665
  }
4666
4666
  if ((d || p) && !_e && (et(C) || o && Array.isArray(C))) {
4667
- const H = _r(d), K = _r(p), de = !qe(H.value) && C.length > +H.value, le = !qe(K.value) && C.length < +K.value;
4668
- if ((de || le) && (Z(de, H.message, K.message), !n))
4669
- return I(D[f].message), D;
4667
+ const H = _r(d), K = _r(p), ue = !qe(H.value) && C.length > +H.value, ce = !qe(K.value) && C.length < +K.value;
4668
+ if ((ue || ce) && (Z(ue, H.message, K.message), !n))
4669
+ return I(k[h].message), k;
4670
4670
  }
4671
4671
  if (g && !_e && et(C)) {
4672
4672
  const { value: H, message: K } = _r(g);
4673
- if (Jn(H) && !C.match(H) && (D[f] = O({
4673
+ if (Xn(H) && !C.match(H) && (k[h] = O({
4674
4674
  type: St.pattern,
4675
4675
  message: K,
4676
4676
  ref: s
4677
- }, ae(St.pattern, K)), !n))
4678
- return I(K), D;
4677
+ }, le(St.pattern, K)), !n))
4678
+ return I(K), k;
4679
4679
  }
4680
4680
  if (w) {
4681
4681
  if (ft(w)) {
4682
4682
  const H = yield w(C, r), K = Us(H, b);
4683
- if (K && (D[f] = O(O({}, K), ae(St.validate, K.message)), !n))
4684
- return I(K.message), D;
4683
+ if (K && (k[h] = O(O({}, K), le(St.validate, K.message)), !n))
4684
+ return I(K.message), k;
4685
4685
  } else if (Ne(w)) {
4686
4686
  let H = {};
4687
4687
  for (const K in w) {
4688
4688
  if (!Ye(H) && !n)
4689
4689
  break;
4690
- const de = Us(yield w[K](C, r), b, K);
4691
- de && (H = O(O({}, de), ae(K, de.message)), I(de.message), n && (D[f] = H));
4690
+ const ue = Us(yield w[K](C, r), b, K);
4691
+ ue && (H = O(O({}, ue), le(K, ue.message)), I(ue.message), n && (k[h] = H));
4692
4692
  }
4693
- if (!Ye(H) && (D[f] = O({
4693
+ if (!Ye(H) && (k[h] = O({
4694
4694
  ref: b
4695
4695
  }, H), !n))
4696
- return D;
4696
+ return k;
4697
4697
  }
4698
4698
  }
4699
- return I(!0), D;
4699
+ return I(!0), k;
4700
4700
  });
4701
4701
  const Ru = {
4702
4702
  mode: ut.onSubmit,
@@ -4739,21 +4739,21 @@ function ku(t = {}) {
4739
4739
  isValid: !1,
4740
4740
  errors: !1
4741
4741
  };
4742
- let h = O({}, p);
4742
+ let f = O({}, p);
4743
4743
  const c = {
4744
4744
  array: As(),
4745
4745
  state: As()
4746
4746
  }, g = e.criteriaMode === ut.all, w = (y) => (T) => {
4747
4747
  clearTimeout(d), d = setTimeout(y, T);
4748
- }, f = (y) => F(null, null, function* () {
4749
- if (!e.disabled && (p.isValid || h.isValid || y)) {
4748
+ }, h = (y) => F(null, null, function* () {
4749
+ if (!e.disabled && (p.isValid || f.isValid || y)) {
4750
4750
  const T = e.resolver ? Ye((yield R()).errors) : yield _e(n, !0);
4751
4751
  T !== r.isValid && c.state.next({
4752
4752
  isValid: T
4753
4753
  });
4754
4754
  }
4755
4755
  }), m = (y, T) => {
4756
- !e.disabled && (p.isValidating || p.validatingFields || h.isValidating || h.validatingFields) && ((y || Array.from(a.mount)).forEach((A) => {
4756
+ !e.disabled && (p.isValidating || p.validatingFields || f.isValidating || f.validatingFields) && ((y || Array.from(a.mount)).forEach((A) => {
4757
4757
  A && (T ? Ee(r.validatingFields, A, T) : Re(r.validatingFields, A));
4758
4758
  }), c.state.next({
4759
4759
  validatingFields: r.validatingFields,
@@ -4769,11 +4769,11 @@ function ku(t = {}) {
4769
4769
  const W = A(U(r.errors, y), V.argA, V.argB);
4770
4770
  M && Ee(r.errors, y, W), xu(r.errors, y);
4771
4771
  }
4772
- if ((p.touchedFields || h.touchedFields) && P && Array.isArray(U(r.touchedFields, y))) {
4772
+ if ((p.touchedFields || f.touchedFields) && P && Array.isArray(U(r.touchedFields, y))) {
4773
4773
  const W = A(U(r.touchedFields, y), V.argA, V.argB);
4774
4774
  M && Ee(r.touchedFields, y, W);
4775
4775
  }
4776
- (p.dirtyFields || h.dirtyFields) && (r.dirtyFields = gr(i, o)), c.state.next({
4776
+ (p.dirtyFields || f.dirtyFields) && (r.dirtyFields = gr(i, o)), c.state.next({
4777
4777
  name: y,
4778
4778
  isDirty: Z(y, T),
4779
4779
  dirtyFields: r.dirtyFields,
@@ -4795,28 +4795,28 @@ function ku(t = {}) {
4795
4795
  const M = U(n, y);
4796
4796
  if (M) {
4797
4797
  const P = U(o, y, Ie(A) ? U(i, y) : A);
4798
- Ie(P) || V && V.defaultChecked || T ? Ee(o, y, T ? P : Ds(M._f)) : de(y, P), s.mount && f();
4798
+ Ie(P) || V && V.defaultChecked || T ? Ee(o, y, T ? P : Ds(M._f)) : ue(y, P), s.mount && h();
4799
4799
  }
4800
- }, D = (y, T, A, V, M) => {
4800
+ }, k = (y, T, A, V, M) => {
4801
4801
  let P = !1, W = !1;
4802
4802
  const ne = {
4803
4803
  name: y
4804
4804
  };
4805
4805
  if (!e.disabled) {
4806
4806
  if (!A || V) {
4807
- (p.isDirty || h.isDirty) && (W = r.isDirty, r.isDirty = ne.isDirty = Z(), P = W !== ne.isDirty);
4807
+ (p.isDirty || f.isDirty) && (W = r.isDirty, r.isDirty = ne.isDirty = Z(), P = W !== ne.isDirty);
4808
4808
  const G = Ut(U(i, y), T);
4809
- W = !!U(r.dirtyFields, y), G ? Re(r.dirtyFields, y) : Ee(r.dirtyFields, y, !0), ne.dirtyFields = r.dirtyFields, P = P || (p.dirtyFields || h.dirtyFields) && W !== !G;
4809
+ W = !!U(r.dirtyFields, y), G ? Re(r.dirtyFields, y) : Ee(r.dirtyFields, y, !0), ne.dirtyFields = r.dirtyFields, P = P || (p.dirtyFields || f.dirtyFields) && W !== !G;
4810
4810
  }
4811
4811
  if (A) {
4812
4812
  const G = U(r.touchedFields, y);
4813
- G || (Ee(r.touchedFields, y, A), ne.touchedFields = r.touchedFields, P = P || (p.touchedFields || h.touchedFields) && G !== A);
4813
+ G || (Ee(r.touchedFields, y, A), ne.touchedFields = r.touchedFields, P = P || (p.touchedFields || f.touchedFields) && G !== A);
4814
4814
  }
4815
4815
  P && M && c.state.next(ne);
4816
4816
  }
4817
4817
  return P ? ne : {};
4818
4818
  }, N = (y, T, A, V) => {
4819
- const M = U(r.errors, y), P = (p.isValid || h.isValid) && Qe(T) && r.isValid !== T;
4819
+ const M = U(r.errors, y), P = (p.isValid || f.isValid) && Qe(T) && r.isValid !== T;
4820
4820
  if (e.delayError && A ? (l = w(() => C(y, A)), l(e.delayError)) : (clearTimeout(d), l = null, A ? Ee(r.errors, y, A) : Re(r.errors, y)), (A ? !Ut(M, A) : M) || !Ye(V) || P) {
4821
4821
  const W = X(O(O({}, V), P && Qe(T) ? { isValid: T } : {}), {
4822
4822
  errors: r.errors,
@@ -4828,7 +4828,7 @@ function ku(t = {}) {
4828
4828
  m(y, !0);
4829
4829
  const T = yield e.resolver(o, e.context, Cu(y || a.mount, n, e.criteriaMode, e.shouldUseNativeValidation));
4830
4830
  return m(y), T;
4831
- }), fe = (y) => F(null, null, function* () {
4831
+ }), ae = (y) => F(null, null, function* () {
4832
4832
  const { errors: T } = yield R(y);
4833
4833
  if (y)
4834
4834
  for (const A of y) {
@@ -4857,42 +4857,42 @@ function ku(t = {}) {
4857
4857
  }
4858
4858
  }
4859
4859
  return A.valid;
4860
- }), ae = () => {
4860
+ }), le = () => {
4861
4861
  for (const y of a.unMount) {
4862
4862
  const T = U(n, y);
4863
- T && (T._f.refs ? T._f.refs.every((A) => !Fi(A)) : !Fi(T._f.ref)) && Be(y);
4863
+ T && (T._f.refs ? T._f.refs.every((A) => !Li(A)) : !Li(T._f.ref)) && Be(y);
4864
4864
  }
4865
4865
  a.unMount = /* @__PURE__ */ new Set();
4866
- }, Z = (y, T) => !e.disabled && (y && T && Ee(o, y, T), !Ut(L(), i)), H = (y, T, A) => el(y, a, O({}, s.mount ? o : Ie(T) ? i : et(y) ? { [y]: T } : T), A, T), K = (y) => Oo(U(s.mount ? o : i, y, e.shouldUnregister ? U(i, y, []) : [])), de = (y, T, A = {}) => {
4866
+ }, Z = (y, T) => !e.disabled && (y && T && Ee(o, y, T), !Ut(L(), i)), H = (y, T, A) => el(y, a, O({}, s.mount ? o : Ie(T) ? i : et(y) ? { [y]: T } : T), A, T), K = (y) => Oo(U(s.mount ? o : i, y, e.shouldUnregister ? U(i, y, []) : [])), ue = (y, T, A = {}) => {
4867
4867
  const V = U(n, y);
4868
4868
  let M = T;
4869
4869
  if (V) {
4870
4870
  const P = V._f;
4871
- P && (!P.disabled && Ee(o, y, sl(T, P)), M = Yn(P.ref) && qe(T) ? "" : T, nl(P.ref) ? [...P.ref.options].forEach((W) => W.selected = M.includes(W.value)) : P.refs ? Xr(P.ref) ? P.refs.forEach((W) => {
4871
+ P && (!P.disabled && Ee(o, y, sl(T, P)), M = Jn(P.ref) && qe(T) ? "" : T, nl(P.ref) ? [...P.ref.options].forEach((W) => W.selected = M.includes(W.value)) : P.refs ? Qr(P.ref) ? P.refs.forEach((W) => {
4872
4872
  (!W.defaultChecked || !W.disabled) && (Array.isArray(M) ? W.checked = !!M.find((ne) => ne === W.value) : W.checked = M === W.value || !!M);
4873
4873
  }) : P.refs.forEach((W) => W.checked = W.value === M) : Ro(P.ref) ? P.ref.value = "" : (P.ref.value = M, P.ref.type || c.state.next({
4874
4874
  name: y,
4875
4875
  values: De(o)
4876
4876
  })));
4877
4877
  }
4878
- (A.shouldDirty || A.shouldTouch) && D(y, M, A.shouldTouch, A.shouldDirty, !0), A.shouldValidate && z(y);
4879
- }, le = (y, T, A) => {
4878
+ (A.shouldDirty || A.shouldTouch) && k(y, M, A.shouldTouch, A.shouldDirty, !0), A.shouldValidate && z(y);
4879
+ }, ce = (y, T, A) => {
4880
4880
  for (const V in T) {
4881
4881
  if (!T.hasOwnProperty(V))
4882
4882
  return;
4883
4883
  const M = T[V], P = y + "." + V, W = U(n, P);
4884
- (a.array.has(y) || Ne(M) || W && !W._f) && !sr(M) ? le(P, M, A) : de(P, M, A);
4884
+ (a.array.has(y) || Ne(M) || W && !W._f) && !sr(M) ? ce(P, M, A) : ue(P, M, A);
4885
4885
  }
4886
4886
  }, we = (y, T, A = {}) => {
4887
4887
  const V = U(n, y), M = a.array.has(y), P = De(T);
4888
4888
  Ee(o, y, P), M ? (c.array.next({
4889
4889
  name: y,
4890
4890
  values: De(o)
4891
- }), (p.isDirty || p.dirtyFields || h.isDirty || h.dirtyFields) && A.shouldDirty && c.state.next({
4891
+ }), (p.isDirty || p.dirtyFields || f.isDirty || f.dirtyFields) && A.shouldDirty && c.state.next({
4892
4892
  name: y,
4893
4893
  dirtyFields: gr(i, o),
4894
4894
  isDirty: Z(y, P)
4895
- })) : V && !V._f && !qe(P) ? le(y, P, A) : de(y, P, A), Fs(y, a) && c.state.next(X(O({}, r), { name: y })), c.state.next({
4895
+ })) : V && !V._f && !qe(P) ? ce(y, P, A) : ue(y, P, A), Fs(y, a) && c.state.next(X(O({}, r), { name: y })), c.state.next({
4896
4896
  name: s.mount ? y : void 0,
4897
4897
  values: De(o)
4898
4898
  });
@@ -4905,15 +4905,15 @@ function ku(t = {}) {
4905
4905
  }, W = Ms(e.mode), ne = Ms(e.reValidateMode);
4906
4906
  if (M) {
4907
4907
  let G, ge;
4908
- const Pe = T.type ? Ds(M._f) : Ya(y), J = y.type === Zn.BLUR || y.type === Zn.FOCUS_OUT, oe = !Eu(M._f) && !e.resolver && !U(r.errors, A) && !M._f.deps || Iu(J, U(r.touchedFields, A), r.isSubmitted, ne, W), j = Fs(A, a, J);
4908
+ const Pe = T.type ? Ds(M._f) : Ya(y), J = y.type === Yn.BLUR || y.type === Yn.FOCUS_OUT, oe = !Eu(M._f) && !e.resolver && !U(r.errors, A) && !M._f.deps || Iu(J, U(r.touchedFields, A), r.isSubmitted, ne, W), j = Fs(A, a, J);
4909
4909
  Ee(o, A, Pe), J ? (!T || !T.readOnly) && (M._f.onBlur && M._f.onBlur(y), l && l(0)) : M._f.onChange && M._f.onChange(y);
4910
- const me = D(A, Pe, J), He = !Ye(me) || j;
4910
+ const me = k(A, Pe, J), He = !Ye(me) || j;
4911
4911
  if (!J && c.state.next({
4912
4912
  name: A,
4913
4913
  type: y.type,
4914
4914
  values: De(o)
4915
4915
  }), oe)
4916
- return (p.isValid || h.isValid) && (e.mode === "onBlur" ? J && f() : J || f()), He && c.state.next(O({ name: A }, j ? {} : me));
4916
+ return (p.isValid || f.isValid) && (e.mode === "onBlur" ? J && h() : J || h()), He && c.state.next(O({ name: A }, j ? {} : me));
4917
4917
  if (!J && j && c.state.next(O({}, r)), e.resolver) {
4918
4918
  const { errors: xe } = yield R([A]);
4919
4919
  if (P(Pe), V) {
@@ -4921,7 +4921,7 @@ function ku(t = {}) {
4921
4921
  G = q.error, A = q.name, ge = Ye(xe);
4922
4922
  }
4923
4923
  } else
4924
- m([A], !0), G = (yield Vs(M, a.disabled, o, g, e.shouldUseNativeValidation))[A], m([A]), P(Pe), V && (G ? ge = !1 : (p.isValid || h.isValid) && (ge = yield _e(n, !0)));
4924
+ m([A], !0), G = (yield Vs(M, a.disabled, o, g, e.shouldUseNativeValidation))[A], m([A]), P(Pe), V && (G ? ge = !1 : (p.isValid || f.isValid) && (ge = yield _e(n, !0)));
4925
4925
  V && (M._f.deps && (!Array.isArray(M._f.deps) || M._f.deps.length > 0) && z(M._f.deps), N(A, ge, G, me));
4926
4926
  }
4927
4927
  }), ee = (y, T) => {
@@ -4929,17 +4929,17 @@ function ku(t = {}) {
4929
4929
  return y.focus(), 1;
4930
4930
  }, z = (A, ...V) => F(null, [A, ...V], function* (y, T = {}) {
4931
4931
  let M, P;
4932
- const W = Vr(y);
4932
+ const W = $r(y);
4933
4933
  if (e.resolver) {
4934
- const ne = yield fe(Ie(y) ? y : W);
4934
+ const ne = yield ae(Ie(y) ? y : W);
4935
4935
  M = Ye(ne), P = y ? !W.some((G) => U(ne, G)) : M;
4936
4936
  } else y ? (P = (yield Promise.all(W.map((ne) => F(null, null, function* () {
4937
4937
  const G = U(n, ne);
4938
4938
  return yield _e(G && G._f ? { [ne]: G } : G);
4939
- })))).every(Boolean), !(!P && !r.isValid) && f()) : P = M = yield _e(n);
4940
- return c.state.next(X(O(O({}, !et(y) || (p.isValid || h.isValid) && M !== r.isValid ? {} : { name: y }), e.resolver || !y ? { isValid: M } : {}), {
4939
+ })))).every(Boolean), !(!P && !r.isValid) && h()) : P = M = yield _e(n);
4940
+ return c.state.next(X(O(O({}, !et(y) || (p.isValid || f.isValid) && M !== r.isValid ? {} : { name: y }), e.resolver || !y ? { isValid: M } : {}), {
4941
4941
  errors: r.errors
4942
- })), T.shouldFocus && !P && $r(n, ee, y ? W : a.mount), P;
4942
+ })), T.shouldFocus && !P && Br(n, ee, y ? W : a.mount), P;
4943
4943
  }), L = (y, T) => {
4944
4944
  let A = O({}, s.mount ? o : i);
4945
4945
  return T && (A = rl(T.dirtyFields ? r.dirtyFields : r.touchedFields, A)), Ie(y) ? A : et(y) ? U(A, y) : y.map((V) => U(A, V));
@@ -4950,7 +4950,7 @@ function ku(t = {}) {
4950
4950
  isValidating: !!U(r.validatingFields, y),
4951
4951
  isTouched: !!U((T || r).touchedFields, y)
4952
4952
  }), te = (y) => {
4953
- y && Vr(y).forEach((T) => Re(r.errors, T)), c.state.next({
4953
+ y && $r(y).forEach((T) => Re(r.errors, T)), c.state.next({
4954
4954
  errors: y ? r.errors : {}
4955
4955
  });
4956
4956
  }, Se = (y, T, A) => {
@@ -4972,14 +4972,14 @@ function ku(t = {}) {
4972
4972
  defaultValues: i
4973
4973
  }));
4974
4974
  }
4975
- }).unsubscribe, Q = (y) => (s.mount = !0, h = O(O({}, h), y.formState), $(X(O({}, y), {
4976
- formState: h
4975
+ }).unsubscribe, Q = (y) => (s.mount = !0, f = O(O({}, f), y.formState), $(X(O({}, y), {
4976
+ formState: f
4977
4977
  }))), Be = (y, T = {}) => {
4978
- for (const A of y ? Vr(y) : a.mount)
4978
+ for (const A of y ? $r(y) : a.mount)
4979
4979
  a.mount.delete(A), a.array.delete(A), T.keepValue || (Re(n, A), Re(o, A)), !T.keepError && Re(r.errors, A), !T.keepDirty && Re(r.dirtyFields, A), !T.keepTouched && Re(r.touchedFields, A), !T.keepIsValidating && Re(r.validatingFields, A), !e.shouldUnregister && !T.keepDefaultValue && Re(i, A);
4980
4980
  c.state.next({
4981
4981
  values: De(o)
4982
- }), c.state.next(O(O({}, r), T.keepDirty ? { isDirty: Z() } : {})), !T.keepIsValid && f();
4982
+ }), c.state.next(O(O({}, r), T.keepDirty ? { isDirty: Z() } : {})), !T.keepIsValid && h();
4983
4983
  }, je = ({ disabled: y, name: T }) => {
4984
4984
  (Qe(y) && s.mount || y || a.disabled.has(T)) && (y ? a.disabled.add(T) : a.disabled.delete(T));
4985
4985
  }, ot = (y, T = {}) => {
@@ -5013,7 +5013,7 @@ function ku(t = {}) {
5013
5013
  Ee(n, y, {
5014
5014
  _f: O(O({}, A._f), W ? {
5015
5015
  refs: [
5016
- ...ne.filter(Fi),
5016
+ ...ne.filter(Li),
5017
5017
  P,
5018
5018
  ...Array.isArray(U(i, y)) ? [{}] : []
5019
5019
  ],
@@ -5024,8 +5024,8 @@ function ku(t = {}) {
5024
5024
  A = U(n, y, {}), A._f && (A._f.mount = !1), (e.shouldUnregister || T.shouldUnregister) && !(Ja(a.array, y) && s.action) && a.unMount.add(y);
5025
5025
  }
5026
5026
  });
5027
- }, Xe = () => e.shouldFocusError && $r(n, ee, a.mount), yt = (y) => {
5028
- Qe(y) && (c.state.next({ disabled: y }), $r(n, (T, A) => {
5027
+ }, Xe = () => e.shouldFocusError && Br(n, ee, a.mount), yt = (y) => {
5028
+ Qe(y) && (c.state.next({ disabled: y }), Br(n, (T, A) => {
5029
5029
  const V = U(n, A);
5030
5030
  V && (T.disabled = V._f.disabled || y, Array.isArray(V._f.refs) && V._f.refs.forEach((M) => {
5031
5031
  M.disabled = V._f.disabled || y;
@@ -5065,7 +5065,7 @@ function ku(t = {}) {
5065
5065
  }), V)
5066
5066
  throw V;
5067
5067
  }), Ht = (y, T = {}) => {
5068
- U(n, y) && (Ie(T.defaultValue) ? we(y, De(U(i, y))) : (we(y, T.defaultValue), Ee(i, y, De(T.defaultValue))), T.keepTouched || Re(r.touchedFields, y), T.keepDirty || (Re(r.dirtyFields, y), r.isDirty = T.defaultValue ? Z(y, De(U(i, y))) : Z()), T.keepError || (Re(r.errors, y), p.isValid && f()), c.state.next(O({}, r)));
5068
+ U(n, y) && (Ie(T.defaultValue) ? we(y, De(U(i, y))) : (we(y, T.defaultValue), Ee(i, y, De(T.defaultValue))), T.keepTouched || Re(r.touchedFields, y), T.keepDirty || (Re(r.dirtyFields, y), r.isDirty = T.defaultValue ? Z(y, De(U(i, y))) : Z()), T.keepError || (Re(r.errors, y), p.isValid && h()), c.state.next(O({}, r)));
5069
5069
  }, bt = (y, T = {}) => {
5070
5070
  const A = y ? De(y) : i, V = De(A), M = Ye(y), P = M ? i : V;
5071
5071
  if (T.keepDefaultValues || (i = A), !T.keepValues) {
@@ -5082,7 +5082,7 @@ function ku(t = {}) {
5082
5082
  const ne = U(n, W);
5083
5083
  if (ne && ne._f) {
5084
5084
  const G = Array.isArray(ne._f.refs) ? ne._f.refs[0] : ne._f.ref;
5085
- if (Yn(G)) {
5085
+ if (Jn(G)) {
5086
5086
  const ge = G.closest("form");
5087
5087
  if (ge) {
5088
5088
  ge.reset();
@@ -5142,7 +5142,7 @@ function ku(t = {}) {
5142
5142
  _focusError: Xe,
5143
5143
  _getWatch: H,
5144
5144
  _getDirty: Z,
5145
- _setValid: f,
5145
+ _setValid: h,
5146
5146
  _setFieldArray: S,
5147
5147
  _setDisabledField: je,
5148
5148
  _setErrors: b,
@@ -5153,7 +5153,7 @@ function ku(t = {}) {
5153
5153
  isLoading: !1
5154
5154
  });
5155
5155
  }),
5156
- _removeUnmounted: ae,
5156
+ _removeUnmounted: le,
5157
5157
  _disableForm: yt,
5158
5158
  _subjects: c,
5159
5159
  _proxyFormState: p,
@@ -5208,7 +5208,7 @@ function ku(t = {}) {
5208
5208
  });
5209
5209
  }
5210
5210
  function Nu(t = {}) {
5211
- const e = ue.useRef(void 0), r = ue.useRef(void 0), [n, i] = ue.useState({
5211
+ const e = fe.useRef(void 0), r = fe.useRef(void 0), [n, i] = fe.useState({
5212
5212
  isDirty: !1,
5213
5213
  isValidating: !1,
5214
5214
  isLoading: ft(t.defaultValues),
@@ -5246,26 +5246,26 @@ function Nu(t = {}) {
5246
5246
  return i((l) => X(O({}, l), {
5247
5247
  isReady: !0
5248
5248
  })), o._formState.isReady = !0, a;
5249
- }, [o]), ue.useEffect(() => o._disableForm(t.disabled), [o, t.disabled]), ue.useEffect(() => {
5249
+ }, [o]), fe.useEffect(() => o._disableForm(t.disabled), [o, t.disabled]), fe.useEffect(() => {
5250
5250
  t.mode && (o._options.mode = t.mode), t.reValidateMode && (o._options.reValidateMode = t.reValidateMode);
5251
- }, [o, t.mode, t.reValidateMode]), ue.useEffect(() => {
5251
+ }, [o, t.mode, t.reValidateMode]), fe.useEffect(() => {
5252
5252
  t.errors && (o._setErrors(t.errors), o._focusError());
5253
- }, [o, t.errors]), ue.useEffect(() => {
5253
+ }, [o, t.errors]), fe.useEffect(() => {
5254
5254
  t.shouldUnregister && o._subjects.state.next({
5255
5255
  values: o._getWatch()
5256
5256
  });
5257
- }, [o, t.shouldUnregister]), ue.useEffect(() => {
5257
+ }, [o, t.shouldUnregister]), fe.useEffect(() => {
5258
5258
  if (o._proxyFormState.isDirty) {
5259
5259
  const a = o._getDirty();
5260
5260
  a !== n.isDirty && o._subjects.state.next({
5261
5261
  isDirty: a
5262
5262
  });
5263
5263
  }
5264
- }, [o, n.isDirty]), ue.useEffect(() => {
5264
+ }, [o, n.isDirty]), fe.useEffect(() => {
5265
5265
  t.values && !Ut(t.values, r.current) ? (o._reset(t.values, O({
5266
5266
  keepFieldsRef: !0
5267
5267
  }, o._options.resetOptions)), r.current = t.values, i((a) => O({}, a))) : o._resetDefaultValues();
5268
- }, [o, t.values]), ue.useEffect(() => {
5268
+ }, [o, t.values]), fe.useEffect(() => {
5269
5269
  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();
5270
5270
  }), e.current.formState = Qa(n, o), e.current;
5271
5271
  }
@@ -5309,11 +5309,11 @@ const Tr = (t, e) => {
5309
5309
  style: {
5310
5310
  padding: "5px 8px",
5311
5311
  background: ((l, d) => {
5312
- var p, h, c, g;
5313
- if (!l && !d) return (p = ce(e.layout.backgroundColor)) != null ? p : "transparent";
5314
- if (!l && d) return (h = ce(e.layoutSelected.backgroundColor)) != null ? h : "transparent";
5315
- if (l && !d) return (c = ce(e.layout.highlightColor)) != null ? c : "#F4F4F4";
5316
- if (l && d) return (g = ce(e.layoutSelected.highlightColor)) != null ? g : "#F4F4F4";
5312
+ var p, f, c, g;
5313
+ if (!l && !d) return (p = de(e.layout.backgroundColor)) != null ? p : "transparent";
5314
+ if (!l && d) return (f = de(e.layoutSelected.backgroundColor)) != null ? f : "transparent";
5315
+ if (l && !d) return (c = de(e.layout.highlightColor)) != null ? c : "#F4F4F4";
5316
+ if (l && d) return (g = de(e.layoutSelected.highlightColor)) != null ? g : "#F4F4F4";
5317
5317
  })(n, t),
5318
5318
  fontSize: 13,
5319
5319
  display: "flex",
@@ -5355,14 +5355,14 @@ const Tr = (t, e) => {
5355
5355
  onBlur: l,
5356
5356
  parentElementRef: d,
5357
5357
  controlLayout: p,
5358
- pickerLayout: h
5358
+ pickerLayout: f
5359
5359
  }) => {
5360
- var H, K, de, le, we, ve, ee, z;
5361
- const [c, g] = Me(!1), [w, f] = Me(i), [m, S] = Me("down"), [C, b] = Me(null), I = it(null), D = it(null);
5360
+ var H, K, ue, ce, we, ve, ee, z;
5361
+ const [c, g] = Me(!1), [w, h] = Me(i), [m, S] = Me("down"), [C, b] = Me(null), I = it(null), k = it(null);
5362
5362
  Zt(() => {
5363
5363
  var re, $, Q;
5364
5364
  if (!c) return;
5365
- const L = (re = I.current) == null ? void 0 : re.getBoundingClientRect(), Y = ($ = D.current) == null ? void 0 : $.getBoundingClientRect(), te = (Q = d.current) == null ? void 0 : Q.getBoundingClientRect();
5365
+ const L = (re = I.current) == null ? void 0 : re.getBoundingClientRect(), Y = ($ = k.current) == null ? void 0 : $.getBoundingClientRect(), te = (Q = d.current) == null ? void 0 : Q.getBoundingClientRect();
5366
5366
  if (!L || !Y || !te) return;
5367
5367
  const Se = L.bottom + Y.height < te.bottom;
5368
5368
  S(Se ? "down" : "up");
@@ -5371,24 +5371,24 @@ const Tr = (t, e) => {
5371
5371
  }, [w]);
5372
5372
  const N = (L) => (Y) => {
5373
5373
  var te;
5374
- Y.stopPropagation(), (Y.type === "touchend" || ((te = Y.nativeEvent) == null ? void 0 : te.pointerType) === "touch") && b(null), a && g(!1), f((Se) => r ? Se.some(($) => $.value === L.value) ? Se.filter(($) => $.value !== L.value) : [...Se, L] : [L]);
5374
+ Y.stopPropagation(), (Y.type === "touchend" || ((te = Y.nativeEvent) == null ? void 0 : te.pointerType) === "touch") && b(null), a && g(!1), h((Se) => r ? Se.some(($) => $.value === L.value) ? Se.filter(($) => $.value !== L.value) : [...Se, L] : [L]);
5375
5375
  }, R = () => {
5376
5376
  l && l(), g(!1);
5377
- }, fe = (L) => (Y) => {
5378
- Y.stopPropagation(), f((te) => te.filter((Se) => Se.value !== L.value));
5377
+ }, ae = (L) => (Y) => {
5378
+ Y.stopPropagation(), h((te) => te.filter((Se) => Se.value !== L.value));
5379
5379
  }, _e = (L) => {
5380
- L.stopPropagation(), f([]);
5381
- }, ae = (H = ce(p == null ? void 0 : p.borderColor)) != null ? H : "#D9D9D9", Z = (K = ce(p == null ? void 0 : p.highlightBorderColor)) != null ? K : "#7E57C5";
5380
+ L.stopPropagation(), h([]);
5381
+ }, le = (H = de(p == null ? void 0 : p.borderColor)) != null ? H : "#D9D9D9", Z = (K = de(p == null ? void 0 : p.highlightBorderColor)) != null ? K : "#7E57C5";
5382
5382
  return /* @__PURE__ */ u("div", { "data-ui": "gui-custom-select", ref: I, children: /* @__PURE__ */ u(
5383
5383
  "div",
5384
5384
  {
5385
5385
  "data-ui": "gui-select-name-" + t,
5386
5386
  style: {
5387
- backgroundColor: ce(p == null ? void 0 : p.backgroundColor),
5387
+ backgroundColor: de(p == null ? void 0 : p.backgroundColor),
5388
5388
  borderStyle: "solid",
5389
- borderColor: c ? Z : ae,
5390
- borderWidth: (de = p == null ? void 0 : p.borderWidth) != null ? de : 1,
5391
- borderRadius: (le = p == null ? void 0 : p.cornerRadius) != null ? le : 8,
5389
+ borderColor: c ? Z : le,
5390
+ borderWidth: (ue = p == null ? void 0 : p.borderWidth) != null ? ue : 1,
5391
+ borderRadius: (ce = p == null ? void 0 : p.cornerRadius) != null ? ce : 8,
5392
5392
  minHeight: "41px",
5393
5393
  position: "relative",
5394
5394
  zIndex: "auto",
@@ -5436,7 +5436,7 @@ const Tr = (t, e) => {
5436
5436
  padding: "0px 5px",
5437
5437
  display: "flex",
5438
5438
  gap: 8,
5439
- backgroundColor: (Y = ce(Q == null ? void 0 : Q.backgroundColor)) != null ? Y : "#F2F2F2",
5439
+ backgroundColor: (Y = de(Q == null ? void 0 : Q.backgroundColor)) != null ? Y : "#F2F2F2",
5440
5440
  borderRadius: (te = Q == null ? void 0 : Q.cornerRadius) != null ? te : 4,
5441
5441
  userSelect: "none",
5442
5442
  alignItems: "center"
@@ -5459,7 +5459,7 @@ const Tr = (t, e) => {
5459
5459
  width: "16px",
5460
5460
  height: "16px"
5461
5461
  },
5462
- onClick: fe(L),
5462
+ onClick: ae(L),
5463
5463
  children: Q != null && Q.removeImage ? /* @__PURE__ */ u($e, O({}, Q.removeImage)) : /* @__PURE__ */ u($e, { imageId: "cross" })
5464
5464
  }
5465
5465
  )
@@ -5515,18 +5515,18 @@ const Tr = (t, e) => {
5515
5515
  "div",
5516
5516
  {
5517
5517
  "data-ui": "gui-custom-select-dropdown-menu",
5518
- ref: D,
5518
+ ref: k,
5519
5519
  style: X(O({
5520
5520
  position: "absolute"
5521
5521
  }, m === "down" ? { top: "calc(100% + 1px)" } : { bottom: "calc(100% + 1px)" }), {
5522
5522
  left: 0,
5523
5523
  border: "1px solid #e8e8e8",
5524
5524
  width: "100%",
5525
- backgroundColor: (we = ce(h == null ? void 0 : h.backgroundColor)) != null ? we : "#ffffff",
5526
- borderRadius: (ve = h == null ? void 0 : h.cornerRadius) != null ? ve : 8,
5525
+ backgroundColor: (we = de(f == null ? void 0 : f.backgroundColor)) != null ? we : "#ffffff",
5526
+ borderRadius: (ve = f == null ? void 0 : f.cornerRadius) != null ? ve : 8,
5527
5527
  borderStyle: "solid",
5528
- borderColor: (ee = ce(h == null ? void 0 : h.borderColor)) != null ? ee : "#D9D9D9",
5529
- borderWidth: (z = h == null ? void 0 : h.borderWidth) != null ? z : 1,
5528
+ borderColor: (ee = de(f == null ? void 0 : f.borderColor)) != null ? ee : "#D9D9D9",
5529
+ borderWidth: (z = f == null ? void 0 : f.borderWidth) != null ? z : 1,
5530
5530
  maxHeight: "500px",
5531
5531
  overflow: "auto",
5532
5532
  zIndex: 2,
@@ -5694,13 +5694,13 @@ const Tr = (t, e) => {
5694
5694
  register: n,
5695
5695
  watch: i
5696
5696
  }) => {
5697
- const [o, s] = Me(!1), a = cl(), l = String(r.id), p = i(l) === String(t.id), h = e.option, c = e.optionSelected, g = {
5698
- backgroundColor: ce(c.backgroundColor),
5697
+ const [o, s] = Me(!1), a = cl(), l = String(r.id), p = i(l) === String(t.id), f = e.option, c = e.optionSelected, g = {
5698
+ backgroundColor: de(c.backgroundColor),
5699
5699
  borderRadius: c.cornerRadius
5700
5700
  }, w = {
5701
- backgroundColor: ce(h.backgroundColor),
5702
- borderRadius: h.cornerRadius
5703
- }, f = o && a ? { filter: `drop-shadow(0 0 1px ${Jr})` } : {};
5701
+ backgroundColor: de(f.backgroundColor),
5702
+ borderRadius: f.cornerRadius
5703
+ }, h = o && a ? { filter: `drop-shadow(0 0 1px ${Xr})` } : {};
5704
5704
  return /* @__PURE__ */ u("div", { children: /* @__PURE__ */ u(
5705
5705
  "label",
5706
5706
  {
@@ -5719,11 +5719,11 @@ const Tr = (t, e) => {
5719
5719
  display: "flex",
5720
5720
  alignItems: "center",
5721
5721
  alignContent: "center"
5722
- }, f),
5723
- children: /* @__PURE__ */ u($e, O({}, p ? c.image : h.image))
5722
+ }, h),
5723
+ children: /* @__PURE__ */ u($e, O({}, p ? c.image : f.image))
5724
5724
  }
5725
5725
  ),
5726
- /* @__PURE__ */ u(Oe, X(O({}, p ? c.title : h.title), { text: t.text })),
5726
+ /* @__PURE__ */ u(Oe, X(O({}, p ? c.title : f.title), { text: t.text })),
5727
5727
  /* @__PURE__ */ u(
5728
5728
  "input",
5729
5729
  X(O({
@@ -5798,17 +5798,17 @@ const Tr = (t, e) => {
5798
5798
  register: n,
5799
5799
  watch: i
5800
5800
  }) => {
5801
- const [o, s] = Me(!1), a = cl(), l = String(r.id), p = i(l) === String(t.id), h = e.option, c = e.optionSelected, g = {
5802
- borderRadius: h.cornerRadius,
5803
- background: ce(h.backgroundColor),
5804
- borderColor: ce(h.borderColor),
5805
- borderWidth: h.borderWidth
5801
+ const [o, s] = Me(!1), a = cl(), l = String(r.id), p = i(l) === String(t.id), f = e.option, c = e.optionSelected, g = {
5802
+ borderRadius: f.cornerRadius,
5803
+ background: de(f.backgroundColor),
5804
+ borderColor: de(f.borderColor),
5805
+ borderWidth: f.borderWidth
5806
5806
  }, w = {
5807
5807
  borderRadius: c.cornerRadius,
5808
- background: ce(c.backgroundColor),
5809
- borderColor: ce(c.borderColor),
5808
+ background: de(c.backgroundColor),
5809
+ borderColor: de(c.borderColor),
5810
5810
  borderWidth: c.borderWidth
5811
- }, f = o && a ? { outline: `2px solid ${Jr}` } : {};
5811
+ }, h = o && a ? { outline: `2px solid ${Xr}` } : {};
5812
5812
  return /* @__PURE__ */ u(
5813
5813
  "div",
5814
5814
  {
@@ -5825,7 +5825,7 @@ const Tr = (t, e) => {
5825
5825
  cursor: "pointer",
5826
5826
  borderStyle: "solid",
5827
5827
  position: "relative"
5828
- }, p ? w : g), f),
5828
+ }, p ? w : g), h),
5829
5829
  children: [
5830
5830
  /* @__PURE__ */ u(
5831
5831
  "input",
@@ -5850,7 +5850,7 @@ const Tr = (t, e) => {
5850
5850
  onBlur: () => s(!1)
5851
5851
  })
5852
5852
  ),
5853
- /* @__PURE__ */ u(Oe, X(O({}, p ? c.title : h.title), { text: t.text }))
5853
+ /* @__PURE__ */ u(Oe, X(O({}, p ? c.title : f.title), { text: t.text }))
5854
5854
  ]
5855
5855
  }
5856
5856
  )
@@ -5910,12 +5910,12 @@ const Tr = (t, e) => {
5910
5910
  width: "100%",
5911
5911
  fontWeight: 300,
5912
5912
  lineHeight: "140%",
5913
- backgroundColor: ce(e) || "transparent",
5913
+ backgroundColor: de(e) || "transparent",
5914
5914
  borderRadius: r,
5915
5915
  padding: "16px",
5916
5916
  boxSizing: "border-box",
5917
5917
  height: "auto"
5918
- }, n && O(O({}, ce(o) && {
5918
+ }, n && O(O({}, de(o) && {
5919
5919
  borderColor: o,
5920
5920
  borderStyle: "solid"
5921
5921
  }), s && { borderWidth: s }));
@@ -5924,7 +5924,7 @@ const Tr = (t, e) => {
5924
5924
  "span",
5925
5925
  {
5926
5926
  style: {
5927
- color: ce(o),
5927
+ color: de(o),
5928
5928
  position: "absolute",
5929
5929
  left: "6px",
5930
5930
  top: "18px"
@@ -5939,8 +5939,8 @@ const Tr = (t, e) => {
5939
5939
  dataSourceQuestion: e,
5940
5940
  register: r
5941
5941
  }) => {
5942
- var o, s, a, l, d, p, h, c, g, w, f, m, S, C, b, I;
5943
- const n = String(e.id), i = (D) => D ? D === Rn.EMAIL ? "email" : D === Rn.FREE_TEXT ? "text" : D === Rn.NUMBER ? "number" : D === Rn.SECURE ? "password" : "text" : "text";
5942
+ var o, s, a, l, d, p, f, c, g, w, h, m, S, C, b, I;
5943
+ const n = String(e.id), i = (k) => k ? k === kn.EMAIL ? "email" : k === kn.FREE_TEXT ? "text" : k === kn.NUMBER ? "number" : k === kn.SECURE ? "password" : "text" : "text";
5944
5944
  return /* @__PURE__ */ u(
5945
5945
  "div",
5946
5946
  {
@@ -5962,16 +5962,16 @@ const Tr = (t, e) => {
5962
5962
  style: {
5963
5963
  fontFamily: (a = (s = t == null ? void 0 : t.textField) == null ? void 0 : s.fontName) != null ? a : "sans-serif",
5964
5964
  fontSize: (d = (l = t == null ? void 0 : t.textField) == null ? void 0 : l.fontSize) != null ? d : 15,
5965
- color: (h = ce((p = t == null ? void 0 : t.textField) == null ? void 0 : p.fontColor)) != null ? h : "#000000",
5965
+ color: (f = de((p = t == null ? void 0 : t.textField) == null ? void 0 : p.fontColor)) != null ? f : "#000000",
5966
5966
  height: "42px",
5967
5967
  borderWidth: (g = (c = t == null ? void 0 : t.textField) == null ? void 0 : c.borderWidth) != null ? g : 1,
5968
- borderColor: (f = ce((w = t == null ? void 0 : t.textField) == null ? void 0 : w.borderColor)) != null ? f : "#d9d9d9",
5968
+ borderColor: (h = de((w = t == null ? void 0 : t.textField) == null ? void 0 : w.borderColor)) != null ? h : "#d9d9d9",
5969
5969
  borderStyle: "solid",
5970
5970
  borderRadius: (S = (m = t == null ? void 0 : t.textField) == null ? void 0 : m.cornerRadius) != null ? S : 8,
5971
5971
  padding: "11px",
5972
5972
  boxSizing: "border-box",
5973
- backgroundColor: (b = ce((C = t == null ? void 0 : t.textField) == null ? void 0 : C.backgroundColor)) != null ? b : "#FFFFFF",
5974
- outlineColor: Jr
5973
+ backgroundColor: (b = de((C = t == null ? void 0 : t.textField) == null ? void 0 : C.backgroundColor)) != null ? b : "#FFFFFF",
5974
+ outlineColor: Xr
5975
5975
  },
5976
5976
  placeholder: (I = e.placeholder) != null ? I : "",
5977
5977
  "data-id": n
@@ -5985,7 +5985,7 @@ const Tr = (t, e) => {
5985
5985
  dataSourceQuestion: e,
5986
5986
  register: r
5987
5987
  }) => {
5988
- var i, o, s, a, l, d, p, h, c, g, w, f, m;
5988
+ var i, o, s, a, l, d, p, f, c, g, w, h, m;
5989
5989
  const n = String(e.id);
5990
5990
  return /* @__PURE__ */ u(
5991
5991
  "div",
@@ -6012,19 +6012,19 @@ const Tr = (t, e) => {
6012
6012
  style: {
6013
6013
  fontFamily: "sans-serif",
6014
6014
  fontSize: (s = (o = t == null ? void 0 : t.textField) == null ? void 0 : o.fontSize) != null ? s : 15,
6015
- color: (l = ce((a = t == null ? void 0 : t.textField) == null ? void 0 : a.fontColor)) != null ? l : "#000000",
6015
+ color: (l = de((a = t == null ? void 0 : t.textField) == null ? void 0 : a.fontColor)) != null ? l : "#000000",
6016
6016
  resize: "none",
6017
6017
  overflow: "hidden",
6018
6018
  height: "42px",
6019
6019
  minHeight: "42px",
6020
6020
  borderWidth: (p = (d = t == null ? void 0 : t.textField) == null ? void 0 : d.borderWidth) != null ? p : 1,
6021
- borderColor: (c = ce((h = t == null ? void 0 : t.textField) == null ? void 0 : h.borderColor)) != null ? c : "#d9d9d9",
6021
+ borderColor: (c = de((f = t == null ? void 0 : t.textField) == null ? void 0 : f.borderColor)) != null ? c : "#d9d9d9",
6022
6022
  borderStyle: "solid",
6023
6023
  borderRadius: (w = (g = t == null ? void 0 : t.textField) == null ? void 0 : g.cornerRadius) != null ? w : 8,
6024
6024
  padding: "11px",
6025
6025
  boxSizing: "border-box",
6026
- backgroundColor: (m = ce((f = t == null ? void 0 : t.textField) == null ? void 0 : f.backgroundColor)) != null ? m : "#FFFFFF",
6027
- outlineColor: Jr
6026
+ backgroundColor: (m = de((h = t == null ? void 0 : t.textField) == null ? void 0 : h.backgroundColor)) != null ? m : "#FFFFFF",
6027
+ outlineColor: Xr
6028
6028
  }
6029
6029
  })
6030
6030
  )
@@ -6038,7 +6038,7 @@ const Tr = (t, e) => {
6038
6038
  underlyingError: n,
6039
6039
  underlyingBaseError: i
6040
6040
  }) {
6041
- const o = Ce.getErrorKey(e, Gn);
6041
+ const o = Ce.getErrorKey(e, qn);
6042
6042
  super({
6043
6043
  errorCode: e,
6044
6044
  errorCodeKey: o,
@@ -6052,14 +6052,14 @@ const Tr = (t, e) => {
6052
6052
  });
6053
6053
  }
6054
6054
  };
6055
- Lt.MODULE = Kn, Lt.ERROR_ENUM_NAME = "GuiModuleError", Lt.SHORT_CODE = "GM";
6056
- let zr = Lt;
6055
+ Lt.MODULE = Gn, Lt.ERROR_ENUM_NAME = "GuiModuleError", Lt.SHORT_CODE = "GM";
6056
+ let Kr = Lt;
6057
6057
  const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSource: o, properties: s, backgroundColor: a }) => {
6058
- const l = Ka(r), { perform: d } = ur(), p = s ? Ed(o.questions, s) : {}, h = it(null), {
6058
+ const l = Ka(r), { perform: d } = ur(), p = s ? Ed(o.questions, s) : {}, f = it(null), {
6059
6059
  register: c,
6060
6060
  handleSubmit: g,
6061
6061
  formState: { errors: w },
6062
- reset: f,
6062
+ reset: h,
6063
6063
  watch: m,
6064
6064
  control: S
6065
6065
  } = Nu({
@@ -6070,7 +6070,7 @@ const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6070
6070
  "form",
6071
6071
  {
6072
6072
  onSubmit: g((b) => {
6073
- d(Cd(b), l), f();
6073
+ d(Cd(b), l), h();
6074
6074
  }),
6075
6075
  style: {
6076
6076
  height: "100%",
@@ -6096,9 +6096,9 @@ const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6096
6096
  width: "100%",
6097
6097
  overflow: "auto",
6098
6098
  position: "relative",
6099
- backgroundColor: ce(i.backgroundColor) || "transparent"
6099
+ backgroundColor: de(i.backgroundColor) || "transparent"
6100
6100
  },
6101
- ref: h,
6101
+ ref: f,
6102
6102
  children: [
6103
6103
  e && /** Screen title */
6104
6104
  /* @__PURE__ */ u("div", { style: { lineHeight: "39.2px", width: "100%" }, children: /* @__PURE__ */ u(Oe, O({}, e)) }),
@@ -6109,21 +6109,21 @@ const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6109
6109
  part: "gui-questions",
6110
6110
  style: { width: "100%", display: "flex", gap: "10px", flexDirection: "column" },
6111
6111
  children: o.questions.map((b) => {
6112
- var ae;
6113
- const I = o.static, D = (Z, H) => H.find((K) => {
6114
- var de;
6115
- if ((de = K.questionIds) != null && de.length)
6116
- return K.questionIds.find((le) => Z === le);
6117
- }), N = (Z, H) => H.find((K) => !K.questionIds && K.answerType === Z), R = I ? D(String(b.id), i.itemTypes) || N(b.answerType, i.itemTypes) : i.itemTypes.find((Z) => Z.answerType === b.answerType);
6112
+ var le;
6113
+ const I = o.static, k = (Z, H) => H.find((K) => {
6114
+ var ue;
6115
+ if ((ue = K.questionIds) != null && ue.length)
6116
+ return K.questionIds.find((ce) => Z === ce);
6117
+ }), N = (Z, H) => H.find((K) => !K.questionIds && K.answerType === Z), R = I ? k(String(b.id), i.itemTypes) || N(b.answerType, i.itemTypes) : i.itemTypes.find((Z) => Z.answerType === b.answerType);
6118
6118
  if (!R) {
6119
- const Z = new zr({
6120
- errorCode: Gn.DECODING_FAILED,
6119
+ const Z = new Kr({
6120
+ errorCode: qn.DECODING_FAILED,
6121
6121
  message: "The question template has not been found"
6122
6122
  });
6123
6123
  d(Z);
6124
6124
  return;
6125
6125
  }
6126
- const fe = R == null ? void 0 : R.displayType, _e = b.id in w && ((ae = w[b.id]) == null ? void 0 : ae.types);
6126
+ const ae = R == null ? void 0 : R.displayType, _e = b.id in w && ((le = w[b.id]) == null ? void 0 : le.types);
6127
6127
  return (
6128
6128
  /** Question */
6129
6129
  /* @__PURE__ */ u(We, { children: [
@@ -6137,7 +6137,7 @@ const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6137
6137
  validationBorderColor: R == null ? void 0 : R.validationBorderColor,
6138
6138
  validationBorderWidth: R == null ? void 0 : R.validationBorderWidth,
6139
6139
  children: [
6140
- fe === pr.TEXT_EXPANDABLE && /* @__PURE__ */ u(
6140
+ ae === pr.TEXT_EXPANDABLE && /* @__PURE__ */ u(
6141
6141
  ju,
6142
6142
  {
6143
6143
  layout: R,
@@ -6145,7 +6145,7 @@ const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6145
6145
  register: c
6146
6146
  }
6147
6147
  ),
6148
- fe === pr.TEXT_SINGLE_LINE && /* @__PURE__ */ u(
6148
+ ae === pr.TEXT_SINGLE_LINE && /* @__PURE__ */ u(
6149
6149
  Wu,
6150
6150
  {
6151
6151
  layout: R,
@@ -6153,7 +6153,7 @@ const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6153
6153
  register: c
6154
6154
  }
6155
6155
  ),
6156
- fe === pr.SELECTOR_OPTIONS && /* @__PURE__ */ u(
6156
+ ae === pr.SELECTOR_OPTIONS && /* @__PURE__ */ u(
6157
6157
  Uu,
6158
6158
  {
6159
6159
  layout: R,
@@ -6162,7 +6162,7 @@ const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6162
6162
  register: c
6163
6163
  }
6164
6164
  ),
6165
- fe === pr.SELECTOR_BUTTONS && /* @__PURE__ */ u(
6165
+ ae === pr.SELECTOR_BUTTONS && /* @__PURE__ */ u(
6166
6166
  $u,
6167
6167
  {
6168
6168
  layout: R,
@@ -6171,22 +6171,22 @@ const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6171
6171
  register: c
6172
6172
  }
6173
6173
  ),
6174
- fe === pr.SELECTOR_DROPDOWN && /* @__PURE__ */ u(
6174
+ ae === pr.SELECTOR_DROPDOWN && /* @__PURE__ */ u(
6175
6175
  Pu,
6176
6176
  {
6177
6177
  control: S,
6178
6178
  layout: R,
6179
6179
  dataSourceQuestion: b,
6180
- parentElementRef: h
6180
+ parentElementRef: f
6181
6181
  }
6182
6182
  ),
6183
- fe === pr.MULTI_SELECTOR_DROPDOWN && /* @__PURE__ */ u(
6183
+ ae === pr.MULTI_SELECTOR_DROPDOWN && /* @__PURE__ */ u(
6184
6184
  Fu,
6185
6185
  {
6186
6186
  control: S,
6187
6187
  layout: R,
6188
6188
  dataSourceQuestion: b,
6189
- parentElementRef: h
6189
+ parentElementRef: f
6190
6190
  }
6191
6191
  )
6192
6192
  ]
@@ -6222,7 +6222,7 @@ const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6222
6222
  alignItems: "flex-end",
6223
6223
  padding: "2px"
6224
6224
  },
6225
- children: r.map((b, I) => /* @__PURE__ */ u(qn, O({ dataTestId: "question-button" }, b), I))
6225
+ children: r.map((b, I) => /* @__PURE__ */ u(Zn, O({ dataTestId: "question-button" }, b), I))
6226
6226
  }
6227
6227
  )
6228
6228
  ]
@@ -6259,7 +6259,7 @@ const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6259
6259
  backgroundColor: n,
6260
6260
  selectionLimit: i
6261
6261
  }) => {
6262
- var p, h;
6262
+ var p, f;
6263
6263
  const { perform: o } = ur(), s = it(null), a = typeof i == "number" && (i === 0 || i > 1), l = (c) => F(null, null, function* () {
6264
6264
  var w;
6265
6265
  const g = Array.from((w = c.currentTarget.files) != null ? w : []);
@@ -6285,8 +6285,8 @@ const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6285
6285
  permissionDenied: !1,
6286
6286
  files: m
6287
6287
  });
6288
- } catch (f) {
6289
- console.error("Error: ", f);
6288
+ } catch (h) {
6289
+ console.error("Error: ", h);
6290
6290
  }
6291
6291
  }), d = () => {
6292
6292
  var c;
@@ -6310,7 +6310,7 @@ const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6310
6310
  onInput: l
6311
6311
  })
6312
6312
  ),
6313
- /* @__PURE__ */ u("button", { style: Gu, onClick: d, children: /* @__PURE__ */ u($e, { imageId: (h = (p = r == null ? void 0 : r[0]) == null ? void 0 : p.image) == null ? void 0 : h.imageId }) })
6313
+ /* @__PURE__ */ u("button", { style: Gu, onClick: d, children: /* @__PURE__ */ u($e, { imageId: (f = (p = r == null ? void 0 : r[0]) == null ? void 0 : p.image) == null ? void 0 : f.imageId }) })
6314
6314
  ]
6315
6315
  }
6316
6316
  ) }) });
@@ -6342,7 +6342,7 @@ const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6342
6342
  buttons: n,
6343
6343
  selectionLimit: i
6344
6344
  }) => {
6345
- var p, h;
6345
+ var p, f;
6346
6346
  const { perform: o } = ur(), s = it(null), a = typeof i == "number" && (i === 0 || i > 1), l = (c) => F(null, null, function* () {
6347
6347
  var w;
6348
6348
  const g = Array.from((w = c.currentTarget.files) != null ? w : []);
@@ -6368,8 +6368,8 @@ const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6368
6368
  permissionDenied: !1,
6369
6369
  files: m
6370
6370
  });
6371
- } catch (f) {
6372
- console.error("Error: ", f);
6371
+ } catch (h) {
6372
+ console.error("Error: ", h);
6373
6373
  }
6374
6374
  }), d = () => F(null, null, function* () {
6375
6375
  var c;
@@ -6404,7 +6404,7 @@ const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6404
6404
  onInput: l
6405
6405
  })
6406
6406
  ),
6407
- /* @__PURE__ */ u("button", { style: Ju, onClick: d, children: /* @__PURE__ */ u($e, { imageId: (h = (p = n == null ? void 0 : n[0]) == null ? void 0 : p.image) == null ? void 0 : h.imageId }) })
6407
+ /* @__PURE__ */ u("button", { style: Ju, onClick: d, children: /* @__PURE__ */ u($e, { imageId: (f = (p = n == null ? void 0 : n[0]) == null ? void 0 : p.image) == null ? void 0 : f.imageId }) })
6408
6408
  ]
6409
6409
  }
6410
6410
  ) }) });
@@ -6419,7 +6419,7 @@ function e1() {
6419
6419
  (o = t.current) == null || o.hidePopover(), r(!1);
6420
6420
  } };
6421
6421
  }
6422
- const Li = () => F(null, null, function* () {
6422
+ const Ui = () => F(null, null, function* () {
6423
6423
  var t;
6424
6424
  try {
6425
6425
  const e = yield navigator.permissions.query({ name: "geolocation" });
@@ -6433,7 +6433,7 @@ const Li = () => F(null, null, function* () {
6433
6433
  } catch (t) {
6434
6434
  return null;
6435
6435
  }
6436
- }), kn = (t) => F(null, null, function* () {
6436
+ }), Rr = (t) => F(null, null, function* () {
6437
6437
  return new Promise((e) => {
6438
6438
  if (!navigator.geolocation)
6439
6439
  return e({
@@ -6548,35 +6548,36 @@ const Li = () => F(null, null, function* () {
6548
6548
  description: i,
6549
6549
  buttons: o,
6550
6550
  backgroundColor: s,
6551
- popups: a
6551
+ popups: a,
6552
+ askEveryTime: l
6552
6553
  }) => {
6553
- const l = Ka(o), { perform: d } = ur(), { setIsProcessingCallback: p } = yd(), { ref: h, isPopoverOpen: c, openPopover: g, closePopover: w } = e1(), f = {
6554
+ const d = Ka(o), { perform: p } = ur(), { setIsProcessingCallback: f } = yd(), { ref: c, isPopoverOpen: g, openPopover: w, closePopover: h } = e1(), m = {
6554
6555
  enableHighAccuracy: !0,
6555
6556
  timeout: 15e3,
6556
6557
  maximumAge: 6e4
6557
- }, m = a == null ? void 0 : a.find((I) => I.reason === "system_restricted");
6558
+ }, S = a == null ? void 0 : a.find((k) => k.reason === "system_restricted");
6558
6559
  Zt(() => {
6559
- Je.isSafari || p == null || p(!0);
6560
+ Je.isSafari || l || f == null || f(!0);
6560
6561
  }, []), nt(() => {
6561
- if (Je.isSafari) return;
6562
- let I = !0;
6562
+ if (Je.isSafari || l) return;
6563
+ let k = !0;
6563
6564
  return F(null, null, function* () {
6564
- if ((yield Li()) !== "granted") {
6565
- p == null || p(!1);
6565
+ if ((yield Ui()) !== "granted") {
6566
+ f == null || f(!1);
6566
6567
  return;
6567
6568
  }
6568
- const N = yield kn(f);
6569
- I && d(N, l);
6569
+ const R = yield Rr(m);
6570
+ k && p(R, d);
6570
6571
  }), () => {
6571
- Je.isSafari || (I = !1);
6572
+ Je.isSafari || l || (k = !1);
6572
6573
  };
6573
6574
  }, []), nt(() => {
6574
6575
  if (Je.isSafari) return;
6575
- let I = !0, D = null;
6576
+ let k = !0, N = null;
6576
6577
  return F(null, null, function* () {
6577
- const N = yield t1();
6578
- N && (D = N, N.onchange = () => F(null, null, function* () {
6579
- if (N.state === "denied" && (p == null || p(!0), d(
6578
+ const R = yield t1();
6579
+ R && (N = R, R.onchange = () => F(null, null, function* () {
6580
+ if (R.state === "denied" && (f == null || f(!0), p(
6580
6581
  {
6581
6582
  location: {
6582
6583
  locationState: "application_location_restricted",
@@ -6585,43 +6586,46 @@ const Li = () => F(null, null, function* () {
6585
6586
  error: "Application location services restricted or unavailable"
6586
6587
  }
6587
6588
  },
6588
- l
6589
- )), N.state === "granted") {
6590
- p == null || p(!0);
6591
- const R = yield kn(f);
6592
- if (!I) return;
6593
- d(R, l);
6589
+ d
6590
+ )), R.state === "granted") {
6591
+ f == null || f(!0);
6592
+ const ae = yield Rr(m);
6593
+ if (!k) return;
6594
+ p(ae, d);
6594
6595
  }
6595
6596
  }));
6596
6597
  }), () => {
6597
- Je.isSafari || (I = !1, D && (D.onchange = null));
6598
+ Je.isSafari || (k = !1, N && (N.onchange = null));
6598
6599
  };
6599
6600
  }, []);
6600
- const S = (I) => F(null, null, function* () {
6601
- I.preventDefault();
6602
- const D = yield Li();
6603
- if (D === "denied") {
6604
- g();
6601
+ const C = (k) => F(null, null, function* () {
6602
+ k.preventDefault();
6603
+ const N = yield Ui();
6604
+ if (N === "denied") {
6605
+ w();
6605
6606
  return;
6606
6607
  }
6607
- D === "prompt" && (yield kn());
6608
- }), C = (I) => F(null, null, function* () {
6609
- if (I.preventDefault(), (yield Li()) === "denied") {
6610
- g();
6608
+ if (N === "prompt" && (yield Rr()), N === "granted") {
6609
+ const R = yield Rr(m);
6610
+ p(R, d);
6611
+ }
6612
+ }), b = (k) => F(null, null, function* () {
6613
+ if (k.preventDefault(), (yield Ui()) === "denied") {
6614
+ w();
6611
6615
  return;
6612
6616
  }
6613
- p == null || p(!0);
6614
- const N = yield kn(f);
6615
- d(N, l);
6616
- }), b = (I) => {
6617
- I.preventDefault(), w();
6617
+ f == null || f(!0);
6618
+ const R = yield Rr(m);
6619
+ p(R, d);
6620
+ }), I = (k) => {
6621
+ k.preventDefault(), h();
6618
6622
  };
6619
6623
  return /* @__PURE__ */ u(Yt, { header: e, footer: r, backgroundColor: s, children: [
6620
6624
  /* @__PURE__ */ u("div", { style: r1, children: [
6621
6625
  /* @__PURE__ */ u("div", { style: n1, children: [
6622
6626
  n && /* @__PURE__ */ u("div", { style: o1, children: /* @__PURE__ */ u($e, O({}, n)) }),
6623
6627
  t && /* @__PURE__ */ u("div", { style: s1, children: /* @__PURE__ */ u(Oe, O({}, t)) }),
6624
- i && /* @__PURE__ */ u("div", { style: a1, children: /* @__PURE__ */ u(ri, O({}, i)) })
6628
+ i && /* @__PURE__ */ u("div", { style: a1, children: /* @__PURE__ */ u(ni, O({}, i)) })
6625
6629
  ] }),
6626
6630
  !!(o != null && o.length) && /* @__PURE__ */ u(
6627
6631
  "div",
@@ -6630,46 +6634,46 @@ const Li = () => F(null, null, function* () {
6630
6634
  display: "flex",
6631
6635
  flexDirection: "column"
6632
6636
  },
6633
- children: o.map((I, D) => /* @__PURE__ */ u("div", { style: { padding: "5px" }, children: /* @__PURE__ */ u(
6634
- qn,
6637
+ children: o.map((k, N) => /* @__PURE__ */ u("div", { style: { padding: "5px" }, children: /* @__PURE__ */ u(
6638
+ Zn,
6635
6639
  O(O({
6636
6640
  dataTestId: "question-button"
6637
- }, I), I.type === "FORM" ? {
6638
- onClick: Je.isSafari ? C : S
6641
+ }, k), k.type === "FORM" ? {
6642
+ onClick: Je.isSafari ? b : C
6639
6643
  } : {})
6640
- ) }, D))
6644
+ ) }, N))
6641
6645
  }
6642
6646
  )
6643
6647
  ] }),
6644
- m && /* @__PURE__ */ u(
6648
+ S && /* @__PURE__ */ u(
6645
6649
  "div",
6646
6650
  {
6647
- ref: h,
6651
+ ref: c,
6648
6652
  popover: "manual",
6649
6653
  role: "dialog",
6650
6654
  "aria-modal": "true",
6651
6655
  style: X(O({}, l1), {
6652
- borderRadius: m.cornerRadius || "27px",
6653
- backgroundColor: m.backgroundColor || "#ffffff"
6656
+ borderRadius: S.cornerRadius || "27px",
6657
+ backgroundColor: S.backgroundColor || "#ffffff"
6654
6658
  }),
6655
6659
  children: [
6656
- /* @__PURE__ */ u("div", { style: c1, children: /* @__PURE__ */ u(Oe, O({}, O({ fontSize: "24px" }, m.title))) }),
6657
- /* @__PURE__ */ u("div", { style: d1, children: /* @__PURE__ */ u("div", { style: u1, children: /* @__PURE__ */ u(Oe, O({}, O({ fontSize: "17px" }, m.message))) }) }),
6658
- m.actionButton1 && /* @__PURE__ */ u("div", { style: f1, children: /* @__PURE__ */ u(
6659
- qn,
6660
+ /* @__PURE__ */ u("div", { style: c1, children: /* @__PURE__ */ u(Oe, O({}, O({ fontSize: "24px" }, S.title))) }),
6661
+ /* @__PURE__ */ u("div", { style: d1, children: /* @__PURE__ */ u("div", { style: u1, children: /* @__PURE__ */ u(Oe, O({}, O({ fontSize: "17px" }, S.message))) }) }),
6662
+ S.actionButton1 && /* @__PURE__ */ u("div", { style: f1, children: /* @__PURE__ */ u(
6663
+ Zn,
6660
6664
  O(O({
6661
6665
  dataTestId: "question-button"
6662
- }, m.actionButton1), m.actionButton1.type === "FORM" ? { onClick: b } : {})
6666
+ }, S.actionButton1), S.actionButton1.type === "FORM" ? { onClick: I } : {})
6663
6667
  ) })
6664
6668
  ]
6665
6669
  }
6666
6670
  ),
6667
- c && /* @__PURE__ */ u(
6671
+ g && /* @__PURE__ */ u(
6668
6672
  "div",
6669
6673
  {
6670
6674
  style: i1,
6671
- onPointerDown: (I) => {
6672
- I.preventDefault(), I.stopPropagation(), w();
6675
+ onPointerDown: (k) => {
6676
+ k.preventDefault(), k.stopPropagation(), h();
6673
6677
  }
6674
6678
  }
6675
6679
  )
@@ -6715,7 +6719,8 @@ const Li = () => F(null, null, function* () {
6715
6719
  description: r.description,
6716
6720
  buttons: r.buttons,
6717
6721
  backgroundColor: r.backgroundColor,
6718
- popups: r.popups
6722
+ popups: r.popups,
6723
+ askEveryTime: r.askEveryTime
6719
6724
  }
6720
6725
  );
6721
6726
  if (e === ct.PROGRESS)
@@ -6778,19 +6783,19 @@ const Li = () => F(null, null, function* () {
6778
6783
  s
6779
6784
  );
6780
6785
  if (e === ct.QUESTIONS && !n) {
6781
- const l = new zr({
6782
- errorCode: Gn.DECODING_FAILED,
6786
+ const l = new Kr({
6787
+ errorCode: qn.DECODING_FAILED,
6783
6788
  message: "No data for questions"
6784
6789
  });
6785
6790
  return o(l), null;
6786
6791
  }
6787
- const a = new zr({
6788
- errorCode: Gn.DECODING_FAILED,
6792
+ const a = new Kr({
6793
+ errorCode: qn.DECODING_FAILED,
6789
6794
  message: "Unsupported step template"
6790
6795
  });
6791
6796
  return o(a), null;
6792
6797
  };
6793
- let Ui = !1;
6798
+ let Vi = !1;
6794
6799
  const Bs = ({ children: t }) => /* @__PURE__ */ u("div", { part: "gui-idv", id: "gui-idv-web-c", style: { backgroundColor: "white", height: "100%", width: "100%" }, children: t }), p1 = ({ isProcessing: t, moduleProps: e, perform: r }) => {
6795
6800
  const { templateId: n, templateLayout: i, dataSource: o, properties: s } = e, a = (l, d) => {
6796
6801
  r && r(l, d);
@@ -6810,7 +6815,7 @@ const Bs = ({ children: t }) => /* @__PURE__ */ u("div", { part: "gui-idv", id:
6810
6815
  templateLayout: i
6811
6816
  }, e.backgroundColor ? { backgroundColor: e.backgroundColor } : {}), typeof e.selectionLimit == "number" ? { selectionLimit: e.selectionLimit } : {})
6812
6817
  ) }) });
6813
- }, Br = class Br extends gd {
6818
+ }, Hr = class Hr extends gd {
6814
6819
  constructor() {
6815
6820
  super(), this._mounted = !1, this._shadowRoot = this.attachShadow({ mode: "open" }), this.props = null;
6816
6821
  }
@@ -6868,19 +6873,19 @@ const Bs = ({ children: t }) => /* @__PURE__ */ u("div", { part: "gui-idv", id:
6868
6873
  });
6869
6874
  }
6870
6875
  static isReady() {
6871
- return Ui;
6876
+ return Vi;
6872
6877
  }
6873
6878
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
6874
6879
  static initialize(e) {
6875
- Ui = !0;
6880
+ Vi = !0;
6876
6881
  }
6877
6882
  static deinitialize() {
6878
- Ui = !1;
6883
+ Vi = !1;
6879
6884
  }
6880
6885
  };
6881
- Br.displayName = Kn, Br.getSupportedTemplates = () => Object.values(ct), Br.getIdentifier = () => Kn;
6882
- let Xn = Br;
6883
- wd(Kn, Xn);
6886
+ Hr.displayName = Gn, Hr.getSupportedTemplates = () => Object.values(ct), Hr.getIdentifier = () => Gn;
6887
+ let Qn = Hr;
6888
+ wd(Gn, Qn);
6884
6889
  const _1 = (t, e) => ({
6885
6890
  _isInitialized: !1,
6886
6891
  _initializationInProgress: !1,
@@ -6940,56 +6945,56 @@ const _1 = (t, e) => ({
6940
6945
  }),
6941
6946
  _continueSession: (n, i) => F(null, null, function* () {
6942
6947
  var g;
6943
- const o = e().startConfig, s = "apiKey" in o && typeof o.apiKey == "string", a = e().workflowId, l = i ? Mr.DID_CONTINUE_REMOTE_SESSION : Mr.DID_START_RESTORE_SESSION;
6948
+ const o = e().startConfig, s = "apiKey" in o && typeof o.apiKey == "string", a = e().workflowId, l = i ? Pr.DID_CONTINUE_REMOTE_SESSION : Pr.DID_START_RESTORE_SESSION;
6944
6949
  let d;
6945
6950
  if (i)
6946
6951
  d = i;
6947
6952
  else if (s) {
6948
6953
  if (!e().sessionRestoreMode) return {};
6949
- const w = o.apiKey, f = nr.getAuthTokenLs(), m = f && ((g = f[w]) == null ? void 0 : g.sessionId);
6954
+ const w = o.apiKey, h = nr.getAuthTokenLs(), m = h && ((g = h[w]) == null ? void 0 : g.sessionId);
6950
6955
  if (!m) return {};
6951
6956
  m && (d = m);
6952
6957
  } else {
6953
6958
  if (!e().sessionRestoreMode) return {};
6954
6959
  const w = e().getCurrentSessionDataLs();
6955
6960
  if (!w) return {};
6956
- const f = w.sessionId, m = w.workflowId;
6957
- if (!f || m !== a) return {};
6958
- d = f;
6961
+ const h = w.sessionId, m = w.workflowId;
6962
+ if (!h || m !== a) return {};
6963
+ d = h;
6959
6964
  }
6960
6965
  const p = yield e().fetchService.continueSession(
6961
6966
  d,
6962
6967
  n
6963
- ), h = e()._checkIsSessionDataValid(p.data);
6964
- if (!Cs(h))
6965
- return { error: h.error };
6966
- const c = h.currentStep;
6967
- return e().setCurrentStepId(c), s ? e()._checkAndSetApiTokenToLs(h.id) : e().setCurrentSessionDataLsAndStore({
6968
- sessionId: h.id,
6968
+ ), f = e()._checkIsSessionDataValid(p.data);
6969
+ if (!Cs(f))
6970
+ return { error: f.error };
6971
+ const c = f.currentStep;
6972
+ return e().setCurrentStepId(c), s ? e()._checkAndSetApiTokenToLs(f.id) : e().setCurrentSessionDataLsAndStore({
6973
+ sessionId: f.id,
6969
6974
  workflowId: a
6970
6975
  }), e().setNextStep({
6971
- workflow: h.workflow,
6972
- properties: h.properties,
6976
+ workflow: f.workflow,
6977
+ properties: f.properties,
6973
6978
  nextStepId: c,
6974
- locale: h.locale
6979
+ locale: f.locale
6975
6980
  }), e().listener({
6976
6981
  eventType: Fn.MESSAGE,
6977
6982
  message: l,
6978
6983
  module: "IDV"
6979
- }), h;
6984
+ }), f;
6980
6985
  }),
6981
6986
  initialize(n) {
6982
6987
  return F(this, null, function* () {
6983
6988
  if (e()._isInitialized)
6984
6989
  return console.warn("Idv:: Already initialized"), {};
6985
6990
  if (e()._initializationInProgress)
6986
- return { error: new Bn({
6987
- errorCode: ei.INITIALIZATION_IN_PROGRESS
6991
+ return { error: new Hn({
6992
+ errorCode: ti.INITIALIZATION_IN_PROGRESS
6988
6993
  }) };
6989
6994
  t({ _initializationInProgress: !0 }), yield e().setAndInitFetchService(), t({
6990
6995
  modulesConfig: n.modulesConfig || {}
6991
6996
  });
6992
- let i = [Xn];
6997
+ let i = [Qn];
6993
6998
  if (Array.isArray(n == null ? void 0 : n.includedModules)) {
6994
6999
  const s = n.includedModules.filter(
6995
7000
  (a) => typeof a == "function" && a.displayName && !i.some((l) => l.displayName === a.displayName)
@@ -7022,7 +7027,7 @@ const _1 = (t, e) => ({
7022
7027
  message: `Missing parameters: ${o.join(", ")}`
7023
7028
  })
7024
7029
  };
7025
- const s = Mi(n.baseUrl);
7030
+ const s = Pi(n.baseUrl);
7026
7031
  if (!s)
7027
7032
  return {
7028
7033
  error: new Ve({
@@ -7040,15 +7045,15 @@ const _1 = (t, e) => ({
7040
7045
  deviceDescriptor: {
7041
7046
  ttl: l
7042
7047
  }
7043
- }, p = nr.getAuthTokenLs(), h = p && p[n.apiKey] && p[n.apiKey].authToken ? p[n.apiKey] : null, c = h && h.authToken, g = yield e().connectByApiKey(d);
7048
+ }, p = nr.getAuthTokenLs(), f = p && p[n.apiKey] && p[n.apiKey].authToken ? p[n.apiKey] : null, c = f && f.authToken, g = yield e().connectByApiKey(d);
7044
7049
  if (g.error)
7045
7050
  return { error: new Ve({
7046
7051
  errorCode: Ue.CONNECTION_ISSUE,
7047
7052
  underlyingBaseError: g.error
7048
7053
  }) };
7049
7054
  c && g.authToken !== c && nr.removeAuthTokenLs(n.apiKey);
7050
- const w = h && g.authToken === h.authToken && h, f = w ? w.tokenExpiresAt : Date.now() + l * 1e3;
7051
- return e().setApiKeyAuthTokenCollection(n.apiKey, g.authToken, f), t({ _isConnectedToPlatform: !0 }), e().setStartConfig({
7055
+ const w = f && g.authToken === f.authToken && f, h = w ? w.tokenExpiresAt : Date.now() + l * 1e3;
7056
+ return e().setApiKeyAuthTokenCollection(n.apiKey, g.authToken, h), t({ _isConnectedToPlatform: !0 }), e().setStartConfig({
7052
7057
  host: s.host,
7053
7058
  isSecure: s.isSecure,
7054
7059
  apiKey: n.apiKey,
@@ -7082,7 +7087,7 @@ const _1 = (t, e) => ({
7082
7087
  };
7083
7088
  t({ _isConnectedToPlatform: !0 });
7084
7089
  try {
7085
- const s = Mi(n);
7090
+ const s = Pi(n);
7086
7091
  if (!s)
7087
7092
  return {
7088
7093
  error: new Ve({
@@ -7123,7 +7128,7 @@ const _1 = (t, e) => ({
7123
7128
  message: `Missing parameters: ${o.join(", ")}`
7124
7129
  })
7125
7130
  };
7126
- const s = Mi(n.baseUrl);
7131
+ const s = Pi(n.baseUrl);
7127
7132
  if (!s)
7128
7133
  return {
7129
7134
  error: new Ve({
@@ -7160,7 +7165,7 @@ const _1 = (t, e) => ({
7160
7165
  }) };
7161
7166
  const i = yield e().fetchService.listWorkflows(n);
7162
7167
  if (i.code !== 0) {
7163
- const o = i.code === 4 ? Tt.HTTP_ISSUE : Tt.PROVIDER_ERROR, s = new jn({ errorCode: o });
7168
+ const o = i.code === 4 ? Tt.HTTP_ISSUE : Tt.PROVIDER_ERROR, s = new zn({ errorCode: o });
7164
7169
  return { error: new Ot({
7165
7170
  errorCode: Et.WORKFLOW_ISSUE,
7166
7171
  message: "No workflow list",
@@ -7185,26 +7190,26 @@ const _1 = (t, e) => ({
7185
7190
  return { error: new Ot({
7186
7191
  errorCode: Et.SCENARIO_IN_PROGRESS
7187
7192
  }) };
7188
- const i = yield e().fetchService.getWorkflow(n), o = Co(i.data), s = ((w = o.client) == null ? void 0 : w.steps) && o.client.steps.some((f) => f.templateId === Bi);
7193
+ const i = yield e().fetchService.getWorkflow(n), o = Co(i.data), s = ((w = o.client) == null ? void 0 : w.steps) && o.client.steps.some((h) => h.templateId === Hi);
7189
7194
  let a = null;
7190
7195
  if (i.code === 4 && (a = Tt.HTTP_ISSUE), i.code !== 0 && i.code !== 4 && (a = Tt.PROVIDER_ERROR), i.code === 0 && !i.data.id && (a = Tt.DECODING_FAILED), i.code === 0 && i.data.id && o === null && (a = Tt.DECODING_FAILED), s || (a = Tt.DECODING_FAILED), a !== null) {
7191
- const f = new jn({
7196
+ const h = new zn({
7192
7197
  errorCode: a
7193
7198
  });
7194
7199
  return { error: new Ot({
7195
7200
  errorCode: Et.INTERNAL_ISSUE,
7196
- underlyingBaseError: f
7201
+ underlyingBaseError: h
7197
7202
  }) };
7198
7203
  }
7199
- const l = e().externalModules, d = o.steps, { isAllTemplatesSupported: p, unsupportedSteps: h } = sd(l, d);
7200
- p || console.log("IDV:: Warning. Unsupported steps found: ", h);
7204
+ const l = e().externalModules, d = o.steps, { isAllTemplatesSupported: p, unsupportedSteps: f } = sd(l, d);
7205
+ p || console.log("IDV:: Warning. Unsupported steps found: ", f);
7201
7206
  const c = e().workflowId;
7202
- c && n !== c && l.forEach((f) => {
7203
- f.component.deinitialize();
7207
+ c && n !== c && l.forEach((h) => {
7208
+ h.component.deinitialize();
7204
7209
  });
7205
7210
  const g = e().modulesConfig;
7206
- return l.forEach((f) => {
7207
- f.component.isReady() || f.component.initialize(g);
7211
+ return l.forEach((h) => {
7212
+ h.component.isReady() || h.component.initialize(g);
7208
7213
  }), e().setLayout(o.client.layout), e().setProcessingTemplate(o.client.steps), e().setWorkflowId(n), e().setTrackLocation(o.trackLocation), { workflow: o };
7209
7214
  });
7210
7215
  },
@@ -7231,8 +7236,8 @@ const _1 = (t, e) => ({
7231
7236
  dt && dt.close(), n(I);
7232
7237
  };
7233
7238
  e().setWorkflowSessionCompletion(d);
7234
- const p = e().startConfig, h = "apiKey" in p && typeof p.apiKey == "string", c = e().apiKeyAuthTokenCollection;
7235
- if (h && "tokenExpiresAt" in c) {
7239
+ const p = e().startConfig, f = "apiKey" in p && typeof p.apiKey == "string", c = e().apiKeyAuthTokenCollection;
7240
+ if (f && "tokenExpiresAt" in c) {
7236
7241
  const I = c.tokenExpiresAt && typeof c.tokenExpiresAt == "number" ? c.tokenExpiresAt : 0;
7237
7242
  if (Date.now() > I) {
7238
7243
  const N = yield e().connectByApiKey({
@@ -7273,7 +7278,7 @@ const _1 = (t, e) => ({
7273
7278
  e().setServiceSessionToken(g);
7274
7279
  const w = yield e()._runSocketConnection(g);
7275
7280
  if (w.error) return { error: w.error };
7276
- const f = e()._sessionIdFromUrl, m = yield e()._continueSession(i, f);
7281
+ const h = e()._sessionIdFromUrl, m = yield e()._continueSession(i, h);
7277
7282
  if ("sessionId" in m) return { results: m };
7278
7283
  if ("error" in m)
7279
7284
  return { error: m.error };
@@ -7286,7 +7291,7 @@ const _1 = (t, e) => ({
7286
7291
  }), C = e()._checkIsSessionDataValid(S.data);
7287
7292
  if (!Cs(C))
7288
7293
  return { error: C.error };
7289
- h ? e()._checkAndSetApiTokenToLs(C.id) : e().setCurrentSessionDataLsAndStore({ sessionId: C.id, workflowId: l });
7294
+ f ? e()._checkAndSetApiTokenToLs(C.id) : e().setCurrentSessionDataLsAndStore({ sessionId: C.id, workflowId: l });
7290
7295
  const b = C.currentStep;
7291
7296
  return e().setCurrentStepId(b), e().setNextStep({
7292
7297
  workflow: C.workflow,
@@ -7295,7 +7300,7 @@ const _1 = (t, e) => ({
7295
7300
  locale: C.locale
7296
7301
  }), e().listener({
7297
7302
  eventType: Fn.MESSAGE,
7298
- message: Mr.DID_START_SESSION,
7303
+ message: Pr.DID_START_SESSION,
7299
7304
  module: "IDV"
7300
7305
  }), {};
7301
7306
  });
@@ -7314,11 +7319,11 @@ const _1 = (t, e) => ({
7314
7319
  deinitialize() {
7315
7320
  return F(this, null, function* () {
7316
7321
  if (!e()._isInitialized)
7317
- return { error: new Wn({
7322
+ return { error: new jn({
7318
7323
  errorCode: Un.INITIALIZATION_REQUIRED
7319
7324
  }) };
7320
7325
  if (e().currentScreenConfig)
7321
- return { error: new Wn({
7326
+ return { error: new jn({
7322
7327
  errorCode: Un.SCENARIO_IN_PROGRESS
7323
7328
  }) };
7324
7329
  const n = yield e().deinitializationIdv();
@@ -7572,8 +7577,8 @@ class m1 {
7572
7577
  try {
7573
7578
  if (d = yield a.json(), !(d != null && d.id)) return { code: 6, data: l };
7574
7579
  } catch (p) {
7575
- const h = this._getErrorTextFromError(p);
7576
- return l.what = h, { code: 6, data: l };
7580
+ const f = this._getErrorTextFromError(p);
7581
+ return l.what = f, { code: 6, data: l };
7577
7582
  }
7578
7583
  return { code: 0, data: d };
7579
7584
  } catch (a) {
@@ -7602,8 +7607,8 @@ class m1 {
7602
7607
  try {
7603
7608
  if (d = yield a.json(), !d) return { code: 6, data: l };
7604
7609
  } catch (p) {
7605
- const h = this._getErrorTextFromError(p);
7606
- return l.what = h, { code: 6, data: l };
7610
+ const f = this._getErrorTextFromError(p);
7611
+ return l.what = f, { code: 6, data: l };
7607
7612
  }
7608
7613
  return { code: 0, data: d };
7609
7614
  } catch (a) {
@@ -7643,32 +7648,30 @@ class m1 {
7643
7648
  _fetchStep(e, r, n, i) {
7644
7649
  return F(this, null, function* () {
7645
7650
  var p;
7646
- const o = "POST", s = O({
7647
- stage: "0"
7648
- }, i && { type: i }), l = new URLSearchParams(s).toString(), d = `${this._origin}/api/sessions/${(p = this._session) == null ? void 0 : p.id}/step/${r}?${l}`;
7651
+ const o = "POST", s = O({}, i && { type: i }), l = new URLSearchParams(s).toString(), d = `${this._origin}/api/sessions/${(p = this._session) == null ? void 0 : p.id}/step/${r}${l ? `?${l}` : ""}`;
7649
7652
  try {
7650
- const h = yield fetch(d, {
7653
+ const f = yield fetch(d, {
7651
7654
  headers: {
7652
7655
  authorization: e,
7653
7656
  "content-type": "application/json"
7654
7657
  },
7655
7658
  body: JSON.stringify(n),
7656
7659
  method: o
7657
- }), c = { httpCode: h.status, method: o, url: d };
7658
- if (!h.ok) {
7659
- const w = yield this._getResponseTextFromBadResponse(h);
7660
+ }), c = { httpCode: f.status, method: o, url: d };
7661
+ if (!f.ok) {
7662
+ const w = yield this._getResponseTextFromBadResponse(f);
7660
7663
  return w && (c.what = w), { code: 5, data: c };
7661
7664
  }
7662
7665
  let g;
7663
7666
  try {
7664
- if (g = yield h.json(), !g) return { code: 6, data: c };
7667
+ if (g = yield f.json(), !g) return { code: 6, data: c };
7665
7668
  } catch (w) {
7666
- const f = this._getErrorTextFromError(w);
7667
- return c.what = f, { code: 6, data: c };
7669
+ const h = this._getErrorTextFromError(w);
7670
+ return c.what = h, { code: 6, data: c };
7668
7671
  }
7669
7672
  return { code: 0, data: g };
7670
- } catch (h) {
7671
- const c = this._getErrorTextFromError(h);
7673
+ } catch (f) {
7674
+ const c = this._getErrorTextFromError(f);
7672
7675
  return { code: 4, data: { httpCode: 0, method: o, url: d, what: c } };
7673
7676
  }
7674
7677
  });
@@ -7821,11 +7824,11 @@ const g1 = (t, e) => ({
7821
7824
  return F(this, null, function* () {
7822
7825
  const o = yield e().fetchService.connectByApiKey(n, !1);
7823
7826
  if (o.code !== 0) {
7824
- const s = o.code === 4 ? Kt.HTTP_ISSUE : Kt.PROVIDER_ERROR, a = new Lr({
7827
+ const s = o.code === 4 ? Kt.HTTP_ISSUE : Kt.PROVIDER_ERROR, a = new Ur({
7825
7828
  errorCode: s,
7826
7829
  message: JSON.stringify(o.data)
7827
7830
  });
7828
- return { error: new Hn({
7831
+ return { error: new Wn({
7829
7832
  errorCode: Ln.CONNECTION_ISSUE,
7830
7833
  underlyingBaseError: a
7831
7834
  }) };
@@ -7838,7 +7841,7 @@ const g1 = (t, e) => ({
7838
7841
  const i = yield e().fetchService.connectByUserPass(n);
7839
7842
  if (i.code !== 0) {
7840
7843
  const o = i.code === 4 ? Kt.HTTP_ISSUE : Kt.PROVIDER_ERROR;
7841
- return { error: new Lr({
7844
+ return { error: new Ur({
7842
7845
  errorCode: o,
7843
7846
  message: JSON.stringify(i.data)
7844
7847
  }) };
@@ -7850,10 +7853,10 @@ const g1 = (t, e) => ({
7850
7853
  return F(this, null, function* () {
7851
7854
  const o = yield e().fetchService.connectByUrl(n);
7852
7855
  if (o.code !== 0) {
7853
- const s = o.code === 4 ? Kt.HTTP_ISSUE : Kt.PROVIDER_ERROR, a = new Lr({
7856
+ const s = o.code === 4 ? Kt.HTTP_ISSUE : Kt.PROVIDER_ERROR, a = new Ur({
7854
7857
  errorCode: s,
7855
7858
  message: JSON.stringify(o.data)
7856
- }), l = new Hn({
7859
+ }), l = new Wn({
7857
7860
  errorCode: Ln.CONNECTION_ISSUE,
7858
7861
  underlyingBaseError: a
7859
7862
  });
@@ -7897,14 +7900,14 @@ const g1 = (t, e) => ({
7897
7900
  const i = yield w1(n);
7898
7901
  return t(() => ({ externalModules: i })), {};
7899
7902
  } catch (i) {
7900
- return e().resetFetchService(), e().resetProps(), { error: new Bn({
7901
- errorCode: ei.MODULES_INSTANTIATION_FAILURE
7903
+ return e().resetFetchService(), e().resetProps(), { error: new Hn({
7904
+ errorCode: ti.MODULES_INSTANTIATION_FAILURE
7902
7905
  }) };
7903
7906
  }
7904
7907
  }),
7905
7908
  setProcessingTemplate: (n) => {
7906
7909
  const i = Co(
7907
- n.find((o) => o.templateId === Bi)
7910
+ n.find((o) => o.templateId === Hi)
7908
7911
  );
7909
7912
  i.templateLayout = bs(i.templateLayout, e().layout), t({ processingTransformedTemplate: i });
7910
7913
  },
@@ -7917,13 +7920,13 @@ const g1 = (t, e) => ({
7917
7920
  const d = yield e().fetchService.pushData(n, i, o);
7918
7921
  let p = null;
7919
7922
  if (d.code === 4 && (p = lt.HTTP_ISSUE), d.code !== 0 && d.code !== 4 && (p = lt.PROVIDER_ERROR), p !== null) {
7920
- const h = new Ur({
7923
+ const f = new Vr({
7921
7924
  errorCode: lt.HTTP_ISSUE
7922
7925
  });
7923
7926
  s = new Ge({
7924
7927
  errorCode: Ke.INTERNAL_ISSUE,
7925
7928
  message: "Error from external module",
7926
- underlyingBaseError: h
7929
+ underlyingBaseError: f
7927
7930
  });
7928
7931
  }
7929
7932
  return d.code === 0 ? (s = null, d) : null;
@@ -7936,24 +7939,24 @@ const g1 = (t, e) => ({
7936
7939
  return o != null ? o : null;
7937
7940
  },
7938
7941
  _getSessionStateNextStepConditionResult: () => F(null, null, function* () {
7939
- var w, f, m;
7940
- const n = yield e().fetchService.getSessionState(), i = n.code === 0, o = i ? n.data : null, s = (w = o == null ? void 0 : o.currentStep) != null ? w : "", a = o == null ? void 0 : o.isProcessingFiles, l = (m = (f = o == null ? void 0 : o.workflow) == null ? void 0 : f.steps) != null ? m : [], d = od(l, s), p = n.code === 4, h = n.code !== 0 && n.code !== 4, c = i && (!n.data.workflow || !n.data.currentStep);
7942
+ var w, h, m;
7943
+ const n = yield e().fetchService.getSessionState(), i = n.code === 0, o = i ? n.data : null, s = (w = o == null ? void 0 : o.currentStep) != null ? w : "", a = o == null ? void 0 : o.isProcessingFiles, l = (m = (h = o == null ? void 0 : o.workflow) == null ? void 0 : h.steps) != null ? m : [], d = od(l, s), p = n.code === 4, f = n.code !== 0 && n.code !== 4, c = i && (!n.data.workflow || !n.data.currentStep);
7941
7944
  let g = null;
7942
- if (l && !d && (g = lt.NOT_DATA_TYPE), p && (g = lt.HTTP_ISSUE), h && (g = lt.PROVIDER_ERROR), a && (g = lt.IS_PROCESSING), c && (g = lt.DECODING_FAILED), g !== null) {
7943
- const S = new Ur({ errorCode: g });
7945
+ if (l && !d && (g = lt.NOT_DATA_TYPE), p && (g = lt.HTTP_ISSUE), f && (g = lt.PROVIDER_ERROR), a && (g = lt.IS_PROCESSING), c && (g = lt.DECODING_FAILED), g !== null) {
7946
+ const S = new Vr({ errorCode: g });
7944
7947
  return { error: new Ge({
7945
7948
  errorCode: Ke.INTERNAL_ISSUE,
7946
7949
  underlyingBaseError: S
7947
- }) };
7950
+ }), shouldRetry: !0 };
7948
7951
  }
7949
- return d && !a && !p && !h && !c ? { data: n.data } : { shouldRetry: !0 };
7952
+ return d && !a && !p && !f && !c ? { data: n.data } : { shouldRetry: !0 };
7950
7953
  }),
7951
7954
  _waitingForNextStep: () => F(null, null, function* () {
7952
7955
  let n = {};
7953
7956
  return yield new Promise((o) => {
7954
7957
  let l = 0, d;
7955
- const p = (h) => F(null, null, function* () {
7956
- if (h) {
7958
+ const p = (f) => F(null, null, function* () {
7959
+ if (f) {
7957
7960
  d = window.setTimeout(() => {
7958
7961
  p(!1);
7959
7962
  }, 1e4);
@@ -7964,15 +7967,15 @@ const g1 = (t, e) => ({
7964
7967
  }, 1e4) : (dt.clearSubscriptions(), o());
7965
7968
  });
7966
7969
  if (dt.isConnected()) {
7967
- const h = (c) => {
7970
+ const f = (c) => {
7968
7971
  JSON.parse(atob(JSON.parse(c).payload)).eventType === "SESSION_UPDATED" && (clearTimeout(d), p(!1));
7969
7972
  };
7970
- dt.onMessage(h);
7973
+ dt.onMessage(f);
7971
7974
  }
7972
7975
  p(!0);
7973
7976
  }), n != null && n.error ? { error: n.error } : n != null && n.data ? { sessionData: n.data } : { error: new Ge({
7974
7977
  errorCode: Ke.INTERNAL_ISSUE,
7975
- underlyingBaseError: new Ur({ errorCode: lt.DECODING_FAILED })
7978
+ underlyingBaseError: new Vr({ errorCode: lt.DECODING_FAILED })
7976
7979
  }) };
7977
7980
  }),
7978
7981
  setFinalStepAndStopProcess: (n) => {
@@ -7989,7 +7992,7 @@ const g1 = (t, e) => ({
7989
7992
  }
7990
7993
  }), e().resetSession(), e().listener({
7991
7994
  eventType: Fn.MESSAGE,
7992
- message: Mr.DID_END_SESSION,
7995
+ message: Pr.DID_END_SESSION,
7993
7996
  module: "IDV"
7994
7997
  }));
7995
7998
  },
@@ -8011,8 +8014,8 @@ const g1 = (t, e) => ({
8011
8014
  return;
8012
8015
  }
8013
8016
  if (a.data) {
8014
- const { workflow: p, properties: h, currentStep: c, locale: g } = a.data;
8015
- e().setNextStep({ workflow: p, properties: h, nextStepId: c, locale: g });
8017
+ const { workflow: p, properties: f, currentStep: c, locale: g } = a.data;
8018
+ e().setNextStep({ workflow: p, properties: f, nextStepId: c, locale: g });
8016
8019
  }
8017
8020
  }
8018
8021
  });
@@ -8064,16 +8067,16 @@ const g1 = (t, e) => ({
8064
8067
  }), e().resetSession();
8065
8068
  return;
8066
8069
  }
8067
- const { workflow: l, properties: d, currentStep: p, locale: h } = a.sessionData;
8068
- e().setNextStep({ workflow: l, properties: d, nextStepId: p, locale: h });
8070
+ const { workflow: l, properties: d, currentStep: p, locale: f } = a.sessionData;
8071
+ e().setNextStep({ workflow: l, properties: d, nextStepId: p, locale: f });
8069
8072
  }),
8070
8073
  /** prepare and configure config (props) for module and trigger showing step */
8071
8074
  onChangeScreen: (n) => {
8072
- var l, d, p, h;
8075
+ var l, d, p, f;
8073
8076
  if (!n) return t(() => ({ currentScreenConfig: null }));
8074
8077
  const i = e().workflow, o = e().sessionProperties;
8075
8078
  let s = null;
8076
- if (n === Bi && e().processingTransformedTemplate !== null) {
8079
+ if (n === Hi && e().processingTransformedTemplate !== null) {
8077
8080
  const c = e().processingTransformedTemplate;
8078
8081
  c && (s = {
8079
8082
  templateId: c.templateId,
@@ -8087,7 +8090,7 @@ const g1 = (t, e) => ({
8087
8090
  dataSource: (d = c.dataSource) != null ? d : null,
8088
8091
  properties: o,
8089
8092
  locale: e().locale
8090
- })), s && (s.sessionId = (p = e().currentSessionData) == null ? void 0 : p.sessionId, s.serviceToken = e().serviceToken), s && cd((h = c == null ? void 0 : c.client) == null ? void 0 : h.templateLayout)) {
8093
+ })), s && (s.sessionId = (p = e().currentSessionData) == null ? void 0 : p.sessionId, s.serviceToken = e().serviceToken), s && cd((f = c == null ? void 0 : c.client) == null ? void 0 : f.templateLayout)) {
8091
8094
  const g = bs(c.client.templateLayout, e().layout);
8092
8095
  g && (s.templateLayout = g);
8093
8096
  }
@@ -8160,7 +8163,7 @@ class y1 {
8160
8163
  typeof window != "undefined" && (window.removeEventListener("load", this._handleOrientationChange), window.removeEventListener("resize", this._handleOrientationChange));
8161
8164
  }
8162
8165
  }
8163
- var Vi = { exports: {} }, Ws;
8166
+ var $i = { exports: {} }, Ws;
8164
8167
  function b1() {
8165
8168
  return Ws || (Ws = 1, (function(t) {
8166
8169
  t.exports = /******/
@@ -8248,7 +8251,7 @@ function b1() {
8248
8251
  /* 1 */
8249
8252
  /***/
8250
8253
  (function(e, r, n) {
8251
- var i = n(2), o = n(0), s = o.BROWSER_TYPES, a = o.OS_TYPES, l = o.DEVICE_TYPES, d = n(4), p = d.checkType, h = d.broPayload, c = d.mobilePayload, g = d.wearPayload, w = d.consolePayload, f = d.stvPayload, m = d.getNavigatorInstance, S = d.isIOS13Check, C = new i(), b = C.getBrowser(), I = C.getDevice(), D = C.getEngine(), N = C.getOS(), R = C.getUA(), fe = s.CHROME, _e = s.CHROMIUM, ae = s.IE, Z = s.INTERNET_EXPLORER, H = s.OPERA, K = s.FIREFOX, de = s.SAFARI, le = s.EDGE, we = s.YANDEX, ve = s.MOBILE_SAFARI, ee = l.MOBILE, z = l.TABLET, L = l.SMART_TV, Y = l.BROWSER, te = l.WEARABLE, Se = l.CONSOLE, re = a.ANDROID, $ = a.WINDOWS_PHONE, Q = a.IOS, Be = a.WINDOWS, je = a.MAC_OS, ot = function() {
8254
+ var i = n(2), o = n(0), s = o.BROWSER_TYPES, a = o.OS_TYPES, l = o.DEVICE_TYPES, d = n(4), p = d.checkType, f = d.broPayload, c = d.mobilePayload, g = d.wearPayload, w = d.consolePayload, h = d.stvPayload, m = d.getNavigatorInstance, S = d.isIOS13Check, C = new i(), b = C.getBrowser(), I = C.getDevice(), k = C.getEngine(), N = C.getOS(), R = C.getUA(), ae = s.CHROME, _e = s.CHROMIUM, le = s.IE, Z = s.INTERNET_EXPLORER, H = s.OPERA, K = s.FIREFOX, ue = s.SAFARI, ce = s.EDGE, we = s.YANDEX, ve = s.MOBILE_SAFARI, ee = l.MOBILE, z = l.TABLET, L = l.SMART_TV, Y = l.BROWSER, te = l.WEARABLE, Se = l.CONSOLE, re = a.ANDROID, $ = a.WINDOWS_PHONE, Q = a.IOS, Be = a.WINDOWS, je = a.MAC_OS, ot = function() {
8252
8255
  return I.type === ee;
8253
8256
  }, Xe = function() {
8254
8257
  return I.type === z;
@@ -8281,23 +8284,23 @@ function b1() {
8281
8284
  }, T = function() {
8282
8285
  return N.name === Q;
8283
8286
  }, A = function() {
8284
- return b.name === fe;
8287
+ return b.name === ae;
8285
8288
  }, V = function() {
8286
8289
  return b.name === K;
8287
8290
  }, M = function() {
8288
8291
  return b.name === _e;
8289
8292
  }, P = function() {
8290
- return b.name === le;
8293
+ return b.name === ce;
8291
8294
  }, W = function() {
8292
8295
  return b.name === we;
8293
8296
  }, ne = function() {
8294
- return b.name === de || b.name === ve;
8297
+ return b.name === ue || b.name === ve;
8295
8298
  }, G = function() {
8296
8299
  return b.name === ve;
8297
8300
  }, ge = function() {
8298
8301
  return b.name === H;
8299
8302
  }, Pe = function() {
8300
- return b.name === Z || b.name === ae;
8303
+ return b.name === Z || b.name === le;
8301
8304
  }, J = function() {
8302
8305
  var at = m(), hr = at && at.userAgent.toLowerCase();
8303
8306
  return typeof hr == "string" ? /electron/.test(hr) : !1;
@@ -8322,71 +8325,71 @@ function b1() {
8322
8325
  return b.name;
8323
8326
  }, Jt = function() {
8324
8327
  return I.vendor ? I.vendor : "none";
8325
- }, Qr = function() {
8326
- return I.model ? I.model : "none";
8327
8328
  }, en = function() {
8328
- return D.name;
8329
+ return I.model ? I.model : "none";
8329
8330
  }, tn = function() {
8330
- return D.version;
8331
+ return k.name;
8331
8332
  }, rn = function() {
8332
- return R;
8333
+ return k.version;
8333
8334
  }, nn = function() {
8335
+ return R;
8336
+ }, on = function() {
8334
8337
  return I.type;
8335
- }, on = Ht(), sn = Ct(), an = pt(), zt = G() || j(), ln = M(), rt = yt() || j(), cn = ot(), dn = Xe() || j(), un = bt(), fn = Wt(), hn = y(), pn = T() || j(), _n = A(), ii = V(), oi = ne(), si = ge(), fr = Pe(), mn = q(), gn = ze(), wn = xe(), ai = he(), vn = jt(), yn = Jt(), bn = Qr(), li = en(), ci = tn(), di = rn(), ui = P() || st(), Cn = W(), fi = nn(), hi = oe(), pi = j(), _i = me(), mi = He(), gi = J(), wi = st(), vi = P(), yi = _t(), bi = tt(), mt = p(I.type);
8336
- function Ci() {
8337
- var ie = mt.isBrowser, at = mt.isMobile, hr = mt.isTablet, Sn = mt.isSmartTV, En = mt.isConsole, Tn = mt.isWearable;
8338
+ }, sn = Ht(), an = Ct(), ln = pt(), zt = G() || j(), cn = M(), rt = yt() || j(), dn = ot(), un = Xe() || j(), fn = bt(), hn = Wt(), pn = y(), _n = T() || j(), mn = A(), oi = V(), si = ne(), ai = ge(), fr = Pe(), gn = q(), wn = ze(), vn = xe(), li = he(), yn = jt(), bn = Jt(), Cn = en(), ci = tn(), di = rn(), ui = nn(), fi = P() || st(), Sn = W(), hi = on(), pi = oe(), _i = j(), mi = me(), gi = He(), wi = J(), vi = st(), yi = P(), bi = _t(), Ci = tt(), mt = p(I.type);
8339
+ function Si() {
8340
+ var ie = mt.isBrowser, at = mt.isMobile, hr = mt.isTablet, En = mt.isSmartTV, Tn = mt.isConsole, On = mt.isWearable;
8338
8341
  if (ie)
8339
- return h(ie, b, D, N, R);
8340
- if (Sn)
8341
- return f(Sn, D, N, R);
8342
+ return f(ie, b, k, N, R);
8342
8343
  if (En)
8343
- return w(En, D, N, R);
8344
+ return h(En, k, N, R);
8345
+ if (Tn)
8346
+ return w(Tn, k, N, R);
8344
8347
  if (at || hr)
8345
8348
  return c(mt, I, N, R);
8346
- if (Tn)
8347
- return g(Tn, D, N, R);
8349
+ if (On)
8350
+ return g(On, k, N, R);
8348
8351
  }
8349
8352
  e.exports = {
8350
- deviceDetect: Ci,
8351
- isSmartTV: on,
8352
- isConsole: sn,
8353
- isWearable: an,
8353
+ deviceDetect: Si,
8354
+ isSmartTV: sn,
8355
+ isConsole: an,
8356
+ isWearable: ln,
8354
8357
  isMobileSafari: zt,
8355
- isChromium: ln,
8358
+ isChromium: cn,
8356
8359
  isMobile: rt,
8357
- isMobileOnly: cn,
8358
- isTablet: dn,
8359
- isBrowser: un,
8360
- isAndroid: fn,
8361
- isWinPhone: hn,
8362
- isIOS: pn,
8363
- isChrome: _n,
8364
- isFirefox: ii,
8365
- isSafari: oi,
8366
- isOpera: si,
8360
+ isMobileOnly: dn,
8361
+ isTablet: un,
8362
+ isBrowser: fn,
8363
+ isAndroid: hn,
8364
+ isWinPhone: pn,
8365
+ isIOS: _n,
8366
+ isChrome: mn,
8367
+ isFirefox: oi,
8368
+ isSafari: si,
8369
+ isOpera: ai,
8367
8370
  isIE: fr,
8368
- osVersion: mn,
8369
- osName: gn,
8370
- fullBrowserVersion: wn,
8371
- browserVersion: ai,
8372
- browserName: vn,
8373
- mobileVendor: yn,
8374
- mobileModel: bn,
8375
- engineName: li,
8376
- engineVersion: ci,
8377
- getUA: di,
8378
- isEdge: ui,
8379
- isYandex: Cn,
8380
- deviceType: fi,
8381
- isIOS13: hi,
8382
- isIPad13: pi,
8383
- isIPhone13: _i,
8384
- isIPod13: mi,
8385
- isElectron: gi,
8386
- isEdgeChromium: wi,
8387
- isLegacyEdge: vi,
8388
- isWindows: yi,
8389
- isMacOs: bi
8371
+ osVersion: gn,
8372
+ osName: wn,
8373
+ fullBrowserVersion: vn,
8374
+ browserVersion: li,
8375
+ browserName: yn,
8376
+ mobileVendor: bn,
8377
+ mobileModel: Cn,
8378
+ engineName: ci,
8379
+ engineVersion: di,
8380
+ getUA: ui,
8381
+ isEdge: fi,
8382
+ isYandex: Sn,
8383
+ deviceType: hi,
8384
+ isIOS13: pi,
8385
+ isIPad13: _i,
8386
+ isIPhone13: mi,
8387
+ isIPod13: gi,
8388
+ isElectron: wi,
8389
+ isEdgeChromium: vi,
8390
+ isLegacyEdge: yi,
8391
+ isWindows: bi,
8392
+ isMacOs: Ci
8390
8393
  };
8391
8394
  }),
8392
8395
  /* 2 */
@@ -8402,7 +8405,7 @@ function b1() {
8402
8405
  * Dual licensed under GPLv2 or MIT
8403
8406
  */
8404
8407
  (function(o, s) {
8405
- var a = "0.7.18", l = "", d = "?", p = "function", h = "undefined", c = "object", g = "string", w = "major", f = "model", m = "name", S = "type", C = "vendor", b = "version", I = "architecture", D = "console", N = "mobile", R = "tablet", fe = "smarttv", _e = "wearable", ae = "embedded", Z = { extend: function(ee, z) {
8408
+ var a = "0.7.18", l = "", d = "?", p = "function", f = "undefined", c = "object", g = "string", w = "major", h = "model", m = "name", S = "type", C = "vendor", b = "version", I = "architecture", k = "console", N = "mobile", R = "tablet", ae = "smarttv", _e = "wearable", le = "embedded", Z = { extend: function(ee, z) {
8406
8409
  var L = {};
8407
8410
  for (var Y in ee)
8408
8411
  z[Y] && z[Y].length % 2 === 0 ? L[Y] = z[Y].concat(ee[Y]) : L[Y] = ee[Y];
@@ -8433,10 +8436,10 @@ function b1() {
8433
8436
  } else if (Z.has(z[L], ee))
8434
8437
  return L === d ? s : L;
8435
8438
  return ee;
8436
- } }, K = { browser: { oldsafari: { version: { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" } } }, device: { amazon: { model: { "Fire Phone": ["SD", "KF"] } }, sprint: { model: { "Evo Shift 4G": "7373KT" }, vendor: { HTC: "APA", Sprint: "Sprint" } } }, os: { windows: { version: { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" } } } }, de = { browser: [[/(opera\smini)\/([\w\.-]+)/i, /(opera\s[mobiletab]+).+version\/([\w\.-]+)/i, /(opera).+version\/([\w\.]+)/i, /(opera)[\/\s]+([\w\.]+)/i], [m, b], [/(opios)[\/\s]+([\w\.]+)/i], [[m, "Opera Mini"], b], [/\s(opr)\/([\w\.]+)/i], [[m, "Opera"], b], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i, /(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i, /(?:ms|\()(ie)\s([\w\.]+)/i, /(rekonq)\/([\w\.]*)/i, /(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark)\/([\w\.-]+)/i], [m, b], [/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i], [[m, "IE"], b], [/(edge|edgios|edgea)\/((\d+)?[\w\.]+)/i], [[m, "Edge"], b], [/(yabrowser)\/([\w\.]+)/i], [[m, "Yandex"], b], [/(puffin)\/([\w\.]+)/i], [[m, "Puffin"], b], [/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i], [[m, "UCBrowser"], b], [/(comodo_dragon)\/([\w\.]+)/i], [[m, /_/g, " "], b], [/(micromessenger)\/([\w\.]+)/i], [[m, "WeChat"], b], [/(qqbrowserlite)\/([\w\.]+)/i], [m, b], [/(QQ)\/([\d\.]+)/i], [m, b], [/m?(qqbrowser)[\/\s]?([\w\.]+)/i], [m, b], [/(BIDUBrowser)[\/\s]?([\w\.]+)/i], [m, b], [/(2345Explorer)[\/\s]?([\w\.]+)/i], [m, b], [/(MetaSr)[\/\s]?([\w\.]+)/i], [m], [/(LBBROWSER)/i], [m], [/xiaomi\/miuibrowser\/([\w\.]+)/i], [b, [m, "MIUI Browser"]], [/;fbav\/([\w\.]+);/i], [b, [m, "Facebook"]], [/headlesschrome(?:\/([\w\.]+)|\s)/i], [b, [m, "Chrome Headless"]], [/\swv\).+(chrome)\/([\w\.]+)/i], [[m, /(.+)/, "$1 WebView"], b], [/((?:oculus|samsung)browser)\/([\w\.]+)/i], [[m, /(.+(?:g|us))(.+)/, "$1 $2"], b], [/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i], [b, [m, "Android Browser"]], [/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i], [m, b], [/(dolfin)\/([\w\.]+)/i], [[m, "Dolphin"], b], [/((?:android.+)crmo|crios)\/([\w\.]+)/i], [[m, "Chrome"], b], [/(coast)\/([\w\.]+)/i], [[m, "Opera Coast"], b], [/fxios\/([\w\.-]+)/i], [b, [m, "Firefox"]], [/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i], [b, [m, "Mobile Safari"]], [/version\/([\w\.]+).+?(mobile\s?safari|safari)/i], [b, m], [/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i], [[m, "GSA"], b], [/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i], [m, [b, H.str, K.browser.oldsafari.version]], [/(konqueror)\/([\w\.]+)/i, /(webkit|khtml)\/([\w\.]+)/i], [m, b], [/(navigator|netscape)\/([\w\.-]+)/i], [[m, "Netscape"], b], [/(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i, /(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i, /(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i, /(links)\s\(([\w\.]+)/i, /(gobrowser)\/?([\w\.]*)/i, /(ice\s?browser)\/v?([\w\._]+)/i, /(mosaic)[\/\s]([\w\.]+)/i], [m, b]], cpu: [[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i], [[I, "amd64"]], [/(ia32(?=;))/i], [[I, Z.lowerize]], [/((?:i[346]|x)86)[;\)]/i], [[I, "ia32"]], [/windows\s(ce|mobile);\sppc;/i], [[I, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i], [[I, /ower/, "", Z.lowerize]], [/(sun4\w)[;\)]/i], [[I, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i], [[I, Z.lowerize]]], device: [[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i], [f, C, [S, R]], [/applecoremedia\/[\w\.]+ \((ipad)/], [f, [C, "Apple"], [S, R]], [/(apple\s{0,1}tv)/i], [[f, "Apple TV"], [C, "Apple"]], [/(archos)\s(gamepad2?)/i, /(hp).+(touchpad)/i, /(hp).+(tablet)/i, /(kindle)\/([\w\.]+)/i, /\s(nook)[\w\s]+build\/(\w+)/i, /(dell)\s(strea[kpr\s\d]*[\dko])/i], [C, f, [S, R]], [/(kf[A-z]+)\sbuild\/.+silk\//i], [f, [C, "Amazon"], [S, R]], [/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i], [[f, H.str, K.device.amazon.model], [C, "Amazon"], [S, N]], [/\((ip[honed|\s\w*]+);.+(apple)/i], [f, C, [S, N]], [/\((ip[honed|\s\w*]+);/i], [f, [C, "Apple"], [S, N]], [/(blackberry)[\s-]?(\w+)/i, /(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i, /(hp)\s([\w\s]+\w)/i, /(asus)-?(\w+)/i], [C, f, [S, N]], [/\(bb10;\s(\w+)/i], [f, [C, "BlackBerry"], [S, N]], [/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i], [f, [C, "Asus"], [S, R]], [/(sony)\s(tablet\s[ps])\sbuild\//i, /(sony)?(?:sgp.+)\sbuild\//i], [[C, "Sony"], [f, "Xperia Tablet"], [S, R]], [/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i], [f, [C, "Sony"], [S, N]], [/\s(ouya)\s/i, /(nintendo)\s([wids3u]+)/i], [C, f, [S, D]], [/android.+;\s(shield)\sbuild/i], [f, [C, "Nvidia"], [S, D]], [/(playstation\s[34portablevi]+)/i], [f, [C, "Sony"], [S, D]], [/(sprint\s(\w+))/i], [[C, H.str, K.device.sprint.vendor], [f, H.str, K.device.sprint.model], [S, N]], [/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i], [C, f, [S, R]], [/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i, /(zte)-(\w*)/i, /(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i], [C, [f, /_/g, " "], [S, N]], [/(nexus\s9)/i], [f, [C, "HTC"], [S, R]], [/d\/huawei([\w\s-]+)[;\)]/i, /(nexus\s6p)/i], [f, [C, "Huawei"], [S, N]], [/(microsoft);\s(lumia[\s\w]+)/i], [C, f, [S, N]], [/[\s\(;](xbox(?:\sone)?)[\s\);]/i], [f, [C, "Microsoft"], [S, D]], [/(kin\.[onetw]{3})/i], [[f, /\./g, " "], [C, "Microsoft"], [S, N]], [/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)[\w\s]+build\//i, /mot[\s-]?(\w*)/i, /(XT\d{3,4}) build\//i, /(nexus\s6)/i], [f, [C, "Motorola"], [S, N]], [/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i], [f, [C, "Motorola"], [S, R]], [/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i], [[C, Z.trim], [f, Z.trim], [S, fe]], [/hbbtv.+maple;(\d+)/i], [[f, /^/, "SmartTV"], [C, "Samsung"], [S, fe]], [/\(dtv[\);].+(aquos)/i], [f, [C, "Sharp"], [S, fe]], [/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i, /((SM-T\w+))/i], [[C, "Samsung"], f, [S, R]], [/smart-tv.+(samsung)/i], [C, [S, fe], f], [/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i, /(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i, /sec-((sgh\w+))/i], [[C, "Samsung"], f, [S, N]], [/sie-(\w*)/i], [f, [C, "Siemens"], [S, N]], [/(maemo|nokia).*(n900|lumia\s\d+)/i, /(nokia)[\s_-]?([\w-]*)/i], [[C, "Nokia"], f, [S, N]], [/android\s3\.[\s\w;-]{10}(a\d{3})/i], [f, [C, "Acer"], [S, R]], [/android.+([vl]k\-?\d{3})\s+build/i], [f, [C, "LG"], [S, R]], [/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i], [[C, "LG"], f, [S, R]], [/(lg) netcast\.tv/i], [C, f, [S, fe]], [/(nexus\s[45])/i, /lg[e;\s\/-]+(\w*)/i, /android.+lg(\-?[\d\w]+)\s+build/i], [f, [C, "LG"], [S, N]], [/android.+(ideatab[a-z0-9\-\s]+)/i], [f, [C, "Lenovo"], [S, R]], [/linux;.+((jolla));/i], [C, f, [S, N]], [/((pebble))app\/[\d\.]+\s/i], [C, f, [S, _e]], [/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i], [C, f, [S, N]], [/crkey/i], [[f, "Chromecast"], [C, "Google"]], [/android.+;\s(glass)\s\d/i], [f, [C, "Google"], [S, _e]], [/android.+;\s(pixel c)\s/i], [f, [C, "Google"], [S, R]], [/android.+;\s(pixel xl|pixel)\s/i], [f, [C, "Google"], [S, N]], [/android.+;\s(\w+)\s+build\/hm\1/i, /android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i, /android.+(mi[\s\-_]*(?:one|one[\s_]plus|note lte)?[\s_]*(?:\d?\w?)[\s_]*(?:plus)?)\s+build/i, /android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+))\s+build/i], [[f, /_/g, " "], [C, "Xiaomi"], [S, N]], [/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i], [[f, /_/g, " "], [C, "Xiaomi"], [S, R]], [/android.+;\s(m[1-5]\snote)\sbuild/i], [f, [C, "Meizu"], [S, R]], [/android.+a000(1)\s+build/i, /android.+oneplus\s(a\d{4})\s+build/i], [f, [C, "OnePlus"], [S, N]], [/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i], [f, [C, "RCA"], [S, R]], [/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i], [f, [C, "Dell"], [S, R]], [/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i], [f, [C, "Verizon"], [S, R]], [/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i], [[C, "Barnes & Noble"], f, [S, R]], [/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i], [f, [C, "NuVision"], [S, R]], [/android.+;\s(k88)\sbuild/i], [f, [C, "ZTE"], [S, R]], [/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i], [f, [C, "Swiss"], [S, N]], [/android.+[;\/]\s*(zur\d{3})\s+build/i], [f, [C, "Swiss"], [S, R]], [/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i], [f, [C, "Zeki"], [S, R]], [/(android).+[;\/]\s+([YR]\d{2})\s+build/i, /android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i], [[C, "Dragon Touch"], f, [S, R]], [/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i], [f, [C, "Insignia"], [S, R]], [/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i], [f, [C, "NextBook"], [S, R]], [/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i], [[C, "Voice"], f, [S, N]], [/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i], [[C, "LvTel"], f, [S, N]], [/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i], [f, [C, "Envizen"], [S, R]], [/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i], [C, f, [S, R]], [/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i], [f, [C, "MachSpeed"], [S, R]], [/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i], [C, f, [S, R]], [/android.+[;\/]\s*TU_(1491)\s+build/i], [f, [C, "Rotor"], [S, R]], [/android.+(KS(.+))\s+build/i], [f, [C, "Amazon"], [S, R]], [/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i], [C, f, [S, R]], [/\s(tablet|tab)[;\/]/i, /\s(mobile)(?:[;\/]|\ssafari)/i], [[S, Z.lowerize], C, f], [/(android[\w\.\s\-]{0,9});.+build/i], [f, [C, "Generic"]]], engine: [[/windows.+\sedge\/([\w\.]+)/i], [b, [m, "EdgeHTML"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i, /(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i, /(icab)[\/\s]([23]\.[\d\.]+)/i], [m, b], [/rv\:([\w\.]{1,9}).+(gecko)/i], [b, m]], os: [[/microsoft\s(windows)\s(vista|xp)/i], [m, b], [/(windows)\snt\s6\.2;\s(arm)/i, /(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i, /(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i], [m, [b, H.str, K.os.windows.version]], [/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i], [[m, "Windows"], [b, H.str, K.os.windows.version]], [/\((bb)(10);/i], [[m, "BlackBerry"], b], [/(blackberry)\w*\/?([\w\.]*)/i, /(tizen)[\/\s]([\w\.]+)/i, /(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]*)/i, /linux;.+(sailfish);/i], [m, b], [/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i], [[m, "Symbian"], b], [/\((series40);/i], [m], [/mozilla.+\(mobile;.+gecko.+firefox/i], [[m, "Firefox OS"], b], [/(nintendo|playstation)\s([wids34portablevu]+)/i, /(mint)[\/\s\(]?(\w*)/i, /(mageia|vectorlinux)[;\s]/i, /(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]*)/i, /(hurd|linux)\s?([\w\.]*)/i, /(gnu)\s?([\w\.]*)/i], [m, b], [/(cros)\s[\w]+\s([\w\.]+\w)/i], [[m, "Chromium OS"], b], [/(sunos)\s?([\w\.\d]*)/i], [[m, "Solaris"], b], [/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i], [m, b], [/(haiku)\s(\w+)/i], [m, b], [/cfnetwork\/.+darwin/i, /ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i], [[b, /_/g, "."], [m, "iOS"]], [/(mac\sos\sx)\s?([\w\s\.]*)/i, /(macintosh|mac(?=_powerpc)\s)/i], [[m, "Mac OS"], [b, /_/g, "."]], [/((?:open)?solaris)[\/\s-]?([\w\.]*)/i, /(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i, /(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms)/i, /(unix)\s?([\w\.]*)/i], [m, b]] }, le = function(ee, z) {
8437
- if (typeof ee == "object" && (z = ee, ee = s), !(this instanceof le))
8438
- return new le(ee, z).getResult();
8439
- var L = ee || (o && o.navigator && o.navigator.userAgent ? o.navigator.userAgent : l), Y = z ? Z.extend(de, z) : de;
8439
+ } }, K = { browser: { oldsafari: { version: { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" } } }, device: { amazon: { model: { "Fire Phone": ["SD", "KF"] } }, sprint: { model: { "Evo Shift 4G": "7373KT" }, vendor: { HTC: "APA", Sprint: "Sprint" } } }, os: { windows: { version: { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" } } } }, ue = { browser: [[/(opera\smini)\/([\w\.-]+)/i, /(opera\s[mobiletab]+).+version\/([\w\.-]+)/i, /(opera).+version\/([\w\.]+)/i, /(opera)[\/\s]+([\w\.]+)/i], [m, b], [/(opios)[\/\s]+([\w\.]+)/i], [[m, "Opera Mini"], b], [/\s(opr)\/([\w\.]+)/i], [[m, "Opera"], b], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i, /(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i, /(?:ms|\()(ie)\s([\w\.]+)/i, /(rekonq)\/([\w\.]*)/i, /(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark)\/([\w\.-]+)/i], [m, b], [/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i], [[m, "IE"], b], [/(edge|edgios|edgea)\/((\d+)?[\w\.]+)/i], [[m, "Edge"], b], [/(yabrowser)\/([\w\.]+)/i], [[m, "Yandex"], b], [/(puffin)\/([\w\.]+)/i], [[m, "Puffin"], b], [/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i], [[m, "UCBrowser"], b], [/(comodo_dragon)\/([\w\.]+)/i], [[m, /_/g, " "], b], [/(micromessenger)\/([\w\.]+)/i], [[m, "WeChat"], b], [/(qqbrowserlite)\/([\w\.]+)/i], [m, b], [/(QQ)\/([\d\.]+)/i], [m, b], [/m?(qqbrowser)[\/\s]?([\w\.]+)/i], [m, b], [/(BIDUBrowser)[\/\s]?([\w\.]+)/i], [m, b], [/(2345Explorer)[\/\s]?([\w\.]+)/i], [m, b], [/(MetaSr)[\/\s]?([\w\.]+)/i], [m], [/(LBBROWSER)/i], [m], [/xiaomi\/miuibrowser\/([\w\.]+)/i], [b, [m, "MIUI Browser"]], [/;fbav\/([\w\.]+);/i], [b, [m, "Facebook"]], [/headlesschrome(?:\/([\w\.]+)|\s)/i], [b, [m, "Chrome Headless"]], [/\swv\).+(chrome)\/([\w\.]+)/i], [[m, /(.+)/, "$1 WebView"], b], [/((?:oculus|samsung)browser)\/([\w\.]+)/i], [[m, /(.+(?:g|us))(.+)/, "$1 $2"], b], [/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i], [b, [m, "Android Browser"]], [/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i], [m, b], [/(dolfin)\/([\w\.]+)/i], [[m, "Dolphin"], b], [/((?:android.+)crmo|crios)\/([\w\.]+)/i], [[m, "Chrome"], b], [/(coast)\/([\w\.]+)/i], [[m, "Opera Coast"], b], [/fxios\/([\w\.-]+)/i], [b, [m, "Firefox"]], [/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i], [b, [m, "Mobile Safari"]], [/version\/([\w\.]+).+?(mobile\s?safari|safari)/i], [b, m], [/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i], [[m, "GSA"], b], [/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i], [m, [b, H.str, K.browser.oldsafari.version]], [/(konqueror)\/([\w\.]+)/i, /(webkit|khtml)\/([\w\.]+)/i], [m, b], [/(navigator|netscape)\/([\w\.-]+)/i], [[m, "Netscape"], b], [/(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i, /(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i, /(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i, /(links)\s\(([\w\.]+)/i, /(gobrowser)\/?([\w\.]*)/i, /(ice\s?browser)\/v?([\w\._]+)/i, /(mosaic)[\/\s]([\w\.]+)/i], [m, b]], cpu: [[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i], [[I, "amd64"]], [/(ia32(?=;))/i], [[I, Z.lowerize]], [/((?:i[346]|x)86)[;\)]/i], [[I, "ia32"]], [/windows\s(ce|mobile);\sppc;/i], [[I, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i], [[I, /ower/, "", Z.lowerize]], [/(sun4\w)[;\)]/i], [[I, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i], [[I, Z.lowerize]]], device: [[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i], [h, C, [S, R]], [/applecoremedia\/[\w\.]+ \((ipad)/], [h, [C, "Apple"], [S, R]], [/(apple\s{0,1}tv)/i], [[h, "Apple TV"], [C, "Apple"]], [/(archos)\s(gamepad2?)/i, /(hp).+(touchpad)/i, /(hp).+(tablet)/i, /(kindle)\/([\w\.]+)/i, /\s(nook)[\w\s]+build\/(\w+)/i, /(dell)\s(strea[kpr\s\d]*[\dko])/i], [C, h, [S, R]], [/(kf[A-z]+)\sbuild\/.+silk\//i], [h, [C, "Amazon"], [S, R]], [/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i], [[h, H.str, K.device.amazon.model], [C, "Amazon"], [S, N]], [/\((ip[honed|\s\w*]+);.+(apple)/i], [h, C, [S, N]], [/\((ip[honed|\s\w*]+);/i], [h, [C, "Apple"], [S, N]], [/(blackberry)[\s-]?(\w+)/i, /(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i, /(hp)\s([\w\s]+\w)/i, /(asus)-?(\w+)/i], [C, h, [S, N]], [/\(bb10;\s(\w+)/i], [h, [C, "BlackBerry"], [S, N]], [/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i], [h, [C, "Asus"], [S, R]], [/(sony)\s(tablet\s[ps])\sbuild\//i, /(sony)?(?:sgp.+)\sbuild\//i], [[C, "Sony"], [h, "Xperia Tablet"], [S, R]], [/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i], [h, [C, "Sony"], [S, N]], [/\s(ouya)\s/i, /(nintendo)\s([wids3u]+)/i], [C, h, [S, k]], [/android.+;\s(shield)\sbuild/i], [h, [C, "Nvidia"], [S, k]], [/(playstation\s[34portablevi]+)/i], [h, [C, "Sony"], [S, k]], [/(sprint\s(\w+))/i], [[C, H.str, K.device.sprint.vendor], [h, H.str, K.device.sprint.model], [S, N]], [/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i], [C, h, [S, R]], [/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i, /(zte)-(\w*)/i, /(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i], [C, [h, /_/g, " "], [S, N]], [/(nexus\s9)/i], [h, [C, "HTC"], [S, R]], [/d\/huawei([\w\s-]+)[;\)]/i, /(nexus\s6p)/i], [h, [C, "Huawei"], [S, N]], [/(microsoft);\s(lumia[\s\w]+)/i], [C, h, [S, N]], [/[\s\(;](xbox(?:\sone)?)[\s\);]/i], [h, [C, "Microsoft"], [S, k]], [/(kin\.[onetw]{3})/i], [[h, /\./g, " "], [C, "Microsoft"], [S, N]], [/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)[\w\s]+build\//i, /mot[\s-]?(\w*)/i, /(XT\d{3,4}) build\//i, /(nexus\s6)/i], [h, [C, "Motorola"], [S, N]], [/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i], [h, [C, "Motorola"], [S, R]], [/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i], [[C, Z.trim], [h, Z.trim], [S, ae]], [/hbbtv.+maple;(\d+)/i], [[h, /^/, "SmartTV"], [C, "Samsung"], [S, ae]], [/\(dtv[\);].+(aquos)/i], [h, [C, "Sharp"], [S, ae]], [/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i, /((SM-T\w+))/i], [[C, "Samsung"], h, [S, R]], [/smart-tv.+(samsung)/i], [C, [S, ae], h], [/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i, /(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i, /sec-((sgh\w+))/i], [[C, "Samsung"], h, [S, N]], [/sie-(\w*)/i], [h, [C, "Siemens"], [S, N]], [/(maemo|nokia).*(n900|lumia\s\d+)/i, /(nokia)[\s_-]?([\w-]*)/i], [[C, "Nokia"], h, [S, N]], [/android\s3\.[\s\w;-]{10}(a\d{3})/i], [h, [C, "Acer"], [S, R]], [/android.+([vl]k\-?\d{3})\s+build/i], [h, [C, "LG"], [S, R]], [/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i], [[C, "LG"], h, [S, R]], [/(lg) netcast\.tv/i], [C, h, [S, ae]], [/(nexus\s[45])/i, /lg[e;\s\/-]+(\w*)/i, /android.+lg(\-?[\d\w]+)\s+build/i], [h, [C, "LG"], [S, N]], [/android.+(ideatab[a-z0-9\-\s]+)/i], [h, [C, "Lenovo"], [S, R]], [/linux;.+((jolla));/i], [C, h, [S, N]], [/((pebble))app\/[\d\.]+\s/i], [C, h, [S, _e]], [/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i], [C, h, [S, N]], [/crkey/i], [[h, "Chromecast"], [C, "Google"]], [/android.+;\s(glass)\s\d/i], [h, [C, "Google"], [S, _e]], [/android.+;\s(pixel c)\s/i], [h, [C, "Google"], [S, R]], [/android.+;\s(pixel xl|pixel)\s/i], [h, [C, "Google"], [S, N]], [/android.+;\s(\w+)\s+build\/hm\1/i, /android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i, /android.+(mi[\s\-_]*(?:one|one[\s_]plus|note lte)?[\s_]*(?:\d?\w?)[\s_]*(?:plus)?)\s+build/i, /android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+))\s+build/i], [[h, /_/g, " "], [C, "Xiaomi"], [S, N]], [/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i], [[h, /_/g, " "], [C, "Xiaomi"], [S, R]], [/android.+;\s(m[1-5]\snote)\sbuild/i], [h, [C, "Meizu"], [S, R]], [/android.+a000(1)\s+build/i, /android.+oneplus\s(a\d{4})\s+build/i], [h, [C, "OnePlus"], [S, N]], [/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i], [h, [C, "RCA"], [S, R]], [/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i], [h, [C, "Dell"], [S, R]], [/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i], [h, [C, "Verizon"], [S, R]], [/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i], [[C, "Barnes & Noble"], h, [S, R]], [/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i], [h, [C, "NuVision"], [S, R]], [/android.+;\s(k88)\sbuild/i], [h, [C, "ZTE"], [S, R]], [/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i], [h, [C, "Swiss"], [S, N]], [/android.+[;\/]\s*(zur\d{3})\s+build/i], [h, [C, "Swiss"], [S, R]], [/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i], [h, [C, "Zeki"], [S, R]], [/(android).+[;\/]\s+([YR]\d{2})\s+build/i, /android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i], [[C, "Dragon Touch"], h, [S, R]], [/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i], [h, [C, "Insignia"], [S, R]], [/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i], [h, [C, "NextBook"], [S, R]], [/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i], [[C, "Voice"], h, [S, N]], [/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i], [[C, "LvTel"], h, [S, N]], [/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i], [h, [C, "Envizen"], [S, R]], [/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i], [C, h, [S, R]], [/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i], [h, [C, "MachSpeed"], [S, R]], [/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i], [C, h, [S, R]], [/android.+[;\/]\s*TU_(1491)\s+build/i], [h, [C, "Rotor"], [S, R]], [/android.+(KS(.+))\s+build/i], [h, [C, "Amazon"], [S, R]], [/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i], [C, h, [S, R]], [/\s(tablet|tab)[;\/]/i, /\s(mobile)(?:[;\/]|\ssafari)/i], [[S, Z.lowerize], C, h], [/(android[\w\.\s\-]{0,9});.+build/i], [h, [C, "Generic"]]], engine: [[/windows.+\sedge\/([\w\.]+)/i], [b, [m, "EdgeHTML"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i, /(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i, /(icab)[\/\s]([23]\.[\d\.]+)/i], [m, b], [/rv\:([\w\.]{1,9}).+(gecko)/i], [b, m]], os: [[/microsoft\s(windows)\s(vista|xp)/i], [m, b], [/(windows)\snt\s6\.2;\s(arm)/i, /(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i, /(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i], [m, [b, H.str, K.os.windows.version]], [/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i], [[m, "Windows"], [b, H.str, K.os.windows.version]], [/\((bb)(10);/i], [[m, "BlackBerry"], b], [/(blackberry)\w*\/?([\w\.]*)/i, /(tizen)[\/\s]([\w\.]+)/i, /(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]*)/i, /linux;.+(sailfish);/i], [m, b], [/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i], [[m, "Symbian"], b], [/\((series40);/i], [m], [/mozilla.+\(mobile;.+gecko.+firefox/i], [[m, "Firefox OS"], b], [/(nintendo|playstation)\s([wids34portablevu]+)/i, /(mint)[\/\s\(]?(\w*)/i, /(mageia|vectorlinux)[;\s]/i, /(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]*)/i, /(hurd|linux)\s?([\w\.]*)/i, /(gnu)\s?([\w\.]*)/i], [m, b], [/(cros)\s[\w]+\s([\w\.]+\w)/i], [[m, "Chromium OS"], b], [/(sunos)\s?([\w\.\d]*)/i], [[m, "Solaris"], b], [/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i], [m, b], [/(haiku)\s(\w+)/i], [m, b], [/cfnetwork\/.+darwin/i, /ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i], [[b, /_/g, "."], [m, "iOS"]], [/(mac\sos\sx)\s?([\w\s\.]*)/i, /(macintosh|mac(?=_powerpc)\s)/i], [[m, "Mac OS"], [b, /_/g, "."]], [/((?:open)?solaris)[\/\s-]?([\w\.]*)/i, /(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i, /(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms)/i, /(unix)\s?([\w\.]*)/i], [m, b]] }, ce = function(ee, z) {
8440
+ if (typeof ee == "object" && (z = ee, ee = s), !(this instanceof ce))
8441
+ return new ce(ee, z).getResult();
8442
+ var L = ee || (o && o.navigator && o.navigator.userAgent ? o.navigator.userAgent : l), Y = z ? Z.extend(ue, z) : ue;
8440
8443
  return this.getBrowser = function() {
8441
8444
  var te = { name: s, version: s };
8442
8445
  return H.rgx.call(te, L, Y.browser), te.major = Z.major(te.version), te;
@@ -8460,12 +8463,12 @@ function b1() {
8460
8463
  return L = te, this;
8461
8464
  }, this;
8462
8465
  };
8463
- le.VERSION = a, le.BROWSER = { NAME: m, MAJOR: w, VERSION: b }, le.CPU = { ARCHITECTURE: I }, le.DEVICE = { MODEL: f, VENDOR: C, TYPE: S, CONSOLE: D, MOBILE: N, SMARTTV: fe, TABLET: R, WEARABLE: _e, EMBEDDED: ae }, le.ENGINE = { NAME: m, VERSION: b }, le.OS = { NAME: m, VERSION: b }, typeof r !== h ? (typeof e !== h && e.exports && (r = e.exports = le), r.UAParser = le) : n(3) ? (i = (function() {
8464
- return le;
8465
- }).call(r, n, r, e), i !== s && (e.exports = i)) : o && (o.UAParser = le);
8466
+ ce.VERSION = a, ce.BROWSER = { NAME: m, MAJOR: w, VERSION: b }, ce.CPU = { ARCHITECTURE: I }, ce.DEVICE = { MODEL: h, VENDOR: C, TYPE: S, CONSOLE: k, MOBILE: N, SMARTTV: ae, TABLET: R, WEARABLE: _e, EMBEDDED: le }, ce.ENGINE = { NAME: m, VERSION: b }, ce.OS = { NAME: m, VERSION: b }, typeof r !== f ? (typeof e !== f && e.exports && (r = e.exports = ce), r.UAParser = ce) : n(3) ? (i = (function() {
8467
+ return ce;
8468
+ }).call(r, n, r, e), i !== s && (e.exports = i)) : o && (o.UAParser = ce);
8466
8469
  var we = o && (o.jQuery || o.Zepto);
8467
- if (typeof we !== h) {
8468
- var ve = new le();
8470
+ if (typeof we !== f) {
8471
+ var ve = new ce();
8469
8472
  we.ua = ve.getResult(), we.ua.get = function() {
8470
8473
  return ve.getUA();
8471
8474
  }, we.ua.set = function(ee) {
@@ -8514,7 +8517,7 @@ function b1() {
8514
8517
  default:
8515
8518
  return a;
8516
8519
  }
8517
- }, d = function(S, C, b, I, D) {
8520
+ }, d = function(S, C, b, I, k) {
8518
8521
  return {
8519
8522
  isBrowser: S,
8520
8523
  browserMajorVersion: C.major,
@@ -8524,7 +8527,7 @@ function b1() {
8524
8527
  engineVersion: b.version,
8525
8528
  osName: I.name,
8526
8529
  osVersion: I.version,
8527
- userAgent: D
8530
+ userAgent: k
8528
8531
  };
8529
8532
  }, p = function(S, C, b, I) {
8530
8533
  return i({}, S, {
@@ -8534,7 +8537,7 @@ function b1() {
8534
8537
  osVersion: b.version,
8535
8538
  ua: I
8536
8539
  });
8537
- }, h = function(S, C, b, I) {
8540
+ }, f = function(S, C, b, I) {
8538
8541
  return {
8539
8542
  isSmartTV: S,
8540
8543
  engineName: C.name,
@@ -8563,7 +8566,7 @@ function b1() {
8563
8566
  };
8564
8567
  }, w = r.getNavigatorInstance = function() {
8565
8568
  return typeof window != "undefined" && (window.navigator || navigator) ? window.navigator || navigator : !1;
8566
- }, f = r.isIOS13Check = function(S) {
8569
+ }, h = r.isIOS13Check = function(S) {
8567
8570
  var C = w();
8568
8571
  return C && C.platform && (C.platform.indexOf(S) !== -1 || C.platform === "MacIntel" && C.maxTouchPoints > 1 && !window.MSStream);
8569
8572
  };
@@ -8571,25 +8574,25 @@ function b1() {
8571
8574
  checkType: l,
8572
8575
  broPayload: d,
8573
8576
  mobilePayload: p,
8574
- stvPayload: h,
8577
+ stvPayload: f,
8575
8578
  consolePayload: c,
8576
8579
  wearPayload: g,
8577
8580
  getNavigatorInstance: w,
8578
- isIOS13Check: f
8581
+ isIOS13Check: h
8579
8582
  };
8580
8583
  })
8581
8584
  /******/
8582
8585
  ]);
8583
- })(Vi)), Vi.exports;
8586
+ })($i)), $i.exports;
8584
8587
  }
8585
8588
  var C1 = b1(), S1 = Object.defineProperty, Or = (t, e, r, n) => {
8586
8589
  for (var i = void 0, o = t.length - 1, s; o >= 0; o--)
8587
8590
  (s = t[o]) && (i = s(e, r, i) || i);
8588
8591
  return i && S1(e, r, i), i;
8589
8592
  };
8590
- const No = class No extends Dr {
8593
+ const No = class No extends Mr {
8591
8594
  constructor() {
8592
- super(), this._currentProgressElement = null, this._currentScreenElement = null, this._currentScreenModuleId = "", this._currentScreenConfig = null, this.orientation = new y1(this), this.store = Le.getInitialState(), this.currentScreenConfig = this.store.currentScreenConfig, this.processingScreenFromWorkflow = this.store.processingTransformedTemplate, this.isProcessing = this.store.isProcessing, this.loadedModules = this.store.externalModules, this.modulesConfig = this.store.modulesConfig, this._listenerFromModule = (e, r) => {
8595
+ super(...arguments), this._currentProgressElement = null, this._currentScreenElement = null, this._currentScreenModuleId = "", this._currentScreenConfig = null, this.orientation = new y1(this), this.store = Le.getInitialState(), this.currentScreenConfig = this.store.currentScreenConfig, this.processingScreenFromWorkflow = this.store.processingTransformedTemplate, this.isProcessing = this.store.isProcessing, this.loadedModules = this.store.externalModules, this.modulesConfig = this.store.modulesConfig, this._listenerFromModule = (e, r) => {
8593
8596
  this.store.listener({
8594
8597
  eventType: Fn.MESSAGE,
8595
8598
  message: r,
@@ -8599,13 +8602,16 @@ const No = class No extends Dr {
8599
8602
  this.store.setIsProcessing(e);
8600
8603
  }, this._performFromModule = (e, r) => {
8601
8604
  this.store.setIsProcessing(!1), this.store.pushStepWaitNextStepAndSet(e, r);
8602
- }, Le.subscribe((e) => {
8605
+ };
8606
+ }
8607
+ connectedCallback() {
8608
+ super.connectedCallback(), this.unsubscribeFromStore = Le.subscribe((e) => {
8603
8609
  this.currentScreenConfig = e.currentScreenConfig, this.processingScreenFromWorkflow = e.processingTransformedTemplate, this.isProcessing = e.isProcessing, this.loadedModules = e.externalModules, this.modulesConfig = e.modulesConfig;
8604
8610
  });
8605
8611
  }
8606
8612
  _processingScreen() {
8607
8613
  const e = this.loadedModules.find((n) => n.supportedTemplates.includes("PROGRESS"));
8608
- if (!e || !this.processingScreenFromWorkflow) return Ti`Processing...`;
8614
+ if (!e || !this.processingScreenFromWorkflow) return Oi`Processing...`;
8609
8615
  const r = {
8610
8616
  perform: this._performFromModule,
8611
8617
  moduleProps: X(O({}, this.processingScreenFromWorkflow), {
@@ -8636,20 +8642,21 @@ const No = class No extends Dr {
8636
8642
  return (!this._currentScreenElement || !this._isTheSameModuleAndScreen(e)) && (this._currentScreenElement = Hs(e.id, r), this._currentScreenModuleId = e.id, this._currentScreenConfig = this.currentScreenConfig), this._currentScreenElement;
8637
8643
  }
8638
8644
  get version() {
8639
- return `${"3.2.261-nightly".trim()}`;
8645
+ return `${"3.2.263-nightly".trim()}`;
8640
8646
  }
8641
8647
  disconnectedCallback() {
8642
- na.clearLogs();
8648
+ var e;
8649
+ super.disconnectedCallback(), (e = this.unsubscribeFromStore) == null || e.call(this), na.clearLogs();
8643
8650
  }
8644
8651
  render() {
8645
- return !this.currentScreenConfig && !this.processingScreenFromWorkflow ? null : Ti`<div
8652
+ return !this.currentScreenConfig && !this.processingScreenFromWorkflow ? null : Oi`<div
8646
8653
  part="idv"
8647
8654
  class="idv"
8648
8655
  data-device="${C1.isMobile && this.orientation.isPortrait ? "mobile" : "desktop"}"
8649
8656
  data-direction="${ia.Ltr}"
8650
8657
  >
8651
8658
  <div class="container">
8652
- ${this.isProcessing ? Ti`<div class="processing-overlay">${this._processingScreen()}</div>` : ""}
8659
+ ${this.isProcessing ? Oi`<div class="processing-overlay">${this._processingScreen()}</div>` : ""}
8653
8660
  ${this._currentScreen()}
8654
8661
  </div>
8655
8662
  </div>`;
@@ -8722,7 +8729,7 @@ class P1 {
8722
8729
  }
8723
8730
  /** service commands */
8724
8731
  get version() {
8725
- return "3.2.261-nightly";
8732
+ return "3.2.263-nightly";
8726
8733
  }
8727
8734
  set nonce(e) {
8728
8735
  Le.getState().setNonce(e);
@@ -8747,9 +8754,9 @@ export {
8747
8754
  Un as DeinitializationError,
8748
8755
  Fn as IdvEventTypesEnum,
8749
8756
  P1 as IdvIntegrationService,
8750
- Mr as IdvServiceMessages,
8757
+ Pr as IdvServiceMessages,
8751
8758
  Bt as IdvWebComponent,
8752
- ei as InitializeError,
8759
+ ti as InitializeError,
8753
8760
  Et as PrepareWorkflowError,
8754
8761
  lt as SessionError,
8755
8762
  tr as StartSessionError,