@machinemetrics/mm-react-tools 4.12.1 → 4.12.2-0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"MMEmbeddedAppProvider.d.ts","sourceRoot":"","sources":["../src/MMEmbeddedAppProvider.tsx"],"names":[],"mappings":"AAmBA,QAAA,MAAM,qBAAqB,+CAuoB1B,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"MMEmbeddedAppProvider.d.ts","sourceRoot":"","sources":["../src/MMEmbeddedAppProvider.tsx"],"names":[],"mappings":"AAmBA,QAAA,MAAM,qBAAqB,+CAsoB1B,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
@@ -15322,7 +15322,7 @@ function SC() {
15322
15322
  ["partial", D],
15323
15323
  ["partialRight", N],
15324
15324
  ["rearg", F]
15325
- ], ge = "[object Arguments]", Le = "[object Array]", Ve = "[object AsyncFunction]", Se = "[object Boolean]", qe = "[object Date]", V = "[object DOMException]", J = "[object Error]", U = "[object Function]", X = "[object GeneratorFunction]", re = "[object Map]", G = "[object Number]", Pe = "[object Null]", De = "[object Object]", We = "[object Promise]", fe = "[object Proxy]", Ee = "[object RegExp]", ze = "[object Set]", at = "[object String]", nt = "[object Symbol]", pr = "[object Undefined]", pt = "[object WeakMap]", mr = "[object WeakSet]", cr = "[object ArrayBuffer]", Kt = "[object DataView]", Ft = "[object Float32Array]", nr = "[object Float64Array]", lr = "[object Int8Array]", $r = "[object Int16Array]", qt = "[object Int32Array]", Qt = "[object Uint8Array]", H = "[object Uint8ClampedArray]", Y = "[object Uint16Array]", et = "[object Uint32Array]", ot = /\b__p \+= '';/g, ut = /\b(__p \+=) '' \+/g, Je = /(__e\(.*?\)|\b__t\)) \+\n'';/g, Gt = /&(?:amp|lt|gt|quot|#39);/g, br = /[&<>"']/g, ir = RegExp(Gt.source), yr = RegExp(br.source), Cn = /<%-([\s\S]+?)%>/g, sr = /<%([\s\S]+?)%>/g, Rt = /<%=([\s\S]+?)%>/g, Xr = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Rr = /^\w*$/, Tr = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Cr = /[\\^$.*+?()[\]{}|]/g, en = RegExp(Cr.source), Zt = /^\s+/, kr = /\s/, kn = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, ci = /\{\n\/\* \[wrapped with (.+)\] \*/, An = /,? & /, wr = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Mr = /[()=,{}\[\]\/\s]/, Vt = /\\(\\)?/g, jt = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, ln = /\w*$/, In = /^[-+]0x[0-9a-f]+$/i, fn = /^0b[01]+$/i, mt = /^\[object .+?Constructor\]$/, Br = /^0o[0-7]+$/i, w = /^(?:0|[1-9]\d*)$/, A = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, T = /($^)/, P = /['\n\r\u2028\u2029\\]/g, j = "\\ud800-\\udfff", W = "\\u0300-\\u036f", oe = "\\ufe20-\\ufe2f", me = "\\u20d0-\\u20ff", K = W + oe + me, ae = "\\u2700-\\u27bf", Fe = "a-z\\xdf-\\xf6\\xf8-\\xff", ct = "\\xac\\xb1\\xd7\\xf7", Ut = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", hn = "\\u2000-\\u206f", $i = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", lm = "A-Z\\xc0-\\xd6\\xd8-\\xde", fm = "\\ufe0e\\ufe0f", hm = ct + Ut + hn + $i, yl = "['’]", E_ = "[" + j + "]", dm = "[" + hm + "]", iu = "[" + K + "]", pm = "\\d+", O_ = "[" + ae + "]", mm = "[" + Fe + "]", ym = "[^" + j + hm + pm + ae + Fe + lm + "]", gl = "\\ud83c[\\udffb-\\udfff]", T_ = "(?:" + iu + "|" + gl + ")", gm = "[^" + j + "]", vl = "(?:\\ud83c[\\udde6-\\uddff]){2}", bl = "[\\ud800-\\udbff][\\udc00-\\udfff]", Qs = "[" + lm + "]", vm = "\\u200d", bm = "(?:" + mm + "|" + ym + ")", C_ = "(?:" + Qs + "|" + ym + ")", wm = "(?:" + yl + "(?:d|ll|m|re|s|t|ve))?", _m = "(?:" + yl + "(?:D|LL|M|RE|S|T|VE))?", xm = T_ + "?", Sm = "[" + fm + "]?", k_ = "(?:" + vm + "(?:" + [gm, vl, bl].join("|") + ")" + Sm + xm + ")*", A_ = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", I_ = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Em = Sm + xm + k_, P_ = "(?:" + [O_, vl, bl].join("|") + ")" + Em, N_ = "(?:" + [gm + iu + "?", iu, vl, bl, E_].join("|") + ")", R_ = RegExp(yl, "g"), M_ = RegExp(iu, "g"), wl = RegExp(gl + "(?=" + gl + ")|" + N_ + Em, "g"), D_ = RegExp([
15325
+ ], ge = "[object Arguments]", De = "[object Array]", Ve = "[object AsyncFunction]", Se = "[object Boolean]", qe = "[object Date]", V = "[object DOMException]", J = "[object Error]", U = "[object Function]", X = "[object GeneratorFunction]", re = "[object Map]", G = "[object Number]", Pe = "[object Null]", Fe = "[object Object]", We = "[object Promise]", fe = "[object Proxy]", Ee = "[object RegExp]", ze = "[object Set]", at = "[object String]", nt = "[object Symbol]", pr = "[object Undefined]", pt = "[object WeakMap]", mr = "[object WeakSet]", cr = "[object ArrayBuffer]", Kt = "[object DataView]", Ft = "[object Float32Array]", nr = "[object Float64Array]", lr = "[object Int8Array]", $r = "[object Int16Array]", qt = "[object Int32Array]", Qt = "[object Uint8Array]", H = "[object Uint8ClampedArray]", Y = "[object Uint16Array]", et = "[object Uint32Array]", ot = /\b__p \+= '';/g, ut = /\b(__p \+=) '' \+/g, Je = /(__e\(.*?\)|\b__t\)) \+\n'';/g, Gt = /&(?:amp|lt|gt|quot|#39);/g, br = /[&<>"']/g, ir = RegExp(Gt.source), yr = RegExp(br.source), Cn = /<%-([\s\S]+?)%>/g, sr = /<%([\s\S]+?)%>/g, Rt = /<%=([\s\S]+?)%>/g, Xr = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Rr = /^\w*$/, Tr = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Cr = /[\\^$.*+?()[\]{}|]/g, en = RegExp(Cr.source), Zt = /^\s+/, kr = /\s/, kn = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, ci = /\{\n\/\* \[wrapped with (.+)\] \*/, An = /,? & /, wr = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Mr = /[()=,{}\[\]\/\s]/, Vt = /\\(\\)?/g, jt = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, ln = /\w*$/, In = /^[-+]0x[0-9a-f]+$/i, fn = /^0b[01]+$/i, mt = /^\[object .+?Constructor\]$/, Br = /^0o[0-7]+$/i, w = /^(?:0|[1-9]\d*)$/, A = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, T = /($^)/, P = /['\n\r\u2028\u2029\\]/g, j = "\\ud800-\\udfff", W = "\\u0300-\\u036f", oe = "\\ufe20-\\ufe2f", me = "\\u20d0-\\u20ff", K = W + oe + me, ae = "\\u2700-\\u27bf", Le = "a-z\\xdf-\\xf6\\xf8-\\xff", ct = "\\xac\\xb1\\xd7\\xf7", Ut = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", hn = "\\u2000-\\u206f", $i = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", lm = "A-Z\\xc0-\\xd6\\xd8-\\xde", fm = "\\ufe0e\\ufe0f", hm = ct + Ut + hn + $i, yl = "['’]", E_ = "[" + j + "]", dm = "[" + hm + "]", iu = "[" + K + "]", pm = "\\d+", O_ = "[" + ae + "]", mm = "[" + Le + "]", ym = "[^" + j + hm + pm + ae + Le + lm + "]", gl = "\\ud83c[\\udffb-\\udfff]", T_ = "(?:" + iu + "|" + gl + ")", gm = "[^" + j + "]", vl = "(?:\\ud83c[\\udde6-\\uddff]){2}", bl = "[\\ud800-\\udbff][\\udc00-\\udfff]", Qs = "[" + lm + "]", vm = "\\u200d", bm = "(?:" + mm + "|" + ym + ")", C_ = "(?:" + Qs + "|" + ym + ")", wm = "(?:" + yl + "(?:d|ll|m|re|s|t|ve))?", _m = "(?:" + yl + "(?:D|LL|M|RE|S|T|VE))?", xm = T_ + "?", Sm = "[" + fm + "]?", k_ = "(?:" + vm + "(?:" + [gm, vl, bl].join("|") + ")" + Sm + xm + ")*", A_ = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", I_ = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Em = Sm + xm + k_, P_ = "(?:" + [O_, vl, bl].join("|") + ")" + Em, N_ = "(?:" + [gm + iu + "?", iu, vl, bl, E_].join("|") + ")", R_ = RegExp(yl, "g"), M_ = RegExp(iu, "g"), wl = RegExp(gl + "(?=" + gl + ")|" + N_ + Em, "g"), D_ = RegExp([
15326
15326
  Qs + "?" + mm + "+" + wm + "(?=" + [dm, Qs, "$"].join("|") + ")",
15327
15327
  C_ + "+" + _m + "(?=" + [dm, Qs + bm, "$"].join("|") + ")",
15328
15328
  Qs + "?" + bm + "+" + wm,
@@ -15363,9 +15363,9 @@ function SC() {
15363
15363
  "parseInt",
15364
15364
  "setTimeout"
15365
15365
  ], j_ = -1, $t = {};
15366
- $t[Ft] = $t[nr] = $t[lr] = $t[$r] = $t[qt] = $t[Qt] = $t[H] = $t[Y] = $t[et] = !0, $t[ge] = $t[Le] = $t[cr] = $t[Se] = $t[Kt] = $t[qe] = $t[J] = $t[U] = $t[re] = $t[G] = $t[De] = $t[Ee] = $t[ze] = $t[at] = $t[pt] = !1;
15366
+ $t[Ft] = $t[nr] = $t[lr] = $t[$r] = $t[qt] = $t[Qt] = $t[H] = $t[Y] = $t[et] = !0, $t[ge] = $t[De] = $t[cr] = $t[Se] = $t[Kt] = $t[qe] = $t[J] = $t[U] = $t[re] = $t[G] = $t[Fe] = $t[Ee] = $t[ze] = $t[at] = $t[pt] = !1;
15367
15367
  var Lt = {};
15368
- Lt[ge] = Lt[Le] = Lt[cr] = Lt[Kt] = Lt[Se] = Lt[qe] = Lt[Ft] = Lt[nr] = Lt[lr] = Lt[$r] = Lt[qt] = Lt[re] = Lt[G] = Lt[De] = Lt[Ee] = Lt[ze] = Lt[at] = Lt[nt] = Lt[Qt] = Lt[H] = Lt[Y] = Lt[et] = !0, Lt[J] = Lt[U] = Lt[pt] = !1;
15368
+ Lt[ge] = Lt[De] = Lt[cr] = Lt[Kt] = Lt[Se] = Lt[qe] = Lt[Ft] = Lt[nr] = Lt[lr] = Lt[$r] = Lt[qt] = Lt[re] = Lt[G] = Lt[Fe] = Lt[Ee] = Lt[ze] = Lt[at] = Lt[nt] = Lt[Qt] = Lt[H] = Lt[Y] = Lt[et] = !0, Lt[J] = Lt[U] = Lt[pt] = !1;
15369
15369
  var U_ = {
15370
15370
  // Latin-1 Supplement block.
15371
15371
  À: "A",
@@ -16181,7 +16181,7 @@ function SC() {
16181
16181
  var pe = Fr(s), ke = pe == U || pe == X;
16182
16182
  if (Yi(s))
16183
16183
  return S0(s, q);
16184
- if (pe == De || pe == ge || ke && !b) {
16184
+ if (pe == Fe || pe == ge || ke && !b) {
16185
16185
  if (R = z || ke ? {} : B0(s), !q)
16186
16186
  return z ? BS(s, fS(R, s)) : $S(s, Xm(R, s));
16187
16187
  } else {
@@ -16361,9 +16361,9 @@ function SC() {
16361
16361
  return s === o ? !0 : s == null || o == null || !Xt(s) && !Xt(o) ? s !== s && o !== o : _S(s, o, l, d, Xa, b);
16362
16362
  }
16363
16363
  function _S(s, o, l, d, b, O) {
16364
- var R = Xe(s), q = Xe(o), z = R ? Le : Fr(s), ue = q ? Le : Fr(o);
16365
- z = z == ge ? De : z, ue = ue == ge ? De : ue;
16366
- var ce = z == De, pe = ue == De, ke = z == ue;
16364
+ var R = Xe(s), q = Xe(o), z = R ? De : Fr(s), ue = q ? De : Fr(o);
16365
+ z = z == ge ? Fe : z, ue = ue == ge ? Fe : ue;
16366
+ var ce = z == Fe, pe = ue == Fe, ke = z == ue;
16367
16367
  if (ke && Yi(s)) {
16368
16368
  if (!Yi(o))
16369
16369
  return !1;
@@ -17291,7 +17291,7 @@ function SC() {
17291
17291
  return o;
17292
17292
  } : Tf, Fr = Vr;
17293
17293
  (Ml && Fr(new Ml(new ArrayBuffer(1))) != Kt || Ha && Fr(new Ha()) != re || Dl && Fr(Dl.resolve()) != We || Xs && Fr(new Xs()) != ze || Qa && Fr(new Qa()) != pt) && (Fr = function(s) {
17294
- var o = Vr(s), l = o == De ? s.constructor : t, d = l ? ks(l) : "";
17294
+ var o = Vr(s), l = o == Fe ? s.constructor : t, d = l ? ks(l) : "";
17295
17295
  if (d)
17296
17296
  switch (d) {
17297
17297
  case Nx:
@@ -18285,7 +18285,7 @@ function SC() {
18285
18285
  return typeof s == "number" || Xt(s) && Vr(s) == G;
18286
18286
  }
18287
18287
  function io(s) {
18288
- if (!Xt(s) || Vr(s) != De)
18288
+ if (!Xt(s) || Vr(s) != Fe)
18289
18289
  return !1;
18290
18290
  var o = pu(s);
18291
18291
  if (o === null)
@@ -20104,7 +20104,7 @@ function nk(r) {
20104
20104
  );
20105
20105
  clearTimeout(Be), xe = !0, M.emit("connected", _e, ge.payload, k), k = !1, F = 0, Z([
20106
20106
  _e,
20107
- new Promise((Le, Ve) => $(Ve))
20107
+ new Promise((De, Ve) => $(Ve))
20108
20108
  ]);
20109
20109
  } catch (ge) {
20110
20110
  _e.onmessage = null, M.emit("error", ge), _e.close(
@@ -20465,7 +20465,7 @@ function ul() {
20465
20465
  }
20466
20466
  var Cn = typeof Je.depth > "u" ? 5 : Je.depth;
20467
20467
  if (typeof ot > "u" && (ot = 0), ot >= Cn && Cn > 0 && typeof Y == "object")
20468
- return Le(Y) ? "[Array]" : "[Object]";
20468
+ return De(Y) ? "[Array]" : "[Object]";
20469
20469
  var sr = $r(Je, ot);
20470
20470
  if (typeof ut > "u")
20471
20471
  ut = [];
@@ -20493,7 +20493,7 @@ function ul() {
20493
20493
  Cr += " " + en[Zt].name + "=" + xe(Oe(en[Zt].value), "double", Je);
20494
20494
  return Cr += ">", Y.childNodes && Y.childNodes.length && (Cr += "..."), Cr += "</" + C.call(String(Y.nodeName)) + ">", Cr;
20495
20495
  }
20496
- if (Le(Y)) {
20496
+ if (De(Y)) {
20497
20497
  if (Y.length === 0)
20498
20498
  return "[]";
20499
20499
  var kr = Qt(Y, Rt);
@@ -20540,7 +20540,7 @@ function ul() {
20540
20540
  if (typeof globalThis < "u" && Y === globalThis || typeof Fs < "u" && Y === Fs)
20541
20541
  return "{ [object globalThis] }";
20542
20542
  if (!Ve(Y) && !Se(Y)) {
20543
- var wr = Qt(Y, Rt), Mr = we ? we(Y) === Object.prototype : Y instanceof Object || Y.constructor === Object, Vt = Y instanceof Object ? "" : "null prototype", jt = !Mr && ye && Object(Y) === Y && ye in Y ? I.call(De(Y), 8, -1) : Vt ? "Object" : "", ln = Mr || typeof Y.constructor != "function" ? "" : Y.constructor.name ? Y.constructor.name + " " : "", In = ln + (jt || Vt ? "[" + k.call(N.call([], jt || [], Vt || []), ": ") + "] " : "");
20543
+ var wr = Qt(Y, Rt), Mr = we ? we(Y) === Object.prototype : Y instanceof Object || Y.constructor === Object, Vt = Y instanceof Object ? "" : "null prototype", jt = !Mr && ye && Object(Y) === Y && ye in Y ? I.call(Fe(Y), 8, -1) : Vt ? "Object" : "", ln = Mr || typeof Y.constructor != "function" ? "" : Y.constructor.name ? Y.constructor.name + " " : "", In = ln + (jt || Vt ? "[" + k.call(N.call([], jt || [], Vt || []), ": ") + "] " : "");
20544
20544
  return wr.length === 0 ? In + "{}" : sr ? In + "{" + qt(wr, sr) + "}" : In + "{ " + k.call(wr, ", ") + " }";
20545
20545
  }
20546
20546
  return String(Y);
@@ -20555,26 +20555,26 @@ function ul() {
20555
20555
  function ge(H) {
20556
20556
  return !ye || !(typeof H == "object" && (ye in H || typeof H[ye] < "u"));
20557
20557
  }
20558
- function Le(H) {
20559
- return De(H) === "[object Array]" && ge(H);
20558
+ function De(H) {
20559
+ return Fe(H) === "[object Array]" && ge(H);
20560
20560
  }
20561
20561
  function Ve(H) {
20562
- return De(H) === "[object Date]" && ge(H);
20562
+ return Fe(H) === "[object Date]" && ge(H);
20563
20563
  }
20564
20564
  function Se(H) {
20565
- return De(H) === "[object RegExp]" && ge(H);
20565
+ return Fe(H) === "[object RegExp]" && ge(H);
20566
20566
  }
20567
20567
  function qe(H) {
20568
- return De(H) === "[object Error]" && ge(H);
20568
+ return Fe(H) === "[object Error]" && ge(H);
20569
20569
  }
20570
20570
  function V(H) {
20571
- return De(H) === "[object String]" && ge(H);
20571
+ return Fe(H) === "[object String]" && ge(H);
20572
20572
  }
20573
20573
  function J(H) {
20574
- return De(H) === "[object Number]" && ge(H);
20574
+ return Fe(H) === "[object Number]" && ge(H);
20575
20575
  }
20576
20576
  function U(H) {
20577
- return De(H) === "[object Boolean]" && ge(H);
20577
+ return Fe(H) === "[object Boolean]" && ge(H);
20578
20578
  }
20579
20579
  function X(H) {
20580
20580
  if (ie)
@@ -20604,7 +20604,7 @@ function ul() {
20604
20604
  function Pe(H, Y) {
20605
20605
  return G.call(H, Y);
20606
20606
  }
20607
- function De(H) {
20607
+ function Fe(H) {
20608
20608
  return S.call(H);
20609
20609
  }
20610
20610
  function We(H) {
@@ -20752,7 +20752,7 @@ function ul() {
20752
20752
  ` + Y.prev;
20753
20753
  }
20754
20754
  function Qt(H, Y) {
20755
- var et = Le(H), ot = [];
20755
+ var et = De(H), ot = [];
20756
20756
  if (et) {
20757
20757
  ot.length = H.length;
20758
20758
  for (var ut = 0; ut < H.length; ut++)
@@ -21288,7 +21288,7 @@ function tm() {
21288
21288
  "%URIErrorPrototype%": ["URIError", "prototype"],
21289
21289
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
21290
21290
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
21291
- }, Z = cl(), ve = /* @__PURE__ */ Dk(), _e = Z.call(ne, Array.prototype.concat), Be = Z.call(Q, Array.prototype.splice), $e = Z.call(ne, String.prototype.replace), Tt = Z.call(ne, String.prototype.slice), xe = Z.call(ne, RegExp.prototype.exec), Oe = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, ge = /\\(\\)?/g, Le = function(qe) {
21291
+ }, Z = cl(), ve = /* @__PURE__ */ Dk(), _e = Z.call(ne, Array.prototype.concat), Be = Z.call(Q, Array.prototype.splice), $e = Z.call(ne, String.prototype.replace), Tt = Z.call(ne, String.prototype.slice), xe = Z.call(ne, RegExp.prototype.exec), Oe = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, ge = /\\(\\)?/g, De = function(qe) {
21292
21292
  var V = Tt(qe, 0, 1), J = Tt(qe, -1);
21293
21293
  if (V === "%" && J !== "%")
21294
21294
  throw new u("invalid intrinsic syntax, expected closing `%`");
@@ -21319,8 +21319,8 @@ function tm() {
21319
21319
  throw new c('"allowMissing" argument must be a boolean');
21320
21320
  if (xe(/^%?[^%]*%?$/, qe) === null)
21321
21321
  throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
21322
- var J = Le(qe), U = J.length > 0 ? J[0] : "", X = Ve("%" + U + "%", V), re = X.name, G = X.value, Pe = !1, De = X.alias;
21323
- De && (U = De[0], Be(J, _e([0, 1], De)));
21322
+ var J = De(qe), U = J.length > 0 ? J[0] : "", X = Ve("%" + U + "%", V), re = X.name, G = X.value, Pe = !1, Fe = X.alias;
21323
+ Fe && (U = Fe[0], Be(J, _e([0, 1], Fe)));
21324
21324
  for (var We = 1, fe = !0; We < J.length; We += 1) {
21325
21325
  var Ee = J[We], ze = Tt(Ee, 0, 1), at = Tt(Ee, -1);
21326
21326
  if ((ze === '"' || ze === "'" || ze === "`" || at === '"' || at === "'" || at === "`") && ze !== at)
@@ -21720,7 +21720,7 @@ function Lk() {
21720
21720
  var ge = Object.keys(Z);
21721
21721
  Oe = Q ? ge.sort(Q) : ge;
21722
21722
  }
21723
- var Le = N ? String(x).replace(/\./g, "%2E") : String(x), Ve = M && a(Z) && Z.length === 1 ? Le + "[]" : Le;
21723
+ var De = N ? String(x).replace(/\./g, "%2E") : String(x), Ve = M && a(Z) && Z.length === 1 ? De + "[]" : De;
21724
21724
  if ($ && a(Z) && Z.length === 0)
21725
21725
  return Ve + "[]";
21726
21726
  for (var Se = 0; Se < Oe.length; ++Se) {
@@ -22057,7 +22057,7 @@ function $k() {
22057
22057
  });
22058
22058
  }
22059
22059
  return new (U || (U = Promise))(function(G, Pe) {
22060
- function De(Ee) {
22060
+ function Fe(Ee) {
22061
22061
  try {
22062
22062
  fe(X.next(Ee));
22063
22063
  } catch (ze) {
@@ -22072,7 +22072,7 @@ function $k() {
22072
22072
  }
22073
22073
  }
22074
22074
  function fe(Ee) {
22075
- Ee.done ? G(Ee.value) : re(Ee.value).then(De, We);
22075
+ Ee.done ? G(Ee.value) : re(Ee.value).then(Fe, We);
22076
22076
  }
22077
22077
  fe((X = X.apply(V, J || [])).next());
22078
22078
  });
@@ -22081,10 +22081,10 @@ function $k() {
22081
22081
  if (G[0] & 1) throw G[1];
22082
22082
  return G[1];
22083
22083
  }, trys: [], ops: [] }, X, re, G, Pe;
22084
- return Pe = { next: De(0), throw: De(1), return: De(2) }, typeof Symbol == "function" && (Pe[Symbol.iterator] = function() {
22084
+ return Pe = { next: Fe(0), throw: Fe(1), return: Fe(2) }, typeof Symbol == "function" && (Pe[Symbol.iterator] = function() {
22085
22085
  return this;
22086
22086
  }), Pe;
22087
- function De(fe) {
22087
+ function Fe(fe) {
22088
22088
  return function(Ee) {
22089
22089
  return We([fe, Ee]);
22090
22090
  };
@@ -22154,7 +22154,7 @@ function $k() {
22154
22154
  }
22155
22155
  function m(V, J, U, X, re, G) {
22156
22156
  G === void 0 && (G = {});
22157
- var Pe = i.getMainDefinition(J), De = i.getFragmentDefinitions(J), We = i.createFragmentMap(De), fe = G.resultMapper, Ee = G.fragmentMatcher || (function() {
22157
+ var Pe = i.getMainDefinition(J), Fe = i.getFragmentDefinitions(J), We = i.createFragmentMap(Fe), fe = G.resultMapper, Ee = G.fragmentMatcher || (function() {
22158
22158
  return !0;
22159
22159
  }), ze = {
22160
22160
  fragmentMap: We,
@@ -22168,11 +22168,11 @@ function $k() {
22168
22168
  }
22169
22169
  function y(V, J, U) {
22170
22170
  return u(this, void 0, void 0, function() {
22171
- var X, re, G, Pe, De, We = this;
22171
+ var X, re, G, Pe, Fe, We = this;
22172
22172
  return c(this, function(fe) {
22173
22173
  switch (fe.label) {
22174
22174
  case 0:
22175
- return X = U.fragmentMap, re = U.contextValue, G = U.variableValues, Pe = {}, De = function(Ee) {
22175
+ return X = U.fragmentMap, re = U.contextValue, G = U.variableValues, Pe = {}, Fe = function(Ee) {
22176
22176
  return u(We, void 0, void 0, function() {
22177
22177
  var ze, at, nt, pr, pt;
22178
22178
  return c(this, function(mr) {
@@ -22203,7 +22203,7 @@ function $k() {
22203
22203
  }
22204
22204
  });
22205
22205
  });
22206
- }, [4, Promise.all(V.selections.map(De))];
22206
+ }, [4, Promise.all(V.selections.map(Fe))];
22207
22207
  case 1:
22208
22208
  return fe.sent(), U.resultMapper ? [2, U.resultMapper(Pe, J)] : [2, Pe];
22209
22209
  }
@@ -22212,16 +22212,16 @@ function $k() {
22212
22212
  }
22213
22213
  function g(V, J, U) {
22214
22214
  return u(this, void 0, void 0, function() {
22215
- var X, re, G, Pe, De, We, fe;
22215
+ var X, re, G, Pe, Fe, We, fe;
22216
22216
  return c(this, function(Ee) {
22217
22217
  switch (Ee.label) {
22218
22218
  case 0:
22219
- return X = U.variableValues, re = U.contextValue, G = U.resolver, Pe = V.name.value, De = i.argumentsObjectFromField(V, X), We = {
22219
+ return X = U.variableValues, re = U.contextValue, G = U.resolver, Pe = V.name.value, Fe = i.argumentsObjectFromField(V, X), We = {
22220
22220
  isLeaf: !V.selectionSet,
22221
22221
  resultKey: i.resultKeyNameFromField(V),
22222
22222
  directives: f(V, X),
22223
22223
  field: V
22224
- }, [4, G(Pe, J, De, re, We)];
22224
+ }, [4, G(Pe, J, Fe, re, We)];
22225
22225
  case 1:
22226
22226
  return fe = Ee.sent(), V.selectionSet ? fe == null ? [2, fe] : Array.isArray(fe) ? [2, v(V, fe, U)] : [2, y(V.selectionSet, fe, U)] : [2, fe];
22227
22227
  }
@@ -22263,7 +22263,7 @@ function $k() {
22263
22263
  });
22264
22264
  }
22265
22265
  return new (U || (U = Promise))(function(G, Pe) {
22266
- function De(Ee) {
22266
+ function Fe(Ee) {
22267
22267
  try {
22268
22268
  fe(X.next(Ee));
22269
22269
  } catch (ze) {
@@ -22278,7 +22278,7 @@ function $k() {
22278
22278
  }
22279
22279
  }
22280
22280
  function fe(Ee) {
22281
- Ee.done ? G(Ee.value) : re(Ee.value).then(De, We);
22281
+ Ee.done ? G(Ee.value) : re(Ee.value).then(Fe, We);
22282
22282
  }
22283
22283
  fe((X = X.apply(V, J || [])).next());
22284
22284
  });
@@ -22287,10 +22287,10 @@ function $k() {
22287
22287
  if (G[0] & 1) throw G[1];
22288
22288
  return G[1];
22289
22289
  }, trys: [], ops: [] }, X, re, G, Pe;
22290
- return Pe = { next: De(0), throw: De(1), return: De(2) }, typeof Symbol == "function" && (Pe[Symbol.iterator] = function() {
22290
+ return Pe = { next: Fe(0), throw: Fe(1), return: Fe(2) }, typeof Symbol == "function" && (Pe[Symbol.iterator] = function() {
22291
22291
  return this;
22292
22292
  }), Pe;
22293
- function De(fe) {
22293
+ function Fe(fe) {
22294
22294
  return function(Ee) {
22295
22295
  return We([fe, Ee]);
22296
22296
  };
@@ -22344,7 +22344,7 @@ function $k() {
22344
22344
  }, M = function() {
22345
22345
  for (var V = 0, J = 0, U = arguments.length; J < U; J++) V += arguments[J].length;
22346
22346
  for (var X = Array(V), re = 0, J = 0; J < U; J++)
22347
- for (var G = arguments[J], Pe = 0, De = G.length; Pe < De; Pe++, re++)
22347
+ for (var G = arguments[J], Pe = 0, Fe = G.length; Pe < Fe; Pe++, re++)
22348
22348
  X[re] = G[Pe];
22349
22349
  return X;
22350
22350
  }, $ = function(V) {
@@ -22373,8 +22373,8 @@ function $k() {
22373
22373
  var Pe = X[G.name.value];
22374
22374
  N(V, J, U, X, Pe.selectionSet);
22375
22375
  } else if (i.isField(G)) {
22376
- var De = i.resultKeyNameFromField(G);
22377
- De === V && D(G) != null ? k(J, U, X, G.selectionSet) : N(V, J, U, X, G.selectionSet);
22376
+ var Fe = i.resultKeyNameFromField(G);
22377
+ Fe === V && D(G) != null ? k(J, U, X, G.selectionSet) : N(V, J, U, X, G.selectionSet);
22378
22378
  } else
22379
22379
  return (function(We) {
22380
22380
  throw new Error("Unhandled Node Type in SelectionSetNode.selections");
@@ -22399,7 +22399,7 @@ function $k() {
22399
22399
  var Pe = V[re.name.value];
22400
22400
  re.name.value === "__typename" || (typeof Pe > "u" ? V[re.name.value] = null : Pe != null && typeof Pe == "object" && re.selectionSet != null && k(Pe, J, U, re.selectionSet));
22401
22401
  } else
22402
- return (function(De) {
22402
+ return (function(Fe) {
22403
22403
  throw new Error("Unhandled Node Type in SelectionSetNode.selections");
22404
22404
  })();
22405
22405
  });
@@ -22419,10 +22419,10 @@ function $k() {
22419
22419
  if (J in V.cache)
22420
22420
  return V.cache[J];
22421
22421
  var U = J.indexOf("?"), X = J.split(V.argReplacement), re = [], G = !1;
22422
- X.reduce(function(De, We) {
22422
+ X.reduce(function(Fe, We) {
22423
22423
  if (We === "" || We === "{}")
22424
- return De + We.length;
22425
- var fe = De + We.length;
22424
+ return Fe + We.length;
22425
+ var fe = Fe + We.length;
22426
22426
  if (We[0] === "{" && We[We.length - 1] === "}") {
22427
22427
  var Ee = We.slice(1, We.length - 1).split(".");
22428
22428
  re.push(function(ze, at) {
@@ -22438,9 +22438,9 @@ function $k() {
22438
22438
  re.push(We), !G && fe >= U && (G = !0, re.push(!0));
22439
22439
  return fe;
22440
22440
  }, 0);
22441
- var Pe = function(De) {
22441
+ var Pe = function(Fe) {
22442
22442
  var We = !1, fe = re.reduce(function(Ee, ze) {
22443
- return typeof ze == "string" ? Ee + ze : typeof ze == "boolean" ? (We = !0, Ee) : Ee + ze(De, We);
22443
+ return typeof ze == "string" ? Ee + ze : typeof ze == "boolean" ? (We = !0, Ee) : Ee + ze(Fe, We);
22444
22444
  }, "");
22445
22445
  return fe;
22446
22446
  };
@@ -22465,8 +22465,8 @@ function $k() {
22465
22465
  var Pe = V[G];
22466
22466
  if (he.indexOf(G) !== -1)
22467
22467
  return re[G] = Pe, re;
22468
- var De = M(U, [G]);
22469
- return re[X(G, De)] = ye(Pe, X, De), re;
22468
+ var Fe = M(U, [G]);
22469
+ return re[X(G, Fe)] = ye(Pe, X, Fe), re;
22470
22470
  }, {});
22471
22471
  }, de = function(V) {
22472
22472
  return V;
@@ -22514,13 +22514,13 @@ function $k() {
22514
22514
  }) : (V.__typename = J, V);
22515
22515
  }, Oe = function(V, J, U, X, re) {
22516
22516
  return x(void 0, void 0, void 0, function() {
22517
- var G, Pe, De, We, fe, Ee, ze, at, nt, pr, pt, mr, cr, Kt, Ft, nr, lr, $r, qt, Qt, H, Y, et, ot, ut, Je, Gt, br, ir, yr, Cn, sr, Rt, Xr, Rr, Tr, Cr, en, Zt, kr, kn, ci, An, wr, Mr, Vt, jt, ln, In, fn;
22517
+ var G, Pe, Fe, We, fe, Ee, ze, at, nt, pr, pt, mr, cr, Kt, Ft, nr, lr, $r, qt, Qt, H, Y, et, ot, ut, Je, Gt, br, ir, yr, Cn, sr, Rt, Xr, Rr, Tr, Cr, en, Zt, kr, kn, ci, An, wr, Mr, Vt, jt, ln, In, fn;
22518
22518
  return I(this, function(mt) {
22519
22519
  switch (mt.label) {
22520
22520
  case 0:
22521
- if (G = re.directives, Pe = re.isLeaf, De = re.resultKey, We = X.exportVariablesByNode, fe = We.get(J) || {}, Ee = function(Br) {
22521
+ if (G = re.directives, Pe = re.isLeaf, Fe = re.resultKey, We = X.exportVariablesByNode, fe = We.get(J) || {}, Ee = function(Br) {
22522
22522
  return Br instanceof Array ? Br.forEach(Ee) : We.set(Br, E({}, fe)), Br;
22523
- }, ze = (J || {})[De], at = (J || {})[V], J && G && G.export && (fe[G.export.as] = at), nt = G && G.type, !Pe && nt) {
22523
+ }, ze = (J || {})[Fe], at = (J || {})[V], J && G && G.export && (fe[G.export.as] = at), nt = G && G.type, !Pe && nt) {
22524
22524
  if (G.rest)
22525
22525
  throw new Error("Invalid use of @type(name: ...) directive on a call that also has @rest(...)");
22526
22526
  return Ee(at), [2, xe(at, G.type.name)];
@@ -22555,7 +22555,7 @@ function $k() {
22555
22555
  throw new Error('"bodySerializer" must correspond to configured serializer. ' + ("Please make sure to specify a serializer called " + Zt + ' in the "bodySerializers" property of the RestLink.'));
22556
22556
  An = H[Zt](kr, cr);
22557
22557
  } else
22558
- An = Zt ? Zt(kr, cr) : H[Le](kr, cr);
22558
+ An = Zt ? Zt(kr, cr) : H[De](kr, cr);
22559
22559
  kr = An.body, kn = new Headers(An.headers);
22560
22560
  }
22561
22561
  return $e(Rt, Ft || "query"), wr = E({ method: Rt, headers: kn || cr, body: kr }, pt ? { credentials: pt } : {}), Mr = "" + br.uri + Cn, [4, (Kt || fetch)(Mr, wr)];
@@ -22591,13 +22591,13 @@ function $k() {
22591
22591
  case 15:
22592
22592
  jt = mt.sent(), mt.label = 16;
22593
22593
  case 16:
22594
- return jt = ye(jt, en || qt || de), jt = N(De, jt, lr, et, lr.selectionSet), jt = C(jt, Xr, nr, {
22594
+ return jt = ye(jt, en || qt || de), jt = N(Fe, jt, lr, et, lr.selectionSet), jt = C(jt, Xr, nr, {
22595
22595
  resolverParams: { fieldName: V, root: J, args: U, context: X, info: re }
22596
22596
  }), [2, Ee(jt)];
22597
22597
  }
22598
22598
  });
22599
22599
  });
22600
- }, ge = "", Le = "", Ve = function(V, J) {
22600
+ }, ge = "", De = "", Ve = function(V, J) {
22601
22601
  return J.has("content-type") || J.append("Content-Type", "application/json"), {
22602
22602
  body: JSON.stringify(V),
22603
22603
  headers: J
@@ -22612,7 +22612,7 @@ function $k() {
22612
22612
  (function(V) {
22613
22613
  S(J, V);
22614
22614
  function J(U) {
22615
- var X, re = U.uri, G = U.endpoints, Pe = U.headers, De = U.fieldNameNormalizer, We = U.fieldNameDenormalizer, fe = U.typePatcher, Ee = U.customFetch, ze = U.credentials, at = U.bodySerializers, nt = U.defaultSerializer, pr = U.responseTransformer, pt = V.call(this) || this, mr = {};
22615
+ var X, re = U.uri, G = U.endpoints, Pe = U.headers, Fe = U.fieldNameNormalizer, We = U.fieldNameDenormalizer, fe = U.typePatcher, Ee = U.customFetch, ze = U.credentials, at = U.bodySerializers, nt = U.defaultSerializer, pr = U.responseTransformer, pt = V.call(this) || this, mr = {};
22616
22616
  if (mr[ge] = re || "", pt.endpoints = Object.assign({}, G || mr), re == null && G == null)
22617
22617
  throw new Error("A RestLink must be initialized with either 1 uri, or a map of keyed-endpoints");
22618
22618
  if (re != null) {
@@ -22648,7 +22648,7 @@ function $k() {
22648
22648
  };
22649
22649
  } else
22650
22650
  throw new Error("RestLink was configured with a typePatcher of invalid type!");
22651
- return at && at.hasOwnProperty(Le) && console.warn("RestLink was configured to override the default serializer! This may result in unexpected behavior"), pt.responseTransformer = pr || null, pt.fieldNameNormalizer = De || null, pt.fieldNameDenormalizer = We || null, pt.headers = we(Pe), pt.credentials = ze || null, pt.customFetch = Ee, pt.serializers = E((X = {}, X[Le] = nt || Ve, X), at || {}), pt.processedDocuments = /* @__PURE__ */ new Map(), pt;
22651
+ return at && at.hasOwnProperty(De) && console.warn("RestLink was configured to override the default serializer! This may result in unexpected behavior"), pt.responseTransformer = pr || null, pt.fieldNameNormalizer = Fe || null, pt.fieldNameDenormalizer = We || null, pt.headers = we(Pe), pt.credentials = ze || null, pt.customFetch = Ee, pt.serializers = E((X = {}, X[De] = nt || Ve, X), at || {}), pt.processedDocuments = /* @__PURE__ */ new Map(), pt;
22652
22652
  }
22653
22653
  return J.prototype.removeRestSetsFromDocument = function(U) {
22654
22654
  var X = this.processedDocuments.get(U);
@@ -22658,7 +22658,7 @@ function $k() {
22658
22658
  var re = i.removeDirectivesFromDocument([Se], U);
22659
22659
  return this.processedDocuments.set(U, re), re;
22660
22660
  }, J.prototype.request = function(U, X) {
22661
- var re = U.query, G = U.variables, Pe = U.getContext, De = U.setContext, We = Pe(), fe = i.hasDirectives(["rest"], re);
22661
+ var re = U.query, G = U.variables, Pe = U.getContext, Fe = U.setContext, We = Pe(), fe = i.hasDirectives(["rest"], re);
22662
22662
  if (!fe)
22663
22663
  return X(U);
22664
22664
  var Ee = this.removeRestSetsFromDocument(re), ze = We.headersMergePolicy;
@@ -22686,7 +22686,7 @@ function $k() {
22686
22686
  var $r = lr.data, qt = lr.errors;
22687
22687
  return new n.Observable(function(Qt) {
22688
22688
  m(Oe, pr, $r, Kt, G, Ft).then(function(H) {
22689
- De({
22689
+ Fe({
22690
22690
  restResponses: (We.restResponses || []).concat(Kt.responses)
22691
22691
  }), Qt.next({ data: H, errors: qt }), Qt.complete();
22692
22692
  }).catch(function(H) {
@@ -22734,7 +22734,7 @@ const Wk = () => {
22734
22734
  window.close();
22735
22735
  return;
22736
22736
  } else {
22737
- const Oe = new URLSearchParams(f.search), ge = Oe.get("id"), Le = Oe.get("origin");
22737
+ const Oe = new URLSearchParams(f.search), ge = Oe.get("id"), De = Oe.get("origin");
22738
22738
  u ? window.parent.postMessage(
22739
22739
  {
22740
22740
  type: "authorize-failed",
@@ -22742,14 +22742,14 @@ const Wk = () => {
22742
22742
  error: u,
22743
22743
  authUrl: window.location.href
22744
22744
  },
22745
- Le
22745
+ De
22746
22746
  ) : window.parent.postMessage(
22747
22747
  {
22748
22748
  type: "authorized",
22749
22749
  instanceId: ge,
22750
22750
  authUrl: window.location.href
22751
22751
  },
22752
- Le
22752
+ De
22753
22753
  );
22754
22754
  return;
22755
22755
  }
@@ -22760,10 +22760,8 @@ const Wk = () => {
22760
22760
  return;
22761
22761
  const xe = new URLSearchParams(f.search), Oe = xe.get("id"), ge = xe.get("origin");
22762
22762
  if (ge) {
22763
- const Le = new URL(ge)?.hostname;
22764
- if (/^(?:[\w-]+\.)*(?:machinemetrics\.com|machinemetrics-us-gov\.com|m12s\.com)$/.test(
22765
- Le
22766
- ))
22763
+ const De = new URL(ge)?.hostname;
22764
+ if (/^(?:[\w-]+\.)*(?:machinemetrics\.com|machinemetrics-us-gov\.com|m12s\.com)$/.test(De) || /^(?:localhost|127(?:\.\d{1,3}){3}|\[?::1\]?)$/.test(De))
22767
22765
  y(ge);
22768
22766
  else {
22769
22767
  alert("Invalid Embeddable Zone Host");
@@ -22782,19 +22780,19 @@ const Wk = () => {
22782
22780
  }
22783
22781
  if (r === !1) {
22784
22782
  if (ge) {
22785
- const Le = {
22783
+ const De = {
22786
22784
  instanceId: Oe,
22787
22785
  authUrl: `${window.location.origin}/mm-embedded-login?id=${Oe}&origin=${ge}`,
22788
22786
  origin: ge
22789
22787
  };
22790
22788
  Vk() ? e({
22791
- mm_instanceId: Le.instanceId,
22792
- mm_authUrl: encodeURIComponent(Le.authUrl),
22793
- mm_origin: Le.origin
22789
+ mm_instanceId: De.instanceId,
22790
+ mm_authUrl: encodeURIComponent(De.authUrl),
22791
+ mm_origin: De.origin
22794
22792
  }) : window.parent.postMessage(
22795
22793
  {
22796
22794
  type: "authorize",
22797
- ...Le
22795
+ ...De
22798
22796
  },
22799
22797
  ge
22800
22798
  );
@@ -22807,8 +22805,8 @@ const Wk = () => {
22807
22805
  }, [f, r]), AO(({ nextLocation: xe }) => i ? xe.state?.fromParent ? (p(!0), !1) : (Q(`${xe.pathname}${xe.search}`), !0) : !1), Dt(() => {
22808
22806
  if (!i || !m)
22809
22807
  return;
22810
- const xe = (Le) => {
22811
- const Ve = Le.toLowerCase().split("+"), Se = ["shift", "ctrl", "alt", "meta", "mod"], qe = {
22808
+ const xe = (De) => {
22809
+ const Ve = De.toLowerCase().split("+"), Se = ["shift", "ctrl", "alt", "meta", "mod"], qe = {
22812
22810
  shift: Ve.includes("shift"),
22813
22811
  ctrl: Ve.includes("ctrl"),
22814
22812
  alt: Ve.includes("alt"),
@@ -22821,15 +22819,15 @@ const Wk = () => {
22821
22819
  return { modifiers: qe, key: null, isValid: !1 };
22822
22820
  const J = V[V.length - 1];
22823
22821
  return { modifiers: qe, key: J, isValid: !0 };
22824
- }, Oe = (Le, Ve) => {
22822
+ }, Oe = (De, Ve) => {
22825
22823
  const { modifiers: Se, key: qe, isValid: V } = xe(Ve);
22826
22824
  if (!V)
22827
22825
  return !1;
22828
- const J = Le.key.toLowerCase() === qe, U = Le.shiftKey === Se.shift, X = Le.altKey === Se.alt, re = Se.mod ? Le.ctrlKey || Le.metaKey : Le.ctrlKey === Se.ctrl && Le.metaKey === Se.meta;
22826
+ const J = De.key.toLowerCase() === qe, U = De.shiftKey === Se.shift, X = De.altKey === Se.alt, re = Se.mod ? De.ctrlKey || De.metaKey : De.ctrlKey === Se.ctrl && De.metaKey === Se.meta;
22829
22827
  return J && U && X && re;
22830
- }, ge = (Le) => {
22828
+ }, ge = (De) => {
22831
22829
  M.current.forEach((Ve) => {
22832
- Oe(Le, Ve) && (Le.preventDefault(), window.parent.postMessage(
22830
+ Oe(De, Ve) && (De.preventDefault(), window.parent.postMessage(
22833
22831
  {
22834
22832
  type: `key-pressed:${Ve}`,
22835
22833
  instanceId: g,
@@ -22898,17 +22896,17 @@ const Wk = () => {
22898
22896
  [h, r, k]
22899
22897
  ), ne = Lr(
22900
22898
  (xe, Oe) => h ? new Promise((ge) => {
22901
- const Le = mc(), Ve = Oe?.onSave ? mc() : void 0;
22899
+ const De = mc(), Ve = Oe?.onSave ? mc() : void 0;
22902
22900
  Ve && Oe?.onSave && (x.current[Ve] = Oe.onSave);
22903
22901
  const Se = async () => {
22904
- delete x.current[Le], Ve && delete x.current[Ve], ge();
22902
+ delete x.current[De], Ve && delete x.current[Ve], ge();
22905
22903
  };
22906
- x.current[Le] = Se, k("set-path", {
22904
+ x.current[De] = Se, k("set-path", {
22907
22905
  path: xe,
22908
22906
  variant: "sidesheet",
22909
22907
  ...Oe,
22910
22908
  onSave: void 0,
22911
- callbackId: Le,
22909
+ callbackId: De,
22912
22910
  onSaveCallbackId: Ve
22913
22911
  });
22914
22912
  }) : Promise.reject(new Error("Not ready")),
@@ -22941,9 +22939,9 @@ const Wk = () => {
22941
22939
  ), we = Lr(() => {
22942
22940
  k("loaded");
22943
22941
  }, [k]), Z = Lr(
22944
- async ({ header: xe, body: Oe, choices: ge }) => h ? new Promise((Le) => {
22942
+ async ({ header: xe, body: Oe, choices: ge }) => h ? new Promise((De) => {
22945
22943
  const Ve = mc(), Se = async (qe) => {
22946
- delete x.current[Ve], Le(qe);
22944
+ delete x.current[Ve], De(qe);
22947
22945
  };
22948
22946
  x.current[Ve] = Se, k("confirm", {
22949
22947
  header: xe,
@@ -22955,16 +22953,16 @@ const Wk = () => {
22955
22953
  [h, k]
22956
22954
  ), ve = Lr(
22957
22955
  ({ requestType: xe, func: Oe }) => {
22958
- const ge = async ({ callbackId: Le, data: Ve }) => {
22956
+ const ge = async ({ callbackId: De, data: Ve }) => {
22959
22957
  try {
22960
22958
  const Se = await Oe(Ve);
22961
22959
  k("response", {
22962
- callbackId: Le,
22960
+ callbackId: De,
22963
22961
  response: Se
22964
22962
  });
22965
22963
  } catch (Se) {
22966
22964
  k("response", {
22967
- callbackId: Le,
22965
+ callbackId: De,
22968
22966
  error: Se.message
22969
22967
  });
22970
22968
  }
@@ -22981,7 +22979,7 @@ const Wk = () => {
22981
22979
  callbackId: xe,
22982
22980
  func: Oe,
22983
22981
  responseType: ge = "response",
22984
- responseKey: Le = "response",
22982
+ responseKey: De = "response",
22985
22983
  props: Ve = {},
22986
22984
  callOnRegister: Se = !1
22987
22985
  }) => {
@@ -22989,7 +22987,7 @@ const Wk = () => {
22989
22987
  const U = await Oe(J);
22990
22988
  k(ge, {
22991
22989
  ...Ve,
22992
- [Le]: U,
22990
+ [De]: U,
22993
22991
  callbackId: xe
22994
22992
  });
22995
22993
  }, V = x.current[xe];
@@ -26306,14 +26304,14 @@ var Ce;
26306
26304
  return M(w, A, T, P, 32);
26307
26305
  }
26308
26306
  function D(w, A, T, P, j) {
26309
- var W = new Uint32Array(16), oe = new Uint32Array(16), me = new Uint32Array(16), K = new Uint32Array(4), ae, Fe, ct;
26307
+ var W = new Uint32Array(16), oe = new Uint32Array(16), me = new Uint32Array(16), K = new Uint32Array(4), ae, Le, ct;
26310
26308
  for (ae = 0; ae < 4; ae++)
26311
26309
  oe[5 * ae] = S(P, 4 * ae), oe[1 + ae] = S(T, 4 * ae), oe[6 + ae] = S(A, 4 * ae), oe[11 + ae] = S(T, 16 + 4 * ae);
26312
26310
  for (ae = 0; ae < 16; ae++) me[ae] = oe[ae];
26313
26311
  for (ae = 0; ae < 20; ae++) {
26314
- for (Fe = 0; Fe < 4; Fe++) {
26315
- for (ct = 0; ct < 4; ct++) K[ct] = oe[(5 * Fe + 4 * ct) % 16];
26316
- for (K[1] ^= v(K[0] + K[3] | 0, 7), K[2] ^= v(K[1] + K[0] | 0, 9), K[3] ^= v(K[2] + K[1] | 0, 13), K[0] ^= v(K[3] + K[2] | 0, 18), ct = 0; ct < 4; ct++) W[4 * Fe + (Fe + ct) % 4] = K[ct];
26312
+ for (Le = 0; Le < 4; Le++) {
26313
+ for (ct = 0; ct < 4; ct++) K[ct] = oe[(5 * Le + 4 * ct) % 16];
26314
+ for (K[1] ^= v(K[0] + K[3] | 0, 7), K[2] ^= v(K[1] + K[0] | 0, 9), K[3] ^= v(K[2] + K[1] | 0, 13), K[0] ^= v(K[3] + K[2] | 0, 18), ct = 0; ct < 4; ct++) W[4 * Le + (Le + ct) % 4] = K[ct];
26317
26315
  }
26318
26316
  for (ct = 0; ct < 16; ct++) oe[ct] = W[ct];
26319
26317
  }
@@ -26351,18 +26349,18 @@ var Ce;
26351
26349
  107
26352
26350
  ]);
26353
26351
  function Q(w, A, T, P, j, W, oe) {
26354
- var me = new Uint8Array(16), K = new Uint8Array(64), ae, Fe;
26352
+ var me = new Uint8Array(16), K = new Uint8Array(64), ae, Le;
26355
26353
  if (!j) return 0;
26356
- for (Fe = 0; Fe < 16; Fe++) me[Fe] = 0;
26357
- for (Fe = 0; Fe < 8; Fe++) me[Fe] = W[Fe];
26354
+ for (Le = 0; Le < 16; Le++) me[Le] = 0;
26355
+ for (Le = 0; Le < 8; Le++) me[Le] = W[Le];
26358
26356
  for (; j >= 64; ) {
26359
- for (N(K, me, oe, F), Fe = 0; Fe < 64; Fe++) w[A + Fe] = (T ? T[P + Fe] : 0) ^ K[Fe];
26360
- for (ae = 1, Fe = 8; Fe < 16; Fe++)
26361
- ae = ae + (me[Fe] & 255) | 0, me[Fe] = ae & 255, ae >>>= 8;
26357
+ for (N(K, me, oe, F), Le = 0; Le < 64; Le++) w[A + Le] = (T ? T[P + Le] : 0) ^ K[Le];
26358
+ for (ae = 1, Le = 8; Le < 16; Le++)
26359
+ ae = ae + (me[Le] & 255) | 0, me[Le] = ae & 255, ae >>>= 8;
26362
26360
  j -= 64, A += 64, T && (P += 64);
26363
26361
  }
26364
26362
  if (j > 0)
26365
- for (N(K, me, oe, F), Fe = 0; Fe < j; Fe++) w[A + Fe] = (T ? T[P + Fe] : 0) ^ K[Fe];
26363
+ for (N(K, me, oe, F), Le = 0; Le < j; Le++) w[A + Le] = (T ? T[P + Le] : 0) ^ K[Le];
26366
26364
  return 0;
26367
26365
  }
26368
26366
  function ne(w, A, T, P, j) {
@@ -26401,15 +26399,15 @@ var Ce;
26401
26399
  252
26402
26400
  ]);
26403
26401
  function de(w, A, T, P, j, W) {
26404
- var oe, me, K, ae, Fe = new Uint32Array(17), ct = new Uint32Array(17), Ut = new Uint32Array(17), hn = new Uint32Array(17), $i = new Uint32Array(17);
26402
+ var oe, me, K, ae, Le = new Uint32Array(17), ct = new Uint32Array(17), Ut = new Uint32Array(17), hn = new Uint32Array(17), $i = new Uint32Array(17);
26405
26403
  for (K = 0; K < 17; K++) ct[K] = Ut[K] = 0;
26406
26404
  for (K = 0; K < 16; K++) ct[K] = W[K];
26407
26405
  for (ct[3] &= 15, ct[4] &= 252, ct[7] &= 15, ct[8] &= 252, ct[11] &= 15, ct[12] &= 252, ct[15] &= 15; j > 0; ) {
26408
26406
  for (K = 0; K < 17; K++) hn[K] = 0;
26409
26407
  for (K = 0; K < 16 && K < j; ++K) hn[K] = T[P + K];
26410
26408
  for (hn[K] = 1, P += K, j -= K, ie(Ut, hn), me = 0; me < 17; me++)
26411
- for (Fe[me] = 0, K = 0; K < 17; K++) Fe[me] = Fe[me] + Ut[K] * (K <= me ? ct[me - K] : 320 * ct[me + 17 - K] | 0) | 0 | 0;
26412
- for (me = 0; me < 17; me++) Ut[me] = Fe[me];
26409
+ for (Le[me] = 0, K = 0; K < 17; K++) Le[me] = Le[me] + Ut[K] * (K <= me ? ct[me - K] : 320 * ct[me + 17 - K] | 0) | 0 | 0;
26410
+ for (me = 0; me < 17; me++) Ut[me] = Le[me];
26413
26411
  for (ae = 0, K = 0; K < 16; K++)
26414
26412
  ae = ae + Ut[K] | 0, Ut[K] = ae & 255, ae >>>= 8;
26415
26413
  for (ae = ae + Ut[16] | 0, Ut[16] = ae & 3, ae = 5 * (ae >>> 2) | 0, K = 0; K < 16; K++)
@@ -26475,7 +26473,7 @@ var Ce;
26475
26473
  for (T = 0; T < 16; T++) w[T] = A[2 * T] + (A[2 * T + 1] << 8);
26476
26474
  w[15] &= 32767;
26477
26475
  }
26478
- function Le(w, A, T) {
26476
+ function De(w, A, T) {
26479
26477
  var P;
26480
26478
  for (P = 0; P < 16; P++) w[P] = A[P] + T[P] | 0;
26481
26479
  }
@@ -26512,14 +26510,14 @@ var Ce;
26512
26510
  for (P = 0; P < 16; P++) w[P] = T[P];
26513
26511
  }
26514
26512
  function U(w, A, T) {
26515
- var P = new Uint8Array(32), j = new Float64Array(80), W, oe, me = t(), K = t(), ae = t(), Fe = t(), ct = t(), Ut = t();
26513
+ var P = new Uint8Array(32), j = new Float64Array(80), W, oe, me = t(), K = t(), ae = t(), Le = t(), ct = t(), Ut = t();
26516
26514
  for (oe = 0; oe < 31; oe++) P[oe] = A[oe];
26517
26515
  for (P[31] = A[31] & 127 | 64, P[0] &= 248, ge(j, T), oe = 0; oe < 16; oe++)
26518
- K[oe] = j[oe], Fe[oe] = me[oe] = ae[oe] = 0;
26519
- for (me[0] = Fe[0] = 1, oe = 254; oe >= 0; --oe)
26520
- W = P[oe >>> 3] >>> (oe & 7) & 1, $e(me, K, W), $e(ae, Fe, W), Le(ct, me, ae), Ve(me, me, ae), Le(ae, K, Fe), Ve(K, K, Fe), qe(Fe, ct), qe(Ut, me), Se(me, ae, me), Se(ae, K, ct), Le(ct, me, ae), Ve(me, me, ae), qe(K, me), Ve(ae, Fe, Ut), Se(me, ae, f), Le(me, me, Fe), Se(ae, ae, me), Se(me, Fe, Ut), Se(Fe, K, j), qe(K, ct), $e(me, K, W), $e(ae, Fe, W);
26516
+ K[oe] = j[oe], Le[oe] = me[oe] = ae[oe] = 0;
26517
+ for (me[0] = Le[0] = 1, oe = 254; oe >= 0; --oe)
26518
+ W = P[oe >>> 3] >>> (oe & 7) & 1, $e(me, K, W), $e(ae, Le, W), De(ct, me, ae), Ve(me, me, ae), De(ae, K, Le), Ve(K, K, Le), qe(Le, ct), qe(Ut, me), Se(me, ae, me), Se(ae, K, ct), De(ct, me, ae), Ve(me, me, ae), qe(K, me), Ve(ae, Le, Ut), Se(me, ae, f), De(me, me, Le), Se(ae, ae, me), Se(me, Le, Ut), Se(Le, K, j), qe(K, ct), $e(me, K, W), $e(ae, Le, W);
26521
26519
  for (oe = 0; oe < 16; oe++)
26522
- j[oe + 16] = me[oe], j[oe + 32] = ae[oe], j[oe + 48] = K[oe], j[oe + 64] = Fe[oe];
26520
+ j[oe + 16] = me[oe], j[oe + 32] = ae[oe], j[oe + 48] = K[oe], j[oe + 64] = Le[oe];
26523
26521
  var hn = j.subarray(32), $i = j.subarray(16);
26524
26522
  return V(hn, hn), Se($i, $i, hn), Tt(w, $i), 0;
26525
26523
  }
@@ -26533,14 +26531,14 @@ var Ce;
26533
26531
  var P = new Uint8Array(32);
26534
26532
  return U(P, T, A), k(w, i, P, F);
26535
26533
  }
26536
- var Pe = Z, De = ve;
26534
+ var Pe = Z, Fe = ve;
26537
26535
  function We(w, A, T, P, j, W) {
26538
26536
  var oe = new Uint8Array(32);
26539
26537
  return G(oe, j, W), Pe(w, A, T, P, oe);
26540
26538
  }
26541
26539
  function fe(w, A, T, P, j, W) {
26542
26540
  var oe = new Uint8Array(32);
26543
- return G(oe, j, W), De(w, A, T, P, oe);
26541
+ return G(oe, j, W), Fe(w, A, T, P, oe);
26544
26542
  }
26545
26543
  function Ee() {
26546
26544
  var w = 0, A = 0, T = 0, P = 0, j = 65535, W, oe, me;
@@ -26666,8 +26664,8 @@ var Ce;
26666
26664
  function lr(w, A, T) {
26667
26665
  var P = [], j = [], W = [], oe = [], me, K, ae;
26668
26666
  for (K = 0; K < 8; K++) P[K] = W[K] = E(w, 8 * K);
26669
- for (var Fe = 0; T >= 128; ) {
26670
- for (K = 0; K < 16; K++) oe[K] = E(A, 8 * K + Fe);
26667
+ for (var Le = 0; T >= 128; ) {
26668
+ for (K = 0; K < 16; K++) oe[K] = E(A, 8 * K + Le);
26671
26669
  for (K = 0; K < 80; K++) {
26672
26670
  for (ae = 0; ae < 8; ae++) j[ae] = W[ae];
26673
26671
  for (me = Ee(W[7], cr(W[4]), pr(W[4], W[5], W[6]), nr[K], oe[K % 16]), j[7] = Ee(me, mr(W[0]), pt(W[0], W[1], W[2])), j[3] = Ee(j[3], me), ae = 0; ae < 8; ae++) W[(ae + 1) % 8] = j[ae];
@@ -26677,7 +26675,7 @@ var Ce;
26677
26675
  }
26678
26676
  for (K = 0; K < 8; K++)
26679
26677
  W[K] = Ee(W[K], P[K]), P[K] = W[K];
26680
- Fe += 128, T -= 128;
26678
+ Le += 128, T -= 128;
26681
26679
  }
26682
26680
  for (K = 0; K < 8; K++) I(w, 8 * K, P[K]);
26683
26681
  return T;
@@ -26757,8 +26755,8 @@ var Ce;
26757
26755
  return 0;
26758
26756
  }
26759
26757
  function Qt(w, A) {
26760
- var T = t(), P = t(), j = t(), W = t(), oe = t(), me = t(), K = t(), ae = t(), Fe = t();
26761
- Ve(T, w[1], w[0]), Ve(Fe, A[1], A[0]), Se(T, T, Fe), Le(P, w[0], w[1]), Le(Fe, A[0], A[1]), Se(P, P, Fe), Se(j, w[3], A[3]), Se(j, j, p), Se(W, w[2], A[2]), Le(W, W, W), Ve(oe, P, T), Ve(me, W, j), Le(K, W, j), Le(ae, P, T), Se(w[0], oe, me), Se(w[1], ae, K), Se(w[2], K, me), Se(w[3], oe, ae);
26758
+ var T = t(), P = t(), j = t(), W = t(), oe = t(), me = t(), K = t(), ae = t(), Le = t();
26759
+ Ve(T, w[1], w[0]), Ve(Le, A[1], A[0]), Se(T, T, Le), De(P, w[0], w[1]), De(Le, A[0], A[1]), Se(P, P, Le), Se(j, w[3], A[3]), Se(j, j, p), Se(W, w[2], A[2]), De(W, W, W), Ve(oe, P, T), Ve(me, W, j), De(K, W, j), De(ae, P, T), Se(w[0], oe, me), Se(w[1], ae, K), Se(w[2], K, me), Se(w[3], oe, ae);
26762
26760
  }
26763
26761
  function H(w, A, T) {
26764
26762
  var P;
@@ -26847,7 +26845,7 @@ var Ce;
26847
26845
  Gt(w, A);
26848
26846
  }
26849
26847
  function ir(w, A, T, P) {
26850
- var j = new Uint8Array(64), W = new Uint8Array(64), oe = new Uint8Array(64), me, K, ae = new Float64Array(64), Fe = [
26848
+ var j = new Uint8Array(64), W = new Uint8Array(64), oe = new Uint8Array(64), me, K, ae = new Float64Array(64), Le = [
26851
26849
  t(),
26852
26850
  t(),
26853
26851
  t(),
@@ -26857,7 +26855,7 @@ var Ce;
26857
26855
  var ct = T + 64;
26858
26856
  for (me = 0; me < T; me++) w[64 + me] = A[me];
26859
26857
  for (me = 0; me < 32; me++) w[32 + me] = j[32 + me];
26860
- for (qt(oe, w.subarray(32), T + 32), br(oe), ot(Fe, oe), Y(w, Fe), me = 32; me < 64; me++) w[me] = P[me];
26858
+ for (qt(oe, w.subarray(32), T + 32), br(oe), ot(Le, oe), Y(w, Le), me = 32; me < 64; me++) w[me] = P[me];
26861
26859
  for (qt(W, w, T + 64), br(W), me = 0; me < 64; me++) ae[me] = 0;
26862
26860
  for (me = 0; me < 32; me++) ae[me] = oe[me];
26863
26861
  for (me = 0; me < 32; me++)
@@ -26867,7 +26865,7 @@ var Ce;
26867
26865
  }
26868
26866
  function yr(w, A) {
26869
26867
  var T = t(), P = t(), j = t(), W = t(), oe = t(), me = t(), K = t();
26870
- return _e(w[2], c), ge(w[1], A), qe(j, w[1]), Se(W, j, h), Ve(j, j, w[2]), Le(W, w[2], W), qe(oe, W), qe(me, oe), Se(K, me, oe), Se(T, K, j), Se(T, T, W), J(T, T), Se(T, T, j), Se(T, T, W), Se(T, T, W), Se(w[0], T, W), qe(P, w[0]), Se(P, P, W), xe(P, j) && Se(w[0], w[0], g), qe(P, w[0]), Se(P, P, W), xe(P, j) ? -1 : (Oe(w[0]) === A[31] >> 7 && Ve(w[0], u, w[0]), Se(w[3], w[0], w[1]), 0);
26868
+ return _e(w[2], c), ge(w[1], A), qe(j, w[1]), Se(W, j, h), Ve(j, j, w[2]), De(W, w[2], W), qe(oe, W), qe(me, oe), Se(K, me, oe), Se(T, K, j), Se(T, T, W), J(T, T), Se(T, T, j), Se(T, T, W), Se(T, T, W), Se(w[0], T, W), qe(P, w[0]), Se(P, P, W), xe(P, j) && Se(w[0], w[0], g), qe(P, w[0]), Se(P, P, W), xe(P, j) ? -1 : (Oe(w[0]) === A[31] >> 7 && Ve(w[0], u, w[0]), Se(w[3], w[0], w[1]), 0);
26871
26869
  }
26872
26870
  function Cn(w, A, T, P) {
26873
26871
  var j, W = new Uint8Array(32), oe = new Uint8Array(64), me = [
@@ -26938,7 +26936,7 @@ var Ce;
26938
26936
  pack25519: Tt,
26939
26937
  unpack25519: ge,
26940
26938
  M: Se,
26941
- A: Le,
26939
+ A: De,
26942
26940
  S: qe,
26943
26941
  Z: Ve,
26944
26942
  pow2523: J,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@machinemetrics/mm-react-tools",
3
- "version": "4.12.1",
3
+ "version": "4.12.2-0",
4
4
  "description": "Components, hooks, and helper functions for writing React apps using MachineMetrics APIs.",
5
5
  "author": "machinemetrics",
6
6
  "license": "MIT",