@luxonis/visualizer-protobuf 2.48.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 (37) hide show
  1. package/dist/{deserialization.worker-QZ_uIX5B.js → deserialization.worker-Bpkjw7D9.js} +8 -8
  2. package/dist/{index-BjN2Pyv5.js → index-6KOIH-Av.js} +2 -2
  3. package/dist/{index-DOeXUNsz.js → index-B0htoB3i.js} +2 -2
  4. package/dist/{index-D8cKl0tM.js → index-B7i_kxUs.js} +2 -2
  5. package/dist/{index-DyvvYfQJ.js → index-BGN2tq8w.js} +2 -2
  6. package/dist/{index-DwTacRxo.js → index-BQzFf0fU.js} +2 -2
  7. package/dist/{index-El3Zlupt.js → index-BwDDE6qJ.js} +2 -2
  8. package/dist/{index-BmOXjLH0.js → index-CQekVGnp.js} +4 -4
  9. package/dist/{index-Vivm4im1.js → index-CSwYa06X.js} +2 -2
  10. package/dist/{index-D1fg84Yj.js → index-Caci836B.js} +2 -2
  11. package/dist/{index-Bd9-KLhA.js → index-CdTjJkb4.js} +2 -2
  12. package/dist/{index-COviNJ-k.js → index-D79jrx-W.js} +2 -2
  13. package/dist/{index-ZlPQOQGl.js → index-DPVZH6Rk.js} +2 -2
  14. package/dist/{index-CCtXj5-Q.js → index-D_MUGva5.js} +39 -25
  15. package/dist/{index-1v_9BfbS.js → index-DelPB8oK.js} +2 -2
  16. package/dist/{index-SjaUSC73.js → index-DmI5oxsp.js} +2 -2
  17. package/dist/{index-CmHe8H9C.js → index-Dtx67Xo3.js} +2 -2
  18. package/dist/{index-BMV6RNh6.js → index-DyO6J9w8.js} +3 -3
  19. package/dist/{index-UnyqVyzf.js → index-EJIrzRTe.js} +2 -2
  20. package/dist/{index-Bnq20bAg.js → index-ofZ4aPIS.js} +2 -2
  21. package/dist/index.js +2 -2
  22. package/dist/lib/src/connection/connection.js +2 -2
  23. package/dist/lib/src/connection/connection.js.map +1 -1
  24. package/dist/lib/src/messaging/deserialization.worker.d.ts +2 -1
  25. package/dist/lib/src/messaging/deserialization.worker.d.ts.map +1 -1
  26. package/dist/lib/src/messaging/deserialization.worker.js +4 -5
  27. package/dist/lib/src/messaging/deserialization.worker.js.map +1 -1
  28. package/dist/lib/src/messaging/message-handler.d.ts.map +1 -1
  29. package/dist/lib/src/messaging/message-handler.js +2 -1
  30. package/dist/lib/src/messaging/message-handler.js.map +1 -1
  31. package/dist/lib/src/utils/config-store.d.ts +1 -3
  32. package/dist/lib/src/utils/config-store.d.ts.map +1 -1
  33. package/dist/lib/src/utils/config-store.js +1 -7
  34. package/dist/lib/src/utils/config-store.js.map +1 -1
  35. package/dist/{tslib.es6-DOg7wCvB.js → tslib.es6-DRjIPBeG.js} +1 -21
  36. package/dist/{useMessageReducer-D2D-CcTf.js → useMessageReducer-DdY2kZpp.js} +1 -1
  37. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { e as expose } from './comlink-DHMAu6X7.js';
2
- import { t as typescript } from './useMessageReducer-D2D-CcTf.js';
3
- import { e as estimateObjectSize, d as dist, C as ConfigStore } from './tslib.es6-DOg7wCvB.js';
2
+ import { t as typescript } from './useMessageReducer-DdY2kZpp.js';
3
+ import { e as estimateObjectSize, d as dist } from './tslib.es6-DRjIPBeG.js';
4
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';
@@ -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,5 +1,5 @@
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-CCtXj5-Q.js';
2
- import './tslib.es6-DOg7wCvB.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
5
  import './protobuf-B55JS-Px.js';
@@ -1,5 +1,5 @@
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-CCtXj5-Q.js';
2
- import './tslib.es6-DOg7wCvB.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
5
  import './protobuf-B55JS-Px.js';
@@ -1,5 +1,5 @@
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-CCtXj5-Q.js';
2
- import './tslib.es6-DOg7wCvB.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
5
  import './protobuf-B55JS-Px.js';
@@ -1,5 +1,5 @@
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-CCtXj5-Q.js';
2
- import './tslib.es6-DOg7wCvB.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
5
  import './protobuf-B55JS-Px.js';
@@ -1,5 +1,5 @@
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-CCtXj5-Q.js';
2
- import './tslib.es6-DOg7wCvB.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
5
  import './protobuf-B55JS-Px.js';
@@ -1,5 +1,5 @@
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-CCtXj5-Q.js';
2
- import './tslib.es6-DOg7wCvB.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
5
  import './protobuf-B55JS-Px.js';
@@ -1,14 +1,14 @@
1
- import { ImagePanel } from './index-BMV6RNh6.js';
1
+ import { ImagePanel } from './index-DyO6J9w8.js';
2
2
  import 'react';
3
3
  import 'react-dom';
4
- import './tslib.es6-DOg7wCvB.js';
4
+ import './tslib.es6-DRjIPBeG.js';
5
5
  import 'react-mosaic-component';
6
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-CCtXj5-Q.js';
11
+ import './index-D_MUGva5.js';
12
12
  import './comlink-DHMAu6X7.js';
13
13
  import './utils-Hzt3wxhG.js';
14
14
  import './FoxgloveServer-MMAMiqqQ.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-D2D-CcTf.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,5 +1,5 @@
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-CCtXj5-Q.js';
2
- import './tslib.es6-DOg7wCvB.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
5
  import './protobuf-B55JS-Px.js';
@@ -1,5 +1,5 @@
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-CCtXj5-Q.js';
2
- import './tslib.es6-DOg7wCvB.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
5
  import './protobuf-B55JS-Px.js';
@@ -1,5 +1,5 @@
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-CCtXj5-Q.js';
2
- import './tslib.es6-DOg7wCvB.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
5
  import './protobuf-B55JS-Px.js';
@@ -1,5 +1,5 @@
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-CCtXj5-Q.js';
2
- import './tslib.es6-DOg7wCvB.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
5
  import './protobuf-B55JS-Px.js';
@@ -1,5 +1,5 @@
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-CCtXj5-Q.js';
2
- import './tslib.es6-DOg7wCvB.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
5
  import './protobuf-B55JS-Px.js';
@@ -1,4 +1,4 @@
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-DOg7wCvB.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
4
  import { p as protobufsBySchema, a as protobufSchemaNameToType, g as getDefaultExportFromCjs, c as commonjsGlobal } from './protobuf-B55JS-Px.js';
