@regulaforensics/idv-capture-web 3.2.293-nightly → 3.2.295-nightly

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -1,22 +1,22 @@
1
- var zc = Object.defineProperty, Cc = Object.defineProperties;
2
- var bc = Object.getOwnPropertyDescriptors;
1
+ var zc = Object.defineProperty, bc = Object.defineProperties;
2
+ var Lc = Object.getOwnPropertyDescriptors;
3
3
  var _i = Object.getOwnPropertySymbols;
4
- var Po = Object.prototype.hasOwnProperty, Yo = Object.prototype.propertyIsEnumerable;
5
- var Fo = Math.pow, Qo = (t, e, r) => e in t ? zc(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, S = (t, e) => {
4
+ var Yo = Object.prototype.hasOwnProperty, Fo = Object.prototype.propertyIsEnumerable;
5
+ var Vo = Math.pow, Po = (t, e, r) => e in t ? zc(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, S = (t, e) => {
6
6
  for (var r in e || (e = {}))
7
- Po.call(e, r) && Qo(t, r, e[r]);
7
+ Yo.call(e, r) && Po(t, r, e[r]);
8
8
  if (_i)
9
9
  for (var r of _i(e))
10
- Yo.call(e, r) && Qo(t, r, e[r]);
10
+ Fo.call(e, r) && Po(t, r, e[r]);
11
11
  return t;
12
- }, X = (t, e) => Cc(t, bc(e));
12
+ }, X = (t, e) => bc(t, Lc(e));
13
13
  var Xt = (t, e) => {
14
14
  var r = {};
15
15
  for (var i in t)
16
- Po.call(t, i) && e.indexOf(i) < 0 && (r[i] = t[i]);
16
+ Yo.call(t, i) && e.indexOf(i) < 0 && (r[i] = t[i]);
17
17
  if (t != null && _i)
18
18
  for (var i of _i(t))
19
- e.indexOf(i) < 0 && Yo.call(t, i) && (r[i] = t[i]);
19
+ e.indexOf(i) < 0 && Fo.call(t, i) && (r[i] = t[i]);
20
20
  return r;
21
21
  };
22
22
  var L = (t, e, r) => new Promise((i, n) => {
@@ -35,18 +35,18 @@ var L = (t, e, r) => new Promise((i, n) => {
35
35
  }, a = (c) => c.done ? i(c.value) : Promise.resolve(c.value).then(o, s);
36
36
  a((r = r.apply(t, e)).next());
37
37
  });
38
- const zi = globalThis, to = zi.ShadowRoot && (zi.ShadyCSS === void 0 || zi.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, ro = /* @__PURE__ */ Symbol(), Vo = /* @__PURE__ */ new WeakMap();
39
- let Ks = class {
38
+ const Ci = globalThis, ro = Ci.ShadowRoot && (Ci.ShadyCSS === void 0 || Ci.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, io = /* @__PURE__ */ Symbol(), Bo = /* @__PURE__ */ new WeakMap();
39
+ let Js = class {
40
40
  constructor(e, r, i) {
41
- if (this._$cssResult$ = !0, i !== ro) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
41
+ if (this._$cssResult$ = !0, i !== io) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
42
42
  this.cssText = e, this.t = r;
43
43
  }
44
44
  get styleSheet() {
45
45
  let e = this.o;
46
46
  const r = this.t;
47
- if (to && e === void 0) {
47
+ if (ro && e === void 0) {
48
48
  const i = r !== void 0 && r.length === 1;
49
- i && (e = Vo.get(r)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), i && Vo.set(r, e));
49
+ i && (e = Bo.get(r)), e === void 0 && ((this.o = e = new CSSStyleSheet()).replaceSync(this.cssText), i && Bo.set(r, e));
50
50
  }
51
51
  return e;
52
52
  }
@@ -54,28 +54,28 @@ let Ks = class {
54
54
  return this.cssText;
55
55
  }
56
56
  };
57
- const Lc = (t) => new Ks(typeof t == "string" ? t : t + "", void 0, ro), kc = (t, ...e) => {
57
+ const kc = (t) => new Js(typeof t == "string" ? t : t + "", void 0, io), Uc = (t, ...e) => {
58
58
  const r = t.length === 1 ? t[0] : e.reduce((i, n, o) => i + ((s) => {
59
59
  if (s._$cssResult$ === !0) return s.cssText;
60
60
  if (typeof s == "number") return s;
61
61
  throw Error("Value passed to 'css' function must be a 'css' function result: " + s + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
62
62
  })(n) + t[o + 1], t[0]);
63
- return new Ks(r, t, ro);
64
- }, Uc = (t, e) => {
65
- if (to) t.adoptedStyleSheets = e.map((r) => r instanceof CSSStyleSheet ? r : r.styleSheet);
63
+ return new Js(r, t, io);
64
+ }, Rc = (t, e) => {
65
+ if (ro) t.adoptedStyleSheets = e.map((r) => r instanceof CSSStyleSheet ? r : r.styleSheet);
66
66
  else for (const r of e) {
67
- const i = document.createElement("style"), n = zi.litNonce;
67
+ const i = document.createElement("style"), n = Ci.litNonce;
68
68
  n !== void 0 && i.setAttribute("nonce", n), i.textContent = r.cssText, t.appendChild(i);
69
69
  }
70
- }, Bo = to ? (t) => t : (t) => t instanceof CSSStyleSheet ? ((e) => {
70
+ }, Wo = ro ? (t) => t : (t) => t instanceof CSSStyleSheet ? ((e) => {
71
71
  let r = "";
72
72
  for (const i of e.cssRules) r += i.cssText;
73
- return Lc(r);
73
+ return kc(r);
74
74
  })(t) : t;
75
- const { is: Rc, defineProperty: Qc, getOwnPropertyDescriptor: Pc, getOwnPropertyNames: Yc, getOwnPropertySymbols: Fc, getPrototypeOf: Vc } = Object, Zt = globalThis, Wo = Zt.trustedTypes, Bc = Wo ? Wo.emptyScript : "", jn = Zt.reactiveElementPolyfillSupport, br = (t, e) => t, bi = { toAttribute(t, e) {
75
+ const { is: Qc, defineProperty: Pc, getOwnPropertyDescriptor: Yc, getOwnPropertyNames: Fc, getOwnPropertySymbols: Vc, getPrototypeOf: Bc } = Object, Zt = globalThis, $o = Zt.trustedTypes, Wc = $o ? $o.emptyScript : "", jn = Zt.reactiveElementPolyfillSupport, br = (t, e) => t, bi = { toAttribute(t, e) {
76
76
  switch (e) {
77
77
  case Boolean:
78
- t = t ? Bc : null;
78
+ t = t ? Wc : null;
79
79
  break;
80
80
  case Object:
81
81
  case Array:
@@ -100,9 +100,9 @@ const { is: Rc, defineProperty: Qc, getOwnPropertyDescriptor: Pc, getOwnProperty
100
100
  }
101
101
  }
102
102
  return r;
103
- } }, io = (t, e) => !Rc(t, e), $o = { attribute: !0, type: String, converter: bi, reflect: !1, useDefault: !1, hasChanged: io };
104
- var Bs, Ws;
105
- (Bs = Symbol.metadata) != null || (Symbol.metadata = /* @__PURE__ */ Symbol("metadata")), (Ws = Zt.litPropertyMetadata) != null || (Zt.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
103
+ } }, no = (t, e) => !Qc(t, e), Ho = { attribute: !0, type: String, converter: bi, reflect: !1, useDefault: !1, hasChanged: no };
104
+ var Ws, $s;
105
+ (Ws = Symbol.metadata) != null || (Symbol.metadata = /* @__PURE__ */ Symbol("metadata")), ($s = Zt.litPropertyMetadata) != null || (Zt.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
106
106
  let hr = class extends HTMLElement {
107
107
  static addInitializer(e) {
108
108
  var r;
@@ -111,15 +111,15 @@ let hr = class extends HTMLElement {
111
111
  static get observedAttributes() {
112
112
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
113
113
  }
114
- static createProperty(e, r = $o) {
114
+ static createProperty(e, r = Ho) {
115
115
  if (r.state && (r.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(e) && ((r = Object.create(r)).wrapped = !0), this.elementProperties.set(e, r), !r.noAccessor) {
116
116
  const i = /* @__PURE__ */ Symbol(), n = this.getPropertyDescriptor(e, i, r);
117
- n !== void 0 && Qc(this.prototype, e, n);
117
+ n !== void 0 && Pc(this.prototype, e, n);
118
118
  }
119
119
  }
120
120
  static getPropertyDescriptor(e, r, i) {
121
121
  var s;
122
- const { get: n, set: o } = (s = Pc(this.prototype, e)) != null ? s : { get() {
122
+ const { get: n, set: o } = (s = Yc(this.prototype, e)) != null ? s : { get() {
123
123
  return this[r];
124
124
  }, set(a) {
125
125
  this[r] = a;
@@ -131,17 +131,17 @@ let hr = class extends HTMLElement {
131
131
  }
132
132
  static getPropertyOptions(e) {
133
133
  var r;
134
- return (r = this.elementProperties.get(e)) != null ? r : $o;
134
+ return (r = this.elementProperties.get(e)) != null ? r : Ho;
135
135
  }
136
136
  static _$Ei() {
137
137
  if (this.hasOwnProperty(br("elementProperties"))) return;
138
- const e = Vc(this);
138
+ const e = Bc(this);
139
139
  e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
140
140
  }
141
141
  static finalize() {
142
142
  if (this.hasOwnProperty(br("finalized"))) return;
143
143
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(br("properties"))) {
144
- const r = this.properties, i = [...Yc(r), ...Fc(r)];
144
+ const r = this.properties, i = [...Fc(r), ...Vc(r)];
145
145
  for (const n of i) this.createProperty(n, r[n]);
146
146
  }
147
147
  const e = this[Symbol.metadata];
@@ -160,8 +160,8 @@ let hr = class extends HTMLElement {
160
160
  const r = [];
161
161
  if (Array.isArray(e)) {
162
162
  const i = new Set(e.flat(1 / 0).reverse());
163
- for (const n of i) r.unshift(Bo(n));
164
- } else e !== void 0 && r.push(Bo(e));
163
+ for (const n of i) r.unshift(Wo(n));
164
+ } else e !== void 0 && r.push(Wo(e));
165
165
  return r;
166
166
  }
167
167
  static _$Eu(e, r) {
@@ -191,7 +191,7 @@ let hr = class extends HTMLElement {
191
191
  createRenderRoot() {
192
192
  var r;
193
193
  const e = (r = this.shadowRoot) != null ? r : this.attachShadow(this.constructor.shadowRootOptions);
194
- return Uc(e, this.constructor.elementStyles), e;
194
+ return Rc(e, this.constructor.elementStyles), e;
195
195
  }
196
196
  connectedCallback() {
197
197
  var e, r;
@@ -234,7 +234,7 @@ let hr = class extends HTMLElement {
234
234
  var s, a;
235
235
  if (e !== void 0) {
236
236
  const c = this.constructor;
237
- if (n === !1 && (o = this[e]), i != null || (i = c.getPropertyOptions(e)), !(((s = i.hasChanged) != null ? s : io)(o, r) || i.useDefault && i.reflect && o === ((a = this._$Ej) == null ? void 0 : a.get(e)) && !this.hasAttribute(c._$Eu(e, i)))) return;
237
+ if (n === !1 && (o = this[e]), i != null || (i = c.getPropertyOptions(e)), !(((s = i.hasChanged) != null ? s : no)(o, r) || i.useDefault && i.reflect && o === ((a = this._$Ej) == null ? void 0 : a.get(e)) && !this.hasAttribute(c._$Eu(e, i)))) return;
238
238
  this.C(e, r, i);
239
239
  }
240
240
  this.isUpdatePending === !1 && (this._$ES = this._$EP());
@@ -313,44 +313,44 @@ let hr = class extends HTMLElement {
313
313
  firstUpdated(e) {
314
314
  }
315
315
  };
316
- var $s;
317
- hr.elementStyles = [], hr.shadowRootOptions = { mode: "open" }, hr[br("elementProperties")] = /* @__PURE__ */ new Map(), hr[br("finalized")] = /* @__PURE__ */ new Map(), jn == null || jn({ ReactiveElement: hr }), (($s = Zt.reactiveElementVersions) != null ? $s : Zt.reactiveElementVersions = []).push("2.1.2");
318
- const Lr = globalThis, Ho = (t) => t, Li = Lr.trustedTypes, Zo = Li ? Li.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, Js = "$lit$", Ht = `lit$${Math.random().toFixed(9).slice(2)}$`, Xs = "?" + Ht, Wc = `<${Xs}>`, cr = document, $r = () => cr.createComment(""), Hr = (t) => t === null || typeof t != "object" && typeof t != "function", no = Array.isArray, $c = (t) => no(t) || typeof (t == null ? void 0 : t[Symbol.iterator]) == "function", wn = `[
319
- \f\r]`, Or = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Go = /-->/g, Ko = />/g, qt = RegExp(`>|${wn}(?:([^\\s"'>=/]+)(${wn}*=${wn}*(?:[^
320
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Jo = /'/g, Xo = /"/g, qs = /^(?:script|style|textarea|title)$/i, Hc = (t) => (e, ...r) => ({ _$litType$: t, strings: e, values: r }), Sn = Hc(1), Er = /* @__PURE__ */ Symbol.for("lit-noChange"), ve = /* @__PURE__ */ Symbol.for("lit-nothing"), qo = /* @__PURE__ */ new WeakMap(), or = cr.createTreeWalker(cr, 129);
321
- function ea(t, e) {
322
- if (!no(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
323
- return Zo !== void 0 ? Zo.createHTML(e) : e;
324
- }
325
- const Zc = (t, e) => {
316
+ var Hs;
317
+ hr.elementStyles = [], hr.shadowRootOptions = { mode: "open" }, hr[br("elementProperties")] = /* @__PURE__ */ new Map(), hr[br("finalized")] = /* @__PURE__ */ new Map(), jn == null || jn({ ReactiveElement: hr }), ((Hs = Zt.reactiveElementVersions) != null ? Hs : Zt.reactiveElementVersions = []).push("2.1.2");
318
+ const Lr = globalThis, Zo = (t) => t, Li = Lr.trustedTypes, Go = Li ? Li.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, Xs = "$lit$", Ht = `lit$${Math.random().toFixed(9).slice(2)}$`, qs = "?" + Ht, $c = `<${qs}>`, cr = document, $r = () => cr.createComment(""), Hr = (t) => t === null || typeof t != "object" && typeof t != "function", oo = Array.isArray, Hc = (t) => oo(t) || typeof (t == null ? void 0 : t[Symbol.iterator]) == "function", wn = `[
319
+ \f\r]`, Or = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ko = /-->/g, Jo = />/g, qt = RegExp(`>|${wn}(?:([^\\s"'>=/]+)(${wn}*=${wn}*(?:[^
320
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Xo = /'/g, qo = /"/g, ea = /^(?:script|style|textarea|title)$/i, Zc = (t) => (e, ...r) => ({ _$litType$: t, strings: e, values: r }), Sn = Zc(1), Er = /* @__PURE__ */ Symbol.for("lit-noChange"), ve = /* @__PURE__ */ Symbol.for("lit-nothing"), es = /* @__PURE__ */ new WeakMap(), or = cr.createTreeWalker(cr, 129);
321
+ function ta(t, e) {
322
+ if (!oo(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
323
+ return Go !== void 0 ? Go.createHTML(e) : e;
324
+ }
325
+ const Gc = (t, e) => {
326
326
  const r = t.length - 1, i = [];
327
327
  let n, o = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", s = Or;
328
328
  for (let a = 0; a < r; a++) {
329
329
  const c = t[a];
330
330
  let l, D, d = -1, u = 0;
331
- for (; u < c.length && (s.lastIndex = u, D = s.exec(c), D !== null); ) u = s.lastIndex, s === Or ? D[1] === "!--" ? s = Go : D[1] !== void 0 ? s = Ko : D[2] !== void 0 ? (qs.test(D[2]) && (n = RegExp("</" + D[2], "g")), s = qt) : D[3] !== void 0 && (s = qt) : s === qt ? D[0] === ">" ? (s = n != null ? n : Or, d = -1) : D[1] === void 0 ? d = -2 : (d = s.lastIndex - D[2].length, l = D[1], s = D[3] === void 0 ? qt : D[3] === '"' ? Xo : Jo) : s === Xo || s === Jo ? s = qt : s === Go || s === Ko ? s = Or : (s = qt, n = void 0);
331
+ for (; u < c.length && (s.lastIndex = u, D = s.exec(c), D !== null); ) u = s.lastIndex, s === Or ? D[1] === "!--" ? s = Ko : D[1] !== void 0 ? s = Jo : D[2] !== void 0 ? (ea.test(D[2]) && (n = RegExp("</" + D[2], "g")), s = qt) : D[3] !== void 0 && (s = qt) : s === qt ? D[0] === ">" ? (s = n != null ? n : Or, d = -1) : D[1] === void 0 ? d = -2 : (d = s.lastIndex - D[2].length, l = D[1], s = D[3] === void 0 ? qt : D[3] === '"' ? qo : Xo) : s === qo || s === Xo ? s = qt : s === Ko || s === Jo ? s = Or : (s = qt, n = void 0);
332
332
  const g = s === qt && t[a + 1].startsWith("/>") ? " " : "";
333
- o += s === Or ? c + Wc : d >= 0 ? (i.push(l), c.slice(0, d) + Js + c.slice(d) + Ht + g) : c + Ht + (d === -2 ? a : g);
333
+ o += s === Or ? c + $c : d >= 0 ? (i.push(l), c.slice(0, d) + Xs + c.slice(d) + Ht + g) : c + Ht + (d === -2 ? a : g);
334
334
  }
335
- return [ea(t, o + (t[r] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), i];
335
+ return [ta(t, o + (t[r] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), i];
336
336
  };
337
- let Fn = class ta {
337
+ let Fn = class ra {
338
338
  constructor({ strings: e, _$litType$: r }, i) {
339
339
  let n;
340
340
  this.parts = [];
341
341
  let o = 0, s = 0;
342
- const a = e.length - 1, c = this.parts, [l, D] = Zc(e, r);
343
- if (this.el = ta.createElement(l, i), or.currentNode = this.el.content, r === 2 || r === 3) {
342
+ const a = e.length - 1, c = this.parts, [l, D] = Gc(e, r);
343
+ if (this.el = ra.createElement(l, i), or.currentNode = this.el.content, r === 2 || r === 3) {
344
344
  const d = this.el.content.firstChild;
345
345
  d.replaceWith(...d.childNodes);
346
346
  }
347
347
  for (; (n = or.nextNode()) !== null && c.length < a; ) {
348
348
  if (n.nodeType === 1) {
349
- if (n.hasAttributes()) for (const d of n.getAttributeNames()) if (d.endsWith(Js)) {
349
+ if (n.hasAttributes()) for (const d of n.getAttributeNames()) if (d.endsWith(Xs)) {
350
350
  const u = D[s++], g = n.getAttribute(d).split(Ht), f = /([.?@])?(.*)/.exec(u);
351
- c.push({ type: 1, index: o, name: f[2], strings: g, ctor: f[1] === "." ? Kc : f[1] === "?" ? Jc : f[1] === "@" ? Xc : Xi }), n.removeAttribute(d);
351
+ c.push({ type: 1, index: o, name: f[2], strings: g, ctor: f[1] === "." ? Jc : f[1] === "?" ? Xc : f[1] === "@" ? qc : Xi }), n.removeAttribute(d);
352
352
  } else d.startsWith(Ht) && (c.push({ type: 6, index: o }), n.removeAttribute(d));
353
- if (qs.test(n.tagName)) {
353
+ if (ea.test(n.tagName)) {
354
354
  const d = n.textContent.split(Ht), u = d.length - 1;
355
355
  if (u > 0) {
356
356
  n.textContent = Li ? Li.emptyScript : "";
@@ -358,7 +358,7 @@ let Fn = class ta {
358
358
  n.append(d[u], $r());
359
359
  }
360
360
  }
361
- } else if (n.nodeType === 8) if (n.data === Xs) c.push({ type: 2, index: o });
361
+ } else if (n.nodeType === 8) if (n.data === qs) c.push({ type: 2, index: o });
362
362
  else {
363
363
  let d = -1;
364
364
  for (; (d = n.data.indexOf(Ht, d + 1)) !== -1; ) c.push({ type: 7, index: o }), d += Ht.length - 1;
@@ -378,7 +378,7 @@ function mr(t, e, r = t, i) {
378
378
  const o = Hr(e) ? void 0 : e._$litDirective$;
379
379
  return (n == null ? void 0 : n.constructor) !== o && ((a = n == null ? void 0 : n._$AO) == null || a.call(n, !1), o === void 0 ? n = void 0 : (n = new o(t), n._$AT(t, r, i)), i !== void 0 ? ((c = r._$Co) != null ? c : r._$Co = [])[i] = n : r._$Cl = n), n !== void 0 && (e = mr(t, n._$AS(t, e.values), n, i)), e;
380
380
  }
381
- let Gc = class {
381
+ let Kc = class {
382
382
  constructor(e, r) {
383
383
  this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = r;
384
384
  }
@@ -396,7 +396,7 @@ let Gc = class {
396
396
  for (; c !== void 0; ) {
397
397
  if (s === c.index) {
398
398
  let D;
399
- c.type === 2 ? D = new oo(o, o.nextSibling, this, e) : c.type === 1 ? D = new c.ctor(o, c.name, c.strings, this, e) : c.type === 6 && (D = new qc(o, this, e)), this._$AV.push(D), c = i[++a];
399
+ c.type === 2 ? D = new so(o, o.nextSibling, this, e) : c.type === 1 ? D = new c.ctor(o, c.name, c.strings, this, e) : c.type === 6 && (D = new eu(o, this, e)), this._$AV.push(D), c = i[++a];
400
400
  }
401
401
  s !== (c == null ? void 0 : c.index) && (o = or.nextNode(), s++);
402
402
  }
@@ -406,7 +406,7 @@ let Gc = class {
406
406
  let r = 0;
407
407
  for (const i of this._$AV) i !== void 0 && (i.strings !== void 0 ? (i._$AI(e, i, r), r += i.strings.length - 2) : i._$AI(e[r])), r++;
408
408
  }
409
- }, oo = class ra {
409
+ }, so = class ia {
410
410
  get _$AU() {
411
411
  var e, r;
412
412
  return (r = (e = this._$AM) == null ? void 0 : e._$AU) != null ? r : this._$Cv;
@@ -427,7 +427,7 @@ let Gc = class {
427
427
  return this._$AB;
428
428
  }
429
429
  _$AI(e, r = this) {
430
- e = mr(this, e, r), Hr(e) ? e === ve || e == null || e === "" ? (this._$AH !== ve && this._$AR(), this._$AH = ve) : e !== this._$AH && e !== Er && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : $c(e) ? this.k(e) : this._(e);
430
+ e = mr(this, e, r), Hr(e) ? e === ve || e == null || e === "" ? (this._$AH !== ve && this._$AR(), this._$AH = ve) : e !== this._$AH && e !== Er && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : Hc(e) ? this.k(e) : this._(e);
431
431
  }
432
432
  O(e) {
433
433
  return this._$AA.parentNode.insertBefore(e, this._$AB);
@@ -440,29 +440,29 @@ let Gc = class {
440
440
  }
441
441
  $(e) {
442
442
  var o;
443
- const { values: r, _$litType$: i } = e, n = typeof i == "number" ? this._$AC(e) : (i.el === void 0 && (i.el = Fn.createElement(ea(i.h, i.h[0]), this.options)), i);
443
+ const { values: r, _$litType$: i } = e, n = typeof i == "number" ? this._$AC(e) : (i.el === void 0 && (i.el = Fn.createElement(ta(i.h, i.h[0]), this.options)), i);
444
444
  if (((o = this._$AH) == null ? void 0 : o._$AD) === n) this._$AH.p(r);
445
445
  else {
446
- const s = new Gc(n, this), a = s.u(this.options);
446
+ const s = new Kc(n, this), a = s.u(this.options);
447
447
  s.p(r), this.T(a), this._$AH = s;
448
448
  }
449
449
  }
450
450
  _$AC(e) {
451
- let r = qo.get(e.strings);
452
- return r === void 0 && qo.set(e.strings, r = new Fn(e)), r;
451
+ let r = es.get(e.strings);
452
+ return r === void 0 && es.set(e.strings, r = new Fn(e)), r;
453
453
  }
454
454
  k(e) {
455
- no(this._$AH) || (this._$AH = [], this._$AR());
455
+ oo(this._$AH) || (this._$AH = [], this._$AR());
456
456
  const r = this._$AH;
457
457
  let i, n = 0;
458
- for (const o of e) n === r.length ? r.push(i = new ra(this.O($r()), this.O($r()), this, this.options)) : i = r[n], i._$AI(o), n++;
458
+ for (const o of e) n === r.length ? r.push(i = new ia(this.O($r()), this.O($r()), this, this.options)) : i = r[n], i._$AI(o), n++;
459
459
  n < r.length && (this._$AR(i && i._$AB.nextSibling, n), r.length = n);
460
460
  }
461
461
  _$AR(e = this._$AA.nextSibling, r) {
462
462
  var i;
463
463
  for ((i = this._$AP) == null ? void 0 : i.call(this, !1, !0, r); e !== this._$AB; ) {
464
- const n = Ho(e).nextSibling;
465
- Ho(e).remove(), e = n;
464
+ const n = Zo(e).nextSibling;
465
+ Zo(e).remove(), e = n;
466
466
  }
467
467
  }
468
468
  setConnected(e) {
@@ -493,21 +493,21 @@ let Gc = class {
493
493
  j(e) {
494
494
  e === ve ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e != null ? e : "");
495
495
  }
496
- }, Kc = class extends Xi {
496
+ }, Jc = class extends Xi {
497
497
  constructor() {
498
498
  super(...arguments), this.type = 3;
499
499
  }
500
500
  j(e) {
501
501
  this.element[this.name] = e === ve ? void 0 : e;
502
502
  }
503
- }, Jc = class extends Xi {
503
+ }, Xc = class extends Xi {
504
504
  constructor() {
505
505
  super(...arguments), this.type = 4;
506
506
  }
507
507
  j(e) {
508
508
  this.element.toggleAttribute(this.name, !!e && e !== ve);
509
509
  }
510
- }, Xc = class extends Xi {
510
+ }, qc = class extends Xi {
511
511
  constructor(e, r, i, n, o) {
512
512
  super(e, r, i, n, o), this.type = 5;
513
513
  }
@@ -521,7 +521,7 @@ let Gc = class {
521
521
  var r, i;
522
522
  typeof this._$AH == "function" ? this._$AH.call((i = (r = this.options) == null ? void 0 : r.host) != null ? i : this.element, e) : this._$AH.handleEvent(e);
523
523
  }
524
- }, qc = class {
524
+ }, eu = class {
525
525
  constructor(e, r, i) {
526
526
  this.element = e, this.type = 6, this._$AN = void 0, this._$AM = r, this.options = i;
527
527
  }
@@ -533,15 +533,15 @@ let Gc = class {
533
533
  }
534
534
  };
535
535
  const _n = Lr.litHtmlPolyfillSupport;
536
- var Hs;
537
- _n == null || _n(Fn, oo), ((Hs = Lr.litHtmlVersions) != null ? Hs : Lr.litHtmlVersions = []).push("3.3.2");
538
- const eu = (t, e, r) => {
536
+ var Zs;
537
+ _n == null || _n(Fn, so), ((Zs = Lr.litHtmlVersions) != null ? Zs : Lr.litHtmlVersions = []).push("3.3.2");
538
+ const tu = (t, e, r) => {
539
539
  var o, s;
540
540
  const i = (o = r == null ? void 0 : r.renderBefore) != null ? o : e;
541
541
  let n = i._$litPart$;
542
542
  if (n === void 0) {
543
543
  const a = (s = r == null ? void 0 : r.renderBefore) != null ? s : null;
544
- i._$litPart$ = n = new oo(e.insertBefore($r(), a), a, void 0, r != null ? r : {});
544
+ i._$litPart$ = n = new so(e.insertBefore($r(), a), a, void 0, r != null ? r : {});
545
545
  }
546
546
  return n._$AI(t), n;
547
547
  };
@@ -557,7 +557,7 @@ let kr = class extends hr {
557
557
  }
558
558
  update(e) {
559
559
  const r = this.render();
560
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = eu(r, this.renderRoot, this.renderOptions);
560
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(e), this._$Do = tu(r, this.renderRoot, this.renderOptions);
561
561
  }
562
562
  connectedCallback() {
563
563
  var e;
@@ -571,13 +571,13 @@ let kr = class extends hr {
571
571
  return Er;
572
572
  }
573
573
  };
574
- var Zs;
575
- kr._$litElement$ = !0, kr.finalized = !0, (Zs = ar.litElementHydrateSupport) == null || Zs.call(ar, { LitElement: kr });
574
+ var Gs;
575
+ kr._$litElement$ = !0, kr.finalized = !0, (Gs = ar.litElementHydrateSupport) == null || Gs.call(ar, { LitElement: kr });
576
576
  const On = ar.litElementPolyfillSupport;
577
577
  On == null || On({ LitElement: kr });
578
- var Gs;
579
- ((Gs = ar.litElementVersions) != null ? Gs : ar.litElementVersions = []).push("4.2.2");
580
- const tu = { attribute: !0, type: String, converter: bi, reflect: !1, hasChanged: io }, ru = (t = tu, e, r) => {
578
+ var Ks;
579
+ ((Ks = ar.litElementVersions) != null ? Ks : ar.litElementVersions = []).push("4.2.2");
580
+ const ru = { attribute: !0, type: String, converter: bi, reflect: !1, hasChanged: no }, iu = (t = ru, e, r) => {
581
581
  const { kind: i, metadata: n } = r;
582
582
  let o = globalThis.litPropertyMetadata.get(n);
583
583
  if (o === void 0 && globalThis.litPropertyMetadata.set(n, o = /* @__PURE__ */ new Map()), i === "setter" && ((t = Object.create(t)).wrapped = !0), o.set(r.name, t), i === "accessor") {
@@ -598,16 +598,16 @@ const tu = { attribute: !0, type: String, converter: bi, reflect: !1, hasChanged
598
598
  }
599
599
  throw Error("Unsupported decorator location: " + i);
600
600
  };
601
- function iu(t) {
602
- return (e, r) => typeof r == "object" ? ru(t, e, r) : ((i, n, o) => {
601
+ function nu(t) {
602
+ return (e, r) => typeof r == "object" ? iu(t, e, r) : ((i, n, o) => {
603
603
  const s = n.hasOwnProperty(o);
604
604
  return n.constructor.createProperty(o, i), s ? Object.getOwnPropertyDescriptor(n, o) : void 0;
605
605
  })(t, e, r);
606
606
  }
607
607
  function lr(t) {
608
- return iu(X(S({}, t), { state: !0, attribute: !1 }));
608
+ return nu(X(S({}, t), { state: !0, attribute: !1 }));
609
609
  }
610
- class nu {
610
+ class ou {
611
611
  constructor() {
612
612
  this._domains = [], this._transports = [], this._logs = [], this._prevTime = 0;
613
613
  try {
@@ -652,7 +652,7 @@ class nu {
652
652
  n.download = "log.txt", n.href = i, n.click(), window.URL.revokeObjectURL(i), this.clearLogs();
653
653
  }
654
654
  }
655
- const ia = new nu(), ou = kc`
655
+ const na = new ou(), su = Uc`
656
656
  *,
657
657
  ::after,
658
658
  ::before {
@@ -701,9 +701,7 @@ const ia = new nu(), ou = kc`
701
701
  }
702
702
  .processing-overlay {
703
703
  position: absolute;
704
- top: 0;
705
- left: 0;
706
- flex: 1 1 100%;
704
+ inset: 0;
707
705
  display: flex;
708
706
  justify-content: center;
709
707
  align-items: center;
@@ -716,14 +714,14 @@ const ia = new nu(), ou = kc`
716
714
  `, ki = {
717
715
  MESSAGE: "MESSAGE",
718
716
  ERROR: "ERROR"
719
- }, su = {
717
+ }, au = {
720
718
  DATA: "DATA",
721
719
  QUESTIONARY: "QUESTIONARY",
722
720
  DOCREADER: "DOCREADER",
723
721
  LIVENESS: "LIVENESS"
724
- }, au = Object.values(su);
725
- var na = /* @__PURE__ */ ((t) => (t.Rtl = "rtl", t.Ltr = "ltr", t))(na || {}), Ur = /* @__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))(Ur || {}), wt = /* @__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))(wt || {}), Qe = /* @__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))(Qe || {}), Be = /* @__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))(Be || {}), qi = /* @__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))(qi || {}), Ui = /* @__PURE__ */ ((t) => (t[t.CONNECTION_ISSUE = 0] = "CONNECTION_ISSUE", t[t.WORKFLOW_ISSUE = 1] = "WORKFLOW_ISSUE", t))(Ui || {}), St = /* @__PURE__ */ ((t) => (t[t.HTTP_ISSUE = 0] = "HTTP_ISSUE", t[t.PROVIDER_ERROR = 1] = "PROVIDER_ERROR", t[t.DECODING_FAILED = 2] = "DECODING_FAILED", t))(St || {}), 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 || {}), ct = /* @__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))(ct || {}), Ri = /* @__PURE__ */ ((t) => (t[t.INITIALIZATION_REQUIRED = 0] = "INITIALIZATION_REQUIRED", t[t.SCENARIO_IN_PROGRESS = 3] = "SCENARIO_IN_PROGRESS", t))(Ri || {}), $t = /* @__PURE__ */ ((t) => (t[t.HTTP_ISSUE = 0] = "HTTP_ISSUE", t[t.PROVIDER_ERROR = 1] = "PROVIDER_ERROR", t))($t || {});
726
- const cu = 120, uu = 200, Vn = "PROGRESS", At = "IDV", er = "idv-session-data", xr = "idv-session-auth-token", lu = "rgl-uid", du = "en", es = (t) => {
722
+ }, cu = Object.values(au);
723
+ var oa = /* @__PURE__ */ ((t) => (t.Rtl = "rtl", t.Ltr = "ltr", t))(oa || {}), Ur = /* @__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))(Ur || {}), wt = /* @__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))(wt || {}), Qe = /* @__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))(Qe || {}), Be = /* @__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))(Be || {}), qi = /* @__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))(qi || {}), Ui = /* @__PURE__ */ ((t) => (t[t.CONNECTION_ISSUE = 0] = "CONNECTION_ISSUE", t[t.WORKFLOW_ISSUE = 1] = "WORKFLOW_ISSUE", t))(Ui || {}), St = /* @__PURE__ */ ((t) => (t[t.HTTP_ISSUE = 0] = "HTTP_ISSUE", t[t.PROVIDER_ERROR = 1] = "PROVIDER_ERROR", t[t.DECODING_FAILED = 2] = "DECODING_FAILED", t))(St || {}), 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 || {}), ct = /* @__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))(ct || {}), Ri = /* @__PURE__ */ ((t) => (t[t.INITIALIZATION_REQUIRED = 0] = "INITIALIZATION_REQUIRED", t[t.SCENARIO_IN_PROGRESS = 3] = "SCENARIO_IN_PROGRESS", t))(Ri || {}), $t = /* @__PURE__ */ ((t) => (t[t.HTTP_ISSUE = 0] = "HTTP_ISSUE", t[t.PROVIDER_ERROR = 1] = "PROVIDER_ERROR", t))($t || {});
724
+ const uu = 120, lu = 200, Vn = "PROGRESS", At = "IDV", er = "idv-session-data", xr = "idv-session-auth-token", du = "rgl-uid", Mu = "en", ts = (t) => {
727
725
  let e;
728
726
  const r = /* @__PURE__ */ new Set(), i = (l, D) => {
729
727
  const d = typeof l == "function" ? l(e) : l;
@@ -733,13 +731,13 @@ const cu = 120, uu = 200, Vn = "PROGRESS", At = "IDV", er = "idv-session-data",
733
731
  }
734
732
  }, n = () => e, a = { setState: i, getState: n, getInitialState: () => c, subscribe: (l) => (r.add(l), () => r.delete(l)) }, c = e = t(i, n, a);
735
733
  return a;
736
- }, Mu = (t) => t ? es(t) : es;
737
- var Gr, de, oa, rr, ts, sa, aa, ca, so, Bn, Wn, ua, Zr = {}, la = [], gu = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Kr = Array.isArray;
734
+ }, gu = (t) => t ? ts(t) : ts;
735
+ var Gr, de, sa, rr, rs, aa, ca, ua, ao, Bn, Wn, la, Zr = {}, da = [], Nu = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Kr = Array.isArray;
738
736
  function yt(t, e) {
739
737
  for (var r in e) t[r] = e[r];
740
738
  return t;
741
739
  }
742
- function ao(t) {
740
+ function co(t) {
743
741
  t && t.parentNode && t.parentNode.removeChild(t);
744
742
  }
745
743
  function pt(t, e, r) {
@@ -749,10 +747,10 @@ function pt(t, e, r) {
749
747
  return Rr(t, s, i, n, null);
750
748
  }
751
749
  function Rr(t, e, r, i, n) {
752
- var o = { type: t, props: e, key: r, ref: i, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: n == null ? ++oa : n, __i: -1, __u: 0 };
750
+ var o = { type: t, props: e, key: r, ref: i, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: n == null ? ++sa : n, __i: -1, __u: 0 };
753
751
  return n == null && de.vnode != null && de.vnode(o), o;
754
752
  }
755
- function da() {
753
+ function Ma() {
756
754
  return { current: null };
757
755
  }
758
756
  function He(t) {
@@ -766,38 +764,38 @@ function jr(t, e) {
766
764
  for (var r; e < t.__k.length; e++) if ((r = t.__k[e]) != null && r.__e != null) return r.__e;
767
765
  return typeof t.type == "function" ? jr(t) : null;
768
766
  }
769
- function Ma(t) {
767
+ function ga(t) {
770
768
  var e, r;
771
769
  if ((t = t.__) != null && t.__c != null) {
772
770
  for (t.__e = t.__c.base = null, e = 0; e < t.__k.length; e++) if ((r = t.__k[e]) != null && r.__e != null) {
773
771
  t.__e = t.__c.base = r.__e;
774
772
  break;
775
773
  }
776
- return Ma(t);
774
+ return ga(t);
777
775
  }
778
776
  }
779
777
  function $n(t) {
780
- (!t.__d && (t.__d = !0) && rr.push(t) && !Qi.__r++ || ts != de.debounceRendering) && ((ts = de.debounceRendering) || sa)(Qi);
778
+ (!t.__d && (t.__d = !0) && rr.push(t) && !Qi.__r++ || rs != de.debounceRendering) && ((rs = de.debounceRendering) || aa)(Qi);
781
779
  }
782
780
  function Qi() {
783
- for (var t, e, r, i, n, o, s, a = 1; rr.length; ) rr.length > a && rr.sort(aa), t = rr.shift(), a = rr.length, t.__d && (r = void 0, i = void 0, n = (i = (e = t).__v).__e, o = [], s = [], e.__P && ((r = yt({}, i)).__v = i.__v + 1, de.vnode && de.vnode(r), co(e.__P, r, i, e.__n, e.__P.namespaceURI, 32 & i.__u ? [n] : null, o, n == null ? jr(i) : n, !!(32 & i.__u), s), r.__v = i.__v, r.__.__k[r.__i] = r, Ia(o, r, s), i.__e = i.__ = null, r.__e != n && Ma(r)));
781
+ for (var t, e, r, i, n, o, s, a = 1; rr.length; ) rr.length > a && rr.sort(ca), t = rr.shift(), a = rr.length, t.__d && (r = void 0, i = void 0, n = (i = (e = t).__v).__e, o = [], s = [], e.__P && ((r = yt({}, i)).__v = i.__v + 1, de.vnode && de.vnode(r), uo(e.__P, r, i, e.__n, e.__P.namespaceURI, 32 & i.__u ? [n] : null, o, n == null ? jr(i) : n, !!(32 & i.__u), s), r.__v = i.__v, r.__.__k[r.__i] = r, fa(o, r, s), i.__e = i.__ = null, r.__e != n && ga(r)));
784
782
  Qi.__r = 0;
785
783
  }
786
- function ga(t, e, r, i, n, o, s, a, c, l, D) {
787
- var d, u, g, f, M, I, p, A = i && i.__k || la, E = e.length;
788
- for (c = Nu(r, e, A, c, E), d = 0; d < E; d++) (g = r.__k[d]) != null && (u = g.__i == -1 ? Zr : A[g.__i] || Zr, g.__i = d, I = co(t, g, u, n, o, s, a, c, l, D), f = g.__e, g.ref && u.ref != g.ref && (u.ref && uo(u.ref, null, g), D.push(g.ref, g.__c || f, g)), M == null && f != null && (M = f), (p = !!(4 & g.__u)) || u.__k === g.__k ? c = Na(g, c, t, p) : typeof g.type == "function" && I !== void 0 ? c = I : f && (c = f.nextSibling), g.__u &= -7);
784
+ function Na(t, e, r, i, n, o, s, a, c, l, D) {
785
+ var d, u, g, f, M, I, p, A = i && i.__k || da, E = e.length;
786
+ for (c = Iu(r, e, A, c, E), d = 0; d < E; d++) (g = r.__k[d]) != null && (u = g.__i == -1 ? Zr : A[g.__i] || Zr, g.__i = d, I = uo(t, g, u, n, o, s, a, c, l, D), f = g.__e, g.ref && u.ref != g.ref && (u.ref && lo(u.ref, null, g), D.push(g.ref, g.__c || f, g)), M == null && f != null && (M = f), (p = !!(4 & g.__u)) || u.__k === g.__k ? c = Ia(g, c, t, p) : typeof g.type == "function" && I !== void 0 ? c = I : f && (c = f.nextSibling), g.__u &= -7);
789
787
  return r.__e = M, c;
790
788
  }
791
- function Nu(t, e, r, i, n) {
789
+ function Iu(t, e, r, i, n) {
792
790
  var o, s, a, c, l, D = r.length, d = D, u = 0;
793
- for (t.__k = new Array(n), o = 0; o < n; o++) (s = e[o]) != null && typeof s != "boolean" && typeof s != "function" ? (typeof s == "string" || typeof s == "number" || typeof s == "bigint" || s.constructor == String ? s = t.__k[o] = Rr(null, s, null, null, null) : Kr(s) ? s = t.__k[o] = Rr(He, { children: s }, null, null, null) : s.constructor === void 0 && s.__b > 0 ? s = t.__k[o] = Rr(s.type, s.props, s.key, s.ref ? s.ref : null, s.__v) : t.__k[o] = s, c = o + u, s.__ = t, s.__b = t.__b + 1, a = null, (l = s.__i = Iu(s, r, c, d)) != -1 && (d--, (a = r[l]) && (a.__u |= 2)), a == null || a.__v == null ? (l == -1 && (n > D ? u-- : n < D && u++), typeof s.type != "function" && (s.__u |= 4)) : l != c && (l == c - 1 ? u-- : l == c + 1 ? u++ : (l > c ? u-- : u++, s.__u |= 4))) : t.__k[o] = null;
794
- if (d) for (o = 0; o < D; o++) (a = r[o]) != null && (2 & a.__u) == 0 && (a.__e == i && (i = jr(a)), Da(a, a));
791
+ for (t.__k = new Array(n), o = 0; o < n; o++) (s = e[o]) != null && typeof s != "boolean" && typeof s != "function" ? (typeof s == "string" || typeof s == "number" || typeof s == "bigint" || s.constructor == String ? s = t.__k[o] = Rr(null, s, null, null, null) : Kr(s) ? s = t.__k[o] = Rr(He, { children: s }, null, null, null) : s.constructor === void 0 && s.__b > 0 ? s = t.__k[o] = Rr(s.type, s.props, s.key, s.ref ? s.ref : null, s.__v) : t.__k[o] = s, c = o + u, s.__ = t, s.__b = t.__b + 1, a = null, (l = s.__i = fu(s, r, c, d)) != -1 && (d--, (a = r[l]) && (a.__u |= 2)), a == null || a.__v == null ? (l == -1 && (n > D ? u-- : n < D && u++), typeof s.type != "function" && (s.__u |= 4)) : l != c && (l == c - 1 ? u-- : l == c + 1 ? u++ : (l > c ? u-- : u++, s.__u |= 4))) : t.__k[o] = null;
792
+ if (d) for (o = 0; o < D; o++) (a = r[o]) != null && (2 & a.__u) == 0 && (a.__e == i && (i = jr(a)), ha(a, a));
795
793
  return i;
796
794
  }
797
- function Na(t, e, r, i) {
795
+ function Ia(t, e, r, i) {
798
796
  var n, o;
799
797
  if (typeof t.type == "function") {
800
- for (n = t.__k, o = 0; n && o < n.length; o++) n[o] && (n[o].__ = t, e = Na(n[o], e, r, i));
798
+ for (n = t.__k, o = 0; n && o < n.length; o++) n[o] && (n[o].__ = t, e = Ia(n[o], e, r, i));
801
799
  return e;
802
800
  }
803
801
  t.__e != e && (i && (e && t.type && !e.parentNode && (e = jr(t)), r.insertBefore(t.__e, e || null)), e = t.__e);
@@ -811,7 +809,7 @@ function Pt(t, e) {
811
809
  Pt(r, e);
812
810
  }) : e.push(t)), e;
813
811
  }
814
- function Iu(t, e, r, i) {
812
+ function fu(t, e, r, i) {
815
813
  var n, o, s, a = t.key, c = t.type, l = e[r], D = l != null && (2 & l.__u) == 0;
816
814
  if (l === null && a == null || D && a == l.key && c == l.type) return r;
817
815
  if (i > (D ? 1 : 0)) {
@@ -819,17 +817,17 @@ function Iu(t, e, r, i) {
819
817
  }
820
818
  return -1;
821
819
  }
822
- function rs(t, e, r) {
823
- e[0] == "-" ? t.setProperty(e, r == null ? "" : r) : t[e] = r == null ? "" : typeof r != "number" || gu.test(e) ? r : r + "px";
820
+ function is(t, e, r) {
821
+ e[0] == "-" ? t.setProperty(e, r == null ? "" : r) : t[e] = r == null ? "" : typeof r != "number" || Nu.test(e) ? r : r + "px";
824
822
  }
825
823
  function Oi(t, e, r, i, n) {
826
824
  var o, s;
827
825
  e: if (e == "style") if (typeof r == "string") t.style.cssText = r;
828
826
  else {
829
- if (typeof i == "string" && (t.style.cssText = i = ""), i) for (e in i) r && e in r || rs(t.style, e, "");
830
- if (r) for (e in r) i && r[e] == i[e] || rs(t.style, e, r[e]);
827
+ if (typeof i == "string" && (t.style.cssText = i = ""), i) for (e in i) r && e in r || is(t.style, e, "");
828
+ if (r) for (e in r) i && r[e] == i[e] || is(t.style, e, r[e]);
831
829
  }
832
- else if (e[0] == "o" && e[1] == "n") o = e != (e = e.replace(ca, "$1")), s = e.toLowerCase(), e = s in t || e == "onFocusOut" || e == "onFocusIn" ? s.slice(2) : e.slice(2), t.l || (t.l = {}), t.l[e + o] = r, r ? i ? r.u = i.u : (r.u = so, t.addEventListener(e, o ? Wn : Bn, o)) : t.removeEventListener(e, o ? Wn : Bn, o);
830
+ else if (e[0] == "o" && e[1] == "n") o = e != (e = e.replace(ua, "$1")), s = e.toLowerCase(), e = s in t || e == "onFocusOut" || e == "onFocusIn" ? s.slice(2) : e.slice(2), t.l || (t.l = {}), t.l[e + o] = r, r ? i ? r.u = i.u : (r.u = ao, t.addEventListener(e, o ? Wn : Bn, o)) : t.removeEventListener(e, o ? Wn : Bn, o);
833
831
  else {
834
832
  if (n == "http://www.w3.org/2000/svg") e = e.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
835
833
  else if (e != "width" && e != "height" && e != "href" && e != "list" && e != "form" && e != "tabIndex" && e != "download" && e != "rowSpan" && e != "colSpan" && e != "role" && e != "popover" && e in t) try {
@@ -840,27 +838,27 @@ function Oi(t, e, r, i, n) {
840
838
  typeof r == "function" || (r == null || r === !1 && e[4] != "-" ? t.removeAttribute(e) : t.setAttribute(e, e == "popover" && r == 1 ? "" : r));
841
839
  }
842
840
  }
843
- function is(t) {
841
+ function ns(t) {
844
842
  return function(e) {
845
843
  if (this.l) {
846
844
  var r = this.l[e.type + t];
847
- if (e.t == null) e.t = so++;
845
+ if (e.t == null) e.t = ao++;
848
846
  else if (e.t < r.u) return;
849
847
  return r(de.event ? de.event(e) : e);
850
848
  }
851
849
  };
852
850
  }
853
- function co(t, e, r, i, n, o, s, a, c, l) {
854
- var D, d, u, g, f, M, I, p, A, E, m, z, v, R, B, le, P, G = e.type;
851
+ function uo(t, e, r, i, n, o, s, a, c, l) {
852
+ var D, d, u, g, f, M, I, p, A, E, m, C, v, R, B, le, P, G = e.type;
855
853
  if (e.constructor !== void 0) return null;
856
854
  128 & r.__u && (c = !!(32 & r.__u), o = [a = e.__e = r.__e]), (D = de.__b) && D(e);
857
855
  e: if (typeof G == "function") try {
858
- if (p = e.props, A = "prototype" in G && G.prototype.render, E = (D = G.contextType) && i[D.__c], m = D ? E ? E.props.value : D.__ : i, r.__c ? I = (d = e.__c = r.__c).__ = d.__E : (A ? e.__c = d = new G(p, m) : (e.__c = d = new dt(p, m), d.constructor = G, d.render = Du), E && E.sub(d), d.state || (d.state = {}), d.__n = i, u = d.__d = !0, d.__h = [], d._sb = []), A && d.__s == null && (d.__s = d.state), A && G.getDerivedStateFromProps != null && (d.__s == d.state && (d.__s = yt({}, d.__s)), yt(d.__s, G.getDerivedStateFromProps(p, d.__s))), g = d.props, f = d.state, d.__v = e, u) A && G.getDerivedStateFromProps == null && d.componentWillMount != null && d.componentWillMount(), A && d.componentDidMount != null && d.__h.push(d.componentDidMount);
856
+ if (p = e.props, A = "prototype" in G && G.prototype.render, E = (D = G.contextType) && i[D.__c], m = D ? E ? E.props.value : D.__ : i, r.__c ? I = (d = e.__c = r.__c).__ = d.__E : (A ? e.__c = d = new G(p, m) : (e.__c = d = new dt(p, m), d.constructor = G, d.render = hu), E && E.sub(d), d.state || (d.state = {}), d.__n = i, u = d.__d = !0, d.__h = [], d._sb = []), A && d.__s == null && (d.__s = d.state), A && G.getDerivedStateFromProps != null && (d.__s == d.state && (d.__s = yt({}, d.__s)), yt(d.__s, G.getDerivedStateFromProps(p, d.__s))), g = d.props, f = d.state, d.__v = e, u) A && G.getDerivedStateFromProps == null && d.componentWillMount != null && d.componentWillMount(), A && d.componentDidMount != null && d.__h.push(d.componentDidMount);
859
857
  else {
860
858
  if (A && G.getDerivedStateFromProps == null && p !== g && d.componentWillReceiveProps != null && d.componentWillReceiveProps(p, m), e.__v == r.__v || !d.__e && d.shouldComponentUpdate != null && d.shouldComponentUpdate(p, d.__s, m) === !1) {
861
- for (e.__v != r.__v && (d.props = p, d.state = d.__s, d.__d = !1), e.__e = r.__e, e.__k = r.__k, e.__k.some(function(C) {
862
- C && (C.__ = e);
863
- }), z = 0; z < d._sb.length; z++) d.__h.push(d._sb[z]);
859
+ for (e.__v != r.__v && (d.props = p, d.state = d.__s, d.__d = !1), e.__e = r.__e, e.__k = r.__k, e.__k.some(function(z) {
860
+ z && (z.__ = e);
861
+ }), C = 0; C < d._sb.length; C++) d.__h.push(d._sb[C]);
864
862
  d._sb = [], d.__h.length && s.push(d);
865
863
  break e;
866
864
  }
@@ -874,26 +872,26 @@ function co(t, e, r, i, n, o, s, a, c, l) {
874
872
  } else do
875
873
  d.__d = !1, v && v(e), D = d.render(d.props, d.state, d.context), d.state = d.__s;
876
874
  while (d.__d && ++R < 25);
877
- d.state = d.__s, d.getChildContext != null && (i = yt(yt({}, i), d.getChildContext())), A && !u && d.getSnapshotBeforeUpdate != null && (M = d.getSnapshotBeforeUpdate(g, f)), le = D, D != null && D.type === He && D.key == null && (le = fa(D.props.children)), a = ga(t, Kr(le) ? le : [le], e, r, i, n, o, s, a, c, l), d.base = e.__e, e.__u &= -161, d.__h.length && s.push(d), I && (d.__E = d.__ = null);
878
- } catch (C) {
879
- if (e.__v = null, c || o != null) if (C.then) {
875
+ d.state = d.__s, d.getChildContext != null && (i = yt(yt({}, i), d.getChildContext())), A && !u && d.getSnapshotBeforeUpdate != null && (M = d.getSnapshotBeforeUpdate(g, f)), le = D, D != null && D.type === He && D.key == null && (le = Da(D.props.children)), a = Na(t, Kr(le) ? le : [le], e, r, i, n, o, s, a, c, l), d.base = e.__e, e.__u &= -161, d.__h.length && s.push(d), I && (d.__E = d.__ = null);
876
+ } catch (z) {
877
+ if (e.__v = null, c || o != null) if (z.then) {
880
878
  for (e.__u |= c ? 160 : 128; a && a.nodeType == 8 && a.nextSibling; ) a = a.nextSibling;
881
879
  o[o.indexOf(a)] = null, e.__e = a;
882
880
  } else {
883
- for (P = o.length; P--; ) ao(o[P]);
881
+ for (P = o.length; P--; ) co(o[P]);
884
882
  Hn(e);
885
883
  }
886
- else e.__e = r.__e, e.__k = r.__k, C.then || Hn(e);
887
- de.__e(C, e, r);
884
+ else e.__e = r.__e, e.__k = r.__k, z.then || Hn(e);
885
+ de.__e(z, e, r);
888
886
  }
889
- else o == null && e.__v == r.__v ? (e.__k = r.__k, e.__e = r.__e) : a = e.__e = fu(r.__e, e, r, i, n, o, s, c, l);
887
+ else o == null && e.__v == r.__v ? (e.__k = r.__k, e.__e = r.__e) : a = e.__e = Du(r.__e, e, r, i, n, o, s, c, l);
890
888
  return (D = de.diffed) && D(e), 128 & e.__u ? void 0 : a;
891
889
  }
892
890
  function Hn(t) {
893
891
  t && t.__c && (t.__c.__e = !0), t && t.__k && t.__k.forEach(Hn);
894
892
  }
895
- function Ia(t, e, r) {
896
- for (var i = 0; i < r.length; i++) uo(r[i], r[++i], r[++i]);
893
+ function fa(t, e, r) {
894
+ for (var i = 0; i < r.length; i++) lo(r[i], r[++i], r[++i]);
897
895
  de.__c && de.__c(e, t), t.some(function(n) {
898
896
  try {
899
897
  t = n.__h, n.__h = [], t.some(function(o) {
@@ -904,10 +902,10 @@ function Ia(t, e, r) {
904
902
  }
905
903
  });
906
904
  }
907
- function fa(t) {
908
- return typeof t != "object" || t == null || t.__b && t.__b > 0 ? t : Kr(t) ? t.map(fa) : yt({}, t);
905
+ function Da(t) {
906
+ return typeof t != "object" || t == null || t.__b && t.__b > 0 ? t : Kr(t) ? t.map(Da) : yt({}, t);
909
907
  }
910
- function fu(t, e, r, i, n, o, s, a, c) {
908
+ function Du(t, e, r, i, n, o, s, a, c) {
911
909
  var l, D, d, u, g, f, M, I = r.props || Zr, p = e.props, A = e.type;
912
910
  if (A == "svg" ? n = "http://www.w3.org/2000/svg" : A == "math" ? n = "http://www.w3.org/1998/Math/MathML" : n || (n = "http://www.w3.org/1999/xhtml"), o != null) {
913
911
  for (l = 0; l < o.length; l++) if ((g = o[l]) && "setAttribute" in g == !!A && (A ? g.localName == A : g.nodeType == 3)) {
@@ -931,12 +929,12 @@ function fu(t, e, r, i, n, o, s, a, c) {
931
929
  }
932
930
  for (l in p) g = p[l], l == "children" ? u = g : l == "dangerouslySetInnerHTML" ? D = g : l == "value" ? f = g : l == "checked" ? M = g : a && typeof g != "function" || I[l] === g || Oi(t, l, g, I[l], n);
933
931
  if (D) a || d && (D.__html == d.__html || D.__html == t.innerHTML) || (t.innerHTML = D.__html), e.__k = [];
934
- else if (d && (t.innerHTML = ""), ga(e.type == "template" ? t.content : t, Kr(u) ? u : [u], e, r, i, A == "foreignObject" ? "http://www.w3.org/1999/xhtml" : n, o, s, o ? o[0] : r.__k && jr(r, 0), a, c), o != null) for (l = o.length; l--; ) ao(o[l]);
932
+ else if (d && (t.innerHTML = ""), Na(e.type == "template" ? t.content : t, Kr(u) ? u : [u], e, r, i, A == "foreignObject" ? "http://www.w3.org/1999/xhtml" : n, o, s, o ? o[0] : r.__k && jr(r, 0), a, c), o != null) for (l = o.length; l--; ) co(o[l]);
935
933
  a || (l = "value", A == "progress" && f == null ? t.removeAttribute("value") : f != null && (f !== t[l] || A == "progress" && !f || A == "option" && f != I[l]) && Oi(t, l, f, I[l], n), l = "checked", M != null && M != t[l] && Oi(t, l, M, I[l], n));
936
934
  }
937
935
  return t;
938
936
  }
939
- function uo(t, e, r) {
937
+ function lo(t, e, r) {
940
938
  try {
941
939
  if (typeof t == "function") {
942
940
  var i = typeof t.__u == "function";
@@ -946,9 +944,9 @@ function uo(t, e, r) {
946
944
  de.__e(n, r);
947
945
  }
948
946
  }
949
- function Da(t, e, r) {
947
+ function ha(t, e, r) {
950
948
  var i, n;
951
- if (de.unmount && de.unmount(t), (i = t.ref) && (i.current && i.current != t.__e || uo(i, null, e)), (i = t.__c) != null) {
949
+ if (de.unmount && de.unmount(t), (i = t.ref) && (i.current && i.current != t.__e || lo(i, null, e)), (i = t.__c) != null) {
952
950
  if (i.componentWillUnmount) try {
953
951
  i.componentWillUnmount();
954
952
  } catch (o) {
@@ -956,25 +954,25 @@ function Da(t, e, r) {
956
954
  }
957
955
  i.base = i.__P = null;
958
956
  }
959
- if (i = t.__k) for (n = 0; n < i.length; n++) i[n] && Da(i[n], e, r || typeof t.type != "function");
960
- r || ao(t.__e), t.__c = t.__ = t.__e = void 0;
957
+ if (i = t.__k) for (n = 0; n < i.length; n++) i[n] && ha(i[n], e, r || typeof t.type != "function");
958
+ r || co(t.__e), t.__c = t.__ = t.__e = void 0;
961
959
  }
962
- function Du(t, e, r) {
960
+ function hu(t, e, r) {
963
961
  return this.constructor(t, r);
964
962
  }
965
963
  function ur(t, e, r) {
966
964
  var i, n, o, s;
967
- e == document && (e = document.documentElement), de.__ && de.__(t, e), n = (i = typeof r == "function") ? null : r && r.__k || e.__k, o = [], s = [], co(e, t = (!i && r || e).__k = pt(He, null, [t]), n || Zr, Zr, e.namespaceURI, !i && r ? [r] : n ? null : e.firstChild ? Gr.call(e.childNodes) : null, o, !i && r ? r : n ? n.__e : e.firstChild, i, s), Ia(o, t, s);
965
+ e == document && (e = document.documentElement), de.__ && de.__(t, e), n = (i = typeof r == "function") ? null : r && r.__k || e.__k, o = [], s = [], uo(e, t = (!i && r || e).__k = pt(He, null, [t]), n || Zr, Zr, e.namespaceURI, !i && r ? [r] : n ? null : e.firstChild ? Gr.call(e.childNodes) : null, o, !i && r ? r : n ? n.__e : e.firstChild, i, s), fa(o, t, s);
968
966
  }
969
- function ha(t, e) {
970
- ur(t, e, ha);
967
+ function ya(t, e) {
968
+ ur(t, e, ya);
971
969
  }
972
- function hu(t, e, r) {
970
+ function yu(t, e, r) {
973
971
  var i, n, o, s, a = yt({}, t.props);
974
972
  for (o in t.type && t.type.defaultProps && (s = t.type.defaultProps), e) o == "key" ? i = e[o] : o == "ref" ? n = e[o] : a[o] = e[o] === void 0 && s != null ? s[o] : e[o];
975
973
  return arguments.length > 2 && (a.children = arguments.length > 3 ? Gr.call(arguments, 2) : r), Rr(t.type, a, i || t.key, n || t.ref, null);
976
974
  }
977
- function lo(t) {
975
+ function Mo(t) {
978
976
  function e(r) {
979
977
  var i, n;
980
978
  return this.getChildContext || (i = /* @__PURE__ */ new Set(), (n = {})[e.__c] = this, this.getChildContext = function() {
@@ -993,37 +991,37 @@ function lo(t) {
993
991
  };
994
992
  }), r.children;
995
993
  }
996
- return e.__c = "__cC" + ua++, e.__ = t, e.Provider = e.__l = (e.Consumer = function(r, i) {
994
+ return e.__c = "__cC" + la++, e.__ = t, e.Provider = e.__l = (e.Consumer = function(r, i) {
997
995
  return r.children(i);
998
996
  }).contextType = e, e;
999
997
  }
1000
- Gr = la.slice, de = { __e: function(t, e, r, i) {
998
+ Gr = da.slice, de = { __e: function(t, e, r, i) {
1001
999
  for (var n, o, s; e = e.__; ) if ((n = e.__c) && !n.__) try {
1002
1000
  if ((o = n.constructor) && o.getDerivedStateFromError != null && (n.setState(o.getDerivedStateFromError(t)), s = n.__d), n.componentDidCatch != null && (n.componentDidCatch(t, i || {}), s = n.__d), s) return n.__E = n;
1003
1001
  } catch (a) {
1004
1002
  t = a;
1005
1003
  }
1006
1004
  throw t;
1007
- } }, oa = 0, dt.prototype.setState = function(t, e) {
1005
+ } }, sa = 0, dt.prototype.setState = function(t, e) {
1008
1006
  var r;
1009
1007
  r = this.__s != null && this.__s != this.state ? this.__s : this.__s = yt({}, this.state), typeof t == "function" && (t = t(yt({}, r), this.props)), t && yt(r, t), t != null && this.__v && (e && this._sb.push(e), $n(this));
1010
1008
  }, dt.prototype.forceUpdate = function(t) {
1011
1009
  this.__v && (this.__e = !0, t && this.__h.push(t), $n(this));
1012
- }, dt.prototype.render = He, rr = [], sa = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, aa = function(t, e) {
1010
+ }, dt.prototype.render = He, rr = [], aa = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, ca = function(t, e) {
1013
1011
  return t.__v.__b - e.__v.__b;
1014
- }, Qi.__r = 0, ca = /(PointerCapture)$|Capture$/i, so = 0, Bn = is(!1), Wn = is(!0), ua = 0;
1015
- var Yt, Te, xn, ns, wr = 0, ya = [], we = de, os = we.__b, ss = we.__r, as = we.diffed, cs = we.__c, us = we.unmount, ls = we.__;
1012
+ }, Qi.__r = 0, ua = /(PointerCapture)$|Capture$/i, ao = 0, Bn = ns(!1), Wn = ns(!0), la = 0;
1013
+ var Yt, Te, xn, os, wr = 0, pa = [], we = de, ss = we.__b, as = we.__r, cs = we.diffed, us = we.__c, ls = we.unmount, ds = we.__;
1016
1014
  function dr(t, e) {
1017
1015
  we.__h && we.__h(Te, t, wr || e), wr = 0;
1018
1016
  var r = Te.__H || (Te.__H = { __: [], __h: [] });
1019
1017
  return t >= r.__.length && r.__.push({}), r.__[t];
1020
1018
  }
1021
1019
  function ke(t) {
1022
- return wr = 1, en(pa, t);
1020
+ return wr = 1, en(Ta, t);
1023
1021
  }
1024
1022
  function en(t, e, r) {
1025
1023
  var i = dr(Yt++, 2);
1026
- if (i.t = t, !i.__c && (i.__ = [r ? r(e) : pa(void 0, e), function(a) {
1024
+ if (i.t = t, !i.__c && (i.__ = [r ? r(e) : Ta(void 0, e), function(a) {
1027
1025
  var c = i.__N ? i.__N[0] : i.__[0], l = i.t(c, a);
1028
1026
  c !== l && (i.__N = [l, i.__[1]], i.__c.setState({}));
1029
1027
  }], i.__c = Te, !Te.__f)) {
@@ -1057,18 +1055,18 @@ function en(t, e, r) {
1057
1055
  }
1058
1056
  function it(t, e) {
1059
1057
  var r = dr(Yt++, 3);
1060
- !we.__s && fo(r.__H, e) && (r.__ = t, r.u = e, Te.__H.__h.push(r));
1058
+ !we.__s && Do(r.__H, e) && (r.__ = t, r.u = e, Te.__H.__h.push(r));
1061
1059
  }
1062
1060
  function Gt(t, e) {
1063
1061
  var r = dr(Yt++, 4);
1064
- !we.__s && fo(r.__H, e) && (r.__ = t, r.u = e, Te.__h.push(r));
1062
+ !we.__s && Do(r.__H, e) && (r.__ = t, r.u = e, Te.__h.push(r));
1065
1063
  }
1066
1064
  function Mt(t) {
1067
1065
  return wr = 5, Jr(function() {
1068
1066
  return { current: t };
1069
1067
  }, []);
1070
1068
  }
1071
- function Mo(t, e, r) {
1069
+ function go(t, e, r) {
1072
1070
  wr = 6, Gt(function() {
1073
1071
  if (typeof t == "function") {
1074
1072
  var i = t(e());
@@ -1083,9 +1081,9 @@ function Mo(t, e, r) {
1083
1081
  }
1084
1082
  function Jr(t, e) {
1085
1083
  var r = dr(Yt++, 7);
1086
- return fo(r.__H, e) && (r.__ = t(), r.__H = e, r.__h = t), r.__;
1084
+ return Do(r.__H, e) && (r.__ = t(), r.__H = e, r.__h = t), r.__;
1087
1085
  }
1088
- function go(t, e) {
1086
+ function No(t, e) {
1089
1087
  return wr = 8, Jr(function() {
1090
1088
  return t;
1091
1089
  }, e);
@@ -1094,10 +1092,10 @@ function Sr(t) {
1094
1092
  var e = Te.context[t.__c], r = dr(Yt++, 9);
1095
1093
  return r.c = t, e ? (r.__ == null && (r.__ = !0, e.sub(Te)), e.props.value) : t.__;
1096
1094
  }
1097
- function No(t, e) {
1095
+ function Io(t, e) {
1098
1096
  we.useDebugValue && we.useDebugValue(e ? e(t) : t);
1099
1097
  }
1100
- function yu(t) {
1098
+ function pu(t) {
1101
1099
  var e = dr(Yt++, 10), r = ke();
1102
1100
  return e.__ = t, Te.componentDidCatch || (Te.componentDidCatch = function(i, n) {
1103
1101
  e.__ && e.__(i, n), r[1](i);
@@ -1105,7 +1103,7 @@ function yu(t) {
1105
1103
  r[1](void 0);
1106
1104
  }];
1107
1105
  }
1108
- function Io() {
1106
+ function fo() {
1109
1107
  var t = dr(Yt++, 11);
1110
1108
  if (!t.__) {
1111
1109
  for (var e = Te.__v; e !== null && !e.__m && e.__ !== null; ) e = e.__;
@@ -1114,33 +1112,33 @@ function Io() {
1114
1112
  }
1115
1113
  return t.__;
1116
1114
  }
1117
- function pu() {
1118
- for (var t; t = ya.shift(); ) if (t.__P && t.__H) try {
1119
- t.__H.__h.forEach(Ci), t.__H.__h.forEach(Zn), t.__H.__h = [];
1115
+ function Tu() {
1116
+ for (var t; t = pa.shift(); ) if (t.__P && t.__H) try {
1117
+ t.__H.__h.forEach(zi), t.__H.__h.forEach(Zn), t.__H.__h = [];
1120
1118
  } catch (e) {
1121
1119
  t.__H.__h = [], we.__e(e, t.__v);
1122
1120
  }
1123
1121
  }
1124
1122
  we.__b = function(t) {
1125
- Te = null, os && os(t);
1123
+ Te = null, ss && ss(t);
1126
1124
  }, we.__ = function(t, e) {
1127
- t && e.__k && e.__k.__m && (t.__m = e.__k.__m), ls && ls(t, e);
1125
+ t && e.__k && e.__k.__m && (t.__m = e.__k.__m), ds && ds(t, e);
1128
1126
  }, we.__r = function(t) {
1129
- ss && ss(t), Yt = 0;
1127
+ as && as(t), Yt = 0;
1130
1128
  var e = (Te = t.__c).__H;
1131
1129
  e && (xn === Te ? (e.__h = [], Te.__h = [], e.__.forEach(function(r) {
1132
1130
  r.__N && (r.__ = r.__N), r.u = r.__N = void 0;
1133
- })) : (e.__h.forEach(Ci), e.__h.forEach(Zn), e.__h = [], Yt = 0)), xn = Te;
1131
+ })) : (e.__h.forEach(zi), e.__h.forEach(Zn), e.__h = [], Yt = 0)), xn = Te;
1134
1132
  }, we.diffed = function(t) {
1135
- as && as(t);
1133
+ cs && cs(t);
1136
1134
  var e = t.__c;
1137
- e && e.__H && (e.__H.__h.length && (ya.push(e) !== 1 && ns === we.requestAnimationFrame || ((ns = we.requestAnimationFrame) || Tu)(pu)), e.__H.__.forEach(function(r) {
1135
+ e && e.__H && (e.__H.__h.length && (pa.push(e) !== 1 && os === we.requestAnimationFrame || ((os = we.requestAnimationFrame) || Au)(Tu)), e.__H.__.forEach(function(r) {
1138
1136
  r.u && (r.__H = r.u), r.u = void 0;
1139
1137
  })), xn = Te = null;
1140
1138
  }, we.__c = function(t, e) {
1141
1139
  e.some(function(r) {
1142
1140
  try {
1143
- r.__h.forEach(Ci), r.__h = r.__h.filter(function(i) {
1141
+ r.__h.forEach(zi), r.__h = r.__h.filter(function(i) {
1144
1142
  return !i.__ || Zn(i);
1145
1143
  });
1146
1144
  } catch (i) {
@@ -1148,26 +1146,26 @@ we.__b = function(t) {
1148
1146
  n.__h && (n.__h = []);
1149
1147
  }), e = [], we.__e(i, r.__v);
1150
1148
  }
1151
- }), cs && cs(t, e);
1149
+ }), us && us(t, e);
1152
1150
  }, we.unmount = function(t) {
1153
- us && us(t);
1151
+ ls && ls(t);
1154
1152
  var e, r = t.__c;
1155
1153
  r && r.__H && (r.__H.__.forEach(function(i) {
1156
1154
  try {
1157
- Ci(i);
1155
+ zi(i);
1158
1156
  } catch (n) {
1159
1157
  e = n;
1160
1158
  }
1161
1159
  }), r.__H = void 0, e && we.__e(e, r.__v));
1162
1160
  };
1163
- var ds = typeof requestAnimationFrame == "function";
1164
- function Tu(t) {
1161
+ var Ms = typeof requestAnimationFrame == "function";
1162
+ function Au(t) {
1165
1163
  var e, r = function() {
1166
- clearTimeout(i), ds && cancelAnimationFrame(e), setTimeout(t);
1164
+ clearTimeout(i), Ms && cancelAnimationFrame(e), setTimeout(t);
1167
1165
  }, i = setTimeout(r, 35);
1168
- ds && (e = requestAnimationFrame(r));
1166
+ Ms && (e = requestAnimationFrame(r));
1169
1167
  }
1170
- function Ci(t) {
1168
+ function zi(t) {
1171
1169
  var e = Te, r = t.__c;
1172
1170
  typeof r == "function" && (t.__c = void 0, r()), Te = e;
1173
1171
  }
@@ -1175,15 +1173,15 @@ function Zn(t) {
1175
1173
  var e = Te;
1176
1174
  t.__c = t.__(), Te = e;
1177
1175
  }
1178
- function fo(t, e) {
1176
+ function Do(t, e) {
1179
1177
  return !t || t.length !== e.length || e.some(function(r, i) {
1180
1178
  return r !== t[i];
1181
1179
  });
1182
1180
  }
1183
- function pa(t, e) {
1181
+ function Ta(t, e) {
1184
1182
  return typeof e == "function" ? e(t) : e;
1185
1183
  }
1186
- function Ta(t, e) {
1184
+ function Aa(t, e) {
1187
1185
  for (var r in e) t[r] = e[r];
1188
1186
  return t;
1189
1187
  }
@@ -1192,7 +1190,7 @@ function Gn(t, e) {
1192
1190
  for (var i in e) if (i !== "__source" && t[i] !== e[i]) return !0;
1193
1191
  return !1;
1194
1192
  }
1195
- function Do(t, e) {
1193
+ function ho(t, e) {
1196
1194
  var r = e(), i = ke({ t: { __: r, u: e } }), n = i[0].t, o = i[1];
1197
1195
  return Gt(function() {
1198
1196
  n.__ = r, n.u = e, vn(n) && o({ t: n });
@@ -1211,20 +1209,20 @@ function vn(t) {
1211
1209
  return !0;
1212
1210
  }
1213
1211
  }
1214
- function ho(t) {
1212
+ function yo(t) {
1215
1213
  t();
1216
1214
  }
1217
- function yo(t) {
1215
+ function po(t) {
1218
1216
  return t;
1219
1217
  }
1220
- function po() {
1221
- return [!1, ho];
1218
+ function To() {
1219
+ return [!1, yo];
1222
1220
  }
1223
- var To = Gt;
1221
+ var Ao = Gt;
1224
1222
  function Pi(t, e) {
1225
1223
  this.props = t, this.context = e;
1226
1224
  }
1227
- function Aa(t, e) {
1225
+ function Ea(t, e) {
1228
1226
  function r(n) {
1229
1227
  var o = this.props.ref, s = o == n.ref;
1230
1228
  return !s && o && (o.call ? o(null) : o.current = null), e ? !e(this.props, n) || !s : Gn(this.props, n);
@@ -1237,55 +1235,55 @@ function Aa(t, e) {
1237
1235
  (Pi.prototype = new dt()).isPureReactComponent = !0, Pi.prototype.shouldComponentUpdate = function(t, e) {
1238
1236
  return Gn(this.props, t) || Gn(this.state, e);
1239
1237
  };
1240
- var Ms = de.__b;
1238
+ var gs = de.__b;
1241
1239
  de.__b = function(t) {
1242
- t.type && t.type.__f && t.ref && (t.props.ref = t.ref, t.ref = null), Ms && Ms(t);
1240
+ t.type && t.type.__f && t.ref && (t.props.ref = t.ref, t.ref = null), gs && gs(t);
1243
1241
  };
1244
- var Au = typeof Symbol != "undefined" && Symbol.for && /* @__PURE__ */ Symbol.for("react.forward_ref") || 3911;
1245
- function Ea(t) {
1242
+ var Eu = typeof Symbol != "undefined" && Symbol.for && /* @__PURE__ */ Symbol.for("react.forward_ref") || 3911;
1243
+ function ma(t) {
1246
1244
  function e(r) {
1247
- var i = Ta({}, r);
1245
+ var i = Aa({}, r);
1248
1246
  return delete i.ref, t(i, r.ref || null);
1249
1247
  }
1250
- return e.$$typeof = Au, e.render = t, e.prototype.isReactComponent = e.__f = !0, e.displayName = "ForwardRef(" + (t.displayName || t.name) + ")", e;
1248
+ return e.$$typeof = Eu, e.render = t, e.prototype.isReactComponent = e.__f = !0, e.displayName = "ForwardRef(" + (t.displayName || t.name) + ")", e;
1251
1249
  }
1252
- var gs = function(t, e) {
1250
+ var Ns = function(t, e) {
1253
1251
  return t == null ? null : Pt(Pt(t).map(e));
1254
- }, ma = { map: gs, forEach: gs, count: function(t) {
1252
+ }, ja = { map: Ns, forEach: Ns, count: function(t) {
1255
1253
  return t ? Pt(t).length : 0;
1256
1254
  }, only: function(t) {
1257
1255
  var e = Pt(t);
1258
1256
  if (e.length !== 1) throw "Children.only";
1259
1257
  return e[0];
1260
- }, toArray: Pt }, Eu = de.__e;
1258
+ }, toArray: Pt }, mu = de.__e;
1261
1259
  de.__e = function(t, e, r, i) {
1262
1260
  if (t.then) {
1263
1261
  for (var n, o = e; o = o.__; ) if ((n = o.__c) && n.__c) return e.__e == null && (e.__e = r.__e, e.__k = r.__k), n.__c(t, e);
1264
1262
  }
1265
- Eu(t, e, r, i);
1263
+ mu(t, e, r, i);
1266
1264
  };
1267
- var Ns = de.unmount;
1268
- function ja(t, e, r) {
1265
+ var Is = de.unmount;
1266
+ function wa(t, e, r) {
1269
1267
  return t && (t.__c && t.__c.__H && (t.__c.__H.__.forEach(function(i) {
1270
1268
  typeof i.__c == "function" && i.__c();
1271
- }), t.__c.__H = null), (t = Ta({}, t)).__c != null && (t.__c.__P === r && (t.__c.__P = e), t.__c.__e = !0, t.__c = null), t.__k = t.__k && t.__k.map(function(i) {
1272
- return ja(i, e, r);
1269
+ }), t.__c.__H = null), (t = Aa({}, t)).__c != null && (t.__c.__P === r && (t.__c.__P = e), t.__c.__e = !0, t.__c = null), t.__k = t.__k && t.__k.map(function(i) {
1270
+ return wa(i, e, r);
1273
1271
  })), t;
1274
1272
  }
1275
- function wa(t, e, r) {
1273
+ function Sa(t, e, r) {
1276
1274
  return t && r && (t.__v = null, t.__k = t.__k && t.__k.map(function(i) {
1277
- return wa(i, e, r);
1275
+ return Sa(i, e, r);
1278
1276
  }), t.__c && t.__c.__P === e && (t.__e && r.appendChild(t.__e), t.__c.__e = !0, t.__c.__P = r)), t;
1279
1277
  }
1280
1278
  function Qr() {
1281
1279
  this.__u = 0, this.o = null, this.__b = null;
1282
1280
  }
1283
- function Sa(t) {
1281
+ function _a(t) {
1284
1282
  if (!t.__) return null;
1285
1283
  var e = t.__.__c;
1286
1284
  return e && e.__a && e.__a(t);
1287
1285
  }
1288
- function _a(t) {
1286
+ function Oa(t) {
1289
1287
  var e, r, i, n = null;
1290
1288
  function o(s) {
1291
1289
  if (e || (e = t()).then(function(a) {
@@ -1303,11 +1301,11 @@ function pr() {
1303
1301
  }
1304
1302
  de.unmount = function(t) {
1305
1303
  var e = t.__c;
1306
- e && (e.__z = !0), e && e.__R && e.__R(), e && 32 & t.__u && (t.type = null), Ns && Ns(t);
1304
+ e && (e.__z = !0), e && e.__R && e.__R(), e && 32 & t.__u && (t.type = null), Is && Is(t);
1307
1305
  }, (Qr.prototype = new dt()).__c = function(t, e) {
1308
1306
  var r = e.__c, i = this;
1309
1307
  i.o == null && (i.o = []), i.o.push(r);
1310
- var n = Sa(i.__v), o = !1, s = function() {
1308
+ var n = _a(i.__v), o = !1, s = function() {
1311
1309
  o || i.__z || (o = !0, r.__R = null, n ? n(c) : c());
1312
1310
  };
1313
1311
  r.__R = s;
@@ -1317,7 +1315,7 @@ de.unmount = function(t) {
1317
1315
  if (!--i.__u) {
1318
1316
  if (i.state.__a) {
1319
1317
  var l = i.state.__a;
1320
- i.__v.__k[0] = wa(l, l.__c.__P, l.__c.__O);
1318
+ i.__v.__k[0] = Sa(l, l.__c.__P, l.__c.__O);
1321
1319
  }
1322
1320
  var D;
1323
1321
  for (i.setState({ __a: i.__b = null }); D = i.o.pop(); ) D.__P = a, D.forceUpdate();
@@ -1330,26 +1328,26 @@ de.unmount = function(t) {
1330
1328
  if (this.__b) {
1331
1329
  if (this.__v.__k) {
1332
1330
  var r = document.createElement("div"), i = this.__v.__k[0].__c;
1333
- this.__v.__k[0] = ja(this.__b, r, i.__O = i.__P);
1331
+ this.__v.__k[0] = wa(this.__b, r, i.__O = i.__P);
1334
1332
  }
1335
1333
  this.__b = null;
1336
1334
  }
1337
1335
  var n = e.__a && pt(He, null, t.fallback);
1338
1336
  return n && (n.__u &= -33), [pt(He, null, e.__a ? null : t.children), n];
1339
1337
  };
1340
- var Is = function(t, e, r) {
1338
+ var fs = function(t, e, r) {
1341
1339
  if (++r[1] === r[0] && t.l.delete(e), t.props.revealOrder && (t.props.revealOrder[0] !== "t" || !t.l.size)) for (r = t.i; r; ) {
1342
1340
  for (; r.length > 3; ) r.pop()();
1343
1341
  if (r[1] < r[0]) break;
1344
1342
  t.i = r = r[2];
1345
1343
  }
1346
1344
  };
1347
- function mu(t) {
1345
+ function ju(t) {
1348
1346
  return this.getChildContext = function() {
1349
1347
  return t.context;
1350
1348
  }, t.children;
1351
1349
  }
1352
- function ju(t) {
1350
+ function wu(t) {
1353
1351
  var e = this, r = t.h;
1354
1352
  if (e.componentWillUnmount = function() {
1355
1353
  ur(null, e.v), e.v = null, e.h = null;
@@ -1363,17 +1361,17 @@ function ju(t) {
1363
1361
  this.childNodes.splice(this.childNodes.indexOf(n) >>> 1, 1), e.h.removeChild(n);
1364
1362
  } };
1365
1363
  }
1366
- ur(pt(mu, { context: e.context }, t.__v), e.v);
1364
+ ur(pt(ju, { context: e.context }, t.__v), e.v);
1367
1365
  }
1368
- function Oa(t, e) {
1369
- var r = pt(ju, { __v: t, h: e });
1366
+ function xa(t, e) {
1367
+ var r = pt(wu, { __v: t, h: e });
1370
1368
  return r.containerInfo = e, r;
1371
1369
  }
1372
1370
  (pr.prototype = new dt()).__a = function(t) {
1373
- var e = this, r = Sa(e.__v), i = e.l.get(t);
1371
+ var e = this, r = _a(e.__v), i = e.l.get(t);
1374
1372
  return i[0]++, function(n) {
1375
1373
  var o = function() {
1376
- e.props.revealOrder ? (i.push(n), Is(e, t, i)) : n();
1374
+ e.props.revealOrder ? (i.push(n), fs(e, t, i)) : n();
1377
1375
  };
1378
1376
  r ? r(o) : o();
1379
1377
  };
@@ -1386,17 +1384,17 @@ function Oa(t, e) {
1386
1384
  }, pr.prototype.componentDidUpdate = pr.prototype.componentDidMount = function() {
1387
1385
  var t = this;
1388
1386
  this.l.forEach(function(e, r) {
1389
- Is(t, r, e);
1387
+ fs(t, r, e);
1390
1388
  });
1391
1389
  };
1392
- var xa = typeof Symbol != "undefined" && Symbol.for && /* @__PURE__ */ Symbol.for("react.element") || 60103, wu = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, Su = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, _u = /[A-Z0-9]/g, Ou = typeof document != "undefined", xu = function(t) {
1390
+ var va = typeof Symbol != "undefined" && Symbol.for && /* @__PURE__ */ Symbol.for("react.element") || 60103, Su = /^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/, _u = /^on(Ani|Tra|Tou|BeforeInp|Compo)/, Ou = /[A-Z0-9]/g, xu = typeof document != "undefined", vu = function(t) {
1393
1391
  return (typeof Symbol != "undefined" && typeof /* @__PURE__ */ Symbol() == "symbol" ? /fil|che|rad/ : /fil|che|ra/).test(t);
1394
1392
  };
1395
- function va(t, e, r) {
1393
+ function Ca(t, e, r) {
1396
1394
  return e.__k == null && (e.textContent = ""), ur(t, e), typeof r == "function" && r(), t ? t.__c : null;
1397
1395
  }
1398
1396
  function za(t, e, r) {
1399
- return ha(t, e), typeof r == "function" && r(), t ? t.__c : null;
1397
+ return ya(t, e), typeof r == "function" && r(), t ? t.__c : null;
1400
1398
  }
1401
1399
  dt.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(t) {
1402
1400
  Object.defineProperty(dt.prototype, t, { configurable: !0, get: function() {
@@ -1405,127 +1403,127 @@ dt.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceive
1405
1403
  Object.defineProperty(this, t, { configurable: !0, writable: !0, value: e });
1406
1404
  } });
1407
1405
  });
1408
- var fs = de.event;
1409
- function vu() {
1406
+ var Ds = de.event;
1407
+ function Cu() {
1410
1408
  }
1411
1409
  function zu() {
1412
1410
  return this.cancelBubble;
1413
1411
  }
1414
- function Cu() {
1412
+ function bu() {
1415
1413
  return this.defaultPrevented;
1416
1414
  }
1417
1415
  de.event = function(t) {
1418
- return fs && (t = fs(t)), t.persist = vu, t.isPropagationStopped = zu, t.isDefaultPrevented = Cu, t.nativeEvent = t;
1416
+ return Ds && (t = Ds(t)), t.persist = Cu, t.isPropagationStopped = zu, t.isDefaultPrevented = bu, t.nativeEvent = t;
1419
1417
  };
1420
- var Ao, bu = { enumerable: !1, configurable: !0, get: function() {
1418
+ var Eo, Lu = { enumerable: !1, configurable: !0, get: function() {
1421
1419
  return this.class;
1422
- } }, Ds = de.vnode;
1420
+ } }, hs = de.vnode;
1423
1421
  de.vnode = function(t) {
1424
1422
  typeof t.type == "string" && (function(e) {
1425
1423
  var r = e.props, i = e.type, n = {}, o = i.indexOf("-") === -1;
1426
1424
  for (var s in r) {
1427
1425
  var a = r[s];
1428
- if (!(s === "value" && "defaultValue" in r && a == null || Ou && s === "children" && i === "noscript" || s === "class" || s === "className")) {
1426
+ if (!(s === "value" && "defaultValue" in r && a == null || xu && s === "children" && i === "noscript" || s === "class" || s === "className")) {
1429
1427
  var c = s.toLowerCase();
1430
- s === "defaultValue" && "value" in r && r.value == null ? s = "value" : s === "download" && a === !0 ? a = "" : c === "translate" && a === "no" ? a = !1 : c[0] === "o" && c[1] === "n" ? c === "ondoubleclick" ? s = "ondblclick" : c !== "onchange" || i !== "input" && i !== "textarea" || xu(r.type) ? c === "onfocus" ? s = "onfocusin" : c === "onblur" ? s = "onfocusout" : Su.test(s) && (s = c) : c = s = "oninput" : o && wu.test(s) ? s = s.replace(_u, "-$&").toLowerCase() : a === null && (a = void 0), c === "oninput" && n[s = c] && (s = "oninputCapture"), n[s] = a;
1428
+ s === "defaultValue" && "value" in r && r.value == null ? s = "value" : s === "download" && a === !0 ? a = "" : c === "translate" && a === "no" ? a = !1 : c[0] === "o" && c[1] === "n" ? c === "ondoubleclick" ? s = "ondblclick" : c !== "onchange" || i !== "input" && i !== "textarea" || vu(r.type) ? c === "onfocus" ? s = "onfocusin" : c === "onblur" ? s = "onfocusout" : _u.test(s) && (s = c) : c = s = "oninput" : o && Su.test(s) ? s = s.replace(Ou, "-$&").toLowerCase() : a === null && (a = void 0), c === "oninput" && n[s = c] && (s = "oninputCapture"), n[s] = a;
1431
1429
  }
1432
1430
  }
1433
1431
  i == "select" && n.multiple && Array.isArray(n.value) && (n.value = Pt(r.children).forEach(function(l) {
1434
1432
  l.props.selected = n.value.indexOf(l.props.value) != -1;
1435
1433
  })), i == "select" && n.defaultValue != null && (n.value = Pt(r.children).forEach(function(l) {
1436
1434
  l.props.selected = n.multiple ? n.defaultValue.indexOf(l.props.value) != -1 : n.defaultValue == l.props.value;
1437
- })), r.class && !r.className ? (n.class = r.class, Object.defineProperty(n, "className", bu)) : (r.className && !r.class || r.class && r.className) && (n.class = n.className = r.className), e.props = n;
1438
- })(t), t.$$typeof = xa, Ds && Ds(t);
1435
+ })), r.class && !r.className ? (n.class = r.class, Object.defineProperty(n, "className", Lu)) : (r.className && !r.class || r.class && r.className) && (n.class = n.className = r.className), e.props = n;
1436
+ })(t), t.$$typeof = va, hs && hs(t);
1439
1437
  };
1440
- var hs = de.__r;
1438
+ var ys = de.__r;
1441
1439
  de.__r = function(t) {
1442
- hs && hs(t), Ao = t.__c;
1440
+ ys && ys(t), Eo = t.__c;
1443
1441
  };
1444
- var ys = de.diffed;
1442
+ var ps = de.diffed;
1445
1443
  de.diffed = function(t) {
1446
- ys && ys(t);
1444
+ ps && ps(t);
1447
1445
  var e = t.props, r = t.__e;
1448
- r != null && t.type === "textarea" && "value" in e && e.value !== r.value && (r.value = e.value == null ? "" : e.value), Ao = null;
1446
+ r != null && t.type === "textarea" && "value" in e && e.value !== r.value && (r.value = e.value == null ? "" : e.value), Eo = null;
1449
1447
  };
1450
- var Ca = { ReactCurrentDispatcher: { current: { readContext: function(t) {
1451
- return Ao.__n[t.__c].props.value;
1452
- }, useCallback: go, useContext: Sr, useDebugValue: No, useDeferredValue: yo, useEffect: it, useId: Io, useImperativeHandle: Mo, useInsertionEffect: To, useLayoutEffect: Gt, useMemo: Jr, useReducer: en, useRef: Mt, useState: ke, useSyncExternalStore: Do, useTransition: po } } }, Lu = "18.3.1";
1453
- function ba(t) {
1448
+ var ba = { ReactCurrentDispatcher: { current: { readContext: function(t) {
1449
+ return Eo.__n[t.__c].props.value;
1450
+ }, useCallback: No, useContext: Sr, useDebugValue: Io, useDeferredValue: po, useEffect: it, useId: fo, useImperativeHandle: go, useInsertionEffect: Ao, useLayoutEffect: Gt, useMemo: Jr, useReducer: en, useRef: Mt, useState: ke, useSyncExternalStore: ho, useTransition: To } } }, ku = "18.3.1";
1451
+ function La(t) {
1454
1452
  return pt.bind(null, t);
1455
1453
  }
1456
1454
  function Xr(t) {
1457
- return !!t && t.$$typeof === xa;
1458
- }
1459
- function La(t) {
1460
- return Xr(t) && t.type === He;
1455
+ return !!t && t.$$typeof === va;
1461
1456
  }
1462
1457
  function ka(t) {
1463
- return !!t && !!t.displayName && (typeof t.displayName == "string" || t.displayName instanceof String) && t.displayName.startsWith("Memo(");
1458
+ return Xr(t) && t.type === He;
1464
1459
  }
1465
1460
  function Ua(t) {
1466
- return Xr(t) ? hu.apply(null, arguments) : t;
1461
+ return !!t && !!t.displayName && (typeof t.displayName == "string" || t.displayName instanceof String) && t.displayName.startsWith("Memo(");
1467
1462
  }
1468
1463
  function Ra(t) {
1469
- return !!t.__k && (ur(null, t), !0);
1464
+ return Xr(t) ? yu.apply(null, arguments) : t;
1470
1465
  }
1471
1466
  function Qa(t) {
1467
+ return !!t.__k && (ur(null, t), !0);
1468
+ }
1469
+ function Pa(t) {
1472
1470
  return t && (t.base || t.nodeType === 1 && t) || null;
1473
1471
  }
1474
- var Pa = function(t, e) {
1472
+ var Ya = function(t, e) {
1475
1473
  return t(e);
1476
- }, Ya = function(t, e) {
1474
+ }, Fa = function(t, e) {
1477
1475
  return t(e);
1478
- }, Fa = He, Va = Xr, oe = { useState: ke, useId: Io, useReducer: en, useEffect: it, useLayoutEffect: Gt, useInsertionEffect: To, useTransition: po, useDeferredValue: yo, useSyncExternalStore: Do, startTransition: ho, useRef: Mt, useImperativeHandle: Mo, useMemo: Jr, useCallback: go, useContext: Sr, useDebugValue: No, version: "18.3.1", Children: ma, render: va, hydrate: za, unmountComponentAtNode: Ra, createPortal: Oa, createElement: pt, createContext: lo, createFactory: ba, cloneElement: Ua, createRef: da, Fragment: He, isValidElement: Xr, isElement: Va, isFragment: La, isMemo: ka, findDOMNode: Qa, Component: dt, PureComponent: Pi, memo: Aa, forwardRef: Ea, flushSync: Ya, unstable_batchedUpdates: Pa, StrictMode: Fa, Suspense: Qr, SuspenseList: pr, lazy: _a, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Ca };
1479
- const ku = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1476
+ }, Va = He, Ba = Xr, oe = { useState: ke, useId: fo, useReducer: en, useEffect: it, useLayoutEffect: Gt, useInsertionEffect: Ao, useTransition: To, useDeferredValue: po, useSyncExternalStore: ho, startTransition: yo, useRef: Mt, useImperativeHandle: go, useMemo: Jr, useCallback: No, useContext: Sr, useDebugValue: Io, version: "18.3.1", Children: ja, render: Ca, hydrate: za, unmountComponentAtNode: Qa, createPortal: xa, createElement: pt, createContext: Mo, createFactory: La, cloneElement: Ra, createRef: Ma, Fragment: He, isValidElement: Xr, isElement: Ba, isFragment: ka, isMemo: Ua, findDOMNode: Pa, Component: dt, PureComponent: Pi, memo: Ea, forwardRef: ma, flushSync: Fa, unstable_batchedUpdates: Ya, StrictMode: Va, Suspense: Qr, SuspenseList: pr, lazy: Oa, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: ba };
1477
+ const Uu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1480
1478
  __proto__: null,
1481
- Children: ma,
1479
+ Children: ja,
1482
1480
  Component: dt,
1483
1481
  Fragment: He,
1484
1482
  PureComponent: Pi,
1485
- StrictMode: Fa,
1483
+ StrictMode: Va,
1486
1484
  Suspense: Qr,
1487
1485
  SuspenseList: pr,
1488
- __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Ca,
1489
- cloneElement: Ua,
1490
- createContext: lo,
1486
+ __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: ba,
1487
+ cloneElement: Ra,
1488
+ createContext: Mo,
1491
1489
  createElement: pt,
1492
- createFactory: ba,
1493
- createPortal: Oa,
1494
- createRef: da,
1490
+ createFactory: La,
1491
+ createPortal: xa,
1492
+ createRef: Ma,
1495
1493
  default: oe,
1496
- findDOMNode: Qa,
1497
- flushSync: Ya,
1498
- forwardRef: Ea,
1494
+ findDOMNode: Pa,
1495
+ flushSync: Fa,
1496
+ forwardRef: ma,
1499
1497
  hydrate: za,
1500
- isElement: Va,
1501
- isFragment: La,
1502
- isMemo: ka,
1498
+ isElement: Ba,
1499
+ isFragment: ka,
1500
+ isMemo: Ua,
1503
1501
  isValidElement: Xr,
1504
- lazy: _a,
1505
- memo: Aa,
1506
- render: va,
1507
- startTransition: ho,
1508
- unmountComponentAtNode: Ra,
1509
- unstable_batchedUpdates: Pa,
1510
- useCallback: go,
1502
+ lazy: Oa,
1503
+ memo: Ea,
1504
+ render: Ca,
1505
+ startTransition: yo,
1506
+ unmountComponentAtNode: Qa,
1507
+ unstable_batchedUpdates: Ya,
1508
+ useCallback: No,
1511
1509
  useContext: Sr,
1512
- useDebugValue: No,
1513
- useDeferredValue: yo,
1510
+ useDebugValue: Io,
1511
+ useDeferredValue: po,
1514
1512
  useEffect: it,
1515
- useErrorBoundary: yu,
1516
- useId: Io,
1517
- useImperativeHandle: Mo,
1518
- useInsertionEffect: To,
1513
+ useErrorBoundary: pu,
1514
+ useId: fo,
1515
+ useImperativeHandle: go,
1516
+ useInsertionEffect: Ao,
1519
1517
  useLayoutEffect: Gt,
1520
1518
  useMemo: Jr,
1521
1519
  useReducer: en,
1522
1520
  useRef: Mt,
1523
1521
  useState: ke,
1524
- useSyncExternalStore: Do,
1525
- useTransition: po,
1526
- version: Lu
1527
- }, Symbol.toStringTag, { value: "Module" })), Uu = (t) => t;
1528
- function Ru(t, e = Uu) {
1522
+ useSyncExternalStore: ho,
1523
+ useTransition: To,
1524
+ version: ku
1525
+ }, Symbol.toStringTag, { value: "Module" })), Ru = (t) => t;
1526
+ function Qu(t, e = Ru) {
1529
1527
  const r = oe.useSyncExternalStore(
1530
1528
  t.subscribe,
1531
1529
  () => e(t.getState()),
@@ -1533,11 +1531,11 @@ function Ru(t, e = Uu) {
1533
1531
  );
1534
1532
  return oe.useDebugValue(r), r;
1535
1533
  }
1536
- const ps = (t) => {
1537
- const e = Mu(t), r = (i) => Ru(e, i);
1534
+ const Ts = (t) => {
1535
+ const e = gu(t), r = (i) => Qu(e, i);
1538
1536
  return Object.assign(r, e), r;
1539
- }, Qu = (t) => t ? ps(t) : ps;
1540
- function Pu(t) {
1537
+ }, Pu = (t) => t ? Ts(t) : Ts;
1538
+ function Yu(t) {
1541
1539
  if (Object.prototype.hasOwnProperty.call(t, "__esModule")) return t;
1542
1540
  var e = t.default;
1543
1541
  if (typeof e == "function") {
@@ -1562,12 +1560,12 @@ function Pu(t) {
1562
1560
  }), r;
1563
1561
  }
1564
1562
  var V = {};
1565
- const Yu = /* @__PURE__ */ Pu(ku);
1566
- var Cr = { exports: {} }, Fu = Cr.exports, Ts;
1567
- function Vu() {
1568
- return Ts || (Ts = 1, (function(t, e) {
1563
+ const Fu = /* @__PURE__ */ Yu(Uu);
1564
+ var zr = { exports: {} }, Vu = zr.exports, As;
1565
+ function Bu() {
1566
+ return As || (As = 1, (function(t, e) {
1569
1567
  (function(r, i) {
1570
- var n = "1.0.41", o = "", s = "?", a = "function", c = "undefined", l = "object", D = "string", d = "major", u = "model", g = "name", f = "type", M = "vendor", I = "version", p = "architecture", A = "console", E = "mobile", m = "tablet", z = "smarttv", v = "wearable", R = "embedded", B = 500, le = "Amazon", P = "Apple", G = "ASUS", C = "BlackBerry", Z = "Browser", Me = "Chrome", ce = "Edge", ye = "Firefox", he = "Google", se = "Honor", $ = "Huawei", U = "Lenovo", K = "LG", ne = "Microsoft", me = "Motorola", ae = "Nvidia", F = "OnePlus", re = "Opera", Ze = "OPPO", Fe = "Samsung", gt = "Sharp", Xe = "Sony", ot = "Xiaomi", Nt = "Zebra", Et = "Facebook", Ft = "Chromium OS", It = "Mac OS", ft = " Browser", Vt = function(te, ie) {
1568
+ var n = "1.0.41", o = "", s = "?", a = "function", c = "undefined", l = "object", D = "string", d = "major", u = "model", g = "name", f = "type", M = "vendor", I = "version", p = "architecture", A = "console", E = "mobile", m = "tablet", C = "smarttv", v = "wearable", R = "embedded", B = 500, le = "Amazon", P = "Apple", G = "ASUS", z = "BlackBerry", Z = "Browser", Me = "Chrome", ce = "Edge", ye = "Firefox", he = "Google", se = "Honor", $ = "Huawei", U = "Lenovo", K = "LG", ne = "Microsoft", me = "Motorola", ae = "Nvidia", F = "OnePlus", re = "Opera", Ze = "OPPO", Fe = "Samsung", gt = "Sharp", Xe = "Sony", ot = "Xiaomi", Nt = "Zebra", Et = "Facebook", Ft = "Chromium OS", It = "Mac OS", ft = " Browser", Vt = function(te, ie) {
1571
1569
  var H = {};
1572
1570
  for (var ge in te)
1573
1571
  ie[ge] && ie[ge].length % 2 === 0 ? H[ge] = ie[ge].concat(te[ge]) : H[ge] = te[ge];
@@ -1586,12 +1584,12 @@ function Vu() {
1586
1584
  if (typeof te === D)
1587
1585
  return te = te.replace(/^\s\s*/, o), typeof ie === c ? te : te.substring(0, B);
1588
1586
  }, _ = function(te, ie) {
1589
- for (var H = 0, ge, be, Ce, Ie, J, Le; H < ie.length && !J; ) {
1587
+ for (var H = 0, ge, be, ze, Ie, J, Le; H < ie.length && !J; ) {
1590
1588
  var Bt = ie[H], Jt = ie[H + 1];
1591
1589
  for (ge = be = 0; ge < Bt.length && !J && Bt[ge]; )
1592
1590
  if (J = Bt[ge++].exec(te), J)
1593
- for (Ce = 0; Ce < Jt.length; Ce++)
1594
- Le = J[++be], Ie = Jt[Ce], typeof Ie === l && Ie.length > 0 ? Ie.length === 2 ? typeof Ie[1] == a ? this[Ie[0]] = Ie[1].call(this, Le) : this[Ie[0]] = Ie[1] : Ie.length === 3 ? typeof Ie[1] === a && !(Ie[1].exec && Ie[1].test) ? this[Ie[0]] = Le ? Ie[1].call(this, Le, Ie[2]) : i : this[Ie[0]] = Le ? Le.replace(Ie[1], Ie[2]) : i : Ie.length === 4 && (this[Ie[0]] = Le ? Ie[3].call(this, Le.replace(Ie[1], Ie[2])) : i) : this[Ie] = Le || i;
1591
+ for (ze = 0; ze < Jt.length; ze++)
1592
+ Le = J[++be], Ie = Jt[ze], typeof Ie === l && Ie.length > 0 ? Ie.length === 2 ? typeof Ie[1] == a ? this[Ie[0]] = Ie[1].call(this, Le) : this[Ie[0]] = Ie[1] : Ie.length === 3 ? typeof Ie[1] === a && !(Ie[1].exec && Ie[1].test) ? this[Ie[0]] = Le ? Ie[1].call(this, Le, Ie[2]) : i : this[Ie[0]] = Le ? Le.replace(Ie[1], Ie[2]) : i : Ie.length === 4 && (this[Ie[0]] = Le ? Ie[3].call(this, Le.replace(Ie[1], Ie[2])) : i) : this[Ie] = Le || i;
1595
1593
  H += 2;
1596
1594
  }
1597
1595
  }, Y = function(te, ie) {
@@ -1603,25 +1601,25 @@ function Vu() {
1603
1601
  } else if (Dt(ie[H], te))
1604
1602
  return H === s ? i : H;
1605
1603
  return ie.hasOwnProperty("*") ? ie["*"] : te;
1606
- }, k = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, b = { 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" }, W = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [I, [g, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [I, [g, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [g, I], [/opios[\/ ]+([\w\.]+)/i], [I, [g, re + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [I, [g, re + " GX"]], [/\bopr\/([\w\.]+)/i], [I, [g, re]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [I, [g, "Baidu"]], [/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i], [I, [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, I], [/quark(?:pc)?\/([-\w\.]+)/i], [I, [g, "Quark"]], [/\bddg\/([\w\.]+)/i], [I, [g, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [I, [g, "UC" + Z]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [I, [g, "WeChat"]], [/konqueror\/([\w\.]+)/i], [I, [g, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [I, [g, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [I, [g, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [I, [g, "Smart Lenovo " + Z]], [/(avast|avg)\/([\w\.]+)/i], [[g, /(.+)/, "$1 Secure " + Z], I], [/\bfocus\/([\w\.]+)/i], [I, [g, ye + " Focus"]], [/\bopt\/([\w\.]+)/i], [I, [g, re + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [I, [g, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [I, [g, "Dolphin"]], [/coast\/([\w\.]+)/i], [I, [g, re + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [I, [g, "MIUI" + ft]], [/fxios\/([\w\.-]+)/i], [I, [g, ye]], [/\bqihoobrowser\/?([\w\.]*)/i], [I, [g, "360"]], [/\b(qq)\/([\w\.]+)/i], [[g, /(.+)/, "$1Browser"], I], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[g, /(.+)/, "$1" + ft], I], [/samsungbrowser\/([\w\.]+)/i], [I, [g, Fe + " Internet"]], [/metasr[\/ ]?([\d\.]+)/i], [I, [g, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[g, "Sogou Mobile"], I], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i], [g, I], [/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i], [g], [/ome\/([\w\.]+) \w* ?(iron) saf/i, /ome\/([\w\.]+).+qihu (360)[es]e/i], [I, g], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[g, Et], I], [/(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, I], [/\bgsa\/([\w\.]+) .*safari\//i], [I, [g, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [I, [g, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [I, [g, Me + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[g, Me + " WebView"], I], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [I, [g, "Android " + Z]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [g, I], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [I, [g, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [I, g], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [g, [I, Y, k]], [/(webkit|khtml)\/([\w\.]+)/i], [g, I], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[g, "Netscape"], I], [/(wolvic|librewolf)\/([\w\.]+)/i], [g, I], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [I, [g, ye + " 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, [I, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [g, [I, /master.|lts./, ""]]], cpu: [[/\b((amd|x|x86[-_]?|wow|win)64)\b/i], [[p, "amd64"]], [/(ia32(?=;))/i, /\b((i[346]|x)86)(pc)?\b/i], [[p, "ia32"]], [/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i], [[p, "arm64"]], [/\b(arm(v[67])?ht?n?[fl]p?)\b/i], [[p, "armhf"]], [/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i], [[p, "arm"]], [/((ppc|powerpc)(64)?)( mac|;|\))/i], [[p, /ower/, o, qe]], [/ sun4\w[;\)]/i], [[p, "sparc"]], [/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i], [[p, qe]]], 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], [u, [M, Fe], [f, m]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [u, [M, Fe], [f, E]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [u, [M, P], [f, E]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [u, [M, P], [f, m]], [/(macintosh);/i], [u, [M, P]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [u, [M, gt], [f, E]], [/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i], [u, [M, se], [f, m]], [/honor([-\w ]+)[;\)]/i], [u, [M, se], [f, E]], [/\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], [u, [M, $], [f, m]], [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [u, [M, $], [f, E]], [/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i, /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i], [[u, /_/g, " "], [M, ot], [f, m]], [/\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], [[u, /_/g, " "], [M, ot], [f, E]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [u, [M, Ze], [f, E]], [/\b(opd2(\d{3}a?))(?: bui|\))/i], [u, [M, Y, { OnePlus: ["304", "403", "203"], "*": Ze }], [f, m]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [u, [M, "Vivo"], [f, E]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [u, [M, "Realme"], [f, E]], [/\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], [u, [M, me], [f, E]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [u, [M, me], [f, m]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [u, [M, K], [f, m]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i, /\blg-?([\d\w]+) bui/i], [u, [M, K], [f, E]], [/(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], [u, [M, U], [f, m]], [/(nokia) (t[12][01])/i], [M, u, [f, m]], [/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i, /nokia[-_ ]?(([-\w\. ]*))/i], [[u, /_/g, " "], [f, E], [M, "Nokia"]], [/(pixel (c|tablet))\b/i], [u, [M, he], [f, m]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [u, [M, he], [f, E]], [/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], [u, [M, Xe], [f, E]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[u, "Xperia Tablet"], [M, Xe], [f, m]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [u, [M, F], [f, E]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [u, [M, le], [f, m]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[u, /(.+)/g, "Fire Phone $1"], [M, le], [f, E]], [/(playbook);[-\w\),; ]+(rim)/i], [u, M, [f, m]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [u, [M, C], [f, E]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [u, [M, G], [f, m]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [u, [M, G], [f, E]], [/(nexus 9)/i], [u, [M, "HTC"], [f, m]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [M, [u, /_/g, " "], [f, E]], [/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], [u, [M, "TCL"], [f, m]], [/(itel) ((\w+))/i], [[M, qe], u, [f, Y, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [u, [M, "Acer"], [f, m]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [u, [M, "Meizu"], [f, E]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [u, [M, "Ulefone"], [f, E]], [/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i], [u, [M, "Energizer"], [f, E]], [/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i], [u, [M, "Cat"], [f, E]], [/((?:new )?andromax[\w- ]+)(?: bui|\))/i], [u, [M, "Smartfren"], [f, E]], [/droid.+; (a(?:015|06[35]|142p?))/i], [u, [M, "Nothing"], [f, E]], [/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i, /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i], [u, [M, "Archos"], [f, m]], [/archos ([\w ]+)( b|\))/i, /; (ac[3-6]\d\w{2,8})( b|\))/i], [u, [M, "Archos"], [f, E]], [/(imo) (tab \w+)/i, /(infinix) (x1101b?)/i], [M, u, [f, m]], [/(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], [M, u, [f, E]], [/(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], [M, u, [f, m]], [/(surface duo)/i], [u, [M, ne], [f, m]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [u, [M, "Fairphone"], [f, E]], [/(u304aa)/i], [u, [M, "AT&T"], [f, E]], [/\bsie-(\w*)/i], [u, [M, "Siemens"], [f, E]], [/\b(rct\w+) b/i], [u, [M, "RCA"], [f, m]], [/\b(venue[\d ]{2,7}) b/i], [u, [M, "Dell"], [f, m]], [/\b(q(?:mv|ta)\w+) b/i], [u, [M, "Verizon"], [f, m]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [u, [M, "Barnes & Noble"], [f, m]], [/\b(tm\d{3}\w+) b/i], [u, [M, "NuVision"], [f, m]], [/\b(k88) b/i], [u, [M, "ZTE"], [f, m]], [/\b(nx\d{3}j) b/i], [u, [M, "ZTE"], [f, E]], [/\b(gen\d{3}) b.+49h/i], [u, [M, "Swiss"], [f, E]], [/\b(zur\d{3}) b/i], [u, [M, "Swiss"], [f, m]], [/\b((zeki)?tb.*\b) b/i], [u, [M, "Zeki"], [f, m]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[M, "Dragon Touch"], u, [f, m]], [/\b(ns-?\w{0,9}) b/i], [u, [M, "Insignia"], [f, m]], [/\b((nxa|next)-?\w{0,9}) b/i], [u, [M, "NextBook"], [f, m]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[M, "Voice"], u, [f, E]], [/\b(lvtel\-)?(v1[12]) b/i], [[M, "LvTel"], u, [f, E]], [/\b(ph-1) /i], [u, [M, "Essential"], [f, E]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [u, [M, "Envizen"], [f, m]], [/\b(trio[-\w\. ]+) b/i], [u, [M, "MachSpeed"], [f, m]], [/\btu_(1491) b/i], [u, [M, "Rotor"], [f, m]], [/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i], [u, [M, ae], [f, m]], [/(sprint) (\w+)/i], [M, u, [f, E]], [/(kin\.[onetw]{3})/i], [[u, /\./g, " "], [M, ne], [f, E]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [u, [M, Nt], [f, m]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [u, [M, Nt], [f, E]], [/smart-tv.+(samsung)/i], [M, [f, z]], [/hbbtv.+maple;(\d+)/i], [[u, /^/, "SmartTV"], [M, Fe], [f, z]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[M, K], [f, z]], [/(apple) ?tv/i], [M, [u, P + " TV"], [f, z]], [/crkey/i], [[u, Me + "cast"], [M, he], [f, z]], [/droid.+aft(\w+)( bui|\))/i], [u, [M, le], [f, z]], [/(shield \w+ tv)/i], [u, [M, ae], [f, z]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [u, [M, gt], [f, z]], [/(bravia[\w ]+)( bui|\))/i], [u, [M, Xe], [f, z]], [/(mi(tv|box)-?\w+) bui/i], [u, [M, ot], [f, z]], [/Hbbtv.*(technisat) (.*);/i], [M, u, [f, z]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[M, j], [u, j], [f, z]], [/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i], [u, [f, z]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[f, z]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [M, u, [f, A]], [/droid.+; (shield)( bui|\))/i], [u, [M, ae], [f, A]], [/(playstation \w+)/i], [u, [M, Xe], [f, A]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [u, [M, ne], [f, A]], [/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i], [u, [M, Fe], [f, v]], [/((pebble))app/i, /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i], [M, u, [f, v]], [/(ow(?:19|20)?we?[1-3]{1,3})/i], [u, [M, Ze], [f, v]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [u, [M, P], [f, v]], [/(opwwe\d{3})/i], [u, [M, F], [f, v]], [/(moto 360)/i], [u, [M, me], [f, v]], [/(smartwatch 3)/i], [u, [M, Xe], [f, v]], [/(g watch r)/i], [u, [M, K], [f, v]], [/droid.+; (wt63?0{2,3})\)/i], [u, [M, Nt], [f, v]], [/droid.+; (glass) \d/i], [u, [M, he], [f, v]], [/(pico) (4|neo3(?: link|pro)?)/i], [M, u, [f, v]], [/; (quest( \d| pro)?)/i], [u, [M, Et], [f, v]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [M, [f, R]], [/(aeobc)\b/i], [u, [M, le], [f, R]], [/(homepod).+mac os/i], [u, [M, P], [f, R]], [/windows iot/i], [[f, R]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [u, [f, E]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [u, [f, m]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[f, m]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[f, E]], [/droid .+?; ([\w\. -]+)( bui|\))/i], [u, [M, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [I, [g, ce + "HTML"]], [/(arkweb)\/([\w\.]+)/i], [g, I], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [I, [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, I], [/ladybird\//i], [[g, "LibWeb"]], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [I, g]], os: [[/microsoft (windows) (vista|xp)/i], [g, I], [/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i], [g, [I, Y, b]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[I, Y, b], [g, "Windows"]], [/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[I, /_/g, "."], [g, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[g, It], [I, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [I, g], [/(ubuntu) ([\w\.]+) like android/i], [[g, /(.+)/, "$1 Touch"], I], [/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i], [g, I], [/\(bb(10);/i], [I, [g, C]], [/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i], [I, [g, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [I, [g, ye + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [I, [g, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [I, [g, "watchOS"]], [/crkey\/([\d\.]+)/i], [I, [g, Me + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[g, Ft], I], [/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, I], [/(sunos) ?([\w\.\d]*)/i], [[g, "Solaris"], I], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [g, I]] }, q = function(te, ie) {
1604
+ }, k = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, b = { 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" }, W = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [I, [g, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [I, [g, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [g, I], [/opios[\/ ]+([\w\.]+)/i], [I, [g, re + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [I, [g, re + " GX"]], [/\bopr\/([\w\.]+)/i], [I, [g, re]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [I, [g, "Baidu"]], [/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i], [I, [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, I], [/quark(?:pc)?\/([-\w\.]+)/i], [I, [g, "Quark"]], [/\bddg\/([\w\.]+)/i], [I, [g, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [I, [g, "UC" + Z]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [I, [g, "WeChat"]], [/konqueror\/([\w\.]+)/i], [I, [g, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [I, [g, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [I, [g, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [I, [g, "Smart Lenovo " + Z]], [/(avast|avg)\/([\w\.]+)/i], [[g, /(.+)/, "$1 Secure " + Z], I], [/\bfocus\/([\w\.]+)/i], [I, [g, ye + " Focus"]], [/\bopt\/([\w\.]+)/i], [I, [g, re + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [I, [g, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [I, [g, "Dolphin"]], [/coast\/([\w\.]+)/i], [I, [g, re + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [I, [g, "MIUI" + ft]], [/fxios\/([\w\.-]+)/i], [I, [g, ye]], [/\bqihoobrowser\/?([\w\.]*)/i], [I, [g, "360"]], [/\b(qq)\/([\w\.]+)/i], [[g, /(.+)/, "$1Browser"], I], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[g, /(.+)/, "$1" + ft], I], [/samsungbrowser\/([\w\.]+)/i], [I, [g, Fe + " Internet"]], [/metasr[\/ ]?([\d\.]+)/i], [I, [g, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[g, "Sogou Mobile"], I], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i], [g, I], [/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i], [g], [/ome\/([\w\.]+) \w* ?(iron) saf/i, /ome\/([\w\.]+).+qihu (360)[es]e/i], [I, g], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[g, Et], I], [/(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, I], [/\bgsa\/([\w\.]+) .*safari\//i], [I, [g, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [I, [g, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [I, [g, Me + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[g, Me + " WebView"], I], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [I, [g, "Android " + Z]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [g, I], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [I, [g, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [I, g], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [g, [I, Y, k]], [/(webkit|khtml)\/([\w\.]+)/i], [g, I], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[g, "Netscape"], I], [/(wolvic|librewolf)\/([\w\.]+)/i], [g, I], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [I, [g, ye + " 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, [I, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [g, [I, /master.|lts./, ""]]], cpu: [[/\b((amd|x|x86[-_]?|wow|win)64)\b/i], [[p, "amd64"]], [/(ia32(?=;))/i, /\b((i[346]|x)86)(pc)?\b/i], [[p, "ia32"]], [/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i], [[p, "arm64"]], [/\b(arm(v[67])?ht?n?[fl]p?)\b/i], [[p, "armhf"]], [/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i], [[p, "arm"]], [/((ppc|powerpc)(64)?)( mac|;|\))/i], [[p, /ower/, o, qe]], [/ sun4\w[;\)]/i], [[p, "sparc"]], [/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i], [[p, qe]]], 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], [u, [M, Fe], [f, m]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [u, [M, Fe], [f, E]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [u, [M, P], [f, E]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [u, [M, P], [f, m]], [/(macintosh);/i], [u, [M, P]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [u, [M, gt], [f, E]], [/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i], [u, [M, se], [f, m]], [/honor([-\w ]+)[;\)]/i], [u, [M, se], [f, E]], [/\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], [u, [M, $], [f, m]], [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [u, [M, $], [f, E]], [/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i, /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i], [[u, /_/g, " "], [M, ot], [f, m]], [/\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], [[u, /_/g, " "], [M, ot], [f, E]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [u, [M, Ze], [f, E]], [/\b(opd2(\d{3}a?))(?: bui|\))/i], [u, [M, Y, { OnePlus: ["304", "403", "203"], "*": Ze }], [f, m]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [u, [M, "Vivo"], [f, E]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [u, [M, "Realme"], [f, E]], [/\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], [u, [M, me], [f, E]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [u, [M, me], [f, m]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [u, [M, K], [f, m]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i, /\blg-?([\d\w]+) bui/i], [u, [M, K], [f, E]], [/(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], [u, [M, U], [f, m]], [/(nokia) (t[12][01])/i], [M, u, [f, m]], [/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i, /nokia[-_ ]?(([-\w\. ]*))/i], [[u, /_/g, " "], [f, E], [M, "Nokia"]], [/(pixel (c|tablet))\b/i], [u, [M, he], [f, m]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [u, [M, he], [f, E]], [/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], [u, [M, Xe], [f, E]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[u, "Xperia Tablet"], [M, Xe], [f, m]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [u, [M, F], [f, E]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [u, [M, le], [f, m]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[u, /(.+)/g, "Fire Phone $1"], [M, le], [f, E]], [/(playbook);[-\w\),; ]+(rim)/i], [u, M, [f, m]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [u, [M, z], [f, E]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [u, [M, G], [f, m]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [u, [M, G], [f, E]], [/(nexus 9)/i], [u, [M, "HTC"], [f, m]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [M, [u, /_/g, " "], [f, E]], [/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], [u, [M, "TCL"], [f, m]], [/(itel) ((\w+))/i], [[M, qe], u, [f, Y, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [u, [M, "Acer"], [f, m]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [u, [M, "Meizu"], [f, E]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [u, [M, "Ulefone"], [f, E]], [/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i], [u, [M, "Energizer"], [f, E]], [/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i], [u, [M, "Cat"], [f, E]], [/((?:new )?andromax[\w- ]+)(?: bui|\))/i], [u, [M, "Smartfren"], [f, E]], [/droid.+; (a(?:015|06[35]|142p?))/i], [u, [M, "Nothing"], [f, E]], [/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i, /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i], [u, [M, "Archos"], [f, m]], [/archos ([\w ]+)( b|\))/i, /; (ac[3-6]\d\w{2,8})( b|\))/i], [u, [M, "Archos"], [f, E]], [/(imo) (tab \w+)/i, /(infinix) (x1101b?)/i], [M, u, [f, m]], [/(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], [M, u, [f, E]], [/(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], [M, u, [f, m]], [/(surface duo)/i], [u, [M, ne], [f, m]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [u, [M, "Fairphone"], [f, E]], [/(u304aa)/i], [u, [M, "AT&T"], [f, E]], [/\bsie-(\w*)/i], [u, [M, "Siemens"], [f, E]], [/\b(rct\w+) b/i], [u, [M, "RCA"], [f, m]], [/\b(venue[\d ]{2,7}) b/i], [u, [M, "Dell"], [f, m]], [/\b(q(?:mv|ta)\w+) b/i], [u, [M, "Verizon"], [f, m]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [u, [M, "Barnes & Noble"], [f, m]], [/\b(tm\d{3}\w+) b/i], [u, [M, "NuVision"], [f, m]], [/\b(k88) b/i], [u, [M, "ZTE"], [f, m]], [/\b(nx\d{3}j) b/i], [u, [M, "ZTE"], [f, E]], [/\b(gen\d{3}) b.+49h/i], [u, [M, "Swiss"], [f, E]], [/\b(zur\d{3}) b/i], [u, [M, "Swiss"], [f, m]], [/\b((zeki)?tb.*\b) b/i], [u, [M, "Zeki"], [f, m]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[M, "Dragon Touch"], u, [f, m]], [/\b(ns-?\w{0,9}) b/i], [u, [M, "Insignia"], [f, m]], [/\b((nxa|next)-?\w{0,9}) b/i], [u, [M, "NextBook"], [f, m]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[M, "Voice"], u, [f, E]], [/\b(lvtel\-)?(v1[12]) b/i], [[M, "LvTel"], u, [f, E]], [/\b(ph-1) /i], [u, [M, "Essential"], [f, E]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [u, [M, "Envizen"], [f, m]], [/\b(trio[-\w\. ]+) b/i], [u, [M, "MachSpeed"], [f, m]], [/\btu_(1491) b/i], [u, [M, "Rotor"], [f, m]], [/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i], [u, [M, ae], [f, m]], [/(sprint) (\w+)/i], [M, u, [f, E]], [/(kin\.[onetw]{3})/i], [[u, /\./g, " "], [M, ne], [f, E]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [u, [M, Nt], [f, m]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [u, [M, Nt], [f, E]], [/smart-tv.+(samsung)/i], [M, [f, C]], [/hbbtv.+maple;(\d+)/i], [[u, /^/, "SmartTV"], [M, Fe], [f, C]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[M, K], [f, C]], [/(apple) ?tv/i], [M, [u, P + " TV"], [f, C]], [/crkey/i], [[u, Me + "cast"], [M, he], [f, C]], [/droid.+aft(\w+)( bui|\))/i], [u, [M, le], [f, C]], [/(shield \w+ tv)/i], [u, [M, ae], [f, C]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [u, [M, gt], [f, C]], [/(bravia[\w ]+)( bui|\))/i], [u, [M, Xe], [f, C]], [/(mi(tv|box)-?\w+) bui/i], [u, [M, ot], [f, C]], [/Hbbtv.*(technisat) (.*);/i], [M, u, [f, C]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[M, j], [u, j], [f, C]], [/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i], [u, [f, C]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[f, C]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [M, u, [f, A]], [/droid.+; (shield)( bui|\))/i], [u, [M, ae], [f, A]], [/(playstation \w+)/i], [u, [M, Xe], [f, A]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [u, [M, ne], [f, A]], [/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i], [u, [M, Fe], [f, v]], [/((pebble))app/i, /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i], [M, u, [f, v]], [/(ow(?:19|20)?we?[1-3]{1,3})/i], [u, [M, Ze], [f, v]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [u, [M, P], [f, v]], [/(opwwe\d{3})/i], [u, [M, F], [f, v]], [/(moto 360)/i], [u, [M, me], [f, v]], [/(smartwatch 3)/i], [u, [M, Xe], [f, v]], [/(g watch r)/i], [u, [M, K], [f, v]], [/droid.+; (wt63?0{2,3})\)/i], [u, [M, Nt], [f, v]], [/droid.+; (glass) \d/i], [u, [M, he], [f, v]], [/(pico) (4|neo3(?: link|pro)?)/i], [M, u, [f, v]], [/; (quest( \d| pro)?)/i], [u, [M, Et], [f, v]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [M, [f, R]], [/(aeobc)\b/i], [u, [M, le], [f, R]], [/(homepod).+mac os/i], [u, [M, P], [f, R]], [/windows iot/i], [[f, R]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [u, [f, E]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [u, [f, m]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[f, m]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[f, E]], [/droid .+?; ([\w\. -]+)( bui|\))/i], [u, [M, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [I, [g, ce + "HTML"]], [/(arkweb)\/([\w\.]+)/i], [g, I], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [I, [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, I], [/ladybird\//i], [[g, "LibWeb"]], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [I, g]], os: [[/microsoft (windows) (vista|xp)/i], [g, I], [/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i], [g, [I, Y, b]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[I, Y, b], [g, "Windows"]], [/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[I, /_/g, "."], [g, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[g, It], [I, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [I, g], [/(ubuntu) ([\w\.]+) like android/i], [[g, /(.+)/, "$1 Touch"], I], [/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i], [g, I], [/\(bb(10);/i], [I, [g, z]], [/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i], [I, [g, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [I, [g, ye + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [I, [g, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [I, [g, "watchOS"]], [/crkey\/([\d\.]+)/i], [I, [g, Me + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[g, Ft], I], [/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, I], [/(sunos) ?([\w\.\d]*)/i], [[g, "Solaris"], I], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [g, I]] }, q = function(te, ie) {
1607
1605
  if (typeof te === l && (ie = te, te = i), !(this instanceof q))
1608
1606
  return new q(te, ie).getResult();
1609
- var H = typeof r !== c && r.navigator ? r.navigator : i, ge = te || (H && H.userAgent ? H.userAgent : o), be = H && H.userAgentData ? H.userAgentData : i, Ce = ie ? Vt(W, ie) : W, Ie = H && H.userAgent == ge;
1607
+ var H = typeof r !== c && r.navigator ? r.navigator : i, ge = te || (H && H.userAgent ? H.userAgent : o), be = H && H.userAgentData ? H.userAgentData : i, ze = ie ? Vt(W, ie) : W, Ie = H && H.userAgent == ge;
1610
1608
  return this.getBrowser = function() {
1611
1609
  var J = {};
1612
- return J[g] = i, J[I] = i, _.call(J, ge, Ce.browser), J[d] = y(J[I]), Ie && H && H.brave && typeof H.brave.isBrave == a && (J[g] = "Brave"), J;
1610
+ return J[g] = i, J[I] = i, _.call(J, ge, ze.browser), J[d] = y(J[I]), Ie && H && H.brave && typeof H.brave.isBrave == a && (J[g] = "Brave"), J;
1613
1611
  }, this.getCPU = function() {
1614
1612
  var J = {};
1615
- return J[p] = i, _.call(J, ge, Ce.cpu), J;
1613
+ return J[p] = i, _.call(J, ge, ze.cpu), J;
1616
1614
  }, this.getDevice = function() {
1617
1615
  var J = {};
1618
- return J[M] = i, J[u] = i, J[f] = i, _.call(J, ge, Ce.device), Ie && !J[f] && be && be.mobile && (J[f] = E), Ie && J[u] == "Macintosh" && H && typeof H.standalone !== c && H.maxTouchPoints && H.maxTouchPoints > 2 && (J[u] = "iPad", J[f] = m), J;
1616
+ return J[M] = i, J[u] = i, J[f] = i, _.call(J, ge, ze.device), Ie && !J[f] && be && be.mobile && (J[f] = E), Ie && J[u] == "Macintosh" && H && typeof H.standalone !== c && H.maxTouchPoints && H.maxTouchPoints > 2 && (J[u] = "iPad", J[f] = m), J;
1619
1617
  }, this.getEngine = function() {
1620
1618
  var J = {};
1621
- return J[g] = i, J[I] = i, _.call(J, ge, Ce.engine), J;
1619
+ return J[g] = i, J[I] = i, _.call(J, ge, ze.engine), J;
1622
1620
  }, this.getOS = function() {
1623
1621
  var J = {};
1624
- return J[g] = i, J[I] = i, _.call(J, ge, Ce.os), Ie && !J[g] && be && be.platform && be.platform != "Unknown" && (J[g] = be.platform.replace(/chrome os/i, Ft).replace(/macos/i, It)), J;
1622
+ return J[g] = i, J[I] = i, _.call(J, ge, ze.os), Ie && !J[g] && be && be.platform && be.platform != "Unknown" && (J[g] = be.platform.replace(/chrome os/i, Ft).replace(/macos/i, It)), J;
1625
1623
  }, this.getResult = function() {
1626
1624
  return { ua: this.getUA(), browser: this.getBrowser(), engine: this.getEngine(), os: this.getOS(), device: this.getDevice(), cpu: this.getCPU() };
1627
1625
  }, this.getUA = function() {
@@ -1630,7 +1628,7 @@ function Vu() {
1630
1628
  return ge = typeof J === D && J.length > B ? j(J, B) : J, this;
1631
1629
  }, this.setUA(ge), this;
1632
1630
  };
1633
- q.VERSION = n, q.BROWSER = st([g, I, d]), q.CPU = st([p]), q.DEVICE = st([u, M, f, A, E, z, m, v, R]), q.ENGINE = q.OS = st([g, I]), t.exports && (e = t.exports = q), e.UAParser = q;
1631
+ q.VERSION = n, q.BROWSER = st([g, I, d]), q.CPU = st([p]), q.DEVICE = st([u, M, f, A, E, C, m, v, R]), q.ENGINE = q.OS = st([g, I]), t.exports && (e = t.exports = q), e.UAParser = q;
1634
1632
  var ee = typeof r !== c && (r.jQuery || r.Zepto);
1635
1633
  if (ee && !ee.ua) {
1636
1634
  var De = new q();
@@ -1643,17 +1641,17 @@ function Vu() {
1643
1641
  ee.ua[H] = ie[H];
1644
1642
  };
1645
1643
  }
1646
- })(typeof window == "object" ? window : Fu);
1647
- })(Cr, Cr.exports)), Cr.exports;
1644
+ })(typeof window == "object" ? window : Vu);
1645
+ })(zr, zr.exports)), zr.exports;
1648
1646
  }
1649
- var As;
1650
- function Bu() {
1651
- if (As) return V;
1652
- As = 1, Object.defineProperty(V, "__esModule", { value: !0 });
1647
+ var Es;
1648
+ function Wu() {
1649
+ if (Es) return V;
1650
+ Es = 1, Object.defineProperty(V, "__esModule", { value: !0 });
1653
1651
  function t(w) {
1654
1652
  return w && typeof w == "object" && "default" in w ? w.default : w;
1655
1653
  }
1656
- var e = Yu, r = t(e), i = Vu(), n = new i(), o = n.getBrowser(), s = n.getCPU(), a = n.getDevice(), c = n.getEngine(), l = n.getOS(), D = n.getUA(), d = function(N) {
1654
+ var e = Fu, r = t(e), i = Bu(), n = new i(), o = n.getBrowser(), s = n.getCPU(), a = n.getDevice(), c = n.getEngine(), l = n.getOS(), D = n.getUA(), d = function(N) {
1657
1655
  return n.setUA(N);
1658
1656
  }, u = function(N) {
1659
1657
  if (!N) {
@@ -1734,15 +1732,15 @@ function Bu() {
1734
1732
  writable: !0
1735
1733
  }) : w[N] = h, w;
1736
1734
  }
1737
- function z() {
1738
- return z = Object.assign || function(w) {
1735
+ function C() {
1736
+ return C = Object.assign || function(w) {
1739
1737
  for (var N = 1; N < arguments.length; N++) {
1740
1738
  var h = arguments[N];
1741
1739
  for (var O in h)
1742
1740
  Object.prototype.hasOwnProperty.call(h, O) && (w[O] = h[O]);
1743
1741
  }
1744
1742
  return w;
1745
- }, z.apply(this, arguments);
1743
+ }, C.apply(this, arguments);
1746
1744
  }
1747
1745
  function v(w, N) {
1748
1746
  if (typeof N != "function" && N !== null)
@@ -1787,7 +1785,7 @@ function Bu() {
1787
1785
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1788
1786
  return w;
1789
1787
  }
1790
- function C(w, N) {
1788
+ function z(w, N) {
1791
1789
  if (N && (typeof N == "object" || typeof N == "function"))
1792
1790
  return N;
1793
1791
  if (N !== void 0)
@@ -1974,19 +1972,19 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1974
1972
  };
1975
1973
  };
1976
1974
  function Ft(w) {
1977
- var N = w ? u(w) : g, h = N.device, O = N.browser, x = N.engine, fe = N.os, _e = N.ua, Ge = me(h.type), Si = Ge.isBrowser, xc = Ge.isMobile, vc = Ge.isTablet, Lo = Ge.isSmartTV, ko = Ge.isConsole, Uo = Ge.isWearable, Ro = Ge.isEmbedded;
1975
+ var N = w ? u(w) : g, h = N.device, O = N.browser, x = N.engine, fe = N.os, _e = N.ua, Ge = me(h.type), Si = Ge.isBrowser, vc = Ge.isMobile, Cc = Ge.isTablet, ko = Ge.isSmartTV, Uo = Ge.isConsole, Ro = Ge.isWearable, Qo = Ge.isEmbedded;
1978
1976
  if (Si)
1979
1977
  return Fe(Si, O, x, fe, _e);
1980
- if (Lo)
1981
- return Xe(Lo, x, fe, _e);
1982
1978
  if (ko)
1983
- return ot(ko, x, fe, _e);
1984
- if (xc || vc)
1985
- return gt(Ge, h, fe, _e);
1979
+ return Xe(ko, x, fe, _e);
1986
1980
  if (Uo)
1987
- return Nt(Uo, x, fe, _e);
1981
+ return ot(Uo, x, fe, _e);
1982
+ if (vc || Cc)
1983
+ return gt(Ge, h, fe, _e);
1988
1984
  if (Ro)
1989
- return Et(Ro, h, x, fe, _e);
1985
+ return Nt(Ro, x, fe, _e);
1986
+ if (Qo)
1987
+ return Et(Qo, h, x, fe, _e);
1990
1988
  }
1991
1989
  var It = function(N) {
1992
1990
  var h = N.type;
@@ -2051,7 +2049,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2051
2049
  }, be = function(N) {
2052
2050
  var h = N.name;
2053
2051
  return h === U.Chromium;
2054
- }, Ce = function(N) {
2052
+ }, ze = function(N) {
2055
2053
  var h = N.name;
2056
2054
  return h === U.Edge;
2057
2055
  }, Ie = function(N) {
@@ -2139,7 +2137,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2139
2137
  engineName: si(fe),
2140
2138
  engineVersion: ai(fe),
2141
2139
  getUA: Mi(_e),
2142
- isEdge: Ce(O) || Wt(_e),
2140
+ isEdge: ze(O) || Wt(_e),
2143
2141
  isYandex: Ie(O),
2144
2142
  deviceType: k(h),
2145
2143
  isIOS13: ui(),
@@ -2148,14 +2146,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2148
2146
  isIPod13: di(),
2149
2147
  isElectron: ci(),
2150
2148
  isEdgeChromium: Wt(_e),
2151
- isLegacyEdge: Ce(O) && !Wt(_e),
2149
+ isLegacyEdge: ze(O) && !Wt(_e),
2152
2150
  isWindows: W(x),
2153
2151
  isMacOs: q(x),
2154
2152
  isMIUI: ti(O),
2155
2153
  isSamsungBrowser: ri(O)
2156
2154
  };
2157
2155
  }
2158
- var Ni = st(a), Ii = y(a), fi = qe(a), sn = j(a), an = Le(o) || nt(), cn = be(o), Nr = Vt(a) || nt(), Di = It(a), hi = ft(a) || nt(), yi = Dt(a), un = Dt(a), pi = b(l), Ti = ee(l), Ai = De(l) || nt(), ln = H(o), dn = ge(o), Mn = J(o), gn = Bt(o), Ei = Jt(o), Nn = te(l), In = ie(l), fn = ii(o), Dn = ni(o), hn = oi(o), yn = _(a), pn = Y(a), Tn = si(c), An = ai(c), En = Mi(D), ht = Ce(o) || Wt(D), mn = Ie(o), ue = k(a), at = ui(), Ir = nt(), mi = li(), ji = di(), wi = ci(), cc = Wt(D), uc = Ce(o) && !Wt(D), lc = W(l), dc = q(l), Mc = ti(o), gc = ri(o), Nc = function(N) {
2156
+ var Ni = st(a), Ii = y(a), fi = qe(a), sn = j(a), an = Le(o) || nt(), cn = be(o), Nr = Vt(a) || nt(), Di = It(a), hi = ft(a) || nt(), yi = Dt(a), un = Dt(a), pi = b(l), Ti = ee(l), Ai = De(l) || nt(), ln = H(o), dn = ge(o), Mn = J(o), gn = Bt(o), Ei = Jt(o), Nn = te(l), In = ie(l), fn = ii(o), Dn = ni(o), hn = oi(o), yn = _(a), pn = Y(a), Tn = si(c), An = ai(c), En = Mi(D), ht = ze(o) || Wt(D), mn = Ie(o), ue = k(a), at = ui(), Ir = nt(), mi = li(), ji = di(), wi = ci(), uc = Wt(D), lc = ze(o) && !Wt(D), dc = W(l), Mc = q(l), gc = ti(o), Nc = ri(o), Ic = function(N) {
2159
2157
  if (!N || typeof N != "string") {
2160
2158
  console.error("No valid user agent string was provided");
2161
2159
  return;
@@ -2168,53 +2166,53 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2168
2166
  engine: _e,
2169
2167
  ua: Ge
2170
2168
  });
2171
- }, Ic = function(N) {
2169
+ }, fc = function(N) {
2172
2170
  var h = N.renderWithFragment, O = N.children, x = P(N, ["renderWithFragment", "children"]);
2173
2171
  return pi ? h ? r.createElement(e.Fragment, null, O) : r.createElement("div", x, O) : null;
2174
- }, fc = function(N) {
2172
+ }, Dc = function(N) {
2175
2173
  var h = N.renderWithFragment, O = N.children, x = P(N, ["renderWithFragment", "children"]);
2176
2174
  return yi ? h ? r.createElement(e.Fragment, null, O) : r.createElement("div", x, O) : null;
2177
- }, Dc = function(N) {
2175
+ }, hc = function(N) {
2178
2176
  var h = N.renderWithFragment, O = N.children, x = P(N, ["renderWithFragment", "children"]);
2179
2177
  return Ei ? h ? r.createElement(e.Fragment, null, O) : r.createElement("div", x, O) : null;
2180
- }, hc = function(N) {
2178
+ }, yc = function(N) {
2181
2179
  var h = N.renderWithFragment, O = N.children, x = P(N, ["renderWithFragment", "children"]);
2182
2180
  return Ai ? h ? r.createElement(e.Fragment, null, O) : r.createElement("div", x, O) : null;
2183
- }, yc = function(N) {
2181
+ }, pc = function(N) {
2184
2182
  var h = N.renderWithFragment, O = N.children, x = P(N, ["renderWithFragment", "children"]);
2185
2183
  return Nr ? h ? r.createElement(e.Fragment, null, O) : r.createElement("div", x, O) : null;
2186
- }, pc = function(N) {
2184
+ }, Tc = function(N) {
2187
2185
  var h = N.renderWithFragment, O = N.children, x = P(N, ["renderWithFragment", "children"]);
2188
2186
  return hi ? h ? r.createElement(e.Fragment, null, O) : r.createElement("div", x, O) : null;
2189
- }, Tc = function(N) {
2187
+ }, Ac = function(N) {
2190
2188
  var h = N.renderWithFragment, O = N.children, x = P(N, ["renderWithFragment", "children"]);
2191
2189
  return Ti ? h ? r.createElement(e.Fragment, null, O) : r.createElement("div", x, O) : null;
2192
- }, Ac = function(N) {
2190
+ }, Ec = function(N) {
2193
2191
  var h = N.renderWithFragment, O = N.children;
2194
2192
  N.viewClassName, N.style;
2195
2193
  var x = P(N, ["renderWithFragment", "children", "viewClassName", "style"]);
2196
2194
  return Di ? h ? r.createElement(e.Fragment, null, O) : r.createElement("div", x, O) : null;
2197
- }, Ec = function(N) {
2195
+ }, mc = function(N) {
2198
2196
  var h = N.renderWithFragment, O = N.children, x = P(N, ["renderWithFragment", "children"]);
2199
2197
  return Ni ? h ? r.createElement(e.Fragment, null, O) : r.createElement("div", x, O) : null;
2200
- }, mc = function(N) {
2198
+ }, jc = function(N) {
2201
2199
  var h = N.renderWithFragment, O = N.children, x = P(N, ["renderWithFragment", "children"]);
2202
2200
  return Ii ? h ? r.createElement(e.Fragment, null, O) : r.createElement("div", x, O) : null;
2203
- }, jc = function(N) {
2201
+ }, wc = function(N) {
2204
2202
  var h = N.renderWithFragment, O = N.children, x = P(N, ["renderWithFragment", "children"]);
2205
2203
  return fi ? h ? r.createElement(e.Fragment, null, O) : r.createElement("div", x, O) : null;
2206
- }, wc = function(N) {
2204
+ }, Sc = function(N) {
2207
2205
  var h = N.renderWithFragment, O = N.children;
2208
2206
  N.viewClassName, N.style;
2209
2207
  var x = N.condition, fe = P(N, ["renderWithFragment", "children", "viewClassName", "style", "condition"]);
2210
2208
  return x ? h ? r.createElement(e.Fragment, null, O) : r.createElement("div", fe, O) : null;
2211
2209
  };
2212
- function Sc(w) {
2210
+ function _c(w) {
2213
2211
  return /* @__PURE__ */ (function(N) {
2214
2212
  v(h, N);
2215
2213
  function h(O) {
2216
2214
  var x;
2217
- return p(this, h), x = C(this, R(h).call(this, O)), x.isEventListenerAdded = !1, x.handleOrientationChange = x.handleOrientationChange.bind(G(x)), x.onOrientationChange = x.onOrientationChange.bind(G(x)), x.onPageLoad = x.onPageLoad.bind(G(x)), x.state = {
2215
+ return p(this, h), x = z(this, R(h).call(this, O)), x.isEventListenerAdded = !1, x.handleOrientationChange = x.handleOrientationChange.bind(G(x)), x.onOrientationChange = x.onOrientationChange.bind(G(x)), x.onPageLoad = x.onPageLoad.bind(G(x)), x.state = {
2218
2216
  isLandscape: !1,
2219
2217
  isPortrait: !1
2220
2218
  }, x;
@@ -2252,7 +2250,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2252
2250
  }, {
2253
2251
  key: "render",
2254
2252
  value: function() {
2255
- return r.createElement(w, z({}, this.props, {
2253
+ return r.createElement(w, C({}, this.props, {
2256
2254
  isLandscape: this.state.isLandscape,
2257
2255
  isPortrait: this.state.isPortrait
2258
2256
  }));
@@ -2260,7 +2258,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2260
2258
  }]), h;
2261
2259
  })(r.Component);
2262
2260
  }
2263
- function _c() {
2261
+ function Oc() {
2264
2262
  var w = e.useState(function() {
2265
2263
  var fe = window.innerWidth > window.innerHeight ? 90 : 0;
2266
2264
  return {
@@ -2282,18 +2280,18 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2282
2280
  };
2283
2281
  }, [x]), h;
2284
2282
  }
2285
- function bo(w) {
2283
+ function Lo(w) {
2286
2284
  var N = w || window.navigator.userAgent;
2287
2285
  return u(N);
2288
2286
  }
2289
- function Oc(w) {
2290
- var N = w || window.navigator.userAgent, h = bo(N), O = gi(h);
2287
+ function xc(w) {
2288
+ var N = w || window.navigator.userAgent, h = Lo(N), O = gi(h);
2291
2289
  return [O, h];
2292
2290
  }
2293
- return V.AndroidView = Ic, V.BrowserTypes = U, V.BrowserView = fc, V.ConsoleView = mc, V.CustomView = wc, V.IEView = Dc, V.IOSView = hc, V.MobileOnlyView = Ac, V.MobileView = yc, V.OsTypes = K, V.SmartTVView = Ec, V.TabletView = pc, V.WearableView = jc, V.WinPhoneView = Tc, V.browserName = hn, V.browserVersion = Dn, V.deviceDetect = Ft, V.deviceType = ue, V.engineName = Tn, V.engineVersion = An, V.fullBrowserVersion = fn, V.getSelectorsByUserAgent = Nc, V.getUA = En, V.isAndroid = pi, V.isBrowser = yi, V.isChrome = ln, V.isChromium = cn, V.isConsole = Ii, V.isDesktop = un, V.isEdge = ht, V.isEdgeChromium = cc, V.isElectron = wi, V.isEmbedded = sn, V.isFirefox = dn, V.isIE = Ei, V.isIOS = Ai, V.isIOS13 = at, V.isIPad13 = Ir, V.isIPhone13 = mi, V.isIPod13 = ji, V.isLegacyEdge = uc, V.isMIUI = Mc, V.isMacOs = dc, V.isMobile = Nr, V.isMobileOnly = Di, V.isMobileSafari = an, V.isOpera = gn, V.isSafari = Mn, V.isSamsungBrowser = gc, V.isSmartTV = Ni, V.isTablet = hi, V.isWearable = fi, V.isWinPhone = Ti, V.isWindows = lc, V.isYandex = mn, V.mobileModel = pn, V.mobileVendor = yn, V.osName = In, V.osVersion = Nn, V.parseUserAgent = u, V.setUserAgent = ae, V.useDeviceData = bo, V.useDeviceSelectors = Oc, V.useMobileOrientation = _c, V.withOrientationChange = Sc, V;
2291
+ return V.AndroidView = fc, V.BrowserTypes = U, V.BrowserView = Dc, V.ConsoleView = jc, V.CustomView = Sc, V.IEView = hc, V.IOSView = yc, V.MobileOnlyView = Ec, V.MobileView = pc, V.OsTypes = K, V.SmartTVView = mc, V.TabletView = Tc, V.WearableView = wc, V.WinPhoneView = Ac, V.browserName = hn, V.browserVersion = Dn, V.deviceDetect = Ft, V.deviceType = ue, V.engineName = Tn, V.engineVersion = An, V.fullBrowserVersion = fn, V.getSelectorsByUserAgent = Ic, V.getUA = En, V.isAndroid = pi, V.isBrowser = yi, V.isChrome = ln, V.isChromium = cn, V.isConsole = Ii, V.isDesktop = un, V.isEdge = ht, V.isEdgeChromium = uc, V.isElectron = wi, V.isEmbedded = sn, V.isFirefox = dn, V.isIE = Ei, V.isIOS = Ai, V.isIOS13 = at, V.isIPad13 = Ir, V.isIPhone13 = mi, V.isIPod13 = ji, V.isLegacyEdge = lc, V.isMIUI = gc, V.isMacOs = Mc, V.isMobile = Nr, V.isMobileOnly = Di, V.isMobileSafari = an, V.isOpera = gn, V.isSafari = Mn, V.isSamsungBrowser = Nc, V.isSmartTV = Ni, V.isTablet = hi, V.isWearable = fi, V.isWinPhone = Ti, V.isWindows = dc, V.isYandex = mn, V.mobileModel = pn, V.mobileVendor = yn, V.osName = In, V.osVersion = Nn, V.parseUserAgent = u, V.setUserAgent = ae, V.useDeviceData = Lo, V.useDeviceSelectors = xc, V.useMobileOrientation = Oc, V.withOrientationChange = _c, V;
2294
2292
  }
2295
- var Je = Bu();
2296
- const Wu = (t, e) => Eo(t, e), Eo = (t, e) => {
2293
+ var Je = Wu();
2294
+ const $u = (t, e) => mo(t, e), mo = (t, e) => {
2297
2295
  const r = Kn(t, e);
2298
2296
  for (const i in r)
2299
2297
  if (Object.prototype.hasOwnProperty.call(r, i)) {
@@ -2302,19 +2300,19 @@ const Wu = (t, e) => Eo(t, e), Eo = (t, e) => {
2302
2300
  r[i] = Kn(n, e);
2303
2301
  else if (Array.isArray(n)) {
2304
2302
  const o = n.map(
2305
- (s) => typeof s == "object" ? Eo(s, e) : s
2303
+ (s) => typeof s == "object" ? mo(s, e) : s
2306
2304
  );
2307
2305
  r[i] = o;
2308
2306
  }
2309
2307
  }
2310
2308
  return r;
2311
2309
  }, Kn = (t, e) => {
2312
- const r = $u(t), i = t.layout;
2310
+ const r = Hu(t), i = t.layout;
2313
2311
  if (!i || i.length === 0) return r;
2314
2312
  let n = null;
2315
2313
  if (i.forEach((o) => {
2316
2314
  const s = e[o];
2317
- n ? s && Hu(s, n) : n = s;
2315
+ n ? s && Zu(s, n) : n = s;
2318
2316
  }), n) {
2319
2317
  const o = Kn(n, e);
2320
2318
  for (const s in o)
@@ -2323,83 +2321,83 @@ const Wu = (t, e) => Eo(t, e), Eo = (t, e) => {
2323
2321
  Object.prototype.hasOwnProperty.call(r, s) || (r[s] = a);
2324
2322
  }
2325
2323
  }
2326
- return Eo(r, e);
2327
- }, $u = (t) => {
2324
+ return mo(r, e);
2325
+ }, Hu = (t) => {
2328
2326
  const e = {};
2329
2327
  for (const r in t)
2330
2328
  Object.prototype.hasOwnProperty.call(t, r) && r.toLowerCase() !== "layout" && (e[r] = t[r]);
2331
2329
  return e;
2332
- }, Hu = (t, e) => {
2330
+ }, Zu = (t, e) => {
2333
2331
  for (const r in t)
2334
2332
  Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r]);
2335
2333
  }, Ue = [];
2336
2334
  for (let t = 0; t < 256; ++t)
2337
2335
  Ue.push((t + 256).toString(16).slice(1));
2338
- function Zu(t, e = 0) {
2336
+ function Gu(t, e = 0) {
2339
2337
  return (Ue[t[e + 0]] + Ue[t[e + 1]] + Ue[t[e + 2]] + Ue[t[e + 3]] + "-" + Ue[t[e + 4]] + Ue[t[e + 5]] + "-" + Ue[t[e + 6]] + Ue[t[e + 7]] + "-" + Ue[t[e + 8]] + Ue[t[e + 9]] + "-" + Ue[t[e + 10]] + Ue[t[e + 11]] + Ue[t[e + 12]] + Ue[t[e + 13]] + Ue[t[e + 14]] + Ue[t[e + 15]]).toLowerCase();
2340
2338
  }
2341
- let zn;
2342
- const Gu = new Uint8Array(16);
2343
- function Ku() {
2344
- if (!zn) {
2339
+ let Cn;
2340
+ const Ku = new Uint8Array(16);
2341
+ function Ju() {
2342
+ if (!Cn) {
2345
2343
  if (typeof crypto == "undefined" || !crypto.getRandomValues)
2346
2344
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
2347
- zn = crypto.getRandomValues.bind(crypto);
2345
+ Cn = crypto.getRandomValues.bind(crypto);
2348
2346
  }
2349
- return zn(Gu);
2347
+ return Cn(Ku);
2350
2348
  }
2351
- const Ju = typeof crypto != "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Es = { randomUUID: Ju };
2352
- function Xu(t, e, r) {
2349
+ const Xu = typeof crypto != "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto), ms = { randomUUID: Xu };
2350
+ function qu(t, e, r) {
2353
2351
  var n, o, s;
2354
2352
  t = t || {};
2355
- const i = (s = (o = t.random) != null ? o : (n = t.rng) == null ? void 0 : n.call(t)) != null ? s : Ku();
2353
+ const i = (s = (o = t.random) != null ? o : (n = t.rng) == null ? void 0 : n.call(t)) != null ? s : Ju();
2356
2354
  if (i.length < 16)
2357
2355
  throw new Error("Random bytes length must be >= 16");
2358
- return i[6] = i[6] & 15 | 64, i[8] = i[8] & 63 | 128, Zu(i);
2356
+ return i[6] = i[6] & 15 | 64, i[8] = i[8] & 63 | 128, Gu(i);
2359
2357
  }
2360
- function qu(t, e, r) {
2361
- return Es.randomUUID && !t ? Es.randomUUID() : Xu(t);
2358
+ function el(t, e, r) {
2359
+ return ms.randomUUID && !t ? ms.randomUUID() : qu(t);
2362
2360
  }
2363
- function mo(t) {
2361
+ function jo(t) {
2364
2362
  try {
2365
2363
  return JSON.parse(JSON.stringify(t));
2366
2364
  } catch (e) {
2367
2365
  return console.warn("Failed to copy object:", e), null;
2368
2366
  }
2369
2367
  }
2370
- const ms = (t, e) => {
2368
+ const js = (t, e) => {
2371
2369
  if (!t || !e) return null;
2372
2370
  let r = null;
2373
- return r = mo(t), r && (r = Wu(r, e)), r;
2371
+ return r = jo(t), r && (r = $u(r, e)), r;
2374
2372
  };
2375
- function el(t) {
2373
+ function tl(t) {
2376
2374
  return L(this, null, function* () {
2377
2375
  return new Promise((e) => setTimeout(e, t));
2378
2376
  });
2379
2377
  }
2380
- function tl(n, o) {
2381
- return L(this, arguments, function* (t, e, r = cu, i = uu) {
2378
+ function rl(n, o) {
2379
+ return L(this, arguments, function* (t, e, r = uu, i = lu) {
2382
2380
  let s = 0;
2383
2381
  for (; s < r; ) {
2384
2382
  const a = yield t();
2385
2383
  if (a !== null)
2386
2384
  return a;
2387
- s++, s < r && (yield el(i));
2385
+ s++, s < r && (yield tl(i));
2388
2386
  }
2389
2387
  return e();
2390
2388
  });
2391
2389
  }
2392
- const rl = (t, e, r) => {
2390
+ const il = (t, e, r) => {
2393
2391
  const i = t.reduce((o, s) => (o.push(...s.supportedTemplates), o), []), n = e.find((o) => o.id === r);
2394
2392
  return i.includes(n == null ? void 0 : n.client.templateId);
2395
- }, il = (t, e) => {
2393
+ }, nl = (t, e) => {
2396
2394
  if (!t || !e) return !1;
2397
2395
  const r = t.find((n) => n.id === e);
2398
2396
  return (r == null ? void 0 : r.type) !== "PROCESSING";
2399
- }, nl = (t, e) => {
2397
+ }, ol = (t, e) => {
2400
2398
  const r = t.reduce((s, a) => (s.push(...a.supportedTemplates), s), []), i = Array.from(
2401
2399
  new Set(
2402
- e.filter((s) => !s.releaseClientApp && au.includes(s.type)).map((s) => s.client.templateId)
2400
+ e.filter((s) => !s.releaseClientApp && cu.includes(s.type)).map((s) => s.client.templateId)
2403
2401
  )
2404
2402
  );
2405
2403
  function n(s, a) {
@@ -2442,14 +2440,14 @@ const rl = (t, e, r) => {
2442
2440
  return !1;
2443
2441
  }
2444
2442
  }
2445
- }, Cn = (t) => !!t && typeof t == "object" && !Array.isArray(t), bn = (t) => /^[^:{}\s]+:[^:{}\s]+$/.test(t), Ln = {
2443
+ }, zn = (t) => !!t && typeof t == "object" && !Array.isArray(t), bn = (t) => /^[^:{}\s]+:[^:{}\s]+$/.test(t), Ln = {
2446
2444
  setSessionIdWorkflowIdToLs: (t, e) => {
2447
2445
  const r = localStorage.getItem(er);
2448
2446
  let i = {};
2449
2447
  if (r)
2450
2448
  try {
2451
2449
  const n = JSON.parse(r);
2452
- Cn(n) && (i = n);
2450
+ zn(n) && (i = n);
2453
2451
  } catch (n) {
2454
2452
  if (bn(r)) {
2455
2453
  const [o, s] = r.split(":");
@@ -2463,7 +2461,7 @@ const rl = (t, e, r) => {
2463
2461
  if (!t) return null;
2464
2462
  try {
2465
2463
  const e = JSON.parse(t);
2466
- return Cn(e) ? e : null;
2464
+ return zn(e) ? e : null;
2467
2465
  } catch (e) {
2468
2466
  if (bn(t)) {
2469
2467
  const [r, i] = t.split(":");
@@ -2479,7 +2477,7 @@ const rl = (t, e, r) => {
2479
2477
  return localStorage.removeItem(er), !0;
2480
2478
  try {
2481
2479
  const r = JSON.parse(e);
2482
- if (!Cn(r)) return !1;
2480
+ if (!zn(r)) return !1;
2483
2481
  const i = r;
2484
2482
  return Object.prototype.hasOwnProperty.call(i, t) ? (delete i[t], localStorage.setItem(er, JSON.stringify(i)), !0) : !1;
2485
2483
  } catch (r) {
@@ -2490,10 +2488,10 @@ const rl = (t, e, r) => {
2490
2488
  return !1;
2491
2489
  }
2492
2490
  }
2493
- }, ol = (t) => {
2491
+ }, sl = (t) => {
2494
2492
  var i;
2495
2493
  let e;
2496
- const r = qu();
2494
+ const r = el();
2497
2495
  try {
2498
2496
  e = (i = window.localStorage.getItem(t)) != null ? i : r, window.localStorage.setItem(t, e);
2499
2497
  } catch (n) {
@@ -2501,29 +2499,29 @@ const rl = (t, e, r) => {
2501
2499
  }
2502
2500
  return e;
2503
2501
  };
2504
- function sl(t) {
2502
+ function al(t) {
2505
2503
  return Object.prototype.toString.call(t) === "[object Object]" && Object.keys(t).length > 0;
2506
2504
  }
2507
- function al(t) {
2505
+ function cl(t) {
2508
2506
  return typeof t == "object" && t !== null && !Array.isArray(t) && Object.getPrototypeOf(t) === Object.prototype;
2509
2507
  }
2510
- function cl() {
2508
+ function ul() {
2511
2509
  return typeof document == "undefined" ? null : document.documentElement.getAttribute("lang") || null;
2512
2510
  }
2513
- function ul() {
2511
+ function ll() {
2514
2512
  return typeof navigator != "undefined" ? navigator.language : null;
2515
2513
  }
2516
- const ll = (t) => {
2517
- const e = du, r = typeof t == "string" ? t : null, i = cl(), n = ul();
2514
+ const dl = (t) => {
2515
+ const e = Mu, r = typeof t == "string" ? t : null, i = ul(), n = ll();
2518
2516
  return r || i || n || e;
2519
- }, dl = (t) => {
2517
+ }, Ml = (t) => {
2520
2518
  try {
2521
2519
  return new URL(t).searchParams.get("sessionId");
2522
2520
  } catch (e) {
2523
2521
  return null;
2524
2522
  }
2525
2523
  };
2526
- function js(t) {
2524
+ function ws(t) {
2527
2525
  return !("error" in t);
2528
2526
  }
2529
2527
  function kn(t) {
@@ -2540,7 +2538,7 @@ function kn(t) {
2540
2538
  return null;
2541
2539
  }
2542
2540
  }
2543
- const ws = () => {
2541
+ const Ss = () => {
2544
2542
  if (typeof window == "undefined") return "SERVER_SIDE_RENDERING";
2545
2543
  if (!document.referrer) return window.location.origin;
2546
2544
  try {
@@ -2548,16 +2546,16 @@ const ws = () => {
2548
2546
  } catch (t) {
2549
2547
  return window.location.origin;
2550
2548
  }
2551
- }, Ml = (t) => {
2552
- const e = ol(lu);
2549
+ }, gl = (t) => {
2550
+ const e = sl(du);
2553
2551
  return {
2554
2552
  deviceId: e,
2555
2553
  metadata: {
2556
2554
  platform: "browser",
2557
2555
  osVersion: `${Je.osVersion}`,
2558
- hostAppId: ws(),
2559
- host: ws(),
2560
- sdkVersion: "3.2.293-nightly".trim(),
2556
+ hostAppId: Ss(),
2557
+ host: Ss(),
2558
+ sdkVersion: "3.2.295-nightly".trim(),
2561
2559
  name: navigator.userAgent,
2562
2560
  deviceModel: `${Je.osName}/${Je.osVersion} ${Je.browserName}/${Je.fullBrowserVersion}`,
2563
2561
  hostAppVersion: `${Je.browserName}/${Je.fullBrowserVersion}`,
@@ -2569,7 +2567,7 @@ const ws = () => {
2569
2567
  macAddress: ""
2570
2568
  };
2571
2569
  };
2572
- function gl() {
2570
+ function Nl() {
2573
2571
  return L(this, null, function* () {
2574
2572
  if (typeof navigator == "undefined" || !("geolocation" in navigator)) return null;
2575
2573
  try {
@@ -2591,7 +2589,7 @@ function gl() {
2591
2589
  }
2592
2590
  });
2593
2591
  }
2594
- const Ss = {
2592
+ const _s = {
2595
2593
  apiKeyAuthTokenCollection: {},
2596
2594
  sessionProperties: [],
2597
2595
  currentSessionData: null,
@@ -2611,7 +2609,7 @@ const Ss = {
2611
2609
  trackLocation: !1,
2612
2610
  listener: () => {
2613
2611
  }
2614
- }, Nl = (t, e) => X(S({}, Ss), {
2612
+ }, Il = (t, e) => X(S({}, _s), {
2615
2613
  setApiKeyAuthTokenCollection: (r, i, n) => {
2616
2614
  t({ apiKeyAuthTokenCollection: {
2617
2615
  authToken: i,
@@ -2663,7 +2661,7 @@ const Ss = {
2663
2661
  t(() => ({ nonce: r }));
2664
2662
  },
2665
2663
  getNonce: () => e().nonce,
2666
- resetProps: () => t(() => S({}, Ss)),
2664
+ resetProps: () => t(() => S({}, _s)),
2667
2665
  setStartConfig: (r) => {
2668
2666
  t(() => ({ startConfig: r }));
2669
2667
  },
@@ -2721,9 +2719,9 @@ class Ae {
2721
2719
  return this.underlyingBaseError instanceof Ae && (e += `-${this.underlyingBaseError.fullChain}`), e;
2722
2720
  }
2723
2721
  }
2724
- class Il extends HTMLElement {
2722
+ class fl extends HTMLElement {
2725
2723
  }
2726
- function fl(t, e) {
2724
+ function Dl(t, e) {
2727
2725
  if (e.displayName ? console.log(`Register module: ${e.displayName}`) : console.error('Missed "displayName" when register module'), e.getSupportedTemplates && typeof e.getSupportedTemplates == "function") {
2728
2726
  const r = e.getSupportedTemplates();
2729
2727
  console.log(`${e == null ? void 0 : e.displayName} supported templates: ${r.join(", ")}`);
@@ -2740,10 +2738,14 @@ const tn = {
2740
2738
  FORM: "form",
2741
2739
  DATA: "data"
2742
2740
  };
2743
- function _s(t) {
2741
+ function Os(t) {
2744
2742
  return new Promise((e) => setTimeout(e, t));
2745
2743
  }
2746
- const Ot = class Ot extends Ae {
2744
+ var Jn = /* @__PURE__ */ ((t) => (t.RTL = "rtl", t.LTR = "ltr", t))(Jn || {});
2745
+ const hl = ["ar", "he"], yl = (t) => {
2746
+ var e;
2747
+ return t ? (e = t.substring(0, 2)) == null ? void 0 : e.toLowerCase() : "";
2748
+ }, Ot = class Ot extends Ae {
2747
2749
  constructor({
2748
2750
  errorCode: e,
2749
2751
  message: r,
@@ -2812,7 +2814,7 @@ const vt = class vt extends Ae {
2812
2814
  };
2813
2815
  vt.MODULE = At, vt.ERROR_ENUM_NAME = "PrepareWorkflowError", vt.SHORT_CODE = "PW";
2814
2816
  let _t = vt;
2815
- const zt = class zt extends Ae {
2817
+ const Ct = class Ct extends Ae {
2816
2818
  constructor({
2817
2819
  errorCode: e,
2818
2820
  message: r,
@@ -2823,19 +2825,19 @@ const zt = class zt extends Ae {
2823
2825
  super({
2824
2826
  errorCode: e,
2825
2827
  errorCodeKey: o,
2826
- errorEnumName: zt.ERROR_ENUM_NAME,
2827
- module: zt.MODULE,
2828
+ errorEnumName: Ct.ERROR_ENUM_NAME,
2829
+ module: Ct.MODULE,
2828
2830
  message: r,
2829
2831
  underlyingError: i,
2830
2832
  underlyingBaseError: n,
2831
- domain: zt.ERROR_ENUM_NAME,
2832
- shortDomainCode: zt.SHORT_CODE
2833
+ domain: Ct.ERROR_ENUM_NAME,
2834
+ shortDomainCode: Ct.SHORT_CODE
2833
2835
  });
2834
2836
  }
2835
2837
  };
2836
- zt.MODULE = At, zt.ERROR_ENUM_NAME = "ConfigureError", zt.SHORT_CODE = "CFG";
2837
- let Pe = zt;
2838
- const Ct = class Ct extends Ae {
2838
+ Ct.MODULE = At, Ct.ERROR_ENUM_NAME = "ConfigureError", Ct.SHORT_CODE = "CFG";
2839
+ let Pe = Ct;
2840
+ const zt = class zt extends Ae {
2839
2841
  constructor({
2840
2842
  errorCode: e,
2841
2843
  message: r,
@@ -2846,18 +2848,18 @@ const Ct = class Ct extends Ae {
2846
2848
  super({
2847
2849
  errorCode: e,
2848
2850
  errorCodeKey: o,
2849
- errorEnumName: Ct.ERROR_ENUM_NAME,
2850
- module: Ct.MODULE,
2851
+ errorEnumName: zt.ERROR_ENUM_NAME,
2852
+ module: zt.MODULE,
2851
2853
  message: r,
2852
2854
  underlyingError: i,
2853
2855
  underlyingBaseError: n,
2854
- domain: Ct.ERROR_ENUM_NAME,
2855
- shortDomainCode: Ct.SHORT_CODE
2856
+ domain: zt.ERROR_ENUM_NAME,
2857
+ shortDomainCode: zt.SHORT_CODE
2856
2858
  });
2857
2859
  }
2858
2860
  };
2859
- Ct.MODULE = At, Ct.ERROR_ENUM_NAME = "WorkflowError", Ct.SHORT_CODE = "SC";
2860
- let We = Ct;
2861
+ zt.MODULE = At, zt.ERROR_ENUM_NAME = "WorkflowError", zt.SHORT_CODE = "SC";
2862
+ let We = zt;
2861
2863
  const bt = class bt extends Ae {
2862
2864
  constructor({
2863
2865
  errorCode: e,
@@ -2977,7 +2979,7 @@ class Tr {
2977
2979
  constructor() {
2978
2980
  this.webSocket = null, this.messageCallbacks = /* @__PURE__ */ new Set(), this.reconnectCallbacks = /* @__PURE__ */ new Set(), this.connected = !1, this.wasEverConnected = !1, this.lastConnectConfig = null, this.reconnectAttempt = 0, this.baseReconnectDelay = 1e3, this.maxReconnectDelay = 1e4, this.multiplier = 1.5, this.reconnectAttemptThreshold = Math.log(this.maxReconnectDelay / this.baseReconnectDelay) / Math.log(this.multiplier), this.resetReconnectAttempt = () => {
2979
2981
  this.reconnectAttempt = 0;
2980
- }, this.calculateReconnectDelay = () => this.reconnectAttempt < this.reconnectAttemptThreshold ? this.baseReconnectDelay * Fo(this.multiplier, this.reconnectAttempt) : this.maxReconnectDelay;
2982
+ }, this.calculateReconnectDelay = () => this.reconnectAttempt < this.reconnectAttemptThreshold ? this.baseReconnectDelay * Vo(this.multiplier, this.reconnectAttempt) : this.maxReconnectDelay;
2981
2983
  }
2982
2984
  static getInstance() {
2983
2985
  return Tr.instance || (Tr.instance = new Tr()), Tr.instance;
@@ -3020,16 +3022,16 @@ class Tr {
3020
3022
  }
3021
3023
  }
3022
3024
  const et = Tr.getInstance();
3023
- var Dl = 0;
3025
+ var pl = 0;
3024
3026
  function T(t, e, r, i, n, o) {
3025
3027
  e || (e = {});
3026
3028
  var s, a, c = e;
3027
3029
  if ("ref" in c) for (a in c = {}, e) a == "ref" ? s = e[a] : c[a] = e[a];
3028
- var l = { type: t, props: c, key: r, ref: s, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --Dl, __i: -1, __u: 0, __source: n, __self: o };
3030
+ var l = { type: t, props: c, key: r, ref: s, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: --pl, __i: -1, __u: 0, __source: n, __self: o };
3029
3031
  if (typeof t == "function" && (s = t.defaultProps)) for (a in s) c[a] === void 0 && (c[a] = s[a]);
3030
3032
  return de.vnode && de.vnode(l), l;
3031
3033
  }
3032
- const rn = lo(void 0), hl = ({ perform: t, children: e, setIsProcessingCallback: r, devSettings: i }) => /* @__PURE__ */ T(rn.Provider, { value: { perform: t, setIsProcessingCallback: r, devSettings: i }, children: e }), yl = () => {
3034
+ const rn = Mo(void 0), Tl = ({ perform: t, children: e, setIsProcessingCallback: r, devSettings: i }) => /* @__PURE__ */ T(rn.Provider, { value: { perform: t, setIsProcessingCallback: r, devSettings: i }, children: e }), Al = () => {
3033
3035
  const t = Sr(rn);
3034
3036
  if (!t)
3035
3037
  throw new Error("useDevSettings must be used within a Context Provider");
@@ -3039,12 +3041,12 @@ const rn = lo(void 0), hl = ({ perform: t, children: e, setIsProcessingCallback:
3039
3041
  if (!t)
3040
3042
  throw new Error("usePerform must be used within a PerformProvider");
3041
3043
  return { perform: t.perform };
3042
- }, pl = () => {
3044
+ }, El = () => {
3043
3045
  const t = Sr(rn);
3044
3046
  if (!t)
3045
3047
  throw new Error("useSetIsProcessingCallback must be used within a Context Provider");
3046
3048
  return { setIsProcessingCallback: t.setIsProcessingCallback };
3047
- }, Tl = {
3049
+ }, ml = {
3048
3050
  width: "86px",
3049
3051
  height: "86px",
3050
3052
  flex: "0 0 86px",
@@ -3082,7 +3084,7 @@ const rn = lo(void 0), hl = ({ perform: t, children: e, setIsProcessingCallback:
3082
3084
  EMAIL: "EMAIL",
3083
3085
  NUMBER: "NUMBER",
3084
3086
  SECURE: "SECURE"
3085
- }, Al = ({ dataUrl: t }) => {
3087
+ }, jl = ({ dataUrl: t }) => {
3086
3088
  const e = Mt(null), r = 360 / 1e3;
3087
3089
  return it(() => {
3088
3090
  if (!e.current) return;
@@ -3123,7 +3125,7 @@ const rn = lo(void 0), hl = ({ perform: t, children: e, setIsProcessingCallback:
3123
3125
  CLOSE_ICON: "close_icon",
3124
3126
  GALLERY_ICON: "gallery",
3125
3127
  CAMERA_ICON: "camera"
3126
- }, Jn = {
3128
+ }, Xn = {
3127
3129
  [pe.SPINNER]: (t) => {
3128
3130
  const e = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBzdHlsZT0idHJhbnNmb3JtOiByb3RhdGUoMGRlZyk7Ij4KICA8Y2lyY2xlIGN4PSIzMCIgY3k9IjMwIiByPSIyNy41IiBmaWxsPSJub25lIiBzdHJva2U9IiM3RTU3QzUiIHN0cm9rZS13aWR0aD0iNSIgc3Ryb2tlLWRhc2hhcnJheT0iMTI5LjU5MDY5Njk2MDU3ODk4IDQzLjE5Njg5ODk4Njg1OTY2IiBzdHJva2UtZGFzaG9mZnNldD0iMCIgc3Ryb2tlLWxpbmVjYXA9ImJ1dHQiIHRyYW5zZm9ybT0icm90YXRlKC00NSAzMCAzMCkiLz4KPC9zdmc+Cg==";
3129
3131
  if (!t) return e;
@@ -3158,41 +3160,41 @@ const rn = lo(void 0), hl = ({ perform: t, children: e, setIsProcessingCallback:
3158
3160
  [pe.UNDERAGE]: () => "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDgiIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgMCA0OSA0OCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8Y2lyY2xlIGN4PSIxNS41MDA0IiBjeT0iMTAuODAwMiIgcj0iMy42IiBzdHJva2U9IiMwRTFGOTciIHN0cm9rZS13aWR0aD0iMyIvPgogIDxjaXJjbGUgY3g9IjM1LjI5OTgiIGN5PSIxOS43OTk4IiByPSIzIiBzdHJva2U9IiMwRTFGOTciIHN0cm9rZS13aWR0aD0iMyIvPgogIDxwYXRoIGQ9Ik0yOC4wMTQ2IDIwLjM5OTlDMjkuMjQ5NiAxOC40OTcyIDMwLjcwNSAxNy45Njk2IDMyLjI5OTQgMTguMjcyOE00Mi41ODQxIDIwLjM5OTlDNDEuMzQ5MSAxOC40OTcyIDM5Ljg5MzggMTcuOTY5NiAzOC4yOTk0IDE4LjI3MjgiIHN0cm9rZT0iIzBFMUY5NyIgc3Ryb2tlLXdpZHRoPSIzIi8+CiAgPHBhdGggZD0iTTEyLjUgNDEuNzAwMlYzMC42MDAySDkuNVYxOS4yMDAySDIxLjVWMzAuNjAwMkgxOC41VjQxLjcwMDIiIHN0cm9rZT0iIzBFMUY5NyIgc3Ryb2tlLXdpZHRoPSIzIi8+CiAgPHBhdGggZD0iTTMyLjI5OTggNDEuNzAwMVYzNy4yMDAxSDI5LjI5OThMMzMuNDk5OCAyNy42MDAxSDM3LjA5OThMNDEuMjk5OCAzNy4yMDAxSDM4LjI5OThWNDEuNzAwMSIgc3Ryb2tlPSIjMEUxRjk3IiBzdHJva2Utd2lkdGg9IjMiLz4KPC9zdmc+Cg==",
3159
3161
  [pe.WARNING]: () => "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iODYiIGhlaWdodD0iODYiIHZpZXdCb3g9IjAgMCA4NiA4NiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8ZWxsaXBzZSBjeD0iNDMiIGN5PSI0MyIgcng9IjQwIiByeT0iNDAiIHRyYW5zZm9ybT0icm90YXRlKDkwIDQzIDQzKSIgc3Ryb2tlPSIjRkNCOTM3IiBzdHJva2Utd2lkdGg9IjMiLz4KICA8cGF0aCBkPSJNNDAuODc4OSA0OC41MzUyTDQwLjU4NTkgMjVINDQuOTgwNUw0NC42ODc1IDQ4LjUzNTJINDAuODc4OVpNNDIuNzgzMiA2MC40NzM2QzQyLjAwMiA2MC40NzM2IDQxLjM0MjggNjAuMjA1MSA0MC44MDU3IDU5LjY2OEM0MC4yNjg2IDU5LjEzMDkgNDAgNTguNDcxNyA0MCA1Ny42OTA0QzQwIDU2Ljg5MjkgNDAuMjY4NiA1Ni4yMzM3IDQwLjgwNTcgNTUuNzEyOUM0MS4zNDI4IDU1LjE3NTggNDIuMDAyIDU0LjkwNzIgNDIuNzgzMiA1NC45MDcyQzQzLjU4MDcgNTQuOTA3MiA0NC4yMzk5IDU1LjE3NTggNDQuNzYwNyA1NS43MTI5QzQ1LjI5NzkgNTYuMjMzNyA0NS41NjY0IDU2Ljg5MjkgNDUuNTY2NCA1Ny42OTA0QzQ1LjU2NjQgNTguNDcxNyA0NS4yOTc5IDU5LjEzMDkgNDQuNzYwNyA1OS42NjhDNDQuMjM5OSA2MC4yMDUxIDQzLjU4MDcgNjAuNDczNiA0Mi43ODMyIDYwLjQ3MzZaIiBmaWxsPSIjRkNCOTM3Ii8+Cjwvc3ZnPgo=",
3160
3162
  [pe.DEFAULT]: () => ""
3161
- }, Ba = ({ type: t, color: e }) => {
3162
- const r = Jn[t] || Jn[pe.DEFAULT], i = r == null ? void 0 : r(e);
3163
- return t === pe.SPINNER ? /* @__PURE__ */ T(Al, { dataUrl: i }) : /* @__PURE__ */ T("img", { src: i, style: { width: "auto", height: "auto", maxWidth: "100%", maxHeight: "100%" } });
3163
+ }, Wa = ({ type: t, color: e }) => {
3164
+ const r = Xn[t] || Xn[pe.DEFAULT], i = r == null ? void 0 : r(e);
3165
+ return t === pe.SPINNER ? /* @__PURE__ */ T(jl, { dataUrl: i }) : /* @__PURE__ */ T("img", { src: i, style: { width: "auto", height: "auto", maxWidth: "100%", maxHeight: "100%" } });
3164
3166
  }, qr = "#005fcc", $i = "idv-gui", Fr = {
3165
3167
  DECODING_FAILED: "DECODING_FAILED"
3166
3168
  }, Un = {
3167
3169
  text: "text",
3168
3170
  selector: "selector",
3169
3171
  multiSelector: "multiSelector"
3170
- }, Os = {
3172
+ }, xs = {
3171
3173
  NOT_EMPTY: "notEmpty",
3172
3174
  REGEX: "regex"
3173
- }, El = {
3175
+ }, wl = {
3174
3176
  SYSTEM_RESTRICTED: "system_restricted"
3175
3177
  };
3176
- function Wa(t) {
3177
- return t === Wi.CENTER ? "center" : t === Wi.RIGHT ? "right" : "left";
3178
+ function $a(t) {
3179
+ return t === Wi.CENTER ? "center" : t === Wi.RIGHT ? "end" : "start";
3178
3180
  }
3179
- function jo(t) {
3181
+ function wo(t) {
3180
3182
  if (typeof t == "object" && t !== null)
3181
3183
  for (const e in t)
3182
- typeof t[e] == "object" ? jo(t[e]) : t[e] === "true" ? t[e] = !0 : t[e] === "false" && (t[e] = !1);
3184
+ typeof t[e] == "object" ? wo(t[e]) : t[e] === "true" ? t[e] = !0 : t[e] === "false" && (t[e] = !1);
3183
3185
  return t;
3184
3186
  }
3185
- function ml(t) {
3187
+ function Sl(t) {
3186
3188
  return Object.entries(t).map(([e, r]) => ({
3187
3189
  id: e,
3188
3190
  value: typeof r == "string" ? r.trim() : r
3189
3191
  })).filter((e) => !!e.value);
3190
3192
  }
3191
- const jl = (t) => Array.isArray(t) ? t.length === 0 : t === 0 ? !1 : !t;
3193
+ const _l = (t) => Array.isArray(t) ? t.length === 0 : t === 0 ? !1 : !t;
3192
3194
  function Ne(t) {
3193
3195
  return t && /^#(?:[0-9a-fA-F]{3}){1,2}$/.test(t) ? t : void 0;
3194
3196
  }
3195
- const wl = (t, e) => t.reduce((r, i) => {
3197
+ const Ol = (t, e) => t.reduce((r, i) => {
3196
3198
  var n, o, s;
3197
3199
  if (i.answerType === Un.text && (n = i.property) != null && n.id) {
3198
3200
  const a = e.find((c) => c.name === i.property.id);
@@ -3210,7 +3212,7 @@ const wl = (t, e) => t.reduce((r, i) => {
3210
3212
  return X(S({}, r), { [i.id]: a.array });
3211
3213
  }
3212
3214
  return r;
3213
- }, {}), $a = (t) => new Promise((e, r) => {
3215
+ }, {}), Ha = (t) => new Promise((e, r) => {
3214
3216
  const i = new FileReader();
3215
3217
  i.onload = () => {
3216
3218
  const n = i.result;
@@ -3220,13 +3222,13 @@ const wl = (t, e) => t.reduce((r, i) => {
3220
3222
  } else
3221
3223
  r(new Error("Unexpected result type"));
3222
3224
  }, i.onerror = () => r(i.error), i.readAsDataURL(t);
3223
- }), Sl = () => L(null, null, function* () {
3225
+ }), xl = () => L(null, null, function* () {
3224
3226
  try {
3225
3227
  return (yield navigator.mediaDevices.getUserMedia({ video: !0 })).getTracks().forEach((e) => e.stop()), "allowed";
3226
3228
  } catch (t) {
3227
3229
  return (t == null ? void 0 : t.name) === "NotAllowedError" ? "denied" : "error";
3228
3230
  }
3229
- }), _l = () => String.fromCharCode(Math.floor(Math.random() * 26) + 97) + Number(Math.random()).toString(16).slice(2) + Date.now().toString(16).slice(4), Ye = ({
3231
+ }), vl = () => String.fromCharCode(Math.floor(Math.random() * 26) + 97) + Number(Math.random()).toString(16).slice(2) + Date.now().toString(16).slice(4), Ye = ({
3230
3232
  imageId: t,
3231
3233
  imageURL: e,
3232
3234
  base64: r,
@@ -3259,8 +3261,8 @@ const wl = (t, e) => t.reduce((r, i) => {
3259
3261
  }
3260
3262
  );
3261
3263
  if (t) {
3262
- const d = t in Jn ? t : "default";
3263
- return /* @__PURE__ */ T(Ba, { type: d });
3264
+ const d = t in Xn ? t : "default";
3265
+ return /* @__PURE__ */ T(Wa, { type: d });
3264
3266
  }
3265
3267
  if (e)
3266
3268
  return /* @__PURE__ */ T(He, { children: [
@@ -3293,7 +3295,7 @@ const wl = (t, e) => t.reduce((r, i) => {
3293
3295
  }
3294
3296
  )
3295
3297
  ] });
3296
- }, Ol = ({ signature: t }) => /* @__PURE__ */ T(
3298
+ }, Cl = ({ signature: t }) => /* @__PURE__ */ T(
3297
3299
  "footer",
3298
3300
  {
3299
3301
  "data-ui": "gui-footer",
@@ -3308,7 +3310,7 @@ const wl = (t, e) => t.reduce((r, i) => {
3308
3310
  },
3309
3311
  children: /* @__PURE__ */ T("a", { href: "", children: /* @__PURE__ */ T(Ye, S({}, t)) })
3310
3312
  }
3311
- ), xl = {
3313
+ ), zl = {
3312
3314
  display: "flex",
3313
3315
  justifyContent: "center",
3314
3316
  alignItems: "center",
@@ -3317,7 +3319,7 @@ const wl = (t, e) => t.reduce((r, i) => {
3317
3319
  minWidth: "36px",
3318
3320
  border: "none",
3319
3321
  cursor: "pointer"
3320
- }, vl = ({
3322
+ }, bl = ({
3321
3323
  dataTestId: t,
3322
3324
  responseBody: e,
3323
3325
  image: r,
@@ -3336,10 +3338,10 @@ const wl = (t, e) => t.reduce((r, i) => {
3336
3338
  "data-test": t,
3337
3339
  onClick: () => {
3338
3340
  const g = JSON.parse(JSON.stringify(e));
3339
- jo(g), D(g, tn.DATA);
3341
+ wo(g), D(g, tn.DATA);
3340
3342
  },
3341
3343
  className: "hover-button",
3342
- style: X(S(S({}, xl), o && { borderRadius: o }), {
3344
+ style: X(S(S({}, zl), o && { borderRadius: o }), {
3343
3345
  backgroundColor: (u = Ne(l)) != null ? u : "transparent"
3344
3346
  }),
3345
3347
  onMouseEnter: () => c(!0),
@@ -3362,7 +3364,7 @@ const wl = (t, e) => t.reduce((r, i) => {
3362
3364
  ]
3363
3365
  }
3364
3366
  );
3365
- }, zl = ({ closeButton: t }) => /* @__PURE__ */ T(
3367
+ }, Ll = ({ closeButton: t }) => /* @__PURE__ */ T(
3366
3368
  "header",
3367
3369
  {
3368
3370
  style: {
@@ -3371,14 +3373,14 @@ const wl = (t, e) => t.reduce((r, i) => {
3371
3373
  display: "flex",
3372
3374
  justifyContent: "flex-end",
3373
3375
  alignItems: "center",
3374
- paddingRight: "16px"
3376
+ paddingInlineEnd: "16px"
3375
3377
  },
3376
3378
  "data-ui": "gui-header",
3377
3379
  part: "gui-header",
3378
- children: /* @__PURE__ */ T("div", { children: t && /* @__PURE__ */ T(vl, S({ dataTestId: "close-btn" }, t)) })
3380
+ children: /* @__PURE__ */ T("div", { children: t && /* @__PURE__ */ T(bl, S({ dataTestId: "close-btn" }, t)) })
3379
3381
  }
3380
3382
  );
3381
- function Cl(t) {
3383
+ function kl(t) {
3382
3384
  var n;
3383
3385
  const e = /\[([^\]]+)\]\(((https?:\/\/|www\.)?[^\s)]+\.[^\s)]+)\)/g, r = [];
3384
3386
  let i = 0;
@@ -3392,11 +3394,11 @@ function Cl(t) {
3392
3394
  }
3393
3395
  return i < t.length && r.push(t.slice(i)), r;
3394
3396
  }
3395
- function Ha(t) {
3397
+ function Za(t) {
3396
3398
  const e = t.split(`
3397
3399
  `);
3398
3400
  return e.flatMap((r, i) => {
3399
- const n = Cl(r);
3401
+ const n = kl(r);
3400
3402
  return i === e.length - 1 ? n : [...n, /* @__PURE__ */ T("br", {}, "br-" + i)];
3401
3403
  });
3402
3404
  }
@@ -3414,10 +3416,10 @@ const Se = ({
3414
3416
  fontFamily: [e, "-apple-system", "BlinkMacSystemFont", "sans-serif"].filter(Boolean).join(", "),
3415
3417
  fontSize: r,
3416
3418
  color: Ne(i) || "#000000",
3417
- textAlign: Wa(n),
3419
+ textAlign: $a(n),
3418
3420
  backgroundColor: Ne(o) || "transparent",
3419
3421
  borderRadius: s
3420
- }, l = typeof t == "string" && t.trim() && Ha(t);
3422
+ }, l = typeof t == "string" && t.trim() && Za(t);
3421
3423
  return a ? /* @__PURE__ */ T("label", { "data-ui": "gui-label", part: "gui-label", style: c, htmlFor: a, children: l }) : /* @__PURE__ */ T("div", { "data-ui": "gui-label", part: "gui-label", style: c, children: l });
3422
3424
  }, Hi = ({
3423
3425
  title: t,
@@ -3436,7 +3438,7 @@ const Se = ({
3436
3438
  const [d, u] = ke(!1), g = d && Ne(o) ? o : i, { perform: f } = Mr(), M = (E) => {
3437
3439
  if (D && D(E), l !== "RESPONSE_BODY") return;
3438
3440
  const m = JSON.parse(JSON.stringify(r));
3439
- jo(m), f(m, tn.DATA);
3441
+ wo(m), f(m, tn.DATA);
3440
3442
  }, I = {
3441
3443
  height: "50px",
3442
3444
  width: "100%",
@@ -3484,7 +3486,7 @@ const Se = ({
3484
3486
  ]
3485
3487
  }
3486
3488
  );
3487
- }, bl = (r) => {
3489
+ }, Ul = (r) => {
3488
3490
  var i = r, { items: t } = i, e = Xt(i, ["items"]);
3489
3491
  return /* @__PURE__ */ T("div", { part: "gui-buttons", "data-ui": "gui-buttons", style: S(S({}, {
3490
3492
  display: "flex",
@@ -3500,7 +3502,7 @@ const Se = ({
3500
3502
  paddingTop: "20px"
3501
3503
  }), e), children: t.map((o) => {
3502
3504
  var s;
3503
- return /* @__PURE__ */ T(Hi, S({ dataTestId: "button-" + ((s = o.title) == null ? void 0 : s.text) }, o), _l());
3505
+ return /* @__PURE__ */ T(Hi, S({ dataTestId: "button-" + ((s = o.title) == null ? void 0 : s.text) }, o), vl());
3504
3506
  }) });
3505
3507
  }, Kt = ({
3506
3508
  children: t,
@@ -3520,8 +3522,7 @@ const Se = ({
3520
3522
  margin: "0 auto",
3521
3523
  paddingTop: e ? o + 10 + "px" : "10px",
3522
3524
  paddingBottom: r ? s + 10 + "px" : "10px",
3523
- paddingLeft: "20px",
3524
- paddingRight: "20px",
3525
+ paddingInline: "20px",
3525
3526
  height: "100%",
3526
3527
  width: "100%",
3527
3528
  backgroundColor: Ne(i)
@@ -3539,27 +3540,27 @@ const Se = ({
3539
3540
  {
3540
3541
  style: {
3541
3542
  position: "absolute",
3542
- top: "0",
3543
- left: "0",
3543
+ top: 0,
3544
+ insetInline: 0,
3544
3545
  width: "100%",
3545
3546
  height: o
3546
3547
  },
3547
- children: /* @__PURE__ */ T(zl, { closeButton: e.closeButton })
3548
+ children: /* @__PURE__ */ T(Ll, { closeButton: e.closeButton })
3548
3549
  }
3549
3550
  ),
3550
3551
  /* @__PURE__ */ T("div", { style: { height: "100%", width: "100%", flex: "1 1 100%", overflow: "hidden" }, children: t }),
3551
- (n == null ? void 0 : n.length) && /* @__PURE__ */ T(bl, { items: n }),
3552
+ (n == null ? void 0 : n.length) && /* @__PURE__ */ T(Ul, { items: n }),
3552
3553
  r && /* @__PURE__ */ T(
3553
3554
  "div",
3554
3555
  {
3555
3556
  style: {
3556
3557
  position: "absolute",
3557
- bottom: "0",
3558
- left: "0",
3558
+ bottom: 0,
3559
+ insetInline: 0,
3559
3560
  width: "100%",
3560
3561
  height: s
3561
3562
  },
3562
- children: /* @__PURE__ */ T(Ol, S({}, r))
3563
+ children: /* @__PURE__ */ T(Cl, S({}, r))
3563
3564
  }
3564
3565
  )
3565
3566
  ]
@@ -3581,15 +3582,15 @@ const Se = ({
3581
3582
  style: {
3582
3583
  fontFamily: [e, "-apple-system", "BlinkMacSystemFont", "sans-serif"].filter(Boolean).join(", "),
3583
3584
  fontSize: n,
3584
- textAlign: Wa(i),
3585
+ textAlign: $a(i),
3585
3586
  color: Ne(r) || "#000000",
3586
3587
  borderRadius: s,
3587
3588
  backgroundColor: Ne(o) || "transparent",
3588
3589
  whiteSpace: "pre-line"
3589
3590
  },
3590
- children: t && Ha(t)
3591
+ children: t && Za(t)
3591
3592
  }
3592
- ), Ll = ({
3593
+ ), Rl = ({
3593
3594
  header: t,
3594
3595
  footer: e,
3595
3596
  image: r,
@@ -3615,7 +3616,7 @@ const Se = ({
3615
3616
  flexDirection: "column"
3616
3617
  },
3617
3618
  children: [
3618
- r && /* @__PURE__ */ T("div", { style: Tl, children: /* @__PURE__ */ T(Ye, S({}, r)) }),
3619
+ r && /* @__PURE__ */ T("div", { style: ml, children: /* @__PURE__ */ T(Ye, S({}, r)) }),
3619
3620
  (i == null ? void 0 : i.text) && /* @__PURE__ */ T(
3620
3621
  "div",
3621
3622
  {
@@ -3649,12 +3650,12 @@ const Se = ({
3649
3650
  ]
3650
3651
  }
3651
3652
  ) });
3652
- }, kl = {
3653
+ }, Ql = {
3653
3654
  width: "100%",
3654
3655
  height: "auto",
3655
3656
  marginBottom: "32px",
3656
3657
  aspectRatio: "1.68"
3657
- }, Ul = {
3658
+ }, Pl = {
3658
3659
  position: "relative",
3659
3660
  display: "flex",
3660
3661
  flexDirection: "column",
@@ -3665,7 +3666,7 @@ const Se = ({
3665
3666
  width: "100%",
3666
3667
  minHeight: "100%",
3667
3668
  overflow: "auto"
3668
- }, Rl = ({
3669
+ }, Yl = ({
3669
3670
  title: t,
3670
3671
  header: e,
3671
3672
  footer: r,
@@ -3679,16 +3680,16 @@ const Se = ({
3679
3680
  part: "gui-info-screen-container",
3680
3681
  "data-ui": "gui-info-screen-container",
3681
3682
  id: "info-screen-container",
3682
- style: X(S({}, Ul), {
3683
+ style: X(S({}, Pl), {
3683
3684
  justifyContent: i ? "flex-start" : "center"
3684
3685
  }),
3685
3686
  children: [
3686
- i && /* @__PURE__ */ T("div", { style: kl, children: /* @__PURE__ */ T(Ye, S({}, i)) }),
3687
+ i && /* @__PURE__ */ T("div", { style: Ql, children: /* @__PURE__ */ T(Ye, S({}, i)) }),
3687
3688
  t && /* @__PURE__ */ T("div", { style: { marginBottom: 20, lineHeight: "39.2px" }, children: /* @__PURE__ */ T(Se, S({}, t)) }),
3688
3689
  n && /* @__PURE__ */ T("div", { style: { lineHeight: "28px", fontWeight: "400" }, children: /* @__PURE__ */ T(nn, S({}, n)) })
3689
3690
  ]
3690
3691
  }
3691
- ) }) }), Ql = ({ indicatorColor: t = "#7E57C5" }) => /* @__PURE__ */ T(Ba, { type: pe.SPINNER, color: t }), xs = ({
3692
+ ) }) }), Fl = ({ indicatorColor: t = "#7E57C5" }) => /* @__PURE__ */ T(Wa, { type: pe.SPINNER, color: t }), vs = ({
3692
3693
  progressView: t,
3693
3694
  footer: e,
3694
3695
  backgroundColor: r
@@ -3706,9 +3707,9 @@ const Se = ({
3706
3707
  height: "100%",
3707
3708
  width: "100%"
3708
3709
  },
3709
- children: /* @__PURE__ */ T(Ql, { indicatorColor: Ne(t == null ? void 0 : t.indicatorColor) || "#000000" })
3710
+ children: /* @__PURE__ */ T(Fl, { indicatorColor: Ne(t == null ? void 0 : t.indicatorColor) || "#000000" })
3710
3711
  }
3711
- ) }), Pl = ({
3712
+ ) }), Vl = ({
3712
3713
  title: t,
3713
3714
  description: e,
3714
3715
  image: r,
@@ -3746,21 +3747,21 @@ const Se = ({
3746
3747
  /* @__PURE__ */ T("div", { style: { aspectRatio: "1 / 1", width: 120, height: 120, flex: "0 0 120px" }, children: /* @__PURE__ */ T(Ye, S({}, r)) })
3747
3748
  ]
3748
3749
  }
3749
- ), Yl = {
3750
+ ), Bl = {
3750
3751
  display: "flex",
3751
3752
  flexDirection: "column",
3752
3753
  padding: "0 16px"
3753
- }, Fl = ({ items: t, backgroundColor: e, cornerRadius: r = 16 }) => /* @__PURE__ */ T(
3754
+ }, Wl = ({ items: t, backgroundColor: e, cornerRadius: r = 16 }) => /* @__PURE__ */ T(
3754
3755
  "div",
3755
3756
  {
3756
3757
  className: "details",
3757
- style: X(S({}, Yl), {
3758
+ style: X(S({}, Bl), {
3758
3759
  backgroundColor: Ne(e) || "white",
3759
3760
  borderRadius: r
3760
3761
  }),
3761
- children: t.map((i, n) => /* @__PURE__ */ T(Pl, S({ isLastChild: n === t.length - 1 }, i), n))
3762
+ children: t.map((i, n) => /* @__PURE__ */ T(Vl, S({ isLastChild: n === t.length - 1 }, i), n))
3762
3763
  }
3763
- ), Vl = ({
3764
+ ), $l = ({
3764
3765
  title: t,
3765
3766
  header: e,
3766
3767
  footer: r,
@@ -3785,45 +3786,45 @@ const Se = ({
3785
3786
  ref: s,
3786
3787
  children: [
3787
3788
  /* @__PURE__ */ T("div", { style: { marginBottom: t ? "16px" : "0", fontWeight: 400, fontSize: "28px" }, children: t && /* @__PURE__ */ T(Se, S({}, t)) }),
3788
- i && /* @__PURE__ */ T(Fl, S({}, i))
3789
+ i && /* @__PURE__ */ T(Wl, S({}, i))
3789
3790
  ]
3790
3791
  }
3791
3792
  ) });
3792
3793
  };
3793
3794
  var ei = (t) => t.type === "checkbox", sr = (t) => t instanceof Date, Ke = (t) => t == null;
3794
- const Za = (t) => typeof t == "object";
3795
- var ze = (t) => !Ke(t) && !Array.isArray(t) && Za(t) && !sr(t), Ga = (t) => ze(t) && t.target ? ei(t.target) ? t.target.checked : t.target.value : t, Bl = (t) => t.substring(0, t.search(/\.\d+(\.|$)/)) || t, Ka = (t, e) => t.has(Bl(e)), Wl = (t) => {
3795
+ const Ga = (t) => typeof t == "object";
3796
+ var Ce = (t) => !Ke(t) && !Array.isArray(t) && Ga(t) && !sr(t), Ka = (t) => Ce(t) && t.target ? ei(t.target) ? t.target.checked : t.target.value : t, Hl = (t) => t.substring(0, t.search(/\.\d+(\.|$)/)) || t, Ja = (t, e) => t.has(Hl(e)), Zl = (t) => {
3796
3797
  const e = t.constructor && t.constructor.prototype;
3797
- return ze(e) && e.hasOwnProperty("isPrototypeOf");
3798
- }, wo = typeof window != "undefined" && typeof window.HTMLElement != "undefined" && typeof document != "undefined";
3798
+ return Ce(e) && e.hasOwnProperty("isPrototypeOf");
3799
+ }, So = typeof window != "undefined" && typeof window.HTMLElement != "undefined" && typeof document != "undefined";
3799
3800
  function Oe(t) {
3800
3801
  if (t instanceof Date)
3801
3802
  return new Date(t);
3802
3803
  const e = typeof FileList != "undefined" && t instanceof FileList;
3803
- if (wo && (t instanceof Blob || e))
3804
+ if (So && (t instanceof Blob || e))
3804
3805
  return t;
3805
3806
  const r = Array.isArray(t);
3806
- if (!r && !(ze(t) && Wl(t)))
3807
+ if (!r && !(Ce(t) && Zl(t)))
3807
3808
  return t;
3808
3809
  const i = r ? [] : Object.create(Object.getPrototypeOf(t));
3809
3810
  for (const n in t)
3810
3811
  Object.prototype.hasOwnProperty.call(t, n) && (i[n] = Oe(t[n]));
3811
3812
  return i;
3812
3813
  }
3813
- var on = (t) => /^\w*$/.test(t), je = (t) => t === void 0, So = (t) => Array.isArray(t) ? t.filter(Boolean) : [], _o = (t) => So(t.replace(/["|']|\]/g, "").split(/\.|\[/)), Q = (t, e, r) => {
3814
- if (!e || !ze(t))
3814
+ var on = (t) => /^\w*$/.test(t), je = (t) => t === void 0, _o = (t) => Array.isArray(t) ? t.filter(Boolean) : [], Oo = (t) => _o(t.replace(/["|']|\]/g, "").split(/\.|\[/)), Q = (t, e, r) => {
3815
+ if (!e || !Ce(t))
3815
3816
  return r;
3816
- const i = (on(e) ? [e] : _o(e)).reduce((n, o) => Ke(n) ? n : n[o], t);
3817
+ const i = (on(e) ? [e] : Oo(e)).reduce((n, o) => Ke(n) ? n : n[o], t);
3817
3818
  return je(i) || i === t ? je(t[e]) ? r : t[e] : i;
3818
3819
  }, tt = (t) => typeof t == "boolean", $e = (t) => typeof t == "function", Ee = (t, e, r) => {
3819
3820
  let i = -1;
3820
- const n = on(e) ? [e] : _o(e), o = n.length, s = o - 1;
3821
+ const n = on(e) ? [e] : Oo(e), o = n.length, s = o - 1;
3821
3822
  for (; ++i < o; ) {
3822
3823
  const a = n[i];
3823
3824
  let c = r;
3824
3825
  if (i !== s) {
3825
3826
  const l = t[a];
3826
- c = ze(l) || Array.isArray(l) ? l : isNaN(+n[i + 1]) ? {} : [];
3827
+ c = Ce(l) || Array.isArray(l) ? l : isNaN(+n[i + 1]) ? {} : [];
3827
3828
  }
3828
3829
  if (a === "__proto__" || a === "constructor" || a === "prototype")
3829
3830
  return;
@@ -3848,10 +3849,10 @@ const Zi = {
3848
3849
  pattern: "pattern",
3849
3850
  required: "required",
3850
3851
  validate: "validate"
3851
- }, Ja = oe.createContext(null);
3852
- Ja.displayName = "HookFormControlContext";
3853
- const Oo = () => oe.useContext(Ja);
3854
- var Xa = (t, e, r, i = !0) => {
3852
+ }, Xa = oe.createContext(null);
3853
+ Xa.displayName = "HookFormControlContext";
3854
+ const xo = () => oe.useContext(Xa);
3855
+ var qa = (t, e, r, i = !0) => {
3855
3856
  const n = {
3856
3857
  defaultValues: e._defaultValues
3857
3858
  };
@@ -3864,9 +3865,9 @@ var Xa = (t, e, r, i = !0) => {
3864
3865
  });
3865
3866
  return n;
3866
3867
  };
3867
- const xo = typeof window != "undefined" ? oe.useLayoutEffect : oe.useEffect;
3868
- function $l(t) {
3869
- const e = Oo(), { control: r = e, disabled: i, name: n, exact: o } = t || {}, [s, a] = oe.useState(r._formState), c = oe.useRef({
3868
+ const vo = typeof window != "undefined" ? oe.useLayoutEffect : oe.useEffect;
3869
+ function Gl(t) {
3870
+ const e = xo(), { control: r = e, disabled: i, name: n, exact: o } = t || {}, [s, a] = oe.useState(r._formState), c = oe.useRef({
3870
3871
  isDirty: !1,
3871
3872
  isLoading: !1,
3872
3873
  dirtyFields: !1,
@@ -3876,7 +3877,7 @@ function $l(t) {
3876
3877
  isValid: !1,
3877
3878
  errors: !1
3878
3879
  });
3879
- return xo(() => r._subscribe({
3880
+ return vo(() => r._subscribe({
3880
3881
  name: n,
3881
3882
  formState: c.current,
3882
3883
  exact: o,
@@ -3885,11 +3886,11 @@ function $l(t) {
3885
3886
  }
3886
3887
  }), [n, i, o]), oe.useEffect(() => {
3887
3888
  c.current.isValid && r._setValid(!0);
3888
- }, [r]), oe.useMemo(() => Xa(s, r, c.current, !1), [s, r]);
3889
+ }, [r]), oe.useMemo(() => qa(s, r, c.current, !1), [s, r]);
3889
3890
  }
3890
- var rt = (t) => typeof t == "string", Xn = (t, e, r, i, n) => rt(t) ? (i && e.watch.add(t), Q(r, t, n)) : Array.isArray(t) ? t.map((o) => (i && e.watch.add(o), Q(r, o))) : (i && (e.watchAll = !0), r), qn = (t) => Ke(t) || !Za(t);
3891
+ var rt = (t) => typeof t == "string", qn = (t, e, r, i, n) => rt(t) ? (i && e.watch.add(t), Q(r, t, n)) : Array.isArray(t) ? t.map((o) => (i && e.watch.add(o), Q(r, o))) : (i && (e.watchAll = !0), r), eo = (t) => Ke(t) || !Ga(t);
3891
3892
  function lt(t, e, r = /* @__PURE__ */ new WeakSet()) {
3892
- if (qn(t) || qn(e))
3893
+ if (eo(t) || eo(e))
3893
3894
  return Object.is(t, e);
3894
3895
  if (sr(t) && sr(e))
3895
3896
  return Object.is(t.getTime(), e.getTime());
@@ -3905,32 +3906,32 @@ function lt(t, e, r = /* @__PURE__ */ new WeakSet()) {
3905
3906
  return !1;
3906
3907
  if (o !== "ref") {
3907
3908
  const a = e[o];
3908
- if (sr(s) && sr(a) || ze(s) && ze(a) || Array.isArray(s) && Array.isArray(a) ? !lt(s, a, r) : !Object.is(s, a))
3909
+ if (sr(s) && sr(a) || Ce(s) && Ce(a) || Array.isArray(s) && Array.isArray(a) ? !lt(s, a, r) : !Object.is(s, a))
3909
3910
  return !1;
3910
3911
  }
3911
3912
  }
3912
3913
  return !0;
3913
3914
  }
3914
- function Hl(t) {
3915
- const e = Oo(), { control: r = e, name: i, defaultValue: n, disabled: o, exact: s, compute: a } = t || {}, c = oe.useRef(n), l = oe.useRef(a), D = oe.useRef(void 0), d = oe.useRef(r), u = oe.useRef(i);
3915
+ function Kl(t) {
3916
+ const e = xo(), { control: r = e, name: i, defaultValue: n, disabled: o, exact: s, compute: a } = t || {}, c = oe.useRef(n), l = oe.useRef(a), D = oe.useRef(void 0), d = oe.useRef(r), u = oe.useRef(i);
3916
3917
  l.current = a;
3917
3918
  const [g, f] = oe.useState(() => {
3918
3919
  const m = r._getWatch(i, c.current);
3919
3920
  return l.current ? l.current(m) : m;
3920
3921
  }), M = oe.useCallback((m) => {
3921
- const z = Xn(i, r._names, m || r._formValues, !1, c.current);
3922
- return l.current ? l.current(z) : z;
3922
+ const C = qn(i, r._names, m || r._formValues, !1, c.current);
3923
+ return l.current ? l.current(C) : C;
3923
3924
  }, [r._formValues, r._names, i]), I = oe.useCallback((m) => {
3924
3925
  if (!o) {
3925
- const z = Xn(i, r._names, m || r._formValues, !1, c.current);
3926
+ const C = qn(i, r._names, m || r._formValues, !1, c.current);
3926
3927
  if (l.current) {
3927
- const v = l.current(z);
3928
+ const v = l.current(C);
3928
3929
  lt(v, D.current) || (f(v), D.current = v);
3929
3930
  } else
3930
- f(z);
3931
+ f(C);
3931
3932
  }
3932
3933
  }, [r._formValues, r._names, o, i]);
3933
- xo(() => ((d.current !== r || !lt(u.current, i)) && (d.current = r, u.current = i, I()), r._subscribe({
3934
+ vo(() => ((d.current !== r || !lt(u.current, i)) && (d.current = r, u.current = i, I()), r._subscribe({
3934
3935
  name: i,
3935
3936
  formState: {
3936
3937
  values: !0
@@ -3948,13 +3949,13 @@ function Hl(t) {
3948
3949
  }, [o, p, i, A, M]);
3949
3950
  return E !== null ? E : g;
3950
3951
  }
3951
- function Zl(t) {
3952
- const e = Oo(), { name: r, disabled: i, control: n = e, shouldUnregister: o, defaultValue: s, exact: a = !0 } = t, c = Ka(n._names.array, r), l = oe.useMemo(() => Q(n._formValues, r, Q(n._defaultValues, r, s)), [n, r, s]), D = Hl({
3952
+ function Jl(t) {
3953
+ const e = xo(), { name: r, disabled: i, control: n = e, shouldUnregister: o, defaultValue: s, exact: a = !0 } = t, c = Ja(n._names.array, r), l = oe.useMemo(() => Q(n._formValues, r, Q(n._defaultValues, r, s)), [n, r, s]), D = Kl({
3953
3954
  control: n,
3954
3955
  name: r,
3955
3956
  defaultValue: l,
3956
3957
  exact: a
3957
- }), d = $l({
3958
+ }), d = Gl({
3958
3959
  control: n,
3959
3960
  name: r,
3960
3961
  exact: a
@@ -3985,7 +3986,7 @@ function Zl(t) {
3985
3986
  }
3986
3987
  }), [d, r]), I = oe.useCallback((m) => f.current.onChange({
3987
3988
  target: {
3988
- value: Ga(m),
3989
+ value: Ka(m),
3989
3990
  name: r
3990
3991
  },
3991
3992
  type: Zi.CHANGE
@@ -3996,8 +3997,8 @@ function Zl(t) {
3996
3997
  },
3997
3998
  type: Zi.BLUR
3998
3999
  }), [r, n._formValues]), A = oe.useCallback((m) => {
3999
- const z = Q(n._fields, r);
4000
- z && z._f && m && (z._f.ref = {
4000
+ const C = Q(n._fields, r);
4001
+ C && C._f && m && (C._f.ref = {
4001
4002
  focus: () => $e(m.focus) && m.focus(),
4002
4003
  select: () => $e(m.select) && m.select(),
4003
4004
  setCustomValidity: (v) => $e(m.setCustomValidity) && m.setCustomValidity(v),
@@ -4012,8 +4013,8 @@ function Zl(t) {
4012
4013
  ref: A
4013
4014
  }), [r, i, d.disabled, I, p, A, D]);
4014
4015
  return oe.useEffect(() => {
4015
- const m = n._options.shouldUnregister || o, z = g.current;
4016
- z && z !== r && !c && n.unregister(z), n.register(r, S(S({}, u.current.rules), tt(u.current.disabled) ? { disabled: u.current.disabled } : {}));
4016
+ const m = n._options.shouldUnregister || o, C = g.current;
4017
+ C && C !== r && !c && n.unregister(C), n.register(r, S(S({}, u.current.rules), tt(u.current.disabled) ? { disabled: u.current.disabled } : {}));
4017
4018
  const v = (R, B) => {
4018
4019
  const le = Q(n._fields, R);
4019
4020
  le && le._f && (le._f.mount = B);
@@ -4036,13 +4037,13 @@ function Zl(t) {
4036
4037
  fieldState: M
4037
4038
  }), [E, d, M]);
4038
4039
  }
4039
- const qa = (t) => t.render(Zl(t)), Gl = oe.createContext(null);
4040
- Gl.displayName = "HookFormContext";
4041
- var Kl = (t, e, r, i, n) => e ? X(S({}, r[t]), {
4040
+ const ec = (t) => t.render(Jl(t)), Xl = oe.createContext(null);
4041
+ Xl.displayName = "HookFormContext";
4042
+ var ql = (t, e, r, i, n) => e ? X(S({}, r[t]), {
4042
4043
  types: X(S({}, r[t] && r[t].types ? r[t].types : {}), {
4043
4044
  [i]: n || !0
4044
4045
  })
4045
- }) : {}, Vr = (t) => Array.isArray(t) ? t : [t], vs = () => {
4046
+ }) : {}, Vr = (t) => Array.isArray(t) ? t : [t], Cs = () => {
4046
4047
  let t = [];
4047
4048
  return {
4048
4049
  get observers() {
@@ -4062,63 +4063,63 @@ var Kl = (t, e, r, i, n) => e ? X(S({}, r[t]), {
4062
4063
  }
4063
4064
  };
4064
4065
  };
4065
- function ec(t, e) {
4066
+ function tc(t, e) {
4066
4067
  const r = {};
4067
4068
  for (const i in t)
4068
4069
  if (t.hasOwnProperty(i)) {
4069
4070
  const n = t[i], o = e[i];
4070
- if (n && ze(n) && o) {
4071
- const s = ec(n, o);
4072
- ze(s) && (r[i] = s);
4071
+ if (n && Ce(n) && o) {
4072
+ const s = tc(n, o);
4073
+ Ce(s) && (r[i] = s);
4073
4074
  } else t[i] && (r[i] = o);
4074
4075
  }
4075
4076
  return r;
4076
4077
  }
4077
- var Ve = (t) => ze(t) && !Object.keys(t).length, vo = (t) => t.type === "file", Gi = (t) => {
4078
- if (!wo)
4078
+ var Ve = (t) => Ce(t) && !Object.keys(t).length, Co = (t) => t.type === "file", Gi = (t) => {
4079
+ if (!So)
4079
4080
  return !1;
4080
4081
  const e = t ? t.ownerDocument : 0;
4081
4082
  return t instanceof (e && e.defaultView ? e.defaultView.HTMLElement : HTMLElement);
4082
- }, tc = (t) => t.type === "select-multiple", zo = (t) => t.type === "radio", Jl = (t) => zo(t) || ei(t), Rn = (t) => Gi(t) && t.isConnected;
4083
- function Xl(t, e) {
4083
+ }, rc = (t) => t.type === "select-multiple", zo = (t) => t.type === "radio", ed = (t) => zo(t) || ei(t), Rn = (t) => Gi(t) && t.isConnected;
4084
+ function td(t, e) {
4084
4085
  const r = e.slice(0, -1).length;
4085
4086
  let i = 0;
4086
4087
  for (; i < r; )
4087
4088
  t = je(t) ? i++ : t[e[i++]];
4088
4089
  return t;
4089
4090
  }
4090
- function ql(t) {
4091
+ function rd(t) {
4091
4092
  for (const e in t)
4092
4093
  if (t.hasOwnProperty(e) && !je(t[e]))
4093
4094
  return !1;
4094
4095
  return !0;
4095
4096
  }
4096
4097
  function xe(t, e) {
4097
- const r = Array.isArray(e) ? e : on(e) ? [e] : _o(e), i = r.length === 1 ? t : Xl(t, r), n = r.length - 1, o = r[n];
4098
- return i && delete i[o], n !== 0 && (ze(i) && Ve(i) || Array.isArray(i) && ql(i)) && xe(t, r.slice(0, -1)), t;
4098
+ const r = Array.isArray(e) ? e : on(e) ? [e] : Oo(e), i = r.length === 1 ? t : td(t, r), n = r.length - 1, o = r[n];
4099
+ return i && delete i[o], n !== 0 && (Ce(i) && Ve(i) || Array.isArray(i) && rd(i)) && xe(t, r.slice(0, -1)), t;
4099
4100
  }
4100
- var ed = (t) => {
4101
+ var id = (t) => {
4101
4102
  for (const e in t)
4102
4103
  if ($e(t[e]))
4103
4104
  return !0;
4104
4105
  return !1;
4105
4106
  };
4106
- function rc(t) {
4107
- return Array.isArray(t) || ze(t) && !ed(t);
4107
+ function ic(t) {
4108
+ return Array.isArray(t) || Ce(t) && !id(t);
4108
4109
  }
4109
- function eo(t, e = {}) {
4110
+ function to(t, e = {}) {
4110
4111
  for (const r in t) {
4111
4112
  const i = t[r];
4112
- rc(i) ? (e[r] = Array.isArray(i) ? [] : {}, eo(i, e[r])) : je(i) || (e[r] = !0);
4113
+ ic(i) ? (e[r] = Array.isArray(i) ? [] : {}, to(i, e[r])) : je(i) || (e[r] = !0);
4113
4114
  }
4114
4115
  return e;
4115
4116
  }
4116
4117
  function yr(t, e, r) {
4117
- r || (r = eo(e));
4118
+ r || (r = to(e));
4118
4119
  for (const i in t) {
4119
4120
  const n = t[i];
4120
- if (rc(n))
4121
- je(e) || qn(r[i]) ? r[i] = eo(n, Array.isArray(n) ? [] : {}) : yr(n, Ke(e) ? {} : e[i], r[i]);
4121
+ if (ic(n))
4122
+ je(e) || eo(r[i]) ? r[i] = to(n, Array.isArray(n) ? [] : {}) : yr(n, Ke(e) ? {} : e[i], r[i]);
4122
4123
  else {
4123
4124
  const o = e[i];
4124
4125
  r[i] = !lt(n, o);
@@ -4129,8 +4130,8 @@ function yr(t, e, r) {
4129
4130
  const zs = {
4130
4131
  value: !1,
4131
4132
  isValid: !1
4132
- }, Cs = { value: !0, isValid: !0 };
4133
- var ic = (t) => {
4133
+ }, bs = { value: !0, isValid: !0 };
4134
+ var nc = (t) => {
4134
4135
  if (Array.isArray(t)) {
4135
4136
  if (t.length > 1) {
4136
4137
  const e = t.filter((r) => r && r.checked && !r.disabled).map((r) => r.value);
@@ -4138,24 +4139,24 @@ var ic = (t) => {
4138
4139
  }
4139
4140
  return t[0].checked && !t[0].disabled ? (
4140
4141
  // @ts-expect-error expected to work in the browser
4141
- t[0].attributes && !je(t[0].attributes.value) ? je(t[0].value) || t[0].value === "" ? Cs : { value: t[0].value, isValid: !0 } : Cs
4142
+ t[0].attributes && !je(t[0].attributes.value) ? je(t[0].value) || t[0].value === "" ? bs : { value: t[0].value, isValid: !0 } : bs
4142
4143
  ) : zs;
4143
4144
  }
4144
4145
  return zs;
4145
- }, nc = (t, { valueAsNumber: e, valueAsDate: r, setValueAs: i }) => je(t) ? t : e ? t === "" ? NaN : t && +t : r && rt(t) ? new Date(t) : i ? i(t) : t;
4146
- const bs = {
4146
+ }, oc = (t, { valueAsNumber: e, valueAsDate: r, setValueAs: i }) => je(t) ? t : e ? t === "" ? NaN : t && +t : r && rt(t) ? new Date(t) : i ? i(t) : t;
4147
+ const Ls = {
4147
4148
  isValid: !1,
4148
4149
  value: null
4149
4150
  };
4150
- var oc = (t) => Array.isArray(t) ? t.reduce((e, r) => r && r.checked && !r.disabled ? {
4151
+ var sc = (t) => Array.isArray(t) ? t.reduce((e, r) => r && r.checked && !r.disabled ? {
4151
4152
  isValid: !0,
4152
4153
  value: r.value
4153
- } : e, bs) : bs;
4154
- function Ls(t) {
4154
+ } : e, Ls) : Ls;
4155
+ function ks(t) {
4155
4156
  const e = t.ref;
4156
- return vo(e) ? e.files : zo(e) ? oc(t.refs).value : tc(e) ? [...e.selectedOptions].map(({ value: r }) => r) : ei(e) ? ic(t.refs).value : nc(je(e.value) ? t.ref.value : e.value, t);
4157
+ return Co(e) ? e.files : zo(e) ? sc(t.refs).value : rc(e) ? [...e.selectedOptions].map(({ value: r }) => r) : ei(e) ? nc(t.refs).value : oc(je(e.value) ? t.ref.value : e.value, t);
4157
4158
  }
4158
- var td = (t, e, r, i) => {
4159
+ var nd = (t, e, r, i) => {
4159
4160
  const n = {};
4160
4161
  for (const o of t) {
4161
4162
  const s = Q(e, o);
@@ -4167,15 +4168,15 @@ var td = (t, e, r, i) => {
4167
4168
  fields: n,
4168
4169
  shouldUseNativeValidation: i
4169
4170
  };
4170
- }, Ki = (t) => t instanceof RegExp, vr = (t) => je(t) ? t : Ki(t) ? t.source : ze(t) ? Ki(t.value) ? t.value.source : t.value : t, ks = (t) => ({
4171
+ }, Ki = (t) => t instanceof RegExp, vr = (t) => je(t) ? t : Ki(t) ? t.source : Ce(t) ? Ki(t.value) ? t.value.source : t.value : t, Us = (t) => ({
4171
4172
  isOnSubmit: !t || t === ut.onSubmit,
4172
4173
  isOnBlur: t === ut.onBlur,
4173
4174
  isOnChange: t === ut.onChange,
4174
4175
  isOnAll: t === ut.all,
4175
4176
  isOnTouch: t === ut.onTouched
4176
4177
  });
4177
- const Us = "AsyncFunction";
4178
- var rd = (t) => !!t && !!t.validate && !!($e(t.validate) && t.validate.constructor.name === Us || ze(t.validate) && Object.values(t.validate).find((e) => e.constructor.name === Us)), id = (t) => t.mount && (t.required || t.min || t.max || t.maxLength || t.minLength || t.pattern || t.validate), Rs = (t, e, r) => !r && (e.watchAll || e.watch.has(t) || [...e.watch].some((i) => t.startsWith(i) && /^\.\w+/.test(t.slice(i.length))));
4178
+ const Rs = "AsyncFunction";
4179
+ var od = (t) => !!t && !!t.validate && !!($e(t.validate) && t.validate.constructor.name === Rs || Ce(t.validate) && Object.values(t.validate).find((e) => e.constructor.name === Rs)), sd = (t) => t.mount && (t.required || t.min || t.max || t.maxLength || t.minLength || t.pattern || t.validate), Qs = (t, e, r) => !r && (e.watchAll || e.watch.has(t) || [...e.watch].some((i) => t.startsWith(i) && /^\.\w+/.test(t.slice(i.length))));
4179
4180
  const Br = (t, e, r, i) => {
4180
4181
  for (const o of r || Object.keys(t)) {
4181
4182
  const s = Q(t, o);
@@ -4188,12 +4189,12 @@ const Br = (t, e, r, i) => {
4188
4189
  return !0;
4189
4190
  if (Br(c, e))
4190
4191
  break;
4191
- } else if (ze(c) && Br(c, e))
4192
+ } else if (Ce(c) && Br(c, e))
4192
4193
  break;
4193
4194
  }
4194
4195
  }
4195
4196
  };
4196
- function Qs(t, e, r) {
4197
+ function Ps(t, e, r) {
4197
4198
  const i = Q(t, r);
4198
4199
  if (i || on(r))
4199
4200
  return {
@@ -4221,15 +4222,15 @@ function Qs(t, e, r) {
4221
4222
  name: r
4222
4223
  };
4223
4224
  }
4224
- var nd = (t, e, r, i) => {
4225
+ var ad = (t, e, r, i) => {
4225
4226
  r(t);
4226
4227
  const s = t, { name: n } = s, o = Xt(s, ["name"]);
4227
4228
  return Ve(o) || Object.keys(o).length >= Object.keys(e).length || Object.keys(o).find((a) => e[a] === (!i || ut.all));
4228
- }, od = (t, e, r) => !t || !e || t === e || Vr(t).some((i) => i && (r ? i === e : i.startsWith(e) || e.startsWith(i))), sd = (t, e, r, i, n) => n.isOnAll ? !1 : !r && n.isOnTouch ? !(e || t) : (r ? i.isOnBlur : n.isOnBlur) ? !t : (r ? i.isOnChange : n.isOnChange) ? t : !0, ad = (t, e) => !So(Q(t, e)).length && xe(t, e), cd = (t, e, r) => {
4229
+ }, cd = (t, e, r) => !t || !e || t === e || Vr(t).some((i) => i && (r ? i === e : i.startsWith(e) || e.startsWith(i))), ud = (t, e, r, i, n) => n.isOnAll ? !1 : !r && n.isOnTouch ? !(e || t) : (r ? i.isOnBlur : n.isOnBlur) ? !t : (r ? i.isOnChange : n.isOnChange) ? t : !0, ld = (t, e) => !_o(Q(t, e)).length && xe(t, e), dd = (t, e, r) => {
4229
4230
  const i = Vr(Q(t, r));
4230
4231
  return Ee(i, "root", e[r]), Ee(t, r, i), t;
4231
4232
  };
4232
- function Ps(t, e, r = "validate") {
4233
+ function Ys(t, e, r = "validate") {
4233
4234
  if (rt(t) || Array.isArray(t) && t.every(rt) || tt(t) && !t)
4234
4235
  return {
4235
4236
  type: r,
@@ -4237,87 +4238,87 @@ function Ps(t, e, r = "validate") {
4237
4238
  ref: e
4238
4239
  };
4239
4240
  }
4240
- var Dr = (t) => ze(t) && !Ki(t) ? t : {
4241
+ var Dr = (t) => Ce(t) && !Ki(t) ? t : {
4241
4242
  value: t,
4242
4243
  message: ""
4243
- }, Ys = (t, e, r, i, n, o) => L(null, null, function* () {
4244
+ }, Fs = (t, e, r, i, n, o) => L(null, null, function* () {
4244
4245
  const { ref: s, refs: a, required: c, maxLength: l, minLength: D, min: d, max: u, pattern: g, validate: f, name: M, valueAsNumber: I, mount: p } = t._f, A = Q(r, M);
4245
4246
  if (!p || e.has(M))
4246
4247
  return {};
4247
- const E = a ? a[0] : s, m = (C) => {
4248
- n && E.reportValidity && (E.setCustomValidity(tt(C) ? "" : C || ""), E.reportValidity());
4249
- }, z = {}, v = zo(s), R = ei(s), B = v || R, le = (I || vo(s)) && je(s.value) && je(A) || Gi(s) && s.value === "" || A === "" || Array.isArray(A) && !A.length, P = Kl.bind(null, M, i, z), G = (C, Z, Me, ce = mt.maxLength, ye = mt.minLength) => {
4250
- const he = C ? Z : Me;
4251
- z[M] = S({
4252
- type: C ? ce : ye,
4248
+ const E = a ? a[0] : s, m = (z) => {
4249
+ n && E.reportValidity && (E.setCustomValidity(tt(z) ? "" : z || ""), E.reportValidity());
4250
+ }, C = {}, v = zo(s), R = ei(s), B = v || R, le = (I || Co(s)) && je(s.value) && je(A) || Gi(s) && s.value === "" || A === "" || Array.isArray(A) && !A.length, P = ql.bind(null, M, i, C), G = (z, Z, Me, ce = mt.maxLength, ye = mt.minLength) => {
4251
+ const he = z ? Z : Me;
4252
+ C[M] = S({
4253
+ type: z ? ce : ye,
4253
4254
  message: he,
4254
4255
  ref: s
4255
- }, P(C ? ce : ye, he));
4256
+ }, P(z ? ce : ye, he));
4256
4257
  };
4257
- if (o ? !Array.isArray(A) || !A.length : c && (!B && (le || Ke(A)) || tt(A) && !A || R && !ic(a).isValid || v && !oc(a).isValid)) {
4258
- const { value: C, message: Z } = rt(c) ? { value: !!c, message: c } : Dr(c);
4259
- if (C && (z[M] = S({
4258
+ if (o ? !Array.isArray(A) || !A.length : c && (!B && (le || Ke(A)) || tt(A) && !A || R && !nc(a).isValid || v && !sc(a).isValid)) {
4259
+ const { value: z, message: Z } = rt(c) ? { value: !!c, message: c } : Dr(c);
4260
+ if (z && (C[M] = S({
4260
4261
  type: mt.required,
4261
4262
  message: Z,
4262
4263
  ref: E
4263
4264
  }, P(mt.required, Z)), !i))
4264
- return m(Z), z;
4265
+ return m(Z), C;
4265
4266
  }
4266
4267
  if (!le && (!Ke(d) || !Ke(u))) {
4267
- let C, Z;
4268
+ let z, Z;
4268
4269
  const Me = Dr(u), ce = Dr(d);
4269
4270
  if (!Ke(A) && !isNaN(A)) {
4270
4271
  const ye = s.valueAsNumber || A && +A;
4271
- Ke(Me.value) || (C = ye > Me.value), Ke(ce.value) || (Z = ye < ce.value);
4272
+ Ke(Me.value) || (z = ye > Me.value), Ke(ce.value) || (Z = ye < ce.value);
4272
4273
  } else {
4273
4274
  const ye = s.valueAsDate || new Date(A), he = (U) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + U), se = s.type == "time", $ = s.type == "week";
4274
- rt(Me.value) && A && (C = se ? he(A) > he(Me.value) : $ ? A > Me.value : ye > new Date(Me.value)), rt(ce.value) && A && (Z = se ? he(A) < he(ce.value) : $ ? A < ce.value : ye < new Date(ce.value));
4275
+ rt(Me.value) && A && (z = se ? he(A) > he(Me.value) : $ ? A > Me.value : ye > new Date(Me.value)), rt(ce.value) && A && (Z = se ? he(A) < he(ce.value) : $ ? A < ce.value : ye < new Date(ce.value));
4275
4276
  }
4276
- if ((C || Z) && (G(!!C, Me.message, ce.message, mt.max, mt.min), !i))
4277
- return m(z[M].message), z;
4277
+ if ((z || Z) && (G(!!z, Me.message, ce.message, mt.max, mt.min), !i))
4278
+ return m(C[M].message), C;
4278
4279
  }
4279
4280
  if ((l || D) && !le && (rt(A) || o && Array.isArray(A))) {
4280
- const C = Dr(l), Z = Dr(D), Me = !Ke(C.value) && A.length > +C.value, ce = !Ke(Z.value) && A.length < +Z.value;
4281
- if ((Me || ce) && (G(Me, C.message, Z.message), !i))
4282
- return m(z[M].message), z;
4281
+ const z = Dr(l), Z = Dr(D), Me = !Ke(z.value) && A.length > +z.value, ce = !Ke(Z.value) && A.length < +Z.value;
4282
+ if ((Me || ce) && (G(Me, z.message, Z.message), !i))
4283
+ return m(C[M].message), C;
4283
4284
  }
4284
4285
  if (g && !le && rt(A)) {
4285
- const { value: C, message: Z } = Dr(g);
4286
- if (Ki(C) && !A.match(C) && (z[M] = S({
4286
+ const { value: z, message: Z } = Dr(g);
4287
+ if (Ki(z) && !A.match(z) && (C[M] = S({
4287
4288
  type: mt.pattern,
4288
4289
  message: Z,
4289
4290
  ref: s
4290
4291
  }, P(mt.pattern, Z)), !i))
4291
- return m(Z), z;
4292
+ return m(Z), C;
4292
4293
  }
4293
4294
  if (f) {
4294
4295
  if ($e(f)) {
4295
- const C = yield f(A, r), Z = Ps(C, E);
4296
- if (Z && (z[M] = S(S({}, Z), P(mt.validate, Z.message)), !i))
4297
- return m(Z.message), z;
4298
- } else if (ze(f)) {
4299
- let C = {};
4296
+ const z = yield f(A, r), Z = Ys(z, E);
4297
+ if (Z && (C[M] = S(S({}, Z), P(mt.validate, Z.message)), !i))
4298
+ return m(Z.message), C;
4299
+ } else if (Ce(f)) {
4300
+ let z = {};
4300
4301
  for (const Z in f) {
4301
- if (!Ve(C) && !i)
4302
+ if (!Ve(z) && !i)
4302
4303
  break;
4303
- const Me = Ps(yield f[Z](A, r), E, Z);
4304
- Me && (C = S(S({}, Me), P(Z, Me.message)), m(Me.message), i && (z[M] = C));
4304
+ const Me = Ys(yield f[Z](A, r), E, Z);
4305
+ Me && (z = S(S({}, Me), P(Z, Me.message)), m(Me.message), i && (C[M] = z));
4305
4306
  }
4306
- if (!Ve(C) && (z[M] = S({
4307
+ if (!Ve(z) && (C[M] = S({
4307
4308
  ref: E
4308
- }, C), !i))
4309
- return z;
4309
+ }, z), !i))
4310
+ return C;
4310
4311
  }
4311
4312
  }
4312
- return m(!0), z;
4313
+ return m(!0), C;
4313
4314
  });
4314
- const ud = {
4315
+ const Md = {
4315
4316
  mode: ut.onSubmit,
4316
4317
  reValidateMode: ut.onChange,
4317
4318
  shouldFocusError: !0
4318
4319
  };
4319
- function ld(t = {}) {
4320
- let e = S(S({}, ud), t), r = {
4320
+ function gd(t = {}) {
4321
+ let e = S(S({}, Md), t), r = {
4321
4322
  submitCount: 0,
4322
4323
  isDirty: !1,
4323
4324
  isReady: !1,
@@ -4332,7 +4333,7 @@ function ld(t = {}) {
4332
4333
  validatingFields: {},
4333
4334
  errors: e.errors || {},
4334
4335
  disabled: e.disabled || !1
4335
- }, i = {}, n = ze(e.defaultValues) || ze(e.values) ? Oe(e.defaultValues || e.values) || {} : {}, o = e.shouldUnregister ? {} : Oe(n), s = {
4336
+ }, i = {}, n = Ce(e.defaultValues) || Ce(e.values) ? Oe(e.defaultValues || e.values) || {} : {}, o = e.shouldUnregister ? {} : Oe(n), s = {
4336
4337
  action: !1,
4337
4338
  mount: !1,
4338
4339
  watch: !1,
@@ -4355,8 +4356,8 @@ function ld(t = {}) {
4355
4356
  }, d = S({}, D);
4356
4357
  let u = S({}, d);
4357
4358
  const g = {
4358
- array: vs(),
4359
- state: vs()
4359
+ array: Cs(),
4360
+ state: Cs()
4360
4361
  }, f = e.criteriaMode === ut.all, M = (y) => (j) => {
4361
4362
  clearTimeout(l), l = setTimeout(y, j);
4362
4363
  }, I = (y) => L(null, null, function* () {
@@ -4381,7 +4382,7 @@ function ld(t = {}) {
4381
4382
  }
4382
4383
  if (b && Array.isArray(Q(r.errors, y))) {
4383
4384
  const W = _(Q(r.errors, y), Y.argA, Y.argB);
4384
- k && Ee(r.errors, y, W), ad(r.errors, y);
4385
+ k && Ee(r.errors, y, W), ld(r.errors, y);
4385
4386
  }
4386
4387
  if ((d.touchedFields || u.touchedFields) && b && Array.isArray(Q(r.touchedFields, y))) {
4387
4388
  const W = _(Q(r.touchedFields, y), Y.argA, Y.argB);
@@ -4389,7 +4390,7 @@ function ld(t = {}) {
4389
4390
  }
4390
4391
  (d.dirtyFields || u.dirtyFields) && (r.dirtyFields = yr(n, o)), g.state.next({
4391
4392
  name: y,
4392
- isDirty: C(y, j),
4393
+ isDirty: z(y, j),
4393
4394
  dirtyFields: r.dirtyFields,
4394
4395
  errors: r.errors,
4395
4396
  isValid: r.isValid
@@ -4405,11 +4406,11 @@ function ld(t = {}) {
4405
4406
  errors: r.errors,
4406
4407
  isValid: !1
4407
4408
  });
4408
- }, z = (y, j, _, Y) => {
4409
+ }, C = (y, j, _, Y) => {
4409
4410
  const k = Q(i, y);
4410
4411
  if (k) {
4411
4412
  const b = Q(o, y, je(_) ? Q(n, y) : _);
4412
- je(b) || Y && Y.defaultChecked || j ? Ee(o, y, j ? b : Ls(k._f)) : ce(y, b), s.mount && !s.action && I();
4413
+ je(b) || Y && Y.defaultChecked || j ? Ee(o, y, j ? b : ks(k._f)) : ce(y, b), s.mount && !s.action && I();
4413
4414
  }
4414
4415
  }, v = (y, j, _, Y, k) => {
4415
4416
  let b = !1, W = !1;
@@ -4418,7 +4419,7 @@ function ld(t = {}) {
4418
4419
  };
4419
4420
  if (!e.disabled) {
4420
4421
  if (!_ || Y) {
4421
- (d.isDirty || u.isDirty) && (W = r.isDirty, r.isDirty = q.isDirty = C(), b = W !== q.isDirty);
4422
+ (d.isDirty || u.isDirty) && (W = r.isDirty, r.isDirty = q.isDirty = z(), b = W !== q.isDirty);
4422
4423
  const ee = lt(Q(n, y), j);
4423
4424
  W = !!Q(r.dirtyFields, y), ee ? xe(r.dirtyFields, y) : Ee(r.dirtyFields, y, !0), q.dirtyFields = r.dirtyFields, b = b || (d.dirtyFields || u.dirtyFields) && W !== !ee;
4424
4425
  }
@@ -4439,7 +4440,7 @@ function ld(t = {}) {
4439
4440
  r = S(S({}, r), W), g.state.next(W);
4440
4441
  }
4441
4442
  }, B = (y) => L(null, null, function* () {
4442
- return p(y, !0), yield e.resolver(o, e.context, td(y || a.mount, i, e.criteriaMode, e.shouldUseNativeValidation));
4443
+ return p(y, !0), yield e.resolver(o, e.context, nd(y || a.mount, i, e.criteriaMode, e.shouldUseNativeValidation));
4443
4444
  }), le = (y) => L(null, null, function* () {
4444
4445
  const { errors: j } = yield B(y);
4445
4446
  if (p(y), y)
@@ -4458,12 +4459,12 @@ function ld(t = {}) {
4458
4459
  if (ee) {
4459
4460
  const W = ee, { _f: De } = W, te = Xt(W, ["_f"]);
4460
4461
  if (De) {
4461
- const ie = a.array.has(De.name), H = ee._f && rd(ee._f);
4462
+ const ie = a.array.has(De.name), H = ee._f && od(ee._f);
4462
4463
  H && d.validatingFields && p([De.name], !0);
4463
- const ge = yield Ys(ee, a.disabled, o, f, e.shouldUseNativeValidation && !j, ie);
4464
+ const ge = yield Fs(ee, a.disabled, o, f, e.shouldUseNativeValidation && !j, ie);
4464
4465
  if (H && d.validatingFields && p([De.name]), ge[De.name] && (_.valid = !1, j || t.shouldUseNativeValidation))
4465
4466
  break;
4466
- !j && (Q(ge, De.name) ? ie ? cd(r.errors, ge, De.name) : Ee(r.errors, De.name, ge[De.name]) : xe(r.errors, De.name));
4467
+ !j && (Q(ge, De.name) ? ie ? dd(r.errors, ge, De.name) : Ee(r.errors, De.name, ge[De.name]) : xe(r.errors, De.name));
4467
4468
  }
4468
4469
  !Ve(te) && (yield P(te, j, _));
4469
4470
  }
@@ -4475,14 +4476,14 @@ function ld(t = {}) {
4475
4476
  j && (j._f.refs ? j._f.refs.every((_) => !Rn(_)) : !Rn(j._f.ref)) && Fe(y);
4476
4477
  }
4477
4478
  a.unMount = /* @__PURE__ */ new Set();
4478
- }, C = (y, j) => !e.disabled && (y && j && Ee(o, y, j), !lt(K(), n)), Z = (y, j, _) => Xn(y, a, S({}, s.mount ? o : je(j) ? n : rt(y) ? { [y]: j } : j), _, j), Me = (y) => So(Q(s.mount ? o : n, y, e.shouldUnregister ? Q(n, y, []) : [])), ce = (y, j, _ = {}) => {
4479
+ }, z = (y, j) => !e.disabled && (y && j && Ee(o, y, j), !lt(K(), n)), Z = (y, j, _) => qn(y, a, S({}, s.mount ? o : je(j) ? n : rt(y) ? { [y]: j } : j), _, j), Me = (y) => _o(Q(s.mount ? o : n, y, e.shouldUnregister ? Q(n, y, []) : [])), ce = (y, j, _ = {}) => {
4479
4480
  const Y = Q(i, y);
4480
4481
  let k = j;
4481
4482
  if (Y) {
4482
4483
  const b = Y._f;
4483
- b && (!b.disabled && Ee(o, y, nc(j, b)), k = Gi(b.ref) && Ke(j) ? "" : j, tc(b.ref) ? [...b.ref.options].forEach((W) => W.selected = k.includes(W.value)) : b.refs ? ei(b.ref) ? b.refs.forEach((W) => {
4484
+ b && (!b.disabled && Ee(o, y, oc(j, b)), k = Gi(b.ref) && Ke(j) ? "" : j, rc(b.ref) ? [...b.ref.options].forEach((W) => W.selected = k.includes(W.value)) : b.refs ? ei(b.ref) ? b.refs.forEach((W) => {
4484
4485
  (!W.defaultChecked || !W.disabled) && (Array.isArray(k) ? W.checked = !!k.find((q) => q === W.value) : W.checked = k === W.value || !!k);
4485
- }) : b.refs.forEach((W) => W.checked = W.value === k) : vo(b.ref) ? b.ref.value = "" : (b.ref.value = k, b.ref.type || g.state.next({
4486
+ }) : b.refs.forEach((W) => W.checked = W.value === k) : Co(b.ref) ? b.ref.value = "" : (b.ref.value = k, b.ref.type || g.state.next({
4486
4487
  name: y,
4487
4488
  values: Oe(o)
4488
4489
  })));
@@ -4493,7 +4494,7 @@ function ld(t = {}) {
4493
4494
  if (!j.hasOwnProperty(Y))
4494
4495
  return;
4495
4496
  const k = j[Y], b = y + "." + Y, W = Q(i, b);
4496
- (a.array.has(y) || ze(k) || W && !W._f) && !sr(k) ? ye(b, k, _) : ce(b, k, _);
4497
+ (a.array.has(y) || Ce(k) || W && !W._f) && !sr(k) ? ye(b, k, _) : ce(b, k, _);
4497
4498
  }
4498
4499
  }, he = (y, j, _ = {}) => {
4499
4500
  const Y = Q(i, y), k = a.array.has(y), b = Oe(j);
@@ -4503,8 +4504,8 @@ function ld(t = {}) {
4503
4504
  }), (d.isDirty || d.dirtyFields || u.isDirty || u.dirtyFields) && _.shouldDirty && g.state.next({
4504
4505
  name: y,
4505
4506
  dirtyFields: yr(n, o),
4506
- isDirty: C(y, b)
4507
- })) : Y && !Y._f && !Ke(b) ? ye(y, b, _) : ce(y, b, _), Rs(y, a) ? g.state.next(X(S({}, r), {
4507
+ isDirty: z(y, b)
4508
+ })) : Y && !Y._f && !Ke(b) ? ye(y, b, _) : ce(y, b, _), Qs(y, a) ? g.state.next(X(S({}, r), {
4508
4509
  name: y,
4509
4510
  values: Oe(o)
4510
4511
  })) : g.state.next({
@@ -4517,26 +4518,26 @@ function ld(t = {}) {
4517
4518
  let _ = j.name, Y = !0;
4518
4519
  const k = Q(i, _), b = (ee) => {
4519
4520
  Y = Number.isNaN(ee) || sr(ee) && isNaN(ee.getTime()) || lt(ee, Q(o, _, ee));
4520
- }, W = ks(e.mode), q = ks(e.reValidateMode);
4521
+ }, W = Us(e.mode), q = Us(e.reValidateMode);
4521
4522
  if (k) {
4522
4523
  let ee, De;
4523
- const te = j.type ? Ls(k._f) : Ga(y), ie = y.type === Zi.BLUR || y.type === Zi.FOCUS_OUT, H = !id(k._f) && !e.resolver && !Q(r.errors, _) && !k._f.deps || sd(ie, Q(r.touchedFields, _), r.isSubmitted, q, W), ge = Rs(_, a, ie);
4524
+ const te = j.type ? ks(k._f) : Ka(y), ie = y.type === Zi.BLUR || y.type === Zi.FOCUS_OUT, H = !sd(k._f) && !e.resolver && !Q(r.errors, _) && !k._f.deps || ud(ie, Q(r.touchedFields, _), r.isSubmitted, q, W), ge = Qs(_, a, ie);
4524
4525
  Ee(o, _, te), ie ? (!j || !j.readOnly) && (k._f.onBlur && k._f.onBlur(y), c && c(0)) : k._f.onChange && k._f.onChange(y);
4525
- const be = v(_, te, ie), Ce = !Ve(be) || ge;
4526
+ const be = v(_, te, ie), ze = !Ve(be) || ge;
4526
4527
  if (!ie && g.state.next({
4527
4528
  name: _,
4528
4529
  type: y.type,
4529
4530
  values: Oe(o)
4530
4531
  }), H)
4531
- return (d.isValid || u.isValid) && (e.mode === "onBlur" ? ie && I() : ie || I()), Ce && g.state.next(S({ name: _ }, ge ? {} : be));
4532
+ return (d.isValid || u.isValid) && (e.mode === "onBlur" ? ie && I() : ie || I()), ze && g.state.next(S({ name: _ }, ge ? {} : be));
4532
4533
  if (!ie && ge && g.state.next(S({}, r)), e.resolver) {
4533
4534
  const { errors: Ie } = yield B([_]);
4534
4535
  if (p([_]), b(te), Y) {
4535
- const J = Qs(r.errors, i, _), Le = Qs(Ie, i, J.name || _);
4536
+ const J = Ps(r.errors, i, _), Le = Ps(Ie, i, J.name || _);
4536
4537
  ee = Le.error, _ = Le.name, De = Ve(Ie);
4537
4538
  }
4538
4539
  } else
4539
- p([_], !0), ee = (yield Ys(k, a.disabled, o, f, e.shouldUseNativeValidation))[_], p([_]), b(te), Y && (ee ? De = !1 : (d.isValid || u.isValid) && (De = yield P(i, !0)));
4540
+ p([_], !0), ee = (yield Fs(k, a.disabled, o, f, e.shouldUseNativeValidation))[_], p([_]), b(te), Y && (ee ? De = !1 : (d.isValid || u.isValid) && (De = yield P(i, !0)));
4540
4541
  Y && (k._f.deps && (!Array.isArray(k._f.deps) || k._f.deps.length > 0) && U(k._f.deps), R(_, De, ee, be));
4541
4542
  }
4542
4543
  }), $ = (y, j) => {
@@ -4557,7 +4558,7 @@ function ld(t = {}) {
4557
4558
  })), j.shouldFocus && !b && Br(i, $, y ? W : a.mount), b;
4558
4559
  }), K = (y, j) => {
4559
4560
  let _ = S({}, s.mount ? o : n);
4560
- return j && (_ = ec(j.dirtyFields ? r.dirtyFields : r.touchedFields, _)), je(y) ? _ : rt(y) ? Q(_, y) : y.map((Y) => Q(_, Y));
4561
+ return j && (_ = tc(j.dirtyFields ? r.dirtyFields : r.touchedFields, _)), je(y) ? _ : rt(y) ? Q(_, y) : y.map((Y) => Q(_, Y));
4561
4562
  }, ne = (y, j) => ({
4562
4563
  invalid: !!Q((j || r).errors, y),
4563
4564
  isDirty: !!Q((j || r).dirtyFields, y),
@@ -4581,7 +4582,7 @@ function ld(t = {}) {
4581
4582
  next: (_) => "values" in _ && y(Z(void 0, j), _)
4582
4583
  }) : Z(y, j, !0), re = (y) => g.state.subscribe({
4583
4584
  next: (j) => {
4584
- od(y.name, j.name, y.exact) && nd(j, y.formState || d, st, y.reRenderRoot) && y.callback(X(S(S({
4585
+ cd(y.name, j.name, y.exact) && ad(j, y.formState || d, st, y.reRenderRoot) && y.callback(X(S(S({
4585
4586
  values: S({}, o)
4586
4587
  }, r), j), {
4587
4588
  defaultValues: n
@@ -4594,7 +4595,7 @@ function ld(t = {}) {
4594
4595
  a.mount.delete(_), a.array.delete(_), j.keepValue || (xe(i, _), xe(o, _)), !j.keepError && xe(r.errors, _), !j.keepDirty && xe(r.dirtyFields, _), !j.keepTouched && xe(r.touchedFields, _), !j.keepIsValidating && xe(r.validatingFields, _), !e.shouldUnregister && !j.keepDefaultValue && xe(n, _);
4595
4596
  g.state.next({
4596
4597
  values: Oe(o)
4597
- }), g.state.next(S(S({}, r), j.keepDirty ? { isDirty: C() } : {})), !j.keepIsValid && I();
4598
+ }), g.state.next(S(S({}, r), j.keepDirty ? { isDirty: z() } : {})), !j.keepIsValid && I();
4598
4599
  }, gt = ({ disabled: y, name: j }) => {
4599
4600
  if (tt(y) && s.mount || y || a.disabled.has(j)) {
4600
4601
  const k = a.disabled.has(j) !== !!y;
@@ -4611,7 +4612,7 @@ function ld(t = {}) {
4611
4612
  })), a.mount.add(y), _ ? gt({
4612
4613
  disabled: tt(j.disabled) ? j.disabled : e.disabled,
4613
4614
  name: y
4614
- }) : z(y, !0, j.value), X(S(S({}, Y ? { disabled: j.disabled || e.disabled } : {}), e.progressive ? {
4615
+ }) : C(y, !0, j.value), X(S(S({}, Y ? { disabled: j.disabled || e.disabled } : {}), e.progressive ? {
4615
4616
  required: !!j.required,
4616
4617
  min: vr(j.min),
4617
4618
  max: vr(j.max),
@@ -4625,7 +4626,7 @@ function ld(t = {}) {
4625
4626
  ref: (k) => {
4626
4627
  if (k) {
4627
4628
  Xe(y, j), _ = Q(i, y);
4628
- const b = je(k.value) && k.querySelectorAll && k.querySelectorAll("input,select,textarea")[0] || k, W = Jl(b), q = _._f.refs || [];
4629
+ const b = je(k.value) && k.querySelectorAll && k.querySelectorAll("input,select,textarea")[0] || k, W = ed(b), q = _._f.refs || [];
4629
4630
  if (W ? q.find((ee) => ee === b) : b === _._f.ref)
4630
4631
  return;
4631
4632
  Ee(i, y, {
@@ -4637,9 +4638,9 @@ function ld(t = {}) {
4637
4638
  ],
4638
4639
  ref: { type: b.type, name: y }
4639
4640
  } : { ref: b })
4640
- }), z(y, !1, void 0, b);
4641
+ }), C(y, !1, void 0, b);
4641
4642
  } else
4642
- _ = Q(i, y, {}), _._f && (_._f.mount = !1), (e.shouldUnregister || j.shouldUnregister) && !(Ka(a.array, y) && s.action) && a.unMount.add(y);
4643
+ _ = Q(i, y, {}), _._f && (_._f.mount = !1), (e.shouldUnregister || j.shouldUnregister) && !(Ja(a.array, y) && s.action) && a.unMount.add(y);
4643
4644
  }
4644
4645
  });
4645
4646
  }, ot = () => e.shouldFocusError && Br(i, $, a.mount), Nt = (y) => {
@@ -4683,7 +4684,7 @@ function ld(t = {}) {
4683
4684
  }), Y)
4684
4685
  throw Y;
4685
4686
  }), Ft = (y, j = {}) => {
4686
- Q(i, y) && (je(j.defaultValue) ? he(y, Oe(Q(n, y))) : (he(y, j.defaultValue), Ee(n, y, Oe(j.defaultValue))), j.keepTouched || xe(r.touchedFields, y), j.keepDirty || (xe(r.dirtyFields, y), r.isDirty = j.defaultValue ? C(y, Oe(Q(n, y))) : C()), j.keepError || (xe(r.errors, y), d.isValid && I()), g.state.next(S({}, r)));
4687
+ Q(i, y) && (je(j.defaultValue) ? he(y, Oe(Q(n, y))) : (he(y, j.defaultValue), Ee(n, y, Oe(j.defaultValue))), j.keepTouched || xe(r.touchedFields, y), j.keepDirty || (xe(r.dirtyFields, y), r.isDirty = j.defaultValue ? z(y, Oe(Q(n, y))) : z()), j.keepError || (xe(r.errors, y), d.isValid && I()), g.state.next(S({}, r)));
4687
4688
  }, It = (y, j = {}) => {
4688
4689
  const _ = y ? Oe(y) : n, Y = Oe(_), k = Ve(y), b = k ? n : Y;
4689
4690
  if (j.keepDefaultValues || (n = _), !j.keepValues) {
@@ -4697,7 +4698,7 @@ function ld(t = {}) {
4697
4698
  ee && !je(De) ? Ee(b, q, De) : !ee && !je(te) && he(q, te);
4698
4699
  }
4699
4700
  } else {
4700
- if (wo && je(y))
4701
+ if (So && je(y))
4701
4702
  for (const W of a.mount) {
4702
4703
  const q = Q(i, W);
4703
4704
  if (q && q._f) {
@@ -4764,7 +4765,7 @@ function ld(t = {}) {
4764
4765
  _updateIsValidating: p,
4765
4766
  _focusError: ot,
4766
4767
  _getWatch: Z,
4767
- _getDirty: C,
4768
+ _getDirty: z,
4768
4769
  _setValid: I,
4769
4770
  _setFieldArray: A,
4770
4771
  _setDisabledField: gt,
@@ -4830,7 +4831,7 @@ function ld(t = {}) {
4830
4831
  formControl: qe
4831
4832
  });
4832
4833
  }
4833
- function dd(t = {}) {
4834
+ function Nd(t = {}) {
4834
4835
  const e = oe.useRef(void 0), r = oe.useRef(void 0), [i, n] = oe.useState({
4835
4836
  isDirty: !1,
4836
4837
  isValidating: !1,
@@ -4854,13 +4855,13 @@ function dd(t = {}) {
4854
4855
  formState: i
4855
4856
  }), t.defaultValues && !$e(t.defaultValues) && t.formControl.reset(t.defaultValues, t.resetOptions);
4856
4857
  else {
4857
- const s = ld(t), { formControl: a } = s, c = Xt(s, ["formControl"]);
4858
+ const s = gd(t), { formControl: a } = s, c = Xt(s, ["formControl"]);
4858
4859
  e.current = X(S({}, c), {
4859
4860
  formState: i
4860
4861
  });
4861
4862
  }
4862
4863
  const o = e.current.control;
4863
- return o._options = t, xo(() => {
4864
+ return o._options = t, vo(() => {
4864
4865
  const a = o._subscribe({
4865
4866
  formState: o._proxyFormState,
4866
4867
  callback: () => n(S({}, o._formState)),
@@ -4891,17 +4892,17 @@ function dd(t = {}) {
4891
4892
  }, o._options.resetOptions)), !((a = o._options.resetOptions) === null || a === void 0) && a.keepIsValid || o._setValid(), r.current = t.values, n((c) => S({}, c))) : o._resetDefaultValues();
4892
4893
  }, [o, t.values]), oe.useEffect(() => {
4893
4894
  o._state.mount || (o._setValid(), o._state.mount = !0), o._state.watch && (o._state.watch = !1, o._subjects.state.next(S({}, o._formState))), o._removeUnmounted();
4894
- }), e.current.formState = oe.useMemo(() => Xa(i, o), [o, i]), e.current;
4895
+ }), e.current.formState = oe.useMemo(() => qa(i, o), [o, i]), e.current;
4895
4896
  }
4896
4897
  const _r = (t, e) => {
4897
4898
  const r = {};
4898
4899
  return t.forEach((i, n) => {
4899
- if (i.type === Os.NOT_EMPTY && (r.required = (o) => e && jl(o) ? i.message : !0), i.type === Os.REGEX) {
4900
+ if (i.type === xs.NOT_EMPTY && (r.required = (o) => e && _l(o) ? i.message : !0), i.type === xs.REGEX) {
4900
4901
  const o = new RegExp(i.regex);
4901
4902
  r[`regex_${n}`] = (s) => !e && !s ? !0 : typeof s != "string" ? i.message : o.test(s) || i.message;
4902
4903
  }
4903
4904
  }), r;
4904
- }, Md = ({ isOpen: t, image: e }) => /* @__PURE__ */ T(
4905
+ }, Id = ({ isOpen: t, image: e }) => /* @__PURE__ */ T(
4905
4906
  "div",
4906
4907
  {
4907
4908
  "data-ui": "gui-custom-select-chevron",
@@ -4918,7 +4919,7 @@ const _r = (t, e) => {
4918
4919
  },
4919
4920
  children: e ? /* @__PURE__ */ T(Ye, S({}, e)) : /* @__PURE__ */ T(Ye, { imageId: "chevronDown" })
4920
4921
  }
4921
- ), gd = ({
4922
+ ), fd = ({
4922
4923
  isChosen: t,
4923
4924
  option: e,
4924
4925
  onOptionClickCallback: r,
@@ -4967,7 +4968,7 @@ const _r = (t, e) => {
4967
4968
  },
4968
4969
  e.value
4969
4970
  );
4970
- }, sc = ({
4971
+ }, ac = ({
4971
4972
  name: t,
4972
4973
  options: e,
4973
4974
  isMulti: r = !1,
@@ -4981,12 +4982,12 @@ const _r = (t, e) => {
4981
4982
  controlLayout: D,
4982
4983
  pickerLayout: d
4983
4984
  }) => {
4984
- var C, Z, Me, ce, ye, he, se, $;
4985
- const [u, g] = ke(!1), [f, M] = ke(n), [I, p] = ke("down"), [A, E] = ke(null), m = Mt(null), z = Mt(null);
4985
+ var z, Z, Me, ce, ye, he, se, $;
4986
+ const [u, g] = ke(!1), [f, M] = ke(n), [I, p] = ke("down"), [A, E] = ke(null), m = Mt(null), C = Mt(null);
4986
4987
  Gt(() => {
4987
4988
  var ae, F, re;
4988
4989
  if (!u) return;
4989
- const U = (ae = m.current) == null ? void 0 : ae.getBoundingClientRect(), K = (F = z.current) == null ? void 0 : F.getBoundingClientRect(), ne = (re = l.current) == null ? void 0 : re.getBoundingClientRect();
4990
+ const U = (ae = m.current) == null ? void 0 : ae.getBoundingClientRect(), K = (F = C.current) == null ? void 0 : F.getBoundingClientRect(), ne = (re = l.current) == null ? void 0 : re.getBoundingClientRect();
4990
4991
  if (!U || !K || !ne) return;
4991
4992
  const me = U.bottom + K.height < ne.bottom;
4992
4993
  p(me ? "down" : "up");
@@ -5002,7 +5003,7 @@ const _r = (t, e) => {
5002
5003
  K.stopPropagation(), M((ne) => ne.filter((me) => me.value !== U.value));
5003
5004
  }, le = (U) => {
5004
5005
  U.stopPropagation(), M([]);
5005
- }, P = (C = Ne(D == null ? void 0 : D.borderColor)) != null ? C : "#D9D9D9", G = (Z = Ne(D == null ? void 0 : D.highlightBorderColor)) != null ? Z : "#7E57C5";
5006
+ }, P = (z = Ne(D == null ? void 0 : D.borderColor)) != null ? z : "#D9D9D9", G = (Z = Ne(D == null ? void 0 : D.highlightBorderColor)) != null ? Z : "#7E57C5";
5006
5007
  return /* @__PURE__ */ T("div", { "data-ui": "gui-custom-select", ref: m, children: /* @__PURE__ */ T(
5007
5008
  "div",
5008
5009
  {
@@ -5016,10 +5017,14 @@ const _r = (t, e) => {
5016
5017
  minHeight: "41px",
5017
5018
  position: "relative",
5018
5019
  zIndex: "auto",
5019
- padding: "8px 11px 8px 8px",
5020
+ paddingTop: "8px",
5021
+ paddingBottom: "8px",
5022
+ paddingInlineStart: "8px",
5023
+ paddingInlineEnd: "11px",
5020
5024
  cursor: "pointer",
5021
5025
  display: "flex",
5022
5026
  alignItems: "center",
5027
+ justifyContent: "end",
5023
5028
  gap: 10
5024
5029
  },
5025
5030
  tabIndex: 0,
@@ -5134,16 +5139,16 @@ const _r = (t, e) => {
5134
5139
  }
5135
5140
  }
5136
5141
  ) : null,
5137
- /* @__PURE__ */ T(Md, { isOpen: u, image: D == null ? void 0 : D.expandButton }),
5142
+ /* @__PURE__ */ T(Id, { isOpen: u, image: D == null ? void 0 : D.expandButton }),
5138
5143
  u && /* @__PURE__ */ T(
5139
5144
  "div",
5140
5145
  {
5141
5146
  "data-ui": "gui-custom-select-dropdown-menu",
5142
- ref: z,
5147
+ ref: C,
5143
5148
  style: X(S({
5144
5149
  position: "absolute"
5145
5150
  }, I === "down" ? { top: "calc(100% + 1px)" } : { bottom: "calc(100% + 1px)" }), {
5146
- left: 0,
5151
+ insetInline: 0,
5147
5152
  border: "1px solid #e8e8e8",
5148
5153
  width: "100%",
5149
5154
  backgroundColor: (ye = Ne(d == null ? void 0 : d.backgroundColor)) != null ? ye : "#ffffff",
@@ -5165,7 +5170,7 @@ const _r = (t, e) => {
5165
5170
  children: e.map((U) => {
5166
5171
  const K = f.some((ne) => ne.value === U.value);
5167
5172
  return /* @__PURE__ */ T(
5168
- gd,
5173
+ fd,
5169
5174
  {
5170
5175
  isChosen: K,
5171
5176
  option: U,
@@ -5182,7 +5187,7 @@ const _r = (t, e) => {
5182
5187
  ]
5183
5188
  }
5184
5189
  ) });
5185
- }, Nd = ({
5190
+ }, Dd = ({
5186
5191
  control: t,
5187
5192
  layout: e,
5188
5193
  dataSourceQuestion: r,
@@ -5206,7 +5211,7 @@ const _r = (t, e) => {
5206
5211
  children: [
5207
5212
  e.title && /* @__PURE__ */ T(Se, X(S({}, e.title), { text: r.text, htmlFor: o })),
5208
5213
  /* @__PURE__ */ T(
5209
- qa,
5214
+ ec,
5210
5215
  {
5211
5216
  name: o,
5212
5217
  control: t,
@@ -5217,7 +5222,7 @@ const _r = (t, e) => {
5217
5222
  render: ({ field: s }) => {
5218
5223
  const a = n.find((c) => c.value === s.value);
5219
5224
  return /* @__PURE__ */ T(
5220
- sc,
5225
+ ac,
5221
5226
  {
5222
5227
  options: n,
5223
5228
  placeholder: r.placeholder,
@@ -5241,7 +5246,7 @@ const _r = (t, e) => {
5241
5246
  ]
5242
5247
  }
5243
5248
  );
5244
- }, Id = ({
5249
+ }, hd = ({
5245
5250
  control: t,
5246
5251
  layout: e,
5247
5252
  dataSourceQuestion: r,
@@ -5265,7 +5270,7 @@ const _r = (t, e) => {
5265
5270
  children: [
5266
5271
  e.title && /* @__PURE__ */ T(Se, X(S({}, e.title), { text: r.text, htmlFor: o })),
5267
5272
  /* @__PURE__ */ T(
5268
- qa,
5273
+ ec,
5269
5274
  {
5270
5275
  name: o,
5271
5276
  control: t,
@@ -5279,7 +5284,7 @@ const _r = (t, e) => {
5279
5284
  return (l = s.value) == null ? void 0 : l.includes(c.value);
5280
5285
  });
5281
5286
  return /* @__PURE__ */ T(
5282
- sc,
5287
+ ac,
5283
5288
  {
5284
5289
  name: o,
5285
5290
  options: n,
@@ -5303,7 +5308,7 @@ const _r = (t, e) => {
5303
5308
  ]
5304
5309
  }
5305
5310
  );
5306
- }, ac = () => {
5311
+ }, cc = () => {
5307
5312
  const [t, e] = ke(!1);
5308
5313
  return it(() => {
5309
5314
  const r = () => e(!0), i = () => e(!1);
@@ -5311,14 +5316,14 @@ const _r = (t, e) => {
5311
5316
  window.removeEventListener("keydown", r), window.removeEventListener("mousedown", i);
5312
5317
  };
5313
5318
  }, []), t;
5314
- }, fd = ({
5319
+ }, yd = ({
5315
5320
  option: t,
5316
5321
  layout: e,
5317
5322
  dataSourceQuestion: r,
5318
5323
  register: i,
5319
5324
  watch: n
5320
5325
  }) => {
5321
- const [o, s] = ke(!1), a = ac(), c = String(r.id), D = n(c) === String(t.id), d = e.option, u = e.optionSelected, g = {
5326
+ const [o, s] = ke(!1), a = cc(), c = String(r.id), D = n(c) === String(t.id), d = e.option, u = e.optionSelected, g = {
5322
5327
  backgroundColor: Ne(u == null ? void 0 : u.backgroundColor),
5323
5328
  borderRadius: u.cornerRadius
5324
5329
  }, f = {
@@ -5375,7 +5380,7 @@ const _r = (t, e) => {
5375
5380
  ]
5376
5381
  }
5377
5382
  ) }, t.id);
5378
- }, Dd = ({
5383
+ }, pd = ({
5379
5384
  layout: t,
5380
5385
  register: e,
5381
5386
  watch: r,
@@ -5404,7 +5409,7 @@ const _r = (t, e) => {
5404
5409
  }
5405
5410
  ),
5406
5411
  i.options.map((n) => /* @__PURE__ */ T(
5407
- fd,
5412
+ yd,
5408
5413
  {
5409
5414
  register: e,
5410
5415
  watch: r,
@@ -5416,14 +5421,14 @@ const _r = (t, e) => {
5416
5421
  ))
5417
5422
  ]
5418
5423
  }
5419
- ) }), hd = ({
5424
+ ) }), Td = ({
5420
5425
  option: t,
5421
5426
  layout: e,
5422
5427
  dataSourceQuestion: r,
5423
5428
  register: i,
5424
5429
  watch: n
5425
5430
  }) => {
5426
- const [o, s] = ke(!1), a = ac(), c = String(r.id), D = n(c) === String(t.id), d = e.option, u = e.optionSelected, g = {
5431
+ const [o, s] = ke(!1), a = cc(), c = String(r.id), D = n(c) === String(t.id), d = e.option, u = e.optionSelected, g = {
5427
5432
  borderRadius: d == null ? void 0 : d.cornerRadius,
5428
5433
  background: Ne(d == null ? void 0 : d.backgroundColor),
5429
5434
  borderColor: Ne(d == null ? void 0 : d.borderColor),
@@ -5482,7 +5487,7 @@ const _r = (t, e) => {
5482
5487
  },
5483
5488
  t.id
5484
5489
  );
5485
- }, yd = ({
5490
+ }, Ad = ({
5486
5491
  layout: t,
5487
5492
  watch: e,
5488
5493
  register: r,
@@ -5508,7 +5513,7 @@ const _r = (t, e) => {
5508
5513
  }
5509
5514
  ),
5510
5515
  /* @__PURE__ */ T("div", { style: { display: "flex", justifyContent: "center", gap: 5 }, children: i.options.map((n) => /* @__PURE__ */ T(
5511
- hd,
5516
+ Td,
5512
5517
  {
5513
5518
  register: r,
5514
5519
  watch: e,
@@ -5520,7 +5525,7 @@ const _r = (t, e) => {
5520
5525
  )) })
5521
5526
  ]
5522
5527
  }
5523
- ) }), pd = ({
5528
+ ) }), Ed = ({
5524
5529
  children: t,
5525
5530
  backgroundColor: e,
5526
5531
  cornerRadius: r = 0,
@@ -5551,7 +5556,7 @@ const _r = (t, e) => {
5551
5556
  style: {
5552
5557
  color: Ne(o),
5553
5558
  position: "absolute",
5554
- left: "6px",
5559
+ insetInlineStart: "6px",
5555
5560
  top: "18px"
5556
5561
  },
5557
5562
  children: "*"
@@ -5559,13 +5564,13 @@ const _r = (t, e) => {
5559
5564
  ),
5560
5565
  t
5561
5566
  ] });
5562
- }, Td = ({ validationErrorsTypes: t, title: e }) => t ? /* @__PURE__ */ T("div", { style: { width: "100%", fontSize: 12 }, children: Object.entries(t).map(([r, i]) => /* @__PURE__ */ T(Se, X(S({}, e), { text: i }), r)) }) : null, Ad = ({
5567
+ }, md = ({ validationErrorsTypes: t, title: e }) => t ? /* @__PURE__ */ T("div", { style: { width: "100%", fontSize: 12 }, children: Object.entries(t).map(([r, i]) => /* @__PURE__ */ T(Se, X(S({}, e), { text: i }), r)) }) : null, jd = ({
5563
5568
  layout: t,
5564
5569
  dataSourceQuestion: e,
5565
5570
  register: r
5566
5571
  }) => {
5567
5572
  var o, s, a, c, l, D, d, u, g, f, M, I, p, A, E, m;
5568
- const i = String(e.id), n = (z) => z ? z === vi.EMAIL ? "email" : z === vi.FREE_TEXT ? "text" : z === vi.NUMBER ? "number" : z === vi.SECURE ? "password" : "text" : "text";
5573
+ const i = String(e.id), n = (C) => C ? C === vi.EMAIL ? "email" : C === vi.FREE_TEXT ? "text" : C === vi.NUMBER ? "number" : C === vi.SECURE ? "password" : "text" : "text";
5569
5574
  return /* @__PURE__ */ T(
5570
5575
  "div",
5571
5576
  {
@@ -5605,7 +5610,7 @@ const _r = (t, e) => {
5605
5610
  ]
5606
5611
  }
5607
5612
  );
5608
- }, Ed = ({
5613
+ }, wd = ({
5609
5614
  layout: t,
5610
5615
  dataSourceQuestion: e,
5611
5616
  register: r
@@ -5679,7 +5684,7 @@ const _r = (t, e) => {
5679
5684
  };
5680
5685
  Qt.MODULE = $i, Qt.ERROR_ENUM_NAME = "GuiModuleError", Qt.SHORT_CODE = "GM";
5681
5686
  let Ar = Qt;
5682
- const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSource: o, properties: s, backgroundColor: a }) => {
5687
+ const Sd = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSource: o, properties: s, backgroundColor: a }) => {
5683
5688
  var E;
5684
5689
  const c = tn.FORM, { perform: l } = Mr();
5685
5690
  if (!o || (o == null ? void 0 : o.questions.length) === 0) {
@@ -5696,14 +5701,14 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
5696
5701
  });
5697
5702
  return l(m), null;
5698
5703
  }
5699
- const D = s ? wl(o.questions, s) : {}, d = Mt(null), {
5704
+ const D = s ? Ol(o.questions, s) : {}, d = Mt(null), {
5700
5705
  register: u,
5701
5706
  handleSubmit: g,
5702
5707
  formState: { errors: f },
5703
5708
  reset: M,
5704
5709
  watch: I,
5705
5710
  control: p
5706
- } = dd({
5711
+ } = Nd({
5707
5712
  criteriaMode: "all",
5708
5713
  defaultValues: D
5709
5714
  });
@@ -5711,7 +5716,7 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
5711
5716
  "form",
5712
5717
  {
5713
5718
  onSubmit: g((m) => {
5714
- l(ml(m), c), M();
5719
+ l(Sl(m), c), M();
5715
5720
  }),
5716
5721
  style: {
5717
5722
  height: "100%",
@@ -5751,17 +5756,17 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
5751
5756
  style: { width: "100%", display: "flex", gap: "10px", flexDirection: "column" },
5752
5757
  children: o.questions.map((m) => {
5753
5758
  var G;
5754
- const z = o.static, v = (C, Z) => Z.find((Me) => {
5759
+ const C = o.static, v = (z, Z) => Z.find((Me) => {
5755
5760
  var ce;
5756
5761
  if ((ce = Me.questionIds) != null && ce.length)
5757
- return Me.questionIds.find((ye) => C === ye);
5758
- }), R = (C, Z) => Z.find((Me) => !Me.questionIds && Me.answerType === C), B = z ? v(String(m.id), n.itemTypes) || R(m.answerType, n.itemTypes) : n.itemTypes.find((C) => C.answerType === m.answerType);
5762
+ return Me.questionIds.find((ye) => z === ye);
5763
+ }), R = (z, Z) => Z.find((Me) => !Me.questionIds && Me.answerType === z), B = C ? v(String(m.id), n.itemTypes) || R(m.answerType, n.itemTypes) : n.itemTypes.find((z) => z.answerType === m.answerType);
5759
5764
  if (!B) {
5760
- const C = new Ar({
5765
+ const z = new Ar({
5761
5766
  errorCode: Fr.DECODING_FAILED,
5762
5767
  message: "The question template has not been found"
5763
5768
  });
5764
- l(C);
5769
+ l(z);
5765
5770
  return;
5766
5771
  }
5767
5772
  const le = B == null ? void 0 : B.displayType, P = m.id in f && ((G = f[m.id]) == null ? void 0 : G.types);
@@ -5769,7 +5774,7 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
5769
5774
  /** Question */
5770
5775
  /* @__PURE__ */ T(He, { children: [
5771
5776
  /* @__PURE__ */ T(
5772
- pd,
5777
+ Ed,
5773
5778
  {
5774
5779
  backgroundColor: B == null ? void 0 : B.backgroundColor,
5775
5780
  cornerRadius: B == null ? void 0 : B.cornerRadius,
@@ -5779,7 +5784,7 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
5779
5784
  validationBorderWidth: B == null ? void 0 : B.validationBorderWidth,
5780
5785
  children: [
5781
5786
  le === fr.TEXT_EXPANDABLE && /* @__PURE__ */ T(
5782
- Ed,
5787
+ wd,
5783
5788
  {
5784
5789
  layout: B,
5785
5790
  dataSourceQuestion: m,
@@ -5787,7 +5792,7 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
5787
5792
  }
5788
5793
  ),
5789
5794
  le === fr.TEXT_SINGLE_LINE && /* @__PURE__ */ T(
5790
- Ad,
5795
+ jd,
5791
5796
  {
5792
5797
  layout: B,
5793
5798
  dataSourceQuestion: m,
@@ -5795,7 +5800,7 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
5795
5800
  }
5796
5801
  ),
5797
5802
  le === fr.SELECTOR_OPTIONS && /* @__PURE__ */ T(
5798
- Dd,
5803
+ pd,
5799
5804
  {
5800
5805
  layout: B,
5801
5806
  dataSourceQuestion: m,
@@ -5804,7 +5809,7 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
5804
5809
  }
5805
5810
  ),
5806
5811
  le === fr.SELECTOR_BUTTONS && /* @__PURE__ */ T(
5807
- yd,
5812
+ Ad,
5808
5813
  {
5809
5814
  layout: B,
5810
5815
  dataSourceQuestion: m,
@@ -5813,7 +5818,7 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
5813
5818
  }
5814
5819
  ),
5815
5820
  le === fr.SELECTOR_DROPDOWN && /* @__PURE__ */ T(
5816
- Nd,
5821
+ Dd,
5817
5822
  {
5818
5823
  control: p,
5819
5824
  layout: B,
@@ -5822,7 +5827,7 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
5822
5827
  }
5823
5828
  ),
5824
5829
  le === fr.MULTI_SELECTOR_DROPDOWN && /* @__PURE__ */ T(
5825
- Id,
5830
+ hd,
5826
5831
  {
5827
5832
  control: p,
5828
5833
  layout: B,
@@ -5834,7 +5839,7 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
5834
5839
  }
5835
5840
  ),
5836
5841
  P && /* @__PURE__ */ T(
5837
- Td,
5842
+ md,
5838
5843
  {
5839
5844
  validationErrorsTypes: P,
5840
5845
  title: B.validationMessage
@@ -5863,15 +5868,15 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
5863
5868
  alignItems: "flex-end",
5864
5869
  padding: "2px"
5865
5870
  },
5866
- children: r.map((m, z) => /* @__PURE__ */ T(Hi, S({ dataTestId: "question-button" }, m), z))
5871
+ children: r.map((m, C) => /* @__PURE__ */ T(Hi, S({ dataTestId: "question-button" }, m), C))
5867
5872
  }
5868
5873
  )
5869
5874
  ]
5870
5875
  }
5871
5876
  ) });
5872
- }, jd = {
5877
+ }, _d = {
5873
5878
  display: "none"
5874
- }, wd = {
5879
+ }, Od = {
5875
5880
  display: "flex",
5876
5881
  alignItems: "center",
5877
5882
  justifyContent: "center",
@@ -5881,7 +5886,7 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
5881
5886
  borderRadius: "16px",
5882
5887
  backgroundColor: "#7e57c5",
5883
5888
  cursor: "pointer"
5884
- }, Sd = {
5889
+ }, xd = {
5885
5890
  position: "relative",
5886
5891
  display: "flex",
5887
5892
  flexGrow: 1,
@@ -5893,7 +5898,7 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
5893
5898
  width: "100%",
5894
5899
  minHeight: "100%",
5895
5900
  overflow: "auto"
5896
- }, _d = ({
5901
+ }, vd = ({
5897
5902
  header: t,
5898
5903
  footer: e,
5899
5904
  buttons: r,
@@ -5909,7 +5914,7 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
5909
5914
  const I = (yield Promise.allSettled(
5910
5915
  g.map((p) => L(null, null, function* () {
5911
5916
  return {
5912
- content: yield $a(p),
5917
+ content: yield Ha(p),
5913
5918
  metadata: {
5914
5919
  name: p.name,
5915
5920
  type: p.type,
@@ -5936,14 +5941,14 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
5936
5941
  return /* @__PURE__ */ T(Kt, { header: t, footer: e, backgroundColor: i, children: /* @__PURE__ */ T(He, { children: /* @__PURE__ */ T(
5937
5942
  "div",
5938
5943
  {
5939
- style: X(S({}, Sd), {
5944
+ style: X(S({}, xd), {
5940
5945
  justifyContent: "center"
5941
5946
  }),
5942
5947
  children: [
5943
5948
  /* @__PURE__ */ T(
5944
5949
  "input",
5945
5950
  X(S({
5946
- style: jd,
5951
+ style: _d,
5947
5952
  ref: s,
5948
5953
  type: "file",
5949
5954
  accept: "image/*"
@@ -5951,13 +5956,13 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
5951
5956
  onInput: c
5952
5957
  })
5953
5958
  ),
5954
- /* @__PURE__ */ T("button", { style: wd, onClick: l, children: /* @__PURE__ */ T(Ye, { imageId: (d = (D = r == null ? void 0 : r[0]) == null ? void 0 : D.image) == null ? void 0 : d.imageId }) })
5959
+ /* @__PURE__ */ T("button", { style: Od, onClick: l, children: /* @__PURE__ */ T(Ye, { imageId: (d = (D = r == null ? void 0 : r[0]) == null ? void 0 : D.image) == null ? void 0 : d.imageId }) })
5955
5960
  ]
5956
5961
  }
5957
5962
  ) }) });
5958
- }, Od = {
5963
+ }, Cd = {
5959
5964
  display: "none"
5960
- }, xd = {
5965
+ }, zd = {
5961
5966
  display: "flex",
5962
5967
  alignItems: "center",
5963
5968
  justifyContent: "center",
@@ -5967,7 +5972,7 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
5967
5972
  borderRadius: "16px",
5968
5973
  background: "#7e57c5",
5969
5974
  cursor: "pointer"
5970
- }, vd = {
5975
+ }, bd = {
5971
5976
  position: "relative",
5972
5977
  display: "flex",
5973
5978
  alignItems: "center",
@@ -5976,7 +5981,7 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
5976
5981
  width: "100%",
5977
5982
  minHeight: "100%",
5978
5983
  overflow: "auto"
5979
- }, zd = ({
5984
+ }, Ld = ({
5980
5985
  header: t,
5981
5986
  footer: e,
5982
5987
  backgroundColor: r,
@@ -5992,7 +5997,7 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
5992
5997
  const I = (yield Promise.allSettled(
5993
5998
  g.map((p) => L(null, null, function* () {
5994
5999
  return {
5995
- content: yield $a(p),
6000
+ content: yield Ha(p),
5996
6001
  metadata: {
5997
6002
  name: p.name,
5998
6003
  type: p.type,
@@ -6019,7 +6024,7 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
6019
6024
  return it(() => {
6020
6025
  L(null, null, function* () {
6021
6026
  if (Je.isDesktop) return;
6022
- const u = yield Sl();
6027
+ const u = yield xl();
6023
6028
  (u === "denied" || u === "error") && o({
6024
6029
  cancel: !1,
6025
6030
  permissionDenied: !0,
@@ -6029,14 +6034,14 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
6029
6034
  }, []), /* @__PURE__ */ T(Kt, { header: t, footer: e, backgroundColor: r, children: /* @__PURE__ */ T(He, { children: /* @__PURE__ */ T(
6030
6035
  "div",
6031
6036
  {
6032
- style: X(S({}, vd), {
6037
+ style: X(S({}, bd), {
6033
6038
  justifyContent: "center"
6034
6039
  }),
6035
6040
  children: [
6036
6041
  /* @__PURE__ */ T(
6037
6042
  "input",
6038
6043
  X(S({
6039
- style: Od,
6044
+ style: Cd,
6040
6045
  ref: s,
6041
6046
  type: "file",
6042
6047
  accept: "image/*",
@@ -6045,7 +6050,7 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
6045
6050
  onInput: c
6046
6051
  })
6047
6052
  ),
6048
- /* @__PURE__ */ T("button", { style: xd, onClick: l, children: /* @__PURE__ */ T(Ye, { imageId: (d = (D = i == null ? void 0 : i[0]) == null ? void 0 : D.image) == null ? void 0 : d.imageId }) })
6053
+ /* @__PURE__ */ T("button", { style: zd, onClick: l, children: /* @__PURE__ */ T(Ye, { imageId: (d = (D = i == null ? void 0 : i[0]) == null ? void 0 : D.image) == null ? void 0 : d.imageId }) })
6049
6054
  ]
6050
6055
  }
6051
6056
  ) }) });
@@ -6057,13 +6062,13 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
6057
6062
  } catch (e) {
6058
6063
  return "unknown";
6059
6064
  }
6060
- }), Cd = () => L(null, null, function* () {
6065
+ }), kd = () => L(null, null, function* () {
6061
6066
  try {
6062
6067
  return yield navigator.permissions.query({ name: "geolocation" });
6063
6068
  } catch (t) {
6064
6069
  return null;
6065
6070
  }
6066
- }), zr = (t) => L(null, null, function* () {
6071
+ }), Cr = (t) => L(null, null, function* () {
6067
6072
  return new Promise((e) => {
6068
6073
  if (!navigator.geolocation)
6069
6074
  return e({
@@ -6103,13 +6108,13 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
6103
6108
  t
6104
6109
  );
6105
6110
  });
6106
- }), bd = {
6111
+ }), Ud = {
6107
6112
  height: "100%",
6108
6113
  fontFamily: "sans-serif",
6109
6114
  display: "flex",
6110
6115
  flexDirection: "column",
6111
6116
  gap: "15px"
6112
- }, Ld = {
6117
+ }, Rd = {
6113
6118
  flex: "1 1 100%",
6114
6119
  display: "flex",
6115
6120
  justifyContent: "flex-start",
@@ -6121,7 +6126,7 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
6121
6126
  width: "100%",
6122
6127
  overflow: "auto",
6123
6128
  position: "relative"
6124
- }, kd = {
6129
+ }, Qd = {
6125
6130
  position: "absolute",
6126
6131
  // TODO: move popup with styles with overlay styles to common component (BaseContainer?)
6127
6132
  width: "100%",
@@ -6136,25 +6141,25 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
6136
6141
  zIndex: 1e3,
6137
6142
  pointerEvents: "auto",
6138
6143
  cursor: "default"
6139
- }, Ud = {
6144
+ }, Pd = {
6140
6145
  width: "100%",
6141
6146
  height: "auto",
6142
6147
  marginBottom: "32px",
6143
6148
  aspectRatio: 1.61
6144
- }, Rd = {
6149
+ }, Yd = {
6145
6150
  marginBottom: 20,
6146
6151
  lineHeight: "39.2px",
6147
6152
  width: "100%"
6148
- }, Qd = {
6153
+ }, Fd = {
6149
6154
  lineHeight: "28px",
6150
6155
  fontWeight: "400",
6151
6156
  width: "100%"
6152
- }, Pd = {
6157
+ }, Vd = {
6153
6158
  position: "relative",
6154
- padding: "32px 24px 0 24px",
6159
+ padding: "32px 24px 0",
6155
6160
  border: "1px solid rgba(0, 0, 0, 0.06)",
6156
6161
  width: "min(400px, calc(100vw - 32px))"
6157
- }, Yd = {
6162
+ }, Bd = {
6158
6163
  marginBottom: "10px",
6159
6164
  fontWeight: 500,
6160
6165
  display: "-webkit-box",
@@ -6163,20 +6168,20 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
6163
6168
  overflow: "hidden",
6164
6169
  textOverflow: "ellipsis",
6165
6170
  lineClamp: 2
6166
- }, Fd = {
6171
+ }, Wd = {
6167
6172
  marginBottom: "84px",
6168
6173
  fontWeight: 400
6169
- }, Vd = {
6174
+ }, $d = {
6170
6175
  height: "100%",
6171
6176
  overflow: "scroll",
6172
6177
  maxHeight: "calc(100dvh - 190px)"
6173
- }, Bd = {
6178
+ }, Hd = {
6174
6179
  position: "absolute",
6175
6180
  bottom: 0,
6176
- left: 0,
6181
+ insetInline: 0,
6177
6182
  padding: "24px",
6178
6183
  width: "100%"
6179
- }, Wd = ({
6184
+ }, Zd = ({
6180
6185
  title: t,
6181
6186
  header: e,
6182
6187
  footer: r,
@@ -6189,13 +6194,13 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
6189
6194
  getLocationTimeout: l
6190
6195
  }) => {
6191
6196
  var B, le;
6192
- const D = tn.FORM, { perform: d } = Mr(), { setIsProcessingCallback: u } = pl(), [g, f] = ke(!1), M = () => {
6197
+ const D = tn.FORM, { perform: d } = Mr(), { setIsProcessingCallback: u } = El(), [g, f] = ke(!1), M = () => {
6193
6198
  var P;
6194
6199
  (P = p == null ? void 0 : p.popups) != null && P.system_restricted || f(!0);
6195
6200
  }, I = () => {
6196
6201
  var P;
6197
6202
  (P = p == null ? void 0 : p.popups) != null && P.system_restricted || f(!1);
6198
- }, { devSettings: p } = yl(), A = !!((le = (B = p == null ? void 0 : p.popups) == null ? void 0 : B.system_restricted) != null && le.isOpen);
6203
+ }, { devSettings: p } = Al(), A = !!((le = (B = p == null ? void 0 : p.popups) == null ? void 0 : B.system_restricted) != null && le.isOpen);
6199
6204
  it(() => {
6200
6205
  p && f(A);
6201
6206
  }, [A, p]);
@@ -6203,7 +6208,7 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
6203
6208
  enableHighAccuracy: !0,
6204
6209
  timeout: typeof l == "number" && l > 0 ? l * 1e3 : 15e3,
6205
6210
  maximumAge: 6e4
6206
- }, m = a == null ? void 0 : a.find((P) => P.reason === El.SYSTEM_RESTRICTED);
6211
+ }, m = a == null ? void 0 : a.find((P) => P.reason === wl.SYSTEM_RESTRICTED);
6207
6212
  Gt(() => {
6208
6213
  Je.isSafari || c || u == null || u(!0);
6209
6214
  }, []), it(() => {
@@ -6214,8 +6219,8 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
6214
6219
  u == null || u(!1);
6215
6220
  return;
6216
6221
  }
6217
- const C = yield zr(E);
6218
- P && d(C, D);
6222
+ const z = yield Cr(E);
6223
+ P && d(z, D);
6219
6224
  }), () => {
6220
6225
  Je.isSafari || c || (P = !1);
6221
6226
  };
@@ -6223,9 +6228,9 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
6223
6228
  if (Je.isSafari) return;
6224
6229
  let P = !0, G = null;
6225
6230
  return L(null, null, function* () {
6226
- const C = yield Cd();
6227
- C && (G = C, C.onchange = () => L(null, null, function* () {
6228
- if (C.state === "denied" && (u == null || u(!0), d(
6231
+ const z = yield kd();
6232
+ z && (G = z, z.onchange = () => L(null, null, function* () {
6233
+ if (z.state === "denied" && (u == null || u(!0), d(
6229
6234
  {
6230
6235
  location: {
6231
6236
  locationState: "application_location_restricted",
@@ -6235,9 +6240,9 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
6235
6240
  }
6236
6241
  },
6237
6242
  D
6238
- )), C.state === "granted") {
6243
+ )), z.state === "granted") {
6239
6244
  u == null || u(!0);
6240
- const Z = yield zr(E);
6245
+ const Z = yield Cr(E);
6241
6246
  if (!P) return;
6242
6247
  d(Z, D);
6243
6248
  }
@@ -6246,16 +6251,16 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
6246
6251
  Je.isSafari || (P = !1, G && (G.onchange = null));
6247
6252
  };
6248
6253
  }, []);
6249
- const z = (P) => L(null, null, function* () {
6254
+ const C = (P) => L(null, null, function* () {
6250
6255
  P.preventDefault();
6251
6256
  const G = yield Qn();
6252
6257
  if (G === "denied") {
6253
6258
  M();
6254
6259
  return;
6255
6260
  }
6256
- if (G === "prompt" && (yield zr()), G === "granted") {
6257
- const C = yield zr(E);
6258
- d(C, D);
6261
+ if (G === "prompt" && (yield Cr()), G === "granted") {
6262
+ const z = yield Cr(E);
6263
+ d(z, D);
6259
6264
  }
6260
6265
  }), v = (P) => L(null, null, function* () {
6261
6266
  if (P.preventDefault(), (yield Qn()) === "denied") {
@@ -6263,17 +6268,17 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
6263
6268
  return;
6264
6269
  }
6265
6270
  u == null || u(!0);
6266
- const C = yield zr(E);
6267
- d(C, D);
6271
+ const z = yield Cr(E);
6272
+ d(z, D);
6268
6273
  }), R = (P) => {
6269
6274
  P.preventDefault(), I();
6270
6275
  };
6271
6276
  return /* @__PURE__ */ T(Kt, { header: e, footer: r, backgroundColor: s, children: [
6272
- /* @__PURE__ */ T("div", { style: bd, children: [
6273
- /* @__PURE__ */ T("div", { style: Ld, children: [
6274
- i && /* @__PURE__ */ T("div", { style: Ud, children: /* @__PURE__ */ T(Ye, S({}, i)) }),
6275
- t && /* @__PURE__ */ T("div", { style: Rd, children: /* @__PURE__ */ T(Se, S({}, t)) }),
6276
- n && /* @__PURE__ */ T("div", { style: Qd, children: /* @__PURE__ */ T(nn, S({}, n)) })
6277
+ /* @__PURE__ */ T("div", { style: Ud, children: [
6278
+ /* @__PURE__ */ T("div", { style: Rd, children: [
6279
+ i && /* @__PURE__ */ T("div", { style: Pd, children: /* @__PURE__ */ T(Ye, S({}, i)) }),
6280
+ t && /* @__PURE__ */ T("div", { style: Yd, children: /* @__PURE__ */ T(Se, S({}, t)) }),
6281
+ n && /* @__PURE__ */ T("div", { style: Fd, children: /* @__PURE__ */ T(nn, S({}, n)) })
6277
6282
  ] }),
6278
6283
  !!(o != null && o.length) && /* @__PURE__ */ T(
6279
6284
  "div",
@@ -6287,7 +6292,7 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
6287
6292
  S(S({
6288
6293
  dataTestId: "question-button"
6289
6294
  }, P), P.type === "FORM" ? {
6290
- onClick: Je.isSafari ? v : z
6295
+ onClick: Je.isSafari ? v : C
6291
6296
  } : {})
6292
6297
  ) }, G))
6293
6298
  }
@@ -6296,21 +6301,21 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
6296
6301
  m && g && /* @__PURE__ */ T(
6297
6302
  "div",
6298
6303
  {
6299
- style: kd,
6304
+ style: Qd,
6300
6305
  onPointerDown: (P) => {
6301
6306
  P.preventDefault(), P.stopPropagation(), I();
6302
6307
  },
6303
6308
  children: /* @__PURE__ */ T(
6304
6309
  "div",
6305
6310
  {
6306
- style: X(S({}, Pd), {
6311
+ style: X(S({}, Vd), {
6307
6312
  borderRadius: (m == null ? void 0 : m.cornerRadius) || "27px",
6308
6313
  backgroundColor: (m == null ? void 0 : m.backgroundColor) || "#ffffff"
6309
6314
  }),
6310
6315
  children: [
6311
- /* @__PURE__ */ T("div", { style: Yd, children: /* @__PURE__ */ T(Se, S({}, S({ fontSize: "24px" }, m.title))) }),
6312
- /* @__PURE__ */ T("div", { style: Fd, children: /* @__PURE__ */ T("div", { style: Vd, children: /* @__PURE__ */ T(Se, S({}, S({ fontSize: "17px" }, m.message))) }) }),
6313
- m.actionButton1 && /* @__PURE__ */ T("div", { style: Bd, children: /* @__PURE__ */ T(
6316
+ /* @__PURE__ */ T("div", { style: Bd, children: /* @__PURE__ */ T(Se, S({}, S({ fontSize: "24px" }, m.title))) }),
6317
+ /* @__PURE__ */ T("div", { style: Wd, children: /* @__PURE__ */ T("div", { style: $d, children: /* @__PURE__ */ T(Se, S({}, S({ fontSize: "17px" }, m.message))) }) }),
6318
+ m.actionButton1 && /* @__PURE__ */ T("div", { style: Hd, children: /* @__PURE__ */ T(
6314
6319
  Hi,
6315
6320
  S(S({
6316
6321
  dataTestId: "question-button"
@@ -6322,13 +6327,13 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
6322
6327
  }
6323
6328
  )
6324
6329
  ] });
6325
- }, $d = ({ moduleProps: t }) => {
6330
+ }, Gd = ({ moduleProps: t }) => {
6326
6331
  var o;
6327
6332
  const { templateId: e, templateLayout: r } = t, { perform: i } = Mr();
6328
- if (!e || !r) return /* @__PURE__ */ T(xs, {});
6333
+ if (!e || !r) return /* @__PURE__ */ T(vs, {});
6329
6334
  if (e === jt.STATUS)
6330
6335
  return /* @__PURE__ */ T(
6331
- Ll,
6336
+ Rl,
6332
6337
  {
6333
6338
  header: r == null ? void 0 : r.header,
6334
6339
  footer: r == null ? void 0 : r.footer,
@@ -6341,7 +6346,7 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
6341
6346
  );
6342
6347
  if (e === jt.INFO)
6343
6348
  return /* @__PURE__ */ T(
6344
- Rl,
6349
+ Yl,
6345
6350
  {
6346
6351
  header: r == null ? void 0 : r.header,
6347
6352
  footer: r == null ? void 0 : r.footer,
@@ -6354,7 +6359,7 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
6354
6359
  );
6355
6360
  if (e === jt.GEOLOCATION)
6356
6361
  return /* @__PURE__ */ T(
6357
- Wd,
6362
+ Zd,
6358
6363
  {
6359
6364
  header: r == null ? void 0 : r.header,
6360
6365
  footer: r == null ? void 0 : r.footer,
@@ -6370,7 +6375,7 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
6370
6375
  );
6371
6376
  if (e === jt.PROGRESS)
6372
6377
  return /* @__PURE__ */ T(
6373
- xs,
6378
+ vs,
6374
6379
  {
6375
6380
  header: r == null ? void 0 : r.header,
6376
6381
  footer: r == null ? void 0 : r.footer,
@@ -6380,7 +6385,7 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
6380
6385
  );
6381
6386
  if (e === jt.INFO_DETAILS)
6382
6387
  return /* @__PURE__ */ T(
6383
- Vl,
6388
+ $l,
6384
6389
  {
6385
6390
  header: r == null ? void 0 : r.header,
6386
6391
  title: r == null ? void 0 : r.title,
@@ -6392,7 +6397,7 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
6392
6397
  );
6393
6398
  if (e === jt.CAMERA)
6394
6399
  return /* @__PURE__ */ T(
6395
- zd,
6400
+ Ld,
6396
6401
  {
6397
6402
  header: r == null ? void 0 : r.header,
6398
6403
  buttons: r == null ? void 0 : r.buttons,
@@ -6403,7 +6408,7 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
6403
6408
  );
6404
6409
  if (e === jt.GALLERY)
6405
6410
  return /* @__PURE__ */ T(
6406
- _d,
6411
+ vd,
6407
6412
  {
6408
6413
  header: r == null ? void 0 : r.header,
6409
6414
  buttons: r == null ? void 0 : r.buttons,
@@ -6415,7 +6420,7 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
6415
6420
  if (e === jt.QUESTIONS) {
6416
6421
  const s = (o = t.properties) != null && o.length ? JSON.stringify(t.properties) : "default-key";
6417
6422
  return /* @__PURE__ */ T(
6418
- md,
6423
+ Sd,
6419
6424
  {
6420
6425
  dataSource: t.dataSource,
6421
6426
  properties: t.properties,
@@ -6436,20 +6441,33 @@ const md = ({ header: t, title: e, buttons: r, footer: i, questions: n, dataSour
6436
6441
  return i(n), null;
6437
6442
  };
6438
6443
  let Pn = !1;
6439
- const Hd = ({ children: t }) => /* @__PURE__ */ T("div", { part: "gui-idv", id: "gui-idv-web-c", style: { backgroundColor: "white", height: "100%", width: "100%" }, children: t }), Zd = ({
6444
+ const Kd = ({ children: t, locale: e }) => {
6445
+ const r = yl(e), i = hl.includes(r) ? Jn.RTL : Jn.LTR;
6446
+ return /* @__PURE__ */ T(
6447
+ "div",
6448
+ {
6449
+ part: "gui-idv",
6450
+ id: "gui-idv-web-c",
6451
+ dir: i,
6452
+ lang: e,
6453
+ style: { backgroundColor: "white", height: "100%", width: "100%" },
6454
+ children: t
6455
+ }
6456
+ );
6457
+ }, Jd = ({
6440
6458
  isProcessing: t,
6441
6459
  moduleProps: e,
6442
6460
  perform: r,
6443
6461
  devSettings: i
6444
6462
  }) => /* @__PURE__ */ T(
6445
- hl,
6463
+ Tl,
6446
6464
  {
6447
6465
  perform: (n, o) => r == null ? void 0 : r(n, o),
6448
6466
  setIsProcessingCallback: t,
6449
6467
  devSettings: i,
6450
- children: /* @__PURE__ */ T(Hd, { children: /* @__PURE__ */ T($d, { moduleProps: e }) })
6468
+ children: /* @__PURE__ */ T(Kd, { locale: e.locale, children: /* @__PURE__ */ T(Gd, { moduleProps: e }) })
6451
6469
  }
6452
- ), Wr = class Wr extends Il {
6470
+ ), Wr = class Wr extends fl {
6453
6471
  constructor() {
6454
6472
  super(), this._mounted = !1, this._shadowRoot = this.attachShadow({ mode: "open" }), this.props = null;
6455
6473
  }
@@ -6491,7 +6509,7 @@ const Hd = ({ children: t }) => /* @__PURE__ */ T("div", { part: "gui-idv", id:
6491
6509
  }
6492
6510
  ur(
6493
6511
  /* @__PURE__ */ T(
6494
- Zd,
6512
+ Jd,
6495
6513
  {
6496
6514
  moduleProps: this.props.moduleProps,
6497
6515
  perform: this.props.perform,
@@ -6521,8 +6539,8 @@ const Hd = ({ children: t }) => /* @__PURE__ */ T("div", { part: "gui-idv", id:
6521
6539
  };
6522
6540
  Wr.displayName = $i, Wr.getSupportedTemplates = () => Object.values(jt), Wr.getIdentifier = () => $i;
6523
6541
  let Ji = Wr;
6524
- fl($i, Ji);
6525
- const Gd = (t, e) => ({
6542
+ Dl($i, Ji);
6543
+ const Xd = (t, e) => ({
6526
6544
  _isInitialized: !1,
6527
6545
  _initializationInProgress: !1,
6528
6546
  _isConnectedToPlatform: !1,
@@ -6602,7 +6620,7 @@ const Gd = (t, e) => ({
6602
6620
  l,
6603
6621
  i
6604
6622
  ), d = e()._checkIsSessionDataValid(D.data);
6605
- if (!js(d))
6623
+ if (!ws(d))
6606
6624
  return { error: d.error };
6607
6625
  const u = d.currentStep;
6608
6626
  return e().setCurrentStepId(u), s ? e()._checkAndSetApiTokenToLs(d.id) : e().setCurrentSessionDataLsAndStore({
@@ -6711,7 +6729,7 @@ const Gd = (t, e) => ({
6711
6729
  errorCode: Qe.SCENARIO_IN_PROGRESS
6712
6730
  })
6713
6731
  };
6714
- const n = dl(i);
6732
+ const n = Ml(i);
6715
6733
  n && (e().removeCurrentSessionDataLsAndStore(), t({ _sessionIdFromUrl: n }));
6716
6734
  const o = yield e().connectByUrl(i);
6717
6735
  if (o.error)
@@ -6826,7 +6844,7 @@ const Gd = (t, e) => ({
6826
6844
  return { error: new _t({
6827
6845
  errorCode: wt.SCENARIO_IN_PROGRESS
6828
6846
  }) };
6829
- const n = e()._sessionIdFromUrl, o = yield e().fetchService.getWorkflow(i, n), s = mo(o.data), a = ((M = s.client) == null ? void 0 : M.steps) && s.client.steps.some((I) => I.templateId === Vn);
6847
+ const n = e()._sessionIdFromUrl, o = yield e().fetchService.getWorkflow(i, n), s = jo(o.data), a = ((M = s.client) == null ? void 0 : M.steps) && s.client.steps.some((I) => I.templateId === Vn);
6830
6848
  let c = null;
6831
6849
  if (o.code === 4 && (c = St.HTTP_ISSUE), o.code !== 0 && o.code !== 4 && (c = St.PROVIDER_ERROR), o.code === 0 && !o.data.id && (c = St.DECODING_FAILED), o.code === 0 && o.data.id && s === null && (c = St.DECODING_FAILED), a || (c = St.DECODING_FAILED), c !== null) {
6832
6850
  const I = new Bi({
@@ -6837,7 +6855,7 @@ const Gd = (t, e) => ({
6837
6855
  underlyingBaseError: I
6838
6856
  }) };
6839
6857
  }
6840
- const l = e().externalModules, D = s.steps, { isAllTemplatesSupported: d, unsupportedSteps: u } = nl(l, D);
6858
+ const l = e().externalModules, D = s.steps, { isAllTemplatesSupported: d, unsupportedSteps: u } = ol(l, D);
6841
6859
  d || console.log("IDV:: Warning. Unsupported steps found: ", u);
6842
6860
  const g = e().workflowId;
6843
6861
  g && i !== g && l.forEach((I) => {
@@ -6925,7 +6943,7 @@ const Gd = (t, e) => ({
6925
6943
  metadata: o,
6926
6944
  location: s
6927
6945
  }), A = e()._checkIsSessionDataValid(p.data);
6928
- if (!js(A))
6946
+ if (!ws(A))
6929
6947
  return { error: A.error };
6930
6948
  d ? e()._checkAndSetApiTokenToLs(A.id) : e().setCurrentSessionDataLsAndStore({ sessionId: A.id, workflowId: c });
6931
6949
  const E = A.currentStep;
@@ -6967,7 +6985,7 @@ const Gd = (t, e) => ({
6967
6985
  });
6968
6986
  }
6969
6987
  });
6970
- class Kd {
6988
+ class qd {
6971
6989
  constructor() {
6972
6990
  this._connectionTokenExpirationBufferMs = 6e4, this._origin = "", this._workflowId = "", this._session = null, this._apiKeyAuthToken = { token: "", expiresAt: 0 }, this._connectionToken = { token: "", expiresAt: 0 }, this._connect = null, this._getErrorTextFromError = (e) => e instanceof Error ? e.message : String(e);
6973
6991
  }
@@ -7111,7 +7129,7 @@ class Kd {
7111
7129
  authorization: e,
7112
7130
  "content-type": "application/json"
7113
7131
  },
7114
- body: JSON.stringify(S(S({}, Ml()), r && { sessionId: r })),
7132
+ body: JSON.stringify(S(S({}, gl()), r && { sessionId: r })),
7115
7133
  method: i
7116
7134
  }), s = { httpCode: o.status, method: i, url: n };
7117
7135
  if (!o.ok) {
@@ -7415,7 +7433,7 @@ class Kd {
7415
7433
  const s = {
7416
7434
  locale: r
7417
7435
  };
7418
- sl(i) && (s.metadata = i), n && (s.location = n);
7436
+ al(i) && (s.metadata = i), n && (s.location = n);
7419
7437
  const a = yield this.getConnectionToken(!1), c = this._getAuthorizationHeaderFromConnectionToken(a), l = yield this._fetchSessionByWorkflowId(c, e, s);
7420
7438
  return l.code === 0 && (this._session = l.data), l;
7421
7439
  });
@@ -7464,12 +7482,12 @@ class Kd {
7464
7482
  });
7465
7483
  }
7466
7484
  }
7467
- const Jd = (t, e) => ({
7485
+ const eM = (t, e) => ({
7468
7486
  fetchService: null,
7469
7487
  isProcessing: !1,
7470
7488
  isFinalWaitingUi: !1,
7471
7489
  setAndInitFetchService: () => L(null, null, function* () {
7472
- const i = new Kd();
7490
+ const i = new qd();
7473
7491
  t({ fetchService: i });
7474
7492
  }),
7475
7493
  setFinalWaitingUi: (i) => {
@@ -7546,13 +7564,13 @@ const Jd = (t, e) => ({
7546
7564
  }
7547
7565
  });
7548
7566
  }
7549
- ia.clearLogs();
7567
+ na.clearLogs();
7550
7568
  };
7551
7569
  t(() => ({ workflowSessionCompletion: n }));
7552
7570
  },
7553
7571
  loadModules: (i) => L(null, null, function* () {
7554
7572
  try {
7555
- const n = yield Xd(i);
7573
+ const n = yield tM(i);
7556
7574
  return t(() => ({ externalModules: n })), {};
7557
7575
  } catch (n) {
7558
7576
  return e().resetFetchService(), e().resetProps(), { error: new Yi({
@@ -7561,17 +7579,17 @@ const Jd = (t, e) => ({
7561
7579
  }
7562
7580
  }),
7563
7581
  setProcessingTemplate: (i) => {
7564
- const n = mo(
7582
+ const n = jo(
7565
7583
  i.find((o) => o.templateId === Vn)
7566
7584
  );
7567
- n.templateLayout = ms(n.templateLayout, e().layout), t({ processingTransformedTemplate: n });
7585
+ n.templateLayout = js(n.templateLayout, e().layout), t({ processingTransformedTemplate: n });
7568
7586
  },
7569
7587
  setIsProcessing: (i) => {
7570
7588
  t({ isProcessing: i });
7571
7589
  },
7572
7590
  _pushStep: (i, n, o) => L(null, null, function* () {
7573
7591
  let s = null;
7574
- return yield tl(() => L(null, null, function* () {
7592
+ return yield rl(() => L(null, null, function* () {
7575
7593
  const l = yield e().fetchService.pushData(i, n, o);
7576
7594
  let D = null;
7577
7595
  if (l.code === 4 && (D = ct.HTTP_ISSUE), l.code !== 0 && l.code !== 4 && (D = ct.PROVIDER_ERROR), D !== null) {
@@ -7595,7 +7613,7 @@ const Jd = (t, e) => ({
7595
7613
  },
7596
7614
  _getSessionStateNextStepConditionResult: () => L(null, null, function* () {
7597
7615
  var f, M, I;
7598
- const i = yield e().fetchService.getSessionState(), n = i.code === 0, o = n ? i.data : null, s = (f = o == null ? void 0 : o.currentStep) != null ? f : "", a = o == null ? void 0 : o.isProcessingFiles, c = (I = (M = o == null ? void 0 : o.workflow) == null ? void 0 : M.steps) != null ? I : [], l = il(c, s), D = i.code === 4, d = i.code !== 0 && i.code !== 4, u = n && (!i.data.workflow || !i.data.currentStep);
7616
+ const i = yield e().fetchService.getSessionState(), n = i.code === 0, o = n ? i.data : null, s = (f = o == null ? void 0 : o.currentStep) != null ? f : "", a = o == null ? void 0 : o.isProcessingFiles, c = (I = (M = o == null ? void 0 : o.workflow) == null ? void 0 : M.steps) != null ? I : [], l = nl(c, s), D = i.code === 4, d = i.code !== 0 && i.code !== 4, u = n && (!i.data.workflow || !i.data.currentStep);
7599
7617
  let g = null;
7600
7618
  if (c && !l && (g = ct.NOT_DATA_TYPE), D && (g = ct.HTTP_ISSUE), d && (g = ct.PROVIDER_ERROR), a && (g = ct.IS_PROCESSING), u && (g = ct.DECODING_FAILED), g !== null) {
7601
7619
  const p = new Yr({ errorCode: g });
@@ -7660,7 +7678,7 @@ const Jd = (t, e) => ({
7660
7678
  let c = {};
7661
7679
  const l = 5;
7662
7680
  let D = 0;
7663
- for (; D < l && (D > 0 && (yield _s(1e3 * D)), D++, c = yield e()._getSessionStateNextStepConditionResult(), !!c.shouldRetry); )
7681
+ for (; D < l && (D > 0 && (yield Os(1e3 * D)), D++, c = yield e()._getSessionStateNextStepConditionResult(), !!c.shouldRetry); )
7664
7682
  ;
7665
7683
  if (c.error) {
7666
7684
  e().workflowSessionCompletion({
@@ -7675,7 +7693,7 @@ const Jd = (t, e) => ({
7675
7693
  }
7676
7694
  }), o = () => L(null, null, function* () {
7677
7695
  let s = {}, c = 0;
7678
- for (; c < 5 && (c > 0 && (yield _s(1e3 * c)), c++, s = yield e()._getSessionStateNextStepConditionResult(), !!s.shouldRetry); )
7696
+ for (; c < 5 && (c > 0 && (yield Os(1e3 * c)), c++, s = yield e()._getSessionStateNextStepConditionResult(), !!s.shouldRetry); )
7679
7697
  ;
7680
7698
  if (s.error) {
7681
7699
  e().workflowSessionCompletion({
@@ -7750,7 +7768,8 @@ const Jd = (t, e) => ({
7750
7768
  u && (s = {
7751
7769
  templateId: u.templateId,
7752
7770
  templateLayout: u.templateLayout,
7753
- dataSource: null
7771
+ dataSource: null,
7772
+ locale: e().locale
7754
7773
  });
7755
7774
  } else {
7756
7775
  const u = e()._findStepById(i);
@@ -7760,12 +7779,12 @@ const Jd = (t, e) => ({
7760
7779
  properties: o,
7761
7780
  stepType: u.type,
7762
7781
  locale: e().locale
7763
- })), s && (s.sessionId = (D = e().currentSessionData) == null ? void 0 : D.sessionId, s.serviceToken = e().serviceToken), s && al((d = u == null ? void 0 : u.client) == null ? void 0 : d.templateLayout)) {
7764
- const g = ms(u.client.templateLayout, e().layout);
7782
+ })), s && (s.sessionId = (D = e().currentSessionData) == null ? void 0 : D.sessionId, s.serviceToken = e().serviceToken), s && cl((d = u == null ? void 0 : u.client) == null ? void 0 : d.templateLayout)) {
7783
+ const g = js(u.client.templateLayout, e().layout);
7765
7784
  g && (s.templateLayout = g);
7766
7785
  }
7767
7786
  }
7768
- const a = rl(e().externalModules, n.steps, i);
7787
+ const a = il(e().externalModules, n.steps, i);
7769
7788
  if (s === null || !a) {
7770
7789
  const u = new We({
7771
7790
  errorCode: Be.UNKNOWN_STEP,
@@ -7796,7 +7815,7 @@ const Jd = (t, e) => ({
7796
7815
  })),
7797
7816
  resetFetchService: () => t(() => ({ fetchService: null }))
7798
7817
  });
7799
- function Xd(t) {
7818
+ function tM(t) {
7800
7819
  return L(this, null, function* () {
7801
7820
  const e = [];
7802
7821
  for (const i of t)
@@ -7808,15 +7827,15 @@ function Xd(t) {
7808
7827
  return e.filter((i) => i !== null);
7809
7828
  });
7810
7829
  }
7811
- const Re = Qu(
7812
- (...t) => S(S(S({}, Nl(...t)), Gd(...t)), Jd(...t))
7813
- ), qd = (t) => /^[a-z][a-z0-9]*-[a-z0-9]+(?:-[a-z0-9]+)*$/.test(t) && t.length <= 100, Fs = (t, e) => {
7814
- if (!qd(t))
7830
+ const Re = Pu(
7831
+ (...t) => S(S(S({}, Il(...t)), Xd(...t)), eM(...t))
7832
+ ), rM = (t) => /^[a-z][a-z0-9]*-[a-z0-9]+(?:-[a-z0-9]+)*$/.test(t) && t.length <= 100, Vs = (t, e) => {
7833
+ if (!rM(t))
7815
7834
  throw new Error(`Invalid component name: ${t}`);
7816
7835
  const r = document.createElement(t);
7817
7836
  return r.style.width = "100%", r.style.height = "100%", r.setProps(e), r;
7818
7837
  };
7819
- class eM {
7838
+ class iM {
7820
7839
  constructor(e) {
7821
7840
  this.isPortrait = !1, this.isLandscape = !1, this.orientation = "portrait", this._handleOrientationChange = () => {
7822
7841
  const r = this._getOrientation();
@@ -7833,9 +7852,9 @@ class eM {
7833
7852
  typeof window != "undefined" && (window.removeEventListener("load", this._handleOrientationChange), window.removeEventListener("resize", this._handleOrientationChange));
7834
7853
  }
7835
7854
  }
7836
- var Yn = { exports: {} }, Vs;
7837
- function tM() {
7838
- return Vs || (Vs = 1, (function(t) {
7855
+ var Yn = { exports: {} }, Bs;
7856
+ function nM() {
7857
+ return Bs || (Bs = 1, (function(t) {
7839
7858
  t.exports = /******/
7840
7859
  (function(e) {
7841
7860
  var r = {};
@@ -7921,7 +7940,7 @@ function tM() {
7921
7940
  /* 1 */
7922
7941
  /***/
7923
7942
  (function(e, r, i) {
7924
- var n = i(2), o = i(0), s = o.BROWSER_TYPES, a = o.OS_TYPES, c = o.DEVICE_TYPES, l = i(4), D = l.checkType, d = l.broPayload, u = l.mobilePayload, g = l.wearPayload, f = l.consolePayload, M = l.stvPayload, I = l.getNavigatorInstance, p = l.isIOS13Check, A = new n(), E = A.getBrowser(), m = A.getDevice(), z = A.getEngine(), v = A.getOS(), R = A.getUA(), B = s.CHROME, le = s.CHROMIUM, P = s.IE, G = s.INTERNET_EXPLORER, C = s.OPERA, Z = s.FIREFOX, Me = s.SAFARI, ce = s.EDGE, ye = s.YANDEX, he = s.MOBILE_SAFARI, se = c.MOBILE, $ = c.TABLET, U = c.SMART_TV, K = c.BROWSER, ne = c.WEARABLE, me = c.CONSOLE, ae = a.ANDROID, F = a.WINDOWS_PHONE, re = a.IOS, Ze = a.WINDOWS, Fe = a.MAC_OS, gt = function() {
7943
+ var n = i(2), o = i(0), s = o.BROWSER_TYPES, a = o.OS_TYPES, c = o.DEVICE_TYPES, l = i(4), D = l.checkType, d = l.broPayload, u = l.mobilePayload, g = l.wearPayload, f = l.consolePayload, M = l.stvPayload, I = l.getNavigatorInstance, p = l.isIOS13Check, A = new n(), E = A.getBrowser(), m = A.getDevice(), C = A.getEngine(), v = A.getOS(), R = A.getUA(), B = s.CHROME, le = s.CHROMIUM, P = s.IE, G = s.INTERNET_EXPLORER, z = s.OPERA, Z = s.FIREFOX, Me = s.SAFARI, ce = s.EDGE, ye = s.YANDEX, he = s.MOBILE_SAFARI, se = c.MOBILE, $ = c.TABLET, U = c.SMART_TV, K = c.BROWSER, ne = c.WEARABLE, me = c.CONSOLE, ae = a.ANDROID, F = a.WINDOWS_PHONE, re = a.IOS, Ze = a.WINDOWS, Fe = a.MAC_OS, gt = function() {
7925
7944
  return m.type === se;
7926
7945
  }, Xe = function() {
7927
7946
  return m.type === $;
@@ -7968,7 +7987,7 @@ function tM() {
7968
7987
  }, q = function() {
7969
7988
  return E.name === he;
7970
7989
  }, ee = function() {
7971
- return E.name === C;
7990
+ return E.name === z;
7972
7991
  }, De = function() {
7973
7992
  return E.name === G || E.name === P;
7974
7993
  }, te = function() {
@@ -7983,7 +8002,7 @@ function tM() {
7983
8002
  return p("iPhone");
7984
8003
  }, be = function() {
7985
8004
  return p("iPod");
7986
- }, Ce = function() {
8005
+ }, ze = function() {
7987
8006
  return E.major;
7988
8007
  }, Ie = function() {
7989
8008
  return E.version;
@@ -7998,26 +8017,26 @@ function tM() {
7998
8017
  }, ti = function() {
7999
8018
  return m.model ? m.model : "none";
8000
8019
  }, ri = function() {
8001
- return z.name;
8020
+ return C.name;
8002
8021
  }, ii = function() {
8003
- return z.version;
8022
+ return C.version;
8004
8023
  }, ni = function() {
8005
8024
  return R;
8006
8025
  }, oi = function() {
8007
8026
  return m.type;
8008
- }, si = Et(), ai = ft(), ci = It(), Wt = q() || H(), ui = Y(), nt = ot() || H(), li = gt(), di = Xe() || H(), Mi = Ft(), gi = Vt(), Ni = qe(), Ii = y() || H(), fi = j(), sn = _(), an = W(), cn = ee(), Nr = De(), Di = J(), hi = Le(), yi = Ce(), un = Ie(), pi = Bt(), Ti = Jt(), Ai = ti(), ln = ri(), dn = ii(), Mn = ni(), gn = k() || Nt(), Ei = b(), Nn = oi(), In = ie(), fn = H(), Dn = ge(), hn = be(), yn = te(), pn = Nt(), Tn = k(), An = st(), En = Dt(), ht = D(m.type);
8027
+ }, si = Et(), ai = ft(), ci = It(), Wt = q() || H(), ui = Y(), nt = ot() || H(), li = gt(), di = Xe() || H(), Mi = Ft(), gi = Vt(), Ni = qe(), Ii = y() || H(), fi = j(), sn = _(), an = W(), cn = ee(), Nr = De(), Di = J(), hi = Le(), yi = ze(), un = Ie(), pi = Bt(), Ti = Jt(), Ai = ti(), ln = ri(), dn = ii(), Mn = ni(), gn = k() || Nt(), Ei = b(), Nn = oi(), In = ie(), fn = H(), Dn = ge(), hn = be(), yn = te(), pn = Nt(), Tn = k(), An = st(), En = Dt(), ht = D(m.type);
8009
8028
  function mn() {
8010
8029
  var ue = ht.isBrowser, at = ht.isMobile, Ir = ht.isTablet, mi = ht.isSmartTV, ji = ht.isConsole, wi = ht.isWearable;
8011
8030
  if (ue)
8012
- return d(ue, E, z, v, R);
8031
+ return d(ue, E, C, v, R);
8013
8032
  if (mi)
8014
- return M(mi, z, v, R);
8033
+ return M(mi, C, v, R);
8015
8034
  if (ji)
8016
- return f(ji, z, v, R);
8035
+ return f(ji, C, v, R);
8017
8036
  if (at || Ir)
8018
8037
  return u(ht, m, v, R);
8019
8038
  if (wi)
8020
- return g(wi, z, v, R);
8039
+ return g(wi, C, v, R);
8021
8040
  }
8022
8041
  e.exports = {
8023
8042
  deviceDetect: mn,
@@ -8067,7 +8086,7 @@ function tM() {
8067
8086
  (function(e, r, i) {
8068
8087
  var n;
8069
8088
  (function(o, s) {
8070
- var a = "0.7.18", c = "", l = "?", D = "function", d = "undefined", u = "object", g = "string", f = "major", M = "model", I = "name", p = "type", A = "vendor", E = "version", m = "architecture", z = "console", v = "mobile", R = "tablet", B = "smarttv", le = "wearable", P = "embedded", G = { extend: function(se, $) {
8089
+ var a = "0.7.18", c = "", l = "?", D = "function", d = "undefined", u = "object", g = "string", f = "major", M = "model", I = "name", p = "type", A = "vendor", E = "version", m = "architecture", C = "console", v = "mobile", R = "tablet", B = "smarttv", le = "wearable", P = "embedded", G = { extend: function(se, $) {
8071
8090
  var U = {};
8072
8091
  for (var K in se)
8073
8092
  $[K] && $[K].length % 2 === 0 ? U[K] = $[K].concat(se[K]) : U[K] = se[K];
@@ -8080,7 +8099,7 @@ function tM() {
8080
8099
  return typeof se === g ? se.replace(/[^\d\.]/g, "").split(".")[0] : s;
8081
8100
  }, trim: function(se) {
8082
8101
  return se.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
8083
- } }, C = { rgx: function(se, $) {
8102
+ } }, z = { rgx: function(se, $) {
8084
8103
  for (var U = 0, K, ne, me, ae, F, re; U < $.length && !F; ) {
8085
8104
  var Ze = $[U], Fe = $[U + 1];
8086
8105
  for (K = ne = 0; K < Ze.length && !F; )
@@ -8098,25 +8117,25 @@ function tM() {
8098
8117
  } else if (G.has($[U], se))
8099
8118
  return U === l ? s : U;
8100
8119
  return se;
8101
- } }, Z = { 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" } } } }, Me = { browser: [[/(opera\smini)\/([\w\.-]+)/i, /(opera\s[mobiletab]+).+version\/([\w\.-]+)/i, /(opera).+version\/([\w\.]+)/i, /(opera)[\/\s]+([\w\.]+)/i], [I, E], [/(opios)[\/\s]+([\w\.]+)/i], [[I, "Opera Mini"], E], [/\s(opr)\/([\w\.]+)/i], [[I, "Opera"], E], [/(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], [I, E], [/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i], [[I, "IE"], E], [/(edge|edgios|edgea)\/((\d+)?[\w\.]+)/i], [[I, "Edge"], E], [/(yabrowser)\/([\w\.]+)/i], [[I, "Yandex"], E], [/(puffin)\/([\w\.]+)/i], [[I, "Puffin"], E], [/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i], [[I, "UCBrowser"], E], [/(comodo_dragon)\/([\w\.]+)/i], [[I, /_/g, " "], E], [/(micromessenger)\/([\w\.]+)/i], [[I, "WeChat"], E], [/(qqbrowserlite)\/([\w\.]+)/i], [I, E], [/(QQ)\/([\d\.]+)/i], [I, E], [/m?(qqbrowser)[\/\s]?([\w\.]+)/i], [I, E], [/(BIDUBrowser)[\/\s]?([\w\.]+)/i], [I, E], [/(2345Explorer)[\/\s]?([\w\.]+)/i], [I, E], [/(MetaSr)[\/\s]?([\w\.]+)/i], [I], [/(LBBROWSER)/i], [I], [/xiaomi\/miuibrowser\/([\w\.]+)/i], [E, [I, "MIUI Browser"]], [/;fbav\/([\w\.]+);/i], [E, [I, "Facebook"]], [/headlesschrome(?:\/([\w\.]+)|\s)/i], [E, [I, "Chrome Headless"]], [/\swv\).+(chrome)\/([\w\.]+)/i], [[I, /(.+)/, "$1 WebView"], E], [/((?:oculus|samsung)browser)\/([\w\.]+)/i], [[I, /(.+(?:g|us))(.+)/, "$1 $2"], E], [/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i], [E, [I, "Android Browser"]], [/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i], [I, E], [/(dolfin)\/([\w\.]+)/i], [[I, "Dolphin"], E], [/((?:android.+)crmo|crios)\/([\w\.]+)/i], [[I, "Chrome"], E], [/(coast)\/([\w\.]+)/i], [[I, "Opera Coast"], E], [/fxios\/([\w\.-]+)/i], [E, [I, "Firefox"]], [/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i], [E, [I, "Mobile Safari"]], [/version\/([\w\.]+).+?(mobile\s?safari|safari)/i], [E, I], [/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i], [[I, "GSA"], E], [/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i], [I, [E, C.str, Z.browser.oldsafari.version]], [/(konqueror)\/([\w\.]+)/i, /(webkit|khtml)\/([\w\.]+)/i], [I, E], [/(navigator|netscape)\/([\w\.-]+)/i], [[I, "Netscape"], E], [/(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], [I, E]], cpu: [[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i], [[m, "amd64"]], [/(ia32(?=;))/i], [[m, G.lowerize]], [/((?:i[346]|x)86)[;\)]/i], [[m, "ia32"]], [/windows\s(ce|mobile);\sppc;/i], [[m, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i], [[m, /ower/, "", G.lowerize]], [/(sun4\w)[;\)]/i], [[m, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i], [[m, G.lowerize]]], device: [[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i], [M, A, [p, R]], [/applecoremedia\/[\w\.]+ \((ipad)/], [M, [A, "Apple"], [p, R]], [/(apple\s{0,1}tv)/i], [[M, "Apple TV"], [A, "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], [A, M, [p, R]], [/(kf[A-z]+)\sbuild\/.+silk\//i], [M, [A, "Amazon"], [p, R]], [/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i], [[M, C.str, Z.device.amazon.model], [A, "Amazon"], [p, v]], [/\((ip[honed|\s\w*]+);.+(apple)/i], [M, A, [p, v]], [/\((ip[honed|\s\w*]+);/i], [M, [A, "Apple"], [p, v]], [/(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], [A, M, [p, v]], [/\(bb10;\s(\w+)/i], [M, [A, "BlackBerry"], [p, v]], [/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i], [M, [A, "Asus"], [p, R]], [/(sony)\s(tablet\s[ps])\sbuild\//i, /(sony)?(?:sgp.+)\sbuild\//i], [[A, "Sony"], [M, "Xperia Tablet"], [p, R]], [/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i], [M, [A, "Sony"], [p, v]], [/\s(ouya)\s/i, /(nintendo)\s([wids3u]+)/i], [A, M, [p, z]], [/android.+;\s(shield)\sbuild/i], [M, [A, "Nvidia"], [p, z]], [/(playstation\s[34portablevi]+)/i], [M, [A, "Sony"], [p, z]], [/(sprint\s(\w+))/i], [[A, C.str, Z.device.sprint.vendor], [M, C.str, Z.device.sprint.model], [p, v]], [/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i], [A, M, [p, R]], [/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i, /(zte)-(\w*)/i, /(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i], [A, [M, /_/g, " "], [p, v]], [/(nexus\s9)/i], [M, [A, "HTC"], [p, R]], [/d\/huawei([\w\s-]+)[;\)]/i, /(nexus\s6p)/i], [M, [A, "Huawei"], [p, v]], [/(microsoft);\s(lumia[\s\w]+)/i], [A, M, [p, v]], [/[\s\(;](xbox(?:\sone)?)[\s\);]/i], [M, [A, "Microsoft"], [p, z]], [/(kin\.[onetw]{3})/i], [[M, /\./g, " "], [A, "Microsoft"], [p, v]], [/\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], [M, [A, "Motorola"], [p, v]], [/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i], [M, [A, "Motorola"], [p, R]], [/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i], [[A, G.trim], [M, G.trim], [p, B]], [/hbbtv.+maple;(\d+)/i], [[M, /^/, "SmartTV"], [A, "Samsung"], [p, B]], [/\(dtv[\);].+(aquos)/i], [M, [A, "Sharp"], [p, B]], [/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], [[A, "Samsung"], M, [p, R]], [/smart-tv.+(samsung)/i], [A, [p, B], M], [/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i, /(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i, /sec-((sgh\w+))/i], [[A, "Samsung"], M, [p, v]], [/sie-(\w*)/i], [M, [A, "Siemens"], [p, v]], [/(maemo|nokia).*(n900|lumia\s\d+)/i, /(nokia)[\s_-]?([\w-]*)/i], [[A, "Nokia"], M, [p, v]], [/android\s3\.[\s\w;-]{10}(a\d{3})/i], [M, [A, "Acer"], [p, R]], [/android.+([vl]k\-?\d{3})\s+build/i], [M, [A, "LG"], [p, R]], [/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i], [[A, "LG"], M, [p, R]], [/(lg) netcast\.tv/i], [A, M, [p, B]], [/(nexus\s[45])/i, /lg[e;\s\/-]+(\w*)/i, /android.+lg(\-?[\d\w]+)\s+build/i], [M, [A, "LG"], [p, v]], [/android.+(ideatab[a-z0-9\-\s]+)/i], [M, [A, "Lenovo"], [p, R]], [/linux;.+((jolla));/i], [A, M, [p, v]], [/((pebble))app\/[\d\.]+\s/i], [A, M, [p, le]], [/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i], [A, M, [p, v]], [/crkey/i], [[M, "Chromecast"], [A, "Google"]], [/android.+;\s(glass)\s\d/i], [M, [A, "Google"], [p, le]], [/android.+;\s(pixel c)\s/i], [M, [A, "Google"], [p, R]], [/android.+;\s(pixel xl|pixel)\s/i], [M, [A, "Google"], [p, v]], [/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], [[M, /_/g, " "], [A, "Xiaomi"], [p, v]], [/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i], [[M, /_/g, " "], [A, "Xiaomi"], [p, R]], [/android.+;\s(m[1-5]\snote)\sbuild/i], [M, [A, "Meizu"], [p, R]], [/android.+a000(1)\s+build/i, /android.+oneplus\s(a\d{4})\s+build/i], [M, [A, "OnePlus"], [p, v]], [/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i], [M, [A, "RCA"], [p, R]], [/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i], [M, [A, "Dell"], [p, R]], [/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i], [M, [A, "Verizon"], [p, R]], [/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i], [[A, "Barnes & Noble"], M, [p, R]], [/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i], [M, [A, "NuVision"], [p, R]], [/android.+;\s(k88)\sbuild/i], [M, [A, "ZTE"], [p, R]], [/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i], [M, [A, "Swiss"], [p, v]], [/android.+[;\/]\s*(zur\d{3})\s+build/i], [M, [A, "Swiss"], [p, R]], [/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i], [M, [A, "Zeki"], [p, R]], [/(android).+[;\/]\s+([YR]\d{2})\s+build/i, /android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i], [[A, "Dragon Touch"], M, [p, R]], [/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i], [M, [A, "Insignia"], [p, R]], [/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i], [M, [A, "NextBook"], [p, R]], [/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i], [[A, "Voice"], M, [p, v]], [/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i], [[A, "LvTel"], M, [p, v]], [/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i], [M, [A, "Envizen"], [p, R]], [/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i], [A, M, [p, R]], [/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i], [M, [A, "MachSpeed"], [p, R]], [/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i], [A, M, [p, R]], [/android.+[;\/]\s*TU_(1491)\s+build/i], [M, [A, "Rotor"], [p, R]], [/android.+(KS(.+))\s+build/i], [M, [A, "Amazon"], [p, R]], [/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i], [A, M, [p, R]], [/\s(tablet|tab)[;\/]/i, /\s(mobile)(?:[;\/]|\ssafari)/i], [[p, G.lowerize], A, M], [/(android[\w\.\s\-]{0,9});.+build/i], [M, [A, "Generic"]]], engine: [[/windows.+\sedge\/([\w\.]+)/i], [E, [I, "EdgeHTML"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i, /(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i, /(icab)[\/\s]([23]\.[\d\.]+)/i], [I, E], [/rv\:([\w\.]{1,9}).+(gecko)/i], [E, I]], os: [[/microsoft\s(windows)\s(vista|xp)/i], [I, E], [/(windows)\snt\s6\.2;\s(arm)/i, /(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i, /(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i], [I, [E, C.str, Z.os.windows.version]], [/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i], [[I, "Windows"], [E, C.str, Z.os.windows.version]], [/\((bb)(10);/i], [[I, "BlackBerry"], E], [/(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], [I, E], [/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i], [[I, "Symbian"], E], [/\((series40);/i], [I], [/mozilla.+\(mobile;.+gecko.+firefox/i], [[I, "Firefox OS"], E], [/(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], [I, E], [/(cros)\s[\w]+\s([\w\.]+\w)/i], [[I, "Chromium OS"], E], [/(sunos)\s?([\w\.\d]*)/i], [[I, "Solaris"], E], [/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i], [I, E], [/(haiku)\s(\w+)/i], [I, E], [/cfnetwork\/.+darwin/i, /ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i], [[E, /_/g, "."], [I, "iOS"]], [/(mac\sos\sx)\s?([\w\s\.]*)/i, /(macintosh|mac(?=_powerpc)\s)/i], [[I, "Mac OS"], [E, /_/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], [I, E]] }, ce = function(se, $) {
8120
+ } }, Z = { 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" } } } }, Me = { browser: [[/(opera\smini)\/([\w\.-]+)/i, /(opera\s[mobiletab]+).+version\/([\w\.-]+)/i, /(opera).+version\/([\w\.]+)/i, /(opera)[\/\s]+([\w\.]+)/i], [I, E], [/(opios)[\/\s]+([\w\.]+)/i], [[I, "Opera Mini"], E], [/\s(opr)\/([\w\.]+)/i], [[I, "Opera"], E], [/(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], [I, E], [/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i], [[I, "IE"], E], [/(edge|edgios|edgea)\/((\d+)?[\w\.]+)/i], [[I, "Edge"], E], [/(yabrowser)\/([\w\.]+)/i], [[I, "Yandex"], E], [/(puffin)\/([\w\.]+)/i], [[I, "Puffin"], E], [/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i], [[I, "UCBrowser"], E], [/(comodo_dragon)\/([\w\.]+)/i], [[I, /_/g, " "], E], [/(micromessenger)\/([\w\.]+)/i], [[I, "WeChat"], E], [/(qqbrowserlite)\/([\w\.]+)/i], [I, E], [/(QQ)\/([\d\.]+)/i], [I, E], [/m?(qqbrowser)[\/\s]?([\w\.]+)/i], [I, E], [/(BIDUBrowser)[\/\s]?([\w\.]+)/i], [I, E], [/(2345Explorer)[\/\s]?([\w\.]+)/i], [I, E], [/(MetaSr)[\/\s]?([\w\.]+)/i], [I], [/(LBBROWSER)/i], [I], [/xiaomi\/miuibrowser\/([\w\.]+)/i], [E, [I, "MIUI Browser"]], [/;fbav\/([\w\.]+);/i], [E, [I, "Facebook"]], [/headlesschrome(?:\/([\w\.]+)|\s)/i], [E, [I, "Chrome Headless"]], [/\swv\).+(chrome)\/([\w\.]+)/i], [[I, /(.+)/, "$1 WebView"], E], [/((?:oculus|samsung)browser)\/([\w\.]+)/i], [[I, /(.+(?:g|us))(.+)/, "$1 $2"], E], [/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i], [E, [I, "Android Browser"]], [/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i], [I, E], [/(dolfin)\/([\w\.]+)/i], [[I, "Dolphin"], E], [/((?:android.+)crmo|crios)\/([\w\.]+)/i], [[I, "Chrome"], E], [/(coast)\/([\w\.]+)/i], [[I, "Opera Coast"], E], [/fxios\/([\w\.-]+)/i], [E, [I, "Firefox"]], [/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i], [E, [I, "Mobile Safari"]], [/version\/([\w\.]+).+?(mobile\s?safari|safari)/i], [E, I], [/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i], [[I, "GSA"], E], [/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i], [I, [E, z.str, Z.browser.oldsafari.version]], [/(konqueror)\/([\w\.]+)/i, /(webkit|khtml)\/([\w\.]+)/i], [I, E], [/(navigator|netscape)\/([\w\.-]+)/i], [[I, "Netscape"], E], [/(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], [I, E]], cpu: [[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i], [[m, "amd64"]], [/(ia32(?=;))/i], [[m, G.lowerize]], [/((?:i[346]|x)86)[;\)]/i], [[m, "ia32"]], [/windows\s(ce|mobile);\sppc;/i], [[m, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i], [[m, /ower/, "", G.lowerize]], [/(sun4\w)[;\)]/i], [[m, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i], [[m, G.lowerize]]], device: [[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i], [M, A, [p, R]], [/applecoremedia\/[\w\.]+ \((ipad)/], [M, [A, "Apple"], [p, R]], [/(apple\s{0,1}tv)/i], [[M, "Apple TV"], [A, "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], [A, M, [p, R]], [/(kf[A-z]+)\sbuild\/.+silk\//i], [M, [A, "Amazon"], [p, R]], [/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i], [[M, z.str, Z.device.amazon.model], [A, "Amazon"], [p, v]], [/\((ip[honed|\s\w*]+);.+(apple)/i], [M, A, [p, v]], [/\((ip[honed|\s\w*]+);/i], [M, [A, "Apple"], [p, v]], [/(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], [A, M, [p, v]], [/\(bb10;\s(\w+)/i], [M, [A, "BlackBerry"], [p, v]], [/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i], [M, [A, "Asus"], [p, R]], [/(sony)\s(tablet\s[ps])\sbuild\//i, /(sony)?(?:sgp.+)\sbuild\//i], [[A, "Sony"], [M, "Xperia Tablet"], [p, R]], [/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i], [M, [A, "Sony"], [p, v]], [/\s(ouya)\s/i, /(nintendo)\s([wids3u]+)/i], [A, M, [p, C]], [/android.+;\s(shield)\sbuild/i], [M, [A, "Nvidia"], [p, C]], [/(playstation\s[34portablevi]+)/i], [M, [A, "Sony"], [p, C]], [/(sprint\s(\w+))/i], [[A, z.str, Z.device.sprint.vendor], [M, z.str, Z.device.sprint.model], [p, v]], [/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i], [A, M, [p, R]], [/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i, /(zte)-(\w*)/i, /(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i], [A, [M, /_/g, " "], [p, v]], [/(nexus\s9)/i], [M, [A, "HTC"], [p, R]], [/d\/huawei([\w\s-]+)[;\)]/i, /(nexus\s6p)/i], [M, [A, "Huawei"], [p, v]], [/(microsoft);\s(lumia[\s\w]+)/i], [A, M, [p, v]], [/[\s\(;](xbox(?:\sone)?)[\s\);]/i], [M, [A, "Microsoft"], [p, C]], [/(kin\.[onetw]{3})/i], [[M, /\./g, " "], [A, "Microsoft"], [p, v]], [/\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], [M, [A, "Motorola"], [p, v]], [/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i], [M, [A, "Motorola"], [p, R]], [/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i], [[A, G.trim], [M, G.trim], [p, B]], [/hbbtv.+maple;(\d+)/i], [[M, /^/, "SmartTV"], [A, "Samsung"], [p, B]], [/\(dtv[\);].+(aquos)/i], [M, [A, "Sharp"], [p, B]], [/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], [[A, "Samsung"], M, [p, R]], [/smart-tv.+(samsung)/i], [A, [p, B], M], [/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i, /(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i, /sec-((sgh\w+))/i], [[A, "Samsung"], M, [p, v]], [/sie-(\w*)/i], [M, [A, "Siemens"], [p, v]], [/(maemo|nokia).*(n900|lumia\s\d+)/i, /(nokia)[\s_-]?([\w-]*)/i], [[A, "Nokia"], M, [p, v]], [/android\s3\.[\s\w;-]{10}(a\d{3})/i], [M, [A, "Acer"], [p, R]], [/android.+([vl]k\-?\d{3})\s+build/i], [M, [A, "LG"], [p, R]], [/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i], [[A, "LG"], M, [p, R]], [/(lg) netcast\.tv/i], [A, M, [p, B]], [/(nexus\s[45])/i, /lg[e;\s\/-]+(\w*)/i, /android.+lg(\-?[\d\w]+)\s+build/i], [M, [A, "LG"], [p, v]], [/android.+(ideatab[a-z0-9\-\s]+)/i], [M, [A, "Lenovo"], [p, R]], [/linux;.+((jolla));/i], [A, M, [p, v]], [/((pebble))app\/[\d\.]+\s/i], [A, M, [p, le]], [/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i], [A, M, [p, v]], [/crkey/i], [[M, "Chromecast"], [A, "Google"]], [/android.+;\s(glass)\s\d/i], [M, [A, "Google"], [p, le]], [/android.+;\s(pixel c)\s/i], [M, [A, "Google"], [p, R]], [/android.+;\s(pixel xl|pixel)\s/i], [M, [A, "Google"], [p, v]], [/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], [[M, /_/g, " "], [A, "Xiaomi"], [p, v]], [/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i], [[M, /_/g, " "], [A, "Xiaomi"], [p, R]], [/android.+;\s(m[1-5]\snote)\sbuild/i], [M, [A, "Meizu"], [p, R]], [/android.+a000(1)\s+build/i, /android.+oneplus\s(a\d{4})\s+build/i], [M, [A, "OnePlus"], [p, v]], [/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i], [M, [A, "RCA"], [p, R]], [/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i], [M, [A, "Dell"], [p, R]], [/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i], [M, [A, "Verizon"], [p, R]], [/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i], [[A, "Barnes & Noble"], M, [p, R]], [/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i], [M, [A, "NuVision"], [p, R]], [/android.+;\s(k88)\sbuild/i], [M, [A, "ZTE"], [p, R]], [/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i], [M, [A, "Swiss"], [p, v]], [/android.+[;\/]\s*(zur\d{3})\s+build/i], [M, [A, "Swiss"], [p, R]], [/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i], [M, [A, "Zeki"], [p, R]], [/(android).+[;\/]\s+([YR]\d{2})\s+build/i, /android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i], [[A, "Dragon Touch"], M, [p, R]], [/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i], [M, [A, "Insignia"], [p, R]], [/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i], [M, [A, "NextBook"], [p, R]], [/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i], [[A, "Voice"], M, [p, v]], [/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i], [[A, "LvTel"], M, [p, v]], [/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i], [M, [A, "Envizen"], [p, R]], [/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i], [A, M, [p, R]], [/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i], [M, [A, "MachSpeed"], [p, R]], [/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i], [A, M, [p, R]], [/android.+[;\/]\s*TU_(1491)\s+build/i], [M, [A, "Rotor"], [p, R]], [/android.+(KS(.+))\s+build/i], [M, [A, "Amazon"], [p, R]], [/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i], [A, M, [p, R]], [/\s(tablet|tab)[;\/]/i, /\s(mobile)(?:[;\/]|\ssafari)/i], [[p, G.lowerize], A, M], [/(android[\w\.\s\-]{0,9});.+build/i], [M, [A, "Generic"]]], engine: [[/windows.+\sedge\/([\w\.]+)/i], [E, [I, "EdgeHTML"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i, /(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i, /(icab)[\/\s]([23]\.[\d\.]+)/i], [I, E], [/rv\:([\w\.]{1,9}).+(gecko)/i], [E, I]], os: [[/microsoft\s(windows)\s(vista|xp)/i], [I, E], [/(windows)\snt\s6\.2;\s(arm)/i, /(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i, /(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i], [I, [E, z.str, Z.os.windows.version]], [/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i], [[I, "Windows"], [E, z.str, Z.os.windows.version]], [/\((bb)(10);/i], [[I, "BlackBerry"], E], [/(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], [I, E], [/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i], [[I, "Symbian"], E], [/\((series40);/i], [I], [/mozilla.+\(mobile;.+gecko.+firefox/i], [[I, "Firefox OS"], E], [/(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], [I, E], [/(cros)\s[\w]+\s([\w\.]+\w)/i], [[I, "Chromium OS"], E], [/(sunos)\s?([\w\.\d]*)/i], [[I, "Solaris"], E], [/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i], [I, E], [/(haiku)\s(\w+)/i], [I, E], [/cfnetwork\/.+darwin/i, /ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i], [[E, /_/g, "."], [I, "iOS"]], [/(mac\sos\sx)\s?([\w\s\.]*)/i, /(macintosh|mac(?=_powerpc)\s)/i], [[I, "Mac OS"], [E, /_/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], [I, E]] }, ce = function(se, $) {
8102
8121
  if (typeof se == "object" && ($ = se, se = s), !(this instanceof ce))
8103
8122
  return new ce(se, $).getResult();
8104
8123
  var U = se || (o && o.navigator && o.navigator.userAgent ? o.navigator.userAgent : c), K = $ ? G.extend(Me, $) : Me;
8105
8124
  return this.getBrowser = function() {
8106
8125
  var ne = { name: s, version: s };
8107
- return C.rgx.call(ne, U, K.browser), ne.major = G.major(ne.version), ne;
8126
+ return z.rgx.call(ne, U, K.browser), ne.major = G.major(ne.version), ne;
8108
8127
  }, this.getCPU = function() {
8109
8128
  var ne = { architecture: s };
8110
- return C.rgx.call(ne, U, K.cpu), ne;
8129
+ return z.rgx.call(ne, U, K.cpu), ne;
8111
8130
  }, this.getDevice = function() {
8112
8131
  var ne = { vendor: s, model: s, type: s };
8113
- return C.rgx.call(ne, U, K.device), ne;
8132
+ return z.rgx.call(ne, U, K.device), ne;
8114
8133
  }, this.getEngine = function() {
8115
8134
  var ne = { name: s, version: s };
8116
- return C.rgx.call(ne, U, K.engine), ne;
8135
+ return z.rgx.call(ne, U, K.engine), ne;
8117
8136
  }, this.getOS = function() {
8118
8137
  var ne = { name: s, version: s };
8119
- return C.rgx.call(ne, U, K.os), ne;
8138
+ return z.rgx.call(ne, U, K.os), ne;
8120
8139
  }, this.getResult = function() {
8121
8140
  return { ua: this.getUA(), browser: this.getBrowser(), engine: this.getEngine(), os: this.getOS(), device: this.getDevice(), cpu: this.getCPU() };
8122
8141
  }, this.getUA = function() {
@@ -8125,7 +8144,7 @@ function tM() {
8125
8144
  return U = ne, this;
8126
8145
  }, this;
8127
8146
  };
8128
- ce.VERSION = a, ce.BROWSER = { NAME: I, MAJOR: f, VERSION: E }, ce.CPU = { ARCHITECTURE: m }, ce.DEVICE = { MODEL: M, VENDOR: A, TYPE: p, CONSOLE: z, MOBILE: v, SMARTTV: B, TABLET: R, WEARABLE: le, EMBEDDED: P }, ce.ENGINE = { NAME: I, VERSION: E }, ce.OS = { NAME: I, VERSION: E }, typeof r !== d ? (typeof e !== d && e.exports && (r = e.exports = ce), r.UAParser = ce) : i(3) ? (n = (function() {
8147
+ ce.VERSION = a, ce.BROWSER = { NAME: I, MAJOR: f, VERSION: E }, ce.CPU = { ARCHITECTURE: m }, ce.DEVICE = { MODEL: M, VENDOR: A, TYPE: p, CONSOLE: C, MOBILE: v, SMARTTV: B, TABLET: R, WEARABLE: le, EMBEDDED: P }, ce.ENGINE = { NAME: I, VERSION: E }, ce.OS = { NAME: I, VERSION: E }, typeof r !== d ? (typeof e !== d && e.exports && (r = e.exports = ce), r.UAParser = ce) : i(3) ? (n = (function() {
8129
8148
  return ce;
8130
8149
  }).call(r, i, r, e), n !== s && (e.exports = n)) : o && (o.UAParser = ce);
8131
8150
  var ye = o && (o.jQuery || o.Zepto);
@@ -8179,7 +8198,7 @@ function tM() {
8179
8198
  default:
8180
8199
  return a;
8181
8200
  }
8182
- }, l = function(p, A, E, m, z) {
8201
+ }, l = function(p, A, E, m, C) {
8183
8202
  return {
8184
8203
  isBrowser: p,
8185
8204
  browserMajorVersion: A.major,
@@ -8189,7 +8208,7 @@ function tM() {
8189
8208
  engineVersion: E.version,
8190
8209
  osName: m.name,
8191
8210
  osVersion: m.version,
8192
- userAgent: z
8211
+ userAgent: C
8193
8212
  };
8194
8213
  }, D = function(p, A, E, m) {
8195
8214
  return n({}, p, {
@@ -8247,14 +8266,14 @@ function tM() {
8247
8266
  ]);
8248
8267
  })(Yn)), Yn.exports;
8249
8268
  }
8250
- var rM = tM(), iM = Object.defineProperty, gr = (t, e, r, i) => {
8269
+ var oM = nM(), sM = Object.defineProperty, gr = (t, e, r, i) => {
8251
8270
  for (var n = void 0, o = t.length - 1, s; o >= 0; o--)
8252
8271
  (s = t[o]) && (n = s(e, r, n) || n);
8253
- return n && iM(e, r, n), n;
8272
+ return n && sM(e, r, n), n;
8254
8273
  };
8255
- const Co = class Co extends kr {
8274
+ const bo = class bo extends kr {
8256
8275
  constructor() {
8257
- super(...arguments), this._currentProgressElement = null, this._currentScreenElement = null, this._currentScreenModuleId = "", this._currentScreenConfig = null, this.orientation = new eM(this), this.store = Re.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) => {
8276
+ super(...arguments), this._currentProgressElement = null, this._currentScreenElement = null, this._currentScreenModuleId = "", this._currentScreenConfig = null, this.orientation = new iM(this), this.store = Re.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) => {
8258
8277
  this.store.listener({
8259
8278
  eventType: ki.MESSAGE,
8260
8279
  message: r,
@@ -8283,7 +8302,7 @@ const Co = class Co extends kr {
8283
8302
  idvEventListener: this._listenerFromModule,
8284
8303
  isProcessing: this._isProcessingCallback
8285
8304
  };
8286
- return this._currentProgressElement || (this._currentProgressElement = Fs(e.id, r)), this._currentProgressElement;
8305
+ return this._currentProgressElement || (this._currentProgressElement = Vs(e.id, r)), this._currentProgressElement;
8287
8306
  }
8288
8307
  _isTheSameModuleAndScreen(e) {
8289
8308
  return this._currentScreenModuleId === e.id && JSON.stringify(structuredClone(this._currentScreenConfig)) === JSON.stringify(structuredClone(this.currentScreenConfig));
@@ -8302,21 +8321,21 @@ const Co = class Co extends kr {
8302
8321
  isProcessing: this._isProcessingCallback,
8303
8322
  nonce: this.nonce
8304
8323
  };
8305
- return (!this._currentScreenElement || !this._isTheSameModuleAndScreen(e)) && (this._currentScreenElement = Fs(e.id, r), this._currentScreenModuleId = e.id, this._currentScreenConfig = this.currentScreenConfig), this._currentScreenElement;
8324
+ return (!this._currentScreenElement || !this._isTheSameModuleAndScreen(e)) && (this._currentScreenElement = Vs(e.id, r), this._currentScreenModuleId = e.id, this._currentScreenConfig = this.currentScreenConfig), this._currentScreenElement;
8306
8325
  }
8307
8326
  get version() {
8308
- return `${"3.2.293-nightly".trim()}`;
8327
+ return `${"3.2.295-nightly".trim()}`;
8309
8328
  }
8310
8329
  disconnectedCallback() {
8311
8330
  var e;
8312
- super.disconnectedCallback(), (e = this.unsubscribeFromStore) == null || e.call(this), ia.clearLogs();
8331
+ super.disconnectedCallback(), (e = this.unsubscribeFromStore) == null || e.call(this), na.clearLogs();
8313
8332
  }
8314
8333
  render() {
8315
8334
  return !this.currentScreenConfig && !this.processingScreenFromWorkflow ? null : Sn`<div
8316
8335
  part="idv"
8317
8336
  class="idv"
8318
- data-device="${rM.isMobile && this.orientation.isPortrait ? "mobile" : "desktop"}"
8319
- data-direction="${na.Ltr}"
8337
+ data-device="${oM.isMobile && this.orientation.isPortrait ? "mobile" : "desktop"}"
8338
+ data-direction="${oa.Ltr}"
8320
8339
  >
8321
8340
  <div class="container">
8322
8341
  ${this.isProcessing ? Sn`<div class="processing-overlay">${this._processingScreen()}</div>` : ""}
@@ -8325,8 +8344,8 @@ const Co = class Co extends kr {
8325
8344
  </div>`;
8326
8345
  }
8327
8346
  };
8328
- Co.styles = [ou];
8329
- let Tt = Co;
8347
+ bo.styles = [su];
8348
+ let Tt = bo;
8330
8349
  gr([
8331
8350
  lr()
8332
8351
  ], Tt.prototype, "store");
@@ -8348,7 +8367,7 @@ gr([
8348
8367
  gr([
8349
8368
  lr()
8350
8369
  ], Tt.prototype, "nonce");
8351
- class IM {
8370
+ class hM {
8352
8371
  /** main commands */
8353
8372
  initialize(e) {
8354
8373
  return L(this, null, function* () {
@@ -8377,11 +8396,11 @@ class IM {
8377
8396
  }
8378
8397
  startWorkflow(e) {
8379
8398
  return L(this, null, function* () {
8380
- const i = Re.getState().trackLocation ? yield gl() : null;
8399
+ const i = Re.getState().trackLocation ? yield Nl() : null;
8381
8400
  return new Promise((n) => {
8382
8401
  const o = (l) => {
8383
8402
  n(l);
8384
- }, s = e == null ? void 0 : e.locale, a = e == null ? void 0 : e.metadata, c = ll(s);
8403
+ }, s = e == null ? void 0 : e.locale, a = e == null ? void 0 : e.metadata, c = dl(s);
8385
8404
  Re.getState().startNewSession({ completion: o, locale: c, metadata: a, location: i }).then((l) => {
8386
8405
  l.error && (Re.getState().removeCurrentSessionDataLsAndStore(), o(l)), l.results && (Re.getState().removeCurrentSessionDataLsAndStore(), o(l)), Re.getState().playWorkflow();
8387
8406
  });
@@ -8395,7 +8414,7 @@ class IM {
8395
8414
  }
8396
8415
  /** service commands */
8397
8416
  get version() {
8398
- return "3.2.293-nightly";
8417
+ return "3.2.295-nightly";
8399
8418
  }
8400
8419
  set nonce(e) {
8401
8420
  Re.getState().setNonce(e);
@@ -8411,15 +8430,15 @@ class IM {
8411
8430
  Re.getState().setSessionRestoreMode(e);
8412
8431
  }
8413
8432
  }
8414
- const nM = window.customElements.get("idv-flow");
8415
- nM || window.customElements.define("idv-flow", Tt);
8433
+ const aM = window.customElements.get("idv-flow");
8434
+ aM || window.customElements.define("idv-flow", Tt);
8416
8435
  export {
8417
8436
  Ae as BaseError,
8418
- Il as BaseModule,
8437
+ fl as BaseModule,
8419
8438
  $t as ConnectionError,
8420
8439
  Ri as DeinitializationError,
8421
8440
  ki as IdvEventTypesEnum,
8422
- IM as IdvIntegrationService,
8441
+ hM as IdvIntegrationService,
8423
8442
  Ur as IdvServiceMessages,
8424
8443
  Tt as IdvWebComponent,
8425
8444
  qi as InitializeError,
@@ -8428,5 +8447,5 @@ export {
8428
8447
  tr as StartSessionError,
8429
8448
  Be as WorkflowError,
8430
8449
  St as WorkflowPlatformError,
8431
- fl as registerModule
8450
+ Dl as registerModule
8432
8451
  };