@luxonis/visualizer-protobuf 2.46.0 → 2.47.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 (36) hide show
  1. package/dist/{deserialization.worker-CV6Id_6m.js → deserialization.worker-CU3aAUQR.js} +7 -2
  2. package/dist/{index-B_WkZK5b.js → index-0WOnpdYZ.js} +2 -2
  3. package/dist/{index-Cjt5Hi3s.js → index-B66BfRQZ.js} +2 -2
  4. package/dist/{index-ff1kTzaW.js → index-B9TuVGb6.js} +2 -2
  5. package/dist/{index-BoWfJ3jL.js → index-BFkDx_vz.js} +2 -2
  6. package/dist/{index-B7nj_5U_.js → index-BL20wz16.js} +2 -2
  7. package/dist/{index-DtEtnArD.js → index-BNOD5xue.js} +2 -2
  8. package/dist/{index-CLYGtCqg.js → index-BTDlyuOh.js} +2 -2
  9. package/dist/{index-CaSiKV0w.js → index-BdDtoRR-.js} +2 -2
  10. package/dist/{index-FjwoQBwa.js → index-BgncB4lH.js} +4 -4
  11. package/dist/{index-B3otsYGR.js → index-CKKrYBmd.js} +2 -2
  12. package/dist/{index-D3v8Tab6.js → index-CfPI9o_g.js} +2 -2
  13. package/dist/{index-Cbu4R-Ou.js → index-D0hutTdc.js} +2 -2
  14. package/dist/{index-87wHKS0R.js → index-DApEiWis.js} +2 -2
  15. package/dist/{index-BUfJBOfG.js → index-DEIPZyYO.js} +2 -2
  16. package/dist/{index-BnVGquYj.js → index-DnGV1aQJ.js} +2 -2
  17. package/dist/{index-uAPfbADO.js → index-Dv0q7Hu9.js} +2 -2
  18. package/dist/{index-DNt3mAbf.js → index-PFqtyIuA.js} +2 -2
  19. package/dist/{index-DO2F3hfT.js → index-VvgQVHup.js} +29 -24
  20. package/dist/{index-DfKsehgj.js → index-eR1kHZO9.js} +3 -3
  21. package/dist/index.js +2 -2
  22. package/dist/lib/src/connection/connection.d.ts +2 -1
  23. package/dist/lib/src/connection/connection.d.ts.map +1 -1
  24. package/dist/lib/src/connection/connection.js +4 -1
  25. package/dist/lib/src/connection/connection.js.map +1 -1
  26. package/dist/lib/src/messaging/deserialization.worker.d.ts.map +1 -1
  27. package/dist/lib/src/messaging/deserialization.worker.js +4 -0
  28. package/dist/lib/src/messaging/deserialization.worker.js.map +1 -1
  29. package/dist/lib/src/output.css +3 -0
  30. package/dist/lib/src/utils/config-store.d.ts +12 -0
  31. package/dist/lib/src/utils/config-store.d.ts.map +1 -0
  32. package/dist/lib/src/utils/config-store.js +21 -0
  33. package/dist/lib/src/utils/config-store.js.map +1 -0
  34. package/dist/{tslib.es6-D9ciouxB.js → tslib.es6-1KojRmQN.js} +21 -1
  35. package/dist/{useMessageReducer-DaJKuX4-.js → useMessageReducer-CFR_a3dC.js} +1 -1
  36. 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-DaJKuX4-.js';
3
- import { e as estimateObjectSize, d as dist } from './tslib.es6-D9ciouxB.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
4
  import { T as Type, P as PointsAnnotationType, a as protobufsBySchema, b as Profile } from './protobuf-BlRCdy5s.js';
5
5
  import 'react';
6
6
  import { i as isCapableOfEncodedStream } from './encoding-DqlhpFR2.js';
@@ -1128,6 +1128,11 @@ async function deserializeDepthAiMessage(args) {
1128
1128
  callback,
1129
1129
  topic
1130
1130
  } = args;
