@placeos/ts-client 4.7.7 → 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/drivers/driver.d.ts +3 -0
- package/dist/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +948 -934
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/modules/module.d.ts +3 -0
- package/dist/systems/system.d.ts +2 -2
- package/package.json +1 -1
- package/src/auth/functions.ts +28 -5
- package/src/drivers/driver.ts +4 -0
- package/src/modules/module.ts +4 -0
- package/src/systems/system.ts +3 -3
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
|
|
3038
|
+
function Hr(t) {
|
|
3039
|
+
return new Ks(t);
|
|
3030
3040
|
}
|
|
3031
|
-
function
|
|
3032
|
-
return O({ query_params: t, fn:
|
|
3033
|
-
}
|
|
3034
|
-
function ku(t, e = {}) {
|
|
3035
|
-
return k({ id: t, query_params: e, fn: zr, path: je });
|
|
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 */
|
|
@@ -3152,10 +3162,12 @@ class Hr extends L {
|
|
|
3152
3162
|
/** Whether newer version of driver is available */
|
|
3153
3163
|
update_available;
|
|
3154
3164
|
update_info;
|
|
3165
|
+
/** */
|
|
3166
|
+
alert_level;
|
|
3155
3167
|
/** Tuple of user settings of differring encryption levels for the driver */
|
|
3156
3168
|
settings;
|
|
3157
3169
|
constructor(e = {}) {
|
|
3158
|
-
super(e), this.description = e.description || "", this.module_name = e.module_name || "", this.role = e.role ?? Mt.Logic, this.default_uri = e.default_uri || "", this.default_port = e.default_port || 1, this.ignore_connected = e.ignore_connected || !1, this.class_name = e.class_name || "", this.repository_id = e.repository_id || "", this.file_name = e.file_name || "", this.commit = e.commit || "", this.update_available = e.update_available || !1, this.update_info = e.update_info, this.settings = e.settings || [null, null, null, null], typeof this.settings != "object" && (this.settings = [null, null, null, null]);
|
|
3170
|
+
super(e), this.description = e.description || "", this.module_name = e.module_name || "", this.role = e.role ?? Mt.Logic, this.default_uri = e.default_uri || "", this.default_port = e.default_port || 1, this.ignore_connected = e.ignore_connected || !1, this.class_name = e.class_name || "", this.repository_id = e.repository_id || "", this.file_name = e.file_name || "", this.commit = e.commit || "", this.update_available = e.update_available || !1, this.update_info = e.update_info, this.alert_level = e.alert_level || "medium", this.settings = e.settings || [null, null, null, null], typeof this.settings != "object" && (this.settings = [null, null, null, null]);
|
|
3159
3171
|
for (const n in He)
|
|
3160
3172
|
!isNaN(Number(n)) && !this.settings[n] && (this.settings[n] = new Ee({
|
|
3161
3173
|
parent_id: this.id,
|
|
@@ -3165,15 +3177,15 @@ class Hr extends L {
|
|
|
3165
3177
|
}
|
|
3166
3178
|
const ae = "drivers";
|
|
3167
3179
|
function Qt(t) {
|
|
3168
|
-
return new
|
|
3180
|
+
return new Wr(t);
|
|
3169
3181
|
}
|
|
3170
|
-
function
|
|
3182
|
+
function Ru(t = {}) {
|
|
3171
3183
|
return O({ query_params: t, fn: Qt, path: ae });
|
|
3172
3184
|
}
|
|
3173
|
-
function
|
|
3185
|
+
function Mu(t, e = {}) {
|
|
3174
3186
|
return k({ id: t, query_params: e, fn: Qt, path: ae });
|
|
3175
3187
|
}
|
|
3176
|
-
function
|
|
3188
|
+
function Cu(t, e, n = "patch") {
|
|
3177
3189
|
return T({
|
|
3178
3190
|
id: t,
|
|
3179
3191
|
form_data: e,
|
|
@@ -3183,25 +3195,25 @@ function Mu(t, e, n = "patch") {
|
|
|
3183
3195
|
path: ae
|
|
3184
3196
|
});
|
|
3185
3197
|
}
|
|
3186
|
-
function
|
|
3198
|
+
function Du(t) {
|
|
3187
3199
|
return P({ form_data: t, query_params: {}, fn: Qt, path: ae });
|
|
3188
3200
|
}
|
|
3189
|
-
function
|
|
3201
|
+
function Nu(t) {
|
|
3190
3202
|
return E({ id: t, query_params: {}, path: ae });
|
|
3191
3203
|
}
|
|
3192
|
-
function
|
|
3204
|
+
function Fu(t) {
|
|
3193
3205
|
return m({ id: t, task_name: "recompile", path: ae });
|
|
3194
3206
|
}
|
|
3195
|
-
function
|
|
3207
|
+
function ju(t) {
|
|
3196
3208
|
return m({ id: t, task_name: "reload", path: ae });
|
|
3197
3209
|
}
|
|
3198
|
-
function
|
|
3210
|
+
function zu(t) {
|
|
3199
3211
|
return m({ id: t, task_name: "compiled", method: "get", path: ae });
|
|
3200
3212
|
}
|
|
3201
|
-
function
|
|
3213
|
+
function Hu(t) {
|
|
3202
3214
|
return m({ id: t, task_name: "readme", method: "get", path: ae });
|
|
3203
3215
|
}
|
|
3204
|
-
class
|
|
3216
|
+
class eo extends L {
|
|
3205
3217
|
description;
|
|
3206
3218
|
secret;
|
|
3207
3219
|
x_api_key;
|
|
@@ -3217,15 +3229,15 @@ class Xs extends L {
|
|
|
3217
3229
|
}
|
|
3218
3230
|
const Ie = "edges";
|
|
3219
3231
|
function Yt(t) {
|
|
3220
|
-
return new
|
|
3232
|
+
return new eo(t);
|
|
3221
3233
|
}
|
|
3222
|
-
function
|
|
3234
|
+
function Wu(t = {}) {
|
|
3223
3235
|
return O({ query_params: t, fn: Yt, path: Ie });
|
|
3224
3236
|
}
|
|
3225
|
-
function
|
|
3237
|
+
function Lu(t) {
|
|
3226
3238
|
return k({ id: t, query_params: {}, fn: Yt, path: Ie });
|
|
3227
3239
|
}
|
|
3228
|
-
function
|
|
3240
|
+
function Bu(t, e, n = "patch") {
|
|
3229
3241
|
return T({
|
|
3230
3242
|
id: t,
|
|
3231
3243
|
form_data: e,
|
|
@@ -3235,13 +3247,13 @@ function Lu(t, e, n = "patch") {
|
|
|
3235
3247
|
path: Ie
|
|
3236
3248
|
});
|
|
3237
3249
|
}
|
|
3238
|
-
function
|
|
3250
|
+
function Vu(t) {
|
|
3239
3251
|
return P({ form_data: t, query_params: {}, fn: Yt, path: Ie });
|
|
3240
3252
|
}
|
|
3241
|
-
function
|
|
3253
|
+
function Qu(t) {
|
|
3242
3254
|
return E({ id: t, query_params: {}, path: Ie });
|
|
3243
3255
|
}
|
|
3244
|
-
function
|
|
3256
|
+
function Yu(t) {
|
|
3245
3257
|
return m({
|
|
3246
3258
|
id: t,
|
|
3247
3259
|
task_name: "token",
|
|
@@ -3250,11 +3262,11 @@ function Qu(t) {
|
|
|
3250
3262
|
path: Ie
|
|
3251
3263
|
});
|
|
3252
3264
|
}
|
|
3253
|
-
function
|
|
3265
|
+
function Gu() {
|
|
3254
3266
|
const t = x(), e = t.startsWith("https") ? "wss:" : "ws:", n = t.startsWith("https") ? "https:" : "http:";
|
|
3255
3267
|
return t.replace(n, e) + `${Ie}/control`;
|
|
3256
3268
|
}
|
|
3257
|
-
class
|
|
3269
|
+
class to extends L {
|
|
3258
3270
|
/** Type of auth source */
|
|
3259
3271
|
type = "ldap";
|
|
3260
3272
|
/** ID of the authority associted with the auth method */
|
|
@@ -3284,15 +3296,15 @@ class eo extends L {
|
|
|
3284
3296
|
}
|
|
3285
3297
|
const ut = "ldap_auths";
|
|
3286
3298
|
function Gt(t) {
|
|
3287
|
-
return new
|
|
3299
|
+
return new to(t);
|
|
3288
3300
|
}
|
|
3289
|
-
function
|
|
3301
|
+
function Ju(t = {}) {
|
|
3290
3302
|
return O({ query_params: t, fn: Gt, path: ut });
|
|
3291
3303
|
}
|
|
3292
|
-
function
|
|
3304
|
+
function Ku(t) {
|
|
3293
3305
|
return k({ id: t, query_params: {}, fn: Gt, path: ut });
|
|
3294
3306
|
}
|
|
3295
|
-
function
|
|
3307
|
+
function Zu(t, e, n = "patch") {
|
|
3296
3308
|
return T({
|
|
3297
3309
|
id: t,
|
|
3298
3310
|
form_data: e,
|
|
@@ -3302,13 +3314,13 @@ function Ku(t, e, n = "patch") {
|
|
|
3302
3314
|
path: ut
|
|
3303
3315
|
});
|
|
3304
3316
|
}
|
|
3305
|
-
function
|
|
3317
|
+
function Xu(t) {
|
|
3306
3318
|
return P({ form_data: t, query_params: {}, fn: Gt, path: ut });
|
|
3307
3319
|
}
|
|
3308
|
-
function
|
|
3320
|
+
function ec(t) {
|
|
3309
3321
|
return E({ id: t, query_params: {}, path: ut });
|
|
3310
3322
|
}
|
|
3311
|
-
class
|
|
3323
|
+
class Lr {
|
|
3312
3324
|
/** ID of the parent resource associated with the metadata */
|
|
3313
3325
|
id;
|
|
3314
3326
|
/** Name/ID of the zone metadata */
|
|
@@ -3453,7 +3465,7 @@ class Mn extends L {
|
|
|
3453
3465
|
));
|
|
3454
3466
|
}
|
|
3455
3467
|
}
|
|
3456
|
-
class
|
|
3468
|
+
class no {
|
|
3457
3469
|
/** Zone associated with the metadata */
|
|
3458
3470
|
zone;
|
|
3459
3471
|
/** Metadata for zone */
|
|
@@ -3464,14 +3476,14 @@ class to {
|
|
|
3464
3476
|
this.zone = new Mn(e.zone), this.keys = e.keys || [], this.metadata = {};
|
|
3465
3477
|
const n = e.metadata || {};
|
|
3466
3478
|
for (const r of this.keys)
|
|
3467
|
-
this.metadata[r] = new
|
|
3479
|
+
this.metadata[r] = new Lr(n[r]);
|
|
3468
3480
|
}
|
|
3469
3481
|
}
|
|
3470
3482
|
const Pe = "metadata";
|
|
3471
3483
|
function ct(t) {
|
|
3472
|
-
return new
|
|
3484
|
+
return new Lr(t);
|
|
3473
3485
|
}
|
|
3474
|
-
function
|
|
3486
|
+
function tc(t, e = {}) {
|
|
3475
3487
|
return k({
|
|
3476
3488
|
id: t,
|
|
3477
3489
|
query_params: e,
|
|
@@ -3479,7 +3491,7 @@ function ec(t, e = {}) {
|
|
|
3479
3491
|
path: Pe
|
|
3480
3492
|
});
|
|
3481
3493
|
}
|
|
3482
|
-
function
|
|
3494
|
+
function ro(t) {
|
|
3483
3495
|
const e = [...t], n = [];
|
|
3484
3496
|
for (; e.length; ) {
|
|
3485
3497
|
const r = e.pop();
|
|
@@ -3487,13 +3499,13 @@ function no(t) {
|
|
|
3487
3499
|
}
|
|
3488
3500
|
return n.reverse();
|
|
3489
3501
|
}
|
|
3490
|
-
function
|
|
3502
|
+
function nc(t, e = {}) {
|
|
3491
3503
|
return m({
|
|
3492
3504
|
id: t,
|
|
3493
3505
|
task_name: "history",
|
|
3494
3506
|
form_data: e,
|
|
3495
3507
|
method: "get",
|
|
3496
|
-
callback: (n) =>
|
|
3508
|
+
callback: (n) => ro(
|
|
3497
3509
|
Object.keys(n).map(
|
|
3498
3510
|
(r) => n[r].map((i) => ct(i))
|
|
3499
3511
|
)
|
|
@@ -3501,7 +3513,7 @@ function tc(t, e = {}) {
|
|
|
3501
3513
|
path: Pe
|
|
3502
3514
|
});
|
|
3503
3515
|
}
|
|
3504
|
-
function
|
|
3516
|
+
function rc(t, e) {
|
|
3505
3517
|
return k({
|
|
3506
3518
|
id: t,
|
|
3507
3519
|
query_params: { name: e },
|
|
@@ -3509,7 +3521,7 @@ function nc(t, e) {
|
|
|
3509
3521
|
path: Pe
|
|
3510
3522
|
});
|
|
3511
3523
|
}
|
|
3512
|
-
function
|
|
3524
|
+
function ic(t, e, n = "put") {
|
|
3513
3525
|
return T({
|
|
3514
3526
|
id: t,
|
|
3515
3527
|
form_data: e,
|
|
@@ -3519,20 +3531,20 @@ function rc(t, e, n = "put") {
|
|
|
3519
3531
|
path: Pe
|
|
3520
3532
|
});
|
|
3521
3533
|
}
|
|
3522
|
-
function
|
|
3534
|
+
function sc(t) {
|
|
3523
3535
|
return P({ form_data: t, query_params: {}, fn: ct, path: Pe });
|
|
3524
3536
|
}
|
|
3525
|
-
function
|
|
3537
|
+
function oc(t, e) {
|
|
3526
3538
|
return E({ id: t, query_params: e, path: Pe });
|
|
3527
3539
|
}
|
|
3528
|
-
function
|
|
3540
|
+
function uc(t, e) {
|
|
3529
3541
|
return m({
|
|
3530
3542
|
id: t,
|
|
3531
3543
|
task_name: "children",
|
|
3532
3544
|
form_data: e,
|
|
3533
3545
|
method: "get",
|
|
3534
3546
|
callback: (n) => n.map(
|
|
3535
|
-
(r) => new
|
|
3547
|
+
(r) => new no({
|
|
3536
3548
|
...r,
|
|
3537
3549
|
keys: Object.keys(r.metadata)
|
|
3538
3550
|
})
|
|
@@ -3540,7 +3552,7 @@ function oc(t, e) {
|
|
|
3540
3552
|
path: Pe
|
|
3541
3553
|
});
|
|
3542
3554
|
}
|
|
3543
|
-
class
|
|
3555
|
+
class Br extends L {
|
|
3544
3556
|
/** Tuple of user settings of differring encryption levels for the system */
|
|
3545
3557
|
settings = [null, null, null, null];
|
|
3546
3558
|
/** Display name of the system */
|
|
@@ -3565,8 +3577,8 @@ class Lr extends L {
|
|
|
3565
3577
|
support_url;
|
|
3566
3578
|
/** URL for the timetable UI linked to the system */
|
|
3567
3579
|
timetable_url;
|
|
3568
|
-
/**
|
|
3569
|
-
|
|
3580
|
+
/** URLs for requesting snapshots of the assosiated camera */
|
|
3581
|
+
camera_snapshot_urls;
|
|
3570
3582
|
/** URL for managing the attached camera */
|
|
3571
3583
|
camera_url;
|
|
3572
3584
|
/** External booking URL for the system */
|
|
@@ -3594,18 +3606,18 @@ class Lr extends L {
|
|
|
3594
3606
|
/** Orientation of the signage system */
|
|
3595
3607
|
orientation;
|
|
3596
3608
|
constructor(e = {}) {
|
|
3597
|
-
super(e), this.display_name = e.display_name || "", this.description = e.description || "", this.email = e.email || "", this.code = e.code || "", this.capacity = e.capacity || 0, this.features = e.features || [], this.bookable = e.bookable || !1, this.public = e.public ?? !1, this.installed_ui_devices = e.installed_ui_devices || 0, this.support_url = e.support_url || "", this.
|
|
3609
|
+
super(e), this.display_name = e.display_name || "", this.description = e.description || "", this.email = e.email || "", this.code = e.code || "", this.capacity = e.capacity || 0, this.features = e.features || [], this.bookable = e.bookable || !1, this.public = e.public ?? !1, this.installed_ui_devices = e.installed_ui_devices || 0, this.support_url = e.support_url || "", this.camera_snapshot_urls = e.camera_snapshot_urls || [], this.camera_url = e.camera_url || "", this.timetable_url = e.timetable_url || "", this.room_booking_url = e.room_booking_url || "", this.map_id = e.map_id || "", this.modules = e.modules || [], this.images = e.images || [], this.zones = e.zones || [], this.settings = e.settings || [null, null, null, null], this.timezone = e.timezone || "", this.signage = e.signage || !1, this.playlists = e.playlists || [], this.orientation = e.orientation || "unspecified", this.approval = e.approval || !1, typeof this.settings != "object" && (this.settings = [null, null, null, null]);
|
|
3598
3610
|
for (const n in He)
|
|
3599
3611
|
!isNaN(Number(n)) && !this.settings[n] && (this.settings[n] = new Ee({
|
|
3600
3612
|
parent_id: this.id,
|
|
3601
3613
|
encryption_level: +n
|
|
3602
3614
|
}));
|
|
3603
3615
|
e.module_data && e.module_data instanceof Array && (this.module_list = e.module_data.map(
|
|
3604
|
-
(n) => new
|
|
3616
|
+
(n) => new Vr(n)
|
|
3605
3617
|
));
|
|
3606
3618
|
}
|
|
3607
3619
|
}
|
|
3608
|
-
class
|
|
3620
|
+
class Vr extends L {
|
|
3609
3621
|
/** Whether the associated hardware is connected */
|
|
3610
3622
|
connected;
|
|
3611
3623
|
/** Whether the module driver is running */
|
|
@@ -3648,14 +3660,16 @@ class Br extends L {
|
|
|
3648
3660
|
has_runtime_error;
|
|
3649
3661
|
/** Timestamp of the last runtime error in ms since UTC epoch */
|
|
3650
3662
|
error_timestamp;
|
|
3663
|
+
/** */
|
|
3664
|
+
alert_level;
|
|
3651
3665
|
/** ID of the system associated with the module */
|
|
3652
3666
|
get system_id() {
|
|
3653
3667
|
return this.control_system_id;
|
|
3654
3668
|
}
|
|
3655
3669
|
constructor(e = {}) {
|
|
3656
|
-
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(
|
|
3657
3671
|
e.control_system || e.system
|
|
3658
|
-
), 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]);
|
|
3659
3673
|
for (const n in He)
|
|
3660
3674
|
!isNaN(Number(n)) && !this.settings[n] && (this.settings[n] = new Ee({
|
|
3661
3675
|
parent_id: this.id,
|
|
@@ -3672,15 +3686,15 @@ class Br extends L {
|
|
|
3672
3686
|
}
|
|
3673
3687
|
const J = "modules";
|
|
3674
3688
|
function Jt(t) {
|
|
3675
|
-
return new
|
|
3689
|
+
return new Vr(t);
|
|
3676
3690
|
}
|
|
3677
|
-
function
|
|
3691
|
+
function cc(t = {}) {
|
|
3678
3692
|
return O({ query_params: t, fn: Jt, path: J });
|
|
3679
3693
|
}
|
|
3680
|
-
function
|
|
3694
|
+
function ac(t, e = {}) {
|
|
3681
3695
|
return k({ id: t, query_params: e, fn: Jt, path: J });
|
|
3682
3696
|
}
|
|
3683
|
-
function
|
|
3697
|
+
function lc(t, e, n = "patch") {
|
|
3684
3698
|
return T({
|
|
3685
3699
|
id: t,
|
|
3686
3700
|
form_data: e,
|
|
@@ -3690,28 +3704,28 @@ function ac(t, e, n = "patch") {
|
|
|
3690
3704
|
path: J
|
|
3691
3705
|
});
|
|
3692
3706
|
}
|
|
3693
|
-
function
|
|
3707
|
+
function hc(t) {
|
|
3694
3708
|
return P({ form_data: t, query_params: {}, fn: Jt, path: J });
|
|
3695
3709
|
}
|
|
3696
|
-
function
|
|
3710
|
+
function fc(t) {
|
|
3697
3711
|
return E({ id: t, query_params: {}, path: J });
|
|
3698
3712
|
}
|
|
3699
|
-
function
|
|
3713
|
+
function dc(t) {
|
|
3700
3714
|
return m({ id: t, task_name: "start", path: J });
|
|
3701
3715
|
}
|
|
3702
|
-
function
|
|
3716
|
+
function pc(t) {
|
|
3703
3717
|
return m({ id: t, task_name: "stop", path: J });
|
|
3704
3718
|
}
|
|
3705
|
-
function
|
|
3719
|
+
function _c(t) {
|
|
3706
3720
|
return m({ id: t, task_name: "state", method: "get", path: J });
|
|
3707
3721
|
}
|
|
3708
|
-
function
|
|
3722
|
+
function mc(t, e) {
|
|
3709
3723
|
return m({ id: t, task_name: `state/${e}`, method: "get", path: J });
|
|
3710
3724
|
}
|
|
3711
|
-
function
|
|
3725
|
+
function yc(t) {
|
|
3712
3726
|
return m({ id: t, task_name: "load", method: "post", path: J });
|
|
3713
3727
|
}
|
|
3714
|
-
function
|
|
3728
|
+
function gc(t) {
|
|
3715
3729
|
return m({
|
|
3716
3730
|
id: t,
|
|
3717
3731
|
task_name: "settings",
|
|
@@ -3720,7 +3734,7 @@ function yc(t) {
|
|
|
3720
3734
|
path: J
|
|
3721
3735
|
});
|
|
3722
3736
|
}
|
|
3723
|
-
function
|
|
3737
|
+
function bc(t) {
|
|
3724
3738
|
return m({
|
|
3725
3739
|
id: t,
|
|
3726
3740
|
task_name: "error",
|
|
@@ -3728,7 +3742,7 @@ function gc(t) {
|
|
|
3728
3742
|
path: J
|
|
3729
3743
|
});
|
|
3730
3744
|
}
|
|
3731
|
-
function
|
|
3745
|
+
function vc(t, e, n = []) {
|
|
3732
3746
|
return m({
|
|
3733
3747
|
id: t,
|
|
3734
3748
|
task_name: `exec/${encodeURIComponent(e)}`,
|
|
@@ -3736,7 +3750,7 @@ function bc(t, e, n = []) {
|
|
|
3736
3750
|
path: J
|
|
3737
3751
|
});
|
|
3738
3752
|
}
|
|
3739
|
-
class
|
|
3753
|
+
class io extends L {
|
|
3740
3754
|
/** Type of auth source */
|
|
3741
3755
|
type = "oauth";
|
|
3742
3756
|
/** ID of the authority associted with the auth method */
|
|
@@ -3771,15 +3785,15 @@ class ro extends L {
|
|
|
3771
3785
|
}
|
|
3772
3786
|
const at = "oauth_auths";
|
|
3773
3787
|
function Kt(t) {
|
|
3774
|
-
return new
|
|
3788
|
+
return new io(t);
|
|
3775
3789
|
}
|
|
3776
|
-
function
|
|
3790
|
+
function Sc(t = {}) {
|
|
3777
3791
|
return O({ query_params: t, fn: Kt, path: at });
|
|
3778
3792
|
}
|
|
3779
|
-
function
|
|
3793
|
+
function kc(t) {
|
|
3780
3794
|
return k({ id: t, query_params: {}, fn: Kt, path: at });
|
|
3781
3795
|
}
|
|
3782
|
-
function
|
|
3796
|
+
function $c(t, e, n = "patch") {
|
|
3783
3797
|
return T({
|
|
3784
3798
|
id: t,
|
|
3785
3799
|
form_data: e,
|
|
@@ -3789,14 +3803,14 @@ function kc(t, e, n = "patch") {
|
|
|
3789
3803
|
path: at
|
|
3790
3804
|
});
|
|
3791
3805
|
}
|
|
3792
|
-
function
|
|
3806
|
+
function xc(t) {
|
|
3793
3807
|
return P({ form_data: t, query_params: {}, fn: Kt, path: at });
|
|
3794
3808
|
}
|
|
3795
|
-
function
|
|
3809
|
+
function Ac(t) {
|
|
3796
3810
|
return E({ id: t, query_params: {}, path: at });
|
|
3797
3811
|
}
|
|
3798
|
-
var
|
|
3799
|
-
class
|
|
3812
|
+
var Qr = /* @__PURE__ */ ((t) => (t.Driver = "driver", t.Interface = "interface", t))(Qr || {});
|
|
3813
|
+
class so extends L {
|
|
3800
3814
|
/** Name of the folder on the server to pull the repository */
|
|
3801
3815
|
folder_name;
|
|
3802
3816
|
/** Description of the contents of the repository */
|
|
@@ -3820,20 +3834,20 @@ class io extends L {
|
|
|
3820
3834
|
return this.repo_type;
|
|
3821
3835
|
}
|
|
3822
3836
|
constructor(e = {}) {
|
|
3823
|
-
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 || "";
|
|
3824
3838
|
}
|
|
3825
3839
|
}
|
|
3826
3840
|
const V = "repositories";
|
|
3827
3841
|
function Zt(t) {
|
|
3828
|
-
return new
|
|
3842
|
+
return new so(t);
|
|
3829
3843
|
}
|
|
3830
|
-
function
|
|
3844
|
+
function wc(t = {}) {
|
|
3831
3845
|
return O({ query_params: t, fn: Zt, path: V });
|
|
3832
3846
|
}
|
|
3833
|
-
function
|
|
3847
|
+
function Oc(t) {
|
|
3834
3848
|
return k({ id: t, query_params: {}, fn: Zt, path: V });
|
|
3835
3849
|
}
|
|
3836
|
-
function
|
|
3850
|
+
function Ec(t, e, n = "patch") {
|
|
3837
3851
|
return T({
|
|
3838
3852
|
id: t,
|
|
3839
3853
|
form_data: e,
|
|
@@ -3843,41 +3857,41 @@ function Oc(t, e, n = "patch") {
|
|
|
3843
3857
|
path: V
|
|
3844
3858
|
});
|
|
3845
3859
|
}
|
|
3846
|
-
function
|
|
3860
|
+
function Ic(t) {
|
|
3847
3861
|
return P({ form_data: t, query_params: {}, fn: Zt, path: V });
|
|
3848
3862
|
}
|
|
3849
|
-
function
|
|
3863
|
+
function Pc(t) {
|
|
3850
3864
|
return E({ id: t, query_params: {}, path: V });
|
|
3851
3865
|
}
|
|
3852
|
-
function
|
|
3866
|
+
function Tc() {
|
|
3853
3867
|
return k({
|
|
3854
3868
|
id: "interfaces",
|
|
3855
3869
|
query_params: {},
|
|
3856
3870
|
path: V
|
|
3857
3871
|
});
|
|
3858
3872
|
}
|
|
3859
|
-
function
|
|
3873
|
+
function qc(t) {
|
|
3860
3874
|
return k({
|
|
3861
3875
|
id: "remote_default_branch",
|
|
3862
3876
|
query_params: t,
|
|
3863
3877
|
path: V
|
|
3864
3878
|
});
|
|
3865
3879
|
}
|
|
3866
|
-
function
|
|
3880
|
+
function Uc(t) {
|
|
3867
3881
|
return k({
|
|
3868
3882
|
id: "remote_branches",
|
|
3869
3883
|
query_params: t,
|
|
3870
3884
|
path: V
|
|
3871
3885
|
});
|
|
3872
3886
|
}
|
|
3873
|
-
function
|
|
3887
|
+
function Rc(t) {
|
|
3874
3888
|
return k({
|
|
3875
3889
|
id: "remote_commits",
|
|
3876
3890
|
query_params: t,
|
|
3877
3891
|
path: V
|
|
3878
3892
|
});
|
|
3879
3893
|
}
|
|
3880
|
-
function
|
|
3894
|
+
function Mc(t, e) {
|
|
3881
3895
|
return m({
|
|
3882
3896
|
id: t,
|
|
3883
3897
|
task_name: "drivers",
|
|
@@ -3886,7 +3900,7 @@ function Rc(t, e) {
|
|
|
3886
3900
|
path: V
|
|
3887
3901
|
});
|
|
3888
3902
|
}
|
|
3889
|
-
function
|
|
3903
|
+
function Cc(t, e) {
|
|
3890
3904
|
return m({
|
|
3891
3905
|
id: t,
|
|
3892
3906
|
task_name: "commits",
|
|
@@ -3895,7 +3909,7 @@ function Mc(t, e) {
|
|
|
3895
3909
|
path: V
|
|
3896
3910
|
});
|
|
3897
3911
|
}
|
|
3898
|
-
function
|
|
3912
|
+
function Dc(t) {
|
|
3899
3913
|
return m({
|
|
3900
3914
|
id: t,
|
|
3901
3915
|
task_name: "branches",
|
|
@@ -3903,7 +3917,7 @@ function Cc(t) {
|
|
|
3903
3917
|
path: V
|
|
3904
3918
|
});
|
|
3905
3919
|
}
|
|
3906
|
-
function
|
|
3920
|
+
function Nc(t) {
|
|
3907
3921
|
return m({
|
|
3908
3922
|
id: t,
|
|
3909
3923
|
task_name: "default_branch",
|
|
@@ -3911,7 +3925,7 @@ function Dc(t) {
|
|
|
3911
3925
|
path: V
|
|
3912
3926
|
});
|
|
3913
3927
|
}
|
|
3914
|
-
function
|
|
3928
|
+
function Fc(t, e) {
|
|
3915
3929
|
return m({
|
|
3916
3930
|
id: t,
|
|
3917
3931
|
task_name: "details",
|
|
@@ -3920,7 +3934,7 @@ function Nc(t, e) {
|
|
|
3920
3934
|
path: V
|
|
3921
3935
|
});
|
|
3922
3936
|
}
|
|
3923
|
-
function
|
|
3937
|
+
function jc(t, e) {
|
|
3924
3938
|
return m({
|
|
3925
3939
|
id: t,
|
|
3926
3940
|
task_name: "pull",
|
|
@@ -3929,7 +3943,7 @@ function Fc(t, e) {
|
|
|
3929
3943
|
path: V
|
|
3930
3944
|
});
|
|
3931
3945
|
}
|
|
3932
|
-
function
|
|
3946
|
+
function zc(t, e) {
|
|
3933
3947
|
return m({
|
|
3934
3948
|
id: t,
|
|
3935
3949
|
task_name: "folders",
|
|
@@ -3938,7 +3952,7 @@ function jc(t, e) {
|
|
|
3938
3952
|
path: V
|
|
3939
3953
|
});
|
|
3940
3954
|
}
|
|
3941
|
-
class
|
|
3955
|
+
class oo extends L {
|
|
3942
3956
|
/** Type of auth source */
|
|
3943
3957
|
type = "saml";
|
|
3944
3958
|
/** ID of the authority associted with the auth method */
|
|
@@ -3978,15 +3992,15 @@ class so extends L {
|
|
|
3978
3992
|
}
|
|
3979
3993
|
const lt = "saml_auths";
|
|
3980
3994
|
function Xt(t) {
|
|
3981
|
-
return new
|
|
3995
|
+
return new oo(t);
|
|
3982
3996
|
}
|
|
3983
|
-
function
|
|
3997
|
+
function Hc(t = {}) {
|
|
3984
3998
|
return O({ query_params: t, fn: Xt, path: lt });
|
|
3985
3999
|
}
|
|
3986
|
-
function
|
|
4000
|
+
function Wc(t) {
|
|
3987
4001
|
return k({ id: t, query_params: {}, fn: Xt, path: lt });
|
|
3988
4002
|
}
|
|
3989
|
-
function
|
|
4003
|
+
function Lc(t, e, n = "patch") {
|
|
3990
4004
|
return T({
|
|
3991
4005
|
id: t,
|
|
3992
4006
|
form_data: e,
|
|
@@ -3996,23 +4010,23 @@ function Wc(t, e, n = "patch") {
|
|
|
3996
4010
|
path: lt
|
|
3997
4011
|
});
|
|
3998
4012
|
}
|
|
3999
|
-
function
|
|
4013
|
+
function Bc(t) {
|
|
4000
4014
|
return P({ form_data: t, query_params: {}, fn: Xt, path: lt });
|
|
4001
4015
|
}
|
|
4002
|
-
function
|
|
4016
|
+
function Vc(t) {
|
|
4003
4017
|
return E({ id: t, query_params: {}, path: lt });
|
|
4004
4018
|
}
|
|
4005
4019
|
const We = "settings";
|
|
4006
4020
|
function ht(t) {
|
|
4007
4021
|
return new Ee(t);
|
|
4008
4022
|
}
|
|
4009
|
-
function
|
|
4023
|
+
function Qc(t = {}) {
|
|
4010
4024
|
return O({ query_params: t, fn: ht, path: We });
|
|
4011
4025
|
}
|
|
4012
|
-
function
|
|
4026
|
+
function Yc(t) {
|
|
4013
4027
|
return k({ id: t, query_params: {}, fn: ht, path: We });
|
|
4014
4028
|
}
|
|
4015
|
-
function
|
|
4029
|
+
function Gc(t, e, n = {}, r = "patch") {
|
|
4016
4030
|
return T({
|
|
4017
4031
|
id: t,
|
|
4018
4032
|
form_data: e,
|
|
@@ -4022,13 +4036,13 @@ function Yc(t, e, n = {}, r = "patch") {
|
|
|
4022
4036
|
path: We
|
|
4023
4037
|
});
|
|
4024
4038
|
}
|
|
4025
|
-
function
|
|
4039
|
+
function Jc(t, e = {}) {
|
|
4026
4040
|
return P({ form_data: t, query_params: e, fn: ht, path: We });
|
|
4027
4041
|
}
|
|
4028
|
-
function
|
|
4042
|
+
function Kc(t) {
|
|
4029
4043
|
return E({ id: t, query_params: {}, path: We });
|
|
4030
4044
|
}
|
|
4031
|
-
function
|
|
4045
|
+
function Zc(t, e = {}) {
|
|
4032
4046
|
return m({
|
|
4033
4047
|
id: t,
|
|
4034
4048
|
task_name: "history",
|
|
@@ -4040,18 +4054,18 @@ function Kc(t, e = {}) {
|
|
|
4040
4054
|
}
|
|
4041
4055
|
const M = "systems";
|
|
4042
4056
|
function Te(t) {
|
|
4043
|
-
return new
|
|
4057
|
+
return new Br(t);
|
|
4044
4058
|
}
|
|
4045
|
-
function
|
|
4059
|
+
function Xc(t = {}) {
|
|
4046
4060
|
return O({ query_params: t, fn: Te, path: M });
|
|
4047
4061
|
}
|
|
4048
|
-
function
|
|
4062
|
+
function ea(t) {
|
|
4049
4063
|
return O({ query_params: t, fn: Te, path: `${M}/with_emails` });
|
|
4050
4064
|
}
|
|
4051
|
-
function
|
|
4065
|
+
function ta(t, e = {}) {
|
|
4052
4066
|
return k({ id: t, query_params: e, fn: Te, path: M });
|
|
4053
4067
|
}
|
|
4054
|
-
function
|
|
4068
|
+
function na(t, e, n = "patch") {
|
|
4055
4069
|
return T({
|
|
4056
4070
|
id: t,
|
|
4057
4071
|
form_data: e,
|
|
@@ -4061,13 +4075,13 @@ function ta(t, e, n = "patch") {
|
|
|
4061
4075
|
path: M
|
|
4062
4076
|
});
|
|
4063
4077
|
}
|
|
4064
|
-
function
|
|
4078
|
+
function ra(t) {
|
|
4065
4079
|
return P({ form_data: t, query_params: {}, fn: Te, path: M });
|
|
4066
4080
|
}
|
|
4067
|
-
function
|
|
4081
|
+
function ia(t) {
|
|
4068
4082
|
return E({ id: t, query_params: {}, path: M });
|
|
4069
4083
|
}
|
|
4070
|
-
function
|
|
4084
|
+
function sa(t, e, n = {}) {
|
|
4071
4085
|
return m({
|
|
4072
4086
|
id: t,
|
|
4073
4087
|
task_name: `module/${e}`,
|
|
@@ -4077,7 +4091,7 @@ function ia(t, e, n = {}) {
|
|
|
4077
4091
|
path: M
|
|
4078
4092
|
});
|
|
4079
4093
|
}
|
|
4080
|
-
function
|
|
4094
|
+
function oa(t, e) {
|
|
4081
4095
|
return m({
|
|
4082
4096
|
id: t,
|
|
4083
4097
|
task_name: `module/${e}`,
|
|
@@ -4087,7 +4101,7 @@ function sa(t, e) {
|
|
|
4087
4101
|
path: M
|
|
4088
4102
|
});
|
|
4089
4103
|
}
|
|
4090
|
-
function
|
|
4104
|
+
function ua(t, e = {}) {
|
|
4091
4105
|
return m({
|
|
4092
4106
|
id: t,
|
|
4093
4107
|
task_name: "start",
|
|
@@ -4095,7 +4109,7 @@ function oa(t, e = {}) {
|
|
|
4095
4109
|
path: M
|
|
4096
4110
|
});
|
|
4097
4111
|
}
|
|
4098
|
-
function
|
|
4112
|
+
function ca(t, e = {}) {
|
|
4099
4113
|
return m({
|
|
4100
4114
|
id: t,
|
|
4101
4115
|
task_name: "stop",
|
|
@@ -4103,7 +4117,7 @@ function ua(t, e = {}) {
|
|
|
4103
4117
|
path: M
|
|
4104
4118
|
});
|
|
4105
4119
|
}
|
|
4106
|
-
function
|
|
4120
|
+
function aa(t, e, n, r = 1, i = []) {
|
|
4107
4121
|
return m({
|
|
4108
4122
|
id: t,
|
|
4109
4123
|
task_name: `${n}_${r}/${encodeURIComponent(e)}`,
|
|
@@ -4111,7 +4125,7 @@ function ca(t, e, n, r = 1, i = []) {
|
|
|
4111
4125
|
path: M
|
|
4112
4126
|
});
|
|
4113
4127
|
}
|
|
4114
|
-
function
|
|
4128
|
+
function la(t, e, n = 1) {
|
|
4115
4129
|
return m({
|
|
4116
4130
|
id: t,
|
|
4117
4131
|
task_name: `${e}_${n}`,
|
|
@@ -4119,7 +4133,7 @@ function aa(t, e, n = 1) {
|
|
|
4119
4133
|
path: M
|
|
4120
4134
|
});
|
|
4121
4135
|
}
|
|
4122
|
-
function
|
|
4136
|
+
function ha(t, e, n = 1, r) {
|
|
4123
4137
|
return m({
|
|
4124
4138
|
id: t,
|
|
4125
4139
|
task_name: `${e}_${n}/${r}`,
|
|
@@ -4127,7 +4141,7 @@ function la(t, e, n = 1, r) {
|
|
|
4127
4141
|
path: M
|
|
4128
4142
|
});
|
|
4129
4143
|
}
|
|
4130
|
-
function
|
|
4144
|
+
function fa(t, e, n = 1) {
|
|
4131
4145
|
return m({
|
|
4132
4146
|
id: t,
|
|
4133
4147
|
task_name: `functions/${e}_${n}`,
|
|
@@ -4135,21 +4149,21 @@ function ha(t, e, n = 1) {
|
|
|
4135
4149
|
path: M
|
|
4136
4150
|
});
|
|
4137
4151
|
}
|
|
4138
|
-
function
|
|
4152
|
+
function da(t) {
|
|
4139
4153
|
return O({
|
|
4140
4154
|
query_params: {},
|
|
4141
4155
|
fn: (e) => new Mn(e),
|
|
4142
4156
|
path: `${M}/${t}/zones`
|
|
4143
4157
|
});
|
|
4144
4158
|
}
|
|
4145
|
-
function
|
|
4159
|
+
function pa(t, e = {}) {
|
|
4146
4160
|
return O({
|
|
4147
4161
|
query_params: e,
|
|
4148
4162
|
fn: (n) => new me(n),
|
|
4149
4163
|
path: `${M}/${t}/triggers`
|
|
4150
4164
|
});
|
|
4151
4165
|
}
|
|
4152
|
-
function
|
|
4166
|
+
function _a(t, e) {
|
|
4153
4167
|
return m({
|
|
4154
4168
|
id: t,
|
|
4155
4169
|
task_name: "triggers",
|
|
@@ -4159,7 +4173,7 @@ function pa(t, e) {
|
|
|
4159
4173
|
path: M
|
|
4160
4174
|
});
|
|
4161
4175
|
}
|
|
4162
|
-
function
|
|
4176
|
+
function ma(t, e) {
|
|
4163
4177
|
return m({
|
|
4164
4178
|
id: t,
|
|
4165
4179
|
task_name: `triggers/${e}`,
|
|
@@ -4167,7 +4181,7 @@ function _a(t, e) {
|
|
|
4167
4181
|
path: M
|
|
4168
4182
|
});
|
|
4169
4183
|
}
|
|
4170
|
-
function
|
|
4184
|
+
function ya(t) {
|
|
4171
4185
|
return m({
|
|
4172
4186
|
id: t,
|
|
4173
4187
|
task_name: "settings",
|
|
@@ -4176,12 +4190,12 @@ function ma(t) {
|
|
|
4176
4190
|
path: M
|
|
4177
4191
|
});
|
|
4178
4192
|
}
|
|
4179
|
-
function
|
|
4193
|
+
function ga(t = {}) {
|
|
4180
4194
|
const e = x(), n = e.startsWith("https") ? "wss:" : "ws:", r = e.startsWith("https") ? "https:" : "http:";
|
|
4181
4195
|
let i = e.replace(r, n) + `${M}/control`;
|
|
4182
4196
|
return t.fixed_device && (i += `?fixed_device=${encodeURIComponent(String(t.fixed_device))}`), i;
|
|
4183
4197
|
}
|
|
4184
|
-
function
|
|
4198
|
+
function ba(t, e = {}) {
|
|
4185
4199
|
return m({
|
|
4186
4200
|
id: t,
|
|
4187
4201
|
task_name: "metadata",
|
|
@@ -4190,7 +4204,7 @@ function ga(t, e = {}) {
|
|
|
4190
4204
|
path: M
|
|
4191
4205
|
});
|
|
4192
4206
|
}
|
|
4193
|
-
function
|
|
4207
|
+
function va(t, e, n = {}) {
|
|
4194
4208
|
return m({
|
|
4195
4209
|
id: t,
|
|
4196
4210
|
task_name: `triggers/${encodeURIComponent(e)}`,
|
|
@@ -4200,7 +4214,7 @@ function ba(t, e, n = {}) {
|
|
|
4200
4214
|
path: M
|
|
4201
4215
|
});
|
|
4202
4216
|
}
|
|
4203
|
-
function
|
|
4217
|
+
function Sa(t, e, n, r = "patch") {
|
|
4204
4218
|
return m({
|
|
4205
4219
|
id: t,
|
|
4206
4220
|
task_name: `triggers/${encodeURIComponent(e)}`,
|
|
@@ -4214,13 +4228,13 @@ const Le = "triggers";
|
|
|
4214
4228
|
function en(t) {
|
|
4215
4229
|
return new me(t);
|
|
4216
4230
|
}
|
|
4217
|
-
function
|
|
4231
|
+
function ka(t = {}) {
|
|
4218
4232
|
return O({ query_params: t, fn: en, path: Le });
|
|
4219
4233
|
}
|
|
4220
|
-
function
|
|
4234
|
+
function $a(t, e = {}) {
|
|
4221
4235
|
return k({ id: t, query_params: e, fn: en, path: Le });
|
|
4222
4236
|
}
|
|
4223
|
-
function
|
|
4237
|
+
function xa(t, e, n = "patch") {
|
|
4224
4238
|
return T({
|
|
4225
4239
|
id: t,
|
|
4226
4240
|
form_data: e,
|
|
@@ -4230,13 +4244,13 @@ function $a(t, e, n = "patch") {
|
|
|
4230
4244
|
path: Le
|
|
4231
4245
|
});
|
|
4232
4246
|
}
|
|
4233
|
-
function
|
|
4247
|
+
function Aa(t) {
|
|
4234
4248
|
return P({ form_data: t, query_params: {}, fn: en, path: Le });
|
|
4235
4249
|
}
|
|
4236
|
-
function
|
|
4250
|
+
function wa(t) {
|
|
4237
4251
|
return E({ id: t, query_params: {}, path: Le });
|
|
4238
4252
|
}
|
|
4239
|
-
function
|
|
4253
|
+
function Oa(t) {
|
|
4240
4254
|
return m({
|
|
4241
4255
|
id: t,
|
|
4242
4256
|
task_name: "instances",
|
|
@@ -4246,8 +4260,8 @@ function wa(t) {
|
|
|
4246
4260
|
path: Le
|
|
4247
4261
|
});
|
|
4248
4262
|
}
|
|
4249
|
-
var
|
|
4250
|
-
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 {
|
|
4251
4265
|
/** Hash of the email address of the user */
|
|
4252
4266
|
email_digest;
|
|
4253
4267
|
/** ID of the authority associated with the user */
|
|
@@ -4302,18 +4316,18 @@ class ao extends L {
|
|
|
4302
4316
|
}
|
|
4303
4317
|
const K = "users";
|
|
4304
4318
|
function Be(t) {
|
|
4305
|
-
return new
|
|
4319
|
+
return new lo(t);
|
|
4306
4320
|
}
|
|
4307
|
-
function
|
|
4321
|
+
function Ea(t = {}) {
|
|
4308
4322
|
return O({ query_params: t, fn: Be, path: K });
|
|
4309
4323
|
}
|
|
4310
|
-
function
|
|
4324
|
+
function Ia(t, e = {}) {
|
|
4311
4325
|
return k({ id: t, query_params: e, fn: Be, path: K });
|
|
4312
4326
|
}
|
|
4313
|
-
function
|
|
4327
|
+
function Pa(t = {}) {
|
|
4314
4328
|
return k({ id: "current", query_params: t, fn: Be, path: K });
|
|
4315
4329
|
}
|
|
4316
|
-
function
|
|
4330
|
+
function Ta(t, e, n = "patch") {
|
|
4317
4331
|
return T({
|
|
4318
4332
|
id: t,
|
|
4319
4333
|
form_data: e,
|
|
@@ -4323,25 +4337,25 @@ function Pa(t, e, n = "patch") {
|
|
|
4323
4337
|
path: K
|
|
4324
4338
|
});
|
|
4325
4339
|
}
|
|
4326
|
-
function
|
|
4340
|
+
function qa(t) {
|
|
4327
4341
|
return P({ form_data: t, query_params: {}, fn: Be, path: K });
|
|
4328
4342
|
}
|
|
4329
|
-
function
|
|
4343
|
+
function Ua(t, e = {}) {
|
|
4330
4344
|
return E({ id: t, query_params: e, path: K });
|
|
4331
4345
|
}
|
|
4332
|
-
function
|
|
4346
|
+
function Ra(t) {
|
|
4333
4347
|
const e = R(t), n = `${x()}${K}/groups${e ? "?" + e : ""}`;
|
|
4334
4348
|
return N(n).pipe(b((r) => r));
|
|
4335
4349
|
}
|
|
4336
|
-
function
|
|
4350
|
+
function Ma(t) {
|
|
4337
4351
|
const e = R(t), n = `${x()}${K}/metadata/search${e ? "?" + e : ""}`;
|
|
4338
4352
|
return N(n).pipe(b((r) => r));
|
|
4339
4353
|
}
|
|
4340
|
-
function
|
|
4354
|
+
function Ca() {
|
|
4341
4355
|
const t = `${x()}${K}/resource_token`;
|
|
4342
4356
|
return G(t, {}).pipe(b((e) => e));
|
|
4343
4357
|
}
|
|
4344
|
-
function
|
|
4358
|
+
function Da(t, e = {}) {
|
|
4345
4359
|
return m({
|
|
4346
4360
|
id: t,
|
|
4347
4361
|
task_name: "metadata",
|
|
@@ -4350,15 +4364,15 @@ function Ca(t, e = {}) {
|
|
|
4350
4364
|
path: K
|
|
4351
4365
|
});
|
|
4352
4366
|
}
|
|
4353
|
-
function
|
|
4367
|
+
function Na(t) {
|
|
4354
4368
|
const e = `${x()}${K}/${encodeURIComponent(t)}/resource_token`;
|
|
4355
4369
|
return Oe(e, { response_type: "void" });
|
|
4356
4370
|
}
|
|
4357
|
-
function
|
|
4371
|
+
function Fa(t) {
|
|
4358
4372
|
const e = `${x()}${K}/${encodeURIComponent(t)}/resource_token`;
|
|
4359
4373
|
return G(e, {}).pipe(b((n) => n));
|
|
4360
4374
|
}
|
|
4361
|
-
function
|
|
4375
|
+
function ja(t) {
|
|
4362
4376
|
return m({
|
|
4363
4377
|
id: t,
|
|
4364
4378
|
task_name: "revive",
|
|
@@ -4372,10 +4386,10 @@ const le = "zones";
|
|
|
4372
4386
|
function tn(t) {
|
|
4373
4387
|
return new Mn(t);
|
|
4374
4388
|
}
|
|
4375
|
-
function
|
|
4389
|
+
function za(t = {}) {
|
|
4376
4390
|
return O({ query_params: t, fn: tn, path: le });
|
|
4377
4391
|
}
|
|
4378
|
-
function
|
|
4392
|
+
function Ha(t = {}) {
|
|
4379
4393
|
return k({
|
|
4380
4394
|
id: "tags",
|
|
4381
4395
|
query_params: t,
|
|
@@ -4383,10 +4397,10 @@ function za(t = {}) {
|
|
|
4383
4397
|
path: le
|
|
4384
4398
|
});
|
|
4385
4399
|
}
|
|
4386
|
-
function
|
|
4400
|
+
function Wa(t, e = {}) {
|
|
4387
4401
|
return k({ id: t, query_params: e, fn: tn, path: le });
|
|
4388
4402
|
}
|
|
4389
|
-
function
|
|
4403
|
+
function La(t, e, n = "patch") {
|
|
4390
4404
|
return T({
|
|
4391
4405
|
id: t,
|
|
4392
4406
|
form_data: e,
|
|
@@ -4396,20 +4410,20 @@ function Wa(t, e, n = "patch") {
|
|
|
4396
4410
|
path: le
|
|
4397
4411
|
});
|
|
4398
4412
|
}
|
|
4399
|
-
function
|
|
4413
|
+
function Ba(t) {
|
|
4400
4414
|
return P({ form_data: t, query_params: {}, fn: tn, path: le });
|
|
4401
4415
|
}
|
|
4402
|
-
function
|
|
4416
|
+
function Va(t) {
|
|
4403
4417
|
return E({ id: t, query_params: {}, path: le });
|
|
4404
4418
|
}
|
|
4405
|
-
function
|
|
4419
|
+
function Qa(t, e = {}) {
|
|
4406
4420
|
return O({
|
|
4407
4421
|
query_params: e,
|
|
4408
4422
|
fn: (n) => new me(n),
|
|
4409
4423
|
path: `${le}/${t}/triggers`
|
|
4410
4424
|
});
|
|
4411
4425
|
}
|
|
4412
|
-
function
|
|
4426
|
+
function Ya(t, e, n, r = 1, i = []) {
|
|
4413
4427
|
return m({
|
|
4414
4428
|
id: t,
|
|
4415
4429
|
task_name: `exec/${encodeURIComponent(
|
|
@@ -4419,7 +4433,7 @@ function Qa(t, e, n, r = 1, i = []) {
|
|
|
4419
4433
|
path: le
|
|
4420
4434
|
});
|
|
4421
4435
|
}
|
|
4422
|
-
function
|
|
4436
|
+
function Ga(t, e = {}) {
|
|
4423
4437
|
return m({
|
|
4424
4438
|
id: t,
|
|
4425
4439
|
task_name: "metadata",
|
|
@@ -4428,8 +4442,8 @@ function Ya(t, e = {}) {
|
|
|
4428
4442
|
path: le
|
|
4429
4443
|
});
|
|
4430
4444
|
}
|
|
4431
|
-
var
|
|
4432
|
-
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 {
|
|
4433
4447
|
id;
|
|
4434
4448
|
created_at;
|
|
4435
4449
|
updated_at;
|
|
@@ -4475,7 +4489,7 @@ class Cn {
|
|
|
4475
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 || "";
|
|
4476
4490
|
}
|
|
4477
4491
|
}
|
|
4478
|
-
class
|
|
4492
|
+
class fo {
|
|
4479
4493
|
id;
|
|
4480
4494
|
created_at;
|
|
4481
4495
|
updated_at;
|
|
@@ -4495,34 +4509,34 @@ class ho {
|
|
|
4495
4509
|
valid_from;
|
|
4496
4510
|
valid_until;
|
|
4497
4511
|
constructor(e) {
|
|
4498
|
-
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 || "";
|
|
4499
4513
|
}
|
|
4500
4514
|
}
|
|
4501
|
-
const
|
|
4502
|
-
function
|
|
4503
|
-
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 });
|
|
4504
4518
|
}
|
|
4505
|
-
function
|
|
4519
|
+
function Ka(t) {
|
|
4506
4520
|
return m({
|
|
4507
4521
|
id: t,
|
|
4508
4522
|
task_name: "metrics",
|
|
4509
4523
|
form_data: {},
|
|
4510
4524
|
method: "post",
|
|
4511
4525
|
callback: (e) => e,
|
|
4512
|
-
path:
|
|
4526
|
+
path: Gr
|
|
4513
4527
|
});
|
|
4514
4528
|
}
|
|
4515
4529
|
const Ve = "signage/media";
|
|
4516
4530
|
function nn(t) {
|
|
4517
|
-
return new
|
|
4531
|
+
return new ho(t);
|
|
4518
4532
|
}
|
|
4519
|
-
function
|
|
4533
|
+
function Za(t = {}) {
|
|
4520
4534
|
return O({ query_params: t, fn: nn, path: Ve });
|
|
4521
4535
|
}
|
|
4522
|
-
function
|
|
4536
|
+
function Xa(t, e = {}) {
|
|
4523
4537
|
return k({ id: t, query_params: e, fn: nn, path: Ve });
|
|
4524
4538
|
}
|
|
4525
|
-
function
|
|
4539
|
+
function el(t, e, n = "patch") {
|
|
4526
4540
|
return T({
|
|
4527
4541
|
id: t,
|
|
4528
4542
|
form_data: e,
|
|
@@ -4532,7 +4546,7 @@ function Xa(t, e, n = "patch") {
|
|
|
4532
4546
|
path: Ve
|
|
4533
4547
|
});
|
|
4534
4548
|
}
|
|
4535
|
-
function
|
|
4549
|
+
function tl(t) {
|
|
4536
4550
|
return P({
|
|
4537
4551
|
form_data: t,
|
|
4538
4552
|
query_params: {},
|
|
@@ -4540,20 +4554,20 @@ function el(t) {
|
|
|
4540
4554
|
path: Ve
|
|
4541
4555
|
});
|
|
4542
4556
|
}
|
|
4543
|
-
function
|
|
4557
|
+
function nl(t, e = {}) {
|
|
4544
4558
|
return E({ id: t, query_params: e, path: Ve });
|
|
4545
4559
|
}
|
|
4546
|
-
function
|
|
4560
|
+
function rl(t) {
|
|
4547
4561
|
return `${x()}/${Ve}/${t}/thumbnail`;
|
|
4548
4562
|
}
|
|
4549
4563
|
const he = "signage/playlists";
|
|
4550
4564
|
function rn(t) {
|
|
4551
|
-
return new
|
|
4565
|
+
return new fo(t);
|
|
4552
4566
|
}
|
|
4553
|
-
function
|
|
4567
|
+
function il(t = {}) {
|
|
4554
4568
|
return O({ query_params: t, fn: rn, path: he });
|
|
4555
4569
|
}
|
|
4556
|
-
function
|
|
4570
|
+
function sl(t, e = {}) {
|
|
4557
4571
|
return k({
|
|
4558
4572
|
id: t,
|
|
4559
4573
|
query_params: e,
|
|
@@ -4561,7 +4575,7 @@ function il(t, e = {}) {
|
|
|
4561
4575
|
path: he
|
|
4562
4576
|
});
|
|
4563
4577
|
}
|
|
4564
|
-
function
|
|
4578
|
+
function ol(t, e, n = "patch") {
|
|
4565
4579
|
return T({
|
|
4566
4580
|
id: t,
|
|
4567
4581
|
form_data: e,
|
|
@@ -4571,7 +4585,7 @@ function sl(t, e, n = "patch") {
|
|
|
4571
4585
|
path: he
|
|
4572
4586
|
});
|
|
4573
4587
|
}
|
|
4574
|
-
function
|
|
4588
|
+
function ul(t) {
|
|
4575
4589
|
return P({
|
|
4576
4590
|
form_data: t,
|
|
4577
4591
|
query_params: {},
|
|
@@ -4579,10 +4593,10 @@ function ol(t) {
|
|
|
4579
4593
|
path: he
|
|
4580
4594
|
});
|
|
4581
4595
|
}
|
|
4582
|
-
function
|
|
4596
|
+
function cl(t, e = {}) {
|
|
4583
4597
|
return E({ id: t, query_params: e, path: he });
|
|
4584
4598
|
}
|
|
4585
|
-
function
|
|
4599
|
+
function al(t, e = {}) {
|
|
4586
4600
|
return m({
|
|
4587
4601
|
id: t,
|
|
4588
4602
|
task_name: "media",
|
|
@@ -4592,7 +4606,7 @@ function cl(t, e = {}) {
|
|
|
4592
4606
|
path: he
|
|
4593
4607
|
});
|
|
4594
4608
|
}
|
|
4595
|
-
function
|
|
4609
|
+
function ll(t, e = {}) {
|
|
4596
4610
|
return m({
|
|
4597
4611
|
id: t,
|
|
4598
4612
|
task_name: "media/revisions",
|
|
@@ -4604,7 +4618,7 @@ function al(t, e = {}) {
|
|
|
4604
4618
|
path: he
|
|
4605
4619
|
});
|
|
4606
4620
|
}
|
|
4607
|
-
function
|
|
4621
|
+
function hl(t) {
|
|
4608
4622
|
return m({
|
|
4609
4623
|
id: t,
|
|
4610
4624
|
task_name: "media/approve",
|
|
@@ -4612,7 +4626,7 @@ function ll(t) {
|
|
|
4612
4626
|
path: he
|
|
4613
4627
|
});
|
|
4614
4628
|
}
|
|
4615
|
-
function
|
|
4629
|
+
function fl(t, e) {
|
|
4616
4630
|
return m({
|
|
4617
4631
|
id: t,
|
|
4618
4632
|
task_name: "media",
|
|
@@ -4622,7 +4636,7 @@ function hl(t, e) {
|
|
|
4622
4636
|
callback: (n) => new Cn(n)
|
|
4623
4637
|
});
|
|
4624
4638
|
}
|
|
4625
|
-
class
|
|
4639
|
+
class Jr {
|
|
4626
4640
|
id;
|
|
4627
4641
|
question_id;
|
|
4628
4642
|
survey_id;
|
|
@@ -4632,16 +4646,16 @@ class Gr {
|
|
|
4632
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 || {};
|
|
4633
4647
|
}
|
|
4634
4648
|
}
|
|
4635
|
-
const
|
|
4636
|
-
function
|
|
4649
|
+
const Kr = "/api/staff/v1/surveys/answers";
|
|
4650
|
+
function dl(t = {}) {
|
|
4637
4651
|
const e = R(t);
|
|
4638
|
-
return N(`${
|
|
4639
|
-
b((n) => n.map((r) => new
|
|
4652
|
+
return N(`${Kr}${e ? "?" + e : ""}`).pipe(
|
|
4653
|
+
b((n) => n.map((r) => new Jr(r)))
|
|
4640
4654
|
);
|
|
4641
4655
|
}
|
|
4642
|
-
function
|
|
4643
|
-
return G(`${
|
|
4644
|
-
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)))
|
|
4645
4659
|
);
|
|
4646
4660
|
}
|
|
4647
4661
|
class sn {
|
|
@@ -4655,29 +4669,29 @@ class sn {
|
|
|
4655
4669
|
}
|
|
4656
4670
|
}
|
|
4657
4671
|
const ft = "/api/staff/v1/surveys/invitations";
|
|
4658
|
-
function
|
|
4672
|
+
function _l(t = {}) {
|
|
4659
4673
|
const e = R(t);
|
|
4660
4674
|
return N(`${ft}${e ? "?" + e : ""}`).pipe(
|
|
4661
4675
|
b((n) => n.map((r) => new sn(r)))
|
|
4662
4676
|
);
|
|
4663
4677
|
}
|
|
4664
|
-
function
|
|
4678
|
+
function ml(t, e = {}) {
|
|
4665
4679
|
const n = R(e);
|
|
4666
4680
|
return N(`${ft}/${t}${n ? "?" + n : ""}`).pipe(
|
|
4667
4681
|
b((r) => new sn(r))
|
|
4668
4682
|
);
|
|
4669
4683
|
}
|
|
4670
|
-
function
|
|
4684
|
+
function yl(t, e, n = "patch") {
|
|
4671
4685
|
return (n === "put" ? Ne : et)(`${ft}/${t}`, e).pipe(
|
|
4672
4686
|
b((r) => new sn(r))
|
|
4673
4687
|
);
|
|
4674
4688
|
}
|
|
4675
|
-
function
|
|
4689
|
+
function gl(t) {
|
|
4676
4690
|
return G(`${ft}`, t).pipe(
|
|
4677
4691
|
b((e) => new sn(e))
|
|
4678
4692
|
);
|
|
4679
4693
|
}
|
|
4680
|
-
function
|
|
4694
|
+
function bl(t, e = {}) {
|
|
4681
4695
|
const n = R(e);
|
|
4682
4696
|
return Oe(`${ft}/${t}${n ? "?" + n : ""}`);
|
|
4683
4697
|
}
|
|
@@ -4697,29 +4711,29 @@ class on {
|
|
|
4697
4711
|
}
|
|
4698
4712
|
}
|
|
4699
4713
|
const dt = "/api/staff/v1/surveys/questions";
|
|
4700
|
-
function
|
|
4714
|
+
function vl(t = {}) {
|
|
4701
4715
|
const e = R(t);
|
|
4702
4716
|
return N(`${dt}${e ? "?" + e : ""}`).pipe(
|
|
4703
4717
|
b((n) => n.map((r) => new on(r)))
|
|
4704
4718
|
);
|
|
4705
4719
|
}
|
|
4706
|
-
function
|
|
4720
|
+
function Sl(t, e = {}) {
|
|
4707
4721
|
const n = R(e);
|
|
4708
4722
|
return N(`${dt}/${t}${n ? "?" + n : ""}`).pipe(
|
|
4709
4723
|
b((r) => new on(r))
|
|
4710
4724
|
);
|
|
4711
4725
|
}
|
|
4712
|
-
function
|
|
4726
|
+
function kl(t) {
|
|
4713
4727
|
return G(`${dt}`, t).pipe(
|
|
4714
4728
|
b((e) => new on(e))
|
|
4715
4729
|
);
|
|
4716
4730
|
}
|
|
4717
|
-
function
|
|
4731
|
+
function $l(t, e, n = "patch") {
|
|
4718
4732
|
return (n === "put" ? Ne : et)(`${dt}/${t}`, e).pipe(
|
|
4719
4733
|
b((r) => new on(r))
|
|
4720
4734
|
);
|
|
4721
4735
|
}
|
|
4722
|
-
function
|
|
4736
|
+
function xl(t, e = {}) {
|
|
4723
4737
|
const n = R(e);
|
|
4724
4738
|
return Oe(`${dt}/${t}${n ? "?" + n : ""}`);
|
|
4725
4739
|
}
|
|
@@ -4736,31 +4750,31 @@ class un {
|
|
|
4736
4750
|
}
|
|
4737
4751
|
}
|
|
4738
4752
|
const pt = "/api/staff/v1/surveys";
|
|
4739
|
-
function
|
|
4753
|
+
function Al(t = {}) {
|
|
4740
4754
|
const e = R(t);
|
|
4741
4755
|
return N(`${pt}${e ? "?" + e : ""}`).pipe(
|
|
4742
4756
|
b((n) => n.map((r) => new un(r)))
|
|
4743
4757
|
);
|
|
4744
4758
|
}
|
|
4745
|
-
function
|
|
4759
|
+
function wl(t, e = {}) {
|
|
4746
4760
|
const n = R(e);
|
|
4747
4761
|
return N(`${pt}/${t}${n ? "?" + n : ""}`).pipe(
|
|
4748
4762
|
b((r) => new un(r))
|
|
4749
4763
|
);
|
|
4750
4764
|
}
|
|
4751
|
-
function
|
|
4765
|
+
function Ol(t, e, n = "patch") {
|
|
4752
4766
|
return (n === "put" ? Ne : et)(`${pt}/${t}`, e).pipe(
|
|
4753
4767
|
b((r) => new un(r))
|
|
4754
4768
|
);
|
|
4755
4769
|
}
|
|
4756
|
-
function
|
|
4770
|
+
function El(t) {
|
|
4757
4771
|
return G(`${pt}`, t).pipe(b((e) => new un(e)));
|
|
4758
4772
|
}
|
|
4759
|
-
function
|
|
4773
|
+
function Il(t, e = {}) {
|
|
4760
4774
|
const n = R(e);
|
|
4761
4775
|
return Oe(`${pt}/${t}${n ? "?" + n : ""}`);
|
|
4762
4776
|
}
|
|
4763
|
-
class
|
|
4777
|
+
class po {
|
|
4764
4778
|
id;
|
|
4765
4779
|
parent_category_id;
|
|
4766
4780
|
name;
|
|
@@ -4772,7 +4786,7 @@ class fo {
|
|
|
4772
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;
|
|
4773
4787
|
}
|
|
4774
4788
|
}
|
|
4775
|
-
class
|
|
4789
|
+
class _o {
|
|
4776
4790
|
id;
|
|
4777
4791
|
purchase_order_number;
|
|
4778
4792
|
invoice_number;
|
|
@@ -4787,7 +4801,7 @@ class po {
|
|
|
4787
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;
|
|
4788
4802
|
}
|
|
4789
4803
|
}
|
|
4790
|
-
class
|
|
4804
|
+
class mo {
|
|
4791
4805
|
id;
|
|
4792
4806
|
category_id;
|
|
4793
4807
|
name;
|
|
@@ -4801,7 +4815,7 @@ class _o {
|
|
|
4801
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;
|
|
4802
4816
|
}
|
|
4803
4817
|
}
|
|
4804
|
-
class
|
|
4818
|
+
class yo {
|
|
4805
4819
|
id;
|
|
4806
4820
|
parent_id;
|
|
4807
4821
|
asset_type_id;
|
|
@@ -4832,16 +4846,16 @@ class mo {
|
|
|
4832
4846
|
}
|
|
4833
4847
|
const ye = "assets";
|
|
4834
4848
|
function qe(t) {
|
|
4835
|
-
return new
|
|
4849
|
+
return new yo(t);
|
|
4836
4850
|
}
|
|
4837
|
-
function
|
|
4851
|
+
function Pl(t = {}) {
|
|
4838
4852
|
return O({
|
|
4839
4853
|
query_params: t,
|
|
4840
4854
|
fn: qe,
|
|
4841
4855
|
path: ye
|
|
4842
4856
|
});
|
|
4843
4857
|
}
|
|
4844
|
-
function
|
|
4858
|
+
function Tl(t, e = {}) {
|
|
4845
4859
|
return k({
|
|
4846
4860
|
id: t,
|
|
4847
4861
|
query_params: e,
|
|
@@ -4849,7 +4863,7 @@ function Pl(t, e = {}) {
|
|
|
4849
4863
|
path: ye
|
|
4850
4864
|
});
|
|
4851
4865
|
}
|
|
4852
|
-
function
|
|
4866
|
+
function ql(t, e, n = "patch") {
|
|
4853
4867
|
return T({
|
|
4854
4868
|
id: t,
|
|
4855
4869
|
form_data: e,
|
|
@@ -4859,7 +4873,7 @@ function Tl(t, e, n = "patch") {
|
|
|
4859
4873
|
path: ye
|
|
4860
4874
|
});
|
|
4861
4875
|
}
|
|
4862
|
-
function
|
|
4876
|
+
function Ul(t) {
|
|
4863
4877
|
return P({
|
|
4864
4878
|
form_data: t,
|
|
4865
4879
|
query_params: {},
|
|
@@ -4867,24 +4881,24 @@ function ql(t) {
|
|
|
4867
4881
|
path: ye
|
|
4868
4882
|
});
|
|
4869
4883
|
}
|
|
4870
|
-
function
|
|
4884
|
+
function Rl(t, e = {}) {
|
|
4871
4885
|
return E({ id: t, query_params: e, path: ye });
|
|
4872
4886
|
}
|
|
4873
|
-
function
|
|
4887
|
+
function Ml(t) {
|
|
4874
4888
|
return G(
|
|
4875
4889
|
`${x()}${ye}/bulk`,
|
|
4876
4890
|
JSON.stringify(t),
|
|
4877
4891
|
{}
|
|
4878
4892
|
).pipe(b((e) => e.map((n) => qe(n))));
|
|
4879
4893
|
}
|
|
4880
|
-
function
|
|
4894
|
+
function Cl(t, e = "patch") {
|
|
4881
4895
|
return (e === "put" ? Ne : et)(
|
|
4882
4896
|
`${x()}${ye}/bulk`,
|
|
4883
4897
|
JSON.stringify(t),
|
|
4884
4898
|
{}
|
|
4885
4899
|
).pipe(b((r) => r.map((i) => qe(i))));
|
|
4886
4900
|
}
|
|
4887
|
-
function
|
|
4901
|
+
function Dl(t, e = {}) {
|
|
4888
4902
|
const n = R(e);
|
|
4889
4903
|
return Oe(`${x()}${ye}/bulk${n ? "?" + n : ""}`, {
|
|
4890
4904
|
body: JSON.stringify(t)
|
|
@@ -4892,16 +4906,16 @@ function Cl(t, e = {}) {
|
|
|
4892
4906
|
}
|
|
4893
4907
|
const _t = "asset_types";
|
|
4894
4908
|
function cn(t) {
|
|
4895
|
-
return new
|
|
4909
|
+
return new mo(t);
|
|
4896
4910
|
}
|
|
4897
|
-
function
|
|
4911
|
+
function Nl(t = {}) {
|
|
4898
4912
|
return O({
|
|
4899
4913
|
query_params: t,
|
|
4900
4914
|
fn: cn,
|
|
4901
4915
|
path: _t
|
|
4902
4916
|
});
|
|
4903
4917
|
}
|
|
4904
|
-
function
|
|
4918
|
+
function Fl(t, e = {}) {
|
|
4905
4919
|
return k({
|
|
4906
4920
|
id: t,
|
|
4907
4921
|
query_params: e,
|
|
@@ -4909,7 +4923,7 @@ function Nl(t, e = {}) {
|
|
|
4909
4923
|
path: _t
|
|
4910
4924
|
});
|
|
4911
4925
|
}
|
|
4912
|
-
function
|
|
4926
|
+
function jl(t, e, n = "patch") {
|
|
4913
4927
|
return T({
|
|
4914
4928
|
id: t,
|
|
4915
4929
|
form_data: e,
|
|
@@ -4919,7 +4933,7 @@ function Fl(t, e, n = "patch") {
|
|
|
4919
4933
|
path: _t
|
|
4920
4934
|
});
|
|
4921
4935
|
}
|
|
4922
|
-
function
|
|
4936
|
+
function zl(t) {
|
|
4923
4937
|
return P({
|
|
4924
4938
|
form_data: t,
|
|
4925
4939
|
query_params: {},
|
|
@@ -4927,21 +4941,21 @@ function jl(t) {
|
|
|
4927
4941
|
path: _t
|
|
4928
4942
|
});
|
|
4929
4943
|
}
|
|
4930
|
-
function
|
|
4944
|
+
function Hl(t, e = {}) {
|
|
4931
4945
|
return E({ id: t, query_params: e, path: _t });
|
|
4932
4946
|
}
|
|
4933
4947
|
const mt = "asset_categories";
|
|
4934
4948
|
function an(t) {
|
|
4935
|
-
return new
|
|
4949
|
+
return new po(t);
|
|
4936
4950
|
}
|
|
4937
|
-
function
|
|
4951
|
+
function Wl(t = {}) {
|
|
4938
4952
|
return O({
|
|
4939
4953
|
query_params: t,
|
|
4940
4954
|
fn: an,
|
|
4941
4955
|
path: mt
|
|
4942
4956
|
});
|
|
4943
4957
|
}
|
|
4944
|
-
function
|
|
4958
|
+
function Ll(t, e = {}) {
|
|
4945
4959
|
return k({
|
|
4946
4960
|
id: t,
|
|
4947
4961
|
query_params: e,
|
|
@@ -4949,7 +4963,7 @@ function Wl(t, e = {}) {
|
|
|
4949
4963
|
path: mt
|
|
4950
4964
|
});
|
|
4951
4965
|
}
|
|
4952
|
-
function
|
|
4966
|
+
function Bl(t, e, n = "patch") {
|
|
4953
4967
|
return T({
|
|
4954
4968
|
id: t,
|
|
4955
4969
|
form_data: e,
|
|
@@ -4959,7 +4973,7 @@ function Ll(t, e, n = "patch") {
|
|
|
4959
4973
|
path: mt
|
|
4960
4974
|
});
|
|
4961
4975
|
}
|
|
4962
|
-
function
|
|
4976
|
+
function Vl(t) {
|
|
4963
4977
|
return P({
|
|
4964
4978
|
form_data: t,
|
|
4965
4979
|
query_params: {},
|
|
@@ -4967,21 +4981,21 @@ function Bl(t) {
|
|
|
4967
4981
|
path: mt
|
|
4968
4982
|
});
|
|
4969
4983
|
}
|
|
4970
|
-
function
|
|
4984
|
+
function Ql(t, e = {}) {
|
|
4971
4985
|
return E({ id: t, query_params: e, path: mt });
|
|
4972
4986
|
}
|
|
4973
4987
|
const yt = "asset_purchase_orders";
|
|
4974
4988
|
function ln(t) {
|
|
4975
|
-
return new
|
|
4989
|
+
return new _o(t);
|
|
4976
4990
|
}
|
|
4977
|
-
function
|
|
4991
|
+
function Yl(t = {}) {
|
|
4978
4992
|
return O({
|
|
4979
4993
|
query_params: t,
|
|
4980
4994
|
fn: ln,
|
|
4981
4995
|
path: yt
|
|
4982
4996
|
});
|
|
4983
4997
|
}
|
|
4984
|
-
function
|
|
4998
|
+
function Gl(t, e = {}) {
|
|
4985
4999
|
return k({
|
|
4986
5000
|
id: t,
|
|
4987
5001
|
query_params: e,
|
|
@@ -4989,7 +5003,7 @@ function Yl(t, e = {}) {
|
|
|
4989
5003
|
path: yt
|
|
4990
5004
|
});
|
|
4991
5005
|
}
|
|
4992
|
-
function
|
|
5006
|
+
function Jl(t, e, n = "patch") {
|
|
4993
5007
|
return T({
|
|
4994
5008
|
id: t,
|
|
4995
5009
|
form_data: e,
|
|
@@ -4999,7 +5013,7 @@ function Gl(t, e, n = "patch") {
|
|
|
4999
5013
|
path: yt
|
|
5000
5014
|
});
|
|
5001
5015
|
}
|
|
5002
|
-
function
|
|
5016
|
+
function Kl(t) {
|
|
5003
5017
|
return P({
|
|
5004
5018
|
form_data: t,
|
|
5005
5019
|
query_params: {},
|
|
@@ -5007,10 +5021,10 @@ function Jl(t) {
|
|
|
5007
5021
|
path: yt
|
|
5008
5022
|
});
|
|
5009
5023
|
}
|
|
5010
|
-
function
|
|
5024
|
+
function Zl(t, e = {}) {
|
|
5011
5025
|
return E({ id: t, query_params: e, path: yt });
|
|
5012
5026
|
}
|
|
5013
|
-
class
|
|
5027
|
+
class go {
|
|
5014
5028
|
id;
|
|
5015
5029
|
name;
|
|
5016
5030
|
uri;
|
|
@@ -5031,16 +5045,16 @@ class yo {
|
|
|
5031
5045
|
}
|
|
5032
5046
|
const ie = "short_url";
|
|
5033
5047
|
function hn(t) {
|
|
5034
|
-
return new
|
|
5048
|
+
return new go(t);
|
|
5035
5049
|
}
|
|
5036
|
-
function
|
|
5050
|
+
function Xl(t = {}) {
|
|
5037
5051
|
return O({
|
|
5038
5052
|
query_params: t,
|
|
5039
5053
|
fn: hn,
|
|
5040
5054
|
path: ie
|
|
5041
5055
|
});
|
|
5042
5056
|
}
|
|
5043
|
-
function
|
|
5057
|
+
function eh(t, e = {}) {
|
|
5044
5058
|
return k({
|
|
5045
5059
|
id: t,
|
|
5046
5060
|
query_params: e,
|
|
@@ -5048,7 +5062,7 @@ function Xl(t, e = {}) {
|
|
|
5048
5062
|
path: ie
|
|
5049
5063
|
});
|
|
5050
5064
|
}
|
|
5051
|
-
function
|
|
5065
|
+
function th(t, e, n = "patch") {
|
|
5052
5066
|
return T({
|
|
5053
5067
|
id: t,
|
|
5054
5068
|
form_data: e,
|
|
@@ -5058,7 +5072,7 @@ function eh(t, e, n = "patch") {
|
|
|
5058
5072
|
path: ie
|
|
5059
5073
|
});
|
|
5060
5074
|
}
|
|
5061
|
-
function
|
|
5075
|
+
function nh(t) {
|
|
5062
5076
|
return P({
|
|
5063
5077
|
form_data: t,
|
|
5064
5078
|
query_params: {},
|
|
@@ -5066,33 +5080,33 @@ function th(t) {
|
|
|
5066
5080
|
path: ie
|
|
5067
5081
|
});
|
|
5068
5082
|
}
|
|
5069
|
-
function
|
|
5083
|
+
function rh(t, e = {}) {
|
|
5070
5084
|
return E({ id: t, query_params: e, path: ie });
|
|
5071
5085
|
}
|
|
5072
|
-
function
|
|
5086
|
+
function ih(t) {
|
|
5073
5087
|
return `${x()}${ie}/${encodeURIComponent(t)}/redirect`;
|
|
5074
5088
|
}
|
|
5075
|
-
function
|
|
5089
|
+
function sh(t) {
|
|
5076
5090
|
return N(
|
|
5077
5091
|
`${x()}${ie}/${encodeURIComponent(t)}/qr_code.svg`,
|
|
5078
5092
|
{ response_type: "text" }
|
|
5079
5093
|
);
|
|
5080
5094
|
}
|
|
5081
|
-
function
|
|
5095
|
+
function oh(t, e = {}) {
|
|
5082
5096
|
const n = R(e);
|
|
5083
5097
|
return `${x()}${ie}/${encodeURIComponent(t)}/qr_code.png${n ? "?" + n : ""}`;
|
|
5084
5098
|
}
|
|
5085
|
-
function
|
|
5099
|
+
function uh(t) {
|
|
5086
5100
|
const { format: e = "svg", ...n } = t, r = { ...n, format: e }, i = R(r);
|
|
5087
5101
|
return `${x()}${ie}/qr_code${i ? "?" + i : ""}`;
|
|
5088
5102
|
}
|
|
5089
|
-
function
|
|
5103
|
+
function ch(t) {
|
|
5090
5104
|
const e = { ...t, format: "svg" }, n = R(e);
|
|
5091
5105
|
return N(`${x()}${ie}/qr_code${n ? "?" + n : ""}`, {
|
|
5092
5106
|
response_type: "text"
|
|
5093
5107
|
});
|
|
5094
5108
|
}
|
|
5095
|
-
class
|
|
5109
|
+
class bo {
|
|
5096
5110
|
id;
|
|
5097
5111
|
storage_type;
|
|
5098
5112
|
bucket_name;
|
|
@@ -5112,16 +5126,16 @@ class go {
|
|
|
5112
5126
|
}
|
|
5113
5127
|
const gt = "storages";
|
|
5114
5128
|
function fn(t) {
|
|
5115
|
-
return new
|
|
5129
|
+
return new bo(t);
|
|
5116
5130
|
}
|
|
5117
|
-
function
|
|
5131
|
+
function ah(t = {}) {
|
|
5118
5132
|
return O({
|
|
5119
5133
|
query_params: t,
|
|
5120
5134
|
fn,
|
|
5121
5135
|
path: gt
|
|
5122
5136
|
});
|
|
5123
5137
|
}
|
|
5124
|
-
function
|
|
5138
|
+
function lh(t, e = {}) {
|
|
5125
5139
|
return k({
|
|
5126
5140
|
id: t,
|
|
5127
5141
|
query_params: e,
|
|
@@ -5129,7 +5143,7 @@ function ah(t, e = {}) {
|
|
|
5129
5143
|
path: gt
|
|
5130
5144
|
});
|
|
5131
5145
|
}
|
|
5132
|
-
function
|
|
5146
|
+
function hh(t, e, n = "patch") {
|
|
5133
5147
|
return T({
|
|
5134
5148
|
id: t,
|
|
5135
5149
|
form_data: e,
|
|
@@ -5139,7 +5153,7 @@ function lh(t, e, n = "patch") {
|
|
|
5139
5153
|
path: gt
|
|
5140
5154
|
});
|
|
5141
5155
|
}
|
|
5142
|
-
function
|
|
5156
|
+
function fh(t) {
|
|
5143
5157
|
return P({
|
|
5144
5158
|
form_data: t,
|
|
5145
5159
|
query_params: {},
|
|
@@ -5147,47 +5161,47 @@ function hh(t) {
|
|
|
5147
5161
|
path: gt
|
|
5148
5162
|
});
|
|
5149
5163
|
}
|
|
5150
|
-
function
|
|
5164
|
+
function dh(t, e = {}) {
|
|
5151
5165
|
return E({ id: t, query_params: e, path: gt });
|
|
5152
5166
|
}
|
|
5153
5167
|
const ge = "webrtc";
|
|
5154
|
-
function
|
|
5168
|
+
function ph(t = {}) {
|
|
5155
5169
|
const e = R(t), n = `${x()}${ge}/rooms${e ? "?" + e : ""}`;
|
|
5156
5170
|
return N(n).pipe(b((r) => r));
|
|
5157
5171
|
}
|
|
5158
|
-
function
|
|
5172
|
+
function _h(t) {
|
|
5159
5173
|
const e = `${x()}${ge}/room/${encodeURIComponent(t)}`;
|
|
5160
5174
|
return N(e).pipe(b((n) => n));
|
|
5161
5175
|
}
|
|
5162
|
-
function
|
|
5176
|
+
function mh(t) {
|
|
5163
5177
|
const e = `${x()}${ge}/members/${encodeURIComponent(t)}`;
|
|
5164
5178
|
return N(e).pipe(b((n) => n));
|
|
5165
5179
|
}
|
|
5166
|
-
function
|
|
5180
|
+
function yh(t, e) {
|
|
5167
5181
|
const n = `${x()}${ge}/guest_entry/${encodeURIComponent(t)}`;
|
|
5168
5182
|
return G(n, e).pipe(b(() => {
|
|
5169
5183
|
}));
|
|
5170
5184
|
}
|
|
5171
|
-
function
|
|
5185
|
+
function gh() {
|
|
5172
5186
|
const t = `${x()}${ge}/guest/exit`;
|
|
5173
5187
|
return G(t, {}).pipe(b(() => {
|
|
5174
5188
|
}));
|
|
5175
5189
|
}
|
|
5176
|
-
function
|
|
5190
|
+
function bh(t, e, n) {
|
|
5177
5191
|
const r = `${x()}${ge}/kick/${encodeURIComponent(t)}/${encodeURIComponent(e)}`;
|
|
5178
5192
|
return G(r, n).pipe(b(() => {
|
|
5179
5193
|
}));
|
|
5180
5194
|
}
|
|
5181
|
-
function
|
|
5195
|
+
function vh(t, e, n) {
|
|
5182
5196
|
const r = `${x()}${ge}/transfer/${encodeURIComponent(t)}/${encodeURIComponent(e)}`;
|
|
5183
5197
|
return G(r, n || {}).pipe(b(() => {
|
|
5184
5198
|
}));
|
|
5185
5199
|
}
|
|
5186
|
-
function
|
|
5200
|
+
function Sh() {
|
|
5187
5201
|
const t = x(), e = t.startsWith("https") ? "wss:" : "ws:", n = t.startsWith("https") ? "https:" : "http:";
|
|
5188
5202
|
return t.replace(n, e) + `${ge}/signaller`;
|
|
5189
5203
|
}
|
|
5190
|
-
var
|
|
5204
|
+
var vo = {
|
|
5191
5205
|
url: "",
|
|
5192
5206
|
deserializer: function(t) {
|
|
5193
5207
|
return JSON.parse(t.data);
|
|
@@ -5195,14 +5209,14 @@ var bo = {
|
|
|
5195
5209
|
serializer: function(t) {
|
|
5196
5210
|
return JSON.stringify(t);
|
|
5197
5211
|
}
|
|
5198
|
-
},
|
|
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) {
|
|
5199
5213
|
te(e, t);
|
|
5200
5214
|
function e(n, r) {
|
|
5201
5215
|
var i = t.call(this) || this;
|
|
5202
5216
|
if (i._socket = null, n instanceof D)
|
|
5203
5217
|
i.destination = r, i.source = n;
|
|
5204
5218
|
else {
|
|
5205
|
-
var s = i._config = Ze({},
|
|
5219
|
+
var s = i._config = Ze({}, vo);
|
|
5206
5220
|
if (i._output = new $e(), typeof n == "string")
|
|
5207
5221
|
s.url = n;
|
|
5208
5222
|
else
|
|
@@ -5283,7 +5297,7 @@ var bo = {
|
|
|
5283
5297
|
}
|
|
5284
5298
|
}, function(h) {
|
|
5285
5299
|
var $ = n._config.closingObserver;
|
|
5286
|
-
$ && $.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();
|
|
5287
5301
|
}, function() {
|
|
5288
5302
|
var h = n._config.closingObserver;
|
|
5289
5303
|
h && h.next(void 0), l.close(), n._resetState();
|
|
@@ -5313,11 +5327,11 @@ var bo = {
|
|
|
5313
5327
|
n && (n.readyState === 1 || n.readyState === 0) && n.close(), this._resetState(), t.prototype.unsubscribe.call(this);
|
|
5314
5328
|
}, e;
|
|
5315
5329
|
}(vn);
|
|
5316
|
-
function
|
|
5317
|
-
return new
|
|
5330
|
+
function $o(t) {
|
|
5331
|
+
return new ko(t);
|
|
5318
5332
|
}
|
|
5319
|
-
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 || {}),
|
|
5320
|
-
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 {
|
|
5321
5335
|
constructor(e, n) {
|
|
5322
5336
|
this._system = e;
|
|
5323
5337
|
const r = Object.getOwnPropertyNames(
|
|
@@ -5364,7 +5378,7 @@ class $o {
|
|
|
5364
5378
|
});
|
|
5365
5379
|
}
|
|
5366
5380
|
}
|
|
5367
|
-
class
|
|
5381
|
+
class Ao {
|
|
5368
5382
|
constructor(e) {
|
|
5369
5383
|
for (const n in e)
|
|
5370
5384
|
e.hasOwnProperty(n) && e[n] && e[n] instanceof Array && e[n].forEach((r) => {
|
|
@@ -5377,45 +5391,45 @@ class xo {
|
|
|
5377
5391
|
* @param properties Properties of the new module
|
|
5378
5392
|
*/
|
|
5379
5393
|
addModule(e, n) {
|
|
5380
|
-
this[e] || (this[e] = []), this[e].push(new
|
|
5394
|
+
this[e] || (this[e] = []), this[e].push(new xo(this, n));
|
|
5381
5395
|
}
|
|
5382
5396
|
}
|
|
5383
5397
|
const Ct = {};
|
|
5384
|
-
function
|
|
5385
|
-
return Ct[t] = new
|
|
5398
|
+
function kh(t, e) {
|
|
5399
|
+
return Ct[t] = new Ao(e), Ct[t];
|
|
5386
5400
|
}
|
|
5387
|
-
function
|
|
5401
|
+
function wo(t) {
|
|
5388
5402
|
return Ct[t];
|
|
5389
5403
|
}
|
|
5390
|
-
function
|
|
5404
|
+
function $h(t) {
|
|
5391
5405
|
delete Ct[t];
|
|
5392
5406
|
}
|
|
5393
|
-
const
|
|
5394
|
-
let bt = 0, Z,
|
|
5395
|
-
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);
|
|
5396
5410
|
Ue._place_os_status = ve.asObservable();
|
|
5397
|
-
const
|
|
5398
|
-
Ue._place_os_sync =
|
|
5399
|
-
let
|
|
5400
|
-
const vt = 10 * 1e3,
|
|
5401
|
-
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();
|
|
5402
5416
|
function _n() {
|
|
5403
|
-
return x().indexOf("/control/") >= 0 ? "/control/websocket" : `${
|
|
5417
|
+
return x().indexOf("/control/") >= 0 ? "/control/websocket" : `${Pr()}/systems/control`;
|
|
5404
5418
|
}
|
|
5405
|
-
function
|
|
5419
|
+
function ii() {
|
|
5406
5420
|
return ve.getValue();
|
|
5407
5421
|
}
|
|
5408
|
-
function
|
|
5422
|
+
function Eo() {
|
|
5409
5423
|
return Ue._place_os_status;
|
|
5410
5424
|
}
|
|
5411
|
-
function
|
|
5425
|
+
function xh() {
|
|
5412
5426
|
return Ue._place_os_sync;
|
|
5413
5427
|
}
|
|
5414
|
-
function
|
|
5428
|
+
function Io(t, e = Dn, n = Ue) {
|
|
5415
5429
|
const r = `${t.sys}|${t.mod}_${t.index}|${t.name}`;
|
|
5416
5430
|
return e[r] || (e[r] = new _e(void 0), n[r] = e[r].asObservable()), n[r];
|
|
5417
5431
|
}
|
|
5418
|
-
function
|
|
5432
|
+
function Po(t, e = Dn) {
|
|
5419
5433
|
const n = `${t.sys}|${t.mod}_${t.index}|${t.name}`;
|
|
5420
5434
|
if (e[n])
|
|
5421
5435
|
return e[n].getValue();
|
|
@@ -5428,7 +5442,7 @@ function tr(t, e = 0, n = Qe) {
|
|
|
5428
5442
|
};
|
|
5429
5443
|
return n(r, e);
|
|
5430
5444
|
}
|
|
5431
|
-
function
|
|
5445
|
+
function To(t, e = 0, n = Qe) {
|
|
5432
5446
|
const r = {
|
|
5433
5447
|
id: ++bt,
|
|
5434
5448
|
cmd: "unbind",
|
|
@@ -5436,7 +5450,7 @@ function Po(t, e = 0, n = Qe) {
|
|
|
5436
5450
|
};
|
|
5437
5451
|
return n(r, e);
|
|
5438
5452
|
}
|
|
5439
|
-
function
|
|
5453
|
+
function qo(t, e = vt, n = Qe) {
|
|
5440
5454
|
const r = {
|
|
5441
5455
|
id: ++bt,
|
|
5442
5456
|
cmd: "exec",
|
|
@@ -5444,7 +5458,7 @@ function To(t, e = vt, n = Qe) {
|
|
|
5444
5458
|
};
|
|
5445
5459
|
return n(r, e);
|
|
5446
5460
|
}
|
|
5447
|
-
function
|
|
5461
|
+
function Ah(t, e = vt, n = Qe) {
|
|
5448
5462
|
const r = {
|
|
5449
5463
|
id: ++bt,
|
|
5450
5464
|
cmd: "debug",
|
|
@@ -5452,7 +5466,7 @@ function xh(t, e = vt, n = Qe) {
|
|
|
5452
5466
|
};
|
|
5453
5467
|
return n(r, e);
|
|
5454
5468
|
}
|
|
5455
|
-
function
|
|
5469
|
+
function wh(t, e = vt, n = Qe) {
|
|
5456
5470
|
const r = {
|
|
5457
5471
|
id: ++bt,
|
|
5458
5472
|
cmd: "ignore",
|
|
@@ -5461,7 +5475,7 @@ function Ah(t, e = vt, n = Qe) {
|
|
|
5461
5475
|
return n(r, e);
|
|
5462
5476
|
}
|
|
5463
5477
|
function Qe(t, e = vt, n = 0) {
|
|
5464
|
-
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()}`;
|
|
5465
5479
|
if (B[r])
|
|
5466
5480
|
d("WS", "Request already in progress. Waiting...", t);
|
|
5467
5481
|
else {
|
|
@@ -5473,8 +5487,8 @@ function Qe(t, e = vt, n = 0) {
|
|
|
5473
5487
|
(c) => o(c)
|
|
5474
5488
|
);
|
|
5475
5489
|
};
|
|
5476
|
-
if (Z &&
|
|
5477
|
-
Pn() &&
|
|
5490
|
+
if (Z && ii()) {
|
|
5491
|
+
Pn() && Fo(t, Z, Oo), i.resolve = s, i.reject = o;
|
|
5478
5492
|
const c = `${t.sys}, ${t.mod}_${t.index}, ${t.name}`;
|
|
5479
5493
|
d(
|
|
5480
5494
|
"WS",
|
|
@@ -5492,12 +5506,12 @@ function Qe(t, e = vt, n = 0) {
|
|
|
5492
5506
|
}
|
|
5493
5507
|
return B[r].promise;
|
|
5494
5508
|
}
|
|
5495
|
-
function
|
|
5509
|
+
function si(t) {
|
|
5496
5510
|
if (t !== "pong" && t instanceof Object) {
|
|
5497
5511
|
if (t.type === "notify" && t.meta)
|
|
5498
|
-
|
|
5512
|
+
Mo(t.meta, t.value);
|
|
5499
5513
|
else if (t.type === "success")
|
|
5500
|
-
|
|
5514
|
+
Uo(t);
|
|
5501
5515
|
else if (t.type === "debug") {
|
|
5502
5516
|
d(
|
|
5503
5517
|
"WS",
|
|
@@ -5505,23 +5519,23 @@ function ii(t) {
|
|
|
5505
5519
|
t.msg
|
|
5506
5520
|
);
|
|
5507
5521
|
const e = t.meta || { mod: "", index: "" };
|
|
5508
|
-
|
|
5522
|
+
ri.next({
|
|
5509
5523
|
mod_id: t.mod || "<empty>",
|
|
5510
5524
|
module: `${e.mod}_${e.index}`,
|
|
5511
5525
|
class_name: t.klass || "<empty>",
|
|
5512
5526
|
message: t.msg || "<empty>",
|
|
5513
|
-
level: t.level ||
|
|
5527
|
+
level: t.level || Zr.Debug,
|
|
5514
5528
|
time: Math.floor((/* @__PURE__ */ new Date()).getTime() / 1e3)
|
|
5515
5529
|
});
|
|
5516
|
-
} else t.type === "error" ?
|
|
5530
|
+
} else t.type === "error" ? Ro(t) : t.cmd || d("WS", "Invalid websocket message", t, "error");
|
|
5517
5531
|
we(`${t.id}`);
|
|
5518
5532
|
} else t === "pong" && (Nn = Date.now(), d("WS", "Pong!"));
|
|
5519
5533
|
}
|
|
5520
|
-
function
|
|
5534
|
+
function Uo(t) {
|
|
5521
5535
|
const e = Object.keys(B).map((n) => B[n]).find((n) => n?.id === t.id);
|
|
5522
5536
|
d("WS", `[SUCCESS](${t.id})`), e && e.resolve && (e.resolve(t.value), delete B[e.key]);
|
|
5523
5537
|
}
|
|
5524
|
-
function
|
|
5538
|
+
function Ro(t) {
|
|
5525
5539
|
let e = "UNEXPECTED FAILURE";
|
|
5526
5540
|
switch (t.code) {
|
|
5527
5541
|
case re.ACCESS_DENIED:
|
|
@@ -5555,7 +5569,7 @@ function Uo(t) {
|
|
|
5555
5569
|
const n = Object.keys(B).map((r) => B[r]).filter((r) => r).find((r) => r.id === t.id);
|
|
5556
5570
|
n && n.reject && (n.reject(t), we(`${n.key}`), delete B[n.key]);
|
|
5557
5571
|
}
|
|
5558
|
-
function
|
|
5572
|
+
function Mo(t, e, n = Dn, r = Ue) {
|
|
5559
5573
|
const i = `${t.sys}|${t.mod}_${t.index}|${t.name}`;
|
|
5560
5574
|
n[i] || (n[i] = new _e(null), r[i] = n[i].asObservable());
|
|
5561
5575
|
const s = `${t.sys}, ${t.mod}_${t.index}, ${t.name}`;
|
|
@@ -5569,20 +5583,20 @@ function Fn(t = 0) {
|
|
|
5569
5583
|
return fe == null && (fe = new Promise((e) => {
|
|
5570
5584
|
if (t > 40)
|
|
5571
5585
|
return location.reload();
|
|
5572
|
-
Dt++,
|
|
5586
|
+
Dt++, ni = Date.now(), Z = Pn() ? No() : Co(), Z ? (d("WS(Debug)", "Authority:", [Ut()]), d("WS", "Connecting to websocket..."), Z.subscribe(
|
|
5573
5587
|
(n) => {
|
|
5574
|
-
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);
|
|
5575
5589
|
},
|
|
5576
5590
|
(n) => {
|
|
5577
|
-
Z = void 0, fe = null, rr(), mn(),
|
|
5591
|
+
Z = void 0, fe = null, rr(), mn(), Do(n);
|
|
5578
5592
|
},
|
|
5579
5593
|
() => {
|
|
5580
5594
|
Z = void 0, fe = null, rr(), d("WS", "Connection closed by browser."), ve.next(!1), Nt();
|
|
5581
5595
|
}
|
|
5582
5596
|
), Me && clearInterval(Me), Nn = Date.now(), nr(), Me = setInterval(
|
|
5583
5597
|
() => nr(),
|
|
5584
|
-
|
|
5585
|
-
), mn(),
|
|
5598
|
+
Xr * 1e3
|
|
5599
|
+
), mn(), ei += 1, wt = setTimeout(() => {
|
|
5586
5600
|
d("WS", "Unhealthy connection. Reconnecting..."), ve.next(!1), fe = null, Nt();
|
|
5587
5601
|
}, 30 * 1e3)) : (Z ? d(
|
|
5588
5602
|
"WS",
|
|
@@ -5602,16 +5616,16 @@ function Fn(t = 0) {
|
|
|
5602
5616
|
));
|
|
5603
5617
|
})), fe;
|
|
5604
5618
|
}
|
|
5605
|
-
function
|
|
5619
|
+
function Co() {
|
|
5606
5620
|
if (!Ut() || !X()) return null;
|
|
5607
|
-
const t =
|
|
5608
|
-
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" : ""}`;
|
|
5609
5623
|
const n = X();
|
|
5610
5624
|
let r = n === "x-api-key" ? `api-key=${zt()}` : `bearer_token=${n}`;
|
|
5611
|
-
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(
|
|
5612
5626
|
"WS",
|
|
5613
5627
|
`Creating websocket connection to ws${t ? "s" : ""}://${kn()}${_n()}`
|
|
5614
|
-
),
|
|
5628
|
+
), $o({
|
|
5615
5629
|
url: e,
|
|
5616
5630
|
serializer: (i) => typeof i == "object" ? JSON.stringify(i) : i,
|
|
5617
5631
|
deserializer: (i) => {
|
|
@@ -5626,7 +5640,7 @@ function Mo() {
|
|
|
5626
5640
|
});
|
|
5627
5641
|
}
|
|
5628
5642
|
function Nt() {
|
|
5629
|
-
|
|
5643
|
+
ti.next([ei, Date.now() - ni]), Z && ii() && (Z.complete(), Me && (clearInterval(Me), Me = void 0)), d(
|
|
5630
5644
|
"WS",
|
|
5631
5645
|
`Reconnecting in ${Math.min(
|
|
5632
5646
|
5e3,
|
|
@@ -5639,24 +5653,24 @@ function Nt() {
|
|
|
5639
5653
|
);
|
|
5640
5654
|
}
|
|
5641
5655
|
function nr() {
|
|
5642
|
-
if (Date.now() - Nn > 4 *
|
|
5656
|
+
if (Date.now() - Nn > 4 * Xr * 1e3)
|
|
5643
5657
|
return Nt();
|
|
5644
5658
|
Z?.next("ping");
|
|
5645
5659
|
}
|
|
5646
|
-
function
|
|
5647
|
-
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();
|
|
5648
5662
|
}
|
|
5649
5663
|
function mn() {
|
|
5650
5664
|
wt && (clearTimeout(wt), wt = void 0);
|
|
5651
5665
|
}
|
|
5652
|
-
function
|
|
5666
|
+
function No() {
|
|
5653
5667
|
const t = new $e();
|
|
5654
5668
|
return t.subscribe(
|
|
5655
|
-
(e) =>
|
|
5669
|
+
(e) => si(e)
|
|
5656
5670
|
), t;
|
|
5657
5671
|
}
|
|
5658
|
-
function
|
|
5659
|
-
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;
|
|
5660
5674
|
if (s) {
|
|
5661
5675
|
switch (t.cmd) {
|
|
5662
5676
|
case "bind":
|
|
@@ -5707,7 +5721,7 @@ function rr() {
|
|
|
5707
5721
|
}
|
|
5708
5722
|
class ir {
|
|
5709
5723
|
constructor(e, n) {
|
|
5710
|
-
this._module = e, this.name = n,
|
|
5724
|
+
this._module = e, this.name = n, Eo().pipe(Gi()).subscribe((r) => {
|
|
5711
5725
|
r && (this._stale_bindings || this._pending === 1) ? (d("VAR", "Re-binding to status variable", this.binding()), this.rebind()) : r || (we(
|
|
5712
5726
|
`rebind:${JSON.stringify(this.binding())}`
|
|
5713
5727
|
), d(
|
|
@@ -5731,13 +5745,13 @@ class ir {
|
|
|
5731
5745
|
}
|
|
5732
5746
|
/** Current value of the binding */
|
|
5733
5747
|
get value() {
|
|
5734
|
-
return
|
|
5748
|
+
return Po(this.binding());
|
|
5735
5749
|
}
|
|
5736
5750
|
/**
|
|
5737
5751
|
* Get an observable that emits the current value of the binding
|
|
5738
5752
|
*/
|
|
5739
5753
|
listen() {
|
|
5740
|
-
return
|
|
5754
|
+
return Io(this.binding());
|
|
5741
5755
|
}
|
|
5742
5756
|
/**
|
|
5743
5757
|
* Subscribe to changes of the variable's binding value.
|
|
@@ -5767,7 +5781,7 @@ class ir {
|
|
|
5767
5781
|
* Unbind from status variable
|
|
5768
5782
|
*/
|
|
5769
5783
|
unbind() {
|
|
5770
|
-
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(() => {
|
|
5771
5785
|
this._pending === 2 && (this._pending = 0), this._binding_count--;
|
|
5772
5786
|
})) : this._binding_count = Math.max(this._binding_count - 1, 0);
|
|
5773
5787
|
}
|
|
@@ -5795,7 +5809,7 @@ class ir {
|
|
|
5795
5809
|
};
|
|
5796
5810
|
}
|
|
5797
5811
|
}
|
|
5798
|
-
class
|
|
5812
|
+
class jo {
|
|
5799
5813
|
constructor(e, n) {
|
|
5800
5814
|
this._system = e, this._id = n;
|
|
5801
5815
|
}
|
|
@@ -5839,7 +5853,7 @@ class Fo {
|
|
|
5839
5853
|
* @param args Array of arguments to pass to the method
|
|
5840
5854
|
*/
|
|
5841
5855
|
execute(e, n, r = vt) {
|
|
5842
|
-
return
|
|
5856
|
+
return qo(
|
|
5843
5857
|
{
|
|
5844
5858
|
sys: this._system.id,
|
|
5845
5859
|
mod: this.name,
|
|
@@ -5851,7 +5865,7 @@ class Fo {
|
|
|
5851
5865
|
);
|
|
5852
5866
|
}
|
|
5853
5867
|
}
|
|
5854
|
-
class
|
|
5868
|
+
class zo {
|
|
5855
5869
|
/** Unique idetifier of the system */
|
|
5856
5870
|
id;
|
|
5857
5871
|
/** Mapping of engine modules within the system */
|
|
@@ -5872,7 +5886,7 @@ class jo {
|
|
|
5872
5886
|
const i = r.join("_");
|
|
5873
5887
|
for (this._module_list[i] || (this._module_list[i] = []); this._module_list[i].length < n; )
|
|
5874
5888
|
this._module_list[i].push(
|
|
5875
|
-
new
|
|
5889
|
+
new jo(
|
|
5876
5890
|
this,
|
|
5877
5891
|
`${i}_${this._module_list[i].length + 1}`
|
|
5878
5892
|
)
|
|
@@ -5881,370 +5895,370 @@ class jo {
|
|
|
5881
5895
|
}
|
|
5882
5896
|
}
|
|
5883
5897
|
const yn = {};
|
|
5884
|
-
function
|
|
5885
|
-
return yn[t] || (yn[t] = new
|
|
5898
|
+
function Ho(t) {
|
|
5899
|
+
return yn[t] || (yn[t] = new zo(t)), yn[t];
|
|
5886
5900
|
}
|
|
5887
|
-
function
|
|
5888
|
-
return
|
|
5901
|
+
function Oh(t, e, n = 1) {
|
|
5902
|
+
return Ho(t).module(e, n);
|
|
5889
5903
|
}
|
|
5890
5904
|
export {
|
|
5891
|
-
|
|
5905
|
+
Gs as AuthType,
|
|
5892
5906
|
He as EncryptionLevel,
|
|
5893
|
-
|
|
5894
|
-
|
|
5895
|
-
|
|
5896
|
-
|
|
5897
|
-
|
|
5898
|
-
|
|
5899
|
-
|
|
5900
|
-
|
|
5901
|
-
|
|
5902
|
-
|
|
5903
|
-
|
|
5904
|
-
|
|
5905
|
-
|
|
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,
|
|
5906
5920
|
Mt as PlaceDriverRole,
|
|
5907
|
-
|
|
5921
|
+
eo as PlaceEdge,
|
|
5908
5922
|
re as PlaceErrorCodes,
|
|
5909
|
-
|
|
5910
|
-
|
|
5911
|
-
|
|
5912
|
-
|
|
5913
|
-
|
|
5914
|
-
|
|
5915
|
-
|
|
5916
|
-
|
|
5917
|
-
|
|
5918
|
-
|
|
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,
|
|
5919
5933
|
L as PlaceResource,
|
|
5920
|
-
|
|
5934
|
+
oo as PlaceSAMLSource,
|
|
5921
5935
|
Ee as PlaceSettings,
|
|
5922
|
-
|
|
5923
|
-
|
|
5924
|
-
|
|
5925
|
-
|
|
5936
|
+
go as PlaceShortUrl,
|
|
5937
|
+
bo as PlaceStorage,
|
|
5938
|
+
Br as PlaceSystem,
|
|
5939
|
+
zo as PlaceSystemBinding,
|
|
5926
5940
|
me as PlaceTrigger,
|
|
5927
|
-
|
|
5941
|
+
lo as PlaceUser,
|
|
5928
5942
|
ir as PlaceVariableBinding,
|
|
5929
5943
|
Mn as PlaceZone,
|
|
5930
|
-
|
|
5931
|
-
|
|
5932
|
-
|
|
5944
|
+
no as PlaceZoneMetadata,
|
|
5945
|
+
ho as SignageMedia,
|
|
5946
|
+
fo as SignagePlaylist,
|
|
5933
5947
|
Cn as SignagePlaylistMedia,
|
|
5934
5948
|
un as Survey,
|
|
5935
|
-
|
|
5949
|
+
Jr as SurveyAnswer,
|
|
5936
5950
|
sn as SurveyInvitation,
|
|
5937
5951
|
on as SurveyQuestion,
|
|
5938
|
-
|
|
5939
|
-
|
|
5940
|
-
|
|
5941
|
-
|
|
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
|
-
|
|
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,
|
|
5974
5988
|
x as apiEndpoint,
|
|
5975
5989
|
zt as apiKey,
|
|
5976
|
-
|
|
5977
|
-
|
|
5990
|
+
hl as approveSignagePlaylist,
|
|
5991
|
+
Ur as authorise,
|
|
5978
5992
|
Ut as authority,
|
|
5979
5993
|
tr as bind,
|
|
5980
|
-
|
|
5981
|
-
|
|
5982
|
-
|
|
5983
|
-
|
|
5984
|
-
|
|
5985
|
-
|
|
5994
|
+
fs as cleanObject,
|
|
5995
|
+
Go as cleanupAuth,
|
|
5996
|
+
$s as clientId,
|
|
5997
|
+
wu as clusterRebalance,
|
|
5998
|
+
Ou as clusterVersions,
|
|
5999
|
+
xh as connectionState,
|
|
5986
6000
|
Jn as consoleHasColours,
|
|
5987
6001
|
Je as convertPairStringToMap,
|
|
5988
6002
|
P as create,
|
|
5989
|
-
|
|
5990
|
-
|
|
5991
|
-
|
|
5992
|
-
|
|
6003
|
+
Pa as currentUser,
|
|
6004
|
+
Ca as currentUserResourceToken,
|
|
6005
|
+
Ah as debug,
|
|
6006
|
+
ri as debug_events,
|
|
5993
6007
|
Oe as del,
|
|
5994
|
-
|
|
5995
|
-
|
|
5996
|
-
|
|
5997
|
-
|
|
5998
|
-
|
|
5999
|
-
|
|
6000
|
-
|
|
6001
|
-
|
|
6002
|
-
|
|
6003
|
-
|
|
6004
|
-
|
|
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,
|
|
6005
6019
|
N as get,
|
|
6006
6020
|
Er as getFragments,
|
|
6007
|
-
|
|
6008
|
-
|
|
6009
|
-
|
|
6010
|
-
|
|
6021
|
+
Oh as getModule,
|
|
6022
|
+
sh as getShortUrlQrCodeSvg,
|
|
6023
|
+
Ho as getSystem,
|
|
6024
|
+
As as hasToken,
|
|
6011
6025
|
kn as host,
|
|
6012
|
-
|
|
6026
|
+
Pr as httpRoute,
|
|
6013
6027
|
Tt as humanReadableByteCount,
|
|
6014
|
-
|
|
6028
|
+
wh as ignore,
|
|
6015
6029
|
qn as invalidateToken,
|
|
6016
|
-
|
|
6017
|
-
|
|
6018
|
-
|
|
6030
|
+
zu as isDriverCompiled,
|
|
6031
|
+
Tr as isFixedDevice,
|
|
6032
|
+
ds as isMobileSafari,
|
|
6019
6033
|
Pn as isMock,
|
|
6020
|
-
|
|
6021
|
-
|
|
6022
|
-
|
|
6034
|
+
ps as isNestedFrame,
|
|
6035
|
+
Bo as isOnline,
|
|
6036
|
+
Os as isSecure,
|
|
6023
6037
|
Tn as isTrusted,
|
|
6024
|
-
|
|
6025
|
-
|
|
6026
|
-
|
|
6027
|
-
|
|
6028
|
-
|
|
6029
|
-
|
|
6030
|
-
|
|
6031
|
-
|
|
6032
|
-
|
|
6033
|
-
|
|
6034
|
-
|
|
6035
|
-
|
|
6036
|
-
|
|
6037
|
-
|
|
6038
|
-
|
|
6039
|
-
|
|
6040
|
-
|
|
6041
|
-
|
|
6042
|
-
|
|
6043
|
-
|
|
6044
|
-
|
|
6045
|
-
|
|
6046
|
-
|
|
6047
|
-
|
|
6048
|
-
|
|
6049
|
-
|
|
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,
|
|
6050
6064
|
d as log,
|
|
6051
|
-
|
|
6052
|
-
|
|
6053
|
-
|
|
6054
|
-
|
|
6055
|
-
|
|
6056
|
-
|
|
6057
|
-
|
|
6058
|
-
|
|
6059
|
-
|
|
6060
|
-
|
|
6061
|
-
|
|
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,
|
|
6062
6076
|
et as patch,
|
|
6063
6077
|
G as post,
|
|
6064
|
-
|
|
6078
|
+
jc as pullRepositoryChanges,
|
|
6065
6079
|
Ne as put,
|
|
6066
|
-
|
|
6080
|
+
uh as qrCodeUrl,
|
|
6067
6081
|
O as query,
|
|
6068
|
-
|
|
6069
|
-
|
|
6070
|
-
|
|
6071
|
-
|
|
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
|
-
|
|
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,
|
|
6105
6119
|
Sn as refreshToken,
|
|
6106
|
-
|
|
6107
|
-
|
|
6108
|
-
|
|
6120
|
+
Zo as registerMockEndpoint,
|
|
6121
|
+
kh as registerSystem,
|
|
6122
|
+
ju as reloadDriver,
|
|
6109
6123
|
E as remove,
|
|
6110
|
-
|
|
6111
|
-
|
|
6112
|
-
|
|
6113
|
-
|
|
6114
|
-
|
|
6115
|
-
|
|
6116
|
-
|
|
6117
|
-
|
|
6118
|
-
|
|
6119
|
-
|
|
6120
|
-
|
|
6121
|
-
|
|
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,
|
|
6122
6136
|
be as removeFragment,
|
|
6123
|
-
|
|
6124
|
-
|
|
6125
|
-
|
|
6126
|
-
|
|
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
|
-
|
|
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,
|
|
6157
6171
|
k as show,
|
|
6158
|
-
|
|
6159
|
-
|
|
6160
|
-
|
|
6161
|
-
|
|
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
|
-
|
|
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,
|
|
6203
6217
|
X as token,
|
|
6204
|
-
|
|
6218
|
+
To as unbind,
|
|
6205
6219
|
T as update,
|
|
6206
|
-
|
|
6207
|
-
|
|
6208
|
-
|
|
6209
|
-
|
|
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
|
-
|
|
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,
|
|
6247
6261
|
_n as websocketRoute,
|
|
6248
|
-
|
|
6262
|
+
Ga as zoneMetadata
|
|
6249
6263
|
};
|
|
6250
6264
|
//# sourceMappingURL=index.es.js.map
|