@yuneta/gobj-js 7.26.2 → 7.26.3

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.
@@ -324,8 +324,8 @@ var B = Object.freeze({
324
324
  B.TRACE_COMMANDS,
325
325
  "Trace commands"
326
326
  ]
327
- ], q = 0, H = 0, Q = 0;
328
- function z(e, t) {
327
+ ], q = 0, H = 0, z = 0;
328
+ function Q(e, t) {
329
329
  let n = [];
330
330
  for (const [t, r] of J) e & r && n.push(t);
331
331
  if (Array.isArray(t)) for (let r = 0; r < t.length && r < 16; r++) t[r] && e & 1 << r && n.push(t[r][0]);
@@ -346,7 +346,7 @@ function X(e, t, n) {
346
346
  }(String(e), n) || (ir(`${t}: trace level NOT FOUND: ${e}`), 0);
347
347
  }
348
348
  function Z(e) {
349
- if (Q) return 4294967295;
349
+ if (z) return 4294967295;
350
350
  let t = q;
351
351
  return e && (t |= e.trace_level || 0, e.gclass && (t |= e.gclass.trace_level || 0)), t;
352
352
  }
@@ -367,13 +367,13 @@ function le(e) {
367
367
  return Z(e) & B.TRACE_EV_KW;
368
368
  }
369
369
  function oe(e, t) {
370
- if (Q > 1) return !0;
370
+ if (z > 1) return !0;
371
371
  if (!e) return !1;
372
372
  const n = Z(e);
373
373
  return !!(n & B.TRACE_MACHINE || n & B.TRACE_TIMER_PERIODIC && "EV_TIMEOUT_PERIODIC" === t || n & B.TRACE_TIMER && "EV_TIMEOUT" === t);
374
374
  }
