@odigos/ui-kit 0.0.166 → 0.0.168

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 (39) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/lib/chunks/{ui-components-e8819fa0.js → ui-components-e54e1ba5.js} +491 -471
  3. package/lib/chunks/vendor-0965fadc.js +1 -0
  4. package/lib/components/_v2/badge/index.d.ts +1 -0
  5. package/lib/components/_v2/cards/section-card/index.d.ts +2 -1
  6. package/lib/components/_v2/drawer/header/index.d.ts +1 -0
  7. package/lib/components/_v2/hover-actions/index.d.ts +1 -0
  8. package/lib/components/_v2/loader/index.d.ts +12 -6
  9. package/lib/components/_v2/loader/spinner/index.d.ts +5 -0
  10. package/lib/components/_v2/loader/spinner-old/helpers/animation.d.ts +1 -0
  11. package/lib/components/_v2/loader/spinner-old/helpers/unitConverter.d.ts +22 -0
  12. package/lib/components/_v2/loader/spinner-old/index.d.ts +10 -0
  13. package/lib/components/v2.js +1 -1
  14. package/lib/components.js +1 -1
  15. package/lib/constants.js +1 -1
  16. package/lib/containers/_v2/central-connections/config-drawer/index.d.ts +1 -1
  17. package/lib/containers/_v2/central-connections/source-drawer/index.d.ts +1 -1
  18. package/lib/containers/_v2/central-connections/source-drawer/types.d.ts +0 -1
  19. package/lib/containers/v2.js +26 -22
  20. package/lib/containers.js +108 -108
  21. package/lib/contexts.js +1 -1
  22. package/lib/functions.js +1 -1
  23. package/lib/hooks.js +1 -1
  24. package/lib/snippets/_v2/actions/index.d.ts +2 -1
  25. package/lib/snippets/_v2/cancel-modal/index.d.ts +1 -1
  26. package/lib/snippets/_v2/delete-modal/index.d.ts +1 -1
  27. package/lib/snippets/_v2/rich-title/index.d.ts +1 -1
  28. package/lib/snippets.js +1 -1
  29. package/lib/store/index.d.ts +1 -1
  30. package/lib/store/useProgressStore.d.ts +22 -0
  31. package/lib/store.js +1 -1
  32. package/lib/theme.js +1 -1
  33. package/lib/types/snapshot/index.d.ts +2 -3
  34. package/lib/types/sources/index.d.ts +1 -1
  35. package/lib/types.js +1 -1
  36. package/lib/visuals.js +1 -1
  37. package/package.json +14 -14
  38. package/lib/chunks/vendor-55cc654c.js +0 -1
  39. package/lib/store/useInstrumentStore.d.ts +0 -13
package/lib/contexts.js CHANGED
@@ -1 +1 @@
1
- export{d0 as OdigosProvider,V as useOdigos}from"./chunks/ui-components-e8819fa0.js";import"./icons.js";import"react";import"styled-components";import"zustand";import"javascript-time-ago";import"./chunks/vendor-55cc654c.js";import"react-dom";import"@xyflow/react";import"react-error-boundary";import"lottie-react";import"prism-react-renderer";
1
+ export{d2 as OdigosProvider,_ as useOdigos}from"./chunks/ui-components-e54e1ba5.js";import"./icons.js";import"react";import"styled-components";import"zustand";import"javascript-time-ago";import"./chunks/vendor-0965fadc.js";import"react-dom";import"@xyflow/react";import"react-error-boundary";import"lottie-react";import"prism-react-renderer";
package/lib/functions.js CHANGED
@@ -1 +1 @@
1
- export{bE as capitalizeFirstLetter,cG as cleanObjectEmptyStringsValues,bz as compareCondition,f as deepClone,aM as filterActions,bd as filterDestinations,be as filterDestinationsByStream,bb as filterSources,bc as filterSourcesByStream,cH as flattenObjectKeys,b1 as formatBytes,ck as formatDuration,q as generateId,au as getActionIcon,aG as getConditionsBooleans,b5 as getContainersIcons,ce as getContainersInstrumentedCount,b4 as getDestinationIcon,aT as getEntityIcon,as as getEntityId,aO as getEntityLabel,cI as getIdFromSseTarget,b3 as getInstrumentationRuleIcon,cJ as getMainContainerLanguage,bI as getMetricForEntity,cK as getMonitorIcon,cL as getPlatformIcon,cM as getPlatformLabel,bR as getProgrammingLanguageIcon,cm as getRecursiveValues,cN as getSseTargetFromId,cO as getStatusColor,y as getStatusFromPodStatus,aK as getStatusIcon,c0 as getStatusTypeFromOdigosHealth,cP as getValueForRange,bV as getWorkloadId,bD as getYamlFieldsForDestination,c1 as hasUnhealthyInstances,a8 as isEmpty,cQ as isLegalK8sLabel,cf as isOverTime,c6 as isStringABoolean,cR as isTimeElapsed,cS as isValidVersion,aI as mapConditions,by as mapDestinationFieldsForDisplay,b0 as mapExportedSignals,cT as numbersOnly,c7 as parseBooleanFromString,cU as parseJsonStringToPrettyString,cV as removeEmptyValuesFromObject,bA as safeJsonParse,cW as safeJsonStringify,aY as sleep,bl as splitCamelString,cX as stringifyNonStringValues,cY as trimVersion}from"./chunks/ui-components-e8819fa0.js";import"./icons.js";import"react";import"styled-components";import"zustand";import"javascript-time-ago";import"./chunks/vendor-55cc654c.js";import"react-dom";import"@xyflow/react";import"react-error-boundary";import"lottie-react";import"prism-react-renderer";
1
+ export{bG as capitalizeFirstLetter,cI as cleanObjectEmptyStringsValues,bB as compareCondition,h as deepClone,aP as filterActions,bf as filterDestinations,bg as filterDestinationsByStream,bd as filterSources,be as filterSourcesByStream,cJ as flattenObjectKeys,b4 as formatBytes,cm as formatDuration,v as generateId,ax as getActionIcon,aJ as getConditionsBooleans,b8 as getContainersIcons,cg as getContainersInstrumentedCount,b7 as getDestinationIcon,aW as getEntityIcon,av as getEntityId,aR as getEntityLabel,cK as getIdFromSseTarget,b6 as getInstrumentationRuleIcon,cL as getMainContainerLanguage,bK as getMetricForEntity,cM as getMonitorIcon,cN as getPlatformIcon,cO as getPlatformLabel,bT as getProgrammingLanguageIcon,co as getRecursiveValues,cP as getSseTargetFromId,cQ as getStatusColor,J as getStatusFromPodStatus,aN as getStatusIcon,c2 as getStatusTypeFromOdigosHealth,cR as getValueForRange,bX as getWorkloadId,bF as getYamlFieldsForDestination,c3 as hasUnhealthyInstances,ab as isEmpty,cS as isLegalK8sLabel,ch as isOverTime,c8 as isStringABoolean,cT as isTimeElapsed,cU as isValidVersion,aL as mapConditions,bA as mapDestinationFieldsForDisplay,b3 as mapExportedSignals,cV as numbersOnly,c9 as parseBooleanFromString,cW as parseJsonStringToPrettyString,cX as removeEmptyValuesFromObject,bC as safeJsonParse,cY as safeJsonStringify,a$ as sleep,bn as splitCamelString,cZ as stringifyNonStringValues,c_ as trimVersion}from"./chunks/ui-components-e54e1ba5.js";import"./icons.js";import"react";import"styled-components";import"zustand";import"javascript-time-ago";import"./chunks/vendor-0965fadc.js";import"react-dom";import"@xyflow/react";import"react-error-boundary";import"lottie-react";import"prism-react-renderer";
package/lib/hooks.js CHANGED
@@ -1 +1 @@
1
- export{ar as useActionFormData,d1 as useBodyScroll,bf as useClickNode,bW as useClickNotification,b9 as useConnection,ba as useContainerSize,cg as useCopy,br as useDataStreamFormData,bC as useDestinationFormData,m as useGenericForm,d2 as useInfiniteScroll,bT as useInstrumentationRuleFormData,al as useKeyDown,bk as useOnClickOutside,bg as usePopup,bq as useSessionStorage,c8 as useSourceFormData,cc as useSourceSelectionFormData,o as useTimeAgo}from"./chunks/ui-components-e8819fa0.js";import"./icons.js";import"react";import"styled-components";import"zustand";import"javascript-time-ago";import"./chunks/vendor-55cc654c.js";import"react-dom";import"@xyflow/react";import"react-error-boundary";import"lottie-react";import"prism-react-renderer";
1
+ export{au as useActionFormData,d3 as useBodyScroll,bh as useClickNode,bY as useClickNotification,bb as useConnection,bc as useContainerSize,ci as useCopy,bt as useDataStreamFormData,bE as useDestinationFormData,p as useGenericForm,d4 as useInfiniteScroll,bV as useInstrumentationRuleFormData,ao as useKeyDown,bm as useOnClickOutside,bi as usePopup,bs as useSessionStorage,ca as useSourceFormData,ce as useSourceSelectionFormData,r as useTimeAgo}from"./chunks/ui-components-e54e1ba5.js";import"./icons.js";import"react";import"styled-components";import"zustand";import"javascript-time-ago";import"./chunks/vendor-0965fadc.js";import"react-dom";import"@xyflow/react";import"react-error-boundary";import"lottie-react";import"prism-react-renderer";
@@ -1,5 +1,6 @@
1
1
  import { FC } from 'react';