1131
+ if (ConfigStore.getInstance().connectionConfig.debugLogs) {
1132
+ console.debug(`[DepthAI] Received message of type ${type} on topic ${topic}`, {
1133
+ message
1134
+ });
1135
+ }
1131
1136
  switch (type) {
1132
1137
  case "encodedFrame":
1133
1138
  {
@@ -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-DO2F3hfT.js';
2
- import './tslib.es6-D9ciouxB.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-VvgQVHup.js';
2
+ import './tslib.es6-1KojRmQN.js';
3
3
  import 'react';
4
4
  import 'react-mosaic-component';
5
5
  import './protobuf-BlRCdy5s.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-DO2F3hfT.js';
2
- import './tslib.es6-D9ciouxB.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-VvgQVHup.js';
2
+ import './tslib.es6-1KojRmQN.js';
3
3
  import 'react';
4
4
  import 'react-mosaic-component';
5
5
  import './protobuf-BlRCdy5s.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-DO2F3hfT.js';
2
- import './tslib.es6-D9ciouxB.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-VvgQVHup.js';
2
+ import './tslib.es6-1KojRmQN.js';
3
3
  import 'react';
4
4
  import 'react-mosaic-component';
5
5
  import './protobuf-BlRCdy5s.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-DO2F3hfT.js';
2
- import './tslib.es6-D9ciouxB.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-VvgQVHup.js';
2
+ import './tslib.es6-1KojRmQN.js';
3
3
  import 'react';
4
4
  import 'react-mosaic-component';
5
5
  import './protobuf-BlRCdy5s.js';
@@ -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-DO2F3hfT.js';
2
- import './tslib.es6-D9ciouxB.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-VvgQVHup.js';
2
+ import './tslib.es6-1KojRmQN.js';
3
3
  import 'react';
4
4
  import 'react-mosaic-component';
5
5
  import './protobuf-BlRCdy5s.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-DO2F3hfT.js';
2
- import './tslib.es6-D9ciouxB.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-VvgQVHup.js';
2
+ import './tslib.es6-1KojRmQN.js';
3
3
  import 'react';
4
4
  import 'react-mosaic-component';
5
5
  import './protobuf-BlRCdy5s.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-DO2F3hfT.js';
2
- import './tslib.es6-D9ciouxB.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-VvgQVHup.js';
2
+ import './tslib.es6-1KojRmQN.js';
3
3
  import 'react';
4
4
  import 'react-mosaic-component';
5
5
  import './protobuf-BlRCdy5s.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-DO2F3hfT.js';
2
- import './tslib.es6-D9ciouxB.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-VvgQVHup.js';
2
+ import './tslib.es6-1KojRmQN.js';
3
3
  import 'react';
4
4
  import 'react-mosaic-component';
5
5
  import './protobuf-BlRCdy5s.js';
@@ -1,14 +1,14 @@
1
- import { ImagePanel } from './index-DfKsehgj.js';
1
+ import { ImagePanel } from './index-eR1kHZO9.js';
2
2
  import 'react';
3
3
  import 'react-dom';
4
- import './tslib.es6-D9ciouxB.js';
4
+ import './tslib.es6-1KojRmQN.js';
5
5
  import 'react-mosaic-component';
6
6
  import './protobuf-BlRCdy5s.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-DO2F3hfT.js';
11
+ import './index-VvgQVHup.js';
12
12
  import './comlink-DHMAu6X7.js';
13
13
  import './utils-Hzt3wxhG.js';
14
14
  import './FoxgloveServer-CruhDQNF.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-DaJKuX4-.js';
28
+ import './useMessageReducer-CFR_a3dC.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 { 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-DO2F3hfT.js';
2
- import './tslib.es6-D9ciouxB.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-VvgQVHup.js';
2
+ import './tslib.es6-1KojRmQN.js';
3
3
  import 'react';
4
4
  import 'react-mosaic-component';
5
5
  import './protobuf-BlRCdy5s.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-DO2F3hfT.js';
2
- import './tslib.es6-D9ciouxB.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-VvgQVHup.js';
2
+ import './tslib.es6-1KojRmQN.js';
3
3
  import 'react';
4
4
  import 'react-mosaic-component';
5
5
  import './protobuf-BlRCdy5s.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-DO2F3hfT.js';
2
- import './tslib.es6-D9ciouxB.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-VvgQVHup.js';
2
+ import './tslib.es6-1KojRmQN.js';
3
3
  import 'react';
4
4
  import 'react-mosaic-component';
5
5
  import './protobuf-BlRCdy5s.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-DO2F3hfT.js';
2
- import './tslib.es6-D9ciouxB.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-VvgQVHup.js';
2
+ import './tslib.es6-1KojRmQN.js';
3
3
  import 'react';
4
4
  import 'react-mosaic-component';
5
5
  import './protobuf-BlRCdy5s.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-DO2F3hfT.js';
2
- import './tslib.es6-D9ciouxB.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-VvgQVHup.js';
2
+ import './tslib.es6-1KojRmQN.js';
3
3
  import 'react';
4
4
  import 'react-mosaic-component';
5
5
  import './protobuf-BlRCdy5s.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-DO2F3hfT.js';
2
- import './tslib.es6-D9ciouxB.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-VvgQVHup.js';
2
+ import './tslib.es6-1KojRmQN.js';
3
3
  import 'react';
4
4
  import 'react-mosaic-component';
5
5
  import './protobuf-BlRCdy5s.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-DO2F3hfT.js';
2
- import './tslib.es6-D9ciouxB.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-VvgQVHup.js';
2
+ import './tslib.es6-1KojRmQN.js';
3
3
  import 'react';
4
4
  import 'react-mosaic-component';
5
5
  import './protobuf-BlRCdy5s.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-DO2F3hfT.js';
2
- import './tslib.es6-D9ciouxB.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-VvgQVHup.js';
2
+ import './tslib.es6-1KojRmQN.js';
3
3
  import 'react';
4
4
  import 'react-mosaic-component';
5
5
  import './protobuf-BlRCdy5s.js';
@@ -1,4 +1,4 @@
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-D9ciouxB.js';
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';
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 protobufSchemaNameToType, g as getDefaultExportFromCjs, c as commonjsGlobal } from './protobuf-BlRCdy5s.js';
@@ -26,7 +26,7 @@ import { defineGlobalStyles, defineTokens as defineTokens$1, defineKeyframes, de
26
26
 
27
27
  var e=[],t$1=[];function n$1(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r.prepend?"prepend":"append",d=!0===r.singleTag,i="string"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName("head")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t$1[u]={}),a=t$1[u]&&t$1[u][s]?t$1[u][s]:t$1[u][s]=c();}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n));}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a="prepend"===s?"afterbegin":"beforeend";return i.insertAdjacentElement(a,e),e}}
