@viamrobotics/sdk 0.55.0 → 0.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.es.js CHANGED
@@ -3,7 +3,7 @@ function L(t, e) {
3
3
  throw new Error(e);
4
4
  }
5
5
  const Ah = 34028234663852886e22, qh = -34028234663852886e22, Uh = 4294967295, Lh = 2147483647, Gh = -2147483648;
6
- function Yn(t) {
6
+ function Vn(t) {
7
7
  if (typeof t != "number")
8
8
  throw new Error("invalid int 32: " + typeof t);
9
9
  if (!Number.isInteger(t) || t > Lh || t < Gh)
@@ -203,7 +203,7 @@ function Jh() {
203
203
  }
204
204
  throw new Error("invalid varint");
205
205
  }
206
- function Fa(t, e, n) {
206
+ function Ja(t, e, n) {
207
207
  for (let i = 0; i < 28; i = i + 7) {
208
208
  const r = t >>> i, c = !(!(r >>> 7) && e == 0), l = (c ? r | 128 : r) & 255;
209
209
  if (n.push(l), !c)
@@ -219,7 +219,7 @@ function Fa(t, e, n) {
219
219
  n.push(e >>> 31 & 1);
220
220
  }
221
221
  }
222
- const Vn = 4294967296;
222
+ const Wn = 4294967296;
223
223
  function li(t) {
224
224
  const e = t[0] === "-";
225
225
  e && (t = t.slice(1));
@@ -227,7 +227,7 @@ function li(t) {
227
227
  let a = 0, o = 0;
228
228
  function i(r, c) {
229
229
  const l = Number(t.slice(r, c));
230
- o *= n, a = a * n + l, a >= Vn && (o = o + (a / Vn | 0), a = a % Vn);
230
+ o *= n, a = a * n + l, a >= Wn && (o = o + (a / Wn | 0), a = a % Wn);
231
231
  }
232
232
  return i(-24, -18), i(-18, -12), i(-12, -6), i(-6), e ? ji(a, o) : lt(a, o);
233
233
  }
@@ -240,7 +240,7 @@ function zh(t, e) {
240
240
  }
241
241
  function Wi(t, e) {
242
242
  if ({ lo: t, hi: e } = $h(t, e), e <= 2097151)
243
- return String(Vn * e + t);
243
+ return String(Wn * e + t);
244
244
  const n = t & 16777215, a = (t >>> 24 | e << 8) & 16777215, o = e >> 16 & 65535;
245
245
  let i = n + a * 6777216 + o * 6710656, r = a + o * 8147497, c = o * 2;
246
246
  const l = 1e7;
@@ -481,7 +481,7 @@ class Wh {
481
481
  * Write a `int32` value, a signed 32 bit varint.
482
482
  */
483
483
  int32(e) {
484
- return Yn(e), ui(e, this.buf), this;
484
+ return Vn(e), ui(e, this.buf), this;
485
485
  }
486
486
  /**
487
487
  * Write a `bool` value, a variant.
@@ -529,7 +529,7 @@ class Wh {
529
529
  * Write a `sfixed32` value, a signed, fixed-length 32-bit integer.
530
530
  */
531
531
  sfixed32(e) {
532
- Yn(e);
532
+ Vn(e);
533
533
  let n = new Uint8Array(4);
534
534
  return new DataView(n.buffer).setInt32(0, e, !0), this.raw(n);
535
535
  }
@@ -537,7 +537,7 @@ class Wh {
537
537
  * Write a `sint32` value, a signed, zigzag-encoded 32-bit varint.
538
538
  */
539
539
  sint32(e) {
540
- return Yn(e), e = (e << 1 ^ e >> 31) >>> 0, ui(e, this.buf), this;
540
+ return Vn(e), e = (e << 1 ^ e >> 31) >>> 0, ui(e, this.buf), this;
541
541
  }
542
542
  /**
543
543
  * Write a `fixed64` value, a signed, fixed-length 64-bit integer.
@@ -558,21 +558,21 @@ class Wh {
558
558
  */
559
559
  int64(e) {
560
560
  let n = $.enc(e);
561
- return Fa(n.lo, n.hi, this.buf), this;
561
+ return Ja(n.lo, n.hi, this.buf), this;
562
562
  }
563
563
  /**
564
564
  * Write a `sint64` value, a signed, zig-zag-encoded 64-bit varint.
565
565
  */
566
566
  sint64(e) {
567
567
  let n = $.enc(e), a = n.hi >> 31, o = n.lo << 1 ^ a, i = (n.hi << 1 | n.lo >>> 31) ^ a;
568
- return Fa(o, i, this.buf), this;
568
+ return Ja(o, i, this.buf), this;
569
569
  }
570
570
  /**
571
571
  * Write a `uint64` value, an unsigned 64-bit varint.
572
572
  */
573
573
  uint64(e) {
574
574
  let n = $.uEnc(e);
575
- return Fa(n.lo, n.hi, this.buf), this;
575
+ return Ja(n.lo, n.hi, this.buf), this;
576
576
  }
577
577
  }
578
578
  class Ki {
@@ -768,11 +768,11 @@ function Kh(t, e) {
768
768
  }
769
769
  return t.filter((n) => n.no === e.no);
770
770
  }
771
- let de = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""), fa = [];
771
+ let de = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""), Ra = [];
772
772
  for (let t = 0; t < de.length; t++)
773
- fa[de[t].charCodeAt(0)] = t;
774
- fa[45] = de.indexOf("+");
775
- fa[95] = de.indexOf("/");
773
+ Ra[de[t].charCodeAt(0)] = t;
774
+ Ra[45] = de.indexOf("+");
775
+ Ra[95] = de.indexOf("/");
776
776
  const pt = {
777
777
  /**
778
778
  * Decodes a base64 string to a byte array.
@@ -790,7 +790,7 @@ const pt = {
790
790
  t[t.length - 2] == "=" ? e -= 2 : t[t.length - 1] == "=" && (e -= 1);
791
791
  let n = new Uint8Array(e), a = 0, o = 0, i, r = 0;
792
792
  for (let c = 0; c < t.length; c++) {
793
- if (i = fa[t.charCodeAt(c)], i === void 0)
793
+ if (i = Ra[t.charCodeAt(c)], i === void 0)
794
794
  switch (t[c]) {
795
795
  case "=":
796
796
  o = 0;
@@ -936,7 +936,7 @@ function Zh(t) {
936
936
  function ef(t) {
937
937
  return t ? Object.assign(Object.assign({}, ki), t) : ki;
938
938
  }
939
- const Qn = Symbol(), Wn = Symbol();
939
+ const Zn = Symbol(), jn = Symbol();
940
940
  function nf() {
941
941
  return {
942
942
  makeReadOptions: Zh,
@@ -1008,7 +1008,7 @@ function nf() {
1008
1008
  },
1009
1009
  writeScalar(t, e, n) {
1010
1010
  if (e !== void 0 && (n || Hi(t, e)))
1011
- return jn(t, e);
1011
+ return Hn(t, e);
1012
1012
  },
1013
1013
  debug: ae
1014
1014
  };
@@ -1041,8 +1041,8 @@ function yi(t, e, n, a, o) {
1041
1041
  r.push(n.T.fromJson(c, a));
1042
1042
  break;
1043
1043
  case "enum":
1044
- const l = Ja(n.T, c, a.ignoreUnknownFields, !0);
1045
- l !== Wn && r.push(l);
1044
+ const l = za(n.T, c, a.ignoreUnknownFields, !0);
1045
+ l !== jn && r.push(l);
1046
1046
  break;
1047
1047
  case "scalar":
1048
1048
  try {
@@ -1075,8 +1075,8 @@ function yi(t, e, n, a, o) {
1075
1075
  r[d] = n.V.T.fromJson(l, a);
1076
1076
  break;
1077
1077
  case "enum":
1078
- const g = Ja(n.V.T, l, a.ignoreUnknownFields, !0);
1079
- g !== Wn && (r[d] = g);
1078
+ const g = za(n.V.T, l, a.ignoreUnknownFields, !0);
1079
+ g !== jn && (r[d] = g);
1080
1080
  break;
1081
1081
  case "scalar":
1082
1082
  try {
@@ -1098,12 +1098,12 @@ function yi(t, e, n, a, o) {
1098
1098
  Ke(c) ? c.fromJson(e, a) : (t[i] = c = r.fromJson(e, a), r.fieldWrapper && !n.oneof && (t[i] = r.fieldWrapper.unwrapField(c)));
1099
1099
  break;
1100
1100
  case "enum":
1101
- const l = Ja(n.T, e, a.ignoreUnknownFields, !1);
1101
+ const l = za(n.T, e, a.ignoreUnknownFields, !1);
1102
1102
  switch (l) {
1103
- case Qn:
1103
+ case Zn:
1104
1104
  gi(n, t);
1105
1105
  break;
1106
- case Wn:
1106
+ case jn:
1107
1107
  break;
1108
1108
  default:
1109
1109
  t[i] = l;
@@ -1114,7 +1114,7 @@ function yi(t, e, n, a, o) {
1114
1114
  try {
1115
1115
  const d = _n(n.T, e, n.L, !1);
1116
1116
  switch (d) {
1117
- case Qn:
1117
+ case Zn:
1118
1118
  gi(n, t);
1119
1119
  break;
1120
1120
  default:
@@ -1142,7 +1142,7 @@ function af(t, e) {
1142
1142
  }
1143
1143
  function _n(t, e, n, a) {
1144
1144
  if (e === null)
1145
- return a ? dn(t, n) : Qn;
1145
+ return a ? dn(t, n) : Zn;
1146
1146
  switch (t) {
1147
1147
  case f.DOUBLE:
1148
1148
  case f.FLOAT:
@@ -1166,7 +1166,7 @@ function _n(t, e, n, a) {
1166
1166
  let i;
1167
1167
  if (typeof e == "number" ? i = e : typeof e == "string" && e.length > 0 && e.trim().length === e.length && (i = Number(e)), i === void 0)
1168
1168
  break;
1169
- return t == f.UINT32 || t == f.FIXED32 ? Ha(i) : Yn(i), i;
1169
+ return t == f.UINT32 || t == f.FIXED32 ? Ha(i) : Vn(i), i;
1170
1170
  case f.INT64:
1171
1171
  case f.SFIXED64:
1172
1172
  case f.SINT64:
@@ -1202,9 +1202,9 @@ function _n(t, e, n, a) {
1202
1202
  }
1203
1203
  throw new Error();
1204
1204
  }
1205
- function Ja(t, e, n, a) {
1205
+ function za(t, e, n, a) {
1206
1206
  if (e === null)
1207
- return t.typeName == "google.protobuf.NullValue" ? 0 : a ? t.values[0].no : Qn;
1207
+ return t.typeName == "google.protobuf.NullValue" ? 0 : a ? t.values[0].no : Zn;
1208
1208
  switch (typeof e) {
1209
1209
  case "number":
1210
1210
  if (Number.isInteger(e))
@@ -1215,7 +1215,7 @@ function Ja(t, e, n, a) {
1215
1215
  if (o !== void 0)
1216
1216
  return o.no;
1217
1217
  if (n)
1218
- return Wn;
1218
+ return jn;
1219
1219
  break;
1220
1220
  }
1221
1221
  throw new Error(`cannot decode enum ${t.typeName} from JSON: ${ae(e)}`);
@@ -1230,7 +1230,7 @@ function vi(t, e, n) {
1230
1230
  switch (t.V.kind) {
1231
1231
  case "scalar":
1232
1232
  for (const [r, c] of o)
1233
- a[r.toString()] = jn(t.V.T, c);
1233
+ a[r.toString()] = Hn(t.V.T, c);
1234
1234
  break;
1235
1235
  case "message":
1236
1236
  for (const [r, c] of o)
@@ -1239,7 +1239,7 @@ function vi(t, e, n) {
1239
1239
  case "enum":
1240
1240
  const i = t.V.T;
1241
1241
  for (const [r, c] of o)
1242
- a[r.toString()] = za(i, c, n.enumAsInteger);
1242
+ a[r.toString()] = $a(i, c, n.enumAsInteger);
1243
1243
  break;
1244
1244
  }
1245
1245
  return n.emitDefaultValues || o.length > 0 ? a : void 0;
@@ -1250,11 +1250,11 @@ function vi(t, e, n) {
1250
1250
  switch (t.kind) {
1251
1251
  case "scalar":
1252
1252
  for (let o = 0; o < e.length; o++)
1253
- a.push(jn(t.T, e[o]));
1253
+ a.push(Hn(t.T, e[o]));
1254
1254
  break;
1255
1255
  case "enum":
1256
1256
  for (let o = 0; o < e.length; o++)
1257
- a.push(za(t.T, e[o], n.enumAsInteger));
1257
+ a.push($a(t.T, e[o], n.enumAsInteger));
1258
1258
  break;
1259
1259
  case "message":
1260
1260
  for (let o = 0; o < e.length; o++)
@@ -1265,14 +1265,14 @@ function vi(t, e, n) {
1265
1265
  }
1266
1266
  switch (t.kind) {
1267
1267
  case "scalar":
1268
- return jn(t.T, e);
1268
+ return Hn(t.T, e);
1269
1269
  case "enum":
1270
- return za(t.T, e, n.enumAsInteger);
1270
+ return $a(t.T, e, n.enumAsInteger);
1271
1271
  case "message":
1272
1272
  return nr(t.T, e).toJson(n);
1273
1273
  }
1274
1274
  }
1275
- function za(t, e, n) {
1275
+ function $a(t, e, n) {
1276
1276
  var a;
1277
1277
  if (L(typeof e == "number"), t.typeName == "google.protobuf.NullValue")
1278
1278
  return null;
@@ -1281,7 +1281,7 @@ function za(t, e, n) {
1281
1281
  const o = t.findNumber(e);
1282
1282
  return (a = o?.name) !== null && a !== void 0 ? a : e;
1283
1283
  }
1284
- function jn(t, e) {
1284
+ function Hn(t, e) {
1285
1285
  switch (t) {
1286
1286
  case f.INT32:
1287
1287
  case f.SFIXED32:
@@ -1381,7 +1381,7 @@ function Ri(t, e, n, a, o) {
1381
1381
  case "scalar":
1382
1382
  case "enum":
1383
1383
  const c = n.kind == "enum" ? f.INT32 : n.T;
1384
- let l = Zn;
1384
+ let l = ea;
1385
1385
  if (n.kind == "scalar" && n.L > 0 && (l = cf), i) {
1386
1386
  let S = t[r];
1387
1387
  if (a == G.LengthDelimited && c != f.STRING && c != f.BYTES) {
@@ -1395,7 +1395,7 @@ function Ri(t, e, n, a, o) {
1395
1395
  break;
1396
1396
  case "message":
1397
1397
  const d = n.T;
1398
- i ? t[r].push(Hn(e, new d(), o, n)) : Ke(t[r]) ? Hn(e, t[r], o, n) : (t[r] = Hn(e, new d(), o, n), d.fieldWrapper && !n.oneof && !n.repeated && (t[r] = d.fieldWrapper.unwrapField(t[r])));
1398
+ i ? t[r].push(Kn(e, new d(), o, n)) : Ke(t[r]) ? Kn(e, t[r], o, n) : (t[r] = Kn(e, new d(), o, n), d.fieldWrapper && !n.oneof && !n.repeated && (t[r] = d.fieldWrapper.unwrapField(t[r])));
1399
1399
  break;
1400
1400
  case "map":
1401
1401
  let [g, R] = mf(n, e, o);
@@ -1403,7 +1403,7 @@ function Ri(t, e, n, a, o) {
1403
1403
  break;
1404
1404
  }
1405
1405
  }
1406
- function Hn(t, e, n, a) {
1406
+ function Kn(t, e, n, a) {
1407
1407
  const o = e.getType().runtime.bin, i = a?.delimited;
1408
1408
  return o.readMessage(
1409
1409
  e,
@@ -1421,18 +1421,18 @@ function mf(t, e, n) {
1421
1421
  const [c] = e.tag();
1422
1422
  switch (c) {
1423
1423
  case 1:
1424
- i = Zn(e, t.K);
1424
+ i = ea(e, t.K);
1425
1425
  break;
1426
1426
  case 2:
1427
1427
  switch (t.V.kind) {
1428
1428
  case "scalar":
1429
- r = Zn(e, t.V.T);
1429
+ r = ea(e, t.V.T);
1430
1430
  break;
1431
1431
  case "enum":
1432
1432
  r = e.int32();
1433
1433
  break;
1434
1434
  case "message":
1435
- r = Hn(e, new t.V.T(), n, void 0);
1435
+ r = Kn(e, new t.V.T(), n, void 0);
1436
1436
  break;
1437
1437
  }
1438
1438
  break;
@@ -1453,10 +1453,10 @@ function mf(t, e, n) {
1453
1453
  return [i, r];
1454
1454
  }
1455
1455
  function cf(t, e) {
1456
- const n = Zn(t, e);
1456
+ const n = ea(t, e);
1457
1457
  return typeof n == "bigint" ? n.toString() : n;
1458
1458
  }
1459
- function Zn(t, e) {
1459
+ function ea(t, e) {
1460
1460
  switch (e) {
1461
1461
  case f.STRING:
1462
1462
  return t.string();
@@ -2170,8 +2170,8 @@ Z.typeName = "google.protobuf.FieldDescriptorProto";
2170
2170
  Z.fields = u.util.newFieldList(() => [
2171
2171
  { no: 1, name: "name", kind: "scalar", T: 9, opt: !0 },
2172
2172
  { no: 3, name: "number", kind: "scalar", T: 5, opt: !0 },
2173
- { no: 4, name: "label", kind: "enum", T: u.getEnumType(na), opt: !0 },
2174
- { no: 5, name: "type", kind: "enum", T: u.getEnumType(ea), opt: !0 },
2173
+ { no: 4, name: "label", kind: "enum", T: u.getEnumType(aa), opt: !0 },
2174
+ { no: 5, name: "type", kind: "enum", T: u.getEnumType(na), opt: !0 },
2175
2175
  { no: 6, name: "type_name", kind: "scalar", T: 9, opt: !0 },
2176
2176
  { no: 2, name: "extendee", kind: "scalar", T: 9, opt: !0 },
2177
2177
  { no: 7, name: "default_value", kind: "scalar", T: 9, opt: !0 },
@@ -2180,11 +2180,11 @@ Z.fields = u.util.newFieldList(() => [
2180
2180
  { no: 8, name: "options", kind: "message", T: _e, opt: !0 },
2181
2181
  { no: 17, name: "proto3_optional", kind: "scalar", T: 8, opt: !0 }
2182
2182
  ]);
2183
- var ea;
2183
+ var na;
2184
2184
  (function(t) {
2185
2185
  t[t.DOUBLE = 1] = "DOUBLE", t[t.FLOAT = 2] = "FLOAT", t[t.INT64 = 3] = "INT64", t[t.UINT64 = 4] = "UINT64", t[t.INT32 = 5] = "INT32", t[t.FIXED64 = 6] = "FIXED64", t[t.FIXED32 = 7] = "FIXED32", t[t.BOOL = 8] = "BOOL", t[t.STRING = 9] = "STRING", t[t.GROUP = 10] = "GROUP", t[t.MESSAGE = 11] = "MESSAGE", t[t.BYTES = 12] = "BYTES", t[t.UINT32 = 13] = "UINT32", t[t.ENUM = 14] = "ENUM", t[t.SFIXED32 = 15] = "SFIXED32", t[t.SFIXED64 = 16] = "SFIXED64", t[t.SINT32 = 17] = "SINT32", t[t.SINT64 = 18] = "SINT64";
2186
- })(ea || (ea = {}));
2187
- u.util.setEnumType(ea, "google.protobuf.FieldDescriptorProto.Type", [
2186
+ })(na || (na = {}));
2187
+ u.util.setEnumType(na, "google.protobuf.FieldDescriptorProto.Type", [
2188
2188
  { no: 1, name: "TYPE_DOUBLE" },
2189
2189
  { no: 2, name: "TYPE_FLOAT" },
2190
2190
  { no: 3, name: "TYPE_INT64" },
@@ -2204,11 +2204,11 @@ u.util.setEnumType(ea, "google.protobuf.FieldDescriptorProto.Type", [
2204
2204
  { no: 17, name: "TYPE_SINT32" },
2205
2205
  { no: 18, name: "TYPE_SINT64" }
2206
2206
  ]);
2207
- var na;
2207
+ var aa;
2208
2208
  (function(t) {
2209
2209
  t[t.OPTIONAL = 1] = "OPTIONAL", t[t.REPEATED = 3] = "REPEATED", t[t.REQUIRED = 2] = "REQUIRED";
2210
- })(na || (na = {}));
2211
- u.util.setEnumType(na, "google.protobuf.FieldDescriptorProto.Label", [
2210
+ })(aa || (aa = {}));
2211
+ u.util.setEnumType(aa, "google.protobuf.FieldDescriptorProto.Label", [
2212
2212
  { no: 1, name: "LABEL_OPTIONAL" },
2213
2213
  { no: 3, name: "LABEL_REPEATED" },
2214
2214
  { no: 2, name: "LABEL_REQUIRED" }
@@ -2467,8 +2467,8 @@ _e.fields = u.util.newFieldList(() => [
2467
2467
  { no: 3, name: "deprecated", kind: "scalar", T: 8, opt: !0, default: !1 },
2468
2468
  { no: 10, name: "weak", kind: "scalar", T: 8, opt: !0, default: !1 },
2469
2469
  { no: 16, name: "debug_redact", kind: "scalar", T: 8, opt: !0, default: !1 },
2470
- { no: 17, name: "retention", kind: "enum", T: u.getEnumType(aa), opt: !0 },
2471
- { no: 19, name: "targets", kind: "enum", T: u.getEnumType(ta), repeated: !0 },
2470
+ { no: 17, name: "retention", kind: "enum", T: u.getEnumType(ta), opt: !0 },
2471
+ { no: 19, name: "targets", kind: "enum", T: u.getEnumType(sa), repeated: !0 },
2472
2472
  { no: 20, name: "edition_defaults", kind: "message", T: Se, repeated: !0 },
2473
2473
  { no: 21, name: "features", kind: "message", T: z, opt: !0 },
2474
2474
  { no: 22, name: "feature_support", kind: "message", T: ie, opt: !0 },
@@ -2492,20 +2492,20 @@ u.util.setEnumType(On, "google.protobuf.FieldOptions.JSType", [
2492
2492
  { no: 1, name: "JS_STRING" },
2493
2493
  { no: 2, name: "JS_NUMBER" }
2494
2494
  ]);
2495
- var aa;
2495
+ var ta;
2496
2496
  (function(t) {
2497
2497
  t[t.RETENTION_UNKNOWN = 0] = "RETENTION_UNKNOWN", t[t.RETENTION_RUNTIME = 1] = "RETENTION_RUNTIME", t[t.RETENTION_SOURCE = 2] = "RETENTION_SOURCE";
2498
- })(aa || (aa = {}));
2499
- u.util.setEnumType(aa, "google.protobuf.FieldOptions.OptionRetention", [
2498
+ })(ta || (ta = {}));
2499
+ u.util.setEnumType(ta, "google.protobuf.FieldOptions.OptionRetention", [
2500
2500
  { no: 0, name: "RETENTION_UNKNOWN" },
2501
2501
  { no: 1, name: "RETENTION_RUNTIME" },
2502
2502
  { no: 2, name: "RETENTION_SOURCE" }
2503
2503
  ]);
2504
- var ta;
2504
+ var sa;
2505
2505
  (function(t) {
2506
2506
  t[t.TARGET_TYPE_UNKNOWN = 0] = "TARGET_TYPE_UNKNOWN", t[t.TARGET_TYPE_FILE = 1] = "TARGET_TYPE_FILE", t[t.TARGET_TYPE_EXTENSION_RANGE = 2] = "TARGET_TYPE_EXTENSION_RANGE", t[t.TARGET_TYPE_MESSAGE = 3] = "TARGET_TYPE_MESSAGE", t[t.TARGET_TYPE_FIELD = 4] = "TARGET_TYPE_FIELD", t[t.TARGET_TYPE_ONEOF = 5] = "TARGET_TYPE_ONEOF", t[t.TARGET_TYPE_ENUM = 6] = "TARGET_TYPE_ENUM", t[t.TARGET_TYPE_ENUM_ENTRY = 7] = "TARGET_TYPE_ENUM_ENTRY", t[t.TARGET_TYPE_SERVICE = 8] = "TARGET_TYPE_SERVICE", t[t.TARGET_TYPE_METHOD = 9] = "TARGET_TYPE_METHOD";
2507
- })(ta || (ta = {}));
2508
- u.util.setEnumType(ta, "google.protobuf.FieldOptions.OptionTargetType", [
2507
+ })(sa || (sa = {}));
2508
+ u.util.setEnumType(sa, "google.protobuf.FieldOptions.OptionTargetType", [
2509
2509
  { no: 0, name: "TARGET_TYPE_UNKNOWN" },
2510
2510
  { no: 1, name: "TARGET_TYPE_FILE" },
2511
2511
  { no: 2, name: "TARGET_TYPE_EXTENSION_RANGE" },
@@ -2769,64 +2769,64 @@ class z extends O {
2769
2769
  z.runtime = u;
2770
2770
  z.typeName = "google.protobuf.FeatureSet";
2771
2771
  z.fields = u.util.newFieldList(() => [
2772
- { no: 1, name: "field_presence", kind: "enum", T: u.getEnumType(sa), opt: !0 },
2773
- { no: 2, name: "enum_type", kind: "enum", T: u.getEnumType(oa), opt: !0 },
2774
- { no: 3, name: "repeated_field_encoding", kind: "enum", T: u.getEnumType(ia), opt: !0 },
2775
- { no: 4, name: "utf8_validation", kind: "enum", T: u.getEnumType(ra), opt: !0 },
2776
- { no: 5, name: "message_encoding", kind: "enum", T: u.getEnumType(ma), opt: !0 },
2777
- { no: 6, name: "json_format", kind: "enum", T: u.getEnumType(ca), opt: !0 }
2772
+ { no: 1, name: "field_presence", kind: "enum", T: u.getEnumType(oa), opt: !0 },
2773
+ { no: 2, name: "enum_type", kind: "enum", T: u.getEnumType(ia), opt: !0 },
2774
+ { no: 3, name: "repeated_field_encoding", kind: "enum", T: u.getEnumType(ra), opt: !0 },
2775
+ { no: 4, name: "utf8_validation", kind: "enum", T: u.getEnumType(ma), opt: !0 },
2776
+ { no: 5, name: "message_encoding", kind: "enum", T: u.getEnumType(ca), opt: !0 },
2777
+ { no: 6, name: "json_format", kind: "enum", T: u.getEnumType(da), opt: !0 }
2778
2778
  ]);
2779
- var sa;
2779
+ var oa;
2780
2780
  (function(t) {
2781
2781
  t[t.FIELD_PRESENCE_UNKNOWN = 0] = "FIELD_PRESENCE_UNKNOWN", t[t.EXPLICIT = 1] = "EXPLICIT", t[t.IMPLICIT = 2] = "IMPLICIT", t[t.LEGACY_REQUIRED = 3] = "LEGACY_REQUIRED";
2782
- })(sa || (sa = {}));
2783
- u.util.setEnumType(sa, "google.protobuf.FeatureSet.FieldPresence", [
2782
+ })(oa || (oa = {}));
2783
+ u.util.setEnumType(oa, "google.protobuf.FeatureSet.FieldPresence", [
2784
2784
  { no: 0, name: "FIELD_PRESENCE_UNKNOWN" },
2785
2785
  { no: 1, name: "EXPLICIT" },
2786
2786
  { no: 2, name: "IMPLICIT" },
2787
2787
  { no: 3, name: "LEGACY_REQUIRED" }
2788
2788
  ]);
2789
- var oa;
2789
+ var ia;
2790
2790
  (function(t) {
2791
2791
  t[t.ENUM_TYPE_UNKNOWN = 0] = "ENUM_TYPE_UNKNOWN", t[t.OPEN = 1] = "OPEN", t[t.CLOSED = 2] = "CLOSED";
2792
- })(oa || (oa = {}));
2793
- u.util.setEnumType(oa, "google.protobuf.FeatureSet.EnumType", [
2792
+ })(ia || (ia = {}));
2793
+ u.util.setEnumType(ia, "google.protobuf.FeatureSet.EnumType", [
2794
2794
  { no: 0, name: "ENUM_TYPE_UNKNOWN" },
2795
2795
  { no: 1, name: "OPEN" },
2796
2796
  { no: 2, name: "CLOSED" }
2797
2797
  ]);
2798
- var ia;
2798
+ var ra;
2799
2799
  (function(t) {
2800
2800
  t[t.REPEATED_FIELD_ENCODING_UNKNOWN = 0] = "REPEATED_FIELD_ENCODING_UNKNOWN", t[t.PACKED = 1] = "PACKED", t[t.EXPANDED = 2] = "EXPANDED";
2801
- })(ia || (ia = {}));
2802
- u.util.setEnumType(ia, "google.protobuf.FeatureSet.RepeatedFieldEncoding", [
2801
+ })(ra || (ra = {}));
2802
+ u.util.setEnumType(ra, "google.protobuf.FeatureSet.RepeatedFieldEncoding", [
2803
2803
  { no: 0, name: "REPEATED_FIELD_ENCODING_UNKNOWN" },
2804
2804
  { no: 1, name: "PACKED" },
2805
2805
  { no: 2, name: "EXPANDED" }
2806
2806
  ]);
2807
- var ra;
2807
+ var ma;
2808
2808
  (function(t) {
2809
2809
  t[t.UTF8_VALIDATION_UNKNOWN = 0] = "UTF8_VALIDATION_UNKNOWN", t[t.VERIFY = 2] = "VERIFY", t[t.NONE = 3] = "NONE";
2810
- })(ra || (ra = {}));
2811
- u.util.setEnumType(ra, "google.protobuf.FeatureSet.Utf8Validation", [
2810
+ })(ma || (ma = {}));
2811
+ u.util.setEnumType(ma, "google.protobuf.FeatureSet.Utf8Validation", [
2812
2812
  { no: 0, name: "UTF8_VALIDATION_UNKNOWN" },
2813
2813
  { no: 2, name: "VERIFY" },
2814
2814
  { no: 3, name: "NONE" }
2815
2815
  ]);
2816
- var ma;
2816
+ var ca;
2817
2817
  (function(t) {
2818
2818
  t[t.MESSAGE_ENCODING_UNKNOWN = 0] = "MESSAGE_ENCODING_UNKNOWN", t[t.LENGTH_PREFIXED = 1] = "LENGTH_PREFIXED", t[t.DELIMITED = 2] = "DELIMITED";
2819
- })(ma || (ma = {}));
2820
- u.util.setEnumType(ma, "google.protobuf.FeatureSet.MessageEncoding", [
2819
+ })(ca || (ca = {}));
2820
+ u.util.setEnumType(ca, "google.protobuf.FeatureSet.MessageEncoding", [
2821
2821
  { no: 0, name: "MESSAGE_ENCODING_UNKNOWN" },
2822
2822
  { no: 1, name: "LENGTH_PREFIXED" },
2823
2823
  { no: 2, name: "DELIMITED" }
2824
2824
  ]);
2825
- var ca;
2825
+ var da;
2826
2826
  (function(t) {
2827
2827
  t[t.JSON_FORMAT_UNKNOWN = 0] = "JSON_FORMAT_UNKNOWN", t[t.ALLOW = 1] = "ALLOW", t[t.LEGACY_BEST_EFFORT = 2] = "LEGACY_BEST_EFFORT";
2828
- })(ca || (ca = {}));
2829
- u.util.setEnumType(ca, "google.protobuf.FeatureSet.JsonFormat", [
2828
+ })(da || (da = {}));
2829
+ u.util.setEnumType(da, "google.protobuf.FeatureSet.JsonFormat", [
2830
2830
  { no: 0, name: "JSON_FORMAT_UNKNOWN" },
2831
2831
  { no: 1, name: "ALLOW" },
2832
2832
  { no: 2, name: "LEGACY_BEST_EFFORT" }
@@ -2973,13 +2973,13 @@ Pe.fields = u.util.newFieldList(() => [
2973
2973
  { no: 2, name: "source_file", kind: "scalar", T: 9, opt: !0 },
2974
2974
  { no: 3, name: "begin", kind: "scalar", T: 5, opt: !0 },
2975
2975
  { no: 4, name: "end", kind: "scalar", T: 5, opt: !0 },
2976
- { no: 5, name: "semantic", kind: "enum", T: u.getEnumType(da), opt: !0 }
2976
+ { no: 5, name: "semantic", kind: "enum", T: u.getEnumType(la), opt: !0 }
2977
2977
  ]);
2978
- var da;
2978
+ var la;
2979
2979
  (function(t) {
2980
2980
  t[t.NONE = 0] = "NONE", t[t.SET = 1] = "SET", t[t.ALIAS = 2] = "ALIAS";
2981
- })(da || (da = {}));
2982
- u.util.setEnumType(da, "google.protobuf.GeneratedCodeInfo.Annotation.Semantic", [
2981
+ })(la || (la = {}));
2982
+ u.util.setEnumType(la, "google.protobuf.GeneratedCodeInfo.Annotation.Semantic", [
2983
2983
  { no: 0, name: "NONE" },
2984
2984
  { no: 1, name: "SET" },
2985
2985
  { no: 2, name: "ALIAS" }
@@ -3857,7 +3857,7 @@ function lr(t) {
3857
3857
  const e = new Error("This operation was aborted");
3858
3858
  return e.name = "AbortError", e;
3859
3859
  }
3860
- function la() {
3860
+ function pa() {
3861
3861
  return {
3862
3862
  get(t) {
3863
3863
  return t.id in this ? this[t.id] : t.defaultValue;
@@ -3870,7 +3870,7 @@ function la() {
3870
3870
  }
3871
3871
  };
3872
3872
  }
3873
- const $a = 128;
3873
+ const Ya = 128;
3874
3874
  function wi(t) {
3875
3875
  const e = new Headers(), n = new TextDecoder().decode(t).split(`\r
3876
3876
  `);
@@ -3886,7 +3886,7 @@ function wi(t) {
3886
3886
  return e;
3887
3887
  }
3888
3888
  const qf = "Content-Type", Uf = "Grpc-Timeout", pn = "Grpc-Status", pr = "Grpc-Message", Lf = "Grpc-Status-Details-Bin", Gf = "X-User-Agent", xf = "X-Grpc-Web", Bf = "application/grpc-web+proto", Ff = "application/grpc-web+json";
3889
- let Ra = class Rn extends O {
3889
+ let _a = class Rn extends O {
3890
3890
  constructor(e) {
3891
3891
  super(), this.code = 0, this.message = "", this.details = [], s.util.initPartial(e, this);
3892
3892
  }
@@ -3903,9 +3903,9 @@ let Ra = class Rn extends O {
3903
3903
  return s.util.equals(Rn, e, n);
3904
3904
  }
3905
3905
  };
3906
- Ra.runtime = s;
3907
- Ra.typeName = "google.rpc.Status";
3908
- Ra.fields = s.util.newFieldList(() => [
3906
+ _a.runtime = s;
3907
+ _a.typeName = "google.rpc.Status";
3908
+ _a.fields = s.util.newFieldList(() => [
3909
3909
  {
3910
3910
  no: 1,
3911
3911
  name: "code",
@@ -3927,7 +3927,7 @@ function ur(t) {
3927
3927
  var e;
3928
3928
  const n = t.get(Lf);
3929
3929
  if (n != null) {
3930
- const o = Rf(n, Ra);
3930
+ const o = Rf(n, _a);
3931
3931
  if (o.code == 0)
3932
3932
  return;
3933
3933
  const i = new C(o.message, o.code, t);
@@ -4064,14 +4064,14 @@ function vr(t) {
4064
4064
  }
4065
4065
  ];
4066
4066
  }
4067
- var j = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, hr = {}, ut = {}, pa = j && j.__assign || function() {
4068
- return pa = Object.assign || function(t) {
4067
+ var j = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, hr = {}, ut = {}, ua = j && j.__assign || function() {
4068
+ return ua = Object.assign || function(t) {
4069
4069
  for (var e, n = 1, a = arguments.length; n < a; n++) {
4070
4070
  e = arguments[n];
4071
4071
  for (var o in e) Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]);
4072
4072
  }
4073
4073
  return t;
4074
- }, pa.apply(this, arguments);
4074
+ }, ua.apply(this, arguments);
4075
4075
  };
4076
4076
  Object.defineProperty(ut, "__esModule", { value: !0 });
4077
4077
  var Yf = {
@@ -4086,11 +4086,11 @@ var Yf = {
4086
4086
  timeMultiple: 2
4087
4087
  };
4088
4088
  function Vf(t) {
4089
- var e = pa(pa({}, Yf), t);
4089
+ var e = ua(ua({}, Yf), t);
4090
4090
  return e.numOfAttempts < 1 && (e.numOfAttempts = 1), e;
4091
4091
  }
4092
4092
  ut.getSanitizedOptions = Vf;
4093
- var gt = {}, Tt = {}, _a = {}, kt = {}, yt = {};
4093
+ var gt = {}, Tt = {}, Sa = {}, kt = {}, yt = {};
4094
4094
  Object.defineProperty(yt, "__esModule", { value: !0 });
4095
4095
  function Wf(t) {
4096
4096
  var e = Math.random() * t;
@@ -4115,7 +4115,7 @@ function Xf(t) {
4115
4115
  }
4116
4116
  }
4117
4117
  kt.JitterFactory = Xf;
4118
- Object.defineProperty(_a, "__esModule", { value: !0 });
4118
+ Object.defineProperty(Sa, "__esModule", { value: !0 });
4119
4119
  var Qf = kt, Zf = (
4120
4120
  /** @class */
4121
4121
  function() {
@@ -4152,7 +4152,7 @@ var Qf = kt, Zf = (
4152
4152
  }), t;
4153
4153
  }()
4154
4154
  );
4155
- _a.Delay = Zf;
4155
+ Sa.Delay = Zf;
4156
4156
  var eR = j && j.__extends || /* @__PURE__ */ function() {
4157
4157
  var t = function(e, n) {
4158
4158
  return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(a, o) {
@@ -4255,7 +4255,7 @@ var eR = j && j.__extends || /* @__PURE__ */ function() {
4255
4255
  }
4256
4256
  };
4257
4257
  Object.defineProperty(Tt, "__esModule", { value: !0 });
4258
- var tR = _a, sR = (
4258
+ var tR = Sa, sR = (
4259
4259
  /** @class */
4260
4260
  function(t) {
4261
4261
  eR(e, t);
@@ -4301,7 +4301,7 @@ var ht = {}, oR = j && j.__extends || /* @__PURE__ */ function() {
4301
4301
  };
4302
4302
  }();
4303
4303
  Object.defineProperty(ht, "__esModule", { value: !0 });
4304
- var iR = _a, rR = (
4304
+ var iR = Sa, rR = (
4305
4305
  /** @class */
4306
4306
  function(t) {
4307
4307
  oR(e, t);
@@ -4423,7 +4423,7 @@ function gR(t, e) {
4423
4423
  });
4424
4424
  });
4425
4425
  }
4426
- var Ya = hr.backOff = gR, TR = (
4426
+ var Va = hr.backOff = gR, TR = (
4427
4427
  /** @class */
4428
4428
  function() {
4429
4429
  function t(e, n) {
@@ -4663,7 +4663,7 @@ const fr = /* @__PURE__ */ s.makeMessageType(
4663
4663
  { no: 2, name: "init", kind: "message", T: RR, oneof: "stage" },
4664
4664
  { no: 3, name: "update", kind: "message", T: _R, oneof: "stage" }
4665
4665
  ]
4666
- ), Kn = /* @__PURE__ */ s.makeMessageType(
4666
+ ), Xn = /* @__PURE__ */ s.makeMessageType(
4667
4667
  "proto.rpc.webrtc.v1.CallUpdateRequest",
4668
4668
  () => [
4669
4669
  {
@@ -4699,7 +4699,7 @@ const fr = /* @__PURE__ */ s.makeMessageType(
4699
4699
  /* ScalarType.STRING */
4700
4700
  }
4701
4701
  ]
4702
- ), ua = /* @__PURE__ */ s.makeMessageType(
4702
+ ), ga = /* @__PURE__ */ s.makeMessageType(
4703
4703
  "proto.rpc.webrtc.v1.WebRTCConfig",
4704
4704
  () => [
4705
4705
  { no: 1, name: "additional_ice_servers", kind: "message", T: MR, repeated: !0 },
@@ -4721,7 +4721,7 @@ const fr = /* @__PURE__ */ s.makeMessageType(
4721
4721
  T: 9
4722
4722
  /* ScalarType.STRING */
4723
4723
  },
4724
- { no: 2, name: "optional_config", kind: "message", T: ua },
4724
+ { no: 2, name: "optional_config", kind: "message", T: ga },
4725
4725
  { no: 3, name: "deadline", kind: "message", T: _, opt: !0 }
4726
4726
  ]
4727
4727
  ), ER = /* @__PURE__ */ s.makeMessageType(
@@ -4801,7 +4801,7 @@ const fr = /* @__PURE__ */ s.makeMessageType(
4801
4801
  ), GR = /* @__PURE__ */ s.makeMessageType(
4802
4802
  "proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse",
4803
4803
  () => [
4804
- { no: 1, name: "config", kind: "message", T: ua }
4804
+ { no: 1, name: "config", kind: "message", T: ga }
4805
4805
  ]
4806
4806
  ), _r = {
4807
4807
  typeName: "proto.rpc.webrtc.v1.SignalingService",
@@ -4835,7 +4835,7 @@ const fr = /* @__PURE__ */ s.makeMessageType(
4835
4835
  */
4836
4836
  callUpdate: {
4837
4837
  name: "CallUpdate",
4838
- I: Kn,
4838
+ I: Xn,
4839
4839
  O: IR,
4840
4840
  kind: m.Unary
4841
4841
  },
@@ -5077,7 +5077,7 @@ function zR(t) {
5077
5077
  mode: "cors"
5078
5078
  },
5079
5079
  header: Ai(n, r, c),
5080
- contextValues: d ?? la(),
5080
+ contextValues: d ?? pa(),
5081
5081
  message: l
5082
5082
  },
5083
5083
  next: async (h) => {
@@ -5094,7 +5094,7 @@ function zR(t) {
5094
5094
  const { flags: b, data: M } = y.value;
5095
5095
  if ((b & bi) === bi)
5096
5096
  throw new C("protocol error: received unsupported compressed output", w.Internal);
5097
- if (b === $a) {
5097
+ if (b === Ya) {
5098
5098
  if (v !== void 0)
5099
5099
  throw "extra trailer";
5100
5100
  v = wi(M);
@@ -5136,12 +5136,12 @@ function zR(t) {
5136
5136
  if (M.done)
5137
5137
  break;
5138
5138
  const { flags: Q, data: q } = M.value;
5139
- if ((Q & $a) === $a) {
5139
+ if ((Q & Ya) === Ya) {
5140
5140
  if (b)
5141
5141
  throw "extra trailer";
5142
5142
  b = !0;
5143
5143
  const J = wi(q);
5144
- Di(J, k), J.forEach((xa, Ba) => F.set(Ba, xa));
5144
+ Di(J, k), J.forEach((Ba, Fa) => F.set(Fa, Ba));
5145
5145
  continue;
5146
5146
  }
5147
5147
  if (b)
@@ -5176,7 +5176,7 @@ function zR(t) {
5176
5176
  mode: "cors"
5177
5177
  },
5178
5178
  header: Ai(n, r, c),
5179
- contextValues: d ?? la(),
5179
+ contextValues: d ?? pa(),
5180
5180
  message: l
5181
5181
  },
5182
5182
  next: async (E) => {
@@ -5193,7 +5193,7 @@ function zR(t) {
5193
5193
  }
5194
5194
  };
5195
5195
  }
5196
- const ga = /* @__PURE__ */ s.makeMessageType(
5196
+ const Ta = /* @__PURE__ */ s.makeMessageType(
5197
5197
  "proto.rpc.webrtc.v1.PacketMessage",
5198
5198
  () => [
5199
5199
  {
@@ -5222,7 +5222,7 @@ const ga = /* @__PURE__ */ s.makeMessageType(
5222
5222
  /* ScalarType.UINT64 */
5223
5223
  }
5224
5224
  ]
5225
- ), Va = /* @__PURE__ */ s.makeMessageType(
5225
+ ), Wa = /* @__PURE__ */ s.makeMessageType(
5226
5226
  "proto.rpc.webrtc.v1.Request",
5227
5227
  () => [
5228
5228
  { no: 1, name: "stream", kind: "message", T: ft },
@@ -5240,7 +5240,7 @@ const ga = /* @__PURE__ */ s.makeMessageType(
5240
5240
  T: 9
5241
5241
  /* ScalarType.STRING */
5242
5242
  },
5243
- { no: 2, name: "metadata", kind: "message", T: Sa },
5243
+ { no: 2, name: "metadata", kind: "message", T: Ia },
5244
5244
  { no: 3, name: "timeout", kind: "message", T: B }
5245
5245
  ]
5246
5246
  ), tt = /* @__PURE__ */ s.makeMessageType(
@@ -5253,7 +5253,7 @@ const ga = /* @__PURE__ */ s.makeMessageType(
5253
5253
  T: 8
5254
5254
  /* ScalarType.BOOL */
5255
5255
  },
5256
- { no: 2, name: "packet_message", kind: "message", T: ga },
5256
+ { no: 2, name: "packet_message", kind: "message", T: Ta },
5257
5257
  {
5258
5258
  no: 3,
5259
5259
  name: "eos",
@@ -5273,25 +5273,25 @@ const ga = /* @__PURE__ */ s.makeMessageType(
5273
5273
  ), YR = /* @__PURE__ */ s.makeMessageType(
5274
5274
  "proto.rpc.webrtc.v1.ResponseHeaders",
5275
5275
  () => [
5276
- { no: 1, name: "metadata", kind: "message", T: Sa }
5276
+ { no: 1, name: "metadata", kind: "message", T: Ia }
5277
5277
  ]
5278
5278
  ), VR = /* @__PURE__ */ s.makeMessageType(
5279
5279
  "proto.rpc.webrtc.v1.ResponseMessage",
5280
5280
  () => [
5281
- { no: 1, name: "packet_message", kind: "message", T: ga }
5281
+ { no: 1, name: "packet_message", kind: "message", T: Ta }
5282
5282
  ]
5283
5283
  ), WR = /* @__PURE__ */ s.makeMessageType(
5284
5284
  "proto.rpc.webrtc.v1.ResponseTrailers",
5285
5285
  () => [
5286
5286
  { no: 1, name: "status", kind: "message", T: un },
5287
- { no: 2, name: "metadata", kind: "message", T: Sa }
5287
+ { no: 2, name: "metadata", kind: "message", T: Ia }
5288
5288
  ]
5289
5289
  ), br = /* @__PURE__ */ s.makeMessageType(
5290
5290
  "proto.rpc.webrtc.v1.Strings",
5291
5291
  () => [
5292
5292
  { no: 1, name: "values", kind: "scalar", T: 9, repeated: !0 }
5293
5293
  ]
5294
- ), Sa = /* @__PURE__ */ s.makeMessageType(
5294
+ ), Ia = /* @__PURE__ */ s.makeMessageType(
5295
5295
  "proto.rpc.webrtc.v1.Metadata",
5296
5296
  () => [
5297
5297
  { no: 1, name: "md", kind: "map", K: 9, V: { kind: "message", T: br } }
@@ -5430,7 +5430,7 @@ class Er extends HR {
5430
5430
  writeMessage(e, n) {
5431
5431
  try {
5432
5432
  if (!n || n.length === 0) {
5433
- const o = new ga({
5433
+ const o = new Ta({
5434
5434
  eom: !0
5435
5435
  }), i = new tt({
5436
5436
  hasMessage: !!n,
@@ -5445,7 +5445,7 @@ class Er extends HR {
5445
5445
  const o = Math.min(
5446
5446
  a.length,
5447
5447
  KR
5448
- ), i = new ga();
5448
+ ), i = new Ta();
5449
5449
  i.data = a.slice(0, o), a = a.slice(o), a.length === 0 && (i.eom = !0);
5450
5450
  const r = new tt({
5451
5451
  hasMessage: !!a,
@@ -5524,7 +5524,7 @@ class Er extends HR {
5524
5524
  const XR = (t) => {
5525
5525
  if (!t)
5526
5526
  return;
5527
- const e = new Sa({
5527
+ const e = new Ia({
5528
5528
  md: Object.fromEntries(
5529
5529
  [...t.entries()].map(([n, a]) => [
5530
5530
  n,
@@ -5555,7 +5555,7 @@ class QR extends Er {
5555
5555
  service: this.service,
5556
5556
  method: this.method,
5557
5557
  header: new Headers(),
5558
- contextValues: o ?? la(),
5558
+ contextValues: o ?? pa(),
5559
5559
  message: a
5560
5560
  },
5561
5561
  /**
@@ -5628,7 +5628,7 @@ class ZR extends Er {
5628
5628
  service: this.service,
5629
5629
  method: this.method,
5630
5630
  header: new Headers(),
5631
- contextValues: o ?? la(),
5631
+ contextValues: o ?? pa(),
5632
5632
  message: a
5633
5633
  },
5634
5634
  /**
@@ -5750,7 +5750,7 @@ class n1 extends jR {
5750
5750
  }
5751
5751
  writeHeaders(e, n) {
5752
5752
  this.write(
5753
- new Va({
5753
+ new Wa({
5754
5754
  stream: e,
5755
5755
  type: {
5756
5756
  case: "headers",
@@ -5761,7 +5761,7 @@ class n1 extends jR {
5761
5761
  }
5762
5762
  writeMessage(e, n) {
5763
5763
  this.write(
5764
- new Va({
5764
+ new Wa({
5765
5765
  stream: e,
5766
5766
  type: {
5767
5767
  case: "message",
@@ -5772,7 +5772,7 @@ class n1 extends jR {
5772
5772
  }
5773
5773
  writeReset(e) {
5774
5774
  this.write(
5775
- new Va({
5775
+ new Wa({
5776
5776
  stream: e,
5777
5777
  type: {
5778
5778
  case: "rstStream",
@@ -5800,7 +5800,7 @@ class n1 extends jR {
5800
5800
  ).run(a, o, r, c);
5801
5801
  }
5802
5802
  }
5803
- const Wa = "invariant: call uuid unset";
5803
+ const Yn = "invariant: call uuid unset";
5804
5804
  class a1 {
5805
5805
  constructor(e, n, a, o, i) {
5806
5806
  this.signalingClient = e, this.callOpts = n, this.pc = a, this.dc = o, this.dialOpts = i, this.clientChannel = new n1(this.pc, this.dc);
@@ -5929,16 +5929,25 @@ class a1 {
5929
5929
  return !0;
5930
5930
  }
5931
5931
  async onLocalICECandidate(e) {
5932
- if (await this.remoteDescriptionSet, this.exchangeDone || this.pc.iceConnectionState === "connected")
5932
+ if (await this.remoteDescriptionSet, this.exchangeDone || this.pc.iceConnectionState === "connected") {
5933
+ e.candidate !== null && console.info(
5934
+ "Dropping ICE candidate - exchange done or already connected",
5935
+ {
5936
+ exchangeDone: this.exchangeDone,
5937
+ iceConnectionState: this.pc.iceConnectionState,
5938
+ candidate: e.candidate.candidate
5939
+ }
5940
+ );
5933
5941
  return;
5942
+ }
5934
5943
  if (e.candidate === null) {
5935
- this.iceComplete = !0, await this.sendDone();
5944
+ console.info("ICE gathering complete"), this.iceComplete = !0, await this.sendDone();
5936
5945
  return;
5937
5946
  }
5938
5947
  if (this.callUuid === void 0 || this.callUuid === "")
5939
- throw new Error(Wa);
5940
- e.candidate.candidate !== void 0 && console.debug(`gathered local ICE ${e.candidate.candidate}`);
5941
- const n = s1(e.candidate), a = new Kn({
5948
+ throw console.error(Yn), new Error(Yn);
5949
+ e.candidate.candidate !== void 0 && console.info(`Gathered local ICE ${e.candidate.candidate}`);
5950
+ const n = s1(e.candidate), a = new Xn({
5942
5951
  uuid: this.callUuid,
5943
5952
  update: {
5944
5953
  case: "candidate",
@@ -5963,9 +5972,9 @@ class a1 {
5963
5972
  if (this.sentDoneOrErrorOnce)
5964
5973
  return;
5965
5974
  if (this.callUuid === void 0 || this.callUuid === "")
5966
- throw new Error(Wa);
5975
+ throw new Error(Yn);
5967
5976
  this.sentDoneOrErrorOnce = !0;
5968
- const n = new Kn({
5977
+ const n = new Xn({
5969
5978
  uuid: this.callUuid,
5970
5979
  update: {
5971
5980
  case: "error",
@@ -5985,9 +5994,9 @@ class a1 {
5985
5994
  if (this.sentDoneOrErrorOnce)
5986
5995
  return;
5987
5996
  if (this.callUuid === void 0 || this.callUuid === "")
5988
- throw new Error(Wa);
5997
+ throw new Error(Yn);
5989
5998
  this.sentDoneOrErrorOnce = !0;
5990
- const e = new Kn({
5999
+ const e = new Xn({
5991
6000
  uuid: this.callUuid,
5992
6001
  update: {
5993
6002
  case: "done",
@@ -6111,10 +6120,10 @@ const Dn = (t) => {
6111
6120
  a
6112
6121
  ), r = V(_r, i);
6113
6122
  try {
6114
- return (await r.optionalWebRTCConfig({}, e)).config ?? new ua();
6123
+ return (await r.optionalWebRTCConfig({}, e)).config ?? new ga();
6115
6124
  } catch (c) {
6116
6125
  if (c instanceof C && c.code === w.Unimplemented)
6117
- return new ua();
6126
+ return new ga();
6118
6127
  throw c;
6119
6128
  }
6120
6129
  }, r1 = async (t, e, n, a = !1) => {
@@ -6222,7 +6231,7 @@ const Dn = (t) => {
6222
6231
  "cannot set webrtcOptions.signalingCredentials with webrtcOptions.signalingAccessToken"
6223
6232
  );
6224
6233
  }
6225
- }, d1 = "v0.1.487", Cr = /* @__PURE__ */ s.makeEnum(
6234
+ }, d1 = "v0.1.488", Cr = /* @__PURE__ */ s.makeEnum(
6226
6235
  "viam.common.v1.KinematicsFileFormat",
6227
6236
  [
6228
6237
  { no: 0, name: "KINEMATICS_FILE_FORMAT_UNSPECIFIED", localName: "UNSPECIFIED" },
@@ -6505,7 +6514,7 @@ const Dn = (t) => {
6505
6514
  /* ScalarType.DOUBLE */
6506
6515
  }
6507
6516
  ]
6508
- ), Ta = /* @__PURE__ */ s.makeMessageType(
6517
+ ), ka = /* @__PURE__ */ s.makeMessageType(
6509
6518
  "viam.common.v1.GeoGeometry",
6510
6519
  () => [
6511
6520
  { no: 1, name: "location", kind: "message", T: Ye },
@@ -6571,7 +6580,7 @@ const Dn = (t) => {
6571
6580
  () => [
6572
6581
  { no: 1, name: "result", kind: "message", T: p }
6573
6582
  ]
6574
- ), Ia = /* @__PURE__ */ s.makeMessageType(
6583
+ ), Ma = /* @__PURE__ */ s.makeMessageType(
6575
6584
  "viam.common.v1.GetKinematicsRequest",
6576
6585
  () => [
6577
6586
  {
@@ -6641,7 +6650,7 @@ const Dn = (t) => {
6641
6650
  },
6642
6651
  { no: 99, name: "extra", kind: "message", T: p }
6643
6652
  ]
6644
- ), Ma = /* @__PURE__ */ s.makeMessageType(
6653
+ ), ba = /* @__PURE__ */ s.makeMessageType(
6645
6654
  "viam.common.v1.GetReadingsResponse",
6646
6655
  () => [
6647
6656
  { no: 1, name: "readings", kind: "map", K: 9, V: { kind: "message", T: K } }
@@ -6755,7 +6764,7 @@ const Dn = (t) => {
6755
6764
  Capsule: Dr,
6756
6765
  DoCommandRequest: P,
6757
6766
  DoCommandResponse: D,
6758
- GeoGeometry: Ta,
6767
+ GeoGeometry: ka,
6759
6768
  GeoPoint: Ye,
6760
6769
  GeometriesInFrame: _t,
6761
6770
  Geometry: Ze,
@@ -6763,12 +6772,12 @@ const Dn = (t) => {
6763
6772
  Get3DModelsResponse: Gr,
6764
6773
  GetGeometriesRequest: U,
6765
6774
  GetGeometriesResponse: W,
6766
- GetKinematicsRequest: Ia,
6775
+ GetKinematicsRequest: Ma,
6767
6776
  GetKinematicsResponse: It,
6768
6777
  GetPropertiesRequest: Ln,
6769
6778
  GetPropertiesResponse: Et,
6770
6779
  GetReadingsRequest: en,
6771
- GetReadingsResponse: Ma,
6780
+ GetReadingsResponse: ba,
6772
6781
  KinematicsFileFormat: Cr,
6773
6782
  LogEntry: Un,
6774
6783
  Mesh: Rt,
@@ -6786,7 +6795,7 @@ const Dn = (t) => {
6786
6795
  WorldState: Ur,
6787
6796
  safety_heartbeat_monitored: xr
6788
6797
  }, Symbol.toStringTag, { value: "Module" })), it = new Headers({
6789
- "viam-client": `typescript;v0.55.0;${d1}`
6798
+ "viam-client": `typescript;v0.56.0;${d1}`
6790
6799
  }), A = async function(e, n, a, o = {}, i = {}) {
6791
6800
  const r = new P({
6792
6801
  name: n,
@@ -7112,7 +7121,7 @@ const Ot = /* @__PURE__ */ s.makeMessageType(
7112
7121
  */
7113
7122
  getKinematics: {
7114
7123
  name: "GetKinematics",
7115
- I: Ia,
7124
+ I: Ma,
7116
7125
  O: It,
7117
7126
  kind: m.Unary
7118
7127
  },
@@ -7268,7 +7277,7 @@ const Ot = /* @__PURE__ */ s.makeMessageType(
7268
7277
  /* ScalarType.BOOL */
7269
7278
  }
7270
7279
  ]
7271
- ), ba = /* @__PURE__ */ s.makeMessageType(
7280
+ ), Ea = /* @__PURE__ */ s.makeMessageType(
7272
7281
  "viam.component.base.v1.GetPropertiesRequest",
7273
7282
  () => [
7274
7283
  {
@@ -7307,7 +7316,7 @@ const Ot = /* @__PURE__ */ s.makeMessageType(
7307
7316
  ]
7308
7317
  ), T1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7309
7318
  __proto__: null,
7310
- GetPropertiesRequest: ba,
7319
+ GetPropertiesRequest: Ea,
7311
7320
  GetPropertiesResponse: sm,
7312
7321
  IsMovingRequest: xt,
7313
7322
  IsMovingResponse: tm,
@@ -7424,7 +7433,7 @@ const Ot = /* @__PURE__ */ s.makeMessageType(
7424
7433
  */
7425
7434
  getProperties: {
7426
7435
  name: "GetProperties",
7427
- I: ba,
7436
+ I: Ea,
7428
7437
  O: sm,
7429
7438
  kind: m.Unary
7430
7439
  }
@@ -8565,7 +8574,7 @@ const Ot = /* @__PURE__ */ s.makeMessageType(
8565
8574
  */
8566
8575
  getKinematics: {
8567
8576
  name: "GetKinematics",
8568
- I: Ia,
8577
+ I: Ma,
8569
8578
  O: It,
8570
8579
  kind: m.Unary
8571
8580
  }
@@ -9517,7 +9526,7 @@ const Ot = /* @__PURE__ */ s.makeMessageType(
9517
9526
  getReadings: {
9518
9527
  name: "GetReadings",
9519
9528
  I: en,
9520
- O: Ma,
9529
+ O: ba,
9521
9530
  kind: m.Unary
9522
9531
  }
9523
9532
  }
@@ -9656,7 +9665,7 @@ const Ot = /* @__PURE__ */ s.makeMessageType(
9656
9665
  getReadings: {
9657
9666
  name: "GetReadings",
9658
9667
  I: en,
9659
- O: Ma,
9668
+ O: ba,
9660
9669
  kind: m.Unary
9661
9670
  },
9662
9671
  /**
@@ -10739,7 +10748,7 @@ const Ot = /* @__PURE__ */ s.makeMessageType(
10739
10748
  { no: 9, name: "modules", kind: "message", T: Vd, repeated: !0 },
10740
10749
  { no: 10, name: "disable_partial_start", kind: "scalar", T: 8, opt: !0 },
10741
10750
  { no: 11, name: "packages", kind: "message", T: Wd, repeated: !0 },
10742
- { no: 12, name: "overwrite_fragment_status", kind: "message", T: Ea, repeated: !0 },
10751
+ { no: 12, name: "overwrite_fragment_status", kind: "message", T: Oa, repeated: !0 },
10743
10752
  {
10744
10753
  no: 13,
10745
10754
  name: "enable_web_profile",
@@ -10834,7 +10843,7 @@ const Ot = /* @__PURE__ */ s.makeMessageType(
10834
10843
  /* ScalarType.STRING */
10835
10844
  }
10836
10845
  ]
10837
- ), Ea = /* @__PURE__ */ s.makeMessageType(
10846
+ ), Oa = /* @__PURE__ */ s.makeMessageType(
10838
10847
  "viam.app.v1.AppValidationStatus",
10839
10848
  () => [
10840
10849
  {
@@ -10960,7 +10969,7 @@ const Ot = /* @__PURE__ */ s.makeMessageType(
10960
10969
  },
10961
10970
  { no: 5, name: "frame", kind: "message", T: Ks },
10962
10971
  { no: 6, name: "depends_on", kind: "scalar", T: 9, repeated: !0 },
10963
- { no: 7, name: "service_configs", kind: "message", T: Oa, repeated: !0 },
10972
+ { no: 7, name: "service_configs", kind: "message", T: wa, repeated: !0 },
10964
10973
  { no: 8, name: "attributes", kind: "message", T: p },
10965
10974
  {
10966
10975
  no: 9,
@@ -10971,7 +10980,7 @@ const Ot = /* @__PURE__ */ s.makeMessageType(
10971
10980
  },
10972
10981
  { no: 10, name: "log_configuration", kind: "message", T: Xs }
10973
10982
  ]
10974
- ), Oa = /* @__PURE__ */ s.makeMessageType(
10983
+ ), wa = /* @__PURE__ */ s.makeMessageType(
10975
10984
  "viam.app.v1.ResourceLevelServiceConfig",
10976
10985
  () => [
10977
10986
  {
@@ -11083,7 +11092,7 @@ const Ot = /* @__PURE__ */ s.makeMessageType(
11083
11092
  T: 9
11084
11093
  /* ScalarType.STRING */
11085
11094
  },
11086
- { no: 10, name: "service_configs", kind: "message", T: Oa, repeated: !0 },
11095
+ { no: 10, name: "service_configs", kind: "message", T: wa, repeated: !0 },
11087
11096
  { no: 11, name: "log_configuration", kind: "message", T: Xs }
11088
11097
  ]
11089
11098
  ), Ed = /* @__PURE__ */ s.makeMessageType(
@@ -11424,7 +11433,7 @@ const Ot = /* @__PURE__ */ s.makeMessageType(
11424
11433
  },
11425
11434
  { no: 7, name: "connection_check_interval", kind: "message", T: B },
11426
11435
  { no: 8, name: "reconnect_interval", kind: "message", T: B },
11427
- { no: 9, name: "service_configs", kind: "message", T: Oa, repeated: !0 },
11436
+ { no: 9, name: "service_configs", kind: "message", T: wa, repeated: !0 },
11428
11437
  {
11429
11438
  no: 10,
11430
11439
  name: "secret",
@@ -11641,7 +11650,7 @@ const Ot = /* @__PURE__ */ s.makeMessageType(
11641
11650
  T: 9
11642
11651
  /* ScalarType.STRING */
11643
11652
  } },
11644
- { no: 7, name: "status", kind: "message", T: Ea },
11653
+ { no: 7, name: "status", kind: "message", T: Oa },
11645
11654
  { no: 8, name: "first_run_timeout", kind: "message", T: B },
11646
11655
  {
11647
11656
  no: 9,
@@ -11682,7 +11691,7 @@ const Ot = /* @__PURE__ */ s.makeMessageType(
11682
11691
  T: 9
11683
11692
  /* ScalarType.STRING */
11684
11693
  },
11685
- { no: 5, name: "status", kind: "message", T: Ea }
11694
+ { no: 5, name: "status", kind: "message", T: Oa }
11686
11695
  ]
11687
11696
  ), jd = /* @__PURE__ */ s.makeMessageType(
11688
11697
  "viam.app.v1.MaintenanceConfig",
@@ -11699,7 +11708,7 @@ const Ot = /* @__PURE__ */ s.makeMessageType(
11699
11708
  ), VS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11700
11709
  __proto__: null,
11701
11710
  AgentInfo: Yd,
11702
- AppValidationStatus: Ea,
11711
+ AppValidationStatus: Oa,
11703
11712
  AuthConfig: Cd,
11704
11713
  AuthHandlerConfig: Dd,
11705
11714
  CertificateRequest: E1,
@@ -11735,7 +11744,7 @@ const Ot = /* @__PURE__ */ s.makeMessageType(
11735
11744
  RemoteAuth: zd,
11736
11745
  RemoteAuth_Credentials: $d,
11737
11746
  RemoteConfig: Jd,
11738
- ResourceLevelServiceConfig: Oa,
11747
+ ResourceLevelServiceConfig: wa,
11739
11748
  RobotConfig: fd,
11740
11749
  ServiceConfig: bd,
11741
11750
  SessionsConfig: Od,
@@ -11917,9 +11926,9 @@ const Ot = /* @__PURE__ */ s.makeMessageType(
11917
11926
  { no: 3, name: "heading", kind: "scalar", T: 1, opt: !0 },
11918
11927
  { no: 4, name: "component_name_deprecated", kind: "message", T: x },
11919
11928
  { no: 5, name: "movement_sensor_name_deprecated", kind: "message", T: x },
11920
- { no: 6, name: "obstacles", kind: "message", T: Ta, repeated: !0 },
11929
+ { no: 6, name: "obstacles", kind: "message", T: ka, repeated: !0 },
11921
11930
  { no: 7, name: "motion_configuration", kind: "message", T: no, opt: !0 },
11922
- { no: 8, name: "bounding_regions", kind: "message", T: Ta, repeated: !0 },
11931
+ { no: 8, name: "bounding_regions", kind: "message", T: ka, repeated: !0 },
11923
11932
  {
11924
11933
  no: 9,
11925
11934
  name: "component_name",
@@ -12114,8 +12123,8 @@ const Ot = /* @__PURE__ */ s.makeMessageType(
12114
12123
  "viam.service.motion.v1.PlanWithStatus",
12115
12124
  () => [
12116
12125
  { no: 1, name: "plan", kind: "message", T: ul },
12117
- { no: 2, name: "status", kind: "message", T: ka },
12118
- { no: 3, name: "status_history", kind: "message", T: ka, repeated: !0 }
12126
+ { no: 2, name: "status", kind: "message", T: ya },
12127
+ { no: 3, name: "status_history", kind: "message", T: ya, repeated: !0 }
12119
12128
  ]
12120
12129
  ), pl = /* @__PURE__ */ s.makeMessageType(
12121
12130
  "viam.service.motion.v1.PlanStatusWithID",
@@ -12135,7 +12144,7 @@ const Ot = /* @__PURE__ */ s.makeMessageType(
12135
12144
  T: 9
12136
12145
  /* ScalarType.STRING */
12137
12146
  },
12138
- { no: 4, name: "status", kind: "message", T: ka },
12147
+ { no: 4, name: "status", kind: "message", T: ya },
12139
12148
  {
12140
12149
  no: 5,
12141
12150
  name: "component_name",
@@ -12144,7 +12153,7 @@ const Ot = /* @__PURE__ */ s.makeMessageType(
12144
12153
  /* ScalarType.STRING */
12145
12154
  }
12146
12155
  ]
12147
- ), ka = /* @__PURE__ */ s.makeMessageType(
12156
+ ), ya = /* @__PURE__ */ s.makeMessageType(
12148
12157
  "viam.service.motion.v1.PlanStatus",
12149
12158
  () => [
12150
12159
  { no: 1, name: "state", kind: "enum", T: s.getEnumType(Xd) },
@@ -12212,7 +12221,7 @@ const Ot = /* @__PURE__ */ s.makeMessageType(
12212
12221
  OrientationConstraint: cl,
12213
12222
  Plan: ul,
12214
12223
  PlanState: Xd,
12215
- PlanStatus: ka,
12224
+ PlanStatus: ya,
12216
12225
  PlanStatusWithID: pl,
12217
12226
  PlanStep: gl,
12218
12227
  PlanWithStatus: rt,
@@ -12476,7 +12485,7 @@ const Ot = /* @__PURE__ */ s.makeMessageType(
12476
12485
  ), Ml = /* @__PURE__ */ s.makeMessageType(
12477
12486
  "viam.service.navigation.v1.GetObstaclesResponse",
12478
12487
  () => [
12479
- { no: 1, name: "obstacles", kind: "message", T: Ta, repeated: !0 }
12488
+ { no: 1, name: "obstacles", kind: "message", T: ka, repeated: !0 }
12480
12489
  ]
12481
12490
  ), bl = /* @__PURE__ */ s.makeMessageType(
12482
12491
  "viam.service.navigation.v1.Path",
@@ -13199,7 +13208,7 @@ const Ot = /* @__PURE__ */ s.makeMessageType(
13199
13208
  ), Wl = /* @__PURE__ */ s.makeMessageType(
13200
13209
  "viam.service.vision.v1.GetDetectionsResponse",
13201
13210
  () => [
13202
- { no: 1, name: "detections", kind: "message", T: wa, repeated: !0 }
13211
+ { no: 1, name: "detections", kind: "message", T: Ca, repeated: !0 }
13203
13212
  ]
13204
13213
  ), Oo = /* @__PURE__ */ s.makeMessageType(
13205
13214
  "viam.service.vision.v1.GetDetectionsFromCameraRequest",
@@ -13223,9 +13232,9 @@ const Ot = /* @__PURE__ */ s.makeMessageType(
13223
13232
  ), jl = /* @__PURE__ */ s.makeMessageType(
13224
13233
  "viam.service.vision.v1.GetDetectionsFromCameraResponse",
13225
13234
  () => [
13226
- { no: 1, name: "detections", kind: "message", T: wa, repeated: !0 }
13235
+ { no: 1, name: "detections", kind: "message", T: Ca, repeated: !0 }
13227
13236
  ]
13228
- ), wa = /* @__PURE__ */ s.makeMessageType(
13237
+ ), Ca = /* @__PURE__ */ s.makeMessageType(
13229
13238
  "viam.service.vision.v1.Detection",
13230
13239
  () => [
13231
13240
  { no: 1, name: "x_min", kind: "scalar", T: 3, opt: !0 },
@@ -13301,7 +13310,7 @@ const Ot = /* @__PURE__ */ s.makeMessageType(
13301
13310
  ), Hl = /* @__PURE__ */ s.makeMessageType(
13302
13311
  "viam.service.vision.v1.GetClassificationsResponse",
13303
13312
  () => [
13304
- { no: 1, name: "classifications", kind: "message", T: Ca, repeated: !0 }
13313
+ { no: 1, name: "classifications", kind: "message", T: Na, repeated: !0 }
13305
13314
  ]
13306
13315
  ), Co = /* @__PURE__ */ s.makeMessageType(
13307
13316
  "viam.service.vision.v1.GetClassificationsFromCameraRequest",
@@ -13332,9 +13341,9 @@ const Ot = /* @__PURE__ */ s.makeMessageType(
13332
13341
  ), Kl = /* @__PURE__ */ s.makeMessageType(
13333
13342
  "viam.service.vision.v1.GetClassificationsFromCameraResponse",
13334
13343
  () => [
13335
- { no: 1, name: "classifications", kind: "message", T: Ca, repeated: !0 }
13344
+ { no: 1, name: "classifications", kind: "message", T: Na, repeated: !0 }
13336
13345
  ]
13337
- ), Ca = /* @__PURE__ */ s.makeMessageType(
13346
+ ), Na = /* @__PURE__ */ s.makeMessageType(
13338
13347
  "viam.service.vision.v1.Classification",
13339
13348
  () => [
13340
13349
  {
@@ -13453,8 +13462,8 @@ const Ot = /* @__PURE__ */ s.makeMessageType(
13453
13462
  "viam.service.vision.v1.CaptureAllFromCameraResponse",
13454
13463
  () => [
13455
13464
  { no: 1, name: "image", kind: "message", T: Io },
13456
- { no: 2, name: "detections", kind: "message", T: wa, repeated: !0 },
13457
- { no: 3, name: "classifications", kind: "message", T: Ca, repeated: !0 },
13465
+ { no: 2, name: "detections", kind: "message", T: Ca, repeated: !0 },
13466
+ { no: 3, name: "classifications", kind: "message", T: Na, repeated: !0 },
13458
13467
  { no: 4, name: "objects", kind: "message", T: St, repeated: !0 },
13459
13468
  { no: 99, name: "extra", kind: "message", T: p }
13460
13469
  ]
@@ -13487,8 +13496,8 @@ const Ot = /* @__PURE__ */ s.makeMessageType(
13487
13496
  __proto__: null,
13488
13497
  CaptureAllFromCameraRequest: Do,
13489
13498
  CaptureAllFromCameraResponse: Ql,
13490
- Classification: Ca,
13491
- Detection: wa,
13499
+ Classification: Na,
13500
+ Detection: Ca,
13492
13501
  GetClassificationsFromCameraRequest: Co,
13493
13502
  GetClassificationsFromCameraResponse: Kl,
13494
13503
  GetClassificationsRequest: wo,
@@ -13647,7 +13656,7 @@ class x1 {
13647
13656
  this.heartbeat();
13648
13657
  }
13649
13658
  }
13650
- const ya = /* @__PURE__ */ s.makeMessageType(
13659
+ const va = /* @__PURE__ */ s.makeMessageType(
13651
13660
  "grpc.reflection.v1.ServerReflectionRequest",
13652
13661
  () => [
13653
13662
  {
@@ -13691,7 +13700,7 @@ const ya = /* @__PURE__ */ s.makeMessageType(
13691
13700
  T: 9
13692
13701
  /* ScalarType.STRING */
13693
13702
  },
13694
- { no: 2, name: "original_request", kind: "message", T: ya },
13703
+ { no: 2, name: "original_request", kind: "message", T: va },
13695
13704
  { no: 4, name: "file_descriptor_response", kind: "message", T: J1, oneof: "message_response" },
13696
13705
  { no: 5, name: "all_extension_numbers_response", kind: "message", T: z1, oneof: "message_response" },
13697
13706
  { no: 6, name: "list_services_response", kind: "message", T: $1, oneof: "message_response" },
@@ -13759,7 +13768,7 @@ const ya = /* @__PURE__ */ s.makeMessageType(
13759
13768
  */
13760
13769
  serverReflectionInfo: {
13761
13770
  name: "ServerReflectionInfo",
13762
- I: ya,
13771
+ I: va,
13763
13772
  O: F1,
13764
13773
  kind: m.BiDiStreaming
13765
13774
  }
@@ -13913,7 +13922,7 @@ class Xe {
13913
13922
  }
13914
13923
  async applyHeartbeatMonitoredMethods() {
13915
13924
  try {
13916
- const e = V(W1, this.transport), n = new ya({
13925
+ const e = V(W1, this.transport), n = new va({
13917
13926
  host: this.host,
13918
13927
  messageRequest: { case: "listServices", value: "" }
13919
13928
  }), a = e.serverReflectionInfo(
@@ -13921,7 +13930,7 @@ class Xe {
13921
13930
  { timeoutMs: 1e4 }
13922
13931
  );
13923
13932
  for await (const o of a) {
13924
- const i = o.messageResponse.value.service.map((c) => new ya({
13933
+ const i = o.messageResponse.value.service.map((c) => new va({
13925
13934
  messageRequest: {
13926
13935
  case: "fileContainingSymbol",
13927
13936
  value: c.name
@@ -14417,7 +14426,7 @@ class mn extends Fr {
14417
14426
  a
14418
14427
  ), this.currentRetryAttempt = o, !this.closed)
14419
14428
  };
14420
- this.reconnectMaxWait !== void 0 && (n.maxDelay = this.reconnectMaxWait), this.reconnectMaxAttempts !== void 0 && (n.numOfAttempts = this.reconnectMaxAttempts), this.currentRetryAttempt = 0, Ya(async () => this.connect(), n).then(() => {
14429
+ this.reconnectMaxWait !== void 0 && (n.maxDelay = this.reconnectMaxWait), this.reconnectMaxAttempts !== void 0 && (n.numOfAttempts = this.reconnectMaxAttempts), this.currentRetryAttempt = 0, Va(async () => this.connect(), n).then(() => {
14421
14430
  console.debug("Reconnected successfully!");
14422
14431
  }).catch((a) => {
14423
14432
  if (this.reconnectMaxAttempts !== void 0 && this.currentRetryAttempt >= this.reconnectMaxAttempts) {
@@ -14550,13 +14559,13 @@ class mn extends Fr {
14550
14559
  };
14551
14560
  if (e.reconnectMaxWait !== void 0 && (n.maxDelay = e.reconnectMaxWait), n.numOfAttempts = e.noReconnect ? 1 : e.reconnectMaxAttempts, this.currentRetryAttempt = 0, y_(e) && !e.reconnectAbortSignal?.abort)
14552
14561
  try {
14553
- return await Ya(async () => this.dialWebRTC(e), n);
14562
+ return await Va(async () => this.dialWebRTC(e), n);
14554
14563
  } catch {
14555
14564
  console.debug("Failed to connect via WebRTC");
14556
14565
  }
14557
14566
  if (this.currentRetryAttempt = 0, !e.reconnectAbortSignal?.abort)
14558
14567
  try {
14559
- return await Ya(async () => this.dialDirect(e), n);
14568
+ return await Va(async () => this.dialDirect(e), n);
14560
14569
  } catch {
14561
14570
  console.debug("Failed to connect via gRPC");
14562
14571
  }
@@ -14702,7 +14711,7 @@ const h_ = async (t) => {
14702
14711
  if (e.isConnected())
14703
14712
  return e;
14704
14713
  throw new Error("Failed to connect to robot");
14705
- }, Na = /* @__PURE__ */ s.makeEnum(
14714
+ }, Pa = /* @__PURE__ */ s.makeEnum(
14706
14715
  "viam.app.packages.v1.PackageType",
14707
14716
  [
14708
14717
  { no: 0, name: "PACKAGE_TYPE_UNSPECIFIED", localName: "UNSPECIFIED" },
@@ -15641,7 +15650,7 @@ const h_ = async (t) => {
15641
15650
  ), cu = /* @__PURE__ */ s.makeMessageType(
15642
15651
  "viam.app.v1.DeleteOrganizationMemberResponse",
15643
15652
  []
15644
- ), Pa = /* @__PURE__ */ s.makeMessageType(
15653
+ ), Da = /* @__PURE__ */ s.makeMessageType(
15645
15654
  "viam.app.v1.BillingAddress",
15646
15655
  () => [
15647
15656
  {
@@ -15691,7 +15700,7 @@ const h_ = async (t) => {
15691
15700
  T: 9
15692
15701
  /* ScalarType.STRING */
15693
15702
  },
15694
- { no: 2, name: "billing_address", kind: "message", T: Pa }
15703
+ { no: 2, name: "billing_address", kind: "message", T: Da }
15695
15704
  ]
15696
15705
  ), lu = /* @__PURE__ */ s.makeMessageType(
15697
15706
  "viam.app.v1.EnableBillingServiceResponse",
@@ -15706,7 +15715,7 @@ const h_ = async (t) => {
15706
15715
  T: 9
15707
15716
  /* ScalarType.STRING */
15708
15717
  },
15709
- { no: 2, name: "billing_address", kind: "message", T: Pa }
15718
+ { no: 2, name: "billing_address", kind: "message", T: Da }
15710
15719
  ]
15711
15720
  ), uu = /* @__PURE__ */ s.makeMessageType(
15712
15721
  "viam.app.v1.UpdateBillingServiceResponse",
@@ -15725,7 +15734,7 @@ const h_ = async (t) => {
15725
15734
  ), Tu = /* @__PURE__ */ s.makeMessageType(
15726
15735
  "viam.app.v1.GetBillingServiceConfigResponse",
15727
15736
  () => [
15728
- { no: 1, name: "billing_address", kind: "message", T: Pa },
15737
+ { no: 1, name: "billing_address", kind: "message", T: Da },
15729
15738
  {
15730
15739
  no: 2,
15731
15740
  name: "support_email",
@@ -15841,7 +15850,7 @@ const h_ = async (t) => {
15841
15850
  /* ScalarType.BOOL */
15842
15851
  }
15843
15852
  ]
15844
- ), Da = /* @__PURE__ */ s.makeMessageType(
15853
+ ), Aa = /* @__PURE__ */ s.makeMessageType(
15845
15854
  "viam.app.v1.LocationAuth",
15846
15855
  () => [
15847
15856
  {
@@ -15895,7 +15904,7 @@ const h_ = async (t) => {
15895
15904
  T: 9
15896
15905
  /* ScalarType.STRING */
15897
15906
  },
15898
- { no: 5, name: "auth", kind: "message", T: Da },
15907
+ { no: 5, name: "auth", kind: "message", T: Aa },
15899
15908
  { no: 6, name: "organizations", kind: "message", T: _u, repeated: !0 },
15900
15909
  { no: 3, name: "created_on", kind: "message", T: _ },
15901
15910
  {
@@ -16127,7 +16136,7 @@ const h_ = async (t) => {
16127
16136
  ), Vu = /* @__PURE__ */ s.makeMessageType(
16128
16137
  "viam.app.v1.CreateLocationSecretResponse",
16129
16138
  () => [
16130
- { no: 1, name: "auth", kind: "message", T: Da }
16139
+ { no: 1, name: "auth", kind: "message", T: Aa }
16131
16140
  ]
16132
16141
  ), Wu = /* @__PURE__ */ s.makeMessageType(
16133
16142
  "viam.app.v1.DeleteLocationSecretRequest",
@@ -16164,7 +16173,7 @@ const h_ = async (t) => {
16164
16173
  ), Ku = /* @__PURE__ */ s.makeMessageType(
16165
16174
  "viam.app.v1.LocationAuthResponse",
16166
16175
  () => [
16167
- { no: 1, name: "auth", kind: "message", T: Da }
16176
+ { no: 1, name: "auth", kind: "message", T: Aa }
16168
16177
  ]
16169
16178
  ), Xu = /* @__PURE__ */ s.makeMessageType(
16170
16179
  "viam.app.v1.GetRobotRequest",
@@ -16615,7 +16624,7 @@ const h_ = async (t) => {
16615
16624
  },
16616
16625
  { no: 2, name: "created_at", kind: "message", T: _ }
16617
16626
  ]
16618
- ), Aa = /* @__PURE__ */ s.makeMessageType(
16627
+ ), qa = /* @__PURE__ */ s.makeMessageType(
16619
16628
  "viam.app.v1.FragmentTag",
16620
16629
  () => [
16621
16630
  {
@@ -16652,7 +16661,7 @@ const h_ = async (t) => {
16652
16661
  /* ScalarType.STRING */
16653
16662
  }
16654
16663
  ]
16655
- ), qa = /* @__PURE__ */ s.makeMessageType(
16664
+ ), Ua = /* @__PURE__ */ s.makeMessageType(
16656
16665
  "viam.app.v1.FragmentUsage",
16657
16666
  () => [
16658
16667
  {
@@ -16728,7 +16737,7 @@ const h_ = async (t) => {
16728
16737
  "viam.app.v1.ListFragmentsResponse",
16729
16738
  () => [
16730
16739
  { no: 1, name: "fragments", kind: "message", T: Ve, repeated: !0 },
16731
- { no: 2, name: "fragment_usages", kind: "message", T: qa, repeated: !0 }
16740
+ { no: 2, name: "fragment_usages", kind: "message", T: Ua, repeated: !0 }
16732
16741
  ]
16733
16742
  ), Pg = /* @__PURE__ */ s.makeMessageType(
16734
16743
  "viam.app.v1.GetFragmentRequest",
@@ -16753,9 +16762,9 @@ const h_ = async (t) => {
16753
16762
  "viam.app.v1.GetFragmentResponse",
16754
16763
  () => [
16755
16764
  { no: 1, name: "fragment", kind: "message", T: Ve },
16756
- { no: 2, name: "fragment_usage", kind: "message", T: qa },
16765
+ { no: 2, name: "fragment_usage", kind: "message", T: Ua },
16757
16766
  { no: 3, name: "revisions", kind: "message", T: Og, repeated: !0 },
16758
- { no: 4, name: "tags", kind: "message", T: Aa, repeated: !0 }
16767
+ { no: 4, name: "tags", kind: "message", T: qa, repeated: !0 }
16759
16768
  ]
16760
16769
  ), Ag = /* @__PURE__ */ s.makeMessageType(
16761
16770
  "viam.app.v1.CreateFragmentRequest",
@@ -16862,7 +16871,7 @@ const h_ = async (t) => {
16862
16871
  ), zg = /* @__PURE__ */ s.makeMessageType(
16863
16872
  "viam.app.v1.GetFragmentUsageResponse",
16864
16873
  () => [
16865
- { no: 1, name: "version_usages", kind: "message", T: qa, repeated: !0 }
16874
+ { no: 1, name: "version_usages", kind: "message", T: Ua, repeated: !0 }
16866
16875
  ]
16867
16876
  ), $g = /* @__PURE__ */ s.makeMessageType(
16868
16877
  "viam.app.v1.SetFragmentTagRequest",
@@ -16892,7 +16901,7 @@ const h_ = async (t) => {
16892
16901
  ), Yg = /* @__PURE__ */ s.makeMessageType(
16893
16902
  "viam.app.v1.SetFragmentTagResponse",
16894
16903
  () => [
16895
- { no: 1, name: "tags", kind: "message", T: Aa, repeated: !0 }
16904
+ { no: 1, name: "tags", kind: "message", T: qa, repeated: !0 }
16896
16905
  ]
16897
16906
  ), Vg = /* @__PURE__ */ s.makeMessageType(
16898
16907
  "viam.app.v1.DeleteFragmentTagRequest",
@@ -16915,7 +16924,7 @@ const h_ = async (t) => {
16915
16924
  ), Wg = /* @__PURE__ */ s.makeMessageType(
16916
16925
  "viam.app.v1.DeleteFragmentTagResponse",
16917
16926
  () => [
16918
- { no: 1, name: "tags", kind: "message", T: Aa, repeated: !0 }
16927
+ { no: 1, name: "tags", kind: "message", T: qa, repeated: !0 }
16919
16928
  ]
16920
16929
  ), jg = /* @__PURE__ */ s.makeMessageType(
16921
16930
  "viam.app.v1.ListRobotsRequest",
@@ -17487,7 +17496,7 @@ const h_ = async (t) => {
17487
17496
  /* ScalarType.BOOL */
17488
17497
  }
17489
17498
  ]
17490
- ), Ua = /* @__PURE__ */ s.makeMessageType(
17499
+ ), La = /* @__PURE__ */ s.makeMessageType(
17491
17500
  "viam.app.v1.RegistryItem",
17492
17501
  () => [
17493
17502
  {
@@ -17518,7 +17527,7 @@ const h_ = async (t) => {
17518
17527
  T: 9
17519
17528
  /* ScalarType.STRING */
17520
17529
  },
17521
- { no: 5, name: "type", kind: "enum", T: s.getEnumType(Na) },
17530
+ { no: 5, name: "type", kind: "enum", T: s.getEnumType(Pa) },
17522
17531
  { no: 6, name: "visibility", kind: "enum", T: s.getEnumType(Tn) },
17523
17532
  {
17524
17533
  no: 7,
@@ -17583,7 +17592,7 @@ const h_ = async (t) => {
17583
17592
  ), YT = /* @__PURE__ */ s.makeMessageType(
17584
17593
  "viam.app.v1.GetRegistryItemResponse",
17585
17594
  () => [
17586
- { no: 1, name: "item", kind: "message", T: Ua }
17595
+ { no: 1, name: "item", kind: "message", T: La }
17587
17596
  ]
17588
17597
  ), VT = /* @__PURE__ */ s.makeMessageType(
17589
17598
  "viam.app.v1.CreateRegistryItemRequest",
@@ -17602,7 +17611,7 @@ const h_ = async (t) => {
17602
17611
  T: 9
17603
17612
  /* ScalarType.STRING */
17604
17613
  },
17605
- { no: 3, name: "type", kind: "enum", T: s.getEnumType(Na) }
17614
+ { no: 3, name: "type", kind: "enum", T: s.getEnumType(Pa) }
17606
17615
  ]
17607
17616
  ), WT = /* @__PURE__ */ s.makeMessageType(
17608
17617
  "viam.app.v1.CreateRegistryItemResponse",
@@ -17617,7 +17626,7 @@ const h_ = async (t) => {
17617
17626
  T: 9
17618
17627
  /* ScalarType.STRING */
17619
17628
  },
17620
- { no: 2, name: "type", kind: "enum", T: s.getEnumType(Na) },
17629
+ { no: 2, name: "type", kind: "enum", T: s.getEnumType(Pa) },
17621
17630
  {
17622
17631
  no: 3,
17623
17632
  name: "description",
@@ -17639,7 +17648,7 @@ const h_ = async (t) => {
17639
17648
  "viam.app.v1.ListRegistryItemsRequest",
17640
17649
  () => [
17641
17650
  { no: 1, name: "organization_id", kind: "scalar", T: 9, opt: !0 },
17642
- { no: 2, name: "types", kind: "enum", T: s.getEnumType(Na), repeated: !0 },
17651
+ { no: 2, name: "types", kind: "enum", T: s.getEnumType(Pa), repeated: !0 },
17643
17652
  { no: 3, name: "visibilities", kind: "enum", T: s.getEnumType(Tn), repeated: !0 },
17644
17653
  { no: 4, name: "platforms", kind: "scalar", T: 9, repeated: !0 },
17645
17654
  { no: 5, name: "statuses", kind: "enum", T: s.getEnumType(bp), repeated: !0 },
@@ -17651,7 +17660,7 @@ const h_ = async (t) => {
17651
17660
  ), XT = /* @__PURE__ */ s.makeMessageType(
17652
17661
  "viam.app.v1.ListRegistryItemsResponse",
17653
17662
  () => [
17654
- { no: 1, name: "items", kind: "message", T: Ua, repeated: !0 }
17663
+ { no: 1, name: "items", kind: "message", T: La, repeated: !0 }
17655
17664
  ]
17656
17665
  ), QT = /* @__PURE__ */ s.makeMessageType(
17657
17666
  "viam.app.v1.DeleteRegistryItemRequest",
@@ -17688,7 +17697,7 @@ const h_ = async (t) => {
17688
17697
  ), nk = /* @__PURE__ */ s.makeMessageType(
17689
17698
  "viam.app.v1.RenameRegistryItemResponse",
17690
17699
  () => [
17691
- { no: 1, name: "item", kind: "message", T: Ua }
17700
+ { no: 1, name: "item", kind: "message", T: La }
17692
17701
  ]
17693
17702
  ), ak = /* @__PURE__ */ s.makeMessageType(
17694
17703
  "viam.app.v1.TransferRegistryItemRequest",
@@ -18451,7 +18460,7 @@ const h_ = async (t) => {
18451
18460
  T: 9
18452
18461
  /* ScalarType.STRING */
18453
18462
  },
18454
- { no: 3, name: "oauth_config", kind: "message", T: La }
18463
+ { no: 3, name: "oauth_config", kind: "message", T: Ga }
18455
18464
  ]
18456
18465
  ), Hk = /* @__PURE__ */ s.makeMessageType(
18457
18466
  "viam.app.v1.CreateOAuthAppResponse",
@@ -18506,7 +18515,7 @@ const h_ = async (t) => {
18506
18515
  T: 9
18507
18516
  /* ScalarType.STRING */
18508
18517
  },
18509
- { no: 3, name: "oauth_config", kind: "message", T: La }
18518
+ { no: 3, name: "oauth_config", kind: "message", T: Ga }
18510
18519
  ]
18511
18520
  ), Qk = /* @__PURE__ */ s.makeMessageType(
18512
18521
  "viam.app.v1.UpdateOAuthAppRequest",
@@ -18532,7 +18541,7 @@ const h_ = async (t) => {
18532
18541
  T: 9
18533
18542
  /* ScalarType.STRING */
18534
18543
  },
18535
- { no: 4, name: "oauth_config", kind: "message", T: La }
18544
+ { no: 4, name: "oauth_config", kind: "message", T: Ga }
18536
18545
  ]
18537
18546
  ), Zk = /* @__PURE__ */ s.makeMessageType(
18538
18547
  "viam.app.v1.UpdateOAuthAppResponse",
@@ -18574,7 +18583,7 @@ const h_ = async (t) => {
18574
18583
  () => [
18575
18584
  { no: 1, name: "client_ids", kind: "scalar", T: 9, repeated: !0 }
18576
18585
  ]
18577
- ), La = /* @__PURE__ */ s.makeMessageType(
18586
+ ), Ga = /* @__PURE__ */ s.makeMessageType(
18578
18587
  "viam.app.v1.OAuthConfig",
18579
18588
  () => [
18580
18589
  { no: 1, name: "client_authentication", kind: "enum", T: s.getEnumType(Op) },
@@ -18651,7 +18660,7 @@ const h_ = async (t) => {
18651
18660
  Authorization: X,
18652
18661
  AuthorizationDetails: Nk,
18653
18662
  AuthorizedPermissions: Jo,
18654
- BillingAddress: Pa,
18663
+ BillingAddress: Da,
18655
18664
  ChangeRoleRequest: DT,
18656
18665
  ChangeRoleResponse: AT,
18657
18666
  CheckPermissionsRequest: LT,
@@ -18720,8 +18729,8 @@ const h_ = async (t) => {
18720
18729
  FragmentHistoryEntry: Eg,
18721
18730
  FragmentRevision: Og,
18722
18731
  FragmentSummary: sT,
18723
- FragmentTag: Aa,
18724
- FragmentUsage: qa,
18732
+ FragmentTag: qa,
18733
+ FragmentUsage: Ua,
18725
18734
  FragmentVisibility: Bn,
18726
18735
  GetAppBrandingRequest: sy,
18727
18736
  GetAppBrandingResponse: iy,
@@ -18806,7 +18815,7 @@ const h_ = async (t) => {
18806
18815
  ListRobotsRequest: jg,
18807
18816
  ListRobotsResponse: mT,
18808
18817
  Location: Jn,
18809
- LocationAuth: Da,
18818
+ LocationAuth: Aa,
18810
18819
  LocationAuthRequest: Hu,
18811
18820
  LocationAuthResponse: Ku,
18812
18821
  LocationOrganization: _u,
@@ -18829,7 +18838,7 @@ const h_ = async (t) => {
18829
18838
  NewRobotPartResponse: yg,
18830
18839
  NewRobotRequest: lT,
18831
18840
  NewRobotResponse: pT,
18832
- OAuthConfig: La,
18841
+ OAuthConfig: Ga,
18833
18842
  OrgDetails: Yo,
18834
18843
  Organization: yn,
18835
18844
  OrganizationGetLogoRequest: Jk,
@@ -18847,7 +18856,7 @@ const h_ = async (t) => {
18847
18856
  PartSummary: rT,
18848
18857
  ReadOAuthAppRequest: Kk,
18849
18858
  ReadOAuthAppResponse: Xk,
18850
- RegistryItem: Ua,
18859
+ RegistryItem: La,
18851
18860
  RegistryItemStatus: bp,
18852
18861
  RemoveRoleRequest: NT,
18853
18862
  RemoveRoleResponse: PT,
@@ -22384,7 +22393,15 @@ const cy = /* @__PURE__ */ s.makeEnum(
22384
22393
  ]
22385
22394
  ), Ay = /* @__PURE__ */ s.makeMessageType(
22386
22395
  "viam.app.v1.CreateInvoiceAndChargeImmediatelyResponse",
22387
- []
22396
+ () => [
22397
+ {
22398
+ no: 1,
22399
+ name: "invoice_id",
22400
+ kind: "scalar",
22401
+ T: 9
22402
+ /* ScalarType.STRING */
22403
+ }
22404
+ ]
22388
22405
  ), XS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
22389
22406
  __proto__: null,
22390
22407
  CreateInvoiceAndChargeImmediatelyRequest: Dy,
@@ -22805,13 +22822,13 @@ var qy = {}, Uy = {};
22805
22822
  ;
22806
22823
  if (q >= k.length)
22807
22824
  return;
22808
- var xa = N(k.subarray(T, q));
22825
+ var Ba = N(k.subarray(T, q));
22809
22826
  for (T = q; q < k.length && k[q++] !== 0; )
22810
22827
  ;
22811
22828
  if (q >= k.length)
22812
22829
  return;
22813
- var Ba = N(k.subarray(T, q));
22814
- T = q, M[J] = new RegExp(xa, Ba);
22830
+ var Fa = N(k.subarray(T, q));
22831
+ T = q, M[J] = new RegExp(Ba, Fa);
22815
22832
  break;
22816
22833
  case 16:
22817
22834
  M[J] = k[T++] | k[T++] << 8 | k[T++] << 16 | k[T++] << 24;
@@ -22996,7 +23013,7 @@ const Ly = /* @__PURE__ */ s.makeEnum(
22996
23013
  { no: 1, name: "type", kind: "enum", T: s.getEnumType(Gy) },
22997
23014
  { no: 2, name: "tags", kind: "scalar", T: 9, repeated: !0 }
22998
23015
  ]
22999
- ), Ga = /* @__PURE__ */ s.makeMessageType(
23016
+ ), xa = /* @__PURE__ */ s.makeMessageType(
23000
23017
  "viam.app.data.v1.CaptureMetadata",
23001
23018
  () => [
23002
23019
  {
@@ -23100,7 +23117,7 @@ const Ly = /* @__PURE__ */ s.makeEnum(
23100
23117
  ), Fy = /* @__PURE__ */ s.makeMessageType(
23101
23118
  "viam.app.data.v1.TabularDataByFilterResponse",
23102
23119
  () => [
23103
- { no: 1, name: "metadata", kind: "message", T: Ga, repeated: !0 },
23120
+ { no: 1, name: "metadata", kind: "message", T: xa, repeated: !0 },
23104
23121
  { no: 2, name: "data", kind: "message", T: Jy, repeated: !0 },
23105
23122
  {
23106
23123
  no: 3,
@@ -23528,7 +23545,7 @@ const Ly = /* @__PURE__ */ s.makeEnum(
23528
23545
  T: 9
23529
23546
  /* ScalarType.STRING */
23530
23547
  },
23531
- { no: 2, name: "capture_metadata", kind: "message", T: Ga },
23548
+ { no: 2, name: "capture_metadata", kind: "message", T: xa },
23532
23549
  { no: 3, name: "time_requested", kind: "message", T: _ },
23533
23550
  { no: 4, name: "time_received", kind: "message", T: _ },
23534
23551
  {
@@ -24129,7 +24146,7 @@ const Ly = /* @__PURE__ */ s.makeEnum(
24129
24146
  BoundingBoxLabelsByFilterRequest: bv,
24130
24147
  BoundingBoxLabelsByFilterResponse: Ev,
24131
24148
  CaptureInterval: An,
24132
- CaptureMetadata: Ga,
24149
+ CaptureMetadata: xa,
24133
24150
  Classification: av,
24134
24151
  ConfigureDatabaseUserRequest: Ov,
24135
24152
  ConfigureDatabaseUserResponse: wv,
@@ -25112,7 +25129,7 @@ const Ly = /* @__PURE__ */ s.makeEnum(
25112
25129
  { no: 2, name: "MIME_TYPE_IMAGE_PNG", localName: "IMAGE_PNG" },
25113
25130
  { no: 3, name: "MIME_TYPE_APPLICATION_PCD", localName: "APPLICATION_PCD" }
25114
25131
  ]
25115
- ), Xn = /* @__PURE__ */ s.makeEnum(
25132
+ ), Qn = /* @__PURE__ */ s.makeEnum(
25116
25133
  "viam.app.datasync.v1.DataType",
25117
25134
  [
25118
25135
  { no: 0, name: "DATA_TYPE_UNSPECIFIED", localName: "UNSPECIFIED" },
@@ -25249,7 +25266,7 @@ const Ly = /* @__PURE__ */ s.makeEnum(
25249
25266
  T: 9
25250
25267
  /* ScalarType.STRING */
25251
25268
  },
25252
- { no: 6, name: "type", kind: "enum", T: s.getEnumType(Xn) },
25269
+ { no: 6, name: "type", kind: "enum", T: s.getEnumType(Qn) },
25253
25270
  {
25254
25271
  no: 7,
25255
25272
  name: "file_name",
@@ -25514,7 +25531,7 @@ class In {
25514
25531
  }, d = await this.dataClient.tabularDataByFilter(l), g = d.metadata.length, R = [];
25515
25532
  return R.push(
25516
25533
  ...d.data.map((S) => {
25517
- const h = S.metadataIndex, I = g !== 0 && h >= g ? new Ga() : d.metadata[h];
25534
+ const h = S.metadataIndex, I = g !== 0 && h >= g ? new xa() : d.metadata[h];
25518
25535
  return {
25519
25536
  data: S.data?.toJson(),
25520
25537
  metadata: I,
@@ -26227,7 +26244,7 @@ class In {
26227
26244
  componentType: a,
26228
26245
  componentName: o,
26229
26246
  methodName: i,
26230
- type: Xn.TABULAR_SENSOR,
26247
+ type: Qn.TABULAR_SENSOR,
26231
26248
  tags: c
26232
26249
  }), d = [];
26233
26250
  for (const [S, h] of e.entries()) {
@@ -26296,7 +26313,7 @@ class In {
26296
26313
  componentType: a,
26297
26314
  componentName: o,
26298
26315
  methodName: i,
26299
- type: Xn.BINARY_SENSOR,
26316
+ type: Qn.BINARY_SENSOR,
26300
26317
  tags: l,
26301
26318
  fileExtension: r,
26302
26319
  datasetIds: d
@@ -26346,7 +26363,7 @@ class In {
26346
26363
  async fileUpload(e, n, a) {
26347
26364
  const o = new cn({
26348
26365
  partId: n,
26349
- type: Xn.FILE,
26366
+ type: Qn.FILE,
26350
26367
  ...a
26351
26368
  });
26352
26369
  return (await this.dataSyncClient.fileUpload(
@@ -26561,7 +26578,7 @@ class In {
26561
26578
  id: e,
26562
26579
  pageSize: n
26563
26580
  });
26564
- return new va(
26581
+ return new ha(
26565
26582
  this.dataPipelinesClient,
26566
26583
  e,
26567
26584
  a.runs,
@@ -26650,7 +26667,7 @@ class In {
26650
26667
  });
26651
26668
  }
26652
26669
  }
26653
- class va {
26670
+ class ha {
26654
26671
  constructor(e, n, a = [], o, i) {
26655
26672
  this.dataPipelinesClient = e, this.pipelineId = n, this.runs = a, this.pageSize = o, this.nextPageToken = i;
26656
26673
  }
@@ -26670,7 +26687,7 @@ class va {
26670
26687
  */
26671
26688
  async nextPage() {
26672
26689
  if (this.nextPageToken === void 0 || this.nextPageToken === "")
26673
- return new va(
26690
+ return new ha(
26674
26691
  this.dataPipelinesClient,
26675
26692
  this.pipelineId,
26676
26693
  [],
@@ -26682,7 +26699,7 @@ class va {
26682
26699
  pageSize: this.pageSize,
26683
26700
  pageToken: this.nextPageToken
26684
26701
  });
26685
- return new va(
26702
+ return new ha(
26686
26703
  this.dataPipelinesClient,
26687
26704
  this.pipelineId,
26688
26705
  e.runs,
@@ -27321,7 +27338,7 @@ class aI {
27321
27338
  return (await this.client.get3DModels(a, n)).models;
27322
27339
  }
27323
27340
  async getKinematics(e = {}, n = this.callOptions) {
27324
- const a = new Ia({
27341
+ const a = new Ma({
27325
27342
  name: this.name,
27326
27343
  extra: p.fromJson(e)
27327
27344
  }), o = await this.client.getKinematics(a, n), r = new TextDecoder("utf8").decode(o.kinematicsData);
@@ -27758,7 +27775,7 @@ class rI {
27758
27775
  );
27759
27776
  }
27760
27777
  async getProperties(e = {}, n = this.callOptions) {
27761
- const a = new ba({
27778
+ const a = new Ea({
27762
27779
  name: this.name,
27763
27780
  extra: p.fromJson(e)
27764
27781
  });
@@ -28135,7 +28152,7 @@ class uI {
28135
28152
  return this.options.requestLogger?.(a), (await this.client.getPointCloud(a, n)).pointCloud;
28136
28153
  }
28137
28154
  async getProperties(e = this.callOptions) {
28138
- const n = new ba({
28155
+ const n = new Ea({
28139
28156
  name: this.name
28140
28157
  });
28141
28158
  return this.options.requestLogger?.(n), this.client.getProperties(n, e);
@@ -28609,7 +28626,7 @@ const vh = {
28609
28626
  getReadings: {
28610
28627
  name: "GetReadings",
28611
28628
  I: en,
28612
- O: Ma,
28629
+ O: ba,
28613
28630
  kind: m.Unary
28614
28631
  },
28615
28632
  /**
@@ -28740,7 +28757,7 @@ const hh = /* @__PURE__ */ s.makeMessageType(
28740
28757
  () => [
28741
28758
  { no: 1, name: "resolutions", kind: "message", T: si, repeated: !0 }
28742
28759
  ]
28743
- ), ha = /* @__PURE__ */ s.makeMessageType(
28760
+ ), fa = /* @__PURE__ */ s.makeMessageType(
28744
28761
  "proto.stream.v1.SetStreamOptionsRequest",
28745
28762
  () => [
28746
28763
  {
@@ -28766,7 +28783,7 @@ const hh = /* @__PURE__ */ s.makeMessageType(
28766
28783
  RemoveStreamRequest: ti,
28767
28784
  RemoveStreamResponse: _h,
28768
28785
  Resolution: si,
28769
- SetStreamOptionsRequest: ha,
28786
+ SetStreamOptionsRequest: fa,
28770
28787
  SetStreamOptionsResponse: Ih
28771
28788
  }, Symbol.toStringTag, { value: "Module" })), OS = {
28772
28789
  typeName: "proto.stream.v1.StreamService",
@@ -28811,7 +28828,7 @@ const hh = /* @__PURE__ */ s.makeMessageType(
28811
28828
  */
28812
28829
  setStreamOptions: {
28813
28830
  name: "SetStreamOptions",
28814
- I: ha,
28831
+ I: fa,
28815
28832
  O: Ih,
28816
28833
  kind: m.Unary
28817
28834
  },
@@ -28894,7 +28911,7 @@ class zI extends Fr {
28894
28911
  * @param height - The height of the resolution.
28895
28912
  */
28896
28913
  async setOptions(e, n, a) {
28897
- const o = new ha({
28914
+ const o = new fa({
28898
28915
  name: fn(e),
28899
28916
  resolution: {
28900
28917
  width: n,
@@ -28915,7 +28932,7 @@ class zI extends Fr {
28915
28932
  * @param name - The name of a camera component.
28916
28933
  */
28917
28934
  async resetOptions(e) {
28918
- const n = new ha({
28935
+ const n = new fa({
28919
28936
  name: fn(e)
28920
28937
  });
28921
28938
  this.options.requestLogger?.(n);
@@ -30103,7 +30120,7 @@ class EM {
30103
30120
  );
30104
30121
  }
30105
30122
  }
30106
- const OM = "0.55.0";
30123
+ const OM = "0.56.0";
30107
30124
  export {
30108
30125
  mI as AnalogValue,
30109
30126
  aI as ArmClient,