local-operator-ui 0.11.0 → 0.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/out/main/index.jsc +0 -0
- package/out/preload/index.jsc +0 -0
- package/out/renderer/assets/{_basePickBy-B8VDBNMq.js → _basePickBy-BwLeRk2i.js} +2 -2
- package/out/renderer/assets/{_baseUniq-DEnIwqeZ.js → _baseUniq-CMJX1dq8.js} +1 -1
- package/out/renderer/assets/{arc-Dg0I-9m1.js → arc-CbFc2Fwi.js} +1 -1
- package/out/renderer/assets/{architectureDiagram-IEHRJDOE-BEROcdGh.js → architectureDiagram-IEHRJDOE-C5riAJAU.js} +8 -8
- package/out/renderer/assets/{blockDiagram-JOT3LUYC-D2Cng1Yf.js → blockDiagram-JOT3LUYC-CxL3mRr9.js} +6 -6
- package/out/renderer/assets/{c4Diagram-VJAJSXHY-DZAmVkcX.js → c4Diagram-VJAJSXHY-D8FgDK5j.js} +3 -3
- package/out/renderer/assets/{channel-BaWS2P4w.js → channel-Bw1lGN0d.js} +1 -1
- package/out/renderer/assets/{chunk-4BMEZGHF-LXzWRzt0.js → chunk-4BMEZGHF-YlpGyuLZ.js} +1 -1
- package/out/renderer/assets/{chunk-A2AXSNBT-Bnzaay7E.js → chunk-A2AXSNBT-4c6OK32N.js} +2 -2
- package/out/renderer/assets/{chunk-AEK57VVT-D6E6iv2X.js → chunk-AEK57VVT-BBOCO-aR.js} +2 -2
- package/out/renderer/assets/{chunk-D6G4REZN-DbujHPxG.js → chunk-D6G4REZN-DEs3PtRP.js} +1 -1
- package/out/renderer/assets/{chunk-RZ5BOZE2-CUtI6bpt.js → chunk-RZ5BOZE2-D7Ur-zdF.js} +1 -1
- package/out/renderer/assets/{chunk-XZIHB7SX-BeYgUVS6.js → chunk-XZIHB7SX-5D_UAIQF.js} +1 -1
- package/out/renderer/assets/{classDiagram-GIVACNV2-crUyrp4C.js → classDiagram-GIVACNV2-FGJrs60K.js} +4 -4
- package/out/renderer/assets/{classDiagram-v2-COTLJTTW-crUyrp4C.js → classDiagram-v2-COTLJTTW-FGJrs60K.js} +4 -4
- package/out/renderer/assets/{clone-CB3yEbFy.js → clone-AkGHvUSu.js} +1 -1
- package/out/renderer/assets/{dagre-OKDRZEBW-sjSQ3pUv.js → dagre-OKDRZEBW-CO3cKjWG.js} +7 -7
- package/out/renderer/assets/{diagram-SSKATNLV-CASziOFr.js → diagram-SSKATNLV-B9JFQ016.js} +7 -7
- package/out/renderer/assets/{diagram-VNBRO52H-ZbJyeILZ.js → diagram-VNBRO52H-DxYagTVG.js} +7 -7
- package/out/renderer/assets/{erDiagram-Q7BY3M3F-xM-l45kg.js → erDiagram-Q7BY3M3F-CE-mGjcw.js} +4 -4
- package/out/renderer/assets/{flowDiagram-4HSFHLVR-QV5jY4yk.js → flowDiagram-4HSFHLVR-CuLnAVLZ.js} +4 -4
- package/out/renderer/assets/{fonts-Bb3Axuvj.js → fonts-BuD2eBgu.js} +2 -2
- package/out/renderer/assets/{ganttDiagram-APWFNJXF-CAR2eCVK.js → ganttDiagram-APWFNJXF-HGEcVNK0.js} +2 -2
- package/out/renderer/assets/{gitGraphDiagram-7IBYFJ6S-C2VL8kHA.js → gitGraphDiagram-7IBYFJ6S-B0RVbCe3.js} +8 -8
- package/out/renderer/assets/{graph-BLYSrmBS.js → graph-BD1RWHrJ.js} +2 -2
- package/out/renderer/assets/{index-wVqUqdGp.js → index-COjrqaom.js} +1248 -411
- package/out/renderer/assets/{index-ClmkH6IK.js → index-DySkHkA1.js} +2 -2
- package/out/renderer/assets/{index-BvMg8RoK.js → index-liIbjSlr.js} +2 -2
- package/out/renderer/assets/{infoDiagram-PH2N3AL5-BRVBGsSX.js → infoDiagram-PH2N3AL5-BmzNZtVy.js} +6 -6
- package/out/renderer/assets/{installer-B8QYcS9K.js → installer-CEV9DxzX.js} +1 -1
- package/out/renderer/assets/{journeyDiagram-U35MCT3I-CiYS6pRL.js → journeyDiagram-U35MCT3I-BTfGUC5S.js} +4 -4
- package/out/renderer/assets/{kanban-definition-NDS4AKOZ-BcF1dSLj.js → kanban-definition-NDS4AKOZ-C-DuH5Nd.js} +2 -2
- package/out/renderer/assets/{layout-CNdPM3EZ.js → layout-Doljgpbq.js} +4 -4
- package/out/renderer/assets/{mindmap-definition-ALO5MXBD-B8OKj4Qj.js → mindmap-definition-ALO5MXBD-RRZYStOO.js} +2 -2
- package/out/renderer/assets/{pieDiagram-IB7DONF6-Bd9suVWv.js → pieDiagram-IB7DONF6-DxWkg81y.js} +8 -8
- package/out/renderer/assets/{quadrantDiagram-7GDLP6J5-Bs4DyNjf.js → quadrantDiagram-7GDLP6J5-DhiTce2H.js} +2 -2
- package/out/renderer/assets/{radar-MK3ICKWK-DwOpwmYh.js → radar-MK3ICKWK-DpiFvqjL.js} +4 -4
- package/out/renderer/assets/{requirementDiagram-KVF5MWMF-DymCgMvI.js → requirementDiagram-KVF5MWMF-D_RtpMVe.js} +3 -3
- package/out/renderer/assets/{sankeyDiagram-QLVOVGJD-vLIhFWzQ.js → sankeyDiagram-QLVOVGJD-DVZvgx2b.js} +2 -2
- package/out/renderer/assets/{sequenceDiagram-X6HHIX6F-DvLeGWo9.js → sequenceDiagram-X6HHIX6F-DKsfkllV.js} +4 -4
- package/out/renderer/assets/{stateDiagram-DGXRK772-DyugZZym.js → stateDiagram-DGXRK772-DEAItQI7.js} +8 -8
- package/out/renderer/assets/{stateDiagram-v2-YXO3MK2T-BD7GaWgL.js → stateDiagram-v2-YXO3MK2T-DaDyU-tp.js} +4 -4
- package/out/renderer/assets/{timeline-definition-BDJGKUSR-B6m24a_n.js → timeline-definition-BDJGKUSR-VT7KewsR.js} +3 -3
- package/out/renderer/assets/{xychartDiagram-VJFVF3MP-BIx1OvAe.js → xychartDiagram-VJFVF3MP-6LqtFFyz.js} +2 -2
- package/out/renderer/index.html +3 -3
- package/out/renderer/installer.html +2 -2
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-
|
|
2
|
-
import { i as createStyled, l as resolveProps, m as useTheme, n as useTheme$1, r as reactExports, o as React, p as useEnhancedEffect$1, q as clsx, t as useForkRef$1, v as extendSxProp, j as jsxRuntimeExports, w as handleBreakpoints, x as resolveBreakpointValues, y as createUnarySpacing, z as deepmerge, A as mergeBreakpointsInOrder, F as composeClasses$1, G as generateUtilityClass$1, I as createTheme$1, J as getValue$1, h as React$1, K as requireReactDom, g as getDefaultExportFromCjs, L as defaultTheme$2, M as THEME_ID, N as generateUtilityClasses$1, O as useDefaultProps, s as styled$1, P as capitalize$1, Q as memoTheme, _ as _inheritsLoose, S as _objectWithoutPropertiesLoose$k, U as TransitionGroupContext, V as _extends$w, W as duration, u as useTheme$2, X as useTimeout$1, Y as useId$1, Z as ButtonBase, b as alpha$1, $ as createSimplePaletteValueFilter, a0 as CircularProgress, a1 as Paper, a2 as darken$1, a3 as lighten$1, a4 as useEventCallback$1, a5 as useRtl, a6 as globalCss, a7 as formatMuiErrorMessage$1, a8 as rootShouldForwardProp, T as Typography, a9 as css$1, k as keyframes, aa as getPath$2, ab as isFocusVisible, ac as typographyClasses, ad as slotShouldForwardProp, ae as clamp, af as emphasize, ag as Timeout$1, c as createLucideIcon, a as Button, B as Box, ah as FontAwesomeIcon, ai as faExclamationTriangle, D as DEFAULT_THEME, aj as faChevronLeft, ak as faChevronRight, al as faRobot, am as faCheck, an as faTimes, ao as faEraser, ap as faPen, aq as faFileImport, ar as faUpload, as as GlobalStyles, at as requireReact, au as faComment, av as faSave, aw as faEdit, ax as faTrashAlt, ay as faInfoCircle, az as faGear, aA as faPlus, aB as faServer, aC as faStar, aD as faTag, aE as faIdCard, aF as faCalendarAlt, aG as faCodeBranch, aH as faShieldAlt, aI as faArrowLeft, aJ as faClock, C as Code, aK as faSliders, aL as faTrash, aM as faHome, aN as faDownload, aO as faFileAlt, aP as faDesktop, aQ as faImage, aR as faMusic, aS as faVideo, aT as faLaptop, aU as faUsers, aV as faDatabase, aW as faBoxOpen, aX as faBook, aY as faHdd, aZ as faBox, a_ as faArchive, a$ as faNetworkWired, b0 as faFolder, b1 as faFolderOpen, b2 as faFolderTree, b3 as faArrowDown, b4 as faPaperclip, b5 as faStop, b6 as faPaperPlane, b7 as
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-liIbjSlr.js","./fonts-BuD2eBgu.js","./fonts-B9KBGB-g.css","./index-DySkHkA1.js","./pug-By0kVCfm.js","./javascript-C3MnDRiU.js","./dagre-OKDRZEBW-CO3cKjWG.js","./graph-BD1RWHrJ.js","./_baseUniq-CMJX1dq8.js","./layout-Doljgpbq.js","./_basePickBy-BwLeRk2i.js","./clone-AkGHvUSu.js","./c4Diagram-VJAJSXHY-D8FgDK5j.js","./chunk-D6G4REZN-DEs3PtRP.js","./flowDiagram-4HSFHLVR-CuLnAVLZ.js","./chunk-RZ5BOZE2-D7Ur-zdF.js","./channel-Bw1lGN0d.js","./erDiagram-Q7BY3M3F-CE-mGjcw.js","./gitGraphDiagram-7IBYFJ6S-B0RVbCe3.js","./chunk-4BMEZGHF-YlpGyuLZ.js","./chunk-XZIHB7SX-5D_UAIQF.js","./radar-MK3ICKWK-DpiFvqjL.js","./ganttDiagram-APWFNJXF-HGEcVNK0.js","./infoDiagram-PH2N3AL5-BmzNZtVy.js","./pieDiagram-IB7DONF6-DxWkg81y.js","./arc-CbFc2Fwi.js","./quadrantDiagram-7GDLP6J5-DhiTce2H.js","./xychartDiagram-VJFVF3MP-6LqtFFyz.js","./requirementDiagram-KVF5MWMF-D_RtpMVe.js","./sequenceDiagram-X6HHIX6F-DKsfkllV.js","./classDiagram-GIVACNV2-FGJrs60K.js","./chunk-A2AXSNBT-4c6OK32N.js","./classDiagram-v2-COTLJTTW-FGJrs60K.js","./stateDiagram-DGXRK772-DEAItQI7.js","./chunk-AEK57VVT-BBOCO-aR.js","./stateDiagram-v2-YXO3MK2T-DaDyU-tp.js","./journeyDiagram-U35MCT3I-BTfGUC5S.js","./timeline-definition-BDJGKUSR-VT7KewsR.js","./mindmap-definition-ALO5MXBD-RRZYStOO.js","./cytoscape.esm-C0AOj4uS.js","./kanban-definition-NDS4AKOZ-C-DuH5Nd.js","./sankeyDiagram-QLVOVGJD-DVZvgx2b.js","./diagram-VNBRO52H-DxYagTVG.js","./diagram-SSKATNLV-B9JFQ016.js","./blockDiagram-JOT3LUYC-CxL3mRr9.js","./architectureDiagram-IEHRJDOE-C5riAJAU.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { i as createStyled, l as resolveProps, m as useTheme, n as useTheme$1, r as reactExports, o as React, p as useEnhancedEffect$1, q as clsx, t as useForkRef$1, v as extendSxProp, j as jsxRuntimeExports, w as handleBreakpoints, x as resolveBreakpointValues, y as createUnarySpacing, z as deepmerge, A as mergeBreakpointsInOrder, F as composeClasses$1, G as generateUtilityClass$1, I as createTheme$1, J as getValue$1, h as React$1, K as requireReactDom, g as getDefaultExportFromCjs, L as defaultTheme$2, M as THEME_ID, N as generateUtilityClasses$1, O as useDefaultProps, s as styled$1, P as capitalize$1, Q as memoTheme, _ as _inheritsLoose, S as _objectWithoutPropertiesLoose$k, U as TransitionGroupContext, V as _extends$w, W as duration, u as useTheme$2, X as useTimeout$1, Y as useId$1, Z as ButtonBase, b as alpha$1, $ as createSimplePaletteValueFilter, a0 as CircularProgress, a1 as Paper, a2 as darken$1, a3 as lighten$1, a4 as useEventCallback$1, a5 as useRtl, a6 as globalCss, a7 as formatMuiErrorMessage$1, a8 as rootShouldForwardProp, T as Typography, a9 as css$1, k as keyframes, aa as getPath$2, ab as isFocusVisible, ac as typographyClasses, ad as slotShouldForwardProp, ae as clamp, af as emphasize, ag as Timeout$1, c as createLucideIcon, a as Button, B as Box, ah as FontAwesomeIcon, ai as faExclamationTriangle, D as DEFAULT_THEME, aj as faChevronLeft, ak as faChevronRight, al as faRobot, am as faCheck, an as faTimes, ao as faEraser, ap as faPen, aq as faFileImport, ar as faUpload, as as GlobalStyles, at as requireReact, au as faComment, av as faSave, aw as faEdit, ax as faTrashAlt, ay as faInfoCircle, az as faGear, aA as faPlus, aB as faServer, aC as faStar, aD as faTag, aE as faIdCard, aF as faCalendarAlt, aG as faCodeBranch, aH as faShieldAlt, aI as faArrowLeft, aJ as faClock, C as Code, aK as faSliders, aL as faTrash, aM as faHome, aN as faDownload, aO as faFileAlt, aP as faDesktop, aQ as faImage, aR as faMusic, aS as faVideo, aT as faLaptop, aU as faUsers, aV as faDatabase, aW as faBoxOpen, aX as faBook, aY as faHdd, aZ as faBox, a_ as faArchive, a$ as faNetworkWired, b0 as faFolder, b1 as faFolderOpen, b2 as faFolderTree, b3 as faArrowDown, b4 as faPaperclip, b5 as faStop, b6 as faPaperPlane, b7 as faExclamationCircle, b8 as faFile, b9 as faChevronDown, ba as isDevelopmentMode, bb as faCommentSlash, bc as faArrowRight, bd as faBrain, be as faWandMagicSparkles, bf as faExternalLinkAlt, bg as faKey, bh as radientTheme, bi as faGlobe, bj as faSearch, bk as PropTypes, bl as shouldForwardProp, bm as TransitionGroup, bn as commonjsGlobal, bo as faLock, bp as faPuzzlePiece, H as HardDrive, bq as faSignOut, br as themes$1, bs as faMoon, bt as faSun, bu as faHexagonNodes, bv as faSkull, bw as faLeaf, bx as faCode, by as faMountain, bz as faFire, bA as faIcicles, bB as faBolt, bC as faAdjust, bD as faWaveSquare, bE as faUser, bF as faEnvelope, bG as faHistory, bH as faListAlt, bI as faCreditCard, bJ as faPlusCircle, bK as faChartLine, bL as faShield, bM as library$1, bN as icons$1, f as CssBaseline, e as ThemeProvider$1, d as getTheme, R as ReactDOM$1, E as ErrorBoundary } from "./fonts-BuD2eBgu.js";
|
|
3
3
|
const styled = createStyled();
|
|
4
4
|
function getThemeProps(params) {
|
|
5
5
|
const {
|
|
@@ -1434,18 +1434,18 @@ var QueryCache = class extends Subscribable {
|
|
|
1434
1434
|
this.#queries = /* @__PURE__ */ new Map();
|
|
1435
1435
|
}
|
|
1436
1436
|
#queries;
|
|
1437
|
-
build(
|
|
1437
|
+
build(client2, options, state2) {
|
|
1438
1438
|
const queryKey = options.queryKey;
|
|
1439
1439
|
const queryHash = options.queryHash ?? hashQueryKeyByOptions(queryKey, options);
|
|
1440
1440
|
let query = this.get(queryHash);
|
|
1441
1441
|
if (!query) {
|
|
1442
1442
|
query = new Query({
|
|
1443
|
-
client,
|
|
1443
|
+
client: client2,
|
|
1444
1444
|
queryKey,
|
|
1445
1445
|
queryHash,
|
|
1446
|
-
options:
|
|
1446
|
+
options: client2.defaultQueryOptions(options),
|
|
1447
1447
|
state: state2,
|
|
1448
|
-
defaultOptions:
|
|
1448
|
+
defaultOptions: client2.getQueryDefaults(queryKey)
|
|
1449
1449
|
});
|
|
1450
1450
|
this.add(query);
|
|
1451
1451
|
}
|
|
@@ -1752,11 +1752,11 @@ var MutationCache = class extends Subscribable {
|
|
|
1752
1752
|
#mutations;
|
|
1753
1753
|
#scopes;
|
|
1754
1754
|
#mutationId;
|
|
1755
|
-
build(
|
|
1755
|
+
build(client2, options, state2) {
|
|
1756
1756
|
const mutation = new Mutation({
|
|
1757
1757
|
mutationCache: this,
|
|
1758
1758
|
mutationId: ++this.#mutationId,
|
|
1759
|
-
options:
|
|
1759
|
+
options: client2.defaultMutationOptions(options),
|
|
1760
1760
|
state: state2
|
|
1761
1761
|
});
|
|
1762
1762
|
this.add(mutation);
|
|
@@ -2254,10 +2254,10 @@ var QueryClient = class {
|
|
|
2254
2254
|
}
|
|
2255
2255
|
};
|
|
2256
2256
|
var QueryObserver = class extends Subscribable {
|
|
2257
|
-
constructor(
|
|
2257
|
+
constructor(client2, options) {
|
|
2258
2258
|
super();
|
|
2259
2259
|
this.options = options;
|
|
2260
|
-
this.#client =
|
|
2260
|
+
this.#client = client2;
|
|
2261
2261
|
this.#selectError = null;
|
|
2262
2262
|
this.#currentThenable = pendingThenable();
|
|
2263
2263
|
if (!this.options.experimental_prefetchInRender) {
|
|
@@ -2703,8 +2703,8 @@ function shouldAssignObserverCurrentProperties(observer, optimisticResult) {
|
|
|
2703
2703
|
return false;
|
|
2704
2704
|
}
|
|
2705
2705
|
var InfiniteQueryObserver = class extends QueryObserver {
|
|
2706
|
-
constructor(
|
|
2707
|
-
super(
|
|
2706
|
+
constructor(client2, options) {
|
|
2707
|
+
super(client2, options);
|
|
2708
2708
|
}
|
|
2709
2709
|
bindMethods() {
|
|
2710
2710
|
super.bindMethods();
|
|
@@ -2767,9 +2767,9 @@ var MutationObserver$1 = class MutationObserver2 extends Subscribable {
|
|
|
2767
2767
|
#currentResult = void 0;
|
|
2768
2768
|
#currentMutation;
|
|
2769
2769
|
#mutateOptions;
|
|
2770
|
-
constructor(
|
|
2770
|
+
constructor(client2, options) {
|
|
2771
2771
|
super();
|
|
2772
|
-
this.#client =
|
|
2772
|
+
this.#client = client2;
|
|
2773
2773
|
this.setOptions(options);
|
|
2774
2774
|
this.bindMethods();
|
|
2775
2775
|
this.#updateResult();
|
|
@@ -2859,23 +2859,23 @@ var QueryClientContext = reactExports.createContext(
|
|
|
2859
2859
|
void 0
|
|
2860
2860
|
);
|
|
2861
2861
|
var useQueryClient = (queryClient2) => {
|
|
2862
|
-
const
|
|
2863
|
-
if (!
|
|
2862
|
+
const client2 = reactExports.useContext(QueryClientContext);
|
|
2863
|
+
if (!client2) {
|
|
2864
2864
|
throw new Error("No QueryClient set, use QueryClientProvider to set one");
|
|
2865
2865
|
}
|
|
2866
|
-
return
|
|
2866
|
+
return client2;
|
|
2867
2867
|
};
|
|
2868
2868
|
var QueryClientProvider = ({
|
|
2869
|
-
client,
|
|
2869
|
+
client: client2,
|
|
2870
2870
|
children: children2
|
|
2871
2871
|
}) => {
|
|
2872
2872
|
reactExports.useEffect(() => {
|
|
2873
|
-
|
|
2873
|
+
client2.mount();
|
|
2874
2874
|
return () => {
|
|
2875
|
-
|
|
2875
|
+
client2.unmount();
|
|
2876
2876
|
};
|
|
2877
|
-
}, [
|
|
2878
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(QueryClientContext.Provider, { value:
|
|
2877
|
+
}, [client2]);
|
|
2878
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(QueryClientContext.Provider, { value: client2, children: children2 });
|
|
2879
2879
|
};
|
|
2880
2880
|
var IsRestoringContext = reactExports.createContext(false);
|
|
2881
2881
|
var useIsRestoring = () => reactExports.useContext(IsRestoringContext);
|
|
@@ -2940,21 +2940,21 @@ var fetchOptimistic = (defaultedOptions, observer, errorResetBoundary) => observ
|
|
|
2940
2940
|
errorResetBoundary.clearReset();
|
|
2941
2941
|
});
|
|
2942
2942
|
function useBaseQuery(options, Observer2, queryClient2) {
|
|
2943
|
-
const
|
|
2943
|
+
const client2 = useQueryClient();
|
|
2944
2944
|
const isRestoring = useIsRestoring();
|
|
2945
2945
|
const errorResetBoundary = useQueryErrorResetBoundary();
|
|
2946
|
-
const defaultedOptions =
|
|
2947
|
-
|
|
2946
|
+
const defaultedOptions = client2.defaultQueryOptions(options);
|
|
2947
|
+
client2.getDefaultOptions().queries?._experimental_beforeQuery?.(
|
|
2948
2948
|
defaultedOptions
|
|
2949
2949
|
);
|
|
2950
2950
|
defaultedOptions._optimisticResults = isRestoring ? "isRestoring" : "optimistic";
|
|
2951
2951
|
ensureSuspenseTimers(defaultedOptions);
|
|
2952
2952
|
ensurePreventErrorBoundaryRetry(defaultedOptions, errorResetBoundary);
|
|
2953
2953
|
useClearResetErrorBoundary(errorResetBoundary);
|
|
2954
|
-
const isNewCacheEntry = !
|
|
2954
|
+
const isNewCacheEntry = !client2.getQueryCache().get(defaultedOptions.queryHash);
|
|
2955
2955
|
const [observer] = reactExports.useState(
|
|
2956
2956
|
() => new Observer2(
|
|
2957
|
-
|
|
2957
|
+
client2,
|
|
2958
2958
|
defaultedOptions
|
|
2959
2959
|
)
|
|
2960
2960
|
);
|
|
@@ -2982,12 +2982,12 @@ function useBaseQuery(options, Observer2, queryClient2) {
|
|
|
2982
2982
|
result,
|
|
2983
2983
|
errorResetBoundary,
|
|
2984
2984
|
throwOnError: defaultedOptions.throwOnError,
|
|
2985
|
-
query:
|
|
2985
|
+
query: client2.getQueryCache().get(defaultedOptions.queryHash),
|
|
2986
2986
|
suspense: defaultedOptions.suspense
|
|
2987
2987
|
})) {
|
|
2988
2988
|
throw result.error;
|
|
2989
2989
|
}
|
|
2990
|
-
|
|
2990
|
+
client2.getDefaultOptions().queries?._experimental_afterQuery?.(
|
|
2991
2991
|
defaultedOptions,
|
|
2992
2992
|
result
|
|
2993
2993
|
);
|
|
@@ -2997,7 +2997,7 @@ function useBaseQuery(options, Observer2, queryClient2) {
|
|
|
2997
2997
|
fetchOptimistic(defaultedOptions, observer, errorResetBoundary)
|
|
2998
2998
|
) : (
|
|
2999
2999
|
// subscribe to the "cache promise" so that we can finalize the currentThenable once data comes in
|
|
3000
|
-
|
|
3000
|
+
client2.getQueryCache().get(defaultedOptions.queryHash)?.promise
|
|
3001
3001
|
);
|
|
3002
3002
|
promise?.catch(noop$5).finally(() => {
|
|
3003
3003
|
observer.updateResult();
|
|
@@ -3009,10 +3009,10 @@ function useQuery(options, queryClient2) {
|
|
|
3009
3009
|
return useBaseQuery(options, QueryObserver);
|
|
3010
3010
|
}
|
|
3011
3011
|
function useMutation(options, queryClient2) {
|
|
3012
|
-
const
|
|
3012
|
+
const client2 = useQueryClient();
|
|
3013
3013
|
const [observer] = reactExports.useState(
|
|
3014
3014
|
() => new MutationObserver$1(
|
|
3015
|
-
|
|
3015
|
+
client2,
|
|
3016
3016
|
options
|
|
3017
3017
|
)
|
|
3018
3018
|
);
|
|
@@ -7495,26 +7495,26 @@ function isDeepEqual(obj1, obj2, visited) {
|
|
|
7495
7495
|
return true;
|
|
7496
7496
|
}
|
|
7497
7497
|
function PostHogProvider(_a2) {
|
|
7498
|
-
var children2 = _a2.children,
|
|
7498
|
+
var children2 = _a2.children, client2 = _a2.client, apiKey = _a2.apiKey, options = _a2.options;
|
|
7499
7499
|
var previousInitializationRef = reactExports.useRef(null);
|
|
7500
7500
|
var posthog = reactExports.useMemo(function() {
|
|
7501
|
-
if (
|
|
7501
|
+
if (client2) {
|
|
7502
7502
|
if (apiKey) {
|
|
7503
7503
|
console.warn("[PostHog.js] You have provided both `client` and `apiKey` to `PostHogProvider`. `apiKey` will be ignored in favour of `client`.");
|
|
7504
7504
|
}
|
|
7505
7505
|
if (options) {
|
|
7506
7506
|
console.warn("[PostHog.js] You have provided both `client` and `options` to `PostHogProvider`. `options` will be ignored in favour of `client`.");
|
|
7507
7507
|
}
|
|
7508
|
-
return
|
|
7508
|
+
return client2;
|
|
7509
7509
|
}
|
|
7510
7510
|
if (apiKey) {
|
|
7511
7511
|
return aa;
|
|
7512
7512
|
}
|
|
7513
7513
|
console.warn("[PostHog.js] No `apiKey` or `client` were provided to `PostHogProvider`. Using default global `window.posthog` instance. You must initialize it manually. This is not recommended behavior.");
|
|
7514
7514
|
return aa;
|
|
7515
|
-
}, [
|
|
7515
|
+
}, [client2, apiKey, JSON.stringify(options)]);
|
|
7516
7516
|
reactExports.useEffect(function() {
|
|
7517
|
-
if (
|
|
7517
|
+
if (client2) {
|
|
7518
7518
|
return;
|
|
7519
7519
|
}
|
|
7520
7520
|
var previousInitialization = previousInitializationRef.current;
|
|
@@ -7539,23 +7539,23 @@ function PostHogProvider(_a2) {
|
|
|
7539
7539
|
options: options !== null && options !== void 0 ? options : {}
|
|
7540
7540
|
};
|
|
7541
7541
|
}
|
|
7542
|
-
}, [
|
|
7542
|
+
}, [client2, apiKey, JSON.stringify(options)]);
|
|
7543
7543
|
return React$1.createElement(PostHogContext.Provider, { value: { client: posthog } }, children2);
|
|
7544
7544
|
}
|
|
7545
7545
|
var usePostHog = function() {
|
|
7546
|
-
var
|
|
7547
|
-
return
|
|
7546
|
+
var client2 = reactExports.useContext(PostHogContext).client;
|
|
7547
|
+
return client2;
|
|
7548
7548
|
};
|
|
7549
7549
|
function useFeatureFlagEnabled(flag2) {
|
|
7550
|
-
var
|
|
7550
|
+
var client2 = usePostHog();
|
|
7551
7551
|
var _a2 = reactExports.useState(function() {
|
|
7552
|
-
return
|
|
7552
|
+
return client2.isFeatureEnabled(flag2);
|
|
7553
7553
|
}), featureEnabled = _a2[0], setFeatureEnabled = _a2[1];
|
|
7554
7554
|
reactExports.useEffect(function() {
|
|
7555
|
-
return
|
|
7556
|
-
setFeatureEnabled(
|
|
7555
|
+
return client2.onFeatureFlags(function() {
|
|
7556
|
+
setFeatureEnabled(client2.isFeatureEnabled(flag2));
|
|
7557
7557
|
});
|
|
7558
|
-
}, [
|
|
7558
|
+
}, [client2, flag2]);
|
|
7559
7559
|
return featureEnabled;
|
|
7560
7560
|
}
|
|
7561
7561
|
var extendStatics = function(d2, b2) {
|
|
@@ -7605,8 +7605,8 @@ var __POSTHOG_ERROR_MESSAGES = {
|
|
|
7605
7605
|
} else if (typeof additionalProperties === "object") {
|
|
7606
7606
|
currentProperties = additionalProperties;
|
|
7607
7607
|
}
|
|
7608
|
-
var
|
|
7609
|
-
|
|
7608
|
+
var client2 = this.context.client;
|
|
7609
|
+
client2.captureException(error, currentProperties);
|
|
7610
7610
|
};
|
|
7611
7611
|
PostHogErrorBoundary.prototype.render = function() {
|
|
7612
7612
|
var _a2 = this.props, children2 = _a2.children, fallback2 = _a2.fallback;
|
|
@@ -29397,6 +29397,53 @@ const SchedulesApi = {
|
|
|
29397
29397
|
return response.json();
|
|
29398
29398
|
}
|
|
29399
29399
|
};
|
|
29400
|
+
const SpeechApi = {
|
|
29401
|
+
/**
|
|
29402
|
+
* Generates speech from text.
|
|
29403
|
+
* @param baseUrl - The base URL of the API.
|
|
29404
|
+
* @param request - The speech request details.
|
|
29405
|
+
* @returns A promise that resolves to the audio data as a Blob.
|
|
29406
|
+
*/
|
|
29407
|
+
create: async (baseUrl, request) => {
|
|
29408
|
+
const response = await fetch(`${baseUrl}/v1/tools/speech`, {
|
|
29409
|
+
method: "POST",
|
|
29410
|
+
headers: {
|
|
29411
|
+
"Content-Type": "application/json"
|
|
29412
|
+
},
|
|
29413
|
+
body: JSON.stringify(request)
|
|
29414
|
+
});
|
|
29415
|
+
if (!response.ok) {
|
|
29416
|
+
const errorText = await response.text();
|
|
29417
|
+
throw new Error(
|
|
29418
|
+
`Failed to generate speech: ${response.status} ${errorText}`
|
|
29419
|
+
);
|
|
29420
|
+
}
|
|
29421
|
+
return response.blob();
|
|
29422
|
+
},
|
|
29423
|
+
/**
|
|
29424
|
+
* Generates speech from an agent's last message.
|
|
29425
|
+
* @param baseUrl - The base URL of the API.
|
|
29426
|
+
* @param agentId - The ID of the agent.
|
|
29427
|
+
* @param request - The speech request details.
|
|
29428
|
+
* @returns A promise that resolves to the audio data as a Blob.
|
|
29429
|
+
*/
|
|
29430
|
+
createForAgent: async (baseUrl, agentId, request) => {
|
|
29431
|
+
const response = await fetch(`${baseUrl}/v1/agents/${agentId}/speech`, {
|
|
29432
|
+
method: "POST",
|
|
29433
|
+
headers: {
|
|
29434
|
+
"Content-Type": "application/json"
|
|
29435
|
+
},
|
|
29436
|
+
body: JSON.stringify(request)
|
|
29437
|
+
});
|
|
29438
|
+
if (!response.ok) {
|
|
29439
|
+
const errorText = await response.text();
|
|
29440
|
+
throw new Error(
|
|
29441
|
+
`Failed to generate speech: ${response.status} ${errorText}`
|
|
29442
|
+
);
|
|
29443
|
+
}
|
|
29444
|
+
return response.blob();
|
|
29445
|
+
}
|
|
29446
|
+
};
|
|
29400
29447
|
const getImageUrl = (baseUrl, imagePath) => {
|
|
29401
29448
|
const normalizedBaseUrl = baseUrl.endsWith("/") ? baseUrl.slice(0, -1) : baseUrl;
|
|
29402
29449
|
let normalizedPath = imagePath;
|
|
@@ -29415,6 +29462,15 @@ const getVideoUrl = (baseUrl, videoPath) => {
|
|
|
29415
29462
|
const encodedPath = encodeURIComponent(normalizedPath);
|
|
29416
29463
|
return `${normalizedBaseUrl}/v1/static/videos?path=${encodedPath}`;
|
|
29417
29464
|
};
|
|
29465
|
+
const getAudioUrl = (baseUrl, audioPath) => {
|
|
29466
|
+
const normalizedBaseUrl = baseUrl.endsWith("/") ? baseUrl.slice(0, -1) : baseUrl;
|
|
29467
|
+
let normalizedPath = audioPath;
|
|
29468
|
+
if (normalizedPath.startsWith("file://")) {
|
|
29469
|
+
normalizedPath = normalizedPath.substring(7);
|
|
29470
|
+
}
|
|
29471
|
+
const encodedPath = encodeURIComponent(normalizedPath);
|
|
29472
|
+
return `${normalizedBaseUrl}/v1/static/audio?path=${encodedPath}`;
|
|
29473
|
+
};
|
|
29418
29474
|
const getHtmlUrl = (baseUrl, htmlPath) => {
|
|
29419
29475
|
const normalizedBaseUrl = baseUrl.endsWith("/") ? baseUrl.slice(0, -1) : baseUrl;
|
|
29420
29476
|
let normalizedPath = htmlPath;
|
|
@@ -29427,6 +29483,7 @@ const getHtmlUrl = (baseUrl, htmlPath) => {
|
|
|
29427
29483
|
const StaticApi = {
|
|
29428
29484
|
getImageUrl,
|
|
29429
29485
|
getVideoUrl,
|
|
29486
|
+
getAudioUrl,
|
|
29430
29487
|
getHtmlUrl
|
|
29431
29488
|
};
|
|
29432
29489
|
const TranscriptionApi = {
|
|
@@ -30064,6 +30121,12 @@ class LocalOperatorClient {
|
|
|
30064
30121
|
get transcription() {
|
|
30065
30122
|
return this.bindBaseUrlToApi(TranscriptionApi);
|
|
30066
30123
|
}
|
|
30124
|
+
/**
|
|
30125
|
+
* Get the Speech API client with methods bound to the base URL
|
|
30126
|
+
*/
|
|
30127
|
+
get speech() {
|
|
30128
|
+
return this.bindBaseUrlToApi(SpeechApi);
|
|
30129
|
+
}
|
|
30067
30130
|
/**
|
|
30068
30131
|
* Bind the base URL to all methods of an API client
|
|
30069
30132
|
*
|
|
@@ -35326,8 +35389,8 @@ const useConfig = () => {
|
|
|
35326
35389
|
queryKey: configQueryKey,
|
|
35327
35390
|
queryFn: async () => {
|
|
35328
35391
|
try {
|
|
35329
|
-
const
|
|
35330
|
-
const response = await
|
|
35392
|
+
const client2 = createLocalOperatorClient(apiConfig.baseUrl);
|
|
35393
|
+
const response = await client2.config.getConfig();
|
|
35331
35394
|
if (response.status >= 400) {
|
|
35332
35395
|
throw new Error(response.message || "Failed to fetch configuration");
|
|
35333
35396
|
}
|
|
@@ -35539,8 +35602,8 @@ const useAgents = (page = 1, perPage = 50, refetchInterval = 0, name2, sort, dir
|
|
|
35539
35602
|
queryKey: [...agentsQueryKey, page, perPage, name2, sort, direction],
|
|
35540
35603
|
queryFn: async () => {
|
|
35541
35604
|
try {
|
|
35542
|
-
const
|
|
35543
|
-
const response = await
|
|
35605
|
+
const client2 = createLocalOperatorClient(apiConfig.baseUrl);
|
|
35606
|
+
const response = await client2.agents.listAgents(
|
|
35544
35607
|
page,
|
|
35545
35608
|
perPage,
|
|
35546
35609
|
name2,
|
|
@@ -35580,8 +35643,8 @@ const useAgent = (agentId) => {
|
|
|
35580
35643
|
queryFn: async () => {
|
|
35581
35644
|
if (!agentId) return null;
|
|
35582
35645
|
try {
|
|
35583
|
-
const
|
|
35584
|
-
const response = await
|
|
35646
|
+
const client2 = createLocalOperatorClient(apiConfig.baseUrl);
|
|
35647
|
+
const response = await client2.agents.getAgent(agentId);
|
|
35585
35648
|
if (response.status >= 400) {
|
|
35586
35649
|
throw new Error(
|
|
35587
35650
|
response.message || `Failed to fetch agent ${agentId}`
|
|
@@ -35601,11 +35664,11 @@ const useAgent = (agentId) => {
|
|
|
35601
35664
|
};
|
|
35602
35665
|
const useCreateAgent = () => {
|
|
35603
35666
|
const queryClient2 = useQueryClient();
|
|
35604
|
-
const
|
|
35667
|
+
const client2 = createLocalOperatorClient(apiConfig.baseUrl);
|
|
35605
35668
|
return useMutation({
|
|
35606
35669
|
mutationFn: async (newAgent) => {
|
|
35607
35670
|
try {
|
|
35608
|
-
const response = await
|
|
35671
|
+
const response = await client2.agents.createAgent(newAgent);
|
|
35609
35672
|
if (response.status >= 400) {
|
|
35610
35673
|
throw new Error(response.message || "Failed to create agent");
|
|
35611
35674
|
}
|
|
@@ -35627,11 +35690,11 @@ const useCreateAgent = () => {
|
|
|
35627
35690
|
};
|
|
35628
35691
|
const useUploadAgentToRadientMutation = () => {
|
|
35629
35692
|
const queryClient2 = useQueryClient();
|
|
35630
|
-
const
|
|
35693
|
+
const client2 = createLocalOperatorClient(apiConfig.baseUrl);
|
|
35631
35694
|
return useMutation({
|
|
35632
35695
|
mutationFn: async (agentId) => {
|
|
35633
35696
|
try {
|
|
35634
|
-
const response = await
|
|
35697
|
+
const response = await client2.agents.uploadAgentToRadient(agentId);
|
|
35635
35698
|
if (response.status >= 400) {
|
|
35636
35699
|
throw new Error(
|
|
35637
35700
|
response.message || `Failed to upload agent ${agentId} to Radient`
|
|
@@ -35657,11 +35720,11 @@ const useUploadAgentToRadientMutation = () => {
|
|
|
35657
35720
|
};
|
|
35658
35721
|
const useDeleteAgent = () => {
|
|
35659
35722
|
const queryClient2 = useQueryClient();
|
|
35660
|
-
const
|
|
35723
|
+
const client2 = createLocalOperatorClient(apiConfig.baseUrl);
|
|
35661
35724
|
return useMutation({
|
|
35662
35725
|
mutationFn: async (agentId) => {
|
|
35663
35726
|
try {
|
|
35664
|
-
const response = await
|
|
35727
|
+
const response = await client2.agents.deleteAgent(agentId);
|
|
35665
35728
|
if (response.status >= 400) {
|
|
35666
35729
|
throw new Error(
|
|
35667
35730
|
response.message || `Failed to delete agent ${agentId}`
|
|
@@ -35689,11 +35752,11 @@ const useDeleteAgent = () => {
|
|
|
35689
35752
|
};
|
|
35690
35753
|
const useImportAgent = () => {
|
|
35691
35754
|
const queryClient2 = useQueryClient();
|
|
35692
|
-
const
|
|
35755
|
+
const client2 = createLocalOperatorClient(apiConfig.baseUrl);
|
|
35693
35756
|
return useMutation({
|
|
35694
35757
|
mutationFn: async (file) => {
|
|
35695
35758
|
try {
|
|
35696
|
-
const response = await
|
|
35759
|
+
const response = await client2.agents.importAgent(file);
|
|
35697
35760
|
if (response.status >= 400) {
|
|
35698
35761
|
throw new Error(response.message || "Failed to import agent");
|
|
35699
35762
|
}
|
|
@@ -35715,11 +35778,11 @@ const useImportAgent = () => {
|
|
|
35715
35778
|
});
|
|
35716
35779
|
};
|
|
35717
35780
|
const useExportAgent = () => {
|
|
35718
|
-
const
|
|
35781
|
+
const client2 = createLocalOperatorClient(apiConfig.baseUrl);
|
|
35719
35782
|
return useMutation({
|
|
35720
35783
|
mutationFn: async (agentId) => {
|
|
35721
35784
|
try {
|
|
35722
|
-
return await
|
|
35785
|
+
return await client2.agents.exportAgent(agentId);
|
|
35723
35786
|
} catch (error) {
|
|
35724
35787
|
const errorMessage = error instanceof Error ? error.message : `An unknown error occurred while exporting agent ${agentId}`;
|
|
35725
35788
|
showErrorToast(errorMessage);
|
|
@@ -36008,30 +36071,30 @@ const useAgentSelectionStore = create$3()(
|
|
|
36008
36071
|
* This source code is licensed under the ISC license.
|
|
36009
36072
|
* See the LICENSE file in the root directory of this source tree.
|
|
36010
36073
|
*/
|
|
36011
|
-
const __iconNode$
|
|
36074
|
+
const __iconNode$1v = [
|
|
36012
36075
|
["rect", { width: "20", height: "5", x: "2", y: "3", rx: "1", key: "1wp1u1" }],
|
|
36013
36076
|
["path", { d: "M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8", key: "1s80jp" }],
|
|
36014
36077
|
["path", { d: "M10 12h4", key: "a56b0p" }]
|
|
36015
36078
|
];
|
|
36016
|
-
const Archive = createLucideIcon("archive", __iconNode$
|
|
36079
|
+
const Archive = createLucideIcon("archive", __iconNode$1v);
|
|
36017
36080
|
/**
|
|
36018
36081
|
* @license lucide-react v0.507.0 - ISC
|
|
36019
36082
|
*
|
|
36020
36083
|
* This source code is licensed under the ISC license.
|
|
36021
36084
|
* See the LICENSE file in the root directory of this source tree.
|
|
36022
36085
|
*/
|
|
36023
|
-
const __iconNode$
|
|
36086
|
+
const __iconNode$1u = [
|
|
36024
36087
|
["path", { d: "m12 19-7-7 7-7", key: "1l729n" }],
|
|
36025
36088
|
["path", { d: "M19 12H5", key: "x3x0zl" }]
|
|
36026
36089
|
];
|
|
36027
|
-
const ArrowLeft = createLucideIcon("arrow-left", __iconNode$
|
|
36090
|
+
const ArrowLeft = createLucideIcon("arrow-left", __iconNode$1u);
|
|
36028
36091
|
/**
|
|
36029
36092
|
* @license lucide-react v0.507.0 - ISC
|
|
36030
36093
|
*
|
|
36031
36094
|
* This source code is licensed under the ISC license.
|
|
36032
36095
|
* See the LICENSE file in the root directory of this source tree.
|
|
36033
36096
|
*/
|
|
36034
|
-
const __iconNode$
|
|
36097
|
+
const __iconNode$1t = [
|
|
36035
36098
|
["path", { d: "M2 10v3", key: "1fnikh" }],
|
|
36036
36099
|
["path", { d: "M6 6v11", key: "11sgs0" }],
|
|
36037
36100
|
["path", { d: "M10 3v18", key: "yhl04a" }],
|
|
@@ -36039,14 +36102,14 @@ const __iconNode$1o = [
|
|
|
36039
36102
|
["path", { d: "M18 5v13", key: "123xd1" }],
|
|
36040
36103
|
["path", { d: "M22 10v3", key: "154ddg" }]
|
|
36041
36104
|
];
|
|
36042
|
-
const AudioLines = createLucideIcon("audio-lines", __iconNode$
|
|
36105
|
+
const AudioLines = createLucideIcon("audio-lines", __iconNode$1t);
|
|
36043
36106
|
/**
|
|
36044
36107
|
* @license lucide-react v0.507.0 - ISC
|
|
36045
36108
|
*
|
|
36046
36109
|
* This source code is licensed under the ISC license.
|
|
36047
36110
|
* See the LICENSE file in the root directory of this source tree.
|
|
36048
36111
|
*/
|
|
36049
|
-
const __iconNode$
|
|
36112
|
+
const __iconNode$1s = [
|
|
36050
36113
|
[
|
|
36051
36114
|
"path",
|
|
36052
36115
|
{
|
|
@@ -36055,14 +36118,14 @@ const __iconNode$1n = [
|
|
|
36055
36118
|
}
|
|
36056
36119
|
]
|
|
36057
36120
|
];
|
|
36058
|
-
const Book = createLucideIcon("book", __iconNode$
|
|
36121
|
+
const Book = createLucideIcon("book", __iconNode$1s);
|
|
36059
36122
|
/**
|
|
36060
36123
|
* @license lucide-react v0.507.0 - ISC
|
|
36061
36124
|
*
|
|
36062
36125
|
* This source code is licensed under the ISC license.
|
|
36063
36126
|
* See the LICENSE file in the root directory of this source tree.
|
|
36064
36127
|
*/
|
|
36065
|
-
const __iconNode$
|
|
36128
|
+
const __iconNode$1r = [
|
|
36066
36129
|
["path", { d: "M12 8V4H8", key: "hb8ula" }],
|
|
36067
36130
|
["rect", { width: "16", height: "12", x: "4", y: "8", rx: "2", key: "enze0r" }],
|
|
36068
36131
|
["path", { d: "M2 14h2", key: "vft8re" }],
|
|
@@ -36070,25 +36133,25 @@ const __iconNode$1m = [
|
|
|
36070
36133
|
["path", { d: "M15 13v2", key: "1xurst" }],
|
|
36071
36134
|
["path", { d: "M9 13v2", key: "rq6x2g" }]
|
|
36072
36135
|
];
|
|
36073
|
-
const Bot = createLucideIcon("bot", __iconNode$
|
|
36136
|
+
const Bot = createLucideIcon("bot", __iconNode$1r);
|
|
36074
36137
|
/**
|
|
36075
36138
|
* @license lucide-react v0.507.0 - ISC
|
|
36076
36139
|
*
|
|
36077
36140
|
* This source code is licensed under the ISC license.
|
|
36078
36141
|
* See the LICENSE file in the root directory of this source tree.
|
|
36079
36142
|
*/
|
|
36080
|
-
const __iconNode$
|
|
36143
|
+
const __iconNode$1q = [
|
|
36081
36144
|
["path", { d: "M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16", key: "jecpp" }],
|
|
36082
36145
|
["rect", { width: "20", height: "14", x: "2", y: "6", rx: "2", key: "i6l2r4" }]
|
|
36083
36146
|
];
|
|
36084
|
-
const Briefcase = createLucideIcon("briefcase", __iconNode$
|
|
36147
|
+
const Briefcase = createLucideIcon("briefcase", __iconNode$1q);
|
|
36085
36148
|
/**
|
|
36086
36149
|
* @license lucide-react v0.507.0 - ISC
|
|
36087
36150
|
*
|
|
36088
36151
|
* This source code is licensed under the ISC license.
|
|
36089
36152
|
* See the LICENSE file in the root directory of this source tree.
|
|
36090
36153
|
*/
|
|
36091
|
-
const __iconNode$
|
|
36154
|
+
const __iconNode$1p = [
|
|
36092
36155
|
["path", { d: "M8 2v4", key: "1cmpym" }],
|
|
36093
36156
|
["path", { d: "M16 2v4", key: "4m81vk" }],
|
|
36094
36157
|
["rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", key: "1hopcy" }],
|
|
@@ -36100,163 +36163,175 @@ const __iconNode$1k = [
|
|
|
36100
36163
|
["path", { d: "M12 18h.01", key: "mhygvu" }],
|
|
36101
36164
|
["path", { d: "M16 18h.01", key: "kzsmim" }]
|
|
36102
36165
|
];
|
|
36103
|
-
const CalendarDays = createLucideIcon("calendar-days", __iconNode$
|
|
36166
|
+
const CalendarDays = createLucideIcon("calendar-days", __iconNode$1p);
|
|
36104
36167
|
/**
|
|
36105
36168
|
* @license lucide-react v0.507.0 - ISC
|
|
36106
36169
|
*
|
|
36107
36170
|
* This source code is licensed under the ISC license.
|
|
36108
36171
|
* See the LICENSE file in the root directory of this source tree.
|
|
36109
36172
|
*/
|
|
36110
|
-
const __iconNode$
|
|
36173
|
+
const __iconNode$1o = [
|
|
36111
36174
|
["path", { d: "M8 2v4", key: "1cmpym" }],
|
|
36112
36175
|
["path", { d: "M16 2v4", key: "4m81vk" }],
|
|
36113
36176
|
["rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", key: "1hopcy" }],
|
|
36114
36177
|
["path", { d: "M3 10h18", key: "8toen8" }]
|
|
36115
36178
|
];
|
|
36116
|
-
const Calendar = createLucideIcon("calendar", __iconNode$
|
|
36179
|
+
const Calendar = createLucideIcon("calendar", __iconNode$1o);
|
|
36117
36180
|
/**
|
|
36118
36181
|
* @license lucide-react v0.507.0 - ISC
|
|
36119
36182
|
*
|
|
36120
36183
|
* This source code is licensed under the ISC license.
|
|
36121
36184
|
* See the LICENSE file in the root directory of this source tree.
|
|
36122
36185
|
*/
|
|
36123
|
-
const __iconNode$
|
|
36186
|
+
const __iconNode$1n = [
|
|
36124
36187
|
["line", { x1: "18", x2: "18", y1: "20", y2: "10", key: "1xfpm4" }],
|
|
36125
36188
|
["line", { x1: "12", x2: "12", y1: "20", y2: "4", key: "be30l9" }],
|
|
36126
36189
|
["line", { x1: "6", x2: "6", y1: "20", y2: "14", key: "1r4le6" }]
|
|
36127
36190
|
];
|
|
36128
|
-
const ChartNoAxesColumn = createLucideIcon("chart-no-axes-column", __iconNode$
|
|
36191
|
+
const ChartNoAxesColumn = createLucideIcon("chart-no-axes-column", __iconNode$1n);
|
|
36129
36192
|
/**
|
|
36130
36193
|
* @license lucide-react v0.507.0 - ISC
|
|
36131
36194
|
*
|
|
36132
36195
|
* This source code is licensed under the ISC license.
|
|
36133
36196
|
* See the LICENSE file in the root directory of this source tree.
|
|
36134
36197
|
*/
|
|
36135
|
-
const __iconNode$
|
|
36136
|
-
const Check = createLucideIcon("check", __iconNode$
|
|
36198
|
+
const __iconNode$1m = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]];
|
|
36199
|
+
const Check = createLucideIcon("check", __iconNode$1m);
|
|
36137
36200
|
/**
|
|
36138
36201
|
* @license lucide-react v0.507.0 - ISC
|
|
36139
36202
|
*
|
|
36140
36203
|
* This source code is licensed under the ISC license.
|
|
36141
36204
|
* See the LICENSE file in the root directory of this source tree.
|
|
36142
36205
|
*/
|
|
36143
|
-
const __iconNode$
|
|
36144
|
-
const ChevronDown = createLucideIcon("chevron-down", __iconNode$
|
|
36206
|
+
const __iconNode$1l = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]];
|
|
36207
|
+
const ChevronDown = createLucideIcon("chevron-down", __iconNode$1l);
|
|
36145
36208
|
/**
|
|
36146
36209
|
* @license lucide-react v0.507.0 - ISC
|
|
36147
36210
|
*
|
|
36148
36211
|
* This source code is licensed under the ISC license.
|
|
36149
36212
|
* See the LICENSE file in the root directory of this source tree.
|
|
36150
36213
|
*/
|
|
36151
|
-
const __iconNode$
|
|
36152
|
-
const ChevronLeft = createLucideIcon("chevron-left", __iconNode$
|
|
36214
|
+
const __iconNode$1k = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]];
|
|
36215
|
+
const ChevronLeft = createLucideIcon("chevron-left", __iconNode$1k);
|
|
36153
36216
|
/**
|
|
36154
36217
|
* @license lucide-react v0.507.0 - ISC
|
|
36155
36218
|
*
|
|
36156
36219
|
* This source code is licensed under the ISC license.
|
|
36157
36220
|
* See the LICENSE file in the root directory of this source tree.
|
|
36158
36221
|
*/
|
|
36159
|
-
const __iconNode$
|
|
36160
|
-
const ChevronRight = createLucideIcon("chevron-right", __iconNode$
|
|
36222
|
+
const __iconNode$1j = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]];
|
|
36223
|
+
const ChevronRight = createLucideIcon("chevron-right", __iconNode$1j);
|
|
36161
36224
|
/**
|
|
36162
36225
|
* @license lucide-react v0.507.0 - ISC
|
|
36163
36226
|
*
|
|
36164
36227
|
* This source code is licensed under the ISC license.
|
|
36165
36228
|
* See the LICENSE file in the root directory of this source tree.
|
|
36166
36229
|
*/
|
|
36167
|
-
const __iconNode$
|
|
36168
|
-
const ChevronUp = createLucideIcon("chevron-up", __iconNode$
|
|
36230
|
+
const __iconNode$1i = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]];
|
|
36231
|
+
const ChevronUp = createLucideIcon("chevron-up", __iconNode$1i);
|
|
36169
36232
|
/**
|
|
36170
36233
|
* @license lucide-react v0.507.0 - ISC
|
|
36171
36234
|
*
|
|
36172
36235
|
* This source code is licensed under the ISC license.
|
|
36173
36236
|
* See the LICENSE file in the root directory of this source tree.
|
|
36174
36237
|
*/
|
|
36175
|
-
const __iconNode$
|
|
36238
|
+
const __iconNode$1h = [
|
|
36176
36239
|
["path", { d: "M21.801 10A10 10 0 1 1 17 3.335", key: "yps3ct" }],
|
|
36177
36240
|
["path", { d: "m9 11 3 3L22 4", key: "1pflzl" }]
|
|
36178
36241
|
];
|
|
36179
|
-
const CircleCheckBig = createLucideIcon("circle-check-big", __iconNode$
|
|
36242
|
+
const CircleCheckBig = createLucideIcon("circle-check-big", __iconNode$1h);
|
|
36180
36243
|
/**
|
|
36181
36244
|
* @license lucide-react v0.507.0 - ISC
|
|
36182
36245
|
*
|
|
36183
36246
|
* This source code is licensed under the ISC license.
|
|
36184
36247
|
* See the LICENSE file in the root directory of this source tree.
|
|
36185
36248
|
*/
|
|
36186
|
-
const __iconNode$
|
|
36249
|
+
const __iconNode$1g = [
|
|
36187
36250
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
36188
36251
|
["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
|
|
36189
36252
|
];
|
|
36190
|
-
const CircleCheck = createLucideIcon("circle-check", __iconNode$
|
|
36253
|
+
const CircleCheck = createLucideIcon("circle-check", __iconNode$1g);
|
|
36191
36254
|
/**
|
|
36192
36255
|
* @license lucide-react v0.507.0 - ISC
|
|
36193
36256
|
*
|
|
36194
36257
|
* This source code is licensed under the ISC license.
|
|
36195
36258
|
* See the LICENSE file in the root directory of this source tree.
|
|
36196
36259
|
*/
|
|
36197
|
-
const __iconNode$
|
|
36260
|
+
const __iconNode$1f = [
|
|
36198
36261
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
36199
36262
|
["path", { d: "M17 12h.01", key: "1m0b6t" }],
|
|
36200
36263
|
["path", { d: "M12 12h.01", key: "1mp3jc" }],
|
|
36201
36264
|
["path", { d: "M7 12h.01", key: "eqddd0" }]
|
|
36202
36265
|
];
|
|
36203
|
-
const CircleEllipsis = createLucideIcon("circle-ellipsis", __iconNode$
|
|
36266
|
+
const CircleEllipsis = createLucideIcon("circle-ellipsis", __iconNode$1f);
|
|
36204
36267
|
/**
|
|
36205
36268
|
* @license lucide-react v0.507.0 - ISC
|
|
36206
36269
|
*
|
|
36207
36270
|
* This source code is licensed under the ISC license.
|
|
36208
36271
|
* See the LICENSE file in the root directory of this source tree.
|
|
36209
36272
|
*/
|
|
36210
|
-
const __iconNode$
|
|
36273
|
+
const __iconNode$1e = [
|
|
36211
36274
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
36212
36275
|
["path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3", key: "1u773s" }],
|
|
36213
36276
|
["path", { d: "M12 17h.01", key: "p32p05" }]
|
|
36214
36277
|
];
|
|
36215
|
-
const CircleHelp = createLucideIcon("circle-help", __iconNode$
|
|
36278
|
+
const CircleHelp = createLucideIcon("circle-help", __iconNode$1e);
|
|
36216
36279
|
/**
|
|
36217
36280
|
* @license lucide-react v0.507.0 - ISC
|
|
36218
36281
|
*
|
|
36219
36282
|
* This source code is licensed under the ISC license.
|
|
36220
36283
|
* See the LICENSE file in the root directory of this source tree.
|
|
36221
36284
|
*/
|
|
36222
|
-
const __iconNode$
|
|
36285
|
+
const __iconNode$1d = [
|
|
36286
|
+
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
36287
|
+
["line", { x1: "10", x2: "10", y1: "15", y2: "9", key: "c1nkhi" }],
|
|
36288
|
+
["line", { x1: "14", x2: "14", y1: "15", y2: "9", key: "h65svq" }]
|
|
36289
|
+
];
|
|
36290
|
+
const CirclePause = createLucideIcon("circle-pause", __iconNode$1d);
|
|
36291
|
+
/**
|
|
36292
|
+
* @license lucide-react v0.507.0 - ISC
|
|
36293
|
+
*
|
|
36294
|
+
* This source code is licensed under the ISC license.
|
|
36295
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
36296
|
+
*/
|
|
36297
|
+
const __iconNode$1c = [
|
|
36223
36298
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
36224
36299
|
["polygon", { points: "10 8 16 12 10 16 10 8", key: "1cimsy" }]
|
|
36225
36300
|
];
|
|
36226
|
-
const CirclePlay = createLucideIcon("circle-play", __iconNode$
|
|
36301
|
+
const CirclePlay = createLucideIcon("circle-play", __iconNode$1c);
|
|
36227
36302
|
/**
|
|
36228
36303
|
* @license lucide-react v0.507.0 - ISC
|
|
36229
36304
|
*
|
|
36230
36305
|
* This source code is licensed under the ISC license.
|
|
36231
36306
|
* See the LICENSE file in the root directory of this source tree.
|
|
36232
36307
|
*/
|
|
36233
|
-
const __iconNode$
|
|
36308
|
+
const __iconNode$1b = [
|
|
36234
36309
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
36235
36310
|
["path", { d: "M8 12h8", key: "1wcyev" }],
|
|
36236
36311
|
["path", { d: "M12 8v8", key: "napkw2" }]
|
|
36237
36312
|
];
|
|
36238
|
-
const CirclePlus = createLucideIcon("circle-plus", __iconNode$
|
|
36313
|
+
const CirclePlus = createLucideIcon("circle-plus", __iconNode$1b);
|
|
36239
36314
|
/**
|
|
36240
36315
|
* @license lucide-react v0.507.0 - ISC
|
|
36241
36316
|
*
|
|
36242
36317
|
* This source code is licensed under the ISC license.
|
|
36243
36318
|
* See the LICENSE file in the root directory of this source tree.
|
|
36244
36319
|
*/
|
|
36245
|
-
const __iconNode$
|
|
36320
|
+
const __iconNode$1a = [
|
|
36246
36321
|
["rect", { width: "8", height: "4", x: "8", y: "2", rx: "1", ry: "1", key: "tgr4d6" }],
|
|
36247
36322
|
["path", { d: "M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2", key: "4jdomd" }],
|
|
36248
36323
|
["path", { d: "M16 4h2a2 2 0 0 1 2 2v4", key: "3hqy98" }],
|
|
36249
36324
|
["path", { d: "M21 14H11", key: "1bme5i" }],
|
|
36250
36325
|
["path", { d: "m15 10-4 4 4 4", key: "5dvupr" }]
|
|
36251
36326
|
];
|
|
36252
|
-
const ClipboardCopy = createLucideIcon("clipboard-copy", __iconNode$
|
|
36327
|
+
const ClipboardCopy = createLucideIcon("clipboard-copy", __iconNode$1a);
|
|
36253
36328
|
/**
|
|
36254
36329
|
* @license lucide-react v0.507.0 - ISC
|
|
36255
36330
|
*
|
|
36256
36331
|
* This source code is licensed under the ISC license.
|
|
36257
36332
|
* See the LICENSE file in the root directory of this source tree.
|
|
36258
36333
|
*/
|
|
36259
|
-
const __iconNode$
|
|
36334
|
+
const __iconNode$19 = [
|
|
36260
36335
|
["rect", { width: "8", height: "4", x: "8", y: "2", rx: "1", ry: "1", key: "tgr4d6" }],
|
|
36261
36336
|
[
|
|
36262
36337
|
"path",
|
|
@@ -36270,72 +36345,72 @@ const __iconNode$15 = [
|
|
|
36270
36345
|
["path", { d: "M8 11h.01", key: "1dfujw" }],
|
|
36271
36346
|
["path", { d: "M8 16h.01", key: "18s6g9" }]
|
|
36272
36347
|
];
|
|
36273
|
-
const ClipboardList = createLucideIcon("clipboard-list", __iconNode$
|
|
36348
|
+
const ClipboardList = createLucideIcon("clipboard-list", __iconNode$19);
|
|
36274
36349
|
/**
|
|
36275
36350
|
* @license lucide-react v0.507.0 - ISC
|
|
36276
36351
|
*
|
|
36277
36352
|
* This source code is licensed under the ISC license.
|
|
36278
36353
|
* See the LICENSE file in the root directory of this source tree.
|
|
36279
36354
|
*/
|
|
36280
|
-
const __iconNode$
|
|
36355
|
+
const __iconNode$18 = [
|
|
36281
36356
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
36282
36357
|
["polyline", { points: "12 6 12 12 16 14", key: "68esgv" }]
|
|
36283
36358
|
];
|
|
36284
|
-
const Clock$1 = createLucideIcon("clock", __iconNode$
|
|
36359
|
+
const Clock$1 = createLucideIcon("clock", __iconNode$18);
|
|
36285
36360
|
/**
|
|
36286
36361
|
* @license lucide-react v0.507.0 - ISC
|
|
36287
36362
|
*
|
|
36288
36363
|
* This source code is licensed under the ISC license.
|
|
36289
36364
|
* See the LICENSE file in the root directory of this source tree.
|
|
36290
36365
|
*/
|
|
36291
|
-
const __iconNode$
|
|
36366
|
+
const __iconNode$17 = [
|
|
36292
36367
|
["path", { d: "M12 13v8", key: "1l5pq0" }],
|
|
36293
36368
|
["path", { d: "M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242", key: "1pljnt" }],
|
|
36294
36369
|
["path", { d: "m8 17 4-4 4 4", key: "1quai1" }]
|
|
36295
36370
|
];
|
|
36296
|
-
const CloudUpload = createLucideIcon("cloud-upload", __iconNode$
|
|
36371
|
+
const CloudUpload = createLucideIcon("cloud-upload", __iconNode$17);
|
|
36297
36372
|
/**
|
|
36298
36373
|
* @license lucide-react v0.507.0 - ISC
|
|
36299
36374
|
*
|
|
36300
36375
|
* This source code is licensed under the ISC license.
|
|
36301
36376
|
* See the LICENSE file in the root directory of this source tree.
|
|
36302
36377
|
*/
|
|
36303
|
-
const __iconNode$
|
|
36378
|
+
const __iconNode$16 = [
|
|
36304
36379
|
["path", { d: "m18 16 4-4-4-4", key: "1inbqp" }],
|
|
36305
36380
|
["path", { d: "m6 8-4 4 4 4", key: "15zrgr" }],
|
|
36306
36381
|
["path", { d: "m14.5 4-5 16", key: "e7oirm" }]
|
|
36307
36382
|
];
|
|
36308
|
-
const CodeXml = createLucideIcon("code-xml", __iconNode$
|
|
36383
|
+
const CodeXml = createLucideIcon("code-xml", __iconNode$16);
|
|
36309
36384
|
/**
|
|
36310
36385
|
* @license lucide-react v0.507.0 - ISC
|
|
36311
36386
|
*
|
|
36312
36387
|
* This source code is licensed under the ISC license.
|
|
36313
36388
|
* See the LICENSE file in the root directory of this source tree.
|
|
36314
36389
|
*/
|
|
36315
|
-
const __iconNode$
|
|
36390
|
+
const __iconNode$15 = [
|
|
36316
36391
|
["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
|
|
36317
36392
|
["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
|
|
36318
36393
|
];
|
|
36319
|
-
const Copy = createLucideIcon("copy", __iconNode$
|
|
36394
|
+
const Copy = createLucideIcon("copy", __iconNode$15);
|
|
36320
36395
|
/**
|
|
36321
36396
|
* @license lucide-react v0.507.0 - ISC
|
|
36322
36397
|
*
|
|
36323
36398
|
* This source code is licensed under the ISC license.
|
|
36324
36399
|
* See the LICENSE file in the root directory of this source tree.
|
|
36325
36400
|
*/
|
|
36326
|
-
const __iconNode$
|
|
36401
|
+
const __iconNode$14 = [
|
|
36327
36402
|
["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4", key: "ih7n3h" }],
|
|
36328
36403
|
["polyline", { points: "7 10 12 15 17 10", key: "2ggqvy" }],
|
|
36329
36404
|
["line", { x1: "12", x2: "12", y1: "15", y2: "3", key: "1vk2je" }]
|
|
36330
36405
|
];
|
|
36331
|
-
const Download = createLucideIcon("download", __iconNode$
|
|
36406
|
+
const Download = createLucideIcon("download", __iconNode$14);
|
|
36332
36407
|
/**
|
|
36333
36408
|
* @license lucide-react v0.507.0 - ISC
|
|
36334
36409
|
*
|
|
36335
36410
|
* This source code is licensed under the ISC license.
|
|
36336
36411
|
* See the LICENSE file in the root directory of this source tree.
|
|
36337
36412
|
*/
|
|
36338
|
-
const __iconNode
|
|
36413
|
+
const __iconNode$13 = [
|
|
36339
36414
|
["path", { d: "M21.54 15H17a2 2 0 0 0-2 2v4.54", key: "1djwo0" }],
|
|
36340
36415
|
[
|
|
36341
36416
|
"path",
|
|
@@ -36347,38 +36422,38 @@ const __iconNode$$ = [
|
|
|
36347
36422
|
["path", { d: "M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05", key: "14pb5j" }],
|
|
36348
36423
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]
|
|
36349
36424
|
];
|
|
36350
|
-
const Earth = createLucideIcon("earth", __iconNode
|
|
36425
|
+
const Earth = createLucideIcon("earth", __iconNode$13);
|
|
36351
36426
|
/**
|
|
36352
36427
|
* @license lucide-react v0.507.0 - ISC
|
|
36353
36428
|
*
|
|
36354
36429
|
* This source code is licensed under the ISC license.
|
|
36355
36430
|
* See the LICENSE file in the root directory of this source tree.
|
|
36356
36431
|
*/
|
|
36357
|
-
const __iconNode$
|
|
36432
|
+
const __iconNode$12 = [
|
|
36358
36433
|
["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
|
|
36359
36434
|
["circle", { cx: "12", cy: "5", r: "1", key: "gxeob9" }],
|
|
36360
36435
|
["circle", { cx: "12", cy: "19", r: "1", key: "lyex9k" }]
|
|
36361
36436
|
];
|
|
36362
|
-
const EllipsisVertical = createLucideIcon("ellipsis-vertical", __iconNode$
|
|
36437
|
+
const EllipsisVertical = createLucideIcon("ellipsis-vertical", __iconNode$12);
|
|
36363
36438
|
/**
|
|
36364
36439
|
* @license lucide-react v0.507.0 - ISC
|
|
36365
36440
|
*
|
|
36366
36441
|
* This source code is licensed under the ISC license.
|
|
36367
36442
|
* See the LICENSE file in the root directory of this source tree.
|
|
36368
36443
|
*/
|
|
36369
|
-
const __iconNode$
|
|
36444
|
+
const __iconNode$11 = [
|
|
36370
36445
|
["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
|
|
36371
36446
|
["circle", { cx: "19", cy: "12", r: "1", key: "1wjl8i" }],
|
|
36372
36447
|
["circle", { cx: "5", cy: "12", r: "1", key: "1pcz8c" }]
|
|
36373
36448
|
];
|
|
36374
|
-
const Ellipsis = createLucideIcon("ellipsis", __iconNode$
|
|
36449
|
+
const Ellipsis = createLucideIcon("ellipsis", __iconNode$11);
|
|
36375
36450
|
/**
|
|
36376
36451
|
* @license lucide-react v0.507.0 - ISC
|
|
36377
36452
|
*
|
|
36378
36453
|
* This source code is licensed under the ISC license.
|
|
36379
36454
|
* See the LICENSE file in the root directory of this source tree.
|
|
36380
36455
|
*/
|
|
36381
|
-
const __iconNode$
|
|
36456
|
+
const __iconNode$10 = [
|
|
36382
36457
|
[
|
|
36383
36458
|
"path",
|
|
36384
36459
|
{
|
|
@@ -36389,65 +36464,65 @@ const __iconNode$Y = [
|
|
|
36389
36464
|
["path", { d: "M22 21H7", key: "t4ddhn" }],
|
|
36390
36465
|
["path", { d: "m5 11 9 9", key: "1mo9qw" }]
|
|
36391
36466
|
];
|
|
36392
|
-
const Eraser = createLucideIcon("eraser", __iconNode$
|
|
36467
|
+
const Eraser = createLucideIcon("eraser", __iconNode$10);
|
|
36393
36468
|
/**
|
|
36394
36469
|
* @license lucide-react v0.507.0 - ISC
|
|
36395
36470
|
*
|
|
36396
36471
|
* This source code is licensed under the ISC license.
|
|
36397
36472
|
* See the LICENSE file in the root directory of this source tree.
|
|
36398
36473
|
*/
|
|
36399
|
-
const __iconNode
|
|
36474
|
+
const __iconNode$$ = [
|
|
36400
36475
|
["path", { d: "M15 3h6v6", key: "1q9fwt" }],
|
|
36401
36476
|
["path", { d: "M10 14 21 3", key: "gplh6r" }],
|
|
36402
36477
|
["path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6", key: "a6xqqp" }]
|
|
36403
36478
|
];
|
|
36404
|
-
const ExternalLink = createLucideIcon("external-link", __iconNode
|
|
36479
|
+
const ExternalLink = createLucideIcon("external-link", __iconNode$$);
|
|
36405
36480
|
/**
|
|
36406
36481
|
* @license lucide-react v0.507.0 - ISC
|
|
36407
36482
|
*
|
|
36408
36483
|
* This source code is licensed under the ISC license.
|
|
36409
36484
|
* See the LICENSE file in the root directory of this source tree.
|
|
36410
36485
|
*/
|
|
36411
|
-
const __iconNode$
|
|
36486
|
+
const __iconNode$_ = [
|
|
36412
36487
|
["path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z", key: "1rqfz7" }],
|
|
36413
36488
|
["path", { d: "M14 2v4a2 2 0 0 0 2 2h4", key: "tnqrlb" }],
|
|
36414
36489
|
["circle", { cx: "10", cy: "12", r: "2", key: "737tya" }],
|
|
36415
36490
|
["path", { d: "m20 17-1.296-1.296a2.41 2.41 0 0 0-3.408 0L9 22", key: "wt3hpn" }]
|
|
36416
36491
|
];
|
|
36417
|
-
const FileImage = createLucideIcon("file-image", __iconNode$
|
|
36492
|
+
const FileImage = createLucideIcon("file-image", __iconNode$_);
|
|
36418
36493
|
/**
|
|
36419
36494
|
* @license lucide-react v0.507.0 - ISC
|
|
36420
36495
|
*
|
|
36421
36496
|
* This source code is licensed under the ISC license.
|
|
36422
36497
|
* See the LICENSE file in the root directory of this source tree.
|
|
36423
36498
|
*/
|
|
36424
|
-
const __iconNode$
|
|
36499
|
+
const __iconNode$Z = [
|
|
36425
36500
|
["path", { d: "M14 2v4a2 2 0 0 0 2 2h4", key: "tnqrlb" }],
|
|
36426
36501
|
["path", { d: "M4 7V4a2 2 0 0 1 2-2 2 2 0 0 0-2 2", key: "1vk7w2" }],
|
|
36427
36502
|
["path", { d: "M4.063 20.999a2 2 0 0 0 2 1L18 22a2 2 0 0 0 2-2V7l-5-5H6", key: "1jink5" }],
|
|
36428
36503
|
["path", { d: "m5 11-3 3", key: "1dgrs4" }],
|
|
36429
36504
|
["path", { d: "m5 17-3-3h10", key: "1mvvaf" }]
|
|
36430
36505
|
];
|
|
36431
|
-
const FileOutput = createLucideIcon("file-output", __iconNode$
|
|
36506
|
+
const FileOutput = createLucideIcon("file-output", __iconNode$Z);
|
|
36432
36507
|
/**
|
|
36433
36508
|
* @license lucide-react v0.507.0 - ISC
|
|
36434
36509
|
*
|
|
36435
36510
|
* This source code is licensed under the ISC license.
|
|
36436
36511
|
* See the LICENSE file in the root directory of this source tree.
|
|
36437
36512
|
*/
|
|
36438
|
-
const __iconNode$
|
|
36513
|
+
const __iconNode$Y = [
|
|
36439
36514
|
["path", { d: "M12 17h.01", key: "p32p05" }],
|
|
36440
36515
|
["path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z", key: "1mlx9k" }],
|
|
36441
36516
|
["path", { d: "M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3", key: "mhlwft" }]
|
|
36442
36517
|
];
|
|
36443
|
-
const FileQuestion = createLucideIcon("file-question", __iconNode$
|
|
36518
|
+
const FileQuestion = createLucideIcon("file-question", __iconNode$Y);
|
|
36444
36519
|
/**
|
|
36445
36520
|
* @license lucide-react v0.507.0 - ISC
|
|
36446
36521
|
*
|
|
36447
36522
|
* This source code is licensed under the ISC license.
|
|
36448
36523
|
* See the LICENSE file in the root directory of this source tree.
|
|
36449
36524
|
*/
|
|
36450
|
-
const __iconNode$
|
|
36525
|
+
const __iconNode$X = [
|
|
36451
36526
|
["path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z", key: "1rqfz7" }],
|
|
36452
36527
|
["path", { d: "M14 2v4a2 2 0 0 0 2 2h4", key: "tnqrlb" }],
|
|
36453
36528
|
["path", { d: "M8 13h2", key: "yr2amv" }],
|
|
@@ -36455,64 +36530,64 @@ const __iconNode$T = [
|
|
|
36455
36530
|
["path", { d: "M8 17h2", key: "2yhykz" }],
|
|
36456
36531
|
["path", { d: "M14 17h2", key: "10kma7" }]
|
|
36457
36532
|
];
|
|
36458
|
-
const FileSpreadsheet = createLucideIcon("file-spreadsheet", __iconNode$
|
|
36533
|
+
const FileSpreadsheet = createLucideIcon("file-spreadsheet", __iconNode$X);
|
|
36459
36534
|
/**
|
|
36460
36535
|
* @license lucide-react v0.507.0 - ISC
|
|
36461
36536
|
*
|
|
36462
36537
|
* This source code is licensed under the ISC license.
|
|
36463
36538
|
* See the LICENSE file in the root directory of this source tree.
|
|
36464
36539
|
*/
|
|
36465
|
-
const __iconNode$
|
|
36540
|
+
const __iconNode$W = [
|
|
36466
36541
|
["path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z", key: "1rqfz7" }],
|
|
36467
36542
|
["path", { d: "M14 2v4a2 2 0 0 0 2 2h4", key: "tnqrlb" }],
|
|
36468
36543
|
["path", { d: "M10 9H8", key: "b1mrlr" }],
|
|
36469
36544
|
["path", { d: "M16 13H8", key: "t4e002" }],
|
|
36470
36545
|
["path", { d: "M16 17H8", key: "z1uh3a" }]
|
|
36471
36546
|
];
|
|
36472
|
-
const FileText = createLucideIcon("file-text", __iconNode$
|
|
36547
|
+
const FileText = createLucideIcon("file-text", __iconNode$W);
|
|
36473
36548
|
/**
|
|
36474
36549
|
* @license lucide-react v0.507.0 - ISC
|
|
36475
36550
|
*
|
|
36476
36551
|
* This source code is licensed under the ISC license.
|
|
36477
36552
|
* See the LICENSE file in the root directory of this source tree.
|
|
36478
36553
|
*/
|
|
36479
|
-
const __iconNode$
|
|
36554
|
+
const __iconNode$V = [
|
|
36480
36555
|
["path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z", key: "1rqfz7" }],
|
|
36481
36556
|
["path", { d: "M14 2v4a2 2 0 0 0 2 2h4", key: "tnqrlb" }],
|
|
36482
36557
|
["path", { d: "M12 12v6", key: "3ahymv" }],
|
|
36483
36558
|
["path", { d: "m15 15-3-3-3 3", key: "15xj92" }]
|
|
36484
36559
|
];
|
|
36485
|
-
const FileUp = createLucideIcon("file-up", __iconNode$
|
|
36560
|
+
const FileUp = createLucideIcon("file-up", __iconNode$V);
|
|
36486
36561
|
/**
|
|
36487
36562
|
* @license lucide-react v0.507.0 - ISC
|
|
36488
36563
|
*
|
|
36489
36564
|
* This source code is licensed under the ISC license.
|
|
36490
36565
|
* See the LICENSE file in the root directory of this source tree.
|
|
36491
36566
|
*/
|
|
36492
|
-
const __iconNode$
|
|
36567
|
+
const __iconNode$U = [
|
|
36493
36568
|
["path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z", key: "1rqfz7" }],
|
|
36494
36569
|
["path", { d: "M14 2v4a2 2 0 0 0 2 2h4", key: "tnqrlb" }],
|
|
36495
36570
|
["path", { d: "m10 11 5 3-5 3v-6Z", key: "7ntvm4" }]
|
|
36496
36571
|
];
|
|
36497
|
-
const FileVideo = createLucideIcon("file-video", __iconNode$
|
|
36572
|
+
const FileVideo = createLucideIcon("file-video", __iconNode$U);
|
|
36498
36573
|
/**
|
|
36499
36574
|
* @license lucide-react v0.507.0 - ISC
|
|
36500
36575
|
*
|
|
36501
36576
|
* This source code is licensed under the ISC license.
|
|
36502
36577
|
* See the LICENSE file in the root directory of this source tree.
|
|
36503
36578
|
*/
|
|
36504
|
-
const __iconNode$
|
|
36579
|
+
const __iconNode$T = [
|
|
36505
36580
|
["path", { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z", key: "1rqfz7" }],
|
|
36506
36581
|
["path", { d: "M14 2v4a2 2 0 0 0 2 2h4", key: "tnqrlb" }]
|
|
36507
36582
|
];
|
|
36508
|
-
const File$1 = createLucideIcon("file", __iconNode$
|
|
36583
|
+
const File$1 = createLucideIcon("file", __iconNode$T);
|
|
36509
36584
|
/**
|
|
36510
36585
|
* @license lucide-react v0.507.0 - ISC
|
|
36511
36586
|
*
|
|
36512
36587
|
* This source code is licensed under the ISC license.
|
|
36513
36588
|
* See the LICENSE file in the root directory of this source tree.
|
|
36514
36589
|
*/
|
|
36515
|
-
const __iconNode$
|
|
36590
|
+
const __iconNode$S = [
|
|
36516
36591
|
[
|
|
36517
36592
|
"path",
|
|
36518
36593
|
{
|
|
@@ -36523,14 +36598,14 @@ const __iconNode$O = [
|
|
|
36523
36598
|
["path", { d: "M6.453 15h11.094", key: "3shlmq" }],
|
|
36524
36599
|
["path", { d: "M8.5 2h7", key: "csnxdl" }]
|
|
36525
36600
|
];
|
|
36526
|
-
const FlaskConical = createLucideIcon("flask-conical", __iconNode$
|
|
36601
|
+
const FlaskConical = createLucideIcon("flask-conical", __iconNode$S);
|
|
36527
36602
|
/**
|
|
36528
36603
|
* @license lucide-react v0.507.0 - ISC
|
|
36529
36604
|
*
|
|
36530
36605
|
* This source code is licensed under the ISC license.
|
|
36531
36606
|
* See the LICENSE file in the root directory of this source tree.
|
|
36532
36607
|
*/
|
|
36533
|
-
const __iconNode$
|
|
36608
|
+
const __iconNode$R = [
|
|
36534
36609
|
[
|
|
36535
36610
|
"path",
|
|
36536
36611
|
{
|
|
@@ -36539,14 +36614,14 @@ const __iconNode$N = [
|
|
|
36539
36614
|
}
|
|
36540
36615
|
]
|
|
36541
36616
|
];
|
|
36542
|
-
const FolderOpen = createLucideIcon("folder-open", __iconNode$
|
|
36617
|
+
const FolderOpen = createLucideIcon("folder-open", __iconNode$R);
|
|
36543
36618
|
/**
|
|
36544
36619
|
* @license lucide-react v0.507.0 - ISC
|
|
36545
36620
|
*
|
|
36546
36621
|
* This source code is licensed under the ISC license.
|
|
36547
36622
|
* See the LICENSE file in the root directory of this source tree.
|
|
36548
36623
|
*/
|
|
36549
|
-
const __iconNode$
|
|
36624
|
+
const __iconNode$Q = [
|
|
36550
36625
|
[
|
|
36551
36626
|
"path",
|
|
36552
36627
|
{
|
|
@@ -36557,14 +36632,14 @@ const __iconNode$M = [
|
|
|
36557
36632
|
["path", { d: "M22 10v6", key: "1lu8f3" }],
|
|
36558
36633
|
["path", { d: "M6 12.5V16a6 3 0 0 0 12 0v-3.5", key: "1r8lef" }]
|
|
36559
36634
|
];
|
|
36560
|
-
const GraduationCap = createLucideIcon("graduation-cap", __iconNode$
|
|
36635
|
+
const GraduationCap = createLucideIcon("graduation-cap", __iconNode$Q);
|
|
36561
36636
|
/**
|
|
36562
36637
|
* @license lucide-react v0.507.0 - ISC
|
|
36563
36638
|
*
|
|
36564
36639
|
* This source code is licensed under the ISC license.
|
|
36565
36640
|
* See the LICENSE file in the root directory of this source tree.
|
|
36566
36641
|
*/
|
|
36567
|
-
const __iconNode$
|
|
36642
|
+
const __iconNode$P = [
|
|
36568
36643
|
[
|
|
36569
36644
|
"path",
|
|
36570
36645
|
{
|
|
@@ -36574,14 +36649,14 @@ const __iconNode$L = [
|
|
|
36574
36649
|
],
|
|
36575
36650
|
["path", { d: "M3.22 12H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27", key: "1uw2ng" }]
|
|
36576
36651
|
];
|
|
36577
|
-
const HeartPulse = createLucideIcon("heart-pulse", __iconNode$
|
|
36652
|
+
const HeartPulse = createLucideIcon("heart-pulse", __iconNode$P);
|
|
36578
36653
|
/**
|
|
36579
36654
|
* @license lucide-react v0.507.0 - ISC
|
|
36580
36655
|
*
|
|
36581
36656
|
* This source code is licensed under the ISC license.
|
|
36582
36657
|
* See the LICENSE file in the root directory of this source tree.
|
|
36583
36658
|
*/
|
|
36584
|
-
const __iconNode$
|
|
36659
|
+
const __iconNode$O = [
|
|
36585
36660
|
[
|
|
36586
36661
|
"path",
|
|
36587
36662
|
{
|
|
@@ -36590,26 +36665,26 @@ const __iconNode$K = [
|
|
|
36590
36665
|
}
|
|
36591
36666
|
]
|
|
36592
36667
|
];
|
|
36593
|
-
const Heart = createLucideIcon("heart", __iconNode$
|
|
36668
|
+
const Heart = createLucideIcon("heart", __iconNode$O);
|
|
36594
36669
|
/**
|
|
36595
36670
|
* @license lucide-react v0.507.0 - ISC
|
|
36596
36671
|
*
|
|
36597
36672
|
* This source code is licensed under the ISC license.
|
|
36598
36673
|
* See the LICENSE file in the root directory of this source tree.
|
|
36599
36674
|
*/
|
|
36600
|
-
const __iconNode$
|
|
36675
|
+
const __iconNode$N = [
|
|
36601
36676
|
["path", { d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8", key: "1357e3" }],
|
|
36602
36677
|
["path", { d: "M3 3v5h5", key: "1xhq8a" }],
|
|
36603
36678
|
["path", { d: "M12 7v5l4 2", key: "1fdv2h" }]
|
|
36604
36679
|
];
|
|
36605
|
-
const History = createLucideIcon("history", __iconNode$
|
|
36680
|
+
const History = createLucideIcon("history", __iconNode$N);
|
|
36606
36681
|
/**
|
|
36607
36682
|
* @license lucide-react v0.507.0 - ISC
|
|
36608
36683
|
*
|
|
36609
36684
|
* This source code is licensed under the ISC license.
|
|
36610
36685
|
* See the LICENSE file in the root directory of this source tree.
|
|
36611
36686
|
*/
|
|
36612
|
-
const __iconNode$
|
|
36687
|
+
const __iconNode$M = [
|
|
36613
36688
|
["path", { d: "M12 3v12", key: "1x0j5s" }],
|
|
36614
36689
|
["path", { d: "m8 11 4 4 4-4", key: "1dohi6" }],
|
|
36615
36690
|
[
|
|
@@ -36620,38 +36695,38 @@ const __iconNode$I = [
|
|
|
36620
36695
|
}
|
|
36621
36696
|
]
|
|
36622
36697
|
];
|
|
36623
|
-
const Import = createLucideIcon("import", __iconNode$
|
|
36698
|
+
const Import = createLucideIcon("import", __iconNode$M);
|
|
36624
36699
|
/**
|
|
36625
36700
|
* @license lucide-react v0.507.0 - ISC
|
|
36626
36701
|
*
|
|
36627
36702
|
* This source code is licensed under the ISC license.
|
|
36628
36703
|
* See the LICENSE file in the root directory of this source tree.
|
|
36629
36704
|
*/
|
|
36630
|
-
const __iconNode$
|
|
36705
|
+
const __iconNode$L = [
|
|
36631
36706
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
36632
36707
|
["path", { d: "M12 16v-4", key: "1dtifu" }],
|
|
36633
36708
|
["path", { d: "M12 8h.01", key: "e9boi3" }]
|
|
36634
36709
|
];
|
|
36635
|
-
const Info$1 = createLucideIcon("info", __iconNode$
|
|
36710
|
+
const Info$1 = createLucideIcon("info", __iconNode$L);
|
|
36636
36711
|
/**
|
|
36637
36712
|
* @license lucide-react v0.507.0 - ISC
|
|
36638
36713
|
*
|
|
36639
36714
|
* This source code is licensed under the ISC license.
|
|
36640
36715
|
* See the LICENSE file in the root directory of this source tree.
|
|
36641
36716
|
*/
|
|
36642
|
-
const __iconNode$
|
|
36717
|
+
const __iconNode$K = [
|
|
36643
36718
|
["path", { d: "m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4", key: "g0fldk" }],
|
|
36644
36719
|
["path", { d: "m21 2-9.6 9.6", key: "1j0ho8" }],
|
|
36645
36720
|
["circle", { cx: "7.5", cy: "15.5", r: "5.5", key: "yqb3hr" }]
|
|
36646
36721
|
];
|
|
36647
|
-
const Key = createLucideIcon("key", __iconNode$
|
|
36722
|
+
const Key = createLucideIcon("key", __iconNode$K);
|
|
36648
36723
|
/**
|
|
36649
36724
|
* @license lucide-react v0.507.0 - ISC
|
|
36650
36725
|
*
|
|
36651
36726
|
* This source code is licensed under the ISC license.
|
|
36652
36727
|
* See the LICENSE file in the root directory of this source tree.
|
|
36653
36728
|
*/
|
|
36654
|
-
const __iconNode$
|
|
36729
|
+
const __iconNode$J = [
|
|
36655
36730
|
[
|
|
36656
36731
|
"path",
|
|
36657
36732
|
{
|
|
@@ -36674,27 +36749,27 @@ const __iconNode$F = [
|
|
|
36674
36749
|
}
|
|
36675
36750
|
]
|
|
36676
36751
|
];
|
|
36677
|
-
const Layers = createLucideIcon("layers", __iconNode$
|
|
36752
|
+
const Layers = createLucideIcon("layers", __iconNode$J);
|
|
36678
36753
|
/**
|
|
36679
36754
|
* @license lucide-react v0.507.0 - ISC
|
|
36680
36755
|
*
|
|
36681
36756
|
* This source code is licensed under the ISC license.
|
|
36682
36757
|
* See the LICENSE file in the root directory of this source tree.
|
|
36683
36758
|
*/
|
|
36684
|
-
const __iconNode$
|
|
36759
|
+
const __iconNode$I = [
|
|
36685
36760
|
["rect", { width: "7", height: "7", x: "3", y: "3", rx: "1", key: "1g98yp" }],
|
|
36686
36761
|
["rect", { width: "7", height: "7", x: "14", y: "3", rx: "1", key: "6d4xhi" }],
|
|
36687
36762
|
["rect", { width: "7", height: "7", x: "14", y: "14", rx: "1", key: "nxv5o0" }],
|
|
36688
36763
|
["rect", { width: "7", height: "7", x: "3", y: "14", rx: "1", key: "1bb6yr" }]
|
|
36689
36764
|
];
|
|
36690
|
-
const LayoutGrid = createLucideIcon("layout-grid", __iconNode$
|
|
36765
|
+
const LayoutGrid = createLucideIcon("layout-grid", __iconNode$I);
|
|
36691
36766
|
/**
|
|
36692
36767
|
* @license lucide-react v0.507.0 - ISC
|
|
36693
36768
|
*
|
|
36694
36769
|
* This source code is licensed under the ISC license.
|
|
36695
36770
|
* See the LICENSE file in the root directory of this source tree.
|
|
36696
36771
|
*/
|
|
36697
|
-
const __iconNode$
|
|
36772
|
+
const __iconNode$H = [
|
|
36698
36773
|
[
|
|
36699
36774
|
"path",
|
|
36700
36775
|
{
|
|
@@ -36705,114 +36780,114 @@ const __iconNode$D = [
|
|
|
36705
36780
|
["path", { d: "M9 18h6", key: "x1upvd" }],
|
|
36706
36781
|
["path", { d: "M10 22h4", key: "ceow96" }]
|
|
36707
36782
|
];
|
|
36708
|
-
const Lightbulb = createLucideIcon("lightbulb", __iconNode$
|
|
36783
|
+
const Lightbulb = createLucideIcon("lightbulb", __iconNode$H);
|
|
36709
36784
|
/**
|
|
36710
36785
|
* @license lucide-react v0.507.0 - ISC
|
|
36711
36786
|
*
|
|
36712
36787
|
* This source code is licensed under the ISC license.
|
|
36713
36788
|
* See the LICENSE file in the root directory of this source tree.
|
|
36714
36789
|
*/
|
|
36715
|
-
const __iconNode$
|
|
36790
|
+
const __iconNode$G = [
|
|
36716
36791
|
["path", { d: "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71", key: "1cjeqo" }],
|
|
36717
36792
|
["path", { d: "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71", key: "19qd67" }]
|
|
36718
36793
|
];
|
|
36719
|
-
const Link = createLucideIcon("link", __iconNode$
|
|
36794
|
+
const Link = createLucideIcon("link", __iconNode$G);
|
|
36720
36795
|
/**
|
|
36721
36796
|
* @license lucide-react v0.507.0 - ISC
|
|
36722
36797
|
*
|
|
36723
36798
|
* This source code is licensed under the ISC license.
|
|
36724
36799
|
* See the LICENSE file in the root directory of this source tree.
|
|
36725
36800
|
*/
|
|
36726
|
-
const __iconNode$
|
|
36801
|
+
const __iconNode$F = [
|
|
36727
36802
|
["path", { d: "M21 12h-8", key: "1bmf0i" }],
|
|
36728
36803
|
["path", { d: "M21 6H8", key: "1pqkrb" }],
|
|
36729
36804
|
["path", { d: "M21 18h-8", key: "1tm79t" }],
|
|
36730
36805
|
["path", { d: "M3 6v4c0 1.1.9 2 2 2h3", key: "1ywdgy" }],
|
|
36731
36806
|
["path", { d: "M3 10v6c0 1.1.9 2 2 2h3", key: "2wc746" }]
|
|
36732
36807
|
];
|
|
36733
|
-
const ListTree = createLucideIcon("list-tree", __iconNode$
|
|
36808
|
+
const ListTree = createLucideIcon("list-tree", __iconNode$F);
|
|
36734
36809
|
/**
|
|
36735
36810
|
* @license lucide-react v0.507.0 - ISC
|
|
36736
36811
|
*
|
|
36737
36812
|
* This source code is licensed under the ISC license.
|
|
36738
36813
|
* See the LICENSE file in the root directory of this source tree.
|
|
36739
36814
|
*/
|
|
36740
|
-
const __iconNode$
|
|
36815
|
+
const __iconNode$E = [
|
|
36741
36816
|
["path", { d: "m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7", key: "132q7q" }],
|
|
36742
36817
|
["rect", { x: "2", y: "4", width: "20", height: "16", rx: "2", key: "izxlao" }]
|
|
36743
36818
|
];
|
|
36744
|
-
const Mail = createLucideIcon("mail", __iconNode$
|
|
36819
|
+
const Mail = createLucideIcon("mail", __iconNode$E);
|
|
36745
36820
|
/**
|
|
36746
36821
|
* @license lucide-react v0.507.0 - ISC
|
|
36747
36822
|
*
|
|
36748
36823
|
* This source code is licensed under the ISC license.
|
|
36749
36824
|
* See the LICENSE file in the root directory of this source tree.
|
|
36750
36825
|
*/
|
|
36751
|
-
const __iconNode$
|
|
36826
|
+
const __iconNode$D = [
|
|
36752
36827
|
["polyline", { points: "15 3 21 3 21 9", key: "mznyad" }],
|
|
36753
36828
|
["polyline", { points: "9 21 3 21 3 15", key: "1avn1i" }],
|
|
36754
36829
|
["line", { x1: "21", x2: "14", y1: "3", y2: "10", key: "ota7mn" }],
|
|
36755
36830
|
["line", { x1: "3", x2: "10", y1: "21", y2: "14", key: "1atl0r" }]
|
|
36756
36831
|
];
|
|
36757
|
-
const Maximize2 = createLucideIcon("maximize-2", __iconNode$
|
|
36832
|
+
const Maximize2 = createLucideIcon("maximize-2", __iconNode$D);
|
|
36758
36833
|
/**
|
|
36759
36834
|
* @license lucide-react v0.507.0 - ISC
|
|
36760
36835
|
*
|
|
36761
36836
|
* This source code is licensed under the ISC license.
|
|
36762
36837
|
* See the LICENSE file in the root directory of this source tree.
|
|
36763
36838
|
*/
|
|
36764
|
-
const __iconNode$
|
|
36839
|
+
const __iconNode$C = [
|
|
36765
36840
|
["path", { d: "m3 11 18-5v12L3 14v-3z", key: "n962bs" }],
|
|
36766
36841
|
["path", { d: "M11.6 16.8a3 3 0 1 1-5.8-1.6", key: "1yl0tm" }]
|
|
36767
36842
|
];
|
|
36768
|
-
const Megaphone = createLucideIcon("megaphone", __iconNode$
|
|
36843
|
+
const Megaphone = createLucideIcon("megaphone", __iconNode$C);
|
|
36769
36844
|
/**
|
|
36770
36845
|
* @license lucide-react v0.507.0 - ISC
|
|
36771
36846
|
*
|
|
36772
36847
|
* This source code is licensed under the ISC license.
|
|
36773
36848
|
* See the LICENSE file in the root directory of this source tree.
|
|
36774
36849
|
*/
|
|
36775
|
-
const __iconNode$
|
|
36850
|
+
const __iconNode$B = [
|
|
36776
36851
|
["path", { d: "M7.9 20A9 9 0 1 0 4 16.1L2 22Z", key: "vv11sd" }]
|
|
36777
36852
|
];
|
|
36778
|
-
const MessageCircle = createLucideIcon("message-circle", __iconNode$
|
|
36853
|
+
const MessageCircle = createLucideIcon("message-circle", __iconNode$B);
|
|
36779
36854
|
/**
|
|
36780
36855
|
* @license lucide-react v0.507.0 - ISC
|
|
36781
36856
|
*
|
|
36782
36857
|
* This source code is licensed under the ISC license.
|
|
36783
36858
|
* See the LICENSE file in the root directory of this source tree.
|
|
36784
36859
|
*/
|
|
36785
|
-
const __iconNode$
|
|
36860
|
+
const __iconNode$A = [
|
|
36786
36861
|
["path", { d: "M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z", key: "1lielz" }]
|
|
36787
36862
|
];
|
|
36788
|
-
const MessageSquare = createLucideIcon("message-square", __iconNode$
|
|
36863
|
+
const MessageSquare = createLucideIcon("message-square", __iconNode$A);
|
|
36789
36864
|
/**
|
|
36790
36865
|
* @license lucide-react v0.507.0 - ISC
|
|
36791
36866
|
*
|
|
36792
36867
|
* This source code is licensed under the ISC license.
|
|
36793
36868
|
* See the LICENSE file in the root directory of this source tree.
|
|
36794
36869
|
*/
|
|
36795
|
-
const __iconNode$
|
|
36870
|
+
const __iconNode$z = [
|
|
36796
36871
|
["path", { d: "M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z", key: "131961" }],
|
|
36797
36872
|
["path", { d: "M19 10v2a7 7 0 0 1-14 0v-2", key: "1vc78b" }],
|
|
36798
36873
|
["line", { x1: "12", x2: "12", y1: "19", y2: "22", key: "x3vr5v" }]
|
|
36799
36874
|
];
|
|
36800
|
-
const Mic = createLucideIcon("mic", __iconNode$
|
|
36875
|
+
const Mic = createLucideIcon("mic", __iconNode$z);
|
|
36801
36876
|
/**
|
|
36802
36877
|
* @license lucide-react v0.507.0 - ISC
|
|
36803
36878
|
*
|
|
36804
36879
|
* This source code is licensed under the ISC license.
|
|
36805
36880
|
* See the LICENSE file in the root directory of this source tree.
|
|
36806
36881
|
*/
|
|
36807
|
-
const __iconNode$
|
|
36808
|
-
const Minus$1 = createLucideIcon("minus", __iconNode$
|
|
36882
|
+
const __iconNode$y = [["path", { d: "M5 12h14", key: "1ays0h" }]];
|
|
36883
|
+
const Minus$1 = createLucideIcon("minus", __iconNode$y);
|
|
36809
36884
|
/**
|
|
36810
36885
|
* @license lucide-react v0.507.0 - ISC
|
|
36811
36886
|
*
|
|
36812
36887
|
* This source code is licensed under the ISC license.
|
|
36813
36888
|
* See the LICENSE file in the root directory of this source tree.
|
|
36814
36889
|
*/
|
|
36815
|
-
const __iconNode$
|
|
36890
|
+
const __iconNode$x = [
|
|
36816
36891
|
["path", { d: "M12 2v20", key: "t6zp3m" }],
|
|
36817
36892
|
["path", { d: "m15 19-3 3-3-3", key: "11eu04" }],
|
|
36818
36893
|
["path", { d: "m19 9 3 3-3 3", key: "1mg7y2" }],
|
|
@@ -36820,14 +36895,14 @@ const __iconNode$t = [
|
|
|
36820
36895
|
["path", { d: "m5 9-3 3 3 3", key: "j64kie" }],
|
|
36821
36896
|
["path", { d: "m9 5 3-3 3 3", key: "l8vdw6" }]
|
|
36822
36897
|
];
|
|
36823
|
-
const Move = createLucideIcon("move", __iconNode$
|
|
36898
|
+
const Move = createLucideIcon("move", __iconNode$x);
|
|
36824
36899
|
/**
|
|
36825
36900
|
* @license lucide-react v0.507.0 - ISC
|
|
36826
36901
|
*
|
|
36827
36902
|
* This source code is licensed under the ISC license.
|
|
36828
36903
|
* See the LICENSE file in the root directory of this source tree.
|
|
36829
36904
|
*/
|
|
36830
|
-
const __iconNode$
|
|
36905
|
+
const __iconNode$w = [
|
|
36831
36906
|
["path", { d: "m14.622 17.897-10.68-2.913", key: "vj2p1u" }],
|
|
36832
36907
|
[
|
|
36833
36908
|
"path",
|
|
@@ -36844,38 +36919,38 @@ const __iconNode$s = [
|
|
|
36844
36919
|
}
|
|
36845
36920
|
]
|
|
36846
36921
|
];
|
|
36847
|
-
const Paintbrush = createLucideIcon("paintbrush", __iconNode$
|
|
36922
|
+
const Paintbrush = createLucideIcon("paintbrush", __iconNode$w);
|
|
36848
36923
|
/**
|
|
36849
36924
|
* @license lucide-react v0.507.0 - ISC
|
|
36850
36925
|
*
|
|
36851
36926
|
* This source code is licensed under the ISC license.
|
|
36852
36927
|
* See the LICENSE file in the root directory of this source tree.
|
|
36853
36928
|
*/
|
|
36854
|
-
const __iconNode$
|
|
36929
|
+
const __iconNode$v = [
|
|
36855
36930
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
36856
36931
|
["path", { d: "M15 3v18", key: "14nvp0" }],
|
|
36857
36932
|
["path", { d: "m8 9 3 3-3 3", key: "12hl5m" }]
|
|
36858
36933
|
];
|
|
36859
|
-
const PanelRightClose = createLucideIcon("panel-right-close", __iconNode$
|
|
36934
|
+
const PanelRightClose = createLucideIcon("panel-right-close", __iconNode$v);
|
|
36860
36935
|
/**
|
|
36861
36936
|
* @license lucide-react v0.507.0 - ISC
|
|
36862
36937
|
*
|
|
36863
36938
|
* This source code is licensed under the ISC license.
|
|
36864
36939
|
* See the LICENSE file in the root directory of this source tree.
|
|
36865
36940
|
*/
|
|
36866
|
-
const __iconNode$
|
|
36941
|
+
const __iconNode$u = [
|
|
36867
36942
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
36868
36943
|
["path", { d: "M15 3v18", key: "14nvp0" }],
|
|
36869
36944
|
["path", { d: "m10 15-3-3 3-3", key: "1pgupc" }]
|
|
36870
36945
|
];
|
|
36871
|
-
const PanelRightOpen = createLucideIcon("panel-right-open", __iconNode$
|
|
36946
|
+
const PanelRightOpen = createLucideIcon("panel-right-open", __iconNode$u);
|
|
36872
36947
|
/**
|
|
36873
36948
|
* @license lucide-react v0.507.0 - ISC
|
|
36874
36949
|
*
|
|
36875
36950
|
* This source code is licensed under the ISC license.
|
|
36876
36951
|
* See the LICENSE file in the root directory of this source tree.
|
|
36877
36952
|
*/
|
|
36878
|
-
const __iconNode$
|
|
36953
|
+
const __iconNode$t = [
|
|
36879
36954
|
["path", { d: "M12 20h9", key: "t2du7b" }],
|
|
36880
36955
|
[
|
|
36881
36956
|
"path",
|
|
@@ -36886,14 +36961,14 @@ const __iconNode$p = [
|
|
|
36886
36961
|
],
|
|
36887
36962
|
["path", { d: "m15 5 3 3", key: "1w25hb" }]
|
|
36888
36963
|
];
|
|
36889
|
-
const PencilLine = createLucideIcon("pencil-line", __iconNode$
|
|
36964
|
+
const PencilLine = createLucideIcon("pencil-line", __iconNode$t);
|
|
36890
36965
|
/**
|
|
36891
36966
|
* @license lucide-react v0.507.0 - ISC
|
|
36892
36967
|
*
|
|
36893
36968
|
* This source code is licensed under the ISC license.
|
|
36894
36969
|
* See the LICENSE file in the root directory of this source tree.
|
|
36895
36970
|
*/
|
|
36896
|
-
const __iconNode$
|
|
36971
|
+
const __iconNode$s = [
|
|
36897
36972
|
[
|
|
36898
36973
|
"path",
|
|
36899
36974
|
{
|
|
@@ -36902,14 +36977,14 @@ const __iconNode$o = [
|
|
|
36902
36977
|
}
|
|
36903
36978
|
]
|
|
36904
36979
|
];
|
|
36905
|
-
const Pen = createLucideIcon("pen", __iconNode$
|
|
36980
|
+
const Pen = createLucideIcon("pen", __iconNode$s);
|
|
36906
36981
|
/**
|
|
36907
36982
|
* @license lucide-react v0.507.0 - ISC
|
|
36908
36983
|
*
|
|
36909
36984
|
* This source code is licensed under the ISC license.
|
|
36910
36985
|
* See the LICENSE file in the root directory of this source tree.
|
|
36911
36986
|
*/
|
|
36912
|
-
const __iconNode$
|
|
36987
|
+
const __iconNode$r = [
|
|
36913
36988
|
[
|
|
36914
36989
|
"path",
|
|
36915
36990
|
{
|
|
@@ -36919,37 +36994,37 @@ const __iconNode$n = [
|
|
|
36919
36994
|
],
|
|
36920
36995
|
["path", { d: "m15 5 4 4", key: "1mk7zo" }]
|
|
36921
36996
|
];
|
|
36922
|
-
const Pencil = createLucideIcon("pencil", __iconNode$
|
|
36997
|
+
const Pencil = createLucideIcon("pencil", __iconNode$r);
|
|
36923
36998
|
/**
|
|
36924
36999
|
* @license lucide-react v0.507.0 - ISC
|
|
36925
37000
|
*
|
|
36926
37001
|
* This source code is licensed under the ISC license.
|
|
36927
37002
|
* See the LICENSE file in the root directory of this source tree.
|
|
36928
37003
|
*/
|
|
36929
|
-
const __iconNode$
|
|
37004
|
+
const __iconNode$q = [
|
|
36930
37005
|
["path", { d: "M5 12h14", key: "1ays0h" }],
|
|
36931
37006
|
["path", { d: "M12 5v14", key: "s699le" }]
|
|
36932
37007
|
];
|
|
36933
|
-
const Plus$1 = createLucideIcon("plus", __iconNode$
|
|
37008
|
+
const Plus$1 = createLucideIcon("plus", __iconNode$q);
|
|
36934
37009
|
/**
|
|
36935
37010
|
* @license lucide-react v0.507.0 - ISC
|
|
36936
37011
|
*
|
|
36937
37012
|
* This source code is licensed under the ISC license.
|
|
36938
37013
|
* See the LICENSE file in the root directory of this source tree.
|
|
36939
37014
|
*/
|
|
36940
|
-
const __iconNode$
|
|
37015
|
+
const __iconNode$p = [
|
|
36941
37016
|
["path", { d: "M2 3h20", key: "91anmk" }],
|
|
36942
37017
|
["path", { d: "M21 3v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V3", key: "2k9sn8" }],
|
|
36943
37018
|
["path", { d: "m7 21 5-5 5 5", key: "bip4we" }]
|
|
36944
37019
|
];
|
|
36945
|
-
const Presentation = createLucideIcon("presentation", __iconNode$
|
|
37020
|
+
const Presentation = createLucideIcon("presentation", __iconNode$p);
|
|
36946
37021
|
/**
|
|
36947
37022
|
* @license lucide-react v0.507.0 - ISC
|
|
36948
37023
|
*
|
|
36949
37024
|
* This source code is licensed under the ISC license.
|
|
36950
37025
|
* See the LICENSE file in the root directory of this source tree.
|
|
36951
37026
|
*/
|
|
36952
|
-
const __iconNode$
|
|
37027
|
+
const __iconNode$o = [
|
|
36953
37028
|
[
|
|
36954
37029
|
"path",
|
|
36955
37030
|
{
|
|
@@ -36958,25 +37033,25 @@ const __iconNode$k = [
|
|
|
36958
37033
|
}
|
|
36959
37034
|
]
|
|
36960
37035
|
];
|
|
36961
|
-
const Puzzle = createLucideIcon("puzzle", __iconNode$
|
|
37036
|
+
const Puzzle = createLucideIcon("puzzle", __iconNode$o);
|
|
36962
37037
|
/**
|
|
36963
37038
|
* @license lucide-react v0.507.0 - ISC
|
|
36964
37039
|
*
|
|
36965
37040
|
* This source code is licensed under the ISC license.
|
|
36966
37041
|
* See the LICENSE file in the root directory of this source tree.
|
|
36967
37042
|
*/
|
|
36968
|
-
const __iconNode$
|
|
37043
|
+
const __iconNode$n = [
|
|
36969
37044
|
["path", { d: "M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8", key: "1357e3" }],
|
|
36970
37045
|
["path", { d: "M3 3v5h5", key: "1xhq8a" }]
|
|
36971
37046
|
];
|
|
36972
|
-
const RotateCcw = createLucideIcon("rotate-ccw", __iconNode$
|
|
37047
|
+
const RotateCcw = createLucideIcon("rotate-ccw", __iconNode$n);
|
|
36973
37048
|
/**
|
|
36974
37049
|
* @license lucide-react v0.507.0 - ISC
|
|
36975
37050
|
*
|
|
36976
37051
|
* This source code is licensed under the ISC license.
|
|
36977
37052
|
* See the LICENSE file in the root directory of this source tree.
|
|
36978
37053
|
*/
|
|
36979
|
-
const __iconNode$
|
|
37054
|
+
const __iconNode$m = [
|
|
36980
37055
|
[
|
|
36981
37056
|
"path",
|
|
36982
37057
|
{
|
|
@@ -36987,28 +37062,28 @@ const __iconNode$i = [
|
|
|
36987
37062
|
["path", { d: "M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7", key: "1ydtos" }],
|
|
36988
37063
|
["path", { d: "M7 3v4a1 1 0 0 0 1 1h7", key: "t51u73" }]
|
|
36989
37064
|
];
|
|
36990
|
-
const Save = createLucideIcon("save", __iconNode$
|
|
37065
|
+
const Save = createLucideIcon("save", __iconNode$m);
|
|
36991
37066
|
/**
|
|
36992
37067
|
* @license lucide-react v0.507.0 - ISC
|
|
36993
37068
|
*
|
|
36994
37069
|
* This source code is licensed under the ISC license.
|
|
36995
37070
|
* See the LICENSE file in the root directory of this source tree.
|
|
36996
37071
|
*/
|
|
36997
|
-
const __iconNode$
|
|
37072
|
+
const __iconNode$l = [
|
|
36998
37073
|
["path", { d: "m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z", key: "7g6ntu" }],
|
|
36999
37074
|
["path", { d: "m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z", key: "ijws7r" }],
|
|
37000
37075
|
["path", { d: "M7 21h10", key: "1b0cd5" }],
|
|
37001
37076
|
["path", { d: "M12 3v18", key: "108xh3" }],
|
|
37002
37077
|
["path", { d: "M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2", key: "3gwbw2" }]
|
|
37003
37078
|
];
|
|
37004
|
-
const Scale = createLucideIcon("scale", __iconNode$
|
|
37079
|
+
const Scale = createLucideIcon("scale", __iconNode$l);
|
|
37005
37080
|
/**
|
|
37006
37081
|
* @license lucide-react v0.507.0 - ISC
|
|
37007
37082
|
*
|
|
37008
37083
|
* This source code is licensed under the ISC license.
|
|
37009
37084
|
* See the LICENSE file in the root directory of this source tree.
|
|
37010
37085
|
*/
|
|
37011
|
-
const __iconNode$
|
|
37086
|
+
const __iconNode$k = [
|
|
37012
37087
|
["path", { d: "M15 12h-5", key: "r7krc0" }],
|
|
37013
37088
|
["path", { d: "M15 8h-5", key: "1khuty" }],
|
|
37014
37089
|
["path", { d: "M19 17V5a2 2 0 0 0-2-2H4", key: "zz82l3" }],
|
|
@@ -37020,25 +37095,25 @@ const __iconNode$g = [
|
|
|
37020
37095
|
}
|
|
37021
37096
|
]
|
|
37022
37097
|
];
|
|
37023
|
-
const ScrollText = createLucideIcon("scroll-text", __iconNode$
|
|
37098
|
+
const ScrollText = createLucideIcon("scroll-text", __iconNode$k);
|
|
37024
37099
|
/**
|
|
37025
37100
|
* @license lucide-react v0.507.0 - ISC
|
|
37026
37101
|
*
|
|
37027
37102
|
* This source code is licensed under the ISC license.
|
|
37028
37103
|
* See the LICENSE file in the root directory of this source tree.
|
|
37029
37104
|
*/
|
|
37030
|
-
const __iconNode$
|
|
37105
|
+
const __iconNode$j = [
|
|
37031
37106
|
["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
|
|
37032
37107
|
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
|
|
37033
37108
|
];
|
|
37034
|
-
const Search = createLucideIcon("search", __iconNode$
|
|
37109
|
+
const Search = createLucideIcon("search", __iconNode$j);
|
|
37035
37110
|
/**
|
|
37036
37111
|
* @license lucide-react v0.507.0 - ISC
|
|
37037
37112
|
*
|
|
37038
37113
|
* This source code is licensed under the ISC license.
|
|
37039
37114
|
* See the LICENSE file in the root directory of this source tree.
|
|
37040
37115
|
*/
|
|
37041
|
-
const __iconNode$
|
|
37116
|
+
const __iconNode$i = [
|
|
37042
37117
|
[
|
|
37043
37118
|
"path",
|
|
37044
37119
|
{
|
|
@@ -37048,28 +37123,28 @@ const __iconNode$e = [
|
|
|
37048
37123
|
],
|
|
37049
37124
|
["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
|
|
37050
37125
|
];
|
|
37051
|
-
const Settings$1 = createLucideIcon("settings", __iconNode$
|
|
37126
|
+
const Settings$1 = createLucideIcon("settings", __iconNode$i);
|
|
37052
37127
|
/**
|
|
37053
37128
|
* @license lucide-react v0.507.0 - ISC
|
|
37054
37129
|
*
|
|
37055
37130
|
* This source code is licensed under the ISC license.
|
|
37056
37131
|
* See the LICENSE file in the root directory of this source tree.
|
|
37057
37132
|
*/
|
|
37058
|
-
const __iconNode$
|
|
37133
|
+
const __iconNode$h = [
|
|
37059
37134
|
["circle", { cx: "18", cy: "5", r: "3", key: "gq8acd" }],
|
|
37060
37135
|
["circle", { cx: "6", cy: "12", r: "3", key: "w7nqdw" }],
|
|
37061
37136
|
["circle", { cx: "18", cy: "19", r: "3", key: "1xt0gg" }],
|
|
37062
37137
|
["line", { x1: "8.59", x2: "15.42", y1: "13.51", y2: "17.49", key: "47mynk" }],
|
|
37063
37138
|
["line", { x1: "15.41", x2: "8.59", y1: "6.51", y2: "10.49", key: "1n3mei" }]
|
|
37064
37139
|
];
|
|
37065
|
-
const Share2 = createLucideIcon("share-2", __iconNode$
|
|
37140
|
+
const Share2 = createLucideIcon("share-2", __iconNode$h);
|
|
37066
37141
|
/**
|
|
37067
37142
|
* @license lucide-react v0.507.0 - ISC
|
|
37068
37143
|
*
|
|
37069
37144
|
* This source code is licensed under the ISC license.
|
|
37070
37145
|
* See the LICENSE file in the root directory of this source tree.
|
|
37071
37146
|
*/
|
|
37072
|
-
const __iconNode$
|
|
37147
|
+
const __iconNode$g = [
|
|
37073
37148
|
[
|
|
37074
37149
|
"path",
|
|
37075
37150
|
{
|
|
@@ -37078,14 +37153,14 @@ const __iconNode$c = [
|
|
|
37078
37153
|
}
|
|
37079
37154
|
]
|
|
37080
37155
|
];
|
|
37081
|
-
const Shield = createLucideIcon("shield", __iconNode$
|
|
37156
|
+
const Shield = createLucideIcon("shield", __iconNode$g);
|
|
37082
37157
|
/**
|
|
37083
37158
|
* @license lucide-react v0.507.0 - ISC
|
|
37084
37159
|
*
|
|
37085
37160
|
* This source code is licensed under the ISC license.
|
|
37086
37161
|
* See the LICENSE file in the root directory of this source tree.
|
|
37087
37162
|
*/
|
|
37088
|
-
const __iconNode$
|
|
37163
|
+
const __iconNode$f = [
|
|
37089
37164
|
["circle", { cx: "8", cy: "21", r: "1", key: "jimo8o" }],
|
|
37090
37165
|
["circle", { cx: "19", cy: "21", r: "1", key: "13723u" }],
|
|
37091
37166
|
[
|
|
@@ -37096,14 +37171,14 @@ const __iconNode$b = [
|
|
|
37096
37171
|
}
|
|
37097
37172
|
]
|
|
37098
37173
|
];
|
|
37099
|
-
const ShoppingCart = createLucideIcon("shopping-cart", __iconNode$
|
|
37174
|
+
const ShoppingCart = createLucideIcon("shopping-cart", __iconNode$f);
|
|
37100
37175
|
/**
|
|
37101
37176
|
* @license lucide-react v0.507.0 - ISC
|
|
37102
37177
|
*
|
|
37103
37178
|
* This source code is licensed under the ISC license.
|
|
37104
37179
|
* See the LICENSE file in the root directory of this source tree.
|
|
37105
37180
|
*/
|
|
37106
|
-
const __iconNode$
|
|
37181
|
+
const __iconNode$e = [
|
|
37107
37182
|
["path", { d: "M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7", key: "1m0v6g" }],
|
|
37108
37183
|
[
|
|
37109
37184
|
"path",
|
|
@@ -37113,26 +37188,36 @@ const __iconNode$a = [
|
|
|
37113
37188
|
}
|
|
37114
37189
|
]
|
|
37115
37190
|
];
|
|
37116
|
-
const SquarePen = createLucideIcon("square-pen", __iconNode$
|
|
37191
|
+
const SquarePen = createLucideIcon("square-pen", __iconNode$e);
|
|
37117
37192
|
/**
|
|
37118
37193
|
* @license lucide-react v0.507.0 - ISC
|
|
37119
37194
|
*
|
|
37120
37195
|
* This source code is licensed under the ISC license.
|
|
37121
37196
|
* See the LICENSE file in the root directory of this source tree.
|
|
37122
37197
|
*/
|
|
37123
|
-
const __iconNode$
|
|
37198
|
+
const __iconNode$d = [
|
|
37124
37199
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2", key: "1m3agn" }],
|
|
37125
37200
|
["path", { d: "m15 9-6 6", key: "1uzhvr" }],
|
|
37126
37201
|
["path", { d: "m9 9 6 6", key: "z0biqf" }]
|
|
37127
37202
|
];
|
|
37128
|
-
const SquareX = createLucideIcon("square-x", __iconNode$
|
|
37203
|
+
const SquareX = createLucideIcon("square-x", __iconNode$d);
|
|
37129
37204
|
/**
|
|
37130
37205
|
* @license lucide-react v0.507.0 - ISC
|
|
37131
37206
|
*
|
|
37132
37207
|
* This source code is licensed under the ISC license.
|
|
37133
37208
|
* See the LICENSE file in the root directory of this source tree.
|
|
37134
37209
|
*/
|
|
37135
|
-
const __iconNode$
|
|
37210
|
+
const __iconNode$c = [
|
|
37211
|
+
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }]
|
|
37212
|
+
];
|
|
37213
|
+
const Square = createLucideIcon("square", __iconNode$c);
|
|
37214
|
+
/**
|
|
37215
|
+
* @license lucide-react v0.507.0 - ISC
|
|
37216
|
+
*
|
|
37217
|
+
* This source code is licensed under the ISC license.
|
|
37218
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
37219
|
+
*/
|
|
37220
|
+
const __iconNode$b = [
|
|
37136
37221
|
[
|
|
37137
37222
|
"path",
|
|
37138
37223
|
{
|
|
@@ -37141,14 +37226,14 @@ const __iconNode$8 = [
|
|
|
37141
37226
|
}
|
|
37142
37227
|
]
|
|
37143
37228
|
];
|
|
37144
|
-
const Star = createLucideIcon("star", __iconNode$
|
|
37229
|
+
const Star = createLucideIcon("star", __iconNode$b);
|
|
37145
37230
|
/**
|
|
37146
37231
|
* @license lucide-react v0.507.0 - ISC
|
|
37147
37232
|
*
|
|
37148
37233
|
* This source code is licensed under the ISC license.
|
|
37149
37234
|
* See the LICENSE file in the root directory of this source tree.
|
|
37150
37235
|
*/
|
|
37151
|
-
const __iconNode$
|
|
37236
|
+
const __iconNode$a = [
|
|
37152
37237
|
["path", { d: "m2 7 4.41-4.41A2 2 0 0 1 7.83 2h8.34a2 2 0 0 1 1.42.59L22 7", key: "ztvudi" }],
|
|
37153
37238
|
["path", { d: "M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8", key: "1b2hhj" }],
|
|
37154
37239
|
["path", { d: "M15 22v-4a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v4", key: "2ebpfo" }],
|
|
@@ -37161,14 +37246,14 @@ const __iconNode$7 = [
|
|
|
37161
37246
|
}
|
|
37162
37247
|
]
|
|
37163
37248
|
];
|
|
37164
|
-
const Store = createLucideIcon("store", __iconNode$
|
|
37249
|
+
const Store = createLucideIcon("store", __iconNode$a);
|
|
37165
37250
|
/**
|
|
37166
37251
|
* @license lucide-react v0.507.0 - ISC
|
|
37167
37252
|
*
|
|
37168
37253
|
* This source code is licensed under the ISC license.
|
|
37169
37254
|
* See the LICENSE file in the root directory of this source tree.
|
|
37170
37255
|
*/
|
|
37171
|
-
const __iconNode$
|
|
37256
|
+
const __iconNode$9 = [
|
|
37172
37257
|
[
|
|
37173
37258
|
"path",
|
|
37174
37259
|
{
|
|
@@ -37178,45 +37263,98 @@ const __iconNode$6 = [
|
|
|
37178
37263
|
],
|
|
37179
37264
|
["circle", { cx: "7.5", cy: "7.5", r: ".5", fill: "currentColor", key: "kqv944" }]
|
|
37180
37265
|
];
|
|
37181
|
-
const Tag$1 = createLucideIcon("tag", __iconNode$
|
|
37266
|
+
const Tag$1 = createLucideIcon("tag", __iconNode$9);
|
|
37182
37267
|
/**
|
|
37183
37268
|
* @license lucide-react v0.507.0 - ISC
|
|
37184
37269
|
*
|
|
37185
37270
|
* This source code is licensed under the ISC license.
|
|
37186
37271
|
* See the LICENSE file in the root directory of this source tree.
|
|
37187
37272
|
*/
|
|
37188
|
-
const __iconNode$
|
|
37273
|
+
const __iconNode$8 = [
|
|
37189
37274
|
["path", { d: "M3 6h18", key: "d0wm0j" }],
|
|
37190
37275
|
["path", { d: "M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6", key: "4alrt4" }],
|
|
37191
37276
|
["path", { d: "M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2", key: "v07s0e" }],
|
|
37192
37277
|
["line", { x1: "10", x2: "10", y1: "11", y2: "17", key: "1uufr5" }],
|
|
37193
37278
|
["line", { x1: "14", x2: "14", y1: "11", y2: "17", key: "xtxkd" }]
|
|
37194
37279
|
];
|
|
37195
|
-
const Trash2 = createLucideIcon("trash-2", __iconNode$
|
|
37280
|
+
const Trash2 = createLucideIcon("trash-2", __iconNode$8);
|
|
37196
37281
|
/**
|
|
37197
37282
|
* @license lucide-react v0.507.0 - ISC
|
|
37198
37283
|
*
|
|
37199
37284
|
* This source code is licensed under the ISC license.
|
|
37200
37285
|
* See the LICENSE file in the root directory of this source tree.
|
|
37201
37286
|
*/
|
|
37202
|
-
const __iconNode$
|
|
37287
|
+
const __iconNode$7 = [
|
|
37203
37288
|
["path", { d: "M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2", key: "975kel" }],
|
|
37204
37289
|
["circle", { cx: "12", cy: "7", r: "4", key: "17ys0d" }]
|
|
37205
37290
|
];
|
|
37206
|
-
const User = createLucideIcon("user", __iconNode$
|
|
37291
|
+
const User = createLucideIcon("user", __iconNode$7);
|
|
37207
37292
|
/**
|
|
37208
37293
|
* @license lucide-react v0.507.0 - ISC
|
|
37209
37294
|
*
|
|
37210
37295
|
* This source code is licensed under the ISC license.
|
|
37211
37296
|
* See the LICENSE file in the root directory of this source tree.
|
|
37212
37297
|
*/
|
|
37213
|
-
const __iconNode$
|
|
37298
|
+
const __iconNode$6 = [
|
|
37214
37299
|
["path", { d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2", key: "1yyitq" }],
|
|
37215
37300
|
["path", { d: "M16 3.128a4 4 0 0 1 0 7.744", key: "16gr8j" }],
|
|
37216
37301
|
["path", { d: "M22 21v-2a4 4 0 0 0-3-3.87", key: "kshegd" }],
|
|
37217
37302
|
["circle", { cx: "9", cy: "7", r: "4", key: "nufk8" }]
|
|
37218
37303
|
];
|
|
37219
|
-
const Users = createLucideIcon("users", __iconNode$
|
|
37304
|
+
const Users = createLucideIcon("users", __iconNode$6);
|
|
37305
|
+
/**
|
|
37306
|
+
* @license lucide-react v0.507.0 - ISC
|
|
37307
|
+
*
|
|
37308
|
+
* This source code is licensed under the ISC license.
|
|
37309
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
37310
|
+
*/
|
|
37311
|
+
const __iconNode$5 = [
|
|
37312
|
+
[
|
|
37313
|
+
"path",
|
|
37314
|
+
{
|
|
37315
|
+
d: "M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",
|
|
37316
|
+
key: "uqj9uw"
|
|
37317
|
+
}
|
|
37318
|
+
],
|
|
37319
|
+
["path", { d: "M16 9a5 5 0 0 1 0 6", key: "1q6k2b" }]
|
|
37320
|
+
];
|
|
37321
|
+
const Volume1 = createLucideIcon("volume-1", __iconNode$5);
|
|
37322
|
+
/**
|
|
37323
|
+
* @license lucide-react v0.507.0 - ISC
|
|
37324
|
+
*
|
|
37325
|
+
* This source code is licensed under the ISC license.
|
|
37326
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
37327
|
+
*/
|
|
37328
|
+
const __iconNode$4 = [
|
|
37329
|
+
[
|
|
37330
|
+
"path",
|
|
37331
|
+
{
|
|
37332
|
+
d: "M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",
|
|
37333
|
+
key: "uqj9uw"
|
|
37334
|
+
}
|
|
37335
|
+
],
|
|
37336
|
+
["path", { d: "M16 9a5 5 0 0 1 0 6", key: "1q6k2b" }],
|
|
37337
|
+
["path", { d: "M19.364 18.364a9 9 0 0 0 0-12.728", key: "ijwkga" }]
|
|
37338
|
+
];
|
|
37339
|
+
const Volume2 = createLucideIcon("volume-2", __iconNode$4);
|
|
37340
|
+
/**
|
|
37341
|
+
* @license lucide-react v0.507.0 - ISC
|
|
37342
|
+
*
|
|
37343
|
+
* This source code is licensed under the ISC license.
|
|
37344
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
37345
|
+
*/
|
|
37346
|
+
const __iconNode$3 = [
|
|
37347
|
+
[
|
|
37348
|
+
"path",
|
|
37349
|
+
{
|
|
37350
|
+
d: "M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",
|
|
37351
|
+
key: "uqj9uw"
|
|
37352
|
+
}
|
|
37353
|
+
],
|
|
37354
|
+
["line", { x1: "22", x2: "16", y1: "9", y2: "15", key: "1ewh16" }],
|
|
37355
|
+
["line", { x1: "16", x2: "22", y1: "9", y2: "15", key: "5ykzw1" }]
|
|
37356
|
+
];
|
|
37357
|
+
const VolumeX = createLucideIcon("volume-x", __iconNode$3);
|
|
37220
37358
|
/**
|
|
37221
37359
|
* @license lucide-react v0.507.0 - ISC
|
|
37222
37360
|
*
|
|
@@ -38443,8 +38581,8 @@ const useAgentSystemPrompt = (agentId) => {
|
|
|
38443
38581
|
queryKey: agentSystemPromptQueryKey(agentId),
|
|
38444
38582
|
queryFn: async () => {
|
|
38445
38583
|
try {
|
|
38446
|
-
const
|
|
38447
|
-
const response = await
|
|
38584
|
+
const client2 = createLocalOperatorClient(apiConfig.baseUrl);
|
|
38585
|
+
const response = await client2.agents.getAgentSystemPrompt(agentId);
|
|
38448
38586
|
if (response.status >= 400) {
|
|
38449
38587
|
throw new Error(
|
|
38450
38588
|
response.message || "Failed to fetch agent system prompt"
|
|
@@ -38465,11 +38603,11 @@ const useAgentSystemPrompt = (agentId) => {
|
|
|
38465
38603
|
};
|
|
38466
38604
|
const useUpdateAgentSystemPrompt = (agentId) => {
|
|
38467
38605
|
const queryClient2 = useQueryClient();
|
|
38468
|
-
const
|
|
38606
|
+
const client2 = createLocalOperatorClient(apiConfig.baseUrl);
|
|
38469
38607
|
return useMutation({
|
|
38470
38608
|
mutationFn: async (systemPrompt) => {
|
|
38471
38609
|
try {
|
|
38472
|
-
const response = await
|
|
38610
|
+
const response = await client2.agents.updateAgentSystemPrompt(
|
|
38473
38611
|
agentId,
|
|
38474
38612
|
systemPrompt
|
|
38475
38613
|
);
|
|
@@ -38584,8 +38722,8 @@ const useCredentials = () => {
|
|
|
38584
38722
|
queryKey: credentialsQueryKey,
|
|
38585
38723
|
queryFn: async () => {
|
|
38586
38724
|
try {
|
|
38587
|
-
const
|
|
38588
|
-
const response = await
|
|
38725
|
+
const client2 = createLocalOperatorClient(apiConfig.baseUrl);
|
|
38726
|
+
const response = await client2.credentials.listCredentials();
|
|
38589
38727
|
if (response.status >= 400) {
|
|
38590
38728
|
throw new Error(response.message || "Failed to fetch credentials");
|
|
38591
38729
|
}
|
|
@@ -38849,8 +38987,8 @@ const useClearAgentConversation = () => {
|
|
|
38849
38987
|
);
|
|
38850
38988
|
return useMutation({
|
|
38851
38989
|
mutationFn: async ({ agentId }) => {
|
|
38852
|
-
const
|
|
38853
|
-
return
|
|
38990
|
+
const client2 = createLocalOperatorClient(apiConfig.baseUrl);
|
|
38991
|
+
return client2.agents.clearAgentConversation(agentId);
|
|
38854
38992
|
},
|
|
38855
38993
|
onSuccess: (_2, variables) => {
|
|
38856
38994
|
queryClient2.invalidateQueries({
|
|
@@ -38953,8 +39091,8 @@ const useConversationMessages = (conversationId, pageSize2 = 20) => {
|
|
|
38953
39091
|
};
|
|
38954
39092
|
}
|
|
38955
39093
|
const page = pageParam;
|
|
38956
|
-
const
|
|
38957
|
-
const response = await
|
|
39094
|
+
const client2 = createLocalOperatorClient(apiConfig.baseUrl);
|
|
39095
|
+
const response = await client2.agents.getAgentExecutionHistory(
|
|
38958
39096
|
conversationId,
|
|
38959
39097
|
page,
|
|
38960
39098
|
pageSize2
|
|
@@ -39144,10 +39282,10 @@ const useModelsStore = create$3()(
|
|
|
39144
39282
|
}
|
|
39145
39283
|
set2({ isLoading: true, error: null });
|
|
39146
39284
|
try {
|
|
39147
|
-
const
|
|
39148
|
-
const providersResponse = await
|
|
39285
|
+
const client2 = createLocalOperatorClient(baseUrl);
|
|
39286
|
+
const providersResponse = await client2.models.listProviders();
|
|
39149
39287
|
const providers = providersResponse.result?.providers || [];
|
|
39150
|
-
const modelsResponse = await
|
|
39288
|
+
const modelsResponse = await client2.models.listModels(
|
|
39151
39289
|
"",
|
|
39152
39290
|
"recommended",
|
|
39153
39291
|
"descending"
|
|
@@ -39329,7 +39467,7 @@ const useJobPolling = ({
|
|
|
39329
39467
|
const queryClient2 = useQueryClient();
|
|
39330
39468
|
const { getMessages, setMessages } = useChatStore();
|
|
39331
39469
|
const lastProcessedJobDataRef = reactExports.useRef(null);
|
|
39332
|
-
const
|
|
39470
|
+
const client2 = createLocalOperatorClient(apiConfig.baseUrl);
|
|
39333
39471
|
const previousConversationIdRef = reactExports.useRef(conversationId);
|
|
39334
39472
|
const { shouldEnableQuery, getConnectivityError } = useConnectivityGate();
|
|
39335
39473
|
const checkForActiveJobs = reactExports.useCallback(
|
|
@@ -39346,8 +39484,8 @@ const useJobPolling = ({
|
|
|
39346
39484
|
return false;
|
|
39347
39485
|
}
|
|
39348
39486
|
try {
|
|
39349
|
-
const pendingResponse = await
|
|
39350
|
-
const processingResponse = await
|
|
39487
|
+
const pendingResponse = await client2.jobs.listJobs(agentId, "pending");
|
|
39488
|
+
const processingResponse = await client2.jobs.listJobs(
|
|
39351
39489
|
agentId,
|
|
39352
39490
|
"processing"
|
|
39353
39491
|
);
|
|
@@ -39373,7 +39511,7 @@ const useJobPolling = ({
|
|
|
39373
39511
|
}
|
|
39374
39512
|
},
|
|
39375
39513
|
[
|
|
39376
|
-
|
|
39514
|
+
client2.jobs,
|
|
39377
39515
|
currentJobId,
|
|
39378
39516
|
shouldEnableQuery,
|
|
39379
39517
|
getConnectivityError,
|
|
@@ -39397,11 +39535,11 @@ const useJobPolling = ({
|
|
|
39397
39535
|
return;
|
|
39398
39536
|
}
|
|
39399
39537
|
try {
|
|
39400
|
-
const pendingResponse = await
|
|
39538
|
+
const pendingResponse = await client2.jobs.listJobs(
|
|
39401
39539
|
conversationId,
|
|
39402
39540
|
"pending"
|
|
39403
39541
|
);
|
|
39404
|
-
const processingResponse = await
|
|
39542
|
+
const processingResponse = await client2.jobs.listJobs(
|
|
39405
39543
|
conversationId,
|
|
39406
39544
|
"processing"
|
|
39407
39545
|
);
|
|
@@ -39427,7 +39565,7 @@ const useJobPolling = ({
|
|
|
39427
39565
|
previousConversationIdRef.current = conversationId;
|
|
39428
39566
|
}, [
|
|
39429
39567
|
conversationId,
|
|
39430
|
-
|
|
39568
|
+
client2.jobs,
|
|
39431
39569
|
shouldEnableQuery,
|
|
39432
39570
|
getConnectivityError,
|
|
39433
39571
|
setCurrentJobId
|
|
@@ -39446,8 +39584,8 @@ const useJobPolling = ({
|
|
|
39446
39584
|
return false;
|
|
39447
39585
|
}
|
|
39448
39586
|
try {
|
|
39449
|
-
const
|
|
39450
|
-
const response = await
|
|
39587
|
+
const client22 = createLocalOperatorClient(apiConfig.baseUrl);
|
|
39588
|
+
const response = await client22.agents.getAgentExecutionHistory(
|
|
39451
39589
|
agentId,
|
|
39452
39590
|
1,
|
|
39453
39591
|
// First page
|
|
@@ -39532,9 +39670,9 @@ const useJobPolling = ({
|
|
|
39532
39670
|
queryKey: ["job", currentJobId],
|
|
39533
39671
|
queryFn: async () => {
|
|
39534
39672
|
if (!currentJobId) return null;
|
|
39535
|
-
const
|
|
39673
|
+
const client22 = createLocalOperatorClient(apiConfig.baseUrl);
|
|
39536
39674
|
try {
|
|
39537
|
-
const response = await
|
|
39675
|
+
const response = await client22.jobs.getJobStatus(currentJobId);
|
|
39538
39676
|
return response.result;
|
|
39539
39677
|
} catch (err) {
|
|
39540
39678
|
const errorObj = err;
|
|
@@ -41028,11 +41166,11 @@ const useRadientUserQuery = () => {
|
|
|
41028
41166
|
};
|
|
41029
41167
|
const useUpdateConfig = () => {
|
|
41030
41168
|
const queryClient2 = useQueryClient();
|
|
41031
|
-
const
|
|
41169
|
+
const client2 = createLocalOperatorClient(apiConfig.baseUrl);
|
|
41032
41170
|
return useMutation({
|
|
41033
41171
|
mutationFn: async (update) => {
|
|
41034
41172
|
try {
|
|
41035
|
-
const response = await
|
|
41173
|
+
const response = await client2.config.updateConfig(update);
|
|
41036
41174
|
if (response.status >= 400) {
|
|
41037
41175
|
throw new Error(response.message || "Failed to update configuration");
|
|
41038
41176
|
}
|
|
@@ -41836,13 +41974,13 @@ const useStreamingMessage = ({
|
|
|
41836
41974
|
}
|
|
41837
41975
|
try {
|
|
41838
41976
|
setIsRefetching(true);
|
|
41839
|
-
const
|
|
41977
|
+
const client2 = createLocalOperatorClient(baseUrl);
|
|
41840
41978
|
const registryEntry = globalConnectionRegistry.get(messageId);
|
|
41841
41979
|
const agentId = registryEntry?.conversationId || conversationId;
|
|
41842
41980
|
if (!agentId) {
|
|
41843
41981
|
return;
|
|
41844
41982
|
}
|
|
41845
|
-
const response = await
|
|
41983
|
+
const response = await client2.agents.getAgentExecutionHistory(
|
|
41846
41984
|
agentId,
|
|
41847
41985
|
1,
|
|
41848
41986
|
20
|
|
@@ -41917,11 +42055,11 @@ const useStreamingMessage = ({
|
|
|
41917
42055
|
const doRefetch = async () => {
|
|
41918
42056
|
try {
|
|
41919
42057
|
setIsRefetching(true);
|
|
41920
|
-
const
|
|
42058
|
+
const client2 = createLocalOperatorClient(baseUrl);
|
|
41921
42059
|
const entry = globalConnectionRegistry.get(messageId);
|
|
41922
42060
|
const agentId = entry?.conversationId || conversationId;
|
|
41923
42061
|
if (!agentId) return;
|
|
41924
|
-
const response = await
|
|
42062
|
+
const response = await client2.agents.getAgentExecutionHistory(
|
|
41925
42063
|
agentId,
|
|
41926
42064
|
1,
|
|
41927
42065
|
20
|
|
@@ -42231,8 +42369,8 @@ const useSystemPrompt = () => {
|
|
|
42231
42369
|
queryKey: systemPromptQueryKey,
|
|
42232
42370
|
queryFn: async () => {
|
|
42233
42371
|
try {
|
|
42234
|
-
const
|
|
42235
|
-
const response = await
|
|
42372
|
+
const client2 = createLocalOperatorClient(apiConfig.baseUrl);
|
|
42373
|
+
const response = await client2.config.getSystemPrompt();
|
|
42236
42374
|
if (response === null) {
|
|
42237
42375
|
return null;
|
|
42238
42376
|
}
|
|
@@ -42254,14 +42392,14 @@ const useSystemPrompt = () => {
|
|
|
42254
42392
|
};
|
|
42255
42393
|
const useUpdateAgent = () => {
|
|
42256
42394
|
const queryClient2 = useQueryClient();
|
|
42257
|
-
const
|
|
42395
|
+
const client2 = createLocalOperatorClient(apiConfig.baseUrl);
|
|
42258
42396
|
return useMutation({
|
|
42259
42397
|
mutationFn: async ({
|
|
42260
42398
|
agentId,
|
|
42261
42399
|
update
|
|
42262
42400
|
}) => {
|
|
42263
42401
|
try {
|
|
42264
|
-
const response = await
|
|
42402
|
+
const response = await client2.agents.updateAgent(agentId, update);
|
|
42265
42403
|
if (response.status >= 400) {
|
|
42266
42404
|
throw new Error(
|
|
42267
42405
|
response.message || `Failed to update agent ${agentId}`
|
|
@@ -42304,11 +42442,11 @@ const useUpdateAgent = () => {
|
|
|
42304
42442
|
};
|
|
42305
42443
|
const useUpdateCredential = () => {
|
|
42306
42444
|
const queryClient2 = useQueryClient();
|
|
42307
|
-
const
|
|
42445
|
+
const client2 = createLocalOperatorClient(apiConfig.baseUrl);
|
|
42308
42446
|
return useMutation({
|
|
42309
42447
|
mutationFn: async (credentialUpdate) => {
|
|
42310
42448
|
try {
|
|
42311
|
-
const response = await
|
|
42449
|
+
const response = await client2.credentials.updateCredential(credentialUpdate);
|
|
42312
42450
|
if (response.status >= 400) {
|
|
42313
42451
|
throw new Error(response.message || "Failed to update credential");
|
|
42314
42452
|
}
|
|
@@ -42352,11 +42490,11 @@ const useUpdateCredential = () => {
|
|
|
42352
42490
|
};
|
|
42353
42491
|
const useUpdateSystemPrompt = () => {
|
|
42354
42492
|
const queryClient2 = useQueryClient();
|
|
42355
|
-
const
|
|
42493
|
+
const client2 = createLocalOperatorClient(apiConfig.baseUrl);
|
|
42356
42494
|
return useMutation({
|
|
42357
42495
|
mutationFn: async (update) => {
|
|
42358
42496
|
try {
|
|
42359
|
-
const response = await
|
|
42497
|
+
const response = await client2.config.updateSystemPrompt(update);
|
|
42360
42498
|
if (response.status >= 400) {
|
|
42361
42499
|
throw new Error(response.message || "Failed to update system prompt");
|
|
42362
42500
|
}
|
|
@@ -46751,10 +46889,10 @@ const truncateText$1 = (text4, maxLength) => {
|
|
|
46751
46889
|
const getReleaseUrl = (updateInfo) => {
|
|
46752
46890
|
if (updateInfo.releaseNotes && typeof updateInfo.releaseNotes !== "string") {
|
|
46753
46891
|
const releaseNotesObj = updateInfo.releaseNotes;
|
|
46754
|
-
const defaultUrl = `https://github.com/
|
|
46892
|
+
const defaultUrl = `https://github.com/damianvtran/local-operator-ui/releases/tag/v${updateInfo.version}`;
|
|
46755
46893
|
return releaseNotesObj.path || defaultUrl;
|
|
46756
46894
|
}
|
|
46757
|
-
return `https://github.com/
|
|
46895
|
+
return `https://github.com/damianvtran/local-operator-ui/releases/tag/v${updateInfo.version}`;
|
|
46758
46896
|
};
|
|
46759
46897
|
/*!
|
|
46760
46898
|
* Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
|
|
@@ -87074,7 +87212,7 @@ const languages = [
|
|
|
87074
87212
|
name: "Go",
|
|
87075
87213
|
extensions: ["go"],
|
|
87076
87214
|
load() {
|
|
87077
|
-
return __vitePreload(() => import("./index-
|
|
87215
|
+
return __vitePreload(() => import("./index-liIbjSlr.js"), true ? __vite__mapDeps([0,1,2]) : void 0, import.meta.url).then((m2) => m2.go());
|
|
87078
87216
|
}
|
|
87079
87217
|
}),
|
|
87080
87218
|
/* @__PURE__ */ LanguageDescription.of({
|
|
@@ -87251,7 +87389,7 @@ const languages = [
|
|
|
87251
87389
|
alias: ["yml"],
|
|
87252
87390
|
extensions: ["yaml", "yml"],
|
|
87253
87391
|
load() {
|
|
87254
|
-
return __vitePreload(() => import("./index-
|
|
87392
|
+
return __vitePreload(() => import("./index-DySkHkA1.js"), true ? __vite__mapDeps([3,1,2]) : void 0, import.meta.url).then((m2) => m2.yaml());
|
|
87255
87393
|
}
|
|
87256
87394
|
}),
|
|
87257
87395
|
// Legacy modes ported from CodeMirror 5
|
|
@@ -169692,7 +169830,7 @@ var registerDefaultLayoutLoaders = /* @__PURE__ */ __name(() => {
|
|
|
169692
169830
|
registerLayoutLoaders([
|
|
169693
169831
|
{
|
|
169694
169832
|
name: "dagre",
|
|
169695
|
-
loader: /* @__PURE__ */ __name(async () => await __vitePreload(() => import("./dagre-OKDRZEBW-
|
|
169833
|
+
loader: /* @__PURE__ */ __name(async () => await __vitePreload(() => import("./dagre-OKDRZEBW-CO3cKjWG.js"), true ? __vite__mapDeps([6,7,8,9,10,11,1,2]) : void 0, import.meta.url), "loader")
|
|
169696
169834
|
}
|
|
169697
169835
|
]);
|
|
169698
169836
|
}, "registerDefaultLayoutLoaders");
|
|
@@ -170282,7 +170420,7 @@ var detector = /* @__PURE__ */ __name((txt) => {
|
|
|
170282
170420
|
}, "detector");
|
|
170283
170421
|
var loader = /* @__PURE__ */ __name(async () => {
|
|
170284
170422
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
170285
|
-
const { diagram: diagram22 } = await import("./c4Diagram-VJAJSXHY-
|
|
170423
|
+
const { diagram: diagram22 } = await import("./c4Diagram-VJAJSXHY-D8FgDK5j.js");
|
|
170286
170424
|
return { diagram: diagram22 };
|
|
170287
170425
|
}, true ? __vite__mapDeps([12,13,1,2]) : void 0, import.meta.url);
|
|
170288
170426
|
return { id, diagram: diagram2 };
|
|
@@ -170302,7 +170440,7 @@ var detector2 = /* @__PURE__ */ __name((txt, config2) => {
|
|
|
170302
170440
|
}, "detector");
|
|
170303
170441
|
var loader2 = /* @__PURE__ */ __name(async () => {
|
|
170304
170442
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
170305
|
-
const { diagram: diagram22 } = await import("./flowDiagram-4HSFHLVR-
|
|
170443
|
+
const { diagram: diagram22 } = await import("./flowDiagram-4HSFHLVR-CuLnAVLZ.js");
|
|
170306
170444
|
return { diagram: diagram22 };
|
|
170307
170445
|
}, true ? __vite__mapDeps([14,15,16,1,2]) : void 0, import.meta.url);
|
|
170308
170446
|
return { id: id2, diagram: diagram2 };
|
|
@@ -170328,7 +170466,7 @@ var detector3 = /* @__PURE__ */ __name((txt, config2) => {
|
|
|
170328
170466
|
}, "detector");
|
|
170329
170467
|
var loader3 = /* @__PURE__ */ __name(async () => {
|
|
170330
170468
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
170331
|
-
const { diagram: diagram22 } = await import("./flowDiagram-4HSFHLVR-
|
|
170469
|
+
const { diagram: diagram22 } = await import("./flowDiagram-4HSFHLVR-CuLnAVLZ.js");
|
|
170332
170470
|
return { diagram: diagram22 };
|
|
170333
170471
|
}, true ? __vite__mapDeps([14,15,16,1,2]) : void 0, import.meta.url);
|
|
170334
170472
|
return { id: id3, diagram: diagram2 };
|
|
@@ -170345,7 +170483,7 @@ var detector4 = /* @__PURE__ */ __name((txt) => {
|
|
|
170345
170483
|
}, "detector");
|
|
170346
170484
|
var loader4 = /* @__PURE__ */ __name(async () => {
|
|
170347
170485
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
170348
|
-
const { diagram: diagram22 } = await import("./erDiagram-Q7BY3M3F-
|
|
170486
|
+
const { diagram: diagram22 } = await import("./erDiagram-Q7BY3M3F-CE-mGjcw.js");
|
|
170349
170487
|
return { diagram: diagram22 };
|
|
170350
170488
|
}, true ? __vite__mapDeps([17,15,16,1,2]) : void 0, import.meta.url);
|
|
170351
170489
|
return { id: id4, diagram: diagram2 };
|
|
@@ -170362,7 +170500,7 @@ var detector5 = /* @__PURE__ */ __name((txt) => {
|
|
|
170362
170500
|
}, "detector");
|
|
170363
170501
|
var loader5 = /* @__PURE__ */ __name(async () => {
|
|
170364
170502
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
170365
|
-
const { diagram: diagram22 } = await import("./gitGraphDiagram-7IBYFJ6S-
|
|
170503
|
+
const { diagram: diagram22 } = await import("./gitGraphDiagram-7IBYFJ6S-B0RVbCe3.js");
|
|
170366
170504
|
return { diagram: diagram22 };
|
|
170367
170505
|
}, true ? __vite__mapDeps([18,19,20,21,8,10,11,1,2]) : void 0, import.meta.url);
|
|
170368
170506
|
return { id: id5, diagram: diagram2 };
|
|
@@ -170379,7 +170517,7 @@ var detector6 = /* @__PURE__ */ __name((txt) => {
|
|
|
170379
170517
|
}, "detector");
|
|
170380
170518
|
var loader6 = /* @__PURE__ */ __name(async () => {
|
|
170381
170519
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
170382
|
-
const { diagram: diagram22 } = await import("./ganttDiagram-APWFNJXF-
|
|
170520
|
+
const { diagram: diagram22 } = await import("./ganttDiagram-APWFNJXF-HGEcVNK0.js");
|
|
170383
170521
|
return { diagram: diagram22 };
|
|
170384
170522
|
}, true ? __vite__mapDeps([22,1,2]) : void 0, import.meta.url);
|
|
170385
170523
|
return { id: id6, diagram: diagram2 };
|
|
@@ -170396,7 +170534,7 @@ var detector7 = /* @__PURE__ */ __name((txt) => {
|
|
|
170396
170534
|
}, "detector");
|
|
170397
170535
|
var loader7 = /* @__PURE__ */ __name(async () => {
|
|
170398
170536
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
170399
|
-
const { diagram: diagram22 } = await import("./infoDiagram-PH2N3AL5-
|
|
170537
|
+
const { diagram: diagram22 } = await import("./infoDiagram-PH2N3AL5-BmzNZtVy.js");
|
|
170400
170538
|
return { diagram: diagram22 };
|
|
170401
170539
|
}, true ? __vite__mapDeps([23,21,8,10,11,1,2]) : void 0, import.meta.url);
|
|
170402
170540
|
return { id: id7, diagram: diagram2 };
|
|
@@ -170412,7 +170550,7 @@ var detector8 = /* @__PURE__ */ __name((txt) => {
|
|
|
170412
170550
|
}, "detector");
|
|
170413
170551
|
var loader8 = /* @__PURE__ */ __name(async () => {
|
|
170414
170552
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
170415
|
-
const { diagram: diagram22 } = await import("./pieDiagram-IB7DONF6-
|
|
170553
|
+
const { diagram: diagram22 } = await import("./pieDiagram-IB7DONF6-DxWkg81y.js");
|
|
170416
170554
|
return { diagram: diagram22 };
|
|
170417
170555
|
}, true ? __vite__mapDeps([24,19,21,8,10,11,25,1,2]) : void 0, import.meta.url);
|
|
170418
170556
|
return { id: id8, diagram: diagram2 };
|
|
@@ -170428,7 +170566,7 @@ var detector9 = /* @__PURE__ */ __name((txt) => {
|
|
|
170428
170566
|
}, "detector");
|
|
170429
170567
|
var loader9 = /* @__PURE__ */ __name(async () => {
|
|
170430
170568
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
170431
|
-
const { diagram: diagram22 } = await import("./quadrantDiagram-7GDLP6J5-
|
|
170569
|
+
const { diagram: diagram22 } = await import("./quadrantDiagram-7GDLP6J5-DhiTce2H.js");
|
|
170432
170570
|
return { diagram: diagram22 };
|
|
170433
170571
|
}, true ? __vite__mapDeps([26,1,2]) : void 0, import.meta.url);
|
|
170434
170572
|
return { id: id9, diagram: diagram2 };
|
|
@@ -170445,7 +170583,7 @@ var detector10 = /* @__PURE__ */ __name((txt) => {
|
|
|
170445
170583
|
}, "detector");
|
|
170446
170584
|
var loader10 = /* @__PURE__ */ __name(async () => {
|
|
170447
170585
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
170448
|
-
const { diagram: diagram22 } = await import("./xychartDiagram-VJFVF3MP-
|
|
170586
|
+
const { diagram: diagram22 } = await import("./xychartDiagram-VJFVF3MP-6LqtFFyz.js");
|
|
170449
170587
|
return { diagram: diagram22 };
|
|
170450
170588
|
}, true ? __vite__mapDeps([27,1,2]) : void 0, import.meta.url);
|
|
170451
170589
|
return { id: id10, diagram: diagram2 };
|
|
@@ -170462,7 +170600,7 @@ var detector11 = /* @__PURE__ */ __name((txt) => {
|
|
|
170462
170600
|
}, "detector");
|
|
170463
170601
|
var loader11 = /* @__PURE__ */ __name(async () => {
|
|
170464
170602
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
170465
|
-
const { diagram: diagram22 } = await import("./requirementDiagram-KVF5MWMF-
|
|
170603
|
+
const { diagram: diagram22 } = await import("./requirementDiagram-KVF5MWMF-D_RtpMVe.js");
|
|
170466
170604
|
return { diagram: diagram22 };
|
|
170467
170605
|
}, true ? __vite__mapDeps([28,15,1,2]) : void 0, import.meta.url);
|
|
170468
170606
|
return { id: id11, diagram: diagram2 };
|
|
@@ -170479,7 +170617,7 @@ var detector12 = /* @__PURE__ */ __name((txt) => {
|
|
|
170479
170617
|
}, "detector");
|
|
170480
170618
|
var loader12 = /* @__PURE__ */ __name(async () => {
|
|
170481
170619
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
170482
|
-
const { diagram: diagram22 } = await import("./sequenceDiagram-X6HHIX6F-
|
|
170620
|
+
const { diagram: diagram22 } = await import("./sequenceDiagram-X6HHIX6F-DKsfkllV.js");
|
|
170483
170621
|
return { diagram: diagram22 };
|
|
170484
170622
|
}, true ? __vite__mapDeps([29,13,20,1,2]) : void 0, import.meta.url);
|
|
170485
170623
|
return { id: id12, diagram: diagram2 };
|
|
@@ -170499,7 +170637,7 @@ var detector13 = /* @__PURE__ */ __name((txt, config2) => {
|
|
|
170499
170637
|
}, "detector");
|
|
170500
170638
|
var loader13 = /* @__PURE__ */ __name(async () => {
|
|
170501
170639
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
170502
|
-
const { diagram: diagram22 } = await import("./classDiagram-GIVACNV2-
|
|
170640
|
+
const { diagram: diagram22 } = await import("./classDiagram-GIVACNV2-FGJrs60K.js");
|
|
170503
170641
|
return { diagram: diagram22 };
|
|
170504
170642
|
}, true ? __vite__mapDeps([30,31,15,1,2]) : void 0, import.meta.url);
|
|
170505
170643
|
return { id: id13, diagram: diagram2 };
|
|
@@ -170519,7 +170657,7 @@ var detector14 = /* @__PURE__ */ __name((txt, config2) => {
|
|
|
170519
170657
|
}, "detector");
|
|
170520
170658
|
var loader14 = /* @__PURE__ */ __name(async () => {
|
|
170521
170659
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
170522
|
-
const { diagram: diagram22 } = await import("./classDiagram-v2-COTLJTTW-
|
|
170660
|
+
const { diagram: diagram22 } = await import("./classDiagram-v2-COTLJTTW-FGJrs60K.js");
|
|
170523
170661
|
return { diagram: diagram22 };
|
|
170524
170662
|
}, true ? __vite__mapDeps([32,31,15,1,2]) : void 0, import.meta.url);
|
|
170525
170663
|
return { id: id14, diagram: diagram2 };
|
|
@@ -170539,7 +170677,7 @@ var detector15 = /* @__PURE__ */ __name((txt, config2) => {
|
|
|
170539
170677
|
}, "detector");
|
|
170540
170678
|
var loader15 = /* @__PURE__ */ __name(async () => {
|
|
170541
170679
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
170542
|
-
const { diagram: diagram22 } = await import("./stateDiagram-DGXRK772-
|
|
170680
|
+
const { diagram: diagram22 } = await import("./stateDiagram-DGXRK772-DEAItQI7.js");
|
|
170543
170681
|
return { diagram: diagram22 };
|
|
170544
170682
|
}, true ? __vite__mapDeps([33,34,15,7,8,9,10,1,2]) : void 0, import.meta.url);
|
|
170545
170683
|
return { id: id15, diagram: diagram2 };
|
|
@@ -170562,7 +170700,7 @@ var detector16 = /* @__PURE__ */ __name((txt, config2) => {
|
|
|
170562
170700
|
}, "detector");
|
|
170563
170701
|
var loader16 = /* @__PURE__ */ __name(async () => {
|
|
170564
170702
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
170565
|
-
const { diagram: diagram22 } = await import("./stateDiagram-v2-YXO3MK2T-
|
|
170703
|
+
const { diagram: diagram22 } = await import("./stateDiagram-v2-YXO3MK2T-DaDyU-tp.js");
|
|
170566
170704
|
return { diagram: diagram22 };
|
|
170567
170705
|
}, true ? __vite__mapDeps([35,34,15,1,2]) : void 0, import.meta.url);
|
|
170568
170706
|
return { id: id16, diagram: diagram2 };
|
|
@@ -170579,7 +170717,7 @@ var detector17 = /* @__PURE__ */ __name((txt) => {
|
|
|
170579
170717
|
}, "detector");
|
|
170580
170718
|
var loader17 = /* @__PURE__ */ __name(async () => {
|
|
170581
170719
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
170582
|
-
const { diagram: diagram22 } = await import("./journeyDiagram-U35MCT3I-
|
|
170720
|
+
const { diagram: diagram22 } = await import("./journeyDiagram-U35MCT3I-BTfGUC5S.js");
|
|
170583
170721
|
return { diagram: diagram22 };
|
|
170584
170722
|
}, true ? __vite__mapDeps([36,13,25,1,2]) : void 0, import.meta.url);
|
|
170585
170723
|
return { id: id17, diagram: diagram2 };
|
|
@@ -170649,7 +170787,7 @@ var detector18 = /* @__PURE__ */ __name((txt, config2 = {}) => {
|
|
|
170649
170787
|
}, "detector");
|
|
170650
170788
|
var loader18 = /* @__PURE__ */ __name(async () => {
|
|
170651
170789
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
170652
|
-
const { diagram: diagram22 } = await import("./flowDiagram-4HSFHLVR-
|
|
170790
|
+
const { diagram: diagram22 } = await import("./flowDiagram-4HSFHLVR-CuLnAVLZ.js");
|
|
170653
170791
|
return { diagram: diagram22 };
|
|
170654
170792
|
}, true ? __vite__mapDeps([14,15,16,1,2]) : void 0, import.meta.url);
|
|
170655
170793
|
return { id: id18, diagram: diagram2 };
|
|
@@ -170666,7 +170804,7 @@ var detector19 = /* @__PURE__ */ __name((txt) => {
|
|
|
170666
170804
|
}, "detector");
|
|
170667
170805
|
var loader19 = /* @__PURE__ */ __name(async () => {
|
|
170668
170806
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
170669
|
-
const { diagram: diagram22 } = await import("./timeline-definition-BDJGKUSR-
|
|
170807
|
+
const { diagram: diagram22 } = await import("./timeline-definition-BDJGKUSR-VT7KewsR.js");
|
|
170670
170808
|
return { diagram: diagram22 };
|
|
170671
170809
|
}, true ? __vite__mapDeps([37,25,1,2]) : void 0, import.meta.url);
|
|
170672
170810
|
return { id: id19, diagram: diagram2 };
|
|
@@ -170683,7 +170821,7 @@ var detector20 = /* @__PURE__ */ __name((txt) => {
|
|
|
170683
170821
|
}, "detector");
|
|
170684
170822
|
var loader20 = /* @__PURE__ */ __name(async () => {
|
|
170685
170823
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
170686
|
-
const { diagram: diagram22 } = await import("./mindmap-definition-ALO5MXBD-
|
|
170824
|
+
const { diagram: diagram22 } = await import("./mindmap-definition-ALO5MXBD-RRZYStOO.js");
|
|
170687
170825
|
return { diagram: diagram22 };
|
|
170688
170826
|
}, true ? __vite__mapDeps([38,39,1,2]) : void 0, import.meta.url);
|
|
170689
170827
|
return { id: id20, diagram: diagram2 };
|
|
@@ -170700,7 +170838,7 @@ var detector21 = /* @__PURE__ */ __name((txt) => {
|
|
|
170700
170838
|
}, "detector");
|
|
170701
170839
|
var loader21 = /* @__PURE__ */ __name(async () => {
|
|
170702
170840
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
170703
|
-
const { diagram: diagram22 } = await import("./kanban-definition-NDS4AKOZ-
|
|
170841
|
+
const { diagram: diagram22 } = await import("./kanban-definition-NDS4AKOZ-C-DuH5Nd.js");
|
|
170704
170842
|
return { diagram: diagram22 };
|
|
170705
170843
|
}, true ? __vite__mapDeps([40,1,2]) : void 0, import.meta.url);
|
|
170706
170844
|
return { id: id21, diagram: diagram2 };
|
|
@@ -170717,7 +170855,7 @@ var detector22 = /* @__PURE__ */ __name((txt) => {
|
|
|
170717
170855
|
}, "detector");
|
|
170718
170856
|
var loader22 = /* @__PURE__ */ __name(async () => {
|
|
170719
170857
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
170720
|
-
const { diagram: diagram22 } = await import("./sankeyDiagram-QLVOVGJD-
|
|
170858
|
+
const { diagram: diagram22 } = await import("./sankeyDiagram-QLVOVGJD-DVZvgx2b.js");
|
|
170721
170859
|
return { diagram: diagram22 };
|
|
170722
170860
|
}, true ? __vite__mapDeps([41,1,2]) : void 0, import.meta.url);
|
|
170723
170861
|
return { id: id22, diagram: diagram2 };
|
|
@@ -170734,7 +170872,7 @@ var detector23 = /* @__PURE__ */ __name((txt) => {
|
|
|
170734
170872
|
}, "detector");
|
|
170735
170873
|
var loader23 = /* @__PURE__ */ __name(async () => {
|
|
170736
170874
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
170737
|
-
const { diagram: diagram22 } = await import("./diagram-VNBRO52H-
|
|
170875
|
+
const { diagram: diagram22 } = await import("./diagram-VNBRO52H-DxYagTVG.js");
|
|
170738
170876
|
return { diagram: diagram22 };
|
|
170739
170877
|
}, true ? __vite__mapDeps([42,19,21,8,10,11,1,2]) : void 0, import.meta.url);
|
|
170740
170878
|
return { id: id23, diagram: diagram2 };
|
|
@@ -170750,7 +170888,7 @@ var detector24 = /* @__PURE__ */ __name((txt) => {
|
|
|
170750
170888
|
}, "detector");
|
|
170751
170889
|
var loader24 = /* @__PURE__ */ __name(async () => {
|
|
170752
170890
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
170753
|
-
const { diagram: diagram22 } = await import("./diagram-SSKATNLV-
|
|
170891
|
+
const { diagram: diagram22 } = await import("./diagram-SSKATNLV-B9JFQ016.js");
|
|
170754
170892
|
return { diagram: diagram22 };
|
|
170755
170893
|
}, true ? __vite__mapDeps([43,19,21,8,10,11,1,2]) : void 0, import.meta.url);
|
|
170756
170894
|
return { id: id24, diagram: diagram2 };
|
|
@@ -170766,7 +170904,7 @@ var detector25 = /* @__PURE__ */ __name((txt) => {
|
|
|
170766
170904
|
}, "detector");
|
|
170767
170905
|
var loader25 = /* @__PURE__ */ __name(async () => {
|
|
170768
170906
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
170769
|
-
const { diagram: diagram22 } = await import("./blockDiagram-JOT3LUYC-
|
|
170907
|
+
const { diagram: diagram22 } = await import("./blockDiagram-JOT3LUYC-CxL3mRr9.js");
|
|
170770
170908
|
return { diagram: diagram22 };
|
|
170771
170909
|
}, true ? __vite__mapDeps([44,11,8,7,16,1,2]) : void 0, import.meta.url);
|
|
170772
170910
|
return { id: id25, diagram: diagram2 };
|
|
@@ -170783,7 +170921,7 @@ var detector26 = /* @__PURE__ */ __name((txt) => {
|
|
|
170783
170921
|
}, "detector");
|
|
170784
170922
|
var loader26 = /* @__PURE__ */ __name(async () => {
|
|
170785
170923
|
const { diagram: diagram2 } = await __vitePreload(async () => {
|
|
170786
|
-
const { diagram: diagram22 } = await import("./architectureDiagram-IEHRJDOE-
|
|
170924
|
+
const { diagram: diagram22 } = await import("./architectureDiagram-IEHRJDOE-C5riAJAU.js");
|
|
170787
170925
|
return { diagram: diagram22 };
|
|
170788
170926
|
}, true ? __vite__mapDeps([45,19,20,21,8,10,11,39,1,2]) : void 0, import.meta.url);
|
|
170789
170927
|
return { id: id26, diagram: diagram2 };
|
|
@@ -172296,7 +172434,7 @@ const getFileTypeFromPath = (filePath) => {
|
|
|
172296
172434
|
return "other";
|
|
172297
172435
|
};
|
|
172298
172436
|
const RESOURCE_NAME_REGEX$2 = /name=([^;,]+)/;
|
|
172299
|
-
const PATH_SEPARATOR_REGEX$
|
|
172437
|
+
const PATH_SEPARATOR_REGEX$5 = /[/\\]/;
|
|
172300
172438
|
const DATA_URI_REGEX = /^data:([^;,]+)/;
|
|
172301
172439
|
const getFileName$3 = (path2) => {
|
|
172302
172440
|
if (path2.startsWith("data:image/")) {
|
|
@@ -172328,7 +172466,7 @@ const getFileName$3 = (path2) => {
|
|
|
172328
172466
|
}
|
|
172329
172467
|
return "Pasted File";
|
|
172330
172468
|
}
|
|
172331
|
-
const parts = path2.split(PATH_SEPARATOR_REGEX$
|
|
172469
|
+
const parts = path2.split(PATH_SEPARATOR_REGEX$5);
|
|
172332
172470
|
return parts[parts.length - 1];
|
|
172333
172471
|
};
|
|
172334
172472
|
const canvasSupportedExtensions = /* @__PURE__ */ new Set([
|
|
@@ -172560,7 +172698,7 @@ const isVideo$2 = (path2) => {
|
|
|
172560
172698
|
const lowerPath = path2.toLowerCase();
|
|
172561
172699
|
return videoExtensions.some((ext) => lowerPath.endsWith(ext));
|
|
172562
172700
|
};
|
|
172563
|
-
const getAttachmentUrl$2 = (
|
|
172701
|
+
const getAttachmentUrl$2 = (client2, path2) => {
|
|
172564
172702
|
if (path2.startsWith("http")) {
|
|
172565
172703
|
return path2;
|
|
172566
172704
|
}
|
|
@@ -172569,10 +172707,10 @@ const getAttachmentUrl$2 = (client, path2) => {
|
|
|
172569
172707
|
}
|
|
172570
172708
|
const normalizedPath = path2.startsWith("file://") ? path2 : `file://${path2}`;
|
|
172571
172709
|
if (isImage$2(path2)) {
|
|
172572
|
-
return
|
|
172710
|
+
return client2.static.getImageUrl(normalizedPath);
|
|
172573
172711
|
}
|
|
172574
172712
|
if (isVideo$2(path2)) {
|
|
172575
|
-
return
|
|
172713
|
+
return client2.static.getVideoUrl(normalizedPath);
|
|
172576
172714
|
}
|
|
172577
172715
|
return path2;
|
|
172578
172716
|
};
|
|
@@ -172628,12 +172766,12 @@ const CanvasFileViewer = ({
|
|
|
172628
172766
|
);
|
|
172629
172767
|
return Object.values(filesByBaseName);
|
|
172630
172768
|
}, [files]);
|
|
172631
|
-
const
|
|
172769
|
+
const client2 = reactExports.useMemo(() => {
|
|
172632
172770
|
return createLocalOperatorClient(apiConfig.baseUrl);
|
|
172633
172771
|
}, []);
|
|
172634
172772
|
const getUrl2 = reactExports.useCallback(
|
|
172635
|
-
(path2) => getAttachmentUrl$2(
|
|
172636
|
-
[
|
|
172773
|
+
(path2) => getAttachmentUrl$2(client2, path2),
|
|
172774
|
+
[client2]
|
|
172637
172775
|
);
|
|
172638
172776
|
const handleFileClick = reactExports.useCallback(
|
|
172639
172777
|
async (fileDoc) => {
|
|
@@ -172938,7 +173076,7 @@ const CanvasTabsComponent = ({
|
|
|
172938
173076
|
};
|
|
172939
173077
|
const CanvasTabs = reactExports.memo(CanvasTabsComponent);
|
|
172940
173078
|
const useAgentExecutionVariables = (agentId) => {
|
|
172941
|
-
const
|
|
173079
|
+
const client2 = reactExports.useMemo(
|
|
172942
173080
|
() => createLocalOperatorClient(apiConfig.baseUrl),
|
|
172943
173081
|
[]
|
|
172944
173082
|
);
|
|
@@ -172948,7 +173086,7 @@ const useAgentExecutionVariables = (agentId) => {
|
|
|
172948
173086
|
if (!agentId) {
|
|
172949
173087
|
throw new Error("Agent ID is required to fetch execution variables.");
|
|
172950
173088
|
}
|
|
172951
|
-
return
|
|
173089
|
+
return client2.agents.listAgentExecutionVariables(agentId);
|
|
172952
173090
|
},
|
|
172953
173091
|
enabled: !!agentId
|
|
172954
173092
|
// Only run the query if agentId is provided
|
|
@@ -172956,12 +173094,12 @@ const useAgentExecutionVariables = (agentId) => {
|
|
|
172956
173094
|
};
|
|
172957
173095
|
const useCreateAgentExecutionVariable = () => {
|
|
172958
173096
|
const queryClient2 = useQueryClient();
|
|
172959
|
-
const
|
|
173097
|
+
const client2 = reactExports.useMemo(
|
|
172960
173098
|
() => createLocalOperatorClient(apiConfig.baseUrl),
|
|
172961
173099
|
[]
|
|
172962
173100
|
);
|
|
172963
173101
|
return useMutation({
|
|
172964
|
-
mutationFn: async ({ agentId, variableData }) =>
|
|
173102
|
+
mutationFn: async ({ agentId, variableData }) => client2.agents.createAgentExecutionVariable(agentId, variableData),
|
|
172965
173103
|
onSuccess: (_data, variables) => {
|
|
172966
173104
|
queryClient2.invalidateQueries({
|
|
172967
173105
|
queryKey: ["agentExecutionVariables", variables.agentId]
|
|
@@ -172975,12 +173113,12 @@ const useCreateAgentExecutionVariable = () => {
|
|
|
172975
173113
|
};
|
|
172976
173114
|
const useUpdateAgentExecutionVariable = () => {
|
|
172977
173115
|
const queryClient2 = useQueryClient();
|
|
172978
|
-
const
|
|
173116
|
+
const client2 = reactExports.useMemo(
|
|
172979
173117
|
() => createLocalOperatorClient(apiConfig.baseUrl),
|
|
172980
173118
|
[]
|
|
172981
173119
|
);
|
|
172982
173120
|
return useMutation({
|
|
172983
|
-
mutationFn: async ({ agentId, variableKey, variableData }) =>
|
|
173121
|
+
mutationFn: async ({ agentId, variableKey, variableData }) => client2.agents.updateAgentExecutionVariable(
|
|
172984
173122
|
agentId,
|
|
172985
173123
|
variableKey,
|
|
172986
173124
|
variableData
|
|
@@ -172998,12 +173136,12 @@ const useUpdateAgentExecutionVariable = () => {
|
|
|
172998
173136
|
};
|
|
172999
173137
|
const useDeleteAgentExecutionVariable = () => {
|
|
173000
173138
|
const queryClient2 = useQueryClient();
|
|
173001
|
-
const
|
|
173139
|
+
const client2 = reactExports.useMemo(
|
|
173002
173140
|
() => createLocalOperatorClient(apiConfig.baseUrl),
|
|
173003
173141
|
[]
|
|
173004
173142
|
);
|
|
173005
173143
|
return useMutation({
|
|
173006
|
-
mutationFn: async ({ agentId, variableKey }) =>
|
|
173144
|
+
mutationFn: async ({ agentId, variableKey }) => client2.agents.deleteAgentExecutionVariable(agentId, variableKey),
|
|
173007
173145
|
onSuccess: (_data, variables) => {
|
|
173008
173146
|
queryClient2.invalidateQueries({
|
|
173009
173147
|
queryKey: ["agentExecutionVariables", variables.agentId]
|
|
@@ -174798,7 +174936,7 @@ styled$1(Tab, {
|
|
|
174798
174936
|
fontSize: "0.9rem"
|
|
174799
174937
|
}
|
|
174800
174938
|
}));
|
|
174801
|
-
const PATH_SEPARATOR_REGEX$
|
|
174939
|
+
const PATH_SEPARATOR_REGEX$4 = /[/\\]/;
|
|
174802
174940
|
const RESOURCE_NAME_REGEX$1 = /name=([^;,]+)/;
|
|
174803
174941
|
const MIME_TYPE_REGEX = /^data:([^;,]+)/;
|
|
174804
174942
|
const AttachmentsContainer = styled$1(Box)(({ theme: theme2 }) => ({
|
|
@@ -174908,7 +175046,7 @@ const AttachmentsPreview = ({
|
|
|
174908
175046
|
onRemoveAttachment,
|
|
174909
175047
|
disabled = false
|
|
174910
175048
|
}) => {
|
|
174911
|
-
const
|
|
175049
|
+
const client2 = reactExports.useMemo(() => {
|
|
174912
175050
|
return createLocalOperatorClient(apiConfig.baseUrl);
|
|
174913
175051
|
}, []);
|
|
174914
175052
|
const isImage2 = reactExports.useCallback((path2) => {
|
|
@@ -174965,7 +175103,7 @@ const AttachmentsPreview = ({
|
|
|
174965
175103
|
}
|
|
174966
175104
|
return "Pasted File";
|
|
174967
175105
|
}
|
|
174968
|
-
const parts = path2.split(PATH_SEPARATOR_REGEX$
|
|
175106
|
+
const parts = path2.split(PATH_SEPARATOR_REGEX$4);
|
|
174969
175107
|
return parts[parts.length - 1];
|
|
174970
175108
|
}, []);
|
|
174971
175109
|
const getAttachmentUrl2 = reactExports.useCallback(
|
|
@@ -174978,14 +175116,14 @@ const AttachmentsPreview = ({
|
|
|
174978
175116
|
}
|
|
174979
175117
|
const normalizedPath = path2.startsWith("file://") ? path2 : `file://${path2}`;
|
|
174980
175118
|
if (isImage2(path2)) {
|
|
174981
|
-
return
|
|
175119
|
+
return client2.static.getImageUrl(normalizedPath);
|
|
174982
175120
|
}
|
|
174983
175121
|
if (isVideo2(path2)) {
|
|
174984
|
-
return
|
|
175122
|
+
return client2.static.getVideoUrl(normalizedPath);
|
|
174985
175123
|
}
|
|
174986
175124
|
return path2;
|
|
174987
175125
|
},
|
|
174988
|
-
[
|
|
175126
|
+
[client2, isImage2, isVideo2]
|
|
174989
175127
|
// isImage and isVideo are stable due to useCallback
|
|
174990
175128
|
);
|
|
174991
175129
|
const handleRemove = reactExports.useCallback(
|
|
@@ -176022,6 +176160,8 @@ const MessageInput = reactExports.forwardRef(
|
|
|
176022
176160
|
const [isTranscribing, setIsTranscribing] = reactExports.useState(false);
|
|
176023
176161
|
const mediaRecorderRef = reactExports.useRef(null);
|
|
176024
176162
|
const audioChunksRef = reactExports.useRef([]);
|
|
176163
|
+
const spacebarTimerRef = reactExports.useRef(null);
|
|
176164
|
+
const [platform, setPlatform] = reactExports.useState("");
|
|
176025
176165
|
const fileInputRef = reactExports.useRef(null);
|
|
176026
176166
|
const { data: credentialsData, isLoading: isLoadingCredentials } = useCredentials();
|
|
176027
176167
|
const isRadientApiKeyConfigured = reactExports.useMemo(
|
|
@@ -176074,7 +176214,15 @@ const MessageInput = reactExports.forwardRef(
|
|
|
176074
176214
|
}
|
|
176075
176215
|
}
|
|
176076
176216
|
}, [isInputDisabled, isRecording, isTranscribing, textareaRef]);
|
|
176217
|
+
reactExports.useEffect(() => {
|
|
176218
|
+
window.electron.ipcRenderer.invoke("get-platform-info").then((info2) => {
|
|
176219
|
+
setPlatform(info2.platform);
|
|
176220
|
+
}).catch((err) => {
|
|
176221
|
+
console.error("Failed to get platform info:", err);
|
|
176222
|
+
});
|
|
176223
|
+
}, []);
|
|
176077
176224
|
const handleStartRecording = reactExports.useCallback(async () => {
|
|
176225
|
+
if (!canEnableRecordingFeature) return;
|
|
176078
176226
|
if (navigator?.mediaDevices?.getUserMedia) {
|
|
176079
176227
|
try {
|
|
176080
176228
|
const stream = await navigator.mediaDevices.getUserMedia({
|
|
@@ -176107,7 +176255,7 @@ const MessageInput = reactExports.forwardRef(
|
|
|
176107
176255
|
console.error("getUserMedia not supported on your browser!");
|
|
176108
176256
|
showErrorToast("Audio recording is not supported on your browser.");
|
|
176109
176257
|
}
|
|
176110
|
-
}, []);
|
|
176258
|
+
}, [canEnableRecordingFeature]);
|
|
176111
176259
|
const handleConfirmRecording = reactExports.useCallback(() => {
|
|
176112
176260
|
if (mediaRecorderRef.current && isRecording) {
|
|
176113
176261
|
mediaRecorderRef.current.stop();
|
|
@@ -176176,6 +176324,74 @@ const MessageInput = reactExports.forwardRef(
|
|
|
176176
176324
|
handleSendAudio();
|
|
176177
176325
|
}
|
|
176178
176326
|
}, [audioBlob, handleSendAudio]);
|
|
176327
|
+
reactExports.useEffect(() => {
|
|
176328
|
+
const handleStartSpeechToText = () => {
|
|
176329
|
+
if (!isLoading && !isRecording && !isTranscribing && canEnableRecordingFeature) {
|
|
176330
|
+
handleStartRecording();
|
|
176331
|
+
}
|
|
176332
|
+
};
|
|
176333
|
+
window.electron.ipcRenderer.on(
|
|
176334
|
+
"start-speech-to-text",
|
|
176335
|
+
handleStartSpeechToText
|
|
176336
|
+
);
|
|
176337
|
+
return () => {
|
|
176338
|
+
window.electron.ipcRenderer.removeListener(
|
|
176339
|
+
"start-speech-to-text",
|
|
176340
|
+
handleStartSpeechToText
|
|
176341
|
+
);
|
|
176342
|
+
};
|
|
176343
|
+
}, [
|
|
176344
|
+
canEnableRecordingFeature,
|
|
176345
|
+
handleStartRecording,
|
|
176346
|
+
isLoading,
|
|
176347
|
+
isRecording,
|
|
176348
|
+
isTranscribing
|
|
176349
|
+
]);
|
|
176350
|
+
reactExports.useEffect(() => {
|
|
176351
|
+
const handleKeyDown2 = (event) => {
|
|
176352
|
+
if (event.code !== "Space" || spacebarTimerRef.current) {
|
|
176353
|
+
return;
|
|
176354
|
+
}
|
|
176355
|
+
const activeElement = document.activeElement;
|
|
176356
|
+
if (activeElement && (activeElement.tagName === "INPUT" || activeElement.tagName === "TEXTAREA" || activeElement.isContentEditable)) {
|
|
176357
|
+
return;
|
|
176358
|
+
}
|
|
176359
|
+
if (isRecording || isTranscribing || !canEnableRecordingFeature) {
|
|
176360
|
+
return;
|
|
176361
|
+
}
|
|
176362
|
+
event.preventDefault();
|
|
176363
|
+
spacebarTimerRef.current = setTimeout(() => {
|
|
176364
|
+
handleStartRecording();
|
|
176365
|
+
}, 1e3);
|
|
176366
|
+
};
|
|
176367
|
+
const handleKeyUp = (event) => {
|
|
176368
|
+
if (event.code !== "Space") {
|
|
176369
|
+
return;
|
|
176370
|
+
}
|
|
176371
|
+
if (spacebarTimerRef.current) {
|
|
176372
|
+
clearTimeout(spacebarTimerRef.current);
|
|
176373
|
+
spacebarTimerRef.current = null;
|
|
176374
|
+
}
|
|
176375
|
+
if (isRecording) {
|
|
176376
|
+
handleConfirmRecording();
|
|
176377
|
+
}
|
|
176378
|
+
};
|
|
176379
|
+
window.addEventListener("keydown", handleKeyDown2);
|
|
176380
|
+
window.addEventListener("keyup", handleKeyUp);
|
|
176381
|
+
return () => {
|
|
176382
|
+
window.removeEventListener("keydown", handleKeyDown2);
|
|
176383
|
+
window.removeEventListener("keyup", handleKeyUp);
|
|
176384
|
+
if (spacebarTimerRef.current) {
|
|
176385
|
+
clearTimeout(spacebarTimerRef.current);
|
|
176386
|
+
}
|
|
176387
|
+
};
|
|
176388
|
+
}, [
|
|
176389
|
+
isRecording,
|
|
176390
|
+
isTranscribing,
|
|
176391
|
+
canEnableRecordingFeature,
|
|
176392
|
+
handleStartRecording,
|
|
176393
|
+
handleConfirmRecording
|
|
176394
|
+
]);
|
|
176179
176395
|
const handleSubmit = (e3) => {
|
|
176180
176396
|
e3.preventDefault();
|
|
176181
176397
|
if (!newMessage.trim() && attachments.length === 0) return;
|
|
@@ -176237,6 +176453,12 @@ const MessageInput = reactExports.forwardRef(
|
|
|
176237
176453
|
setAttachments([]);
|
|
176238
176454
|
setNewMessage("");
|
|
176239
176455
|
};
|
|
176456
|
+
const shortcutText = reactExports.useMemo(() => {
|
|
176457
|
+
if (platform === "darwin") {
|
|
176458
|
+
return "Cmd+Shift+S";
|
|
176459
|
+
}
|
|
176460
|
+
return "Ctrl+Shift+S";
|
|
176461
|
+
}, [platform]);
|
|
176240
176462
|
const inputContent = /* @__PURE__ */ jsxRuntimeExports.jsxs("form", { onSubmit: handleSubmit, style: { width: "100%" }, children: [
|
|
176241
176463
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(InputInnerContainer, { children: [
|
|
176242
176464
|
attachments.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -176306,7 +176528,7 @@ const MessageInput = reactExports.forwardRef(
|
|
|
176306
176528
|
!isRecording && !isTranscribing && !(isLoading && currentJobId) && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
176307
176529
|
Tooltip$1,
|
|
176308
176530
|
{
|
|
176309
|
-
title: !canEnableRecordingFeature ? "Sign in to Radient in the settings page to enable audio recording" :
|
|
176531
|
+
title: !canEnableRecordingFeature ? "Sign in to Radient in the settings page to enable audio recording" : `Start recording (${shortcutText} or hold Space)`,
|
|
176310
176532
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
176311
176533
|
IconButton,
|
|
176312
176534
|
{
|
|
@@ -176952,6 +177174,301 @@ const ExpandableActionElement = ({
|
|
|
176952
177174
|
] }) })
|
|
176953
177175
|
] });
|
|
176954
177176
|
};
|
|
177177
|
+
const InvalidAttachmentContainer = styled$1(Box)(({ theme: theme2 }) => ({
|
|
177178
|
+
display: "flex",
|
|
177179
|
+
alignItems: "center",
|
|
177180
|
+
padding: "8px 12px",
|
|
177181
|
+
marginTop: 8,
|
|
177182
|
+
backgroundColor: alpha$1(
|
|
177183
|
+
theme2.palette.mode === "dark" ? theme2.palette.warning.dark : theme2.palette.warning.light,
|
|
177184
|
+
theme2.palette.mode === "dark" ? 0.05 : 0.05
|
|
177185
|
+
),
|
|
177186
|
+
borderRadius: 8,
|
|
177187
|
+
boxShadow: `0 1px 4px ${alpha$1(theme2.palette.common.black, theme2.palette.mode === "dark" ? 0.1 : 0.05)}`,
|
|
177188
|
+
width: "fit-content",
|
|
177189
|
+
maxWidth: "100%"
|
|
177190
|
+
}));
|
|
177191
|
+
const ErrorIcon = styled$1(Box)(({ theme: theme2 }) => ({
|
|
177192
|
+
marginRight: 8,
|
|
177193
|
+
color: theme2.palette.warning.main,
|
|
177194
|
+
display: "flex",
|
|
177195
|
+
alignItems: "center"
|
|
177196
|
+
}));
|
|
177197
|
+
const ErrorText = styled$1(Typography)({
|
|
177198
|
+
fontSize: "0.85rem",
|
|
177199
|
+
overflow: "hidden",
|
|
177200
|
+
textOverflow: "ellipsis",
|
|
177201
|
+
whiteSpace: "nowrap",
|
|
177202
|
+
maxWidth: "100%"
|
|
177203
|
+
});
|
|
177204
|
+
const PATH_SEPARATOR_REGEX$3 = /[/\\]/;
|
|
177205
|
+
const getFileName$2 = (path2) => {
|
|
177206
|
+
const parts = path2.split(PATH_SEPARATOR_REGEX$3);
|
|
177207
|
+
return parts[parts.length - 1];
|
|
177208
|
+
};
|
|
177209
|
+
const InvalidAttachment = ({ file }) => {
|
|
177210
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
177211
|
+
InvalidAttachmentContainer,
|
|
177212
|
+
{
|
|
177213
|
+
title: `File not viewable: ${getFileName$2(file)}`,
|
|
177214
|
+
children: [
|
|
177215
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(ErrorIcon, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(FontAwesomeIcon, { icon: faExclamationCircle, size: "sm" }) }),
|
|
177216
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(ErrorText, { variant: "body2", children: [
|
|
177217
|
+
getFileName$2(file),
|
|
177218
|
+
" is not viewable (file may be incomplete, deleted, or moved)"
|
|
177219
|
+
] })
|
|
177220
|
+
]
|
|
177221
|
+
}
|
|
177222
|
+
);
|
|
177223
|
+
};
|
|
177224
|
+
const AudioPlayerContainer = styled$1(Box)(({ theme: theme2 }) => ({
|
|
177225
|
+
display: "flex",
|
|
177226
|
+
alignItems: "center",
|
|
177227
|
+
gap: theme2.spacing(1.5),
|
|
177228
|
+
background: theme2.palette.background.paper,
|
|
177229
|
+
borderRadius: theme2.shape.borderRadius,
|
|
177230
|
+
padding: theme2.spacing(1, 2),
|
|
177231
|
+
width: "100%",
|
|
177232
|
+
maxWidth: "600px",
|
|
177233
|
+
border: `1px solid ${theme2.palette.sidebar.border}`
|
|
177234
|
+
}));
|
|
177235
|
+
const TimeDisplay = styled$1(Typography)(({ theme: theme2 }) => ({
|
|
177236
|
+
fontSize: "0.75rem",
|
|
177237
|
+
color: theme2.palette.text.secondary,
|
|
177238
|
+
minWidth: "40px",
|
|
177239
|
+
textAlign: "center"
|
|
177240
|
+
}));
|
|
177241
|
+
const CustomSlider = styled$1(Slider)(({ theme: theme2 }) => ({
|
|
177242
|
+
color: theme2.palette.primary.main,
|
|
177243
|
+
height: 4,
|
|
177244
|
+
"& .MuiSlider-thumb": {
|
|
177245
|
+
width: 12,
|
|
177246
|
+
height: 12,
|
|
177247
|
+
backgroundColor: theme2.palette.primary.main,
|
|
177248
|
+
border: `2px solid ${theme2.palette.background.paper}`,
|
|
177249
|
+
"&:hover, &.Mui-focusVisible": {
|
|
177250
|
+
boxShadow: `0 0 0 8px ${alpha$1(theme2.palette.primary.main, 0.16)}`
|
|
177251
|
+
},
|
|
177252
|
+
"&.Mui-active": {
|
|
177253
|
+
width: 16,
|
|
177254
|
+
height: 16
|
|
177255
|
+
}
|
|
177256
|
+
},
|
|
177257
|
+
"& .MuiSlider-rail": {
|
|
177258
|
+
opacity: 0.3,
|
|
177259
|
+
backgroundColor: theme2.palette.text.secondary
|
|
177260
|
+
},
|
|
177261
|
+
"& .MuiSlider-track": {
|
|
177262
|
+
border: "none"
|
|
177263
|
+
}
|
|
177264
|
+
}));
|
|
177265
|
+
const VolumeControlContainer = styled$1(Box)({
|
|
177266
|
+
display: "flex",
|
|
177267
|
+
alignItems: "center",
|
|
177268
|
+
gap: "8px"
|
|
177269
|
+
});
|
|
177270
|
+
const PlaybackRateButton = styled$1(Typography)(({ theme: theme2 }) => ({
|
|
177271
|
+
fontWeight: "bold",
|
|
177272
|
+
fontSize: "0.75rem",
|
|
177273
|
+
color: theme2.palette.text.secondary,
|
|
177274
|
+
cursor: "pointer",
|
|
177275
|
+
padding: theme2.spacing(0.5, 1),
|
|
177276
|
+
borderRadius: theme2.shape.borderRadius,
|
|
177277
|
+
"&:hover": {
|
|
177278
|
+
backgroundColor: theme2.palette.action.hover
|
|
177279
|
+
}
|
|
177280
|
+
}));
|
|
177281
|
+
const PATH_SEPARATOR_REGEX$2 = /[/\\]/;
|
|
177282
|
+
const getFileNameFromPath = (path2) => {
|
|
177283
|
+
try {
|
|
177284
|
+
const url = new URL(path2);
|
|
177285
|
+
if (url.searchParams.has("path")) {
|
|
177286
|
+
const filePath = url.searchParams.get("path") ?? "";
|
|
177287
|
+
return filePath.split(PATH_SEPARATOR_REGEX$2).pop() ?? "";
|
|
177288
|
+
}
|
|
177289
|
+
return url.pathname.split(PATH_SEPARATOR_REGEX$2).pop() ?? "";
|
|
177290
|
+
} catch {
|
|
177291
|
+
return path2.split(PATH_SEPARATOR_REGEX$2).pop() ?? "";
|
|
177292
|
+
}
|
|
177293
|
+
};
|
|
177294
|
+
const AudioAttachment = reactExports.memo(({ content: content2 }) => {
|
|
177295
|
+
const audioRef = reactExports.useRef(null);
|
|
177296
|
+
const [isPlaying, setIsPlaying] = reactExports.useState(false);
|
|
177297
|
+
const [duration2, setDuration] = reactExports.useState(0);
|
|
177298
|
+
const [currentTime, setCurrentTime] = reactExports.useState(0);
|
|
177299
|
+
const [volume, setVolume] = reactExports.useState(1);
|
|
177300
|
+
const [playbackRate, setPlaybackRate] = reactExports.useState(1);
|
|
177301
|
+
const [isLoading, setIsLoading] = reactExports.useState(true);
|
|
177302
|
+
const [hasError, setHasError] = reactExports.useState(false);
|
|
177303
|
+
const [anchorEl, setAnchorEl] = reactExports.useState(null);
|
|
177304
|
+
reactExports.useEffect(() => {
|
|
177305
|
+
const audioElement = new Audio(content2);
|
|
177306
|
+
audioRef.current = audioElement;
|
|
177307
|
+
setIsLoading(true);
|
|
177308
|
+
const handleLoadedMetadata = () => {
|
|
177309
|
+
if (audioRef.current) {
|
|
177310
|
+
setDuration(audioRef.current.duration);
|
|
177311
|
+
setIsLoading(false);
|
|
177312
|
+
}
|
|
177313
|
+
};
|
|
177314
|
+
const handleTimeUpdate = () => {
|
|
177315
|
+
if (audioRef.current) {
|
|
177316
|
+
setCurrentTime(audioRef.current.currentTime);
|
|
177317
|
+
}
|
|
177318
|
+
};
|
|
177319
|
+
const handleEnded = () => {
|
|
177320
|
+
setIsPlaying(false);
|
|
177321
|
+
setCurrentTime(0);
|
|
177322
|
+
};
|
|
177323
|
+
const handleError2 = () => {
|
|
177324
|
+
setHasError(true);
|
|
177325
|
+
setIsLoading(false);
|
|
177326
|
+
};
|
|
177327
|
+
audioElement.addEventListener("loadedmetadata", handleLoadedMetadata);
|
|
177328
|
+
audioElement.addEventListener("timeupdate", handleTimeUpdate);
|
|
177329
|
+
audioElement.addEventListener("ended", handleEnded);
|
|
177330
|
+
audioElement.addEventListener("error", handleError2);
|
|
177331
|
+
return () => {
|
|
177332
|
+
audioElement.removeEventListener("loadedmetadata", handleLoadedMetadata);
|
|
177333
|
+
audioElement.removeEventListener("timeupdate", handleTimeUpdate);
|
|
177334
|
+
audioElement.removeEventListener("ended", handleEnded);
|
|
177335
|
+
audioElement.removeEventListener("error", handleError2);
|
|
177336
|
+
};
|
|
177337
|
+
}, [content2]);
|
|
177338
|
+
const handlePlayPause = reactExports.useCallback(() => {
|
|
177339
|
+
if (audioRef.current) {
|
|
177340
|
+
if (isPlaying) {
|
|
177341
|
+
audioRef.current.pause();
|
|
177342
|
+
} else {
|
|
177343
|
+
audioRef.current.play().catch(console.error);
|
|
177344
|
+
}
|
|
177345
|
+
setIsPlaying(!isPlaying);
|
|
177346
|
+
}
|
|
177347
|
+
}, [isPlaying]);
|
|
177348
|
+
const handleSeek = reactExports.useCallback((_2, newValue) => {
|
|
177349
|
+
if (audioRef.current) {
|
|
177350
|
+
audioRef.current.currentTime = newValue;
|
|
177351
|
+
setCurrentTime(newValue);
|
|
177352
|
+
}
|
|
177353
|
+
}, []);
|
|
177354
|
+
const handleVolumeChange = reactExports.useCallback(
|
|
177355
|
+
(_2, newValue) => {
|
|
177356
|
+
if (audioRef.current) {
|
|
177357
|
+
const newVolume = newValue;
|
|
177358
|
+
audioRef.current.volume = newVolume;
|
|
177359
|
+
setVolume(newVolume);
|
|
177360
|
+
}
|
|
177361
|
+
},
|
|
177362
|
+
[]
|
|
177363
|
+
);
|
|
177364
|
+
const toggleMute = reactExports.useCallback(() => {
|
|
177365
|
+
if (audioRef.current) {
|
|
177366
|
+
const newVolume = volume > 0 ? 0 : 1;
|
|
177367
|
+
audioRef.current.volume = newVolume;
|
|
177368
|
+
setVolume(newVolume);
|
|
177369
|
+
}
|
|
177370
|
+
}, [volume]);
|
|
177371
|
+
const handlePlaybackRateChange = reactExports.useCallback((rate) => {
|
|
177372
|
+
if (audioRef.current) {
|
|
177373
|
+
audioRef.current.playbackRate = rate;
|
|
177374
|
+
setPlaybackRate(rate);
|
|
177375
|
+
}
|
|
177376
|
+
setAnchorEl(null);
|
|
177377
|
+
}, []);
|
|
177378
|
+
const formatTime2 = (time2) => {
|
|
177379
|
+
if (Number.isNaN(time2) || time2 === 0) return "0:00";
|
|
177380
|
+
const minutes = Math.floor(time2 / 60);
|
|
177381
|
+
const seconds = Math.floor(time2 % 60);
|
|
177382
|
+
return `${minutes}:${seconds.toString().padStart(2, "0")}`;
|
|
177383
|
+
};
|
|
177384
|
+
const VolumeIcon = volume === 0 ? VolumeX : volume < 0.5 ? Volume1 : Volume2;
|
|
177385
|
+
if (hasError) {
|
|
177386
|
+
const fileName = getFileNameFromPath(content2);
|
|
177387
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(InvalidAttachment, { file: fileName });
|
|
177388
|
+
}
|
|
177389
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(AudioPlayerContainer, { children: [
|
|
177390
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
177391
|
+
IconButton,
|
|
177392
|
+
{
|
|
177393
|
+
onClick: handlePlayPause,
|
|
177394
|
+
disabled: isLoading || hasError,
|
|
177395
|
+
size: "small",
|
|
177396
|
+
children: isLoading ? /* @__PURE__ */ jsxRuntimeExports.jsx(CircularProgress, { size: 20 }) : isPlaying ? /* @__PURE__ */ jsxRuntimeExports.jsx(CirclePause, { size: 20 }) : /* @__PURE__ */ jsxRuntimeExports.jsx(CirclePlay, { size: 20 })
|
|
177397
|
+
}
|
|
177398
|
+
),
|
|
177399
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(TimeDisplay, { children: formatTime2(currentTime) }),
|
|
177400
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
177401
|
+
CustomSlider,
|
|
177402
|
+
{
|
|
177403
|
+
"aria-label": "time-indicator",
|
|
177404
|
+
size: "small",
|
|
177405
|
+
value: currentTime,
|
|
177406
|
+
min: 0,
|
|
177407
|
+
step: 1,
|
|
177408
|
+
max: duration2,
|
|
177409
|
+
onChange: handleSeek,
|
|
177410
|
+
disabled: isLoading || hasError
|
|
177411
|
+
}
|
|
177412
|
+
),
|
|
177413
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(TimeDisplay, { children: formatTime2(duration2) }),
|
|
177414
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(VolumeControlContainer, { children: [
|
|
177415
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(IconButton, { onClick: toggleMute, size: "small", disabled: hasError, children: /* @__PURE__ */ jsxRuntimeExports.jsx(VolumeIcon, { size: 16 }) }),
|
|
177416
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
177417
|
+
CustomSlider,
|
|
177418
|
+
{
|
|
177419
|
+
"aria-label": "volume-control",
|
|
177420
|
+
size: "small",
|
|
177421
|
+
value: volume,
|
|
177422
|
+
min: 0,
|
|
177423
|
+
step: 0.1,
|
|
177424
|
+
max: 1,
|
|
177425
|
+
onChange: handleVolumeChange,
|
|
177426
|
+
sx: { width: 70 },
|
|
177427
|
+
disabled: hasError
|
|
177428
|
+
}
|
|
177429
|
+
)
|
|
177430
|
+
] }),
|
|
177431
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
177432
|
+
IconButton,
|
|
177433
|
+
{
|
|
177434
|
+
onClick: (event) => setAnchorEl(event.currentTarget),
|
|
177435
|
+
size: "small",
|
|
177436
|
+
disabled: hasError,
|
|
177437
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsxs(PlaybackRateButton, { children: [
|
|
177438
|
+
playbackRate,
|
|
177439
|
+
"x"
|
|
177440
|
+
] })
|
|
177441
|
+
}
|
|
177442
|
+
),
|
|
177443
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
177444
|
+
Menu,
|
|
177445
|
+
{
|
|
177446
|
+
anchorEl,
|
|
177447
|
+
open: Boolean(anchorEl),
|
|
177448
|
+
onClose: () => setAnchorEl(null),
|
|
177449
|
+
MenuListProps: {
|
|
177450
|
+
sx: {
|
|
177451
|
+
// @ts-ignore
|
|
177452
|
+
backgroundColor: (theme2) => theme2.palette.background.paper
|
|
177453
|
+
}
|
|
177454
|
+
},
|
|
177455
|
+
children: [0.5, 1, 1.5, 2].map((rate) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
177456
|
+
MenuItem,
|
|
177457
|
+
{
|
|
177458
|
+
onClick: () => handlePlaybackRateChange(rate),
|
|
177459
|
+
selected: playbackRate === rate,
|
|
177460
|
+
children: [
|
|
177461
|
+
rate,
|
|
177462
|
+
"x"
|
|
177463
|
+
]
|
|
177464
|
+
},
|
|
177465
|
+
rate
|
|
177466
|
+
))
|
|
177467
|
+
}
|
|
177468
|
+
)
|
|
177469
|
+
] });
|
|
177470
|
+
});
|
|
177471
|
+
AudioAttachment.displayName = "AudioAttachment";
|
|
176955
177472
|
function _objectWithoutProperties$i(e3, t2) {
|
|
176956
177473
|
if (null == e3) return {};
|
|
176957
177474
|
var o2, r2, i2 = _objectWithoutPropertiesLoose$k(e3, t2);
|
|
@@ -214544,8 +215061,8 @@ const FileActionsContainer$2 = styled$1(Box)({
|
|
|
214544
215061
|
visibility: "hidden",
|
|
214545
215062
|
transition: "opacity 0.2s ease, visibility 0.2s ease"
|
|
214546
215063
|
});
|
|
214547
|
-
const PATH_SEPARATOR_REGEX$
|
|
214548
|
-
const getFileName$
|
|
215064
|
+
const PATH_SEPARATOR_REGEX$1 = /[/\\]/;
|
|
215065
|
+
const getFileName$1 = (path2) => {
|
|
214549
215066
|
if (path2.startsWith("data:image/")) {
|
|
214550
215067
|
const nameMatch = path2.match(RESOURCE_NAME_REGEX);
|
|
214551
215068
|
if (nameMatch?.[1]) {
|
|
@@ -214568,7 +215085,7 @@ const getFileName$2 = (path2) => {
|
|
|
214568
215085
|
}
|
|
214569
215086
|
return "Pasted File";
|
|
214570
215087
|
}
|
|
214571
|
-
const parts = path2.split(PATH_SEPARATOR_REGEX$
|
|
215088
|
+
const parts = path2.split(PATH_SEPARATOR_REGEX$1);
|
|
214572
215089
|
return parts[parts.length - 1];
|
|
214573
215090
|
};
|
|
214574
215091
|
const FileAttachment = reactExports.memo(
|
|
@@ -214582,7 +215099,7 @@ const FileAttachment = reactExports.memo(
|
|
|
214582
215099
|
if (!conversationCanvasState) return;
|
|
214583
215100
|
const openTabs = conversationCanvasState.openTabs ?? [];
|
|
214584
215101
|
const filesInState = conversationCanvasState.files ?? [];
|
|
214585
|
-
const title = getFileName$
|
|
215102
|
+
const title = getFileName$1(file);
|
|
214586
215103
|
const normalizedPath2 = file.startsWith("file://") ? file.substring(7) : file;
|
|
214587
215104
|
const docId = file.startsWith("data:") ? file : normalizedPath2;
|
|
214588
215105
|
const isFileOpen = openTabs.some((tab2) => tab2.id === docId);
|
|
@@ -214630,7 +215147,7 @@ const FileAttachment = reactExports.memo(
|
|
|
214630
215147
|
autoUpdateOpenFile();
|
|
214631
215148
|
}, [file, conversationId]);
|
|
214632
215149
|
const handleClick = reactExports.useCallback(async () => {
|
|
214633
|
-
const title = getFileName$
|
|
215150
|
+
const title = getFileName$1(file);
|
|
214634
215151
|
const fallbackAction = (err) => {
|
|
214635
215152
|
if (err) console.error("Error processing file:", err);
|
|
214636
215153
|
onClick(file);
|
|
@@ -214727,7 +215244,7 @@ const FileAttachment = reactExports.memo(
|
|
|
214727
215244
|
FileAttachmentContainer,
|
|
214728
215245
|
{
|
|
214729
215246
|
onClick: handleClick,
|
|
214730
|
-
title: `Click to open ${getFileName$
|
|
215247
|
+
title: `Click to open ${getFileName$1(file)}`,
|
|
214731
215248
|
sx: {
|
|
214732
215249
|
padding: isPastedImage ? 0 : "8px 12px",
|
|
214733
215250
|
height: isPastedImage ? "auto" : "auto",
|
|
@@ -214748,7 +215265,7 @@ const FileAttachment = reactExports.memo(
|
|
|
214748
215265
|
}
|
|
214749
215266
|
) : /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
214750
215267
|
/* @__PURE__ */ jsxRuntimeExports.jsx(FileIcon, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(FontAwesomeIcon, { icon: faFile, size: "sm" }) }),
|
|
214751
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(FileName, { variant: "body2", children: getFileName$
|
|
215268
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(FileName, { variant: "body2", children: getFileName$1(file) }),
|
|
214752
215269
|
isLocalFile && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
214753
215270
|
FileActionsContainer$2,
|
|
214754
215271
|
{
|
|
@@ -214773,53 +215290,6 @@ const FileAttachment = reactExports.memo(
|
|
|
214773
215290
|
}
|
|
214774
215291
|
);
|
|
214775
215292
|
FileAttachment.displayName = "FileAttachment";
|
|
214776
|
-
const InvalidAttachmentContainer = styled$1(Box)(({ theme: theme2 }) => ({
|
|
214777
|
-
display: "flex",
|
|
214778
|
-
alignItems: "center",
|
|
214779
|
-
padding: "8px 12px",
|
|
214780
|
-
marginTop: 8,
|
|
214781
|
-
backgroundColor: alpha$1(
|
|
214782
|
-
theme2.palette.mode === "dark" ? theme2.palette.warning.dark : theme2.palette.warning.light,
|
|
214783
|
-
theme2.palette.mode === "dark" ? 0.05 : 0.05
|
|
214784
|
-
),
|
|
214785
|
-
borderRadius: 8,
|
|
214786
|
-
boxShadow: `0 1px 4px ${alpha$1(theme2.palette.common.black, theme2.palette.mode === "dark" ? 0.1 : 0.05)}`,
|
|
214787
|
-
width: "fit-content",
|
|
214788
|
-
maxWidth: "100%"
|
|
214789
|
-
}));
|
|
214790
|
-
const ErrorIcon = styled$1(Box)(({ theme: theme2 }) => ({
|
|
214791
|
-
marginRight: 8,
|
|
214792
|
-
color: theme2.palette.warning.main,
|
|
214793
|
-
display: "flex",
|
|
214794
|
-
alignItems: "center"
|
|
214795
|
-
}));
|
|
214796
|
-
const ErrorText = styled$1(Typography)({
|
|
214797
|
-
fontSize: "0.85rem",
|
|
214798
|
-
overflow: "hidden",
|
|
214799
|
-
textOverflow: "ellipsis",
|
|
214800
|
-
whiteSpace: "nowrap",
|
|
214801
|
-
maxWidth: "100%"
|
|
214802
|
-
});
|
|
214803
|
-
const PATH_SEPARATOR_REGEX$1 = /[/\\]/;
|
|
214804
|
-
const getFileName$1 = (path2) => {
|
|
214805
|
-
const parts = path2.split(PATH_SEPARATOR_REGEX$1);
|
|
214806
|
-
return parts[parts.length - 1];
|
|
214807
|
-
};
|
|
214808
|
-
const InvalidAttachment = ({ file }) => {
|
|
214809
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
214810
|
-
InvalidAttachmentContainer,
|
|
214811
|
-
{
|
|
214812
|
-
title: `File not viewable: ${getFileName$1(file)}`,
|
|
214813
|
-
children: [
|
|
214814
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(ErrorIcon, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(FontAwesomeIcon, { icon: faExclamationCircle, size: "sm" }) }),
|
|
214815
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs(ErrorText, { variant: "body2", children: [
|
|
214816
|
-
getFileName$1(file),
|
|
214817
|
-
" is not viewable (file may be incomplete, deleted, or moved)"
|
|
214818
|
-
] })
|
|
214819
|
-
]
|
|
214820
|
-
}
|
|
214821
|
-
);
|
|
214822
|
-
};
|
|
214823
215293
|
const AttachmentImage = styled$1("img")(({ theme: theme2 }) => ({
|
|
214824
215294
|
maxWidth: "100%",
|
|
214825
215295
|
maxHeight: 200,
|
|
@@ -215302,16 +215772,32 @@ const isVideo$1 = (path2) => {
|
|
|
215302
215772
|
const lowerPath = path2.toLowerCase();
|
|
215303
215773
|
return videoExtensions.some((ext) => lowerPath.endsWith(ext));
|
|
215304
215774
|
};
|
|
215305
|
-
const
|
|
215775
|
+
const isAudio$1 = (path2) => {
|
|
215776
|
+
const audioExtensions = [
|
|
215777
|
+
".mp3",
|
|
215778
|
+
".wav",
|
|
215779
|
+
".ogg",
|
|
215780
|
+
".aac",
|
|
215781
|
+
".flac",
|
|
215782
|
+
".m4a",
|
|
215783
|
+
".aiff"
|
|
215784
|
+
];
|
|
215785
|
+
const lowerPath = path2.toLowerCase();
|
|
215786
|
+
return audioExtensions.some((ext) => lowerPath.endsWith(ext));
|
|
215787
|
+
};
|
|
215788
|
+
const getAttachmentUrl$1 = (client2, path2) => {
|
|
215306
215789
|
if (path2.startsWith("http")) {
|
|
215307
215790
|
return path2;
|
|
215308
215791
|
}
|
|
215309
215792
|
const normalizedPath = path2.startsWith("file://") ? path2 : `file://${path2}`;
|
|
215310
215793
|
if (isImage$1(path2)) {
|
|
215311
|
-
return
|
|
215794
|
+
return client2.static.getImageUrl(normalizedPath);
|
|
215312
215795
|
}
|
|
215313
215796
|
if (isVideo$1(path2)) {
|
|
215314
|
-
return
|
|
215797
|
+
return client2.static.getVideoUrl(normalizedPath);
|
|
215798
|
+
}
|
|
215799
|
+
if (isAudio$1(path2)) {
|
|
215800
|
+
return client2.static.getAudioUrl(normalizedPath);
|
|
215315
215801
|
}
|
|
215316
215802
|
return path2;
|
|
215317
215803
|
};
|
|
@@ -215339,12 +215825,12 @@ const ActionBlock = ({
|
|
|
215339
215825
|
e3.stopPropagation();
|
|
215340
215826
|
setIsExpanded(false);
|
|
215341
215827
|
};
|
|
215342
|
-
const
|
|
215828
|
+
const client2 = reactExports.useMemo(() => {
|
|
215343
215829
|
return createLocalOperatorClient(apiConfig.baseUrl);
|
|
215344
215830
|
}, []);
|
|
215345
215831
|
const getUrl2 = reactExports.useCallback(
|
|
215346
|
-
(path2) => getAttachmentUrl$1(
|
|
215347
|
-
[
|
|
215832
|
+
(path2) => getAttachmentUrl$1(client2, path2),
|
|
215833
|
+
[client2]
|
|
215348
215834
|
);
|
|
215349
215835
|
const handleFileClick = reactExports.useCallback((filePath2) => {
|
|
215350
215836
|
try {
|
|
@@ -215434,7 +215920,17 @@ const ActionBlock = ({
|
|
|
215434
215920
|
},
|
|
215435
215921
|
`${file}`
|
|
215436
215922
|
)) }),
|
|
215437
|
-
files && files.length > 0 && !isLoading && /* @__PURE__ */ jsxRuntimeExports.jsx(Box, { sx: {
|
|
215923
|
+
files && files.length > 0 && !isLoading && files.some((file) => isAudio$1(file)) && /* @__PURE__ */ jsxRuntimeExports.jsx(Box, { sx: { mb: 2 }, children: files.filter((file) => isAudio$1(file)).map((file) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
215924
|
+
AudioAttachment,
|
|
215925
|
+
{
|
|
215926
|
+
content: getUrl2(file),
|
|
215927
|
+
isUser
|
|
215928
|
+
},
|
|
215929
|
+
`${file}`
|
|
215930
|
+
)) }),
|
|
215931
|
+
files && files.length > 0 && !isLoading && /* @__PURE__ */ jsxRuntimeExports.jsx(Box, { sx: { mt: 2 }, children: files.filter(
|
|
215932
|
+
(file) => !isImage$1(file) && !isVideo$1(file) && !isAudio$1(file)
|
|
215933
|
+
).map((file) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
215438
215934
|
FileAttachment,
|
|
215439
215935
|
{
|
|
215440
215936
|
file,
|
|
@@ -215571,6 +216067,109 @@ const ExpandableThinkingContent = ({
|
|
|
215571
216067
|
] });
|
|
215572
216068
|
};
|
|
215573
216069
|
ExpandableThinkingContent.displayName = "ExpandableThinkingContent";
|
|
216070
|
+
const client = createLocalOperatorClient(apiConfig.baseUrl);
|
|
216071
|
+
const useSpeechStore = create$3(
|
|
216072
|
+
(set2, get2) => ({
|
|
216073
|
+
audioCache: /* @__PURE__ */ new Map(),
|
|
216074
|
+
loadingMessageId: null,
|
|
216075
|
+
playingMessageId: null,
|
|
216076
|
+
error: null,
|
|
216077
|
+
audioElement: null,
|
|
216078
|
+
playSpeech: async (messageId, agentId, inputText) => {
|
|
216079
|
+
const { audioCache, stopSpeech } = get2();
|
|
216080
|
+
stopSpeech();
|
|
216081
|
+
set2({ loadingMessageId: messageId, error: null });
|
|
216082
|
+
try {
|
|
216083
|
+
let audioBlob = audioCache.get(messageId);
|
|
216084
|
+
if (!audioBlob) {
|
|
216085
|
+
audioBlob = await client.speech.createForAgent(agentId, {
|
|
216086
|
+
input_text: inputText
|
|
216087
|
+
});
|
|
216088
|
+
if (audioBlob) {
|
|
216089
|
+
set2((state2) => ({
|
|
216090
|
+
audioCache: new Map(state2.audioCache).set(
|
|
216091
|
+
messageId,
|
|
216092
|
+
audioBlob
|
|
216093
|
+
)
|
|
216094
|
+
}));
|
|
216095
|
+
}
|
|
216096
|
+
}
|
|
216097
|
+
if (!audioBlob) {
|
|
216098
|
+
throw new Error("Speech generation failed, no audio data received.");
|
|
216099
|
+
}
|
|
216100
|
+
const audioUrl = URL.createObjectURL(audioBlob);
|
|
216101
|
+
const audioElement = new Audio(audioUrl);
|
|
216102
|
+
audioElement.onended = () => {
|
|
216103
|
+
set2({ playingMessageId: null, audioElement: null });
|
|
216104
|
+
URL.revokeObjectURL(audioUrl);
|
|
216105
|
+
};
|
|
216106
|
+
audioElement.onerror = () => {
|
|
216107
|
+
set2({
|
|
216108
|
+
error: "Error playing audio.",
|
|
216109
|
+
playingMessageId: null,
|
|
216110
|
+
audioElement: null
|
|
216111
|
+
});
|
|
216112
|
+
URL.revokeObjectURL(audioUrl);
|
|
216113
|
+
};
|
|
216114
|
+
await audioElement.play();
|
|
216115
|
+
set2({
|
|
216116
|
+
playingMessageId: messageId,
|
|
216117
|
+
loadingMessageId: null,
|
|
216118
|
+
audioElement
|
|
216119
|
+
});
|
|
216120
|
+
} catch (err) {
|
|
216121
|
+
const errorMessage = err instanceof Error ? err.message : "Failed to generate speech";
|
|
216122
|
+
set2({ error: errorMessage, loadingMessageId: null });
|
|
216123
|
+
}
|
|
216124
|
+
},
|
|
216125
|
+
stopSpeech: () => {
|
|
216126
|
+
const { audioElement, playingMessageId } = get2();
|
|
216127
|
+
if (audioElement) {
|
|
216128
|
+
audioElement.pause();
|
|
216129
|
+
audioElement.onended = null;
|
|
216130
|
+
audioElement.onerror = null;
|
|
216131
|
+
if (playingMessageId) {
|
|
216132
|
+
const audioBlob = get2().audioCache.get(playingMessageId);
|
|
216133
|
+
if (audioBlob) {
|
|
216134
|
+
const audioUrl = URL.createObjectURL(audioBlob);
|
|
216135
|
+
URL.revokeObjectURL(audioUrl);
|
|
216136
|
+
}
|
|
216137
|
+
}
|
|
216138
|
+
set2({ playingMessageId: null, audioElement: null });
|
|
216139
|
+
}
|
|
216140
|
+
},
|
|
216141
|
+
replaySpeech: async (messageId) => {
|
|
216142
|
+
const { audioCache, stopSpeech } = get2();
|
|
216143
|
+
const audioBlob = audioCache.get(messageId);
|
|
216144
|
+
stopSpeech();
|
|
216145
|
+
if (audioBlob) {
|
|
216146
|
+
try {
|
|
216147
|
+
const audioUrl = URL.createObjectURL(audioBlob);
|
|
216148
|
+
const audioElement = new Audio(audioUrl);
|
|
216149
|
+
audioElement.onended = () => {
|
|
216150
|
+
set2({ playingMessageId: null, audioElement: null });
|
|
216151
|
+
URL.revokeObjectURL(audioUrl);
|
|
216152
|
+
};
|
|
216153
|
+
audioElement.onerror = () => {
|
|
216154
|
+
set2({
|
|
216155
|
+
error: "Error playing audio.",
|
|
216156
|
+
playingMessageId: null,
|
|
216157
|
+
audioElement: null
|
|
216158
|
+
});
|
|
216159
|
+
URL.revokeObjectURL(audioUrl);
|
|
216160
|
+
};
|
|
216161
|
+
await audioElement.play();
|
|
216162
|
+
set2({ playingMessageId: messageId, audioElement });
|
|
216163
|
+
} catch (err) {
|
|
216164
|
+
const errorMessage = err instanceof Error ? err.message : "Failed to replay speech";
|
|
216165
|
+
set2({ error: errorMessage, playingMessageId: null });
|
|
216166
|
+
}
|
|
216167
|
+
} else {
|
|
216168
|
+
set2({ error: "No audio to replay for this message." });
|
|
216169
|
+
}
|
|
216170
|
+
}
|
|
216171
|
+
})
|
|
216172
|
+
);
|
|
215574
216173
|
const ControlsContainer = styled$1(Box, {
|
|
215575
216174
|
shouldForwardProp: (prop) => prop !== "isUser"
|
|
215576
216175
|
})(({ isUser }) => ({
|
|
@@ -215585,11 +216184,11 @@ const ControlsContainer = styled$1(Box, {
|
|
|
215585
216184
|
transition: "opacity 0.2s ease-in-out",
|
|
215586
216185
|
zIndex: 1
|
|
215587
216186
|
}));
|
|
215588
|
-
const ControlsWrapper = styled$1(Box)(() => ({
|
|
216187
|
+
const ControlsWrapper$1 = styled$1(Box)(() => ({
|
|
215589
216188
|
display: "flex",
|
|
215590
216189
|
alignItems: "flex-start"
|
|
215591
216190
|
}));
|
|
215592
|
-
const StyledIconButton = styled$1(IconButton)(({ theme: theme2 }) => ({
|
|
216191
|
+
const StyledIconButton$1 = styled$1(IconButton)(({ theme: theme2 }) => ({
|
|
215593
216192
|
color: theme2.palette.text.secondary,
|
|
215594
216193
|
width: "34px",
|
|
215595
216194
|
height: "34px",
|
|
@@ -215601,9 +216200,31 @@ const StyledIconButton = styled$1(IconButton)(({ theme: theme2 }) => ({
|
|
|
215601
216200
|
const MessageControls = ({
|
|
215602
216201
|
isUser,
|
|
215603
216202
|
content: content2,
|
|
215604
|
-
sx
|
|
216203
|
+
sx,
|
|
216204
|
+
messageId,
|
|
216205
|
+
agentId
|
|
215605
216206
|
}) => {
|
|
215606
216207
|
const [copied, setCopied] = reactExports.useState(false);
|
|
216208
|
+
const { data: credentialsData, isLoading: isLoadingCredentials } = useCredentials();
|
|
216209
|
+
const {
|
|
216210
|
+
playSpeech,
|
|
216211
|
+
stopSpeech,
|
|
216212
|
+
replaySpeech,
|
|
216213
|
+
loadingMessageId,
|
|
216214
|
+
playingMessageId,
|
|
216215
|
+
audioCache
|
|
216216
|
+
} = useSpeechStore();
|
|
216217
|
+
const isPlaying = playingMessageId === messageId;
|
|
216218
|
+
const isLoading = loadingMessageId === messageId;
|
|
216219
|
+
const hasAudio = audioCache.has(messageId);
|
|
216220
|
+
const isRadientApiKeyConfigured = reactExports.useMemo(
|
|
216221
|
+
() => credentialsData?.keys?.includes("RADIENT_API_KEY"),
|
|
216222
|
+
[credentialsData?.keys]
|
|
216223
|
+
);
|
|
216224
|
+
const canEnableSpeechFeature = reactExports.useMemo(
|
|
216225
|
+
() => isRadientApiKeyConfigured && !isLoadingCredentials,
|
|
216226
|
+
[isRadientApiKeyConfigured, isLoadingCredentials]
|
|
216227
|
+
);
|
|
215607
216228
|
const showCopyButton = content2;
|
|
215608
216229
|
const handleCopy = async () => {
|
|
215609
216230
|
try {
|
|
@@ -215616,7 +216237,36 @@ const MessageControls = ({
|
|
|
215616
216237
|
console.error("Failed to copy text:", error);
|
|
215617
216238
|
}
|
|
215618
216239
|
};
|
|
215619
|
-
|
|
216240
|
+
const handlePlay = () => {
|
|
216241
|
+
if (agentId && content2) {
|
|
216242
|
+
playSpeech(messageId, agentId, content2);
|
|
216243
|
+
}
|
|
216244
|
+
};
|
|
216245
|
+
const handleReplay = () => {
|
|
216246
|
+
replaySpeech(messageId);
|
|
216247
|
+
};
|
|
216248
|
+
const handleStop = () => {
|
|
216249
|
+
stopSpeech();
|
|
216250
|
+
};
|
|
216251
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(ControlsContainer, { isUser, className: "message-controls", sx, children: showCopyButton && /* @__PURE__ */ jsxRuntimeExports.jsxs(ControlsWrapper$1, { children: [
|
|
216252
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip$1, { title: copied ? "Copied!" : "Copy message", placement: "top", children: /* @__PURE__ */ jsxRuntimeExports.jsx(StyledIconButton$1, { size: "small", onClick: handleCopy, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Copy, { size: 16 }) }) }),
|
|
216253
|
+
!isUser && (isPlaying ? /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip$1, { title: "Stop", placement: "top", children: /* @__PURE__ */ jsxRuntimeExports.jsx(StyledIconButton$1, { size: "small", onClick: handleStop, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Square, { size: 16 }) }) }) : /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
216254
|
+
Tooltip$1,
|
|
216255
|
+
{
|
|
216256
|
+
title: !canEnableSpeechFeature ? "Sign in to Radient in the settings page to enable text to speech" : isLoading ? "Loading" : hasAudio ? "Replay Speech" : "Speak Aloud",
|
|
216257
|
+
placement: "top",
|
|
216258
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
216259
|
+
StyledIconButton$1,
|
|
216260
|
+
{
|
|
216261
|
+
size: "small",
|
|
216262
|
+
onClick: hasAudio ? handleReplay : handlePlay,
|
|
216263
|
+
disabled: isLoading || !canEnableSpeechFeature,
|
|
216264
|
+
children: isLoading ? /* @__PURE__ */ jsxRuntimeExports.jsx(CircularProgress, { size: 16 }) : /* @__PURE__ */ jsxRuntimeExports.jsx(Volume2, { size: 16 })
|
|
216265
|
+
}
|
|
216266
|
+
) })
|
|
216267
|
+
}
|
|
216268
|
+
))
|
|
216269
|
+
] }) });
|
|
215620
216270
|
};
|
|
215621
216271
|
const formatMessageDateTime = (dateTimeString) => {
|
|
215622
216272
|
if (!dateTimeString) return "";
|
|
@@ -216029,6 +216679,142 @@ const StreamingMessage = ({
|
|
|
216029
216679
|
);
|
|
216030
216680
|
};
|
|
216031
216681
|
StreamingMessage.displayName = "StreamingMessage";
|
|
216682
|
+
const ControlsWrapper = styled$1(Box)(({ theme: theme2 }) => ({
|
|
216683
|
+
position: "absolute",
|
|
216684
|
+
backgroundColor: theme2.palette.background.paper,
|
|
216685
|
+
borderRadius: "4px",
|
|
216686
|
+
boxShadow: theme2.shadows[3],
|
|
216687
|
+
zIndex: 10,
|
|
216688
|
+
padding: 4,
|
|
216689
|
+
border: `1px solid ${theme2.palette.divider}`
|
|
216690
|
+
}));
|
|
216691
|
+
const StyledIconButton = styled$1(IconButton)(({ theme: theme2 }) => ({
|
|
216692
|
+
color: theme2.palette.text.secondary,
|
|
216693
|
+
width: "34px",
|
|
216694
|
+
height: "34px",
|
|
216695
|
+
padding: 0,
|
|
216696
|
+
margin: 0,
|
|
216697
|
+
"&:hover": {
|
|
216698
|
+
color: theme2.palette.primary.main,
|
|
216699
|
+
backgroundColor: alpha$1(theme2.palette.primary.main, 0.1)
|
|
216700
|
+
}
|
|
216701
|
+
}));
|
|
216702
|
+
const TextSelectionControls = ({
|
|
216703
|
+
agentId,
|
|
216704
|
+
targetRef,
|
|
216705
|
+
isUser
|
|
216706
|
+
}) => {
|
|
216707
|
+
const [selection2, setSelection] = reactExports.useState({ text: "", html: "", rect: null });
|
|
216708
|
+
const { playSpeech, stopSpeech, loadingMessageId, playingMessageId } = useSpeechStore();
|
|
216709
|
+
const { data: credentialsData, isLoading: isLoadingCredentials } = useCredentials();
|
|
216710
|
+
const isRadientApiKeyConfigured = reactExports.useMemo(
|
|
216711
|
+
() => credentialsData?.keys?.includes("RADIENT_API_KEY"),
|
|
216712
|
+
[credentialsData?.keys]
|
|
216713
|
+
);
|
|
216714
|
+
const canEnableSpeechFeature = reactExports.useMemo(
|
|
216715
|
+
() => isRadientApiKeyConfigured && !isLoadingCredentials,
|
|
216716
|
+
[isRadientApiKeyConfigured, isLoadingCredentials]
|
|
216717
|
+
);
|
|
216718
|
+
const [currentSelectionId, setCurrentSelectionId] = reactExports.useState(
|
|
216719
|
+
null
|
|
216720
|
+
);
|
|
216721
|
+
const isPlaying = playingMessageId && playingMessageId === currentSelectionId;
|
|
216722
|
+
const isLoading = loadingMessageId && loadingMessageId === currentSelectionId;
|
|
216723
|
+
const handleMouseUp = reactExports.useCallback(() => {
|
|
216724
|
+
if (!targetRef.current) {
|
|
216725
|
+
setSelection({ text: "", html: "", rect: null });
|
|
216726
|
+
return;
|
|
216727
|
+
}
|
|
216728
|
+
const sel = window.getSelection();
|
|
216729
|
+
if (sel && sel.rangeCount > 0 && !sel.isCollapsed && targetRef.current.contains(sel.anchorNode)) {
|
|
216730
|
+
const range3 = sel.getRangeAt(0);
|
|
216731
|
+
const rect2 = range3.getBoundingClientRect();
|
|
216732
|
+
const text4 = sel.toString().trim();
|
|
216733
|
+
const container = document.createElement("div");
|
|
216734
|
+
container.appendChild(range3.cloneContents());
|
|
216735
|
+
const html2 = container.innerHTML;
|
|
216736
|
+
if (text4) {
|
|
216737
|
+
setSelection({ text: text4, html: html2, rect: rect2 });
|
|
216738
|
+
} else {
|
|
216739
|
+
setSelection({ text: "", html: "", rect: null });
|
|
216740
|
+
}
|
|
216741
|
+
} else {
|
|
216742
|
+
setSelection({ text: "", html: "", rect: null });
|
|
216743
|
+
}
|
|
216744
|
+
}, [targetRef]);
|
|
216745
|
+
reactExports.useEffect(() => {
|
|
216746
|
+
const handleMouseUpEvent = () => {
|
|
216747
|
+
setTimeout(handleMouseUp, 0);
|
|
216748
|
+
};
|
|
216749
|
+
document.addEventListener("mouseup", handleMouseUpEvent);
|
|
216750
|
+
return () => {
|
|
216751
|
+
document.removeEventListener("mouseup", handleMouseUpEvent);
|
|
216752
|
+
};
|
|
216753
|
+
}, [handleMouseUp]);
|
|
216754
|
+
const handlePlay = () => {
|
|
216755
|
+
if (agentId && selection2.text) {
|
|
216756
|
+
const newSelectionId = v4();
|
|
216757
|
+
setCurrentSelectionId(newSelectionId);
|
|
216758
|
+
playSpeech(newSelectionId, agentId, selection2.text);
|
|
216759
|
+
}
|
|
216760
|
+
};
|
|
216761
|
+
const handleStop = () => {
|
|
216762
|
+
stopSpeech();
|
|
216763
|
+
};
|
|
216764
|
+
const handleCopy = () => {
|
|
216765
|
+
if (selection2.html) {
|
|
216766
|
+
const htmlBlob = new Blob([selection2.html], { type: "text/html" });
|
|
216767
|
+
const textBlob = new Blob([selection2.text], { type: "text/plain" });
|
|
216768
|
+
const item = new ClipboardItem({
|
|
216769
|
+
"text/html": htmlBlob,
|
|
216770
|
+
"text/plain": textBlob
|
|
216771
|
+
});
|
|
216772
|
+
navigator.clipboard.write([item]).finally(() => {
|
|
216773
|
+
setSelection({ text: "", html: "", rect: null });
|
|
216774
|
+
});
|
|
216775
|
+
} else {
|
|
216776
|
+
handleCopyWithoutFormatting();
|
|
216777
|
+
}
|
|
216778
|
+
};
|
|
216779
|
+
const handleCopyWithoutFormatting = () => {
|
|
216780
|
+
if (selection2.text) {
|
|
216781
|
+
navigator.clipboard.writeText(selection2.text).finally(() => {
|
|
216782
|
+
setSelection({ text: "", html: "", rect: null });
|
|
216783
|
+
});
|
|
216784
|
+
}
|
|
216785
|
+
};
|
|
216786
|
+
if (!selection2.rect || !selection2.text || isUser) {
|
|
216787
|
+
return null;
|
|
216788
|
+
}
|
|
216789
|
+
const containerRect = targetRef.current?.getBoundingClientRect();
|
|
216790
|
+
if (!containerRect) return null;
|
|
216791
|
+
const style2 = {
|
|
216792
|
+
top: selection2.rect.top - containerRect.top - 52,
|
|
216793
|
+
// Position above selection
|
|
216794
|
+
left: selection2.rect.left - containerRect.left
|
|
216795
|
+
// Align with the left of the selection
|
|
216796
|
+
};
|
|
216797
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(ControlsWrapper, { style: style2, onMouseDown: (e3) => e3.preventDefault(), children: [
|
|
216798
|
+
isPlaying ? /* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip$1, { title: "Stop", placement: "top", children: /* @__PURE__ */ jsxRuntimeExports.jsx(StyledIconButton, { size: "small", onClick: handleStop, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Square, { size: 14 }) }) }) : /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
216799
|
+
Tooltip$1,
|
|
216800
|
+
{
|
|
216801
|
+
title: isLoading ? "Loading" : !canEnableSpeechFeature ? "Sign in to Radient in the settings page to enable text to speech" : "Speak Aloud",
|
|
216802
|
+
placement: "top",
|
|
216803
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
216804
|
+
StyledIconButton,
|
|
216805
|
+
{
|
|
216806
|
+
size: "small",
|
|
216807
|
+
onClick: handlePlay,
|
|
216808
|
+
disabled: isLoading || !agentId || !canEnableSpeechFeature,
|
|
216809
|
+
children: isLoading ? /* @__PURE__ */ jsxRuntimeExports.jsx(CircularProgress, { size: 14 }) : /* @__PURE__ */ jsxRuntimeExports.jsx(Volume2, { size: 14 })
|
|
216810
|
+
}
|
|
216811
|
+
) })
|
|
216812
|
+
}
|
|
216813
|
+
),
|
|
216814
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip$1, { title: "Copy", placement: "top", children: /* @__PURE__ */ jsxRuntimeExports.jsx(StyledIconButton, { size: "small", onClick: handleCopy, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Copy, { size: 14 }) }) }),
|
|
216815
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Tooltip$1, { title: "Copy without formatting", placement: "top", children: /* @__PURE__ */ jsxRuntimeExports.jsx(StyledIconButton, { size: "small", onClick: handleCopyWithoutFormatting, children: /* @__PURE__ */ jsxRuntimeExports.jsx(ClipboardCopy, { size: 14 }) }) })
|
|
216816
|
+
] });
|
|
216817
|
+
};
|
|
216032
216818
|
const StyledPaper$1 = styled$1(Paper)(({ theme: theme2 }) => ({
|
|
216033
216819
|
[theme2.breakpoints.down("sm")]: {
|
|
216034
216820
|
maxWidth: "85%"
|
|
@@ -216055,9 +216841,11 @@ const MessagePaper = ({
|
|
|
216055
216841
|
message: message2,
|
|
216056
216842
|
onMessageComplete,
|
|
216057
216843
|
isLastMessage,
|
|
216058
|
-
isJobRunning
|
|
216844
|
+
isJobRunning,
|
|
216845
|
+
agentId
|
|
216059
216846
|
}) => {
|
|
216060
216847
|
const theme2 = useTheme$2();
|
|
216848
|
+
const messageContentRef = reactExports.useRef(null);
|
|
216061
216849
|
if (isUser) {
|
|
216062
216850
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
216063
216851
|
Box,
|
|
@@ -216082,10 +216870,18 @@ const MessagePaper = ({
|
|
|
216082
216870
|
boxShadow: theme2.palette.userMessage.shadow,
|
|
216083
216871
|
color: theme2.palette.text.primary
|
|
216084
216872
|
},
|
|
216085
|
-
children: children2
|
|
216873
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(Box, { ref: messageContentRef, sx: { position: "relative" }, children: children2 })
|
|
216086
216874
|
}
|
|
216087
216875
|
),
|
|
216088
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
216876
|
+
message2 && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
216877
|
+
MessageControls,
|
|
216878
|
+
{
|
|
216879
|
+
isUser,
|
|
216880
|
+
content: content2,
|
|
216881
|
+
messageId: message2.id,
|
|
216882
|
+
agentId
|
|
216883
|
+
}
|
|
216884
|
+
)
|
|
216089
216885
|
]
|
|
216090
216886
|
}
|
|
216091
216887
|
);
|
|
@@ -216168,7 +216964,7 @@ const MessagePaper = ({
|
|
|
216168
216964
|
}, []);
|
|
216169
216965
|
const regularMessageComponents = reactExports.useMemo(() => {
|
|
216170
216966
|
if (isStreamable && isJobRunning || !message2) return null;
|
|
216171
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Box, { sx: messageStyles, children: [
|
|
216967
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(Box, { sx: messageStyles, ref: messageContentRef, children: [
|
|
216172
216968
|
message2.thinking && !isUser && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
216173
216969
|
ExpandableThinkingContent,
|
|
216174
216970
|
{
|
|
@@ -216178,7 +216974,16 @@ const MessagePaper = ({
|
|
|
216178
216974
|
onCollapse: handleThinkingCollapse
|
|
216179
216975
|
}
|
|
216180
216976
|
),
|
|
216181
|
-
filteredChildren
|
|
216977
|
+
filteredChildren,
|
|
216978
|
+
message2 && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
216979
|
+
TextSelectionControls,
|
|
216980
|
+
{
|
|
216981
|
+
messageId: message2.id,
|
|
216982
|
+
agentId,
|
|
216983
|
+
targetRef: messageContentRef,
|
|
216984
|
+
isUser
|
|
216985
|
+
}
|
|
216986
|
+
)
|
|
216182
216987
|
] });
|
|
216183
216988
|
}, [
|
|
216184
216989
|
isStreamable,
|
|
@@ -216190,8 +216995,9 @@ const MessagePaper = ({
|
|
|
216190
216995
|
isThinkingExpanded,
|
|
216191
216996
|
handleThinkingExpand,
|
|
216192
216997
|
// Added
|
|
216193
|
-
handleThinkingCollapse
|
|
216998
|
+
handleThinkingCollapse,
|
|
216194
216999
|
// Added
|
|
217000
|
+
agentId
|
|
216195
217001
|
]);
|
|
216196
217002
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
216197
217003
|
Box,
|
|
@@ -216222,11 +217028,13 @@ const MessagePaper = ({
|
|
|
216222
217028
|
}
|
|
216223
217029
|
}
|
|
216224
217030
|
),
|
|
216225
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
217031
|
+
message2 && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
216226
217032
|
MessageControls,
|
|
216227
217033
|
{
|
|
216228
217034
|
isUser,
|
|
216229
217035
|
content: content2,
|
|
217036
|
+
messageId: message2.id,
|
|
217037
|
+
agentId,
|
|
216230
217038
|
sx: {
|
|
216231
217039
|
// When streaming, force opacity 0 and disable pointer events.
|
|
216232
217040
|
// This inline style for opacity will override the parent's hover rule.
|
|
@@ -216332,16 +217140,32 @@ const isVideo = (path2) => {
|
|
|
216332
217140
|
const lowerPath = path2.toLowerCase();
|
|
216333
217141
|
return videoExtensions.some((ext) => lowerPath.endsWith(ext));
|
|
216334
217142
|
};
|
|
216335
|
-
const
|
|
217143
|
+
const isAudio = (path2) => {
|
|
217144
|
+
const audioExtensions = [
|
|
217145
|
+
".mp3",
|
|
217146
|
+
".wav",
|
|
217147
|
+
".ogg",
|
|
217148
|
+
".aac",
|
|
217149
|
+
".flac",
|
|
217150
|
+
".m4a",
|
|
217151
|
+
".aiff"
|
|
217152
|
+
];
|
|
217153
|
+
const lowerPath = path2.toLowerCase();
|
|
217154
|
+
return audioExtensions.some((ext) => lowerPath.endsWith(ext));
|
|
217155
|
+
};
|
|
217156
|
+
const getAttachmentUrl = (client2, path2) => {
|
|
216336
217157
|
if (path2.startsWith("http")) {
|
|
216337
217158
|
return path2;
|
|
216338
217159
|
}
|
|
216339
217160
|
const normalizedPath = path2.startsWith("file://") ? path2 : `file://${path2}`;
|
|
216340
217161
|
if (isImage(path2)) {
|
|
216341
|
-
return
|
|
217162
|
+
return client2.static.getImageUrl(normalizedPath);
|
|
216342
217163
|
}
|
|
216343
217164
|
if (isVideo(path2)) {
|
|
216344
|
-
return
|
|
217165
|
+
return client2.static.getVideoUrl(normalizedPath);
|
|
217166
|
+
}
|
|
217167
|
+
if (isAudio(path2)) {
|
|
217168
|
+
return client2.static.getAudioUrl(normalizedPath);
|
|
216345
217169
|
}
|
|
216346
217170
|
return path2;
|
|
216347
217171
|
};
|
|
@@ -216381,12 +217205,12 @@ const MessageItem = reactExports.memo(
|
|
|
216381
217205
|
}
|
|
216382
217206
|
}
|
|
216383
217207
|
}, [message2.files, conversationId, addMentionedFilesBatch]);
|
|
216384
|
-
const
|
|
217208
|
+
const client2 = reactExports.useMemo(() => {
|
|
216385
217209
|
return createLocalOperatorClient(apiConfig.baseUrl);
|
|
216386
217210
|
}, []);
|
|
216387
217211
|
const getUrl2 = reactExports.useCallback(
|
|
216388
|
-
(path2) => getAttachmentUrl(
|
|
216389
|
-
[
|
|
217212
|
+
(path2) => getAttachmentUrl(client2, path2),
|
|
217213
|
+
[client2]
|
|
216390
217214
|
);
|
|
216391
217215
|
const handleFileClick = reactExports.useCallback(async (filePath) => {
|
|
216392
217216
|
try {
|
|
@@ -216424,6 +217248,7 @@ const MessageItem = reactExports.memo(
|
|
|
216424
217248
|
onMessageComplete,
|
|
216425
217249
|
isLastMessage: isLastMessage ?? false,
|
|
216426
217250
|
isJobRunning: !!currentExecution,
|
|
217251
|
+
agentId: conversationId,
|
|
216427
217252
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
216428
217253
|
ActionBlock,
|
|
216429
217254
|
{
|
|
@@ -216458,6 +217283,7 @@ const MessageItem = reactExports.memo(
|
|
|
216458
217283
|
onMessageComplete,
|
|
216459
217284
|
isLastMessage: isLastMessage ?? false,
|
|
216460
217285
|
isJobRunning: !!currentExecution,
|
|
217286
|
+
agentId: conversationId,
|
|
216461
217287
|
children: [
|
|
216462
217288
|
message2.files && message2.files.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(Box, { sx: { mb: 2 }, children: message2.files.filter((file) => isImage(file)).map((file) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
216463
217289
|
ImageAttachment,
|
|
@@ -216521,6 +217347,7 @@ const MessageItem = reactExports.memo(
|
|
|
216521
217347
|
onMessageComplete,
|
|
216522
217348
|
isLastMessage: isLastMessage ?? false,
|
|
216523
217349
|
isJobRunning: !!currentExecution,
|
|
217350
|
+
agentId: conversationId,
|
|
216524
217351
|
children: [
|
|
216525
217352
|
message2.files && message2.files.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(Box, { sx: { mb: 2 }, children: message2.files.filter((file) => isImage(file)).map((file) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
216526
217353
|
ImageAttachment,
|
|
@@ -216542,6 +217369,14 @@ const MessageItem = reactExports.memo(
|
|
|
216542
217369
|
},
|
|
216543
217370
|
`${message2.id}-${file}`
|
|
216544
217371
|
)) }),
|
|
217372
|
+
message2.files && message2.files.length > 0 && message2.files.some((file) => isAudio(file)) && /* @__PURE__ */ jsxRuntimeExports.jsx(Box, { sx: { mb: 2 }, children: message2.files.filter((file) => isAudio(file)).map((file) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
217373
|
+
AudioAttachment,
|
|
217374
|
+
{
|
|
217375
|
+
content: getUrl2(file),
|
|
217376
|
+
isUser
|
|
217377
|
+
},
|
|
217378
|
+
`${message2.id}-${file}`
|
|
217379
|
+
)) }),
|
|
216545
217380
|
message2.message && !(message2.is_streamable && !message2.is_complete) && /* @__PURE__ */ jsxRuntimeExports.jsx(MessageContent, { content: message2.message, isUser }),
|
|
216546
217381
|
(() => {
|
|
216547
217382
|
const hasCollapsibleContent = isAction2 && (message2.code || message2.stdout || message2.stderr || message2.logging);
|
|
@@ -216563,7 +217398,9 @@ const MessageItem = reactExports.memo(
|
|
|
216563
217398
|
}
|
|
216564
217399
|
return contentBlocks;
|
|
216565
217400
|
})(),
|
|
216566
|
-
message2.files && message2.files.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(Box, { sx: { mt: 2 }, children: message2.files.filter(
|
|
217401
|
+
message2.files && message2.files.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(Box, { sx: { mt: 2 }, children: message2.files.filter(
|
|
217402
|
+
(file) => !isImage(file) && !isVideo(file) && !isAudio(file)
|
|
217403
|
+
).map((file) => /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
216567
217404
|
FileAttachment,
|
|
216568
217405
|
{
|
|
216569
217406
|
file,
|