@regulaforensics/idv-capture-web 3.6.399-nightly → 3.6.400-nightly

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -347,8 +347,8 @@ let Rc = class cM {
347
347
  for (; (s = Wi.nextNode()) !== null && c.length < d; ) {
348
348
  if (s.nodeType === 1) {
349
349
  if (s.hasAttributes()) for (const p of s.getAttributeNames()) if (p.endsWith(sM)) {
350
- const h = M[l++], y = s.getAttribute(p).split(Ii), D = /([.?@])?(.*)/.exec(h);
351
- c.push({ type: 1, index: a, name: D[2], strings: y, ctor: D[1] === "." ? x_ : D[1] === "?" ? b_ : D[1] === "@" ? z_ : Bu }), s.removeAttribute(p);
350
+ const h = M[l++], y = s.getAttribute(p).split(Ii), N = /([.?@])?(.*)/.exec(h);
351
+ c.push({ type: 1, index: a, name: N[2], strings: y, ctor: N[1] === "." ? x_ : N[1] === "?" ? b_ : N[1] === "@" ? z_ : Bu }), s.removeAttribute(p);
352
352
  } else p.startsWith(Ii) && (c.push({ type: 6, index: a }), s.removeAttribute(p));
353
353
  if (uM.test(s.tagName)) {
354
354
  const p = s.textContent.split(Ii), h = p.length - 1;
@@ -717,9 +717,9 @@ function Su() {
717
717
  }
718
718
  }
719
719
  function NM(r, e, t, o, s, a, l, d, c, g, M) {
720
- var p, h, y, D, N, m, T, E = o && o.__k || wu, w = e.length;
721
- for (c = V_(t, e, E, c, w), p = 0; p < w; p++) (y = t.__k[p]) != null && (h = y.__i != -1 && E[y.__i] || vu, y.__i = p, m = od(r, y, h, s, a, l, d, c, g, M), D = y.__e, y.ref && h.ref != y.ref && (h.ref && sd(h.ref, null, y), M.push(y.ref, y.__c || D, y)), N == null && D != null && (N = D), (T = !!(4 & y.__u)) || h.__k === y.__k ? (c = DM(y, c, r, T), T && h.__e && (h.__e = null)) : typeof y.type == "function" && m !== void 0 ? c = m : D && (c = D.nextSibling), y.__u &= -7);
722
- return t.__e = N, c;
720
+ var p, h, y, N, D, m, T, v = o && o.__k || wu, w = e.length;
721
+ for (c = V_(t, e, v, c, w), p = 0; p < w; p++) (y = t.__k[p]) != null && (h = y.__i != -1 && v[y.__i] || vu, y.__i = p, m = od(r, y, h, s, a, l, d, c, g, M), N = y.__e, y.ref && h.ref != y.ref && (h.ref && sd(h.ref, null, y), M.push(y.ref, y.__c || N, y)), D == null && N != null && (D = N), (T = !!(4 & y.__u)) || h.__k === y.__k ? (c = DM(y, c, r, T), T && h.__e && (h.__e = null)) : typeof y.type == "function" && m !== void 0 ? c = m : N && (c = N.nextSibling), y.__u &= -7);
722
+ return t.__e = D, c;
723
723
  }
724
724
  function V_(r, e, t, o, s) {
725
725
  var a, l, d, c, g, M = t.length, p = M, h = 0;
@@ -784,27 +784,27 @@ function oh(r) {
784
784
  };
785
785
  }
786
786
  function od(r, e, t, o, s, a, l, d, c, g) {
787
- var M, p, h, y, D, N, m, T, E, w, S, R, Y, $, Z, le = e.type;
787
+ var M, p, h, y, N, D, m, T, v, w, S, R, Y, $, Z, le = e.type;
788
788
  if (e.constructor !== void 0) return null;
789
789
  128 & t.__u && (c = !!(32 & t.__u), a = [d = e.__e = t.__e]), (M = Be.__b) && M(e);
790
790
  e: if (typeof le == "function") try {
791
- if (T = e.props, E = le.prototype && le.prototype.render, w = (M = le.contextType) && o[M.__c], S = M ? w ? w.props.value : M.__ : o, t.__c ? m = (p = e.__c = t.__c).__ = p.__E : (E ? e.__c = p = new le(T, S) : (e.__c = p = new ar(T, S), p.constructor = le, p.render = G_), w && w.sub(p), p.state || (p.state = {}), p.__n = o, h = p.__d = !0, p.__h = [], p._sb = []), E && p.__s == null && (p.__s = p.state), E && le.getDerivedStateFromProps != null && (p.__s == p.state && (p.__s = Ir({}, p.__s)), Ir(p.__s, le.getDerivedStateFromProps(T, p.__s))), y = p.props, D = p.state, p.__v = e, h) E && le.getDerivedStateFromProps == null && p.componentWillMount != null && p.componentWillMount(), E && p.componentDidMount != null && p.__h.push(p.componentDidMount);
791
+ if (T = e.props, v = le.prototype && le.prototype.render, w = (M = le.contextType) && o[M.__c], S = M ? w ? w.props.value : M.__ : o, t.__c ? m = (p = e.__c = t.__c).__ = p.__E : (v ? e.__c = p = new le(T, S) : (e.__c = p = new ar(T, S), p.constructor = le, p.render = G_), w && w.sub(p), p.state || (p.state = {}), p.__n = o, h = p.__d = !0, p.__h = [], p._sb = []), v && p.__s == null && (p.__s = p.state), v && le.getDerivedStateFromProps != null && (p.__s == p.state && (p.__s = Ir({}, p.__s)), Ir(p.__s, le.getDerivedStateFromProps(T, p.__s))), y = p.props, N = p.state, p.__v = e, h) v && le.getDerivedStateFromProps == null && p.componentWillMount != null && p.componentWillMount(), v && p.componentDidMount != null && p.__h.push(p.componentDidMount);
792
792
  else {
793
- if (E && le.getDerivedStateFromProps == null && T !== y && p.componentWillReceiveProps != null && p.componentWillReceiveProps(T, S), e.__v == t.__v || !p.__e && p.shouldComponentUpdate != null && p.shouldComponentUpdate(T, p.__s, S) === !1) {
793
+ if (v && le.getDerivedStateFromProps == null && T !== y && p.componentWillReceiveProps != null && p.componentWillReceiveProps(T, S), e.__v == t.__v || !p.__e && p.shouldComponentUpdate != null && p.shouldComponentUpdate(T, p.__s, S) === !1) {
794
794
  e.__v != t.__v && (p.props = T, p.state = p.__s, p.__d = !1), e.__e = t.__e, e.__k = t.__k, e.__k.some(function(q) {
795
795
  q && (q.__ = e);
796
796
  }), wu.push.apply(p.__h, p._sb), p._sb = [], p.__h.length && l.push(p);
797
797
  break e;
798
798
  }
799
- p.componentWillUpdate != null && p.componentWillUpdate(T, p.__s, S), E && p.componentDidUpdate != null && p.__h.push(function() {
800
- p.componentDidUpdate(y, D, N);
799
+ p.componentWillUpdate != null && p.componentWillUpdate(T, p.__s, S), v && p.componentDidUpdate != null && p.__h.push(function() {
800
+ p.componentDidUpdate(y, N, D);
801
801
  });
802
802
  }
803
- if (p.context = S, p.props = T, p.__P = r, p.__e = !1, R = Be.__r, Y = 0, E) p.state = p.__s, p.__d = !1, R && R(e), M = p.render(p.props, p.state, p.context), wu.push.apply(p.__h, p._sb), p._sb = [];
803
+ if (p.context = S, p.props = T, p.__P = r, p.__e = !1, R = Be.__r, Y = 0, v) p.state = p.__s, p.__d = !1, R && R(e), M = p.render(p.props, p.state, p.context), wu.push.apply(p.__h, p._sb), p._sb = [];
804
804
  else do
805
805
  p.__d = !1, R && R(e), M = p.render(p.props, p.state, p.context), p.state = p.__s;
806
806
  while (p.__d && ++Y < 25);
807
- p.state = p.__s, p.getChildContext != null && (o = Ir(Ir({}, o), p.getChildContext())), E && !h && p.getSnapshotBeforeUpdate != null && (N = p.getSnapshotBeforeUpdate(y, D)), $ = M != null && M.type === Qt && M.key == null ? mM(M.props.children) : M, d = NM(r, da($) ? $ : [$], e, t, o, s, a, l, d, c, g), p.base = e.__e, e.__u &= -161, p.__h.length && l.push(p), m && (p.__E = p.__ = null);
807
+ p.state = p.__s, p.getChildContext != null && (o = Ir(Ir({}, o), p.getChildContext())), v && !h && p.getSnapshotBeforeUpdate != null && (D = p.getSnapshotBeforeUpdate(y, N)), $ = M != null && M.type === Qt && M.key == null ? mM(M.props.children) : M, d = NM(r, da($) ? $ : [$], e, t, o, s, a, l, d, c, g), p.base = e.__e, e.__u &= -161, p.__h.length && l.push(p), m && (p.__E = p.__ = null);
808
808
  } catch (q) {
809
809
  if (e.__v = null, c || a != null) if (q.then) {
810
810
  for (e.__u |= c ? 160 : 128; d && d.nodeType == 8 && d.nextSibling; ) d = d.nextSibling;
@@ -838,25 +838,25 @@ function mM(r) {
838
838
  return typeof r != "object" || r == null || r.__b > 0 ? r : da(r) ? r.map(mM) : Ir({}, r);
839
839
  }
840
840
  function H_(r, e, t, o, s, a, l, d, c) {
841
- var g, M, p, h, y, D, N, m = t.props || vu, T = e.props, E = e.type;
842
- if (E == "svg" ? s = "http://www.w3.org/2000/svg" : E == "math" ? s = "http://www.w3.org/1998/Math/MathML" : s || (s = "http://www.w3.org/1999/xhtml"), a != null) {
843
- for (g = 0; g < a.length; g++) if ((y = a[g]) && "setAttribute" in y == !!E && (E ? y.localName == E : y.nodeType == 3)) {
841
+ var g, M, p, h, y, N, D, m = t.props || vu, T = e.props, v = e.type;
842
+ if (v == "svg" ? s = "http://www.w3.org/2000/svg" : v == "math" ? s = "http://www.w3.org/1998/Math/MathML" : s || (s = "http://www.w3.org/1999/xhtml"), a != null) {
843
+ for (g = 0; g < a.length; g++) if ((y = a[g]) && "setAttribute" in y == !!v && (v ? y.localName == v : y.nodeType == 3)) {
844
844
  r = y, a[g] = null;
845
845
  break;
846
846
  }
847
847
  }
848
848
  if (r == null) {
849
- if (E == null) return document.createTextNode(T);
850
- r = document.createElementNS(s, E, T.is && T), d && (Be.__m && Be.__m(e, a), d = !1), a = null;
849
+ if (v == null) return document.createTextNode(T);
850
+ r = document.createElementNS(s, v, T.is && T), d && (Be.__m && Be.__m(e, a), d = !1), a = null;
851
851
  }
852
- if (E == null) m === T || d && r.data == T || (r.data = T);
852
+ if (v == null) m === T || d && r.data == T || (r.data = T);
853
853
  else {
854
854
  if (a = a && ca.call(r.childNodes), !d && a != null) for (m = {}, g = 0; g < r.attributes.length; g++) m[(y = r.attributes[g]).name] = y.value;
855
855
  for (g in m) y = m[g], g == "dangerouslySetInnerHTML" ? p = y : g == "children" || g in T || g == "value" && "defaultValue" in T || g == "checked" && "defaultChecked" in T || Mu(r, g, null, y, s);
856
- for (g in T) y = T[g], g == "children" ? h = y : g == "dangerouslySetInnerHTML" ? M = y : g == "value" ? D = y : g == "checked" ? N = y : d && typeof y != "function" || m[g] === y || Mu(r, g, y, m[g], s);
856
+ for (g in T) y = T[g], g == "children" ? h = y : g == "dangerouslySetInnerHTML" ? M = y : g == "value" ? N = y : g == "checked" ? D = y : d && typeof y != "function" || m[g] === y || Mu(r, g, y, m[g], s);
857
857
  if (M) d || p && (M.__html == p.__html || M.__html == r.innerHTML) || (r.innerHTML = M.__html), e.__k = [];
858
- else if (p && (r.innerHTML = ""), NM(e.type == "template" ? r.content : r, da(h) ? h : [h], e, t, o, E == "foreignObject" ? "http://www.w3.org/1999/xhtml" : s, a, l, a ? a[0] : t.__k && ns(t, 0), d, c), a != null) for (g = a.length; g--; ) id(a[g]);
859
- d || (g = "value", E == "progress" && D == null ? r.removeAttribute("value") : D != null && (D !== r[g] || E == "progress" && !D || E == "option" && D != m[g]) && Mu(r, g, D, m[g], s), g = "checked", N != null && N != r[g] && Mu(r, g, N, m[g], s));
858
+ else if (p && (r.innerHTML = ""), NM(e.type == "template" ? r.content : r, da(h) ? h : [h], e, t, o, v == "foreignObject" ? "http://www.w3.org/1999/xhtml" : s, a, l, a ? a[0] : t.__k && ns(t, 0), d, c), a != null) for (g = a.length; g--; ) id(a[g]);
859
+ d || (g = "value", v == "progress" && N == null ? r.removeAttribute("value") : N != null && (N !== r[g] || v == "progress" && !N || v == "option" && N != m[g]) && Mu(r, g, N, m[g], s), g = "checked", D != null && D != r[g] && Mu(r, g, D, m[g], s));
860
860
  }
861
861
  return r;
862
862
  }
@@ -1495,7 +1495,7 @@ var Bs = { exports: {} }, pT = Bs.exports, _h;
1495
1495
  function IT() {
1496
1496
  return _h || (_h = 1, (function(r, e) {
1497
1497
  (function(t, o) {
1498
- var s = "1.0.41", a = "", l = "?", d = "function", c = "undefined", g = "object", M = "string", p = "major", h = "model", y = "name", D = "type", N = "vendor", m = "version", T = "architecture", E = "console", w = "mobile", S = "tablet", R = "smarttv", Y = "wearable", $ = "embedded", Z = 500, le = "Amazon", q = "Apple", De = "ASUS", ne = "BlackBerry", Ae = "Browser", Ie = "Chrome", me = "Edge", Se = "Firefox", ke = "Google", Ce = "Honor", ce = "Huawei", Ee = "Lenovo", ae = "LG", _e = "Microsoft", Ze = "Motorola", xe = "Nvidia", de = "OnePlus", Ye = "Opera", Pe = "OPPO", Tt = "Samsung", tn = "Sharp", zt = "Sony", Rn = "Xiaomi", Bt = "Zebra", nn = "Facebook", Kn = "Chromium OS", Nt = "Mac OS", rn = " Browser", Jn = function(re, ge) {
1498
+ var s = "1.0.41", a = "", l = "?", d = "function", c = "undefined", g = "object", M = "string", p = "major", h = "model", y = "name", N = "type", D = "vendor", m = "version", T = "architecture", v = "console", w = "mobile", S = "tablet", R = "smarttv", Y = "wearable", $ = "embedded", Z = 500, le = "Amazon", q = "Apple", De = "ASUS", ne = "BlackBerry", Ae = "Browser", Ie = "Chrome", me = "Edge", Se = "Firefox", ke = "Google", Ce = "Honor", ce = "Huawei", Ee = "Lenovo", ae = "LG", _e = "Microsoft", Ze = "Motorola", xe = "Nvidia", de = "OnePlus", Ye = "Opera", Pe = "OPPO", Tt = "Samsung", tn = "Sharp", zt = "Sony", Rn = "Xiaomi", Bt = "Zebra", nn = "Facebook", Kn = "Chromium OS", Nt = "Mac OS", rn = " Browser", Jn = function(re, ge) {
1499
1499
  var pe = {};
1500
1500
  for (var Ue in re)
1501
1501
  ge[Ue] && ge[Ue].length % 2 === 0 ? pe[Ue] = ge[Ue].concat(re[Ue]) : pe[Ue] = re[Ue];
@@ -1531,7 +1531,7 @@ function IT() {
1531
1531
  } else if (dn(ge[pe], re))
1532
1532
  return pe === l ? o : pe;
1533
1533
  return ge.hasOwnProperty("*") ? ge["*"] : re;
1534
- }, Q = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, ee = { 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" }, te = { 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, Ye + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [m, [y, Ye + " GX"]], [/\bopr\/([\w\.]+)/i], [m, [y, Ye]], [/\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" + Ae]], [/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 " + Ae]], [/(avast|avg)\/([\w\.]+)/i], [[y, /(.+)/, "$1 Secure " + Ae], m], [/\bfocus\/([\w\.]+)/i], [m, [y, Se + " Focus"]], [/\bopt\/([\w\.]+)/i], [m, [y, Ye + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [m, [y, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [m, [y, "Dolphin"]], [/coast\/([\w\.]+)/i], [m, [y, Ye + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [m, [y, "MIUI" + rn]], [/fxios\/([\w\.-]+)/i], [m, [y, Se]], [/\bqihoobrowser\/?([\w\.]*)/i], [m, [y, "360"]], [/\b(qq)\/([\w\.]+)/i], [[y, /(.+)/, "$1Browser"], m], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[y, /(.+)/, "$1" + rn], m], [/samsungbrowser\/([\w\.]+)/i], [m, [y, Tt + " 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, nn], 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, Ie + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[y, Ie + " WebView"], m], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [m, [y, "Android " + Ae]], [/(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, k, Q]], [/(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, Se + " 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], [[T, "amd64"]], [/(ia32(?=;))/i, /\b((i[346]|x)86)(pc)?\b/i], [[T, "ia32"]], [/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i], [[T, "arm64"]], [/\b(arm(v[67])?ht?n?[fl]p?)\b/i], [[T, "armhf"]], [/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i], [[T, "arm"]], [/((ppc|powerpc)(64)?)( mac|;|\))/i], [[T, /ower/, a, fn]], [/ sun4\w[;\)]/i], [[T, "sparc"]], [/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i], [[T, fn]]], 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], [h, [N, Tt], [D, S]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [h, [N, Tt], [D, w]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [h, [N, q], [D, w]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [h, [N, q], [D, S]], [/(macintosh);/i], [h, [N, q]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [h, [N, tn], [D, w]], [/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i], [h, [N, Ce], [D, S]], [/honor([-\w ]+)[;\)]/i], [h, [N, Ce], [D, w]], [/\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], [h, [N, ce], [D, S]], [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [h, [N, ce], [D, w]], [/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i, /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i], [[h, /_/g, " "], [N, Rn], [D, S]], [/\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], [[h, /_/g, " "], [N, Rn], [D, w]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [h, [N, Pe], [D, w]], [/\b(opd2(\d{3}a?))(?: bui|\))/i], [h, [N, k, { OnePlus: ["304", "403", "203"], "*": Pe }], [D, S]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [h, [N, "Vivo"], [D, w]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [h, [N, "Realme"], [D, w]], [/\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], [h, [N, Ze], [D, w]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [h, [N, Ze], [D, S]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [h, [N, ae], [D, S]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i, /\blg-?([\d\w]+) bui/i], [h, [N, ae], [D, w]], [/(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], [h, [N, Ee], [D, S]], [/(nokia) (t[12][01])/i], [N, h, [D, S]], [/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i, /nokia[-_ ]?(([-\w\. ]*))/i], [[h, /_/g, " "], [D, w], [N, "Nokia"]], [/(pixel (c|tablet))\b/i], [h, [N, ke], [D, S]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [h, [N, ke], [D, w]], [/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], [h, [N, zt], [D, w]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[h, "Xperia Tablet"], [N, zt], [D, S]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [h, [N, de], [D, w]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [h, [N, le], [D, S]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[h, /(.+)/g, "Fire Phone $1"], [N, le], [D, w]], [/(playbook);[-\w\),; ]+(rim)/i], [h, N, [D, S]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [h, [N, ne], [D, w]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [h, [N, De], [D, S]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [h, [N, De], [D, w]], [/(nexus 9)/i], [h, [N, "HTC"], [D, S]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [N, [h, /_/g, " "], [D, w]], [/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], [h, [N, "TCL"], [D, S]], [/(itel) ((\w+))/i], [[N, fn], h, [D, k, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [h, [N, "Acer"], [D, S]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [h, [N, "Meizu"], [D, w]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [h, [N, "Ulefone"], [D, w]], [/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i], [h, [N, "Energizer"], [D, w]], [/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i], [h, [N, "Cat"], [D, w]], [/((?:new )?andromax[\w- ]+)(?: bui|\))/i], [h, [N, "Smartfren"], [D, w]], [/droid.+; (a(?:015|06[35]|142p?))/i], [h, [N, "Nothing"], [D, w]], [/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i, /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i], [h, [N, "Archos"], [D, S]], [/archos ([\w ]+)( b|\))/i, /; (ac[3-6]\d\w{2,8})( b|\))/i], [h, [N, "Archos"], [D, w]], [/(imo) (tab \w+)/i, /(infinix) (x1101b?)/i], [N, h, [D, S]], [/(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], [N, h, [D, w]], [/(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], [N, h, [D, S]], [/(surface duo)/i], [h, [N, _e], [D, S]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [h, [N, "Fairphone"], [D, w]], [/(u304aa)/i], [h, [N, "AT&T"], [D, w]], [/\bsie-(\w*)/i], [h, [N, "Siemens"], [D, w]], [/\b(rct\w+) b/i], [h, [N, "RCA"], [D, S]], [/\b(venue[\d ]{2,7}) b/i], [h, [N, "Dell"], [D, S]], [/\b(q(?:mv|ta)\w+) b/i], [h, [N, "Verizon"], [D, S]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [h, [N, "Barnes & Noble"], [D, S]], [/\b(tm\d{3}\w+) b/i], [h, [N, "NuVision"], [D, S]], [/\b(k88) b/i], [h, [N, "ZTE"], [D, S]], [/\b(nx\d{3}j) b/i], [h, [N, "ZTE"], [D, w]], [/\b(gen\d{3}) b.+49h/i], [h, [N, "Swiss"], [D, w]], [/\b(zur\d{3}) b/i], [h, [N, "Swiss"], [D, S]], [/\b((zeki)?tb.*\b) b/i], [h, [N, "Zeki"], [D, S]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[N, "Dragon Touch"], h, [D, S]], [/\b(ns-?\w{0,9}) b/i], [h, [N, "Insignia"], [D, S]], [/\b((nxa|next)-?\w{0,9}) b/i], [h, [N, "NextBook"], [D, S]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[N, "Voice"], h, [D, w]], [/\b(lvtel\-)?(v1[12]) b/i], [[N, "LvTel"], h, [D, w]], [/\b(ph-1) /i], [h, [N, "Essential"], [D, w]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [h, [N, "Envizen"], [D, S]], [/\b(trio[-\w\. ]+) b/i], [h, [N, "MachSpeed"], [D, S]], [/\btu_(1491) b/i], [h, [N, "Rotor"], [D, S]], [/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i], [h, [N, xe], [D, S]], [/(sprint) (\w+)/i], [N, h, [D, w]], [/(kin\.[onetw]{3})/i], [[h, /\./g, " "], [N, _e], [D, w]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [h, [N, Bt], [D, S]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [h, [N, Bt], [D, w]], [/smart-tv.+(samsung)/i], [N, [D, R]], [/hbbtv.+maple;(\d+)/i], [[h, /^/, "SmartTV"], [N, Tt], [D, R]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[N, ae], [D, R]], [/(apple) ?tv/i], [N, [h, q + " TV"], [D, R]], [/crkey/i], [[h, Ie + "cast"], [N, ke], [D, R]], [/droid.+aft(\w+)( bui|\))/i], [h, [N, le], [D, R]], [/(shield \w+ tv)/i], [h, [N, xe], [D, R]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [h, [N, tn], [D, R]], [/(bravia[\w ]+)( bui|\))/i], [h, [N, zt], [D, R]], [/(mi(tv|box)-?\w+) bui/i], [h, [N, Rn], [D, R]], [/Hbbtv.*(technisat) (.*);/i], [N, h, [D, R]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[N, Mt], [h, Mt], [D, R]], [/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i], [h, [D, R]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[D, R]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [N, h, [D, E]], [/droid.+; (shield)( bui|\))/i], [h, [N, xe], [D, E]], [/(playstation \w+)/i], [h, [N, zt], [D, E]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [h, [N, _e], [D, E]], [/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i], [h, [N, Tt], [D, Y]], [/((pebble))app/i, /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i], [N, h, [D, Y]], [/(ow(?:19|20)?we?[1-3]{1,3})/i], [h, [N, Pe], [D, Y]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [h, [N, q], [D, Y]], [/(opwwe\d{3})/i], [h, [N, de], [D, Y]], [/(moto 360)/i], [h, [N, Ze], [D, Y]], [/(smartwatch 3)/i], [h, [N, zt], [D, Y]], [/(g watch r)/i], [h, [N, ae], [D, Y]], [/droid.+; (wt63?0{2,3})\)/i], [h, [N, Bt], [D, Y]], [/droid.+; (glass) \d/i], [h, [N, ke], [D, Y]], [/(pico) (4|neo3(?: link|pro)?)/i], [N, h, [D, Y]], [/; (quest( \d| pro)?)/i], [h, [N, nn], [D, Y]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [N, [D, $]], [/(aeobc)\b/i], [h, [N, le], [D, $]], [/(homepod).+mac os/i], [h, [N, q], [D, $]], [/windows iot/i], [[D, $]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [h, [D, w]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [h, [D, S]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[D, S]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[D, w]], [/droid .+?; ([\w\. -]+)( bui|\))/i], [h, [N, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [m, [y, me + "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, k, ee]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[m, k, ee], [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, Nt], [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, ne]], [/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i], [m, [y, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [m, [y, Se + " 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, Ie + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[y, Kn], 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]] }, J = function(re, ge) {
1534
+ }, Q = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, ee = { 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" }, te = { 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, Ye + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [m, [y, Ye + " GX"]], [/\bopr\/([\w\.]+)/i], [m, [y, Ye]], [/\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" + Ae]], [/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 " + Ae]], [/(avast|avg)\/([\w\.]+)/i], [[y, /(.+)/, "$1 Secure " + Ae], m], [/\bfocus\/([\w\.]+)/i], [m, [y, Se + " Focus"]], [/\bopt\/([\w\.]+)/i], [m, [y, Ye + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [m, [y, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [m, [y, "Dolphin"]], [/coast\/([\w\.]+)/i], [m, [y, Ye + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [m, [y, "MIUI" + rn]], [/fxios\/([\w\.-]+)/i], [m, [y, Se]], [/\bqihoobrowser\/?([\w\.]*)/i], [m, [y, "360"]], [/\b(qq)\/([\w\.]+)/i], [[y, /(.+)/, "$1Browser"], m], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[y, /(.+)/, "$1" + rn], m], [/samsungbrowser\/([\w\.]+)/i], [m, [y, Tt + " 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, nn], 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, Ie + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[y, Ie + " WebView"], m], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [m, [y, "Android " + Ae]], [/(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, k, Q]], [/(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, Se + " 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], [[T, "amd64"]], [/(ia32(?=;))/i, /\b((i[346]|x)86)(pc)?\b/i], [[T, "ia32"]], [/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i], [[T, "arm64"]], [/\b(arm(v[67])?ht?n?[fl]p?)\b/i], [[T, "armhf"]], [/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i], [[T, "arm"]], [/((ppc|powerpc)(64)?)( mac|;|\))/i], [[T, /ower/, a, fn]], [/ sun4\w[;\)]/i], [[T, "sparc"]], [/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i], [[T, fn]]], 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], [h, [D, Tt], [N, S]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [h, [D, Tt], [N, w]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [h, [D, q], [N, w]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [h, [D, q], [N, S]], [/(macintosh);/i], [h, [D, q]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [h, [D, tn], [N, w]], [/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i], [h, [D, Ce], [N, S]], [/honor([-\w ]+)[;\)]/i], [h, [D, Ce], [N, w]], [/\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], [h, [D, ce], [N, S]], [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [h, [D, ce], [N, w]], [/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i, /\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i], [[h, /_/g, " "], [D, Rn], [N, S]], [/\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], [[h, /_/g, " "], [D, Rn], [N, w]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [h, [D, Pe], [N, w]], [/\b(opd2(\d{3}a?))(?: bui|\))/i], [h, [D, k, { OnePlus: ["304", "403", "203"], "*": Pe }], [N, S]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [h, [D, "Vivo"], [N, w]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [h, [D, "Realme"], [N, w]], [/\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], [h, [D, Ze], [N, w]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [h, [D, Ze], [N, S]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [h, [D, ae], [N, S]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i, /\blg-?([\d\w]+) bui/i], [h, [D, ae], [N, w]], [/(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], [h, [D, Ee], [N, S]], [/(nokia) (t[12][01])/i], [D, h, [N, S]], [/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i, /nokia[-_ ]?(([-\w\. ]*))/i], [[h, /_/g, " "], [N, w], [D, "Nokia"]], [/(pixel (c|tablet))\b/i], [h, [D, ke], [N, S]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [h, [D, ke], [N, w]], [/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], [h, [D, zt], [N, w]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[h, "Xperia Tablet"], [D, zt], [N, S]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [h, [D, de], [N, w]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [h, [D, le], [N, S]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[h, /(.+)/g, "Fire Phone $1"], [D, le], [N, w]], [/(playbook);[-\w\),; ]+(rim)/i], [h, D, [N, S]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [h, [D, ne], [N, w]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [h, [D, De], [N, S]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [h, [D, De], [N, w]], [/(nexus 9)/i], [h, [D, "HTC"], [N, S]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [D, [h, /_/g, " "], [N, w]], [/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], [h, [D, "TCL"], [N, S]], [/(itel) ((\w+))/i], [[D, fn], h, [N, k, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [h, [D, "Acer"], [N, S]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [h, [D, "Meizu"], [N, w]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [h, [D, "Ulefone"], [N, w]], [/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i], [h, [D, "Energizer"], [N, w]], [/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i], [h, [D, "Cat"], [N, w]], [/((?:new )?andromax[\w- ]+)(?: bui|\))/i], [h, [D, "Smartfren"], [N, w]], [/droid.+; (a(?:015|06[35]|142p?))/i], [h, [D, "Nothing"], [N, w]], [/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i, /archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i], [h, [D, "Archos"], [N, S]], [/archos ([\w ]+)( b|\))/i, /; (ac[3-6]\d\w{2,8})( b|\))/i], [h, [D, "Archos"], [N, w]], [/(imo) (tab \w+)/i, /(infinix) (x1101b?)/i], [D, h, [N, S]], [/(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], [D, h, [N, w]], [/(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], [D, h, [N, S]], [/(surface duo)/i], [h, [D, _e], [N, S]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [h, [D, "Fairphone"], [N, w]], [/(u304aa)/i], [h, [D, "AT&T"], [N, w]], [/\bsie-(\w*)/i], [h, [D, "Siemens"], [N, w]], [/\b(rct\w+) b/i], [h, [D, "RCA"], [N, S]], [/\b(venue[\d ]{2,7}) b/i], [h, [D, "Dell"], [N, S]], [/\b(q(?:mv|ta)\w+) b/i], [h, [D, "Verizon"], [N, S]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [h, [D, "Barnes & Noble"], [N, S]], [/\b(tm\d{3}\w+) b/i], [h, [D, "NuVision"], [N, S]], [/\b(k88) b/i], [h, [D, "ZTE"], [N, S]], [/\b(nx\d{3}j) b/i], [h, [D, "ZTE"], [N, w]], [/\b(gen\d{3}) b.+49h/i], [h, [D, "Swiss"], [N, w]], [/\b(zur\d{3}) b/i], [h, [D, "Swiss"], [N, S]], [/\b((zeki)?tb.*\b) b/i], [h, [D, "Zeki"], [N, S]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[D, "Dragon Touch"], h, [N, S]], [/\b(ns-?\w{0,9}) b/i], [h, [D, "Insignia"], [N, S]], [/\b((nxa|next)-?\w{0,9}) b/i], [h, [D, "NextBook"], [N, S]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[D, "Voice"], h, [N, w]], [/\b(lvtel\-)?(v1[12]) b/i], [[D, "LvTel"], h, [N, w]], [/\b(ph-1) /i], [h, [D, "Essential"], [N, w]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [h, [D, "Envizen"], [N, S]], [/\b(trio[-\w\. ]+) b/i], [h, [D, "MachSpeed"], [N, S]], [/\btu_(1491) b/i], [h, [D, "Rotor"], [N, S]], [/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i], [h, [D, xe], [N, S]], [/(sprint) (\w+)/i], [D, h, [N, w]], [/(kin\.[onetw]{3})/i], [[h, /\./g, " "], [D, _e], [N, w]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [h, [D, Bt], [N, S]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [h, [D, Bt], [N, w]], [/smart-tv.+(samsung)/i], [D, [N, R]], [/hbbtv.+maple;(\d+)/i], [[h, /^/, "SmartTV"], [D, Tt], [N, R]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[D, ae], [N, R]], [/(apple) ?tv/i], [D, [h, q + " TV"], [N, R]], [/crkey/i], [[h, Ie + "cast"], [D, ke], [N, R]], [/droid.+aft(\w+)( bui|\))/i], [h, [D, le], [N, R]], [/(shield \w+ tv)/i], [h, [D, xe], [N, R]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [h, [D, tn], [N, R]], [/(bravia[\w ]+)( bui|\))/i], [h, [D, zt], [N, R]], [/(mi(tv|box)-?\w+) bui/i], [h, [D, Rn], [N, R]], [/Hbbtv.*(technisat) (.*);/i], [D, h, [N, R]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[D, Mt], [h, Mt], [N, R]], [/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i], [h, [N, R]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[N, R]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [D, h, [N, v]], [/droid.+; (shield)( bui|\))/i], [h, [D, xe], [N, v]], [/(playstation \w+)/i], [h, [D, zt], [N, v]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [h, [D, _e], [N, v]], [/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i], [h, [D, Tt], [N, Y]], [/((pebble))app/i, /(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i], [D, h, [N, Y]], [/(ow(?:19|20)?we?[1-3]{1,3})/i], [h, [D, Pe], [N, Y]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [h, [D, q], [N, Y]], [/(opwwe\d{3})/i], [h, [D, de], [N, Y]], [/(moto 360)/i], [h, [D, Ze], [N, Y]], [/(smartwatch 3)/i], [h, [D, zt], [N, Y]], [/(g watch r)/i], [h, [D, ae], [N, Y]], [/droid.+; (wt63?0{2,3})\)/i], [h, [D, Bt], [N, Y]], [/droid.+; (glass) \d/i], [h, [D, ke], [N, Y]], [/(pico) (4|neo3(?: link|pro)?)/i], [D, h, [N, Y]], [/; (quest( \d| pro)?)/i], [h, [D, nn], [N, Y]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [D, [N, $]], [/(aeobc)\b/i], [h, [D, le], [N, $]], [/(homepod).+mac os/i], [h, [D, q], [N, $]], [/windows iot/i], [[N, $]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [h, [N, w]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [h, [N, S]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[N, S]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[N, w]], [/droid .+?; ([\w\. -]+)( bui|\))/i], [h, [D, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [m, [y, me + "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, k, ee]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[m, k, ee], [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, Nt], [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, ne]], [/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i], [m, [y, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [m, [y, Se + " 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, Ie + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[y, Kn], 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]] }, J = function(re, ge) {
1535
1535
  if (typeof re === g && (ge = re, re = o), !(this instanceof J))
1536
1536
  return new J(re, ge).getResult();
1537
1537
  var pe = typeof t !== c && t.navigator ? t.navigator : o, Ue = re || (pe && pe.userAgent ? pe.userAgent : a), pt = pe && pe.userAgentData ? pe.userAgentData : o, tt = ge ? Jn(te, ge) : te, We = pe && pe.userAgent == Ue;
@@ -1543,7 +1543,7 @@ function IT() {
1543
1543
  return Oe[T] = o, j.call(Oe, Ue, tt.cpu), Oe;
1544
1544
  }, this.getDevice = function() {
1545
1545
  var Oe = {};
1546
- return Oe[N] = o, Oe[h] = o, Oe[D] = o, j.call(Oe, Ue, tt.device), We && !Oe[D] && pt && pt.mobile && (Oe[D] = w), We && Oe[h] == "Macintosh" && pe && typeof pe.standalone !== c && pe.maxTouchPoints && pe.maxTouchPoints > 2 && (Oe[h] = "iPad", Oe[D] = S), Oe;
1546
+ return Oe[D] = o, Oe[h] = o, Oe[N] = o, j.call(Oe, Ue, tt.device), We && !Oe[N] && pt && pt.mobile && (Oe[N] = w), We && Oe[h] == "Macintosh" && pe && typeof pe.standalone !== c && pe.maxTouchPoints && pe.maxTouchPoints > 2 && (Oe[h] = "iPad", Oe[N] = S), Oe;
1547
1547
  }, this.getEngine = function() {
1548
1548
  var Oe = {};
1549
1549
  return Oe[y] = o, Oe[m] = o, j.call(Oe, Ue, tt.engine), Oe;
@@ -1558,7 +1558,7 @@ function IT() {
1558
1558
  return Ue = typeof Oe === M && Oe.length > Z ? Mt(Oe, Z) : Oe, this;
1559
1559
  }, this.setUA(Ue), this;
1560
1560
  };
1561
- J.VERSION = s, J.BROWSER = Dt([y, m, p]), J.CPU = Dt([T]), J.DEVICE = Dt([h, N, D, E, w, R, S, Y, $]), J.ENGINE = J.OS = Dt([y, m]), r.exports && (e = r.exports = J), e.UAParser = J;
1561
+ J.VERSION = s, J.BROWSER = Dt([y, m, p]), J.CPU = Dt([T]), J.DEVICE = Dt([h, D, N, v, w, R, S, Y, $]), J.ENGINE = J.OS = Dt([y, m]), r.exports && (e = r.exports = J), e.UAParser = J;
1562
1562
  var ie = typeof t !== c && (t.jQuery || t.Zepto);
1563
1563
  if (ie && !ie.ua) {
1564
1564
  var Le = new J();
@@ -1612,7 +1612,7 @@ function yT() {
1612
1612
  setUa: p,
1613
1613
  parseUserAgent: h
1614
1614
  });
1615
- function D(P, O) {
1615
+ function N(P, O) {
1616
1616
  var x = Object.keys(P);
1617
1617
  if (Object.getOwnPropertySymbols) {
1618
1618
  var B = Object.getOwnPropertySymbols(P);
@@ -1622,12 +1622,12 @@ function yT() {
1622
1622
  }
1623
1623
  return x;
1624
1624
  }
1625
- function N(P) {
1625
+ function D(P) {
1626
1626
  for (var O = 1; O < arguments.length; O++) {
1627
1627
  var x = arguments[O] != null ? arguments[O] : {};
1628
- O % 2 ? D(Object(x), !0).forEach(function(B) {
1628
+ O % 2 ? N(Object(x), !0).forEach(function(B) {
1629
1629
  S(P, B, x[B]);
1630
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(P, Object.getOwnPropertyDescriptors(x)) : D(Object(x)).forEach(function(B) {
1630
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(P, Object.getOwnPropertyDescriptors(x)) : N(Object(x)).forEach(function(B) {
1631
1631
  Object.defineProperty(P, B, Object.getOwnPropertyDescriptor(x, B));
1632
1632
  });
1633
1633
  }
@@ -1645,14 +1645,14 @@ function yT() {
1645
1645
  if (!(P instanceof O))
1646
1646
  throw new TypeError("Cannot call a class as a function");
1647
1647
  }
1648
- function E(P, O) {
1648
+ function v(P, O) {
1649
1649
  for (var x = 0; x < O.length; x++) {
1650
1650
  var B = O[x];
1651
1651
  B.enumerable = B.enumerable || !1, B.configurable = !0, "value" in B && (B.writable = !0), Object.defineProperty(P, B.key, B);
1652
1652
  }
1653
1653
  }
1654
1654
  function w(P, O, x) {
1655
- return O && E(P.prototype, O), P;
1655
+ return O && v(P.prototype, O), P;
1656
1656
  }
1657
1657
  function S(P, O, x) {
1658
1658
  return O in P ? Object.defineProperty(P, O, {
@@ -1855,7 +1855,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1855
1855
  userAgent: de(ye)
1856
1856
  };
1857
1857
  }, tn = function(O, x, B, V) {
1858
- return N({}, O, {
1858
+ return D({}, O, {
1859
1859
  vendor: de(x.vendor),
1860
1860
  model: de(x.model),
1861
1861
  os: de(B.name),
@@ -2225,10 +2225,10 @@ var NT = Ws.exports, Eh;
2225
2225
  function DT() {
2226
2226
  return Eh || (Eh = 1, (function(r, e) {
2227
2227
  (function() {
2228
- var t, o = "4.18.1", s = 200, a = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", l = "Expected a function", d = "Invalid `variable` option passed into `_.template`", c = "Invalid `imports` option passed into `_.template`", g = "__lodash_hash_undefined__", M = 500, p = "__lodash_placeholder__", h = 1, y = 2, D = 4, N = 1, m = 2, T = 1, E = 2, w = 4, S = 8, R = 16, Y = 32, $ = 64, Z = 128, le = 256, q = 512, De = 30, ne = "...", Ae = 800, Ie = 16, me = 1, Se = 2, ke = 3, Ce = 1 / 0, ce = 9007199254740991, Ee = 17976931348623157e292, ae = NaN, _e = 4294967295, Ze = _e - 1, xe = _e >>> 1, de = [
2228
+ var t, o = "4.18.1", s = 200, a = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", l = "Expected a function", d = "Invalid `variable` option passed into `_.template`", c = "Invalid `imports` option passed into `_.template`", g = "__lodash_hash_undefined__", M = 500, p = "__lodash_placeholder__", h = 1, y = 2, N = 4, D = 1, m = 2, T = 1, v = 2, w = 4, S = 8, R = 16, Y = 32, $ = 64, Z = 128, le = 256, q = 512, De = 30, ne = "...", Ae = 800, Ie = 16, me = 1, Se = 2, ke = 3, Ce = 1 / 0, ce = 9007199254740991, Ee = 17976931348623157e292, ae = NaN, _e = 4294967295, Ze = _e - 1, xe = _e >>> 1, de = [
2229
2229
  ["ary", Z],
2230
2230
  ["bind", T],
2231
- ["bindKey", E],
2231
+ ["bindKey", v],
2232
2232
  ["curry", S],
2233
2233
  ["curryRight", R],
2234
2234
  ["flip", q],
@@ -3081,7 +3081,7 @@ function DT() {
3081
3081
  return n === n && (u !== t && (n = n <= u ? n : u), i !== t && (n = n >= i ? n : i)), n;
3082
3082
  }
3083
3083
  function Yn(n, i, u, f, I, _) {
3084
- var C, z = i & h, U = i & y, H = i & D;
3084
+ var C, z = i & h, U = i & y, H = i & N;
3085
3085
  if (u && (C = I ? u(n, f, I, _) : u(n)), C !== t)
3086
3086
  return C;
3087
3087
  if (!It(n))
@@ -3284,7 +3284,7 @@ function DT() {
3284
3284
  }
3285
3285
  if (se && !G)
3286
3286
  return _ || (_ = new qn()), C || Wo(n) ? Hf(n, i, u, f, I, _) : Py(n, i, U, u, f, I, _);
3287
- if (!(u & N)) {
3287
+ if (!(u & D)) {
3288
3288
  var ve = G && rt.call(n, "__wrapped__"), Re = K && rt.call(i, "__wrapped__");
3289
3289
  if (ve || Re) {
3290
3290
  var He = ve ? n.value() : n, be = Re ? i.value() : i;
@@ -3315,7 +3315,7 @@ function DT() {
3315
3315
  var K = new qn();
3316
3316
  if (f)
3317
3317
  var se = f(H, G, U, n, i, K);
3318
- if (!(se === t ? xs(G, H, N | m, f, K) : se))
3318
+ if (!(se === t ? xs(G, H, D | m, f, K) : se))
3319
3319
  return !1;
3320
3320
  }
3321
3321
  }
@@ -3373,7 +3373,7 @@ function DT() {
3373
3373
  function Nf(n, i) {
3374
3374
  return Kl(n) && Jf(i) ? Xf(er(n), i) : function(u) {
3375
3375
  var f = ac(u, n);
3376
- return f === t && f === i ? uc(u, n) : xs(i, f, N | m);
3376
+ return f === t && f === i ? uc(u, n) : xs(i, f, D | m);
3377
3377
  };
3378
3378
  }
3379
3379
  function Ka(n, i, u, f, I) {
@@ -3887,7 +3887,7 @@ function DT() {
3887
3887
  });
3888
3888
  }
3889
3889
  function eu(n, i, u, f, I, _, C, z, U, H) {
3890
- var G = i & Z, K = i & T, se = i & E, ve = i & (S | R), Re = i & q, He = se ? t : zs(n);
3890
+ var G = i & Z, K = i & T, se = i & v, ve = i & (S | R), Re = i & q, He = se ? t : zs(n);
3891
3891
  function be() {
3892
3892
  for (var Je = arguments.length, et = F(Je), On = Je; On--; )
3893
3893
  et[On] = arguments[On];
@@ -4007,7 +4007,7 @@ function DT() {
4007
4007
  };
4008
4008
  }
4009
4009
  function wr(n, i, u, f, I, _, C, z) {
4010
- var U = i & E;
4010
+ var U = i & v;
4011
4011
  if (!U && typeof n != "function")
4012
4012
  throw new Fn(l);
4013
4013
  var H = f ? f.length : 0;
@@ -4043,7 +4043,7 @@ function DT() {
4043
4043
  return ks(n) ? t : n;
4044
4044
  }
4045
4045
  function Hf(n, i, u, f, I, _) {
4046
- var C = u & N, z = n.length, U = i.length;
4046
+ var C = u & D, z = n.length, U = i.length;
4047
4047
  if (z != U && !(C && U > z))
4048
4048
  return !1;
4049
4049
  var H = _.get(n), G = _.get(i);
@@ -4095,7 +4095,7 @@ function DT() {
4095
4095
  case Nt:
4096
4096
  var z = Dl;
4097
4097
  case Mt:
4098
- var U = f & N;
4098
+ var U = f & D;
4099
4099
  if (z || (z = xa), n.size != i.size && !U)
4100
4100
  return !1;
4101
4101
  var H = C.get(n);
@@ -4111,7 +4111,7 @@ function DT() {
4111
4111
  return !1;
4112
4112
  }
4113
4113
  function Fy(n, i, u, f, I, _) {
4114
- var C = u & N, z = Vl(n), U = z.length, H = Vl(i), G = H.length;
4114
+ var C = u & D, z = Vl(n), U = z.length, H = Vl(i), G = H.length;
4115
4115
  if (U != G && !C)
4116
4116
  return !1;
4117
4117
  for (var K = U; K--; ) {
@@ -4358,7 +4358,7 @@ function DT() {
4358
4358
  return i;
4359
4359
  }
4360
4360
  function Xy(n, i) {
4361
- var u = n[1], f = i[1], I = u | f, _ = I < (T | E | Z), C = f == Z && u == S || f == Z && u == le && n[7].length <= i[8] || f == (Z | le) && i[7].length <= i[8] && u == S;
4361
+ var u = n[1], f = i[1], I = u | f, _ = I < (T | v | Z), C = f == Z && u == S || f == Z && u == le && n[7].length <= i[8] || f == (Z | le) && i[7].length <= i[8] && u == S;
4362
4362
  if (!(_ || C))
4363
4363
  return n;
4364
4364
  f & T && (n[2] = i[2], I |= u & T ? 0 : w);
@@ -4926,7 +4926,7 @@ function DT() {
4926
4926
  }
4927
4927
  return wr(n, f, i, u, I);
4928
4928
  }), Ig = Ge(function(n, i, u) {
4929
- var f = T | E;
4929
+ var f = T | v;
4930
4930
  if (u.length) {
4931
4931
  var I = ri(u, Bo(Ig));
4932
4932
  f |= Y;
@@ -5085,16 +5085,16 @@ function DT() {
5085
5085
  return Ve(n) ? n : [n];
5086
5086
  }
5087
5087
  function ZD(n) {
5088
- return Yn(n, D);
5088
+ return Yn(n, N);
5089
5089
  }
5090
5090
  function KD(n, i) {
5091
- return i = typeof i == "function" ? i : t, Yn(n, D, i);
5091
+ return i = typeof i == "function" ? i : t, Yn(n, N, i);
5092
5092
  }
5093
5093
  function JD(n) {
5094
- return Yn(n, h | D);
5094
+ return Yn(n, h | N);
5095
5095
  }
5096
5096
  function XD(n, i) {
5097
- return i = typeof i == "function" ? i : t, Yn(n, h | D, i);
5097
+ return i = typeof i == "function" ? i : t, Yn(n, h | N, i);
5098
5098
  }
5099
5099
  function qD(n, i) {
5100
5100
  return i == null || uf(n, i, Ut(i));
@@ -5378,7 +5378,7 @@ function DT() {
5378
5378
  var f = !1;
5379
5379
  i = ft(i, function(_) {
5380
5380
  return _ = ai(_, n), f || (f = _.length > 1), _;
5381
- }), hr(n, $l(n), u), f && (u = Yn(u, h | y | D, Uy));
5381
+ }), hr(n, $l(n), u), f && (u = Yn(u, h | y | N, Uy));
5382
5382
  for (var I = i.length; I--; )
5383
5383
  Ul(u, i[I]);
5384
5384
  return u;
@@ -5891,7 +5891,7 @@ function print() { __p += __j.call(arguments, '') }
5891
5891
  var f = u.name + "";
5892
5892
  rt.call(Po, f) || (Po[f] = []), Po[f].push({ name: i, func: u });
5893
5893
  }
5894
- }), Po[eu(t, E).name] = [{
5894
+ }), Po[eu(t, v).name] = [{
5895
5895
  name: "wrapper",
5896
5896
  func: t
5897
5897
  }], qe.prototype.clone = SI, qe.prototype.reverse = OI, qe.prototype.value = CI, A.prototype.at = oD, A.prototype.chain = sD, A.prototype.commit = aD, A.prototype.next = uD, A.prototype.plant = cD, A.prototype.reverse = dD, A.prototype.toJSON = A.prototype.valueOf = A.prototype.value = fD, A.prototype.first = A.prototype.head, Ts && (A.prototype[Ts] = lD), A;
@@ -6169,7 +6169,7 @@ const wh = () => {
6169
6169
  osVersion: `${An.osVersion}`,
6170
6170
  hostAppId: wh(),
6171
6171
  host: wh(),
6172
- sdkVersion: "3.6.399-nightly".trim(),
6172
+ sdkVersion: "3.6.400-nightly".trim(),
6173
6173
  name: navigator.userAgent,
6174
6174
  deviceModel: `${An.osName}/${An.osVersion} ${An.browserName}/${An.fullBrowserVersion}`,
6175
6175
  hostAppVersion: `${An.browserName}/${An.fullBrowserVersion}`,
@@ -6734,7 +6734,7 @@ class Jo {
6734
6734
  }
6735
6735
  const jn = Jo.getInstance();
6736
6736
  var sE = 0;
6737
- function v(r, e, t, o, s, a) {
6737
+ function E(r, e, t, o, s, a) {
6738
6738
  e || (e = {});
6739
6739
  var l, d, c = e;
6740
6740
  if ("ref" in c) for (d in c = {}, e) d == "ref" ? l = e[d] : c[d] = e[d];
@@ -6742,7 +6742,7 @@ function v(r, e, t, o, s, a) {
6742
6742
  if (typeof r == "function" && (l = r.defaultProps)) for (d in l) c[d] === void 0 && (c[d] = l[d]);
6743
6743
  return Be.vnode && Be.vnode(g), g;
6744
6744
  }
6745
- const ss = ad(void 0), aE = ({ perform: r, children: e, setIsProcessingCallback: t, devSettings: o, failedAssets: s, layoutDirection: a }) => /* @__PURE__ */ v(ss.Provider, { value: { perform: r, setIsProcessingCallback: t, devSettings: o, failedAssets: s, layoutDirection: a }, children: e }), uE = () => {
6745
+ const ss = ad(void 0), aE = ({ perform: r, children: e, setIsProcessingCallback: t, devSettings: o, failedAssets: s, layoutDirection: a }) => /* @__PURE__ */ E(ss.Provider, { value: { perform: r, setIsProcessingCallback: t, devSettings: o, failedAssets: s, layoutDirection: a }, children: e }), uE = () => {
6746
6746
  const r = Ai(ss);
6747
6747
  if (!r)
6748
6748
  throw new Error("useDevSettings must be used within a Context Provider");
@@ -6789,7 +6789,7 @@ const ss = ad(void 0), aE = ({ perform: r, children: e, setIsProcessingCallback:
6789
6789
  return requestAnimationFrame(l), () => {
6790
6790
  o = !1;
6791
6791
  };
6792
- }, []), /* @__PURE__ */ v("img", { src: r, ref: e });
6792
+ }, []), /* @__PURE__ */ E("img", { src: r, ref: e });
6793
6793
  }, rr = {
6794
6794
  INFO: "INFO",
6795
6795
  INFO_DETAILS: "INFO_DETAILS",
@@ -6858,7 +6858,7 @@ function gE(r) {
6858
6858
  g > o && t.push(r.slice(o, g));
6859
6859
  const M = c.startsWith("http") ? c : `https://${c}`;
6860
6860
  t.push(
6861
- /* @__PURE__ */ v("a", { href: M, target: "_blank", rel: "noopener noreferrer", children: d }, g)
6861
+ /* @__PURE__ */ E("a", { href: M, target: "_blank", rel: "noopener noreferrer", children: d }, g)
6862
6862
  ), o = g + l.length;
6863
6863
  }
6864
6864
  return o < r.length && t.push(r.slice(o)), t;
@@ -6868,7 +6868,7 @@ function qM(r) {
6868
6868
  `);
6869
6869
  return e.flatMap((t, o) => {
6870
6870
  const s = gE(t);
6871
- return o === e.length - 1 ? s : [...s, /* @__PURE__ */ v("br", {}, "br-" + o)];
6871
+ return o === e.length - 1 ? s : [...s, /* @__PURE__ */ E("br", {}, "br-" + o)];
6872
6872
  });
6873
6873
  }
6874
6874
  const yu = (r) => {
@@ -6963,7 +6963,7 @@ const hE = (r, e) => !!(r.base64 && !(e != null && e.base64.has(r.base64)) || r.
6963
6963
  isFullSize: a = !1
6964
6964
  }) => {
6965
6965
  const l = ua[r] || ua[ot.DEFAULT], d = l == null ? void 0 : l(e);
6966
- return r === ot.SPINNER ? /* @__PURE__ */ v(dE, { dataUrl: d }) : /* @__PURE__ */ v(
6966
+ return r === ot.SPINNER ? /* @__PURE__ */ E(dE, { dataUrl: d }) : /* @__PURE__ */ E(
6967
6967
  "img",
6968
6968
  {
6969
6969
  src: d,
@@ -7055,13 +7055,13 @@ const DE = (r, e) => r.reduce((t, o) => {
7055
7055
  contentMode: p = qo.ASPECT_FILL,
7056
7056
  cornerRadius: h,
7057
7057
  backgroundColor: y
7058
- } = d, [D, N] = ht(!0), m = D && g, T = () => {
7059
- N(!1);
7060
- }, E = () => {
7058
+ } = d, [N, D] = ht(!0), m = N && g, T = () => {
7059
+ D(!1);
7060
+ }, v = () => {
7061
7061
  l((R) => R + 1);
7062
7062
  }, w = e ? { width: "100%", height: "100%" } : { width: "auto", height: "auto", maxWidth: "100%", maxHeight: "100%" };
7063
7063
  if (M)
7064
- return /* @__PURE__ */ v(
7064
+ return /* @__PURE__ */ E(
7065
7065
  "img",
7066
7066
  {
7067
7067
  style: oe(b({}, w), {
@@ -7071,12 +7071,12 @@ const DE = (r, e) => r.reduce((t, o) => {
7071
7071
  display: "block"
7072
7072
  }),
7073
7073
  src: M,
7074
- onError: E
7074
+ onError: v
7075
7075
  }
7076
7076
  );
7077
7077
  if (c) {
7078
7078
  const R = c in ua ? c : "default";
7079
- return /* @__PURE__ */ v(
7079
+ return /* @__PURE__ */ E(
7080
7080
  md,
7081
7081
  {
7082
7082
  type: R,
@@ -7087,8 +7087,8 @@ const DE = (r, e) => r.reduce((t, o) => {
7087
7087
  }
7088
7088
  );
7089
7089
  }
7090
- return g ? /* @__PURE__ */ v(Qt, { children: [
7091
- m && /* @__PURE__ */ v(
7090
+ return g ? /* @__PURE__ */ E(Qt, { children: [
7091
+ m && /* @__PURE__ */ E(
7092
7092
  "div",
7093
7093
  {
7094
7094
  style: {
@@ -7099,7 +7099,7 @@ const DE = (r, e) => r.reduce((t, o) => {
7099
7099
  }
7100
7100
  }
7101
7101
  ),
7102
- /* @__PURE__ */ v(
7102
+ /* @__PURE__ */ E(
7103
7103
  "img",
7104
7104
  {
7105
7105
  style: oe(b({}, w), {
@@ -7110,11 +7110,11 @@ const DE = (r, e) => r.reduce((t, o) => {
7110
7110
  }),
7111
7111
  src: g,
7112
7112
  onLoad: T,
7113
- onError: E
7113
+ onError: v
7114
7114
  }
7115
7115
  )
7116
7116
  ] }) : null;
7117
- }, _E = ({ signature: r }) => /* @__PURE__ */ v(
7117
+ }, _E = ({ signature: r }) => /* @__PURE__ */ E(
7118
7118
  "footer",
7119
7119
  {
7120
7120
  "data-ui": "gui-footer",
@@ -7127,7 +7127,7 @@ const DE = (r, e) => r.reduce((t, o) => {
7127
7127
  height: "100%",
7128
7128
  width: "100%"
7129
7129
  },
7130
- children: /* @__PURE__ */ v("a", { href: "", style: { display: "inline-block", height: "16px" }, children: /* @__PURE__ */ v(kt, b({}, r)) })
7130
+ children: /* @__PURE__ */ E("a", { href: "", style: { display: "inline-block", height: "16px" }, children: /* @__PURE__ */ E(kt, b({}, r)) })
7131
7131
  }
7132
7132
  ), TE = {
7133
7133
  display: "flex",
@@ -7149,7 +7149,7 @@ const DE = (r, e) => r.reduce((t, o) => {
7149
7149
  }) => {
7150
7150
  var h;
7151
7151
  const [d, c] = ht(!1), g = d && l ? l : s, { perform: M } = Gr();
7152
- return /* @__PURE__ */ v(
7152
+ return /* @__PURE__ */ E(
7153
7153
  "button",
7154
7154
  {
7155
7155
  "data-ui": "gui-close-button",
@@ -7166,7 +7166,7 @@ const DE = (r, e) => r.reduce((t, o) => {
7166
7166
  onMouseEnter: () => c(!0),
7167
7167
  onMouseLeave: () => c(!1),
7168
7168
  children: [
7169
- t && /* @__PURE__ */ v(
7169
+ t && /* @__PURE__ */ E(
7170
7170
  "div",
7171
7171
  {
7172
7172
  style: {
@@ -7174,14 +7174,14 @@ const DE = (r, e) => r.reduce((t, o) => {
7174
7174
  justifyContent: "center",
7175
7175
  alignItems: "center"
7176
7176
  },
7177
- children: /* @__PURE__ */ v(kt, b({}, t))
7177
+ children: /* @__PURE__ */ E(kt, b({}, t))
7178
7178
  }
7179
7179
  ),
7180
- o && /* @__PURE__ */ v("div", { style: { padding: "0 5px" }, children: /* @__PURE__ */ v(at, b({}, o)) })
7180
+ o && /* @__PURE__ */ E("div", { style: { padding: "0 5px" }, children: /* @__PURE__ */ E(at, b({}, o)) })
7181
7181
  ]
7182
7182
  }
7183
7183
  );
7184
- }, vE = ({ closeButton: r }) => /* @__PURE__ */ v(
7184
+ }, vE = ({ closeButton: r }) => /* @__PURE__ */ E(
7185
7185
  "header",
7186
7186
  {
7187
7187
  style: {
@@ -7194,7 +7194,7 @@ const DE = (r, e) => r.reduce((t, o) => {
7194
7194
  },
7195
7195
  "data-ui": "gui-header",
7196
7196
  part: "gui-header",
7197
- children: /* @__PURE__ */ v("div", { children: r && /* @__PURE__ */ v(EE, b({ dataTestId: "close-btn" }, r)) })
7197
+ children: /* @__PURE__ */ E("div", { children: r && /* @__PURE__ */ E(EE, b({ dataTestId: "close-btn" }, r)) })
7198
7198
  }
7199
7199
  ), at = ({
7200
7200
  text: r,
@@ -7209,7 +7209,7 @@ const DE = (r, e) => r.reduce((t, o) => {
7209
7209
  htmlFor: g,
7210
7210
  isGenericTemplate: M = !1
7211
7211
  }) => {
7212
- const p = M ? yr.START : yr.LEFT, h = s || p, y = M ? IE(h) : tp(h), D = b(oe(b({
7212
+ const p = M ? yr.START : yr.LEFT, h = s || p, y = M ? IE(h) : tp(h), N = b(oe(b({
7213
7213
  fontFamily: [e, "-apple-system", "BlinkMacSystemFont", "sans-serif"].filter(Boolean).join(", "),
7214
7214
  fontSize: t
7215
7215
  }, M && { fontWeight: ME(c) }), {
@@ -7218,8 +7218,8 @@ const DE = (r, e) => r.reduce((t, o) => {
7218
7218
  backgroundColor: je(a) || "transparent",
7219
7219
  borderRadius: l,
7220
7220
  overflowWrap: "break-word"
7221
- }), M && Ma(d)), N = typeof r == "string" && r.trim() && qM(r);
7222
- return g ? /* @__PURE__ */ v("label", { "data-ui": "gui-label", part: "gui-label", style: D, htmlFor: g, children: N }) : /* @__PURE__ */ v("div", { "data-ui": "gui-label", part: "gui-label", style: D, children: N });
7221
+ }), M && Ma(d)), D = typeof r == "string" && r.trim() && qM(r);
7222
+ return g ? /* @__PURE__ */ E("label", { "data-ui": "gui-label", part: "gui-label", style: N, htmlFor: g, children: D }) : /* @__PURE__ */ E("div", { "data-ui": "gui-label", part: "gui-label", style: N, children: D });
7223
7223
  }, la = ({
7224
7224
  title: r,
7225
7225
  image: e,
@@ -7236,7 +7236,7 @@ const DE = (r, e) => r.reduce((t, o) => {
7236
7236
  onClick: h
7237
7237
  }) => {
7238
7238
  var Z;
7239
- const [y, D] = ht(!1), [N, m] = ht(!1), E = (({
7239
+ const [y, N] = ht(!1), [D, m] = ht(!1), v = (({
7240
7240
  isGenericTemplate: le,
7241
7241
  isPressed: q,
7242
7242
  isHovered: De,
@@ -7247,7 +7247,7 @@ const DE = (r, e) => r.reduce((t, o) => {
7247
7247
  return le && q ? me || Ie : le && De ? Ie : !le && De && me || Ie;
7248
7248
  })({
7249
7249
  isGenericTemplate: p,
7250
- isPressed: N,
7250
+ isPressed: D,
7251
7251
  isHovered: y,
7252
7252
  backgroundColor: o,
7253
7253
  highlightColor: a
@@ -7257,8 +7257,8 @@ const DE = (r, e) => r.reduce((t, o) => {
7257
7257
  onPointerLeave: () => m(!1),
7258
7258
  onPointerCancel: () => m(!1)
7259
7259
  } : {
7260
- onMouseEnter: () => D(!0),
7261
- onMouseLeave: () => D(!1)
7260
+ onMouseEnter: () => N(!0),
7261
+ onMouseLeave: () => N(!1)
7262
7262
  }, { perform: S } = Gr(), R = (le) => {
7263
7263
  if (h && h(le), g !== "RESPONSE_BODY") return;
7264
7264
  const q = JSON.parse(JSON.stringify(t));
@@ -7279,14 +7279,14 @@ const DE = (r, e) => r.reduce((t, o) => {
7279
7279
  gap: 10,
7280
7280
  borderRadius: s || 0,
7281
7281
  borderStyle: d && c ? "solid" : void 0,
7282
- backgroundColor: E,
7282
+ backgroundColor: v,
7283
7283
  borderColor: (Z = je(d)) != null ? Z : "none",
7284
7284
  borderWidth: c != null ? c : 0,
7285
7285
  overflow: "hidden",
7286
7286
  transition: ".3s",
7287
7287
  outlineColor: to
7288
7288
  }, p && { WebkitTapHighlightColor: "transparent" }), Y);
7289
- return /* @__PURE__ */ v(
7289
+ return /* @__PURE__ */ E(
7290
7290
  "button",
7291
7291
  oe(b({
7292
7292
  "data-ui": "gui-button",
@@ -7297,7 +7297,7 @@ const DE = (r, e) => r.reduce((t, o) => {
7297
7297
  style: $
7298
7298
  }, w), {
7299
7299
  children: [
7300
- e && /* @__PURE__ */ v(
7300
+ e && /* @__PURE__ */ E(
7301
7301
  "div",
7302
7302
  {
7303
7303
  style: {
@@ -7307,16 +7307,16 @@ const DE = (r, e) => r.reduce((t, o) => {
7307
7307
  display: "flex",
7308
7308
  alignItems: "center"
7309
7309
  },
7310
- children: /* @__PURE__ */ v(kt, b({}, e))
7310
+ children: /* @__PURE__ */ E(kt, b({}, e))
7311
7311
  }
7312
7312
  ),
7313
- r && /* @__PURE__ */ v(
7313
+ r && /* @__PURE__ */ E(
7314
7314
  "div",
7315
7315
  {
7316
7316
  style: {
7317
7317
  flexGrow: e ? 0 : 1
7318
7318
  },
7319
- children: /* @__PURE__ */ v(at, oe(b({}, r), { isGenericTemplate: p }))
7319
+ children: /* @__PURE__ */ E(at, oe(b({}, r), { isGenericTemplate: p }))
7320
7320
  }
7321
7321
  )
7322
7322
  ]
@@ -7324,7 +7324,7 @@ const DE = (r, e) => r.reduce((t, o) => {
7324
7324
  );
7325
7325
  }, wE = (t) => {
7326
7326
  var o = t, { items: r } = o, e = ci(o, ["items"]);
7327
- return /* @__PURE__ */ v("div", { part: "gui-buttons", "data-ui": "gui-buttons", style: b(b({}, {
7327
+ return /* @__PURE__ */ E("div", { part: "gui-buttons", "data-ui": "gui-buttons", style: b(b({}, {
7328
7328
  display: "flex",
7329
7329
  flexDirection: "row",
7330
7330
  flexWrap: "wrap",
@@ -7338,7 +7338,7 @@ const DE = (r, e) => r.reduce((t, o) => {
7338
7338
  paddingTop: "20px"
7339
7339
  }), e), children: r.map((a) => {
7340
7340
  var l;
7341
- return /* @__PURE__ */ v(la, b({ dataTestId: "button-" + ((l = a.title) == null ? void 0 : l.text) }, a), mE());
7341
+ return /* @__PURE__ */ E(la, b({ dataTestId: "button-" + ((l = a.title) == null ? void 0 : l.text) }, a), mE());
7342
7342
  }) });
7343
7343
  }, Zr = ({
7344
7344
  children: r,
@@ -7363,7 +7363,7 @@ const DE = (r, e) => r.reduce((t, o) => {
7363
7363
  width: "100%",
7364
7364
  backgroundColor: je(o)
7365
7365
  };
7366
- return /* @__PURE__ */ v(
7366
+ return /* @__PURE__ */ E(
7367
7367
  "div",
7368
7368
  {
7369
7369
  part: "gui-base-container",
@@ -7371,7 +7371,7 @@ const DE = (r, e) => r.reduce((t, o) => {
7371
7371
  id: "base-container",
7372
7372
  style: b({}, g),
7373
7373
  children: [
7374
- e && /* @__PURE__ */ v(
7374
+ e && /* @__PURE__ */ E(
7375
7375
  "div",
7376
7376
  {
7377
7377
  style: {
@@ -7381,12 +7381,12 @@ const DE = (r, e) => r.reduce((t, o) => {
7381
7381
  width: "100%",
7382
7382
  height: a
7383
7383
  },
7384
- children: /* @__PURE__ */ v(vE, { closeButton: e.closeButton })
7384
+ children: /* @__PURE__ */ E(vE, { closeButton: e.closeButton })
7385
7385
  }
7386
7386
  ),
7387
- /* @__PURE__ */ v("div", { style: { height: "100%", width: "100%", flex: "1 1 100%", overflow: "hidden" }, children: r }),
7388
- (s == null ? void 0 : s.length) && /* @__PURE__ */ v(wE, { items: s }),
7389
- t && /* @__PURE__ */ v(
7387
+ /* @__PURE__ */ E("div", { style: { height: "100%", width: "100%", flex: "1 1 100%", overflow: "hidden" }, children: r }),
7388
+ (s == null ? void 0 : s.length) && /* @__PURE__ */ E(wE, { items: s }),
7389
+ t && /* @__PURE__ */ E(
7390
7390
  "div",
7391
7391
  {
7392
7392
  style: {
@@ -7397,7 +7397,7 @@ const DE = (r, e) => r.reduce((t, o) => {
7397
7397
  height: c,
7398
7398
  padding: `${l}px 20px`
7399
7399
  },
7400
- children: /* @__PURE__ */ v(_E, b({}, t))
7400
+ children: /* @__PURE__ */ E(_E, b({}, t))
7401
7401
  }
7402
7402
  )
7403
7403
  ]
@@ -7411,7 +7411,7 @@ const DE = (r, e) => r.reduce((t, o) => {
7411
7411
  fontSize: s = 17,
7412
7412
  backgroundColor: a,
7413
7413
  cornerRadius: l = 0
7414
- }) => /* @__PURE__ */ v(
7414
+ }) => /* @__PURE__ */ E(
7415
7415
  "div",
7416
7416
  {
7417
7417
  "data-ui": "gui-description",
@@ -7440,7 +7440,7 @@ const DE = (r, e) => r.reduce((t, o) => {
7440
7440
  const d = ur(null), [c, g] = ht(!1);
7441
7441
  return zn(() => {
7442
7442
  d.current && g(d.current.scrollHeight > d.current.clientHeight + 2);
7443
- }, []), /* @__PURE__ */ v(Zr, { header: r, buttons: a, footer: e, backgroundColor: l, children: /* @__PURE__ */ v(
7443
+ }, []), /* @__PURE__ */ E(Zr, { header: r, buttons: a, footer: e, backgroundColor: l, children: /* @__PURE__ */ E(
7444
7444
  "div",
7445
7445
  {
7446
7446
  part: "gui-status-screen",
@@ -7454,8 +7454,8 @@ const DE = (r, e) => r.reduce((t, o) => {
7454
7454
  flexDirection: "column"
7455
7455
  },
7456
7456
  children: [
7457
- t && /* @__PURE__ */ v("div", { style: cE, children: /* @__PURE__ */ v(kt, b({}, t)) }),
7458
- (o == null ? void 0 : o.text) && /* @__PURE__ */ v(
7457
+ t && /* @__PURE__ */ E("div", { style: cE, children: /* @__PURE__ */ E(kt, b({}, t)) }),
7458
+ (o == null ? void 0 : o.text) && /* @__PURE__ */ E(
7459
7459
  "div",
7460
7460
  {
7461
7461
  ref: d,
@@ -7463,7 +7463,7 @@ const DE = (r, e) => r.reduce((t, o) => {
7463
7463
  width: "100%",
7464
7464
  overflow: c ? "auto" : "hidden"
7465
7465
  },
7466
- children: /* @__PURE__ */ v(
7466
+ children: /* @__PURE__ */ E(
7467
7467
  "div",
7468
7468
  {
7469
7469
  style: {
@@ -7479,12 +7479,12 @@ const DE = (r, e) => r.reduce((t, o) => {
7479
7479
  alignItems: "center",
7480
7480
  alignContent: "center"
7481
7481
  },
7482
- children: o && /* @__PURE__ */ v(at, b({}, o))
7482
+ children: o && /* @__PURE__ */ E(at, b({}, o))
7483
7483
  }
7484
7484
  )
7485
7485
  }
7486
7486
  ),
7487
- s && /* @__PURE__ */ v("div", { style: { lineHeight: "28px", fontWeight: "400", marginTop: "16px" }, children: /* @__PURE__ */ v(pa, b({}, s)) })
7487
+ s && /* @__PURE__ */ E("div", { style: { lineHeight: "28px", fontWeight: "400", marginTop: "16px" }, children: /* @__PURE__ */ E(pa, b({}, s)) })
7488
7488
  ]
7489
7489
  }
7490
7490
  ) });
@@ -7512,7 +7512,7 @@ const DE = (r, e) => r.reduce((t, o) => {
7512
7512
  description: s,
7513
7513
  buttons: a,
7514
7514
  backgroundColor: l
7515
- }) => /* @__PURE__ */ v(Zr, { header: e, footer: t, buttons: a, backgroundColor: l, children: /* @__PURE__ */ v(Qt, { children: /* @__PURE__ */ v(
7515
+ }) => /* @__PURE__ */ E(Zr, { header: e, footer: t, buttons: a, backgroundColor: l, children: /* @__PURE__ */ E(Qt, { children: /* @__PURE__ */ E(
7516
7516
  "div",
7517
7517
  {
7518
7518
  part: "gui-info-screen-container",
@@ -7522,16 +7522,16 @@ const DE = (r, e) => r.reduce((t, o) => {
7522
7522
  justifyContent: o ? "flex-start" : "center"
7523
7523
  }),
7524
7524
  children: [
7525
- o && /* @__PURE__ */ v("div", { style: OE, children: /* @__PURE__ */ v(kt, b({}, o)) }),
7526
- r && /* @__PURE__ */ v("div", { style: { marginBottom: 20, lineHeight: "39.2px" }, children: /* @__PURE__ */ v(at, b({}, r)) }),
7527
- s && /* @__PURE__ */ v("div", { style: { lineHeight: "28px", fontWeight: "400" }, children: /* @__PURE__ */ v(pa, b({}, s)) })
7525
+ o && /* @__PURE__ */ E("div", { style: OE, children: /* @__PURE__ */ E(kt, b({}, o)) }),
7526
+ r && /* @__PURE__ */ E("div", { style: { marginBottom: 20, lineHeight: "39.2px" }, children: /* @__PURE__ */ E(at, b({}, r)) }),
7527
+ s && /* @__PURE__ */ E("div", { style: { lineHeight: "28px", fontWeight: "400" }, children: /* @__PURE__ */ E(pa, b({}, s)) })
7528
7528
  ]
7529
7529
  }
7530
- ) }) }), xE = ({ indicatorColor: r = "#7E57C5" }) => /* @__PURE__ */ v(md, { type: ot.SPINNER, color: r }), xh = ({
7530
+ ) }) }), xE = ({ indicatorColor: r = "#7E57C5" }) => /* @__PURE__ */ E(md, { type: ot.SPINNER, color: r }), xh = ({
7531
7531
  progressView: r,
7532
7532
  footer: e,
7533
7533
  backgroundColor: t
7534
- }) => /* @__PURE__ */ v(Zr, { footer: e, backgroundColor: t, children: /* @__PURE__ */ v(
7534
+ }) => /* @__PURE__ */ E(Zr, { footer: e, backgroundColor: t, children: /* @__PURE__ */ E(
7535
7535
  "div",
7536
7536
  {
7537
7537
  style: {
@@ -7545,7 +7545,7 @@ const DE = (r, e) => r.reduce((t, o) => {
7545
7545
  height: "100%",
7546
7546
  width: "100%"
7547
7547
  },
7548
- children: /* @__PURE__ */ v(xE, { indicatorColor: je(r == null ? void 0 : r.indicatorColor) || "#000000" })
7548
+ children: /* @__PURE__ */ E(xE, { indicatorColor: je(r == null ? void 0 : r.indicatorColor) || "#000000" })
7549
7549
  }
7550
7550
  ) }), bE = ({
7551
7551
  title: r,
@@ -7554,7 +7554,7 @@ const DE = (r, e) => r.reduce((t, o) => {
7554
7554
  backgroundColor: o,
7555
7555
  cornerRadius: s = 0,
7556
7556
  isLastChild: a
7557
- }) => /* @__PURE__ */ v(
7557
+ }) => /* @__PURE__ */ E(
7558
7558
  "div",
7559
7559
  {
7560
7560
  className: "details-item",
@@ -7570,7 +7570,7 @@ const DE = (r, e) => r.reduce((t, o) => {
7570
7570
  borderRadius: s
7571
7571
  }),
7572
7572
  children: [
7573
- /* @__PURE__ */ v(
7573
+ /* @__PURE__ */ E(
7574
7574
  "div",
7575
7575
  {
7576
7576
  style: {
@@ -7578,19 +7578,19 @@ const DE = (r, e) => r.reduce((t, o) => {
7578
7578
  minWidth: 0
7579
7579
  },
7580
7580
  children: [
7581
- /* @__PURE__ */ v("div", { style: { marginBottom: 5, fontWeight: "bold", lineHeight: "21px" }, children: /* @__PURE__ */ v(at, b({}, r)) }),
7582
- /* @__PURE__ */ v("div", { style: { lineHeight: "21px", fontWeight: "400" }, children: /* @__PURE__ */ v(pa, b({}, e)) })
7581
+ /* @__PURE__ */ E("div", { style: { marginBottom: 5, fontWeight: "bold", lineHeight: "21px" }, children: /* @__PURE__ */ E(at, b({}, r)) }),
7582
+ /* @__PURE__ */ E("div", { style: { lineHeight: "21px", fontWeight: "400" }, children: /* @__PURE__ */ E(pa, b({}, e)) })
7583
7583
  ]
7584
7584
  }
7585
7585
  ),
7586
- /* @__PURE__ */ v("div", { style: { aspectRatio: "1 / 1", width: 120, height: 120, flex: "0 0 120px" }, children: /* @__PURE__ */ v(kt, b({}, t)) })
7586
+ /* @__PURE__ */ E("div", { style: { aspectRatio: "1 / 1", width: 120, height: 120, flex: "0 0 120px" }, children: /* @__PURE__ */ E(kt, b({}, t)) })
7587
7587
  ]
7588
7588
  }
7589
7589
  ), zE = {
7590
7590
  display: "flex",
7591
7591
  flexDirection: "column",
7592
7592
  padding: "0 16px"
7593
- }, LE = ({ items: r, backgroundColor: e, cornerRadius: t = 16 }) => /* @__PURE__ */ v(
7593
+ }, LE = ({ items: r, backgroundColor: e, cornerRadius: t = 16 }) => /* @__PURE__ */ E(
7594
7594
  "div",
7595
7595
  {
7596
7596
  className: "details",
@@ -7598,7 +7598,7 @@ const DE = (r, e) => r.reduce((t, o) => {
7598
7598
  backgroundColor: je(e) || "white",
7599
7599
  borderRadius: t
7600
7600
  }),
7601
- children: r.map((o, s) => /* @__PURE__ */ v(bE, b({ isLastChild: s === r.length - 1 }, o), s))
7601
+ children: r.map((o, s) => /* @__PURE__ */ E(bE, b({ isLastChild: s === r.length - 1 }, o), s))
7602
7602
  }
7603
7603
  ), RE = ({
7604
7604
  title: r,
@@ -7611,7 +7611,7 @@ const DE = (r, e) => r.reduce((t, o) => {
7611
7611
  const l = ur(null), [d, c] = ht(!1);
7612
7612
  return zn(() => {
7613
7613
  l.current && c(l.current.scrollHeight > l.current.clientHeight);
7614
- }, []), /* @__PURE__ */ v(Zr, { header: e, buttons: s, footer: t, backgroundColor: a, children: /* @__PURE__ */ v(
7614
+ }, []), /* @__PURE__ */ E(Zr, { header: e, buttons: s, footer: t, backgroundColor: a, children: /* @__PURE__ */ E(
7615
7615
  "div",
7616
7616
  {
7617
7617
  style: {
@@ -7624,8 +7624,8 @@ const DE = (r, e) => r.reduce((t, o) => {
7624
7624
  },
7625
7625
  ref: l,
7626
7626
  children: [
7627
- /* @__PURE__ */ v("div", { style: { marginBottom: r ? "16px" : "0", fontWeight: 400, fontSize: "28px" }, children: r && /* @__PURE__ */ v(at, b({}, r)) }),
7628
- o && /* @__PURE__ */ v(LE, b({}, o))
7627
+ /* @__PURE__ */ E("div", { style: { marginBottom: r ? "16px" : "0", fontWeight: 400, fontSize: "28px" }, children: r && /* @__PURE__ */ E(at, b({}, r)) }),
7628
+ o && /* @__PURE__ */ E(LE, b({}, o))
7629
7629
  ]
7630
7630
  }
7631
7631
  ) });
@@ -7757,10 +7757,10 @@ function sr(r, e, t = /* @__PURE__ */ new WeakSet()) {
7757
7757
  function PE(r) {
7758
7758
  const e = vd(), { control: t = e, name: o, defaultValue: s, disabled: a, exact: l, compute: d } = r || {}, c = Ne.useRef(s), g = Ne.useRef(d), M = Ne.useRef(void 0), p = Ne.useRef(t), h = Ne.useRef(o);
7759
7759
  g.current = d;
7760
- const [y, D] = Ne.useState(() => {
7760
+ const [y, N] = Ne.useState(() => {
7761
7761
  const S = t._getWatch(o, c.current);
7762
7762
  return g.current ? g.current(S) : S;
7763
- }), N = Ne.useCallback((S) => {
7763
+ }), D = Ne.useCallback((S) => {
7764
7764
  const R = $c(o, t._names, S || t._formValues, !1, c.current);
7765
7765
  return g.current ? g.current(R) : R;
7766
7766
  }, [t._formValues, t._names, o]), m = Ne.useCallback((S) => {
@@ -7768,9 +7768,9 @@ function PE(r) {
7768
7768
  const R = $c(o, t._names, S || t._formValues, !1, c.current);
7769
7769
  if (g.current) {
7770
7770
  const Y = g.current(R);
7771
- sr(Y, M.current) || (D(Y), M.current = Y);
7771
+ sr(Y, M.current) || (N(Y), M.current = Y);
7772
7772
  } else
7773
- D(R);
7773
+ N(R);
7774
7774
  }
7775
7775
  }, [t._formValues, t._names, a, o]);
7776
7776
  wd(() => ((p.current !== t || !sr(h.current, o)) && (p.current = t, h.current = o, m()), t._subscribe({
@@ -7783,12 +7783,12 @@ function PE(r) {
7783
7783
  m(S.values);
7784
7784
  }
7785
7785
  })), [t, l, o, m]), Ne.useEffect(() => t._removeUnmounted());
7786
- const T = p.current !== t, E = h.current, w = Ne.useMemo(() => {
7786
+ const T = p.current !== t, v = h.current, w = Ne.useMemo(() => {
7787
7787
  if (a)
7788
7788
  return null;
7789
- const S = !T && !sr(E, o);
7790
- return T || S ? N() : null;
7791
- }, [a, T, o, E, N]);
7789
+ const S = !T && !sr(v, o);
7790
+ return T || S ? D() : null;
7791
+ }, [a, T, o, v, D]);
7792
7792
  return w !== null ? w : y;
7793
7793
  }
7794
7794
  function FE(r) {
@@ -7801,11 +7801,11 @@ function FE(r) {
7801
7801
  control: s,
7802
7802
  name: t,
7803
7803
  exact: d
7804
- }), h = Ne.useRef(r), y = Ne.useRef(void 0), D = Ne.useRef(s.register(t, b(oe(b({}, r.rules), {
7804
+ }), h = Ne.useRef(r), y = Ne.useRef(void 0), N = Ne.useRef(s.register(t, b(oe(b({}, r.rules), {
7805
7805
  value: M
7806
7806
  }), bn(r.disabled) ? { disabled: r.disabled } : {})));
7807
7807
  h.current = r;
7808
- const N = Ne.useMemo(() => Object.defineProperties({}, {
7808
+ const D = Ne.useMemo(() => Object.defineProperties({}, {
7809
7809
  invalid: {
7810
7810
  enumerable: !0,
7811
7811
  get: () => !!ue(p.errors, t)
@@ -7826,19 +7826,19 @@ function FE(r) {
7826
7826
  enumerable: !0,
7827
7827
  get: () => ue(p.errors, t)
7828
7828
  }
7829
- }), [p, t]), m = Ne.useCallback((S) => D.current.onChange({
7829
+ }), [p, t]), m = Ne.useCallback((S) => N.current.onChange({
7830
7830
  target: {
7831
7831
  value: ip(S),
7832
7832
  name: t
7833
7833
  },
7834
7834
  type: Mi.CHANGE
7835
- }), [t]), T = Ne.useCallback(() => D.current.onBlur({
7835
+ }), [t]), T = Ne.useCallback(() => N.current.onBlur({
7836
7836
  target: {
7837
7837
  value: ue(s._formValues, t),
7838
7838
  name: t
7839
7839
  },
7840
7840
  type: Mi.BLUR
7841
- }), [t, s._formValues]), E = Ne.useCallback((S) => {
7841
+ }), [t, s._formValues]), v = Ne.useCallback((S) => {
7842
7842
  const R = ue(s._fields, t);
7843
7843
  R && R._f && S && (R._f.ref = {
7844
7844
  focus: () => ln(S.focus) && S.focus(),
@@ -7852,8 +7852,8 @@ function FE(r) {
7852
7852
  }, bn(o) || p.disabled ? { disabled: p.disabled || o } : {}), {
7853
7853
  onChange: m,
7854
7854
  onBlur: T,
7855
- ref: E
7856
- }), [t, o, p.disabled, m, T, E, M]);
7855
+ ref: v
7856
+ }), [t, o, p.disabled, m, T, v, M]);
7857
7857
  return Ne.useEffect(() => {
7858
7858
  const S = s._options.shouldUnregister || a, R = y.current;
7859
7859
  R && R !== t && !c && s.unregister(R), s.register(t, b(b({}, h.current.rules), bn(h.current.disabled) ? { disabled: h.current.disabled } : {}));
@@ -7876,8 +7876,8 @@ function FE(r) {
7876
7876
  }, [o, t, s]), Ne.useMemo(() => ({
7877
7877
  field: w,
7878
7878
  formState: p,
7879
- fieldState: N
7880
- }), [w, p, N]);
7879
+ fieldState: D
7880
+ }), [w, p, D]);
7881
7881
  }
7882
7882
  const Gu = (r) => r.render(FE(r)), QE = Ne.createContext(null);
7883
7883
  QE.displayName = "HookFormContext";
@@ -8084,22 +8084,22 @@ var $o = (r) => wt(r) && !Uu(r) ? r : {
8084
8084
  value: r,
8085
8085
  message: ""
8086
8086
  }, Bh = (r, e, t, o, s, a) => X(null, null, function* () {
8087
- const { ref: l, refs: d, required: c, maxLength: g, minLength: M, min: p, max: h, pattern: y, validate: D, name: N, valueAsNumber: m, mount: T } = r._f, E = ue(t, N);
8088
- if (!T || e.has(N))
8087
+ const { ref: l, refs: d, required: c, maxLength: g, minLength: M, min: p, max: h, pattern: y, validate: N, name: D, valueAsNumber: m, mount: T } = r._f, v = ue(t, D);
8088
+ if (!T || e.has(D))
8089
8089
  return {};
8090
8090
  const w = d ? d[0] : l, S = (ne) => {
8091
8091
  s && w.reportValidity && (w.setCustomValidity(bn(ne) ? "" : ne || ""), w.reportValidity());
8092
- }, R = {}, Y = Od(l), $ = Ia(l), Z = Y || $, le = (m || Sd(l)) && gt(l.value) && gt(E) || ku(l) && l.value === "" || E === "" || Array.isArray(E) && !E.length, q = YE.bind(null, N, o, R), De = (ne, Ae, Ie, me = ir.maxLength, Se = ir.minLength) => {
8092
+ }, R = {}, Y = Od(l), $ = Ia(l), Z = Y || $, le = (m || Sd(l)) && gt(l.value) && gt(v) || ku(l) && l.value === "" || v === "" || Array.isArray(v) && !v.length, q = YE.bind(null, D, o, R), De = (ne, Ae, Ie, me = ir.maxLength, Se = ir.minLength) => {
8093
8093
  const ke = ne ? Ae : Ie;
8094
- R[N] = b({
8094
+ R[D] = b({
8095
8095
  type: ne ? me : Se,
8096
8096
  message: ke,
8097
8097
  ref: l
8098
8098
  }, q(ne ? me : Se, ke));
8099
8099
  };
8100
- if (a ? !Array.isArray(E) || !E.length : c && (!Z && (le || Dn(E)) || bn(E) && !E || $ && !fp(d).isValid || Y && !hp(d).isValid)) {
8100
+ if (a ? !Array.isArray(v) || !v.length : c && (!Z && (le || Dn(v)) || bn(v) && !v || $ && !fp(d).isValid || Y && !hp(d).isValid)) {
8101
8101
  const { value: ne, message: Ae } = cn(c) ? { value: !!c, message: c } : $o(c);
8102
- if (ne && (R[N] = b({
8102
+ if (ne && (R[D] = b({
8103
8103
  type: ir.required,
8104
8104
  message: Ae,
8105
8105
  ref: w
@@ -8109,44 +8109,44 @@ var $o = (r) => wt(r) && !Uu(r) ? r : {
8109
8109
  if (!le && (!Dn(p) || !Dn(h))) {
8110
8110
  let ne, Ae;
8111
8111
  const Ie = $o(h), me = $o(p);
8112
- if (!Dn(E) && !isNaN(E)) {
8113
- const Se = l.valueAsNumber || E && +E;
8112
+ if (!Dn(v) && !isNaN(v)) {
8113
+ const Se = l.valueAsNumber || v && +v;
8114
8114
  Dn(Ie.value) || (ne = Se > Ie.value), Dn(me.value) || (Ae = Se < me.value);
8115
8115
  } else {
8116
- const Se = l.valueAsDate || new Date(E), ke = (Ee) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + Ee), Ce = l.type == "time", ce = l.type == "week";
8117
- cn(Ie.value) && E && (ne = Ce ? ke(E) > ke(Ie.value) : ce ? E > Ie.value : Se > new Date(Ie.value)), cn(me.value) && E && (Ae = Ce ? ke(E) < ke(me.value) : ce ? E < me.value : Se < new Date(me.value));
8116
+ const Se = l.valueAsDate || new Date(v), ke = (Ee) => /* @__PURE__ */ new Date((/* @__PURE__ */ new Date()).toDateString() + " " + Ee), Ce = l.type == "time", ce = l.type == "week";
8117
+ cn(Ie.value) && v && (ne = Ce ? ke(v) > ke(Ie.value) : ce ? v > Ie.value : Se > new Date(Ie.value)), cn(me.value) && v && (Ae = Ce ? ke(v) < ke(me.value) : ce ? v < me.value : Se < new Date(me.value));
8118
8118
  }
8119
8119
  if ((ne || Ae) && (De(!!ne, Ie.message, me.message, ir.max, ir.min), !o))
8120
- return S(R[N].message), R;
8120
+ return S(R[D].message), R;
8121
8121
  }
8122
- if ((g || M) && !le && (cn(E) || a && Array.isArray(E))) {
8123
- const ne = $o(g), Ae = $o(M), Ie = !Dn(ne.value) && E.length > +ne.value, me = !Dn(Ae.value) && E.length < +Ae.value;
8122
+ if ((g || M) && !le && (cn(v) || a && Array.isArray(v))) {
8123
+ const ne = $o(g), Ae = $o(M), Ie = !Dn(ne.value) && v.length > +ne.value, me = !Dn(Ae.value) && v.length < +Ae.value;
8124
8124
  if ((Ie || me) && (De(Ie, ne.message, Ae.message), !o))
8125
- return S(R[N].message), R;
8125
+ return S(R[D].message), R;
8126
8126
  }
8127
- if (y && !le && cn(E)) {
8127
+ if (y && !le && cn(v)) {
8128
8128
  const { value: ne, message: Ae } = $o(y);
8129
- if (Uu(ne) && !E.match(ne) && (R[N] = b({
8129
+ if (Uu(ne) && !v.match(ne) && (R[D] = b({
8130
8130
  type: ir.pattern,
8131
8131
  message: Ae,
8132
8132
  ref: l
8133
8133
  }, q(ir.pattern, Ae)), !o))
8134
8134
  return S(Ae), R;
8135
8135
  }
8136
- if (D) {
8137
- if (ln(D)) {
8138
- const ne = yield D(E, t), Ae = Yh(ne, w);
8139
- if (Ae && (R[N] = b(b({}, Ae), q(ir.validate, Ae.message)), !o))
8136
+ if (N) {
8137
+ if (ln(N)) {
8138
+ const ne = yield N(v, t), Ae = Yh(ne, w);
8139
+ if (Ae && (R[D] = b(b({}, Ae), q(ir.validate, Ae.message)), !o))
8140
8140
  return S(Ae.message), R;
8141
- } else if (wt(D)) {
8141
+ } else if (wt(N)) {
8142
8142
  let ne = {};
8143
- for (const Ae in D) {
8143
+ for (const Ae in N) {
8144
8144
  if (!un(ne) && !o)
8145
8145
  break;
8146
- const Ie = Yh(yield D[Ae](E, t), w, Ae);
8147
- Ie && (ne = b(b({}, Ie), q(Ae, Ie.message)), S(Ie.message), o && (R[N] = ne));
8146
+ const Ie = Yh(yield N[Ae](v, t), w, Ae);
8147
+ Ie && (ne = b(b({}, Ie), q(Ae, Ie.message)), S(Ie.message), o && (R[D] = ne));
8148
8148
  }
8149
- if (!un(ne) && (R[N] = b({
8149
+ if (!un(ne) && (R[D] = b({
8150
8150
  ref: w
8151
8151
  }, ne), !o))
8152
8152
  return R;
@@ -8201,7 +8201,7 @@ function rv(r = {}) {
8201
8201
  const y = {
8202
8202
  array: bh(),
8203
8203
  state: bh()
8204
- }, D = e.criteriaMode === or.all, N = (j) => (k) => {
8204
+ }, N = e.criteriaMode === or.all, D = (j) => (k) => {
8205
8205
  clearTimeout(g), g = setTimeout(j, k);
8206
8206
  }, m = (j) => X(null, null, function* () {
8207
8207
  if (!l.keepIsValid && !e.disabled && (p.isValid || h.isValid || j)) {
@@ -8221,7 +8221,7 @@ function rv(r = {}) {
8221
8221
  validatingFields: t.validatingFields,
8222
8222
  isValidating: !un(t.validatingFields)
8223
8223
  }));
8224
- }, E = (j) => {
8224
+ }, v = (j) => {
8225
8225
  const k = Vs(s, a), Q = HE(j);
8226
8226
  lt(t.dirtyFields, Q, ue(k, Q));
8227
8227
  }, w = (j, k = [], Q, ee, te = !0, J = !0) => {
@@ -8238,7 +8238,7 @@ function rv(r = {}) {
8238
8238
  const ie = Q(ue(t.touchedFields, j), ee.argA, ee.argB);
8239
8239
  te && lt(t.touchedFields, j, ie);
8240
8240
  }
8241
- (p.dirtyFields || h.dirtyFields) && E(j), y.state.next({
8241
+ (p.dirtyFields || h.dirtyFields) && v(j), y.state.next({
8242
8242
  name: j,
8243
8243
  isDirty: Ie(j, k),
8244
8244
  dirtyFields: t.dirtyFields,
@@ -8282,7 +8282,7 @@ function rv(r = {}) {
8282
8282
  return J ? Le : {};
8283
8283
  }, Z = (j, k, Q, ee) => {
8284
8284
  const te = ue(t.errors, j), J = (p.isValid || h.isValid) && bn(k) && t.isValid !== k;
8285
- if (e.delayError && Q ? (c = N(() => S(j, Q)), c(e.delayError)) : (clearTimeout(g), c = null, Q ? lt(t.errors, j, Q) : xt(t.errors, j)), (Q ? !sr(te, Q) : te) || !un(ee) || J) {
8285
+ if (e.delayError && Q ? (c = D(() => S(j, Q)), c(e.delayError)) : (clearTimeout(g), c = null, Q ? lt(t.errors, j, Q) : xt(t.errors, j)), (Q ? !sr(te, Q) : te) || !un(ee) || J) {
8286
8286
  const ie = oe(b(b({}, ee), J && bn(k) ? { isValid: k } : {}), {
8287
8287
  errors: t.errors,
8288
8288
  name: j
@@ -8338,7 +8338,7 @@ function rv(r = {}) {
8338
8338
  if (ge) {
8339
8339
  const Ue = d.array.has(ge.name), pt = re._f && ZE(re._f);
8340
8340
  pt && p.validatingFields && T([ge.name], !0);
8341
- const tt = yield Bh(re, d.disabled, a, D, e.shouldUseNativeValidation && !k, Ue);
8341
+ const tt = yield Bh(re, d.disabled, a, N, e.shouldUseNativeValidation && !k, Ue);
8342
8342
  if (pt && p.validatingFields && T([ge.name]), tt[ge.name] && (te.valid = !1, k) || (!k && (ue(tt, ge.name) ? Ue ? tv(t.errors, tt, ge.name) : lt(t.errors, ge.name, tt[ge.name]) : xt(t.errors, ge.name)), r.shouldUseNativeValidation && tt[ge.name]))
8343
8343
  break;
8344
8344
  }
@@ -8383,7 +8383,7 @@ function rv(r = {}) {
8383
8383
  lt(a, j, J), te ? (y.array.next({
8384
8384
  name: j,
8385
8385
  values: jt(a)
8386
- }), (p.isDirty || p.dirtyFields || h.isDirty || h.dirtyFields) && Q.shouldDirty && (E(j), y.state.next({
8386
+ }), (p.isDirty || p.dirtyFields || h.isDirty || h.dirtyFields) && Q.shouldDirty && (v(j), y.state.next({
8387
8387
  name: j,
8388
8388
  dirtyFields: t.dirtyFields,
8389
8389
  isDirty: Ie(j, J)
@@ -8422,7 +8422,7 @@ function rv(r = {}) {
8422
8422
  re = Un.error, Q = Un.name, ge = un(Ot);
8423
8423
  }
8424
8424
  } else
8425
- T([Q], !0), re = (yield Bh(te, d.disabled, a, D, e.shouldUseNativeValidation))[Q], T([Q]), J(pe), ee && (re ? ge = !1 : (p.isValid || h.isValid) && (ge = yield ne({
8425
+ T([Q], !0), re = (yield Bh(te, d.disabled, a, N, e.shouldUseNativeValidation))[Q], T([Q]), J(pe), ee && (re ? ge = !1 : (p.isValid || h.isValid) && (ge = yield ne({
8426
8426
  fields: o,
8427
8427
  onlyCheckValid: !0,
8428
8428
  name: Q,
@@ -8809,7 +8809,7 @@ const mi = (r, e) => {
8809
8809
  t[`regex_${s}`] = (l) => !e && !l ? !0 : typeof l != "string" ? o.message : a.test(l) || o.message;
8810
8810
  }
8811
8811
  }), t;
8812
- }, ov = ({ isOpen: r, image: e }) => /* @__PURE__ */ v(
8812
+ }, ov = ({ isOpen: r, image: e }) => /* @__PURE__ */ E(
8813
8813
  "div",
8814
8814
  {
8815
8815
  "data-ui": "gui-custom-select-chevron",
@@ -8824,7 +8824,7 @@ const mi = (r, e) => {
8824
8824
  transition: ".2s",
8825
8825
  flexShrink: 0
8826
8826
  },
8827
- children: e ? /* @__PURE__ */ v(kt, b({}, e)) : /* @__PURE__ */ v(kt, { imageId: "chevronDown" })
8827
+ children: e ? /* @__PURE__ */ E(kt, b({}, e)) : /* @__PURE__ */ E(kt, { imageId: "chevronDown" })
8828
8828
  }
8829
8829
  ), sv = ({
8830
8830
  isChosen: r,
@@ -8835,16 +8835,16 @@ const mi = (r, e) => {
8835
8835
  onHoverEnd: a
8836
8836
  }) => {
8837
8837
  const l = r ? e.layoutSelected.image : e.layout.image;
8838
- return /* @__PURE__ */ v(
8838
+ return /* @__PURE__ */ E(
8839
8839
  "div",
8840
8840
  {
8841
8841
  style: {
8842
8842
  padding: "5px 8px",
8843
8843
  background: ((c, g) => {
8844
- var M, p, h, y, D, N, m, T;
8844
+ var M, p, h, y, N, D, m, T;
8845
8845
  if (!c && !g) return (p = je((M = e.layout) == null ? void 0 : M.backgroundColor)) != null ? p : "transparent";
8846
8846
  if (!c && g) return (y = je((h = e.layoutSelected) == null ? void 0 : h.backgroundColor)) != null ? y : "transparent";
8847
- if (c && !g) return (N = je((D = e.layout) == null ? void 0 : D.highlightColor)) != null ? N : "#F4F4F4";
8847
+ if (c && !g) return (D = je((N = e.layout) == null ? void 0 : N.highlightColor)) != null ? D : "#F4F4F4";
8848
8848
  if (c && g) return (T = je((m = e.layoutSelected) == null ? void 0 : m.highlightColor)) != null ? T : "#F4F4F4";
8849
8849
  })(o, r),
8850
8850
  fontSize: 13,
@@ -8860,15 +8860,15 @@ const mi = (r, e) => {
8860
8860
  onMouseEnter: s,
8861
8861
  onMouseLeave: a,
8862
8862
  children: [
8863
- /* @__PURE__ */ v(at, oe(b({}, e.layout.title), { text: e.label })),
8864
- /* @__PURE__ */ v(
8863
+ /* @__PURE__ */ E(at, oe(b({}, e.layout.title), { text: e.label })),
8864
+ /* @__PURE__ */ E(
8865
8865
  "div",
8866
8866
  {
8867
8867
  style: {
8868
8868
  display: "flex",
8869
8869
  flexShrink: 0
8870
8870
  },
8871
- children: /* @__PURE__ */ v(kt, b({}, l))
8871
+ children: /* @__PURE__ */ E(kt, b({}, l))
8872
8872
  }
8873
8873
  )
8874
8874
  ]
@@ -8890,7 +8890,7 @@ const mi = (r, e) => {
8890
8890
  pickerLayout: p
8891
8891
  }) => {
8892
8892
  var Ae, Ie, me, Se, ke, Ce, ce, Ee;
8893
- const [h, y] = ht(!1), [D, N] = ht(s), [m, T] = ht("down"), [E, w] = ht(null), S = ur(null), R = ur(null);
8893
+ const [h, y] = ht(!1), [N, D] = ht(s), [m, T] = ht("down"), [v, w] = ht(null), S = ur(null), R = ur(null);
8894
8894
  Di(() => {
8895
8895
  var de, Ye, Pe;
8896
8896
  if (!h) return;
@@ -8899,12 +8899,12 @@ const mi = (r, e) => {
8899
8899
  const xe = ae.bottom + _e.height < Ze.bottom;
8900
8900
  T(xe ? "down" : "up");
8901
8901
  }, [h]), zn(() => {
8902
- a(D);
8903
- }, [D]);
8902
+ a(N);
8903
+ }, [N]);
8904
8904
  const Y = (ae) => (_e) => {
8905
8905
  var xe, de;
8906
8906
  const Ze = _e.target;
8907
- (xe = Ze == null ? void 0 : Ze.closest) != null && xe.call(Ze, "a") || (_e.stopPropagation(), (_e.type === "touchend" || ((de = _e.nativeEvent) == null ? void 0 : de.pointerType) === "touch") && w(null), d && y(!1), N((Ye) => t ? Ye.some((Tt) => Tt.value === ae.value) ? Ye.filter((Tt) => Tt.value !== ae.value) : [...Ye, ae] : [ae]));
8907
+ (xe = Ze == null ? void 0 : Ze.closest) != null && xe.call(Ze, "a") || (_e.stopPropagation(), (_e.type === "touchend" || ((de = _e.nativeEvent) == null ? void 0 : de.pointerType) === "touch") && w(null), d && y(!1), D((Ye) => t ? Ye.some((Tt) => Tt.value === ae.value) ? Ye.filter((Tt) => Tt.value !== ae.value) : [...Ye, ae] : [ae]));
8908
8908
  }, $ = () => {
8909
8909
  c && c(), y(!1);
8910
8910
  }, Z = (ae) => {
@@ -8912,11 +8912,11 @@ const mi = (r, e) => {
8912
8912
  const _e = ae.currentTarget, Ze = (xe = ae.relatedTarget) != null ? xe : null;
8913
8913
  Ze && _e.contains(Ze) || $();
8914
8914
  }, le = (ae) => (_e) => {
8915
- _e.stopPropagation(), N((Ze) => Ze.filter((xe) => xe.value !== ae.value));
8915
+ _e.stopPropagation(), D((Ze) => Ze.filter((xe) => xe.value !== ae.value));
8916
8916
  }, q = (ae) => {
8917
- ae.stopPropagation(), N([]);
8917
+ ae.stopPropagation(), D([]);
8918
8918
  }, De = (Ae = je(M == null ? void 0 : M.borderColor)) != null ? Ae : "#D9D9D9", ne = (Ie = je(M == null ? void 0 : M.highlightBorderColor)) != null ? Ie : "#7E57C5";
8919
- return /* @__PURE__ */ v("div", { "data-ui": "gui-custom-select", ref: S, children: /* @__PURE__ */ v(
8919
+ return /* @__PURE__ */ E("div", { "data-ui": "gui-custom-select", ref: S, children: /* @__PURE__ */ E(
8920
8920
  "div",
8921
8921
  {
8922
8922
  "data-ui": "gui-select-name-" + r,
@@ -8943,7 +8943,7 @@ const mi = (r, e) => {
8943
8943
  onBlur: Z,
8944
8944
  onClick: () => y(!h),
8945
8945
  children: [
8946
- /* @__PURE__ */ v(
8946
+ /* @__PURE__ */ E(
8947
8947
  "div",
8948
8948
  {
8949
8949
  "data-ui": "gui-custom-select-multi-choose-container",
@@ -8956,7 +8956,7 @@ const mi = (r, e) => {
8956
8956
  width: t ? "calc(100% - 63px)" : "100%"
8957
8957
  },
8958
8958
  children: [
8959
- !D.length && /* @__PURE__ */ v(
8959
+ !N.length && /* @__PURE__ */ E(
8960
8960
  "span",
8961
8961
  {
8962
8962
  style: {
@@ -8966,11 +8966,11 @@ const mi = (r, e) => {
8966
8966
  children: l
8967
8967
  }
8968
8968
  ),
8969
- D.map((ae) => {
8969
+ N.map((ae) => {
8970
8970
  var _e, Ze, xe, de, Ye;
8971
8971
  if (t) {
8972
8972
  const Pe = M == null ? void 0 : M.chip;
8973
- return /* @__PURE__ */ v(
8973
+ return /* @__PURE__ */ E(
8974
8974
  "div",
8975
8975
  {
8976
8976
  style: {
@@ -8983,14 +8983,14 @@ const mi = (r, e) => {
8983
8983
  alignItems: "center"
8984
8984
  },
8985
8985
  children: [
8986
- /* @__PURE__ */ v(
8986
+ /* @__PURE__ */ E(
8987
8987
  at,
8988
8988
  oe(b({}, Pe == null ? void 0 : Pe.title), {
8989
8989
  fontSize: (de = (xe = Pe == null ? void 0 : Pe.title) == null ? void 0 : xe.fontSize) != null ? de : 13,
8990
8990
  text: ae.label
8991
8991
  })
8992
8992
  ),
8993
- /* @__PURE__ */ v(
8993
+ /* @__PURE__ */ E(
8994
8994
  "div",
8995
8995
  {
8996
8996
  style: {
@@ -9001,7 +9001,7 @@ const mi = (r, e) => {
9001
9001
  height: "16px"
9002
9002
  },
9003
9003
  onClick: le(ae),
9004
- children: Pe != null && Pe.removeImage ? /* @__PURE__ */ v(kt, b({}, Pe.removeImage)) : /* @__PURE__ */ v(kt, { imageId: "cross" })
9004
+ children: Pe != null && Pe.removeImage ? /* @__PURE__ */ E(kt, b({}, Pe.removeImage)) : /* @__PURE__ */ E(kt, { imageId: "cross" })
9005
9005
  }
9006
9006
  )
9007
9007
  ]
@@ -9010,14 +9010,14 @@ const mi = (r, e) => {
9010
9010
  );
9011
9011
  } else {
9012
9012
  const Pe = M == null ? void 0 : M.title;
9013
- return /* @__PURE__ */ v(
9013
+ return /* @__PURE__ */ E(
9014
9014
  "div",
9015
9015
  {
9016
9016
  style: {
9017
9017
  display: "flex",
9018
9018
  userSelect: "none"
9019
9019
  },
9020
- children: /* @__PURE__ */ v(at, oe(b({}, Pe), { fontSize: (Ye = Pe == null ? void 0 : Pe.fontSize) != null ? Ye : 13, text: ae.label }))
9020
+ children: /* @__PURE__ */ E(at, oe(b({}, Pe), { fontSize: (Ye = Pe == null ? void 0 : Pe.fontSize) != null ? Ye : 13, text: ae.label }))
9021
9021
  },
9022
9022
  ae.value
9023
9023
  );
@@ -9026,7 +9026,7 @@ const mi = (r, e) => {
9026
9026
  ]
9027
9027
  }
9028
9028
  ),
9029
- o && D.length ? /* @__PURE__ */ v(
9029
+ o && N.length ? /* @__PURE__ */ E(
9030
9030
  "div",
9031
9031
  {
9032
9032
  style: {
@@ -9038,10 +9038,10 @@ const mi = (r, e) => {
9038
9038
  zIndex: 1
9039
9039
  },
9040
9040
  onClick: q,
9041
- children: M != null && M.clearButton ? /* @__PURE__ */ v(kt, b({}, M.clearButton)) : /* @__PURE__ */ v(kt, { imageId: "cross" })
9041
+ children: M != null && M.clearButton ? /* @__PURE__ */ E(kt, b({}, M.clearButton)) : /* @__PURE__ */ E(kt, { imageId: "cross" })
9042
9042
  }
9043
9043
  ) : null,
9044
- o ? /* @__PURE__ */ v(
9044
+ o ? /* @__PURE__ */ E(
9045
9045
  "div",
9046
9046
  {
9047
9047
  style: {
@@ -9051,8 +9051,8 @@ const mi = (r, e) => {
9051
9051
  }
9052
9052
  }
9053
9053
  ) : null,
9054
- /* @__PURE__ */ v(ov, { isOpen: h, image: M == null ? void 0 : M.expandButton }),
9055
- h && /* @__PURE__ */ v(
9054
+ /* @__PURE__ */ E(ov, { isOpen: h, image: M == null ? void 0 : M.expandButton }),
9055
+ h && /* @__PURE__ */ E(
9056
9056
  "div",
9057
9057
  {
9058
9058
  "data-ui": "gui-custom-select-dropdown-menu",
@@ -9080,14 +9080,14 @@ const mi = (r, e) => {
9080
9080
  }),
9081
9081
  onClick: (ae) => ae.stopPropagation(),
9082
9082
  children: e.map((ae) => {
9083
- const _e = D.some((Ze) => Ze.value === ae.value);
9084
- return /* @__PURE__ */ v(
9083
+ const _e = N.some((Ze) => Ze.value === ae.value);
9084
+ return /* @__PURE__ */ E(
9085
9085
  sv,
9086
9086
  {
9087
9087
  isChosen: _e,
9088
9088
  option: ae,
9089
9089
  onOptionClickCallback: Y,
9090
- isHovered: E === ae.value,
9090
+ isHovered: v === ae.value,
9091
9091
  onHover: () => w(ae.value),
9092
9092
  onHoverEnd: () => w(null)
9093
9093
  },
@@ -9111,7 +9111,7 @@ const mi = (r, e) => {
9111
9111
  layout: e.option,
9112
9112
  layoutSelected: e.optionSelected
9113
9113
  })), a = String(t.id);
9114
- return /* @__PURE__ */ v(
9114
+ return /* @__PURE__ */ E(
9115
9115
  "div",
9116
9116
  {
9117
9117
  style: {
@@ -9121,8 +9121,8 @@ const mi = (r, e) => {
9121
9121
  boxSizing: "border-box"
9122
9122
  },
9123
9123
  children: [
9124
- e.title && /* @__PURE__ */ v(at, oe(b({}, e.title), { text: t.text, htmlFor: a })),
9125
- /* @__PURE__ */ v(
9124
+ e.title && /* @__PURE__ */ E(at, oe(b({}, e.title), { text: t.text, htmlFor: a })),
9125
+ /* @__PURE__ */ E(
9126
9126
  Gu,
9127
9127
  {
9128
9128
  name: a,
@@ -9133,7 +9133,7 @@ const mi = (r, e) => {
9133
9133
  },
9134
9134
  render: ({ field: l }) => {
9135
9135
  const d = s.find((c) => c.value === l.value);
9136
- return /* @__PURE__ */ v(
9136
+ return /* @__PURE__ */ E(
9137
9137
  Mp,
9138
9138
  {
9139
9139
  options: s,
@@ -9170,7 +9170,7 @@ const mi = (r, e) => {
9170
9170
  layout: e.option,
9171
9171
  layoutSelected: e.optionSelected
9172
9172
  })), a = String(t.id);
9173
- return /* @__PURE__ */ v(
9173
+ return /* @__PURE__ */ E(
9174
9174
  "div",
9175
9175
  {
9176
9176
  style: {
@@ -9180,8 +9180,8 @@ const mi = (r, e) => {
9180
9180
  boxSizing: "border-box"
9181
9181
  },
9182
9182
  children: [
9183
- e.title && /* @__PURE__ */ v(at, oe(b({}, e.title), { text: t.text, htmlFor: a })),
9184
- /* @__PURE__ */ v(
9183
+ e.title && /* @__PURE__ */ E(at, oe(b({}, e.title), { text: t.text, htmlFor: a })),
9184
+ /* @__PURE__ */ E(
9185
9185
  Gu,
9186
9186
  {
9187
9187
  name: a,
@@ -9195,7 +9195,7 @@ const mi = (r, e) => {
9195
9195
  var g;
9196
9196
  return (g = l.value) == null ? void 0 : g.includes(c.value);
9197
9197
  });
9198
- return /* @__PURE__ */ v(
9198
+ return /* @__PURE__ */ E(
9199
9199
  Mp,
9200
9200
  {
9201
9201
  name: a,
@@ -9242,7 +9242,7 @@ const mi = (r, e) => {
9242
9242
  backgroundColor: je(g == null ? void 0 : g.backgroundColor),
9243
9243
  borderRadius: g.cornerRadius
9244
9244
  }, y = a && d ? { filter: `drop-shadow(0 0 1px ${to})` } : {};
9245
- return /* @__PURE__ */ v("div", { children: /* @__PURE__ */ v(
9245
+ return /* @__PURE__ */ E("div", { children: /* @__PURE__ */ E(
9246
9246
  "label",
9247
9247
  {
9248
9248
  style: b({
@@ -9253,7 +9253,7 @@ const mi = (r, e) => {
9253
9253
  cursor: "pointer"
9254
9254
  }, o ? p : h),
9255
9255
  children: [
9256
- /* @__PURE__ */ v(
9256
+ /* @__PURE__ */ E(
9257
9257
  "div",
9258
9258
  {
9259
9259
  style: b({
@@ -9262,11 +9262,11 @@ const mi = (r, e) => {
9262
9262
  alignContent: "center",
9263
9263
  flexShrink: 0
9264
9264
  }, y),
9265
- children: /* @__PURE__ */ v(kt, b({}, o ? M.image : g.image))
9265
+ children: /* @__PURE__ */ E(kt, b({}, o ? M.image : g.image))
9266
9266
  }
9267
9267
  ),
9268
- /* @__PURE__ */ v(at, oe(b({}, o ? M.title : g.title), { text: r.text })),
9269
- /* @__PURE__ */ v(
9268
+ /* @__PURE__ */ E(at, oe(b({}, o ? M.title : g.title), { text: r.text })),
9269
+ /* @__PURE__ */ E(
9270
9270
  "input",
9271
9271
  {
9272
9272
  style: {
@@ -9294,7 +9294,7 @@ const mi = (r, e) => {
9294
9294
  dataSourceQuestion: t
9295
9295
  }) => {
9296
9296
  const o = String(t.id);
9297
- return /* @__PURE__ */ v("div", { style: { boxSizing: "border-box" }, children: /* @__PURE__ */ v(
9297
+ return /* @__PURE__ */ E("div", { style: { boxSizing: "border-box" }, children: /* @__PURE__ */ E(
9298
9298
  "fieldset",
9299
9299
  {
9300
9300
  style: {
@@ -9306,8 +9306,8 @@ const mi = (r, e) => {
9306
9306
  gap: "16px"
9307
9307
  },
9308
9308
  children: [
9309
- e.title && /* @__PURE__ */ v("legend", { style: { margin: 0, padding: 0, marginBottom: "16px" }, children: /* @__PURE__ */ v(at, oe(b({}, e.title), { text: t.text })) }),
9310
- /* @__PURE__ */ v(
9309
+ e.title && /* @__PURE__ */ E("legend", { style: { margin: 0, padding: 0, marginBottom: "16px" }, children: /* @__PURE__ */ E(at, oe(b({}, e.title), { text: t.text })) }),
9310
+ /* @__PURE__ */ E(
9311
9311
  Gu,
9312
9312
  {
9313
9313
  name: o,
@@ -9322,9 +9322,9 @@ const mi = (r, e) => {
9322
9322
  render: ({ field: s }) => {
9323
9323
  var l;
9324
9324
  const a = (l = s.value) != null ? l : [];
9325
- return /* @__PURE__ */ v(Qt, { children: t.options.map((d) => {
9325
+ return /* @__PURE__ */ E(Qt, { children: t.options.map((d) => {
9326
9326
  const c = String(d.id), g = a.includes(c);
9327
- return /* @__PURE__ */ v(
9327
+ return /* @__PURE__ */ E(
9328
9328
  lv,
9329
9329
  {
9330
9330
  dataSourceQuestion: t,
@@ -9363,7 +9363,7 @@ const mi = (r, e) => {
9363
9363
  borderColor: je(M == null ? void 0 : M.borderColor),
9364
9364
  borderWidth: M == null ? void 0 : M.borderWidth
9365
9365
  }, y = a && d ? { outline: `2px solid ${to}` } : {};
9366
- return /* @__PURE__ */ v("div", { style: { display: "flex", flexGrow: 1 }, children: /* @__PURE__ */ v(
9366
+ return /* @__PURE__ */ E("div", { style: { display: "flex", flexGrow: 1 }, children: /* @__PURE__ */ E(
9367
9367
  "label",
9368
9368
  {
9369
9369
  style: b(b({
@@ -9374,7 +9374,7 @@ const mi = (r, e) => {
9374
9374
  position: "relative"
9375
9375
  }, o ? h : p), y),
9376
9376
  children: [
9377
- /* @__PURE__ */ v(
9377
+ /* @__PURE__ */ E(
9378
9378
  "input",
9379
9379
  {
9380
9380
  style: {
@@ -9393,7 +9393,7 @@ const mi = (r, e) => {
9393
9393
  onBlur: () => l(!1)
9394
9394
  }
9395
9395
  ),
9396
- /* @__PURE__ */ v(at, oe(b({}, o ? M.title : g.title), { text: r.text }))
9396
+ /* @__PURE__ */ E(at, oe(b({}, o ? M.title : g.title), { text: r.text }))
9397
9397
  ]
9398
9398
  }
9399
9399
  ) });
@@ -9403,7 +9403,7 @@ const mi = (r, e) => {
9403
9403
  dataSourceQuestion: t
9404
9404
  }) => {
9405
9405
  const o = String(t.id);
9406
- return /* @__PURE__ */ v("div", { style: { boxSizing: "border-box" }, children: /* @__PURE__ */ v(
9406
+ return /* @__PURE__ */ E("div", { style: { boxSizing: "border-box" }, children: /* @__PURE__ */ E(
9407
9407
  "fieldset",
9408
9408
  {
9409
9409
  style: {
@@ -9412,7 +9412,7 @@ const mi = (r, e) => {
9412
9412
  border: "none"
9413
9413
  },
9414
9414
  children: [
9415
- e.title && /* @__PURE__ */ v(
9415
+ e.title && /* @__PURE__ */ E(
9416
9416
  "legend",
9417
9417
  {
9418
9418
  style: {
@@ -9420,10 +9420,10 @@ const mi = (r, e) => {
9420
9420
  padding: 0,
9421
9421
  marginBottom: "16px"
9422
9422
  },
9423
- children: /* @__PURE__ */ v(at, oe(b({}, e.title), { text: t.text }))
9423
+ children: /* @__PURE__ */ E(at, oe(b({}, e.title), { text: t.text }))
9424
9424
  }
9425
9425
  ),
9426
- /* @__PURE__ */ v(
9426
+ /* @__PURE__ */ E(
9427
9427
  Gu,
9428
9428
  {
9429
9429
  name: o,
@@ -9438,9 +9438,9 @@ const mi = (r, e) => {
9438
9438
  render: ({ field: s }) => {
9439
9439
  var l;
9440
9440
  const a = (l = s.value) != null ? l : [];
9441
- return /* @__PURE__ */ v("div", { style: { display: "flex", justifyContent: "center", gap: 5 }, children: t.options.map((d) => {
9441
+ return /* @__PURE__ */ E("div", { style: { display: "flex", justifyContent: "center", gap: 5 }, children: t.options.map((d) => {
9442
9442
  const c = String(d.id), g = a.includes(c);
9443
- return /* @__PURE__ */ v(
9443
+ return /* @__PURE__ */ E(
9444
9444
  dv,
9445
9445
  {
9446
9446
  dataSourceQuestion: t,
@@ -9471,11 +9471,11 @@ const mi = (r, e) => {
9471
9471
  const [a, l] = ht(!1), d = Zu(), c = String(t.id), M = s(c) === String(r.id), p = e.option, h = e.optionSelected, y = {
9472
9472
  backgroundColor: je(h == null ? void 0 : h.backgroundColor),
9473
9473
  borderRadius: h.cornerRadius
9474
- }, D = {
9474
+ }, N = {
9475
9475
  backgroundColor: je(p == null ? void 0 : p.backgroundColor),
9476
9476
  borderRadius: p.cornerRadius
9477
- }, N = a && d ? { filter: `drop-shadow(0 0 1px ${to})` } : {};
9478
- return /* @__PURE__ */ v("div", { children: /* @__PURE__ */ v(
9477
+ }, D = a && d ? { filter: `drop-shadow(0 0 1px ${to})` } : {};
9478
+ return /* @__PURE__ */ E("div", { children: /* @__PURE__ */ E(
9479
9479
  "label",
9480
9480
  {
9481
9481
  style: b({
@@ -9484,9 +9484,9 @@ const mi = (r, e) => {
9484
9484
  alignContent: "center",
9485
9485
  gap: 8,
9486
9486
  cursor: "pointer"
9487
- }, M ? y : D),
9487
+ }, M ? y : N),
9488
9488
  children: [
9489
- /* @__PURE__ */ v(
9489
+ /* @__PURE__ */ E(
9490
9490
  "div",
9491
9491
  {
9492
9492
  style: b({
@@ -9494,12 +9494,12 @@ const mi = (r, e) => {
9494
9494
  alignItems: "center",
9495
9495
  alignContent: "center",
9496
9496
  flexShrink: 0
9497
- }, N),
9498
- children: /* @__PURE__ */ v(kt, b({}, M ? h.image : p.image))
9497
+ }, D),
9498
+ children: /* @__PURE__ */ E(kt, b({}, M ? h.image : p.image))
9499
9499
  }
9500
9500
  ),
9501
- /* @__PURE__ */ v(at, oe(b({}, M ? h.title : p.title), { text: r.text })),
9502
- /* @__PURE__ */ v(
9501
+ /* @__PURE__ */ E(at, oe(b({}, M ? h.title : p.title), { text: r.text })),
9502
+ /* @__PURE__ */ E(
9503
9503
  "input",
9504
9504
  oe(b({
9505
9505
  style: {
@@ -9530,7 +9530,7 @@ const mi = (r, e) => {
9530
9530
  register: e,
9531
9531
  watch: t,
9532
9532
  dataSourceQuestion: o
9533
- }) => /* @__PURE__ */ v("div", { style: { boxSizing: "border-box" }, children: /* @__PURE__ */ v(
9533
+ }) => /* @__PURE__ */ E("div", { style: { boxSizing: "border-box" }, children: /* @__PURE__ */ E(
9534
9534
  "fieldset",
9535
9535
  {
9536
9536
  style: {
@@ -9542,7 +9542,7 @@ const mi = (r, e) => {
9542
9542
  gap: "16px"
9543
9543
  },
9544
9544
  children: [
9545
- r.title && /* @__PURE__ */ v(
9545
+ r.title && /* @__PURE__ */ E(
9546
9546
  "legend",
9547
9547
  {
9548
9548
  style: {
@@ -9550,10 +9550,10 @@ const mi = (r, e) => {
9550
9550
  padding: 0,
9551
9551
  marginBottom: "16px"
9552
9552
  },
9553
- children: /* @__PURE__ */ v(at, oe(b({}, r.title), { text: o.text }))
9553
+ children: /* @__PURE__ */ E(at, oe(b({}, r.title), { text: o.text }))
9554
9554
  }
9555
9555
  ),
9556
- o.options.map((s) => /* @__PURE__ */ v(
9556
+ o.options.map((s) => /* @__PURE__ */ E(
9557
9557
  gv,
9558
9558
  {
9559
9559
  register: e,
@@ -9578,20 +9578,20 @@ const mi = (r, e) => {
9578
9578
  background: je(p == null ? void 0 : p.backgroundColor),
9579
9579
  borderColor: je(p == null ? void 0 : p.borderColor),
9580
9580
  borderWidth: p == null ? void 0 : p.borderWidth
9581
- }, D = {
9581
+ }, N = {
9582
9582
  borderRadius: h == null ? void 0 : h.cornerRadius,
9583
9583
  background: je(h == null ? void 0 : h.backgroundColor),
9584
9584
  borderColor: je(h == null ? void 0 : h.borderColor),
9585
9585
  borderWidth: h == null ? void 0 : h.borderWidth
9586
- }, N = a && d ? { outline: `2px solid ${to}` } : {};
9587
- return /* @__PURE__ */ v(
9586
+ }, D = a && d ? { outline: `2px solid ${to}` } : {};
9587
+ return /* @__PURE__ */ E(
9588
9588
  "div",
9589
9589
  {
9590
9590
  style: {
9591
9591
  display: "flex",
9592
9592
  flexGrow: 1
9593
9593
  },
9594
- children: /* @__PURE__ */ v(
9594
+ children: /* @__PURE__ */ E(
9595
9595
  "label",
9596
9596
  {
9597
9597
  style: b(b({
@@ -9600,9 +9600,9 @@ const mi = (r, e) => {
9600
9600
  cursor: "pointer",
9601
9601
  borderStyle: "solid",
9602
9602
  position: "relative"
9603
- }, M ? D : y), N),
9603
+ }, M ? N : y), D),
9604
9604
  children: [
9605
- /* @__PURE__ */ v(
9605
+ /* @__PURE__ */ E(
9606
9606
  "input",
9607
9607
  oe(b({
9608
9608
  style: {
@@ -9625,7 +9625,7 @@ const mi = (r, e) => {
9625
9625
  onBlur: () => l(!1)
9626
9626
  })
9627
9627
  ),
9628
- /* @__PURE__ */ v(at, oe(b({}, M ? h.title : p.title), { text: r.text }))
9628
+ /* @__PURE__ */ E(at, oe(b({}, M ? h.title : p.title), { text: r.text }))
9629
9629
  ]
9630
9630
  }
9631
9631
  )
@@ -9637,7 +9637,7 @@ const mi = (r, e) => {
9637
9637
  watch: e,
9638
9638
  register: t,
9639
9639
  dataSourceQuestion: o
9640
- }) => /* @__PURE__ */ v("div", { style: { boxSizing: "border-box" }, children: /* @__PURE__ */ v(
9640
+ }) => /* @__PURE__ */ E("div", { style: { boxSizing: "border-box" }, children: /* @__PURE__ */ E(
9641
9641
  "fieldset",
9642
9642
  {
9643
9643
  style: {
@@ -9646,7 +9646,7 @@ const mi = (r, e) => {
9646
9646
  border: "none"
9647
9647
  },
9648
9648
  children: [
9649
- r.title && /* @__PURE__ */ v(
9649
+ r.title && /* @__PURE__ */ E(
9650
9650
  "legend",
9651
9651
  {
9652
9652
  style: {
@@ -9654,10 +9654,10 @@ const mi = (r, e) => {
9654
9654
  padding: 0,
9655
9655
  marginBottom: "16px"
9656
9656
  },
9657
- children: /* @__PURE__ */ v(at, oe(b({}, r.title), { text: o.text }))
9657
+ children: /* @__PURE__ */ E(at, oe(b({}, r.title), { text: o.text }))
9658
9658
  }
9659
9659
  ),
9660
- /* @__PURE__ */ v("div", { style: { display: "flex", justifyContent: "center", gap: 5 }, children: o.options.map((s) => /* @__PURE__ */ v(
9660
+ /* @__PURE__ */ E("div", { style: { display: "flex", justifyContent: "center", gap: 5 }, children: o.options.map((s) => /* @__PURE__ */ E(
9661
9661
  Mv,
9662
9662
  {
9663
9663
  register: t,
@@ -9694,8 +9694,8 @@ const mi = (r, e) => {
9694
9694
  borderColor: a,
9695
9695
  borderStyle: "solid"
9696
9696
  }), l && { borderWidth: l }));
9697
- return /* @__PURE__ */ v("div", { style: d, children: [
9698
- s && /* @__PURE__ */ v(
9697
+ return /* @__PURE__ */ E("div", { style: d, children: [
9698
+ s && /* @__PURE__ */ E(
9699
9699
  "span",
9700
9700
  {
9701
9701
  style: {
@@ -9709,14 +9709,14 @@ const mi = (r, e) => {
9709
9709
  ),
9710
9710
  r
9711
9711
  ] });
9712
- }, yv = ({ validationErrorsTypes: r, title: e }) => r ? /* @__PURE__ */ v("div", { style: { width: "100%", fontSize: 12 }, children: Object.entries(r).map(([t, o]) => /* @__PURE__ */ v(at, oe(b({}, e), { text: o }), t)) }) : null, Nv = ({
9712
+ }, yv = ({ validationErrorsTypes: r, title: e }) => r ? /* @__PURE__ */ E("div", { style: { width: "100%", fontSize: 12 }, children: Object.entries(r).map(([t, o]) => /* @__PURE__ */ E(at, oe(b({}, e), { text: o }), t)) }) : null, Nv = ({
9713
9713
  layout: r,
9714
9714
  dataSourceQuestion: e,
9715
9715
  register: t
9716
9716
  }) => {
9717
- var a, l, d, c, g, M, p, h, y, D, N, m, T, E, w, S;
9717
+ var a, l, d, c, g, M, p, h, y, N, D, m, T, v, w, S;
9718
9718
  const o = String(e.id), s = (R) => R ? R === Iu.EMAIL ? "email" : R === Iu.FREE_TEXT ? "text" : R === Iu.NUMBER ? "number" : R === Iu.SECURE ? "password" : "text" : "text";
9719
- return /* @__PURE__ */ v(
9719
+ return /* @__PURE__ */ E(
9720
9720
  "div",
9721
9721
  {
9722
9722
  style: {
@@ -9725,8 +9725,8 @@ const mi = (r, e) => {
9725
9725
  gap: "16px"
9726
9726
  },
9727
9727
  children: [
9728
- /* @__PURE__ */ v(at, oe(b({}, r.title), { text: e.text, htmlFor: o })),
9729
- /* @__PURE__ */ v(
9728
+ /* @__PURE__ */ E(at, oe(b({}, r.title), { text: e.text, htmlFor: o })),
9729
+ /* @__PURE__ */ E(
9730
9730
  "input",
9731
9731
  oe(b({}, t(o, {
9732
9732
  required: !!e.required,
@@ -9740,12 +9740,12 @@ const mi = (r, e) => {
9740
9740
  color: (p = je((M = r == null ? void 0 : r.textField) == null ? void 0 : M.fontColor)) != null ? p : "#000000",
9741
9741
  height: "42px",
9742
9742
  borderWidth: (y = (h = r == null ? void 0 : r.textField) == null ? void 0 : h.borderWidth) != null ? y : 1,
9743
- borderColor: (N = je((D = r == null ? void 0 : r.textField) == null ? void 0 : D.borderColor)) != null ? N : "#d9d9d9",
9743
+ borderColor: (D = je((N = r == null ? void 0 : r.textField) == null ? void 0 : N.borderColor)) != null ? D : "#d9d9d9",
9744
9744
  borderStyle: "solid",
9745
9745
  borderRadius: (T = (m = r == null ? void 0 : r.textField) == null ? void 0 : m.cornerRadius) != null ? T : 8,
9746
9746
  padding: "11px",
9747
9747
  boxSizing: "border-box",
9748
- backgroundColor: (w = je((E = r == null ? void 0 : r.textField) == null ? void 0 : E.backgroundColor)) != null ? w : "#FFFFFF",
9748
+ backgroundColor: (w = je((v = r == null ? void 0 : r.textField) == null ? void 0 : v.backgroundColor)) != null ? w : "#FFFFFF",
9749
9749
  outlineColor: to
9750
9750
  },
9751
9751
  placeholder: (S = e.placeholder) != null ? S : "",
@@ -9760,9 +9760,9 @@ const mi = (r, e) => {
9760
9760
  dataSourceQuestion: e,
9761
9761
  register: t
9762
9762
  }) => {
9763
- var s, a, l, d, c, g, M, p, h, y, D, N, m;
9763
+ var s, a, l, d, c, g, M, p, h, y, N, D, m;
9764
9764
  const o = String(e.id);
9765
- return /* @__PURE__ */ v(
9765
+ return /* @__PURE__ */ E(
9766
9766
  "div",
9767
9767
  {
9768
9768
  style: {
@@ -9771,8 +9771,8 @@ const mi = (r, e) => {
9771
9771
  gap: "16px"
9772
9772
  },
9773
9773
  children: [
9774
- /* @__PURE__ */ v(at, oe(b({}, r.title), { text: e.text, htmlFor: o })),
9775
- /* @__PURE__ */ v(
9774
+ /* @__PURE__ */ E(at, oe(b({}, r.title), { text: e.text, htmlFor: o })),
9775
+ /* @__PURE__ */ E(
9776
9776
  "textarea",
9777
9777
  oe(b({}, t(o, {
9778
9778
  required: !!e.required,
@@ -9795,10 +9795,10 @@ const mi = (r, e) => {
9795
9795
  borderWidth: (M = (g = r == null ? void 0 : r.textField) == null ? void 0 : g.borderWidth) != null ? M : 1,
9796
9796
  borderColor: (h = je((p = r == null ? void 0 : r.textField) == null ? void 0 : p.borderColor)) != null ? h : "#d9d9d9",
9797
9797
  borderStyle: "solid",
9798
- borderRadius: (D = (y = r == null ? void 0 : r.textField) == null ? void 0 : y.cornerRadius) != null ? D : 8,
9798
+ borderRadius: (N = (y = r == null ? void 0 : r.textField) == null ? void 0 : y.cornerRadius) != null ? N : 8,
9799
9799
  padding: "11px",
9800
9800
  boxSizing: "border-box",
9801
- backgroundColor: (m = je((N = r == null ? void 0 : r.textField) == null ? void 0 : N.backgroundColor)) != null ? m : "#FFFFFF",
9801
+ backgroundColor: (m = je((D = r == null ? void 0 : r.textField) == null ? void 0 : D.backgroundColor)) != null ? m : "#FFFFFF",
9802
9802
  outlineColor: to
9803
9803
  }
9804
9804
  })
@@ -9849,19 +9849,19 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
9849
9849
  const M = l ? DE(a.questions, l) : {}, p = ur(null), {
9850
9850
  register: h,
9851
9851
  handleSubmit: y,
9852
- formState: { errors: D },
9853
- reset: N,
9852
+ formState: { errors: N },
9853
+ reset: D,
9854
9854
  watch: m,
9855
9855
  control: T
9856
9856
  } = iv({
9857
9857
  criteriaMode: "all",
9858
9858
  defaultValues: M
9859
9859
  });
9860
- return /* @__PURE__ */ v(Zr, { header: r, footer: o, backgroundColor: d, children: /* @__PURE__ */ v(
9860
+ return /* @__PURE__ */ E(Zr, { header: r, footer: o, backgroundColor: d, children: /* @__PURE__ */ E(
9861
9861
  "form",
9862
9862
  {
9863
9863
  onSubmit: y((S) => {
9864
- g(yE(S), c), N();
9864
+ g(yE(S), c), D();
9865
9865
  }),
9866
9866
  style: {
9867
9867
  height: "100%",
@@ -9872,7 +9872,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
9872
9872
  },
9873
9873
  noValidate: !0,
9874
9874
  children: [
9875
- /* @__PURE__ */ v(
9875
+ /* @__PURE__ */ E(
9876
9876
  "div",
9877
9877
  {
9878
9878
  style: {
@@ -9892,8 +9892,8 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
9892
9892
  ref: p,
9893
9893
  children: [
9894
9894
  e && /** Screen title */
9895
- /* @__PURE__ */ v("div", { style: { lineHeight: "39.2px", width: "100%" }, children: /* @__PURE__ */ v(at, b({}, e)) }),
9896
- /* @__PURE__ */ v(
9895
+ /* @__PURE__ */ E("div", { style: { lineHeight: "39.2px", width: "100%" }, children: /* @__PURE__ */ E(at, b({}, e)) }),
9896
+ /* @__PURE__ */ E(
9897
9897
  "div",
9898
9898
  {
9899
9899
  "data-ui": "gui-questions",
@@ -9914,11 +9914,11 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
9914
9914
  g(ne);
9915
9915
  return;
9916
9916
  }
9917
- const le = Z == null ? void 0 : Z.displayType, q = S.id in D && ((De = D[S.id]) == null ? void 0 : De.types);
9917
+ const le = Z == null ? void 0 : Z.displayType, q = S.id in N && ((De = N[S.id]) == null ? void 0 : De.types);
9918
9918
  return (
9919
9919
  /** Question */
9920
- /* @__PURE__ */ v(Qt, { children: [
9921
- /* @__PURE__ */ v(
9920
+ /* @__PURE__ */ E(Qt, { children: [
9921
+ /* @__PURE__ */ E(
9922
9922
  Iv,
9923
9923
  {
9924
9924
  backgroundColor: Z == null ? void 0 : Z.backgroundColor,
@@ -9928,7 +9928,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
9928
9928
  validationBorderColor: Z == null ? void 0 : Z.validationBorderColor,
9929
9929
  validationBorderWidth: Z == null ? void 0 : Z.validationBorderWidth,
9930
9930
  children: [
9931
- le === di.TEXT_EXPANDABLE && /* @__PURE__ */ v(
9931
+ le === di.TEXT_EXPANDABLE && /* @__PURE__ */ E(
9932
9932
  Dv,
9933
9933
  {
9934
9934
  layout: Z,
@@ -9936,7 +9936,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
9936
9936
  register: h
9937
9937
  }
9938
9938
  ),
9939
- le === di.TEXT_SINGLE_LINE && /* @__PURE__ */ v(
9939
+ le === di.TEXT_SINGLE_LINE && /* @__PURE__ */ E(
9940
9940
  Nv,
9941
9941
  {
9942
9942
  layout: Z,
@@ -9944,7 +9944,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
9944
9944
  register: h
9945
9945
  }
9946
9946
  ),
9947
- le === di.SELECTOR_OPTIONS && /* @__PURE__ */ v(
9947
+ le === di.SELECTOR_OPTIONS && /* @__PURE__ */ E(
9948
9948
  hv,
9949
9949
  {
9950
9950
  layout: Z,
@@ -9953,7 +9953,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
9953
9953
  register: h
9954
9954
  }
9955
9955
  ),
9956
- le === di.SELECTOR_BUTTONS && /* @__PURE__ */ v(
9956
+ le === di.SELECTOR_BUTTONS && /* @__PURE__ */ E(
9957
9957
  pv,
9958
9958
  {
9959
9959
  layout: Z,
@@ -9962,7 +9962,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
9962
9962
  register: h
9963
9963
  }
9964
9964
  ),
9965
- le === di.SELECTOR_DROPDOWN && /* @__PURE__ */ v(
9965
+ le === di.SELECTOR_DROPDOWN && /* @__PURE__ */ E(
9966
9966
  av,
9967
9967
  {
9968
9968
  control: T,
@@ -9971,7 +9971,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
9971
9971
  parentElementRef: p
9972
9972
  }
9973
9973
  ),
9974
- le === di.MULTI_SELECTOR_DROPDOWN && /* @__PURE__ */ v(
9974
+ le === di.MULTI_SELECTOR_DROPDOWN && /* @__PURE__ */ E(
9975
9975
  uv,
9976
9976
  {
9977
9977
  control: T,
@@ -9980,7 +9980,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
9980
9980
  parentElementRef: p
9981
9981
  }
9982
9982
  ),
9983
- le === di.MULTI_SELECTOR_OPTIONS && /* @__PURE__ */ v(
9983
+ le === di.MULTI_SELECTOR_OPTIONS && /* @__PURE__ */ E(
9984
9984
  cv,
9985
9985
  {
9986
9986
  control: T,
@@ -9988,7 +9988,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
9988
9988
  dataSourceQuestion: S
9989
9989
  }
9990
9990
  ),
9991
- le === di.MULTI_SELECTOR_BUTTONS && /* @__PURE__ */ v(
9991
+ le === di.MULTI_SELECTOR_BUTTONS && /* @__PURE__ */ E(
9992
9992
  fv,
9993
9993
  {
9994
9994
  control: T,
@@ -9999,7 +9999,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
9999
9999
  ]
10000
10000
  }
10001
10001
  ),
10002
- q && /* @__PURE__ */ v(
10002
+ q && /* @__PURE__ */ E(
10003
10003
  yv,
10004
10004
  {
10005
10005
  validationErrorsTypes: q,
@@ -10017,7 +10017,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10017
10017
  !!(t != null && t.length) && /** Submit button */
10018
10018
  /** static fixed button on the bottom of the screen */
10019
10019
  /** should be rendered into the form instead of BaseContainer */
10020
- /* @__PURE__ */ v(
10020
+ /* @__PURE__ */ E(
10021
10021
  "div",
10022
10022
  {
10023
10023
  style: {
@@ -10029,7 +10029,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10029
10029
  alignItems: "flex-end",
10030
10030
  padding: "2px"
10031
10031
  },
10032
- children: t.map((S, R) => /* @__PURE__ */ v(la, b({ dataTestId: "question-button" }, S), R))
10032
+ children: t.map((S, R) => /* @__PURE__ */ E(la, b({ dataTestId: "question-button" }, S), R))
10033
10033
  }
10034
10034
  )
10035
10035
  ]
@@ -10068,8 +10068,8 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10068
10068
  }) => {
10069
10069
  var M, p;
10070
10070
  const { perform: a } = Gr(), l = ur(null), d = typeof s == "number" && (s === 0 || s > 1), c = (h) => X(null, null, function* () {
10071
- var D;
10072
- const y = Array.from((D = h.currentTarget.files) != null ? D : []);
10071
+ var N;
10072
+ const y = Array.from((N = h.currentTarget.files) != null ? N : []);
10073
10073
  if (y.length)
10074
10074
  try {
10075
10075
  const m = (yield Promise.allSettled(
@@ -10092,21 +10092,21 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10092
10092
  permissionDenied: !1,
10093
10093
  files: m
10094
10094
  });
10095
- } catch (N) {
10096
- console.error("Error: ", N);
10095
+ } catch (D) {
10096
+ console.error("Error: ", D);
10097
10097
  }
10098
10098
  }), g = () => {
10099
10099
  var h;
10100
10100
  (h = l.current) == null || h.showPicker();
10101
10101
  };
10102
- return /* @__PURE__ */ v(Zr, { header: r, footer: e, backgroundColor: o, children: /* @__PURE__ */ v(Qt, { children: /* @__PURE__ */ v(
10102
+ return /* @__PURE__ */ E(Zr, { header: r, footer: e, backgroundColor: o, children: /* @__PURE__ */ E(Qt, { children: /* @__PURE__ */ E(
10103
10103
  "div",
10104
10104
  {
10105
10105
  style: oe(b({}, Tv), {
10106
10106
  justifyContent: "center"
10107
10107
  }),
10108
10108
  children: [
10109
- /* @__PURE__ */ v(
10109
+ /* @__PURE__ */ E(
10110
10110
  "input",
10111
10111
  oe(b({
10112
10112
  style: mv,
@@ -10117,7 +10117,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10117
10117
  onInput: c
10118
10118
  })
10119
10119
  ),
10120
- /* @__PURE__ */ v("button", { style: _v, onClick: g, children: /* @__PURE__ */ v(kt, { imageId: (p = (M = t == null ? void 0 : t[0]) == null ? void 0 : M.image) == null ? void 0 : p.imageId }) })
10120
+ /* @__PURE__ */ E("button", { style: _v, onClick: g, children: /* @__PURE__ */ E(kt, { imageId: (p = (M = t == null ? void 0 : t[0]) == null ? void 0 : M.image) == null ? void 0 : p.imageId }) })
10121
10121
  ]
10122
10122
  }
10123
10123
  ) }) });
@@ -10151,8 +10151,8 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10151
10151
  }) => {
10152
10152
  var M, p;
10153
10153
  const { perform: a } = Gr(), l = ur(null), d = typeof s == "number" && (s === 0 || s > 1), c = (h) => X(null, null, function* () {
10154
- var D;
10155
- const y = Array.from((D = h.currentTarget.files) != null ? D : []);
10154
+ var N;
10155
+ const y = Array.from((N = h.currentTarget.files) != null ? N : []);
10156
10156
  if (y.length)
10157
10157
  try {
10158
10158
  const m = (yield Promise.allSettled(
@@ -10175,8 +10175,8 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10175
10175
  permissionDenied: !1,
10176
10176
  files: m
10177
10177
  });
10178
- } catch (N) {
10179
- console.error("Error: ", N);
10178
+ } catch (D) {
10179
+ console.error("Error: ", D);
10180
10180
  }
10181
10181
  }), g = () => X(null, null, function* () {
10182
10182
  var h;
@@ -10192,14 +10192,14 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10192
10192
  files: []
10193
10193
  });
10194
10194
  });
10195
- }, []), /* @__PURE__ */ v(Zr, { header: r, footer: e, backgroundColor: t, children: /* @__PURE__ */ v(Qt, { children: /* @__PURE__ */ v(
10195
+ }, []), /* @__PURE__ */ E(Zr, { header: r, footer: e, backgroundColor: t, children: /* @__PURE__ */ E(Qt, { children: /* @__PURE__ */ E(
10196
10196
  "div",
10197
10197
  {
10198
10198
  style: oe(b({}, Sv), {
10199
10199
  justifyContent: "center"
10200
10200
  }),
10201
10201
  children: [
10202
- /* @__PURE__ */ v(
10202
+ /* @__PURE__ */ E(
10203
10203
  "input",
10204
10204
  oe(b({
10205
10205
  style: vv,
@@ -10211,7 +10211,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10211
10211
  onInput: c
10212
10212
  })
10213
10213
  ),
10214
- /* @__PURE__ */ v("button", { style: wv, onClick: g, children: /* @__PURE__ */ v(kt, { imageId: (p = (M = o == null ? void 0 : o[0]) == null ? void 0 : M.image) == null ? void 0 : p.imageId }) })
10214
+ /* @__PURE__ */ E("button", { style: wv, onClick: g, children: /* @__PURE__ */ E(kt, { imageId: (p = (M = o == null ? void 0 : o[0]) == null ? void 0 : M.image) == null ? void 0 : p.imageId }) })
10215
10215
  ]
10216
10216
  }
10217
10217
  ) }) });
@@ -10355,16 +10355,16 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10355
10355
  getLocationTimeout: g
10356
10356
  }) => {
10357
10357
  var Z, le;
10358
- const M = ha.FORM, { perform: p } = Gr(), { setIsProcessingCallback: h } = lE(), [y, D] = ht(!1), N = () => {
10358
+ const M = ha.FORM, { perform: p } = Gr(), { setIsProcessingCallback: h } = lE(), [y, N] = ht(!1), D = () => {
10359
10359
  var q;
10360
- (q = T == null ? void 0 : T.popups) != null && q.system_restricted || D(!0);
10360
+ (q = T == null ? void 0 : T.popups) != null && q.system_restricted || N(!0);
10361
10361
  }, m = () => {
10362
10362
  var q;
10363
- (q = T == null ? void 0 : T.popups) != null && q.system_restricted || D(!1);
10364
- }, { devSettings: T } = uE(), E = !!((le = (Z = T == null ? void 0 : T.popups) == null ? void 0 : Z.system_restricted) != null && le.isOpen);
10363
+ (q = T == null ? void 0 : T.popups) != null && q.system_restricted || N(!1);
10364
+ }, { devSettings: T } = uE(), v = !!((le = (Z = T == null ? void 0 : T.popups) == null ? void 0 : Z.system_restricted) != null && le.isOpen);
10365
10365
  zn(() => {
10366
- T && D(E);
10367
- }, [E, T]);
10366
+ T && N(v);
10367
+ }, [v, T]);
10368
10368
  const w = {
10369
10369
  enableHighAccuracy: !0,
10370
10370
  timeout: typeof g == "number" && g > 0 ? g * 1e3 : 15e3,
@@ -10416,7 +10416,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10416
10416
  q.preventDefault();
10417
10417
  const De = yield xc();
10418
10418
  if (De === "denied") {
10419
- N();
10419
+ D();
10420
10420
  return;
10421
10421
  }
10422
10422
  if (De === "prompt" && (yield Qs()), De === "granted") {
@@ -10425,7 +10425,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10425
10425
  }
10426
10426
  }), Y = (q) => X(null, null, function* () {
10427
10427
  if (q.preventDefault(), (yield xc()) === "denied") {
10428
- N();
10428
+ D();
10429
10429
  return;
10430
10430
  }
10431
10431
  h == null || h(!0);
@@ -10434,21 +10434,21 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10434
10434
  }), $ = (q) => {
10435
10435
  q.preventDefault(), m();
10436
10436
  };
10437
- return /* @__PURE__ */ v(Zr, { header: e, footer: t, backgroundColor: l, children: [
10438
- /* @__PURE__ */ v("div", { style: jv, children: [
10439
- /* @__PURE__ */ v("div", { style: xv, children: [
10440
- o && /* @__PURE__ */ v("div", { style: zv, children: /* @__PURE__ */ v(kt, b({}, o)) }),
10441
- r && /* @__PURE__ */ v("div", { style: Lv, children: /* @__PURE__ */ v(at, b({}, r)) }),
10442
- s && /* @__PURE__ */ v("div", { style: Rv, children: /* @__PURE__ */ v(pa, b({}, s)) })
10437
+ return /* @__PURE__ */ E(Zr, { header: e, footer: t, backgroundColor: l, children: [
10438
+ /* @__PURE__ */ E("div", { style: jv, children: [
10439
+ /* @__PURE__ */ E("div", { style: xv, children: [
10440
+ o && /* @__PURE__ */ E("div", { style: zv, children: /* @__PURE__ */ E(kt, b({}, o)) }),
10441
+ r && /* @__PURE__ */ E("div", { style: Lv, children: /* @__PURE__ */ E(at, b({}, r)) }),
10442
+ s && /* @__PURE__ */ E("div", { style: Rv, children: /* @__PURE__ */ E(pa, b({}, s)) })
10443
10443
  ] }),
10444
- !!(a != null && a.length) && /* @__PURE__ */ v(
10444
+ !!(a != null && a.length) && /* @__PURE__ */ E(
10445
10445
  "div",
10446
10446
  {
10447
10447
  style: {
10448
10448
  display: "flex",
10449
10449
  flexDirection: "column"
10450
10450
  },
10451
- children: a.map((q, De) => /* @__PURE__ */ v("div", { style: { padding: "5px" }, children: /* @__PURE__ */ v(
10451
+ children: a.map((q, De) => /* @__PURE__ */ E("div", { style: { padding: "5px" }, children: /* @__PURE__ */ E(
10452
10452
  la,
10453
10453
  b(b({
10454
10454
  dataTestId: "question-button"
@@ -10459,14 +10459,14 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10459
10459
  }
10460
10460
  )
10461
10461
  ] }),
10462
- S && y && /* @__PURE__ */ v(
10462
+ S && y && /* @__PURE__ */ E(
10463
10463
  "div",
10464
10464
  {
10465
10465
  style: bv,
10466
10466
  onPointerDown: (q) => {
10467
10467
  q.preventDefault(), q.stopPropagation(), m();
10468
10468
  },
10469
- children: /* @__PURE__ */ v(
10469
+ children: /* @__PURE__ */ E(
10470
10470
  "div",
10471
10471
  {
10472
10472
  style: oe(b({}, kv), {
@@ -10474,9 +10474,9 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10474
10474
  backgroundColor: (S == null ? void 0 : S.backgroundColor) || "#ffffff"
10475
10475
  }),
10476
10476
  children: [
10477
- /* @__PURE__ */ v("div", { style: Uv, children: /* @__PURE__ */ v(at, b({}, b({ fontSize: "24px" }, S.title))) }),
10478
- /* @__PURE__ */ v("div", { style: Pv, children: /* @__PURE__ */ v("div", { style: Fv, children: /* @__PURE__ */ v(at, b({}, b({ fontSize: "17px" }, S.message))) }) }),
10479
- S.actionButton1 && /* @__PURE__ */ v("div", { style: Qv, children: /* @__PURE__ */ v(
10477
+ /* @__PURE__ */ E("div", { style: Uv, children: /* @__PURE__ */ E(at, b({}, b({ fontSize: "24px" }, S.title))) }),
10478
+ /* @__PURE__ */ E("div", { style: Pv, children: /* @__PURE__ */ E("div", { style: Fv, children: /* @__PURE__ */ E(at, b({}, b({ fontSize: "17px" }, S.message))) }) }),
10479
+ S.actionButton1 && /* @__PURE__ */ E("div", { style: Qv, children: /* @__PURE__ */ E(
10480
10480
  la,
10481
10481
  b(b({
10482
10482
  dataTestId: "question-button"
@@ -10507,7 +10507,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10507
10507
  paddings: a
10508
10508
  }) => {
10509
10509
  const { layoutDirection: l } = XM(), d = pp(l), c = d[Yi.START];
10510
- return /* @__PURE__ */ v(
10510
+ return /* @__PURE__ */ E(
10511
10511
  "div",
10512
10512
  {
10513
10513
  "data-ui": "gui-row",
@@ -10524,15 +10524,15 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10524
10524
  borderRadius: s
10525
10525
  }, Ma(a)),
10526
10526
  children: r == null ? void 0 : r.map((g) => {
10527
- const M = g.type === xn.IMAGE, p = g.type === xn.IMAGE_BUTTON, h = g.type === xn.SPACER, y = (M || p || h) && g.content.width, D = y ? "0 0 auto" : `${g.content.weight || Vv} 1 0`;
10528
- return /* @__PURE__ */ v(
10527
+ const M = g.type === xn.IMAGE, p = g.type === xn.IMAGE_BUTTON, h = g.type === xn.SPACER, y = (M || p || h) && g.content.width, N = y ? "0 0 auto" : `${g.content.weight || Vv} 1 0`;
10528
+ return /* @__PURE__ */ E(
10529
10529
  "div",
10530
10530
  {
10531
10531
  "data-ui": "gui-row-item",
10532
10532
  part: "gui-row-item",
10533
10533
  style: b(b(b({
10534
10534
  // layout styles
10535
- flex: D
10535
+ flex: N
10536
10536
  }, y && { width: g.content.width }), h && g.content.height && { height: g.content.height }), (M || p) && {
10537
10537
  height: g.content.height || Ip
10538
10538
  }),
@@ -10542,7 +10542,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10542
10542
  })
10543
10543
  }
10544
10544
  );
10545
- }, Hv = ({ backgroundColor: r, cornerRadius: e }) => /* @__PURE__ */ v(
10545
+ }, Hv = ({ backgroundColor: r, cornerRadius: e }) => /* @__PURE__ */ E(
10546
10546
  "div",
10547
10547
  {
10548
10548
  "data-ui": "gui-spacer",
@@ -10563,23 +10563,23 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10563
10563
  base64: p,
10564
10564
  contentMode: h = qo.ASPECT_FILL,
10565
10565
  cornerRadius: y,
10566
- backgroundColor: D
10567
- } = c, { perform: N } = Gr(), [m, T] = ht(!0), E = m && M, w = () => {
10566
+ backgroundColor: N
10567
+ } = c, { perform: D } = Gr(), [m, T] = ht(!0), v = m && M, w = () => {
10568
10568
  T(!1);
10569
10569
  }, S = () => {
10570
10570
  d((Z) => Z + 1);
10571
10571
  }, R = () => {
10572
10572
  const Z = JSON.parse(JSON.stringify(t));
10573
- $u(Z), N(Z, ha.DATA);
10573
+ $u(Z), D(Z, ha.DATA);
10574
10574
  }, Y = { width: "100%", height: "100%" };
10575
10575
  let $;
10576
- if (p && ($ = /* @__PURE__ */ v(
10576
+ if (p && ($ = /* @__PURE__ */ E(
10577
10577
  "img",
10578
10578
  {
10579
10579
  style: oe(b({}, Y), {
10580
10580
  objectFit: aa(h),
10581
10581
  borderRadius: y,
10582
- backgroundColor: je(D) || "transparent",
10582
+ backgroundColor: je(N) || "transparent",
10583
10583
  display: "block"
10584
10584
  }),
10585
10585
  src: p,
@@ -10587,19 +10587,19 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10587
10587
  }
10588
10588
  )), g) {
10589
10589
  const Z = g in ua ? g : "default";
10590
- $ = /* @__PURE__ */ v(
10590
+ $ = /* @__PURE__ */ E(
10591
10591
  md,
10592
10592
  {
10593
10593
  type: Z,
10594
10594
  contentMode: h,
10595
10595
  cornerRadius: y,
10596
- backgroundColor: je(D) || "transparent",
10596
+ backgroundColor: je(N) || "transparent",
10597
10597
  isFullSize: !0
10598
10598
  }
10599
10599
  );
10600
10600
  }
10601
- return M && ($ = /* @__PURE__ */ v(Qt, { children: [
10602
- E && /* @__PURE__ */ v(
10601
+ return M && ($ = /* @__PURE__ */ E(Qt, { children: [
10602
+ v && /* @__PURE__ */ E(
10603
10603
  "div",
10604
10604
  {
10605
10605
  style: oe(b({}, Y), {
@@ -10608,21 +10608,21 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10608
10608
  })
10609
10609
  }
10610
10610
  ),
10611
- /* @__PURE__ */ v(
10611
+ /* @__PURE__ */ E(
10612
10612
  "img",
10613
10613
  {
10614
10614
  style: oe(b({}, Y), {
10615
10615
  objectFit: aa(h),
10616
10616
  borderRadius: y,
10617
- backgroundColor: je(D) || "transparent",
10618
- display: E ? "none" : "block"
10617
+ backgroundColor: je(N) || "transparent",
10618
+ display: v ? "none" : "block"
10619
10619
  }),
10620
10620
  src: M,
10621
10621
  onLoad: w,
10622
10622
  onError: S
10623
10623
  }
10624
10624
  )
10625
- ] })), /* @__PURE__ */ v(
10625
+ ] })), /* @__PURE__ */ E(
10626
10626
  "button",
10627
10627
  {
10628
10628
  type: "button",
@@ -10642,7 +10642,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10642
10642
  }
10643
10643
  );
10644
10644
  }, Zv = {
10645
- [xn.LABEL]: (r) => /* @__PURE__ */ v(
10645
+ [xn.LABEL]: (r) => /* @__PURE__ */ E(
10646
10646
  at,
10647
10647
  {
10648
10648
  text: r.content.text,
@@ -10657,7 +10657,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10657
10657
  isGenericTemplate: !0
10658
10658
  }
10659
10659
  ),
10660
- [xn.IMAGE]: (r) => /* @__PURE__ */ v(
10660
+ [xn.IMAGE]: (r) => /* @__PURE__ */ E(
10661
10661
  kt,
10662
10662
  {
10663
10663
  imageId: r.content.imageId,
@@ -10673,7 +10673,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10673
10673
  placeholderImage: r.content.placeholderImage
10674
10674
  }
10675
10675
  ),
10676
- [xn.IMAGE_BUTTON]: (r) => /* @__PURE__ */ v(
10676
+ [xn.IMAGE_BUTTON]: (r) => /* @__PURE__ */ E(
10677
10677
  Gv,
10678
10678
  {
10679
10679
  image: {
@@ -10692,7 +10692,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10692
10692
  paddings: r.content.paddings
10693
10693
  }
10694
10694
  ),
10695
- [xn.BUTTON]: (r) => /* @__PURE__ */ v(
10695
+ [xn.BUTTON]: (r) => /* @__PURE__ */ E(
10696
10696
  la,
10697
10697
  {
10698
10698
  title: r.content.title,
@@ -10708,7 +10708,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10708
10708
  isGenericTemplate: !0
10709
10709
  }
10710
10710
  ),
10711
- [xn.COLUMN]: (r) => /* @__PURE__ */ v(
10711
+ [xn.COLUMN]: (r) => /* @__PURE__ */ E(
10712
10712
  _u,
10713
10713
  {
10714
10714
  elements: r.content.elements,
@@ -10718,7 +10718,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10718
10718
  paddings: r.content.paddings
10719
10719
  }
10720
10720
  ),
10721
- [xn.ROW]: (r) => /* @__PURE__ */ v(
10721
+ [xn.ROW]: (r) => /* @__PURE__ */ E(
10722
10722
  $v,
10723
10723
  {
10724
10724
  elements: r.content.elements,
@@ -10729,7 +10729,7 @@ const Av = ({ header: r, title: e, buttons: t, footer: o, questions: s, dataSour
10729
10729
  paddings: r.content.paddings
10730
10730
  }
10731
10731
  ),
10732
- [xn.SPACER]: (r) => /* @__PURE__ */ v(Hv, { backgroundColor: r.content.backgroundColor, cornerRadius: r.content.cornerRadius })
10732
+ [xn.SPACER]: (r) => /* @__PURE__ */ E(Hv, { backgroundColor: r.content.backgroundColor, cornerRadius: r.content.cornerRadius })
10733
10733
  };
10734
10734
  function yp(r) {
10735
10735
  const e = Zv[r.type];
@@ -10743,7 +10743,7 @@ const _u = ({
10743
10743
  paddings: s
10744
10744
  }) => {
10745
10745
  const { layoutDirection: a } = XM(), l = pp(a), d = l[Yi.START];
10746
- return /* @__PURE__ */ v(
10746
+ return /* @__PURE__ */ E(
10747
10747
  "div",
10748
10748
  {
10749
10749
  "data-ui": "gui-column",
@@ -10759,7 +10759,7 @@ const _u = ({
10759
10759
  }, Ma(s)),
10760
10760
  children: r == null ? void 0 : r.map((c) => {
10761
10761
  const g = c.type === xn.IMAGE, M = c.type === xn.IMAGE_BUTTON, p = c.type === xn.SPACER, h = (g || M || p) && c.content.width;
10762
- return /* @__PURE__ */ v(
10762
+ return /* @__PURE__ */ E(
10763
10763
  "div",
10764
10764
  {
10765
10765
  "data-ui": "gui-column-item",
@@ -10778,7 +10778,7 @@ const _u = ({
10778
10778
  mainColumn: e,
10779
10779
  bottomColumn: t,
10780
10780
  backgroundColor: o = "#ffffff00"
10781
- }) => /* @__PURE__ */ v(
10781
+ }) => /* @__PURE__ */ E(
10782
10782
  "div",
10783
10783
  {
10784
10784
  "data-ui": "gui-scaffold-container",
@@ -10791,7 +10791,7 @@ const _u = ({
10791
10791
  backgroundColor: je(o) || "transparent"
10792
10792
  },
10793
10793
  children: [
10794
- r && /* @__PURE__ */ v(
10794
+ r && /* @__PURE__ */ E(
10795
10795
  "div",
10796
10796
  {
10797
10797
  "data-ui": "gui-top-column",
@@ -10799,10 +10799,10 @@ const _u = ({
10799
10799
  style: {
10800
10800
  flex: "0 0 auto"
10801
10801
  },
10802
- children: /* @__PURE__ */ v(_u, b({}, r))
10802
+ children: /* @__PURE__ */ E(_u, b({}, r))
10803
10803
  }
10804
10804
  ),
10805
- e && /* @__PURE__ */ v(
10805
+ e && /* @__PURE__ */ E(
10806
10806
  "div",
10807
10807
  {
10808
10808
  "data-ui": "gui-main-column-container",
@@ -10814,7 +10814,7 @@ const _u = ({
10814
10814
  overflowX: "hidden",
10815
10815
  backgroundColor: je(e.backgroundColor) || "transparent"
10816
10816
  },
10817
- children: /* @__PURE__ */ v(
10817
+ children: /* @__PURE__ */ E(
10818
10818
  "div",
10819
10819
  {
10820
10820
  "data-ui": "gui-main-column",
@@ -10825,7 +10825,7 @@ const _u = ({
10825
10825
  minHeight: "100%",
10826
10826
  justifyContent: e.verticalAlignment && Ku[e.verticalAlignment] || Bv
10827
10827
  },
10828
- children: /* @__PURE__ */ v(
10828
+ children: /* @__PURE__ */ E(
10829
10829
  _u,
10830
10830
  oe(b({}, e), {
10831
10831
  backgroundColor: "transparent"
@@ -10835,7 +10835,7 @@ const _u = ({
10835
10835
  )
10836
10836
  }
10837
10837
  ),
10838
- t && /* @__PURE__ */ v(
10838
+ t && /* @__PURE__ */ E(
10839
10839
  "div",
10840
10840
  {
10841
10841
  "data-ui": "gui-bottom-column",
@@ -10843,7 +10843,7 @@ const _u = ({
10843
10843
  style: {
10844
10844
  flex: "0 0 auto"
10845
10845
  },
10846
- children: /* @__PURE__ */ v(_u, b({}, t))
10846
+ children: /* @__PURE__ */ E(_u, b({}, t))
10847
10847
  }
10848
10848
  )
10849
10849
  ]
@@ -10852,7 +10852,7 @@ const _u = ({
10852
10852
  const { type: e, content: t } = r;
10853
10853
  if (e === fE.SCAFFOLD) {
10854
10854
  const { topColumn: o, mainColumn: s, bottomColumn: a, backgroundColor: l } = t;
10855
- return /* @__PURE__ */ v(
10855
+ return /* @__PURE__ */ E(
10856
10856
  Kv,
10857
10857
  {
10858
10858
  topColumn: o,
@@ -10895,18 +10895,18 @@ var Xi;
10895
10895
  throw new RangeError("Mask value out of range");
10896
10896
  this.size = c * 4 + 17;
10897
10897
  let h = [];
10898
- for (let D = 0; D < this.size; D++)
10898
+ for (let N = 0; N < this.size; N++)
10899
10899
  h.push(!1);
10900
- for (let D = 0; D < this.size; D++)
10900
+ for (let N = 0; N < this.size; N++)
10901
10901
  this.modules.push(h.slice()), this.isFunction.push(h.slice());
10902
10902
  this.drawFunctionPatterns();
10903
10903
  const y = this.addEccAndInterleave(M);
10904
10904
  if (this.drawCodewords(y), p == -1) {
10905
- let D = 1e9;
10906
- for (let N = 0; N < 8; N++) {
10907
- this.applyMask(N), this.drawFormatBits(N);
10905
+ let N = 1e9;
10906
+ for (let D = 0; D < 8; D++) {
10907
+ this.applyMask(D), this.drawFormatBits(D);
10908
10908
  const m = this.getPenaltyScore();
10909
- m < D && (p = N, D = m), this.applyMask(N);
10909
+ m < N && (p = D, N = m), this.applyMask(D);
10910
10910
  }
10911
10911
  }
10912
10912
  s(0 <= p && p <= 7), this.mask = p, this.applyMask(p), this.drawFormatBits(p), this.isFunction = [];
@@ -10942,33 +10942,33 @@ var Xi;
10942
10942
  static encodeSegments(c, g, M = 1, p = 40, h = -1, y = !0) {
10943
10943
  if (!(Xe.MIN_VERSION <= M && M <= p && p <= Xe.MAX_VERSION) || h < -1 || h > 7)
10944
10944
  throw new RangeError("Invalid value");
10945
- let D, N;
10946
- for (D = M; ; D++) {
10947
- const w = Xe.getNumDataCodewords(D, g) * 8, S = l.getTotalBits(c, D);
10945
+ let N, D;
10946
+ for (N = M; ; N++) {
10947
+ const w = Xe.getNumDataCodewords(N, g) * 8, S = l.getTotalBits(c, N);
10948
10948
  if (S <= w) {
10949
- N = S;
10949
+ D = S;
10950
10950
  break;
10951
10951
  }
10952
- if (D >= p)
10952
+ if (N >= p)
10953
10953
  throw new RangeError("Data too long");
10954
10954
  }
10955
10955
  for (const w of [Xe.Ecc.MEDIUM, Xe.Ecc.QUARTILE, Xe.Ecc.HIGH])
10956
- y && N <= Xe.getNumDataCodewords(D, w) * 8 && (g = w);
10956
+ y && D <= Xe.getNumDataCodewords(N, w) * 8 && (g = w);
10957
10957
  let m = [];
10958
10958
  for (const w of c) {
10959
- t(w.mode.modeBits, 4, m), t(w.numChars, w.mode.numCharCountBits(D), m);
10959
+ t(w.mode.modeBits, 4, m), t(w.numChars, w.mode.numCharCountBits(N), m);
10960
10960
  for (const S of w.getData())
10961
10961
  m.push(S);
10962
10962
  }
10963
- s(m.length == N);
10964
- const T = Xe.getNumDataCodewords(D, g) * 8;
10963
+ s(m.length == D);
10964
+ const T = Xe.getNumDataCodewords(N, g) * 8;
10965
10965
  s(m.length <= T), t(0, Math.min(4, T - m.length), m), t(0, (8 - m.length % 8) % 8, m), s(m.length % 8 == 0);
10966
10966
  for (let w = 236; m.length < T; w ^= 253)
10967
10967
  t(w, 8, m);
10968
- let E = [];
10969
- for (; E.length * 8 < m.length; )
10970
- E.push(0);
10971
- return m.forEach((w, S) => E[S >>> 3] |= w << 7 - (S & 7)), new Xe(D, g, E, h);
10968
+ let v = [];
10969
+ for (; v.length * 8 < m.length; )
10970
+ v.push(0);
10971
+ return m.forEach((w, S) => v[S >>> 3] |= w << 7 - (S & 7)), new Xe(N, g, v, h);
10972
10972
  }
10973
10973
  /*-- Accessor methods --*/
10974
10974
  // Returns the color of the module (pixel) at the given coordinates, which is false
@@ -11033,8 +11033,8 @@ var Xi;
11033
11033
  drawFinderPattern(c, g) {
11034
11034
  for (let M = -4; M <= 4; M++)
11035
11035
  for (let p = -4; p <= 4; p++) {
11036
- const h = Math.max(Math.abs(p), Math.abs(M)), y = c + p, D = g + M;
11037
- 0 <= y && y < this.size && 0 <= D && D < this.size && this.setFunctionModule(y, D, h != 2 && h != 4);
11036
+ const h = Math.max(Math.abs(p), Math.abs(M)), y = c + p, N = g + M;
11037
+ 0 <= y && y < this.size && 0 <= N && N < this.size && this.setFunctionModule(y, N, h != 2 && h != 4);
11038
11038
  }
11039
11039
  }
11040
11040
  // Draws a 5*5 alignment pattern, with the center module
@@ -11056,21 +11056,21 @@ var Xi;
11056
11056
  const g = this.version, M = this.errorCorrectionLevel;
11057
11057
  if (c.length != Xe.getNumDataCodewords(g, M))
11058
11058
  throw new RangeError("Invalid argument");
11059
- const p = Xe.NUM_ERROR_CORRECTION_BLOCKS[M.ordinal][g], h = Xe.ECC_CODEWORDS_PER_BLOCK[M.ordinal][g], y = Math.floor(Xe.getNumRawDataModules(g) / 8), D = p - y % p, N = Math.floor(y / p);
11059
+ const p = Xe.NUM_ERROR_CORRECTION_BLOCKS[M.ordinal][g], h = Xe.ECC_CODEWORDS_PER_BLOCK[M.ordinal][g], y = Math.floor(Xe.getNumRawDataModules(g) / 8), N = p - y % p, D = Math.floor(y / p);
11060
11060
  let m = [];
11061
11061
  const T = Xe.reedSolomonComputeDivisor(h);
11062
11062
  for (let w = 0, S = 0; w < p; w++) {
11063
- let R = c.slice(S, S + N - h + (w < D ? 0 : 1));
11063
+ let R = c.slice(S, S + D - h + (w < N ? 0 : 1));
11064
11064
  S += R.length;
11065
11065
  const Y = Xe.reedSolomonComputeRemainder(R, T);
11066
- w < D && R.push(0), m.push(R.concat(Y));
11066
+ w < N && R.push(0), m.push(R.concat(Y));
11067
11067
  }
11068
- let E = [];
11068
+ let v = [];
11069
11069
  for (let w = 0; w < m[0].length; w++)
11070
11070
  m.forEach((S, R) => {
11071
- (w != N - h || R >= D) && E.push(S[w]);
11071
+ (w != D - h || R >= N) && v.push(S[w]);
11072
11072
  });
11073
- return s(E.length == y), E;
11073
+ return s(v.length == y), v;
11074
11074
  }
11075
11075
  // Draws the given sequence of 8-bit codewords (data and error correction) onto the entire
11076
11076
  // data area of this QR Code. Function modules need to be marked off before this is called.
@@ -11082,8 +11082,8 @@ var Xi;
11082
11082
  M == 6 && (M = 5);
11083
11083
  for (let p = 0; p < this.size; p++)
11084
11084
  for (let h = 0; h < 2; h++) {
11085
- const y = M - h, N = (M + 1 & 2) == 0 ? this.size - 1 - p : p;
11086
- !this.isFunction[N][y] && g < c.length * 8 && (this.modules[N][y] = o(c[g >>> 3], 7 - (g & 7)), g++);
11085
+ const y = M - h, D = (M + 1 & 2) == 0 ? this.size - 1 - p : p;
11086
+ !this.isFunction[D][y] && g < c.length * 8 && (this.modules[D][y] = o(c[g >>> 3], 7 - (g & 7)), g++);
11087
11087
  }
11088
11088
  }
11089
11089
  s(g == c.length * 8);
@@ -11135,25 +11135,25 @@ var Xi;
11135
11135
  getPenaltyScore() {
11136
11136
  let c = 0;
11137
11137
  for (let h = 0; h < this.size; h++) {
11138
- let y = !1, D = 0, N = [0, 0, 0, 0, 0, 0, 0];
11138
+ let y = !1, N = 0, D = [0, 0, 0, 0, 0, 0, 0];
11139
11139
  for (let m = 0; m < this.size; m++)
11140
- this.modules[h][m] == y ? (D++, D == 5 ? c += Xe.PENALTY_N1 : D > 5 && c++) : (this.finderPenaltyAddHistory(D, N), y || (c += this.finderPenaltyCountPatterns(N) * Xe.PENALTY_N3), y = this.modules[h][m], D = 1);
11141
- c += this.finderPenaltyTerminateAndCount(y, D, N) * Xe.PENALTY_N3;
11140
+ this.modules[h][m] == y ? (N++, N == 5 ? c += Xe.PENALTY_N1 : N > 5 && c++) : (this.finderPenaltyAddHistory(N, D), y || (c += this.finderPenaltyCountPatterns(D) * Xe.PENALTY_N3), y = this.modules[h][m], N = 1);
11141
+ c += this.finderPenaltyTerminateAndCount(y, N, D) * Xe.PENALTY_N3;
11142
11142
  }
11143
11143
  for (let h = 0; h < this.size; h++) {
11144
- let y = !1, D = 0, N = [0, 0, 0, 0, 0, 0, 0];
11144
+ let y = !1, N = 0, D = [0, 0, 0, 0, 0, 0, 0];
11145
11145
  for (let m = 0; m < this.size; m++)
11146
- this.modules[m][h] == y ? (D++, D == 5 ? c += Xe.PENALTY_N1 : D > 5 && c++) : (this.finderPenaltyAddHistory(D, N), y || (c += this.finderPenaltyCountPatterns(N) * Xe.PENALTY_N3), y = this.modules[m][h], D = 1);
11147
- c += this.finderPenaltyTerminateAndCount(y, D, N) * Xe.PENALTY_N3;
11146
+ this.modules[m][h] == y ? (N++, N == 5 ? c += Xe.PENALTY_N1 : N > 5 && c++) : (this.finderPenaltyAddHistory(N, D), y || (c += this.finderPenaltyCountPatterns(D) * Xe.PENALTY_N3), y = this.modules[m][h], N = 1);
11147
+ c += this.finderPenaltyTerminateAndCount(y, N, D) * Xe.PENALTY_N3;
11148
11148
  }
11149
11149
  for (let h = 0; h < this.size - 1; h++)
11150
11150
  for (let y = 0; y < this.size - 1; y++) {
11151
- const D = this.modules[h][y];
11152
- D == this.modules[h][y + 1] && D == this.modules[h + 1][y] && D == this.modules[h + 1][y + 1] && (c += Xe.PENALTY_N2);
11151
+ const N = this.modules[h][y];
11152
+ N == this.modules[h][y + 1] && N == this.modules[h + 1][y] && N == this.modules[h + 1][y + 1] && (c += Xe.PENALTY_N2);
11153
11153
  }
11154
11154
  let g = 0;
11155
11155
  for (const h of this.modules)
11156
- g = h.reduce((y, D) => y + (D ? 1 : 0), g);
11156
+ g = h.reduce((y, N) => y + (N ? 1 : 0), g);
11157
11157
  const M = this.size * this.size, p = Math.ceil(Math.abs(g * 20 - M * 10) / M) - 1;
11158
11158
  return s(0 <= p && p <= 9), c += p * Xe.PENALTY_N4, s(0 <= c && c <= 2568888), c;
11159
11159
  }
@@ -11213,7 +11213,7 @@ var Xi;
11213
11213
  let M = g.map((p) => 0);
11214
11214
  for (const p of c) {
11215
11215
  const h = p ^ M.shift();
11216
- M.push(0), g.forEach((y, D) => M[D] ^= Xe.reedSolomonMultiply(y, h));
11216
+ M.push(0), g.forEach((y, N) => M[N] ^= Xe.reedSolomonMultiply(y, h));
11217
11217
  }
11218
11218
  return M;
11219
11219
  }
@@ -11454,8 +11454,8 @@ function rw(r, e, t, o) {
11454
11454
  const s = r.length + t * 2, a = Math.floor(e * nw), l = s / e, d = (o.width || a) * l, c = (o.height || a) * l, g = o.x == null ? r.length / 2 - d / 2 : o.x * l, M = o.y == null ? r.length / 2 - c / 2 : o.y * l, p = o.opacity == null ? 1 : o.opacity;
11455
11455
  let h = null;
11456
11456
  if (o.excavate) {
11457
- let D = Math.floor(g), N = Math.floor(M), m = Math.ceil(d + g - D), T = Math.ceil(c + M - N);
11458
- h = { x: D, y: N, w: m, h: T };
11457
+ let N = Math.floor(g), D = Math.floor(M), m = Math.ceil(d + g - N), T = Math.ceil(c + M - D);
11458
+ h = { x: N, y: D, w: m, h: T };
11459
11459
  }
11460
11460
  const y = o.crossOrigin;
11461
11461
  return { x: g, y: M, h: c, w: d, excavation: h, opacity: p, crossOrigin: y };
@@ -11474,9 +11474,9 @@ function Op({
11474
11474
  boostLevel: d
11475
11475
  }) {
11476
11476
  let c = Ne.useMemo(() => {
11477
- const D = (Array.isArray(r) ? r : [r]).reduce((N, m) => (N.push(...Xo.QrSegment.makeSegments(m)), N), []);
11477
+ const N = (Array.isArray(r) ? r : [r]).reduce((D, m) => (D.push(...Xo.QrSegment.makeSegments(m)), D), []);
11478
11478
  return Xo.QrCode.encodeSegments(
11479
- D,
11479
+ N,
11480
11480
  qv[e],
11481
11481
  t,
11482
11482
  void 0,
@@ -11486,16 +11486,16 @@ function Op({
11486
11486
  }, [r, e, t, d]);
11487
11487
  const { cells: g, margin: M, numCells: p, calculatedImageSettings: h } = Ne.useMemo(() => {
11488
11488
  let y = c.getModules();
11489
- const D = iw(o, s), N = y.length + D * 2, m = rw(
11489
+ const N = iw(o, s), D = y.length + N * 2, m = rw(
11490
11490
  y,
11491
11491
  l,
11492
- D,
11492
+ N,
11493
11493
  a
11494
11494
  );
11495
11495
  return {
11496
11496
  cells: y,
11497
- margin: D,
11498
- numCells: N,
11497
+ margin: N,
11498
+ numCells: D,
11499
11499
  calculatedImageSettings: m
11500
11500
  };
11501
11501
  }, [c, l, a, o, s]);
@@ -11527,7 +11527,7 @@ var ow = (function() {
11527
11527
  boostLevel: p,
11528
11528
  marginSize: h,
11529
11529
  imageSettings: y
11530
- } = o, N = Kc(o, [
11530
+ } = o, D = Kc(o, [
11531
11531
  "value",
11532
11532
  "size",
11533
11533
  "level",
@@ -11538,7 +11538,7 @@ var ow = (function() {
11538
11538
  "boostLevel",
11539
11539
  "marginSize",
11540
11540
  "imageSettings"
11541
- ]), { style: m } = N, T = Kc(N, ["style"]), E = y == null ? void 0 : y.src, w = Ne.useRef(null), S = Ne.useRef(null), R = Ne.useCallback(
11541
+ ]), { style: m } = D, T = Kc(D, ["style"]), v = y == null ? void 0 : y.src, w = Ne.useRef(null), S = Ne.useRef(null), R = Ne.useCallback(
11542
11542
  (Ie) => {
11543
11543
  w.current = Ie, typeof t == "function" ? t(Ie) : t && (t.current = Ie);
11544
11544
  },
@@ -11581,14 +11581,14 @@ var ow = (function() {
11581
11581
  }
11582
11582
  }), Ne.useEffect(() => {
11583
11583
  $(!1);
11584
- }, [E]);
11584
+ }, [v]);
11585
11585
  const ne = Zc({ height: a, width: a }, m);
11586
11586
  let Ae = null;
11587
- return E != null && (Ae = /* @__PURE__ */ Ne.createElement(
11587
+ return v != null && (Ae = /* @__PURE__ */ Ne.createElement(
11588
11588
  "img",
11589
11589
  {
11590
- src: E,
11591
- key: E,
11590
+ src: v,
11591
+ key: v,
11592
11592
  style: { display: "none" },
11593
11593
  onLoad: () => {
11594
11594
  $(!0);
@@ -11622,8 +11622,8 @@ var Cp = Ne.forwardRef(
11622
11622
  boostLevel: p,
11623
11623
  title: h,
11624
11624
  marginSize: y,
11625
- imageSettings: D
11626
- } = o, N = Kc(o, [
11625
+ imageSettings: N
11626
+ } = o, D = Kc(o, [
11627
11627
  "value",
11628
11628
  "size",
11629
11629
  "level",
@@ -11635,24 +11635,24 @@ var Cp = Ne.forwardRef(
11635
11635
  "title",
11636
11636
  "marginSize",
11637
11637
  "imageSettings"
11638
- ]), { margin: m, cells: T, numCells: E, calculatedImageSettings: w } = Op({
11638
+ ]), { margin: m, cells: T, numCells: v, calculatedImageSettings: w } = Op({
11639
11639
  value: s,
11640
11640
  level: l,
11641
11641
  minVersion: M,
11642
11642
  boostLevel: p,
11643
11643
  includeMargin: g,
11644
11644
  marginSize: y,
11645
- imageSettings: D,
11645
+ imageSettings: N,
11646
11646
  size: a
11647
11647
  });
11648
11648
  let S = T, R = null;
11649
- D != null && w != null && (w.excavation != null && (S = Sp(
11649
+ N != null && w != null && (w.excavation != null && (S = Sp(
11650
11650
  T,
11651
11651
  w.excavation
11652
11652
  )), R = /* @__PURE__ */ Ne.createElement(
11653
11653
  "image",
11654
11654
  {
11655
- href: D.src,
11655
+ href: N.src,
11656
11656
  height: w.h,
11657
11657
  width: w.w,
11658
11658
  x: w.x + m,
@@ -11668,16 +11668,16 @@ var Cp = Ne.forwardRef(
11668
11668
  Zc({
11669
11669
  height: a,
11670
11670
  width: a,
11671
- viewBox: `0 0 ${E} ${E}`,
11671
+ viewBox: `0 0 ${v} ${v}`,
11672
11672
  ref: t,
11673
11673
  role: "img"
11674
- }, N),
11674
+ }, D),
11675
11675
  !!h && /* @__PURE__ */ Ne.createElement("title", null, h),
11676
11676
  /* @__PURE__ */ Ne.createElement(
11677
11677
  "path",
11678
11678
  {
11679
11679
  fill: d,
11680
- d: `M0,0 h${E}v${E}H0z`,
11680
+ d: `M0,0 h${v}v${v}H0z`,
11681
11681
  shapeRendering: "crispEdges"
11682
11682
  }
11683
11683
  ),
@@ -11730,7 +11730,7 @@ const aw = {
11730
11730
  });
11731
11731
  return c(g), null;
11732
11732
  }
11733
- return /* @__PURE__ */ v(Zr, { header: r, footer: e, buttons: t, backgroundColor: d, children: /* @__PURE__ */ v(
11733
+ return /* @__PURE__ */ E(Zr, { header: r, footer: e, buttons: t, backgroundColor: d, children: /* @__PURE__ */ E(
11734
11734
  "div",
11735
11735
  {
11736
11736
  part: "gui-device-transfer-screen-container",
@@ -11740,18 +11740,18 @@ const aw = {
11740
11740
  justifyContent: "flex-start"
11741
11741
  }),
11742
11742
  children: [
11743
- /* @__PURE__ */ v("div", { part: "gui-device-transfer-qr-container", style: aw, children: /* @__PURE__ */ v(Cp, { value: l, size: 300, fgColor: a == null ? void 0 : a.color }) }),
11744
- o && /* @__PURE__ */ v("div", { style: lw, children: /* @__PURE__ */ v(at, b({}, o)) }),
11745
- s && /* @__PURE__ */ v("div", { style: cw, children: /* @__PURE__ */ v(pa, b({}, s)) })
11743
+ /* @__PURE__ */ E("div", { part: "gui-device-transfer-qr-container", style: aw, children: /* @__PURE__ */ E(Cp, { value: l, size: 300, fgColor: a == null ? void 0 : a.color }) }),
11744
+ o && /* @__PURE__ */ E("div", { style: lw, children: /* @__PURE__ */ E(at, b({}, o)) }),
11745
+ s && /* @__PURE__ */ E("div", { style: cw, children: /* @__PURE__ */ E(pa, b({}, s)) })
11746
11746
  ]
11747
11747
  }
11748
11748
  ) });
11749
11749
  }, fw = ({ moduleProps: r }) => {
11750
11750
  var a;
11751
11751
  const { templateId: e, templateLayout: t } = r, { perform: o } = Gr();
11752
- if (!e || !t) return /* @__PURE__ */ v(xh, {});
11752
+ if (!e || !t) return /* @__PURE__ */ E(xh, {});
11753
11753
  if (e === rr.STATUS)
11754
- return /* @__PURE__ */ v(
11754
+ return /* @__PURE__ */ E(
11755
11755
  SE,
11756
11756
  {
11757
11757
  header: t == null ? void 0 : t.header,
@@ -11764,7 +11764,7 @@ const aw = {
11764
11764
  }
11765
11765
  );
11766
11766
  if (e === rr.INFO)
11767
- return /* @__PURE__ */ v(
11767
+ return /* @__PURE__ */ E(
11768
11768
  jE,
11769
11769
  {
11770
11770
  header: t == null ? void 0 : t.header,
@@ -11777,7 +11777,7 @@ const aw = {
11777
11777
  }
11778
11778
  );
11779
11779
  if (e === rr.GEOLOCATION)
11780
- return /* @__PURE__ */ v(
11780
+ return /* @__PURE__ */ E(
11781
11781
  Yv,
11782
11782
  {
11783
11783
  header: t == null ? void 0 : t.header,
@@ -11793,7 +11793,7 @@ const aw = {
11793
11793
  }
11794
11794
  );
11795
11795
  if (e === rr.PROGRESS)
11796
- return /* @__PURE__ */ v(
11796
+ return /* @__PURE__ */ E(
11797
11797
  xh,
11798
11798
  {
11799
11799
  header: t == null ? void 0 : t.header,
@@ -11803,7 +11803,7 @@ const aw = {
11803
11803
  }
11804
11804
  );
11805
11805
  if (e === rr.INFO_DETAILS)
11806
- return /* @__PURE__ */ v(
11806
+ return /* @__PURE__ */ E(
11807
11807
  RE,
11808
11808
  {
11809
11809
  header: t == null ? void 0 : t.header,
@@ -11815,7 +11815,7 @@ const aw = {
11815
11815
  }
11816
11816
  );
11817
11817
  if (e === rr.CAMERA)
11818
- return /* @__PURE__ */ v(
11818
+ return /* @__PURE__ */ E(
11819
11819
  Ov,
11820
11820
  {
11821
11821
  header: t == null ? void 0 : t.header,
@@ -11826,7 +11826,7 @@ const aw = {
11826
11826
  }
11827
11827
  );
11828
11828
  if (e === rr.GALLERY)
11829
- return /* @__PURE__ */ v(
11829
+ return /* @__PURE__ */ E(
11830
11830
  Ev,
11831
11831
  {
11832
11832
  header: t == null ? void 0 : t.header,
@@ -11838,7 +11838,7 @@ const aw = {
11838
11838
  );
11839
11839
  if (e === rr.QUESTIONS) {
11840
11840
  const l = (a = r.properties) != null && a.length ? JSON.stringify(r.properties) : "default-key";
11841
- return /* @__PURE__ */ v(
11841
+ return /* @__PURE__ */ E(
11842
11842
  Av,
11843
11843
  {
11844
11844
  dataSource: r.dataSource,
@@ -11854,7 +11854,7 @@ const aw = {
11854
11854
  );
11855
11855
  }
11856
11856
  if (e === rr.DEVICE_TRANSFER)
11857
- return /* @__PURE__ */ v(
11857
+ return /* @__PURE__ */ E(
11858
11858
  dw,
11859
11859
  {
11860
11860
  header: t == null ? void 0 : t.header,
@@ -11868,7 +11868,7 @@ const aw = {
11868
11868
  }
11869
11869
  );
11870
11870
  if (e === rr.GENERIC)
11871
- return /* @__PURE__ */ v(Jv, { rootElement: t.rootElement });
11871
+ return /* @__PURE__ */ E(Jv, { rootElement: t.rootElement });
11872
11872
  const s = new Ni({
11873
11873
  errorCode: Hi.DECODING_FAILED,
11874
11874
  message: "Unsupported step template id"
@@ -11880,7 +11880,7 @@ const gw = ({
11880
11880
  children: r,
11881
11881
  locale: e,
11882
11882
  direction: t
11883
- }) => /* @__PURE__ */ v(
11883
+ }) => /* @__PURE__ */ E(
11884
11884
  "div",
11885
11885
  {
11886
11886
  part: "gui-idv",
@@ -11897,7 +11897,7 @@ const gw = ({
11897
11897
  devSettings: o
11898
11898
  }) => {
11899
11899
  const s = oE(e.locale);
11900
- return /* @__PURE__ */ v(
11900
+ return /* @__PURE__ */ E(
11901
11901
  aE,
11902
11902
  {
11903
11903
  perform: (a, l) => t == null ? void 0 : t(a, l),
@@ -11905,7 +11905,7 @@ const gw = ({
11905
11905
  devSettings: o,
11906
11906
  failedAssets: e.failedAssets,
11907
11907
  layoutDirection: s,
11908
- children: /* @__PURE__ */ v(gw, { locale: e.locale, direction: s, children: /* @__PURE__ */ v(fw, { moduleProps: e }) })
11908
+ children: /* @__PURE__ */ E(gw, { locale: e.locale, direction: s, children: /* @__PURE__ */ E(fw, { moduleProps: e }) })
11909
11909
  }
11910
11910
  );
11911
11911
  }, ra = class ra extends nE {
@@ -11958,7 +11958,7 @@ const gw = ({
11958
11958
  `, this.shadowRoot.querySelector("#idv-gui-styles") || this.shadowRoot.appendChild(e);
11959
11959
  }
11960
11960
  Ji(
11961
- /* @__PURE__ */ v(
11961
+ /* @__PURE__ */ E(
11962
11962
  hw,
11963
11963
  {
11964
11964
  moduleProps: this.props.moduleProps,
@@ -12112,24 +12112,24 @@ var yw = function(r) {
12112
12112
  }) : !0;
12113
12113
  }), h = [];
12114
12114
  try {
12115
- for (var y = yw(this.validationMetadatas.entries()), D = y.next(); !D.done; D = y.next()) {
12116
- var N = Vh(D.value, 2), m = N[0], T = N[1];
12115
+ for (var y = yw(this.validationMetadatas.entries()), N = y.next(); !N.done; N = y.next()) {
12116
+ var D = Vh(N.value, 2), m = D[0], T = D[1];
12117
12117
  e.prototype instanceof m && h.push.apply(h, Nw([], Vh(T), !1));
12118
12118
  }
12119
12119
  } catch (S) {
12120
12120
  l = { error: S };
12121
12121
  } finally {
12122
12122
  try {
12123
- D && !D.done && (d = y.return) && d.call(y);
12123
+ N && !N.done && (d = y.return) && d.call(y);
12124
12124
  } finally {
12125
12125
  if (l) throw l.error;
12126
12126
  }
12127
12127
  }
12128
- var E = h.filter(function(S) {
12128
+ var v = h.filter(function(S) {
12129
12129
  return typeof S.target == "string" || S.target === e || S.target instanceof Function && !(e.prototype instanceof S.target) ? !1 : c(S) ? !0 : g(S) ? !1 : a && a.length > 0 ? S.groups && !!S.groups.find(function(R) {
12130
12130
  return a.indexOf(R) !== -1;
12131
12131
  }) : !0;
12132
- }), w = E.filter(function(S) {
12132
+ }), w = v.filter(function(S) {
12133
12133
  return !p.find(function(R) {
12134
12134
  return R.propertyName === S.propertyName && R.type === S.type;
12135
12135
  });
@@ -12232,17 +12232,17 @@ var Aw = (
12232
12232
  (!this.validatorOptions || !this.validatorOptions.validationError || this.validatorOptions.validationError.target === void 0 || this.validatorOptions.validationError.target === !0) && (y.target = e), y.value = void 0, y.property = void 0, y.children = [], y.constraints = { unknownValue: "an unknown value was passed to the validate function" }, o.push(y);
12233
12233
  return;
12234
12234
  }
12235
- this.validatorOptions && this.validatorOptions.whitelist && this.whitelist(e, h, o), Object.keys(h).forEach(function(D) {
12236
- var N = e[D], m = h[D].filter(function(E) {
12237
- return E.type === Zt.IS_DEFINED;
12238
- }), T = h[D].filter(function(E) {
12239
- return E.type !== Zt.IS_DEFINED && E.type !== Zt.WHITELIST;
12235
+ this.validatorOptions && this.validatorOptions.whitelist && this.whitelist(e, h, o), Object.keys(h).forEach(function(N) {
12236
+ var D = e[N], m = h[N].filter(function(v) {
12237
+ return v.type === Zt.IS_DEFINED;
12238
+ }), T = h[N].filter(function(v) {
12239
+ return v.type !== Zt.IS_DEFINED && v.type !== Zt.WHITELIST;
12240
12240
  });
12241
- N instanceof Promise && T.find(function(E) {
12242
- return E.type === Zt.PROMISE_VALIDATION;
12243
- }) ? s.awaitingPromises.push(N.then(function(E) {
12244
- s.performValidations(e, E, D, m, T, o);
12245
- })) : s.performValidations(e, N, D, m, T, o);
12241
+ D instanceof Promise && T.find(function(v) {
12242
+ return v.type === Zt.PROMISE_VALIDATION;
12243
+ }) ? s.awaitingPromises.push(D.then(function(v) {
12244
+ s.performValidations(e, v, N, m, T, o);
12245
+ })) : s.performValidations(e, D, N, m, T, o);
12246
12246
  });
12247
12247
  }, r.prototype.whitelist = function(e, t, o) {
12248
12248
  var s = this, a = [];
@@ -12312,15 +12312,15 @@ var Aw = (
12312
12312
  }
12313
12313
  return;
12314
12314
  }
12315
- var D = pw(t), N = D.map(function(R) {
12315
+ var N = pw(t), D = N.map(function(R) {
12316
12316
  return d.instance.validate(R, c);
12317
- }), m = N.some(function(R) {
12317
+ }), m = D.some(function(R) {
12318
12318
  return zc(R);
12319
12319
  });
12320
12320
  if (m) {
12321
- var T = N.map(function(R) {
12321
+ var T = D.map(function(R) {
12322
12322
  return zc(R) ? R : Promise.resolve(R);
12323
- }), E = Promise.all(T).then(function(R) {
12323
+ }), v = Promise.all(T).then(function(R) {
12324
12324
  var Y = R.every(function(q) {
12325
12325
  return q;
12326
12326
  });
@@ -12329,10 +12329,10 @@ var Aw = (
12329
12329
  s.constraints[Z] = le, l.context && (s.contexts || (s.contexts = {}), s.contexts[Z] = Object.assign(s.contexts[Z] || {}, l.context));
12330
12330
  }
12331
12331
  });
12332
- a.awaitingPromises.push(E);
12332
+ a.awaitingPromises.push(v);
12333
12333
  return;
12334
12334
  }
12335
- var w = N.every(function(R) {
12335
+ var w = D.every(function(R) {
12336
12336
  return R;
12337
12337
  });
12338
12338
  if (!w) {
@@ -12961,7 +12961,7 @@ var Ho = (
12961
12961
  if (l === void 0 && (l = 0), Array.isArray(t) || t instanceof Set) {
12962
12962
  var c = s && this.transformationType === Ke.PLAIN_TO_CLASS ? Kw(s) : [];
12963
12963
  return t.forEach(function(m, T) {
12964
- var E = e ? e[T] : void 0;
12964
+ var v = e ? e[T] : void 0;
12965
12965
  if (!d.options.enableCircularCheck || !d.isCircular(m)) {
12966
12966
  var w = void 0;
12967
12967
  if (typeof o != "function" && o && o.options && o.options.discriminator && o.options.discriminator.property && o.options.discriminator.subTypes) {
@@ -12977,7 +12977,7 @@ var Ho = (
12977
12977
  }).name);
12978
12978
  } else
12979
12979
  w = o;
12980
- var Y = d.transform(E, m, w, void 0, m instanceof Map, l + 1);
12980
+ var Y = d.transform(v, m, w, void 0, m instanceof Map, l + 1);
12981
12981
  c instanceof Set ? c.add(Y) : c.push(Y);
12982
12982
  } else d.transformationType === Ke.CLASS_TO_CLASS && (c instanceof Set ? c.add(m) : c.push(m));
12983
12983
  }), c;
@@ -12994,8 +12994,8 @@ var Ho = (
12994
12994
  return t == null ? t : Buffer.from(t);
12995
12995
  if (Zw(t) && !a)
12996
12996
  return new Promise(function(m, T) {
12997
- t.then(function(E) {
12998
- return m(d.transform(void 0, E, o, void 0, void 0, l + 1));
12997
+ t.then(function(v) {
12998
+ return m(d.transform(void 0, v, o, void 0, void 0, l + 1));
12999
12999
  }, T);
13000
13000
  });
13001
13001
  if (!a && t !== null && typeof t == "object" && typeof t.then == "function")
@@ -13007,14 +13007,14 @@ var Ho = (
13007
13007
  for (var p = function(m) {
13008
13008
  if (m === "__proto__" || m === "constructor")
13009
13009
  return "continue";
13010
- var T = m, E = m, w = m;
13010
+ var T = m, v = m, w = m;
13011
13011
  if (!h.options.ignoreDecorators && o) {
13012
13012
  if (h.transformationType === Ke.PLAIN_TO_CLASS) {
13013
13013
  var S = yn.findExposeMetadataByCustomName(o, m);
13014
- S && (w = S.propertyName, E = S.propertyName);
13014
+ S && (w = S.propertyName, v = S.propertyName);
13015
13015
  } else if (h.transformationType === Ke.CLASS_TO_PLAIN || h.transformationType === Ke.CLASS_TO_CLASS) {
13016
13016
  var S = yn.findExposeMetadata(o, m);
13017
- S && S.options && S.options.name && (E = S.options.name);
13017
+ S && S.options && S.options.name && (v = S.options.name);
13018
13018
  }
13019
13019
  }
13020
13020
  var R = void 0;
@@ -13045,21 +13045,21 @@ var Ho = (
13045
13045
  }
13046
13046
  var ne = Array.isArray(t[T]) ? h.getReflectedType(o, w) : void 0, Ae = e ? e[T] : void 0;
13047
13047
  if (M.constructor.prototype) {
13048
- var Ie = Object.getOwnPropertyDescriptor(M.constructor.prototype, E);
13048
+ var Ie = Object.getOwnPropertyDescriptor(M.constructor.prototype, v);
13049
13049
  if ((h.transformationType === Ke.PLAIN_TO_CLASS || h.transformationType === Ke.CLASS_TO_CLASS) && // eslint-disable-next-line @typescript-eslint/unbound-method
13050
- (Ie && !Ie.set || M[E] instanceof Function))
13050
+ (Ie && !Ie.set || M[v] instanceof Function))
13051
13051
  return "continue";
13052
13052
  }
13053
13053
  if (!h.options.enableCircularCheck || !h.isCircular(R)) {
13054
- var me = h.transformationType === Ke.PLAIN_TO_CLASS ? E : m, Se = void 0;
13055
- h.transformationType === Ke.CLASS_TO_PLAIN ? (Se = t[me], Se = h.applyCustomTransformations(Se, o, me, t, h.transformationType), Se = t[me] === Se ? R : Se, Se = h.transform(Ae, Se, Y, ne, $, l + 1)) : R === void 0 && h.options.exposeDefaultValues ? Se = M[E] : (Se = h.transform(Ae, R, Y, ne, $, l + 1), Se = h.applyCustomTransformations(Se, o, me, t, h.transformationType)), (Se !== void 0 || h.options.exposeUnsetFields) && (M instanceof Map ? M.set(E, Se) : M[E] = Se);
13054
+ var me = h.transformationType === Ke.PLAIN_TO_CLASS ? v : m, Se = void 0;
13055
+ h.transformationType === Ke.CLASS_TO_PLAIN ? (Se = t[me], Se = h.applyCustomTransformations(Se, o, me, t, h.transformationType), Se = t[me] === Se ? R : Se, Se = h.transform(Ae, Se, Y, ne, $, l + 1)) : R === void 0 && h.options.exposeDefaultValues ? Se = M[v] : (Se = h.transform(Ae, R, Y, ne, $, l + 1), Se = h.applyCustomTransformations(Se, o, me, t, h.transformationType)), (Se !== void 0 || h.options.exposeUnsetFields) && (M instanceof Map ? M.set(v, Se) : M[v] = Se);
13056
13056
  } else if (h.transformationType === Ke.CLASS_TO_CLASS) {
13057
13057
  var Se = R;
13058
- Se = h.applyCustomTransformations(Se, o, m, t, h.transformationType), (Se !== void 0 || h.options.exposeUnsetFields) && (M instanceof Map ? M.set(E, Se) : M[E] = Se);
13058
+ Se = h.applyCustomTransformations(Se, o, m, t, h.transformationType), (Se !== void 0 || h.options.exposeUnsetFields) && (M instanceof Map ? M.set(v, Se) : M[v] = Se);
13059
13059
  }
13060
- }, h = this, y = 0, D = g; y < D.length; y++) {
13061
- var N = D[y];
13062
- p(N);
13060
+ }, h = this, y = 0, N = g; y < N.length; y++) {
13061
+ var D = N[y];
13062
+ p(D);
13063
13063
  }
13064
13064
  return this.options.enableCircularCheck && this.recursionStack.delete(t), M;
13065
13065
  } else
@@ -13513,7 +13513,7 @@ const cS = (r, e) => ({
13513
13513
  return {};
13514
13514
  }),
13515
13515
  _continueSession: (o, s) => X(null, null, function* () {
13516
- var y, D;
13516
+ var y, N;
13517
13517
  const a = e().startConfig, l = "apiKey" in a && typeof a.apiKey == "string", d = (y = e().workflow) == null ? void 0 : y.id, c = s ? "Session continued from force session id" : "Session restored from local storage";
13518
13518
  let g;
13519
13519
  if (s)
@@ -13524,18 +13524,18 @@ const cS = (r, e) => ({
13524
13524
  }), g = s;
13525
13525
  else if (l) {
13526
13526
  if (!e().sessionRestoreMode) return {};
13527
- const N = a.apiKey, m = Fi.getAuthTokenLs(), T = m && ((D = m[N]) == null ? void 0 : D.sessionId);
13527
+ const D = a.apiKey, m = Fi.getAuthTokenLs(), T = m && ((N = m[D]) == null ? void 0 : N.sessionId);
13528
13528
  if (!T) return {};
13529
13529
  T && (g = T), we.logSessionEvent({
13530
13530
  module: fe,
13531
13531
  logLevel: Te.DEBUG,
13532
- message: `Continue session with api key: ${N}`
13532
+ message: `Continue session with api key: ${D}`
13533
13533
  });
13534
13534
  } else {
13535
13535
  if (!e().sessionRestoreMode) return {};
13536
- const N = e().getCurrentSessionDataLs();
13537
- if (!N) return {};
13538
- const m = N.sessionId, T = N.workflowId;
13536
+ const D = e().getCurrentSessionDataLs();
13537
+ if (!D) return {};
13538
+ const m = D.sessionId, T = D.workflowId;
13539
13539
  if (!m || T !== d) return {};
13540
13540
  g = m, we.logSessionEvent({
13541
13541
  module: fe,
@@ -13548,26 +13548,26 @@ const cS = (r, e) => ({
13548
13548
  o
13549
13549
  );
13550
13550
  if (M.code !== 0) {
13551
- const N = "what" in M.data && typeof M.data.what == "string" && M.data.what.length ? M.data.what : null, m = new zr(b({
13551
+ const D = "what" in M.data && typeof M.data.what == "string" && M.data.what.length ? M.data.what : null, m = new zr(b({
13552
13552
  errorCode: br.HTTP_ISSUE
13553
- }, N ? { message: N } : {})), T = new Ft({
13553
+ }, D ? { message: D } : {})), T = new Ft({
13554
13554
  errorCode: Pt.START_SESSION_FAILED,
13555
13555
  underlyingBaseError: m
13556
13556
  });
13557
13557
  return we.logSessionEvent({
13558
13558
  module: fe,
13559
13559
  logLevel: Te.ERROR,
13560
- message: `Continue session failed: ${N}`
13560
+ message: `Continue session failed: ${D}`
13561
13561
  }), { error: T };
13562
13562
  }
13563
13563
  const p = Bi.fromPlain(M.data);
13564
13564
  if ("validationErrorMessage" in p) {
13565
- const N = new zr({
13565
+ const D = new zr({
13566
13566
  errorCode: br.DECODING_FAILED,
13567
13567
  message: p.validationErrorMessage
13568
13568
  }), m = new Ft({
13569
13569
  errorCode: Pt.START_SESSION_FAILED,
13570
- underlyingBaseError: N
13570
+ underlyingBaseError: D
13571
13571
  });
13572
13572
  return we.logSessionEvent({
13573
13573
  module: fe,
@@ -13698,12 +13698,12 @@ const cS = (r, e) => ({
13698
13698
  logLevel: Te.INFO,
13699
13699
  message: "Removed old session from LS because new api token will not work with old session id"
13700
13700
  }));
13701
- const D = p && y.authToken === p.authToken && p, N = D ? D.tokenExpiresAt : Date.now() + c * 1e3;
13701
+ const N = p && y.authToken === p.authToken && p, D = N ? N.tokenExpiresAt : Date.now() + c * 1e3;
13702
13702
  return we.logSessionEvent({
13703
13703
  module: fe,
13704
13704
  logLevel: Te.INFO,
13705
- message: `Successfully configure by api key. Token expires at: ${N}`
13706
- }), e().setApiKeyAuthTokenCollection(o.apiKey, y.authToken, N), r({ _isConnectedToPlatform: !0 }), e().setStartConfig({
13705
+ message: `Successfully configure by api key. Token expires at: ${D}`
13706
+ }), e().setApiKeyAuthTokenCollection(o.apiKey, y.authToken, D), r({ _isConnectedToPlatform: !0 }), e().setStartConfig({
13707
13707
  host: l.host,
13708
13708
  isSecure: l.isSecure,
13709
13709
  apiKey: o.apiKey,
@@ -13897,65 +13897,65 @@ const cS = (r, e) => ({
13897
13897
  return X(this, null, function* () {
13898
13898
  var y;
13899
13899
  if (!e()._isInitialized) {
13900
- const D = new pr({
13900
+ const N = new pr({
13901
13901
  errorCode: Mr.INITIALIZATION_REQUIRED
13902
13902
  });
13903
13903
  return we.logSessionEvent({
13904
13904
  module: fe,
13905
13905
  logLevel: Te.ERROR,
13906
13906
  message: "Initialization required (prepare workflow and prepare ui)"
13907
- }), { error: D };
13907
+ }), { error: N };
13908
13908
  }
13909
13909
  if (!e()._isConnectedToPlatform) {
13910
- const D = new pr({
13910
+ const N = new pr({
13911
13911
  errorCode: Mr.CONNECTION_ISSUE
13912
13912
  });
13913
13913
  return we.logSessionEvent({
13914
13914
  module: fe,
13915
13915
  logLevel: Te.ERROR,
13916
13916
  message: "Connection issue (prepare workflow and prepare ui)"
13917
- }), { error: D };
13917
+ }), { error: N };
13918
13918
  }
13919
13919
  if (e().currentScreenConfig) {
13920
- const D = new pr({
13920
+ const N = new pr({
13921
13921
  errorCode: Mr.SCENARIO_IN_PROGRESS
13922
13922
  });
13923
13923
  return we.logSessionEvent({
13924
13924
  module: fe,
13925
13925
  logLevel: Te.ERROR,
13926
13926
  message: "Scenario in progress (prepare workflow and prepare ui)"
13927
- }), { error: D };
13927
+ }), { error: N };
13928
13928
  }
13929
13929
  const s = e()._sessionIdFromUrl, a = yield e().fetchService.getWorkflow(o, s);
13930
13930
  if (a.code !== 0) {
13931
- let D;
13932
- a.code === 4 ? D = gi.HTTP_ISSUE : a.code === 5 ? D = gi.PROVIDER_ERROR : D = gi.DECODING_FAILED;
13933
- const N = "what" in a.data && typeof a.data.what == "string" && a.data.what.length ? a.data.what : null, m = new qs(b({
13934
- errorCode: D
13935
- }, N ? { message: N } : {})), T = new pr({
13931
+ let N;
13932
+ a.code === 4 ? N = gi.HTTP_ISSUE : a.code === 5 ? N = gi.PROVIDER_ERROR : N = gi.DECODING_FAILED;
13933
+ const D = "what" in a.data && typeof a.data.what == "string" && a.data.what.length ? a.data.what : null, m = new qs(b({
13934
+ errorCode: N
13935
+ }, D ? { message: D } : {})), T = new pr({
13936
13936
  errorCode: Mr.INTERNAL_ISSUE,
13937
13937
  underlyingBaseError: m
13938
13938
  });
13939
13939
  return we.logSessionEvent({
13940
13940
  module: fe,
13941
13941
  logLevel: Te.ERROR,
13942
- message: `Workflow issue: ${N != null ? N : ""}`
13942
+ message: `Workflow issue: ${D != null ? D : ""}`
13943
13943
  }), { error: T };
13944
13944
  }
13945
13945
  const l = Rp.fromPlain(a.data);
13946
13946
  if ("validationErrorMessage" in l) {
13947
- const D = new qs({
13947
+ const N = new qs({
13948
13948
  errorCode: gi.DECODING_FAILED,
13949
13949
  message: l.validationErrorMessage
13950
- }), N = new pr({
13950
+ }), D = new pr({
13951
13951
  errorCode: Mr.WORKFLOW_ISSUE,
13952
- underlyingBaseError: D
13952
+ underlyingBaseError: N
13953
13953
  });
13954
13954
  return we.logSessionEvent({
13955
13955
  module: fe,
13956
13956
  logLevel: Te.ERROR,
13957
13957
  message: `Workflow decoding failed: ${l.validationErrorMessage}`
13958
- }), { error: N };
13958
+ }), { error: D };
13959
13959
  }
13960
13960
  const d = e().externalModules, c = l.steps, { isAllTemplatesSupported: g, unsupportedSteps: M } = PT(d, c);
13961
13961
  g || we.logSessionEvent({
@@ -13964,12 +13964,12 @@ const cS = (r, e) => ({
13964
13964
  message: `Warning. Unsupported steps found: ${M}`
13965
13965
  });
13966
13966
  const p = (y = e().workflow) == null ? void 0 : y.id;
13967
- p && o !== p && d.forEach((D) => {
13968
- D.component.deinitialize();
13967
+ p && o !== p && d.forEach((N) => {
13968
+ N.component.deinitialize();
13969
13969
  });
13970
13970
  const h = e().modulesConfig;
13971
- return d.forEach((D) => {
13972
- D.component.isReady() || D.component.initialize(h);
13971
+ return d.forEach((N) => {
13972
+ N.component.isReady() || N.component.initialize(h);
13973
13973
  }), we.logSessionEvent({
13974
13974
  module: fe,
13975
13975
  logLevel: Te.INFO,
@@ -14084,14 +14084,14 @@ const cS = (r, e) => ({
14084
14084
  logLevel: Te.DEBUG,
14085
14085
  message: "Successfully get service token"
14086
14086
  }), e().setServiceSessionToken(y);
14087
- const D = yield e()._runSocketConnection(y);
14088
- if (D.error) return { error: D.error };
14087
+ const N = yield e()._runSocketConnection(y);
14088
+ if (N.error) return { error: N.error };
14089
14089
  we.logSessionEvent({
14090
14090
  module: fe,
14091
14091
  logLevel: Te.INFO,
14092
14092
  message: "Successfully run socket connection "
14093
14093
  });
14094
- const N = e()._sessionIdFromUrl, m = yield e()._continueSession(s, N);
14094
+ const D = e()._sessionIdFromUrl, m = yield e()._continueSession(s, D);
14095
14095
  if ("sessionId" in m)
14096
14096
  return we.logSessionEvent({
14097
14097
  module: fe,
@@ -14120,11 +14120,11 @@ const cS = (r, e) => ({
14120
14120
  message: `Start session failed: ${R}`
14121
14121
  }), { error: $ };
14122
14122
  }
14123
- const E = Bi.fromPlain(T.data);
14124
- if ("validationErrorMessage" in E) {
14123
+ const v = Bi.fromPlain(T.data);
14124
+ if ("validationErrorMessage" in v) {
14125
14125
  const R = new zr({
14126
14126
  errorCode: br.DECODING_FAILED,
14127
- message: E.validationErrorMessage
14127
+ message: v.validationErrorMessage
14128
14128
  }), Y = new Ft({
14129
14129
  errorCode: Pt.START_SESSION_FAILED,
14130
14130
  underlyingBaseError: R
@@ -14132,24 +14132,24 @@ const cS = (r, e) => ({
14132
14132
  return we.logSessionEvent({
14133
14133
  module: fe,
14134
14134
  logLevel: Te.ERROR,
14135
- message: `Validate session data failed: ${E.validationErrorMessage}`
14135
+ message: `Validate session data failed: ${v.validationErrorMessage}`
14136
14136
  }), { error: Y };
14137
14137
  }
14138
14138
  we.logSessionEvent({
14139
14139
  module: fe,
14140
14140
  logLevel: Te.INFO,
14141
14141
  message: "Successfully validate session data"
14142
- }), p ? e()._checkAndSetApiTokenToLs(E.id) : e().setCurrentSessionDataLsAndStore({ sessionId: E.id, workflowId: c });
14143
- const w = E.currentStep;
14142
+ }), p ? e()._checkAndSetApiTokenToLs(v.id) : e().setCurrentSessionDataLsAndStore({ sessionId: v.id, workflowId: c });
14143
+ const w = v.currentStep;
14144
14144
  return e().setCurrentStepId(w), we.logSessionEvent({
14145
14145
  module: fe,
14146
14146
  logLevel: Te.INFO,
14147
14147
  message: `Running step ${w}`
14148
14148
  }), yield e().setNextStep({
14149
- workflow: E.workflow,
14150
- properties: E.properties,
14149
+ workflow: v.workflow,
14150
+ properties: v.properties,
14151
14151
  nextStepId: w,
14152
- locale: E.locale
14152
+ locale: v.locale
14153
14153
  }), e().listener({
14154
14154
  eventType: sa.MESSAGE,
14155
14155
  module: fe,
@@ -14177,8 +14177,8 @@ function dS(r, e, t) {
14177
14177
  const o = t.value;
14178
14178
  t.value = function(s, a) {
14179
14179
  return X(this, null, function* () {
14180
- var y, D;
14181
- const l = ((y = a == null ? void 0 : a.method) != null ? y : "GET").toUpperCase(), d = (D = a == null ? void 0 : a.headers) == null ? void 0 : D.authorization, c = yield o.call(this, s, a), g = c.status;
14180
+ var y, N;
14181
+ const l = ((y = a == null ? void 0 : a.method) != null ? y : "GET").toUpperCase(), d = (N = a == null ? void 0 : a.headers) == null ? void 0 : N.authorization, c = yield o.call(this, s, a), g = c.status;
14182
14182
  let M = {
14183
14183
  method: l,
14184
14184
  url: s,
@@ -14472,15 +14472,15 @@ class kp {
14472
14472
  method: "GET"
14473
14473
  }), h = { httpCode: p.status, method: "GET", url: c };
14474
14474
  if (!p.ok) {
14475
- const D = yield this._getResponseTextFromBadResponse(p);
14476
- return D && (h.what = D), { code: 5, data: h };
14475
+ const N = yield this._getResponseTextFromBadResponse(p);
14476
+ return N && (h.what = N), { code: 5, data: h };
14477
14477
  }
14478
14478
  let y;
14479
14479
  try {
14480
14480
  if (y = yield p.json(), !(y != null && y.id)) return { code: 6, data: h };
14481
- } catch (D) {
14482
- const N = this._getErrorTextFromError(D);
14483
- return h.what = N, { code: 6, data: h };
14481
+ } catch (N) {
14482
+ const D = this._getErrorTextFromError(N);
14483
+ return h.what = D, { code: 6, data: h };
14484
14484
  }
14485
14485
  return { code: 0, data: y };
14486
14486
  } catch (p) {
@@ -14561,15 +14561,15 @@ class kp {
14561
14561
  method: a
14562
14562
  }), h = { httpCode: p.status, method: a, url: g };
14563
14563
  if (!p.ok) {
14564
- const D = yield this._getResponseTextFromBadResponse(p);
14565
- return D && (h.what = D), { code: 5, data: h };
14564
+ const N = yield this._getResponseTextFromBadResponse(p);
14565
+ return N && (h.what = N), { code: 5, data: h };
14566
14566
  }
14567
14567
  let y;
14568
14568
  try {
14569
14569
  if (y = yield p.json(), !y) return { code: 6, data: h };
14570
- } catch (D) {
14571
- const N = this._getErrorTextFromError(D);
14572
- return h.what = N, { code: 6, data: h };
14570
+ } catch (N) {
14571
+ const D = this._getErrorTextFromError(N);
14572
+ return h.what = D, { code: 6, data: h };
14573
14573
  }
14574
14574
  return { code: 0, data: y };
14575
14575
  } catch (p) {
@@ -14993,45 +14993,45 @@ const pS = (r, e) => ({
14993
14993
  return a;
14994
14994
  }),
14995
14995
  _waitingForNextStep: () => X(null, null, function* () {
14996
- var d;
14996
+ var d, c;
14997
14997
  let o = {};
14998
- const a = ((d = e().workflow) == null ? void 0 : d.sessionUpdateTimeout) || 60;
14999
- return yield new Promise((c) => {
15000
- const M = Math.round(a * 1e3 / 1e4);
15001
- let p = 0, h, y = !1;
14998
+ const a = ((c = (d = e().workflow) == null ? void 0 : d.client) == null ? void 0 : c.sessionUpdateTimeout) || 60;
14999
+ return yield new Promise((g) => {
15000
+ const p = Math.round(a * 1e3 / 1e4);
15001
+ let h = 0, y, N = !1;
15002
15002
  const D = () => {
15003
- y || (y = !0, clearTimeout(h), jn.clearSubscriptions(), c());
15004
- }, N = (m) => X(null, null, function* () {
15005
- if (!y) {
15006
- if (m) {
15007
- h = window.setTimeout(() => {
15008
- N(!1);
15003
+ N || (N = !0, clearTimeout(y), jn.clearSubscriptions(), g());
15004
+ }, m = (T) => X(null, null, function* () {
15005
+ if (!N) {
15006
+ if (T) {
15007
+ y = window.setTimeout(() => {
15008
+ m(!1);
15009
15009
  }, 1e4);
15010
15010
  return;
15011
15011
  }
15012
- o = yield e()._getSessionStateNextStepConditionResult(), !y && (p++, "shouldRetry" in o && p < M ? h = window.setTimeout(() => {
15013
- N(!1);
15012
+ o = yield e()._getSessionStateNextStepConditionResult(), !N && (h++, "shouldRetry" in o && h < p ? y = window.setTimeout(() => {
15013
+ m(!1);
15014
15014
  }, 1e4) : D());
15015
15015
  }
15016
15016
  });
15017
15017
  if (jn.isConnected()) {
15018
- const m = (T) => {
15019
- var w;
15020
- if (y) return;
15021
- const E = JSON.parse(atob(JSON.parse(T).payload));
15022
- if (E.eventType === "SESSION_UPDATED") {
15023
- clearTimeout(h);
15024
- const S = Bi.fromPlain((w = E.options) == null ? void 0 : w.session);
15025
- "validationErrorMessage" in S ? (we.logSessionEvent({
15018
+ const T = (v) => {
15019
+ var S;
15020
+ if (N) return;
15021
+ const w = JSON.parse(atob(JSON.parse(v).payload));
15022
+ if (w.eventType === "SESSION_UPDATED") {
15023
+ clearTimeout(y);
15024
+ const R = Bi.fromPlain((S = w.options) == null ? void 0 : S.session);
15025
+ "validationErrorMessage" in R ? (we.logSessionEvent({
15026
15026
  logLevel: Te.DEBUG,
15027
15027
  module: fe,
15028
- message: `Websocket: ${JSON.stringify(S.validationErrorMessage)}`
15029
- }), N(!1)) : (o = E.options.session, D());
15028
+ message: `Websocket: ${JSON.stringify(R.validationErrorMessage)}`
15029
+ }), m(!1)) : (o = w.options.session, D());
15030
15030
  }
15031
15031
  };
15032
- jn.onMessage(m);
15032
+ jn.onMessage(T);
15033
15033
  }
15034
- N(!0);
15034
+ m(!0);
15035
15035
  }), "error" in o && o.error ? { error: o.error } : Bi.isSessionModel(o) ? { sessionData: o } : { error: new Ft({
15036
15036
  errorCode: Pt.INTERNAL_ISSUE,
15037
15037
  underlyingBaseError: new Qi({ errorCode: $n.DECODING_FAILED })
@@ -15075,8 +15075,8 @@ const pS = (r, e) => ({
15075
15075
  return;
15076
15076
  }
15077
15077
  if (Bi.isSessionModel(c)) {
15078
- const { workflow: p, properties: h, currentStep: y, locale: D } = c;
15079
- yield e().setNextStep({ workflow: p, properties: h, nextStepId: y, locale: D });
15078
+ const { workflow: p, properties: h, currentStep: y, locale: N } = c;
15079
+ yield e().setNextStep({ workflow: p, properties: h, nextStepId: y, locale: N });
15080
15080
  }
15081
15081
  }
15082
15082
  }), a = () => X(null, null, function* () {
@@ -15113,8 +15113,8 @@ const pS = (r, e) => ({
15113
15113
  const a = e().currentStepId;
15114
15114
  if (!a) return;
15115
15115
  if (e().setIsProcessing(!0), ((y = (h = e().workflow) == null ? void 0 : h.logging) == null ? void 0 : y.level) === Nd.INFO) {
15116
- const D = we.cutCurrentStepLogs(a);
15117
- e().fetchService.pushLogs({ body: { step: a, log: D, deviceInfo: { platform: "Web" } } }).catch(() => {
15116
+ const N = we.cutCurrentStepLogs(a);
15117
+ e().fetchService.pushLogs({ body: { step: a, log: N, deviceInfo: { platform: "Web" } } }).catch(() => {
15118
15118
  });
15119
15119
  }
15120
15120
  if (e().isFinalWaitingUi) {
@@ -15122,15 +15122,15 @@ const pS = (r, e) => ({
15122
15122
  return;
15123
15123
  }
15124
15124
  if (o.errorEnumName) {
15125
- const D = o, N = new Ft({
15125
+ const N = o, D = new Ft({
15126
15126
  errorCode: Pt.MODULES_ISSUE,
15127
15127
  message: "Error from external module",
15128
15128
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
15129
15129
  // @ts-ignore
15130
- underlyingBaseError: D
15130
+ underlyingBaseError: N
15131
15131
  });
15132
15132
  e().workflowSessionCompletion({
15133
- error: N
15133
+ error: D
15134
15134
  }), e().resetSession();
15135
15135
  return;
15136
15136
  }
@@ -15152,7 +15152,7 @@ const pS = (r, e) => ({
15152
15152
  yield e().setNextStep({ workflow: c, properties: g, nextStepId: M, locale: p });
15153
15153
  }),
15154
15154
  prepareScreenConfigAndShowStep: (o) => X(null, null, function* () {
15155
- var p, h, y, D, N, m;
15155
+ var p, h, y, N, D, m;
15156
15156
  if (!o) return r(() => ({ currentScreenConfig: null }));
15157
15157
  const s = e().workflow;
15158
15158
  if (!s) return r(() => ({ currentScreenConfig: null }));
@@ -15174,8 +15174,8 @@ const pS = (r, e) => ({
15174
15174
  properties: a,
15175
15175
  stepType: T.type,
15176
15176
  locale: e().locale
15177
- })), l && (l.sessionId = (y = e().currentSessionData) == null ? void 0 : y.sessionId, l.serviceToken = e().serviceToken), l && YT((D = T == null ? void 0 : T.client) == null ? void 0 : D.templateLayout)) {
15178
- const E = (N = e().workflow) == null ? void 0 : N.client.layout, w = vh(T.client.templateLayout, E);
15177
+ })), l && (l.sessionId = (y = e().currentSessionData) == null ? void 0 : y.sessionId, l.serviceToken = e().serviceToken), l && YT((N = T == null ? void 0 : T.client) == null ? void 0 : N.templateLayout)) {
15178
+ const v = (D = e().workflow) == null ? void 0 : D.client.layout, w = vh(T.client.templateLayout, v);
15179
15179
  w && (l.templateLayout = w);
15180
15180
  }
15181
15181
  }
@@ -15334,7 +15334,7 @@ function DS() {
15334
15334
  /* 1 */
15335
15335
  /***/
15336
15336
  (function(e, t, o) {
15337
- var s = o(2), a = o(0), l = a.BROWSER_TYPES, d = a.OS_TYPES, c = a.DEVICE_TYPES, g = o(4), M = g.checkType, p = g.broPayload, h = g.mobilePayload, y = g.wearPayload, D = g.consolePayload, N = g.stvPayload, m = g.getNavigatorInstance, T = g.isIOS13Check, E = new s(), w = E.getBrowser(), S = E.getDevice(), R = E.getEngine(), Y = E.getOS(), $ = E.getUA(), Z = l.CHROME, le = l.CHROMIUM, q = l.IE, De = l.INTERNET_EXPLORER, ne = l.OPERA, Ae = l.FIREFOX, Ie = l.SAFARI, me = l.EDGE, Se = l.YANDEX, ke = l.MOBILE_SAFARI, Ce = c.MOBILE, ce = c.TABLET, Ee = c.SMART_TV, ae = c.BROWSER, _e = c.WEARABLE, Ze = c.CONSOLE, xe = d.ANDROID, de = d.WINDOWS_PHONE, Ye = d.IOS, Pe = d.WINDOWS, Tt = d.MAC_OS, tn = function() {
15337
+ var s = o(2), a = o(0), l = a.BROWSER_TYPES, d = a.OS_TYPES, c = a.DEVICE_TYPES, g = o(4), M = g.checkType, p = g.broPayload, h = g.mobilePayload, y = g.wearPayload, N = g.consolePayload, D = g.stvPayload, m = g.getNavigatorInstance, T = g.isIOS13Check, v = new s(), w = v.getBrowser(), S = v.getDevice(), R = v.getEngine(), Y = v.getOS(), $ = v.getUA(), Z = l.CHROME, le = l.CHROMIUM, q = l.IE, De = l.INTERNET_EXPLORER, ne = l.OPERA, Ae = l.FIREFOX, Ie = l.SAFARI, me = l.EDGE, Se = l.YANDEX, ke = l.MOBILE_SAFARI, Ce = c.MOBILE, ce = c.TABLET, Ee = c.SMART_TV, ae = c.BROWSER, _e = c.WEARABLE, Ze = c.CONSOLE, xe = d.ANDROID, de = d.WINDOWS_PHONE, Ye = d.IOS, Pe = d.WINDOWS, Tt = d.MAC_OS, tn = function() {
15338
15338
  return S.type === Ce;
15339
15339
  }, zt = function() {
15340
15340
  return S.type === ce;
@@ -15424,9 +15424,9 @@ function DS() {
15424
15424
  if (Fe)
15425
15425
  return p(Fe, w, R, Y, $);
15426
15426
  if (Co)
15427
- return N(Co, R, Y, $);
15427
+ return D(Co, R, Y, $);
15428
15428
  if (wi)
15429
- return D(wi, R, Y, $);
15429
+ return N(wi, R, Y, $);
15430
15430
  if (Jt || Tr)
15431
15431
  return h(gn, S, Y, $);
15432
15432
  if (Si)
@@ -15480,7 +15480,7 @@ function DS() {
15480
15480
  (function(e, t, o) {
15481
15481
  var s;
15482
15482
  (function(a, l) {
15483
- var d = "0.7.18", c = "", g = "?", M = "function", p = "undefined", h = "object", y = "string", D = "major", N = "model", m = "name", T = "type", E = "vendor", w = "version", S = "architecture", R = "console", Y = "mobile", $ = "tablet", Z = "smarttv", le = "wearable", q = "embedded", De = { extend: function(Ce, ce) {
15483
+ var d = "0.7.18", c = "", g = "?", M = "function", p = "undefined", h = "object", y = "string", N = "major", D = "model", m = "name", T = "type", v = "vendor", w = "version", S = "architecture", R = "console", Y = "mobile", $ = "tablet", Z = "smarttv", le = "wearable", q = "embedded", De = { extend: function(Ce, ce) {
15484
15484
  var Ee = {};
15485
15485
  for (var ae in Ce)
15486
15486
  ce[ae] && ce[ae].length % 2 === 0 ? Ee[ae] = ce[ae].concat(Ce[ae]) : Ee[ae] = Ce[ae];
@@ -15511,7 +15511,7 @@ function DS() {
15511
15511
  } else if (De.has(ce[Ee], Ce))
15512
15512
  return Ee === g ? l : Ee;
15513
15513
  return Ce;
15514
- } }, Ae = { 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" } } } }, Ie = { browser: [[/(opera\smini)\/([\w\.-]+)/i, /(opera\s[mobiletab]+).+version\/([\w\.-]+)/i, /(opera).+version\/([\w\.]+)/i, /(opera)[\/\s]+([\w\.]+)/i], [m, w], [/(opios)[\/\s]+([\w\.]+)/i], [[m, "Opera Mini"], w], [/\s(opr)\/([\w\.]+)/i], [[m, "Opera"], w], [/(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, w], [/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i], [[m, "IE"], w], [/(edge|edgios|edgea)\/((\d+)?[\w\.]+)/i], [[m, "Edge"], w], [/(yabrowser)\/([\w\.]+)/i], [[m, "Yandex"], w], [/(puffin)\/([\w\.]+)/i], [[m, "Puffin"], w], [/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i], [[m, "UCBrowser"], w], [/(comodo_dragon)\/([\w\.]+)/i], [[m, /_/g, " "], w], [/(micromessenger)\/([\w\.]+)/i], [[m, "WeChat"], w], [/(qqbrowserlite)\/([\w\.]+)/i], [m, w], [/(QQ)\/([\d\.]+)/i], [m, w], [/m?(qqbrowser)[\/\s]?([\w\.]+)/i], [m, w], [/(BIDUBrowser)[\/\s]?([\w\.]+)/i], [m, w], [/(2345Explorer)[\/\s]?([\w\.]+)/i], [m, w], [/(MetaSr)[\/\s]?([\w\.]+)/i], [m], [/(LBBROWSER)/i], [m], [/xiaomi\/miuibrowser\/([\w\.]+)/i], [w, [m, "MIUI Browser"]], [/;fbav\/([\w\.]+);/i], [w, [m, "Facebook"]], [/headlesschrome(?:\/([\w\.]+)|\s)/i], [w, [m, "Chrome Headless"]], [/\swv\).+(chrome)\/([\w\.]+)/i], [[m, /(.+)/, "$1 WebView"], w], [/((?:oculus|samsung)browser)\/([\w\.]+)/i], [[m, /(.+(?:g|us))(.+)/, "$1 $2"], w], [/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i], [w, [m, "Android Browser"]], [/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i], [m, w], [/(dolfin)\/([\w\.]+)/i], [[m, "Dolphin"], w], [/((?:android.+)crmo|crios)\/([\w\.]+)/i], [[m, "Chrome"], w], [/(coast)\/([\w\.]+)/i], [[m, "Opera Coast"], w], [/fxios\/([\w\.-]+)/i], [w, [m, "Firefox"]], [/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i], [w, [m, "Mobile Safari"]], [/version\/([\w\.]+).+?(mobile\s?safari|safari)/i], [w, m], [/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i], [[m, "GSA"], w], [/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i], [m, [w, ne.str, Ae.browser.oldsafari.version]], [/(konqueror)\/([\w\.]+)/i, /(webkit|khtml)\/([\w\.]+)/i], [m, w], [/(navigator|netscape)\/([\w\.-]+)/i], [[m, "Netscape"], w], [/(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, w]], cpu: [[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i], [[S, "amd64"]], [/(ia32(?=;))/i], [[S, De.lowerize]], [/((?:i[346]|x)86)[;\)]/i], [[S, "ia32"]], [/windows\s(ce|mobile);\sppc;/i], [[S, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i], [[S, /ower/, "", De.lowerize]], [/(sun4\w)[;\)]/i], [[S, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i], [[S, De.lowerize]]], device: [[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i], [N, E, [T, $]], [/applecoremedia\/[\w\.]+ \((ipad)/], [N, [E, "Apple"], [T, $]], [/(apple\s{0,1}tv)/i], [[N, "Apple TV"], [E, "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], [E, N, [T, $]], [/(kf[A-z]+)\sbuild\/.+silk\//i], [N, [E, "Amazon"], [T, $]], [/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i], [[N, ne.str, Ae.device.amazon.model], [E, "Amazon"], [T, Y]], [/\((ip[honed|\s\w*]+);.+(apple)/i], [N, E, [T, Y]], [/\((ip[honed|\s\w*]+);/i], [N, [E, "Apple"], [T, Y]], [/(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], [E, N, [T, Y]], [/\(bb10;\s(\w+)/i], [N, [E, "BlackBerry"], [T, Y]], [/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i], [N, [E, "Asus"], [T, $]], [/(sony)\s(tablet\s[ps])\sbuild\//i, /(sony)?(?:sgp.+)\sbuild\//i], [[E, "Sony"], [N, "Xperia Tablet"], [T, $]], [/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i], [N, [E, "Sony"], [T, Y]], [/\s(ouya)\s/i, /(nintendo)\s([wids3u]+)/i], [E, N, [T, R]], [/android.+;\s(shield)\sbuild/i], [N, [E, "Nvidia"], [T, R]], [/(playstation\s[34portablevi]+)/i], [N, [E, "Sony"], [T, R]], [/(sprint\s(\w+))/i], [[E, ne.str, Ae.device.sprint.vendor], [N, ne.str, Ae.device.sprint.model], [T, Y]], [/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i], [E, N, [T, $]], [/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i, /(zte)-(\w*)/i, /(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i], [E, [N, /_/g, " "], [T, Y]], [/(nexus\s9)/i], [N, [E, "HTC"], [T, $]], [/d\/huawei([\w\s-]+)[;\)]/i, /(nexus\s6p)/i], [N, [E, "Huawei"], [T, Y]], [/(microsoft);\s(lumia[\s\w]+)/i], [E, N, [T, Y]], [/[\s\(;](xbox(?:\sone)?)[\s\);]/i], [N, [E, "Microsoft"], [T, R]], [/(kin\.[onetw]{3})/i], [[N, /\./g, " "], [E, "Microsoft"], [T, Y]], [/\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], [N, [E, "Motorola"], [T, Y]], [/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i], [N, [E, "Motorola"], [T, $]], [/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i], [[E, De.trim], [N, De.trim], [T, Z]], [/hbbtv.+maple;(\d+)/i], [[N, /^/, "SmartTV"], [E, "Samsung"], [T, Z]], [/\(dtv[\);].+(aquos)/i], [N, [E, "Sharp"], [T, Z]], [/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], [[E, "Samsung"], N, [T, $]], [/smart-tv.+(samsung)/i], [E, [T, Z], N], [/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i, /(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i, /sec-((sgh\w+))/i], [[E, "Samsung"], N, [T, Y]], [/sie-(\w*)/i], [N, [E, "Siemens"], [T, Y]], [/(maemo|nokia).*(n900|lumia\s\d+)/i, /(nokia)[\s_-]?([\w-]*)/i], [[E, "Nokia"], N, [T, Y]], [/android\s3\.[\s\w;-]{10}(a\d{3})/i], [N, [E, "Acer"], [T, $]], [/android.+([vl]k\-?\d{3})\s+build/i], [N, [E, "LG"], [T, $]], [/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i], [[E, "LG"], N, [T, $]], [/(lg) netcast\.tv/i], [E, N, [T, Z]], [/(nexus\s[45])/i, /lg[e;\s\/-]+(\w*)/i, /android.+lg(\-?[\d\w]+)\s+build/i], [N, [E, "LG"], [T, Y]], [/android.+(ideatab[a-z0-9\-\s]+)/i], [N, [E, "Lenovo"], [T, $]], [/linux;.+((jolla));/i], [E, N, [T, Y]], [/((pebble))app\/[\d\.]+\s/i], [E, N, [T, le]], [/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i], [E, N, [T, Y]], [/crkey/i], [[N, "Chromecast"], [E, "Google"]], [/android.+;\s(glass)\s\d/i], [N, [E, "Google"], [T, le]], [/android.+;\s(pixel c)\s/i], [N, [E, "Google"], [T, $]], [/android.+;\s(pixel xl|pixel)\s/i], [N, [E, "Google"], [T, Y]], [/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], [[N, /_/g, " "], [E, "Xiaomi"], [T, Y]], [/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i], [[N, /_/g, " "], [E, "Xiaomi"], [T, $]], [/android.+;\s(m[1-5]\snote)\sbuild/i], [N, [E, "Meizu"], [T, $]], [/android.+a000(1)\s+build/i, /android.+oneplus\s(a\d{4})\s+build/i], [N, [E, "OnePlus"], [T, Y]], [/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i], [N, [E, "RCA"], [T, $]], [/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i], [N, [E, "Dell"], [T, $]], [/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i], [N, [E, "Verizon"], [T, $]], [/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i], [[E, "Barnes & Noble"], N, [T, $]], [/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i], [N, [E, "NuVision"], [T, $]], [/android.+;\s(k88)\sbuild/i], [N, [E, "ZTE"], [T, $]], [/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i], [N, [E, "Swiss"], [T, Y]], [/android.+[;\/]\s*(zur\d{3})\s+build/i], [N, [E, "Swiss"], [T, $]], [/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i], [N, [E, "Zeki"], [T, $]], [/(android).+[;\/]\s+([YR]\d{2})\s+build/i, /android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i], [[E, "Dragon Touch"], N, [T, $]], [/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i], [N, [E, "Insignia"], [T, $]], [/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i], [N, [E, "NextBook"], [T, $]], [/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i], [[E, "Voice"], N, [T, Y]], [/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i], [[E, "LvTel"], N, [T, Y]], [/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i], [N, [E, "Envizen"], [T, $]], [/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i], [E, N, [T, $]], [/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i], [N, [E, "MachSpeed"], [T, $]], [/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i], [E, N, [T, $]], [/android.+[;\/]\s*TU_(1491)\s+build/i], [N, [E, "Rotor"], [T, $]], [/android.+(KS(.+))\s+build/i], [N, [E, "Amazon"], [T, $]], [/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i], [E, N, [T, $]], [/\s(tablet|tab)[;\/]/i, /\s(mobile)(?:[;\/]|\ssafari)/i], [[T, De.lowerize], E, N], [/(android[\w\.\s\-]{0,9});.+build/i], [N, [E, "Generic"]]], engine: [[/windows.+\sedge\/([\w\.]+)/i], [w, [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, w], [/rv\:([\w\.]{1,9}).+(gecko)/i], [w, m]], os: [[/microsoft\s(windows)\s(vista|xp)/i], [m, w], [/(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, [w, ne.str, Ae.os.windows.version]], [/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i], [[m, "Windows"], [w, ne.str, Ae.os.windows.version]], [/\((bb)(10);/i], [[m, "BlackBerry"], w], [/(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, w], [/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i], [[m, "Symbian"], w], [/\((series40);/i], [m], [/mozilla.+\(mobile;.+gecko.+firefox/i], [[m, "Firefox OS"], w], [/(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, w], [/(cros)\s[\w]+\s([\w\.]+\w)/i], [[m, "Chromium OS"], w], [/(sunos)\s?([\w\.\d]*)/i], [[m, "Solaris"], w], [/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i], [m, w], [/(haiku)\s(\w+)/i], [m, w], [/cfnetwork\/.+darwin/i, /ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i], [[w, /_/g, "."], [m, "iOS"]], [/(mac\sos\sx)\s?([\w\s\.]*)/i, /(macintosh|mac(?=_powerpc)\s)/i], [[m, "Mac OS"], [w, /_/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, w]] }, me = function(Ce, ce) {
15514
+ } }, Ae = { 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" } } } }, Ie = { browser: [[/(opera\smini)\/([\w\.-]+)/i, /(opera\s[mobiletab]+).+version\/([\w\.-]+)/i, /(opera).+version\/([\w\.]+)/i, /(opera)[\/\s]+([\w\.]+)/i], [m, w], [/(opios)[\/\s]+([\w\.]+)/i], [[m, "Opera Mini"], w], [/\s(opr)\/([\w\.]+)/i], [[m, "Opera"], w], [/(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, w], [/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i], [[m, "IE"], w], [/(edge|edgios|edgea)\/((\d+)?[\w\.]+)/i], [[m, "Edge"], w], [/(yabrowser)\/([\w\.]+)/i], [[m, "Yandex"], w], [/(puffin)\/([\w\.]+)/i], [[m, "Puffin"], w], [/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i], [[m, "UCBrowser"], w], [/(comodo_dragon)\/([\w\.]+)/i], [[m, /_/g, " "], w], [/(micromessenger)\/([\w\.]+)/i], [[m, "WeChat"], w], [/(qqbrowserlite)\/([\w\.]+)/i], [m, w], [/(QQ)\/([\d\.]+)/i], [m, w], [/m?(qqbrowser)[\/\s]?([\w\.]+)/i], [m, w], [/(BIDUBrowser)[\/\s]?([\w\.]+)/i], [m, w], [/(2345Explorer)[\/\s]?([\w\.]+)/i], [m, w], [/(MetaSr)[\/\s]?([\w\.]+)/i], [m], [/(LBBROWSER)/i], [m], [/xiaomi\/miuibrowser\/([\w\.]+)/i], [w, [m, "MIUI Browser"]], [/;fbav\/([\w\.]+);/i], [w, [m, "Facebook"]], [/headlesschrome(?:\/([\w\.]+)|\s)/i], [w, [m, "Chrome Headless"]], [/\swv\).+(chrome)\/([\w\.]+)/i], [[m, /(.+)/, "$1 WebView"], w], [/((?:oculus|samsung)browser)\/([\w\.]+)/i], [[m, /(.+(?:g|us))(.+)/, "$1 $2"], w], [/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i], [w, [m, "Android Browser"]], [/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i], [m, w], [/(dolfin)\/([\w\.]+)/i], [[m, "Dolphin"], w], [/((?:android.+)crmo|crios)\/([\w\.]+)/i], [[m, "Chrome"], w], [/(coast)\/([\w\.]+)/i], [[m, "Opera Coast"], w], [/fxios\/([\w\.-]+)/i], [w, [m, "Firefox"]], [/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i], [w, [m, "Mobile Safari"]], [/version\/([\w\.]+).+?(mobile\s?safari|safari)/i], [w, m], [/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i], [[m, "GSA"], w], [/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i], [m, [w, ne.str, Ae.browser.oldsafari.version]], [/(konqueror)\/([\w\.]+)/i, /(webkit|khtml)\/([\w\.]+)/i], [m, w], [/(navigator|netscape)\/([\w\.-]+)/i], [[m, "Netscape"], w], [/(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, w]], cpu: [[/(?:(amd|x(?:(?:86|64)[_-])?|wow|win)64)[;\)]/i], [[S, "amd64"]], [/(ia32(?=;))/i], [[S, De.lowerize]], [/((?:i[346]|x)86)[;\)]/i], [[S, "ia32"]], [/windows\s(ce|mobile);\sppc;/i], [[S, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?:\smac|;|\))/i], [[S, /ower/, "", De.lowerize]], [/(sun4\w)[;\)]/i], [[S, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|arm(?:64|(?=v\d+;))|(?=atmel\s)avr|(?:irix|mips|sparc)(?:64)?(?=;)|pa-risc)/i], [[S, De.lowerize]]], device: [[/\((ipad|playbook);[\w\s\);-]+(rim|apple)/i], [D, v, [T, $]], [/applecoremedia\/[\w\.]+ \((ipad)/], [D, [v, "Apple"], [T, $]], [/(apple\s{0,1}tv)/i], [[D, "Apple TV"], [v, "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], [v, D, [T, $]], [/(kf[A-z]+)\sbuild\/.+silk\//i], [D, [v, "Amazon"], [T, $]], [/(sd|kf)[0349hijorstuw]+\sbuild\/.+silk\//i], [[D, ne.str, Ae.device.amazon.model], [v, "Amazon"], [T, Y]], [/\((ip[honed|\s\w*]+);.+(apple)/i], [D, v, [T, Y]], [/\((ip[honed|\s\w*]+);/i], [D, [v, "Apple"], [T, Y]], [/(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], [v, D, [T, Y]], [/\(bb10;\s(\w+)/i], [D, [v, "BlackBerry"], [T, Y]], [/android.+(transfo[prime\s]{4,10}\s\w+|eeepc|slider\s\w+|nexus 7|padfone)/i], [D, [v, "Asus"], [T, $]], [/(sony)\s(tablet\s[ps])\sbuild\//i, /(sony)?(?:sgp.+)\sbuild\//i], [[v, "Sony"], [D, "Xperia Tablet"], [T, $]], [/android.+\s([c-g]\d{4}|so[-l]\w+)\sbuild\//i], [D, [v, "Sony"], [T, Y]], [/\s(ouya)\s/i, /(nintendo)\s([wids3u]+)/i], [v, D, [T, R]], [/android.+;\s(shield)\sbuild/i], [D, [v, "Nvidia"], [T, R]], [/(playstation\s[34portablevi]+)/i], [D, [v, "Sony"], [T, R]], [/(sprint\s(\w+))/i], [[v, ne.str, Ae.device.sprint.vendor], [D, ne.str, Ae.device.sprint.model], [T, Y]], [/(lenovo)\s?(S(?:5000|6000)+(?:[-][\w+]))/i], [v, D, [T, $]], [/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i, /(zte)-(\w*)/i, /(alcatel|geeksphone|lenovo|nexian|panasonic|(?=;\s)sony)[_\s-]?([\w-]*)/i], [v, [D, /_/g, " "], [T, Y]], [/(nexus\s9)/i], [D, [v, "HTC"], [T, $]], [/d\/huawei([\w\s-]+)[;\)]/i, /(nexus\s6p)/i], [D, [v, "Huawei"], [T, Y]], [/(microsoft);\s(lumia[\s\w]+)/i], [v, D, [T, Y]], [/[\s\(;](xbox(?:\sone)?)[\s\);]/i], [D, [v, "Microsoft"], [T, R]], [/(kin\.[onetw]{3})/i], [[D, /\./g, " "], [v, "Microsoft"], [T, Y]], [/\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], [D, [v, "Motorola"], [T, Y]], [/android.+\s(mz60\d|xoom[\s2]{0,2})\sbuild\//i], [D, [v, "Motorola"], [T, $]], [/hbbtv\/\d+\.\d+\.\d+\s+\([\w\s]*;\s*(\w[^;]*);([^;]*)/i], [[v, De.trim], [D, De.trim], [T, Z]], [/hbbtv.+maple;(\d+)/i], [[D, /^/, "SmartTV"], [v, "Samsung"], [T, Z]], [/\(dtv[\);].+(aquos)/i], [D, [v, "Sharp"], [T, Z]], [/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], [[v, "Samsung"], D, [T, $]], [/smart-tv.+(samsung)/i], [v, [T, Z], D], [/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i, /(sam[sung]*)[\s-]*(\w+-?[\w-]*)/i, /sec-((sgh\w+))/i], [[v, "Samsung"], D, [T, Y]], [/sie-(\w*)/i], [D, [v, "Siemens"], [T, Y]], [/(maemo|nokia).*(n900|lumia\s\d+)/i, /(nokia)[\s_-]?([\w-]*)/i], [[v, "Nokia"], D, [T, Y]], [/android\s3\.[\s\w;-]{10}(a\d{3})/i], [D, [v, "Acer"], [T, $]], [/android.+([vl]k\-?\d{3})\s+build/i], [D, [v, "LG"], [T, $]], [/android\s3\.[\s\w;-]{10}(lg?)-([06cv9]{3,4})/i], [[v, "LG"], D, [T, $]], [/(lg) netcast\.tv/i], [v, D, [T, Z]], [/(nexus\s[45])/i, /lg[e;\s\/-]+(\w*)/i, /android.+lg(\-?[\d\w]+)\s+build/i], [D, [v, "LG"], [T, Y]], [/android.+(ideatab[a-z0-9\-\s]+)/i], [D, [v, "Lenovo"], [T, $]], [/linux;.+((jolla));/i], [v, D, [T, Y]], [/((pebble))app\/[\d\.]+\s/i], [v, D, [T, le]], [/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i], [v, D, [T, Y]], [/crkey/i], [[D, "Chromecast"], [v, "Google"]], [/android.+;\s(glass)\s\d/i], [D, [v, "Google"], [T, le]], [/android.+;\s(pixel c)\s/i], [D, [v, "Google"], [T, $]], [/android.+;\s(pixel xl|pixel)\s/i], [D, [v, "Google"], [T, Y]], [/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], [[D, /_/g, " "], [v, "Xiaomi"], [T, Y]], [/android.+(mi[\s\-_]*(?:pad)(?:[\s_]*[\w\s]+))\s+build/i], [[D, /_/g, " "], [v, "Xiaomi"], [T, $]], [/android.+;\s(m[1-5]\snote)\sbuild/i], [D, [v, "Meizu"], [T, $]], [/android.+a000(1)\s+build/i, /android.+oneplus\s(a\d{4})\s+build/i], [D, [v, "OnePlus"], [T, Y]], [/android.+[;\/]\s*(RCT[\d\w]+)\s+build/i], [D, [v, "RCA"], [T, $]], [/android.+[;\/\s]+(Venue[\d\s]{2,7})\s+build/i], [D, [v, "Dell"], [T, $]], [/android.+[;\/]\s*(Q[T|M][\d\w]+)\s+build/i], [D, [v, "Verizon"], [T, $]], [/android.+[;\/]\s+(Barnes[&\s]+Noble\s+|BN[RT])(V?.*)\s+build/i], [[v, "Barnes & Noble"], D, [T, $]], [/android.+[;\/]\s+(TM\d{3}.*\b)\s+build/i], [D, [v, "NuVision"], [T, $]], [/android.+;\s(k88)\sbuild/i], [D, [v, "ZTE"], [T, $]], [/android.+[;\/]\s*(gen\d{3})\s+build.*49h/i], [D, [v, "Swiss"], [T, Y]], [/android.+[;\/]\s*(zur\d{3})\s+build/i], [D, [v, "Swiss"], [T, $]], [/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i], [D, [v, "Zeki"], [T, $]], [/(android).+[;\/]\s+([YR]\d{2})\s+build/i, /android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(\w{5})\sbuild/i], [[v, "Dragon Touch"], D, [T, $]], [/android.+[;\/]\s*(NS-?\w{0,9})\sbuild/i], [D, [v, "Insignia"], [T, $]], [/android.+[;\/]\s*((NX|Next)-?\w{0,9})\s+build/i], [D, [v, "NextBook"], [T, $]], [/android.+[;\/]\s*(Xtreme\_)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i], [[v, "Voice"], D, [T, Y]], [/android.+[;\/]\s*(LVTEL\-)?(V1[12])\s+build/i], [[v, "LvTel"], D, [T, Y]], [/android.+[;\/]\s*(V(100MD|700NA|7011|917G).*\b)\s+build/i], [D, [v, "Envizen"], [T, $]], [/android.+[;\/]\s*(Le[\s\-]+Pan)[\s\-]+(\w{1,9})\s+build/i], [v, D, [T, $]], [/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i], [D, [v, "MachSpeed"], [T, $]], [/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i], [v, D, [T, $]], [/android.+[;\/]\s*TU_(1491)\s+build/i], [D, [v, "Rotor"], [T, $]], [/android.+(KS(.+))\s+build/i], [D, [v, "Amazon"], [T, $]], [/android.+(Gigaset)[\s\-]+(Q\w{1,9})\s+build/i], [v, D, [T, $]], [/\s(tablet|tab)[;\/]/i, /\s(mobile)(?:[;\/]|\ssafari)/i], [[T, De.lowerize], v, D], [/(android[\w\.\s\-]{0,9});.+build/i], [D, [v, "Generic"]]], engine: [[/windows.+\sedge\/([\w\.]+)/i], [w, [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, w], [/rv\:([\w\.]{1,9}).+(gecko)/i], [w, m]], os: [[/microsoft\s(windows)\s(vista|xp)/i], [m, w], [/(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, [w, ne.str, Ae.os.windows.version]], [/(win(?=3|9|n)|win\s9x\s)([nt\d\.]+)/i], [[m, "Windows"], [w, ne.str, Ae.os.windows.version]], [/\((bb)(10);/i], [[m, "BlackBerry"], w], [/(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, w], [/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]*)/i], [[m, "Symbian"], w], [/\((series40);/i], [m], [/mozilla.+\(mobile;.+gecko.+firefox/i], [[m, "Firefox OS"], w], [/(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, w], [/(cros)\s[\w]+\s([\w\.]+\w)/i], [[m, "Chromium OS"], w], [/(sunos)\s?([\w\.\d]*)/i], [[m, "Solaris"], w], [/\s([frentopc-]{0,4}bsd|dragonfly)\s?([\w\.]*)/i], [m, w], [/(haiku)\s(\w+)/i], [m, w], [/cfnetwork\/.+darwin/i, /ip[honead]{2,4}(?:.*os\s([\w]+)\slike\smac|;\sopera)/i], [[w, /_/g, "."], [m, "iOS"]], [/(mac\sos\sx)\s?([\w\s\.]*)/i, /(macintosh|mac(?=_powerpc)\s)/i], [[m, "Mac OS"], [w, /_/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, w]] }, me = function(Ce, ce) {
15515
15515
  if (typeof Ce == "object" && (ce = Ce, Ce = l), !(this instanceof me))
15516
15516
  return new me(Ce, ce).getResult();
15517
15517
  var Ee = Ce || (a && a.navigator && a.navigator.userAgent ? a.navigator.userAgent : c), ae = ce ? De.extend(Ie, ce) : Ie;
@@ -15538,7 +15538,7 @@ function DS() {
15538
15538
  return Ee = _e, this;
15539
15539
  }, this;
15540
15540
  };
15541
- me.VERSION = d, me.BROWSER = { NAME: m, MAJOR: D, VERSION: w }, me.CPU = { ARCHITECTURE: S }, me.DEVICE = { MODEL: N, VENDOR: E, TYPE: T, CONSOLE: R, MOBILE: Y, SMARTTV: Z, TABLET: $, WEARABLE: le, EMBEDDED: q }, me.ENGINE = { NAME: m, VERSION: w }, me.OS = { NAME: m, VERSION: w }, typeof t !== p ? (typeof e !== p && e.exports && (t = e.exports = me), t.UAParser = me) : o(3) ? (s = (function() {
15541
+ me.VERSION = d, me.BROWSER = { NAME: m, MAJOR: N, VERSION: w }, me.CPU = { ARCHITECTURE: S }, me.DEVICE = { MODEL: D, VENDOR: v, TYPE: T, CONSOLE: R, MOBILE: Y, SMARTTV: Z, TABLET: $, WEARABLE: le, EMBEDDED: q }, me.ENGINE = { NAME: m, VERSION: w }, me.OS = { NAME: m, VERSION: w }, typeof t !== p ? (typeof e !== p && e.exports && (t = e.exports = me), t.UAParser = me) : o(3) ? (s = (function() {
15542
15542
  return me;
15543
15543
  }).call(t, o, t, e), s !== l && (e.exports = s)) : a && (a.UAParser = me);
15544
15544
  var Se = a && (a.jQuery || a.Zepto);
@@ -15570,9 +15570,9 @@ function DS() {
15570
15570
  });
15571
15571
  var s = Object.assign || function(m) {
15572
15572
  for (var T = 1; T < arguments.length; T++) {
15573
- var E = arguments[T];
15574
- for (var w in E)
15575
- Object.prototype.hasOwnProperty.call(E, w) && (m[w] = E[w]);
15573
+ var v = arguments[T];
15574
+ for (var w in v)
15575
+ Object.prototype.hasOwnProperty.call(v, w) && (m[w] = v[w]);
15576
15576
  }
15577
15577
  return m;
15578
15578
  }, a = o(0), l = a.DEVICE_TYPES, d = a.defaultData, c = function(T) {
@@ -15592,58 +15592,58 @@ function DS() {
15592
15592
  default:
15593
15593
  return d;
15594
15594
  }
15595
- }, g = function(T, E, w, S, R) {
15595
+ }, g = function(T, v, w, S, R) {
15596
15596
  return {
15597
15597
  isBrowser: T,
15598
- browserMajorVersion: E.major,
15599
- browserFullVersion: E.version,
15600
- browserName: E.name,
15598
+ browserMajorVersion: v.major,
15599
+ browserFullVersion: v.version,
15600
+ browserName: v.name,
15601
15601
  engineName: w.name || !1,
15602
15602
  engineVersion: w.version,
15603
15603
  osName: S.name,
15604
15604
  osVersion: S.version,
15605
15605
  userAgent: R
15606
15606
  };
15607
- }, M = function(T, E, w, S) {
15607
+ }, M = function(T, v, w, S) {
15608
15608
  return s({}, T, {
15609
- vendor: E.vendor,
15610
- model: E.model,
15609
+ vendor: v.vendor,
15610
+ model: v.model,
15611
15611
  os: w.name,
15612
15612
  osVersion: w.version,
15613
15613
  ua: S
15614
15614
  });
15615
- }, p = function(T, E, w, S) {
15615
+ }, p = function(T, v, w, S) {
15616
15616
  return {
15617
15617
  isSmartTV: T,
15618
- engineName: E.name,
15619
- engineVersion: E.version,
15618
+ engineName: v.name,
15619
+ engineVersion: v.version,
15620
15620
  osName: w.name,
15621
15621
  osVersion: w.version,
15622
15622
  userAgent: S
15623
15623
  };
15624
- }, h = function(T, E, w, S) {
15624
+ }, h = function(T, v, w, S) {
15625
15625
  return {
15626
15626
  isConsole: T,
15627
- engineName: E.name,
15628
- engineVersion: E.version,
15627
+ engineName: v.name,
15628
+ engineVersion: v.version,
15629
15629
  osName: w.name,
15630
15630
  osVersion: w.version,
15631
15631
  userAgent: S
15632
15632
  };
15633
- }, y = function(T, E, w, S) {
15633
+ }, y = function(T, v, w, S) {
15634
15634
  return {
15635
15635
  isWearable: T,
15636
- engineName: E.name,
15637
- engineVersion: E.version,
15636
+ engineName: v.name,
15637
+ engineVersion: v.version,
15638
15638
  osName: w.name,
15639
15639
  osVersion: w.version,
15640
15640
  userAgent: S
15641
15641
  };
15642
- }, D = t.getNavigatorInstance = function() {
15642
+ }, N = t.getNavigatorInstance = function() {
15643
15643
  return typeof window != "undefined" && (window.navigator || navigator) ? window.navigator || navigator : !1;
15644
- }, N = t.isIOS13Check = function(T) {
15645
- var E = D();
15646
- return E && E.platform && (E.platform.indexOf(T) !== -1 || E.platform === "MacIntel" && E.maxTouchPoints > 1 && !window.MSStream);
15644
+ }, D = t.isIOS13Check = function(T) {
15645
+ var v = N();
15646
+ return v && v.platform && (v.platform.indexOf(T) !== -1 || v.platform === "MacIntel" && v.maxTouchPoints > 1 && !window.MSStream);
15647
15647
  };
15648
15648
  e.exports = {
15649
15649
  checkType: c,
@@ -15652,8 +15652,8 @@ function DS() {
15652
15652
  stvPayload: p,
15653
15653
  consolePayload: h,
15654
15654
  wearPayload: y,
15655
- getNavigatorInstance: D,
15656
- isIOS13Check: N
15655
+ getNavigatorInstance: N,
15656
+ isIOS13Check: D
15657
15657
  };
15658
15658
  })
15659
15659
  /******/
@@ -15785,7 +15785,7 @@ const xd = class xd extends Gs {
15785
15785
  return (!this._currentScreenElement || !this._isTheSameModuleAndScreen(e)) && (this._currentScreenElement = Jh(e.id, t), this._currentScreenModuleId = e.id, this._currentScreenConfig = this.currentScreenConfig), this._currentScreenElement;
15786
15786
  }
15787
15787
  get version() {
15788
- return `${"3.6.399-nightly".trim()}`;
15788
+ return `${"3.6.400-nightly".trim()}`;
15789
15789
  }
15790
15790
  disconnectedCallback() {
15791
15791
  var e;
@@ -15875,7 +15875,7 @@ class kS {
15875
15875
  }
15876
15876
  /** service commands */
15877
15877
  get version() {
15878
- return "3.6.399-nightly";
15878
+ return "3.6.400-nightly";
15879
15879
  }
15880
15880
  get currentSessionId() {
15881
15881
  return $t.getState().getCurrentSessionId();