@@ -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-QZ_uIX5B.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
  }
@@ -20323,10 +20337,10 @@ class VisualizerConnection extends FoxgloveConnection {
20323
20337
  this.#config = data.config;
20324
20338
  worker = new WebRtcBridge(data.automaticTokenRefresh);
20325
20339
  }
20326
- ConfigStore.getInstance().connectionConfig = {
20340
+ ConfigStore.getInstance().connectionConfigValue = {
20327
20341
  debugLogs: debugLogs ?? false
20328
20342
  };
20329
- console.info("[VisualizerConnection] - Opening connection with following configuration", ConfigStore.getInstance().connectionConfig);
20343
+ console.info("[VisualizerConnection] - Opening connection with following configuration", ConfigStore.getInstance().connectionConfigValue);
20330
20344
  this.#open(worker, errorCallback);
20331
20345
  }
20332
20346
  close() {
@@ -86735,7 +86749,7 @@ function legacy(parser) {
86735
86749
  return new LanguageSupport(StreamLanguage.define(parser));
86736
86750
  }
86737
86751
  function sql$1(dialectName) {
86738
- return import('./index-CmHe8H9C.js').then(m => m.sql({ dialect: m[dialectName] }));
86752
+ return import('./index-Dtx67Xo3.js').then(m => m.sql({ dialect: m[dialectName] }));
86739
86753
  }
86740
86754
  /**
86741
86755
  An array of language descriptions for known language packages.
@@ -86746,7 +86760,7 @@ const languages = [
86746
86760
  name: "C",
86747
86761
  extensions: ["c", "h", "ino"],
86748
86762
  load() {
86749
- return import('./index-DyvvYfQJ.js').then(m => m.cpp());
86763
+ return import('./index-BGN2tq8w.js').then(m => m.cpp());
86750
86764
  }
86751
86765
  }),
86752
86766
  /*@__PURE__*/LanguageDescription.of({
@@ -86754,7 +86768,7 @@ const languages = [
86754
86768
  alias: ["cpp"],
86755
86769
  extensions: ["cpp", "c++", "cc", "cxx", "hpp", "h++", "hh", "hxx"],
86756
86770
  load() {
86757
- return import('./index-DyvvYfQJ.js').then(m => m.cpp());
86771
+ return import('./index-BGN2tq8w.js').then(m => m.cpp());
86758
86772
  }
86759
86773
  }),
86760
86774
  /*@__PURE__*/LanguageDescription.of({
@@ -86774,7 +86788,7 @@ const languages = [
86774
86788
  name: "Go",
86775
86789
  extensions: ["go"],
86776
86790
  load() {
86777
- return import('./index-BjN2Pyv5.js').then(m => m.go());
86791
+ return import('./index-6KOIH-Av.js').then(m => m.go());
86778
86792
  }
86779
86793
  }),
86780
86794
  /*@__PURE__*/LanguageDescription.of({
@@ -86789,7 +86803,7 @@ const languages = [
86789
86803
  name: "Java",
86790
86804
  extensions: ["java"],
86791
86805
  load() {
86792
- return import('./index-COviNJ-k.js').then(m => m.java());
86806
+ return import('./index-D79jrx-W.js').then(m => m.java());
86793
86807
  }
86794
86808
  }),
86795
86809
  /*@__PURE__*/LanguageDescription.of({
@@ -86805,7 +86819,7 @@ const languages = [
86805
86819
  alias: ["json5"],
86806
86820
  extensions: ["json", "map"],
86807
86821
  load() {
86808
- return import('./index-El3Zlupt.js').then(m => m.json());
86822
+ return import('./index-BwDDE6qJ.js').then(m => m.json());
86809
86823
  }
86810
86824
  }),
86811
86825
  /*@__PURE__*/LanguageDescription.of({
@@ -86819,14 +86833,14 @@ const languages = [
86819
86833
  name: "LESS",
86820
86834
  extensions: ["less"],
86821
86835
  load() {
86822
- return import('./index-ZlPQOQGl.js').then(m => m.less());
86836
+ return import('./index-DPVZH6Rk.js').then(m => m.less());
86823
86837
  }
86824
86838
  }),
86825
86839
  /*@__PURE__*/LanguageDescription.of({
86826
86840
  name: "Liquid",
86827
86841
  extensions: ["liquid"],
86828
86842
  load() {
86829
- return import('./index-UnyqVyzf.js').then(m => m.liquid());
86843
+ return import('./index-EJIrzRTe.js').then(m => m.liquid());
86830
86844
  }
86831
86845
  }),
86832
86846
  /*@__PURE__*/LanguageDescription.of({
@@ -86852,7 +86866,7 @@ const languages = [
86852
86866
  name: "PHP",
86853
86867
  extensions: ["php", "php3", "php4", "php5", "php7", "phtml"],
86854
86868
  load() {
86855
- return import('./index-Bd9-KLhA.js').then(m => m.php());
86869
+ return import('./index-CdTjJkb4.js').then(m => m.php());
86856
86870
  }
86857
86871
  }),
86858
86872
  /*@__PURE__*/LanguageDescription.of({
@@ -86869,28 +86883,28 @@ const languages = [
86869
86883
  extensions: ["BUILD", "bzl", "py", "pyw"],
86870
86884
  filename: /^(BUCK|BUILD)$/,
86871
86885
  load() {
86872
- return import('./index-1v_9BfbS.js').then(m => m.python());
86886
+ return import('./index-DelPB8oK.js').then(m => m.python());
86873
86887
  }
86874
86888
  }),
86875
86889
  /*@__PURE__*/LanguageDescription.of({
86876
86890
  name: "Rust",
86877
86891
  extensions: ["rs"],
86878
86892
  load() {
86879
- return import('./index-SjaUSC73.js').then(m => m.rust());
86893
+ return import('./index-DmI5oxsp.js').then(m => m.rust());
86880
86894
  }
86881
86895
  }),
86882
86896
  /*@__PURE__*/LanguageDescription.of({
86883
86897
  name: "Sass",
86884
86898
  extensions: ["sass"],
86885
86899
  load() {
86886
- return import('./index-D8cKl0tM.js').then(m => m.sass({ indented: true }));
86900
+ return import('./index-B7i_kxUs.js').then(m => m.sass({ indented: true }));
86887
86901
  }
86888
86902
  }),
86889
86903
  /*@__PURE__*/LanguageDescription.of({
86890
86904
  name: "SCSS",
86891
86905
  extensions: ["scss"],
86892
86906
  load() {
86893
- return import('./index-D8cKl0tM.js').then(m => m.sass());
86907
+ return import('./index-B7i_kxUs.js').then(m => m.sass());
86894
86908
  }
86895
86909
  }),
86896
86910
  /*@__PURE__*/LanguageDescription.of({
@@ -86921,7 +86935,7 @@ const languages = [
86921
86935
  name: "WebAssembly",
86922
86936
  extensions: ["wat", "wast"],
86923
86937
  load() {
86924
- return import('./index-DOeXUNsz.js').then(m => m.wast());
86938
+ return import('./index-B0htoB3i.js').then(m => m.wast());
86925
86939
  }
86926
86940
  }),
86927
86941
  /*@__PURE__*/LanguageDescription.of({
@@ -86929,7 +86943,7 @@ const languages = [
86929
86943
  alias: ["rss", "wsdl", "xsd"],
86930
86944
  extensions: ["xml", "xsl", "xsd", "svg"],
86931
86945
  load() {
86932
- return import('./index-Bnq20bAg.js').then(m => m.xml());
86946
+ return import('./index-ofZ4aPIS.js').then(m => m.xml());
86933
86947
  }
86934
86948
  }),
86935
86949
  /*@__PURE__*/LanguageDescription.of({
@@ -86937,7 +86951,7 @@ const languages = [
86937
86951
  alias: ["yml"],
86938
86952
  extensions: ["yaml", "yml"],
86939
86953
  load() {
86940
- return import('./index-Vivm4im1.js').then(m => m.yaml());
86954
+ return import('./index-CSwYa06X.js').then(m => m.yaml());
86941
86955
  }
86942
86956
  }),
86943
86957
  // Legacy modes ported from CodeMirror 5
@@ -87733,13 +87747,13 @@ const languages = [
87733
87747
  name: "Vue",
87734
87748
  extensions: ["vue"],
87735
87749
  load() {
87736
- return import('./index-DwTacRxo.js').then(m => m.vue());
87750
+ return import('./index-BQzFf0fU.js').then(m => m.vue());
87737
87751
  }
87738
87752
  }),
87739
87753
  /*@__PURE__*/LanguageDescription.of({
87740
87754
  name: "Angular Template",
87741
87755
  load() {
87742
- return import('./index-D1fg84Yj.js').then(m => m.angular());
87756
+ return import('./index-Caci836B.js').then(m => m.angular());
87743
87757
  }
87744
87758
  })
87745
87759
  ];
@@ -166408,7 +166422,7 @@ function createRenderDelaySampler() {
166408
166422
  };
166409
166423
  }
166410
166424
 
166411
- const ImagePanelComponent = /*#__PURE__*/React__default.lazy(async () => await import('./index-BmOXjLH0.js'));
166425
+ const ImagePanelComponent = /*#__PURE__*/React__default.lazy(async () => await import('./index-CQekVGnp.js'));
166412
166426
  const ImagePanelBody = ({
166413
166427
  topic,
166414
166428
  frameRenderedEvent,
@@ -166485,7 +166499,7 @@ const DEFAULT_CAMERA_STATE = {
166485
166499
  // License, v2.0. If a copy of the MPL was not distributed with this
166486
166500
  // file, You can obtain one at http://mozilla.org/MPL/2.0/
166487
166501
 
166488
- const ThreeDeeRenderComponent = /*#__PURE__*/React__default.lazy(async () => await import('./index-BMV6RNh6.js'));
166502
+ const ThreeDeeRenderComponent = /*#__PURE__*/React__default.lazy(async () => await import('./index-DyO6J9w8.js'));
166489
166503
  const PointCloudPanelBody = ({
166490
166504
  topic,
166491
166505
  frameRenderedEvent
@@ -1,5 +1,5 @@
1
- import { V as ExternalTokenizer, a3 as ContextTracker, O as styleTags, Q as tags, X as LRParser, $ as syntaxTree, Y as ifNotIn, T as LRLanguage, K as indentNodeProp, a1 as delimitedIndent, N as foldNodeProp, a2 as foldInside, U as LanguageSupport, a6 as IterMode, Z as completeFromList, a7 as NodeWeakMap, a5 as snippetCompletion } from './index-CCtXj5-Q.js';
2
- import './tslib.es6-DOg7wCvB.js';
1
+ import { V as ExternalTokenizer, a3 as ContextTracker, O as styleTags, Q as tags, X as LRParser, $ as syntaxTree, Y as ifNotIn, T as LRLanguage, K as indentNodeProp, a1 as delimitedIndent, N as foldNodeProp, a2 as foldInside, U as LanguageSupport, a6 as IterMode, Z as completeFromList, a7 as NodeWeakMap, a5 as snippetCompletion } from './index-D_MUGva5.js';
2
+ import './tslib.es6-DRjIPBeG.js';
3
3
  import 'react';
4
4
  import 'react-mosaic-component';
5
5
  import './protobuf-B55JS-Px.js';
@@ -1,5 +1,5 @@
1
- import { V as ExternalTokenizer, 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-CCtXj5-Q.js';
2
- import './tslib.es6-DOg7wCvB.js';
1
+ import { V as ExternalTokenizer, 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
5
  import './protobuf-B55JS-Px.js';
@@ -1,5 +1,5 @@
1
- import { K as indentNodeProp, M as continuedIndent, N as foldNodeProp, O as styleTags, Q as tags, T as LRLanguage, U as LanguageSupport, V as ExternalTokenizer, X as LRParser, Y as ifNotIn, Z as completeFromList, $ as syntaxTree } from './index-CCtXj5-Q.js';
2
- import './tslib.es6-DOg7wCvB.js';
1
+ import { K as indentNodeProp, M as continuedIndent, N as foldNodeProp, O as styleTags, Q as tags, T as LRLanguage, U as LanguageSupport, V as ExternalTokenizer, X as LRParser, Y as ifNotIn, Z as completeFromList, $ as syntaxTree } from './index-D_MUGva5.js';
2
+ import './tslib.es6-DRjIPBeG.js';
3
3
  import 'react';
4
4
  import 'react-mosaic-component';
5
5
  import './protobuf-B55JS-Px.js';
@@ -1,11 +1,11 @@
1
1
  import * as React from 'react';
2
2
  import React__default, { useReducer, useRef, useCallback, useLayoutEffect, Component, useContext, useState, useEffect, createContext, forwardRef, createElement, cloneElement, useMemo, Profiler, StrictMode } from 'react';
3
3
  import ReactDOM__default from 'react-dom';
4
- import { U as isSymbol, V as toString, W as keys, X as getSymbols$1, Y as stubArray, Z as arrayPush, $ as baseGetAllKeys, g as getTag, a0 as getAllKeys, k as baseGet, c as baseIteratee, j as castPath, t as toKey, a1 as arrayMap$1, a2 as baseUniq, b as baseFlatten, a3 as useMustNotChange, a4 as useCurrentLayoutActions, a5 as useCurrentLayoutSelector, r as reportError, A as AppError, L as Logger, u as useGuaranteedContext, a6 as usePanelMosaicId, a7 as useSelectedPanels, a8 as PANEL_TITLE_CONFIG_KEY, a9 as noop$4, o as getPanelTypeFromId, N as useShallowMemo, T as TAB_PANEL_TYPE, K as filterMap, d as dist$2, aa as useAppConfiguration, ab as useValueChangedDebugLog, ac as useJsonTreeTheme } from './tslib.es6-DOg7wCvB.js';
4
+ import { S as isSymbol, U as toString, V as keys, W as getSymbols$1, X as stubArray, Y as arrayPush, Z as baseGetAllKeys, g as getTag, $ as getAllKeys, k as baseGet, c as baseIteratee, j as castPath, t as toKey, a0 as arrayMap$1, a1 as baseUniq, b as baseFlatten, a2 as useMustNotChange, a3 as useCurrentLayoutActions, a4 as useCurrentLayoutSelector, r as reportError, A as AppError, L as Logger, u as useGuaranteedContext, a5 as usePanelMosaicId, a6 as useSelectedPanels, a7 as PANEL_TITLE_CONFIG_KEY, a8 as noop$4, o as getPanelTypeFromId, M as useShallowMemo, T as TAB_PANEL_TYPE, J as filterMap, d as dist$2, a9 as useAppConfiguration, aa as useValueChangedDebugLog, ab as useJsonTreeTheme } from './tslib.es6-DRjIPBeG.js';
5
5
  import { createStore, useStore } from 'zustand';
6
- import { g as generateUtilityClass, c as createAggregator, f as flatRest, b as baseSet, A as AnalyticsContext, P as PropTypes, E as ErrorDisplay, S as Stack$1, m as makeStyles$1, _ as _extends$1, W as WorkspaceContext, u as useAnalytics, a as AppEvent, L as LeftSidebarItemKeys, R as RightSidebarItemKeys, d as useTranslation, e as usePanelCatalog, h as EmptyState, i as isEmpty, j as PanelContext, k as PanelCatalogContext, l as usePanelStateStore, n as useDefaultPanelTitle, o as useWorkspaceStore, p as WorkspaceStoreSelectors, q as difference, r as usePanelContext, s as useMessagePipeline, v as v4, t as useHoverValue, w as useSetHoverValue, x as useClearHoverValue, y as useMessagePipelineGetter, z as usePanelSettingsTreeUpdate, B as PlayerCapabilities, C as assertNever, D as PlayerPresence, F as isEqual, G as isDesktopApp, H as createTheme, I as propTypesExports, J as DEFAULT_CAMERA_STATE$1 } from './index-CCtXj5-Q.js';
6
+ import { g as generateUtilityClass, c as createAggregator, f as flatRest, b as baseSet, A as AnalyticsContext, P as PropTypes, E as ErrorDisplay, S as Stack$1, m as makeStyles$1, _ as _extends$1, W as WorkspaceContext, u as useAnalytics, a as AppEvent, L as LeftSidebarItemKeys, R as RightSidebarItemKeys, d as useTranslation, e as usePanelCatalog, h as EmptyState, i as isEmpty, j as PanelContext, k as PanelCatalogContext, l as usePanelStateStore, n as useDefaultPanelTitle, o as useWorkspaceStore, p as WorkspaceStoreSelectors, q as difference, r as usePanelContext, s as useMessagePipeline, v as v4, t as useHoverValue, w as useSetHoverValue, x as useClearHoverValue, y as useMessagePipelineGetter, z as usePanelSettingsTreeUpdate, B as PlayerCapabilities, C as assertNever, D as PlayerPresence, F as isEqual, G as isDesktopApp, H as createTheme, I as propTypesExports, J as DEFAULT_CAMERA_STATE$1 } from './index-D_MUGva5.js';
7
7
  import { MosaicDragType, MosaicContext, MosaicWindowContext, getOtherBranch, getNodeAtPath } from 'react-mosaic-component';
8
- import { t as typescript } from './useMessageReducer-D2D-CcTf.js';
8
+ import { t as typescript } from './useMessageReducer-DdY2kZpp.js';
9
9
  import { g as getDefaultExportFromCjs, c as commonjsGlobal, d as getAugmentedNamespace } from './protobuf-B55JS-Px.js';
10
10
  import { Link, Button, alpha, IconButton, Card, CardActionArea, CardMedia, CardContent, Typography, Container, Tooltip, Fade, ListItem, ListItemButton, ListItemText, List, TextField, InputAdornment, Popper, Grow, Paper, ClickAwayListener, Menu, MenuItem, Divider, buttonClasses, Backdrop, Chip, useTheme, alertClasses, darken, lighten, inputBaseClasses, autocompleteClasses, inputClasses, Checkbox, dialogActionsClasses, filledInputClasses, inputAdornmentClasses, listSubheaderClasses, selectClasses, tableCellClasses, ThemeProvider as ThemeProvider$1, SvgIcon, tabsClasses as tabsClasses$1, tabClasses, Tabs, Tab, ListItemIcon } from '@mui/material';
11
11
  import { c as copyObject, k as keysIn, g as getPrototype, d as cloneArrayBuffer, e as cloneTypedArray, f as copyArray, h as cloneBuffer, j as initCloneObject, a as assignValue, b as baseAssignValue, l as isPlainObject$1, t as tinycolor, n as t$1, m as merge$1, i as instance } from './i18next-IYI3-Nuv.js';
@@ -1,5 +1,5 @@
1
- import { a9 as EditorView, aa as EditorSelection, T as LRLanguage, O as styleTags, Q as tags, K as indentNodeProp, a1 as delimitedIndent, N as foldNodeProp, U as LanguageSupport, X as LRParser, $ as syntaxTree, ab as html, ac as parseMixed, V as ExternalTokenizer } from './index-CCtXj5-Q.js';
2
- import './tslib.es6-DOg7wCvB.js';
1
+ import { a9 as EditorView, aa as EditorSelection, T as LRLanguage, O as styleTags, Q as tags, K as indentNodeProp, a1 as delimitedIndent, N as foldNodeProp, U as LanguageSupport, X as LRParser, $ as syntaxTree, 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
5
  import './protobuf-B55JS-Px.js';
@@ -1,5 +1,5 @@
1
- import { a3 as ContextTracker, V as ExternalTokenizer, O as styleTags, Q as tags, X as LRParser, T as LRLanguage, K as indentNodeProp, N as foldNodeProp, ad as bracketMatchingHandle, U as LanguageSupport, a9 as EditorView, $ as syntaxTree, aa as EditorSelection } from './index-CCtXj5-Q.js';
2
- import './tslib.es6-DOg7wCvB.js';
1
+ import { a3 as ContextTracker, V as ExternalTokenizer, O as styleTags, Q as tags, X as LRParser, T as LRLanguage, K as indentNodeProp, N as foldNodeProp, ad as bracketMatchingHandle, U as LanguageSupport, a9 as EditorView, $ as syntaxTree, aa as EditorSelection } from './index-D_MUGva5.js';
2
+ import './tslib.es6-DRjIPBeG.js';
3
3
  import 'react';
4
4
  import 'react-mosaic-component';
5
5
  import './protobuf-B55JS-Px.js';
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- export { ai as ImagePanel, ah as PanelLayout, aj as PointCloudPanel, af as VisualizerConnection, ag as VisualizerContext, al as globalDecodeMetricsManager, ak as globalInputEventMetricsManager, am as globalRenderMetricsManager, an as globalThroughputMetricsManager } from './index-CCtXj5-Q.js';
2
- import './tslib.es6-DOg7wCvB.js';
1
+ export { ai as ImagePanel, ah as PanelLayout, aj as PointCloudPanel, af as VisualizerConnection, ag as VisualizerContext, al as globalDecodeMetricsManager, ak as globalInputEventMetricsManager, am as globalRenderMetricsManager, an as globalThroughputMetricsManager } from './index-D_MUGva5.js';
2
+ import './tslib.es6-DRjIPBeG.js';
3
3
  import 'react';
4
4
  import 'react-mosaic-component';
5
5
  import './protobuf-B55JS-Px.js';
@@ -21,8 +21,8 @@ export class VisualizerConnection extends FoxgloveConnection {
21
21
  this.#config = data.config;
22
22
  worker = new WebRtcBridge(data.automaticTokenRefresh);
23
23
  }
24
- ConfigStore.getInstance().connectionConfig = { debugLogs: debugLogs ?? false };
25
- console.info("[VisualizerConnection] - Opening connection with following configuration", ConfigStore.getInstance().connectionConfig);
24
+ ConfigStore.getInstance().connectionConfigValue = { debugLogs: debugLogs ?? false };
25
+ console.info("[VisualizerConnection] - Opening connection with following configuration", ConfigStore.getInstance().connectionConfigValue);
26
26
  this.#open(worker, errorCallback);
27
27
  }
28
28
  close() {
@@ -1 +1 @@
1
- {"version":3,"file":"connection.js","sourceRoot":"","sources":["../../../../src/connection/connection.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,oEAAoE;AACpE,0DAA0D;AAI1D,OAAO,EAAE,cAAc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Ac,GAAG,cAAc,CAAC,WAAW,CAAC;YACjD,IAAI,CAAC,SAAS,EAAE,CAAC;QACnB,CAAC,CAAC,CAAC;QAEH,IAAI,CAAC,QAAQ,CAAC,gBAAgB,CAAC,OAAO,EAAE,CAAC,MAAM,EAAE,EAAE;YACjD,IAAI,CAAC,aAAa,GAAG,EAAE,CAAC;YACxB,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC,KAAK,CAAC;YAC3C,IAAI,CAAC,SAAS,EAAE,CAAC;QACnB,CAAC,CAAC,CAAC;QAEH,IAAI,CAAC,QAAQ,CAAC,gBAAgB,CAAC,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE;YAClD,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,CAC7B,KAAiD,EACjD,aAAa,CACd,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC,CAAC;CACH"}
@@ -9,6 +9,7 @@ import type { ImgDetections } from "../protobuf.generated/ImgDetections.js";
9
9
  import { type ImgFrame } from "../protobuf.generated/ImgFrame.js";
10
10
  import type { PointCloudData } from "../protobuf.generated/PointCloudData.js";
11
11
  import type { SpatialImgDetections } from "../protobuf.generated/SpatialImgDetections.js";
12
+ import { ConfigStore } from "../utils/config-store";
12
13
  export type DeserializeDepthAiMessageArgs = {
13
14
  topic: string;
14
15
  topicDecoders: TopicDecoders;
@@ -41,6 +42,6 @@ export type DeserializationWorkerApi = {
41
42
  initCallback: (cb: (event: MessageEvent) => void) => void;
42
43
  handleMessageToDecode: ({ schema, buffer, topic, neuralCameraIntrinsics, }: FoxgloveMessage & {
43
44
  neuralCameraIntrinsics: NeuralCameraIntrinsics;
44
- }, errorCallback?: DeserializationErrorCallback) => void;
45
+ }, configStore: ConfigStore, errorCallback?: DeserializationErrorCallback) => void;
45
46
  };
46
47
  //# sourceMappingURL=deserialization.worker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"deserialization.worker.d.ts","sourceRoot":"","sources":["../../../../src/messaging/deser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CAAC;IAAC,OAAO,EAAE,oBAAoB,CAAA;CAAE,GACjE;IAAE,IAAI,EAAE,YAAY,CAAC;IAAC,OAAO,EAAE,cAAc,CAAA;CAAE,CAClD,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,2BAA2B,GAAG,OAAO,CAAC;AAE9D,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,CAMhE;AAUD,MAAM,MAAM,4BAA4B,GAAG,CACzC,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,MAAM,EACb,SAAS,CAAC,EAAE,OAAO,KAChB,IAAI,CAAC;AA0HV,MAAM,MAAM,wBAAwB,GAAG;IACrC,YAAY,EAAE,CAAC,EAAE,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,KAAK,IAAI,CAAC;IAC1D,qBAAqB,EAAE,CACrB,EACE,MAAM,EACN,MAAM,EACN,KAAK,EACL,sBAAsB,GACvB,EAAE,eAAe,GAAG;QACnB,sBAAsB,EAAE,sBAAsB,CAAC;KAChD,EACD,aAAa,CAAC,EAAE,4BAA4B,KACzC,IAAI,CAAC;CACX,CAAC"}
1
+ {"version":3,"file":"deserialization.worker.d.ts","sourceRoot":"","sources":["../../../../src/messaging/deserialization.worker.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAGxE,OAAO,EAA4B,KAAK,UAAU,EAAE,MAAM,2CAA2C,CAAC;AAEtG,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAGpF,OAAO,EAA+B,KAAK,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAKlG,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,KAAK,YAAY,EAAW,MAAM,uCAAuC,CAAC;AACnF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAClF,OAAO,KAAK,EAAE,aAAa,E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;IACrC,YAAY,EAAE,CAAC,EAAE,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,KAAK,IAAI,CAAC;IAC1D,qBAAqB,EAAE,CACrB,EACE,MAAM,EACN,MAAM,EACN,KAAK,EACL,sBAAsB,GACvB,EAAE,eAAe,GAAG;QACnB,sBAAsB,EAAE,sBAAsB,CAAC;KAChD,EACD,WAAW,EAAE,WAAW,EACxB,aAAa,CAAC,EAAE,4BAA4B,KACzC,IAAI,CAAC;CACX,CAAC"}
@@ -16,7 +16,6 @@ import { Profile } from "../protobuf.generated/EncodedFrame.js";
16
16
  import { Type } from "../protobuf.generated/ImgFrame.js";
17
17
  import { isCapableOfEncodedStream } from "../utils/encoding";
18
18
  import { EncodedStreamNotSupportedError } from "../utils/error";
19
- import { ConfigStore } from "../utils/config-store";
20
19
  export function errorInstanceToErrorCode(error) {
21
20
  if (error instanceof EncodedStreamNotSupportedError) {
22
21
  return "EncodedStreamNotSupported";
@@ -29,7 +28,7 @@ let callback;
29
28
  function initCallback(cb) {
30
29
  callback = cb;
31
30
  }
32
- function handleMessageToDecode({ schema, buffer, topic }, errorCallback) {
31
+ function handleMessageToDecode({ schema, buffer, topic }, configStore, errorCallback) {
33
32
  const handleDecodingError = (error) => {
34
33
  // TODO: Enable this log once we fix topic unsubscription not working
35
34
  // console.error("An error occurred during DAI message decoding.", error);
@@ -47,6 +46,9 @@ function handleMessageToDecode({ schema, buffer, topic }, errorCallback) {
47
46
  const bufferArray = new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength);
48
47
  try {
49
48
  const message = protobufSchema.decoder.decode(bufferArray);
49
+ if (configStore.connectionConfigValue.debugLogs) {
50
+ console.debug(`[DepthAI Deserialization] Received message of type ${protobufSchema.type} on topic ${topic}`, { message });
51
+ }
50
52
  // Handle the promise correctly
51
53
  deserializeDepthAiMessage({
52
54
  topic,
@@ -63,9 +65,6 @@ function handleMessageToDecode({ schema, buffer, topic }, errorCallback) {
63
65
  }
64
66
  async function deserializeDepthAiMessage(args) {
65
67
  const { topicDecoders, topicSizes, type, message, callback, topic } = args;
66
- if (ConfigStore.getInstance().connectionConfig.debugLogs) {
67
- console.debug(`[DepthAI] Received message of type ${type} on topic ${topic}`, { message });
68
- }
69
68
  switch (type) {
70
69
  case "encodedFrame": {
71
70
  if (!isCapableOfEncodedStream()) {
@@ -1 +1 @@
1
- {"version":3,"file":"deserialization.worker.js","sourceRoot":"","sources":["../../../../src/messaging/deserialization.worker.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,oEAAoE;AACpE,0DAA0D;AAC1D,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AAInC,OAAO,EAAE,8BAA8B,EAAE,MAAM,wCAAwC,CAAC;AACxF,OAAO,EAAE,wBAAwB,EAAmB,MAAM,2CAA2C,CAAC;AACtG,OAAO,EAAE,yBAAyB,EAAE,MAAM,6CAA6C,CAAC;AAExF,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EAAE,2BAA2B,EAAsB,MAAM,iCAAiC,CAAC;AAClG,OAAO,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,OAAO,EAAqB,OAAO,EAAE,MAAM,uCAAuC,CAAC;AAGnF,OAAO,EAAiB,IAAI,EAAE,MAAM,mCAAmC,CAAC;AAGxE,OAAO,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,8BAA8B,EAAE,MAAM,gBAAgB,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAmBpD,MAAM,UAAU,wBAAwB,CAAC,KAAY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,+CAA+C;YAC/C,wBAAwB,CAAC;gBACvB,KAAK;gBACL,UAAU;gBACV,OAAO,EAAE;oBACP,GAAG,OAAO;oBACV,UAAU,EAAE,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,SAAU,CAAC;iBAC1E;gBACD,QAAQ;aACT,CAAC,CAAC;YACH,MAAM;QACR,CAAC;QACD,KAAK,YAAY,CAAC,CAAC,CAAC;YAClB,yBAAyB,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,CAAC;YACxD,MAAM;QACR,CAAC;QACD,OAAO,CAAC,CAAC,CAAC;YACR,OAAO,CAAC,IAAI,CAAC,8CAA8C,IAAI,GAAG,CAAC,CAAC;YACpE,MAAM;QACR,CAAC;IACH,CAAC;AACH,CAAC;AAkBD,yBAAyB;AACzB,OAAO,CAAC,MAAM,CAAC,EAAE,YAAY,EAAE,qBAAqB,EAAE,CAAC,CAAC"}
1
+ {"version":3,"file":"deserialization.worker.js","sourceRoot":"","sources":["../../../../src/messaging/deserialization.worker.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,oEAAoE;AACpE,0DAA0D;AAC1D,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AAInC,OAAO,EAAE,8BAA8B,EAAE,MAAM,wCAAwC,CAAC;AACxF,OAAO,EAAE,wBAAwB,EAAmB,MAAM,2CAA2C,CAAC;AACtG,OAAO,EAAE,yBAAyB,EAAE,MAAM,6CAA6C,CAAC;AAExF,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EAAE,2BAA2B,EAAsB,MAAM,iCAAiC,CAAC;AAClG,OAAO,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,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,CAAC;QACD,KAAK,iBAAiB,CAAC,CAAC,CAAC;YACvB,wBAAwB,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC,CAAC;YACnE,MAAM;QACR,CAAC;QACD,KAAK,uBAAuB,CAAC,CAAC,CAAC;YAC7B,8BAA8B,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC,CAAC;YACzE,MAAM;QACR,CAAC;QACD,KAAK,wBAAwB,CAAC,CAAC,CAAC;YAC9B,+CAA+C;YAC/C,wBAAwB,CAAC;gBACvB,KAAK;gBACL,UAAU;gBACV,OAAO,EAAE;oBACP,GAAG,OAAO;oBACV,UAAU,EAAE,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,SAAU,CAAC;iBAC1E;gBACD,QAAQ;aACT,CAAC,CAAC;YACH,MAAM;QACR,CAAC;QACD,KAAK,YAAY,CAAC,CAAC,CAAC;YAClB,yBAAyB,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,CAAC;YACxD,MAAM;QACR,CAAC;QACD,OAAO,CAAC,CAAC,CAAC;YACR,OAAO,CAAC,IAAI,CAAC,8CAA8C,IAAI,GAAG,CAAC,CAAC;YACpE,MAAM;QACR,CAAC;IACH,CAAC;AACH,CAAC;AAmBD,yBAAyB;AACzB,OAAO,CAAC,MAAM,CAAC,EAAE,YAAY,EAAE,qBAAqB,EAAE,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"message-handler.d.ts","sourceRoot":"","sources":["../../../../src/messaging/message-handler.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAGnE,OAAO,EACL,4BAA4B,EAG7B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAEhE,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,CAAC,OAAO,EAAE,eAAe,EAAE,aAAa,CAAC,EAAE,4BAA4B,KAAK,IAAI,CAAC;CAC1F,CAAC;AAYF,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,GAAG,cAAc,CAqB5F"}
1
+ {"version":3,"file":"message-handler.d.ts","sourceRoot":"","sources":["../../../../src/messaging/message-handler.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAGnE,OAAO,EACL,4BAA4B,EAG7B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAGhE,MAAM,MAAM,cAAc,GAAG;IAC3B,MAAM,EAAE,CAAC,OAAO,EAAE,eAAe,EAAE,aAAa,CAAC,EAAE,4BAA4B,KAAK,IAAI,CAAC;CAC1F,CAAC;AAYF,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,GAAG,cAAc,CAsB5F"}
@@ -2,6 +2,7 @@
2
2
  // License, v2.0. If a copy of the MPL was not distributed with this
3
3
  // file, You can obtain one at http://mozilla.org/MPL/2.0/
4
4
  import * as Comlink from "comlink";
5
+ import { ConfigStore } from "../utils/config-store";
5
6
  function initWorker(callback) {
6
7
  const workerWrap = Comlink.wrap(new Worker(new URL("./deserialization.worker", import.meta.url), { type: "module", name: `message-decoder` }));
7
8
  workerWrap.initCallback(Comlink.proxy(callback));
@@ -19,7 +20,7 @@ export function createMessageHandler(callback) {
19
20
  workerPool.set(topic, newWorker);
20
21
  }
21
22
  const proxiedCallback = errorCallback ? Comlink.proxy(errorCallback) : undefined;
22
- worker.handleMessageToDecode({ schema, buffer, topic, neuralCameraIntrinsics }, proxiedCallback);
23
+ worker.handleMessageToDecode({ schema, buffer, topic, neuralCameraIntrinsics }, ConfigStore.getInstance(), proxiedCallback);
23
24
  }),
24
25
  };
25
26
  }
@@ -1 +1 @@
1
- {"version":3,"file":"message-handler.js","sourceRoot":"","sources":["../../../../src/messaging/message-handler.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,oEAAoE;AACpE,0DAA0D;AAE1D,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC;AAgBnC,SAAS,UAAU,CAAC,QAAuC;IACzD,MAAM,UAAU,GAA6B,OAAO,CAAC,IAAI,CACvD,IAAI,MAAM,CAAC,IAAI,GAAG,CAAC,0BAA0B,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC,CAC9G,CAAC;IAEF,UAAU,CAAC,YAAY,CAAC,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC;IACjD,OAAO,UAAU,CAAC;AACpB,CAAC;AAED,MAAM,sBAAsB,GAAI,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,CAAC,wBAAwB,CAAC,IAAI,IAAI,CAA0B,CAAC;AAC5H,MAAM,UAAU,oBAAoB,CAAC,QAAuC;IAC1E,MAAM,UAAU,GAA0C,IAAI,GAAG,EAAE,CAAC;IAEpE,OAAO;QACL,MAAM,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,aAA4C,EAAE,EAAE;YACnF,IAAI,MAAM,GAAG,UAAU,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;YAEnC,IAAI,CAAC,MAAM,EAAE,CAAC;gBACZ,MAAM,SAAS,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAC;gBACvC,MAAM,GAAG,SAAS,CAAC;gBACnB,UAAU,CAAC,GAAG,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;YACnC,CAAC;YAED,MAAM,eAAe,GAAG,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,aAAa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AAC,QAAQ,CAAC,CAAC;gBACvC,MAAM,GAAG,SAAS,CAAC;gBACnB,UAAU,CAAC,GAAG,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;YACnC,CAAC;YAED,MAAM,eAAe,GAAG,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YAEjF,MAAM,CAAC,qBAAqB,CAC1B,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,sBAAsB,EAAE,EACjD,WAAW,CAAC,WAAW,EAAE,EACzB,eAAe,CAChB,CAAC;QACJ,CAAC,CAA6B;KAC/B,CAAC;AACJ,CAAC"}
@@ -3,10 +3,8 @@ export type ConnectionConfig = {
3
3
  };
4
4
  export declare class ConfigStore {
5
5
  private static instance;
6
- private _connectionConfig;
6
+ connectionConfigValue: Readonly<ConnectionConfig>;
7
7
  private constructor();
8
8
  static getInstance(): ConfigStore;
9
- get connectionConfig(): Readonly<ConnectionConfig>;
10
- set connectionConfig(config: ConnectionConfig);
11
9
  }
12
10
  //# sourceMappingURL=config-store.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"config-store.d.ts","sourceRoot":"","sources":["../../../../src/utils/config-store.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAMF,qBAAa,WAAW;IACtB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAc;IACrC,OAAO,CAAC,iBAAiB,CAAyD;IAElF,OAAO;WAEO,WAAW,IAAI,WAAW;IAOxC,IAAW,gBAAgB,IAAI,QAAQ,CAAC,gBAAgB,CAAC,CAExD;IAED,IAAW,gBAAgB,CAAC,MAAM,EAAE,gBAAgB,EAEnD;CACF"}
1
+ {"version":3,"file":"config-store.d.ts","sourceRoot":"","sources":["../../../../src/utils/config-store.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAMF,qBAAa,WAAW;IACtB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAc;IAC9B,qBAAqB,EAAE,QAAQ,CAAC,gBAAgB,CAAC,CAA6B;IAErF,OAAO;WAEO,WAAW,IAAI,WAAW;CAOzC"}
@@ -3,7 +3,7 @@ const DEFAULT_CONNECTION_CONFIG = {
3
3
  };
4
4
  export class ConfigStore {
5
5
  static instance;
6
- _connectionConfig = DEFAULT_CONNECTION_CONFIG;
6
+ connectionConfigValue = DEFAULT_CONNECTION_CONFIG;
7
7
  constructor() { }
8
8
  static getInstance() {
9
9
  if (!ConfigStore.instance) {
@@ -11,11 +11,5 @@ export class ConfigStore {
11
11
  }
12
12
  return ConfigStore.instance;
13
13
  }
14
- get connectionConfig() {
15
- return this._connectionConfig;
16
- }
17
- set connectionConfig(config) {
18
- this._connectionConfig = config;
19
- }
20
14
  }
21
15
  //# sourceMappingURL=config-store.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"config-store.js","sourceRoot":"","sources":["../../../../src/utils/config-store.ts"],"names":[],"mappings":"AAIA,MAAM,yBAAyB,GAAqB;IAClD,SAAS,EAAE,KAAK;CACjB,CAAC;AAEF,MAAM,OAAO,WAAW;IACd,MAAM,CAAC,QAAQ,CAAc;IAC7B,iBAAiB,GAA+B,yBAAyB,CAAC;IAElF,gBAAuB,CAAC;IAEjB,MAAM,CAAC,WAAW;QACvB,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;YAC1B,WAAW,CAAC,QAAQ,GAAG,IAAI,WAAW,EAAE,CAAC;QAC3C,CAAC;QACD,OAAO,WAAW,CAAC,QAAQ,CAAC;IAC9B,CAAC;IAED,IAAW,gBAAgB;QACzB,OAAO,IAAI,CAAC,iBAAiB,CAAC;IAChC,CAAC;IAED,IAAW,gBAAgB,CAAC,MAAwB;QAClD,IAAI,CAAC,iBAAiB,GAAG,MAAM,CAAC;IAClC,CAAC;CACF"}
1
+ {"version":3,"file":"config-store.js","sourceRoot":"","sources":["../../../../src/utils/config-store.ts"],"names":[],"mappings":"AAIA,MAAM,yBAAyB,GAAqB;IAClD,SAAS,EAAE,KAAK;CACjB,CAAC;AAEF,MAAM,OAAO,WAAW;IACd,MAAM,CAAC,QAAQ,CAAc;IAC9B,qBAAqB,GAA+B,yBAAyB,CAAC;IAErF,gBAAuB,CAAC;IAEjB,MAAM,CAAC,WAAW;QACvB,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;YAC1B,WAAW,CAAC,QAAQ,GAAG,IAAI,WAAW,EAAE,CAAC;QAC3C,CAAC;QAED,OAAO,WAAW,CAAC,QAAQ,CAAC;IAC9B,CAAC;CACF"}
@@ -618,26 +618,6 @@ function estimateObjectSize(obj) {
618
618
  return SMALL_INTEGER_SIZE;
619
619
  }
620
620
 
621
- const DEFAULT_CONNECTION_CONFIG = {
622
- debugLogs: false
623
- };
624
- class ConfigStore {
625
- _connectionConfig = DEFAULT_CONNECTION_CONFIG;
626
- constructor() {}
627
- static getInstance() {
628
- if (!ConfigStore.instance) {
629
- ConfigStore.instance = new ConfigStore();
630
- }
631
- return ConfigStore.instance;
632
- }
633
- get connectionConfig() {
634
- return this._connectionConfig;
635
- }
636
- set connectionConfig(config) {
637
- this._connectionConfig = config;
638
- }
639
- }
640
-
641
621
  // This Source Code Form is subject to the terms of the Mozilla Public
642
622
  // License, v2.0. If a copy of the MPL was not distributed with this
643
623
  // file, You can obtain one at http://mozilla.org/MPL/2.0/
@@ -4103,4 +4083,4 @@ var tslib_es6$1 = /*#__PURE__*/Object.freeze({
4103
4083
  default: tslib_es6
4104
4084
  });
4105
4085
 
4106
- export { baseGetAllKeys as $, AppError as A, getAllPanelIds as B, ConfigStore as C, getConfigsForNestedPanelsInsideTab as D, reorderTabWithinTabPanel as E, moveTabBetweenTabPanels as F, isTabPanelConfig as G, DEFAULT_TAB_PANEL_CONFIG as H, addPanelToTab as I, createAddUpdates as J, filterMap as K, Logger$1 as L, uniq as M, useShallowMemo as N, CurrentLayoutContext as O, MessageOrderTracker as P, AppConfigurationContext as Q, __rest as R, __spreadArray as S, TAB_PANEL_TYPE as T, isSymbol as U, toString as V, keys as W, getSymbols as X, stubArray as Y, arrayPush as Z, __assign as _, baseEach as a, getAllKeys as a0, arrayMap as a1, baseUniq as a2, useMustNotChange as a3, useCurrentLayoutActions as a4, useCurrentLayoutSelector as a5, usePanelMosaicId as a6, useSelectedPanels as a7, PANEL_TITLE_CONFIG_KEY as a8, noop as a9, useAppConfiguration as aa, useValueChangedDebugLog as ab, useJsonTreeTheme as ac, tslib_es6$1 as ad, baseFlatten as b, baseIteratee as c, dist as d, estimateObjectSize as e, baseDifference as f, getTag as g, baseKeys as h, baseIsEqual as i, castPath as j, baseGet as k, hasIn as l, shallowequal$1 as m, getPanelIdsInsideTabPanels as n, getPanelTypeFromId as o, removePanelFromTabPanel as p, getPanelIdForType as q, reportError as r, sendNotification as s, toKey as t, useGuaranteedContext as u, getPathFromNode as v, updateTabPanelLayout as w, getSaveConfigsPayloadForAddedPanel as x, replaceAndRemovePanels as y, inlineTabPanelLayouts as z };
4086
+ export { getAllKeys as $, AppError as A, getAllPanelIds as B, getConfigsForNestedPanelsInsideTab as C, reorderTabWithinTabPanel as D, moveTabBetweenTabPanels as E, isTabPanelConfig as F, DEFAULT_TAB_PANEL_CONFIG as G, addPanelToTab as H, createAddUpdates as I, filterMap as J, uniq as K, Logger$1 as L, useShallowMemo as M, CurrentLayoutContext as N, MessageOrderTracker as O, AppConfigurationContext as P, __rest as Q, __spreadArray as R, isSymbol as S, TAB_PANEL_TYPE as T, toString as U, keys as V, getSymbols as W, stubArray as X, arrayPush as Y, baseGetAllKeys as Z, __assign as _, baseEach as a, arrayMap as a0, baseUniq as a1, useMustNotChange as a2, useCurrentLayoutActions as a3, useCurrentLayoutSelector as a4, usePanelMosaicId as a5, useSelectedPanels as a6, PANEL_TITLE_CONFIG_KEY as a7, noop as a8, useAppConfiguration as a9, useValueChangedDebugLog as aa, useJsonTreeTheme as ab, tslib_es6$1 as ac, baseFlatten as b, baseIteratee as c, dist as d, estimateObjectSize as e, baseDifference as f, getTag as g, baseKeys as h, baseIsEqual as i, castPath as j, baseGet as k, hasIn as l, shallowequal$1 as m, getPanelIdsInsideTabPanels as n, getPanelTypeFromId as o, removePanelFromTabPanel as p, getPanelIdForType as q, reportError as r, sendNotification as s, toKey as t, useGuaranteedContext as u, getPathFromNode as v, updateTabPanelLayout as w, getSaveConfigsPayloadForAddedPanel as x, replaceAndRemovePanels as y, inlineTabPanelLayouts as z };
@@ -1,4 +1,4 @@
1
- import { ad as tslib_es6, L as Logger } from './tslib.es6-DOg7wCvB.js';
1
+ import { ac as tslib_es6, L as Logger } from './tslib.es6-DRjIPBeG.js';
2
2
  import { d as getAugmentedNamespace } from './protobuf-B55JS-Px.js';
3
3
  import 'react';
4
4
  import 'zustand';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luxonis/visualizer-protobuf",
3
- "version": "2.48.0",
3
+ "version": "2.49.0",
4
4
  "type": "module",
5
5
  "description": "RobotHub Visualizer Library",
6
6
  "author": "Luxonis Corp",