375
375
  function ie(e, t) {
376
- if (Q > 1) return !1;
376
+ if (z > 1) return !1;
377
377
  if (!e) return !0;
378
378
  const n = ee(e);
379
379
  return !!(n & B.TRACE_MACHINE || n & B.TRACE_TIMER_PERIODIC && "EV_TIMEOUT_PERIODIC" === t || n & B.TRACE_TIMER && "EV_TIMEOUT" === t);
@@ -399,25 +399,25 @@ function fe(e, t) {
399
399
  return H = t ? (H | e) >>> 0 : (H & ~e) >>> 0, 0;
400
400
  }
401
401
  function ge() {
402
- return z(q, null);
402
+ return Q(q, null);
403
403
  }
404
404
  function de() {
405
- return z(H, null);
405
+ return Q(H, null);
406
406
  }
407
407
  function be(e) {
408
408
  const t = Jr(e) ? Me(e) : e;
409
- return t ? z(t.trace_level | q, t.s_user_trace_level) : (ir(`gobj_get_gclass_trace_level: gclass NOT FOUND: ${e}`), []);
409
+ return t ? Q(t.trace_level | q, t.s_user_trace_level) : (ir(`gobj_get_gclass_trace_level: gclass NOT FOUND: ${e}`), []);
410
410
  }
411
411
  function pe(e) {
412
412
  const t = Jr(e) ? Me(e) : e;
413
- return t ? z(t.trace_level, t.s_user_trace_level) : (ir(`gobj_get_gclass_trace_level2: gclass NOT FOUND: ${e}`), []);
413
+ return t ? Q(t.trace_level, t.s_user_trace_level) : (ir(`gobj_get_gclass_trace_level2: gclass NOT FOUND: ${e}`), []);
414
414
  }
415
415
  function me(e) {
416
416
  const t = Jr(e) ? Me(e) : e;
417
- return t ? z(t.no_trace_level, t.s_user_trace_level) : (ir(`gobj_get_gclass_trace_no_level: gclass NOT FOUND: ${e}`), []);
417
+ return t ? Q(t.no_trace_level, t.s_user_trace_level) : (ir(`gobj_get_gclass_trace_no_level: gclass NOT FOUND: ${e}`), []);
418
418
  }
419
419
  function he(e) {
420
- return Q = Number(e) || 0, 0;
420
+ return z = Number(e) || 0, 0;
421
421
  }
422
422
  function Ee(e, t, n) {
423
423
  const r = Jr(e) ? Me(e) : e;
@@ -569,7 +569,7 @@ function Re(e) {
569
569
  return e.jn_attrs;
570
570
  }
571
571
  function $e(e, t, n) {
572
- return Qt(e, t) ? Re(e) : e && e.bottom_gobj ? $e(e.bottom_gobj, t, n) : (n && ir(`GClass Attribute NOT FOUND: ${$t(e)}, attr ${t}`), null);
572
+ return zt(e, t) ? Re(e) : e && e.bottom_gobj ? $e(e.bottom_gobj, t, n) : (n && ir(`GClass Attribute NOT FOUND: ${$t(e)}, attr ${t}`), null);
573
573
  }
574
574
  function De(e, t, n) {
575
575
  if (!(e && e instanceof I)) return n && ir("gclass NULL"), null;
@@ -714,7 +714,7 @@ function Be(e, t) {
714
714
  t.parent && ir(`_add_child() ALREADY HAS PARENT: ${t.gobj_name}`), e.dl_children.push(t), t.parent = e;
715
715
  }
716
716
  function Je(e, t) {
717
- let n = Oo(e.dl_children, t);
717
+ let n = Ao(e.dl_children, t);
718
718
  n >= 0 && (Vr(e.dl_children, n), t.parent = null);
719
719
  }
720
720
  function qe(e, t) {
@@ -723,10 +723,10 @@ function qe(e, t) {
723
723
  function He(e, t) {
724
724
  return Tt(e) ? _ ? _(e, t) : -1 : (ir(`${$t(e)}: Only gobj services can load/save writable-persistent`), -1);
725
725
  }
726
- function Qe(e, t) {
726
+ function ze(e, t) {
727
727
  return Tt(e) ? c ? c(e, t) : -1 : (ir(`${$t(e)}: Only gobj services can load/save writable-persistent`), -1);
728
728
  }
729
- function ze(e, t) {
729
+ function Qe(e, t) {
730
730
  return f ? f(e, t) : null;
731
731
  }
732
732
  function Xe(e, t) {
@@ -991,7 +991,7 @@ function Yt(e, t) {
991
991
  }
992
992
  if (o && o !== cn(e)) return !1;
993
993
  let i = e.jn_attrs;
994
- for (const n of Object.keys(t)) if ("__gclass_name__" !== n && "__gobj_name__" !== n && "__prefix_gobj_name__" !== n && "__disabled__" !== n && "__state__" !== n && Qt(e, n) && i[n] !== t[n]) return !1;
994
+ for (const n of Object.keys(t)) if ("__gclass_name__" !== n && "__gobj_name__" !== n && "__prefix_gobj_name__" !== n && "__disabled__" !== n && "__state__" !== n && zt(e, n) && i[n] !== t[n]) return !1;
995
995
  return !0;
996
996
  }
997
997
  function Bt(e, t) {
@@ -1044,10 +1044,10 @@ function Ht(e, t) {
1044
1044
  let o = Bt(e, l);
1045
1045
  return o ? (n.splice(0, 1), n = n.join("`"), Ht(o, n)) : null;
1046
1046
  }
1047
- function Qt(e, t) {
1047
+ function zt(e, t) {
1048
1048
  return !tl(t) && !!De(e.gclass, t, !1);
1049
1049
  }
1050
- function zt(e, t, n) {
1050
+ function Qt(e, t, n) {
1051
1051
  let r = e.jn_attrs;
1052
1052
  if (t in r && Object.prototype.hasOwnProperty.call(r, t)) {
1053
1053
  let n = r[t];
@@ -1223,7 +1223,7 @@ function Tn(e, n, r, l) {
1223
1223
  if (1 === W) Y(t("🔄 %s %s%s %s from %s%s", n || "", e.running ? "" : "!!", $t(e), o.state_name, l && !l.running ? "!!" : "", $t(l)));
1224
1224
  else {
1225
1225
  let r = "";
1226
- s.action && (r = wo(s.action)), Y(t("🔄 mach(%s%s^%s), st: %s, ev: %s%s%s, ac: %s, from(%s%s^%s)", e.running ? "" : "!!", Rt(e), jt(e), o.state_name, "", n || "", "", r, l && !l.running ? "!!" : "", Rt(l), jt(l)));
1226
+ s.action && (r = Co(s.action)), Y(t("🔄 mach(%s%s^%s), st: %s, ev: %s%s%s, ac: %s, from(%s%s^%s)", e.running ? "" : "!!", Rt(e), jt(e), o.state_name, "", n || "", "", r, l && !l.running ? "!!" : "", Rt(l), jt(l)));
1227
1227
  }
1228
1228
  r && le(e) && Mr(r) && wr(r);
1229
1229
  }
@@ -1479,7 +1479,7 @@ function Pn(e, n, r) {
1479
1479
  function Un(e, n, r, l) {
1480
1480
  if (Ct(e)) return ir("gobj NULL or DESTROYED"), -1;
1481
1481
  if (function(e) {
1482
- return Q > 1 || !!e && !!(Z(e) & B.TRACE_COMMANDS);
1482
+ return z > 1 || !!e && !!(Z(e) & B.TRACE_COMMANDS);
1483
1483
  }(e) || oe(e, null) && !ie(l, null)) {
1484
1484
  let o = yr(n);
1485
1485
  Y(t("🌀🌀 mach(%s%s), cmd: %s, src: %s", Et(e) ? "" : "!!", $t(e), null !== o ? o : n, $t(l))), le(e) && wr(r);
@@ -1525,18 +1525,18 @@ function qn(e) {
1525
1525
  } else Yn = e;
1526
1526
  }
1527
1527
  var Hn = !0;
1528
- function Qn(e) {
1528
+ function zn(e) {
1529
1529
  Hn = !!e;
1530
1530
  }
1531
- var zn = null;
1531
+ var Qn = null;
1532
1532
  function Xn(e) {
1533
- zn = "function" == typeof e ? e : null;
1533
+ Qn = "function" == typeof e ? e : null;
1534
1534
  }
1535
1535
  function Zn(e, t) {
1536
1536
  if (!Hn) return !1;
1537
- if (!zn) return !0;
1537
+ if (!Qn) return !0;
1538
1538
  try {
1539
- return !!zn(e, t);
1539
+ return !!Qn(e, t);
1540
1540
  } catch (e) {
1541
1541
  return !0;
1542
1542
  }
@@ -1601,27 +1601,27 @@ function or(e) {
1601
1601
  return n;
1602
1602
  }
1603
1603
  function ir(e, ...t) {
1604
- let n = or(e, ...t), r = To();
1604
+ let n = or(e, ...t), r = $o();
1605
1605
  Mn && (Mn === Gn.error ? Zn("error", n) && Mn("%c" + r + " ERROR: " + String(n), "color:red") : (Zn("error", n) && Gn.error("%c" + r + " ERROR: " + String(n), "color:red"), Mn(`${r} ERROR: ${String(n)}`))), tr("error", n, r);
1606
1606
  }
1607
1607
  function sr(e, ...t) {
1608
- let n = or(e, ...t), r = To();
1608
+ let n = or(e, ...t), r = $o();
1609
1609
  Wn && (Wn === Gn.warn ? Zn("warning", n) && Wn("%c" + r + " WARNING: " + String(n), "color:yellow") : (Zn("warning", n) && Gn.warn("%c" + r + " WARNING: " + String(n), "color:yellow"), Wn(`${r} WARNING: ${String(n)}`))), tr("warning", n, r);
1610
1610
  }
1611
1611
  function ar(e, ...t) {
1612
- let n = or(e, ...t), r = To();
1612
+ let n = or(e, ...t), r = $o();
1613
1613
  xn && Zn("info", n) && xn("%c" + r + " INFO: " + String(n), "color:cyan"), tr("info", n, r);
1614
1614
  }
1615
1615
  function ur(e, ...t) {
1616
- let n = or(e, ...t), r = To();
1616
+ let n = or(e, ...t), r = $o();
1617
1617
  Kn && Zn("debug", n) && Kn("%c" + r + " DEBUG: " + String(n), "color:silver"), tr("debug", n, r);
1618
1618
  }
1619
1619
  function _r(e, ...t) {
1620
- let n = or(e, ...t), r = To();
1620
+ let n = or(e, ...t), r = $o();
1621
1621
  Kn && Zn("msg", n) && Kn("%c" + r + " MSG: " + String(n), "color:cyan"), tr("msg", n, r);
1622
1622
  }
1623
1623
  function cr(e, t) {
1624
- Zn("json", t) && (t && Gn.warn("=====> " + t), Gn.dir(e)), tr("json", e, To());
1624
+ Zn("json", t) && (t && Gn.warn("=====> " + t), Gn.dir(e)), tr("json", e, $o());
1625
1625
  }
1626
1626
  var fr = [
1627
1627
  "passw",
@@ -1888,10 +1888,10 @@ function qr(e) {
1888
1888
  function Hr(e) {
1889
1889
  return "boolean" == typeof e;
1890
1890
  }
1891
- function Qr(e) {
1891
+ function zr(e) {
1892
1892
  return null == e;
1893
1893
  }
1894
- function zr(e) {
1894
+ function Qr(e) {
1895
1895
  if (qr(e)) return !0;
1896
1896
  if (!Jr(e)) return !1;
1897
1897
  const t = Number(e);
@@ -2266,7 +2266,7 @@ function Ll(e) {
2266
2266
  else window.console.warn(`Invalid key for localStorage removal: ${e}`);
2267
2267
  }
2268
2268
  function Pl(e, t) {
2269
- if (Qr(e) || Qr(t)) return !0;
2269
+ if (zr(e) || zr(t)) return !0;
2270
2270
  if (Br(e)) {
2271
2271
  if (0 === e.length) return !0;
2272
2272
  for (let n = 0; n < e.length; n++) if (e[n] === t) return !0;
@@ -2427,13 +2427,13 @@ function Hl(e, t, n, r) {
2427
2427
  ir(e);
2428
2428
  }
2429
2429
  }
2430
- function Ql(e, t, n, r) {
2430
+ function zl(e, t, n, r) {
2431
2431
  if (!el(e)) return ir("gobj is not a GObj"), null;
2432
2432
  if (!Yr(t)) return ir("kw is not a dict"), null;
2433
2433
  let l = Jl(t, n);
2434
2434
  return l ? 0 === l.length ? (r && ir(`stack empty: ${n}`), null) : l[0] : (r && ir(`stack NOT FOUND: ${n}`), null);
2435
2435
  }
2436
- function zl(e, t, n) {
2436
+ function Ql(e, t, n) {
2437
2437
  return tl(n) ? bl(e, t, "__md_iev__`__msg_type__") : Nl(e, t, "__md_iev__", "__msg_type__", n), 0;
2438
2438
  }
2439
2439
  function Xl(e, t) {
@@ -2592,11 +2592,36 @@ function go(e) {
2592
2592
  const t = String(e).trim();
2593
2593
  return /^javascript:/i.test(t) || /^data:/i.test(t) ? "" : fo(t);
2594
2594
  }
2595
- function bo(e) {
2595
+ var bo = class {
2596
+ constructor(e) {
2597
+ this.html = e, Object.freeze(this);
2598
+ }
2599
+ toString() {
2600
+ return this.html;
2601
+ }
2602
+ };
2603
+ function po(e) {
2604
+ return "string" != typeof e ? (ir("html_markup: not a string, type " + typeof e), new bo("")) : new bo(e);
2605
+ }
2606
+ function mo(e) {
2607
+ return e instanceof bo;
2608
+ }
2609
+ function ho(e) {
2610
+ const t = document.createElement("template");
2611
+ return t.innerHTML = e.html.trim(), t.content;
2612
+ }
2613
+ var Eo = !1, yo = /* @__PURE__ */ new Set();
2614
+ function To(e) {
2615
+ Eo = !!e;
2616
+ }
2617
+ function vo() {
2618
+ return Eo;
2619
+ }
2620
+ function Oo(e) {
2596
2621
  const t = document.createElement("template");
2597
2622
  return t.innerHTML = e.trim(), t.content.firstChild;
2598
2623
  }
2599
- function po(e, t) {
2624
+ function So(e, t) {
2600
2625
  let [n, r, l, o] = e;
2601
2626
  if (!n) return void ir("Tag must be a valid HTML element.");
2602
2627
  let i = document.createElement(n), s = "";
@@ -2605,17 +2630,22 @@ function po(e, t) {
2605
2630
  for (const n of Object.keys(r[e])) t += `${n}: ${r[e][n]};`;
2606
2631
  i.style.cssText = t;
2607
2632
  } else "style" === e ? i.style.cssText = r[e] : "i18n" === e || "data-i18n" === e || "data_i18next" === e || "data-i18next" === e ? null !== r[e] && void 0 !== r[e] && (s = r[e], i.setAttribute("data-i18n", s)) : i.setAttribute(e, r[e]);
2608
- if (Jr(l)) if (l = l.trim(), l.length > 0 && "<" === l[0]) i.appendChild(bo(l));
2609
- else if (t && s) i.textContent = t(s) || l;
2633
+ if (mo(l)) i.appendChild(ho(l));
2634
+ else if (Jr(l)) if (l = l.trim(), l.length > 0 && "<" === l[0] && !Eo) i.appendChild(Oo(l));
2635
+ else if (l.length > 0 && "<" === l[0] && function(e) {
2636
+ if (yo.size >= 100) return;
2637
+ const t = e.slice(0, 80);
2638
+ yo.has(t) || (yo.add(t), sr(`createElement2: a string that starts with '<' is TEXT (set_strings_are_text): use html_markup() if it is markup: ${JSON.stringify(t)}`));
2639
+ }(l), t && s) i.textContent = t(s) || l;
2610
2640
  else i.textContent = l;
2611
2641
  else if (Br(l)) {
2612
- if (l.length > 0) if (Jr(l[0])) i.appendChild(po(l, t));
2613
- else for (let e of l) Array.isArray(e) ? e.length > 0 && i.appendChild(po(e, t)) : e instanceof Node ? i.appendChild(e) : Jr(e) ? i.appendChild(document.createTextNode(e)) : null != e && !1 !== e && ir("createElement2: child ignored, type " + typeof e);
2642
+ if (l.length > 0) if (Jr(l[0])) i.appendChild(So(l, t));
2643
+ else for (let e of l) Array.isArray(e) ? e.length > 0 && i.appendChild(So(e, t)) : e instanceof Node ? i.appendChild(e) : mo(e) ? i.appendChild(ho(e)) : Jr(e) ? i.appendChild(document.createTextNode(e)) : null != e && !1 !== e && ir("createElement2: child ignored, type " + typeof e);
2614
2644
  } else l instanceof HTMLElement || l instanceof Text || l instanceof SVGElement ? i.appendChild(l) : null != l && (ir("content ignored"), cr(l));
2615
2645
  if (o && "object" == typeof o) for (const e of Object.keys(o)) i.addEventListener(e, o[e]);
2616
2646
  return i;
2617
2647
  }
2618
- function mo(e) {
2648
+ function No(e) {
2619
2649
  if (!e) return {
2620
2650
  top: 0,
2621
2651
  left: 0,
@@ -2635,10 +2665,10 @@ function mo(e) {
2635
2665
  bottom: t + i + l
2636
2666
  };
2637
2667
  }
2638
- function ho(e) {
2668
+ function wo(e) {
2639
2669
  return new DOMParser().parseFromString(e, "image/svg+xml").firstChild;
2640
2670
  }
2641
- function Eo(e, t) {
2671
+ function jo(e, t) {
2642
2672
  if (!Zr(t)) return void ir("You must supply a translation function");
2643
2673
  e || (e = document);
2644
2674
  const n = (t) => {
@@ -2662,7 +2692,7 @@ function Eo(e, t) {
2662
2692
  n && e.setAttribute("placeholder", t(n));
2663
2693
  });
2664
2694
  }
2665
- function yo(e = "Time Tracker", t = !1) {
2695
+ function Ro(e = "Time Tracker", t = !1) {
2666
2696
  const n = e, r = performance.now();
2667
2697
  let l = r;
2668
2698
  return t && sr(`--\x3e ${n} - starting`), { mark: (e = "Intermediate", o = "") => {
@@ -2673,30 +2703,30 @@ function yo(e = "Time Tracker", t = !1) {
2673
2703
  };
2674
2704
  } };
2675
2705
  }
2676
- function To(e) {
2706
+ function $o(e) {
2677
2707
  const t = (e, t) => String(e).padStart(t, "0"), n = `${(e = e || /* @__PURE__ */ new Date()).getFullYear()}-${t(e.getMonth() + 1, 2)}-${t(e.getDate(), 2)}T${t(e.getHours(), 2)}:${t(e.getMinutes(), 2)}:${t(e.getSeconds(), 2)}`, r = t(e.getMilliseconds(), 3), l = e.getTimezoneOffset();
2678
2708
  return `${n}.${r}${l > 0 ? "-" : "+"}${t(Math.floor(Math.abs(l) / 60), 2)}${t(Math.abs(l) % 60, 2)}`;
2679
2709
  }
2680
- function vo() {
2710
+ function Do() {
2681
2711
  return Math.floor(Date.now() / 1e3);
2682
2712
  }
2683
- function Oo(e, t) {
2713
+ function Ao(e, t) {
2684
2714
  if (!e) throw "ERROR: index_in_list() list empty";
2685
2715
  for (let n = 0; n < e.length; n++) if (t === e[n]) return n;
2686
2716
  return -1;
2687
2717
  }
2688
- function So() {
2718
+ function Io() {
2689
2719
  let e = "";
2690
2720
  return "undefined" != typeof window && window.localStorage ? (e = window.localStorage.getItem("host_uuid"), !e && window.crypto?.randomUUID && (e = window.crypto.randomUUID(), window.localStorage.setItem("host_uuid", e))) : e = "undefined" != typeof globalThis && globalThis.crypto?.randomUUID ? globalThis.crypto.randomUUID() : "00000000-0000-0000-0000-000000000000", e;
2691
2721
  }
2692
- function No(e) {
2722
+ function ko(e) {
2693
2723
  return e.replace(/[?# ^:]/g, "_");
2694
2724
  }
2695
- function wo(e) {
2725
+ function Co(e) {
2696
2726
  let t = null;
2697
2727
  return "function" != typeof e && "object" != typeof e || (t = ("" + e).match(/function\s*([\w\$]*)\s*\(/)), null !== t ? t[1] + "()" : "";
2698
2728
  }
2699
- function jo(e, t = 0, n = !1) {
2729
+ function Lo(e, t = 0, n = !1) {
2700
2730
  let r = null, l = null, o = null;
2701
2731
  const i = (...i) => {
2702
2732
  o = this, l = i;
@@ -2711,20 +2741,20 @@ function jo(e, t = 0, n = !1) {
2711
2741
  clearTimeout(r), r = null, l = null, o = null;
2712
2742
  }, i;
2713
2743
  }
2714
- function Ro(...e) {
2744
+ function Po(...e) {
2715
2745
  let t = "", n = 0;
2716
2746
  for (let r of e) null != r && "" !== r && (r = String(r), r = 0 === n ? r.replace(/\/+$/, "") : r.replace(/^\/+/, "").replace(/\/+$/, ""), "" !== r && (n > 0 && (t += "/"), t += r, n++));
2717
2747
  return t;
2718
2748
  }
2719
- var $o = 256, Do = 1e5;
2720
- function Ao(e) {
2749
+ var Uo = 256, Fo = 1e5;
2750
+ function Vo(e) {
2721
2751
  const t = String(e).replace(/`/g, "``");
2722
2752
  return "[" === t[0] ? "[" + t : t;
2723
2753
  }
2724
- function Io(e) {
2725
- return Array.isArray(e) && 0 !== e.length ? e.map((e) => "number" == typeof e ? `[${e}]` : Ao(e)).join("`") : "";
2754
+ function Go(e) {
2755
+ return Array.isArray(e) && 0 !== e.length ? e.map((e) => "number" == typeof e ? `[${e}]` : Vo(e)).join("`") : "";
2726
2756
  }
2727
- function ko(e) {
2757
+ function Mo(e) {
2728
2758
  if ("string" != typeof e) return null;
2729
2759
  let t = [], n = "";
2730
2760
  for (let r = 0; r < e.length; r++) if ("`" !== e[r]) n += e[r];
@@ -2745,9 +2775,9 @@ function ko(e) {
2745
2775
  return null !== t ? t : "[" === e[0] && "[" === e[1] ? e.slice(1) : e;
2746
2776
  });
2747
2777
  }
2748
- function Co(e) {
2778
+ function Wo(e) {
2749
2779
  const t = {}, n = (e, r, l) => {
2750
- if (l > $o) throw new Error("json2flat: deeper than 256");
2780
+ if (l > Uo) throw new Error("json2flat: deeper than 256");
2751
2781
  if (null === e || "object" != typeof e || Array.isArray(e)) {
2752
2782
  if (Array.isArray(e) && e.length > 0) return void e.forEach((e, t) => {
2753
2783
  const o = `[${t}]`;
@@ -2757,7 +2787,7 @@ function Co(e) {
2757
2787
  const t = Object.keys(e);
2758
2788
  if (t.length > 0) {
2759
2789
  for (const o of t) {
2760
- const t = Ao(o);
2790
+ const t = Vo(o);
2761
2791
  n(e[o], 0 === l ? t : r + "`" + t, l + 1);
2762
2792
  }
2763
2793
  return;
@@ -2767,20 +2797,20 @@ function Co(e) {
2767
2797
  };
2768
2798
  return null == e || n(e, "", 0), t;
2769
2799
  }
2770
- function Lo(e) {
2800
+ function xo(e) {
2771
2801
  if (null === e || "object" != typeof e || Array.isArray(e)) throw new Error("flat2json: a flat json is an object of id -> value");
2772
2802
  let t = null;
2773
2803
  for (const n of Object.keys(e)) {
2774
- const r = ko(n);
2804
+ const r = Mo(n);
2775
2805
  if (!r || 0 === r.length) throw new Error(`flat2json: malformed flat id: '${n}'`);
2776
- if (r.length > $o) throw new Error(`flat2json: '${n}' deeper than 256`);
2806
+ if (r.length > Uo) throw new Error(`flat2json: '${n}' deeper than 256`);
2777
2807
  const l = "number" == typeof r[0];
2778
2808
  if (null === t) t = l ? [] : {};
2779
2809
  else if (l !== Array.isArray(t)) throw new Error(`flat2json: '${n}' does not fit a ${Array.isArray(t) ? "array" : "object"} root`);
2780
2810
  let o = t;
2781
2811
  for (let t = 0; t < r.length; t++) {
2782
2812
  const l = r[t], i = "number" == typeof l, s = t === r.length - 1, a = !s && "number" == typeof r[t + 1];
2783
- if (i && l > Do) throw new Error(`flat2json: array index ${l} over the limit (100000) in '${n}'`);
2813
+ if (i && l > Fo) throw new Error(`flat2json: array index ${l} over the limit (100000) in '${n}'`);
2784
2814
  if (i !== Array.isArray(o)) throw new Error(`flat2json: '${n}' uses a ${i ? "array index" : "key"} where the tree already has a ${Array.isArray(o) ? "array" : "object"}`);
2785
2815
  if (s) {
2786
2816
  if (Array.isArray(o)) {
@@ -2804,23 +2834,23 @@ function Lo(e) {
2804
2834
  }
2805
2835
  return null === t ? {} : t;
2806
2836
  }
2807
- function Po(e, t) {
2837
+ function Ko(e, t) {
2808
2838
  return e === t || null !== e && null !== t && "object" == typeof e && "object" == typeof t && JSON.stringify(e) === JSON.stringify(t);
2809
2839
  }
2810
- function Uo(e, t) {
2840
+ function Yo(e, t) {
2811
2841
  const n = e && "object" == typeof e ? e : {}, r = t && "object" == typeof t ? t : {}, l = {
2812
2842
  added: {},
2813
2843
  removed: {},
2814
2844
  changed: {}
2815
2845
  };
2816
- for (const e of Object.keys(n)) Object.prototype.hasOwnProperty.call(r, e) ? Po(n[e], r[e]) || gl(l.changed, e, {
2846
+ for (const e of Object.keys(n)) Object.prototype.hasOwnProperty.call(r, e) ? Ko(n[e], r[e]) || gl(l.changed, e, {
2817
2847
  from: n[e],
2818
2848
  to: r[e]
2819
2849
  }) : gl(l.removed, e, n[e]);
2820
2850
  for (const e of Object.keys(r)) Object.prototype.hasOwnProperty.call(n, e) || gl(l.added, e, r[e]);
2821
2851
  return l;
2822
2852
  }
2823
- function Fo(e, t) {
2853
+ function Bo(e, t) {
2824
2854
  if (null === e || "object" != typeof e || Array.isArray(e)) throw new Error("flat_apply: a flat json is an object of id -> value");
2825
2855
  if (null === t || "object" != typeof t) throw new Error("flat_apply: a diff is the object flat_diff() answers");
2826
2856
  for (const n of Object.keys(t.removed || {})) delete e[n];
@@ -2832,36 +2862,36 @@ function Fo(e, t) {
2832
2862
  }
2833
2863
  return e;
2834
2864
  }
2835
- function Vo(e) {
2865
+ function Jo(e) {
2836
2866
  return "persistent-attrs-" + $t(e);
2837
2867
  }
2838
- function Go(e, t) {
2839
- let n = Xt(e, v.SDF_PERSIST), r = kl(Vo(e), null, !1);
2868
+ function qo(e, t) {
2869
+ let n = Xt(e, v.SDF_PERSIST), r = kl(Jo(e), null, !1);
2840
2870
  if (r && Yr(r)) {
2841
2871
  let l = Al(e, r, t, !1);
2842
2872
  l = Al(e, l, n, !1), on(e, l, v.SDF_PERSIST);
2843
2873
  }
2844
2874
  }
2845
- function Mo(e, t) {
2846
- let n = Al(e, Xt(e, v.SDF_PERSIST), t, !1), r = kl(Vo(e), null, !1);
2847
- return r && Yr(r) && Ir(n, r), Cl(Vo(e), n);
2875
+ function Ho(e, t) {
2876
+ let n = Al(e, Xt(e, v.SDF_PERSIST), t, !1), r = kl(Jo(e), null, !1);
2877
+ return r && Yr(r) && Ir(n, r), Cl(Jo(e), n);
2848
2878
  }
2849
- function Wo(e, t) {
2850
- let n = Il(e, kl(Vo(e), null, !1), t, !1);
2851
- 0 === Mr(n) ? Ll(Vo(e)) : Cl(Vo(e), n);
2879
+ function zo(e, t) {
2880
+ let n = Il(e, kl(Jo(e), null, !1), t, !1);
2881
+ 0 === Mr(n) ? Ll(Jo(e)) : Cl(Jo(e), n);
2852
2882
  }
2853
- function xo(e, t) {
2854
- let n = kl(Vo(e), null, !1), r = {};
2883
+ function Qo(e, t) {
2884
+ let n = kl(Jo(e), null, !1), r = {};
2855
2885
  return n && Yr(n) && (r = Al(e, n, t, !1)), r;
2856
2886
  }
2857
- function Ko(e) {
2887
+ function Xo(e) {
2858
2888
  if (Br(e) && 1 === xr(e)) {
2859
2889
  let t = e[0];
2860
2890
  return cl(t, "size") ? t.size : 1;
2861
2891
  }
2862
2892
  return xr(e);
2863
2893
  }
2864
- function Yo(e, t) {
2894
+ function Zo(e, t) {
2865
2895
  if (Jr(t)) {
2866
2896
  if (-1 === t.indexOf("^")) {
2867
2897
  let n, r, l = e.fkey;
@@ -2891,11 +2921,11 @@ function Yo(e, t) {
2891
2921
  hook_name: t.hook_name
2892
2922
  } : (ir("bad fkey 3"), ir(e), ir(t), null);
2893
2923
  }
2894
- function Bo(e, t) {
2895
- let n = Yo(e, t);
2924
+ function ei(e, t) {
2925
+ let n = Zo(e, t);
2896
2926
  return n ? n.topic_name + "^" + n.id + "^" + n.hook_name : null;
2897
2927
  }
2898
- function Jo(e, t) {
2928
+ function ti(e, t) {
2899
2929
  if (Jr(t)) {
2900
2930
  if (-1 === t.indexOf("^")) {
2901
2931
  let n, r = e.hook;
@@ -2922,7 +2952,7 @@ function Jo(e, t) {
2922
2952
  id: t.id
2923
2953
  } : (ir("bad hook 3"), ir(e), ir(t), null);
2924
2954
  }
2925
- var qo = [
2955
+ var ni = [
2926
2956
  "string",
2927
2957
  "integer",
2928
2958
  "object",
@@ -2932,7 +2962,7 @@ var qo = [
2932
2962
  "real",
2933
2963
  "boolean",
2934
2964
  "blob"
2935
- ], Ho = [
2965
+ ], ri = [
2936
2966
  "persistent",
2937
2967
  "required",
2938
2968
  "notnull",
@@ -2944,7 +2974,7 @@ var qo = [
2944
2974
  "stats",
2945
2975
  "rstats",
2946
2976
  "pstats"
2947
- ], Qo = [
2977
+ ], li = [
2948
2978
  "hook",
2949
2979
  "fkey",
2950
2980
  "enum",
@@ -2973,7 +3003,7 @@ var qo = [
2973
3003
  "coordinates",
2974
3004
  "gbuffer"
2975
3005
  ];
2976
- function zo(e) {
3006
+ function oi(e) {
2977
3007
  let t = {
2978
3008
  name: e.id,
2979
3009
  header: e.header,
@@ -2992,7 +3022,7 @@ function zo(e) {
2992
3022
  if (!e.flag) return t;
2993
3023
  for (let n = 0; n < e.flag.length; n++) {
2994
3024
  let r = e.flag[n];
2995
- if (Kl(Qo, r)) {
3025
+ if (Kl(li, r)) {
2996
3026
  switch (r) {
2997
3027
  case "enum":
2998
3028
  t.enum_list = e.enum;
@@ -3006,7 +3036,7 @@ function zo(e) {
3006
3036
  case "file": t.is_file = !0;
3007
3037
  }
3008
3038
  t.type = r;
3009
- } else if (Kl(Ho, r)) switch (r) {
3039
+ } else if (Kl(ri, r)) switch (r) {
3010
3040
  case "writable":
3011
3041
  t.is_writable = !0;
3012
3042
  break;
@@ -3019,7 +3049,7 @@ function zo(e) {
3019
3049
  }
3020
3050
  return t.is_file && (t.type = "file"), t;
3021
3051
  }
3022
- function Xo(e, t) {
3052
+ function ii(e, t) {
3023
3053
  let n = {
3024
3054
  name: e,
3025
3055
  header: e,
@@ -3037,9 +3067,9 @@ function Xo(e, t) {
3037
3067
  let e = t.split(".");
3038
3068
  for (let t = 0; t < e.length; t++) {
3039
3069
  let r = e[t];
3040
- if (Kl(qo, r)) n.real_type || (n.real_type = r);
3041
- else if (Kl(Qo, r)) n.type || (n.type = r);
3042
- else if (Kl(Ho, r)) switch (r) {
3070
+ if (Kl(ni, r)) n.real_type || (n.real_type = r);
3071
+ else if (Kl(li, r)) n.type || (n.type = r);
3072
+ else if (Kl(ri, r)) switch (r) {
3043
3073
  case "writable":
3044
3074
  n.is_writable = !0;
3045
3075
  break;
@@ -3051,10 +3081,10 @@ function Xo(e, t) {
3051
3081
  }
3052
3082
  }
3053
3083
  n.real_type || (n.real_type = "string");
3054
- } else Yr(t) ? (n = zo(t), n.name || (n.name = e), n.header || (n.header = e)) : Br(t) && (n.real_type = "array", n.enum_list = t);
3084
+ } else Yr(t) ? (n = oi(t), n.name || (n.name = e), n.header || (n.header = e)) : Br(t) && (n.real_type = "array", n.enum_list = t);
3055
3085
  return n.type || (n.type = n.real_type), n;
3056
3086
  }
3057
- function Zo(e, t) {
3087
+ function si(e, t) {
3058
3088
  let n = {};
3059
3089
  return t || (t = {}), Object.entries(e).forEach(([e, r]) => {
3060
3090
  let l;
@@ -3063,23 +3093,23 @@ function Zo(e, t) {
3063
3093
  n[e] = o;
3064
3094
  }), n;
3065
3095
  }
3066
- var ei = [
3096
+ var ai = [
3067
3097
  N(T.DTP_POINTER, "subscriber", 0, null, "Subscriber of output events"),
3068
3098
  N(T.DTP_BOOLEAN, "periodic", 0, 0, "True for periodic timeouts"),
3069
3099
  N(T.DTP_INTEGER, "msec", 0, 0, "Timeout in milliseconds"),
3070
3100
  S()
3071
- ], ti = {
3101
+ ], ui = {
3072
3102
  periodic: !1,
3073
3103
  msec: 0,
3074
3104
  timer_id: -1
3075
- }, ni = null;
3076
- function ri(e, t, n, r) {
3105
+ }, _i = null;
3106
+ function ci(e, t, n, r) {
3077
3107
  let l = e.priv, o = l.periodic ? "EV_TIMEOUT_PERIODIC" : "EV_TIMEOUT";
3078
3108
  return l.periodic && l.msec > 0 ? l.timer_id = setTimeout(function() {
3079
3109
  Tn(e, "EV_TIMEOUT", {}, e);
3080
3110
  }, l.msec) : l.timer_id = -1, kt(e) ? Tn(At(e), o, {}, e) : Pn(e, o, {}), l.periodic || -1 !== l.timer_id || Et(e) && gt(e), 0;
3081
3111
  }
3082
- var li = {
3112
+ var fi = {
3083
3113
  mt_create: function(e) {
3084
3114
  let t = e.priv;
3085
3115
  const n = nn(e, "subscriber");
@@ -3104,31 +3134,31 @@ var li = {
3104
3134
  },
3105
3135
  mt_destroy: function(e) {}
3106
3136
  };
3107
- function oi() {
3137
+ function gi() {
3108
3138
  return function(e) {
3109
- if (ni) return ir(`GClass ALREADY created: ${e}`), -1;
3139
+ if (_i) return ir(`GClass ALREADY created: ${e}`), -1;
3110
3140
  const t = [["ST_IDLE", [[
3111
3141
  "EV_TIMEOUT",
3112
- ri,
3142
+ ci,
3113
3143
  null
3114
3144
  ]]]];
3115
- return (ni = Ae(e, [
3145
+ return (_i = Ae(e, [
3116
3146
  ["EV_TIMEOUT", U.EVF_OUTPUT_EVENT],
3117
3147
  ["EV_TIMEOUT_PERIODIC", U.EVF_OUTPUT_EVENT],
3118
3148
  [0, 0]
3119
- ], t, li, 0, ei, ti, 0, 0, 0, C.gcflag_manual_start)) ? 0 : -1;
3149
+ ], t, fi, 0, ai, ui, 0, 0, 0, C.gcflag_manual_start)) ? 0 : -1;
3120
3150
  }("C_TIMER");
3121
3151
  }
3122
- function ii(e, t) {
3152
+ function di(e, t) {
3123
3153
  return e instanceof k ? "C_TIMER" !== Rt(e) ? (ir("not C_TIMER GObj"), -1) : (sn(e, "periodic", !1), void an(e, "msec", t)) : (ir("not GObj TYPE"), -1);
3124
3154
  }
3125
- function si(e, t) {
3155
+ function bi(e, t) {
3126
3156
  return e instanceof k ? "C_TIMER" !== Rt(e) ? (ir("not C_TIMER GObj"), -1) : (sn(e, "periodic", !0), void an(e, "msec", t)) : (ir("not GObj TYPE"), -1);
3127
3157
  }
3128
- function ai(e) {
3158
+ function pi(e) {
3129
3159
  return e instanceof k ? "C_TIMER" !== Rt(e) ? (ir("not C_TIMER GObj"), -1) : void an(e, "msec", -1) : (ir("not GObj TYPE"), -1);
3130
3160
  }
3131
- var ui = [
3161
+ var mi = [
3132
3162
  N(T.DTP_BOOLEAN, "changesLost", 0, !1, "Set true to warn about leaving page"),
3133
3163
  N(T.DTP_BOOLEAN, "browser_beforeunload", 0, !1, "Set true to refreshing browser"),
3134
3164
  N(T.DTP_STRING, "__username__", 0, "", "Username"),
@@ -3148,27 +3178,27 @@ var ui = [
3148
3178
  N(T.DTP_BOOLEAN, "developer", 0, !1, "Developer mode enabled"),
3149
3179
  N(T.DTP_INTEGER, "periodic_timeout", 0, "1000", "Timeout periodic, in miliseconds."),
3150
3180
  S()
3151
- ], _i = { gobj_timer: null }, ci = null;
3152
- function fi(e, t, n, r) {
3153
- let l = zt(e, t);
3181
+ ], hi = { gobj_timer: null }, Ei = null;
3182
+ function yi(e, t, n, r) {
3183
+ let l = Qt(e, t);
3154
3184
  return Yr(l) || (l = {}), l[n] = r, rn(e, t, l), He(e, t);
3155
3185
  }
3156
- function gi(e) {
3186
+ function Ti(e) {
3157
3187
  if (!0 === e || !1 === e) return e;
3158
3188
  let t = String(null == e ? "" : e).toLowerCase();
3159
3189
  return "true" === t || "set" === t || "false" !== t && "reset" !== t && ("" === t || isNaN(Number(t)) ? null : !!Number(t));
3160
3190
  }
3161
- function di() {
3191
+ function vi() {
3162
3192
  return `${Nt()}^${St()}`;
3163
3193
  }
3164
- function bi(e, t, n, r) {
3194
+ function Oi(e, t, n, r) {
3165
3195
  return Pn(e, t, n), 0;
3166
3196
  }
3167
- var pi = {
3197
+ var Si = {
3168
3198
  mt_create: function(e) {
3169
3199
  let t = e.priv;
3170
- un(e, "start_date", To()), un(e, "node_uuid", So()), e.priv.gobj_timer = ot(jt(e), "C_TIMER", {}, e), t.periodic_timeout = zt(e, "periodic_timeout"), function(e) {
3171
- let t = zt(e, "trace_levels");
3200
+ un(e, "start_date", $o()), un(e, "node_uuid", Io()), e.priv.gobj_timer = ot(jt(e), "C_TIMER", {}, e), t.periodic_timeout = Qt(e, "periodic_timeout"), function(e) {
3201
+ let t = Qt(e, "trace_levels");
3172
3202
  if (!Yr(t)) return 0;
3173
3203
  let n = t.__global_trace__;
3174
3204
  if (Br(n)) {
@@ -3183,7 +3213,7 @@ var pi = {
3183
3213
  } else ir(`${jt(e)}: trace_levels of ${n} MUST be a list`);
3184
3214
  }
3185
3215
  }(e), function(e) {
3186
- let t = zt(e, "no_trace_levels");
3216
+ let t = Qt(e, "no_trace_levels");
3187
3217
  if (!Yr(t)) return 0;
3188
3218
  let n = t.__global_no_trace__;
3189
3219
  if (Br(n)) {
@@ -3201,10 +3231,10 @@ var pi = {
3201
3231
  },
3202
3232
  mt_writing: function(e, t) {},
3203
3233
  mt_start: function(e) {
3204
- return si(e.priv.gobj_timer, e.priv.periodic_timeout), 0;
3234
+ return bi(e.priv.gobj_timer, e.priv.periodic_timeout), 0;
3205
3235
  },
3206
3236
  mt_stop: function(e) {
3207
- return ai(e.priv.gobj_timer), bt(e), 0;
3237
+ return pi(e.priv.gobj_timer), bt(e), 0;
3208
3238
  },
3209
3239
  mt_destroy: function(e) {},
3210
3240
  mt_play: function(e) {
@@ -3221,35 +3251,35 @@ var pi = {
3221
3251
  case "get-global-no-trace": return o(0, 0, null, null, de());
3222
3252
  case "set-global-trace":
3223
3253
  case "set-global-no-trace": {
3224
- let r = "set-global-no-trace" === t, l = n.level, i = gi(n.set);
3225
- return l ? null === i ? o(0, -1, `${di()}: bitmask set or re-set?`, null, null) : (r ? ae(l, i) : se(l, i)) < 0 ? o(0, -1, `${di()}: global trace level not found: ${l}`, null, null) : r ? (fi(e, "no_trace_levels", "__global_no_trace__", de()), o(0, 0, null, null, de())) : (fi(e, "trace_levels", "__global_trace__", ge()), o(0, 0, null, null, ge())) : o(0, -1, `${di()}: what level?`, null, null);
3254
+ let r = "set-global-no-trace" === t, l = n.level, i = Ti(n.set);
3255
+ return l ? null === i ? o(0, -1, `${vi()}: bitmask set or re-set?`, null, null) : (r ? ae(l, i) : se(l, i)) < 0 ? o(0, -1, `${vi()}: global trace level not found: ${l}`, null, null) : r ? (yi(e, "no_trace_levels", "__global_no_trace__", de()), o(0, 0, null, null, de())) : (yi(e, "trace_levels", "__global_trace__", ge()), o(0, 0, null, null, ge())) : o(0, -1, `${vi()}: what level?`, null, null);
3226
3256
  }
3227
3257
  case "get-gclass-trace":
3228
3258
  case "get-gclass-no-trace":
3229
3259
  case "set-gclass-trace":
3230
3260
  case "set-gclass-no-trace": {
3231
3261
  let r = t.indexOf("no-trace") >= 0, l = n.gclass_name || n.gclass || "", i = Me(l);
3232
- if (!i) return o(0, -1, `${di()}: what gclass is '${l}'?`, null, null);
3262
+ if (!i) return o(0, -1, `${vi()}: what gclass is '${l}'?`, null, null);
3233
3263
  if (0 === t.indexOf("get-")) return o(0, 0, null, null, r ? me(i) : be(i));
3234
- let s = n.level, a = gi(n.set);
3235
- return s ? null === a ? o(0, -1, `${di()}: bitmask set or re-set?`, null, null) : (r ? Te(i, s, a) : Ee(i, s, a)) < 0 ? o(0, -1, `${di()}: trace level of ${l} not found: ${s}`, null, null) : r ? (fi(e, "no_trace_levels", l, me(i)), o(0, 0, null, null, me(i))) : (fi(e, "trace_levels", l, pe(i)), o(0, 0, null, null, be(i))) : o(0, -1, `${di()}: what level?`, null, null);
3264
+ let s = n.level, a = Ti(n.set);
3265
+ return s ? null === a ? o(0, -1, `${vi()}: bitmask set or re-set?`, null, null) : (r ? Te(i, s, a) : Ee(i, s, a)) < 0 ? o(0, -1, `${vi()}: trace level of ${l} not found: ${s}`, null, null) : r ? (yi(e, "no_trace_levels", l, me(i)), o(0, 0, null, null, me(i))) : (yi(e, "trace_levels", l, pe(i)), o(0, 0, null, null, be(i))) : o(0, -1, `${vi()}: what level?`, null, null);
3236
3266
  }
3237
- default: return o(0, -1, `${di()}: command not available: ${t}`, null, null);
3267
+ default: return o(0, -1, `${vi()}: command not available: ${t}`, null, null);
3238
3268
  }
3239
3269
  }
3240
3270
  };
3241
- function mi() {
3271
+ function Ni() {
3242
3272
  return function(e) {
3243
- if (ci) return ir(`GClass ALREADY created: ${e}`), -1;
3273
+ if (Ei) return ir(`GClass ALREADY created: ${e}`), -1;
3244
3274
  const t = [["ST_IDLE", [[
3245
3275
  "EV_TIMEOUT_PERIODIC",
3246
- bi,
3276
+ Oi,
3247
3277
  null
3248
3278
  ]]]];
3249
- return (ci = Ae(e, [["EV_TIMEOUT_PERIODIC", U.EVF_OUTPUT_EVENT | U.EVF_NO_WARN_SUBS], [0, 0]], t, pi, 0, ui, _i, 0, 0, 0, 0)) ? 0 : -1;
3279
+ return (Ei = Ae(e, [["EV_TIMEOUT_PERIODIC", U.EVF_OUTPUT_EVENT | U.EVF_NO_WARN_SUBS], [0, 0]], t, Si, 0, mi, hi, 0, 0, 0, 0)) ? 0 : -1;
3250
3280
  }("C_YUNO");
3251
3281
  }
3252
- var hi = "ievent_gate_stack", Ei = [
3282
+ var wi = "ievent_gate_stack", ji = [
3253
3283
  N(T.DTP_STRING, "wanted_yuno_role", v.SDF_RD, "", "wanted yuno role"),
3254
3284
  N(T.DTP_STRING, "wanted_yuno_name", v.SDF_RD, "", "wanted yuno name"),
3255
3285
  N(T.DTP_STRING, "wanted_yuno_service", v.SDF_RD, "", "wanted yuno service"),
@@ -3266,15 +3296,15 @@ var hi = "ievent_gate_stack", Ei = [
3266
3296
  N(T.DTP_INTEGER, "timeout_idack", v.SDF_RD, "5000", "timeout waiting idAck"),
3267
3297
  N(T.DTP_POINTER, "subscriber", 0, 0, "subscriber of output-events. If null then subscriber is the parent"),
3268
3298
  S()
3269
- ], yi = [
3299
+ ], Ri = [
3270
3300
  ["ievents", "Trace inter-events with metadata of kw"],
3271
3301
  ["ievents2", "Trace inter-events with full kw"],
3272
3302
  ["identity-card", "Trace identity_card messages"]
3273
3303
  ];
3274
- function Ti(e) {
3304
+ function $i(e) {
3275
3305
  return !!(3 & Z(e));
3276
3306
  }
3277
- var vi = {
3307
+ var Di = {
3278
3308
  url: null,
3279
3309
  remote_yuno_name: null,
3280
3310
  remote_yuno_role: null,
@@ -3284,8 +3314,8 @@ var vi = {
3284
3314
  websocket: null,
3285
3315
  inside_on_open: !1,
3286
3316
  retry_ms: 0
3287
- }, Oi = null;
3288
- function Si(e) {
3317
+ }, Ai = null;
3318
+ function Ii(e) {
3289
3319
  e.priv.websocket && ir("Websocket ALREADY setup");
3290
3320
  const t = tn(e, "url");
3291
3321
  ur(`====> Starting WebSocket to '${t}' (${$t(e)})`);
@@ -3322,7 +3352,7 @@ function Si(e) {
3322
3352
  }, e));
3323
3353
  }, r) : (ir(`${$t(e)}: Failed to initialize WebSocket.`), null);
3324
3354
  }
3325
- function Ni(e, t = 1e3, n = "") {
3355
+ function ki(e, t = 1e3, n = "") {
3326
3356
  let r = e.priv, l = r.websocket;
3327
3357
  if (r.websocket = null, l && l.readyState !== WebSocket.CLOSED && l.readyState !== WebSocket.CLOSING) {
3328
3358
  ur(`Closing WebSocket (Code: ${t}, Reason: "${n}")`);
@@ -3333,25 +3363,25 @@ function Ni(e, t = 1e3, n = "") {
3333
3363
  }
3334
3364
  } else sr("WebSocket is already closed or in the process of closing.");
3335
3365
  }
3336
- function wi(e, t, n) {
3337
- let r = To();
3366
+ function Ci(e, t, n) {
3367
+ let r = $o();
3338
3368
  try {
3339
3369
  ur("\n" + r + " " + t + "\n"), wr(n);
3340
3370
  } catch (e) {
3341
3371
  ur("ERROR in trace_inter_event: " + e);
3342
3372
  }
3343
3373
  }
3344
- var ji = class {
3374
+ var Li = class {
3345
3375
  constructor(e, t) {
3346
3376
  this.event = e, this.kw = t || {};
3347
3377
  }
3348
3378
  };
3349
- function Ri(e, t, n, r) {
3379
+ function Pi(e, t, n, r) {
3350
3380
  return function(e, t) {
3351
3381
  let n = e.priv, r = JSON.stringify(t);
3352
- if (Ti(e)) {
3353
- let n = tn(e, "url"), l = jt(Ot()) + " ==> " + n, o = zt(Ot(), "trace_ievent_callback");
3354
- o ? o(l, t, 1, r.length) : wi(0, l, t);
3382
+ if ($i(e)) {
3383
+ let n = tn(e, "url"), l = jt(Ot()) + " ==> " + n, o = Qt(Ot(), "trace_ievent_callback");
3384
+ o ? o(l, t, 1, r.length) : Ci(0, l, t);
3355
3385
  }
3356
3386
  if (!n.websocket || n.websocket.readyState !== WebSocket.OPEN) return sr(`${$t(e)}: send_iev(): websocket not open, message lost`), -1;
3357
3387
  try {
@@ -3361,10 +3391,10 @@ function Ri(e, t, n, r) {
3361
3391
  }
3362
3392
  return 0;
3363
3393
  }(e, function(e, t) {
3364
- return tl(e) ? (ir("iev_create() event NULL"), null) : new ji(e, t);
3394
+ return tl(e) ? (ir("iev_create() event NULL"), null) : new Li(e, t);
3365
3395
  }(t, n));
3366
3396
  }
3367
- function $i(e, t, n) {
3397
+ function Ui(e, t, n) {
3368
3398
  return tl(n) && (n = tn(e, "wanted_yuno_service")), {
3369
3399
  dst_yuno: tn(e, "wanted_yuno_name"),
3370
3400
  dst_role: tn(e, "wanted_yuno_role"),
@@ -3372,12 +3402,12 @@ function $i(e, t, n) {
3372
3402
  src_yuno: St(),
3373
3403
  src_role: Nt(),
3374
3404
  src_service: t,
3375
- host: So()
3405
+ host: Io()
3376
3406
  };
3377
3407
  }
3378
- function Di(e) {
3379
- let t = e.priv, n = vt(Ot()), r = tn(Ot(), "yuno_version"), l = tn(Ot(), "yuno_release"), o = tn(Ot(), "yuno_tag"), i = zt(e, "required_services");
3380
- i && i.length || (i = zt(Ot(), "required_services"));
3408
+ function Fi(e) {
3409
+ let t = e.priv, n = vt(Ot()), r = tn(Ot(), "yuno_version"), l = tn(Ot(), "yuno_release"), o = tn(Ot(), "yuno_tag"), i = Qt(e, "required_services");
3410
+ i && i.length || (i = Qt(Ot(), "required_services"));
3381
3411
  let s = {
3382
3412
  yuno_role: Nt(),
3383
3413
  yuno_id: wt(),
@@ -3393,27 +3423,27 @@ function Di(e) {
3393
3423
  username: tn(Ot(), "__username__"),
3394
3424
  launch_id: 0,
3395
3425
  yuno_startdate: tn(Ot(), "start_date"),
3396
- id: So(),
3426
+ id: Io(),
3397
3427
  user_agent: "undefined" != typeof window ? window.navigator.userAgent : "",
3398
3428
  language: "undefined" != typeof window ? window.navigator.language : "",
3399
3429
  required_services: i
3400
3430
  };
3401
- return Hl(e, s, hi, $i(e, jt(At(e)), null)), zl(e, s, "__identity__"), ii(t.gobj_timer, en(e, "timeout_idack")), Ri(e, "EV_IDENTITY_CARD", s);
3431
+ return Hl(e, s, wi, Ui(e, jt(At(e)), null)), Ql(e, s, "__identity__"), di(t.gobj_timer, en(e, "timeout_idack")), Pi(e, "EV_IDENTITY_CARD", s);
3402
3432
  }
3403
- function Ai(e, t) {
3433
+ function Vi(e, t) {
3404
3434
  if (tl(t.event)) return -1;
3405
3435
  let n = {}, r = t.__global__, l = t.__config__, o = t.__filter__, i = t.__service__, s = t.subscriber;
3406
3436
  l && (n.__config__ = l), r && (n.__global__ = r), o && (n.__filter__ = o);
3407
- return Hl(e, n, hi, $i(e, jt(s), i)), zl(e, n, "__subscribing__"), Ri(e, t.event, n);
3437
+ return Hl(e, n, wi, Ui(e, jt(s), i)), Ql(e, n, "__subscribing__"), Pi(e, t.event, n);
3408
3438
  }
3409
- function Ii(e, t, n, r) {
3439
+ function Gi(e, t, n, r) {
3410
3440
  let l = e.priv;
3411
- return Et(e) && (l.websocket = Si(e)), 0;
3441
+ return Et(e) && (l.websocket = Ii(e)), 0;
3412
3442
  }
3413
- function ki(e, t, n, r) {
3414
- return ur("Websocket opened: " + e.priv.url), Di(e), 0;
3443
+ function Mi(e, t, n, r) {
3444
+ return ur("Websocket opened: " + e.priv.url), Fi(e), 0;
3415
3445
  }
3416
- function Ci(e, t, n, r) {
3446
+ function Wi(e, t, n, r) {
3417
3447
  let l = e.priv, o = n.url;
3418
3448
  return void 0 !== n.ws_seq && n.ws_seq !== l.ws_seq || (rr(), sr(`${$t(e)}: WebSocket closed ${o} (Code: ${n.code}, Reason: "${n.reason}", Clean: ${n.was_clean})`), l.websocket && (l.websocket.onopen = null, l.websocket.onmessage = null, l.websocket.onerror = null, l.websocket.onclose = null, l.websocket = null), l.inform_on_close ? (l.inform_on_close = !1, Pn(e, "EV_ON_CLOSE", {
3419
3449
  url: o,
@@ -3428,7 +3458,7 @@ function Ci(e, t, n, r) {
3428
3458
  code: n.code,
3429
3459
  reason: n.reason,
3430
3460
  was_clean: n.was_clean
3431
- })), Et(e) && ii(l.gobj_timer, function(e) {
3461
+ })), Et(e) && di(l.gobj_timer, function(e) {
3432
3462
  let t = e.priv, n = en(e, "timeout_retry"), r = en(e, "timeout_retry_max");
3433
3463
  r < n && (r = n);
3434
3464
  t.retry_ms = t.retry_ms ? Math.min(2 * t.retry_ms, r) : n;
@@ -3436,17 +3466,17 @@ function Ci(e, t, n, r) {
3436
3466
  return Math.max(1, Math.round(o));
3437
3467
  }(e))), 0;
3438
3468
  }
3439
- function Li(e, t, n, r) {
3440
- return Di(e), 0;
3469
+ function xi(e, t, n, r) {
3470
+ return Fi(e), 0;
3441
3471
  }
3442
- function Pi(e, t, n, r) {
3472
+ function Ki(e, t, n, r) {
3443
3473
  let l = e.priv;
3444
- ai(l.gobj_timer);
3445
- let o = Ql(e, n, hi, !0), i = El(e, o, "src_yuno", ""), s = El(e, o, "src_role", ""), a = El(e, o, "src_service", "");
3474
+ pi(l.gobj_timer);
3475
+ let o = zl(e, n, wi, !0), i = El(e, o, "src_yuno", ""), s = El(e, o, "src_role", ""), a = El(e, o, "src_service", "");
3446
3476
  un(e, "remote_yuno_name", i), un(e, "remote_yuno_role", s), un(e, "remote_yuno_service", a);
3447
3477
  let u = ml(e, n, "result", -1, 0), _ = El(e, n, "comment", "", 0), c = El(e, n, "username", "", 0), f = vl(e, n, "services_roles", {});
3448
3478
  if (u < 0) {
3449
- Ni(e);
3479
+ ki(e);
3450
3480
  let t = {
3451
3481
  url: tn(e, "url"),
3452
3482
  result: u,
@@ -3471,12 +3501,12 @@ function Pi(e, t, n, r) {
3471
3501
  }
3472
3502
  l.inside_on_open = !1, function(e) {
3473
3503
  let t = kn(e, null, null, null);
3474
- for (let n = 0; n < t.length; n++) Ai(e, t[n]);
3504
+ for (let n = 0; n < t.length; n++) Vi(e, t[n]);
3475
3505
  }(e);
3476
3506
  }
3477
3507
  return 0;
3478
3508
  }
3479
- function Ui(e, t, n, r) {
3509
+ function Yi(e, t, n, r) {
3480
3510
  let l = e.priv.url, o = function(e, t) {
3481
3511
  let n;
3482
3512
  try {
@@ -3495,19 +3525,19 @@ function Ui(e, t, n, r) {
3495
3525
  } : (sr(`${$t(e)}: parsing inter_event: kw not a json object`), null) : (sr(`${$t(e)}: parsing inter_kw: no kw`), null);
3496
3526
  }(e, n.data);
3497
3527
  if (!o) return sr(`${$t(e)}: frame dropped from ${l}: ${String(n.data).substring(0, 256)}`), -1;
3498
- if (Ti(e)) {
3499
- let e = jt(Ot()) + " <== " + l, t = n.data.length, r = zt(Ot(), "trace_ievent_callback");
3500
- r ? r(e, o, 2, t) : wi(0, e, o);
3528
+ if ($i(e)) {
3529
+ let e = jt(Ot()) + " <== " + l, t = n.data.length, r = Qt(Ot(), "trace_ievent_callback");
3530
+ r ? r(e, o, 2, t) : Ci(0, e, o);
3501
3531
  }
3502
3532
  let i = o.event, s = o.kw;
3503
3533
  if ("ST_SESSION" !== cn(e)) {
3504
3534
  if (dn(e, i, U.EVF_PUBLIC_EVENT)) {
3505
3535
  if (!(Tn(e, i, s, e) < 0)) return 0;
3506
3536
  } else ir(`${$t(e)}: event UNKNOWN in not-session state ${i}`);
3507
- return Ni(e), -1;
3537
+ return ki(e), -1;
3508
3538
  }
3509
3539
  o = null;
3510
- let a = Xl(e, s), u = Ql(e, s, hi), _ = El(e, u, "dst_role", "");
3540
+ let a = Xl(e, s), u = zl(e, s, wi), _ = El(e, u, "dst_role", "");
3511
3541
  if (_.toLowerCase() !== Nt().toLowerCase()) return ir(`"It's not my role, dst_role: ${_}, my_role: ${Nt()}`), 0;
3512
3542
  let c = El(e, u, "dst_service", "");
3513
3543
  if ("__subscribing__" === a) return sr(`${$t(e)}: subscription event ignored, I'm client (service: ${c}, event: ${i})`), -1;
@@ -3519,13 +3549,13 @@ function Ui(e, t, n, r) {
3519
3549
  }
3520
3550
  return kt(e) ? Tn(At(e), i, s, e) : Pn(e, i, s), 0;
3521
3551
  }
3522
- function Fi(e, t, n, r) {
3552
+ function Bi(e, t, n, r) {
3523
3553
  return 0;
3524
3554
  }
3525
- function Vi(e, t, n, r) {
3555
+ function Ji(e, t, n, r) {
3526
3556
  return 0;
3527
3557
  }
3528
- var Gi = {
3558
+ var qi = {
3529
3559
  mt_create: function(e) {
3530
3560
  let t = e.priv;
3531
3561
  t.gobj_timer = ot(jt(e), "C_TIMER", {}, e), t.ws_seq = 0, t.url = tn(e, "url"), t.remote_yuno_name = tn(e, "remote_yuno_name"), t.remote_yuno_role = tn(e, "remote_yuno_role"), t.remote_yuno_service = tn(e, "remote_yuno_service"), un(e, "wanted_yuno_name", t.remote_yuno_name), un(e, "wanted_yuno_role", t.remote_yuno_role), un(e, "wanted_yuno_service", t.remote_yuno_service);
@@ -3555,43 +3585,43 @@ var Gi = {
3555
3585
  code: 1e3,
3556
3586
  reason: "restarted",
3557
3587
  was_clean: !0
3558
- }, e), ai(t.gobj_timer)), t.websocket = Si(e), 0;
3588
+ }, e), pi(t.gobj_timer)), t.websocket = Ii(e), 0;
3559
3589
  },
3560
3590
  mt_stop: function(e) {
3561
3591
  let t = e.priv;
3562
- return ai(t.gobj_timer), t.websocket && Ni(e), 0;
3592
+ return pi(t.gobj_timer), t.websocket && ki(e), 0;
3563
3593
  },
3564
3594
  mt_destroy: function(e) {},
3565
3595
  mt_stats: function(e, t, n, r) {
3566
3596
  if ("ST_SESSION" !== cn(e)) return ir("Not in session"), null;
3567
3597
  n || (n = {});
3568
- let l = $i(e, jt(r), El(e, n, "service", null, 0)), o = vl(e, n, "__md_stats__", null, Vn.KW_EXTRACT);
3598
+ let l = Ui(e, jt(r), El(e, n, "service", null, 0)), o = vl(e, n, "__md_stats__", null, Vn.KW_EXTRACT);
3569
3599
  return o || (o = {}), Hl(e, n, "stats_stack", {
3570
3600
  stats: t,
3571
3601
  kw: o
3572
- }), Hl(e, n, hi, l), n.__stats__ = t, zl(e, n, "__stats__"), Ri(e, "EV_MT_STATS", n, r), null;
3602
+ }), Hl(e, n, wi, l), n.__stats__ = t, Ql(e, n, "__stats__"), Pi(e, "EV_MT_STATS", n, r), null;
3573
3603
  },
3574
3604
  mt_command_parser: function(e, t, n, r) {
3575
3605
  if ("ST_SESSION" !== cn(e)) return ir("Not in session"), null;
3576
3606
  n || (n = {});
3577
- let l = $i(e, jt(r), El(e, n, "service", "", 0)), o = vl(e, n, "__md_command__", null, Vn.KW_EXTRACT);
3607
+ let l = Ui(e, jt(r), El(e, n, "service", "", 0)), o = vl(e, n, "__md_command__", null, Vn.KW_EXTRACT);
3578
3608
  return o || (o = {}), Hl(e, n, "command_stack", {
3579
3609
  command: t,
3580
3610
  kw: o
3581
- }), Hl(e, n, hi, l), n.__command__ = t, zl(e, n, "__command__"), Ri(e, "EV_MT_COMMAND", n, r), null;
3611
+ }), Hl(e, n, wi, l), n.__command__ = t, Ql(e, n, "__command__"), Pi(e, "EV_MT_COMMAND", n, r), null;
3582
3612
  },
3583
3613
  mt_inject_event: function(e, t, n, r) {
3584
3614
  if ("ST_SESSION" !== cn(e)) return window.console.error("Not in session"), -1;
3585
- if (n = Dr({}, Yr(n) ? n : {}), Yr(n.__md_iev__) && (n.__md_iev__ = jr(n.__md_iev__)), Ql(e, n, hi));
3615
+ if (n = Dr({}, Yr(n) ? n : {}), Yr(n.__md_iev__) && (n.__md_iev__ = jr(n.__md_iev__)), zl(e, n, wi));
3586
3616
  else {
3587
- let l = $i(e, jt(r), El(e, n, "__service__", 0, 0));
3588
- Cr(n, "__service__"), Hl(e, n, "__message__", t), Hl(e, n, hi, l);
3617
+ let l = Ui(e, jt(r), El(e, n, "__service__", 0, 0));
3618
+ Cr(n, "__service__"), Hl(e, n, "__message__", t), Hl(e, n, wi, l);
3589
3619
  }
3590
- return zl(e, n, "__message__"), Ri(e, t, n, r);
3620
+ return Ql(e, n, "__message__"), Pi(e, t, n, r);
3591
3621
  },
3592
3622
  mt_subscription_added: function(e, t) {
3593
3623
  let n = e.priv;
3594
- return "ST_SESSION" === cn(e) && n.websocket ? n.inside_on_open ? 0 : Ai(e, t) : 0;
3624
+ return "ST_SESSION" === cn(e) && n.websocket ? n.inside_on_open ? 0 : Vi(e, t) : 0;
3595
3625
  },
3596
3626
  mt_subscription_deleted: function(e, t) {
3597
3627
  let n = e.priv;
@@ -3600,27 +3630,27 @@ var Gi = {
3600
3630
  if (tl(t.event)) return 0;
3601
3631
  let r = {}, l = t.__global__, o = t.__config__, i = t.__filter__, s = t.__service__, a = t.subscriber;
3602
3632
  o && (r.__config__ = o), l && (r.__global__ = l), i && (r.__filter__ = i);
3603
- return Hl(e, r, hi, $i(e, jt(a), s)), zl(e, r, "__unsubscribing__"), Ri(e, t.event, r, e);
3633
+ return Hl(e, r, wi, Ui(e, jt(a), s)), Ql(e, r, "__unsubscribing__"), Pi(e, t.event, r, e);
3604
3634
  }
3605
3635
  };
3606
- function Mi() {
3636
+ function Hi() {
3607
3637
  return function(e) {
3608
- if (Oi) return ir(`GClass ALREADY created: ${e}`), -1;
3638
+ if (Ai) return ir(`GClass ALREADY created: ${e}`), -1;
3609
3639
  const t = [
3610
3640
  ["ST_DISCONNECTED", [
3611
3641
  [
3612
3642
  "EV_ON_OPEN",
3613
- ki,
3643
+ Mi,
3614
3644
  "ST_WAIT_IDENTITY_CARD_ACK"
3615
3645
  ],
3616
3646
  [
3617
3647
  "EV_ON_CLOSE",
3618
- Ci,
3648
+ Wi,
3619
3649
  null
3620
3650
  ],
3621
3651
  [
3622
3652
  "EV_TIMEOUT",
3623
- Ii,
3653
+ Gi,
3624
3654
  null
3625
3655
  ],
3626
3656
  [
@@ -3632,22 +3662,22 @@ function Mi() {
3632
3662
  ["ST_WAIT_IDENTITY_CARD_ACK", [
3633
3663
  [
3634
3664
  "EV_ON_MESSAGE",
3635
- Ui,
3665
+ Yi,
3636
3666
  null
3637
3667
  ],
3638
3668
  [
3639
3669
  "EV_IDENTITY_CARD_ACK",
3640
- Pi,
3670
+ Ki,
3641
3671
  null
3642
3672
  ],
3643
3673
  [
3644
3674
  "EV_ON_CLOSE",
3645
- Ci,
3675
+ Wi,
3646
3676
  "ST_DISCONNECTED"
3647
3677
  ],
3648
3678
  [
3649
3679
  "EV_TIMEOUT",
3650
- Li,
3680
+ xi,
3651
3681
  null
3652
3682
  ],
3653
3683
  [
@@ -3659,22 +3689,22 @@ function Mi() {
3659
3689
  ["ST_SESSION", [
3660
3690
  [
3661
3691
  "EV_ON_MESSAGE",
3662
- Ui,
3692
+ Yi,
3663
3693
  null
3664
3694
  ],
3665
3695
  [
3666
3696
  "EV_MT_STATS",
3667
- Fi,
3697
+ Bi,
3668
3698
  null
3669
3699
  ],
3670
3700
  [
3671
3701
  "EV_MT_COMMAND",
3672
- Vi,
3702
+ Ji,
3673
3703
  null
3674
3704
  ],
3675
3705
  [
3676
3706
  "EV_ON_CLOSE",
3677
- Ci,
3707
+ Wi,
3678
3708
  "ST_DISCONNECTED"
3679
3709
  ],
3680
3710
  [
@@ -3685,7 +3715,7 @@ function Mi() {
3685
3715
  ]],
3686
3716
  [null, null]
3687
3717
  ];
3688
- return (Oi = Ae(e, [
3718
+ return (Ai = Ae(e, [
3689
3719
  ["EV_ON_MESSAGE", U.EVF_OUTPUT_EVENT],
3690
3720
  ["EV_IDENTITY_CARD_ACK", U.EVF_PUBLIC_EVENT],
3691
3721
  ["EV_ON_ID_NAK", U.EVF_PUBLIC_EVENT | U.EVF_OUTPUT_EVENT],
@@ -3696,9 +3726,9 @@ function Mi() {
3696
3726
  ["EV_ON_OPEN_ERROR", U.EVF_OUTPUT_EVENT | U.EVF_NO_WARN_SUBS],
3697
3727
  ["EV_TIMEOUT", 0],
3698
3728
  [null, 0]
3699
- ], t, Gi, 0, Ei, vi, 0, 0, yi, C.gcflag_no_check_output_events)) ? 0 : -1;
3729
+ ], t, qi, 0, ji, Di, 0, 0, Ri, C.gcflag_no_check_output_events)) ? 0 : -1;
3700
3730
  }("C_IEVENT_CLI");
3701
3731
  }
3702
- export { k as GObj, N as SDATA, $ as SDATAAUTHZ, w as SDATACM, j as SDATACM2, A as SDATADF, R as SDATAPM, D as SDATAPM0, S as SDATA_END, O as SDataDesc, a as YUNETA_VERSION, h as __yuno__, o as build_command_response, Ro as build_path, s as build_stats_response, No as clean_name, ai as clear_timeout, il as cmp_two_simple_json, l as command_parser, po as createElement2, bo as createOneHtml, uo as create_json_record, Zo as create_template_record, To as current_timestamp, T as data_type_t, xo as db_list_persistent_attrs, Go as db_load_persistent_attrs, Wo as db_remove_persistent_attrs, Mo as db_save_persistent_attrs, jo as debounce, Bl as delete_from_list, Rr as duplicate_objects, Kr as empty_json, tl as empty_string, fo as escapeHtml, U as event_flag_t, Lo as flat2json, Fo as flat_apply, Uo as flat_diff, Io as flat_key_join, ko as flat_key_split, Pe as gclass_add_ev_action, Fe as gclass_add_event_type, Le as gclass_add_state, Ge as gclass_check_fsm, Ae as gclass_create, Ve as gclass_event_type, Me as gclass_find_by_name, C as gclass_flag_t, Ie as gclass_unregister, mo as getPositionRelativeToBody, wo as get_function_name, vo as get_now, Lt as gobj_bottom_gobj, fn as gobj_change_parent, _n as gobj_change_state, Un as gobj_command, it as gobj_create, et as gobj_create2, rt as gobj_create_default_service, ot as gobj_create_pure_child, nt as gobj_create_service, lt as gobj_create_volatil, tt as gobj_create_yuno, cn as gobj_current_state, xe as gobj_default_service, yn as gobj_deliver_posted_events, st as gobj_destroy, Bt as gobj_find_child, Kt as gobj_find_gobj, Ke as gobj_find_service, Ln as gobj_find_subscribings, kn as gobj_find_subscriptions, L as gobj_flag_t, Dt as gobj_full_name, Rt as gobj_gclass_name, be as gobj_get_gclass_trace_level, pe as gobj_get_gclass_trace_level2, me as gobj_get_gclass_trace_no_level, ge as gobj_get_global_trace_level, de as gobj_get_global_trace_no_level, ue as gobj_global_trace_level, _e as gobj_global_trace_no_level, Qt as gobj_has_attr, dn as gobj_has_event, bn as gobj_has_output_event, Re as gobj_hsdata, Ct as gobj_is_destroying, vt as gobj_is_playing, kt as gobj_is_pure_child, Et as gobj_is_running, Tt as gobj_is_service, It as gobj_is_volatil, ze as gobj_list_persistent_attrs, Cn as gobj_list_subscriptions, qe as gobj_load_persistent_attrs, Jt as gobj_match_children, qt as gobj_match_children_tree, Yt as gobj_match_gobj, jt as gobj_name, At as gobj_parent, ht as gobj_pause, mt as gobj_play, hn as gobj_post_event, En as gobj_posted_events_size, Pn as gobj_publish_event, zt as gobj_read_attr, Xt as gobj_read_attrs, Zt as gobj_read_bool_attr, en as gobj_read_integer_attr, nn as gobj_read_pointer_attr, tn as gobj_read_str_attr, Qe as gobj_remove_persistent_attrs, Oe as gobj_repr_global_trace_levels, ln as gobj_reset_volatil_attrs, He as gobj_save_persistent_attrs, Ht as gobj_search_path, Tn as gobj_send_event, We as gobj_services, Pt as gobj_set_bottom_gobj, he as gobj_set_deep_trace, Te as gobj_set_gclass_no_trace, Ee as gobj_set_gclass_trace, ae as gobj_set_global_no_trace, fe as gobj_set_global_no_trace2, se as gobj_set_global_trace, ce as gobj_set_global_trace2, ve as gobj_set_gobj_no_trace, ye as gobj_set_gobj_trace, x as gobj_set_trace_machine_format, $t as gobj_short_name, at as gobj_start, _t as gobj_start_children, ft as gobj_start_tree, Se as gobj_start_up, Fn as gobj_stats, gt as gobj_stop, bt as gobj_stop_children, pt as gobj_stop_tree, Dn as gobj_subscribe_event, Z as gobj_trace_level, K as gobj_trace_machine_format, ee as gobj_trace_no_level, An as gobj_unsubscribe_event, In as gobj_unsubscribe_list, Ft as gobj_walk_gobj_children, Vt as gobj_walk_gobj_children_tree, rn as gobj_write_attr, on as gobj_write_attrs, sn as gobj_write_bool_attr, an as gobj_write_integer_attr, un as gobj_write_str_attr, Ot as gobj_yuno, wt as gobj_yuno_id, St as gobj_yuno_name, Nt as gobj_yuno_role, xl as id_index_in_obj_list, Oo as index_in_list, Br as is_array, Hr as is_boolean, Xr as is_date, Zr as is_function, el as is_gobj, al as is_metadata_key, Qr as is_null, qr as is_number, Yr as is_object, ul as is_private_key, zr as is_pure_number, br as is_secret_name, Jr as is_string, lo as jdb_delete, io as jdb_get, so as jdb_get_by_idx, oo as jdb_get_topic, no as jdb_init, ro as jdb_update, Co as json2flat, Ur as json_array_append, Fr as json_array_append_new, Gr as json_array_extend, Vr as json_array_remove, Wr as json_array_size, jr as json_deep_copy, $r as json_is_identical, Nr as json_mask_secrets, Cr as json_object_del, kr as json_object_get, Lr as json_object_set, Pr as json_object_set_new, Mr as json_object_size, Dr as json_object_update, Ar as json_object_update_existing, Ir as json_object_update_missing, xr as json_size, co as jwt2json, _o as jwtDecode, Al as kw_clone_by_keys, Il as kw_clone_by_not_keys, Dl as kw_collect, bl as kw_delete, Rl as kw_find_json_in_list, dl as kw_find_path, Vn as kw_flag_t, pl as kw_get_bool, Tl as kw_get_dict, vl as kw_get_dict_value, ml as kw_get_int, Ol as kw_get_list, kl as kw_get_local_storage_value, yl as kw_get_pointer, hl as kw_get_real, El as kw_get_str, cl as kw_has_key, jl as kw_match_simple, _l as kw_pop, Ll as kw_remove_local_storage_value, $l as kw_select, Sl as kw_set_dict_value, Cl as kw_set_local_storage_value, Nl as kw_set_subdict_value, Ul as kwid_collect, Gl as kwid_find_one_record, Ml as kwid_get_ids, Pl as kwid_match_id, Fl as kwid_new_dict, Vl as kwid_new_list, Wl as list2options, Zl as load_json_file, ur as log_debug, ir as log_error, ar as log_info, sr as log_warning, yr as mask_secrets_inline, Xl as msg_iev_get_msg_type, Ql as msg_iev_get_stack, Hl as msg_iev_push_stack, Jl as msg_iev_read_key, zl as msg_iev_set_msg_type, ql as msg_iev_write_key, So as node_uuid, nl as parseBoolean, ho as parseSVG, Eo as refresh_language, Mi as register_c_ievent_cli, oi as register_c_timer, mi as register_c_yuno, go as safeSrc, v as sdata_flag_t, eo as send_http_json_post, Qn as set_console_log_enabled, Xn as set_console_log_filter, qn as set_log_callback, rr as set_remote_log_functions, ii as set_timeout, si as set_timeout_periodic, t as sprintf, i as stats_parser, Kl as str_in_list, ol as strcasecmp, ll as strcmp, rl as strncmp, Yl as strs_in_list, sl as strstr, Xo as template_get_field_desc, yo as timeTracker, cr as trace_json, wr as trace_json_masked, B as trace_level_t, _r as trace_msg, Yo as treedb_decoder_fkey, Jo as treedb_decoder_hook, Bo as treedb_encoder_fkey, zo as treedb_get_field_desc, Ko as treedb_hook_data_size, n as vsprintf, F as walk_type_t };
3732
+ export { k as GObj, N as SDATA, $ as SDATAAUTHZ, w as SDATACM, j as SDATACM2, A as SDATADF, R as SDATAPM, D as SDATAPM0, S as SDATA_END, O as SDataDesc, a as YUNETA_VERSION, h as __yuno__, o as build_command_response, Po as build_path, s as build_stats_response, ko as clean_name, pi as clear_timeout, il as cmp_two_simple_json, l as command_parser, So as createElement2, Oo as createOneHtml, uo as create_json_record, si as create_template_record, $o as current_timestamp, T as data_type_t, Qo as db_list_persistent_attrs, qo as db_load_persistent_attrs, zo as db_remove_persistent_attrs, Ho as db_save_persistent_attrs, Lo as debounce, Bl as delete_from_list, Rr as duplicate_objects, Kr as empty_json, tl as empty_string, fo as escapeHtml, U as event_flag_t, xo as flat2json, Bo as flat_apply, Yo as flat_diff, Go as flat_key_join, Mo as flat_key_split, Pe as gclass_add_ev_action, Fe as gclass_add_event_type, Le as gclass_add_state, Ge as gclass_check_fsm, Ae as gclass_create, Ve as gclass_event_type, Me as gclass_find_by_name, C as gclass_flag_t, Ie as gclass_unregister, No as getPositionRelativeToBody, Co as get_function_name, Do as get_now, Lt as gobj_bottom_gobj, fn as gobj_change_parent, _n as gobj_change_state, Un as gobj_command, it as gobj_create, et as gobj_create2, rt as gobj_create_default_service, ot as gobj_create_pure_child, nt as gobj_create_service, lt as gobj_create_volatil, tt as gobj_create_yuno, cn as gobj_current_state, xe as gobj_default_service, yn as gobj_deliver_posted_events, st as gobj_destroy, Bt as gobj_find_child, Kt as gobj_find_gobj, Ke as gobj_find_service, Ln as gobj_find_subscribings, kn as gobj_find_subscriptions, L as gobj_flag_t, Dt as gobj_full_name, Rt as gobj_gclass_name, be as gobj_get_gclass_trace_level, pe as gobj_get_gclass_trace_level2, me as gobj_get_gclass_trace_no_level, ge as gobj_get_global_trace_level, de as gobj_get_global_trace_no_level, ue as gobj_global_trace_level, _e as gobj_global_trace_no_level, zt as gobj_has_attr, dn as gobj_has_event, bn as gobj_has_output_event, Re as gobj_hsdata, Ct as gobj_is_destroying, vt as gobj_is_playing, kt as gobj_is_pure_child, Et as gobj_is_running, Tt as gobj_is_service, It as gobj_is_volatil, Qe as gobj_list_persistent_attrs, Cn as gobj_list_subscriptions, qe as gobj_load_persistent_attrs, Jt as gobj_match_children, qt as gobj_match_children_tree, Yt as gobj_match_gobj, jt as gobj_name, At as gobj_parent, ht as gobj_pause, mt as gobj_play, hn as gobj_post_event, En as gobj_posted_events_size, Pn as gobj_publish_event, Qt as gobj_read_attr, Xt as gobj_read_attrs, Zt as gobj_read_bool_attr, en as gobj_read_integer_attr, nn as gobj_read_pointer_attr, tn as gobj_read_str_attr, ze as gobj_remove_persistent_attrs, Oe as gobj_repr_global_trace_levels, ln as gobj_reset_volatil_attrs, He as gobj_save_persistent_attrs, Ht as gobj_search_path, Tn as gobj_send_event, We as gobj_services, Pt as gobj_set_bottom_gobj, he as gobj_set_deep_trace, Te as gobj_set_gclass_no_trace, Ee as gobj_set_gclass_trace, ae as gobj_set_global_no_trace, fe as gobj_set_global_no_trace2, se as gobj_set_global_trace, ce as gobj_set_global_trace2, ve as gobj_set_gobj_no_trace, ye as gobj_set_gobj_trace, x as gobj_set_trace_machine_format, $t as gobj_short_name, at as gobj_start, _t as gobj_start_children, ft as gobj_start_tree, Se as gobj_start_up, Fn as gobj_stats, gt as gobj_stop, bt as gobj_stop_children, pt as gobj_stop_tree, Dn as gobj_subscribe_event, Z as gobj_trace_level, K as gobj_trace_machine_format, ee as gobj_trace_no_level, An as gobj_unsubscribe_event, In as gobj_unsubscribe_list, Ft as gobj_walk_gobj_children, Vt as gobj_walk_gobj_children_tree, rn as gobj_write_attr, on as gobj_write_attrs, sn as gobj_write_bool_attr, an as gobj_write_integer_attr, un as gobj_write_str_attr, Ot as gobj_yuno, wt as gobj_yuno_id, St as gobj_yuno_name, Nt as gobj_yuno_role, po as html_markup, xl as id_index_in_obj_list, Ao as index_in_list, Br as is_array, Hr as is_boolean, Xr as is_date, Zr as is_function, el as is_gobj, mo as is_html_markup, al as is_metadata_key, zr as is_null, qr as is_number, Yr as is_object, ul as is_private_key, Qr as is_pure_number, br as is_secret_name, Jr as is_string, lo as jdb_delete, io as jdb_get, so as jdb_get_by_idx, oo as jdb_get_topic, no as jdb_init, ro as jdb_update, Wo as json2flat, Ur as json_array_append, Fr as json_array_append_new, Gr as json_array_extend, Vr as json_array_remove, Wr as json_array_size, jr as json_deep_copy, $r as json_is_identical, Nr as json_mask_secrets, Cr as json_object_del, kr as json_object_get, Lr as json_object_set, Pr as json_object_set_new, Mr as json_object_size, Dr as json_object_update, Ar as json_object_update_existing, Ir as json_object_update_missing, xr as json_size, co as jwt2json, _o as jwtDecode, Al as kw_clone_by_keys, Il as kw_clone_by_not_keys, Dl as kw_collect, bl as kw_delete, Rl as kw_find_json_in_list, dl as kw_find_path, Vn as kw_flag_t, pl as kw_get_bool, Tl as kw_get_dict, vl as kw_get_dict_value, ml as kw_get_int, Ol as kw_get_list, kl as kw_get_local_storage_value, yl as kw_get_pointer, hl as kw_get_real, El as kw_get_str, cl as kw_has_key, jl as kw_match_simple, _l as kw_pop, Ll as kw_remove_local_storage_value, $l as kw_select, Sl as kw_set_dict_value, Cl as kw_set_local_storage_value, Nl as kw_set_subdict_value, Ul as kwid_collect, Gl as kwid_find_one_record, Ml as kwid_get_ids, Pl as kwid_match_id, Fl as kwid_new_dict, Vl as kwid_new_list, Wl as list2options, Zl as load_json_file, ur as log_debug, ir as log_error, ar as log_info, sr as log_warning, yr as mask_secrets_inline, Xl as msg_iev_get_msg_type, zl as msg_iev_get_stack, Hl as msg_iev_push_stack, Jl as msg_iev_read_key, Ql as msg_iev_set_msg_type, ql as msg_iev_write_key, Io as node_uuid, nl as parseBoolean, wo as parseSVG, jo as refresh_language, Hi as register_c_ievent_cli, gi as register_c_timer, Ni as register_c_yuno, go as safeSrc, v as sdata_flag_t, eo as send_http_json_post, zn as set_console_log_enabled, Xn as set_console_log_filter, qn as set_log_callback, rr as set_remote_log_functions, To as set_strings_are_text, di as set_timeout, bi as set_timeout_periodic, t as sprintf, i as stats_parser, Kl as str_in_list, ol as strcasecmp, ll as strcmp, vo as strings_are_text, rl as strncmp, Yl as strs_in_list, sl as strstr, ii as template_get_field_desc, Ro as timeTracker, cr as trace_json, wr as trace_json_masked, B as trace_level_t, _r as trace_msg, Zo as treedb_decoder_fkey, ti as treedb_decoder_hook, ei as treedb_encoder_fkey, oi as treedb_get_field_desc, Xo as treedb_hook_data_size, n as vsprintf, F as walk_type_t };
3703
3733
 
3704
3734
  //# sourceMappingURL=gobj-js.es.min.js.map