@regulaforensics/idv-capture-web 3.2.260-nightly → 3.2.262-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.iife.js +12 -12
- package/dist/main.js +664 -659
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
var Ml = Object.defineProperty, Pl = Object.defineProperties;
|
|
2
2
|
var Fl = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
3
|
+
var xn = Object.getOwnPropertySymbols;
|
|
4
4
|
var Vo = Object.prototype.hasOwnProperty, $o = Object.prototype.propertyIsEnumerable;
|
|
5
5
|
var Uo = (t, e, r) => e in t ? Ml(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, O = (t, e) => {
|
|
6
6
|
for (var r in e || (e = {}))
|
|
7
7
|
Vo.call(e, r) && Uo(t, r, e[r]);
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
8
|
+
if (xn)
|
|
9
|
+
for (var r of xn(e))
|
|
10
10
|
$o.call(e, r) && Uo(t, r, e[r]);
|
|
11
11
|
return t;
|
|
12
12
|
}, X = (t, e) => Pl(t, Fl(e));
|
|
@@ -14,8 +14,8 @@ var Xt = (t, e) => {
|
|
|
14
14
|
var r = {};
|
|
15
15
|
for (var n in t)
|
|
16
16
|
Vo.call(t, n) && e.indexOf(n) < 0 && (r[n] = t[n]);
|
|
17
|
-
if (t != null &&
|
|
18
|
-
for (var n of
|
|
17
|
+
if (t != null && xn)
|
|
18
|
+
for (var n of xn(t))
|
|
19
19
|
e.indexOf(n) < 0 && $o.call(t, n) && (r[n] = t[n]);
|
|
20
20
|
return r;
|
|
21
21
|
};
|
|
@@ -82,7 +82,7 @@ const Ll = (t) => new Ys(typeof t == "string" ? t : t + "", void 0, eo), Ul = (t
|
|
|
82
82
|
* Copyright 2017 Google LLC
|
|
83
83
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
84
84
|
*/
|
|
85
|
-
const { is: $l, defineProperty: Bl, getOwnPropertyDescriptor: Hl, getOwnPropertyNames: Wl, getOwnPropertySymbols: jl, getPrototypeOf: zl } = Object, qt = globalThis, Wo = qt.trustedTypes, Kl = Wo ? Wo.emptyScript : "", Si = qt.reactiveElementPolyfillSupport,
|
|
85
|
+
const { is: $l, defineProperty: Bl, getOwnPropertyDescriptor: Hl, getOwnPropertyNames: Wl, getOwnPropertySymbols: jl, getPrototypeOf: zl } = Object, qt = globalThis, Wo = qt.trustedTypes, Kl = Wo ? Wo.emptyScript : "", Si = qt.reactiveElementPolyfillSupport, Nr = (t, e) => t, Mn = { toAttribute(t, e) {
|
|
86
86
|
switch (e) {
|
|
87
87
|
case Boolean:
|
|
88
88
|
t = t ? Kl : null;
|
|
@@ -144,13 +144,13 @@ let mr = class extends HTMLElement {
|
|
|
144
144
|
return (r = this.elementProperties.get(e)) != null ? r : jo;
|
|
145
145
|
}
|
|
146
146
|
static _$Ei() {
|
|
147
|
-
if (this.hasOwnProperty(
|
|
147
|
+
if (this.hasOwnProperty(Nr("elementProperties"))) return;
|
|
148
148
|
const e = zl(this);
|
|
149
149
|
e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
|
|
150
150
|
}
|
|
151
151
|
static finalize() {
|
|
152
|
-
if (this.hasOwnProperty(
|
|
153
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
|
152
|
+
if (this.hasOwnProperty(Nr("finalized"))) return;
|
|
153
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(Nr("properties"))) {
|
|
154
154
|
const r = this.properties, n = [...Wl(r), ...jl(r)];
|
|
155
155
|
for (const i of n) this.createProperty(i, r[i]);
|
|
156
156
|
}
|
|
@@ -324,13 +324,13 @@ let mr = class extends HTMLElement {
|
|
|
324
324
|
}
|
|
325
325
|
};
|
|
326
326
|
var Ks;
|
|
327
|
-
mr.elementStyles = [], mr.shadowRootOptions = { mode: "open" }, mr[
|
|
327
|
+
mr.elementStyles = [], mr.shadowRootOptions = { mode: "open" }, mr[Nr("elementProperties")] = /* @__PURE__ */ new Map(), mr[Nr("finalized")] = /* @__PURE__ */ new Map(), Si == null || Si({ ReactiveElement: mr }), ((Ks = qt.reactiveElementVersions) != null ? Ks : qt.reactiveElementVersions = []).push("2.1.1");
|
|
328
328
|
/**
|
|
329
329
|
* @license
|
|
330
330
|
* Copyright 2017 Google LLC
|
|
331
331
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
332
332
|
*/
|
|
333
|
-
const
|
|
333
|
+
const Dr = globalThis, Pn = Dr.trustedTypes, zo = Pn ? Pn.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, Js = "$lit$", Gt = `lit$${Math.random().toFixed(9).slice(2)}$`, Xs = "?" + Gt, Gl = `<${Xs}>`, lr = document, Wr = () => lr.createComment(""), jr = (t) => t === null || typeof t != "object" && typeof t != "function", ro = Array.isArray, ql = (t) => ro(t) || typeof (t == null ? void 0 : t[Symbol.iterator]) == "function", Ei = `[
|
|
334
334
|
\f\r]`, Ir = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ko = /-->/g, Go = />/g, Qt = RegExp(`>|${Ei}(?:([^\\s"'>=/]+)(${Ei}*=${Ei}*(?:[^
|
|
335
335
|
\f\r"'\`<>=]|("|')|))|$)`, "g"), qo = /'/g, Zo = /"/g, Qs = /^(?:script|style|textarea|title)$/i, Zl = (t) => (e, ...r) => ({ _$litType$: t, strings: e, values: r }), Ti = Zl(1), yr = Symbol.for("lit-noChange"), ke = Symbol.for("lit-nothing"), Yo = /* @__PURE__ */ new WeakMap(), or = lr.createTreeWalker(lr, 129);
|
|
336
336
|
function ea(t, e) {
|
|
@@ -342,10 +342,10 @@ const Yl = (t, e) => {
|
|
|
342
342
|
let i, o = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", s = Ir;
|
|
343
343
|
for (let a = 0; a < r; a++) {
|
|
344
344
|
const l = t[a];
|
|
345
|
-
let d, p,
|
|
346
|
-
for (; c < l.length && (s.lastIndex = c, p = s.exec(l), p !== null); ) c = s.lastIndex, s === Ir ? p[1] === "!--" ? s = Ko : p[1] !== void 0 ? s = Go : p[2] !== void 0 ? (Qs.test(p[2]) && (i = RegExp("</" + p[2], "g")), s = Qt) : p[3] !== void 0 && (s = Qt) : s === Qt ? p[0] === ">" ? (s = i != null ? i : Ir,
|
|
345
|
+
let d, p, f = -1, c = 0;
|
|
346
|
+
for (; c < l.length && (s.lastIndex = c, p = s.exec(l), p !== null); ) c = s.lastIndex, s === Ir ? p[1] === "!--" ? s = Ko : p[1] !== void 0 ? s = Go : p[2] !== void 0 ? (Qs.test(p[2]) && (i = RegExp("</" + p[2], "g")), s = Qt) : p[3] !== void 0 && (s = Qt) : s === Qt ? p[0] === ">" ? (s = i != null ? i : Ir, f = -1) : p[1] === void 0 ? f = -2 : (f = s.lastIndex - p[2].length, d = p[1], s = p[3] === void 0 ? Qt : p[3] === '"' ? Zo : qo) : s === Zo || s === qo ? s = Qt : s === Ko || s === Go ? s = Ir : (s = Qt, i = void 0);
|
|
347
347
|
const g = s === Qt && t[a + 1].startsWith("/>") ? " " : "";
|
|
348
|
-
o += s === Ir ? l + Gl :
|
|
348
|
+
o += s === Ir ? l + Gl : f >= 0 ? (n.push(d), l.slice(0, f) + Js + l.slice(f) + Gt + g) : l + Gt + (f === -2 ? a : g);
|
|
349
349
|
}
|
|
350
350
|
return [ea(t, o + (t[r] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), n];
|
|
351
351
|
};
|
|
@@ -356,27 +356,27 @@ let $i = class ta {
|
|
|
356
356
|
let o = 0, s = 0;
|
|
357
357
|
const a = e.length - 1, l = this.parts, [d, p] = Yl(e, r);
|
|
358
358
|
if (this.el = ta.createElement(d, n), or.currentNode = this.el.content, r === 2 || r === 3) {
|
|
359
|
-
const
|
|
360
|
-
|
|
359
|
+
const f = this.el.content.firstChild;
|
|
360
|
+
f.replaceWith(...f.childNodes);
|
|
361
361
|
}
|
|
362
362
|
for (; (i = or.nextNode()) !== null && l.length < a; ) {
|
|
363
363
|
if (i.nodeType === 1) {
|
|
364
|
-
if (i.hasAttributes()) for (const
|
|
365
|
-
const c = p[s++], g = i.getAttribute(
|
|
366
|
-
l.push({ type: 1, index: o, name: w[2], strings: g, ctor: w[1] === "." ? Xl : w[1] === "?" ? Ql : w[1] === "@" ? ec : Qn }), i.removeAttribute(
|
|
367
|
-
} else
|
|
364
|
+
if (i.hasAttributes()) for (const f of i.getAttributeNames()) if (f.endsWith(Js)) {
|
|
365
|
+
const c = p[s++], g = i.getAttribute(f).split(Gt), w = /([.?@])?(.*)/.exec(c);
|
|
366
|
+
l.push({ type: 1, index: o, name: w[2], strings: g, ctor: w[1] === "." ? Xl : w[1] === "?" ? Ql : w[1] === "@" ? ec : Qn }), i.removeAttribute(f);
|
|
367
|
+
} else f.startsWith(Gt) && (l.push({ type: 6, index: o }), i.removeAttribute(f));
|
|
368
368
|
if (Qs.test(i.tagName)) {
|
|
369
|
-
const
|
|
369
|
+
const f = i.textContent.split(Gt), c = f.length - 1;
|
|
370
370
|
if (c > 0) {
|
|
371
371
|
i.textContent = Pn ? Pn.emptyScript : "";
|
|
372
|
-
for (let g = 0; g < c; g++) i.append(
|
|
373
|
-
i.append(
|
|
372
|
+
for (let g = 0; g < c; g++) i.append(f[g], Wr()), or.nextNode(), l.push({ type: 2, index: ++o });
|
|
373
|
+
i.append(f[c], Wr());
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
376
|
} else if (i.nodeType === 8) if (i.data === Xs) l.push({ type: 2, index: o });
|
|
377
377
|
else {
|
|
378
|
-
let
|
|
379
|
-
for (; (
|
|
378
|
+
let f = -1;
|
|
379
|
+
for (; (f = i.data.indexOf(Gt, f + 1)) !== -1; ) l.push({ type: 7, index: o }), f += Gt.length - 1;
|
|
380
380
|
}
|
|
381
381
|
o++;
|
|
382
382
|
}
|
|
@@ -390,7 +390,7 @@ function br(t, e, r = t, n) {
|
|
|
390
390
|
var s, a, l;
|
|
391
391
|
if (e === yr) return e;
|
|
392
392
|
let i = n !== void 0 ? (s = r._$Co) == null ? void 0 : s[n] : r._$Cl;
|
|
393
|
-
const o =
|
|
393
|
+
const o = jr(e) ? void 0 : e._$litDirective$;
|
|
394
394
|
return (i == null ? void 0 : i.constructor) !== o && ((a = i == null ? void 0 : i._$AO) == null || a.call(i, !1), o === void 0 ? i = void 0 : (i = new o(t), i._$AT(t, r, n)), n !== void 0 ? ((l = r._$Co) != null ? l : r._$Co = [])[n] = i : r._$Cl = i), i !== void 0 && (e = br(t, i._$AS(t, e.values), i, n)), e;
|
|
395
395
|
}
|
|
396
396
|
let Jl = class {
|
|
@@ -442,7 +442,7 @@ let Jl = class {
|
|
|
442
442
|
return this._$AB;
|
|
443
443
|
}
|
|
444
444
|
_$AI(e, r = this) {
|
|
445
|
-
e = br(this, e, r),
|
|
445
|
+
e = br(this, e, r), jr(e) ? e === ke || e == null || e === "" ? (this._$AH !== ke && this._$AR(), this._$AH = ke) : e !== this._$AH && e !== yr && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : ql(e) ? this.k(e) : this._(e);
|
|
446
446
|
}
|
|
447
447
|
O(e) {
|
|
448
448
|
return this._$AA.parentNode.insertBefore(e, this._$AB);
|
|
@@ -451,7 +451,7 @@ let Jl = class {
|
|
|
451
451
|
this._$AH !== e && (this._$AR(), this._$AH = this.O(e));
|
|
452
452
|
}
|
|
453
453
|
_(e) {
|
|
454
|
-
this._$AH !== ke &&
|
|
454
|
+
this._$AH !== ke && jr(this._$AH) ? this._$AA.nextSibling.data = e : this.T(lr.createTextNode(e)), this._$AH = e;
|
|
455
455
|
}
|
|
456
456
|
$(e) {
|
|
457
457
|
var o;
|
|
@@ -470,7 +470,7 @@ let Jl = class {
|
|
|
470
470
|
ro(this._$AH) || (this._$AH = [], this._$AR());
|
|
471
471
|
const r = this._$AH;
|
|
472
472
|
let n, i = 0;
|
|
473
|
-
for (const o of e) i === r.length ? r.push(n = new ra(this.O(
|
|
473
|
+
for (const o of e) i === r.length ? r.push(n = new ra(this.O(Wr()), this.O(Wr()), this, this.options)) : n = r[i], n._$AI(o), i++;
|
|
474
474
|
i < r.length && (this._$AR(n && n._$AB.nextSibling, i), r.length = i);
|
|
475
475
|
}
|
|
476
476
|
_$AR(e = this._$AA.nextSibling, r) {
|
|
@@ -497,11 +497,11 @@ let Jl = class {
|
|
|
497
497
|
_$AI(e, r = this, n, i) {
|
|
498
498
|
const o = this.strings;
|
|
499
499
|
let s = !1;
|
|
500
|
-
if (o === void 0) e = br(this, e, r, 0), s = !
|
|
500
|
+
if (o === void 0) e = br(this, e, r, 0), s = !jr(e) || e !== this._$AH && e !== yr, s && (this._$AH = e);
|
|
501
501
|
else {
|
|
502
502
|
const a = e;
|
|
503
503
|
let l, d;
|
|
504
|
-
for (e = o[0], l = 0; l < o.length - 1; l++) d = br(this, a[n + l], r, l), d === yr && (d = this._$AH[l]), s || (s = !
|
|
504
|
+
for (e = o[0], l = 0; l < o.length - 1; l++) d = br(this, a[n + l], r, l), d === yr && (d = this._$AH[l]), s || (s = !jr(d) || d !== this._$AH[l]), d === ke ? e = ke : e !== ke && (e += (d != null ? d : "") + o[l + 1]), this._$AH[l] = d;
|
|
505
505
|
}
|
|
506
506
|
s && !i && this.j(e);
|
|
507
507
|
}
|
|
@@ -547,16 +547,16 @@ let Jl = class {
|
|
|
547
547
|
br(this, e);
|
|
548
548
|
}
|
|
549
549
|
};
|
|
550
|
-
const Oi =
|
|
550
|
+
const Oi = Dr.litHtmlPolyfillSupport;
|
|
551
551
|
var Gs;
|
|
552
|
-
Oi == null || Oi($i, no), ((Gs =
|
|
552
|
+
Oi == null || Oi($i, no), ((Gs = Dr.litHtmlVersions) != null ? Gs : Dr.litHtmlVersions = []).push("3.3.1");
|
|
553
553
|
const rc = (t, e, r) => {
|
|
554
554
|
var o, s;
|
|
555
555
|
const n = (o = r == null ? void 0 : r.renderBefore) != null ? o : e;
|
|
556
556
|
let i = n._$litPart$;
|
|
557
557
|
if (i === void 0) {
|
|
558
558
|
const a = (s = r == null ? void 0 : r.renderBefore) != null ? s : null;
|
|
559
|
-
n._$litPart$ = i = new no(e.insertBefore(
|
|
559
|
+
n._$litPart$ = i = new no(e.insertBefore(Wr(), a), a, void 0, r != null ? r : {});
|
|
560
560
|
}
|
|
561
561
|
return i._$AI(t), i;
|
|
562
562
|
};
|
|
@@ -566,7 +566,7 @@ const rc = (t, e, r) => {
|
|
|
566
566
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
567
567
|
*/
|
|
568
568
|
const ar = globalThis;
|
|
569
|
-
let
|
|
569
|
+
let Mr = class extends mr {
|
|
570
570
|
constructor() {
|
|
571
571
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
572
572
|
}
|
|
@@ -592,9 +592,9 @@ let Dr = class extends mr {
|
|
|
592
592
|
}
|
|
593
593
|
};
|
|
594
594
|
var qs;
|
|
595
|
-
|
|
595
|
+
Mr._$litElement$ = !0, Mr.finalized = !0, (qs = ar.litElementHydrateSupport) == null || qs.call(ar, { LitElement: Mr });
|
|
596
596
|
const Ii = ar.litElementPolyfillSupport;
|
|
597
|
-
Ii == null || Ii({ LitElement:
|
|
597
|
+
Ii == null || Ii({ LitElement: Mr });
|
|
598
598
|
var Zs;
|
|
599
599
|
((Zs = ar.litElementVersions) != null ? Zs : ar.litElementVersions = []).push("4.2.1");
|
|
600
600
|
/**
|
|
@@ -750,19 +750,19 @@ const na = new sc(), ac = Ul`
|
|
|
750
750
|
DATA: "DATA",
|
|
751
751
|
QUESTIONARY: "QUESTIONARY"
|
|
752
752
|
}, cc = Object.values(lc);
|
|
753
|
-
var ia = /* @__PURE__ */ ((t) => (t.Rtl = "rtl", t.Ltr = "ltr", t))(ia || {}),
|
|
753
|
+
var ia = /* @__PURE__ */ ((t) => (t.Rtl = "rtl", t.Ltr = "ltr", t))(ia || {}), Pr = /* @__PURE__ */ ((t) => (t.DID_START_SESSION = "DID_START_SESSION", t.DID_END_SESSION = "DID_END_SESSION", t.DID_START_RESTORE_SESSION = "DID_START_RESTORE_SESSION", t.DID_CONTINUE_REMOTE_SESSION = "DID_CONTINUE_REMOTE_SESSION", t))(Pr || {}), Et = /* @__PURE__ */ ((t) => (t[t.INITIALIZATION_REQUIRED = 0] = "INITIALIZATION_REQUIRED", t[t.CONNECTION_ISSUE = 1] = "CONNECTION_ISSUE", t[t.WORKFLOW_ISSUE = 2] = "WORKFLOW_ISSUE", t[t.INTERNAL_ISSUE = 3] = "INTERNAL_ISSUE", t[t.SCENARIO_IN_PROGRESS = 4] = "SCENARIO_IN_PROGRESS", t))(Et || {}), Ue = /* @__PURE__ */ ((t) => (t[t.CONNECTION_ISSUE = 0] = "CONNECTION_ISSUE", t[t.CONFIG_MISSED_OR_INVALID = 1] = "CONFIG_MISSED_OR_INVALID", t[t.INITIALIZATION_REQUIRED = 2] = "INITIALIZATION_REQUIRED", t[t.SCENARIO_IN_PROGRESS = 3] = "SCENARIO_IN_PROGRESS", t))(Ue || {}), Ke = /* @__PURE__ */ ((t) => (t[t.INITIALIZATION_REQUIRED = 0] = "INITIALIZATION_REQUIRED", t[t.PREPARED_REQUIRED = 1] = "PREPARED_REQUIRED", t[t.START_SESSION_FAILED = 2] = "START_SESSION_FAILED", t[t.UNKNOWN_STEP = 3] = "UNKNOWN_STEP", t[t.MODULES_ISSUE = 4] = "MODULES_ISSUE", t[t.ALREADY_STARTED = 5] = "ALREADY_STARTED", t[t.INTERNAL_ISSUE = 6] = "INTERNAL_ISSUE", t))(Ke || {}), ei = /* @__PURE__ */ ((t) => (t[t.CONFIG_MISSED_OR_INVALID = 0] = "CONFIG_MISSED_OR_INVALID", t[t.MODULES_INSTANTIATION_FAILURE = 1] = "MODULES_INSTANTIATION_FAILURE", t[t.INITIALIZATION_IN_PROGRESS = 2] = "INITIALIZATION_IN_PROGRESS", t))(ei || {}), Ln = /* @__PURE__ */ ((t) => (t[t.CONNECTION_ISSUE = 0] = "CONNECTION_ISSUE", t[t.WORKFLOW_ISSUE = 1] = "WORKFLOW_ISSUE", t))(Ln || {}), Tt = /* @__PURE__ */ ((t) => (t[t.HTTP_ISSUE = 0] = "HTTP_ISSUE", t[t.PROVIDER_ERROR = 1] = "PROVIDER_ERROR", t[t.DECODING_FAILED = 2] = "DECODING_FAILED", t))(Tt || {}), tr = /* @__PURE__ */ ((t) => (t[t.HTTP_ISSUE = 0] = "HTTP_ISSUE", t[t.PROVIDER_ERROR = 1] = "PROVIDER_ERROR", t[t.DECODING_FAILED = 2] = "DECODING_FAILED", t[t.TOKEN_ERROR = 3] = "TOKEN_ERROR", t[t.CONNECTION_ISSUE = 4] = "CONNECTION_ISSUE", t))(tr || {}), lt = /* @__PURE__ */ ((t) => (t[t.HTTP_ISSUE = 0] = "HTTP_ISSUE", t[t.PROVIDER_ERROR = 1] = "PROVIDER_ERROR", t[t.DECODING_FAILED = 2] = "DECODING_FAILED", t[t.SAME_STEP = 3] = "SAME_STEP", t[t.IS_PROCESSING = 4] = "IS_PROCESSING", t[t.NOT_DATA_TYPE = 5] = "NOT_DATA_TYPE", t))(lt || {}), Un = /* @__PURE__ */ ((t) => (t[t.INITIALIZATION_REQUIRED = 0] = "INITIALIZATION_REQUIRED", t[t.SCENARIO_IN_PROGRESS = 3] = "SCENARIO_IN_PROGRESS", t))(Un || {}), Kt = /* @__PURE__ */ ((t) => (t[t.HTTP_ISSUE = 0] = "HTTP_ISSUE", t[t.PROVIDER_ERROR = 1] = "PROVIDER_ERROR", t))(Kt || {});
|
|
754
754
|
const dc = 120, uc = 200, Bi = "PROGRESS", vt = "IDV", er = "idv-session-data", xr = "idv-session-auth-token", fc = "rgl-uid", hc = "en", Jo = (t) => {
|
|
755
755
|
let e;
|
|
756
756
|
const r = /* @__PURE__ */ new Set(), n = (d, p) => {
|
|
757
|
-
const
|
|
758
|
-
if (!Object.is(
|
|
757
|
+
const f = typeof d == "function" ? d(e) : d;
|
|
758
|
+
if (!Object.is(f, e)) {
|
|
759
759
|
const c = e;
|
|
760
|
-
e = (p != null ? p : typeof
|
|
760
|
+
e = (p != null ? p : typeof f != "object" || f === null) ? f : Object.assign({}, e, f), r.forEach((g) => g(e, c));
|
|
761
761
|
}
|
|
762
762
|
}, i = () => e, a = { setState: n, getState: i, getInitialState: () => l, subscribe: (d) => (r.add(d), () => r.delete(d)) }, l = e = t(n, i, a);
|
|
763
763
|
return a;
|
|
764
764
|
}, pc = (t) => t ? Jo(t) : Jo;
|
|
765
|
-
var
|
|
765
|
+
var Gr, se, oa, rr, Xo, sa, aa, la, io, Hi, Wi, ca, zr = {}, da = [], _c = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, qr = Array.isArray;
|
|
766
766
|
function gt(t, e) {
|
|
767
767
|
for (var r in e) t[r] = e[r];
|
|
768
768
|
return t;
|
|
@@ -773,10 +773,10 @@ function oo(t) {
|
|
|
773
773
|
function wt(t, e, r) {
|
|
774
774
|
var n, i, o, s = {};
|
|
775
775
|
for (o in e) o == "key" ? n = e[o] : o == "ref" ? i = e[o] : s[o] = e[o];
|
|
776
|
-
if (arguments.length > 2 && (s.children = arguments.length > 3 ?
|
|
777
|
-
return
|
|
776
|
+
if (arguments.length > 2 && (s.children = arguments.length > 3 ? Gr.call(arguments, 2) : r), typeof t == "function" && t.defaultProps != null) for (o in t.defaultProps) s[o] === void 0 && (s[o] = t.defaultProps[o]);
|
|
777
|
+
return Fr(t, s, n, i, null);
|
|
778
778
|
}
|
|
779
|
-
function
|
|
779
|
+
function Fr(t, e, r, n, i) {
|
|
780
780
|
var o = { type: t, props: e, key: r, ref: n, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: i == null ? ++oa : i, __i: -1, __u: 0 };
|
|
781
781
|
return i == null && se.vnode != null && se.vnode(o), o;
|
|
782
782
|
}
|
|
@@ -812,14 +812,14 @@ function Vn() {
|
|
|
812
812
|
Vn.__r = 0;
|
|
813
813
|
}
|
|
814
814
|
function ha(t, e, r, n, i, o, s, a, l, d, p) {
|
|
815
|
-
var
|
|
816
|
-
for (l = mc(r, e, C, l, b),
|
|
817
|
-
return r.__e =
|
|
815
|
+
var f, c, g, w, h, m, S, C = n && n.__k || da, b = e.length;
|
|
816
|
+
for (l = mc(r, e, C, l, b), f = 0; f < b; f++) (g = r.__k[f]) != null && (c = g.__i == -1 ? zr : C[g.__i] || zr, g.__i = f, m = so(t, g, c, i, o, s, a, l, d, p), w = g.__e, g.ref && c.ref != g.ref && (c.ref && ao(c.ref, null, g), p.push(g.ref, g.__c || w, g)), h == null && w != null && (h = w), (S = !!(4 & g.__u)) || c.__k === g.__k ? l = pa(g, l, t, S) : typeof g.type == "function" && m !== void 0 ? l = m : w && (l = w.nextSibling), g.__u &= -7);
|
|
817
|
+
return r.__e = h, l;
|
|
818
818
|
}
|
|
819
819
|
function mc(t, e, r, n, i) {
|
|
820
|
-
var o, s, a, l, d, p = r.length,
|
|
821
|
-
for (t.__k = new Array(i), o = 0; o < i; o++) (s = e[o]) != null && typeof s != "boolean" && typeof s != "function" ? (l = o + c, (s = t.__k[o] = typeof s == "string" || typeof s == "number" || typeof s == "bigint" || s.constructor == String ?
|
|
822
|
-
if (
|
|
820
|
+
var o, s, a, l, d, p = r.length, f = p, c = 0;
|
|
821
|
+
for (t.__k = new Array(i), o = 0; o < i; o++) (s = e[o]) != null && typeof s != "boolean" && typeof s != "function" ? (l = o + c, (s = t.__k[o] = typeof s == "string" || typeof s == "number" || typeof s == "bigint" || s.constructor == String ? Fr(null, s, null, null, null) : qr(s) ? Fr(We, { children: s }, null, null, null) : s.constructor == null && s.__b > 0 ? Fr(s.type, s.props, s.key, s.ref ? s.ref : null, s.__v) : s).__ = t, s.__b = t.__b + 1, a = null, (d = s.__i = gc(s, r, l, f)) != -1 && (f--, (a = r[d]) && (a.__u |= 2)), a == null || a.__v == null ? (d == -1 && (i > p ? c-- : i < p && c++), typeof s.type != "function" && (s.__u |= 4)) : d != l && (d == l - 1 ? c-- : d == l + 1 ? c++ : (d > l ? c-- : c++, s.__u |= 4))) : t.__k[o] = null;
|
|
822
|
+
if (f) for (o = 0; o < p; o++) (a = r[o]) != null && (2 & a.__u) == 0 && (a.__e == n && (n = Cr(a)), ga(a, a));
|
|
823
823
|
return n;
|
|
824
824
|
}
|
|
825
825
|
function pa(t, e, r, n) {
|
|
@@ -835,7 +835,7 @@ function pa(t, e, r, n) {
|
|
|
835
835
|
return e;
|
|
836
836
|
}
|
|
837
837
|
function Vt(t, e) {
|
|
838
|
-
return e = e || [], t == null || typeof t == "boolean" || (
|
|
838
|
+
return e = e || [], t == null || typeof t == "boolean" || (qr(t) ? t.some(function(r) {
|
|
839
839
|
Vt(r, e);
|
|
840
840
|
}) : e.push(t)), e;
|
|
841
841
|
}
|
|
@@ -850,7 +850,7 @@ function gc(t, e, r, n) {
|
|
|
850
850
|
function Qo(t, e, r) {
|
|
851
851
|
e[0] == "-" ? t.setProperty(e, r == null ? "" : r) : t[e] = r == null ? "" : typeof r != "number" || _c.test(e) ? r : r + "px";
|
|
852
852
|
}
|
|
853
|
-
function
|
|
853
|
+
function An(t, e, r, n, i) {
|
|
854
854
|
var o, s;
|
|
855
855
|
e: if (e == "style") if (typeof r == "string") t.style.cssText = r;
|
|
856
856
|
else {
|
|
@@ -879,36 +879,36 @@ function es(t) {
|
|
|
879
879
|
};
|
|
880
880
|
}
|
|
881
881
|
function so(t, e, r, n, i, o, s, a, l, d) {
|
|
882
|
-
var p,
|
|
882
|
+
var p, f, c, g, w, h, m, S, C, b, I, k, N, R, ae, _e, le, Z = e.type;
|
|
883
883
|
if (e.constructor != null) return null;
|
|
884
884
|
128 & r.__u && (l = !!(32 & r.__u), o = [a = e.__e = r.__e]), (p = se.__b) && p(e);
|
|
885
885
|
e: if (typeof Z == "function") try {
|
|
886
|
-
if (S = e.props, C = "prototype" in Z && Z.prototype.render, b = (p = Z.contextType) && n[p.__c], I = p ? b ? b.props.value : p.__ : n, r.__c ? m = (
|
|
886
|
+
if (S = e.props, C = "prototype" in Z && Z.prototype.render, b = (p = Z.contextType) && n[p.__c], I = p ? b ? b.props.value : p.__ : n, r.__c ? m = (f = e.__c = r.__c).__ = f.__E : (C ? e.__c = f = new Z(S, I) : (e.__c = f = new ht(S, I), f.constructor = Z, f.render = vc), b && b.sub(f), f.props = S, f.state || (f.state = {}), f.context = I, f.__n = n, c = f.__d = !0, f.__h = [], f._sb = []), C && f.__s == null && (f.__s = f.state), C && Z.getDerivedStateFromProps != null && (f.__s == f.state && (f.__s = gt({}, f.__s)), gt(f.__s, Z.getDerivedStateFromProps(S, f.__s))), g = f.props, w = f.state, f.__v = e, c) C && Z.getDerivedStateFromProps == null && f.componentWillMount != null && f.componentWillMount(), C && f.componentDidMount != null && f.__h.push(f.componentDidMount);
|
|
887
887
|
else {
|
|
888
|
-
if (C && Z.getDerivedStateFromProps == null && S !== g &&
|
|
889
|
-
for (e.__v != r.__v && (
|
|
888
|
+
if (C && Z.getDerivedStateFromProps == null && S !== g && f.componentWillReceiveProps != null && f.componentWillReceiveProps(S, I), !f.__e && f.shouldComponentUpdate != null && f.shouldComponentUpdate(S, f.__s, I) === !1 || e.__v == r.__v) {
|
|
889
|
+
for (e.__v != r.__v && (f.props = S, f.state = f.__s, f.__d = !1), e.__e = r.__e, e.__k = r.__k, e.__k.some(function(H) {
|
|
890
890
|
H && (H.__ = e);
|
|
891
|
-
}),
|
|
892
|
-
|
|
891
|
+
}), k = 0; k < f._sb.length; k++) f.__h.push(f._sb[k]);
|
|
892
|
+
f._sb = [], f.__h.length && s.push(f);
|
|
893
893
|
break e;
|
|
894
894
|
}
|
|
895
|
-
|
|
896
|
-
|
|
895
|
+
f.componentWillUpdate != null && f.componentWillUpdate(S, f.__s, I), C && f.componentDidUpdate != null && f.__h.push(function() {
|
|
896
|
+
f.componentDidUpdate(g, w, h);
|
|
897
897
|
});
|
|
898
898
|
}
|
|
899
|
-
if (
|
|
900
|
-
for (
|
|
901
|
-
|
|
899
|
+
if (f.context = I, f.props = S, f.__P = t, f.__e = !1, N = se.__r, R = 0, C) {
|
|
900
|
+
for (f.state = f.__s, f.__d = !1, N && N(e), p = f.render(f.props, f.state, f.context), ae = 0; ae < f._sb.length; ae++) f.__h.push(f._sb[ae]);
|
|
901
|
+
f._sb = [];
|
|
902
902
|
} else do
|
|
903
|
-
|
|
904
|
-
while (
|
|
905
|
-
|
|
903
|
+
f.__d = !1, N && N(e), p = f.render(f.props, f.state, f.context), f.state = f.__s;
|
|
904
|
+
while (f.__d && ++R < 25);
|
|
905
|
+
f.state = f.__s, f.getChildContext != null && (n = gt(gt({}, n), f.getChildContext())), C && !c && f.getSnapshotBeforeUpdate != null && (h = f.getSnapshotBeforeUpdate(g, w)), _e = p, p != null && p.type === We && p.key == null && (_e = ma(p.props.children)), a = ha(t, qr(_e) ? _e : [_e], e, r, n, i, o, s, a, l, d), f.base = e.__e, e.__u &= -161, f.__h.length && s.push(f), m && (f.__E = f.__ = null);
|
|
906
906
|
} catch (H) {
|
|
907
907
|
if (e.__v = null, l || o != null) if (H.then) {
|
|
908
908
|
for (e.__u |= l ? 160 : 128; a && a.nodeType == 8 && a.nextSibling; ) a = a.nextSibling;
|
|
909
909
|
o[o.indexOf(a)] = null, e.__e = a;
|
|
910
910
|
} else {
|
|
911
|
-
for (
|
|
911
|
+
for (le = o.length; le--; ) oo(o[le]);
|
|
912
912
|
zi(e);
|
|
913
913
|
}
|
|
914
914
|
else e.__e = r.__e, e.__k = r.__k, H.then || zi(e);
|
|
@@ -933,10 +933,10 @@ function _a(t, e, r) {
|
|
|
933
933
|
});
|
|
934
934
|
}
|
|
935
935
|
function ma(t) {
|
|
936
|
-
return typeof t != "object" || t == null || t.__b && t.__b > 0 ? t :
|
|
936
|
+
return typeof t != "object" || t == null || t.__b && t.__b > 0 ? t : qr(t) ? t.map(ma) : gt({}, t);
|
|
937
937
|
}
|
|
938
938
|
function wc(t, e, r, n, i, o, s, a, l) {
|
|
939
|
-
var d, p,
|
|
939
|
+
var d, p, f, c, g, w, h, m = r.props, S = e.props, C = e.type;
|
|
940
940
|
if (C == "svg" ? i = "http://www.w3.org/2000/svg" : C == "math" ? i = "http://www.w3.org/1998/Math/MathML" : i || (i = "http://www.w3.org/1999/xhtml"), o != null) {
|
|
941
941
|
for (d = 0; d < o.length; d++) if ((g = o[d]) && "setAttribute" in g == !!C && (C ? g.localName == C : g.nodeType == 3)) {
|
|
942
942
|
t = g, o[d] = null;
|
|
@@ -949,18 +949,18 @@ function wc(t, e, r, n, i, o, s, a, l) {
|
|
|
949
949
|
}
|
|
950
950
|
if (C == null) m === S || a && t.data == S || (t.data = S);
|
|
951
951
|
else {
|
|
952
|
-
if (o = o &&
|
|
952
|
+
if (o = o && Gr.call(t.childNodes), m = r.props || zr, !a && o != null) for (m = {}, d = 0; d < t.attributes.length; d++) m[(g = t.attributes[d]).name] = g.value;
|
|
953
953
|
for (d in m) if (g = m[d], d != "children") {
|
|
954
|
-
if (d == "dangerouslySetInnerHTML")
|
|
954
|
+
if (d == "dangerouslySetInnerHTML") f = g;
|
|
955
955
|
else if (!(d in S)) {
|
|
956
956
|
if (d == "value" && "defaultValue" in S || d == "checked" && "defaultChecked" in S) continue;
|
|
957
|
-
|
|
957
|
+
An(t, d, null, g, i);
|
|
958
958
|
}
|
|
959
959
|
}
|
|
960
|
-
for (d in S) g = S[d], d == "children" ? c = g : d == "dangerouslySetInnerHTML" ? p = g : d == "value" ? w = g : d == "checked" ?
|
|
961
|
-
if (p) a ||
|
|
962
|
-
else if (
|
|
963
|
-
a || (d = "value", C == "progress" && w == null ? t.removeAttribute("value") : w != null && (w !== t[d] || C == "progress" && !w || C == "option" && w != m[d]) &&
|
|
960
|
+
for (d in S) g = S[d], d == "children" ? c = g : d == "dangerouslySetInnerHTML" ? p = g : d == "value" ? w = g : d == "checked" ? h = g : a && typeof g != "function" || m[d] === g || An(t, d, g, m[d], i);
|
|
961
|
+
if (p) a || f && (p.__html == f.__html || p.__html == t.innerHTML) || (t.innerHTML = p.__html), e.__k = [];
|
|
962
|
+
else if (f && (t.innerHTML = ""), ha(e.type == "template" ? t.content : t, qr(c) ? c : [c], e, r, n, C == "foreignObject" ? "http://www.w3.org/1999/xhtml" : i, o, s, o ? o[0] : r.__k && Cr(r, 0), a, l), o != null) for (d = o.length; d--; ) oo(o[d]);
|
|
963
|
+
a || (d = "value", C == "progress" && w == null ? t.removeAttribute("value") : w != null && (w !== t[d] || C == "progress" && !w || C == "option" && w != m[d]) && An(t, d, w, m[d], i), d = "checked", h != null && h != t[d] && An(t, d, h, m[d], i));
|
|
964
964
|
}
|
|
965
965
|
return t;
|
|
966
966
|
}
|
|
@@ -992,7 +992,7 @@ function vc(t, e, r) {
|
|
|
992
992
|
}
|
|
993
993
|
function cr(t, e, r) {
|
|
994
994
|
var n, i, o, s;
|
|
995
|
-
e == document && (e = document.documentElement), se.__ && se.__(t, e), i = (n = typeof r == "function") ? null : r && r.__k || e.__k, o = [], s = [], so(e, t = (!n && r || e).__k = wt(We, null, [t]), i ||
|
|
995
|
+
e == document && (e = document.documentElement), se.__ && se.__(t, e), i = (n = typeof r == "function") ? null : r && r.__k || e.__k, o = [], s = [], so(e, t = (!n && r || e).__k = wt(We, null, [t]), i || zr, zr, e.namespaceURI, !n && r ? [r] : i ? null : e.firstChild ? Gr.call(e.childNodes) : null, o, !n && r ? r : i ? i.__e : e.firstChild, n, s), _a(o, t, s);
|
|
996
996
|
}
|
|
997
997
|
function wa(t, e) {
|
|
998
998
|
cr(t, e, wa);
|
|
@@ -1000,7 +1000,7 @@ function wa(t, e) {
|
|
|
1000
1000
|
function yc(t, e, r) {
|
|
1001
1001
|
var n, i, o, s, a = gt({}, t.props);
|
|
1002
1002
|
for (o in t.type && t.type.defaultProps && (s = t.type.defaultProps), e) o == "key" ? n = e[o] : o == "ref" ? i = e[o] : a[o] = e[o] === void 0 && s != null ? s[o] : e[o];
|
|
1003
|
-
return arguments.length > 2 && (a.children = arguments.length > 3 ?
|
|
1003
|
+
return arguments.length > 2 && (a.children = arguments.length > 3 ? Gr.call(arguments, 2) : r), Fr(t.type, a, n || t.key, i || t.ref, null);
|
|
1004
1004
|
}
|
|
1005
1005
|
function lo(t) {
|
|
1006
1006
|
function e(r) {
|
|
@@ -1025,7 +1025,7 @@ function lo(t) {
|
|
|
1025
1025
|
return r.children(n);
|
|
1026
1026
|
}).contextType = e, e;
|
|
1027
1027
|
}
|
|
1028
|
-
|
|
1028
|
+
Gr = da.slice, se = { __e: function(t, e, r, n) {
|
|
1029
1029
|
for (var i, o, s; e = e.__; ) if ((i = e.__c) && !i.__) try {
|
|
1030
1030
|
if ((o = i.constructor) && o.getDerivedStateFromError != null && (i.setState(o.getDerivedStateFromError(t)), s = i.__d), i.componentDidCatch != null && (i.componentDidCatch(t, n || {}), s = i.__d), s) return i.__E = i;
|
|
1031
1031
|
} catch (a) {
|
|
@@ -1063,13 +1063,13 @@ function ti(t, e, r) {
|
|
|
1063
1063
|
if (p.every(function(c) {
|
|
1064
1064
|
return !c.__N;
|
|
1065
1065
|
})) return !o || o.call(this, a, l, d);
|
|
1066
|
-
var
|
|
1066
|
+
var f = n.__c.props !== a;
|
|
1067
1067
|
return p.forEach(function(c) {
|
|
1068
1068
|
if (c.__N) {
|
|
1069
1069
|
var g = c.__[0];
|
|
1070
|
-
c.__ = c.__N, c.__N = void 0, g !== c.__[0] && (
|
|
1070
|
+
c.__ = c.__N, c.__N = void 0, g !== c.__[0] && (f = !0);
|
|
1071
1071
|
}
|
|
1072
|
-
}), o && o.call(this, a, l, d) ||
|
|
1072
|
+
}), o && o.call(this, a, l, d) || f;
|
|
1073
1073
|
};
|
|
1074
1074
|
be.__f = !0;
|
|
1075
1075
|
var o = be.shouldComponentUpdate, s = be.componentWillUpdate;
|
|
@@ -1092,7 +1092,7 @@ function Zt(t, e) {
|
|
|
1092
1092
|
!Te.__s && po(r.__H, e) && (r.__ = t, r.u = e, be.__h.push(r));
|
|
1093
1093
|
}
|
|
1094
1094
|
function it(t) {
|
|
1095
|
-
return Sr = 5,
|
|
1095
|
+
return Sr = 5, Zr(function() {
|
|
1096
1096
|
return { current: t };
|
|
1097
1097
|
}, []);
|
|
1098
1098
|
}
|
|
@@ -1109,16 +1109,16 @@ function co(t, e, r) {
|
|
|
1109
1109
|
};
|
|
1110
1110
|
}, r == null ? r : r.concat(t));
|
|
1111
1111
|
}
|
|
1112
|
-
function
|
|
1112
|
+
function Zr(t, e) {
|
|
1113
1113
|
var r = dr($t++, 7);
|
|
1114
1114
|
return po(r.__H, e) && (r.__ = t(), r.__H = e, r.__h = t), r.__;
|
|
1115
1115
|
}
|
|
1116
1116
|
function uo(t, e) {
|
|
1117
|
-
return Sr = 8,
|
|
1117
|
+
return Sr = 8, Zr(function() {
|
|
1118
1118
|
return t;
|
|
1119
1119
|
}, e);
|
|
1120
1120
|
}
|
|
1121
|
-
function
|
|
1121
|
+
function Yr(t) {
|
|
1122
1122
|
var e = be.context[t.__c], r = dr($t++, 9);
|
|
1123
1123
|
return r.c = t, e ? (r.__ == null && (r.__ = !0, e.sub(be)), e.props.value) : t.__;
|
|
1124
1124
|
}
|
|
@@ -1305,7 +1305,7 @@ function Oa(t, e, r) {
|
|
|
1305
1305
|
return Oa(n, e, r);
|
|
1306
1306
|
}), t.__c && t.__c.__P === e && (t.__e && r.appendChild(t.__e), t.__c.__e = !0, t.__c.__P = r)), t;
|
|
1307
1307
|
}
|
|
1308
|
-
function
|
|
1308
|
+
function Lr() {
|
|
1309
1309
|
this.__u = 0, this.o = null, this.__b = null;
|
|
1310
1310
|
}
|
|
1311
1311
|
function Ia(t) {
|
|
@@ -1331,7 +1331,7 @@ function wr() {
|
|
|
1331
1331
|
se.unmount = function(t) {
|
|
1332
1332
|
var e = t.__c;
|
|
1333
1333
|
e && e.__R && e.__R(), e && 32 & t.__u && (t.type = null), us && us(t);
|
|
1334
|
-
}, (
|
|
1334
|
+
}, (Lr.prototype = new ht()).__c = function(t, e) {
|
|
1335
1335
|
var r = e.__c, n = this;
|
|
1336
1336
|
n.o == null && (n.o = []), n.o.push(r);
|
|
1337
1337
|
var i = Ia(n.__v), o = !1, s = function() {
|
|
@@ -1349,9 +1349,9 @@ se.unmount = function(t) {
|
|
|
1349
1349
|
}
|
|
1350
1350
|
};
|
|
1351
1351
|
n.__u++ || 32 & e.__u || n.setState({ __a: n.__b = n.__v.__k[0] }), t.then(s, s);
|
|
1352
|
-
},
|
|
1352
|
+
}, Lr.prototype.componentWillUnmount = function() {
|
|
1353
1353
|
this.o = [];
|
|
1354
|
-
},
|
|
1354
|
+
}, Lr.prototype.render = function(t, e) {
|
|
1355
1355
|
if (this.__b) {
|
|
1356
1356
|
if (this.__v.__k) {
|
|
1357
1357
|
var r = document.createElement("div"), n = this.__v.__k[0].__c;
|
|
@@ -1474,21 +1474,21 @@ se.diffed = function(t) {
|
|
|
1474
1474
|
};
|
|
1475
1475
|
var Da = { ReactCurrentDispatcher: { current: { readContext: function(t) {
|
|
1476
1476
|
return yo.__n[t.__c].props.value;
|
|
1477
|
-
}, useCallback: uo, useContext:
|
|
1477
|
+
}, useCallback: uo, useContext: Yr, useDebugValue: fo, useDeferredValue: go, useEffect: nt, useId: ho, useImperativeHandle: co, useInsertionEffect: vo, useLayoutEffect: Zt, useMemo: Zr, useReducer: ti, useRef: it, useState: Me, useSyncExternalStore: _o, useTransition: wo } } }, Lc = "18.3.1";
|
|
1478
1478
|
function Ma(t) {
|
|
1479
1479
|
return wt.bind(null, t);
|
|
1480
1480
|
}
|
|
1481
|
-
function
|
|
1481
|
+
function Jr(t) {
|
|
1482
1482
|
return !!t && t.$$typeof === Ra;
|
|
1483
1483
|
}
|
|
1484
1484
|
function Pa(t) {
|
|
1485
|
-
return
|
|
1485
|
+
return Jr(t) && t.type === We;
|
|
1486
1486
|
}
|
|
1487
1487
|
function Fa(t) {
|
|
1488
1488
|
return !!t && !!t.displayName && (typeof t.displayName == "string" || t.displayName instanceof String) && t.displayName.startsWith("Memo(");
|
|
1489
1489
|
}
|
|
1490
1490
|
function La(t) {
|
|
1491
|
-
return
|
|
1491
|
+
return Jr(t) ? yc.apply(null, arguments) : t;
|
|
1492
1492
|
}
|
|
1493
1493
|
function Ua(t) {
|
|
1494
1494
|
return !!t.__k && (cr(null, t), !0);
|
|
@@ -1500,7 +1500,7 @@ var $a = function(t, e) {
|
|
|
1500
1500
|
return t(e);
|
|
1501
1501
|
}, Ba = function(t, e) {
|
|
1502
1502
|
return t(e);
|
|
1503
|
-
}, Ha = We, Wa =
|
|
1503
|
+
}, Ha = We, Wa = Jr, fe = { useState: Me, useId: ho, useReducer: ti, useEffect: nt, useLayoutEffect: Zt, useInsertionEffect: vo, useTransition: wo, useDeferredValue: go, useSyncExternalStore: _o, startTransition: mo, useRef: it, useImperativeHandle: co, useMemo: Zr, useCallback: uo, useContext: Yr, useDebugValue: fo, version: "18.3.1", Children: Ea, render: ka, hydrate: Na, unmountComponentAtNode: Ua, createPortal: Aa, createElement: wt, createContext: lo, createFactory: Ma, cloneElement: La, createRef: ua, Fragment: We, isValidElement: Jr, isElement: Wa, isFragment: Pa, isMemo: Fa, findDOMNode: Va, Component: ht, PureComponent: $n, memo: Ca, forwardRef: Sa, flushSync: Ba, unstable_batchedUpdates: $a, StrictMode: Ha, Suspense: Lr, SuspenseList: wr, lazy: xa, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Da };
|
|
1504
1504
|
const Uc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1505
1505
|
__proto__: null,
|
|
1506
1506
|
Children: Ea,
|
|
@@ -1508,7 +1508,7 @@ const Uc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1508
1508
|
Fragment: We,
|
|
1509
1509
|
PureComponent: $n,
|
|
1510
1510
|
StrictMode: Ha,
|
|
1511
|
-
Suspense:
|
|
1511
|
+
Suspense: Lr,
|
|
1512
1512
|
SuspenseList: wr,
|
|
1513
1513
|
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Da,
|
|
1514
1514
|
cloneElement: La,
|
|
@@ -1517,7 +1517,7 @@ const Uc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1517
1517
|
createFactory: Ma,
|
|
1518
1518
|
createPortal: Aa,
|
|
1519
1519
|
createRef: ua,
|
|
1520
|
-
default:
|
|
1520
|
+
default: fe,
|
|
1521
1521
|
findDOMNode: Va,
|
|
1522
1522
|
flushSync: Ba,
|
|
1523
1523
|
forwardRef: Sa,
|
|
@@ -1525,7 +1525,7 @@ const Uc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1525
1525
|
isElement: Wa,
|
|
1526
1526
|
isFragment: Pa,
|
|
1527
1527
|
isMemo: Fa,
|
|
1528
|
-
isValidElement:
|
|
1528
|
+
isValidElement: Jr,
|
|
1529
1529
|
lazy: xa,
|
|
1530
1530
|
memo: Ca,
|
|
1531
1531
|
render: ka,
|
|
@@ -1533,7 +1533,7 @@ const Uc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1533
1533
|
unmountComponentAtNode: Ua,
|
|
1534
1534
|
unstable_batchedUpdates: $a,
|
|
1535
1535
|
useCallback: uo,
|
|
1536
|
-
useContext:
|
|
1536
|
+
useContext: Yr,
|
|
1537
1537
|
useDebugValue: fo,
|
|
1538
1538
|
useDeferredValue: go,
|
|
1539
1539
|
useEffect: nt,
|
|
@@ -1542,7 +1542,7 @@ const Uc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1542
1542
|
useImperativeHandle: co,
|
|
1543
1543
|
useInsertionEffect: vo,
|
|
1544
1544
|
useLayoutEffect: Zt,
|
|
1545
|
-
useMemo:
|
|
1545
|
+
useMemo: Zr,
|
|
1546
1546
|
useReducer: ti,
|
|
1547
1547
|
useRef: it,
|
|
1548
1548
|
useState: Me,
|
|
@@ -1551,12 +1551,12 @@ const Uc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1551
1551
|
version: Lc
|
|
1552
1552
|
}, Symbol.toStringTag, { value: "Module" })), Vc = (t) => t;
|
|
1553
1553
|
function $c(t, e = Vc) {
|
|
1554
|
-
const r =
|
|
1554
|
+
const r = fe.useSyncExternalStore(
|
|
1555
1555
|
t.subscribe,
|
|
1556
1556
|
() => e(t.getState()),
|
|
1557
1557
|
() => e(t.getInitialState())
|
|
1558
1558
|
);
|
|
1559
|
-
return
|
|
1559
|
+
return fe.useDebugValue(r), r;
|
|
1560
1560
|
}
|
|
1561
1561
|
const gs = (t) => {
|
|
1562
1562
|
const e = pc(t), r = (n) => $c(e, n);
|
|
@@ -1588,11 +1588,11 @@ function Hc(t) {
|
|
|
1588
1588
|
}
|
|
1589
1589
|
var B = {};
|
|
1590
1590
|
const Wc = /* @__PURE__ */ Hc(Uc);
|
|
1591
|
-
var
|
|
1591
|
+
var kr = { exports: {} }, jc = kr.exports, ws;
|
|
1592
1592
|
function zc() {
|
|
1593
1593
|
return ws || (ws = 1, (function(t, e) {
|
|
1594
1594
|
(function(r, n) {
|
|
1595
|
-
var i = "1.0.41", o = "", s = "?", a = "function", l = "undefined", d = "object", p = "string",
|
|
1595
|
+
var i = "1.0.41", o = "", s = "?", a = "function", l = "undefined", d = "object", p = "string", f = "major", c = "model", g = "name", w = "type", h = "vendor", m = "version", S = "architecture", C = "console", b = "mobile", I = "tablet", k = "smarttv", N = "wearable", R = "embedded", ae = 500, _e = "Amazon", le = "Apple", Z = "ASUS", H = "BlackBerry", K = "Browser", ue = "Chrome", ce = "Edge", we = "Firefox", ve = "Google", ee = "Honor", z = "Huawei", L = "Lenovo", Y = "LG", te = "Microsoft", Se = "Motorola", re = "Nvidia", $ = "OnePlus", Q = "Opera", Be = "OPPO", je = "Samsung", ot = "Sharp", Xe = "Sony", yt = "Xiaomi", st = "Zebra", Ht = "Facebook", bt = "Chromium OS", pt = "Mac OS", Ct = " Browser", Wt = function(J, oe) {
|
|
1596
1596
|
var j = {};
|
|
1597
1597
|
for (var me in J)
|
|
1598
1598
|
oe[me] && oe[me].length % 2 === 0 ? j[me] = oe[me].concat(J[me]) : j[me] = J[me];
|
|
@@ -1609,7 +1609,7 @@ function zc() {
|
|
|
1609
1609
|
return typeof J === p ? J.replace(/[^\d\.]/g, o).split(".")[0] : n;
|
|
1610
1610
|
}, A = function(J, oe) {
|
|
1611
1611
|
if (typeof J === p)
|
|
1612
|
-
return J = J.replace(/^\s\s*/, o), typeof oe === l ? J : J.substring(0,
|
|
1612
|
+
return J = J.replace(/^\s\s*/, o), typeof oe === l ? J : J.substring(0, ae);
|
|
1613
1613
|
}, V = function(J, oe) {
|
|
1614
1614
|
for (var j = 0, me, He, xe, he, q, ze; j < oe.length && !q; ) {
|
|
1615
1615
|
var jt = oe[j], Jt = oe[j + 1];
|
|
@@ -1628,19 +1628,19 @@ function zc() {
|
|
|
1628
1628
|
} else if (tt(oe[j], J))
|
|
1629
1629
|
return j === s ? n : j;
|
|
1630
1630
|
return oe.hasOwnProperty("*") ? oe["*"] : J;
|
|
1631
|
-
}, P = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, W = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, ne = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [m, [g, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [m, [g, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [g, m], [/opios[\/ ]+([\w\.]+)/i], [m, [g, Q + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [m, [g, Q + " GX"]], [/\bopr\/([\w\.]+)/i], [m, [g, Q]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [m, [g, "Baidu"]], [/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i], [m, [g, "Maxthon"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i, /(heytap|ovi|115)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [g, m], [/quark(?:pc)?\/([-\w\.]+)/i], [m, [g, "Quark"]], [/\bddg\/([\w\.]+)/i], [m, [g, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [m, [g, "UC" + K]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [m, [g, "WeChat"]], [/konqueror\/([\w\.]+)/i], [m, [g, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [m, [g, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [m, [g, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [m, [g, "Smart Lenovo " + K]], [/(avast|avg)\/([\w\.]+)/i], [[g, /(.+)/, "$1 Secure " + K], m], [/\bfocus\/([\w\.]+)/i], [m, [g, we + " Focus"]], [/\bopt\/([\w\.]+)/i], [m, [g, Q + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [m, [g, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [m, [g, "Dolphin"]], [/coast\/([\w\.]+)/i], [m, [g, Q + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [m, [g, "MIUI" + Ct]], [/fxios\/([\w\.-]+)/i], [m, [g, we]], [/\bqihoobrowser\/?([\w\.]*)/i], [m, [g, "360"]], [/\b(qq)\/([\w\.]+)/i], [[g, /(.+)/, "$1Browser"], m], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[g, /(.+)/, "$1" + Ct], m], [/samsungbrowser\/([\w\.]+)/i], [m, [g, je + " Internet"]], [/metasr[\/ ]?([\d\.]+)/i], [m, [g, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[g, "Sogou Mobile"], m], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i], [g, m], [/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i], [g], [/ome\/([\w\.]+) \w* ?(iron) saf/i, /ome\/([\w\.]+).+qihu (360)[es]e/i], [m, g], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[g, Ht], m], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /(daum)apps[\/ ]([\w\.]+)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [g, m], [/\bgsa\/([\w\.]+) .*safari\//i], [m, [g, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [m, [g, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [m, [g, de + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[g, de + " WebView"], m], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [m, [g, "Android " + K]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [g, m], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [m, [g, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [m, g], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [g, [m, M, P]], [/(webkit|khtml)\/([\w\.]+)/i], [g, m], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[g, "Netscape"], m], [/(wolvic|librewolf)\/([\w\.]+)/i], [g, m], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [m, [g, we + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /\b(links) \(([\w\.]+)/i], [g, [m, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [g, [m, /master.|lts./, ""]]], cpu: [[/\b((amd|x|x86[-_]?|wow|win)64)\b/i], [[S, "amd64"]], [/(ia32(?=;))/i, /\b((i[346]|x)86)(pc)?\b/i], [[S, "ia32"]], [/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i], [[S, "arm64"]], [/\b(arm(v[67])?ht?n?[fl]p?)\b/i], [[S, "armhf"]], [/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i], [[S, "arm"]], [/((ppc|powerpc)(64)?)( mac|;|\))/i], [[S, /ower/, o, y]], [/ sun4\w[;\)]/i], [[S, "sparc"]], [/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i], [[S, y]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [c, [f, je], [w, I]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [c, [f, je], [w, b]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [c, [f, ae], [w, b]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [c, [f, ae], [w, I]], [/(macintosh);/i], [c, [f, ae]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [c, [f, ot], [w, b]], [/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i], [c, [f, ee], [w, I]], [/honor([-\w ]+)[;\)]/i], [c, [f, ee], [w, b]], [/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i], [c, [f, z], [w, I]], [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [c, [f, z], [w, b]], [/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i, /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i], [[c, /_/g, " "], [f, yt], [w, I]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i, / ([\w ]+) miui\/v?\d/i], [[c, /_/g, " "], [f, yt], [w, b]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [c, [f, Be], [w, b]], [/\b(opd2(\d{3}a?))(?: bui|\))/i], [c, [f, M, { OnePlus: ["304", "403", "203"], "*": Be }], [w, I]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [c, [f, "Vivo"], [w, b]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [c, [f, "Realme"], [w, b]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [c, [f, Se], [w, b]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [c, [f, Se], [w, I]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [c, [f, Y], [w, I]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i, /\blg-?([\d\w]+) bui/i], [c, [f, Y], [w, b]], [/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i, /lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i], [c, [f, L], [w, I]], [/(nokia) (t[12][01])/i], [f, c, [w, I]], [/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i, /nokia[-_ ]?(([-\w\. ]*))/i], [[c, /_/g, " "], [w, b], [f, "Nokia"]], [/(pixel (c|tablet))\b/i], [c, [f, ve], [w, I]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [c, [f, ve], [w, b]], [/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [c, [f, Xe], [w, b]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[c, "Xperia Tablet"], [f, Xe], [w, I]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [c, [f, $], [w, b]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [c, [f, _e], [w, I]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[c, /(.+)/g, "Fire Phone $1"], [f, _e], [w, b]], [/(playbook);[-\w\),; ]+(rim)/i], [c, f, [w, I]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [c, [f, H], [w, b]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [c, [f, Z], [w, I]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [c, [f, Z], [w, b]], [/(nexus 9)/i], [c, [f, "HTC"], [w, I]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [f, [c, /_/g, " "], [w, b]], [/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i], [c, [f, "TCL"], [w, I]], [/(itel) ((\w+))/i], [[f, y], c, [w, M, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [c, [f, "Acer"], [w, I]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [c, [f, "Meizu"], [w, b]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [c, [f, "Ulefone"], [w, b]], [/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i], [c, [f, "Energizer"], [w, b]], [/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i], [c, [f, "Cat"], [w, b]], [/((?:new )?andromax[\w- ]+)(?: bui|\))/i], [c, [f, "Smartfren"], [w, b]], [/droid.+; (a(?:015|06[35]|142p?))/i], [c, [f, "Nothing"], [w, b]], [/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i, /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i], [c, [f, "Archos"], [w, I]], [/archos ([\w ]+)( b|\))/i, /; (ac[3-6]\d\w{2,8})( b|\))/i], [c, [f, "Archos"], [w, b]], [/(imo) (tab \w+)/i, /(infinix) (x1101b?)/i], [f, c, [w, I]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i, /; (hmd|imo) ([\w ]+?)(?: bui|\))/i, /(hp) ([\w ]+\w)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i, /(oppo) ?([\w ]+) bui/i], [f, c, [w, b]], [/(kobo)\s(ereader|touch)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [f, c, [w, I]], [/(surface duo)/i], [c, [f, te], [w, I]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [c, [f, "Fairphone"], [w, b]], [/(u304aa)/i], [c, [f, "AT&T"], [w, b]], [/\bsie-(\w*)/i], [c, [f, "Siemens"], [w, b]], [/\b(rct\w+) b/i], [c, [f, "RCA"], [w, I]], [/\b(venue[\d ]{2,7}) b/i], [c, [f, "Dell"], [w, I]], [/\b(q(?:mv|ta)\w+) b/i], [c, [f, "Verizon"], [w, I]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [c, [f, "Barnes & Noble"], [w, I]], [/\b(tm\d{3}\w+) b/i], [c, [f, "NuVision"], [w, I]], [/\b(k88) b/i], [c, [f, "ZTE"], [w, I]], [/\b(nx\d{3}j) b/i], [c, [f, "ZTE"], [w, b]], [/\b(gen\d{3}) b.+49h/i], [c, [f, "Swiss"], [w, b]], [/\b(zur\d{3}) b/i], [c, [f, "Swiss"], [w, I]], [/\b((zeki)?tb.*\b) b/i], [c, [f, "Zeki"], [w, I]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[f, "Dragon Touch"], c, [w, I]], [/\b(ns-?\w{0,9}) b/i], [c, [f, "Insignia"], [w, I]], [/\b((nxa|next)-?\w{0,9}) b/i], [c, [f, "NextBook"], [w, I]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[f, "Voice"], c, [w, b]], [/\b(lvtel\-)?(v1[12]) b/i], [[f, "LvTel"], c, [w, b]], [/\b(ph-1) /i], [c, [f, "Essential"], [w, b]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [c, [f, "Envizen"], [w, I]], [/\b(trio[-\w\. ]+) b/i], [c, [f, "MachSpeed"], [w, I]], [/\btu_(1491) b/i], [c, [f, "Rotor"], [w, I]], [/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i], [c, [f, re], [w, I]], [/(sprint) (\w+)/i], [f, c, [w, b]], [/(kin\.[onetw]{3})/i], [[c, /\./g, " "], [f, te], [w, b]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [c, [f, st], [w, I]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [c, [f, st], [w, b]], [/smart-tv.+(samsung)/i], [f, [w, D]], [/hbbtv.+maple;(\d+)/i], [[c, /^/, "SmartTV"], [f, je], [w, D]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[f, Y], [w, D]], [/(apple) ?tv/i], [f, [c, ae + " TV"], [w, D]], [/crkey/i], [[c, de + "cast"], [f, ve], [w, D]], [/droid.+aft(\w+)( bui|\))/i], [c, [f, _e], [w, D]], [/(shield \w+ tv)/i], [c, [f, re], [w, D]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [c, [f, ot], [w, D]], [/(bravia[\w ]+)( bui|\))/i], [c, [f, Xe], [w, D]], [/(mi(tv|box)-?\w+) bui/i], [c, [f, yt], [w, D]], [/Hbbtv.*(technisat) (.*);/i], [f, c, [w, D]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[f, A], [c, A], [w, D]], [/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i], [c, [w, D]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[w, D]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [f, c, [w, C]], [/droid.+; (shield)( bui|\))/i], [c, [f, re], [w, C]], [/(playstation \w+)/i], [c, [f, Xe], [w, C]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [c, [f, te], [w, C]], [/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i], [c, [f, je], [w, N]], [/((pebble))app/i, /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i], [f, c, [w, N]], [/(ow(?:19|20)?we?[1-3]{1,3})/i], [c, [f, Be], [w, N]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [c, [f, ae], [w, N]], [/(opwwe\d{3})/i], [c, [f, $], [w, N]], [/(moto 360)/i], [c, [f, Se], [w, N]], [/(smartwatch 3)/i], [c, [f, Xe], [w, N]], [/(g watch r)/i], [c, [f, Y], [w, N]], [/droid.+; (wt63?0{2,3})\)/i], [c, [f, st], [w, N]], [/droid.+; (glass) \d/i], [c, [f, ve], [w, N]], [/(pico) (4|neo3(?: link|pro)?)/i], [f, c, [w, N]], [/; (quest( \d| pro)?)/i], [c, [f, Ht], [w, N]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [f, [w, R]], [/(aeobc)\b/i], [c, [f, _e], [w, R]], [/(homepod).+mac os/i], [c, [f, ae], [w, R]], [/windows iot/i], [[w, R]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [c, [w, b]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [c, [w, I]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[w, I]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[w, b]], [/droid .+?; ([\w\. -]+)( bui|\))/i], [c, [f, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [m, [g, le + "HTML"]], [/(arkweb)\/([\w\.]+)/i], [g, m], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [m, [g, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [g, m], [/ladybird\//i], [[g, "LibWeb"]], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [m, g]], os: [[/microsoft (windows) (vista|xp)/i], [g, m], [/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i], [g, [m, M, W]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[m, M, W], [g, "Windows"]], [/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[m, /_/g, "."], [g, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[g, pt], [m, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [m, g], [/(ubuntu) ([\w\.]+) like android/i], [[g, /(.+)/, "$1 Touch"], m], [/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i], [g, m], [/\(bb(10);/i], [m, [g, H]], [/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i], [m, [g, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [m, [g, we + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [m, [g, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [m, [g, "watchOS"]], [/crkey\/([\d\.]+)/i], [m, [g, de + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[g, bt], m], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [g, m], [/(sunos) ?([\w\.\d]*)/i], [[g, "Solaris"], m], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [g, m]] }, G = function(J, oe) {
|
|
1631
|
+
}, P = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, W = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, ne = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [m, [g, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [m, [g, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [g, m], [/opios[\/ ]+([\w\.]+)/i], [m, [g, Q + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [m, [g, Q + " GX"]], [/\bopr\/([\w\.]+)/i], [m, [g, Q]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [m, [g, "Baidu"]], [/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i], [m, [g, "Maxthon"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i, /(heytap|ovi|115)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [g, m], [/quark(?:pc)?\/([-\w\.]+)/i], [m, [g, "Quark"]], [/\bddg\/([\w\.]+)/i], [m, [g, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [m, [g, "UC" + K]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [m, [g, "WeChat"]], [/konqueror\/([\w\.]+)/i], [m, [g, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [m, [g, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [m, [g, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [m, [g, "Smart Lenovo " + K]], [/(avast|avg)\/([\w\.]+)/i], [[g, /(.+)/, "$1 Secure " + K], m], [/\bfocus\/([\w\.]+)/i], [m, [g, we + " Focus"]], [/\bopt\/([\w\.]+)/i], [m, [g, Q + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [m, [g, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [m, [g, "Dolphin"]], [/coast\/([\w\.]+)/i], [m, [g, Q + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [m, [g, "MIUI" + Ct]], [/fxios\/([\w\.-]+)/i], [m, [g, we]], [/\bqihoobrowser\/?([\w\.]*)/i], [m, [g, "360"]], [/\b(qq)\/([\w\.]+)/i], [[g, /(.+)/, "$1Browser"], m], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[g, /(.+)/, "$1" + Ct], m], [/samsungbrowser\/([\w\.]+)/i], [m, [g, je + " Internet"]], [/metasr[\/ ]?([\d\.]+)/i], [m, [g, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[g, "Sogou Mobile"], m], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i], [g, m], [/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i], [g], [/ome\/([\w\.]+) \w* ?(iron) saf/i, /ome\/([\w\.]+).+qihu (360)[es]e/i], [m, g], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[g, Ht], m], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /(daum)apps[\/ ]([\w\.]+)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [g, m], [/\bgsa\/([\w\.]+) .*safari\//i], [m, [g, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [m, [g, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [m, [g, ue + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[g, ue + " WebView"], m], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [m, [g, "Android " + K]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [g, m], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [m, [g, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [m, g], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [g, [m, M, P]], [/(webkit|khtml)\/([\w\.]+)/i], [g, m], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[g, "Netscape"], m], [/(wolvic|librewolf)\/([\w\.]+)/i], [g, m], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [m, [g, we + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /\b(links) \(([\w\.]+)/i], [g, [m, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [g, [m, /master.|lts./, ""]]], cpu: [[/\b((amd|x|x86[-_]?|wow|win)64)\b/i], [[S, "amd64"]], [/(ia32(?=;))/i, /\b((i[346]|x)86)(pc)?\b/i], [[S, "ia32"]], [/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i], [[S, "arm64"]], [/\b(arm(v[67])?ht?n?[fl]p?)\b/i], [[S, "armhf"]], [/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i], [[S, "arm"]], [/((ppc|powerpc)(64)?)( mac|;|\))/i], [[S, /ower/, o, y]], [/ sun4\w[;\)]/i], [[S, "sparc"]], [/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i], [[S, y]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [c, [h, je], [w, I]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [c, [h, je], [w, b]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [c, [h, le], [w, b]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [c, [h, le], [w, I]], [/(macintosh);/i], [c, [h, le]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [c, [h, ot], [w, b]], [/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i], [c, [h, ee], [w, I]], [/honor([-\w ]+)[;\)]/i], [c, [h, ee], [w, b]], [/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i], [c, [h, z], [w, I]], [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [c, [h, z], [w, b]], [/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i, /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i], [[c, /_/g, " "], [h, yt], [w, I]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i, / ([\w ]+) miui\/v?\d/i], [[c, /_/g, " "], [h, yt], [w, b]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [c, [h, Be], [w, b]], [/\b(opd2(\d{3}a?))(?: bui|\))/i], [c, [h, M, { OnePlus: ["304", "403", "203"], "*": Be }], [w, I]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [c, [h, "Vivo"], [w, b]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [c, [h, "Realme"], [w, b]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [c, [h, Se], [w, b]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [c, [h, Se], [w, I]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [c, [h, Y], [w, I]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i, /\blg-?([\d\w]+) bui/i], [c, [h, Y], [w, b]], [/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i, /lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i], [c, [h, L], [w, I]], [/(nokia) (t[12][01])/i], [h, c, [w, I]], [/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i, /nokia[-_ ]?(([-\w\. ]*))/i], [[c, /_/g, " "], [w, b], [h, "Nokia"]], [/(pixel (c|tablet))\b/i], [c, [h, ve], [w, I]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [c, [h, ve], [w, b]], [/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [c, [h, Xe], [w, b]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[c, "Xperia Tablet"], [h, Xe], [w, I]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [c, [h, $], [w, b]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [c, [h, _e], [w, I]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[c, /(.+)/g, "Fire Phone $1"], [h, _e], [w, b]], [/(playbook);[-\w\),; ]+(rim)/i], [c, h, [w, I]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [c, [h, H], [w, b]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [c, [h, Z], [w, I]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [c, [h, Z], [w, b]], [/(nexus 9)/i], [c, [h, "HTC"], [w, I]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [h, [c, /_/g, " "], [w, b]], [/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i], [c, [h, "TCL"], [w, I]], [/(itel) ((\w+))/i], [[h, y], c, [w, M, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [c, [h, "Acer"], [w, I]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [c, [h, "Meizu"], [w, b]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [c, [h, "Ulefone"], [w, b]], [/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i], [c, [h, "Energizer"], [w, b]], [/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i], [c, [h, "Cat"], [w, b]], [/((?:new )?andromax[\w- ]+)(?: bui|\))/i], [c, [h, "Smartfren"], [w, b]], [/droid.+; (a(?:015|06[35]|142p?))/i], [c, [h, "Nothing"], [w, b]], [/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i, /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i], [c, [h, "Archos"], [w, I]], [/archos ([\w ]+)( b|\))/i, /; (ac[3-6]\d\w{2,8})( b|\))/i], [c, [h, "Archos"], [w, b]], [/(imo) (tab \w+)/i, /(infinix) (x1101b?)/i], [h, c, [w, I]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i, /; (hmd|imo) ([\w ]+?)(?: bui|\))/i, /(hp) ([\w ]+\w)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i, /(oppo) ?([\w ]+) bui/i], [h, c, [w, b]], [/(kobo)\s(ereader|touch)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [h, c, [w, I]], [/(surface duo)/i], [c, [h, te], [w, I]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [c, [h, "Fairphone"], [w, b]], [/(u304aa)/i], [c, [h, "AT&T"], [w, b]], [/\bsie-(\w*)/i], [c, [h, "Siemens"], [w, b]], [/\b(rct\w+) b/i], [c, [h, "RCA"], [w, I]], [/\b(venue[\d ]{2,7}) b/i], [c, [h, "Dell"], [w, I]], [/\b(q(?:mv|ta)\w+) b/i], [c, [h, "Verizon"], [w, I]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [c, [h, "Barnes & Noble"], [w, I]], [/\b(tm\d{3}\w+) b/i], [c, [h, "NuVision"], [w, I]], [/\b(k88) b/i], [c, [h, "ZTE"], [w, I]], [/\b(nx\d{3}j) b/i], [c, [h, "ZTE"], [w, b]], [/\b(gen\d{3}) b.+49h/i], [c, [h, "Swiss"], [w, b]], [/\b(zur\d{3}) b/i], [c, [h, "Swiss"], [w, I]], [/\b((zeki)?tb.*\b) b/i], [c, [h, "Zeki"], [w, I]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[h, "Dragon Touch"], c, [w, I]], [/\b(ns-?\w{0,9}) b/i], [c, [h, "Insignia"], [w, I]], [/\b((nxa|next)-?\w{0,9}) b/i], [c, [h, "NextBook"], [w, I]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[h, "Voice"], c, [w, b]], [/\b(lvtel\-)?(v1[12]) b/i], [[h, "LvTel"], c, [w, b]], [/\b(ph-1) /i], [c, [h, "Essential"], [w, b]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [c, [h, "Envizen"], [w, I]], [/\b(trio[-\w\. ]+) b/i], [c, [h, "MachSpeed"], [w, I]], [/\btu_(1491) b/i], [c, [h, "Rotor"], [w, I]], [/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i], [c, [h, re], [w, I]], [/(sprint) (\w+)/i], [h, c, [w, b]], [/(kin\.[onetw]{3})/i], [[c, /\./g, " "], [h, te], [w, b]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [c, [h, st], [w, I]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [c, [h, st], [w, b]], [/smart-tv.+(samsung)/i], [h, [w, k]], [/hbbtv.+maple;(\d+)/i], [[c, /^/, "SmartTV"], [h, je], [w, k]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[h, Y], [w, k]], [/(apple) ?tv/i], [h, [c, le + " TV"], [w, k]], [/crkey/i], [[c, ue + "cast"], [h, ve], [w, k]], [/droid.+aft(\w+)( bui|\))/i], [c, [h, _e], [w, k]], [/(shield \w+ tv)/i], [c, [h, re], [w, k]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [c, [h, ot], [w, k]], [/(bravia[\w ]+)( bui|\))/i], [c, [h, Xe], [w, k]], [/(mi(tv|box)-?\w+) bui/i], [c, [h, yt], [w, k]], [/Hbbtv.*(technisat) (.*);/i], [h, c, [w, k]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[h, A], [c, A], [w, k]], [/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i], [c, [w, k]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[w, k]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [h, c, [w, C]], [/droid.+; (shield)( bui|\))/i], [c, [h, re], [w, C]], [/(playstation \w+)/i], [c, [h, Xe], [w, C]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [c, [h, te], [w, C]], [/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i], [c, [h, je], [w, N]], [/((pebble))app/i, /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i], [h, c, [w, N]], [/(ow(?:19|20)?we?[1-3]{1,3})/i], [c, [h, Be], [w, N]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [c, [h, le], [w, N]], [/(opwwe\d{3})/i], [c, [h, $], [w, N]], [/(moto 360)/i], [c, [h, Se], [w, N]], [/(smartwatch 3)/i], [c, [h, Xe], [w, N]], [/(g watch r)/i], [c, [h, Y], [w, N]], [/droid.+; (wt63?0{2,3})\)/i], [c, [h, st], [w, N]], [/droid.+; (glass) \d/i], [c, [h, ve], [w, N]], [/(pico) (4|neo3(?: link|pro)?)/i], [h, c, [w, N]], [/; (quest( \d| pro)?)/i], [c, [h, Ht], [w, N]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [h, [w, R]], [/(aeobc)\b/i], [c, [h, _e], [w, R]], [/(homepod).+mac os/i], [c, [h, le], [w, R]], [/windows iot/i], [[w, R]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [c, [w, b]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [c, [w, I]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[w, I]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[w, b]], [/droid .+?; ([\w\. -]+)( bui|\))/i], [c, [h, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [m, [g, ce + "HTML"]], [/(arkweb)\/([\w\.]+)/i], [g, m], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [m, [g, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [g, m], [/ladybird\//i], [[g, "LibWeb"]], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [m, g]], os: [[/microsoft (windows) (vista|xp)/i], [g, m], [/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i], [g, [m, M, W]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[m, M, W], [g, "Windows"]], [/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[m, /_/g, "."], [g, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[g, pt], [m, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [m, g], [/(ubuntu) ([\w\.]+) like android/i], [[g, /(.+)/, "$1 Touch"], m], [/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i], [g, m], [/\(bb(10);/i], [m, [g, H]], [/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i], [m, [g, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [m, [g, we + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [m, [g, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [m, [g, "watchOS"]], [/crkey\/([\d\.]+)/i], [m, [g, ue + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[g, bt], m], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux)(?: arm\w*| x86\w*| ?)([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [g, m], [/(sunos) ?([\w\.\d]*)/i], [[g, "Solaris"], m], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [g, m]] }, G = function(J, oe) {
|
|
1632
1632
|
if (typeof J === d && (oe = J, J = n), !(this instanceof G))
|
|
1633
1633
|
return new G(J, oe).getResult();
|
|
1634
1634
|
var j = typeof r !== l && r.navigator ? r.navigator : n, me = J || (j && j.userAgent ? j.userAgent : o), He = j && j.userAgentData ? j.userAgentData : n, xe = oe ? Wt(ne, oe) : ne, he = j && j.userAgent == me;
|
|
1635
1635
|
return this.getBrowser = function() {
|
|
1636
1636
|
var q = {};
|
|
1637
|
-
return q[g] = n, q[m] = n, V.call(q, me, xe.browser), q[
|
|
1637
|
+
return q[g] = n, q[m] = n, V.call(q, me, xe.browser), q[f] = T(q[m]), he && j && j.brave && typeof j.brave.isBrave == a && (q[g] = "Brave"), q;
|
|
1638
1638
|
}, this.getCPU = function() {
|
|
1639
1639
|
var q = {};
|
|
1640
1640
|
return q[S] = n, V.call(q, me, xe.cpu), q;
|
|
1641
1641
|
}, this.getDevice = function() {
|
|
1642
1642
|
var q = {};
|
|
1643
|
-
return q[
|
|
1643
|
+
return q[h] = n, q[c] = n, q[w] = n, V.call(q, me, xe.device), he && !q[w] && He && He.mobile && (q[w] = b), he && q[c] == "Macintosh" && j && typeof j.standalone !== l && j.maxTouchPoints && j.maxTouchPoints > 2 && (q[c] = "iPad", q[w] = I), q;
|
|
1644
1644
|
}, this.getEngine = function() {
|
|
1645
1645
|
var q = {};
|
|
1646
1646
|
return q[g] = n, q[m] = n, V.call(q, me, xe.engine), q;
|
|
@@ -1652,10 +1652,10 @@ function zc() {
|
|
|
1652
1652
|
}, this.getUA = function() {
|
|
1653
1653
|
return me;
|
|
1654
1654
|
}, this.setUA = function(q) {
|
|
1655
|
-
return me = typeof q === p && q.length >
|
|
1655
|
+
return me = typeof q === p && q.length > ae ? A(q, ae) : q, this;
|
|
1656
1656
|
}, this.setUA(me), this;
|
|
1657
1657
|
};
|
|
1658
|
-
G.VERSION = i, G.BROWSER = _t([g, m,
|
|
1658
|
+
G.VERSION = i, G.BROWSER = _t([g, m, f]), G.CPU = _t([S]), G.DEVICE = _t([c, h, w, C, b, k, I, N, R]), G.ENGINE = G.OS = _t([g, m]), t.exports && (e = t.exports = G), e.UAParser = G;
|
|
1659
1659
|
var ge = typeof r !== l && (r.jQuery || r.Zepto);
|
|
1660
1660
|
if (ge && !ge.ua) {
|
|
1661
1661
|
var Pe = new G();
|
|
@@ -1669,7 +1669,7 @@ function zc() {
|
|
|
1669
1669
|
};
|
|
1670
1670
|
}
|
|
1671
1671
|
})(typeof window == "object" ? window : jc);
|
|
1672
|
-
})(
|
|
1672
|
+
})(kr, kr.exports)), kr.exports;
|
|
1673
1673
|
}
|
|
1674
1674
|
var vs;
|
|
1675
1675
|
function Kc() {
|
|
@@ -1678,7 +1678,7 @@ function Kc() {
|
|
|
1678
1678
|
function t(E) {
|
|
1679
1679
|
return E && typeof E == "object" && "default" in E ? E.default : E;
|
|
1680
1680
|
}
|
|
1681
|
-
var e = Wc, r = t(e), n = zc(), i = new n(), o = i.getBrowser(), s = i.getCPU(), a = i.getDevice(), l = i.getEngine(), d = i.getOS(), p = i.getUA(),
|
|
1681
|
+
var e = Wc, r = t(e), n = zc(), i = new n(), o = i.getBrowser(), s = i.getCPU(), a = i.getDevice(), l = i.getEngine(), d = i.getOS(), p = i.getUA(), f = function(_) {
|
|
1682
1682
|
return i.setUA(_);
|
|
1683
1683
|
}, c = function(_) {
|
|
1684
1684
|
if (!_) {
|
|
@@ -1694,8 +1694,8 @@ function Kc() {
|
|
|
1694
1694
|
engine: v.getEngine(),
|
|
1695
1695
|
os: v.getOS(),
|
|
1696
1696
|
ua: v.getUA(),
|
|
1697
|
-
setUserAgent: function(
|
|
1698
|
-
return v.setUA(
|
|
1697
|
+
setUserAgent: function(D) {
|
|
1698
|
+
return v.setUA(D);
|
|
1699
1699
|
}
|
|
1700
1700
|
};
|
|
1701
1701
|
}, g = /* @__PURE__ */ Object.freeze({
|
|
@@ -1706,20 +1706,20 @@ function Kc() {
|
|
|
1706
1706
|
engine: l,
|
|
1707
1707
|
os: d,
|
|
1708
1708
|
ua: p,
|
|
1709
|
-
setUa:
|
|
1709
|
+
setUa: f,
|
|
1710
1710
|
parseUserAgent: c
|
|
1711
1711
|
});
|
|
1712
1712
|
function w(E, _) {
|
|
1713
1713
|
var v = Object.keys(E);
|
|
1714
1714
|
if (Object.getOwnPropertySymbols) {
|
|
1715
1715
|
var x = Object.getOwnPropertySymbols(E);
|
|
1716
|
-
_ && (x = x.filter(function(
|
|
1717
|
-
return Object.getOwnPropertyDescriptor(E,
|
|
1716
|
+
_ && (x = x.filter(function(D) {
|
|
1717
|
+
return Object.getOwnPropertyDescriptor(E, D).enumerable;
|
|
1718
1718
|
})), v.push.apply(v, x);
|
|
1719
1719
|
}
|
|
1720
1720
|
return v;
|
|
1721
1721
|
}
|
|
1722
|
-
function
|
|
1722
|
+
function h(E) {
|
|
1723
1723
|
for (var _ = 1; _ < arguments.length; _++) {
|
|
1724
1724
|
var v = arguments[_] != null ? arguments[_] : {};
|
|
1725
1725
|
_ % 2 ? w(Object(v), !0).forEach(function(x) {
|
|
@@ -1759,15 +1759,15 @@ function Kc() {
|
|
|
1759
1759
|
writable: !0
|
|
1760
1760
|
}) : E[_] = v, E;
|
|
1761
1761
|
}
|
|
1762
|
-
function
|
|
1763
|
-
return
|
|
1762
|
+
function k() {
|
|
1763
|
+
return k = Object.assign || function(E) {
|
|
1764
1764
|
for (var _ = 1; _ < arguments.length; _++) {
|
|
1765
1765
|
var v = arguments[_];
|
|
1766
1766
|
for (var x in v)
|
|
1767
1767
|
Object.prototype.hasOwnProperty.call(v, x) && (E[x] = v[x]);
|
|
1768
1768
|
}
|
|
1769
1769
|
return E;
|
|
1770
|
-
},
|
|
1770
|
+
}, k.apply(this, arguments);
|
|
1771
1771
|
}
|
|
1772
1772
|
function N(E, _) {
|
|
1773
1773
|
if (typeof _ != "function" && _ !== null)
|
|
@@ -1778,32 +1778,32 @@ function Kc() {
|
|
|
1778
1778
|
writable: !0,
|
|
1779
1779
|
configurable: !0
|
|
1780
1780
|
}
|
|
1781
|
-
}), _ &&
|
|
1781
|
+
}), _ && ae(E, _);
|
|
1782
1782
|
}
|
|
1783
1783
|
function R(E) {
|
|
1784
1784
|
return R = Object.setPrototypeOf ? Object.getPrototypeOf : function(v) {
|
|
1785
1785
|
return v.__proto__ || Object.getPrototypeOf(v);
|
|
1786
1786
|
}, R(E);
|
|
1787
1787
|
}
|
|
1788
|
-
function
|
|
1789
|
-
return
|
|
1790
|
-
return x.__proto__ =
|
|
1791
|
-
},
|
|
1788
|
+
function ae(E, _) {
|
|
1789
|
+
return ae = Object.setPrototypeOf || function(x, D) {
|
|
1790
|
+
return x.__proto__ = D, x;
|
|
1791
|
+
}, ae(E, _);
|
|
1792
1792
|
}
|
|
1793
1793
|
function _e(E, _) {
|
|
1794
1794
|
if (E == null) return {};
|
|
1795
|
-
var v = {}, x = Object.keys(E),
|
|
1795
|
+
var v = {}, x = Object.keys(E), D, pe;
|
|
1796
1796
|
for (pe = 0; pe < x.length; pe++)
|
|
1797
|
-
|
|
1797
|
+
D = x[pe], !(_.indexOf(D) >= 0) && (v[D] = E[D]);
|
|
1798
1798
|
return v;
|
|
1799
1799
|
}
|
|
1800
|
-
function
|
|
1800
|
+
function le(E, _) {
|
|
1801
1801
|
if (E == null) return {};
|
|
1802
|
-
var v = _e(E, _), x,
|
|
1802
|
+
var v = _e(E, _), x, D;
|
|
1803
1803
|
if (Object.getOwnPropertySymbols) {
|
|
1804
1804
|
var pe = Object.getOwnPropertySymbols(E);
|
|
1805
|
-
for (
|
|
1806
|
-
x = pe[
|
|
1805
|
+
for (D = 0; D < pe.length; D++)
|
|
1806
|
+
x = pe[D], !(_.indexOf(x) >= 0) && Object.prototype.propertyIsEnumerable.call(E, x) && (v[x] = E[x]);
|
|
1807
1807
|
}
|
|
1808
1808
|
return v;
|
|
1809
1809
|
}
|
|
@@ -1820,23 +1820,23 @@ function Kc() {
|
|
|
1820
1820
|
return Z(E);
|
|
1821
1821
|
}
|
|
1822
1822
|
function K(E, _) {
|
|
1823
|
-
return
|
|
1823
|
+
return ue(E) || ce(E, _) || we(E, _) || ee();
|
|
1824
1824
|
}
|
|
1825
|
-
function
|
|
1825
|
+
function ue(E) {
|
|
1826
1826
|
if (Array.isArray(E)) return E;
|
|
1827
1827
|
}
|
|
1828
|
-
function
|
|
1828
|
+
function ce(E, _) {
|
|
1829
1829
|
var v = E == null ? null : typeof Symbol != "undefined" && E[Symbol.iterator] || E["@@iterator"];
|
|
1830
1830
|
if (v != null) {
|
|
1831
|
-
var x = [],
|
|
1831
|
+
var x = [], D = !0, pe = !1, Ae, Ze;
|
|
1832
1832
|
try {
|
|
1833
|
-
for (v = v.call(E); !(
|
|
1833
|
+
for (v = v.call(E); !(D = (Ae = v.next()).done) && (x.push(Ae.value), !(_ && x.length === _)); D = !0)
|
|
1834
1834
|
;
|
|
1835
|
-
} catch (
|
|
1836
|
-
pe = !0, Ze =
|
|
1835
|
+
} catch (In) {
|
|
1836
|
+
pe = !0, Ze = In;
|
|
1837
1837
|
} finally {
|
|
1838
1838
|
try {
|
|
1839
|
-
!
|
|
1839
|
+
!D && v.return != null && v.return();
|
|
1840
1840
|
} finally {
|
|
1841
1841
|
if (pe) throw Ze;
|
|
1842
1842
|
}
|
|
@@ -1930,7 +1930,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1930
1930
|
return te;
|
|
1931
1931
|
}
|
|
1932
1932
|
}, re = function(_) {
|
|
1933
|
-
return
|
|
1933
|
+
return f(_);
|
|
1934
1934
|
}, $ = function(_) {
|
|
1935
1935
|
var v = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "none";
|
|
1936
1936
|
return _ || v;
|
|
@@ -1939,7 +1939,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1939
1939
|
}, Be = function(_) {
|
|
1940
1940
|
var v = Q();
|
|
1941
1941
|
return v && v.platform && (v.platform.indexOf(_) !== -1 || v.platform === "MacIntel" && v.maxTouchPoints > 1 && !window.MSStream);
|
|
1942
|
-
}, je = function(_, v, x,
|
|
1942
|
+
}, je = function(_, v, x, D, pe) {
|
|
1943
1943
|
return {
|
|
1944
1944
|
isBrowser: _,
|
|
1945
1945
|
browserMajorVersion: $(v.major),
|
|
@@ -1947,71 +1947,71 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1947
1947
|
browserName: $(v.name),
|
|
1948
1948
|
engineName: $(x.name),
|
|
1949
1949
|
engineVersion: $(x.version),
|
|
1950
|
-
osName: $(
|
|
1951
|
-
osVersion: $(
|
|
1950
|
+
osName: $(D.name),
|
|
1951
|
+
osVersion: $(D.version),
|
|
1952
1952
|
userAgent: $(pe)
|
|
1953
1953
|
};
|
|
1954
|
-
}, ot = function(_, v, x,
|
|
1955
|
-
return
|
|
1954
|
+
}, ot = function(_, v, x, D) {
|
|
1955
|
+
return h({}, _, {
|
|
1956
1956
|
vendor: $(v.vendor),
|
|
1957
1957
|
model: $(v.model),
|
|
1958
1958
|
os: $(x.name),
|
|
1959
1959
|
osVersion: $(x.version),
|
|
1960
|
-
ua: $(
|
|
1960
|
+
ua: $(D)
|
|
1961
1961
|
});
|
|
1962
|
-
}, Xe = function(_, v, x,
|
|
1962
|
+
}, Xe = function(_, v, x, D) {
|
|
1963
1963
|
return {
|
|
1964
1964
|
isSmartTV: _,
|
|
1965
1965
|
engineName: $(v.name),
|
|
1966
1966
|
engineVersion: $(v.version),
|
|
1967
1967
|
osName: $(x.name),
|
|
1968
1968
|
osVersion: $(x.version),
|
|
1969
|
-
userAgent: $(
|
|
1969
|
+
userAgent: $(D)
|
|
1970
1970
|
};
|
|
1971
|
-
}, yt = function(_, v, x,
|
|
1971
|
+
}, yt = function(_, v, x, D) {
|
|
1972
1972
|
return {
|
|
1973
1973
|
isConsole: _,
|
|
1974
1974
|
engineName: $(v.name),
|
|
1975
1975
|
engineVersion: $(v.version),
|
|
1976
1976
|
osName: $(x.name),
|
|
1977
1977
|
osVersion: $(x.version),
|
|
1978
|
-
userAgent: $(
|
|
1978
|
+
userAgent: $(D)
|
|
1979
1979
|
};
|
|
1980
|
-
}, st = function(_, v, x,
|
|
1980
|
+
}, st = function(_, v, x, D) {
|
|
1981
1981
|
return {
|
|
1982
1982
|
isWearable: _,
|
|
1983
1983
|
engineName: $(v.name),
|
|
1984
1984
|
engineVersion: $(v.version),
|
|
1985
1985
|
osName: $(x.name),
|
|
1986
1986
|
osVersion: $(x.version),
|
|
1987
|
-
userAgent: $(
|
|
1987
|
+
userAgent: $(D)
|
|
1988
1988
|
};
|
|
1989
|
-
}, Ht = function(_, v, x,
|
|
1989
|
+
}, Ht = function(_, v, x, D, pe) {
|
|
1990
1990
|
return {
|
|
1991
1991
|
isEmbedded: _,
|
|
1992
1992
|
vendor: $(v.vendor),
|
|
1993
1993
|
model: $(v.model),
|
|
1994
1994
|
engineName: $(x.name),
|
|
1995
1995
|
engineVersion: $(x.version),
|
|
1996
|
-
osName: $(
|
|
1997
|
-
osVersion: $(
|
|
1996
|
+
osName: $(D.name),
|
|
1997
|
+
osVersion: $(D.version),
|
|
1998
1998
|
userAgent: $(pe)
|
|
1999
1999
|
};
|
|
2000
2000
|
};
|
|
2001
2001
|
function bt(E) {
|
|
2002
|
-
var _ = E ? c(E) : g, v = _.device, x = _.browser,
|
|
2003
|
-
if (
|
|
2004
|
-
return je(
|
|
2002
|
+
var _ = E ? c(E) : g, v = _.device, x = _.browser, D = _.engine, pe = _.os, Ae = _.ua, Ze = Se(v.type), In = Ze.isBrowser, Nl = Ze.isMobile, Dl = Ze.isTablet, Mo = Ze.isSmartTV, Po = Ze.isConsole, Fo = Ze.isWearable, Lo = Ze.isEmbedded;
|
|
2003
|
+
if (In)
|
|
2004
|
+
return je(In, x, D, pe, Ae);
|
|
2005
2005
|
if (Mo)
|
|
2006
|
-
return Xe(Mo,
|
|
2006
|
+
return Xe(Mo, D, pe, Ae);
|
|
2007
2007
|
if (Po)
|
|
2008
|
-
return yt(Po,
|
|
2008
|
+
return yt(Po, D, pe, Ae);
|
|
2009
2009
|
if (Nl || Dl)
|
|
2010
2010
|
return ot(Ze, v, pe, Ae);
|
|
2011
2011
|
if (Fo)
|
|
2012
|
-
return st(Fo,
|
|
2012
|
+
return st(Fo, D, pe, Ae);
|
|
2013
2013
|
if (Lo)
|
|
2014
|
-
return Ht(Lo, v,
|
|
2014
|
+
return Ht(Lo, v, D, pe, Ae);
|
|
2015
2015
|
}
|
|
2016
2016
|
var pt = function(_) {
|
|
2017
2017
|
var v = _.type;
|
|
@@ -2094,46 +2094,46 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2094
2094
|
}, Jt = function(_) {
|
|
2095
2095
|
var v = _.name;
|
|
2096
2096
|
return v === L.InternetExplorer || v === L.Ie;
|
|
2097
|
-
},
|
|
2097
|
+
}, en = function(_) {
|
|
2098
2098
|
var v = _.name;
|
|
2099
2099
|
return v === L.MIUI;
|
|
2100
|
-
},
|
|
2100
|
+
}, tn = function(_) {
|
|
2101
2101
|
var v = _.name;
|
|
2102
2102
|
return v === L.SamsungBrowser;
|
|
2103
|
-
}, tn = function(_) {
|
|
2104
|
-
var v = _.version;
|
|
2105
|
-
return $(v);
|
|
2106
2103
|
}, rn = function(_) {
|
|
2107
|
-
var v = _.
|
|
2104
|
+
var v = _.version;
|
|
2108
2105
|
return $(v);
|
|
2109
2106
|
}, nn = function(_) {
|
|
2110
|
-
var v = _.
|
|
2107
|
+
var v = _.major;
|
|
2111
2108
|
return $(v);
|
|
2112
2109
|
}, on = function(_) {
|
|
2113
2110
|
var v = _.name;
|
|
2114
2111
|
return $(v);
|
|
2115
2112
|
}, sn = function(_) {
|
|
2113
|
+
var v = _.name;
|
|
2114
|
+
return $(v);
|
|
2115
|
+
}, an = function(_) {
|
|
2116
2116
|
var v = _.version;
|
|
2117
2117
|
return $(v);
|
|
2118
|
-
},
|
|
2118
|
+
}, ln = function() {
|
|
2119
2119
|
var _ = Q(), v = _ && _.userAgent && _.userAgent.toLowerCase();
|
|
2120
2120
|
return typeof v == "string" ? /electron/.test(v) : !1;
|
|
2121
2121
|
}, zt = function(_) {
|
|
2122
2122
|
return typeof _ == "string" && _.indexOf("Edg/") !== -1;
|
|
2123
|
-
},
|
|
2123
|
+
}, cn = function() {
|
|
2124
2124
|
var _ = Q();
|
|
2125
2125
|
return _ && (/iPad|iPhone|iPod/.test(_.platform) || _.platform === "MacIntel" && _.maxTouchPoints > 1) && !window.MSStream;
|
|
2126
2126
|
}, rt = function() {
|
|
2127
2127
|
return Be("iPad");
|
|
2128
|
-
}, cn = function() {
|
|
2129
|
-
return Be("iPhone");
|
|
2130
2128
|
}, dn = function() {
|
|
2129
|
+
return Be("iPhone");
|
|
2130
|
+
}, un = function() {
|
|
2131
2131
|
return Be("iPod");
|
|
2132
|
-
},
|
|
2132
|
+
}, fn = function(_) {
|
|
2133
2133
|
return $(_);
|
|
2134
2134
|
};
|
|
2135
|
-
function
|
|
2136
|
-
var _ = E || g, v = _.device, x = _.browser,
|
|
2135
|
+
function hn(E) {
|
|
2136
|
+
var _ = E || g, v = _.device, x = _.browser, D = _.os, pe = _.engine, Ae = _.ua;
|
|
2137
2137
|
return {
|
|
2138
2138
|
isSmartTV: _t(v),
|
|
2139
2139
|
isConsole: T(v),
|
|
@@ -2146,112 +2146,112 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2146
2146
|
isTablet: Ct(v) || rt(),
|
|
2147
2147
|
isBrowser: tt(v),
|
|
2148
2148
|
isDesktop: tt(v),
|
|
2149
|
-
isAndroid: W(
|
|
2150
|
-
isWinPhone: ge(
|
|
2151
|
-
isIOS: Pe(
|
|
2149
|
+
isAndroid: W(D),
|
|
2150
|
+
isWinPhone: ge(D),
|
|
2151
|
+
isIOS: Pe(D) || rt(),
|
|
2152
2152
|
isChrome: j(x),
|
|
2153
2153
|
isFirefox: me(x),
|
|
2154
2154
|
isSafari: q(x),
|
|
2155
2155
|
isOpera: jt(x),
|
|
2156
2156
|
isIE: Jt(x),
|
|
2157
|
-
osVersion: J(
|
|
2158
|
-
osName: oe(
|
|
2159
|
-
fullBrowserVersion:
|
|
2160
|
-
browserVersion:
|
|
2161
|
-
browserName:
|
|
2157
|
+
osVersion: J(D),
|
|
2158
|
+
osName: oe(D),
|
|
2159
|
+
fullBrowserVersion: rn(x),
|
|
2160
|
+
browserVersion: nn(x),
|
|
2161
|
+
browserName: on(x),
|
|
2162
2162
|
mobileVendor: V(v),
|
|
2163
2163
|
mobileModel: M(v),
|
|
2164
|
-
engineName:
|
|
2165
|
-
engineVersion:
|
|
2166
|
-
getUA:
|
|
2164
|
+
engineName: sn(pe),
|
|
2165
|
+
engineVersion: an(pe),
|
|
2166
|
+
getUA: fn(Ae),
|
|
2167
2167
|
isEdge: xe(x) || zt(Ae),
|
|
2168
2168
|
isYandex: he(x),
|
|
2169
2169
|
deviceType: P(v),
|
|
2170
|
-
isIOS13:
|
|
2170
|
+
isIOS13: cn(),
|
|
2171
2171
|
isIPad13: rt(),
|
|
2172
|
-
isIPhone13:
|
|
2173
|
-
isIPod13:
|
|
2174
|
-
isElectron:
|
|
2172
|
+
isIPhone13: dn(),
|
|
2173
|
+
isIPod13: un(),
|
|
2174
|
+
isElectron: ln(),
|
|
2175
2175
|
isEdgeChromium: zt(Ae),
|
|
2176
2176
|
isLegacyEdge: xe(x) && !zt(Ae),
|
|
2177
|
-
isWindows: ne(
|
|
2178
|
-
isMacOs: G(
|
|
2179
|
-
isMIUI:
|
|
2180
|
-
isSamsungBrowser:
|
|
2177
|
+
isWindows: ne(D),
|
|
2178
|
+
isMacOs: G(D),
|
|
2179
|
+
isMIUI: en(x),
|
|
2180
|
+
isSamsungBrowser: tn(x)
|
|
2181
2181
|
};
|
|
2182
2182
|
}
|
|
2183
|
-
var
|
|
2183
|
+
var pn = _t(a), _n = T(a), mn = y(a), ii = A(a), oi = ze(o) || rt(), si = He(o), fr = Wt(a) || rt(), gn = pt(a), wn = Ct(a) || rt(), vn = tt(a), ai = tt(a), yn = W(d), bn = ge(d), Cn = Pe(d) || rt(), li = j(o), ci = me(o), di = q(o), ui = jt(o), Sn = Jt(o), fi = J(d), hi = oe(d), pi = rn(o), _i = nn(o), mi = on(o), gi = V(a), wi = M(a), vi = sn(l), yi = an(l), bi = fn(p), mt = xe(o) || zt(p), Ci = he(o), ie = P(a), at = cn(), hr = rt(), En = dn(), Tn = un(), On = ln(), dl = zt(p), ul = xe(o) && !zt(p), fl = ne(d), hl = G(d), pl = en(o), _l = tn(o), ml = function(_) {
|
|
2184
2184
|
if (!_ || typeof _ != "string") {
|
|
2185
2185
|
console.error("No valid user agent string was provided");
|
|
2186
2186
|
return;
|
|
2187
2187
|
}
|
|
2188
|
-
var v = c(_), x = v.device,
|
|
2189
|
-
return
|
|
2188
|
+
var v = c(_), x = v.device, D = v.browser, pe = v.os, Ae = v.engine, Ze = v.ua;
|
|
2189
|
+
return hn({
|
|
2190
2190
|
device: x,
|
|
2191
|
-
browser:
|
|
2191
|
+
browser: D,
|
|
2192
2192
|
os: pe,
|
|
2193
2193
|
engine: Ae,
|
|
2194
2194
|
ua: Ze
|
|
2195
2195
|
});
|
|
2196
2196
|
}, gl = function(_) {
|
|
2197
|
-
var v = _.renderWithFragment, x = _.children,
|
|
2198
|
-
return
|
|
2197
|
+
var v = _.renderWithFragment, x = _.children, D = le(_, ["renderWithFragment", "children"]);
|
|
2198
|
+
return yn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", D, x) : null;
|
|
2199
2199
|
}, wl = function(_) {
|
|
2200
|
-
var v = _.renderWithFragment, x = _.children,
|
|
2201
|
-
return
|
|
2200
|
+
var v = _.renderWithFragment, x = _.children, D = le(_, ["renderWithFragment", "children"]);
|
|
2201
|
+
return vn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", D, x) : null;
|
|
2202
2202
|
}, vl = function(_) {
|
|
2203
|
-
var v = _.renderWithFragment, x = _.children,
|
|
2204
|
-
return
|
|
2203
|
+
var v = _.renderWithFragment, x = _.children, D = le(_, ["renderWithFragment", "children"]);
|
|
2204
|
+
return Sn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", D, x) : null;
|
|
2205
2205
|
}, yl = function(_) {
|
|
2206
|
-
var v = _.renderWithFragment, x = _.children,
|
|
2207
|
-
return
|
|
2206
|
+
var v = _.renderWithFragment, x = _.children, D = le(_, ["renderWithFragment", "children"]);
|
|
2207
|
+
return Cn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", D, x) : null;
|
|
2208
2208
|
}, bl = function(_) {
|
|
2209
|
-
var v = _.renderWithFragment, x = _.children,
|
|
2210
|
-
return fr ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div",
|
|
2209
|
+
var v = _.renderWithFragment, x = _.children, D = le(_, ["renderWithFragment", "children"]);
|
|
2210
|
+
return fr ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", D, x) : null;
|
|
2211
2211
|
}, Cl = function(_) {
|
|
2212
|
-
var v = _.renderWithFragment, x = _.children,
|
|
2213
|
-
return
|
|
2212
|
+
var v = _.renderWithFragment, x = _.children, D = le(_, ["renderWithFragment", "children"]);
|
|
2213
|
+
return wn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", D, x) : null;
|
|
2214
2214
|
}, Sl = function(_) {
|
|
2215
|
-
var v = _.renderWithFragment, x = _.children,
|
|
2216
|
-
return
|
|
2215
|
+
var v = _.renderWithFragment, x = _.children, D = le(_, ["renderWithFragment", "children"]);
|
|
2216
|
+
return bn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", D, x) : null;
|
|
2217
2217
|
}, El = function(_) {
|
|
2218
2218
|
var v = _.renderWithFragment, x = _.children;
|
|
2219
2219
|
_.viewClassName, _.style;
|
|
2220
|
-
var
|
|
2221
|
-
return
|
|
2220
|
+
var D = le(_, ["renderWithFragment", "children", "viewClassName", "style"]);
|
|
2221
|
+
return gn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", D, x) : null;
|
|
2222
2222
|
}, Tl = function(_) {
|
|
2223
|
-
var v = _.renderWithFragment, x = _.children,
|
|
2224
|
-
return
|
|
2223
|
+
var v = _.renderWithFragment, x = _.children, D = le(_, ["renderWithFragment", "children"]);
|
|
2224
|
+
return pn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", D, x) : null;
|
|
2225
2225
|
}, Ol = function(_) {
|
|
2226
|
-
var v = _.renderWithFragment, x = _.children,
|
|
2227
|
-
return
|
|
2226
|
+
var v = _.renderWithFragment, x = _.children, D = le(_, ["renderWithFragment", "children"]);
|
|
2227
|
+
return _n ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", D, x) : null;
|
|
2228
2228
|
}, Il = function(_) {
|
|
2229
|
-
var v = _.renderWithFragment, x = _.children,
|
|
2230
|
-
return
|
|
2229
|
+
var v = _.renderWithFragment, x = _.children, D = le(_, ["renderWithFragment", "children"]);
|
|
2230
|
+
return mn ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", D, x) : null;
|
|
2231
2231
|
}, xl = function(_) {
|
|
2232
2232
|
var v = _.renderWithFragment, x = _.children;
|
|
2233
2233
|
_.viewClassName, _.style;
|
|
2234
|
-
var
|
|
2235
|
-
return
|
|
2234
|
+
var D = _.condition, pe = le(_, ["renderWithFragment", "children", "viewClassName", "style", "condition"]);
|
|
2235
|
+
return D ? v ? r.createElement(e.Fragment, null, x) : r.createElement("div", pe, x) : null;
|
|
2236
2236
|
};
|
|
2237
2237
|
function Al(E) {
|
|
2238
2238
|
return /* @__PURE__ */ (function(_) {
|
|
2239
2239
|
N(v, _);
|
|
2240
2240
|
function v(x) {
|
|
2241
|
-
var
|
|
2242
|
-
return S(this, v),
|
|
2241
|
+
var D;
|
|
2242
|
+
return S(this, v), D = H(this, R(v).call(this, x)), D.isEventListenerAdded = !1, D.handleOrientationChange = D.handleOrientationChange.bind(Z(D)), D.onOrientationChange = D.onOrientationChange.bind(Z(D)), D.onPageLoad = D.onPageLoad.bind(Z(D)), D.state = {
|
|
2243
2243
|
isLandscape: !1,
|
|
2244
2244
|
isPortrait: !1
|
|
2245
|
-
},
|
|
2245
|
+
}, D;
|
|
2246
2246
|
}
|
|
2247
2247
|
return b(v, [{
|
|
2248
2248
|
key: "handleOrientationChange",
|
|
2249
2249
|
value: function() {
|
|
2250
2250
|
this.isEventListenerAdded || (this.isEventListenerAdded = !0);
|
|
2251
|
-
var
|
|
2251
|
+
var D = window.innerWidth > window.innerHeight ? 90 : 0;
|
|
2252
2252
|
this.setState({
|
|
2253
|
-
isPortrait:
|
|
2254
|
-
isLandscape:
|
|
2253
|
+
isPortrait: D === 0,
|
|
2254
|
+
isLandscape: D === 90
|
|
2255
2255
|
});
|
|
2256
2256
|
}
|
|
2257
2257
|
}, {
|
|
@@ -2277,7 +2277,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2277
2277
|
}, {
|
|
2278
2278
|
key: "render",
|
|
2279
2279
|
value: function() {
|
|
2280
|
-
return r.createElement(E,
|
|
2280
|
+
return r.createElement(E, k({}, this.props, {
|
|
2281
2281
|
isLandscape: this.state.isLandscape,
|
|
2282
2282
|
isPortrait: this.state.isPortrait
|
|
2283
2283
|
}));
|
|
@@ -2293,7 +2293,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2293
2293
|
isLandscape: pe === 90,
|
|
2294
2294
|
orientation: pe === 0 ? "portrait" : "landscape"
|
|
2295
2295
|
};
|
|
2296
|
-
}), _ = K(E, 2), v = _[0], x = _[1],
|
|
2296
|
+
}), _ = K(E, 2), v = _[0], x = _[1], D = e.useCallback(function() {
|
|
2297
2297
|
var pe = window.innerWidth > window.innerHeight ? 90 : 0, Ae = {
|
|
2298
2298
|
isPortrait: pe === 0,
|
|
2299
2299
|
isLandscape: pe === 90,
|
|
@@ -2302,20 +2302,20 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2302
2302
|
v.orientation !== Ae.orientation && x(Ae);
|
|
2303
2303
|
}, [v.orientation]);
|
|
2304
2304
|
return e.useEffect(function() {
|
|
2305
|
-
return (typeof window == "undefined" ? "undefined" : m(window)) !== void 0 && fr && (
|
|
2306
|
-
window.removeEventListener("resize",
|
|
2305
|
+
return (typeof window == "undefined" ? "undefined" : m(window)) !== void 0 && fr && (D(), window.addEventListener("load", D, !1), window.addEventListener("resize", D, !1)), function() {
|
|
2306
|
+
window.removeEventListener("resize", D, !1), window.removeEventListener("load", D, !1);
|
|
2307
2307
|
};
|
|
2308
|
-
}, [
|
|
2308
|
+
}, [D]), v;
|
|
2309
2309
|
}
|
|
2310
2310
|
function Do(E) {
|
|
2311
2311
|
var _ = E || window.navigator.userAgent;
|
|
2312
2312
|
return c(_);
|
|
2313
2313
|
}
|
|
2314
2314
|
function kl(E) {
|
|
2315
|
-
var _ = E || window.navigator.userAgent, v = Do(_), x =
|
|
2315
|
+
var _ = E || window.navigator.userAgent, v = Do(_), x = hn(v);
|
|
2316
2316
|
return [x, v];
|
|
2317
2317
|
}
|
|
2318
|
-
return B.AndroidView = gl, B.BrowserTypes = L, B.BrowserView = wl, B.ConsoleView = Ol, B.CustomView = xl, B.IEView = vl, B.IOSView = yl, B.MobileOnlyView = El, B.MobileView = bl, B.OsTypes = Y, B.SmartTVView = Tl, B.TabletView = Cl, B.WearableView = Il, B.WinPhoneView = Sl, B.browserName = mi, B.browserVersion = _i, B.deviceDetect = bt, B.deviceType = ie, B.engineName = vi, B.engineVersion = yi, B.fullBrowserVersion = pi, B.getSelectorsByUserAgent = ml, B.getUA = bi, B.isAndroid =
|
|
2318
|
+
return B.AndroidView = gl, B.BrowserTypes = L, B.BrowserView = wl, B.ConsoleView = Ol, B.CustomView = xl, B.IEView = vl, B.IOSView = yl, B.MobileOnlyView = El, B.MobileView = bl, B.OsTypes = Y, B.SmartTVView = Tl, B.TabletView = Cl, B.WearableView = Il, B.WinPhoneView = Sl, B.browserName = mi, B.browserVersion = _i, B.deviceDetect = bt, B.deviceType = ie, B.engineName = vi, B.engineVersion = yi, B.fullBrowserVersion = pi, B.getSelectorsByUserAgent = ml, B.getUA = bi, B.isAndroid = yn, B.isBrowser = vn, B.isChrome = li, B.isChromium = si, B.isConsole = _n, B.isDesktop = ai, B.isEdge = mt, B.isEdgeChromium = dl, B.isElectron = On, B.isEmbedded = ii, B.isFirefox = ci, B.isIE = Sn, B.isIOS = Cn, B.isIOS13 = at, B.isIPad13 = hr, B.isIPhone13 = En, B.isIPod13 = Tn, B.isLegacyEdge = ul, B.isMIUI = pl, B.isMacOs = hl, B.isMobile = fr, B.isMobileOnly = gn, B.isMobileSafari = oi, B.isOpera = ui, B.isSafari = di, B.isSamsungBrowser = _l, B.isSmartTV = pn, B.isTablet = wn, B.isWearable = mn, B.isWinPhone = bn, B.isWindows = fl, B.isYandex = Ci, B.mobileModel = wi, B.mobileVendor = gi, B.osName = hi, B.osVersion = fi, B.parseUserAgent = c, B.setUserAgent = re, B.useDeviceData = Do, B.useDeviceSelectors = kl, B.useMobileOrientation = Rl, B.withOrientationChange = Al, B;
|
|
2319
2319
|
}
|
|
2320
2320
|
var Je = Kc();
|
|
2321
2321
|
const Gc = (t, e) => bo(t, e), bo = (t, e) => {
|
|
@@ -2582,7 +2582,7 @@ const Ss = () => {
|
|
|
2582
2582
|
osVersion: `${Je.osVersion}`,
|
|
2583
2583
|
hostAppId: Ss(),
|
|
2584
2584
|
host: Ss(),
|
|
2585
|
-
sdkVersion: "3.2.
|
|
2585
|
+
sdkVersion: "3.2.262-nightly".trim(),
|
|
2586
2586
|
name: navigator.userAgent,
|
|
2587
2587
|
deviceModel: `${Je.osName}/${Je.osVersion} ${Je.browserName}/${Je.fullBrowserVersion}`,
|
|
2588
2588
|
hostAppVersion: `${Je.browserName}/${Je.fullBrowserVersion}`,
|
|
@@ -2901,7 +2901,7 @@ const Nt = class Nt extends Ce {
|
|
|
2901
2901
|
}
|
|
2902
2902
|
};
|
|
2903
2903
|
Nt.MODULE = vt, Nt.ERROR_ENUM_NAME = "ConnectionError", Nt.SHORT_CODE = "CO";
|
|
2904
|
-
let
|
|
2904
|
+
let Ur = Nt;
|
|
2905
2905
|
const Dt = class Dt extends Ce {
|
|
2906
2906
|
constructor({
|
|
2907
2907
|
errorCode: e,
|
|
@@ -2924,7 +2924,7 @@ const Dt = class Dt extends Ce {
|
|
|
2924
2924
|
}
|
|
2925
2925
|
};
|
|
2926
2926
|
Dt.MODULE = vt, Dt.ERROR_ENUM_NAME = "SessionError", Dt.SHORT_CODE = "SE";
|
|
2927
|
-
let
|
|
2927
|
+
let Vr = Dt;
|
|
2928
2928
|
const Mt = class Mt extends Ce {
|
|
2929
2929
|
constructor({
|
|
2930
2930
|
errorCode: e,
|
|
@@ -3043,12 +3043,12 @@ function u(t, e, r, n, i, o) {
|
|
|
3043
3043
|
return se.vnode && se.vnode(d), d;
|
|
3044
3044
|
}
|
|
3045
3045
|
const So = lo(void 0), Ts = ({ perform: t, children: e, setIsProcessingCallback: r }) => /* @__PURE__ */ u(So.Provider, { value: { perform: t, setIsProcessingCallback: r }, children: e }), ur = () => {
|
|
3046
|
-
const t =
|
|
3046
|
+
const t = Yr(So);
|
|
3047
3047
|
if (!t)
|
|
3048
3048
|
throw new Error("usePerform must be used within a PerformProvider");
|
|
3049
3049
|
return { perform: t.perform };
|
|
3050
3050
|
}, yd = () => {
|
|
3051
|
-
const t =
|
|
3051
|
+
const t = Yr(So);
|
|
3052
3052
|
if (!t)
|
|
3053
3053
|
throw new Error("useSetIsProcessingCallback must be used within a Context Provider");
|
|
3054
3054
|
return { setIsProcessingCallback: t.setIsProcessingCallback };
|
|
@@ -3074,7 +3074,7 @@ const So = lo(void 0), Ts = ({ perform: t, children: e, setIsProcessingCallback:
|
|
|
3074
3074
|
LEFT: "LEFT",
|
|
3075
3075
|
CENTER: "CENTER",
|
|
3076
3076
|
RIGHT: "RIGHT"
|
|
3077
|
-
},
|
|
3077
|
+
}, Rn = {
|
|
3078
3078
|
ASPECT_FILL: "ASPECT_FILL",
|
|
3079
3079
|
ASPECT_FIT: "ASPECT_FIT",
|
|
3080
3080
|
FILL: "FILL"
|
|
@@ -3085,12 +3085,12 @@ const So = lo(void 0), Ts = ({ perform: t, children: e, setIsProcessingCallback:
|
|
|
3085
3085
|
SELECTOR_BUTTONS: "selector_buttons",
|
|
3086
3086
|
SELECTOR_DROPDOWN: "selector_dropdown",
|
|
3087
3087
|
MULTI_SELECTOR_DROPDOWN: "multi_selector_dropdown"
|
|
3088
|
-
},
|
|
3088
|
+
}, kn = {
|
|
3089
3089
|
FREE_TEXT: "FREE_TEXT",
|
|
3090
3090
|
EMAIL: "EMAIL",
|
|
3091
3091
|
NUMBER: "NUMBER",
|
|
3092
3092
|
SECURE: "SECURE"
|
|
3093
|
-
},
|
|
3093
|
+
}, Xr = "#005fcc", Kn = "idv-gui", Gn = {
|
|
3094
3094
|
DECODING_FAILED: "DECODING_FAILED"
|
|
3095
3095
|
}, Pi = {
|
|
3096
3096
|
text: "text",
|
|
@@ -3116,7 +3116,7 @@ function Cd(t) {
|
|
|
3116
3116
|
})).filter((e) => !!e.value);
|
|
3117
3117
|
}
|
|
3118
3118
|
const Sd = (t) => Array.isArray(t) ? t.length === 0 : t === 0 ? !1 : !t;
|
|
3119
|
-
function
|
|
3119
|
+
function de(t) {
|
|
3120
3120
|
return t && /^#(?:[0-9a-fA-F]{3}){1,2}$/.test(t) ? t : void 0;
|
|
3121
3121
|
}
|
|
3122
3122
|
const Ed = (t, e) => t.reduce((r, n) => {
|
|
@@ -3154,14 +3154,14 @@ const Ed = (t, e) => t.reduce((r, n) => {
|
|
|
3154
3154
|
return (t == null ? void 0 : t.name) === "NotAllowedError" ? "denied" : "error";
|
|
3155
3155
|
}
|
|
3156
3156
|
}), Od = () => String.fromCharCode(Math.floor(Math.random() * 26) + 97) + Number(Math.random()).toString(16).slice(2) + Date.now().toString(16).slice(4), Ka = (t) => (t == null ? void 0 : t.some((r) => r.type === "FORM")) ? Zi.FORM : Zi.DATA, Ga = ({ indicatorColor: t }) => {
|
|
3157
|
-
const e = it(null), r =
|
|
3157
|
+
const e = it(null), r = de(t) || "#000000", n = 60, i = 5, o = 0.75, s = (n - i) / 2, a = 2 * Math.PI * s, l = 1 - o, d = 360 / 1e3;
|
|
3158
3158
|
return nt(() => {
|
|
3159
3159
|
if (!e.current) return;
|
|
3160
|
-
let p = !0,
|
|
3160
|
+
let p = !0, f = 0, c = performance.now();
|
|
3161
3161
|
function g(w) {
|
|
3162
3162
|
if (!p) return;
|
|
3163
|
-
const
|
|
3164
|
-
c = w,
|
|
3163
|
+
const h = w - c;
|
|
3164
|
+
c = w, f = (f + d * h) % 360, e.current && (e.current.style.transform = `rotate(${f}deg)`), requestAnimationFrame(g);
|
|
3165
3165
|
}
|
|
3166
3166
|
return requestAnimationFrame(g), () => {
|
|
3167
3167
|
p = !1;
|
|
@@ -3645,14 +3645,14 @@ const $d = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
|
|
|
3645
3645
|
imageId: t,
|
|
3646
3646
|
imageURL: e,
|
|
3647
3647
|
base64: r,
|
|
3648
|
-
contentMode: n =
|
|
3648
|
+
contentMode: n = Rn.ASPECT_FILL,
|
|
3649
3649
|
cornerRadius: i,
|
|
3650
3650
|
backgroundColor: o
|
|
3651
3651
|
}) => {
|
|
3652
|
-
const s = (
|
|
3653
|
-
if (
|
|
3654
|
-
if (
|
|
3655
|
-
if (
|
|
3652
|
+
const s = (f) => {
|
|
3653
|
+
if (f === Rn.ASPECT_FILL) return "cover";
|
|
3654
|
+
if (f === Rn.ASPECT_FIT) return "contain";
|
|
3655
|
+
if (f === Rn.FILL) return "fill";
|
|
3656
3656
|
}, [a, l] = Me(!0), d = a && e, p = () => {
|
|
3657
3657
|
l(!1);
|
|
3658
3658
|
};
|
|
@@ -3665,15 +3665,15 @@ const $d = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
|
|
|
3665
3665
|
height: "100%",
|
|
3666
3666
|
objectFit: s(n),
|
|
3667
3667
|
borderRadius: i,
|
|
3668
|
-
backgroundColor:
|
|
3668
|
+
backgroundColor: de(o) || "transparent",
|
|
3669
3669
|
display: d ? "none" : "block"
|
|
3670
3670
|
},
|
|
3671
3671
|
src: r
|
|
3672
3672
|
}
|
|
3673
3673
|
);
|
|
3674
3674
|
if (t) {
|
|
3675
|
-
const
|
|
3676
|
-
return /* @__PURE__ */ u(Yd, { type:
|
|
3675
|
+
const f = t in Yi ? t : "default";
|
|
3676
|
+
return /* @__PURE__ */ u(Yd, { type: f });
|
|
3677
3677
|
}
|
|
3678
3678
|
if (e)
|
|
3679
3679
|
return /* @__PURE__ */ u(We, { children: [
|
|
@@ -3751,7 +3751,7 @@ const $d = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
|
|
|
3751
3751
|
},
|
|
3752
3752
|
className: "hover-button",
|
|
3753
3753
|
style: X(O(O({}, Xd), o && { borderRadius: o }), {
|
|
3754
|
-
backgroundColor: (c =
|
|
3754
|
+
backgroundColor: (c = de(d)) != null ? c : "transparent"
|
|
3755
3755
|
}),
|
|
3756
3756
|
onMouseEnter: () => l(!0),
|
|
3757
3757
|
onMouseLeave: () => l(!1),
|
|
@@ -3824,9 +3824,9 @@ const Oe = ({
|
|
|
3824
3824
|
const l = {
|
|
3825
3825
|
fontFamily: [e, "-apple-system", "BlinkMacSystemFont", "sans-serif"].filter(Boolean).join(", "),
|
|
3826
3826
|
fontSize: r,
|
|
3827
|
-
color:
|
|
3827
|
+
color: de(n) || "#000000",
|
|
3828
3828
|
textAlign: ja(i),
|
|
3829
|
-
backgroundColor:
|
|
3829
|
+
backgroundColor: de(o) || "transparent",
|
|
3830
3830
|
borderRadius: s
|
|
3831
3831
|
}, d = typeof t == "string" && t.trim() && qa(t);
|
|
3832
3832
|
return a ? /* @__PURE__ */ u("label", { "data-ui": "gui-label", part: "gui-label", style: l, htmlFor: a, children: d }) : /* @__PURE__ */ u("div", { "data-ui": "gui-label", part: "gui-label", style: l, children: d });
|
|
@@ -3844,7 +3844,7 @@ const Oe = ({
|
|
|
3844
3844
|
onClick: p
|
|
3845
3845
|
}) => {
|
|
3846
3846
|
var S, C;
|
|
3847
|
-
const [
|
|
3847
|
+
const [f, c] = Me(!1), g = f && de(o) ? o : n, { perform: w } = ur(), h = (b) => {
|
|
3848
3848
|
if (p && p(b), d !== "RESPONSE_BODY") return;
|
|
3849
3849
|
const I = JSON.parse(JSON.stringify(r));
|
|
3850
3850
|
Eo(I), w(I, Zi.DATA);
|
|
@@ -3863,12 +3863,12 @@ const Oe = ({
|
|
|
3863
3863
|
gap: 5,
|
|
3864
3864
|
borderRadius: i || 0,
|
|
3865
3865
|
borderStyle: a && l ? "solid" : void 0,
|
|
3866
|
-
backgroundColor: (S =
|
|
3867
|
-
borderColor: (C =
|
|
3866
|
+
backgroundColor: (S = de(g)) != null ? S : "transparent",
|
|
3867
|
+
borderColor: (C = de(a)) != null ? C : "none",
|
|
3868
3868
|
borderWidth: l != null ? l : 0,
|
|
3869
3869
|
overflow: "hidden",
|
|
3870
3870
|
transition: ".3s",
|
|
3871
|
-
outlineColor:
|
|
3871
|
+
outlineColor: Xr
|
|
3872
3872
|
};
|
|
3873
3873
|
return /* @__PURE__ */ u(
|
|
3874
3874
|
"button",
|
|
@@ -3877,7 +3877,7 @@ const Oe = ({
|
|
|
3877
3877
|
part: "gui-button",
|
|
3878
3878
|
type: d === "FORM" ? "submit" : "button",
|
|
3879
3879
|
"data-test": s,
|
|
3880
|
-
onClick:
|
|
3880
|
+
onClick: h,
|
|
3881
3881
|
style: m,
|
|
3882
3882
|
onMouseEnter: () => c(!0),
|
|
3883
3883
|
onMouseLeave: () => c(!1),
|
|
@@ -3935,7 +3935,7 @@ const Oe = ({
|
|
|
3935
3935
|
paddingRight: "20px",
|
|
3936
3936
|
height: "100%",
|
|
3937
3937
|
width: "100%",
|
|
3938
|
-
backgroundColor:
|
|
3938
|
+
backgroundColor: de(n)
|
|
3939
3939
|
};
|
|
3940
3940
|
return /* @__PURE__ */ u(
|
|
3941
3941
|
"div",
|
|
@@ -3993,9 +3993,9 @@ const Oe = ({
|
|
|
3993
3993
|
fontFamily: [e, "-apple-system", "BlinkMacSystemFont", "sans-serif"].filter(Boolean).join(", "),
|
|
3994
3994
|
fontSize: i,
|
|
3995
3995
|
textAlign: ja(n),
|
|
3996
|
-
color:
|
|
3996
|
+
color: de(r) || "#000000",
|
|
3997
3997
|
borderRadius: s,
|
|
3998
|
-
backgroundColor:
|
|
3998
|
+
backgroundColor: de(o) || "transparent",
|
|
3999
3999
|
whiteSpace: "pre-line"
|
|
4000
4000
|
},
|
|
4001
4001
|
children: t && qa(t)
|
|
@@ -4117,7 +4117,7 @@ const Oe = ({
|
|
|
4117
4117
|
height: "100%",
|
|
4118
4118
|
width: "100%"
|
|
4119
4119
|
},
|
|
4120
|
-
children: /* @__PURE__ */ u(au, { indicatorColor:
|
|
4120
|
+
children: /* @__PURE__ */ u(au, { indicatorColor: de(t == null ? void 0 : t.indicatorColor) || "#000000" })
|
|
4121
4121
|
}
|
|
4122
4122
|
) }), lu = ({
|
|
4123
4123
|
title: t,
|
|
@@ -4138,7 +4138,7 @@ const Oe = ({
|
|
|
4138
4138
|
padding: "16px 0",
|
|
4139
4139
|
gap: 16
|
|
4140
4140
|
}), {
|
|
4141
|
-
backgroundColor:
|
|
4141
|
+
backgroundColor: de(n) || "transparent",
|
|
4142
4142
|
borderRadius: i
|
|
4143
4143
|
}),
|
|
4144
4144
|
children: [
|
|
@@ -4166,7 +4166,7 @@ const Oe = ({
|
|
|
4166
4166
|
{
|
|
4167
4167
|
className: "details",
|
|
4168
4168
|
style: X(O({}, cu), {
|
|
4169
|
-
backgroundColor:
|
|
4169
|
+
backgroundColor: de(e) || "white",
|
|
4170
4170
|
borderRadius: r
|
|
4171
4171
|
}),
|
|
4172
4172
|
children: t.map((n, i) => /* @__PURE__ */ u(lu, O({ isLastChild: i === t.length - 1 }, n), i))
|
|
@@ -4201,9 +4201,9 @@ const Oe = ({
|
|
|
4201
4201
|
}
|
|
4202
4202
|
) });
|
|
4203
4203
|
};
|
|
4204
|
-
var
|
|
4204
|
+
var Qr = (t) => t.type === "checkbox", sr = (t) => t instanceof Date, qe = (t) => t == null;
|
|
4205
4205
|
const Za = (t) => typeof t == "object";
|
|
4206
|
-
var Ne = (t) => !qe(t) && !Array.isArray(t) && Za(t) && !sr(t), Ya = (t) => Ne(t) && t.target ?
|
|
4206
|
+
var Ne = (t) => !qe(t) && !Array.isArray(t) && Za(t) && !sr(t), Ya = (t) => Ne(t) && t.target ? Qr(t.target) ? t.target.checked : t.target.value : t, fu = (t) => t.substring(0, t.search(/\.\d+(\.|$)/)) || t, Ja = (t, e) => t.has(fu(e)), hu = (t) => {
|
|
4207
4207
|
const e = t.constructor && t.constructor.prototype;
|
|
4208
4208
|
return Ne(e) && e.hasOwnProperty("isPrototypeOf");
|
|
4209
4209
|
}, To = typeof window != "undefined" && typeof window.HTMLElement != "undefined" && typeof document != "undefined";
|
|
@@ -4260,9 +4260,9 @@ const Zn = {
|
|
|
4260
4260
|
pattern: "pattern",
|
|
4261
4261
|
required: "required",
|
|
4262
4262
|
validate: "validate"
|
|
4263
|
-
}, Xa =
|
|
4263
|
+
}, Xa = fe.createContext(null);
|
|
4264
4264
|
Xa.displayName = "HookFormContext";
|
|
4265
|
-
const xo = () =>
|
|
4265
|
+
const xo = () => fe.useContext(Xa);
|
|
4266
4266
|
var Qa = (t, e, r, n = !0) => {
|
|
4267
4267
|
const i = {
|
|
4268
4268
|
defaultValues: e._defaultValues
|
|
@@ -4276,9 +4276,9 @@ var Qa = (t, e, r, n = !0) => {
|
|
|
4276
4276
|
});
|
|
4277
4277
|
return i;
|
|
4278
4278
|
};
|
|
4279
|
-
const Ao = typeof window != "undefined" ?
|
|
4279
|
+
const Ao = typeof window != "undefined" ? fe.useLayoutEffect : fe.useEffect;
|
|
4280
4280
|
function pu(t) {
|
|
4281
|
-
const e = xo(), { control: r = e.control, disabled: n, name: i, exact: o } = t || {}, [s, a] =
|
|
4281
|
+
const e = xo(), { control: r = e.control, disabled: n, name: i, exact: o } = t || {}, [s, a] = fe.useState(r._formState), l = fe.useRef({
|
|
4282
4282
|
isDirty: !1,
|
|
4283
4283
|
isLoading: !1,
|
|
4284
4284
|
dirtyFields: !1,
|
|
@@ -4295,9 +4295,9 @@ function pu(t) {
|
|
|
4295
4295
|
callback: (d) => {
|
|
4296
4296
|
!n && a(O(O({}, r._formState), d));
|
|
4297
4297
|
}
|
|
4298
|
-
}), [i, n, o]),
|
|
4298
|
+
}), [i, n, o]), fe.useEffect(() => {
|
|
4299
4299
|
l.current.isValid && r._setValid(!0);
|
|
4300
|
-
}, [r]),
|
|
4300
|
+
}, [r]), fe.useMemo(() => Qa(s, r, l.current, !1), [s, r]);
|
|
4301
4301
|
}
|
|
4302
4302
|
var et = (t) => typeof t == "string", el = (t, e, r, n, i) => et(t) ? (n && e.watch.add(t), U(r, t, i)) : Array.isArray(t) ? t.map((o) => (n && e.watch.add(o), U(r, o))) : (n && (e.watchAll = !0), r), Ji = (t) => qe(t) || !Za(t);
|
|
4303
4303
|
function Ut(t, e, r = /* @__PURE__ */ new WeakSet()) {
|
|
@@ -4324,9 +4324,9 @@ function Ut(t, e, r = /* @__PURE__ */ new WeakSet()) {
|
|
|
4324
4324
|
return !0;
|
|
4325
4325
|
}
|
|
4326
4326
|
function _u(t) {
|
|
4327
|
-
const e = xo(), { control: r = e.control, name: n, defaultValue: i, disabled: o, exact: s, compute: a } = t || {}, l =
|
|
4327
|
+
const e = xo(), { control: r = e.control, name: n, defaultValue: i, disabled: o, exact: s, compute: a } = t || {}, l = fe.useRef(i), d = fe.useRef(a), p = fe.useRef(void 0);
|
|
4328
4328
|
d.current = a;
|
|
4329
|
-
const
|
|
4329
|
+
const f = fe.useMemo(() => r._getWatch(n, l.current), [r, n]), [c, g] = fe.useState(d.current ? d.current(f) : f);
|
|
4330
4330
|
return Ao(() => r._subscribe({
|
|
4331
4331
|
name: n,
|
|
4332
4332
|
formState: {
|
|
@@ -4335,18 +4335,18 @@ function _u(t) {
|
|
|
4335
4335
|
exact: s,
|
|
4336
4336
|
callback: (w) => {
|
|
4337
4337
|
if (!o) {
|
|
4338
|
-
const
|
|
4338
|
+
const h = el(n, r._names, w.values || r._formValues, !1, l.current);
|
|
4339
4339
|
if (d.current) {
|
|
4340
|
-
const m = d.current(
|
|
4340
|
+
const m = d.current(h);
|
|
4341
4341
|
Ut(m, p.current) || (g(m), p.current = m);
|
|
4342
4342
|
} else
|
|
4343
|
-
g(
|
|
4343
|
+
g(h);
|
|
4344
4344
|
}
|
|
4345
4345
|
}
|
|
4346
|
-
}), [r, o, n, s]),
|
|
4346
|
+
}), [r, o, n, s]), fe.useEffect(() => r._removeUnmounted()), c;
|
|
4347
4347
|
}
|
|
4348
4348
|
function mu(t) {
|
|
4349
|
-
const e = xo(), { name: r, disabled: n, control: i = e.control, shouldUnregister: o, defaultValue: s } = t, a = Ja(i._names.array, r), l =
|
|
4349
|
+
const e = xo(), { name: r, disabled: n, control: i = e.control, shouldUnregister: o, defaultValue: s } = t, a = Ja(i._names.array, r), l = fe.useMemo(() => U(i._formValues, r, U(i._defaultValues, r, s)), [i, r, s]), d = _u({
|
|
4350
4350
|
control: i,
|
|
4351
4351
|
name: r,
|
|
4352
4352
|
defaultValue: l,
|
|
@@ -4355,11 +4355,11 @@ function mu(t) {
|
|
|
4355
4355
|
control: i,
|
|
4356
4356
|
name: r,
|
|
4357
4357
|
exact: !0
|
|
4358
|
-
}),
|
|
4358
|
+
}), f = fe.useRef(t), c = fe.useRef(void 0), g = fe.useRef(i.register(r, O(X(O({}, t.rules), {
|
|
4359
4359
|
value: d
|
|
4360
4360
|
}), Qe(t.disabled) ? { disabled: t.disabled } : {})));
|
|
4361
|
-
|
|
4362
|
-
const w =
|
|
4361
|
+
f.current = t;
|
|
4362
|
+
const w = fe.useMemo(() => Object.defineProperties({}, {
|
|
4363
4363
|
invalid: {
|
|
4364
4364
|
enumerable: !0,
|
|
4365
4365
|
get: () => !!U(p.errors, r)
|
|
@@ -4380,54 +4380,54 @@ function mu(t) {
|
|
|
4380
4380
|
enumerable: !0,
|
|
4381
4381
|
get: () => U(p.errors, r)
|
|
4382
4382
|
}
|
|
4383
|
-
}), [p, r]),
|
|
4383
|
+
}), [p, r]), h = fe.useCallback((b) => g.current.onChange({
|
|
4384
4384
|
target: {
|
|
4385
4385
|
value: Ya(b),
|
|
4386
4386
|
name: r
|
|
4387
4387
|
},
|
|
4388
4388
|
type: Zn.CHANGE
|
|
4389
|
-
}), [r]), m =
|
|
4389
|
+
}), [r]), m = fe.useCallback(() => g.current.onBlur({
|
|
4390
4390
|
target: {
|
|
4391
4391
|
value: U(i._formValues, r),
|
|
4392
4392
|
name: r
|
|
4393
4393
|
},
|
|
4394
4394
|
type: Zn.BLUR
|
|
4395
|
-
}), [r, i._formValues]), S =
|
|
4395
|
+
}), [r, i._formValues]), S = fe.useCallback((b) => {
|
|
4396
4396
|
const I = U(i._fields, r);
|
|
4397
4397
|
I && b && (I._f.ref = {
|
|
4398
4398
|
focus: () => b.focus && b.focus(),
|
|
4399
4399
|
select: () => b.select && b.select(),
|
|
4400
|
-
setCustomValidity: (
|
|
4400
|
+
setCustomValidity: (k) => b.setCustomValidity(k),
|
|
4401
4401
|
reportValidity: () => b.reportValidity()
|
|
4402
4402
|
});
|
|
4403
|
-
}, [i._fields, r]), C =
|
|
4403
|
+
}, [i._fields, r]), C = fe.useMemo(() => X(O({
|
|
4404
4404
|
name: r,
|
|
4405
4405
|
value: d
|
|
4406
4406
|
}, Qe(n) || p.disabled ? { disabled: p.disabled || n } : {}), {
|
|
4407
|
-
onChange:
|
|
4407
|
+
onChange: h,
|
|
4408
4408
|
onBlur: m,
|
|
4409
4409
|
ref: S
|
|
4410
|
-
}), [r, n, p.disabled,
|
|
4411
|
-
return
|
|
4410
|
+
}), [r, n, p.disabled, h, m, S, d]);
|
|
4411
|
+
return fe.useEffect(() => {
|
|
4412
4412
|
const b = i._options.shouldUnregister || o, I = c.current;
|
|
4413
|
-
I && I !== r && !a && i.unregister(I), i.register(r, O(O({},
|
|
4414
|
-
const
|
|
4415
|
-
const
|
|
4416
|
-
|
|
4413
|
+
I && I !== r && !a && i.unregister(I), i.register(r, O(O({}, f.current.rules), Qe(f.current.disabled) ? { disabled: f.current.disabled } : {}));
|
|
4414
|
+
const k = (N, R) => {
|
|
4415
|
+
const ae = U(i._fields, N);
|
|
4416
|
+
ae && ae._f && (ae._f.mount = R);
|
|
4417
4417
|
};
|
|
4418
|
-
if (
|
|
4419
|
-
const N = De(U(i._options.defaultValues, r,
|
|
4418
|
+
if (k(r, !0), b) {
|
|
4419
|
+
const N = De(U(i._options.defaultValues, r, f.current.defaultValue));
|
|
4420
4420
|
Ee(i._defaultValues, r, N), Ie(U(i._formValues, r)) && Ee(i._formValues, r, N);
|
|
4421
4421
|
}
|
|
4422
4422
|
return !a && i.register(r), c.current = r, () => {
|
|
4423
|
-
(a ? b && !i._state.action : b) ? i.unregister(r) :
|
|
4423
|
+
(a ? b && !i._state.action : b) ? i.unregister(r) : k(r, !1);
|
|
4424
4424
|
};
|
|
4425
|
-
}, [r, i, a, o]),
|
|
4425
|
+
}, [r, i, a, o]), fe.useEffect(() => {
|
|
4426
4426
|
i._setDisabledField({
|
|
4427
4427
|
disabled: n,
|
|
4428
4428
|
name: r
|
|
4429
4429
|
});
|
|
4430
|
-
}, [n, r, i]),
|
|
4430
|
+
}, [n, r, i]), fe.useMemo(() => ({
|
|
4431
4431
|
field: C,
|
|
4432
4432
|
formState: p,
|
|
4433
4433
|
fieldState: w
|
|
@@ -4438,7 +4438,7 @@ var gu = (t, e, r, n, i) => e ? X(O({}, r[t]), {
|
|
|
4438
4438
|
types: X(O({}, r[t] && r[t].types ? r[t].types : {}), {
|
|
4439
4439
|
[n]: i || !0
|
|
4440
4440
|
})
|
|
4441
|
-
}) : {},
|
|
4441
|
+
}) : {}, $r = (t) => Array.isArray(t) ? t : [t], As = () => {
|
|
4442
4442
|
let t = [];
|
|
4443
4443
|
return {
|
|
4444
4444
|
get observers() {
|
|
@@ -4475,7 +4475,7 @@ var Ye = (t) => Ne(t) && !Object.keys(t).length, Ro = (t) => t.type === "file",
|
|
|
4475
4475
|
return !1;
|
|
4476
4476
|
const e = t ? t.ownerDocument : 0;
|
|
4477
4477
|
return t instanceof (e && e.defaultView ? e.defaultView.HTMLElement : HTMLElement);
|
|
4478
|
-
}, nl = (t) => t.type === "select-multiple", ko = (t) => t.type === "radio", wu = (t) => ko(t) ||
|
|
4478
|
+
}, nl = (t) => t.type === "select-multiple", ko = (t) => t.type === "radio", wu = (t) => ko(t) || Qr(t), Fi = (t) => Yn(t) && t.isConnected;
|
|
4479
4479
|
function vu(t, e) {
|
|
4480
4480
|
const r = e.slice(0, -1).length;
|
|
4481
4481
|
let n = 0;
|
|
@@ -4540,7 +4540,7 @@ var al = (t) => Array.isArray(t) ? t.reduce((e, r) => r && r.checked && !r.disab
|
|
|
4540
4540
|
} : e, Ns) : Ns;
|
|
4541
4541
|
function Ds(t) {
|
|
4542
4542
|
const e = t.ref;
|
|
4543
|
-
return Ro(e) ? e.files : ko(e) ? al(t.refs).value : nl(e) ? [...e.selectedOptions].map(({ value: r }) => r) :
|
|
4543
|
+
return Ro(e) ? e.files : ko(e) ? al(t.refs).value : nl(e) ? [...e.selectedOptions].map(({ value: r }) => r) : Qr(e) ? ol(t.refs).value : sl(Ie(e.value) ? t.ref.value : e.value, t);
|
|
4544
4544
|
}
|
|
4545
4545
|
var Cu = (t, e, r, n) => {
|
|
4546
4546
|
const i = {};
|
|
@@ -4563,7 +4563,7 @@ var Cu = (t, e, r, n) => {
|
|
|
4563
4563
|
});
|
|
4564
4564
|
const Ps = "AsyncFunction";
|
|
4565
4565
|
var Su = (t) => !!t && !!t.validate && !!(ft(t.validate) && t.validate.constructor.name === Ps || Ne(t.validate) && Object.values(t.validate).find((e) => e.constructor.name === Ps)), Eu = (t) => t.mount && (t.required || t.min || t.max || t.maxLength || t.minLength || t.pattern || t.validate), Fs = (t, e, r) => !r && (e.watchAll || e.watch.has(t) || [...e.watch].some((n) => t.startsWith(n) && /^\.\w+/.test(t.slice(n.length))));
|
|
4566
|
-
const
|
|
4566
|
+
const Br = (t, e, r, n) => {
|
|
4567
4567
|
for (const o of r || Object.keys(t)) {
|
|
4568
4568
|
const s = U(t, o);
|
|
4569
4569
|
if (s) {
|
|
@@ -4573,9 +4573,9 @@ const $r = (t, e, r, n) => {
|
|
|
4573
4573
|
return !0;
|
|
4574
4574
|
if (a.ref && e(a.ref, a.name) && !n)
|
|
4575
4575
|
return !0;
|
|
4576
|
-
if (
|
|
4576
|
+
if (Br(l, e))
|
|
4577
4577
|
break;
|
|
4578
|
-
} else if (Ne(l) &&
|
|
4578
|
+
} else if (Ne(l) && Br(l, e))
|
|
4579
4579
|
break;
|
|
4580
4580
|
}
|
|
4581
4581
|
}
|
|
@@ -4612,8 +4612,8 @@ var Tu = (t, e, r, n) => {
|
|
|
4612
4612
|
r(t);
|
|
4613
4613
|
const s = t, { name: i } = s, o = Xt(s, ["name"]);
|
|
4614
4614
|
return Ye(o) || Object.keys(o).length >= Object.keys(e).length || Object.keys(o).find((a) => e[a] === (!n || ut.all));
|
|
4615
|
-
}, Ou = (t, e, r) => !t || !e || t === e ||
|
|
4616
|
-
const n =
|
|
4615
|
+
}, Ou = (t, e, r) => !t || !e || t === e || $r(t).some((n) => n && (r ? n === e : n.startsWith(e) || e.startsWith(n))), Iu = (t, e, r, n, i) => i.isOnAll ? !1 : !r && i.isOnTouch ? !(e || t) : (r ? n.isOnBlur : i.isOnBlur) ? !t : (r ? n.isOnChange : i.isOnChange) ? t : !0, xu = (t, e) => !Oo(U(t, e)).length && Re(t, e), Au = (t, e, r) => {
|
|
4616
|
+
const n = $r(U(t, r));
|
|
4617
4617
|
return Ee(n, "root", e[r]), Ee(t, r, n), t;
|
|
4618
4618
|
};
|
|
4619
4619
|
function Us(t, e, r = "validate") {
|
|
@@ -4628,75 +4628,75 @@ var _r = (t) => Ne(t) && !Jn(t) ? t : {
|
|
|
4628
4628
|
value: t,
|
|
4629
4629
|
message: ""
|
|
4630
4630
|
}, Vs = (t, e, r, n, i, o) => F(null, null, function* () {
|
|
4631
|
-
const { ref: s, refs: a, required: l, maxLength: d, minLength: p, min:
|
|
4632
|
-
if (!S || e.has(
|
|
4631
|
+
const { ref: s, refs: a, required: l, maxLength: d, minLength: p, min: f, max: c, pattern: g, validate: w, name: h, valueAsNumber: m, mount: S } = t._f, C = U(r, h);
|
|
4632
|
+
if (!S || e.has(h))
|
|
4633
4633
|
return {};
|
|
4634
4634
|
const b = a ? a[0] : s, I = (H) => {
|
|
4635
4635
|
i && b.reportValidity && (b.setCustomValidity(Qe(H) ? "" : H || ""), b.reportValidity());
|
|
4636
|
-
},
|
|
4637
|
-
const ve = H ? K :
|
|
4638
|
-
|
|
4639
|
-
type: H ?
|
|
4636
|
+
}, k = {}, N = ko(s), R = Qr(s), ae = N || R, _e = (m || Ro(s)) && Ie(s.value) && Ie(C) || Yn(s) && s.value === "" || C === "" || Array.isArray(C) && !C.length, le = gu.bind(null, h, n, k), Z = (H, K, ue, ce = St.maxLength, we = St.minLength) => {
|
|
4637
|
+
const ve = H ? K : ue;
|
|
4638
|
+
k[h] = O({
|
|
4639
|
+
type: H ? ce : we,
|
|
4640
4640
|
message: ve,
|
|
4641
4641
|
ref: s
|
|
4642
|
-
},
|
|
4642
|
+
}, le(H ? ce : we, ve));
|
|
4643
4643
|
};
|
|
4644
|
-
if (o ? !Array.isArray(C) || !C.length : l && (!
|
|
4644
|
+
if (o ? !Array.isArray(C) || !C.length : l && (!ae && (_e || qe(C)) || Qe(C) && !C || R && !ol(a).isValid || N && !al(a).isValid)) {
|
|
4645
4645
|
const { value: H, message: K } = et(l) ? { value: !!l, message: l } : _r(l);
|
|
4646
|
-
if (H && (
|
|
4646
|
+
if (H && (k[h] = O({
|
|
4647
4647
|
type: St.required,
|
|
4648
4648
|
message: K,
|
|
4649
4649
|
ref: b
|
|
4650
|
-
},
|
|
4651
|
-
return I(K),
|
|
4650
|
+
}, le(St.required, K)), !n))
|
|
4651
|
+
return I(K), k;
|
|
4652
4652
|
}
|
|
4653
|
-
if (!_e && (!qe(
|
|
4653
|
+
if (!_e && (!qe(f) || !qe(c))) {
|
|
4654
4654
|
let H, K;
|
|
4655
|
-
const
|
|
4655
|
+
const ue = _r(c), ce = _r(f);
|
|
4656
4656
|
if (!qe(C) && !isNaN(C)) {
|
|
4657
4657
|
const we = s.valueAsNumber || C && +C;
|
|
4658
|
-
qe(
|
|
4658
|
+
qe(ue.value) || (H = we > ue.value), qe(ce.value) || (K = we < ce.value);
|
|
4659
4659
|
} else {
|
|
4660
4660
|
const we = s.valueAsDate || new Date(C), ve = (L) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + L), ee = s.type == "time", z = s.type == "week";
|
|
4661
|
-
et(
|
|
4661
|
+
et(ue.value) && C && (H = ee ? ve(C) > ve(ue.value) : z ? C > ue.value : we > new Date(ue.value)), et(ce.value) && C && (K = ee ? ve(C) < ve(ce.value) : z ? C < ce.value : we < new Date(ce.value));
|
|
4662
4662
|
}
|
|
4663
|
-
if ((H || K) && (Z(!!H,
|
|
4664
|
-
return I(
|
|
4663
|
+
if ((H || K) && (Z(!!H, ue.message, ce.message, St.max, St.min), !n))
|
|
4664
|
+
return I(k[h].message), k;
|
|
4665
4665
|
}
|
|
4666
4666
|
if ((d || p) && !_e && (et(C) || o && Array.isArray(C))) {
|
|
4667
|
-
const H = _r(d), K = _r(p),
|
|
4668
|
-
if ((
|
|
4669
|
-
return I(
|
|
4667
|
+
const H = _r(d), K = _r(p), ue = !qe(H.value) && C.length > +H.value, ce = !qe(K.value) && C.length < +K.value;
|
|
4668
|
+
if ((ue || ce) && (Z(ue, H.message, K.message), !n))
|
|
4669
|
+
return I(k[h].message), k;
|
|
4670
4670
|
}
|
|
4671
4671
|
if (g && !_e && et(C)) {
|
|
4672
4672
|
const { value: H, message: K } = _r(g);
|
|
4673
|
-
if (Jn(H) && !C.match(H) && (
|
|
4673
|
+
if (Jn(H) && !C.match(H) && (k[h] = O({
|
|
4674
4674
|
type: St.pattern,
|
|
4675
4675
|
message: K,
|
|
4676
4676
|
ref: s
|
|
4677
|
-
},
|
|
4678
|
-
return I(K),
|
|
4677
|
+
}, le(St.pattern, K)), !n))
|
|
4678
|
+
return I(K), k;
|
|
4679
4679
|
}
|
|
4680
4680
|
if (w) {
|
|
4681
4681
|
if (ft(w)) {
|
|
4682
4682
|
const H = yield w(C, r), K = Us(H, b);
|
|
4683
|
-
if (K && (
|
|
4684
|
-
return I(K.message),
|
|
4683
|
+
if (K && (k[h] = O(O({}, K), le(St.validate, K.message)), !n))
|
|
4684
|
+
return I(K.message), k;
|
|
4685
4685
|
} else if (Ne(w)) {
|
|
4686
4686
|
let H = {};
|
|
4687
4687
|
for (const K in w) {
|
|
4688
4688
|
if (!Ye(H) && !n)
|
|
4689
4689
|
break;
|
|
4690
|
-
const
|
|
4691
|
-
|
|
4690
|
+
const ue = Us(yield w[K](C, r), b, K);
|
|
4691
|
+
ue && (H = O(O({}, ue), le(K, ue.message)), I(ue.message), n && (k[h] = H));
|
|
4692
4692
|
}
|
|
4693
|
-
if (!Ye(H) && (
|
|
4693
|
+
if (!Ye(H) && (k[h] = O({
|
|
4694
4694
|
ref: b
|
|
4695
4695
|
}, H), !n))
|
|
4696
|
-
return
|
|
4696
|
+
return k;
|
|
4697
4697
|
}
|
|
4698
4698
|
}
|
|
4699
|
-
return I(!0),
|
|
4699
|
+
return I(!0), k;
|
|
4700
4700
|
});
|
|
4701
4701
|
const Ru = {
|
|
4702
4702
|
mode: ut.onSubmit,
|
|
@@ -4739,21 +4739,21 @@ function ku(t = {}) {
|
|
|
4739
4739
|
isValid: !1,
|
|
4740
4740
|
errors: !1
|
|
4741
4741
|
};
|
|
4742
|
-
let
|
|
4742
|
+
let f = O({}, p);
|
|
4743
4743
|
const c = {
|
|
4744
4744
|
array: As(),
|
|
4745
4745
|
state: As()
|
|
4746
4746
|
}, g = e.criteriaMode === ut.all, w = (y) => (T) => {
|
|
4747
4747
|
clearTimeout(d), d = setTimeout(y, T);
|
|
4748
|
-
},
|
|
4749
|
-
if (!e.disabled && (p.isValid ||
|
|
4748
|
+
}, h = (y) => F(null, null, function* () {
|
|
4749
|
+
if (!e.disabled && (p.isValid || f.isValid || y)) {
|
|
4750
4750
|
const T = e.resolver ? Ye((yield R()).errors) : yield _e(n, !0);
|
|
4751
4751
|
T !== r.isValid && c.state.next({
|
|
4752
4752
|
isValid: T
|
|
4753
4753
|
});
|
|
4754
4754
|
}
|
|
4755
4755
|
}), m = (y, T) => {
|
|
4756
|
-
!e.disabled && (p.isValidating || p.validatingFields ||
|
|
4756
|
+
!e.disabled && (p.isValidating || p.validatingFields || f.isValidating || f.validatingFields) && ((y || Array.from(a.mount)).forEach((A) => {
|
|
4757
4757
|
A && (T ? Ee(r.validatingFields, A, T) : Re(r.validatingFields, A));
|
|
4758
4758
|
}), c.state.next({
|
|
4759
4759
|
validatingFields: r.validatingFields,
|
|
@@ -4769,11 +4769,11 @@ function ku(t = {}) {
|
|
|
4769
4769
|
const W = A(U(r.errors, y), V.argA, V.argB);
|
|
4770
4770
|
M && Ee(r.errors, y, W), xu(r.errors, y);
|
|
4771
4771
|
}
|
|
4772
|
-
if ((p.touchedFields ||
|
|
4772
|
+
if ((p.touchedFields || f.touchedFields) && P && Array.isArray(U(r.touchedFields, y))) {
|
|
4773
4773
|
const W = A(U(r.touchedFields, y), V.argA, V.argB);
|
|
4774
4774
|
M && Ee(r.touchedFields, y, W);
|
|
4775
4775
|
}
|
|
4776
|
-
(p.dirtyFields ||
|
|
4776
|
+
(p.dirtyFields || f.dirtyFields) && (r.dirtyFields = gr(i, o)), c.state.next({
|
|
4777
4777
|
name: y,
|
|
4778
4778
|
isDirty: Z(y, T),
|
|
4779
4779
|
dirtyFields: r.dirtyFields,
|
|
@@ -4795,28 +4795,28 @@ function ku(t = {}) {
|
|
|
4795
4795
|
const M = U(n, y);
|
|
4796
4796
|
if (M) {
|
|
4797
4797
|
const P = U(o, y, Ie(A) ? U(i, y) : A);
|
|
4798
|
-
Ie(P) || V && V.defaultChecked || T ? Ee(o, y, T ? P : Ds(M._f)) :
|
|
4798
|
+
Ie(P) || V && V.defaultChecked || T ? Ee(o, y, T ? P : Ds(M._f)) : ue(y, P), s.mount && h();
|
|
4799
4799
|
}
|
|
4800
|
-
},
|
|
4800
|
+
}, k = (y, T, A, V, M) => {
|
|
4801
4801
|
let P = !1, W = !1;
|
|
4802
4802
|
const ne = {
|
|
4803
4803
|
name: y
|
|
4804
4804
|
};
|
|
4805
4805
|
if (!e.disabled) {
|
|
4806
4806
|
if (!A || V) {
|
|
4807
|
-
(p.isDirty ||
|
|
4807
|
+
(p.isDirty || f.isDirty) && (W = r.isDirty, r.isDirty = ne.isDirty = Z(), P = W !== ne.isDirty);
|
|
4808
4808
|
const G = Ut(U(i, y), T);
|
|
4809
|
-
W = !!U(r.dirtyFields, y), G ? Re(r.dirtyFields, y) : Ee(r.dirtyFields, y, !0), ne.dirtyFields = r.dirtyFields, P = P || (p.dirtyFields ||
|
|
4809
|
+
W = !!U(r.dirtyFields, y), G ? Re(r.dirtyFields, y) : Ee(r.dirtyFields, y, !0), ne.dirtyFields = r.dirtyFields, P = P || (p.dirtyFields || f.dirtyFields) && W !== !G;
|
|
4810
4810
|
}
|
|
4811
4811
|
if (A) {
|
|
4812
4812
|
const G = U(r.touchedFields, y);
|
|
4813
|
-
G || (Ee(r.touchedFields, y, A), ne.touchedFields = r.touchedFields, P = P || (p.touchedFields ||
|
|
4813
|
+
G || (Ee(r.touchedFields, y, A), ne.touchedFields = r.touchedFields, P = P || (p.touchedFields || f.touchedFields) && G !== A);
|
|
4814
4814
|
}
|
|
4815
4815
|
P && M && c.state.next(ne);
|
|
4816
4816
|
}
|
|
4817
4817
|
return P ? ne : {};
|
|
4818
4818
|
}, N = (y, T, A, V) => {
|
|
4819
|
-
const M = U(r.errors, y), P = (p.isValid ||
|
|
4819
|
+
const M = U(r.errors, y), P = (p.isValid || f.isValid) && Qe(T) && r.isValid !== T;
|
|
4820
4820
|
if (e.delayError && A ? (l = w(() => C(y, A)), l(e.delayError)) : (clearTimeout(d), l = null, A ? Ee(r.errors, y, A) : Re(r.errors, y)), (A ? !Ut(M, A) : M) || !Ye(V) || P) {
|
|
4821
4821
|
const W = X(O(O({}, V), P && Qe(T) ? { isValid: T } : {}), {
|
|
4822
4822
|
errors: r.errors,
|
|
@@ -4828,7 +4828,7 @@ function ku(t = {}) {
|
|
|
4828
4828
|
m(y, !0);
|
|
4829
4829
|
const T = yield e.resolver(o, e.context, Cu(y || a.mount, n, e.criteriaMode, e.shouldUseNativeValidation));
|
|
4830
4830
|
return m(y), T;
|
|
4831
|
-
}),
|
|
4831
|
+
}), ae = (y) => F(null, null, function* () {
|
|
4832
4832
|
const { errors: T } = yield R(y);
|
|
4833
4833
|
if (y)
|
|
4834
4834
|
for (const A of y) {
|
|
@@ -4857,42 +4857,42 @@ function ku(t = {}) {
|
|
|
4857
4857
|
}
|
|
4858
4858
|
}
|
|
4859
4859
|
return A.valid;
|
|
4860
|
-
}),
|
|
4860
|
+
}), le = () => {
|
|
4861
4861
|
for (const y of a.unMount) {
|
|
4862
4862
|
const T = U(n, y);
|
|
4863
4863
|
T && (T._f.refs ? T._f.refs.every((A) => !Fi(A)) : !Fi(T._f.ref)) && Be(y);
|
|
4864
4864
|
}
|
|
4865
4865
|
a.unMount = /* @__PURE__ */ new Set();
|
|
4866
|
-
}, Z = (y, T) => !e.disabled && (y && T && Ee(o, y, T), !Ut(L(), i)), H = (y, T, A) => el(y, a, O({}, s.mount ? o : Ie(T) ? i : et(y) ? { [y]: T } : T), A, T), K = (y) => Oo(U(s.mount ? o : i, y, e.shouldUnregister ? U(i, y, []) : [])),
|
|
4866
|
+
}, Z = (y, T) => !e.disabled && (y && T && Ee(o, y, T), !Ut(L(), i)), H = (y, T, A) => el(y, a, O({}, s.mount ? o : Ie(T) ? i : et(y) ? { [y]: T } : T), A, T), K = (y) => Oo(U(s.mount ? o : i, y, e.shouldUnregister ? U(i, y, []) : [])), ue = (y, T, A = {}) => {
|
|
4867
4867
|
const V = U(n, y);
|
|
4868
4868
|
let M = T;
|
|
4869
4869
|
if (V) {
|
|
4870
4870
|
const P = V._f;
|
|
4871
|
-
P && (!P.disabled && Ee(o, y, sl(T, P)), M = Yn(P.ref) && qe(T) ? "" : T, nl(P.ref) ? [...P.ref.options].forEach((W) => W.selected = M.includes(W.value)) : P.refs ?
|
|
4871
|
+
P && (!P.disabled && Ee(o, y, sl(T, P)), M = Yn(P.ref) && qe(T) ? "" : T, nl(P.ref) ? [...P.ref.options].forEach((W) => W.selected = M.includes(W.value)) : P.refs ? Qr(P.ref) ? P.refs.forEach((W) => {
|
|
4872
4872
|
(!W.defaultChecked || !W.disabled) && (Array.isArray(M) ? W.checked = !!M.find((ne) => ne === W.value) : W.checked = M === W.value || !!M);
|
|
4873
4873
|
}) : P.refs.forEach((W) => W.checked = W.value === M) : Ro(P.ref) ? P.ref.value = "" : (P.ref.value = M, P.ref.type || c.state.next({
|
|
4874
4874
|
name: y,
|
|
4875
4875
|
values: De(o)
|
|
4876
4876
|
})));
|
|
4877
4877
|
}
|
|
4878
|
-
(A.shouldDirty || A.shouldTouch) &&
|
|
4879
|
-
},
|
|
4878
|
+
(A.shouldDirty || A.shouldTouch) && k(y, M, A.shouldTouch, A.shouldDirty, !0), A.shouldValidate && z(y);
|
|
4879
|
+
}, ce = (y, T, A) => {
|
|
4880
4880
|
for (const V in T) {
|
|
4881
4881
|
if (!T.hasOwnProperty(V))
|
|
4882
4882
|
return;
|
|
4883
4883
|
const M = T[V], P = y + "." + V, W = U(n, P);
|
|
4884
|
-
(a.array.has(y) || Ne(M) || W && !W._f) && !sr(M) ?
|
|
4884
|
+
(a.array.has(y) || Ne(M) || W && !W._f) && !sr(M) ? ce(P, M, A) : ue(P, M, A);
|
|
4885
4885
|
}
|
|
4886
4886
|
}, we = (y, T, A = {}) => {
|
|
4887
4887
|
const V = U(n, y), M = a.array.has(y), P = De(T);
|
|
4888
4888
|
Ee(o, y, P), M ? (c.array.next({
|
|
4889
4889
|
name: y,
|
|
4890
4890
|
values: De(o)
|
|
4891
|
-
}), (p.isDirty || p.dirtyFields ||
|
|
4891
|
+
}), (p.isDirty || p.dirtyFields || f.isDirty || f.dirtyFields) && A.shouldDirty && c.state.next({
|
|
4892
4892
|
name: y,
|
|
4893
4893
|
dirtyFields: gr(i, o),
|
|
4894
4894
|
isDirty: Z(y, P)
|
|
4895
|
-
})) : V && !V._f && !qe(P) ?
|
|
4895
|
+
})) : V && !V._f && !qe(P) ? ce(y, P, A) : ue(y, P, A), Fs(y, a) && c.state.next(X(O({}, r), { name: y })), c.state.next({
|
|
4896
4896
|
name: s.mount ? y : void 0,
|
|
4897
4897
|
values: De(o)
|
|
4898
4898
|
});
|
|
@@ -4907,13 +4907,13 @@ function ku(t = {}) {
|
|
|
4907
4907
|
let G, ge;
|
|
4908
4908
|
const Pe = T.type ? Ds(M._f) : Ya(y), J = y.type === Zn.BLUR || y.type === Zn.FOCUS_OUT, oe = !Eu(M._f) && !e.resolver && !U(r.errors, A) && !M._f.deps || Iu(J, U(r.touchedFields, A), r.isSubmitted, ne, W), j = Fs(A, a, J);
|
|
4909
4909
|
Ee(o, A, Pe), J ? (!T || !T.readOnly) && (M._f.onBlur && M._f.onBlur(y), l && l(0)) : M._f.onChange && M._f.onChange(y);
|
|
4910
|
-
const me =
|
|
4910
|
+
const me = k(A, Pe, J), He = !Ye(me) || j;
|
|
4911
4911
|
if (!J && c.state.next({
|
|
4912
4912
|
name: A,
|
|
4913
4913
|
type: y.type,
|
|
4914
4914
|
values: De(o)
|
|
4915
4915
|
}), oe)
|
|
4916
|
-
return (p.isValid ||
|
|
4916
|
+
return (p.isValid || f.isValid) && (e.mode === "onBlur" ? J && h() : J || h()), He && c.state.next(O({ name: A }, j ? {} : me));
|
|
4917
4917
|
if (!J && j && c.state.next(O({}, r)), e.resolver) {
|
|
4918
4918
|
const { errors: xe } = yield R([A]);
|
|
4919
4919
|
if (P(Pe), V) {
|
|
@@ -4921,7 +4921,7 @@ function ku(t = {}) {
|
|
|
4921
4921
|
G = q.error, A = q.name, ge = Ye(xe);
|
|
4922
4922
|
}
|
|
4923
4923
|
} else
|
|
4924
|
-
m([A], !0), G = (yield Vs(M, a.disabled, o, g, e.shouldUseNativeValidation))[A], m([A]), P(Pe), V && (G ? ge = !1 : (p.isValid ||
|
|
4924
|
+
m([A], !0), G = (yield Vs(M, a.disabled, o, g, e.shouldUseNativeValidation))[A], m([A]), P(Pe), V && (G ? ge = !1 : (p.isValid || f.isValid) && (ge = yield _e(n, !0)));
|
|
4925
4925
|
V && (M._f.deps && (!Array.isArray(M._f.deps) || M._f.deps.length > 0) && z(M._f.deps), N(A, ge, G, me));
|
|
4926
4926
|
}
|
|
4927
4927
|
}), ee = (y, T) => {
|
|
@@ -4929,17 +4929,17 @@ function ku(t = {}) {
|
|
|
4929
4929
|
return y.focus(), 1;
|
|
4930
4930
|
}, z = (A, ...V) => F(null, [A, ...V], function* (y, T = {}) {
|
|
4931
4931
|
let M, P;
|
|
4932
|
-
const W =
|
|
4932
|
+
const W = $r(y);
|
|
4933
4933
|
if (e.resolver) {
|
|
4934
|
-
const ne = yield
|
|
4934
|
+
const ne = yield ae(Ie(y) ? y : W);
|
|
4935
4935
|
M = Ye(ne), P = y ? !W.some((G) => U(ne, G)) : M;
|
|
4936
4936
|
} else y ? (P = (yield Promise.all(W.map((ne) => F(null, null, function* () {
|
|
4937
4937
|
const G = U(n, ne);
|
|
4938
4938
|
return yield _e(G && G._f ? { [ne]: G } : G);
|
|
4939
|
-
})))).every(Boolean), !(!P && !r.isValid) &&
|
|
4940
|
-
return c.state.next(X(O(O({}, !et(y) || (p.isValid ||
|
|
4939
|
+
})))).every(Boolean), !(!P && !r.isValid) && h()) : P = M = yield _e(n);
|
|
4940
|
+
return c.state.next(X(O(O({}, !et(y) || (p.isValid || f.isValid) && M !== r.isValid ? {} : { name: y }), e.resolver || !y ? { isValid: M } : {}), {
|
|
4941
4941
|
errors: r.errors
|
|
4942
|
-
})), T.shouldFocus && !P &&
|
|
4942
|
+
})), T.shouldFocus && !P && Br(n, ee, y ? W : a.mount), P;
|
|
4943
4943
|
}), L = (y, T) => {
|
|
4944
4944
|
let A = O({}, s.mount ? o : i);
|
|
4945
4945
|
return T && (A = rl(T.dirtyFields ? r.dirtyFields : r.touchedFields, A)), Ie(y) ? A : et(y) ? U(A, y) : y.map((V) => U(A, V));
|
|
@@ -4950,7 +4950,7 @@ function ku(t = {}) {
|
|
|
4950
4950
|
isValidating: !!U(r.validatingFields, y),
|
|
4951
4951
|
isTouched: !!U((T || r).touchedFields, y)
|
|
4952
4952
|
}), te = (y) => {
|
|
4953
|
-
y &&
|
|
4953
|
+
y && $r(y).forEach((T) => Re(r.errors, T)), c.state.next({
|
|
4954
4954
|
errors: y ? r.errors : {}
|
|
4955
4955
|
});
|
|
4956
4956
|
}, Se = (y, T, A) => {
|
|
@@ -4972,14 +4972,14 @@ function ku(t = {}) {
|
|
|
4972
4972
|
defaultValues: i
|
|
4973
4973
|
}));
|
|
4974
4974
|
}
|
|
4975
|
-
}).unsubscribe, Q = (y) => (s.mount = !0,
|
|
4976
|
-
formState:
|
|
4975
|
+
}).unsubscribe, Q = (y) => (s.mount = !0, f = O(O({}, f), y.formState), $(X(O({}, y), {
|
|
4976
|
+
formState: f
|
|
4977
4977
|
}))), Be = (y, T = {}) => {
|
|
4978
|
-
for (const A of y ?
|
|
4978
|
+
for (const A of y ? $r(y) : a.mount)
|
|
4979
4979
|
a.mount.delete(A), a.array.delete(A), T.keepValue || (Re(n, A), Re(o, A)), !T.keepError && Re(r.errors, A), !T.keepDirty && Re(r.dirtyFields, A), !T.keepTouched && Re(r.touchedFields, A), !T.keepIsValidating && Re(r.validatingFields, A), !e.shouldUnregister && !T.keepDefaultValue && Re(i, A);
|
|
4980
4980
|
c.state.next({
|
|
4981
4981
|
values: De(o)
|
|
4982
|
-
}), c.state.next(O(O({}, r), T.keepDirty ? { isDirty: Z() } : {})), !T.keepIsValid &&
|
|
4982
|
+
}), c.state.next(O(O({}, r), T.keepDirty ? { isDirty: Z() } : {})), !T.keepIsValid && h();
|
|
4983
4983
|
}, je = ({ disabled: y, name: T }) => {
|
|
4984
4984
|
(Qe(y) && s.mount || y || a.disabled.has(T)) && (y ? a.disabled.add(T) : a.disabled.delete(T));
|
|
4985
4985
|
}, ot = (y, T = {}) => {
|
|
@@ -5024,8 +5024,8 @@ function ku(t = {}) {
|
|
|
5024
5024
|
A = U(n, y, {}), A._f && (A._f.mount = !1), (e.shouldUnregister || T.shouldUnregister) && !(Ja(a.array, y) && s.action) && a.unMount.add(y);
|
|
5025
5025
|
}
|
|
5026
5026
|
});
|
|
5027
|
-
}, Xe = () => e.shouldFocusError &&
|
|
5028
|
-
Qe(y) && (c.state.next({ disabled: y }),
|
|
5027
|
+
}, Xe = () => e.shouldFocusError && Br(n, ee, a.mount), yt = (y) => {
|
|
5028
|
+
Qe(y) && (c.state.next({ disabled: y }), Br(n, (T, A) => {
|
|
5029
5029
|
const V = U(n, A);
|
|
5030
5030
|
V && (T.disabled = V._f.disabled || y, Array.isArray(V._f.refs) && V._f.refs.forEach((M) => {
|
|
5031
5031
|
M.disabled = V._f.disabled || y;
|
|
@@ -5065,7 +5065,7 @@ function ku(t = {}) {
|
|
|
5065
5065
|
}), V)
|
|
5066
5066
|
throw V;
|
|
5067
5067
|
}), Ht = (y, T = {}) => {
|
|
5068
|
-
U(n, y) && (Ie(T.defaultValue) ? we(y, De(U(i, y))) : (we(y, T.defaultValue), Ee(i, y, De(T.defaultValue))), T.keepTouched || Re(r.touchedFields, y), T.keepDirty || (Re(r.dirtyFields, y), r.isDirty = T.defaultValue ? Z(y, De(U(i, y))) : Z()), T.keepError || (Re(r.errors, y), p.isValid &&
|
|
5068
|
+
U(n, y) && (Ie(T.defaultValue) ? we(y, De(U(i, y))) : (we(y, T.defaultValue), Ee(i, y, De(T.defaultValue))), T.keepTouched || Re(r.touchedFields, y), T.keepDirty || (Re(r.dirtyFields, y), r.isDirty = T.defaultValue ? Z(y, De(U(i, y))) : Z()), T.keepError || (Re(r.errors, y), p.isValid && h()), c.state.next(O({}, r)));
|
|
5069
5069
|
}, bt = (y, T = {}) => {
|
|
5070
5070
|
const A = y ? De(y) : i, V = De(A), M = Ye(y), P = M ? i : V;
|
|
5071
5071
|
if (T.keepDefaultValues || (i = A), !T.keepValues) {
|
|
@@ -5142,7 +5142,7 @@ function ku(t = {}) {
|
|
|
5142
5142
|
_focusError: Xe,
|
|
5143
5143
|
_getWatch: H,
|
|
5144
5144
|
_getDirty: Z,
|
|
5145
|
-
_setValid:
|
|
5145
|
+
_setValid: h,
|
|
5146
5146
|
_setFieldArray: S,
|
|
5147
5147
|
_setDisabledField: je,
|
|
5148
5148
|
_setErrors: b,
|
|
@@ -5153,7 +5153,7 @@ function ku(t = {}) {
|
|
|
5153
5153
|
isLoading: !1
|
|
5154
5154
|
});
|
|
5155
5155
|
}),
|
|
5156
|
-
_removeUnmounted:
|
|
5156
|
+
_removeUnmounted: le,
|
|
5157
5157
|
_disableForm: yt,
|
|
5158
5158
|
_subjects: c,
|
|
5159
5159
|
_proxyFormState: p,
|
|
@@ -5208,7 +5208,7 @@ function ku(t = {}) {
|
|
|
5208
5208
|
});
|
|
5209
5209
|
}
|
|
5210
5210
|
function Nu(t = {}) {
|
|
5211
|
-
const e =
|
|
5211
|
+
const e = fe.useRef(void 0), r = fe.useRef(void 0), [n, i] = fe.useState({
|
|
5212
5212
|
isDirty: !1,
|
|
5213
5213
|
isValidating: !1,
|
|
5214
5214
|
isLoading: ft(t.defaultValues),
|
|
@@ -5246,26 +5246,26 @@ function Nu(t = {}) {
|
|
|
5246
5246
|
return i((l) => X(O({}, l), {
|
|
5247
5247
|
isReady: !0
|
|
5248
5248
|
})), o._formState.isReady = !0, a;
|
|
5249
|
-
}, [o]),
|
|
5249
|
+
}, [o]), fe.useEffect(() => o._disableForm(t.disabled), [o, t.disabled]), fe.useEffect(() => {
|
|
5250
5250
|
t.mode && (o._options.mode = t.mode), t.reValidateMode && (o._options.reValidateMode = t.reValidateMode);
|
|
5251
|
-
}, [o, t.mode, t.reValidateMode]),
|
|
5251
|
+
}, [o, t.mode, t.reValidateMode]), fe.useEffect(() => {
|
|
5252
5252
|
t.errors && (o._setErrors(t.errors), o._focusError());
|
|
5253
|
-
}, [o, t.errors]),
|
|
5253
|
+
}, [o, t.errors]), fe.useEffect(() => {
|
|
5254
5254
|
t.shouldUnregister && o._subjects.state.next({
|
|
5255
5255
|
values: o._getWatch()
|
|
5256
5256
|
});
|
|
5257
|
-
}, [o, t.shouldUnregister]),
|
|
5257
|
+
}, [o, t.shouldUnregister]), fe.useEffect(() => {
|
|
5258
5258
|
if (o._proxyFormState.isDirty) {
|
|
5259
5259
|
const a = o._getDirty();
|
|
5260
5260
|
a !== n.isDirty && o._subjects.state.next({
|
|
5261
5261
|
isDirty: a
|
|
5262
5262
|
});
|
|
5263
5263
|
}
|
|
5264
|
-
}, [o, n.isDirty]),
|
|
5264
|
+
}, [o, n.isDirty]), fe.useEffect(() => {
|
|
5265
5265
|
t.values && !Ut(t.values, r.current) ? (o._reset(t.values, O({
|
|
5266
5266
|
keepFieldsRef: !0
|
|
5267
5267
|
}, o._options.resetOptions)), r.current = t.values, i((a) => O({}, a))) : o._resetDefaultValues();
|
|
5268
|
-
}, [o, t.values]),
|
|
5268
|
+
}, [o, t.values]), fe.useEffect(() => {
|
|
5269
5269
|
o._state.mount || (o._setValid(), o._state.mount = !0), o._state.watch && (o._state.watch = !1, o._subjects.state.next(O({}, o._formState))), o._removeUnmounted();
|
|
5270
5270
|
}), e.current.formState = Qa(n, o), e.current;
|
|
5271
5271
|
}
|
|
@@ -5309,11 +5309,11 @@ const Tr = (t, e) => {
|
|
|
5309
5309
|
style: {
|
|
5310
5310
|
padding: "5px 8px",
|
|
5311
5311
|
background: ((l, d) => {
|
|
5312
|
-
var p,
|
|
5313
|
-
if (!l && !d) return (p =
|
|
5314
|
-
if (!l && d) return (
|
|
5315
|
-
if (l && !d) return (c =
|
|
5316
|
-
if (l && d) return (g =
|
|
5312
|
+
var p, f, c, g;
|
|
5313
|
+
if (!l && !d) return (p = de(e.layout.backgroundColor)) != null ? p : "transparent";
|
|
5314
|
+
if (!l && d) return (f = de(e.layoutSelected.backgroundColor)) != null ? f : "transparent";
|
|
5315
|
+
if (l && !d) return (c = de(e.layout.highlightColor)) != null ? c : "#F4F4F4";
|
|
5316
|
+
if (l && d) return (g = de(e.layoutSelected.highlightColor)) != null ? g : "#F4F4F4";
|
|
5317
5317
|
})(n, t),
|
|
5318
5318
|
fontSize: 13,
|
|
5319
5319
|
display: "flex",
|
|
@@ -5355,14 +5355,14 @@ const Tr = (t, e) => {
|
|
|
5355
5355
|
onBlur: l,
|
|
5356
5356
|
parentElementRef: d,
|
|
5357
5357
|
controlLayout: p,
|
|
5358
|
-
pickerLayout:
|
|
5358
|
+
pickerLayout: f
|
|
5359
5359
|
}) => {
|
|
5360
|
-
var H, K,
|
|
5361
|
-
const [c, g] = Me(!1), [w,
|
|
5360
|
+
var H, K, ue, ce, we, ve, ee, z;
|
|
5361
|
+
const [c, g] = Me(!1), [w, h] = Me(i), [m, S] = Me("down"), [C, b] = Me(null), I = it(null), k = it(null);
|
|
5362
5362
|
Zt(() => {
|
|
5363
5363
|
var re, $, Q;
|
|
5364
5364
|
if (!c) return;
|
|
5365
|
-
const L = (re = I.current) == null ? void 0 : re.getBoundingClientRect(), Y = ($ =
|
|
5365
|
+
const L = (re = I.current) == null ? void 0 : re.getBoundingClientRect(), Y = ($ = k.current) == null ? void 0 : $.getBoundingClientRect(), te = (Q = d.current) == null ? void 0 : Q.getBoundingClientRect();
|
|
5366
5366
|
if (!L || !Y || !te) return;
|
|
5367
5367
|
const Se = L.bottom + Y.height < te.bottom;
|
|
5368
5368
|
S(Se ? "down" : "up");
|
|
@@ -5371,24 +5371,24 @@ const Tr = (t, e) => {
|
|
|
5371
5371
|
}, [w]);
|
|
5372
5372
|
const N = (L) => (Y) => {
|
|
5373
5373
|
var te;
|
|
5374
|
-
Y.stopPropagation(), (Y.type === "touchend" || ((te = Y.nativeEvent) == null ? void 0 : te.pointerType) === "touch") && b(null), a && g(!1),
|
|
5374
|
+
Y.stopPropagation(), (Y.type === "touchend" || ((te = Y.nativeEvent) == null ? void 0 : te.pointerType) === "touch") && b(null), a && g(!1), h((Se) => r ? Se.some(($) => $.value === L.value) ? Se.filter(($) => $.value !== L.value) : [...Se, L] : [L]);
|
|
5375
5375
|
}, R = () => {
|
|
5376
5376
|
l && l(), g(!1);
|
|
5377
|
-
},
|
|
5378
|
-
Y.stopPropagation(),
|
|
5377
|
+
}, ae = (L) => (Y) => {
|
|
5378
|
+
Y.stopPropagation(), h((te) => te.filter((Se) => Se.value !== L.value));
|
|
5379
5379
|
}, _e = (L) => {
|
|
5380
|
-
L.stopPropagation(),
|
|
5381
|
-
},
|
|
5380
|
+
L.stopPropagation(), h([]);
|
|
5381
|
+
}, le = (H = de(p == null ? void 0 : p.borderColor)) != null ? H : "#D9D9D9", Z = (K = de(p == null ? void 0 : p.highlightBorderColor)) != null ? K : "#7E57C5";
|
|
5382
5382
|
return /* @__PURE__ */ u("div", { "data-ui": "gui-custom-select", ref: I, children: /* @__PURE__ */ u(
|
|
5383
5383
|
"div",
|
|
5384
5384
|
{
|
|
5385
5385
|
"data-ui": "gui-select-name-" + t,
|
|
5386
5386
|
style: {
|
|
5387
|
-
backgroundColor:
|
|
5387
|
+
backgroundColor: de(p == null ? void 0 : p.backgroundColor),
|
|
5388
5388
|
borderStyle: "solid",
|
|
5389
|
-
borderColor: c ? Z :
|
|
5390
|
-
borderWidth: (
|
|
5391
|
-
borderRadius: (
|
|
5389
|
+
borderColor: c ? Z : le,
|
|
5390
|
+
borderWidth: (ue = p == null ? void 0 : p.borderWidth) != null ? ue : 1,
|
|
5391
|
+
borderRadius: (ce = p == null ? void 0 : p.cornerRadius) != null ? ce : 8,
|
|
5392
5392
|
minHeight: "41px",
|
|
5393
5393
|
position: "relative",
|
|
5394
5394
|
zIndex: "auto",
|
|
@@ -5436,7 +5436,7 @@ const Tr = (t, e) => {
|
|
|
5436
5436
|
padding: "0px 5px",
|
|
5437
5437
|
display: "flex",
|
|
5438
5438
|
gap: 8,
|
|
5439
|
-
backgroundColor: (Y =
|
|
5439
|
+
backgroundColor: (Y = de(Q == null ? void 0 : Q.backgroundColor)) != null ? Y : "#F2F2F2",
|
|
5440
5440
|
borderRadius: (te = Q == null ? void 0 : Q.cornerRadius) != null ? te : 4,
|
|
5441
5441
|
userSelect: "none",
|
|
5442
5442
|
alignItems: "center"
|
|
@@ -5459,7 +5459,7 @@ const Tr = (t, e) => {
|
|
|
5459
5459
|
width: "16px",
|
|
5460
5460
|
height: "16px"
|
|
5461
5461
|
},
|
|
5462
|
-
onClick:
|
|
5462
|
+
onClick: ae(L),
|
|
5463
5463
|
children: Q != null && Q.removeImage ? /* @__PURE__ */ u($e, O({}, Q.removeImage)) : /* @__PURE__ */ u($e, { imageId: "cross" })
|
|
5464
5464
|
}
|
|
5465
5465
|
)
|
|
@@ -5515,18 +5515,18 @@ const Tr = (t, e) => {
|
|
|
5515
5515
|
"div",
|
|
5516
5516
|
{
|
|
5517
5517
|
"data-ui": "gui-custom-select-dropdown-menu",
|
|
5518
|
-
ref:
|
|
5518
|
+
ref: k,
|
|
5519
5519
|
style: X(O({
|
|
5520
5520
|
position: "absolute"
|
|
5521
5521
|
}, m === "down" ? { top: "calc(100% + 1px)" } : { bottom: "calc(100% + 1px)" }), {
|
|
5522
5522
|
left: 0,
|
|
5523
5523
|
border: "1px solid #e8e8e8",
|
|
5524
5524
|
width: "100%",
|
|
5525
|
-
backgroundColor: (we =
|
|
5526
|
-
borderRadius: (ve =
|
|
5525
|
+
backgroundColor: (we = de(f == null ? void 0 : f.backgroundColor)) != null ? we : "#ffffff",
|
|
5526
|
+
borderRadius: (ve = f == null ? void 0 : f.cornerRadius) != null ? ve : 8,
|
|
5527
5527
|
borderStyle: "solid",
|
|
5528
|
-
borderColor: (ee =
|
|
5529
|
-
borderWidth: (z =
|
|
5528
|
+
borderColor: (ee = de(f == null ? void 0 : f.borderColor)) != null ? ee : "#D9D9D9",
|
|
5529
|
+
borderWidth: (z = f == null ? void 0 : f.borderWidth) != null ? z : 1,
|
|
5530
5530
|
maxHeight: "500px",
|
|
5531
5531
|
overflow: "auto",
|
|
5532
5532
|
zIndex: 2,
|
|
@@ -5694,13 +5694,13 @@ const Tr = (t, e) => {
|
|
|
5694
5694
|
register: n,
|
|
5695
5695
|
watch: i
|
|
5696
5696
|
}) => {
|
|
5697
|
-
const [o, s] = Me(!1), a = cl(), l = String(r.id), p = i(l) === String(t.id),
|
|
5698
|
-
backgroundColor:
|
|
5697
|
+
const [o, s] = Me(!1), a = cl(), l = String(r.id), p = i(l) === String(t.id), f = e.option, c = e.optionSelected, g = {
|
|
5698
|
+
backgroundColor: de(c.backgroundColor),
|
|
5699
5699
|
borderRadius: c.cornerRadius
|
|
5700
5700
|
}, w = {
|
|
5701
|
-
backgroundColor:
|
|
5702
|
-
borderRadius:
|
|
5703
|
-
},
|
|
5701
|
+
backgroundColor: de(f.backgroundColor),
|
|
5702
|
+
borderRadius: f.cornerRadius
|
|
5703
|
+
}, h = o && a ? { filter: `drop-shadow(0 0 1px ${Xr})` } : {};
|
|
5704
5704
|
return /* @__PURE__ */ u("div", { children: /* @__PURE__ */ u(
|
|
5705
5705
|
"label",
|
|
5706
5706
|
{
|
|
@@ -5719,11 +5719,11 @@ const Tr = (t, e) => {
|
|
|
5719
5719
|
display: "flex",
|
|
5720
5720
|
alignItems: "center",
|
|
5721
5721
|
alignContent: "center"
|
|
5722
|
-
},
|
|
5723
|
-
children: /* @__PURE__ */ u($e, O({}, p ? c.image :
|
|
5722
|
+
}, h),
|
|
5723
|
+
children: /* @__PURE__ */ u($e, O({}, p ? c.image : f.image))
|
|
5724
5724
|
}
|
|
5725
5725
|
),
|
|
5726
|
-
/* @__PURE__ */ u(Oe, X(O({}, p ? c.title :
|
|
5726
|
+
/* @__PURE__ */ u(Oe, X(O({}, p ? c.title : f.title), { text: t.text })),
|
|
5727
5727
|
/* @__PURE__ */ u(
|
|
5728
5728
|
"input",
|
|
5729
5729
|
X(O({
|
|
@@ -5798,17 +5798,17 @@ const Tr = (t, e) => {
|
|
|
5798
5798
|
register: n,
|
|
5799
5799
|
watch: i
|
|
5800
5800
|
}) => {
|
|
5801
|
-
const [o, s] = Me(!1), a = cl(), l = String(r.id), p = i(l) === String(t.id),
|
|
5802
|
-
borderRadius:
|
|
5803
|
-
background:
|
|
5804
|
-
borderColor:
|
|
5805
|
-
borderWidth:
|
|
5801
|
+
const [o, s] = Me(!1), a = cl(), l = String(r.id), p = i(l) === String(t.id), f = e.option, c = e.optionSelected, g = {
|
|
5802
|
+
borderRadius: f.cornerRadius,
|
|
5803
|
+
background: de(f.backgroundColor),
|
|
5804
|
+
borderColor: de(f.borderColor),
|
|
5805
|
+
borderWidth: f.borderWidth
|
|
5806
5806
|
}, w = {
|
|
5807
5807
|
borderRadius: c.cornerRadius,
|
|
5808
|
-
background:
|
|
5809
|
-
borderColor:
|
|
5808
|
+
background: de(c.backgroundColor),
|
|
5809
|
+
borderColor: de(c.borderColor),
|
|
5810
5810
|
borderWidth: c.borderWidth
|
|
5811
|
-
},
|
|
5811
|
+
}, h = o && a ? { outline: `2px solid ${Xr}` } : {};
|
|
5812
5812
|
return /* @__PURE__ */ u(
|
|
5813
5813
|
"div",
|
|
5814
5814
|
{
|
|
@@ -5825,7 +5825,7 @@ const Tr = (t, e) => {
|
|
|
5825
5825
|
cursor: "pointer",
|
|
5826
5826
|
borderStyle: "solid",
|
|
5827
5827
|
position: "relative"
|
|
5828
|
-
}, p ? w : g),
|
|
5828
|
+
}, p ? w : g), h),
|
|
5829
5829
|
children: [
|
|
5830
5830
|
/* @__PURE__ */ u(
|
|
5831
5831
|
"input",
|
|
@@ -5850,7 +5850,7 @@ const Tr = (t, e) => {
|
|
|
5850
5850
|
onBlur: () => s(!1)
|
|
5851
5851
|
})
|
|
5852
5852
|
),
|
|
5853
|
-
/* @__PURE__ */ u(Oe, X(O({}, p ? c.title :
|
|
5853
|
+
/* @__PURE__ */ u(Oe, X(O({}, p ? c.title : f.title), { text: t.text }))
|
|
5854
5854
|
]
|
|
5855
5855
|
}
|
|
5856
5856
|
)
|
|
@@ -5910,12 +5910,12 @@ const Tr = (t, e) => {
|
|
|
5910
5910
|
width: "100%",
|
|
5911
5911
|
fontWeight: 300,
|
|
5912
5912
|
lineHeight: "140%",
|
|
5913
|
-
backgroundColor:
|
|
5913
|
+
backgroundColor: de(e) || "transparent",
|
|
5914
5914
|
borderRadius: r,
|
|
5915
5915
|
padding: "16px",
|
|
5916
5916
|
boxSizing: "border-box",
|
|
5917
5917
|
height: "auto"
|
|
5918
|
-
}, n && O(O({},
|
|
5918
|
+
}, n && O(O({}, de(o) && {
|
|
5919
5919
|
borderColor: o,
|
|
5920
5920
|
borderStyle: "solid"
|
|
5921
5921
|
}), s && { borderWidth: s }));
|
|
@@ -5924,7 +5924,7 @@ const Tr = (t, e) => {
|
|
|
5924
5924
|
"span",
|
|
5925
5925
|
{
|
|
5926
5926
|
style: {
|
|
5927
|
-
color:
|
|
5927
|
+
color: de(o),
|
|
5928
5928
|
position: "absolute",
|
|
5929
5929
|
left: "6px",
|
|
5930
5930
|
top: "18px"
|
|
@@ -5939,8 +5939,8 @@ const Tr = (t, e) => {
|
|
|
5939
5939
|
dataSourceQuestion: e,
|
|
5940
5940
|
register: r
|
|
5941
5941
|
}) => {
|
|
5942
|
-
var o, s, a, l, d, p,
|
|
5943
|
-
const n = String(e.id), i = (
|
|
5942
|
+
var o, s, a, l, d, p, f, c, g, w, h, m, S, C, b, I;
|
|
5943
|
+
const n = String(e.id), i = (k) => k ? k === kn.EMAIL ? "email" : k === kn.FREE_TEXT ? "text" : k === kn.NUMBER ? "number" : k === kn.SECURE ? "password" : "text" : "text";
|
|
5944
5944
|
return /* @__PURE__ */ u(
|
|
5945
5945
|
"div",
|
|
5946
5946
|
{
|
|
@@ -5962,16 +5962,16 @@ const Tr = (t, e) => {
|
|
|
5962
5962
|
style: {
|
|
5963
5963
|
fontFamily: (a = (s = t == null ? void 0 : t.textField) == null ? void 0 : s.fontName) != null ? a : "sans-serif",
|
|
5964
5964
|
fontSize: (d = (l = t == null ? void 0 : t.textField) == null ? void 0 : l.fontSize) != null ? d : 15,
|
|
5965
|
-
color: (
|
|
5965
|
+
color: (f = de((p = t == null ? void 0 : t.textField) == null ? void 0 : p.fontColor)) != null ? f : "#000000",
|
|
5966
5966
|
height: "42px",
|
|
5967
5967
|
borderWidth: (g = (c = t == null ? void 0 : t.textField) == null ? void 0 : c.borderWidth) != null ? g : 1,
|
|
5968
|
-
borderColor: (
|
|
5968
|
+
borderColor: (h = de((w = t == null ? void 0 : t.textField) == null ? void 0 : w.borderColor)) != null ? h : "#d9d9d9",
|
|
5969
5969
|
borderStyle: "solid",
|
|
5970
5970
|
borderRadius: (S = (m = t == null ? void 0 : t.textField) == null ? void 0 : m.cornerRadius) != null ? S : 8,
|
|
5971
5971
|
padding: "11px",
|
|
5972
5972
|
boxSizing: "border-box",
|
|
5973
|
-
backgroundColor: (b =
|
|
5974
|
-
outlineColor:
|
|
5973
|
+
backgroundColor: (b = de((C = t == null ? void 0 : t.textField) == null ? void 0 : C.backgroundColor)) != null ? b : "#FFFFFF",
|
|
5974
|
+
outlineColor: Xr
|
|
5975
5975
|
},
|
|
5976
5976
|
placeholder: (I = e.placeholder) != null ? I : "",
|
|
5977
5977
|
"data-id": n
|
|
@@ -5985,7 +5985,7 @@ const Tr = (t, e) => {
|
|
|
5985
5985
|
dataSourceQuestion: e,
|
|
5986
5986
|
register: r
|
|
5987
5987
|
}) => {
|
|
5988
|
-
var i, o, s, a, l, d, p,
|
|
5988
|
+
var i, o, s, a, l, d, p, f, c, g, w, h, m;
|
|
5989
5989
|
const n = String(e.id);
|
|
5990
5990
|
return /* @__PURE__ */ u(
|
|
5991
5991
|
"div",
|
|
@@ -6012,19 +6012,19 @@ const Tr = (t, e) => {
|
|
|
6012
6012
|
style: {
|
|
6013
6013
|
fontFamily: "sans-serif",
|
|
6014
6014
|
fontSize: (s = (o = t == null ? void 0 : t.textField) == null ? void 0 : o.fontSize) != null ? s : 15,
|
|
6015
|
-
color: (l =
|
|
6015
|
+
color: (l = de((a = t == null ? void 0 : t.textField) == null ? void 0 : a.fontColor)) != null ? l : "#000000",
|
|
6016
6016
|
resize: "none",
|
|
6017
6017
|
overflow: "hidden",
|
|
6018
6018
|
height: "42px",
|
|
6019
6019
|
minHeight: "42px",
|
|
6020
6020
|
borderWidth: (p = (d = t == null ? void 0 : t.textField) == null ? void 0 : d.borderWidth) != null ? p : 1,
|
|
6021
|
-
borderColor: (c =
|
|
6021
|
+
borderColor: (c = de((f = t == null ? void 0 : t.textField) == null ? void 0 : f.borderColor)) != null ? c : "#d9d9d9",
|
|
6022
6022
|
borderStyle: "solid",
|
|
6023
6023
|
borderRadius: (w = (g = t == null ? void 0 : t.textField) == null ? void 0 : g.cornerRadius) != null ? w : 8,
|
|
6024
6024
|
padding: "11px",
|
|
6025
6025
|
boxSizing: "border-box",
|
|
6026
|
-
backgroundColor: (m =
|
|
6027
|
-
outlineColor:
|
|
6026
|
+
backgroundColor: (m = de((h = t == null ? void 0 : t.textField) == null ? void 0 : h.backgroundColor)) != null ? m : "#FFFFFF",
|
|
6027
|
+
outlineColor: Xr
|
|
6028
6028
|
}
|
|
6029
6029
|
})
|
|
6030
6030
|
)
|
|
@@ -6053,13 +6053,13 @@ const Tr = (t, e) => {
|
|
|
6053
6053
|
}
|
|
6054
6054
|
};
|
|
6055
6055
|
Lt.MODULE = Kn, Lt.ERROR_ENUM_NAME = "GuiModuleError", Lt.SHORT_CODE = "GM";
|
|
6056
|
-
let
|
|
6056
|
+
let Kr = Lt;
|
|
6057
6057
|
const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSource: o, properties: s, backgroundColor: a }) => {
|
|
6058
|
-
const l = Ka(r), { perform: d } = ur(), p = s ? Ed(o.questions, s) : {},
|
|
6058
|
+
const l = Ka(r), { perform: d } = ur(), p = s ? Ed(o.questions, s) : {}, f = it(null), {
|
|
6059
6059
|
register: c,
|
|
6060
6060
|
handleSubmit: g,
|
|
6061
6061
|
formState: { errors: w },
|
|
6062
|
-
reset:
|
|
6062
|
+
reset: h,
|
|
6063
6063
|
watch: m,
|
|
6064
6064
|
control: S
|
|
6065
6065
|
} = Nu({
|
|
@@ -6070,7 +6070,7 @@ const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
|
|
|
6070
6070
|
"form",
|
|
6071
6071
|
{
|
|
6072
6072
|
onSubmit: g((b) => {
|
|
6073
|
-
d(Cd(b), l),
|
|
6073
|
+
d(Cd(b), l), h();
|
|
6074
6074
|
}),
|
|
6075
6075
|
style: {
|
|
6076
6076
|
height: "100%",
|
|
@@ -6096,9 +6096,9 @@ const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
|
|
|
6096
6096
|
width: "100%",
|
|
6097
6097
|
overflow: "auto",
|
|
6098
6098
|
position: "relative",
|
|
6099
|
-
backgroundColor:
|
|
6099
|
+
backgroundColor: de(i.backgroundColor) || "transparent"
|
|
6100
6100
|
},
|
|
6101
|
-
ref:
|
|
6101
|
+
ref: f,
|
|
6102
6102
|
children: [
|
|
6103
6103
|
e && /** Screen title */
|
|
6104
6104
|
/* @__PURE__ */ u("div", { style: { lineHeight: "39.2px", width: "100%" }, children: /* @__PURE__ */ u(Oe, O({}, e)) }),
|
|
@@ -6109,21 +6109,21 @@ const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
|
|
|
6109
6109
|
part: "gui-questions",
|
|
6110
6110
|
style: { width: "100%", display: "flex", gap: "10px", flexDirection: "column" },
|
|
6111
6111
|
children: o.questions.map((b) => {
|
|
6112
|
-
var
|
|
6113
|
-
const I = o.static,
|
|
6114
|
-
var
|
|
6115
|
-
if ((
|
|
6116
|
-
return K.questionIds.find((
|
|
6117
|
-
}), N = (Z, H) => H.find((K) => !K.questionIds && K.answerType === Z), R = I ?
|
|
6112
|
+
var le;
|
|
6113
|
+
const I = o.static, k = (Z, H) => H.find((K) => {
|
|
6114
|
+
var ue;
|
|
6115
|
+
if ((ue = K.questionIds) != null && ue.length)
|
|
6116
|
+
return K.questionIds.find((ce) => Z === ce);
|
|
6117
|
+
}), N = (Z, H) => H.find((K) => !K.questionIds && K.answerType === Z), R = I ? k(String(b.id), i.itemTypes) || N(b.answerType, i.itemTypes) : i.itemTypes.find((Z) => Z.answerType === b.answerType);
|
|
6118
6118
|
if (!R) {
|
|
6119
|
-
const Z = new
|
|
6119
|
+
const Z = new Kr({
|
|
6120
6120
|
errorCode: Gn.DECODING_FAILED,
|
|
6121
6121
|
message: "The question template has not been found"
|
|
6122
6122
|
});
|
|
6123
6123
|
d(Z);
|
|
6124
6124
|
return;
|
|
6125
6125
|
}
|
|
6126
|
-
const
|
|
6126
|
+
const ae = R == null ? void 0 : R.displayType, _e = b.id in w && ((le = w[b.id]) == null ? void 0 : le.types);
|
|
6127
6127
|
return (
|
|
6128
6128
|
/** Question */
|
|
6129
6129
|
/* @__PURE__ */ u(We, { children: [
|
|
@@ -6137,7 +6137,7 @@ const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
|
|
|
6137
6137
|
validationBorderColor: R == null ? void 0 : R.validationBorderColor,
|
|
6138
6138
|
validationBorderWidth: R == null ? void 0 : R.validationBorderWidth,
|
|
6139
6139
|
children: [
|
|
6140
|
-
|
|
6140
|
+
ae === pr.TEXT_EXPANDABLE && /* @__PURE__ */ u(
|
|
6141
6141
|
ju,
|
|
6142
6142
|
{
|
|
6143
6143
|
layout: R,
|
|
@@ -6145,7 +6145,7 @@ const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
|
|
|
6145
6145
|
register: c
|
|
6146
6146
|
}
|
|
6147
6147
|
),
|
|
6148
|
-
|
|
6148
|
+
ae === pr.TEXT_SINGLE_LINE && /* @__PURE__ */ u(
|
|
6149
6149
|
Wu,
|
|
6150
6150
|
{
|
|
6151
6151
|
layout: R,
|
|
@@ -6153,7 +6153,7 @@ const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
|
|
|
6153
6153
|
register: c
|
|
6154
6154
|
}
|
|
6155
6155
|
),
|
|
6156
|
-
|
|
6156
|
+
ae === pr.SELECTOR_OPTIONS && /* @__PURE__ */ u(
|
|
6157
6157
|
Uu,
|
|
6158
6158
|
{
|
|
6159
6159
|
layout: R,
|
|
@@ -6162,7 +6162,7 @@ const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
|
|
|
6162
6162
|
register: c
|
|
6163
6163
|
}
|
|
6164
6164
|
),
|
|
6165
|
-
|
|
6165
|
+
ae === pr.SELECTOR_BUTTONS && /* @__PURE__ */ u(
|
|
6166
6166
|
$u,
|
|
6167
6167
|
{
|
|
6168
6168
|
layout: R,
|
|
@@ -6171,22 +6171,22 @@ const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
|
|
|
6171
6171
|
register: c
|
|
6172
6172
|
}
|
|
6173
6173
|
),
|
|
6174
|
-
|
|
6174
|
+
ae === pr.SELECTOR_DROPDOWN && /* @__PURE__ */ u(
|
|
6175
6175
|
Pu,
|
|
6176
6176
|
{
|
|
6177
6177
|
control: S,
|
|
6178
6178
|
layout: R,
|
|
6179
6179
|
dataSourceQuestion: b,
|
|
6180
|
-
parentElementRef:
|
|
6180
|
+
parentElementRef: f
|
|
6181
6181
|
}
|
|
6182
6182
|
),
|
|
6183
|
-
|
|
6183
|
+
ae === pr.MULTI_SELECTOR_DROPDOWN && /* @__PURE__ */ u(
|
|
6184
6184
|
Fu,
|
|
6185
6185
|
{
|
|
6186
6186
|
control: S,
|
|
6187
6187
|
layout: R,
|
|
6188
6188
|
dataSourceQuestion: b,
|
|
6189
|
-
parentElementRef:
|
|
6189
|
+
parentElementRef: f
|
|
6190
6190
|
}
|
|
6191
6191
|
)
|
|
6192
6192
|
]
|
|
@@ -6259,7 +6259,7 @@ const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
|
|
|
6259
6259
|
backgroundColor: n,
|
|
6260
6260
|
selectionLimit: i
|
|
6261
6261
|
}) => {
|
|
6262
|
-
var p,
|
|
6262
|
+
var p, f;
|
|
6263
6263
|
const { perform: o } = ur(), s = it(null), a = typeof i == "number" && (i === 0 || i > 1), l = (c) => F(null, null, function* () {
|
|
6264
6264
|
var w;
|
|
6265
6265
|
const g = Array.from((w = c.currentTarget.files) != null ? w : []);
|
|
@@ -6285,8 +6285,8 @@ const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
|
|
|
6285
6285
|
permissionDenied: !1,
|
|
6286
6286
|
files: m
|
|
6287
6287
|
});
|
|
6288
|
-
} catch (
|
|
6289
|
-
console.error("Error: ",
|
|
6288
|
+
} catch (h) {
|
|
6289
|
+
console.error("Error: ", h);
|
|
6290
6290
|
}
|
|
6291
6291
|
}), d = () => {
|
|
6292
6292
|
var c;
|
|
@@ -6310,7 +6310,7 @@ const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
|
|
|
6310
6310
|
onInput: l
|
|
6311
6311
|
})
|
|
6312
6312
|
),
|
|
6313
|
-
/* @__PURE__ */ u("button", { style: Gu, onClick: d, children: /* @__PURE__ */ u($e, { imageId: (
|
|
6313
|
+
/* @__PURE__ */ u("button", { style: Gu, onClick: d, children: /* @__PURE__ */ u($e, { imageId: (f = (p = r == null ? void 0 : r[0]) == null ? void 0 : p.image) == null ? void 0 : f.imageId }) })
|
|
6314
6314
|
]
|
|
6315
6315
|
}
|
|
6316
6316
|
) }) });
|
|
@@ -6342,7 +6342,7 @@ const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
|
|
|
6342
6342
|
buttons: n,
|
|
6343
6343
|
selectionLimit: i
|
|
6344
6344
|
}) => {
|
|
6345
|
-
var p,
|
|
6345
|
+
var p, f;
|
|
6346
6346
|
const { perform: o } = ur(), s = it(null), a = typeof i == "number" && (i === 0 || i > 1), l = (c) => F(null, null, function* () {
|
|
6347
6347
|
var w;
|
|
6348
6348
|
const g = Array.from((w = c.currentTarget.files) != null ? w : []);
|
|
@@ -6368,8 +6368,8 @@ const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
|
|
|
6368
6368
|
permissionDenied: !1,
|
|
6369
6369
|
files: m
|
|
6370
6370
|
});
|
|
6371
|
-
} catch (
|
|
6372
|
-
console.error("Error: ",
|
|
6371
|
+
} catch (h) {
|
|
6372
|
+
console.error("Error: ", h);
|
|
6373
6373
|
}
|
|
6374
6374
|
}), d = () => F(null, null, function* () {
|
|
6375
6375
|
var c;
|
|
@@ -6404,7 +6404,7 @@ const zu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
|
|
|
6404
6404
|
onInput: l
|
|
6405
6405
|
})
|
|
6406
6406
|
),
|
|
6407
|
-
/* @__PURE__ */ u("button", { style: Ju, onClick: d, children: /* @__PURE__ */ u($e, { imageId: (
|
|
6407
|
+
/* @__PURE__ */ u("button", { style: Ju, onClick: d, children: /* @__PURE__ */ u($e, { imageId: (f = (p = n == null ? void 0 : n[0]) == null ? void 0 : p.image) == null ? void 0 : f.imageId }) })
|
|
6408
6408
|
]
|
|
6409
6409
|
}
|
|
6410
6410
|
) }) });
|
|
@@ -6433,7 +6433,7 @@ const Li = () => F(null, null, function* () {
|
|
|
6433
6433
|
} catch (t) {
|
|
6434
6434
|
return null;
|
|
6435
6435
|
}
|
|
6436
|
-
}),
|
|
6436
|
+
}), Rr = (t) => F(null, null, function* () {
|
|
6437
6437
|
return new Promise((e) => {
|
|
6438
6438
|
if (!navigator.geolocation)
|
|
6439
6439
|
return e({
|
|
@@ -6548,35 +6548,36 @@ const Li = () => F(null, null, function* () {
|
|
|
6548
6548
|
description: i,
|
|
6549
6549
|
buttons: o,
|
|
6550
6550
|
backgroundColor: s,
|
|
6551
|
-
popups: a
|
|
6551
|
+
popups: a,
|
|
6552
|
+
askEveryTime: l
|
|
6552
6553
|
}) => {
|
|
6553
|
-
const
|
|
6554
|
+
const d = Ka(o), { perform: p } = ur(), { setIsProcessingCallback: f } = yd(), { ref: c, isPopoverOpen: g, openPopover: w, closePopover: h } = e1(), m = {
|
|
6554
6555
|
enableHighAccuracy: !0,
|
|
6555
6556
|
timeout: 15e3,
|
|
6556
6557
|
maximumAge: 6e4
|
|
6557
|
-
},
|
|
6558
|
+
}, S = a == null ? void 0 : a.find((k) => k.reason === "system_restricted");
|
|
6558
6559
|
Zt(() => {
|
|
6559
|
-
Je.isSafari ||
|
|
6560
|
+
Je.isSafari || l || f == null || f(!0);
|
|
6560
6561
|
}, []), nt(() => {
|
|
6561
|
-
if (Je.isSafari) return;
|
|
6562
|
-
let
|
|
6562
|
+
if (Je.isSafari || l) return;
|
|
6563
|
+
let k = !0;
|
|
6563
6564
|
return F(null, null, function* () {
|
|
6564
6565
|
if ((yield Li()) !== "granted") {
|
|
6565
|
-
|
|
6566
|
+
f == null || f(!1);
|
|
6566
6567
|
return;
|
|
6567
6568
|
}
|
|
6568
|
-
const
|
|
6569
|
-
|
|
6569
|
+
const R = yield Rr(m);
|
|
6570
|
+
k && p(R, d);
|
|
6570
6571
|
}), () => {
|
|
6571
|
-
Je.isSafari || (
|
|
6572
|
+
Je.isSafari || l || (k = !1);
|
|
6572
6573
|
};
|
|
6573
6574
|
}, []), nt(() => {
|
|
6574
6575
|
if (Je.isSafari) return;
|
|
6575
|
-
let
|
|
6576
|
+
let k = !0, N = null;
|
|
6576
6577
|
return F(null, null, function* () {
|
|
6577
|
-
const
|
|
6578
|
-
|
|
6579
|
-
if (
|
|
6578
|
+
const R = yield t1();
|
|
6579
|
+
R && (N = R, R.onchange = () => F(null, null, function* () {
|
|
6580
|
+
if (R.state === "denied" && (f == null || f(!0), p(
|
|
6580
6581
|
{
|
|
6581
6582
|
location: {
|
|
6582
6583
|
locationState: "application_location_restricted",
|
|
@@ -6585,36 +6586,39 @@ const Li = () => F(null, null, function* () {
|
|
|
6585
6586
|
error: "Application location services restricted or unavailable"
|
|
6586
6587
|
}
|
|
6587
6588
|
},
|
|
6588
|
-
|
|
6589
|
-
)),
|
|
6590
|
-
|
|
6591
|
-
const
|
|
6592
|
-
if (!
|
|
6593
|
-
|
|
6589
|
+
d
|
|
6590
|
+
)), R.state === "granted") {
|
|
6591
|
+
f == null || f(!0);
|
|
6592
|
+
const ae = yield Rr(m);
|
|
6593
|
+
if (!k) return;
|
|
6594
|
+
p(ae, d);
|
|
6594
6595
|
}
|
|
6595
6596
|
}));
|
|
6596
6597
|
}), () => {
|
|
6597
|
-
Je.isSafari || (
|
|
6598
|
+
Je.isSafari || (k = !1, N && (N.onchange = null));
|
|
6598
6599
|
};
|
|
6599
6600
|
}, []);
|
|
6600
|
-
const
|
|
6601
|
-
|
|
6602
|
-
const
|
|
6603
|
-
if (
|
|
6604
|
-
|
|
6601
|
+
const C = (k) => F(null, null, function* () {
|
|
6602
|
+
k.preventDefault();
|
|
6603
|
+
const N = yield Li();
|
|
6604
|
+
if (N === "denied") {
|
|
6605
|
+
w();
|
|
6605
6606
|
return;
|
|
6606
6607
|
}
|
|
6607
|
-
|
|
6608
|
-
|
|
6609
|
-
|
|
6610
|
-
|
|
6608
|
+
if (N === "prompt" && (yield Rr()), N === "granted") {
|
|
6609
|
+
const R = yield Rr(m);
|
|
6610
|
+
p(R, d);
|
|
6611
|
+
}
|
|
6612
|
+
}), b = (k) => F(null, null, function* () {
|
|
6613
|
+
if (k.preventDefault(), (yield Li()) === "denied") {
|
|
6614
|
+
w();
|
|
6611
6615
|
return;
|
|
6612
6616
|
}
|
|
6613
|
-
|
|
6614
|
-
const
|
|
6615
|
-
|
|
6616
|
-
}),
|
|
6617
|
-
|
|
6617
|
+
f == null || f(!0);
|
|
6618
|
+
const R = yield Rr(m);
|
|
6619
|
+
p(R, d);
|
|
6620
|
+
}), I = (k) => {
|
|
6621
|
+
k.preventDefault(), h();
|
|
6618
6622
|
};
|
|
6619
6623
|
return /* @__PURE__ */ u(Yt, { header: e, footer: r, backgroundColor: s, children: [
|
|
6620
6624
|
/* @__PURE__ */ u("div", { style: r1, children: [
|
|
@@ -6630,46 +6634,46 @@ const Li = () => F(null, null, function* () {
|
|
|
6630
6634
|
display: "flex",
|
|
6631
6635
|
flexDirection: "column"
|
|
6632
6636
|
},
|
|
6633
|
-
children: o.map((
|
|
6637
|
+
children: o.map((k, N) => /* @__PURE__ */ u("div", { style: { padding: "5px" }, children: /* @__PURE__ */ u(
|
|
6634
6638
|
qn,
|
|
6635
6639
|
O(O({
|
|
6636
6640
|
dataTestId: "question-button"
|
|
6637
|
-
},
|
|
6638
|
-
onClick: Je.isSafari ?
|
|
6641
|
+
}, k), k.type === "FORM" ? {
|
|
6642
|
+
onClick: Je.isSafari ? b : C
|
|
6639
6643
|
} : {})
|
|
6640
|
-
) },
|
|
6644
|
+
) }, N))
|
|
6641
6645
|
}
|
|
6642
6646
|
)
|
|
6643
6647
|
] }),
|
|
6644
|
-
|
|
6648
|
+
S && /* @__PURE__ */ u(
|
|
6645
6649
|
"div",
|
|
6646
6650
|
{
|
|
6647
|
-
ref:
|
|
6651
|
+
ref: c,
|
|
6648
6652
|
popover: "manual",
|
|
6649
6653
|
role: "dialog",
|
|
6650
6654
|
"aria-modal": "true",
|
|
6651
6655
|
style: X(O({}, l1), {
|
|
6652
|
-
borderRadius:
|
|
6653
|
-
backgroundColor:
|
|
6656
|
+
borderRadius: S.cornerRadius || "27px",
|
|
6657
|
+
backgroundColor: S.backgroundColor || "#ffffff"
|
|
6654
6658
|
}),
|
|
6655
6659
|
children: [
|
|
6656
|
-
/* @__PURE__ */ u("div", { style: c1, children: /* @__PURE__ */ u(Oe, O({}, O({ fontSize: "24px" },
|
|
6657
|
-
/* @__PURE__ */ u("div", { style: d1, children: /* @__PURE__ */ u("div", { style: u1, children: /* @__PURE__ */ u(Oe, O({}, O({ fontSize: "17px" },
|
|
6658
|
-
|
|
6660
|
+
/* @__PURE__ */ u("div", { style: c1, children: /* @__PURE__ */ u(Oe, O({}, O({ fontSize: "24px" }, S.title))) }),
|
|
6661
|
+
/* @__PURE__ */ u("div", { style: d1, children: /* @__PURE__ */ u("div", { style: u1, children: /* @__PURE__ */ u(Oe, O({}, O({ fontSize: "17px" }, S.message))) }) }),
|
|
6662
|
+
S.actionButton1 && /* @__PURE__ */ u("div", { style: f1, children: /* @__PURE__ */ u(
|
|
6659
6663
|
qn,
|
|
6660
6664
|
O(O({
|
|
6661
6665
|
dataTestId: "question-button"
|
|
6662
|
-
},
|
|
6666
|
+
}, S.actionButton1), S.actionButton1.type === "FORM" ? { onClick: I } : {})
|
|
6663
6667
|
) })
|
|
6664
6668
|
]
|
|
6665
6669
|
}
|
|
6666
6670
|
),
|
|
6667
|
-
|
|
6671
|
+
g && /* @__PURE__ */ u(
|
|
6668
6672
|
"div",
|
|
6669
6673
|
{
|
|
6670
6674
|
style: i1,
|
|
6671
|
-
onPointerDown: (
|
|
6672
|
-
|
|
6675
|
+
onPointerDown: (k) => {
|
|
6676
|
+
k.preventDefault(), k.stopPropagation(), h();
|
|
6673
6677
|
}
|
|
6674
6678
|
}
|
|
6675
6679
|
)
|
|
@@ -6715,7 +6719,8 @@ const Li = () => F(null, null, function* () {
|
|
|
6715
6719
|
description: r.description,
|
|
6716
6720
|
buttons: r.buttons,
|
|
6717
6721
|
backgroundColor: r.backgroundColor,
|
|
6718
|
-
popups: r.popups
|
|
6722
|
+
popups: r.popups,
|
|
6723
|
+
askEveryTime: r.askEveryTime
|
|
6719
6724
|
}
|
|
6720
6725
|
);
|
|
6721
6726
|
if (e === ct.PROGRESS)
|
|
@@ -6778,13 +6783,13 @@ const Li = () => F(null, null, function* () {
|
|
|
6778
6783
|
s
|
|
6779
6784
|
);
|
|
6780
6785
|
if (e === ct.QUESTIONS && !n) {
|
|
6781
|
-
const l = new
|
|
6786
|
+
const l = new Kr({
|
|
6782
6787
|
errorCode: Gn.DECODING_FAILED,
|
|
6783
6788
|
message: "No data for questions"
|
|
6784
6789
|
});
|
|
6785
6790
|
return o(l), null;
|
|
6786
6791
|
}
|
|
6787
|
-
const a = new
|
|
6792
|
+
const a = new Kr({
|
|
6788
6793
|
errorCode: Gn.DECODING_FAILED,
|
|
6789
6794
|
message: "Unsupported step template"
|
|
6790
6795
|
});
|
|
@@ -6810,7 +6815,7 @@ const Bs = ({ children: t }) => /* @__PURE__ */ u("div", { part: "gui-idv", id:
|
|
|
6810
6815
|
templateLayout: i
|
|
6811
6816
|
}, e.backgroundColor ? { backgroundColor: e.backgroundColor } : {}), typeof e.selectionLimit == "number" ? { selectionLimit: e.selectionLimit } : {})
|
|
6812
6817
|
) }) });
|
|
6813
|
-
},
|
|
6818
|
+
}, Hr = class Hr extends gd {
|
|
6814
6819
|
constructor() {
|
|
6815
6820
|
super(), this._mounted = !1, this._shadowRoot = this.attachShadow({ mode: "open" }), this.props = null;
|
|
6816
6821
|
}
|
|
@@ -6878,8 +6883,8 @@ const Bs = ({ children: t }) => /* @__PURE__ */ u("div", { part: "gui-idv", id:
|
|
|
6878
6883
|
Ui = !1;
|
|
6879
6884
|
}
|
|
6880
6885
|
};
|
|
6881
|
-
|
|
6882
|
-
let Xn =
|
|
6886
|
+
Hr.displayName = Kn, Hr.getSupportedTemplates = () => Object.values(ct), Hr.getIdentifier = () => Kn;
|
|
6887
|
+
let Xn = Hr;
|
|
6883
6888
|
wd(Kn, Xn);
|
|
6884
6889
|
const _1 = (t, e) => ({
|
|
6885
6890
|
_isInitialized: !1,
|
|
@@ -6940,43 +6945,43 @@ const _1 = (t, e) => ({
|
|
|
6940
6945
|
}),
|
|
6941
6946
|
_continueSession: (n, i) => F(null, null, function* () {
|
|
6942
6947
|
var g;
|
|
6943
|
-
const o = e().startConfig, s = "apiKey" in o && typeof o.apiKey == "string", a = e().workflowId, l = i ?
|
|
6948
|
+
const o = e().startConfig, s = "apiKey" in o && typeof o.apiKey == "string", a = e().workflowId, l = i ? Pr.DID_CONTINUE_REMOTE_SESSION : Pr.DID_START_RESTORE_SESSION;
|
|
6944
6949
|
let d;
|
|
6945
6950
|
if (i)
|
|
6946
6951
|
d = i;
|
|
6947
6952
|
else if (s) {
|
|
6948
6953
|
if (!e().sessionRestoreMode) return {};
|
|
6949
|
-
const w = o.apiKey,
|
|
6954
|
+
const w = o.apiKey, h = nr.getAuthTokenLs(), m = h && ((g = h[w]) == null ? void 0 : g.sessionId);
|
|
6950
6955
|
if (!m) return {};
|
|
6951
6956
|
m && (d = m);
|
|
6952
6957
|
} else {
|
|
6953
6958
|
if (!e().sessionRestoreMode) return {};
|
|
6954
6959
|
const w = e().getCurrentSessionDataLs();
|
|
6955
6960
|
if (!w) return {};
|
|
6956
|
-
const
|
|
6957
|
-
if (!
|
|
6958
|
-
d =
|
|
6961
|
+
const h = w.sessionId, m = w.workflowId;
|
|
6962
|
+
if (!h || m !== a) return {};
|
|
6963
|
+
d = h;
|
|
6959
6964
|
}
|
|
6960
6965
|
const p = yield e().fetchService.continueSession(
|
|
6961
6966
|
d,
|
|
6962
6967
|
n
|
|
6963
|
-
),
|
|
6964
|
-
if (!Cs(
|
|
6965
|
-
return { error:
|
|
6966
|
-
const c =
|
|
6967
|
-
return e().setCurrentStepId(c), s ? e()._checkAndSetApiTokenToLs(
|
|
6968
|
-
sessionId:
|
|
6968
|
+
), f = e()._checkIsSessionDataValid(p.data);
|
|
6969
|
+
if (!Cs(f))
|
|
6970
|
+
return { error: f.error };
|
|
6971
|
+
const c = f.currentStep;
|
|
6972
|
+
return e().setCurrentStepId(c), s ? e()._checkAndSetApiTokenToLs(f.id) : e().setCurrentSessionDataLsAndStore({
|
|
6973
|
+
sessionId: f.id,
|
|
6969
6974
|
workflowId: a
|
|
6970
6975
|
}), e().setNextStep({
|
|
6971
|
-
workflow:
|
|
6972
|
-
properties:
|
|
6976
|
+
workflow: f.workflow,
|
|
6977
|
+
properties: f.properties,
|
|
6973
6978
|
nextStepId: c,
|
|
6974
|
-
locale:
|
|
6979
|
+
locale: f.locale
|
|
6975
6980
|
}), e().listener({
|
|
6976
6981
|
eventType: Fn.MESSAGE,
|
|
6977
6982
|
message: l,
|
|
6978
6983
|
module: "IDV"
|
|
6979
|
-
}),
|
|
6984
|
+
}), f;
|
|
6980
6985
|
}),
|
|
6981
6986
|
initialize(n) {
|
|
6982
6987
|
return F(this, null, function* () {
|
|
@@ -7040,15 +7045,15 @@ const _1 = (t, e) => ({
|
|
|
7040
7045
|
deviceDescriptor: {
|
|
7041
7046
|
ttl: l
|
|
7042
7047
|
}
|
|
7043
|
-
}, p = nr.getAuthTokenLs(),
|
|
7048
|
+
}, p = nr.getAuthTokenLs(), f = p && p[n.apiKey] && p[n.apiKey].authToken ? p[n.apiKey] : null, c = f && f.authToken, g = yield e().connectByApiKey(d);
|
|
7044
7049
|
if (g.error)
|
|
7045
7050
|
return { error: new Ve({
|
|
7046
7051
|
errorCode: Ue.CONNECTION_ISSUE,
|
|
7047
7052
|
underlyingBaseError: g.error
|
|
7048
7053
|
}) };
|
|
7049
7054
|
c && g.authToken !== c && nr.removeAuthTokenLs(n.apiKey);
|
|
7050
|
-
const w =
|
|
7051
|
-
return e().setApiKeyAuthTokenCollection(n.apiKey, g.authToken,
|
|
7055
|
+
const w = f && g.authToken === f.authToken && f, h = w ? w.tokenExpiresAt : Date.now() + l * 1e3;
|
|
7056
|
+
return e().setApiKeyAuthTokenCollection(n.apiKey, g.authToken, h), t({ _isConnectedToPlatform: !0 }), e().setStartConfig({
|
|
7052
7057
|
host: s.host,
|
|
7053
7058
|
isSecure: s.isSecure,
|
|
7054
7059
|
apiKey: n.apiKey,
|
|
@@ -7185,26 +7190,26 @@ const _1 = (t, e) => ({
|
|
|
7185
7190
|
return { error: new Ot({
|
|
7186
7191
|
errorCode: Et.SCENARIO_IN_PROGRESS
|
|
7187
7192
|
}) };
|
|
7188
|
-
const i = yield e().fetchService.getWorkflow(n), o = Co(i.data), s = ((w = o.client) == null ? void 0 : w.steps) && o.client.steps.some((
|
|
7193
|
+
const i = yield e().fetchService.getWorkflow(n), o = Co(i.data), s = ((w = o.client) == null ? void 0 : w.steps) && o.client.steps.some((h) => h.templateId === Bi);
|
|
7189
7194
|
let a = null;
|
|
7190
7195
|
if (i.code === 4 && (a = Tt.HTTP_ISSUE), i.code !== 0 && i.code !== 4 && (a = Tt.PROVIDER_ERROR), i.code === 0 && !i.data.id && (a = Tt.DECODING_FAILED), i.code === 0 && i.data.id && o === null && (a = Tt.DECODING_FAILED), s || (a = Tt.DECODING_FAILED), a !== null) {
|
|
7191
|
-
const
|
|
7196
|
+
const h = new jn({
|
|
7192
7197
|
errorCode: a
|
|
7193
7198
|
});
|
|
7194
7199
|
return { error: new Ot({
|
|
7195
7200
|
errorCode: Et.INTERNAL_ISSUE,
|
|
7196
|
-
underlyingBaseError:
|
|
7201
|
+
underlyingBaseError: h
|
|
7197
7202
|
}) };
|
|
7198
7203
|
}
|
|
7199
|
-
const l = e().externalModules, d = o.steps, { isAllTemplatesSupported: p, unsupportedSteps:
|
|
7200
|
-
p || console.log("IDV:: Warning. Unsupported steps found: ",
|
|
7204
|
+
const l = e().externalModules, d = o.steps, { isAllTemplatesSupported: p, unsupportedSteps: f } = sd(l, d);
|
|
7205
|
+
p || console.log("IDV:: Warning. Unsupported steps found: ", f);
|
|
7201
7206
|
const c = e().workflowId;
|
|
7202
|
-
c && n !== c && l.forEach((
|
|
7203
|
-
|
|
7207
|
+
c && n !== c && l.forEach((h) => {
|
|
7208
|
+
h.component.deinitialize();
|
|
7204
7209
|
});
|
|
7205
7210
|
const g = e().modulesConfig;
|
|
7206
|
-
return l.forEach((
|
|
7207
|
-
|
|
7211
|
+
return l.forEach((h) => {
|
|
7212
|
+
h.component.isReady() || h.component.initialize(g);
|
|
7208
7213
|
}), e().setLayout(o.client.layout), e().setProcessingTemplate(o.client.steps), e().setWorkflowId(n), e().setTrackLocation(o.trackLocation), { workflow: o };
|
|
7209
7214
|
});
|
|
7210
7215
|
},
|
|
@@ -7231,8 +7236,8 @@ const _1 = (t, e) => ({
|
|
|
7231
7236
|
dt && dt.close(), n(I);
|
|
7232
7237
|
};
|
|
7233
7238
|
e().setWorkflowSessionCompletion(d);
|
|
7234
|
-
const p = e().startConfig,
|
|
7235
|
-
if (
|
|
7239
|
+
const p = e().startConfig, f = "apiKey" in p && typeof p.apiKey == "string", c = e().apiKeyAuthTokenCollection;
|
|
7240
|
+
if (f && "tokenExpiresAt" in c) {
|
|
7236
7241
|
const I = c.tokenExpiresAt && typeof c.tokenExpiresAt == "number" ? c.tokenExpiresAt : 0;
|
|
7237
7242
|
if (Date.now() > I) {
|
|
7238
7243
|
const N = yield e().connectByApiKey({
|
|
@@ -7273,7 +7278,7 @@ const _1 = (t, e) => ({
|
|
|
7273
7278
|
e().setServiceSessionToken(g);
|
|
7274
7279
|
const w = yield e()._runSocketConnection(g);
|
|
7275
7280
|
if (w.error) return { error: w.error };
|
|
7276
|
-
const
|
|
7281
|
+
const h = e()._sessionIdFromUrl, m = yield e()._continueSession(i, h);
|
|
7277
7282
|
if ("sessionId" in m) return { results: m };
|
|
7278
7283
|
if ("error" in m)
|
|
7279
7284
|
return { error: m.error };
|
|
@@ -7286,7 +7291,7 @@ const _1 = (t, e) => ({
|
|
|
7286
7291
|
}), C = e()._checkIsSessionDataValid(S.data);
|
|
7287
7292
|
if (!Cs(C))
|
|
7288
7293
|
return { error: C.error };
|
|
7289
|
-
|
|
7294
|
+
f ? e()._checkAndSetApiTokenToLs(C.id) : e().setCurrentSessionDataLsAndStore({ sessionId: C.id, workflowId: l });
|
|
7290
7295
|
const b = C.currentStep;
|
|
7291
7296
|
return e().setCurrentStepId(b), e().setNextStep({
|
|
7292
7297
|
workflow: C.workflow,
|
|
@@ -7295,7 +7300,7 @@ const _1 = (t, e) => ({
|
|
|
7295
7300
|
locale: C.locale
|
|
7296
7301
|
}), e().listener({
|
|
7297
7302
|
eventType: Fn.MESSAGE,
|
|
7298
|
-
message:
|
|
7303
|
+
message: Pr.DID_START_SESSION,
|
|
7299
7304
|
module: "IDV"
|
|
7300
7305
|
}), {};
|
|
7301
7306
|
});
|
|
@@ -7572,8 +7577,8 @@ class m1 {
|
|
|
7572
7577
|
try {
|
|
7573
7578
|
if (d = yield a.json(), !(d != null && d.id)) return { code: 6, data: l };
|
|
7574
7579
|
} catch (p) {
|
|
7575
|
-
const
|
|
7576
|
-
return l.what =
|
|
7580
|
+
const f = this._getErrorTextFromError(p);
|
|
7581
|
+
return l.what = f, { code: 6, data: l };
|
|
7577
7582
|
}
|
|
7578
7583
|
return { code: 0, data: d };
|
|
7579
7584
|
} catch (a) {
|
|
@@ -7602,8 +7607,8 @@ class m1 {
|
|
|
7602
7607
|
try {
|
|
7603
7608
|
if (d = yield a.json(), !d) return { code: 6, data: l };
|
|
7604
7609
|
} catch (p) {
|
|
7605
|
-
const
|
|
7606
|
-
return l.what =
|
|
7610
|
+
const f = this._getErrorTextFromError(p);
|
|
7611
|
+
return l.what = f, { code: 6, data: l };
|
|
7607
7612
|
}
|
|
7608
7613
|
return { code: 0, data: d };
|
|
7609
7614
|
} catch (a) {
|
|
@@ -7647,28 +7652,28 @@ class m1 {
|
|
|
7647
7652
|
stage: "0"
|
|
7648
7653
|
}, i && { type: i }), l = new URLSearchParams(s).toString(), d = `${this._origin}/api/sessions/${(p = this._session) == null ? void 0 : p.id}/step/${r}?${l}`;
|
|
7649
7654
|
try {
|
|
7650
|
-
const
|
|
7655
|
+
const f = yield fetch(d, {
|
|
7651
7656
|
headers: {
|
|
7652
7657
|
authorization: e,
|
|
7653
7658
|
"content-type": "application/json"
|
|
7654
7659
|
},
|
|
7655
7660
|
body: JSON.stringify(n),
|
|
7656
7661
|
method: o
|
|
7657
|
-
}), c = { httpCode:
|
|
7658
|
-
if (!
|
|
7659
|
-
const w = yield this._getResponseTextFromBadResponse(
|
|
7662
|
+
}), c = { httpCode: f.status, method: o, url: d };
|
|
7663
|
+
if (!f.ok) {
|
|
7664
|
+
const w = yield this._getResponseTextFromBadResponse(f);
|
|
7660
7665
|
return w && (c.what = w), { code: 5, data: c };
|
|
7661
7666
|
}
|
|
7662
7667
|
let g;
|
|
7663
7668
|
try {
|
|
7664
|
-
if (g = yield
|
|
7669
|
+
if (g = yield f.json(), !g) return { code: 6, data: c };
|
|
7665
7670
|
} catch (w) {
|
|
7666
|
-
const
|
|
7667
|
-
return c.what =
|
|
7671
|
+
const h = this._getErrorTextFromError(w);
|
|
7672
|
+
return c.what = h, { code: 6, data: c };
|
|
7668
7673
|
}
|
|
7669
7674
|
return { code: 0, data: g };
|
|
7670
|
-
} catch (
|
|
7671
|
-
const c = this._getErrorTextFromError(
|
|
7675
|
+
} catch (f) {
|
|
7676
|
+
const c = this._getErrorTextFromError(f);
|
|
7672
7677
|
return { code: 4, data: { httpCode: 0, method: o, url: d, what: c } };
|
|
7673
7678
|
}
|
|
7674
7679
|
});
|
|
@@ -7821,7 +7826,7 @@ const g1 = (t, e) => ({
|
|
|
7821
7826
|
return F(this, null, function* () {
|
|
7822
7827
|
const o = yield e().fetchService.connectByApiKey(n, !1);
|
|
7823
7828
|
if (o.code !== 0) {
|
|
7824
|
-
const s = o.code === 4 ? Kt.HTTP_ISSUE : Kt.PROVIDER_ERROR, a = new
|
|
7829
|
+
const s = o.code === 4 ? Kt.HTTP_ISSUE : Kt.PROVIDER_ERROR, a = new Ur({
|
|
7825
7830
|
errorCode: s,
|
|
7826
7831
|
message: JSON.stringify(o.data)
|
|
7827
7832
|
});
|
|
@@ -7838,7 +7843,7 @@ const g1 = (t, e) => ({
|
|
|
7838
7843
|
const i = yield e().fetchService.connectByUserPass(n);
|
|
7839
7844
|
if (i.code !== 0) {
|
|
7840
7845
|
const o = i.code === 4 ? Kt.HTTP_ISSUE : Kt.PROVIDER_ERROR;
|
|
7841
|
-
return { error: new
|
|
7846
|
+
return { error: new Ur({
|
|
7842
7847
|
errorCode: o,
|
|
7843
7848
|
message: JSON.stringify(i.data)
|
|
7844
7849
|
}) };
|
|
@@ -7850,7 +7855,7 @@ const g1 = (t, e) => ({
|
|
|
7850
7855
|
return F(this, null, function* () {
|
|
7851
7856
|
const o = yield e().fetchService.connectByUrl(n);
|
|
7852
7857
|
if (o.code !== 0) {
|
|
7853
|
-
const s = o.code === 4 ? Kt.HTTP_ISSUE : Kt.PROVIDER_ERROR, a = new
|
|
7858
|
+
const s = o.code === 4 ? Kt.HTTP_ISSUE : Kt.PROVIDER_ERROR, a = new Ur({
|
|
7854
7859
|
errorCode: s,
|
|
7855
7860
|
message: JSON.stringify(o.data)
|
|
7856
7861
|
}), l = new Hn({
|
|
@@ -7917,13 +7922,13 @@ const g1 = (t, e) => ({
|
|
|
7917
7922
|
const d = yield e().fetchService.pushData(n, i, o);
|
|
7918
7923
|
let p = null;
|
|
7919
7924
|
if (d.code === 4 && (p = lt.HTTP_ISSUE), d.code !== 0 && d.code !== 4 && (p = lt.PROVIDER_ERROR), p !== null) {
|
|
7920
|
-
const
|
|
7925
|
+
const f = new Vr({
|
|
7921
7926
|
errorCode: lt.HTTP_ISSUE
|
|
7922
7927
|
});
|
|
7923
7928
|
s = new Ge({
|
|
7924
7929
|
errorCode: Ke.INTERNAL_ISSUE,
|
|
7925
7930
|
message: "Error from external module",
|
|
7926
|
-
underlyingBaseError:
|
|
7931
|
+
underlyingBaseError: f
|
|
7927
7932
|
});
|
|
7928
7933
|
}
|
|
7929
7934
|
return d.code === 0 ? (s = null, d) : null;
|
|
@@ -7936,24 +7941,24 @@ const g1 = (t, e) => ({
|
|
|
7936
7941
|
return o != null ? o : null;
|
|
7937
7942
|
},
|
|
7938
7943
|
_getSessionStateNextStepConditionResult: () => F(null, null, function* () {
|
|
7939
|
-
var w,
|
|
7940
|
-
const n = yield e().fetchService.getSessionState(), i = n.code === 0, o = i ? n.data : null, s = (w = o == null ? void 0 : o.currentStep) != null ? w : "", a = o == null ? void 0 : o.isProcessingFiles, l = (m = (
|
|
7944
|
+
var w, h, m;
|
|
7945
|
+
const n = yield e().fetchService.getSessionState(), i = n.code === 0, o = i ? n.data : null, s = (w = o == null ? void 0 : o.currentStep) != null ? w : "", a = o == null ? void 0 : o.isProcessingFiles, l = (m = (h = o == null ? void 0 : o.workflow) == null ? void 0 : h.steps) != null ? m : [], d = od(l, s), p = n.code === 4, f = n.code !== 0 && n.code !== 4, c = i && (!n.data.workflow || !n.data.currentStep);
|
|
7941
7946
|
let g = null;
|
|
7942
|
-
if (l && !d && (g = lt.NOT_DATA_TYPE), p && (g = lt.HTTP_ISSUE),
|
|
7943
|
-
const S = new
|
|
7947
|
+
if (l && !d && (g = lt.NOT_DATA_TYPE), p && (g = lt.HTTP_ISSUE), f && (g = lt.PROVIDER_ERROR), a && (g = lt.IS_PROCESSING), c && (g = lt.DECODING_FAILED), g !== null) {
|
|
7948
|
+
const S = new Vr({ errorCode: g });
|
|
7944
7949
|
return { error: new Ge({
|
|
7945
7950
|
errorCode: Ke.INTERNAL_ISSUE,
|
|
7946
7951
|
underlyingBaseError: S
|
|
7947
7952
|
}) };
|
|
7948
7953
|
}
|
|
7949
|
-
return d && !a && !p && !
|
|
7954
|
+
return d && !a && !p && !f && !c ? { data: n.data } : { shouldRetry: !0 };
|
|
7950
7955
|
}),
|
|
7951
7956
|
_waitingForNextStep: () => F(null, null, function* () {
|
|
7952
7957
|
let n = {};
|
|
7953
7958
|
return yield new Promise((o) => {
|
|
7954
7959
|
let l = 0, d;
|
|
7955
|
-
const p = (
|
|
7956
|
-
if (
|
|
7960
|
+
const p = (f) => F(null, null, function* () {
|
|
7961
|
+
if (f) {
|
|
7957
7962
|
d = window.setTimeout(() => {
|
|
7958
7963
|
p(!1);
|
|
7959
7964
|
}, 1e4);
|
|
@@ -7964,15 +7969,15 @@ const g1 = (t, e) => ({
|
|
|
7964
7969
|
}, 1e4) : (dt.clearSubscriptions(), o());
|
|
7965
7970
|
});
|
|
7966
7971
|
if (dt.isConnected()) {
|
|
7967
|
-
const
|
|
7972
|
+
const f = (c) => {
|
|
7968
7973
|
JSON.parse(atob(JSON.parse(c).payload)).eventType === "SESSION_UPDATED" && (clearTimeout(d), p(!1));
|
|
7969
7974
|
};
|
|
7970
|
-
dt.onMessage(
|
|
7975
|
+
dt.onMessage(f);
|
|
7971
7976
|
}
|
|
7972
7977
|
p(!0);
|
|
7973
7978
|
}), n != null && n.error ? { error: n.error } : n != null && n.data ? { sessionData: n.data } : { error: new Ge({
|
|
7974
7979
|
errorCode: Ke.INTERNAL_ISSUE,
|
|
7975
|
-
underlyingBaseError: new
|
|
7980
|
+
underlyingBaseError: new Vr({ errorCode: lt.DECODING_FAILED })
|
|
7976
7981
|
}) };
|
|
7977
7982
|
}),
|
|
7978
7983
|
setFinalStepAndStopProcess: (n) => {
|
|
@@ -7989,7 +7994,7 @@ const g1 = (t, e) => ({
|
|
|
7989
7994
|
}
|
|
7990
7995
|
}), e().resetSession(), e().listener({
|
|
7991
7996
|
eventType: Fn.MESSAGE,
|
|
7992
|
-
message:
|
|
7997
|
+
message: Pr.DID_END_SESSION,
|
|
7993
7998
|
module: "IDV"
|
|
7994
7999
|
}));
|
|
7995
8000
|
},
|
|
@@ -8011,8 +8016,8 @@ const g1 = (t, e) => ({
|
|
|
8011
8016
|
return;
|
|
8012
8017
|
}
|
|
8013
8018
|
if (a.data) {
|
|
8014
|
-
const { workflow: p, properties:
|
|
8015
|
-
e().setNextStep({ workflow: p, properties:
|
|
8019
|
+
const { workflow: p, properties: f, currentStep: c, locale: g } = a.data;
|
|
8020
|
+
e().setNextStep({ workflow: p, properties: f, nextStepId: c, locale: g });
|
|
8016
8021
|
}
|
|
8017
8022
|
}
|
|
8018
8023
|
});
|
|
@@ -8064,12 +8069,12 @@ const g1 = (t, e) => ({
|
|
|
8064
8069
|
}), e().resetSession();
|
|
8065
8070
|
return;
|
|
8066
8071
|
}
|
|
8067
|
-
const { workflow: l, properties: d, currentStep: p, locale:
|
|
8068
|
-
e().setNextStep({ workflow: l, properties: d, nextStepId: p, locale:
|
|
8072
|
+
const { workflow: l, properties: d, currentStep: p, locale: f } = a.sessionData;
|
|
8073
|
+
e().setNextStep({ workflow: l, properties: d, nextStepId: p, locale: f });
|
|
8069
8074
|
}),
|
|
8070
8075
|
/** prepare and configure config (props) for module and trigger showing step */
|
|
8071
8076
|
onChangeScreen: (n) => {
|
|
8072
|
-
var l, d, p,
|
|
8077
|
+
var l, d, p, f;
|
|
8073
8078
|
if (!n) return t(() => ({ currentScreenConfig: null }));
|
|
8074
8079
|
const i = e().workflow, o = e().sessionProperties;
|
|
8075
8080
|
let s = null;
|
|
@@ -8087,7 +8092,7 @@ const g1 = (t, e) => ({
|
|
|
8087
8092
|
dataSource: (d = c.dataSource) != null ? d : null,
|
|
8088
8093
|
properties: o,
|
|
8089
8094
|
locale: e().locale
|
|
8090
|
-
})), s && (s.sessionId = (p = e().currentSessionData) == null ? void 0 : p.sessionId, s.serviceToken = e().serviceToken), s && cd((
|
|
8095
|
+
})), s && (s.sessionId = (p = e().currentSessionData) == null ? void 0 : p.sessionId, s.serviceToken = e().serviceToken), s && cd((f = c == null ? void 0 : c.client) == null ? void 0 : f.templateLayout)) {
|
|
8091
8096
|
const g = bs(c.client.templateLayout, e().layout);
|
|
8092
8097
|
g && (s.templateLayout = g);
|
|
8093
8098
|
}
|
|
@@ -8248,7 +8253,7 @@ function b1() {
|
|
|
8248
8253
|
/* 1 */
|
|
8249
8254
|
/***/
|
|
8250
8255
|
(function(e, r, n) {
|
|
8251
|
-
var i = n(2), o = n(0), s = o.BROWSER_TYPES, a = o.OS_TYPES, l = o.DEVICE_TYPES, d = n(4), p = d.checkType,
|
|
8256
|
+
var i = n(2), o = n(0), s = o.BROWSER_TYPES, a = o.OS_TYPES, l = o.DEVICE_TYPES, d = n(4), p = d.checkType, f = d.broPayload, c = d.mobilePayload, g = d.wearPayload, w = d.consolePayload, h = d.stvPayload, m = d.getNavigatorInstance, S = d.isIOS13Check, C = new i(), b = C.getBrowser(), I = C.getDevice(), k = C.getEngine(), N = C.getOS(), R = C.getUA(), ae = s.CHROME, _e = s.CHROMIUM, le = s.IE, Z = s.INTERNET_EXPLORER, H = s.OPERA, K = s.FIREFOX, ue = s.SAFARI, ce = s.EDGE, we = s.YANDEX, ve = s.MOBILE_SAFARI, ee = l.MOBILE, z = l.TABLET, L = l.SMART_TV, Y = l.BROWSER, te = l.WEARABLE, Se = l.CONSOLE, re = a.ANDROID, $ = a.WINDOWS_PHONE, Q = a.IOS, Be = a.WINDOWS, je = a.MAC_OS, ot = function() {
|
|
8252
8257
|
return I.type === ee;
|
|
8253
8258
|
}, Xe = function() {
|
|
8254
8259
|
return I.type === z;
|
|
@@ -8281,23 +8286,23 @@ function b1() {
|
|
|
8281
8286
|
}, T = function() {
|
|
8282
8287
|
return N.name === Q;
|
|
8283
8288
|
}, A = function() {
|
|
8284
|
-
return b.name ===
|
|
8289
|
+
return b.name === ae;
|
|
8285
8290
|
}, V = function() {
|
|
8286
8291
|
return b.name === K;
|
|
8287
8292
|
}, M = function() {
|
|
8288
8293
|
return b.name === _e;
|
|
8289
8294
|
}, P = function() {
|
|
8290
|
-
return b.name ===
|
|
8295
|
+
return b.name === ce;
|
|
8291
8296
|
}, W = function() {
|
|
8292
8297
|
return b.name === we;
|
|
8293
8298
|
}, ne = function() {
|
|
8294
|
-
return b.name ===
|
|
8299
|
+
return b.name === ue || b.name === ve;
|
|
8295
8300
|
}, G = function() {
|
|
8296
8301
|
return b.name === ve;
|
|
8297
8302
|
}, ge = function() {
|
|
8298
8303
|
return b.name === H;
|
|
8299
8304
|
}, Pe = function() {
|
|
8300
|
-
return b.name === Z || b.name ===
|
|
8305
|
+
return b.name === Z || b.name === le;
|
|
8301
8306
|
}, J = function() {
|
|
8302
8307
|
var at = m(), hr = at && at.userAgent.toLowerCase();
|
|
8303
8308
|
return typeof hr == "string" ? /electron/.test(hr) : !1;
|
|
@@ -8322,61 +8327,61 @@ function b1() {
|
|
|
8322
8327
|
return b.name;
|
|
8323
8328
|
}, Jt = function() {
|
|
8324
8329
|
return I.vendor ? I.vendor : "none";
|
|
8325
|
-
}, Qr = function() {
|
|
8326
|
-
return I.model ? I.model : "none";
|
|
8327
8330
|
}, en = function() {
|
|
8328
|
-
return
|
|
8331
|
+
return I.model ? I.model : "none";
|
|
8329
8332
|
}, tn = function() {
|
|
8330
|
-
return
|
|
8333
|
+
return k.name;
|
|
8331
8334
|
}, rn = function() {
|
|
8332
|
-
return
|
|
8335
|
+
return k.version;
|
|
8333
8336
|
}, nn = function() {
|
|
8337
|
+
return R;
|
|
8338
|
+
}, on = function() {
|
|
8334
8339
|
return I.type;
|
|
8335
|
-
},
|
|
8340
|
+
}, sn = Ht(), an = Ct(), ln = pt(), zt = G() || j(), cn = M(), rt = yt() || j(), dn = ot(), un = Xe() || j(), fn = bt(), hn = Wt(), pn = y(), _n = T() || j(), mn = A(), ii = V(), oi = ne(), si = ge(), fr = Pe(), gn = q(), wn = ze(), vn = xe(), ai = he(), yn = jt(), bn = Jt(), Cn = en(), li = tn(), ci = rn(), di = nn(), ui = P() || st(), Sn = W(), fi = on(), hi = oe(), pi = j(), _i = me(), mi = He(), gi = J(), wi = st(), vi = P(), yi = _t(), bi = tt(), mt = p(I.type);
|
|
8336
8341
|
function Ci() {
|
|
8337
|
-
var ie = mt.isBrowser, at = mt.isMobile, hr = mt.isTablet,
|
|
8342
|
+
var ie = mt.isBrowser, at = mt.isMobile, hr = mt.isTablet, En = mt.isSmartTV, Tn = mt.isConsole, On = mt.isWearable;
|
|
8338
8343
|
if (ie)
|
|
8339
|
-
return
|
|
8340
|
-
if (Sn)
|
|
8341
|
-
return f(Sn, D, N, R);
|
|
8344
|
+
return f(ie, b, k, N, R);
|
|
8342
8345
|
if (En)
|
|
8343
|
-
return
|
|
8346
|
+
return h(En, k, N, R);
|
|
8347
|
+
if (Tn)
|
|
8348
|
+
return w(Tn, k, N, R);
|
|
8344
8349
|
if (at || hr)
|
|
8345
8350
|
return c(mt, I, N, R);
|
|
8346
|
-
if (
|
|
8347
|
-
return g(
|
|
8351
|
+
if (On)
|
|
8352
|
+
return g(On, k, N, R);
|
|
8348
8353
|
}
|
|
8349
8354
|
e.exports = {
|
|
8350
8355
|
deviceDetect: Ci,
|
|
8351
|
-
isSmartTV:
|
|
8352
|
-
isConsole:
|
|
8353
|
-
isWearable:
|
|
8356
|
+
isSmartTV: sn,
|
|
8357
|
+
isConsole: an,
|
|
8358
|
+
isWearable: ln,
|
|
8354
8359
|
isMobileSafari: zt,
|
|
8355
|
-
isChromium:
|
|
8360
|
+
isChromium: cn,
|
|
8356
8361
|
isMobile: rt,
|
|
8357
|
-
isMobileOnly:
|
|
8358
|
-
isTablet:
|
|
8359
|
-
isBrowser:
|
|
8360
|
-
isAndroid:
|
|
8361
|
-
isWinPhone:
|
|
8362
|
-
isIOS:
|
|
8363
|
-
isChrome:
|
|
8362
|
+
isMobileOnly: dn,
|
|
8363
|
+
isTablet: un,
|
|
8364
|
+
isBrowser: fn,
|
|
8365
|
+
isAndroid: hn,
|
|
8366
|
+
isWinPhone: pn,
|
|
8367
|
+
isIOS: _n,
|
|
8368
|
+
isChrome: mn,
|
|
8364
8369
|
isFirefox: ii,
|
|
8365
8370
|
isSafari: oi,
|
|
8366
8371
|
isOpera: si,
|
|
8367
8372
|
isIE: fr,
|
|
8368
|
-
osVersion:
|
|
8369
|
-
osName:
|
|
8370
|
-
fullBrowserVersion:
|
|
8373
|
+
osVersion: gn,
|
|
8374
|
+
osName: wn,
|
|
8375
|
+
fullBrowserVersion: vn,
|
|
8371
8376
|
browserVersion: ai,
|
|
8372
|
-
browserName:
|
|
8373
|
-
mobileVendor:
|
|
8374
|
-
mobileModel:
|
|
8377
|
+
browserName: yn,
|
|
8378
|
+
mobileVendor: bn,
|
|
8379
|
+
mobileModel: Cn,
|
|
8375
8380
|
engineName: li,
|
|
8376
8381
|
engineVersion: ci,
|
|
8377
8382
|
getUA: di,
|
|
8378
8383
|
isEdge: ui,
|
|
8379
|
-
isYandex:
|
|
8384
|
+
isYandex: Sn,
|
|
8380
8385
|
deviceType: fi,
|
|
8381
8386
|
isIOS13: hi,
|
|
8382
8387
|
isIPad13: pi,
|
|
@@ -8402,7 +8407,7 @@ function b1() {
|
|
|
8402
8407
|
* Dual licensed under GPLv2 or MIT
|
|
8403
8408
|
*/
|
|
8404
8409
|
(function(o, s) {
|
|
8405
|
-
var a = "0.7.18", l = "", d = "?", p = "function",
|
|
8410
|
+
var a = "0.7.18", l = "", d = "?", p = "function", f = "undefined", c = "object", g = "string", w = "major", h = "model", m = "name", S = "type", C = "vendor", b = "version", I = "architecture", k = "console", N = "mobile", R = "tablet", ae = "smarttv", _e = "wearable", le = "embedded", Z = { extend: function(ee, z) {
|
|
8406
8411
|
var L = {};
|
|
8407
8412
|
for (var Y in ee)
|
|
8408
8413
|
z[Y] && z[Y].length % 2 === 0 ? L[Y] = z[Y].concat(ee[Y]) : L[Y] = ee[Y];
|
|
@@ -8433,10 +8438,10 @@ function b1() {
|
|
|
8433
8438
|
} else if (Z.has(z[L], ee))
|
|
8434
8439
|
return L === d ? s : L;
|
|
8435
8440
|
return ee;
|
|
8436
|
-
} }, K = { browser: { oldsafari: { version: { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" } } }, device: { amazon: { model: { "Fire Phone": ["SD", "KF"] } }, sprint: { model: { "Evo Shift 4G": "7373KT" }, vendor: { HTC: "APA", Sprint: "Sprint" } } }, os: { windows: { version: { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" } } } }, de = { browser: [[/(opera\smini)\/([\w\.-]+)/i, /(opera\s[mobiletab]+).+version\/([\w\.-]+)/i, /(opera).+version\/([\w\.]+)/i, /(opera)[\/\s]+([\w\.]+)/i], [m, b], [/(opios)[\/\s]+([\w\.]+)/i], [[m, "Opera Mini"], b], [/\s(opr)\/([\w\.]+)/i], [[m, "Opera"], b], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i, /(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i, /(?:ms|\()(ie)\s([\w\.]+)/i, /(rekonq)\/([\w\.]*)/i, /(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark)\/([\w\.-]+)/i], [m, b], [/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i], [[m, "IE"], b], [/(edge|edgios|edgea)\/((\d+)?[\w\.]+)/i], [[m, "Edge"], b], [/(yabrowser)\/([\w\.]+)/i], [[m, "Yandex"], b], [/(puffin)\/([\w\.]+)/i], [[m, "Puffin"], b], [/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i], [[m, "UCBrowser"], b], [/(comodo_dragon)\/([\w\.]+)/i], [[m, /_/g, " "], b], [/(micromessenger)\/([\w\.]+)/i], [[m, "WeChat"], b], [/(qqbrowserlite)\/([\w\.]+)/i], [m, b], [/(QQ)\/([\d\.]+)/i], [m, b], [/m?(qqbrowser)[\/\s]?([\w\.]+)/i], [m, b], [/(BIDUBrowser)[\/\s]?([\w\.]+)/i], [m, b], [/(2345Explorer)[\/\s]?([\w\.]+)/i], [m, b], [/(MetaSr)[\/\s]?([\w\.]+)/i], [m], [/(LBBROWSER)/i], [m], [/xiaomi\/miuibrowser\/([\w\.]+)/i], [b, [m, "MIUI Browser"]], [/;fbav\/([\w\.]+);/i], [b, [m, "Facebook"]], [/headlesschrome(?:\/([\w\.]+)|\s)/i], [b, [m, "Chrome Headless"]], [/\swv\).+(chrome)\/([\w\.]+)/i], [[m, /(.+)/, "$1 WebView"], b], [/((?:oculus|samsung)browser)\/([\w\.]+)/i], [[m, /(.+(?:g|us))(.+)/, "$1 $2"], b], [/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i], [b, [m, "Android Browser"]], [/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i], [m, b], [/(dolfin)\/([\w\.]+)/i], [[m, "Dolphin"], b], [/((?:android.+)crmo|crios)\/([\w\.]+)/i], [[m, "Chrome"], b], [/(coast)\/([\w\.]+)/i], [[m, "Opera Coast"], b], [/fxios\/([\w\.-]+)/i], [b, [m, "Firefox"]], [/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i], [b, [m, "Mobile Safari"]], [/version\/([\w\.]+).+?(mobile\s?safari|safari)/i], [b, m], [/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i], [[m, "GSA"], b], [/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i], [m, [b, H.str, K.browser.oldsafari.version]], [/(konqueror)\/([\w\.]+)/i, /(webkit|khtml)\/([\w\.]+)/i], [m, b], [/(navigator|netscape)\/([\w\.-]+)/i], [[m, "Netscape"], b], [/(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i, /(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i, /(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i, /(links)\s\(([\w\.]+)/i, /(gobrowser)\/?([\w\.]*)/i, /(ice\s?browser)\/v?([\w\._]+)/i, /(mosaic)[\/\s]([\w\.]+)/i], [m, b]], cpu: [[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i], [[I, "amd64"]], [/(ia32(?=;))/i], [[I, Z.lowerize]], [/((?:i[346]|x)86)[;\)]/i], [[I, "ia32"]], [/windows\s(ce|mobile);\sppc;/i], [[I, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i], [[I, /ower/, "", Z.lowerize]], [/(sun4\w)[;\)]/i], [[I, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i], [[I, Z.lowerize]]], device: [[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i], [f, C, [S, R]], [/applecoremedia\/[\w\.]+ \((ipad)/], [f, [C, "Apple"], [S, R]], [/(apple\s{0,1}tv)/i], [[f, "Apple TV"], [C, "Apple"]], [/(archos)\s(gamepad2?)/i, /(hp).+(touchpad)/i, /(hp).+(tablet)/i, /(kindle)\/([\w\.]+)/i, /\s(nook)[\w\s]+build\/(\w+)/i, /(dell)\s(strea[kpr\s\d]*[\dko])/i], [C, f, [S, R]], [/(kf[A-z]+)\sbuild\/.+silk\//i], [f, [C, "Amazon"], [S, R]], [/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i], [[f, H.str, K.device.amazon.model], [C, "Amazon"], [S, N]], [/\((ip[honed|\s\w*]+);.+(apple)/i], [f, C, [S, N]], [/\((ip[honed|\s\w*]+);/i], [f, [C, "Apple"], [S, N]], [/(blackberry)[\s-]?(\w+)/i, /(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i, /(hp)\s([\w\s]+\w)/i, /(asus)-?(\w+)/i], [C, f, [S, N]], [/\(bb10;\s(\w+)/i], [f, [C, "BlackBerry"], [S, N]], [/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i], [f, [C, "Asus"], [S, R]], [/(sony)\s(tablet\s[ps])\sbuild\//i, /(sony)?(?:sgp.+)\sbuild\//i], [[C, "Sony"], [f, "Xperia Tablet"], [S, R]], [/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i], [f, [C, "Sony"], [S, N]], [/\s(ouya)\s/i, /(nintendo)\s([wids3u]+)/i], [C, f, [S, D]], [/android.+;\s(shield)\sbuild/i], [f, [C, "Nvidia"], [S, D]], [/(playstation\s[34portablevi]+)/i], [f, [C, "Sony"], [S, D]], [/(sprint\s(\w+))/i], [[C, H.str, K.device.sprint.vendor], [f, H.str, K.device.sprint.model], [S, N]], [/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i], [C, f, [S, R]], [/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i, /(zte)-(\w*)/i, /(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i], [C, [f, /_/g, " "], [S, N]], [/(nexus\s9)/i], [f, [C, "HTC"], [S, R]], [/d\/huawei([\w\s-]+)[;\)]/i, /(nexus\s6p)/i], [f, [C, "Huawei"], [S, N]], [/(microsoft);\s(lumia[\s\w]+)/i], [C, f, [S, N]], [/[\s\(;](xbox(?:\sone)?)[\s\);]/i], [f, [C, "Microsoft"], [S, D]], [/(kin\.[onetw]{3})/i], [[f, /\./g, " "], [C, "Microsoft"], [S, N]], [/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)[\w\s]+build\//i, /mot[\s-]?(\w*)/i, /(XT\d{3,4}) build\//i, /(nexus\s6)/i], [f, [C, "Motorola"], [S, N]], [/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i], [f, [C, "Motorola"], [S, R]], [/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i], [[C, Z.trim], [f, Z.trim], [S, fe]], [/hbbtv.+maple;(\d+)/i], [[f, /^/, "SmartTV"], [C, "Samsung"], [S, fe]], [/\(dtv[\);].+(aquos)/i], [f, [C, "Sharp"], [S, fe]], [/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i, /((SM-T\w+))/i], [[C, "Samsung"], f, [S, R]], [/smart-tv.+(samsung)/i], [C, [S, fe], f], [/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i, /(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i, /sec-((sgh\w+))/i], [[C, "Samsung"], f, [S, N]], [/sie-(\w*)/i], [f, [C, "Siemens"], [S, N]], [/(maemo|nokia).*(n900|lumia\s\d+)/i, /(nokia)[\s_-]?([\w-]*)/i], [[C, "Nokia"], f, [S, N]], [/android\s3\.[\s\w;-]{10}(a\d{3})/i], [f, [C, "Acer"], [S, R]], [/android.+([vl]k\-?\d{3})\s+build/i], [f, [C, "LG"], [S, R]], [/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i], [[C, "LG"], f, [S, R]], [/(lg) netcast\.tv/i], [C, f, [S, fe]], [/(nexus\s[45])/i, /lg[e;\s\/-]+(\w*)/i, /android.+lg(\-?[\d\w]+)\s+build/i], [f, [C, "LG"], [S, N]], [/android.+(ideatab[a-z0-9\-\s]+)/i], [f, [C, "Lenovo"], [S, R]], [/linux;.+((jolla));/i], [C, f, [S, N]], [/((pebble))app\/[\d\.]+\s/i], [C, f, [S, _e]], [/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i], [C, f, [S, N]], [/crkey/i], [[f, "Chromecast"], [C, "Google"]], [/android.+;\s(glass)\s\d/i], [f, [C, "Google"], [S, _e]], [/android.+;\s(pixel c)\s/i], [f, [C, "Google"], [S, R]], [/android.+;\s(pixel xl|pixel)\s/i], [f, [C, "Google"], [S, N]], [/android.+;\s(\w+)\s+build\/hm\1/i, /android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i, /android.+(mi[\s\-_]*(?:one|one[\s_]plus|note lte)?[\s_]*(?:\d?\w?)[\s_]*(?:plus)?)\s+build/i, /android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+))\s+build/i], [[f, /_/g, " "], [C, "Xiaomi"], [S, N]], [/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i], [[f, /_/g, " "], [C, "Xiaomi"], [S, R]], [/android.+;\s(m[1-5]\snote)\sbuild/i], [f, [C, "Meizu"], [S, R]], [/android.+a000(1)\s+build/i, /android.+oneplus\s(a\d{4})\s+build/i], [f, [C, "OnePlus"], [S, N]], [/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i], [f, [C, "RCA"], [S, R]], [/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i], [f, [C, "Dell"], [S, R]], [/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i], [f, [C, "Verizon"], [S, R]], [/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i], [[C, "Barnes & Noble"], f, [S, R]], [/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i], [f, [C, "NuVision"], [S, R]], [/android.+;\s(k88)\sbuild/i], [f, [C, "ZTE"], [S, R]], [/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i], [f, [C, "Swiss"], [S, N]], [/android.+[;\/]\s*(zur\d{3})\s+build/i], [f, [C, "Swiss"], [S, R]], [/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i], [f, [C, "Zeki"], [S, R]], [/(android).+[;\/]\s+([YR]\d{2})\s+build/i, /android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i], [[C, "Dragon Touch"], f, [S, R]], [/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i], [f, [C, "Insignia"], [S, R]], [/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i], [f, [C, "NextBook"], [S, R]], [/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i], [[C, "Voice"], f, [S, N]], [/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i], [[C, "LvTel"], f, [S, N]], [/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i], [f, [C, "Envizen"], [S, R]], [/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i], [C, f, [S, R]], [/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i], [f, [C, "MachSpeed"], [S, R]], [/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i], [C, f, [S, R]], [/android.+[;\/]\s*TU_(1491)\s+build/i], [f, [C, "Rotor"], [S, R]], [/android.+(KS(.+))\s+build/i], [f, [C, "Amazon"], [S, R]], [/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i], [C, f, [S, R]], [/\s(tablet|tab)[;\/]/i, /\s(mobile)(?:[;\/]|\ssafari)/i], [[S, Z.lowerize], C, f], [/(android[\w\.\s\-]{0,9});.+build/i], [f, [C, "Generic"]]], engine: [[/windows.+\sedge\/([\w\.]+)/i], [b, [m, "EdgeHTML"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i, /(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i, /(icab)[\/\s]([23]\.[\d\.]+)/i], [m, b], [/rv\:([\w\.]{1,9}).+(gecko)/i], [b, m]], os: [[/microsoft\s(windows)\s(vista|xp)/i], [m, b], [/(windows)\snt\s6\.2;\s(arm)/i, /(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i, /(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i], [m, [b, H.str, K.os.windows.version]], [/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i], [[m, "Windows"], [b, H.str, K.os.windows.version]], [/\((bb)(10);/i], [[m, "BlackBerry"], b], [/(blackberry)\w*\/?([\w\.]*)/i, /(tizen)[\/\s]([\w\.]+)/i, /(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]*)/i, /linux;.+(sailfish);/i], [m, b], [/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i], [[m, "Symbian"], b], [/\((series40);/i], [m], [/mozilla.+\(mobile;.+gecko.+firefox/i], [[m, "Firefox OS"], b], [/(nintendo|playstation)\s([wids34portablevu]+)/i, /(mint)[\/\s\(]?(\w*)/i, /(mageia|vectorlinux)[;\s]/i, /(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]*)/i, /(hurd|linux)\s?([\w\.]*)/i, /(gnu)\s?([\w\.]*)/i], [m, b], [/(cros)\s[\w]+\s([\w\.]+\w)/i], [[m, "Chromium OS"], b], [/(sunos)\s?([\w\.\d]*)/i], [[m, "Solaris"], b], [/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i], [m, b], [/(haiku)\s(\w+)/i], [m, b], [/cfnetwork\/.+darwin/i, /ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i], [[b, /_/g, "."], [m, "iOS"]], [/(mac\sos\sx)\s?([\w\s\.]*)/i, /(macintosh|mac(?=_powerpc)\s)/i], [[m, "Mac OS"], [b, /_/g, "."]], [/((?:open)?solaris)[\/\s-]?([\w\.]*)/i, /(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i, /(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms)/i, /(unix)\s?([\w\.]*)/i], [m, b]] }, le = function(ee, z) {
|
|
8437
|
-
if (typeof ee == "object" && (z = ee, ee = s), !(this instanceof
|
|
8438
|
-
return new
|
|
8439
|
-
var L = ee || (o && o.navigator && o.navigator.userAgent ? o.navigator.userAgent : l), Y = z ? Z.extend(
|
|
8441
|
+
} }, K = { browser: { oldsafari: { version: { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" } } }, device: { amazon: { model: { "Fire Phone": ["SD", "KF"] } }, sprint: { model: { "Evo Shift 4G": "7373KT" }, vendor: { HTC: "APA", Sprint: "Sprint" } } }, os: { windows: { version: { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" } } } }, ue = { browser: [[/(opera\smini)\/([\w\.-]+)/i, /(opera\s[mobiletab]+).+version\/([\w\.-]+)/i, /(opera).+version\/([\w\.]+)/i, /(opera)[\/\s]+([\w\.]+)/i], [m, b], [/(opios)[\/\s]+([\w\.]+)/i], [[m, "Opera Mini"], b], [/\s(opr)\/([\w\.]+)/i], [[m, "Opera"], b], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i, /(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i, /(?:ms|\()(ie)\s([\w\.]+)/i, /(rekonq)\/([\w\.]*)/i, /(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark)\/([\w\.-]+)/i], [m, b], [/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i], [[m, "IE"], b], [/(edge|edgios|edgea)\/((\d+)?[\w\.]+)/i], [[m, "Edge"], b], [/(yabrowser)\/([\w\.]+)/i], [[m, "Yandex"], b], [/(puffin)\/([\w\.]+)/i], [[m, "Puffin"], b], [/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i], [[m, "UCBrowser"], b], [/(comodo_dragon)\/([\w\.]+)/i], [[m, /_/g, " "], b], [/(micromessenger)\/([\w\.]+)/i], [[m, "WeChat"], b], [/(qqbrowserlite)\/([\w\.]+)/i], [m, b], [/(QQ)\/([\d\.]+)/i], [m, b], [/m?(qqbrowser)[\/\s]?([\w\.]+)/i], [m, b], [/(BIDUBrowser)[\/\s]?([\w\.]+)/i], [m, b], [/(2345Explorer)[\/\s]?([\w\.]+)/i], [m, b], [/(MetaSr)[\/\s]?([\w\.]+)/i], [m], [/(LBBROWSER)/i], [m], [/xiaomi\/miuibrowser\/([\w\.]+)/i], [b, [m, "MIUI Browser"]], [/;fbav\/([\w\.]+);/i], [b, [m, "Facebook"]], [/headlesschrome(?:\/([\w\.]+)|\s)/i], [b, [m, "Chrome Headless"]], [/\swv\).+(chrome)\/([\w\.]+)/i], [[m, /(.+)/, "$1 WebView"], b], [/((?:oculus|samsung)browser)\/([\w\.]+)/i], [[m, /(.+(?:g|us))(.+)/, "$1 $2"], b], [/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i], [b, [m, "Android Browser"]], [/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i], [m, b], [/(dolfin)\/([\w\.]+)/i], [[m, "Dolphin"], b], [/((?:android.+)crmo|crios)\/([\w\.]+)/i], [[m, "Chrome"], b], [/(coast)\/([\w\.]+)/i], [[m, "Opera Coast"], b], [/fxios\/([\w\.-]+)/i], [b, [m, "Firefox"]], [/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i], [b, [m, "Mobile Safari"]], [/version\/([\w\.]+).+?(mobile\s?safari|safari)/i], [b, m], [/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i], [[m, "GSA"], b], [/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i], [m, [b, H.str, K.browser.oldsafari.version]], [/(konqueror)\/([\w\.]+)/i, /(webkit|khtml)\/([\w\.]+)/i], [m, b], [/(navigator|netscape)\/([\w\.-]+)/i], [[m, "Netscape"], b], [/(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo\sbrowser|minimo|conkeror)[\/\s]?([\w\.\+]+)/i, /(firefox|seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([\w\.-]+)$/i, /(mozilla)\/([\w\.]+).+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir)[\/\s]?([\w\.]+)/i, /(links)\s\(([\w\.]+)/i, /(gobrowser)\/?([\w\.]*)/i, /(ice\s?browser)\/v?([\w\._]+)/i, /(mosaic)[\/\s]([\w\.]+)/i], [m, b]], cpu: [[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i], [[I, "amd64"]], [/(ia32(?=;))/i], [[I, Z.lowerize]], [/((?:i[346]|x)86)[;\)]/i], [[I, "ia32"]], [/windows\s(ce|mobile);\sppc;/i], [[I, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i], [[I, /ower/, "", Z.lowerize]], [/(sun4\w)[;\)]/i], [[I, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i], [[I, Z.lowerize]]], device: [[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i], [h, C, [S, R]], [/applecoremedia\/[\w\.]+ \((ipad)/], [h, [C, "Apple"], [S, R]], [/(apple\s{0,1}tv)/i], [[h, "Apple TV"], [C, "Apple"]], [/(archos)\s(gamepad2?)/i, /(hp).+(touchpad)/i, /(hp).+(tablet)/i, /(kindle)\/([\w\.]+)/i, /\s(nook)[\w\s]+build\/(\w+)/i, /(dell)\s(strea[kpr\s\d]*[\dko])/i], [C, h, [S, R]], [/(kf[A-z]+)\sbuild\/.+silk\//i], [h, [C, "Amazon"], [S, R]], [/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i], [[h, H.str, K.device.amazon.model], [C, "Amazon"], [S, N]], [/\((ip[honed|\s\w*]+);.+(apple)/i], [h, C, [S, N]], [/\((ip[honed|\s\w*]+);/i], [h, [C, "Apple"], [S, N]], [/(blackberry)[\s-]?(\w+)/i, /(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[\s_-]?([\w-]*)/i, /(hp)\s([\w\s]+\w)/i, /(asus)-?(\w+)/i], [C, h, [S, N]], [/\(bb10;\s(\w+)/i], [h, [C, "BlackBerry"], [S, N]], [/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i], [h, [C, "Asus"], [S, R]], [/(sony)\s(tablet\s[ps])\sbuild\//i, /(sony)?(?:sgp.+)\sbuild\//i], [[C, "Sony"], [h, "Xperia Tablet"], [S, R]], [/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i], [h, [C, "Sony"], [S, N]], [/\s(ouya)\s/i, /(nintendo)\s([wids3u]+)/i], [C, h, [S, k]], [/android.+;\s(shield)\sbuild/i], [h, [C, "Nvidia"], [S, k]], [/(playstation\s[34portablevi]+)/i], [h, [C, "Sony"], [S, k]], [/(sprint\s(\w+))/i], [[C, H.str, K.device.sprint.vendor], [h, H.str, K.device.sprint.model], [S, N]], [/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i], [C, h, [S, R]], [/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i, /(zte)-(\w*)/i, /(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i], [C, [h, /_/g, " "], [S, N]], [/(nexus\s9)/i], [h, [C, "HTC"], [S, R]], [/d\/huawei([\w\s-]+)[;\)]/i, /(nexus\s6p)/i], [h, [C, "Huawei"], [S, N]], [/(microsoft);\s(lumia[\s\w]+)/i], [C, h, [S, N]], [/[\s\(;](xbox(?:\sone)?)[\s\);]/i], [h, [C, "Microsoft"], [S, k]], [/(kin\.[onetw]{3})/i], [[h, /\./g, " "], [C, "Microsoft"], [S, N]], [/\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?:?(\s4g)?)[\w\s]+build\//i, /mot[\s-]?(\w*)/i, /(XT\d{3,4}) build\//i, /(nexus\s6)/i], [h, [C, "Motorola"], [S, N]], [/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i], [h, [C, "Motorola"], [S, R]], [/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i], [[C, Z.trim], [h, Z.trim], [S, ae]], [/hbbtv.+maple;(\d+)/i], [[h, /^/, "SmartTV"], [C, "Samsung"], [S, ae]], [/\(dtv[\);].+(aquos)/i], [h, [C, "Sharp"], [S, ae]], [/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n\d+|sgh-t8[56]9|nexus 10))/i, /((SM-T\w+))/i], [[C, "Samsung"], h, [S, R]], [/smart-tv.+(samsung)/i], [C, [S, ae], h], [/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i, /(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i, /sec-((sgh\w+))/i], [[C, "Samsung"], h, [S, N]], [/sie-(\w*)/i], [h, [C, "Siemens"], [S, N]], [/(maemo|nokia).*(n900|lumia\s\d+)/i, /(nokia)[\s_-]?([\w-]*)/i], [[C, "Nokia"], h, [S, N]], [/android\s3\.[\s\w;-]{10}(a\d{3})/i], [h, [C, "Acer"], [S, R]], [/android.+([vl]k\-?\d{3})\s+build/i], [h, [C, "LG"], [S, R]], [/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i], [[C, "LG"], h, [S, R]], [/(lg) netcast\.tv/i], [C, h, [S, ae]], [/(nexus\s[45])/i, /lg[e;\s\/-]+(\w*)/i, /android.+lg(\-?[\d\w]+)\s+build/i], [h, [C, "LG"], [S, N]], [/android.+(ideatab[a-z0-9\-\s]+)/i], [h, [C, "Lenovo"], [S, R]], [/linux;.+((jolla));/i], [C, h, [S, N]], [/((pebble))app\/[\d\.]+\s/i], [C, h, [S, _e]], [/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i], [C, h, [S, N]], [/crkey/i], [[h, "Chromecast"], [C, "Google"]], [/android.+;\s(glass)\s\d/i], [h, [C, "Google"], [S, _e]], [/android.+;\s(pixel c)\s/i], [h, [C, "Google"], [S, R]], [/android.+;\s(pixel xl|pixel)\s/i], [h, [C, "Google"], [S, N]], [/android.+;\s(\w+)\s+build\/hm\1/i, /android.+(hm[\s\-_]*note?[\s_]*(?:\d\w)?)\s+build/i, /android.+(mi[\s\-_]*(?:one|one[\s_]plus|note lte)?[\s_]*(?:\d?\w?)[\s_]*(?:plus)?)\s+build/i, /android.+(redmi[\s\-_]*(?:note)?(?:[\s_]*[\w\s]+))\s+build/i], [[h, /_/g, " "], [C, "Xiaomi"], [S, N]], [/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i], [[h, /_/g, " "], [C, "Xiaomi"], [S, R]], [/android.+;\s(m[1-5]\snote)\sbuild/i], [h, [C, "Meizu"], [S, R]], [/android.+a000(1)\s+build/i, /android.+oneplus\s(a\d{4})\s+build/i], [h, [C, "OnePlus"], [S, N]], [/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i], [h, [C, "RCA"], [S, R]], [/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i], [h, [C, "Dell"], [S, R]], [/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i], [h, [C, "Verizon"], [S, R]], [/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i], [[C, "Barnes & Noble"], h, [S, R]], [/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i], [h, [C, "NuVision"], [S, R]], [/android.+;\s(k88)\sbuild/i], [h, [C, "ZTE"], [S, R]], [/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i], [h, [C, "Swiss"], [S, N]], [/android.+[;\/]\s*(zur\d{3})\s+build/i], [h, [C, "Swiss"], [S, R]], [/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i], [h, [C, "Zeki"], [S, R]], [/(android).+[;\/]\s+([YR]\d{2})\s+build/i, /android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i], [[C, "Dragon Touch"], h, [S, R]], [/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i], [h, [C, "Insignia"], [S, R]], [/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i], [h, [C, "NextBook"], [S, R]], [/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i], [[C, "Voice"], h, [S, N]], [/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i], [[C, "LvTel"], h, [S, N]], [/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i], [h, [C, "Envizen"], [S, R]], [/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i], [C, h, [S, R]], [/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i], [h, [C, "MachSpeed"], [S, R]], [/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i], [C, h, [S, R]], [/android.+[;\/]\s*TU_(1491)\s+build/i], [h, [C, "Rotor"], [S, R]], [/android.+(KS(.+))\s+build/i], [h, [C, "Amazon"], [S, R]], [/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i], [C, h, [S, R]], [/\s(tablet|tab)[;\/]/i, /\s(mobile)(?:[;\/]|\ssafari)/i], [[S, Z.lowerize], C, h], [/(android[\w\.\s\-]{0,9});.+build/i], [h, [C, "Generic"]]], engine: [[/windows.+\sedge\/([\w\.]+)/i], [b, [m, "EdgeHTML"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m)\/([\w\.]+)/i, /(khtml|tasman|links)[\/\s]\(?([\w\.]+)/i, /(icab)[\/\s]([23]\.[\d\.]+)/i], [m, b], [/rv\:([\w\.]{1,9}).+(gecko)/i], [b, m]], os: [[/microsoft\s(windows)\s(vista|xp)/i], [m, b], [/(windows)\snt\s6\.2;\s(arm)/i, /(windows\sphone(?:\sos)*)[\s\/]?([\d\.\s\w]*)/i, /(windows\smobile|windows)[\s\/]?([ntce\d\.\s]+\w)/i], [m, [b, H.str, K.os.windows.version]], [/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i], [[m, "Windows"], [b, H.str, K.os.windows.version]], [/\((bb)(10);/i], [[m, "BlackBerry"], b], [/(blackberry)\w*\/?([\w\.]*)/i, /(tizen)[\/\s]([\w\.]+)/i, /(android|webos|palm\sos|qnx|bada|rim\stablet\sos|meego|contiki)[\/\s-]?([\w\.]*)/i, /linux;.+(sailfish);/i], [m, b], [/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i], [[m, "Symbian"], b], [/\((series40);/i], [m], [/mozilla.+\(mobile;.+gecko.+firefox/i], [[m, "Firefox OS"], b], [/(nintendo|playstation)\s([wids34portablevu]+)/i, /(mint)[\/\s\(]?(\w*)/i, /(mageia|vectorlinux)[;\s]/i, /(joli|[kxln]?ubuntu|debian|suse|opensuse|gentoo|(?=\s)arch|slackware|fedora|mandriva|centos|pclinuxos|redhat|zenwalk|linpus)[\/\s-]?(?!chrom)([\w\.-]*)/i, /(hurd|linux)\s?([\w\.]*)/i, /(gnu)\s?([\w\.]*)/i], [m, b], [/(cros)\s[\w]+\s([\w\.]+\w)/i], [[m, "Chromium OS"], b], [/(sunos)\s?([\w\.\d]*)/i], [[m, "Solaris"], b], [/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i], [m, b], [/(haiku)\s(\w+)/i], [m, b], [/cfnetwork\/.+darwin/i, /ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i], [[b, /_/g, "."], [m, "iOS"]], [/(mac\sos\sx)\s?([\w\s\.]*)/i, /(macintosh|mac(?=_powerpc)\s)/i], [[m, "Mac OS"], [b, /_/g, "."]], [/((?:open)?solaris)[\/\s-]?([\w\.]*)/i, /(aix)\s((\d)(?=\.|\)|\s)[\w\.])*/i, /(plan\s9|minix|beos|os\/2|amigaos|morphos|risc\sos|openvms)/i, /(unix)\s?([\w\.]*)/i], [m, b]] }, ce = function(ee, z) {
|
|
8442
|
+
if (typeof ee == "object" && (z = ee, ee = s), !(this instanceof ce))
|
|
8443
|
+
return new ce(ee, z).getResult();
|
|
8444
|
+
var L = ee || (o && o.navigator && o.navigator.userAgent ? o.navigator.userAgent : l), Y = z ? Z.extend(ue, z) : ue;
|
|
8440
8445
|
return this.getBrowser = function() {
|
|
8441
8446
|
var te = { name: s, version: s };
|
|
8442
8447
|
return H.rgx.call(te, L, Y.browser), te.major = Z.major(te.version), te;
|
|
@@ -8460,12 +8465,12 @@ function b1() {
|
|
|
8460
8465
|
return L = te, this;
|
|
8461
8466
|
}, this;
|
|
8462
8467
|
};
|
|
8463
|
-
|
|
8464
|
-
return
|
|
8465
|
-
}).call(r, n, r, e), i !== s && (e.exports = i)) : o && (o.UAParser =
|
|
8468
|
+
ce.VERSION = a, ce.BROWSER = { NAME: m, MAJOR: w, VERSION: b }, ce.CPU = { ARCHITECTURE: I }, ce.DEVICE = { MODEL: h, VENDOR: C, TYPE: S, CONSOLE: k, MOBILE: N, SMARTTV: ae, TABLET: R, WEARABLE: _e, EMBEDDED: le }, ce.ENGINE = { NAME: m, VERSION: b }, ce.OS = { NAME: m, VERSION: b }, typeof r !== f ? (typeof e !== f && e.exports && (r = e.exports = ce), r.UAParser = ce) : n(3) ? (i = (function() {
|
|
8469
|
+
return ce;
|
|
8470
|
+
}).call(r, n, r, e), i !== s && (e.exports = i)) : o && (o.UAParser = ce);
|
|
8466
8471
|
var we = o && (o.jQuery || o.Zepto);
|
|
8467
|
-
if (typeof we !==
|
|
8468
|
-
var ve = new
|
|
8472
|
+
if (typeof we !== f) {
|
|
8473
|
+
var ve = new ce();
|
|
8469
8474
|
we.ua = ve.getResult(), we.ua.get = function() {
|
|
8470
8475
|
return ve.getUA();
|
|
8471
8476
|
}, we.ua.set = function(ee) {
|
|
@@ -8514,7 +8519,7 @@ function b1() {
|
|
|
8514
8519
|
default:
|
|
8515
8520
|
return a;
|
|
8516
8521
|
}
|
|
8517
|
-
}, d = function(S, C, b, I,
|
|
8522
|
+
}, d = function(S, C, b, I, k) {
|
|
8518
8523
|
return {
|
|
8519
8524
|
isBrowser: S,
|
|
8520
8525
|
browserMajorVersion: C.major,
|
|
@@ -8524,7 +8529,7 @@ function b1() {
|
|
|
8524
8529
|
engineVersion: b.version,
|
|
8525
8530
|
osName: I.name,
|
|
8526
8531
|
osVersion: I.version,
|
|
8527
|
-
userAgent:
|
|
8532
|
+
userAgent: k
|
|
8528
8533
|
};
|
|
8529
8534
|
}, p = function(S, C, b, I) {
|
|
8530
8535
|
return i({}, S, {
|
|
@@ -8534,7 +8539,7 @@ function b1() {
|
|
|
8534
8539
|
osVersion: b.version,
|
|
8535
8540
|
ua: I
|
|
8536
8541
|
});
|
|
8537
|
-
},
|
|
8542
|
+
}, f = function(S, C, b, I) {
|
|
8538
8543
|
return {
|
|
8539
8544
|
isSmartTV: S,
|
|
8540
8545
|
engineName: C.name,
|
|
@@ -8563,7 +8568,7 @@ function b1() {
|
|
|
8563
8568
|
};
|
|
8564
8569
|
}, w = r.getNavigatorInstance = function() {
|
|
8565
8570
|
return typeof window != "undefined" && (window.navigator || navigator) ? window.navigator || navigator : !1;
|
|
8566
|
-
},
|
|
8571
|
+
}, h = r.isIOS13Check = function(S) {
|
|
8567
8572
|
var C = w();
|
|
8568
8573
|
return C && C.platform && (C.platform.indexOf(S) !== -1 || C.platform === "MacIntel" && C.maxTouchPoints > 1 && !window.MSStream);
|
|
8569
8574
|
};
|
|
@@ -8571,11 +8576,11 @@ function b1() {
|
|
|
8571
8576
|
checkType: l,
|
|
8572
8577
|
broPayload: d,
|
|
8573
8578
|
mobilePayload: p,
|
|
8574
|
-
stvPayload:
|
|
8579
|
+
stvPayload: f,
|
|
8575
8580
|
consolePayload: c,
|
|
8576
8581
|
wearPayload: g,
|
|
8577
8582
|
getNavigatorInstance: w,
|
|
8578
|
-
isIOS13Check:
|
|
8583
|
+
isIOS13Check: h
|
|
8579
8584
|
};
|
|
8580
8585
|
})
|
|
8581
8586
|
/******/
|
|
@@ -8587,7 +8592,7 @@ var C1 = b1(), S1 = Object.defineProperty, Or = (t, e, r, n) => {
|
|
|
8587
8592
|
(s = t[o]) && (i = s(e, r, i) || i);
|
|
8588
8593
|
return i && S1(e, r, i), i;
|
|
8589
8594
|
};
|
|
8590
|
-
const No = class No extends
|
|
8595
|
+
const No = class No extends Mr {
|
|
8591
8596
|
constructor() {
|
|
8592
8597
|
super(), this._currentProgressElement = null, this._currentScreenElement = null, this._currentScreenModuleId = "", this._currentScreenConfig = null, this.orientation = new y1(this), this.store = Le.getInitialState(), this.currentScreenConfig = this.store.currentScreenConfig, this.processingScreenFromWorkflow = this.store.processingTransformedTemplate, this.isProcessing = this.store.isProcessing, this.loadedModules = this.store.externalModules, this.modulesConfig = this.store.modulesConfig, this._listenerFromModule = (e, r) => {
|
|
8593
8598
|
this.store.listener({
|
|
@@ -8636,7 +8641,7 @@ const No = class No extends Dr {
|
|
|
8636
8641
|
return (!this._currentScreenElement || !this._isTheSameModuleAndScreen(e)) && (this._currentScreenElement = Hs(e.id, r), this._currentScreenModuleId = e.id, this._currentScreenConfig = this.currentScreenConfig), this._currentScreenElement;
|
|
8637
8642
|
}
|
|
8638
8643
|
get version() {
|
|
8639
|
-
return `${"3.2.
|
|
8644
|
+
return `${"3.2.262-nightly".trim()}`;
|
|
8640
8645
|
}
|
|
8641
8646
|
disconnectedCallback() {
|
|
8642
8647
|
na.clearLogs();
|
|
@@ -8722,7 +8727,7 @@ class P1 {
|
|
|
8722
8727
|
}
|
|
8723
8728
|
/** service commands */
|
|
8724
8729
|
get version() {
|
|
8725
|
-
return "3.2.
|
|
8730
|
+
return "3.2.262-nightly";
|
|
8726
8731
|
}
|
|
8727
8732
|
set nonce(e) {
|
|
8728
8733
|
Le.getState().setNonce(e);
|
|
@@ -8747,7 +8752,7 @@ export {
|
|
|
8747
8752
|
Un as DeinitializationError,
|
|
8748
8753
|
Fn as IdvEventTypesEnum,
|
|
8749
8754
|
P1 as IdvIntegrationService,
|
|
8750
|
-
|
|
8755
|
+
Pr as IdvServiceMessages,
|
|
8751
8756
|
Bt as IdvWebComponent,
|
|
8752
8757
|
ei as InitializeError,
|
|
8753
8758
|
Et as PrepareWorkflowError,
|