28
28
 
29
- var css$b = "/*! tailwindcss v4.1.10 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer theme, base, components, utilities;\n@layer theme {\n :root, :host {\n --font-sans: ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\",\n \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\",\n \"Courier New\", monospace;\n --color-gray-700: oklch(0.373 0.034 259.733);\n --color-white: #fff;\n --spacing: 0.25rem;\n --font-weight-semibold: 600;\n --radius-lg: 0.5rem;\n --default-font-family: var(--font-sans);\n --default-mono-font-family: var(--font-mono);\n }\n}\n@layer base {\n *, ::after, ::before, ::backdrop, ::file-selector-button {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: 0 solid;\n }\n html, :host {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n font-feature-settings: var(--default-font-feature-settings, normal);\n font-variation-settings: var(--default-font-variation-settings, normal);\n -webkit-tap-highlight-color: transparent;\n }\n hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n }\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n h1, h2, h3, h4, h5, h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n a {\n color: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n }\n b, strong {\n font-weight: bolder;\n }\n code, kbd, samp, pre {\n font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace);\n font-feature-settings: var(--default-mono-font-feature-settings, normal);\n font-variation-settings: var(--default-mono-font-variation-settings, normal);\n font-size: 1em;\n }\n small {\n font-size: 80%;\n }\n sub, sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub {\n bottom: -0.25em;\n }\n sup {\n top: -0.5em;\n }\n table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n }\n :-moz-focusring {\n outline: auto;\n }\n progress {\n vertical-align: baseline;\n }\n summary {\n display: list-item;\n }\n ol, ul, menu {\n list-style: none;\n }\n img, svg, video, canvas, audio, iframe, embed, object {\n display: block;\n vertical-align: middle;\n }\n img, video {\n max-width: 100%;\n height: auto;\n }\n button, input, select, optgroup, textarea, ::file-selector-button {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n border-radius: 0;\n background-color: transparent;\n opacity: 1;\n }\n :where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n }\n :where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n }\n ::file-selector-button {\n margin-inline-end: 4px;\n }\n ::placeholder {\n opacity: 1;\n }\n @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {\n ::placeholder {\n color: currentColor;\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, currentColor 50%, transparent);\n }\n }\n }\n textarea {\n resize: vertical;\n }\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n ::-webkit-date-and-time-value {\n min-height: 1lh;\n text-align: inherit;\n }\n ::-webkit-datetime-edit {\n display: inline-flex;\n }\n ::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n }\n ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n }\n :-moz-ui-invalid {\n box-shadow: none;\n }\n button, input:where([type=\"button\"], [type=\"reset\"], [type=\"submit\"]), ::file-selector-button {\n appearance: button;\n }\n ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {\n height: auto;\n }\n [hidden]:where(:not([hidden=\"until-found\"])) {\n display: none !important;\n }\n}\n@layer utilities {\n .visible {\n visibility: visible;\n }\n .fixed {\n position: fixed;\n }\n .ml-auto {\n margin-left: auto;\n }\n .flex {\n display: flex;\n }\n .grow {\n flex-grow: 1;\n }\n .flex-col {\n flex-direction: column;\n }\n .items-start {\n align-items: flex-start;\n }\n .overflow-hidden {\n overflow: hidden;\n }\n .rounded {\n border-radius: 0.25rem;\n }\n .rounded-lg {\n border-radius: var(--radius-lg);\n }\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .border-solid {\n --tw-border-style: solid;\n border-style: solid;\n }\n .border-\\[\\#d3d3d3d9\\] {\n border-color: #d3d3d3d9;\n }\n .bg-white {\n background-color: var(--color-white);\n }\n .px-4 {\n padding-inline: calc(var(--spacing) * 4);\n }\n .text-\\[14px\\]\\/\\[14px\\] {\n font-size: 14px;\n line-height: 14px;\n }\n .text-\\[20px\\]\\/\\[20px\\] {\n font-size: 20px;\n line-height: 20px;\n }\n .font-semibold {\n --tw-font-weight: var(--font-weight-semibold);\n font-weight: var(--font-weight-semibold);\n }\n .whitespace-nowrap {\n white-space: nowrap;\n }\n .text-gray-700 {\n color: var(--color-gray-700);\n }\n .outline {\n outline-style: var(--tw-outline-style);\n outline-width: 1px;\n }\n .xl\\:flex-row {\n @media (width >= 80rem) {\n flex-direction: row;\n }\n }\n .xl\\:items-end {\n @media (width >= 80rem) {\n align-items: flex-end;\n }\n }\n .xl\\:pb-\\[2px\\] {\n @media (width >= 80rem) {\n padding-bottom: 2px;\n }\n }\n}\n@property --tw-border-style {\n syntax: \"*\";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-font-weight {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-outline-style {\n syntax: \"*\";\n inherits: false;\n initial-value: solid;\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *, ::before, ::after, ::backdrop {\n --tw-border-style: solid;\n --tw-font-weight: initial;\n --tw-outline-style: solid;\n }\n }\n}\n";
29
+ var css$b = "/*! tailwindcss v4.1.10 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer theme, base, components, utilities;\n@layer theme {\n :root, :host {\n --font-sans: ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\",\n \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\",\n \"Courier New\", monospace;\n --color-gray-700: oklch(0.373 0.034 259.733);\n --color-white: #fff;\n --spacing: 0.25rem;\n --font-weight-semibold: 600;\n --radius-lg: 0.5rem;\n --default-font-family: var(--font-sans);\n --default-mono-font-family: var(--font-mono);\n }\n}\n@layer base {\n *, ::after, ::before, ::backdrop, ::file-selector-button {\n box-sizing: border-box;\n margin: 0;\n padding: 0;\n border: 0 solid;\n }\n html, :host {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n tab-size: 4;\n font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n font-feature-settings: var(--default-font-feature-settings, normal);\n font-variation-settings: var(--default-font-variation-settings, normal);\n -webkit-tap-highlight-color: transparent;\n }\n hr {\n height: 0;\n color: inherit;\n border-top-width: 1px;\n }\n abbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n h1, h2, h3, h4, h5, h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n a {\n color: inherit;\n -webkit-text-decoration: inherit;\n text-decoration: inherit;\n }\n b, strong {\n font-weight: bolder;\n }\n code, kbd, samp, pre {\n font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace);\n font-feature-settings: var(--default-mono-font-feature-settings, normal);\n font-variation-settings: var(--default-mono-font-variation-settings, normal);\n font-size: 1em;\n }\n small {\n font-size: 80%;\n }\n sub, sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n sub {\n bottom: -0.25em;\n }\n sup {\n top: -0.5em;\n }\n table {\n text-indent: 0;\n border-color: inherit;\n border-collapse: collapse;\n }\n :-moz-focusring {\n outline: auto;\n }\n progress {\n vertical-align: baseline;\n }\n summary {\n display: list-item;\n }\n ol, ul, menu {\n list-style: none;\n }\n img, svg, video, canvas, audio, iframe, embed, object {\n display: block;\n vertical-align: middle;\n }\n img, video {\n max-width: 100%;\n height: auto;\n }\n button, input, select, optgroup, textarea, ::file-selector-button {\n font: inherit;\n font-feature-settings: inherit;\n font-variation-settings: inherit;\n letter-spacing: inherit;\n color: inherit;\n border-radius: 0;\n background-color: transparent;\n opacity: 1;\n }\n :where(select:is([multiple], [size])) optgroup {\n font-weight: bolder;\n }\n :where(select:is([multiple], [size])) optgroup option {\n padding-inline-start: 20px;\n }\n ::file-selector-button {\n margin-inline-end: 4px;\n }\n ::placeholder {\n opacity: 1;\n }\n @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {\n ::placeholder {\n color: currentColor;\n @supports (color: color-mix(in lab, red, red)) {\n color: color-mix(in oklab, currentColor 50%, transparent);\n }\n }\n }\n textarea {\n resize: vertical;\n }\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n ::-webkit-date-and-time-value {\n min-height: 1lh;\n text-align: inherit;\n }\n ::-webkit-datetime-edit {\n display: inline-flex;\n }\n ::-webkit-datetime-edit-fields-wrapper {\n padding: 0;\n }\n ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {\n padding-block: 0;\n }\n :-moz-ui-invalid {\n box-shadow: none;\n }\n button, input:where([type=\"button\"], [type=\"reset\"], [type=\"submit\"]), ::file-selector-button {\n appearance: button;\n }\n ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {\n height: auto;\n }\n [hidden]:where(:not([hidden=\"until-found\"])) {\n display: none !important;\n }\n}\n@layer utilities {\n .visible {\n visibility: visible;\n }\n .fixed {\n position: fixed;\n }\n .static {\n position: static;\n }\n .ml-auto {\n margin-left: auto;\n }\n .flex {\n display: flex;\n }\n .grow {\n flex-grow: 1;\n }\n .flex-col {\n flex-direction: column;\n }\n .items-start {\n align-items: flex-start;\n }\n .overflow-hidden {\n overflow: hidden;\n }\n .rounded {\n border-radius: 0.25rem;\n }\n .rounded-lg {\n border-radius: var(--radius-lg);\n }\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .border-solid {\n --tw-border-style: solid;\n border-style: solid;\n }\n .border-\\[\\#d3d3d3d9\\] {\n border-color: #d3d3d3d9;\n }\n .bg-white {\n background-color: var(--color-white);\n }\n .px-4 {\n padding-inline: calc(var(--spacing) * 4);\n }\n .text-\\[14px\\]\\/\\[14px\\] {\n font-size: 14px;\n line-height: 14px;\n }\n .text-\\[20px\\]\\/\\[20px\\] {\n font-size: 20px;\n line-height: 20px;\n }\n .font-semibold {\n --tw-font-weight: var(--font-weight-semibold);\n font-weight: var(--font-weight-semibold);\n }\n .whitespace-nowrap {\n white-space: nowrap;\n }\n .text-gray-700 {\n color: var(--color-gray-700);\n }\n .outline {\n outline-style: var(--tw-outline-style);\n outline-width: 1px;\n }\n .xl\\:flex-row {\n @media (width >= 80rem) {\n flex-direction: row;\n }\n }\n .xl\\:items-end {\n @media (width >= 80rem) {\n align-items: flex-end;\n }\n }\n .xl\\:pb-\\[2px\\] {\n @media (width >= 80rem) {\n padding-bottom: 2px;\n }\n }\n}\n@property --tw-border-style {\n syntax: \"*\";\n inherits: false;\n initial-value: solid;\n}\n@property --tw-font-weight {\n syntax: \"*\";\n inherits: false;\n}\n@property --tw-outline-style {\n syntax: \"*\";\n inherits: false;\n initial-value: solid;\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {\n *, ::before, ::after, ::backdrop {\n --tw-border-style: solid;\n --tw-font-weight: initial;\n --tw-outline-style: solid;\n }\n }\n}\n";
30
30
  n$1(css$b,{});
