@nil-/xit 0.4.18 → 0.4.20
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/assets/bundler.js +271 -267
- package/assets/index.js +680 -1010
- package/assets/svelte/events.js +1 -1
- package/assets/svelte/index.js +60 -2266
- package/assets/svelte/internal/client.js +2567 -1639
- package/assets/svelte/internal/disclose-version.js +1 -2
- package/assets/svelte/motion.js +158 -204
- package/assets/svelte/reactivity.js +262 -239
- package/assets/svelte/store.js +3085 -113
- package/components/loaders/Helpers.d.ts +8 -22
- package/components/loaders/Reactive.svelte +1 -13
- package/components/loaders/Reactive.svelte.d.ts +29 -0
- package/components/loaders/ReadOnly.svelte +4 -37
- package/components/loaders/ReadOnly.svelte.d.ts +29 -0
- package/index.d.ts +23 -16
- package/index.js +31 -1
- package/package.json +1 -1
- package/test/Frame.svelte +4 -5
- package/test/Save.svelte +1 -1
package/assets/index.js
CHANGED
|
@@ -1,111 +1,111 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
throw TypeError(
|
|
1
|
+
var Wt = Object.defineProperty;
|
|
2
|
+
var Ft = (i) => {
|
|
3
|
+
throw TypeError(i);
|
|
4
4
|
};
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
import {
|
|
9
|
-
const
|
|
10
|
-
var
|
|
11
|
-
class
|
|
5
|
+
var Ht = (i, t, e) => t in i ? Wt(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
|
|
6
|
+
var a = (i, t, e) => Ht(i, typeof t != "symbol" ? t + "" : t, e), ct = (i, t, e) => t.has(i) || Ft("Cannot " + e);
|
|
7
|
+
var l = (i, t, e) => (ct(i, t, "read from private field"), e ? e.call(i) : t.get(i)), z = (i, t, e) => t.has(i) ? Ft("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(i) : t.set(i, e), p = (i, t, e, s) => (ct(i, t, "write to private field"), s ? s.call(i, e) : t.set(i, e), e), lt = (i, t, e) => (ct(i, t, "access private method"), e);
|
|
8
|
+
import { cF as dt, cG as qt } from "./svelte/store.js";
|
|
9
|
+
const ft = 1e4;
|
|
10
|
+
var it, ut, w, K, Q, M, j, g;
|
|
11
|
+
class nt {
|
|
12
12
|
constructor(t) {
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
z(this, it);
|
|
14
|
+
z(this, w);
|
|
15
15
|
// 0 idle, 1 has connected, 2 keep reconnecting, 3 stopped
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
16
|
+
z(this, K);
|
|
17
|
+
z(this, Q);
|
|
18
|
+
z(this, M);
|
|
19
|
+
z(this, j);
|
|
20
|
+
z(this, g);
|
|
21
|
+
p(this, j, t), p(this, w, 0), p(this, K, null), p(this, Q, null), p(this, M, null), p(this, g, null);
|
|
22
22
|
}
|
|
23
23
|
on_message(t) {
|
|
24
|
-
|
|
24
|
+
p(this, M, t);
|
|
25
25
|
}
|
|
26
26
|
on_connect(t) {
|
|
27
|
-
|
|
27
|
+
p(this, K, t);
|
|
28
28
|
}
|
|
29
29
|
on_disconnect(t) {
|
|
30
|
-
|
|
30
|
+
p(this, Q, t);
|
|
31
31
|
}
|
|
32
32
|
// non-blocking (run is blocking in c++)
|
|
33
33
|
// calling it again should not do anything
|
|
34
34
|
start() {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
},
|
|
38
|
-
|
|
39
|
-
},
|
|
40
|
-
|
|
41
|
-
},
|
|
42
|
-
|
|
35
|
+
l(this, g) == null && l(this, w) !== 1 && l(this, w) !== 3 && (p(this, g, new WebSocket(l(this, j))), l(this, g).binaryType = "arraybuffer", l(this, g).onopen = () => {
|
|
36
|
+
l(this, w) == 3 ? this.stop() : (p(this, w, 1), l(this, K) && l(this, K).call(this, l(this, j)));
|
|
37
|
+
}, l(this, g).onclose = () => {
|
|
38
|
+
l(this, w) === 1 && (l(this, Q) && l(this, Q).call(this, l(this, j)), p(this, w, 2), lt(this, it, ut).call(this));
|
|
39
|
+
}, l(this, g).onerror = () => {
|
|
40
|
+
l(this, w) !== 1 && l(this, w) !== 3 ? (p(this, w, 2), lt(this, it, ut).call(this)) : l(this, w) === 3 && this.stop();
|
|
41
|
+
}, l(this, g).onmessage = (t) => {
|
|
42
|
+
l(this, M) && l(this, M).call(this, l(this, j), new Uint8Array(t.data));
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
45
|
stop() {
|
|
46
|
-
|
|
46
|
+
p(this, w, 3), l(this, g) != null && l(this, g).readyState !== WebSocket.CONNECTING && (l(this, g).close(), p(this, g, null));
|
|
47
47
|
}
|
|
48
48
|
restart() {
|
|
49
|
-
|
|
49
|
+
p(this, w, 0);
|
|
50
50
|
}
|
|
51
51
|
publish(t) {
|
|
52
|
-
|
|
52
|
+
l(this, g) != null && l(this, w) == 1 && l(this, g).send(t);
|
|
53
53
|
}
|
|
54
54
|
send(t, e) {
|
|
55
|
-
t ===
|
|
55
|
+
t === l(this, j) && this.publish(e);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
},
|
|
61
|
-
const
|
|
58
|
+
it = new WeakSet(), ut = function() {
|
|
59
|
+
l(this, g) != null && (l(this, g).close(), p(this, g, null)), setTimeout(() => this.start(), 1e3);
|
|
60
|
+
}, w = new WeakMap(), K = new WeakMap(), Q = new WeakMap(), M = new WeakMap(), j = new WeakMap(), g = new WeakMap();
|
|
61
|
+
const et = (i) => {
|
|
62
62
|
const t = new Uint8Array(4);
|
|
63
|
-
return new DataView(t.buffer).setUint32(0,
|
|
64
|
-
},
|
|
65
|
-
const t = new Uint8Array(
|
|
63
|
+
return new DataView(t.buffer).setUint32(0, i, !1), t;
|
|
64
|
+
}, st = (i) => {
|
|
65
|
+
const t = new Uint8Array(i.reduce((s, n) => s + n.length, 0));
|
|
66
66
|
let e = 0;
|
|
67
|
-
for (const
|
|
68
|
-
t.set(
|
|
67
|
+
for (const s of i)
|
|
68
|
+
t.set(s, e), e += s.length;
|
|
69
69
|
return t;
|
|
70
|
-
},
|
|
71
|
-
const
|
|
72
|
-
|
|
73
|
-
},
|
|
74
|
-
|
|
75
|
-
clearTimeout(
|
|
76
|
-
}),
|
|
77
|
-
}),
|
|
78
|
-
const o = new
|
|
70
|
+
}, Yt = async (i) => new Promise((t, e) => {
|
|
71
|
+
const s = new nt(i), n = setTimeout(() => {
|
|
72
|
+
s.stop(), e("connection failed... stopping");
|
|
73
|
+
}, ft);
|
|
74
|
+
s.on_connect(() => {
|
|
75
|
+
clearTimeout(n), s.stop(), t();
|
|
76
|
+
}), s.start();
|
|
77
|
+
}), Ut = async (i, t, e, s) => new Promise((n, r) => {
|
|
78
|
+
const o = new nt(i), h = setTimeout(() => {
|
|
79
79
|
o.stop(), r("timed out, cancelled");
|
|
80
|
-
},
|
|
81
|
-
o.on_connect(() => o.publish(c)), o.on_message((d,
|
|
82
|
-
const F = new DataView(
|
|
83
|
-
|
|
80
|
+
}, ft), c = st([et(t), e]);
|
|
81
|
+
o.on_connect(() => o.publish(c)), o.on_message((d, _) => {
|
|
82
|
+
const F = new DataView(_.buffer).getUint32(0, !1), m = _.slice(4), I = s(F, m);
|
|
83
|
+
I != null && (clearTimeout(h), o.stop(), n(I));
|
|
84
84
|
}), o.start();
|
|
85
|
-
}),
|
|
86
|
-
const
|
|
87
|
-
|
|
88
|
-
},
|
|
89
|
-
|
|
90
|
-
clearTimeout(
|
|
91
|
-
const r =
|
|
92
|
-
|
|
93
|
-
}),
|
|
85
|
+
}), bt = (i, t, e) => {
|
|
86
|
+
const s = new nt(i), n = setTimeout(() => {
|
|
87
|
+
s.stop();
|
|
88
|
+
}, ft);
|
|
89
|
+
s.on_connect(() => {
|
|
90
|
+
clearTimeout(n);
|
|
91
|
+
const r = st([et(t), e]);
|
|
92
|
+
s.publish(r), s.stop();
|
|
93
|
+
}), s.start();
|
|
94
94
|
};
|
|
95
|
-
function
|
|
95
|
+
function Zt(i) {
|
|
96
96
|
return new Worker(
|
|
97
97
|
"" + new URL("bundler.js", import.meta.url).href,
|
|
98
98
|
{
|
|
99
|
-
name:
|
|
99
|
+
name: i == null ? void 0 : i.name
|
|
100
100
|
}
|
|
101
101
|
);
|
|
102
102
|
}
|
|
103
|
-
const
|
|
104
|
-
var
|
|
105
|
-
(function(
|
|
106
|
-
|
|
107
|
-
})(
|
|
108
|
-
class
|
|
103
|
+
const ht = 2, y = 4, P = 4, f = 4, E = new Int32Array(2), vt = new Float32Array(E.buffer), St = new Float64Array(E.buffer), rt = new Uint16Array(new Uint8Array([1, 0]).buffer)[0] === 1;
|
|
104
|
+
var _t;
|
|
105
|
+
(function(i) {
|
|
106
|
+
i[i.UTF8_BYTES = 1] = "UTF8_BYTES", i[i.UTF16_STRING = 2] = "UTF16_STRING";
|
|
107
|
+
})(_t || (_t = {}));
|
|
108
|
+
class L {
|
|
109
109
|
/**
|
|
110
110
|
* Create a new ByteBuffer with a given array of bytes (`Uint8Array`)
|
|
111
111
|
*/
|
|
@@ -116,7 +116,7 @@ class P {
|
|
|
116
116
|
* Create and allocate a new ByteBuffer with a given size.
|
|
117
117
|
*/
|
|
118
118
|
static allocate(t) {
|
|
119
|
-
return new
|
|
119
|
+
return new L(new Uint8Array(t));
|
|
120
120
|
}
|
|
121
121
|
clear() {
|
|
122
122
|
this.position_ = 0;
|
|
@@ -170,10 +170,10 @@ class P {
|
|
|
170
170
|
return BigInt.asUintN(64, BigInt(this.readUint32(t)) + (BigInt(this.readUint32(t + 4)) << BigInt(32)));
|
|
171
171
|
}
|
|
172
172
|
readFloat32(t) {
|
|
173
|
-
return
|
|
173
|
+
return E[0] = this.readInt32(t), vt[0];
|
|
174
174
|
}
|
|
175
175
|
readFloat64(t) {
|
|
176
|
-
return
|
|
176
|
+
return E[rt ? 0 : 1] = this.readInt32(t), E[rt ? 1 : 0] = this.readInt32(t + 4), St[0];
|
|
177
177
|
}
|
|
178
178
|
writeInt8(t, e) {
|
|
179
179
|
this.bytes_[t] = e;
|
|
@@ -200,10 +200,10 @@ class P {
|
|
|
200
200
|
this.writeUint32(t, Number(BigInt.asUintN(32, e))), this.writeUint32(t + 4, Number(BigInt.asUintN(32, e >> BigInt(32))));
|
|
201
201
|
}
|
|
202
202
|
writeFloat32(t, e) {
|
|
203
|
-
|
|
203
|
+
vt[0] = e, this.writeInt32(t, E[0]);
|
|
204
204
|
}
|
|
205
205
|
writeFloat64(t, e) {
|
|
206
|
-
|
|
206
|
+
St[0] = e, this.writeInt32(t, E[rt ? 0 : 1]), this.writeInt32(t + 4, E[rt ? 1 : 0]);
|
|
207
207
|
}
|
|
208
208
|
/**
|
|
209
209
|
* Return the file identifier. Behavior is undefined for FlatBuffers whose
|
|
@@ -211,11 +211,11 @@ class P {
|
|
|
211
211
|
* start of a the root vtable).
|
|
212
212
|
*/
|
|
213
213
|
getBufferIdentifier() {
|
|
214
|
-
if (this.bytes_.length < this.position_ +
|
|
214
|
+
if (this.bytes_.length < this.position_ + y + P)
|
|
215
215
|
throw new Error("FlatBuffers: ByteBuffer is too short to contain an identifier.");
|
|
216
216
|
let t = "";
|
|
217
|
-
for (let e = 0; e <
|
|
218
|
-
t += String.fromCharCode(this.readInt8(this.position_ +
|
|
217
|
+
for (let e = 0; e < P; e++)
|
|
218
|
+
t += String.fromCharCode(this.readInt8(this.position_ + y + e));
|
|
219
219
|
return t;
|
|
220
220
|
}
|
|
221
221
|
/**
|
|
@@ -223,8 +223,8 @@ class P {
|
|
|
223
223
|
* field is not present.
|
|
224
224
|
*/
|
|
225
225
|
__offset(t, e) {
|
|
226
|
-
const
|
|
227
|
-
return e < this.readInt16(
|
|
226
|
+
const s = t - this.readInt32(t);
|
|
227
|
+
return e < this.readInt16(s) ? this.readInt16(s + e) : 0;
|
|
228
228
|
}
|
|
229
229
|
/**
|
|
230
230
|
* Initialize any Table-derived type to point to the union at the given offset.
|
|
@@ -245,10 +245,10 @@ class P {
|
|
|
245
245
|
*/
|
|
246
246
|
__string(t, e) {
|
|
247
247
|
t += this.readInt32(t);
|
|
248
|
-
const
|
|
249
|
-
t +=
|
|
250
|
-
const
|
|
251
|
-
return e ===
|
|
248
|
+
const s = this.readInt32(t);
|
|
249
|
+
t += y;
|
|
250
|
+
const n = this.bytes_.subarray(t, t + s);
|
|
251
|
+
return e === _t.UTF8_BYTES ? n : this.text_decoder_.decode(n);
|
|
252
252
|
}
|
|
253
253
|
/**
|
|
254
254
|
* Handle unions that can contain string as its member, if a Table-derived type then initialize it,
|
|
@@ -270,7 +270,7 @@ class P {
|
|
|
270
270
|
* Get the start of data of a vector whose offset is stored at "offset" in this object.
|
|
271
271
|
*/
|
|
272
272
|
__vector(t) {
|
|
273
|
-
return t + this.readInt32(t) +
|
|
273
|
+
return t + this.readInt32(t) + y;
|
|
274
274
|
}
|
|
275
275
|
/**
|
|
276
276
|
* Get the length of a vector whose offset is stored at "offset" in this object.
|
|
@@ -279,10 +279,10 @@ class P {
|
|
|
279
279
|
return this.readInt32(t + this.readInt32(t));
|
|
280
280
|
}
|
|
281
281
|
__has_identifier(t) {
|
|
282
|
-
if (t.length !=
|
|
283
|
-
throw new Error("FlatBuffers: file identifier must be length " +
|
|
284
|
-
for (let e = 0; e <
|
|
285
|
-
if (t.charCodeAt(e) != this.readInt8(this.position() +
|
|
282
|
+
if (t.length != P)
|
|
283
|
+
throw new Error("FlatBuffers: file identifier must be length " + P);
|
|
284
|
+
for (let e = 0; e < P; e++)
|
|
285
|
+
if (t.charCodeAt(e) != this.readInt8(this.position() + y + e))
|
|
286
286
|
return !1;
|
|
287
287
|
return !0;
|
|
288
288
|
}
|
|
@@ -290,12 +290,12 @@ class P {
|
|
|
290
290
|
* A helper function for generating list for obj api
|
|
291
291
|
*/
|
|
292
292
|
createScalarList(t, e) {
|
|
293
|
-
const
|
|
294
|
-
for (let
|
|
295
|
-
const r = t(
|
|
296
|
-
r !== null &&
|
|
293
|
+
const s = [];
|
|
294
|
+
for (let n = 0; n < e; ++n) {
|
|
295
|
+
const r = t(n);
|
|
296
|
+
r !== null && s.push(r);
|
|
297
297
|
}
|
|
298
|
-
return
|
|
298
|
+
return s;
|
|
299
299
|
}
|
|
300
300
|
/**
|
|
301
301
|
* A helper function for generating list for obj api
|
|
@@ -304,22 +304,22 @@ class P {
|
|
|
304
304
|
* @param res result list
|
|
305
305
|
*/
|
|
306
306
|
createObjList(t, e) {
|
|
307
|
-
const
|
|
308
|
-
for (let
|
|
309
|
-
const r = t(
|
|
310
|
-
r !== null &&
|
|
307
|
+
const s = [];
|
|
308
|
+
for (let n = 0; n < e; ++n) {
|
|
309
|
+
const r = t(n);
|
|
310
|
+
r !== null && s.push(r.unpack());
|
|
311
311
|
}
|
|
312
|
-
return
|
|
312
|
+
return s;
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
|
-
class
|
|
315
|
+
class O {
|
|
316
316
|
/**
|
|
317
317
|
* Create a FlatBufferBuilder.
|
|
318
318
|
*/
|
|
319
319
|
constructor(t) {
|
|
320
320
|
this.minalign = 1, this.vtable = null, this.vtable_in_use = 0, this.isNested = !1, this.object_start = 0, this.vtables = [], this.vector_num_elems = 0, this.force_defaults = !1, this.string_maps = null, this.text_encoder = new TextEncoder();
|
|
321
321
|
let e;
|
|
322
|
-
t ? e = t : e = 1024, this.bb =
|
|
322
|
+
t ? e = t : e = 1024, this.bb = L.allocate(e), this.space = e;
|
|
323
323
|
}
|
|
324
324
|
clear() {
|
|
325
325
|
this.bb.clear(), this.space = this.bb.capacity(), this.minalign = 1, this.vtable = null, this.vtable_in_use = 0, this.isNested = !1, this.object_start = 0, this.vtables = [], this.vector_num_elems = 0, this.force_defaults = !1, this.string_maps = null;
|
|
@@ -360,12 +360,12 @@ class y {
|
|
|
360
360
|
*/
|
|
361
361
|
prep(t, e) {
|
|
362
362
|
t > this.minalign && (this.minalign = t);
|
|
363
|
-
const
|
|
364
|
-
for (; this.space <
|
|
365
|
-
const
|
|
366
|
-
this.bb =
|
|
363
|
+
const s = ~(this.bb.capacity() - this.space + e) + 1 & t - 1;
|
|
364
|
+
for (; this.space < s + t + e; ) {
|
|
365
|
+
const n = this.bb.capacity();
|
|
366
|
+
this.bb = O.growByteBuffer(this.bb), this.space += this.bb.capacity() - n;
|
|
367
367
|
}
|
|
368
|
-
this.pad(
|
|
368
|
+
this.pad(s);
|
|
369
369
|
}
|
|
370
370
|
pad(t) {
|
|
371
371
|
for (let e = 0; e < t; e++)
|
|
@@ -431,32 +431,32 @@ class y {
|
|
|
431
431
|
addFloat64(t) {
|
|
432
432
|
this.prep(8, 0), this.writeFloat64(t);
|
|
433
433
|
}
|
|
434
|
-
addFieldInt8(t, e,
|
|
435
|
-
(this.force_defaults || e !=
|
|
434
|
+
addFieldInt8(t, e, s) {
|
|
435
|
+
(this.force_defaults || e != s) && (this.addInt8(e), this.slot(t));
|
|
436
436
|
}
|
|
437
|
-
addFieldInt16(t, e,
|
|
438
|
-
(this.force_defaults || e !=
|
|
437
|
+
addFieldInt16(t, e, s) {
|
|
438
|
+
(this.force_defaults || e != s) && (this.addInt16(e), this.slot(t));
|
|
439
439
|
}
|
|
440
|
-
addFieldInt32(t, e,
|
|
441
|
-
(this.force_defaults || e !=
|
|
440
|
+
addFieldInt32(t, e, s) {
|
|
441
|
+
(this.force_defaults || e != s) && (this.addInt32(e), this.slot(t));
|
|
442
442
|
}
|
|
443
|
-
addFieldInt64(t, e,
|
|
444
|
-
(this.force_defaults || e !==
|
|
443
|
+
addFieldInt64(t, e, s) {
|
|
444
|
+
(this.force_defaults || e !== s) && (this.addInt64(e), this.slot(t));
|
|
445
445
|
}
|
|
446
|
-
addFieldFloat32(t, e,
|
|
447
|
-
(this.force_defaults || e !=
|
|
446
|
+
addFieldFloat32(t, e, s) {
|
|
447
|
+
(this.force_defaults || e != s) && (this.addFloat32(e), this.slot(t));
|
|
448
448
|
}
|
|
449
|
-
addFieldFloat64(t, e,
|
|
450
|
-
(this.force_defaults || e !=
|
|
449
|
+
addFieldFloat64(t, e, s) {
|
|
450
|
+
(this.force_defaults || e != s) && (this.addFloat64(e), this.slot(t));
|
|
451
451
|
}
|
|
452
|
-
addFieldOffset(t, e,
|
|
453
|
-
(this.force_defaults || e !=
|
|
452
|
+
addFieldOffset(t, e, s) {
|
|
453
|
+
(this.force_defaults || e != s) && (this.addOffset(e), this.slot(t));
|
|
454
454
|
}
|
|
455
455
|
/**
|
|
456
456
|
* Structs are stored inline, so nothing additional is being added. `d` is always 0.
|
|
457
457
|
*/
|
|
458
|
-
addFieldStruct(t, e,
|
|
459
|
-
e !=
|
|
458
|
+
addFieldStruct(t, e, s) {
|
|
459
|
+
e != s && (this.nested(e), this.slot(t));
|
|
460
460
|
}
|
|
461
461
|
/**
|
|
462
462
|
* Structures are always stored inline, they need to be created right
|
|
@@ -503,8 +503,8 @@ class y {
|
|
|
503
503
|
const e = t.capacity();
|
|
504
504
|
if (e & 3221225472)
|
|
505
505
|
throw new Error("FlatBuffers: cannot grow buffer beyond 2 gigabytes.");
|
|
506
|
-
const
|
|
507
|
-
return
|
|
506
|
+
const s = e << 1, n = L.allocate(s);
|
|
507
|
+
return n.setPosition(s - e), n.bytes().set(t.bytes(), s - e), n;
|
|
508
508
|
}
|
|
509
509
|
/**
|
|
510
510
|
* Adds on offset, relative to where it will be written.
|
|
@@ -512,7 +512,7 @@ class y {
|
|
|
512
512
|
* @param offset The offset to add.
|
|
513
513
|
*/
|
|
514
514
|
addOffset(t) {
|
|
515
|
-
this.prep(
|
|
515
|
+
this.prep(y, 0), this.writeInt32(this.offset() - t + y);
|
|
516
516
|
}
|
|
517
517
|
/**
|
|
518
518
|
* Start encoding a new object in the buffer. Users will not usually need to
|
|
@@ -538,19 +538,19 @@ class y {
|
|
|
538
538
|
let e = this.vtable_in_use - 1;
|
|
539
539
|
for (; e >= 0 && this.vtable[e] == 0; e--)
|
|
540
540
|
;
|
|
541
|
-
const
|
|
541
|
+
const s = e + 1;
|
|
542
542
|
for (; e >= 0; e--)
|
|
543
543
|
this.addInt16(this.vtable[e] != 0 ? t - this.vtable[e] : 0);
|
|
544
|
-
const
|
|
544
|
+
const n = 2;
|
|
545
545
|
this.addInt16(t - this.object_start);
|
|
546
|
-
const r = (
|
|
546
|
+
const r = (s + n) * ht;
|
|
547
547
|
this.addInt16(r);
|
|
548
548
|
let o = 0;
|
|
549
549
|
const h = this.space;
|
|
550
550
|
t: for (e = 0; e < this.vtables.length; e++) {
|
|
551
551
|
const c = this.bb.capacity() - this.vtables[e];
|
|
552
552
|
if (r == this.bb.readInt16(c)) {
|
|
553
|
-
for (let d =
|
|
553
|
+
for (let d = ht; d < r; d += ht)
|
|
554
554
|
if (this.bb.readInt16(h + d) != this.bb.readInt16(c + d))
|
|
555
555
|
continue t;
|
|
556
556
|
o = this.vtables[e];
|
|
@@ -562,16 +562,16 @@ class y {
|
|
|
562
562
|
/**
|
|
563
563
|
* Finalize a buffer, poiting to the given `root_table`.
|
|
564
564
|
*/
|
|
565
|
-
finish(t, e,
|
|
566
|
-
const
|
|
565
|
+
finish(t, e, s) {
|
|
566
|
+
const n = s ? f : 0;
|
|
567
567
|
if (e) {
|
|
568
568
|
const r = e;
|
|
569
|
-
if (this.prep(this.minalign,
|
|
570
|
-
throw new TypeError("FlatBuffers: file identifier must be length " +
|
|
571
|
-
for (let o =
|
|
569
|
+
if (this.prep(this.minalign, y + P + n), r.length != P)
|
|
570
|
+
throw new TypeError("FlatBuffers: file identifier must be length " + P);
|
|
571
|
+
for (let o = P - 1; o >= 0; o--)
|
|
572
572
|
this.writeInt8(r.charCodeAt(o));
|
|
573
573
|
}
|
|
574
|
-
this.prep(this.minalign,
|
|
574
|
+
this.prep(this.minalign, y + n), this.addOffset(t), n && this.addInt32(this.bb.capacity() - this.space), this.bb.setPosition(this.space);
|
|
575
575
|
}
|
|
576
576
|
/**
|
|
577
577
|
* Finalize a size prefixed buffer, pointing to the given `root_table`.
|
|
@@ -584,8 +584,8 @@ class y {
|
|
|
584
584
|
* just been constructed.
|
|
585
585
|
*/
|
|
586
586
|
requiredField(t, e) {
|
|
587
|
-
const
|
|
588
|
-
if (!(e < this.bb.readInt16(
|
|
587
|
+
const s = this.bb.capacity() - t, n = s - this.bb.readInt32(s);
|
|
588
|
+
if (!(e < this.bb.readInt16(n) && this.bb.readInt16(n + e) != 0))
|
|
589
589
|
throw new TypeError("FlatBuffers: field " + e + " must be set");
|
|
590
590
|
}
|
|
591
591
|
/**
|
|
@@ -597,8 +597,8 @@ class y {
|
|
|
597
597
|
* @param num_elems The number of elements in the array
|
|
598
598
|
* @param alignment The alignment of the array
|
|
599
599
|
*/
|
|
600
|
-
startVector(t, e,
|
|
601
|
-
this.notNested(), this.vector_num_elems = e, this.prep(
|
|
600
|
+
startVector(t, e, s) {
|
|
601
|
+
this.notNested(), this.vector_num_elems = e, this.prep(y, t * e), this.prep(s, t * e);
|
|
602
602
|
}
|
|
603
603
|
/**
|
|
604
604
|
* Finish off the creation of an array and all its elements. The array must be
|
|
@@ -662,10 +662,10 @@ class y {
|
|
|
662
662
|
*/
|
|
663
663
|
createObjectOffsetList(t) {
|
|
664
664
|
const e = [];
|
|
665
|
-
for (let
|
|
666
|
-
const
|
|
667
|
-
if (
|
|
668
|
-
e.push(this.createObjectOffset(
|
|
665
|
+
for (let s = 0; s < t.length; ++s) {
|
|
666
|
+
const n = t[s];
|
|
667
|
+
if (n !== null)
|
|
668
|
+
e.push(this.createObjectOffset(n));
|
|
669
669
|
else
|
|
670
670
|
throw new TypeError("FlatBuffers: Argument for createObjectOffsetList cannot contain null.");
|
|
671
671
|
}
|
|
@@ -675,19 +675,19 @@ class y {
|
|
|
675
675
|
return e(this, t.length), this.createObjectOffsetList(t.slice().reverse()), this.endVector();
|
|
676
676
|
}
|
|
677
677
|
}
|
|
678
|
-
class
|
|
678
|
+
class T {
|
|
679
679
|
constructor() {
|
|
680
|
-
|
|
681
|
-
|
|
680
|
+
a(this, "bb", null);
|
|
681
|
+
a(this, "bb_pos", 0);
|
|
682
682
|
}
|
|
683
683
|
__init(t, e) {
|
|
684
684
|
return this.bb_pos = t, this.bb = e, this;
|
|
685
685
|
}
|
|
686
686
|
static getRootAsFileInfo(t, e) {
|
|
687
|
-
return (e || new
|
|
687
|
+
return (e || new T()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
688
688
|
}
|
|
689
689
|
static getSizePrefixedRootAsFileInfo(t, e) {
|
|
690
|
-
return t.setPosition(t.position() + f), (e || new
|
|
690
|
+
return t.setPosition(t.position() + f), (e || new T()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
691
691
|
}
|
|
692
692
|
target(t) {
|
|
693
693
|
const e = this.bb.__offset(this.bb_pos, 4);
|
|
@@ -716,8 +716,8 @@ class N {
|
|
|
716
716
|
}
|
|
717
717
|
static createMetadataVector(t, e) {
|
|
718
718
|
t.startVector(1, e.length, 1);
|
|
719
|
-
for (let
|
|
720
|
-
t.addInt8(e[
|
|
719
|
+
for (let s = e.length - 1; s >= 0; s--)
|
|
720
|
+
t.addInt8(e[s]);
|
|
721
721
|
return t.endVector();
|
|
722
722
|
}
|
|
723
723
|
static startMetadataVector(t, e) {
|
|
@@ -727,40 +727,40 @@ class N {
|
|
|
727
727
|
const e = t.endObject();
|
|
728
728
|
return t.requiredField(e, 4), t.requiredField(e, 6), e;
|
|
729
729
|
}
|
|
730
|
-
static createFileInfo(t, e,
|
|
731
|
-
return
|
|
730
|
+
static createFileInfo(t, e, s) {
|
|
731
|
+
return T.startFileInfo(t), T.addTarget(t, e), T.addMetadata(t, s), T.endFileInfo(t);
|
|
732
732
|
}
|
|
733
733
|
unpack() {
|
|
734
|
-
return new
|
|
734
|
+
return new Vt(this.target(), this.bb.createScalarList(this.metadata.bind(this), this.metadataLength()));
|
|
735
735
|
}
|
|
736
736
|
unpackTo(t) {
|
|
737
737
|
t.target = this.target(), t.metadata = this.bb.createScalarList(this.metadata.bind(this), this.metadataLength());
|
|
738
738
|
}
|
|
739
739
|
}
|
|
740
|
-
class
|
|
740
|
+
class Vt {
|
|
741
741
|
constructor(t = null, e = []) {
|
|
742
|
-
|
|
743
|
-
|
|
742
|
+
a(this, "target");
|
|
743
|
+
a(this, "metadata");
|
|
744
744
|
this.target = t, this.metadata = e;
|
|
745
745
|
}
|
|
746
746
|
pack(t) {
|
|
747
|
-
const e = this.target !== null ? t.createString(this.target) : 0,
|
|
748
|
-
return
|
|
747
|
+
const e = this.target !== null ? t.createString(this.target) : 0, s = T.createMetadataVector(t, this.metadata);
|
|
748
|
+
return T.createFileInfo(t, e, s);
|
|
749
749
|
}
|
|
750
750
|
}
|
|
751
|
-
class
|
|
751
|
+
class S {
|
|
752
752
|
constructor() {
|
|
753
|
-
|
|
754
|
-
|
|
753
|
+
a(this, "bb", null);
|
|
754
|
+
a(this, "bb_pos", 0);
|
|
755
755
|
}
|
|
756
756
|
__init(t, e) {
|
|
757
757
|
return this.bb_pos = t, this.bb = e, this;
|
|
758
758
|
}
|
|
759
759
|
static getRootAsFrameCache(t, e) {
|
|
760
|
-
return (e || new
|
|
760
|
+
return (e || new S()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
761
761
|
}
|
|
762
762
|
static getSizePrefixedRootAsFrameCache(t, e) {
|
|
763
|
-
return t.setPosition(t.position() + f), (e || new
|
|
763
|
+
return t.setPosition(t.position() + f), (e || new S()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
764
764
|
}
|
|
765
765
|
id(t) {
|
|
766
766
|
const e = this.bb.__offset(this.bb_pos, 4);
|
|
@@ -779,8 +779,8 @@ class q {
|
|
|
779
779
|
return e ? this.bb.__string(this.bb_pos + e, t) : null;
|
|
780
780
|
}
|
|
781
781
|
files(t, e) {
|
|
782
|
-
const
|
|
783
|
-
return
|
|
782
|
+
const s = this.bb.__offset(this.bb_pos, 12);
|
|
783
|
+
return s ? (e || new T()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos + s) + t * 4), this.bb) : null;
|
|
784
784
|
}
|
|
785
785
|
filesLength() {
|
|
786
786
|
const t = this.bb.__offset(this.bb_pos, 12);
|
|
@@ -806,8 +806,8 @@ class q {
|
|
|
806
806
|
}
|
|
807
807
|
static createFilesVector(t, e) {
|
|
808
808
|
t.startVector(4, e.length, 4);
|
|
809
|
-
for (let
|
|
810
|
-
t.addOffset(e[
|
|
809
|
+
for (let s = e.length - 1; s >= 0; s--)
|
|
810
|
+
t.addOffset(e[s]);
|
|
811
811
|
return t.endVector();
|
|
812
812
|
}
|
|
813
813
|
static startFilesVector(t, e) {
|
|
@@ -817,107 +817,95 @@ class q {
|
|
|
817
817
|
const e = t.endObject();
|
|
818
818
|
return t.requiredField(e, 4), t.requiredField(e, 6), t.requiredField(e, 8), t.requiredField(e, 10), t.requiredField(e, 12), e;
|
|
819
819
|
}
|
|
820
|
-
static createFrameCache(t, e,
|
|
821
|
-
return
|
|
820
|
+
static createFrameCache(t, e, s, n, r, o) {
|
|
821
|
+
return S.startFrameCache(t), S.addId(t, e), S.addTarget(t, s), S.addFullTarget(t, n), S.addContent(t, r), S.addFiles(t, o), S.endFrameCache(t);
|
|
822
822
|
}
|
|
823
823
|
unpack() {
|
|
824
|
-
return new
|
|
824
|
+
return new Ot(this.id(), this.target(), this.fullTarget(), this.content(), this.bb.createObjList(this.files.bind(this), this.filesLength()));
|
|
825
825
|
}
|
|
826
826
|
unpackTo(t) {
|
|
827
827
|
t.id = this.id(), t.target = this.target(), t.fullTarget = this.fullTarget(), t.content = this.content(), t.files = this.bb.createObjList(this.files.bind(this), this.filesLength());
|
|
828
828
|
}
|
|
829
829
|
}
|
|
830
|
-
class
|
|
831
|
-
constructor(t = null, e = null,
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
this.id = t, this.target = e, this.fullTarget =
|
|
830
|
+
class Ot {
|
|
831
|
+
constructor(t = null, e = null, s = null, n = null, r = []) {
|
|
832
|
+
a(this, "id");
|
|
833
|
+
a(this, "target");
|
|
834
|
+
a(this, "fullTarget");
|
|
835
|
+
a(this, "content");
|
|
836
|
+
a(this, "files");
|
|
837
|
+
this.id = t, this.target = e, this.fullTarget = s, this.content = n, this.files = r;
|
|
838
838
|
}
|
|
839
839
|
pack(t) {
|
|
840
|
-
const e = this.id !== null ? t.createString(this.id) : 0,
|
|
841
|
-
return
|
|
840
|
+
const e = this.id !== null ? t.createString(this.id) : 0, s = this.target !== null ? t.createString(this.target) : 0, n = this.fullTarget !== null ? t.createString(this.fullTarget) : 0, r = this.content !== null ? t.createString(this.content) : 0, o = S.createFilesVector(t, t.createObjectOffsetList(this.files));
|
|
841
|
+
return S.createFrameCache(t, e, s, n, r, o);
|
|
842
842
|
}
|
|
843
843
|
}
|
|
844
|
-
var
|
|
845
|
-
(function(
|
|
846
|
-
|
|
847
|
-
})(
|
|
848
|
-
|
|
849
|
-
(function(s) {
|
|
850
|
-
s[s.None = 0] = "None", s[s.Boolean = 1] = "Boolean", s[s.Number = 2] = "Number", s[s.Double = 3] = "Double", s[s.String = 4] = "String", s[s.Buffer = 5] = "Buffer";
|
|
851
|
-
})(T || (T = {}));
|
|
852
|
-
class j {
|
|
844
|
+
var u;
|
|
845
|
+
(function(i) {
|
|
846
|
+
i[i.Client_Unique_FrameInfo_Request = 0] = "Client_Unique_FrameInfo_Request", i[i.Client_Tagged_FrameInfo_Request = 1] = "Client_Tagged_FrameInfo_Request", i[i.Server_Unique_FrameInfo_File_Response = 2] = "Server_Unique_FrameInfo_File_Response", i[i.Server_Tagged_FrameInfo_File_Response = 3] = "Server_Tagged_FrameInfo_File_Response", i[i.Server_Unique_FrameInfo_Content_Response = 4] = "Server_Unique_FrameInfo_Content_Response", i[i.Server_Tagged_FrameInfo_Content_Response = 5] = "Server_Tagged_FrameInfo_Content_Response", i[i.Client_File_Request = 6] = "Client_File_Request", i[i.Server_File_Response = 7] = "Server_File_Response", i[i.Client_File_Alias_Request = 8] = "Client_File_Alias_Request", i[i.Server_File_Alias_Response = 9] = "Server_File_Alias_Response", i[i.Client_Unique_FrameCache = 10] = "Client_Unique_FrameCache", i[i.Client_Tagged_FrameCache = 11] = "Client_Tagged_FrameCache", i[i.Client_Unique_Frame_Loaded = 12] = "Client_Unique_Frame_Loaded", i[i.Client_Tagged_Frame_Loaded = 13] = "Client_Tagged_Frame_Loaded", i[i.Client_Unique_Frame_Subscribe = 14] = "Client_Unique_Frame_Subscribe", i[i.Client_Tagged_Frame_Subscribe = 15] = "Client_Tagged_Frame_Subscribe", i[i.Client_Unique_Frame_Unsubscribe = 16] = "Client_Unique_Frame_Unsubscribe", i[i.Client_Tagged_Frame_Unsubscribe = 17] = "Client_Tagged_Frame_Unsubscribe", i[i.Client_Unique_Value_Request = 18] = "Client_Unique_Value_Request", i[i.Client_Tagged_Value_Request = 19] = "Client_Tagged_Value_Request", i[i.Server_Unique_Value_Response = 20] = "Server_Unique_Value_Response", i[i.Server_Tagged_Value_Response = 21] = "Server_Tagged_Value_Response", i[i.Unique_Value_Update = 22] = "Unique_Value_Update", i[i.Tagged_Value_Update = 23] = "Tagged_Value_Update", i[i.Client_Unique_Signal_Request = 24] = "Client_Unique_Signal_Request", i[i.Client_Tagged_Signal_Request = 25] = "Client_Tagged_Signal_Request", i[i.Server_Unique_Signal_Response = 26] = "Server_Unique_Signal_Response", i[i.Server_Tagged_Signal_Response = 27] = "Server_Tagged_Signal_Response", i[i.Client_Unique_Signal_Notify = 28] = "Client_Unique_Signal_Notify", i[i.Client_Tagged_Signal_Notify = 29] = "Client_Tagged_Signal_Notify";
|
|
847
|
+
})(u || (u = {}));
|
|
848
|
+
class x {
|
|
853
849
|
constructor() {
|
|
854
|
-
|
|
855
|
-
|
|
850
|
+
a(this, "bb", null);
|
|
851
|
+
a(this, "bb_pos", 0);
|
|
856
852
|
}
|
|
857
853
|
__init(t, e) {
|
|
858
854
|
return this.bb_pos = t, this.bb = e, this;
|
|
859
855
|
}
|
|
860
856
|
static getRootAsSignal(t, e) {
|
|
861
|
-
return (e || new
|
|
857
|
+
return (e || new x()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
862
858
|
}
|
|
863
859
|
static getSizePrefixedRootAsSignal(t, e) {
|
|
864
|
-
return t.setPosition(t.position() + f), (e || new
|
|
860
|
+
return t.setPosition(t.position() + f), (e || new x()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
865
861
|
}
|
|
866
862
|
id(t) {
|
|
867
863
|
const e = this.bb.__offset(this.bb_pos, 4);
|
|
868
864
|
return e ? this.bb.__string(this.bb_pos + e, t) : null;
|
|
869
865
|
}
|
|
870
|
-
type() {
|
|
871
|
-
const t = this.bb.__offset(this.bb_pos, 6);
|
|
872
|
-
return t ? this.bb.readInt32(this.bb_pos + t) : T.None;
|
|
873
|
-
}
|
|
874
866
|
static startSignal(t) {
|
|
875
|
-
t.startObject(
|
|
867
|
+
t.startObject(1);
|
|
876
868
|
}
|
|
877
869
|
static addId(t, e) {
|
|
878
870
|
t.addFieldOffset(0, e, 0);
|
|
879
871
|
}
|
|
880
|
-
static addType(t, e) {
|
|
881
|
-
t.addFieldInt32(1, e, T.None);
|
|
882
|
-
}
|
|
883
872
|
static endSignal(t) {
|
|
884
873
|
const e = t.endObject();
|
|
885
874
|
return t.requiredField(e, 4), e;
|
|
886
875
|
}
|
|
887
|
-
static createSignal(t, e
|
|
888
|
-
return
|
|
876
|
+
static createSignal(t, e) {
|
|
877
|
+
return x.startSignal(t), x.addId(t, e), x.endSignal(t);
|
|
889
878
|
}
|
|
890
879
|
unpack() {
|
|
891
|
-
return new
|
|
880
|
+
return new Xt(this.id());
|
|
892
881
|
}
|
|
893
882
|
unpackTo(t) {
|
|
894
|
-
t.id = this.id()
|
|
883
|
+
t.id = this.id();
|
|
895
884
|
}
|
|
896
885
|
}
|
|
897
|
-
class
|
|
898
|
-
constructor(t = null
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
this.id = t, this.type = e;
|
|
886
|
+
class Xt {
|
|
887
|
+
constructor(t = null) {
|
|
888
|
+
a(this, "id");
|
|
889
|
+
this.id = t;
|
|
902
890
|
}
|
|
903
891
|
pack(t) {
|
|
904
892
|
const e = this.id !== null ? t.createString(this.id) : 0;
|
|
905
|
-
return
|
|
893
|
+
return x.createSignal(t, e);
|
|
906
894
|
}
|
|
907
895
|
}
|
|
908
|
-
class
|
|
896
|
+
class D {
|
|
909
897
|
constructor() {
|
|
910
|
-
|
|
911
|
-
|
|
898
|
+
a(this, "bb", null);
|
|
899
|
+
a(this, "bb_pos", 0);
|
|
912
900
|
}
|
|
913
901
|
__init(t, e) {
|
|
914
902
|
return this.bb_pos = t, this.bb = e, this;
|
|
915
903
|
}
|
|
916
904
|
static getRootAsTaggedFrameLoaded(t, e) {
|
|
917
|
-
return (e || new
|
|
905
|
+
return (e || new D()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
918
906
|
}
|
|
919
907
|
static getSizePrefixedRootAsTaggedFrameLoaded(t, e) {
|
|
920
|
-
return t.setPosition(t.position() + f), (e || new
|
|
908
|
+
return t.setPosition(t.position() + f), (e || new D()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
921
909
|
}
|
|
922
910
|
id(t) {
|
|
923
911
|
const e = this.bb.__offset(this.bb_pos, 4);
|
|
@@ -940,40 +928,40 @@ class Y {
|
|
|
940
928
|
const e = t.endObject();
|
|
941
929
|
return t.requiredField(e, 4), t.requiredField(e, 6), e;
|
|
942
930
|
}
|
|
943
|
-
static createTaggedFrameLoaded(t, e,
|
|
944
|
-
return
|
|
931
|
+
static createTaggedFrameLoaded(t, e, s) {
|
|
932
|
+
return D.startTaggedFrameLoaded(t), D.addId(t, e), D.addTag(t, s), D.endTaggedFrameLoaded(t);
|
|
945
933
|
}
|
|
946
934
|
unpack() {
|
|
947
|
-
return new
|
|
935
|
+
return new gt(this.id(), this.tag());
|
|
948
936
|
}
|
|
949
937
|
unpackTo(t) {
|
|
950
938
|
t.id = this.id(), t.tag = this.tag();
|
|
951
939
|
}
|
|
952
940
|
}
|
|
953
|
-
class
|
|
941
|
+
class gt {
|
|
954
942
|
constructor(t = null, e = null) {
|
|
955
|
-
|
|
956
|
-
|
|
943
|
+
a(this, "id");
|
|
944
|
+
a(this, "tag");
|
|
957
945
|
this.id = t, this.tag = e;
|
|
958
946
|
}
|
|
959
947
|
pack(t) {
|
|
960
|
-
const e = this.id !== null ? t.createString(this.id) : 0,
|
|
961
|
-
return
|
|
948
|
+
const e = this.id !== null ? t.createString(this.id) : 0, s = this.tag !== null ? t.createString(this.tag) : 0;
|
|
949
|
+
return D.createTaggedFrameLoaded(t, e, s);
|
|
962
950
|
}
|
|
963
951
|
}
|
|
964
|
-
class
|
|
952
|
+
class G {
|
|
965
953
|
constructor() {
|
|
966
|
-
|
|
967
|
-
|
|
954
|
+
a(this, "bb", null);
|
|
955
|
+
a(this, "bb_pos", 0);
|
|
968
956
|
}
|
|
969
957
|
__init(t, e) {
|
|
970
958
|
return this.bb_pos = t, this.bb = e, this;
|
|
971
959
|
}
|
|
972
960
|
static getRootAsTaggedFrameSubscribe(t, e) {
|
|
973
|
-
return (e || new
|
|
961
|
+
return (e || new G()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
974
962
|
}
|
|
975
963
|
static getSizePrefixedRootAsTaggedFrameSubscribe(t, e) {
|
|
976
|
-
return t.setPosition(t.position() + f), (e || new
|
|
964
|
+
return t.setPosition(t.position() + f), (e || new G()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
977
965
|
}
|
|
978
966
|
id(t) {
|
|
979
967
|
const e = this.bb.__offset(this.bb_pos, 4);
|
|
@@ -996,311 +984,40 @@ class Z {
|
|
|
996
984
|
const e = t.endObject();
|
|
997
985
|
return t.requiredField(e, 4), t.requiredField(e, 6), e;
|
|
998
986
|
}
|
|
999
|
-
static createTaggedFrameSubscribe(t, e,
|
|
1000
|
-
return
|
|
987
|
+
static createTaggedFrameSubscribe(t, e, s) {
|
|
988
|
+
return G.startTaggedFrameSubscribe(t), G.addId(t, e), G.addTag(t, s), G.endTaggedFrameSubscribe(t);
|
|
1001
989
|
}
|
|
1002
990
|
unpack() {
|
|
1003
|
-
return new
|
|
991
|
+
return new pt(this.id(), this.tag());
|
|
1004
992
|
}
|
|
1005
993
|
unpackTo(t) {
|
|
1006
994
|
t.id = this.id(), t.tag = this.tag();
|
|
1007
995
|
}
|
|
1008
996
|
}
|
|
1009
|
-
class
|
|
997
|
+
class pt {
|
|
1010
998
|
constructor(t = null, e = null) {
|
|
1011
|
-
|
|
1012
|
-
|
|
999
|
+
a(this, "id");
|
|
1000
|
+
a(this, "tag");
|
|
1013
1001
|
this.id = t, this.tag = e;
|
|
1014
1002
|
}
|
|
1015
1003
|
pack(t) {
|
|
1016
|
-
const e = this.id !== null ? t.createString(this.id) : 0,
|
|
1017
|
-
return
|
|
1018
|
-
}
|
|
1019
|
-
}
|
|
1020
|
-
class J {
|
|
1021
|
-
constructor() {
|
|
1022
|
-
n(this, "bb", null);
|
|
1023
|
-
n(this, "bb_pos", 0);
|
|
1024
|
-
}
|
|
1025
|
-
__init(t, e) {
|
|
1026
|
-
return this.bb_pos = t, this.bb = e, this;
|
|
1027
|
-
}
|
|
1028
|
-
static getRootAsValueBoolean(t, e) {
|
|
1029
|
-
return (e || new J()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
1030
|
-
}
|
|
1031
|
-
static getSizePrefixedRootAsValueBoolean(t, e) {
|
|
1032
|
-
return t.setPosition(t.position() + f), (e || new J()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
1033
|
-
}
|
|
1034
|
-
value() {
|
|
1035
|
-
const t = this.bb.__offset(this.bb_pos, 4);
|
|
1036
|
-
return t ? !!this.bb.readInt8(this.bb_pos + t) : !1;
|
|
1037
|
-
}
|
|
1038
|
-
static startValueBoolean(t) {
|
|
1039
|
-
t.startObject(1);
|
|
1040
|
-
}
|
|
1041
|
-
static addValue(t, e) {
|
|
1042
|
-
t.addFieldInt8(0, +e, 0);
|
|
1043
|
-
}
|
|
1044
|
-
static endValueBoolean(t) {
|
|
1045
|
-
return t.endObject();
|
|
1046
|
-
}
|
|
1047
|
-
static createValueBoolean(t, e) {
|
|
1048
|
-
return J.startValueBoolean(t), J.addValue(t, e), J.endValueBoolean(t);
|
|
1049
|
-
}
|
|
1050
|
-
unpack() {
|
|
1051
|
-
return new Lt(this.value());
|
|
1052
|
-
}
|
|
1053
|
-
unpackTo(t) {
|
|
1054
|
-
t.value = this.value();
|
|
1055
|
-
}
|
|
1056
|
-
}
|
|
1057
|
-
class Lt {
|
|
1058
|
-
constructor(t = !1) {
|
|
1059
|
-
n(this, "value");
|
|
1060
|
-
this.value = t;
|
|
1061
|
-
}
|
|
1062
|
-
pack(t) {
|
|
1063
|
-
return J.createValueBoolean(t, this.value);
|
|
1064
|
-
}
|
|
1065
|
-
}
|
|
1066
|
-
class z {
|
|
1067
|
-
constructor() {
|
|
1068
|
-
n(this, "bb", null);
|
|
1069
|
-
n(this, "bb_pos", 0);
|
|
1070
|
-
}
|
|
1071
|
-
__init(t, e) {
|
|
1072
|
-
return this.bb_pos = t, this.bb = e, this;
|
|
1073
|
-
}
|
|
1074
|
-
static getRootAsValueBuffer(t, e) {
|
|
1075
|
-
return (e || new z()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
1076
|
-
}
|
|
1077
|
-
static getSizePrefixedRootAsValueBuffer(t, e) {
|
|
1078
|
-
return t.setPosition(t.position() + f), (e || new z()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
1079
|
-
}
|
|
1080
|
-
value(t) {
|
|
1081
|
-
const e = this.bb.__offset(this.bb_pos, 4);
|
|
1082
|
-
return e ? this.bb.readUint8(this.bb.__vector(this.bb_pos + e) + t) : 0;
|
|
1083
|
-
}
|
|
1084
|
-
valueLength() {
|
|
1085
|
-
const t = this.bb.__offset(this.bb_pos, 4);
|
|
1086
|
-
return t ? this.bb.__vector_len(this.bb_pos + t) : 0;
|
|
1087
|
-
}
|
|
1088
|
-
valueArray() {
|
|
1089
|
-
const t = this.bb.__offset(this.bb_pos, 4);
|
|
1090
|
-
return t ? new Uint8Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + t), this.bb.__vector_len(this.bb_pos + t)) : null;
|
|
1091
|
-
}
|
|
1092
|
-
static startValueBuffer(t) {
|
|
1093
|
-
t.startObject(1);
|
|
1094
|
-
}
|
|
1095
|
-
static addValue(t, e) {
|
|
1096
|
-
t.addFieldOffset(0, e, 0);
|
|
1097
|
-
}
|
|
1098
|
-
static createValueVector(t, e) {
|
|
1099
|
-
t.startVector(1, e.length, 1);
|
|
1100
|
-
for (let i = e.length - 1; i >= 0; i--)
|
|
1101
|
-
t.addInt8(e[i]);
|
|
1102
|
-
return t.endVector();
|
|
1103
|
-
}
|
|
1104
|
-
static startValueVector(t, e) {
|
|
1105
|
-
t.startVector(1, e, 1);
|
|
1106
|
-
}
|
|
1107
|
-
static endValueBuffer(t) {
|
|
1108
|
-
return t.endObject();
|
|
1109
|
-
}
|
|
1110
|
-
static createValueBuffer(t, e) {
|
|
1111
|
-
return z.startValueBuffer(t), z.addValue(t, e), z.endValueBuffer(t);
|
|
1112
|
-
}
|
|
1113
|
-
unpack() {
|
|
1114
|
-
return new Pt(this.bb.createScalarList(this.value.bind(this), this.valueLength()));
|
|
1115
|
-
}
|
|
1116
|
-
unpackTo(t) {
|
|
1117
|
-
t.value = this.bb.createScalarList(this.value.bind(this), this.valueLength());
|
|
1118
|
-
}
|
|
1119
|
-
}
|
|
1120
|
-
class Pt {
|
|
1121
|
-
constructor(t = []) {
|
|
1122
|
-
n(this, "value");
|
|
1123
|
-
this.value = t;
|
|
1124
|
-
}
|
|
1125
|
-
pack(t) {
|
|
1126
|
-
const e = z.createValueVector(t, this.value);
|
|
1127
|
-
return z.createValueBuffer(t, e);
|
|
1128
|
-
}
|
|
1129
|
-
}
|
|
1130
|
-
class K {
|
|
1131
|
-
constructor() {
|
|
1132
|
-
n(this, "bb", null);
|
|
1133
|
-
n(this, "bb_pos", 0);
|
|
1134
|
-
}
|
|
1135
|
-
__init(t, e) {
|
|
1136
|
-
return this.bb_pos = t, this.bb = e, this;
|
|
1137
|
-
}
|
|
1138
|
-
static getRootAsValueDouble(t, e) {
|
|
1139
|
-
return (e || new K()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
1140
|
-
}
|
|
1141
|
-
static getSizePrefixedRootAsValueDouble(t, e) {
|
|
1142
|
-
return t.setPosition(t.position() + f), (e || new K()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
1143
|
-
}
|
|
1144
|
-
value() {
|
|
1145
|
-
const t = this.bb.__offset(this.bb_pos, 4);
|
|
1146
|
-
return t ? this.bb.readFloat64(this.bb_pos + t) : 0;
|
|
1147
|
-
}
|
|
1148
|
-
static startValueDouble(t) {
|
|
1149
|
-
t.startObject(1);
|
|
1150
|
-
}
|
|
1151
|
-
static addValue(t, e) {
|
|
1152
|
-
t.addFieldFloat64(0, e, 0);
|
|
1153
|
-
}
|
|
1154
|
-
static endValueDouble(t) {
|
|
1155
|
-
return t.endObject();
|
|
1156
|
-
}
|
|
1157
|
-
static createValueDouble(t, e) {
|
|
1158
|
-
return K.startValueDouble(t), K.addValue(t, e), K.endValueDouble(t);
|
|
1159
|
-
}
|
|
1160
|
-
unpack() {
|
|
1161
|
-
return new xt(this.value());
|
|
1162
|
-
}
|
|
1163
|
-
unpackTo(t) {
|
|
1164
|
-
t.value = this.value();
|
|
1165
|
-
}
|
|
1166
|
-
}
|
|
1167
|
-
class xt {
|
|
1168
|
-
constructor(t = 0) {
|
|
1169
|
-
n(this, "value");
|
|
1170
|
-
this.value = t;
|
|
1171
|
-
}
|
|
1172
|
-
pack(t) {
|
|
1173
|
-
return K.createValueDouble(t, this.value);
|
|
1004
|
+
const e = this.id !== null ? t.createString(this.id) : 0, s = this.tag !== null ? t.createString(this.tag) : 0;
|
|
1005
|
+
return G.createTaggedFrameSubscribe(t, e, s);
|
|
1174
1006
|
}
|
|
1175
1007
|
}
|
|
1176
|
-
class
|
|
1177
|
-
constructor() {
|
|
1178
|
-
n(this, "bb", null);
|
|
1179
|
-
n(this, "bb_pos", 0);
|
|
1180
|
-
}
|
|
1181
|
-
__init(t, e) {
|
|
1182
|
-
return this.bb_pos = t, this.bb = e, this;
|
|
1183
|
-
}
|
|
1184
|
-
static getRootAsValueNumber(t, e) {
|
|
1185
|
-
return (e || new Q()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
1186
|
-
}
|
|
1187
|
-
static getSizePrefixedRootAsValueNumber(t, e) {
|
|
1188
|
-
return t.setPosition(t.position() + f), (e || new Q()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
1189
|
-
}
|
|
1190
|
-
value() {
|
|
1191
|
-
const t = this.bb.__offset(this.bb_pos, 4);
|
|
1192
|
-
return t ? this.bb.readInt64(this.bb_pos + t) : BigInt("0");
|
|
1193
|
-
}
|
|
1194
|
-
static startValueNumber(t) {
|
|
1195
|
-
t.startObject(1);
|
|
1196
|
-
}
|
|
1197
|
-
static addValue(t, e) {
|
|
1198
|
-
t.addFieldInt64(0, e, BigInt("0"));
|
|
1199
|
-
}
|
|
1200
|
-
static endValueNumber(t) {
|
|
1201
|
-
return t.endObject();
|
|
1202
|
-
}
|
|
1203
|
-
static createValueNumber(t, e) {
|
|
1204
|
-
return Q.startValueNumber(t), Q.addValue(t, e), Q.endValueNumber(t);
|
|
1205
|
-
}
|
|
1206
|
-
unpack() {
|
|
1207
|
-
return new Et(this.value());
|
|
1208
|
-
}
|
|
1209
|
-
unpackTo(t) {
|
|
1210
|
-
t.value = this.value();
|
|
1211
|
-
}
|
|
1212
|
-
}
|
|
1213
|
-
class Et {
|
|
1214
|
-
constructor(t = BigInt("0")) {
|
|
1215
|
-
n(this, "value");
|
|
1216
|
-
this.value = t;
|
|
1217
|
-
}
|
|
1218
|
-
pack(t) {
|
|
1219
|
-
return Q.createValueNumber(t, this.value);
|
|
1220
|
-
}
|
|
1221
|
-
}
|
|
1222
|
-
class M {
|
|
1223
|
-
constructor() {
|
|
1224
|
-
n(this, "bb", null);
|
|
1225
|
-
n(this, "bb_pos", 0);
|
|
1226
|
-
}
|
|
1227
|
-
__init(t, e) {
|
|
1228
|
-
return this.bb_pos = t, this.bb = e, this;
|
|
1229
|
-
}
|
|
1230
|
-
static getRootAsValueString(t, e) {
|
|
1231
|
-
return (e || new M()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
1232
|
-
}
|
|
1233
|
-
static getSizePrefixedRootAsValueString(t, e) {
|
|
1234
|
-
return t.setPosition(t.position() + f), (e || new M()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
1235
|
-
}
|
|
1236
|
-
value(t) {
|
|
1237
|
-
const e = this.bb.__offset(this.bb_pos, 4);
|
|
1238
|
-
return e ? this.bb.__string(this.bb_pos + e, t) : null;
|
|
1239
|
-
}
|
|
1240
|
-
static startValueString(t) {
|
|
1241
|
-
t.startObject(1);
|
|
1242
|
-
}
|
|
1243
|
-
static addValue(t, e) {
|
|
1244
|
-
t.addFieldOffset(0, e, 0);
|
|
1245
|
-
}
|
|
1246
|
-
static endValueString(t) {
|
|
1247
|
-
return t.endObject();
|
|
1248
|
-
}
|
|
1249
|
-
static createValueString(t, e) {
|
|
1250
|
-
return M.startValueString(t), M.addValue(t, e), M.endValueString(t);
|
|
1251
|
-
}
|
|
1252
|
-
unpack() {
|
|
1253
|
-
return new zt(this.value());
|
|
1254
|
-
}
|
|
1255
|
-
unpackTo(t) {
|
|
1256
|
-
t.value = this.value();
|
|
1257
|
-
}
|
|
1258
|
-
}
|
|
1259
|
-
class zt {
|
|
1260
|
-
constructor(t = null) {
|
|
1261
|
-
n(this, "value");
|
|
1262
|
-
this.value = t;
|
|
1263
|
-
}
|
|
1264
|
-
pack(t) {
|
|
1265
|
-
const e = this.value !== null ? t.createString(this.value) : 0;
|
|
1266
|
-
return M.createValueString(t, e);
|
|
1267
|
-
}
|
|
1268
|
-
}
|
|
1269
|
-
var l;
|
|
1270
|
-
(function(s) {
|
|
1271
|
-
s[s.NONE = 0] = "NONE", s[s.ValueBoolean = 1] = "ValueBoolean", s[s.ValueNumber = 2] = "ValueNumber", s[s.ValueDouble = 3] = "ValueDouble", s[s.ValueString = 4] = "ValueString", s[s.ValueBuffer = 5] = "ValueBuffer";
|
|
1272
|
-
})(l || (l = {}));
|
|
1273
|
-
function ut(s, t) {
|
|
1274
|
-
switch (l[s]) {
|
|
1275
|
-
case "NONE":
|
|
1276
|
-
return null;
|
|
1277
|
-
case "ValueBoolean":
|
|
1278
|
-
return t(new J());
|
|
1279
|
-
case "ValueNumber":
|
|
1280
|
-
return t(new Q());
|
|
1281
|
-
case "ValueDouble":
|
|
1282
|
-
return t(new K());
|
|
1283
|
-
case "ValueString":
|
|
1284
|
-
return t(new M());
|
|
1285
|
-
case "ValueBuffer":
|
|
1286
|
-
return t(new z());
|
|
1287
|
-
default:
|
|
1288
|
-
return null;
|
|
1289
|
-
}
|
|
1290
|
-
}
|
|
1291
|
-
class U {
|
|
1008
|
+
class q {
|
|
1292
1009
|
constructor() {
|
|
1293
|
-
|
|
1294
|
-
|
|
1010
|
+
a(this, "bb", null);
|
|
1011
|
+
a(this, "bb_pos", 0);
|
|
1295
1012
|
}
|
|
1296
1013
|
__init(t, e) {
|
|
1297
1014
|
return this.bb_pos = t, this.bb = e, this;
|
|
1298
1015
|
}
|
|
1299
1016
|
static getRootAsTaggedSignalNotify(t, e) {
|
|
1300
|
-
return (e || new
|
|
1017
|
+
return (e || new q()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
1301
1018
|
}
|
|
1302
1019
|
static getSizePrefixedRootAsTaggedSignalNotify(t, e) {
|
|
1303
|
-
return t.setPosition(t.position() + f), (e || new
|
|
1020
|
+
return t.setPosition(t.position() + f), (e || new q()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
1304
1021
|
}
|
|
1305
1022
|
frameId(t) {
|
|
1306
1023
|
const e = this.bb.__offset(this.bb_pos, 4);
|
|
@@ -1314,16 +1031,20 @@ class U {
|
|
|
1314
1031
|
const e = this.bb.__offset(this.bb_pos, 8);
|
|
1315
1032
|
return e ? this.bb.__string(this.bb_pos + e, t) : null;
|
|
1316
1033
|
}
|
|
1317
|
-
|
|
1034
|
+
value(t) {
|
|
1035
|
+
const e = this.bb.__offset(this.bb_pos, 10);
|
|
1036
|
+
return e ? this.bb.readUint8(this.bb.__vector(this.bb_pos + e) + t) : 0;
|
|
1037
|
+
}
|
|
1038
|
+
valueLength() {
|
|
1318
1039
|
const t = this.bb.__offset(this.bb_pos, 10);
|
|
1319
|
-
return t ? this.bb.
|
|
1040
|
+
return t ? this.bb.__vector_len(this.bb_pos + t) : 0;
|
|
1320
1041
|
}
|
|
1321
|
-
|
|
1322
|
-
const
|
|
1323
|
-
return
|
|
1042
|
+
valueArray() {
|
|
1043
|
+
const t = this.bb.__offset(this.bb_pos, 10);
|
|
1044
|
+
return t ? new Uint8Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + t), this.bb.__vector_len(this.bb_pos + t)) : null;
|
|
1324
1045
|
}
|
|
1325
1046
|
static startTaggedSignalNotify(t) {
|
|
1326
|
-
t.startObject(
|
|
1047
|
+
t.startObject(4);
|
|
1327
1048
|
}
|
|
1328
1049
|
static addFrameId(t, e) {
|
|
1329
1050
|
t.addFieldOffset(0, e, 0);
|
|
@@ -1334,59 +1055,58 @@ class U {
|
|
|
1334
1055
|
static addSignalId(t, e) {
|
|
1335
1056
|
t.addFieldOffset(2, e, 0);
|
|
1336
1057
|
}
|
|
1337
|
-
static addValueType(t, e) {
|
|
1338
|
-
t.addFieldInt8(3, e, l.NONE);
|
|
1339
|
-
}
|
|
1340
1058
|
static addValue(t, e) {
|
|
1341
|
-
t.addFieldOffset(
|
|
1059
|
+
t.addFieldOffset(3, e, 0);
|
|
1060
|
+
}
|
|
1061
|
+
static createValueVector(t, e) {
|
|
1062
|
+
t.startVector(1, e.length, 1);
|
|
1063
|
+
for (let s = e.length - 1; s >= 0; s--)
|
|
1064
|
+
t.addInt8(e[s]);
|
|
1065
|
+
return t.endVector();
|
|
1066
|
+
}
|
|
1067
|
+
static startValueVector(t, e) {
|
|
1068
|
+
t.startVector(1, e, 1);
|
|
1342
1069
|
}
|
|
1343
1070
|
static endTaggedSignalNotify(t) {
|
|
1344
1071
|
const e = t.endObject();
|
|
1345
1072
|
return t.requiredField(e, 4), t.requiredField(e, 6), t.requiredField(e, 8), e;
|
|
1346
1073
|
}
|
|
1347
|
-
static createTaggedSignalNotify(t, e,
|
|
1348
|
-
return
|
|
1074
|
+
static createTaggedSignalNotify(t, e, s, n, r) {
|
|
1075
|
+
return q.startTaggedSignalNotify(t), q.addFrameId(t, e), q.addTag(t, s), q.addSignalId(t, n), q.addValue(t, r), q.endTaggedSignalNotify(t);
|
|
1349
1076
|
}
|
|
1350
1077
|
unpack() {
|
|
1351
|
-
return new
|
|
1352
|
-
const t = ut(this.valueType(), this.value.bind(this));
|
|
1353
|
-
return t === null ? null : t.unpack();
|
|
1354
|
-
})());
|
|
1078
|
+
return new Rt(this.frameId(), this.tag(), this.signalId(), this.bb.createScalarList(this.value.bind(this), this.valueLength()));
|
|
1355
1079
|
}
|
|
1356
1080
|
unpackTo(t) {
|
|
1357
|
-
t.frameId = this.frameId(), t.tag = this.tag(), t.signalId = this.signalId(), t.
|
|
1358
|
-
const e = ut(this.valueType(), this.value.bind(this));
|
|
1359
|
-
return e === null ? null : e.unpack();
|
|
1360
|
-
})();
|
|
1081
|
+
t.frameId = this.frameId(), t.tag = this.tag(), t.signalId = this.signalId(), t.value = this.bb.createScalarList(this.value.bind(this), this.valueLength());
|
|
1361
1082
|
}
|
|
1362
1083
|
}
|
|
1363
|
-
class
|
|
1364
|
-
constructor(t = null, e = null,
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
this.frameId = t, this.tag = e, this.signalId = i, this.valueType = a, this.value = r;
|
|
1084
|
+
class Rt {
|
|
1085
|
+
constructor(t = null, e = null, s = null, n = []) {
|
|
1086
|
+
a(this, "frameId");
|
|
1087
|
+
a(this, "tag");
|
|
1088
|
+
a(this, "signalId");
|
|
1089
|
+
a(this, "value");
|
|
1090
|
+
this.frameId = t, this.tag = e, this.signalId = s, this.value = n;
|
|
1371
1091
|
}
|
|
1372
1092
|
pack(t) {
|
|
1373
|
-
const e = this.frameId !== null ? t.createString(this.frameId) : 0,
|
|
1374
|
-
return
|
|
1093
|
+
const e = this.frameId !== null ? t.createString(this.frameId) : 0, s = this.tag !== null ? t.createString(this.tag) : 0, n = this.signalId !== null ? t.createString(this.signalId) : 0, r = q.createValueVector(t, this.value);
|
|
1094
|
+
return q.createTaggedSignalNotify(t, e, s, n, r);
|
|
1375
1095
|
}
|
|
1376
1096
|
}
|
|
1377
|
-
class
|
|
1097
|
+
class W {
|
|
1378
1098
|
constructor() {
|
|
1379
|
-
|
|
1380
|
-
|
|
1099
|
+
a(this, "bb", null);
|
|
1100
|
+
a(this, "bb_pos", 0);
|
|
1381
1101
|
}
|
|
1382
1102
|
__init(t, e) {
|
|
1383
1103
|
return this.bb_pos = t, this.bb = e, this;
|
|
1384
1104
|
}
|
|
1385
1105
|
static getRootAsTaggedSignalRequest(t, e) {
|
|
1386
|
-
return (e || new
|
|
1106
|
+
return (e || new W()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
1387
1107
|
}
|
|
1388
1108
|
static getSizePrefixedRootAsTaggedSignalRequest(t, e) {
|
|
1389
|
-
return t.setPosition(t.position() + f), (e || new
|
|
1109
|
+
return t.setPosition(t.position() + f), (e || new W()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
1390
1110
|
}
|
|
1391
1111
|
id(t) {
|
|
1392
1112
|
const e = this.bb.__offset(this.bb_pos, 4);
|
|
@@ -1409,40 +1129,40 @@ class X {
|
|
|
1409
1129
|
const e = t.endObject();
|
|
1410
1130
|
return t.requiredField(e, 4), t.requiredField(e, 6), e;
|
|
1411
1131
|
}
|
|
1412
|
-
static createTaggedSignalRequest(t, e,
|
|
1413
|
-
return
|
|
1132
|
+
static createTaggedSignalRequest(t, e, s) {
|
|
1133
|
+
return W.startTaggedSignalRequest(t), W.addId(t, e), W.addTag(t, s), W.endTaggedSignalRequest(t);
|
|
1414
1134
|
}
|
|
1415
1135
|
unpack() {
|
|
1416
|
-
return new
|
|
1136
|
+
return new Tt(this.id(), this.tag());
|
|
1417
1137
|
}
|
|
1418
1138
|
unpackTo(t) {
|
|
1419
1139
|
t.id = this.id(), t.tag = this.tag();
|
|
1420
1140
|
}
|
|
1421
1141
|
}
|
|
1422
|
-
class
|
|
1142
|
+
class Tt {
|
|
1423
1143
|
constructor(t = null, e = null) {
|
|
1424
|
-
|
|
1425
|
-
|
|
1144
|
+
a(this, "id");
|
|
1145
|
+
a(this, "tag");
|
|
1426
1146
|
this.id = t, this.tag = e;
|
|
1427
1147
|
}
|
|
1428
1148
|
pack(t) {
|
|
1429
|
-
const e = this.id !== null ? t.createString(this.id) : 0,
|
|
1430
|
-
return
|
|
1149
|
+
const e = this.id !== null ? t.createString(this.id) : 0, s = this.tag !== null ? t.createString(this.tag) : 0;
|
|
1150
|
+
return W.createTaggedSignalRequest(t, e, s);
|
|
1431
1151
|
}
|
|
1432
1152
|
}
|
|
1433
|
-
class
|
|
1153
|
+
class U {
|
|
1434
1154
|
constructor() {
|
|
1435
|
-
|
|
1436
|
-
|
|
1155
|
+
a(this, "bb", null);
|
|
1156
|
+
a(this, "bb_pos", 0);
|
|
1437
1157
|
}
|
|
1438
1158
|
__init(t, e) {
|
|
1439
1159
|
return this.bb_pos = t, this.bb = e, this;
|
|
1440
1160
|
}
|
|
1441
1161
|
static getRootAsTaggedSignalResponse(t, e) {
|
|
1442
|
-
return (e || new
|
|
1162
|
+
return (e || new U()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
1443
1163
|
}
|
|
1444
1164
|
static getSizePrefixedRootAsTaggedSignalResponse(t, e) {
|
|
1445
|
-
return t.setPosition(t.position() + f), (e || new
|
|
1165
|
+
return t.setPosition(t.position() + f), (e || new U()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
1446
1166
|
}
|
|
1447
1167
|
id(t) {
|
|
1448
1168
|
const e = this.bb.__offset(this.bb_pos, 4);
|
|
@@ -1453,8 +1173,8 @@ class R {
|
|
|
1453
1173
|
return e ? this.bb.__string(this.bb_pos + e, t) : null;
|
|
1454
1174
|
}
|
|
1455
1175
|
signals(t, e) {
|
|
1456
|
-
const
|
|
1457
|
-
return
|
|
1176
|
+
const s = this.bb.__offset(this.bb_pos, 8);
|
|
1177
|
+
return s ? (e || new x()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos + s) + t * 4), this.bb) : null;
|
|
1458
1178
|
}
|
|
1459
1179
|
signalsLength() {
|
|
1460
1180
|
const t = this.bb.__offset(this.bb_pos, 8);
|
|
@@ -1474,8 +1194,8 @@ class R {
|
|
|
1474
1194
|
}
|
|
1475
1195
|
static createSignalsVector(t, e) {
|
|
1476
1196
|
t.startVector(4, e.length, 4);
|
|
1477
|
-
for (let
|
|
1478
|
-
t.addOffset(e[
|
|
1197
|
+
for (let s = e.length - 1; s >= 0; s--)
|
|
1198
|
+
t.addOffset(e[s]);
|
|
1479
1199
|
return t.endVector();
|
|
1480
1200
|
}
|
|
1481
1201
|
static startSignalsVector(t, e) {
|
|
@@ -1485,41 +1205,41 @@ class R {
|
|
|
1485
1205
|
const e = t.endObject();
|
|
1486
1206
|
return t.requiredField(e, 4), t.requiredField(e, 6), t.requiredField(e, 8), e;
|
|
1487
1207
|
}
|
|
1488
|
-
static createTaggedSignalResponse(t, e,
|
|
1489
|
-
return
|
|
1208
|
+
static createTaggedSignalResponse(t, e, s, n) {
|
|
1209
|
+
return U.startTaggedSignalResponse(t), U.addId(t, e), U.addTag(t, s), U.addSignals(t, n), U.endTaggedSignalResponse(t);
|
|
1490
1210
|
}
|
|
1491
1211
|
unpack() {
|
|
1492
|
-
return new
|
|
1212
|
+
return new $t(this.id(), this.tag(), this.bb.createObjList(this.signals.bind(this), this.signalsLength()));
|
|
1493
1213
|
}
|
|
1494
1214
|
unpackTo(t) {
|
|
1495
1215
|
t.id = this.id(), t.tag = this.tag(), t.signals = this.bb.createObjList(this.signals.bind(this), this.signalsLength());
|
|
1496
1216
|
}
|
|
1497
1217
|
}
|
|
1498
|
-
class
|
|
1499
|
-
constructor(t = null, e = null,
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
this.id = t, this.tag = e, this.signals =
|
|
1218
|
+
class $t {
|
|
1219
|
+
constructor(t = null, e = null, s = []) {
|
|
1220
|
+
a(this, "id");
|
|
1221
|
+
a(this, "tag");
|
|
1222
|
+
a(this, "signals");
|
|
1223
|
+
this.id = t, this.tag = e, this.signals = s;
|
|
1504
1224
|
}
|
|
1505
1225
|
pack(t) {
|
|
1506
|
-
const e = this.id !== null ? t.createString(this.id) : 0,
|
|
1507
|
-
return
|
|
1226
|
+
const e = this.id !== null ? t.createString(this.id) : 0, s = this.tag !== null ? t.createString(this.tag) : 0, n = U.createSignalsVector(t, t.createObjectOffsetList(this.signals));
|
|
1227
|
+
return U.createTaggedSignalResponse(t, e, s, n);
|
|
1508
1228
|
}
|
|
1509
1229
|
}
|
|
1510
|
-
class
|
|
1230
|
+
class H {
|
|
1511
1231
|
constructor() {
|
|
1512
|
-
|
|
1513
|
-
|
|
1232
|
+
a(this, "bb", null);
|
|
1233
|
+
a(this, "bb_pos", 0);
|
|
1514
1234
|
}
|
|
1515
1235
|
__init(t, e) {
|
|
1516
1236
|
return this.bb_pos = t, this.bb = e, this;
|
|
1517
1237
|
}
|
|
1518
1238
|
static getRootAsTaggedValueRequest(t, e) {
|
|
1519
|
-
return (e || new
|
|
1239
|
+
return (e || new H()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
1520
1240
|
}
|
|
1521
1241
|
static getSizePrefixedRootAsTaggedValueRequest(t, e) {
|
|
1522
|
-
return t.setPosition(t.position() + f), (e || new
|
|
1242
|
+
return t.setPosition(t.position() + f), (e || new H()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
1523
1243
|
}
|
|
1524
1244
|
id(t) {
|
|
1525
1245
|
const e = this.bb.__offset(this.bb_pos, 4);
|
|
@@ -1542,110 +1262,113 @@ class $ {
|
|
|
1542
1262
|
const e = t.endObject();
|
|
1543
1263
|
return t.requiredField(e, 4), t.requiredField(e, 6), e;
|
|
1544
1264
|
}
|
|
1545
|
-
static createTaggedValueRequest(t, e,
|
|
1546
|
-
return
|
|
1265
|
+
static createTaggedValueRequest(t, e, s) {
|
|
1266
|
+
return H.startTaggedValueRequest(t), H.addId(t, e), H.addTag(t, s), H.endTaggedValueRequest(t);
|
|
1547
1267
|
}
|
|
1548
1268
|
unpack() {
|
|
1549
|
-
return new
|
|
1269
|
+
return new kt(this.id(), this.tag());
|
|
1550
1270
|
}
|
|
1551
1271
|
unpackTo(t) {
|
|
1552
1272
|
t.id = this.id(), t.tag = this.tag();
|
|
1553
1273
|
}
|
|
1554
1274
|
}
|
|
1555
|
-
class
|
|
1275
|
+
class kt {
|
|
1556
1276
|
constructor(t = null, e = null) {
|
|
1557
|
-
|
|
1558
|
-
|
|
1277
|
+
a(this, "id");
|
|
1278
|
+
a(this, "tag");
|
|
1559
1279
|
this.id = t, this.tag = e;
|
|
1560
1280
|
}
|
|
1561
1281
|
pack(t) {
|
|
1562
|
-
const e = this.id !== null ? t.createString(this.id) : 0,
|
|
1563
|
-
return
|
|
1282
|
+
const e = this.id !== null ? t.createString(this.id) : 0, s = this.tag !== null ? t.createString(this.tag) : 0;
|
|
1283
|
+
return H.createTaggedValueRequest(t, e, s);
|
|
1564
1284
|
}
|
|
1565
1285
|
}
|
|
1566
|
-
class
|
|
1286
|
+
class v {
|
|
1567
1287
|
constructor() {
|
|
1568
|
-
|
|
1569
|
-
|
|
1288
|
+
a(this, "bb", null);
|
|
1289
|
+
a(this, "bb_pos", 0);
|
|
1570
1290
|
}
|
|
1571
1291
|
__init(t, e) {
|
|
1572
1292
|
return this.bb_pos = t, this.bb = e, this;
|
|
1573
1293
|
}
|
|
1574
1294
|
static getRootAsValue(t, e) {
|
|
1575
|
-
return (e || new
|
|
1295
|
+
return (e || new v()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
1576
1296
|
}
|
|
1577
1297
|
static getSizePrefixedRootAsValue(t, e) {
|
|
1578
|
-
return t.setPosition(t.position() + f), (e || new
|
|
1298
|
+
return t.setPosition(t.position() + f), (e || new v()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
1579
1299
|
}
|
|
1580
1300
|
id(t) {
|
|
1581
1301
|
const e = this.bb.__offset(this.bb_pos, 4);
|
|
1582
1302
|
return e ? this.bb.__string(this.bb_pos + e, t) : null;
|
|
1583
1303
|
}
|
|
1584
|
-
|
|
1304
|
+
value(t) {
|
|
1305
|
+
const e = this.bb.__offset(this.bb_pos, 6);
|
|
1306
|
+
return e ? this.bb.readUint8(this.bb.__vector(this.bb_pos + e) + t) : 0;
|
|
1307
|
+
}
|
|
1308
|
+
valueLength() {
|
|
1585
1309
|
const t = this.bb.__offset(this.bb_pos, 6);
|
|
1586
|
-
return t ? this.bb.
|
|
1310
|
+
return t ? this.bb.__vector_len(this.bb_pos + t) : 0;
|
|
1587
1311
|
}
|
|
1588
|
-
|
|
1589
|
-
const
|
|
1590
|
-
return
|
|
1312
|
+
valueArray() {
|
|
1313
|
+
const t = this.bb.__offset(this.bb_pos, 6);
|
|
1314
|
+
return t ? new Uint8Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + t), this.bb.__vector_len(this.bb_pos + t)) : null;
|
|
1591
1315
|
}
|
|
1592
1316
|
static startValue(t) {
|
|
1593
|
-
t.startObject(
|
|
1317
|
+
t.startObject(2);
|
|
1594
1318
|
}
|
|
1595
1319
|
static addId(t, e) {
|
|
1596
1320
|
t.addFieldOffset(0, e, 0);
|
|
1597
1321
|
}
|
|
1598
|
-
static addValueType(t, e) {
|
|
1599
|
-
t.addFieldInt8(1, e, l.NONE);
|
|
1600
|
-
}
|
|
1601
1322
|
static addValue(t, e) {
|
|
1602
|
-
t.addFieldOffset(
|
|
1323
|
+
t.addFieldOffset(1, e, 0);
|
|
1324
|
+
}
|
|
1325
|
+
static createValueVector(t, e) {
|
|
1326
|
+
t.startVector(1, e.length, 1);
|
|
1327
|
+
for (let s = e.length - 1; s >= 0; s--)
|
|
1328
|
+
t.addInt8(e[s]);
|
|
1329
|
+
return t.endVector();
|
|
1330
|
+
}
|
|
1331
|
+
static startValueVector(t, e) {
|
|
1332
|
+
t.startVector(1, e, 1);
|
|
1603
1333
|
}
|
|
1604
1334
|
static endValue(t) {
|
|
1605
1335
|
const e = t.endObject();
|
|
1606
|
-
return t.requiredField(e, 4), t.requiredField(e,
|
|
1336
|
+
return t.requiredField(e, 4), t.requiredField(e, 6), e;
|
|
1607
1337
|
}
|
|
1608
|
-
static createValue(t, e,
|
|
1609
|
-
return
|
|
1338
|
+
static createValue(t, e, s) {
|
|
1339
|
+
return v.startValue(t), v.addId(t, e), v.addValue(t, s), v.endValue(t);
|
|
1610
1340
|
}
|
|
1611
1341
|
unpack() {
|
|
1612
|
-
return new
|
|
1613
|
-
const t = ut(this.valueType(), this.value.bind(this));
|
|
1614
|
-
return t === null ? null : t.unpack();
|
|
1615
|
-
})());
|
|
1342
|
+
return new At(this.id(), this.bb.createScalarList(this.value.bind(this), this.valueLength()));
|
|
1616
1343
|
}
|
|
1617
1344
|
unpackTo(t) {
|
|
1618
|
-
t.id = this.id(), t.
|
|
1619
|
-
const e = ut(this.valueType(), this.value.bind(this));
|
|
1620
|
-
return e === null ? null : e.unpack();
|
|
1621
|
-
})();
|
|
1345
|
+
t.id = this.id(), t.value = this.bb.createScalarList(this.value.bind(this), this.valueLength());
|
|
1622
1346
|
}
|
|
1623
1347
|
}
|
|
1624
|
-
class
|
|
1625
|
-
constructor(t = null, e =
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
this.id = t, this.valueType = e, this.value = i;
|
|
1348
|
+
class At {
|
|
1349
|
+
constructor(t = null, e = []) {
|
|
1350
|
+
a(this, "id");
|
|
1351
|
+
a(this, "value");
|
|
1352
|
+
this.id = t, this.value = e;
|
|
1630
1353
|
}
|
|
1631
1354
|
pack(t) {
|
|
1632
|
-
const e = this.id !== null ? t.createString(this.id) : 0,
|
|
1633
|
-
return
|
|
1355
|
+
const e = this.id !== null ? t.createString(this.id) : 0, s = v.createValueVector(t, this.value);
|
|
1356
|
+
return v.createValue(t, e, s);
|
|
1634
1357
|
}
|
|
1635
1358
|
}
|
|
1636
|
-
class
|
|
1359
|
+
class V {
|
|
1637
1360
|
constructor() {
|
|
1638
|
-
|
|
1639
|
-
|
|
1361
|
+
a(this, "bb", null);
|
|
1362
|
+
a(this, "bb_pos", 0);
|
|
1640
1363
|
}
|
|
1641
1364
|
__init(t, e) {
|
|
1642
1365
|
return this.bb_pos = t, this.bb = e, this;
|
|
1643
1366
|
}
|
|
1644
1367
|
static getRootAsTaggedValueResponse(t, e) {
|
|
1645
|
-
return (e || new
|
|
1368
|
+
return (e || new V()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
1646
1369
|
}
|
|
1647
1370
|
static getSizePrefixedRootAsTaggedValueResponse(t, e) {
|
|
1648
|
-
return t.setPosition(t.position() + f), (e || new
|
|
1371
|
+
return t.setPosition(t.position() + f), (e || new V()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
1649
1372
|
}
|
|
1650
1373
|
id(t) {
|
|
1651
1374
|
const e = this.bb.__offset(this.bb_pos, 4);
|
|
@@ -1656,8 +1379,8 @@ class k {
|
|
|
1656
1379
|
return e ? this.bb.__string(this.bb_pos + e, t) : null;
|
|
1657
1380
|
}
|
|
1658
1381
|
values(t, e) {
|
|
1659
|
-
const
|
|
1660
|
-
return
|
|
1382
|
+
const s = this.bb.__offset(this.bb_pos, 8);
|
|
1383
|
+
return s ? (e || new v()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos + s) + t * 4), this.bb) : null;
|
|
1661
1384
|
}
|
|
1662
1385
|
valuesLength() {
|
|
1663
1386
|
const t = this.bb.__offset(this.bb_pos, 8);
|
|
@@ -1677,8 +1400,8 @@ class k {
|
|
|
1677
1400
|
}
|
|
1678
1401
|
static createValuesVector(t, e) {
|
|
1679
1402
|
t.startVector(4, e.length, 4);
|
|
1680
|
-
for (let
|
|
1681
|
-
t.addOffset(e[
|
|
1403
|
+
for (let s = e.length - 1; s >= 0; s--)
|
|
1404
|
+
t.addOffset(e[s]);
|
|
1682
1405
|
return t.endVector();
|
|
1683
1406
|
}
|
|
1684
1407
|
static startValuesVector(t, e) {
|
|
@@ -1688,41 +1411,41 @@ class k {
|
|
|
1688
1411
|
const e = t.endObject();
|
|
1689
1412
|
return t.requiredField(e, 4), t.requiredField(e, 6), t.requiredField(e, 8), e;
|
|
1690
1413
|
}
|
|
1691
|
-
static createTaggedValueResponse(t, e,
|
|
1692
|
-
return
|
|
1414
|
+
static createTaggedValueResponse(t, e, s, n) {
|
|
1415
|
+
return V.startTaggedValueResponse(t), V.addId(t, e), V.addTag(t, s), V.addValues(t, n), V.endTaggedValueResponse(t);
|
|
1693
1416
|
}
|
|
1694
1417
|
unpack() {
|
|
1695
|
-
return new
|
|
1418
|
+
return new Jt(this.id(), this.tag(), this.bb.createObjList(this.values.bind(this), this.valuesLength()));
|
|
1696
1419
|
}
|
|
1697
1420
|
unpackTo(t) {
|
|
1698
1421
|
t.id = this.id(), t.tag = this.tag(), t.values = this.bb.createObjList(this.values.bind(this), this.valuesLength());
|
|
1699
1422
|
}
|
|
1700
1423
|
}
|
|
1701
|
-
class
|
|
1702
|
-
constructor(t = null, e = null,
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
this.id = t, this.tag = e, this.values =
|
|
1424
|
+
class Jt {
|
|
1425
|
+
constructor(t = null, e = null, s = []) {
|
|
1426
|
+
a(this, "id");
|
|
1427
|
+
a(this, "tag");
|
|
1428
|
+
a(this, "values");
|
|
1429
|
+
this.id = t, this.tag = e, this.values = s;
|
|
1707
1430
|
}
|
|
1708
1431
|
pack(t) {
|
|
1709
|
-
const e = this.id !== null ? t.createString(this.id) : 0,
|
|
1710
|
-
return
|
|
1432
|
+
const e = this.id !== null ? t.createString(this.id) : 0, s = this.tag !== null ? t.createString(this.tag) : 0, n = V.createValuesVector(t, t.createObjectOffsetList(this.values));
|
|
1433
|
+
return V.createTaggedValueResponse(t, e, s, n);
|
|
1711
1434
|
}
|
|
1712
1435
|
}
|
|
1713
|
-
class
|
|
1436
|
+
class N {
|
|
1714
1437
|
constructor() {
|
|
1715
|
-
|
|
1716
|
-
|
|
1438
|
+
a(this, "bb", null);
|
|
1439
|
+
a(this, "bb_pos", 0);
|
|
1717
1440
|
}
|
|
1718
1441
|
__init(t, e) {
|
|
1719
1442
|
return this.bb_pos = t, this.bb = e, this;
|
|
1720
1443
|
}
|
|
1721
1444
|
static getRootAsTaggedValueUpdate(t, e) {
|
|
1722
|
-
return (e || new
|
|
1445
|
+
return (e || new N()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
1723
1446
|
}
|
|
1724
1447
|
static getSizePrefixedRootAsTaggedValueUpdate(t, e) {
|
|
1725
|
-
return t.setPosition(t.position() + f), (e || new
|
|
1448
|
+
return t.setPosition(t.position() + f), (e || new N()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
1726
1449
|
}
|
|
1727
1450
|
id(t) {
|
|
1728
1451
|
const e = this.bb.__offset(this.bb_pos, 4);
|
|
@@ -1734,7 +1457,7 @@ class D {
|
|
|
1734
1457
|
}
|
|
1735
1458
|
value(t) {
|
|
1736
1459
|
const e = this.bb.__offset(this.bb_pos, 8);
|
|
1737
|
-
return e ? (t || new
|
|
1460
|
+
return e ? (t || new v()).__init(this.bb.__indirect(this.bb_pos + e), this.bb) : null;
|
|
1738
1461
|
}
|
|
1739
1462
|
static startTaggedValueUpdate(t) {
|
|
1740
1463
|
t.startObject(3);
|
|
@@ -1753,37 +1476,37 @@ class D {
|
|
|
1753
1476
|
return t.requiredField(e, 4), t.requiredField(e, 6), t.requiredField(e, 8), e;
|
|
1754
1477
|
}
|
|
1755
1478
|
unpack() {
|
|
1756
|
-
return new
|
|
1479
|
+
return new yt(this.id(), this.tag(), this.value() !== null ? this.value().unpack() : null);
|
|
1757
1480
|
}
|
|
1758
1481
|
unpackTo(t) {
|
|
1759
1482
|
t.id = this.id(), t.tag = this.tag(), t.value = this.value() !== null ? this.value().unpack() : null;
|
|
1760
1483
|
}
|
|
1761
1484
|
}
|
|
1762
|
-
class
|
|
1763
|
-
constructor(t = null, e = null,
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
this.id = t, this.tag = e, this.value =
|
|
1485
|
+
class yt {
|
|
1486
|
+
constructor(t = null, e = null, s = null) {
|
|
1487
|
+
a(this, "id");
|
|
1488
|
+
a(this, "tag");
|
|
1489
|
+
a(this, "value");
|
|
1490
|
+
this.id = t, this.tag = e, this.value = s;
|
|
1768
1491
|
}
|
|
1769
1492
|
pack(t) {
|
|
1770
|
-
const e = this.id !== null ? t.createString(this.id) : 0,
|
|
1771
|
-
return
|
|
1493
|
+
const e = this.id !== null ? t.createString(this.id) : 0, s = this.tag !== null ? t.createString(this.tag) : 0, n = this.value !== null ? this.value.pack(t) : 0;
|
|
1494
|
+
return N.startTaggedValueUpdate(t), N.addId(t, e), N.addTag(t, s), N.addValue(t, n), N.endTaggedValueUpdate(t);
|
|
1772
1495
|
}
|
|
1773
1496
|
}
|
|
1774
|
-
class
|
|
1497
|
+
class Z {
|
|
1775
1498
|
constructor() {
|
|
1776
|
-
|
|
1777
|
-
|
|
1499
|
+
a(this, "bb", null);
|
|
1500
|
+
a(this, "bb_pos", 0);
|
|
1778
1501
|
}
|
|
1779
1502
|
__init(t, e) {
|
|
1780
1503
|
return this.bb_pos = t, this.bb = e, this;
|
|
1781
1504
|
}
|
|
1782
1505
|
static getRootAsUniqueFrameLoaded(t, e) {
|
|
1783
|
-
return (e || new
|
|
1506
|
+
return (e || new Z()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
1784
1507
|
}
|
|
1785
1508
|
static getSizePrefixedRootAsUniqueFrameLoaded(t, e) {
|
|
1786
|
-
return t.setPosition(t.position() + f), (e || new
|
|
1509
|
+
return t.setPosition(t.position() + f), (e || new Z()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
1787
1510
|
}
|
|
1788
1511
|
id(t) {
|
|
1789
1512
|
const e = this.bb.__offset(this.bb_pos, 4);
|
|
@@ -1800,38 +1523,38 @@ class st {
|
|
|
1800
1523
|
return t.requiredField(e, 4), e;
|
|
1801
1524
|
}
|
|
1802
1525
|
static createUniqueFrameLoaded(t, e) {
|
|
1803
|
-
return
|
|
1526
|
+
return Z.startUniqueFrameLoaded(t), Z.addId(t, e), Z.endUniqueFrameLoaded(t);
|
|
1804
1527
|
}
|
|
1805
1528
|
unpack() {
|
|
1806
|
-
return new
|
|
1529
|
+
return new It(this.id());
|
|
1807
1530
|
}
|
|
1808
1531
|
unpackTo(t) {
|
|
1809
1532
|
t.id = this.id();
|
|
1810
1533
|
}
|
|
1811
1534
|
}
|
|
1812
|
-
class
|
|
1535
|
+
class It {
|
|
1813
1536
|
constructor(t = null) {
|
|
1814
|
-
|
|
1537
|
+
a(this, "id");
|
|
1815
1538
|
this.id = t;
|
|
1816
1539
|
}
|
|
1817
1540
|
pack(t) {
|
|
1818
1541
|
const e = this.id !== null ? t.createString(this.id) : 0;
|
|
1819
|
-
return
|
|
1542
|
+
return Z.createUniqueFrameLoaded(t, e);
|
|
1820
1543
|
}
|
|
1821
1544
|
}
|
|
1822
|
-
class
|
|
1545
|
+
class X {
|
|
1823
1546
|
constructor() {
|
|
1824
|
-
|
|
1825
|
-
|
|
1547
|
+
a(this, "bb", null);
|
|
1548
|
+
a(this, "bb_pos", 0);
|
|
1826
1549
|
}
|
|
1827
1550
|
__init(t, e) {
|
|
1828
1551
|
return this.bb_pos = t, this.bb = e, this;
|
|
1829
1552
|
}
|
|
1830
1553
|
static getRootAsUniqueFrameSubscribe(t, e) {
|
|
1831
|
-
return (e || new
|
|
1554
|
+
return (e || new X()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
1832
1555
|
}
|
|
1833
1556
|
static getSizePrefixedRootAsUniqueFrameSubscribe(t, e) {
|
|
1834
|
-
return t.setPosition(t.position() + f), (e || new
|
|
1557
|
+
return t.setPosition(t.position() + f), (e || new X()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
1835
1558
|
}
|
|
1836
1559
|
id(t) {
|
|
1837
1560
|
const e = this.bb.__offset(this.bb_pos, 4);
|
|
@@ -1848,38 +1571,38 @@ class it {
|
|
|
1848
1571
|
return t.requiredField(e, 4), e;
|
|
1849
1572
|
}
|
|
1850
1573
|
static createUniqueFrameSubscribe(t, e) {
|
|
1851
|
-
return
|
|
1574
|
+
return X.startUniqueFrameSubscribe(t), X.addId(t, e), X.endUniqueFrameSubscribe(t);
|
|
1852
1575
|
}
|
|
1853
1576
|
unpack() {
|
|
1854
|
-
return new
|
|
1577
|
+
return new wt(this.id());
|
|
1855
1578
|
}
|
|
1856
1579
|
unpackTo(t) {
|
|
1857
1580
|
t.id = this.id();
|
|
1858
1581
|
}
|
|
1859
1582
|
}
|
|
1860
|
-
class
|
|
1583
|
+
class wt {
|
|
1861
1584
|
constructor(t = null) {
|
|
1862
|
-
|
|
1585
|
+
a(this, "id");
|
|
1863
1586
|
this.id = t;
|
|
1864
1587
|
}
|
|
1865
1588
|
pack(t) {
|
|
1866
1589
|
const e = this.id !== null ? t.createString(this.id) : 0;
|
|
1867
|
-
return
|
|
1590
|
+
return X.createUniqueFrameSubscribe(t, e);
|
|
1868
1591
|
}
|
|
1869
1592
|
}
|
|
1870
|
-
class
|
|
1593
|
+
class R {
|
|
1871
1594
|
constructor() {
|
|
1872
|
-
|
|
1873
|
-
|
|
1595
|
+
a(this, "bb", null);
|
|
1596
|
+
a(this, "bb_pos", 0);
|
|
1874
1597
|
}
|
|
1875
1598
|
__init(t, e) {
|
|
1876
1599
|
return this.bb_pos = t, this.bb = e, this;
|
|
1877
1600
|
}
|
|
1878
1601
|
static getRootAsUniqueSignalNotify(t, e) {
|
|
1879
|
-
return (e || new
|
|
1602
|
+
return (e || new R()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
1880
1603
|
}
|
|
1881
1604
|
static getSizePrefixedRootAsUniqueSignalNotify(t, e) {
|
|
1882
|
-
return t.setPosition(t.position() + f), (e || new
|
|
1605
|
+
return t.setPosition(t.position() + f), (e || new R()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
1883
1606
|
}
|
|
1884
1607
|
frameId(t) {
|
|
1885
1608
|
const e = this.bb.__offset(this.bb_pos, 4);
|
|
@@ -1889,16 +1612,20 @@ class A {
|
|
|
1889
1612
|
const e = this.bb.__offset(this.bb_pos, 6);
|
|
1890
1613
|
return e ? this.bb.__string(this.bb_pos + e, t) : null;
|
|
1891
1614
|
}
|
|
1892
|
-
|
|
1615
|
+
value(t) {
|
|
1616
|
+
const e = this.bb.__offset(this.bb_pos, 8);
|
|
1617
|
+
return e ? this.bb.readUint8(this.bb.__vector(this.bb_pos + e) + t) : 0;
|
|
1618
|
+
}
|
|
1619
|
+
valueLength() {
|
|
1893
1620
|
const t = this.bb.__offset(this.bb_pos, 8);
|
|
1894
|
-
return t ? this.bb.
|
|
1621
|
+
return t ? this.bb.__vector_len(this.bb_pos + t) : 0;
|
|
1895
1622
|
}
|
|
1896
|
-
|
|
1897
|
-
const
|
|
1898
|
-
return
|
|
1623
|
+
valueArray() {
|
|
1624
|
+
const t = this.bb.__offset(this.bb_pos, 8);
|
|
1625
|
+
return t ? new Uint8Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + t), this.bb.__vector_len(this.bb_pos + t)) : null;
|
|
1899
1626
|
}
|
|
1900
1627
|
static startUniqueSignalNotify(t) {
|
|
1901
|
-
t.startObject(
|
|
1628
|
+
t.startObject(3);
|
|
1902
1629
|
}
|
|
1903
1630
|
static addFrameId(t, e) {
|
|
1904
1631
|
t.addFieldOffset(0, e, 0);
|
|
@@ -1906,58 +1633,57 @@ class A {
|
|
|
1906
1633
|
static addSignalId(t, e) {
|
|
1907
1634
|
t.addFieldOffset(1, e, 0);
|
|
1908
1635
|
}
|
|
1909
|
-
static addValueType(t, e) {
|
|
1910
|
-
t.addFieldInt8(2, e, l.NONE);
|
|
1911
|
-
}
|
|
1912
1636
|
static addValue(t, e) {
|
|
1913
|
-
t.addFieldOffset(
|
|
1637
|
+
t.addFieldOffset(2, e, 0);
|
|
1638
|
+
}
|
|
1639
|
+
static createValueVector(t, e) {
|
|
1640
|
+
t.startVector(1, e.length, 1);
|
|
1641
|
+
for (let s = e.length - 1; s >= 0; s--)
|
|
1642
|
+
t.addInt8(e[s]);
|
|
1643
|
+
return t.endVector();
|
|
1644
|
+
}
|
|
1645
|
+
static startValueVector(t, e) {
|
|
1646
|
+
t.startVector(1, e, 1);
|
|
1914
1647
|
}
|
|
1915
1648
|
static endUniqueSignalNotify(t) {
|
|
1916
1649
|
const e = t.endObject();
|
|
1917
1650
|
return t.requiredField(e, 4), t.requiredField(e, 6), e;
|
|
1918
1651
|
}
|
|
1919
|
-
static createUniqueSignalNotify(t, e,
|
|
1920
|
-
return
|
|
1652
|
+
static createUniqueSignalNotify(t, e, s, n) {
|
|
1653
|
+
return R.startUniqueSignalNotify(t), R.addFrameId(t, e), R.addSignalId(t, s), R.addValue(t, n), R.endUniqueSignalNotify(t);
|
|
1921
1654
|
}
|
|
1922
1655
|
unpack() {
|
|
1923
|
-
return new
|
|
1924
|
-
const t = ut(this.valueType(), this.value.bind(this));
|
|
1925
|
-
return t === null ? null : t.unpack();
|
|
1926
|
-
})());
|
|
1656
|
+
return new Lt(this.frameId(), this.signalId(), this.bb.createScalarList(this.value.bind(this), this.valueLength()));
|
|
1927
1657
|
}
|
|
1928
1658
|
unpackTo(t) {
|
|
1929
|
-
t.frameId = this.frameId(), t.signalId = this.signalId(), t.
|
|
1930
|
-
const e = ut(this.valueType(), this.value.bind(this));
|
|
1931
|
-
return e === null ? null : e.unpack();
|
|
1932
|
-
})();
|
|
1659
|
+
t.frameId = this.frameId(), t.signalId = this.signalId(), t.value = this.bb.createScalarList(this.value.bind(this), this.valueLength());
|
|
1933
1660
|
}
|
|
1934
1661
|
}
|
|
1935
|
-
class
|
|
1936
|
-
constructor(t = null, e = null,
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
this.frameId = t, this.signalId = e, this.valueType = i, this.value = a;
|
|
1662
|
+
class Lt {
|
|
1663
|
+
constructor(t = null, e = null, s = []) {
|
|
1664
|
+
a(this, "frameId");
|
|
1665
|
+
a(this, "signalId");
|
|
1666
|
+
a(this, "value");
|
|
1667
|
+
this.frameId = t, this.signalId = e, this.value = s;
|
|
1942
1668
|
}
|
|
1943
1669
|
pack(t) {
|
|
1944
|
-
const e = this.frameId !== null ? t.createString(this.frameId) : 0,
|
|
1945
|
-
return
|
|
1670
|
+
const e = this.frameId !== null ? t.createString(this.frameId) : 0, s = this.signalId !== null ? t.createString(this.signalId) : 0, n = R.createValueVector(t, this.value);
|
|
1671
|
+
return R.createUniqueSignalNotify(t, e, s, n);
|
|
1946
1672
|
}
|
|
1947
1673
|
}
|
|
1948
|
-
class
|
|
1674
|
+
class $ {
|
|
1949
1675
|
constructor() {
|
|
1950
|
-
|
|
1951
|
-
|
|
1676
|
+
a(this, "bb", null);
|
|
1677
|
+
a(this, "bb_pos", 0);
|
|
1952
1678
|
}
|
|
1953
1679
|
__init(t, e) {
|
|
1954
1680
|
return this.bb_pos = t, this.bb = e, this;
|
|
1955
1681
|
}
|
|
1956
1682
|
static getRootAsUniqueSignalRequest(t, e) {
|
|
1957
|
-
return (e || new
|
|
1683
|
+
return (e || new $()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
1958
1684
|
}
|
|
1959
1685
|
static getSizePrefixedRootAsUniqueSignalRequest(t, e) {
|
|
1960
|
-
return t.setPosition(t.position() + f), (e || new
|
|
1686
|
+
return t.setPosition(t.position() + f), (e || new $()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
1961
1687
|
}
|
|
1962
1688
|
id(t) {
|
|
1963
1689
|
const e = this.bb.__offset(this.bb_pos, 4);
|
|
@@ -1974,46 +1700,46 @@ class nt {
|
|
|
1974
1700
|
return t.requiredField(e, 4), e;
|
|
1975
1701
|
}
|
|
1976
1702
|
static createUniqueSignalRequest(t, e) {
|
|
1977
|
-
return
|
|
1703
|
+
return $.startUniqueSignalRequest(t), $.addId(t, e), $.endUniqueSignalRequest(t);
|
|
1978
1704
|
}
|
|
1979
1705
|
unpack() {
|
|
1980
|
-
return new
|
|
1706
|
+
return new Ct(this.id());
|
|
1981
1707
|
}
|
|
1982
1708
|
unpackTo(t) {
|
|
1983
1709
|
t.id = this.id();
|
|
1984
1710
|
}
|
|
1985
1711
|
}
|
|
1986
|
-
class
|
|
1712
|
+
class Ct {
|
|
1987
1713
|
constructor(t = null) {
|
|
1988
|
-
|
|
1714
|
+
a(this, "id");
|
|
1989
1715
|
this.id = t;
|
|
1990
1716
|
}
|
|
1991
1717
|
pack(t) {
|
|
1992
1718
|
const e = this.id !== null ? t.createString(this.id) : 0;
|
|
1993
|
-
return
|
|
1719
|
+
return $.createUniqueSignalRequest(t, e);
|
|
1994
1720
|
}
|
|
1995
1721
|
}
|
|
1996
|
-
class
|
|
1722
|
+
class k {
|
|
1997
1723
|
constructor() {
|
|
1998
|
-
|
|
1999
|
-
|
|
1724
|
+
a(this, "bb", null);
|
|
1725
|
+
a(this, "bb_pos", 0);
|
|
2000
1726
|
}
|
|
2001
1727
|
__init(t, e) {
|
|
2002
1728
|
return this.bb_pos = t, this.bb = e, this;
|
|
2003
1729
|
}
|
|
2004
1730
|
static getRootAsUniqueSignalResponse(t, e) {
|
|
2005
|
-
return (e || new
|
|
1731
|
+
return (e || new k()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
2006
1732
|
}
|
|
2007
1733
|
static getSizePrefixedRootAsUniqueSignalResponse(t, e) {
|
|
2008
|
-
return t.setPosition(t.position() + f), (e || new
|
|
1734
|
+
return t.setPosition(t.position() + f), (e || new k()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
2009
1735
|
}
|
|
2010
1736
|
id(t) {
|
|
2011
1737
|
const e = this.bb.__offset(this.bb_pos, 4);
|
|
2012
1738
|
return e ? this.bb.__string(this.bb_pos + e, t) : null;
|
|
2013
1739
|
}
|
|
2014
1740
|
signals(t, e) {
|
|
2015
|
-
const
|
|
2016
|
-
return
|
|
1741
|
+
const s = this.bb.__offset(this.bb_pos, 6);
|
|
1742
|
+
return s ? (e || new x()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos + s) + t * 4), this.bb) : null;
|
|
2017
1743
|
}
|
|
2018
1744
|
signalsLength() {
|
|
2019
1745
|
const t = this.bb.__offset(this.bb_pos, 6);
|
|
@@ -2030,8 +1756,8 @@ class B {
|
|
|
2030
1756
|
}
|
|
2031
1757
|
static createSignalsVector(t, e) {
|
|
2032
1758
|
t.startVector(4, e.length, 4);
|
|
2033
|
-
for (let
|
|
2034
|
-
t.addOffset(e[
|
|
1759
|
+
for (let s = e.length - 1; s >= 0; s--)
|
|
1760
|
+
t.addOffset(e[s]);
|
|
2035
1761
|
return t.endVector();
|
|
2036
1762
|
}
|
|
2037
1763
|
static startSignalsVector(t, e) {
|
|
@@ -2041,40 +1767,40 @@ class B {
|
|
|
2041
1767
|
const e = t.endObject();
|
|
2042
1768
|
return t.requiredField(e, 4), t.requiredField(e, 6), e;
|
|
2043
1769
|
}
|
|
2044
|
-
static createUniqueSignalResponse(t, e,
|
|
2045
|
-
return
|
|
1770
|
+
static createUniqueSignalResponse(t, e, s) {
|
|
1771
|
+
return k.startUniqueSignalResponse(t), k.addId(t, e), k.addSignals(t, s), k.endUniqueSignalResponse(t);
|
|
2046
1772
|
}
|
|
2047
1773
|
unpack() {
|
|
2048
|
-
return new
|
|
1774
|
+
return new Kt(this.id(), this.bb.createObjList(this.signals.bind(this), this.signalsLength()));
|
|
2049
1775
|
}
|
|
2050
1776
|
unpackTo(t) {
|
|
2051
1777
|
t.id = this.id(), t.signals = this.bb.createObjList(this.signals.bind(this), this.signalsLength());
|
|
2052
1778
|
}
|
|
2053
1779
|
}
|
|
2054
|
-
class
|
|
1780
|
+
class Kt {
|
|
2055
1781
|
constructor(t = null, e = []) {
|
|
2056
|
-
|
|
2057
|
-
|
|
1782
|
+
a(this, "id");
|
|
1783
|
+
a(this, "signals");
|
|
2058
1784
|
this.id = t, this.signals = e;
|
|
2059
1785
|
}
|
|
2060
1786
|
pack(t) {
|
|
2061
|
-
const e = this.id !== null ? t.createString(this.id) : 0,
|
|
2062
|
-
return
|
|
1787
|
+
const e = this.id !== null ? t.createString(this.id) : 0, s = k.createSignalsVector(t, t.createObjectOffsetList(this.signals));
|
|
1788
|
+
return k.createUniqueSignalResponse(t, e, s);
|
|
2063
1789
|
}
|
|
2064
1790
|
}
|
|
2065
|
-
class
|
|
1791
|
+
class J {
|
|
2066
1792
|
constructor() {
|
|
2067
|
-
|
|
2068
|
-
|
|
1793
|
+
a(this, "bb", null);
|
|
1794
|
+
a(this, "bb_pos", 0);
|
|
2069
1795
|
}
|
|
2070
1796
|
__init(t, e) {
|
|
2071
1797
|
return this.bb_pos = t, this.bb = e, this;
|
|
2072
1798
|
}
|
|
2073
1799
|
static getRootAsUniqueValueRequest(t, e) {
|
|
2074
|
-
return (e || new
|
|
1800
|
+
return (e || new J()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
2075
1801
|
}
|
|
2076
1802
|
static getSizePrefixedRootAsUniqueValueRequest(t, e) {
|
|
2077
|
-
return t.setPosition(t.position() + f), (e || new
|
|
1803
|
+
return t.setPosition(t.position() + f), (e || new J()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
2078
1804
|
}
|
|
2079
1805
|
id(t) {
|
|
2080
1806
|
const e = this.bb.__offset(this.bb_pos, 4);
|
|
@@ -2091,46 +1817,46 @@ class at {
|
|
|
2091
1817
|
return t.requiredField(e, 4), e;
|
|
2092
1818
|
}
|
|
2093
1819
|
static createUniqueValueRequest(t, e) {
|
|
2094
|
-
return
|
|
1820
|
+
return J.startUniqueValueRequest(t), J.addId(t, e), J.endUniqueValueRequest(t);
|
|
2095
1821
|
}
|
|
2096
1822
|
unpack() {
|
|
2097
|
-
return new
|
|
1823
|
+
return new jt(this.id());
|
|
2098
1824
|
}
|
|
2099
1825
|
unpackTo(t) {
|
|
2100
1826
|
t.id = this.id();
|
|
2101
1827
|
}
|
|
2102
1828
|
}
|
|
2103
|
-
class
|
|
1829
|
+
class jt {
|
|
2104
1830
|
constructor(t = null) {
|
|
2105
|
-
|
|
1831
|
+
a(this, "id");
|
|
2106
1832
|
this.id = t;
|
|
2107
1833
|
}
|
|
2108
1834
|
pack(t) {
|
|
2109
1835
|
const e = this.id !== null ? t.createString(this.id) : 0;
|
|
2110
|
-
return
|
|
1836
|
+
return J.createUniqueValueRequest(t, e);
|
|
2111
1837
|
}
|
|
2112
1838
|
}
|
|
2113
|
-
class
|
|
1839
|
+
class A {
|
|
2114
1840
|
constructor() {
|
|
2115
|
-
|
|
2116
|
-
|
|
1841
|
+
a(this, "bb", null);
|
|
1842
|
+
a(this, "bb_pos", 0);
|
|
2117
1843
|
}
|
|
2118
1844
|
__init(t, e) {
|
|
2119
1845
|
return this.bb_pos = t, this.bb = e, this;
|
|
2120
1846
|
}
|
|
2121
1847
|
static getRootAsUniqueValueResponse(t, e) {
|
|
2122
|
-
return (e || new
|
|
1848
|
+
return (e || new A()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
2123
1849
|
}
|
|
2124
1850
|
static getSizePrefixedRootAsUniqueValueResponse(t, e) {
|
|
2125
|
-
return t.setPosition(t.position() + f), (e || new
|
|
1851
|
+
return t.setPosition(t.position() + f), (e || new A()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
2126
1852
|
}
|
|
2127
1853
|
id(t) {
|
|
2128
1854
|
const e = this.bb.__offset(this.bb_pos, 4);
|
|
2129
1855
|
return e ? this.bb.__string(this.bb_pos + e, t) : null;
|
|
2130
1856
|
}
|
|
2131
1857
|
values(t, e) {
|
|
2132
|
-
const
|
|
2133
|
-
return
|
|
1858
|
+
const s = this.bb.__offset(this.bb_pos, 6);
|
|
1859
|
+
return s ? (e || new v()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos + s) + t * 4), this.bb) : null;
|
|
2134
1860
|
}
|
|
2135
1861
|
valuesLength() {
|
|
2136
1862
|
const t = this.bb.__offset(this.bb_pos, 6);
|
|
@@ -2147,8 +1873,8 @@ class C {
|
|
|
2147
1873
|
}
|
|
2148
1874
|
static createValuesVector(t, e) {
|
|
2149
1875
|
t.startVector(4, e.length, 4);
|
|
2150
|
-
for (let
|
|
2151
|
-
t.addOffset(e[
|
|
1876
|
+
for (let s = e.length - 1; s >= 0; s--)
|
|
1877
|
+
t.addOffset(e[s]);
|
|
2152
1878
|
return t.endVector();
|
|
2153
1879
|
}
|
|
2154
1880
|
static startValuesVector(t, e) {
|
|
@@ -2158,40 +1884,40 @@ class C {
|
|
|
2158
1884
|
const e = t.endObject();
|
|
2159
1885
|
return t.requiredField(e, 4), t.requiredField(e, 6), e;
|
|
2160
1886
|
}
|
|
2161
|
-
static createUniqueValueResponse(t, e,
|
|
2162
|
-
return
|
|
1887
|
+
static createUniqueValueResponse(t, e, s) {
|
|
1888
|
+
return A.startUniqueValueResponse(t), A.addId(t, e), A.addValues(t, s), A.endUniqueValueResponse(t);
|
|
2163
1889
|
}
|
|
2164
1890
|
unpack() {
|
|
2165
|
-
return new
|
|
1891
|
+
return new Qt(this.id(), this.bb.createObjList(this.values.bind(this), this.valuesLength()));
|
|
2166
1892
|
}
|
|
2167
1893
|
unpackTo(t) {
|
|
2168
1894
|
t.id = this.id(), t.values = this.bb.createObjList(this.values.bind(this), this.valuesLength());
|
|
2169
1895
|
}
|
|
2170
1896
|
}
|
|
2171
|
-
class
|
|
1897
|
+
class Qt {
|
|
2172
1898
|
constructor(t = null, e = []) {
|
|
2173
|
-
|
|
2174
|
-
|
|
1899
|
+
a(this, "id");
|
|
1900
|
+
a(this, "values");
|
|
2175
1901
|
this.id = t, this.values = e;
|
|
2176
1902
|
}
|
|
2177
1903
|
pack(t) {
|
|
2178
|
-
const e = this.id !== null ? t.createString(this.id) : 0,
|
|
2179
|
-
return
|
|
1904
|
+
const e = this.id !== null ? t.createString(this.id) : 0, s = A.createValuesVector(t, t.createObjectOffsetList(this.values));
|
|
1905
|
+
return A.createUniqueValueResponse(t, e, s);
|
|
2180
1906
|
}
|
|
2181
1907
|
}
|
|
2182
|
-
class
|
|
1908
|
+
class Y {
|
|
2183
1909
|
constructor() {
|
|
2184
|
-
|
|
2185
|
-
|
|
1910
|
+
a(this, "bb", null);
|
|
1911
|
+
a(this, "bb_pos", 0);
|
|
2186
1912
|
}
|
|
2187
1913
|
__init(t, e) {
|
|
2188
1914
|
return this.bb_pos = t, this.bb = e, this;
|
|
2189
1915
|
}
|
|
2190
1916
|
static getRootAsUniqueValueUpdate(t, e) {
|
|
2191
|
-
return (e || new
|
|
1917
|
+
return (e || new Y()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
2192
1918
|
}
|
|
2193
1919
|
static getSizePrefixedRootAsUniqueValueUpdate(t, e) {
|
|
2194
|
-
return t.setPosition(t.position() + f), (e || new
|
|
1920
|
+
return t.setPosition(t.position() + f), (e || new Y()).__init(t.readInt32(t.position()) + t.position(), t);
|
|
2195
1921
|
}
|
|
2196
1922
|
id(t) {
|
|
2197
1923
|
const e = this.bb.__offset(this.bb_pos, 4);
|
|
@@ -2199,7 +1925,7 @@ class tt {
|
|
|
2199
1925
|
}
|
|
2200
1926
|
value(t) {
|
|
2201
1927
|
const e = this.bb.__offset(this.bb_pos, 6);
|
|
2202
|
-
return e ? (t || new
|
|
1928
|
+
return e ? (t || new v()).__init(this.bb.__indirect(this.bb_pos + e), this.bb) : null;
|
|
2203
1929
|
}
|
|
2204
1930
|
static startUniqueValueUpdate(t) {
|
|
2205
1931
|
t.startObject(2);
|
|
@@ -2215,339 +1941,283 @@ class tt {
|
|
|
2215
1941
|
return t.requiredField(e, 4), t.requiredField(e, 6), e;
|
|
2216
1942
|
}
|
|
2217
1943
|
unpack() {
|
|
2218
|
-
return new
|
|
1944
|
+
return new Pt(this.id(), this.value() !== null ? this.value().unpack() : null);
|
|
2219
1945
|
}
|
|
2220
1946
|
unpackTo(t) {
|
|
2221
1947
|
t.id = this.id(), t.value = this.value() !== null ? this.value().unpack() : null;
|
|
2222
1948
|
}
|
|
2223
1949
|
}
|
|
2224
|
-
class
|
|
1950
|
+
class Pt {
|
|
2225
1951
|
constructor(t = null, e = null) {
|
|
2226
|
-
|
|
2227
|
-
|
|
1952
|
+
a(this, "id");
|
|
1953
|
+
a(this, "value");
|
|
2228
1954
|
this.id = t, this.value = e;
|
|
2229
1955
|
}
|
|
2230
1956
|
pack(t) {
|
|
2231
|
-
const e = this.id !== null ? t.createString(this.id) : 0,
|
|
2232
|
-
return
|
|
1957
|
+
const e = this.id !== null ? t.createString(this.id) : 0, s = this.value !== null ? this.value.pack(t) : 0;
|
|
1958
|
+
return Y.startUniqueValueUpdate(t), Y.addId(t, e), Y.addValue(t, s), Y.endUniqueValueUpdate(t);
|
|
2233
1959
|
}
|
|
2234
1960
|
}
|
|
2235
|
-
const
|
|
2236
|
-
const
|
|
2237
|
-
|
|
1961
|
+
const Mt = async (i) => new Promise((t, e) => {
|
|
1962
|
+
const s = new Zt();
|
|
1963
|
+
s.postMessage({
|
|
2238
1964
|
type: "init",
|
|
2239
|
-
host:
|
|
2240
|
-
id:
|
|
2241
|
-
cdn_url:
|
|
2242
|
-
tag:
|
|
2243
|
-
}),
|
|
2244
|
-
if (
|
|
2245
|
-
if (
|
|
2246
|
-
const r = new
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
1965
|
+
host: i.host,
|
|
1966
|
+
id: i.id,
|
|
1967
|
+
cdn_url: i.cdn_url,
|
|
1968
|
+
tag: i.tag
|
|
1969
|
+
}), s.addEventListener("message", async (n) => {
|
|
1970
|
+
if (n.data.ok) {
|
|
1971
|
+
if (n.data.files) {
|
|
1972
|
+
const r = new O(), o = new Ot(
|
|
1973
|
+
i.id,
|
|
1974
|
+
n.data.target,
|
|
1975
|
+
n.data.full_target,
|
|
1976
|
+
n.data.code,
|
|
1977
|
+
n.data.files.map((h) => new Vt(h.target, h.metadata))
|
|
2252
1978
|
);
|
|
2253
|
-
r.finish(o.pack(r)),
|
|
2254
|
-
|
|
2255
|
-
|
|
1979
|
+
r.finish(o.pack(r)), bt(
|
|
1980
|
+
i.host,
|
|
1981
|
+
i.tag != null ? u.Client_Tagged_FrameCache : u.Client_Unique_FrameCache,
|
|
2256
1982
|
r.asUint8Array()
|
|
2257
1983
|
);
|
|
2258
1984
|
}
|
|
2259
1985
|
t(await import(
|
|
2260
1986
|
/* @vite-ignore */
|
|
2261
|
-
|
|
1987
|
+
n.data.code
|
|
2262
1988
|
));
|
|
2263
1989
|
} else
|
|
2264
|
-
e(
|
|
2265
|
-
|
|
1990
|
+
e(n.data.err);
|
|
1991
|
+
s.terminate();
|
|
2266
1992
|
});
|
|
2267
|
-
}),
|
|
2268
|
-
},
|
|
2269
|
-
|
|
2270
|
-
return t;
|
|
2271
|
-
if (s == l.ValueNumber)
|
|
2272
|
-
return Number(t);
|
|
2273
|
-
if (s == l.ValueDouble || s == l.ValueString)
|
|
2274
|
-
return t;
|
|
2275
|
-
if (s == l.ValueBuffer)
|
|
2276
|
-
return new Uint8Array(t);
|
|
2277
|
-
}, Kt = (s, t) => {
|
|
2278
|
-
if (s == l.ValueBoolean)
|
|
2279
|
-
return new Lt(t);
|
|
2280
|
-
if (s == l.ValueNumber)
|
|
2281
|
-
return new Et(BigInt(t));
|
|
2282
|
-
if (s == l.ValueDouble)
|
|
2283
|
-
return new xt(t);
|
|
2284
|
-
if (s == l.ValueString)
|
|
2285
|
-
return new zt(t);
|
|
2286
|
-
if (s == l.ValueBuffer)
|
|
2287
|
-
return new Pt(Array.from(t));
|
|
2288
|
-
}, Qt = async ({
|
|
2289
|
-
id: s,
|
|
1993
|
+
}), mt = (i) => {
|
|
1994
|
+
}, te = (i) => new Uint8Array(i ?? []), xt = (i) => i ? Array.from(i) : Array(), Nt = async ({
|
|
1995
|
+
id: i,
|
|
2290
1996
|
tag: t,
|
|
2291
1997
|
host: e,
|
|
2292
|
-
service:
|
|
1998
|
+
service: s
|
|
2293
1999
|
}) => {
|
|
2294
|
-
const
|
|
2000
|
+
const n = await Ut(
|
|
2295
2001
|
e,
|
|
2296
|
-
t != null ?
|
|
2002
|
+
t != null ? u.Client_Tagged_Value_Request : u.Client_Unique_Value_Request,
|
|
2297
2003
|
(() => {
|
|
2298
|
-
const c = new
|
|
2004
|
+
const c = new O(), d = t != null ? new kt(i, t) : new jt(i);
|
|
2299
2005
|
return c.finish(d.pack(c)), c.asUint8Array();
|
|
2300
2006
|
})(),
|
|
2301
2007
|
t != null ? (c, d) => {
|
|
2302
|
-
if (c ===
|
|
2303
|
-
const
|
|
2304
|
-
new
|
|
2008
|
+
if (c === u.Server_Tagged_Value_Response) {
|
|
2009
|
+
const _ = V.getRootAsTaggedValueResponse(
|
|
2010
|
+
new L(d)
|
|
2305
2011
|
);
|
|
2306
|
-
if (
|
|
2307
|
-
return
|
|
2012
|
+
if (_.id() === i && t === _.tag())
|
|
2013
|
+
return _;
|
|
2308
2014
|
}
|
|
2309
2015
|
} : (c, d) => {
|
|
2310
|
-
if (c ===
|
|
2311
|
-
const
|
|
2312
|
-
new
|
|
2016
|
+
if (c === u.Server_Unique_Value_Response) {
|
|
2017
|
+
const _ = A.getRootAsUniqueValueResponse(
|
|
2018
|
+
new L(d)
|
|
2313
2019
|
);
|
|
2314
|
-
if (
|
|
2315
|
-
return
|
|
2020
|
+
if (_.id() === i)
|
|
2021
|
+
return _;
|
|
2316
2022
|
}
|
|
2317
2023
|
}
|
|
2318
|
-
), r =
|
|
2319
|
-
[l.ValueBoolean]: /* @__PURE__ */ new Map(),
|
|
2320
|
-
[l.ValueNumber]: /* @__PURE__ */ new Map(),
|
|
2321
|
-
[l.ValueDouble]: /* @__PURE__ */ new Map(),
|
|
2322
|
-
[l.ValueString]: /* @__PURE__ */ new Map(),
|
|
2323
|
-
[l.ValueBuffer]: /* @__PURE__ */ new Map()
|
|
2324
|
-
};
|
|
2024
|
+
), r = /* @__PURE__ */ new Map();
|
|
2325
2025
|
let o = !1;
|
|
2326
|
-
const h =
|
|
2026
|
+
const h = n.valuesLength();
|
|
2327
2027
|
for (let c = 0; c < h; ++c) {
|
|
2328
|
-
const d =
|
|
2329
|
-
|
|
2330
|
-
if (
|
|
2028
|
+
const d = n.values(c), _ = d.id(), F = dt(te(d.unpack().value));
|
|
2029
|
+
F.subscribe((m) => {
|
|
2030
|
+
if (m == null || o)
|
|
2331
2031
|
return;
|
|
2332
|
-
const
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
const m = t !== null ? D.getRootAsTaggedValueUpdate(new P(F)) : tt.getRootAsUniqueValueUpdate(new P(F));
|
|
2347
|
-
if (m.id() === s && (t == null || t === m.tag())) {
|
|
2032
|
+
const I = new O(), B = t != null ? new yt(i, t) : new Pt(i);
|
|
2033
|
+
B.value = new At(
|
|
2034
|
+
_,
|
|
2035
|
+
xt(m)
|
|
2036
|
+
), I.finish(B.pack(I));
|
|
2037
|
+
const b = t != null ? u.Tagged_Value_Update : u.Unique_Value_Update;
|
|
2038
|
+
s.publish(st([et(b), I.asUint8Array()]));
|
|
2039
|
+
}), r.set(_, F);
|
|
2040
|
+
}
|
|
2041
|
+
return s.on_message((c, d) => {
|
|
2042
|
+
const _ = new DataView(d.buffer).getUint32(0, !1), F = d.slice(4), m = t != null ? u.Tagged_Value_Update : u.Unique_Value_Update;
|
|
2043
|
+
if (_ === m) {
|
|
2044
|
+
const I = t !== null ? N.getRootAsTaggedValueUpdate(new L(F)) : Y.getRootAsUniqueValueUpdate(new L(F));
|
|
2045
|
+
if (I.id() === i && (t == null || t === I.tag())) {
|
|
2348
2046
|
o = !0;
|
|
2349
|
-
const
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
else {
|
|
2360
|
-
const ie = G.length;
|
|
2361
|
-
for (let pt = 0; pt < ie; pt++)
|
|
2362
|
-
if (G[pt] !== Rt[pt]) {
|
|
2363
|
-
gt = !1;
|
|
2364
|
-
break;
|
|
2365
|
-
}
|
|
2047
|
+
const B = I.value().id(), b = r.get(B), C = new Uint8Array(I.unpack().value.value), tt = qt(b);
|
|
2048
|
+
let ot = !0;
|
|
2049
|
+
if (C.length != tt.length)
|
|
2050
|
+
ot = !1;
|
|
2051
|
+
else {
|
|
2052
|
+
const Gt = C.length;
|
|
2053
|
+
for (let at = 0; at < Gt; at++)
|
|
2054
|
+
if (C[at] !== tt[at]) {
|
|
2055
|
+
ot = !1;
|
|
2056
|
+
break;
|
|
2366
2057
|
}
|
|
2367
|
-
gt || I == null || I.set(G);
|
|
2368
|
-
} else p === l.ValueNumber ? I == null || I.set(new Number(m.unpack().value.value.value)) : I == null || I.set(m.unpack().value.value.value);
|
|
2369
2058
|
}
|
|
2370
|
-
o = !1;
|
|
2059
|
+
ot || b == null || b.set(C), o = !1;
|
|
2371
2060
|
}
|
|
2372
2061
|
}
|
|
2373
2062
|
}), r;
|
|
2374
|
-
},
|
|
2375
|
-
id:
|
|
2063
|
+
}, Bt = async ({
|
|
2064
|
+
id: i,
|
|
2376
2065
|
tag: t,
|
|
2377
2066
|
host: e,
|
|
2378
|
-
service:
|
|
2067
|
+
service: s
|
|
2379
2068
|
}) => {
|
|
2380
|
-
const
|
|
2069
|
+
const n = await Ut(
|
|
2381
2070
|
e,
|
|
2382
|
-
t != null ?
|
|
2071
|
+
t != null ? u.Client_Tagged_Signal_Request : u.Client_Unique_Signal_Request,
|
|
2383
2072
|
(() => {
|
|
2384
|
-
const h = new
|
|
2073
|
+
const h = new O(), c = t != null ? new Tt(i, t) : new Ct(i);
|
|
2385
2074
|
return h.finish(c.pack(h)), h.asUint8Array();
|
|
2386
2075
|
})(),
|
|
2387
2076
|
(h, c) => {
|
|
2388
2077
|
if (t != null) {
|
|
2389
|
-
if (h ===
|
|
2390
|
-
return
|
|
2391
|
-
} else if (h ===
|
|
2392
|
-
return
|
|
2078
|
+
if (h === u.Server_Tagged_Signal_Response)
|
|
2079
|
+
return U.getRootAsTaggedSignalResponse(new L(c));
|
|
2080
|
+
} else if (h === u.Server_Unique_Signal_Response)
|
|
2081
|
+
return k.getRootAsUniqueSignalResponse(new L(c));
|
|
2393
2082
|
}
|
|
2394
|
-
), r =
|
|
2395
|
-
/* @__PURE__ */ new Map(),
|
|
2396
|
-
/* @__PURE__ */ new Map(),
|
|
2397
|
-
/* @__PURE__ */ new Map(),
|
|
2398
|
-
/* @__PURE__ */ new Map(),
|
|
2399
|
-
/* @__PURE__ */ new Map(),
|
|
2400
|
-
/* @__PURE__ */ new Map()
|
|
2401
|
-
], o = a.signalsLength();
|
|
2083
|
+
), r = /* @__PURE__ */ new Map(), o = n.signalsLength();
|
|
2402
2084
|
for (let h = 0; h < o; ++h) {
|
|
2403
|
-
const
|
|
2404
|
-
r
|
|
2405
|
-
const
|
|
2406
|
-
|
|
2407
|
-
const
|
|
2408
|
-
|
|
2085
|
+
const d = n.signals(h).id();
|
|
2086
|
+
r.set(d, (_) => {
|
|
2087
|
+
const F = new O(), m = xt(_), I = t != null ? new Rt(i, t, d, m) : new Lt(i, d, m);
|
|
2088
|
+
F.finish(I.pack(F));
|
|
2089
|
+
const B = t != null ? u.Client_Tagged_Signal_Notify : u.Client_Unique_Signal_Notify;
|
|
2090
|
+
s.publish(st([et(B), F.asUint8Array()]));
|
|
2409
2091
|
});
|
|
2410
2092
|
}
|
|
2411
2093
|
return r;
|
|
2412
|
-
},
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
}), ee = (s) =>
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
const i = s[T.Buffer].get(t);
|
|
2446
|
-
return i != null ? (a) => i(e(a)) : ct;
|
|
2447
|
-
}
|
|
2448
|
-
}), pe = async (s, t, e, i, a, r) => {
|
|
2449
|
-
await re(s);
|
|
2450
|
-
const o = new ft(s), [h, c, { nil_xit_fn: d }] = await Promise.all([
|
|
2451
|
-
Qt({ id: t, tag: e, host: s, service: o }),
|
|
2452
|
-
Mt({ id: t, tag: e, host: s, service: o }),
|
|
2453
|
-
_e({ host: s, cdn_url: i, id: t, tag: e })
|
|
2454
|
-
]), b = {
|
|
2455
|
-
svelte: () => import("./svelte/index.js").then((p) => p.b_),
|
|
2456
|
-
"svelte/store": () => import("./svelte/store.js").then((p) => p.a),
|
|
2094
|
+
}, zt = (i) => ((t, e, s) => {
|
|
2095
|
+
if (s == null)
|
|
2096
|
+
return i.get(t) ?? dt(e);
|
|
2097
|
+
const n = i.get(t);
|
|
2098
|
+
if (n != null) {
|
|
2099
|
+
let r = qt(n), o = s.decode(r);
|
|
2100
|
+
return {
|
|
2101
|
+
set: (h) => {
|
|
2102
|
+
o = h, r = s.encode(o), n.set(r);
|
|
2103
|
+
},
|
|
2104
|
+
subscribe: (h) => n.subscribe((c) => {
|
|
2105
|
+
c !== r && (r = c, o = s.decode(r)), h(o);
|
|
2106
|
+
}),
|
|
2107
|
+
update: (h) => {
|
|
2108
|
+
n.update((c) => (o = h(o), r = s.encode(o), r));
|
|
2109
|
+
}
|
|
2110
|
+
};
|
|
2111
|
+
}
|
|
2112
|
+
return dt(e);
|
|
2113
|
+
}), Et = (i) => ((t, e) => {
|
|
2114
|
+
if (e == null)
|
|
2115
|
+
return i.get(t) ?? mt;
|
|
2116
|
+
const s = i.get(t);
|
|
2117
|
+
return s != null ? (n) => s(e(n)) : mt;
|
|
2118
|
+
}), ee = async (i, t, e, s, n, r) => {
|
|
2119
|
+
await Yt(i);
|
|
2120
|
+
const o = new nt(i), [h, c, { nil_xit_fn: d }] = await Promise.all([
|
|
2121
|
+
Nt({ id: t, tag: e, host: i, service: o }),
|
|
2122
|
+
Bt({ id: t, tag: e, host: i, service: o }),
|
|
2123
|
+
Mt({ host: i, cdn_url: s, id: t, tag: e })
|
|
2124
|
+
]), _ = {
|
|
2125
|
+
svelte: () => import("./svelte/index.js"),
|
|
2126
|
+
"svelte/store": () => import("./svelte/store.js").then((b) => b.cH),
|
|
2457
2127
|
"svelte/animate": () => import("./svelte/animate.js"),
|
|
2458
2128
|
"svelte/reactivity": () => import("./svelte/reactivity.js"),
|
|
2459
2129
|
"svelte/easing": () => import("./svelte/easing.js"),
|
|
2460
2130
|
"svelte/events": () => import("./svelte/events.js"),
|
|
2461
|
-
"svelte/motion": () => import("./svelte/motion.js")
|
|
2131
|
+
"svelte/motion": () => import("./svelte/motion.js"),
|
|
2462
2132
|
"svelte/transition": () => import("./svelte/transition.js"),
|
|
2463
2133
|
// @ts-ignore
|
|
2464
2134
|
"svelte/internal/disclose-version": () => import("./svelte/internal/disclose-version.js"),
|
|
2465
2135
|
// @ts-ignore
|
|
2466
|
-
"svelte/internal/client": () => import("./svelte/internal/client.js")
|
|
2467
|
-
}, F = (
|
|
2136
|
+
"svelte/internal/client": () => import("./svelte/internal/client.js").then((b) => b.i)
|
|
2137
|
+
}, F = (b) => b in _ ? _[b]() : import(
|
|
2468
2138
|
/* @vite-ignore */
|
|
2469
|
-
|
|
2470
|
-
), { action:
|
|
2139
|
+
b
|
|
2140
|
+
), { action: m } = await d(F);
|
|
2471
2141
|
o.on_connect(() => {
|
|
2472
|
-
const
|
|
2473
|
-
|
|
2474
|
-
const
|
|
2475
|
-
o.publish(
|
|
2142
|
+
const b = new O(), C = e != null ? new pt(t, e) : new wt(t);
|
|
2143
|
+
b.finish(C.pack(b));
|
|
2144
|
+
const tt = e != null ? u.Client_Tagged_Frame_Subscribe : u.Client_Unique_Frame_Subscribe;
|
|
2145
|
+
o.publish(st([et(tt), b.asUint8Array()]));
|
|
2476
2146
|
}), o.start();
|
|
2477
|
-
const
|
|
2478
|
-
return
|
|
2479
|
-
|
|
2480
|
-
e != null ?
|
|
2481
|
-
|
|
2482
|
-
), (
|
|
2483
|
-
const
|
|
2484
|
-
|
|
2485
|
-
values:
|
|
2486
|
-
signals:
|
|
2147
|
+
const I = new O(), B = e != null ? new gt(t, e) : new It(t);
|
|
2148
|
+
return I.finish(B.pack(I)), bt(
|
|
2149
|
+
i,
|
|
2150
|
+
e != null ? u.Client_Tagged_Frame_Loaded : u.Client_Unique_Frame_Loaded,
|
|
2151
|
+
I.asUint8Array()
|
|
2152
|
+
), (b) => {
|
|
2153
|
+
const C = /* @__PURE__ */ new Map();
|
|
2154
|
+
C.set("nil.xit", {
|
|
2155
|
+
values: zt(h),
|
|
2156
|
+
signals: Et(c),
|
|
2487
2157
|
resub: () => o.start(),
|
|
2488
2158
|
unsub: () => o.stop(),
|
|
2489
2159
|
id: t,
|
|
2490
2160
|
tag: e,
|
|
2491
|
-
load_frame_ui:
|
|
2161
|
+
load_frame_ui: n,
|
|
2492
2162
|
load_frame_data: r
|
|
2493
2163
|
});
|
|
2494
|
-
const { destroy:
|
|
2164
|
+
const { destroy: tt } = m(b, C);
|
|
2495
2165
|
return {
|
|
2496
2166
|
destroy: () => {
|
|
2497
|
-
o.stop(),
|
|
2167
|
+
o.stop(), tt();
|
|
2498
2168
|
}
|
|
2499
2169
|
};
|
|
2500
2170
|
};
|
|
2501
|
-
},
|
|
2502
|
-
host:
|
|
2171
|
+
}, se = async ({
|
|
2172
|
+
host: i,
|
|
2503
2173
|
frame: t,
|
|
2504
2174
|
tag: e
|
|
2505
2175
|
}) => {
|
|
2506
|
-
const
|
|
2507
|
-
|
|
2508
|
-
|
|
2176
|
+
const s = new nt(i), [n, r] = await Promise.all([
|
|
2177
|
+
Nt({ id: t, tag: e ?? null, host: i, service: s }),
|
|
2178
|
+
Bt({ id: t, tag: e ?? null, host: i, service: s })
|
|
2509
2179
|
]);
|
|
2510
|
-
|
|
2511
|
-
const d = new
|
|
2512
|
-
d.finish(
|
|
2513
|
-
const F = e != null ?
|
|
2514
|
-
|
|
2515
|
-
}),
|
|
2516
|
-
const o = new
|
|
2180
|
+
s.on_connect(() => {
|
|
2181
|
+
const d = new O(), _ = e != null ? new pt(t, e) : new wt(t);
|
|
2182
|
+
d.finish(_.pack(d));
|
|
2183
|
+
const F = e != null ? u.Client_Tagged_Frame_Subscribe : u.Client_Unique_Frame_Subscribe;
|
|
2184
|
+
s.publish(st([et(F), d.asUint8Array()]));
|
|
2185
|
+
}), s.start();
|
|
2186
|
+
const o = new O(), h = e != null ? new gt(t, e) : new It(t);
|
|
2517
2187
|
o.finish(h.pack(o));
|
|
2518
|
-
const c = e != null ?
|
|
2519
|
-
return
|
|
2520
|
-
values:
|
|
2521
|
-
signals:
|
|
2522
|
-
resub: () =>
|
|
2523
|
-
unsub: () =>
|
|
2188
|
+
const c = e != null ? u.Client_Tagged_Frame_Loaded : u.Client_Unique_Frame_Loaded;
|
|
2189
|
+
return bt(i, c, o.asUint8Array()), {
|
|
2190
|
+
values: zt(n),
|
|
2191
|
+
signals: Et(r),
|
|
2192
|
+
resub: () => s.start(),
|
|
2193
|
+
unsub: () => s.stop()
|
|
2524
2194
|
};
|
|
2525
|
-
},
|
|
2526
|
-
host:
|
|
2195
|
+
}, Dt = async ({
|
|
2196
|
+
host: i,
|
|
2527
2197
|
cdn_url: t,
|
|
2528
2198
|
frame: e,
|
|
2529
|
-
tag:
|
|
2199
|
+
tag: s
|
|
2530
2200
|
}) => {
|
|
2531
|
-
const
|
|
2532
|
-
const h = await
|
|
2533
|
-
host:
|
|
2201
|
+
const n = async (r, o) => {
|
|
2202
|
+
const h = await Dt({
|
|
2203
|
+
host: i,
|
|
2534
2204
|
cdn_url: t,
|
|
2535
2205
|
frame: r,
|
|
2536
2206
|
tag: o
|
|
2537
2207
|
});
|
|
2538
2208
|
return (c) => h(c);
|
|
2539
2209
|
};
|
|
2540
|
-
return
|
|
2541
|
-
|
|
2210
|
+
return ee(
|
|
2211
|
+
i,
|
|
2542
2212
|
e,
|
|
2543
|
-
|
|
2213
|
+
s ?? null,
|
|
2544
2214
|
t,
|
|
2545
|
-
async (r, o) =>
|
|
2546
|
-
async (r, o) =>
|
|
2215
|
+
async (r, o) => n(r, o),
|
|
2216
|
+
async (r, o) => se({ host: i, frame: r, tag: o })
|
|
2547
2217
|
);
|
|
2548
|
-
},
|
|
2218
|
+
}, ae = async (i, t) => (await Dt(t))(i);
|
|
2549
2219
|
export {
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2220
|
+
ae as create_component,
|
|
2221
|
+
se as create_frame,
|
|
2222
|
+
Dt as create_frame_ui
|
|
2553
2223
|
};
|