@placeos/ts-client 4.7.9 → 4.7.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +940 -930
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/auth/functions.ts +28 -5
package/dist/index.es.js
CHANGED
|
@@ -23,7 +23,7 @@ var Ze = function() {
|
|
|
23
23
|
return e;
|
|
24
24
|
}, Ze.apply(this, arguments);
|
|
25
25
|
};
|
|
26
|
-
function
|
|
26
|
+
function oi(t, e) {
|
|
27
27
|
var n = {};
|
|
28
28
|
for (var r in t) Object.prototype.hasOwnProperty.call(t, r) && e.indexOf(r) < 0 && (n[r] = t[r]);
|
|
29
29
|
if (t != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -31,7 +31,7 @@ function si(t, e) {
|
|
|
31
31
|
e.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(t, r[i]) && (n[r[i]] = t[r[i]]);
|
|
32
32
|
return n;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function ui(t, e, n, r) {
|
|
35
35
|
function i(s) {
|
|
36
36
|
return s instanceof n ? s : new n(function(o) {
|
|
37
37
|
o(s);
|
|
@@ -153,7 +153,7 @@ function Et(t, e, n) {
|
|
|
153
153
|
function Re(t) {
|
|
154
154
|
return this instanceof Re ? (this.v = t, this) : new Re(t);
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function ci(t, e, n) {
|
|
157
157
|
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
158
158
|
var r = n.apply(t, e || []), i, s = [];
|
|
159
159
|
return i = Object.create((typeof AsyncIterator == "function" ? AsyncIterator : Object).prototype), u("next"), u("throw"), u("return", o), i[Symbol.asyncIterator] = function() {
|
|
@@ -191,7 +191,7 @@ function ui(t, e, n) {
|
|
|
191
191
|
a(f), s.shift(), s.length && c(s[0][0], s[0][1]);
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function ai(t) {
|
|
195
195
|
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
196
196
|
var e = t[Symbol.asyncIterator], n;
|
|
197
197
|
return e ? e.call(t) : (t = typeof Ce == "function" ? Ce(t) : t[Symbol.iterator](), n = {}, r("next"), r("throw"), r("return"), n[Symbol.asyncIterator] = function() {
|
|
@@ -329,9 +329,9 @@ function ur(t) {
|
|
|
329
329
|
function jn(t) {
|
|
330
330
|
C(t) ? t() : t.unsubscribe();
|
|
331
331
|
}
|
|
332
|
-
var
|
|
332
|
+
var li = {
|
|
333
333
|
Promise: void 0
|
|
334
|
-
},
|
|
334
|
+
}, hi = {
|
|
335
335
|
setTimeout: function(t, e) {
|
|
336
336
|
for (var n = [], r = 2; r < arguments.length; r++)
|
|
337
337
|
n[r - 2] = arguments[r];
|
|
@@ -343,7 +343,7 @@ var ai = {
|
|
|
343
343
|
delegate: void 0
|
|
344
344
|
};
|
|
345
345
|
function cr(t) {
|
|
346
|
-
|
|
346
|
+
hi.setTimeout(function() {
|
|
347
347
|
throw t;
|
|
348
348
|
});
|
|
349
349
|
}
|
|
@@ -356,7 +356,7 @@ var Ft = function(t) {
|
|
|
356
356
|
te(e, t);
|
|
357
357
|
function e(n) {
|
|
358
358
|
var r = t.call(this) || this;
|
|
359
|
-
return r.isStopped = !1, n ? (r.destination = n, ur(n) && n.add(r)) : r.destination =
|
|
359
|
+
return r.isStopped = !1, n ? (r.destination = n, ur(n) && n.add(r)) : r.destination = pi, r;
|
|
360
360
|
}
|
|
361
361
|
return e.create = function(n, r, i) {
|
|
362
362
|
return new bn(n, r, i);
|
|
@@ -383,7 +383,7 @@ var Ft = function(t) {
|
|
|
383
383
|
this.unsubscribe();
|
|
384
384
|
}
|
|
385
385
|
}, e;
|
|
386
|
-
}(Ae),
|
|
386
|
+
}(Ae), fi = function() {
|
|
387
387
|
function t(e) {
|
|
388
388
|
this.partialObserver = e;
|
|
389
389
|
}
|
|
@@ -422,20 +422,20 @@ var Ft = function(t) {
|
|
|
422
422
|
next: n ?? void 0,
|
|
423
423
|
error: r ?? void 0,
|
|
424
424
|
complete: i ?? void 0
|
|
425
|
-
} : o = n, s.destination = new
|
|
425
|
+
} : o = n, s.destination = new fi(o), s;
|
|
426
426
|
}
|
|
427
427
|
return e;
|
|
428
428
|
}(Ft);
|
|
429
429
|
function kt(t) {
|
|
430
430
|
cr(t);
|
|
431
431
|
}
|
|
432
|
-
function
|
|
432
|
+
function di(t) {
|
|
433
433
|
throw t;
|
|
434
434
|
}
|
|
435
|
-
var
|
|
435
|
+
var pi = {
|
|
436
436
|
closed: !0,
|
|
437
437
|
next: zn,
|
|
438
|
-
error:
|
|
438
|
+
error: di,
|
|
439
439
|
complete: zn
|
|
440
440
|
}, xn = function() {
|
|
441
441
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
@@ -443,7 +443,7 @@ var di = {
|
|
|
443
443
|
function An(t) {
|
|
444
444
|
return t;
|
|
445
445
|
}
|
|
446
|
-
function
|
|
446
|
+
function _i(t) {
|
|
447
447
|
return t.length === 0 ? An : t.length === 1 ? t[0] : function(n) {
|
|
448
448
|
return t.reduce(function(r, i) {
|
|
449
449
|
return i(r);
|
|
@@ -458,7 +458,7 @@ var D = function() {
|
|
|
458
458
|
var n = new t();
|
|
459
459
|
return n.source = this, n.operator = e, n;
|
|
460
460
|
}, t.prototype.subscribe = function(e, n, r) {
|
|
461
|
-
var i = this, s =
|
|
461
|
+
var i = this, s = yi(e) ? e : new bn(e, n, r);
|
|
462
462
|
return xt(function() {
|
|
463
463
|
var o = i, u = o.operator, c = o.source;
|
|
464
464
|
s.add(u ? u.call(s, c) : c ? i._subscribe(s) : i._trySubscribe(s));
|
|
@@ -493,7 +493,7 @@ var D = function() {
|
|
|
493
493
|
}, t.prototype.pipe = function() {
|
|
494
494
|
for (var e = [], n = 0; n < arguments.length; n++)
|
|
495
495
|
e[n] = arguments[n];
|
|
496
|
-
return
|
|
496
|
+
return _i(e)(this);
|
|
497
497
|
}, t.prototype.toPromise = function(e) {
|
|
498
498
|
var n = this;
|
|
499
499
|
return e = Hn(e), new e(function(r, i) {
|
|
@@ -512,20 +512,20 @@ var D = function() {
|
|
|
512
512
|
}();
|
|
513
513
|
function Hn(t) {
|
|
514
514
|
var e;
|
|
515
|
-
return (e = t ??
|
|
516
|
-
}
|
|
517
|
-
function _i(t) {
|
|
518
|
-
return t && C(t.next) && C(t.error) && C(t.complete);
|
|
515
|
+
return (e = t ?? li.Promise) !== null && e !== void 0 ? e : Promise;
|
|
519
516
|
}
|
|
520
517
|
function mi(t) {
|
|
521
|
-
return t && t
|
|
518
|
+
return t && C(t.next) && C(t.error) && C(t.complete);
|
|
522
519
|
}
|
|
523
520
|
function yi(t) {
|
|
521
|
+
return t && t instanceof Ft || mi(t) && ur(t);
|
|
522
|
+
}
|
|
523
|
+
function gi(t) {
|
|
524
524
|
return C(t?.lift);
|
|
525
525
|
}
|
|
526
526
|
function ue(t) {
|
|
527
527
|
return function(e) {
|
|
528
|
-
if (
|
|
528
|
+
if (gi(e))
|
|
529
529
|
return e.lift(function(n) {
|
|
530
530
|
try {
|
|
531
531
|
return t(n, this);
|
|
@@ -537,9 +537,9 @@ function ue(t) {
|
|
|
537
537
|
};
|
|
538
538
|
}
|
|
539
539
|
function ee(t, e, n, r, i) {
|
|
540
|
-
return new
|
|
540
|
+
return new bi(t, e, n, r, i);
|
|
541
541
|
}
|
|
542
|
-
var
|
|
542
|
+
var bi = function(t) {
|
|
543
543
|
te(e, t);
|
|
544
544
|
function e(n, r, i, s, o, u) {
|
|
545
545
|
var c = t.call(this, n) || this;
|
|
@@ -574,7 +574,7 @@ var gi = function(t) {
|
|
|
574
574
|
t.prototype.unsubscribe.call(this), !r && ((n = this.onFinalize) === null || n === void 0 || n.call(this));
|
|
575
575
|
}
|
|
576
576
|
}, e;
|
|
577
|
-
}(Ft),
|
|
577
|
+
}(Ft), vi = $n(function(t) {
|
|
578
578
|
return function() {
|
|
579
579
|
t(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
580
580
|
};
|
|
@@ -589,7 +589,7 @@ var gi = function(t) {
|
|
|
589
589
|
return r.operator = n, r;
|
|
590
590
|
}, e.prototype._throwIfClosed = function() {
|
|
591
591
|
if (this.closed)
|
|
592
|
-
throw new
|
|
592
|
+
throw new vi();
|
|
593
593
|
}, e.prototype.next = function(n) {
|
|
594
594
|
var r = this;
|
|
595
595
|
xt(function() {
|
|
@@ -727,7 +727,7 @@ var gi = function(t) {
|
|
|
727
727
|
l && s.splice(0, l + 1);
|
|
728
728
|
}
|
|
729
729
|
}, e;
|
|
730
|
-
}($e),
|
|
730
|
+
}($e), Si = function(t) {
|
|
731
731
|
te(e, t);
|
|
732
732
|
function e(n, r) {
|
|
733
733
|
return t.call(this) || this;
|
|
@@ -745,7 +745,7 @@ var gi = function(t) {
|
|
|
745
745
|
return clearInterval(t);
|
|
746
746
|
},
|
|
747
747
|
delegate: void 0
|
|
748
|
-
},
|
|
748
|
+
}, ki = function(t) {
|
|
749
749
|
te(e, t);
|
|
750
750
|
function e(n, r) {
|
|
751
751
|
var i = t.call(this, n, r) || this;
|
|
@@ -787,14 +787,14 @@ var gi = function(t) {
|
|
|
787
787
|
this.work = this.state = this.scheduler = null, this.pending = !1, It(s, this), r != null && (this.id = this.recycleAsyncId(i, r, null)), this.delay = null, t.prototype.unsubscribe.call(this);
|
|
788
788
|
}
|
|
789
789
|
}, e;
|
|
790
|
-
}(
|
|
790
|
+
}(Si), Ln = function() {
|
|
791
791
|
function t(e, n) {
|
|
792
792
|
n === void 0 && (n = t.now), this.schedulerActionCtor = e, this.now = n;
|
|
793
793
|
}
|
|
794
794
|
return t.prototype.schedule = function(e, n, r) {
|
|
795
795
|
return n === void 0 && (n = 0), new this.schedulerActionCtor(this, e).schedule(r, n);
|
|
796
796
|
}, t.now = wn.now, t;
|
|
797
|
-
}(),
|
|
797
|
+
}(), $i = function(t) {
|
|
798
798
|
te(e, t);
|
|
799
799
|
function e(n, r) {
|
|
800
800
|
r === void 0 && (r = Ln.now);
|
|
@@ -819,10 +819,10 @@ var gi = function(t) {
|
|
|
819
819
|
throw i;
|
|
820
820
|
}
|
|
821
821
|
}, e;
|
|
822
|
-
}(Ln), ar = new ki
|
|
822
|
+
}(Ln), ar = new $i(ki), xi = ar, Ai = new D(function(t) {
|
|
823
823
|
return t.complete();
|
|
824
824
|
});
|
|
825
|
-
function
|
|
825
|
+
function wi(t) {
|
|
826
826
|
return t && C(t.schedule);
|
|
827
827
|
}
|
|
828
828
|
var lr = function(t) {
|
|
@@ -840,15 +840,15 @@ function dr(t) {
|
|
|
840
840
|
function pr(t) {
|
|
841
841
|
return new TypeError("You provided " + (t !== null && typeof t == "object" ? "an invalid object" : "'" + t + "'") + " where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.");
|
|
842
842
|
}
|
|
843
|
-
function
|
|
843
|
+
function Oi() {
|
|
844
844
|
return typeof Symbol != "function" || !Symbol.iterator ? "@@iterator" : Symbol.iterator;
|
|
845
845
|
}
|
|
846
|
-
var _r =
|
|
846
|
+
var _r = Oi();
|
|
847
847
|
function mr(t) {
|
|
848
848
|
return C(t?.[_r]);
|
|
849
849
|
}
|
|
850
850
|
function yr(t) {
|
|
851
|
-
return
|
|
851
|
+
return ci(this, arguments, function() {
|
|
852
852
|
var n, r, i, s;
|
|
853
853
|
return sr(this, function(o) {
|
|
854
854
|
switch (o.label) {
|
|
@@ -886,21 +886,21 @@ function ce(t) {
|
|
|
886
886
|
return t;
|
|
887
887
|
if (t != null) {
|
|
888
888
|
if (fr(t))
|
|
889
|
-
return Oi(t);
|
|
890
|
-
if (lr(t))
|
|
891
889
|
return Ei(t);
|
|
892
|
-
if (
|
|
890
|
+
if (lr(t))
|
|
893
891
|
return Ii(t);
|
|
892
|
+
if (hr(t))
|
|
893
|
+
return Pi(t);
|
|
894
894
|
if (dr(t))
|
|
895
895
|
return br(t);
|
|
896
896
|
if (mr(t))
|
|
897
|
-
return Pi(t);
|
|
898
|
-
if (gr(t))
|
|
899
897
|
return Ti(t);
|
|
898
|
+
if (gr(t))
|
|
899
|
+
return qi(t);
|
|
900
900
|
}
|
|
901
901
|
throw pr(t);
|
|
902
902
|
}
|
|
903
|
-
function
|
|
903
|
+
function Ei(t) {
|
|
904
904
|
return new D(function(e) {
|
|
905
905
|
var n = t[xn]();
|
|
906
906
|
if (C(n.subscribe))
|
|
@@ -908,14 +908,14 @@ function Oi(t) {
|
|
|
908
908
|
throw new TypeError("Provided object does not correctly implement Symbol.observable");
|
|
909
909
|
});
|
|
910
910
|
}
|
|
911
|
-
function
|
|
911
|
+
function Ii(t) {
|
|
912
912
|
return new D(function(e) {
|
|
913
913
|
for (var n = 0; n < t.length && !e.closed; n++)
|
|
914
914
|
e.next(t[n]);
|
|
915
915
|
e.complete();
|
|
916
916
|
});
|
|
917
917
|
}
|
|
918
|
-
function
|
|
918
|
+
function Pi(t) {
|
|
919
919
|
return new D(function(e) {
|
|
920
920
|
t.then(function(n) {
|
|
921
921
|
e.closed || (e.next(n), e.complete());
|
|
@@ -924,7 +924,7 @@ function Ii(t) {
|
|
|
924
924
|
}).then(null, cr);
|
|
925
925
|
});
|
|
926
926
|
}
|
|
927
|
-
function
|
|
927
|
+
function Ti(t) {
|
|
928
928
|
return new D(function(e) {
|
|
929
929
|
var n, r;
|
|
930
930
|
try {
|
|
@@ -947,22 +947,22 @@ function Pi(t) {
|
|
|
947
947
|
}
|
|
948
948
|
function br(t) {
|
|
949
949
|
return new D(function(e) {
|
|
950
|
-
|
|
950
|
+
Ui(t, e).catch(function(n) {
|
|
951
951
|
return e.error(n);
|
|
952
952
|
});
|
|
953
953
|
});
|
|
954
954
|
}
|
|
955
|
-
function
|
|
955
|
+
function qi(t) {
|
|
956
956
|
return br(yr(t));
|
|
957
957
|
}
|
|
958
|
-
function
|
|
958
|
+
function Ui(t, e) {
|
|
959
959
|
var n, r, i, s;
|
|
960
|
-
return
|
|
960
|
+
return ui(this, void 0, void 0, function() {
|
|
961
961
|
var o, u;
|
|
962
962
|
return sr(this, function(c) {
|
|
963
963
|
switch (c.label) {
|
|
964
964
|
case 0:
|
|
965
|
-
c.trys.push([0, 5, 6, 11]), n =
|
|
965
|
+
c.trys.push([0, 5, 6, 11]), n = ai(t), c.label = 1;
|
|
966
966
|
case 1:
|
|
967
967
|
return [4, n.next()];
|
|
968
968
|
case 2:
|
|
@@ -1025,13 +1025,13 @@ function Sr(t, e) {
|
|
|
1025
1025
|
}, e));
|
|
1026
1026
|
});
|
|
1027
1027
|
}
|
|
1028
|
-
function Ui(t, e) {
|
|
1029
|
-
return ce(t).pipe(Sr(e), vr(e));
|
|
1030
|
-
}
|
|
1031
1028
|
function Ri(t, e) {
|
|
1032
1029
|
return ce(t).pipe(Sr(e), vr(e));
|
|
1033
1030
|
}
|
|
1034
1031
|
function Mi(t, e) {
|
|
1032
|
+
return ce(t).pipe(Sr(e), vr(e));
|
|
1033
|
+
}
|
|
1034
|
+
function Ci(t, e) {
|
|
1035
1035
|
return new D(function(n) {
|
|
1036
1036
|
var r = 0;
|
|
1037
1037
|
return e.schedule(function() {
|
|
@@ -1039,7 +1039,7 @@ function Mi(t, e) {
|
|
|
1039
1039
|
});
|
|
1040
1040
|
});
|
|
1041
1041
|
}
|
|
1042
|
-
function
|
|
1042
|
+
function Di(t, e) {
|
|
1043
1043
|
return new D(function(n) {
|
|
1044
1044
|
var r;
|
|
1045
1045
|
return Se(n, e, function() {
|
|
@@ -1072,28 +1072,28 @@ function kr(t, e) {
|
|
|
1072
1072
|
});
|
|
1073
1073
|
});
|
|
1074
1074
|
}
|
|
1075
|
-
function
|
|
1075
|
+
function Ni(t, e) {
|
|
1076
1076
|
return kr(yr(t), e);
|
|
1077
1077
|
}
|
|
1078
|
-
function
|
|
1078
|
+
function Fi(t, e) {
|
|
1079
1079
|
if (t != null) {
|
|
1080
1080
|
if (fr(t))
|
|
1081
|
-
return
|
|
1081
|
+
return Ri(t, e);
|
|
1082
1082
|
if (lr(t))
|
|
1083
|
-
return
|
|
1083
|
+
return Ci(t, e);
|
|
1084
1084
|
if (hr(t))
|
|
1085
|
-
return
|
|
1085
|
+
return Mi(t, e);
|
|
1086
1086
|
if (dr(t))
|
|
1087
1087
|
return kr(t, e);
|
|
1088
1088
|
if (mr(t))
|
|
1089
|
-
return Ci(t, e);
|
|
1090
|
-
if (gr(t))
|
|
1091
1089
|
return Di(t, e);
|
|
1090
|
+
if (gr(t))
|
|
1091
|
+
return Ni(t, e);
|
|
1092
1092
|
}
|
|
1093
1093
|
throw pr(t);
|
|
1094
1094
|
}
|
|
1095
|
-
function
|
|
1096
|
-
return e ?
|
|
1095
|
+
function ji(t, e) {
|
|
1096
|
+
return e ? Fi(t, e) : ce(t);
|
|
1097
1097
|
}
|
|
1098
1098
|
function $r(t, e) {
|
|
1099
1099
|
var n = C(t) ? t : function() {
|
|
@@ -1103,12 +1103,12 @@ function $r(t, e) {
|
|
|
1103
1103
|
};
|
|
1104
1104
|
return new D(r);
|
|
1105
1105
|
}
|
|
1106
|
-
var
|
|
1106
|
+
var zi = $n(function(t) {
|
|
1107
1107
|
return function() {
|
|
1108
1108
|
t(this), this.name = "EmptyError", this.message = "no elements in sequence";
|
|
1109
1109
|
};
|
|
1110
1110
|
});
|
|
1111
|
-
function
|
|
1111
|
+
function Hi(t, e) {
|
|
1112
1112
|
return new Promise(function(n, r) {
|
|
1113
1113
|
var i = !1, s;
|
|
1114
1114
|
t.subscribe({
|
|
@@ -1117,12 +1117,12 @@ function zi(t, e) {
|
|
|
1117
1117
|
},
|
|
1118
1118
|
error: r,
|
|
1119
1119
|
complete: function() {
|
|
1120
|
-
i ? n(s) : r(new
|
|
1120
|
+
i ? n(s) : r(new zi());
|
|
1121
1121
|
}
|
|
1122
1122
|
});
|
|
1123
1123
|
});
|
|
1124
1124
|
}
|
|
1125
|
-
function
|
|
1125
|
+
function Wi(t) {
|
|
1126
1126
|
return t instanceof Date && !isNaN(t);
|
|
1127
1127
|
}
|
|
1128
1128
|
function b(t, e) {
|
|
@@ -1133,7 +1133,7 @@ function b(t, e) {
|
|
|
1133
1133
|
}));
|
|
1134
1134
|
});
|
|
1135
1135
|
}
|
|
1136
|
-
function
|
|
1136
|
+
function Li(t, e, n, r, i, s, o, u) {
|
|
1137
1137
|
var c = [], l = 0, _ = 0, y = !1, p = function() {
|
|
1138
1138
|
y && !c.length && !l && e.complete();
|
|
1139
1139
|
}, a = function(h) {
|
|
@@ -1171,14 +1171,14 @@ function xr(t, e, n) {
|
|
|
1171
1171
|
return e(r, s, i, o);
|
|
1172
1172
|
})(ce(t(r, i)));
|
|
1173
1173
|
}, n) : (typeof e == "number" && (n = e), ue(function(r, i) {
|
|
1174
|
-
return
|
|
1174
|
+
return Li(r, i, t, n);
|
|
1175
1175
|
}));
|
|
1176
1176
|
}
|
|
1177
1177
|
function On(t, e, n) {
|
|
1178
|
-
t === void 0 && (t = 0), n === void 0 && (n =
|
|
1178
|
+
t === void 0 && (t = 0), n === void 0 && (n = xi);
|
|
1179
1179
|
var r = -1;
|
|
1180
|
-
return e != null && (
|
|
1181
|
-
var s =
|
|
1180
|
+
return e != null && (wi(e) ? n = e : r = e), new D(function(i) {
|
|
1181
|
+
var s = Wi(t) ? +t - n.now() : t;
|
|
1182
1182
|
s < 0 && (s = 0);
|
|
1183
1183
|
var o = 0;
|
|
1184
1184
|
return n.schedule(function() {
|
|
@@ -1186,7 +1186,7 @@ function On(t, e, n) {
|
|
|
1186
1186
|
}, s);
|
|
1187
1187
|
});
|
|
1188
1188
|
}
|
|
1189
|
-
function
|
|
1189
|
+
function Bi(t, e) {
|
|
1190
1190
|
return ue(function(n, r) {
|
|
1191
1191
|
var i = 0;
|
|
1192
1192
|
n.subscribe(ee(r, function(s) {
|
|
@@ -1196,7 +1196,7 @@ function Li(t, e) {
|
|
|
1196
1196
|
}
|
|
1197
1197
|
function Ar(t) {
|
|
1198
1198
|
return t <= 0 ? function() {
|
|
1199
|
-
return
|
|
1199
|
+
return Ai;
|
|
1200
1200
|
} : ue(function(e, n) {
|
|
1201
1201
|
var r = 0;
|
|
1202
1202
|
e.subscribe(ee(n, function(i) {
|
|
@@ -1204,25 +1204,25 @@ function Ar(t) {
|
|
|
1204
1204
|
}));
|
|
1205
1205
|
});
|
|
1206
1206
|
}
|
|
1207
|
-
function
|
|
1207
|
+
function Vi(t) {
|
|
1208
1208
|
return b(function() {
|
|
1209
1209
|
return t;
|
|
1210
1210
|
});
|
|
1211
1211
|
}
|
|
1212
|
-
function
|
|
1212
|
+
function Qi(t, e) {
|
|
1213
1213
|
return xr(function(n, r) {
|
|
1214
|
-
return ce(t(n, r)).pipe(Ar(1),
|
|
1214
|
+
return ce(t(n, r)).pipe(Ar(1), Vi(n));
|
|
1215
1215
|
});
|
|
1216
1216
|
}
|
|
1217
|
-
function
|
|
1217
|
+
function Yi(t, e) {
|
|
1218
1218
|
e === void 0 && (e = ar);
|
|
1219
1219
|
var n = On(t, e);
|
|
1220
|
-
return
|
|
1220
|
+
return Qi(function() {
|
|
1221
1221
|
return n;
|
|
1222
1222
|
});
|
|
1223
1223
|
}
|
|
1224
|
-
function
|
|
1225
|
-
return e === void 0 && (e = An), t = t ??
|
|
1224
|
+
function Gi(t, e) {
|
|
1225
|
+
return e === void 0 && (e = An), t = t ?? Ji, ue(function(n, r) {
|
|
1226
1226
|
var i, s = !0;
|
|
1227
1227
|
n.subscribe(ee(r, function(o) {
|
|
1228
1228
|
var u = e(o);
|
|
@@ -1230,10 +1230,10 @@ function Yi(t, e) {
|
|
|
1230
1230
|
}));
|
|
1231
1231
|
});
|
|
1232
1232
|
}
|
|
1233
|
-
function
|
|
1233
|
+
function Ji(t, e) {
|
|
1234
1234
|
return t === e;
|
|
1235
1235
|
}
|
|
1236
|
-
function
|
|
1236
|
+
function Ki(t) {
|
|
1237
1237
|
t === void 0 && (t = 1 / 0);
|
|
1238
1238
|
var e;
|
|
1239
1239
|
t && typeof t == "object" ? e = t : e = {
|
|
@@ -1286,7 +1286,7 @@ function Bn(t, e) {
|
|
|
1286
1286
|
}
|
|
1287
1287
|
function En(t, e) {
|
|
1288
1288
|
e === void 0 && (e = {});
|
|
1289
|
-
var n = e.selector, r =
|
|
1289
|
+
var n = e.selector, r = oi(e, ["selector"]);
|
|
1290
1290
|
return new D(function(i) {
|
|
1291
1291
|
var s = new AbortController(), o = s.signal, u = !0, c = r.signal;
|
|
1292
1292
|
if (c)
|
|
@@ -1516,7 +1516,7 @@ function wr(t) {
|
|
|
1516
1516
|
e += se[t[n - 2] >> 2], e += se[(t[n - 2] & 3) << 4 | t[n - 1] >> 4], e += se[(t[n - 1] & 15) << 2 | t[n] >> 6], e += se[t[n] & 63];
|
|
1517
1517
|
return n === r + 1 && (e += se[t[n - 2] >> 2], e += se[(t[n - 2] & 3) << 4], e += "=="), n === r && (e += se[t[n - 2] >> 2], e += se[(t[n - 2] & 3) << 4 | t[n - 1] >> 4], e += se[(t[n - 1] & 15) << 2], e += "="), e;
|
|
1518
1518
|
}
|
|
1519
|
-
function
|
|
1519
|
+
function Zi(t) {
|
|
1520
1520
|
if (t.length % 4 !== 0)
|
|
1521
1521
|
throw new Error("Unable to parse base64 string.");
|
|
1522
1522
|
const e = t.indexOf("=");
|
|
@@ -1527,11 +1527,11 @@ function Ki(t) {
|
|
|
1527
1527
|
s = $t(t.charCodeAt(o)) << 18 | $t(t.charCodeAt(o + 1)) << 12 | $t(t.charCodeAt(o + 2)) << 6 | $t(t.charCodeAt(o + 3)), i[u] = s >> 16, i[u + 1] = s >> 8 & 255, i[u + 2] = s & 255;
|
|
1528
1528
|
return i.subarray(0, i.length - n);
|
|
1529
1529
|
}
|
|
1530
|
-
function
|
|
1530
|
+
function Xi(t, e = new TextEncoder()) {
|
|
1531
1531
|
return wr(e.encode(t));
|
|
1532
1532
|
}
|
|
1533
|
-
var At = { exports: {} },
|
|
1534
|
-
function
|
|
1533
|
+
var At = { exports: {} }, es = At.exports, Qn;
|
|
1534
|
+
function ts() {
|
|
1535
1535
|
return Qn || (Qn = 1, function(t) {
|
|
1536
1536
|
(function(e, n) {
|
|
1537
1537
|
var r = {};
|
|
@@ -1540,7 +1540,7 @@ function es() {
|
|
|
1540
1540
|
for (var s in r)
|
|
1541
1541
|
i[s] = r[s];
|
|
1542
1542
|
t.exports = i;
|
|
1543
|
-
})(
|
|
1543
|
+
})(es, function(e) {
|
|
1544
1544
|
e.__esModule = !0, e.digestLength = 32, e.blockSize = 64;
|
|
1545
1545
|
var n = new Uint32Array([
|
|
1546
1546
|
1116352408,
|
|
@@ -1609,11 +1609,11 @@ function es() {
|
|
|
1609
1609
|
3329325298
|
|
1610
1610
|
]);
|
|
1611
1611
|
function r(p, a, f, h, $) {
|
|
1612
|
-
for (var v, A, w, Q, F, U, ne, j,
|
|
1612
|
+
for (var v, A, w, Q, F, U, ne, j, W, z, Ye, Ge, St; $ >= 64; ) {
|
|
1613
1613
|
for (v = a[0], A = a[1], w = a[2], Q = a[3], F = a[4], U = a[5], ne = a[6], j = a[7], z = 0; z < 16; z++)
|
|
1614
1614
|
Ye = h + z * 4, p[z] = (f[Ye] & 255) << 24 | (f[Ye + 1] & 255) << 16 | (f[Ye + 2] & 255) << 8 | f[Ye + 3] & 255;
|
|
1615
1615
|
for (z = 16; z < 64; z++)
|
|
1616
|
-
|
|
1616
|
+
W = p[z - 2], Ge = (W >>> 17 | W << 15) ^ (W >>> 19 | W << 13) ^ W >>> 10, W = p[z - 15], St = (W >>> 7 | W << 25) ^ (W >>> 18 | W << 14) ^ W >>> 3, p[z] = (Ge + p[z - 7] | 0) + (St + p[z - 16] | 0);
|
|
1617
1617
|
for (z = 0; z < 64; z++)
|
|
1618
1618
|
Ge = (((F >>> 6 | F << 26) ^ (F >>> 11 | F << 21) ^ (F >>> 25 | F << 7)) + (F & U ^ ~F & ne) | 0) + (j + (n[z] + p[z] | 0) | 0) | 0, St = ((v >>> 2 | v << 30) ^ (v >>> 13 | v << 19) ^ (v >>> 22 | v << 10)) + (v & A ^ v & w ^ A & w) | 0, j = ne, ne = U, U = F, F = Q + Ge | 0, Q = w, w = A, A = v, v = Ge + St | 0;
|
|
1619
1619
|
a[0] += v, a[1] += A, a[2] += w, a[3] += Q, a[4] += F, a[5] += U, a[6] += ne, a[7] += j, h += 64, $ -= 64;
|
|
@@ -1740,8 +1740,8 @@ function es() {
|
|
|
1740
1740
|
w[j] = Q[j];
|
|
1741
1741
|
for (var j = 2; j <= f; j++) {
|
|
1742
1742
|
$.reset(), $.update(Q).finish(Q);
|
|
1743
|
-
for (var
|
|
1744
|
-
w[
|
|
1743
|
+
for (var W = 0; W < v; W++)
|
|
1744
|
+
w[W] ^= Q[W];
|
|
1745
1745
|
}
|
|
1746
1746
|
for (var j = 0; j < v && U * v + j < h; j++)
|
|
1747
1747
|
F[U * v + j] = w[j];
|
|
@@ -1756,8 +1756,8 @@ function es() {
|
|
|
1756
1756
|
});
|
|
1757
1757
|
}(At)), At.exports;
|
|
1758
1758
|
}
|
|
1759
|
-
var
|
|
1760
|
-
const
|
|
1759
|
+
var ns = ts();
|
|
1760
|
+
const rs = new Int32Array(4);
|
|
1761
1761
|
class Y {
|
|
1762
1762
|
static hashStr(e, n = !1) {
|
|
1763
1763
|
return this.onePassHasher.start().appendStr(e).end(n);
|
|
@@ -1915,7 +1915,7 @@ class Y {
|
|
|
1915
1915
|
i[14] = o;
|
|
1916
1916
|
else {
|
|
1917
1917
|
const u = o.toString(16).match(/(.*?)(.{0,8})$/);
|
|
1918
|
-
if (u === null) return e ?
|
|
1918
|
+
if (u === null) return e ? rs : "";
|
|
1919
1919
|
const c = parseInt(u[2], 16), l = parseInt(u[1], 16) || 0;
|
|
1920
1920
|
i[14] = c, i[15] = l;
|
|
1921
1921
|
}
|
|
@@ -1924,14 +1924,14 @@ class Y {
|
|
|
1924
1924
|
}
|
|
1925
1925
|
if (Y.hashStr("hello") !== "5d41402abc4b2a76b9719d911017c592")
|
|
1926
1926
|
throw new Error("Md5 self test failed.");
|
|
1927
|
-
const
|
|
1927
|
+
const is = 36e5, Yn = Symbol.for("constructDateFrom");
|
|
1928
1928
|
function Pt(t, e) {
|
|
1929
1929
|
return typeof t == "function" ? t(e) : t && typeof t == "object" && Yn in t ? t[Yn](e) : t instanceof Date ? new t.constructor(e) : new Date(e);
|
|
1930
1930
|
}
|
|
1931
1931
|
function Xe(t, e) {
|
|
1932
1932
|
return Pt(t, t);
|
|
1933
1933
|
}
|
|
1934
|
-
function
|
|
1934
|
+
function ss(t, e, n) {
|
|
1935
1935
|
const r = Xe(t);
|
|
1936
1936
|
if (isNaN(e)) return Pt(t, NaN);
|
|
1937
1937
|
const i = r.getDate(), s = Pt(t, r.getTime());
|
|
@@ -1946,19 +1946,19 @@ function is(t, e, n) {
|
|
|
1946
1946
|
function Or(t, e, n) {
|
|
1947
1947
|
return Pt(t, +Xe(t) + e);
|
|
1948
1948
|
}
|
|
1949
|
-
function ss(t, e, n) {
|
|
1950
|
-
return Or(t, e * rs);
|
|
1951
|
-
}
|
|
1952
1949
|
function os(t, e, n) {
|
|
1953
|
-
return Or(t, e *
|
|
1950
|
+
return Or(t, e * is);
|
|
1954
1951
|
}
|
|
1955
1952
|
function us(t, e, n) {
|
|
1956
|
-
return
|
|
1953
|
+
return Or(t, e * 1e3);
|
|
1954
|
+
}
|
|
1955
|
+
function cs(t, e, n) {
|
|
1956
|
+
return ss(t, e * 12);
|
|
1957
1957
|
}
|
|
1958
1958
|
function Gn(t) {
|
|
1959
1959
|
return Math.trunc(+Xe(t) / 1e3);
|
|
1960
1960
|
}
|
|
1961
|
-
function
|
|
1961
|
+
function as(t, e) {
|
|
1962
1962
|
return +Xe(t) < +Xe(e);
|
|
1963
1963
|
}
|
|
1964
1964
|
function d(t, e, n, r = "debug", i) {
|
|
@@ -1997,7 +1997,7 @@ function Je(t) {
|
|
|
1997
1997
|
return e;
|
|
1998
1998
|
}
|
|
1999
1999
|
const Kn = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
2000
|
-
function
|
|
2000
|
+
function ls(t = 40) {
|
|
2001
2001
|
let e = "";
|
|
2002
2002
|
for (let n = 0; n < t; n++)
|
|
2003
2003
|
e += Kn.charAt(
|
|
@@ -2020,7 +2020,7 @@ function Tt(t, e = !1) {
|
|
|
2020
2020
|
const r = Math.floor(Math.log(t) / Math.log(n)), i = (e ? "kMGTPE" : "KMGTPE").charAt(r - 1) + (e ? "iB" : "B");
|
|
2021
2021
|
return (t / Math.pow(n, r)).toFixed(2) + " " + i;
|
|
2022
2022
|
}
|
|
2023
|
-
function
|
|
2023
|
+
function hs(t) {
|
|
2024
2024
|
if (t.length === 0)
|
|
2025
2025
|
throw new Error("Input must not be of zero length");
|
|
2026
2026
|
const e = t.split(","), n = {};
|
|
@@ -2033,12 +2033,12 @@ function ls(t) {
|
|
|
2033
2033
|
}
|
|
2034
2034
|
return n;
|
|
2035
2035
|
}
|
|
2036
|
-
function
|
|
2036
|
+
function fs(t, e) {
|
|
2037
2037
|
for (const n in t)
|
|
2038
2038
|
t.hasOwnProperty(n) && e.indexOf(t[n]) >= 0 && delete t[n];
|
|
2039
2039
|
return t;
|
|
2040
2040
|
}
|
|
2041
|
-
function
|
|
2041
|
+
function ds() {
|
|
2042
2042
|
return [
|
|
2043
2043
|
"iPad Simulator",
|
|
2044
2044
|
"iPhone Simulator",
|
|
@@ -2049,13 +2049,13 @@ function fs() {
|
|
|
2049
2049
|
].includes(navigator.platform) || // iPad on iOS 13 detection
|
|
2050
2050
|
navigator.userAgent.includes("Mac") && "ontouchend" in document;
|
|
2051
2051
|
}
|
|
2052
|
-
function
|
|
2052
|
+
function ps() {
|
|
2053
2053
|
return window.location !== window.parent.location;
|
|
2054
2054
|
}
|
|
2055
|
-
function
|
|
2055
|
+
function _s(t = Date.now(), e = 60 * 1e3) {
|
|
2056
2056
|
return Math.floor(t / e);
|
|
2057
2057
|
}
|
|
2058
|
-
class
|
|
2058
|
+
class ms {
|
|
2059
2059
|
abort() {
|
|
2060
2060
|
d("Stub", "Aborted");
|
|
2061
2061
|
}
|
|
@@ -2070,13 +2070,13 @@ function R(t) {
|
|
|
2070
2070
|
return e;
|
|
2071
2071
|
}
|
|
2072
2072
|
const ke = {}, Ke = {}, de = {};
|
|
2073
|
-
function
|
|
2073
|
+
function ys() {
|
|
2074
2074
|
for (const t in ke)
|
|
2075
2075
|
ke.hasOwnProperty(t) && we(t);
|
|
2076
2076
|
for (const t in Ke)
|
|
2077
|
-
Ke.hasOwnProperty(t) &&
|
|
2077
|
+
Ke.hasOwnProperty(t) && gs(t);
|
|
2078
2078
|
for (const t in de)
|
|
2079
|
-
de.hasOwnProperty(t) &&
|
|
2079
|
+
de.hasOwnProperty(t) && bs(t);
|
|
2080
2080
|
}
|
|
2081
2081
|
function oe(t, e, n = 300) {
|
|
2082
2082
|
if (t && e && e instanceof Function)
|
|
@@ -2091,13 +2091,13 @@ function oe(t, e, n = 300) {
|
|
|
2091
2091
|
function we(t) {
|
|
2092
2092
|
ke[t] && (clearTimeout(ke[t]), delete ke[t]);
|
|
2093
2093
|
}
|
|
2094
|
-
function
|
|
2094
|
+
function gs(t) {
|
|
2095
2095
|
Ke[t] && (clearInterval(Ke[t]), delete Ke[t]);
|
|
2096
2096
|
}
|
|
2097
|
-
function
|
|
2097
|
+
function bs(t) {
|
|
2098
2098
|
de && de[t] && (de[t] instanceof Ae ? de[t].unsubscribe() : de[t](), delete de[t]);
|
|
2099
2099
|
}
|
|
2100
|
-
const
|
|
2100
|
+
const vs = {
|
|
2101
2101
|
id: "mock-authority",
|
|
2102
2102
|
name: "localhost:4200",
|
|
2103
2103
|
description: "",
|
|
@@ -2109,35 +2109,41 @@ const bs = {
|
|
|
2109
2109
|
config: {},
|
|
2110
2110
|
version: "2.0.0"
|
|
2111
2111
|
};
|
|
2112
|
-
let g = {}, I = localStorage,
|
|
2112
|
+
let g = {}, I = localStorage, H;
|
|
2113
2113
|
const S = {};
|
|
2114
2114
|
let q = "", xe = "";
|
|
2115
2115
|
const De = new _e(""), jt = new _e("");
|
|
2116
2116
|
let In = "/api/engine/v2";
|
|
2117
|
-
const pe = new _e(!1),
|
|
2117
|
+
const pe = new _e(!1), Ss = pe.asObservable();
|
|
2118
2118
|
let qt = 0;
|
|
2119
|
+
function Ir(t) {
|
|
2120
|
+
if (!t || t.startsWith("http://") || t.startsWith("https://"))
|
|
2121
|
+
return t;
|
|
2122
|
+
const e = H?.domain;
|
|
2123
|
+
return e ? `${g.secure || window.location?.protocol.indexOf("https") >= 0 ? "https:" : "http:"}//${e}${t}` : t;
|
|
2124
|
+
}
|
|
2119
2125
|
function x() {
|
|
2120
|
-
return `${`${g.secure || window.location?.protocol.indexOf("https") >= 0 ? "https:" : "http:"}//${g.host || window.location?.host}`}${
|
|
2126
|
+
return `${`${g.secure || window.location?.protocol.indexOf("https") >= 0 ? "https:" : "http:"}//${g.host || window.location?.host}`}${Pr()}`;
|
|
2121
2127
|
}
|
|
2122
|
-
function
|
|
2128
|
+
function Pr() {
|
|
2123
2129
|
return g.version === "ACA Engine" ? "/control/api" : In;
|
|
2124
2130
|
}
|
|
2125
|
-
function
|
|
2131
|
+
function ks() {
|
|
2126
2132
|
return !!g.token_header;
|
|
2127
2133
|
}
|
|
2128
|
-
function
|
|
2134
|
+
function $s() {
|
|
2129
2135
|
return q;
|
|
2130
2136
|
}
|
|
2131
|
-
function
|
|
2137
|
+
function Wo() {
|
|
2132
2138
|
return g.redirect_uri;
|
|
2133
2139
|
}
|
|
2134
|
-
function
|
|
2135
|
-
I.setItem(`${q}_x-api-key`, `${t}`), I.setItem("trusted", `${e}`),
|
|
2140
|
+
function Lo(t, e = !0) {
|
|
2141
|
+
I.setItem(`${q}_x-api-key`, `${t}`), I.setItem("trusted", `${e}`), xs("x-api-key", cs(/* @__PURE__ */ new Date(), 5).valueOf());
|
|
2136
2142
|
}
|
|
2137
2143
|
function zt() {
|
|
2138
2144
|
return Rt("x-api-key", !1) || "";
|
|
2139
2145
|
}
|
|
2140
|
-
function
|
|
2146
|
+
function xs(t, e = os(/* @__PURE__ */ new Date(), 2).valueOf()) {
|
|
2141
2147
|
g.ignore_api_key && t === "x-api-key" || (I.setItem(`${q}_expires_at`, `${e}`), I.setItem(`${q}_access_token`, t));
|
|
2142
2148
|
}
|
|
2143
2149
|
function X(t = !0) {
|
|
@@ -2145,10 +2151,10 @@ function X(t = !0) {
|
|
|
2145
2151
|
if (!I) return "";
|
|
2146
2152
|
if (zt() && !g.ignore_api_key) return "x-api-key";
|
|
2147
2153
|
const e = I.getItem(`${q}_expires_at`) || "", n = De.getValue();
|
|
2148
|
-
return
|
|
2154
|
+
return as(+e, /* @__PURE__ */ new Date()) && (d("Auth", "Token expired. Requesting new token..."), qn(), S.load_authority || (qt += 1, oe(
|
|
2149
2155
|
"re-authorise",
|
|
2150
2156
|
async () => {
|
|
2151
|
-
delete S.authorise, await
|
|
2157
|
+
delete S.authorise, await Ur().catch(
|
|
2152
2158
|
(r) => d("Auth", `Failed to get token: ${r}`)
|
|
2153
2159
|
);
|
|
2154
2160
|
},
|
|
@@ -2161,60 +2167,60 @@ function Sn() {
|
|
|
2161
2167
|
function kn() {
|
|
2162
2168
|
return g.host || window.location?.host;
|
|
2163
2169
|
}
|
|
2164
|
-
function
|
|
2170
|
+
function As() {
|
|
2165
2171
|
return !!X();
|
|
2166
2172
|
}
|
|
2167
|
-
function
|
|
2168
|
-
return De.pipe(b((t) => !!
|
|
2173
|
+
function ws() {
|
|
2174
|
+
return De.pipe(b((t) => !!As()));
|
|
2169
2175
|
}
|
|
2170
2176
|
function Ut() {
|
|
2171
|
-
return
|
|
2177
|
+
return H;
|
|
2172
2178
|
}
|
|
2173
|
-
function
|
|
2179
|
+
function Bo() {
|
|
2174
2180
|
return pe.getValue();
|
|
2175
2181
|
}
|
|
2176
2182
|
function Pn() {
|
|
2177
2183
|
return !!g.mock;
|
|
2178
2184
|
}
|
|
2179
|
-
function
|
|
2185
|
+
function Os() {
|
|
2180
2186
|
return !!g.secure;
|
|
2181
2187
|
}
|
|
2182
|
-
function
|
|
2183
|
-
return
|
|
2188
|
+
function Vo() {
|
|
2189
|
+
return Ss;
|
|
2184
2190
|
}
|
|
2185
2191
|
function Tn() {
|
|
2186
2192
|
return Rt("trust") === "true" || Rt("trusted") === "true";
|
|
2187
2193
|
}
|
|
2188
|
-
function
|
|
2194
|
+
function Tr() {
|
|
2189
2195
|
return !!zt() && !g.ignore_api_key || Rt("fixed_device") === "true";
|
|
2190
2196
|
}
|
|
2191
2197
|
function Rt(t, e = !0) {
|
|
2192
2198
|
let r = Er()[t];
|
|
2193
2199
|
if (I) {
|
|
2194
|
-
const i = `${
|
|
2200
|
+
const i = `${$s()}_${t}`;
|
|
2195
2201
|
r = r || I.getItem(i) || I.getItem(t) || "", e && I.setItem(i, `${r}`);
|
|
2196
2202
|
}
|
|
2197
2203
|
return r;
|
|
2198
2204
|
}
|
|
2199
|
-
async function
|
|
2200
|
-
return g = t || g, g.token_header = g.token_header ??
|
|
2205
|
+
async function Qo(t) {
|
|
2206
|
+
return g = t || g, g.token_header = g.token_header ?? ps(), window.AbortController || (window.AbortController = ms), I = g.storage === "session" ? sessionStorage : localStorage, q = Y.hashStr(g.redirect_uri, !1), g.delay && g.delay > 0 && await Hi(On(g.delay)), Un();
|
|
2201
2207
|
}
|
|
2202
|
-
function
|
|
2208
|
+
function Yo(t) {
|
|
2203
2209
|
I = t === "session" ? sessionStorage : localStorage;
|
|
2204
2210
|
}
|
|
2205
|
-
function
|
|
2206
|
-
g = {},
|
|
2211
|
+
function Go() {
|
|
2212
|
+
g = {}, H = void 0, De.next(""), jt.next(""), pe.next(!1), q = "", xe = "", In = "/api/engine/v2";
|
|
2207
2213
|
for (const t in S)
|
|
2208
2214
|
t in S && delete S[t];
|
|
2209
|
-
|
|
2215
|
+
ys();
|
|
2210
2216
|
}
|
|
2211
|
-
function
|
|
2212
|
-
return d("Auth", "Refreshing authorty."),
|
|
2217
|
+
function qr() {
|
|
2218
|
+
return d("Auth", "Refreshing authorty."), H = void 0, Un();
|
|
2213
2219
|
}
|
|
2214
2220
|
function qn() {
|
|
2215
2221
|
d("Auth", "Invalidating tokens."), I.removeItem(`${q}_access_token`), I.removeItem(`${q}_expires_at`), De.getValue() && De.next("");
|
|
2216
2222
|
}
|
|
2217
|
-
function
|
|
2223
|
+
function Ur(t, e = H) {
|
|
2218
2224
|
return S.authorise || (S.authorise = new Promise((n, r) => {
|
|
2219
2225
|
if (!e)
|
|
2220
2226
|
return delete S.authorise, r("Authority is not loaded");
|
|
@@ -2231,22 +2237,24 @@ function qr(t, e = W) {
|
|
|
2231
2237
|
d("Auth", "Failed to generate token."), r("Failed to generate token"), setTimeout(() => delete S.authorise, 200);
|
|
2232
2238
|
}
|
|
2233
2239
|
];
|
|
2234
|
-
g && g.auth_type === "password" ? (d("Auth", "Logging in with credentials."),
|
|
2240
|
+
g && g.auth_type === "password" ? (d("Auth", "Logging in with credentials."), Cs(g).then(
|
|
2235
2241
|
...s
|
|
2236
2242
|
), qt = 0) : xe || Sn() ? (d(
|
|
2237
2243
|
"Auth",
|
|
2238
2244
|
`Generating token with ${xe ? "code" : "refresh token"}`
|
|
2239
|
-
),
|
|
2245
|
+
), Mr().then(...s), qt = 0) : e.session ? (d(
|
|
2240
2246
|
"Auth",
|
|
2241
2247
|
"Users has session. Authorising application..."
|
|
2242
|
-
),
|
|
2248
|
+
), Es(t).then(...s)) : (d("Auth", "No user session"), Rr(e), r("No user session"), setTimeout(() => delete S.authorise, 200));
|
|
2243
2249
|
}
|
|
2244
2250
|
};
|
|
2245
|
-
|
|
2251
|
+
Ps().then(i, i);
|
|
2246
2252
|
})), S.authorise;
|
|
2247
2253
|
}
|
|
2248
|
-
function
|
|
2249
|
-
const t =
|
|
2254
|
+
function Jo() {
|
|
2255
|
+
const t = Ir(
|
|
2256
|
+
H ? H.logout_url : "/logout"
|
|
2257
|
+
);
|
|
2250
2258
|
fetch(t, {
|
|
2251
2259
|
method: "GET",
|
|
2252
2260
|
redirect: "manual",
|
|
@@ -2265,10 +2273,10 @@ function Go() {
|
|
|
2265
2273
|
function Un(t = 0) {
|
|
2266
2274
|
return S.load_authority || (S.load_authority = new Promise((e) => {
|
|
2267
2275
|
if (pe.next(!1), g.mock) {
|
|
2268
|
-
|
|
2276
|
+
H = vs, d("Auth", "System in mock mode"), pe.next(!0), e();
|
|
2269
2277
|
return;
|
|
2270
2278
|
}
|
|
2271
|
-
d("Auth", `Fixed: ${
|
|
2279
|
+
d("Auth", `Fixed: ${Tr()} | Trusted: ${Tn()}`), d("Auth", "Loading authority...");
|
|
2272
2280
|
const n = g.secure || window.location?.protocol.indexOf("https") >= 0, r = (i) => {
|
|
2273
2281
|
d("Auth", `Failed to load authority(${i})`), pe.next(!1), oe(
|
|
2274
2282
|
"load_authority",
|
|
@@ -2286,26 +2294,26 @@ function Un(t = 0) {
|
|
|
2286
2294
|
).subscribe(async (i) => {
|
|
2287
2295
|
if (!i.ok)
|
|
2288
2296
|
return r(await i.text().catch((o) => o));
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
) ? "/api/engine/v2" : "/control/api", d("Auth", "Loaded authority.", [], "group"),
|
|
2297
|
+
H = await i.json(), In = /[2-9]\.[0-9]+\.[0-9]+/g.test(
|
|
2298
|
+
H.version || ""
|
|
2299
|
+
) ? "/api/engine/v2" : "/control/api", d("Auth", "Loaded authority.", [], "group"), H && (d("Auth", `Name: ${H.name}`), d("Auth", `Version: ${H.version}`), d("Auth", `Domain: ${H.domain}`), d("Auth", `Session: ${H.session}`), d("Auth", `Production: ${H.production}`), d(
|
|
2292
2300
|
"Auth",
|
|
2293
|
-
`Config Keys: ${Object.keys(
|
|
2301
|
+
`Config Keys: ${Object.keys(H.config || {}).length}`
|
|
2294
2302
|
)), d("Auth", "", [], "groupEnd");
|
|
2295
2303
|
const s = () => {
|
|
2296
2304
|
pe.next(!0), d("Auth", "Application set online."), e();
|
|
2297
2305
|
};
|
|
2298
|
-
delete S.load_authority,
|
|
2306
|
+
delete S.load_authority, Ur("").then(s, s);
|
|
2299
2307
|
}, r);
|
|
2300
2308
|
})), S.load_authority;
|
|
2301
2309
|
}
|
|
2302
|
-
async function
|
|
2303
|
-
const e =
|
|
2310
|
+
async function Es(t) {
|
|
2311
|
+
const e = qs(t);
|
|
2304
2312
|
if (g.use_iframe)
|
|
2305
|
-
return
|
|
2313
|
+
return Is(e);
|
|
2306
2314
|
window.location?.assign(e);
|
|
2307
2315
|
}
|
|
2308
|
-
function
|
|
2316
|
+
function Is(t) {
|
|
2309
2317
|
return S.iframe_auth || (S.iframe_auth = new Promise((e, n) => {
|
|
2310
2318
|
d("Auth", "Authorizing in an iFrame...");
|
|
2311
2319
|
const r = document.createElement("iframe");
|
|
@@ -2318,7 +2326,7 @@ function Es(t) {
|
|
|
2318
2326
|
access_token: o.token,
|
|
2319
2327
|
...o
|
|
2320
2328
|
});
|
|
2321
|
-
xe = o.code || "",
|
|
2329
|
+
xe = o.code || "", Mr().then(
|
|
2322
2330
|
(u) => e(u),
|
|
2323
2331
|
(u) => n(u)
|
|
2324
2332
|
);
|
|
@@ -2336,24 +2344,26 @@ function Es(t) {
|
|
|
2336
2344
|
})), S.iframe_auth;
|
|
2337
2345
|
}
|
|
2338
2346
|
let Zn = !1;
|
|
2339
|
-
function
|
|
2347
|
+
function Rr(t) {
|
|
2340
2348
|
if (g.handle_login !== !1 && !Zn) {
|
|
2341
2349
|
d("Auth", "Redirecting to login page...");
|
|
2342
|
-
const e =
|
|
2343
|
-
|
|
2344
|
-
|
|
2350
|
+
const e = Ir(
|
|
2351
|
+
t.login_url?.replace(
|
|
2352
|
+
"{{url}}",
|
|
2353
|
+
encodeURIComponent(window.location?.href)
|
|
2354
|
+
)
|
|
2345
2355
|
);
|
|
2346
2356
|
throw setTimeout(() => window.location?.assign(e), 300), Zn = !0, new Error("Redirecting to login page...");
|
|
2347
2357
|
} else
|
|
2348
2358
|
d("Auth", "Login being handled locally.");
|
|
2349
2359
|
delete S.authorise;
|
|
2350
2360
|
}
|
|
2351
|
-
function
|
|
2361
|
+
function Ps() {
|
|
2352
2362
|
return S.check_token || (S.check_token = new Promise(async (t, e) => {
|
|
2353
|
-
X() ? (d("Auth", "Valid token found."), t(X())) : (d("Auth", "No token. Checking URL for auth credentials..."), await
|
|
2363
|
+
X() ? (d("Auth", "Valid token found."), t(X())) : (d("Auth", "No token. Checking URL for auth credentials..."), await Ts() ? t(!0) : e()), delete S.check_token;
|
|
2354
2364
|
})), S.check_token;
|
|
2355
2365
|
}
|
|
2356
|
-
function
|
|
2366
|
+
function Ts() {
|
|
2357
2367
|
return S.check_params || (S.check_params = new Promise((t) => {
|
|
2358
2368
|
d("Auth", "Checking for auth parameters...");
|
|
2359
2369
|
let e = Er();
|
|
@@ -2377,25 +2387,25 @@ function Ps() {
|
|
|
2377
2387
|
);
|
|
2378
2388
|
})), S.check_params;
|
|
2379
2389
|
}
|
|
2380
|
-
function
|
|
2381
|
-
const e =
|
|
2390
|
+
function qs(t) {
|
|
2391
|
+
const e = Ds();
|
|
2382
2392
|
t = t ? `${e};${t}` : e;
|
|
2383
2393
|
const n = g ? (g.auth_uri || "").indexOf("?") >= 0 : !1, r = (g ? g.auth_uri : null) || "/auth/oauth/authorize", i = Tn() || g.auth_type === "auth_code" ? "code" : "token";
|
|
2384
2394
|
let s = `${r}${n ? "&" : "?"}response_type=${encodeURIComponent(i)}&client_id=${encodeURIComponent(q)}&state=${encodeURIComponent(t)}&redirect_uri=${encodeURIComponent(g.redirect_uri)}&scope=${encodeURIComponent(g.scope)}`;
|
|
2385
2395
|
if (g.auth_type === "auth_code") {
|
|
2386
|
-
const { challenge: o, verify: u } =
|
|
2396
|
+
const { challenge: o, verify: u } = Us();
|
|
2387
2397
|
sessionStorage.setItem(`${q}_challenge`, o), s += "&code_challenge_method=S256", s += `&code_challenge=${u}`;
|
|
2388
2398
|
}
|
|
2389
2399
|
return s;
|
|
2390
2400
|
}
|
|
2391
2401
|
const Xn = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789".split("");
|
|
2392
|
-
function
|
|
2402
|
+
function Us(t = 43) {
|
|
2393
2403
|
const e = new Array(t).fill(0).map(
|
|
2394
2404
|
() => Xn[Math.floor(Math.random() * Xn.length)]
|
|
2395
|
-
).join(""), n =
|
|
2405
|
+
).join(""), n = Zi(Xi(e)), r = wr(ns.hash(n)).split("=")[0].replace(/\//g, "_").replace(/\+/g, "-");
|
|
2396
2406
|
return { challenge: e, verify: r };
|
|
2397
2407
|
}
|
|
2398
|
-
function
|
|
2408
|
+
function Rs() {
|
|
2399
2409
|
let e = (g.token_uri || "/auth/token") + `?client_id=${encodeURIComponent(q)}`, n = "";
|
|
2400
2410
|
if (e += `&redirect_uri=${encodeURIComponent(g.redirect_uri)}`, Sn()) {
|
|
2401
2411
|
e += `&refresh_token=${encodeURIComponent(Sn())}`, e += "&grant_type=refresh_token";
|
|
@@ -2408,26 +2418,26 @@ function Us() {
|
|
|
2408
2418
|
}
|
|
2409
2419
|
return [e, n];
|
|
2410
2420
|
}
|
|
2411
|
-
function
|
|
2421
|
+
function Ms(t) {
|
|
2412
2422
|
const e = t.token_uri || "/auth/token", n = R({
|
|
2413
2423
|
grant_type: "password",
|
|
2414
2424
|
client_id: q,
|
|
2415
2425
|
client_secret: t.client_secret,
|
|
2416
2426
|
redirect_uri: t.redirect_uri,
|
|
2417
|
-
authority:
|
|
2427
|
+
authority: H?.id,
|
|
2418
2428
|
scope: t.scope,
|
|
2419
2429
|
username: t.username,
|
|
2420
2430
|
password: t.password
|
|
2421
2431
|
});
|
|
2422
2432
|
return `${e}?${n}`;
|
|
2423
2433
|
}
|
|
2424
|
-
function
|
|
2425
|
-
return
|
|
2434
|
+
function Mr() {
|
|
2435
|
+
return Cr(...Rs());
|
|
2426
2436
|
}
|
|
2427
|
-
function
|
|
2428
|
-
return
|
|
2437
|
+
function Cs(t) {
|
|
2438
|
+
return Cr(Ms(t));
|
|
2429
2439
|
}
|
|
2430
|
-
function
|
|
2440
|
+
function Cr(t, e = "") {
|
|
2431
2441
|
return S.generate_tokens || (S.generate_tokens = new Promise((n, r) => {
|
|
2432
2442
|
d("Auth", "Generating new token...");
|
|
2433
2443
|
const i = (s) => {
|
|
@@ -2447,7 +2457,7 @@ function Mr(t, e = "") {
|
|
|
2447
2457
|
})), S.generate_tokens;
|
|
2448
2458
|
}
|
|
2449
2459
|
function Rn(t) {
|
|
2450
|
-
const e =
|
|
2460
|
+
const e = us(
|
|
2451
2461
|
/* @__PURE__ */ new Date(),
|
|
2452
2462
|
Math.max(60, parseInt(t.expires_in, 10) - 300)
|
|
2453
2463
|
);
|
|
@@ -2459,20 +2469,20 @@ function Rn(t) {
|
|
|
2459
2469
|
t.refresh_token
|
|
2460
2470
|
), be("refresh_token"))), t.expires_in && (I.setItem(`${q}_expires_at`, `${e.valueOf()}`), be("expires_in")), pe.next(!0), De.next(t.access_token || ""), jt.next(t.refresh_token || "");
|
|
2461
2471
|
}
|
|
2462
|
-
function
|
|
2463
|
-
const t =
|
|
2472
|
+
function Ds() {
|
|
2473
|
+
const t = ls();
|
|
2464
2474
|
return I.setItem(`${q}_nonce`, t), t;
|
|
2465
2475
|
}
|
|
2466
2476
|
const Ht = {};
|
|
2467
|
-
let
|
|
2477
|
+
let Dr = (t, e) => {
|
|
2468
2478
|
const n = new Error(`Mock endpoint not found: ${t} ${e}`);
|
|
2469
2479
|
return n.status = 404, d("HTTP(M)", `404 ${t}:`, e), $r(n);
|
|
2470
2480
|
};
|
|
2471
|
-
function
|
|
2472
|
-
|
|
2481
|
+
function Ko(t) {
|
|
2482
|
+
Dr = t;
|
|
2473
2483
|
}
|
|
2474
|
-
function
|
|
2475
|
-
|
|
2484
|
+
function Zo(t, e = Ht) {
|
|
2485
|
+
Ns(t.method, t.path, e);
|
|
2476
2486
|
const n = `${t.method}|${t.path}`, r = t.path.replace(/(http|https):\/\/[a-zA-Z0-9.-]*:?([0-9]*)?/g, "").replace(/^\//, "").split("/"), i = {
|
|
2477
2487
|
...t,
|
|
2478
2488
|
path_parts: r,
|
|
@@ -2482,19 +2492,19 @@ function Ko(t, e = Ht) {
|
|
|
2482
2492
|
};
|
|
2483
2493
|
e[n] = i, d("HTTP(M)", `+ ${t.method} ${t.path}`);
|
|
2484
2494
|
}
|
|
2485
|
-
function
|
|
2495
|
+
function Ns(t, e, n = Ht) {
|
|
2486
2496
|
const r = `${t}|${e}`;
|
|
2487
2497
|
n[r] && (delete n[r], d("HTTP(M)", `- ${t} ${e}`));
|
|
2488
2498
|
}
|
|
2489
|
-
function
|
|
2490
|
-
const i =
|
|
2499
|
+
function Fs(t, e, n, r = Ht) {
|
|
2500
|
+
const i = js(t, e, r);
|
|
2491
2501
|
if (i) {
|
|
2492
|
-
const s =
|
|
2493
|
-
return
|
|
2502
|
+
const s = zs(e, i, n);
|
|
2503
|
+
return Hs(i, s);
|
|
2494
2504
|
}
|
|
2495
|
-
return
|
|
2505
|
+
return Dr(t, e);
|
|
2496
2506
|
}
|
|
2497
|
-
function
|
|
2507
|
+
function js(t, e, n = Ht) {
|
|
2498
2508
|
const i = e.replace(/(http|https):\/\/[a-zA-Z0-9.-]*:?([0-9]*)?/g, "").replace(/^\//, "").split("?")[0].split("/"), s = Object.keys(
|
|
2499
2509
|
n
|
|
2500
2510
|
).reduce((o, u) => (u.indexOf(`${t}|`) === 0 && o.push(n[u]), o), []);
|
|
@@ -2511,7 +2521,7 @@ function Fs(t, e, n = Ht) {
|
|
|
2511
2521
|
}
|
|
2512
2522
|
return null;
|
|
2513
2523
|
}
|
|
2514
|
-
function
|
|
2524
|
+
function zs(t, e, n) {
|
|
2515
2525
|
const r = t.replace(/(http|https):\/\/[a-zA-Z0-9.-]*:?([0-9]*)?/g, "").split("?"), i = r[0].replace(/^\//, ""), s = r[1] || "", o = Je(s), u = i.split("/"), c = {};
|
|
2516
2526
|
for (let _ = 0; _ < e.path_structure.length; _++) {
|
|
2517
2527
|
const y = e.path_structure[_];
|
|
@@ -2528,7 +2538,7 @@ function js(t, e, n) {
|
|
|
2528
2538
|
};
|
|
2529
2539
|
return d("HTTP(M)", `MATCHED ${l.method}:`, l), l;
|
|
2530
2540
|
}
|
|
2531
|
-
function
|
|
2541
|
+
function Hs(t, e) {
|
|
2532
2542
|
let n;
|
|
2533
2543
|
try {
|
|
2534
2544
|
n = t.callback ? t.callback(e) : t.metadata;
|
|
@@ -2536,10 +2546,10 @@ function zs(t, e) {
|
|
|
2536
2546
|
throw d("HTTP(M)", `ERROR ${e.method}:`, [e.url, o]), o;
|
|
2537
2547
|
}
|
|
2538
2548
|
const r = t.delay_variance || 100, i = t.delay || 300, s = Math.floor(Math.random() * r - r / 2) + i;
|
|
2539
|
-
return d("HTTP(M)", `RESP ${e.method}:`, [e.url, n]),
|
|
2549
|
+
return d("HTTP(M)", `RESP ${e.method}:`, [e.url, n]), ji([n]).pipe(Yi(Math.max(200, s)));
|
|
2540
2550
|
}
|
|
2541
|
-
const
|
|
2542
|
-
function
|
|
2551
|
+
const Nr = {};
|
|
2552
|
+
function Ws(t, e = Nr) {
|
|
2543
2553
|
return e[t] || {};
|
|
2544
2554
|
}
|
|
2545
2555
|
function N(t, e, n = tt) {
|
|
@@ -2557,7 +2567,7 @@ function et(t, e, n, r = tt) {
|
|
|
2557
2567
|
function Oe(t, e, n = tt) {
|
|
2558
2568
|
return e || (e = { response_type: "void" }), n("DELETE", t, { response_type: "void", ...e });
|
|
2559
2569
|
}
|
|
2560
|
-
async function
|
|
2570
|
+
async function Ls(t, e, n = Nr) {
|
|
2561
2571
|
if (t.headers) {
|
|
2562
2572
|
const r = {};
|
|
2563
2573
|
t.headers.forEach ? t.headers.forEach((i, s) => r[s.toLowerCase()] = i) : Object.keys(t.headers).forEach(
|
|
@@ -2575,21 +2585,21 @@ async function Ws(t, e, n = Dr) {
|
|
|
2575
2585
|
return await t.json().catch(() => ({}));
|
|
2576
2586
|
}
|
|
2577
2587
|
}
|
|
2578
|
-
const
|
|
2588
|
+
const Fr = () => (qn(), qr().then(
|
|
2579
2589
|
() => Promise.resolve(),
|
|
2580
2590
|
() => new Promise((t) => {
|
|
2581
2591
|
setTimeout(() => {
|
|
2582
|
-
|
|
2592
|
+
Fr().then(() => t());
|
|
2583
2593
|
}, 1e3);
|
|
2584
2594
|
})
|
|
2585
2595
|
));
|
|
2586
|
-
function tt(t, e, n, r = Pn, i =
|
|
2596
|
+
function tt(t, e, n, r = Pn, i = Fs, s = Ls) {
|
|
2587
2597
|
if (r()) {
|
|
2588
2598
|
const o = i(t, e, n?.body);
|
|
2589
2599
|
if (o) return o;
|
|
2590
2600
|
}
|
|
2591
|
-
return n.headers = n.headers || {}, !n.headers["Content-Type"] && !n.headers["content-type"] && (n.headers["Content-Type"] = "application/json"),
|
|
2592
|
-
|
|
2601
|
+
return n.headers = n.headers || {}, !n.headers["Content-Type"] && !n.headers["content-type"] && (n.headers["Content-Type"] = "application/json"), ws().pipe(
|
|
2602
|
+
Bi((o) => o),
|
|
2593
2603
|
Ar(1),
|
|
2594
2604
|
Bn((o) => {
|
|
2595
2605
|
X() === "x-api-key" ? n.headers["X-API-Key"] = zt() : n.headers.Authorization = `Bearer ${X()}`;
|
|
@@ -2601,11 +2611,11 @@ function tt(t, e, n, r = Pn, i = Ns, s = Ws) {
|
|
|
2601
2611
|
return ["POST", "PUT", "PATCH"].includes(t) && n.body !== void 0 && (u.body = typeof n.body == "string" ? n.body : JSON.stringify(n.body)), En(e, u);
|
|
2602
2612
|
}),
|
|
2603
2613
|
Bn((o) => o.ok ? s(o, n.response_type) : $r(o)),
|
|
2604
|
-
|
|
2614
|
+
Ki({
|
|
2605
2615
|
count: 4,
|
|
2606
2616
|
delay: (o, u) => new D((c) => {
|
|
2607
2617
|
if (o.status === 511) {
|
|
2608
|
-
|
|
2618
|
+
Rr(Ut()), c.error(o);
|
|
2609
2619
|
return;
|
|
2610
2620
|
}
|
|
2611
2621
|
if (o.status !== 401) {
|
|
@@ -2614,7 +2624,7 @@ function tt(t, e, n, r = Pn, i = Ns, s = Ws) {
|
|
|
2614
2624
|
}
|
|
2615
2625
|
d("HTTP", "Auth error", o);
|
|
2616
2626
|
const l = Math.pow(2, u - 1) * 1e3;
|
|
2617
|
-
|
|
2627
|
+
Fr().then(() => {
|
|
2618
2628
|
c.next(l), c.complete();
|
|
2619
2629
|
}).catch(() => {
|
|
2620
2630
|
c.error(o);
|
|
@@ -2642,10 +2652,10 @@ class L {
|
|
|
2642
2652
|
*/
|
|
2643
2653
|
toJSON() {
|
|
2644
2654
|
const e = { ...this };
|
|
2645
|
-
return e.version = this.version, delete e.created_at,
|
|
2655
|
+
return e.version = this.version, delete e.created_at, fs(e, [void 0, null, ""]);
|
|
2646
2656
|
}
|
|
2647
2657
|
}
|
|
2648
|
-
class
|
|
2658
|
+
class Bs extends L {
|
|
2649
2659
|
// Dashboard to show this alert on
|
|
2650
2660
|
alert_dashboard_id;
|
|
2651
2661
|
// Details of the dashboard assigned
|
|
@@ -2673,7 +2683,7 @@ class Ls extends L {
|
|
|
2673
2683
|
}, this.severity = e.severity || "low", this.alert_type = e.alert_type || "threshold", this.debounce_period = e.debounce_period || 0, this.alert_dashboard_id = e.alert_dashboard_id || "", this.alert_dashboard_details = e.alert_dashboard_details || void 0, this.any_match = e.any_match || !1;
|
|
2674
2684
|
}
|
|
2675
2685
|
}
|
|
2676
|
-
class
|
|
2686
|
+
class Vs extends L {
|
|
2677
2687
|
// Domain authority that the dashboard exists under
|
|
2678
2688
|
authority_id;
|
|
2679
2689
|
// Description of the dashboard's purpose
|
|
@@ -2686,16 +2696,16 @@ class Bs extends L {
|
|
|
2686
2696
|
}
|
|
2687
2697
|
const Fe = "alert_dashboards";
|
|
2688
2698
|
function Wt(t) {
|
|
2689
|
-
return new
|
|
2699
|
+
return new Vs(t);
|
|
2690
2700
|
}
|
|
2691
|
-
function
|
|
2701
|
+
function Xo(t = {}) {
|
|
2692
2702
|
return O({
|
|
2693
2703
|
query_params: t,
|
|
2694
2704
|
fn: Wt,
|
|
2695
2705
|
path: Fe
|
|
2696
2706
|
});
|
|
2697
2707
|
}
|
|
2698
|
-
function
|
|
2708
|
+
function eu(t) {
|
|
2699
2709
|
return k({
|
|
2700
2710
|
id: t,
|
|
2701
2711
|
query_params: {},
|
|
@@ -2703,7 +2713,7 @@ function Xo(t) {
|
|
|
2703
2713
|
path: Fe
|
|
2704
2714
|
});
|
|
2705
2715
|
}
|
|
2706
|
-
function
|
|
2716
|
+
function tu(t, e, n = "patch") {
|
|
2707
2717
|
return T({
|
|
2708
2718
|
id: t,
|
|
2709
2719
|
form_data: e,
|
|
@@ -2713,7 +2723,7 @@ function eu(t, e, n = "patch") {
|
|
|
2713
2723
|
path: Fe
|
|
2714
2724
|
});
|
|
2715
2725
|
}
|
|
2716
|
-
function
|
|
2726
|
+
function nu(t) {
|
|
2717
2727
|
return P({
|
|
2718
2728
|
form_data: t,
|
|
2719
2729
|
query_params: {},
|
|
@@ -2721,10 +2731,10 @@ function tu(t) {
|
|
|
2721
2731
|
path: Fe
|
|
2722
2732
|
});
|
|
2723
2733
|
}
|
|
2724
|
-
function
|
|
2734
|
+
function ru(t) {
|
|
2725
2735
|
return E({ id: t, query_params: {}, path: Fe });
|
|
2726
2736
|
}
|
|
2727
|
-
function
|
|
2737
|
+
function iu(t) {
|
|
2728
2738
|
return O({
|
|
2729
2739
|
query_params: {},
|
|
2730
2740
|
fn: rt,
|
|
@@ -2733,16 +2743,16 @@ function ru(t) {
|
|
|
2733
2743
|
}
|
|
2734
2744
|
const nt = "alerts";
|
|
2735
2745
|
function rt(t) {
|
|
2736
|
-
return new
|
|
2746
|
+
return new Bs(t);
|
|
2737
2747
|
}
|
|
2738
|
-
function
|
|
2748
|
+
function su(t = {}) {
|
|
2739
2749
|
return O({
|
|
2740
2750
|
query_params: t,
|
|
2741
2751
|
fn: rt,
|
|
2742
2752
|
path: nt
|
|
2743
2753
|
});
|
|
2744
2754
|
}
|
|
2745
|
-
function
|
|
2755
|
+
function ou(t, e = {}) {
|
|
2746
2756
|
return k({
|
|
2747
2757
|
id: t,
|
|
2748
2758
|
query_params: e,
|
|
@@ -2750,7 +2760,7 @@ function su(t, e = {}) {
|
|
|
2750
2760
|
path: nt
|
|
2751
2761
|
});
|
|
2752
2762
|
}
|
|
2753
|
-
function
|
|
2763
|
+
function uu(t, e, n = "patch") {
|
|
2754
2764
|
return T({
|
|
2755
2765
|
id: t,
|
|
2756
2766
|
form_data: e,
|
|
@@ -2760,7 +2770,7 @@ function ou(t, e, n = "patch") {
|
|
|
2760
2770
|
path: nt
|
|
2761
2771
|
});
|
|
2762
2772
|
}
|
|
2763
|
-
function
|
|
2773
|
+
function cu(t) {
|
|
2764
2774
|
return P({
|
|
2765
2775
|
form_data: t,
|
|
2766
2776
|
query_params: {},
|
|
@@ -2768,10 +2778,10 @@ function uu(t) {
|
|
|
2768
2778
|
path: nt
|
|
2769
2779
|
});
|
|
2770
2780
|
}
|
|
2771
|
-
function
|
|
2781
|
+
function au(t) {
|
|
2772
2782
|
return E({ id: t, query_params: {}, path: nt });
|
|
2773
2783
|
}
|
|
2774
|
-
class
|
|
2784
|
+
class Qs extends L {
|
|
2775
2785
|
/** Unique identifier of the application */
|
|
2776
2786
|
uid;
|
|
2777
2787
|
/** Secret associated with the application */
|
|
@@ -2790,19 +2800,19 @@ class Vs extends L {
|
|
|
2790
2800
|
super(e), this.uid = e.uid || "", this.secret = e.secret || "", this.owner_id = e.owner_id || "", this.scopes = e.scopes || "", this.redirect_uri = e.redirect_uri || "", this.skip_authorization = e.skip_authorization || !1, this.preserve_client_id = e.preserve_client_id || !1;
|
|
2791
2801
|
}
|
|
2792
2802
|
}
|
|
2793
|
-
function au(t) {
|
|
2794
|
-
return Fr[t] || 0;
|
|
2795
|
-
}
|
|
2796
2803
|
function lu(t) {
|
|
2797
2804
|
return jr[t] || 0;
|
|
2798
2805
|
}
|
|
2799
|
-
|
|
2806
|
+
function hu(t) {
|
|
2807
|
+
return zr[t] || 0;
|
|
2808
|
+
}
|
|
2809
|
+
let jr = {}, zr = {}, er = "";
|
|
2800
2810
|
const Lt = (t) => t;
|
|
2801
2811
|
function O(t) {
|
|
2802
2812
|
const { query_params: e, fn: n, path: r, endpoint: i } = t, s = R(e), o = `${i || x()}${r ? "/" + r : ""}${s ? "?" + s : ""}`;
|
|
2803
2813
|
return N(o).pipe(
|
|
2804
2814
|
b((u) => {
|
|
2805
|
-
const c =
|
|
2815
|
+
const c = Ys(o, s, r);
|
|
2806
2816
|
return {
|
|
2807
2817
|
total: c.total || 0,
|
|
2808
2818
|
next: c.next ? () => O({
|
|
@@ -2850,8 +2860,8 @@ function E(t) {
|
|
|
2850
2860
|
const { id: e, query_params: n, path: r } = t, i = R(n), s = `${x()}/${r}/${e}${i ? "?" + i : ""}`;
|
|
2851
2861
|
return Oe(s);
|
|
2852
2862
|
}
|
|
2853
|
-
function
|
|
2854
|
-
const r =
|
|
2863
|
+
function Ys(t, e, n) {
|
|
2864
|
+
const r = Ws(
|
|
2855
2865
|
t[0] === "/" ? `${location.origin}${t}` : t
|
|
2856
2866
|
), i = {
|
|
2857
2867
|
total: 0,
|
|
@@ -2859,21 +2869,21 @@ function Qs(t, e, n) {
|
|
|
2859
2869
|
};
|
|
2860
2870
|
if (r && r["x-total-count"]) {
|
|
2861
2871
|
const s = +(r["x-total-count"] || 0);
|
|
2862
|
-
(e.length < 2 || e.length < 12 && e.indexOf("offset=") >= 0) && (
|
|
2872
|
+
(e.length < 2 || e.length < 12 && e.indexOf("offset=") >= 0) && (jr[n] = s), zr[n] = s, i.total = s;
|
|
2863
2873
|
}
|
|
2864
|
-
return r && r.link && (er =
|
|
2874
|
+
return r && r.link && (er = hs(r.link || "").next, i.next = Je(er.split("?")[1])), i;
|
|
2865
2875
|
}
|
|
2866
2876
|
const it = "oauth_apps";
|
|
2867
2877
|
function Bt(t) {
|
|
2868
|
-
return new
|
|
2878
|
+
return new Qs(t);
|
|
2869
2879
|
}
|
|
2870
|
-
function
|
|
2880
|
+
function fu(t = {}) {
|
|
2871
2881
|
return O({ query_params: t, fn: Bt, path: it });
|
|
2872
2882
|
}
|
|
2873
|
-
function
|
|
2883
|
+
function du(t) {
|
|
2874
2884
|
return k({ id: t, query_params: {}, fn: Bt, path: it });
|
|
2875
2885
|
}
|
|
2876
|
-
function
|
|
2886
|
+
function pu(t, e, n = "patch") {
|
|
2877
2887
|
return T({
|
|
2878
2888
|
id: t,
|
|
2879
2889
|
form_data: e,
|
|
@@ -2883,14 +2893,14 @@ function du(t, e, n = "patch") {
|
|
|
2883
2893
|
path: it
|
|
2884
2894
|
});
|
|
2885
2895
|
}
|
|
2886
|
-
function
|
|
2896
|
+
function _u(t) {
|
|
2887
2897
|
return P({ form_data: t, query_params: {}, fn: Bt, path: it });
|
|
2888
2898
|
}
|
|
2889
|
-
function
|
|
2899
|
+
function mu(t) {
|
|
2890
2900
|
return E({ id: t, query_params: {}, path: it });
|
|
2891
2901
|
}
|
|
2892
|
-
var
|
|
2893
|
-
class
|
|
2902
|
+
var Gs = /* @__PURE__ */ ((t) => (t[t.Certificate = 0] = "Certificate", t[t.NoAuth = 1] = "NoAuth", t[t.UserPassword = 2] = "UserPassword", t))(Gs || {});
|
|
2903
|
+
class Js extends L {
|
|
2894
2904
|
/** Unique identifier for the Broker */
|
|
2895
2905
|
id;
|
|
2896
2906
|
/** Name of the Broker */
|
|
@@ -2921,15 +2931,15 @@ class Gs extends L {
|
|
|
2921
2931
|
}
|
|
2922
2932
|
const st = "brokers";
|
|
2923
2933
|
function Vt(t) {
|
|
2924
|
-
return new
|
|
2934
|
+
return new Js(t);
|
|
2925
2935
|
}
|
|
2926
|
-
function
|
|
2936
|
+
function yu(t = {}) {
|
|
2927
2937
|
return O({ query_params: t, fn: Vt, path: st });
|
|
2928
2938
|
}
|
|
2929
|
-
function
|
|
2939
|
+
function gu(t, e = {}) {
|
|
2930
2940
|
return k({ id: t, query_params: e, fn: Vt, path: st });
|
|
2931
2941
|
}
|
|
2932
|
-
function
|
|
2942
|
+
function bu(t, e, n = "patch") {
|
|
2933
2943
|
return T({
|
|
2934
2944
|
id: t,
|
|
2935
2945
|
form_data: e,
|
|
@@ -2939,13 +2949,13 @@ function gu(t, e, n = "patch") {
|
|
|
2939
2949
|
path: st
|
|
2940
2950
|
});
|
|
2941
2951
|
}
|
|
2942
|
-
function
|
|
2952
|
+
function vu(t) {
|
|
2943
2953
|
return P({ form_data: t, query_params: {}, fn: Vt, path: st });
|
|
2944
2954
|
}
|
|
2945
|
-
function
|
|
2955
|
+
function Su(t, e = {}) {
|
|
2946
2956
|
return E({ id: t, query_params: e, path: st });
|
|
2947
2957
|
}
|
|
2948
|
-
class
|
|
2958
|
+
class Ks {
|
|
2949
2959
|
/** Unique identifier of the application */
|
|
2950
2960
|
id;
|
|
2951
2961
|
/** List of running drivers */
|
|
@@ -2993,7 +3003,7 @@ class Js {
|
|
|
2993
3003
|
})) || [];
|
|
2994
3004
|
}
|
|
2995
3005
|
}
|
|
2996
|
-
class
|
|
3006
|
+
class Zs {
|
|
2997
3007
|
/** ID of the cluster associated with the process */
|
|
2998
3008
|
cluster_id;
|
|
2999
3009
|
/** Unique identifier of the application */
|
|
@@ -3025,38 +3035,38 @@ class Ks {
|
|
|
3025
3035
|
}
|
|
3026
3036
|
}
|
|
3027
3037
|
const je = "cluster";
|
|
3028
|
-
function
|
|
3029
|
-
return new
|
|
3030
|
-
}
|
|
3031
|
-
function Su(t = {}) {
|
|
3032
|
-
return O({ query_params: t, fn: zr, path: je });
|
|
3038
|
+
function Hr(t) {
|
|
3039
|
+
return new Ks(t);
|
|
3033
3040
|
}
|
|
3034
|
-
function ku(t
|
|
3035
|
-
return
|
|
3041
|
+
function ku(t = {}) {
|
|
3042
|
+
return O({ query_params: t, fn: Hr, path: je });
|
|
3036
3043
|
}
|
|
3037
3044
|
function $u(t, e = {}) {
|
|
3045
|
+
return k({ id: t, query_params: e, fn: Hr, path: je });
|
|
3046
|
+
}
|
|
3047
|
+
function xu(t, e = {}) {
|
|
3038
3048
|
return k({
|
|
3039
3049
|
id: t,
|
|
3040
3050
|
query_params: e,
|
|
3041
3051
|
fn: (n) => n.map(
|
|
3042
|
-
(r) => new
|
|
3052
|
+
(r) => new Zs(t, r)
|
|
3043
3053
|
),
|
|
3044
3054
|
path: je
|
|
3045
3055
|
});
|
|
3046
3056
|
}
|
|
3047
|
-
function
|
|
3057
|
+
function Au(t, e) {
|
|
3048
3058
|
return E({ id: t, query_params: e, path: je });
|
|
3049
3059
|
}
|
|
3050
|
-
function
|
|
3060
|
+
function wu() {
|
|
3051
3061
|
const t = `${x()}${je}/rebalance`;
|
|
3052
3062
|
return G(t, {}).pipe(b(() => {
|
|
3053
3063
|
}));
|
|
3054
3064
|
}
|
|
3055
|
-
function
|
|
3065
|
+
function Ou() {
|
|
3056
3066
|
const t = `${x()}${je}/versions`;
|
|
3057
3067
|
return N(t).pipe(b((e) => e));
|
|
3058
3068
|
}
|
|
3059
|
-
class
|
|
3069
|
+
class Xs extends L {
|
|
3060
3070
|
/** Domain name */
|
|
3061
3071
|
domain;
|
|
3062
3072
|
/** Login URL for the domain */
|
|
@@ -3077,15 +3087,15 @@ class Zs extends L {
|
|
|
3077
3087
|
}
|
|
3078
3088
|
const ze = "domains";
|
|
3079
3089
|
function ot(t) {
|
|
3080
|
-
return new
|
|
3090
|
+
return new Xs(t);
|
|
3081
3091
|
}
|
|
3082
|
-
function
|
|
3092
|
+
function Eu(t = {}) {
|
|
3083
3093
|
return O({ query_params: t, fn: ot, path: ze });
|
|
3084
3094
|
}
|
|
3085
|
-
function
|
|
3095
|
+
function Iu(t) {
|
|
3086
3096
|
return k({ id: t, query_params: {}, fn: ot, path: ze });
|
|
3087
3097
|
}
|
|
3088
|
-
function
|
|
3098
|
+
function Pu(t, e, n = "patch") {
|
|
3089
3099
|
return T({
|
|
3090
3100
|
id: t,
|
|
3091
3101
|
form_data: e,
|
|
@@ -3095,13 +3105,13 @@ function Iu(t, e, n = "patch") {
|
|
|
3095
3105
|
path: ze
|
|
3096
3106
|
});
|
|
3097
3107
|
}
|
|
3098
|
-
function
|
|
3108
|
+
function Tu(t) {
|
|
3099
3109
|
return P({ form_data: t, query_params: {}, fn: ot, path: ze });
|
|
3100
3110
|
}
|
|
3101
|
-
function
|
|
3111
|
+
function qu(t) {
|
|
3102
3112
|
return E({ id: t, query_params: {}, path: ze });
|
|
3103
3113
|
}
|
|
3104
|
-
function
|
|
3114
|
+
function Uu(t) {
|
|
3105
3115
|
const e = `${x()}${ze}/lookup/${encodeURIComponent(t)}`;
|
|
3106
3116
|
return N(e).pipe(b((n) => ot(n)));
|
|
3107
3117
|
}
|
|
@@ -3128,7 +3138,7 @@ class Ee extends L {
|
|
|
3128
3138
|
}
|
|
3129
3139
|
}
|
|
3130
3140
|
var Mt = /* @__PURE__ */ ((t) => (t[t.SSH = 0] = "SSH", t[t.Device = 1] = "Device", t[t.Service = 2] = "Service", t[t.Websocket = 3] = "Websocket", t[t.Logic = 99] = "Logic", t))(Mt || {});
|
|
3131
|
-
class
|
|
3141
|
+
class Wr extends L {
|
|
3132
3142
|
/** Place class name of the driver */
|
|
3133
3143
|
class_name;
|
|
3134
3144
|
/** Description of the driver functionality */
|
|
@@ -3167,15 +3177,15 @@ class Hr extends L {
|
|
|
3167
3177
|
}
|
|
3168
3178
|
const ae = "drivers";
|
|
3169
3179
|
function Qt(t) {
|
|
3170
|
-
return new
|
|
3180
|
+
return new Wr(t);
|
|
3171
3181
|
}
|
|
3172
|
-
function
|
|
3182
|
+
function Ru(t = {}) {
|
|
3173
3183
|
return O({ query_params: t, fn: Qt, path: ae });
|
|
3174
3184
|
}
|
|
3175
|
-
function
|
|
3185
|
+
function Mu(t, e = {}) {
|
|
3176
3186
|
return k({ id: t, query_params: e, fn: Qt, path: ae });
|
|
3177
3187
|
}
|
|
3178
|
-
function
|
|
3188
|
+
function Cu(t, e, n = "patch") {
|
|
3179
3189
|
return T({
|
|
3180
3190
|
id: t,
|
|
3181
3191
|
form_data: e,
|
|
@@ -3185,25 +3195,25 @@ function Mu(t, e, n = "patch") {
|
|
|
3185
3195
|
path: ae
|
|
3186
3196
|
});
|
|
3187
3197
|
}
|
|
3188
|
-
function
|
|
3198
|
+
function Du(t) {
|
|
3189
3199
|
return P({ form_data: t, query_params: {}, fn: Qt, path: ae });
|
|
3190
3200
|
}
|
|
3191
|
-
function
|
|
3201
|
+
function Nu(t) {
|
|
3192
3202
|
return E({ id: t, query_params: {}, path: ae });
|
|
3193
3203
|
}
|
|
3194
|
-
function
|
|
3204
|
+
function Fu(t) {
|
|
3195
3205
|
return m({ id: t, task_name: "recompile", path: ae });
|
|
3196
3206
|
}
|
|
3197
|
-
function
|
|
3207
|
+
function ju(t) {
|
|
3198
3208
|
return m({ id: t, task_name: "reload", path: ae });
|
|
3199
3209
|
}
|
|
3200
|
-
function
|
|
3210
|
+
function zu(t) {
|
|
3201
3211
|
return m({ id: t, task_name: "compiled", method: "get", path: ae });
|
|
3202
3212
|
}
|
|
3203
|
-
function
|
|
3213
|
+
function Hu(t) {
|
|
3204
3214
|
return m({ id: t, task_name: "readme", method: "get", path: ae });
|
|
3205
3215
|
}
|
|
3206
|
-
class
|
|
3216
|
+
class eo extends L {
|
|
3207
3217
|
description;
|
|
3208
3218
|
secret;
|
|
3209
3219
|
x_api_key;
|
|
@@ -3219,15 +3229,15 @@ class Xs extends L {
|
|
|
3219
3229
|
}
|
|
3220
3230
|
const Ie = "edges";
|
|
3221
3231
|
function Yt(t) {
|
|
3222
|
-
return new
|
|
3232
|
+
return new eo(t);
|
|
3223
3233
|
}
|
|
3224
|
-
function
|
|
3234
|
+
function Wu(t = {}) {
|
|
3225
3235
|
return O({ query_params: t, fn: Yt, path: Ie });
|
|
3226
3236
|
}
|
|
3227
|
-
function
|
|
3237
|
+
function Lu(t) {
|
|
3228
3238
|
return k({ id: t, query_params: {}, fn: Yt, path: Ie });
|
|
3229
3239
|
}
|
|
3230
|
-
function
|
|
3240
|
+
function Bu(t, e, n = "patch") {
|
|
3231
3241
|
return T({
|
|
3232
3242
|
id: t,
|
|
3233
3243
|
form_data: e,
|
|
@@ -3237,13 +3247,13 @@ function Lu(t, e, n = "patch") {
|
|
|
3237
3247
|
path: Ie
|
|
3238
3248
|
});
|
|
3239
3249
|
}
|
|
3240
|
-
function
|
|
3250
|
+
function Vu(t) {
|
|
3241
3251
|
return P({ form_data: t, query_params: {}, fn: Yt, path: Ie });
|
|
3242
3252
|
}
|
|
3243
|
-
function
|
|
3253
|
+
function Qu(t) {
|
|
3244
3254
|
return E({ id: t, query_params: {}, path: Ie });
|
|
3245
3255
|
}
|
|
3246
|
-
function
|
|
3256
|
+
function Yu(t) {
|
|
3247
3257
|
return m({
|
|
3248
3258
|
id: t,
|
|
3249
3259
|
task_name: "token",
|
|
@@ -3252,11 +3262,11 @@ function Qu(t) {
|
|
|
3252
3262
|
path: Ie
|
|
3253
3263
|
});
|
|
3254
3264
|
}
|
|
3255
|
-
function
|
|
3265
|
+
function Gu() {
|
|
3256
3266
|
const t = x(), e = t.startsWith("https") ? "wss:" : "ws:", n = t.startsWith("https") ? "https:" : "http:";
|
|
3257
3267
|
return t.replace(n, e) + `${Ie}/control`;
|
|
3258
3268
|
}
|
|
3259
|
-
class
|
|
3269
|
+
class to extends L {
|
|
3260
3270
|
/** Type of auth source */
|
|
3261
3271
|
type = "ldap";
|
|
3262
3272
|
/** ID of the authority associted with the auth method */
|
|
@@ -3286,15 +3296,15 @@ class eo extends L {
|
|
|
3286
3296
|
}
|
|
3287
3297
|
const ut = "ldap_auths";
|
|
3288
3298
|
function Gt(t) {
|
|
3289
|
-
return new
|
|
3299
|
+
return new to(t);
|
|
3290
3300
|
}
|
|
3291
|
-
function
|
|
3301
|
+
function Ju(t = {}) {
|
|
3292
3302
|
return O({ query_params: t, fn: Gt, path: ut });
|
|
3293
3303
|
}
|
|
3294
|
-
function
|
|
3304
|
+
function Ku(t) {
|
|
3295
3305
|
return k({ id: t, query_params: {}, fn: Gt, path: ut });
|
|
3296
3306
|
}
|
|
3297
|
-
function
|
|
3307
|
+
function Zu(t, e, n = "patch") {
|
|
3298
3308
|
return T({
|
|
3299
3309
|
id: t,
|
|
3300
3310
|
form_data: e,
|
|
@@ -3304,13 +3314,13 @@ function Ku(t, e, n = "patch") {
|
|
|
3304
3314
|
path: ut
|
|
3305
3315
|
});
|
|
3306
3316
|
}
|
|
3307
|
-
function
|
|
3317
|
+
function Xu(t) {
|
|
3308
3318
|
return P({ form_data: t, query_params: {}, fn: Gt, path: ut });
|
|
3309
3319
|
}
|
|
3310
|
-
function
|
|
3320
|
+
function ec(t) {
|
|
3311
3321
|
return E({ id: t, query_params: {}, path: ut });
|
|
3312
3322
|
}
|
|
3313
|
-
class
|
|
3323
|
+
class Lr {
|
|
3314
3324
|
/** ID of the parent resource associated with the metadata */
|
|
3315
3325
|
id;
|
|
3316
3326
|
/** Name/ID of the zone metadata */
|
|
@@ -3455,7 +3465,7 @@ class Mn extends L {
|
|
|
3455
3465
|
));
|
|
3456
3466
|
}
|
|
3457
3467
|
}
|
|
3458
|
-
class
|
|
3468
|
+
class no {
|
|
3459
3469
|
/** Zone associated with the metadata */
|
|
3460
3470
|
zone;
|
|
3461
3471
|
/** Metadata for zone */
|
|
@@ -3466,14 +3476,14 @@ class to {
|
|
|
3466
3476
|
this.zone = new Mn(e.zone), this.keys = e.keys || [], this.metadata = {};
|
|
3467
3477
|
const n = e.metadata || {};
|
|
3468
3478
|
for (const r of this.keys)
|
|
3469
|
-
this.metadata[r] = new
|
|
3479
|
+
this.metadata[r] = new Lr(n[r]);
|
|
3470
3480
|
}
|
|
3471
3481
|
}
|
|
3472
3482
|
const Pe = "metadata";
|
|
3473
3483
|
function ct(t) {
|
|
3474
|
-
return new
|
|
3484
|
+
return new Lr(t);
|
|
3475
3485
|
}
|
|
3476
|
-
function
|
|
3486
|
+
function tc(t, e = {}) {
|
|
3477
3487
|
return k({
|
|
3478
3488
|
id: t,
|
|
3479
3489
|
query_params: e,
|
|
@@ -3481,7 +3491,7 @@ function ec(t, e = {}) {
|
|
|
3481
3491
|
path: Pe
|
|
3482
3492
|
});
|
|
3483
3493
|
}
|
|
3484
|
-
function
|
|
3494
|
+
function ro(t) {
|
|
3485
3495
|
const e = [...t], n = [];
|
|
3486
3496
|
for (; e.length; ) {
|
|
3487
3497
|
const r = e.pop();
|
|
@@ -3489,13 +3499,13 @@ function no(t) {
|
|
|
3489
3499
|
}
|
|
3490
3500
|
return n.reverse();
|
|
3491
3501
|
}
|
|
3492
|
-
function
|
|
3502
|
+
function nc(t, e = {}) {
|
|
3493
3503
|
return m({
|
|
3494
3504
|
id: t,
|
|
3495
3505
|
task_name: "history",
|
|
3496
3506
|
form_data: e,
|
|
3497
3507
|
method: "get",
|
|
3498
|
-
callback: (n) =>
|
|
3508
|
+
callback: (n) => ro(
|
|
3499
3509
|
Object.keys(n).map(
|
|
3500
3510
|
(r) => n[r].map((i) => ct(i))
|
|
3501
3511
|
)
|
|
@@ -3503,7 +3513,7 @@ function tc(t, e = {}) {
|
|
|
3503
3513
|
path: Pe
|
|
3504
3514
|
});
|
|
3505
3515
|
}
|
|
3506
|
-
function
|
|
3516
|
+
function rc(t, e) {
|
|
3507
3517
|
return k({
|
|
3508
3518
|
id: t,
|
|
3509
3519
|
query_params: { name: e },
|
|
@@ -3511,7 +3521,7 @@ function nc(t, e) {
|
|
|
3511
3521
|
path: Pe
|
|
3512
3522
|
});
|
|
3513
3523
|
}
|
|
3514
|
-
function
|
|
3524
|
+
function ic(t, e, n = "put") {
|
|
3515
3525
|
return T({
|
|
3516
3526
|
id: t,
|
|
3517
3527
|
form_data: e,
|
|
@@ -3521,20 +3531,20 @@ function rc(t, e, n = "put") {
|
|
|
3521
3531
|
path: Pe
|
|
3522
3532
|
});
|
|
3523
3533
|
}
|
|
3524
|
-
function
|
|
3534
|
+
function sc(t) {
|
|
3525
3535
|
return P({ form_data: t, query_params: {}, fn: ct, path: Pe });
|
|
3526
3536
|
}
|
|
3527
|
-
function
|
|
3537
|
+
function oc(t, e) {
|
|
3528
3538
|
return E({ id: t, query_params: e, path: Pe });
|
|
3529
3539
|
}
|
|
3530
|
-
function
|
|
3540
|
+
function uc(t, e) {
|
|
3531
3541
|
return m({
|
|
3532
3542
|
id: t,
|
|
3533
3543
|
task_name: "children",
|
|
3534
3544
|
form_data: e,
|
|
3535
3545
|
method: "get",
|
|
3536
3546
|
callback: (n) => n.map(
|
|
3537
|
-
(r) => new
|
|
3547
|
+
(r) => new no({
|
|
3538
3548
|
...r,
|
|
3539
3549
|
keys: Object.keys(r.metadata)
|
|
3540
3550
|
})
|
|
@@ -3542,7 +3552,7 @@ function oc(t, e) {
|
|
|
3542
3552
|
path: Pe
|
|
3543
3553
|
});
|
|
3544
3554
|
}
|
|
3545
|
-
class
|
|
3555
|
+
class Br extends L {
|
|
3546
3556
|
/** Tuple of user settings of differring encryption levels for the system */
|
|
3547
3557
|
settings = [null, null, null, null];
|
|
3548
3558
|
/** Display name of the system */
|
|
@@ -3603,11 +3613,11 @@ class Lr extends L {
|
|
|
3603
3613
|
encryption_level: +n
|
|
3604
3614
|
}));
|
|
3605
3615
|
e.module_data && e.module_data instanceof Array && (this.module_list = e.module_data.map(
|
|
3606
|
-
(n) => new
|
|
3616
|
+
(n) => new Vr(n)
|
|
3607
3617
|
));
|
|
3608
3618
|
}
|
|
3609
3619
|
}
|
|
3610
|
-
class
|
|
3620
|
+
class Vr extends L {
|
|
3611
3621
|
/** Whether the associated hardware is connected */
|
|
3612
3622
|
connected;
|
|
3613
3623
|
/** Whether the module driver is running */
|
|
@@ -3657,9 +3667,9 @@ class Br extends L {
|
|
|
3657
3667
|
return this.control_system_id;
|
|
3658
3668
|
}
|
|
3659
3669
|
constructor(e = {}) {
|
|
3660
|
-
super(e), this.driver_id = e.driver_id || e.dependency_id || "", this.control_system_id = e.control_system_id || "", this.edge_id = e.edge_id || "", this.ip = e.ip || "", this.tls = e.tls || !1, this.udp = e.udp || !1, this.port = e.port || 1, this.makebreak = e.makebreak || !1, this.uri = e.uri || "", this.custom_name = e.custom_name || "", this.role = e.role ?? Mt.Logic, this.notes = e.notes || "", this.ignore_connected = e.ignore_connected || !1, this.connected = e.connected, this.running = e.running || !1, this.updated_at = e.updated_at || 0, this.system = new
|
|
3670
|
+
super(e), this.driver_id = e.driver_id || e.dependency_id || "", this.control_system_id = e.control_system_id || "", this.edge_id = e.edge_id || "", this.ip = e.ip || "", this.tls = e.tls || !1, this.udp = e.udp || !1, this.port = e.port || 1, this.makebreak = e.makebreak || !1, this.uri = e.uri || "", this.custom_name = e.custom_name || "", this.role = e.role ?? Mt.Logic, this.notes = e.notes || "", this.ignore_connected = e.ignore_connected || !1, this.connected = e.connected, this.running = e.running || !1, this.updated_at = e.updated_at || 0, this.system = new Br(
|
|
3661
3671
|
e.control_system || e.system
|
|
3662
|
-
), this.has_runtime_error = e.has_runtime_error || !1, this.error_timestamp = e.error_timestamp || 0, this.driver = new
|
|
3672
|
+
), this.has_runtime_error = e.has_runtime_error || !1, this.error_timestamp = e.error_timestamp || 0, this.driver = new Wr(e.dependency || e.driver), this.settings = e.settings || [null, null, null, null], this.alert_level = e.alert_level || "medium", typeof this.settings != "object" && (this.settings = [null, null, null, null]);
|
|
3663
3673
|
for (const n in He)
|
|
3664
3674
|
!isNaN(Number(n)) && !this.settings[n] && (this.settings[n] = new Ee({
|
|
3665
3675
|
parent_id: this.id,
|
|
@@ -3676,15 +3686,15 @@ class Br extends L {
|
|
|
3676
3686
|
}
|
|
3677
3687
|
const J = "modules";
|
|
3678
3688
|
function Jt(t) {
|
|
3679
|
-
return new
|
|
3689
|
+
return new Vr(t);
|
|
3680
3690
|
}
|
|
3681
|
-
function
|
|
3691
|
+
function cc(t = {}) {
|
|
3682
3692
|
return O({ query_params: t, fn: Jt, path: J });
|
|
3683
3693
|
}
|
|
3684
|
-
function
|
|
3694
|
+
function ac(t, e = {}) {
|
|
3685
3695
|
return k({ id: t, query_params: e, fn: Jt, path: J });
|
|
3686
3696
|
}
|
|
3687
|
-
function
|
|
3697
|
+
function lc(t, e, n = "patch") {
|
|
3688
3698
|
return T({
|
|
3689
3699
|
id: t,
|
|
3690
3700
|
form_data: e,
|
|
@@ -3694,28 +3704,28 @@ function ac(t, e, n = "patch") {
|
|
|
3694
3704
|
path: J
|
|
3695
3705
|
});
|
|
3696
3706
|
}
|
|
3697
|
-
function
|
|
3707
|
+
function hc(t) {
|
|
3698
3708
|
return P({ form_data: t, query_params: {}, fn: Jt, path: J });
|
|
3699
3709
|
}
|
|
3700
|
-
function
|
|
3710
|
+
function fc(t) {
|
|
3701
3711
|
return E({ id: t, query_params: {}, path: J });
|
|
3702
3712
|
}
|
|
3703
|
-
function
|
|
3713
|
+
function dc(t) {
|
|
3704
3714
|
return m({ id: t, task_name: "start", path: J });
|
|
3705
3715
|
}
|
|
3706
|
-
function
|
|
3716
|
+
function pc(t) {
|
|
3707
3717
|
return m({ id: t, task_name: "stop", path: J });
|
|
3708
3718
|
}
|
|
3709
|
-
function
|
|
3719
|
+
function _c(t) {
|
|
3710
3720
|
return m({ id: t, task_name: "state", method: "get", path: J });
|
|
3711
3721
|
}
|
|
3712
|
-
function
|
|
3722
|
+
function mc(t, e) {
|
|
3713
3723
|
return m({ id: t, task_name: `state/${e}`, method: "get", path: J });
|
|
3714
3724
|
}
|
|
3715
|
-
function
|
|
3725
|
+
function yc(t) {
|
|
3716
3726
|
return m({ id: t, task_name: "load", method: "post", path: J });
|
|
3717
3727
|
}
|
|
3718
|
-
function
|
|
3728
|
+
function gc(t) {
|
|
3719
3729
|
return m({
|
|
3720
3730
|
id: t,
|
|
3721
3731
|
task_name: "settings",
|
|
@@ -3724,7 +3734,7 @@ function yc(t) {
|
|
|
3724
3734
|
path: J
|
|
3725
3735
|
});
|
|
3726
3736
|
}
|
|
3727
|
-
function
|
|
3737
|
+
function bc(t) {
|
|
3728
3738
|
return m({
|
|
3729
3739
|
id: t,
|
|
3730
3740
|
task_name: "error",
|
|
@@ -3732,7 +3742,7 @@ function gc(t) {
|
|
|
3732
3742
|
path: J
|
|
3733
3743
|
});
|
|
3734
3744
|
}
|
|
3735
|
-
function
|
|
3745
|
+
function vc(t, e, n = []) {
|
|
3736
3746
|
return m({
|
|
3737
3747
|
id: t,
|
|
3738
3748
|
task_name: `exec/${encodeURIComponent(e)}`,
|
|
@@ -3740,7 +3750,7 @@ function bc(t, e, n = []) {
|
|
|
3740
3750
|
path: J
|
|
3741
3751
|
});
|
|
3742
3752
|
}
|
|
3743
|
-
class
|
|
3753
|
+
class io extends L {
|
|
3744
3754
|
/** Type of auth source */
|
|
3745
3755
|
type = "oauth";
|
|
3746
3756
|
/** ID of the authority associted with the auth method */
|
|
@@ -3775,15 +3785,15 @@ class ro extends L {
|
|
|
3775
3785
|
}
|
|
3776
3786
|
const at = "oauth_auths";
|
|
3777
3787
|
function Kt(t) {
|
|
3778
|
-
return new
|
|
3788
|
+
return new io(t);
|
|
3779
3789
|
}
|
|
3780
|
-
function
|
|
3790
|
+
function Sc(t = {}) {
|
|
3781
3791
|
return O({ query_params: t, fn: Kt, path: at });
|
|
3782
3792
|
}
|
|
3783
|
-
function
|
|
3793
|
+
function kc(t) {
|
|
3784
3794
|
return k({ id: t, query_params: {}, fn: Kt, path: at });
|
|
3785
3795
|
}
|
|
3786
|
-
function
|
|
3796
|
+
function $c(t, e, n = "patch") {
|
|
3787
3797
|
return T({
|
|
3788
3798
|
id: t,
|
|
3789
3799
|
form_data: e,
|
|
@@ -3793,14 +3803,14 @@ function kc(t, e, n = "patch") {
|
|
|
3793
3803
|
path: at
|
|
3794
3804
|
});
|
|
3795
3805
|
}
|
|
3796
|
-
function
|
|
3806
|
+
function xc(t) {
|
|
3797
3807
|
return P({ form_data: t, query_params: {}, fn: Kt, path: at });
|
|
3798
3808
|
}
|
|
3799
|
-
function
|
|
3809
|
+
function Ac(t) {
|
|
3800
3810
|
return E({ id: t, query_params: {}, path: at });
|
|
3801
3811
|
}
|
|
3802
|
-
var
|
|
3803
|
-
class
|
|
3812
|
+
var Qr = /* @__PURE__ */ ((t) => (t.Driver = "driver", t.Interface = "interface", t))(Qr || {});
|
|
3813
|
+
class so extends L {
|
|
3804
3814
|
/** Name of the folder on the server to pull the repository */
|
|
3805
3815
|
folder_name;
|
|
3806
3816
|
/** Description of the contents of the repository */
|
|
@@ -3824,20 +3834,20 @@ class io extends L {
|
|
|
3824
3834
|
return this.repo_type;
|
|
3825
3835
|
}
|
|
3826
3836
|
constructor(e = {}) {
|
|
3827
|
-
super(e), this.folder_name = e.folder_name || "", this.description = e.description || "", this.uri = e.uri || "", this.branch = e.branch || "", this.commit_hash = e.commit_hash || "", this.repo_type = e.repo_type ||
|
|
3837
|
+
super(e), this.folder_name = e.folder_name || "", this.description = e.description || "", this.uri = e.uri || "", this.branch = e.branch || "", this.commit_hash = e.commit_hash || "", this.repo_type = e.repo_type || Qr.Driver, this.username = e.username || "", this.password = e.password || "", this.root_path = e.root_path || "";
|
|
3828
3838
|
}
|
|
3829
3839
|
}
|
|
3830
3840
|
const V = "repositories";
|
|
3831
3841
|
function Zt(t) {
|
|
3832
|
-
return new
|
|
3842
|
+
return new so(t);
|
|
3833
3843
|
}
|
|
3834
|
-
function
|
|
3844
|
+
function wc(t = {}) {
|
|
3835
3845
|
return O({ query_params: t, fn: Zt, path: V });
|
|
3836
3846
|
}
|
|
3837
|
-
function
|
|
3847
|
+
function Oc(t) {
|
|
3838
3848
|
return k({ id: t, query_params: {}, fn: Zt, path: V });
|
|
3839
3849
|
}
|
|
3840
|
-
function
|
|
3850
|
+
function Ec(t, e, n = "patch") {
|
|
3841
3851
|
return T({
|
|
3842
3852
|
id: t,
|
|
3843
3853
|
form_data: e,
|
|
@@ -3847,41 +3857,41 @@ function Oc(t, e, n = "patch") {
|
|
|
3847
3857
|
path: V
|
|
3848
3858
|
});
|
|
3849
3859
|
}
|
|
3850
|
-
function
|
|
3860
|
+
function Ic(t) {
|
|
3851
3861
|
return P({ form_data: t, query_params: {}, fn: Zt, path: V });
|
|
3852
3862
|
}
|
|
3853
|
-
function
|
|
3863
|
+
function Pc(t) {
|
|
3854
3864
|
return E({ id: t, query_params: {}, path: V });
|
|
3855
3865
|
}
|
|
3856
|
-
function
|
|
3866
|
+
function Tc() {
|
|
3857
3867
|
return k({
|
|
3858
3868
|
id: "interfaces",
|
|
3859
3869
|
query_params: {},
|
|
3860
3870
|
path: V
|
|
3861
3871
|
});
|
|
3862
3872
|
}
|
|
3863
|
-
function
|
|
3873
|
+
function qc(t) {
|
|
3864
3874
|
return k({
|
|
3865
3875
|
id: "remote_default_branch",
|
|
3866
3876
|
query_params: t,
|
|
3867
3877
|
path: V
|
|
3868
3878
|
});
|
|
3869
3879
|
}
|
|
3870
|
-
function
|
|
3880
|
+
function Uc(t) {
|
|
3871
3881
|
return k({
|
|
3872
3882
|
id: "remote_branches",
|
|
3873
3883
|
query_params: t,
|
|
3874
3884
|
path: V
|
|
3875
3885
|
});
|
|
3876
3886
|
}
|
|
3877
|
-
function
|
|
3887
|
+
function Rc(t) {
|
|
3878
3888
|
return k({
|
|
3879
3889
|
id: "remote_commits",
|
|
3880
3890
|
query_params: t,
|
|
3881
3891
|
path: V
|
|
3882
3892
|
});
|
|
3883
3893
|
}
|
|
3884
|
-
function
|
|
3894
|
+
function Mc(t, e) {
|
|
3885
3895
|
return m({
|
|
3886
3896
|
id: t,
|
|
3887
3897
|
task_name: "drivers",
|
|
@@ -3890,7 +3900,7 @@ function Rc(t, e) {
|
|
|
3890
3900
|
path: V
|
|
3891
3901
|
});
|
|
3892
3902
|
}
|
|
3893
|
-
function
|
|
3903
|
+
function Cc(t, e) {
|
|
3894
3904
|
return m({
|
|
3895
3905
|
id: t,
|
|
3896
3906
|
task_name: "commits",
|
|
@@ -3899,7 +3909,7 @@ function Mc(t, e) {
|
|
|
3899
3909
|
path: V
|
|
3900
3910
|
});
|
|
3901
3911
|
}
|
|
3902
|
-
function
|
|
3912
|
+
function Dc(t) {
|
|
3903
3913
|
return m({
|
|
3904
3914
|
id: t,
|
|
3905
3915
|
task_name: "branches",
|
|
@@ -3907,7 +3917,7 @@ function Cc(t) {
|
|
|
3907
3917
|
path: V
|
|
3908
3918
|
});
|
|
3909
3919
|
}
|
|
3910
|
-
function
|
|
3920
|
+
function Nc(t) {
|
|
3911
3921
|
return m({
|
|
3912
3922
|
id: t,
|
|
3913
3923
|
task_name: "default_branch",
|
|
@@ -3915,7 +3925,7 @@ function Dc(t) {
|
|
|
3915
3925
|
path: V
|
|
3916
3926
|
});
|
|
3917
3927
|
}
|
|
3918
|
-
function
|
|
3928
|
+
function Fc(t, e) {
|
|
3919
3929
|
return m({
|
|
3920
3930
|
id: t,
|
|
3921
3931
|
task_name: "details",
|
|
@@ -3924,7 +3934,7 @@ function Nc(t, e) {
|
|
|
3924
3934
|
path: V
|
|
3925
3935
|
});
|
|
3926
3936
|
}
|
|
3927
|
-
function
|
|
3937
|
+
function jc(t, e) {
|
|
3928
3938
|
return m({
|
|
3929
3939
|
id: t,
|
|
3930
3940
|
task_name: "pull",
|
|
@@ -3933,7 +3943,7 @@ function Fc(t, e) {
|
|
|
3933
3943
|
path: V
|
|
3934
3944
|
});
|
|
3935
3945
|
}
|
|
3936
|
-
function
|
|
3946
|
+
function zc(t, e) {
|
|
3937
3947
|
return m({
|
|
3938
3948
|
id: t,
|
|
3939
3949
|
task_name: "folders",
|
|
@@ -3942,7 +3952,7 @@ function jc(t, e) {
|
|
|
3942
3952
|
path: V
|
|
3943
3953
|
});
|
|
3944
3954
|
}
|
|
3945
|
-
class
|
|
3955
|
+
class oo extends L {
|
|
3946
3956
|
/** Type of auth source */
|
|
3947
3957
|
type = "saml";
|
|
3948
3958
|
/** ID of the authority associted with the auth method */
|
|
@@ -3982,15 +3992,15 @@ class so extends L {
|
|
|
3982
3992
|
}
|
|
3983
3993
|
const lt = "saml_auths";
|
|
3984
3994
|
function Xt(t) {
|
|
3985
|
-
return new
|
|
3995
|
+
return new oo(t);
|
|
3986
3996
|
}
|
|
3987
|
-
function
|
|
3997
|
+
function Hc(t = {}) {
|
|
3988
3998
|
return O({ query_params: t, fn: Xt, path: lt });
|
|
3989
3999
|
}
|
|
3990
|
-
function
|
|
4000
|
+
function Wc(t) {
|
|
3991
4001
|
return k({ id: t, query_params: {}, fn: Xt, path: lt });
|
|
3992
4002
|
}
|
|
3993
|
-
function
|
|
4003
|
+
function Lc(t, e, n = "patch") {
|
|
3994
4004
|
return T({
|
|
3995
4005
|
id: t,
|
|
3996
4006
|
form_data: e,
|
|
@@ -4000,23 +4010,23 @@ function Wc(t, e, n = "patch") {
|
|
|
4000
4010
|
path: lt
|
|
4001
4011
|
});
|
|
4002
4012
|
}
|
|
4003
|
-
function
|
|
4013
|
+
function Bc(t) {
|
|
4004
4014
|
return P({ form_data: t, query_params: {}, fn: Xt, path: lt });
|
|
4005
4015
|
}
|
|
4006
|
-
function
|
|
4016
|
+
function Vc(t) {
|
|
4007
4017
|
return E({ id: t, query_params: {}, path: lt });
|
|
4008
4018
|
}
|
|
4009
4019
|
const We = "settings";
|
|
4010
4020
|
function ht(t) {
|
|
4011
4021
|
return new Ee(t);
|
|
4012
4022
|
}
|
|
4013
|
-
function
|
|
4023
|
+
function Qc(t = {}) {
|
|
4014
4024
|
return O({ query_params: t, fn: ht, path: We });
|
|
4015
4025
|
}
|
|
4016
|
-
function
|
|
4026
|
+
function Yc(t) {
|
|
4017
4027
|
return k({ id: t, query_params: {}, fn: ht, path: We });
|
|
4018
4028
|
}
|
|
4019
|
-
function
|
|
4029
|
+
function Gc(t, e, n = {}, r = "patch") {
|
|
4020
4030
|
return T({
|
|
4021
4031
|
id: t,
|
|
4022
4032
|
form_data: e,
|
|
@@ -4026,13 +4036,13 @@ function Yc(t, e, n = {}, r = "patch") {
|
|
|
4026
4036
|
path: We
|
|
4027
4037
|
});
|
|
4028
4038
|
}
|
|
4029
|
-
function
|
|
4039
|
+
function Jc(t, e = {}) {
|
|
4030
4040
|
return P({ form_data: t, query_params: e, fn: ht, path: We });
|
|
4031
4041
|
}
|
|
4032
|
-
function
|
|
4042
|
+
function Kc(t) {
|
|
4033
4043
|
return E({ id: t, query_params: {}, path: We });
|
|
4034
4044
|
}
|
|
4035
|
-
function
|
|
4045
|
+
function Zc(t, e = {}) {
|
|
4036
4046
|
return m({
|
|
4037
4047
|
id: t,
|
|
4038
4048
|
task_name: "history",
|
|
@@ -4044,18 +4054,18 @@ function Kc(t, e = {}) {
|
|
|
4044
4054
|
}
|
|
4045
4055
|
const M = "systems";
|
|
4046
4056
|
function Te(t) {
|
|
4047
|
-
return new
|
|
4057
|
+
return new Br(t);
|
|
4048
4058
|
}
|
|
4049
|
-
function
|
|
4059
|
+
function Xc(t = {}) {
|
|
4050
4060
|
return O({ query_params: t, fn: Te, path: M });
|
|
4051
4061
|
}
|
|
4052
|
-
function
|
|
4062
|
+
function ea(t) {
|
|
4053
4063
|
return O({ query_params: t, fn: Te, path: `${M}/with_emails` });
|
|
4054
4064
|
}
|
|
4055
|
-
function
|
|
4065
|
+
function ta(t, e = {}) {
|
|
4056
4066
|
return k({ id: t, query_params: e, fn: Te, path: M });
|
|
4057
4067
|
}
|
|
4058
|
-
function
|
|
4068
|
+
function na(t, e, n = "patch") {
|
|
4059
4069
|
return T({
|
|
4060
4070
|
id: t,
|
|
4061
4071
|
form_data: e,
|
|
@@ -4065,13 +4075,13 @@ function ta(t, e, n = "patch") {
|
|
|
4065
4075
|
path: M
|
|
4066
4076
|
});
|
|
4067
4077
|
}
|
|
4068
|
-
function
|
|
4078
|
+
function ra(t) {
|
|
4069
4079
|
return P({ form_data: t, query_params: {}, fn: Te, path: M });
|
|
4070
4080
|
}
|
|
4071
|
-
function
|
|
4081
|
+
function ia(t) {
|
|
4072
4082
|
return E({ id: t, query_params: {}, path: M });
|
|
4073
4083
|
}
|
|
4074
|
-
function
|
|
4084
|
+
function sa(t, e, n = {}) {
|
|
4075
4085
|
return m({
|
|
4076
4086
|
id: t,
|
|
4077
4087
|
task_name: `module/${e}`,
|
|
@@ -4081,7 +4091,7 @@ function ia(t, e, n = {}) {
|
|
|
4081
4091
|
path: M
|
|
4082
4092
|
});
|
|
4083
4093
|
}
|
|
4084
|
-
function
|
|
4094
|
+
function oa(t, e) {
|
|
4085
4095
|
return m({
|
|
4086
4096
|
id: t,
|
|
4087
4097
|
task_name: `module/${e}`,
|
|
@@ -4091,7 +4101,7 @@ function sa(t, e) {
|
|
|
4091
4101
|
path: M
|
|
4092
4102
|
});
|
|
4093
4103
|
}
|
|
4094
|
-
function
|
|
4104
|
+
function ua(t, e = {}) {
|
|
4095
4105
|
return m({
|
|
4096
4106
|
id: t,
|
|
4097
4107
|
task_name: "start",
|
|
@@ -4099,7 +4109,7 @@ function oa(t, e = {}) {
|
|
|
4099
4109
|
path: M
|
|
4100
4110
|
});
|
|
4101
4111
|
}
|
|
4102
|
-
function
|
|
4112
|
+
function ca(t, e = {}) {
|
|
4103
4113
|
return m({
|
|
4104
4114
|
id: t,
|
|
4105
4115
|
task_name: "stop",
|
|
@@ -4107,7 +4117,7 @@ function ua(t, e = {}) {
|
|
|
4107
4117
|
path: M
|
|
4108
4118
|
});
|
|
4109
4119
|
}
|
|
4110
|
-
function
|
|
4120
|
+
function aa(t, e, n, r = 1, i = []) {
|
|
4111
4121
|
return m({
|
|
4112
4122
|
id: t,
|
|
4113
4123
|
task_name: `${n}_${r}/${encodeURIComponent(e)}`,
|
|
@@ -4115,7 +4125,7 @@ function ca(t, e, n, r = 1, i = []) {
|
|
|
4115
4125
|
path: M
|
|
4116
4126
|
});
|
|
4117
4127
|
}
|
|
4118
|
-
function
|
|
4128
|
+
function la(t, e, n = 1) {
|
|
4119
4129
|
return m({
|
|
4120
4130
|
id: t,
|
|
4121
4131
|
task_name: `${e}_${n}`,
|
|
@@ -4123,7 +4133,7 @@ function aa(t, e, n = 1) {
|
|
|
4123
4133
|
path: M
|
|
4124
4134
|
});
|
|
4125
4135
|
}
|
|
4126
|
-
function
|
|
4136
|
+
function ha(t, e, n = 1, r) {
|
|
4127
4137
|
return m({
|
|
4128
4138
|
id: t,
|
|
4129
4139
|
task_name: `${e}_${n}/${r}`,
|
|
@@ -4131,7 +4141,7 @@ function la(t, e, n = 1, r) {
|
|
|
4131
4141
|
path: M
|
|
4132
4142
|
});
|
|
4133
4143
|
}
|
|
4134
|
-
function
|
|
4144
|
+
function fa(t, e, n = 1) {
|
|
4135
4145
|
return m({
|
|
4136
4146
|
id: t,
|
|
4137
4147
|
task_name: `functions/${e}_${n}`,
|
|
@@ -4139,21 +4149,21 @@ function ha(t, e, n = 1) {
|
|
|
4139
4149
|
path: M
|
|
4140
4150
|
});
|
|
4141
4151
|
}
|
|
4142
|
-
function
|
|
4152
|
+
function da(t) {
|
|
4143
4153
|
return O({
|
|
4144
4154
|
query_params: {},
|
|
4145
4155
|
fn: (e) => new Mn(e),
|
|
4146
4156
|
path: `${M}/${t}/zones`
|
|
4147
4157
|
});
|
|
4148
4158
|
}
|
|
4149
|
-
function
|
|
4159
|
+
function pa(t, e = {}) {
|
|
4150
4160
|
return O({
|
|
4151
4161
|
query_params: e,
|
|
4152
4162
|
fn: (n) => new me(n),
|
|
4153
4163
|
path: `${M}/${t}/triggers`
|
|
4154
4164
|
});
|
|
4155
4165
|
}
|
|
4156
|
-
function
|
|
4166
|
+
function _a(t, e) {
|
|
4157
4167
|
return m({
|
|
4158
4168
|
id: t,
|
|
4159
4169
|
task_name: "triggers",
|
|
@@ -4163,7 +4173,7 @@ function pa(t, e) {
|
|
|
4163
4173
|
path: M
|
|
4164
4174
|
});
|
|
4165
4175
|
}
|
|
4166
|
-
function
|
|
4176
|
+
function ma(t, e) {
|
|
4167
4177
|
return m({
|
|
4168
4178
|
id: t,
|
|
4169
4179
|
task_name: `triggers/${e}`,
|
|
@@ -4171,7 +4181,7 @@ function _a(t, e) {
|
|
|
4171
4181
|
path: M
|
|
4172
4182
|
});
|
|
4173
4183
|
}
|
|
4174
|
-
function
|
|
4184
|
+
function ya(t) {
|
|
4175
4185
|
return m({
|
|
4176
4186
|
id: t,
|
|
4177
4187
|
task_name: "settings",
|
|
@@ -4180,12 +4190,12 @@ function ma(t) {
|
|
|
4180
4190
|
path: M
|
|
4181
4191
|
});
|
|
4182
4192
|
}
|
|
4183
|
-
function
|
|
4193
|
+
function ga(t = {}) {
|
|
4184
4194
|
const e = x(), n = e.startsWith("https") ? "wss:" : "ws:", r = e.startsWith("https") ? "https:" : "http:";
|
|
4185
4195
|
let i = e.replace(r, n) + `${M}/control`;
|
|
4186
4196
|
return t.fixed_device && (i += `?fixed_device=${encodeURIComponent(String(t.fixed_device))}`), i;
|
|
4187
4197
|
}
|
|
4188
|
-
function
|
|
4198
|
+
function ba(t, e = {}) {
|
|
4189
4199
|
return m({
|
|
4190
4200
|
id: t,
|
|
4191
4201
|
task_name: "metadata",
|
|
@@ -4194,7 +4204,7 @@ function ga(t, e = {}) {
|
|
|
4194
4204
|
path: M
|
|
4195
4205
|
});
|
|
4196
4206
|
}
|
|
4197
|
-
function
|
|
4207
|
+
function va(t, e, n = {}) {
|
|
4198
4208
|
return m({
|
|
4199
4209
|
id: t,
|
|
4200
4210
|
task_name: `triggers/${encodeURIComponent(e)}`,
|
|
@@ -4204,7 +4214,7 @@ function ba(t, e, n = {}) {
|
|
|
4204
4214
|
path: M
|
|
4205
4215
|
});
|
|
4206
4216
|
}
|
|
4207
|
-
function
|
|
4217
|
+
function Sa(t, e, n, r = "patch") {
|
|
4208
4218
|
return m({
|
|
4209
4219
|
id: t,
|
|
4210
4220
|
task_name: `triggers/${encodeURIComponent(e)}`,
|
|
@@ -4218,13 +4228,13 @@ const Le = "triggers";
|
|
|
4218
4228
|
function en(t) {
|
|
4219
4229
|
return new me(t);
|
|
4220
4230
|
}
|
|
4221
|
-
function
|
|
4231
|
+
function ka(t = {}) {
|
|
4222
4232
|
return O({ query_params: t, fn: en, path: Le });
|
|
4223
4233
|
}
|
|
4224
|
-
function
|
|
4234
|
+
function $a(t, e = {}) {
|
|
4225
4235
|
return k({ id: t, query_params: e, fn: en, path: Le });
|
|
4226
4236
|
}
|
|
4227
|
-
function
|
|
4237
|
+
function xa(t, e, n = "patch") {
|
|
4228
4238
|
return T({
|
|
4229
4239
|
id: t,
|
|
4230
4240
|
form_data: e,
|
|
@@ -4234,13 +4244,13 @@ function $a(t, e, n = "patch") {
|
|
|
4234
4244
|
path: Le
|
|
4235
4245
|
});
|
|
4236
4246
|
}
|
|
4237
|
-
function
|
|
4247
|
+
function Aa(t) {
|
|
4238
4248
|
return P({ form_data: t, query_params: {}, fn: en, path: Le });
|
|
4239
4249
|
}
|
|
4240
|
-
function
|
|
4250
|
+
function wa(t) {
|
|
4241
4251
|
return E({ id: t, query_params: {}, path: Le });
|
|
4242
4252
|
}
|
|
4243
|
-
function
|
|
4253
|
+
function Oa(t) {
|
|
4244
4254
|
return m({
|
|
4245
4255
|
id: t,
|
|
4246
4256
|
task_name: "instances",
|
|
@@ -4250,8 +4260,8 @@ function wa(t) {
|
|
|
4250
4260
|
path: Le
|
|
4251
4261
|
});
|
|
4252
4262
|
}
|
|
4253
|
-
var
|
|
4254
|
-
class
|
|
4263
|
+
var uo = /* @__PURE__ */ ((t) => (t.EQ = "equal", t.NEQ = "not_equal", t.GT = "greater_than", t.GTE = "greater_than_or_equal", t.LT = "less_than", t.LTE = "less_than_or_equal", t.AND = "and", t.OR = "or", t.XOR = "exclusive_or", t))(uo || {}), co = /* @__PURE__ */ ((t) => (t.AT = "at", t.CRON = "cron", t))(co || {}), ao = /* @__PURE__ */ ((t) => (t[t.ExecuteBefore = 0] = "ExecuteBefore", t[t.ExecuteAfter = 1] = "ExecuteAfter", t[t.PayloadOnly = 2] = "PayloadOnly", t[t.IgnorePayload = 3] = "IgnorePayload", t))(ao || {});
|
|
4264
|
+
class lo extends L {
|
|
4255
4265
|
/** Hash of the email address of the user */
|
|
4256
4266
|
email_digest;
|
|
4257
4267
|
/** ID of the authority associated with the user */
|
|
@@ -4306,18 +4316,18 @@ class ao extends L {
|
|
|
4306
4316
|
}
|
|
4307
4317
|
const K = "users";
|
|
4308
4318
|
function Be(t) {
|
|
4309
|
-
return new
|
|
4319
|
+
return new lo(t);
|
|
4310
4320
|
}
|
|
4311
|
-
function
|
|
4321
|
+
function Ea(t = {}) {
|
|
4312
4322
|
return O({ query_params: t, fn: Be, path: K });
|
|
4313
4323
|
}
|
|
4314
|
-
function
|
|
4324
|
+
function Ia(t, e = {}) {
|
|
4315
4325
|
return k({ id: t, query_params: e, fn: Be, path: K });
|
|
4316
4326
|
}
|
|
4317
|
-
function
|
|
4327
|
+
function Pa(t = {}) {
|
|
4318
4328
|
return k({ id: "current", query_params: t, fn: Be, path: K });
|
|
4319
4329
|
}
|
|
4320
|
-
function
|
|
4330
|
+
function Ta(t, e, n = "patch") {
|
|
4321
4331
|
return T({
|
|
4322
4332
|
id: t,
|
|
4323
4333
|
form_data: e,
|
|
@@ -4327,25 +4337,25 @@ function Pa(t, e, n = "patch") {
|
|
|
4327
4337
|
path: K
|
|
4328
4338
|
});
|
|
4329
4339
|
}
|
|
4330
|
-
function
|
|
4340
|
+
function qa(t) {
|
|
4331
4341
|
return P({ form_data: t, query_params: {}, fn: Be, path: K });
|
|
4332
4342
|
}
|
|
4333
|
-
function
|
|
4343
|
+
function Ua(t, e = {}) {
|
|
4334
4344
|
return E({ id: t, query_params: e, path: K });
|
|
4335
4345
|
}
|
|
4336
|
-
function
|
|
4346
|
+
function Ra(t) {
|
|
4337
4347
|
const e = R(t), n = `${x()}${K}/groups${e ? "?" + e : ""}`;
|
|
4338
4348
|
return N(n).pipe(b((r) => r));
|
|
4339
4349
|
}
|
|
4340
|
-
function
|
|
4350
|
+
function Ma(t) {
|
|
4341
4351
|
const e = R(t), n = `${x()}${K}/metadata/search${e ? "?" + e : ""}`;
|
|
4342
4352
|
return N(n).pipe(b((r) => r));
|
|
4343
4353
|
}
|
|
4344
|
-
function
|
|
4354
|
+
function Ca() {
|
|
4345
4355
|
const t = `${x()}${K}/resource_token`;
|
|
4346
4356
|
return G(t, {}).pipe(b((e) => e));
|
|
4347
4357
|
}
|
|
4348
|
-
function
|
|
4358
|
+
function Da(t, e = {}) {
|
|
4349
4359
|
return m({
|
|
4350
4360
|
id: t,
|
|
4351
4361
|
task_name: "metadata",
|
|
@@ -4354,15 +4364,15 @@ function Ca(t, e = {}) {
|
|
|
4354
4364
|
path: K
|
|
4355
4365
|
});
|
|
4356
4366
|
}
|
|
4357
|
-
function
|
|
4367
|
+
function Na(t) {
|
|
4358
4368
|
const e = `${x()}${K}/${encodeURIComponent(t)}/resource_token`;
|
|
4359
4369
|
return Oe(e, { response_type: "void" });
|
|
4360
4370
|
}
|
|
4361
|
-
function
|
|
4371
|
+
function Fa(t) {
|
|
4362
4372
|
const e = `${x()}${K}/${encodeURIComponent(t)}/resource_token`;
|
|
4363
4373
|
return G(e, {}).pipe(b((n) => n));
|
|
4364
4374
|
}
|
|
4365
|
-
function
|
|
4375
|
+
function ja(t) {
|
|
4366
4376
|
return m({
|
|
4367
4377
|
id: t,
|
|
4368
4378
|
task_name: "revive",
|
|
@@ -4376,10 +4386,10 @@ const le = "zones";
|
|
|
4376
4386
|
function tn(t) {
|
|
4377
4387
|
return new Mn(t);
|
|
4378
4388
|
}
|
|
4379
|
-
function
|
|
4389
|
+
function za(t = {}) {
|
|
4380
4390
|
return O({ query_params: t, fn: tn, path: le });
|
|
4381
4391
|
}
|
|
4382
|
-
function
|
|
4392
|
+
function Ha(t = {}) {
|
|
4383
4393
|
return k({
|
|
4384
4394
|
id: "tags",
|
|
4385
4395
|
query_params: t,
|
|
@@ -4387,10 +4397,10 @@ function za(t = {}) {
|
|
|
4387
4397
|
path: le
|
|
4388
4398
|
});
|
|
4389
4399
|
}
|
|
4390
|
-
function
|
|
4400
|
+
function Wa(t, e = {}) {
|
|
4391
4401
|
return k({ id: t, query_params: e, fn: tn, path: le });
|
|
4392
4402
|
}
|
|
4393
|
-
function
|
|
4403
|
+
function La(t, e, n = "patch") {
|
|
4394
4404
|
return T({
|
|
4395
4405
|
id: t,
|
|
4396
4406
|
form_data: e,
|
|
@@ -4400,20 +4410,20 @@ function Wa(t, e, n = "patch") {
|
|
|
4400
4410
|
path: le
|
|
4401
4411
|
});
|
|
4402
4412
|
}
|
|
4403
|
-
function
|
|
4413
|
+
function Ba(t) {
|
|
4404
4414
|
return P({ form_data: t, query_params: {}, fn: tn, path: le });
|
|
4405
4415
|
}
|
|
4406
|
-
function
|
|
4416
|
+
function Va(t) {
|
|
4407
4417
|
return E({ id: t, query_params: {}, path: le });
|
|
4408
4418
|
}
|
|
4409
|
-
function
|
|
4419
|
+
function Qa(t, e = {}) {
|
|
4410
4420
|
return O({
|
|
4411
4421
|
query_params: e,
|
|
4412
4422
|
fn: (n) => new me(n),
|
|
4413
4423
|
path: `${le}/${t}/triggers`
|
|
4414
4424
|
});
|
|
4415
4425
|
}
|
|
4416
|
-
function
|
|
4426
|
+
function Ya(t, e, n, r = 1, i = []) {
|
|
4417
4427
|
return m({
|
|
4418
4428
|
id: t,
|
|
4419
4429
|
task_name: `exec/${encodeURIComponent(
|
|
@@ -4423,7 +4433,7 @@ function Qa(t, e, n, r = 1, i = []) {
|
|
|
4423
4433
|
path: le
|
|
4424
4434
|
});
|
|
4425
4435
|
}
|
|
4426
|
-
function
|
|
4436
|
+
function Ga(t, e = {}) {
|
|
4427
4437
|
return m({
|
|
4428
4438
|
id: t,
|
|
4429
4439
|
task_name: "metadata",
|
|
@@ -4432,8 +4442,8 @@ function Ya(t, e = {}) {
|
|
|
4432
4442
|
path: le
|
|
4433
4443
|
});
|
|
4434
4444
|
}
|
|
4435
|
-
var
|
|
4436
|
-
class
|
|
4445
|
+
var Yr = /* @__PURE__ */ ((t) => (t[t.Default = 0] = "Default", t[t.Cut = 1] = "Cut", t[t.CrossFade = 2] = "CrossFade", t[t.SlideTop = 3] = "SlideTop", t[t.SlideLeft = 4] = "SlideLeft", t[t.SlideRight = 5] = "SlideRight", t[t.SlideBottom = 6] = "SlideBottom", t))(Yr || {});
|
|
4446
|
+
class ho {
|
|
4437
4447
|
id;
|
|
4438
4448
|
created_at;
|
|
4439
4449
|
updated_at;
|
|
@@ -4479,7 +4489,7 @@ class Cn {
|
|
|
4479
4489
|
this.id = e.id || "", this.playlist_id = e.playlist_id || "", this.created_at = e.created_at || 0, this.updated_at = e.updated_at || 0, this.items = e.items || [], this.approved = !!e.approved, this.approved_by_id = e.approved_by_id || "", this.approved_by_email = e.approved_by_email || "", this.approved_by_name = e.approved_by_name || "", this.user_id = e.user_id || "", this.user_name = e.user_name || "", this.user_email = e.user_email || "";
|
|
4480
4490
|
}
|
|
4481
4491
|
}
|
|
4482
|
-
class
|
|
4492
|
+
class fo {
|
|
4483
4493
|
id;
|
|
4484
4494
|
created_at;
|
|
4485
4495
|
updated_at;
|
|
@@ -4499,34 +4509,34 @@ class ho {
|
|
|
4499
4509
|
valid_from;
|
|
4500
4510
|
valid_until;
|
|
4501
4511
|
constructor(e) {
|
|
4502
|
-
this.id = e.id || "", this.created_at = e.created_at || 0, this.updated_at = e.updated_at || 0, this.name = e.name || "", this.description = e.description || "", this.authority_id = e.authority_id || "", this.orientation = e.orientation || "", this.play_count = e.play_count || 0, this.play_through_count = e.play_through_count || 0, this.default_animation = e.default_animation ||
|
|
4512
|
+
this.id = e.id || "", this.created_at = e.created_at || 0, this.updated_at = e.updated_at || 0, this.name = e.name || "", this.description = e.description || "", this.authority_id = e.authority_id || "", this.orientation = e.orientation || "", this.play_count = e.play_count || 0, this.play_through_count = e.play_through_count || 0, this.default_animation = e.default_animation || Yr.Cut, this.random = e.random || !1, this.enabled = e.enabled ?? !0, this.default_duration = e.default_duration ?? 15 * 1e3, this.valid_from = e.valid_from, this.valid_until = e.valid_until, this.play_hours = e.play_hours || "", this.play_at = e.play_at || "", this.play_cron = e.play_cron || "";
|
|
4503
4513
|
}
|
|
4504
4514
|
}
|
|
4505
|
-
const
|
|
4506
|
-
function
|
|
4507
|
-
return k({ id: t, query_params: e, fn: (r) => r, path: `${
|
|
4515
|
+
const Gr = "signage";
|
|
4516
|
+
function Ja(t, e = {}, n) {
|
|
4517
|
+
return k({ id: t, query_params: e, fn: (r) => r, path: `${Gr}`, options: n });
|
|
4508
4518
|
}
|
|
4509
|
-
function
|
|
4519
|
+
function Ka(t) {
|
|
4510
4520
|
return m({
|
|
4511
4521
|
id: t,
|
|
4512
4522
|
task_name: "metrics",
|
|
4513
4523
|
form_data: {},
|
|
4514
4524
|
method: "post",
|
|
4515
4525
|
callback: (e) => e,
|
|
4516
|
-
path:
|
|
4526
|
+
path: Gr
|
|
4517
4527
|
});
|
|
4518
4528
|
}
|
|
4519
4529
|
const Ve = "signage/media";
|
|
4520
4530
|
function nn(t) {
|
|
4521
|
-
return new
|
|
4531
|
+
return new ho(t);
|
|
4522
4532
|
}
|
|
4523
|
-
function
|
|
4533
|
+
function Za(t = {}) {
|
|
4524
4534
|
return O({ query_params: t, fn: nn, path: Ve });
|
|
4525
4535
|
}
|
|
4526
|
-
function
|
|
4536
|
+
function Xa(t, e = {}) {
|
|
4527
4537
|
return k({ id: t, query_params: e, fn: nn, path: Ve });
|
|
4528
4538
|
}
|
|
4529
|
-
function
|
|
4539
|
+
function el(t, e, n = "patch") {
|
|
4530
4540
|
return T({
|
|
4531
4541
|
id: t,
|
|
4532
4542
|
form_data: e,
|
|
@@ -4536,7 +4546,7 @@ function Xa(t, e, n = "patch") {
|
|
|
4536
4546
|
path: Ve
|
|
4537
4547
|
});
|
|
4538
4548
|
}
|
|
4539
|
-
function
|
|
4549
|
+
function tl(t) {
|
|
4540
4550
|
return P({
|
|
4541
4551
|
form_data: t,
|
|
4542
4552
|
query_params: {},
|
|
@@ -4544,20 +4554,20 @@ function el(t) {
|
|
|
4544
4554
|
path: Ve
|
|
4545
4555
|
});
|
|
4546
4556
|
}
|
|
4547
|
-
function
|
|
4557
|
+
function nl(t, e = {}) {
|
|
4548
4558
|
return E({ id: t, query_params: e, path: Ve });
|
|
4549
4559
|
}
|
|
4550
|
-
function
|
|
4560
|
+
function rl(t) {
|
|
4551
4561
|
return `${x()}/${Ve}/${t}/thumbnail`;
|
|
4552
4562
|
}
|
|
4553
4563
|
const he = "signage/playlists";
|
|
4554
4564
|
function rn(t) {
|
|
4555
|
-
return new
|
|
4565
|
+
return new fo(t);
|
|
4556
4566
|
}
|
|
4557
|
-
function
|
|
4567
|
+
function il(t = {}) {
|
|
4558
4568
|
return O({ query_params: t, fn: rn, path: he });
|
|
4559
4569
|
}
|
|
4560
|
-
function
|
|
4570
|
+
function sl(t, e = {}) {
|
|
4561
4571
|
return k({
|
|
4562
4572
|
id: t,
|
|
4563
4573
|
query_params: e,
|
|
@@ -4565,7 +4575,7 @@ function il(t, e = {}) {
|
|
|
4565
4575
|
path: he
|
|
4566
4576
|
});
|
|
4567
4577
|
}
|
|
4568
|
-
function
|
|
4578
|
+
function ol(t, e, n = "patch") {
|
|
4569
4579
|
return T({
|
|
4570
4580
|
id: t,
|
|
4571
4581
|
form_data: e,
|
|
@@ -4575,7 +4585,7 @@ function sl(t, e, n = "patch") {
|
|
|
4575
4585
|
path: he
|
|
4576
4586
|
});
|
|
4577
4587
|
}
|
|
4578
|
-
function
|
|
4588
|
+
function ul(t) {
|
|
4579
4589
|
return P({
|
|
4580
4590
|
form_data: t,
|
|
4581
4591
|
query_params: {},
|
|
@@ -4583,10 +4593,10 @@ function ol(t) {
|
|
|
4583
4593
|
path: he
|
|
4584
4594
|
});
|
|
4585
4595
|
}
|
|
4586
|
-
function
|
|
4596
|
+
function cl(t, e = {}) {
|
|
4587
4597
|
return E({ id: t, query_params: e, path: he });
|
|
4588
4598
|
}
|
|
4589
|
-
function
|
|
4599
|
+
function al(t, e = {}) {
|
|
4590
4600
|
return m({
|
|
4591
4601
|
id: t,
|
|
4592
4602
|
task_name: "media",
|
|
@@ -4596,7 +4606,7 @@ function cl(t, e = {}) {
|
|
|
4596
4606
|
path: he
|
|
4597
4607
|
});
|
|
4598
4608
|
}
|
|
4599
|
-
function
|
|
4609
|
+
function ll(t, e = {}) {
|
|
4600
4610
|
return m({
|
|
4601
4611
|
id: t,
|
|
4602
4612
|
task_name: "media/revisions",
|
|
@@ -4608,7 +4618,7 @@ function al(t, e = {}) {
|
|
|
4608
4618
|
path: he
|
|
4609
4619
|
});
|
|
4610
4620
|
}
|
|
4611
|
-
function
|
|
4621
|
+
function hl(t) {
|
|
4612
4622
|
return m({
|
|
4613
4623
|
id: t,
|
|
4614
4624
|
task_name: "media/approve",
|
|
@@ -4616,7 +4626,7 @@ function ll(t) {
|
|
|
4616
4626
|
path: he
|
|
4617
4627
|
});
|
|
4618
4628
|
}
|
|
4619
|
-
function
|
|
4629
|
+
function fl(t, e) {
|
|
4620
4630
|
return m({
|
|
4621
4631
|
id: t,
|
|
4622
4632
|
task_name: "media",
|
|
@@ -4626,7 +4636,7 @@ function hl(t, e) {
|
|
|
4626
4636
|
callback: (n) => new Cn(n)
|
|
4627
4637
|
});
|
|
4628
4638
|
}
|
|
4629
|
-
class
|
|
4639
|
+
class Jr {
|
|
4630
4640
|
id;
|
|
4631
4641
|
question_id;
|
|
4632
4642
|
survey_id;
|
|
@@ -4636,16 +4646,16 @@ class Gr {
|
|
|
4636
4646
|
this.id = e.id || 0, this.question_id = e.question_id || 0, this.survey_id = e.survey_id || 0, this.type = e.type || "", this.answer_json = e.answer_json || {};
|
|
4637
4647
|
}
|
|
4638
4648
|
}
|
|
4639
|
-
const
|
|
4640
|
-
function
|
|
4649
|
+
const Kr = "/api/staff/v1/surveys/answers";
|
|
4650
|
+
function dl(t = {}) {
|
|
4641
4651
|
const e = R(t);
|
|
4642
|
-
return N(`${
|
|
4643
|
-
b((n) => n.map((r) => new
|
|
4652
|
+
return N(`${Kr}${e ? "?" + e : ""}`).pipe(
|
|
4653
|
+
b((n) => n.map((r) => new Jr(r)))
|
|
4644
4654
|
);
|
|
4645
4655
|
}
|
|
4646
|
-
function
|
|
4647
|
-
return G(`${
|
|
4648
|
-
b((e) => e.map((n) => new
|
|
4656
|
+
function pl(t) {
|
|
4657
|
+
return G(`${Kr}`, t).pipe(
|
|
4658
|
+
b((e) => e.map((n) => new Jr(n)))
|
|
4649
4659
|
);
|
|
4650
4660
|
}
|
|
4651
4661
|
class sn {
|
|
@@ -4659,29 +4669,29 @@ class sn {
|
|
|
4659
4669
|
}
|
|
4660
4670
|
}
|
|
4661
4671
|
const ft = "/api/staff/v1/surveys/invitations";
|
|
4662
|
-
function
|
|
4672
|
+
function _l(t = {}) {
|
|
4663
4673
|
const e = R(t);
|
|
4664
4674
|
return N(`${ft}${e ? "?" + e : ""}`).pipe(
|
|
4665
4675
|
b((n) => n.map((r) => new sn(r)))
|
|
4666
4676
|
);
|
|
4667
4677
|
}
|
|
4668
|
-
function
|
|
4678
|
+
function ml(t, e = {}) {
|
|
4669
4679
|
const n = R(e);
|
|
4670
4680
|
return N(`${ft}/${t}${n ? "?" + n : ""}`).pipe(
|
|
4671
4681
|
b((r) => new sn(r))
|
|
4672
4682
|
);
|
|
4673
4683
|
}
|
|
4674
|
-
function
|
|
4684
|
+
function yl(t, e, n = "patch") {
|
|
4675
4685
|
return (n === "put" ? Ne : et)(`${ft}/${t}`, e).pipe(
|
|
4676
4686
|
b((r) => new sn(r))
|
|
4677
4687
|
);
|
|
4678
4688
|
}
|
|
4679
|
-
function
|
|
4689
|
+
function gl(t) {
|
|
4680
4690
|
return G(`${ft}`, t).pipe(
|
|
4681
4691
|
b((e) => new sn(e))
|
|
4682
4692
|
);
|
|
4683
4693
|
}
|
|
4684
|
-
function
|
|
4694
|
+
function bl(t, e = {}) {
|
|
4685
4695
|
const n = R(e);
|
|
4686
4696
|
return Oe(`${ft}/${t}${n ? "?" + n : ""}`);
|
|
4687
4697
|
}
|
|
@@ -4701,29 +4711,29 @@ class on {
|
|
|
4701
4711
|
}
|
|
4702
4712
|
}
|
|
4703
4713
|
const dt = "/api/staff/v1/surveys/questions";
|
|
4704
|
-
function
|
|
4714
|
+
function vl(t = {}) {
|
|
4705
4715
|
const e = R(t);
|
|
4706
4716
|
return N(`${dt}${e ? "?" + e : ""}`).pipe(
|
|
4707
4717
|
b((n) => n.map((r) => new on(r)))
|
|
4708
4718
|
);
|
|
4709
4719
|
}
|
|
4710
|
-
function
|
|
4720
|
+
function Sl(t, e = {}) {
|
|
4711
4721
|
const n = R(e);
|
|
4712
4722
|
return N(`${dt}/${t}${n ? "?" + n : ""}`).pipe(
|
|
4713
4723
|
b((r) => new on(r))
|
|
4714
4724
|
);
|
|
4715
4725
|
}
|
|
4716
|
-
function
|
|
4726
|
+
function kl(t) {
|
|
4717
4727
|
return G(`${dt}`, t).pipe(
|
|
4718
4728
|
b((e) => new on(e))
|
|
4719
4729
|
);
|
|
4720
4730
|
}
|
|
4721
|
-
function
|
|
4731
|
+
function $l(t, e, n = "patch") {
|
|
4722
4732
|
return (n === "put" ? Ne : et)(`${dt}/${t}`, e).pipe(
|
|
4723
4733
|
b((r) => new on(r))
|
|
4724
4734
|
);
|
|
4725
4735
|
}
|
|
4726
|
-
function
|
|
4736
|
+
function xl(t, e = {}) {
|
|
4727
4737
|
const n = R(e);
|
|
4728
4738
|
return Oe(`${dt}/${t}${n ? "?" + n : ""}`);
|
|
4729
4739
|
}
|
|
@@ -4740,31 +4750,31 @@ class un {
|
|
|
4740
4750
|
}
|
|
4741
4751
|
}
|
|
4742
4752
|
const pt = "/api/staff/v1/surveys";
|
|
4743
|
-
function
|
|
4753
|
+
function Al(t = {}) {
|
|
4744
4754
|
const e = R(t);
|
|
4745
4755
|
return N(`${pt}${e ? "?" + e : ""}`).pipe(
|
|
4746
4756
|
b((n) => n.map((r) => new un(r)))
|
|
4747
4757
|
);
|
|
4748
4758
|
}
|
|
4749
|
-
function
|
|
4759
|
+
function wl(t, e = {}) {
|
|
4750
4760
|
const n = R(e);
|
|
4751
4761
|
return N(`${pt}/${t}${n ? "?" + n : ""}`).pipe(
|
|
4752
4762
|
b((r) => new un(r))
|
|
4753
4763
|
);
|
|
4754
4764
|
}
|
|
4755
|
-
function
|
|
4765
|
+
function Ol(t, e, n = "patch") {
|
|
4756
4766
|
return (n === "put" ? Ne : et)(`${pt}/${t}`, e).pipe(
|
|
4757
4767
|
b((r) => new un(r))
|
|
4758
4768
|
);
|
|
4759
4769
|
}
|
|
4760
|
-
function
|
|
4770
|
+
function El(t) {
|
|
4761
4771
|
return G(`${pt}`, t).pipe(b((e) => new un(e)));
|
|
4762
4772
|
}
|
|
4763
|
-
function
|
|
4773
|
+
function Il(t, e = {}) {
|
|
4764
4774
|
const n = R(e);
|
|
4765
4775
|
return Oe(`${pt}/${t}${n ? "?" + n : ""}`);
|
|
4766
4776
|
}
|
|
4767
|
-
class
|
|
4777
|
+
class po {
|
|
4768
4778
|
id;
|
|
4769
4779
|
parent_category_id;
|
|
4770
4780
|
name;
|
|
@@ -4776,7 +4786,7 @@ class fo {
|
|
|
4776
4786
|
this.id = e.id || "", this.parent_category_id = e.parent_category_id || "", this.name = e.name || "", this.description = e.description || "", this.hidden = e.hidden || !1, this.created_at = e.created_at || 0, this.updated_at = e.updated_at || 0;
|
|
4777
4787
|
}
|
|
4778
4788
|
}
|
|
4779
|
-
class
|
|
4789
|
+
class _o {
|
|
4780
4790
|
id;
|
|
4781
4791
|
purchase_order_number;
|
|
4782
4792
|
invoice_number;
|
|
@@ -4791,7 +4801,7 @@ class po {
|
|
|
4791
4801
|
this.id = e.id || "", this.purchase_order_number = e.purchase_order_number || "", this.invoice_number = e.invoice_number || "", this.supplier_details = e.supplier_details || {}, this.purchase_date = e.purchase_date || 0, this.unit_price = e.unit_price || 0, this.expected_service_start_date = e.expected_service_start_date || 0, this.expected_service_end_date = e.expected_service_end_date || 0, this.created_at = e.created_at || 0, this.updated_at = e.updated_at || 0;
|
|
4792
4802
|
}
|
|
4793
4803
|
}
|
|
4794
|
-
class
|
|
4804
|
+
class mo {
|
|
4795
4805
|
id;
|
|
4796
4806
|
category_id;
|
|
4797
4807
|
name;
|
|
@@ -4805,7 +4815,7 @@ class _o {
|
|
|
4805
4815
|
this.id = e.id || "", this.category_id = e.category_id || "", this.name = e.name || "", this.brand = e.brand || "", this.description = e.description || "", this.model_number = e.model_number || "", this.images = e.images || [], this.created_at = e.created_at || 0, this.updated_at = e.updated_at || 0;
|
|
4806
4816
|
}
|
|
4807
4817
|
}
|
|
4808
|
-
class
|
|
4818
|
+
class yo {
|
|
4809
4819
|
id;
|
|
4810
4820
|
parent_id;
|
|
4811
4821
|
asset_type_id;
|
|
@@ -4836,16 +4846,16 @@ class mo {
|
|
|
4836
4846
|
}
|
|
4837
4847
|
const ye = "assets";
|
|
4838
4848
|
function qe(t) {
|
|
4839
|
-
return new
|
|
4849
|
+
return new yo(t);
|
|
4840
4850
|
}
|
|
4841
|
-
function
|
|
4851
|
+
function Pl(t = {}) {
|
|
4842
4852
|
return O({
|
|
4843
4853
|
query_params: t,
|
|
4844
4854
|
fn: qe,
|
|
4845
4855
|
path: ye
|
|
4846
4856
|
});
|
|
4847
4857
|
}
|
|
4848
|
-
function
|
|
4858
|
+
function Tl(t, e = {}) {
|
|
4849
4859
|
return k({
|
|
4850
4860
|
id: t,
|
|
4851
4861
|
query_params: e,
|
|
@@ -4853,7 +4863,7 @@ function Pl(t, e = {}) {
|
|
|
4853
4863
|
path: ye
|
|
4854
4864
|
});
|
|
4855
4865
|
}
|
|
4856
|
-
function
|
|
4866
|
+
function ql(t, e, n = "patch") {
|
|
4857
4867
|
return T({
|
|
4858
4868
|
id: t,
|
|
4859
4869
|
form_data: e,
|
|
@@ -4863,7 +4873,7 @@ function Tl(t, e, n = "patch") {
|
|
|
4863
4873
|
path: ye
|
|
4864
4874
|
});
|
|
4865
4875
|
}
|
|
4866
|
-
function
|
|
4876
|
+
function Ul(t) {
|
|
4867
4877
|
return P({
|
|
4868
4878
|
form_data: t,
|
|
4869
4879
|
query_params: {},
|
|
@@ -4871,24 +4881,24 @@ function ql(t) {
|
|
|
4871
4881
|
path: ye
|
|
4872
4882
|
});
|
|
4873
4883
|
}
|
|
4874
|
-
function
|
|
4884
|
+
function Rl(t, e = {}) {
|
|
4875
4885
|
return E({ id: t, query_params: e, path: ye });
|
|
4876
4886
|
}
|
|
4877
|
-
function
|
|
4887
|
+
function Ml(t) {
|
|
4878
4888
|
return G(
|
|
4879
4889
|
`${x()}${ye}/bulk`,
|
|
4880
4890
|
JSON.stringify(t),
|
|
4881
4891
|
{}
|
|
4882
4892
|
).pipe(b((e) => e.map((n) => qe(n))));
|
|
4883
4893
|
}
|
|
4884
|
-
function
|
|
4894
|
+
function Cl(t, e = "patch") {
|
|
4885
4895
|
return (e === "put" ? Ne : et)(
|
|
4886
4896
|
`${x()}${ye}/bulk`,
|
|
4887
4897
|
JSON.stringify(t),
|
|
4888
4898
|
{}
|
|
4889
4899
|
).pipe(b((r) => r.map((i) => qe(i))));
|
|
4890
4900
|
}
|
|
4891
|
-
function
|
|
4901
|
+
function Dl(t, e = {}) {
|
|
4892
4902
|
const n = R(e);
|
|
4893
4903
|
return Oe(`${x()}${ye}/bulk${n ? "?" + n : ""}`, {
|
|
4894
4904
|
body: JSON.stringify(t)
|
|
@@ -4896,16 +4906,16 @@ function Cl(t, e = {}) {
|
|
|
4896
4906
|
}
|
|
4897
4907
|
const _t = "asset_types";
|
|
4898
4908
|
function cn(t) {
|
|
4899
|
-
return new
|
|
4909
|
+
return new mo(t);
|
|
4900
4910
|
}
|
|
4901
|
-
function
|
|
4911
|
+
function Nl(t = {}) {
|
|
4902
4912
|
return O({
|
|
4903
4913
|
query_params: t,
|
|
4904
4914
|
fn: cn,
|
|
4905
4915
|
path: _t
|
|
4906
4916
|
});
|
|
4907
4917
|
}
|
|
4908
|
-
function
|
|
4918
|
+
function Fl(t, e = {}) {
|
|
4909
4919
|
return k({
|
|
4910
4920
|
id: t,
|
|
4911
4921
|
query_params: e,
|
|
@@ -4913,7 +4923,7 @@ function Nl(t, e = {}) {
|
|
|
4913
4923
|
path: _t
|
|
4914
4924
|
});
|
|
4915
4925
|
}
|
|
4916
|
-
function
|
|
4926
|
+
function jl(t, e, n = "patch") {
|
|
4917
4927
|
return T({
|
|
4918
4928
|
id: t,
|
|
4919
4929
|
form_data: e,
|
|
@@ -4923,7 +4933,7 @@ function Fl(t, e, n = "patch") {
|
|
|
4923
4933
|
path: _t
|
|
4924
4934
|
});
|
|
4925
4935
|
}
|
|
4926
|
-
function
|
|
4936
|
+
function zl(t) {
|
|
4927
4937
|
return P({
|
|
4928
4938
|
form_data: t,
|
|
4929
4939
|
query_params: {},
|
|
@@ -4931,21 +4941,21 @@ function jl(t) {
|
|
|
4931
4941
|
path: _t
|
|
4932
4942
|
});
|
|
4933
4943
|
}
|
|
4934
|
-
function
|
|
4944
|
+
function Hl(t, e = {}) {
|
|
4935
4945
|
return E({ id: t, query_params: e, path: _t });
|
|
4936
4946
|
}
|
|
4937
4947
|
const mt = "asset_categories";
|
|
4938
4948
|
function an(t) {
|
|
4939
|
-
return new
|
|
4949
|
+
return new po(t);
|
|
4940
4950
|
}
|
|
4941
|
-
function
|
|
4951
|
+
function Wl(t = {}) {
|
|
4942
4952
|
return O({
|
|
4943
4953
|
query_params: t,
|
|
4944
4954
|
fn: an,
|
|
4945
4955
|
path: mt
|
|
4946
4956
|
});
|
|
4947
4957
|
}
|
|
4948
|
-
function
|
|
4958
|
+
function Ll(t, e = {}) {
|
|
4949
4959
|
return k({
|
|
4950
4960
|
id: t,
|
|
4951
4961
|
query_params: e,
|
|
@@ -4953,7 +4963,7 @@ function Wl(t, e = {}) {
|
|
|
4953
4963
|
path: mt
|
|
4954
4964
|
});
|
|
4955
4965
|
}
|
|
4956
|
-
function
|
|
4966
|
+
function Bl(t, e, n = "patch") {
|
|
4957
4967
|
return T({
|
|
4958
4968
|
id: t,
|
|
4959
4969
|
form_data: e,
|
|
@@ -4963,7 +4973,7 @@ function Ll(t, e, n = "patch") {
|
|
|
4963
4973
|
path: mt
|
|
4964
4974
|
});
|
|
4965
4975
|
}
|
|
4966
|
-
function
|
|
4976
|
+
function Vl(t) {
|
|
4967
4977
|
return P({
|
|
4968
4978
|
form_data: t,
|
|
4969
4979
|
query_params: {},
|
|
@@ -4971,21 +4981,21 @@ function Bl(t) {
|
|
|
4971
4981
|
path: mt
|
|
4972
4982
|
});
|
|
4973
4983
|
}
|
|
4974
|
-
function
|
|
4984
|
+
function Ql(t, e = {}) {
|
|
4975
4985
|
return E({ id: t, query_params: e, path: mt });
|
|
4976
4986
|
}
|
|
4977
4987
|
const yt = "asset_purchase_orders";
|
|
4978
4988
|
function ln(t) {
|
|
4979
|
-
return new
|
|
4989
|
+
return new _o(t);
|
|
4980
4990
|
}
|
|
4981
|
-
function
|
|
4991
|
+
function Yl(t = {}) {
|
|
4982
4992
|
return O({
|
|
4983
4993
|
query_params: t,
|
|
4984
4994
|
fn: ln,
|
|
4985
4995
|
path: yt
|
|
4986
4996
|
});
|
|
4987
4997
|
}
|
|
4988
|
-
function
|
|
4998
|
+
function Gl(t, e = {}) {
|
|
4989
4999
|
return k({
|
|
4990
5000
|
id: t,
|
|
4991
5001
|
query_params: e,
|
|
@@ -4993,7 +5003,7 @@ function Yl(t, e = {}) {
|
|
|
4993
5003
|
path: yt
|
|
4994
5004
|
});
|
|
4995
5005
|
}
|
|
4996
|
-
function
|
|
5006
|
+
function Jl(t, e, n = "patch") {
|
|
4997
5007
|
return T({
|
|
4998
5008
|
id: t,
|
|
4999
5009
|
form_data: e,
|
|
@@ -5003,7 +5013,7 @@ function Gl(t, e, n = "patch") {
|
|
|
5003
5013
|
path: yt
|
|
5004
5014
|
});
|
|
5005
5015
|
}
|
|
5006
|
-
function
|
|
5016
|
+
function Kl(t) {
|
|
5007
5017
|
return P({
|
|
5008
5018
|
form_data: t,
|
|
5009
5019
|
query_params: {},
|
|
@@ -5011,10 +5021,10 @@ function Jl(t) {
|
|
|
5011
5021
|
path: yt
|
|
5012
5022
|
});
|
|
5013
5023
|
}
|
|
5014
|
-
function
|
|
5024
|
+
function Zl(t, e = {}) {
|
|
5015
5025
|
return E({ id: t, query_params: e, path: yt });
|
|
5016
5026
|
}
|
|
5017
|
-
class
|
|
5027
|
+
class go {
|
|
5018
5028
|
id;
|
|
5019
5029
|
name;
|
|
5020
5030
|
uri;
|
|
@@ -5035,16 +5045,16 @@ class yo {
|
|
|
5035
5045
|
}
|
|
5036
5046
|
const ie = "short_url";
|
|
5037
5047
|
function hn(t) {
|
|
5038
|
-
return new
|
|
5048
|
+
return new go(t);
|
|
5039
5049
|
}
|
|
5040
|
-
function
|
|
5050
|
+
function Xl(t = {}) {
|
|
5041
5051
|
return O({
|
|
5042
5052
|
query_params: t,
|
|
5043
5053
|
fn: hn,
|
|
5044
5054
|
path: ie
|
|
5045
5055
|
});
|
|
5046
5056
|
}
|
|
5047
|
-
function
|
|
5057
|
+
function eh(t, e = {}) {
|
|
5048
5058
|
return k({
|
|
5049
5059
|
id: t,
|
|
5050
5060
|
query_params: e,
|
|
@@ -5052,7 +5062,7 @@ function Xl(t, e = {}) {
|
|
|
5052
5062
|
path: ie
|
|
5053
5063
|
});
|
|
5054
5064
|
}
|
|
5055
|
-
function
|
|
5065
|
+
function th(t, e, n = "patch") {
|
|
5056
5066
|
return T({
|
|
5057
5067
|
id: t,
|
|
5058
5068
|
form_data: e,
|
|
@@ -5062,7 +5072,7 @@ function eh(t, e, n = "patch") {
|
|
|
5062
5072
|
path: ie
|
|
5063
5073
|
});
|
|
5064
5074
|
}
|
|
5065
|
-
function
|
|
5075
|
+
function nh(t) {
|
|
5066
5076
|
return P({
|
|
5067
5077
|
form_data: t,
|
|
5068
5078
|
query_params: {},
|
|
@@ -5070,33 +5080,33 @@ function th(t) {
|
|
|
5070
5080
|
path: ie
|
|
5071
5081
|
});
|
|
5072
5082
|
}
|
|
5073
|
-
function
|
|
5083
|
+
function rh(t, e = {}) {
|
|
5074
5084
|
return E({ id: t, query_params: e, path: ie });
|
|
5075
5085
|
}
|
|
5076
|
-
function
|
|
5086
|
+
function ih(t) {
|
|
5077
5087
|
return `${x()}${ie}/${encodeURIComponent(t)}/redirect`;
|
|
5078
5088
|
}
|
|
5079
|
-
function
|
|
5089
|
+
function sh(t) {
|
|
5080
5090
|
return N(
|
|
5081
5091
|
`${x()}${ie}/${encodeURIComponent(t)}/qr_code.svg`,
|
|
5082
5092
|
{ response_type: "text" }
|
|
5083
5093
|
);
|
|
5084
5094
|
}
|
|
5085
|
-
function
|
|
5095
|
+
function oh(t, e = {}) {
|
|
5086
5096
|
const n = R(e);
|
|
5087
5097
|
return `${x()}${ie}/${encodeURIComponent(t)}/qr_code.png${n ? "?" + n : ""}`;
|
|
5088
5098
|
}
|
|
5089
|
-
function
|
|
5099
|
+
function uh(t) {
|
|
5090
5100
|
const { format: e = "svg", ...n } = t, r = { ...n, format: e }, i = R(r);
|
|
5091
5101
|
return `${x()}${ie}/qr_code${i ? "?" + i : ""}`;
|
|
5092
5102
|
}
|
|
5093
|
-
function
|
|
5103
|
+
function ch(t) {
|
|
5094
5104
|
const e = { ...t, format: "svg" }, n = R(e);
|
|
5095
5105
|
return N(`${x()}${ie}/qr_code${n ? "?" + n : ""}`, {
|
|
5096
5106
|
response_type: "text"
|
|
5097
5107
|
});
|
|
5098
5108
|
}
|
|
5099
|
-
class
|
|
5109
|
+
class bo {
|
|
5100
5110
|
id;
|
|
5101
5111
|
storage_type;
|
|
5102
5112
|
bucket_name;
|
|
@@ -5116,16 +5126,16 @@ class go {
|
|
|
5116
5126
|
}
|
|
5117
5127
|
const gt = "storages";
|
|
5118
5128
|
function fn(t) {
|
|
5119
|
-
return new
|
|
5129
|
+
return new bo(t);
|
|
5120
5130
|
}
|
|
5121
|
-
function
|
|
5131
|
+
function ah(t = {}) {
|
|
5122
5132
|
return O({
|
|
5123
5133
|
query_params: t,
|
|
5124
5134
|
fn,
|
|
5125
5135
|
path: gt
|
|
5126
5136
|
});
|
|
5127
5137
|
}
|
|
5128
|
-
function
|
|
5138
|
+
function lh(t, e = {}) {
|
|
5129
5139
|
return k({
|
|
5130
5140
|
id: t,
|
|
5131
5141
|
query_params: e,
|
|
@@ -5133,7 +5143,7 @@ function ah(t, e = {}) {
|
|
|
5133
5143
|
path: gt
|
|
5134
5144
|
});
|
|
5135
5145
|
}
|
|
5136
|
-
function
|
|
5146
|
+
function hh(t, e, n = "patch") {
|
|
5137
5147
|
return T({
|
|
5138
5148
|
id: t,
|
|
5139
5149
|
form_data: e,
|
|
@@ -5143,7 +5153,7 @@ function lh(t, e, n = "patch") {
|
|
|
5143
5153
|
path: gt
|
|
5144
5154
|
});
|
|
5145
5155
|
}
|
|
5146
|
-
function
|
|
5156
|
+
function fh(t) {
|
|
5147
5157
|
return P({
|
|
5148
5158
|
form_data: t,
|
|
5149
5159
|
query_params: {},
|
|
@@ -5151,47 +5161,47 @@ function hh(t) {
|
|
|
5151
5161
|
path: gt
|
|
5152
5162
|
});
|
|
5153
5163
|
}
|
|
5154
|
-
function
|
|
5164
|
+
function dh(t, e = {}) {
|
|
5155
5165
|
return E({ id: t, query_params: e, path: gt });
|
|
5156
5166
|
}
|
|
5157
5167
|
const ge = "webrtc";
|
|
5158
|
-
function
|
|
5168
|
+
function ph(t = {}) {
|
|
5159
5169
|
const e = R(t), n = `${x()}${ge}/rooms${e ? "?" + e : ""}`;
|
|
5160
5170
|
return N(n).pipe(b((r) => r));
|
|
5161
5171
|
}
|
|
5162
|
-
function
|
|
5172
|
+
function _h(t) {
|
|
5163
5173
|
const e = `${x()}${ge}/room/${encodeURIComponent(t)}`;
|
|
5164
5174
|
return N(e).pipe(b((n) => n));
|
|
5165
5175
|
}
|
|
5166
|
-
function
|
|
5176
|
+
function mh(t) {
|
|
5167
5177
|
const e = `${x()}${ge}/members/${encodeURIComponent(t)}`;
|
|
5168
5178
|
return N(e).pipe(b((n) => n));
|
|
5169
5179
|
}
|
|
5170
|
-
function
|
|
5180
|
+
function yh(t, e) {
|
|
5171
5181
|
const n = `${x()}${ge}/guest_entry/${encodeURIComponent(t)}`;
|
|
5172
5182
|
return G(n, e).pipe(b(() => {
|
|
5173
5183
|
}));
|
|
5174
5184
|
}
|
|
5175
|
-
function
|
|
5185
|
+
function gh() {
|
|
5176
5186
|
const t = `${x()}${ge}/guest/exit`;
|
|
5177
5187
|
return G(t, {}).pipe(b(() => {
|
|
5178
5188
|
}));
|
|
5179
5189
|
}
|
|
5180
|
-
function
|
|
5190
|
+
function bh(t, e, n) {
|
|
5181
5191
|
const r = `${x()}${ge}/kick/${encodeURIComponent(t)}/${encodeURIComponent(e)}`;
|
|
5182
5192
|
return G(r, n).pipe(b(() => {
|
|
5183
5193
|
}));
|
|
5184
5194
|
}
|
|
5185
|
-
function
|
|
5195
|
+
function vh(t, e, n) {
|
|
5186
5196
|
const r = `${x()}${ge}/transfer/${encodeURIComponent(t)}/${encodeURIComponent(e)}`;
|
|
5187
5197
|
return G(r, n || {}).pipe(b(() => {
|
|
5188
5198
|
}));
|
|
5189
5199
|
}
|
|
5190
|
-
function
|
|
5200
|
+
function Sh() {
|
|
5191
5201
|
const t = x(), e = t.startsWith("https") ? "wss:" : "ws:", n = t.startsWith("https") ? "https:" : "http:";
|
|
5192
5202
|
return t.replace(n, e) + `${ge}/signaller`;
|
|
5193
5203
|
}
|
|
5194
|
-
var
|
|
5204
|
+
var vo = {
|
|
5195
5205
|
url: "",
|
|
5196
5206
|
deserializer: function(t) {
|
|
5197
5207
|
return JSON.parse(t.data);
|
|
@@ -5199,14 +5209,14 @@ var bo = {
|
|
|
5199
5209
|
serializer: function(t) {
|
|
5200
5210
|
return JSON.stringify(t);
|
|
5201
5211
|
}
|
|
5202
|
-
},
|
|
5212
|
+
}, So = "WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }", ko = function(t) {
|
|
5203
5213
|
te(e, t);
|
|
5204
5214
|
function e(n, r) {
|
|
5205
5215
|
var i = t.call(this) || this;
|
|
5206
5216
|
if (i._socket = null, n instanceof D)
|
|
5207
5217
|
i.destination = r, i.source = n;
|
|
5208
5218
|
else {
|
|
5209
|
-
var s = i._config = Ze({},
|
|
5219
|
+
var s = i._config = Ze({}, vo);
|
|
5210
5220
|
if (i._output = new $e(), typeof n == "string")
|
|
5211
5221
|
s.url = n;
|
|
5212
5222
|
else
|
|
@@ -5287,7 +5297,7 @@ var bo = {
|
|
|
5287
5297
|
}
|
|
5288
5298
|
}, function(h) {
|
|
5289
5299
|
var $ = n._config.closingObserver;
|
|
5290
|
-
$ && $.next(void 0), h && h.code ? l.close(h.code, h.reason) : c.error(new TypeError(
|
|
5300
|
+
$ && $.next(void 0), h && h.code ? l.close(h.code, h.reason) : c.error(new TypeError(So)), n._resetState();
|
|
5291
5301
|
}, function() {
|
|
5292
5302
|
var h = n._config.closingObserver;
|
|
5293
5303
|
h && h.next(void 0), l.close(), n._resetState();
|
|
@@ -5317,11 +5327,11 @@ var bo = {
|
|
|
5317
5327
|
n && (n.readyState === 1 || n.readyState === 0) && n.close(), this._resetState(), t.prototype.unsubscribe.call(this);
|
|
5318
5328
|
}, e;
|
|
5319
5329
|
}(vn);
|
|
5320
|
-
function
|
|
5321
|
-
return new
|
|
5330
|
+
function $o(t) {
|
|
5331
|
+
return new ko(t);
|
|
5322
5332
|
}
|
|
5323
|
-
var re = /* @__PURE__ */ ((t) => (t[t.PARSE_ERROR = 0] = "PARSE_ERROR", t[t.BAD_REQUEST = 1] = "BAD_REQUEST", t[t.ACCESS_DENIED = 2] = "ACCESS_DENIED", t[t.REQUEST_FAILED = 3] = "REQUEST_FAILED", t[t.UNKNOWN_CMD = 4] = "UNKNOWN_CMD", t[t.SYS_NOT_FOUND = 5] = "SYS_NOT_FOUND", t[t.MOD_NOT_FOUND = 6] = "MOD_NOT_FOUND", t[t.UNEXPECTED_FAILURE = 7] = "UNEXPECTED_FAILURE", t))(re || {}),
|
|
5324
|
-
class
|
|
5333
|
+
var re = /* @__PURE__ */ ((t) => (t[t.PARSE_ERROR = 0] = "PARSE_ERROR", t[t.BAD_REQUEST = 1] = "BAD_REQUEST", t[t.ACCESS_DENIED = 2] = "ACCESS_DENIED", t[t.REQUEST_FAILED = 3] = "REQUEST_FAILED", t[t.UNKNOWN_CMD = 4] = "UNKNOWN_CMD", t[t.SYS_NOT_FOUND = 5] = "SYS_NOT_FOUND", t[t.MOD_NOT_FOUND = 6] = "MOD_NOT_FOUND", t[t.UNEXPECTED_FAILURE = 7] = "UNEXPECTED_FAILURE", t))(re || {}), Zr = /* @__PURE__ */ ((t) => (t.Info = "info", t.Debug = "debug", t.Warning = "warn", t.Error = "error", t.Fatal = "fatal", t.Trace = "trace", t))(Zr || {});
|
|
5334
|
+
class xo {
|
|
5325
5335
|
constructor(e, n) {
|
|
5326
5336
|
this._system = e;
|
|
5327
5337
|
const r = Object.getOwnPropertyNames(
|
|
@@ -5368,7 +5378,7 @@ class $o {
|
|
|
5368
5378
|
});
|
|
5369
5379
|
}
|
|
5370
5380
|
}
|
|
5371
|
-
class
|
|
5381
|
+
class Ao {
|
|
5372
5382
|
constructor(e) {
|
|
5373
5383
|
for (const n in e)
|
|
5374
5384
|
e.hasOwnProperty(n) && e[n] && e[n] instanceof Array && e[n].forEach((r) => {
|
|
@@ -5381,45 +5391,45 @@ class xo {
|
|
|
5381
5391
|
* @param properties Properties of the new module
|
|
5382
5392
|
*/
|
|
5383
5393
|
addModule(e, n) {
|
|
5384
|
-
this[e] || (this[e] = []), this[e].push(new
|
|
5394
|
+
this[e] || (this[e] = []), this[e].push(new xo(this, n));
|
|
5385
5395
|
}
|
|
5386
5396
|
}
|
|
5387
5397
|
const Ct = {};
|
|
5388
|
-
function
|
|
5389
|
-
return Ct[t] = new
|
|
5398
|
+
function kh(t, e) {
|
|
5399
|
+
return Ct[t] = new Ao(e), Ct[t];
|
|
5390
5400
|
}
|
|
5391
|
-
function
|
|
5401
|
+
function wo(t) {
|
|
5392
5402
|
return Ct[t];
|
|
5393
5403
|
}
|
|
5394
|
-
function
|
|
5404
|
+
function $h(t) {
|
|
5395
5405
|
delete Ct[t];
|
|
5396
5406
|
}
|
|
5397
|
-
const
|
|
5398
|
-
let bt = 0, Z,
|
|
5399
|
-
const B = {}, Dn = {}, Ue = {},
|
|
5407
|
+
const Xr = 15;
|
|
5408
|
+
let bt = 0, Z, ei = 0;
|
|
5409
|
+
const B = {}, Dn = {}, Ue = {}, Oo = {}, ve = new _e(!1);
|
|
5400
5410
|
Ue._place_os_status = ve.asObservable();
|
|
5401
|
-
const
|
|
5402
|
-
Ue._place_os_sync =
|
|
5403
|
-
let
|
|
5404
|
-
const vt = 10 * 1e3,
|
|
5405
|
-
Ue._place_os_debug_events =
|
|
5411
|
+
const ti = new _e([0, 0]);
|
|
5412
|
+
Ue._place_os_sync = ti.asObservable();
|
|
5413
|
+
let ni = Date.now(), Me, Dt = 0, fe = null, wt, Nn = 0;
|
|
5414
|
+
const vt = 10 * 1e3, ri = new $e();
|
|
5415
|
+
Ue._place_os_debug_events = ri.asObservable();
|
|
5406
5416
|
function _n() {
|
|
5407
|
-
return x().indexOf("/control/") >= 0 ? "/control/websocket" : `${
|
|
5417
|
+
return x().indexOf("/control/") >= 0 ? "/control/websocket" : `${Pr()}/systems/control`;
|
|
5408
5418
|
}
|
|
5409
|
-
function
|
|
5419
|
+
function ii() {
|
|
5410
5420
|
return ve.getValue();
|
|
5411
5421
|
}
|
|
5412
|
-
function
|
|
5422
|
+
function Eo() {
|
|
5413
5423
|
return Ue._place_os_status;
|
|
5414
5424
|
}
|
|
5415
|
-
function
|
|
5425
|
+
function xh() {
|
|
5416
5426
|
return Ue._place_os_sync;
|
|
5417
5427
|
}
|
|
5418
|
-
function
|
|
5428
|
+
function Io(t, e = Dn, n = Ue) {
|
|
5419
5429
|
const r = `${t.sys}|${t.mod}_${t.index}|${t.name}`;
|
|
5420
5430
|
return e[r] || (e[r] = new _e(void 0), n[r] = e[r].asObservable()), n[r];
|
|
5421
5431
|
}
|
|
5422
|
-
function
|
|
5432
|
+
function Po(t, e = Dn) {
|
|
5423
5433
|
const n = `${t.sys}|${t.mod}_${t.index}|${t.name}`;
|
|
5424
5434
|
if (e[n])
|
|
5425
5435
|
return e[n].getValue();
|
|
@@ -5432,7 +5442,7 @@ function tr(t, e = 0, n = Qe) {
|
|
|
5432
5442
|
};
|
|
5433
5443
|
return n(r, e);
|
|
5434
5444
|
}
|
|
5435
|
-
function
|
|
5445
|
+
function To(t, e = 0, n = Qe) {
|
|
5436
5446
|
const r = {
|
|
5437
5447
|
id: ++bt,
|
|
5438
5448
|
cmd: "unbind",
|
|
@@ -5440,7 +5450,7 @@ function Po(t, e = 0, n = Qe) {
|
|
|
5440
5450
|
};
|
|
5441
5451
|
return n(r, e);
|
|
5442
5452
|
}
|
|
5443
|
-
function
|
|
5453
|
+
function qo(t, e = vt, n = Qe) {
|
|
5444
5454
|
const r = {
|
|
5445
5455
|
id: ++bt,
|
|
5446
5456
|
cmd: "exec",
|
|
@@ -5448,7 +5458,7 @@ function To(t, e = vt, n = Qe) {
|
|
|
5448
5458
|
};
|
|
5449
5459
|
return n(r, e);
|
|
5450
5460
|
}
|
|
5451
|
-
function
|
|
5461
|
+
function Ah(t, e = vt, n = Qe) {
|
|
5452
5462
|
const r = {
|
|
5453
5463
|
id: ++bt,
|
|
5454
5464
|
cmd: "debug",
|
|
@@ -5456,7 +5466,7 @@ function xh(t, e = vt, n = Qe) {
|
|
|
5456
5466
|
};
|
|
5457
5467
|
return n(r, e);
|
|
5458
5468
|
}
|
|
5459
|
-
function
|
|
5469
|
+
function wh(t, e = vt, n = Qe) {
|
|
5460
5470
|
const r = {
|
|
5461
5471
|
id: ++bt,
|
|
5462
5472
|
cmd: "ignore",
|
|
@@ -5465,7 +5475,7 @@ function Ah(t, e = vt, n = Qe) {
|
|
|
5465
5475
|
return n(r, e);
|
|
5466
5476
|
}
|
|
5467
5477
|
function Qe(t, e = vt, n = 0) {
|
|
5468
|
-
const r = `${t.cmd}|${t.sys}|${t.mod}${t.index}|${t.name}|${t.args}|${
|
|
5478
|
+
const r = `${t.cmd}|${t.sys}|${t.mod}${t.index}|${t.name}|${t.args}|${_s()}`;
|
|
5469
5479
|
if (B[r])
|
|
5470
5480
|
d("WS", "Request already in progress. Waiting...", t);
|
|
5471
5481
|
else {
|
|
@@ -5477,8 +5487,8 @@ function Qe(t, e = vt, n = 0) {
|
|
|
5477
5487
|
(c) => o(c)
|
|
5478
5488
|
);
|
|
5479
5489
|
};
|
|
5480
|
-
if (Z &&
|
|
5481
|
-
Pn() &&
|
|
5490
|
+
if (Z && ii()) {
|
|
5491
|
+
Pn() && Fo(t, Z, Oo), i.resolve = s, i.reject = o;
|
|
5482
5492
|
const c = `${t.sys}, ${t.mod}_${t.index}, ${t.name}`;
|
|
5483
5493
|
d(
|
|
5484
5494
|
"WS",
|
|
@@ -5496,12 +5506,12 @@ function Qe(t, e = vt, n = 0) {
|
|
|
5496
5506
|
}
|
|
5497
5507
|
return B[r].promise;
|
|
5498
5508
|
}
|
|
5499
|
-
function
|
|
5509
|
+
function si(t) {
|
|
5500
5510
|
if (t !== "pong" && t instanceof Object) {
|
|
5501
5511
|
if (t.type === "notify" && t.meta)
|
|
5502
|
-
|
|
5512
|
+
Mo(t.meta, t.value);
|
|
5503
5513
|
else if (t.type === "success")
|
|
5504
|
-
|
|
5514
|
+
Uo(t);
|
|
5505
5515
|
else if (t.type === "debug") {
|
|
5506
5516
|
d(
|
|
5507
5517
|
"WS",
|
|
@@ -5509,23 +5519,23 @@ function ii(t) {
|
|
|
5509
5519
|
t.msg
|
|
5510
5520
|
);
|
|
5511
5521
|
const e = t.meta || { mod: "", index: "" };
|
|
5512
|
-
|
|
5522
|
+
ri.next({
|
|
5513
5523
|
mod_id: t.mod || "<empty>",
|
|
5514
5524
|
module: `${e.mod}_${e.index}`,
|
|
5515
5525
|
class_name: t.klass || "<empty>",
|
|
5516
5526
|
message: t.msg || "<empty>",
|
|
5517
|
-
level: t.level ||
|
|
5527
|
+
level: t.level || Zr.Debug,
|
|
5518
5528
|
time: Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3)
|
|
5519
5529
|
});
|
|
5520
|
-
} else t.type === "error" ?
|
|
5530
|
+
} else t.type === "error" ? Ro(t) : t.cmd || d("WS", "Invalid websocket message", t, "error");
|
|
5521
5531
|
we(`${t.id}`);
|
|
5522
5532
|
} else t === "pong" && (Nn = Date.now(), d("WS", "Pong!"));
|
|
5523
5533
|
}
|
|
5524
|
-
function
|
|
5534
|
+
function Uo(t) {
|
|
5525
5535
|
const e = Object.keys(B).map((n) => B[n]).find((n) => n?.id === t.id);
|
|
5526
5536
|
d("WS", `[SUCCESS](${t.id})`), e && e.resolve && (e.resolve(t.value), delete B[e.key]);
|
|
5527
5537
|
}
|
|
5528
|
-
function
|
|
5538
|
+
function Ro(t) {
|
|
5529
5539
|
let e = "UNEXPECTED FAILURE";
|
|
5530
5540
|
switch (t.code) {
|
|
5531
5541
|
case re.ACCESS_DENIED:
|
|
@@ -5559,7 +5569,7 @@ function Uo(t) {
|
|
|
5559
5569
|
const n = Object.keys(B).map((r) => B[r]).filter((r) => r).find((r) => r.id === t.id);
|
|
5560
5570
|
n && n.reject && (n.reject(t), we(`${n.key}`), delete B[n.key]);
|
|
5561
5571
|
}
|
|
5562
|
-
function
|
|
5572
|
+
function Mo(t, e, n = Dn, r = Ue) {
|
|
5563
5573
|
const i = `${t.sys}|${t.mod}_${t.index}|${t.name}`;
|
|
5564
5574
|
n[i] || (n[i] = new _e(null), r[i] = n[i].asObservable());
|
|
5565
5575
|
const s = `${t.sys}, ${t.mod}_${t.index}, ${t.name}`;
|
|
@@ -5573,20 +5583,20 @@ function Fn(t = 0) {
|
|
|
5573
5583
|
return fe == null && (fe = new Promise((e) => {
|
|
5574
5584
|
if (t > 40)
|
|
5575
5585
|
return location.reload();
|
|
5576
|
-
Dt++,
|
|
5586
|
+
Dt++, ni = Date.now(), Z = Pn() ? No() : Co(), Z ? (d("WS(Debug)", "Authority:", [Ut()]), d("WS", "Connecting to websocket..."), Z.subscribe(
|
|
5577
5587
|
(n) => {
|
|
5578
|
-
ve.getValue() || (d("WS", "Connection established."), e()), ve.next(!0), Dt = 0, mn(),
|
|
5588
|
+
ve.getValue() || (d("WS", "Connection established."), e()), ve.next(!0), Dt = 0, mn(), si(n);
|
|
5579
5589
|
},
|
|
5580
5590
|
(n) => {
|
|
5581
|
-
Z = void 0, fe = null, rr(), mn(),
|
|
5591
|
+
Z = void 0, fe = null, rr(), mn(), Do(n);
|
|
5582
5592
|
},
|
|
5583
5593
|
() => {
|
|
5584
5594
|
Z = void 0, fe = null, rr(), d("WS", "Connection closed by browser."), ve.next(!1), Nt();
|
|
5585
5595
|
}
|
|
5586
5596
|
), Me && clearInterval(Me), Nn = Date.now(), nr(), Me = setInterval(
|
|
5587
5597
|
() => nr(),
|
|
5588
|
-
|
|
5589
|
-
), mn(),
|
|
5598
|
+
Xr * 1e3
|
|
5599
|
+
), mn(), ei += 1, wt = setTimeout(() => {
|
|
5590
5600
|
d("WS", "Unhealthy connection. Reconnecting..."), ve.next(!1), fe = null, Nt();
|
|
5591
5601
|
}, 30 * 1e3)) : (Z ? d(
|
|
5592
5602
|
"WS",
|
|
@@ -5606,16 +5616,16 @@ function Fn(t = 0) {
|
|
|
5606
5616
|
));
|
|
5607
5617
|
})), fe;
|
|
5608
5618
|
}
|
|
5609
|
-
function
|
|
5619
|
+
function Co() {
|
|
5610
5620
|
if (!Ut() || !X()) return null;
|
|
5611
|
-
const t =
|
|
5612
|
-
let e = `ws${t ? "s" : ""}://${kn()}${_n()}${
|
|
5621
|
+
const t = Os() || location.protocol.indexOf("https") >= 0;
|
|
5622
|
+
let e = `ws${t ? "s" : ""}://${kn()}${_n()}${Tr() ? "?fixed_device=true" : ""}`;
|
|
5613
5623
|
const n = X();
|
|
5614
5624
|
let r = n === "x-api-key" ? `api-key=${zt()}` : `bearer_token=${n}`;
|
|
5615
|
-
return !
|
|
5625
|
+
return !ks() && !ds() ? (d("WS", "Authenticating through cookie..."), r += `;max-age=120;path=${_n()};`, r += `${t ? "secure;" : ""}samesite=strict`, document.cookie = r, d("WS", "Cookies:", [document.cookie, r])) : (d("WS", "Authenticating through URL query parameter..."), e += `${e.indexOf("?") >= 0 ? "&" : "?"}${r}`), d(
|
|
5616
5626
|
"WS",
|
|
5617
5627
|
`Creating websocket connection to ws${t ? "s" : ""}://${kn()}${_n()}`
|
|
5618
|
-
),
|
|
5628
|
+
), $o({
|
|
5619
5629
|
url: e,
|
|
5620
5630
|
serializer: (i) => typeof i == "object" ? JSON.stringify(i) : i,
|
|
5621
5631
|
deserializer: (i) => {
|
|
@@ -5630,7 +5640,7 @@ function Mo() {
|
|
|
5630
5640
|
});
|
|
5631
5641
|
}
|
|
5632
5642
|
function Nt() {
|
|
5633
|
-
|
|
5643
|
+
ti.next([ei, Date.now() - ni]), Z && ii() && (Z.complete(), Me && (clearInterval(Me), Me = void 0)), d(
|
|
5634
5644
|
"WS",
|
|
5635
5645
|
`Reconnecting in ${Math.min(
|
|
5636
5646
|
5e3,
|
|
@@ -5643,24 +5653,24 @@ function Nt() {
|
|
|
5643
5653
|
);
|
|
5644
5654
|
}
|
|
5645
5655
|
function nr() {
|
|
5646
|
-
if (Date.now() - Nn > 4 *
|
|
5656
|
+
if (Date.now() - Nn > 4 * Xr * 1e3)
|
|
5647
5657
|
return Nt();
|
|
5648
5658
|
Z?.next("ping");
|
|
5649
5659
|
}
|
|
5650
|
-
function
|
|
5651
|
-
ve.next(!1), d("WS", "Websocket error:", t, void 0, "error"), t.status === 401 && qn(),
|
|
5660
|
+
function Do(t) {
|
|
5661
|
+
ve.next(!1), d("WS", "Websocket error:", t, void 0, "error"), t.status === 401 && qn(), qr(), Nt();
|
|
5652
5662
|
}
|
|
5653
5663
|
function mn() {
|
|
5654
5664
|
wt && (clearTimeout(wt), wt = void 0);
|
|
5655
5665
|
}
|
|
5656
|
-
function
|
|
5666
|
+
function No() {
|
|
5657
5667
|
const t = new $e();
|
|
5658
5668
|
return t.subscribe(
|
|
5659
|
-
(e) =>
|
|
5669
|
+
(e) => si(e)
|
|
5660
5670
|
), t;
|
|
5661
5671
|
}
|
|
5662
|
-
function
|
|
5663
|
-
const r = `${t.sys}|${t.mod}_${t.index}|${t.name}`, i =
|
|
5672
|
+
function Fo(t, e, n) {
|
|
5673
|
+
const r = `${t.sys}|${t.mod}_${t.index}|${t.name}`, i = wo(t.sys), s = i && i[t.mod] ? i[t.mod][t.index - 1 || 0] : null;
|
|
5664
5674
|
if (s) {
|
|
5665
5675
|
switch (t.cmd) {
|
|
5666
5676
|
case "bind":
|
|
@@ -5711,7 +5721,7 @@ function rr() {
|
|
|
5711
5721
|
}
|
|
5712
5722
|
class ir {
|
|
5713
5723
|
constructor(e, n) {
|
|
5714
|
-
this._module = e, this.name = n,
|
|
5724
|
+
this._module = e, this.name = n, Eo().pipe(Gi()).subscribe((r) => {
|
|
5715
5725
|
r && (this._stale_bindings || this._pending === 1) ? (d("VAR", "Re-binding to status variable", this.binding()), this.rebind()) : r || (we(
|
|
5716
5726
|
`rebind:${JSON.stringify(this.binding())}`
|
|
5717
5727
|
), d(
|
|
@@ -5735,13 +5745,13 @@ class ir {
|
|
|
5735
5745
|
}
|
|
5736
5746
|
/** Current value of the binding */
|
|
5737
5747
|
get value() {
|
|
5738
|
-
return
|
|
5748
|
+
return Po(this.binding());
|
|
5739
5749
|
}
|
|
5740
5750
|
/**
|
|
5741
5751
|
* Get an observable that emits the current value of the binding
|
|
5742
5752
|
*/
|
|
5743
5753
|
listen() {
|
|
5744
|
-
return
|
|
5754
|
+
return Io(this.binding());
|
|
5745
5755
|
}
|
|
5746
5756
|
/**
|
|
5747
5757
|
* Subscribe to changes of the variable's binding value.
|
|
@@ -5771,7 +5781,7 @@ class ir {
|
|
|
5771
5781
|
* Unbind from status variable
|
|
5772
5782
|
*/
|
|
5773
5783
|
unbind() {
|
|
5774
|
-
this._binding_count === 1 && this._pending === 0 ? (this._pending = 2,
|
|
5784
|
+
this._binding_count === 1 && this._pending === 0 ? (this._pending = 2, To(this.binding()).then(() => {
|
|
5775
5785
|
this._pending === 2 && (this._pending = 0), this._binding_count--;
|
|
5776
5786
|
})) : this._binding_count = Math.max(this._binding_count - 1, 0);
|
|
5777
5787
|
}
|
|
@@ -5799,7 +5809,7 @@ class ir {
|
|
|
5799
5809
|
};
|
|
5800
5810
|
}
|
|
5801
5811
|
}
|
|
5802
|
-
class
|
|
5812
|
+
class jo {
|
|
5803
5813
|
constructor(e, n) {
|
|
5804
5814
|
this._system = e, this._id = n;
|
|
5805
5815
|
}
|
|
@@ -5843,7 +5853,7 @@ class Fo {
|
|
|
5843
5853
|
* @param args Array of arguments to pass to the method
|
|
5844
5854
|
*/
|
|
5845
5855
|
execute(e, n, r = vt) {
|
|
5846
|
-
return
|
|
5856
|
+
return qo(
|
|
5847
5857
|
{
|
|
5848
5858
|
sys: this._system.id,
|
|
5849
5859
|
mod: this.name,
|
|
@@ -5855,7 +5865,7 @@ class Fo {
|
|
|
5855
5865
|
);
|
|
5856
5866
|
}
|
|
5857
5867
|
}
|
|
5858
|
-
class
|
|
5868
|
+
class zo {
|
|
5859
5869
|
/** Unique idetifier of the system */
|
|
5860
5870
|
id;
|
|
5861
5871
|
/** Mapping of engine modules within the system */
|
|
@@ -5876,7 +5886,7 @@ class jo {
|
|
|
5876
5886
|
const i = r.join("_");
|
|
5877
5887
|
for (this._module_list[i] || (this._module_list[i] = []); this._module_list[i].length < n; )
|
|
5878
5888
|
this._module_list[i].push(
|
|
5879
|
-
new
|
|
5889
|
+
new jo(
|
|
5880
5890
|
this,
|
|
5881
5891
|
`${i}_${this._module_list[i].length + 1}`
|
|
5882
5892
|
)
|
|
@@ -5885,370 +5895,370 @@ class jo {
|
|
|
5885
5895
|
}
|
|
5886
5896
|
}
|
|
5887
5897
|
const yn = {};
|
|
5888
|
-
function
|
|
5889
|
-
return yn[t] || (yn[t] = new
|
|
5898
|
+
function Ho(t) {
|
|
5899
|
+
return yn[t] || (yn[t] = new zo(t)), yn[t];
|
|
5890
5900
|
}
|
|
5891
|
-
function
|
|
5892
|
-
return
|
|
5901
|
+
function Oh(t, e, n = 1) {
|
|
5902
|
+
return Ho(t).module(e, n);
|
|
5893
5903
|
}
|
|
5894
5904
|
export {
|
|
5895
|
-
|
|
5905
|
+
Gs as AuthType,
|
|
5896
5906
|
He as EncryptionLevel,
|
|
5897
|
-
|
|
5898
|
-
|
|
5899
|
-
|
|
5900
|
-
|
|
5901
|
-
|
|
5902
|
-
|
|
5903
|
-
|
|
5904
|
-
|
|
5905
|
-
|
|
5906
|
-
|
|
5907
|
-
|
|
5908
|
-
|
|
5909
|
-
|
|
5907
|
+
Yr as MediaAnimation,
|
|
5908
|
+
xo as MockPlaceWebsocketModule,
|
|
5909
|
+
Ao as MockPlaceWebsocketSystem,
|
|
5910
|
+
Bs as PlaceAlert,
|
|
5911
|
+
Vs as PlaceAlertDashboard,
|
|
5912
|
+
Qs as PlaceApplication,
|
|
5913
|
+
yo as PlaceAsset,
|
|
5914
|
+
po as PlaceAssetCategory,
|
|
5915
|
+
_o as PlaceAssetPurchaseOrder,
|
|
5916
|
+
mo as PlaceAssetType,
|
|
5917
|
+
Ks as PlaceCluster,
|
|
5918
|
+
Xs as PlaceDomain,
|
|
5919
|
+
Wr as PlaceDriver,
|
|
5910
5920
|
Mt as PlaceDriverRole,
|
|
5911
|
-
|
|
5921
|
+
eo as PlaceEdge,
|
|
5912
5922
|
re as PlaceErrorCodes,
|
|
5913
|
-
|
|
5914
|
-
|
|
5915
|
-
|
|
5916
|
-
|
|
5917
|
-
|
|
5918
|
-
|
|
5919
|
-
|
|
5920
|
-
|
|
5921
|
-
|
|
5922
|
-
|
|
5923
|
+
to as PlaceLDAPSource,
|
|
5924
|
+
Zr as PlaceLogLevel,
|
|
5925
|
+
Js as PlaceMQTTBroker,
|
|
5926
|
+
Lr as PlaceMetadata,
|
|
5927
|
+
Vr as PlaceModule,
|
|
5928
|
+
jo as PlaceModuleBinding,
|
|
5929
|
+
io as PlaceOAuthSource,
|
|
5930
|
+
Zs as PlaceProcess,
|
|
5931
|
+
so as PlaceRepository,
|
|
5932
|
+
Qr as PlaceRepositoryType,
|
|
5923
5933
|
L as PlaceResource,
|
|
5924
|
-
|
|
5934
|
+
oo as PlaceSAMLSource,
|
|
5925
5935
|
Ee as PlaceSettings,
|
|
5926
|
-
|
|
5927
|
-
|
|
5928
|
-
|
|
5929
|
-
|
|
5936
|
+
go as PlaceShortUrl,
|
|
5937
|
+
bo as PlaceStorage,
|
|
5938
|
+
Br as PlaceSystem,
|
|
5939
|
+
zo as PlaceSystemBinding,
|
|
5930
5940
|
me as PlaceTrigger,
|
|
5931
|
-
|
|
5941
|
+
lo as PlaceUser,
|
|
5932
5942
|
ir as PlaceVariableBinding,
|
|
5933
5943
|
Mn as PlaceZone,
|
|
5934
|
-
|
|
5935
|
-
|
|
5936
|
-
|
|
5944
|
+
no as PlaceZoneMetadata,
|
|
5945
|
+
ho as SignageMedia,
|
|
5946
|
+
fo as SignagePlaylist,
|
|
5937
5947
|
Cn as SignagePlaylistMedia,
|
|
5938
5948
|
un as Survey,
|
|
5939
|
-
|
|
5949
|
+
Jr as SurveyAnswer,
|
|
5940
5950
|
sn as SurveyInvitation,
|
|
5941
5951
|
on as SurveyQuestion,
|
|
5942
|
-
|
|
5943
|
-
|
|
5944
|
-
|
|
5945
|
-
|
|
5946
|
-
|
|
5947
|
-
|
|
5948
|
-
|
|
5949
|
-
|
|
5950
|
-
|
|
5951
|
-
|
|
5952
|
-
|
|
5953
|
-
|
|
5954
|
-
|
|
5955
|
-
|
|
5956
|
-
|
|
5957
|
-
|
|
5958
|
-
|
|
5959
|
-
|
|
5960
|
-
|
|
5961
|
-
|
|
5962
|
-
|
|
5963
|
-
|
|
5964
|
-
|
|
5965
|
-
|
|
5966
|
-
|
|
5967
|
-
|
|
5968
|
-
|
|
5969
|
-
|
|
5970
|
-
|
|
5971
|
-
|
|
5972
|
-
|
|
5973
|
-
|
|
5974
|
-
|
|
5975
|
-
|
|
5976
|
-
|
|
5977
|
-
|
|
5952
|
+
uo as TriggerConditionOperator,
|
|
5953
|
+
co as TriggerTimeConditionType,
|
|
5954
|
+
ao as TriggerWebhookType,
|
|
5955
|
+
cu as addAlert,
|
|
5956
|
+
nu as addAlertDashboard,
|
|
5957
|
+
pl as addAnswer,
|
|
5958
|
+
_u as addApplication,
|
|
5959
|
+
Ul as addAsset,
|
|
5960
|
+
Vl as addAssetCategory,
|
|
5961
|
+
Kl as addAssetPurchaseOrder,
|
|
5962
|
+
zl as addAssetType,
|
|
5963
|
+
Ml as addAssets,
|
|
5964
|
+
vu as addBroker,
|
|
5965
|
+
Tu as addDomain,
|
|
5966
|
+
Du as addDriver,
|
|
5967
|
+
Vu as addEdge,
|
|
5968
|
+
gl as addInvitation,
|
|
5969
|
+
Xu as addLDAPSource,
|
|
5970
|
+
sc as addMetadata,
|
|
5971
|
+
hc as addModule,
|
|
5972
|
+
xc as addOAuthSource,
|
|
5973
|
+
kl as addQuestion,
|
|
5974
|
+
Ic as addRepository,
|
|
5975
|
+
Bc as addSAMLSource,
|
|
5976
|
+
Jc as addSettings,
|
|
5977
|
+
nh as addShortUrl,
|
|
5978
|
+
tl as addSignageMedia,
|
|
5979
|
+
ul as addSignagePlaylist,
|
|
5980
|
+
fh as addStorage,
|
|
5981
|
+
El as addSurvey,
|
|
5982
|
+
ra as addSystem,
|
|
5983
|
+
sa as addSystemModule,
|
|
5984
|
+
_a as addSystemTrigger,
|
|
5985
|
+
Aa as addTrigger,
|
|
5986
|
+
qa as addUser,
|
|
5987
|
+
Ba as addZone,
|
|
5978
5988
|
x as apiEndpoint,
|
|
5979
5989
|
zt as apiKey,
|
|
5980
|
-
|
|
5981
|
-
|
|
5990
|
+
hl as approveSignagePlaylist,
|
|
5991
|
+
Ur as authorise,
|
|
5982
5992
|
Ut as authority,
|
|
5983
5993
|
tr as bind,
|
|
5984
|
-
|
|
5985
|
-
|
|
5986
|
-
|
|
5987
|
-
|
|
5988
|
-
|
|
5989
|
-
|
|
5994
|
+
fs as cleanObject,
|
|
5995
|
+
Go as cleanupAuth,
|
|
5996
|
+
$s as clientId,
|
|
5997
|
+
wu as clusterRebalance,
|
|
5998
|
+
Ou as clusterVersions,
|
|
5999
|
+
xh as connectionState,
|
|
5990
6000
|
Jn as consoleHasColours,
|
|
5991
6001
|
Je as convertPairStringToMap,
|
|
5992
6002
|
P as create,
|
|
5993
|
-
|
|
5994
|
-
|
|
5995
|
-
|
|
5996
|
-
|
|
6003
|
+
Pa as currentUser,
|
|
6004
|
+
Ca as currentUserResourceToken,
|
|
6005
|
+
Ah as debug,
|
|
6006
|
+
ri as debug_events,
|
|
5997
6007
|
Oe as del,
|
|
5998
|
-
|
|
5999
|
-
|
|
6000
|
-
|
|
6001
|
-
|
|
6002
|
-
|
|
6003
|
-
|
|
6004
|
-
|
|
6005
|
-
|
|
6006
|
-
|
|
6007
|
-
|
|
6008
|
-
|
|
6008
|
+
Ns as deregisterMockEndpoint,
|
|
6009
|
+
$h as deregisterSystem,
|
|
6010
|
+
Hu as driverReadme,
|
|
6011
|
+
Gu as edgeControlUrl,
|
|
6012
|
+
qo as execute,
|
|
6013
|
+
vc as executeOnModule,
|
|
6014
|
+
aa as executeOnSystem,
|
|
6015
|
+
Ya as executeOnZone,
|
|
6016
|
+
fa as functionList,
|
|
6017
|
+
ls as generateNonce,
|
|
6018
|
+
ch as generateQrCode,
|
|
6009
6019
|
N as get,
|
|
6010
6020
|
Er as getFragments,
|
|
6011
|
-
|
|
6012
|
-
|
|
6013
|
-
|
|
6014
|
-
|
|
6021
|
+
Oh as getModule,
|
|
6022
|
+
sh as getShortUrlQrCodeSvg,
|
|
6023
|
+
Ho as getSystem,
|
|
6024
|
+
As as hasToken,
|
|
6015
6025
|
kn as host,
|
|
6016
|
-
|
|
6026
|
+
Pr as httpRoute,
|
|
6017
6027
|
Tt as humanReadableByteCount,
|
|
6018
|
-
|
|
6028
|
+
wh as ignore,
|
|
6019
6029
|
qn as invalidateToken,
|
|
6020
|
-
|
|
6021
|
-
|
|
6022
|
-
|
|
6030
|
+
zu as isDriverCompiled,
|
|
6031
|
+
Tr as isFixedDevice,
|
|
6032
|
+
ds as isMobileSafari,
|
|
6023
6033
|
Pn as isMock,
|
|
6024
|
-
|
|
6025
|
-
|
|
6026
|
-
|
|
6034
|
+
ps as isNestedFrame,
|
|
6035
|
+
Bo as isOnline,
|
|
6036
|
+
Os as isSecure,
|
|
6027
6037
|
Tn as isTrusted,
|
|
6028
|
-
|
|
6029
|
-
|
|
6030
|
-
|
|
6031
|
-
|
|
6032
|
-
|
|
6033
|
-
|
|
6034
|
-
|
|
6035
|
-
|
|
6036
|
-
|
|
6037
|
-
|
|
6038
|
-
|
|
6039
|
-
|
|
6040
|
-
|
|
6041
|
-
|
|
6042
|
-
|
|
6043
|
-
|
|
6044
|
-
|
|
6045
|
-
|
|
6046
|
-
|
|
6047
|
-
|
|
6048
|
-
|
|
6049
|
-
|
|
6050
|
-
|
|
6051
|
-
|
|
6052
|
-
|
|
6053
|
-
|
|
6038
|
+
ii as is_connected,
|
|
6039
|
+
hu as lastRequestTotal,
|
|
6040
|
+
uc as listChildMetadata,
|
|
6041
|
+
iu as listDashboardAlerts,
|
|
6042
|
+
Tc as listInterfaceRepositories,
|
|
6043
|
+
tc as listMetadata,
|
|
6044
|
+
nc as listMetadataHistory,
|
|
6045
|
+
Uc as listRemoteRepositoryBranches,
|
|
6046
|
+
Rc as listRemoteRepositoryCommits,
|
|
6047
|
+
qc as listRemoteRepositoryDefaultBranch,
|
|
6048
|
+
Dc as listRepositoryBranches,
|
|
6049
|
+
Cc as listRepositoryCommits,
|
|
6050
|
+
Nc as listRepositoryDefaultBranch,
|
|
6051
|
+
Fc as listRepositoryDriverDetails,
|
|
6052
|
+
Mc as listRepositoryDrivers,
|
|
6053
|
+
zc as listRepositoryFolders,
|
|
6054
|
+
al as listSignagePlaylistMedia,
|
|
6055
|
+
ll as listSignagePlaylistMediaRevisions,
|
|
6056
|
+
pa as listSystemTriggers,
|
|
6057
|
+
da as listSystemZones,
|
|
6058
|
+
Oa as listTriggerInstances,
|
|
6059
|
+
Ha as listZoneTags,
|
|
6060
|
+
Qa as listZoneTriggers,
|
|
6061
|
+
Io as listen,
|
|
6062
|
+
ws as listenForToken,
|
|
6063
|
+
yc as loadModule,
|
|
6054
6064
|
d as log,
|
|
6055
|
-
|
|
6056
|
-
|
|
6057
|
-
|
|
6058
|
-
|
|
6059
|
-
|
|
6060
|
-
|
|
6061
|
-
|
|
6062
|
-
|
|
6063
|
-
|
|
6064
|
-
|
|
6065
|
-
|
|
6065
|
+
Jo as logout,
|
|
6066
|
+
Uu as lookupDomainByEmail,
|
|
6067
|
+
mc as lookupModuleState,
|
|
6068
|
+
ha as lookupSystemModuleState,
|
|
6069
|
+
rl as mediaThumbnail,
|
|
6070
|
+
wo as mockSystem,
|
|
6071
|
+
bc as moduleRuntimeError,
|
|
6072
|
+
gc as moduleSettings,
|
|
6073
|
+
_c as moduleState,
|
|
6074
|
+
Vo as onlineState,
|
|
6075
|
+
hs as parseLinkHeader,
|
|
6066
6076
|
et as patch,
|
|
6067
6077
|
G as post,
|
|
6068
|
-
|
|
6078
|
+
jc as pullRepositoryChanges,
|
|
6069
6079
|
Ne as put,
|
|
6070
|
-
|
|
6080
|
+
uh as qrCodeUrl,
|
|
6071
6081
|
O as query,
|
|
6072
|
-
|
|
6073
|
-
|
|
6074
|
-
|
|
6075
|
-
|
|
6076
|
-
|
|
6077
|
-
|
|
6078
|
-
|
|
6079
|
-
|
|
6080
|
-
|
|
6081
|
-
|
|
6082
|
-
|
|
6083
|
-
|
|
6084
|
-
|
|
6085
|
-
|
|
6086
|
-
|
|
6087
|
-
|
|
6088
|
-
|
|
6089
|
-
|
|
6090
|
-
|
|
6091
|
-
|
|
6092
|
-
|
|
6093
|
-
|
|
6094
|
-
|
|
6095
|
-
|
|
6096
|
-
|
|
6097
|
-
|
|
6098
|
-
|
|
6099
|
-
|
|
6100
|
-
|
|
6101
|
-
|
|
6102
|
-
|
|
6103
|
-
|
|
6104
|
-
|
|
6105
|
-
|
|
6106
|
-
|
|
6107
|
-
|
|
6108
|
-
|
|
6082
|
+
Xo as queryAlertDashboards,
|
|
6083
|
+
su as queryAlerts,
|
|
6084
|
+
dl as queryAnswers,
|
|
6085
|
+
fu as queryApplications,
|
|
6086
|
+
Wl as queryAssetCategories,
|
|
6087
|
+
Yl as queryAssetPurchaseOrders,
|
|
6088
|
+
Nl as queryAssetTypes,
|
|
6089
|
+
Pl as queryAssets,
|
|
6090
|
+
yu as queryBrokers,
|
|
6091
|
+
ku as queryClusters,
|
|
6092
|
+
Eu as queryDomains,
|
|
6093
|
+
Ru as queryDrivers,
|
|
6094
|
+
Wu as queryEdges,
|
|
6095
|
+
_l as queryInvitations,
|
|
6096
|
+
Ju as queryLDAPSources,
|
|
6097
|
+
cc as queryModules,
|
|
6098
|
+
Sc as queryOAuthSources,
|
|
6099
|
+
xu as queryProcesses,
|
|
6100
|
+
vl as queryQuestions,
|
|
6101
|
+
wc as queryRepositories,
|
|
6102
|
+
Hc as querySAMLSources,
|
|
6103
|
+
Qc as querySettings,
|
|
6104
|
+
Xl as queryShortUrls,
|
|
6105
|
+
Za as querySignageMedia,
|
|
6106
|
+
il as querySignagePlaylists,
|
|
6107
|
+
ah as queryStorages,
|
|
6108
|
+
Al as querySurveys,
|
|
6109
|
+
Xc as querySystems,
|
|
6110
|
+
ea as querySystemsWithEmails,
|
|
6111
|
+
ka as queryTriggers,
|
|
6112
|
+
Ra as queryUserGroups,
|
|
6113
|
+
Ea as queryUsers,
|
|
6114
|
+
ph as queryWebrtcRooms,
|
|
6115
|
+
za as queryZones,
|
|
6116
|
+
Fu as recompileDriver,
|
|
6117
|
+
Wo as redirectUri,
|
|
6118
|
+
qr as refreshAuthority,
|
|
6109
6119
|
Sn as refreshToken,
|
|
6110
|
-
|
|
6111
|
-
|
|
6112
|
-
|
|
6120
|
+
Zo as registerMockEndpoint,
|
|
6121
|
+
kh as registerSystem,
|
|
6122
|
+
ju as reloadDriver,
|
|
6113
6123
|
E as remove,
|
|
6114
|
-
|
|
6115
|
-
|
|
6116
|
-
|
|
6117
|
-
|
|
6118
|
-
|
|
6119
|
-
|
|
6120
|
-
|
|
6121
|
-
|
|
6122
|
-
|
|
6123
|
-
|
|
6124
|
-
|
|
6125
|
-
|
|
6124
|
+
au as removeAlert,
|
|
6125
|
+
ru as removeAlertDashboard,
|
|
6126
|
+
mu as removeApplication,
|
|
6127
|
+
Rl as removeAsset,
|
|
6128
|
+
Ql as removeAssetCategory,
|
|
6129
|
+
Zl as removeAssetPurchaseOrder,
|
|
6130
|
+
Hl as removeAssetType,
|
|
6131
|
+
Dl as removeAssets,
|
|
6132
|
+
Su as removeBroker,
|
|
6133
|
+
qu as removeDomain,
|
|
6134
|
+
Nu as removeDriver,
|
|
6135
|
+
Qu as removeEdge,
|
|
6126
6136
|
be as removeFragment,
|
|
6127
|
-
|
|
6128
|
-
|
|
6129
|
-
|
|
6130
|
-
|
|
6131
|
-
|
|
6132
|
-
|
|
6133
|
-
|
|
6134
|
-
|
|
6135
|
-
|
|
6136
|
-
|
|
6137
|
-
|
|
6138
|
-
|
|
6139
|
-
|
|
6140
|
-
|
|
6141
|
-
|
|
6142
|
-
|
|
6143
|
-
|
|
6144
|
-
|
|
6145
|
-
|
|
6146
|
-
|
|
6147
|
-
|
|
6148
|
-
|
|
6149
|
-
|
|
6150
|
-
|
|
6151
|
-
|
|
6152
|
-
|
|
6153
|
-
|
|
6154
|
-
|
|
6155
|
-
|
|
6156
|
-
|
|
6157
|
-
|
|
6158
|
-
|
|
6159
|
-
|
|
6160
|
-
|
|
6137
|
+
bl as removeInvitation,
|
|
6138
|
+
ec as removeLDAPSource,
|
|
6139
|
+
oc as removeMetadata,
|
|
6140
|
+
fc as removeModule,
|
|
6141
|
+
Ac as removeOAuthSource,
|
|
6142
|
+
xl as removeQuestion,
|
|
6143
|
+
Pc as removeRepository,
|
|
6144
|
+
Vc as removeSAMLSource,
|
|
6145
|
+
Kc as removeSettings,
|
|
6146
|
+
rh as removeShortUrl,
|
|
6147
|
+
nl as removeSignageMedia,
|
|
6148
|
+
cl as removeSignagePlaylist,
|
|
6149
|
+
dh as removeStorage,
|
|
6150
|
+
Il as removeSurvey,
|
|
6151
|
+
ia as removeSystem,
|
|
6152
|
+
oa as removeSystemModule,
|
|
6153
|
+
ma as removeSystemTrigger,
|
|
6154
|
+
wa as removeTrigger,
|
|
6155
|
+
Ua as removeUser,
|
|
6156
|
+
Na as removeUserResourceToken,
|
|
6157
|
+
Va as removeZone,
|
|
6158
|
+
lu as requestTotal,
|
|
6159
|
+
Ws as responseHeaders,
|
|
6160
|
+
Yu as retrieveEdgeToken,
|
|
6161
|
+
ja as reviveUser,
|
|
6162
|
+
Ma as searchUserMetadata,
|
|
6163
|
+
Lo as setAPI_Key,
|
|
6164
|
+
Ko as setMockNotFoundHandler,
|
|
6165
|
+
Yo as setStorage,
|
|
6166
|
+
xs as setToken,
|
|
6167
|
+
Zc as settingsHistory,
|
|
6168
|
+
Qo as setup,
|
|
6169
|
+
oh as shortUrlQrCodePngUrl,
|
|
6170
|
+
ih as shortUrlRedirectUrl,
|
|
6161
6171
|
k as show,
|
|
6162
|
-
|
|
6163
|
-
|
|
6164
|
-
|
|
6165
|
-
|
|
6166
|
-
|
|
6167
|
-
|
|
6168
|
-
|
|
6169
|
-
|
|
6170
|
-
|
|
6171
|
-
|
|
6172
|
-
|
|
6173
|
-
|
|
6174
|
-
|
|
6175
|
-
|
|
6176
|
-
|
|
6177
|
-
|
|
6178
|
-
|
|
6179
|
-
|
|
6180
|
-
|
|
6181
|
-
|
|
6182
|
-
|
|
6183
|
-
|
|
6184
|
-
|
|
6185
|
-
|
|
6186
|
-
|
|
6187
|
-
|
|
6188
|
-
|
|
6189
|
-
|
|
6190
|
-
|
|
6191
|
-
|
|
6192
|
-
|
|
6193
|
-
|
|
6194
|
-
|
|
6195
|
-
|
|
6196
|
-
|
|
6197
|
-
|
|
6198
|
-
|
|
6199
|
-
|
|
6200
|
-
|
|
6201
|
-
|
|
6202
|
-
|
|
6203
|
-
|
|
6204
|
-
|
|
6205
|
-
|
|
6206
|
-
|
|
6172
|
+
ou as showAlert,
|
|
6173
|
+
eu as showAlertDashboard,
|
|
6174
|
+
du as showApplication,
|
|
6175
|
+
Tl as showAsset,
|
|
6176
|
+
Ll as showAssetCategory,
|
|
6177
|
+
Gl as showAssetPurchaseOrder,
|
|
6178
|
+
Fl as showAssetType,
|
|
6179
|
+
gu as showBroker,
|
|
6180
|
+
$u as showCluster,
|
|
6181
|
+
Iu as showDomain,
|
|
6182
|
+
Mu as showDriver,
|
|
6183
|
+
Lu as showEdge,
|
|
6184
|
+
ml as showInvitation,
|
|
6185
|
+
Ku as showLDAPSource,
|
|
6186
|
+
rc as showMetadata,
|
|
6187
|
+
ac as showModule,
|
|
6188
|
+
kc as showOAuthSource,
|
|
6189
|
+
Sl as showQuestion,
|
|
6190
|
+
Oc as showRepository,
|
|
6191
|
+
Wc as showSAMLSource,
|
|
6192
|
+
Yc as showSettings,
|
|
6193
|
+
eh as showShortUrl,
|
|
6194
|
+
Ja as showSignage,
|
|
6195
|
+
Xa as showSignageMedia,
|
|
6196
|
+
Ka as showSignageMetrics,
|
|
6197
|
+
sl as showSignagePlaylist,
|
|
6198
|
+
lh as showStorage,
|
|
6199
|
+
wl as showSurvey,
|
|
6200
|
+
ta as showSystem,
|
|
6201
|
+
va as showSystemTrigger,
|
|
6202
|
+
$a as showTrigger,
|
|
6203
|
+
Ia as showUser,
|
|
6204
|
+
_h as showWebrtcRoom,
|
|
6205
|
+
Wa as showZone,
|
|
6206
|
+
_s as simplifiedTime,
|
|
6207
|
+
dc as startModule,
|
|
6208
|
+
ua as startSystem,
|
|
6209
|
+
Eo as status,
|
|
6210
|
+
pc as stopModule,
|
|
6211
|
+
ca as stopSystem,
|
|
6212
|
+
ga as systemControlUrl,
|
|
6213
|
+
ba as systemMetadata,
|
|
6214
|
+
la as systemModuleState,
|
|
6215
|
+
ya as systemSettings,
|
|
6216
|
+
Au as terminateProcess,
|
|
6207
6217
|
X as token,
|
|
6208
|
-
|
|
6218
|
+
To as unbind,
|
|
6209
6219
|
T as update,
|
|
6210
|
-
|
|
6211
|
-
|
|
6212
|
-
|
|
6213
|
-
|
|
6214
|
-
|
|
6215
|
-
|
|
6216
|
-
|
|
6217
|
-
|
|
6218
|
-
|
|
6219
|
-
|
|
6220
|
-
|
|
6221
|
-
|
|
6222
|
-
|
|
6223
|
-
|
|
6224
|
-
|
|
6225
|
-
|
|
6226
|
-
|
|
6227
|
-
|
|
6228
|
-
|
|
6229
|
-
|
|
6230
|
-
|
|
6231
|
-
|
|
6232
|
-
|
|
6233
|
-
|
|
6234
|
-
|
|
6235
|
-
|
|
6236
|
-
|
|
6237
|
-
|
|
6238
|
-
|
|
6239
|
-
|
|
6240
|
-
|
|
6241
|
-
|
|
6242
|
-
|
|
6243
|
-
|
|
6244
|
-
|
|
6245
|
-
|
|
6246
|
-
|
|
6247
|
-
|
|
6248
|
-
|
|
6249
|
-
|
|
6250
|
-
|
|
6220
|
+
uu as updateAlert,
|
|
6221
|
+
tu as updateAlertDashboard,
|
|
6222
|
+
pu as updateApplication,
|
|
6223
|
+
ql as updateAsset,
|
|
6224
|
+
Bl as updateAssetCategory,
|
|
6225
|
+
Jl as updateAssetPurchaseOrder,
|
|
6226
|
+
jl as updateAssetType,
|
|
6227
|
+
Cl as updateAssets,
|
|
6228
|
+
bu as updateBroker,
|
|
6229
|
+
Pu as updateDomain,
|
|
6230
|
+
Cu as updateDriver,
|
|
6231
|
+
Bu as updateEdge,
|
|
6232
|
+
yl as updateInvitation,
|
|
6233
|
+
Zu as updateLDAPSource,
|
|
6234
|
+
ic as updateMetadata,
|
|
6235
|
+
lc as updateModule,
|
|
6236
|
+
$c as updateOAuthSource,
|
|
6237
|
+
$l as updateQuestion,
|
|
6238
|
+
Ec as updateRepository,
|
|
6239
|
+
Lc as updateSAMLSource,
|
|
6240
|
+
Gc as updateSettings,
|
|
6241
|
+
th as updateShortUrl,
|
|
6242
|
+
el as updateSignageMedia,
|
|
6243
|
+
ol as updateSignagePlaylist,
|
|
6244
|
+
fl as updateSignagePlaylistMedia,
|
|
6245
|
+
hh as updateStorage,
|
|
6246
|
+
Ol as updateSurvey,
|
|
6247
|
+
na as updateSystem,
|
|
6248
|
+
Sa as updateSystemTrigger,
|
|
6249
|
+
xa as updateTrigger,
|
|
6250
|
+
Ta as updateUser,
|
|
6251
|
+
La as updateZone,
|
|
6252
|
+
Da as userMetadata,
|
|
6253
|
+
Fa as userResourceToken,
|
|
6254
|
+
Po as value,
|
|
6255
|
+
yh as webrtcGuestEntry,
|
|
6256
|
+
gh as webrtcGuestExit,
|
|
6257
|
+
bh as webrtcKickUser,
|
|
6258
|
+
mh as webrtcSessionMembers,
|
|
6259
|
+
Sh as webrtcSignallerUrl,
|
|
6260
|
+
vh as webrtcTransferUser,
|
|
6251
6261
|
_n as websocketRoute,
|
|
6252
|
-
|
|
6262
|
+
Ga as zoneMetadata
|
|
6253
6263
|
};
|
|
6254
6264
|
//# sourceMappingURL=index.es.js.map
|