31
31
 
32
32
  // This Source Code Form is subject to the terms of the Mozilla Public
@@ -776,7 +776,7 @@ class DepthToPointcloudWorkerPool {
776
776
  // file, You can obtain one at http://mozilla.org/MPL/2.0/
777
777
 
778
778
  function initWorker(callback) {
779
- const workerWrap = wrap$3(new Worker(new URL("deserialization.worker-CV6Id_6m.js", import.meta.url), {
779
+ const workerWrap = wrap$3(new Worker(new URL("deserialization.worker-CU3aAUQR.js", import.meta.url), {
780
780
  type: "module",
781
781
  name: `message-decoder`
782
782
  }));
@@ -20310,7 +20310,8 @@ class VisualizerConnection extends FoxgloveConnection {
20310
20310
  constructor({
20311
20311
  type,
20312
20312
  data,
20313
- errorCallback
20313
+ errorCallback,
20314
+ debugLogs
20314
20315
  }) {
20315
20316
  super(type === "ws" ? data.connectionUrl : data.config.clientId);
20316
20317
  let worker;
@@ -20323,6 +20324,10 @@ class VisualizerConnection extends FoxgloveConnection {
20323
20324
  this.#config = data.config;
20324
20325
  worker = new WebRtcBridge(data.automaticTokenRefresh);
20325
20326
  }
20327
+ ConfigStore.getInstance().connectionConfig = {
20328
+ debugLogs: debugLogs ?? false
20329
+ };
20330
+ console.info("[VisualizerConnection] - Opening connection with following configuration", ConfigStore.getInstance().connectionConfig);
20326
20331
  this.#open(worker, errorCallback);
20327
20332
  }
20328
20333
  close() {
@@ -86731,7 +86736,7 @@ function legacy(parser) {
86731
86736
  return new LanguageSupport(StreamLanguage.define(parser));
86732
86737
  }
86733
86738
  function sql$1(dialectName) {
86734
- return import('./index-Cbu4R-Ou.js').then(m => m.sql({ dialect: m[dialectName] }));
86739
+ return import('./index-D0hutTdc.js').then(m => m.sql({ dialect: m[dialectName] }));
86735
86740
  }
86736
86741
  /**
86737
86742
  An array of language descriptions for known language packages.
@@ -86742,7 +86747,7 @@ const languages = [
86742
86747
  name: "C",
86743
86748
  extensions: ["c", "h", "ino"],
86744
86749
  load() {
86745
- return import('./index-D3v8Tab6.js').then(m => m.cpp());
86750
+ return import('./index-CfPI9o_g.js').then(m => m.cpp());
86746
86751
  }
86747
86752
  }),
86748
86753
  /*@__PURE__*/LanguageDescription.of({
@@ -86750,7 +86755,7 @@ const languages = [
86750
86755
  alias: ["cpp"],
86751
86756
  extensions: ["cpp", "c++", "cc", "cxx", "hpp", "h++", "hh", "hxx"],
86752
86757
  load() {
86753
- return import('./index-D3v8Tab6.js').then(m => m.cpp());
86758
+ return import('./index-CfPI9o_g.js').then(m => m.cpp());
86754
86759
  }
86755
86760
  }),
86756
86761
  /*@__PURE__*/LanguageDescription.of({
@@ -86770,7 +86775,7 @@ const languages = [
86770
86775
  name: "Go",
86771
86776
  extensions: ["go"],
86772
86777
  load() {
86773
- return import('./index-B7nj_5U_.js').then(m => m.go());
86778
+ return import('./index-BL20wz16.js').then(m => m.go());
86774
86779
  }
86775
86780
  }),
86776
86781
  /*@__PURE__*/LanguageDescription.of({
@@ -86785,7 +86790,7 @@ const languages = [
86785
86790
  name: "Java",
86786
86791
  extensions: ["java"],
86787
86792
  load() {
86788
- return import('./index-uAPfbADO.js').then(m => m.java());
86793
+ return import('./index-Dv0q7Hu9.js').then(m => m.java());
86789
86794
  }
86790
86795
  }),
86791
86796
  /*@__PURE__*/LanguageDescription.of({
@@ -86801,7 +86806,7 @@ const languages = [
86801
86806
  alias: ["json5"],
86802
86807
  extensions: ["json", "map"],
86803
86808
  load() {
86804
- return import('./index-CaSiKV0w.js').then(m => m.json());
86809
+ return import('./index-BdDtoRR-.js').then(m => m.json());
86805
86810
  }
86806
86811
  }),
86807
86812
  /*@__PURE__*/LanguageDescription.of({
@@ -86815,14 +86820,14 @@ const languages = [
86815
86820
  name: "LESS",
86816
86821
  extensions: ["less"],
86817
86822
  load() {
86818
- return import('./index-BUfJBOfG.js').then(m => m.less());
86823
+ return import('./index-DEIPZyYO.js').then(m => m.less());
86819
86824
  }
86820
86825
  }),
86821
86826
  /*@__PURE__*/LanguageDescription.of({
86822
86827
  name: "Liquid",
86823
86828
  extensions: ["liquid"],
86824
86829
  load() {
86825
- return import('./index-Cjt5Hi3s.js').then(m => m.liquid());
86830
+ return import('./index-B66BfRQZ.js').then(m => m.liquid());
86826
86831
  }
86827
86832
  }),
86828
86833
  /*@__PURE__*/LanguageDescription.of({
@@ -86848,7 +86853,7 @@ const languages = [
86848
86853
  name: "PHP",
86849
86854
  extensions: ["php", "php3", "php4", "php5", "php7", "phtml"],
86850
86855
  load() {
86851
- return import('./index-CLYGtCqg.js').then(m => m.php());
86856
+ return import('./index-BTDlyuOh.js').then(m => m.php());
86852
86857
  }
86853
86858
  }),
86854
86859
  /*@__PURE__*/LanguageDescription.of({
@@ -86865,28 +86870,28 @@ const languages = [
86865
86870
  extensions: ["BUILD", "bzl", "py", "pyw"],
86866
86871
  filename: /^(BUCK|BUILD)$/,
86867
86872
  load() {
86868
- return import('./index-B3otsYGR.js').then(m => m.python());
86873
+ return import('./index-CKKrYBmd.js').then(m => m.python());
86869
86874
  }
86870
86875
  }),
86871
86876
  /*@__PURE__*/LanguageDescription.of({
86872
86877
  name: "Rust",
86873
86878
  extensions: ["rs"],
86874
86879
  load() {
86875
- return import('./index-ff1kTzaW.js').then(m => m.rust());
86880
+ return import('./index-B9TuVGb6.js').then(m => m.rust());
86876
86881
  }
86877
86882
  }),
86878
86883
  /*@__PURE__*/LanguageDescription.of({
86879
86884
  name: "Sass",
86880
86885
  extensions: ["sass"],
86881
86886
  load() {
86882
- return import('./index-BnVGquYj.js').then(m => m.sass({ indented: true }));
86887
+ return import('./index-DnGV1aQJ.js').then(m => m.sass({ indented: true }));
86883
86888
  }
86884
86889
  }),
86885
86890
  /*@__PURE__*/LanguageDescription.of({
86886
86891
  name: "SCSS",
86887
86892
  extensions: ["scss"],
86888
86893
  load() {
86889
- return import('./index-BnVGquYj.js').then(m => m.sass());
86894
+ return import('./index-DnGV1aQJ.js').then(m => m.sass());
86890
86895
  }
86891
86896
  }),
86892
86897
  /*@__PURE__*/LanguageDescription.of({
@@ -86917,7 +86922,7 @@ const languages = [
86917
86922
  name: "WebAssembly",
86918
86923
  extensions: ["wat", "wast"],
86919
86924
  load() {
86920
- return import('./index-87wHKS0R.js').then(m => m.wast());
86925
+ return import('./index-DApEiWis.js').then(m => m.wast());
86921
86926
  }
86922
86927
  }),
86923
86928
  /*@__PURE__*/LanguageDescription.of({
@@ -86925,7 +86930,7 @@ const languages = [
86925
86930
  alias: ["rss", "wsdl", "xsd"],
86926
86931
  extensions: ["xml", "xsl", "xsd", "svg"],
86927
86932
  load() {
86928
- return import('./index-BoWfJ3jL.js').then(m => m.xml());
86933
+ return import('./index-BFkDx_vz.js').then(m => m.xml());
86929
86934
  }
86930
86935
  }),
86931
86936
  /*@__PURE__*/LanguageDescription.of({
@@ -86933,7 +86938,7 @@ const languages = [
86933
86938
  alias: ["yml"],
86934
86939
  extensions: ["yaml", "yml"],
86935
86940
  load() {
86936
- return import('./index-B_WkZK5b.js').then(m => m.yaml());
86941
+ return import('./index-0WOnpdYZ.js').then(m => m.yaml());
86937
86942
  }
86938
86943
  }),
86939
86944
  // Legacy modes ported from CodeMirror 5
@@ -87729,13 +87734,13 @@ const languages = [
87729
87734
  name: "Vue",
87730
87735
  extensions: ["vue"],
87731
87736
  load() {
87732
- return import('./index-DNt3mAbf.js').then(m => m.vue());
87737
+ return import('./index-PFqtyIuA.js').then(m => m.vue());
87733
87738
  }
87734
87739
  }),
87735
87740
  /*@__PURE__*/LanguageDescription.of({
87736
87741
  name: "Angular Template",
87737
87742
  load() {
87738
- return import('./index-DtEtnArD.js').then(m => m.angular());
87743
+ return import('./index-BNOD5xue.js').then(m => m.angular());
87739
87744
  }
87740
87745
  })
87741
87746
  ];
@@ -166404,7 +166409,7 @@ function createRenderDelaySampler() {
166404
166409
  };
166405
166410
  }
166406
166411
 
166407
- const ImagePanelComponent = /*#__PURE__*/React__default.lazy(async () => await import('./index-FjwoQBwa.js'));
166412
+ const ImagePanelComponent = /*#__PURE__*/React__default.lazy(async () => await import('./index-BgncB4lH.js'));
166408
166413
  const ImagePanelBody = ({
166409
166414
  topic,
166410
166415
  frameRenderedEvent,
@@ -166481,7 +166486,7 @@ const DEFAULT_CAMERA_STATE = {
166481
166486
  // License, v2.0. If a copy of the MPL was not distributed with this
166482
166487
  // file, You can obtain one at http://mozilla.org/MPL/2.0/
166483
166488
 
166484
- const ThreeDeeRenderComponent = /*#__PURE__*/React__default.lazy(async () => await import('./index-DfKsehgj.js'));
166489
+ const ThreeDeeRenderComponent = /*#__PURE__*/React__default.lazy(async () => await import('./index-eR1kHZO9.js'));
166485
166490
  const PointCloudPanelBody = ({
166486
166491
  topic,
166487
166492
  frameRenderedEvent
@@ -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 { 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-D9ciouxB.js';
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-1KojRmQN.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-DO2F3hfT.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-VvgQVHup.js';
7
7
  import { MosaicDragType, MosaicContext, MosaicWindowContext, getOtherBranch, getNodeAtPath } from 'react-mosaic-component';
8
- import { t as typescript } from './useMessageReducer-DaJKuX4-.js';
8
+ import { t as typescript } from './useMessageReducer-CFR_a3dC.js';
9
9
  import { g as getDefaultExportFromCjs, c as commonjsGlobal, d as getAugmentedNamespace } from './protobuf-BlRCdy5s.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';
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-DO2F3hfT.js';
2
- import './tslib.es6-D9ciouxB.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-VvgQVHup.js';
2
+ import './tslib.es6-1KojRmQN.js';
3
3
  import 'react';
4
4
  import 'react-mosaic-component';
5
5
  import './protobuf-BlRCdy5s.js';
@@ -34,10 +34,11 @@ export type VisualizerConnectionArgs = ({
34
34
  };
35
35
  }) & {
36
36
  errorCallback?: DeserializationErrorCallback;
37
+ debugLogs?: boolean;
37
38
  };
38
39
  export declare class VisualizerConnection extends FoxgloveConnection {
39
40
  #private;
40
- constructor({ type, data, errorCallback }: VisualizerConnectionArgs);
41
+ constructor({ type, data, errorCallback, debugLogs }: VisualizerConnectionArgs);
41
42
  close(): void;
42
43
  on<E extends keyof ConnectionEventMap>(name: E, listener: ConnectionEventMap[E]): void;
43
44
  off<E extends keyof ConnectionEventMap>(name: E, listener: ConnectionEventMap[E]): void;
@@ -1 +1 @@
1
- {"version":3,"file":"connection.d.ts","sourceRoot":"","sources":["../../../../src/connection/connection.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAM1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAE9D,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD,OAAO,EAAE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,EAAE,QAAQ,EAAE,kBAAkB,CAAC,CAAC,CAAC,GAAG,IAAI;IAIjF,OAAO,CAAC,IAAI,EAAE,kBAAkB,GAAG,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC;IAKjE,SAAS,CAAC,IAAI,EAAE;QAAE,MAAM,EAAE,MAAM,EAAE,CAAA;KAAE,GAAG,IAAI;IAO3C,WAAW,CAAC,IAAI,EAAE;QAAE,MAAM,EAAE,MAAM,EAAE,CAAA;KAAE,GAAG,IAAI;IAKpD,IAAW,SAAS,IAAI,OAAO,CAE9B;CAkCF"}
@@ -5,11 +5,12 @@ import { PlayerPresence } from "@foxglove/studio-base/players/types";
5
5
  import { FoxgloveWebSocketAdapter } from "./adapter.js";
6
6
  import { FoxgloveConnection } from "./foxglove-connection.js";
7
7
  import { WebRtcBridge } from "./webrtc/bridge.js";
8
+ import { ConfigStore } from "../utils/config-store";
8
9
  export class VisualizerConnection extends FoxgloveConnection {
9
10
  #url = null;
10
11
  #config = null;
11
12
  #adapter;
12
- constructor({ type, data, errorCallback }) {
13
+ constructor({ type, data, errorCallback, debugLogs }) {
13
14
  super(type === "ws" ? data.connectionUrl : data.config.clientId);
14
15
  let worker;
15
16
  if (type === "ws") {
@@ -20,6 +21,8 @@ export class VisualizerConnection extends FoxgloveConnection {
20
21
  this.#config = data.config;
21
22
  worker = new WebRtcBridge(data.automaticTokenRefresh);
22
23
  }
24
+ ConfigStore.getInstance().connectionConfig = { debugLogs: debugLogs ?? false };
25
+ console.info("[VisualizerConnection] - Opening connection with following configuration", ConfigStore.getInstance().connectionConfig);
23
26
  this.#open(worker, errorCallback);
24
27
  }
25
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,EAAE,MAAM,qCAAqC,CAAC;AAErE,OAAO,EAAE,wBAAwB,EA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,EAAE,YAAY,CAAC;IAAC,OAAO,EAAE,QAAQ,CAAA;CAAE,GACzC;IAAE,IAAI,EAAE,cAAc,CAAC;IAAC,OAAO,EAAE,YAAY,CAAA;CAAE,GAC/C;IAAE,IAAI,EAAE,iBAAiB,CAAC;IAAC,OAAO,EAAE,aAAa,CAAA;CAAE,GACnD;IAAE,IAAI,EAAE,uBAAuB,CAAC;IAAC,OAAO,EAAE,gBAAgB,CAAA;CAAE,GAC5D;IAAE,IAAI,EAAE,wBAAwB,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;AAqHV,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,O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AS,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"}
@@ -16,6 +16,7 @@ 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";
19
20
  export function errorInstanceToErrorCode(error) {
20
21
  if (error instanceof EncodedStreamNotSupportedError) {
21
22
  return "EncodedStreamNotSupported";
@@ -62,6 +63,9 @@ function handleMessageToDecode({ schema, buffer, topic }, errorCallback) {
62
63
  }
63
64
  async function deserializeDepthAiMessage(args) {
64
65
  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
+ }
65
69
  switch (type) {
66
70
  case "encodedFrame": {
67
71
  if (!isCapableOfEncodedStream()) {
@@ -1 +1 @@
1
- {"version":3,"file":"deserialization.worker.js","sourceRoot":"","sources":["../../../../src/messaging/deserialization.worker.ts"],"names":[],"mappings":"AAA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AO,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,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;IACnD,IAAI,KAAK,YAAY,8BAA8B,EAAE,CAAC;QACpD,OAAO,2BAA2B,CAAC;IACrC,CAAC;IAED,OAAO,OAAO,CAAC;AACjB,CAAC;AAED,MAAM,aAAa,GAAkB,IAAI,GAAG,EAAE,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AE,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"}
@@ -168,6 +168,9 @@
168
168
  .fixed {
169
169
  position: fixed;
170
170
  }
171
+ .static {
172
+ position: static;
173
+ }
171
174
  .ml-auto {
172
175
  margin-left: auto;
173
176
  }
@@ -0,0 +1,12 @@
1
+ export type ConnectionConfig = {
2
+ debugLogs?: boolean;
3
+ };
4
+ export declare class ConfigStore {
5
+ private static instance;
6
+ private _connectionConfig;
7
+ private constructor();
8
+ static getInstance(): ConfigStore;
9
+ get connectionConfig(): Readonly<ConnectionConfig>;
10
+ set connectionConfig(config: ConnectionConfig);
11
+ }
12
+ //# sourceMappingURL=config-store.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,21 @@
1
+ const DEFAULT_CONNECTION_CONFIG = {
2
+ debugLogs: false,
3
+ };
4
+ export class ConfigStore {
5
+ static instance;
6
+ _connectionConfig = DEFAULT_CONNECTION_CONFIG;
7
+ constructor() { }
8
+ static getInstance() {
9
+ if (!ConfigStore.instance) {
10
+ ConfigStore.instance = new ConfigStore();
11
+ }
12
+ return ConfigStore.instance;
13
+ }
14
+ get connectionConfig() {
15
+ return this._connectionConfig;
16
+ }
17
+ set connectionConfig(config) {
18
+ this._connectionConfig = config;
19
+ }
20
+ }
21
+ //# sourceMappingURL=config-store.js.map
@@ -0,0 +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"}
@@ -618,6 +618,26 @@ 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
+
621
641
  // This Source Code Form is subject to the terms of the Mozilla Public
622
642
  // License, v2.0. If a copy of the MPL was not distributed with this
623
643
  // file, You can obtain one at http://mozilla.org/MPL/2.0/
@@ -4083,4 +4103,4 @@ var tslib_es6$1 = /*#__PURE__*/Object.freeze({
4083
4103
  default: tslib_es6
4084
4104
  });
4085
4105
 
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 };
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 };
@@ -1,4 +1,4 @@
1
- import { ac as tslib_es6, L as Logger } from './tslib.es6-D9ciouxB.js';
1
+ import { ad as tslib_es6, L as Logger } from './tslib.es6-1KojRmQN.js';
2
2
  import { d as getAugmentedNamespace } from './protobuf-BlRCdy5s.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.46.0",
3
+ "version": "2.47.0",
4
4
  "type": "module",
5
5
  "description": "RobotHub Visualizer Library",
6
6
  "author": "Luxonis Corp",