@regulaforensics/idv-capture-web 3.2.268-nightly → 3.2.270-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
@@ -23,14 +23,14 @@ var F = (t, e, r) => new Promise((n, i) => {
23
23
  var o = (l) => {
24
24
  try {
25
25
  a(r.next(l));
26
- } catch (d) {
27
- i(d);
26
+ } catch (c) {
27
+ i(c);
28
28
  }
29
29
  }, s = (l) => {
30
30
  try {
31
31
  a(r.throw(l));
32
- } catch (d) {
33
- i(d);
32
+ } catch (c) {
33
+ i(c);
34
34
  }
35
35
  }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
36
36
  a((r = r.apply(t, e)).next());
@@ -113,7 +113,7 @@ const { is: $l, defineProperty: Bl, getOwnPropertyDescriptor: Hl, getOwnProperty
113
113
  } }, to = (t, e) => !$l(t, e), jo = { attribute: !0, type: String, converter: Pn, reflect: !1, useDefault: !1, hasChanged: to };
114
114
  var js, zs;
115
115
  (js = Symbol.metadata) != null || (Symbol.metadata = Symbol("metadata")), (zs = qt.litPropertyMetadata) != null || (qt.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
116
- let mr = class extends HTMLElement {
116
+ let wr = class extends HTMLElement {
117
117
  static addInitializer(e) {
118
118
  var r;
119
119
  this._$Ei(), ((r = this.l) != null ? r : this.l = []).push(e);
@@ -234,9 +234,9 @@ let mr = class extends HTMLElement {
234
234
  var o, s, a;
235
235
  const n = this.constructor, i = n._$Eh.get(e);
236
236
  if (i !== void 0 && this._$Em !== i) {
237
- const l = n.getPropertyOptions(i), d = typeof l.converter == "function" ? { fromAttribute: l.converter } : ((o = l.converter) == null ? void 0 : o.fromAttribute) !== void 0 ? l.converter : Pn;
237
+ const l = n.getPropertyOptions(i), c = typeof l.converter == "function" ? { fromAttribute: l.converter } : ((o = l.converter) == null ? void 0 : o.fromAttribute) !== void 0 ? l.converter : Pn;
238
238
  this._$Em = i;
239
- const p = d.fromAttribute(r, l.type);
239
+ const p = c.fromAttribute(r, l.type);
240
240
  this[i] = (a = p != null ? p : (s = this._$Ej) == null ? void 0 : s.get(i)) != null ? a : p, this._$Em = null;
241
241
  }
242
242
  }
@@ -250,8 +250,8 @@ let mr = class extends HTMLElement {
250
250
  this.isUpdatePending === !1 && (this._$ES = this._$EP());
251
251
  }
252
252
  C(e, r, { useDefault: n, reflect: i, wrapped: o }, s) {
253
- var a, l, d;
254
- n && !((a = this._$Ej) != null ? a : this._$Ej = /* @__PURE__ */ new Map()).has(e) && (this._$Ej.set(e, (l = s != null ? s : r) != null ? l : this[e]), o !== !0 || s !== void 0) || (this._$AL.has(e) || (this.hasUpdated || n || (r = void 0), this._$AL.set(e, r)), i === !0 && this._$Em !== e && ((d = this._$Eq) != null ? d : this._$Eq = /* @__PURE__ */ new Set()).add(e));
253
+ var a, l, c;
254
+ n && !((a = this._$Ej) != null ? a : this._$Ej = /* @__PURE__ */ new Map()).has(e) && (this._$Ej.set(e, (l = s != null ? s : r) != null ? l : this[e]), o !== !0 || s !== void 0) || (this._$AL.has(e) || (this.hasUpdated || n || (r = void 0), this._$AL.set(e, r)), i === !0 && this._$Em !== e && ((c = this._$Eq) != null ? c : this._$Eq = /* @__PURE__ */ new Set()).add(e));
255
255
  }
256
256
  _$EP() {
257
257
  return F(this, null, function* () {
@@ -278,8 +278,8 @@ let mr = class extends HTMLElement {
278
278
  }
279
279
  const o = this.constructor.elementProperties;
280
280
  if (o.size > 0) for (const [s, a] of o) {
281
- const { wrapped: l } = a, d = this[s];
282
- l !== !0 || this._$AL.has(s) || d === void 0 || this.C(s, void 0, a, d);
281
+ const { wrapped: l } = a, c = this[s];
282
+ l !== !0 || this._$AL.has(s) || c === void 0 || this.C(s, void 0, a, c);
283
283
  }
284
284
  }
285
285
  let e = !1;
@@ -324,7 +324,7 @@ let mr = class extends HTMLElement {
324
324
  }
325
325
  };
326
326
  var Ks;
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");
327
+ wr.elementStyles = [], wr.shadowRootOptions = { mode: "open" }, wr[Nr("elementProperties")] = /* @__PURE__ */ new Map(), wr[Nr("finalized")] = /* @__PURE__ */ new Map(), Ei == null || Ei({ ReactiveElement: wr }), ((Ks = qt.reactiveElementVersions) != null ? Ks : qt.reactiveElementVersions = []).push("2.1.1");
328
328
  /**
329
329
  * @license
330
330
  * Copyright 2017 Google LLC
@@ -332,7 +332,7 @@ mr.elementStyles = [], mr.shadowRootOptions = { mode: "open" }, mr[Nr("elementPr
332
332
  */
333
333
  const Dr = globalThis, Mn = Dr.trustedTypes, zo = Mn ? Mn.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
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);
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), Sr = 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,10 +342,10 @@ 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, 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);
345
+ let c, p, f = -1, d = 0;
346
+ for (; d < l.length && (s.lastIndex = d, p = s.exec(l), p !== null); ) d = 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, c = 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 : f >= 0 ? (n.push(d), l.slice(0, f) + Js + l.slice(f) + Gt + g) : l + Gt + (f === -2 ? a : g);
348
+ o += s === Ir ? l + Gl : f >= 0 ? (n.push(c), 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
  };
@@ -354,23 +354,23 @@ let Bi = class ta {
354
354
  let i;
355
355
  this.parts = [];
356
356
  let o = 0, s = 0;
357
- const a = e.length - 1, l = this.parts, [d, p] = Yl(e, r);
358
- if (this.el = ta.createElement(d, n), or.currentNode = this.el.content, r === 2 || r === 3) {
357
+ const a = e.length - 1, l = this.parts, [c, p] = Yl(e, r);
358
+ if (this.el = ta.createElement(c, n), or.currentNode = this.el.content, r === 2 || r === 3) {
359
359
  const f = this.el.content.firstChild;
360
360
  f.replaceWith(...f.childNodes);
361
361
  }
362
362
  for (; (i = or.nextNode()) !== null && l.length < a; ) {
363
363
  if (i.nodeType === 1) {
364
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);
365
+ const d = p[s++], g = i.getAttribute(f).split(Gt), w = /([.?@])?(.*)/.exec(d);
366
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
367
  } else f.startsWith(Gt) && (l.push({ type: 6, index: o }), i.removeAttribute(f));
368
368
  if (Qs.test(i.tagName)) {
369
- const f = i.textContent.split(Gt), c = f.length - 1;
370
- if (c > 0) {
369
+ const f = i.textContent.split(Gt), d = f.length - 1;
370
+ if (d > 0) {
371
371
  i.textContent = Mn ? Mn.emptyScript : "";
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());
372
+ for (let g = 0; g < d; g++) i.append(f[g], Wr()), or.nextNode(), l.push({ type: 2, index: ++o });
373
+ i.append(f[d], Wr());
374
374
  }
375
375
  }
376
376
  } else if (i.nodeType === 8) if (i.data === Xs) l.push({ type: 2, index: o });
@@ -386,12 +386,12 @@ let Bi = class ta {
386
386
  return n.innerHTML = e, n;
387
387
  }
388
388
  };
389
- function br(t, e, r = t, n) {
389
+ function Cr(t, e, r = t, n) {
390
390
  var s, a, l;
391
- if (e === yr) return e;
391
+ if (e === Sr) return e;
392
392
  let i = n !== void 0 ? (s = r._$Co) == null ? void 0 : s[n] : r._$Cl;
393
393
  const o = jr(e) ? void 0 : e._$litDirective$;
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;
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 = Cr(t, i._$AS(t, e.values), i, n)), e;
395
395
  }
396
396
  let Jl = class {
397
397
  constructor(e, r) {
@@ -404,8 +404,8 @@ let Jl = class {
404
404
  return this._$AM._$AU;
405
405
  }
406
406
  u(e) {
407
- var d;
408
- const { el: { content: r }, parts: n } = this._$AD, i = ((d = e == null ? void 0 : e.creationScope) != null ? d : lr).importNode(r, !0);
407
+ var c;
408
+ const { el: { content: r }, parts: n } = this._$AD, i = ((c = e == null ? void 0 : e.creationScope) != null ? c : lr).importNode(r, !0);
409
409
  or.currentNode = i;
410
410
  let o = or.nextNode(), s = 0, a = 0, l = n[0];
411
411
  for (; l !== void 0; ) {
@@ -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), 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);
445
+ e = Cr(this, e, r), jr(e) ? e === ke || e == null || e === "" ? (this._$AH !== ke && this._$AR(), this._$AH = ke) : e !== this._$AH && e !== Sr && 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);
@@ -497,11 +497,11 @@ 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 = !jr(e) || e !== this._$AH && e !== yr, s && (this._$AH = e);
500
+ if (o === void 0) e = Cr(this, e, r, 0), s = !jr(e) || e !== this._$AH && e !== Sr, s && (this._$AH = e);
501
501
  else {
502
502
  const a = e;
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 = !jr(d) || d !== this._$AH[l]), d === ke ? e = ke : e !== ke && (e += (d != null ? d : "") + o[l + 1]), this._$AH[l] = d;
503
+ let l, c;
504
+ for (e = o[0], l = 0; l < o.length - 1; l++) c = Cr(this, a[n + l], r, l), c === Sr && (c = this._$AH[l]), s || (s = !jr(c) || c !== this._$AH[l]), c === ke ? e = ke : e !== ke && (e += (c != null ? c : "") + o[l + 1]), this._$AH[l] = c;
505
505
  }
506
506
  s && !i && this.j(e);
507
507
  }
@@ -528,7 +528,7 @@ let Jl = class {
528
528
  }
529
529
  _$AI(e, r = this) {
530
530
  var s;
531
- if ((e = (s = br(this, e, r, 0)) != null ? s : ke) === yr) return;
531
+ if ((e = (s = Cr(this, e, r, 0)) != null ? s : ke) === Sr) return;
532
532
  const n = this._$AH, i = e === ke && n !== ke || e.capture !== n.capture || e.once !== n.once || e.passive !== n.passive, o = e !== ke && (n === ke || i);
533
533
  i && this.element.removeEventListener(this.name, this, n), o && this.element.addEventListener(this.name, this, e), this._$AH = e;
534
534
  }
@@ -544,7 +544,7 @@ let Jl = class {
544
544
  return this._$AM._$AU;
545
545
  }
546
546
  _$AI(e) {
547
- br(this, e);
547
+ Cr(this, e);
548
548
  }
549
549
  };
550
550
  const Ii = Dr.litHtmlPolyfillSupport;
@@ -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 Pr = class extends mr {
569
+ let Pr = class extends wr {
570
570
  constructor() {
571
571
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
572
572
  }
@@ -588,7 +588,7 @@ let Pr = class extends mr {
588
588
  super.disconnectedCallback(), (e = this._$Do) == null || e.setConnected(!1);
589
589
  }
590
590
  render() {
591
- return yr;
591
+ return Sr;
592
592
  }
593
593
  };
594
594
  var qs;
@@ -634,7 +634,7 @@ function oc(t) {
634
634
  * Copyright 2017 Google LLC
635
635
  * SPDX-License-Identifier: BSD-3-Clause
636
636
  */
637
- function Er(t) {
637
+ function dr(t) {
638
638
  return oc(X(T({}, t), { state: !0, attribute: !1 }));
639
639
  }
640
640
  class sc {
@@ -750,16 +750,16 @@ const na = new sc(), ac = Ll`
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 || {}), Le = /* @__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))(Le || {}), 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 || {}), Un = /* @__PURE__ */ ((t) => (t[t.CONNECTION_ISSUE = 0] = "CONNECTION_ISSUE", t[t.WORKFLOW_ISSUE = 1] = "WORKFLOW_ISSUE", t))(Un || {}), 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 || {}), Ln = /* @__PURE__ */ ((t) => (t[t.INITIALIZATION_REQUIRED = 0] = "INITIALIZATION_REQUIRED", t[t.SCENARIO_IN_PROGRESS = 3] = "SCENARIO_IN_PROGRESS", t))(Ln || {}), 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) => {
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 || {}), Tt = /* @__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))(Tt || {}), Le = /* @__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))(Le || {}), 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 || {}), Un = /* @__PURE__ */ ((t) => (t[t.CONNECTION_ISSUE = 0] = "CONNECTION_ISSUE", t[t.WORKFLOW_ISSUE = 1] = "WORKFLOW_ISSUE", t))(Un || {}), Ot = /* @__PURE__ */ ((t) => (t[t.HTTP_ISSUE = 0] = "HTTP_ISSUE", t[t.PROVIDER_ERROR = 1] = "PROVIDER_ERROR", t[t.DECODING_FAILED = 2] = "DECODING_FAILED", t))(Ot || {}), 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 || {}), Ln = /* @__PURE__ */ ((t) => (t[t.INITIALIZATION_REQUIRED = 0] = "INITIALIZATION_REQUIRED", t[t.SCENARIO_IN_PROGRESS = 3] = "SCENARIO_IN_PROGRESS", t))(Ln || {}), 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", yt = "IDV", er = "idv-session-data", xr = "idv-session-auth-token", fc = "rgl-uid", hc = "en", Jo = (t) => {
755
755
  let e;
756
- const r = /* @__PURE__ */ new Set(), n = (d, p) => {
757
- const f = typeof d == "function" ? d(e) : d;
756
+ const r = /* @__PURE__ */ new Set(), n = (c, p) => {
757
+ const f = typeof c == "function" ? c(e) : c;
758
758
  if (!Object.is(f, e)) {
759
- const c = e;
760
- e = (p != null ? p : typeof f != "object" || f === null) ? f : Object.assign({}, e, f), r.forEach((g) => g(e, c));
759
+ const d = e;
760
+ e = (p != null ? p : typeof f != "object" || f === null) ? f : Object.assign({}, e, f), r.forEach((g) => g(e, d));
761
761
  }
762
- }, i = () => e, a = { setState: n, getState: i, getInitialState: () => l, subscribe: (d) => (r.add(d), () => r.delete(d)) }, l = e = t(n, i, a);
762
+ }, i = () => e, a = { setState: n, getState: i, getInitialState: () => l, subscribe: (c) => (r.add(c), () => r.delete(c)) }, l = e = t(n, i, a);
763
763
  return a;
764
764
  }, pc = (t) => t ? Jo(t) : Jo;
765
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;
@@ -789,10 +789,10 @@ function We(t) {
789
789
  function ht(t, e) {
790
790
  this.props = t, this.context = e;
791
791
  }
792
- function Cr(t, e) {
793
- if (e == null) return t.__ ? Cr(t.__, t.__i + 1) : null;
792
+ function Er(t, e) {
793
+ if (e == null) return t.__ ? Er(t.__, t.__i + 1) : null;
794
794
  for (var r; e < t.__k.length; e++) if ((r = t.__k[e]) != null && r.__e != null) return r.__e;
795
- return typeof t.type == "function" ? Cr(t) : null;
795
+ return typeof t.type == "function" ? Er(t) : null;
796
796
  }
797
797
  function fa(t) {
798
798
  var e, r;
@@ -808,18 +808,18 @@ 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() {
811
- for (var t, e, r, n, i, o, s, a = 1; rr.length; ) rr.length > a && rr.sort(aa), t = rr.shift(), a = rr.length, t.__d && (r = void 0, n = void 0, i = (n = (e = t).__v).__e, o = [], s = [], e.__P && ((r = gt({}, n)).__v = n.__v + 1, se.vnode && se.vnode(r), so(e.__P, r, n, e.__n, e.__P.namespaceURI, 32 & n.__u ? [i] : null, o, i == null ? Cr(n) : i, !!(32 & n.__u), s), r.__v = n.__v, r.__.__k[r.__i] = r, _a(o, r, s), n.__e = n.__ = null, r.__e != i && fa(r)));
811
+ for (var t, e, r, n, i, o, s, a = 1; rr.length; ) rr.length > a && rr.sort(aa), t = rr.shift(), a = rr.length, t.__d && (r = void 0, n = void 0, i = (n = (e = t).__v).__e, o = [], s = [], e.__P && ((r = gt({}, n)).__v = n.__v + 1, se.vnode && se.vnode(r), so(e.__P, r, n, e.__n, e.__P.namespaceURI, 32 & n.__u ? [i] : null, o, i == null ? Er(n) : i, !!(32 & n.__u), s), r.__v = n.__v, r.__.__k[r.__i] = r, _a(o, r, s), n.__e = n.__ = null, r.__e != i && fa(r)));
812
812
  Vn.__r = 0;
813
813
  }
814
- function ha(t, e, r, n, i, o, s, a, l, d, p) {
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);
814
+ function ha(t, e, r, n, i, o, s, a, l, c, p) {
815
+ var f, d, g, w, h, m, C, S = n && n.__k || da, b = e.length;
816
+ for (l = mc(r, e, S, l, b), f = 0; f < b; f++) (g = r.__k[f]) != null && (d = g.__i == -1 ? zr : S[g.__i] || zr, g.__i = f, m = so(t, g, d, i, o, s, a, l, c, p), w = g.__e, g.ref && d.ref != g.ref && (d.ref && ao(d.ref, null, g), p.push(g.ref, g.__c || w, g)), h == null && w != null && (h = w), (C = !!(4 & g.__u)) || d.__k === g.__k ? l = pa(g, l, t, C) : typeof g.type == "function" && m !== void 0 ? l = m : w && (l = w.nextSibling), g.__u &= -7);
817
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, 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));
820
+ var o, s, a, l, c, p = r.length, f = p, d = 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 + d, (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, (c = s.__i = gc(s, r, l, f)) != -1 && (f--, (a = r[c]) && (a.__u |= 2)), a == null || a.__v == null ? (c == -1 && (i > p ? d-- : i < p && d++), typeof s.type != "function" && (s.__u |= 4)) : c != l && (c == l - 1 ? d-- : c == l + 1 ? d++ : (c > l ? d-- : d++, 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 = Er(a)), ga(a, a));
823
823
  return n;
824
824
  }
825
825
  function pa(t, e, r, n) {
@@ -828,22 +828,22 @@ function pa(t, e, r, n) {
828
828
  for (i = t.__k, o = 0; i && o < i.length; o++) i[o] && (i[o].__ = t, e = pa(i[o], e, r, n));
829
829
  return e;
830
830
  }
831
- t.__e != e && (n && (e && t.type && !e.parentNode && (e = Cr(t)), r.insertBefore(t.__e, e || null)), e = t.__e);
831
+ t.__e != e && (n && (e && t.type && !e.parentNode && (e = Er(t)), r.insertBefore(t.__e, e || null)), e = t.__e);
832
832
  do
833
833
  e = e && e.nextSibling;
834
834
  while (e != null && e.nodeType == 8);
835
835
  return e;
836
836
  }
837
- function Vt(t, e) {
837
+ function $t(t, e) {
838
838
  return e = e || [], t == null || typeof t == "boolean" || (qr(t) ? t.some(function(r) {
839
- Vt(r, e);
839
+ $t(r, e);
840
840
  }) : e.push(t)), e;
841
841
  }
842
842
  function gc(t, e, r, n) {
843
- var i, o, s, a = t.key, l = t.type, d = e[r], p = d != null && (2 & d.__u) == 0;
844
- if (d === null && t.key == null || p && a == d.key && l == d.type) return r;
843
+ var i, o, s, a = t.key, l = t.type, c = e[r], p = c != null && (2 & c.__u) == 0;
844
+ if (c === null && t.key == null || p && a == c.key && l == c.type) return r;
845
845
  if (n > (p ? 1 : 0)) {
846
- for (i = r - 1, o = r + 1; i >= 0 || o < e.length; ) if ((d = e[s = i >= 0 ? i-- : o++]) != null && (2 & d.__u) == 0 && a == d.key && l == d.type) return s;
846
+ for (i = r - 1, o = r + 1; i >= 0 || o < e.length; ) if ((c = e[s = i >= 0 ? i-- : o++]) != null && (2 & c.__u) == 0 && a == c.key && l == c.type) return s;
847
847
  }
848
848
  return -1;
849
849
  }
@@ -878,31 +878,31 @@ function es(t) {
878
878
  }
879
879
  };
880
880
  }
881
- function so(t, e, r, n, i, o, s, a, l, d) {
882
- var p, f, c, g, w, h, m, S, C, b, I, k, N, R, ae, _e, le, Z = e.type;
881
+ function so(t, e, r, n, i, o, s, a, l, c) {
882
+ var p, f, d, g, w, h, m, C, S, 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 = (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);
886
+ if (C = e.props, S = "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 : (S ? e.__c = f = new Z(C, I) : (e.__c = f = new ht(C, I), f.constructor = Z, f.render = vc), b && b.sub(f), f.props = C, f.state || (f.state = {}), f.context = I, f.__n = n, d = f.__d = !0, f.__h = [], f._sb = []), S && f.__s == null && (f.__s = f.state), S && Z.getDerivedStateFromProps != null && (f.__s == f.state && (f.__s = gt({}, f.__s)), gt(f.__s, Z.getDerivedStateFromProps(C, f.__s))), g = f.props, w = f.state, f.__v = e, d) S && Z.getDerivedStateFromProps == null && f.componentWillMount != null && f.componentWillMount(), S && f.componentDidMount != null && f.__h.push(f.componentDidMount);
887
887
  else {
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) {
888
+ if (S && Z.getDerivedStateFromProps == null && C !== g && f.componentWillReceiveProps != null && f.componentWillReceiveProps(C, I), !f.__e && f.shouldComponentUpdate != null && f.shouldComponentUpdate(C, f.__s, I) === !1 || e.__v == r.__v) {
889
+ for (e.__v != r.__v && (f.props = C, 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
891
  }), k = 0; k < f._sb.length; k++) f.__h.push(f._sb[k]);
892
892
  f._sb = [], f.__h.length && s.push(f);
893
893
  break e;
894
894
  }
895
- f.componentWillUpdate != null && f.componentWillUpdate(S, f.__s, I), C && f.componentDidUpdate != null && f.__h.push(function() {
895
+ f.componentWillUpdate != null && f.componentWillUpdate(C, f.__s, I), S && f.componentDidUpdate != null && f.__h.push(function() {
896
896
  f.componentDidUpdate(g, w, h);
897
897
  });
898
898
  }
899
- if (f.context = I, f.props = S, f.__P = t, f.__e = !1, N = se.__r, R = 0, C) {
899
+ if (f.context = I, f.props = C, f.__P = t, f.__e = !1, N = se.__r, R = 0, S) {
900
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
901
  f._sb = [];
902
902
  } else do
903
903
  f.__d = !1, N && N(e), p = f.render(f.props, f.state, f.context), f.state = f.__s;
904
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);
905
+ f.state = f.__s, f.getChildContext != null && (n = gt(gt({}, n), f.getChildContext())), S && !d && 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, c), 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;
@@ -914,7 +914,7 @@ function so(t, e, r, n, i, o, s, a, l, d) {
914
914
  else e.__e = r.__e, e.__k = r.__k, H.then || Ki(e);
915
915
  se.__e(H, e, r);
916
916
  }
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);
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, c);
918
918
  return (p = se.diffed) && p(e), 128 & e.__u ? void 0 : a;
919
919
  }
920
920
  function Ki(t) {
@@ -936,31 +936,31 @@ function ma(t) {
936
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, f, c, g, w, h, m = r.props, S = e.props, C = e.type;
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
- for (d = 0; d < o.length; d++) if ((g = o[d]) && "setAttribute" in g == !!C && (C ? g.localName == C : g.nodeType == 3)) {
942
- t = g, o[d] = null;
939
+ var c, p, f, d, g, w, h, m = r.props, C = e.props, S = e.type;
940
+ if (S == "svg" ? i = "http://www.w3.org/2000/svg" : S == "math" ? i = "http://www.w3.org/1998/Math/MathML" : i || (i = "http://www.w3.org/1999/xhtml"), o != null) {
941
+ for (c = 0; c < o.length; c++) if ((g = o[c]) && "setAttribute" in g == !!S && (S ? g.localName == S : g.nodeType == 3)) {
942
+ t = g, o[c] = null;
943
943
  break;
944
944
  }
945
945
  }
946
946
  if (t == null) {
947
- if (C == null) return document.createTextNode(S);
948
- t = document.createElementNS(i, C, S.is && S), a && (se.__m && se.__m(e, o), a = !1), o = null;
947
+ if (S == null) return document.createTextNode(C);
948
+ t = document.createElementNS(i, S, C.is && C), a && (se.__m && se.__m(e, o), a = !1), o = null;
949
949
  }
950
- if (C == null) m === S || a && t.data == S || (t.data = S);
950
+ if (S == null) m === C || a && t.data == C || (t.data = C);
951
951
  else {
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
- for (d in m) if (g = m[d], d != "children") {
954
- if (d == "dangerouslySetInnerHTML") f = g;
955
- else if (!(d in S)) {
956
- if (d == "value" && "defaultValue" in S || d == "checked" && "defaultChecked" in S) continue;
957
- An(t, d, null, g, i);
952
+ if (o = o && Gr.call(t.childNodes), m = r.props || zr, !a && o != null) for (m = {}, c = 0; c < t.attributes.length; c++) m[(g = t.attributes[c]).name] = g.value;
953
+ for (c in m) if (g = m[c], c != "children") {
954
+ if (c == "dangerouslySetInnerHTML") f = g;
955
+ else if (!(c in C)) {
956
+ if (c == "value" && "defaultValue" in C || c == "checked" && "defaultChecked" in C) continue;
957
+ An(t, c, 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" ? h = g : a && typeof g != "function" || m[d] === g || An(t, d, g, m[d], i);
960
+ for (c in C) g = C[c], c == "children" ? d = g : c == "dangerouslySetInnerHTML" ? p = g : c == "value" ? w = g : c == "checked" ? h = g : a && typeof g != "function" || m[c] === g || An(t, c, g, m[c], i);
961
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));
962
+ else if (f && (t.innerHTML = ""), ha(e.type == "template" ? t.content : t, qr(d) ? d : [d], e, r, n, S == "foreignObject" ? "http://www.w3.org/1999/xhtml" : i, o, s, o ? o[0] : r.__k && Er(r, 0), a, l), o != null) for (c = o.length; c--; ) oo(o[c]);
963
+ a || (c = "value", S == "progress" && w == null ? t.removeAttribute("value") : w != null && (w !== t[c] || S == "progress" && !w || S == "option" && w != m[c]) && An(t, c, w, m[c], i), c = "checked", h != null && h != t[c] && An(t, c, h, m[c], i));
964
964
  }
965
965
  return t;
966
966
  }
@@ -1040,64 +1040,64 @@ Gr = da.slice, se = { __e: function(t, e, r, n) {
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
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
- function dr(t, e) {
1045
- Te.__h && Te.__h(be, t, Sr || e), Sr = 0;
1043
+ var Bt, be, Ai, ts, Tr = 0, va = [], Te = se, rs = Te.__b, ns = Te.__r, is = Te.diffed, os = Te.__c, ss = Te.unmount, as = Te.__;
1044
+ function ur(t, e) {
1045
+ Te.__h && Te.__h(be, t, Tr || e), Tr = 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 Pe(t) {
1050
- return Sr = 1, ri(ya, t);
1050
+ return Tr = 1, ri(ya, t);
1051
1051
  }
1052
1052
  function ri(t, e, r) {
1053
- var n = dr($t++, 2);
1053
+ var n = ur(Bt++, 2);
1054
1054
  if (n.t = t, !n.__c && (n.__ = [r ? r(e) : ya(void 0, e), function(a) {
1055
- var l = n.__N ? n.__N[0] : n.__[0], d = n.t(l, a);
1056
- l !== d && (n.__N = [d, n.__[1]], n.__c.setState({}));
1055
+ var l = n.__N ? n.__N[0] : n.__[0], c = n.t(l, a);
1056
+ l !== c && (n.__N = [c, n.__[1]], n.__c.setState({}));
1057
1057
  }], n.__c = be, !be.__f)) {
1058
- var i = function(a, l, d) {
1058
+ var i = function(a, l, c) {
1059
1059
  if (!n.__c.__H) return !0;
1060
- var p = n.__c.__H.__.filter(function(c) {
1061
- return !!c.__c;
1060
+ var p = n.__c.__H.__.filter(function(d) {
1061
+ return !!d.__c;
1062
1062
  });
1063
- if (p.every(function(c) {
1064
- return !c.__N;
1065
- })) return !o || o.call(this, a, l, d);
1063
+ if (p.every(function(d) {
1064
+ return !d.__N;
1065
+ })) return !o || o.call(this, a, l, c);
1066
1066
  var f = n.__c.props !== a;
1067
- return p.forEach(function(c) {
1068
- if (c.__N) {
1069
- var g = c.__[0];
1070
- c.__ = c.__N, c.__N = void 0, g !== c.__[0] && (f = !0);
1067
+ return p.forEach(function(d) {
1068
+ if (d.__N) {
1069
+ var g = d.__[0];
1070
+ d.__ = d.__N, d.__N = void 0, g !== d.__[0] && (f = !0);
1071
1071
  }
1072
- }), o && o.call(this, a, l, d) || f;
1072
+ }), o && o.call(this, a, l, c) || f;
1073
1073
  };
1074
1074
  be.__f = !0;
1075
1075
  var o = be.shouldComponentUpdate, s = be.componentWillUpdate;
1076
- be.componentWillUpdate = function(a, l, d) {
1076
+ be.componentWillUpdate = function(a, l, c) {
1077
1077
  if (this.__e) {
1078
1078
  var p = o;
1079
- o = void 0, i(a, l, d), o = p;
1079
+ o = void 0, i(a, l, c), o = p;
1080
1080
  }
1081
- s && s.call(this, a, l, d);
1081
+ s && s.call(this, a, l, c);
1082
1082
  }, be.shouldComponentUpdate = i;
1083
1083
  }
1084
1084
  return n.__N || n.__;
1085
1085
  }
1086
1086
  function nt(t, e) {
1087
- var r = dr($t++, 3);
1087
+ var r = ur(Bt++, 3);
1088
1088
  !Te.__s && po(r.__H, e) && (r.__ = t, r.u = e, be.__H.__h.push(r));
1089
1089
  }
1090
1090
  function Zt(t, e) {
1091
- var r = dr($t++, 4);
1091
+ var r = ur(Bt++, 4);
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, Zr(function() {
1095
+ return Tr = 5, Zr(function() {
1096
1096
  return { current: t };
1097
1097
  }, []);
1098
1098
  }
1099
1099
  function co(t, e, r) {
1100
- Sr = 6, Zt(function() {
1100
+ Tr = 6, Zt(function() {
1101
1101
  if (typeof t == "function") {
1102
1102
  var n = t(e());
1103
1103
  return function() {
@@ -1110,23 +1110,23 @@ function co(t, e, r) {
1110
1110
  }, r == null ? r : r.concat(t));
1111
1111
  }
1112
1112
  function Zr(t, e) {
1113
- var r = dr($t++, 7);
1113
+ var r = ur(Bt++, 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, Zr(function() {
1117
+ return Tr = 8, Zr(function() {
1118
1118
  return t;
1119
1119
  }, e);
1120
1120
  }
1121
1121
  function Yr(t) {
1122
- var e = be.context[t.__c], r = dr($t++, 9);
1122
+ var e = be.context[t.__c], r = ur(Bt++, 9);
1123
1123
  return r.c = t, e ? (r.__ == null && (r.__ = !0, e.sub(be)), e.props.value) : t.__;
1124
1124
  }
1125
1125
  function fo(t, e) {
1126
1126
  Te.useDebugValue && Te.useDebugValue(e ? e(t) : t);
1127
1127
  }
1128
1128
  function bc(t) {
1129
- var e = dr($t++, 10), r = Pe();
1129
+ var e = ur(Bt++, 10), r = Pe();
1130
1130
  return e.__ = t, be.componentDidCatch || (be.componentDidCatch = function(n, i) {
1131
1131
  e.__ && e.__(n, i), r[1](n);
1132
1132
  }), [r[0], function() {
@@ -1134,7 +1134,7 @@ function bc(t) {
1134
1134
  }];
1135
1135
  }
1136
1136
  function ho() {
1137
- var t = dr($t++, 11);
1137
+ var t = ur(Bt++, 11);
1138
1138
  if (!t.__) {
1139
1139
  for (var e = be.__v; e !== null && !e.__m && e.__ !== null; ) e = e.__;
1140
1140
  var r = e.__m || (e.__m = [0, 0]);
@@ -1142,7 +1142,7 @@ function ho() {
1142
1142
  }
1143
1143
  return t.__;
1144
1144
  }
1145
- function Cc() {
1145
+ function Sc() {
1146
1146
  for (var t; t = va.shift(); ) if (t.__P && t.__H) try {
1147
1147
  t.__H.__h.forEach(Dn), t.__H.__h.forEach(Gi), t.__H.__h = [];
1148
1148
  } catch (e) {
@@ -1154,15 +1154,15 @@ Te.__b = function(t) {
1154
1154
  }, Te.__ = function(t, e) {
1155
1155
  t && e.__k && e.__k.__m && (t.__m = e.__k.__m), as && as(t, e);
1156
1156
  }, Te.__r = function(t) {
1157
- ns && ns(t), $t = 0;
1157
+ ns && ns(t), Bt = 0;
1158
1158
  var e = (be = t.__c).__H;
1159
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(Gi), e.__h = [], $t = 0)), Ai = be;
1161
+ })) : (e.__h.forEach(Dn), e.__h.forEach(Gi), e.__h = [], Bt = 0)), Ai = be;
1162
1162
  }, Te.diffed = function(t) {
1163
1163
  is && is(t);
1164
1164
  var e = t.__c;
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) {
1165
+ e && e.__H && (e.__H.__h.length && (va.push(e) !== 1 && ts === Te.requestAnimationFrame || ((ts = Te.requestAnimationFrame) || Cc)(Sc)), e.__H.__.forEach(function(r) {
1166
1166
  r.u && (r.__H = r.u), r.u = void 0;
1167
1167
  })), Ai = be = null;
1168
1168
  }, Te.__c = function(t, e) {
@@ -1189,7 +1189,7 @@ Te.__b = function(t) {
1189
1189
  }), r.__H = void 0, e && Te.__e(e, r.__v));
1190
1190
  };
1191
1191
  var ls = typeof requestAnimationFrame == "function";
1192
- function Sc(t) {
1192
+ function Cc(t) {
1193
1193
  var e, r = function() {
1194
1194
  clearTimeout(n), ls && cancelAnimationFrame(e), setTimeout(t);
1195
1195
  }, n = setTimeout(r, 35);
@@ -1252,7 +1252,7 @@ var vo = Zt;
1252
1252
  function $n(t, e) {
1253
1253
  this.props = t, this.context = e;
1254
1254
  }
1255
- function Ca(t, e) {
1255
+ function Sa(t, e) {
1256
1256
  function r(i) {
1257
1257
  var o = this.props.ref, s = o == i.ref;
1258
1258
  return !s && o && (o.call ? o(null) : o.current = null), e ? !e(this.props, i) || !s : qi(this.props, i);
@@ -1270,7 +1270,7 @@ se.__b = function(t) {
1270
1270
  t.type && t.type.__f && t.ref && (t.props.ref = t.ref, t.ref = null), cs && cs(t);
1271
1271
  };
1272
1272
  var Ec = typeof Symbol != "undefined" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
1273
- function Sa(t) {
1273
+ function Ca(t) {
1274
1274
  function e(r) {
1275
1275
  var n = ba({}, r);
1276
1276
  return delete n.ref, t(n, r.ref || null);
@@ -1278,14 +1278,14 @@ function Sa(t) {
1278
1278
  return e.$$typeof = Ec, e.render = t, e.prototype.isReactComponent = e.__f = !0, e.displayName = "ForwardRef(" + (t.displayName || t.name) + ")", e;
1279
1279
  }
1280
1280
  var ds = function(t, e) {
1281
- return t == null ? null : Vt(Vt(t).map(e));
1281
+ return t == null ? null : $t($t(t).map(e));
1282
1282
  }, Ea = { map: ds, forEach: ds, count: function(t) {
1283
- return t ? Vt(t).length : 0;
1283
+ return t ? $t(t).length : 0;
1284
1284
  }, only: function(t) {
1285
- var e = Vt(t);
1285
+ var e = $t(t);
1286
1286
  if (e.length !== 1) throw "Children.only";
1287
1287
  return e[0];
1288
- }, toArray: Vt }, Tc = se.__e;
1288
+ }, toArray: $t }, Tc = se.__e;
1289
1289
  se.__e = function(t, e, r, n) {
1290
1290
  if (t.then) {
1291
1291
  for (var i, o = e; o = o.__; ) if ((i = o.__c) && i.__c) return e.__e == null && (e.__e = r.__e, e.__k = r.__k), i.__c(t, e);
@@ -1325,7 +1325,7 @@ function xa(t) {
1325
1325
  }
1326
1326
  return i.displayName = "Lazy", i.__f = !0, i;
1327
1327
  }
1328
- function wr() {
1328
+ function yr() {
1329
1329
  this.i = null, this.l = null;
1330
1330
  }
1331
1331
  se.unmount = function(t) {
@@ -1344,8 +1344,8 @@ se.unmount = function(t) {
1344
1344
  var l = n.state.__a;
1345
1345
  n.__v.__k[0] = Oa(l, l.__c.__P, l.__c.__O);
1346
1346
  }
1347
- var d;
1348
- for (n.setState({ __a: n.__b = null }); d = n.o.pop(); ) d.forceUpdate();
1347
+ var c;
1348
+ for (n.setState({ __a: n.__b = null }); c = n.o.pop(); ) c.forceUpdate();
1349
1349
  }
1350
1350
  };
1351
1351
  n.__u++ || 32 & e.__u || n.setState({ __a: n.__b = n.__v.__k[0] }), t.then(s, s);
@@ -1394,7 +1394,7 @@ function Aa(t, e) {
1394
1394
  var r = wt(Ic, { __v: t, h: e });
1395
1395
  return r.containerInfo = e, r;
1396
1396
  }
1397
- (wr.prototype = new ht()).__a = function(t) {
1397
+ (yr.prototype = new ht()).__a = function(t) {
1398
1398
  var e = this, r = Ia(e.__v), n = e.l.get(t);
1399
1399
  return n[0]++, function(i) {
1400
1400
  var o = function() {
@@ -1402,13 +1402,13 @@ function Aa(t, e) {
1402
1402
  };
1403
1403
  r ? r(o) : o();
1404
1404
  };
1405
- }, wr.prototype.render = function(t) {
1405
+ }, yr.prototype.render = function(t) {
1406
1406
  this.i = null, this.l = /* @__PURE__ */ new Map();
1407
- var e = Vt(t.children);
1407
+ var e = $t(t.children);
1408
1408
  t.revealOrder && t.revealOrder[0] === "b" && e.reverse();
1409
1409
  for (var r = e.length; r--; ) this.l.set(e[r], this.i = [1, 0, this.i]);
1410
1410
  return t.children;
1411
- }, wr.prototype.componentDidUpdate = wr.prototype.componentDidMount = function() {
1411
+ }, yr.prototype.componentDidUpdate = yr.prototype.componentDidMount = function() {
1412
1412
  var t = this;
1413
1413
  this.l.forEach(function(e, r) {
1414
1414
  fs(t, r, e);
@@ -1455,10 +1455,10 @@ se.vnode = function(t) {
1455
1455
  s === "defaultValue" && "value" in r && r.value == null ? s = "value" : s === "download" && a === !0 ? a = "" : l === "translate" && a === "no" ? a = !1 : l[0] === "o" && l[1] === "n" ? l === "ondoubleclick" ? s = "ondblclick" : l !== "onchange" || n !== "input" && n !== "textarea" || Nc(r.type) ? l === "onfocus" ? s = "onfocusin" : l === "onblur" ? s = "onfocusout" : Ac.test(s) && (s = l) : l = s = "oninput" : o && xc.test(s) ? s = s.replace(Rc, "-$&").toLowerCase() : a === null && (a = void 0), l === "oninput" && i[s = l] && (s = "oninputCapture"), i[s] = a;
1456
1456
  }
1457
1457
  }
1458
- n == "select" && i.multiple && Array.isArray(i.value) && (i.value = Vt(r.children).forEach(function(d) {
1459
- d.props.selected = i.value.indexOf(d.props.value) != -1;
1460
- })), n == "select" && i.defaultValue != null && (i.value = Vt(r.children).forEach(function(d) {
1461
- d.props.selected = i.multiple ? i.defaultValue.indexOf(d.props.value) != -1 : i.defaultValue == d.props.value;
1458
+ n == "select" && i.multiple && Array.isArray(i.value) && (i.value = $t(r.children).forEach(function(c) {
1459
+ c.props.selected = i.value.indexOf(c.props.value) != -1;
1460
+ })), n == "select" && i.defaultValue != null && (i.value = $t(r.children).forEach(function(c) {
1461
+ c.props.selected = i.multiple ? i.defaultValue.indexOf(c.props.value) != -1 : i.defaultValue == c.props.value;
1462
1462
  })), r.class && !r.className ? (i.class = r.class, Object.defineProperty(i, "className", Fc)) : (r.className && !r.class || r.class && r.className) && (i.class = i.className = r.className), e.props = i;
1463
1463
  })(t), t.$$typeof = Ra, ps && ps(t);
1464
1464
  };
@@ -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 = Jr, fe = { useState: Pe, 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: La, createPortal: Aa, createElement: wt, createContext: lo, createFactory: Pa, cloneElement: Ua, createRef: ua, Fragment: We, isValidElement: Jr, isElement: Wa, isFragment: Ma, isMemo: Fa, findDOMNode: Va, Component: ht, PureComponent: $n, memo: Ca, forwardRef: Sa, flushSync: Ba, unstable_batchedUpdates: $a, StrictMode: Ha, Suspense: Ur, SuspenseList: wr, lazy: xa, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Da };
1503
+ }, Ha = We, Wa = Jr, fe = { useState: Pe, 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: La, createPortal: Aa, createElement: wt, createContext: lo, createFactory: Pa, cloneElement: Ua, createRef: ua, Fragment: We, isValidElement: Jr, isElement: Wa, isFragment: Ma, isMemo: Fa, findDOMNode: Va, Component: ht, PureComponent: $n, memo: Sa, forwardRef: Ca, flushSync: Ba, unstable_batchedUpdates: $a, StrictMode: Ha, Suspense: Ur, SuspenseList: yr, lazy: xa, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Da };
1504
1504
  const Lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1505
1505
  __proto__: null,
1506
1506
  Children: Ea,
@@ -1509,7 +1509,7 @@ const Lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1509
1509
  PureComponent: $n,
1510
1510
  StrictMode: Ha,
1511
1511
  Suspense: Ur,
1512
- SuspenseList: wr,
1512
+ SuspenseList: yr,
1513
1513
  __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Da,
1514
1514
  cloneElement: Ua,
1515
1515
  createContext: lo,
@@ -1520,14 +1520,14 @@ const Lc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1520
1520
  default: fe,
1521
1521
  findDOMNode: Va,
1522
1522
  flushSync: Ba,
1523
- forwardRef: Sa,
1523
+ forwardRef: Ca,
1524
1524
  hydrate: Na,
1525
1525
  isElement: Wa,
1526
1526
  isFragment: Ma,
1527
1527
  isMemo: Fa,
1528
1528
  isValidElement: Jr,
1529
1529
  lazy: xa,
1530
- memo: Ca,
1530
+ memo: Sa,
1531
1531
  render: ka,
1532
1532
  startTransition: mo,
1533
1533
  unmountComponentAtNode: La,
@@ -1592,7 +1592,7 @@ 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", 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", U = "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", c = "object", p = "string", f = "major", d = "model", g = "name", w = "type", h = "vendor", m = "version", C = "architecture", S = "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", U = "Lenovo", Y = "LG", te = "Microsoft", Ce = "Motorola", re = "Nvidia", $ = "OnePlus", Q = "Opera", Be = "OPPO", je = "Samsung", ot = "Sharp", Xe = "Sony", bt = "Xiaomi", st = "Zebra", Ht = "Facebook", St = "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];
@@ -1616,20 +1616,20 @@ function zc() {
1616
1616
  for (me = He = 0; me < jt.length && !q && jt[me]; )
1617
1617
  if (q = jt[me++].exec(J), q)
1618
1618
  for (xe = 0; xe < Jt.length; xe++)
1619
- ze = q[++He], he = Jt[xe], typeof he === d && he.length > 0 ? he.length === 2 ? typeof he[1] == a ? this[he[0]] = he[1].call(this, ze) : this[he[0]] = he[1] : he.length === 3 ? typeof he[1] === a && !(he[1].exec && he[1].test) ? this[he[0]] = ze ? he[1].call(this, ze, he[2]) : n : this[he[0]] = ze ? ze.replace(he[1], he[2]) : n : he.length === 4 && (this[he[0]] = ze ? he[3].call(this, ze.replace(he[1], he[2])) : n) : this[he] = ze || n;
1619
+ ze = q[++He], he = Jt[xe], typeof he === c && he.length > 0 ? he.length === 2 ? typeof he[1] == a ? this[he[0]] = he[1].call(this, ze) : this[he[0]] = he[1] : he.length === 3 ? typeof he[1] === a && !(he[1].exec && he[1].test) ? this[he[0]] = ze ? he[1].call(this, ze, he[2]) : n : this[he[0]] = ze ? ze.replace(he[1], he[2]) : n : he.length === 4 && (this[he[0]] = ze ? he[3].call(this, ze.replace(he[1], he[2])) : n) : this[he] = ze || n;
1620
1620
  j += 2;
1621
1621
  }
1622
1622
  }, P = function(J, oe) {
1623
1623
  for (var j in oe)
1624
- if (typeof oe[j] === d && oe[j].length > 0) {
1624
+ if (typeof oe[j] === c && oe[j].length > 0) {
1625
1625
  for (var me = 0; me < oe[j].length; me++)
1626
1626
  if (tt(oe[j][me], J))
1627
1627
  return j === s ? n : j;
1628
1628
  } else if (tt(oe[j], J))
1629
1629
  return j === s ? n : j;
1630
1630
  return oe.hasOwnProperty("*") ? oe["*"] : J;
1631
- }, M = { "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, P, M]], [/(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, P, { 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, U], [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, P, { 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, P, W]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[m, P, 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
- if (typeof J === d && (oe = J, J = n), !(this instanceof G))
1631
+ }, M = { "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, P, M]], [/(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], [[C, "amd64"]], [/(ia32(?=;))/i, /\b((i[346]|x)86)(pc)?\b/i], [[C, "ia32"]], [/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i], [[C, "arm64"]], [/\b(arm(v[67])?ht?n?[fl]p?)\b/i], [[C, "armhf"]], [/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i], [[C, "arm"]], [/((ppc|powerpc)(64)?)( mac|;|\))/i], [[C, /ower/, o, y]], [/ sun4\w[;\)]/i], [[C, "sparc"]], [/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i], [[C, 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], [d, [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], [d, [h, je], [w, b]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [d, [h, le], [w, b]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [d, [h, le], [w, I]], [/(macintosh);/i], [d, [h, le]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [d, [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], [d, [h, ee], [w, I]], [/honor([-\w ]+)[;\)]/i], [d, [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], [d, [h, z], [w, I]], [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [d, [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], [[d, /_/g, " "], [h, bt], [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], [[d, /_/g, " "], [h, bt], [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], [d, [h, Be], [w, b]], [/\b(opd2(\d{3}a?))(?: bui|\))/i], [d, [h, P, { OnePlus: ["304", "403", "203"], "*": Be }], [w, I]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [d, [h, "Vivo"], [w, b]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [d, [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], [d, [h, Ce], [w, b]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [d, [h, Ce], [w, I]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [d, [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], [d, [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], [d, [h, U], [w, I]], [/(nokia) (t[12][01])/i], [h, d, [w, I]], [/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i, /nokia[-_ ]?(([-\w\. ]*))/i], [[d, /_/g, " "], [w, b], [h, "Nokia"]], [/(pixel (c|tablet))\b/i], [d, [h, ve], [w, I]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [d, [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], [d, [h, Xe], [w, b]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[d, "Xperia Tablet"], [h, Xe], [w, I]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [d, [h, $], [w, b]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [d, [h, _e], [w, I]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[d, /(.+)/g, "Fire Phone $1"], [h, _e], [w, b]], [/(playbook);[-\w\),; ]+(rim)/i], [d, h, [w, I]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [d, [h, H], [w, b]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [d, [h, Z], [w, I]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [d, [h, Z], [w, b]], [/(nexus 9)/i], [d, [h, "HTC"], [w, I]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [h, [d, /_/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], [d, [h, "TCL"], [w, I]], [/(itel) ((\w+))/i], [[h, y], d, [w, P, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [d, [h, "Acer"], [w, I]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [d, [h, "Meizu"], [w, b]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [d, [h, "Ulefone"], [w, b]], [/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i], [d, [h, "Energizer"], [w, b]], [/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i], [d, [h, "Cat"], [w, b]], [/((?:new )?andromax[\w- ]+)(?: bui|\))/i], [d, [h, "Smartfren"], [w, b]], [/droid.+; (a(?:015|06[35]|142p?))/i], [d, [h, "Nothing"], [w, b]], [/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i, /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i], [d, [h, "Archos"], [w, I]], [/archos ([\w ]+)( b|\))/i, /; (ac[3-6]\d\w{2,8})( b|\))/i], [d, [h, "Archos"], [w, b]], [/(imo) (tab \w+)/i, /(infinix) (x1101b?)/i], [h, d, [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, d, [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, d, [w, I]], [/(surface duo)/i], [d, [h, te], [w, I]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [d, [h, "Fairphone"], [w, b]], [/(u304aa)/i], [d, [h, "AT&T"], [w, b]], [/\bsie-(\w*)/i], [d, [h, "Siemens"], [w, b]], [/\b(rct\w+) b/i], [d, [h, "RCA"], [w, I]], [/\b(venue[\d ]{2,7}) b/i], [d, [h, "Dell"], [w, I]], [/\b(q(?:mv|ta)\w+) b/i], [d, [h, "Verizon"], [w, I]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [d, [h, "Barnes & Noble"], [w, I]], [/\b(tm\d{3}\w+) b/i], [d, [h, "NuVision"], [w, I]], [/\b(k88) b/i], [d, [h, "ZTE"], [w, I]], [/\b(nx\d{3}j) b/i], [d, [h, "ZTE"], [w, b]], [/\b(gen\d{3}) b.+49h/i], [d, [h, "Swiss"], [w, b]], [/\b(zur\d{3}) b/i], [d, [h, "Swiss"], [w, I]], [/\b((zeki)?tb.*\b) b/i], [d, [h, "Zeki"], [w, I]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[h, "Dragon Touch"], d, [w, I]], [/\b(ns-?\w{0,9}) b/i], [d, [h, "Insignia"], [w, I]], [/\b((nxa|next)-?\w{0,9}) b/i], [d, [h, "NextBook"], [w, I]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[h, "Voice"], d, [w, b]], [/\b(lvtel\-)?(v1[12]) b/i], [[h, "LvTel"], d, [w, b]], [/\b(ph-1) /i], [d, [h, "Essential"], [w, b]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [d, [h, "Envizen"], [w, I]], [/\b(trio[-\w\. ]+) b/i], [d, [h, "MachSpeed"], [w, I]], [/\btu_(1491) b/i], [d, [h, "Rotor"], [w, I]], [/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i], [d, [h, re], [w, I]], [/(sprint) (\w+)/i], [h, d, [w, b]], [/(kin\.[onetw]{3})/i], [[d, /\./g, " "], [h, te], [w, b]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [d, [h, st], [w, I]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [d, [h, st], [w, b]], [/smart-tv.+(samsung)/i], [h, [w, k]], [/hbbtv.+maple;(\d+)/i], [[d, /^/, "SmartTV"], [h, je], [w, k]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[h, Y], [w, k]], [/(apple) ?tv/i], [h, [d, le + " TV"], [w, k]], [/crkey/i], [[d, ue + "cast"], [h, ve], [w, k]], [/droid.+aft(\w+)( bui|\))/i], [d, [h, _e], [w, k]], [/(shield \w+ tv)/i], [d, [h, re], [w, k]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [d, [h, ot], [w, k]], [/(bravia[\w ]+)( bui|\))/i], [d, [h, Xe], [w, k]], [/(mi(tv|box)-?\w+) bui/i], [d, [h, bt], [w, k]], [/Hbbtv.*(technisat) (.*);/i], [h, d, [w, k]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[h, A], [d, A], [w, k]], [/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i], [d, [w, k]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[w, k]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [h, d, [w, S]], [/droid.+; (shield)( bui|\))/i], [d, [h, re], [w, S]], [/(playstation \w+)/i], [d, [h, Xe], [w, S]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [d, [h, te], [w, S]], [/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i], [d, [h, je], [w, N]], [/((pebble))app/i, /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i], [h, d, [w, N]], [/(ow(?:19|20)?we?[1-3]{1,3})/i], [d, [h, Be], [w, N]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [d, [h, le], [w, N]], [/(opwwe\d{3})/i], [d, [h, $], [w, N]], [/(moto 360)/i], [d, [h, Ce], [w, N]], [/(smartwatch 3)/i], [d, [h, Xe], [w, N]], [/(g watch r)/i], [d, [h, Y], [w, N]], [/droid.+; (wt63?0{2,3})\)/i], [d, [h, st], [w, N]], [/droid.+; (glass) \d/i], [d, [h, ve], [w, N]], [/(pico) (4|neo3(?: link|pro)?)/i], [h, d, [w, N]], [/; (quest( \d| pro)?)/i], [d, [h, Ht], [w, N]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [h, [w, R]], [/(aeobc)\b/i], [d, [h, _e], [w, R]], [/(homepod).+mac os/i], [d, [h, le], [w, R]], [/windows iot/i], [[w, R]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [d, [w, b]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [d, [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], [d, [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, P, W]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[m, P, 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, St], 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
+ if (typeof J === c && (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() {
@@ -1637,16 +1637,16 @@ function zc() {
1637
1637
  return q[g] = n, q[m] = n, V.call(q, me, xe.browser), q[f] = O(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
- return q[S] = n, V.call(q, me, xe.cpu), q;
1640
+ return q[C] = n, V.call(q, me, xe.cpu), q;
1641
1641
  }, this.getDevice = function() {
1642
1642
  var 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;
1643
+ return q[h] = n, q[d] = n, q[w] = n, V.call(q, me, xe.device), he && !q[w] && He && He.mobile && (q[w] = b), he && q[d] == "Macintosh" && j && typeof j.standalone !== l && j.maxTouchPoints && j.maxTouchPoints > 2 && (q[d] = "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;
1647
1647
  }, this.getOS = function() {
1648
1648
  var q = {};
1649
- return q[g] = n, q[m] = n, V.call(q, me, xe.os), he && !q[g] && He && He.platform && He.platform != "Unknown" && (q[g] = He.platform.replace(/chrome os/i, bt).replace(/macos/i, pt)), q;
1649
+ return q[g] = n, q[m] = n, V.call(q, me, xe.os), he && !q[g] && He && He.platform && He.platform != "Unknown" && (q[g] = He.platform.replace(/chrome os/i, St).replace(/macos/i, pt)), q;
1650
1650
  }, this.getResult = function() {
1651
1651
  return { ua: this.getUA(), browser: this.getBrowser(), engine: this.getEngine(), os: this.getOS(), device: this.getDevice(), cpu: this.getCPU() };
1652
1652
  }, this.getUA = function() {
@@ -1655,7 +1655,7 @@ function zc() {
1655
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, 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;
1658
+ G.VERSION = i, G.BROWSER = _t([g, m, f]), G.CPU = _t([C]), G.DEVICE = _t([d, h, w, S, 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 Me = new G();
@@ -1678,9 +1678,9 @@ 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(), f = 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(), c = i.getOS(), p = i.getUA(), f = function(_) {
1682
1682
  return i.setUA(_);
1683
- }, c = function(_) {
1683
+ }, d = function(_) {
1684
1684
  if (!_) {
1685
1685
  console.error("No userAgent string was provided");
1686
1686
  return;
@@ -1704,10 +1704,10 @@ function Kc() {
1704
1704
  cpu: s,
1705
1705
  device: a,
1706
1706
  engine: l,
1707
- os: d,
1707
+ os: c,
1708
1708
  ua: p,
1709
1709
  setUa: f,
1710
- parseUserAgent: c
1710
+ parseUserAgent: d
1711
1711
  });
1712
1712
  function w(E, _) {
1713
1713
  var v = Object.keys(E);
@@ -1738,18 +1738,18 @@ function Kc() {
1738
1738
  return _ && typeof Symbol == "function" && _.constructor === Symbol && _ !== Symbol.prototype ? "symbol" : typeof _;
1739
1739
  }, m(E);
1740
1740
  }
1741
- function S(E, _) {
1741
+ function C(E, _) {
1742
1742
  if (!(E instanceof _))
1743
1743
  throw new TypeError("Cannot call a class as a function");
1744
1744
  }
1745
- function C(E, _) {
1745
+ function S(E, _) {
1746
1746
  for (var v = 0; v < _.length; v++) {
1747
1747
  var x = _[v];
1748
1748
  x.enumerable = x.enumerable || !1, x.configurable = !0, "value" in x && (x.writable = !0), Object.defineProperty(E, x.key, x);
1749
1749
  }
1750
1750
  }
1751
1751
  function b(E, _, v) {
1752
- return _ && C(E.prototype, _), E;
1752
+ return _ && S(E.prototype, _), E;
1753
1753
  }
1754
1754
  function I(E, _, v) {
1755
1755
  return _ in E ? Object.defineProperty(E, _, {
@@ -1896,7 +1896,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1896
1896
  isSmartTV: !1,
1897
1897
  isConsole: !1,
1898
1898
  isWearable: !1
1899
- }, Se = function(_) {
1899
+ }, Ce = function(_) {
1900
1900
  switch (_) {
1901
1901
  case z.Mobile:
1902
1902
  return {
@@ -1968,7 +1968,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1968
1968
  osVersion: $(x.version),
1969
1969
  userAgent: $(D)
1970
1970
  };
1971
- }, yt = function(_, v, x, D) {
1971
+ }, bt = function(_, v, x, D) {
1972
1972
  return {
1973
1973
  isConsole: _,
1974
1974
  engineName: $(v.name),
@@ -1998,14 +1998,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1998
1998
  userAgent: $(pe)
1999
1999
  };
2000
2000
  };
2001
- function bt(E) {
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, Po = Ze.isSmartTV, Mo = Ze.isConsole, Fo = Ze.isWearable, Uo = Ze.isEmbedded;
2001
+ function St(E) {
2002
+ var _ = E ? d(E) : g, v = _.device, x = _.browser, D = _.engine, pe = _.os, Ae = _.ua, Ze = Ce(v.type), In = Ze.isBrowser, Nl = Ze.isMobile, Dl = Ze.isTablet, Po = Ze.isSmartTV, Mo = Ze.isConsole, Fo = Ze.isWearable, Uo = Ze.isEmbedded;
2003
2003
  if (In)
2004
2004
  return je(In, x, D, pe, Ae);
2005
2005
  if (Po)
2006
2006
  return Xe(Po, D, pe, Ae);
2007
2007
  if (Mo)
2008
- return yt(Mo, D, pe, Ae);
2008
+ return bt(Mo, D, pe, Ae);
2009
2009
  if (Nl || Dl)
2010
2010
  return ot(Ze, v, pe, Ae);
2011
2011
  if (Fo)
@@ -2180,12 +2180,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2180
2180
  isSamsungBrowser: tn(x)
2181
2181
  };
2182
2182
  }
2183
- var pn = _t(a), _n = O(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 = Me(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 = P(a), yi = sn(l), bi = an(l), Ci = fn(p), mt = xe(o) || zt(p), Si = he(o), ie = M(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(_) {
2183
+ var pn = _t(a), _n = O(a), mn = y(a), oi = A(a), si = ze(o) || rt(), ai = He(o), pr = Wt(a) || rt(), gn = pt(a), wn = Ct(a) || rt(), vn = tt(a), li = tt(a), yn = W(c), bn = ge(c), Sn = Me(c) || rt(), ci = j(o), di = me(o), ui = q(o), fi = jt(o), Cn = Jt(o), hi = J(c), pi = oe(c), _i = rn(o), mi = nn(o), gi = on(o), wi = V(a), vi = P(a), yi = sn(l), bi = an(l), Si = fn(p), mt = xe(o) || zt(p), Ci = he(o), ie = M(a), at = cn(), _r = rt(), En = dn(), Tn = un(), On = ln(), dl = zt(p), ul = xe(o) && !zt(p), fl = ne(c), hl = G(c), 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, D = v.browser, pe = v.os, Ae = v.engine, Ze = v.ua;
2188
+ var v = d(_), x = v.device, D = v.browser, pe = v.os, Ae = v.engine, Ze = v.ua;
2189
2189
  return hn({
2190
2190
  device: x,
2191
2191
  browser: D,
@@ -2201,17 +2201,17 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2201
2201
  return vn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", D, x) : null;
2202
2202
  }, vl = function(_) {
2203
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;
2204
+ return Cn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", D, x) : null;
2205
2205
  }, yl = function(_) {
2206
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;
2207
+ return Sn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", D, x) : null;
2208
2208
  }, bl = function(_) {
2209
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
- }, Cl = function(_) {
2210
+ return pr ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", D, x) : null;
2211
+ }, Sl = function(_) {
2212
2212
  var v = _.renderWithFragment, x = _.children, D = le(_, ["renderWithFragment", "children"]);
2213
2213
  return wn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", D, x) : null;
2214
- }, Sl = function(_) {
2214
+ }, Cl = function(_) {
2215
2215
  var v = _.renderWithFragment, x = _.children, D = le(_, ["renderWithFragment", "children"]);
2216
2216
  return bn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", D, x) : null;
2217
2217
  }, El = function(_) {
@@ -2239,7 +2239,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2239
2239
  N(v, _);
2240
2240
  function v(x) {
2241
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 = {
2242
+ return C(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
2245
  }, D;
@@ -2267,7 +2267,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2267
2267
  }, {
2268
2268
  key: "componentDidMount",
2269
2269
  value: function() {
2270
- (typeof window == "undefined" ? "undefined" : m(window)) !== void 0 && fr && (this.isEventListenerAdded ? window.removeEventListener("load", this.onPageLoad, !1) : (this.handleOrientationChange(), window.addEventListener("load", this.onPageLoad, !1)), window.addEventListener("resize", this.onOrientationChange, !1));
2270
+ (typeof window == "undefined" ? "undefined" : m(window)) !== void 0 && pr && (this.isEventListenerAdded ? window.removeEventListener("load", this.onPageLoad, !1) : (this.handleOrientationChange(), window.addEventListener("load", this.onPageLoad, !1)), window.addEventListener("resize", this.onOrientationChange, !1));
2271
2271
  }
2272
2272
  }, {
2273
2273
  key: "componentWillUnmount",
@@ -2302,20 +2302,20 @@ 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 && (D(), window.addEventListener("load", D, !1), window.addEventListener("resize", D, !1)), function() {
2305
+ return (typeof window == "undefined" ? "undefined" : m(window)) !== void 0 && pr && (D(), window.addEventListener("load", D, !1), window.addEventListener("resize", D, !1)), function() {
2306
2306
  window.removeEventListener("resize", D, !1), window.removeEventListener("load", D, !1);
2307
2307
  };
2308
2308
  }, [D]), v;
2309
2309
  }
2310
2310
  function Do(E) {
2311
2311
  var _ = E || window.navigator.userAgent;
2312
- return c(_);
2312
+ return d(_);
2313
2313
  }
2314
2314
  function kl(E) {
2315
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 = U, 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;
2318
+ return B.AndroidView = gl, B.BrowserTypes = U, 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 = Sl, B.WearableView = Il, B.WinPhoneView = Cl, B.browserName = gi, B.browserVersion = mi, B.deviceDetect = St, B.deviceType = ie, B.engineName = yi, B.engineVersion = bi, B.fullBrowserVersion = _i, B.getSelectorsByUserAgent = ml, B.getUA = Si, 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 = Cn, B.isIOS = Sn, B.isIOS13 = at, B.isIPad13 = _r, B.isIPhone13 = En, B.isIPod13 = Tn, B.isLegacyEdge = ul, B.isMIUI = pl, B.isMacOs = hl, B.isMobile = pr, 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 = Ci, B.mobileModel = vi, B.mobileVendor = wi, B.osName = pi, B.osVersion = hi, B.parseUserAgent = d, 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) => {
@@ -2385,7 +2385,7 @@ function ed(t, e, r) {
2385
2385
  function td(t, e, r) {
2386
2386
  return ys.randomUUID && !t ? ys.randomUUID() : ed(t);
2387
2387
  }
2388
- function Co(t) {
2388
+ function So(t) {
2389
2389
  try {
2390
2390
  return JSON.parse(JSON.stringify(t));
2391
2391
  } catch (e) {
@@ -2395,7 +2395,7 @@ function Co(t) {
2395
2395
  const bs = (t, e) => {
2396
2396
  if (!t || !e) return null;
2397
2397
  let r = null;
2398
- return r = Co(t), r && (r = Gc(r, e)), r;
2398
+ return r = So(t), r && (r = Gc(r, e)), r;
2399
2399
  };
2400
2400
  function rd(t) {
2401
2401
  return F(this, null, function* () {
@@ -2429,7 +2429,7 @@ const id = (t, e, r) => {
2429
2429
  );
2430
2430
  function i(s, a) {
2431
2431
  const l = new Set(s);
2432
- return a.filter((d) => !l.has(d));
2432
+ return a.filter((c) => !l.has(c));
2433
2433
  }
2434
2434
  const o = i(r, n);
2435
2435
  return {
@@ -2548,7 +2548,7 @@ const fd = (t) => {
2548
2548
  return null;
2549
2549
  }
2550
2550
  };
2551
- function Cs(t) {
2551
+ function Ss(t) {
2552
2552
  return !("error" in t);
2553
2553
  }
2554
2554
  function Mi(t) {
@@ -2565,7 +2565,7 @@ function Mi(t) {
2565
2565
  return null;
2566
2566
  }
2567
2567
  }
2568
- const Ss = () => {
2568
+ const Cs = () => {
2569
2569
  if (typeof window == "undefined") return "SERVER_SIDE_RENDERING";
2570
2570
  if (!document.referrer) return window.location.origin;
2571
2571
  try {
@@ -2580,9 +2580,9 @@ const Ss = () => {
2580
2580
  metadata: {
2581
2581
  platform: "browser",
2582
2582
  osVersion: `${Je.osVersion}`,
2583
- hostAppId: Ss(),
2584
- host: Ss(),
2585
- sdkVersion: "3.2.268-nightly".trim(),
2583
+ hostAppId: Cs(),
2584
+ host: Cs(),
2585
+ sdkVersion: "3.2.270-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}`,
@@ -2699,7 +2699,7 @@ const Es = {
2699
2699
  t(() => ({ trackLocation: r }));
2700
2700
  }
2701
2701
  });
2702
- class Ce {
2702
+ class Se {
2703
2703
  constructor({
2704
2704
  errorCode: e,
2705
2705
  errorCodeKey: r,
@@ -2709,9 +2709,9 @@ class Ce {
2709
2709
  domain: s,
2710
2710
  module: a,
2711
2711
  errorEnumName: l,
2712
- shortDomainCode: d
2712
+ shortDomainCode: c
2713
2713
  }) {
2714
- this.errorCode = e, this.errorCodeKey = r, this.message = n, this.underlyingError = i, this.underlyingBaseError = o, this.module = a, this.domain = s, this.errorEnumName = l, this.shortDomainCode = d;
2714
+ this.errorCode = e, this.errorCodeKey = r, this.message = n, this.underlyingError = i, this.underlyingBaseError = o, this.module = a, this.domain = s, this.errorEnumName = l, this.shortDomainCode = c;
2715
2715
  }
2716
2716
  static getErrorKey(e, r) {
2717
2717
  const n = Object.keys(r).find((i) => r[i] === e);
@@ -2721,7 +2721,7 @@ class Ce {
2721
2721
  }
2722
2722
  get lastUnderlyingError() {
2723
2723
  let e = this.underlyingBaseError;
2724
- for (; (e == null ? void 0 : e.underlyingBaseError) instanceof Ce; )
2724
+ for (; (e == null ? void 0 : e.underlyingBaseError) instanceof Se; )
2725
2725
  e = e.underlyingBaseError;
2726
2726
  return e == null ? void 0 : e.underlyingError;
2727
2727
  }
@@ -2735,15 +2735,15 @@ class Ce {
2735
2735
  underlyingError: this.underlyingError,
2736
2736
  lastUnderlineError: this.lastUnderlyingError
2737
2737
  };
2738
- return this.underlyingBaseError && this.underlyingBaseError instanceof Ce && (e.underlyingBaseError = this.underlyingBaseError.toObject()), e;
2738
+ return this.underlyingBaseError && this.underlyingBaseError instanceof Se && (e.underlyingBaseError = this.underlyingBaseError.toObject()), e;
2739
2739
  }
2740
2740
  get shortChain() {
2741
2741
  let e = `${this.shortDomainCode}:${this.errorCode}${this.underlyingError ? "-" + this.underlyingError : ""}`;
2742
- return this.underlyingBaseError instanceof Ce && (e += `-${this.underlyingBaseError.shortChain}`), e;
2742
+ return this.underlyingBaseError instanceof Se && (e += `-${this.underlyingBaseError.shortChain}`), e;
2743
2743
  }
2744
2744
  get fullChain() {
2745
2745
  let e = `${this.module}.${this.domain}:${this.errorCodeKey}${this.underlyingError ? "-" + this.underlyingError : ""}`;
2746
- return this.underlyingBaseError instanceof Ce && (e += `-${this.underlyingBaseError.fullChain}`), e;
2746
+ return this.underlyingBaseError instanceof Se && (e += `-${this.underlyingBaseError.fullChain}`), e;
2747
2747
  }
2748
2748
  }
2749
2749
  class gd extends HTMLElement {
@@ -2764,37 +2764,14 @@ function wd(t, e) {
2764
2764
  const Bn = {
2765
2765
  FORM: "form",
2766
2766
  DATA: "data"
2767
- }, It = class It extends Ce {
2767
+ }, xt = class xt extends Se {
2768
2768
  constructor({
2769
2769
  errorCode: e,
2770
2770
  message: r,
2771
2771
  underlyingError: n,
2772
2772
  underlyingBaseError: i
2773
2773
  }) {
2774
- const o = Ce.getErrorKey(e, ti);
2775
- super({
2776
- errorCode: e,
2777
- errorCodeKey: o,
2778
- errorEnumName: It.ERROR_ENUM_NAME,
2779
- module: It.MODULE,
2780
- message: r,
2781
- underlyingError: n,
2782
- underlyingBaseError: i,
2783
- domain: It.ERROR_ENUM_NAME,
2784
- shortDomainCode: It.SHORT_CODE
2785
- });
2786
- }
2787
- };
2788
- It.MODULE = vt, It.ERROR_ENUM_NAME = "InitializeError", It.SHORT_CODE = "IN";
2789
- let Hn = It;
2790
- const xt = class xt extends Ce {
2791
- constructor({
2792
- errorCode: e,
2793
- message: r,
2794
- underlyingError: n,
2795
- underlyingBaseError: i
2796
- }) {
2797
- const o = Ce.getErrorKey(e, Un);
2774
+ const o = Se.getErrorKey(e, ti);
2798
2775
  super({
2799
2776
  errorCode: e,
2800
2777
  errorCodeKey: o,
@@ -2808,16 +2785,16 @@ const xt = class xt extends Ce {
2808
2785
  });
2809
2786
  }
2810
2787
  };
2811
- xt.MODULE = vt, xt.ERROR_ENUM_NAME = "TokenInitializeError", xt.SHORT_CODE = "TI";
2812
- let Wn = xt;
2813
- const At = class At extends Ce {
2788
+ xt.MODULE = yt, xt.ERROR_ENUM_NAME = "InitializeError", xt.SHORT_CODE = "IN";
2789
+ let Hn = xt;
2790
+ const At = class At extends Se {
2814
2791
  constructor({
2815
2792
  errorCode: e,
2816
2793
  message: r,
2817
2794
  underlyingError: n,
2818
2795
  underlyingBaseError: i
2819
2796
  }) {
2820
- const o = Ce.getErrorKey(e, Et);
2797
+ const o = Se.getErrorKey(e, Un);
2821
2798
  super({
2822
2799
  errorCode: e,
2823
2800
  errorCodeKey: o,
@@ -2831,16 +2808,16 @@ const At = class At extends Ce {
2831
2808
  });
2832
2809
  }
2833
2810
  };
2834
- At.MODULE = vt, At.ERROR_ENUM_NAME = "PrepareWorkflowError", At.SHORT_CODE = "PW";
2835
- let Ot = At;
2836
- const Rt = class Rt extends Ce {
2811
+ At.MODULE = yt, At.ERROR_ENUM_NAME = "TokenInitializeError", At.SHORT_CODE = "TI";
2812
+ let Wn = At;
2813
+ const Rt = class Rt extends Se {
2837
2814
  constructor({
2838
2815
  errorCode: e,
2839
2816
  message: r,
2840
2817
  underlyingError: n,
2841
2818
  underlyingBaseError: i
2842
2819
  }) {
2843
- const o = Ce.getErrorKey(e, Le);
2820
+ const o = Se.getErrorKey(e, Tt);
2844
2821
  super({
2845
2822
  errorCode: e,
2846
2823
  errorCodeKey: o,
@@ -2854,16 +2831,16 @@ const Rt = class Rt extends Ce {
2854
2831
  });
2855
2832
  }
2856
2833
  };
2857
- Rt.MODULE = vt, Rt.ERROR_ENUM_NAME = "ConfigureError", Rt.SHORT_CODE = "CFG";
2858
- let Ve = Rt;
2859
- const kt = class kt extends Ce {
2834
+ Rt.MODULE = yt, Rt.ERROR_ENUM_NAME = "PrepareWorkflowError", Rt.SHORT_CODE = "PW";
2835
+ let It = Rt;
2836
+ const kt = class kt extends Se {
2860
2837
  constructor({
2861
2838
  errorCode: e,
2862
2839
  message: r,
2863
2840
  underlyingError: n,
2864
2841
  underlyingBaseError: i
2865
2842
  }) {
2866
- const o = Ce.getErrorKey(e, Ke);
2843
+ const o = Se.getErrorKey(e, Le);
2867
2844
  super({
2868
2845
  errorCode: e,
2869
2846
  errorCodeKey: o,
@@ -2877,16 +2854,16 @@ const kt = class kt extends Ce {
2877
2854
  });
2878
2855
  }
2879
2856
  };
2880
- kt.MODULE = vt, kt.ERROR_ENUM_NAME = "WorkflowError", kt.SHORT_CODE = "SC";
2881
- let Ge = kt;
2882
- const Nt = class Nt extends Ce {
2857
+ kt.MODULE = yt, kt.ERROR_ENUM_NAME = "ConfigureError", kt.SHORT_CODE = "CFG";
2858
+ let Ve = kt;
2859
+ const Nt = class Nt extends Se {
2883
2860
  constructor({
2884
2861
  errorCode: e,
2885
2862
  message: r,
2886
2863
  underlyingError: n,
2887
2864
  underlyingBaseError: i
2888
2865
  }) {
2889
- const o = Ce.getErrorKey(e, Kt);
2866
+ const o = Se.getErrorKey(e, Ke);
2890
2867
  super({
2891
2868
  errorCode: e,
2892
2869
  errorCodeKey: o,
@@ -2900,16 +2877,16 @@ const Nt = class Nt extends Ce {
2900
2877
  });
2901
2878
  }
2902
2879
  };
2903
- Nt.MODULE = vt, Nt.ERROR_ENUM_NAME = "ConnectionError", Nt.SHORT_CODE = "CO";
2904
- let Lr = Nt;
2905
- const Dt = class Dt extends Ce {
2880
+ Nt.MODULE = yt, Nt.ERROR_ENUM_NAME = "WorkflowError", Nt.SHORT_CODE = "SC";
2881
+ let Ge = Nt;
2882
+ const Dt = class Dt extends Se {
2906
2883
  constructor({
2907
2884
  errorCode: e,
2908
2885
  message: r,
2909
2886
  underlyingError: n,
2910
2887
  underlyingBaseError: i
2911
2888
  }) {
2912
- const o = Ce.getErrorKey(e, lt);
2889
+ const o = Se.getErrorKey(e, Kt);
2913
2890
  super({
2914
2891
  errorCode: e,
2915
2892
  errorCodeKey: o,
@@ -2923,16 +2900,16 @@ const Dt = class Dt extends Ce {
2923
2900
  });
2924
2901
  }
2925
2902
  };
2926
- Dt.MODULE = vt, Dt.ERROR_ENUM_NAME = "SessionError", Dt.SHORT_CODE = "SE";
2927
- let Vr = Dt;
2928
- const Pt = class Pt extends Ce {
2903
+ Dt.MODULE = yt, Dt.ERROR_ENUM_NAME = "ConnectionError", Dt.SHORT_CODE = "CO";
2904
+ let Lr = Dt;
2905
+ const Pt = class Pt extends Se {
2929
2906
  constructor({
2930
2907
  errorCode: e,
2931
2908
  message: r,
2932
2909
  underlyingError: n,
2933
2910
  underlyingBaseError: i
2934
2911
  }) {
2935
- const o = Ce.getErrorKey(e, tr);
2912
+ const o = Se.getErrorKey(e, lt);
2936
2913
  super({
2937
2914
  errorCode: e,
2938
2915
  errorCodeKey: o,
@@ -2946,16 +2923,16 @@ const Pt = class Pt extends Ce {
2946
2923
  });
2947
2924
  }
2948
2925
  };
2949
- Pt.MODULE = vt, Pt.ERROR_ENUM_NAME = "StartSessionError", Pt.SHORT_CODE = "ST";
2950
- let ir = Pt;
2951
- const Mt = class Mt extends Ce {
2926
+ Pt.MODULE = yt, Pt.ERROR_ENUM_NAME = "SessionError", Pt.SHORT_CODE = "SE";
2927
+ let Vr = Pt;
2928
+ const Mt = class Mt extends Se {
2952
2929
  constructor({
2953
2930
  errorCode: e,
2954
2931
  message: r,
2955
2932
  underlyingError: n,
2956
2933
  underlyingBaseError: i
2957
2934
  }) {
2958
- const o = Ce.getErrorKey(e, Ln);
2935
+ const o = Se.getErrorKey(e, tr);
2959
2936
  super({
2960
2937
  errorCode: e,
2961
2938
  errorCodeKey: o,
@@ -2969,16 +2946,16 @@ const Mt = class Mt extends Ce {
2969
2946
  });
2970
2947
  }
2971
2948
  };
2972
- Mt.MODULE = vt, Mt.ERROR_ENUM_NAME = "DeinitializationError", Mt.SHORT_CODE = "DE";
2973
- let jn = Mt;
2974
- const Ft = class Ft extends Ce {
2949
+ Mt.MODULE = yt, Mt.ERROR_ENUM_NAME = "StartSessionError", Mt.SHORT_CODE = "ST";
2950
+ let ir = Mt;
2951
+ const Ft = class Ft extends Se {
2975
2952
  constructor({
2976
2953
  errorCode: e,
2977
2954
  message: r,
2978
2955
  underlyingError: n,
2979
2956
  underlyingBaseError: i
2980
2957
  }) {
2981
- const o = Ce.getErrorKey(e, Tt);
2958
+ const o = Se.getErrorKey(e, Ln);
2982
2959
  super({
2983
2960
  errorCode: e,
2984
2961
  errorCodeKey: o,
@@ -2992,14 +2969,37 @@ const Ft = class Ft extends Ce {
2992
2969
  });
2993
2970
  }
2994
2971
  };
2995
- Ft.MODULE = vt, Ft.ERROR_ENUM_NAME = "WorkflowPlatformError", Ft.SHORT_CODE = "WPE";
2996
- let zn = Ft;
2997
- class vr {
2972
+ Ft.MODULE = yt, Ft.ERROR_ENUM_NAME = "DeinitializationError", Ft.SHORT_CODE = "DE";
2973
+ let jn = Ft;
2974
+ const Ut = class Ut extends Se {
2975
+ constructor({
2976
+ errorCode: e,
2977
+ message: r,
2978
+ underlyingError: n,
2979
+ underlyingBaseError: i
2980
+ }) {
2981
+ const o = Se.getErrorKey(e, Ot);
2982
+ super({
2983
+ errorCode: e,
2984
+ errorCodeKey: o,
2985
+ errorEnumName: Ut.ERROR_ENUM_NAME,
2986
+ module: Ut.MODULE,
2987
+ message: r,
2988
+ underlyingError: n,
2989
+ underlyingBaseError: i,
2990
+ domain: Ut.ERROR_ENUM_NAME,
2991
+ shortDomainCode: Ut.SHORT_CODE
2992
+ });
2993
+ }
2994
+ };
2995
+ Ut.MODULE = yt, Ut.ERROR_ENUM_NAME = "WorkflowPlatformError", Ut.SHORT_CODE = "WPE";
2996
+ let zn = Ut;
2997
+ class br {
2998
2998
  constructor() {
2999
2999
  this.webSocket = null, this.callbacks = /* @__PURE__ */ new Set(), this.connected = !1;
3000
3000
  }
3001
3001
  static getInstance() {
3002
- return vr.instance || (vr.instance = new vr()), vr.instance;
3002
+ return br.instance || (br.instance = new br()), br.instance;
3003
3003
  }
3004
3004
  isConnected() {
3005
3005
  return this.connected;
@@ -3032,23 +3032,23 @@ class vr {
3032
3032
  (e = this.webSocket) == null || e.close(), this.webSocket = null, this.connected = !1, this.callbacks.clear();
3033
3033
  }
3034
3034
  }
3035
- const dt = vr.getInstance();
3035
+ const dt = br.getInstance();
3036
3036
  var vd = 0;
3037
3037
  function u(t, e, r, n, i, o) {
3038
3038
  e || (e = {});
3039
3039
  var s, a, l = e;
3040
3040
  if ("ref" in l) for (a in l = {}, e) a == "ref" ? s = e[a] : l[a] = e[a];
3041
- var d = { type: t, props: l, key: r, ref: s, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --vd, __i: -1, __u: 0, __source: i, __self: o };
3041
+ var c = { type: t, props: l, key: r, ref: s, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --vd, __i: -1, __u: 0, __source: i, __self: o };
3042
3042
  if (typeof t == "function" && (s = t.defaultProps)) for (a in s) l[a] === void 0 && (l[a] = s[a]);
3043
- return se.vnode && se.vnode(d), d;
3043
+ return se.vnode && se.vnode(c), c;
3044
3044
  }
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 = Yr(So);
3045
+ const Co = lo(void 0), Ts = ({ perform: t, children: e, setIsProcessingCallback: r }) => /* @__PURE__ */ u(Co.Provider, { value: { perform: t, setIsProcessingCallback: r }, children: e }), fr = () => {
3046
+ const t = Yr(Co);
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 = Yr(So);
3051
+ const t = Yr(Co);
3052
3052
  if (!t)
3053
3053
  throw new Error("useSetIsProcessingCallback must be used within a Context Provider");
3054
3054
  return { setIsProcessingCallback: t.setIsProcessingCallback };
@@ -3078,7 +3078,7 @@ const So = lo(void 0), Ts = ({ perform: t, children: e, setIsProcessingCallback:
3078
3078
  ASPECT_FILL: "ASPECT_FILL",
3079
3079
  ASPECT_FIT: "ASPECT_FIT",
3080
3080
  FILL: "FILL"
3081
- }, pr = {
3081
+ }, mr = {
3082
3082
  TEXT_EXPANDABLE: "text_expandable",
3083
3083
  TEXT_SINGLE_LINE: "text_single_line",
3084
3084
  SELECTOR_OPTIONS: "selector_options",
@@ -3109,13 +3109,13 @@ function Eo(t) {
3109
3109
  typeof t[e] == "object" ? Eo(t[e]) : t[e] === "true" ? t[e] = !0 : t[e] === "false" && (t[e] = !1);
3110
3110
  return t;
3111
3111
  }
3112
- function Cd(t) {
3112
+ function Sd(t) {
3113
3113
  return Object.entries(t).map(([e, r]) => ({
3114
3114
  id: e,
3115
3115
  value: typeof r == "string" ? r.trim() : r
3116
3116
  })).filter((e) => !!e.value);
3117
3117
  }
3118
- const Sd = (t) => Array.isArray(t) ? t.length === 0 : t === 0 ? !1 : !t;
3118
+ const Cd = (t) => Array.isArray(t) ? t.length === 0 : t === 0 ? !1 : !t;
3119
3119
  function de(t) {
3120
3120
  return t && /^#(?:[0-9a-fA-F]{3}){1,2}$/.test(t) ? t : void 0;
3121
3121
  }
@@ -3154,14 +3154,14 @@ const Ed = (t, e) => t.reduce((r, n) => {
3154
3154
  return (t == null ? void 0 : t.name) === "NotAllowedError" ? "denied" : "error";
3155
3155
  }
3156
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;
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, c = 360 / 1e3;
3158
3158
  return nt(() => {
3159
3159
  if (!e.current) return;
3160
- let p = !0, f = 0, c = performance.now();
3160
+ let p = !0, f = 0, d = performance.now();
3161
3161
  function g(w) {
3162
3162
  if (!p) return;
3163
- const h = w - c;
3164
- c = w, f = (f + d * h) % 360, e.current && (e.current.style.transform = `rotate(${f}deg)`), requestAnimationFrame(g);
3163
+ const h = w - d;
3164
+ d = w, f = (f + c * h) % 360, e.current && (e.current.style.transform = `rotate(${f}deg)`), requestAnimationFrame(g);
3165
3165
  }
3166
3166
  return requestAnimationFrame(g), () => {
3167
3167
  p = !1;
@@ -3653,7 +3653,7 @@ const $d = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
3653
3653
  if (f === Rn.ASPECT_FILL) return "cover";
3654
3654
  if (f === Rn.ASPECT_FIT) return "contain";
3655
3655
  if (f === Rn.FILL) return "fill";
3656
- }, [a, l] = Pe(!0), d = a && e, p = () => {
3656
+ }, [a, l] = Pe(!0), c = a && e, p = () => {
3657
3657
  l(!1);
3658
3658
  };
3659
3659
  if (r)
@@ -3666,7 +3666,7 @@ const $d = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
3666
3666
  objectFit: s(n),
3667
3667
  borderRadius: i,
3668
3668
  backgroundColor: de(o) || "transparent",
3669
- display: d ? "none" : "block"
3669
+ display: c ? "none" : "block"
3670
3670
  },
3671
3671
  src: r
3672
3672
  }
@@ -3677,7 +3677,7 @@ const $d = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
3677
3677
  }
3678
3678
  if (e)
3679
3679
  return /* @__PURE__ */ u(We, { children: [
3680
- d && /* @__PURE__ */ u(
3680
+ c && /* @__PURE__ */ u(
3681
3681
  "div",
3682
3682
  {
3683
3683
  style: {
@@ -3697,7 +3697,7 @@ const $d = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
3697
3697
  objectFit: s(n),
3698
3698
  borderRadius: i,
3699
3699
  backgroundColor: o,
3700
- display: d ? "none" : "block"
3700
+ display: c ? "none" : "block"
3701
3701
  },
3702
3702
  src: e,
3703
3703
  onLoad: p
@@ -3737,8 +3737,8 @@ const $d = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
3737
3737
  cornerRadius: o,
3738
3738
  highlightColor: s
3739
3739
  }) => {
3740
- var c;
3741
- const [a, l] = Pe(!1), d = a && s ? s : i, { perform: p } = ur();
3740
+ var d;
3741
+ const [a, l] = Pe(!1), c = a && s ? s : i, { perform: p } = fr();
3742
3742
  return /* @__PURE__ */ u(
3743
3743
  "button",
3744
3744
  {
@@ -3751,7 +3751,7 @@ const $d = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
3751
3751
  },
3752
3752
  className: "hover-button",
3753
3753
  style: X(T(T({}, Xd), o && { borderRadius: o }), {
3754
- backgroundColor: (c = de(d)) != null ? c : "transparent"
3754
+ backgroundColor: (d = de(c)) != null ? d : "transparent"
3755
3755
  }),
3756
3756
  onMouseEnter: () => l(!0),
3757
3757
  onMouseLeave: () => l(!1),
@@ -3794,12 +3794,12 @@ function tu(t) {
3794
3794
  const e = /\[([^\]]+)\]\(((https?:\/\/|www\.)?[^\s)]+\.[^\s)]+)\)/g, r = [];
3795
3795
  let n = 0;
3796
3796
  for (const o of t.matchAll(e)) {
3797
- const [s, a, l] = o, d = (i = o.index) != null ? i : 0;
3798
- d > n && r.push(t.slice(n, d));
3797
+ const [s, a, l] = o, c = (i = o.index) != null ? i : 0;
3798
+ c > n && r.push(t.slice(n, c));
3799
3799
  const p = l.startsWith("http") ? l : `https://${l}`;
3800
3800
  r.push(
3801
- /* @__PURE__ */ u("a", { href: p, target: "_blank", rel: "noopener noreferrer", children: a }, d)
3802
- ), n = d + s.length;
3801
+ /* @__PURE__ */ u("a", { href: p, target: "_blank", rel: "noopener noreferrer", children: a }, c)
3802
+ ), n = c + s.length;
3803
3803
  }
3804
3804
  return n < t.length && r.push(t.slice(n)), r;
3805
3805
  }
@@ -3828,8 +3828,8 @@ const Oe = ({
3828
3828
  textAlign: ja(i),
3829
3829
  backgroundColor: de(o) || "transparent",
3830
3830
  borderRadius: s
3831
- }, d = typeof t == "string" && t.trim() && qa(t);
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 });
3831
+ }, c = typeof t == "string" && t.trim() && qa(t);
3832
+ return a ? /* @__PURE__ */ u("label", { "data-ui": "gui-label", part: "gui-label", style: l, htmlFor: a, children: c }) : /* @__PURE__ */ u("div", { "data-ui": "gui-label", part: "gui-label", style: l, children: c });
3833
3833
  }, Zn = ({
3834
3834
  title: t,
3835
3835
  image: e,
@@ -3840,12 +3840,12 @@ const Oe = ({
3840
3840
  dataTestId: s,
3841
3841
  borderColor: a,
3842
3842
  borderWidth: l,
3843
- type: d = "RESPONSE_BODY",
3843
+ type: c = "RESPONSE_BODY",
3844
3844
  onClick: p
3845
3845
  }) => {
3846
- var S, C;
3847
- const [f, c] = Pe(!1), g = f && de(o) ? o : n, { perform: w } = ur(), h = (b) => {
3848
- if (p && p(b), d !== "RESPONSE_BODY") return;
3846
+ var C, S;
3847
+ const [f, d] = Pe(!1), g = f && de(o) ? o : n, { perform: w } = fr(), h = (b) => {
3848
+ if (p && p(b), c !== "RESPONSE_BODY") return;
3849
3849
  const I = JSON.parse(JSON.stringify(r));
3850
3850
  Eo(I), w(I, Bn.DATA);
3851
3851
  }, m = {
@@ -3863,8 +3863,8 @@ const Oe = ({
3863
3863
  gap: 5,
3864
3864
  borderRadius: i || 0,
3865
3865
  borderStyle: a && l ? "solid" : void 0,
3866
- backgroundColor: (S = de(g)) != null ? S : "transparent",
3867
- borderColor: (C = de(a)) != null ? C : "none",
3866
+ backgroundColor: (C = de(g)) != null ? C : "transparent",
3867
+ borderColor: (S = de(a)) != null ? S : "none",
3868
3868
  borderWidth: l != null ? l : 0,
3869
3869
  overflow: "hidden",
3870
3870
  transition: ".3s",
@@ -3875,12 +3875,12 @@ const Oe = ({
3875
3875
  {
3876
3876
  "data-ui": "gui-button",
3877
3877
  part: "gui-button",
3878
- type: d === "FORM" ? "submit" : "button",
3878
+ type: c === "FORM" ? "submit" : "button",
3879
3879
  "data-test": s,
3880
3880
  onClick: h,
3881
3881
  style: m,
3882
- onMouseEnter: () => c(!0),
3883
- onMouseLeave: () => c(!1),
3882
+ onMouseEnter: () => d(!0),
3883
+ onMouseLeave: () => d(!1),
3884
3884
  children: [
3885
3885
  e && /* @__PURE__ */ u($e, T({}, e)),
3886
3886
  t && /* @__PURE__ */ u(
@@ -4009,9 +4009,9 @@ const Oe = ({
4009
4009
  buttons: o,
4010
4010
  backgroundColor: s
4011
4011
  }) => {
4012
- const a = it(null), [l, d] = Pe(!1);
4012
+ const a = it(null), [l, c] = Pe(!1);
4013
4013
  return nt(() => {
4014
- a.current && d(a.current.scrollHeight > a.current.clientHeight + 2);
4014
+ a.current && c(a.current.scrollHeight > a.current.clientHeight + 2);
4015
4015
  }, []), /* @__PURE__ */ u(Yt, { header: t, buttons: o, footer: e, backgroundColor: s, children: /* @__PURE__ */ u(
4016
4016
  "div",
4017
4017
  {
@@ -4234,8 +4234,8 @@ var ii = (t) => /^\w*$/.test(t), Ie = (t) => t === void 0, Oo = (t) => Array.isA
4234
4234
  const a = i[n];
4235
4235
  let l = r;
4236
4236
  if (n !== s) {
4237
- const d = t[a];
4238
- l = Ne(d) || Array.isArray(d) ? d : isNaN(+i[n + 1]) ? {} : [];
4237
+ const c = t[a];
4238
+ l = Ne(c) || Array.isArray(c) ? c : isNaN(+i[n + 1]) ? {} : [];
4239
4239
  }
4240
4240
  if (a === "__proto__" || a === "constructor" || a === "prototype")
4241
4241
  return;
@@ -4252,7 +4252,7 @@ const Yn = {
4252
4252
  onSubmit: "onSubmit",
4253
4253
  onTouched: "onTouched",
4254
4254
  all: "all"
4255
- }, St = {
4255
+ }, Et = {
4256
4256
  max: "max",
4257
4257
  min: "min",
4258
4258
  maxLength: "maxLength",
@@ -4292,15 +4292,15 @@ function pu(t) {
4292
4292
  name: i,
4293
4293
  formState: l.current,
4294
4294
  exact: o,
4295
- callback: (d) => {
4296
- !n && a(T(T({}, r._formState), d));
4295
+ callback: (c) => {
4296
+ !n && a(T(T({}, r._formState), c));
4297
4297
  }
4298
4298
  }), [i, n, o]), fe.useEffect(() => {
4299
4299
  l.current.isValid && r._setValid(!0);
4300
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), L(r, t, i)) : Array.isArray(t) ? t.map((o) => (n && e.watch.add(o), L(r, o))) : (n && (e.watchAll = !0), r), Ji = (t) => qe(t) || !Za(t);
4303
- function Lt(t, e, r = /* @__PURE__ */ new WeakSet()) {
4303
+ function Vt(t, e, r = /* @__PURE__ */ new WeakSet()) {
4304
4304
  if (Ji(t) || Ji(e))
4305
4305
  return t === e;
4306
4306
  if (sr(t) && sr(e))
@@ -4317,16 +4317,16 @@ function Lt(t, e, r = /* @__PURE__ */ new WeakSet()) {
4317
4317
  return !1;
4318
4318
  if (o !== "ref") {
4319
4319
  const a = e[o];
4320
- if (sr(s) && sr(a) || Ne(s) && Ne(a) || Array.isArray(s) && Array.isArray(a) ? !Lt(s, a, r) : s !== a)
4320
+ if (sr(s) && sr(a) || Ne(s) && Ne(a) || Array.isArray(s) && Array.isArray(a) ? !Vt(s, a, r) : s !== a)
4321
4321
  return !1;
4322
4322
  }
4323
4323
  }
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 = fe.useRef(i), d = fe.useRef(a), p = fe.useRef(void 0);
4328
- d.current = a;
4329
- const f = fe.useMemo(() => r._getWatch(n, l.current), [r, n]), [c, g] = fe.useState(d.current ? d.current(f) : f);
4327
+ const e = xo(), { control: r = e.control, name: n, defaultValue: i, disabled: o, exact: s, compute: a } = t || {}, l = fe.useRef(i), c = fe.useRef(a), p = fe.useRef(void 0);
4328
+ c.current = a;
4329
+ const f = fe.useMemo(() => r._getWatch(n, l.current), [r, n]), [d, g] = fe.useState(c.current ? c.current(f) : f);
4330
4330
  return Ao(() => r._subscribe({
4331
4331
  name: n,
4332
4332
  formState: {
@@ -4336,17 +4336,17 @@ function _u(t) {
4336
4336
  callback: (w) => {
4337
4337
  if (!o) {
4338
4338
  const h = el(n, r._names, w.values || r._formValues, !1, l.current);
4339
- if (d.current) {
4340
- const m = d.current(h);
4341
- Lt(m, p.current) || (g(m), p.current = m);
4339
+ if (c.current) {
4340
+ const m = c.current(h);
4341
+ Vt(m, p.current) || (g(m), p.current = m);
4342
4342
  } else
4343
4343
  g(h);
4344
4344
  }
4345
4345
  }
4346
- }), [r, o, n, s]), fe.useEffect(() => r._removeUnmounted()), c;
4346
+ }), [r, o, n, s]), fe.useEffect(() => r._removeUnmounted()), d;
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 = fe.useMemo(() => L(i._formValues, r, L(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(() => L(i._formValues, r, L(i._defaultValues, r, s)), [i, r, s]), c = _u({
4350
4350
  control: i,
4351
4351
  name: r,
4352
4352
  defaultValue: l,
@@ -4355,8 +4355,8 @@ function mu(t) {
4355
4355
  control: i,
4356
4356
  name: r,
4357
4357
  exact: !0
4358
- }), f = fe.useRef(t), c = fe.useRef(void 0), g = fe.useRef(i.register(r, T(X(T({}, t.rules), {
4359
- value: d
4358
+ }), f = fe.useRef(t), d = fe.useRef(void 0), g = fe.useRef(i.register(r, T(X(T({}, t.rules), {
4359
+ value: c
4360
4360
  }), Qe(t.disabled) ? { disabled: t.disabled } : {})));
4361
4361
  f.current = t;
4362
4362
  const w = fe.useMemo(() => Object.defineProperties({}, {
@@ -4392,7 +4392,7 @@ function mu(t) {
4392
4392
  name: r
4393
4393
  },
4394
4394
  type: Yn.BLUR
4395
- }), [r, i._formValues]), S = fe.useCallback((b) => {
4395
+ }), [r, i._formValues]), C = fe.useCallback((b) => {
4396
4396
  const I = L(i._fields, r);
4397
4397
  I && b && (I._f.ref = {
4398
4398
  focus: () => b.focus && b.focus(),
@@ -4400,16 +4400,16 @@ function mu(t) {
4400
4400
  setCustomValidity: (k) => b.setCustomValidity(k),
4401
4401
  reportValidity: () => b.reportValidity()
4402
4402
  });
4403
- }, [i._fields, r]), C = fe.useMemo(() => X(T({
4403
+ }, [i._fields, r]), S = fe.useMemo(() => X(T({
4404
4404
  name: r,
4405
- value: d
4405
+ value: c
4406
4406
  }, Qe(n) || p.disabled ? { disabled: p.disabled || n } : {}), {
4407
4407
  onChange: h,
4408
4408
  onBlur: m,
4409
- ref: S
4410
- }), [r, n, p.disabled, h, m, S, d]);
4409
+ ref: C
4410
+ }), [r, n, p.disabled, h, m, C, c]);
4411
4411
  return fe.useEffect(() => {
4412
- const b = i._options.shouldUnregister || o, I = c.current;
4412
+ const b = i._options.shouldUnregister || o, I = d.current;
4413
4413
  I && I !== r && !a && i.unregister(I), i.register(r, T(T({}, f.current.rules), Qe(f.current.disabled) ? { disabled: f.current.disabled } : {}));
4414
4414
  const k = (N, R) => {
4415
4415
  const ae = L(i._fields, N);
@@ -4419,7 +4419,7 @@ function mu(t) {
4419
4419
  const N = De(L(i._options.defaultValues, r, f.current.defaultValue));
4420
4420
  Ee(i._defaultValues, r, N), Ie(L(i._formValues, r)) && Ee(i._formValues, r, N);
4421
4421
  }
4422
- return !a && i.register(r), c.current = r, () => {
4422
+ return !a && i.register(r), d.current = r, () => {
4423
4423
  (a ? b && !i._state.action : b) ? i.unregister(r) : k(r, !1);
4424
4424
  };
4425
4425
  }, [r, i, a, o]), fe.useEffect(() => {
@@ -4428,10 +4428,10 @@ function mu(t) {
4428
4428
  name: r
4429
4429
  });
4430
4430
  }, [n, r, i]), fe.useMemo(() => ({
4431
- field: C,
4431
+ field: S,
4432
4432
  formState: p,
4433
4433
  fieldState: w
4434
- }), [C, p, w]);
4434
+ }), [S, p, w]);
4435
4435
  }
4436
4436
  const tl = (t) => t.render(mu(t));
4437
4437
  var gu = (t, e, r, n, i) => e ? X(T({}, r[t]), {
@@ -4507,10 +4507,10 @@ function Xi(t, e = {}) {
4507
4507
  il(t[r]) ? (e[r] = Array.isArray(t[r]) ? [] : {}, Xi(t[r], e[r])) : qe(t[r]) || (e[r] = !0);
4508
4508
  return e;
4509
4509
  }
4510
- function gr(t, e, r) {
4510
+ function vr(t, e, r) {
4511
4511
  r || (r = Xi(e));
4512
4512
  for (const n in t)
4513
- il(t[n]) ? Ie(e) || Ji(r[n]) ? r[n] = Xi(t[n], Array.isArray(t[n]) ? [] : {}) : gr(t[n], qe(e) ? {} : e[n], r[n]) : r[n] = !Lt(t[n], e[n]);
4513
+ il(t[n]) ? Ie(e) || Ji(r[n]) ? r[n] = Xi(t[n], Array.isArray(t[n]) ? [] : {}) : vr(t[n], qe(e) ? {} : e[n], r[n]) : r[n] = !Vt(t[n], e[n]);
4514
4514
  return r;
4515
4515
  }
4516
4516
  const Rs = {
@@ -4542,7 +4542,7 @@ function Ds(t) {
4542
4542
  const e = t.ref;
4543
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
- var Cu = (t, e, r, n) => {
4545
+ var Su = (t, e, r, n) => {
4546
4546
  const i = {};
4547
4547
  for (const o of t) {
4548
4548
  const s = L(e, o);
@@ -4562,7 +4562,7 @@ var Cu = (t, e, r, n) => {
4562
4562
  isOnTouch: t === ut.onTouched
4563
4563
  });
4564
4564
  const Ms = "AsyncFunction";
4565
- var Su = (t) => !!t && !!t.validate && !!(ft(t.validate) && t.validate.constructor.name === Ms || Ne(t.validate) && Object.values(t.validate).find((e) => e.constructor.name === Ms)), 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))));
4565
+ var Cu = (t) => !!t && !!t.validate && !!(ft(t.validate) && t.validate.constructor.name === Ms || Ne(t.validate) && Object.values(t.validate).find((e) => e.constructor.name === Ms)), 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
4566
  const Br = (t, e, r, n) => {
4567
4567
  for (const o of r || Object.keys(t)) {
4568
4568
  const s = L(t, o);
@@ -4624,16 +4624,16 @@ function Ls(t, e, r = "validate") {
4624
4624
  ref: e
4625
4625
  };
4626
4626
  }
4627
- var _r = (t) => Ne(t) && !Xn(t) ? t : {
4627
+ var gr = (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: f, max: c, pattern: g, validate: w, name: h, valueAsNumber: m, mount: S } = t._f, C = L(r, h);
4632
- if (!S || e.has(h))
4631
+ const { ref: s, refs: a, required: l, maxLength: c, minLength: p, min: f, max: d, pattern: g, validate: w, name: h, valueAsNumber: m, mount: C } = t._f, S = L(r, h);
4632
+ if (!C || 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
- }, 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) => {
4636
+ }, k = {}, N = ko(s), R = Qr(s), ae = N || R, _e = (m || Ro(s)) && Ie(s.value) && Ie(S) || Jn(s) && s.value === "" || S === "" || Array.isArray(S) && !S.length, le = gu.bind(null, h, n, k), Z = (H, K, ue, ce = Et.maxLength, we = Et.minLength) => {
4637
4637
  const ve = H ? K : ue;
4638
4638
  k[h] = T({
4639
4639
  type: H ? ce : we,
@@ -4641,53 +4641,53 @@ var _r = (t) => Ne(t) && !Xn(t) ? t : {
4641
4641
  ref: s
4642
4642
  }, le(H ? ce : we, ve));
4643
4643
  };
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
- const { value: H, message: K } = et(l) ? { value: !!l, message: l } : _r(l);
4644
+ if (o ? !Array.isArray(S) || !S.length : l && (!ae && (_e || qe(S)) || Qe(S) && !S || R && !ol(a).isValid || N && !al(a).isValid)) {
4645
+ const { value: H, message: K } = et(l) ? { value: !!l, message: l } : gr(l);
4646
4646
  if (H && (k[h] = T({
4647
- type: St.required,
4647
+ type: Et.required,
4648
4648
  message: K,
4649
4649
  ref: b
4650
- }, le(St.required, K)), !n))
4650
+ }, le(Et.required, K)), !n))
4651
4651
  return I(K), k;
4652
4652
  }
4653
- if (!_e && (!qe(f) || !qe(c))) {
4653
+ if (!_e && (!qe(f) || !qe(d))) {
4654
4654
  let H, K;
4655
- const ue = _r(c), ce = _r(f);
4656
- if (!qe(C) && !isNaN(C)) {
4657
- const we = s.valueAsNumber || C && +C;
4655
+ const ue = gr(d), ce = gr(f);
4656
+ if (!qe(S) && !isNaN(S)) {
4657
+ const we = s.valueAsNumber || S && +S;
4658
4658
  qe(ue.value) || (H = we > ue.value), qe(ce.value) || (K = we < ce.value);
4659
4659
  } else {
4660
- const we = s.valueAsDate || new Date(C), ve = (U) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + U), ee = s.type == "time", z = s.type == "week";
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));
4660
+ const we = s.valueAsDate || new Date(S), ve = (U) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + U), ee = s.type == "time", z = s.type == "week";
4661
+ et(ue.value) && S && (H = ee ? ve(S) > ve(ue.value) : z ? S > ue.value : we > new Date(ue.value)), et(ce.value) && S && (K = ee ? ve(S) < ve(ce.value) : z ? S < ce.value : we < new Date(ce.value));
4662
4662
  }
4663
- if ((H || K) && (Z(!!H, ue.message, ce.message, St.max, St.min), !n))
4663
+ if ((H || K) && (Z(!!H, ue.message, ce.message, Et.max, Et.min), !n))
4664
4664
  return I(k[h].message), k;
4665
4665
  }
4666
- if ((d || p) && !_e && (et(C) || o && Array.isArray(C))) {
4667
- const H = _r(d), K = _r(p), ue = !qe(H.value) && C.length > +H.value, ce = !qe(K.value) && C.length < +K.value;
4666
+ if ((c || p) && !_e && (et(S) || o && Array.isArray(S))) {
4667
+ const H = gr(c), K = gr(p), ue = !qe(H.value) && S.length > +H.value, ce = !qe(K.value) && S.length < +K.value;
4668
4668
  if ((ue || ce) && (Z(ue, H.message, K.message), !n))
4669
4669
  return I(k[h].message), k;
4670
4670
  }
4671
- if (g && !_e && et(C)) {
4672
- const { value: H, message: K } = _r(g);
4673
- if (Xn(H) && !C.match(H) && (k[h] = T({
4674
- type: St.pattern,
4671
+ if (g && !_e && et(S)) {
4672
+ const { value: H, message: K } = gr(g);
4673
+ if (Xn(H) && !S.match(H) && (k[h] = T({
4674
+ type: Et.pattern,
4675
4675
  message: K,
4676
4676
  ref: s
4677
- }, le(St.pattern, K)), !n))
4677
+ }, le(Et.pattern, K)), !n))
4678
4678
  return I(K), k;
4679
4679
  }
4680
4680
  if (w) {
4681
4681
  if (ft(w)) {
4682
- const H = yield w(C, r), K = Ls(H, b);
4683
- if (K && (k[h] = T(T({}, K), le(St.validate, K.message)), !n))
4682
+ const H = yield w(S, r), K = Ls(H, b);
4683
+ if (K && (k[h] = T(T({}, K), le(Et.validate, K.message)), !n))
4684
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 ue = Ls(yield w[K](C, r), b, K);
4690
+ const ue = Ls(yield w[K](S, r), b, K);
4691
4691
  ue && (H = T(T({}, ue), le(K, ue.message)), I(ue.message), n && (k[h] = H));
4692
4692
  }
4693
4693
  if (!Ye(H) && (k[h] = T({
@@ -4729,7 +4729,7 @@ function ku(t = {}) {
4729
4729
  unMount: /* @__PURE__ */ new Set(),
4730
4730
  array: /* @__PURE__ */ new Set(),
4731
4731
  watch: /* @__PURE__ */ new Set()
4732
- }, l, d = 0;
4732
+ }, l, c = 0;
4733
4733
  const p = {
4734
4734
  isDirty: !1,
4735
4735
  dirtyFields: !1,
@@ -4740,26 +4740,26 @@ function ku(t = {}) {
4740
4740
  errors: !1
4741
4741
  };
4742
4742
  let f = T({}, p);
4743
- const c = {
4743
+ const d = {
4744
4744
  array: As(),
4745
4745
  state: As()
4746
4746
  }, g = e.criteriaMode === ut.all, w = (y) => (O) => {
4747
- clearTimeout(d), d = setTimeout(y, O);
4747
+ clearTimeout(c), c = setTimeout(y, O);
4748
4748
  }, h = (y) => F(null, null, function* () {
4749
4749
  if (!e.disabled && (p.isValid || f.isValid || y)) {
4750
4750
  const O = e.resolver ? Ye((yield R()).errors) : yield _e(n, !0);
4751
- O !== r.isValid && c.state.next({
4751
+ O !== r.isValid && d.state.next({
4752
4752
  isValid: O
4753
4753
  });
4754
4754
  }
4755
4755
  }), m = (y, O) => {
4756
4756
  !e.disabled && (p.isValidating || p.validatingFields || f.isValidating || f.validatingFields) && ((y || Array.from(a.mount)).forEach((A) => {
4757
4757
  A && (O ? Ee(r.validatingFields, A, O) : Re(r.validatingFields, A));
4758
- }), c.state.next({
4758
+ }), d.state.next({
4759
4759
  validatingFields: r.validatingFields,
4760
4760
  isValidating: !Ye(r.validatingFields)
4761
4761
  }));
4762
- }, S = (y, O = [], A, V, P = !0, M = !0) => {
4762
+ }, C = (y, O = [], A, V, P = !0, M = !0) => {
4763
4763
  if (V && A && !e.disabled) {
4764
4764
  if (s.action = !0, M && Array.isArray(L(n, y))) {
4765
4765
  const W = A(L(n, y), V.argA, V.argB);
@@ -4773,7 +4773,7 @@ function ku(t = {}) {
4773
4773
  const W = A(L(r.touchedFields, y), V.argA, V.argB);
4774
4774
  P && Ee(r.touchedFields, y, W);
4775
4775
  }
4776
- (p.dirtyFields || f.dirtyFields) && (r.dirtyFields = gr(i, o)), c.state.next({
4776
+ (p.dirtyFields || f.dirtyFields) && (r.dirtyFields = vr(i, o)), d.state.next({
4777
4777
  name: y,
4778
4778
  isDirty: Z(y, O),
4779
4779
  dirtyFields: r.dirtyFields,
@@ -4782,12 +4782,12 @@ function ku(t = {}) {
4782
4782
  });
4783
4783
  } else
4784
4784
  Ee(o, y, O);
4785
- }, C = (y, O) => {
4786
- Ee(r.errors, y, O), c.state.next({
4785
+ }, S = (y, O) => {
4786
+ Ee(r.errors, y, O), d.state.next({
4787
4787
  errors: r.errors
4788
4788
  });
4789
4789
  }, b = (y) => {
4790
- r.errors = y, c.state.next({
4790
+ r.errors = y, d.state.next({
4791
4791
  errors: r.errors,
4792
4792
  isValid: !1
4793
4793
  });
@@ -4805,28 +4805,28 @@ function ku(t = {}) {
4805
4805
  if (!e.disabled) {
4806
4806
  if (!A || V) {
4807
4807
  (p.isDirty || f.isDirty) && (W = r.isDirty, r.isDirty = ne.isDirty = Z(), M = W !== ne.isDirty);
4808
- const G = Lt(L(i, y), O);
4808
+ const G = Vt(L(i, y), O);
4809
4809
  W = !!L(r.dirtyFields, y), G ? Re(r.dirtyFields, y) : Ee(r.dirtyFields, y, !0), ne.dirtyFields = r.dirtyFields, M = M || (p.dirtyFields || f.dirtyFields) && W !== !G;
4810
4810
  }
4811
4811
  if (A) {
4812
4812
  const G = L(r.touchedFields, y);
4813
4813
  G || (Ee(r.touchedFields, y, A), ne.touchedFields = r.touchedFields, M = M || (p.touchedFields || f.touchedFields) && G !== A);
4814
4814
  }
4815
- M && P && c.state.next(ne);
4815
+ M && P && d.state.next(ne);
4816
4816
  }
4817
4817
  return M ? ne : {};
4818
4818
  }, N = (y, O, A, V) => {
4819
4819
  const P = L(r.errors, y), M = (p.isValid || f.isValid) && Qe(O) && r.isValid !== O;
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 ? !Lt(P, A) : P) || !Ye(V) || M) {
4820
+ if (e.delayError && A ? (l = w(() => S(y, A)), l(e.delayError)) : (clearTimeout(c), l = null, A ? Ee(r.errors, y, A) : Re(r.errors, y)), (A ? !Vt(P, A) : P) || !Ye(V) || M) {
4821
4821
  const W = X(T(T({}, V), M && Qe(O) ? { isValid: O } : {}), {
4822
4822
  errors: r.errors,
4823
4823
  name: y
4824
4824
  });
4825
- r = T(T({}, r), W), c.state.next(W);
4825
+ r = T(T({}, r), W), d.state.next(W);
4826
4826
  }
4827
4827
  }, R = (y) => F(null, null, function* () {
4828
4828
  m(y, !0);
4829
- const O = yield e.resolver(o, e.context, Cu(y || a.mount, n, e.criteriaMode, e.shouldUseNativeValidation));
4829
+ const O = yield e.resolver(o, e.context, Su(y || a.mount, n, e.criteriaMode, e.shouldUseNativeValidation));
4830
4830
  return m(y), O;
4831
4831
  }), ae = (y) => F(null, null, function* () {
4832
4832
  const { errors: O } = yield R(y);
@@ -4846,7 +4846,7 @@ function ku(t = {}) {
4846
4846
  if (G) {
4847
4847
  const W = G, { _f: ge } = W, Me = Xt(W, ["_f"]);
4848
4848
  if (ge) {
4849
- const J = a.array.has(ge.name), oe = G._f && Su(G._f);
4849
+ const J = a.array.has(ge.name), oe = G._f && Cu(G._f);
4850
4850
  oe && p.validatingFields && m([ge.name], !0);
4851
4851
  const j = yield Vs(G, a.disabled, o, g, e.shouldUseNativeValidation && !O, J);
4852
4852
  if (oe && p.validatingFields && m([ge.name]), j[ge.name] && (A.valid = !1, O))
@@ -4863,14 +4863,14 @@ function ku(t = {}) {
4863
4863
  O && (O._f.refs ? O._f.refs.every((A) => !Ui(A)) : !Ui(O._f.ref)) && Be(y);
4864
4864
  }
4865
4865
  a.unMount = /* @__PURE__ */ new Set();
4866
- }, Z = (y, O) => !e.disabled && (y && O && Ee(o, y, O), !Lt(U(), i)), H = (y, O, A) => el(y, a, T({}, s.mount ? o : Ie(O) ? i : et(y) ? { [y]: O } : O), A, O), K = (y) => Oo(L(s.mount ? o : i, y, e.shouldUnregister ? L(i, y, []) : [])), ue = (y, O, A = {}) => {
4866
+ }, Z = (y, O) => !e.disabled && (y && O && Ee(o, y, O), !Vt(U(), i)), H = (y, O, A) => el(y, a, T({}, s.mount ? o : Ie(O) ? i : et(y) ? { [y]: O } : O), A, O), K = (y) => Oo(L(s.mount ? o : i, y, e.shouldUnregister ? L(i, y, []) : [])), ue = (y, O, A = {}) => {
4867
4867
  const V = L(n, y);
4868
4868
  let P = O;
4869
4869
  if (V) {
4870
4870
  const M = V._f;
4871
4871
  M && (!M.disabled && Ee(o, y, sl(O, M)), P = Jn(M.ref) && qe(O) ? "" : O, nl(M.ref) ? [...M.ref.options].forEach((W) => W.selected = P.includes(W.value)) : M.refs ? Qr(M.ref) ? M.refs.forEach((W) => {
4872
4872
  (!W.defaultChecked || !W.disabled) && (Array.isArray(P) ? W.checked = !!P.find((ne) => ne === W.value) : W.checked = P === W.value || !!P);
4873
- }) : M.refs.forEach((W) => W.checked = W.value === P) : Ro(M.ref) ? M.ref.value = "" : (M.ref.value = P, M.ref.type || c.state.next({
4873
+ }) : M.refs.forEach((W) => W.checked = W.value === P) : Ro(M.ref) ? M.ref.value = "" : (M.ref.value = P, M.ref.type || d.state.next({
4874
4874
  name: y,
4875
4875
  values: De(o)
4876
4876
  })));
@@ -4885,14 +4885,14 @@ function ku(t = {}) {
4885
4885
  }
4886
4886
  }, we = (y, O, A = {}) => {
4887
4887
  const V = L(n, y), P = a.array.has(y), M = De(O);
4888
- Ee(o, y, M), P ? (c.array.next({
4888
+ Ee(o, y, M), P ? (d.array.next({
4889
4889
  name: y,
4890
4890
  values: De(o)
4891
- }), (p.isDirty || p.dirtyFields || f.isDirty || f.dirtyFields) && A.shouldDirty && c.state.next({
4891
+ }), (p.isDirty || p.dirtyFields || f.isDirty || f.dirtyFields) && A.shouldDirty && d.state.next({
4892
4892
  name: y,
4893
- dirtyFields: gr(i, o),
4893
+ dirtyFields: vr(i, o),
4894
4894
  isDirty: Z(y, M)
4895
- })) : V && !V._f && !qe(M) ? ce(y, M, A) : ue(y, M, A), Fs(y, a) && c.state.next(X(T({}, r), { name: y })), c.state.next({
4895
+ })) : V && !V._f && !qe(M) ? ce(y, M, A) : ue(y, M, A), Fs(y, a) && d.state.next(X(T({}, r), { name: y })), d.state.next({
4896
4896
  name: s.mount ? y : void 0,
4897
4897
  values: De(o)
4898
4898
  });
@@ -4901,20 +4901,20 @@ function ku(t = {}) {
4901
4901
  const O = y.target;
4902
4902
  let A = O.name, V = !0;
4903
4903
  const P = L(n, A), M = (G) => {
4904
- V = Number.isNaN(G) || sr(G) && isNaN(G.getTime()) || Lt(G, L(o, A, G));
4904
+ V = Number.isNaN(G) || sr(G) && isNaN(G.getTime()) || Vt(G, L(o, A, G));
4905
4905
  }, W = Ps(e.mode), ne = Ps(e.reValidateMode);
4906
4906
  if (P) {
4907
4907
  let G, ge;
4908
4908
  const Me = O.type ? Ds(P._f) : Ya(y), J = y.type === Yn.BLUR || y.type === Yn.FOCUS_OUT, oe = !Eu(P._f) && !e.resolver && !L(r.errors, A) && !P._f.deps || Iu(J, L(r.touchedFields, A), r.isSubmitted, ne, W), j = Fs(A, a, J);
4909
4909
  Ee(o, A, Me), J ? (!O || !O.readOnly) && (P._f.onBlur && P._f.onBlur(y), l && l(0)) : P._f.onChange && P._f.onChange(y);
4910
4910
  const me = k(A, Me, J), He = !Ye(me) || j;
4911
- if (!J && c.state.next({
4911
+ if (!J && d.state.next({
4912
4912
  name: A,
4913
4913
  type: y.type,
4914
4914
  values: De(o)
4915
4915
  }), oe)
4916
- return (p.isValid || f.isValid) && (e.mode === "onBlur" ? J && h() : J || h()), He && c.state.next(T({ name: A }, j ? {} : me));
4917
- if (!J && j && c.state.next(T({}, r)), e.resolver) {
4916
+ return (p.isValid || f.isValid) && (e.mode === "onBlur" ? J && h() : J || h()), He && d.state.next(T({ name: A }, j ? {} : me));
4917
+ if (!J && j && d.state.next(T({}, r)), e.resolver) {
4918
4918
  const { errors: xe } = yield R([A]);
4919
4919
  if (M(Me), V) {
4920
4920
  const he = Us(r.errors, n, A), q = Us(xe, n, he.name || A);
@@ -4937,7 +4937,7 @@ function ku(t = {}) {
4937
4937
  const G = L(n, ne);
4938
4938
  return yield _e(G && G._f ? { [ne]: G } : G);
4939
4939
  })))).every(Boolean), !(!M && !r.isValid) && h()) : M = P = yield _e(n);
4940
- return c.state.next(X(T(T({}, !et(y) || (p.isValid || f.isValid) && P !== r.isValid ? {} : { name: y }), e.resolver || !y ? { isValid: P } : {}), {
4940
+ return d.state.next(X(T(T({}, !et(y) || (p.isValid || f.isValid) && P !== r.isValid ? {} : { name: y }), e.resolver || !y ? { isValid: P } : {}), {
4941
4941
  errors: r.errors
4942
4942
  })), O.shouldFocus && !M && Br(n, ee, y ? W : a.mount), M;
4943
4943
  }), U = (y, O) => {
@@ -4950,21 +4950,21 @@ function ku(t = {}) {
4950
4950
  isValidating: !!L(r.validatingFields, y),
4951
4951
  isTouched: !!L((O || r).touchedFields, y)
4952
4952
  }), te = (y) => {
4953
- y && $r(y).forEach((O) => Re(r.errors, O)), c.state.next({
4953
+ y && $r(y).forEach((O) => Re(r.errors, O)), d.state.next({
4954
4954
  errors: y ? r.errors : {}
4955
4955
  });
4956
- }, Se = (y, O, A) => {
4956
+ }, Ce = (y, O, A) => {
4957
4957
  const V = (L(n, y, { _f: {} })._f || {}).ref, ge = L(r.errors, y) || {}, { ref: M, message: W, type: ne } = ge, G = Xt(ge, ["ref", "message", "type"]);
4958
4958
  Ee(r.errors, y, X(T(T({}, G), O), {
4959
4959
  ref: V
4960
- })), c.state.next({
4960
+ })), d.state.next({
4961
4961
  name: y,
4962
4962
  errors: r.errors,
4963
4963
  isValid: !1
4964
4964
  }), A && A.shouldFocus && V && V.focus && V.focus();
4965
- }, re = (y, O) => ft(y) ? c.state.subscribe({
4965
+ }, re = (y, O) => ft(y) ? d.state.subscribe({
4966
4966
  next: (A) => "values" in A && y(H(void 0, O), A)
4967
- }) : H(y, O, !0), $ = (y) => c.state.subscribe({
4967
+ }) : H(y, O, !0), $ = (y) => d.state.subscribe({
4968
4968
  next: (O) => {
4969
4969
  Ou(y.name, O.name, y.exact) && Tu(O, y.formState || p, Wt, y.reRenderRoot) && y.callback(X(T(T({
4970
4970
  values: T({}, o)
@@ -4977,9 +4977,9 @@ function ku(t = {}) {
4977
4977
  }))), Be = (y, O = {}) => {
4978
4978
  for (const A of y ? $r(y) : a.mount)
4979
4979
  a.mount.delete(A), a.array.delete(A), O.keepValue || (Re(n, A), Re(o, A)), !O.keepError && Re(r.errors, A), !O.keepDirty && Re(r.dirtyFields, A), !O.keepTouched && Re(r.touchedFields, A), !O.keepIsValidating && Re(r.validatingFields, A), !e.shouldUnregister && !O.keepDefaultValue && Re(i, A);
4980
- c.state.next({
4980
+ d.state.next({
4981
4981
  values: De(o)
4982
- }), c.state.next(T(T({}, r), O.keepDirty ? { isDirty: Z() } : {})), !O.keepIsValid && h();
4982
+ }), d.state.next(T(T({}, r), O.keepDirty ? { isDirty: Z() } : {})), !O.keepIsValid && h();
4983
4983
  }, je = ({ disabled: y, name: O }) => {
4984
4984
  (Qe(y) && s.mount || y || a.disabled.has(O)) && (y ? a.disabled.add(O) : a.disabled.delete(O));
4985
4985
  }, ot = (y, O = {}) => {
@@ -5024,8 +5024,8 @@ function ku(t = {}) {
5024
5024
  A = L(n, y, {}), A._f && (A._f.mount = !1), (e.shouldUnregister || O.shouldUnregister) && !(Ja(a.array, y) && s.action) && a.unMount.add(y);
5025
5025
  }
5026
5026
  });
5027
- }, Xe = () => e.shouldFocusError && Br(n, ee, a.mount), yt = (y) => {
5028
- Qe(y) && (c.state.next({ disabled: y }), Br(n, (O, A) => {
5027
+ }, Xe = () => e.shouldFocusError && Br(n, ee, a.mount), bt = (y) => {
5028
+ Qe(y) && (d.state.next({ disabled: y }), Br(n, (O, A) => {
5029
5029
  const V = L(n, A);
5030
5030
  V && (O.disabled = V._f.disabled || y, Array.isArray(V._f.refs) && V._f.refs.forEach((P) => {
5031
5031
  P.disabled = V._f.disabled || y;
@@ -5035,7 +5035,7 @@ function ku(t = {}) {
5035
5035
  let V;
5036
5036
  A && (A.preventDefault && A.preventDefault(), A.persist && A.persist());
5037
5037
  let P = De(o);
5038
- if (c.state.next({
5038
+ if (d.state.next({
5039
5039
  isSubmitting: !0
5040
5040
  }), e.resolver) {
5041
5041
  const { errors: M, values: W } = yield R();
@@ -5046,7 +5046,7 @@ function ku(t = {}) {
5046
5046
  for (const M of a.disabled)
5047
5047
  Re(P, M);
5048
5048
  if (Re(r.errors, "root"), Ye(r.errors)) {
5049
- c.state.next({
5049
+ d.state.next({
5050
5050
  errors: {}
5051
5051
  });
5052
5052
  try {
@@ -5056,7 +5056,7 @@ function ku(t = {}) {
5056
5056
  }
5057
5057
  } else
5058
5058
  O && (yield O(T({}, r.errors), A)), Xe(), setTimeout(Xe);
5059
- if (c.state.next({
5059
+ if (d.state.next({
5060
5060
  isSubmitted: !0,
5061
5061
  isSubmitting: !1,
5062
5062
  isSubmitSuccessful: Ye(r.errors) && !V,
@@ -5065,14 +5065,14 @@ function ku(t = {}) {
5065
5065
  }), V)
5066
5066
  throw V;
5067
5067
  }), Ht = (y, O = {}) => {
5068
- L(n, y) && (Ie(O.defaultValue) ? we(y, De(L(i, y))) : (we(y, O.defaultValue), Ee(i, y, De(O.defaultValue))), O.keepTouched || Re(r.touchedFields, y), O.keepDirty || (Re(r.dirtyFields, y), r.isDirty = O.defaultValue ? Z(y, De(L(i, y))) : Z()), O.keepError || (Re(r.errors, y), p.isValid && h()), c.state.next(T({}, r)));
5069
- }, bt = (y, O = {}) => {
5068
+ L(n, y) && (Ie(O.defaultValue) ? we(y, De(L(i, y))) : (we(y, O.defaultValue), Ee(i, y, De(O.defaultValue))), O.keepTouched || Re(r.touchedFields, y), O.keepDirty || (Re(r.dirtyFields, y), r.isDirty = O.defaultValue ? Z(y, De(L(i, y))) : Z()), O.keepError || (Re(r.errors, y), p.isValid && h()), d.state.next(T({}, r)));
5069
+ }, St = (y, O = {}) => {
5070
5070
  const A = y ? De(y) : i, V = De(A), P = Ye(y), M = P ? i : V;
5071
5071
  if (O.keepDefaultValues || (i = A), !O.keepValues) {
5072
5072
  if (O.keepDirtyValues) {
5073
5073
  const W = /* @__PURE__ */ new Set([
5074
5074
  ...a.mount,
5075
- ...Object.keys(gr(i, o))
5075
+ ...Object.keys(vr(i, o))
5076
5076
  ]);
5077
5077
  for (const ne of Array.from(W))
5078
5078
  L(r.dirtyFields, ne) ? Ee(M, ne, L(o, ne)) : we(ne, L(M, ne));
@@ -5097,9 +5097,9 @@ function ku(t = {}) {
5097
5097
  else
5098
5098
  n = {};
5099
5099
  }
5100
- o = e.shouldUnregister ? O.keepDefaultValues ? De(i) : {} : De(M), c.array.next({
5100
+ o = e.shouldUnregister ? O.keepDefaultValues ? De(i) : {} : De(M), d.array.next({
5101
5101
  values: T({}, M)
5102
- }), c.state.next({
5102
+ }), d.state.next({
5103
5103
  values: T({}, M)
5104
5104
  });
5105
5105
  }
@@ -5111,18 +5111,18 @@ function ku(t = {}) {
5111
5111
  watch: /* @__PURE__ */ new Set(),
5112
5112
  watchAll: !1,
5113
5113
  focus: ""
5114
- }, s.mount = !p.isValid || !!O.keepIsValid || !!O.keepDirtyValues, s.watch = !!e.shouldUnregister, c.state.next({
5114
+ }, s.mount = !p.isValid || !!O.keepIsValid || !!O.keepDirtyValues, s.watch = !!e.shouldUnregister, d.state.next({
5115
5115
  submitCount: O.keepSubmitCount ? r.submitCount : 0,
5116
- isDirty: P ? !1 : O.keepDirty ? r.isDirty : !!(O.keepDefaultValues && !Lt(y, i)),
5116
+ isDirty: P ? !1 : O.keepDirty ? r.isDirty : !!(O.keepDefaultValues && !Vt(y, i)),
5117
5117
  isSubmitted: O.keepIsSubmitted ? r.isSubmitted : !1,
5118
- dirtyFields: P ? {} : O.keepDirtyValues ? O.keepDefaultValues && o ? gr(i, o) : r.dirtyFields : O.keepDefaultValues && y ? gr(i, y) : O.keepDirty ? r.dirtyFields : {},
5118
+ dirtyFields: P ? {} : O.keepDirtyValues ? O.keepDefaultValues && o ? vr(i, o) : r.dirtyFields : O.keepDefaultValues && y ? vr(i, y) : O.keepDirty ? r.dirtyFields : {},
5119
5119
  touchedFields: O.keepTouched ? r.touchedFields : {},
5120
5120
  errors: O.keepErrors ? r.errors : {},
5121
5121
  isSubmitSuccessful: O.keepIsSubmitSuccessful ? r.isSubmitSuccessful : !1,
5122
5122
  isSubmitting: !1,
5123
5123
  defaultValues: i
5124
5124
  });
5125
- }, pt = (y, O) => bt(ft(y) ? y(o) : y, O), Ct = (y, O = {}) => {
5125
+ }, pt = (y, O) => St(ft(y) ? y(o) : y, O), Ct = (y, O = {}) => {
5126
5126
  const A = L(n, y), V = A && A._f;
5127
5127
  if (V) {
5128
5128
  const P = V.refs ? V.refs[0] : V.ref;
@@ -5136,26 +5136,26 @@ function ku(t = {}) {
5136
5136
  unregister: Be,
5137
5137
  getFieldState: Y,
5138
5138
  handleSubmit: st,
5139
- setError: Se,
5139
+ setError: Ce,
5140
5140
  _subscribe: $,
5141
5141
  _runSchema: R,
5142
5142
  _focusError: Xe,
5143
5143
  _getWatch: H,
5144
5144
  _getDirty: Z,
5145
5145
  _setValid: h,
5146
- _setFieldArray: S,
5146
+ _setFieldArray: C,
5147
5147
  _setDisabledField: je,
5148
5148
  _setErrors: b,
5149
5149
  _getFieldArray: K,
5150
- _reset: bt,
5150
+ _reset: St,
5151
5151
  _resetDefaultValues: () => ft(e.defaultValues) && e.defaultValues().then((y) => {
5152
- pt(y, e.resetOptions), c.state.next({
5152
+ pt(y, e.resetOptions), d.state.next({
5153
5153
  isLoading: !1
5154
5154
  });
5155
5155
  }),
5156
5156
  _removeUnmounted: le,
5157
- _disableForm: yt,
5158
- _subjects: c,
5157
+ _disableForm: bt,
5158
+ _subjects: d,
5159
5159
  _proxyFormState: p,
5160
5160
  get _fields() {
5161
5161
  return n;
@@ -5199,7 +5199,7 @@ function ku(t = {}) {
5199
5199
  resetField: Ht,
5200
5200
  clearErrors: te,
5201
5201
  unregister: Be,
5202
- setError: Se,
5202
+ setError: Ce,
5203
5203
  setFocus: Ct,
5204
5204
  getFieldState: Y
5205
5205
  };
@@ -5262,17 +5262,17 @@ function Nu(t = {}) {
5262
5262
  });
5263
5263
  }
5264
5264
  }, [o, n.isDirty]), fe.useEffect(() => {
5265
- t.values && !Lt(t.values, r.current) ? (o._reset(t.values, T({
5265
+ t.values && !Vt(t.values, r.current) ? (o._reset(t.values, T({
5266
5266
  keepFieldsRef: !0
5267
5267
  }, o._options.resetOptions)), r.current = t.values, i((a) => T({}, a))) : o._resetDefaultValues();
5268
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(T({}, o._formState))), o._removeUnmounted();
5270
5270
  }), e.current.formState = Qa(n, o), e.current;
5271
5271
  }
5272
- const Tr = (t, e) => {
5272
+ const Or = (t, e) => {
5273
5273
  const r = {};
5274
5274
  return t.forEach((n, i) => {
5275
- if (n.type === Os.NOT_EMPTY && (r.required = (o) => e && Sd(o) ? n.message : !0), n.type === Os.REGEX) {
5275
+ if (n.type === Os.NOT_EMPTY && (r.required = (o) => e && Cd(o) ? n.message : !0), n.type === Os.REGEX) {
5276
5276
  const o = new RegExp(n.regex);
5277
5277
  r[`regex_${i}`] = (s) => !e && !s ? !0 : typeof s != "string" ? n.message : o.test(s) || n.message;
5278
5278
  }
@@ -5308,12 +5308,12 @@ const Tr = (t, e) => {
5308
5308
  {
5309
5309
  style: {
5310
5310
  padding: "5px 8px",
5311
- background: ((l, d) => {
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";
5311
+ background: ((l, c) => {
5312
+ var p, f, d, g;
5313
+ if (!l && !c) return (p = de(e.layout.backgroundColor)) != null ? p : "transparent";
5314
+ if (!l && c) return (f = de(e.layoutSelected.backgroundColor)) != null ? f : "transparent";
5315
+ if (l && !c) return (d = de(e.layout.highlightColor)) != null ? d : "#F4F4F4";
5316
+ if (l && c) return (g = de(e.layoutSelected.highlightColor)) != null ? g : "#F4F4F4";
5317
5317
  })(n, t),
5318
5318
  fontSize: 13,
5319
5319
  display: "flex",
@@ -5353,29 +5353,29 @@ const Tr = (t, e) => {
5353
5353
  placeholder: s,
5354
5354
  closeMenuOnSelect: a = !0,
5355
5355
  onBlur: l,
5356
- parentElementRef: d,
5356
+ parentElementRef: c,
5357
5357
  controlLayout: p,
5358
5358
  pickerLayout: f
5359
5359
  }) => {
5360
5360
  var H, K, ue, ce, we, ve, ee, z;
5361
- const [c, g] = Pe(!1), [w, h] = Pe(i), [m, S] = Pe("down"), [C, b] = Pe(null), I = it(null), k = it(null);
5361
+ const [d, g] = Pe(!1), [w, h] = Pe(i), [m, C] = Pe("down"), [S, b] = Pe(null), I = it(null), k = it(null);
5362
5362
  Zt(() => {
5363
5363
  var re, $, Q;
5364
- if (!c) return;
5365
- const U = (re = I.current) == null ? void 0 : re.getBoundingClientRect(), Y = ($ = k.current) == null ? void 0 : $.getBoundingClientRect(), te = (Q = d.current) == null ? void 0 : Q.getBoundingClientRect();
5364
+ if (!d) return;
5365
+ const U = (re = I.current) == null ? void 0 : re.getBoundingClientRect(), Y = ($ = k.current) == null ? void 0 : $.getBoundingClientRect(), te = (Q = c.current) == null ? void 0 : Q.getBoundingClientRect();
5366
5366
  if (!U || !Y || !te) return;
5367
- const Se = U.bottom + Y.height < te.bottom;
5368
- S(Se ? "down" : "up");
5369
- }, [c]), nt(() => {
5367
+ const Ce = U.bottom + Y.height < te.bottom;
5368
+ C(Ce ? "down" : "up");
5369
+ }, [d]), nt(() => {
5370
5370
  o(w);
5371
5371
  }, [w]);
5372
5372
  const N = (U) => (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), h((Se) => r ? Se.some(($) => $.value === U.value) ? Se.filter(($) => $.value !== U.value) : [...Se, U] : [U]);
5374
+ Y.stopPropagation(), (Y.type === "touchend" || ((te = Y.nativeEvent) == null ? void 0 : te.pointerType) === "touch") && b(null), a && g(!1), h((Ce) => r ? Ce.some(($) => $.value === U.value) ? Ce.filter(($) => $.value !== U.value) : [...Ce, U] : [U]);
5375
5375
  }, R = () => {
5376
5376
  l && l(), g(!1);
5377
5377
  }, ae = (U) => (Y) => {
5378
- Y.stopPropagation(), h((te) => te.filter((Se) => Se.value !== U.value));
5378
+ Y.stopPropagation(), h((te) => te.filter((Ce) => Ce.value !== U.value));
5379
5379
  }, _e = (U) => {
5380
5380
  U.stopPropagation(), h([]);
5381
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";
@@ -5386,7 +5386,7 @@ const Tr = (t, e) => {
5386
5386
  style: {
5387
5387
  backgroundColor: de(p == null ? void 0 : p.backgroundColor),
5388
5388
  borderStyle: "solid",
5389
- borderColor: c ? Z : le,
5389
+ borderColor: d ? Z : le,
5390
5390
  borderWidth: (ue = p == null ? void 0 : p.borderWidth) != null ? ue : 1,
5391
5391
  borderRadius: (ce = p == null ? void 0 : p.cornerRadius) != null ? ce : 8,
5392
5392
  minHeight: "41px",
@@ -5400,7 +5400,7 @@ const Tr = (t, e) => {
5400
5400
  },
5401
5401
  tabIndex: 0,
5402
5402
  onBlur: R,
5403
- onClick: () => g(!c),
5403
+ onClick: () => g(!d),
5404
5404
  children: [
5405
5405
  /* @__PURE__ */ u(
5406
5406
  "div",
@@ -5426,7 +5426,7 @@ const Tr = (t, e) => {
5426
5426
  }
5427
5427
  ),
5428
5428
  w.map((U) => {
5429
- var Y, te, Se, re, $;
5429
+ var Y, te, Ce, re, $;
5430
5430
  if (r) {
5431
5431
  const Q = p == null ? void 0 : p.chip;
5432
5432
  return /* @__PURE__ */ u(
@@ -5445,7 +5445,7 @@ const Tr = (t, e) => {
5445
5445
  /* @__PURE__ */ u(
5446
5446
  Oe,
5447
5447
  X(T({}, Q == null ? void 0 : Q.title), {
5448
- fontSize: (re = (Se = Q == null ? void 0 : Q.title) == null ? void 0 : Se.fontSize) != null ? re : 13,
5448
+ fontSize: (re = (Ce = Q == null ? void 0 : Q.title) == null ? void 0 : Ce.fontSize) != null ? re : 13,
5449
5449
  text: U.label
5450
5450
  })
5451
5451
  ),
@@ -5510,8 +5510,8 @@ const Tr = (t, e) => {
5510
5510
  }
5511
5511
  }
5512
5512
  ) : null,
5513
- /* @__PURE__ */ u(Du, { isOpen: c, image: p == null ? void 0 : p.expandButton }),
5514
- c && /* @__PURE__ */ u(
5513
+ /* @__PURE__ */ u(Du, { isOpen: d, image: p == null ? void 0 : p.expandButton }),
5514
+ d && /* @__PURE__ */ u(
5515
5515
  "div",
5516
5516
  {
5517
5517
  "data-ui": "gui-custom-select-dropdown-menu",
@@ -5546,7 +5546,7 @@ const Tr = (t, e) => {
5546
5546
  isChosen: Y,
5547
5547
  option: U,
5548
5548
  onOptionClickCallback: N,
5549
- isHovered: C === U.value,
5549
+ isHovered: S === U.value,
5550
5550
  onHover: () => b(U.value),
5551
5551
  onHoverEnd: () => b(null)
5552
5552
  },
@@ -5588,7 +5588,7 @@ const Tr = (t, e) => {
5588
5588
  control: t,
5589
5589
  rules: {
5590
5590
  required: !!r.required,
5591
- validate: Tr(r.validators, !!r.required)
5591
+ validate: Or(r.validators, !!r.required)
5592
5592
  },
5593
5593
  render: ({ field: s }) => {
5594
5594
  const a = i.find((l) => l.value === s.value);
@@ -5601,8 +5601,8 @@ const Tr = (t, e) => {
5601
5601
  name: s.name,
5602
5602
  value: a ? [a] : [],
5603
5603
  onChange: (l) => {
5604
- const d = l && Array.isArray(l) && l.length ? l[0].value : null;
5605
- s.onChange(d);
5604
+ const c = l && Array.isArray(l) && l.length ? l[0].value : null;
5605
+ s.onChange(c);
5606
5606
  },
5607
5607
  parentElementRef: n,
5608
5608
  isMulti: !1,
@@ -5647,12 +5647,12 @@ const Tr = (t, e) => {
5647
5647
  control: t,
5648
5648
  rules: {
5649
5649
  required: !!r.required,
5650
- validate: Tr(r.validators, !!r.required)
5650
+ validate: Or(r.validators, !!r.required)
5651
5651
  },
5652
5652
  render: ({ field: s }) => {
5653
5653
  const a = i.filter((l) => {
5654
- var d;
5655
- return (d = s.value) == null ? void 0 : d.includes(l.value);
5654
+ var c;
5655
+ return (c = s.value) == null ? void 0 : c.includes(l.value);
5656
5656
  });
5657
5657
  return /* @__PURE__ */ u(
5658
5658
  ll,
@@ -5663,8 +5663,8 @@ const Tr = (t, e) => {
5663
5663
  closeMenuOnSelect: !1,
5664
5664
  value: a,
5665
5665
  onChange: (l) => {
5666
- const d = l.map((p) => p.value);
5667
- s.onChange(d);
5666
+ const c = l.map((p) => p.value);
5667
+ s.onChange(c);
5668
5668
  },
5669
5669
  parentElementRef: n,
5670
5670
  isMulti: !0,
@@ -5694,9 +5694,9 @@ const Tr = (t, e) => {
5694
5694
  register: n,
5695
5695
  watch: i
5696
5696
  }) => {
5697
- const [o, s] = Pe(!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
- borderRadius: c.cornerRadius
5697
+ const [o, s] = Pe(!1), a = cl(), l = String(r.id), p = i(l) === String(t.id), f = e.option, d = e.optionSelected, g = {
5698
+ backgroundColor: de(d.backgroundColor),
5699
+ borderRadius: d.cornerRadius
5700
5700
  }, w = {
5701
5701
  backgroundColor: de(f.backgroundColor),
5702
5702
  borderRadius: f.cornerRadius
@@ -5720,10 +5720,10 @@ const Tr = (t, e) => {
5720
5720
  alignItems: "center",
5721
5721
  alignContent: "center"
5722
5722
  }, h),
5723
- children: /* @__PURE__ */ u($e, T({}, p ? c.image : f.image))
5723
+ children: /* @__PURE__ */ u($e, T({}, p ? d.image : f.image))
5724
5724
  }
5725
5725
  ),
5726
- /* @__PURE__ */ u(Oe, X(T({}, p ? c.title : f.title), { text: t.text })),
5726
+ /* @__PURE__ */ u(Oe, X(T({}, p ? d.title : f.title), { text: t.text })),
5727
5727
  /* @__PURE__ */ u(
5728
5728
  "input",
5729
5729
  X(T({
@@ -5736,7 +5736,7 @@ const Tr = (t, e) => {
5736
5736
  }
5737
5737
  }, n(l, {
5738
5738
  required: !!r.required,
5739
- validate: Tr(
5739
+ validate: Or(
5740
5740
  r.validators,
5741
5741
  !!r.required
5742
5742
  )
@@ -5798,16 +5798,16 @@ const Tr = (t, e) => {
5798
5798
  register: n,
5799
5799
  watch: i
5800
5800
  }) => {
5801
- const [o, s] = Pe(!1), a = cl(), l = String(r.id), p = i(l) === String(t.id), f = e.option, c = e.optionSelected, g = {
5801
+ const [o, s] = Pe(!1), a = cl(), l = String(r.id), p = i(l) === String(t.id), f = e.option, d = e.optionSelected, g = {
5802
5802
  borderRadius: f.cornerRadius,
5803
5803
  background: de(f.backgroundColor),
5804
5804
  borderColor: de(f.borderColor),
5805
5805
  borderWidth: f.borderWidth
5806
5806
  }, w = {
5807
- borderRadius: c.cornerRadius,
5808
- background: de(c.backgroundColor),
5809
- borderColor: de(c.borderColor),
5810
- borderWidth: c.borderWidth
5807
+ borderRadius: d.cornerRadius,
5808
+ background: de(d.backgroundColor),
5809
+ borderColor: de(d.borderColor),
5810
+ borderWidth: d.borderWidth
5811
5811
  }, h = o && a ? { outline: `2px solid ${Xr}` } : {};
5812
5812
  return /* @__PURE__ */ u(
5813
5813
  "div",
@@ -5839,7 +5839,7 @@ const Tr = (t, e) => {
5839
5839
  }
5840
5840
  }, n(l, {
5841
5841
  required: !!r.required,
5842
- validate: Tr(
5842
+ validate: Or(
5843
5843
  r.validators,
5844
5844
  !!r.required
5845
5845
  )
@@ -5850,7 +5850,7 @@ const Tr = (t, e) => {
5850
5850
  onBlur: () => s(!1)
5851
5851
  })
5852
5852
  ),
5853
- /* @__PURE__ */ u(Oe, X(T({}, p ? c.title : f.title), { text: t.text }))
5853
+ /* @__PURE__ */ u(Oe, X(T({}, p ? d.title : f.title), { text: t.text }))
5854
5854
  ]
5855
5855
  }
5856
5856
  )
@@ -5939,7 +5939,7 @@ const Tr = (t, e) => {
5939
5939
  dataSourceQuestion: e,
5940
5940
  register: r
5941
5941
  }) => {
5942
- var o, s, a, l, d, p, f, c, g, w, h, m, S, C, b, I;
5942
+ var o, s, a, l, c, p, f, d, g, w, h, m, C, S, b, I;
5943
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",
@@ -5955,22 +5955,22 @@ const Tr = (t, e) => {
5955
5955
  "input",
5956
5956
  X(T({}, r(n, {
5957
5957
  required: !!e.required,
5958
- validate: Tr(e.validators, !!e.required)
5958
+ validate: Or(e.validators, !!e.required)
5959
5959
  })), {
5960
5960
  id: n,
5961
5961
  type: i((o = t.textField) == null ? void 0 : o.inputType),
5962
5962
  style: {
5963
5963
  fontFamily: (a = (s = t == null ? void 0 : t.textField) == null ? void 0 : s.fontName) != null ? a : "sans-serif",
5964
- fontSize: (d = (l = t == null ? void 0 : t.textField) == null ? void 0 : l.fontSize) != null ? d : 15,
5964
+ fontSize: (c = (l = t == null ? void 0 : t.textField) == null ? void 0 : l.fontSize) != null ? c : 15,
5965
5965
  color: (f = de((p = t == null ? void 0 : t.textField) == null ? void 0 : p.fontColor)) != null ? f : "#000000",
5966
5966
  height: "42px",
5967
- borderWidth: (g = (c = t == null ? void 0 : t.textField) == null ? void 0 : c.borderWidth) != null ? g : 1,
5967
+ borderWidth: (g = (d = t == null ? void 0 : t.textField) == null ? void 0 : d.borderWidth) != null ? g : 1,
5968
5968
  borderColor: (h = de((w = t == null ? void 0 : t.textField) == null ? void 0 : w.borderColor)) != null ? h : "#d9d9d9",
5969
5969
  borderStyle: "solid",
5970
- borderRadius: (S = (m = t == null ? void 0 : t.textField) == null ? void 0 : m.cornerRadius) != null ? S : 8,
5970
+ borderRadius: (C = (m = t == null ? void 0 : t.textField) == null ? void 0 : m.cornerRadius) != null ? C : 8,
5971
5971
  padding: "11px",
5972
5972
  boxSizing: "border-box",
5973
- backgroundColor: (b = de((C = t == null ? void 0 : t.textField) == null ? void 0 : C.backgroundColor)) != null ? b : "#FFFFFF",
5973
+ backgroundColor: (b = de((S = t == null ? void 0 : t.textField) == null ? void 0 : S.backgroundColor)) != null ? b : "#FFFFFF",
5974
5974
  outlineColor: Xr
5975
5975
  },
5976
5976
  placeholder: (I = e.placeholder) != null ? I : "",
@@ -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, f, c, g, w, h, m;
5988
+ var i, o, s, a, l, c, p, f, d, g, w, h, m;
5989
5989
  const n = String(e.id);
5990
5990
  return /* @__PURE__ */ u(
5991
5991
  "div",
@@ -6001,12 +6001,12 @@ const Tr = (t, e) => {
6001
6001
  "textarea",
6002
6002
  X(T({}, r(n, {
6003
6003
  required: !!e.required,
6004
- validate: Tr(e.validators, !!e.required)
6004
+ validate: Or(e.validators, !!e.required)
6005
6005
  })), {
6006
6006
  id: n,
6007
6007
  placeholder: (i = e.placeholder) != null ? i : "",
6008
- onInput: (S) => {
6009
- S.currentTarget.style.height = "auto", S.currentTarget.style.height = `${S.currentTarget.scrollHeight - 15}px`;
6008
+ onInput: (C) => {
6009
+ C.currentTarget.style.height = "auto", C.currentTarget.style.height = `${C.currentTarget.scrollHeight - 15}px`;
6010
6010
  },
6011
6011
  "data-id": n,
6012
6012
  style: {
@@ -6017,8 +6017,8 @@ const Tr = (t, e) => {
6017
6017
  overflow: "hidden",
6018
6018
  height: "42px",
6019
6019
  minHeight: "42px",
6020
- borderWidth: (p = (d = t == null ? void 0 : t.textField) == null ? void 0 : d.borderWidth) != null ? p : 1,
6021
- borderColor: (c = de((f = t == null ? void 0 : t.textField) == null ? void 0 : f.borderColor)) != null ? c : "#d9d9d9",
6020
+ borderWidth: (p = (c = t == null ? void 0 : t.textField) == null ? void 0 : c.borderWidth) != null ? p : 1,
6021
+ borderColor: (d = de((f = t == null ? void 0 : t.textField) == null ? void 0 : f.borderColor)) != null ? d : "#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",
@@ -6031,37 +6031,37 @@ const Tr = (t, e) => {
6031
6031
  ]
6032
6032
  }
6033
6033
  );
6034
- }, Ut = class Ut extends Ce {
6034
+ }, Lt = class Lt extends Se {
6035
6035
  constructor({
6036
6036
  errorCode: e,
6037
6037
  message: r,
6038
6038
  underlyingError: n,
6039
6039
  underlyingBaseError: i
6040
6040
  }) {
6041
- const o = Ce.getErrorKey(e, qn);
6041
+ const o = Se.getErrorKey(e, qn);
6042
6042
  super({
6043
6043
  errorCode: e,
6044
6044
  errorCodeKey: o,
6045
- errorEnumName: Ut.ERROR_ENUM_NAME,
6046
- module: Ut.MODULE,
6045
+ errorEnumName: Lt.ERROR_ENUM_NAME,
6046
+ module: Lt.MODULE,
6047
6047
  message: r,
6048
6048
  underlyingError: n,
6049
6049
  underlyingBaseError: i,
6050
- domain: Ut.ERROR_ENUM_NAME,
6051
- shortDomainCode: Ut.SHORT_CODE
6050
+ domain: Lt.ERROR_ENUM_NAME,
6051
+ shortDomainCode: Lt.SHORT_CODE
6052
6052
  });
6053
6053
  }
6054
6054
  };
6055
- Ut.MODULE = Gn, Ut.ERROR_ENUM_NAME = "GuiModuleError", Ut.SHORT_CODE = "GM";
6056
- let Kr = Ut;
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) : {}, f = it(null), {
6059
- register: c,
6058
+ const l = Ka(r), { perform: c } = fr(), p = s ? Ed(o.questions, s) : {}, f = it(null), {
6059
+ register: d,
6060
6060
  handleSubmit: g,
6061
6061
  formState: { errors: w },
6062
6062
  reset: h,
6063
6063
  watch: m,
6064
- control: S
6064
+ control: C
6065
6065
  } = Nu({
6066
6066
  criteriaMode: "all",
6067
6067
  defaultValues: p
@@ -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), h();
6073
+ c(Sd(b), l), h();
6074
6074
  }),
6075
6075
  style: {
6076
6076
  height: "100%",
@@ -6120,7 +6120,7 @@ const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6120
6120
  errorCode: qn.DECODING_FAILED,
6121
6121
  message: "The question template has not been found"
6122
6122
  });
6123
- d(Z);
6123
+ c(Z);
6124
6124
  return;
6125
6125
  }
6126
6126
  const ae = R == null ? void 0 : R.displayType, _e = b.id in w && ((le = w[b.id]) == null ? void 0 : le.types);
@@ -6137,53 +6137,53 @@ 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
- ae === pr.TEXT_EXPANDABLE && /* @__PURE__ */ u(
6140
+ ae === mr.TEXT_EXPANDABLE && /* @__PURE__ */ u(
6141
6141
  ju,
6142
6142
  {
6143
6143
  layout: R,
6144
6144
  dataSourceQuestion: b,
6145
- register: c
6145
+ register: d
6146
6146
  }
6147
6147
  ),
6148
- ae === pr.TEXT_SINGLE_LINE && /* @__PURE__ */ u(
6148
+ ae === mr.TEXT_SINGLE_LINE && /* @__PURE__ */ u(
6149
6149
  Wu,
6150
6150
  {
6151
6151
  layout: R,
6152
6152
  dataSourceQuestion: b,
6153
- register: c
6153
+ register: d
6154
6154
  }
6155
6155
  ),
6156
- ae === pr.SELECTOR_OPTIONS && /* @__PURE__ */ u(
6156
+ ae === mr.SELECTOR_OPTIONS && /* @__PURE__ */ u(
6157
6157
  Lu,
6158
6158
  {
6159
6159
  layout: R,
6160
6160
  dataSourceQuestion: b,
6161
6161
  watch: m,
6162
- register: c
6162
+ register: d
6163
6163
  }
6164
6164
  ),
6165
- ae === pr.SELECTOR_BUTTONS && /* @__PURE__ */ u(
6165
+ ae === mr.SELECTOR_BUTTONS && /* @__PURE__ */ u(
6166
6166
  $u,
6167
6167
  {
6168
6168
  layout: R,
6169
6169
  dataSourceQuestion: b,
6170
6170
  watch: m,
6171
- register: c
6171
+ register: d
6172
6172
  }
6173
6173
  ),
6174
- ae === pr.SELECTOR_DROPDOWN && /* @__PURE__ */ u(
6174
+ ae === mr.SELECTOR_DROPDOWN && /* @__PURE__ */ u(
6175
6175
  Mu,
6176
6176
  {
6177
- control: S,
6177
+ control: C,
6178
6178
  layout: R,
6179
6179
  dataSourceQuestion: b,
6180
6180
  parentElementRef: f
6181
6181
  }
6182
6182
  ),
6183
- ae === pr.MULTI_SELECTOR_DROPDOWN && /* @__PURE__ */ u(
6183
+ ae === mr.MULTI_SELECTOR_DROPDOWN && /* @__PURE__ */ u(
6184
6184
  Fu,
6185
6185
  {
6186
- control: S,
6186
+ control: C,
6187
6187
  layout: R,
6188
6188
  dataSourceQuestion: b,
6189
6189
  parentElementRef: f
@@ -6260,26 +6260,26 @@ const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6260
6260
  selectionLimit: i
6261
6261
  }) => {
6262
6262
  var p, f;
6263
- const { perform: o } = ur(), s = it(null), a = typeof i == "number" && (i === 0 || i > 1), l = (c) => F(null, null, function* () {
6263
+ const { perform: o } = fr(), s = it(null), a = typeof i == "number" && (i === 0 || i > 1), l = (d) => F(null, null, function* () {
6264
6264
  var w;
6265
- const g = Array.from((w = c.currentTarget.files) != null ? w : []);
6265
+ const g = Array.from((w = d.currentTarget.files) != null ? w : []);
6266
6266
  if (g.length)
6267
6267
  try {
6268
6268
  const m = (yield Promise.allSettled(
6269
- g.map((S) => F(null, null, function* () {
6269
+ g.map((C) => F(null, null, function* () {
6270
6270
  return {
6271
- content: yield za(S),
6271
+ content: yield za(C),
6272
6272
  metadata: {
6273
- name: S.name,
6274
- type: S.type,
6275
- size: S.size,
6276
- lastModified: S.lastModified
6273
+ name: C.name,
6274
+ type: C.type,
6275
+ size: C.size,
6276
+ lastModified: C.lastModified
6277
6277
  }
6278
6278
  };
6279
6279
  }))
6280
6280
  )).filter(
6281
- (S) => S.status === "fulfilled"
6282
- ).map((S) => S.value);
6281
+ (C) => C.status === "fulfilled"
6282
+ ).map((C) => C.value);
6283
6283
  o({
6284
6284
  cancel: !1,
6285
6285
  permissionDenied: !1,
@@ -6288,9 +6288,9 @@ const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6288
6288
  } catch (h) {
6289
6289
  console.error("Error: ", h);
6290
6290
  }
6291
- }), d = () => {
6292
- var c;
6293
- (c = s.current) == null || c.showPicker();
6291
+ }), c = () => {
6292
+ var d;
6293
+ (d = s.current) == null || d.showPicker();
6294
6294
  };
6295
6295
  return /* @__PURE__ */ u(Yt, { header: t, footer: e, backgroundColor: n, children: /* @__PURE__ */ u(We, { children: /* @__PURE__ */ u(
6296
6296
  "div",
@@ -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: (f = (p = r == null ? void 0 : r[0]) == null ? void 0 : p.image) == null ? void 0 : f.imageId }) })
6313
+ /* @__PURE__ */ u("button", { style: Gu, onClick: c, 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
  ) }) });
@@ -6343,26 +6343,26 @@ const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6343
6343
  selectionLimit: i
6344
6344
  }) => {
6345
6345
  var p, f;
6346
- const { perform: o } = ur(), s = it(null), a = typeof i == "number" && (i === 0 || i > 1), l = (c) => F(null, null, function* () {
6346
+ const { perform: o } = fr(), s = it(null), a = typeof i == "number" && (i === 0 || i > 1), l = (d) => F(null, null, function* () {
6347
6347
  var w;
6348
- const g = Array.from((w = c.currentTarget.files) != null ? w : []);
6348
+ const g = Array.from((w = d.currentTarget.files) != null ? w : []);
6349
6349
  if (g.length)
6350
6350
  try {
6351
6351
  const m = (yield Promise.allSettled(
6352
- g.map((S) => F(null, null, function* () {
6352
+ g.map((C) => F(null, null, function* () {
6353
6353
  return {
6354
- content: yield za(S),
6354
+ content: yield za(C),
6355
6355
  metadata: {
6356
- name: S.name,
6357
- type: S.type,
6358
- size: S.size,
6359
- lastModified: S.lastModified
6356
+ name: C.name,
6357
+ type: C.type,
6358
+ size: C.size,
6359
+ lastModified: C.lastModified
6360
6360
  }
6361
6361
  };
6362
6362
  }))
6363
6363
  )).filter(
6364
- (S) => S.status === "fulfilled"
6365
- ).map((S) => S.value);
6364
+ (C) => C.status === "fulfilled"
6365
+ ).map((C) => C.value);
6366
6366
  o({
6367
6367
  cancel: !1,
6368
6368
  permissionDenied: !1,
@@ -6371,15 +6371,15 @@ const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
6371
6371
  } catch (h) {
6372
6372
  console.error("Error: ", h);
6373
6373
  }
6374
- }), d = () => F(null, null, function* () {
6375
- var c;
6376
- (c = s.current) == null || c.showPicker();
6374
+ }), c = () => F(null, null, function* () {
6375
+ var d;
6376
+ (d = s.current) == null || d.showPicker();
6377
6377
  });
6378
6378
  return nt(() => {
6379
6379
  F(null, null, function* () {
6380
6380
  if (Je.isDesktop) return;
6381
- const c = yield Td();
6382
- (c === "denied" || c === "error") && o({
6381
+ const d = yield Td();
6382
+ (d === "denied" || d === "error") && o({
6383
6383
  cancel: !1,
6384
6384
  permissionDenied: !0,
6385
6385
  files: []
@@ -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: (f = (p = n == null ? void 0 : n[0]) == null ? void 0 : p.image) == null ? void 0 : f.imageId }) })
6407
+ /* @__PURE__ */ u("button", { style: Ju, onClick: c, 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
  ) }) });
@@ -6551,11 +6551,11 @@ const Li = () => F(null, null, function* () {
6551
6551
  popups: a,
6552
6552
  askEveryTime: l
6553
6553
  }) => {
6554
- const d = Ka(o), { perform: p } = ur(), { setIsProcessingCallback: f } = yd(), { ref: c, isPopoverOpen: g, openPopover: w, closePopover: h } = e1(), m = {
6554
+ const c = Ka(o), { perform: p } = fr(), { setIsProcessingCallback: f } = yd(), { ref: d, isPopoverOpen: g, openPopover: w, closePopover: h } = e1(), m = {
6555
6555
  enableHighAccuracy: !0,
6556
6556
  timeout: 15e3,
6557
6557
  maximumAge: 6e4
6558
- }, S = a == null ? void 0 : a.find((k) => k.reason === "system_restricted");
6558
+ }, C = a == null ? void 0 : a.find((k) => k.reason === "system_restricted");
6559
6559
  Zt(() => {
6560
6560
  Je.isSafari || l || f == null || f(!0);
6561
6561
  }, []), nt(() => {
@@ -6567,7 +6567,7 @@ const Li = () => F(null, null, function* () {
6567
6567
  return;
6568
6568
  }
6569
6569
  const R = yield Rr(m);
6570
- k && p(R, d);
6570
+ k && p(R, c);
6571
6571
  }), () => {
6572
6572
  Je.isSafari || l || (k = !1);
6573
6573
  };
@@ -6586,19 +6586,19 @@ const Li = () => F(null, null, function* () {
6586
6586
  error: "Application location services restricted or unavailable"
6587
6587
  }
6588
6588
  },
6589
- d
6589
+ c
6590
6590
  )), R.state === "granted") {
6591
6591
  f == null || f(!0);
6592
6592
  const ae = yield Rr(m);
6593
6593
  if (!k) return;
6594
- p(ae, d);
6594
+ p(ae, c);
6595
6595
  }
6596
6596
  }));
6597
6597
  }), () => {
6598
6598
  Je.isSafari || (k = !1, N && (N.onchange = null));
6599
6599
  };
6600
6600
  }, []);
6601
- const C = (k) => F(null, null, function* () {
6601
+ const S = (k) => F(null, null, function* () {
6602
6602
  k.preventDefault();
6603
6603
  const N = yield Li();
6604
6604
  if (N === "denied") {
@@ -6607,7 +6607,7 @@ const Li = () => F(null, null, function* () {
6607
6607
  }
6608
6608
  if (N === "prompt" && (yield Rr()), N === "granted") {
6609
6609
  const R = yield Rr(m);
6610
- p(R, d);
6610
+ p(R, c);
6611
6611
  }
6612
6612
  }), b = (k) => F(null, null, function* () {
6613
6613
  if (k.preventDefault(), (yield Li()) === "denied") {
@@ -6616,7 +6616,7 @@ const Li = () => F(null, null, function* () {
6616
6616
  }
6617
6617
  f == null || f(!0);
6618
6618
  const R = yield Rr(m);
6619
- p(R, d);
6619
+ p(R, c);
6620
6620
  }), I = (k) => {
6621
6621
  k.preventDefault(), h();
6622
6622
  };
@@ -6639,31 +6639,31 @@ const Li = () => F(null, null, function* () {
6639
6639
  T(T({
6640
6640
  dataTestId: "question-button"
6641
6641
  }, k), k.type === "FORM" ? {
6642
- onClick: Je.isSafari ? b : C
6642
+ onClick: Je.isSafari ? b : S
6643
6643
  } : {})
6644
6644
  ) }, N))
6645
6645
  }
6646
6646
  )
6647
6647
  ] }),
6648
- S && /* @__PURE__ */ u(
6648
+ C && /* @__PURE__ */ u(
6649
6649
  "div",
6650
6650
  {
6651
- ref: c,
6651
+ ref: d,
6652
6652
  popover: "manual",
6653
6653
  role: "dialog",
6654
6654
  "aria-modal": "true",
6655
6655
  style: X(T({}, l1), {
6656
- borderRadius: S.cornerRadius || "27px",
6657
- backgroundColor: S.backgroundColor || "#ffffff"
6656
+ borderRadius: C.cornerRadius || "27px",
6657
+ backgroundColor: C.backgroundColor || "#ffffff"
6658
6658
  }),
6659
6659
  children: [
6660
- /* @__PURE__ */ u("div", { style: c1, children: /* @__PURE__ */ u(Oe, T({}, T({ fontSize: "24px" }, S.title))) }),
6661
- /* @__PURE__ */ u("div", { style: d1, children: /* @__PURE__ */ u("div", { style: u1, children: /* @__PURE__ */ u(Oe, T({}, T({ fontSize: "17px" }, S.message))) }) }),
6662
- S.actionButton1 && /* @__PURE__ */ u("div", { style: f1, children: /* @__PURE__ */ u(
6660
+ /* @__PURE__ */ u("div", { style: c1, children: /* @__PURE__ */ u(Oe, T({}, T({ fontSize: "24px" }, C.title))) }),
6661
+ /* @__PURE__ */ u("div", { style: d1, children: /* @__PURE__ */ u("div", { style: u1, children: /* @__PURE__ */ u(Oe, T({}, T({ fontSize: "17px" }, C.message))) }) }),
6662
+ C.actionButton1 && /* @__PURE__ */ u("div", { style: f1, children: /* @__PURE__ */ u(
6663
6663
  Zn,
6664
6664
  T(T({
6665
6665
  dataTestId: "question-button"
6666
- }, S.actionButton1), S.actionButton1.type === "FORM" ? { onClick: I } : {})
6666
+ }, C.actionButton1), C.actionButton1.type === "FORM" ? { onClick: I } : {})
6667
6667
  ) })
6668
6668
  ]
6669
6669
  }
@@ -6679,7 +6679,7 @@ const Li = () => F(null, null, function* () {
6679
6679
  )
6680
6680
  ] });
6681
6681
  }, $s = (t) => {
6682
- const { templateId: e, templateLayout: r, dataSource: n, properties: i } = t, { perform: o } = ur();
6682
+ const { templateId: e, templateLayout: r, dataSource: n, properties: i } = t, { perform: o } = fr();
6683
6683
  if (!e || !r) return /* @__PURE__ */ u(xs, {});
6684
6684
  const s = i != null && i.length ? JSON.stringify(i) : "default-key";
6685
6685
  if (e === ct.STATUS)
@@ -6797,8 +6797,8 @@ const Li = () => F(null, null, function* () {
6797
6797
  };
6798
6798
  let Vi = !1;
6799
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 }) => {
6800
- const { templateId: n, templateLayout: i, dataSource: o, properties: s } = e, a = (l, d) => {
6801
- r && r(l, d);
6800
+ const { templateId: n, templateLayout: i, dataSource: o, properties: s } = e, a = (l, c) => {
6801
+ r && r(l, c);
6802
6802
  };
6803
6803
  return n === ct.QUESTIONS ? /* @__PURE__ */ u(Ts, { perform: a, children: /* @__PURE__ */ u(Bs, { children: /* @__PURE__ */ u(
6804
6804
  $s,
@@ -6946,36 +6946,36 @@ const _1 = (t, e) => ({
6946
6946
  _continueSession: (n, i) => F(null, null, function* () {
6947
6947
  var g;
6948
6948
  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;
6949
- let d;
6949
+ let c;
6950
6950
  if (i)
6951
- d = i;
6951
+ c = i;
6952
6952
  else if (s) {
6953
6953
  if (!e().sessionRestoreMode) return {};
6954
6954
  const w = o.apiKey, h = nr.getAuthTokenLs(), m = h && ((g = h[w]) == null ? void 0 : g.sessionId);
6955
6955
  if (!m) return {};
6956
- m && (d = m);
6956
+ m && (c = m);
6957
6957
  } else {
6958
6958
  if (!e().sessionRestoreMode) return {};
6959
6959
  const w = e().getCurrentSessionDataLs();
6960
6960
  if (!w) return {};
6961
6961
  const h = w.sessionId, m = w.workflowId;
6962
6962
  if (!h || m !== a) return {};
6963
- d = h;
6963
+ c = h;
6964
6964
  }
6965
6965
  const p = yield e().fetchService.continueSession(
6966
- d,
6966
+ c,
6967
6967
  n
6968
6968
  ), f = e()._checkIsSessionDataValid(p.data);
6969
- if (!Cs(f))
6969
+ if (!Ss(f))
6970
6970
  return { error: f.error };
6971
- const c = f.currentStep;
6972
- return e().setCurrentStepId(c), s ? e()._checkAndSetApiTokenToLs(f.id) : e().setCurrentSessionDataLsAndStore({
6971
+ const d = f.currentStep;
6972
+ return e().setCurrentStepId(d), s ? e()._checkAndSetApiTokenToLs(f.id) : e().setCurrentSessionDataLsAndStore({
6973
6973
  sessionId: f.id,
6974
6974
  workflowId: a
6975
6975
  }), e().setNextStep({
6976
6976
  workflow: f.workflow,
6977
6977
  properties: f.properties,
6978
- nextStepId: c,
6978
+ nextStepId: d,
6979
6979
  locale: f.locale
6980
6980
  }), e().listener({
6981
6981
  eventType: Fn.MESSAGE,
@@ -7037,7 +7037,7 @@ const _1 = (t, e) => ({
7037
7037
  };
7038
7038
  const a = Number(n.ttl);
7039
7039
  !Number.isNaN(a) && a > 0 && t({ _ttl: a });
7040
- const l = e()._ttl, d = {
7040
+ const l = e()._ttl, c = {
7041
7041
  host: s.host,
7042
7042
  isSecure: s.isSecure,
7043
7043
  port: s.port,
@@ -7045,13 +7045,13 @@ const _1 = (t, e) => ({
7045
7045
  deviceDescriptor: {
7046
7046
  ttl: l
7047
7047
  }
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);
7048
+ }, p = nr.getAuthTokenLs(), f = p && p[n.apiKey] && p[n.apiKey].authToken ? p[n.apiKey] : null, d = f && f.authToken, g = yield e().connectByApiKey(c);
7049
7049
  if (g.error)
7050
7050
  return { error: new Ve({
7051
7051
  errorCode: Le.CONNECTION_ISSUE,
7052
7052
  underlyingBaseError: g.error
7053
7053
  }) };
7054
- c && g.authToken !== c && nr.removeAuthTokenLs(n.apiKey);
7054
+ d && g.authToken !== d && nr.removeAuthTokenLs(n.apiKey);
7055
7055
  const w = f && g.authToken === f.authToken && f, h = w ? w.tokenExpiresAt : Date.now() + l * 1e3;
7056
7056
  return e().setApiKeyAuthTokenCollection(n.apiKey, g.authToken, h), t({ _isConnectedToPlatform: !0 }), e().setStartConfig({
7057
7057
  host: s.host,
@@ -7120,7 +7120,7 @@ const _1 = (t, e) => ({
7120
7120
  errorCode: Le.SCENARIO_IN_PROGRESS
7121
7121
  })
7122
7122
  };
7123
- const o = ["password", "userName", "baseUrl"].filter((d) => !(n != null && n[d]));
7123
+ const o = ["password", "userName", "baseUrl"].filter((c) => !(n != null && n[c]));
7124
7124
  if (o.length > 0)
7125
7125
  return {
7126
7126
  error: new Ve({
@@ -7156,18 +7156,18 @@ const _1 = (t, e) => ({
7156
7156
  getWorkflows() {
7157
7157
  return F(this, arguments, function* (n = { limit: 100, skip: 0 }) {
7158
7158
  if (!e()._isInitialized)
7159
- return { error: new Ot({
7160
- errorCode: Et.INITIALIZATION_REQUIRED
7159
+ return { error: new It({
7160
+ errorCode: Tt.INITIALIZATION_REQUIRED
7161
7161
  }) };
7162
7162
  if (!e()._isConnectedToPlatform)
7163
- return { error: new Ot({
7164
- errorCode: Et.CONNECTION_ISSUE
7163
+ return { error: new It({
7164
+ errorCode: Tt.CONNECTION_ISSUE
7165
7165
  }) };
7166
7166
  const i = yield e().fetchService.listWorkflows(n);
7167
7167
  if (i.code !== 0) {
7168
- const o = i.code === 4 ? Tt.HTTP_ISSUE : Tt.PROVIDER_ERROR, s = new zn({ errorCode: o });
7169
- return { error: new Ot({
7170
- errorCode: Et.WORKFLOW_ISSUE,
7168
+ const o = i.code === 4 ? Ot.HTTP_ISSUE : Ot.PROVIDER_ERROR, s = new zn({ errorCode: o });
7169
+ return { error: new It({
7170
+ errorCode: Tt.WORKFLOW_ISSUE,
7171
7171
  message: "No workflow list",
7172
7172
  underlyingBaseError: s
7173
7173
  }) };
@@ -7177,40 +7177,40 @@ const _1 = (t, e) => ({
7177
7177
  },
7178
7178
  prepareWorkflowAndPrepareUi(n) {
7179
7179
  return F(this, null, function* () {
7180
- var w;
7180
+ var h;
7181
7181
  if (!e()._isInitialized)
7182
- return { error: new Ot({
7183
- errorCode: Et.INITIALIZATION_REQUIRED
7182
+ return { error: new It({
7183
+ errorCode: Tt.INITIALIZATION_REQUIRED
7184
7184
  }) };
7185
7185
  if (!e()._isConnectedToPlatform)
7186
- return { error: new Ot({
7187
- errorCode: Et.CONNECTION_ISSUE
7186
+ return { error: new It({
7187
+ errorCode: Tt.CONNECTION_ISSUE
7188
7188
  }) };
7189
7189
  if (e().currentScreenConfig)
7190
- return { error: new Ot({
7191
- errorCode: Et.SCENARIO_IN_PROGRESS
7190
+ return { error: new It({
7191
+ errorCode: Tt.SCENARIO_IN_PROGRESS
7192
7192
  }) };
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);
7194
- let a = null;
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) {
7196
- const h = new zn({
7197
- errorCode: a
7193
+ const i = e()._sessionIdFromUrl, o = yield e().fetchService.getWorkflow(n, i), s = So(o.data), a = ((h = s.client) == null ? void 0 : h.steps) && s.client.steps.some((m) => m.templateId === Hi);
7194
+ let l = null;
7195
+ if (o.code === 4 && (l = Ot.HTTP_ISSUE), o.code !== 0 && o.code !== 4 && (l = Ot.PROVIDER_ERROR), o.code === 0 && !o.data.id && (l = Ot.DECODING_FAILED), o.code === 0 && o.data.id && s === null && (l = Ot.DECODING_FAILED), a || (l = Ot.DECODING_FAILED), l !== null) {
7196
+ const m = new zn({
7197
+ errorCode: l
7198
7198
  });
7199
- return { error: new Ot({
7200
- errorCode: Et.INTERNAL_ISSUE,
7201
- underlyingBaseError: h
7199
+ return { error: new It({
7200
+ errorCode: Tt.INTERNAL_ISSUE,
7201
+ underlyingBaseError: m
7202
7202
  }) };
7203
7203
  }
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);
7206
- const c = e().workflowId;
7207
- c && n !== c && l.forEach((h) => {
7208
- h.component.deinitialize();
7204
+ const c = e().externalModules, p = s.steps, { isAllTemplatesSupported: f, unsupportedSteps: d } = sd(c, p);
7205
+ f || console.log("IDV:: Warning. Unsupported steps found: ", d);
7206
+ const g = e().workflowId;
7207
+ g && n !== g && c.forEach((m) => {
7208
+ m.component.deinitialize();
7209
7209
  });
7210
- const g = e().modulesConfig;
7211
- return l.forEach((h) => {
7212
- h.component.isReady() || h.component.initialize(g);
7213
- }), e().setLayout(o.client.layout), e().setProcessingTemplate(o.client.steps), e().setWorkflowId(n), e().setTrackLocation(o.trackLocation), { workflow: o };
7210
+ const w = e().modulesConfig;
7211
+ return c.forEach((m) => {
7212
+ m.component.isReady() || m.component.initialize(w);
7213
+ }), e().setLayout(s.client.layout), e().setProcessingTemplate(s.client.steps), e().setWorkflowId(n), e().setTrackLocation(s.trackLocation), { workflow: s };
7214
7214
  });
7215
7215
  },
7216
7216
  startNewSession(a) {
@@ -7232,13 +7232,13 @@ const _1 = (t, e) => ({
7232
7232
  errorCode: Ke.ALREADY_STARTED
7233
7233
  })
7234
7234
  };
7235
- const d = (I) => {
7235
+ const c = (I) => {
7236
7236
  dt && dt.close(), n(I);
7237
7237
  };
7238
- e().setWorkflowSessionCompletion(d);
7239
- const p = e().startConfig, f = "apiKey" in p && typeof p.apiKey == "string", c = e().apiKeyAuthTokenCollection;
7240
- if (f && "tokenExpiresAt" in c) {
7241
- const I = c.tokenExpiresAt && typeof c.tokenExpiresAt == "number" ? c.tokenExpiresAt : 0;
7238
+ e().setWorkflowSessionCompletion(c);
7239
+ const p = e().startConfig, f = "apiKey" in p && typeof p.apiKey == "string", d = e().apiKeyAuthTokenCollection;
7240
+ if (f && "tokenExpiresAt" in d) {
7241
+ const I = d.tokenExpiresAt && typeof d.tokenExpiresAt == "number" ? d.tokenExpiresAt : 0;
7242
7242
  if (Date.now() > I) {
7243
7243
  const N = yield e().connectByApiKey({
7244
7244
  apiKey: p.apiKey,
@@ -7283,21 +7283,21 @@ const _1 = (t, e) => ({
7283
7283
  if ("error" in m)
7284
7284
  return { error: m.error };
7285
7285
  if ("id" in m) return {};
7286
- const S = yield e().fetchService.startSession({
7286
+ const C = yield e().fetchService.startSession({
7287
7287
  workflowId: l,
7288
7288
  locale: i,
7289
7289
  metadata: o,
7290
7290
  location: s
7291
- }), C = e()._checkIsSessionDataValid(S.data);
7292
- if (!Cs(C))
7293
- return { error: C.error };
7294
- f ? e()._checkAndSetApiTokenToLs(C.id) : e().setCurrentSessionDataLsAndStore({ sessionId: C.id, workflowId: l });
7295
- const b = C.currentStep;
7291
+ }), S = e()._checkIsSessionDataValid(C.data);
7292
+ if (!Ss(S))
7293
+ return { error: S.error };
7294
+ f ? e()._checkAndSetApiTokenToLs(S.id) : e().setCurrentSessionDataLsAndStore({ sessionId: S.id, workflowId: l });
7295
+ const b = S.currentStep;
7296
7296
  return e().setCurrentStepId(b), e().setNextStep({
7297
- workflow: C.workflow,
7298
- properties: C.properties,
7297
+ workflow: S.workflow,
7298
+ properties: S.properties,
7299
7299
  nextStepId: b,
7300
- locale: C.locale
7300
+ locale: S.locale
7301
7301
  }), e().listener({
7302
7302
  eventType: Fn.MESSAGE,
7303
7303
  message: Mr.DID_START_SESSION,
@@ -7387,8 +7387,8 @@ class m1 {
7387
7387
  return { code: 0, data: this._apiKeyAuthToken };
7388
7388
  const a = yield this._fetchEphemeral(e.apiKey, e.deviceDescriptor.ttl);
7389
7389
  if (a.code !== 0) return a;
7390
- const l = this._getApiKeyAuthTokenFromHeader(a.data.authorization), d = this._getExpiresAtFromTtl(e.deviceDescriptor.ttl);
7391
- return { code: 0, data: { token: l, expiresAt: d } };
7390
+ const l = this._getApiKeyAuthTokenFromHeader(a.data.authorization), c = this._getExpiresAtFromTtl(e.deviceDescriptor.ttl);
7391
+ return { code: 0, data: { token: l, expiresAt: c } };
7392
7392
  }
7393
7393
  const n = this._getApiKeyAuthTokenFromLs(e.apiKey);
7394
7394
  if (n)
@@ -7487,8 +7487,8 @@ class m1 {
7487
7487
  if (a = yield o.json(), !(a != null && a.token) || !(a != null && a.expiresAt))
7488
7488
  return { code: 6, data: s };
7489
7489
  } catch (l) {
7490
- const d = this._getErrorTextFromError(l);
7491
- return s.what = d, { code: 6, data: s };
7490
+ const c = this._getErrorTextFromError(l);
7491
+ return s.what = c, { code: 6, data: s };
7492
7492
  }
7493
7493
  return {
7494
7494
  code: 0,
@@ -7525,8 +7525,8 @@ class m1 {
7525
7525
  if (a = yield o.json(), !(a != null && a.authorization))
7526
7526
  return { code: 6, data: s };
7527
7527
  } catch (l) {
7528
- const d = this._getErrorTextFromError(l);
7529
- return s.what = d, { code: 6, data: s };
7528
+ const c = this._getErrorTextFromError(l);
7529
+ return s.what = c, { code: 6, data: s };
7530
7530
  }
7531
7531
  return {
7532
7532
  code: 0,
@@ -7548,14 +7548,14 @@ class m1 {
7548
7548
  method: i
7549
7549
  }), a = { httpCode: s.status, method: i, url: o };
7550
7550
  if (!s.ok) {
7551
- const d = yield this._getResponseTextFromBadResponse(s);
7552
- return d && (a.what = d), { code: 5, data: a };
7551
+ const c = yield this._getResponseTextFromBadResponse(s);
7552
+ return c && (a.what = c), { code: 5, data: a };
7553
7553
  }
7554
7554
  let l;
7555
7555
  try {
7556
7556
  if (l = yield s.json(), !(l != null && l.id)) return { code: 6, data: a };
7557
- } catch (d) {
7558
- const p = this._getErrorTextFromError(d);
7557
+ } catch (c) {
7558
+ const p = this._getErrorTextFromError(c);
7559
7559
  return a.what = p, { code: 6, data: a };
7560
7560
  }
7561
7561
  return { code: 0, data: l };
@@ -7581,14 +7581,14 @@ class m1 {
7581
7581
  const p = yield this._getResponseTextFromBadResponse(a);
7582
7582
  return p && (l.what = p), { code: 5, data: l };
7583
7583
  }
7584
- let d;
7584
+ let c;
7585
7585
  try {
7586
- if (d = yield a.json(), !(d != null && d.id)) return { code: 6, data: l };
7586
+ if (c = yield a.json(), !(c != null && c.id)) return { code: 6, data: l };
7587
7587
  } catch (p) {
7588
7588
  const f = this._getErrorTextFromError(p);
7589
7589
  return l.what = f, { code: 6, data: l };
7590
7590
  }
7591
- return { code: 0, data: d };
7591
+ return { code: 0, data: c };
7592
7592
  } catch (a) {
7593
7593
  const l = this._getErrorTextFromError(a);
7594
7594
  return { code: 4, data: { httpCode: 0, method: "GET", url: o, what: l } };
@@ -7611,14 +7611,14 @@ class m1 {
7611
7611
  const p = yield this._getResponseTextFromBadResponse(a);
7612
7612
  return p && (l.what = p), { code: 5, data: l };
7613
7613
  }
7614
- let d;
7614
+ let c;
7615
7615
  try {
7616
- if (d = yield a.json(), !d) return { code: 6, data: l };
7616
+ if (c = yield a.json(), !c) return { code: 6, data: l };
7617
7617
  } catch (p) {
7618
7618
  const f = this._getErrorTextFromError(p);
7619
7619
  return l.what = f, { code: 6, data: l };
7620
7620
  }
7621
- return { code: 0, data: d };
7621
+ return { code: 0, data: c };
7622
7622
  } catch (a) {
7623
7623
  const l = this._getErrorTextFromError(a);
7624
7624
  return { code: 4, data: { httpCode: 0, method: "GET", url: s, what: l } };
@@ -7643,8 +7643,8 @@ class m1 {
7643
7643
  try {
7644
7644
  if (a = yield o.json(), !a) return { code: 6, data: s };
7645
7645
  } catch (l) {
7646
- const d = this._getErrorTextFromError(l);
7647
- return s.what = d, { code: 6, data: s };
7646
+ const c = this._getErrorTextFromError(l);
7647
+ return s.what = c, { code: 6, data: s };
7648
7648
  }
7649
7649
  return { code: 0, data: a };
7650
7650
  } catch (o) {
@@ -7656,31 +7656,31 @@ class m1 {
7656
7656
  _fetchStep(e, r, n, i) {
7657
7657
  return F(this, null, function* () {
7658
7658
  var p;
7659
- const o = "POST", s = T({}, 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}` : ""}`;
7659
+ const o = "POST", s = T({}, i && { type: i }), l = new URLSearchParams(s).toString(), c = `${this._origin}/api/sessions/${(p = this._session) == null ? void 0 : p.id}/step/${r}${l ? `?${l}` : ""}`;
7660
7660
  try {
7661
- const f = yield fetch(d, {
7661
+ const f = yield fetch(c, {
7662
7662
  headers: {
7663
7663
  authorization: e,
7664
7664
  "content-type": "application/json"
7665
7665
  },
7666
7666
  body: JSON.stringify(n),
7667
7667
  method: o
7668
- }), c = { httpCode: f.status, method: o, url: d };
7668
+ }), d = { httpCode: f.status, method: o, url: c };
7669
7669
  if (!f.ok) {
7670
7670
  const w = yield this._getResponseTextFromBadResponse(f);
7671
- return w && (c.what = w), { code: 5, data: c };
7671
+ return w && (d.what = w), { code: 5, data: d };
7672
7672
  }
7673
7673
  let g;
7674
7674
  try {
7675
- if (g = yield f.json(), !g) return { code: 6, data: c };
7675
+ if (g = yield f.json(), !g) return { code: 6, data: d };
7676
7676
  } catch (w) {
7677
7677
  const h = this._getErrorTextFromError(w);
7678
- return c.what = h, { code: 6, data: c };
7678
+ return d.what = h, { code: 6, data: d };
7679
7679
  }
7680
7680
  return { code: 0, data: g };
7681
7681
  } catch (f) {
7682
- const c = this._getErrorTextFromError(f);
7683
- return { code: 4, data: { httpCode: 0, method: o, url: d, what: c } };
7682
+ const d = this._getErrorTextFromError(f);
7683
+ return { code: 4, data: { httpCode: 0, method: o, url: c, what: d } };
7684
7684
  }
7685
7685
  });
7686
7686
  }
@@ -7698,14 +7698,14 @@ class m1 {
7698
7698
  method: n
7699
7699
  }), a = { httpCode: s.status, method: n, url: i };
7700
7700
  if (!s.ok) {
7701
- const d = yield this._getResponseTextFromBadResponse(s);
7702
- return d && (a.what = d), { code: 5, data: a };
7701
+ const c = yield this._getResponseTextFromBadResponse(s);
7702
+ return c && (a.what = c), { code: 5, data: a };
7703
7703
  }
7704
7704
  let l;
7705
7705
  try {
7706
7706
  if (l = yield s.json(), !l) return { code: 6, data: a };
7707
- } catch (d) {
7708
- const p = this._getErrorTextFromError(d);
7707
+ } catch (c) {
7708
+ const p = this._getErrorTextFromError(c);
7709
7709
  return a.what = p, { code: 6, data: a };
7710
7710
  }
7711
7711
  return { code: 0, data: l };
@@ -7775,8 +7775,8 @@ class m1 {
7775
7775
  locale: r
7776
7776
  };
7777
7777
  ld(n) && (s.metadata = n), i && (s.location = i);
7778
- const a = yield this.getConnectionToken(!1), l = this._getAuthorizationHeaderFromConnectionToken(a), d = yield this._fetchSessionByWorkflowId(l, e, s);
7779
- return d.code === 0 && (this._session = d.data, this._locale = r), d;
7778
+ const a = yield this.getConnectionToken(!1), l = this._getAuthorizationHeaderFromConnectionToken(a), c = yield this._fetchSessionByWorkflowId(l, e, s);
7779
+ return c.code === 0 && (this._session = c.data, this._locale = r), c;
7780
7780
  });
7781
7781
  }
7782
7782
  continueSession(e, r) {
@@ -7791,11 +7791,17 @@ class m1 {
7791
7791
  return yield this._fetchWorkflows(n, e);
7792
7792
  });
7793
7793
  }
7794
- getWorkflow(e) {
7794
+ getWorkflow(e, r) {
7795
7795
  return F(this, null, function* () {
7796
7796
  this._workflowId = e;
7797
- const r = yield this.getConnectionToken(!1), n = this._getAuthorizationHeaderFromConnectionToken(r);
7798
- return yield this._fetchWorkflow(n, e);
7797
+ const n = yield this.getConnectionToken(!1), i = this._getAuthorizationHeaderFromConnectionToken(n);
7798
+ let o;
7799
+ if (r) {
7800
+ const s = yield this._fetchSessionState(i, r);
7801
+ o = s.code === 0 ? { data: s.data.workflow, code: s.code } : s;
7802
+ } else
7803
+ o = yield this._fetchWorkflow(i, e);
7804
+ return o;
7799
7805
  });
7800
7806
  }
7801
7807
  pushData(e, r, n) {
@@ -7883,8 +7889,8 @@ const g1 = (t, e) => ({
7883
7889
  /** set workflow completion function with user callback + additional logic */
7884
7890
  setWorkflowSessionCompletion: (n) => {
7885
7891
  const i = (o) => {
7886
- var d;
7887
- const s = (d = e().currentSessionData) == null ? void 0 : d.sessionId, a = X(T({}, o.results), {
7892
+ var c;
7893
+ const s = (c = e().currentSessionData) == null ? void 0 : c.sessionId, a = X(T({}, o.results), {
7888
7894
  sessionId: s
7889
7895
  }), l = T({
7890
7896
  results: a
@@ -7914,7 +7920,7 @@ const g1 = (t, e) => ({
7914
7920
  }
7915
7921
  }),
7916
7922
  setProcessingTemplate: (n) => {
7917
- const i = Co(
7923
+ const i = So(
7918
7924
  n.find((o) => o.templateId === Hi)
7919
7925
  );
7920
7926
  i.templateLayout = bs(i.templateLayout, e().layout), t({ processingTransformedTemplate: i });
@@ -7925,9 +7931,9 @@ const g1 = (t, e) => ({
7925
7931
  _pushStep: (n, i, o) => F(null, null, function* () {
7926
7932
  let s = null;
7927
7933
  return yield nd(() => F(null, null, function* () {
7928
- const d = yield e().fetchService.pushData(n, i, o);
7934
+ const c = yield e().fetchService.pushData(n, i, o);
7929
7935
  let p = null;
7930
- if (d.code === 4 && (p = lt.HTTP_ISSUE), d.code !== 0 && d.code !== 4 && (p = lt.PROVIDER_ERROR), p !== null) {
7936
+ if (c.code === 4 && (p = lt.HTTP_ISSUE), c.code !== 0 && c.code !== 4 && (p = lt.PROVIDER_ERROR), p !== null) {
7931
7937
  const f = new Vr({
7932
7938
  errorCode: lt.HTTP_ISSUE
7933
7939
  });
@@ -7937,7 +7943,7 @@ const g1 = (t, e) => ({
7937
7943
  underlyingBaseError: f
7938
7944
  });
7939
7945
  }
7940
- return d.code === 0 ? (s = null, d) : null;
7946
+ return c.code === 0 ? (s = null, c) : null;
7941
7947
  }), () => null), s ? { error: s } : {};
7942
7948
  }),
7943
7949
  _findStepById: (n) => {
@@ -7948,35 +7954,35 @@ const g1 = (t, e) => ({
7948
7954
  },
7949
7955
  _getSessionStateNextStepConditionResult: () => F(null, null, function* () {
7950
7956
  var w, h, m;
7951
- 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);
7957
+ 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 : [], c = od(l, s), p = n.code === 4, f = n.code !== 0 && n.code !== 4, d = i && (!n.data.workflow || !n.data.currentStep);
7952
7958
  let g = null;
7953
- 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) {
7954
- const S = new Vr({ errorCode: g });
7959
+ if (l && !c && (g = lt.NOT_DATA_TYPE), p && (g = lt.HTTP_ISSUE), f && (g = lt.PROVIDER_ERROR), a && (g = lt.IS_PROCESSING), d && (g = lt.DECODING_FAILED), g !== null) {
7960
+ const C = new Vr({ errorCode: g });
7955
7961
  return { error: new Ge({
7956
7962
  errorCode: Ke.INTERNAL_ISSUE,
7957
- underlyingBaseError: S
7963
+ underlyingBaseError: C
7958
7964
  }), shouldRetry: !0 };
7959
7965
  }
7960
- return d && !a && !p && !f && !c ? { data: n.data } : { shouldRetry: !0 };
7966
+ return c && !a && !p && !f && !d ? { data: n.data } : { shouldRetry: !0 };
7961
7967
  }),
7962
7968
  _waitingForNextStep: () => F(null, null, function* () {
7963
7969
  let n = {};
7964
7970
  return yield new Promise((o) => {
7965
- let l = 0, d;
7971
+ let l = 0, c;
7966
7972
  const p = (f) => F(null, null, function* () {
7967
7973
  if (f) {
7968
- d = window.setTimeout(() => {
7974
+ c = window.setTimeout(() => {
7969
7975
  p(!1);
7970
7976
  }, 1e4);
7971
7977
  return;
7972
7978
  }
7973
- n = yield e()._getSessionStateNextStepConditionResult(), l++, "shouldRetry" in n && l < 6 ? d = window.setTimeout(() => {
7979
+ n = yield e()._getSessionStateNextStepConditionResult(), l++, "shouldRetry" in n && l < 6 ? c = window.setTimeout(() => {
7974
7980
  p(!1);
7975
7981
  }, 1e4) : (dt.clearSubscriptions(), o());
7976
7982
  });
7977
7983
  if (dt.isConnected()) {
7978
- const f = (c) => {
7979
- JSON.parse(atob(JSON.parse(c).payload)).eventType === "SESSION_UPDATED" && (clearTimeout(d), p(!1));
7984
+ const f = (d) => {
7985
+ JSON.parse(atob(JSON.parse(d).payload)).eventType === "SESSION_UPDATED" && (clearTimeout(c), p(!1));
7980
7986
  };
7981
7987
  dt.onMessage(f);
7982
7988
  }
@@ -8012,8 +8018,8 @@ const g1 = (t, e) => ({
8012
8018
  dt.clearSubscriptions();
8013
8019
  let a = {};
8014
8020
  const l = 5;
8015
- let d = 0;
8016
- for (; d < l && (d++, a = yield e()._getSessionStateNextStepConditionResult(), !!a.shouldRetry); )
8021
+ let c = 0;
8022
+ for (; c < l && (c++, a = yield e()._getSessionStateNextStepConditionResult(), !!a.shouldRetry); )
8017
8023
  ;
8018
8024
  if (a.error) {
8019
8025
  e().workflowSessionCompletion({
@@ -8022,8 +8028,8 @@ const g1 = (t, e) => ({
8022
8028
  return;
8023
8029
  }
8024
8030
  if (a.data) {
8025
- const { workflow: p, properties: f, currentStep: c, locale: g } = a.data;
8026
- e().setNextStep({ workflow: p, properties: f, nextStepId: c, locale: g });
8031
+ const { workflow: p, properties: f, currentStep: d, locale: g } = a.data;
8032
+ e().setNextStep({ workflow: p, properties: f, nextStepId: d, locale: g });
8027
8033
  }
8028
8034
  }
8029
8035
  });
@@ -8033,7 +8039,7 @@ const g1 = (t, e) => ({
8033
8039
  },
8034
8040
  setNextStep: ({ workflow: n, properties: i, nextStepId: o, locale: s }) => {
8035
8041
  e().setWorkflowId(n.id), e().setWorkflow(n), e().setLayout(n.client.layout), e().setProcessingTemplate(n.client.steps), e().setSessionProperties(i), e().setLocale(s);
8036
- const a = e()._findStepById(o), l = (d) => !!d && Object.prototype.toString.call(d) === "[object Object]" && d.templateId;
8042
+ const a = e()._findStepById(o), l = (c) => !!c && Object.prototype.toString.call(c) === "[object Object]" && c.templateId;
8037
8043
  if (a != null && a.releaseClientApp && !l(a.client)) {
8038
8044
  e().setFinalStepAndStopProcess(a.id);
8039
8045
  return;
@@ -8049,12 +8055,12 @@ const g1 = (t, e) => ({
8049
8055
  return;
8050
8056
  }
8051
8057
  if (n.errorCode) {
8052
- const c = n, g = new Ge({
8058
+ const d = n, g = new Ge({
8053
8059
  errorCode: Ke.MODULES_ISSUE,
8054
8060
  message: "Error from external module",
8055
8061
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
8056
8062
  // @ts-ignore
8057
- underlyingBaseError: c
8063
+ underlyingBaseError: d
8058
8064
  });
8059
8065
  e().workflowSessionCompletion({
8060
8066
  error: g
@@ -8075,42 +8081,42 @@ const g1 = (t, e) => ({
8075
8081
  }), e().resetSession();
8076
8082
  return;
8077
8083
  }
8078
- const { workflow: l, properties: d, currentStep: p, locale: f } = a.sessionData;
8079
- e().setNextStep({ workflow: l, properties: d, nextStepId: p, locale: f });
8084
+ const { workflow: l, properties: c, currentStep: p, locale: f } = a.sessionData;
8085
+ e().setNextStep({ workflow: l, properties: c, nextStepId: p, locale: f });
8080
8086
  }),
8081
8087
  /** prepare and configure config (props) for module and trigger showing step */
8082
8088
  onChangeScreen: (n) => {
8083
- var l, d, p, f;
8089
+ var l, c, p, f;
8084
8090
  if (!n) return t(() => ({ currentScreenConfig: null }));
8085
8091
  const i = e().workflow, o = e().sessionProperties;
8086
8092
  let s = null;
8087
8093
  if (n === Hi && e().processingTransformedTemplate !== null) {
8088
- const c = e().processingTransformedTemplate;
8089
- c && (s = {
8090
- templateId: c.templateId,
8091
- templateLayout: c.templateLayout,
8094
+ const d = e().processingTransformedTemplate;
8095
+ d && (s = {
8096
+ templateId: d.templateId,
8097
+ templateLayout: d.templateLayout,
8092
8098
  dataSource: null
8093
8099
  });
8094
8100
  } else {
8095
- const c = e()._findStepById(n);
8096
- if (typeof ((l = c == null ? void 0 : c.client) == null ? void 0 : l.templateId) == "string" && (s = X(T({}, c == null ? void 0 : c.client), {
8097
- templateId: c.client.templateId,
8098
- dataSource: (d = c.dataSource) != null ? d : null,
8101
+ const d = e()._findStepById(n);
8102
+ if (typeof ((l = d == null ? void 0 : d.client) == null ? void 0 : l.templateId) == "string" && (s = X(T({}, d == null ? void 0 : d.client), {
8103
+ templateId: d.client.templateId,
8104
+ dataSource: (c = d.dataSource) != null ? c : null,
8099
8105
  properties: o,
8100
8106
  locale: e().locale
8101
- })), 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)) {
8102
- const g = bs(c.client.templateLayout, e().layout);
8107
+ })), s && (s.sessionId = (p = e().currentSessionData) == null ? void 0 : p.sessionId, s.serviceToken = e().serviceToken), s && cd((f = d == null ? void 0 : d.client) == null ? void 0 : f.templateLayout)) {
8108
+ const g = bs(d.client.templateLayout, e().layout);
8103
8109
  g && (s.templateLayout = g);
8104
8110
  }
8105
8111
  }
8106
8112
  const a = id(e().externalModules, i.steps, n);
8107
8113
  if (s === null || !a) {
8108
- const c = new Ge({
8114
+ const d = new Ge({
8109
8115
  errorCode: Ke.UNKNOWN_STEP,
8110
8116
  message: "Unsupported step template"
8111
8117
  });
8112
8118
  e().workflowSessionCompletion({
8113
- error: c
8119
+ error: d
8114
8120
  }), t(() => ({ currentScreenConfig: null })), e().resetSession();
8115
8121
  return;
8116
8122
  }
@@ -8259,11 +8265,11 @@ function b1() {
8259
8265
  /* 1 */
8260
8266
  /***/
8261
8267
  (function(e, r, n) {
8262
- 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, U = 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() {
8268
+ var i = n(2), o = n(0), s = o.BROWSER_TYPES, a = o.OS_TYPES, l = o.DEVICE_TYPES, c = n(4), p = c.checkType, f = c.broPayload, d = c.mobilePayload, g = c.wearPayload, w = c.consolePayload, h = c.stvPayload, m = c.getNavigatorInstance, C = c.isIOS13Check, S = new i(), b = S.getBrowser(), I = S.getDevice(), k = S.getEngine(), N = S.getOS(), R = S.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, U = l.SMART_TV, Y = l.BROWSER, te = l.WEARABLE, Ce = l.CONSOLE, re = a.ANDROID, $ = a.WINDOWS_PHONE, Q = a.IOS, Be = a.WINDOWS, je = a.MAC_OS, ot = function() {
8263
8269
  return I.type === ee;
8264
8270
  }, Xe = function() {
8265
8271
  return I.type === z;
8266
- }, yt = function() {
8272
+ }, bt = function() {
8267
8273
  switch (I.type) {
8268
8274
  case ee:
8269
8275
  case z:
@@ -8275,12 +8281,12 @@ function b1() {
8275
8281
  return N.name === a.WINDOWS && N.version === "10" ? typeof R == "string" && R.indexOf("Edg/") !== -1 : !1;
8276
8282
  }, Ht = function() {
8277
8283
  return I.type === U;
8278
- }, bt = function() {
8284
+ }, St = function() {
8279
8285
  return I.type === Y;
8280
8286
  }, pt = function() {
8281
8287
  return I.type === te;
8282
8288
  }, Ct = function() {
8283
- return I.type === Se;
8289
+ return I.type === Ce;
8284
8290
  }, Wt = function() {
8285
8291
  return N.name === re;
8286
8292
  }, _t = function() {
@@ -8310,17 +8316,17 @@ function b1() {
8310
8316
  }, Me = function() {
8311
8317
  return b.name === Z || b.name === le;
8312
8318
  }, J = function() {
8313
- var at = m(), hr = at && at.userAgent.toLowerCase();
8314
- return typeof hr == "string" ? /electron/.test(hr) : !1;
8319
+ var at = m(), _r = at && at.userAgent.toLowerCase();
8320
+ return typeof _r == "string" ? /electron/.test(_r) : !1;
8315
8321
  }, oe = function() {
8316
8322
  var at = m();
8317
8323
  return at && (/iPad|iPhone|iPod/.test(at.platform) || at.platform === "MacIntel" && at.maxTouchPoints > 1) && !window.MSStream;
8318
8324
  }, j = function() {
8319
- return S("iPad");
8325
+ return C("iPad");
8320
8326
  }, me = function() {
8321
- return S("iPhone");
8327
+ return C("iPhone");
8322
8328
  }, He = function() {
8323
- return S("iPod");
8329
+ return C("iPod");
8324
8330
  }, xe = function() {
8325
8331
  return b.major;
8326
8332
  }, he = function() {
@@ -8343,22 +8349,22 @@ function b1() {
8343
8349
  return R;
8344
8350
  }, on = function() {
8345
8351
  return I.type;
8346
- }, sn = Ht(), an = Ct(), ln = pt(), zt = G() || j(), cn = P(), rt = yt() || j(), dn = ot(), un = Xe() || j(), fn = bt(), hn = Wt(), pn = y(), _n = O() || j(), mn = A(), oi = V(), si = ne(), ai = ge(), fr = Me(), gn = q(), wn = ze(), vn = xe(), li = he(), yn = jt(), bn = Jt(), Cn = en(), ci = tn(), di = rn(), ui = nn(), fi = M() || st(), Sn = W(), hi = on(), pi = oe(), _i = j(), mi = me(), gi = He(), wi = J(), vi = st(), yi = M(), bi = _t(), Ci = tt(), mt = p(I.type);
8347
- function Si() {
8348
- var ie = mt.isBrowser, at = mt.isMobile, hr = mt.isTablet, En = mt.isSmartTV, Tn = mt.isConsole, On = mt.isWearable;
8352
+ }, sn = Ht(), an = Ct(), ln = pt(), zt = G() || j(), cn = P(), rt = bt() || j(), dn = ot(), un = Xe() || j(), fn = St(), hn = Wt(), pn = y(), _n = O() || j(), mn = A(), oi = V(), si = ne(), ai = ge(), pr = Me(), gn = q(), wn = ze(), vn = xe(), li = he(), yn = jt(), bn = Jt(), Sn = en(), ci = tn(), di = rn(), ui = nn(), fi = M() || st(), Cn = W(), hi = on(), pi = oe(), _i = j(), mi = me(), gi = He(), wi = J(), vi = st(), yi = M(), bi = _t(), Si = tt(), mt = p(I.type);
8353
+ function Ci() {
8354
+ var ie = mt.isBrowser, at = mt.isMobile, _r = mt.isTablet, En = mt.isSmartTV, Tn = mt.isConsole, On = mt.isWearable;
8349
8355
  if (ie)
8350
8356
  return f(ie, b, k, N, R);
8351
8357
  if (En)
8352
8358
  return h(En, k, N, R);
8353
8359
  if (Tn)
8354
8360
  return w(Tn, k, N, R);
8355
- if (at || hr)
8356
- return c(mt, I, N, R);
8361
+ if (at || _r)
8362
+ return d(mt, I, N, R);
8357
8363
  if (On)
8358
8364
  return g(On, k, N, R);
8359
8365
  }
8360
8366
  e.exports = {
8361
- deviceDetect: Si,
8367
+ deviceDetect: Ci,
8362
8368
  isSmartTV: sn,
8363
8369
  isConsole: an,
8364
8370
  isWearable: ln,
@@ -8375,19 +8381,19 @@ function b1() {
8375
8381
  isFirefox: oi,
8376
8382
  isSafari: si,
8377
8383
  isOpera: ai,
8378
- isIE: fr,
8384
+ isIE: pr,
8379
8385
  osVersion: gn,
8380
8386
  osName: wn,
8381
8387
  fullBrowserVersion: vn,
8382
8388
  browserVersion: li,
8383
8389
  browserName: yn,
8384
8390
  mobileVendor: bn,
8385
- mobileModel: Cn,
8391
+ mobileModel: Sn,
8386
8392
  engineName: ci,
8387
8393
  engineVersion: di,
8388
8394
  getUA: ui,
8389
8395
  isEdge: fi,
8390
- isYandex: Sn,
8396
+ isYandex: Cn,
8391
8397
  deviceType: hi,
8392
8398
  isIOS13: pi,
8393
8399
  isIPad13: _i,
@@ -8397,7 +8403,7 @@ function b1() {
8397
8403
  isEdgeChromium: vi,
8398
8404
  isLegacyEdge: yi,
8399
8405
  isWindows: bi,
8400
- isMacOs: Ci
8406
+ isMacOs: Si
8401
8407
  };
8402
8408
  }),
8403
8409
  /* 2 */
@@ -8413,7 +8419,7 @@ function b1() {
8413
8419
  * Dual licensed under GPLv2 or MIT
8414
8420
  */
8415
8421
  (function(o, s) {
8416
- 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) {
8422
+ var a = "0.7.18", l = "", c = "?", p = "function", f = "undefined", d = "object", g = "string", w = "major", h = "model", m = "name", C = "type", S = "vendor", b = "version", I = "architecture", k = "console", N = "mobile", R = "tablet", ae = "smarttv", _e = "wearable", le = "embedded", Z = { extend: function(ee, z) {
8417
8423
  var U = {};
8418
8424
  for (var Y in ee)
8419
8425
  z[Y] && z[Y].length % 2 === 0 ? U[Y] = z[Y].concat(ee[Y]) : U[Y] = ee[Y];
@@ -8427,24 +8433,24 @@ function b1() {
8427
8433
  }, trim: function(ee) {
8428
8434
  return ee.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
8429
8435
  } }, H = { rgx: function(ee, z) {
8430
- for (var U = 0, Y, te, Se, re, $, Q; U < z.length && !$; ) {
8436
+ for (var U = 0, Y, te, Ce, re, $, Q; U < z.length && !$; ) {
8431
8437
  var Be = z[U], je = z[U + 1];
8432
8438
  for (Y = te = 0; Y < Be.length && !$; )
8433
8439
  if ($ = Be[Y++].exec(ee), $)
8434
- for (Se = 0; Se < je.length; Se++)
8435
- Q = $[++te], re = je[Se], typeof re === c && re.length > 0 ? re.length == 2 ? typeof re[1] == p ? this[re[0]] = re[1].call(this, Q) : this[re[0]] = re[1] : re.length == 3 ? typeof re[1] === p && !(re[1].exec && re[1].test) ? this[re[0]] = Q ? re[1].call(this, Q, re[2]) : s : this[re[0]] = Q ? Q.replace(re[1], re[2]) : s : re.length == 4 && (this[re[0]] = Q ? re[3].call(this, Q.replace(re[1], re[2])) : s) : this[re] = Q || s;
8440
+ for (Ce = 0; Ce < je.length; Ce++)
8441
+ Q = $[++te], re = je[Ce], typeof re === d && re.length > 0 ? re.length == 2 ? typeof re[1] == p ? this[re[0]] = re[1].call(this, Q) : this[re[0]] = re[1] : re.length == 3 ? typeof re[1] === p && !(re[1].exec && re[1].test) ? this[re[0]] = Q ? re[1].call(this, Q, re[2]) : s : this[re[0]] = Q ? Q.replace(re[1], re[2]) : s : re.length == 4 && (this[re[0]] = Q ? re[3].call(this, Q.replace(re[1], re[2])) : s) : this[re] = Q || s;
8436
8442
  U += 2;
8437
8443
  }
8438
8444
  }, str: function(ee, z) {
8439
8445
  for (var U in z)
8440
- if (typeof z[U] === c && z[U].length > 0) {
8446
+ if (typeof z[U] === d && z[U].length > 0) {
8441
8447
  for (var Y = 0; Y < z[U].length; Y++)
8442
8448
  if (Z.has(z[U][Y], ee))
8443
- return U === d ? s : U;
8449
+ return U === c ? s : U;
8444
8450
  } else if (Z.has(z[U], ee))
8445
- return U === d ? s : U;
8451
+ return U === c ? s : U;
8446
8452
  return ee;
8447
- } }, 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) {
8453
+ } }, 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, S, [C, R]], [/applecoremedia\/[\w\.]+ \((ipad)/], [h, [S, "Apple"], [C, R]], [/(apple\s{0,1}tv)/i], [[h, "Apple TV"], [S, "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], [S, h, [C, R]], [/(kf[A-z]+)\sbuild\/.+silk\//i], [h, [S, "Amazon"], [C, R]], [/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i], [[h, H.str, K.device.amazon.model], [S, "Amazon"], [C, N]], [/\((ip[honed|\s\w*]+);.+(apple)/i], [h, S, [C, N]], [/\((ip[honed|\s\w*]+);/i], [h, [S, "Apple"], [C, 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], [S, h, [C, N]], [/\(bb10;\s(\w+)/i], [h, [S, "BlackBerry"], [C, N]], [/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i], [h, [S, "Asus"], [C, R]], [/(sony)\s(tablet\s[ps])\sbuild\//i, /(sony)?(?:sgp.+)\sbuild\//i], [[S, "Sony"], [h, "Xperia Tablet"], [C, R]], [/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i], [h, [S, "Sony"], [C, N]], [/\s(ouya)\s/i, /(nintendo)\s([wids3u]+)/i], [S, h, [C, k]], [/android.+;\s(shield)\sbuild/i], [h, [S, "Nvidia"], [C, k]], [/(playstation\s[34portablevi]+)/i], [h, [S, "Sony"], [C, k]], [/(sprint\s(\w+))/i], [[S, H.str, K.device.sprint.vendor], [h, H.str, K.device.sprint.model], [C, N]], [/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i], [S, h, [C, R]], [/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i, /(zte)-(\w*)/i, /(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i], [S, [h, /_/g, " "], [C, N]], [/(nexus\s9)/i], [h, [S, "HTC"], [C, R]], [/d\/huawei([\w\s-]+)[;\)]/i, /(nexus\s6p)/i], [h, [S, "Huawei"], [C, N]], [/(microsoft);\s(lumia[\s\w]+)/i], [S, h, [C, N]], [/[\s\(;](xbox(?:\sone)?)[\s\);]/i], [h, [S, "Microsoft"], [C, k]], [/(kin\.[onetw]{3})/i], [[h, /\./g, " "], [S, "Microsoft"], [C, 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, [S, "Motorola"], [C, N]], [/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i], [h, [S, "Motorola"], [C, R]], [/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i], [[S, Z.trim], [h, Z.trim], [C, ae]], [/hbbtv.+maple;(\d+)/i], [[h, /^/, "SmartTV"], [S, "Samsung"], [C, ae]], [/\(dtv[\);].+(aquos)/i], [h, [S, "Sharp"], [C, 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], [[S, "Samsung"], h, [C, R]], [/smart-tv.+(samsung)/i], [S, [C, 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], [[S, "Samsung"], h, [C, N]], [/sie-(\w*)/i], [h, [S, "Siemens"], [C, N]], [/(maemo|nokia).*(n900|lumia\s\d+)/i, /(nokia)[\s_-]?([\w-]*)/i], [[S, "Nokia"], h, [C, N]], [/android\s3\.[\s\w;-]{10}(a\d{3})/i], [h, [S, "Acer"], [C, R]], [/android.+([vl]k\-?\d{3})\s+build/i], [h, [S, "LG"], [C, R]], [/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i], [[S, "LG"], h, [C, R]], [/(lg) netcast\.tv/i], [S, h, [C, ae]], [/(nexus\s[45])/i, /lg[e;\s\/-]+(\w*)/i, /android.+lg(\-?[\d\w]+)\s+build/i], [h, [S, "LG"], [C, N]], [/android.+(ideatab[a-z0-9\-\s]+)/i], [h, [S, "Lenovo"], [C, R]], [/linux;.+((jolla));/i], [S, h, [C, N]], [/((pebble))app\/[\d\.]+\s/i], [S, h, [C, _e]], [/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i], [S, h, [C, N]], [/crkey/i], [[h, "Chromecast"], [S, "Google"]], [/android.+;\s(glass)\s\d/i], [h, [S, "Google"], [C, _e]], [/android.+;\s(pixel c)\s/i], [h, [S, "Google"], [C, R]], [/android.+;\s(pixel xl|pixel)\s/i], [h, [S, "Google"], [C, 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, " "], [S, "Xiaomi"], [C, N]], [/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i], [[h, /_/g, " "], [S, "Xiaomi"], [C, R]], [/android.+;\s(m[1-5]\snote)\sbuild/i], [h, [S, "Meizu"], [C, R]], [/android.+a000(1)\s+build/i, /android.+oneplus\s(a\d{4})\s+build/i], [h, [S, "OnePlus"], [C, N]], [/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i], [h, [S, "RCA"], [C, R]], [/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i], [h, [S, "Dell"], [C, R]], [/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i], [h, [S, "Verizon"], [C, R]], [/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i], [[S, "Barnes & Noble"], h, [C, R]], [/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i], [h, [S, "NuVision"], [C, R]], [/android.+;\s(k88)\sbuild/i], [h, [S, "ZTE"], [C, R]], [/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i], [h, [S, "Swiss"], [C, N]], [/android.+[;\/]\s*(zur\d{3})\s+build/i], [h, [S, "Swiss"], [C, R]], [/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i], [h, [S, "Zeki"], [C, R]], [/(android).+[;\/]\s+([YR]\d{2})\s+build/i, /android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i], [[S, "Dragon Touch"], h, [C, R]], [/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i], [h, [S, "Insignia"], [C, R]], [/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i], [h, [S, "NextBook"], [C, R]], [/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i], [[S, "Voice"], h, [C, N]], [/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i], [[S, "LvTel"], h, [C, N]], [/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i], [h, [S, "Envizen"], [C, R]], [/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i], [S, h, [C, R]], [/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i], [h, [S, "MachSpeed"], [C, R]], [/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i], [S, h, [C, R]], [/android.+[;\/]\s*TU_(1491)\s+build/i], [h, [S, "Rotor"], [C, R]], [/android.+(KS(.+))\s+build/i], [h, [S, "Amazon"], [C, R]], [/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i], [S, h, [C, R]], [/\s(tablet|tab)[;\/]/i, /\s(mobile)(?:[;\/]|\ssafari)/i], [[C, Z.lowerize], S, h], [/(android[\w\.\s\-]{0,9});.+build/i], [h, [S, "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) {
8448
8454
  if (typeof ee == "object" && (z = ee, ee = s), !(this instanceof ce))
8449
8455
  return new ce(ee, z).getResult();
8450
8456
  var U = ee || (o && o.navigator && o.navigator.userAgent ? o.navigator.userAgent : l), Y = z ? Z.extend(ue, z) : ue;
@@ -8471,7 +8477,7 @@ function b1() {
8471
8477
  return U = te, this;
8472
8478
  }, this;
8473
8479
  };
8474
- 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() {
8480
+ ce.VERSION = a, ce.BROWSER = { NAME: m, MAJOR: w, VERSION: b }, ce.CPU = { ARCHITECTURE: I }, ce.DEVICE = { MODEL: h, VENDOR: S, TYPE: C, 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() {
8475
8481
  return ce;
8476
8482
  }).call(r, n, r, e), i !== s && (e.exports = i)) : o && (o.UAParser = ce);
8477
8483
  var we = o && (o.jQuery || o.Zepto);
@@ -8502,14 +8508,14 @@ function b1() {
8502
8508
  value: !0
8503
8509
  });
8504
8510
  var i = Object.assign || function(m) {
8505
- for (var S = 1; S < arguments.length; S++) {
8506
- var C = arguments[S];
8507
- for (var b in C)
8508
- Object.prototype.hasOwnProperty.call(C, b) && (m[b] = C[b]);
8511
+ for (var C = 1; C < arguments.length; C++) {
8512
+ var S = arguments[C];
8513
+ for (var b in S)
8514
+ Object.prototype.hasOwnProperty.call(S, b) && (m[b] = S[b]);
8509
8515
  }
8510
8516
  return m;
8511
- }, o = n(0), s = o.DEVICE_TYPES, a = o.defaultData, l = function(S) {
8512
- switch (S) {
8517
+ }, o = n(0), s = o.DEVICE_TYPES, a = o.defaultData, l = function(C) {
8518
+ switch (C) {
8513
8519
  case s.MOBILE:
8514
8520
  return { isMobile: !0 };
8515
8521
  case s.TABLET:
@@ -8525,65 +8531,65 @@ function b1() {
8525
8531
  default:
8526
8532
  return a;
8527
8533
  }
8528
- }, d = function(S, C, b, I, k) {
8534
+ }, c = function(C, S, b, I, k) {
8529
8535
  return {
8530
- isBrowser: S,
8531
- browserMajorVersion: C.major,
8532
- browserFullVersion: C.version,
8533
- browserName: C.name,
8536
+ isBrowser: C,
8537
+ browserMajorVersion: S.major,
8538
+ browserFullVersion: S.version,
8539
+ browserName: S.name,
8534
8540
  engineName: b.name || !1,
8535
8541
  engineVersion: b.version,
8536
8542
  osName: I.name,
8537
8543
  osVersion: I.version,
8538
8544
  userAgent: k
8539
8545
  };
8540
- }, p = function(S, C, b, I) {
8541
- return i({}, S, {
8542
- vendor: C.vendor,
8543
- model: C.model,
8546
+ }, p = function(C, S, b, I) {
8547
+ return i({}, C, {
8548
+ vendor: S.vendor,
8549
+ model: S.model,
8544
8550
  os: b.name,
8545
8551
  osVersion: b.version,
8546
8552
  ua: I
8547
8553
  });
8548
- }, f = function(S, C, b, I) {
8554
+ }, f = function(C, S, b, I) {
8549
8555
  return {
8550
- isSmartTV: S,
8551
- engineName: C.name,
8552
- engineVersion: C.version,
8556
+ isSmartTV: C,
8557
+ engineName: S.name,
8558
+ engineVersion: S.version,
8553
8559
  osName: b.name,
8554
8560
  osVersion: b.version,
8555
8561
  userAgent: I
8556
8562
  };
8557
- }, c = function(S, C, b, I) {
8563
+ }, d = function(C, S, b, I) {
8558
8564
  return {
8559
- isConsole: S,
8560
- engineName: C.name,
8561
- engineVersion: C.version,
8565
+ isConsole: C,
8566
+ engineName: S.name,
8567
+ engineVersion: S.version,
8562
8568
  osName: b.name,
8563
8569
  osVersion: b.version,
8564
8570
  userAgent: I
8565
8571
  };
8566
- }, g = function(S, C, b, I) {
8572
+ }, g = function(C, S, b, I) {
8567
8573
  return {
8568
- isWearable: S,
8569
- engineName: C.name,
8570
- engineVersion: C.version,
8574
+ isWearable: C,
8575
+ engineName: S.name,
8576
+ engineVersion: S.version,
8571
8577
  osName: b.name,
8572
8578
  osVersion: b.version,
8573
8579
  userAgent: I
8574
8580
  };
8575
8581
  }, w = r.getNavigatorInstance = function() {
8576
8582
  return typeof window != "undefined" && (window.navigator || navigator) ? window.navigator || navigator : !1;
8577
- }, h = r.isIOS13Check = function(S) {
8578
- var C = w();
8579
- return C && C.platform && (C.platform.indexOf(S) !== -1 || C.platform === "MacIntel" && C.maxTouchPoints > 1 && !window.MSStream);
8583
+ }, h = r.isIOS13Check = function(C) {
8584
+ var S = w();
8585
+ return S && S.platform && (S.platform.indexOf(C) !== -1 || S.platform === "MacIntel" && S.maxTouchPoints > 1 && !window.MSStream);
8580
8586
  };
8581
8587
  e.exports = {
8582
8588
  checkType: l,
8583
- broPayload: d,
8589
+ broPayload: c,
8584
8590
  mobilePayload: p,
8585
8591
  stvPayload: f,
8586
- consolePayload: c,
8592
+ consolePayload: d,
8587
8593
  wearPayload: g,
8588
8594
  getNavigatorInstance: w,
8589
8595
  isIOS13Check: h
@@ -8593,14 +8599,14 @@ function b1() {
8593
8599
  ]);
8594
8600
  })($i)), $i.exports;
8595
8601
  }
8596
- var C1 = b1(), S1 = Object.defineProperty, Or = (t, e, r, n) => {
8602
+ var S1 = b1(), C1 = Object.defineProperty, hr = (t, e, r, n) => {
8597
8603
  for (var i = void 0, o = t.length - 1, s; o >= 0; o--)
8598
8604
  (s = t[o]) && (i = s(e, r, i) || i);
8599
- return i && S1(e, r, i), i;
8605
+ return i && C1(e, r, i), i;
8600
8606
  };
8601
8607
  const No = class No extends Pr {
8602
8608
  constructor() {
8603
- super(...arguments), this._currentProgressElement = null, this._currentScreenElement = null, this._currentScreenModuleId = "", this._currentScreenConfig = null, this.orientation = new y1(this), this.store = Ue.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) => {
8609
+ super(...arguments), this._currentProgressElement = null, this._currentScreenElement = null, this._currentScreenModuleId = "", this._currentScreenConfig = null, this.orientation = new y1(this), this.store = Ue.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.nonce = this.store.nonce, this._listenerFromModule = (e, r) => {
8604
8610
  this.store.listener({
8605
8611
  eventType: Fn.MESSAGE,
8606
8612
  message: r,
@@ -8614,7 +8620,7 @@ const No = class No extends Pr {
8614
8620
  }
8615
8621
  connectedCallback() {
8616
8622
  super.connectedCallback(), this.unsubscribeFromStore = Ue.subscribe((e) => {
8617
- this.currentScreenConfig = e.currentScreenConfig, this.processingScreenFromWorkflow = e.processingTransformedTemplate, this.isProcessing = e.isProcessing, this.loadedModules = e.externalModules, this.modulesConfig = e.modulesConfig;
8623
+ this.currentScreenConfig = e.currentScreenConfig, this.processingScreenFromWorkflow = e.processingTransformedTemplate, this.isProcessing = e.isProcessing, this.loadedModules = e.externalModules, this.modulesConfig = e.modulesConfig, this.nonce = e.nonce;
8618
8624
  });
8619
8625
  }
8620
8626
  _processingScreen() {
@@ -8645,12 +8651,13 @@ const No = class No extends Pr {
8645
8651
  moduleProps: this.currentScreenConfig,
8646
8652
  modulesConfig: this.modulesConfig,
8647
8653
  idvEventListener: this._listenerFromModule,
8648
- isProcessing: this._isProcessingCallback
8654
+ isProcessing: this._isProcessingCallback,
8655
+ nonce: this.nonce
8649
8656
  };
8650
8657
  return (!this._currentScreenElement || !this._isTheSameModuleAndScreen(e)) && (this._currentScreenElement = Hs(e.id, r), this._currentScreenModuleId = e.id, this._currentScreenConfig = this.currentScreenConfig), this._currentScreenElement;
8651
8658
  }
8652
8659
  get version() {
8653
- return `${"3.2.268-nightly".trim()}`;
8660
+ return `${"3.2.270-nightly".trim()}`;
8654
8661
  }
8655
8662
  disconnectedCallback() {
8656
8663
  var e;
@@ -8660,7 +8667,7 @@ const No = class No extends Pr {
8660
8667
  return !this.currentScreenConfig && !this.processingScreenFromWorkflow ? null : Oi`<div
8661
8668
  part="idv"
8662
8669
  class="idv"
8663
- data-device="${C1.isMobile && this.orientation.isPortrait ? "mobile" : "desktop"}"
8670
+ data-device="${S1.isMobile && this.orientation.isPortrait ? "mobile" : "desktop"}"
8664
8671
  data-direction="${ia.Ltr}"
8665
8672
  >
8666
8673
  <div class="container">
@@ -8671,25 +8678,28 @@ const No = class No extends Pr {
8671
8678
  }
8672
8679
  };
8673
8680
  No.styles = [ac];
8674
- let Bt = No;
8675
- Or([
8676
- Er()
8677
- ], Bt.prototype, "store");
8678
- Or([
8679
- Er()
8680
- ], Bt.prototype, "currentScreenConfig");
8681
- Or([
8682
- Er()
8683
- ], Bt.prototype, "processingScreenFromWorkflow");
8684
- Or([
8685
- Er()
8686
- ], Bt.prototype, "isProcessing");
8687
- Or([
8688
- Er()
8689
- ], Bt.prototype, "loadedModules");
8690
- Or([
8691
- Er()
8692
- ], Bt.prototype, "modulesConfig");
8681
+ let vt = No;
8682
+ hr([
8683
+ dr()
8684
+ ], vt.prototype, "store");
8685
+ hr([
8686
+ dr()
8687
+ ], vt.prototype, "currentScreenConfig");
8688
+ hr([
8689
+ dr()
8690
+ ], vt.prototype, "processingScreenFromWorkflow");
8691
+ hr([
8692
+ dr()
8693
+ ], vt.prototype, "isProcessing");
8694
+ hr([
8695
+ dr()
8696
+ ], vt.prototype, "loadedModules");
8697
+ hr([
8698
+ dr()
8699
+ ], vt.prototype, "modulesConfig");
8700
+ hr([
8701
+ dr()
8702
+ ], vt.prototype, "nonce");
8693
8703
  class M1 {
8694
8704
  /** main commands */
8695
8705
  initialize(e) {
@@ -8721,11 +8731,11 @@ class M1 {
8721
8731
  return F(this, null, function* () {
8722
8732
  const n = Ue.getState().trackLocation ? yield _d() : null;
8723
8733
  return new Promise((i) => {
8724
- const o = (d) => {
8725
- i(d);
8734
+ const o = (c) => {
8735
+ i(c);
8726
8736
  }, s = e == null ? void 0 : e.locale, a = e == null ? void 0 : e.metadata, l = fd(s);
8727
- Ue.getState().startNewSession({ completion: o, locale: l, metadata: a, location: n }).then((d) => {
8728
- d.error && (Ue.getState().removeCurrentSessionDataLsAndStore(), o(d)), d.results && (Ue.getState().removeCurrentSessionDataLsAndStore(), o(d)), Ue.getState().playWorkflow();
8737
+ Ue.getState().startNewSession({ completion: o, locale: l, metadata: a, location: n }).then((c) => {
8738
+ c.error && (Ue.getState().removeCurrentSessionDataLsAndStore(), o(c)), c.results && (Ue.getState().removeCurrentSessionDataLsAndStore(), o(c)), Ue.getState().playWorkflow();
8729
8739
  });
8730
8740
  });
8731
8741
  });
@@ -8737,7 +8747,7 @@ class M1 {
8737
8747
  }
8738
8748
  /** service commands */
8739
8749
  get version() {
8740
- return "3.2.268-nightly";
8750
+ return "3.2.270-nightly";
8741
8751
  }
8742
8752
  set nonce(e) {
8743
8753
  Ue.getState().setNonce(e);
@@ -8754,21 +8764,21 @@ class M1 {
8754
8764
  }
8755
8765
  }
8756
8766
  const E1 = window.customElements.get("idv-flow");
8757
- E1 || window.customElements.define("idv-flow", Bt);
8767
+ E1 || window.customElements.define("idv-flow", vt);
8758
8768
  export {
8759
- Ce as BaseError,
8769
+ Se as BaseError,
8760
8770
  gd as BaseModule,
8761
8771
  Kt as ConnectionError,
8762
8772
  Ln as DeinitializationError,
8763
8773
  Fn as IdvEventTypesEnum,
8764
8774
  M1 as IdvIntegrationService,
8765
8775
  Mr as IdvServiceMessages,
8766
- Bt as IdvWebComponent,
8776
+ vt as IdvWebComponent,
8767
8777
  ti as InitializeError,
8768
- Et as PrepareWorkflowError,
8778
+ Tt as PrepareWorkflowError,
8769
8779
  lt as SessionError,
8770
8780
  tr as StartSessionError,
8771
8781
  Ke as WorkflowError,
8772
- Tt as WorkflowPlatformError,
8782
+ Ot as WorkflowPlatformError,
8773
8783
  wd as registerModule
8774
8784
  };