@luxonis/visualizer-protobuf 2.47.0 → 2.49.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.
Files changed (49) hide show
  1. package/dist/{FoxgloveServer-CruhDQNF.js → FoxgloveServer-MMAMiqqQ.js} +1 -1
  2. package/dist/{communicator-B5nHOFKk.js → communicator-_qNxRS4H.js} +1 -1
  3. package/dist/{deserialization.worker-CU3aAUQR.js → deserialization.worker-Bpkjw7D9.js} +9 -9
  4. package/dist/{foxglove-protocol-s8GTnGYJ.js → foxglove-protocol-CtwNj7ND.js} +1 -1
  5. package/dist/{index-BL20wz16.js → index-6KOIH-Av.js} +5 -5
  6. package/dist/{index-DApEiWis.js → index-B0htoB3i.js} +5 -5
  7. package/dist/{index-DnGV1aQJ.js → index-B7i_kxUs.js} +5 -5
  8. package/dist/{index-CfPI9o_g.js → index-BGN2tq8w.js} +5 -5
  9. package/dist/{index-PFqtyIuA.js → index-BQzFf0fU.js} +5 -5
  10. package/dist/{index-BdDtoRR-.js → index-BwDDE6qJ.js} +5 -5
  11. package/dist/{index-BgncB4lH.js → index-CQekVGnp.js} +7 -7
  12. package/dist/{index-0WOnpdYZ.js → index-CSwYa06X.js} +5 -5
  13. package/dist/{index-BNOD5xue.js → index-Caci836B.js} +5 -5
  14. package/dist/{index-BTDlyuOh.js → index-CdTjJkb4.js} +5 -5
  15. package/dist/{index-Dv0q7Hu9.js → index-D79jrx-W.js} +5 -5
  16. package/dist/{index-DEIPZyYO.js → index-DPVZH6Rk.js} +5 -5
  17. package/dist/{index-VvgQVHup.js → index-D_MUGva5.js} +47 -34
  18. package/dist/{index-CKKrYBmd.js → index-DelPB8oK.js} +5 -5
  19. package/dist/{index-B9TuVGb6.js → index-DmI5oxsp.js} +5 -5
  20. package/dist/{index-D0hutTdc.js → index-Dtx67Xo3.js} +5 -5
  21. package/dist/{index-eR1kHZO9.js → index-DyO6J9w8.js} +6 -6
  22. package/dist/{index-B66BfRQZ.js → index-EJIrzRTe.js} +5 -5
  23. package/dist/{index-BFkDx_vz.js → index-ofZ4aPIS.js} +5 -5
  24. package/dist/index.js +5 -5
  25. package/dist/lib/src/connection/connection.js +2 -2
  26. package/dist/lib/src/connection/connection.js.map +1 -1
  27. package/dist/lib/src/connection/foxglove-connection.d.ts.map +1 -1
  28. package/dist/lib/src/connection/foxglove-connection.js +8 -10
  29. package/dist/lib/src/connection/foxglove-connection.js.map +1 -1
  30. package/dist/lib/src/messaging/deserialization.worker.d.ts +2 -1
  31. package/dist/lib/src/messaging/deserialization.worker.d.ts.map +1 -1
  32. package/dist/lib/src/messaging/deserialization.worker.js +4 -5
  33. package/dist/lib/src/messaging/deserialization.worker.js.map +1 -1
  34. package/dist/lib/src/messaging/message-handler.d.ts.map +1 -1
  35. package/dist/lib/src/messaging/message-handler.js +2 -1
  36. package/dist/lib/src/messaging/message-handler.js.map +1 -1
  37. package/dist/lib/src/messaging/protobuf.d.ts +1 -1
  38. package/dist/lib/src/messaging/protobuf.d.ts.map +1 -1
  39. package/dist/lib/src/messaging/protobuf.js.map +1 -1
  40. package/dist/lib/src/utils/config-store.d.ts +1 -3
  41. package/dist/lib/src/utils/config-store.d.ts.map +1 -1
  42. package/dist/lib/src/utils/config-store.js +1 -7
  43. package/dist/lib/src/utils/config-store.js.map +1 -1
  44. package/dist/{protobuf-BlRCdy5s.js → protobuf-B55JS-Px.js} +1 -1
  45. package/dist/{tslib.es6-1KojRmQN.js → tslib.es6-DRjIPBeG.js} +2 -22
  46. package/dist/{useMessageReducer-CFR_a3dC.js → useMessageReducer-DdY2kZpp.js} +2 -2
  47. package/dist/{worker-CCDWOQkn.js → worker-DTCGSU9Q.js} +3 -3
  48. package/dist/{worker-BQkGHKKV.js → worker-DeosokNQ.js} +4 -4
  49. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { g as getDefaultExportFromCjs } from './protobuf-BlRCdy5s.js';
1
+ import { g as getDefaultExportFromCjs } from './protobuf-B55JS-Px.js';
2
2
  import require$$0 from 'ms';
3
3
 
4
4
  var eventemitter3 = {exports: {}};
@@ -1,4 +1,4 @@
1
- import { a as protobufsBySchema } from './protobuf-BlRCdy5s.js';
1
+ import { p as protobufsBySchema } from './protobuf-B55JS-Px.js';
2
2
  import { r as recordToDataView } from './encoding-DqlhpFR2.js';
3
3
 
4
4
  // This Source Code Form is subject to the terms of the Mozilla Public
@@ -1,7 +1,7 @@
1
1
  import { e as expose } from './comlink-DHMAu6X7.js';
2
- import { t as typescript } from './useMessageReducer-CFR_a3dC.js';
3
- import { e as estimateObjectSize, d as dist, C as ConfigStore } from './tslib.es6-1KojRmQN.js';
4
- import { T as Type, P as PointsAnnotationType, a as protobufsBySchema, b as Profile } from './protobuf-BlRCdy5s.js';
2
+ import { t as typescript } from './useMessageReducer-DdY2kZpp.js';
3
+ import { e as estimateObjectSize, d as dist } from './tslib.es6-DRjIPBeG.js';
4
+ import { T as Type, P as PointsAnnotationType, p as protobufsBySchema, b as Profile } from './protobuf-B55JS-Px.js';
5
5
  import 'react';
