@yuneta/gobj-js 7.26.11 → 7.26.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/gobj-js.cjs.js +16 -6
- package/dist/gobj-js.cjs.js.map +1 -1
- package/dist/gobj-js.cjs.min.js +76 -73
- package/dist/gobj-js.cjs.min.js.map +1 -1
- package/dist/gobj-js.es.js +16 -6
- package/dist/gobj-js.es.js.map +1 -1
- package/dist/gobj-js.es.min.js +165 -162
- package/dist/gobj-js.es.min.js.map +1 -1
- package/dist/gobj-js.iife.js +16 -6
- package/dist/gobj-js.iife.js.map +1 -1
- package/dist/gobj-js.iife.min.js +90 -87
- package/dist/gobj-js.iife.min.js.map +1 -1
- package/dist/gobj-js.umd.js +16 -6
- package/dist/gobj-js.umd.js.map +1 -1
- package/dist/gobj-js.umd.min.js +90 -87
- package/dist/gobj-js.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/gobj-js.cjs.min.js
CHANGED
|
@@ -194,12 +194,12 @@ var E = class {
|
|
|
194
194
|
obflag_destroying: 1,
|
|
195
195
|
obflag_destroyed: 2,
|
|
196
196
|
obflag_created: 4
|
|
197
|
-
}),
|
|
197
|
+
}), $ = Object.freeze({
|
|
198
198
|
EVF_NO_WARN_SUBS: 1,
|
|
199
199
|
EVF_OUTPUT_EVENT: 2,
|
|
200
200
|
EVF_SYSTEM_EVENT: 4,
|
|
201
201
|
EVF_PUBLIC_EVENT: 8
|
|
202
|
-
}),
|
|
202
|
+
}), R = Object.freeze({
|
|
203
203
|
WALK_TOP2BOTTOM: 1,
|
|
204
204
|
WALK_BOTTOM2TOP: 2,
|
|
205
205
|
WALK_BYLEVEL: 4,
|
|
@@ -629,7 +629,7 @@ function ve(e) {
|
|
|
629
629
|
}
|
|
630
630
|
for (let n = 0; n < e.dl_events.length; n++) {
|
|
631
631
|
let r = e.dl_events[n];
|
|
632
|
-
if (!lr(r.event_name) && (tr(r.event_flag) || (mn(`SMachine: event flag is NOT number: gclass ${e.gclass_name}, event ${r.event_name}`), t += -1), !(r.event_flag &
|
|
632
|
+
if (!lr(r.event_name) && (tr(r.event_flag) || (mn(`SMachine: event flag is NOT number: gclass ${e.gclass_name}, event ${r.event_name}`), t += -1), !(r.event_flag & $.EVF_OUTPUT_EVENT))) {
|
|
633
633
|
let n = !1;
|
|
634
634
|
for (let t = 0; t < e.dl_states.length; t++) {
|
|
635
635
|
let o = e.dl_states[t];
|
|
@@ -662,11 +662,11 @@ function we(e) {
|
|
|
662
662
|
function Ne(e, t) {
|
|
663
663
|
t.parent && mn(`_add_child() ALREADY HAS PARENT: ${t.gobj_name}`), e.dl_children.push(t), t.parent = e;
|
|
664
664
|
}
|
|
665
|
-
function
|
|
665
|
+
function $e(e, t) {
|
|
666
666
|
let n = eo(e.dl_children, t);
|
|
667
667
|
n >= 0 && (qn(e.dl_children, n), t.parent = null);
|
|
668
668
|
}
|
|
669
|
-
function
|
|
669
|
+
function Re(e, t) {
|
|
670
670
|
return Ye(e) ? i ? i(e, t) : -1 : (mn(`${Ze(e)}: Only gobj services can load/save writable-persistent`), -1);
|
|
671
671
|
}
|
|
672
672
|
function xe(e, t) {
|
|
@@ -731,7 +731,7 @@ function Ie(e) {
|
|
|
731
731
|
r && r.gclass.gmt.mt_child_removed && (n && I(t("👦👦🔴 child_removed(%s): %s", et(r), Ze(e))), r.gclass.gmt.mt_child_removed(r, e)), e.gobj_flag & w.gobj_flag_service && function(e) {
|
|
732
732
|
let t = Qe(e);
|
|
733
733
|
t = t.toLowerCase(), p[t] ? delete p[t] : mn(`"service NOT found in register": ${t}`);
|
|
734
|
-
}(e), e === b && (b = null), qt(e, e.dl_subscriptions, !0), qt(e, e.dl_subscribings, !0), r && (
|
|
734
|
+
}(e), e === b && (b = null), qt(e, e.dl_subscriptions, !0), qt(e, e.dl_subscribings, !0), r && ($e(r, e), nt(e) && (st(r) !== e || ot(r) || lt(r, null))), function(e) {
|
|
735
735
|
let t = e.dl_children.slice();
|
|
736
736
|
for (let e = 0; e < t.length; e++) {
|
|
737
737
|
let n = t[e];
|
|
@@ -764,7 +764,7 @@ function Fe(e, t, n) {
|
|
|
764
764
|
return We(e) && Ue(e), 0;
|
|
765
765
|
}
|
|
766
766
|
function Ve(e) {
|
|
767
|
-
return ot(e) ? (mn("gobj NULL or DESTROYED"), -1) : _t(e,
|
|
767
|
+
return ot(e) ? (mn("gobj NULL or DESTROYED"), -1) : _t(e, R.WALK_FIRST2LAST, Fe, 0, 0);
|
|
768
768
|
}
|
|
769
769
|
function Ge(e) {
|
|
770
770
|
if (ot(e)) return mn(`gobj NULL or DESTROYED: ${Ze(e)}`), -1;
|
|
@@ -856,7 +856,7 @@ function ut(e) {
|
|
|
856
856
|
}
|
|
857
857
|
function ct(e, t, n, r, o) {
|
|
858
858
|
let s, l = [...e];
|
|
859
|
-
if (t &
|
|
859
|
+
if (t & R.WALK_LAST2FIRST) for (let e = l.length; e > 0; e--) {
|
|
860
860
|
s = l[e - 1];
|
|
861
861
|
let t = ut(n(s, r, o));
|
|
862
862
|
if (t < 0) return t;
|
|
@@ -871,15 +871,15 @@ function ct(e, t, n, r, o) {
|
|
|
871
871
|
function ft(e, t, n, r, o) {
|
|
872
872
|
let s, l = ct(e, t, n, r, o);
|
|
873
873
|
if (l < 0) return l;
|
|
874
|
-
if (t &
|
|
874
|
+
if (t & R.WALK_LAST2FIRST) {
|
|
875
875
|
for (let i = e.length; i > 0; i--) if (s = e[i - 1], l = ft([...s.dl_children], t, n, r, o), l < 0) return l;
|
|
876
876
|
} else for (let i = 0; i < e.length; i++) if (s = e[i], l = ft([...s.dl_children], t, n, r, o), l < 0) return l;
|
|
877
877
|
return l;
|
|
878
878
|
}
|
|
879
879
|
function gt(e, t, n, r, o) {
|
|
880
|
-
if (t &
|
|
880
|
+
if (t & R.WALK_BYLEVEL) return ft(e, t, n, r, o);
|
|
881
881
|
let s, l;
|
|
882
|
-
if (t &
|
|
882
|
+
if (t & R.WALK_BOTTOM2TOP) for (let i = e.length; i > 0; i--) {
|
|
883
883
|
if (l = e[i - 1], s = gt([...l.dl_children], t, n, r, o), s < 0) return s;
|
|
884
884
|
if (s = ut(n(l, r, o)), s < 0) return s;
|
|
885
885
|
}
|
|
@@ -1016,11 +1016,11 @@ function Nt(e, t, n) {
|
|
|
1016
1016
|
let r = ce(e, t, !1);
|
|
1017
1017
|
return r ? (r[t] = parseInt(n), Xn(e.priv) && Object.prototype.hasOwnProperty.call(e.priv, t) && (e.priv[t] = r[t]), e.obflag & N.obflag_created && !(e.obflag & N.obflag_destroyed) && e.gclass.gmt.mt_writing && e.gclass.gmt.mt_writing(e, t), 0) : (mn(`${Ze(e)}: GClass Attribute NOT FOUND, attr ${t}`), -1);
|
|
1018
1018
|
}
|
|
1019
|
-
function
|
|
1019
|
+
function $t(e, t, n) {
|
|
1020
1020
|
let r = ce(e, t, !1);
|
|
1021
1021
|
return r ? (r[t] = String(n), Xn(e.priv) && Object.prototype.hasOwnProperty.call(e.priv, t) && (e.priv[t] = r[t]), e.obflag & N.obflag_created && !(e.obflag & N.obflag_destroyed) && e.gclass.gmt.mt_writing && e.gclass.gmt.mt_writing(e, t), 0) : (mn(`${Ze(e)}: GClass Attribute NOT FOUND, attr ${t}`), -1);
|
|
1022
1022
|
}
|
|
1023
|
-
function
|
|
1023
|
+
function Rt(e, n) {
|
|
1024
1024
|
if (ot(e)) return mn("gobj NULL or DESTROYED"), null;
|
|
1025
1025
|
if (e.current_state.state_name === n) return !1;
|
|
1026
1026
|
let r = de(e.gclass, n);
|
|
@@ -1053,7 +1053,7 @@ function kt(e, t, n) {
|
|
|
1053
1053
|
}
|
|
1054
1054
|
function At(e, t, n) {
|
|
1055
1055
|
let r = Dt(e, t, !1);
|
|
1056
|
-
return !!r && !(n && !(r.event_flag & n)) && !!(r.event_flag &
|
|
1056
|
+
return !!r && !(n && !(r.event_flag & n)) && !!(r.event_flag & $.EVF_OUTPUT_EVENT);
|
|
1057
1057
|
}
|
|
1058
1058
|
var It = [], Ct = !1;
|
|
1059
1059
|
function Lt(e, n, r, o) {
|
|
@@ -1099,7 +1099,7 @@ function Ut(e, n, r, o) {
|
|
|
1099
1099
|
}
|
|
1100
1100
|
r && J(e) && Hn(r) && Ln(r);
|
|
1101
1101
|
}
|
|
1102
|
-
i.next_state &&
|
|
1102
|
+
i.next_state && Rt(e, i.next_state);
|
|
1103
1103
|
let _ = -1;
|
|
1104
1104
|
try {
|
|
1105
1105
|
i.action && (_ = i.action(e, n, r, o));
|
|
@@ -1210,7 +1210,7 @@ function Jt(e, n, r, o) {
|
|
|
1210
1210
|
if (Object.keys(r).forEach((t) => {
|
|
1211
1211
|
s.has(t) || mn(`${Ze(e)}: key ignored in subscription (key: ${t}, event: ${n})`);
|
|
1212
1212
|
}), lr(n)) n = "";
|
|
1213
|
-
else if (!(At(e, n,
|
|
1213
|
+
else if (!(At(e, n, $.EVF_OUTPUT_EVENT) || e.gclass.gclass_flag & S.gcflag_no_check_output_events)) return mn(`event NOT in output event list: ${Ze(e)}, ${n}`), 0;
|
|
1214
1214
|
let l = Mt(r, n), i = Kt(e.dl_subscriptions, e, n, l.renamed_event, l.kw, o), _ = null;
|
|
1215
1215
|
for (let t = 0; t < i.length; t++) if (yr(e, i[t], "subs_flag", 0, Xt.KW_REQUIRED) & Ft.__hard_subscription__) {
|
|
1216
1216
|
_ = i[t];
|
|
@@ -1271,7 +1271,7 @@ function Qt(e, n, r) {
|
|
|
1271
1271
|
if (Xn(r) || (r = {}), !e || e.obflag & (N.obflag_destroyed | N.obflag_destroying)) return mn("gobj NULL or DESTROYED"), -1;
|
|
1272
1272
|
if (lr(n)) return mn(`${Ze(e)}: event EMPTY`), -1;
|
|
1273
1273
|
let o = Dt(e, n, !0);
|
|
1274
|
-
if (!(o && o.event_flag & (
|
|
1274
|
+
if (!(o && o.event_flag & ($.EVF_SYSTEM_EVENT | $.EVF_OUTPUT_EVENT) || e.gclass.gclass_flag & S.gcflag_no_check_output_events)) return mn(`event NOT in output event list: ${Ze(e)}, ev ${n}`), -1;
|
|
1275
1275
|
let s = (Y(e) || q(e, n)) && !H(e, n);
|
|
1276
1276
|
if (s && (I(1 === A ? t("🔝🔝 %s %s%s %s", n || "", e.running ? "" : "!!", Ze(e), e.current_state.state_name) : t("🔝🔝 mach(%s%s^%s), st: %s, ev: %s%s%s", e.running ? "" : "!!", Xe(e), Qe(e), e.current_state.state_name, "", n || "", "")), J(e) && Hn(r) && Ln(r)), e.gclass.gmt.mt_publish_event) {
|
|
1277
1277
|
let t = e.gclass.gmt.mt_publish_event(e, n, r);
|
|
@@ -1296,7 +1296,7 @@ function Qt(e, n, r) {
|
|
|
1296
1296
|
if (e.gclass.gmt.mt_publication_filter ? p = e.gclass.gmt.mt_publication_filter(e, n, r, u) : Qn(f) > 0 && (p = Nr(r, f) ? 1 : 0, s && (I(t("💜💜🔄%s publishing with filter, event '%s', subscriber'%s', publisher %s", p ? "👍" : "👎", n || "", Ze(u), Ze(e))), Tn(f))), p < 0) break;
|
|
1297
1297
|
if (!p) continue;
|
|
1298
1298
|
let d = Dt(u, n, !0);
|
|
1299
|
-
if (d && d.event_flag &
|
|
1299
|
+
if (d && d.event_flag & $.EVF_SYSTEM_EVENT && !kt(u, d.event_name, 0)) continue;
|
|
1300
1300
|
let b = r;
|
|
1301
1301
|
(Qn(l) > 0 || Qn(o) > 0) && (b = Fn({}, r)), Qn(l) > 0 && cr(b, l), Qn(o) > 0 && Fn(b, Pn(o)), s && (I(1 === A ? t("🔝🔄 %s (%s) %s%s", n || "", g || "", u.running ? "" : "!!", Ze(u)) : t("🔝🔄 mach(%s%s), st: %s, ev: %s (%s), from(%s%s)", u.running ? "" : "!!", Ze(u), xt(u), n || "", g || "", e && !e.running ? "!!" : "", Ze(e))), J(e) && Hn(b) && Ln(b));
|
|
1302
1302
|
let m = Ut(u, g, b, e);
|
|
@@ -1307,7 +1307,7 @@ function Qt(e, n, r) {
|
|
|
1307
1307
|
if (_ += m, i++, ot(e)) break;
|
|
1308
1308
|
}
|
|
1309
1309
|
}
|
|
1310
|
-
return i || o && o.event_flag &
|
|
1310
|
+
return i || o && o.event_flag & $.EVF_NO_WARN_SUBS || hn(`${Ze(e)}: Publish event WITHOUT subscribers, ev ${n}`), _;
|
|
1311
1311
|
}
|
|
1312
1312
|
var Xt = Object.freeze({
|
|
1313
1313
|
KW_REQUIRED: 1,
|
|
@@ -1494,10 +1494,10 @@ function wn(e, t, n) {
|
|
|
1494
1494
|
s = t;
|
|
1495
1495
|
}
|
|
1496
1496
|
}
|
|
1497
|
-
var Nn = 128,
|
|
1497
|
+
var Nn = 128, $n = 4194304, Rn = "<not shown: too large to mask>";
|
|
1498
1498
|
function xn(e) {
|
|
1499
1499
|
if ("string" != typeof e || e.indexOf("=") < 0) return null;
|
|
1500
|
-
if (e.length >
|
|
1500
|
+
if (e.length > $n) return Rn;
|
|
1501
1501
|
let t, n = !1, r = /(^|[ \t])attribute=["']?([^ \t"']*)/g;
|
|
1502
1502
|
for (; null !== (t = r.exec(e));) Sn(t[2].slice(-128)) && (n = !0);
|
|
1503
1503
|
let o = [], s = 0, l = !1, i = "", _ = 0, a = 0;
|
|
@@ -1531,7 +1531,7 @@ var Dn = 64, kn = "<not shown: the masking failed>";
|
|
|
1531
1531
|
var An = Symbol("mask-in-progress");
|
|
1532
1532
|
function In(e, t, n, r) {
|
|
1533
1533
|
if ("string" == typeof e) {
|
|
1534
|
-
if (e.length > r.left) return r.left = 0,
|
|
1534
|
+
if (e.length > r.left) return r.left = 0, Rn;
|
|
1535
1535
|
r.left -= e.length;
|
|
1536
1536
|
let t = xn(e);
|
|
1537
1537
|
return null !== t ? t : e;
|
|
@@ -1542,7 +1542,7 @@ function In(e, t, n, r) {
|
|
|
1542
1542
|
let t = Object.getPrototypeOf(e);
|
|
1543
1543
|
return t === Object.prototype || null === t;
|
|
1544
1544
|
}(e)) return e;
|
|
1545
|
-
if (r.left <= 0) return
|
|
1545
|
+
if (r.left <= 0) return Rn;
|
|
1546
1546
|
if (t.has(e)) {
|
|
1547
1547
|
let n = t.get(e);
|
|
1548
1548
|
return n === An ? "<cycle>" : n;
|
|
@@ -1561,7 +1561,7 @@ function In(e, t, n, r) {
|
|
|
1561
1561
|
let _ = In(e[o], t, n + 1, r);
|
|
1562
1562
|
_ !== e[o] && (l = !0), s.push(_);
|
|
1563
1563
|
}
|
|
1564
|
-
i && s.push(
|
|
1564
|
+
i && s.push(Rn);
|
|
1565
1565
|
} else {
|
|
1566
1566
|
s = Object.create(Object.getPrototypeOf(e));
|
|
1567
1567
|
let o = "string" == typeof e.attribute && Sn(e.attribute.slice(-128));
|
|
@@ -1575,13 +1575,13 @@ function In(e, t, n, r) {
|
|
|
1575
1575
|
let a, u = e[_];
|
|
1576
1576
|
a = (Sn(_.slice(-128)) || o && "value" === _) && null != u && "" !== u ? "********" : In(u, t, n + 1, r), a !== u && (l = !0), pr(s, _, a);
|
|
1577
1577
|
}
|
|
1578
|
-
i && (s["<more>"] =
|
|
1578
|
+
i && (s["<more>"] = Rn);
|
|
1579
1579
|
}
|
|
1580
1580
|
return l || i || (s = e), t.set(e, s), s;
|
|
1581
1581
|
}
|
|
1582
1582
|
function Cn(e) {
|
|
1583
1583
|
try {
|
|
1584
|
-
return In(e, /* @__PURE__ */ new WeakMap(), 0, { left:
|
|
1584
|
+
return In(e, /* @__PURE__ */ new WeakMap(), 0, { left: $n });
|
|
1585
1585
|
} catch (e) {
|
|
1586
1586
|
return kn;
|
|
1587
1587
|
}
|
|
@@ -1862,6 +1862,7 @@ function Or(e, t, n, r) {
|
|
|
1862
1862
|
if (e && !sr(e) && mn("GObj bad instanceof"), !Xn(t)) return mn("kw is not an object"), -1;
|
|
1863
1863
|
if (!er(n)) return mn(`${e ? Ze(e) + ": " : ""}kw_set_dict_value(): path must be a string: ${String(n)}`), -1;
|
|
1864
1864
|
if ("" === n) return mn((e ? Ze(e) + ": " : "") + "kw_set_dict_value(): path empty"), -1;
|
|
1865
|
+
if (n.split("`").includes("")) return mn(`${e ? Ze(e) + ": " : ""}kw_set_dict_value(): empty segment in path: '${n}'`), -1;
|
|
1865
1866
|
let o = n.split("`"), s = o.length;
|
|
1866
1867
|
for (let l = 0; l < s; l++) {
|
|
1867
1868
|
let i = o[l];
|
|
@@ -1934,7 +1935,7 @@ function wr(e, n, r) {
|
|
|
1934
1935
|
function Nr(e, t) {
|
|
1935
1936
|
return 0 === Qn(t) || wr(e, t, "");
|
|
1936
1937
|
}
|
|
1937
|
-
function
|
|
1938
|
+
function $r(e, t, n, r) {
|
|
1938
1939
|
e && !sr(e) && mn("GObj bad instanceof");
|
|
1939
1940
|
let o = {};
|
|
1940
1941
|
if (er(n) && !lr(n)) {
|
|
@@ -1950,7 +1951,7 @@ function Rr(e, t, n, r) {
|
|
|
1950
1951
|
}
|
|
1951
1952
|
return o;
|
|
1952
1953
|
}
|
|
1953
|
-
function
|
|
1954
|
+
function Rr(e, t, n, r) {
|
|
1954
1955
|
let o = {};
|
|
1955
1956
|
if (!Xn(t)) return o;
|
|
1956
1957
|
if (Fn(o, t), er(n) && !lr(n)) {
|
|
@@ -2408,23 +2409,23 @@ var jo = [
|
|
|
2408
2409
|
], Oo = { gobj_timer: null }, So = null;
|
|
2409
2410
|
function wo(e, t, n, r) {
|
|
2410
2411
|
let o = ht(e, t);
|
|
2411
|
-
return Xn(o) || (o = {}), o[n] = r, Ot(e, t, o),
|
|
2412
|
+
return Xn(o) || (o = {}), o[n] = r, Ot(e, t, o), Re(e, t);
|
|
2412
2413
|
}
|
|
2413
2414
|
function No(e) {
|
|
2414
2415
|
if (!0 === e || !1 === e) return e;
|
|
2415
2416
|
let t = String(null == e ? "" : e).toLowerCase();
|
|
2416
2417
|
return "true" === t || "set" === t || "false" !== t && "reset" !== t && ("" === t || isNaN(Number(t)) ? null : !!Number(t));
|
|
2417
2418
|
}
|
|
2418
|
-
function
|
|
2419
|
+
function $o() {
|
|
2419
2420
|
return `${He()}^${qe()}`;
|
|
2420
2421
|
}
|
|
2421
|
-
function
|
|
2422
|
+
function Ro(e, t, n, r) {
|
|
2422
2423
|
return Qt(e, t, n), 0;
|
|
2423
2424
|
}
|
|
2424
2425
|
var xo = {
|
|
2425
2426
|
mt_create: function(e) {
|
|
2426
2427
|
let t = e.priv;
|
|
2427
|
-
|
|
2428
|
+
$t(e, "start_date", Zr()), $t(e, "node_uuid", to()), e.priv.gobj_timer = Ae(Qe(e), "C_TIMER", {}, e), t.periodic_timeout = ht(e, "periodic_timeout"), function(e) {
|
|
2428
2429
|
let t = ht(e, "trace_levels");
|
|
2429
2430
|
if (!Xn(t)) return 0;
|
|
2430
2431
|
let n = t.__global_trace__;
|
|
@@ -2479,19 +2480,19 @@ var xo = {
|
|
|
2479
2480
|
case "set-global-trace":
|
|
2480
2481
|
case "set-global-no-trace": {
|
|
2481
2482
|
let o = "set-global-no-trace" === t, s = n.level, l = No(n.set);
|
|
2482
|
-
return s ? null === l ? r(0, -1, `${
|
|
2483
|
+
return s ? null === l ? r(0, -1, `${$o()}: bitmask set or re-set?`, null, null) : (o ? Q(s, l) : z(s, l)) < 0 ? r(0, -1, `${$o()}: global trace level not found: ${s}`, null, null) : o ? (wo(e, "no_trace_levels", "__global_no_trace__", te()), r(0, 0, null, null, te())) : (wo(e, "trace_levels", "__global_trace__", ee()), r(0, 0, null, null, ee())) : r(0, -1, `${$o()}: what level?`, null, null);
|
|
2483
2484
|
}
|
|
2484
2485
|
case "get-gclass-trace":
|
|
2485
2486
|
case "get-gclass-no-trace":
|
|
2486
2487
|
case "set-gclass-trace":
|
|
2487
2488
|
case "set-gclass-no-trace": {
|
|
2488
2489
|
let o = t.indexOf("no-trace") >= 0, s = n.gclass_name || n.gclass || "", l = je(s);
|
|
2489
|
-
if (!l) return r(0, -1, `${
|
|
2490
|
+
if (!l) return r(0, -1, `${$o()}: what gclass is '${s}'?`, null, null);
|
|
2490
2491
|
if (0 === t.indexOf("get-")) return r(0, 0, null, null, o ? oe(l) : ne(l));
|
|
2491
2492
|
let i = n.level, _ = No(n.set);
|
|
2492
|
-
return i ? null === _ ? r(0, -1, `${
|
|
2493
|
+
return i ? null === _ ? r(0, -1, `${$o()}: bitmask set or re-set?`, null, null) : (o ? le(l, i, _) : se(l, i, _)) < 0 ? r(0, -1, `${$o()}: trace level of ${s} not found: ${i}`, null, null) : o ? (wo(e, "no_trace_levels", s, oe(l)), r(0, 0, null, null, oe(l))) : (wo(e, "trace_levels", s, re(l)), r(0, 0, null, null, ne(l))) : r(0, -1, `${$o()}: what level?`, null, null);
|
|
2493
2494
|
}
|
|
2494
|
-
default: return r(0, -1, `${
|
|
2495
|
+
default: return r(0, -1, `${$o()}: command not available: ${t}`, null, null);
|
|
2495
2496
|
}
|
|
2496
2497
|
}
|
|
2497
2498
|
};
|
|
@@ -2689,7 +2690,7 @@ function zo(e, t, n, r) {
|
|
|
2689
2690
|
let o = e.priv;
|
|
2690
2691
|
vo(o.gobj_timer);
|
|
2691
2692
|
let s = Vr(e, n, Do, !0), l = Er(e, s, "src_yuno", ""), i = Er(e, s, "src_role", ""), _ = Er(e, s, "src_service", "");
|
|
2692
|
-
|
|
2693
|
+
$t(e, "remote_yuno_name", l), $t(e, "remote_yuno_role", i), $t(e, "remote_yuno_service", _);
|
|
2693
2694
|
let a = yr(e, n, "result", -1, 0), u = Er(e, n, "comment", "", 0), c = Er(e, n, "username", "", 0), f = jr(e, n, "services_roles", {});
|
|
2694
2695
|
if (a < 0) {
|
|
2695
2696
|
Uo(e);
|
|
@@ -2704,7 +2705,7 @@ function zo(e, t, n, r) {
|
|
|
2704
2705
|
};
|
|
2705
2706
|
rt(e) ? Ut(tt(e), "EV_ON_ID_NAK", t, e) : Qt(e, "EV_ON_ID_NAK", t);
|
|
2706
2707
|
} else {
|
|
2707
|
-
if (
|
|
2708
|
+
if (Rt(e, "ST_SESSION"), o.inside_on_open = !0, o.retry_ms = 0, !o.inform_on_close) {
|
|
2708
2709
|
o.inform_on_close = !0;
|
|
2709
2710
|
let t = {
|
|
2710
2711
|
username: c,
|
|
@@ -2747,7 +2748,7 @@ function Qo(e, t, n, r) {
|
|
|
2747
2748
|
}
|
|
2748
2749
|
let l = s.event, i = s.kw;
|
|
2749
2750
|
if ("ST_SESSION" !== xt(e)) {
|
|
2750
|
-
if (kt(e, l,
|
|
2751
|
+
if (kt(e, l, $.EVF_PUBLIC_EVENT)) {
|
|
2751
2752
|
if (!(Ut(e, l, i, e) < 0)) return 0;
|
|
2752
2753
|
} else mn(`${Ze(e)}: event UNKNOWN in not-session state ${l}`);
|
|
2753
2754
|
return Uo(e), -1;
|
|
@@ -2758,10 +2759,10 @@ function Qo(e, t, n, r) {
|
|
|
2758
2759
|
let c = Er(e, a, "dst_service", "");
|
|
2759
2760
|
if ("__subscribing__" === _) return hn(`${Ze(e)}: subscription event ignored, I'm client (service: ${c}, event: ${l})`), -1;
|
|
2760
2761
|
if ("__unsubscribing__" === _) return hn(`${Ze(e)}: unsubscription event ignored, I'm client (service: ${c}, event: ${l})`), -1;
|
|
2761
|
-
if (kt(e, l,
|
|
2762
|
+
if (kt(e, l, $.EVF_PUBLIC_EVENT)) return Ut(e, l, i, e), 0;
|
|
2762
2763
|
if (!lr(c)) {
|
|
2763
2764
|
let t = Se(c, !1);
|
|
2764
|
-
return t ? kt(t, l,
|
|
2765
|
+
return t ? kt(t, l, $.EVF_PUBLIC_EVENT) ? (Ut(t, l, i, e), 0) : (mn(`${Ze(e)}: Service found but no event or not public, service '${Ze(t)}', ev '${l}'`), -1) : (hn(`${Ze(e)}: event for a service that is gone, DROPPED: service '${c}', ev '${l}'`), 0);
|
|
2765
2766
|
}
|
|
2766
2767
|
return rt(e) ? Ut(tt(e), l, i, e) : Qt(e, l, i), 0;
|
|
2767
2768
|
}
|
|
@@ -2774,7 +2775,7 @@ function Zo(e, t, n, r) {
|
|
|
2774
2775
|
var es = {
|
|
2775
2776
|
mt_create: function(e) {
|
|
2776
2777
|
let t = e.priv;
|
|
2777
|
-
t.gobj_timer = Ae(Qe(e), "C_TIMER", {}, e), t.ws_seq = 0, t.url = vt(e, "url"), t.remote_yuno_name = vt(e, "remote_yuno_name"), t.remote_yuno_role = vt(e, "remote_yuno_role"), t.remote_yuno_service = vt(e, "remote_yuno_service"),
|
|
2778
|
+
t.gobj_timer = Ae(Qe(e), "C_TIMER", {}, e), t.ws_seq = 0, t.url = vt(e, "url"), t.remote_yuno_name = vt(e, "remote_yuno_name"), t.remote_yuno_role = vt(e, "remote_yuno_role"), t.remote_yuno_service = vt(e, "remote_yuno_service"), $t(e, "wanted_yuno_name", t.remote_yuno_name), $t(e, "wanted_yuno_role", t.remote_yuno_role), $t(e, "wanted_yuno_service", t.remote_yuno_service);
|
|
2778
2779
|
const n = jt(e, "subscriber");
|
|
2779
2780
|
n && Jt(e, null, {}, n);
|
|
2780
2781
|
},
|
|
@@ -2896,18 +2897,18 @@ exports.GObj = O, exports.SDATA = v, exports.SDATAAUTHZ = (e, t, n, r, o, s) =>
|
|
|
2896
2897
|
}), n;
|
|
2897
2898
|
}, exports.current_timestamp = Zr, exports.data_type_t = h, exports.db_list_persistent_attrs = function(e, t) {
|
|
2898
2899
|
let n = xr(_o(e), null, !1), r = {};
|
|
2899
|
-
return n && Xn(n) && (r =
|
|
2900
|
+
return n && Xn(n) && (r = $r(e, n, t, !1)), r;
|
|
2900
2901
|
}, exports.db_load_persistent_attrs = function(e, t) {
|
|
2901
2902
|
let n = yt(e, y.SDF_PERSIST), r = xr(_o(e), null, !1);
|
|
2902
2903
|
if (r && Xn(r)) {
|
|
2903
|
-
let o =
|
|
2904
|
-
o =
|
|
2904
|
+
let o = $r(e, r, t, !1);
|
|
2905
|
+
o = $r(e, o, n, !1), St(e, o, y.SDF_PERSIST);
|
|
2905
2906
|
}
|
|
2906
2907
|
}, exports.db_remove_persistent_attrs = function(e, t) {
|
|
2907
|
-
let n =
|
|
2908
|
+
let n = Rr(e, xr(_o(e), null, !1), t, !1);
|
|
2908
2909
|
0 === Hn(n) ? kr(_o(e)) : Dr(_o(e), n);
|
|
2909
2910
|
}, exports.db_save_persistent_attrs = function(e, t) {
|
|
2910
|
-
let n =
|
|
2911
|
+
let n = $r(e, yt(e, y.SDF_PERSIST), t, !1), r = xr(_o(e), null, !1);
|
|
2911
2912
|
return r && Xn(r) && Gn(n, r), Dr(_o(e), n);
|
|
2912
2913
|
}, exports.debounce = function(e, t = 0, n = !1) {
|
|
2913
2914
|
let r = null, o = null, s = null;
|
|
@@ -2932,7 +2933,7 @@ exports.GObj = O, exports.SDATA = v, exports.SDATAAUTHZ = (e, t, n, r, o, s) =>
|
|
|
2932
2933
|
return t;
|
|
2933
2934
|
}, exports.empty_json = function(e) {
|
|
2934
2935
|
return 0 === Qn(e);
|
|
2935
|
-
}, exports.empty_string = lr, exports.escapeHtml = Br, exports.event_flag_t =
|
|
2936
|
+
}, exports.empty_string = lr, exports.escapeHtml = Br, exports.event_flag_t = $, exports.flat2json = function(e) {
|
|
2936
2937
|
if (null === e || "object" != typeof e || Array.isArray(e)) throw new Error("flat2json: a flat json is an object of id -> value");
|
|
2937
2938
|
let t = null;
|
|
2938
2939
|
for (const n of Object.keys(e)) {
|
|
@@ -3015,8 +3016,8 @@ exports.GObj = O, exports.SDATA = v, exports.SDATAAUTHZ = (e, t, n, r, o, s) =>
|
|
|
3015
3016
|
}, exports.get_function_name = no, exports.get_now = function() {
|
|
3016
3017
|
return Math.floor(Date.now() / 1e3);
|
|
3017
3018
|
}, exports.gobj_bottom_gobj = st, exports.gobj_change_parent = function(e, n) {
|
|
3018
|
-
return ot(e) ? (mn("gobj NULL or DESTROYED"), null) : n instanceof O ? (e.parent && e.parent.gclass.gmt.mt_child_removed && e.parent.gclass.gmt.mt_child_removed(e.parent, e), e.parent && (
|
|
3019
|
-
}, exports.gobj_change_state =
|
|
3019
|
+
return ot(e) ? (mn("gobj NULL or DESTROYED"), null) : n instanceof O ? (e.parent && e.parent.gclass.gmt.mt_child_removed && e.parent.gclass.gmt.mt_child_removed(e.parent, e), e.parent && ($e(e.parent, e), e.parent = null), Ne(n, e), n.gclass.gmt.mt_child_added && (K(e) && yn(t("👦👦🔵 child_added(%s): %s", et(n), Ze(e))), n.gclass.gmt.mt_child_added(n, e)), 0) : (mn(`${Ze(e)}: gobj_change_parent() BAD TYPE of parent`), -1);
|
|
3020
|
+
}, exports.gobj_change_state = Rt, exports.gobj_command = function(e, n, o, s) {
|
|
3020
3021
|
if (ot(e)) return mn("gobj NULL or DESTROYED"), -1;
|
|
3021
3022
|
if (function(e) {
|
|
3022
3023
|
return F > 1 || !!e && !!(M(e) & C.TRACE_COMMANDS);
|
|
@@ -3105,7 +3106,7 @@ exports.GObj = O, exports.SDATA = v, exports.SDATAAUTHZ = (e, t, n, r, o, s) =>
|
|
|
3105
3106
|
}
|
|
3106
3107
|
return 0;
|
|
3107
3108
|
}(e, y.SDF_VOLATIL, 0);
|
|
3108
|
-
}, exports.gobj_save_persistent_attrs =
|
|
3109
|
+
}, exports.gobj_save_persistent_attrs = Re, exports.gobj_search_path = bt, exports.gobj_send_event = Ut, exports.gobj_services = function() {
|
|
3109
3110
|
let e = [];
|
|
3110
3111
|
for (const t of Object.keys(p)) Jn(e, t);
|
|
3111
3112
|
return e;
|
|
@@ -3122,12 +3123,12 @@ exports.GObj = O, exports.SDATA = v, exports.SDATAAUTHZ = (e, t, n, r, o, s) =>
|
|
|
3122
3123
|
}, exports.gobj_set_trace_machine_format = function(e) {
|
|
3123
3124
|
A = 1 === Number(e) ? 1 : 0;
|
|
3124
3125
|
}, exports.gobj_short_name = Ze, exports.gobj_start = Ce, exports.gobj_start_children = function(e) {
|
|
3125
|
-
return ot(e) ? (mn("gobj NULL or DESTROYED"), -1) : _t(e,
|
|
3126
|
+
return ot(e) ? (mn("gobj NULL or DESTROYED"), -1) : _t(e, R.WALK_FIRST2LAST, Le, 0, 0);
|
|
3126
3127
|
}, exports.gobj_start_tree = function(e) {
|
|
3127
|
-
return ot(e) ? (mn("gobj NULL or DESTROYED"), -1) : (B(e) && I(t("⏺ ⏺ ⏺ ⏺ start_tree: %s", et(e))), e.gclass.gclass_flag & S.gcflag_manual_start || e.disabled ? 0 : (e.running || Ce(e), at(e,
|
|
3128
|
+
return ot(e) ? (mn("gobj NULL or DESTROYED"), -1) : (B(e) && I(t("⏺ ⏺ ⏺ ⏺ start_tree: %s", et(e))), e.gclass.gclass_flag & S.gcflag_manual_start || e.disabled ? 0 : (e.running || Ce(e), at(e, R.WALK_TOP2BOTTOM, Pe, 0, 0)));
|
|
3128
3129
|
}, exports.gobj_start_up = function(e, t, n, r, o, s, g) {
|
|
3129
3130
|
l = t, i = n, _ = r, a = o, u = s, c = g;
|
|
3130
|
-
const p = [["EV_STATE_CHANGED",
|
|
3131
|
+
const p = [["EV_STATE_CHANGED", $.EVF_SYSTEM_EVENT | $.EVF_OUTPUT_EVENT | $.EVF_NO_WARN_SUBS], [0, 0]];
|
|
3131
3132
|
for (let e = 0; e < p.length; e++) {
|
|
3132
3133
|
let t = p[e][0], n = p[e][1];
|
|
3133
3134
|
ye(f, t, n);
|
|
@@ -3136,7 +3137,7 @@ exports.GObj = O, exports.SDATA = v, exports.SDATAAUTHZ = (e, t, n, r, o, s) =>
|
|
|
3136
3137
|
}, exports.gobj_stats = function(e, n, r, s) {
|
|
3137
3138
|
return ot(e) ? (mn("gobj NULL or DESTROYED"), -1) : e.gclass.gmt.mt_stats ? e.gclass.gmt.mt_stats(e, n, r, s) : c ? c(e, n, r, s) : o(0, -1, t("%s, stats parser not available", Ze(e)), 0, 0);
|
|
3138
3139
|
}, exports.gobj_stop = Ue, exports.gobj_stop_children = Ve, exports.gobj_stop_tree = function(e) {
|
|
3139
|
-
return ot(e) ? (mn("gobj NULL or DESTROYED"), -1) : (B(e) && I(t("⏹ ⏹ ⏹ ⏹ stop_tree: %s", et(e))), We(e) && Ue(e), at(e,
|
|
3140
|
+
return ot(e) ? (mn("gobj NULL or DESTROYED"), -1) : (B(e) && I(t("⏹ ⏹ ⏹ ⏹ stop_tree: %s", et(e))), We(e) && Ue(e), at(e, R.WALK_TOP2BOTTOM, Fe, 0, 0));
|
|
3140
3141
|
}, exports.gobj_subscribe_event = Jt, exports.gobj_trace_level = M, exports.gobj_trace_machine_format = function() {
|
|
3141
3142
|
return A;
|
|
3142
3143
|
}, exports.gobj_trace_no_level = W, exports.gobj_unsubscribe_event = function(e, t, n, r) {
|
|
@@ -3152,14 +3153,14 @@ exports.GObj = O, exports.SDATA = v, exports.SDATAAUTHZ = (e, t, n, r, o, s) =>
|
|
|
3152
3153
|
if (Object.keys(n).forEach((n) => {
|
|
3153
3154
|
o.has(n) || mn(`${Ze(e)}: key ignored in subscription (key: ${n}, event: ${t})`);
|
|
3154
3155
|
}), lr(t)) t = "";
|
|
3155
|
-
else if (!(At(e, t,
|
|
3156
|
+
else if (!(At(e, t, $.EVF_OUTPUT_EVENT) || e.gclass.gclass_flag & S.gcflag_no_check_output_events)) return mn(`event NOT in output event list: ${Ze(e)}, ev ${t}`), 0;
|
|
3156
3157
|
let s = Mt(n, t), l = Kt(e.dl_subscriptions, e, t, s.renamed_event, s.kw, r), i = 0, _ = 0, a = 0;
|
|
3157
3158
|
for (let t = 0; t < l.length; t++) {
|
|
3158
3159
|
let n = l[t], r = Bt(e, n, !1, !1);
|
|
3159
3160
|
0 === r ? i++ : r < 0 ? _++ : a++;
|
|
3160
3161
|
}
|
|
3161
3162
|
return _ ? hn(`${Ze(e)}: Hard subscription not removed, only gobj_unsubscribe_list() with force removes it (event: ${t}, hard: ${_})`) : i || a || (hn(`${Ze(e)}: No subscription found`), Ln(n, "No subscription found")), 0;
|
|
3162
|
-
}, exports.gobj_unsubscribe_list = qt, exports.gobj_walk_gobj_children = _t, exports.gobj_walk_gobj_children_tree = at, exports.gobj_write_attr = Ot, exports.gobj_write_attrs = St, exports.gobj_write_bool_attr = wt, exports.gobj_write_integer_attr = Nt, exports.gobj_write_str_attr =
|
|
3163
|
+
}, exports.gobj_unsubscribe_list = qt, exports.gobj_walk_gobj_children = _t, exports.gobj_walk_gobj_children_tree = at, exports.gobj_write_attr = Ot, exports.gobj_write_attrs = St, exports.gobj_write_bool_attr = wt, exports.gobj_write_integer_attr = Nt, exports.gobj_write_str_attr = $t, exports.gobj_yuno = Je, exports.gobj_yuno_id = ze, exports.gobj_yuno_name = qe, exports.gobj_yuno_role = He, exports.html_markup = function(e) {
|
|
3163
3164
|
return "string" != typeof e ? (mn("html_markup: not a string, type " + typeof e), new Jr("")) : new Jr(e);
|
|
3164
3165
|
}, exports.id_index_in_obj_list = Cr, exports.index_in_list = eo, exports.is_array = Zn, exports.is_boolean = nr, exports.is_date = function(e) {
|
|
3165
3166
|
return e instanceof Date && !isNaN(e);
|
|
@@ -3181,8 +3182,9 @@ exports.GObj = O, exports.SDATA = v, exports.SDATAAUTHZ = (e, t, n, r, o, s) =>
|
|
|
3181
3182
|
}, exports.is_secret_name = Sn, exports.is_string = er, exports.jdb_delete = function(e, t, n, r) {
|
|
3182
3183
|
let o = jr(null, jr(null, e, "topics", null, 0), t, null, 0);
|
|
3183
3184
|
if (!o) return mn("jdb_delete: topic not found: " + t), null;
|
|
3184
|
-
if (lr(r.id)) return mn(
|
|
3185
|
+
if (!Xn(r) || lr(r.id)) return mn(`jdb_delete: record without id: ${JSON.stringify(r)}`), null;
|
|
3185
3186
|
if (!er(n)) return mn(`jdb_delete: path must be a string: ${String(n)}`), null;
|
|
3187
|
+
if ("" !== n && n.split("`").includes("")) return mn(`jdb_delete: empty segment in path: '${n}'`), null;
|
|
3186
3188
|
let s, l = n.split("`"), i = o;
|
|
3187
3189
|
for (; (s = l.shift()) && !lr(s) && i;) Xn(i) && (i = jr(null, i, e.hook, null, 0)), i = Kr(i, null, s, !1);
|
|
3188
3190
|
if (!i || 0 !== l.length) return mn(`jdb_delete: path not found in topic '${t}': '${n}'`), null;
|
|
@@ -3209,8 +3211,9 @@ exports.GObj = O, exports.SDATA = v, exports.SDATAAUTHZ = (e, t, n, r, o, s) =>
|
|
|
3209
3211
|
}, exports.jdb_update = function(e, t, n, r) {
|
|
3210
3212
|
let o = jr(null, jr(null, e, "topics", null, 0), t, null, 0);
|
|
3211
3213
|
if (!o) return mn("jdb_update: topic not found: " + t), null;
|
|
3212
|
-
if (lr(r.id)) return mn(
|
|
3214
|
+
if (!Xn(r) || lr(r.id)) return mn(`jdb_update: record without id: ${JSON.stringify(r)}`), null;
|
|
3213
3215
|
if (!er(n)) return mn(`jdb_update: path must be a string: ${String(n)}`), null;
|
|
3216
|
+
if ("" !== n && n.split("`").includes("")) return mn(`jdb_update: empty segment in path: '${n}'`), null;
|
|
3214
3217
|
let s, l, i = n.split("`"), _ = o;
|
|
3215
3218
|
for (; (s = i.shift()) && !lr(s) && _;) Xn(_) && (_ = jr(null, _, e.hook, null, 0)), _ = Kr(_, null, s, !1);
|
|
3216
3219
|
if (!_ || 0 !== i.length) return mn(`jdb_update: path not found in topic '${t}': '${n}'`), null;
|
|
@@ -3256,7 +3259,7 @@ exports.GObj = O, exports.SDATA = v, exports.SDATAAUTHZ = (e, t, n, r, o, s) =>
|
|
|
3256
3259
|
} catch (e) {
|
|
3257
3260
|
return null;
|
|
3258
3261
|
}
|
|
3259
|
-
}, exports.jwtDecode = Yr, exports.kw_clone_by_keys =
|
|
3262
|
+
}, exports.jwtDecode = Yr, exports.kw_clone_by_keys = $r, exports.kw_clone_by_not_keys = Rr, exports.kw_collect = function(e, t, n, r) {
|
|
3260
3263
|
if (e && !sr(e) && mn("GObj bad instanceof"), !t) return null;
|
|
3261
3264
|
r || (r = Nr);
|
|
3262
3265
|
let o = [];
|
|
@@ -3510,14 +3513,14 @@ exports.GObj = O, exports.SDATA = v, exports.SDATAAUTHZ = (e, t, n, r, o, s) =>
|
|
|
3510
3513
|
[null, null]
|
|
3511
3514
|
];
|
|
3512
3515
|
return (Lo = ge(e, [
|
|
3513
|
-
["EV_ON_MESSAGE",
|
|
3514
|
-
["EV_IDENTITY_CARD_ACK",
|
|
3515
|
-
["EV_ON_ID_NAK",
|
|
3516
|
-
["EV_MT_STATS",
|
|
3517
|
-
["EV_MT_COMMAND",
|
|
3518
|
-
["EV_ON_OPEN",
|
|
3519
|
-
["EV_ON_CLOSE",
|
|
3520
|
-
["EV_ON_OPEN_ERROR",
|
|
3516
|
+
["EV_ON_MESSAGE", $.EVF_OUTPUT_EVENT],
|
|
3517
|
+
["EV_IDENTITY_CARD_ACK", $.EVF_PUBLIC_EVENT],
|
|
3518
|
+
["EV_ON_ID_NAK", $.EVF_PUBLIC_EVENT | $.EVF_OUTPUT_EVENT],
|
|
3519
|
+
["EV_MT_STATS", $.EVF_PUBLIC_EVENT],
|
|
3520
|
+
["EV_MT_COMMAND", $.EVF_PUBLIC_EVENT],
|
|
3521
|
+
["EV_ON_OPEN", $.EVF_OUTPUT_EVENT | $.EVF_NO_WARN_SUBS],
|
|
3522
|
+
["EV_ON_CLOSE", $.EVF_OUTPUT_EVENT | $.EVF_NO_WARN_SUBS],
|
|
3523
|
+
["EV_ON_OPEN_ERROR", $.EVF_OUTPUT_EVENT | $.EVF_NO_WARN_SUBS],
|
|
3521
3524
|
["EV_TIMEOUT", 0],
|
|
3522
3525
|
[null, 0]
|
|
3523
3526
|
], t, es, 0, ko, Co, 0, 0, Ao, S.gcflag_no_check_output_events)) ? 0 : -1;
|
|
@@ -3531,8 +3534,8 @@ exports.GObj = O, exports.SDATA = v, exports.SDATAAUTHZ = (e, t, n, r, o, s) =>
|
|
|
3531
3534
|
null
|
|
3532
3535
|
]]]];
|
|
3533
3536
|
return (mo = ge(e, [
|
|
3534
|
-
["EV_TIMEOUT",
|
|
3535
|
-
["EV_TIMEOUT_PERIODIC",
|
|
3537
|
+
["EV_TIMEOUT", $.EVF_OUTPUT_EVENT],
|
|
3538
|
+
["EV_TIMEOUT_PERIODIC", $.EVF_OUTPUT_EVENT],
|
|
3536
3539
|
[0, 0]
|
|
3537
3540
|
], t, yo, 0, po, bo, 0, 0, 0, S.gcflag_manual_start)) ? 0 : -1;
|
|
3538
3541
|
}("C_TIMER");
|
|
@@ -3541,10 +3544,10 @@ exports.GObj = O, exports.SDATA = v, exports.SDATAAUTHZ = (e, t, n, r, o, s) =>
|
|
|
3541
3544
|
if (So) return mn(`GClass ALREADY created: ${e}`), -1;
|
|
3542
3545
|
const t = [["ST_IDLE", [[
|
|
3543
3546
|
"EV_TIMEOUT_PERIODIC",
|
|
3544
|
-
|
|
3547
|
+
Ro,
|
|
3545
3548
|
null
|
|
3546
3549
|
]]]];
|
|
3547
|
-
return (So = ge(e, [["EV_TIMEOUT_PERIODIC",
|
|
3550
|
+
return (So = ge(e, [["EV_TIMEOUT_PERIODIC", $.EVF_OUTPUT_EVENT | $.EVF_NO_WARN_SUBS], [0, 0]], t, xo, 0, jo, Oo, 0, 0, 0, 0)) ? 0 : -1;
|
|
3548
3551
|
}("C_YUNO");
|
|
3549
3552
|
}, exports.safeSrc = function(e) {
|
|
3550
3553
|
if (!e) return "";
|
|
@@ -3668,6 +3671,6 @@ exports.GObj = O, exports.SDATA = v, exports.SDATAAUTHZ = (e, t, n, r, o, s) =>
|
|
|
3668
3671
|
return Qn(e);
|
|
3669
3672
|
}, exports.vsprintf = function(e, n) {
|
|
3670
3673
|
return t.apply(null, [e].concat(n || []));
|
|
3671
|
-
}, exports.walk_type_t =
|
|
3674
|
+
}, exports.walk_type_t = R;
|
|
3672
3675
|
|
|
3673
3676
|
//# sourceMappingURL=gobj-js.cjs.min.js.map
|