2
- import { type ButtonProps, type DropDataProps } from '@/components/_v2';
2
+ import { type ButtonProps } from '@/components/_v2/button';
3
+ import { type DropDataProps } from '@/components/_v2/drop-data';
3
4
  export declare enum ActionType {
4
5
  Button = "button",
5
6
  ButtonDropData = "button-drop-data"
@@ -1,4 +1,4 @@
1
1
  import { type FC } from 'react';
2
- import { type WarningModalProps } from '@/components/_v2';
2
+ import { type WarningModalProps } from '@/components/_v2/warning-modal';
3
3
  export type CancelModalProps = Pick<WarningModalProps, 'isOpen' | 'onClose' | 'onDeny' | 'onApprove'>;
4
4
  export declare const CancelModal: FC<CancelModalProps>;
@@ -1,5 +1,5 @@
1
1
  import { type FC } from 'react';
2
- import { type WarningModalProps } from '@/components/_v2';
2
+ import { type WarningModalProps } from '@/components/_v2/warning-modal';
3
3
  export interface DeleteModalProps extends Pick<WarningModalProps, 'isOpen' | 'onClose' | 'onDeny' | 'onApprove'> {
4
4
  action?: string;
5
5
  target?: string;
@@ -1,6 +1,6 @@
1
1
  import { ReactNode, type FC } from 'react';
2
2
  import type { SVG } from '@/types';
3
- import { type BadgeProps } from '@/components/_v2';
3
+ import { type BadgeProps } from '@/components/_v2/badge';
4
4
  export interface RichTitleProps {
5
5
  icon: SVG;
6
6
  title: string;
package/lib/snippets.js CHANGED
@@ -1 +1 @@
1
- export{bv as AddButton,c2 as CopyText,b_ as EditButton,bY as Flow,d3 as MapItemNode,d4 as NoDataNode,bw as NoteBackToSummary,c4 as PodContainer,c9 as SourceContainer}from"./chunks/ui-components-e8819fa0.js";import"./icons.js";import"react";import"styled-components";import"zustand";import"javascript-time-ago";import"./chunks/vendor-55cc654c.js";import"react-dom";import"@xyflow/react";import"react-error-boundary";import"lottie-react";import"prism-react-renderer";
1
+ export{bx as AddButton,c4 as CopyText,c0 as EditButton,b_ as Flow,d5 as MapItemNode,d6 as NoDataNode,by as NoteBackToSummary,c6 as PodContainer,cb as SourceContainer}from"./chunks/ui-components-e54e1ba5.js";import"./icons.js";import"react";import"styled-components";import"zustand";import"javascript-time-ago";import"./chunks/vendor-0965fadc.js";import"react-dom";import"@xyflow/react";import"react-error-boundary";import"lottie-react";import"prism-react-renderer";
@@ -4,8 +4,8 @@ export * from './useDataStreamStore';
4
4
  export * from './useDrawerStore';
5
5
  export * from './useEntityStore';
6
6
  export * from './useFilterStore';
7
- export * from './useInstrumentStore';
8
7
  export * from './useModalStore';
9
8
  export * from './useNotificationStore';
9
+ export * from './useProgressStore';
10
10
  export * from './useSelectedStore';
11
11
  export * from './useSetupStore';
@@ -0,0 +1,22 @@
1
+ export declare enum ProgressKeys {
2
+ Instrumenting = "instrumenting",
3
+ Uninstrumenting = "uninstrumenting",
4
+ BulkInstrumenting = "bulk-instrumenting",
5
+ BulkUninstrumenting = "bulk-uninstrumenting"
6
+ }
7
+ type ProgressKey = ProgressKeys | string;
8
+ interface ProgressValues {
9
+ total: number;
10
+ current: number;
11
+ percentage: number;
12
+ }
13
+ interface Store {
14
+ progress: {
15
+ [key: ProgressKey]: ProgressValues | undefined;
16
+ };
17
+ setProgress: (k: ProgressKey, v: Partial<ProgressValues>) => void;
18
+ addProgress: (k: ProgressKey, addToCurrent: number) => void;
19
+ resetProgress: (k: ProgressKey) => void;
20
+ }
21
+ export declare const useProgressStore: import("zustand").UseBoundStore<import("zustand").StoreApi<Store>>;
22
+ export {};
package/lib/store.js CHANGED
@@ -1 +1 @@
1
- export{c$ as useActiveNodeStore,cj as useDarkMode,u as useDataStreamStore,ak as useDrawerStore,aq as useEntityStore,aL as useFilterStore,b7 as useInstrumentStore,ay as useModalStore,bS as useNotificationStore,a_ as useSelectedStore,bs as useSetupStore}from"./chunks/ui-components-e8819fa0.js";import"./icons.js";import"react";import"styled-components";import"zustand";import"javascript-time-ago";import"./chunks/vendor-55cc654c.js";import"react-dom";import"@xyflow/react";import"react-error-boundary";import"lottie-react";import"prism-react-renderer";
1
+ export{P as ProgressKeys,d1 as useActiveNodeStore,cl as useDarkMode,u as useDataStreamStore,an as useDrawerStore,at as useEntityStore,aO as useFilterStore,aB as useModalStore,bU as useNotificationStore,g as useProgressStore,b1 as useSelectedStore,bu as useSetupStore}from"./chunks/ui-components-e54e1ba5.js";import"./icons.js";import"react";import"styled-components";import"zustand";import"javascript-time-ago";import"./chunks/vendor-0965fadc.js";import"react-dom";import"@xyflow/react";import"react-error-boundary";import"lottie-react";import"prism-react-renderer";
package/lib/theme.js CHANGED
@@ -1 +1 @@
1
- export{x as default}from"./chunks/ui-components-e8819fa0.js";import"styled-components";import"./icons.js";import"react";import"zustand";import"javascript-time-ago";import"./chunks/vendor-55cc654c.js";import"react-dom";import"@xyflow/react";import"react-error-boundary";import"lottie-react";import"prism-react-renderer";
1
+ export{H as default}from"./chunks/ui-components-e54e1ba5.js";import"styled-components";import"./icons.js";import"react";import"zustand";import"javascript-time-ago";import"./chunks/vendor-0965fadc.js";import"react-dom";import"@xyflow/react";import"react-error-boundary";import"lottie-react";import"prism-react-renderer";
@@ -5,7 +5,6 @@ export interface WorkloadSnapshot {
5
5
  selected: boolean;
6
6
  otelServiceName?: string | null;
7
7
  healthStatus?: string | null;
8
- forceDirty?: boolean;
9
8
  }
10
9
  export interface NamespaceSnapshot {
11
10
  name: string;
@@ -24,5 +23,5 @@ export interface AllClusterSnapshots {
24
23
  totalNamespaces: number;
25
24
  lastUpdated: number;
26
25
  }
27
- export type GetClusterSnapshot = (clusterId: string) => Promise<ClusterSnapshot | null>;
28
- export type GetAllClusterSnapshots = () => Promise<AllClusterSnapshots | null>;
26
+ export type GetAllClusterSnapshots = () => Promise<AllClusterSnapshots | undefined>;
27
+ export type GetClusterSnapshot = (clusterId: string) => Promise<ClusterSnapshot | undefined>;
@@ -13,7 +13,7 @@ export interface PersistSourceInput {
13
13
  }
14
14
  export type PersistSourcesFunc = (payload: PersistSourceInput) => Promise<{
15
15
  error?: string;
16
- }>;
16
+ } | undefined>;
17
17
  export interface SourceContainer {
18
18
  containerName: string;
19
19
  language: ProgrammingLanguages;
package/lib/types.js CHANGED
@@ -1 +1 @@
1
- export{co as ActionCategory,a5 as ActionKeyTypes,a0 as ActionType,cB as AddNodeTypes,cr as BooleanOperation,bN as CodeAttributesKeyTypes,ax as Crud,bL as CustomInstrumentationsKeyTypes,b6 as DesiredStateProgress,cC as DestinationTypes,cA as EdgeTypes,E as EntityTypes,ad as FieldTypes,bM as GolangCustomProbe,bJ as HeadersCollectionKeyTypes,a7 as InputTypes,cx as InstallationMethod,bP as InstrumentationRuleType,cy as IntrumentationStatus,bK as JavaCustomProbe,cs as JsonOperation,a1 as K8sAttributesFrom,ca as K8sResourceKind,ct as ListDirection,bX as NodeTypes,cq as NumberOperation,bx as OtherEntityTypes,aJ as OtherStatus,O as OtherStatusType,bO as PayloadCollectionKeyTypes,cw as PlatformType,cF as PodContainerLifecycleStatus,cE as PodContainerStatus,cD as PodPhase,cz as Profile,cb as ProgrammingLanguages,bB as SignalType,cu as SortDirection,S as StatusType,cp as StringOperation,cv as Tier,W as WorkloadRolloutStatus}from"./chunks/ui-components-e8819fa0.js";import"./icons.js";import"react";import"styled-components";import"zustand";import"javascript-time-ago";import"./chunks/vendor-55cc654c.js";import"react-dom";import"@xyflow/react";import"react-error-boundary";import"lottie-react";import"prism-react-renderer";
1
+ export{cq as ActionCategory,a8 as ActionKeyTypes,a3 as ActionType,cD as AddNodeTypes,ct as BooleanOperation,bP as CodeAttributesKeyTypes,aA as Crud,bN as CustomInstrumentationsKeyTypes,b9 as DesiredStateProgress,cE as DestinationTypes,cC as EdgeTypes,E as EntityTypes,ag as FieldTypes,bO as GolangCustomProbe,bL as HeadersCollectionKeyTypes,aa as InputTypes,cz as InstallationMethod,bR as InstrumentationRuleType,cA as IntrumentationStatus,bM as JavaCustomProbe,cu as JsonOperation,a4 as K8sAttributesFrom,cc as K8sResourceKind,cv as ListDirection,bZ as NodeTypes,cs as NumberOperation,bz as OtherEntityTypes,aM as OtherStatus,O as OtherStatusType,bQ as PayloadCollectionKeyTypes,cy as PlatformType,cH as PodContainerLifecycleStatus,cG as PodContainerStatus,cF as PodPhase,cB as Profile,cd as ProgrammingLanguages,bD as SignalType,cw as SortDirection,S as StatusType,cr as StringOperation,cx as Tier,Z as WorkloadRolloutStatus}from"./chunks/ui-components-e54e1ba5.js";import"./icons.js";import"react";import"styled-components";import"zustand";import"javascript-time-ago";import"./chunks/vendor-0965fadc.js";import"react-dom";import"@xyflow/react";import"react-error-boundary";import"lottie-react";import"prism-react-renderer";
package/lib/visuals.js CHANGED
@@ -1 +1 @@
1
- export{dj as VISUAL_ODIGOS_LOGO_HEIGHT,di as VISUAL_ODIGOS_LOGO_WIDTH,dk as VisualOdigosLogo,dl as VisualStar,dm as VisualSuccess}from"./chunks/ui-components-e8819fa0.js";import"./icons.js";import"react";import"styled-components";import"zustand";import"javascript-time-ago";import"./chunks/vendor-55cc654c.js";import"react-dom";import"@xyflow/react";import"react-error-boundary";import"lottie-react";import"prism-react-renderer";
1
+ export{dl as VISUAL_ODIGOS_LOGO_HEIGHT,dk as VISUAL_ODIGOS_LOGO_WIDTH,dm as VisualOdigosLogo,dn as VisualStar,dp as VisualSuccess}from"./chunks/ui-components-e54e1ba5.js";import"./icons.js";import"react";import"styled-components";import"zustand";import"javascript-time-ago";import"./chunks/vendor-0965fadc.js";import"react-dom";import"@xyflow/react";import"react-error-boundary";import"lottie-react";import"prism-react-renderer";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odigos/ui-kit",
3
- "version": "0.0.166",
3
+ "version": "0.0.168",
4
4
  "author": "Odigos",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -102,15 +102,15 @@
102
102
  "react-dom": "^19.2.0"
103
103
  },
104
104
  "dependencies": {
105
- "@tanstack/react-virtual": "^3.13.12",
106
- "@xyflow/react": "^12.9.3",
105
+ "@tanstack/react-virtual": "^3.13.17",
106
+ "@xyflow/react": "^12.10.0",
107
107
  "javascript-time-ago": "^2.5.12",
108
108
  "lottie-react": "^2.4.1",
109
109
  "prism-react-renderer": "^2.4.1",
110
- "react": "^19.2.1",
111
- "react-dom": "^19.2.1",
112
- "react-error-boundary": "^6.0.0",
113
- "styled-components": "^6.1.19",
110
+ "react": "^19.2.3",
111
+ "react-dom": "^19.2.3",
112
+ "react-error-boundary": "^6.0.2",
113
+ "styled-components": "^6.2.0",
114
114
  "zustand": "^5.0.9"
115
115
  },
116
116
  "devDependencies": {
@@ -125,23 +125,23 @@
125
125
  "@rollup/plugin-terser": "^0.4.4",
126
126
  "@rollup/plugin-typescript": "^12.1.4",
127
127
  "@storybook/addon-webpack5-compiler-babel": "^4.0.0",
128
- "@storybook/react-webpack5": "10.1.4",
129
- "@types/node": "^24.10.1",
128
+ "@storybook/react-webpack5": "10.1.11",
129
+ "@types/node": "^25.0.3",
130
130
  "@types/react": "^19.2.7",
131
131
  "@types/react-dom": "^19.2.3",
132
- "@typescript-eslint/eslint-plugin": "^8.48.1",
133
- "@typescript-eslint/parser": "^8.48.1",
132
+ "@typescript-eslint/eslint-plugin": "^8.52.0",
133
+ "@typescript-eslint/parser": "^8.52.0",
134
134
  "babel-loader": "^10.0.0",
135
135
  "babel-plugin-styled-components": "^2.1.4",
136
- "eslint": "^9.39.1",
136
+ "eslint": "^9.39.2",
137
137
  "eslint-plugin-react": "^7.37.5",
138
- "eslint-plugin-storybook": "10.1.4",
138
+ "eslint-plugin-storybook": "10.1.11",
139
139
  "postcss": "^8.5.6",
140
140
  "rollup": "^3.29.4",
141
141
  "rollup-plugin-filesize": "^10.0.0",
142
142
  "rollup-plugin-postcss": "^4.0.2",
143
143
  "rollup-plugin-visualizer": "^6.0.3",
144
- "storybook": "10.1.4",
144
+ "storybook": "10.1.11",
145
145
  "typescript": "^5.9.3"
146
146
  }
147
147
  }
@@ -1 +0,0 @@
1
- import*as e from"react";import{flushSync as t}from"react-dom";function o(e,t){let o;try{o=e()}catch(e){return}return{getItem:e=>{var r;const n=e=>null===e?null:JSON.parse(e,null==t?void 0:t.reviver),a=null!=(r=o.getItem(e))?r:null;return a instanceof Promise?a.then(n):n(a)},setItem:(e,r)=>o.setItem(e,JSON.stringify(r,null==t?void 0:t.replacer)),removeItem:e=>o.removeItem(e)}}const r=e=>t=>{try{const o=e(t);return o instanceof Promise?o:{then:e=>r(e)(o),catch(e){return this}}}catch(e){return{then(e){return this},catch:t=>r(t)(e)}}},n=(e,t)=>(n,a,s)=>{let l={storage:o(()=>localStorage),partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},i=!1;const c=new Set,d=new Set;let u=l.storage;if(!u)return e((...e)=>{n(...e)},a,s);const h=()=>{const e=l.partialize({...a()});return u.setItem(l.name,{state:e,version:l.version})},f=s.setState;s.setState=(e,t)=>(f(e,t),h());const b=e((...e)=>(n(...e),h()),a,s);let p;s.getInitialState=()=>b;const x=()=>{var e,t;if(!u)return;i=!1,c.forEach(e=>{var t;return e(null!=(t=a())?t:b)});const o=(null==(t=l.onRehydrateStorage)?void 0:t.call(l,null!=(e=a())?e:b))||void 0;return r(u.getItem.bind(u))(l.name).then(e=>{if(e){if("number"!=typeof e.version||e.version===l.version)return[!1,e.state];if(l.migrate){const t=l.migrate(e.state,e.version);return t instanceof Promise?t.then(e=>[!0,e]):[!0,t]}}return[!1,void 0]}).then(e=>{var t;const[o,r]=e;if(p=l.merge(r,null!=(t=a())?t:b),n(p,!0),o)return h()}).then(()=>{null==o||o(p,void 0),p=a(),i=!0,d.forEach(e=>e(p))}).catch(e=>{null==o||o(void 0,e)})};return s.persist={setOptions:e=>{l={...l,...e},e.storage&&(u=e.storage)},clearStorage:()=>{null==u||u.removeItem(l.name)},getOptions:()=>l,rehydrate:()=>x(),hasHydrated:()=>i,onHydrate:e=>(c.add(e),()=>{c.delete(e)}),onFinishHydration:e=>(d.add(e),()=>{d.delete(e)})},l.skipHydration||x(),p||b};function a(e,t){void 0===t&&(t={});var o=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css","top"===o&&r.firstChild?r.insertBefore(n,r.firstChild):r.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}}function s(e,t,o){let r,n=o.initialDeps??[];function a(){var a,s,l,i;let c;o.key&&(null==(a=o.debug)?void 0:a.call(o))&&(c=Date.now());const d=e();if(d.length===n.length&&!d.some((e,t)=>n[t]!==e))return r;let u;return n=d,o.key&&(null==(s=o.debug)?void 0:s.call(o))&&(u=Date.now()),r=t(...d),o.key&&(null==(l=o.debug)?void 0:l.call(o))&&(Math.round(100*(Date.now()-c)),Math.round(100*(Date.now()-u))),null==(i=null==o?void 0:o.onChange)||i.call(o,r),r}return a.updateDeps=e=>{n=e},a}function l(e,t){if(void 0===e)throw new Error("Unexpected undefined"+(t?`: ${t}`:""));return e}const i=(e,t,o)=>{let r;return function(...n){e.clearTimeout(r),r=e.setTimeout(()=>t.apply(this,n),o)}},c=e=>{const{offsetWidth:t,offsetHeight:o}=e;return{width:t,height:o}},d=e=>e,u=e=>{const t=Math.max(e.startIndex-e.overscan,0),o=Math.min(e.endIndex+e.overscan,e.count-1),r=[];for(let e=t;e<=o;e++)r.push(e);return r},h=(e,t)=>{const o=e.scrollElement;if(!o)return;const r=e.targetWindow;if(!r)return;const n=e=>{const{width:o,height:r}=e;t({width:Math.round(o),height:Math.round(r)})};if(n(c(o)),!r.ResizeObserver)return()=>{};const a=new r.ResizeObserver(t=>{const r=()=>{const e=t[0];if(null==e?void 0:e.borderBoxSize){const t=e.borderBoxSize[0];if(t)return void n({width:t.inlineSize,height:t.blockSize})}n(c(o))};e.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(r):r()});return a.observe(o,{box:"border-box"}),()=>{a.unobserve(o)}},f={passive:!0},b="undefined"==typeof window||"onscrollend"in window,p=(e,t)=>{const o=e.scrollElement;if(!o)return;const r=e.targetWindow;if(!r)return;let n=0;const a=e.options.useScrollendEvent&&b?()=>{}:i(r,()=>{t(n,!1)},e.options.isScrollingResetDelay),s=r=>()=>{const{horizontal:s,isRtl:l}=e.options;n=s?o.scrollLeft*(l?-1:1):o.scrollTop,a(),t(n,r)},l=s(!0),c=s(!1);c(),o.addEventListener("scroll",l,f);const d=e.options.useScrollendEvent&&b;return d&&o.addEventListener("scrollend",c,f),()=>{o.removeEventListener("scroll",l),d&&o.removeEventListener("scrollend",c)}},x=(e,t,o)=>{if(null==t?void 0:t.borderBoxSize){const e=t.borderBoxSize[0];if(e)return Math.round(e[o.options.horizontal?"inlineSize":"blockSize"])}return e[o.options.horizontal?"offsetWidth":"offsetHeight"]},g=(e,{adjustments:t=0,behavior:o},r)=>{var n,a;const s=e+t;null==(a=null==(n=r.scrollElement)?void 0:n.scrollTo)||a.call(n,{[r.options.horizontal?"left":"top"]:s,behavior:o})};class _{constructor(e){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let e=null;const t=()=>e||(this.targetWindow&&this.targetWindow.ResizeObserver?e=new this.targetWindow.ResizeObserver(e=>{e.forEach(e=>{const t=()=>{this.t(e.target,e)};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(t):t()})}):null);return{disconnect:()=>{var o;null==(o=t())||o.disconnect(),e=null},observe:e=>{var o;return null==(o=t())?void 0:o.observe(e,{box:"border-box"})},unobserve:e=>{var o;return null==(o=t())?void 0:o.unobserve(e)}}})(),this.range=null,this.setOptions=e=>{Object.entries(e).forEach(([t,o])=>{void 0===o&&delete e[t]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:d,rangeExtractor:u,onChange:()=>{},measureElement:x,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,...e}},this.notify=e=>{var t,o;null==(o=(t=this.options).onChange)||o.call(t,this,e)},this.maybeNotify=s(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),e=>{this.notify(e)},{key:"production"!==process.env.NODE_ENV&&"maybeNotify",debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(e=>e()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this.o=()=>()=>{this.cleanup()},this.l=()=>{var e;const t=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==t){if(this.cleanup(),!t)return void this.maybeNotify();this.scrollElement=t,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(null==(e=this.scrollElement)?void 0:e.window)??null,this.elementsCache.forEach(e=>{this.observer.observe(e)}),this.i(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,e=>{this.scrollRect=e,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(e,t)=>{this.scrollAdjustments=0,this.scrollDirection=t?this.getScrollOffset()<e?"forward":"backward":null,this.scrollOffset=e,this.isScrolling=t,this.maybeNotify()}))}},this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??("function"==typeof this.options.initialOffset?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(e,t)=>{const o=new Map,r=new Map;for(let n=t-1;n>=0;n--){const t=e[n];if(o.has(t.lane))continue;const a=r.get(t.lane);if(null==a||t.end>a.end?r.set(t.lane,t):t.end<a.end&&o.set(t.lane,!0),o.size===this.options.lanes)break}return r.size===this.options.lanes?Array.from(r.values()).sort((e,t)=>e.end===t.end?e.index-t.index:e.end-t.end)[0]:void 0},this.getMeasurementOptions=s(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(e,t,o,r,n)=>(this.pendingMeasuredCacheIndexes=[],{count:e,paddingStart:t,scrollMargin:o,getItemKey:r,enabled:n}),{key:!1}),this.getMeasurements=s(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:e,paddingStart:t,scrollMargin:o,getItemKey:r,enabled:n},a)=>{if(!n)return this.measurementsCache=[],this.itemSizeCache.clear(),[];0===this.measurementsCache.length&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(e=>{this.itemSizeCache.set(e.key,e.size)}));const s=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];const l=this.measurementsCache.slice(0,s);for(let n=s;n<e;n++){const e=r(n),s=1===this.options.lanes?l[n-1]:this.getFurthestMeasurement(l,n),i=s?s.end+this.options.gap:t+o,c=a.get(e),d="number"==typeof c?c:this.options.estimateSize(n),u=i+d,h=s?s.lane:n%this.options.lanes;l[n]={index:n,start:i,size:d,end:u,key:e,lane:h}}return this.measurementsCache=l,l},{key:"production"!==process.env.NODE_ENV&&"getMeasurements",debug:()=>this.options.debug}),this.calculateRange=s(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(e,t,o,r)=>this.range=e.length>0&&t>0?function({measurements:e,outerSize:t,scrollOffset:o,lanes:r}){const n=e.length-1;if(e.length<=r)return{startIndex:0,endIndex:n};let a=w(0,n,t=>e[t].start,o),s=a;if(1===r)for(;s<n&&e[s].end<o+t;)s++;else if(r>1){const l=Array(r).fill(0);for(;s<n&&l.some(e=>e<o+t);){const t=e[s];l[t.lane]=t.end,s++}const i=Array(r).fill(o+t);for(;a>=0&&i.some(e=>e>=o);){const t=e[a];i[t.lane]=t.start,a--}a=Math.max(0,a-a%r),s=Math.min(n,s+(r-1-s%r))}return{startIndex:a,endIndex:s}}({measurements:e,outerSize:t,scrollOffset:o,lanes:r}):null,{key:"production"!==process.env.NODE_ENV&&"calculateRange",debug:()=>this.options.debug}),this.getVirtualIndexes=s(()=>{let e=null,t=null;const o=this.calculateRange();return o&&(e=o.startIndex,t=o.endIndex),this.maybeNotify.updateDeps([this.isScrolling,e,t]),[this.options.rangeExtractor,this.options.overscan,this.options.count,e,t]},(e,t,o,r,n)=>null===r||null===n?[]:e({startIndex:r,endIndex:n,overscan:t,count:o}),{key:"production"!==process.env.NODE_ENV&&"getVirtualIndexes",debug:()=>this.options.debug}),this.indexFromElement=e=>{const t=this.options.indexAttribute,o=e.getAttribute(t);return o?parseInt(o,10):-1},this.t=(e,t)=>{const o=this.indexFromElement(e),r=this.measurementsCache[o];if(!r)return;const n=r.key,a=this.elementsCache.get(n);a!==e&&(a&&this.observer.unobserve(a),this.observer.observe(e),this.elementsCache.set(n,e)),e.isConnected&&this.resizeItem(o,this.options.measureElement(e,t,this))},this.resizeItem=(e,t)=>{const o=this.measurementsCache[e];if(!o)return;const r=t-(this.itemSizeCache.get(o.key)??o.size);0!==r&&((void 0!==this.shouldAdjustScrollPositionOnItemSizeChange?this.shouldAdjustScrollPositionOnItemSizeChange(o,r,this):o.start<this.getScrollOffset()+this.scrollAdjustments)&&("production"!==process.env.NODE_ENV&&this.options.debug,this.i(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=r,behavior:void 0})),this.pendingMeasuredCacheIndexes.push(o.index),this.itemSizeCache=new Map(this.itemSizeCache.set(o.key,t)),this.notify(!1))},this.measureElement=e=>{e?this.t(e,void 0):this.elementsCache.forEach((e,t)=>{e.isConnected||(this.observer.unobserve(e),this.elementsCache.delete(t))})},this.getVirtualItems=s(()=>[this.getVirtualIndexes(),this.getMeasurements()],(e,t)=>{const o=[];for(let r=0,n=e.length;r<n;r++){const n=t[e[r]];o.push(n)}return o},{key:"production"!==process.env.NODE_ENV&&"getVirtualItems",debug:()=>this.options.debug}),this.getVirtualItemForOffset=e=>{const t=this.getMeasurements();if(0!==t.length)return l(t[w(0,t.length-1,e=>l(t[e]).start,e)])},this.getOffsetForAlignment=(e,t,o=0)=>{const r=this.getSize(),n=this.getScrollOffset();"auto"===t&&(t=e>=n+r?"end":"start"),"center"===t?e+=(o-r)/2:"end"===t&&(e-=r);const a=this.getTotalSize()+this.options.scrollMargin-r;return Math.max(Math.min(a,e),0)},this.getOffsetForIndex=(e,t="auto")=>{e=Math.max(0,Math.min(e,this.options.count-1));const o=this.measurementsCache[e];if(!o)return;const r=this.getSize(),n=this.getScrollOffset();if("auto"===t)if(o.end>=n+r-this.options.scrollPaddingEnd)t="end";else{if(!(o.start<=n+this.options.scrollPaddingStart))return[n,t];t="start"}const a="end"===t?o.end+this.options.scrollPaddingEnd:o.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(a,t,o.size),t]},this.isDynamicMode=()=>this.elementsCache.size>0,this.scrollToOffset=(e,{align:t="start",behavior:o}={})=>{"smooth"===o&&this.isDynamicMode(),this.i(this.getOffsetForAlignment(e,t),{adjustments:void 0,behavior:o})},this.scrollToIndex=(e,{align:t="auto",behavior:o}={})=>{"smooth"===o&&this.isDynamicMode(),e=Math.max(0,Math.min(e,this.options.count-1));let r=0;const n=t=>{if(!this.targetWindow)return;const r=this.getOffsetForIndex(e,t);if(!r)return;const[n,s]=r;this.i(n,{adjustments:void 0,behavior:o}),this.targetWindow.requestAnimationFrame(()=>{const t=this.getScrollOffset(),o=this.getOffsetForIndex(e,s);var r,n;o&&(r=o[0],n=t,Math.abs(r-n)<1.01||a(s))})},a=e=>{this.targetWindow&&(r++,r<10&&("production"!==process.env.NODE_ENV&&this.options.debug,this.targetWindow.requestAnimationFrame(()=>n(e))))};n(t)},this.scrollBy=(e,{behavior:t}={})=>{"smooth"===t&&this.isDynamicMode(),this.i(this.getScrollOffset()+e,{adjustments:void 0,behavior:t})},this.getTotalSize=()=>{var e;const t=this.getMeasurements();let o;if(0===t.length)o=this.options.paddingStart;else if(1===this.options.lanes)o=(null==(e=t[t.length-1])?void 0:e.end)??0;else{const e=Array(this.options.lanes).fill(null);let r=t.length-1;for(;r>=0&&e.some(e=>null===e);){const o=t[r];null===e[o.lane]&&(e[o.lane]=o.end),r--}o=Math.max(...e.filter(e=>null!==e))}return Math.max(o-this.options.scrollMargin+this.options.paddingEnd,0)},this.i=(e,{adjustments:t,behavior:o})=>{this.options.scrollToFn(e,{behavior:o,adjustments:t},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(e)}}const w=(e,t,o,r)=>{for(;e<=t;){const n=(e+t)/2|0,a=o(n);if(a<r)e=n+1;else{if(!(a>r))return n;t=n-1}}return e>0?e-1:0},y="undefined"!=typeof document?e.useLayoutEffect:e.useEffect;function m(o){return function(o){const r=e.useReducer(()=>({}),{})[1],n={...o,onChange:(e,n)=>{var a;n?t(r):r(),null==(a=o.onChange)||a.call(o,e,n)}},[a]=e.useState(()=>new _(n));return a.setOptions(n),y(()=>a.o(),[]),y(()=>a.l()),a}({observeElementRect:h,observeElementOffset:p,scrollToFn:g,...o})}var v={locale:"en",long:{year:{previous:"last year",current:"this year",next:"next year",past:{one:"{0} year ago",other:"{0} years ago"},future:{one:"in {0} year",other:"in {0} years"}},quarter:{previous:"last quarter",current:"this quarter",next:"next quarter",past:{one:"{0} quarter ago",other:"{0} quarters ago"},future:{one:"in {0} quarter",other:"in {0} quarters"}},month:{previous:"last month",current:"this month",next:"next month",past:{one:"{0} month ago",other:"{0} months ago"},future:{one:"in {0} month",other:"in {0} months"}},week:{previous:"last week",current:"this week",next:"next week",past:{one:"{0} week ago",other:"{0} weeks ago"},future:{one:"in {0} week",other:"in {0} weeks"}},day:{previous:"yesterday",current:"today",next:"tomorrow",past:{one:"{0} day ago",other:"{0} days ago"},future:{one:"in {0} day",other:"in {0} days"}},hour:{current:"this hour",past:{one:"{0} hour ago",other:"{0} hours ago"},future:{one:"in {0} hour",other:"in {0} hours"}},minute:{current:"this minute",past:{one:"{0} minute ago",other:"{0} minutes ago"},future:{one:"in {0} minute",other:"in {0} minutes"}},second:{current:"now",past:{one:"{0} second ago",other:"{0} seconds ago"},future:{one:"in {0} second",other:"in {0} seconds"}}},short:{year:{previous:"last yr.",current:"this yr.",next:"next yr.",past:"{0} yr. ago",future:"in {0} yr."},quarter:{previous:"last qtr.",current:"this qtr.",next:"next qtr.",past:{one:"{0} qtr. ago",other:"{0} qtrs. ago"},future:{one:"in {0} qtr.",other:"in {0} qtrs."}},month:{previous:"last mo.",current:"this mo.",next:"next mo.",past:"{0} mo. ago",future:"in {0} mo."},week:{previous:"last wk.",current:"this wk.",next:"next wk.",past:"{0} wk. ago",future:"in {0} wk."},day:{previous:"yesterday",current:"today",next:"tomorrow",past:{one:"{0} day ago",other:"{0} days ago"},future:{one:"in {0} day",other:"in {0} days"}},hour:{current:"this hour",past:"{0} hr. ago",future:"in {0} hr."},minute:{current:"this minute",past:"{0} min. ago",future:"in {0} min."},second:{current:"now",past:"{0} sec. ago",future:"in {0} sec."}},narrow:{year:{previous:"last yr.",current:"this yr.",next:"next yr.",past:"{0}y ago",future:"in {0}y"},quarter:{previous:"last qtr.",current:"this qtr.",next:"next qtr.",past:"{0}q ago",future:"in {0}q"},month:{previous:"last mo.",current:"this mo.",next:"next mo.",past:"{0}mo ago",future:"in {0}mo"},week:{previous:"last wk.",current:"this wk.",next:"next wk.",past:"{0}w ago",future:"in {0}w"},day:{previous:"yesterday",current:"today",next:"tomorrow",past:"{0}d ago",future:"in {0}d"},hour:{current:"this hour",past:"{0}h ago",future:"in {0}h"},minute:{current:"this minute",past:"{0}m ago",future:"in {0}m"},second:{current:"now",past:"{0}s ago",future:"in {0}s"}},now:{now:{current:"now",future:"in a moment",past:"just now"}},mini:{year:"{0}yr",month:"{0}mo",week:"{0}wk",day:"{0}d",hour:"{0}h",minute:"{0}m",second:"{0}s",now:"now"},"short-time":{year:"{0} yr.",month:"{0} mo.",week:"{0} wk.",day:{one:"{0} day",other:"{0} days"},hour:"{0} hr.",minute:"{0} min.",second:"{0} sec."},"long-time":{year:{one:"{0} year",other:"{0} years"},month:{one:"{0} month",other:"{0} months"},week:{one:"{0} week",other:"{0} weeks"},day:{one:"{0} day",other:"{0} days"},hour:{one:"{0} hour",other:"{0} hours"},minute:{one:"{0} minute",other:"{0} minutes"},second:{one:"{0} second",other:"{0} seconds"}}};a(".react-flow{--xy-edge-stroke-default:#b1b1b7;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#555;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:hsla(0,0%,100%,.5);--xy-minimap-background-color-default:#fff;--xy-minimap-mask-background-color-default:hsla(0,0%,94%,.6);--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#e2e2e2;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:transparent;--xy-background-pattern-dots-color-default:#91919a;--xy-background-pattern-lines-color-default:#eee;--xy-background-pattern-cross-color-default:#e2e2e2;--xy-node-color-default:inherit;--xy-node-border-default:1px solid #1a192b;--xy-node-background-color-default:#fff;--xy-node-group-background-color-default:hsla(0,0%,94%,.25);--xy-node-boxshadow-hover-default:0 1px 4px 1px rgba(0,0,0,.08);--xy-node-boxshadow-selected-default:0 0 0 0.5px #1a192b;--xy-node-border-radius-default:3px;--xy-handle-background-color-default:#1a192b;--xy-handle-border-color-default:#fff;--xy-selection-background-color-default:rgba(0,89,220,.08);--xy-selection-border-default:1px dotted rgba(0,89,220,.8);--xy-controls-button-background-color-default:#fefefe;--xy-controls-button-background-color-hover-default:#f4f4f4;--xy-controls-button-color-default:inherit;--xy-controls-button-color-hover-default:inherit;--xy-controls-button-border-color-default:#eee;--xy-controls-box-shadow-default:0 0 2px 1px rgba(0,0,0,.08);--xy-edge-label-background-color-default:#fff;--xy-edge-label-color-default:inherit;--xy-resize-background-color-default:#3367d9;background-color:var(--xy-background-color,var(--xy-background-color-default));direction:ltr}.react-flow.dark{--xy-edge-stroke-default:#3e3e3e;--xy-edge-stroke-width-default:1;--xy-edge-stroke-selected-default:#727272;--xy-connectionline-stroke-default:#b1b1b7;--xy-connectionline-stroke-width-default:1;--xy-attribution-background-color-default:hsla(0,0%,59%,.25);--xy-minimap-background-color-default:#141414;--xy-minimap-mask-background-color-default:rgba(60,60,60,.6);--xy-minimap-mask-stroke-color-default:transparent;--xy-minimap-mask-stroke-width-default:1;--xy-minimap-node-background-color-default:#2b2b2b;--xy-minimap-node-stroke-color-default:transparent;--xy-minimap-node-stroke-width-default:2;--xy-background-color-default:#141414;--xy-background-pattern-dots-color-default:#777;--xy-background-pattern-lines-color-default:#777;--xy-background-pattern-cross-color-default:#777;--xy-node-color-default:#f8f8f8;--xy-node-border-default:1px solid #3c3c3c;--xy-node-background-color-default:#1e1e1e;--xy-node-group-background-color-default:hsla(0,0%,94%,.25);--xy-node-boxshadow-hover-default:0 1px 4px 1px hsla(0,0%,100%,.08);--xy-node-boxshadow-selected-default:0 0 0 0.5px #999;--xy-handle-background-color-default:#bebebe;--xy-handle-border-color-default:#1e1e1e;--xy-selection-background-color-default:rgba(200,200,220,.08);--xy-selection-border-default:1px dotted rgba(200,200,220,.8);--xy-controls-button-background-color-default:#2b2b2b;--xy-controls-button-background-color-hover-default:#3e3e3e;--xy-controls-button-color-default:#f8f8f8;--xy-controls-button-color-hover-default:#fff;--xy-controls-button-border-color-default:#5b5b5b;--xy-controls-box-shadow-default:0 0 2px 1px rgba(0,0,0,.08);--xy-edge-label-background-color-default:#141414;--xy-edge-label-color-default:#f8f8f8}.react-flow__background{background-color:var(--xy-background-color-props,var(--xy-background-color,var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{height:100%;left:0;position:absolute;top:0;width:100%}.react-flow__pane{z-index:1}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{pointer-events:none;transform-origin:0 0;z-index:2}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width,var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke,var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width,var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{overflow:visible;pointer-events:none;position:absolute}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path,.react-flow__edge.selected .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected,var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__arrowhead polyline{stroke:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__arrowhead polyline.arrowclosed{fill:var(--xy-edge-stroke,var(--xy-edge-stroke-default))}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{overflow:visible;position:absolute;z-index:1001}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{box-sizing:border-box;cursor:default;pointer-events:all;position:absolute;transform-origin:0 0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{pointer-events:none;transform-origin:left top;z-index:3}.react-flow__nodesselection-rect{cursor:grab;pointer-events:all;position:absolute}.react-flow__handle{background-color:var(--xy-handle-background-color,var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color,var(--xy-handle-border-color-default));border-radius:100%;height:6px;min-height:5px;min-width:5px;pointer-events:none;position:absolute;width:6px}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{cursor:crosshair;pointer-events:all}.react-flow__handle-bottom{bottom:0;left:50%;top:auto;transform:translate(-50%,50%)}.react-flow__handle-top{left:50%;top:0;transform:translate(-50%,-50%)}.react-flow__handle-left{left:0;top:50%;transform:translate(-50%,-50%)}.react-flow__handle-right{right:0;top:50%;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__pane.selection .react-flow__panel{pointer-events:none}.react-flow__panel{margin:15px;position:absolute;z-index:5}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.bottom.center,.react-flow__panel.top.center{left:50%;transform:translateX(-15px) translateX(-50%)}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.left.center,.react-flow__panel.right.center{top:50%;transform:translateY(-15px) translateY(-50%)}.react-flow__attribution{background:var(--xy-attribution-background-color,var(--xy-attribution-background-color-default));font-size:10px;margin:0;padding:2px 3px}.react-flow__attribution a{color:#999;text-decoration:none}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{pointer-events:none}.react-flow__edgelabel-renderer,.react-flow__viewport-portal{height:100%;left:0;position:absolute;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}.react-flow__minimap{background:var(\n --xy-minimap-background-color-props,var(--xy-minimap-background-color,var(--xy-minimap-background-color-default))\n )}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var(\n --xy-minimap-mask-background-color-props,var(--xy-minimap-mask-background-color,var(--xy-minimap-mask-background-color-default))\n );stroke:var(\n --xy-minimap-mask-stroke-color-props,var(--xy-minimap-mask-stroke-color,var(--xy-minimap-mask-stroke-color-default))\n );stroke-width:var(\n --xy-minimap-mask-stroke-width-props,var(--xy-minimap-mask-stroke-width,var(--xy-minimap-mask-stroke-width-default))\n )}.react-flow__minimap-node{fill:var(\n --xy-minimap-node-background-color-props,var(--xy-minimap-node-background-color,var(--xy-minimap-node-background-color-default))\n );stroke:var(\n --xy-minimap-node-stroke-color-props,var(--xy-minimap-node-stroke-color,var(--xy-minimap-node-stroke-color-default))\n );stroke-width:var(\n --xy-minimap-node-stroke-width-props,var(--xy-minimap-node-stroke-width,var(--xy-minimap-node-stroke-width-default))\n )}.react-flow__background-pattern.dots{fill:var(\n --xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-dots-color-default))\n )}.react-flow__background-pattern.lines{stroke:var(\n --xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-lines-color-default))\n )}.react-flow__background-pattern.cross{stroke:var(\n --xy-background-pattern-color-props,var(--xy-background-pattern-color,var(--xy-background-pattern-cross-color-default))\n )}.react-flow__controls{box-shadow:var(--xy-controls-box-shadow,var(--xy-controls-box-shadow-default));display:flex;flex-direction:column}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{align-items:center;background:var(--xy-controls-button-background-color,var(--xy-controls-button-background-color-default));border:none;border-bottom:1px solid var(\n --xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default))\n );color:var(\n --xy-controls-button-color-props,var(--xy-controls-button-color,var(--xy-controls-button-color-default))\n );cursor:pointer;display:flex;height:26px;justify-content:center;padding:4px;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:26px}.react-flow__controls-button svg{fill:currentColor;max-height:12px;max-width:12px;width:100%}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-default,.react-flow__node-group,.react-flow__node-input,.react-flow__node-output{background-color:var(--xy-node-background-color,var(--xy-node-background-color-default));border:var(--xy-node-border,var(--xy-node-border-default));border-radius:var(--xy-node-border-radius,var(--xy-node-border-radius-default));color:var(--xy-node-color,var(--xy-node-color-default));font-size:12px;padding:10px;text-align:center;width:150px}.react-flow__node-default.selectable:hover,.react-flow__node-group.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover,var(--xy-node-boxshadow-hover-default))}.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible,.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected,var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color,var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color,var(--xy-selection-background-color-default));border:var(--xy-selection-border,var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var(\n --xy-controls-button-background-color-hover-props,var(--xy-controls-button-background-color-hover,var(--xy-controls-button-background-color-hover-default))\n );color:var(\n --xy-controls-button-color-hover-props,var(--xy-controls-button-color-hover,var(--xy-controls-button-color-hover-default))\n )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__controls.horizontal .react-flow__controls-button{border-bottom:none;border-right:1px solid var(\n --xy-controls-button-border-color-props,var(--xy-controls-button-border-color,var(--xy-controls-button-border-color-default))\n )}.react-flow__controls.horizontal .react-flow__controls-button:last-child{border-right:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.bottom,.react-flow__resize-control.top{cursor:ns-resize}.react-flow__resize-control.bottom.right,.react-flow__resize-control.top.left{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{background-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border:1px solid #fff;border-radius:1px;height:5px;translate:-50% -50%;width:5px}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.bottom.left,.react-flow__resize-control.handle.top.left{left:0}.react-flow__resize-control.handle.bottom.right,.react-flow__resize-control.handle.top.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color,var(--xy-resize-background-color-default));border-style:solid;border-width:0}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{height:100%;top:0;transform:translate(-50%);width:1px}.react-flow__resize-control.line.left{border-left-width:1px;left:0}.react-flow__resize-control.line.right{border-right-width:1px;left:100%}.react-flow__resize-control.line.bottom,.react-flow__resize-control.line.top{height:1px;left:0;transform:translateY(-50%);width:100%}.react-flow__resize-control.line.top{border-top-width:1px;top:0}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color,var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color,var(--xy-edge-label-color-default))}");export{o as c,v as e,n as p,a as s,m as u};
@@ -1,13 +0,0 @@
1
- interface StoreValues {
2
- isAwaitingInstrumentation: boolean;
3
- sourcesToCreate: number;
4
- sourcesCreated: number;
5
- sourcesToDelete: number;
6
- sourcesDeleted: number;
7
- }
8
- interface StoreSetters {
9
- setInstrumentAwait: (v: boolean) => void;
10
- setInstrumentCount: (k: keyof Omit<StoreValues, 'isAwaitingInstrumentation'>, v: number) => void;
11
- }
12
- export declare const useInstrumentStore: import("zustand").UseBoundStore<import("zustand").StoreApi<StoreValues & StoreSetters>>;
13
- export {};