@ikonai/sdk 0.0.19 → 0.0.21
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/index.js +425 -425
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1154,7 +1154,7 @@ var Fr;
|
|
|
1154
1154
|
}
|
|
1155
1155
|
e.fromProtocolMessage = h;
|
|
1156
1156
|
})(Fr || (Fr = {}));
|
|
1157
|
-
var
|
|
1157
|
+
var mr;
|
|
1158
1158
|
((e) => {
|
|
1159
1159
|
e.TeleportVersion = 1, e.TeleportOpcode = 1048577, e.TeleportLayoutHash = 1470463683, e.ActionIdFieldId = 727023925, e.CallArgumentsJsonFieldId = 2749491771, e.ClientFunctionResultsFieldId = 3123601234, e.CallIdFieldId = 3748161056;
|
|
1160
1160
|
function l(r) {
|
|
@@ -1258,47 +1258,47 @@ var br;
|
|
|
1258
1258
|
}
|
|
1259
1259
|
r.writeToTeleport = I;
|
|
1260
1260
|
function N(T, p) {
|
|
1261
|
-
const
|
|
1262
|
-
return F(
|
|
1261
|
+
const m = E.create(T);
|
|
1262
|
+
return F(m, p);
|
|
1263
1263
|
}
|
|
1264
1264
|
r.decode = N;
|
|
1265
1265
|
function F(T, p) {
|
|
1266
|
-
const
|
|
1267
|
-
return n(
|
|
1266
|
+
const m = p ?? t();
|
|
1267
|
+
return n(m), b(T, m), m;
|
|
1268
1268
|
}
|
|
1269
1269
|
r.readFromTeleport = F;
|
|
1270
|
-
function
|
|
1271
|
-
let
|
|
1272
|
-
for (; (
|
|
1273
|
-
switch (
|
|
1270
|
+
function b(T, p) {
|
|
1271
|
+
let m;
|
|
1272
|
+
for (; (m = T.next()) !== null; )
|
|
1273
|
+
switch (m.fieldId) {
|
|
1274
1274
|
case r.ErrorFieldId: {
|
|
1275
|
-
if (
|
|
1275
|
+
if (m.isNull)
|
|
1276
1276
|
throw new Error("Field Error cannot be null");
|
|
1277
|
-
p.Error =
|
|
1277
|
+
p.Error = m.asString();
|
|
1278
1278
|
break;
|
|
1279
1279
|
}
|
|
1280
1280
|
case r.CallIndexFieldId: {
|
|
1281
|
-
if (
|
|
1281
|
+
if (m.isNull)
|
|
1282
1282
|
throw new Error("Field CallIndex cannot be null");
|
|
1283
|
-
p.CallIndex =
|
|
1283
|
+
p.CallIndex = m.asInt32();
|
|
1284
1284
|
break;
|
|
1285
1285
|
}
|
|
1286
1286
|
case r.FunctionNameFieldId: {
|
|
1287
|
-
if (
|
|
1287
|
+
if (m.isNull)
|
|
1288
1288
|
throw new Error("Field FunctionName cannot be null");
|
|
1289
|
-
p.FunctionName =
|
|
1289
|
+
p.FunctionName = m.asString();
|
|
1290
1290
|
break;
|
|
1291
1291
|
}
|
|
1292
1292
|
case r.ResultJsonFieldId: {
|
|
1293
|
-
if (
|
|
1293
|
+
if (m.isNull)
|
|
1294
1294
|
throw new Error("Field ResultJson cannot be null");
|
|
1295
|
-
p.ResultJson =
|
|
1295
|
+
p.ResultJson = m.asString();
|
|
1296
1296
|
break;
|
|
1297
1297
|
}
|
|
1298
1298
|
}
|
|
1299
1299
|
}
|
|
1300
1300
|
})(e.ActionClientFunctionResult || (e.ActionClientFunctionResult = {}));
|
|
1301
|
-
})(
|
|
1301
|
+
})(mr || (mr = {}));
|
|
1302
1302
|
var Xe;
|
|
1303
1303
|
((e) => {
|
|
1304
1304
|
e.TeleportVersion = 1, e.TeleportOpcode = 1048637, e.TeleportLayoutHash = 3197858841, e.ActionIdFieldId = 727023925, e.PayloadJsonFieldId = 3395085689;
|
|
@@ -1359,7 +1359,7 @@ var Xe;
|
|
|
1359
1359
|
}
|
|
1360
1360
|
e.fromProtocolMessage = h;
|
|
1361
1361
|
})(Xe || (Xe = {}));
|
|
1362
|
-
var
|
|
1362
|
+
var br;
|
|
1363
1363
|
((e) => {
|
|
1364
1364
|
e.TeleportVersion = 1, e.TeleportOpcode = 1048616, e.TeleportLayoutHash = 3168041334, e.ResultJsonFieldId = 3403385840, e.CallIdFieldId = 3748161056;
|
|
1365
1365
|
function l(o) {
|
|
@@ -1418,7 +1418,7 @@ var mr;
|
|
|
1418
1418
|
return a(t, r);
|
|
1419
1419
|
}
|
|
1420
1420
|
e.fromProtocolMessage = h;
|
|
1421
|
-
})(
|
|
1421
|
+
})(br || (br = {}));
|
|
1422
1422
|
var yr;
|
|
1423
1423
|
((e) => {
|
|
1424
1424
|
e.TeleportVersion = 1, e.TeleportOpcode = 1048611, e.TeleportLayoutHash = 2819248366, e.ActionIdFieldId = 727023925, e.TextFieldId = 2069861431;
|
|
@@ -1616,41 +1616,41 @@ var Nr;
|
|
|
1616
1616
|
}
|
|
1617
1617
|
r.writeToTeleport = I;
|
|
1618
1618
|
function N(T, p) {
|
|
1619
|
-
const
|
|
1620
|
-
return F(
|
|
1619
|
+
const m = E.create(T);
|
|
1620
|
+
return F(m, p);
|
|
1621
1621
|
}
|
|
1622
1622
|
r.decode = N;
|
|
1623
1623
|
function F(T, p) {
|
|
1624
|
-
const
|
|
1625
|
-
return n(
|
|
1624
|
+
const m = p ?? t();
|
|
1625
|
+
return n(m), b(T, m), m;
|
|
1626
1626
|
}
|
|
1627
1627
|
r.readFromTeleport = F;
|
|
1628
|
-
function
|
|
1629
|
-
let
|
|
1630
|
-
for (; (
|
|
1631
|
-
switch (
|
|
1628
|
+
function b(T, p) {
|
|
1629
|
+
let m;
|
|
1630
|
+
for (; (m = T.next()) !== null; )
|
|
1631
|
+
switch (m.fieldId) {
|
|
1632
1632
|
case r.LabelFieldId: {
|
|
1633
|
-
if (
|
|
1633
|
+
if (m.isNull)
|
|
1634
1634
|
throw new Error("Field Label cannot be null");
|
|
1635
|
-
p.Label =
|
|
1635
|
+
p.Label = m.asString();
|
|
1636
1636
|
break;
|
|
1637
1637
|
}
|
|
1638
1638
|
case r.ScoreFieldId: {
|
|
1639
|
-
if (
|
|
1639
|
+
if (m.isNull)
|
|
1640
1640
|
throw new Error("Field Score cannot be null");
|
|
1641
|
-
p.Score =
|
|
1641
|
+
p.Score = m.asFloat64();
|
|
1642
1642
|
break;
|
|
1643
1643
|
}
|
|
1644
1644
|
case r.IsFlaggedFieldId: {
|
|
1645
|
-
if (
|
|
1645
|
+
if (m.isNull)
|
|
1646
1646
|
throw new Error("Field IsFlagged cannot be null");
|
|
1647
|
-
p.IsFlagged =
|
|
1647
|
+
p.IsFlagged = m.asBool();
|
|
1648
1648
|
break;
|
|
1649
1649
|
}
|
|
1650
1650
|
case r.OriginalCategoryFieldId: {
|
|
1651
|
-
if (
|
|
1651
|
+
if (m.isNull)
|
|
1652
1652
|
throw new Error("Field OriginalCategory cannot be null");
|
|
1653
|
-
p.OriginalCategory =
|
|
1653
|
+
p.OriginalCategory = m.asString();
|
|
1654
1654
|
break;
|
|
1655
1655
|
}
|
|
1656
1656
|
}
|
|
@@ -2427,8 +2427,8 @@ var jr;
|
|
|
2427
2427
|
((r) => {
|
|
2428
2428
|
r.TeleportVersion = 1, r.TeleportLayoutHash = 3775948468, r.CallIndexFieldId = 719441180, r.FunctionNameFieldId = 814454131, r.ParametersFieldId = 2885165957;
|
|
2429
2429
|
function t(p) {
|
|
2430
|
-
const
|
|
2431
|
-
return n(
|
|
2430
|
+
const m = {};
|
|
2431
|
+
return n(m), p && Object.assign(m, p), m;
|
|
2432
2432
|
}
|
|
2433
2433
|
r.create = t;
|
|
2434
2434
|
function n(p) {
|
|
@@ -2436,12 +2436,12 @@ var jr;
|
|
|
2436
2436
|
}
|
|
2437
2437
|
r.reset = n;
|
|
2438
2438
|
function u(p) {
|
|
2439
|
-
const
|
|
2440
|
-
return I(p,
|
|
2439
|
+
const m = new y(r.TeleportVersion);
|
|
2440
|
+
return I(p, m), m.finish();
|
|
2441
2441
|
}
|
|
2442
2442
|
r.encode = u;
|
|
2443
|
-
function I(p,
|
|
2444
|
-
|
|
2443
|
+
function I(p, m) {
|
|
2444
|
+
m.writeInt32Field(r.CallIndexFieldId, p.CallIndex | 0), m.writeStringField(r.FunctionNameFieldId, p.FunctionName), m.writeArrayField(r.ParametersFieldId, C.Object, (P) => {
|
|
2445
2445
|
for (const V of p.Parameters)
|
|
2446
2446
|
P.writeObject(Z.TeleportVersion, (_) => {
|
|
2447
2447
|
Z.writeToTeleport(V, _);
|
|
@@ -2449,46 +2449,46 @@ var jr;
|
|
|
2449
2449
|
});
|
|
2450
2450
|
}
|
|
2451
2451
|
r.writeToTeleport = I;
|
|
2452
|
-
function N(p,
|
|
2452
|
+
function N(p, m) {
|
|
2453
2453
|
const P = E.create(p);
|
|
2454
|
-
return F(P,
|
|
2454
|
+
return F(P, m);
|
|
2455
2455
|
}
|
|
2456
2456
|
r.decode = N;
|
|
2457
|
-
function F(p,
|
|
2458
|
-
const P =
|
|
2459
|
-
return n(P),
|
|
2457
|
+
function F(p, m) {
|
|
2458
|
+
const P = m ?? t();
|
|
2459
|
+
return n(P), b(p, P), P;
|
|
2460
2460
|
}
|
|
2461
2461
|
r.readFromTeleport = F;
|
|
2462
|
-
function
|
|
2462
|
+
function b(p, m) {
|
|
2463
2463
|
let P;
|
|
2464
2464
|
for (; (P = p.next()) !== null; )
|
|
2465
2465
|
switch (P.fieldId) {
|
|
2466
2466
|
case r.CallIndexFieldId: {
|
|
2467
2467
|
if (P.isNull)
|
|
2468
2468
|
throw new Error("Field CallIndex cannot be null");
|
|
2469
|
-
|
|
2469
|
+
m.CallIndex = P.asInt32();
|
|
2470
2470
|
break;
|
|
2471
2471
|
}
|
|
2472
2472
|
case r.FunctionNameFieldId: {
|
|
2473
2473
|
if (P.isNull)
|
|
2474
2474
|
throw new Error("Field FunctionName cannot be null");
|
|
2475
|
-
|
|
2475
|
+
m.FunctionName = P.asString();
|
|
2476
2476
|
break;
|
|
2477
2477
|
}
|
|
2478
2478
|
case r.ParametersFieldId: {
|
|
2479
2479
|
if (P.isNull)
|
|
2480
2480
|
throw new Error("Field Parameters cannot be null");
|
|
2481
|
-
|
|
2481
|
+
m.Parameters = T(P.asArray());
|
|
2482
2482
|
break;
|
|
2483
2483
|
}
|
|
2484
2484
|
}
|
|
2485
2485
|
}
|
|
2486
2486
|
function T(p) {
|
|
2487
|
-
const
|
|
2487
|
+
const m = [];
|
|
2488
2488
|
let P;
|
|
2489
2489
|
for (; (P = p.next()) !== null; )
|
|
2490
|
-
|
|
2491
|
-
return
|
|
2490
|
+
m.push(Z.readFromTeleport(P.asObject()));
|
|
2491
|
+
return m;
|
|
2492
2492
|
}
|
|
2493
2493
|
})(e.ActionOptimisticClientCall || (e.ActionOptimisticClientCall = {}));
|
|
2494
2494
|
})(jr || (jr = {}));
|
|
@@ -4129,41 +4129,41 @@ var ct;
|
|
|
4129
4129
|
}
|
|
4130
4130
|
r.writeToTeleport = I;
|
|
4131
4131
|
function N(T, p) {
|
|
4132
|
-
const
|
|
4133
|
-
return F(
|
|
4132
|
+
const m = E.create(T);
|
|
4133
|
+
return F(m, p);
|
|
4134
4134
|
}
|
|
4135
4135
|
r.decode = N;
|
|
4136
4136
|
function F(T, p) {
|
|
4137
|
-
const
|
|
4138
|
-
return n(
|
|
4137
|
+
const m = p ?? t();
|
|
4138
|
+
return n(m), b(T, m), m;
|
|
4139
4139
|
}
|
|
4140
4140
|
r.readFromTeleport = F;
|
|
4141
|
-
function
|
|
4142
|
-
let
|
|
4143
|
-
for (; (
|
|
4144
|
-
switch (
|
|
4141
|
+
function b(T, p) {
|
|
4142
|
+
let m;
|
|
4143
|
+
for (; (m = T.next()) !== null; )
|
|
4144
|
+
switch (m.fieldId) {
|
|
4145
4145
|
case r.EventNameFieldId: {
|
|
4146
|
-
if (
|
|
4146
|
+
if (m.isNull)
|
|
4147
4147
|
throw new Error("Field EventName cannot be null");
|
|
4148
|
-
p.EventName =
|
|
4148
|
+
p.EventName = m.asString();
|
|
4149
4149
|
break;
|
|
4150
4150
|
}
|
|
4151
4151
|
case r.MessageFieldId: {
|
|
4152
|
-
if (
|
|
4152
|
+
if (m.isNull)
|
|
4153
4153
|
throw new Error("Field Message cannot be null");
|
|
4154
|
-
p.Message =
|
|
4154
|
+
p.Message = m.asString();
|
|
4155
4155
|
break;
|
|
4156
4156
|
}
|
|
4157
4157
|
case r.ParametersFieldId: {
|
|
4158
|
-
if (
|
|
4158
|
+
if (m.isNull)
|
|
4159
4159
|
throw new Error("Field Parameters cannot be null");
|
|
4160
|
-
p.Parameters =
|
|
4160
|
+
p.Parameters = m.asString();
|
|
4161
4161
|
break;
|
|
4162
4162
|
}
|
|
4163
4163
|
case r.TimeFieldId: {
|
|
4164
|
-
if (
|
|
4164
|
+
if (m.isNull)
|
|
4165
4165
|
throw new Error("Field Time cannot be null");
|
|
4166
|
-
p.Time =
|
|
4166
|
+
p.Time = m.asString();
|
|
4167
4167
|
break;
|
|
4168
4168
|
}
|
|
4169
4169
|
}
|
|
@@ -4370,41 +4370,41 @@ var ft;
|
|
|
4370
4370
|
}
|
|
4371
4371
|
r.writeToTeleport = I;
|
|
4372
4372
|
function N(T, p) {
|
|
4373
|
-
const
|
|
4374
|
-
return F(
|
|
4373
|
+
const m = E.create(T);
|
|
4374
|
+
return F(m, p);
|
|
4375
4375
|
}
|
|
4376
4376
|
r.decode = N;
|
|
4377
4377
|
function F(T, p) {
|
|
4378
|
-
const
|
|
4379
|
-
return n(
|
|
4378
|
+
const m = p ?? t();
|
|
4379
|
+
return n(m), b(T, m), m;
|
|
4380
4380
|
}
|
|
4381
4381
|
r.readFromTeleport = F;
|
|
4382
|
-
function
|
|
4383
|
-
let
|
|
4384
|
-
for (; (
|
|
4385
|
-
switch (
|
|
4382
|
+
function b(T, p) {
|
|
4383
|
+
let m;
|
|
4384
|
+
for (; (m = T.next()) !== null; )
|
|
4385
|
+
switch (m.fieldId) {
|
|
4386
4386
|
case r.MessageFieldId: {
|
|
4387
|
-
if (
|
|
4387
|
+
if (m.isNull)
|
|
4388
4388
|
throw new Error("Field Message cannot be null");
|
|
4389
|
-
p.Message =
|
|
4389
|
+
p.Message = m.asString();
|
|
4390
4390
|
break;
|
|
4391
4391
|
}
|
|
4392
4392
|
case r.ParametersFieldId: {
|
|
4393
|
-
if (
|
|
4393
|
+
if (m.isNull)
|
|
4394
4394
|
throw new Error("Field Parameters cannot be null");
|
|
4395
|
-
p.Parameters =
|
|
4395
|
+
p.Parameters = m.asString();
|
|
4396
4396
|
break;
|
|
4397
4397
|
}
|
|
4398
4398
|
case r.TypeFieldId: {
|
|
4399
|
-
if (
|
|
4399
|
+
if (m.isNull)
|
|
4400
4400
|
throw new Error("Field Type cannot be null");
|
|
4401
|
-
p.Type =
|
|
4401
|
+
p.Type = m.asInt32();
|
|
4402
4402
|
break;
|
|
4403
4403
|
}
|
|
4404
4404
|
case r.TimeFieldId: {
|
|
4405
|
-
if (
|
|
4405
|
+
if (m.isNull)
|
|
4406
4406
|
throw new Error("Field Time cannot be null");
|
|
4407
|
-
p.Time =
|
|
4407
|
+
p.Time = m.asString();
|
|
4408
4408
|
break;
|
|
4409
4409
|
}
|
|
4410
4410
|
}
|
|
@@ -4435,8 +4435,8 @@ var wt;
|
|
|
4435
4435
|
const N = I, F = u[I];
|
|
4436
4436
|
if (F == null)
|
|
4437
4437
|
continue;
|
|
4438
|
-
const
|
|
4439
|
-
|
|
4438
|
+
const b = n.beginEntry();
|
|
4439
|
+
b.writeKeyString(N), b.writeValueFloat64(F), b.complete();
|
|
4440
4440
|
}
|
|
4441
4441
|
});
|
|
4442
4442
|
}
|
|
@@ -4579,8 +4579,8 @@ var ht;
|
|
|
4579
4579
|
const N = I, F = u[I];
|
|
4580
4580
|
if (F == null)
|
|
4581
4581
|
continue;
|
|
4582
|
-
const
|
|
4583
|
-
|
|
4582
|
+
const b = n.beginEntry();
|
|
4583
|
+
b.writeKeyString(N), b.writeValueFloat32(F), b.complete();
|
|
4584
4584
|
}
|
|
4585
4585
|
});
|
|
4586
4586
|
}
|
|
@@ -4959,41 +4959,41 @@ var Tt;
|
|
|
4959
4959
|
}
|
|
4960
4960
|
r.writeToTeleport = I;
|
|
4961
4961
|
function N(T, p) {
|
|
4962
|
-
const
|
|
4963
|
-
return F(
|
|
4962
|
+
const m = E.create(T);
|
|
4963
|
+
return F(m, p);
|
|
4964
4964
|
}
|
|
4965
4965
|
r.decode = N;
|
|
4966
4966
|
function F(T, p) {
|
|
4967
|
-
const
|
|
4968
|
-
return n(
|
|
4967
|
+
const m = p ?? t();
|
|
4968
|
+
return n(m), b(T, m), m;
|
|
4969
4969
|
}
|
|
4970
4970
|
r.readFromTeleport = F;
|
|
4971
|
-
function
|
|
4972
|
-
let
|
|
4973
|
-
for (; (
|
|
4974
|
-
switch (
|
|
4971
|
+
function b(T, p) {
|
|
4972
|
+
let m;
|
|
4973
|
+
for (; (m = T.next()) !== null; )
|
|
4974
|
+
switch (m.fieldId) {
|
|
4975
4975
|
case r.EventNameFieldId: {
|
|
4976
|
-
if (
|
|
4976
|
+
if (m.isNull)
|
|
4977
4977
|
throw new Error("Field EventName cannot be null");
|
|
4978
|
-
p.EventName =
|
|
4978
|
+
p.EventName = m.asString();
|
|
4979
4979
|
break;
|
|
4980
4980
|
}
|
|
4981
4981
|
case r.UsageFieldId: {
|
|
4982
|
-
if (
|
|
4982
|
+
if (m.isNull)
|
|
4983
4983
|
throw new Error("Field Usage cannot be null");
|
|
4984
|
-
p.Usage =
|
|
4984
|
+
p.Usage = m.asFloat32();
|
|
4985
4985
|
break;
|
|
4986
4986
|
}
|
|
4987
4987
|
case r.ParametersFieldId: {
|
|
4988
|
-
if (
|
|
4988
|
+
if (m.isNull)
|
|
4989
4989
|
throw new Error("Field Parameters cannot be null");
|
|
4990
|
-
p.Parameters =
|
|
4990
|
+
p.Parameters = m.asString();
|
|
4991
4991
|
break;
|
|
4992
4992
|
}
|
|
4993
4993
|
case r.TimeFieldId: {
|
|
4994
|
-
if (
|
|
4994
|
+
if (m.isNull)
|
|
4995
4995
|
throw new Error("Field Time cannot be null");
|
|
4996
|
-
p.Time =
|
|
4996
|
+
p.Time = m.asString();
|
|
4997
4997
|
break;
|
|
4998
4998
|
}
|
|
4999
4999
|
}
|
|
@@ -5102,7 +5102,7 @@ var Ft;
|
|
|
5102
5102
|
}
|
|
5103
5103
|
e.fromProtocolMessage = h;
|
|
5104
5104
|
})(Ft || (Ft = {}));
|
|
5105
|
-
var
|
|
5105
|
+
var mt;
|
|
5106
5106
|
((e) => {
|
|
5107
5107
|
e.TeleportVersion = 1, e.TeleportOpcode = 4194309, e.TeleportLayoutHash = 2782422021, e.AverageVolumeFieldId = 205938238, e.IsFirstFieldId = 1594075008, e.TimeStampInInterleavedSamplesFieldId = 2026534360, e.SamplesFieldId = 3409001585, e.AudioEventEstimatedDurationFieldId = 3466650495, e.FrameSizeInInterleavedSamplesFieldId = 4007456593, e.IsLastFieldId = 4017217601, e.SequenceFieldId = 4065417427, e.EpochFieldId = 4086360332;
|
|
5108
5108
|
function l(o) {
|
|
@@ -5203,8 +5203,8 @@ var bt;
|
|
|
5203
5203
|
return a(t, r);
|
|
5204
5204
|
}
|
|
5205
5205
|
e.fromProtocolMessage = h;
|
|
5206
|
-
})(
|
|
5207
|
-
var
|
|
5206
|
+
})(mt || (mt = {}));
|
|
5207
|
+
var bt;
|
|
5208
5208
|
((e) => {
|
|
5209
5209
|
e.TeleportVersion = 1, e.TeleportOpcode = 4194308, e.TeleportLayoutHash = 1723412637, e.VolumeFieldId = 2079085407, e.CountFieldId = 3485914759;
|
|
5210
5210
|
function l(o) {
|
|
@@ -5263,7 +5263,7 @@ var mt;
|
|
|
5263
5263
|
return a(t, r);
|
|
5264
5264
|
}
|
|
5265
5265
|
e.fromProtocolMessage = h;
|
|
5266
|
-
})(
|
|
5266
|
+
})(bt || (bt = {}));
|
|
5267
5267
|
var re;
|
|
5268
5268
|
((e) => {
|
|
5269
5269
|
e.TeleportVersion = 1, e.TeleportOpcode = 4194305, e.TeleportLayoutHash = 2116996259, e.DescriptionFieldId = 1368629611, e.ChannelsFieldId = 2431514951, e.BitDepthFieldId = 2914494629, e.CodecFieldId = 3284746250, e.SampleRateFieldId = 4101844078;
|
|
@@ -5417,11 +5417,11 @@ var Qe;
|
|
|
5417
5417
|
}), n.writeDictionaryField(e.FeatureFlagsFieldId, C.String, C.Bool, (u) => {
|
|
5418
5418
|
const I = t.FeatureFlags;
|
|
5419
5419
|
for (const N of Object.keys(I)) {
|
|
5420
|
-
const F = N,
|
|
5421
|
-
if (
|
|
5420
|
+
const F = N, b = I[N];
|
|
5421
|
+
if (b == null)
|
|
5422
5422
|
continue;
|
|
5423
5423
|
const T = u.beginEntry();
|
|
5424
|
-
T.writeKeyString(F), T.writeValueBool(
|
|
5424
|
+
T.writeKeyString(F), T.writeValueBool(b), T.complete();
|
|
5425
5425
|
}
|
|
5426
5426
|
}), n.writeStringField(e.SpaceIdFieldId, t.SpaceId), n.writeStringField(e.PrimaryUserIdFieldId, t.PrimaryUserId), n.writeStringField(e.ChannelTemplateIdFieldId, t.ChannelTemplateId);
|
|
5427
5427
|
}
|
|
@@ -5699,8 +5699,8 @@ var Ze;
|
|
|
5699
5699
|
const N = I, F = u[I];
|
|
5700
5700
|
if (F == null)
|
|
5701
5701
|
continue;
|
|
5702
|
-
const
|
|
5703
|
-
|
|
5702
|
+
const b = n.beginEntry();
|
|
5703
|
+
b.writeKeyString(N), b.writeValueString(F), b.complete();
|
|
5704
5704
|
}
|
|
5705
5705
|
}), t.writeBoolField(e.IsInternalFieldId, r.IsInternal), t.writeInt32Field(e.OpcodeGroupsToServerFieldId, r.OpcodeGroupsToServer), t.writeStringField(e.ChannelLocaleFieldId, r.ChannelLocale), t.writeInt32Field(e.ProtocolVersionFieldId, r.ProtocolVersion | 0), t.writeStringField(e.ServerSessionIdFieldId, r.ServerSessionId), t.writeStringField(e.EmbeddedSpaceIdFieldId, r.EmbeddedSpaceId);
|
|
5706
5706
|
}
|
|
@@ -5999,8 +5999,8 @@ var L;
|
|
|
5999
5999
|
const N = I, F = u[I];
|
|
6000
6000
|
if (F == null)
|
|
6001
6001
|
continue;
|
|
6002
|
-
const
|
|
6003
|
-
|
|
6002
|
+
const b = n.beginEntry();
|
|
6003
|
+
b.writeKeyString(N), b.writeValueString(F), b.complete();
|
|
6004
6004
|
}
|
|
6005
6005
|
}), t.writeBoolField(e.IsInternalFieldId, r.IsInternal), t.writeStringField(e.ChannelLocaleFieldId, r.ChannelLocale), t.writeStringField(e.EmbeddedSpaceIdFieldId, r.EmbeddedSpaceId);
|
|
6006
6006
|
}
|
|
@@ -6751,8 +6751,8 @@ var qe;
|
|
|
6751
6751
|
((t) => {
|
|
6752
6752
|
t.TeleportVersion = 1, t.TeleportLayoutHash = 1710859415, t.IdFieldId = 2994044322, t.TypeFieldId = 3167053791;
|
|
6753
6753
|
function n(p) {
|
|
6754
|
-
const
|
|
6755
|
-
return u(
|
|
6754
|
+
const m = {};
|
|
6755
|
+
return u(m), p && Object.assign(m, p), m;
|
|
6756
6756
|
}
|
|
6757
6757
|
t.create = n;
|
|
6758
6758
|
function u(p) {
|
|
@@ -6760,38 +6760,38 @@ var qe;
|
|
|
6760
6760
|
}
|
|
6761
6761
|
t.reset = u;
|
|
6762
6762
|
function I(p) {
|
|
6763
|
-
const
|
|
6764
|
-
return N(p,
|
|
6763
|
+
const m = new y(t.TeleportVersion);
|
|
6764
|
+
return N(p, m), m.finish();
|
|
6765
6765
|
}
|
|
6766
6766
|
t.encode = I;
|
|
6767
|
-
function N(p,
|
|
6768
|
-
|
|
6767
|
+
function N(p, m) {
|
|
6768
|
+
m.writeStringField(t.IdFieldId, p.Id), m.writeStringField(t.TypeFieldId, p.Type);
|
|
6769
6769
|
}
|
|
6770
6770
|
t.writeToTeleport = N;
|
|
6771
|
-
function F(p,
|
|
6771
|
+
function F(p, m) {
|
|
6772
6772
|
const P = E.create(p);
|
|
6773
|
-
return
|
|
6773
|
+
return b(P, m);
|
|
6774
6774
|
}
|
|
6775
6775
|
t.decode = F;
|
|
6776
|
-
function
|
|
6777
|
-
const P =
|
|
6776
|
+
function b(p, m) {
|
|
6777
|
+
const P = m ?? n();
|
|
6778
6778
|
return u(P), T(p, P), P;
|
|
6779
6779
|
}
|
|
6780
|
-
t.readFromTeleport =
|
|
6781
|
-
function T(p,
|
|
6780
|
+
t.readFromTeleport = b;
|
|
6781
|
+
function T(p, m) {
|
|
6782
6782
|
let P;
|
|
6783
6783
|
for (; (P = p.next()) !== null; )
|
|
6784
6784
|
switch (P.fieldId) {
|
|
6785
6785
|
case t.IdFieldId: {
|
|
6786
6786
|
if (P.isNull)
|
|
6787
6787
|
throw new Error("Field Id cannot be null");
|
|
6788
|
-
|
|
6788
|
+
m.Id = P.asString();
|
|
6789
6789
|
break;
|
|
6790
6790
|
}
|
|
6791
6791
|
case t.TypeFieldId: {
|
|
6792
6792
|
if (P.isNull)
|
|
6793
6793
|
throw new Error("Field Type cannot be null");
|
|
6794
|
-
|
|
6794
|
+
m.Type = P.asString();
|
|
6795
6795
|
break;
|
|
6796
6796
|
}
|
|
6797
6797
|
}
|
|
@@ -7298,71 +7298,71 @@ var X;
|
|
|
7298
7298
|
}
|
|
7299
7299
|
r.writeToTeleport = I;
|
|
7300
7300
|
function N(T, p) {
|
|
7301
|
-
const
|
|
7302
|
-
return F(
|
|
7301
|
+
const m = E.create(T);
|
|
7302
|
+
return F(m, p);
|
|
7303
7303
|
}
|
|
7304
7304
|
r.decode = N;
|
|
7305
7305
|
function F(T, p) {
|
|
7306
|
-
const
|
|
7307
|
-
return n(
|
|
7306
|
+
const m = p ?? t();
|
|
7307
|
+
return n(m), b(T, m), m;
|
|
7308
7308
|
}
|
|
7309
7309
|
r.readFromTeleport = F;
|
|
7310
|
-
function
|
|
7311
|
-
let
|
|
7312
|
-
for (; (
|
|
7313
|
-
switch (
|
|
7310
|
+
function b(T, p) {
|
|
7311
|
+
let m;
|
|
7312
|
+
for (; (m = T.next()) !== null; )
|
|
7313
|
+
switch (m.fieldId) {
|
|
7314
7314
|
case r.HasDefaultValueFieldId: {
|
|
7315
|
-
if (
|
|
7315
|
+
if (m.isNull)
|
|
7316
7316
|
throw new Error("Field HasDefaultValue cannot be null");
|
|
7317
|
-
p.HasDefaultValue =
|
|
7317
|
+
p.HasDefaultValue = m.asBool();
|
|
7318
7318
|
break;
|
|
7319
7319
|
}
|
|
7320
7320
|
case r.DefaultValueJsonFieldId: {
|
|
7321
|
-
if (
|
|
7321
|
+
if (m.isNull)
|
|
7322
7322
|
throw new Error("Field DefaultValueJson cannot be null");
|
|
7323
|
-
p.DefaultValueJson =
|
|
7323
|
+
p.DefaultValueJson = m.asString();
|
|
7324
7324
|
break;
|
|
7325
7325
|
}
|
|
7326
7326
|
case r.EnumerableItemTypeNameFieldId: {
|
|
7327
|
-
if (
|
|
7327
|
+
if (m.isNull)
|
|
7328
7328
|
throw new Error("Field EnumerableItemTypeName cannot be null");
|
|
7329
|
-
p.EnumerableItemTypeName =
|
|
7329
|
+
p.EnumerableItemTypeName = m.asString();
|
|
7330
7330
|
break;
|
|
7331
7331
|
}
|
|
7332
7332
|
case r.DescriptionFieldId: {
|
|
7333
|
-
if (
|
|
7333
|
+
if (m.isNull)
|
|
7334
7334
|
throw new Error("Field Description cannot be null");
|
|
7335
|
-
p.Description =
|
|
7335
|
+
p.Description = m.asString();
|
|
7336
7336
|
break;
|
|
7337
7337
|
}
|
|
7338
7338
|
case r.DefaultValueDataFieldId: {
|
|
7339
|
-
if (
|
|
7339
|
+
if (m.isNull)
|
|
7340
7340
|
throw new Error("Field DefaultValueData cannot be null");
|
|
7341
|
-
p.DefaultValueData =
|
|
7341
|
+
p.DefaultValueData = m.asBinary();
|
|
7342
7342
|
break;
|
|
7343
7343
|
}
|
|
7344
7344
|
case r.IsEnumerableFieldId: {
|
|
7345
|
-
if (
|
|
7345
|
+
if (m.isNull)
|
|
7346
7346
|
throw new Error("Field IsEnumerable cannot be null");
|
|
7347
|
-
p.IsEnumerable =
|
|
7347
|
+
p.IsEnumerable = m.asBool();
|
|
7348
7348
|
break;
|
|
7349
7349
|
}
|
|
7350
7350
|
case r.TypeNameFieldId: {
|
|
7351
|
-
if (
|
|
7351
|
+
if (m.isNull)
|
|
7352
7352
|
throw new Error("Field TypeName cannot be null");
|
|
7353
|
-
p.TypeName =
|
|
7353
|
+
p.TypeName = m.asString();
|
|
7354
7354
|
break;
|
|
7355
7355
|
}
|
|
7356
7356
|
case r.ParameterNameFieldId: {
|
|
7357
|
-
if (
|
|
7357
|
+
if (m.isNull)
|
|
7358
7358
|
throw new Error("Field ParameterName cannot be null");
|
|
7359
|
-
p.ParameterName =
|
|
7359
|
+
p.ParameterName = m.asString();
|
|
7360
7360
|
break;
|
|
7361
7361
|
}
|
|
7362
7362
|
case r.ParameterIndexFieldId: {
|
|
7363
|
-
if (
|
|
7363
|
+
if (m.isNull)
|
|
7364
7364
|
throw new Error("Field ParameterIndex cannot be null");
|
|
7365
|
-
p.ParameterIndex =
|
|
7365
|
+
p.ParameterIndex = m.asInt32();
|
|
7366
7366
|
break;
|
|
7367
7367
|
}
|
|
7368
7368
|
}
|
|
@@ -7652,8 +7652,8 @@ var Be;
|
|
|
7652
7652
|
((e) => {
|
|
7653
7653
|
e.TeleportVersion = 3, e.TeleportOpcode = 65539, e.TeleportLayoutHash = 2784858855, e.FirstUserIdFieldId = 693643444, e.ClientsFieldId = 1144553441, e.TrackingStreamsFieldId = 1497620243, e.ChannelIdFieldId = 1559330978, e.SessionIdFieldId = 1999510636, e.ChannelUrlFieldId = 2277643855, e.ChannelNameFieldId = 2469008121, e.OrganisationNameFieldId = 3219210453, e.FunctionsFieldId = 3678477544, e.UIStreamsFieldId = 3696445035, e.SpaceIdFieldId = 3707543140, e.PrimaryUserIdFieldId = 3712281496, e.ChannelInstanceIdFieldId = 3823842552, e.AudioStreamsFieldId = 3895362455, e.VideoStreamsFieldId = 3897397815, e.SpaceNameFieldId = 4225107827;
|
|
7654
7654
|
function l(F) {
|
|
7655
|
-
const
|
|
7656
|
-
return i(
|
|
7655
|
+
const b = {};
|
|
7656
|
+
return i(b), F && Object.assign(b, F), b;
|
|
7657
7657
|
}
|
|
7658
7658
|
e.create = l;
|
|
7659
7659
|
function i(F) {
|
|
@@ -7661,15 +7661,15 @@ var Be;
|
|
|
7661
7661
|
}
|
|
7662
7662
|
e.reset = i;
|
|
7663
7663
|
function s(F) {
|
|
7664
|
-
const
|
|
7665
|
-
return d(F,
|
|
7664
|
+
const b = new y(e.TeleportVersion);
|
|
7665
|
+
return d(F, b), b.finish();
|
|
7666
7666
|
}
|
|
7667
7667
|
e.encode = s;
|
|
7668
|
-
function d(F,
|
|
7669
|
-
|
|
7668
|
+
function d(F, b) {
|
|
7669
|
+
b.writeStringField(e.FirstUserIdFieldId, F.FirstUserId), b.writeDictionaryField(e.ClientsFieldId, C.Int32, C.Object, (T) => {
|
|
7670
7670
|
const p = F.Clients;
|
|
7671
|
-
for (const
|
|
7672
|
-
const P = Number(
|
|
7671
|
+
for (const m of Object.keys(p)) {
|
|
7672
|
+
const P = Number(m), V = p[m];
|
|
7673
7673
|
if (V == null)
|
|
7674
7674
|
continue;
|
|
7675
7675
|
const _ = T.beginEntry();
|
|
@@ -7677,10 +7677,10 @@ var Be;
|
|
|
7677
7677
|
L.writeToTeleport(V, g);
|
|
7678
7678
|
}), _.complete();
|
|
7679
7679
|
}
|
|
7680
|
-
}),
|
|
7680
|
+
}), b.writeDictionaryField(e.TrackingStreamsFieldId, C.String, C.Object, (T) => {
|
|
7681
7681
|
const p = F.TrackingStreams;
|
|
7682
|
-
for (const
|
|
7683
|
-
const P =
|
|
7682
|
+
for (const m of Object.keys(p)) {
|
|
7683
|
+
const P = m, V = p[m];
|
|
7684
7684
|
if (V == null)
|
|
7685
7685
|
continue;
|
|
7686
7686
|
const _ = T.beginEntry();
|
|
@@ -7688,10 +7688,10 @@ var Be;
|
|
|
7688
7688
|
e.TrackingStreamState.writeToTeleport(V, g);
|
|
7689
7689
|
}), _.complete();
|
|
7690
7690
|
}
|
|
7691
|
-
}),
|
|
7691
|
+
}), b.writeStringField(e.ChannelIdFieldId, F.ChannelId), b.writeStringField(e.SessionIdFieldId, F.SessionId), b.writeStringField(e.ChannelUrlFieldId, F.ChannelUrl), b.writeStringField(e.ChannelNameFieldId, F.ChannelName), b.writeStringField(e.OrganisationNameFieldId, F.OrganisationName), b.writeDictionaryField(e.FunctionsFieldId, C.Int32, C.Array, (T) => {
|
|
7692
7692
|
const p = F.Functions;
|
|
7693
|
-
for (const
|
|
7694
|
-
const P = Number(
|
|
7693
|
+
for (const m of Object.keys(p)) {
|
|
7694
|
+
const P = Number(m), V = p[m];
|
|
7695
7695
|
if (V == null)
|
|
7696
7696
|
continue;
|
|
7697
7697
|
const _ = T.beginEntry();
|
|
@@ -7702,10 +7702,10 @@ var Be;
|
|
|
7702
7702
|
});
|
|
7703
7703
|
}), _.complete();
|
|
7704
7704
|
}
|
|
7705
|
-
}),
|
|
7705
|
+
}), b.writeDictionaryField(e.UIStreamsFieldId, C.String, C.Object, (T) => {
|
|
7706
7706
|
const p = F.UIStreams;
|
|
7707
|
-
for (const
|
|
7708
|
-
const P =
|
|
7707
|
+
for (const m of Object.keys(p)) {
|
|
7708
|
+
const P = m, V = p[m];
|
|
7709
7709
|
if (V == null)
|
|
7710
7710
|
continue;
|
|
7711
7711
|
const _ = T.beginEntry();
|
|
@@ -7713,10 +7713,10 @@ var Be;
|
|
|
7713
7713
|
e.UIStreamState.writeToTeleport(V, g);
|
|
7714
7714
|
}), _.complete();
|
|
7715
7715
|
}
|
|
7716
|
-
}),
|
|
7716
|
+
}), b.writeStringField(e.SpaceIdFieldId, F.SpaceId), b.writeStringField(e.PrimaryUserIdFieldId, F.PrimaryUserId), b.writeStringField(e.ChannelInstanceIdFieldId, F.ChannelInstanceId), b.writeDictionaryField(e.AudioStreamsFieldId, C.String, C.Object, (T) => {
|
|
7717
7717
|
const p = F.AudioStreams;
|
|
7718
|
-
for (const
|
|
7719
|
-
const P =
|
|
7718
|
+
for (const m of Object.keys(p)) {
|
|
7719
|
+
const P = m, V = p[m];
|
|
7720
7720
|
if (V == null)
|
|
7721
7721
|
continue;
|
|
7722
7722
|
const _ = T.beginEntry();
|
|
@@ -7724,10 +7724,10 @@ var Be;
|
|
|
7724
7724
|
e.AudioStreamState.writeToTeleport(V, g);
|
|
7725
7725
|
}), _.complete();
|
|
7726
7726
|
}
|
|
7727
|
-
}),
|
|
7727
|
+
}), b.writeDictionaryField(e.VideoStreamsFieldId, C.String, C.Object, (T) => {
|
|
7728
7728
|
const p = F.VideoStreams;
|
|
7729
|
-
for (const
|
|
7730
|
-
const P =
|
|
7729
|
+
for (const m of Object.keys(p)) {
|
|
7730
|
+
const P = m, V = p[m];
|
|
7731
7731
|
if (V == null)
|
|
7732
7732
|
continue;
|
|
7733
7733
|
const _ = T.beginEntry();
|
|
@@ -7735,221 +7735,221 @@ var Be;
|
|
|
7735
7735
|
e.VideoStreamState.writeToTeleport(V, g);
|
|
7736
7736
|
}), _.complete();
|
|
7737
7737
|
}
|
|
7738
|
-
}),
|
|
7738
|
+
}), b.writeStringField(e.SpaceNameFieldId, F.SpaceName);
|
|
7739
7739
|
}
|
|
7740
7740
|
e.writeToTeleport = d;
|
|
7741
|
-
function a(F,
|
|
7741
|
+
function a(F, b) {
|
|
7742
7742
|
const T = E.create(F);
|
|
7743
|
-
return c(T,
|
|
7743
|
+
return c(T, b);
|
|
7744
7744
|
}
|
|
7745
7745
|
e.decode = a;
|
|
7746
|
-
function c(F,
|
|
7747
|
-
const T =
|
|
7746
|
+
function c(F, b) {
|
|
7747
|
+
const T = b ?? l();
|
|
7748
7748
|
return i(T), f(F, T), T;
|
|
7749
7749
|
}
|
|
7750
7750
|
e.readFromTeleport = c;
|
|
7751
|
-
function f(F,
|
|
7751
|
+
function f(F, b) {
|
|
7752
7752
|
let T;
|
|
7753
7753
|
for (; (T = F.next()) !== null; )
|
|
7754
7754
|
switch (T.fieldId) {
|
|
7755
7755
|
case e.FirstUserIdFieldId: {
|
|
7756
7756
|
if (T.isNull)
|
|
7757
7757
|
throw new Error("Field FirstUserId cannot be null");
|
|
7758
|
-
|
|
7758
|
+
b.FirstUserId = T.asString();
|
|
7759
7759
|
break;
|
|
7760
7760
|
}
|
|
7761
7761
|
case e.ClientsFieldId: {
|
|
7762
7762
|
if (T.isNull)
|
|
7763
7763
|
throw new Error("Field Clients cannot be null");
|
|
7764
|
-
|
|
7764
|
+
b.Clients = o(T.asDictionary());
|
|
7765
7765
|
break;
|
|
7766
7766
|
}
|
|
7767
7767
|
case e.TrackingStreamsFieldId: {
|
|
7768
7768
|
if (T.isNull)
|
|
7769
7769
|
throw new Error("Field TrackingStreams cannot be null");
|
|
7770
|
-
|
|
7770
|
+
b.TrackingStreams = r(T.asDictionary());
|
|
7771
7771
|
break;
|
|
7772
7772
|
}
|
|
7773
7773
|
case e.ChannelIdFieldId: {
|
|
7774
7774
|
if (T.isNull)
|
|
7775
7775
|
throw new Error("Field ChannelId cannot be null");
|
|
7776
|
-
|
|
7776
|
+
b.ChannelId = T.asString();
|
|
7777
7777
|
break;
|
|
7778
7778
|
}
|
|
7779
7779
|
case e.SessionIdFieldId: {
|
|
7780
7780
|
if (T.isNull)
|
|
7781
7781
|
throw new Error("Field SessionId cannot be null");
|
|
7782
|
-
|
|
7782
|
+
b.SessionId = T.asString();
|
|
7783
7783
|
break;
|
|
7784
7784
|
}
|
|
7785
7785
|
case e.ChannelUrlFieldId: {
|
|
7786
7786
|
if (T.isNull)
|
|
7787
7787
|
throw new Error("Field ChannelUrl cannot be null");
|
|
7788
|
-
|
|
7788
|
+
b.ChannelUrl = T.asString();
|
|
7789
7789
|
break;
|
|
7790
7790
|
}
|
|
7791
7791
|
case e.ChannelNameFieldId: {
|
|
7792
7792
|
if (T.isNull)
|
|
7793
7793
|
throw new Error("Field ChannelName cannot be null");
|
|
7794
|
-
|
|
7794
|
+
b.ChannelName = T.asString();
|
|
7795
7795
|
break;
|
|
7796
7796
|
}
|
|
7797
7797
|
case e.OrganisationNameFieldId: {
|
|
7798
7798
|
if (T.isNull)
|
|
7799
7799
|
throw new Error("Field OrganisationName cannot be null");
|
|
7800
|
-
|
|
7800
|
+
b.OrganisationName = T.asString();
|
|
7801
7801
|
break;
|
|
7802
7802
|
}
|
|
7803
7803
|
case e.FunctionsFieldId: {
|
|
7804
7804
|
if (T.isNull)
|
|
7805
7805
|
throw new Error("Field Functions cannot be null");
|
|
7806
|
-
|
|
7806
|
+
b.Functions = t(T.asDictionary());
|
|
7807
7807
|
break;
|
|
7808
7808
|
}
|
|
7809
7809
|
case e.UIStreamsFieldId: {
|
|
7810
7810
|
if (T.isNull)
|
|
7811
7811
|
throw new Error("Field UIStreams cannot be null");
|
|
7812
|
-
|
|
7812
|
+
b.UIStreams = n(T.asDictionary());
|
|
7813
7813
|
break;
|
|
7814
7814
|
}
|
|
7815
7815
|
case e.SpaceIdFieldId: {
|
|
7816
7816
|
if (T.isNull)
|
|
7817
7817
|
throw new Error("Field SpaceId cannot be null");
|
|
7818
|
-
|
|
7818
|
+
b.SpaceId = T.asString();
|
|
7819
7819
|
break;
|
|
7820
7820
|
}
|
|
7821
7821
|
case e.PrimaryUserIdFieldId: {
|
|
7822
7822
|
if (T.isNull)
|
|
7823
7823
|
throw new Error("Field PrimaryUserId cannot be null");
|
|
7824
|
-
|
|
7824
|
+
b.PrimaryUserId = T.asString();
|
|
7825
7825
|
break;
|
|
7826
7826
|
}
|
|
7827
7827
|
case e.ChannelInstanceIdFieldId: {
|
|
7828
7828
|
if (T.isNull)
|
|
7829
7829
|
throw new Error("Field ChannelInstanceId cannot be null");
|
|
7830
|
-
|
|
7830
|
+
b.ChannelInstanceId = T.asString();
|
|
7831
7831
|
break;
|
|
7832
7832
|
}
|
|
7833
7833
|
case e.AudioStreamsFieldId: {
|
|
7834
7834
|
if (T.isNull)
|
|
7835
7835
|
throw new Error("Field AudioStreams cannot be null");
|
|
7836
|
-
|
|
7836
|
+
b.AudioStreams = u(T.asDictionary());
|
|
7837
7837
|
break;
|
|
7838
7838
|
}
|
|
7839
7839
|
case e.VideoStreamsFieldId: {
|
|
7840
7840
|
if (T.isNull)
|
|
7841
7841
|
throw new Error("Field VideoStreams cannot be null");
|
|
7842
|
-
|
|
7842
|
+
b.VideoStreams = I(T.asDictionary());
|
|
7843
7843
|
break;
|
|
7844
7844
|
}
|
|
7845
7845
|
case e.SpaceNameFieldId: {
|
|
7846
7846
|
if (T.isNull)
|
|
7847
7847
|
throw new Error("Field SpaceName cannot be null");
|
|
7848
|
-
|
|
7848
|
+
b.SpaceName = T.asString();
|
|
7849
7849
|
break;
|
|
7850
7850
|
}
|
|
7851
7851
|
}
|
|
7852
7852
|
}
|
|
7853
|
-
function w(F,
|
|
7853
|
+
function w(F, b, T) {
|
|
7854
7854
|
const p = s(F);
|
|
7855
|
-
return k(e.TeleportOpcode, p, e.TeleportVersion,
|
|
7855
|
+
return k(e.TeleportOpcode, p, e.TeleportVersion, b, T);
|
|
7856
7856
|
}
|
|
7857
7857
|
e.toProtocolMessage = w;
|
|
7858
|
-
function h(F,
|
|
7858
|
+
function h(F, b) {
|
|
7859
7859
|
const T = M(F, e.TeleportOpcode, e.TeleportVersion);
|
|
7860
|
-
return a(T,
|
|
7860
|
+
return a(T, b);
|
|
7861
7861
|
}
|
|
7862
7862
|
e.fromProtocolMessage = h;
|
|
7863
7863
|
function o(F) {
|
|
7864
|
-
const
|
|
7864
|
+
const b = /* @__PURE__ */ Object.create(null);
|
|
7865
7865
|
let T;
|
|
7866
7866
|
for (; (T = F.next()) !== null; ) {
|
|
7867
7867
|
const p = T.key.asInt32();
|
|
7868
|
-
|
|
7868
|
+
b[p] = L.readFromTeleport(T.value.asObject());
|
|
7869
7869
|
}
|
|
7870
|
-
return
|
|
7870
|
+
return b;
|
|
7871
7871
|
}
|
|
7872
7872
|
function r(F) {
|
|
7873
|
-
const
|
|
7873
|
+
const b = /* @__PURE__ */ Object.create(null);
|
|
7874
7874
|
let T;
|
|
7875
7875
|
for (; (T = F.next()) !== null; ) {
|
|
7876
7876
|
const p = T.key.asString();
|
|
7877
|
-
|
|
7877
|
+
b[p] = e.TrackingStreamState.readFromTeleport(T.value.asObject());
|
|
7878
7878
|
}
|
|
7879
|
-
return
|
|
7879
|
+
return b;
|
|
7880
7880
|
}
|
|
7881
7881
|
function t(F) {
|
|
7882
|
-
const
|
|
7882
|
+
const b = /* @__PURE__ */ Object.create(null);
|
|
7883
7883
|
let T;
|
|
7884
7884
|
for (; (T = F.next()) !== null; ) {
|
|
7885
7885
|
const p = T.key.asInt32();
|
|
7886
|
-
|
|
7886
|
+
b[p] = N(T.value.asArray());
|
|
7887
7887
|
}
|
|
7888
|
-
return
|
|
7888
|
+
return b;
|
|
7889
7889
|
}
|
|
7890
7890
|
function n(F) {
|
|
7891
|
-
const
|
|
7891
|
+
const b = /* @__PURE__ */ Object.create(null);
|
|
7892
7892
|
let T;
|
|
7893
7893
|
for (; (T = F.next()) !== null; ) {
|
|
7894
7894
|
const p = T.key.asString();
|
|
7895
|
-
|
|
7895
|
+
b[p] = e.UIStreamState.readFromTeleport(T.value.asObject());
|
|
7896
7896
|
}
|
|
7897
|
-
return
|
|
7897
|
+
return b;
|
|
7898
7898
|
}
|
|
7899
7899
|
function u(F) {
|
|
7900
|
-
const
|
|
7900
|
+
const b = /* @__PURE__ */ Object.create(null);
|
|
7901
7901
|
let T;
|
|
7902
7902
|
for (; (T = F.next()) !== null; ) {
|
|
7903
7903
|
const p = T.key.asString();
|
|
7904
|
-
|
|
7904
|
+
b[p] = e.AudioStreamState.readFromTeleport(T.value.asObject());
|
|
7905
7905
|
}
|
|
7906
|
-
return
|
|
7906
|
+
return b;
|
|
7907
7907
|
}
|
|
7908
7908
|
function I(F) {
|
|
7909
|
-
const
|
|
7909
|
+
const b = /* @__PURE__ */ Object.create(null);
|
|
7910
7910
|
let T;
|
|
7911
7911
|
for (; (T = F.next()) !== null; ) {
|
|
7912
7912
|
const p = T.key.asString();
|
|
7913
|
-
|
|
7913
|
+
b[p] = e.VideoStreamState.readFromTeleport(T.value.asObject());
|
|
7914
7914
|
}
|
|
7915
|
-
return
|
|
7915
|
+
return b;
|
|
7916
7916
|
}
|
|
7917
7917
|
function N(F) {
|
|
7918
|
-
const
|
|
7918
|
+
const b = [];
|
|
7919
7919
|
let T;
|
|
7920
7920
|
for (; (T = F.next()) !== null; )
|
|
7921
|
-
|
|
7922
|
-
return
|
|
7921
|
+
b.push(X.readFromTeleport(T.asObject()));
|
|
7922
|
+
return b;
|
|
7923
7923
|
}
|
|
7924
7924
|
((F) => {
|
|
7925
7925
|
F.TeleportVersion = 3, F.TeleportLayoutHash = 3143891131, F.StreamIdFieldId = 161083277, F.ClientSessionIdFieldId = 325678206, F.TrackIdFieldId = 3469892363, F.InfoFieldId = 3645544153;
|
|
7926
|
-
function
|
|
7926
|
+
function b(g) {
|
|
7927
7927
|
const S = {};
|
|
7928
7928
|
return T(S), g && Object.assign(S, g), S;
|
|
7929
7929
|
}
|
|
7930
|
-
F.create =
|
|
7930
|
+
F.create = b;
|
|
7931
7931
|
function T(g) {
|
|
7932
7932
|
return g.StreamId = "", g.ClientSessionId = 0, g.TrackId = 0, g.Info = ne.create(), g;
|
|
7933
7933
|
}
|
|
7934
7934
|
F.reset = T;
|
|
7935
7935
|
function p(g) {
|
|
7936
7936
|
const S = new y(F.TeleportVersion);
|
|
7937
|
-
return
|
|
7937
|
+
return m(g, S), S.finish();
|
|
7938
7938
|
}
|
|
7939
7939
|
F.encode = p;
|
|
7940
|
-
function
|
|
7940
|
+
function m(g, S) {
|
|
7941
7941
|
S.writeStringField(F.StreamIdFieldId, g.StreamId), S.writeInt32Field(F.ClientSessionIdFieldId, g.ClientSessionId | 0), S.writeInt32Field(F.TrackIdFieldId, g.TrackId | 0), S.writeObjectField(F.InfoFieldId, ne.TeleportVersion, (O) => {
|
|
7942
7942
|
ne.writeToTeleport(g.Info, O);
|
|
7943
7943
|
});
|
|
7944
7944
|
}
|
|
7945
|
-
F.writeToTeleport =
|
|
7945
|
+
F.writeToTeleport = m;
|
|
7946
7946
|
function P(g, S) {
|
|
7947
7947
|
const O = E.create(g);
|
|
7948
7948
|
return V(O, S);
|
|
7949
7949
|
}
|
|
7950
7950
|
F.decode = P;
|
|
7951
7951
|
function V(g, S) {
|
|
7952
|
-
const O = S ??
|
|
7952
|
+
const O = S ?? b();
|
|
7953
7953
|
return T(O), _(g, O), O;
|
|
7954
7954
|
}
|
|
7955
7955
|
F.readFromTeleport = V;
|
|
@@ -7985,33 +7985,33 @@ var Be;
|
|
|
7985
7985
|
}
|
|
7986
7986
|
})(e.UIStreamState || (e.UIStreamState = {})), ((F) => {
|
|
7987
7987
|
F.TeleportVersion = 3, F.TeleportLayoutHash = 3143891131, F.StreamIdFieldId = 161083277, F.ClientSessionIdFieldId = 325678206, F.TrackIdFieldId = 3469892363, F.InfoFieldId = 3645544153;
|
|
7988
|
-
function
|
|
7988
|
+
function b(g) {
|
|
7989
7989
|
const S = {};
|
|
7990
7990
|
return T(S), g && Object.assign(S, g), S;
|
|
7991
7991
|
}
|
|
7992
|
-
F.create =
|
|
7992
|
+
F.create = b;
|
|
7993
7993
|
function T(g) {
|
|
7994
7994
|
return g.StreamId = "", g.ClientSessionId = 0, g.TrackId = 0, g.Info = re.create(), g;
|
|
7995
7995
|
}
|
|
7996
7996
|
F.reset = T;
|
|
7997
7997
|
function p(g) {
|
|
7998
7998
|
const S = new y(F.TeleportVersion);
|
|
7999
|
-
return
|
|
7999
|
+
return m(g, S), S.finish();
|
|
8000
8000
|
}
|
|
8001
8001
|
F.encode = p;
|
|
8002
|
-
function
|
|
8002
|
+
function m(g, S) {
|
|
8003
8003
|
S.writeStringField(F.StreamIdFieldId, g.StreamId), S.writeInt32Field(F.ClientSessionIdFieldId, g.ClientSessionId | 0), S.writeInt32Field(F.TrackIdFieldId, g.TrackId | 0), S.writeObjectField(F.InfoFieldId, re.TeleportVersion, (O) => {
|
|
8004
8004
|
re.writeToTeleport(g.Info, O);
|
|
8005
8005
|
});
|
|
8006
8006
|
}
|
|
8007
|
-
F.writeToTeleport =
|
|
8007
|
+
F.writeToTeleport = m;
|
|
8008
8008
|
function P(g, S) {
|
|
8009
8009
|
const O = E.create(g);
|
|
8010
8010
|
return V(O, S);
|
|
8011
8011
|
}
|
|
8012
8012
|
F.decode = P;
|
|
8013
8013
|
function V(g, S) {
|
|
8014
|
-
const O = S ??
|
|
8014
|
+
const O = S ?? b();
|
|
8015
8015
|
return T(O), _(g, O), O;
|
|
8016
8016
|
}
|
|
8017
8017
|
F.readFromTeleport = V;
|
|
@@ -8047,33 +8047,33 @@ var Be;
|
|
|
8047
8047
|
}
|
|
8048
8048
|
})(e.AudioStreamState || (e.AudioStreamState = {})), ((F) => {
|
|
8049
8049
|
F.TeleportVersion = 3, F.TeleportLayoutHash = 3143891131, F.StreamIdFieldId = 161083277, F.ClientSessionIdFieldId = 325678206, F.TrackIdFieldId = 3469892363, F.InfoFieldId = 3645544153;
|
|
8050
|
-
function
|
|
8050
|
+
function b(g) {
|
|
8051
8051
|
const S = {};
|
|
8052
8052
|
return T(S), g && Object.assign(S, g), S;
|
|
8053
8053
|
}
|
|
8054
|
-
F.create =
|
|
8054
|
+
F.create = b;
|
|
8055
8055
|
function T(g) {
|
|
8056
8056
|
return g.StreamId = "", g.ClientSessionId = 0, g.TrackId = 0, g.Info = le.create(), g;
|
|
8057
8057
|
}
|
|
8058
8058
|
F.reset = T;
|
|
8059
8059
|
function p(g) {
|
|
8060
8060
|
const S = new y(F.TeleportVersion);
|
|
8061
|
-
return
|
|
8061
|
+
return m(g, S), S.finish();
|
|
8062
8062
|
}
|
|
8063
8063
|
F.encode = p;
|
|
8064
|
-
function
|
|
8064
|
+
function m(g, S) {
|
|
8065
8065
|
S.writeStringField(F.StreamIdFieldId, g.StreamId), S.writeInt32Field(F.ClientSessionIdFieldId, g.ClientSessionId | 0), S.writeInt32Field(F.TrackIdFieldId, g.TrackId | 0), S.writeObjectField(F.InfoFieldId, le.TeleportVersion, (O) => {
|
|
8066
8066
|
le.writeToTeleport(g.Info, O);
|
|
8067
8067
|
});
|
|
8068
8068
|
}
|
|
8069
|
-
F.writeToTeleport =
|
|
8069
|
+
F.writeToTeleport = m;
|
|
8070
8070
|
function P(g, S) {
|
|
8071
8071
|
const O = E.create(g);
|
|
8072
8072
|
return V(O, S);
|
|
8073
8073
|
}
|
|
8074
8074
|
F.decode = P;
|
|
8075
8075
|
function V(g, S) {
|
|
8076
|
-
const O = S ??
|
|
8076
|
+
const O = S ?? b();
|
|
8077
8077
|
return T(O), _(g, O), O;
|
|
8078
8078
|
}
|
|
8079
8079
|
F.readFromTeleport = V;
|
|
@@ -8109,33 +8109,33 @@ var Be;
|
|
|
8109
8109
|
}
|
|
8110
8110
|
})(e.VideoStreamState || (e.VideoStreamState = {})), ((F) => {
|
|
8111
8111
|
F.TeleportVersion = 3, F.TeleportLayoutHash = 3143891131, F.StreamIdFieldId = 161083277, F.ClientSessionIdFieldId = 325678206, F.TrackIdFieldId = 3469892363, F.InfoFieldId = 3645544153;
|
|
8112
|
-
function
|
|
8112
|
+
function b(g) {
|
|
8113
8113
|
const S = {};
|
|
8114
8114
|
return T(S), g && Object.assign(S, g), S;
|
|
8115
8115
|
}
|
|
8116
|
-
F.create =
|
|
8116
|
+
F.create = b;
|
|
8117
8117
|
function T(g) {
|
|
8118
8118
|
return g.StreamId = "", g.ClientSessionId = 0, g.TrackId = 0, g.Info = oe.create(), g;
|
|
8119
8119
|
}
|
|
8120
8120
|
F.reset = T;
|
|
8121
8121
|
function p(g) {
|
|
8122
8122
|
const S = new y(F.TeleportVersion);
|
|
8123
|
-
return
|
|
8123
|
+
return m(g, S), S.finish();
|
|
8124
8124
|
}
|
|
8125
8125
|
F.encode = p;
|
|
8126
|
-
function
|
|
8126
|
+
function m(g, S) {
|
|
8127
8127
|
S.writeStringField(F.StreamIdFieldId, g.StreamId), S.writeInt32Field(F.ClientSessionIdFieldId, g.ClientSessionId | 0), S.writeInt32Field(F.TrackIdFieldId, g.TrackId | 0), S.writeObjectField(F.InfoFieldId, oe.TeleportVersion, (O) => {
|
|
8128
8128
|
oe.writeToTeleport(g.Info, O);
|
|
8129
8129
|
});
|
|
8130
8130
|
}
|
|
8131
|
-
F.writeToTeleport =
|
|
8131
|
+
F.writeToTeleport = m;
|
|
8132
8132
|
function P(g, S) {
|
|
8133
8133
|
const O = E.create(g);
|
|
8134
8134
|
return V(O, S);
|
|
8135
8135
|
}
|
|
8136
8136
|
F.decode = P;
|
|
8137
8137
|
function V(g, S) {
|
|
8138
|
-
const O = S ??
|
|
8138
|
+
const O = S ?? b();
|
|
8139
8139
|
return T(O), _(g, O), O;
|
|
8140
8140
|
}
|
|
8141
8141
|
F.readFromTeleport = V;
|
|
@@ -8244,38 +8244,38 @@ var vt;
|
|
|
8244
8244
|
e.encode = s;
|
|
8245
8245
|
function d(I, N) {
|
|
8246
8246
|
N.writeBoolField(e.DisableLegacyDefaultExtensionsFieldId, I.DisableLegacyDefaultExtensions), N.writeDictionaryField(e.DynamicConfigObsoleteFieldId, C.String, C.String, (F) => {
|
|
8247
|
-
const
|
|
8248
|
-
for (const T of Object.keys(
|
|
8249
|
-
const p = T,
|
|
8250
|
-
if (
|
|
8247
|
+
const b = I.DynamicConfigObsolete;
|
|
8248
|
+
for (const T of Object.keys(b)) {
|
|
8249
|
+
const p = T, m = b[T];
|
|
8250
|
+
if (m == null)
|
|
8251
8251
|
continue;
|
|
8252
8252
|
const P = F.beginEntry();
|
|
8253
|
-
P.writeKeyString(p), P.writeValueString(
|
|
8253
|
+
P.writeKeyString(p), P.writeValueString(m), P.complete();
|
|
8254
8254
|
}
|
|
8255
8255
|
}), N.writeArrayField(e.ExtensionsFieldId, C.Object, (F) => {
|
|
8256
|
-
for (const
|
|
8256
|
+
for (const b of I.Extensions)
|
|
8257
8257
|
F.writeObject(e.ServerExtensionInit.TeleportVersion, (T) => {
|
|
8258
|
-
e.ServerExtensionInit.writeToTeleport(
|
|
8258
|
+
e.ServerExtensionInit.writeToTeleport(b, T);
|
|
8259
8259
|
});
|
|
8260
8260
|
}), N.writeArrayField(e.TunnelPortsFieldId, C.Int32, (F) => {
|
|
8261
|
-
for (const
|
|
8262
|
-
F.writeInt32(
|
|
8261
|
+
for (const b of I.TunnelPorts)
|
|
8262
|
+
F.writeInt32(b | 0);
|
|
8263
8263
|
}), N.writeStringField(e.ChannelIdFieldId, I.ChannelId), N.writeStringField(e.SessionIdFieldId, I.SessionId), N.writeStringField(e.ChannelUrlFieldId, I.ChannelUrl), N.writeStringField(e.ChannelNameFieldId, I.ChannelName), N.writeStringField(e.DynamicConfigJsonContentFieldId, I.DynamicConfigJsonContent), N.writeStringField(e.SpaceGitRepositoryUrlFieldId, I.SpaceGitRepositoryUrl), N.writeArrayField(e.TunnelsFieldId, C.String, (F) => {
|
|
8264
|
-
for (const
|
|
8265
|
-
F.writeString(
|
|
8264
|
+
for (const b of I.Tunnels)
|
|
8265
|
+
F.writeString(b);
|
|
8266
8266
|
}), N.writeStringField(e.IkonBackendUrlFieldId, I.IkonBackendUrl), N.writeStringField(e.OrganisationNameFieldId, I.OrganisationName), N.writeArrayField(e.PluginsFieldId, C.Object, (F) => {
|
|
8267
|
-
for (const
|
|
8267
|
+
for (const b of I.Plugins)
|
|
8268
8268
|
F.writeObject(e.ServerPluginInit.TeleportVersion, (T) => {
|
|
8269
|
-
e.ServerPluginInit.writeToTeleport(
|
|
8269
|
+
e.ServerPluginInit.writeToTeleport(b, T);
|
|
8270
8270
|
});
|
|
8271
8271
|
}), N.writeStringField(e.SpaceIdFieldId, I.SpaceId), N.writeStringField(e.PrimaryUserIdFieldId, I.PrimaryUserId), N.writeStringField(e.IkonBackendTokenFieldId, I.IkonBackendToken), N.writeStringField(e.ChannelTemplateIdFieldId, I.ChannelTemplateId), N.writeDictionaryField(e.SessionIdentityFieldId, C.String, C.String, (F) => {
|
|
8272
|
-
const
|
|
8273
|
-
for (const T of Object.keys(
|
|
8274
|
-
const p = T,
|
|
8275
|
-
if (
|
|
8272
|
+
const b = I.SessionIdentity;
|
|
8273
|
+
for (const T of Object.keys(b)) {
|
|
8274
|
+
const p = T, m = b[T];
|
|
8275
|
+
if (m == null)
|
|
8276
8276
|
continue;
|
|
8277
8277
|
const P = F.beginEntry();
|
|
8278
|
-
P.writeKeyString(p), P.writeValueString(
|
|
8278
|
+
P.writeKeyString(p), P.writeValueString(m), P.complete();
|
|
8279
8279
|
}
|
|
8280
8280
|
}), N.writeStringField(e.SpaceNameFieldId, I.SpaceName);
|
|
8281
8281
|
}
|
|
@@ -8417,8 +8417,8 @@ var vt;
|
|
|
8417
8417
|
}
|
|
8418
8418
|
}
|
|
8419
8419
|
function w(I, N, F) {
|
|
8420
|
-
const
|
|
8421
|
-
return k(e.TeleportOpcode,
|
|
8420
|
+
const b = s(I);
|
|
8421
|
+
return k(e.TeleportOpcode, b, e.TeleportVersion, N, F);
|
|
8422
8422
|
}
|
|
8423
8423
|
e.toProtocolMessage = w;
|
|
8424
8424
|
function h(I, N) {
|
|
@@ -8458,8 +8458,8 @@ var vt;
|
|
|
8458
8458
|
const N = /* @__PURE__ */ Object.create(null);
|
|
8459
8459
|
let F;
|
|
8460
8460
|
for (; (F = I.next()) !== null; ) {
|
|
8461
|
-
const
|
|
8462
|
-
N[
|
|
8461
|
+
const b = F.key.asString();
|
|
8462
|
+
N[b] = F.value.asString();
|
|
8463
8463
|
}
|
|
8464
8464
|
return N;
|
|
8465
8465
|
}
|
|
@@ -8474,11 +8474,11 @@ var vt;
|
|
|
8474
8474
|
return _.Enabled = !1, _.BundleDirectoryPath = "", _.BundleDirectoryZipContent = new Uint8Array(0), _.DllName = "", _.TypeName = "", _.ConfigFilePath = "", _.ConfigJsonContent = "", _.ExtraConfigs = [], _;
|
|
8475
8475
|
}
|
|
8476
8476
|
I.reset = F;
|
|
8477
|
-
function
|
|
8477
|
+
function b(_) {
|
|
8478
8478
|
const g = new y(I.TeleportVersion);
|
|
8479
8479
|
return T(_, g), g.finish();
|
|
8480
8480
|
}
|
|
8481
|
-
I.encode =
|
|
8481
|
+
I.encode = b;
|
|
8482
8482
|
function T(_, g) {
|
|
8483
8483
|
g.writeStringField(I.BundleDirectoryPathFieldId, _.BundleDirectoryPath), g.writeBinaryField(I.BundleDirectoryZipContentFieldId, _.BundleDirectoryZipContent), g.writeStringField(I.ConfigJsonContentFieldId, _.ConfigJsonContent), g.writeStringField(I.DllNameFieldId, _.DllName), g.writeStringField(I.ConfigFilePathFieldId, _.ConfigFilePath), g.writeBoolField(I.EnabledFieldId, _.Enabled), g.writeArrayField(I.ExtraConfigsFieldId, C.Object, (S) => {
|
|
8484
8484
|
for (const O of _.ExtraConfigs)
|
|
@@ -8490,14 +8490,14 @@ var vt;
|
|
|
8490
8490
|
I.writeToTeleport = T;
|
|
8491
8491
|
function p(_, g) {
|
|
8492
8492
|
const S = E.create(_);
|
|
8493
|
-
return
|
|
8493
|
+
return m(S, g);
|
|
8494
8494
|
}
|
|
8495
8495
|
I.decode = p;
|
|
8496
|
-
function
|
|
8496
|
+
function m(_, g) {
|
|
8497
8497
|
const S = g ?? N();
|
|
8498
8498
|
return F(S), P(_, S), S;
|
|
8499
8499
|
}
|
|
8500
|
-
I.readFromTeleport =
|
|
8500
|
+
I.readFromTeleport = m;
|
|
8501
8501
|
function P(_, g) {
|
|
8502
8502
|
let S;
|
|
8503
8503
|
for (; (S = _.next()) !== null; )
|
|
@@ -8570,25 +8570,25 @@ var vt;
|
|
|
8570
8570
|
return V.FilePath = "", V.Content = "", V;
|
|
8571
8571
|
}
|
|
8572
8572
|
I.reset = F;
|
|
8573
|
-
function
|
|
8573
|
+
function b(V) {
|
|
8574
8574
|
const _ = new y(I.TeleportVersion);
|
|
8575
8575
|
return T(V, _), _.finish();
|
|
8576
8576
|
}
|
|
8577
|
-
I.encode =
|
|
8577
|
+
I.encode = b;
|
|
8578
8578
|
function T(V, _) {
|
|
8579
8579
|
_.writeStringField(I.FilePathFieldId, V.FilePath), _.writeStringField(I.ContentFieldId, V.Content);
|
|
8580
8580
|
}
|
|
8581
8581
|
I.writeToTeleport = T;
|
|
8582
8582
|
function p(V, _) {
|
|
8583
8583
|
const g = E.create(V);
|
|
8584
|
-
return
|
|
8584
|
+
return m(g, _);
|
|
8585
8585
|
}
|
|
8586
8586
|
I.decode = p;
|
|
8587
|
-
function
|
|
8587
|
+
function m(V, _) {
|
|
8588
8588
|
const g = _ ?? N();
|
|
8589
8589
|
return F(g), P(V, g), g;
|
|
8590
8590
|
}
|
|
8591
|
-
I.readFromTeleport =
|
|
8591
|
+
I.readFromTeleport = m;
|
|
8592
8592
|
function P(V, _) {
|
|
8593
8593
|
let g;
|
|
8594
8594
|
for (; (g = V.next()) !== null; )
|
|
@@ -8618,25 +8618,25 @@ var vt;
|
|
|
8618
8618
|
return V.Enabled = !1, V.TypeName = "", V.ConfigJsonContent = "", V;
|
|
8619
8619
|
}
|
|
8620
8620
|
I.reset = F;
|
|
8621
|
-
function
|
|
8621
|
+
function b(V) {
|
|
8622
8622
|
const _ = new y(I.TeleportVersion);
|
|
8623
8623
|
return T(V, _), _.finish();
|
|
8624
8624
|
}
|
|
8625
|
-
I.encode =
|
|
8625
|
+
I.encode = b;
|
|
8626
8626
|
function T(V, _) {
|
|
8627
8627
|
_.writeStringField(I.ConfigJsonContentFieldId, V.ConfigJsonContent), _.writeBoolField(I.EnabledFieldId, V.Enabled), _.writeStringField(I.TypeNameFieldId, V.TypeName);
|
|
8628
8628
|
}
|
|
8629
8629
|
I.writeToTeleport = T;
|
|
8630
8630
|
function p(V, _) {
|
|
8631
8631
|
const g = E.create(V);
|
|
8632
|
-
return
|
|
8632
|
+
return m(g, _);
|
|
8633
8633
|
}
|
|
8634
8634
|
I.decode = p;
|
|
8635
|
-
function
|
|
8635
|
+
function m(V, _) {
|
|
8636
8636
|
const g = _ ?? N();
|
|
8637
8637
|
return F(g), P(V, g), g;
|
|
8638
8638
|
}
|
|
8639
|
-
I.readFromTeleport =
|
|
8639
|
+
I.readFromTeleport = m;
|
|
8640
8640
|
function P(V, _) {
|
|
8641
8641
|
let g;
|
|
8642
8642
|
for (; (g = V.next()) !== null; )
|
|
@@ -8687,8 +8687,8 @@ var jt;
|
|
|
8687
8687
|
const N = I, F = u[I];
|
|
8688
8688
|
if (F == null)
|
|
8689
8689
|
continue;
|
|
8690
|
-
const
|
|
8691
|
-
|
|
8690
|
+
const b = n.beginEntry();
|
|
8691
|
+
b.writeKeyString(N), b.writeValueString(F), b.complete();
|
|
8692
8692
|
}
|
|
8693
8693
|
});
|
|
8694
8694
|
}
|
|
@@ -10180,8 +10180,8 @@ var ro;
|
|
|
10180
10180
|
((t) => {
|
|
10181
10181
|
t.TeleportVersion = 1, t.TeleportLayoutHash = 4085725210, t.NameFieldId = 1107713536, t.ValueFieldId = 1405462580, t.GroupFieldId = 2111279390;
|
|
10182
10182
|
function n(p) {
|
|
10183
|
-
const
|
|
10184
|
-
return u(
|
|
10183
|
+
const m = {};
|
|
10184
|
+
return u(m), p && Object.assign(m, p), m;
|
|
10185
10185
|
}
|
|
10186
10186
|
t.create = n;
|
|
10187
10187
|
function u(p) {
|
|
@@ -10189,44 +10189,44 @@ var ro;
|
|
|
10189
10189
|
}
|
|
10190
10190
|
t.reset = u;
|
|
10191
10191
|
function I(p) {
|
|
10192
|
-
const
|
|
10193
|
-
return N(p,
|
|
10192
|
+
const m = new y(t.TeleportVersion);
|
|
10193
|
+
return N(p, m), m.finish();
|
|
10194
10194
|
}
|
|
10195
10195
|
t.encode = I;
|
|
10196
|
-
function N(p,
|
|
10197
|
-
|
|
10196
|
+
function N(p, m) {
|
|
10197
|
+
m.writeStringField(t.NameFieldId, p.Name), m.writeStringField(t.ValueFieldId, p.Value), m.writeStringField(t.GroupFieldId, p.Group);
|
|
10198
10198
|
}
|
|
10199
10199
|
t.writeToTeleport = N;
|
|
10200
|
-
function F(p,
|
|
10200
|
+
function F(p, m) {
|
|
10201
10201
|
const P = E.create(p);
|
|
10202
|
-
return
|
|
10202
|
+
return b(P, m);
|
|
10203
10203
|
}
|
|
10204
10204
|
t.decode = F;
|
|
10205
|
-
function
|
|
10206
|
-
const P =
|
|
10205
|
+
function b(p, m) {
|
|
10206
|
+
const P = m ?? n();
|
|
10207
10207
|
return u(P), T(p, P), P;
|
|
10208
10208
|
}
|
|
10209
|
-
t.readFromTeleport =
|
|
10210
|
-
function T(p,
|
|
10209
|
+
t.readFromTeleport = b;
|
|
10210
|
+
function T(p, m) {
|
|
10211
10211
|
let P;
|
|
10212
10212
|
for (; (P = p.next()) !== null; )
|
|
10213
10213
|
switch (P.fieldId) {
|
|
10214
10214
|
case t.NameFieldId: {
|
|
10215
10215
|
if (P.isNull)
|
|
10216
10216
|
throw new Error("Field Name cannot be null");
|
|
10217
|
-
|
|
10217
|
+
m.Name = P.asString();
|
|
10218
10218
|
break;
|
|
10219
10219
|
}
|
|
10220
10220
|
case t.ValueFieldId: {
|
|
10221
10221
|
if (P.isNull)
|
|
10222
10222
|
throw new Error("Field Value cannot be null");
|
|
10223
|
-
|
|
10223
|
+
m.Value = P.asString();
|
|
10224
10224
|
break;
|
|
10225
10225
|
}
|
|
10226
10226
|
case t.GroupFieldId: {
|
|
10227
10227
|
if (P.isNull)
|
|
10228
10228
|
throw new Error("Field Group cannot be null");
|
|
10229
|
-
|
|
10229
|
+
m.Group = P.asString();
|
|
10230
10230
|
break;
|
|
10231
10231
|
}
|
|
10232
10232
|
}
|
|
@@ -11183,12 +11183,12 @@ var fo;
|
|
|
11183
11183
|
u.writeDictionaryField(e.PayloadsFieldId, C.String, C.Object, (I) => {
|
|
11184
11184
|
const N = n.Payloads;
|
|
11185
11185
|
for (const F of Object.keys(N)) {
|
|
11186
|
-
const
|
|
11186
|
+
const b = F, T = N[F];
|
|
11187
11187
|
if (T == null)
|
|
11188
11188
|
continue;
|
|
11189
11189
|
const p = I.beginEntry();
|
|
11190
|
-
p.writeKeyString(
|
|
11191
|
-
q.writeToTeleport(T,
|
|
11190
|
+
p.writeKeyString(b), p.writeValueObject(q.TeleportVersion, (m) => {
|
|
11191
|
+
q.writeToTeleport(T, m);
|
|
11192
11192
|
}), p.complete();
|
|
11193
11193
|
}
|
|
11194
11194
|
}), u.writeStringField(e.StyleIdFieldId, n.StyleId), u.writeStringField(e.NameFieldId, n.Name), u.writeStringField(e.DescriptionFieldId, n.Description), u.writeInt32Field(e.ElementIdFieldId, n.ElementId | 0), u.writeArrayField(e.LabelsFieldId, C.String, (I) => {
|
|
@@ -11197,12 +11197,12 @@ var fo;
|
|
|
11197
11197
|
}), u.writeStringField(e.ArgumentsJsonFieldId, n.ArgumentsJson), u.writeDictionaryField(e.ActionIdsFieldId, C.String, C.Object, (I) => {
|
|
11198
11198
|
const N = n.ActionIds;
|
|
11199
11199
|
for (const F of Object.keys(N)) {
|
|
11200
|
-
const
|
|
11200
|
+
const b = F, T = N[F];
|
|
11201
11201
|
if (T == null)
|
|
11202
11202
|
continue;
|
|
11203
11203
|
const p = I.beginEntry();
|
|
11204
|
-
p.writeKeyString(
|
|
11205
|
-
we.writeToTeleport(T,
|
|
11204
|
+
p.writeKeyString(b), p.writeValueObject(we.TeleportVersion, (m) => {
|
|
11205
|
+
we.writeToTeleport(T, m);
|
|
11206
11206
|
}), p.complete();
|
|
11207
11207
|
}
|
|
11208
11208
|
});
|
|
@@ -11469,53 +11469,53 @@ var wo;
|
|
|
11469
11469
|
}
|
|
11470
11470
|
r.writeToTeleport = I;
|
|
11471
11471
|
function N(T, p) {
|
|
11472
|
-
const
|
|
11473
|
-
return F(
|
|
11472
|
+
const m = E.create(T);
|
|
11473
|
+
return F(m, p);
|
|
11474
11474
|
}
|
|
11475
11475
|
r.decode = N;
|
|
11476
11476
|
function F(T, p) {
|
|
11477
|
-
const
|
|
11478
|
-
return n(
|
|
11477
|
+
const m = p ?? t();
|
|
11478
|
+
return n(m), b(T, m), m;
|
|
11479
11479
|
}
|
|
11480
11480
|
r.readFromTeleport = F;
|
|
11481
|
-
function
|
|
11482
|
-
let
|
|
11483
|
-
for (; (
|
|
11484
|
-
switch (
|
|
11481
|
+
function b(T, p) {
|
|
11482
|
+
let m;
|
|
11483
|
+
for (; (m = T.next()) !== null; )
|
|
11484
|
+
switch (m.fieldId) {
|
|
11485
11485
|
case r.FileNameFieldId: {
|
|
11486
|
-
if (
|
|
11486
|
+
if (m.isNull)
|
|
11487
11487
|
throw new Error("Field FileName cannot be null");
|
|
11488
|
-
p.FileName =
|
|
11488
|
+
p.FileName = m.asString();
|
|
11489
11489
|
break;
|
|
11490
11490
|
}
|
|
11491
11491
|
case r.SizeFieldId: {
|
|
11492
|
-
if (
|
|
11492
|
+
if (m.isNull)
|
|
11493
11493
|
throw new Error("Field Size cannot be null");
|
|
11494
|
-
p.Size =
|
|
11494
|
+
p.Size = m.asInt32();
|
|
11495
11495
|
break;
|
|
11496
11496
|
}
|
|
11497
11497
|
case r.NameFieldId: {
|
|
11498
|
-
if (
|
|
11498
|
+
if (m.isNull)
|
|
11499
11499
|
throw new Error("Field Name cannot be null");
|
|
11500
|
-
p.Name =
|
|
11500
|
+
p.Name = m.asString();
|
|
11501
11501
|
break;
|
|
11502
11502
|
}
|
|
11503
11503
|
case r.CreatedAtFieldId: {
|
|
11504
|
-
if (
|
|
11504
|
+
if (m.isNull)
|
|
11505
11505
|
throw new Error("Field CreatedAt cannot be null");
|
|
11506
|
-
p.CreatedAt =
|
|
11506
|
+
p.CreatedAt = m.asString();
|
|
11507
11507
|
break;
|
|
11508
11508
|
}
|
|
11509
11509
|
case r.UrlFieldId: {
|
|
11510
|
-
if (
|
|
11510
|
+
if (m.isNull)
|
|
11511
11511
|
throw new Error("Field Url cannot be null");
|
|
11512
|
-
p.Url =
|
|
11512
|
+
p.Url = m.asString();
|
|
11513
11513
|
break;
|
|
11514
11514
|
}
|
|
11515
11515
|
case r.IdFieldId: {
|
|
11516
|
-
if (
|
|
11516
|
+
if (m.isNull)
|
|
11517
11517
|
throw new Error("Field Id cannot be null");
|
|
11518
|
-
p.Id =
|
|
11518
|
+
p.Id = m.asString();
|
|
11519
11519
|
break;
|
|
11520
11520
|
}
|
|
11521
11521
|
}
|
|
@@ -12006,7 +12006,7 @@ var Fo;
|
|
|
12006
12006
|
return t;
|
|
12007
12007
|
}
|
|
12008
12008
|
})(Fo || (Fo = {}));
|
|
12009
|
-
var
|
|
12009
|
+
var mo;
|
|
12010
12010
|
((e) => {
|
|
12011
12011
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097167, e.TeleportLayoutHash = 902326874, e.DropActionIdFieldId = 125663982, e.DragOverActionIdFieldId = 397939120, e.DragEndActionIdFieldId = 604708310, e.DragLeaveActionIdFieldId = 807214320, e.StyleIdFieldId = 979822885, e.NameFieldId = 1107713536, e.PressStartActionIdFieldId = 1115189793, e.PressChangeActionIdFieldId = 1297223534, e.PressEndActionIdFieldId = 1604349297, e.ElementIdFieldId = 1753055760, e.DragStartActionIdFieldId = 2069639306, e.LabelsFieldId = 2329079073, e.UrlFieldId = 2643541312, e.MimeFieldId = 2697635005, e.ClickActionIdFieldId = 2904763197, e.DataFieldId = 2986785889, e.DragEnterActionIdFieldId = 3852067844, e.PressUpActionIdFieldId = 4113077146;
|
|
12012
12012
|
function l(r) {
|
|
@@ -12171,8 +12171,8 @@ var bo;
|
|
|
12171
12171
|
t.push(n.asString());
|
|
12172
12172
|
return t;
|
|
12173
12173
|
}
|
|
12174
|
-
})(
|
|
12175
|
-
var
|
|
12174
|
+
})(mo || (mo = {}));
|
|
12175
|
+
var bo;
|
|
12176
12176
|
((e) => {
|
|
12177
12177
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097191, e.TeleportLayoutHash = 2491188219, e.ModulesFieldId = 2824693793;
|
|
12178
12178
|
function l(r) {
|
|
@@ -12255,42 +12255,42 @@ var mo;
|
|
|
12255
12255
|
r.encode = u;
|
|
12256
12256
|
function I(T, p) {
|
|
12257
12257
|
p.writeStringField(r.NameFieldId, T.Name);
|
|
12258
|
-
const
|
|
12259
|
-
|
|
12258
|
+
const m = T.Javascript;
|
|
12259
|
+
m != null && p.writeStringField(r.JavascriptFieldId, m);
|
|
12260
12260
|
}
|
|
12261
12261
|
r.writeToTeleport = I;
|
|
12262
12262
|
function N(T, p) {
|
|
12263
|
-
const
|
|
12264
|
-
return F(
|
|
12263
|
+
const m = E.create(T);
|
|
12264
|
+
return F(m, p);
|
|
12265
12265
|
}
|
|
12266
12266
|
r.decode = N;
|
|
12267
12267
|
function F(T, p) {
|
|
12268
|
-
const
|
|
12269
|
-
return n(
|
|
12268
|
+
const m = p ?? t();
|
|
12269
|
+
return n(m), b(T, m), m;
|
|
12270
12270
|
}
|
|
12271
12271
|
r.readFromTeleport = F;
|
|
12272
|
-
function
|
|
12273
|
-
let
|
|
12274
|
-
for (; (
|
|
12275
|
-
switch (
|
|
12272
|
+
function b(T, p) {
|
|
12273
|
+
let m;
|
|
12274
|
+
for (; (m = T.next()) !== null; )
|
|
12275
|
+
switch (m.fieldId) {
|
|
12276
12276
|
case r.NameFieldId: {
|
|
12277
|
-
if (
|
|
12277
|
+
if (m.isNull)
|
|
12278
12278
|
throw new Error("Field Name cannot be null");
|
|
12279
|
-
p.Name =
|
|
12279
|
+
p.Name = m.asString();
|
|
12280
12280
|
break;
|
|
12281
12281
|
}
|
|
12282
12282
|
case r.JavascriptFieldId: {
|
|
12283
|
-
if (
|
|
12283
|
+
if (m.isNull) {
|
|
12284
12284
|
p.Javascript = void 0;
|
|
12285
12285
|
break;
|
|
12286
12286
|
}
|
|
12287
|
-
p.Javascript =
|
|
12287
|
+
p.Javascript = m.asString();
|
|
12288
12288
|
break;
|
|
12289
12289
|
}
|
|
12290
12290
|
}
|
|
12291
12291
|
}
|
|
12292
12292
|
})(e.UIInitModule || (e.UIInitModule = {}));
|
|
12293
|
-
})(
|
|
12293
|
+
})(bo || (bo = {}));
|
|
12294
12294
|
var yo;
|
|
12295
12295
|
((e) => {
|
|
12296
12296
|
e.TeleportVersion = 1, e.TeleportOpcode = 2097180, e.TeleportLayoutHash = 4201975843, e.VariantFieldId = 224706665, e.StyleIdFieldId = 979822885, e.NameFieldId = 1107713536, e.ColorFieldId = 1668824531, e.ElementIdFieldId = 1753055760, e.InitialValueFieldId = 2273729899, e.RowsFieldId = 2325885894, e.LabelsFieldId = 2329079073, e.UpdateActionIdFieldId = 3146631935, e.SubmitActionIdFieldId = 4282408692;
|
|
@@ -12734,8 +12734,8 @@ var Mo;
|
|
|
12734
12734
|
((t) => {
|
|
12735
12735
|
t.TeleportVersion = 1, t.TeleportLayoutHash = 2810867083, t.TitleFieldId = 347326591, t.LongitudeFieldId = 3612634469, t.LatitudeFieldId = 4280239745;
|
|
12736
12736
|
function n(p) {
|
|
12737
|
-
const
|
|
12738
|
-
return u(
|
|
12737
|
+
const m = {};
|
|
12738
|
+
return u(m), p && Object.assign(m, p), m;
|
|
12739
12739
|
}
|
|
12740
12740
|
t.create = n;
|
|
12741
12741
|
function u(p) {
|
|
@@ -12743,44 +12743,44 @@ var Mo;
|
|
|
12743
12743
|
}
|
|
12744
12744
|
t.reset = u;
|
|
12745
12745
|
function I(p) {
|
|
12746
|
-
const
|
|
12747
|
-
return N(p,
|
|
12746
|
+
const m = new y(t.TeleportVersion);
|
|
12747
|
+
return N(p, m), m.finish();
|
|
12748
12748
|
}
|
|
12749
12749
|
t.encode = I;
|
|
12750
|
-
function N(p,
|
|
12751
|
-
|
|
12750
|
+
function N(p, m) {
|
|
12751
|
+
m.writeStringField(t.TitleFieldId, p.Title), m.writeFloat32Field(t.LongitudeFieldId, p.Longitude), m.writeFloat32Field(t.LatitudeFieldId, p.Latitude);
|
|
12752
12752
|
}
|
|
12753
12753
|
t.writeToTeleport = N;
|
|
12754
|
-
function F(p,
|
|
12754
|
+
function F(p, m) {
|
|
12755
12755
|
const P = E.create(p);
|
|
12756
|
-
return
|
|
12756
|
+
return b(P, m);
|
|
12757
12757
|
}
|
|
12758
12758
|
t.decode = F;
|
|
12759
|
-
function
|
|
12760
|
-
const P =
|
|
12759
|
+
function b(p, m) {
|
|
12760
|
+
const P = m ?? n();
|
|
12761
12761
|
return u(P), T(p, P), P;
|
|
12762
12762
|
}
|
|
12763
|
-
t.readFromTeleport =
|
|
12764
|
-
function T(p,
|
|
12763
|
+
t.readFromTeleport = b;
|
|
12764
|
+
function T(p, m) {
|
|
12765
12765
|
let P;
|
|
12766
12766
|
for (; (P = p.next()) !== null; )
|
|
12767
12767
|
switch (P.fieldId) {
|
|
12768
12768
|
case t.TitleFieldId: {
|
|
12769
12769
|
if (P.isNull)
|
|
12770
12770
|
throw new Error("Field Title cannot be null");
|
|
12771
|
-
|
|
12771
|
+
m.Title = P.asString();
|
|
12772
12772
|
break;
|
|
12773
12773
|
}
|
|
12774
12774
|
case t.LongitudeFieldId: {
|
|
12775
12775
|
if (P.isNull)
|
|
12776
12776
|
throw new Error("Field Longitude cannot be null");
|
|
12777
|
-
|
|
12777
|
+
m.Longitude = P.asFloat32();
|
|
12778
12778
|
break;
|
|
12779
12779
|
}
|
|
12780
12780
|
case t.LatitudeFieldId: {
|
|
12781
12781
|
if (P.isNull)
|
|
12782
12782
|
throw new Error("Field Latitude cannot be null");
|
|
12783
|
-
|
|
12783
|
+
m.Latitude = P.asFloat32();
|
|
12784
12784
|
break;
|
|
12785
12785
|
}
|
|
12786
12786
|
}
|
|
@@ -13047,11 +13047,11 @@ var Po;
|
|
|
13047
13047
|
}), n.writeStringField(e.EventActionIdFieldId, t.EventActionId), n.writeDictionaryField(e.ArgumentsJsonFieldId, C.String, C.String, (u) => {
|
|
13048
13048
|
const I = t.ArgumentsJson;
|
|
13049
13049
|
for (const N of Object.keys(I)) {
|
|
13050
|
-
const F = N,
|
|
13051
|
-
if (
|
|
13050
|
+
const F = N, b = I[N];
|
|
13051
|
+
if (b == null)
|
|
13052
13052
|
continue;
|
|
13053
13053
|
const T = u.beginEntry();
|
|
13054
|
-
T.writeKeyString(F), T.writeValueString(
|
|
13054
|
+
T.writeKeyString(F), T.writeValueString(b), T.complete();
|
|
13055
13055
|
}
|
|
13056
13056
|
});
|
|
13057
13057
|
}
|
|
@@ -13887,8 +13887,8 @@ var xo;
|
|
|
13887
13887
|
const N = I, F = u[I];
|
|
13888
13888
|
if (F == null)
|
|
13889
13889
|
continue;
|
|
13890
|
-
const
|
|
13891
|
-
|
|
13890
|
+
const b = n.beginEntry();
|
|
13891
|
+
b.writeKeyString(N), b.writeValueString(F), b.complete();
|
|
13892
13892
|
}
|
|
13893
13893
|
});
|
|
13894
13894
|
}
|
|
@@ -14009,8 +14009,8 @@ var Wo;
|
|
|
14009
14009
|
((r) => {
|
|
14010
14010
|
r.TeleportVersion = 1, r.TeleportLayoutHash = 2452306282, r.StyleIdFieldId = 979822885, r.StyleFieldId = 2374537704;
|
|
14011
14011
|
function t(p) {
|
|
14012
|
-
const
|
|
14013
|
-
return n(
|
|
14012
|
+
const m = {};
|
|
14013
|
+
return n(m), p && Object.assign(m, p), m;
|
|
14014
14014
|
}
|
|
14015
14015
|
r.create = t;
|
|
14016
14016
|
function n(p) {
|
|
@@ -14018,12 +14018,12 @@ var Wo;
|
|
|
14018
14018
|
}
|
|
14019
14019
|
r.reset = n;
|
|
14020
14020
|
function u(p) {
|
|
14021
|
-
const
|
|
14022
|
-
return I(p,
|
|
14021
|
+
const m = new y(r.TeleportVersion);
|
|
14022
|
+
return I(p, m), m.finish();
|
|
14023
14023
|
}
|
|
14024
14024
|
r.encode = u;
|
|
14025
|
-
function I(p,
|
|
14026
|
-
|
|
14025
|
+
function I(p, m) {
|
|
14026
|
+
m.writeStringField(r.StyleIdFieldId, p.StyleId), m.writeDictionaryField(r.StyleFieldId, C.String, C.String, (P) => {
|
|
14027
14027
|
const V = p.Style;
|
|
14028
14028
|
for (const _ of Object.keys(V)) {
|
|
14029
14029
|
const g = _, S = V[_];
|
|
@@ -14035,42 +14035,42 @@ var Wo;
|
|
|
14035
14035
|
});
|
|
14036
14036
|
}
|
|
14037
14037
|
r.writeToTeleport = I;
|
|
14038
|
-
function N(p,
|
|
14038
|
+
function N(p, m) {
|
|
14039
14039
|
const P = E.create(p);
|
|
14040
|
-
return F(P,
|
|
14040
|
+
return F(P, m);
|
|
14041
14041
|
}
|
|
14042
14042
|
r.decode = N;
|
|
14043
|
-
function F(p,
|
|
14044
|
-
const P =
|
|
14045
|
-
return n(P),
|
|
14043
|
+
function F(p, m) {
|
|
14044
|
+
const P = m ?? t();
|
|
14045
|
+
return n(P), b(p, P), P;
|
|
14046
14046
|
}
|
|
14047
14047
|
r.readFromTeleport = F;
|
|
14048
|
-
function
|
|
14048
|
+
function b(p, m) {
|
|
14049
14049
|
let P;
|
|
14050
14050
|
for (; (P = p.next()) !== null; )
|
|
14051
14051
|
switch (P.fieldId) {
|
|
14052
14052
|
case r.StyleIdFieldId: {
|
|
14053
14053
|
if (P.isNull)
|
|
14054
14054
|
throw new Error("Field StyleId cannot be null");
|
|
14055
|
-
|
|
14055
|
+
m.StyleId = P.asString();
|
|
14056
14056
|
break;
|
|
14057
14057
|
}
|
|
14058
14058
|
case r.StyleFieldId: {
|
|
14059
14059
|
if (P.isNull)
|
|
14060
14060
|
throw new Error("Field Style cannot be null");
|
|
14061
|
-
|
|
14061
|
+
m.Style = T(P.asDictionary());
|
|
14062
14062
|
break;
|
|
14063
14063
|
}
|
|
14064
14064
|
}
|
|
14065
14065
|
}
|
|
14066
14066
|
function T(p) {
|
|
14067
|
-
const
|
|
14067
|
+
const m = /* @__PURE__ */ Object.create(null);
|
|
14068
14068
|
let P;
|
|
14069
14069
|
for (; (P = p.next()) !== null; ) {
|
|
14070
14070
|
const V = P.key.asString();
|
|
14071
|
-
|
|
14071
|
+
m[V] = P.value.asString();
|
|
14072
14072
|
}
|
|
14073
|
-
return
|
|
14073
|
+
return m;
|
|
14074
14074
|
}
|
|
14075
14075
|
})(e.UIStylesBatchItem || (e.UIStylesBatchItem = {}));
|
|
14076
14076
|
})(Wo || (Wo = {}));
|
|
@@ -14098,10 +14098,10 @@ var Ro;
|
|
|
14098
14098
|
const N = I, F = u[I];
|
|
14099
14099
|
if (F == null)
|
|
14100
14100
|
continue;
|
|
14101
|
-
const
|
|
14102
|
-
|
|
14101
|
+
const b = n.beginEntry();
|
|
14102
|
+
b.writeKeyString(N), b.writeValueObject(q.TeleportVersion, (T) => {
|
|
14103
14103
|
q.writeToTeleport(F, T);
|
|
14104
|
-
}),
|
|
14104
|
+
}), b.complete();
|
|
14105
14105
|
}
|
|
14106
14106
|
});
|
|
14107
14107
|
}
|
|
@@ -14510,7 +14510,7 @@ var $o;
|
|
|
14510
14510
|
})($o || ($o = {}));
|
|
14511
14511
|
function Vn(e) {
|
|
14512
14512
|
return new Worker(
|
|
14513
|
-
"
|
|
14513
|
+
"" + new URL("assets/protocol-worker-DZqyPqA2.js", import.meta.url).href,
|
|
14514
14514
|
{
|
|
14515
14515
|
type: "module",
|
|
14516
14516
|
name: e?.name
|
|
@@ -14643,7 +14643,7 @@ function z(e) {
|
|
|
14643
14643
|
}
|
|
14644
14644
|
};
|
|
14645
14645
|
}
|
|
14646
|
-
const
|
|
14646
|
+
const me = z("WebSocketTransport"), xn = 1e4;
|
|
14647
14647
|
class Wn {
|
|
14648
14648
|
ws = null;
|
|
14649
14649
|
keepaliveTimeout = null;
|
|
@@ -14673,7 +14673,7 @@ class Wn {
|
|
|
14673
14673
|
this.ws.onopen = () => {
|
|
14674
14674
|
a = !0, clearTimeout(w), this.ws.send(i), this.resetKeepaliveTimeout(), c || (c = !0, s());
|
|
14675
14675
|
}, this.ws.onerror = () => {
|
|
14676
|
-
clearTimeout(w),
|
|
14676
|
+
clearTimeout(w), me.error("WebSocket error"), c || (c = !0, f(), d(new A("WebSocket connection failed")));
|
|
14677
14677
|
}, this.ws.onclose = (h) => {
|
|
14678
14678
|
if (this.clearKeepaliveTimeout(), !a && !c) {
|
|
14679
14679
|
c = !0, f(), d(new A("WebSocket connection closed before opening"));
|
|
@@ -14687,7 +14687,7 @@ class Wn {
|
|
|
14687
14687
|
});
|
|
14688
14688
|
}
|
|
14689
14689
|
send(l) {
|
|
14690
|
-
this.ws?.readyState === WebSocket.OPEN ? this.ws.send(l) :
|
|
14690
|
+
this.ws?.readyState === WebSocket.OPEN ? this.ws.send(l) : me.warn("Cannot send: WebSocket not connected");
|
|
14691
14691
|
}
|
|
14692
14692
|
close() {
|
|
14693
14693
|
this.clearKeepaliveTimeout(), this.ws && (this.ws.close(1e3, "Client closing"), this.ws = null);
|
|
@@ -14701,12 +14701,12 @@ class Wn {
|
|
|
14701
14701
|
}
|
|
14702
14702
|
this.resetKeepaliveTimeout(), this.callbacks.onProtocolMessage(l);
|
|
14703
14703
|
} catch (i) {
|
|
14704
|
-
|
|
14704
|
+
me.error("Failed to process protocol message:", i), this.callbacks.onError(i instanceof Error ? i : new Error(String(i)));
|
|
14705
14705
|
}
|
|
14706
14706
|
}
|
|
14707
14707
|
resetKeepaliveTimeout() {
|
|
14708
14708
|
this.clearKeepaliveTimeout(), this.keepaliveTimeout = setTimeout(() => {
|
|
14709
|
-
|
|
14709
|
+
me.error(`No keepalive received in ${this.keepaliveTimeoutMs}ms, closing connection`), this.callbacks.onError(new cr(this.keepaliveTimeoutMs)), this.close();
|
|
14710
14710
|
}, this.keepaliveTimeoutMs);
|
|
14711
14711
|
}
|
|
14712
14712
|
clearKeepaliveTimeout() {
|
|
@@ -14849,7 +14849,7 @@ class Rn {
|
|
|
14849
14849
|
}
|
|
14850
14850
|
}
|
|
14851
14851
|
}
|
|
14852
|
-
const
|
|
14852
|
+
const be = z("Channel");
|
|
14853
14853
|
class Gn {
|
|
14854
14854
|
state = "disconnected";
|
|
14855
14855
|
transport = null;
|
|
@@ -14892,7 +14892,7 @@ class Gn {
|
|
|
14892
14892
|
try {
|
|
14893
14893
|
await this.connectTransport(), this.setState("connected");
|
|
14894
14894
|
} catch (l) {
|
|
14895
|
-
throw
|
|
14895
|
+
throw be.error("Channel connection failed:", l), this.setState("disconnected"), l;
|
|
14896
14896
|
}
|
|
14897
14897
|
}
|
|
14898
14898
|
/**
|
|
@@ -14906,7 +14906,7 @@ class Gn {
|
|
|
14906
14906
|
*/
|
|
14907
14907
|
send(l) {
|
|
14908
14908
|
if (!this.transport?.isConnected) {
|
|
14909
|
-
|
|
14909
|
+
be.warn("Cannot send: channel not connected");
|
|
14910
14910
|
return;
|
|
14911
14911
|
}
|
|
14912
14912
|
this.transport.send(l);
|
|
@@ -14952,7 +14952,7 @@ class Gn {
|
|
|
14952
14952
|
}
|
|
14953
14953
|
this.config.onProtocolMessage?.(i);
|
|
14954
14954
|
} catch (i) {
|
|
14955
|
-
|
|
14955
|
+
be.error("Failed to handle protocol message:", i), this.config.onError?.(i instanceof Error ? i : new Error(String(i)));
|
|
14956
14956
|
}
|
|
14957
14957
|
}
|
|
14958
14958
|
/**
|
|
@@ -14965,7 +14965,7 @@ class Gn {
|
|
|
14965
14965
|
* Handle transport error.
|
|
14966
14966
|
*/
|
|
14967
14967
|
handleError(l) {
|
|
14968
|
-
|
|
14968
|
+
be.error("Channel error:", l), this.config.onError?.(l), l instanceof cr && this.handleClose("Keepalive timeout", !1);
|
|
14969
14969
|
}
|
|
14970
14970
|
/**
|
|
14971
14971
|
* Update and notify state change.
|
|
@@ -15641,10 +15641,10 @@ const Fl = {
|
|
|
15641
15641
|
description: "Get the current browser URL path and query string",
|
|
15642
15642
|
returnType: { kind: "string", nullable: !0 }
|
|
15643
15643
|
};
|
|
15644
|
-
function
|
|
15644
|
+
function ml() {
|
|
15645
15645
|
return typeof window > "u" ? null : window.location.pathname + window.location.search;
|
|
15646
15646
|
}
|
|
15647
|
-
const
|
|
15647
|
+
const bl = {
|
|
15648
15648
|
name: "ikon.client.setUrl",
|
|
15649
15649
|
description: "Update the browser URL without triggering a page reload",
|
|
15650
15650
|
returnType: { kind: "boolean" },
|
|
@@ -15854,8 +15854,8 @@ const $l = [
|
|
|
15854
15854
|
{ definition: fl, handler: wl },
|
|
15855
15855
|
{ definition: hl, handler: Il },
|
|
15856
15856
|
{ definition: pl, handler: Tl },
|
|
15857
|
-
{ definition: Fl, handler:
|
|
15858
|
-
{ definition:
|
|
15857
|
+
{ definition: Fl, handler: ml },
|
|
15858
|
+
{ definition: bl, handler: yl },
|
|
15859
15859
|
{ definition: El, handler: Nl },
|
|
15860
15860
|
{ definition: gl, handler: Ml },
|
|
15861
15861
|
{ definition: kl, handler: Sl },
|
|
@@ -16238,12 +16238,12 @@ function Ee() {
|
|
|
16238
16238
|
}
|
|
16239
16239
|
return !0;
|
|
16240
16240
|
}
|
|
16241
|
-
function
|
|
16241
|
+
function mn(e) {
|
|
16242
16242
|
return typeof AudioWorkletNode != "function" ? !1 : typeof e.audioWorklet?.addModule == "function";
|
|
16243
16243
|
}
|
|
16244
16244
|
function ni(e) {
|
|
16245
16245
|
return new Worker(
|
|
16246
|
-
"
|
|
16246
|
+
"" + new URL("assets/audio-worker-Ci3tYX2B.js", import.meta.url).href,
|
|
16247
16247
|
{
|
|
16248
16248
|
type: "module",
|
|
16249
16249
|
name: e?.name
|
|
@@ -16947,7 +16947,7 @@ class Ir {
|
|
|
16947
16947
|
this.outputSampleRateHz = this.audioContext.sampleRate || ue, this.outputSampleRateHz !== ue && x.debug(`AudioContext running at ${this.outputSampleRateHz}Hz (requested ${ue}Hz)`), this.attachAudioContextHealthHandlers(this.audioContext);
|
|
16948
16948
|
}
|
|
16949
16949
|
const s = this.audioContext, d = this.resolveOutputConfig();
|
|
16950
|
-
if ((this.config.threading?.preferAudioWorklet ?? !0) &&
|
|
16950
|
+
if ((this.config.threading?.preferAudioWorklet ?? !0) && mn(s)) {
|
|
16951
16951
|
await this.ensureAudioWorklet(s, d, l, i);
|
|
16952
16952
|
return;
|
|
16953
16953
|
}
|
|
@@ -17105,8 +17105,8 @@ class Ir {
|
|
|
17105
17105
|
I.totalSamples > 0 && (t += 1), this.readFromFallbackQueue(I, d);
|
|
17106
17106
|
for (let N = 0; N < h; N++)
|
|
17107
17107
|
for (let F = 0; F < w; F++) {
|
|
17108
|
-
const
|
|
17109
|
-
o[F][N] +=
|
|
17108
|
+
const b = d[N * w + F] ?? 0;
|
|
17109
|
+
o[F][N] += b;
|
|
17110
17110
|
}
|
|
17111
17111
|
I.ending && I.totalSamples <= 0 && n.push(u);
|
|
17112
17112
|
}
|
|
@@ -17443,7 +17443,7 @@ class Ir {
|
|
|
17443
17443
|
}
|
|
17444
17444
|
function ai(e) {
|
|
17445
17445
|
return new Worker(
|
|
17446
|
-
"
|
|
17446
|
+
"" + new URL("assets/video-worker-BoOfB8qz.js", import.meta.url).href,
|
|
17447
17447
|
{
|
|
17448
17448
|
type: "module",
|
|
17449
17449
|
name: e?.name
|
|
@@ -17753,7 +17753,7 @@ class fi {
|
|
|
17753
17753
|
}
|
|
17754
17754
|
function wi(e) {
|
|
17755
17755
|
return new Worker(
|
|
17756
|
-
"
|
|
17756
|
+
"" + new URL("assets/audio-capture-worker-C5hNMTF7.js", import.meta.url).href,
|
|
17757
17757
|
{
|
|
17758
17758
|
type: "module",
|
|
17759
17759
|
name: e?.name
|
|
@@ -17928,7 +17928,7 @@ class Ti {
|
|
|
17928
17928
|
return await navigator.mediaDevices.getUserMedia({ audio: l.constraints ?? !0 });
|
|
17929
17929
|
}
|
|
17930
17930
|
async ensureWorklet(l) {
|
|
17931
|
-
if (!
|
|
17931
|
+
if (!mn(l))
|
|
17932
17932
|
throw new Error("AudioWorklet is not supported in this browser");
|
|
17933
17933
|
this.workletModuleUrl || (this.workletModuleUrl = URL.createObjectURL(new Blob([pi()], { type: "text/javascript" }))), (!this.workletReady || this.workletContext !== l) && (this.workletContext = l, this.workletReady = l.audioWorklet.addModule(this.workletModuleUrl));
|
|
17934
17934
|
try {
|
|
@@ -17977,9 +17977,9 @@ class Ti {
|
|
|
17977
17977
|
}
|
|
17978
17978
|
});
|
|
17979
17979
|
w.connect(I), I.connect(h), t === "pcm" && (I.port.onmessage = (F) => {
|
|
17980
|
-
const
|
|
17981
|
-
if (!(!
|
|
17982
|
-
const T =
|
|
17980
|
+
const b = F.data;
|
|
17981
|
+
if (!(!b || typeof b != "object") && b.type === "pcm" && b.pcm instanceof Float32Array) {
|
|
17982
|
+
const T = b.pcm;
|
|
17983
17983
|
u.postMessage({ type: "pcm", captureId: c, pcm: T }, [T.buffer]);
|
|
17984
17984
|
}
|
|
17985
17985
|
});
|
|
@@ -18072,7 +18072,7 @@ async function Fi(e, l) {
|
|
|
18072
18072
|
);
|
|
18073
18073
|
});
|
|
18074
18074
|
}
|
|
18075
|
-
class
|
|
18075
|
+
class mi {
|
|
18076
18076
|
async acquireCameraStream(l) {
|
|
18077
18077
|
if (!navigator.mediaDevices)
|
|
18078
18078
|
throw new Error("Media devices are not available in this environment");
|
|
@@ -18136,9 +18136,9 @@ class bi {
|
|
|
18136
18136
|
}
|
|
18137
18137
|
}
|
|
18138
18138
|
}
|
|
18139
|
-
function
|
|
18139
|
+
function bi(e) {
|
|
18140
18140
|
return new Worker(
|
|
18141
|
-
"
|
|
18141
|
+
"" + new URL("assets/video-capture-worker-OBl3bsvx.js", import.meta.url).href,
|
|
18142
18142
|
{
|
|
18143
18143
|
type: "module",
|
|
18144
18144
|
name: e?.name
|
|
@@ -18172,7 +18172,7 @@ class Ni {
|
|
|
18172
18172
|
ensureWorker() {
|
|
18173
18173
|
if (this.worker)
|
|
18174
18174
|
return this.worker;
|
|
18175
|
-
const l = new
|
|
18175
|
+
const l = new bi();
|
|
18176
18176
|
return this.worker = l, l.addEventListener("message", (i) => {
|
|
18177
18177
|
const s = i.data;
|
|
18178
18178
|
s?.type === "error" && rn.warn(`Video capture worker error: ${s.error?.name ?? "Error"} ${s.error?.message ?? ""}`);
|
|
@@ -18293,17 +18293,17 @@ class gi {
|
|
|
18293
18293
|
video;
|
|
18294
18294
|
image;
|
|
18295
18295
|
constructor(l) {
|
|
18296
|
-
this.audio = new Ti(l), this.video = new Ni(l), this.image = new
|
|
18296
|
+
this.audio = new Ti(l), this.video = new Ni(l), this.image = new mi();
|
|
18297
18297
|
}
|
|
18298
18298
|
dispose() {
|
|
18299
18299
|
this.audio.dispose(), this.video.dispose();
|
|
18300
18300
|
}
|
|
18301
18301
|
}
|
|
18302
|
-
const
|
|
18302
|
+
const bn = /* @__PURE__ */ new Map();
|
|
18303
18303
|
for (const [e, l] of Object.entries(j))
|
|
18304
|
-
typeof l == "number" &&
|
|
18304
|
+
typeof l == "number" && bn.set(l, e);
|
|
18305
18305
|
function tn(e) {
|
|
18306
|
-
return
|
|
18306
|
+
return bn.get(e) ?? `UNKNOWN_${e}`;
|
|
18307
18307
|
}
|
|
18308
18308
|
const on = {
|
|
18309
18309
|
[K.WebTransport]: 0,
|
|
@@ -19024,7 +19024,7 @@ export {
|
|
|
19024
19024
|
Ti as IkonAudioCapture,
|
|
19025
19025
|
Ir as IkonAudioPlayback,
|
|
19026
19026
|
Ji as IkonClient,
|
|
19027
|
-
|
|
19027
|
+
mi as IkonImageCapture,
|
|
19028
19028
|
ui as IkonMedia,
|
|
19029
19029
|
gi as IkonMediaCapture,
|
|
19030
19030
|
Ni as IkonVideoCapture,
|
|
@@ -19054,7 +19054,7 @@ export {
|
|
|
19054
19054
|
tn as getOpcodeName,
|
|
19055
19055
|
fr as getOrCreateDeviceId,
|
|
19056
19056
|
Si as initializeLogSink,
|
|
19057
|
-
|
|
19057
|
+
mn as isAudioWorkletSupported,
|
|
19058
19058
|
Bo as isBrowserEnvironment,
|
|
19059
19059
|
wr as isCloudEnvironment,
|
|
19060
19060
|
zi as isConnected,
|