6
6
  import { i as isCapableOfEncodedStream } from './encoding-DqlhpFR2.js';
7
7
  import 'zustand';
@@ -1086,7 +1086,7 @@ function handleMessageToDecode({
1086
1086
  schema,
1087
1087
  buffer,
1088
1088
  topic
1089
- }, errorCallback) {
1089
+ }, configStore, errorCallback) {
1090
1090
  const handleDecodingError = error => {
1091
1091
  // TODO: Enable this log once we fix topic unsubscription not working
1092
1092
  // console.error("An error occurred during DAI message decoding.", error);
@@ -1105,6 +1105,11 @@ function handleMessageToDecode({
1105
1105
  const bufferArray = new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength);
1106
1106
  try {
1107
1107
  const message = protobufSchema.decoder.decode(bufferArray);
1108
+ if (configStore.connectionConfigValue.debugLogs) {
1109
+ console.debug(`[DepthAI Deserialization] Received message of type ${protobufSchema.type} on topic ${topic}`, {
1110
+ message
1111
+ });
1112
+ }
1108
1113
 
1109
1114
  // Handle the promise correctly
1110
1115
  deserializeDepthAiMessage({
@@ -1128,11 +1133,6 @@ async function deserializeDepthAiMessage(args) {
1128
1133
  callback,
1129
1134
  topic
1130
1135
  } = args;
1131
- if (ConfigStore.getInstance().connectionConfig.debugLogs) {
1132
- console.debug(`[DepthAI] Received message of type ${type} on topic ${topic}`, {
1133
- message
1134
- });
1135
- }
1136
1136
  switch (type) {
1137
1137
  case "encodedFrame":
1138
1138
  {
@@ -1,4 +1,4 @@
1
- import { C as ClientBinaryOpcode, B as BinaryOpcode } from './FoxgloveServer-CruhDQNF.js';
1
+ import { C as ClientBinaryOpcode, B as BinaryOpcode } from './FoxgloveServer-MMAMiqqQ.js';
2
2
 
3
3
  // This Source Code Form is subject to the terms of the Mozilla Public
4
4
  // License, v2.0. If a copy of the MPL was not distributed with this
@@ -1,16 +1,16 @@
1
- import { V as ExternalTokenizer, a3 as ContextTracker, O as styleTags, Q as tags, X as LRParser, a4 as LocalTokenGroup, a5 as snippetCompletion, $ as syntaxTree, T as LRLanguage, K as indentNodeProp, M as continuedIndent, a0 as flatIndent, a1 as delimitedIndent, N as foldNodeProp, a2 as foldInside, U as LanguageSupport, Y as ifNotIn, Z as completeFromList, a6 as IterMode, a7 as NodeWeakMap } from './index-VvgQVHup.js';
2
- import './tslib.es6-1KojRmQN.js';
1
+ import { V as ExternalTokenizer, a3 as ContextTracker, O as styleTags, Q as tags, X as LRParser, a4 as LocalTokenGroup, a5 as snippetCompletion, $ as syntaxTree, T as LRLanguage, K as indentNodeProp, M as continuedIndent, a0 as flatIndent, a1 as delimitedIndent, N as foldNodeProp, a2 as foldInside, U as LanguageSupport, Y as ifNotIn, Z as completeFromList, a6 as IterMode, a7 as NodeWeakMap } from './index-D_MUGva5.js';
2
+ import './tslib.es6-DRjIPBeG.js';
3
3
  import 'react';
4
4
  import 'react-mosaic-component';
5
- import './protobuf-BlRCdy5s.js';
5
+ import './protobuf-B55JS-Px.js';
6
6
  import 'protobufjs/minimal';
7
7
  import '@mui/material';
8
8
  import './isArrayLikeObject-Bytw9p-q.js';
9
9
  import './comlink-DHMAu6X7.js';
10
10
  import './utils-Hzt3wxhG.js';
11
- import './FoxgloveServer-CruhDQNF.js';
11
+ import './FoxgloveServer-MMAMiqqQ.js';
12
12
  import 'ms';
13
- import './foxglove-protocol-s8GTnGYJ.js';
13
+ import './foxglove-protocol-CtwNj7ND.js';
14
14
  import 'react-dnd';
15
15
  import 'react-dnd-html5-backend';
16
16
  import './i18next-IYI3-Nuv.js';
@@ -1,16 +1,16 @@
1
- import { T as LRLanguage, K as indentNodeProp, a1 as delimitedIndent, N as foldNodeProp, a2 as foldInside, O as styleTags, Q as tags, U as LanguageSupport, X as LRParser } from './index-VvgQVHup.js';
2
- import './tslib.es6-1KojRmQN.js';
1
+ import { T as LRLanguage, K as indentNodeProp, a1 as delimitedIndent, N as foldNodeProp, a2 as foldInside, O as styleTags, Q as tags, U as LanguageSupport, X as LRParser } from './index-D_MUGva5.js';
2
+ import './tslib.es6-DRjIPBeG.js';
3
3
  import 'react';
4
4
  import 'react-mosaic-component';
5
- import './protobuf-BlRCdy5s.js';
5
+ import './protobuf-B55JS-Px.js';
6
6
  import 'protobufjs/minimal';
7
7
  import '@mui/material';
8
8
  import './isArrayLikeObject-Bytw9p-q.js';
9
9
  import './comlink-DHMAu6X7.js';
10
10
  import './utils-Hzt3wxhG.js';
11
- import './FoxgloveServer-CruhDQNF.js';
11
+ import './FoxgloveServer-MMAMiqqQ.js';
12
12
  import 'ms';
13
- import './foxglove-protocol-s8GTnGYJ.js';
13
+ import './foxglove-protocol-CtwNj7ND.js';
14
14
  import 'react-dnd';
15
15
  import 'react-dnd-html5-backend';
16
16
  import './i18next-IYI3-Nuv.js';
@@ -1,16 +1,16 @@
1
- import { V as ExternalTokenizer, a3 as ContextTracker, O as styleTags, Q as tags, X as LRParser, T as LRLanguage, N as foldNodeProp, a2 as foldInside, K as indentNodeProp, M as continuedIndent, a8 as defineCSSCompletionSource, U as LanguageSupport } from './index-VvgQVHup.js';
2
- import './tslib.es6-1KojRmQN.js';
1
+ import { V as ExternalTokenizer, a3 as ContextTracker, O as styleTags, Q as tags, X as LRParser, T as LRLanguage, N as foldNodeProp, a2 as foldInside, K as indentNodeProp, M as continuedIndent, a8 as defineCSSCompletionSource, U as LanguageSupport } from './index-D_MUGva5.js';
2
+ import './tslib.es6-DRjIPBeG.js';
3
3
  import 'react';
4
4
  import 'react-mosaic-component';
5
- import './protobuf-BlRCdy5s.js';
5
+ import './protobuf-B55JS-Px.js';
6
6
  import 'protobufjs/minimal';
7
7
  import '@mui/material';
8
8
  import './isArrayLikeObject-Bytw9p-q.js';
9
9
  import './comlink-DHMAu6X7.js';
10
10
  import './utils-Hzt3wxhG.js';
11
- import './FoxgloveServer-CruhDQNF.js';
11
+ import './FoxgloveServer-MMAMiqqQ.js';
12
12
  import 'ms';
13
- import './foxglove-protocol-s8GTnGYJ.js';
13
+ import './foxglove-protocol-CtwNj7ND.js';
14
14
  import 'react-dnd';
15
15
  import 'react-dnd-html5-backend';
16
16
  import './i18next-IYI3-Nuv.js';
@@ -1,16 +1,16 @@
1
- import { V as ExternalTokenizer, O as styleTags, Q as tags, X as LRParser, T as LRLanguage, K as indentNodeProp, M as continuedIndent, a0 as flatIndent, a1 as delimitedIndent, N as foldNodeProp, a2 as foldInside, U as LanguageSupport } from './index-VvgQVHup.js';
2
- import './tslib.es6-1KojRmQN.js';
1
+ import { V as ExternalTokenizer, O as styleTags, Q as tags, X as LRParser, T as LRLanguage, K as indentNodeProp, M as continuedIndent, a0 as flatIndent, a1 as delimitedIndent, N as foldNodeProp, a2 as foldInside, U as LanguageSupport } from './index-D_MUGva5.js';
2
+ import './tslib.es6-DRjIPBeG.js';
3
3
  import 'react';
4
4
  import 'react-mosaic-component';
5
- import './protobuf-BlRCdy5s.js';
5
+ import './protobuf-B55JS-Px.js';
6
6
  import 'protobufjs/minimal';
7
7
  import '@mui/material';
8
8
  import './isArrayLikeObject-Bytw9p-q.js';
9
9
  import './comlink-DHMAu6X7.js';
10
10
  import './utils-Hzt3wxhG.js';
11
- import './FoxgloveServer-CruhDQNF.js';
11
+ import './FoxgloveServer-MMAMiqqQ.js';
12
12
  import 'ms';
13
- import './foxglove-protocol-s8GTnGYJ.js';
13
+ import './foxglove-protocol-CtwNj7ND.js';
14
14
  import 'react-dnd';
15
15
  import 'react-dnd-html5-backend';
16
16
  import './i18next-IYI3-Nuv.js';
@@ -1,16 +1,16 @@
1
- import { O as styleTags, Q as tags, T as LRLanguage, U as LanguageSupport, X as LRParser, a4 as LocalTokenGroup, ab as html, ac as parseMixed, ae as javascriptLanguage } from './index-VvgQVHup.js';
2
- import './tslib.es6-1KojRmQN.js';
1
+ import { O as styleTags, Q as tags, T as LRLanguage, U as LanguageSupport, X as LRParser, a4 as LocalTokenGroup, ab as html, ac as parseMixed, ae as javascriptLanguage } from './index-D_MUGva5.js';
2
+ import './tslib.es6-DRjIPBeG.js';
3
3
  import 'react';
4
4
  import 'react-mosaic-component';
5
- import './protobuf-BlRCdy5s.js';
5
+ import './protobuf-B55JS-Px.js';
6
6
  import 'protobufjs/minimal';
7
7
  import '@mui/material';
8
8
  import './isArrayLikeObject-Bytw9p-q.js';
9
9
  import './comlink-DHMAu6X7.js';
10
10
  import './utils-Hzt3wxhG.js';
11
- import './FoxgloveServer-CruhDQNF.js';
11
+ import './FoxgloveServer-MMAMiqqQ.js';
12
12
  import 'ms';
13
- import './foxglove-protocol-s8GTnGYJ.js';
13
+ import './foxglove-protocol-CtwNj7ND.js';
14
14
  import 'react-dnd';
15
15
  import 'react-dnd-html5-backend';
16
16
  import './i18next-IYI3-Nuv.js';
@@ -1,16 +1,16 @@
1
- import { O as styleTags, Q as tags, X as LRParser, T as LRLanguage, K as indentNodeProp, M as continuedIndent, N as foldNodeProp, a2 as foldInside, U as LanguageSupport } from './index-VvgQVHup.js';
2
- import './tslib.es6-1KojRmQN.js';
1
+ import { O as styleTags, Q as tags, X as LRParser, T as LRLanguage, K as indentNodeProp, M as continuedIndent, N as foldNodeProp, a2 as foldInside, U as LanguageSupport } from './index-D_MUGva5.js';
2
+ import './tslib.es6-DRjIPBeG.js';
3
3
  import 'react';
4
4
  import 'react-mosaic-component';
5
- import './protobuf-BlRCdy5s.js';
5
+ import './protobuf-B55JS-Px.js';
6
6
  import 'protobufjs/minimal';
7
7
  import '@mui/material';
8
8
  import './isArrayLikeObject-Bytw9p-q.js';
9
9
  import './comlink-DHMAu6X7.js';
10
10
  import './utils-Hzt3wxhG.js';
11
- import './FoxgloveServer-CruhDQNF.js';
11
+ import './FoxgloveServer-MMAMiqqQ.js';
12
12
  import 'ms';
13
- import './foxglove-protocol-s8GTnGYJ.js';
13
+ import './foxglove-protocol-CtwNj7ND.js';
14
14
  import 'react-dnd';
15
15
  import 'react-dnd-html5-backend';
16
16
  import './i18next-IYI3-Nuv.js';
@@ -1,19 +1,19 @@
1
- import { ImagePanel } from './index-eR1kHZO9.js';
1
+ import { ImagePanel } from './index-DyO6J9w8.js';
2
2
  import 'react';
3
3
  import 'react-dom';
4
- import './tslib.es6-1KojRmQN.js';
4
+ import './tslib.es6-DRjIPBeG.js';
5
5
  import 'react-mosaic-component';
6
- import './protobuf-BlRCdy5s.js';
6
+ import './protobuf-B55JS-Px.js';
7
7
  import 'protobufjs/minimal';
8
8
  import '@mui/material';
9
9
  import './isArrayLikeObject-Bytw9p-q.js';
10
10
  import 'zustand';
11
- import './index-VvgQVHup.js';
11
+ import './index-D_MUGva5.js';
12
12
  import './comlink-DHMAu6X7.js';
13
13
  import './utils-Hzt3wxhG.js';
14
- import './FoxgloveServer-CruhDQNF.js';
14
+ import './FoxgloveServer-MMAMiqqQ.js';
15
15
  import 'ms';
16
- import './foxglove-protocol-s8GTnGYJ.js';
16
+ import './foxglove-protocol-CtwNj7ND.js';
17
17
  import 'react-dnd';
18
18
  import 'react-dnd-html5-backend';
19
19
  import './i18next-IYI3-Nuv.js';
@@ -25,7 +25,7 @@ import 'react-syntax-highlighter';
25
25
  import 'extend';
26
26
  import 'react-icons';
27
27
  import '@pandacss/dev';
28
- import './useMessageReducer-CFR_a3dC.js';
28
+ import './useMessageReducer-DdY2kZpp.js';
29
29
  import '@mui/icons-material/FullscreenExit';
30
30
  import '@mui/icons-material/Settings';
31
31
  import '@mui/icons-material/ChevronRight';
@@ -1,16 +1,16 @@
1
- import { a3 as ContextTracker, V as ExternalTokenizer, O as styleTags, Q as tags, X as LRParser, T as LRLanguage, K as indentNodeProp, a1 as delimitedIndent, N as foldNodeProp, a2 as foldInside, U as LanguageSupport, ac as parseMixed } from './index-VvgQVHup.js';
2
- import './tslib.es6-1KojRmQN.js';
1
+ import { a3 as ContextTracker, V as ExternalTokenizer, O as styleTags, Q as tags, X as LRParser, T as LRLanguage, K as indentNodeProp, a1 as delimitedIndent, N as foldNodeProp, a2 as foldInside, U as LanguageSupport, ac as parseMixed } from './index-D_MUGva5.js';
2
+ import './tslib.es6-DRjIPBeG.js';
3
3
  import 'react';
4
4
  import 'react-mosaic-component';
5
- import './protobuf-BlRCdy5s.js';
5
+ import './protobuf-B55JS-Px.js';
6
6
  import 'protobufjs/minimal';
7
7
  import '@mui/material';
8
8
  import './isArrayLikeObject-Bytw9p-q.js';
9
9
  import './comlink-DHMAu6X7.js';
10
10
  import './utils-Hzt3wxhG.js';
11
- import './FoxgloveServer-CruhDQNF.js';
11
+ import './FoxgloveServer-MMAMiqqQ.js';
12
12
  import 'ms';
13
- import './foxglove-protocol-s8GTnGYJ.js';
13
+ import './foxglove-protocol-CtwNj7ND.js';
14
14
  import 'react-dnd';
15
15
  import 'react-dnd-html5-backend';
16
16
  import './i18next-IYI3-Nuv.js';
@@ -1,16 +1,16 @@
1
- import { O as styleTags, Q as tags, ae as javascriptLanguage, T as LRLanguage, U as LanguageSupport, X as LRParser, ab as html, ac as parseMixed, V as ExternalTokenizer } from './index-VvgQVHup.js';
2
- import './tslib.es6-1KojRmQN.js';
1
+ import { O as styleTags, Q as tags, ae as javascriptLanguage, T as LRLanguage, U as LanguageSupport, X as LRParser, ab as html, ac as parseMixed, V as ExternalTokenizer } from './index-D_MUGva5.js';
2
+ import './tslib.es6-DRjIPBeG.js';
3
3
  import 'react';
4
4
  import 'react-mosaic-component';
5
- import './protobuf-BlRCdy5s.js';
5
+ import './protobuf-B55JS-Px.js';
6
6
  import 'protobufjs/minimal';
7
7
  import '@mui/material';
8
8
  import './isArrayLikeObject-Bytw9p-q.js';
9
9
  import './comlink-DHMAu6X7.js';
10
10
  import './utils-Hzt3wxhG.js';
11
- import './FoxgloveServer-CruhDQNF.js';
11
+ import './FoxgloveServer-MMAMiqqQ.js';
12
12
  import 'ms';
13
- import './foxglove-protocol-s8GTnGYJ.js';
13
+ import './foxglove-protocol-CtwNj7ND.js';
14
14
  import 'react-dnd';
15
15
  import 'react-dnd-html5-backend';
16
16
  import './i18next-IYI3-Nuv.js';
@@ -1,16 +1,16 @@
1
- import { V as ExternalTokenizer, O as styleTags, Q as tags, X as LRParser, T as LRLanguage, K as indentNodeProp, M as continuedIndent, a1 as delimitedIndent, N as foldNodeProp, a2 as foldInside, ab as html, U as LanguageSupport, ac as parseMixed } from './index-VvgQVHup.js';
2
- import './tslib.es6-1KojRmQN.js';
1
+ import { V as ExternalTokenizer, O as styleTags, Q as tags, X as LRParser, T as LRLanguage, K as indentNodeProp, M as continuedIndent, a1 as delimitedIndent, N as foldNodeProp, a2 as foldInside, ab as html, U as LanguageSupport, ac as parseMixed } from './index-D_MUGva5.js';
2
+ import './tslib.es6-DRjIPBeG.js';
3
3
  import 'react';
4
4
  import 'react-mosaic-component';
5
- import './protobuf-BlRCdy5s.js';
5
+ import './protobuf-B55JS-Px.js';
6
6
  import 'protobufjs/minimal';
7
7
  import '@mui/material';
8
8
  import './isArrayLikeObject-Bytw9p-q.js';
9
9
  import './comlink-DHMAu6X7.js';
10
10
  import './utils-Hzt3wxhG.js';
11
- import './FoxgloveServer-CruhDQNF.js';
11
+ import './FoxgloveServer-MMAMiqqQ.js';
12
12
  import 'ms';
13
- import './foxglove-protocol-s8GTnGYJ.js';
13
+ import './foxglove-protocol-CtwNj7ND.js';
14
14
  import 'react-dnd';
15
15
  import 'react-dnd-html5-backend';
16
16
  import './i18next-IYI3-Nuv.js';
@@ -1,16 +1,16 @@
1
- import { O as styleTags, Q as tags, X as LRParser, T as LRLanguage, K as indentNodeProp, M as continuedIndent, a0 as flatIndent, a1 as delimitedIndent, N as foldNodeProp, a2 as foldInside, U as LanguageSupport } from './index-VvgQVHup.js';
2
- import './tslib.es6-1KojRmQN.js';
1
+ import { O as styleTags, Q as tags, X as LRParser, T as LRLanguage, K as indentNodeProp, M as continuedIndent, a0 as flatIndent, a1 as delimitedIndent, N as foldNodeProp, a2 as foldInside, U as LanguageSupport } from './index-D_MUGva5.js';
2
+ import './tslib.es6-DRjIPBeG.js';
3
3
  import 'react';
4
4
  import 'react-mosaic-component';
5
- import './protobuf-BlRCdy5s.js';
5
+ import './protobuf-B55JS-Px.js';
6
6
  import 'protobufjs/minimal';
7
7
  import '@mui/material';
8
8
  import './isArrayLikeObject-Bytw9p-q.js';
9
9
  import './comlink-DHMAu6X7.js';
10
10
  import './utils-Hzt3wxhG.js';
11
- import './FoxgloveServer-CruhDQNF.js';
11
+ import './FoxgloveServer-MMAMiqqQ.js';
12
12
  import 'ms';
13
- import './foxglove-protocol-s8GTnGYJ.js';
13
+ import './foxglove-protocol-CtwNj7ND.js';
14
14
  import 'react-dnd';
15
15
  import 'react-dnd-html5-backend';
16
16
  import './i18next-IYI3-Nuv.js';
@@ -1,16 +1,16 @@
1
- import { O as styleTags, Q as tags, T as LRLanguage, K as indentNodeProp, M as continuedIndent, N as foldNodeProp, a2 as foldInside, a8 as defineCSSCompletionSource, U as LanguageSupport, X as LRParser, V as ExternalTokenizer } from './index-VvgQVHup.js';
2
- import './tslib.es6-1KojRmQN.js';
1
+ import { O as styleTags, Q as tags, T as LRLanguage, K as indentNodeProp, M as continuedIndent, N as foldNodeProp, a2 as foldInside, a8 as defineCSSCompletionSource, U as LanguageSupport, X as LRParser, V as ExternalTokenizer } from './index-D_MUGva5.js';
2
+ import './tslib.es6-DRjIPBeG.js';
3
3
  import 'react';
4
4
  import 'react-mosaic-component';
5
- import './protobuf-BlRCdy5s.js';
5
+ import './protobuf-B55JS-Px.js';
6
6
  import 'protobufjs/minimal';
7
7
  import '@mui/material';
8
8
  import './isArrayLikeObject-Bytw9p-q.js';
9
9
  import './comlink-DHMAu6X7.js';
10
10
  import './utils-Hzt3wxhG.js';
11
- import './FoxgloveServer-CruhDQNF.js';
11
+ import './FoxgloveServer-MMAMiqqQ.js';
12
12
  import 'ms';
13
- import './foxglove-protocol-s8GTnGYJ.js';
13
+ import './foxglove-protocol-CtwNj7ND.js';
14
14
  import 'react-dnd';
15
15
  import 'react-dnd-html5-backend';
16
16
  import './i18next-IYI3-Nuv.js';
@@ -1,11 +1,11 @@
1
- import { d as dist$1, e as estimateObjectSize, C as ConfigStore, r as reportError, A as AppError, b as baseFlatten, a as baseEach, c as baseIteratee, f as baseDifference, g as getTag, h as baseKeys, i as baseIsEqual, j as castPath, t as toKey, k as baseGet, l as hasIn, s as sendNotification, m as shallowequal, u as useGuaranteedContext, n as getPanelIdsInsideTabPanels, o as getPanelTypeFromId, T as TAB_PANEL_TYPE, p as removePanelFromTabPanel, q as getPanelIdForType, v as getPathFromNode, w as updateTabPanelLayout, x as getSaveConfigsPayloadForAddedPanel, y as replaceAndRemovePanels, z as inlineTabPanelLayouts, B as getAllPanelIds, D as getConfigsForNestedPanelsInsideTab, E as reorderTabWithinTabPanel, F as moveTabBetweenTabPanels, G as isTabPanelConfig, H as DEFAULT_TAB_PANEL_CONFIG, I as addPanelToTab, J as createAddUpdates, K as filterMap, L as Logger, M as uniq$2, N as useShallowMemo, O as CurrentLayoutContext, P as MessageOrderTracker, Q as AppConfigurationContext, _ as __assign$8, R as __rest$5, S as __spreadArray$5 } from './tslib.es6-1KojRmQN.js';
1
+ import { d as dist$1, e as estimateObjectSize, r as reportError, A as AppError, b as baseFlatten, a as baseEach, c as baseIteratee, f as baseDifference, g as getTag, h as baseKeys, i as baseIsEqual, j as castPath, t as toKey, k as baseGet, l as hasIn, s as sendNotification, m as shallowequal, u as useGuaranteedContext, n as getPanelIdsInsideTabPanels, o as getPanelTypeFromId, T as TAB_PANEL_TYPE, p as removePanelFromTabPanel, q as getPanelIdForType, v as getPathFromNode, w as updateTabPanelLayout, x as getSaveConfigsPayloadForAddedPanel, y as replaceAndRemovePanels, z as inlineTabPanelLayouts, B as getAllPanelIds, C as getConfigsForNestedPanelsInsideTab, D as reorderTabWithinTabPanel, E as moveTabBetweenTabPanels, F as isTabPanelConfig, G as DEFAULT_TAB_PANEL_CONFIG, H as addPanelToTab, I as createAddUpdates, J as filterMap, L as Logger, K as uniq$2, M as useShallowMemo, N as CurrentLayoutContext, O as MessageOrderTracker, P as AppConfigurationContext, _ as __assign$8, Q as __rest$5, R as __spreadArray$5 } from './tslib.es6-DRjIPBeG.js';
2
2
  import { w as wrap$3, p as proxy } from './comlink-DHMAu6X7.js';
3
3
  import { u as uint8ArrayToUint16Array } from './utils-Hzt3wxhG.js';
4
- import { p as protobufSchemaNameToType, g as getDefaultExportFromCjs, c as commonjsGlobal } from './protobuf-BlRCdy5s.js';
4
+ import { p as protobufsBySchema, a as protobufSchemaNameToType, g as getDefaultExportFromCjs, c as commonjsGlobal } from './protobuf-B55JS-Px.js';
5
+ import { B as BinaryOpcode } from './FoxgloveServer-MMAMiqqQ.js';
5
6
  import * as React$1 from 'react';
6
7
  import React__default, { useRef, useMemo, createContext, useContext, forwardRef, createElement, useState, Component, useCallback, useEffect, useLayoutEffect, useReducer, useImperativeHandle, Fragment as Fragment$1, Suspense } from 'react';
7
- import { B as BinaryOpcode } from './FoxgloveServer-CruhDQNF.js';
8
- import { p as parseFoxgloveMessage } from './foxglove-protocol-s8GTnGYJ.js';
8
+ import { p as parseFoxgloveMessage } from './foxglove-protocol-CtwNj7ND.js';
9
9
  import { DndProvider } from 'react-dnd';
10
10
  import { HTML5Backend } from 'react-dnd-html5-backend';
11
11
  import { getLeaves, createRemoveUpdate, updateTree, createHideUpdate, createDragToUpdates, getNodeAtPath, MosaicContext, MosaicWindowContext } from 'react-mosaic-component';
@@ -771,12 +771,26 @@ class DepthToPointcloudWorkerPool {
771
771
  }
772
772
  }
773
773
 
774
+ const DEFAULT_CONNECTION_CONFIG = {
775
+ debugLogs: false
776
+ };
777
+ class ConfigStore {
778
+ connectionConfigValue = DEFAULT_CONNECTION_CONFIG;
779
+ constructor() {}
780
+ static getInstance() {
781
+ if (!ConfigStore.instance) {
782
+ ConfigStore.instance = new ConfigStore();
783
+ }
784
+ return ConfigStore.instance;
785
+ }
786
+ }
787
+
774
788
  // This Source Code Form is subject to the terms of the Mozilla Public
775
789
  // License, v2.0. If a copy of the MPL was not distributed with this
776
790
  // file, You can obtain one at http://mozilla.org/MPL/2.0/
777
791
 
778
792
  function initWorker(callback) {
779
- const workerWrap = wrap$3(new Worker(new URL("deserialization.worker-CU3aAUQR.js", import.meta.url), {
793
+ const workerWrap = wrap$3(new Worker(new URL("deserialization.worker-Bpkjw7D9.js", import.meta.url), {
780
794
  type: "module",
781
795
  name: `message-decoder`
782
796
  }));
@@ -804,7 +818,7 @@ function createMessageHandler(callback) {
804
818
  buffer,
805
819
  topic,
806
820
  neuralCameraIntrinsics
807
- }, proxiedCallback);
821
+ }, ConfigStore.getInstance(), proxiedCallback);
808
822
  }
809
823
  };
810
824
  }
@@ -1051,10 +1065,9 @@ class FoxgloveConnection {
1051
1065
  return dist$1.fromMillis(Date.now());
1052
1066
  }
1053
1067
  onMessagePacket(event, errorCallback) {
1054
- const [imageFrameMetricsKey, annotationsFrameMetricsKey, pointCloudFrameMetricsKey] = React__default.useMemo(() => {
1055
- return [constructKeyForTopicRenderMetrics("incomingImageFrame", event.data.topic), constructKeyForTopicRenderMetrics("incomingAnnotationsFrame", event.data.topic), constructKeyForTopicRenderMetrics("incomingPointCloudFrame", event.data.topic)];
1056
- }, [event.data.topic]);
1057
- const packetType = protobufSchemaNameToType(event.data.schema);
1068
+ const [imageFrameMetricsKey, annotationsFrameMetricsKey, pointCloudFrameMetricsKey] = [constructKeyForTopicRenderMetrics("incomingImageFrame", event.data.topic), constructKeyForTopicRenderMetrics("incomingAnnotationsFrame", event.data.topic), constructKeyForTopicRenderMetrics("incomingPointCloudFrame", event.data.topic)];
1069
+ const specificProtobuf = protobufsBySchema[event.data.schema]?.type;
1070
+ const packetType = protobufSchemaNameToType(specificProtobuf);
1058
1071
  const rateLimiterCounterForType = this.rateLimitCounter[packetType];
1059
1072
  this.rateLimitCounter[packetType] = (rateLimiterCounterForType + 1) % this.rateLimitModCoefficient;
1060
1073
 
@@ -20099,7 +20112,7 @@ class WebRtcBridge extends ArtificialWorker {
20099
20112
  constructor(automaticTokenRefresh) {
20100
20113
  super();
20101
20114
  this.automaticTokenRefresh = automaticTokenRefresh;
20102
- this.#worker = new Worker(new URL("worker-BQkGHKKV.js", import.meta.url), {
20115
+ this.#worker = new Worker(new URL("worker-DeosokNQ.js", import.meta.url), {
20103
20116
  type: "module"
20104
20117
  });
20105
20118
  this.#setupArtificialWorker();
@@ -20317,17 +20330,17 @@ class VisualizerConnection extends FoxgloveConnection {
20317
20330
  let worker;
20318
20331
  if (type === "ws") {
20319
20332
  this.#url = data.connectionUrl;
20320
- worker = new Worker(new URL("worker-CCDWOQkn.js", import.meta.url), {
20333
+ worker = new Worker(new URL("worker-DTCGSU9Q.js", import.meta.url), {
20321
20334
  type: "module"
20322
20335
  });
20323
20336
  } else {
20324
20337
  this.#config = data.config;
20325
20338
  worker = new WebRtcBridge(data.automaticTokenRefresh);
20326
20339
  }
20327
- ConfigStore.getInstance().connectionConfig = {
20340
+ ConfigStore.getInstance().connectionConfigValue = {
20328
20341
  debugLogs: debugLogs ?? false
20329
20342
  };
20330
- console.info("[VisualizerConnection] - Opening connection with following configuration", ConfigStore.getInstance().connectionConfig);
20343
+ console.info("[VisualizerConnection] - Opening connection with following configuration", ConfigStore.getInstance().connectionConfigValue);
20331
20344
  this.#open(worker, errorCallback);
20332
20345
  }
20333
20346
  close() {
@@ -86736,7 +86749,7 @@ function legacy(parser) {
86736
86749
  return new LanguageSupport(StreamLanguage.define(parser));
86737
86750
  }
86738
86751
  function sql$1(dialectName) {
86739
- return import('./index-D0hutTdc.js').then(m => m.sql({ dialect: m[dialectName] }));
86752
+ return import('./index-Dtx67Xo3.js').then(m => m.sql({ dialect: m[dialectName] }));
86740
86753
  }
86741
86754
  /**
86742
86755
  An array of language descriptions for known language packages.
@@ -86747,7 +86760,7 @@ const languages = [
86747
86760
  name: "C",
86748
86761
  extensions: ["c", "h", "ino"],
86749
86762
  load() {
86750
- return import('./index-CfPI9o_g.js').then(m => m.cpp());
86763
+ return import('./index-BGN2tq8w.js').then(m => m.cpp());
86751
86764
  }
86752
86765
  }),
86753
86766
  /*@__PURE__*/LanguageDescription.of({
@@ -86755,7 +86768,7 @@ const languages = [
86755
86768
  alias: ["cpp"],
86756
86769
  extensions: ["cpp", "c++", "cc", "cxx", "hpp", "h++", "hh", "hxx"],
86757
86770
  load() {
86758
- return import('./index-CfPI9o_g.js').then(m => m.cpp());
86771
+ return import('./index-BGN2tq8w.js').then(m => m.cpp());
86759
86772
  }
86760
86773
  }),
86761
86774
  /*@__PURE__*/LanguageDescription.of({
@@ -86775,7 +86788,7 @@ const languages = [
86775
86788
  name: "Go",
86776
86789
  extensions: ["go"],
86777
86790
  load() {
86778
- return import('./index-BL20wz16.js').then(m => m.go());
86791
+ return import('./index-6KOIH-Av.js').then(m => m.go());
86779
86792
  }
86780
86793
  }),
86781
86794
  /*@__PURE__*/LanguageDescription.of({
@@ -86790,7 +86803,7 @@ const languages = [
86790
86803
  name: "Java",
86791
86804
  extensions: ["java"],
86792
86805
  load() {
86793
- return import('./index-Dv0q7Hu9.js').then(m => m.java());
86806
+ return import('./index-D79jrx-W.js').then(m => m.java());
86794
86807
  }
86795
86808
  }),
86796
86809
  /*@__PURE__*/LanguageDescription.of({
@@ -86806,7 +86819,7 @@ const languages = [
86806
86819
  alias: ["json5"],
86807
86820
  extensions: ["json", "map"],
86808
86821
  load() {
86809
- return import('./index-BdDtoRR-.js').then(m => m.json());
86822
+ return import('./index-BwDDE6qJ.js').then(m => m.json());
86810
86823
  }
86811
86824
  }),
86812
86825
  /*@__PURE__*/LanguageDescription.of({
@@ -86820,14 +86833,14 @@ const languages = [
86820
86833
  name: "LESS",
86821
86834
  extensions: ["less"],
86822
86835
  load() {
86823
- return import('./index-DEIPZyYO.js').then(m => m.less());
86836
+ return import('./index-DPVZH6Rk.js').then(m => m.less());
86824
86837
  }
86825
86838
  }),
86826
86839
  /*@__PURE__*/LanguageDescription.of({
86827
86840
  name: "Liquid",
86828
86841
  extensions: ["liquid"],
86829
86842
  load() {
86830
- return import('./index-B66BfRQZ.js').then(m => m.liquid());
86843
+ return import('./index-EJIrzRTe.js').then(m => m.liquid());
86831
86844
  }
86832
86845
  }),
86833
86846
  /*@__PURE__*/LanguageDescription.of({
@@ -86853,7 +86866,7 @@ const languages = [
86853
86866
  name: "PHP",
86854
86867
  extensions: ["php", "php3", "php4", "php5", "php7", "phtml"],
86855
86868
  load() {
86856
- return import('./index-BTDlyuOh.js').then(m => m.php());
86869
+ return import('./index-CdTjJkb4.js').then(m => m.php());
86857
86870
  }
86858
86871
  }),
86859
86872
  /*@__PURE__*/LanguageDescription.of({
@@ -86870,28 +86883,28 @@ const languages = [
86870
86883
  extensions: ["BUILD", "bzl", "py", "pyw"],
86871
86884
  filename: /^(BUCK|BUILD)$/,
86872
86885
  load() {
86873
- return import('./index-CKKrYBmd.js').then(m => m.python());
86886
+ return import('./index-DelPB8oK.js').then(m => m.python());
86874
86887
  }
86875
86888
  }),
86876
86889
  /*@__PURE__*/LanguageDescription.of({
86877
86890
  name: "Rust",
86878
86891
  extensions: ["rs"],
86879
86892
  load() {
86880
- return import('./index-B9TuVGb6.js').then(m => m.rust());
86893
+ return import('./index-DmI5oxsp.js').then(m => m.rust());
86881
86894
  }
86882
86895
  }),
86883
86896
  /*@__PURE__*/LanguageDescription.of({
86884
86897
  name: "Sass",
86885
86898
  extensions: ["sass"],
86886
86899
  load() {
86887
- return import('./index-DnGV1aQJ.js').then(m => m.sass({ indented: true }));
86900
+ return import('./index-B7i_kxUs.js').then(m => m.sass({ indented: true }));
86888
86901
  }
86889
86902
  }),
86890
86903
  /*@__PURE__*/LanguageDescription.of({
86891
86904
  name: "SCSS",
86892
86905
  extensions: ["scss"],
86893
86906
  load() {
86894
- return import('./index-DnGV1aQJ.js').then(m => m.sass());
86907
+ return import('./index-B7i_kxUs.js').then(m => m.sass());
86895
86908
  }
86896
86909
  }),
86897
86910
  /*@__PURE__*/LanguageDescription.of({
@@ -86922,7 +86935,7 @@ const languages = [
86922
86935
  name: "WebAssembly",
86923
86936
  extensions: ["wat", "wast"],
86924
86937
  load() {
86925
- return import('./index-DApEiWis.js').then(m => m.wast());
86938
+ return import('./index-B0htoB3i.js').then(m => m.wast());
86926
86939
  }
86927
86940
  }),
86928
86941
  /*@__PURE__*/LanguageDescription.of({
@@ -86930,7 +86943,7 @@ const languages = [
86930
86943
  alias: ["rss", "wsdl", "xsd"],
86931
86944
  extensions: ["xml", "xsl", "xsd", "svg"],
86932
86945
  load() {
86933
- return import('./index-BFkDx_vz.js').then(m => m.xml());
86946
+ return import('./index-ofZ4aPIS.js').then(m => m.xml());
86934
86947
  }
86935
86948
  }),
86936
86949
  /*@__PURE__*/LanguageDescription.of({
@@ -86938,7 +86951,7 @@ const languages = [
86938
86951
  alias: ["yml"],
86939
86952
  extensions: ["yaml", "yml"],
86940
86953
  load() {
86941
- return import('./index-0WOnpdYZ.js').then(m => m.yaml());
86954
+ return import('./index-CSwYa06X.js').then(m => m.yaml());
86942
86955
  }
86943
86956
  }),
86944
86957
  // Legacy modes ported from CodeMirror 5
@@ -87734,13 +87747,13 @@ const languages = [
87734
87747
  name: "Vue",
87735
87748
  extensions: ["vue"],
87736
87749
  load() {
87737
- return import('./index-PFqtyIuA.js').then(m => m.vue());
87750
+ return import('./index-BQzFf0fU.js').then(m => m.vue());
87738
87751
  }
87739
87752
  }),
87740
87753
  /*@__PURE__*/LanguageDescription.of({
87741
87754
  name: "Angular Template",
87742
87755
  load() {
87743
- return import('./index-BNOD5xue.js').then(m => m.angular());
87756
+ return import('./index-Caci836B.js').then(m => m.angular());
87744
87757
  }
87745
87758
  })
87746
87759
  ];
@@ -166409,7 +166422,7 @@ function createRenderDelaySampler() {
166409
166422
  };
166410
166423
  }
166411
166424
 
166412
- const ImagePanelComponent = /*#__PURE__*/React__default.lazy(async () => await import('./index-BgncB4lH.js'));
166425
+ const ImagePanelComponent = /*#__PURE__*/React__default.lazy(async () => await import('./index-CQekVGnp.js'));
166413
166426
  const ImagePanelBody = ({
166414
166427
  topic,
166415
166428
  frameRenderedEvent,
@@ -166486,7 +166499,7 @@ const DEFAULT_CAMERA_STATE = {
166486
166499
  // License, v2.0. If a copy of the MPL was not distributed with this
166487
166500
  // file, You can obtain one at http://mozilla.org/MPL/2.0/
166488
166501
 
166489
- const ThreeDeeRenderComponent = /*#__PURE__*/React__default.lazy(async () => await import('./index-eR1kHZO9.js'));
166502
+ const ThreeDeeRenderComponent = /*#__PURE__*/React__default.lazy(async () => await import('./index-DyO6J9w8.js'));
166490
166503
  const PointCloudPanelBody = ({
166491
166504
  topic,
166492
166505
  frameRenderedEvent