@regulaforensics/idv-capture-web 3.2.251-nightly → 3.2.252-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/index.d.ts +9 -2
- package/dist/main.iife.js +16 -16
- package/dist/main.js +697 -671
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
var Dl = Object.defineProperty,
|
|
2
|
-
var
|
|
1
|
+
var Dl = Object.defineProperty, Ml = Object.defineProperties;
|
|
2
|
+
var Pl = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var On = Object.getOwnPropertySymbols;
|
|
4
4
|
var Lo = Object.prototype.hasOwnProperty, Vo = Object.prototype.propertyIsEnumerable;
|
|
5
5
|
var Uo = (t, e, r) => e in t ? Dl(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, I = (t, e) => {
|
|
@@ -9,8 +9,8 @@ var Uo = (t, e, r) => e in t ? Dl(t, e, { enumerable: !0, configurable: !0, writ
|
|
|
9
9
|
for (var r of On(e))
|
|
10
10
|
Vo.call(e, r) && Uo(t, r, e[r]);
|
|
11
11
|
return t;
|
|
12
|
-
}, Y = (t, e) =>
|
|
13
|
-
var
|
|
12
|
+
}, Y = (t, e) => Ml(t, Pl(e));
|
|
13
|
+
var Xt = (t, e) => {
|
|
14
14
|
var r = {};
|
|
15
15
|
for (var n in t)
|
|
16
16
|
Lo.call(t, n) && e.indexOf(n) < 0 && (r[n] = t[n]);
|
|
@@ -19,7 +19,7 @@ var Jt = (t, e) => {
|
|
|
19
19
|
e.indexOf(n) < 0 && Vo.call(t, n) && (r[n] = t[n]);
|
|
20
20
|
return r;
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var P = (t, e, r) => new Promise((n, i) => {
|
|
23
23
|
var o = (l) => {
|
|
24
24
|
try {
|
|
25
25
|
a(r.next(l));
|
|
@@ -82,7 +82,7 @@ const Fl = (t) => new Js(typeof t == "string" ? t : t + "", void 0, Xi), Ul = (t
|
|
|
82
82
|
* Copyright 2017 Google LLC
|
|
83
83
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
84
84
|
*/
|
|
85
|
-
const { is: Vl, defineProperty: $l, getOwnPropertyDescriptor: Bl, getOwnPropertyNames: Hl, getOwnPropertySymbols: Wl, getPrototypeOf: jl } = Object,
|
|
85
|
+
const { is: Vl, defineProperty: $l, getOwnPropertyDescriptor: Bl, getOwnPropertyNames: Hl, getOwnPropertySymbols: Wl, getPrototypeOf: jl } = Object, qt = globalThis, Ho = qt.trustedTypes, zl = Ho ? Ho.emptyScript : "", bi = qt.reactiveElementPolyfillSupport, kr = (t, e) => t, Dn = { toAttribute(t, e) {
|
|
86
86
|
switch (e) {
|
|
87
87
|
case Boolean:
|
|
88
88
|
t = t ? zl : null;
|
|
@@ -112,7 +112,7 @@ const { is: Vl, defineProperty: $l, getOwnPropertyDescriptor: Bl, getOwnProperty
|
|
|
112
112
|
return r;
|
|
113
113
|
} }, Qi = (t, e) => !Vl(t, e), Wo = { attribute: !0, type: String, converter: Dn, reflect: !1, useDefault: !1, hasChanged: Qi };
|
|
114
114
|
var zs, Ks;
|
|
115
|
-
(zs = Symbol.metadata) != null || (Symbol.metadata = Symbol("metadata")), (Ks =
|
|
115
|
+
(zs = Symbol.metadata) != null || (Symbol.metadata = Symbol("metadata")), (Ks = qt.litPropertyMetadata) != null || (qt.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
116
116
|
let _r = class extends HTMLElement {
|
|
117
117
|
static addInitializer(e) {
|
|
118
118
|
var r;
|
|
@@ -254,7 +254,7 @@ let _r = class extends HTMLElement {
|
|
|
254
254
|
n && !((a = this._$Ej) != null ? a : this._$Ej = /* @__PURE__ */ new Map()).has(e) && (this._$Ej.set(e, (l = s != null ? s : r) != null ? l : this[e]), o !== !0 || s !== void 0) || (this._$AL.has(e) || (this.hasUpdated || n || (r = void 0), this._$AL.set(e, r)), i === !0 && this._$Em !== e && ((d = this._$Eq) != null ? d : this._$Eq = /* @__PURE__ */ new Set()).add(e));
|
|
255
255
|
}
|
|
256
256
|
_$EP() {
|
|
257
|
-
return
|
|
257
|
+
return P(this, null, function* () {
|
|
258
258
|
this.isUpdatePending = !0;
|
|
259
259
|
try {
|
|
260
260
|
yield this._$ES;
|
|
@@ -324,15 +324,15 @@ let _r = class extends HTMLElement {
|
|
|
324
324
|
}
|
|
325
325
|
};
|
|
326
326
|
var Gs;
|
|
327
|
-
_r.elementStyles = [], _r.shadowRootOptions = { mode: "open" }, _r[kr("elementProperties")] = /* @__PURE__ */ new Map(), _r[kr("finalized")] = /* @__PURE__ */ new Map(), bi == null || bi({ ReactiveElement: _r }), ((Gs =
|
|
327
|
+
_r.elementStyles = [], _r.shadowRootOptions = { mode: "open" }, _r[kr("elementProperties")] = /* @__PURE__ */ new Map(), _r[kr("finalized")] = /* @__PURE__ */ new Map(), bi == null || bi({ ReactiveElement: _r }), ((Gs = qt.reactiveElementVersions) != null ? Gs : qt.reactiveElementVersions = []).push("2.1.1");
|
|
328
328
|
/**
|
|
329
329
|
* @license
|
|
330
330
|
* Copyright 2017 Google LLC
|
|
331
331
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
332
332
|
*/
|
|
333
|
-
const Nr = globalThis,
|
|
334
|
-
\f\r]`, Or = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, zo = /-->/g, Ko = />/g,
|
|
335
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), Go = /'/g, qo = /"/g, ea = /^(?:script|style|textarea|title)$/i, ql = (t) => (e, ...r) => ({ _$litType$: t, strings: e, values: r }), Si = ql(1), vr = Symbol.for("lit-noChange"), Re = Symbol.for("lit-nothing"), Zo = /* @__PURE__ */ new WeakMap(),
|
|
333
|
+
const Nr = globalThis, Mn = Nr.trustedTypes, jo = Mn ? Mn.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, Xs = "$lit$", Gt = `lit$${Math.random().toFixed(9).slice(2)}$`, Qs = "?" + Gt, Kl = `<${Qs}>`, lr = document, Hr = () => lr.createComment(""), Wr = (t) => t === null || typeof t != "object" && typeof t != "function", eo = Array.isArray, Gl = (t) => eo(t) || typeof (t == null ? void 0 : t[Symbol.iterator]) == "function", Ci = `[
|
|
334
|
+
\f\r]`, Or = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, zo = /-->/g, Ko = />/g, Qt = RegExp(`>|${Ci}(?:([^\\s"'>=/]+)(${Ci}*=${Ci}*(?:[^
|
|
335
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Go = /'/g, qo = /"/g, ea = /^(?:script|style|textarea|title)$/i, ql = (t) => (e, ...r) => ({ _$litType$: t, strings: e, values: r }), Si = ql(1), vr = Symbol.for("lit-noChange"), Re = Symbol.for("lit-nothing"), Zo = /* @__PURE__ */ new WeakMap(), or = lr.createTreeWalker(lr, 129);
|
|
336
336
|
function ta(t, e) {
|
|
337
337
|
if (!eo(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
338
338
|
return jo !== void 0 ? jo.createHTML(e) : e;
|
|
@@ -343,9 +343,9 @@ const Zl = (t, e) => {
|
|
|
343
343
|
for (let a = 0; a < r; a++) {
|
|
344
344
|
const l = t[a];
|
|
345
345
|
let d, _, h = -1, c = 0;
|
|
346
|
-
for (; c < l.length && (s.lastIndex = c, _ = s.exec(l), _ !== null); ) c = s.lastIndex, s === Or ? _[1] === "!--" ? s = zo : _[1] !== void 0 ? s = Ko : _[2] !== void 0 ? (ea.test(_[2]) && (i = RegExp("</" + _[2], "g")), s =
|
|
347
|
-
const y = s ===
|
|
348
|
-
o += s === Or ? l + Kl : h >= 0 ? (n.push(d), l.slice(0, h) + Xs + l.slice(h) +
|
|
346
|
+
for (; c < l.length && (s.lastIndex = c, _ = s.exec(l), _ !== null); ) c = s.lastIndex, s === Or ? _[1] === "!--" ? s = zo : _[1] !== void 0 ? s = Ko : _[2] !== void 0 ? (ea.test(_[2]) && (i = RegExp("</" + _[2], "g")), s = Qt) : _[3] !== void 0 && (s = Qt) : s === Qt ? _[0] === ">" ? (s = i != null ? i : Or, h = -1) : _[1] === void 0 ? h = -2 : (h = s.lastIndex - _[2].length, d = _[1], s = _[3] === void 0 ? Qt : _[3] === '"' ? qo : Go) : s === qo || s === Go ? s = Qt : s === zo || s === Ko ? s = Or : (s = Qt, i = void 0);
|
|
347
|
+
const y = s === Qt && t[a + 1].startsWith("/>") ? " " : "";
|
|
348
|
+
o += s === Or ? l + Kl : h >= 0 ? (n.push(d), l.slice(0, h) + Xs + l.slice(h) + Gt + y) : l + Gt + (h === -2 ? a : y);
|
|
349
349
|
}
|
|
350
350
|
return [ta(t, o + (t[r] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), n];
|
|
351
351
|
};
|
|
@@ -355,28 +355,28 @@ let Li = class ra {
|
|
|
355
355
|
this.parts = [];
|
|
356
356
|
let o = 0, s = 0;
|
|
357
357
|
const a = e.length - 1, l = this.parts, [d, _] = Zl(e, r);
|
|
358
|
-
if (this.el = ra.createElement(d, n),
|
|
358
|
+
if (this.el = ra.createElement(d, n), or.currentNode = this.el.content, r === 2 || r === 3) {
|
|
359
359
|
const h = this.el.content.firstChild;
|
|
360
360
|
h.replaceWith(...h.childNodes);
|
|
361
361
|
}
|
|
362
|
-
for (; (i =
|
|
362
|
+
for (; (i = or.nextNode()) !== null && l.length < a; ) {
|
|
363
363
|
if (i.nodeType === 1) {
|
|
364
364
|
if (i.hasAttributes()) for (const h of i.getAttributeNames()) if (h.endsWith(Xs)) {
|
|
365
|
-
const c = _[s++], y = i.getAttribute(h).split(
|
|
365
|
+
const c = _[s++], y = i.getAttribute(h).split(Gt), g = /([.?@])?(.*)/.exec(c);
|
|
366
366
|
l.push({ type: 1, index: o, name: g[2], strings: y, ctor: g[1] === "." ? Jl : g[1] === "?" ? Xl : g[1] === "@" ? Ql : Jn }), i.removeAttribute(h);
|
|
367
|
-
} else h.startsWith(
|
|
367
|
+
} else h.startsWith(Gt) && (l.push({ type: 6, index: o }), i.removeAttribute(h));
|
|
368
368
|
if (ea.test(i.tagName)) {
|
|
369
|
-
const h = i.textContent.split(
|
|
369
|
+
const h = i.textContent.split(Gt), c = h.length - 1;
|
|
370
370
|
if (c > 0) {
|
|
371
|
-
i.textContent =
|
|
372
|
-
for (let y = 0; y < c; y++) i.append(h[y], Hr()),
|
|
371
|
+
i.textContent = Mn ? Mn.emptyScript : "";
|
|
372
|
+
for (let y = 0; y < c; y++) i.append(h[y], Hr()), or.nextNode(), l.push({ type: 2, index: ++o });
|
|
373
373
|
i.append(h[c], Hr());
|
|
374
374
|
}
|
|
375
375
|
}
|
|
376
376
|
} else if (i.nodeType === 8) if (i.data === Qs) l.push({ type: 2, index: o });
|
|
377
377
|
else {
|
|
378
378
|
let h = -1;
|
|
379
|
-
for (; (h = i.data.indexOf(
|
|
379
|
+
for (; (h = i.data.indexOf(Gt, h + 1)) !== -1; ) l.push({ type: 7, index: o }), h += Gt.length - 1;
|
|
380
380
|
}
|
|
381
381
|
o++;
|
|
382
382
|
}
|
|
@@ -406,16 +406,16 @@ let Yl = class {
|
|
|
406
406
|
u(e) {
|
|
407
407
|
var d;
|
|
408
408
|
const { el: { content: r }, parts: n } = this._$AD, i = ((d = e == null ? void 0 : e.creationScope) != null ? d : lr).importNode(r, !0);
|
|
409
|
-
|
|
410
|
-
let o =
|
|
409
|
+
or.currentNode = i;
|
|
410
|
+
let o = or.nextNode(), s = 0, a = 0, l = n[0];
|
|
411
411
|
for (; l !== void 0; ) {
|
|
412
412
|
if (s === l.index) {
|
|
413
413
|
let _;
|
|
414
414
|
l.type === 2 ? _ = new to(o, o.nextSibling, this, e) : l.type === 1 ? _ = new l.ctor(o, l.name, l.strings, this, e) : l.type === 6 && (_ = new ec(o, this, e)), this._$AV.push(_), l = n[++a];
|
|
415
415
|
}
|
|
416
|
-
s !== (l == null ? void 0 : l.index) && (o =
|
|
416
|
+
s !== (l == null ? void 0 : l.index) && (o = or.nextNode(), s++);
|
|
417
417
|
}
|
|
418
|
-
return
|
|
418
|
+
return or.currentNode = lr, i;
|
|
419
419
|
}
|
|
420
420
|
p(e) {
|
|
421
421
|
let r = 0;
|
|
@@ -743,15 +743,15 @@ const Vi = new oc(), sc = Ul`
|
|
|
743
743
|
background: white;
|
|
744
744
|
z-index: 1000;
|
|
745
745
|
}
|
|
746
|
-
`,
|
|
746
|
+
`, Pn = {
|
|
747
747
|
MESSAGE: "MESSAGE",
|
|
748
748
|
ERROR: "ERROR"
|
|
749
749
|
}, ac = {
|
|
750
750
|
DATA: "DATA",
|
|
751
751
|
QUESTIONARY: "QUESTIONARY"
|
|
752
752
|
}, lc = Object.values(ac);
|
|
753
|
-
var ia = /* @__PURE__ */ ((t) => (t.Rtl = "rtl", t.Ltr = "ltr", t))(ia || {}),
|
|
754
|
-
const cc = 120, dc = 200, $i = "PROGRESS",
|
|
753
|
+
var ia = /* @__PURE__ */ ((t) => (t.Rtl = "rtl", t.Ltr = "ltr", t))(ia || {}), Mr = /* @__PURE__ */ ((t) => (t.DID_START_SESSION = "DID_START_SESSION", t.DID_END_SESSION = "DID_END_SESSION", t.DID_START_RESTORE_SESSION = "DID_START_RESTORE_SESSION", t.DID_CONTINUE_REMOTE_SESSION = "DID_CONTINUE_REMOTE_SESSION", t))(Mr || {}), St = /* @__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))(St || {}), Le = /* @__PURE__ */ ((t) => (t[t.CONNECTION_ISSUE = 0] = "CONNECTION_ISSUE", t[t.CONFIG_MISSED_OR_INVALID = 1] = "CONFIG_MISSED_OR_INVALID", t[t.INITIALIZATION_REQUIRED = 2] = "INITIALIZATION_REQUIRED", t[t.SCENARIO_IN_PROGRESS = 3] = "SCENARIO_IN_PROGRESS", t))(Le || {}), Ke = /* @__PURE__ */ ((t) => (t[t.INITIALIZATION_REQUIRED = 0] = "INITIALIZATION_REQUIRED", t[t.PREPARED_REQUIRED = 1] = "PREPARED_REQUIRED", t[t.START_SESSION_FAILED = 2] = "START_SESSION_FAILED", t[t.UNKNOWN_STEP = 3] = "UNKNOWN_STEP", t[t.MODULES_ISSUE = 4] = "MODULES_ISSUE", t[t.ALREADY_STARTED = 5] = "ALREADY_STARTED", t[t.INTERNAL_ISSUE = 6] = "INTERNAL_ISSUE", t))(Ke || {}), Xn = /* @__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))(Xn || {}), Fn = /* @__PURE__ */ ((t) => (t[t.CONNECTION_ISSUE = 0] = "CONNECTION_ISSUE", t[t.WORKFLOW_ISSUE = 1] = "WORKFLOW_ISSUE", t))(Fn || {}), Et = /* @__PURE__ */ ((t) => (t[t.HTTP_ISSUE = 0] = "HTTP_ISSUE", t[t.PROVIDER_ERROR = 1] = "PROVIDER_ERROR", t[t.DECODING_FAILED = 2] = "DECODING_FAILED", t))(Et || {}), 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 || {}), at = /* @__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))(at || {}), Un = /* @__PURE__ */ ((t) => (t[t.INITIALIZATION_REQUIRED = 0] = "INITIALIZATION_REQUIRED", t[t.SCENARIO_IN_PROGRESS = 3] = "SCENARIO_IN_PROGRESS", t))(Un || {}), Kt = /* @__PURE__ */ ((t) => (t[t.HTTP_ISSUE = 0] = "HTTP_ISSUE", t[t.PROVIDER_ERROR = 1] = "PROVIDER_ERROR", t))(Kt || {});
|
|
754
|
+
const cc = 120, dc = 200, $i = "PROGRESS", wt = "IDV", er = "idv-session-data", xr = "idv-session-auth-token", uc = "rgl-uid", fc = "en", Yo = (t) => {
|
|
755
755
|
let e;
|
|
756
756
|
const r = /* @__PURE__ */ new Set(), n = (d, _) => {
|
|
757
757
|
const h = typeof d == "function" ? d(e) : d;
|
|
@@ -762,21 +762,21 @@ const cc = 120, dc = 200, $i = "PROGRESS", gt = "IDV", Qt = "idv-session-data",
|
|
|
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
|
}, hc = (t) => t ? Yo(t) : Yo;
|
|
765
|
-
var Kr, ae, oa,
|
|
766
|
-
function
|
|
765
|
+
var Kr, ae, oa, rr, Jo, sa, aa, la, ro, Bi, Hi, ca, jr = {}, da = [], pc = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, Gr = Array.isArray;
|
|
766
|
+
function mt(t, e) {
|
|
767
767
|
for (var r in e) t[r] = e[r];
|
|
768
768
|
return t;
|
|
769
769
|
}
|
|
770
770
|
function no(t) {
|
|
771
771
|
t && t.parentNode && t.parentNode.removeChild(t);
|
|
772
772
|
}
|
|
773
|
-
function
|
|
773
|
+
function gt(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
776
|
if (arguments.length > 2 && (s.children = arguments.length > 3 ? Kr.call(arguments, 2) : r), typeof t == "function" && t.defaultProps != null) for (o in t.defaultProps) s[o] === void 0 && (s[o] = t.defaultProps[o]);
|
|
777
|
-
return
|
|
777
|
+
return Pr(t, s, n, i, null);
|
|
778
778
|
}
|
|
779
|
-
function
|
|
779
|
+
function Pr(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 && ae.vnode != null && ae.vnode(o), o;
|
|
782
782
|
}
|
|
@@ -786,7 +786,7 @@ function ua() {
|
|
|
786
786
|
function We(t) {
|
|
787
787
|
return t.children;
|
|
788
788
|
}
|
|
789
|
-
function
|
|
789
|
+
function ft(t, e) {
|
|
790
790
|
this.props = t, this.context = e;
|
|
791
791
|
}
|
|
792
792
|
function br(t, e) {
|
|
@@ -805,10 +805,10 @@ function fa(t) {
|
|
|
805
805
|
}
|
|
806
806
|
}
|
|
807
807
|
function Wi(t) {
|
|
808
|
-
(!t.__d && (t.__d = !0) &&
|
|
808
|
+
(!t.__d && (t.__d = !0) && rr.push(t) && !Ln.__r++ || Jo != ae.debounceRendering) && ((Jo = ae.debounceRendering) || sa)(Ln);
|
|
809
809
|
}
|
|
810
810
|
function Ln() {
|
|
811
|
-
for (var t, e, r, n, i, o, s, a = 1;
|
|
811
|
+
for (var t, e, r, n, i, o, s, a = 1; rr.length; ) rr.length > a && rr.sort(aa), t = rr.shift(), a = rr.length, t.__d && (r = void 0, n = void 0, i = (n = (e = t).__v).__e, o = [], s = [], e.__P && ((r = mt({}, n)).__v = n.__v + 1, ae.vnode && ae.vnode(r), io(e.__P, r, n, e.__n, e.__P.namespaceURI, 32 & n.__u ? [i] : null, o, i == null ? br(n) : i, !!(32 & n.__u), s), r.__v = n.__v, r.__.__k[r.__i] = r, _a(o, r, s), n.__e = n.__ = null, r.__e != i && fa(r)));
|
|
812
812
|
Ln.__r = 0;
|
|
813
813
|
}
|
|
814
814
|
function ha(t, e, r, n, i, o, s, a, l, d, _) {
|
|
@@ -818,7 +818,7 @@ function ha(t, e, r, n, i, o, s, a, l, d, _) {
|
|
|
818
818
|
}
|
|
819
819
|
function _c(t, e, r, n, i) {
|
|
820
820
|
var o, s, a, l, d, _ = r.length, h = _, 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 ?
|
|
821
|
+
for (t.__k = new Array(i), o = 0; o < i; o++) (s = e[o]) != null && typeof s != "boolean" && typeof s != "function" ? (l = o + c, (s = t.__k[o] = typeof s == "string" || typeof s == "number" || typeof s == "bigint" || s.constructor == String ? Pr(null, s, null, null, null) : Gr(s) ? Pr(We, { children: s }, null, null, null) : s.constructor == null && s.__b > 0 ? Pr(s.type, s.props, s.key, s.ref ? s.ref : null, s.__v) : s).__ = t, s.__b = t.__b + 1, a = null, (d = s.__i = mc(s, r, l, h)) != -1 && (h--, (a = r[d]) && (a.__u |= 2)), a == null || a.__v == null ? (d == -1 && (i > _ ? c-- : i < _ && 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
822
|
if (h) for (o = 0; o < _; o++) (a = r[o]) != null && (2 & a.__u) == 0 && (a.__e == n && (n = br(a)), ga(a, a));
|
|
823
823
|
return n;
|
|
824
824
|
}
|
|
@@ -834,9 +834,9 @@ function pa(t, e, r, n) {
|
|
|
834
834
|
while (e != null && e.nodeType == 8);
|
|
835
835
|
return e;
|
|
836
836
|
}
|
|
837
|
-
function
|
|
837
|
+
function Lt(t, e) {
|
|
838
838
|
return e = e || [], t == null || typeof t == "boolean" || (Gr(t) ? t.some(function(r) {
|
|
839
|
-
|
|
839
|
+
Lt(r, e);
|
|
840
840
|
}) : e.push(t)), e;
|
|
841
841
|
}
|
|
842
842
|
function mc(t, e, r, n) {
|
|
@@ -879,11 +879,11 @@ function Qo(t) {
|
|
|
879
879
|
};
|
|
880
880
|
}
|
|
881
881
|
function io(t, e, r, n, i, o, s, a, l, d) {
|
|
882
|
-
var _, h, c, y, g, f, m, S, b, C, O, N, R,
|
|
882
|
+
var _, h, c, y, g, f, m, S, b, C, O, N, R, F, pe, _e, ee, Q = 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]), (_ = ae.__b) && _(e);
|
|
885
885
|
e: if (typeof Q == "function") try {
|
|
886
|
-
if (S = e.props, b = "prototype" in Q && Q.prototype.render, C = (_ = Q.contextType) && n[_.__c], O = _ ? C ? C.props.value : _.__ : n, r.__c ? m = (h = e.__c = r.__c).__ = h.__E : (b ? e.__c = h = new Q(S, O) : (e.__c = h = new
|
|
886
|
+
if (S = e.props, b = "prototype" in Q && Q.prototype.render, C = (_ = Q.contextType) && n[_.__c], O = _ ? C ? C.props.value : _.__ : n, r.__c ? m = (h = e.__c = r.__c).__ = h.__E : (b ? e.__c = h = new Q(S, O) : (e.__c = h = new ft(S, O), h.constructor = Q, h.render = wc), C && C.sub(h), h.props = S, h.state || (h.state = {}), h.context = O, h.__n = n, c = h.__d = !0, h.__h = [], h._sb = []), b && h.__s == null && (h.__s = h.state), b && Q.getDerivedStateFromProps != null && (h.__s == h.state && (h.__s = mt({}, h.__s)), mt(h.__s, Q.getDerivedStateFromProps(S, h.__s))), y = h.props, g = h.state, h.__v = e, c) b && Q.getDerivedStateFromProps == null && h.componentWillMount != null && h.componentWillMount(), b && h.componentDidMount != null && h.__h.push(h.componentDidMount);
|
|
887
887
|
else {
|
|
888
888
|
if (b && Q.getDerivedStateFromProps == null && S !== y && h.componentWillReceiveProps != null && h.componentWillReceiveProps(S, O), !h.__e && h.shouldComponentUpdate != null && h.shouldComponentUpdate(S, h.__s, O) === !1 || e.__v == r.__v) {
|
|
889
889
|
for (e.__v != r.__v && (h.props = S, h.state = h.__s, h.__d = !1), e.__e = r.__e, e.__k = r.__k, e.__k.some(function(H) {
|
|
@@ -896,13 +896,13 @@ function io(t, e, r, n, i, o, s, a, l, d) {
|
|
|
896
896
|
h.componentDidUpdate(y, g, f);
|
|
897
897
|
});
|
|
898
898
|
}
|
|
899
|
-
if (h.context = O, h.props = S, h.__P = t, h.__e = !1, R = ae.__r,
|
|
899
|
+
if (h.context = O, h.props = S, h.__P = t, h.__e = !1, R = ae.__r, F = 0, b) {
|
|
900
900
|
for (h.state = h.__s, h.__d = !1, R && R(e), _ = h.render(h.props, h.state, h.context), pe = 0; pe < h._sb.length; pe++) h.__h.push(h._sb[pe]);
|
|
901
901
|
h._sb = [];
|
|
902
902
|
} else do
|
|
903
903
|
h.__d = !1, R && R(e), _ = h.render(h.props, h.state, h.context), h.state = h.__s;
|
|
904
|
-
while (h.__d && ++
|
|
905
|
-
h.state = h.__s, h.getChildContext != null && (n =
|
|
904
|
+
while (h.__d && ++F < 25);
|
|
905
|
+
h.state = h.__s, h.getChildContext != null && (n = mt(mt({}, n), h.getChildContext())), b && !c && h.getSnapshotBeforeUpdate != null && (f = h.getSnapshotBeforeUpdate(y, g)), _e = _, _ != null && _.type === We && _.key == null && (_e = ma(_.props.children)), a = ha(t, Gr(_e) ? _e : [_e], e, r, n, i, o, s, a, l, d), h.base = e.__e, e.__u &= -161, h.__h.length && s.push(h), m && (h.__E = h.__ = null);
|
|
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;
|
|
@@ -933,7 +933,7 @@ function _a(t, e, r) {
|
|
|
933
933
|
});
|
|
934
934
|
}
|
|
935
935
|
function ma(t) {
|
|
936
|
-
return typeof t != "object" || t == null || t.__b && t.__b > 0 ? t : Gr(t) ? t.map(ma) :
|
|
936
|
+
return typeof t != "object" || t == null || t.__b && t.__b > 0 ? t : Gr(t) ? t.map(ma) : mt({}, t);
|
|
937
937
|
}
|
|
938
938
|
function gc(t, e, r, n, i, o, s, a, l) {
|
|
939
939
|
var d, _, h, c, y, g, f, m = r.props, S = e.props, b = e.type;
|
|
@@ -992,15 +992,15 @@ function wc(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), ae.__ && ae.__(t, e), i = (n = typeof r == "function") ? null : r && r.__k || e.__k, o = [], s = [], io(e, t = (!n && r || e).__k =
|
|
995
|
+
e == document && (e = document.documentElement), ae.__ && ae.__(t, e), i = (n = typeof r == "function") ? null : r && r.__k || e.__k, o = [], s = [], io(e, t = (!n && r || e).__k = gt(We, null, [t]), i || jr, jr, e.namespaceURI, !n && r ? [r] : i ? null : e.firstChild ? Kr.call(e.childNodes) : null, o, !n && r ? r : i ? i.__e : e.firstChild, n, s), _a(o, t, s);
|
|
996
996
|
}
|
|
997
997
|
function wa(t, e) {
|
|
998
998
|
Cr(t, e, wa);
|
|
999
999
|
}
|
|
1000
1000
|
function vc(t, e, r) {
|
|
1001
|
-
var n, i, o, s, a =
|
|
1001
|
+
var n, i, o, s, a = mt({}, t.props);
|
|
1002
1002
|
for (o in t.type && t.type.defaultProps && (s = t.type.defaultProps), e) o == "key" ? n = e[o] : o == "ref" ? i = e[o] : a[o] = e[o] === void 0 && s != null ? s[o] : e[o];
|
|
1003
|
-
return arguments.length > 2 && (a.children = arguments.length > 3 ? Kr.call(arguments, 2) : r),
|
|
1003
|
+
return arguments.length > 2 && (a.children = arguments.length > 3 ? Kr.call(arguments, 2) : r), Pr(t.type, a, n || t.key, i || t.ref, null);
|
|
1004
1004
|
}
|
|
1005
1005
|
function so(t) {
|
|
1006
1006
|
function e(r) {
|
|
@@ -1032,25 +1032,25 @@ Kr = da.slice, ae = { __e: function(t, e, r, n) {
|
|
|
1032
1032
|
t = a;
|
|
1033
1033
|
}
|
|
1034
1034
|
throw t;
|
|
1035
|
-
} }, oa = 0,
|
|
1035
|
+
} }, oa = 0, ft.prototype.setState = function(t, e) {
|
|
1036
1036
|
var r;
|
|
1037
|
-
r = this.__s != null && this.__s != this.state ? this.__s : this.__s =
|
|
1038
|
-
},
|
|
1037
|
+
r = this.__s != null && this.__s != this.state ? this.__s : this.__s = mt({}, this.state), typeof t == "function" && (t = t(mt({}, r), this.props)), t && mt(r, t), t != null && this.__v && (e && this._sb.push(e), Wi(this));
|
|
1038
|
+
}, ft.prototype.forceUpdate = function(t) {
|
|
1039
1039
|
this.__v && (this.__e = !0, t && this.__h.push(t), Wi(this));
|
|
1040
|
-
},
|
|
1040
|
+
}, ft.prototype.render = We, rr = [], sa = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, aa = function(t, e) {
|
|
1041
1041
|
return t.__v.__b - e.__v.__b;
|
|
1042
1042
|
}, Ln.__r = 0, la = /(PointerCapture)$|Capture$/i, ro = 0, Bi = Qo(!1), Hi = Qo(!0), ca = 0;
|
|
1043
|
-
var
|
|
1043
|
+
var Vt, be, Ii, es, Sr = 0, va = [], Te = ae, ts = Te.__b, rs = Te.__r, ns = Te.diffed, is = Te.__c, os = Te.unmount, ss = Te.__;
|
|
1044
1044
|
function cr(t, e) {
|
|
1045
1045
|
Te.__h && Te.__h(be, t, Sr || e), Sr = 0;
|
|
1046
1046
|
var r = be.__H || (be.__H = { __: [], __h: [] });
|
|
1047
1047
|
return t >= r.__.length && r.__.push({}), r.__[t];
|
|
1048
1048
|
}
|
|
1049
|
-
function
|
|
1049
|
+
function Me(t) {
|
|
1050
1050
|
return Sr = 1, Qn(ya, t);
|
|
1051
1051
|
}
|
|
1052
1052
|
function Qn(t, e, r) {
|
|
1053
|
-
var n = cr(
|
|
1053
|
+
var n = cr(Vt++, 2);
|
|
1054
1054
|
if (n.t = t, !n.__c && (n.__ = [r ? r(e) : ya(void 0, e), function(a) {
|
|
1055
1055
|
var l = n.__N ? n.__N[0] : n.__[0], d = n.t(l, a);
|
|
1056
1056
|
l !== d && (n.__N = [d, n.__[1]], n.__c.setState({}));
|
|
@@ -1084,11 +1084,11 @@ function Qn(t, e, r) {
|
|
|
1084
1084
|
return n.__N || n.__;
|
|
1085
1085
|
}
|
|
1086
1086
|
function rt(t, e) {
|
|
1087
|
-
var r = cr(
|
|
1087
|
+
var r = cr(Vt++, 3);
|
|
1088
1088
|
!Te.__s && fo(r.__H, e) && (r.__ = t, r.u = e, be.__H.__h.push(r));
|
|
1089
1089
|
}
|
|
1090
|
-
function
|
|
1091
|
-
var r = cr(
|
|
1090
|
+
function Zt(t, e) {
|
|
1091
|
+
var r = cr(Vt++, 4);
|
|
1092
1092
|
!Te.__s && fo(r.__H, e) && (r.__ = t, r.u = e, be.__h.push(r));
|
|
1093
1093
|
}
|
|
1094
1094
|
function nt(t) {
|
|
@@ -1097,7 +1097,7 @@ function nt(t) {
|
|
|
1097
1097
|
}, []);
|
|
1098
1098
|
}
|
|
1099
1099
|
function ao(t, e, r) {
|
|
1100
|
-
Sr = 6,
|
|
1100
|
+
Sr = 6, Zt(function() {
|
|
1101
1101
|
if (typeof t == "function") {
|
|
1102
1102
|
var n = t(e());
|
|
1103
1103
|
return function() {
|
|
@@ -1110,7 +1110,7 @@ function ao(t, e, r) {
|
|
|
1110
1110
|
}, r == null ? r : r.concat(t));
|
|
1111
1111
|
}
|
|
1112
1112
|
function qr(t, e) {
|
|
1113
|
-
var r = cr(
|
|
1113
|
+
var r = cr(Vt++, 7);
|
|
1114
1114
|
return fo(r.__H, e) && (r.__ = t(), r.__H = e, r.__h = t), r.__;
|
|
1115
1115
|
}
|
|
1116
1116
|
function lo(t, e) {
|
|
@@ -1119,14 +1119,14 @@ function lo(t, e) {
|
|
|
1119
1119
|
}, e);
|
|
1120
1120
|
}
|
|
1121
1121
|
function Zr(t) {
|
|
1122
|
-
var e = be.context[t.__c], r = cr(
|
|
1122
|
+
var e = be.context[t.__c], r = cr(Vt++, 9);
|
|
1123
1123
|
return r.c = t, e ? (r.__ == null && (r.__ = !0, e.sub(be)), e.props.value) : t.__;
|
|
1124
1124
|
}
|
|
1125
1125
|
function co(t, e) {
|
|
1126
1126
|
Te.useDebugValue && Te.useDebugValue(e ? e(t) : t);
|
|
1127
1127
|
}
|
|
1128
1128
|
function yc(t) {
|
|
1129
|
-
var e = cr(
|
|
1129
|
+
var e = cr(Vt++, 10), r = Me();
|
|
1130
1130
|
return e.__ = t, be.componentDidCatch || (be.componentDidCatch = function(n, i) {
|
|
1131
1131
|
e.__ && e.__(n, i), r[1](n);
|
|
1132
1132
|
}), [r[0], function() {
|
|
@@ -1134,7 +1134,7 @@ function yc(t) {
|
|
|
1134
1134
|
}];
|
|
1135
1135
|
}
|
|
1136
1136
|
function uo() {
|
|
1137
|
-
var t = cr(
|
|
1137
|
+
var t = cr(Vt++, 11);
|
|
1138
1138
|
if (!t.__) {
|
|
1139
1139
|
for (var e = be.__v; e !== null && !e.__m && e.__ !== null; ) e = e.__;
|
|
1140
1140
|
var r = e.__m || (e.__m = [0, 0]);
|
|
@@ -1154,11 +1154,11 @@ Te.__b = function(t) {
|
|
|
1154
1154
|
}, Te.__ = function(t, e) {
|
|
1155
1155
|
t && e.__k && e.__k.__m && (t.__m = e.__k.__m), ss && ss(t, e);
|
|
1156
1156
|
}, Te.__r = function(t) {
|
|
1157
|
-
rs && rs(t),
|
|
1157
|
+
rs && rs(t), Vt = 0;
|
|
1158
1158
|
var e = (be = t.__c).__H;
|
|
1159
1159
|
e && (Ii === be ? (e.__h = [], be.__h = [], e.__.forEach(function(r) {
|
|
1160
1160
|
r.__N && (r.__ = r.__N), r.u = r.__N = void 0;
|
|
1161
|
-
})) : (e.__h.forEach(Nn), e.__h.forEach(zi), e.__h = [],
|
|
1161
|
+
})) : (e.__h.forEach(Nn), e.__h.forEach(zi), e.__h = [], Vt = 0)), Ii = be;
|
|
1162
1162
|
}, Te.diffed = function(t) {
|
|
1163
1163
|
ns && ns(t);
|
|
1164
1164
|
var e = t.__c;
|
|
@@ -1221,8 +1221,8 @@ function Ki(t, e) {
|
|
|
1221
1221
|
return !1;
|
|
1222
1222
|
}
|
|
1223
1223
|
function ho(t, e) {
|
|
1224
|
-
var r = e(), n =
|
|
1225
|
-
return
|
|
1224
|
+
var r = e(), n = Me({ t: { __: r, u: e } }), i = n[0].t, o = n[1];
|
|
1225
|
+
return Zt(function() {
|
|
1226
1226
|
i.__ = r, i.u = e, Oi(i) && o({ t: i });
|
|
1227
1227
|
}, [t, r, e]), rt(function() {
|
|
1228
1228
|
return Oi(i) && o({ t: i }), t(function() {
|
|
@@ -1248,7 +1248,7 @@ function _o(t) {
|
|
|
1248
1248
|
function mo() {
|
|
1249
1249
|
return [!1, po];
|
|
1250
1250
|
}
|
|
1251
|
-
var go =
|
|
1251
|
+
var go = Zt;
|
|
1252
1252
|
function Vn(t, e) {
|
|
1253
1253
|
this.props = t, this.context = e;
|
|
1254
1254
|
}
|
|
@@ -1258,11 +1258,11 @@ function Ca(t, e) {
|
|
|
1258
1258
|
return !s && o && (o.call ? o(null) : o.current = null), e ? !e(this.props, i) || !s : Ki(this.props, i);
|
|
1259
1259
|
}
|
|
1260
1260
|
function n(i) {
|
|
1261
|
-
return this.shouldComponentUpdate = r,
|
|
1261
|
+
return this.shouldComponentUpdate = r, gt(t, i);
|
|
1262
1262
|
}
|
|
1263
1263
|
return n.displayName = "Memo(" + (t.displayName || t.name) + ")", n.prototype.isReactComponent = !0, n.__f = !0, n.type = t, n;
|
|
1264
1264
|
}
|
|
1265
|
-
(Vn.prototype = new
|
|
1265
|
+
(Vn.prototype = new ft()).isPureReactComponent = !0, Vn.prototype.shouldComponentUpdate = function(t, e) {
|
|
1266
1266
|
return Ki(this.props, t) || Ki(this.state, e);
|
|
1267
1267
|
};
|
|
1268
1268
|
var ls = ae.__b;
|
|
@@ -1278,14 +1278,14 @@ function Sa(t) {
|
|
|
1278
1278
|
return e.$$typeof = Sc, e.render = t, e.prototype.isReactComponent = e.__f = !0, e.displayName = "ForwardRef(" + (t.displayName || t.name) + ")", e;
|
|
1279
1279
|
}
|
|
1280
1280
|
var cs = function(t, e) {
|
|
1281
|
-
return t == null ? null :
|
|
1281
|
+
return t == null ? null : Lt(Lt(t).map(e));
|
|
1282
1282
|
}, Ea = { map: cs, forEach: cs, count: function(t) {
|
|
1283
|
-
return t ?
|
|
1283
|
+
return t ? Lt(t).length : 0;
|
|
1284
1284
|
}, only: function(t) {
|
|
1285
|
-
var e =
|
|
1285
|
+
var e = Lt(t);
|
|
1286
1286
|
if (e.length !== 1) throw "Children.only";
|
|
1287
1287
|
return e[0];
|
|
1288
|
-
}, toArray:
|
|
1288
|
+
}, toArray: Lt }, Ec = ae.__e;
|
|
1289
1289
|
ae.__e = function(t, e, r, n) {
|
|
1290
1290
|
if (t.then) {
|
|
1291
1291
|
for (var i, o = e; o = o.__; ) if ((i = o.__c) && i.__c) return e.__e == null && (e.__e = r.__e, e.__k = r.__k), i.__c(t, e);
|
|
@@ -1321,7 +1321,7 @@ function xa(t) {
|
|
|
1321
1321
|
n = s;
|
|
1322
1322
|
}), n) throw n;
|
|
1323
1323
|
if (!r) throw e;
|
|
1324
|
-
return
|
|
1324
|
+
return gt(r, o);
|
|
1325
1325
|
}
|
|
1326
1326
|
return i.displayName = "Lazy", i.__f = !0, i;
|
|
1327
1327
|
}
|
|
@@ -1331,7 +1331,7 @@ function gr() {
|
|
|
1331
1331
|
ae.unmount = function(t) {
|
|
1332
1332
|
var e = t.__c;
|
|
1333
1333
|
e && e.__R && e.__R(), e && 32 & t.__u && (t.type = null), ds && ds(t);
|
|
1334
|
-
}, (Fr.prototype = new
|
|
1334
|
+
}, (Fr.prototype = new ft()).__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 = Oa(n.__v), o = !1, s = function() {
|
|
@@ -1359,8 +1359,8 @@ ae.unmount = function(t) {
|
|
|
1359
1359
|
}
|
|
1360
1360
|
this.__b = null;
|
|
1361
1361
|
}
|
|
1362
|
-
var i = e.__a &&
|
|
1363
|
-
return i && (i.__u &= -33), [
|
|
1362
|
+
var i = e.__a && gt(We, null, t.fallback);
|
|
1363
|
+
return i && (i.__u &= -33), [gt(We, null, e.__a ? null : t.children), i];
|
|
1364
1364
|
};
|
|
1365
1365
|
var us = function(t, e, r) {
|
|
1366
1366
|
if (++r[1] === r[0] && t.l.delete(e), t.props.revealOrder && (t.props.revealOrder[0] !== "t" || !t.l.size)) for (r = t.i; r; ) {
|
|
@@ -1388,13 +1388,13 @@ function Ic(t) {
|
|
|
1388
1388
|
this.childNodes.splice(this.childNodes.indexOf(i) >>> 1, 1), e.h.removeChild(i);
|
|
1389
1389
|
} };
|
|
1390
1390
|
}
|
|
1391
|
-
Cr(
|
|
1391
|
+
Cr(gt(Tc, { context: e.context }, t.__v), e.v);
|
|
1392
1392
|
}
|
|
1393
1393
|
function Aa(t, e) {
|
|
1394
|
-
var r =
|
|
1394
|
+
var r = gt(Ic, { __v: t, h: e });
|
|
1395
1395
|
return r.containerInfo = e, r;
|
|
1396
1396
|
}
|
|
1397
|
-
(gr.prototype = new
|
|
1397
|
+
(gr.prototype = new ft()).__a = function(t) {
|
|
1398
1398
|
var e = this, r = Oa(e.__v), n = e.l.get(t);
|
|
1399
1399
|
return n[0]++, function(i) {
|
|
1400
1400
|
var o = function() {
|
|
@@ -1404,7 +1404,7 @@ function Aa(t, e) {
|
|
|
1404
1404
|
};
|
|
1405
1405
|
}, gr.prototype.render = function(t) {
|
|
1406
1406
|
this.i = null, this.l = /* @__PURE__ */ new Map();
|
|
1407
|
-
var e =
|
|
1407
|
+
var e = Lt(t.children);
|
|
1408
1408
|
t.revealOrder && t.revealOrder[0] === "b" && e.reverse();
|
|
1409
1409
|
for (var r = e.length; r--; ) this.l.set(e[r], this.i = [1, 0, this.i]);
|
|
1410
1410
|
return t.children;
|
|
@@ -1423,8 +1423,8 @@ function ka(t, e, r) {
|
|
|
1423
1423
|
function Na(t, e, r) {
|
|
1424
1424
|
return wa(t, e), typeof r == "function" && r(), t ? t.__c : null;
|
|
1425
1425
|
}
|
|
1426
|
-
|
|
1427
|
-
Object.defineProperty(
|
|
1426
|
+
ft.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceiveProps", "componentWillUpdate"].forEach(function(t) {
|
|
1427
|
+
Object.defineProperty(ft.prototype, t, { configurable: !0, get: function() {
|
|
1428
1428
|
return this["UNSAFE_" + t];
|
|
1429
1429
|
}, set: function(e) {
|
|
1430
1430
|
Object.defineProperty(this, t, { configurable: !0, writable: !0, value: e });
|
|
@@ -1436,13 +1436,13 @@ function Nc() {
|
|
|
1436
1436
|
function Dc() {
|
|
1437
1437
|
return this.cancelBubble;
|
|
1438
1438
|
}
|
|
1439
|
-
function
|
|
1439
|
+
function Mc() {
|
|
1440
1440
|
return this.defaultPrevented;
|
|
1441
1441
|
}
|
|
1442
1442
|
ae.event = function(t) {
|
|
1443
|
-
return fs && (t = fs(t)), t.persist = Nc, t.isPropagationStopped = Dc, t.isDefaultPrevented =
|
|
1443
|
+
return fs && (t = fs(t)), t.persist = Nc, t.isPropagationStopped = Dc, t.isDefaultPrevented = Mc, t.nativeEvent = t;
|
|
1444
1444
|
};
|
|
1445
|
-
var wo,
|
|
1445
|
+
var wo, Pc = { enumerable: !1, configurable: !0, get: function() {
|
|
1446
1446
|
return this.class;
|
|
1447
1447
|
} }, hs = ae.vnode;
|
|
1448
1448
|
ae.vnode = function(t) {
|
|
@@ -1455,11 +1455,11 @@ ae.vnode = function(t) {
|
|
|
1455
1455
|
s === "defaultValue" && "value" in r && r.value == null ? s = "value" : s === "download" && a === !0 ? a = "" : l === "translate" && a === "no" ? a = !1 : l[0] === "o" && l[1] === "n" ? l === "ondoubleclick" ? s = "ondblclick" : l !== "onchange" || n !== "input" && n !== "textarea" || kc(r.type) ? l === "onfocus" ? s = "onfocusin" : l === "onblur" ? s = "onfocusout" : xc.test(s) && (s = l) : l = s = "oninput" : o && Oc.test(s) ? s = s.replace(Ac, "-$&").toLowerCase() : a === null && (a = void 0), l === "oninput" && i[s = l] && (s = "oninputCapture"), i[s] = a;
|
|
1456
1456
|
}
|
|
1457
1457
|
}
|
|
1458
|
-
n == "select" && i.multiple && Array.isArray(i.value) && (i.value =
|
|
1458
|
+
n == "select" && i.multiple && Array.isArray(i.value) && (i.value = Lt(r.children).forEach(function(d) {
|
|
1459
1459
|
d.props.selected = i.value.indexOf(d.props.value) != -1;
|
|
1460
|
-
})), n == "select" && i.defaultValue != null && (i.value =
|
|
1460
|
+
})), n == "select" && i.defaultValue != null && (i.value = Lt(r.children).forEach(function(d) {
|
|
1461
1461
|
d.props.selected = i.multiple ? i.defaultValue.indexOf(d.props.value) != -1 : i.defaultValue == d.props.value;
|
|
1462
|
-
})), r.class && !r.className ? (i.class = r.class, Object.defineProperty(i, "className",
|
|
1462
|
+
})), r.class && !r.className ? (i.class = r.class, Object.defineProperty(i, "className", Pc)) : (r.className && !r.class || r.class && r.className) && (i.class = i.className = r.className), e.props = i;
|
|
1463
1463
|
})(t), t.$$typeof = Ra, hs && hs(t);
|
|
1464
1464
|
};
|
|
1465
1465
|
var ps = ae.__r;
|
|
@@ -1474,14 +1474,14 @@ ae.diffed = function(t) {
|
|
|
1474
1474
|
};
|
|
1475
1475
|
var Da = { ReactCurrentDispatcher: { current: { readContext: function(t) {
|
|
1476
1476
|
return wo.__n[t.__c].props.value;
|
|
1477
|
-
}, useCallback: lo, useContext: Zr, useDebugValue: co, useDeferredValue: _o, useEffect: rt, useId: uo, useImperativeHandle: ao, useInsertionEffect: go, useLayoutEffect:
|
|
1478
|
-
function
|
|
1479
|
-
return
|
|
1477
|
+
}, useCallback: lo, useContext: Zr, useDebugValue: co, useDeferredValue: _o, useEffect: rt, useId: uo, useImperativeHandle: ao, useInsertionEffect: go, useLayoutEffect: Zt, useMemo: qr, useReducer: Qn, useRef: nt, useState: Me, useSyncExternalStore: ho, useTransition: mo } } }, Fc = "18.3.1";
|
|
1478
|
+
function Ma(t) {
|
|
1479
|
+
return gt.bind(null, t);
|
|
1480
1480
|
}
|
|
1481
1481
|
function Yr(t) {
|
|
1482
1482
|
return !!t && t.$$typeof === Ra;
|
|
1483
1483
|
}
|
|
1484
|
-
function
|
|
1484
|
+
function Pa(t) {
|
|
1485
1485
|
return Yr(t) && t.type === We;
|
|
1486
1486
|
}
|
|
1487
1487
|
function Fa(t) {
|
|
@@ -1500,11 +1500,11 @@ var $a = function(t, e) {
|
|
|
1500
1500
|
return t(e);
|
|
1501
1501
|
}, Ba = function(t, e) {
|
|
1502
1502
|
return t(e);
|
|
1503
|
-
}, Ha = We, Wa = Yr, ce = { useState:
|
|
1503
|
+
}, Ha = We, Wa = Yr, ce = { useState: Me, useId: uo, useReducer: Qn, useEffect: rt, useLayoutEffect: Zt, useInsertionEffect: go, useTransition: mo, useDeferredValue: _o, useSyncExternalStore: ho, startTransition: po, useRef: nt, useImperativeHandle: ao, useMemo: qr, useCallback: lo, useContext: Zr, useDebugValue: co, version: "18.3.1", Children: Ea, render: ka, hydrate: Na, unmountComponentAtNode: La, createPortal: Aa, createElement: gt, createContext: so, createFactory: Ma, cloneElement: Ua, createRef: ua, Fragment: We, isValidElement: Yr, isElement: Wa, isFragment: Pa, isMemo: Fa, findDOMNode: Va, Component: ft, PureComponent: Vn, memo: Ca, forwardRef: Sa, flushSync: Ba, unstable_batchedUpdates: $a, StrictMode: Ha, Suspense: Fr, SuspenseList: gr, 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,
|
|
1507
|
-
Component:
|
|
1507
|
+
Component: ft,
|
|
1508
1508
|
Fragment: We,
|
|
1509
1509
|
PureComponent: Vn,
|
|
1510
1510
|
StrictMode: Ha,
|
|
@@ -1513,8 +1513,8 @@ const Uc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1513
1513
|
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Da,
|
|
1514
1514
|
cloneElement: Ua,
|
|
1515
1515
|
createContext: so,
|
|
1516
|
-
createElement:
|
|
1517
|
-
createFactory:
|
|
1516
|
+
createElement: gt,
|
|
1517
|
+
createFactory: Ma,
|
|
1518
1518
|
createPortal: Aa,
|
|
1519
1519
|
createRef: ua,
|
|
1520
1520
|
default: ce,
|
|
@@ -1523,7 +1523,7 @@ const Uc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1523
1523
|
forwardRef: Sa,
|
|
1524
1524
|
hydrate: Na,
|
|
1525
1525
|
isElement: Wa,
|
|
1526
|
-
isFragment:
|
|
1526
|
+
isFragment: Pa,
|
|
1527
1527
|
isMemo: Fa,
|
|
1528
1528
|
isValidElement: Yr,
|
|
1529
1529
|
lazy: xa,
|
|
@@ -1541,11 +1541,11 @@ const Uc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1541
1541
|
useId: uo,
|
|
1542
1542
|
useImperativeHandle: ao,
|
|
1543
1543
|
useInsertionEffect: go,
|
|
1544
|
-
useLayoutEffect:
|
|
1544
|
+
useLayoutEffect: Zt,
|
|
1545
1545
|
useMemo: qr,
|
|
1546
1546
|
useReducer: Qn,
|
|
1547
1547
|
useRef: nt,
|
|
1548
|
-
useState:
|
|
1548
|
+
useState: Me,
|
|
1549
1549
|
useSyncExternalStore: ho,
|
|
1550
1550
|
useTransition: mo,
|
|
1551
1551
|
version: Fc
|
|
@@ -1592,12 +1592,12 @@ var Rr = { exports: {} }, Wc = Rr.exports, gs;
|
|
|
1592
1592
|
function jc() {
|
|
1593
1593
|
return gs || (gs = 1, (function(t, e) {
|
|
1594
1594
|
(function(r, n) {
|
|
1595
|
-
var i = "1.0.41", o = "", s = "?", a = "function", l = "undefined", d = "object", _ = "string", h = "major", c = "model", y = "name", g = "type", f = "vendor", m = "version", S = "architecture", b = "console", C = "mobile", O = "tablet", N = "smarttv", R = "wearable",
|
|
1595
|
+
var i = "1.0.41", o = "", s = "?", a = "function", l = "undefined", d = "object", _ = "string", h = "major", c = "model", y = "name", g = "type", f = "vendor", m = "version", S = "architecture", b = "console", C = "mobile", O = "tablet", N = "smarttv", R = "wearable", F = "embedded", pe = 500, _e = "Amazon", ee = "Apple", Q = "ASUS", H = "BlackBerry", J = "Browser", de = "Chrome", ue = "Edge", we = "Firefox", ve = "Google", te = "Honor", z = "Huawei", U = "Lenovo", q = "LG", re = "Microsoft", Se = "Motorola", ne = "Nvidia", $ = "OnePlus", X = "Opera", $e = "OPPO", je = "Samsung", it = "Sharp", Je = "Sony", vt = "Xiaomi", ot = "Zebra", Bt = "Facebook", yt = "Chromium OS", ht = "Mac OS", bt = " Browser", Ht = function(Z, se) {
|
|
1596
1596
|
var j = {};
|
|
1597
1597
|
for (var me in Z)
|
|
1598
1598
|
se[me] && se[me].length % 2 === 0 ? j[me] = se[me].concat(Z[me]) : j[me] = Z[me];
|
|
1599
1599
|
return j;
|
|
1600
|
-
},
|
|
1600
|
+
}, pt = function(Z) {
|
|
1601
1601
|
for (var se = {}, j = 0; j < Z.length; j++)
|
|
1602
1602
|
se[Z[j].toUpperCase()] = Z[j];
|
|
1603
1603
|
return se;
|
|
@@ -1612,11 +1612,11 @@ function jc() {
|
|
|
1612
1612
|
return Z = Z.replace(/^\s\s*/, o), typeof se === l ? Z : Z.substring(0, pe);
|
|
1613
1613
|
}, V = function(Z, se) {
|
|
1614
1614
|
for (var j = 0, me, Be, Oe, fe, G, ze; j < se.length && !G; ) {
|
|
1615
|
-
var
|
|
1616
|
-
for (me = Be = 0; me <
|
|
1617
|
-
if (G =
|
|
1618
|
-
for (Oe = 0; Oe <
|
|
1619
|
-
ze = G[++Be], fe =
|
|
1615
|
+
var Wt = se[j], Jt = se[j + 1];
|
|
1616
|
+
for (me = Be = 0; me < Wt.length && !G && Wt[me]; )
|
|
1617
|
+
if (G = Wt[me++].exec(Z), G)
|
|
1618
|
+
for (Oe = 0; Oe < Jt.length; Oe++)
|
|
1619
|
+
ze = G[++Be], fe = Jt[Oe], typeof fe === d && fe.length > 0 ? fe.length === 2 ? typeof fe[1] == a ? this[fe[0]] = fe[1].call(this, ze) : this[fe[0]] = fe[1] : fe.length === 3 ? typeof fe[1] === a && !(fe[1].exec && fe[1].test) ? this[fe[0]] = ze ? fe[1].call(this, ze, fe[2]) : n : this[fe[0]] = ze ? ze.replace(fe[1], fe[2]) : n : fe.length === 4 && (this[fe[0]] = ze ? fe[3].call(this, ze.replace(fe[1], fe[2])) : n) : this[fe] = ze || n;
|
|
1620
1620
|
j += 2;
|
|
1621
1621
|
}
|
|
1622
1622
|
}, D = function(Z, se) {
|
|
@@ -1628,10 +1628,10 @@ function jc() {
|
|
|
1628
1628
|
} else if (et(se[j], Z))
|
|
1629
1629
|
return j === s ? n : j;
|
|
1630
1630
|
return se.hasOwnProperty("*") ? se["*"] : Z;
|
|
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" }, ie = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [m, [y, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [m, [y, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [y, m], [/opios[\/ ]+([\w\.]+)/i], [m, [y, X + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [m, [y, X + " GX"]], [/\bopr\/([\w\.]+)/i], [m, [y, X]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [m, [y, "Baidu"]], [/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i], [m, [y, "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], [y, m], [/quark(?:pc)?\/([-\w\.]+)/i], [m, [y, "Quark"]], [/\bddg\/([\w\.]+)/i], [m, [y, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [m, [y, "UC" + J]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [m, [y, "WeChat"]], [/konqueror\/([\w\.]+)/i], [m, [y, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [m, [y, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [m, [y, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [m, [y, "Smart Lenovo " + J]], [/(avast|avg)\/([\w\.]+)/i], [[y, /(.+)/, "$1 Secure " + J], m], [/\bfocus\/([\w\.]+)/i], [m, [y, we + " Focus"]], [/\bopt\/([\w\.]+)/i], [m, [y, X + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [m, [y, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [m, [y, "Dolphin"]], [/coast\/([\w\.]+)/i], [m, [y, X + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [m, [y, "MIUI" + yt]], [/fxios\/([\w\.-]+)/i], [m, [y, we]], [/\bqihoobrowser\/?([\w\.]*)/i], [m, [y, "360"]], [/\b(qq)\/([\w\.]+)/i], [[y, /(.+)/, "$1Browser"], m], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[y, /(.+)/, "$1" + yt], m], [/samsungbrowser\/([\w\.]+)/i], [m, [y, je + " Internet"]], [/metasr[\/ ]?([\d\.]+)/i], [m, [y, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[y, "Sogou Mobile"], m], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i], [y, m], [/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i], [y], [/ome\/([\w\.]+) \w* ?(iron) saf/i, /ome\/([\w\.]+).+qihu (360)[es]e/i], [m, y], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[y, $t], 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], [y, m], [/\bgsa\/([\w\.]+) .*safari\//i], [m, [y, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [m, [y, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [m, [y, de + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[y, de + " WebView"], m], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [m, [y, "Android " + J]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [y, m], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [m, [y, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [m, y], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [y, [m, D, P]], [/(webkit|khtml)\/([\w\.]+)/i], [y, m], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[y, "Netscape"], m], [/(wolvic|librewolf)\/([\w\.]+)/i], [y, m], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [m, [y, 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], [y, [m, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [y, [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, v]], [/ 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, v]]], 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], [g, O]], [/\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], [g, C]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [c, [f, ee], [g, C]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [c, [f, ee], [g, O]], [/(macintosh);/i], [c, [f, ee]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [c, [f, it], [g, C]], [/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i], [c, [f, te], [g, O]], [/honor([-\w ]+)[;\)]/i], [c, [f, te], [g, C]], [/\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], [g, O]], [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [c, [f, z], [g, C]], [/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i, /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i], [[c, /_/g, " "], [f, wt], [g, O]], [/\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, wt], [g, C]], [/; (\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, $e], [g, C]], [/\b(opd2(\d{3}a?))(?: bui|\))/i], [c, [f, D, { OnePlus: ["304", "403", "203"], "*": $e }], [g, O]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [c, [f, "Vivo"], [g, C]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [c, [f, "Realme"], [g, C]], [/\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], [g, C]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [c, [f, Se], [g, O]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [c, [f, q], [g, O]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i, /\blg-?([\d\w]+) bui/i], [c, [f, q], [g, C]], [/(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, F], [g, O]], [/(nokia) (t[12][01])/i], [f, c, [g, O]], [/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i, /nokia[-_ ]?(([-\w\. ]*))/i], [[c, /_/g, " "], [g, C], [f, "Nokia"]], [/(pixel (c|tablet))\b/i], [c, [f, ve], [g, O]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [c, [f, ve], [g, C]], [/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, Je], [g, C]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[c, "Xperia Tablet"], [f, Je], [g, O]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [c, [f, $], [g, C]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [c, [f, _e], [g, O]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[c, /(.+)/g, "Fire Phone $1"], [f, _e], [g, C]], [/(playbook);[-\w\),; ]+(rim)/i], [c, f, [g, O]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [c, [f, H], [g, C]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [c, [f, Q], [g, O]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [c, [f, Q], [g, C]], [/(nexus 9)/i], [c, [f, "HTC"], [g, O]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [f, [c, /_/g, " "], [g, C]], [/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"], [g, O]], [/(itel) ((\w+))/i], [[f, v], c, [g, D, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [c, [f, "Acer"], [g, O]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [c, [f, "Meizu"], [g, C]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [c, [f, "Ulefone"], [g, C]], [/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i], [c, [f, "Energizer"], [g, C]], [/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i], [c, [f, "Cat"], [g, C]], [/((?:new )?andromax[\w- ]+)(?: bui|\))/i], [c, [f, "Smartfren"], [g, C]], [/droid.+; (a(?:015|06[35]|142p?))/i], [c, [f, "Nothing"], [g, C]], [/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i, /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i], [c, [f, "Archos"], [g, O]], [/archos ([\w ]+)( b|\))/i, /; (ac[3-6]\d\w{2,8})( b|\))/i], [c, [f, "Archos"], [g, C]], [/(imo) (tab \w+)/i, /(infinix) (x1101b?)/i], [f, c, [g, O]], [/(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, [g, C]], [/(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, [g, O]], [/(surface duo)/i], [c, [f, re], [g, O]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [c, [f, "Fairphone"], [g, C]], [/(u304aa)/i], [c, [f, "AT&T"], [g, C]], [/\bsie-(\w*)/i], [c, [f, "Siemens"], [g, C]], [/\b(rct\w+) b/i], [c, [f, "RCA"], [g, O]], [/\b(venue[\d ]{2,7}) b/i], [c, [f, "Dell"], [g, O]], [/\b(q(?:mv|ta)\w+) b/i], [c, [f, "Verizon"], [g, O]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [c, [f, "Barnes & Noble"], [g, O]], [/\b(tm\d{3}\w+) b/i], [c, [f, "NuVision"], [g, O]], [/\b(k88) b/i], [c, [f, "ZTE"], [g, O]], [/\b(nx\d{3}j) b/i], [c, [f, "ZTE"], [g, C]], [/\b(gen\d{3}) b.+49h/i], [c, [f, "Swiss"], [g, C]], [/\b(zur\d{3}) b/i], [c, [f, "Swiss"], [g, O]], [/\b((zeki)?tb.*\b) b/i], [c, [f, "Zeki"], [g, O]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[f, "Dragon Touch"], c, [g, O]], [/\b(ns-?\w{0,9}) b/i], [c, [f, "Insignia"], [g, O]], [/\b((nxa|next)-?\w{0,9}) b/i], [c, [f, "NextBook"], [g, O]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[f, "Voice"], c, [g, C]], [/\b(lvtel\-)?(v1[12]) b/i], [[f, "LvTel"], c, [g, C]], [/\b(ph-1) /i], [c, [f, "Essential"], [g, C]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [c, [f, "Envizen"], [g, O]], [/\b(trio[-\w\. ]+) b/i], [c, [f, "MachSpeed"], [g, O]], [/\btu_(1491) b/i], [c, [f, "Rotor"], [g, O]], [/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i], [c, [f, ne], [g, O]], [/(sprint) (\w+)/i], [f, c, [g, C]], [/(kin\.[onetw]{3})/i], [[c, /\./g, " "], [f, re], [g, C]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [c, [f, ot], [g, O]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [c, [f, ot], [g, C]], [/smart-tv.+(samsung)/i], [f, [g, N]], [/hbbtv.+maple;(\d+)/i], [[c, /^/, "SmartTV"], [f, je], [g, N]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[f, q], [g, N]], [/(apple) ?tv/i], [f, [c, ee + " TV"], [g, N]], [/crkey/i], [[c, de + "cast"], [f, ve], [g, N]], [/droid.+aft(\w+)( bui|\))/i], [c, [f, _e], [g, N]], [/(shield \w+ tv)/i], [c, [f, ne], [g, N]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [c, [f, it], [g, N]], [/(bravia[\w ]+)( bui|\))/i], [c, [f, Je], [g, N]], [/(mi(tv|box)-?\w+) bui/i], [c, [f, wt], [g, N]], [/Hbbtv.*(technisat) (.*);/i], [f, c, [g, N]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[f, A], [c, A], [g, N]], [/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i], [c, [g, N]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[g, N]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [f, c, [g, b]], [/droid.+; (shield)( bui|\))/i], [c, [f, ne], [g, b]], [/(playstation \w+)/i], [c, [f, Je], [g, b]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [c, [f, re], [g, b]], [/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i], [c, [f, je], [g, R]], [/((pebble))app/i, /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i], [f, c, [g, R]], [/(ow(?:19|20)?we?[1-3]{1,3})/i], [c, [f, $e], [g, R]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [c, [f, ee], [g, R]], [/(opwwe\d{3})/i], [c, [f, $], [g, R]], [/(moto 360)/i], [c, [f, Se], [g, R]], [/(smartwatch 3)/i], [c, [f, Je], [g, R]], [/(g watch r)/i], [c, [f, q], [g, R]], [/droid.+; (wt63?0{2,3})\)/i], [c, [f, ot], [g, R]], [/droid.+; (glass) \d/i], [c, [f, ve], [g, R]], [/(pico) (4|neo3(?: link|pro)?)/i], [f, c, [g, R]], [/; (quest( \d| pro)?)/i], [c, [f, $t], [g, R]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [f, [g, M]], [/(aeobc)\b/i], [c, [f, _e], [g, M]], [/(homepod).+mac os/i], [c, [f, ee], [g, M]], [/windows iot/i], [[g, M]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [c, [g, C]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [c, [g, O]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[g, O]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[g, C]], [/droid .+?; ([\w\. -]+)( bui|\))/i], [c, [f, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [m, [y, ue + "HTML"]], [/(arkweb)\/([\w\.]+)/i], [y, m], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [m, [y, "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], [y, m], [/ladybird\//i], [[y, "LibWeb"]], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [m, y]], os: [[/microsoft (windows) (vista|xp)/i], [y, m], [/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i], [y, [m, D, W]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[m, D, W], [y, "Windows"]], [/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[m, /_/g, "."], [y, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[y, ft], [m, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [m, y], [/(ubuntu) ([\w\.]+) like android/i], [[y, /(.+)/, "$1 Touch"], m], [/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i], [y, m], [/\(bb(10);/i], [m, [y, H]], [/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i], [m, [y, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [m, [y, we + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [m, [y, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [m, [y, "watchOS"]], [/crkey\/([\d\.]+)/i], [m, [y, de + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[y, vt], 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], [y, m], [/(sunos) ?([\w\.\d]*)/i], [[y, "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], [y, m]] }, K = function(Z, se) {
|
|
1631
|
+
}, M = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, W = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, ie = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [m, [y, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [m, [y, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [y, m], [/opios[\/ ]+([\w\.]+)/i], [m, [y, X + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [m, [y, X + " GX"]], [/\bopr\/([\w\.]+)/i], [m, [y, X]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [m, [y, "Baidu"]], [/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i], [m, [y, "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], [y, m], [/quark(?:pc)?\/([-\w\.]+)/i], [m, [y, "Quark"]], [/\bddg\/([\w\.]+)/i], [m, [y, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [m, [y, "UC" + J]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [m, [y, "WeChat"]], [/konqueror\/([\w\.]+)/i], [m, [y, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [m, [y, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [m, [y, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [m, [y, "Smart Lenovo " + J]], [/(avast|avg)\/([\w\.]+)/i], [[y, /(.+)/, "$1 Secure " + J], m], [/\bfocus\/([\w\.]+)/i], [m, [y, we + " Focus"]], [/\bopt\/([\w\.]+)/i], [m, [y, X + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [m, [y, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [m, [y, "Dolphin"]], [/coast\/([\w\.]+)/i], [m, [y, X + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [m, [y, "MIUI" + bt]], [/fxios\/([\w\.-]+)/i], [m, [y, we]], [/\bqihoobrowser\/?([\w\.]*)/i], [m, [y, "360"]], [/\b(qq)\/([\w\.]+)/i], [[y, /(.+)/, "$1Browser"], m], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[y, /(.+)/, "$1" + bt], m], [/samsungbrowser\/([\w\.]+)/i], [m, [y, je + " Internet"]], [/metasr[\/ ]?([\d\.]+)/i], [m, [y, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[y, "Sogou Mobile"], m], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i], [y, m], [/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i], [y], [/ome\/([\w\.]+) \w* ?(iron) saf/i, /ome\/([\w\.]+).+qihu (360)[es]e/i], [m, y], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[y, Bt], 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], [y, m], [/\bgsa\/([\w\.]+) .*safari\//i], [m, [y, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [m, [y, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [m, [y, de + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[y, de + " WebView"], m], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [m, [y, "Android " + J]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [y, m], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [m, [y, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [m, y], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [y, [m, D, M]], [/(webkit|khtml)\/([\w\.]+)/i], [y, m], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[y, "Netscape"], m], [/(wolvic|librewolf)\/([\w\.]+)/i], [y, m], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [m, [y, 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], [y, [m, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [y, [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, v]], [/ 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, v]]], 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], [g, O]], [/\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], [g, C]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [c, [f, ee], [g, C]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [c, [f, ee], [g, O]], [/(macintosh);/i], [c, [f, ee]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [c, [f, it], [g, C]], [/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i], [c, [f, te], [g, O]], [/honor([-\w ]+)[;\)]/i], [c, [f, te], [g, C]], [/\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], [g, O]], [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [c, [f, z], [g, C]], [/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i, /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i], [[c, /_/g, " "], [f, vt], [g, O]], [/\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, vt], [g, C]], [/; (\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, $e], [g, C]], [/\b(opd2(\d{3}a?))(?: bui|\))/i], [c, [f, D, { OnePlus: ["304", "403", "203"], "*": $e }], [g, O]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [c, [f, "Vivo"], [g, C]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [c, [f, "Realme"], [g, C]], [/\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], [g, C]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [c, [f, Se], [g, O]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [c, [f, q], [g, O]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i, /\blg-?([\d\w]+) bui/i], [c, [f, q], [g, C]], [/(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, U], [g, O]], [/(nokia) (t[12][01])/i], [f, c, [g, O]], [/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i, /nokia[-_ ]?(([-\w\. ]*))/i], [[c, /_/g, " "], [g, C], [f, "Nokia"]], [/(pixel (c|tablet))\b/i], [c, [f, ve], [g, O]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [c, [f, ve], [g, C]], [/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, Je], [g, C]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[c, "Xperia Tablet"], [f, Je], [g, O]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [c, [f, $], [g, C]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [c, [f, _e], [g, O]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[c, /(.+)/g, "Fire Phone $1"], [f, _e], [g, C]], [/(playbook);[-\w\),; ]+(rim)/i], [c, f, [g, O]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [c, [f, H], [g, C]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [c, [f, Q], [g, O]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [c, [f, Q], [g, C]], [/(nexus 9)/i], [c, [f, "HTC"], [g, O]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [f, [c, /_/g, " "], [g, C]], [/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"], [g, O]], [/(itel) ((\w+))/i], [[f, v], c, [g, D, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [c, [f, "Acer"], [g, O]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [c, [f, "Meizu"], [g, C]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [c, [f, "Ulefone"], [g, C]], [/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i], [c, [f, "Energizer"], [g, C]], [/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i], [c, [f, "Cat"], [g, C]], [/((?:new )?andromax[\w- ]+)(?: bui|\))/i], [c, [f, "Smartfren"], [g, C]], [/droid.+; (a(?:015|06[35]|142p?))/i], [c, [f, "Nothing"], [g, C]], [/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i, /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i], [c, [f, "Archos"], [g, O]], [/archos ([\w ]+)( b|\))/i, /; (ac[3-6]\d\w{2,8})( b|\))/i], [c, [f, "Archos"], [g, C]], [/(imo) (tab \w+)/i, /(infinix) (x1101b?)/i], [f, c, [g, O]], [/(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, [g, C]], [/(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, [g, O]], [/(surface duo)/i], [c, [f, re], [g, O]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [c, [f, "Fairphone"], [g, C]], [/(u304aa)/i], [c, [f, "AT&T"], [g, C]], [/\bsie-(\w*)/i], [c, [f, "Siemens"], [g, C]], [/\b(rct\w+) b/i], [c, [f, "RCA"], [g, O]], [/\b(venue[\d ]{2,7}) b/i], [c, [f, "Dell"], [g, O]], [/\b(q(?:mv|ta)\w+) b/i], [c, [f, "Verizon"], [g, O]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [c, [f, "Barnes & Noble"], [g, O]], [/\b(tm\d{3}\w+) b/i], [c, [f, "NuVision"], [g, O]], [/\b(k88) b/i], [c, [f, "ZTE"], [g, O]], [/\b(nx\d{3}j) b/i], [c, [f, "ZTE"], [g, C]], [/\b(gen\d{3}) b.+49h/i], [c, [f, "Swiss"], [g, C]], [/\b(zur\d{3}) b/i], [c, [f, "Swiss"], [g, O]], [/\b((zeki)?tb.*\b) b/i], [c, [f, "Zeki"], [g, O]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[f, "Dragon Touch"], c, [g, O]], [/\b(ns-?\w{0,9}) b/i], [c, [f, "Insignia"], [g, O]], [/\b((nxa|next)-?\w{0,9}) b/i], [c, [f, "NextBook"], [g, O]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[f, "Voice"], c, [g, C]], [/\b(lvtel\-)?(v1[12]) b/i], [[f, "LvTel"], c, [g, C]], [/\b(ph-1) /i], [c, [f, "Essential"], [g, C]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [c, [f, "Envizen"], [g, O]], [/\b(trio[-\w\. ]+) b/i], [c, [f, "MachSpeed"], [g, O]], [/\btu_(1491) b/i], [c, [f, "Rotor"], [g, O]], [/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i], [c, [f, ne], [g, O]], [/(sprint) (\w+)/i], [f, c, [g, C]], [/(kin\.[onetw]{3})/i], [[c, /\./g, " "], [f, re], [g, C]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [c, [f, ot], [g, O]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [c, [f, ot], [g, C]], [/smart-tv.+(samsung)/i], [f, [g, N]], [/hbbtv.+maple;(\d+)/i], [[c, /^/, "SmartTV"], [f, je], [g, N]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[f, q], [g, N]], [/(apple) ?tv/i], [f, [c, ee + " TV"], [g, N]], [/crkey/i], [[c, de + "cast"], [f, ve], [g, N]], [/droid.+aft(\w+)( bui|\))/i], [c, [f, _e], [g, N]], [/(shield \w+ tv)/i], [c, [f, ne], [g, N]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [c, [f, it], [g, N]], [/(bravia[\w ]+)( bui|\))/i], [c, [f, Je], [g, N]], [/(mi(tv|box)-?\w+) bui/i], [c, [f, vt], [g, N]], [/Hbbtv.*(technisat) (.*);/i], [f, c, [g, N]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[f, A], [c, A], [g, N]], [/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i], [c, [g, N]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[g, N]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [f, c, [g, b]], [/droid.+; (shield)( bui|\))/i], [c, [f, ne], [g, b]], [/(playstation \w+)/i], [c, [f, Je], [g, b]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [c, [f, re], [g, b]], [/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i], [c, [f, je], [g, R]], [/((pebble))app/i, /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i], [f, c, [g, R]], [/(ow(?:19|20)?we?[1-3]{1,3})/i], [c, [f, $e], [g, R]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [c, [f, ee], [g, R]], [/(opwwe\d{3})/i], [c, [f, $], [g, R]], [/(moto 360)/i], [c, [f, Se], [g, R]], [/(smartwatch 3)/i], [c, [f, Je], [g, R]], [/(g watch r)/i], [c, [f, q], [g, R]], [/droid.+; (wt63?0{2,3})\)/i], [c, [f, ot], [g, R]], [/droid.+; (glass) \d/i], [c, [f, ve], [g, R]], [/(pico) (4|neo3(?: link|pro)?)/i], [f, c, [g, R]], [/; (quest( \d| pro)?)/i], [c, [f, Bt], [g, R]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [f, [g, F]], [/(aeobc)\b/i], [c, [f, _e], [g, F]], [/(homepod).+mac os/i], [c, [f, ee], [g, F]], [/windows iot/i], [[g, F]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [c, [g, C]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [c, [g, O]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[g, O]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[g, C]], [/droid .+?; ([\w\. -]+)( bui|\))/i], [c, [f, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [m, [y, ue + "HTML"]], [/(arkweb)\/([\w\.]+)/i], [y, m], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [m, [y, "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], [y, m], [/ladybird\//i], [[y, "LibWeb"]], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [m, y]], os: [[/microsoft (windows) (vista|xp)/i], [y, m], [/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i], [y, [m, D, W]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[m, D, W], [y, "Windows"]], [/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[m, /_/g, "."], [y, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[y, ht], [m, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [m, y], [/(ubuntu) ([\w\.]+) like android/i], [[y, /(.+)/, "$1 Touch"], m], [/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i], [y, m], [/\(bb(10);/i], [m, [y, H]], [/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i], [m, [y, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [m, [y, we + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [m, [y, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [m, [y, "watchOS"]], [/crkey\/([\d\.]+)/i], [m, [y, de + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[y, yt], 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], [y, m], [/(sunos) ?([\w\.\d]*)/i], [[y, "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], [y, m]] }, K = function(Z, se) {
|
|
1632
1632
|
if (typeof Z === d && (se = Z, Z = n), !(this instanceof K))
|
|
1633
1633
|
return new K(Z, se).getResult();
|
|
1634
|
-
var j = typeof r !== l && r.navigator ? r.navigator : n, me = Z || (j && j.userAgent ? j.userAgent : o), Be = j && j.userAgentData ? j.userAgentData : n, Oe = se ?
|
|
1634
|
+
var j = typeof r !== l && r.navigator ? r.navigator : n, me = Z || (j && j.userAgent ? j.userAgent : o), Be = j && j.userAgentData ? j.userAgentData : n, Oe = se ? Ht(ie, se) : ie, fe = j && j.userAgent == me;
|
|
1635
1635
|
return this.getBrowser = function() {
|
|
1636
1636
|
var G = {};
|
|
1637
1637
|
return G[y] = n, G[m] = n, V.call(G, me, Oe.browser), G[h] = T(G[m]), fe && j && j.brave && typeof j.brave.isBrave == a && (G[y] = "Brave"), G;
|
|
@@ -1646,7 +1646,7 @@ function jc() {
|
|
|
1646
1646
|
return G[y] = n, G[m] = n, V.call(G, me, Oe.engine), G;
|
|
1647
1647
|
}, this.getOS = function() {
|
|
1648
1648
|
var G = {};
|
|
1649
|
-
return G[y] = n, G[m] = n, V.call(G, me, Oe.os), fe && !G[y] && Be && Be.platform && Be.platform != "Unknown" && (G[y] = Be.platform.replace(/chrome os/i,
|
|
1649
|
+
return G[y] = n, G[m] = n, V.call(G, me, Oe.os), fe && !G[y] && Be && Be.platform && Be.platform != "Unknown" && (G[y] = Be.platform.replace(/chrome os/i, yt).replace(/macos/i, ht)), G;
|
|
1650
1650
|
}, this.getResult = function() {
|
|
1651
1651
|
return { ua: this.getUA(), browser: this.getBrowser(), engine: this.getEngine(), os: this.getOS(), device: this.getDevice(), cpu: this.getCPU() };
|
|
1652
1652
|
}, this.getUA = function() {
|
|
@@ -1655,7 +1655,7 @@ function jc() {
|
|
|
1655
1655
|
return me = typeof G === _ && G.length > pe ? A(G, pe) : G, this;
|
|
1656
1656
|
}, this.setUA(me), this;
|
|
1657
1657
|
};
|
|
1658
|
-
K.VERSION = i, K.BROWSER =
|
|
1658
|
+
K.VERSION = i, K.BROWSER = pt([y, m, h]), K.CPU = pt([S]), K.DEVICE = pt([c, f, g, b, C, N, O, R, F]), K.ENGINE = K.OS = pt([y, m]), t.exports && (e = t.exports = K), e.UAParser = K;
|
|
1659
1659
|
var ge = typeof r !== l && (r.jQuery || r.Zepto);
|
|
1660
1660
|
if (ge && !ge.ua) {
|
|
1661
1661
|
var Fe = new K();
|
|
@@ -1780,10 +1780,10 @@ function zc() {
|
|
|
1780
1780
|
}
|
|
1781
1781
|
}), p && pe(E, p);
|
|
1782
1782
|
}
|
|
1783
|
-
function
|
|
1784
|
-
return
|
|
1783
|
+
function F(E) {
|
|
1784
|
+
return F = Object.setPrototypeOf ? Object.getPrototypeOf : function(w) {
|
|
1785
1785
|
return w.__proto__ || Object.getPrototypeOf(w);
|
|
1786
|
-
},
|
|
1786
|
+
}, F(E);
|
|
1787
1787
|
}
|
|
1788
1788
|
function pe(E, p) {
|
|
1789
1789
|
return pe = Object.setPrototypeOf || function(x, k) {
|
|
@@ -1869,7 +1869,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1869
1869
|
Wearable: "wearable",
|
|
1870
1870
|
Embedded: "embedded",
|
|
1871
1871
|
Browser: void 0
|
|
1872
|
-
},
|
|
1872
|
+
}, U = {
|
|
1873
1873
|
Chrome: "Chrome",
|
|
1874
1874
|
Firefox: "Firefox",
|
|
1875
1875
|
Opera: "Opera",
|
|
@@ -1968,7 +1968,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1968
1968
|
osVersion: $(x.version),
|
|
1969
1969
|
userAgent: $(k)
|
|
1970
1970
|
};
|
|
1971
|
-
},
|
|
1971
|
+
}, vt = function(p, w, x, k) {
|
|
1972
1972
|
return {
|
|
1973
1973
|
isConsole: p,
|
|
1974
1974
|
engineName: $(w.name),
|
|
@@ -1986,7 +1986,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1986
1986
|
osVersion: $(x.version),
|
|
1987
1987
|
userAgent: $(k)
|
|
1988
1988
|
};
|
|
1989
|
-
},
|
|
1989
|
+
}, Bt = function(p, w, x, k, he) {
|
|
1990
1990
|
return {
|
|
1991
1991
|
isEmbedded: p,
|
|
1992
1992
|
vendor: $(w.vendor),
|
|
@@ -1998,31 +1998,31 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1998
1998
|
userAgent: $(he)
|
|
1999
1999
|
};
|
|
2000
2000
|
};
|
|
2001
|
-
function
|
|
2002
|
-
var p = E ? c(E) : y, w = p.device, x = p.browser, k = p.engine, he = p.os, xe = p.ua, Ze = Se(w.type), In = Ze.isBrowser, kl = Ze.isMobile, Nl = Ze.isTablet, Do = Ze.isSmartTV,
|
|
2001
|
+
function yt(E) {
|
|
2002
|
+
var p = E ? c(E) : y, w = p.device, x = p.browser, k = p.engine, he = p.os, xe = p.ua, Ze = Se(w.type), In = Ze.isBrowser, kl = Ze.isMobile, Nl = Ze.isTablet, Do = Ze.isSmartTV, Mo = Ze.isConsole, Po = Ze.isWearable, Fo = Ze.isEmbedded;
|
|
2003
2003
|
if (In)
|
|
2004
2004
|
return je(In, x, k, he, xe);
|
|
2005
2005
|
if (Do)
|
|
2006
2006
|
return Je(Do, k, he, xe);
|
|
2007
|
-
if (
|
|
2008
|
-
return
|
|
2007
|
+
if (Mo)
|
|
2008
|
+
return vt(Mo, k, he, xe);
|
|
2009
2009
|
if (kl || Nl)
|
|
2010
2010
|
return it(Ze, w, he, xe);
|
|
2011
|
-
if (
|
|
2012
|
-
return ot(
|
|
2011
|
+
if (Po)
|
|
2012
|
+
return ot(Po, k, he, xe);
|
|
2013
2013
|
if (Fo)
|
|
2014
|
-
return
|
|
2014
|
+
return Bt(Fo, w, k, he, xe);
|
|
2015
2015
|
}
|
|
2016
|
-
var
|
|
2016
|
+
var ht = function(p) {
|
|
2017
2017
|
var w = p.type;
|
|
2018
2018
|
return w === z.Mobile;
|
|
2019
|
-
},
|
|
2019
|
+
}, bt = function(p) {
|
|
2020
2020
|
var w = p.type;
|
|
2021
2021
|
return w === z.Tablet;
|
|
2022
|
-
},
|
|
2022
|
+
}, Ht = function(p) {
|
|
2023
2023
|
var w = p.type;
|
|
2024
2024
|
return w === z.Mobile || w === z.Tablet;
|
|
2025
|
-
},
|
|
2025
|
+
}, pt = function(p) {
|
|
2026
2026
|
var w = p.type;
|
|
2027
2027
|
return w === z.SmartTv;
|
|
2028
2028
|
}, et = function(p) {
|
|
@@ -2043,7 +2043,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2043
2043
|
}, D = function(p) {
|
|
2044
2044
|
var w = p.model;
|
|
2045
2045
|
return $(w);
|
|
2046
|
-
},
|
|
2046
|
+
}, M = function(p) {
|
|
2047
2047
|
var w = p.type;
|
|
2048
2048
|
return $(w, "browser");
|
|
2049
2049
|
}, W = function(p) {
|
|
@@ -2069,37 +2069,37 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2069
2069
|
return $(w);
|
|
2070
2070
|
}, j = function(p) {
|
|
2071
2071
|
var w = p.name;
|
|
2072
|
-
return w ===
|
|
2072
|
+
return w === U.Chrome;
|
|
2073
2073
|
}, me = function(p) {
|
|
2074
2074
|
var w = p.name;
|
|
2075
|
-
return w ===
|
|
2075
|
+
return w === U.Firefox;
|
|
2076
2076
|
}, Be = function(p) {
|
|
2077
2077
|
var w = p.name;
|
|
2078
|
-
return w ===
|
|
2078
|
+
return w === U.Chromium;
|
|
2079
2079
|
}, Oe = function(p) {
|
|
2080
2080
|
var w = p.name;
|
|
2081
|
-
return w ===
|
|
2081
|
+
return w === U.Edge;
|
|
2082
2082
|
}, fe = function(p) {
|
|
2083
2083
|
var w = p.name;
|
|
2084
|
-
return w ===
|
|
2084
|
+
return w === U.Yandex;
|
|
2085
2085
|
}, G = function(p) {
|
|
2086
2086
|
var w = p.name;
|
|
2087
|
-
return w ===
|
|
2087
|
+
return w === U.Safari || w === U.MobileSafari;
|
|
2088
2088
|
}, ze = function(p) {
|
|
2089
2089
|
var w = p.name;
|
|
2090
|
-
return w ===
|
|
2091
|
-
},
|
|
2090
|
+
return w === U.MobileSafari;
|
|
2091
|
+
}, Wt = function(p) {
|
|
2092
2092
|
var w = p.name;
|
|
2093
|
-
return w ===
|
|
2094
|
-
},
|
|
2093
|
+
return w === U.Opera;
|
|
2094
|
+
}, Jt = function(p) {
|
|
2095
2095
|
var w = p.name;
|
|
2096
|
-
return w ===
|
|
2096
|
+
return w === U.InternetExplorer || w === U.Ie;
|
|
2097
2097
|
}, Qr = function(p) {
|
|
2098
2098
|
var w = p.name;
|
|
2099
|
-
return w ===
|
|
2099
|
+
return w === U.MIUI;
|
|
2100
2100
|
}, en = function(p) {
|
|
2101
2101
|
var w = p.name;
|
|
2102
|
-
return w ===
|
|
2102
|
+
return w === U.SamsungBrowser;
|
|
2103
2103
|
}, tn = function(p) {
|
|
2104
2104
|
var w = p.version;
|
|
2105
2105
|
return $(w);
|
|
@@ -2118,7 +2118,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2118
2118
|
}, an = function() {
|
|
2119
2119
|
var p = X(), w = p && p.userAgent && p.userAgent.toLowerCase();
|
|
2120
2120
|
return typeof w == "string" ? /electron/.test(w) : !1;
|
|
2121
|
-
},
|
|
2121
|
+
}, jt = function(p) {
|
|
2122
2122
|
return typeof p == "string" && p.indexOf("Edg/") !== -1;
|
|
2123
2123
|
}, ln = function() {
|
|
2124
2124
|
var p = X();
|
|
@@ -2135,15 +2135,15 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2135
2135
|
function fn(E) {
|
|
2136
2136
|
var p = E || y, w = p.device, x = p.browser, k = p.os, he = p.engine, xe = p.ua;
|
|
2137
2137
|
return {
|
|
2138
|
-
isSmartTV:
|
|
2138
|
+
isSmartTV: pt(w),
|
|
2139
2139
|
isConsole: T(w),
|
|
2140
2140
|
isWearable: v(w),
|
|
2141
2141
|
isEmbedded: A(w),
|
|
2142
2142
|
isMobileSafari: ze(x) || tt(),
|
|
2143
2143
|
isChromium: Be(x),
|
|
2144
|
-
isMobile:
|
|
2145
|
-
isMobileOnly:
|
|
2146
|
-
isTablet:
|
|
2144
|
+
isMobile: Ht(w) || tt(),
|
|
2145
|
+
isMobileOnly: ht(w),
|
|
2146
|
+
isTablet: bt(w) || tt(),
|
|
2147
2147
|
isBrowser: et(w),
|
|
2148
2148
|
isDesktop: et(w),
|
|
2149
2149
|
isAndroid: W(k),
|
|
@@ -2152,8 +2152,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2152
2152
|
isChrome: j(x),
|
|
2153
2153
|
isFirefox: me(x),
|
|
2154
2154
|
isSafari: G(x),
|
|
2155
|
-
isOpera:
|
|
2156
|
-
isIE:
|
|
2155
|
+
isOpera: Wt(x),
|
|
2156
|
+
isIE: Jt(x),
|
|
2157
2157
|
osVersion: Z(k),
|
|
2158
2158
|
osName: se(k),
|
|
2159
2159
|
fullBrowserVersion: tn(x),
|
|
@@ -2164,23 +2164,23 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2164
2164
|
engineName: on(he),
|
|
2165
2165
|
engineVersion: sn(he),
|
|
2166
2166
|
getUA: un(xe),
|
|
2167
|
-
isEdge: Oe(x) ||
|
|
2167
|
+
isEdge: Oe(x) || jt(xe),
|
|
2168
2168
|
isYandex: fe(x),
|
|
2169
|
-
deviceType:
|
|
2169
|
+
deviceType: M(w),
|
|
2170
2170
|
isIOS13: ln(),
|
|
2171
2171
|
isIPad13: tt(),
|
|
2172
2172
|
isIPhone13: cn(),
|
|
2173
2173
|
isIPod13: dn(),
|
|
2174
2174
|
isElectron: an(),
|
|
2175
|
-
isEdgeChromium:
|
|
2176
|
-
isLegacyEdge: Oe(x) && !
|
|
2175
|
+
isEdgeChromium: jt(xe),
|
|
2176
|
+
isLegacyEdge: Oe(x) && !jt(xe),
|
|
2177
2177
|
isWindows: ie(k),
|
|
2178
2178
|
isMacOs: K(k),
|
|
2179
2179
|
isMIUI: Qr(x),
|
|
2180
2180
|
isSamsungBrowser: en(x)
|
|
2181
2181
|
};
|
|
2182
2182
|
}
|
|
2183
|
-
var hn =
|
|
2183
|
+
var hn = pt(a), pn = T(a), _n = v(a), ri = A(a), ni = ze(o) || tt(), ii = Be(o), ur = Ht(a) || tt(), mn = ht(a), gn = bt(a) || tt(), wn = et(a), oi = et(a), vn = W(d), yn = ge(d), bn = Fe(d) || tt(), si = j(o), ai = me(o), li = G(o), ci = Wt(o), Cn = Jt(o), di = Z(d), ui = se(d), fi = tn(o), hi = rn(o), pi = nn(o), _i = V(a), mi = D(a), gi = on(l), wi = sn(l), vi = un(_), _t = Oe(o) || jt(_), yi = fe(o), oe = M(a), st = ln(), fr = tt(), Sn = cn(), En = dn(), Tn = an(), cl = jt(_), dl = Oe(o) && !jt(_), ul = ie(d), fl = K(d), hl = Qr(o), pl = en(o), _l = function(p) {
|
|
2184
2184
|
if (!p || typeof p != "string") {
|
|
2185
2185
|
console.error("No valid user agent string was provided");
|
|
2186
2186
|
return;
|
|
@@ -2239,7 +2239,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2239
2239
|
R(w, p);
|
|
2240
2240
|
function w(x) {
|
|
2241
2241
|
var k;
|
|
2242
|
-
return S(this, w), k = H(this,
|
|
2242
|
+
return S(this, w), k = H(this, F(w).call(this, x)), k.isEventListenerAdded = !1, k.handleOrientationChange = k.handleOrientationChange.bind(Q(k)), k.onOrientationChange = k.onOrientationChange.bind(Q(k)), k.onPageLoad = k.onPageLoad.bind(Q(k)), k.state = {
|
|
2243
2243
|
isLandscape: !1,
|
|
2244
2244
|
isPortrait: !1
|
|
2245
2245
|
}, k;
|
|
@@ -2315,9 +2315,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2315
2315
|
var p = E || window.navigator.userAgent, w = No(p), x = fn(w);
|
|
2316
2316
|
return [x, w];
|
|
2317
2317
|
}
|
|
2318
|
-
return B.AndroidView = ml, B.BrowserTypes =
|
|
2318
|
+
return B.AndroidView = ml, B.BrowserTypes = U, B.BrowserView = gl, B.ConsoleView = Tl, B.CustomView = Ol, B.IEView = wl, B.IOSView = vl, B.MobileOnlyView = Sl, B.MobileView = yl, B.OsTypes = q, B.SmartTVView = El, B.TabletView = bl, B.WearableView = Il, B.WinPhoneView = Cl, B.browserName = pi, B.browserVersion = hi, B.deviceDetect = yt, B.deviceType = oe, B.engineName = gi, B.engineVersion = wi, B.fullBrowserVersion = fi, B.getSelectorsByUserAgent = _l, B.getUA = vi, B.isAndroid = vn, B.isBrowser = wn, B.isChrome = si, B.isChromium = ii, B.isConsole = pn, B.isDesktop = oi, B.isEdge = _t, B.isEdgeChromium = cl, B.isElectron = Tn, B.isEmbedded = ri, B.isFirefox = ai, B.isIE = Cn, B.isIOS = bn, B.isIOS13 = st, B.isIPad13 = fr, B.isIPhone13 = Sn, B.isIPod13 = En, B.isLegacyEdge = dl, B.isMIUI = hl, B.isMacOs = fl, B.isMobile = ur, B.isMobileOnly = mn, B.isMobileSafari = ni, B.isOpera = ci, B.isSafari = li, B.isSamsungBrowser = pl, B.isSmartTV = hn, B.isTablet = gn, B.isWearable = _n, B.isWinPhone = yn, B.isWindows = ul, B.isYandex = yi, B.mobileModel = mi, B.mobileVendor = _i, B.osName = ui, B.osVersion = di, B.parseUserAgent = c, B.setUserAgent = ne, B.useDeviceData = No, B.useDeviceSelectors = Rl, B.useMobileOrientation = Al, B.withOrientationChange = xl, B;
|
|
2319
2319
|
}
|
|
2320
|
-
var
|
|
2320
|
+
var zt = zc();
|
|
2321
2321
|
const Kc = (t, e) => vo(t, e), vo = (t, e) => {
|
|
2322
2322
|
const r = Gi(t, e);
|
|
2323
2323
|
for (const n in r)
|
|
@@ -2398,12 +2398,12 @@ const ys = (t, e) => {
|
|
|
2398
2398
|
return r = yo(t), r && (r = Kc(r, e)), r;
|
|
2399
2399
|
};
|
|
2400
2400
|
function td(t) {
|
|
2401
|
-
return
|
|
2401
|
+
return P(this, null, function* () {
|
|
2402
2402
|
return new Promise((e) => setTimeout(e, t));
|
|
2403
2403
|
});
|
|
2404
2404
|
}
|
|
2405
2405
|
function rd(i, o) {
|
|
2406
|
-
return
|
|
2406
|
+
return P(this, arguments, function* (t, e, r = cc, n = dc) {
|
|
2407
2407
|
let s = 0;
|
|
2408
2408
|
for (; s < r; ) {
|
|
2409
2409
|
const a = yield t();
|
|
@@ -2436,7 +2436,7 @@ const nd = (t, e, r) => {
|
|
|
2436
2436
|
isAllTemplatesSupported: o.length === 0,
|
|
2437
2437
|
unsupportedSteps: o.length > 0 ? o : void 0
|
|
2438
2438
|
};
|
|
2439
|
-
},
|
|
2439
|
+
}, nr = {
|
|
2440
2440
|
setAuthTokenToLs: (t, e, r, n, i) => {
|
|
2441
2441
|
const o = localStorage.getItem(xr), s = o ? JSON.parse(o) : {}, a = {
|
|
2442
2442
|
authToken: t,
|
|
@@ -2469,7 +2469,7 @@ const nd = (t, e, r) => {
|
|
|
2469
2469
|
}
|
|
2470
2470
|
}, Ai = (t) => !!t && typeof t == "object" && !Array.isArray(t), Ri = (t) => /^[^:{}\s]+:[^:{}\s]+$/.test(t), ki = {
|
|
2471
2471
|
setSessionIdWorkflowIdToLs: (t, e) => {
|
|
2472
|
-
const r = localStorage.getItem(
|
|
2472
|
+
const r = localStorage.getItem(er);
|
|
2473
2473
|
let n = {};
|
|
2474
2474
|
if (r)
|
|
2475
2475
|
try {
|
|
@@ -2481,10 +2481,10 @@ const nd = (t, e, r) => {
|
|
|
2481
2481
|
o && s && (n = { [s]: o });
|
|
2482
2482
|
}
|
|
2483
2483
|
}
|
|
2484
|
-
n[e] = t, localStorage.setItem(
|
|
2484
|
+
n[e] = t, localStorage.setItem(er, JSON.stringify(n));
|
|
2485
2485
|
},
|
|
2486
2486
|
getSessionIdWorkflowIdFromLS: () => {
|
|
2487
|
-
const t = localStorage.getItem(
|
|
2487
|
+
const t = localStorage.getItem(er);
|
|
2488
2488
|
if (!t) return null;
|
|
2489
2489
|
try {
|
|
2490
2490
|
const e = JSON.parse(t);
|
|
@@ -2498,19 +2498,19 @@ const nd = (t, e, r) => {
|
|
|
2498
2498
|
}
|
|
2499
2499
|
},
|
|
2500
2500
|
removeSessionIdWorkflowIdFromLS: ({ workflowId: t = "" }) => {
|
|
2501
|
-
const e = localStorage.getItem(
|
|
2501
|
+
const e = localStorage.getItem(er);
|
|
2502
2502
|
if (!e) return !1;
|
|
2503
2503
|
if (!t)
|
|
2504
|
-
return localStorage.removeItem(
|
|
2504
|
+
return localStorage.removeItem(er), !0;
|
|
2505
2505
|
try {
|
|
2506
2506
|
const r = JSON.parse(e);
|
|
2507
2507
|
if (!Ai(r)) return !1;
|
|
2508
2508
|
const n = r;
|
|
2509
|
-
return Object.prototype.hasOwnProperty.call(n, t) ? (delete n[t], localStorage.setItem(
|
|
2509
|
+
return Object.prototype.hasOwnProperty.call(n, t) ? (delete n[t], localStorage.setItem(er, JSON.stringify(n)), !0) : !1;
|
|
2510
2510
|
} catch (r) {
|
|
2511
2511
|
if (Ri(e)) {
|
|
2512
2512
|
const [, n] = e.split(":");
|
|
2513
|
-
return n === t ? (localStorage.removeItem(
|
|
2513
|
+
return n === t ? (localStorage.removeItem(er), !0) : !1;
|
|
2514
2514
|
}
|
|
2515
2515
|
return !1;
|
|
2516
2516
|
}
|
|
@@ -2577,12 +2577,12 @@ const Cs = () => {
|
|
|
2577
2577
|
deviceId: sd(uc),
|
|
2578
2578
|
metadata: {
|
|
2579
2579
|
platform: "browser",
|
|
2580
|
-
osVersion: `${
|
|
2580
|
+
osVersion: `${zt.osVersion}`,
|
|
2581
2581
|
hostAppId: Cs(),
|
|
2582
2582
|
host: Cs(),
|
|
2583
2583
|
name: navigator.userAgent,
|
|
2584
|
-
deviceModel: `${
|
|
2585
|
-
hostAppVersion: `${
|
|
2584
|
+
deviceModel: `${zt.osName}/${zt.osVersion} ${zt.browserName}/${zt.fullBrowserVersion}`,
|
|
2585
|
+
hostAppVersion: `${zt.browserName}/${zt.fullBrowserVersion}`
|
|
2586
2586
|
},
|
|
2587
2587
|
deviceType: "browser",
|
|
2588
2588
|
heartbeatCadence: 2,
|
|
@@ -2632,7 +2632,7 @@ const Cs = () => {
|
|
|
2632
2632
|
},
|
|
2633
2633
|
removeCurrentSessionDataLsAndStore: () => {
|
|
2634
2634
|
const r = e().startConfig, n = "apiKey" in r && typeof r.apiKey == "string" ? r.apiKey : "", i = e().workflowId;
|
|
2635
|
-
n ?
|
|
2635
|
+
n ? nr.removeAuthTokenLs(n) : ki.removeSessionIdWorkflowIdFromLS({ workflowId: i }), t(() => ({ currentSessionData: null })), t({ _sessionIdFromUrl: null });
|
|
2636
2636
|
},
|
|
2637
2637
|
/** Idv integration service getter */
|
|
2638
2638
|
getCurrentSessionId() {
|
|
@@ -2725,29 +2725,6 @@ function md(t, e) {
|
|
|
2725
2725
|
console.error('Missed "getIdentifier" when register module');
|
|
2726
2726
|
customElements.get(e.getIdentifier()) ? console.log(`Module ${t} has already registered`) : customElements.define(t, e), console.log("-------");
|
|
2727
2727
|
}
|
|
2728
|
-
const Tt = class Tt extends Ce {
|
|
2729
|
-
constructor({
|
|
2730
|
-
errorCode: e,
|
|
2731
|
-
message: r,
|
|
2732
|
-
underlyingError: n,
|
|
2733
|
-
underlyingBaseError: i
|
|
2734
|
-
}) {
|
|
2735
|
-
const o = Ce.getErrorKey(e, Xn);
|
|
2736
|
-
super({
|
|
2737
|
-
errorCode: e,
|
|
2738
|
-
errorCodeKey: o,
|
|
2739
|
-
errorEnumName: Tt.ERROR_ENUM_NAME,
|
|
2740
|
-
module: Tt.MODULE,
|
|
2741
|
-
message: r,
|
|
2742
|
-
underlyingError: n,
|
|
2743
|
-
underlyingBaseError: i,
|
|
2744
|
-
domain: Tt.ERROR_ENUM_NAME,
|
|
2745
|
-
shortDomainCode: Tt.SHORT_CODE
|
|
2746
|
-
});
|
|
2747
|
-
}
|
|
2748
|
-
};
|
|
2749
|
-
Tt.MODULE = gt, Tt.ERROR_ENUM_NAME = "InitializeError", Tt.SHORT_CODE = "IN";
|
|
2750
|
-
let $n = Tt;
|
|
2751
2728
|
const It = class It extends Ce {
|
|
2752
2729
|
constructor({
|
|
2753
2730
|
errorCode: e,
|
|
@@ -2755,7 +2732,7 @@ const It = class It extends Ce {
|
|
|
2755
2732
|
underlyingError: n,
|
|
2756
2733
|
underlyingBaseError: i
|
|
2757
2734
|
}) {
|
|
2758
|
-
const o = Ce.getErrorKey(e,
|
|
2735
|
+
const o = Ce.getErrorKey(e, Xn);
|
|
2759
2736
|
super({
|
|
2760
2737
|
errorCode: e,
|
|
2761
2738
|
errorCodeKey: o,
|
|
@@ -2769,8 +2746,8 @@ const It = class It extends Ce {
|
|
|
2769
2746
|
});
|
|
2770
2747
|
}
|
|
2771
2748
|
};
|
|
2772
|
-
It.MODULE =
|
|
2773
|
-
let
|
|
2749
|
+
It.MODULE = wt, It.ERROR_ENUM_NAME = "InitializeError", It.SHORT_CODE = "IN";
|
|
2750
|
+
let $n = It;
|
|
2774
2751
|
const Ot = class Ot extends Ce {
|
|
2775
2752
|
constructor({
|
|
2776
2753
|
errorCode: e,
|
|
@@ -2778,7 +2755,7 @@ const Ot = class Ot extends Ce {
|
|
|
2778
2755
|
underlyingError: n,
|
|
2779
2756
|
underlyingBaseError: i
|
|
2780
2757
|
}) {
|
|
2781
|
-
const o = Ce.getErrorKey(e,
|
|
2758
|
+
const o = Ce.getErrorKey(e, Fn);
|
|
2782
2759
|
super({
|
|
2783
2760
|
errorCode: e,
|
|
2784
2761
|
errorCodeKey: o,
|
|
@@ -2792,8 +2769,8 @@ const Ot = class Ot extends Ce {
|
|
|
2792
2769
|
});
|
|
2793
2770
|
}
|
|
2794
2771
|
};
|
|
2795
|
-
Ot.MODULE =
|
|
2796
|
-
let
|
|
2772
|
+
Ot.MODULE = wt, Ot.ERROR_ENUM_NAME = "TokenInitializeError", Ot.SHORT_CODE = "TI";
|
|
2773
|
+
let Bn = Ot;
|
|
2797
2774
|
const xt = class xt extends Ce {
|
|
2798
2775
|
constructor({
|
|
2799
2776
|
errorCode: e,
|
|
@@ -2801,7 +2778,7 @@ const xt = class xt extends Ce {
|
|
|
2801
2778
|
underlyingError: n,
|
|
2802
2779
|
underlyingBaseError: i
|
|
2803
2780
|
}) {
|
|
2804
|
-
const o = Ce.getErrorKey(e,
|
|
2781
|
+
const o = Ce.getErrorKey(e, St);
|
|
2805
2782
|
super({
|
|
2806
2783
|
errorCode: e,
|
|
2807
2784
|
errorCodeKey: o,
|
|
@@ -2815,8 +2792,8 @@ const xt = class xt extends Ce {
|
|
|
2815
2792
|
});
|
|
2816
2793
|
}
|
|
2817
2794
|
};
|
|
2818
|
-
xt.MODULE =
|
|
2819
|
-
let
|
|
2795
|
+
xt.MODULE = wt, xt.ERROR_ENUM_NAME = "PrepareWorkflowError", xt.SHORT_CODE = "PW";
|
|
2796
|
+
let Tt = xt;
|
|
2820
2797
|
const At = class At extends Ce {
|
|
2821
2798
|
constructor({
|
|
2822
2799
|
errorCode: e,
|
|
@@ -2824,7 +2801,7 @@ const At = class At extends Ce {
|
|
|
2824
2801
|
underlyingError: n,
|
|
2825
2802
|
underlyingBaseError: i
|
|
2826
2803
|
}) {
|
|
2827
|
-
const o = Ce.getErrorKey(e,
|
|
2804
|
+
const o = Ce.getErrorKey(e, Le);
|
|
2828
2805
|
super({
|
|
2829
2806
|
errorCode: e,
|
|
2830
2807
|
errorCodeKey: o,
|
|
@@ -2838,8 +2815,8 @@ const At = class At extends Ce {
|
|
|
2838
2815
|
});
|
|
2839
2816
|
}
|
|
2840
2817
|
};
|
|
2841
|
-
At.MODULE =
|
|
2842
|
-
let
|
|
2818
|
+
At.MODULE = wt, At.ERROR_ENUM_NAME = "ConfigureError", At.SHORT_CODE = "CFG";
|
|
2819
|
+
let Ve = At;
|
|
2843
2820
|
const Rt = class Rt extends Ce {
|
|
2844
2821
|
constructor({
|
|
2845
2822
|
errorCode: e,
|
|
@@ -2847,7 +2824,7 @@ const Rt = class Rt extends Ce {
|
|
|
2847
2824
|
underlyingError: n,
|
|
2848
2825
|
underlyingBaseError: i
|
|
2849
2826
|
}) {
|
|
2850
|
-
const o = Ce.getErrorKey(e,
|
|
2827
|
+
const o = Ce.getErrorKey(e, Ke);
|
|
2851
2828
|
super({
|
|
2852
2829
|
errorCode: e,
|
|
2853
2830
|
errorCodeKey: o,
|
|
@@ -2861,8 +2838,8 @@ const Rt = class Rt extends Ce {
|
|
|
2861
2838
|
});
|
|
2862
2839
|
}
|
|
2863
2840
|
};
|
|
2864
|
-
Rt.MODULE =
|
|
2865
|
-
let
|
|
2841
|
+
Rt.MODULE = wt, Rt.ERROR_ENUM_NAME = "WorkflowError", Rt.SHORT_CODE = "SC";
|
|
2842
|
+
let Ge = Rt;
|
|
2866
2843
|
const kt = class kt extends Ce {
|
|
2867
2844
|
constructor({
|
|
2868
2845
|
errorCode: e,
|
|
@@ -2870,7 +2847,7 @@ const kt = class kt extends Ce {
|
|
|
2870
2847
|
underlyingError: n,
|
|
2871
2848
|
underlyingBaseError: i
|
|
2872
2849
|
}) {
|
|
2873
|
-
const o = Ce.getErrorKey(e,
|
|
2850
|
+
const o = Ce.getErrorKey(e, Kt);
|
|
2874
2851
|
super({
|
|
2875
2852
|
errorCode: e,
|
|
2876
2853
|
errorCodeKey: o,
|
|
@@ -2884,8 +2861,8 @@ const kt = class kt extends Ce {
|
|
|
2884
2861
|
});
|
|
2885
2862
|
}
|
|
2886
2863
|
};
|
|
2887
|
-
kt.MODULE =
|
|
2888
|
-
let
|
|
2864
|
+
kt.MODULE = wt, kt.ERROR_ENUM_NAME = "ConnectionError", kt.SHORT_CODE = "CO";
|
|
2865
|
+
let Ur = kt;
|
|
2889
2866
|
const Nt = class Nt extends Ce {
|
|
2890
2867
|
constructor({
|
|
2891
2868
|
errorCode: e,
|
|
@@ -2893,7 +2870,7 @@ const Nt = class Nt extends Ce {
|
|
|
2893
2870
|
underlyingError: n,
|
|
2894
2871
|
underlyingBaseError: i
|
|
2895
2872
|
}) {
|
|
2896
|
-
const o = Ce.getErrorKey(e,
|
|
2873
|
+
const o = Ce.getErrorKey(e, at);
|
|
2897
2874
|
super({
|
|
2898
2875
|
errorCode: e,
|
|
2899
2876
|
errorCodeKey: o,
|
|
@@ -2907,8 +2884,8 @@ const Nt = class Nt extends Ce {
|
|
|
2907
2884
|
});
|
|
2908
2885
|
}
|
|
2909
2886
|
};
|
|
2910
|
-
Nt.MODULE =
|
|
2911
|
-
let
|
|
2887
|
+
Nt.MODULE = wt, Nt.ERROR_ENUM_NAME = "SessionError", Nt.SHORT_CODE = "SE";
|
|
2888
|
+
let Lr = Nt;
|
|
2912
2889
|
const Dt = class Dt extends Ce {
|
|
2913
2890
|
constructor({
|
|
2914
2891
|
errorCode: e,
|
|
@@ -2916,7 +2893,7 @@ const Dt = class Dt extends Ce {
|
|
|
2916
2893
|
underlyingError: n,
|
|
2917
2894
|
underlyingBaseError: i
|
|
2918
2895
|
}) {
|
|
2919
|
-
const o = Ce.getErrorKey(e,
|
|
2896
|
+
const o = Ce.getErrorKey(e, tr);
|
|
2920
2897
|
super({
|
|
2921
2898
|
errorCode: e,
|
|
2922
2899
|
errorCodeKey: o,
|
|
@@ -2930,8 +2907,31 @@ const Dt = class Dt extends Ce {
|
|
|
2930
2907
|
});
|
|
2931
2908
|
}
|
|
2932
2909
|
};
|
|
2933
|
-
Dt.MODULE =
|
|
2934
|
-
let
|
|
2910
|
+
Dt.MODULE = wt, Dt.ERROR_ENUM_NAME = "StartSessionError", Dt.SHORT_CODE = "ST";
|
|
2911
|
+
let ir = Dt;
|
|
2912
|
+
const Mt = class Mt extends Ce {
|
|
2913
|
+
constructor({
|
|
2914
|
+
errorCode: e,
|
|
2915
|
+
message: r,
|
|
2916
|
+
underlyingError: n,
|
|
2917
|
+
underlyingBaseError: i
|
|
2918
|
+
}) {
|
|
2919
|
+
const o = Ce.getErrorKey(e, Un);
|
|
2920
|
+
super({
|
|
2921
|
+
errorCode: e,
|
|
2922
|
+
errorCodeKey: o,
|
|
2923
|
+
errorEnumName: Mt.ERROR_ENUM_NAME,
|
|
2924
|
+
module: Mt.MODULE,
|
|
2925
|
+
message: r,
|
|
2926
|
+
underlyingError: n,
|
|
2927
|
+
underlyingBaseError: i,
|
|
2928
|
+
domain: Mt.ERROR_ENUM_NAME,
|
|
2929
|
+
shortDomainCode: Mt.SHORT_CODE
|
|
2930
|
+
});
|
|
2931
|
+
}
|
|
2932
|
+
};
|
|
2933
|
+
Mt.MODULE = wt, Mt.ERROR_ENUM_NAME = "DeinitializationError", Mt.SHORT_CODE = "DE";
|
|
2934
|
+
let Hn = Mt;
|
|
2935
2935
|
const Pt = class Pt extends Ce {
|
|
2936
2936
|
constructor({
|
|
2937
2937
|
errorCode: e,
|
|
@@ -2939,7 +2939,7 @@ const Pt = class Pt extends Ce {
|
|
|
2939
2939
|
underlyingError: n,
|
|
2940
2940
|
underlyingBaseError: i
|
|
2941
2941
|
}) {
|
|
2942
|
-
const o = Ce.getErrorKey(e,
|
|
2942
|
+
const o = Ce.getErrorKey(e, Et);
|
|
2943
2943
|
super({
|
|
2944
2944
|
errorCode: e,
|
|
2945
2945
|
errorCodeKey: o,
|
|
@@ -2953,7 +2953,7 @@ const Pt = class Pt extends Ce {
|
|
|
2953
2953
|
});
|
|
2954
2954
|
}
|
|
2955
2955
|
};
|
|
2956
|
-
Pt.MODULE =
|
|
2956
|
+
Pt.MODULE = wt, Pt.ERROR_ENUM_NAME = "WorkflowPlatformError", Pt.SHORT_CODE = "WPE";
|
|
2957
2957
|
let Wn = Pt;
|
|
2958
2958
|
class wr {
|
|
2959
2959
|
constructor() {
|
|
@@ -2993,7 +2993,7 @@ class wr {
|
|
|
2993
2993
|
(e = this.webSocket) == null || e.close(), this.webSocket = null, this.connected = !1, this.callbacks.clear();
|
|
2994
2994
|
}
|
|
2995
2995
|
}
|
|
2996
|
-
const
|
|
2996
|
+
const ct = wr.getInstance();
|
|
2997
2997
|
var gd = 0;
|
|
2998
2998
|
function u(t, e, r, n, i, o) {
|
|
2999
2999
|
e || (e = {});
|
|
@@ -3108,7 +3108,7 @@ const Cd = (t, e) => t.reduce((r, n) => {
|
|
|
3108
3108
|
} else
|
|
3109
3109
|
r(new Error("Unexpected result type"));
|
|
3110
3110
|
}, n.onerror = () => r(n.error), n.readAsDataURL(t);
|
|
3111
|
-
}), Sd = () =>
|
|
3111
|
+
}), Sd = () => P(null, null, function* () {
|
|
3112
3112
|
try {
|
|
3113
3113
|
return (yield navigator.mediaDevices.getUserMedia({ video: !0 })).getTracks().forEach((e) => e.stop()), "allowed";
|
|
3114
3114
|
} catch (t) {
|
|
@@ -3296,7 +3296,7 @@ function Dd({ size: t }) {
|
|
|
3296
3296
|
/* @__PURE__ */ u("circle", { cx: "17.5", cy: "20", r: "1", fill: "#8C8C8C" })
|
|
3297
3297
|
] });
|
|
3298
3298
|
}
|
|
3299
|
-
function
|
|
3299
|
+
function Md({ size: t }) {
|
|
3300
3300
|
return /* @__PURE__ */ u("svg", { width: t || 48, height: t || 48, viewBox: "0 0 49 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
3301
3301
|
/* @__PURE__ */ u("circle", { cx: "15.5004", cy: "10.8002", r: "3.6", stroke: "#0E1F97", strokeWidth: "3" }),
|
|
3302
3302
|
/* @__PURE__ */ u("circle", { cx: "35.2998", cy: "19.7998", r: "3", stroke: "#0E1F97", strokeWidth: "3" }),
|
|
@@ -3329,7 +3329,7 @@ const Is = ({ size: t, color: e }) => /* @__PURE__ */ u(
|
|
|
3329
3329
|
fill: e || "rgba(0,0,0,0.6)",
|
|
3330
3330
|
children: /* @__PURE__ */ u("path", { d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" })
|
|
3331
3331
|
}
|
|
3332
|
-
),
|
|
3332
|
+
), Pd = ({ size: t, color: e }) => /* @__PURE__ */ u(
|
|
3333
3333
|
"svg",
|
|
3334
3334
|
{
|
|
3335
3335
|
width: t ? t * 3 : 39,
|
|
@@ -3582,9 +3582,9 @@ const Ld = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
|
|
|
3582
3582
|
[ye.BIOMETRIC]: kd,
|
|
3583
3583
|
[ye.INFO]: Nd,
|
|
3584
3584
|
[ye.TO_MOBILE]: Dd,
|
|
3585
|
-
[ye.UNDERAGE]:
|
|
3585
|
+
[ye.UNDERAGE]: Md,
|
|
3586
3586
|
[ye.CROSS]: Is,
|
|
3587
|
-
[ye.REGULA_LOGO]:
|
|
3587
|
+
[ye.REGULA_LOGO]: Pd,
|
|
3588
3588
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
3589
3589
|
// @ts-ignore
|
|
3590
3590
|
[ye.DEFAULT]: Gd,
|
|
@@ -3602,7 +3602,7 @@ const Ld = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
|
|
|
3602
3602
|
}, qd = ({ type: t, size: e, color: r }) => {
|
|
3603
3603
|
const n = qi[t] || qi[ye.DEFAULT];
|
|
3604
3604
|
return /* @__PURE__ */ u(n, { size: e, color: r });
|
|
3605
|
-
},
|
|
3605
|
+
}, Pe = ({
|
|
3606
3606
|
imageId: t,
|
|
3607
3607
|
imageURL: e,
|
|
3608
3608
|
base64: r,
|
|
@@ -3614,7 +3614,7 @@ const Ld = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
|
|
|
3614
3614
|
if (h === An.ASPECT_FILL) return "cover";
|
|
3615
3615
|
if (h === An.ASPECT_FIT) return "contain";
|
|
3616
3616
|
if (h === An.FILL) return "fill";
|
|
3617
|
-
}, [a, l] =
|
|
3617
|
+
}, [a, l] = Me(!0), d = a && e, _ = () => {
|
|
3618
3618
|
l(!1);
|
|
3619
3619
|
};
|
|
3620
3620
|
if (r)
|
|
@@ -3678,7 +3678,7 @@ const Ld = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
|
|
|
3678
3678
|
height: "100%",
|
|
3679
3679
|
width: "100%"
|
|
3680
3680
|
},
|
|
3681
|
-
children: /* @__PURE__ */ u("a", { href: "", children: /* @__PURE__ */ u(
|
|
3681
|
+
children: /* @__PURE__ */ u("a", { href: "", children: /* @__PURE__ */ u(Pe, { imageId: t == null ? void 0 : t.imageId }) })
|
|
3682
3682
|
}
|
|
3683
3683
|
), Yd = {
|
|
3684
3684
|
display: "flex",
|
|
@@ -3699,7 +3699,7 @@ const Ld = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
|
|
|
3699
3699
|
highlightColor: s
|
|
3700
3700
|
}) => {
|
|
3701
3701
|
var c;
|
|
3702
|
-
const [a, l] =
|
|
3702
|
+
const [a, l] = Me(!1), d = a && s ? s : i, { perform: _ } = dr();
|
|
3703
3703
|
return /* @__PURE__ */ u(
|
|
3704
3704
|
"button",
|
|
3705
3705
|
{
|
|
@@ -3727,7 +3727,7 @@ const Ld = ({ size: t = 100, color: e = "#5DA600" }) => /* @__PURE__ */ u("svg",
|
|
|
3727
3727
|
width: "24px",
|
|
3728
3728
|
height: "24px"
|
|
3729
3729
|
},
|
|
3730
|
-
children: /* @__PURE__ */ u(
|
|
3730
|
+
children: /* @__PURE__ */ u(Pe, I({}, r))
|
|
3731
3731
|
}
|
|
3732
3732
|
),
|
|
3733
3733
|
n && /* @__PURE__ */ u("div", { style: { padding: "0 5px" }, children: /* @__PURE__ */ u(Ne, I({}, n)) })
|
|
@@ -3805,7 +3805,7 @@ const Ne = ({
|
|
|
3805
3805
|
onClick: _
|
|
3806
3806
|
}) => {
|
|
3807
3807
|
var S, b;
|
|
3808
|
-
const [h, c] =
|
|
3808
|
+
const [h, c] = Me(!1), y = h && le(o) ? o : n, { perform: g } = dr(), f = (C) => {
|
|
3809
3809
|
if (_ && _(C), d !== "RESPONSE_BODY") return;
|
|
3810
3810
|
const O = JSON.parse(JSON.stringify(r));
|
|
3811
3811
|
Co(O), g(O);
|
|
@@ -3843,7 +3843,7 @@ const Ne = ({
|
|
|
3843
3843
|
onMouseEnter: () => c(!0),
|
|
3844
3844
|
onMouseLeave: () => c(!1),
|
|
3845
3845
|
children: [
|
|
3846
|
-
e && /* @__PURE__ */ u(
|
|
3846
|
+
e && /* @__PURE__ */ u(Pe, I({}, e)),
|
|
3847
3847
|
t && /* @__PURE__ */ u(
|
|
3848
3848
|
"div",
|
|
3849
3849
|
{
|
|
@@ -3857,7 +3857,7 @@ const Ne = ({
|
|
|
3857
3857
|
}
|
|
3858
3858
|
);
|
|
3859
3859
|
}, eu = (r) => {
|
|
3860
|
-
var n = r, { items: t } = n, e =
|
|
3860
|
+
var n = r, { items: t } = n, e = Xt(n, ["items"]);
|
|
3861
3861
|
return /* @__PURE__ */ u("div", { part: "gui-buttons", "data-ui": "gui-buttons", style: I(I({}, {
|
|
3862
3862
|
display: "flex",
|
|
3863
3863
|
flexDirection: "row",
|
|
@@ -3874,7 +3874,7 @@ const Ne = ({
|
|
|
3874
3874
|
var s;
|
|
3875
3875
|
return /* @__PURE__ */ u(So, I({ dataTestId: "button-" + ((s = o.title) == null ? void 0 : s.text) }, o), Ed());
|
|
3876
3876
|
}) });
|
|
3877
|
-
},
|
|
3877
|
+
}, Yt = ({
|
|
3878
3878
|
children: t,
|
|
3879
3879
|
header: e,
|
|
3880
3880
|
footer: r,
|
|
@@ -3970,10 +3970,10 @@ const Ne = ({
|
|
|
3970
3970
|
buttons: o,
|
|
3971
3971
|
backgroundColor: s
|
|
3972
3972
|
}) => {
|
|
3973
|
-
const a = nt(null), [l, d] =
|
|
3973
|
+
const a = nt(null), [l, d] = Me(!1);
|
|
3974
3974
|
return rt(() => {
|
|
3975
3975
|
a.current && d(a.current.scrollHeight > a.current.clientHeight + 2);
|
|
3976
|
-
}, []), /* @__PURE__ */ u(
|
|
3976
|
+
}, []), /* @__PURE__ */ u(Yt, { header: t, buttons: o, footer: e, backgroundColor: s, children: /* @__PURE__ */ u(
|
|
3977
3977
|
"div",
|
|
3978
3978
|
{
|
|
3979
3979
|
part: "gui-status-screen",
|
|
@@ -3987,7 +3987,7 @@ const Ne = ({
|
|
|
3987
3987
|
flexDirection: "column"
|
|
3988
3988
|
},
|
|
3989
3989
|
children: [
|
|
3990
|
-
r && /* @__PURE__ */ u("div", { style: vd, children: /* @__PURE__ */ u(
|
|
3990
|
+
r && /* @__PURE__ */ u("div", { style: vd, children: /* @__PURE__ */ u(Pe, I({}, r)) }),
|
|
3991
3991
|
(n == null ? void 0 : n.text) && /* @__PURE__ */ u(
|
|
3992
3992
|
"div",
|
|
3993
3993
|
{
|
|
@@ -4045,7 +4045,7 @@ const Ne = ({
|
|
|
4045
4045
|
description: i,
|
|
4046
4046
|
buttons: o,
|
|
4047
4047
|
backgroundColor: s
|
|
4048
|
-
}) => /* @__PURE__ */ u(
|
|
4048
|
+
}) => /* @__PURE__ */ u(Yt, { header: e, footer: r, buttons: o, backgroundColor: s, children: /* @__PURE__ */ u(We, { children: /* @__PURE__ */ u(
|
|
4049
4049
|
"div",
|
|
4050
4050
|
{
|
|
4051
4051
|
part: "gui-info-screen-container",
|
|
@@ -4055,7 +4055,7 @@ const Ne = ({
|
|
|
4055
4055
|
justifyContent: n ? "flex-start" : "center"
|
|
4056
4056
|
}),
|
|
4057
4057
|
children: [
|
|
4058
|
-
n && /* @__PURE__ */ u("div", { style: ru, children: /* @__PURE__ */ u(
|
|
4058
|
+
n && /* @__PURE__ */ u("div", { style: ru, children: /* @__PURE__ */ u(Pe, I({}, n)) }),
|
|
4059
4059
|
t && /* @__PURE__ */ u("div", { style: { marginBottom: 20, lineHeight: "39.2px" }, children: /* @__PURE__ */ u(Ne, I({}, t)) }),
|
|
4060
4060
|
i && /* @__PURE__ */ u("div", { style: { lineHeight: "28px", fontWeight: "400" }, children: /* @__PURE__ */ u(ei, I({}, i)) })
|
|
4061
4061
|
]
|
|
@@ -4064,7 +4064,7 @@ const Ne = ({
|
|
|
4064
4064
|
progressView: t,
|
|
4065
4065
|
footer: e,
|
|
4066
4066
|
backgroundColor: r
|
|
4067
|
-
}) => /* @__PURE__ */ u(
|
|
4067
|
+
}) => /* @__PURE__ */ u(Yt, { footer: e, backgroundColor: r, children: /* @__PURE__ */ u(
|
|
4068
4068
|
"div",
|
|
4069
4069
|
{
|
|
4070
4070
|
style: {
|
|
@@ -4115,7 +4115,7 @@ const Ne = ({
|
|
|
4115
4115
|
]
|
|
4116
4116
|
}
|
|
4117
4117
|
),
|
|
4118
|
-
/* @__PURE__ */ u("div", { style: { aspectRatio: "1 / 1", width: 120, height: 120, flex: "0 0 120px" }, children: /* @__PURE__ */ u(
|
|
4118
|
+
/* @__PURE__ */ u("div", { style: { aspectRatio: "1 / 1", width: 120, height: 120, flex: "0 0 120px" }, children: /* @__PURE__ */ u(Pe, I({}, r)) })
|
|
4119
4119
|
]
|
|
4120
4120
|
}
|
|
4121
4121
|
), au = {
|
|
@@ -4140,10 +4140,10 @@ const Ne = ({
|
|
|
4140
4140
|
buttons: i,
|
|
4141
4141
|
backgroundColor: o
|
|
4142
4142
|
}) => {
|
|
4143
|
-
const s = nt(null), [a, l] =
|
|
4143
|
+
const s = nt(null), [a, l] = Me(!1);
|
|
4144
4144
|
return rt(() => {
|
|
4145
4145
|
s.current && l(s.current.scrollHeight > s.current.clientHeight);
|
|
4146
|
-
}, []), /* @__PURE__ */ u(
|
|
4146
|
+
}, []), /* @__PURE__ */ u(Yt, { header: e, buttons: i, footer: r, backgroundColor: o, children: /* @__PURE__ */ u(
|
|
4147
4147
|
"div",
|
|
4148
4148
|
{
|
|
4149
4149
|
style: {
|
|
@@ -4207,13 +4207,13 @@ const Gn = {
|
|
|
4207
4207
|
BLUR: "blur",
|
|
4208
4208
|
FOCUS_OUT: "focusout",
|
|
4209
4209
|
CHANGE: "change"
|
|
4210
|
-
},
|
|
4210
|
+
}, dt = {
|
|
4211
4211
|
onBlur: "onBlur",
|
|
4212
4212
|
onChange: "onChange",
|
|
4213
4213
|
onSubmit: "onSubmit",
|
|
4214
4214
|
onTouched: "onTouched",
|
|
4215
4215
|
all: "all"
|
|
4216
|
-
},
|
|
4216
|
+
}, Ct = {
|
|
4217
4217
|
max: "max",
|
|
4218
4218
|
min: "min",
|
|
4219
4219
|
maxLength: "maxLength",
|
|
@@ -4232,7 +4232,7 @@ var Xa = (t, e, r, n = !0) => {
|
|
|
4232
4232
|
Object.defineProperty(i, o, {
|
|
4233
4233
|
get: () => {
|
|
4234
4234
|
const s = o;
|
|
4235
|
-
return e._proxyFormState[s] !==
|
|
4235
|
+
return e._proxyFormState[s] !== dt.all && (e._proxyFormState[s] = !n || dt.all), r && (r[s] = !0), t[s];
|
|
4236
4236
|
}
|
|
4237
4237
|
});
|
|
4238
4238
|
return i;
|
|
@@ -4261,7 +4261,7 @@ function fu(t) {
|
|
|
4261
4261
|
}, [r]), ce.useMemo(() => Xa(s, r, l.current, !1), [s, r]);
|
|
4262
4262
|
}
|
|
4263
4263
|
var Qe = (t) => typeof t == "string", Qa = (t, e, r, n, i) => Qe(t) ? (n && e.watch.add(t), L(r, t, i)) : Array.isArray(t) ? t.map((o) => (n && e.watch.add(o), L(r, o))) : (n && (e.watchAll = !0), r), Zi = (t) => qe(t) || !qa(t);
|
|
4264
|
-
function
|
|
4264
|
+
function Ut(t, e, r = /* @__PURE__ */ new WeakSet()) {
|
|
4265
4265
|
if (Zi(t) || Zi(e))
|
|
4266
4266
|
return t === e;
|
|
4267
4267
|
if (sr(t) && sr(e))
|
|
@@ -4278,7 +4278,7 @@ function Ft(t, e, r = /* @__PURE__ */ new WeakSet()) {
|
|
|
4278
4278
|
return !1;
|
|
4279
4279
|
if (o !== "ref") {
|
|
4280
4280
|
const a = e[o];
|
|
4281
|
-
if (sr(s) && sr(a) || ke(s) && ke(a) || Array.isArray(s) && Array.isArray(a) ? !
|
|
4281
|
+
if (sr(s) && sr(a) || ke(s) && ke(a) || Array.isArray(s) && Array.isArray(a) ? !Ut(s, a, r) : s !== a)
|
|
4282
4282
|
return !1;
|
|
4283
4283
|
}
|
|
4284
4284
|
}
|
|
@@ -4299,7 +4299,7 @@ function hu(t) {
|
|
|
4299
4299
|
const f = Qa(n, r._names, g.values || r._formValues, !1, l.current);
|
|
4300
4300
|
if (d.current) {
|
|
4301
4301
|
const m = d.current(f);
|
|
4302
|
-
|
|
4302
|
+
Ut(m, _.current) || (y(m), _.current = m);
|
|
4303
4303
|
} else
|
|
4304
4304
|
y(f);
|
|
4305
4305
|
}
|
|
@@ -4372,9 +4372,9 @@ function pu(t) {
|
|
|
4372
4372
|
return ce.useEffect(() => {
|
|
4373
4373
|
const C = i._options.shouldUnregister || o, O = c.current;
|
|
4374
4374
|
O && O !== r && !a && i.unregister(O), i.register(r, I(I({}, h.current.rules), Xe(h.current.disabled) ? { disabled: h.current.disabled } : {}));
|
|
4375
|
-
const N = (R,
|
|
4375
|
+
const N = (R, F) => {
|
|
4376
4376
|
const pe = L(i._fields, R);
|
|
4377
|
-
pe && pe._f && (pe._f.mount =
|
|
4377
|
+
pe && pe._f && (pe._f.mount = F);
|
|
4378
4378
|
};
|
|
4379
4379
|
if (N(r, !0), C) {
|
|
4380
4380
|
const R = De(L(i._options.defaultValues, r, h.current.defaultValue));
|
|
@@ -4431,12 +4431,12 @@ function tl(t, e) {
|
|
|
4431
4431
|
}
|
|
4432
4432
|
return r;
|
|
4433
4433
|
}
|
|
4434
|
-
var Ye = (t) => ke(t) && !Object.keys(t).length, Ao = (t) => t.type === "file",
|
|
4434
|
+
var Ye = (t) => ke(t) && !Object.keys(t).length, Ao = (t) => t.type === "file", ut = (t) => typeof t == "function", qn = (t) => {
|
|
4435
4435
|
if (!Eo)
|
|
4436
4436
|
return !1;
|
|
4437
4437
|
const e = t ? t.ownerDocument : 0;
|
|
4438
4438
|
return t instanceof (e && e.defaultView ? e.defaultView.HTMLElement : HTMLElement);
|
|
4439
|
-
}, rl = (t) => t.type === "select-multiple", Ro = (t) => t.type === "radio", mu = (t) => Ro(t) || Xr(t),
|
|
4439
|
+
}, rl = (t) => t.type === "select-multiple", Ro = (t) => t.type === "radio", mu = (t) => Ro(t) || Xr(t), Mi = (t) => qn(t) && t.isConnected;
|
|
4440
4440
|
function gu(t, e) {
|
|
4441
4441
|
const r = e.slice(0, -1).length;
|
|
4442
4442
|
let n = 0;
|
|
@@ -4456,7 +4456,7 @@ function Ae(t, e) {
|
|
|
4456
4456
|
}
|
|
4457
4457
|
var vu = (t) => {
|
|
4458
4458
|
for (const e in t)
|
|
4459
|
-
if (
|
|
4459
|
+
if (ut(t[e]))
|
|
4460
4460
|
return !0;
|
|
4461
4461
|
return !1;
|
|
4462
4462
|
};
|
|
@@ -4471,7 +4471,7 @@ function Yi(t, e = {}) {
|
|
|
4471
4471
|
function mr(t, e, r) {
|
|
4472
4472
|
r || (r = Yi(e));
|
|
4473
4473
|
for (const n in t)
|
|
4474
|
-
nl(t[n]) ? Ie(e) || Zi(r[n]) ? r[n] = Yi(t[n], Array.isArray(t[n]) ? [] : {}) : mr(t[n], qe(e) ? {} : e[n], r[n]) : r[n] = !
|
|
4474
|
+
nl(t[n]) ? Ie(e) || Zi(r[n]) ? r[n] = Yi(t[n], Array.isArray(t[n]) ? [] : {}) : mr(t[n], qe(e) ? {} : e[n], r[n]) : r[n] = !Ut(t[n], e[n]);
|
|
4475
4475
|
return r;
|
|
4476
4476
|
}
|
|
4477
4477
|
const As = {
|
|
@@ -4516,19 +4516,19 @@ var yu = (t, e, r, n) => {
|
|
|
4516
4516
|
shouldUseNativeValidation: n
|
|
4517
4517
|
};
|
|
4518
4518
|
}, Zn = (t) => t instanceof RegExp, Ar = (t) => Ie(t) ? t : Zn(t) ? t.source : ke(t) ? Zn(t.value) ? t.value.source : t.value : t, Ds = (t) => ({
|
|
4519
|
-
isOnSubmit: !t || t ===
|
|
4520
|
-
isOnBlur: t ===
|
|
4521
|
-
isOnChange: t ===
|
|
4522
|
-
isOnAll: t ===
|
|
4523
|
-
isOnTouch: t ===
|
|
4519
|
+
isOnSubmit: !t || t === dt.onSubmit,
|
|
4520
|
+
isOnBlur: t === dt.onBlur,
|
|
4521
|
+
isOnChange: t === dt.onChange,
|
|
4522
|
+
isOnAll: t === dt.all,
|
|
4523
|
+
isOnTouch: t === dt.onTouched
|
|
4524
4524
|
});
|
|
4525
|
-
const
|
|
4526
|
-
var bu = (t) => !!t && !!t.validate && !!(
|
|
4525
|
+
const Ms = "AsyncFunction";
|
|
4526
|
+
var bu = (t) => !!t && !!t.validate && !!(ut(t.validate) && t.validate.constructor.name === Ms || ke(t.validate) && Object.values(t.validate).find((e) => e.constructor.name === Ms)), Cu = (t) => t.mount && (t.required || t.min || t.max || t.maxLength || t.minLength || t.pattern || t.validate), Ps = (t, e, r) => !r && (e.watchAll || e.watch.has(t) || [...e.watch].some((n) => t.startsWith(n) && /^\.\w+/.test(t.slice(n.length))));
|
|
4527
4527
|
const $r = (t, e, r, n) => {
|
|
4528
4528
|
for (const o of r || Object.keys(t)) {
|
|
4529
4529
|
const s = L(t, o);
|
|
4530
4530
|
if (s) {
|
|
4531
|
-
const i = s, { _f: a } = i, l =
|
|
4531
|
+
const i = s, { _f: a } = i, l = Xt(i, ["_f"]);
|
|
4532
4532
|
if (a) {
|
|
4533
4533
|
if (a.refs && a.refs[0] && e(a.refs[0], o) && !n)
|
|
4534
4534
|
return !0;
|
|
@@ -4571,8 +4571,8 @@ function Fs(t, e, r) {
|
|
|
4571
4571
|
}
|
|
4572
4572
|
var Su = (t, e, r, n) => {
|
|
4573
4573
|
r(t);
|
|
4574
|
-
const s = t, { name: i } = s, o =
|
|
4575
|
-
return Ye(o) || Object.keys(o).length >= Object.keys(e).length || Object.keys(o).find((a) => e[a] === (!n ||
|
|
4574
|
+
const s = t, { name: i } = s, o = Xt(s, ["name"]);
|
|
4575
|
+
return Ye(o) || Object.keys(o).length >= Object.keys(e).length || Object.keys(o).find((a) => e[a] === (!n || dt.all));
|
|
4576
4576
|
}, Eu = (t, e, r) => !t || !e || t === e || Vr(t).some((n) => n && (r ? n === e : n.startsWith(e) || e.startsWith(n))), Tu = (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, Iu = (t, e) => !To(L(t, e)).length && Ae(t, e), Ou = (t, e, r) => {
|
|
4577
4577
|
const n = Vr(L(t, r));
|
|
4578
4578
|
return Ee(n, "root", e[r]), Ee(t, r, n), t;
|
|
@@ -4588,13 +4588,13 @@ function Us(t, e, r = "validate") {
|
|
|
4588
4588
|
var pr = (t) => ke(t) && !Zn(t) ? t : {
|
|
4589
4589
|
value: t,
|
|
4590
4590
|
message: ""
|
|
4591
|
-
}, Ls = (t, e, r, n, i, o) =>
|
|
4591
|
+
}, Ls = (t, e, r, n, i, o) => P(null, null, function* () {
|
|
4592
4592
|
const { ref: s, refs: a, required: l, maxLength: d, minLength: _, min: h, max: c, pattern: y, validate: g, name: f, valueAsNumber: m, mount: S } = t._f, b = L(r, f);
|
|
4593
4593
|
if (!S || e.has(f))
|
|
4594
4594
|
return {};
|
|
4595
4595
|
const C = a ? a[0] : s, O = (H) => {
|
|
4596
4596
|
i && C.reportValidity && (C.setCustomValidity(Xe(H) ? "" : H || ""), C.reportValidity());
|
|
4597
|
-
}, N = {}, R = Ro(s),
|
|
4597
|
+
}, N = {}, R = Ro(s), F = Xr(s), pe = R || F, _e = (m || Ao(s)) && Ie(s.value) && Ie(b) || qn(s) && s.value === "" || b === "" || Array.isArray(b) && !b.length, ee = _u.bind(null, f, n, N), Q = (H, J, de, ue = Ct.maxLength, we = Ct.minLength) => {
|
|
4598
4598
|
const ve = H ? J : de;
|
|
4599
4599
|
N[f] = I({
|
|
4600
4600
|
type: H ? ue : we,
|
|
@@ -4602,13 +4602,13 @@ var pr = (t) => ke(t) && !Zn(t) ? t : {
|
|
|
4602
4602
|
ref: s
|
|
4603
4603
|
}, ee(H ? ue : we, ve));
|
|
4604
4604
|
};
|
|
4605
|
-
if (o ? !Array.isArray(b) || !b.length : l && (!pe && (_e || qe(b)) || Xe(b) && !b ||
|
|
4605
|
+
if (o ? !Array.isArray(b) || !b.length : l && (!pe && (_e || qe(b)) || Xe(b) && !b || F && !il(a).isValid || R && !sl(a).isValid)) {
|
|
4606
4606
|
const { value: H, message: J } = Qe(l) ? { value: !!l, message: l } : pr(l);
|
|
4607
4607
|
if (H && (N[f] = I({
|
|
4608
|
-
type:
|
|
4608
|
+
type: Ct.required,
|
|
4609
4609
|
message: J,
|
|
4610
4610
|
ref: C
|
|
4611
|
-
}, ee(
|
|
4611
|
+
}, ee(Ct.required, J)), !n))
|
|
4612
4612
|
return O(J), N;
|
|
4613
4613
|
}
|
|
4614
4614
|
if (!_e && (!qe(h) || !qe(c))) {
|
|
@@ -4618,10 +4618,10 @@ var pr = (t) => ke(t) && !Zn(t) ? t : {
|
|
|
4618
4618
|
const we = s.valueAsNumber || b && +b;
|
|
4619
4619
|
qe(de.value) || (H = we > de.value), qe(ue.value) || (J = we < ue.value);
|
|
4620
4620
|
} else {
|
|
4621
|
-
const we = s.valueAsDate || new Date(b), ve = (
|
|
4621
|
+
const we = s.valueAsDate || new Date(b), ve = (U) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + U), te = s.type == "time", z = s.type == "week";
|
|
4622
4622
|
Qe(de.value) && b && (H = te ? ve(b) > ve(de.value) : z ? b > de.value : we > new Date(de.value)), Qe(ue.value) && b && (J = te ? ve(b) < ve(ue.value) : z ? b < ue.value : we < new Date(ue.value));
|
|
4623
4623
|
}
|
|
4624
|
-
if ((H || J) && (Q(!!H, de.message, ue.message,
|
|
4624
|
+
if ((H || J) && (Q(!!H, de.message, ue.message, Ct.max, Ct.min), !n))
|
|
4625
4625
|
return O(N[f].message), N;
|
|
4626
4626
|
}
|
|
4627
4627
|
if ((d || _) && !_e && (Qe(b) || o && Array.isArray(b))) {
|
|
@@ -4632,16 +4632,16 @@ var pr = (t) => ke(t) && !Zn(t) ? t : {
|
|
|
4632
4632
|
if (y && !_e && Qe(b)) {
|
|
4633
4633
|
const { value: H, message: J } = pr(y);
|
|
4634
4634
|
if (Zn(H) && !b.match(H) && (N[f] = I({
|
|
4635
|
-
type:
|
|
4635
|
+
type: Ct.pattern,
|
|
4636
4636
|
message: J,
|
|
4637
4637
|
ref: s
|
|
4638
|
-
}, ee(
|
|
4638
|
+
}, ee(Ct.pattern, J)), !n))
|
|
4639
4639
|
return O(J), N;
|
|
4640
4640
|
}
|
|
4641
4641
|
if (g) {
|
|
4642
|
-
if (
|
|
4642
|
+
if (ut(g)) {
|
|
4643
4643
|
const H = yield g(b, r), J = Us(H, C);
|
|
4644
|
-
if (J && (N[f] = I(I({}, J), ee(
|
|
4644
|
+
if (J && (N[f] = I(I({}, J), ee(Ct.validate, J.message)), !n))
|
|
4645
4645
|
return O(J.message), N;
|
|
4646
4646
|
} else if (ke(g)) {
|
|
4647
4647
|
let H = {};
|
|
@@ -4660,8 +4660,8 @@ var pr = (t) => ke(t) && !Zn(t) ? t : {
|
|
|
4660
4660
|
return O(!0), N;
|
|
4661
4661
|
});
|
|
4662
4662
|
const xu = {
|
|
4663
|
-
mode:
|
|
4664
|
-
reValidateMode:
|
|
4663
|
+
mode: dt.onSubmit,
|
|
4664
|
+
reValidateMode: dt.onChange,
|
|
4665
4665
|
shouldFocusError: !0
|
|
4666
4666
|
};
|
|
4667
4667
|
function Au(t = {}) {
|
|
@@ -4669,7 +4669,7 @@ function Au(t = {}) {
|
|
|
4669
4669
|
submitCount: 0,
|
|
4670
4670
|
isDirty: !1,
|
|
4671
4671
|
isReady: !1,
|
|
4672
|
-
isLoading:
|
|
4672
|
+
isLoading: ut(e.defaultValues),
|
|
4673
4673
|
isValidating: !1,
|
|
4674
4674
|
isSubmitted: !1,
|
|
4675
4675
|
isSubmitting: !1,
|
|
@@ -4704,11 +4704,11 @@ function Au(t = {}) {
|
|
|
4704
4704
|
const c = {
|
|
4705
4705
|
array: xs(),
|
|
4706
4706
|
state: xs()
|
|
4707
|
-
}, y = e.criteriaMode ===
|
|
4707
|
+
}, y = e.criteriaMode === dt.all, g = (v) => (T) => {
|
|
4708
4708
|
clearTimeout(d), d = setTimeout(v, T);
|
|
4709
|
-
}, f = (v) =>
|
|
4709
|
+
}, f = (v) => P(null, null, function* () {
|
|
4710
4710
|
if (!e.disabled && (_.isValid || h.isValid || v)) {
|
|
4711
|
-
const T = e.resolver ? Ye((yield
|
|
4711
|
+
const T = e.resolver ? Ye((yield F()).errors) : yield _e(n, !0);
|
|
4712
4712
|
T !== r.isValid && c.state.next({
|
|
4713
4713
|
isValid: T
|
|
4714
4714
|
});
|
|
@@ -4720,17 +4720,17 @@ function Au(t = {}) {
|
|
|
4720
4720
|
validatingFields: r.validatingFields,
|
|
4721
4721
|
isValidating: !Ye(r.validatingFields)
|
|
4722
4722
|
}));
|
|
4723
|
-
}, S = (v, T = [], A, V, D = !0,
|
|
4723
|
+
}, S = (v, T = [], A, V, D = !0, M = !0) => {
|
|
4724
4724
|
if (V && A && !e.disabled) {
|
|
4725
|
-
if (s.action = !0,
|
|
4725
|
+
if (s.action = !0, M && Array.isArray(L(n, v))) {
|
|
4726
4726
|
const W = A(L(n, v), V.argA, V.argB);
|
|
4727
4727
|
D && Ee(n, v, W);
|
|
4728
4728
|
}
|
|
4729
|
-
if (
|
|
4729
|
+
if (M && Array.isArray(L(r.errors, v))) {
|
|
4730
4730
|
const W = A(L(r.errors, v), V.argA, V.argB);
|
|
4731
4731
|
D && Ee(r.errors, v, W), Iu(r.errors, v);
|
|
4732
4732
|
}
|
|
4733
|
-
if ((_.touchedFields || h.touchedFields) &&
|
|
4733
|
+
if ((_.touchedFields || h.touchedFields) && M && Array.isArray(L(r.touchedFields, v))) {
|
|
4734
4734
|
const W = A(L(r.touchedFields, v), V.argA, V.argB);
|
|
4735
4735
|
D && Ee(r.touchedFields, v, W);
|
|
4736
4736
|
}
|
|
@@ -4755,42 +4755,42 @@ function Au(t = {}) {
|
|
|
4755
4755
|
}, O = (v, T, A, V) => {
|
|
4756
4756
|
const D = L(n, v);
|
|
4757
4757
|
if (D) {
|
|
4758
|
-
const
|
|
4759
|
-
Ie(
|
|
4758
|
+
const M = L(o, v, Ie(A) ? L(i, v) : A);
|
|
4759
|
+
Ie(M) || V && V.defaultChecked || T ? Ee(o, v, T ? M : Ns(D._f)) : de(v, M), s.mount && f();
|
|
4760
4760
|
}
|
|
4761
4761
|
}, N = (v, T, A, V, D) => {
|
|
4762
|
-
let
|
|
4762
|
+
let M = !1, W = !1;
|
|
4763
4763
|
const ie = {
|
|
4764
4764
|
name: v
|
|
4765
4765
|
};
|
|
4766
4766
|
if (!e.disabled) {
|
|
4767
4767
|
if (!A || V) {
|
|
4768
|
-
(_.isDirty || h.isDirty) && (W = r.isDirty, r.isDirty = ie.isDirty = Q(),
|
|
4769
|
-
const K =
|
|
4770
|
-
W = !!L(r.dirtyFields, v), K ? Ae(r.dirtyFields, v) : Ee(r.dirtyFields, v, !0), ie.dirtyFields = r.dirtyFields,
|
|
4768
|
+
(_.isDirty || h.isDirty) && (W = r.isDirty, r.isDirty = ie.isDirty = Q(), M = W !== ie.isDirty);
|
|
4769
|
+
const K = Ut(L(i, v), T);
|
|
4770
|
+
W = !!L(r.dirtyFields, v), K ? Ae(r.dirtyFields, v) : Ee(r.dirtyFields, v, !0), ie.dirtyFields = r.dirtyFields, M = M || (_.dirtyFields || h.dirtyFields) && W !== !K;
|
|
4771
4771
|
}
|
|
4772
4772
|
if (A) {
|
|
4773
4773
|
const K = L(r.touchedFields, v);
|
|
4774
|
-
K || (Ee(r.touchedFields, v, A), ie.touchedFields = r.touchedFields,
|
|
4774
|
+
K || (Ee(r.touchedFields, v, A), ie.touchedFields = r.touchedFields, M = M || (_.touchedFields || h.touchedFields) && K !== A);
|
|
4775
4775
|
}
|
|
4776
|
-
|
|
4776
|
+
M && D && c.state.next(ie);
|
|
4777
4777
|
}
|
|
4778
|
-
return
|
|
4778
|
+
return M ? ie : {};
|
|
4779
4779
|
}, R = (v, T, A, V) => {
|
|
4780
|
-
const D = L(r.errors, v),
|
|
4781
|
-
if (e.delayError && A ? (l = g(() => b(v, A)), l(e.delayError)) : (clearTimeout(d), l = null, A ? Ee(r.errors, v, A) : Ae(r.errors, v)), (A ? !
|
|
4782
|
-
const W = Y(I(I({}, V),
|
|
4780
|
+
const D = L(r.errors, v), M = (_.isValid || h.isValid) && Xe(T) && r.isValid !== T;
|
|
4781
|
+
if (e.delayError && A ? (l = g(() => b(v, A)), l(e.delayError)) : (clearTimeout(d), l = null, A ? Ee(r.errors, v, A) : Ae(r.errors, v)), (A ? !Ut(D, A) : D) || !Ye(V) || M) {
|
|
4782
|
+
const W = Y(I(I({}, V), M && Xe(T) ? { isValid: T } : {}), {
|
|
4783
4783
|
errors: r.errors,
|
|
4784
4784
|
name: v
|
|
4785
4785
|
});
|
|
4786
4786
|
r = I(I({}, r), W), c.state.next(W);
|
|
4787
4787
|
}
|
|
4788
|
-
},
|
|
4788
|
+
}, F = (v) => P(null, null, function* () {
|
|
4789
4789
|
m(v, !0);
|
|
4790
4790
|
const T = yield e.resolver(o, e.context, yu(v || a.mount, n, e.criteriaMode, e.shouldUseNativeValidation));
|
|
4791
4791
|
return m(v), T;
|
|
4792
|
-
}), pe = (v) =>
|
|
4793
|
-
const { errors: T } = yield
|
|
4792
|
+
}), pe = (v) => P(null, null, function* () {
|
|
4793
|
+
const { errors: T } = yield F(v);
|
|
4794
4794
|
if (v)
|
|
4795
4795
|
for (const A of v) {
|
|
4796
4796
|
const V = L(T, A);
|
|
@@ -4799,13 +4799,13 @@ function Au(t = {}) {
|
|
|
4799
4799
|
else
|
|
4800
4800
|
r.errors = T;
|
|
4801
4801
|
return T;
|
|
4802
|
-
}), _e = (V, D, ...
|
|
4802
|
+
}), _e = (V, D, ...M) => P(null, [V, D, ...M], function* (v, T, A = {
|
|
4803
4803
|
valid: !0
|
|
4804
4804
|
}) {
|
|
4805
4805
|
for (const ie in v) {
|
|
4806
4806
|
const K = v[ie];
|
|
4807
4807
|
if (K) {
|
|
4808
|
-
const W = K, { _f: ge } = W, Fe =
|
|
4808
|
+
const W = K, { _f: ge } = W, Fe = Xt(W, ["_f"]);
|
|
4809
4809
|
if (ge) {
|
|
4810
4810
|
const Z = a.array.has(ge.name), se = K._f && bu(K._f);
|
|
4811
4811
|
se && _.validatingFields && m([ge.name], !0);
|
|
@@ -4821,17 +4821,17 @@ function Au(t = {}) {
|
|
|
4821
4821
|
}), ee = () => {
|
|
4822
4822
|
for (const v of a.unMount) {
|
|
4823
4823
|
const T = L(n, v);
|
|
4824
|
-
T && (T._f.refs ? T._f.refs.every((A) => !
|
|
4824
|
+
T && (T._f.refs ? T._f.refs.every((A) => !Mi(A)) : !Mi(T._f.ref)) && $e(v);
|
|
4825
4825
|
}
|
|
4826
4826
|
a.unMount = /* @__PURE__ */ new Set();
|
|
4827
|
-
}, Q = (v, T) => !e.disabled && (v && T && Ee(o, v, T), !
|
|
4827
|
+
}, Q = (v, T) => !e.disabled && (v && T && Ee(o, v, T), !Ut(U(), i)), H = (v, T, A) => Qa(v, a, I({}, s.mount ? o : Ie(T) ? i : Qe(v) ? { [v]: T } : T), A, T), J = (v) => To(L(s.mount ? o : i, v, e.shouldUnregister ? L(i, v, []) : [])), de = (v, T, A = {}) => {
|
|
4828
4828
|
const V = L(n, v);
|
|
4829
4829
|
let D = T;
|
|
4830
4830
|
if (V) {
|
|
4831
|
-
const
|
|
4832
|
-
|
|
4831
|
+
const M = V._f;
|
|
4832
|
+
M && (!M.disabled && Ee(o, v, ol(T, M)), D = qn(M.ref) && qe(T) ? "" : T, rl(M.ref) ? [...M.ref.options].forEach((W) => W.selected = D.includes(W.value)) : M.refs ? Xr(M.ref) ? M.refs.forEach((W) => {
|
|
4833
4833
|
(!W.defaultChecked || !W.disabled) && (Array.isArray(D) ? W.checked = !!D.find((ie) => ie === W.value) : W.checked = D === W.value || !!D);
|
|
4834
|
-
}) :
|
|
4834
|
+
}) : M.refs.forEach((W) => W.checked = W.value === D) : Ao(M.ref) ? M.ref.value = "" : (M.ref.value = D, M.ref.type || c.state.next({
|
|
4835
4835
|
name: v,
|
|
4836
4836
|
values: De(o)
|
|
4837
4837
|
})));
|
|
@@ -4841,32 +4841,32 @@ function Au(t = {}) {
|
|
|
4841
4841
|
for (const V in T) {
|
|
4842
4842
|
if (!T.hasOwnProperty(V))
|
|
4843
4843
|
return;
|
|
4844
|
-
const D = T[V],
|
|
4845
|
-
(a.array.has(v) || ke(D) || W && !W._f) && !sr(D) ? ue(
|
|
4844
|
+
const D = T[V], M = v + "." + V, W = L(n, M);
|
|
4845
|
+
(a.array.has(v) || ke(D) || W && !W._f) && !sr(D) ? ue(M, D, A) : de(M, D, A);
|
|
4846
4846
|
}
|
|
4847
4847
|
}, we = (v, T, A = {}) => {
|
|
4848
|
-
const V = L(n, v), D = a.array.has(v),
|
|
4849
|
-
Ee(o, v,
|
|
4848
|
+
const V = L(n, v), D = a.array.has(v), M = De(T);
|
|
4849
|
+
Ee(o, v, M), D ? (c.array.next({
|
|
4850
4850
|
name: v,
|
|
4851
4851
|
values: De(o)
|
|
4852
4852
|
}), (_.isDirty || _.dirtyFields || h.isDirty || h.dirtyFields) && A.shouldDirty && c.state.next({
|
|
4853
4853
|
name: v,
|
|
4854
4854
|
dirtyFields: mr(i, o),
|
|
4855
|
-
isDirty: Q(v,
|
|
4856
|
-
})) : V && !V._f && !qe(
|
|
4855
|
+
isDirty: Q(v, M)
|
|
4856
|
+
})) : V && !V._f && !qe(M) ? ue(v, M, A) : de(v, M, A), Ps(v, a) && c.state.next(Y(I({}, r), { name: v })), c.state.next({
|
|
4857
4857
|
name: s.mount ? v : void 0,
|
|
4858
4858
|
values: De(o)
|
|
4859
4859
|
});
|
|
4860
|
-
}, ve = (v) =>
|
|
4860
|
+
}, ve = (v) => P(null, null, function* () {
|
|
4861
4861
|
s.mount = !0;
|
|
4862
4862
|
const T = v.target;
|
|
4863
4863
|
let A = T.name, V = !0;
|
|
4864
|
-
const D = L(n, A),
|
|
4865
|
-
V = Number.isNaN(K) || sr(K) && isNaN(K.getTime()) ||
|
|
4864
|
+
const D = L(n, A), M = (K) => {
|
|
4865
|
+
V = Number.isNaN(K) || sr(K) && isNaN(K.getTime()) || Ut(K, L(o, A, K));
|
|
4866
4866
|
}, W = Ds(e.mode), ie = Ds(e.reValidateMode);
|
|
4867
4867
|
if (D) {
|
|
4868
4868
|
let K, ge;
|
|
4869
|
-
const Fe = T.type ? Ns(D._f) : Za(v), Z = v.type === Gn.BLUR || v.type === Gn.FOCUS_OUT, se = !Cu(D._f) && !e.resolver && !L(r.errors, A) && !D._f.deps || Tu(Z, L(r.touchedFields, A), r.isSubmitted, ie, W), j =
|
|
4869
|
+
const Fe = T.type ? Ns(D._f) : Za(v), Z = v.type === Gn.BLUR || v.type === Gn.FOCUS_OUT, se = !Cu(D._f) && !e.resolver && !L(r.errors, A) && !D._f.deps || Tu(Z, L(r.touchedFields, A), r.isSubmitted, ie, W), j = Ps(A, a, Z);
|
|
4870
4870
|
Ee(o, A, Fe), Z ? (!T || !T.readOnly) && (D._f.onBlur && D._f.onBlur(v), l && l(0)) : D._f.onChange && D._f.onChange(v);
|
|
4871
4871
|
const me = N(A, Fe, Z), Be = !Ye(me) || j;
|
|
4872
4872
|
if (!Z && c.state.next({
|
|
@@ -4876,32 +4876,32 @@ function Au(t = {}) {
|
|
|
4876
4876
|
}), se)
|
|
4877
4877
|
return (_.isValid || h.isValid) && (e.mode === "onBlur" ? Z && f() : Z || f()), Be && c.state.next(I({ name: A }, j ? {} : me));
|
|
4878
4878
|
if (!Z && j && c.state.next(I({}, r)), e.resolver) {
|
|
4879
|
-
const { errors: Oe } = yield
|
|
4880
|
-
if (
|
|
4879
|
+
const { errors: Oe } = yield F([A]);
|
|
4880
|
+
if (M(Fe), V) {
|
|
4881
4881
|
const fe = Fs(r.errors, n, A), G = Fs(Oe, n, fe.name || A);
|
|
4882
4882
|
K = G.error, A = G.name, ge = Ye(Oe);
|
|
4883
4883
|
}
|
|
4884
4884
|
} else
|
|
4885
|
-
m([A], !0), K = (yield Ls(D, a.disabled, o, y, e.shouldUseNativeValidation))[A], m([A]),
|
|
4885
|
+
m([A], !0), K = (yield Ls(D, a.disabled, o, y, e.shouldUseNativeValidation))[A], m([A]), M(Fe), V && (K ? ge = !1 : (_.isValid || h.isValid) && (ge = yield _e(n, !0)));
|
|
4886
4886
|
V && (D._f.deps && (!Array.isArray(D._f.deps) || D._f.deps.length > 0) && z(D._f.deps), R(A, ge, K, me));
|
|
4887
4887
|
}
|
|
4888
4888
|
}), te = (v, T) => {
|
|
4889
4889
|
if (L(r.errors, T) && v.focus)
|
|
4890
4890
|
return v.focus(), 1;
|
|
4891
|
-
}, z = (A, ...V) =>
|
|
4892
|
-
let D,
|
|
4891
|
+
}, z = (A, ...V) => P(null, [A, ...V], function* (v, T = {}) {
|
|
4892
|
+
let D, M;
|
|
4893
4893
|
const W = Vr(v);
|
|
4894
4894
|
if (e.resolver) {
|
|
4895
4895
|
const ie = yield pe(Ie(v) ? v : W);
|
|
4896
|
-
D = Ye(ie),
|
|
4897
|
-
} else v ? (
|
|
4896
|
+
D = Ye(ie), M = v ? !W.some((K) => L(ie, K)) : D;
|
|
4897
|
+
} else v ? (M = (yield Promise.all(W.map((ie) => P(null, null, function* () {
|
|
4898
4898
|
const K = L(n, ie);
|
|
4899
4899
|
return yield _e(K && K._f ? { [ie]: K } : K);
|
|
4900
|
-
})))).every(Boolean), !(!
|
|
4900
|
+
})))).every(Boolean), !(!M && !r.isValid) && f()) : M = D = yield _e(n);
|
|
4901
4901
|
return c.state.next(Y(I(I({}, !Qe(v) || (_.isValid || h.isValid) && D !== r.isValid ? {} : { name: v }), e.resolver || !v ? { isValid: D } : {}), {
|
|
4902
4902
|
errors: r.errors
|
|
4903
|
-
})), T.shouldFocus && !
|
|
4904
|
-
}),
|
|
4903
|
+
})), T.shouldFocus && !M && $r(n, te, v ? W : a.mount), M;
|
|
4904
|
+
}), U = (v, T) => {
|
|
4905
4905
|
let A = I({}, s.mount ? o : i);
|
|
4906
4906
|
return T && (A = tl(T.dirtyFields ? r.dirtyFields : r.touchedFields, A)), Ie(v) ? A : Qe(v) ? L(A, v) : v.map((V) => L(A, V));
|
|
4907
4907
|
}, q = (v, T) => ({
|
|
@@ -4915,7 +4915,7 @@ function Au(t = {}) {
|
|
|
4915
4915
|
errors: v ? r.errors : {}
|
|
4916
4916
|
});
|
|
4917
4917
|
}, Se = (v, T, A) => {
|
|
4918
|
-
const V = (L(n, v, { _f: {} })._f || {}).ref, ge = L(r.errors, v) || {}, { ref:
|
|
4918
|
+
const V = (L(n, v, { _f: {} })._f || {}).ref, ge = L(r.errors, v) || {}, { ref: M, message: W, type: ie } = ge, K = Xt(ge, ["ref", "message", "type"]);
|
|
4919
4919
|
Ee(r.errors, v, Y(I(I({}, K), T), {
|
|
4920
4920
|
ref: V
|
|
4921
4921
|
})), c.state.next({
|
|
@@ -4923,11 +4923,11 @@ function Au(t = {}) {
|
|
|
4923
4923
|
errors: r.errors,
|
|
4924
4924
|
isValid: !1
|
|
4925
4925
|
}), A && A.shouldFocus && V && V.focus && V.focus();
|
|
4926
|
-
}, ne = (v, T) =>
|
|
4926
|
+
}, ne = (v, T) => ut(v) ? c.state.subscribe({
|
|
4927
4927
|
next: (A) => "values" in A && v(H(void 0, T), A)
|
|
4928
4928
|
}) : H(v, T, !0), $ = (v) => c.state.subscribe({
|
|
4929
4929
|
next: (T) => {
|
|
4930
|
-
Eu(v.name, T.name, v.exact) && Su(T, v.formState || _,
|
|
4930
|
+
Eu(v.name, T.name, v.exact) && Su(T, v.formState || _, Ht, v.reRenderRoot) && v.callback(Y(I(I({
|
|
4931
4931
|
values: I({}, o)
|
|
4932
4932
|
}, r), T), {
|
|
4933
4933
|
defaultValues: i
|
|
@@ -4968,52 +4968,52 @@ function Au(t = {}) {
|
|
|
4968
4968
|
ref: (D) => {
|
|
4969
4969
|
if (D) {
|
|
4970
4970
|
it(v, T), A = L(n, v);
|
|
4971
|
-
const
|
|
4972
|
-
if (W ? ie.find((K) => K ===
|
|
4971
|
+
const M = Ie(D.value) && D.querySelectorAll && D.querySelectorAll("input,select,textarea")[0] || D, W = mu(M), ie = A._f.refs || [];
|
|
4972
|
+
if (W ? ie.find((K) => K === M) : M === A._f.ref)
|
|
4973
4973
|
return;
|
|
4974
4974
|
Ee(n, v, {
|
|
4975
4975
|
_f: I(I({}, A._f), W ? {
|
|
4976
4976
|
refs: [
|
|
4977
|
-
...ie.filter(
|
|
4978
|
-
|
|
4977
|
+
...ie.filter(Mi),
|
|
4978
|
+
M,
|
|
4979
4979
|
...Array.isArray(L(i, v)) ? [{}] : []
|
|
4980
4980
|
],
|
|
4981
|
-
ref: { type:
|
|
4982
|
-
} : { ref:
|
|
4983
|
-
}), O(v, !1, void 0,
|
|
4981
|
+
ref: { type: M.type, name: v }
|
|
4982
|
+
} : { ref: M })
|
|
4983
|
+
}), O(v, !1, void 0, M);
|
|
4984
4984
|
} else
|
|
4985
4985
|
A = L(n, v, {}), A._f && (A._f.mount = !1), (e.shouldUnregister || T.shouldUnregister) && !(Ya(a.array, v) && s.action) && a.unMount.add(v);
|
|
4986
4986
|
}
|
|
4987
4987
|
});
|
|
4988
|
-
}, Je = () => e.shouldFocusError && $r(n, te, a.mount),
|
|
4988
|
+
}, Je = () => e.shouldFocusError && $r(n, te, a.mount), vt = (v) => {
|
|
4989
4989
|
Xe(v) && (c.state.next({ disabled: v }), $r(n, (T, A) => {
|
|
4990
4990
|
const V = L(n, A);
|
|
4991
4991
|
V && (T.disabled = V._f.disabled || v, Array.isArray(V._f.refs) && V._f.refs.forEach((D) => {
|
|
4992
4992
|
D.disabled = V._f.disabled || v;
|
|
4993
4993
|
}));
|
|
4994
4994
|
}, 0, !1));
|
|
4995
|
-
}, ot = (v, T) => (A) =>
|
|
4995
|
+
}, ot = (v, T) => (A) => P(null, null, function* () {
|
|
4996
4996
|
let V;
|
|
4997
4997
|
A && (A.preventDefault && A.preventDefault(), A.persist && A.persist());
|
|
4998
4998
|
let D = De(o);
|
|
4999
4999
|
if (c.state.next({
|
|
5000
5000
|
isSubmitting: !0
|
|
5001
5001
|
}), e.resolver) {
|
|
5002
|
-
const { errors:
|
|
5003
|
-
r.errors =
|
|
5002
|
+
const { errors: M, values: W } = yield F();
|
|
5003
|
+
r.errors = M, D = De(W);
|
|
5004
5004
|
} else
|
|
5005
5005
|
yield _e(n);
|
|
5006
5006
|
if (a.disabled.size)
|
|
5007
|
-
for (const
|
|
5008
|
-
Ae(D,
|
|
5007
|
+
for (const M of a.disabled)
|
|
5008
|
+
Ae(D, M);
|
|
5009
5009
|
if (Ae(r.errors, "root"), Ye(r.errors)) {
|
|
5010
5010
|
c.state.next({
|
|
5011
5011
|
errors: {}
|
|
5012
5012
|
});
|
|
5013
5013
|
try {
|
|
5014
5014
|
yield v(D, A);
|
|
5015
|
-
} catch (
|
|
5016
|
-
V =
|
|
5015
|
+
} catch (M) {
|
|
5016
|
+
V = M;
|
|
5017
5017
|
}
|
|
5018
5018
|
} else
|
|
5019
5019
|
T && (yield T(I({}, r.errors), A)), Je(), setTimeout(Je);
|
|
@@ -5025,10 +5025,10 @@ function Au(t = {}) {
|
|
|
5025
5025
|
errors: r.errors
|
|
5026
5026
|
}), V)
|
|
5027
5027
|
throw V;
|
|
5028
|
-
}),
|
|
5028
|
+
}), Bt = (v, T = {}) => {
|
|
5029
5029
|
L(n, v) && (Ie(T.defaultValue) ? we(v, De(L(i, v))) : (we(v, T.defaultValue), Ee(i, v, De(T.defaultValue))), T.keepTouched || Ae(r.touchedFields, v), T.keepDirty || (Ae(r.dirtyFields, v), r.isDirty = T.defaultValue ? Q(v, De(L(i, v))) : Q()), T.keepError || (Ae(r.errors, v), _.isValid && f()), c.state.next(I({}, r)));
|
|
5030
|
-
},
|
|
5031
|
-
const A = v ? De(v) : i, V = De(A), D = Ye(v),
|
|
5030
|
+
}, yt = (v, T = {}) => {
|
|
5031
|
+
const A = v ? De(v) : i, V = De(A), D = Ye(v), M = D ? i : V;
|
|
5032
5032
|
if (T.keepDefaultValues || (i = A), !T.keepValues) {
|
|
5033
5033
|
if (T.keepDirtyValues) {
|
|
5034
5034
|
const W = /* @__PURE__ */ new Set([
|
|
@@ -5036,7 +5036,7 @@ function Au(t = {}) {
|
|
|
5036
5036
|
...Object.keys(mr(i, o))
|
|
5037
5037
|
]);
|
|
5038
5038
|
for (const ie of Array.from(W))
|
|
5039
|
-
L(r.dirtyFields, ie) ? Ee(
|
|
5039
|
+
L(r.dirtyFields, ie) ? Ee(M, ie, L(o, ie)) : we(ie, L(M, ie));
|
|
5040
5040
|
} else {
|
|
5041
5041
|
if (Eo && Ie(v))
|
|
5042
5042
|
for (const W of a.mount) {
|
|
@@ -5054,14 +5054,14 @@ function Au(t = {}) {
|
|
|
5054
5054
|
}
|
|
5055
5055
|
if (T.keepFieldsRef)
|
|
5056
5056
|
for (const W of a.mount)
|
|
5057
|
-
we(W, L(
|
|
5057
|
+
we(W, L(M, W));
|
|
5058
5058
|
else
|
|
5059
5059
|
n = {};
|
|
5060
5060
|
}
|
|
5061
|
-
o = e.shouldUnregister ? T.keepDefaultValues ? De(i) : {} : De(
|
|
5062
|
-
values: I({},
|
|
5061
|
+
o = e.shouldUnregister ? T.keepDefaultValues ? De(i) : {} : De(M), c.array.next({
|
|
5062
|
+
values: I({}, M)
|
|
5063
5063
|
}), c.state.next({
|
|
5064
|
-
values: I({},
|
|
5064
|
+
values: I({}, M)
|
|
5065
5065
|
});
|
|
5066
5066
|
}
|
|
5067
5067
|
a = {
|
|
@@ -5074,7 +5074,7 @@ function Au(t = {}) {
|
|
|
5074
5074
|
focus: ""
|
|
5075
5075
|
}, s.mount = !_.isValid || !!T.keepIsValid || !!T.keepDirtyValues, s.watch = !!e.shouldUnregister, c.state.next({
|
|
5076
5076
|
submitCount: T.keepSubmitCount ? r.submitCount : 0,
|
|
5077
|
-
isDirty: D ? !1 : T.keepDirty ? r.isDirty : !!(T.keepDefaultValues && !
|
|
5077
|
+
isDirty: D ? !1 : T.keepDirty ? r.isDirty : !!(T.keepDefaultValues && !Ut(v, i)),
|
|
5078
5078
|
isSubmitted: T.keepIsSubmitted ? r.isSubmitted : !1,
|
|
5079
5079
|
dirtyFields: D ? {} : T.keepDirtyValues ? T.keepDefaultValues && o ? mr(i, o) : r.dirtyFields : T.keepDefaultValues && v ? mr(i, v) : T.keepDirty ? r.dirtyFields : {},
|
|
5080
5080
|
touchedFields: T.keepTouched ? r.touchedFields : {},
|
|
@@ -5083,13 +5083,13 @@ function Au(t = {}) {
|
|
|
5083
5083
|
isSubmitting: !1,
|
|
5084
5084
|
defaultValues: i
|
|
5085
5085
|
});
|
|
5086
|
-
},
|
|
5086
|
+
}, ht = (v, T) => yt(ut(v) ? v(o) : v, T), bt = (v, T = {}) => {
|
|
5087
5087
|
const A = L(n, v), V = A && A._f;
|
|
5088
5088
|
if (V) {
|
|
5089
5089
|
const D = V.refs ? V.refs[0] : V.ref;
|
|
5090
|
-
D.focus && (D.focus(), T.shouldSelect &&
|
|
5090
|
+
D.focus && (D.focus(), T.shouldSelect && ut(D.select) && D.select());
|
|
5091
5091
|
}
|
|
5092
|
-
},
|
|
5092
|
+
}, Ht = (v) => {
|
|
5093
5093
|
r = I(I({}, r), v);
|
|
5094
5094
|
}, et = {
|
|
5095
5095
|
control: {
|
|
@@ -5099,7 +5099,7 @@ function Au(t = {}) {
|
|
|
5099
5099
|
handleSubmit: ot,
|
|
5100
5100
|
setError: Se,
|
|
5101
5101
|
_subscribe: $,
|
|
5102
|
-
_runSchema:
|
|
5102
|
+
_runSchema: F,
|
|
5103
5103
|
_focusError: Je,
|
|
5104
5104
|
_getWatch: H,
|
|
5105
5105
|
_getDirty: Q,
|
|
@@ -5108,14 +5108,14 @@ function Au(t = {}) {
|
|
|
5108
5108
|
_setDisabledField: je,
|
|
5109
5109
|
_setErrors: C,
|
|
5110
5110
|
_getFieldArray: J,
|
|
5111
|
-
_reset:
|
|
5112
|
-
_resetDefaultValues: () =>
|
|
5113
|
-
|
|
5111
|
+
_reset: yt,
|
|
5112
|
+
_resetDefaultValues: () => ut(e.defaultValues) && e.defaultValues().then((v) => {
|
|
5113
|
+
ht(v, e.resetOptions), c.state.next({
|
|
5114
5114
|
isLoading: !1
|
|
5115
5115
|
});
|
|
5116
5116
|
}),
|
|
5117
5117
|
_removeUnmounted: ee,
|
|
5118
|
-
_disableForm:
|
|
5118
|
+
_disableForm: vt,
|
|
5119
5119
|
_subjects: c,
|
|
5120
5120
|
_proxyFormState: _,
|
|
5121
5121
|
get _fields() {
|
|
@@ -5155,13 +5155,13 @@ function Au(t = {}) {
|
|
|
5155
5155
|
handleSubmit: ot,
|
|
5156
5156
|
watch: ne,
|
|
5157
5157
|
setValue: we,
|
|
5158
|
-
getValues:
|
|
5159
|
-
reset:
|
|
5160
|
-
resetField:
|
|
5158
|
+
getValues: U,
|
|
5159
|
+
reset: ht,
|
|
5160
|
+
resetField: Bt,
|
|
5161
5161
|
clearErrors: re,
|
|
5162
5162
|
unregister: $e,
|
|
5163
5163
|
setError: Se,
|
|
5164
|
-
setFocus:
|
|
5164
|
+
setFocus: bt,
|
|
5165
5165
|
getFieldState: q
|
|
5166
5166
|
};
|
|
5167
5167
|
return Y(I({}, et), {
|
|
@@ -5172,7 +5172,7 @@ function Ru(t = {}) {
|
|
|
5172
5172
|
const e = ce.useRef(void 0), r = ce.useRef(void 0), [n, i] = ce.useState({
|
|
5173
5173
|
isDirty: !1,
|
|
5174
5174
|
isValidating: !1,
|
|
5175
|
-
isLoading:
|
|
5175
|
+
isLoading: ut(t.defaultValues),
|
|
5176
5176
|
isSubmitted: !1,
|
|
5177
5177
|
isSubmitting: !1,
|
|
5178
5178
|
isSubmitSuccessful: !1,
|
|
@@ -5184,15 +5184,15 @@ function Ru(t = {}) {
|
|
|
5184
5184
|
errors: t.errors || {},
|
|
5185
5185
|
disabled: t.disabled || !1,
|
|
5186
5186
|
isReady: !1,
|
|
5187
|
-
defaultValues:
|
|
5187
|
+
defaultValues: ut(t.defaultValues) ? void 0 : t.defaultValues
|
|
5188
5188
|
});
|
|
5189
5189
|
if (!e.current)
|
|
5190
5190
|
if (t.formControl)
|
|
5191
5191
|
e.current = Y(I({}, t.formControl), {
|
|
5192
5192
|
formState: n
|
|
5193
|
-
}), t.defaultValues && !
|
|
5193
|
+
}), t.defaultValues && !ut(t.defaultValues) && t.formControl.reset(t.defaultValues, t.resetOptions);
|
|
5194
5194
|
else {
|
|
5195
|
-
const s = Au(t), { formControl: a } = s, l =
|
|
5195
|
+
const s = Au(t), { formControl: a } = s, l = Xt(s, ["formControl"]);
|
|
5196
5196
|
e.current = Y(I({}, l), {
|
|
5197
5197
|
formState: n
|
|
5198
5198
|
});
|
|
@@ -5223,7 +5223,7 @@ function Ru(t = {}) {
|
|
|
5223
5223
|
});
|
|
5224
5224
|
}
|
|
5225
5225
|
}, [o, n.isDirty]), ce.useEffect(() => {
|
|
5226
|
-
t.values && !
|
|
5226
|
+
t.values && !Ut(t.values, r.current) ? (o._reset(t.values, I({
|
|
5227
5227
|
keepFieldsRef: !0
|
|
5228
5228
|
}, o._options.resetOptions)), r.current = t.values, i((a) => I({}, a))) : o._resetDefaultValues();
|
|
5229
5229
|
}, [o, t.values]), ce.useEffect(() => {
|
|
@@ -5253,7 +5253,7 @@ const Tr = (t, e) => {
|
|
|
5253
5253
|
transition: ".2s",
|
|
5254
5254
|
flexShrink: 0
|
|
5255
5255
|
},
|
|
5256
|
-
children: e ? /* @__PURE__ */ u(
|
|
5256
|
+
children: e ? /* @__PURE__ */ u(Pe, I({}, e)) : /* @__PURE__ */ u(Pe, { imageId: "chevronDown" })
|
|
5257
5257
|
}
|
|
5258
5258
|
), Nu = ({
|
|
5259
5259
|
isChosen: t,
|
|
@@ -5297,7 +5297,7 @@ const Tr = (t, e) => {
|
|
|
5297
5297
|
display: "flex",
|
|
5298
5298
|
flexShrink: 0
|
|
5299
5299
|
},
|
|
5300
|
-
children: /* @__PURE__ */ u(
|
|
5300
|
+
children: /* @__PURE__ */ u(Pe, I({}, s))
|
|
5301
5301
|
}
|
|
5302
5302
|
)
|
|
5303
5303
|
]
|
|
@@ -5319,26 +5319,26 @@ const Tr = (t, e) => {
|
|
|
5319
5319
|
pickerLayout: h
|
|
5320
5320
|
}) => {
|
|
5321
5321
|
var H, J, de, ue, we, ve, te, z;
|
|
5322
|
-
const [c, y] =
|
|
5323
|
-
|
|
5322
|
+
const [c, y] = Me(!1), [g, f] = Me(i), [m, S] = Me("down"), [b, C] = Me(null), O = nt(null), N = nt(null);
|
|
5323
|
+
Zt(() => {
|
|
5324
5324
|
var ne, $, X;
|
|
5325
5325
|
if (!c) return;
|
|
5326
|
-
const
|
|
5327
|
-
if (!
|
|
5328
|
-
const Se =
|
|
5326
|
+
const U = (ne = O.current) == null ? void 0 : ne.getBoundingClientRect(), q = ($ = N.current) == null ? void 0 : $.getBoundingClientRect(), re = (X = d.current) == null ? void 0 : X.getBoundingClientRect();
|
|
5327
|
+
if (!U || !q || !re) return;
|
|
5328
|
+
const Se = U.bottom + q.height < re.bottom;
|
|
5329
5329
|
S(Se ? "down" : "up");
|
|
5330
5330
|
}, [c]), rt(() => {
|
|
5331
5331
|
o(g);
|
|
5332
5332
|
}, [g]);
|
|
5333
|
-
const R = (
|
|
5333
|
+
const R = (U) => (q) => {
|
|
5334
5334
|
var re;
|
|
5335
|
-
q.stopPropagation(), (q.type === "touchend" || ((re = q.nativeEvent) == null ? void 0 : re.pointerType) === "touch") && C(null), a && y(!1), f((Se) => r ? Se.some(($) => $.value ===
|
|
5336
|
-
},
|
|
5335
|
+
q.stopPropagation(), (q.type === "touchend" || ((re = q.nativeEvent) == null ? void 0 : re.pointerType) === "touch") && C(null), a && y(!1), f((Se) => r ? Se.some(($) => $.value === U.value) ? Se.filter(($) => $.value !== U.value) : [...Se, U] : [U]);
|
|
5336
|
+
}, F = () => {
|
|
5337
5337
|
l && l(), y(!1);
|
|
5338
|
-
}, pe = (
|
|
5339
|
-
q.stopPropagation(), f((re) => re.filter((Se) => Se.value !==
|
|
5340
|
-
}, _e = (
|
|
5341
|
-
|
|
5338
|
+
}, pe = (U) => (q) => {
|
|
5339
|
+
q.stopPropagation(), f((re) => re.filter((Se) => Se.value !== U.value));
|
|
5340
|
+
}, _e = (U) => {
|
|
5341
|
+
U.stopPropagation(), f([]);
|
|
5342
5342
|
}, ee = (H = le(_ == null ? void 0 : _.borderColor)) != null ? H : "#D9D9D9", Q = (J = le(_ == null ? void 0 : _.highlightBorderColor)) != null ? J : "#7E57C5";
|
|
5343
5343
|
return /* @__PURE__ */ u("div", { "data-ui": "gui-custom-select", ref: O, children: /* @__PURE__ */ u(
|
|
5344
5344
|
"div",
|
|
@@ -5360,7 +5360,7 @@ const Tr = (t, e) => {
|
|
|
5360
5360
|
gap: 10
|
|
5361
5361
|
},
|
|
5362
5362
|
tabIndex: 0,
|
|
5363
|
-
onBlur:
|
|
5363
|
+
onBlur: F,
|
|
5364
5364
|
onClick: () => y(!c),
|
|
5365
5365
|
children: [
|
|
5366
5366
|
/* @__PURE__ */ u(
|
|
@@ -5386,7 +5386,7 @@ const Tr = (t, e) => {
|
|
|
5386
5386
|
children: s
|
|
5387
5387
|
}
|
|
5388
5388
|
),
|
|
5389
|
-
g.map((
|
|
5389
|
+
g.map((U) => {
|
|
5390
5390
|
var q, re, Se, ne, $;
|
|
5391
5391
|
if (r) {
|
|
5392
5392
|
const X = _ == null ? void 0 : _.chip;
|
|
@@ -5407,7 +5407,7 @@ const Tr = (t, e) => {
|
|
|
5407
5407
|
Ne,
|
|
5408
5408
|
Y(I({}, X == null ? void 0 : X.title), {
|
|
5409
5409
|
fontSize: (ne = (Se = X == null ? void 0 : X.title) == null ? void 0 : Se.fontSize) != null ? ne : 13,
|
|
5410
|
-
text:
|
|
5410
|
+
text: U.label
|
|
5411
5411
|
})
|
|
5412
5412
|
),
|
|
5413
5413
|
/* @__PURE__ */ u(
|
|
@@ -5420,13 +5420,13 @@ const Tr = (t, e) => {
|
|
|
5420
5420
|
width: "16px",
|
|
5421
5421
|
height: "16px"
|
|
5422
5422
|
},
|
|
5423
|
-
onClick: pe(
|
|
5424
|
-
children: X != null && X.removeImage ? /* @__PURE__ */ u(
|
|
5423
|
+
onClick: pe(U),
|
|
5424
|
+
children: X != null && X.removeImage ? /* @__PURE__ */ u(Pe, I({}, X.removeImage)) : /* @__PURE__ */ u(Pe, { imageId: "cross" })
|
|
5425
5425
|
}
|
|
5426
5426
|
)
|
|
5427
5427
|
]
|
|
5428
5428
|
},
|
|
5429
|
-
|
|
5429
|
+
U.value
|
|
5430
5430
|
);
|
|
5431
5431
|
} else {
|
|
5432
5432
|
const X = _ == null ? void 0 : _.title;
|
|
@@ -5437,9 +5437,9 @@ const Tr = (t, e) => {
|
|
|
5437
5437
|
display: "flex",
|
|
5438
5438
|
userSelect: "none"
|
|
5439
5439
|
},
|
|
5440
|
-
children: /* @__PURE__ */ u(Ne, Y(I({}, X), { fontSize: ($ = X == null ? void 0 : X.fontSize) != null ? $ : 13, text:
|
|
5440
|
+
children: /* @__PURE__ */ u(Ne, Y(I({}, X), { fontSize: ($ = X == null ? void 0 : X.fontSize) != null ? $ : 13, text: U.label }))
|
|
5441
5441
|
},
|
|
5442
|
-
|
|
5442
|
+
U.value
|
|
5443
5443
|
);
|
|
5444
5444
|
}
|
|
5445
5445
|
})
|
|
@@ -5458,7 +5458,7 @@ const Tr = (t, e) => {
|
|
|
5458
5458
|
zIndex: 1
|
|
5459
5459
|
},
|
|
5460
5460
|
onClick: _e,
|
|
5461
|
-
children: _ != null && _.clearButton ? /* @__PURE__ */ u(
|
|
5461
|
+
children: _ != null && _.clearButton ? /* @__PURE__ */ u(Pe, I({}, _.clearButton)) : /* @__PURE__ */ u(Pe, { imageId: "cross" })
|
|
5462
5462
|
}
|
|
5463
5463
|
) : null,
|
|
5464
5464
|
n ? /* @__PURE__ */ u(
|
|
@@ -5498,20 +5498,20 @@ const Tr = (t, e) => {
|
|
|
5498
5498
|
gap: "2px",
|
|
5499
5499
|
cursor: "default"
|
|
5500
5500
|
}),
|
|
5501
|
-
onClick: (
|
|
5502
|
-
children: e.map((
|
|
5503
|
-
const q = g.some((re) => re.value ===
|
|
5501
|
+
onClick: (U) => U.stopPropagation(),
|
|
5502
|
+
children: e.map((U) => {
|
|
5503
|
+
const q = g.some((re) => re.value === U.value);
|
|
5504
5504
|
return /* @__PURE__ */ u(
|
|
5505
5505
|
Nu,
|
|
5506
5506
|
{
|
|
5507
5507
|
isChosen: q,
|
|
5508
|
-
option:
|
|
5508
|
+
option: U,
|
|
5509
5509
|
onOptionClickCallback: R,
|
|
5510
|
-
isHovered: b ===
|
|
5511
|
-
onHover: () => C(
|
|
5510
|
+
isHovered: b === U.value,
|
|
5511
|
+
onHover: () => C(U.value),
|
|
5512
5512
|
onHoverEnd: () => C(null)
|
|
5513
5513
|
},
|
|
5514
|
-
|
|
5514
|
+
U.label
|
|
5515
5515
|
);
|
|
5516
5516
|
})
|
|
5517
5517
|
}
|
|
@@ -5578,7 +5578,7 @@ const Tr = (t, e) => {
|
|
|
5578
5578
|
]
|
|
5579
5579
|
}
|
|
5580
5580
|
);
|
|
5581
|
-
},
|
|
5581
|
+
}, Mu = ({
|
|
5582
5582
|
control: t,
|
|
5583
5583
|
layout: e,
|
|
5584
5584
|
dataSourceQuestion: r,
|
|
@@ -5641,21 +5641,21 @@ const Tr = (t, e) => {
|
|
|
5641
5641
|
}
|
|
5642
5642
|
);
|
|
5643
5643
|
}, ll = () => {
|
|
5644
|
-
const [t, e] =
|
|
5644
|
+
const [t, e] = Me(!1);
|
|
5645
5645
|
return rt(() => {
|
|
5646
5646
|
const r = () => e(!0), n = () => e(!1);
|
|
5647
5647
|
return window.addEventListener("keydown", r), window.addEventListener("mousedown", n), () => {
|
|
5648
5648
|
window.removeEventListener("keydown", r), window.removeEventListener("mousedown", n);
|
|
5649
5649
|
};
|
|
5650
5650
|
}, []), t;
|
|
5651
|
-
},
|
|
5651
|
+
}, Pu = ({
|
|
5652
5652
|
option: t,
|
|
5653
5653
|
layout: e,
|
|
5654
5654
|
dataSourceQuestion: r,
|
|
5655
5655
|
register: n,
|
|
5656
5656
|
watch: i
|
|
5657
5657
|
}) => {
|
|
5658
|
-
const [o, s] =
|
|
5658
|
+
const [o, s] = Me(!1), a = ll(), l = String(r.id), _ = i(l) === String(t.id), h = e.option, c = e.optionSelected, y = {
|
|
5659
5659
|
backgroundColor: le(c.backgroundColor),
|
|
5660
5660
|
borderRadius: c.cornerRadius
|
|
5661
5661
|
}, g = {
|
|
@@ -5681,7 +5681,7 @@ const Tr = (t, e) => {
|
|
|
5681
5681
|
alignItems: "center",
|
|
5682
5682
|
alignContent: "center"
|
|
5683
5683
|
}, f),
|
|
5684
|
-
children: /* @__PURE__ */ u(
|
|
5684
|
+
children: /* @__PURE__ */ u(Pe, I({}, _ ? c.image : h.image))
|
|
5685
5685
|
}
|
|
5686
5686
|
),
|
|
5687
5687
|
/* @__PURE__ */ u(Ne, Y(I({}, _ ? c.title : h.title), { text: t.text })),
|
|
@@ -5740,7 +5740,7 @@ const Tr = (t, e) => {
|
|
|
5740
5740
|
}
|
|
5741
5741
|
),
|
|
5742
5742
|
n.options.map((i) => /* @__PURE__ */ u(
|
|
5743
|
-
|
|
5743
|
+
Pu,
|
|
5744
5744
|
{
|
|
5745
5745
|
register: e,
|
|
5746
5746
|
watch: r,
|
|
@@ -5759,7 +5759,7 @@ const Tr = (t, e) => {
|
|
|
5759
5759
|
register: n,
|
|
5760
5760
|
watch: i
|
|
5761
5761
|
}) => {
|
|
5762
|
-
const [o, s] =
|
|
5762
|
+
const [o, s] = Me(!1), a = ll(), l = String(r.id), _ = i(l) === String(t.id), h = e.option, c = e.optionSelected, y = {
|
|
5763
5763
|
borderRadius: h.cornerRadius,
|
|
5764
5764
|
background: le(h.backgroundColor),
|
|
5765
5765
|
borderColor: le(h.borderColor),
|
|
@@ -5992,7 +5992,7 @@ const Tr = (t, e) => {
|
|
|
5992
5992
|
]
|
|
5993
5993
|
}
|
|
5994
5994
|
);
|
|
5995
|
-
},
|
|
5995
|
+
}, Ft = class Ft extends Ce {
|
|
5996
5996
|
constructor({
|
|
5997
5997
|
errorCode: e,
|
|
5998
5998
|
message: r,
|
|
@@ -6003,18 +6003,18 @@ const Tr = (t, e) => {
|
|
|
6003
6003
|
super({
|
|
6004
6004
|
errorCode: e,
|
|
6005
6005
|
errorCodeKey: o,
|
|
6006
|
-
errorEnumName:
|
|
6007
|
-
module:
|
|
6006
|
+
errorEnumName: Ft.ERROR_ENUM_NAME,
|
|
6007
|
+
module: Ft.MODULE,
|
|
6008
6008
|
message: r,
|
|
6009
6009
|
underlyingError: n,
|
|
6010
6010
|
underlyingBaseError: i,
|
|
6011
|
-
domain:
|
|
6012
|
-
shortDomainCode:
|
|
6011
|
+
domain: Ft.ERROR_ENUM_NAME,
|
|
6012
|
+
shortDomainCode: Ft.SHORT_CODE
|
|
6013
6013
|
});
|
|
6014
6014
|
}
|
|
6015
6015
|
};
|
|
6016
|
-
|
|
6017
|
-
let zr =
|
|
6016
|
+
Ft.MODULE = zn, Ft.ERROR_ENUM_NAME = "GuiModuleError", Ft.SHORT_CODE = "GM";
|
|
6017
|
+
let zr = Ft;
|
|
6018
6018
|
const Wu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSource: o, properties: s, backgroundColor: a }) => {
|
|
6019
6019
|
const { perform: l } = dr(), d = s ? Cd(o.questions, s) : {}, _ = nt(null), {
|
|
6020
6020
|
register: h,
|
|
@@ -6027,7 +6027,7 @@ const Wu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
|
|
|
6027
6027
|
criteriaMode: "all",
|
|
6028
6028
|
defaultValues: d
|
|
6029
6029
|
});
|
|
6030
|
-
return /* @__PURE__ */ u(
|
|
6030
|
+
return /* @__PURE__ */ u(Yt, { header: t, footer: n, backgroundColor: a, children: /* @__PURE__ */ u(
|
|
6031
6031
|
"form",
|
|
6032
6032
|
{
|
|
6033
6033
|
onSubmit: c((b) => {
|
|
@@ -6084,7 +6084,7 @@ const Wu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
|
|
|
6084
6084
|
l(ee);
|
|
6085
6085
|
return;
|
|
6086
6086
|
}
|
|
6087
|
-
const
|
|
6087
|
+
const F = R == null ? void 0 : R.displayType, pe = b.id in y && ((_e = y[b.id]) == null ? void 0 : _e.types);
|
|
6088
6088
|
return (
|
|
6089
6089
|
/** Question */
|
|
6090
6090
|
/* @__PURE__ */ u(We, { children: [
|
|
@@ -6098,7 +6098,7 @@ const Wu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
|
|
|
6098
6098
|
validationBorderColor: R == null ? void 0 : R.validationBorderColor,
|
|
6099
6099
|
validationBorderWidth: R == null ? void 0 : R.validationBorderWidth,
|
|
6100
6100
|
children: [
|
|
6101
|
-
|
|
6101
|
+
F === hr.TEXT_EXPANDABLE && /* @__PURE__ */ u(
|
|
6102
6102
|
Hu,
|
|
6103
6103
|
{
|
|
6104
6104
|
layout: R,
|
|
@@ -6106,7 +6106,7 @@ const Wu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
|
|
|
6106
6106
|
register: h
|
|
6107
6107
|
}
|
|
6108
6108
|
),
|
|
6109
|
-
|
|
6109
|
+
F === hr.TEXT_SINGLE_LINE && /* @__PURE__ */ u(
|
|
6110
6110
|
Bu,
|
|
6111
6111
|
{
|
|
6112
6112
|
layout: R,
|
|
@@ -6114,7 +6114,7 @@ const Wu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
|
|
|
6114
6114
|
register: h
|
|
6115
6115
|
}
|
|
6116
6116
|
),
|
|
6117
|
-
|
|
6117
|
+
F === hr.SELECTOR_OPTIONS && /* @__PURE__ */ u(
|
|
6118
6118
|
Fu,
|
|
6119
6119
|
{
|
|
6120
6120
|
layout: R,
|
|
@@ -6123,7 +6123,7 @@ const Wu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
|
|
|
6123
6123
|
register: h
|
|
6124
6124
|
}
|
|
6125
6125
|
),
|
|
6126
|
-
|
|
6126
|
+
F === hr.SELECTOR_BUTTONS && /* @__PURE__ */ u(
|
|
6127
6127
|
Lu,
|
|
6128
6128
|
{
|
|
6129
6129
|
layout: R,
|
|
@@ -6132,7 +6132,7 @@ const Wu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
|
|
|
6132
6132
|
register: h
|
|
6133
6133
|
}
|
|
6134
6134
|
),
|
|
6135
|
-
|
|
6135
|
+
F === hr.SELECTOR_DROPDOWN && /* @__PURE__ */ u(
|
|
6136
6136
|
Du,
|
|
6137
6137
|
{
|
|
6138
6138
|
control: m,
|
|
@@ -6141,8 +6141,8 @@ const Wu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
|
|
|
6141
6141
|
parentElementRef: _
|
|
6142
6142
|
}
|
|
6143
6143
|
),
|
|
6144
|
-
|
|
6145
|
-
|
|
6144
|
+
F === hr.MULTI_SELECTOR_DROPDOWN && /* @__PURE__ */ u(
|
|
6145
|
+
Mu,
|
|
6146
6146
|
{
|
|
6147
6147
|
control: m,
|
|
6148
6148
|
layout: R,
|
|
@@ -6221,13 +6221,13 @@ const Wu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
|
|
|
6221
6221
|
selectionLimit: i
|
|
6222
6222
|
}) => {
|
|
6223
6223
|
var _, h;
|
|
6224
|
-
const { perform: o } = dr(), s = nt(null), a = typeof i == "number" && (i === 0 || i > 1), l = (c) =>
|
|
6224
|
+
const { perform: o } = dr(), s = nt(null), a = typeof i == "number" && (i === 0 || i > 1), l = (c) => P(null, null, function* () {
|
|
6225
6225
|
var g;
|
|
6226
6226
|
const y = Array.from((g = c.currentTarget.files) != null ? g : []);
|
|
6227
6227
|
if (y.length)
|
|
6228
6228
|
try {
|
|
6229
6229
|
const m = (yield Promise.allSettled(
|
|
6230
|
-
y.map((S) =>
|
|
6230
|
+
y.map((S) => P(null, null, function* () {
|
|
6231
6231
|
return {
|
|
6232
6232
|
content: yield za(S),
|
|
6233
6233
|
metadata: {
|
|
@@ -6253,7 +6253,7 @@ const Wu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
|
|
|
6253
6253
|
var c;
|
|
6254
6254
|
(c = s.current) == null || c.showPicker();
|
|
6255
6255
|
};
|
|
6256
|
-
return /* @__PURE__ */ u(
|
|
6256
|
+
return /* @__PURE__ */ u(Yt, { header: t, footer: e, backgroundColor: n, children: /* @__PURE__ */ u(We, { children: /* @__PURE__ */ u(
|
|
6257
6257
|
"div",
|
|
6258
6258
|
{
|
|
6259
6259
|
style: Y(I({}, Ku), {
|
|
@@ -6271,7 +6271,7 @@ const Wu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
|
|
|
6271
6271
|
onInput: l
|
|
6272
6272
|
})
|
|
6273
6273
|
),
|
|
6274
|
-
/* @__PURE__ */ u("button", { style: zu, onClick: d, children: /* @__PURE__ */ u(
|
|
6274
|
+
/* @__PURE__ */ u("button", { style: zu, onClick: d, children: /* @__PURE__ */ u(Pe, { imageId: (h = (_ = r == null ? void 0 : r[0]) == null ? void 0 : _.image) == null ? void 0 : h.imageId }) })
|
|
6275
6275
|
]
|
|
6276
6276
|
}
|
|
6277
6277
|
) }) });
|
|
@@ -6304,13 +6304,13 @@ const Wu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
|
|
|
6304
6304
|
selectionLimit: i
|
|
6305
6305
|
}) => {
|
|
6306
6306
|
var _, h;
|
|
6307
|
-
const { perform: o } = dr(), s = nt(null), a = typeof i == "number" && (i === 0 || i > 1), l = (c) =>
|
|
6307
|
+
const { perform: o } = dr(), s = nt(null), a = typeof i == "number" && (i === 0 || i > 1), l = (c) => P(null, null, function* () {
|
|
6308
6308
|
var g;
|
|
6309
6309
|
const y = Array.from((g = c.currentTarget.files) != null ? g : []);
|
|
6310
6310
|
if (y.length)
|
|
6311
6311
|
try {
|
|
6312
6312
|
const m = (yield Promise.allSettled(
|
|
6313
|
-
y.map((S) =>
|
|
6313
|
+
y.map((S) => P(null, null, function* () {
|
|
6314
6314
|
return {
|
|
6315
6315
|
content: yield za(S),
|
|
6316
6316
|
metadata: {
|
|
@@ -6332,13 +6332,13 @@ const Wu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
|
|
|
6332
6332
|
} catch (f) {
|
|
6333
6333
|
console.error("Error: ", f);
|
|
6334
6334
|
}
|
|
6335
|
-
}), d = () =>
|
|
6335
|
+
}), d = () => P(null, null, function* () {
|
|
6336
6336
|
var c;
|
|
6337
6337
|
(c = s.current) == null || c.showPicker();
|
|
6338
6338
|
});
|
|
6339
6339
|
return rt(() => {
|
|
6340
|
-
|
|
6341
|
-
if (
|
|
6340
|
+
P(null, null, function* () {
|
|
6341
|
+
if (zt.isDesktop) return;
|
|
6342
6342
|
const c = yield Sd();
|
|
6343
6343
|
(c === "denied" || c === "error") && o({
|
|
6344
6344
|
cancel: !1,
|
|
@@ -6346,7 +6346,7 @@ const Wu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
|
|
|
6346
6346
|
files: []
|
|
6347
6347
|
});
|
|
6348
6348
|
});
|
|
6349
|
-
}, []), /* @__PURE__ */ u(
|
|
6349
|
+
}, []), /* @__PURE__ */ u(Yt, { header: t, footer: e, backgroundColor: r, children: /* @__PURE__ */ u(We, { children: /* @__PURE__ */ u(
|
|
6350
6350
|
"div",
|
|
6351
6351
|
{
|
|
6352
6352
|
style: Y(I({}, Yu), {
|
|
@@ -6365,13 +6365,13 @@ const Wu = ({ header: t, title: e, buttons: r, footer: n, questions: i, dataSour
|
|
|
6365
6365
|
onInput: l
|
|
6366
6366
|
})
|
|
6367
6367
|
),
|
|
6368
|
-
/* @__PURE__ */ u("button", { style: Zu, onClick: d, children: /* @__PURE__ */ u(
|
|
6368
|
+
/* @__PURE__ */ u("button", { style: Zu, onClick: d, children: /* @__PURE__ */ u(Pe, { imageId: (h = (_ = n == null ? void 0 : n[0]) == null ? void 0 : _.image) == null ? void 0 : h.imageId }) })
|
|
6369
6369
|
]
|
|
6370
6370
|
}
|
|
6371
6371
|
) }) });
|
|
6372
6372
|
};
|
|
6373
6373
|
function Xu() {
|
|
6374
|
-
const t = nt(null), [e, r] =
|
|
6374
|
+
const t = nt(null), [e, r] = Me(!1);
|
|
6375
6375
|
return { ref: t, isPopoverOpen: e, openPopover: () => {
|
|
6376
6376
|
var o;
|
|
6377
6377
|
(o = t.current) == null || o.showPopover(), r(!0);
|
|
@@ -6380,7 +6380,7 @@ function Xu() {
|
|
|
6380
6380
|
(o = t.current) == null || o.hidePopover(), r(!1);
|
|
6381
6381
|
} };
|
|
6382
6382
|
}
|
|
6383
|
-
const Vs = () =>
|
|
6383
|
+
const Vs = () => P(null, null, function* () {
|
|
6384
6384
|
var t;
|
|
6385
6385
|
try {
|
|
6386
6386
|
const e = yield navigator.permissions.query({ name: "geolocation" });
|
|
@@ -6388,13 +6388,13 @@ const Vs = () => U(null, null, function* () {
|
|
|
6388
6388
|
} catch (e) {
|
|
6389
6389
|
return "unknown";
|
|
6390
6390
|
}
|
|
6391
|
-
}), Qu = () =>
|
|
6391
|
+
}), Qu = () => P(null, null, function* () {
|
|
6392
6392
|
try {
|
|
6393
6393
|
return yield navigator.permissions.query({ name: "geolocation" });
|
|
6394
6394
|
} catch (t) {
|
|
6395
6395
|
return null;
|
|
6396
6396
|
}
|
|
6397
|
-
}),
|
|
6397
|
+
}), Pi = (t) => P(null, null, function* () {
|
|
6398
6398
|
return new Promise((e) => {
|
|
6399
6399
|
if (!navigator.geolocation)
|
|
6400
6400
|
return e({
|
|
@@ -6486,47 +6486,47 @@ const Vs = () => U(null, null, function* () {
|
|
|
6486
6486
|
timeout: 15e3,
|
|
6487
6487
|
maximumAge: 6e4
|
|
6488
6488
|
};
|
|
6489
|
-
|
|
6489
|
+
Zt(() => {
|
|
6490
6490
|
d == null || d(!0);
|
|
6491
6491
|
}, []), rt(() => {
|
|
6492
6492
|
let C = !0;
|
|
6493
|
-
return
|
|
6493
|
+
return P(null, null, function* () {
|
|
6494
6494
|
if ((yield Vs()) !== "granted") {
|
|
6495
6495
|
d == null || d(!1);
|
|
6496
6496
|
return;
|
|
6497
6497
|
}
|
|
6498
|
-
const N = yield
|
|
6498
|
+
const N = yield Pi(g);
|
|
6499
6499
|
C && l(N);
|
|
6500
6500
|
}), () => {
|
|
6501
6501
|
C = !1;
|
|
6502
6502
|
};
|
|
6503
6503
|
}, []), rt(() => {
|
|
6504
6504
|
let C = !0, O = null;
|
|
6505
|
-
return
|
|
6505
|
+
return P(null, null, function* () {
|
|
6506
6506
|
const N = yield Qu();
|
|
6507
|
-
N && (O = N, N.onchange = () =>
|
|
6507
|
+
N && (O = N, N.onchange = () => P(null, null, function* () {
|
|
6508
6508
|
if (N.state !== "granted") return;
|
|
6509
6509
|
d == null || d(!0);
|
|
6510
|
-
const R = yield
|
|
6510
|
+
const R = yield Pi(g);
|
|
6511
6511
|
C && l(R);
|
|
6512
6512
|
}));
|
|
6513
6513
|
}), () => {
|
|
6514
6514
|
C = !1, O && (O.onchange = null);
|
|
6515
6515
|
};
|
|
6516
6516
|
}, []);
|
|
6517
|
-
const f = (C) =>
|
|
6517
|
+
const f = (C) => P(null, null, function* () {
|
|
6518
6518
|
C.preventDefault();
|
|
6519
6519
|
const O = yield Vs();
|
|
6520
6520
|
if (O === "denied") {
|
|
6521
6521
|
c();
|
|
6522
6522
|
return;
|
|
6523
6523
|
}
|
|
6524
|
-
O === "prompt" && (yield
|
|
6524
|
+
O === "prompt" && (yield Pi());
|
|
6525
6525
|
});
|
|
6526
|
-
return /* @__PURE__ */ u(
|
|
6526
|
+
return /* @__PURE__ */ u(Yt, { header: e, footer: r, backgroundColor: s, children: [
|
|
6527
6527
|
/* @__PURE__ */ u("div", { style: e1, children: [
|
|
6528
6528
|
/* @__PURE__ */ u("div", { style: t1, children: [
|
|
6529
|
-
n && /* @__PURE__ */ u("div", { style: n1, children: /* @__PURE__ */ u(
|
|
6529
|
+
n && /* @__PURE__ */ u("div", { style: n1, children: /* @__PURE__ */ u(Pe, I({}, n)) }),
|
|
6530
6530
|
t && /* @__PURE__ */ u("div", { style: { marginBottom: 20, lineHeight: "39.2px", width: "100%" }, children: /* @__PURE__ */ u(Ne, I({}, t)) }),
|
|
6531
6531
|
i && /* @__PURE__ */ u("div", { style: { lineHeight: "28px", fontWeight: "400", width: "100%" }, children: /* @__PURE__ */ u(ei, I({}, i)) })
|
|
6532
6532
|
] }),
|
|
@@ -6559,7 +6559,7 @@ const Vs = () => U(null, null, function* () {
|
|
|
6559
6559
|
children: [
|
|
6560
6560
|
/* @__PURE__ */ u("div", { style: $s, children: [
|
|
6561
6561
|
/* @__PURE__ */ u("strong", { children: (m = a.title) == null ? void 0 : m.text }),
|
|
6562
|
-
/* @__PURE__ */ u("button", { style: o1, onClick: y, "aria-label": "Close", children: /* @__PURE__ */ u(
|
|
6562
|
+
/* @__PURE__ */ u("button", { style: o1, onClick: y, "aria-label": "Close", children: /* @__PURE__ */ u(Pe, { imageId: (S = a.closeButton.image) == null ? void 0 : S.imageId }) })
|
|
6563
6563
|
] }),
|
|
6564
6564
|
/* @__PURE__ */ u("div", { style: $s, children: /* @__PURE__ */ u("span", { children: (b = a.message) == null ? void 0 : b.text }) })
|
|
6565
6565
|
]
|
|
@@ -6789,14 +6789,11 @@ const l1 = (t, e) => ({
|
|
|
6789
6789
|
_sessionIdFromUrl: null,
|
|
6790
6790
|
_ttl: 86400,
|
|
6791
6791
|
// sec
|
|
6792
|
-
_prepareDataForWorkflow: (n) => {
|
|
6793
|
-
e().setWorkflowId(n.workflow.id), e().setWorkflow(n.workflow), e().setLayout(n.workflow.client.layout), e().setProcessingTemplate(n.workflow.client.steps), e().setSessionProperties(n.properties);
|
|
6794
|
-
},
|
|
6795
6792
|
_checkAndSetApiTokenToLs: (n) => {
|
|
6796
6793
|
const i = e().startConfig;
|
|
6797
6794
|
if (!("apiKey" in i) || !i.apiKey) return;
|
|
6798
6795
|
const o = e().workflowId, s = e().apiKeyAuthTokenCollection;
|
|
6799
|
-
"authToken" in s && "apiKey" in s &&
|
|
6796
|
+
"authToken" in s && "apiKey" in s && nr.setAuthTokenToLs(
|
|
6800
6797
|
s.authToken,
|
|
6801
6798
|
s.apiKey,
|
|
6802
6799
|
n,
|
|
@@ -6806,8 +6803,8 @@ const l1 = (t, e) => ({
|
|
|
6806
6803
|
},
|
|
6807
6804
|
_checkIsSessionDataValid: (n) => {
|
|
6808
6805
|
if ("httpCode" in n) {
|
|
6809
|
-
const i = "what" in n && typeof n.what == "string" && n.what.length ? n.what : null, o = new
|
|
6810
|
-
errorCode:
|
|
6806
|
+
const i = "what" in n && typeof n.what == "string" && n.what.length ? n.what : null, o = new ir(I({
|
|
6807
|
+
errorCode: tr.HTTP_ISSUE
|
|
6811
6808
|
}, i ? { message: i } : {}));
|
|
6812
6809
|
return {
|
|
6813
6810
|
error: new Ge({
|
|
@@ -6819,8 +6816,8 @@ const l1 = (t, e) => ({
|
|
|
6819
6816
|
if ("id" in n && "currentStep" in n)
|
|
6820
6817
|
return n;
|
|
6821
6818
|
{
|
|
6822
|
-
const i = new
|
|
6823
|
-
errorCode:
|
|
6819
|
+
const i = new ir({
|
|
6820
|
+
errorCode: tr.DECODING_FAILED
|
|
6824
6821
|
});
|
|
6825
6822
|
return { error: new Ge({
|
|
6826
6823
|
errorCode: Ke.START_SESSION_FAILED,
|
|
@@ -6828,11 +6825,11 @@ const l1 = (t, e) => ({
|
|
|
6828
6825
|
}) };
|
|
6829
6826
|
}
|
|
6830
6827
|
},
|
|
6831
|
-
_runSocketConnection: (n) =>
|
|
6828
|
+
_runSocketConnection: (n) => P(null, null, function* () {
|
|
6832
6829
|
const { host: i, isSecure: o, port: s } = e().startConfig;
|
|
6833
|
-
if (i && n && (yield
|
|
6834
|
-
const a = new
|
|
6835
|
-
errorCode:
|
|
6830
|
+
if (i && n && (yield ct.connect({ host: i, isSecure: o, port: s, token: n })), !i || !n || !ct.isConnected()) {
|
|
6831
|
+
const a = new ir({
|
|
6832
|
+
errorCode: tr.CONNECTION_ISSUE,
|
|
6836
6833
|
message: "WebSocket connection issue"
|
|
6837
6834
|
});
|
|
6838
6835
|
return { error: new Ge({
|
|
@@ -6842,15 +6839,15 @@ const l1 = (t, e) => ({
|
|
|
6842
6839
|
}
|
|
6843
6840
|
return {};
|
|
6844
6841
|
}),
|
|
6845
|
-
_continueSession: (n, i) =>
|
|
6842
|
+
_continueSession: (n, i) => P(null, null, function* () {
|
|
6846
6843
|
var y;
|
|
6847
|
-
const o = e().startConfig, s = "apiKey" in o && typeof o.apiKey == "string", a = e().workflowId, l = i ?
|
|
6844
|
+
const o = e().startConfig, s = "apiKey" in o && typeof o.apiKey == "string", a = e().workflowId, l = i ? Mr.DID_CONTINUE_REMOTE_SESSION : Mr.DID_START_RESTORE_SESSION;
|
|
6848
6845
|
let d;
|
|
6849
6846
|
if (i)
|
|
6850
6847
|
d = i;
|
|
6851
6848
|
else if (s) {
|
|
6852
6849
|
if (!e().sessionRestoreMode) return {};
|
|
6853
|
-
const g = o.apiKey, f =
|
|
6850
|
+
const g = o.apiKey, f = nr.getAuthTokenLs(), m = f && ((y = f[g]) == null ? void 0 : y.sessionId);
|
|
6854
6851
|
if (!m) return {};
|
|
6855
6852
|
m && (d = m);
|
|
6856
6853
|
} else {
|
|
@@ -6867,25 +6864,24 @@ const l1 = (t, e) => ({
|
|
|
6867
6864
|
), h = e()._checkIsSessionDataValid(_.data);
|
|
6868
6865
|
if (!bs(h))
|
|
6869
6866
|
return { error: h.error };
|
|
6870
|
-
e()._prepareDataForWorkflow(h);
|
|
6871
6867
|
const c = h.currentStep;
|
|
6872
6868
|
return e().setCurrentStepId(c), s ? e()._checkAndSetApiTokenToLs(h.id) : e().setCurrentSessionDataLsAndStore({
|
|
6873
6869
|
sessionId: h.id,
|
|
6874
6870
|
workflowId: a
|
|
6875
6871
|
}), e().setNextStep(h.workflow, h.properties, c), e().listener({
|
|
6876
|
-
eventType:
|
|
6872
|
+
eventType: Pn.MESSAGE,
|
|
6877
6873
|
message: l,
|
|
6878
6874
|
module: "IDV"
|
|
6879
6875
|
}), h;
|
|
6880
6876
|
}),
|
|
6881
6877
|
initialize(n) {
|
|
6882
|
-
return
|
|
6878
|
+
return P(this, null, function* () {
|
|
6883
6879
|
if (e()._isInitialized)
|
|
6884
6880
|
return console.warn("Idv:: Already initialized"), {};
|
|
6885
6881
|
if (e()._initializationInProgress)
|
|
6886
|
-
return new $n({
|
|
6882
|
+
return { error: new $n({
|
|
6887
6883
|
errorCode: Xn.INITIALIZATION_IN_PROGRESS
|
|
6888
|
-
});
|
|
6884
|
+
}) };
|
|
6889
6885
|
t({ _initializationInProgress: !0 }), yield e().setAndInitFetchService(), t({
|
|
6890
6886
|
modulesConfig: n.modulesConfig || {}
|
|
6891
6887
|
});
|
|
@@ -6901,7 +6897,7 @@ const l1 = (t, e) => ({
|
|
|
6901
6897
|
});
|
|
6902
6898
|
},
|
|
6903
6899
|
configureByApiKey(n) {
|
|
6904
|
-
return
|
|
6900
|
+
return P(this, null, function* () {
|
|
6905
6901
|
if (!e()._isInitialized)
|
|
6906
6902
|
return {
|
|
6907
6903
|
error: new Ve({
|
|
@@ -6939,13 +6935,13 @@ const l1 = (t, e) => ({
|
|
|
6939
6935
|
deviceDescriptor: {
|
|
6940
6936
|
ttl: a
|
|
6941
6937
|
}
|
|
6942
|
-
}, d =
|
|
6938
|
+
}, d = nr.getAuthTokenLs(), _ = d && d[n.apiKey] && d[n.apiKey].authToken ? d[n.apiKey] : null, h = _ && _.authToken, c = yield e().connectByApiKey(l);
|
|
6943
6939
|
if (c.error)
|
|
6944
6940
|
return { error: new Ve({
|
|
6945
6941
|
errorCode: Le.CONNECTION_ISSUE,
|
|
6946
6942
|
underlyingBaseError: c.error
|
|
6947
6943
|
}) };
|
|
6948
|
-
h && c.authToken !== h &&
|
|
6944
|
+
h && c.authToken !== h && nr.removeAuthTokenLs(n.apiKey);
|
|
6949
6945
|
const y = _ && c.authToken === _.authToken && _, g = y ? y.tokenExpiresAt : Date.now() + a * 1e3;
|
|
6950
6946
|
return e().setApiKeyAuthTokenCollection(n.apiKey, c.authToken, g), t({ _isConnectedToPlatform: !0 }), e().setStartConfig({
|
|
6951
6947
|
host: s.host,
|
|
@@ -6956,7 +6952,7 @@ const l1 = (t, e) => ({
|
|
|
6956
6952
|
});
|
|
6957
6953
|
},
|
|
6958
6954
|
configureWithUrl(n) {
|
|
6959
|
-
return
|
|
6955
|
+
return P(this, null, function* () {
|
|
6960
6956
|
if (!e()._isInitialized)
|
|
6961
6957
|
return {
|
|
6962
6958
|
error: new Ve({
|
|
@@ -7001,7 +6997,7 @@ const l1 = (t, e) => ({
|
|
|
7001
6997
|
});
|
|
7002
6998
|
},
|
|
7003
6999
|
configureByUserPass(n) {
|
|
7004
|
-
return
|
|
7000
|
+
return P(this, null, function* () {
|
|
7005
7001
|
if (!e()._isInitialized)
|
|
7006
7002
|
return {
|
|
7007
7003
|
error: new Ve({
|
|
@@ -7048,20 +7044,20 @@ const l1 = (t, e) => ({
|
|
|
7048
7044
|
});
|
|
7049
7045
|
},
|
|
7050
7046
|
getWorkflows() {
|
|
7051
|
-
return
|
|
7047
|
+
return P(this, arguments, function* (n = { limit: 100, skip: 0 }) {
|
|
7052
7048
|
if (!e()._isInitialized)
|
|
7053
|
-
return { error: new
|
|
7054
|
-
errorCode:
|
|
7049
|
+
return { error: new Tt({
|
|
7050
|
+
errorCode: St.INITIALIZATION_REQUIRED
|
|
7055
7051
|
}) };
|
|
7056
7052
|
if (!e()._isConnectedToPlatform)
|
|
7057
|
-
return { error: new
|
|
7058
|
-
errorCode:
|
|
7053
|
+
return { error: new Tt({
|
|
7054
|
+
errorCode: St.CONNECTION_ISSUE
|
|
7059
7055
|
}) };
|
|
7060
7056
|
const i = yield e().fetchService.listWorkflows(n);
|
|
7061
7057
|
if (i.code !== 0) {
|
|
7062
|
-
const o = i.code === 4 ?
|
|
7063
|
-
return { error: new
|
|
7064
|
-
errorCode:
|
|
7058
|
+
const o = i.code === 4 ? Et.HTTP_ISSUE : Et.PROVIDER_ERROR, s = new Wn({ errorCode: o });
|
|
7059
|
+
return { error: new Tt({
|
|
7060
|
+
errorCode: St.WORKFLOW_ISSUE,
|
|
7065
7061
|
message: "No workflow list",
|
|
7066
7062
|
underlyingBaseError: s
|
|
7067
7063
|
}) };
|
|
@@ -7070,28 +7066,28 @@ const l1 = (t, e) => ({
|
|
|
7070
7066
|
});
|
|
7071
7067
|
},
|
|
7072
7068
|
prepareWorkflowAndPrepareUi(n) {
|
|
7073
|
-
return
|
|
7069
|
+
return P(this, null, function* () {
|
|
7074
7070
|
var g;
|
|
7075
7071
|
if (!e()._isInitialized)
|
|
7076
|
-
return { error: new
|
|
7077
|
-
errorCode:
|
|
7072
|
+
return { error: new Tt({
|
|
7073
|
+
errorCode: St.INITIALIZATION_REQUIRED
|
|
7078
7074
|
}) };
|
|
7079
7075
|
if (!e()._isConnectedToPlatform)
|
|
7080
|
-
return { error: new
|
|
7081
|
-
errorCode:
|
|
7076
|
+
return { error: new Tt({
|
|
7077
|
+
errorCode: St.CONNECTION_ISSUE
|
|
7082
7078
|
}) };
|
|
7083
7079
|
if (e().currentScreenConfig)
|
|
7084
|
-
return { error: new
|
|
7085
|
-
errorCode:
|
|
7080
|
+
return { error: new Tt({
|
|
7081
|
+
errorCode: St.SCENARIO_IN_PROGRESS
|
|
7086
7082
|
}) };
|
|
7087
7083
|
const i = yield e().fetchService.getWorkflow(n), o = yo(i.data), s = ((g = o.client) == null ? void 0 : g.steps) && o.client.steps.some((f) => f.templateId === $i);
|
|
7088
7084
|
let a = null;
|
|
7089
|
-
if (i.code === 4 && (a =
|
|
7085
|
+
if (i.code === 4 && (a = Et.HTTP_ISSUE), i.code !== 0 && i.code !== 4 && (a = Et.PROVIDER_ERROR), i.code === 0 && !i.data.id && (a = Et.DECODING_FAILED), i.code === 0 && i.data.id && o === null && (a = Et.DECODING_FAILED), s || (a = Et.DECODING_FAILED), a !== null) {
|
|
7090
7086
|
const f = new Wn({
|
|
7091
7087
|
errorCode: a
|
|
7092
7088
|
});
|
|
7093
|
-
return { error: new
|
|
7094
|
-
errorCode:
|
|
7089
|
+
return { error: new Tt({
|
|
7090
|
+
errorCode: St.INTERNAL_ISSUE,
|
|
7095
7091
|
underlyingBaseError: f
|
|
7096
7092
|
}) };
|
|
7097
7093
|
}
|
|
@@ -7108,7 +7104,7 @@ const l1 = (t, e) => ({
|
|
|
7108
7104
|
});
|
|
7109
7105
|
},
|
|
7110
7106
|
startNewSession(n, i, o) {
|
|
7111
|
-
return
|
|
7107
|
+
return P(this, null, function* () {
|
|
7112
7108
|
if (!e()._isInitialized)
|
|
7113
7109
|
return { error: new Ge({
|
|
7114
7110
|
errorCode: Ke.INITIALIZATION_REQUIRED
|
|
@@ -7126,32 +7122,32 @@ const l1 = (t, e) => ({
|
|
|
7126
7122
|
errorCode: Ke.ALREADY_STARTED
|
|
7127
7123
|
})
|
|
7128
7124
|
};
|
|
7129
|
-
const a = (
|
|
7130
|
-
|
|
7125
|
+
const a = (b) => {
|
|
7126
|
+
ct && ct.close(), n(b);
|
|
7131
7127
|
};
|
|
7132
7128
|
e().setWorkflowSessionCompletion(a);
|
|
7133
7129
|
const l = e().startConfig, d = "apiKey" in l && typeof l.apiKey == "string", _ = e().apiKeyAuthTokenCollection;
|
|
7134
7130
|
if (d && "tokenExpiresAt" in _) {
|
|
7135
|
-
const
|
|
7136
|
-
if (Date.now() >
|
|
7137
|
-
const
|
|
7131
|
+
const b = _.tokenExpiresAt && typeof _.tokenExpiresAt == "number" ? _.tokenExpiresAt : 0;
|
|
7132
|
+
if (Date.now() > b) {
|
|
7133
|
+
const O = yield e().connectByApiKey({
|
|
7138
7134
|
apiKey: l.apiKey,
|
|
7139
7135
|
host: l.host,
|
|
7140
7136
|
deviceDescriptor: {
|
|
7141
7137
|
ttl: e()._ttl
|
|
7142
7138
|
}
|
|
7143
7139
|
});
|
|
7144
|
-
if (
|
|
7145
|
-
return { error: new
|
|
7146
|
-
errorCode:
|
|
7147
|
-
underlyingBaseError:
|
|
7140
|
+
if (nr.removeAuthTokenLs(l.apiKey), O.error)
|
|
7141
|
+
return { error: new ir({
|
|
7142
|
+
errorCode: tr.CONNECTION_ISSUE,
|
|
7143
|
+
underlyingBaseError: O.error
|
|
7148
7144
|
}) };
|
|
7149
|
-
if (
|
|
7150
|
-
const
|
|
7145
|
+
if (O && "authToken" in O) {
|
|
7146
|
+
const N = Date.now() + e()._ttl * 1e3;
|
|
7151
7147
|
e().setApiKeyAuthTokenCollection(
|
|
7152
7148
|
l.apiKey,
|
|
7153
|
-
|
|
7154
|
-
|
|
7149
|
+
O.authToken,
|
|
7150
|
+
N
|
|
7155
7151
|
);
|
|
7156
7152
|
}
|
|
7157
7153
|
}
|
|
@@ -7159,13 +7155,13 @@ const l1 = (t, e) => ({
|
|
|
7159
7155
|
e().setIsProcessing(!0);
|
|
7160
7156
|
const h = yield e().fetchService.getConnectionToken(!1);
|
|
7161
7157
|
if (!h || typeof h != "string") {
|
|
7162
|
-
const
|
|
7163
|
-
errorCode:
|
|
7158
|
+
const b = new ir({
|
|
7159
|
+
errorCode: tr.TOKEN_ERROR
|
|
7164
7160
|
});
|
|
7165
7161
|
return {
|
|
7166
7162
|
error: new Ge({
|
|
7167
7163
|
errorCode: Ke.START_SESSION_FAILED,
|
|
7168
|
-
underlyingBaseError:
|
|
7164
|
+
underlyingBaseError: b
|
|
7169
7165
|
})
|
|
7170
7166
|
};
|
|
7171
7167
|
}
|
|
@@ -7178,11 +7174,15 @@ const l1 = (t, e) => ({
|
|
|
7178
7174
|
return { error: g.error };
|
|
7179
7175
|
if ("id" in g) return {};
|
|
7180
7176
|
const f = yield e().fetchService.startSession(s, i, o), m = e()._checkIsSessionDataValid(f.data);
|
|
7181
|
-
|
|
7182
|
-
|
|
7183
|
-
|
|
7177
|
+
if (!bs(m))
|
|
7178
|
+
return { error: m.error };
|
|
7179
|
+
d ? e()._checkAndSetApiTokenToLs(m.id) : e().setCurrentSessionDataLsAndStore({ sessionId: m.id, workflowId: s });
|
|
7180
|
+
const S = m.currentStep;
|
|
7181
|
+
return e().setCurrentStepId(S), e().setNextStep(m.workflow, m.properties, S), e().listener({
|
|
7182
|
+
eventType: Pn.MESSAGE,
|
|
7183
|
+
message: Mr.DID_START_SESSION,
|
|
7184
7184
|
module: "IDV"
|
|
7185
|
-
}), {}
|
|
7185
|
+
}), {};
|
|
7186
7186
|
});
|
|
7187
7187
|
},
|
|
7188
7188
|
playWorkflow() {
|
|
@@ -7197,7 +7197,7 @@ const l1 = (t, e) => ({
|
|
|
7197
7197
|
}
|
|
7198
7198
|
},
|
|
7199
7199
|
deinitialize() {
|
|
7200
|
-
return
|
|
7200
|
+
return P(this, null, function* () {
|
|
7201
7201
|
if (!e()._isInitialized)
|
|
7202
7202
|
return { error: new Hn({
|
|
7203
7203
|
errorCode: Un.INITIALIZATION_REQUIRED
|
|
@@ -7245,14 +7245,14 @@ class c1 {
|
|
|
7245
7245
|
}
|
|
7246
7246
|
_getApiKeyAuthTokenFromLs(e) {
|
|
7247
7247
|
var o, s;
|
|
7248
|
-
const r =
|
|
7248
|
+
const r = nr.getAuthTokenLs(), n = (o = r == null ? void 0 : r[e]) == null ? void 0 : o.authToken, i = Number(((s = r == null ? void 0 : r[e]) == null ? void 0 : s.tokenExpiresAt) || 0);
|
|
7249
7249
|
return !n || !i || Number.isNaN(i) || i <= Date.now() ? null : { token: n, expiresAt: i };
|
|
7250
7250
|
}
|
|
7251
7251
|
_getApiKeyAuthTokenFromHeader(e) {
|
|
7252
7252
|
return e.replace(/^Token\s+/i, "");
|
|
7253
7253
|
}
|
|
7254
7254
|
_getValidApiKeyAuthToken(e, r) {
|
|
7255
|
-
return
|
|
7255
|
+
return P(this, null, function* () {
|
|
7256
7256
|
if (this._apiKeyAuthToken.token) {
|
|
7257
7257
|
if (r) return { code: 0, data: this._apiKeyAuthToken };
|
|
7258
7258
|
if (Date.now() < this._apiKeyAuthToken.expiresAt)
|
|
@@ -7280,12 +7280,12 @@ class c1 {
|
|
|
7280
7280
|
}
|
|
7281
7281
|
}
|
|
7282
7282
|
_getResponseTextFromBadResponse(e) {
|
|
7283
|
-
return
|
|
7283
|
+
return P(this, null, function* () {
|
|
7284
7284
|
return yield e.text().catch(() => "");
|
|
7285
7285
|
});
|
|
7286
7286
|
}
|
|
7287
7287
|
_fetchPing() {
|
|
7288
|
-
return
|
|
7288
|
+
return P(this, null, function* () {
|
|
7289
7289
|
const r = `${this._origin}/api/ping`;
|
|
7290
7290
|
try {
|
|
7291
7291
|
const n = yield fetch(r, {
|
|
@@ -7311,7 +7311,7 @@ class c1 {
|
|
|
7311
7311
|
});
|
|
7312
7312
|
}
|
|
7313
7313
|
_fetchMe(e) {
|
|
7314
|
-
return
|
|
7314
|
+
return P(this, null, function* () {
|
|
7315
7315
|
const n = `${this._origin}/api/user/me`;
|
|
7316
7316
|
try {
|
|
7317
7317
|
const i = yield fetch(n, {
|
|
@@ -7339,7 +7339,7 @@ class c1 {
|
|
|
7339
7339
|
});
|
|
7340
7340
|
}
|
|
7341
7341
|
_fetchConnection(e) {
|
|
7342
|
-
return
|
|
7342
|
+
return P(this, null, function* () {
|
|
7343
7343
|
const r = "POST", n = `${this._origin}/api/device/connection`;
|
|
7344
7344
|
try {
|
|
7345
7345
|
const i = yield fetch(n, {
|
|
@@ -7377,7 +7377,7 @@ class c1 {
|
|
|
7377
7377
|
});
|
|
7378
7378
|
}
|
|
7379
7379
|
_fetchEphemeral(e, r) {
|
|
7380
|
-
return
|
|
7380
|
+
return P(this, null, function* () {
|
|
7381
7381
|
const n = "POST", i = `${this._origin}/api/device/ephemeral`;
|
|
7382
7382
|
try {
|
|
7383
7383
|
const o = yield fetch(i, {
|
|
@@ -7411,7 +7411,7 @@ class c1 {
|
|
|
7411
7411
|
});
|
|
7412
7412
|
}
|
|
7413
7413
|
_fetchSessionByWorkflowId(e, r, n) {
|
|
7414
|
-
return
|
|
7414
|
+
return P(this, null, function* () {
|
|
7415
7415
|
const i = "POST", o = `${this._origin}/api/sessions?workflowId=${r || this._workflowId}`;
|
|
7416
7416
|
try {
|
|
7417
7417
|
const s = yield fetch(o, {
|
|
@@ -7438,7 +7438,7 @@ class c1 {
|
|
|
7438
7438
|
});
|
|
7439
7439
|
}
|
|
7440
7440
|
_fetchSessionState(e, r, n) {
|
|
7441
|
-
return
|
|
7441
|
+
return P(this, null, function* () {
|
|
7442
7442
|
var s;
|
|
7443
7443
|
const o = `${this._origin}/api/sessions/${r || ((s = this._session) == null ? void 0 : s.id)}?locale=${n || this._locale}`;
|
|
7444
7444
|
try {
|
|
@@ -7468,7 +7468,7 @@ class c1 {
|
|
|
7468
7468
|
});
|
|
7469
7469
|
}
|
|
7470
7470
|
_fetchWorkflows(n) {
|
|
7471
|
-
return
|
|
7471
|
+
return P(this, arguments, function* (e, r = { limit: 0, skip: 0 }) {
|
|
7472
7472
|
const o = new URL(`${this._origin}/api/workflows`);
|
|
7473
7473
|
typeof r.limit == "number" && r.limit >= 0 && o.searchParams.set("limit", String(r.limit)), typeof r.skip == "number" && r.skip >= 0 && o.searchParams.set("skip", String(r.skip));
|
|
7474
7474
|
const s = o.toString();
|
|
@@ -7498,7 +7498,7 @@ class c1 {
|
|
|
7498
7498
|
});
|
|
7499
7499
|
}
|
|
7500
7500
|
_fetchWorkflow(e, r) {
|
|
7501
|
-
return
|
|
7501
|
+
return P(this, null, function* () {
|
|
7502
7502
|
const i = `${this._origin}/api/workflows/${r}?renderClient=true`;
|
|
7503
7503
|
try {
|
|
7504
7504
|
const o = yield fetch(i, {
|
|
@@ -7526,7 +7526,7 @@ class c1 {
|
|
|
7526
7526
|
});
|
|
7527
7527
|
}
|
|
7528
7528
|
_fetchStep(e, r, n) {
|
|
7529
|
-
return
|
|
7529
|
+
return P(this, null, function* () {
|
|
7530
7530
|
var s;
|
|
7531
7531
|
const i = "POST", o = `${this._origin}/api/sessions/${(s = this._session) == null ? void 0 : s.id}/step/${r}?stage=0`;
|
|
7532
7532
|
try {
|
|
@@ -7557,7 +7557,7 @@ class c1 {
|
|
|
7557
7557
|
});
|
|
7558
7558
|
}
|
|
7559
7559
|
_fetchSessionLogs(e, r) {
|
|
7560
|
-
return
|
|
7560
|
+
return P(this, null, function* () {
|
|
7561
7561
|
var o;
|
|
7562
7562
|
const n = "POST", i = `${this._origin}/api/sessions/${(o = this._session) == null ? void 0 : o.id}/logs`;
|
|
7563
7563
|
try {
|
|
@@ -7588,7 +7588,7 @@ class c1 {
|
|
|
7588
7588
|
});
|
|
7589
7589
|
}
|
|
7590
7590
|
connectByUserPass(e) {
|
|
7591
|
-
return
|
|
7591
|
+
return P(this, null, function* () {
|
|
7592
7592
|
!e.userName || e.password, this._connect = { type: "byUserPass", arg: e }, this._origin = this._getOriginFromConfig(e);
|
|
7593
7593
|
const r = yield this._fetchPing();
|
|
7594
7594
|
if (r.code !== 0) return r;
|
|
@@ -7600,7 +7600,7 @@ class c1 {
|
|
|
7600
7600
|
});
|
|
7601
7601
|
}
|
|
7602
7602
|
connectByApiKey(e, r) {
|
|
7603
|
-
return
|
|
7603
|
+
return P(this, null, function* () {
|
|
7604
7604
|
e.apiKey, this._connect = { type: "byApiKey", arg: e }, this._origin = this._getOriginFromConfig(e);
|
|
7605
7605
|
const n = yield this._fetchPing();
|
|
7606
7606
|
if (n.code !== 0) return n;
|
|
@@ -7617,7 +7617,7 @@ class c1 {
|
|
|
7617
7617
|
});
|
|
7618
7618
|
}
|
|
7619
7619
|
connectByUrl(e) {
|
|
7620
|
-
return
|
|
7620
|
+
return P(this, null, function* () {
|
|
7621
7621
|
this._connect = { type: "byUrl", arg: e };
|
|
7622
7622
|
const r = this._getOriginFromUrl(e);
|
|
7623
7623
|
this._origin = r;
|
|
@@ -7631,13 +7631,13 @@ class c1 {
|
|
|
7631
7631
|
});
|
|
7632
7632
|
}
|
|
7633
7633
|
getConnectionToken(e) {
|
|
7634
|
-
return
|
|
7634
|
+
return P(this, null, function* () {
|
|
7635
7635
|
var r, n, i;
|
|
7636
7636
|
return +/* @__PURE__ */ new Date() < +new Date(this._connectionToken.expiresAt) - this._connectionTokenExpirationBufferMs ? this._connectionToken.token : ((r = this._connect) == null ? void 0 : r.type) === "byUserPass" ? (yield this.connectByUserPass(this._connect.arg), this._connectionToken.token) : ((n = this._connect) == null ? void 0 : n.type) === "byApiKey" ? (yield this.connectByApiKey(this._connect.arg, e), this._connectionToken.token) : ((i = this._connect) == null ? void 0 : i.type) === "byUrl" ? (yield this.connectByUrl(this._connect.arg), this._connectionToken.token) : "";
|
|
7637
7637
|
});
|
|
7638
7638
|
}
|
|
7639
7639
|
startSession(e, r, n) {
|
|
7640
|
-
return
|
|
7640
|
+
return P(this, null, function* () {
|
|
7641
7641
|
const i = {
|
|
7642
7642
|
locale: r
|
|
7643
7643
|
};
|
|
@@ -7647,40 +7647,38 @@ class c1 {
|
|
|
7647
7647
|
});
|
|
7648
7648
|
}
|
|
7649
7649
|
continueSession(e, r) {
|
|
7650
|
-
return
|
|
7650
|
+
return P(this, null, function* () {
|
|
7651
7651
|
const n = yield this.getConnectionToken(!1), i = this._getAuthorizationHeaderFromConnectionToken(n), o = yield this._fetchSessionState(i, e, r);
|
|
7652
7652
|
return o.code === 0 && (this._session = o.data, this._locale = r), o;
|
|
7653
7653
|
});
|
|
7654
7654
|
}
|
|
7655
7655
|
listWorkflows() {
|
|
7656
|
-
return
|
|
7656
|
+
return P(this, arguments, function* (e = { limit: 0, skip: 0 }) {
|
|
7657
7657
|
const r = yield this.getConnectionToken(!1), n = this._getAuthorizationHeaderFromConnectionToken(r);
|
|
7658
7658
|
return yield this._fetchWorkflows(n, e);
|
|
7659
7659
|
});
|
|
7660
7660
|
}
|
|
7661
7661
|
getWorkflow(e) {
|
|
7662
|
-
return
|
|
7662
|
+
return P(this, null, function* () {
|
|
7663
7663
|
this._workflowId = e;
|
|
7664
7664
|
const r = yield this.getConnectionToken(!1), n = this._getAuthorizationHeaderFromConnectionToken(r);
|
|
7665
7665
|
return yield this._fetchWorkflow(n, e);
|
|
7666
7666
|
});
|
|
7667
7667
|
}
|
|
7668
7668
|
pushData(e, r) {
|
|
7669
|
-
return
|
|
7670
|
-
const n = yield this.getConnectionToken(!0), i = this._getAuthorizationHeaderFromConnectionToken(n)
|
|
7671
|
-
|
|
7672
|
-
const s = yield this._fetchSessionState(i);
|
|
7673
|
-
return s.code === 0 && (this._session = s.data), s;
|
|
7669
|
+
return P(this, null, function* () {
|
|
7670
|
+
const n = yield this.getConnectionToken(!0), i = this._getAuthorizationHeaderFromConnectionToken(n);
|
|
7671
|
+
return yield this._fetchStep(i, e, r);
|
|
7674
7672
|
});
|
|
7675
7673
|
}
|
|
7676
7674
|
getSessionState() {
|
|
7677
|
-
return
|
|
7675
|
+
return P(this, null, function* () {
|
|
7678
7676
|
const e = yield this.getConnectionToken(!0), r = this._getAuthorizationHeaderFromConnectionToken(e), n = yield this._fetchSessionState(r);
|
|
7679
7677
|
return n.code === 0 && (this._session = n.data), n;
|
|
7680
7678
|
});
|
|
7681
7679
|
}
|
|
7682
7680
|
pushSessionLogs(e) {
|
|
7683
|
-
return
|
|
7681
|
+
return P(this, null, function* () {
|
|
7684
7682
|
const r = yield this.getConnectionToken(!0), n = this._getAuthorizationHeaderFromConnectionToken(r);
|
|
7685
7683
|
return yield this._fetchSessionLogs(n, e);
|
|
7686
7684
|
});
|
|
@@ -7690,7 +7688,7 @@ const d1 = (t, e) => ({
|
|
|
7690
7688
|
fetchService: null,
|
|
7691
7689
|
isProcessing: !1,
|
|
7692
7690
|
isFinalWaitingUi: !1,
|
|
7693
|
-
setAndInitFetchService: () =>
|
|
7691
|
+
setAndInitFetchService: () => P(null, null, function* () {
|
|
7694
7692
|
const n = new c1();
|
|
7695
7693
|
t({ fetchService: n });
|
|
7696
7694
|
}),
|
|
@@ -7698,10 +7696,10 @@ const d1 = (t, e) => ({
|
|
|
7698
7696
|
t({ isFinalWaitingUi: n });
|
|
7699
7697
|
},
|
|
7700
7698
|
connectByApiKey(n) {
|
|
7701
|
-
return
|
|
7699
|
+
return P(this, null, function* () {
|
|
7702
7700
|
const o = yield e().fetchService.connectByApiKey(n, !1);
|
|
7703
7701
|
if (o.code !== 0) {
|
|
7704
|
-
const s = o.code === 4 ?
|
|
7702
|
+
const s = o.code === 4 ? Kt.HTTP_ISSUE : Kt.PROVIDER_ERROR, a = new Ur({
|
|
7705
7703
|
errorCode: s,
|
|
7706
7704
|
message: JSON.stringify(o.data)
|
|
7707
7705
|
});
|
|
@@ -7714,10 +7712,10 @@ const d1 = (t, e) => ({
|
|
|
7714
7712
|
});
|
|
7715
7713
|
},
|
|
7716
7714
|
connectByUserPass(n) {
|
|
7717
|
-
return
|
|
7715
|
+
return P(this, null, function* () {
|
|
7718
7716
|
const i = yield e().fetchService.connectByUserPass(n);
|
|
7719
7717
|
if (i.code !== 0) {
|
|
7720
|
-
const o = i.code === 4 ?
|
|
7718
|
+
const o = i.code === 4 ? Kt.HTTP_ISSUE : Kt.PROVIDER_ERROR;
|
|
7721
7719
|
return { error: new Ur({
|
|
7722
7720
|
errorCode: o,
|
|
7723
7721
|
message: JSON.stringify(i.data)
|
|
@@ -7727,10 +7725,10 @@ const d1 = (t, e) => ({
|
|
|
7727
7725
|
});
|
|
7728
7726
|
},
|
|
7729
7727
|
connectByUrl(n) {
|
|
7730
|
-
return
|
|
7728
|
+
return P(this, null, function* () {
|
|
7731
7729
|
const o = yield e().fetchService.connectByUrl(n);
|
|
7732
7730
|
if (o.code !== 0) {
|
|
7733
|
-
const s = o.code === 4 ?
|
|
7731
|
+
const s = o.code === 4 ? Kt.HTTP_ISSUE : Kt.PROVIDER_ERROR, a = new Ur({
|
|
7734
7732
|
errorCode: s,
|
|
7735
7733
|
message: JSON.stringify(o.data)
|
|
7736
7734
|
}), l = new Bn({
|
|
@@ -7772,7 +7770,7 @@ const d1 = (t, e) => ({
|
|
|
7772
7770
|
};
|
|
7773
7771
|
t(() => ({ workflowSessionCompletion: i }));
|
|
7774
7772
|
},
|
|
7775
|
-
loadModules: (n) =>
|
|
7773
|
+
loadModules: (n) => P(null, null, function* () {
|
|
7776
7774
|
try {
|
|
7777
7775
|
const i = yield u1(n);
|
|
7778
7776
|
return t(() => ({ externalModules: i })), {};
|
|
@@ -7791,9 +7789,9 @@ const d1 = (t, e) => ({
|
|
|
7791
7789
|
setIsProcessing: (n) => {
|
|
7792
7790
|
t({ isProcessing: n });
|
|
7793
7791
|
},
|
|
7794
|
-
_pushStep: (n, i) =>
|
|
7792
|
+
_pushStep: (n, i) => P(null, null, function* () {
|
|
7795
7793
|
let o = null;
|
|
7796
|
-
return yield rd(() =>
|
|
7794
|
+
return yield rd(() => P(null, null, function* () {
|
|
7797
7795
|
const l = yield e().fetchService.pushData(n, i);
|
|
7798
7796
|
let d = null;
|
|
7799
7797
|
if (l.code === 4 && (d = at.HTTP_ISSUE), l.code !== 0 && l.code !== 4 && (d = at.PROVIDER_ERROR), d !== null) {
|
|
@@ -7815,45 +7813,45 @@ const d1 = (t, e) => ({
|
|
|
7815
7813
|
const o = i.steps.find((s) => s.id === n);
|
|
7816
7814
|
return o != null ? o : null;
|
|
7817
7815
|
},
|
|
7818
|
-
|
|
7819
|
-
|
|
7820
|
-
const
|
|
7821
|
-
|
|
7822
|
-
|
|
7823
|
-
|
|
7824
|
-
|
|
7825
|
-
|
|
7826
|
-
|
|
7827
|
-
|
|
7828
|
-
|
|
7829
|
-
|
|
7830
|
-
|
|
7831
|
-
|
|
7832
|
-
}
|
|
7833
|
-
return yield new Promise((
|
|
7834
|
-
let
|
|
7835
|
-
const
|
|
7836
|
-
if (
|
|
7837
|
-
|
|
7838
|
-
|
|
7816
|
+
_getSessionStateNextStepConditionResult: () => P(null, null, function* () {
|
|
7817
|
+
var g, f, m;
|
|
7818
|
+
const n = yield e().fetchService.getSessionState(), i = n.code === 0, o = i ? n.data : null, s = (g = o == null ? void 0 : o.currentStep) != null ? g : "", a = o == null ? void 0 : o.isProcessingFiles, l = (m = (f = o == null ? void 0 : o.workflow) == null ? void 0 : f.steps) != null ? m : [], d = id(l, s), _ = n.code === 4, h = n.code !== 0 && n.code !== 4, c = i && (!n.data.workflow || !n.data.currentStep);
|
|
7819
|
+
let y = null;
|
|
7820
|
+
if (l && !d && (y = at.NOT_DATA_TYPE), _ && (y = at.HTTP_ISSUE), h && (y = at.PROVIDER_ERROR), a && (y = at.IS_PROCESSING), c && (y = at.DECODING_FAILED), y !== null) {
|
|
7821
|
+
const S = new Lr({ errorCode: y });
|
|
7822
|
+
return { error: new Ge({
|
|
7823
|
+
errorCode: Ke.INTERNAL_ISSUE,
|
|
7824
|
+
underlyingBaseError: S
|
|
7825
|
+
}) };
|
|
7826
|
+
}
|
|
7827
|
+
return d && !a && !_ && !h && !c ? { data: n.data } : { shouldRetry: !0 };
|
|
7828
|
+
}),
|
|
7829
|
+
_waitingForNextStep: () => P(null, null, function* () {
|
|
7830
|
+
let n = {};
|
|
7831
|
+
return yield new Promise((o) => {
|
|
7832
|
+
let l = 0, d;
|
|
7833
|
+
const _ = (h) => P(null, null, function* () {
|
|
7834
|
+
if (h) {
|
|
7835
|
+
d = window.setTimeout(() => {
|
|
7836
|
+
_(!1);
|
|
7839
7837
|
}, 1e4);
|
|
7840
7838
|
return;
|
|
7841
7839
|
}
|
|
7842
|
-
|
|
7843
|
-
|
|
7844
|
-
}, 1e4) : (
|
|
7840
|
+
n = yield e()._getSessionStateNextStepConditionResult(), l++, "shouldRetry" in n && l < 6 ? d = window.setTimeout(() => {
|
|
7841
|
+
_(!1);
|
|
7842
|
+
}, 1e4) : (ct.clearSubscriptions(), o());
|
|
7845
7843
|
});
|
|
7846
|
-
if (
|
|
7847
|
-
const
|
|
7848
|
-
JSON.parse(atob(JSON.parse(
|
|
7844
|
+
if (ct.isConnected()) {
|
|
7845
|
+
const h = (c) => {
|
|
7846
|
+
JSON.parse(atob(JSON.parse(c).payload)).eventType === "SESSION_UPDATED" && (clearTimeout(d), _(!1));
|
|
7849
7847
|
};
|
|
7850
|
-
|
|
7848
|
+
ct.onMessage(h);
|
|
7851
7849
|
}
|
|
7852
|
-
|
|
7853
|
-
}), n ? { error: n } :
|
|
7850
|
+
_(!0);
|
|
7851
|
+
}), n != null && n.error ? { error: n.error } : n != null && n.data ? { sessionData: n.data } : { error: new Ge({
|
|
7854
7852
|
errorCode: Ke.INTERNAL_ISSUE,
|
|
7855
|
-
underlyingBaseError:
|
|
7856
|
-
}) }
|
|
7853
|
+
underlyingBaseError: new Lr({ errorCode: at.DECODING_FAILED })
|
|
7854
|
+
}) };
|
|
7857
7855
|
}),
|
|
7858
7856
|
setFinalStepAndStopProcess: (n) => {
|
|
7859
7857
|
const i = n || e().currentStepId;
|
|
@@ -7868,21 +7866,49 @@ const d1 = (t, e) => ({
|
|
|
7868
7866
|
}
|
|
7869
7867
|
}
|
|
7870
7868
|
}), e().resetSession(), e().listener({
|
|
7871
|
-
eventType:
|
|
7872
|
-
message:
|
|
7869
|
+
eventType: Pn.MESSAGE,
|
|
7870
|
+
message: Mr.DID_END_SESSION,
|
|
7873
7871
|
module: "IDV"
|
|
7874
7872
|
}));
|
|
7875
7873
|
},
|
|
7874
|
+
_stepSocketListenerWhenStepIsRunning: (n) => {
|
|
7875
|
+
if (ct.isConnected())
|
|
7876
|
+
if (n) {
|
|
7877
|
+
const i = (o) => P(null, null, function* () {
|
|
7878
|
+
if (JSON.parse(atob(JSON.parse(o).payload)).eventType === "SESSION_UPDATED") {
|
|
7879
|
+
ct.clearSubscriptions();
|
|
7880
|
+
let a = {};
|
|
7881
|
+
const l = 5;
|
|
7882
|
+
let d = 0;
|
|
7883
|
+
for (; d < l && (d++, a = yield e()._getSessionStateNextStepConditionResult(), !!a.shouldRetry); )
|
|
7884
|
+
;
|
|
7885
|
+
if (a.error) {
|
|
7886
|
+
e().workflowSessionCompletion({
|
|
7887
|
+
error: a.error
|
|
7888
|
+
}), e().resetSession();
|
|
7889
|
+
return;
|
|
7890
|
+
}
|
|
7891
|
+
if (a.data) {
|
|
7892
|
+
const { workflow: _, properties: h, currentStep: c } = a.data;
|
|
7893
|
+
e().setNextStep(_, h, c);
|
|
7894
|
+
}
|
|
7895
|
+
}
|
|
7896
|
+
});
|
|
7897
|
+
ct.onMessage(i);
|
|
7898
|
+
} else
|
|
7899
|
+
ct.clearSubscriptions();
|
|
7900
|
+
},
|
|
7876
7901
|
setNextStep: (n, i, o) => {
|
|
7877
|
-
e().setWorkflow(n), e().setLayout(n.client.layout), e().setProcessingTemplate(n.client.steps), e().setSessionProperties(i);
|
|
7902
|
+
e().setWorkflowId(n.id), e().setWorkflow(n), e().setLayout(n.client.layout), e().setProcessingTemplate(n.client.steps), e().setSessionProperties(i);
|
|
7878
7903
|
const s = e()._findStepById(o), a = (l) => !!l && Object.prototype.toString.call(l) === "[object Object]" && l.templateId;
|
|
7879
7904
|
if (s != null && s.final && !a(s.client)) {
|
|
7880
7905
|
e().setFinalStepAndStopProcess(s.id);
|
|
7881
7906
|
return;
|
|
7882
7907
|
}
|
|
7883
|
-
s != null && s.final && a(s.client) && e().setFinalWaitingUi(!0), e().onChangeScreen(o), e().setIsProcessing(!1);
|
|
7908
|
+
s != null && s.final && a(s.client) && e().setFinalWaitingUi(!0), e().onChangeScreen(o), e().setIsProcessing(!1), e()._stepSocketListenerWhenStepIsRunning(!0);
|
|
7884
7909
|
},
|
|
7885
|
-
pushStepWaitNextStepAndSet: (n) =>
|
|
7910
|
+
pushStepWaitNextStepAndSet: (n) => P(null, null, function* () {
|
|
7911
|
+
e()._stepSocketListenerWhenStepIsRunning(!1);
|
|
7886
7912
|
const i = e().currentStepId;
|
|
7887
7913
|
if (!i) return;
|
|
7888
7914
|
if (e().setIsProcessing(!0), e().isFinalWaitingUi) {
|
|
@@ -7916,8 +7942,8 @@ const d1 = (t, e) => ({
|
|
|
7916
7942
|
}), e().resetSession();
|
|
7917
7943
|
return;
|
|
7918
7944
|
}
|
|
7919
|
-
const
|
|
7920
|
-
e().setNextStep(a,
|
|
7945
|
+
const { workflow: a, properties: l, currentStep: d } = s.sessionData;
|
|
7946
|
+
e().setNextStep(a, l, d);
|
|
7921
7947
|
}),
|
|
7922
7948
|
/** prepare and configure config (props) for module and trigger showing step */
|
|
7923
7949
|
onChangeScreen: (n) => {
|
|
@@ -7956,7 +7982,7 @@ const d1 = (t, e) => ({
|
|
|
7956
7982
|
}
|
|
7957
7983
|
e().setCurrentStepId(n), t(() => ({ currentScreenConfig: s }));
|
|
7958
7984
|
},
|
|
7959
|
-
deinitializationIdv: () =>
|
|
7985
|
+
deinitializationIdv: () => P(null, null, function* () {
|
|
7960
7986
|
return e().resetFetchService(), e().externalModules.forEach((n) => {
|
|
7961
7987
|
n.component.deinitialize && n.component.isReady && n.component.deinitialize();
|
|
7962
7988
|
}), {};
|
|
@@ -7975,7 +8001,7 @@ const d1 = (t, e) => ({
|
|
|
7975
8001
|
resetFetchService: () => t(() => ({ fetchService: null }))
|
|
7976
8002
|
});
|
|
7977
8003
|
function u1(t) {
|
|
7978
|
-
return
|
|
8004
|
+
return P(this, null, function* () {
|
|
7979
8005
|
const e = [];
|
|
7980
8006
|
for (const n of t)
|
|
7981
8007
|
n && e.push({
|
|
@@ -8099,11 +8125,11 @@ function p1() {
|
|
|
8099
8125
|
/* 1 */
|
|
8100
8126
|
/***/
|
|
8101
8127
|
(function(e, r, n) {
|
|
8102
|
-
var i = n(2), o = n(0), s = o.BROWSER_TYPES, a = o.OS_TYPES, l = o.DEVICE_TYPES, d = n(4), _ = d.checkType, h = d.broPayload, c = d.mobilePayload, y = d.wearPayload, g = d.consolePayload, f = d.stvPayload, m = d.getNavigatorInstance, S = d.isIOS13Check, b = new i(), C = b.getBrowser(), O = b.getDevice(), N = b.getEngine(), R = b.getOS(),
|
|
8128
|
+
var i = n(2), o = n(0), s = o.BROWSER_TYPES, a = o.OS_TYPES, l = o.DEVICE_TYPES, d = n(4), _ = d.checkType, h = d.broPayload, c = d.mobilePayload, y = d.wearPayload, g = d.consolePayload, f = d.stvPayload, m = d.getNavigatorInstance, S = d.isIOS13Check, b = new i(), C = b.getBrowser(), O = b.getDevice(), N = b.getEngine(), R = b.getOS(), F = b.getUA(), pe = s.CHROME, _e = s.CHROMIUM, ee = s.IE, Q = s.INTERNET_EXPLORER, H = s.OPERA, J = s.FIREFOX, de = s.SAFARI, ue = s.EDGE, we = s.YANDEX, ve = s.MOBILE_SAFARI, te = l.MOBILE, z = l.TABLET, U = l.SMART_TV, q = l.BROWSER, re = l.WEARABLE, Se = l.CONSOLE, ne = a.ANDROID, $ = a.WINDOWS_PHONE, X = a.IOS, $e = a.WINDOWS, je = a.MAC_OS, it = function() {
|
|
8103
8129
|
return O.type === te;
|
|
8104
8130
|
}, Je = function() {
|
|
8105
8131
|
return O.type === z;
|
|
8106
|
-
},
|
|
8132
|
+
}, vt = function() {
|
|
8107
8133
|
switch (O.type) {
|
|
8108
8134
|
case te:
|
|
8109
8135
|
case z:
|
|
@@ -8112,18 +8138,18 @@ function p1() {
|
|
|
8112
8138
|
return !1;
|
|
8113
8139
|
}
|
|
8114
8140
|
}, ot = function() {
|
|
8115
|
-
return R.name === a.WINDOWS && R.version === "10" ? typeof
|
|
8116
|
-
},
|
|
8117
|
-
return O.type ===
|
|
8118
|
-
},
|
|
8141
|
+
return R.name === a.WINDOWS && R.version === "10" ? typeof F == "string" && F.indexOf("Edg/") !== -1 : !1;
|
|
8142
|
+
}, Bt = function() {
|
|
8143
|
+
return O.type === U;
|
|
8144
|
+
}, yt = function() {
|
|
8119
8145
|
return O.type === q;
|
|
8120
|
-
},
|
|
8146
|
+
}, ht = function() {
|
|
8121
8147
|
return O.type === re;
|
|
8122
|
-
},
|
|
8148
|
+
}, bt = function() {
|
|
8123
8149
|
return O.type === Se;
|
|
8124
|
-
},
|
|
8150
|
+
}, Ht = function() {
|
|
8125
8151
|
return R.name === ne;
|
|
8126
|
-
},
|
|
8152
|
+
}, pt = function() {
|
|
8127
8153
|
return R.name === $e;
|
|
8128
8154
|
}, et = function() {
|
|
8129
8155
|
return R.name === je;
|
|
@@ -8137,7 +8163,7 @@ function p1() {
|
|
|
8137
8163
|
return C.name === J;
|
|
8138
8164
|
}, D = function() {
|
|
8139
8165
|
return C.name === _e;
|
|
8140
|
-
},
|
|
8166
|
+
}, M = function() {
|
|
8141
8167
|
return C.name === ue;
|
|
8142
8168
|
}, W = function() {
|
|
8143
8169
|
return C.name === we;
|
|
@@ -8169,9 +8195,9 @@ function p1() {
|
|
|
8169
8195
|
return R.version ? R.version : "none";
|
|
8170
8196
|
}, ze = function() {
|
|
8171
8197
|
return R.name ? R.name : "none";
|
|
8172
|
-
},
|
|
8198
|
+
}, Wt = function() {
|
|
8173
8199
|
return C.name;
|
|
8174
|
-
},
|
|
8200
|
+
}, Jt = function() {
|
|
8175
8201
|
return O.vendor ? O.vendor : "none";
|
|
8176
8202
|
}, Qr = function() {
|
|
8177
8203
|
return O.model ? O.model : "none";
|
|
@@ -8180,29 +8206,29 @@ function p1() {
|
|
|
8180
8206
|
}, tn = function() {
|
|
8181
8207
|
return N.version;
|
|
8182
8208
|
}, rn = function() {
|
|
8183
|
-
return
|
|
8209
|
+
return F;
|
|
8184
8210
|
}, nn = function() {
|
|
8185
8211
|
return O.type;
|
|
8186
|
-
}, on =
|
|
8212
|
+
}, on = Bt(), sn = bt(), an = ht(), jt = K() || j(), ln = D(), tt = vt() || j(), cn = it(), dn = Je() || j(), un = yt(), fn = Ht(), hn = v(), pn = T() || j(), _n = A(), ri = V(), ni = ie(), ii = ge(), ur = Fe(), mn = G(), gn = ze(), wn = Oe(), oi = fe(), vn = Wt(), yn = Jt(), bn = Qr(), si = en(), ai = tn(), li = rn(), ci = M() || ot(), Cn = W(), di = nn(), ui = se(), fi = j(), hi = me(), pi = Be(), _i = Z(), mi = ot(), gi = M(), wi = pt(), vi = et(), _t = _(O.type);
|
|
8187
8213
|
function yi() {
|
|
8188
|
-
var oe =
|
|
8214
|
+
var oe = _t.isBrowser, st = _t.isMobile, fr = _t.isTablet, Sn = _t.isSmartTV, En = _t.isConsole, Tn = _t.isWearable;
|
|
8189
8215
|
if (oe)
|
|
8190
|
-
return h(oe, C, N, R,
|
|
8216
|
+
return h(oe, C, N, R, F);
|
|
8191
8217
|
if (Sn)
|
|
8192
|
-
return f(Sn, N, R,
|
|
8218
|
+
return f(Sn, N, R, F);
|
|
8193
8219
|
if (En)
|
|
8194
|
-
return g(En, N, R,
|
|
8220
|
+
return g(En, N, R, F);
|
|
8195
8221
|
if (st || fr)
|
|
8196
|
-
return c(
|
|
8222
|
+
return c(_t, O, R, F);
|
|
8197
8223
|
if (Tn)
|
|
8198
|
-
return y(Tn, N, R,
|
|
8224
|
+
return y(Tn, N, R, F);
|
|
8199
8225
|
}
|
|
8200
8226
|
e.exports = {
|
|
8201
8227
|
deviceDetect: yi,
|
|
8202
8228
|
isSmartTV: on,
|
|
8203
8229
|
isConsole: sn,
|
|
8204
8230
|
isWearable: an,
|
|
8205
|
-
isMobileSafari:
|
|
8231
|
+
isMobileSafari: jt,
|
|
8206
8232
|
isChromium: ln,
|
|
8207
8233
|
isMobile: tt,
|
|
8208
8234
|
isMobileOnly: cn,
|
|
@@ -8253,11 +8279,11 @@ function p1() {
|
|
|
8253
8279
|
* Dual licensed under GPLv2 or MIT
|
|
8254
8280
|
*/
|
|
8255
8281
|
(function(o, s) {
|
|
8256
|
-
var a = "0.7.18", l = "", d = "?", _ = "function", h = "undefined", c = "object", y = "string", g = "major", f = "model", m = "name", S = "type", b = "vendor", C = "version", O = "architecture", N = "console", R = "mobile",
|
|
8257
|
-
var
|
|
8282
|
+
var a = "0.7.18", l = "", d = "?", _ = "function", h = "undefined", c = "object", y = "string", g = "major", f = "model", m = "name", S = "type", b = "vendor", C = "version", O = "architecture", N = "console", R = "mobile", F = "tablet", pe = "smarttv", _e = "wearable", ee = "embedded", Q = { extend: function(te, z) {
|
|
8283
|
+
var U = {};
|
|
8258
8284
|
for (var q in te)
|
|
8259
|
-
z[q] && z[q].length % 2 === 0 ?
|
|
8260
|
-
return
|
|
8285
|
+
z[q] && z[q].length % 2 === 0 ? U[q] = z[q].concat(te[q]) : U[q] = te[q];
|
|
8286
|
+
return U;
|
|
8261
8287
|
}, has: function(te, z) {
|
|
8262
8288
|
return typeof te == "string" ? z.toLowerCase().indexOf(te.toLowerCase()) !== -1 : !1;
|
|
8263
8289
|
}, lowerize: function(te) {
|
|
@@ -8267,51 +8293,51 @@ function p1() {
|
|
|
8267
8293
|
}, trim: function(te) {
|
|
8268
8294
|
return te.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
8269
8295
|
} }, H = { rgx: function(te, z) {
|
|
8270
|
-
for (var
|
|
8271
|
-
var $e = z[
|
|
8296
|
+
for (var U = 0, q, re, Se, ne, $, X; U < z.length && !$; ) {
|
|
8297
|
+
var $e = z[U], je = z[U + 1];
|
|
8272
8298
|
for (q = re = 0; q < $e.length && !$; )
|
|
8273
8299
|
if ($ = $e[q++].exec(te), $)
|
|
8274
8300
|
for (Se = 0; Se < je.length; Se++)
|
|
8275
8301
|
X = $[++re], ne = je[Se], typeof ne === c && ne.length > 0 ? ne.length == 2 ? typeof ne[1] == _ ? this[ne[0]] = ne[1].call(this, X) : this[ne[0]] = ne[1] : ne.length == 3 ? typeof ne[1] === _ && !(ne[1].exec && ne[1].test) ? this[ne[0]] = X ? ne[1].call(this, X, ne[2]) : s : this[ne[0]] = X ? X.replace(ne[1], ne[2]) : s : ne.length == 4 && (this[ne[0]] = X ? ne[3].call(this, X.replace(ne[1], ne[2])) : s) : this[ne] = X || s;
|
|
8276
|
-
|
|
8302
|
+
U += 2;
|
|
8277
8303
|
}
|
|
8278
8304
|
}, str: function(te, z) {
|
|
8279
|
-
for (var
|
|
8280
|
-
if (typeof z[
|
|
8281
|
-
for (var q = 0; q < z[
|
|
8282
|
-
if (Q.has(z[
|
|
8283
|
-
return
|
|
8284
|
-
} else if (Q.has(z[
|
|
8285
|
-
return
|
|
8305
|
+
for (var U in z)
|
|
8306
|
+
if (typeof z[U] === c && z[U].length > 0) {
|
|
8307
|
+
for (var q = 0; q < z[U].length; q++)
|
|
8308
|
+
if (Q.has(z[U][q], te))
|
|
8309
|
+
return U === d ? s : U;
|
|
8310
|
+
} else if (Q.has(z[U], te))
|
|
8311
|
+
return U === d ? s : U;
|
|
8286
8312
|
return te;
|
|
8287
|
-
} }, J = { 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, C], [/(opios)[\/\s]+([\w\.]+)/i], [[m, "Opera Mini"], C], [/\s(opr)\/([\w\.]+)/i], [[m, "Opera"], C], [/(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, C], [/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i], [[m, "IE"], C], [/(edge|edgios|edgea)\/((\d+)?[\w\.]+)/i], [[m, "Edge"], C], [/(yabrowser)\/([\w\.]+)/i], [[m, "Yandex"], C], [/(puffin)\/([\w\.]+)/i], [[m, "Puffin"], C], [/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i], [[m, "UCBrowser"], C], [/(comodo_dragon)\/([\w\.]+)/i], [[m, /_/g, " "], C], [/(micromessenger)\/([\w\.]+)/i], [[m, "WeChat"], C], [/(qqbrowserlite)\/([\w\.]+)/i], [m, C], [/(QQ)\/([\d\.]+)/i], [m, C], [/m?(qqbrowser)[\/\s]?([\w\.]+)/i], [m, C], [/(BIDUBrowser)[\/\s]?([\w\.]+)/i], [m, C], [/(2345Explorer)[\/\s]?([\w\.]+)/i], [m, C], [/(MetaSr)[\/\s]?([\w\.]+)/i], [m], [/(LBBROWSER)/i], [m], [/xiaomi\/miuibrowser\/([\w\.]+)/i], [C, [m, "MIUI Browser"]], [/;fbav\/([\w\.]+);/i], [C, [m, "Facebook"]], [/headlesschrome(?:\/([\w\.]+)|\s)/i], [C, [m, "Chrome Headless"]], [/\swv\).+(chrome)\/([\w\.]+)/i], [[m, /(.+)/, "$1 WebView"], C], [/((?:oculus|samsung)browser)\/([\w\.]+)/i], [[m, /(.+(?:g|us))(.+)/, "$1 $2"], C], [/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i], [C, [m, "Android Browser"]], [/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i], [m, C], [/(dolfin)\/([\w\.]+)/i], [[m, "Dolphin"], C], [/((?:android.+)crmo|crios)\/([\w\.]+)/i], [[m, "Chrome"], C], [/(coast)\/([\w\.]+)/i], [[m, "Opera Coast"], C], [/fxios\/([\w\.-]+)/i], [C, [m, "Firefox"]], [/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i], [C, [m, "Mobile Safari"]], [/version\/([\w\.]+).+?(mobile\s?safari|safari)/i], [C, m], [/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i], [[m, "GSA"], C], [/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i], [m, [C, H.str, J.browser.oldsafari.version]], [/(konqueror)\/([\w\.]+)/i, /(webkit|khtml)\/([\w\.]+)/i], [m, C], [/(navigator|netscape)\/([\w\.-]+)/i], [[m, "Netscape"], C], [/(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, C]], cpu: [[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i], [[O, "amd64"]], [/(ia32(?=;))/i], [[O, Q.lowerize]], [/((?:i[346]|x)86)[;\)]/i], [[O, "ia32"]], [/windows\s(ce|mobile);\sppc;/i], [[O, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i], [[O, /ower/, "", Q.lowerize]], [/(sun4\w)[;\)]/i], [[O, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i], [[O, Q.lowerize]]], device: [[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i], [f, b, [S, M]], [/applecoremedia\/[\w\.]+ \((ipad)/], [f, [b, "Apple"], [S, M]], [/(apple\s{0,1}tv)/i], [[f, "Apple TV"], [b, "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], [b, f, [S, M]], [/(kf[A-z]+)\sbuild\/.+silk\//i], [f, [b, "Amazon"], [S, M]], [/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i], [[f, H.str, J.device.amazon.model], [b, "Amazon"], [S, R]], [/\((ip[honed|\s\w*]+);.+(apple)/i], [f, b, [S, R]], [/\((ip[honed|\s\w*]+);/i], [f, [b, "Apple"], [S, R]], [/(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], [b, f, [S, R]], [/\(bb10;\s(\w+)/i], [f, [b, "BlackBerry"], [S, R]], [/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i], [f, [b, "Asus"], [S, M]], [/(sony)\s(tablet\s[ps])\sbuild\//i, /(sony)?(?:sgp.+)\sbuild\//i], [[b, "Sony"], [f, "Xperia Tablet"], [S, M]], [/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i], [f, [b, "Sony"], [S, R]], [/\s(ouya)\s/i, /(nintendo)\s([wids3u]+)/i], [b, f, [S, N]], [/android.+;\s(shield)\sbuild/i], [f, [b, "Nvidia"], [S, N]], [/(playstation\s[34portablevi]+)/i], [f, [b, "Sony"], [S, N]], [/(sprint\s(\w+))/i], [[b, H.str, J.device.sprint.vendor], [f, H.str, J.device.sprint.model], [S, R]], [/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i], [b, f, [S, M]], [/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i, /(zte)-(\w*)/i, /(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i], [b, [f, /_/g, " "], [S, R]], [/(nexus\s9)/i], [f, [b, "HTC"], [S, M]], [/d\/huawei([\w\s-]+)[;\)]/i, /(nexus\s6p)/i], [f, [b, "Huawei"], [S, R]], [/(microsoft);\s(lumia[\s\w]+)/i], [b, f, [S, R]], [/[\s\(;](xbox(?:\sone)?)[\s\);]/i], [f, [b, "Microsoft"], [S, N]], [/(kin\.[onetw]{3})/i], [[f, /\./g, " "], [b, "Microsoft"], [S, R]], [/\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, [b, "Motorola"], [S, R]], [/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i], [f, [b, "Motorola"], [S, M]], [/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i], [[b, Q.trim], [f, Q.trim], [S, pe]], [/hbbtv.+maple;(\d+)/i], [[f, /^/, "SmartTV"], [b, "Samsung"], [S, pe]], [/\(dtv[\);].+(aquos)/i], [f, [b, "Sharp"], [S, pe]], [/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], [[b, "Samsung"], f, [S, M]], [/smart-tv.+(samsung)/i], [b, [S, pe], f], [/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i, /(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i, /sec-((sgh\w+))/i], [[b, "Samsung"], f, [S, R]], [/sie-(\w*)/i], [f, [b, "Siemens"], [S, R]], [/(maemo|nokia).*(n900|lumia\s\d+)/i, /(nokia)[\s_-]?([\w-]*)/i], [[b, "Nokia"], f, [S, R]], [/android\s3\.[\s\w;-]{10}(a\d{3})/i], [f, [b, "Acer"], [S, M]], [/android.+([vl]k\-?\d{3})\s+build/i], [f, [b, "LG"], [S, M]], [/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i], [[b, "LG"], f, [S, M]], [/(lg) netcast\.tv/i], [b, f, [S, pe]], [/(nexus\s[45])/i, /lg[e;\s\/-]+(\w*)/i, /android.+lg(\-?[\d\w]+)\s+build/i], [f, [b, "LG"], [S, R]], [/android.+(ideatab[a-z0-9\-\s]+)/i], [f, [b, "Lenovo"], [S, M]], [/linux;.+((jolla));/i], [b, f, [S, R]], [/((pebble))app\/[\d\.]+\s/i], [b, f, [S, _e]], [/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i], [b, f, [S, R]], [/crkey/i], [[f, "Chromecast"], [b, "Google"]], [/android.+;\s(glass)\s\d/i], [f, [b, "Google"], [S, _e]], [/android.+;\s(pixel c)\s/i], [f, [b, "Google"], [S, M]], [/android.+;\s(pixel xl|pixel)\s/i], [f, [b, "Google"], [S, R]], [/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, " "], [b, "Xiaomi"], [S, R]], [/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i], [[f, /_/g, " "], [b, "Xiaomi"], [S, M]], [/android.+;\s(m[1-5]\snote)\sbuild/i], [f, [b, "Meizu"], [S, M]], [/android.+a000(1)\s+build/i, /android.+oneplus\s(a\d{4})\s+build/i], [f, [b, "OnePlus"], [S, R]], [/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i], [f, [b, "RCA"], [S, M]], [/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i], [f, [b, "Dell"], [S, M]], [/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i], [f, [b, "Verizon"], [S, M]], [/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i], [[b, "Barnes & Noble"], f, [S, M]], [/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i], [f, [b, "NuVision"], [S, M]], [/android.+;\s(k88)\sbuild/i], [f, [b, "ZTE"], [S, M]], [/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i], [f, [b, "Swiss"], [S, R]], [/android.+[;\/]\s*(zur\d{3})\s+build/i], [f, [b, "Swiss"], [S, M]], [/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i], [f, [b, "Zeki"], [S, M]], [/(android).+[;\/]\s+([YR]\d{2})\s+build/i, /android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i], [[b, "Dragon Touch"], f, [S, M]], [/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i], [f, [b, "Insignia"], [S, M]], [/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i], [f, [b, "NextBook"], [S, M]], [/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i], [[b, "Voice"], f, [S, R]], [/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i], [[b, "LvTel"], f, [S, R]], [/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i], [f, [b, "Envizen"], [S, M]], [/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i], [b, f, [S, M]], [/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i], [f, [b, "MachSpeed"], [S, M]], [/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i], [b, f, [S, M]], [/android.+[;\/]\s*TU_(1491)\s+build/i], [f, [b, "Rotor"], [S, M]], [/android.+(KS(.+))\s+build/i], [f, [b, "Amazon"], [S, M]], [/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i], [b, f, [S, M]], [/\s(tablet|tab)[;\/]/i, /\s(mobile)(?:[;\/]|\ssafari)/i], [[S, Q.lowerize], b, f], [/(android[\w\.\s\-]{0,9});.+build/i], [f, [b, "Generic"]]], engine: [[/windows.+\sedge\/([\w\.]+)/i], [C, [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, C], [/rv\:([\w\.]{1,9}).+(gecko)/i], [C, m]], os: [[/microsoft\s(windows)\s(vista|xp)/i], [m, C], [/(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, [C, H.str, J.os.windows.version]], [/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i], [[m, "Windows"], [C, H.str, J.os.windows.version]], [/\((bb)(10);/i], [[m, "BlackBerry"], C], [/(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, C], [/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i], [[m, "Symbian"], C], [/\((series40);/i], [m], [/mozilla.+\(mobile;.+gecko.+firefox/i], [[m, "Firefox OS"], C], [/(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, C], [/(cros)\s[\w]+\s([\w\.]+\w)/i], [[m, "Chromium OS"], C], [/(sunos)\s?([\w\.\d]*)/i], [[m, "Solaris"], C], [/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i], [m, C], [/(haiku)\s(\w+)/i], [m, C], [/cfnetwork\/.+darwin/i, /ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i], [[C, /_/g, "."], [m, "iOS"]], [/(mac\sos\sx)\s?([\w\s\.]*)/i, /(macintosh|mac(?=_powerpc)\s)/i], [[m, "Mac OS"], [C, /_/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, C]] }, ue = function(te, z) {
|
|
8313
|
+
} }, J = { 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, C], [/(opios)[\/\s]+([\w\.]+)/i], [[m, "Opera Mini"], C], [/\s(opr)\/([\w\.]+)/i], [[m, "Opera"], C], [/(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, C], [/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i], [[m, "IE"], C], [/(edge|edgios|edgea)\/((\d+)?[\w\.]+)/i], [[m, "Edge"], C], [/(yabrowser)\/([\w\.]+)/i], [[m, "Yandex"], C], [/(puffin)\/([\w\.]+)/i], [[m, "Puffin"], C], [/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i], [[m, "UCBrowser"], C], [/(comodo_dragon)\/([\w\.]+)/i], [[m, /_/g, " "], C], [/(micromessenger)\/([\w\.]+)/i], [[m, "WeChat"], C], [/(qqbrowserlite)\/([\w\.]+)/i], [m, C], [/(QQ)\/([\d\.]+)/i], [m, C], [/m?(qqbrowser)[\/\s]?([\w\.]+)/i], [m, C], [/(BIDUBrowser)[\/\s]?([\w\.]+)/i], [m, C], [/(2345Explorer)[\/\s]?([\w\.]+)/i], [m, C], [/(MetaSr)[\/\s]?([\w\.]+)/i], [m], [/(LBBROWSER)/i], [m], [/xiaomi\/miuibrowser\/([\w\.]+)/i], [C, [m, "MIUI Browser"]], [/;fbav\/([\w\.]+);/i], [C, [m, "Facebook"]], [/headlesschrome(?:\/([\w\.]+)|\s)/i], [C, [m, "Chrome Headless"]], [/\swv\).+(chrome)\/([\w\.]+)/i], [[m, /(.+)/, "$1 WebView"], C], [/((?:oculus|samsung)browser)\/([\w\.]+)/i], [[m, /(.+(?:g|us))(.+)/, "$1 $2"], C], [/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i], [C, [m, "Android Browser"]], [/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i], [m, C], [/(dolfin)\/([\w\.]+)/i], [[m, "Dolphin"], C], [/((?:android.+)crmo|crios)\/([\w\.]+)/i], [[m, "Chrome"], C], [/(coast)\/([\w\.]+)/i], [[m, "Opera Coast"], C], [/fxios\/([\w\.-]+)/i], [C, [m, "Firefox"]], [/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i], [C, [m, "Mobile Safari"]], [/version\/([\w\.]+).+?(mobile\s?safari|safari)/i], [C, m], [/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i], [[m, "GSA"], C], [/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i], [m, [C, H.str, J.browser.oldsafari.version]], [/(konqueror)\/([\w\.]+)/i, /(webkit|khtml)\/([\w\.]+)/i], [m, C], [/(navigator|netscape)\/([\w\.-]+)/i], [[m, "Netscape"], C], [/(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, C]], cpu: [[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i], [[O, "amd64"]], [/(ia32(?=;))/i], [[O, Q.lowerize]], [/((?:i[346]|x)86)[;\)]/i], [[O, "ia32"]], [/windows\s(ce|mobile);\sppc;/i], [[O, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i], [[O, /ower/, "", Q.lowerize]], [/(sun4\w)[;\)]/i], [[O, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i], [[O, Q.lowerize]]], device: [[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i], [f, b, [S, F]], [/applecoremedia\/[\w\.]+ \((ipad)/], [f, [b, "Apple"], [S, F]], [/(apple\s{0,1}tv)/i], [[f, "Apple TV"], [b, "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], [b, f, [S, F]], [/(kf[A-z]+)\sbuild\/.+silk\//i], [f, [b, "Amazon"], [S, F]], [/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i], [[f, H.str, J.device.amazon.model], [b, "Amazon"], [S, R]], [/\((ip[honed|\s\w*]+);.+(apple)/i], [f, b, [S, R]], [/\((ip[honed|\s\w*]+);/i], [f, [b, "Apple"], [S, R]], [/(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], [b, f, [S, R]], [/\(bb10;\s(\w+)/i], [f, [b, "BlackBerry"], [S, R]], [/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i], [f, [b, "Asus"], [S, F]], [/(sony)\s(tablet\s[ps])\sbuild\//i, /(sony)?(?:sgp.+)\sbuild\//i], [[b, "Sony"], [f, "Xperia Tablet"], [S, F]], [/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i], [f, [b, "Sony"], [S, R]], [/\s(ouya)\s/i, /(nintendo)\s([wids3u]+)/i], [b, f, [S, N]], [/android.+;\s(shield)\sbuild/i], [f, [b, "Nvidia"], [S, N]], [/(playstation\s[34portablevi]+)/i], [f, [b, "Sony"], [S, N]], [/(sprint\s(\w+))/i], [[b, H.str, J.device.sprint.vendor], [f, H.str, J.device.sprint.model], [S, R]], [/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i], [b, f, [S, F]], [/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i, /(zte)-(\w*)/i, /(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i], [b, [f, /_/g, " "], [S, R]], [/(nexus\s9)/i], [f, [b, "HTC"], [S, F]], [/d\/huawei([\w\s-]+)[;\)]/i, /(nexus\s6p)/i], [f, [b, "Huawei"], [S, R]], [/(microsoft);\s(lumia[\s\w]+)/i], [b, f, [S, R]], [/[\s\(;](xbox(?:\sone)?)[\s\);]/i], [f, [b, "Microsoft"], [S, N]], [/(kin\.[onetw]{3})/i], [[f, /\./g, " "], [b, "Microsoft"], [S, R]], [/\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, [b, "Motorola"], [S, R]], [/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i], [f, [b, "Motorola"], [S, F]], [/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i], [[b, Q.trim], [f, Q.trim], [S, pe]], [/hbbtv.+maple;(\d+)/i], [[f, /^/, "SmartTV"], [b, "Samsung"], [S, pe]], [/\(dtv[\);].+(aquos)/i], [f, [b, "Sharp"], [S, pe]], [/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], [[b, "Samsung"], f, [S, F]], [/smart-tv.+(samsung)/i], [b, [S, pe], f], [/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i, /(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i, /sec-((sgh\w+))/i], [[b, "Samsung"], f, [S, R]], [/sie-(\w*)/i], [f, [b, "Siemens"], [S, R]], [/(maemo|nokia).*(n900|lumia\s\d+)/i, /(nokia)[\s_-]?([\w-]*)/i], [[b, "Nokia"], f, [S, R]], [/android\s3\.[\s\w;-]{10}(a\d{3})/i], [f, [b, "Acer"], [S, F]], [/android.+([vl]k\-?\d{3})\s+build/i], [f, [b, "LG"], [S, F]], [/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i], [[b, "LG"], f, [S, F]], [/(lg) netcast\.tv/i], [b, f, [S, pe]], [/(nexus\s[45])/i, /lg[e;\s\/-]+(\w*)/i, /android.+lg(\-?[\d\w]+)\s+build/i], [f, [b, "LG"], [S, R]], [/android.+(ideatab[a-z0-9\-\s]+)/i], [f, [b, "Lenovo"], [S, F]], [/linux;.+((jolla));/i], [b, f, [S, R]], [/((pebble))app\/[\d\.]+\s/i], [b, f, [S, _e]], [/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i], [b, f, [S, R]], [/crkey/i], [[f, "Chromecast"], [b, "Google"]], [/android.+;\s(glass)\s\d/i], [f, [b, "Google"], [S, _e]], [/android.+;\s(pixel c)\s/i], [f, [b, "Google"], [S, F]], [/android.+;\s(pixel xl|pixel)\s/i], [f, [b, "Google"], [S, R]], [/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, " "], [b, "Xiaomi"], [S, R]], [/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i], [[f, /_/g, " "], [b, "Xiaomi"], [S, F]], [/android.+;\s(m[1-5]\snote)\sbuild/i], [f, [b, "Meizu"], [S, F]], [/android.+a000(1)\s+build/i, /android.+oneplus\s(a\d{4})\s+build/i], [f, [b, "OnePlus"], [S, R]], [/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i], [f, [b, "RCA"], [S, F]], [/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i], [f, [b, "Dell"], [S, F]], [/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i], [f, [b, "Verizon"], [S, F]], [/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i], [[b, "Barnes & Noble"], f, [S, F]], [/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i], [f, [b, "NuVision"], [S, F]], [/android.+;\s(k88)\sbuild/i], [f, [b, "ZTE"], [S, F]], [/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i], [f, [b, "Swiss"], [S, R]], [/android.+[;\/]\s*(zur\d{3})\s+build/i], [f, [b, "Swiss"], [S, F]], [/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i], [f, [b, "Zeki"], [S, F]], [/(android).+[;\/]\s+([YR]\d{2})\s+build/i, /android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i], [[b, "Dragon Touch"], f, [S, F]], [/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i], [f, [b, "Insignia"], [S, F]], [/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i], [f, [b, "NextBook"], [S, F]], [/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i], [[b, "Voice"], f, [S, R]], [/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i], [[b, "LvTel"], f, [S, R]], [/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i], [f, [b, "Envizen"], [S, F]], [/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i], [b, f, [S, F]], [/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i], [f, [b, "MachSpeed"], [S, F]], [/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i], [b, f, [S, F]], [/android.+[;\/]\s*TU_(1491)\s+build/i], [f, [b, "Rotor"], [S, F]], [/android.+(KS(.+))\s+build/i], [f, [b, "Amazon"], [S, F]], [/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i], [b, f, [S, F]], [/\s(tablet|tab)[;\/]/i, /\s(mobile)(?:[;\/]|\ssafari)/i], [[S, Q.lowerize], b, f], [/(android[\w\.\s\-]{0,9});.+build/i], [f, [b, "Generic"]]], engine: [[/windows.+\sedge\/([\w\.]+)/i], [C, [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, C], [/rv\:([\w\.]{1,9}).+(gecko)/i], [C, m]], os: [[/microsoft\s(windows)\s(vista|xp)/i], [m, C], [/(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, [C, H.str, J.os.windows.version]], [/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i], [[m, "Windows"], [C, H.str, J.os.windows.version]], [/\((bb)(10);/i], [[m, "BlackBerry"], C], [/(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, C], [/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i], [[m, "Symbian"], C], [/\((series40);/i], [m], [/mozilla.+\(mobile;.+gecko.+firefox/i], [[m, "Firefox OS"], C], [/(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, C], [/(cros)\s[\w]+\s([\w\.]+\w)/i], [[m, "Chromium OS"], C], [/(sunos)\s?([\w\.\d]*)/i], [[m, "Solaris"], C], [/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i], [m, C], [/(haiku)\s(\w+)/i], [m, C], [/cfnetwork\/.+darwin/i, /ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i], [[C, /_/g, "."], [m, "iOS"]], [/(mac\sos\sx)\s?([\w\s\.]*)/i, /(macintosh|mac(?=_powerpc)\s)/i], [[m, "Mac OS"], [C, /_/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, C]] }, ue = function(te, z) {
|
|
8288
8314
|
if (typeof te == "object" && (z = te, te = s), !(this instanceof ue))
|
|
8289
8315
|
return new ue(te, z).getResult();
|
|
8290
|
-
var
|
|
8316
|
+
var U = te || (o && o.navigator && o.navigator.userAgent ? o.navigator.userAgent : l), q = z ? Q.extend(de, z) : de;
|
|
8291
8317
|
return this.getBrowser = function() {
|
|
8292
8318
|
var re = { name: s, version: s };
|
|
8293
|
-
return H.rgx.call(re,
|
|
8319
|
+
return H.rgx.call(re, U, q.browser), re.major = Q.major(re.version), re;
|
|
8294
8320
|
}, this.getCPU = function() {
|
|
8295
8321
|
var re = { architecture: s };
|
|
8296
|
-
return H.rgx.call(re,
|
|
8322
|
+
return H.rgx.call(re, U, q.cpu), re;
|
|
8297
8323
|
}, this.getDevice = function() {
|
|
8298
8324
|
var re = { vendor: s, model: s, type: s };
|
|
8299
|
-
return H.rgx.call(re,
|
|
8325
|
+
return H.rgx.call(re, U, q.device), re;
|
|
8300
8326
|
}, this.getEngine = function() {
|
|
8301
8327
|
var re = { name: s, version: s };
|
|
8302
|
-
return H.rgx.call(re,
|
|
8328
|
+
return H.rgx.call(re, U, q.engine), re;
|
|
8303
8329
|
}, this.getOS = function() {
|
|
8304
8330
|
var re = { name: s, version: s };
|
|
8305
|
-
return H.rgx.call(re,
|
|
8331
|
+
return H.rgx.call(re, U, q.os), re;
|
|
8306
8332
|
}, this.getResult = function() {
|
|
8307
8333
|
return { ua: this.getUA(), browser: this.getBrowser(), engine: this.getEngine(), os: this.getOS(), device: this.getDevice(), cpu: this.getCPU() };
|
|
8308
8334
|
}, this.getUA = function() {
|
|
8309
|
-
return
|
|
8335
|
+
return U;
|
|
8310
8336
|
}, this.setUA = function(re) {
|
|
8311
|
-
return
|
|
8337
|
+
return U = re, this;
|
|
8312
8338
|
}, this;
|
|
8313
8339
|
};
|
|
8314
|
-
ue.VERSION = a, ue.BROWSER = { NAME: m, MAJOR: g, VERSION: C }, ue.CPU = { ARCHITECTURE: O }, ue.DEVICE = { MODEL: f, VENDOR: b, TYPE: S, CONSOLE: N, MOBILE: R, SMARTTV: pe, TABLET:
|
|
8340
|
+
ue.VERSION = a, ue.BROWSER = { NAME: m, MAJOR: g, VERSION: C }, ue.CPU = { ARCHITECTURE: O }, ue.DEVICE = { MODEL: f, VENDOR: b, TYPE: S, CONSOLE: N, MOBILE: R, SMARTTV: pe, TABLET: F, WEARABLE: _e, EMBEDDED: ee }, ue.ENGINE = { NAME: m, VERSION: C }, ue.OS = { NAME: m, VERSION: C }, typeof r !== h ? (typeof e !== h && e.exports && (r = e.exports = ue), r.UAParser = ue) : n(3) ? (i = (function() {
|
|
8315
8341
|
return ue;
|
|
8316
8342
|
}).call(r, n, r, e), i !== s && (e.exports = i)) : o && (o.UAParser = ue);
|
|
8317
8343
|
var we = o && (o.jQuery || o.Zepto);
|
|
@@ -8322,8 +8348,8 @@ function p1() {
|
|
|
8322
8348
|
}, we.ua.set = function(te) {
|
|
8323
8349
|
ve.setUA(te);
|
|
8324
8350
|
var z = ve.getResult();
|
|
8325
|
-
for (var
|
|
8326
|
-
we.ua[
|
|
8351
|
+
for (var U in z)
|
|
8352
|
+
we.ua[U] = z[U];
|
|
8327
8353
|
};
|
|
8328
8354
|
}
|
|
8329
8355
|
})(typeof window == "object" ? window : this);
|
|
@@ -8442,7 +8468,7 @@ const ko = class ko extends Dr {
|
|
|
8442
8468
|
constructor() {
|
|
8443
8469
|
super(), this._currentProgressElement = null, this._currentScreenElement = null, this._currentScreenModuleId = "", this._currentScreenConfig = null, this.orientation = new h1(this), this.store = He.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) => {
|
|
8444
8470
|
this.store.listener({
|
|
8445
|
-
eventType:
|
|
8471
|
+
eventType: Pn.MESSAGE,
|
|
8446
8472
|
message: r,
|
|
8447
8473
|
module: e
|
|
8448
8474
|
});
|
|
@@ -8487,7 +8513,7 @@ const ko = class ko extends Dr {
|
|
|
8487
8513
|
return (!this._currentScreenElement || !this._isTheSameModuleAndScreen(e)) && (this._currentScreenElement = Ws(e.id, r), this._currentScreenModuleId = e.id, this._currentScreenConfig = this.currentScreenConfig), this._currentScreenElement;
|
|
8488
8514
|
}
|
|
8489
8515
|
get version() {
|
|
8490
|
-
return `${"3.2.
|
|
8516
|
+
return `${"3.2.252-nightly".trim()}`;
|
|
8491
8517
|
}
|
|
8492
8518
|
disconnectedCallback() {
|
|
8493
8519
|
Vi.clearLogs();
|
|
@@ -8507,34 +8533,34 @@ const ko = class ko extends Dr {
|
|
|
8507
8533
|
}
|
|
8508
8534
|
};
|
|
8509
8535
|
ko.styles = [sc];
|
|
8510
|
-
let
|
|
8536
|
+
let $t = ko;
|
|
8511
8537
|
Ir([
|
|
8512
8538
|
Er()
|
|
8513
|
-
],
|
|
8539
|
+
], $t.prototype, "store");
|
|
8514
8540
|
Ir([
|
|
8515
8541
|
Er()
|
|
8516
|
-
],
|
|
8542
|
+
], $t.prototype, "currentScreenConfig");
|
|
8517
8543
|
Ir([
|
|
8518
8544
|
Er()
|
|
8519
|
-
],
|
|
8545
|
+
], $t.prototype, "processingScreenFromWorkflow");
|
|
8520
8546
|
Ir([
|
|
8521
8547
|
Er()
|
|
8522
|
-
],
|
|
8548
|
+
], $t.prototype, "isProcessing");
|
|
8523
8549
|
Ir([
|
|
8524
8550
|
Er()
|
|
8525
|
-
],
|
|
8551
|
+
], $t.prototype, "loadedModules");
|
|
8526
8552
|
Ir([
|
|
8527
8553
|
Er()
|
|
8528
|
-
],
|
|
8554
|
+
], $t.prototype, "modulesConfig");
|
|
8529
8555
|
class x1 {
|
|
8530
8556
|
/** main commands */
|
|
8531
8557
|
initialize(e) {
|
|
8532
|
-
return
|
|
8558
|
+
return P(this, null, function* () {
|
|
8533
8559
|
return He.getState().initialize(e);
|
|
8534
8560
|
});
|
|
8535
8561
|
}
|
|
8536
8562
|
configure(e) {
|
|
8537
|
-
return
|
|
8563
|
+
return P(this, null, function* () {
|
|
8538
8564
|
return "userName" in e ? yield He.getState().configureByUserPass(e) : "apiKey" in e ? yield He.getState().configureByApiKey(e) : "url" in e && Object.keys(e).length === 1 ? yield He.getState().configureWithUrl(e.url) : {
|
|
8539
8565
|
error: new Ve({
|
|
8540
8566
|
errorCode: Le.CONFIG_MISSED_OR_INVALID,
|
|
@@ -8544,17 +8570,17 @@ class x1 {
|
|
|
8544
8570
|
});
|
|
8545
8571
|
}
|
|
8546
8572
|
getWorkFlows(e) {
|
|
8547
|
-
return
|
|
8573
|
+
return P(this, null, function* () {
|
|
8548
8574
|
return yield He.getState().getWorkflows(e);
|
|
8549
8575
|
});
|
|
8550
8576
|
}
|
|
8551
8577
|
prepareWorkflow(r) {
|
|
8552
|
-
return
|
|
8578
|
+
return P(this, arguments, function* ({ workflowId: e }) {
|
|
8553
8579
|
return yield He.getState().prepareWorkflowAndPrepareUi(e);
|
|
8554
8580
|
});
|
|
8555
8581
|
}
|
|
8556
8582
|
startWorkflow(e) {
|
|
8557
|
-
return
|
|
8583
|
+
return P(this, null, function* () {
|
|
8558
8584
|
return new Promise((r) => {
|
|
8559
8585
|
const n = (a) => {
|
|
8560
8586
|
r(a);
|
|
@@ -8566,13 +8592,13 @@ class x1 {
|
|
|
8566
8592
|
});
|
|
8567
8593
|
}
|
|
8568
8594
|
deinitialize() {
|
|
8569
|
-
return
|
|
8595
|
+
return P(this, null, function* () {
|
|
8570
8596
|
return yield He.getState().deinitialize();
|
|
8571
8597
|
});
|
|
8572
8598
|
}
|
|
8573
8599
|
/** service commands */
|
|
8574
8600
|
get version() {
|
|
8575
|
-
return "3.2.
|
|
8601
|
+
return "3.2.252-nightly";
|
|
8576
8602
|
}
|
|
8577
8603
|
set nonce(e) {
|
|
8578
8604
|
He.getState().setNonce(e);
|
|
@@ -8589,21 +8615,21 @@ class x1 {
|
|
|
8589
8615
|
}
|
|
8590
8616
|
}
|
|
8591
8617
|
const g1 = window.customElements.get("idv-flow");
|
|
8592
|
-
g1 || window.customElements.define("idv-flow",
|
|
8618
|
+
g1 || window.customElements.define("idv-flow", $t);
|
|
8593
8619
|
export {
|
|
8594
8620
|
Ce as BaseError,
|
|
8595
8621
|
_d as BaseModule,
|
|
8596
|
-
|
|
8622
|
+
Kt as ConnectionError,
|
|
8597
8623
|
Un as DeinitializationError,
|
|
8598
|
-
|
|
8624
|
+
Pn as IdvEventTypesEnum,
|
|
8599
8625
|
x1 as IdvIntegrationService,
|
|
8600
|
-
|
|
8601
|
-
|
|
8626
|
+
Mr as IdvServiceMessages,
|
|
8627
|
+
$t as IdvWebComponent,
|
|
8602
8628
|
Xn as InitializeError,
|
|
8603
|
-
|
|
8629
|
+
St as PrepareWorkflowError,
|
|
8604
8630
|
at as SessionError,
|
|
8605
|
-
|
|
8631
|
+
tr as StartSessionError,
|
|
8606
8632
|
Ke as WorkflowError,
|
|
8607
|
-
|
|
8633
|
+
Et as WorkflowPlatformError,
|
|
8608
8634
|
md as registerModule
|
|
8609
8635
|
};
|