@arbidocs/react 0.5.30 → 0.5.32
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/dist/artifacts/index.cjs +5 -5
- package/dist/artifacts/index.js +2 -2
- package/dist/calls/livekit/index.cjs +41 -41
- package/dist/calls/livekit/index.js +2 -2
- package/dist/{chunk-NV5G5RR5.cjs → chunk-CWJAULV2.cjs} +420 -5
- package/dist/chunk-CWJAULV2.cjs.map +1 -0
- package/dist/{chunk-YMAZYYD5.cjs → chunk-FSPLYO52.cjs} +2264 -2264
- package/dist/chunk-FSPLYO52.cjs.map +1 -0
- package/dist/{chunk-2ERRXEOB.cjs → chunk-GAW2PLSL.cjs} +59 -4
- package/dist/chunk-GAW2PLSL.cjs.map +1 -0
- package/dist/{chunk-3ZLRZTKP.cjs → chunk-KHRCABUX.cjs} +5 -5
- package/dist/{chunk-3ZLRZTKP.cjs.map → chunk-KHRCABUX.cjs.map} +1 -1
- package/dist/{chunk-I4JYI6GY.js → chunk-KUGZXI7V.js} +2266 -2266
- package/dist/chunk-KUGZXI7V.js.map +1 -0
- package/dist/{chunk-VHGJG32Q.js → chunk-MJWUUDYT.js} +57 -5
- package/dist/chunk-MJWUUDYT.js.map +1 -0
- package/dist/{chunk-5X4RZ36M.js → chunk-R4YLLLCT.js} +3 -3
- package/dist/{chunk-5X4RZ36M.js.map → chunk-R4YLLLCT.js.map} +1 -1
- package/dist/{chunk-CIWI5UFT.js → chunk-VTNFF7P6.js} +406 -7
- package/dist/chunk-VTNFF7P6.js.map +1 -0
- package/dist/index.cjs +1337 -820
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +517 -98
- package/dist/index.d.ts +517 -98
- package/dist/index.js +616 -187
- package/dist/index.js.map +1 -1
- package/dist/ui/index.cjs +147 -147
- package/dist/ui/index.js +1 -1
- package/package.json +3 -3
- package/dist/chunk-2ERRXEOB.cjs.map +0 -1
- package/dist/chunk-CIWI5UFT.js.map +0 -1
- package/dist/chunk-I4JYI6GY.js.map +0 -1
- package/dist/chunk-NV5G5RR5.cjs.map +0 -1
- package/dist/chunk-VHGJG32Q.js.map +0 -1
- package/dist/chunk-YMAZYYD5.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var chunkKHRCABUX_cjs = require('./chunk-KHRCABUX.cjs');
|
|
4
|
+
var chunkGAW2PLSL_cjs = require('./chunk-GAW2PLSL.cjs');
|
|
5
|
+
var chunkCWJAULV2_cjs = require('./chunk-CWJAULV2.cjs');
|
|
6
6
|
var chunkONGNP4JM_cjs = require('./chunk-ONGNP4JM.cjs');
|
|
7
7
|
var chunkRRWAX52L_cjs = require('./chunk-RRWAX52L.cjs');
|
|
8
8
|
var chunkTUPSNW3B_cjs = require('./chunk-TUPSNW3B.cjs');
|
|
@@ -10,7 +10,7 @@ var chunkVAMPYLQ4_cjs = require('./chunk-VAMPYLQ4.cjs');
|
|
|
10
10
|
var chunkN73IMVFF_cjs = require('./chunk-N73IMVFF.cjs');
|
|
11
11
|
var chunkZWFMFOGP_cjs = require('./chunk-ZWFMFOGP.cjs');
|
|
12
12
|
require('./chunk-VOFNX4P6.cjs');
|
|
13
|
-
var
|
|
13
|
+
var chunkFSPLYO52_cjs = require('./chunk-FSPLYO52.cjs');
|
|
14
14
|
var chunkEEIYXVM4_cjs = require('./chunk-EEIYXVM4.cjs');
|
|
15
15
|
var chunkOC7F5SNA_cjs = require('./chunk-OC7F5SNA.cjs');
|
|
16
16
|
var chunkWYZJLZ67_cjs = require('./chunk-WYZJLZ67.cjs');
|
|
@@ -24,9 +24,9 @@ var chunkRCKA7BEF_cjs = require('./chunk-RCKA7BEF.cjs');
|
|
|
24
24
|
var React = require('react');
|
|
25
25
|
var reactQuery = require('@tanstack/react-query');
|
|
26
26
|
var browser = require('@arbidocs/sdk/browser');
|
|
27
|
-
var zustand = require('zustand');
|
|
28
27
|
var lucideReact = require('lucide-react');
|
|
29
28
|
var jsxRuntime = require('react/jsx-runtime');
|
|
29
|
+
var zustand = require('zustand');
|
|
30
30
|
var client = require('@arbidocs/client');
|
|
31
31
|
var diff = require('diff');
|
|
32
32
|
var framerMotion = require('framer-motion');
|
|
@@ -71,9 +71,9 @@ function holdListPoll(refetch) {
|
|
|
71
71
|
};
|
|
72
72
|
}
|
|
73
73
|
function useConversationItems() {
|
|
74
|
-
const workspaceId =
|
|
75
|
-
const open =
|
|
76
|
-
const query =
|
|
74
|
+
const workspaceId = chunkCWJAULV2_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
75
|
+
const open = chunkCWJAULV2_cjs.useArbiSessionState((s) => s.workspaceStatus === "open");
|
|
76
|
+
const query = chunkCWJAULV2_cjs.useConversations(workspaceId ?? void 0, { enabled: open });
|
|
77
77
|
const { refetch } = query;
|
|
78
78
|
const all = query.data;
|
|
79
79
|
const tasks = React.useMemo(() => (all ?? []).filter((c) => c.status != null), [all]);
|
|
@@ -94,7 +94,7 @@ function useConversationItems() {
|
|
|
94
94
|
return { conversations: all ?? [], tasks, isLoading: query.isLoading, refetch };
|
|
95
95
|
}
|
|
96
96
|
function useConversationIsShared() {
|
|
97
|
-
const id =
|
|
97
|
+
const id = chunkCWJAULV2_cjs.useArbiSessionState((state) => state.conversationId);
|
|
98
98
|
const { conversations } = useConversationItems();
|
|
99
99
|
return conversations.find((conversation) => conversation.external_id === id)?.is_shared ?? false;
|
|
100
100
|
}
|
|
@@ -103,9 +103,9 @@ function useWorkItems() {
|
|
|
103
103
|
return { tasks, isLoading, refetch };
|
|
104
104
|
}
|
|
105
105
|
function useWorkspaceRole() {
|
|
106
|
-
const workspaceId =
|
|
107
|
-
const me =
|
|
108
|
-
const { data: workspaces } =
|
|
106
|
+
const workspaceId = chunkCWJAULV2_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
107
|
+
const me = chunkCWJAULV2_cjs.useArbiSession().user?.external_id;
|
|
108
|
+
const { data: workspaces } = chunkCWJAULV2_cjs.useWorkspaces();
|
|
109
109
|
const workspace = workspaces?.find((w) => w.external_id === workspaceId);
|
|
110
110
|
return workspace?.users?.find((m) => m.user.external_id === me)?.role ?? null;
|
|
111
111
|
}
|
|
@@ -123,7 +123,7 @@ function useNotifyConversation() {
|
|
|
123
123
|
mutationFn: ({ conversationId, userIds }) => arbi.conversations.notify(conversationId, userIds),
|
|
124
124
|
onSuccess: (_data, { conversationId }) => {
|
|
125
125
|
invalidateConversationActivity(qc, conversationId);
|
|
126
|
-
void
|
|
126
|
+
void chunkKHRCABUX_cjs.invalidateConversationLists(qc);
|
|
127
127
|
}
|
|
128
128
|
});
|
|
129
129
|
}
|
|
@@ -140,7 +140,7 @@ var THREAD_LOOKUP_DELAY_MS = 500;
|
|
|
140
140
|
function useStartTaskQuery() {
|
|
141
141
|
const arbi = chunkYIUUTRMQ_cjs.useArbi();
|
|
142
142
|
const queryClient = reactQuery.useQueryClient();
|
|
143
|
-
const chatModel =
|
|
143
|
+
const chatModel = chunkCWJAULV2_cjs.useArbiSessionState((s) => s.chatModel);
|
|
144
144
|
const post = reactQuery.useMutation({
|
|
145
145
|
mutationFn: (query) => {
|
|
146
146
|
const selectedConfig = chatModel || queryClient.getQueriesData({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.userSettings() }).map(([, settings]) => settings?.last_config).find(Boolean);
|
|
@@ -173,7 +173,7 @@ function useStartTaskQuery() {
|
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
175
|
if (!conversationId) return null;
|
|
176
|
-
await
|
|
176
|
+
await chunkKHRCABUX_cjs.invalidateConversationLists(queryClient);
|
|
177
177
|
return { conversationId };
|
|
178
178
|
};
|
|
179
179
|
return {
|
|
@@ -202,8 +202,8 @@ function useUpdateConversation() {
|
|
|
202
202
|
}) => arbi.conversations.update(conversationId, patch),
|
|
203
203
|
// The list takes the server's version of the row; what hangs off it is read again.
|
|
204
204
|
onSuccess: (updated, { conversationId }) => {
|
|
205
|
-
|
|
206
|
-
return
|
|
205
|
+
chunkKHRCABUX_cjs.patchConversation(qc, conversationId, updated);
|
|
206
|
+
return chunkKHRCABUX_cjs.invalidateConversationDetails(qc, conversationId);
|
|
207
207
|
}
|
|
208
208
|
});
|
|
209
209
|
}
|
|
@@ -212,7 +212,7 @@ function useDeleteConversation() {
|
|
|
212
212
|
const qc = reactQuery.useQueryClient();
|
|
213
213
|
return reactQuery.useMutation({
|
|
214
214
|
mutationFn: (conversationId) => arbi.conversations.delete(conversationId),
|
|
215
|
-
onSuccess: (_res, conversationId) =>
|
|
215
|
+
onSuccess: (_res, conversationId) => chunkKHRCABUX_cjs.removeConversationFromLists(qc, conversationId)
|
|
216
216
|
});
|
|
217
217
|
}
|
|
218
218
|
function useConversationSearch() {
|
|
@@ -226,7 +226,7 @@ function useCreateWork() {
|
|
|
226
226
|
const qc = reactQuery.useQueryClient();
|
|
227
227
|
return reactQuery.useMutation({
|
|
228
228
|
mutationFn: (body) => arbi.conversations.createWork(body),
|
|
229
|
-
onSuccess: (created) =>
|
|
229
|
+
onSuccess: (created) => chunkKHRCABUX_cjs.addConversationToList(qc, arbi.hasWorkspace ? arbi.getWorkspaceId() : null, created)
|
|
230
230
|
});
|
|
231
231
|
}
|
|
232
232
|
function useRunConversation() {
|
|
@@ -236,7 +236,7 @@ function useRunConversation() {
|
|
|
236
236
|
mutationFn: (conversationId) => arbi.conversations.runWithAuth(conversationId),
|
|
237
237
|
// The server's version replaces the listed one; everything under the conversation is re-read.
|
|
238
238
|
onSuccess: (updated) => {
|
|
239
|
-
if (updated?.external_id)
|
|
239
|
+
if (updated?.external_id) chunkKHRCABUX_cjs.patchConversation(qc, updated.external_id, updated);
|
|
240
240
|
return qc.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.allConversations() });
|
|
241
241
|
}
|
|
242
242
|
});
|
|
@@ -252,7 +252,7 @@ function useActOnStep() {
|
|
|
252
252
|
// The server's version of the conversation replaces the listed one; its history is re-read.
|
|
253
253
|
onSuccess: (updated) => {
|
|
254
254
|
if (!updated?.external_id) return;
|
|
255
|
-
|
|
255
|
+
chunkKHRCABUX_cjs.patchConversation(qc, updated.external_id, updated);
|
|
256
256
|
invalidateConversationActivity(qc, updated.external_id);
|
|
257
257
|
}
|
|
258
258
|
});
|
|
@@ -1333,18 +1333,18 @@ function cachedAssistantMode(queryClient, conversationId, newMode) {
|
|
|
1333
1333
|
if (!conversationId) return newMode;
|
|
1334
1334
|
const threads = queryClient.getQueriesData(allConversationThreads).map(([, data]) => data).find((data) => data?.conversation_ext_id === conversationId);
|
|
1335
1335
|
if (threads?.assistant_mode) return threads.assistant_mode;
|
|
1336
|
-
return
|
|
1336
|
+
return chunkKHRCABUX_cjs.findConversation(queryClient, conversationId)?.assistant_mode ?? "always";
|
|
1337
1337
|
}
|
|
1338
1338
|
function isCommentToPeople(queryClient, conversationId, content, candidates) {
|
|
1339
1339
|
const mentioned = chunkTUPSNW3B_cjs.extractMentions(content, candidates);
|
|
1340
1340
|
if (mentioned.some((c) => c.kind === "assistant")) return false;
|
|
1341
|
-
if (
|
|
1341
|
+
if (chunkKHRCABUX_cjs.isConversationShared(queryClient, conversationId)) return true;
|
|
1342
1342
|
if (mentioned.some((c) => c.kind === "user")) return true;
|
|
1343
|
-
return !!conversationId && cachedAssistantMode(queryClient, conversationId, "always") === "mentioned" && !
|
|
1343
|
+
return !!conversationId && cachedAssistantMode(queryClient, conversationId, "always") === "mentioned" && !chunkKHRCABUX_cjs.isKnownSoloConversation(queryClient, conversationId);
|
|
1344
1344
|
}
|
|
1345
1345
|
function useMentionCandidates() {
|
|
1346
1346
|
const { data: users = [] } = useWorkspaceUsers();
|
|
1347
|
-
const currentUserId =
|
|
1347
|
+
const currentUserId = chunkCWJAULV2_cjs.useArbiSession().user?.external_id;
|
|
1348
1348
|
return React.useMemo(() => buildMentionCandidates(users, currentUserId), [users, currentUserId]);
|
|
1349
1349
|
}
|
|
1350
1350
|
function useUserSettings(options) {
|
|
@@ -1448,11 +1448,11 @@ function configDelta(active, defaults) {
|
|
|
1448
1448
|
}
|
|
1449
1449
|
function useSaveConfigField() {
|
|
1450
1450
|
const saveConfig = useSaveConfig();
|
|
1451
|
-
const { data: defaultConfig } =
|
|
1452
|
-
const chatModel =
|
|
1451
|
+
const { data: defaultConfig } = chunkCWJAULV2_cjs.useConfig("default");
|
|
1452
|
+
const chatModel = chunkCWJAULV2_cjs.useArbiSessionState((state) => state.chatModel);
|
|
1453
1453
|
const { data: userSettings } = useUserSettings();
|
|
1454
1454
|
const activeConfigId = chatModel || userSettings?.last_config || "default";
|
|
1455
|
-
const { data: activeConfigData } =
|
|
1455
|
+
const { data: activeConfigData } = chunkCWJAULV2_cjs.useConfig(activeConfigId);
|
|
1456
1456
|
const buildDelta = (changes) => {
|
|
1457
1457
|
const defaults = defaultConfig ?? {};
|
|
1458
1458
|
const active = activeConfigData ?? {};
|
|
@@ -1490,8 +1490,8 @@ function pendingChatModelSave(session) {
|
|
|
1490
1490
|
return chatModelSaves.get(session);
|
|
1491
1491
|
}
|
|
1492
1492
|
function useApplyChatModel() {
|
|
1493
|
-
const session =
|
|
1494
|
-
const { data: availableModels } =
|
|
1493
|
+
const session = chunkCWJAULV2_cjs.useArbiSessionStore();
|
|
1494
|
+
const { data: availableModels } = chunkCWJAULV2_cjs.useAvailableModels();
|
|
1495
1495
|
const configField = useSaveConfigField();
|
|
1496
1496
|
return React.useCallback(
|
|
1497
1497
|
async (model, label) => {
|
|
@@ -1519,7 +1519,7 @@ function useApplyChatModel() {
|
|
|
1519
1519
|
// src/chat/thread-binding.ts
|
|
1520
1520
|
function threadBinding(queryClient, conversationId) {
|
|
1521
1521
|
if (!conversationId) return chunkTUPSNW3B_cjs.UNBOUND;
|
|
1522
|
-
const row =
|
|
1522
|
+
const row = chunkKHRCABUX_cjs.findConversation(queryClient, conversationId);
|
|
1523
1523
|
if (row) return chunkTUPSNW3B_cjs.bindingOfRow(row);
|
|
1524
1524
|
const threads = queryClient.getQueryData(getThreadsQueryKey(conversationId));
|
|
1525
1525
|
return chunkTUPSNW3B_cjs.bindingOfRow(threads ? { external_id: conversationId, ...threads } : null);
|
|
@@ -1532,7 +1532,7 @@ function cacheThreadBinding(queryClient, conversationId, binding) {
|
|
|
1532
1532
|
bound_document_ext_id: binding.documentId,
|
|
1533
1533
|
bound_document_unavailable: binding.unavailable
|
|
1534
1534
|
};
|
|
1535
|
-
|
|
1535
|
+
chunkKHRCABUX_cjs.patchConversation(queryClient, conversationId, fields);
|
|
1536
1536
|
queryClient.setQueryData(
|
|
1537
1537
|
getThreadsQueryKey(conversationId),
|
|
1538
1538
|
(old) => old ? { ...old, ...fields } : old
|
|
@@ -1546,7 +1546,7 @@ async function bindThreadDocument(arbi, queryClient, conversationId, documentId)
|
|
|
1546
1546
|
const saved = await arbi.conversations.update(conversationId, {
|
|
1547
1547
|
bound_document_ext_id: documentId
|
|
1548
1548
|
});
|
|
1549
|
-
|
|
1549
|
+
chunkKHRCABUX_cjs.patchConversation(queryClient, conversationId, saved);
|
|
1550
1550
|
cacheThreadBinding(queryClient, conversationId, chunkTUPSNW3B_cjs.bindingOfRow(saved));
|
|
1551
1551
|
} catch (error) {
|
|
1552
1552
|
cacheThreadBinding(queryClient, conversationId, before);
|
|
@@ -1600,69 +1600,119 @@ function subscribeDocumentReads(qc, onRows) {
|
|
|
1600
1600
|
onRows([data]);
|
|
1601
1601
|
});
|
|
1602
1602
|
}
|
|
1603
|
-
var
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
)
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
}
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
}
|
|
1636
|
-
function useProcessingTask(docId) {
|
|
1637
|
-
const { useProcessingTask: useHostTask } = useDocumentsSupport();
|
|
1638
|
-
const own = useArbiWsStore((state) => state.tasks[docId]);
|
|
1639
|
-
const host = useHostTask?.(docId);
|
|
1640
|
-
return useHostTask ? host : own;
|
|
1641
|
-
}
|
|
1642
|
-
var NO_ACTIONS = {};
|
|
1643
|
-
var NO_IDS = /* @__PURE__ */ new Set();
|
|
1644
|
-
function useDocumentHostActions() {
|
|
1645
|
-
const { useHostActions } = useDocumentsSupport();
|
|
1646
|
-
return useHostActions?.() ?? NO_ACTIONS;
|
|
1647
|
-
}
|
|
1648
|
-
function useOfflineDocumentIds() {
|
|
1649
|
-
const { useOfflineDocumentIds: useHostIds } = useDocumentsSupport();
|
|
1650
|
-
return useHostIds?.() ?? NO_IDS;
|
|
1651
|
-
}
|
|
1652
|
-
function useOpenViewerDocumentId() {
|
|
1653
|
-
const { useOpenViewerDocumentId: useHostViewing } = useDocumentsSupport();
|
|
1654
|
-
return useHostViewing?.() ?? null;
|
|
1603
|
+
var STALE_TASK_MS = 6 * 60 * 60 * 1e3;
|
|
1604
|
+
var ORPHAN_TASK_MS = 15 * 60 * 1e3;
|
|
1605
|
+
var SNAPSHOT_MS = 500;
|
|
1606
|
+
function applyTaskEvent(queryClient, arbi, message, me) {
|
|
1607
|
+
const workspaceId = message.workspace_ext_id;
|
|
1608
|
+
if (!workspaceId) return;
|
|
1609
|
+
if (chunkGAW2PLSL_cjs.FINISHED_DOCUMENT_STATUSES.has(message.status)) {
|
|
1610
|
+
void chunkGAW2PLSL_cjs.refreshDocuments(queryClient, arbi, [message.doc_ext_id]);
|
|
1611
|
+
return;
|
|
1612
|
+
}
|
|
1613
|
+
const cached = chunkGAW2PLSL_cjs.getCachedDocuments(queryClient, workspaceId);
|
|
1614
|
+
if (!cached || cached.some((d) => d.external_id === message.doc_ext_id)) return;
|
|
1615
|
+
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
1616
|
+
const placeholder = {
|
|
1617
|
+
external_id: message.doc_ext_id,
|
|
1618
|
+
workspace_ext_id: workspaceId,
|
|
1619
|
+
file_name: message.file_name ?? "Uploading\u2026",
|
|
1620
|
+
status: message.status,
|
|
1621
|
+
folder: message.folder ?? null,
|
|
1622
|
+
wp_type: "source",
|
|
1623
|
+
shared: false,
|
|
1624
|
+
created_by_ext_id: me ?? void 0,
|
|
1625
|
+
doc_metadata: {},
|
|
1626
|
+
doctags: [],
|
|
1627
|
+
created_at: now,
|
|
1628
|
+
updated_at: now
|
|
1629
|
+
};
|
|
1630
|
+
chunkGAW2PLSL_cjs.patchDocuments(
|
|
1631
|
+
queryClient,
|
|
1632
|
+
(old) => old.some((d) => d.external_id === message.doc_ext_id) ? old : [...old, placeholder],
|
|
1633
|
+
workspaceId
|
|
1634
|
+
);
|
|
1655
1635
|
}
|
|
1656
|
-
function
|
|
1657
|
-
const
|
|
1658
|
-
|
|
1636
|
+
function useWorkspaceProcessing(workspaceId) {
|
|
1637
|
+
const queryClient = reactQuery.useQueryClient();
|
|
1638
|
+
const arbi = chunkYIUUTRMQ_cjs.useArbi();
|
|
1639
|
+
const [snapshot, setSnapshot] = React.useState(() => chunkGAW2PLSL_cjs.useArbiWsStore.getState().tasks);
|
|
1640
|
+
React.useEffect(() => {
|
|
1641
|
+
let timer = null;
|
|
1642
|
+
const unsubscribe = chunkGAW2PLSL_cjs.useArbiWsStore.subscribe((state, previous) => {
|
|
1643
|
+
if (state.tasks === previous.tasks || timer) return;
|
|
1644
|
+
timer = setTimeout(() => {
|
|
1645
|
+
timer = null;
|
|
1646
|
+
setSnapshot(chunkGAW2PLSL_cjs.useArbiWsStore.getState().tasks);
|
|
1647
|
+
}, SNAPSHOT_MS);
|
|
1648
|
+
});
|
|
1649
|
+
return () => {
|
|
1650
|
+
unsubscribe();
|
|
1651
|
+
if (timer) clearTimeout(timer);
|
|
1652
|
+
};
|
|
1653
|
+
}, []);
|
|
1654
|
+
React.useEffect(() => {
|
|
1655
|
+
if (!workspaceId) return;
|
|
1656
|
+
const store = chunkGAW2PLSL_cjs.useArbiWsStore.getState();
|
|
1657
|
+
const documents2 = chunkGAW2PLSL_cjs.getCachedDocuments(queryClient, workspaceId) ?? [];
|
|
1658
|
+
store.settleTasks(documents2);
|
|
1659
|
+
const listed = new Set(documents2.map((d) => d.external_id));
|
|
1660
|
+
const now = Date.now();
|
|
1661
|
+
for (const task of Object.values(chunkGAW2PLSL_cjs.useArbiWsStore.getState().tasks)) {
|
|
1662
|
+
if (task.workspace_ext_id !== workspaceId || !chunkGAW2PLSL_cjs.IN_FLIGHT_DOCUMENT_STATUSES.has(task.status))
|
|
1663
|
+
continue;
|
|
1664
|
+
const since = task.startTime ?? task.endTime;
|
|
1665
|
+
const age = since == null ? null : now - since;
|
|
1666
|
+
const stale = age != null && age > STALE_TASK_MS;
|
|
1667
|
+
const orphan = documents2.length > 0 && !listed.has(task.doc_ext_id) && age != null && age > ORPHAN_TASK_MS;
|
|
1668
|
+
if (stale || orphan) store.clearTask(task.doc_ext_id);
|
|
1669
|
+
}
|
|
1670
|
+
}, [workspaceId, queryClient]);
|
|
1671
|
+
React.useEffect(() => {
|
|
1672
|
+
if (!workspaceId) return;
|
|
1673
|
+
const unsubscribeReads = subscribeDocumentReads(
|
|
1674
|
+
queryClient,
|
|
1675
|
+
(rows) => chunkGAW2PLSL_cjs.useArbiWsStore.getState().settleTasks(rows)
|
|
1676
|
+
);
|
|
1677
|
+
const recheck = async () => {
|
|
1678
|
+
const ids = Object.values(chunkGAW2PLSL_cjs.useArbiWsStore.getState().tasks).filter(
|
|
1679
|
+
(t) => t.workspace_ext_id === workspaceId && chunkGAW2PLSL_cjs.IN_FLIGHT_DOCUMENT_STATUSES.has(t.status)
|
|
1680
|
+
).map((t) => t.doc_ext_id);
|
|
1681
|
+
if (ids.length) await chunkGAW2PLSL_cjs.refreshDocuments(queryClient, arbi, ids);
|
|
1682
|
+
};
|
|
1683
|
+
let wasConnected = chunkGAW2PLSL_cjs.useArbiWsStore.getState().status === "connected";
|
|
1684
|
+
const unsubscribeStatus = chunkGAW2PLSL_cjs.useArbiWsStore.subscribe((state) => {
|
|
1685
|
+
const connected = state.status === "connected";
|
|
1686
|
+
if (connected && !wasConnected) void recheck();
|
|
1687
|
+
wasConnected = connected;
|
|
1688
|
+
});
|
|
1689
|
+
return () => {
|
|
1690
|
+
unsubscribeReads();
|
|
1691
|
+
unsubscribeStatus();
|
|
1692
|
+
};
|
|
1693
|
+
}, [workspaceId, queryClient, arbi]);
|
|
1694
|
+
return React.useMemo(() => {
|
|
1695
|
+
const allTasks = workspaceId ? Object.values(snapshot).filter((t) => t.workspace_ext_id === workspaceId).sort((a, b) => a.doc_ext_id.localeCompare(b.doc_ext_id)) : [];
|
|
1696
|
+
const count = (statuses) => allTasks.filter(
|
|
1697
|
+
(t) => Array.isArray(statuses) ? statuses.includes(t.status) : statuses.has(t.status)
|
|
1698
|
+
).length;
|
|
1699
|
+
const { clearTask, clearFinishedTasks } = chunkGAW2PLSL_cjs.useArbiWsStore.getState();
|
|
1700
|
+
return {
|
|
1701
|
+
tasks: Object.fromEntries(allTasks.map((t) => [t.doc_ext_id, t])),
|
|
1702
|
+
allTasks,
|
|
1703
|
+
processingCount: count(chunkGAW2PLSL_cjs.IN_FLIGHT_DOCUMENT_STATUSES),
|
|
1704
|
+
completedCount: count(["completed", "low-content"]),
|
|
1705
|
+
failedCount: count(["failed"]),
|
|
1706
|
+
skippedCount: count(["skipped"]),
|
|
1707
|
+
clearTask,
|
|
1708
|
+
clearFinishedTasks
|
|
1709
|
+
};
|
|
1710
|
+
}, [workspaceId, snapshot]);
|
|
1659
1711
|
}
|
|
1660
|
-
|
|
1661
|
-
// src/documents/documents-writes.ts
|
|
1662
1712
|
function applyOptimisticDocumentEdit(qc, updates) {
|
|
1663
1713
|
const byId = new Map(updates.map((update) => [update.external_id, update]));
|
|
1664
1714
|
const previous = [];
|
|
1665
|
-
|
|
1715
|
+
chunkGAW2PLSL_cjs.patchDocuments(qc, (old) => {
|
|
1666
1716
|
let changed = false;
|
|
1667
1717
|
const next = old.map((doc) => {
|
|
1668
1718
|
const update = byId.get(doc.external_id);
|
|
@@ -1677,7 +1727,7 @@ function applyOptimisticDocumentEdit(qc, updates) {
|
|
|
1677
1727
|
const own = qc.getQueryData(
|
|
1678
1728
|
chunkRRWAX52L_cjs.arbiQueryKeys.document(update.external_id)
|
|
1679
1729
|
);
|
|
1680
|
-
if (own)
|
|
1730
|
+
if (own) chunkGAW2PLSL_cjs.setCachedDocument(qc, { ...own, ...update });
|
|
1681
1731
|
return [update.external_id, own];
|
|
1682
1732
|
});
|
|
1683
1733
|
return { optimistic: true, previous, previousOwn };
|
|
@@ -1687,7 +1737,7 @@ function rollbackOptimisticDocumentEdit(qc, context) {
|
|
|
1687
1737
|
if (!edit?.optimistic) return;
|
|
1688
1738
|
if (edit.previous.length) {
|
|
1689
1739
|
const restore = new Map(edit.previous.map((doc) => [doc.external_id, doc]));
|
|
1690
|
-
|
|
1740
|
+
chunkGAW2PLSL_cjs.patchDocuments(
|
|
1691
1741
|
qc,
|
|
1692
1742
|
(old) => old.some((doc) => restore.has(doc.external_id)) ? old.map((doc) => restore.get(doc.external_id) ?? doc) : old
|
|
1693
1743
|
);
|
|
@@ -1697,19 +1747,19 @@ function rollbackOptimisticDocumentEdit(qc, context) {
|
|
|
1697
1747
|
function settleUpdatedDocuments(qc, updated) {
|
|
1698
1748
|
if (!updated.length) return;
|
|
1699
1749
|
const byId = new Map(updated.map((doc) => [doc.external_id, doc]));
|
|
1700
|
-
|
|
1750
|
+
chunkGAW2PLSL_cjs.patchDocuments(
|
|
1701
1751
|
qc,
|
|
1702
1752
|
(old) => old.some((doc) => byId.has(doc.external_id)) ? old.map((doc) => byId.get(doc.external_id) ?? doc) : old
|
|
1703
1753
|
);
|
|
1704
|
-
for (const doc of updated)
|
|
1754
|
+
for (const doc of updated) chunkGAW2PLSL_cjs.setCachedDocument(qc, doc);
|
|
1705
1755
|
}
|
|
1706
1756
|
function patchEachDocument(qc, docIds, reducer) {
|
|
1707
1757
|
const ids = new Set(docIds);
|
|
1708
|
-
|
|
1758
|
+
chunkGAW2PLSL_cjs.patchDocuments(
|
|
1709
1759
|
qc,
|
|
1710
1760
|
(old) => old.some((doc) => ids.has(doc.external_id)) ? old.map((doc) => ids.has(doc.external_id) ? reducer(doc) : doc) : old
|
|
1711
1761
|
);
|
|
1712
|
-
for (const id of ids)
|
|
1762
|
+
for (const id of ids) chunkGAW2PLSL_cjs.patchCachedDocument(qc, id, reducer);
|
|
1713
1763
|
}
|
|
1714
1764
|
function workspaceOf(qc, docId) {
|
|
1715
1765
|
for (const [, docs] of qc.getQueriesData({
|
|
@@ -1736,7 +1786,7 @@ function settleAssignedDocTags(qc, created) {
|
|
|
1736
1786
|
...doc,
|
|
1737
1787
|
doctags: [...doc.doctags ?? [], ...byDoc.get(doc.external_id) ?? []]
|
|
1738
1788
|
}));
|
|
1739
|
-
for (const [workspaceId, delta] of workspaces)
|
|
1789
|
+
for (const [workspaceId, delta] of workspaces) chunkGAW2PLSL_cjs.adjustTagCounts(qc, workspaceId, delta);
|
|
1740
1790
|
}
|
|
1741
1791
|
function settleRemovedDocTags(qc, { tagId, docIds }) {
|
|
1742
1792
|
const ids = new Set(docIds);
|
|
@@ -1758,7 +1808,7 @@ function settleRemovedDocTags(qc, { tagId, docIds }) {
|
|
|
1758
1808
|
doctags: (doc.doctags ?? []).filter((dt) => dt.tag_ext_id !== tagId)
|
|
1759
1809
|
}));
|
|
1760
1810
|
for (const [workspaceId, removed] of removedByWorkspace)
|
|
1761
|
-
|
|
1811
|
+
chunkGAW2PLSL_cjs.adjustTagCounts(qc, workspaceId, /* @__PURE__ */ new Map([[tagId, -removed]]));
|
|
1762
1812
|
}
|
|
1763
1813
|
function settleUpdatedDocTag(qc, updated) {
|
|
1764
1814
|
patchEachDocument(qc, [updated.doc_ext_id], (doc) => ({
|
|
@@ -1834,7 +1884,7 @@ function useRenameFolder() {
|
|
|
1834
1884
|
return folder === void 0 ? [] : [{ external_id: doc.external_id, folder }];
|
|
1835
1885
|
});
|
|
1836
1886
|
if (updates.length > 0) await mutateAsync({ documents: updates });
|
|
1837
|
-
|
|
1887
|
+
chunkGAW2PLSL_cjs.patchDocuments(qc, (rows) => {
|
|
1838
1888
|
let changed = false;
|
|
1839
1889
|
const next = rows.map((doc) => {
|
|
1840
1890
|
const folder = moved(doc.folder);
|
|
@@ -1852,44 +1902,42 @@ function useRenameFolder() {
|
|
|
1852
1902
|
function useDeleteDocuments() {
|
|
1853
1903
|
const arbi = chunkYIUUTRMQ_cjs.useArbi();
|
|
1854
1904
|
const qc = reactQuery.useQueryClient();
|
|
1855
|
-
const { onDocumentsDeleted } = useDocumentsSupport();
|
|
1856
1905
|
return reactQuery.useMutation({
|
|
1857
1906
|
mutationKey: chunkRRWAX52L_cjs.arbiMutationKeys.deleteDocuments(),
|
|
1858
1907
|
mutationFn: (docIds) => arbi.documents.delete(docIds),
|
|
1859
1908
|
onSuccess: (_data, docIds) => {
|
|
1860
1909
|
const gone = new Set(docIds);
|
|
1861
|
-
|
|
1910
|
+
chunkGAW2PLSL_cjs.patchDocuments(
|
|
1862
1911
|
qc,
|
|
1863
1912
|
(old) => old.some((doc) => gone.has(doc.external_id)) ? old.filter((doc) => !gone.has(doc.external_id)) : old
|
|
1864
1913
|
);
|
|
1865
|
-
|
|
1866
|
-
|
|
1914
|
+
chunkGAW2PLSL_cjs.forgetDocuments(qc, docIds);
|
|
1915
|
+
const { clearTask } = chunkGAW2PLSL_cjs.useArbiWsStore.getState();
|
|
1916
|
+
for (const id of docIds) clearTask(id);
|
|
1867
1917
|
return qc.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.workspaces() });
|
|
1868
1918
|
}
|
|
1869
1919
|
});
|
|
1870
1920
|
}
|
|
1871
|
-
async function settleUpload(qc, arbi, docIds
|
|
1872
|
-
if (docIds?.length) await
|
|
1921
|
+
async function settleUpload(qc, arbi, docIds) {
|
|
1922
|
+
if (docIds?.length) await chunkGAW2PLSL_cjs.refreshDocuments(qc, arbi, docIds);
|
|
1873
1923
|
await qc.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.workspaces() });
|
|
1874
1924
|
}
|
|
1875
1925
|
function useUploadDocuments() {
|
|
1876
1926
|
const arbi = chunkYIUUTRMQ_cjs.useArbi();
|
|
1877
1927
|
const qc = reactQuery.useQueryClient();
|
|
1878
|
-
const { processingTask } = useDocumentsSupport();
|
|
1879
1928
|
return reactQuery.useMutation({
|
|
1880
1929
|
mutationKey: chunkRRWAX52L_cjs.arbiMutationKeys.uploadDocuments(),
|
|
1881
1930
|
mutationFn: ({ files, options }) => arbi.documents.upload(files, options),
|
|
1882
|
-
onSuccess: (result) => settleUpload(qc, arbi, result.doc_ext_ids
|
|
1931
|
+
onSuccess: (result) => settleUpload(qc, arbi, result.doc_ext_ids)
|
|
1883
1932
|
});
|
|
1884
1933
|
}
|
|
1885
1934
|
function useUploadUrls() {
|
|
1886
1935
|
const arbi = chunkYIUUTRMQ_cjs.useArbi();
|
|
1887
1936
|
const qc = reactQuery.useQueryClient();
|
|
1888
|
-
const { processingTask } = useDocumentsSupport();
|
|
1889
1937
|
return reactQuery.useMutation({
|
|
1890
1938
|
mutationKey: chunkRRWAX52L_cjs.arbiMutationKeys.uploadUrls(),
|
|
1891
1939
|
mutationFn: ({ urls, shared, configExtId }) => arbi.documents.uploadUrl(urls, { shared, configExtId }),
|
|
1892
|
-
onSuccess: (result) => settleUpload(qc, arbi, result.doc_ext_ids
|
|
1940
|
+
onSuccess: (result) => settleUpload(qc, arbi, result.doc_ext_ids)
|
|
1893
1941
|
});
|
|
1894
1942
|
}
|
|
1895
1943
|
function useAssignDocTags() {
|
|
@@ -1925,21 +1973,43 @@ function useUpdateDocTag() {
|
|
|
1925
1973
|
})
|
|
1926
1974
|
);
|
|
1927
1975
|
}
|
|
1976
|
+
function queueProcessing(documents2) {
|
|
1977
|
+
const store = chunkGAW2PLSL_cjs.useArbiWsStore.getState();
|
|
1978
|
+
const previous = documents2.map(({ docId }) => [docId, store.tasks[docId]]);
|
|
1979
|
+
const now = Date.now();
|
|
1980
|
+
for (const doc of documents2)
|
|
1981
|
+
store.putTask({
|
|
1982
|
+
doc_ext_id: doc.docId,
|
|
1983
|
+
workspace_ext_id: doc.workspaceId,
|
|
1984
|
+
file_name: doc.fileName,
|
|
1985
|
+
version: doc.version,
|
|
1986
|
+
status: "queued",
|
|
1987
|
+
progress: 0,
|
|
1988
|
+
startTime: now
|
|
1989
|
+
});
|
|
1990
|
+
return () => chunkGAW2PLSL_cjs.useArbiWsStore.setState((state) => {
|
|
1991
|
+
const tasks = { ...state.tasks };
|
|
1992
|
+
for (const [docId, task] of previous) {
|
|
1993
|
+
if (task) tasks[docId] = task;
|
|
1994
|
+
else delete tasks[docId];
|
|
1995
|
+
}
|
|
1996
|
+
return { tasks };
|
|
1997
|
+
});
|
|
1998
|
+
}
|
|
1928
1999
|
function useGenerateDocTags() {
|
|
1929
2000
|
const arbi = chunkYIUUTRMQ_cjs.useArbi();
|
|
1930
2001
|
const qc = reactQuery.useQueryClient();
|
|
1931
|
-
const { onProcessingQueued } = useDocumentsSupport();
|
|
1932
2002
|
return reactQuery.useMutation({
|
|
1933
2003
|
mutationKey: chunkRRWAX52L_cjs.arbiMutationKeys.generateDocTags(),
|
|
1934
2004
|
mutationFn: ({ tagIds, docIds, overwrite }) => arbi.doctags.generate(tagIds, docIds, { overwrite }),
|
|
1935
2005
|
onMutate: ({ docIds }) => {
|
|
1936
|
-
if (!
|
|
2006
|
+
if (!docIds.length) return void 0;
|
|
1937
2007
|
const workspaceId = arbi.hasWorkspace ? arbi.getWorkspaceId() : "";
|
|
1938
2008
|
const listed = new Map(
|
|
1939
|
-
(
|
|
2009
|
+
(chunkGAW2PLSL_cjs.getCachedDocuments(qc, workspaceId) ?? []).map((doc) => [doc.external_id, doc])
|
|
1940
2010
|
);
|
|
1941
2011
|
return {
|
|
1942
|
-
undo:
|
|
2012
|
+
undo: queueProcessing(
|
|
1943
2013
|
docIds.map((docId) => ({
|
|
1944
2014
|
docId,
|
|
1945
2015
|
workspaceId,
|
|
@@ -1955,17 +2025,37 @@ function useGenerateDocTags() {
|
|
|
1955
2025
|
function useFinaliseTranslation() {
|
|
1956
2026
|
const arbi = chunkYIUUTRMQ_cjs.useArbi();
|
|
1957
2027
|
const qc = reactQuery.useQueryClient();
|
|
1958
|
-
const { processingTask } = useDocumentsSupport();
|
|
1959
2028
|
return reactQuery.useMutation({
|
|
1960
2029
|
mutationFn: (docId) => arbi.documents.finaliseTranslation(docId),
|
|
1961
|
-
onSuccess: (result) => void
|
|
2030
|
+
onSuccess: (result) => void chunkGAW2PLSL_cjs.refreshDocuments(qc, arbi, [result.document_ext_id])
|
|
1962
2031
|
});
|
|
1963
2032
|
}
|
|
1964
2033
|
|
|
2034
|
+
// src/documents/support.tsx
|
|
2035
|
+
var NO_SUPPORT = {};
|
|
2036
|
+
function useDocumentsSupport() {
|
|
2037
|
+
return chunkYIUUTRMQ_cjs.useArbiHost().documents ?? NO_SUPPORT;
|
|
2038
|
+
}
|
|
2039
|
+
function useProcessingTasks() {
|
|
2040
|
+
return chunkGAW2PLSL_cjs.useArbiWsStore((state) => state.tasks);
|
|
2041
|
+
}
|
|
2042
|
+
function useProcessingTask(docId) {
|
|
2043
|
+
return chunkGAW2PLSL_cjs.useArbiWsStore((state) => state.tasks[docId]);
|
|
2044
|
+
}
|
|
2045
|
+
var NO_ACTIONS = {};
|
|
2046
|
+
function useDocumentHostActions() {
|
|
2047
|
+
const { useHostActions } = useDocumentsSupport();
|
|
2048
|
+
return useHostActions?.() ?? NO_ACTIONS;
|
|
2049
|
+
}
|
|
2050
|
+
function useOpenViewerDocumentId() {
|
|
2051
|
+
const { useOpenViewerDocumentId: useHostViewing } = useDocumentsSupport();
|
|
2052
|
+
return useHostViewing?.() ?? null;
|
|
2053
|
+
}
|
|
2054
|
+
|
|
1965
2055
|
// src/documents/document-download.ts
|
|
1966
2056
|
function fallbackFileName(doc) {
|
|
1967
2057
|
if (doc.file_name) return doc.file_name;
|
|
1968
|
-
const title =
|
|
2058
|
+
const title = chunkFSPLYO52_cjs.getDocumentTitle(doc, `document-${doc.external_id}`);
|
|
1969
2059
|
const extension = doc.file_type || "pdf";
|
|
1970
2060
|
const ext = extension.startsWith(".") ? extension : `.${extension}`;
|
|
1971
2061
|
return title.toLowerCase().endsWith(ext.toLowerCase()) ? title : `${title}${ext}`;
|
|
@@ -1973,11 +2063,11 @@ function fallbackFileName(doc) {
|
|
|
1973
2063
|
var COLUMN_MAPPING = {
|
|
1974
2064
|
file_name: {
|
|
1975
2065
|
header: "File Name",
|
|
1976
|
-
getValue: (d) => d.file_name ||
|
|
2066
|
+
getValue: (d) => d.file_name || chunkFSPLYO52_cjs.getDocumentTitle(d, `document-${d.external_id}.pdf`)
|
|
1977
2067
|
},
|
|
1978
|
-
title: { header: "Title", getValue: (d) =>
|
|
2068
|
+
title: { header: "Title", getValue: (d) => chunkFSPLYO52_cjs.getDocumentTitle(d) },
|
|
1979
2069
|
n_pages: { header: "Pages", getValue: (d) => d.n_pages || "" },
|
|
1980
|
-
doc_date: { header: "Document Date", getValue: (d) =>
|
|
2070
|
+
doc_date: { header: "Document Date", getValue: (d) => chunkFSPLYO52_cjs.getDocumentDate(d) || "" },
|
|
1981
2071
|
doc_id: { header: "Document ID", getValue: (d) => d.external_id },
|
|
1982
2072
|
status: { header: "Status", getValue: (d) => d.status || "" },
|
|
1983
2073
|
uploaded: { header: "Upload Date", getValue: (d) => d.created_at || "" },
|
|
@@ -2039,7 +2129,7 @@ function useDownloadDocuments({ workspaceName } = {}) {
|
|
|
2039
2129
|
downloaded.push(doc);
|
|
2040
2130
|
} catch (error) {
|
|
2041
2131
|
console.error(`Failed to download document ${doc.external_id}:`, error);
|
|
2042
|
-
failedDocs.push(
|
|
2132
|
+
failedDocs.push(chunkFSPLYO52_cjs.getDocumentTitle(doc, doc.external_id));
|
|
2043
2133
|
}
|
|
2044
2134
|
}
|
|
2045
2135
|
const successCount = downloaded.length;
|
|
@@ -2144,7 +2234,7 @@ function useDocumentThumbnails(visibleIds) {
|
|
|
2144
2234
|
for (const id of visibleIds)
|
|
2145
2235
|
if (IN_PROGRESS.has(tasks[id]?.status ?? "")) resolvedRef.current.delete(id);
|
|
2146
2236
|
const ready = visibleIds.filter(
|
|
2147
|
-
(id) => !resolvedRef.current.has(id) &&
|
|
2237
|
+
(id) => !resolvedRef.current.has(id) && chunkGAW2PLSL_cjs.FINISHED_DOCUMENT_STATUSES.has(tasks[id]?.status ?? "")
|
|
2148
2238
|
);
|
|
2149
2239
|
if (ready.length > 0) void fetchMissing(ready);
|
|
2150
2240
|
}, [tasks, idsKey, fetchMissing]);
|
|
@@ -2236,8 +2326,8 @@ function DocumentReview({
|
|
|
2236
2326
|
onClose,
|
|
2237
2327
|
className
|
|
2238
2328
|
}) {
|
|
2239
|
-
const parsedQuery =
|
|
2240
|
-
const tagsQuery =
|
|
2329
|
+
const parsedQuery = chunkCWJAULV2_cjs.useParsedDocument(docId, stage);
|
|
2330
|
+
const tagsQuery = chunkCWJAULV2_cjs.useTags(workspaceId);
|
|
2241
2331
|
const tagNameById = React__default.default.useMemo(() => {
|
|
2242
2332
|
const map = /* @__PURE__ */ new Map();
|
|
2243
2333
|
for (const t of tagsQuery.data ?? []) {
|
|
@@ -2304,7 +2394,7 @@ function DocumentReview({
|
|
|
2304
2394
|
findings.length ? ` \xB7 ${findings.length} findings` : ""
|
|
2305
2395
|
] })
|
|
2306
2396
|
] }),
|
|
2307
|
-
doc?.status ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
2397
|
+
doc?.status ? /* @__PURE__ */ jsxRuntime.jsx(chunkFSPLYO52_cjs.Badge, { variant: "secondary", children: doc.status }) : null,
|
|
2308
2398
|
onClose ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
2309
2399
|
"button",
|
|
2310
2400
|
{
|
|
@@ -2341,7 +2431,7 @@ function DocumentReview({
|
|
|
2341
2431
|
className: "w-full cursor-pointer rounded-md border p-2 text-left text-xs transition hover:border-ring hover:bg-muted/50 focus:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
2342
2432
|
children: [
|
|
2343
2433
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2344
|
-
|
|
2434
|
+
chunkFSPLYO52_cjs.TagEntity,
|
|
2345
2435
|
{
|
|
2346
2436
|
size: "sm",
|
|
2347
2437
|
tag: {
|
|
@@ -2386,7 +2476,7 @@ function DocumentReview({
|
|
|
2386
2476
|
),
|
|
2387
2477
|
children: [
|
|
2388
2478
|
highlighted ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-1", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2389
|
-
|
|
2479
|
+
chunkFSPLYO52_cjs.TagEntity,
|
|
2390
2480
|
{
|
|
2391
2481
|
size: "sm",
|
|
2392
2482
|
tag: {
|
|
@@ -2415,7 +2505,7 @@ function VoiceNoteRecorder({
|
|
|
2415
2505
|
isSaving = false,
|
|
2416
2506
|
transcribe
|
|
2417
2507
|
}) {
|
|
2418
|
-
const recorder =
|
|
2508
|
+
const recorder = chunkFSPLYO52_cjs.useAudioRecorder();
|
|
2419
2509
|
const [transcript, setTranscript] = React.useState(null);
|
|
2420
2510
|
const [isTranscribing, setIsTranscribing] = React.useState(false);
|
|
2421
2511
|
React.useEffect(() => {
|
|
@@ -2461,7 +2551,7 @@ function VoiceNoteRecorder({
|
|
|
2461
2551
|
] }),
|
|
2462
2552
|
(recorder.state === "recording" || recorder.state === "paused") && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2463
2553
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2464
|
-
|
|
2554
|
+
chunkFSPLYO52_cjs.MicWaveformIndicator,
|
|
2465
2555
|
{
|
|
2466
2556
|
level: recorder.level,
|
|
2467
2557
|
elapsedMs: recorder.elapsedMs,
|
|
@@ -2583,7 +2673,7 @@ function DraftTitleControls({
|
|
|
2583
2673
|
}
|
|
2584
2674
|
),
|
|
2585
2675
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2586
|
-
|
|
2676
|
+
chunkFSPLYO52_cjs.IconToggle,
|
|
2587
2677
|
{
|
|
2588
2678
|
icon: lucideReact.Sparkles,
|
|
2589
2679
|
isActive: autoRename,
|
|
@@ -2617,7 +2707,7 @@ function useCameraStream(constraints = { video: true, audio: false }) {
|
|
|
2617
2707
|
streamRef.current = media;
|
|
2618
2708
|
setStream(media);
|
|
2619
2709
|
} catch (err) {
|
|
2620
|
-
setError(
|
|
2710
|
+
setError(chunkFSPLYO52_cjs.classifyMediaError(err, "camera"));
|
|
2621
2711
|
} finally {
|
|
2622
2712
|
setIsStarting(false);
|
|
2623
2713
|
}
|
|
@@ -2853,7 +2943,7 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
|
|
|
2853
2943
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "relative inline-flex h-2 w-2 rounded-full bg-red-500" })
|
|
2854
2944
|
] }),
|
|
2855
2945
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs font-semibold uppercase tracking-wide text-red-500", children: "Rec" }),
|
|
2856
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-xs tabular-nums text-muted-foreground", children:
|
|
2946
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-xs tabular-nums text-muted-foreground", children: chunkFSPLYO52_cjs.formatElapsed(recorder.elapsedMs) })
|
|
2857
2947
|
] }),
|
|
2858
2948
|
recorder.state === "recording" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
2859
2949
|
chunkWYZJLZ67_cjs.Button,
|
|
@@ -3134,7 +3224,7 @@ async function runLimited(tasks, limit) {
|
|
|
3134
3224
|
function useUploadFiles() {
|
|
3135
3225
|
const arbi = chunkYIUUTRMQ_cjs.useArbi();
|
|
3136
3226
|
const qc = reactQuery.useQueryClient();
|
|
3137
|
-
const { resolveWorkspaceKey
|
|
3227
|
+
const { resolveWorkspaceKey } = useDocumentsSupport();
|
|
3138
3228
|
const { data: settings } = useUserSettings();
|
|
3139
3229
|
const { mutateAsync: generateDocTags } = useGenerateDocTags();
|
|
3140
3230
|
const direct = settings?.use_s3_direct_upload === true;
|
|
@@ -3209,7 +3299,7 @@ function useUploadFiles() {
|
|
|
3209
3299
|
if (docIds2.length > 0) {
|
|
3210
3300
|
for (const docId of docIds2) uploadedFolders.set(docId, { workspaceId, folder });
|
|
3211
3301
|
const made = new Set(docIds2);
|
|
3212
|
-
|
|
3302
|
+
chunkGAW2PLSL_cjs.patchDocuments(
|
|
3213
3303
|
qc,
|
|
3214
3304
|
(rows) => rows.map((doc) => made.has(doc.external_id) ? { ...doc, folder } : doc),
|
|
3215
3305
|
workspaceId
|
|
@@ -3225,7 +3315,7 @@ function useUploadFiles() {
|
|
|
3225
3315
|
const docIds = results.flatMap((result) => result.doc_ext_ids ?? []);
|
|
3226
3316
|
const skipped = results.flatMap((result) => result.skipped ?? []);
|
|
3227
3317
|
if (docIds.length > 0) {
|
|
3228
|
-
const read = await
|
|
3318
|
+
const read = await chunkGAW2PLSL_cjs.refreshDocuments(qc, arbi, docIds);
|
|
3229
3319
|
for (const doc of read) forgetUploadedDocumentFolder(doc.external_id);
|
|
3230
3320
|
}
|
|
3231
3321
|
await qc.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.workspaces() });
|
|
@@ -3236,7 +3326,7 @@ function useUploadFiles() {
|
|
|
3236
3326
|
}
|
|
3237
3327
|
return { docIds, skipped };
|
|
3238
3328
|
},
|
|
3239
|
-
[arbi, qc, direct, resolveWorkspaceKey,
|
|
3329
|
+
[arbi, qc, direct, resolveWorkspaceKey, generateDocTags]
|
|
3240
3330
|
);
|
|
3241
3331
|
}
|
|
3242
3332
|
function isZipUrl(url) {
|
|
@@ -3312,7 +3402,7 @@ function getRelatedLabels(related) {
|
|
|
3312
3402
|
return parts;
|
|
3313
3403
|
}
|
|
3314
3404
|
function useRelatedDocuments(documents2) {
|
|
3315
|
-
const { data: similarData } =
|
|
3405
|
+
const { data: similarData } = chunkGAW2PLSL_cjs.useSimilarDocuments();
|
|
3316
3406
|
const structuralKey = React.useMemo(() => {
|
|
3317
3407
|
const parts = [];
|
|
3318
3408
|
for (const doc of documents2) {
|
|
@@ -3392,7 +3482,7 @@ function useRelatedDocuments(documents2) {
|
|
|
3392
3482
|
}
|
|
3393
3483
|
if (similarData?.pairs) {
|
|
3394
3484
|
for (const pair of similarData.pairs) {
|
|
3395
|
-
if (pair.similarity <
|
|
3485
|
+
if (pair.similarity < chunkGAW2PLSL_cjs.SIMILARITY_THRESHOLD || pair.similarity >= 1) continue;
|
|
3396
3486
|
const docA = docById.get(pair.doc_a.external_id);
|
|
3397
3487
|
const docB = docById.get(pair.doc_b.external_id);
|
|
3398
3488
|
if (docA && docB) {
|
|
@@ -3411,6 +3501,360 @@ function useRelatedDocuments(documents2) {
|
|
|
3411
3501
|
return map;
|
|
3412
3502
|
}, [documents2, similarData, structuralKey]);
|
|
3413
3503
|
}
|
|
3504
|
+
var REPLAYABLE = [
|
|
3505
|
+
...chunkGAW2PLSL_cjs.replayableTagMutations,
|
|
3506
|
+
...replayableDocumentMutations
|
|
3507
|
+
];
|
|
3508
|
+
function isReplayableArbiMutation(mutationKey) {
|
|
3509
|
+
return !!mutationKey && REPLAYABLE.some((m) => reactQuery.partialMatchKey(mutationKey, m.mutationKey));
|
|
3510
|
+
}
|
|
3511
|
+
function registerArbiMutationDefaults(queryClient, client) {
|
|
3512
|
+
for (const m of REPLAYABLE) {
|
|
3513
|
+
queryClient.setMutationDefaults(m.mutationKey, {
|
|
3514
|
+
mutationFn: (variables) => m.run(client(), variables),
|
|
3515
|
+
onSuccess: (data, variables) => m.settle(queryClient, data, variables)
|
|
3516
|
+
});
|
|
3517
|
+
}
|
|
3518
|
+
}
|
|
3519
|
+
var DOCUMENT_FAMILIES = [
|
|
3520
|
+
"documents",
|
|
3521
|
+
"document",
|
|
3522
|
+
"documentsById",
|
|
3523
|
+
"documentVersions",
|
|
3524
|
+
"similarDocuments"
|
|
3525
|
+
];
|
|
3526
|
+
var OFFLINE_READABLE = [...DOCUMENT_FAMILIES, "workspaces", "userSettings", "projects"];
|
|
3527
|
+
function isOfflineReadableArbiQuery(queryKey) {
|
|
3528
|
+
return queryKey[0] === "arbi" && OFFLINE_READABLE.includes(queryKey[1]);
|
|
3529
|
+
}
|
|
3530
|
+
function isRestorableArbiQueryOnline(queryKey, data) {
|
|
3531
|
+
if (queryKey[0] !== "arbi") return true;
|
|
3532
|
+
if (queryKey[1] === "documents") return false;
|
|
3533
|
+
if (!DOCUMENT_FAMILIES.includes(queryKey[1])) return true;
|
|
3534
|
+
const docs = Array.isArray(data) ? data : [data];
|
|
3535
|
+
return !docs.some((doc) => {
|
|
3536
|
+
const status = doc?.status;
|
|
3537
|
+
return !!status && !chunkGAW2PLSL_cjs.FINISHED_DOCUMENT_STATUSES.has(status);
|
|
3538
|
+
});
|
|
3539
|
+
}
|
|
3540
|
+
|
|
3541
|
+
// src/documents/pending-sync.ts
|
|
3542
|
+
var META_LABELS = {
|
|
3543
|
+
title: "Title",
|
|
3544
|
+
doc_date: "Date",
|
|
3545
|
+
doc_nature: "Type",
|
|
3546
|
+
doc_author: "Author",
|
|
3547
|
+
doc_subject: "Abstract"
|
|
3548
|
+
};
|
|
3549
|
+
var KIND_BY_KEY = [
|
|
3550
|
+
[chunkRRWAX52L_cjs.arbiMutationKeys.updateDocuments(), "fields"],
|
|
3551
|
+
[chunkRRWAX52L_cjs.arbiMutationKeys.assignDocTags(), "assignTag"],
|
|
3552
|
+
[chunkRRWAX52L_cjs.arbiMutationKeys.removeDocTags(), "removeTag"],
|
|
3553
|
+
[chunkRRWAX52L_cjs.arbiMutationKeys.updateDocTag(), "noteTag"],
|
|
3554
|
+
[chunkRRWAX52L_cjs.arbiMutationKeys.createTag(), "createTag"]
|
|
3555
|
+
];
|
|
3556
|
+
function kindOf(mutationKey) {
|
|
3557
|
+
return mutationKey ? KIND_BY_KEY.find(([key]) => reactQuery.partialMatchKey(mutationKey, key))?.[1] : void 0;
|
|
3558
|
+
}
|
|
3559
|
+
function statusOf(isPaused, status) {
|
|
3560
|
+
if (status === "error") return "error";
|
|
3561
|
+
return isPaused ? "queued" : "syncing";
|
|
3562
|
+
}
|
|
3563
|
+
function docIdsFromVariables(kind, variables) {
|
|
3564
|
+
if (kind === "fields")
|
|
3565
|
+
return (variables?.documents ?? []).map(
|
|
3566
|
+
(d) => d.external_id
|
|
3567
|
+
);
|
|
3568
|
+
if (kind === "assignTag" || kind === "removeTag")
|
|
3569
|
+
return variables?.docIds ?? [];
|
|
3570
|
+
if (kind === "noteTag") {
|
|
3571
|
+
const docId = variables?.docId;
|
|
3572
|
+
return docId ? [docId] : [];
|
|
3573
|
+
}
|
|
3574
|
+
return [];
|
|
3575
|
+
}
|
|
3576
|
+
function prevDocsFrom(context) {
|
|
3577
|
+
const edit = context;
|
|
3578
|
+
if (!edit?.optimistic) return /* @__PURE__ */ new Map();
|
|
3579
|
+
return new Map(edit.previous.map((doc) => [doc.external_id, doc]));
|
|
3580
|
+
}
|
|
3581
|
+
function describeDocEdit(variables, context) {
|
|
3582
|
+
const first = variables?.documents?.[0];
|
|
3583
|
+
if (!first) return "Edited document";
|
|
3584
|
+
const prevDocs = prevDocsFrom(context);
|
|
3585
|
+
if ("folder" in first) {
|
|
3586
|
+
const folder = first.folder ?? null;
|
|
3587
|
+
return folder ? `Moved to ${folder}` : "Removed from folder";
|
|
3588
|
+
}
|
|
3589
|
+
if ("shared" in first) return first.shared ? "Shared in chat" : "Removed from chat";
|
|
3590
|
+
if ("labels" in first) return "Changed labels";
|
|
3591
|
+
if ("doc_metadata" in first) {
|
|
3592
|
+
const nextMeta = first.doc_metadata ?? {};
|
|
3593
|
+
const prevMeta = prevDocs.get(first.external_id)?.doc_metadata ?? {};
|
|
3594
|
+
const changed = [];
|
|
3595
|
+
for (const [key, label] of Object.entries(META_LABELS)) {
|
|
3596
|
+
const next = nextMeta[key] ?? "";
|
|
3597
|
+
const prev = prevMeta[key] ?? "";
|
|
3598
|
+
if (String(next) === String(prev)) continue;
|
|
3599
|
+
changed.push(next ? `${label} \u2192 \u201C${String(next)}\u201D` : `${label} cleared`);
|
|
3600
|
+
}
|
|
3601
|
+
if (changed.length > 0) return changed.join(", ");
|
|
3602
|
+
return "Edited details";
|
|
3603
|
+
}
|
|
3604
|
+
return "Edited document";
|
|
3605
|
+
}
|
|
3606
|
+
var TAG_VERBS = {
|
|
3607
|
+
assignTag: "Applied",
|
|
3608
|
+
removeTag: "Removed",
|
|
3609
|
+
noteTag: "Edited the note on"
|
|
3610
|
+
};
|
|
3611
|
+
function describeChange(raw, tagNameById) {
|
|
3612
|
+
const { kind, variables, context } = raw;
|
|
3613
|
+
const verb = TAG_VERBS[kind];
|
|
3614
|
+
if (verb) {
|
|
3615
|
+
const tagId = variables?.tagId;
|
|
3616
|
+
const tagName = tagId ? tagNameById.get(tagId) : void 0;
|
|
3617
|
+
return tagName ? `${verb} tag \u201C${tagName}\u201D` : `${verb} a tag`;
|
|
3618
|
+
}
|
|
3619
|
+
if (kind === "createTag") {
|
|
3620
|
+
const name = variables?.name;
|
|
3621
|
+
return name ? `Created tag \u201C${name}\u201D` : "Created a tag";
|
|
3622
|
+
}
|
|
3623
|
+
return describeDocEdit(variables, context);
|
|
3624
|
+
}
|
|
3625
|
+
function buildPendingSyncItem(raw, docNameById, tagNameById) {
|
|
3626
|
+
const docIds = docIdsFromVariables(raw.kind, raw.variables);
|
|
3627
|
+
const names = docIds.map((id) => docNameById.get(id)).filter(Boolean);
|
|
3628
|
+
const document2 = raw.kind === "createTag" ? "Workspace labels" : names.length > 0 ? names.join(", ") : docIds.length > 1 ? `${docIds.length} documents` : "A document";
|
|
3629
|
+
return {
|
|
3630
|
+
mutationId: raw.mutationId,
|
|
3631
|
+
document: document2,
|
|
3632
|
+
change: describeChange(raw, tagNameById),
|
|
3633
|
+
status: raw.status,
|
|
3634
|
+
at: raw.at,
|
|
3635
|
+
docIds
|
|
3636
|
+
};
|
|
3637
|
+
}
|
|
3638
|
+
var PENDING_SYNC_PREDICATE = (m) => (
|
|
3639
|
+
// Only real offline EDITS belong in the queue. An incidental paused mutation
|
|
3640
|
+
// (e.g. POST /v1/workspace/{id}/open fired on an offline cold-boot) is not a
|
|
3641
|
+
// user "change" and must not show as a phantom pending item.
|
|
3642
|
+
//
|
|
3643
|
+
// Gated on offline: a mutation only `isPaused` when React Query holds it back
|
|
3644
|
+
// for being offline, so this is the natural "offline mode" gate. We
|
|
3645
|
+
// deliberately do NOT count a plain in-flight (`status === 'pending'`) edit —
|
|
3646
|
+
// that's just a normal ONLINE save mid-request, and counting it made rows
|
|
3647
|
+
// flash "pending/syncing" while fully online. `error` is kept so a failed
|
|
3648
|
+
// sync stays visible to review/undo.
|
|
3649
|
+
isReplayableArbiMutation(m.options.mutationKey) && (m.state.isPaused || m.state.status === "error")
|
|
3650
|
+
);
|
|
3651
|
+
function usePendingSyncItems() {
|
|
3652
|
+
const { data: documents2 } = chunkGAW2PLSL_cjs.useDocuments();
|
|
3653
|
+
const { data: tags } = chunkCWJAULV2_cjs.useTags();
|
|
3654
|
+
const raw = reactQuery.useMutationState({
|
|
3655
|
+
filters: { predicate: PENDING_SYNC_PREDICATE },
|
|
3656
|
+
select: (m) => ({
|
|
3657
|
+
mutationId: m.mutationId,
|
|
3658
|
+
kind: kindOf(m.options.mutationKey) ?? "fields",
|
|
3659
|
+
variables: m.state.variables,
|
|
3660
|
+
context: m.state.context,
|
|
3661
|
+
status: statusOf(m.state.isPaused, m.state.status),
|
|
3662
|
+
at: m.state.submittedAt
|
|
3663
|
+
})
|
|
3664
|
+
});
|
|
3665
|
+
return React.useMemo(() => {
|
|
3666
|
+
const docNameById = /* @__PURE__ */ new Map();
|
|
3667
|
+
for (const doc of documents2 ?? [])
|
|
3668
|
+
docNameById.set(doc.external_id, chunkFSPLYO52_cjs.getDocumentTitle(doc, doc.file_name ?? ""));
|
|
3669
|
+
const tagNameById = /* @__PURE__ */ new Map();
|
|
3670
|
+
for (const tag of tags ?? []) tagNameById.set(tag.external_id, tag.name);
|
|
3671
|
+
return raw.map((r) => buildPendingSyncItem(r, docNameById, tagNameById));
|
|
3672
|
+
}, [raw, documents2, tags]);
|
|
3673
|
+
}
|
|
3674
|
+
function usePendingSyncCounts() {
|
|
3675
|
+
const statuses = reactQuery.useMutationState({
|
|
3676
|
+
filters: { predicate: PENDING_SYNC_PREDICATE },
|
|
3677
|
+
select: (m) => m.state.status === "error" ? "error" : "pending"
|
|
3678
|
+
});
|
|
3679
|
+
return React.useMemo(
|
|
3680
|
+
() => ({ pending: statuses.length, failed: statuses.filter((s) => s === "error").length }),
|
|
3681
|
+
[statuses]
|
|
3682
|
+
);
|
|
3683
|
+
}
|
|
3684
|
+
function useCancelManyPendingSync() {
|
|
3685
|
+
const queryClient = reactQuery.useQueryClient();
|
|
3686
|
+
return React.useCallback(
|
|
3687
|
+
(mutationIds) => {
|
|
3688
|
+
const wanted = new Set(mutationIds);
|
|
3689
|
+
const cache = queryClient.getMutationCache();
|
|
3690
|
+
const undoable = cache.getAll().filter((m) => wanted.has(m.mutationId) && (m.state.isPaused || m.state.status === "error")).sort((a, b) => b.state.submittedAt - a.state.submittedAt);
|
|
3691
|
+
for (const mutation of undoable) {
|
|
3692
|
+
rollbackOptimisticDocumentEdit(queryClient, mutation.state.context);
|
|
3693
|
+
cache.remove(mutation);
|
|
3694
|
+
}
|
|
3695
|
+
},
|
|
3696
|
+
[queryClient]
|
|
3697
|
+
);
|
|
3698
|
+
}
|
|
3699
|
+
var usePendingDocIds = zustand.create(() => ({ ids: /* @__PURE__ */ new Set() }));
|
|
3700
|
+
var watched = /* @__PURE__ */ new WeakSet();
|
|
3701
|
+
function sameSet(a, b) {
|
|
3702
|
+
if (a.size !== b.size) return false;
|
|
3703
|
+
for (const v of a) if (!b.has(v)) return false;
|
|
3704
|
+
return true;
|
|
3705
|
+
}
|
|
3706
|
+
function watchPendingDocIds(queryClient) {
|
|
3707
|
+
if (watched.has(queryClient)) return;
|
|
3708
|
+
watched.add(queryClient);
|
|
3709
|
+
const cache = queryClient.getMutationCache();
|
|
3710
|
+
const update = () => {
|
|
3711
|
+
const ids = new Set(
|
|
3712
|
+
cache.findAll({ predicate: PENDING_SYNC_PREDICATE }).flatMap((m) => docIdsFromVariables(kindOf(m.options.mutationKey), m.state.variables))
|
|
3713
|
+
);
|
|
3714
|
+
if (!sameSet(usePendingDocIds.getState().ids, ids)) usePendingDocIds.setState({ ids });
|
|
3715
|
+
};
|
|
3716
|
+
update();
|
|
3717
|
+
cache.subscribe(update);
|
|
3718
|
+
}
|
|
3719
|
+
function useDocumentPendingSync(docId) {
|
|
3720
|
+
const queryClient = reactQuery.useQueryClient();
|
|
3721
|
+
React.useState(() => watchPendingDocIds(queryClient));
|
|
3722
|
+
return usePendingDocIds((s) => docId ? s.ids.has(docId) : false);
|
|
3723
|
+
}
|
|
3724
|
+
var DB_NAME = "arbi-offline-docs";
|
|
3725
|
+
var DB_VERSION = 1;
|
|
3726
|
+
var STORE = "documents";
|
|
3727
|
+
var dbInstance = null;
|
|
3728
|
+
async function openDB() {
|
|
3729
|
+
if (dbInstance) return dbInstance;
|
|
3730
|
+
return new Promise((resolve, reject) => {
|
|
3731
|
+
const request = indexedDB.open(DB_NAME, DB_VERSION);
|
|
3732
|
+
request.onerror = () => reject(request.error);
|
|
3733
|
+
request.onsuccess = () => {
|
|
3734
|
+
const db = request.result;
|
|
3735
|
+
db.onversionchange = () => {
|
|
3736
|
+
db.close();
|
|
3737
|
+
if (dbInstance === db) dbInstance = null;
|
|
3738
|
+
};
|
|
3739
|
+
dbInstance = db;
|
|
3740
|
+
resolve(db);
|
|
3741
|
+
};
|
|
3742
|
+
request.onupgradeneeded = (event) => {
|
|
3743
|
+
const db = event.target.result;
|
|
3744
|
+
if (!db.objectStoreNames.contains(STORE)) {
|
|
3745
|
+
db.createObjectStore(STORE, { keyPath: "docExtId" });
|
|
3746
|
+
}
|
|
3747
|
+
};
|
|
3748
|
+
});
|
|
3749
|
+
}
|
|
3750
|
+
function promisify(request) {
|
|
3751
|
+
return new Promise((resolve, reject) => {
|
|
3752
|
+
request.onsuccess = () => resolve(request.result);
|
|
3753
|
+
request.onerror = () => reject(request.error);
|
|
3754
|
+
});
|
|
3755
|
+
}
|
|
3756
|
+
async function withStore(mode, run) {
|
|
3757
|
+
const db = await openDB();
|
|
3758
|
+
const store = db.transaction(STORE, mode).objectStore(STORE);
|
|
3759
|
+
return promisify(run(store));
|
|
3760
|
+
}
|
|
3761
|
+
async function putOfflineDocument(record) {
|
|
3762
|
+
await withStore("readwrite", (store) => store.put(record));
|
|
3763
|
+
}
|
|
3764
|
+
async function getOfflineDocument(docExtId) {
|
|
3765
|
+
const record = await withStore("readonly", (store) => store.get(docExtId));
|
|
3766
|
+
return record;
|
|
3767
|
+
}
|
|
3768
|
+
async function deleteOfflineDocument(docExtId) {
|
|
3769
|
+
await withStore("readwrite", (store) => store.delete(docExtId));
|
|
3770
|
+
}
|
|
3771
|
+
async function listOfflineDocumentIds() {
|
|
3772
|
+
const keys = await withStore("readonly", (store) => store.getAllKeys());
|
|
3773
|
+
return keys;
|
|
3774
|
+
}
|
|
3775
|
+
async function requestPersistentStorage() {
|
|
3776
|
+
try {
|
|
3777
|
+
if (!navigator.storage?.persist || !navigator.storage.persisted) return false;
|
|
3778
|
+
if (await navigator.storage.persisted()) return true;
|
|
3779
|
+
return await navigator.storage.persist();
|
|
3780
|
+
} catch {
|
|
3781
|
+
return false;
|
|
3782
|
+
}
|
|
3783
|
+
}
|
|
3784
|
+
async function wipeOfflineDocuments() {
|
|
3785
|
+
dbInstance?.close();
|
|
3786
|
+
dbInstance = null;
|
|
3787
|
+
await new Promise((resolve) => {
|
|
3788
|
+
const request = indexedDB.deleteDatabase(DB_NAME);
|
|
3789
|
+
request.onsuccess = request.onerror = request.onblocked = () => resolve();
|
|
3790
|
+
});
|
|
3791
|
+
}
|
|
3792
|
+
async function loadOfflineDocument(docId) {
|
|
3793
|
+
const record = await getOfflineDocument(docId);
|
|
3794
|
+
if (!record) return void 0;
|
|
3795
|
+
const keypair = await client.getUserEncryptionKeypair();
|
|
3796
|
+
if (!keypair) throw new Error("Cannot open the offline copy: no personal key in this session");
|
|
3797
|
+
const bytes = client.sealedBoxDecrypt(client.bytesToBase64(record.data), keypair.secretKey);
|
|
3798
|
+
return new Blob([bytes], { type: record.contentType });
|
|
3799
|
+
}
|
|
3800
|
+
async function keepDocumentsOffline(client$1, docs) {
|
|
3801
|
+
await requestPersistentStorage();
|
|
3802
|
+
const keypair = await client.getUserEncryptionKeypair();
|
|
3803
|
+
if (!keypair) throw new Error("Could not derive an encryption key for the offline copy.");
|
|
3804
|
+
for (const doc of docs) {
|
|
3805
|
+
const original = chunkFSPLYO52_cjs.usesOriginalBytesForViewer(doc.file_name);
|
|
3806
|
+
const blob = original ? await chunkONGNP4JM_cjs.fetchDocumentFile(client$1, doc.external_id) : await chunkONGNP4JM_cjs.fetchDocumentPdf(client$1, doc.external_id);
|
|
3807
|
+
const plain = new Uint8Array(await blob.arrayBuffer());
|
|
3808
|
+
await putOfflineDocument({
|
|
3809
|
+
docExtId: doc.external_id,
|
|
3810
|
+
fileName: chunkFSPLYO52_cjs.getDocumentTitle(doc, "document"),
|
|
3811
|
+
kind: original ? "original" : "pdf",
|
|
3812
|
+
data: client.base64ToBytes(client.sealedBoxEncrypt(plain, keypair.publicKey)),
|
|
3813
|
+
contentType: blob.type,
|
|
3814
|
+
savedAt: Date.now()
|
|
3815
|
+
});
|
|
3816
|
+
}
|
|
3817
|
+
}
|
|
3818
|
+
function useOfflineDocumentIds() {
|
|
3819
|
+
const { data } = reactQuery.useQuery({
|
|
3820
|
+
queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.offlineDocuments(),
|
|
3821
|
+
queryFn: async () => new Set(await listOfflineDocumentIds()),
|
|
3822
|
+
staleTime: Infinity,
|
|
3823
|
+
// Offline the default network mode would hold this local read back, and a cold start
|
|
3824
|
+
// offline would lose every "available offline" badge.
|
|
3825
|
+
networkMode: "always"
|
|
3826
|
+
});
|
|
3827
|
+
return data ?? EMPTY;
|
|
3828
|
+
}
|
|
3829
|
+
var EMPTY = /* @__PURE__ */ new Set();
|
|
3830
|
+
function useKeepDocumentsOffline() {
|
|
3831
|
+
const queryClient = reactQuery.useQueryClient();
|
|
3832
|
+
const arbi = chunkYIUUTRMQ_cjs.useArbi();
|
|
3833
|
+
const { onKeptOffline } = useDocumentsSupport();
|
|
3834
|
+
return reactQuery.useMutation({
|
|
3835
|
+
mutationFn: async (docs) => {
|
|
3836
|
+
await keepDocumentsOffline(arbi.getClient().fetch, docs);
|
|
3837
|
+
for (const doc of docs) chunkGAW2PLSL_cjs.setCachedDocument(queryClient, doc);
|
|
3838
|
+
await onKeptOffline?.();
|
|
3839
|
+
return docs.length;
|
|
3840
|
+
},
|
|
3841
|
+
onSettled: () => queryClient.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.offlineDocuments() }),
|
|
3842
|
+
onSuccess: (count) => chunkVAMPYLQ4_cjs.notify.success(`${count} document${count === 1 ? "" : "s"} available offline`),
|
|
3843
|
+
onError: () => chunkVAMPYLQ4_cjs.notify.error("Could not save documents for offline use")
|
|
3844
|
+
});
|
|
3845
|
+
}
|
|
3846
|
+
function useRemoveDocumentsOffline() {
|
|
3847
|
+
const queryClient = reactQuery.useQueryClient();
|
|
3848
|
+
return reactQuery.useMutation({
|
|
3849
|
+
mutationFn: async (docIds) => {
|
|
3850
|
+
for (const id of docIds) await deleteOfflineDocument(id);
|
|
3851
|
+
return docIds.length;
|
|
3852
|
+
},
|
|
3853
|
+
onSettled: () => queryClient.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.offlineDocuments() }),
|
|
3854
|
+
onSuccess: (count) => chunkVAMPYLQ4_cjs.notify.success(`Removed ${count} offline ${count === 1 ? "copy" : "copies"}`),
|
|
3855
|
+
onError: () => chunkVAMPYLQ4_cjs.notify.error("Could not remove offline copy")
|
|
3856
|
+
});
|
|
3857
|
+
}
|
|
3414
3858
|
|
|
3415
3859
|
// src/chat/stream-handlers.ts
|
|
3416
3860
|
var MIN_NARRATION_DWELL_MS = 4e3;
|
|
@@ -3425,11 +3869,11 @@ function createStreamHandlers(ctx, params) {
|
|
|
3425
3869
|
const clientId = streamState.queuedClientId;
|
|
3426
3870
|
if (!clientId || queuedEntryRetired) return;
|
|
3427
3871
|
queuedEntryRetired = true;
|
|
3428
|
-
const entry =
|
|
3872
|
+
const entry = chunkCWJAULV2_cjs.queuedMessages.find(session.getState().queuedMessages, clientId);
|
|
3429
3873
|
if (!entry) return;
|
|
3430
3874
|
const remainingVisibility = Math.max(
|
|
3431
3875
|
0,
|
|
3432
|
-
|
|
3876
|
+
chunkCWJAULV2_cjs.MIN_QUEUED_MESSAGE_VISIBILITY_MS - (Date.now() - entry.createdAt)
|
|
3433
3877
|
);
|
|
3434
3878
|
if (remainingVisibility === 0) {
|
|
3435
3879
|
session.removeQueuedMessage(clientId);
|
|
@@ -3445,7 +3889,7 @@ function createStreamHandlers(ctx, params) {
|
|
|
3445
3889
|
session.moveConversation("new", serverConversationId);
|
|
3446
3890
|
const userExtId = ctx.userId();
|
|
3447
3891
|
const nowIso = (/* @__PURE__ */ new Date()).toISOString();
|
|
3448
|
-
|
|
3892
|
+
chunkKHRCABUX_cjs.patchConversationList(
|
|
3449
3893
|
queryClient,
|
|
3450
3894
|
session.getState().workspaceId,
|
|
3451
3895
|
(old) => old.some((c) => c.external_id === serverConversationId) ? old : [
|
|
@@ -3567,7 +4011,7 @@ function createStreamHandlers(ctx, params) {
|
|
|
3567
4011
|
ensureAssistantMessageLoading(queryClient, conversationId, answerId);
|
|
3568
4012
|
});
|
|
3569
4013
|
}
|
|
3570
|
-
void
|
|
4014
|
+
void chunkKHRCABUX_cjs.invalidateConversationLists(queryClient);
|
|
3571
4015
|
session.setCursor(streamState.assistantId);
|
|
3572
4016
|
};
|
|
3573
4017
|
let firstTokenSeen = false;
|
|
@@ -3766,7 +4210,7 @@ function createStreamHandlers(ctx, params) {
|
|
|
3766
4210
|
}
|
|
3767
4211
|
function useStreamHandlers() {
|
|
3768
4212
|
const queryClient = reactQuery.useQueryClient();
|
|
3769
|
-
const session =
|
|
4213
|
+
const session = chunkCWJAULV2_cjs.useArbiSessionStore();
|
|
3770
4214
|
const config = chunkYIUUTRMQ_cjs.useArbiHost();
|
|
3771
4215
|
const arbi = chunkYIUUTRMQ_cjs.useArbi();
|
|
3772
4216
|
return React.useCallback(
|
|
@@ -3782,7 +4226,7 @@ function useStreamHandlers() {
|
|
|
3782
4226
|
return "";
|
|
3783
4227
|
}
|
|
3784
4228
|
},
|
|
3785
|
-
refreshDocuments: (ids) =>
|
|
4229
|
+
refreshDocuments: (ids) => chunkGAW2PLSL_cjs.refreshDocuments(queryClient, arbi, ids)
|
|
3786
4230
|
},
|
|
3787
4231
|
params
|
|
3788
4232
|
),
|
|
@@ -3859,7 +4303,7 @@ function cachedQuotaUsedUp(queryClient, workspaceId) {
|
|
|
3859
4303
|
// src/chat/useConversationActions.ts
|
|
3860
4304
|
var RECONCILE_TIMEOUT_MS = 5e3;
|
|
3861
4305
|
function draftAfterSend(queryClient, session, wasComment) {
|
|
3862
|
-
const shared =
|
|
4306
|
+
const shared = chunkKHRCABUX_cjs.isConversationShared(queryClient, session.getState().conversationId);
|
|
3863
4307
|
return shared && !wasComment ? `@${ASSISTANT_MENTION_LABEL} ` : "";
|
|
3864
4308
|
}
|
|
3865
4309
|
function failQueuedContinuation(queryClient, session, streamState) {
|
|
@@ -3892,7 +4336,7 @@ function useConversationActions({
|
|
|
3892
4336
|
lastFailedMessage
|
|
3893
4337
|
}) {
|
|
3894
4338
|
const queryClient = reactQuery.useQueryClient();
|
|
3895
|
-
const session =
|
|
4339
|
+
const session = chunkCWJAULV2_cjs.useArbiSessionStore();
|
|
3896
4340
|
const currentConversationId = conversationKey2 === "new" ? null : conversationKey2;
|
|
3897
4341
|
const invalidateUserWorkspaces = React.useCallback(
|
|
3898
4342
|
() => void queryClient.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.workspaces() }),
|
|
@@ -3948,7 +4392,7 @@ function useConversationActions({
|
|
|
3948
4392
|
const bindTo = session.getState().newChatDocumentId;
|
|
3949
4393
|
session.moveConversation("new", conversationId);
|
|
3950
4394
|
if (bindTo) session.setNewChatDocumentId(null);
|
|
3951
|
-
|
|
4395
|
+
chunkKHRCABUX_cjs.patchConversationList(queryClient, session.getState().workspaceId, (old) => [
|
|
3952
4396
|
{
|
|
3953
4397
|
external_id: conversationId,
|
|
3954
4398
|
title: content.slice(0, 40),
|
|
@@ -3970,14 +4414,14 @@ function useConversationActions({
|
|
|
3970
4414
|
);
|
|
3971
4415
|
invalidateUserWorkspaces();
|
|
3972
4416
|
} else {
|
|
3973
|
-
|
|
4417
|
+
chunkKHRCABUX_cjs.patchConversation(queryClient, conversationId, (c) => ({
|
|
3974
4418
|
...c,
|
|
3975
4419
|
message_count: c.message_count + 1,
|
|
3976
4420
|
updated_at: nowIso
|
|
3977
4421
|
}));
|
|
3978
4422
|
}
|
|
3979
4423
|
if (mentions.some((m) => m.type === "user")) {
|
|
3980
|
-
await
|
|
4424
|
+
await chunkKHRCABUX_cjs.invalidateConversationLists(queryClient);
|
|
3981
4425
|
}
|
|
3982
4426
|
await queryClient.invalidateQueries({ queryKey: getThreadsQueryKey(conversationId) });
|
|
3983
4427
|
session.setCursor(saved.external_id);
|
|
@@ -3985,7 +4429,7 @@ function useConversationActions({
|
|
|
3985
4429
|
chunkVAMPYLQ4_cjs.notify.error(
|
|
3986
4430
|
error instanceof browser.ArbiApiError && error.detail || "Failed to post the message"
|
|
3987
4431
|
);
|
|
3988
|
-
if (!
|
|
4432
|
+
if (!chunkCWJAULV2_cjs.selectDraft(session.getState())) session.setDraft(content);
|
|
3989
4433
|
}
|
|
3990
4434
|
},
|
|
3991
4435
|
[arbi, session, queryClient, invalidateUserWorkspaces]
|
|
@@ -4050,7 +4494,7 @@ function useConversationActions({
|
|
|
4050
4494
|
session.setConversationGenerating(convKey, true, abortController);
|
|
4051
4495
|
}
|
|
4052
4496
|
if (!queuedContinuation) {
|
|
4053
|
-
|
|
4497
|
+
chunkKHRCABUX_cjs.patchConversation(queryClient, convKey, { last_message_status: "in_progress" });
|
|
4054
4498
|
}
|
|
4055
4499
|
const streamState = {
|
|
4056
4500
|
conversationId: convKey,
|
|
@@ -4139,7 +4583,7 @@ function useConversationActions({
|
|
|
4139
4583
|
void queryClient.invalidateQueries({
|
|
4140
4584
|
queryKey: getThreadsQueryKey(streamState.conversationId)
|
|
4141
4585
|
});
|
|
4142
|
-
void
|
|
4586
|
+
void chunkKHRCABUX_cjs.invalidateConversationLists(queryClient);
|
|
4143
4587
|
}
|
|
4144
4588
|
return;
|
|
4145
4589
|
}
|
|
@@ -4158,7 +4602,7 @@ function useConversationActions({
|
|
|
4158
4602
|
}
|
|
4159
4603
|
if (ownsGeneration) {
|
|
4160
4604
|
const lastStatus = streamState.serverError ? "failed" : "completed";
|
|
4161
|
-
|
|
4605
|
+
chunkKHRCABUX_cjs.patchConversation(queryClient, streamState.conversationId, {
|
|
4162
4606
|
last_message_status: lastStatus
|
|
4163
4607
|
});
|
|
4164
4608
|
}
|
|
@@ -4191,7 +4635,7 @@ function useConversationActions({
|
|
|
4191
4635
|
});
|
|
4192
4636
|
if (ownsActiveGeneration()) {
|
|
4193
4637
|
session.setConversationGenerating(streamState.conversationId, false, null);
|
|
4194
|
-
|
|
4638
|
+
chunkKHRCABUX_cjs.patchConversation(queryClient, streamState.conversationId, {
|
|
4195
4639
|
last_message_status: "completed"
|
|
4196
4640
|
});
|
|
4197
4641
|
}
|
|
@@ -4214,10 +4658,10 @@ function useConversationActions({
|
|
|
4214
4658
|
if (ownsActiveGeneration()) {
|
|
4215
4659
|
session.setConversationGenerating(streamState.conversationId, false, null);
|
|
4216
4660
|
}
|
|
4217
|
-
void
|
|
4661
|
+
void chunkKHRCABUX_cjs.invalidateConversationLists(queryClient);
|
|
4218
4662
|
return;
|
|
4219
4663
|
}
|
|
4220
|
-
|
|
4664
|
+
chunkKHRCABUX_cjs.patchConversation(queryClient, streamState.conversationId, {
|
|
4221
4665
|
last_message_status: "failed"
|
|
4222
4666
|
});
|
|
4223
4667
|
const quota = browser.quotaFromStreamError(error) ?? cachedQuotaUsedUp(queryClient, session.getState().workspaceId);
|
|
@@ -4252,7 +4696,7 @@ function useConversationActions({
|
|
|
4252
4696
|
);
|
|
4253
4697
|
const handleSendMessage = React.useCallback(
|
|
4254
4698
|
async (options) => {
|
|
4255
|
-
const currentMessage =
|
|
4699
|
+
const currentMessage = chunkCWJAULV2_cjs.selectDraft(session.getState()).trim();
|
|
4256
4700
|
if (!selectedWorkspaceId || !chunkTUPSNW3B_cjs.hasMessageBody(currentMessage)) return;
|
|
4257
4701
|
session.setSuggestedQuery(null);
|
|
4258
4702
|
if (refuseChatWhenOffline()) return;
|
|
@@ -4363,7 +4807,7 @@ function useConversationActions({
|
|
|
4363
4807
|
if (!replyTo && currentConversationId) {
|
|
4364
4808
|
try {
|
|
4365
4809
|
await arbi.conversations.delete(currentConversationId);
|
|
4366
|
-
|
|
4810
|
+
chunkKHRCABUX_cjs.removeConversationFromLists(queryClient, currentConversationId);
|
|
4367
4811
|
session.startNewConversation();
|
|
4368
4812
|
} catch (error) {
|
|
4369
4813
|
console.error("Failed to delete conversation with orphaned first message:", error);
|
|
@@ -4431,16 +4875,16 @@ function selectThread(session, leafId) {
|
|
|
4431
4875
|
if (session.getState().cursor !== leafId) session.setCursor(leafId);
|
|
4432
4876
|
}
|
|
4433
4877
|
function useConversationData() {
|
|
4434
|
-
const session =
|
|
4435
|
-
const selectedWorkspaceId =
|
|
4436
|
-
const currentConversationId =
|
|
4437
|
-
const parentMessageId =
|
|
4438
|
-
const deepLinkMessageId =
|
|
4878
|
+
const session = chunkCWJAULV2_cjs.useArbiSessionStore();
|
|
4879
|
+
const selectedWorkspaceId = chunkCWJAULV2_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
4880
|
+
const currentConversationId = chunkCWJAULV2_cjs.useArbiSessionState((s) => s.conversationId);
|
|
4881
|
+
const parentMessageId = chunkCWJAULV2_cjs.useArbiSessionState((s) => s.cursor);
|
|
4882
|
+
const deepLinkMessageId = chunkCWJAULV2_cjs.useArbiSessionState((s) => s.deepLinkMessageId);
|
|
4439
4883
|
const {
|
|
4440
4884
|
data: threadsData,
|
|
4441
4885
|
isLoading: threadsLoading,
|
|
4442
4886
|
error: threadsError
|
|
4443
|
-
} =
|
|
4887
|
+
} = chunkCWJAULV2_cjs.useConversationThreads(currentConversationId || void 0);
|
|
4444
4888
|
const processedDeepLinkRef = React.useRef(null);
|
|
4445
4889
|
const prevConversationIdRef = React.useRef(null);
|
|
4446
4890
|
React.useEffect(() => {
|
|
@@ -4633,7 +5077,7 @@ function useBranchNavigation(threads, parentMessageId, messageHistory, setParent
|
|
|
4633
5077
|
var RECONNECT_DELAY_MS = 2e3;
|
|
4634
5078
|
var MAX_RECONNECTS = 5;
|
|
4635
5079
|
function useConnectRunStream(conversationId, messages) {
|
|
4636
|
-
const generation =
|
|
5080
|
+
const generation = chunkCWJAULV2_cjs.useArbiSessionState(
|
|
4637
5081
|
(s) => conversationId ? s.generating[conversationId] : void 0
|
|
4638
5082
|
);
|
|
4639
5083
|
const responseId = conversationId ? browser.getRunToAttach(generation, messages) : null;
|
|
@@ -4641,7 +5085,7 @@ function useConnectRunStream(conversationId, messages) {
|
|
|
4641
5085
|
}
|
|
4642
5086
|
function useAttachRun(conversationId, responseId) {
|
|
4643
5087
|
const queryClient = reactQuery.useQueryClient();
|
|
4644
|
-
const session =
|
|
5088
|
+
const session = chunkCWJAULV2_cjs.useArbiSessionStore();
|
|
4645
5089
|
const arbi = chunkYIUUTRMQ_cjs.useArbi();
|
|
4646
5090
|
const arbiRef = React.useRef(arbi);
|
|
4647
5091
|
arbiRef.current = arbi;
|
|
@@ -4840,14 +5284,14 @@ function useConversation(options = {}) {
|
|
|
4840
5284
|
const { agentId, model, titleLength = 48 } = options;
|
|
4841
5285
|
const arbi = chunkYIUUTRMQ_cjs.useArbi();
|
|
4842
5286
|
const queryClient = reactQuery.useQueryClient();
|
|
4843
|
-
const session =
|
|
4844
|
-
const sessionWorkspaceId =
|
|
5287
|
+
const session = chunkCWJAULV2_cjs.useArbiSessionStore();
|
|
5288
|
+
const sessionWorkspaceId = chunkCWJAULV2_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
4845
5289
|
const workspaceId = options.workspaceId ?? sessionWorkspaceId ?? void 0;
|
|
4846
|
-
const conversationId =
|
|
5290
|
+
const conversationId = chunkCWJAULV2_cjs.useArbiSessionState((s) => s.conversationId);
|
|
4847
5291
|
const conversationKey2 = conversationId ?? NEW;
|
|
4848
|
-
const generation =
|
|
4849
|
-
const newConversationMode =
|
|
4850
|
-
const queuedMessages2 =
|
|
5292
|
+
const generation = chunkCWJAULV2_cjs.useArbiSessionState((s) => s.generating[conversationKey2]);
|
|
5293
|
+
const newConversationMode = chunkCWJAULV2_cjs.useArbiSessionState((s) => s.newConversationAssistantMode);
|
|
5294
|
+
const queuedMessages2 = chunkCWJAULV2_cjs.useArbiSessionState((s) => s.queuedMessages);
|
|
4851
5295
|
const isRunning = !!generation?.isGenerating;
|
|
4852
5296
|
React.useEffect(() => {
|
|
4853
5297
|
if (workspaceId && session.getState().workspaceId !== workspaceId)
|
|
@@ -4859,8 +5303,8 @@ function useConversation(options = {}) {
|
|
|
4859
5303
|
React.useEffect(() => {
|
|
4860
5304
|
if (agentId && workspaceId && !conversationId) session.setNewAgentChat({ agentId, workspaceId });
|
|
4861
5305
|
}, [session, agentId, workspaceId, conversationId]);
|
|
4862
|
-
const { data: docs = [], isLoading: isLoadingDocuments } =
|
|
4863
|
-
const ordinaryHistory =
|
|
5306
|
+
const { data: docs = [], isLoading: isLoadingDocuments } = chunkGAW2PLSL_cjs.useDocuments(workspaceId);
|
|
5307
|
+
const ordinaryHistory = chunkCWJAULV2_cjs.useConversations(workspaceId, { enabled: !agentId, live: true });
|
|
4864
5308
|
const agentHistory = useAgentChats(agentId);
|
|
4865
5309
|
const stored = React.useMemo(
|
|
4866
5310
|
() => agentId ? (agentHistory.data ?? []).filter((chat) => chat.workspace_ext_id === workspaceId).map((chat) => ({
|
|
@@ -5086,7 +5530,7 @@ function useConversation(options = {}) {
|
|
|
5086
5530
|
void (async () => {
|
|
5087
5531
|
try {
|
|
5088
5532
|
await arbi.conversations.delete(id);
|
|
5089
|
-
|
|
5533
|
+
chunkKHRCABUX_cjs.removeConversationFromLists(queryClient, id);
|
|
5090
5534
|
if (session.getState().conversationId === id) session.startNewConversation();
|
|
5091
5535
|
} catch (e) {
|
|
5092
5536
|
setHistoryError(messageOf(e, "The conversation could not be deleted."));
|
|
@@ -5121,7 +5565,7 @@ function useConversation(options = {}) {
|
|
|
5121
5565
|
} else
|
|
5122
5566
|
uploaded.push(...(await arbi.documents.uploadFile(file, file.name)).doc_ext_ids ?? []);
|
|
5123
5567
|
}
|
|
5124
|
-
if (uploaded.length) await
|
|
5568
|
+
if (uploaded.length) await chunkGAW2PLSL_cjs.refreshDocuments(queryClient, arbi, uploaded);
|
|
5125
5569
|
} catch (e) {
|
|
5126
5570
|
setUploadError(messageOf(e, "The upload failed."));
|
|
5127
5571
|
} finally {
|
|
@@ -5170,10 +5614,10 @@ function ConversationScope({
|
|
|
5170
5614
|
conversationId,
|
|
5171
5615
|
children
|
|
5172
5616
|
}) {
|
|
5173
|
-
const outerWorkspaceId =
|
|
5617
|
+
const outerWorkspaceId = chunkCWJAULV2_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
5174
5618
|
const scopeWorkspaceId = workspaceId ?? outerWorkspaceId;
|
|
5175
5619
|
const [session] = React.useState(
|
|
5176
|
-
() =>
|
|
5620
|
+
() => chunkCWJAULV2_cjs.createArbiSessionStore({
|
|
5177
5621
|
workspaceId: scopeWorkspaceId,
|
|
5178
5622
|
conversationId: conversationId ?? null
|
|
5179
5623
|
})
|
|
@@ -5194,11 +5638,11 @@ async function applyConversationEvent(queryClient, event) {
|
|
|
5194
5638
|
if (e.type === "response_complete") return applyRunEnded(queryClient, e);
|
|
5195
5639
|
if (e.type === "conversation.message_posted") return applyMessagePosted(queryClient, e);
|
|
5196
5640
|
if (e.type === "conversation.title_updated" && e.conversation_ext_id) {
|
|
5197
|
-
|
|
5641
|
+
chunkKHRCABUX_cjs.patchConversation(queryClient, e.conversation_ext_id, { title: e.title ?? null });
|
|
5198
5642
|
}
|
|
5199
5643
|
if (e.type === "conversation.document_binding_changed" && e.conversation_ext_id) {
|
|
5200
5644
|
void queryClient.invalidateQueries({ queryKey: getThreadsQueryKey(e.conversation_ext_id) });
|
|
5201
|
-
void
|
|
5645
|
+
void chunkKHRCABUX_cjs.invalidateConversationLists(queryClient);
|
|
5202
5646
|
}
|
|
5203
5647
|
}
|
|
5204
5648
|
function applyRunEnded(queryClient, e) {
|
|
@@ -5215,10 +5659,10 @@ function applyRunEnded(queryClient, e) {
|
|
|
5215
5659
|
);
|
|
5216
5660
|
}
|
|
5217
5661
|
if (failed && e.response_id) markMessageAsFailed(queryClient, conversationId, e.response_id);
|
|
5218
|
-
|
|
5662
|
+
chunkKHRCABUX_cjs.patchConversation(queryClient, conversationId, {
|
|
5219
5663
|
last_message_status: failed ? "failed" : "completed"
|
|
5220
5664
|
});
|
|
5221
|
-
void
|
|
5665
|
+
void chunkKHRCABUX_cjs.invalidateConversationLists(queryClient);
|
|
5222
5666
|
void queryClient.invalidateQueries({ queryKey: getThreadsQueryKey(conversationId) });
|
|
5223
5667
|
if (!failed) void queryClient.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.userUsageToday() });
|
|
5224
5668
|
}
|
|
@@ -5226,7 +5670,7 @@ async function applyMessagePosted(queryClient, e) {
|
|
|
5226
5670
|
if (!e.conversation_ext_id) return;
|
|
5227
5671
|
const queryKey = getThreadsQueryKey(e.conversation_ext_id);
|
|
5228
5672
|
const refreshed = queryClient.invalidateQueries({ queryKey });
|
|
5229
|
-
void
|
|
5673
|
+
void chunkKHRCABUX_cjs.invalidateConversationLists(queryClient);
|
|
5230
5674
|
await refreshed;
|
|
5231
5675
|
const cached = queryClient.getQueryData(
|
|
5232
5676
|
queryKey
|
|
@@ -5239,10 +5683,10 @@ var migratedWorkspaces = /* @__PURE__ */ new Set();
|
|
|
5239
5683
|
function useThreadDocument() {
|
|
5240
5684
|
const arbi = chunkYIUUTRMQ_cjs.useArbi();
|
|
5241
5685
|
const queryClient = reactQuery.useQueryClient();
|
|
5242
|
-
const session =
|
|
5243
|
-
const conversationId =
|
|
5244
|
-
const workspaceId =
|
|
5245
|
-
const newChatDocumentId =
|
|
5686
|
+
const session = chunkCWJAULV2_cjs.useArbiSessionStore();
|
|
5687
|
+
const conversationId = chunkCWJAULV2_cjs.useArbiSessionState((s) => s.conversationId);
|
|
5688
|
+
const workspaceId = chunkCWJAULV2_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
5689
|
+
const newChatDocumentId = chunkCWJAULV2_cjs.useArbiSessionState((s) => s.newChatDocumentId);
|
|
5246
5690
|
const subscribe = React.useCallback(
|
|
5247
5691
|
(onChange) => queryClient.getQueryCache().subscribe(onChange),
|
|
5248
5692
|
[queryClient]
|
|
@@ -5257,7 +5701,7 @@ function useThreadDocument() {
|
|
|
5257
5701
|
() => threadBinding(queryClient, conversationId).unavailable,
|
|
5258
5702
|
() => false
|
|
5259
5703
|
);
|
|
5260
|
-
const { data: conversations, isPlaceholderData } =
|
|
5704
|
+
const { data: conversations, isPlaceholderData } = chunkCWJAULV2_cjs.useConversations(workspaceId ?? void 0);
|
|
5261
5705
|
React.useEffect(() => {
|
|
5262
5706
|
if (!workspaceId || !conversations || isPlaceholderData || migratedWorkspaces.has(workspaceId))
|
|
5263
5707
|
return;
|
|
@@ -5307,9 +5751,9 @@ function useConversationTurn({
|
|
|
5307
5751
|
selectedWorkspaceId,
|
|
5308
5752
|
parentMessageId
|
|
5309
5753
|
}) {
|
|
5310
|
-
const currentConversationId =
|
|
5754
|
+
const currentConversationId = chunkCWJAULV2_cjs.useArbiSessionState((state) => state.conversationId);
|
|
5311
5755
|
const conversationKey2 = currentConversationId || "new";
|
|
5312
|
-
const generationState =
|
|
5756
|
+
const generationState = chunkCWJAULV2_cjs.useArbiSessionState((state) => state.generating[conversationKey2]);
|
|
5313
5757
|
const isGenerating = generationState?.isGenerating ?? false;
|
|
5314
5758
|
const generationError = generationState?.error ?? null;
|
|
5315
5759
|
const lastFailedMessage = generationState?.lastFailedMessage ?? null;
|
|
@@ -5330,12 +5774,12 @@ function useConversationTurn({
|
|
|
5330
5774
|
}
|
|
5331
5775
|
var EMPTY_DOCS = [];
|
|
5332
5776
|
function useConversationDocuments() {
|
|
5333
|
-
const currentConversationId =
|
|
5777
|
+
const currentConversationId = chunkCWJAULV2_cjs.useArbiSessionState((state) => state.conversationId);
|
|
5334
5778
|
const convKey = currentConversationId || "new";
|
|
5335
|
-
const inConversationDocuments =
|
|
5779
|
+
const inConversationDocuments = chunkCWJAULV2_cjs.useArbiSessionState(
|
|
5336
5780
|
(state) => state.conversationDocuments[convKey] || EMPTY_DOCS
|
|
5337
5781
|
);
|
|
5338
|
-
const { data: documents2 = [], isLoading: isLoadingDocs } =
|
|
5782
|
+
const { data: documents2 = [], isLoading: isLoadingDocs } = chunkGAW2PLSL_cjs.useDocuments();
|
|
5339
5783
|
const conversationDocuments = React__default.default.useMemo(() => {
|
|
5340
5784
|
if (inConversationDocuments.length === 0) {
|
|
5341
5785
|
return [];
|
|
@@ -5367,8 +5811,8 @@ function useDocumentAutoAdd({
|
|
|
5367
5811
|
allWorkspaceDocuments,
|
|
5368
5812
|
hasContent = false
|
|
5369
5813
|
}) {
|
|
5370
|
-
const session =
|
|
5371
|
-
const currentConversationId =
|
|
5814
|
+
const session = chunkCWJAULV2_cjs.useArbiSessionStore();
|
|
5815
|
+
const currentConversationId = chunkCWJAULV2_cjs.useArbiSessionState((state) => state.conversationId);
|
|
5372
5816
|
const convKey = currentConversationId || "new";
|
|
5373
5817
|
const observedRef = React.useRef(null);
|
|
5374
5818
|
const offeredRef = React.useRef(/* @__PURE__ */ new Set());
|
|
@@ -5429,12 +5873,12 @@ function useDocumentAutoAdd({
|
|
|
5429
5873
|
}, [selectedWorkspaceId, convKey, allWorkspaceDocuments, hasContent, session]);
|
|
5430
5874
|
}
|
|
5431
5875
|
function useAutoSendDraft(sendDraft, ready = true) {
|
|
5432
|
-
const session =
|
|
5433
|
-
const autoSendDraft =
|
|
5876
|
+
const session = chunkCWJAULV2_cjs.useArbiSessionStore();
|
|
5877
|
+
const autoSendDraft = chunkCWJAULV2_cjs.useArbiSessionState((state) => state.autoSendDraft);
|
|
5434
5878
|
React.useEffect(() => {
|
|
5435
5879
|
if (!autoSendDraft || !ready) return;
|
|
5436
5880
|
session.setAutoSendDraft(false);
|
|
5437
|
-
if (
|
|
5881
|
+
if (chunkCWJAULV2_cjs.selectDraft(session.getState()).trim()) {
|
|
5438
5882
|
sendDraft();
|
|
5439
5883
|
}
|
|
5440
5884
|
}, [autoSendDraft, ready, sendDraft, session]);
|
|
@@ -5520,7 +5964,7 @@ function useAnswerAgentQuestion() {
|
|
|
5520
5964
|
);
|
|
5521
5965
|
}
|
|
5522
5966
|
function useAskAgain(options) {
|
|
5523
|
-
const session =
|
|
5967
|
+
const session = chunkCWJAULV2_cjs.useArbiSessionStore();
|
|
5524
5968
|
const optionsRef = React.useRef(options);
|
|
5525
5969
|
React.useEffect(() => {
|
|
5526
5970
|
optionsRef.current = options;
|
|
@@ -5612,11 +6056,11 @@ function useMessageTimer({
|
|
|
5612
6056
|
isUser,
|
|
5613
6057
|
isGenerating
|
|
5614
6058
|
}) {
|
|
5615
|
-
const session =
|
|
6059
|
+
const session = chunkCWJAULV2_cjs.useArbiSessionStore();
|
|
5616
6060
|
const convId = conversationId || "new";
|
|
5617
6061
|
const timerKey = `${convId}:${messageId}`;
|
|
5618
|
-
const generationStartTime =
|
|
5619
|
-
const storedElapsed =
|
|
6062
|
+
const generationStartTime = chunkCWJAULV2_cjs.useArbiSessionState((s) => s.generating[convId]?.startTime ?? null);
|
|
6063
|
+
const storedElapsed = chunkCWJAULV2_cjs.useArbiSessionState((s) => s.messageTimers[timerKey]?.elapsedTime);
|
|
5620
6064
|
const [elapsedTime, setElapsedTime] = React.useState(0);
|
|
5621
6065
|
const lastElapsedRef = React.useRef(0);
|
|
5622
6066
|
React.useEffect(() => {
|
|
@@ -5641,7 +6085,7 @@ function useMessageTimer({
|
|
|
5641
6085
|
}
|
|
5642
6086
|
function useAgentRunControl(assistantMessageExtId) {
|
|
5643
6087
|
const arbi = chunkYIUUTRMQ_cjs.useArbi();
|
|
5644
|
-
const session =
|
|
6088
|
+
const session = chunkCWJAULV2_cjs.useArbiSessionStore();
|
|
5645
6089
|
const send = React.useCallback(
|
|
5646
6090
|
(command) => {
|
|
5647
6091
|
if (!assistantMessageExtId) return;
|
|
@@ -5808,6 +6252,16 @@ var ChatBubble = React.memo(function ChatBubble2({
|
|
|
5808
6252
|
);
|
|
5809
6253
|
});
|
|
5810
6254
|
|
|
6255
|
+
// src/websocket/reconnect.ts
|
|
6256
|
+
var INITIAL_RECONNECT_DELAY_MS = 1e3;
|
|
6257
|
+
var MAX_RECONNECT_DELAY_MS = 3e4;
|
|
6258
|
+
function nextReconnectDelay(attempt) {
|
|
6259
|
+
return Math.min(INITIAL_RECONNECT_DELAY_MS * 2 ** Math.max(0, attempt), MAX_RECONNECT_DELAY_MS);
|
|
6260
|
+
}
|
|
6261
|
+
function resolveSocketBaseUrl(configured, origin) {
|
|
6262
|
+
return /^https?:\/\//.test(configured) || !origin ? configured : origin;
|
|
6263
|
+
}
|
|
6264
|
+
|
|
5811
6265
|
// src/mail/client.ts
|
|
5812
6266
|
var MailOfflineUnavailableError = class extends Error {
|
|
5813
6267
|
constructor(message) {
|
|
@@ -6251,6 +6705,30 @@ async function applyLiveUpdate(queryClient, message) {
|
|
|
6251
6705
|
return false;
|
|
6252
6706
|
}
|
|
6253
6707
|
}
|
|
6708
|
+
|
|
6709
|
+
// src/notifications/live.ts
|
|
6710
|
+
function isNotificationRow(message) {
|
|
6711
|
+
const m = message;
|
|
6712
|
+
return typeof m?.external_id === "string" && typeof m.recipient === "object" && m.recipient !== null;
|
|
6713
|
+
}
|
|
6714
|
+
var MAIL_TYPES = /* @__PURE__ */ new Set(["native_mail_received", "mail_draft_ready"]);
|
|
6715
|
+
function applyNotificationRow(queryClient, row, me) {
|
|
6716
|
+
if (MAIL_TYPES.has(row.type) && row.recipient.external_id === me)
|
|
6717
|
+
void queryClient.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.mailQueryKeys.all() });
|
|
6718
|
+
queryClient.setQueriesData(
|
|
6719
|
+
{ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.allNotifications() },
|
|
6720
|
+
(old) => {
|
|
6721
|
+
if (!Array.isArray(old)) return old;
|
|
6722
|
+
const index = old.findIndex((n) => n.external_id === row.external_id);
|
|
6723
|
+
if (index < 0) return [row, ...old];
|
|
6724
|
+
if (!row.read || old[index].read) return old;
|
|
6725
|
+
const next = [...old];
|
|
6726
|
+
next[index] = { ...old[index], read: true };
|
|
6727
|
+
return next;
|
|
6728
|
+
}
|
|
6729
|
+
);
|
|
6730
|
+
void queryClient.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.allNotifications() });
|
|
6731
|
+
}
|
|
6254
6732
|
var ArbiWsContext = React.createContext(null);
|
|
6255
6733
|
function useArbiWsContext() {
|
|
6256
6734
|
const ctx = React.useContext(ArbiWsContext);
|
|
@@ -6259,14 +6737,6 @@ function useArbiWsContext() {
|
|
|
6259
6737
|
}
|
|
6260
6738
|
return ctx;
|
|
6261
6739
|
}
|
|
6262
|
-
var INITIAL_RECONNECT_DELAY_MS = 1e3;
|
|
6263
|
-
var MAX_RECONNECT_DELAY_MS = 3e4;
|
|
6264
|
-
function nextReconnectDelay(attempt) {
|
|
6265
|
-
return Math.min(INITIAL_RECONNECT_DELAY_MS * 2 ** Math.max(0, attempt), MAX_RECONNECT_DELAY_MS);
|
|
6266
|
-
}
|
|
6267
|
-
function resolveSocketBaseUrl(configured, origin) {
|
|
6268
|
-
return /^https?:\/\//.test(configured) || !origin ? configured : origin;
|
|
6269
|
-
}
|
|
6270
6740
|
var EVICTED_CLOSE_CODE = 1008;
|
|
6271
6741
|
function ArbiWebSocketProvider({
|
|
6272
6742
|
enabled = true,
|
|
@@ -6278,11 +6748,11 @@ function ArbiWebSocketProvider({
|
|
|
6278
6748
|
arbiRef.current = arbi;
|
|
6279
6749
|
const queryClient = reactQuery.useQueryClient();
|
|
6280
6750
|
const subscribersRef = React.useRef(/* @__PURE__ */ new Set());
|
|
6281
|
-
const setStatus = useArbiWsStore((s) => s.setStatus);
|
|
6282
|
-
const applyTaskUpdate = useArbiWsStore((s) => s.applyTaskUpdate);
|
|
6283
|
-
const applyPresence = useArbiWsStore((s) => s.applyPresence);
|
|
6284
|
-
const reset = useArbiWsStore((s) => s.reset);
|
|
6285
|
-
const setEvicted = useArbiWsStore((s) => s.setEvicted);
|
|
6751
|
+
const setStatus = chunkGAW2PLSL_cjs.useArbiWsStore((s) => s.setStatus);
|
|
6752
|
+
const applyTaskUpdate = chunkGAW2PLSL_cjs.useArbiWsStore((s) => s.applyTaskUpdate);
|
|
6753
|
+
const applyPresence = chunkGAW2PLSL_cjs.useArbiWsStore((s) => s.applyPresence);
|
|
6754
|
+
const reset = chunkGAW2PLSL_cjs.useArbiWsStore((s) => s.reset);
|
|
6755
|
+
const setEvicted = chunkGAW2PLSL_cjs.useArbiWsStore((s) => s.setEvicted);
|
|
6286
6756
|
const onAuthenticatedRef = React.useRef(onAuthenticated);
|
|
6287
6757
|
onAuthenticatedRef.current = onAuthenticated;
|
|
6288
6758
|
const acceptRings = chunkYIUUTRMQ_cjs.useArbiHost().calls?.useEnabled?.() ?? true;
|
|
@@ -6306,22 +6776,32 @@ function ArbiWebSocketProvider({
|
|
|
6306
6776
|
}
|
|
6307
6777
|
let conn = null;
|
|
6308
6778
|
let cancelled = false;
|
|
6779
|
+
let evicted = false;
|
|
6780
|
+
const me = () => arbiRef.current.isLoggedIn ? arbiRef.current.user.identity()?.externalId ?? null : null;
|
|
6309
6781
|
const onMessage = (msg) => {
|
|
6310
|
-
|
|
6311
|
-
|
|
6312
|
-
|
|
6313
|
-
|
|
6314
|
-
else {
|
|
6315
|
-
|
|
6316
|
-
|
|
6317
|
-
|
|
6318
|
-
|
|
6319
|
-
|
|
6320
|
-
|
|
6321
|
-
|
|
6322
|
-
|
|
6323
|
-
|
|
6324
|
-
|
|
6782
|
+
const type = msg.type;
|
|
6783
|
+
if (type === "connection_closed") {
|
|
6784
|
+
evicted = true;
|
|
6785
|
+
setEvicted(true);
|
|
6786
|
+
} else if (client.isMessageType(msg, "task_update")) {
|
|
6787
|
+
if (applyTaskUpdate(msg)) applyTaskEvent(queryClient, arbiRef.current, msg, me());
|
|
6788
|
+
} else if (client.isMessageType(msg, "presence_update")) applyPresence(msg);
|
|
6789
|
+
else if (client.isMessageType(msg, "batch_complete")) {
|
|
6790
|
+
if (msg.batch_type === "entity_extract") {
|
|
6791
|
+
chunkGAW2PLSL_cjs.finishEntityExtraction(msg.doc_ext_ids ?? []);
|
|
6792
|
+
void queryClient.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.allFacts() });
|
|
6793
|
+
}
|
|
6794
|
+
if (msg.batch_type === "upload" || msg.batch_type === "entity_extract") {
|
|
6795
|
+
if (msg.doc_ext_ids?.length)
|
|
6796
|
+
void chunkGAW2PLSL_cjs.refreshDocuments(queryClient, arbiRef.current, msg.doc_ext_ids);
|
|
6797
|
+
void queryClient.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.allTags() });
|
|
6798
|
+
}
|
|
6799
|
+
} else if (type.startsWith("chat.") || type === "agent_dm_status")
|
|
6800
|
+
void chunkKHRCABUX_cjs.applyChatEvent(arbiRef.current, queryClient, msg);
|
|
6801
|
+
else if (type.startsWith("call."))
|
|
6802
|
+
chunkKHRCABUX_cjs.applyCallEvent(queryClient, msg, { me: me(), acceptRings: acceptRingsRef.current });
|
|
6803
|
+
else if (isNotificationRow(msg)) applyNotificationRow(queryClient, msg, me());
|
|
6804
|
+
else void applyLiveUpdate(queryClient, msg);
|
|
6325
6805
|
for (const fn of subscribersRef.current) {
|
|
6326
6806
|
try {
|
|
6327
6807
|
fn(msg);
|
|
@@ -6332,7 +6812,7 @@ function ArbiWebSocketProvider({
|
|
|
6332
6812
|
let retryTimer = null;
|
|
6333
6813
|
let attempt = 0;
|
|
6334
6814
|
const scheduleRestart = () => {
|
|
6335
|
-
if (cancelled || retryTimer) return;
|
|
6815
|
+
if (cancelled || evicted || retryTimer) return;
|
|
6336
6816
|
setStatus("disconnected");
|
|
6337
6817
|
const delay = nextReconnectDelay(attempt);
|
|
6338
6818
|
attempt += 1;
|
|
@@ -6371,16 +6851,18 @@ function ArbiWebSocketProvider({
|
|
|
6371
6851
|
attempt = 0;
|
|
6372
6852
|
setStatus("connected");
|
|
6373
6853
|
},
|
|
6374
|
-
// Evicted
|
|
6854
|
+
// Evicted (a newer session of the same user, or the server took this connection over for a
|
|
6855
|
+
// newer one of this session): reconnecting would be evicted again, or evict that one.
|
|
6375
6856
|
shouldReconnect: (code) => {
|
|
6376
|
-
if (code !== EVICTED_CLOSE_CODE) return true;
|
|
6857
|
+
if (code !== EVICTED_CLOSE_CODE && !evicted) return true;
|
|
6858
|
+
evicted = true;
|
|
6377
6859
|
setEvicted(true);
|
|
6378
6860
|
setStatus("disconnected");
|
|
6379
6861
|
return false;
|
|
6380
6862
|
},
|
|
6381
6863
|
onReconnectFailed: scheduleRestart,
|
|
6382
6864
|
onClose: () => {
|
|
6383
|
-
if (!cancelled) setStatus("reconnecting");
|
|
6865
|
+
if (!cancelled) setStatus(evicted ? "disconnected" : "reconnecting");
|
|
6384
6866
|
}
|
|
6385
6867
|
});
|
|
6386
6868
|
if (cancelled) {
|
|
@@ -6423,38 +6905,10 @@ function useArbiWsMessage(type, handler) {
|
|
|
6423
6905
|
);
|
|
6424
6906
|
}
|
|
6425
6907
|
function useArbiWsStatus() {
|
|
6426
|
-
return useArbiWsStore((s) => s.status);
|
|
6908
|
+
return chunkGAW2PLSL_cjs.useArbiWsStore((s) => s.status);
|
|
6427
6909
|
}
|
|
6428
6910
|
function useArbiConnected() {
|
|
6429
|
-
return useArbiWsStore((s) => s.status === "connected");
|
|
6430
|
-
}
|
|
6431
|
-
function useArbiWsTasks() {
|
|
6432
|
-
return useArbiWsStore((s) => s.tasks);
|
|
6433
|
-
}
|
|
6434
|
-
function useArbiWsTask(docId) {
|
|
6435
|
-
return useArbiWsStore((s) => s.tasks[docId]);
|
|
6436
|
-
}
|
|
6437
|
-
function useArbiDocumentSync(workspaceId) {
|
|
6438
|
-
const queryClient = reactQuery.useQueryClient();
|
|
6439
|
-
const arbi = chunkYIUUTRMQ_cjs.useArbi();
|
|
6440
|
-
React.useEffect(
|
|
6441
|
-
() => subscribeDocumentReads(queryClient, (rows) => useArbiWsStore.getState().settleTasks(rows)),
|
|
6442
|
-
[queryClient]
|
|
6443
|
-
);
|
|
6444
|
-
useArbiWebSocket((msg) => {
|
|
6445
|
-
if (!workspaceId) return;
|
|
6446
|
-
if (client.isMessageType(msg, "batch_complete")) {
|
|
6447
|
-
if (msg.workspace_ext_id !== workspaceId) return;
|
|
6448
|
-
if (msg.doc_ext_ids?.length) void chunk2ERRXEOB_cjs.refreshDocuments(queryClient, arbi, msg.doc_ext_ids);
|
|
6449
|
-
void queryClient.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.tags(workspaceId) });
|
|
6450
|
-
return;
|
|
6451
|
-
}
|
|
6452
|
-
if (client.isMessageType(msg, "task_update")) {
|
|
6453
|
-
if (msg.workspace_ext_id !== workspaceId) return;
|
|
6454
|
-
if (chunk2ERRXEOB_cjs.FINISHED_DOCUMENT_STATUSES.has(msg.status))
|
|
6455
|
-
void chunk2ERRXEOB_cjs.refreshDocuments(queryClient, arbi, [msg.doc_ext_id]);
|
|
6456
|
-
}
|
|
6457
|
-
});
|
|
6911
|
+
return chunkGAW2PLSL_cjs.useArbiWsStore((s) => s.status === "connected");
|
|
6458
6912
|
}
|
|
6459
6913
|
var WORKSPACE_SCOPED_PACKAGE_KEYS = [
|
|
6460
6914
|
chunkRRWAX52L_cjs.arbiQueryKeys.allDocuments(),
|
|
@@ -6512,7 +6966,7 @@ function createWorkspaceSwitch({
|
|
|
6512
6966
|
if (isSame && workspaceStatus === "open") return true;
|
|
6513
6967
|
const listed = listedWorkspace(queryClient, target.id);
|
|
6514
6968
|
const name = target.name || listed?.name || "";
|
|
6515
|
-
const noun =
|
|
6969
|
+
const noun = chunkFSPLYO52_cjs.getEntityLabel("WORKSPACE");
|
|
6516
6970
|
if (listed?.archive) {
|
|
6517
6971
|
chunkVAMPYLQ4_cjs.notify.info(archivedWorkspaceMessage(name));
|
|
6518
6972
|
return false;
|
|
@@ -6597,7 +7051,7 @@ function useSwitchWorkspace() {
|
|
|
6597
7051
|
const arbi = chunkYIUUTRMQ_cjs.useArbi();
|
|
6598
7052
|
const arbiRef = React.useRef(arbi);
|
|
6599
7053
|
arbiRef.current = arbi;
|
|
6600
|
-
const session =
|
|
7054
|
+
const session = chunkCWJAULV2_cjs.useArbiSessionStore();
|
|
6601
7055
|
const queryClient = reactQuery.useQueryClient();
|
|
6602
7056
|
React.useEffect(
|
|
6603
7057
|
() => arbi.onSigningOut?.(() => {
|
|
@@ -6614,9 +7068,9 @@ function useSwitchWorkspace() {
|
|
|
6614
7068
|
function useOpenSelectedWorkspace() {
|
|
6615
7069
|
const arbi = chunkYIUUTRMQ_cjs.useArbi();
|
|
6616
7070
|
const { clearWorkspace, openSelectedWorkspace } = useSwitchWorkspace();
|
|
6617
|
-
const workspaceId =
|
|
6618
|
-
const status =
|
|
6619
|
-
const { data: workspaces, isLoading: listing } =
|
|
7071
|
+
const workspaceId = chunkCWJAULV2_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
7072
|
+
const status = chunkCWJAULV2_cjs.useArbiSessionState((s) => s.workspaceStatus);
|
|
7073
|
+
const { data: workspaces, isLoading: listing } = chunkCWJAULV2_cjs.useWorkspaces();
|
|
6620
7074
|
const archived = workspaces?.find(
|
|
6621
7075
|
(w) => w.external_id === workspaceId && w.archive
|
|
6622
7076
|
);
|
|
@@ -6759,8 +7213,8 @@ function useShellWorkspaces(options) {
|
|
|
6759
7213
|
};
|
|
6760
7214
|
}
|
|
6761
7215
|
function useArbiShellWorkspaces(options = {}) {
|
|
6762
|
-
const sessionWorkspaceId =
|
|
6763
|
-
const query =
|
|
7216
|
+
const sessionWorkspaceId = chunkCWJAULV2_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
7217
|
+
const query = chunkCWJAULV2_cjs.useWorkspaces();
|
|
6764
7218
|
const { switchWorkspace } = useSwitchWorkspace();
|
|
6765
7219
|
const { select, ...rest } = options;
|
|
6766
7220
|
const defaultSelect = React.useCallback(
|
|
@@ -7282,42 +7736,6 @@ function usePassageQuotes(docIds) {
|
|
|
7282
7736
|
[passages]
|
|
7283
7737
|
);
|
|
7284
7738
|
}
|
|
7285
|
-
var REPLAYABLE = [
|
|
7286
|
-
...chunk2ERRXEOB_cjs.replayableTagMutations,
|
|
7287
|
-
...replayableDocumentMutations
|
|
7288
|
-
];
|
|
7289
|
-
function isReplayableArbiMutation(mutationKey) {
|
|
7290
|
-
return !!mutationKey && REPLAYABLE.some((m) => reactQuery.partialMatchKey(mutationKey, m.mutationKey));
|
|
7291
|
-
}
|
|
7292
|
-
function registerArbiMutationDefaults(queryClient, client) {
|
|
7293
|
-
for (const m of REPLAYABLE) {
|
|
7294
|
-
queryClient.setMutationDefaults(m.mutationKey, {
|
|
7295
|
-
mutationFn: (variables) => m.run(client(), variables),
|
|
7296
|
-
onSuccess: (data, variables) => m.settle(queryClient, data, variables)
|
|
7297
|
-
});
|
|
7298
|
-
}
|
|
7299
|
-
}
|
|
7300
|
-
var DOCUMENT_FAMILIES = [
|
|
7301
|
-
"documents",
|
|
7302
|
-
"document",
|
|
7303
|
-
"documentsById",
|
|
7304
|
-
"documentVersions",
|
|
7305
|
-
"similarDocuments"
|
|
7306
|
-
];
|
|
7307
|
-
var OFFLINE_READABLE = [...DOCUMENT_FAMILIES, "workspaces", "userSettings", "projects"];
|
|
7308
|
-
function isOfflineReadableArbiQuery(queryKey) {
|
|
7309
|
-
return queryKey[0] === "arbi" && OFFLINE_READABLE.includes(queryKey[1]);
|
|
7310
|
-
}
|
|
7311
|
-
function isRestorableArbiQueryOnline(queryKey, data) {
|
|
7312
|
-
if (queryKey[0] !== "arbi") return true;
|
|
7313
|
-
if (queryKey[1] === "documents") return false;
|
|
7314
|
-
if (!DOCUMENT_FAMILIES.includes(queryKey[1])) return true;
|
|
7315
|
-
const docs = Array.isArray(data) ? data : [data];
|
|
7316
|
-
return !docs.some((doc) => {
|
|
7317
|
-
const status = doc?.status;
|
|
7318
|
-
return !!status && !chunk2ERRXEOB_cjs.FINISHED_DOCUMENT_STATUSES.has(status);
|
|
7319
|
-
});
|
|
7320
|
-
}
|
|
7321
7739
|
function useFilteredProjects(filters, options) {
|
|
7322
7740
|
const arbi = chunkYIUUTRMQ_cjs.useArbi();
|
|
7323
7741
|
return reactQuery.useQuery({
|
|
@@ -7900,8 +8318,8 @@ function usePeople() {
|
|
|
7900
8318
|
const arbi = chunkYIUUTRMQ_cjs.useArbi();
|
|
7901
8319
|
const meId = arbi.isLoggedIn ? arbi.user.identity()?.externalId : void 0;
|
|
7902
8320
|
const { data: contacts = [] } = useContacts();
|
|
7903
|
-
const { data: workspaces = [] } =
|
|
7904
|
-
const { data: agents = [] } =
|
|
8321
|
+
const { data: workspaces = [] } = chunkCWJAULV2_cjs.useWorkspaces();
|
|
8322
|
+
const { data: agents = [] } = chunkCWJAULV2_cjs.useAgents();
|
|
7905
8323
|
return React.useMemo(() => {
|
|
7906
8324
|
const people = [];
|
|
7907
8325
|
const contactOf = /* @__PURE__ */ new Map();
|
|
@@ -7994,13 +8412,13 @@ var supportsHouseTemplates = browser.houseTemplates.supportsHouseTemplates;
|
|
|
7994
8412
|
var workspaceHouseTemplateId = browser.houseTemplates.workspaceHouseTemplateId;
|
|
7995
8413
|
var isDeploymentAdmin = browser.houseTemplates.isDeploymentAdmin;
|
|
7996
8414
|
function useRequestEmailChange() {
|
|
7997
|
-
const { client } =
|
|
8415
|
+
const { client } = chunkKHRCABUX_cjs.useAccountClient();
|
|
7998
8416
|
return reactQuery.useMutation({
|
|
7999
8417
|
mutationFn: (newEmail) => client.requestEmailChange(newEmail)
|
|
8000
8418
|
});
|
|
8001
8419
|
}
|
|
8002
8420
|
function useConfirmEmailChange() {
|
|
8003
|
-
const { client } =
|
|
8421
|
+
const { client } = chunkKHRCABUX_cjs.useAccountClient();
|
|
8004
8422
|
const qc = reactQuery.useQueryClient();
|
|
8005
8423
|
return reactQuery.useMutation({
|
|
8006
8424
|
mutationFn: ({ newEmail, code }) => client.confirmEmailChange(newEmail, code),
|
|
@@ -8068,7 +8486,7 @@ function useEmailChange({
|
|
|
8068
8486
|
};
|
|
8069
8487
|
}
|
|
8070
8488
|
function usePasswordChange() {
|
|
8071
|
-
const { client } =
|
|
8489
|
+
const { client } = chunkKHRCABUX_cjs.useAccountClient();
|
|
8072
8490
|
return reactQuery.useMutation({
|
|
8073
8491
|
mutationFn: (vars) => client.changePassword(vars)
|
|
8074
8492
|
});
|
|
@@ -8306,7 +8724,7 @@ function useFollowThread(conversationId, options) {
|
|
|
8306
8724
|
};
|
|
8307
8725
|
}
|
|
8308
8726
|
function useSessions(options) {
|
|
8309
|
-
const { client, enabled } =
|
|
8727
|
+
const { client, enabled } = chunkKHRCABUX_cjs.useAccountClient();
|
|
8310
8728
|
return reactQuery.useQuery({
|
|
8311
8729
|
queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.sessions(),
|
|
8312
8730
|
queryFn: () => client.listSessions(),
|
|
@@ -8314,7 +8732,7 @@ function useSessions(options) {
|
|
|
8314
8732
|
});
|
|
8315
8733
|
}
|
|
8316
8734
|
function useTerminateSession() {
|
|
8317
|
-
const { client } =
|
|
8735
|
+
const { client } = chunkKHRCABUX_cjs.useAccountClient();
|
|
8318
8736
|
const qc = reactQuery.useQueryClient();
|
|
8319
8737
|
return reactQuery.useMutation({
|
|
8320
8738
|
mutationFn: (sessionId) => client.terminateSession(sessionId),
|
|
@@ -8322,7 +8740,7 @@ function useTerminateSession() {
|
|
|
8322
8740
|
});
|
|
8323
8741
|
}
|
|
8324
8742
|
function useSignOut() {
|
|
8325
|
-
const { client } =
|
|
8743
|
+
const { client } = chunkKHRCABUX_cjs.useAccountClient();
|
|
8326
8744
|
const qc = reactQuery.useQueryClient();
|
|
8327
8745
|
return reactQuery.useMutation({
|
|
8328
8746
|
mutationFn: (options = {}) => client.signOut(options),
|
|
@@ -8330,7 +8748,7 @@ function useSignOut() {
|
|
|
8330
8748
|
});
|
|
8331
8749
|
}
|
|
8332
8750
|
function useCurrentSessionId() {
|
|
8333
|
-
return
|
|
8751
|
+
return chunkKHRCABUX_cjs.useAccountClient().client.currentSessionId();
|
|
8334
8752
|
}
|
|
8335
8753
|
function parseDeleteAccountBlockers(error) {
|
|
8336
8754
|
const body = error?.apiError ?? error;
|
|
@@ -8345,7 +8763,7 @@ function parseDeleteAccountBlockers(error) {
|
|
|
8345
8763
|
return [];
|
|
8346
8764
|
}
|
|
8347
8765
|
function useDeleteAccount() {
|
|
8348
|
-
const { client } =
|
|
8766
|
+
const { client } = chunkKHRCABUX_cjs.useAccountClient();
|
|
8349
8767
|
return reactQuery.useMutation({ mutationFn: () => client.requestDeletion() });
|
|
8350
8768
|
}
|
|
8351
8769
|
function useDeleteAccountFlow({
|
|
@@ -8667,7 +9085,7 @@ function useIdentityVerificationFlow(api, {
|
|
|
8667
9085
|
};
|
|
8668
9086
|
}
|
|
8669
9087
|
function useIdentityVerification(options = {}) {
|
|
8670
|
-
const { client, enabled } =
|
|
9088
|
+
const { client, enabled } = chunkKHRCABUX_cjs.useAccountClient();
|
|
8671
9089
|
const qc = reactQuery.useQueryClient();
|
|
8672
9090
|
const { onVerifiedChange, onNameAccepted, formatPrice } = options;
|
|
8673
9091
|
return useIdentityVerificationFlow(client.identity, {
|
|
@@ -9469,7 +9887,7 @@ function useDeleteBookingPage() {
|
|
|
9469
9887
|
});
|
|
9470
9888
|
}
|
|
9471
9889
|
function useWorkspaceDocs(workspaceId) {
|
|
9472
|
-
const { data: docs = [], isLoading, isError } =
|
|
9890
|
+
const { data: docs = [], isLoading, isError } = chunkGAW2PLSL_cjs.useDocuments(workspaceId);
|
|
9473
9891
|
const docIds = React.useMemo(
|
|
9474
9892
|
() => docs.map((d) => d.external_id).filter((id) => !!id),
|
|
9475
9893
|
[docs]
|
|
@@ -9477,7 +9895,7 @@ function useWorkspaceDocs(workspaceId) {
|
|
|
9477
9895
|
return { wsId: workspaceId, docs, docIds, isLoading, isError, ready: docIds.length > 0 };
|
|
9478
9896
|
}
|
|
9479
9897
|
function useAiTask() {
|
|
9480
|
-
const mutation =
|
|
9898
|
+
const mutation = chunkCWJAULV2_cjs.useAssistantQuery();
|
|
9481
9899
|
const [status, setStatus] = React.useState("idle");
|
|
9482
9900
|
const [text, setText] = React.useState("");
|
|
9483
9901
|
const [stepCount, setStepCount] = React.useState(0);
|
|
@@ -9650,7 +10068,7 @@ function AiAnswer({
|
|
|
9650
10068
|
}
|
|
9651
10069
|
),
|
|
9652
10070
|
hasText && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
9653
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10071
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkFSPLYO52_cjs.AiMarkdown, { isStreaming: running, children: text }),
|
|
9654
10072
|
!running && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between border-t border-border pt-2.5", children: [
|
|
9655
10073
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "inline-flex items-center gap-1.5 text-xs text-muted-foreground", children: [
|
|
9656
10074
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.ShieldCheck, { className: "size-3.5 text-ai-accent" }),
|
|
@@ -9695,7 +10113,7 @@ function AiActionCard({
|
|
|
9695
10113
|
const p = typeof prompt === "function" ? prompt() : prompt;
|
|
9696
10114
|
void task.run(p, docIds);
|
|
9697
10115
|
};
|
|
9698
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
10116
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkFSPLYO52_cjs.Card, { variant: "elevated", className: "rounded-xl p-5", "data-testid": testId, children: [
|
|
9699
10117
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start justify-between gap-4", children: [
|
|
9700
10118
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-3", children: [
|
|
9701
10119
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-9 shrink-0 items-center justify-center rounded-lg bg-ai-accent-soft text-ai-accent", children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { className: "size-4" }) }),
|
|
@@ -9837,11 +10255,11 @@ function ArtifactCanvas({
|
|
|
9837
10255
|
children: active.title
|
|
9838
10256
|
}
|
|
9839
10257
|
),
|
|
9840
|
-
isRedline && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
10258
|
+
isRedline && /* @__PURE__ */ jsxRuntime.jsxs(chunkFSPLYO52_cjs.Badge, { variant: "accent", className: "gap-1", children: [
|
|
9841
10259
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.GitCompareArrows, { className: "size-3" }),
|
|
9842
10260
|
" Redline"
|
|
9843
10261
|
] }),
|
|
9844
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
10262
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkFSPLYO52_cjs.Badge, { variant: "secondary", children: [
|
|
9845
10263
|
"v",
|
|
9846
10264
|
active.version
|
|
9847
10265
|
] }),
|
|
@@ -9897,7 +10315,7 @@ function ArtifactCanvas({
|
|
|
9897
10315
|
animate: { opacity: 1, y: 0 },
|
|
9898
10316
|
transition: { duration: 0.2 },
|
|
9899
10317
|
className: "mx-auto max-w-2xl rounded-lg bg-card p-8 shadow-sm ring-1 ring-border",
|
|
9900
|
-
children: active.mode === "html" ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm", dangerouslySetInnerHTML: { __html: active.content } }) : active.mode === "text" ? /* @__PURE__ */ jsxRuntime.jsx("pre", { className: "whitespace-pre-wrap font-mono text-xs text-foreground", children: active.content }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
10318
|
+
children: active.mode === "html" ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm", dangerouslySetInnerHTML: { __html: active.content } }) : active.mode === "text" ? /* @__PURE__ */ jsxRuntime.jsx("pre", { className: "whitespace-pre-wrap font-mono text-xs text-foreground", children: active.content }) : /* @__PURE__ */ jsxRuntime.jsx(chunkFSPLYO52_cjs.AiMarkdown, { children: active.content })
|
|
9901
10319
|
},
|
|
9902
10320
|
active.doc_ext_id
|
|
9903
10321
|
) }) })
|
|
@@ -9941,7 +10359,7 @@ function MessageArtifactCard({
|
|
|
9941
10359
|
const labels = labelsFor(mode);
|
|
9942
10360
|
const Icon = labels.Icon;
|
|
9943
10361
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
9944
|
-
|
|
10362
|
+
chunkFSPLYO52_cjs.Card,
|
|
9945
10363
|
{
|
|
9946
10364
|
variant: "outline",
|
|
9947
10365
|
className: "mt-3 flex items-center gap-3 px-3 py-2.5",
|
|
@@ -10086,7 +10504,7 @@ function DocSearch({
|
|
|
10086
10504
|
status === "done" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", "data-testid": "doc-search-results", children: [
|
|
10087
10505
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground", children: results.length === 0 ? `No passages matched \u201C${query}\u201D.` : `${results.length} passage${results.length === 1 ? "" : "s"} for \u201C${query}\u201D` }),
|
|
10088
10506
|
results.slice(0, 8).map((r, i) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
10089
|
-
|
|
10507
|
+
chunkFSPLYO52_cjs.Card,
|
|
10090
10508
|
{
|
|
10091
10509
|
variant: "elevated",
|
|
10092
10510
|
className: chunkS6A6FSG7_cjs.cn(
|
|
@@ -10099,7 +10517,7 @@ function DocSearch({
|
|
|
10099
10517
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-1 flex items-center gap-2", children: [
|
|
10100
10518
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.FileText, { className: "size-3.5 text-ai-accent" }),
|
|
10101
10519
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate text-xs font-medium text-foreground", children: r.docTitle || "Document" }),
|
|
10102
|
-
r.page != null && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
10520
|
+
r.page != null && /* @__PURE__ */ jsxRuntime.jsxs(chunkFSPLYO52_cjs.Badge, { variant: "secondary", children: [
|
|
10103
10521
|
"p.",
|
|
10104
10522
|
r.page
|
|
10105
10523
|
] }),
|
|
@@ -10136,7 +10554,7 @@ Question: ${question}`,
|
|
|
10136
10554
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 space-y-3", "data-testid": "doc-qa", children: [
|
|
10137
10555
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 items-center gap-2", children: [
|
|
10138
10556
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10139
|
-
|
|
10557
|
+
chunkFSPLYO52_cjs.Input,
|
|
10140
10558
|
{
|
|
10141
10559
|
value: q,
|
|
10142
10560
|
onChange: (e) => setQ(e.target.value),
|
|
@@ -10359,7 +10777,7 @@ var CitationPopover = ({
|
|
|
10359
10777
|
return () => {
|
|
10360
10778
|
if (!restoreFocusRef.current) return;
|
|
10361
10779
|
restoreFocusRef.current = false;
|
|
10362
|
-
if (triggerRef.current)
|
|
10780
|
+
if (triggerRef.current) chunkFSPLYO52_cjs.returnFocusToMark(triggerRef.current);
|
|
10363
10781
|
};
|
|
10364
10782
|
}, [open]);
|
|
10365
10783
|
React.useEffect(() => {
|
|
@@ -10560,7 +10978,7 @@ var CitationLink = ({
|
|
|
10560
10978
|
triggerRef,
|
|
10561
10979
|
children
|
|
10562
10980
|
}) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
10563
|
-
|
|
10981
|
+
chunkFSPLYO52_cjs.MarkMenu,
|
|
10564
10982
|
{
|
|
10565
10983
|
triggerRef,
|
|
10566
10984
|
items,
|
|
@@ -10601,8 +11019,8 @@ var FileIcon = ({ size = 16, className = "" }) => {
|
|
|
10601
11019
|
"path",
|
|
10602
11020
|
{
|
|
10603
11021
|
d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6z",
|
|
10604
|
-
fill:
|
|
10605
|
-
stroke:
|
|
11022
|
+
fill: chunkFSPLYO52_cjs.FILE_TYPE_COLORS.generic,
|
|
11023
|
+
stroke: chunkFSPLYO52_cjs.FILE_TYPE_COLORS.generic,
|
|
10606
11024
|
strokeWidth: "1",
|
|
10607
11025
|
strokeLinecap: "round",
|
|
10608
11026
|
strokeLinejoin: "round"
|
|
@@ -10613,7 +11031,7 @@ var FileIcon = ({ size = 16, className = "" }) => {
|
|
|
10613
11031
|
{
|
|
10614
11032
|
d: "M14 2v6h6",
|
|
10615
11033
|
fill: "none",
|
|
10616
|
-
stroke:
|
|
11034
|
+
stroke: chunkFSPLYO52_cjs.FILE_TYPE_COLORS.white,
|
|
10617
11035
|
strokeWidth: "1",
|
|
10618
11036
|
strokeLinecap: "round",
|
|
10619
11037
|
strokeLinejoin: "round"
|
|
@@ -10752,7 +11170,7 @@ var ArbiBotIcon = ({ size = 24, className = "" }) => {
|
|
|
10752
11170
|
);
|
|
10753
11171
|
};
|
|
10754
11172
|
function getNotificationTypeMeta(type) {
|
|
10755
|
-
const WorkspaceIcon =
|
|
11173
|
+
const WorkspaceIcon = chunkFSPLYO52_cjs.getEntityIcon("WORKSPACE");
|
|
10756
11174
|
switch (type) {
|
|
10757
11175
|
case "agent_input_requested":
|
|
10758
11176
|
return { Icon: lucideReact.MessageCircleMore, iconClassName: "text-primary", label: "Input needed" };
|
|
@@ -10887,7 +11305,7 @@ function describeActivity(content) {
|
|
|
10887
11305
|
}
|
|
10888
11306
|
default:
|
|
10889
11307
|
return {
|
|
10890
|
-
Icon: parsed.workspace_ext_id ?
|
|
11308
|
+
Icon: parsed.workspace_ext_id ? chunkFSPLYO52_cjs.getEntityIcon("WORKSPACE") : lucideReact.Activity,
|
|
10891
11309
|
iconClassName: "text-muted-foreground",
|
|
10892
11310
|
title: humaniseEvent(parsed.event)
|
|
10893
11311
|
};
|
|
@@ -10917,7 +11335,7 @@ function ActivityFeed({
|
|
|
10917
11335
|
enabled,
|
|
10918
11336
|
"data-testid": testId = "activity-feed"
|
|
10919
11337
|
}) {
|
|
10920
|
-
const { data, isLoading, isError } =
|
|
11338
|
+
const { data, isLoading, isError } = chunkCWJAULV2_cjs.useActivity({ limit, enabled });
|
|
10921
11339
|
if (isLoading) {
|
|
10922
11340
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkS6A6FSG7_cjs.cn("space-y-2", className), "data-testid": testId, "aria-busy": "true", children: Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3 py-1.5", children: [
|
|
10923
11341
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-4 w-4 shrink-0 animate-pulse rounded-full bg-muted" }),
|
|
@@ -10988,16 +11406,7 @@ function useWorkNotifications(options) {
|
|
|
10988
11406
|
}
|
|
10989
11407
|
function useNotifications(options = {}) {
|
|
10990
11408
|
const arbi = chunkYIUUTRMQ_cjs.useArbi();
|
|
10991
|
-
const queries = reactQuery.useQueryClient();
|
|
10992
11409
|
const limit = options.limit ?? 100;
|
|
10993
|
-
const ws = React.useContext(ArbiWsContext);
|
|
10994
|
-
React.useEffect(
|
|
10995
|
-
() => ws?.subscribe((message) => {
|
|
10996
|
-
if ("sender" in message && "recipient" in message)
|
|
10997
|
-
void queries.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.allNotifications() });
|
|
10998
|
-
}),
|
|
10999
|
-
[ws, queries]
|
|
11000
|
-
);
|
|
11001
11410
|
return reactQuery.useQuery({
|
|
11002
11411
|
queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.notifications(limit),
|
|
11003
11412
|
queryFn: () => arbi.notifications.list({ limit }),
|
|
@@ -11504,10 +11913,10 @@ function isAgentUser(user) {
|
|
|
11504
11913
|
return user.external_id.startsWith("agt-");
|
|
11505
11914
|
}
|
|
11506
11915
|
function DmAvatar({ user, className, size = "lg" }) {
|
|
11507
|
-
const presence = useArbiWsStore((s) => s.presence[user.external_id]);
|
|
11916
|
+
const presence = chunkGAW2PLSL_cjs.useArbiWsStore((s) => s.presence[user.external_id]);
|
|
11508
11917
|
const displayStatus = presence === void 0 ? void 0 : presence === "online" ? "connected" : "disconnected";
|
|
11509
11918
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
11510
|
-
|
|
11919
|
+
chunkFSPLYO52_cjs.UserEntity,
|
|
11511
11920
|
{
|
|
11512
11921
|
variant: "icon",
|
|
11513
11922
|
size,
|
|
@@ -11517,7 +11926,7 @@ function DmAvatar({ user, className, size = "lg" }) {
|
|
|
11517
11926
|
initials: userInitials(user),
|
|
11518
11927
|
displayName: userDisplayName(user),
|
|
11519
11928
|
picture: user.picture,
|
|
11520
|
-
avatarStyle:
|
|
11929
|
+
avatarStyle: chunkFSPLYO52_cjs.getEntityColorStyles(user.external_id),
|
|
11521
11930
|
isAgent: isAgentUser(user),
|
|
11522
11931
|
displayStatus
|
|
11523
11932
|
}
|
|
@@ -11573,10 +11982,10 @@ function ConversationList({
|
|
|
11573
11982
|
children: c.title ?? userDisplayName(peer)
|
|
11574
11983
|
}
|
|
11575
11984
|
),
|
|
11576
|
-
c.badge ?? (isAgentUser(peer) ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
11985
|
+
c.badge ?? (isAgentUser(peer) ? /* @__PURE__ */ jsxRuntime.jsx(chunkFSPLYO52_cjs.AgentBadge, {}) : null)
|
|
11577
11986
|
] }),
|
|
11578
11987
|
c.statusLabel ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
11579
|
-
|
|
11988
|
+
chunkFSPLYO52_cjs.Badge,
|
|
11580
11989
|
{
|
|
11581
11990
|
variant: "outline",
|
|
11582
11991
|
className: "shrink-0 rounded-full px-2 py-0 text-xs font-medium text-muted-foreground",
|
|
@@ -11587,7 +11996,7 @@ function ConversationList({
|
|
|
11587
11996
|
// shouted louder than the message it was counting.
|
|
11588
11997
|
// Enough to catch the eye scanning the list, no more.
|
|
11589
11998
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
11590
|
-
|
|
11999
|
+
chunkFSPLYO52_cjs.Badge,
|
|
11591
12000
|
{
|
|
11592
12001
|
variant: "accent",
|
|
11593
12002
|
className: chunkS6A6FSG7_cjs.cn(
|
|
@@ -11808,7 +12217,7 @@ function DmComposer({
|
|
|
11808
12217
|
)
|
|
11809
12218
|
] }),
|
|
11810
12219
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
11811
|
-
|
|
12220
|
+
chunkFSPLYO52_cjs.Textarea,
|
|
11812
12221
|
{
|
|
11813
12222
|
ref: inputRef,
|
|
11814
12223
|
value: draft,
|
|
@@ -11877,7 +12286,7 @@ function useChatUnreadTotal() {
|
|
|
11877
12286
|
function useUnreadByPeer() {
|
|
11878
12287
|
const arbi = chunkYIUUTRMQ_cjs.useArbi();
|
|
11879
12288
|
const { data = [] } = useChats();
|
|
11880
|
-
const me =
|
|
12289
|
+
const me = chunkKHRCABUX_cjs.myChatId(arbi);
|
|
11881
12290
|
return React.useMemo(() => {
|
|
11882
12291
|
const out = /* @__PURE__ */ new Map();
|
|
11883
12292
|
for (const c of data) {
|
|
@@ -11964,13 +12373,13 @@ function useChatPost() {
|
|
|
11964
12373
|
const queryClient = reactQuery.useQueryClient();
|
|
11965
12374
|
return React.useCallback(
|
|
11966
12375
|
async (target, post) => {
|
|
11967
|
-
const me =
|
|
12376
|
+
const me = chunkKHRCABUX_cjs.myChatId(arbi);
|
|
11968
12377
|
if (!me) throw new Error("No active session");
|
|
11969
12378
|
let chat = target.chat;
|
|
11970
12379
|
if (!chat) {
|
|
11971
12380
|
if (!target.peerExtId) throw new Error("Could not resolve the conversation");
|
|
11972
12381
|
chat = await arbi.chats.openDirect(target.peerExtId);
|
|
11973
|
-
|
|
12382
|
+
chunkKHRCABUX_cjs.upsertChat(queryClient, chat);
|
|
11974
12383
|
queryClient.setQueryData(
|
|
11975
12384
|
chunkRRWAX52L_cjs.arbiQueryKeys.chatThread(chat.external_id),
|
|
11976
12385
|
(old) => old ?? { messages: [], hasMore: false }
|
|
@@ -11993,7 +12402,7 @@ function useChatPost() {
|
|
|
11993
12402
|
updated_at: now,
|
|
11994
12403
|
optimistic: true
|
|
11995
12404
|
};
|
|
11996
|
-
|
|
12405
|
+
chunkKHRCABUX_cjs.appendToThread(queryClient, chat.external_id, optimistic);
|
|
11997
12406
|
try {
|
|
11998
12407
|
let attachments = [];
|
|
11999
12408
|
if (files.length) {
|
|
@@ -12013,15 +12422,15 @@ function useChatPost() {
|
|
|
12013
12422
|
...post.workspaceExtId ? { workspaceExtId: post.workspaceExtId } : {},
|
|
12014
12423
|
contextOnly: !!post.contextOnly
|
|
12015
12424
|
});
|
|
12016
|
-
|
|
12017
|
-
|
|
12425
|
+
chunkKHRCABUX_cjs.appendToThread(queryClient, chat.external_id, message, optimisticId);
|
|
12426
|
+
chunkKHRCABUX_cjs.upsertChat(queryClient, {
|
|
12018
12427
|
...chat,
|
|
12019
12428
|
last_message: message,
|
|
12020
12429
|
last_message_at: message.created_at
|
|
12021
12430
|
});
|
|
12022
12431
|
return { chat, message };
|
|
12023
12432
|
} catch (err) {
|
|
12024
|
-
|
|
12433
|
+
chunkKHRCABUX_cjs.dropFromThread(queryClient, chat.external_id, optimisticId);
|
|
12025
12434
|
void queryClient.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.chatList() });
|
|
12026
12435
|
throw err;
|
|
12027
12436
|
}
|
|
@@ -12033,7 +12442,7 @@ function useDeleteChatMessage() {
|
|
|
12033
12442
|
const arbi = chunkYIUUTRMQ_cjs.useArbi();
|
|
12034
12443
|
const queryClient = reactQuery.useQueryClient();
|
|
12035
12444
|
return React.useCallback(
|
|
12036
|
-
(chatExtId, messageExtId) =>
|
|
12445
|
+
(chatExtId, messageExtId) => chunkKHRCABUX_cjs.deleteChatMessage(arbi, queryClient, chatExtId, messageExtId),
|
|
12037
12446
|
[arbi, queryClient]
|
|
12038
12447
|
);
|
|
12039
12448
|
}
|
|
@@ -12042,7 +12451,7 @@ function useMarkChatRead() {
|
|
|
12042
12451
|
const queryClient = reactQuery.useQueryClient();
|
|
12043
12452
|
return React.useCallback(
|
|
12044
12453
|
(chat, messageExtId) => {
|
|
12045
|
-
|
|
12454
|
+
chunkKHRCABUX_cjs.upsertChat(queryClient, { ...chat, unread_count: 0 });
|
|
12046
12455
|
return arbi.chats.markRead(chat.external_id, messageExtId).then(
|
|
12047
12456
|
() => void 0,
|
|
12048
12457
|
() => void 0
|
|
@@ -12056,7 +12465,7 @@ function useCreateGroupChat() {
|
|
|
12056
12465
|
const queryClient = reactQuery.useQueryClient();
|
|
12057
12466
|
return reactQuery.useMutation({
|
|
12058
12467
|
mutationFn: (params) => arbi.chats.createGroup(params),
|
|
12059
|
-
onSuccess: (chat) =>
|
|
12468
|
+
onSuccess: (chat) => chunkKHRCABUX_cjs.upsertChat(queryClient, chat)
|
|
12060
12469
|
});
|
|
12061
12470
|
}
|
|
12062
12471
|
function useRenameChat() {
|
|
@@ -12064,7 +12473,7 @@ function useRenameChat() {
|
|
|
12064
12473
|
const queryClient = reactQuery.useQueryClient();
|
|
12065
12474
|
return reactQuery.useMutation({
|
|
12066
12475
|
mutationFn: (vars) => arbi.chats.rename(vars.chat, vars.title),
|
|
12067
|
-
onSuccess: (chat) =>
|
|
12476
|
+
onSuccess: (chat) => chunkKHRCABUX_cjs.upsertChat(queryClient, chat)
|
|
12068
12477
|
});
|
|
12069
12478
|
}
|
|
12070
12479
|
function useAddChatMembers() {
|
|
@@ -12072,7 +12481,7 @@ function useAddChatMembers() {
|
|
|
12072
12481
|
const queryClient = reactQuery.useQueryClient();
|
|
12073
12482
|
return reactQuery.useMutation({
|
|
12074
12483
|
mutationFn: (vars) => arbi.chats.addMembers(vars.chat, vars.members, { callKey: vars.callKey }),
|
|
12075
|
-
onSuccess: (chat) =>
|
|
12484
|
+
onSuccess: (chat) => chunkKHRCABUX_cjs.upsertChat(queryClient, chat)
|
|
12076
12485
|
});
|
|
12077
12486
|
}
|
|
12078
12487
|
function useRemoveChatMember() {
|
|
@@ -12081,11 +12490,31 @@ function useRemoveChatMember() {
|
|
|
12081
12490
|
return reactQuery.useMutation({
|
|
12082
12491
|
mutationFn: (vars) => arbi.chats.removeMember(vars.chat, vars.userExtId),
|
|
12083
12492
|
onSuccess: (_data, vars) => {
|
|
12084
|
-
if (vars.userExtId ===
|
|
12493
|
+
if (vars.userExtId === chunkKHRCABUX_cjs.myChatId(arbi)) chunkKHRCABUX_cjs.removeChat(queryClient, vars.chat.external_id);
|
|
12085
12494
|
else return queryClient.invalidateQueries({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.chatList() });
|
|
12086
12495
|
}
|
|
12087
12496
|
});
|
|
12088
12497
|
}
|
|
12498
|
+
function useChatArrivals(onArrival) {
|
|
12499
|
+
const arbi = chunkYIUUTRMQ_cjs.useArbi();
|
|
12500
|
+
const queryClient = reactQuery.useQueryClient();
|
|
12501
|
+
useArbiWsMessage("chat.message", (message) => {
|
|
12502
|
+
const senderId = message.message.sender_ext_id;
|
|
12503
|
+
if (!senderId || senderId === chunkKHRCABUX_cjs.myChatId(arbi)) return;
|
|
12504
|
+
if (message.message.kind !== "text" || chunkKHRCABUX_cjs.getOpenChat() === message.chat_ext_id) return;
|
|
12505
|
+
const muted = queryClient.getQueriesData({ queryKey: chunkRRWAX52L_cjs.arbiQueryKeys.userSettings() }).map(([, data]) => data).find(Boolean)?.muted_users;
|
|
12506
|
+
if (muted?.includes(senderId)) return;
|
|
12507
|
+
const chat = chunkKHRCABUX_cjs.cachedChat(queryClient, message.chat_ext_id);
|
|
12508
|
+
const sender = chat?.members.find((m) => m.user.external_id === senderId)?.user;
|
|
12509
|
+
onArrival({
|
|
12510
|
+
chatId: message.chat_ext_id,
|
|
12511
|
+
chat,
|
|
12512
|
+
sender,
|
|
12513
|
+
senderId,
|
|
12514
|
+
replyTo: chat?.kind === "direct" ? senderId : message.chat_ext_id
|
|
12515
|
+
});
|
|
12516
|
+
});
|
|
12517
|
+
}
|
|
12089
12518
|
function DateSeparator({ children }) {
|
|
12090
12519
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "my-3 flex justify-center", "data-testid": "dm-date-separator", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "rounded-full bg-background/80 px-2 py-0.5 text-xs text-muted-foreground", children }) });
|
|
12091
12520
|
}
|
|
@@ -12189,7 +12618,7 @@ function ImageCropper({
|
|
|
12189
12618
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
12190
12619
|
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: "Zoom" }),
|
|
12191
12620
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12192
|
-
|
|
12621
|
+
chunkFSPLYO52_cjs.Slider,
|
|
12193
12622
|
{
|
|
12194
12623
|
value: [zoom],
|
|
12195
12624
|
onValueChange: ([v]) => setZoom(v ?? 1),
|
|
@@ -12525,1107 +12954,1183 @@ function CommandPaletteProvider({
|
|
|
12525
12954
|
|
|
12526
12955
|
Object.defineProperty(exports, "AUDIENCE_CHOICES", {
|
|
12527
12956
|
enumerable: true,
|
|
12528
|
-
get: function () { return
|
|
12957
|
+
get: function () { return chunkKHRCABUX_cjs.AUDIENCE_CHOICES; }
|
|
12529
12958
|
});
|
|
12530
12959
|
Object.defineProperty(exports, "CALL_CAPTION_TOPIC", {
|
|
12531
12960
|
enumerable: true,
|
|
12532
|
-
get: function () { return
|
|
12961
|
+
get: function () { return chunkKHRCABUX_cjs.CALL_CAPTION_TOPIC; }
|
|
12533
12962
|
});
|
|
12534
12963
|
Object.defineProperty(exports, "CALL_CHAT_MAX_CHARS", {
|
|
12535
12964
|
enumerable: true,
|
|
12536
|
-
get: function () { return
|
|
12965
|
+
get: function () { return chunkKHRCABUX_cjs.CALL_CHAT_MAX_CHARS; }
|
|
12537
12966
|
});
|
|
12538
12967
|
Object.defineProperty(exports, "CALL_CHAT_TOPIC", {
|
|
12539
12968
|
enumerable: true,
|
|
12540
|
-
get: function () { return
|
|
12969
|
+
get: function () { return chunkKHRCABUX_cjs.CALL_CHAT_TOPIC; }
|
|
12541
12970
|
});
|
|
12542
12971
|
Object.defineProperty(exports, "CALL_MODERATION_TOPIC", {
|
|
12543
12972
|
enumerable: true,
|
|
12544
|
-
get: function () { return
|
|
12973
|
+
get: function () { return chunkKHRCABUX_cjs.CALL_MODERATION_TOPIC; }
|
|
12545
12974
|
});
|
|
12546
12975
|
Object.defineProperty(exports, "CALL_RECORDING_TOPIC", {
|
|
12547
12976
|
enumerable: true,
|
|
12548
|
-
get: function () { return
|
|
12977
|
+
get: function () { return chunkKHRCABUX_cjs.CALL_RECORDING_TOPIC; }
|
|
12549
12978
|
});
|
|
12550
12979
|
Object.defineProperty(exports, "CALL_TRANSCRIPTION_TOPIC", {
|
|
12551
12980
|
enumerable: true,
|
|
12552
|
-
get: function () { return
|
|
12981
|
+
get: function () { return chunkKHRCABUX_cjs.CALL_TRANSCRIPTION_TOPIC; }
|
|
12553
12982
|
});
|
|
12554
12983
|
Object.defineProperty(exports, "CALL_WEBINAR_TOPIC", {
|
|
12555
12984
|
enumerable: true,
|
|
12556
|
-
get: function () { return
|
|
12985
|
+
get: function () { return chunkKHRCABUX_cjs.CALL_WEBINAR_TOPIC; }
|
|
12557
12986
|
});
|
|
12558
12987
|
Object.defineProperty(exports, "CAPTION_MAX_CHARS", {
|
|
12559
12988
|
enumerable: true,
|
|
12560
|
-
get: function () { return
|
|
12989
|
+
get: function () { return chunkKHRCABUX_cjs.CAPTION_MAX_CHARS; }
|
|
12561
12990
|
});
|
|
12562
12991
|
Object.defineProperty(exports, "COMPOSITE_AUDIO_BITS_PER_SECOND", {
|
|
12563
12992
|
enumerable: true,
|
|
12564
|
-
get: function () { return
|
|
12993
|
+
get: function () { return chunkKHRCABUX_cjs.COMPOSITE_AUDIO_BITS_PER_SECOND; }
|
|
12565
12994
|
});
|
|
12566
12995
|
Object.defineProperty(exports, "COMPOSITE_VIDEO_BITS_PER_SECOND", {
|
|
12567
12996
|
enumerable: true,
|
|
12568
|
-
get: function () { return
|
|
12997
|
+
get: function () { return chunkKHRCABUX_cjs.COMPOSITE_VIDEO_BITS_PER_SECOND; }
|
|
12569
12998
|
});
|
|
12570
12999
|
Object.defineProperty(exports, "DEFAULT_JOIN_CHOICES", {
|
|
12571
13000
|
enumerable: true,
|
|
12572
|
-
get: function () { return
|
|
13001
|
+
get: function () { return chunkKHRCABUX_cjs.DEFAULT_JOIN_CHOICES; }
|
|
12573
13002
|
});
|
|
12574
13003
|
Object.defineProperty(exports, "EMPTY_CALL_SESSION", {
|
|
12575
13004
|
enumerable: true,
|
|
12576
|
-
get: function () { return
|
|
13005
|
+
get: function () { return chunkKHRCABUX_cjs.EMPTY_CALL_SESSION; }
|
|
12577
13006
|
});
|
|
12578
13007
|
Object.defineProperty(exports, "EXPORT_SAMPLE_RATE", {
|
|
12579
13008
|
enumerable: true,
|
|
12580
|
-
get: function () { return
|
|
13009
|
+
get: function () { return chunkKHRCABUX_cjs.EXPORT_SAMPLE_RATE; }
|
|
12581
13010
|
});
|
|
12582
13011
|
Object.defineProperty(exports, "HISTORY_LIMIT", {
|
|
12583
13012
|
enumerable: true,
|
|
12584
|
-
get: function () { return
|
|
13013
|
+
get: function () { return chunkKHRCABUX_cjs.HISTORY_LIMIT; }
|
|
12585
13014
|
});
|
|
12586
13015
|
Object.defineProperty(exports, "LIVE_SEGMENTER", {
|
|
12587
13016
|
enumerable: true,
|
|
12588
|
-
get: function () { return
|
|
13017
|
+
get: function () { return chunkKHRCABUX_cjs.LIVE_SEGMENTER; }
|
|
12589
13018
|
});
|
|
12590
13019
|
Object.defineProperty(exports, "MAX_AVATAR_FILE_BYTES", {
|
|
12591
13020
|
enumerable: true,
|
|
12592
|
-
get: function () { return
|
|
13021
|
+
get: function () { return chunkKHRCABUX_cjs.MAX_AVATAR_FILE_BYTES; }
|
|
12593
13022
|
});
|
|
12594
13023
|
Object.defineProperty(exports, "MUTED_DEDUPE_MS", {
|
|
12595
13024
|
enumerable: true,
|
|
12596
|
-
get: function () { return
|
|
13025
|
+
get: function () { return chunkKHRCABUX_cjs.MUTED_DEDUPE_MS; }
|
|
12597
13026
|
});
|
|
12598
13027
|
Object.defineProperty(exports, "PLAYBACK_LOOKAHEAD_MS", {
|
|
12599
13028
|
enumerable: true,
|
|
12600
|
-
get: function () { return
|
|
13029
|
+
get: function () { return chunkKHRCABUX_cjs.PLAYBACK_LOOKAHEAD_MS; }
|
|
12601
13030
|
});
|
|
12602
13031
|
Object.defineProperty(exports, "READ_ONLY_MEETING_TEXT", {
|
|
12603
13032
|
enumerable: true,
|
|
12604
|
-
get: function () { return
|
|
13033
|
+
get: function () { return chunkKHRCABUX_cjs.READ_ONLY_MEETING_TEXT; }
|
|
12605
13034
|
});
|
|
12606
13035
|
Object.defineProperty(exports, "RECORDING_CHUNK_MS", {
|
|
12607
13036
|
enumerable: true,
|
|
12608
|
-
get: function () { return
|
|
13037
|
+
get: function () { return chunkKHRCABUX_cjs.RECORDING_CHUNK_MS; }
|
|
12609
13038
|
});
|
|
12610
13039
|
Object.defineProperty(exports, "RECORDING_SEGMENTER", {
|
|
12611
13040
|
enumerable: true,
|
|
12612
|
-
get: function () { return
|
|
13041
|
+
get: function () { return chunkKHRCABUX_cjs.RECORDING_SEGMENTER; }
|
|
12613
13042
|
});
|
|
12614
13043
|
Object.defineProperty(exports, "SEGMENT_FRAME_MS", {
|
|
12615
13044
|
enumerable: true,
|
|
12616
|
-
get: function () { return
|
|
13045
|
+
get: function () { return chunkKHRCABUX_cjs.SEGMENT_FRAME_MS; }
|
|
12617
13046
|
});
|
|
12618
13047
|
Object.defineProperty(exports, "SEGMENT_ID_PATTERN", {
|
|
12619
13048
|
enumerable: true,
|
|
12620
|
-
get: function () { return
|
|
13049
|
+
get: function () { return chunkKHRCABUX_cjs.SEGMENT_ID_PATTERN; }
|
|
12621
13050
|
});
|
|
12622
13051
|
Object.defineProperty(exports, "SEGMENT_PRE_ROLL_MS", {
|
|
12623
13052
|
enumerable: true,
|
|
12624
|
-
get: function () { return
|
|
13053
|
+
get: function () { return chunkKHRCABUX_cjs.SEGMENT_PRE_ROLL_MS; }
|
|
12625
13054
|
});
|
|
12626
13055
|
Object.defineProperty(exports, "SHORT_PIECE_MERGE_GAP_MS", {
|
|
12627
13056
|
enumerable: true,
|
|
12628
|
-
get: function () { return
|
|
13057
|
+
get: function () { return chunkKHRCABUX_cjs.SHORT_PIECE_MERGE_GAP_MS; }
|
|
12629
13058
|
});
|
|
12630
13059
|
Object.defineProperty(exports, "SPEAKER_AUDIO_BITS_PER_SECOND", {
|
|
12631
13060
|
enumerable: true,
|
|
12632
|
-
get: function () { return
|
|
13061
|
+
get: function () { return chunkKHRCABUX_cjs.SPEAKER_AUDIO_BITS_PER_SECOND; }
|
|
12633
13062
|
});
|
|
12634
13063
|
Object.defineProperty(exports, "TrackUploader", {
|
|
12635
13064
|
enumerable: true,
|
|
12636
|
-
get: function () { return
|
|
13065
|
+
get: function () { return chunkKHRCABUX_cjs.TrackUploader; }
|
|
12637
13066
|
});
|
|
12638
13067
|
Object.defineProperty(exports, "UPLOAD_ATTEMPTS", {
|
|
12639
13068
|
enumerable: true,
|
|
12640
|
-
get: function () { return
|
|
13069
|
+
get: function () { return chunkKHRCABUX_cjs.UPLOAD_ATTEMPTS; }
|
|
12641
13070
|
});
|
|
12642
13071
|
Object.defineProperty(exports, "UPLOAD_BACKOFF_MS", {
|
|
12643
13072
|
enumerable: true,
|
|
12644
|
-
get: function () { return
|
|
13073
|
+
get: function () { return chunkKHRCABUX_cjs.UPLOAD_BACKOFF_MS; }
|
|
12645
13074
|
});
|
|
12646
13075
|
Object.defineProperty(exports, "acceptRing", {
|
|
12647
13076
|
enumerable: true,
|
|
12648
|
-
get: function () { return
|
|
13077
|
+
get: function () { return chunkKHRCABUX_cjs.acceptRing; }
|
|
12649
13078
|
});
|
|
12650
13079
|
Object.defineProperty(exports, "addConversationToList", {
|
|
12651
13080
|
enumerable: true,
|
|
12652
|
-
get: function () { return
|
|
13081
|
+
get: function () { return chunkKHRCABUX_cjs.addConversationToList; }
|
|
12653
13082
|
});
|
|
12654
13083
|
Object.defineProperty(exports, "appendToThread", {
|
|
12655
13084
|
enumerable: true,
|
|
12656
|
-
get: function () { return
|
|
13085
|
+
get: function () { return chunkKHRCABUX_cjs.appendToThread; }
|
|
12657
13086
|
});
|
|
12658
13087
|
Object.defineProperty(exports, "applyAgentDmStatus", {
|
|
12659
13088
|
enumerable: true,
|
|
12660
|
-
get: function () { return
|
|
13089
|
+
get: function () { return chunkKHRCABUX_cjs.applyAgentDmStatus; }
|
|
12661
13090
|
});
|
|
12662
13091
|
Object.defineProperty(exports, "applyCallEvent", {
|
|
12663
13092
|
enumerable: true,
|
|
12664
|
-
get: function () { return
|
|
13093
|
+
get: function () { return chunkKHRCABUX_cjs.applyCallEvent; }
|
|
12665
13094
|
});
|
|
12666
13095
|
Object.defineProperty(exports, "applyChatEvent", {
|
|
12667
13096
|
enumerable: true,
|
|
12668
|
-
get: function () { return
|
|
13097
|
+
get: function () { return chunkKHRCABUX_cjs.applyChatEvent; }
|
|
12669
13098
|
});
|
|
12670
13099
|
Object.defineProperty(exports, "applyChatMessage", {
|
|
12671
13100
|
enumerable: true,
|
|
12672
|
-
get: function () { return
|
|
13101
|
+
get: function () { return chunkKHRCABUX_cjs.applyChatMessage; }
|
|
12673
13102
|
});
|
|
12674
13103
|
Object.defineProperty(exports, "applyChatRead", {
|
|
12675
13104
|
enumerable: true,
|
|
12676
|
-
get: function () { return
|
|
13105
|
+
get: function () { return chunkKHRCABUX_cjs.applyChatRead; }
|
|
12677
13106
|
});
|
|
12678
13107
|
Object.defineProperty(exports, "applyChatUpdated", {
|
|
12679
13108
|
enumerable: true,
|
|
12680
|
-
get: function () { return
|
|
13109
|
+
get: function () { return chunkKHRCABUX_cjs.applyChatUpdated; }
|
|
12681
13110
|
});
|
|
12682
13111
|
Object.defineProperty(exports, "arbiAccountClient", {
|
|
12683
13112
|
enumerable: true,
|
|
12684
|
-
get: function () { return
|
|
13113
|
+
get: function () { return chunkKHRCABUX_cjs.arbiAccountClient; }
|
|
12685
13114
|
});
|
|
12686
13115
|
Object.defineProperty(exports, "buildMeetingChatBody", {
|
|
12687
13116
|
enumerable: true,
|
|
12688
|
-
get: function () { return
|
|
13117
|
+
get: function () { return chunkKHRCABUX_cjs.buildMeetingChatBody; }
|
|
12689
13118
|
});
|
|
12690
13119
|
Object.defineProperty(exports, "cachedChat", {
|
|
12691
13120
|
enumerable: true,
|
|
12692
|
-
get: function () { return
|
|
13121
|
+
get: function () { return chunkKHRCABUX_cjs.cachedChat; }
|
|
12693
13122
|
});
|
|
12694
13123
|
Object.defineProperty(exports, "cachedChats", {
|
|
12695
13124
|
enumerable: true,
|
|
12696
|
-
get: function () { return
|
|
13125
|
+
get: function () { return chunkKHRCABUX_cjs.cachedChats; }
|
|
12697
13126
|
});
|
|
12698
13127
|
Object.defineProperty(exports, "callLink", {
|
|
12699
13128
|
enumerable: true,
|
|
12700
|
-
get: function () { return
|
|
13129
|
+
get: function () { return chunkKHRCABUX_cjs.callLink; }
|
|
12701
13130
|
});
|
|
12702
13131
|
Object.defineProperty(exports, "callMemberKeys", {
|
|
12703
13132
|
enumerable: true,
|
|
12704
|
-
get: function () { return
|
|
13133
|
+
get: function () { return chunkKHRCABUX_cjs.callMemberKeys; }
|
|
12705
13134
|
});
|
|
12706
13135
|
Object.defineProperty(exports, "callSession", {
|
|
12707
13136
|
enumerable: true,
|
|
12708
|
-
get: function () { return
|
|
13137
|
+
get: function () { return chunkKHRCABUX_cjs.callSession; }
|
|
12709
13138
|
});
|
|
12710
13139
|
Object.defineProperty(exports, "chatByExtId", {
|
|
12711
13140
|
enumerable: true,
|
|
12712
|
-
get: function () { return
|
|
13141
|
+
get: function () { return chunkKHRCABUX_cjs.chatByExtId; }
|
|
12713
13142
|
});
|
|
12714
13143
|
Object.defineProperty(exports, "chatHasLiveCall", {
|
|
12715
13144
|
enumerable: true,
|
|
12716
|
-
get: function () { return
|
|
13145
|
+
get: function () { return chunkKHRCABUX_cjs.chatHasLiveCall; }
|
|
12717
13146
|
});
|
|
12718
13147
|
Object.defineProperty(exports, "chatLiveCallId", {
|
|
12719
13148
|
enumerable: true,
|
|
12720
|
-
get: function () { return
|
|
13149
|
+
get: function () { return chunkKHRCABUX_cjs.chatLiveCallId; }
|
|
12721
13150
|
});
|
|
12722
13151
|
Object.defineProperty(exports, "chatTranscriptRef", {
|
|
12723
13152
|
enumerable: true,
|
|
12724
|
-
get: function () { return
|
|
13153
|
+
get: function () { return chunkKHRCABUX_cjs.chatTranscriptRef; }
|
|
12725
13154
|
});
|
|
12726
13155
|
Object.defineProperty(exports, "clearMeetingChatCache", {
|
|
12727
13156
|
enumerable: true,
|
|
12728
|
-
get: function () { return
|
|
13157
|
+
get: function () { return chunkKHRCABUX_cjs.clearMeetingChatCache; }
|
|
12729
13158
|
});
|
|
12730
13159
|
Object.defineProperty(exports, "clearTrackUploaders", {
|
|
12731
13160
|
enumerable: true,
|
|
12732
|
-
get: function () { return
|
|
13161
|
+
get: function () { return chunkKHRCABUX_cjs.clearTrackUploaders; }
|
|
12733
13162
|
});
|
|
12734
13163
|
Object.defineProperty(exports, "clockTime", {
|
|
12735
13164
|
enumerable: true,
|
|
12736
|
-
get: function () { return
|
|
13165
|
+
get: function () { return chunkKHRCABUX_cjs.clockTime; }
|
|
12737
13166
|
});
|
|
12738
13167
|
Object.defineProperty(exports, "compositeFiles", {
|
|
12739
13168
|
enumerable: true,
|
|
12740
|
-
get: function () { return
|
|
13169
|
+
get: function () { return chunkKHRCABUX_cjs.compositeFiles; }
|
|
12741
13170
|
});
|
|
12742
13171
|
Object.defineProperty(exports, "compositeTrack", {
|
|
12743
13172
|
enumerable: true,
|
|
12744
|
-
get: function () { return
|
|
13173
|
+
get: function () { return chunkKHRCABUX_cjs.compositeTrack; }
|
|
12745
13174
|
});
|
|
12746
13175
|
Object.defineProperty(exports, "conversationKeyForCall", {
|
|
12747
13176
|
enumerable: true,
|
|
12748
|
-
get: function () { return
|
|
13177
|
+
get: function () { return chunkKHRCABUX_cjs.conversationKeyForCall; }
|
|
12749
13178
|
});
|
|
12750
13179
|
Object.defineProperty(exports, "createMutedNotifier", {
|
|
12751
13180
|
enumerable: true,
|
|
12752
|
-
get: function () { return
|
|
13181
|
+
get: function () { return chunkKHRCABUX_cjs.createMutedNotifier; }
|
|
12753
13182
|
});
|
|
12754
13183
|
Object.defineProperty(exports, "createTrackCutter", {
|
|
12755
13184
|
enumerable: true,
|
|
12756
|
-
get: function () { return
|
|
13185
|
+
get: function () { return chunkKHRCABUX_cjs.createTrackCutter; }
|
|
12757
13186
|
});
|
|
12758
13187
|
Object.defineProperty(exports, "cutAtPauses", {
|
|
12759
13188
|
enumerable: true,
|
|
12760
|
-
get: function () { return
|
|
13189
|
+
get: function () { return chunkKHRCABUX_cjs.cutAtPauses; }
|
|
12761
13190
|
});
|
|
12762
13191
|
Object.defineProperty(exports, "declineRing", {
|
|
12763
13192
|
enumerable: true,
|
|
12764
|
-
get: function () { return
|
|
13193
|
+
get: function () { return chunkKHRCABUX_cjs.declineRing; }
|
|
12765
13194
|
});
|
|
12766
13195
|
Object.defineProperty(exports, "decodeCallChatPacket", {
|
|
12767
13196
|
enumerable: true,
|
|
12768
|
-
get: function () { return
|
|
13197
|
+
get: function () { return chunkKHRCABUX_cjs.decodeCallChatPacket; }
|
|
12769
13198
|
});
|
|
12770
13199
|
Object.defineProperty(exports, "decodeCaptionPacket", {
|
|
12771
13200
|
enumerable: true,
|
|
12772
|
-
get: function () { return
|
|
13201
|
+
get: function () { return chunkKHRCABUX_cjs.decodeCaptionPacket; }
|
|
12773
13202
|
});
|
|
12774
13203
|
Object.defineProperty(exports, "decodeMono16k", {
|
|
12775
13204
|
enumerable: true,
|
|
12776
|
-
get: function () { return
|
|
13205
|
+
get: function () { return chunkKHRCABUX_cjs.decodeMono16k; }
|
|
12777
13206
|
});
|
|
12778
13207
|
Object.defineProperty(exports, "decryptPart", {
|
|
12779
13208
|
enumerable: true,
|
|
12780
|
-
get: function () { return
|
|
13209
|
+
get: function () { return chunkKHRCABUX_cjs.decryptPart; }
|
|
12781
13210
|
});
|
|
12782
13211
|
Object.defineProperty(exports, "encodeCallChatPacket", {
|
|
12783
13212
|
enumerable: true,
|
|
12784
|
-
get: function () { return
|
|
13213
|
+
get: function () { return chunkKHRCABUX_cjs.encodeCallChatPacket; }
|
|
12785
13214
|
});
|
|
12786
13215
|
Object.defineProperty(exports, "encodeCaptionPacket", {
|
|
12787
13216
|
enumerable: true,
|
|
12788
|
-
get: function () { return
|
|
13217
|
+
get: function () { return chunkKHRCABUX_cjs.encodeCaptionPacket; }
|
|
12789
13218
|
});
|
|
12790
13219
|
Object.defineProperty(exports, "encodeWav", {
|
|
12791
13220
|
enumerable: true,
|
|
12792
|
-
get: function () { return
|
|
13221
|
+
get: function () { return chunkKHRCABUX_cjs.encodeWav; }
|
|
12793
13222
|
});
|
|
12794
13223
|
Object.defineProperty(exports, "encryptPart", {
|
|
12795
13224
|
enumerable: true,
|
|
12796
|
-
get: function () { return
|
|
13225
|
+
get: function () { return chunkKHRCABUX_cjs.encryptPart; }
|
|
12797
13226
|
});
|
|
12798
13227
|
Object.defineProperty(exports, "ensureMeetingChat", {
|
|
12799
13228
|
enumerable: true,
|
|
12800
|
-
get: function () { return
|
|
13229
|
+
get: function () { return chunkKHRCABUX_cjs.ensureMeetingChat; }
|
|
12801
13230
|
});
|
|
12802
13231
|
Object.defineProperty(exports, "entitlementRefusal", {
|
|
12803
13232
|
enumerable: true,
|
|
12804
|
-
get: function () { return
|
|
13233
|
+
get: function () { return chunkKHRCABUX_cjs.entitlementRefusal; }
|
|
12805
13234
|
});
|
|
12806
13235
|
Object.defineProperty(exports, "extensionFor", {
|
|
12807
13236
|
enumerable: true,
|
|
12808
|
-
get: function () { return
|
|
13237
|
+
get: function () { return chunkKHRCABUX_cjs.extensionFor; }
|
|
12809
13238
|
});
|
|
12810
13239
|
Object.defineProperty(exports, "fetchPart", {
|
|
12811
13240
|
enumerable: true,
|
|
12812
|
-
get: function () { return
|
|
13241
|
+
get: function () { return chunkKHRCABUX_cjs.fetchPart; }
|
|
12813
13242
|
});
|
|
12814
13243
|
Object.defineProperty(exports, "fileSafe", {
|
|
12815
13244
|
enumerable: true,
|
|
12816
|
-
get: function () { return
|
|
13245
|
+
get: function () { return chunkKHRCABUX_cjs.fileSafe; }
|
|
12817
13246
|
});
|
|
12818
13247
|
Object.defineProperty(exports, "findConversation", {
|
|
12819
13248
|
enumerable: true,
|
|
12820
|
-
get: function () { return
|
|
13249
|
+
get: function () { return chunkKHRCABUX_cjs.findConversation; }
|
|
12821
13250
|
});
|
|
12822
13251
|
Object.defineProperty(exports, "floatToWav", {
|
|
12823
13252
|
enumerable: true,
|
|
12824
|
-
get: function () { return
|
|
13253
|
+
get: function () { return chunkKHRCABUX_cjs.floatToWav; }
|
|
12825
13254
|
});
|
|
12826
13255
|
Object.defineProperty(exports, "formatTranscriptMarkdown", {
|
|
12827
13256
|
enumerable: true,
|
|
12828
|
-
get: function () { return
|
|
13257
|
+
get: function () { return chunkKHRCABUX_cjs.formatTranscriptMarkdown; }
|
|
12829
13258
|
});
|
|
12830
13259
|
Object.defineProperty(exports, "getOpenChat", {
|
|
12831
13260
|
enumerable: true,
|
|
12832
|
-
get: function () { return
|
|
13261
|
+
get: function () { return chunkKHRCABUX_cjs.getOpenChat; }
|
|
12833
13262
|
});
|
|
12834
13263
|
Object.defineProperty(exports, "hasRecordingTranscript", {
|
|
12835
13264
|
enumerable: true,
|
|
12836
|
-
get: function () { return
|
|
13265
|
+
get: function () { return chunkKHRCABUX_cjs.hasRecordingTranscript; }
|
|
12837
13266
|
});
|
|
12838
13267
|
Object.defineProperty(exports, "invalidateCall", {
|
|
12839
13268
|
enumerable: true,
|
|
12840
|
-
get: function () { return
|
|
13269
|
+
get: function () { return chunkKHRCABUX_cjs.invalidateCall; }
|
|
12841
13270
|
});
|
|
12842
13271
|
Object.defineProperty(exports, "invalidateConversationDetails", {
|
|
12843
13272
|
enumerable: true,
|
|
12844
|
-
get: function () { return
|
|
13273
|
+
get: function () { return chunkKHRCABUX_cjs.invalidateConversationDetails; }
|
|
12845
13274
|
});
|
|
12846
13275
|
Object.defineProperty(exports, "invalidateConversationLists", {
|
|
12847
13276
|
enumerable: true,
|
|
12848
|
-
get: function () { return
|
|
13277
|
+
get: function () { return chunkKHRCABUX_cjs.invalidateConversationLists; }
|
|
12849
13278
|
});
|
|
12850
13279
|
Object.defineProperty(exports, "isConversationListKey", {
|
|
12851
13280
|
enumerable: true,
|
|
12852
|
-
get: function () { return
|
|
13281
|
+
get: function () { return chunkKHRCABUX_cjs.isConversationListKey; }
|
|
12853
13282
|
});
|
|
12854
13283
|
Object.defineProperty(exports, "isConversationShared", {
|
|
12855
13284
|
enumerable: true,
|
|
12856
|
-
get: function () { return
|
|
13285
|
+
get: function () { return chunkKHRCABUX_cjs.isConversationShared; }
|
|
12857
13286
|
});
|
|
12858
13287
|
Object.defineProperty(exports, "isKnownSoloConversation", {
|
|
12859
13288
|
enumerable: true,
|
|
12860
|
-
get: function () { return
|
|
13289
|
+
get: function () { return chunkKHRCABUX_cjs.isKnownSoloConversation; }
|
|
12861
13290
|
});
|
|
12862
13291
|
Object.defineProperty(exports, "isRecordingOver", {
|
|
12863
13292
|
enumerable: true,
|
|
12864
|
-
get: function () { return
|
|
13293
|
+
get: function () { return chunkKHRCABUX_cjs.isRecordingOver; }
|
|
12865
13294
|
});
|
|
12866
13295
|
Object.defineProperty(exports, "isRecordingSegmentId", {
|
|
12867
13296
|
enumerable: true,
|
|
12868
|
-
get: function () { return
|
|
13297
|
+
get: function () { return chunkKHRCABUX_cjs.isRecordingSegmentId; }
|
|
12869
13298
|
});
|
|
12870
13299
|
Object.defineProperty(exports, "isRetryable", {
|
|
12871
13300
|
enumerable: true,
|
|
12872
|
-
get: function () { return
|
|
13301
|
+
get: function () { return chunkKHRCABUX_cjs.isRetryable; }
|
|
12873
13302
|
});
|
|
12874
13303
|
Object.defineProperty(exports, "isWorkspaceGuestOf", {
|
|
12875
13304
|
enumerable: true,
|
|
12876
|
-
get: function () { return
|
|
13305
|
+
get: function () { return chunkKHRCABUX_cjs.isWorkspaceGuestOf; }
|
|
12877
13306
|
});
|
|
12878
13307
|
Object.defineProperty(exports, "joinFromPreJoin", {
|
|
12879
13308
|
enumerable: true,
|
|
12880
|
-
get: function () { return
|
|
13309
|
+
get: function () { return chunkKHRCABUX_cjs.joinFromPreJoin; }
|
|
12881
13310
|
});
|
|
12882
13311
|
Object.defineProperty(exports, "knownMeetingChat", {
|
|
12883
13312
|
enumerable: true,
|
|
12884
|
-
get: function () { return
|
|
13313
|
+
get: function () { return chunkKHRCABUX_cjs.knownMeetingChat; }
|
|
12885
13314
|
});
|
|
12886
13315
|
Object.defineProperty(exports, "loadMeetingHistory", {
|
|
12887
13316
|
enumerable: true,
|
|
12888
|
-
get: function () { return
|
|
13317
|
+
get: function () { return chunkKHRCABUX_cjs.loadMeetingHistory; }
|
|
12889
13318
|
});
|
|
12890
13319
|
Object.defineProperty(exports, "markRejoining", {
|
|
12891
13320
|
enumerable: true,
|
|
12892
|
-
get: function () { return
|
|
13321
|
+
get: function () { return chunkKHRCABUX_cjs.markRejoining; }
|
|
12893
13322
|
});
|
|
12894
13323
|
Object.defineProperty(exports, "meetingChatRefFrom", {
|
|
12895
13324
|
enumerable: true,
|
|
12896
|
-
get: function () { return
|
|
13325
|
+
get: function () { return chunkKHRCABUX_cjs.meetingChatRefFrom; }
|
|
12897
13326
|
});
|
|
12898
13327
|
Object.defineProperty(exports, "meetingRefForCall", {
|
|
12899
13328
|
enumerable: true,
|
|
12900
|
-
get: function () { return
|
|
13329
|
+
get: function () { return chunkKHRCABUX_cjs.meetingRefForCall; }
|
|
12901
13330
|
});
|
|
12902
13331
|
Object.defineProperty(exports, "mergeChatLines", {
|
|
12903
13332
|
enumerable: true,
|
|
12904
|
-
get: function () { return
|
|
13333
|
+
get: function () { return chunkKHRCABUX_cjs.mergeChatLines; }
|
|
12905
13334
|
});
|
|
12906
13335
|
Object.defineProperty(exports, "mutedNoticeFromEvent", {
|
|
12907
13336
|
enumerable: true,
|
|
12908
|
-
get: function () { return
|
|
13337
|
+
get: function () { return chunkKHRCABUX_cjs.mutedNoticeFromEvent; }
|
|
12909
13338
|
});
|
|
12910
13339
|
Object.defineProperty(exports, "mutedNoticeFromPacket", {
|
|
12911
13340
|
enumerable: true,
|
|
12912
|
-
get: function () { return
|
|
13341
|
+
get: function () { return chunkKHRCABUX_cjs.mutedNoticeFromPacket; }
|
|
12913
13342
|
});
|
|
12914
13343
|
Object.defineProperty(exports, "mutedNoticeText", {
|
|
12915
13344
|
enumerable: true,
|
|
12916
|
-
get: function () { return
|
|
13345
|
+
get: function () { return chunkKHRCABUX_cjs.mutedNoticeText; }
|
|
12917
13346
|
});
|
|
12918
13347
|
Object.defineProperty(exports, "myChatId", {
|
|
12919
13348
|
enumerable: true,
|
|
12920
|
-
get: function () { return
|
|
13349
|
+
get: function () { return chunkKHRCABUX_cjs.myChatId; }
|
|
12921
13350
|
});
|
|
12922
13351
|
Object.defineProperty(exports, "newPacketId", {
|
|
12923
13352
|
enumerable: true,
|
|
12924
|
-
get: function () { return
|
|
13353
|
+
get: function () { return chunkKHRCABUX_cjs.newPacketId; }
|
|
12925
13354
|
});
|
|
12926
13355
|
Object.defineProperty(exports, "newSegmentId", {
|
|
12927
13356
|
enumerable: true,
|
|
12928
|
-
get: function () { return
|
|
13357
|
+
get: function () { return chunkKHRCABUX_cjs.newSegmentId; }
|
|
12929
13358
|
});
|
|
12930
13359
|
Object.defineProperty(exports, "newTrackKey", {
|
|
12931
13360
|
enumerable: true,
|
|
12932
|
-
get: function () { return
|
|
13361
|
+
get: function () { return chunkKHRCABUX_cjs.newTrackKey; }
|
|
12933
13362
|
});
|
|
12934
13363
|
Object.defineProperty(exports, "nextSeqAfter", {
|
|
12935
13364
|
enumerable: true,
|
|
12936
|
-
get: function () { return
|
|
13365
|
+
get: function () { return chunkKHRCABUX_cjs.nextSeqAfter; }
|
|
12937
13366
|
});
|
|
12938
13367
|
Object.defineProperty(exports, "onCallEvent", {
|
|
12939
13368
|
enumerable: true,
|
|
12940
|
-
get: function () { return
|
|
13369
|
+
get: function () { return chunkKHRCABUX_cjs.onCallEvent; }
|
|
12941
13370
|
});
|
|
12942
13371
|
Object.defineProperty(exports, "openCall", {
|
|
12943
13372
|
enumerable: true,
|
|
12944
|
-
get: function () { return
|
|
13373
|
+
get: function () { return chunkKHRCABUX_cjs.openCall; }
|
|
12945
13374
|
});
|
|
12946
13375
|
Object.defineProperty(exports, "openQuestion", {
|
|
12947
13376
|
enumerable: true,
|
|
12948
|
-
get: function () { return
|
|
13377
|
+
get: function () { return chunkKHRCABUX_cjs.openQuestion; }
|
|
12949
13378
|
});
|
|
12950
13379
|
Object.defineProperty(exports, "openRecording", {
|
|
12951
13380
|
enumerable: true,
|
|
12952
|
-
get: function () { return
|
|
13381
|
+
get: function () { return chunkKHRCABUX_cjs.openRecording; }
|
|
12953
13382
|
});
|
|
12954
13383
|
Object.defineProperty(exports, "parseWebinarPacket", {
|
|
12955
13384
|
enumerable: true,
|
|
12956
|
-
get: function () { return
|
|
13385
|
+
get: function () { return chunkKHRCABUX_cjs.parseWebinarPacket; }
|
|
12957
13386
|
});
|
|
12958
13387
|
Object.defineProperty(exports, "partKey", {
|
|
12959
13388
|
enumerable: true,
|
|
12960
|
-
get: function () { return
|
|
13389
|
+
get: function () { return chunkKHRCABUX_cjs.partKey; }
|
|
12961
13390
|
});
|
|
12962
13391
|
Object.defineProperty(exports, "partOffsetMs", {
|
|
12963
13392
|
enumerable: true,
|
|
12964
|
-
get: function () { return
|
|
13393
|
+
get: function () { return chunkKHRCABUX_cjs.partOffsetMs; }
|
|
12965
13394
|
});
|
|
12966
13395
|
Object.defineProperty(exports, "partsDue", {
|
|
12967
13396
|
enumerable: true,
|
|
12968
|
-
get: function () { return
|
|
13397
|
+
get: function () { return chunkKHRCABUX_cjs.partsDue; }
|
|
12969
13398
|
});
|
|
12970
13399
|
Object.defineProperty(exports, "patchConversation", {
|
|
12971
13400
|
enumerable: true,
|
|
12972
|
-
get: function () { return
|
|
13401
|
+
get: function () { return chunkKHRCABUX_cjs.patchConversation; }
|
|
12973
13402
|
});
|
|
12974
13403
|
Object.defineProperty(exports, "patchConversationList", {
|
|
12975
13404
|
enumerable: true,
|
|
12976
|
-
get: function () { return
|
|
13405
|
+
get: function () { return chunkKHRCABUX_cjs.patchConversationList; }
|
|
12977
13406
|
});
|
|
12978
13407
|
Object.defineProperty(exports, "persistMeetingMessage", {
|
|
12979
13408
|
enumerable: true,
|
|
12980
|
-
get: function () { return
|
|
13409
|
+
get: function () { return chunkKHRCABUX_cjs.persistMeetingMessage; }
|
|
12981
13410
|
});
|
|
12982
13411
|
Object.defineProperty(exports, "persistTranscriptSegment", {
|
|
12983
13412
|
enumerable: true,
|
|
12984
|
-
get: function () { return
|
|
13413
|
+
get: function () { return chunkKHRCABUX_cjs.persistTranscriptSegment; }
|
|
12985
13414
|
});
|
|
12986
13415
|
Object.defineProperty(exports, "playheadAt", {
|
|
12987
13416
|
enumerable: true,
|
|
12988
|
-
get: function () { return
|
|
13417
|
+
get: function () { return chunkKHRCABUX_cjs.playheadAt; }
|
|
12989
13418
|
});
|
|
12990
13419
|
Object.defineProperty(exports, "postRecordingDocsToThread", {
|
|
12991
13420
|
enumerable: true,
|
|
12992
|
-
get: function () { return
|
|
13421
|
+
get: function () { return chunkKHRCABUX_cjs.postRecordingDocsToThread; }
|
|
12993
13422
|
});
|
|
12994
13423
|
Object.defineProperty(exports, "postTranscriptToThread", {
|
|
12995
13424
|
enumerable: true,
|
|
12996
|
-
get: function () { return
|
|
13425
|
+
get: function () { return chunkKHRCABUX_cjs.postTranscriptToThread; }
|
|
12997
13426
|
});
|
|
12998
13427
|
Object.defineProperty(exports, "recordingFiles", {
|
|
12999
13428
|
enumerable: true,
|
|
13000
|
-
get: function () { return
|
|
13429
|
+
get: function () { return chunkKHRCABUX_cjs.recordingFiles; }
|
|
13001
13430
|
});
|
|
13002
13431
|
Object.defineProperty(exports, "recordingWindowsOf", {
|
|
13003
13432
|
enumerable: true,
|
|
13004
|
-
get: function () { return
|
|
13433
|
+
get: function () { return chunkKHRCABUX_cjs.recordingWindowsOf; }
|
|
13005
13434
|
});
|
|
13006
13435
|
Object.defineProperty(exports, "rejoinAsAudience", {
|
|
13007
13436
|
enumerable: true,
|
|
13008
|
-
get: function () { return
|
|
13437
|
+
get: function () { return chunkKHRCABUX_cjs.rejoinAsAudience; }
|
|
13009
13438
|
});
|
|
13010
13439
|
Object.defineProperty(exports, "removeChat", {
|
|
13011
13440
|
enumerable: true,
|
|
13012
|
-
get: function () { return
|
|
13441
|
+
get: function () { return chunkKHRCABUX_cjs.removeChat; }
|
|
13013
13442
|
});
|
|
13014
13443
|
Object.defineProperty(exports, "removeConversationFromLists", {
|
|
13015
13444
|
enumerable: true,
|
|
13016
|
-
get: function () { return
|
|
13445
|
+
get: function () { return chunkKHRCABUX_cjs.removeConversationFromLists; }
|
|
13017
13446
|
});
|
|
13018
13447
|
Object.defineProperty(exports, "resetCallSession", {
|
|
13019
13448
|
enumerable: true,
|
|
13020
|
-
get: function () { return
|
|
13449
|
+
get: function () { return chunkKHRCABUX_cjs.resetCallSession; }
|
|
13021
13450
|
});
|
|
13022
13451
|
Object.defineProperty(exports, "resolveMeetingChat", {
|
|
13023
13452
|
enumerable: true,
|
|
13024
|
-
get: function () { return
|
|
13453
|
+
get: function () { return chunkKHRCABUX_cjs.resolveMeetingChat; }
|
|
13025
13454
|
});
|
|
13026
13455
|
Object.defineProperty(exports, "saveRecordingFilesToThread", {
|
|
13027
13456
|
enumerable: true,
|
|
13028
|
-
get: function () { return
|
|
13457
|
+
get: function () { return chunkKHRCABUX_cjs.saveRecordingFilesToThread; }
|
|
13029
13458
|
});
|
|
13030
13459
|
Object.defineProperty(exports, "schedulePart", {
|
|
13031
13460
|
enumerable: true,
|
|
13032
|
-
get: function () { return
|
|
13461
|
+
get: function () { return chunkKHRCABUX_cjs.schedulePart; }
|
|
13033
13462
|
});
|
|
13034
13463
|
Object.defineProperty(exports, "sealQuestionText", {
|
|
13035
13464
|
enumerable: true,
|
|
13036
|
-
get: function () { return
|
|
13465
|
+
get: function () { return chunkKHRCABUX_cjs.sealQuestionText; }
|
|
13037
13466
|
});
|
|
13038
13467
|
Object.defineProperty(exports, "serverCallsExperimental", {
|
|
13039
13468
|
enumerable: true,
|
|
13040
|
-
get: function () { return
|
|
13469
|
+
get: function () { return chunkKHRCABUX_cjs.serverCallsExperimental; }
|
|
13041
13470
|
});
|
|
13042
13471
|
Object.defineProperty(exports, "setOpenChat", {
|
|
13043
13472
|
enumerable: true,
|
|
13044
|
-
get: function () { return
|
|
13473
|
+
get: function () { return chunkKHRCABUX_cjs.setOpenChat; }
|
|
13045
13474
|
});
|
|
13046
13475
|
Object.defineProperty(exports, "sortTranscriptMessages", {
|
|
13047
13476
|
enumerable: true,
|
|
13048
|
-
get: function () { return
|
|
13477
|
+
get: function () { return chunkKHRCABUX_cjs.sortTranscriptMessages; }
|
|
13049
13478
|
});
|
|
13050
13479
|
Object.defineProperty(exports, "sortedParts", {
|
|
13051
13480
|
enumerable: true,
|
|
13052
|
-
get: function () { return
|
|
13481
|
+
get: function () { return chunkKHRCABUX_cjs.sortedParts; }
|
|
13053
13482
|
});
|
|
13054
13483
|
Object.defineProperty(exports, "speakerTracks", {
|
|
13055
13484
|
enumerable: true,
|
|
13056
|
-
get: function () { return
|
|
13485
|
+
get: function () { return chunkKHRCABUX_cjs.speakerTracks; }
|
|
13057
13486
|
});
|
|
13058
13487
|
Object.defineProperty(exports, "speakerWav", {
|
|
13059
13488
|
enumerable: true,
|
|
13060
|
-
get: function () { return
|
|
13489
|
+
get: function () { return chunkKHRCABUX_cjs.speakerWav; }
|
|
13061
13490
|
});
|
|
13062
13491
|
Object.defineProperty(exports, "splitIntoFiles", {
|
|
13063
13492
|
enumerable: true,
|
|
13064
|
-
get: function () { return
|
|
13493
|
+
get: function () { return chunkKHRCABUX_cjs.splitIntoFiles; }
|
|
13065
13494
|
});
|
|
13066
13495
|
Object.defineProperty(exports, "standalone", {
|
|
13067
13496
|
enumerable: true,
|
|
13068
|
-
get: function () { return
|
|
13497
|
+
get: function () { return chunkKHRCABUX_cjs.standalone; }
|
|
13069
13498
|
});
|
|
13070
13499
|
Object.defineProperty(exports, "startChatCall", {
|
|
13071
13500
|
enumerable: true,
|
|
13072
|
-
get: function () { return
|
|
13501
|
+
get: function () { return chunkKHRCABUX_cjs.startChatCall; }
|
|
13073
13502
|
});
|
|
13074
13503
|
Object.defineProperty(exports, "startContactsCall", {
|
|
13075
13504
|
enumerable: true,
|
|
13076
|
-
get: function () { return
|
|
13505
|
+
get: function () { return chunkKHRCABUX_cjs.startContactsCall; }
|
|
13077
13506
|
});
|
|
13078
13507
|
Object.defineProperty(exports, "startDmCall", {
|
|
13079
13508
|
enumerable: true,
|
|
13080
|
-
get: function () { return
|
|
13509
|
+
get: function () { return chunkKHRCABUX_cjs.startDmCall; }
|
|
13081
13510
|
});
|
|
13082
13511
|
Object.defineProperty(exports, "startThreadCall", {
|
|
13083
13512
|
enumerable: true,
|
|
13084
|
-
get: function () { return
|
|
13513
|
+
get: function () { return chunkKHRCABUX_cjs.startThreadCall; }
|
|
13085
13514
|
});
|
|
13086
13515
|
Object.defineProperty(exports, "startsMediaFile", {
|
|
13087
13516
|
enumerable: true,
|
|
13088
|
-
get: function () { return
|
|
13517
|
+
get: function () { return chunkKHRCABUX_cjs.startsMediaFile; }
|
|
13089
13518
|
});
|
|
13090
13519
|
Object.defineProperty(exports, "storeTranscriptSegment", {
|
|
13091
13520
|
enumerable: true,
|
|
13092
|
-
get: function () { return
|
|
13521
|
+
get: function () { return chunkKHRCABUX_cjs.storeTranscriptSegment; }
|
|
13093
13522
|
});
|
|
13094
13523
|
Object.defineProperty(exports, "stripSpeakerPrefix", {
|
|
13095
13524
|
enumerable: true,
|
|
13096
|
-
get: function () { return
|
|
13525
|
+
get: function () { return chunkKHRCABUX_cjs.stripSpeakerPrefix; }
|
|
13097
13526
|
});
|
|
13098
13527
|
Object.defineProperty(exports, "supersedeLiveTranscript", {
|
|
13099
13528
|
enumerable: true,
|
|
13100
|
-
get: function () { return
|
|
13529
|
+
get: function () { return chunkKHRCABUX_cjs.supersedeLiveTranscript; }
|
|
13101
13530
|
});
|
|
13102
13531
|
Object.defineProperty(exports, "supersededTranscriptLines", {
|
|
13103
13532
|
enumerable: true,
|
|
13104
|
-
get: function () { return
|
|
13533
|
+
get: function () { return chunkKHRCABUX_cjs.supersededTranscriptLines; }
|
|
13105
13534
|
});
|
|
13106
13535
|
Object.defineProperty(exports, "threadHasLiveCall", {
|
|
13107
13536
|
enumerable: true,
|
|
13108
|
-
get: function () { return
|
|
13537
|
+
get: function () { return chunkKHRCABUX_cjs.threadHasLiveCall; }
|
|
13109
13538
|
});
|
|
13110
13539
|
Object.defineProperty(exports, "threadLiveCallId", {
|
|
13111
13540
|
enumerable: true,
|
|
13112
|
-
get: function () { return
|
|
13541
|
+
get: function () { return chunkKHRCABUX_cjs.threadLiveCallId; }
|
|
13113
13542
|
});
|
|
13114
13543
|
Object.defineProperty(exports, "threadTranscriptLines", {
|
|
13115
13544
|
enumerable: true,
|
|
13116
|
-
get: function () { return
|
|
13545
|
+
get: function () { return chunkKHRCABUX_cjs.threadTranscriptLines; }
|
|
13117
13546
|
});
|
|
13118
13547
|
Object.defineProperty(exports, "threadTranscriptRef", {
|
|
13119
13548
|
enumerable: true,
|
|
13120
|
-
get: function () { return
|
|
13549
|
+
get: function () { return chunkKHRCABUX_cjs.threadTranscriptRef; }
|
|
13121
13550
|
});
|
|
13122
13551
|
Object.defineProperty(exports, "threadTranscriptText", {
|
|
13123
13552
|
enumerable: true,
|
|
13124
|
-
get: function () { return
|
|
13553
|
+
get: function () { return chunkKHRCABUX_cjs.threadTranscriptText; }
|
|
13125
13554
|
});
|
|
13126
13555
|
Object.defineProperty(exports, "timelineDurationMs", {
|
|
13127
13556
|
enumerable: true,
|
|
13128
|
-
get: function () { return
|
|
13557
|
+
get: function () { return chunkKHRCABUX_cjs.timelineDurationMs; }
|
|
13129
13558
|
});
|
|
13130
13559
|
Object.defineProperty(exports, "timelineOf", {
|
|
13131
13560
|
enumerable: true,
|
|
13132
|
-
get: function () { return
|
|
13561
|
+
get: function () { return chunkKHRCABUX_cjs.timelineOf; }
|
|
13133
13562
|
});
|
|
13134
13563
|
Object.defineProperty(exports, "toProfileView", {
|
|
13135
13564
|
enumerable: true,
|
|
13136
|
-
get: function () { return
|
|
13565
|
+
get: function () { return chunkKHRCABUX_cjs.toProfileView; }
|
|
13137
13566
|
});
|
|
13138
13567
|
Object.defineProperty(exports, "trackUploaderFor", {
|
|
13139
13568
|
enumerable: true,
|
|
13140
|
-
get: function () { return
|
|
13569
|
+
get: function () { return chunkKHRCABUX_cjs.trackUploaderFor; }
|
|
13141
13570
|
});
|
|
13142
13571
|
Object.defineProperty(exports, "transcribeRecording", {
|
|
13143
13572
|
enumerable: true,
|
|
13144
|
-
get: function () { return
|
|
13573
|
+
get: function () { return chunkKHRCABUX_cjs.transcribeRecording; }
|
|
13145
13574
|
});
|
|
13146
13575
|
Object.defineProperty(exports, "transcriptPersistRole", {
|
|
13147
13576
|
enumerable: true,
|
|
13148
|
-
get: function () { return
|
|
13577
|
+
get: function () { return chunkKHRCABUX_cjs.transcriptPersistRole; }
|
|
13149
13578
|
});
|
|
13150
13579
|
Object.defineProperty(exports, "transcriptSegmentOf", {
|
|
13151
13580
|
enumerable: true,
|
|
13152
|
-
get: function () { return
|
|
13581
|
+
get: function () { return chunkKHRCABUX_cjs.transcriptSegmentOf; }
|
|
13153
13582
|
});
|
|
13154
13583
|
Object.defineProperty(exports, "unwrapTrackKey", {
|
|
13155
13584
|
enumerable: true,
|
|
13156
|
-
get: function () { return
|
|
13585
|
+
get: function () { return chunkKHRCABUX_cjs.unwrapTrackKey; }
|
|
13157
13586
|
});
|
|
13158
13587
|
Object.defineProperty(exports, "upsertChat", {
|
|
13159
13588
|
enumerable: true,
|
|
13160
|
-
get: function () { return
|
|
13589
|
+
get: function () { return chunkKHRCABUX_cjs.upsertChat; }
|
|
13161
13590
|
});
|
|
13162
13591
|
Object.defineProperty(exports, "useAccountClient", {
|
|
13163
13592
|
enumerable: true,
|
|
13164
|
-
get: function () { return
|
|
13593
|
+
get: function () { return chunkKHRCABUX_cjs.useAccountClient; }
|
|
13165
13594
|
});
|
|
13166
13595
|
Object.defineProperty(exports, "useAvatarCrop", {
|
|
13167
13596
|
enumerable: true,
|
|
13168
|
-
get: function () { return
|
|
13597
|
+
get: function () { return chunkKHRCABUX_cjs.useAvatarCrop; }
|
|
13169
13598
|
});
|
|
13170
13599
|
Object.defineProperty(exports, "useCall", {
|
|
13171
13600
|
enumerable: true,
|
|
13172
|
-
get: function () { return
|
|
13601
|
+
get: function () { return chunkKHRCABUX_cjs.useCall; }
|
|
13173
13602
|
});
|
|
13174
13603
|
Object.defineProperty(exports, "useCallInviteLinks", {
|
|
13175
13604
|
enumerable: true,
|
|
13176
|
-
get: function () { return
|
|
13605
|
+
get: function () { return chunkKHRCABUX_cjs.useCallInviteLinks; }
|
|
13177
13606
|
});
|
|
13178
13607
|
Object.defineProperty(exports, "useCallRecording", {
|
|
13179
13608
|
enumerable: true,
|
|
13180
|
-
get: function () { return
|
|
13609
|
+
get: function () { return chunkKHRCABUX_cjs.useCallRecording; }
|
|
13181
13610
|
});
|
|
13182
13611
|
Object.defineProperty(exports, "useCallRecordings", {
|
|
13183
13612
|
enumerable: true,
|
|
13184
|
-
get: function () { return
|
|
13613
|
+
get: function () { return chunkKHRCABUX_cjs.useCallRecordings; }
|
|
13185
13614
|
});
|
|
13186
13615
|
Object.defineProperty(exports, "useCallSession", {
|
|
13187
13616
|
enumerable: true,
|
|
13188
|
-
get: function () { return
|
|
13617
|
+
get: function () { return chunkKHRCABUX_cjs.useCallSession; }
|
|
13189
13618
|
});
|
|
13190
13619
|
Object.defineProperty(exports, "useCallTranscriptionAvailable", {
|
|
13191
13620
|
enumerable: true,
|
|
13192
|
-
get: function () { return
|
|
13621
|
+
get: function () { return chunkKHRCABUX_cjs.useCallTranscriptionAvailable; }
|
|
13193
13622
|
});
|
|
13194
13623
|
Object.defineProperty(exports, "useCallsConfig", {
|
|
13195
13624
|
enumerable: true,
|
|
13196
|
-
get: function () { return
|
|
13625
|
+
get: function () { return chunkKHRCABUX_cjs.useCallsConfig; }
|
|
13197
13626
|
});
|
|
13198
13627
|
Object.defineProperty(exports, "useCallsEnabled", {
|
|
13199
13628
|
enumerable: true,
|
|
13200
|
-
get: function () { return
|
|
13629
|
+
get: function () { return chunkKHRCABUX_cjs.useCallsEnabled; }
|
|
13201
13630
|
});
|
|
13202
13631
|
Object.defineProperty(exports, "useCanHostCalls", {
|
|
13203
13632
|
enumerable: true,
|
|
13204
|
-
get: function () { return
|
|
13633
|
+
get: function () { return chunkKHRCABUX_cjs.useCanHostCalls; }
|
|
13205
13634
|
});
|
|
13206
13635
|
Object.defineProperty(exports, "useEntitlements", {
|
|
13207
13636
|
enumerable: true,
|
|
13208
|
-
get: function () { return
|
|
13637
|
+
get: function () { return chunkKHRCABUX_cjs.useEntitlements; }
|
|
13209
13638
|
});
|
|
13210
13639
|
Object.defineProperty(exports, "useIsEntitled", {
|
|
13211
13640
|
enumerable: true,
|
|
13212
|
-
get: function () { return
|
|
13641
|
+
get: function () { return chunkKHRCABUX_cjs.useIsEntitled; }
|
|
13213
13642
|
});
|
|
13214
13643
|
Object.defineProperty(exports, "useMeetingReadOnly", {
|
|
13215
13644
|
enumerable: true,
|
|
13216
|
-
get: function () { return
|
|
13645
|
+
get: function () { return chunkKHRCABUX_cjs.useMeetingReadOnly; }
|
|
13217
13646
|
});
|
|
13218
13647
|
Object.defineProperty(exports, "useNameEditor", {
|
|
13219
13648
|
enumerable: true,
|
|
13220
|
-
get: function () { return
|
|
13649
|
+
get: function () { return chunkKHRCABUX_cjs.useNameEditor; }
|
|
13221
13650
|
});
|
|
13222
13651
|
Object.defineProperty(exports, "useOpenCallMeetingChat", {
|
|
13223
13652
|
enumerable: true,
|
|
13224
|
-
get: function () { return
|
|
13653
|
+
get: function () { return chunkKHRCABUX_cjs.useOpenCallMeetingChat; }
|
|
13225
13654
|
});
|
|
13226
13655
|
Object.defineProperty(exports, "useProfile", {
|
|
13227
13656
|
enumerable: true,
|
|
13228
|
-
get: function () { return
|
|
13657
|
+
get: function () { return chunkKHRCABUX_cjs.useProfile; }
|
|
13229
13658
|
});
|
|
13230
13659
|
Object.defineProperty(exports, "useRecordingActions", {
|
|
13231
13660
|
enumerable: true,
|
|
13232
|
-
get: function () { return
|
|
13661
|
+
get: function () { return chunkKHRCABUX_cjs.useRecordingActions; }
|
|
13233
13662
|
});
|
|
13234
13663
|
Object.defineProperty(exports, "useRecordingWindows", {
|
|
13235
13664
|
enumerable: true,
|
|
13236
|
-
get: function () { return
|
|
13665
|
+
get: function () { return chunkKHRCABUX_cjs.useRecordingWindows; }
|
|
13237
13666
|
});
|
|
13238
13667
|
Object.defineProperty(exports, "useRevokeCallInviteLink", {
|
|
13239
13668
|
enumerable: true,
|
|
13240
|
-
get: function () { return
|
|
13669
|
+
get: function () { return chunkKHRCABUX_cjs.useRevokeCallInviteLink; }
|
|
13241
13670
|
});
|
|
13242
13671
|
Object.defineProperty(exports, "useSaveToThread", {
|
|
13243
13672
|
enumerable: true,
|
|
13244
|
-
get: function () { return
|
|
13673
|
+
get: function () { return chunkKHRCABUX_cjs.useSaveToThread; }
|
|
13245
13674
|
});
|
|
13246
13675
|
Object.defineProperty(exports, "useServerCallsEnabled", {
|
|
13247
13676
|
enumerable: true,
|
|
13248
|
-
get: function () { return
|
|
13677
|
+
get: function () { return chunkKHRCABUX_cjs.useServerCallsEnabled; }
|
|
13249
13678
|
});
|
|
13250
13679
|
Object.defineProperty(exports, "useServerCallsExperimental", {
|
|
13251
13680
|
enumerable: true,
|
|
13252
|
-
get: function () { return
|
|
13681
|
+
get: function () { return chunkKHRCABUX_cjs.useServerCallsExperimental; }
|
|
13253
13682
|
});
|
|
13254
13683
|
Object.defineProperty(exports, "useUpdateProfile", {
|
|
13255
13684
|
enumerable: true,
|
|
13256
|
-
get: function () { return
|
|
13685
|
+
get: function () { return chunkKHRCABUX_cjs.useUpdateProfile; }
|
|
13257
13686
|
});
|
|
13258
13687
|
Object.defineProperty(exports, "wrapTrackKey", {
|
|
13259
13688
|
enumerable: true,
|
|
13260
|
-
get: function () { return
|
|
13689
|
+
get: function () { return chunkKHRCABUX_cjs.wrapTrackKey; }
|
|
13261
13690
|
});
|
|
13262
13691
|
Object.defineProperty(exports, "writeSamples", {
|
|
13263
13692
|
enumerable: true,
|
|
13264
|
-
get: function () { return
|
|
13693
|
+
get: function () { return chunkKHRCABUX_cjs.writeSamples; }
|
|
13694
|
+
});
|
|
13695
|
+
Object.defineProperty(exports, "DISMISSED_TASK_TTL_MS", {
|
|
13696
|
+
enumerable: true,
|
|
13697
|
+
get: function () { return chunkGAW2PLSL_cjs.DISMISSED_TASK_TTL_MS; }
|
|
13265
13698
|
});
|
|
13266
13699
|
Object.defineProperty(exports, "DOCUMENTS_FIRST_PAGE_MEASURE", {
|
|
13267
13700
|
enumerable: true,
|
|
13268
|
-
get: function () { return
|
|
13701
|
+
get: function () { return chunkGAW2PLSL_cjs.DOCUMENTS_FIRST_PAGE_MEASURE; }
|
|
13269
13702
|
});
|
|
13270
13703
|
Object.defineProperty(exports, "DOCUMENTS_FIRST_PAGE_SIZE", {
|
|
13271
13704
|
enumerable: true,
|
|
13272
|
-
get: function () { return
|
|
13705
|
+
get: function () { return chunkGAW2PLSL_cjs.DOCUMENTS_FIRST_PAGE_SIZE; }
|
|
13273
13706
|
});
|
|
13274
13707
|
Object.defineProperty(exports, "DOCUMENTS_PAGE_SIZE", {
|
|
13275
13708
|
enumerable: true,
|
|
13276
|
-
get: function () { return
|
|
13709
|
+
get: function () { return chunkGAW2PLSL_cjs.DOCUMENTS_PAGE_SIZE; }
|
|
13277
13710
|
});
|
|
13278
13711
|
Object.defineProperty(exports, "FINISHED_DOCUMENT_STATUSES", {
|
|
13279
13712
|
enumerable: true,
|
|
13280
|
-
get: function () { return
|
|
13713
|
+
get: function () { return chunkGAW2PLSL_cjs.FINISHED_DOCUMENT_STATUSES; }
|
|
13281
13714
|
});
|
|
13282
13715
|
Object.defineProperty(exports, "IN_FLIGHT_DOCUMENT_STATUSES", {
|
|
13283
13716
|
enumerable: true,
|
|
13284
|
-
get: function () { return
|
|
13717
|
+
get: function () { return chunkGAW2PLSL_cjs.IN_FLIGHT_DOCUMENT_STATUSES; }
|
|
13285
13718
|
});
|
|
13286
13719
|
Object.defineProperty(exports, "SIMILARITY_THRESHOLD", {
|
|
13287
13720
|
enumerable: true,
|
|
13288
|
-
get: function () { return
|
|
13721
|
+
get: function () { return chunkGAW2PLSL_cjs.SIMILARITY_THRESHOLD; }
|
|
13289
13722
|
});
|
|
13290
13723
|
Object.defineProperty(exports, "adjustTagCounts", {
|
|
13291
13724
|
enumerable: true,
|
|
13292
|
-
get: function () { return
|
|
13725
|
+
get: function () { return chunkGAW2PLSL_cjs.adjustTagCounts; }
|
|
13293
13726
|
});
|
|
13294
13727
|
Object.defineProperty(exports, "dropTagFromCachedDocuments", {
|
|
13295
13728
|
enumerable: true,
|
|
13296
|
-
get: function () { return
|
|
13729
|
+
get: function () { return chunkGAW2PLSL_cjs.dropTagFromCachedDocuments; }
|
|
13297
13730
|
});
|
|
13298
13731
|
Object.defineProperty(exports, "finishEntityExtraction", {
|
|
13299
13732
|
enumerable: true,
|
|
13300
|
-
get: function () { return
|
|
13733
|
+
get: function () { return chunkGAW2PLSL_cjs.finishEntityExtraction; }
|
|
13301
13734
|
});
|
|
13302
13735
|
Object.defineProperty(exports, "forgetDocuments", {
|
|
13303
13736
|
enumerable: true,
|
|
13304
|
-
get: function () { return
|
|
13737
|
+
get: function () { return chunkGAW2PLSL_cjs.forgetDocuments; }
|
|
13305
13738
|
});
|
|
13306
13739
|
Object.defineProperty(exports, "getCachedDocuments", {
|
|
13307
13740
|
enumerable: true,
|
|
13308
|
-
get: function () { return
|
|
13741
|
+
get: function () { return chunkGAW2PLSL_cjs.getCachedDocuments; }
|
|
13309
13742
|
});
|
|
13310
13743
|
Object.defineProperty(exports, "invalidateTagData", {
|
|
13311
13744
|
enumerable: true,
|
|
13312
|
-
get: function () { return
|
|
13745
|
+
get: function () { return chunkGAW2PLSL_cjs.invalidateTagData; }
|
|
13313
13746
|
});
|
|
13314
13747
|
Object.defineProperty(exports, "invalidateTagTables", {
|
|
13315
13748
|
enumerable: true,
|
|
13316
|
-
get: function () { return
|
|
13749
|
+
get: function () { return chunkGAW2PLSL_cjs.invalidateTagTables; }
|
|
13317
13750
|
});
|
|
13318
13751
|
Object.defineProperty(exports, "isDocumentsLoading", {
|
|
13319
13752
|
enumerable: true,
|
|
13320
|
-
get: function () { return
|
|
13753
|
+
get: function () { return chunkGAW2PLSL_cjs.isDocumentsLoading; }
|
|
13321
13754
|
});
|
|
13322
13755
|
Object.defineProperty(exports, "isRowNewer", {
|
|
13323
13756
|
enumerable: true,
|
|
13324
|
-
get: function () { return
|
|
13757
|
+
get: function () { return chunkGAW2PLSL_cjs.isRowNewer; }
|
|
13325
13758
|
});
|
|
13326
13759
|
Object.defineProperty(exports, "isStaleTaskUpdate", {
|
|
13327
13760
|
enumerable: true,
|
|
13328
|
-
get: function () { return
|
|
13761
|
+
get: function () { return chunkGAW2PLSL_cjs.isStaleTaskUpdate; }
|
|
13329
13762
|
});
|
|
13330
13763
|
Object.defineProperty(exports, "patchCachedDocument", {
|
|
13331
13764
|
enumerable: true,
|
|
13332
|
-
get: function () { return
|
|
13765
|
+
get: function () { return chunkGAW2PLSL_cjs.patchCachedDocument; }
|
|
13333
13766
|
});
|
|
13334
13767
|
Object.defineProperty(exports, "patchDocuments", {
|
|
13335
13768
|
enumerable: true,
|
|
13336
|
-
get: function () { return
|
|
13769
|
+
get: function () { return chunkGAW2PLSL_cjs.patchDocuments; }
|
|
13337
13770
|
});
|
|
13338
13771
|
Object.defineProperty(exports, "patchWorkspaceTags", {
|
|
13339
13772
|
enumerable: true,
|
|
13340
|
-
get: function () { return
|
|
13773
|
+
get: function () { return chunkGAW2PLSL_cjs.patchWorkspaceTags; }
|
|
13341
13774
|
});
|
|
13342
13775
|
Object.defineProperty(exports, "refreshDocuments", {
|
|
13343
13776
|
enumerable: true,
|
|
13344
|
-
get: function () { return
|
|
13777
|
+
get: function () { return chunkGAW2PLSL_cjs.refreshDocuments; }
|
|
13345
13778
|
});
|
|
13346
13779
|
Object.defineProperty(exports, "resolveDocumentStatus", {
|
|
13347
13780
|
enumerable: true,
|
|
13348
|
-
get: function () { return
|
|
13781
|
+
get: function () { return chunkGAW2PLSL_cjs.resolveDocumentStatus; }
|
|
13349
13782
|
});
|
|
13350
13783
|
Object.defineProperty(exports, "setCachedDocument", {
|
|
13351
13784
|
enumerable: true,
|
|
13352
|
-
get: function () { return
|
|
13785
|
+
get: function () { return chunkGAW2PLSL_cjs.setCachedDocument; }
|
|
13353
13786
|
});
|
|
13354
13787
|
Object.defineProperty(exports, "settledByRows", {
|
|
13355
13788
|
enumerable: true,
|
|
13356
|
-
get: function () { return
|
|
13789
|
+
get: function () { return chunkGAW2PLSL_cjs.settledByRows; }
|
|
13357
13790
|
});
|
|
13358
13791
|
Object.defineProperty(exports, "startEntityExtraction", {
|
|
13359
13792
|
enumerable: true,
|
|
13360
|
-
get: function () { return
|
|
13793
|
+
get: function () { return chunkGAW2PLSL_cjs.startEntityExtraction; }
|
|
13361
13794
|
});
|
|
13362
13795
|
Object.defineProperty(exports, "stopDocumentsLoading", {
|
|
13363
13796
|
enumerable: true,
|
|
13364
|
-
get: function () { return
|
|
13797
|
+
get: function () { return chunkGAW2PLSL_cjs.stopDocumentsLoading; }
|
|
13365
13798
|
});
|
|
13366
13799
|
Object.defineProperty(exports, "subscribeDocumentRows", {
|
|
13367
13800
|
enumerable: true,
|
|
13368
|
-
get: function () { return
|
|
13801
|
+
get: function () { return chunkGAW2PLSL_cjs.subscribeDocumentRows; }
|
|
13369
13802
|
});
|
|
13370
13803
|
Object.defineProperty(exports, "upsertDocuments", {
|
|
13371
13804
|
enumerable: true,
|
|
13372
|
-
get: function () { return
|
|
13805
|
+
get: function () { return chunkGAW2PLSL_cjs.upsertDocuments; }
|
|
13806
|
+
});
|
|
13807
|
+
Object.defineProperty(exports, "useArbiWsStore", {
|
|
13808
|
+
enumerable: true,
|
|
13809
|
+
get: function () { return chunkGAW2PLSL_cjs.useArbiWsStore; }
|
|
13373
13810
|
});
|
|
13374
13811
|
Object.defineProperty(exports, "useCreateTag", {
|
|
13375
13812
|
enumerable: true,
|
|
13376
|
-
get: function () { return
|
|
13813
|
+
get: function () { return chunkGAW2PLSL_cjs.useCreateTag; }
|
|
13377
13814
|
});
|
|
13378
13815
|
Object.defineProperty(exports, "useDeleteTag", {
|
|
13379
13816
|
enumerable: true,
|
|
13380
|
-
get: function () { return
|
|
13817
|
+
get: function () { return chunkGAW2PLSL_cjs.useDeleteTag; }
|
|
13381
13818
|
});
|
|
13382
13819
|
Object.defineProperty(exports, "useDocument", {
|
|
13383
13820
|
enumerable: true,
|
|
13384
|
-
get: function () { return
|
|
13821
|
+
get: function () { return chunkGAW2PLSL_cjs.useDocument; }
|
|
13385
13822
|
});
|
|
13386
13823
|
Object.defineProperty(exports, "useDocuments", {
|
|
13387
13824
|
enumerable: true,
|
|
13388
|
-
get: function () { return
|
|
13825
|
+
get: function () { return chunkGAW2PLSL_cjs.useDocuments; }
|
|
13389
13826
|
});
|
|
13390
13827
|
Object.defineProperty(exports, "useDocumentsById", {
|
|
13391
13828
|
enumerable: true,
|
|
13392
|
-
get: function () { return
|
|
13829
|
+
get: function () { return chunkGAW2PLSL_cjs.useDocumentsById; }
|
|
13393
13830
|
});
|
|
13394
13831
|
Object.defineProperty(exports, "useDocumentsLoading", {
|
|
13395
13832
|
enumerable: true,
|
|
13396
|
-
get: function () { return
|
|
13833
|
+
get: function () { return chunkGAW2PLSL_cjs.useDocumentsLoading; }
|
|
13397
13834
|
});
|
|
13398
13835
|
Object.defineProperty(exports, "useEntityExtractionDocIds", {
|
|
13399
13836
|
enumerable: true,
|
|
13400
|
-
get: function () { return
|
|
13837
|
+
get: function () { return chunkGAW2PLSL_cjs.useEntityExtractionDocIds; }
|
|
13401
13838
|
});
|
|
13402
13839
|
Object.defineProperty(exports, "useExtractEntities", {
|
|
13403
13840
|
enumerable: true,
|
|
13404
|
-
get: function () { return
|
|
13841
|
+
get: function () { return chunkGAW2PLSL_cjs.useExtractEntities; }
|
|
13405
13842
|
});
|
|
13406
13843
|
Object.defineProperty(exports, "useInvalidateTagData", {
|
|
13407
13844
|
enumerable: true,
|
|
13408
|
-
get: function () { return
|
|
13845
|
+
get: function () { return chunkGAW2PLSL_cjs.useInvalidateTagData; }
|
|
13409
13846
|
});
|
|
13410
13847
|
Object.defineProperty(exports, "useIsCreatingTag", {
|
|
13411
13848
|
enumerable: true,
|
|
13412
|
-
get: function () { return
|
|
13849
|
+
get: function () { return chunkGAW2PLSL_cjs.useIsCreatingTag; }
|
|
13850
|
+
});
|
|
13851
|
+
Object.defineProperty(exports, "useRefreshDocuments", {
|
|
13852
|
+
enumerable: true,
|
|
13853
|
+
get: function () { return chunkGAW2PLSL_cjs.useRefreshDocuments; }
|
|
13413
13854
|
});
|
|
13414
13855
|
Object.defineProperty(exports, "useSetTagValues", {
|
|
13415
13856
|
enumerable: true,
|
|
13416
|
-
get: function () { return
|
|
13857
|
+
get: function () { return chunkGAW2PLSL_cjs.useSetTagValues; }
|
|
13417
13858
|
});
|
|
13418
13859
|
Object.defineProperty(exports, "useSimilarDocuments", {
|
|
13419
13860
|
enumerable: true,
|
|
13420
|
-
get: function () { return
|
|
13861
|
+
get: function () { return chunkGAW2PLSL_cjs.useSimilarDocuments; }
|
|
13421
13862
|
});
|
|
13422
13863
|
Object.defineProperty(exports, "useTagKindSchema", {
|
|
13423
13864
|
enumerable: true,
|
|
13424
|
-
get: function () { return
|
|
13865
|
+
get: function () { return chunkGAW2PLSL_cjs.useTagKindSchema; }
|
|
13425
13866
|
});
|
|
13426
13867
|
Object.defineProperty(exports, "useUpdateTag", {
|
|
13427
13868
|
enumerable: true,
|
|
13428
|
-
get: function () { return
|
|
13869
|
+
get: function () { return chunkGAW2PLSL_cjs.useUpdateTag; }
|
|
13429
13870
|
});
|
|
13430
13871
|
Object.defineProperty(exports, "useUpdateTagKindSchema", {
|
|
13431
13872
|
enumerable: true,
|
|
13432
|
-
get: function () { return
|
|
13873
|
+
get: function () { return chunkGAW2PLSL_cjs.useUpdateTagKindSchema; }
|
|
13433
13874
|
});
|
|
13434
13875
|
Object.defineProperty(exports, "DEFAULT_DOCUMENT_VIEWER_STATE", {
|
|
13435
13876
|
enumerable: true,
|
|
13436
|
-
get: function () { return
|
|
13877
|
+
get: function () { return chunkCWJAULV2_cjs.DEFAULT_DOCUMENT_VIEWER_STATE; }
|
|
13437
13878
|
});
|
|
13438
13879
|
Object.defineProperty(exports, "EMPTY_SESSION_STATE", {
|
|
13439
13880
|
enumerable: true,
|
|
13440
|
-
get: function () { return
|
|
13881
|
+
get: function () { return chunkCWJAULV2_cjs.EMPTY_SESSION_STATE; }
|
|
13441
13882
|
});
|
|
13442
13883
|
Object.defineProperty(exports, "MAX_THREAD_TABS", {
|
|
13443
13884
|
enumerable: true,
|
|
13444
|
-
get: function () { return
|
|
13885
|
+
get: function () { return chunkCWJAULV2_cjs.MAX_THREAD_TABS; }
|
|
13445
13886
|
});
|
|
13446
13887
|
Object.defineProperty(exports, "MIN_QUEUED_MESSAGE_VISIBILITY_MS", {
|
|
13447
13888
|
enumerable: true,
|
|
13448
|
-
get: function () { return
|
|
13889
|
+
get: function () { return chunkCWJAULV2_cjs.MIN_QUEUED_MESSAGE_VISIBILITY_MS; }
|
|
13449
13890
|
});
|
|
13450
13891
|
Object.defineProperty(exports, "PROJECT_CREATION_DENIED_REASON", {
|
|
13451
13892
|
enumerable: true,
|
|
13452
|
-
get: function () { return
|
|
13893
|
+
get: function () { return chunkCWJAULV2_cjs.PROJECT_CREATION_DENIED_REASON; }
|
|
13453
13894
|
});
|
|
13454
13895
|
Object.defineProperty(exports, "agentControl", {
|
|
13455
13896
|
enumerable: true,
|
|
13456
|
-
get: function () { return
|
|
13897
|
+
get: function () { return chunkCWJAULV2_cjs.agentControl; }
|
|
13457
13898
|
});
|
|
13458
13899
|
Object.defineProperty(exports, "clearSealedDrafts", {
|
|
13459
13900
|
enumerable: true,
|
|
13460
|
-
get: function () { return
|
|
13901
|
+
get: function () { return chunkCWJAULV2_cjs.clearSealedDrafts; }
|
|
13902
|
+
});
|
|
13903
|
+
Object.defineProperty(exports, "closePanelIn", {
|
|
13904
|
+
enumerable: true,
|
|
13905
|
+
get: function () { return chunkCWJAULV2_cjs.closePanelIn; }
|
|
13461
13906
|
});
|
|
13462
13907
|
Object.defineProperty(exports, "conversationKey", {
|
|
13463
13908
|
enumerable: true,
|
|
13464
|
-
get: function () { return
|
|
13909
|
+
get: function () { return chunkCWJAULV2_cjs.conversationKey; }
|
|
13910
|
+
});
|
|
13911
|
+
Object.defineProperty(exports, "createArbiLayoutStore", {
|
|
13912
|
+
enumerable: true,
|
|
13913
|
+
get: function () { return chunkCWJAULV2_cjs.createArbiLayoutStore; }
|
|
13465
13914
|
});
|
|
13466
13915
|
Object.defineProperty(exports, "createArbiSessionStore", {
|
|
13467
13916
|
enumerable: true,
|
|
13468
|
-
get: function () { return
|
|
13917
|
+
get: function () { return chunkCWJAULV2_cjs.createArbiSessionStore; }
|
|
13918
|
+
});
|
|
13919
|
+
Object.defineProperty(exports, "createDebouncedWriter", {
|
|
13920
|
+
enumerable: true,
|
|
13921
|
+
get: function () { return chunkCWJAULV2_cjs.createDebouncedWriter; }
|
|
13469
13922
|
});
|
|
13470
13923
|
Object.defineProperty(exports, "createSealedDraftStorage", {
|
|
13471
13924
|
enumerable: true,
|
|
13472
|
-
get: function () { return
|
|
13925
|
+
get: function () { return chunkCWJAULV2_cjs.createSealedDraftStorage; }
|
|
13926
|
+
});
|
|
13927
|
+
Object.defineProperty(exports, "createStoragePersist", {
|
|
13928
|
+
enumerable: true,
|
|
13929
|
+
get: function () { return chunkCWJAULV2_cjs.createStoragePersist; }
|
|
13930
|
+
});
|
|
13931
|
+
Object.defineProperty(exports, "defaultLayoutState", {
|
|
13932
|
+
enumerable: true,
|
|
13933
|
+
get: function () { return chunkCWJAULV2_cjs.defaultLayoutState; }
|
|
13934
|
+
});
|
|
13935
|
+
Object.defineProperty(exports, "dmTabId", {
|
|
13936
|
+
enumerable: true,
|
|
13937
|
+
get: function () { return chunkCWJAULV2_cjs.dmTabId; }
|
|
13938
|
+
});
|
|
13939
|
+
Object.defineProperty(exports, "flushOnPageExit", {
|
|
13940
|
+
enumerable: true,
|
|
13941
|
+
get: function () { return chunkCWJAULV2_cjs.flushOnPageExit; }
|
|
13942
|
+
});
|
|
13943
|
+
Object.defineProperty(exports, "isPanelOpen", {
|
|
13944
|
+
enumerable: true,
|
|
13945
|
+
get: function () { return chunkCWJAULV2_cjs.isPanelOpen; }
|
|
13473
13946
|
});
|
|
13474
13947
|
Object.defineProperty(exports, "isUsageMetered", {
|
|
13475
13948
|
enumerable: true,
|
|
13476
|
-
get: function () { return
|
|
13949
|
+
get: function () { return chunkCWJAULV2_cjs.isUsageMetered; }
|
|
13950
|
+
});
|
|
13951
|
+
Object.defineProperty(exports, "layoutActionsOf", {
|
|
13952
|
+
enumerable: true,
|
|
13953
|
+
get: function () { return chunkCWJAULV2_cjs.layoutActionsOf; }
|
|
13477
13954
|
});
|
|
13478
13955
|
Object.defineProperty(exports, "nextViewingDocument", {
|
|
13479
13956
|
enumerable: true,
|
|
13480
|
-
get: function () { return
|
|
13957
|
+
get: function () { return chunkCWJAULV2_cjs.nextViewingDocument; }
|
|
13958
|
+
});
|
|
13959
|
+
Object.defineProperty(exports, "openPanelIn", {
|
|
13960
|
+
enumerable: true,
|
|
13961
|
+
get: function () { return chunkCWJAULV2_cjs.openPanelIn; }
|
|
13962
|
+
});
|
|
13963
|
+
Object.defineProperty(exports, "panelPlace", {
|
|
13964
|
+
enumerable: true,
|
|
13965
|
+
get: function () { return chunkCWJAULV2_cjs.panelPlace; }
|
|
13966
|
+
});
|
|
13967
|
+
Object.defineProperty(exports, "parseSavedLayout", {
|
|
13968
|
+
enumerable: true,
|
|
13969
|
+
get: function () { return chunkCWJAULV2_cjs.parseSavedLayout; }
|
|
13481
13970
|
});
|
|
13482
13971
|
Object.defineProperty(exports, "queuedMessages", {
|
|
13483
13972
|
enumerable: true,
|
|
13484
|
-
get: function () { return
|
|
13973
|
+
get: function () { return chunkCWJAULV2_cjs.queuedMessages; }
|
|
13974
|
+
});
|
|
13975
|
+
Object.defineProperty(exports, "restoreLayout", {
|
|
13976
|
+
enumerable: true,
|
|
13977
|
+
get: function () { return chunkCWJAULV2_cjs.restoreLayout; }
|
|
13978
|
+
});
|
|
13979
|
+
Object.defineProperty(exports, "savedLayoutOf", {
|
|
13980
|
+
enumerable: true,
|
|
13981
|
+
get: function () { return chunkCWJAULV2_cjs.savedLayoutOf; }
|
|
13485
13982
|
});
|
|
13486
13983
|
Object.defineProperty(exports, "selectDraft", {
|
|
13487
13984
|
enumerable: true,
|
|
13488
|
-
get: function () { return
|
|
13985
|
+
get: function () { return chunkCWJAULV2_cjs.selectDraft; }
|
|
13489
13986
|
});
|
|
13490
13987
|
Object.defineProperty(exports, "selectIsGenerating", {
|
|
13491
13988
|
enumerable: true,
|
|
13492
|
-
get: function () { return
|
|
13989
|
+
get: function () { return chunkCWJAULV2_cjs.selectIsGenerating; }
|
|
13493
13990
|
});
|
|
13494
13991
|
Object.defineProperty(exports, "selectViewingDocumentId", {
|
|
13495
13992
|
enumerable: true,
|
|
13496
|
-
get: function () { return
|
|
13993
|
+
get: function () { return chunkCWJAULV2_cjs.selectViewingDocumentId; }
|
|
13497
13994
|
});
|
|
13498
13995
|
Object.defineProperty(exports, "threadTabId", {
|
|
13499
13996
|
enumerable: true,
|
|
13500
|
-
get: function () { return
|
|
13997
|
+
get: function () { return chunkCWJAULV2_cjs.threadTabId; }
|
|
13501
13998
|
});
|
|
13502
13999
|
Object.defineProperty(exports, "useActivity", {
|
|
13503
14000
|
enumerable: true,
|
|
13504
|
-
get: function () { return
|
|
14001
|
+
get: function () { return chunkCWJAULV2_cjs.useActivity; }
|
|
13505
14002
|
});
|
|
13506
14003
|
Object.defineProperty(exports, "useAgents", {
|
|
13507
14004
|
enumerable: true,
|
|
13508
|
-
get: function () { return
|
|
14005
|
+
get: function () { return chunkCWJAULV2_cjs.useAgents; }
|
|
13509
14006
|
});
|
|
13510
14007
|
Object.defineProperty(exports, "useArbiSession", {
|
|
13511
14008
|
enumerable: true,
|
|
13512
|
-
get: function () { return
|
|
14009
|
+
get: function () { return chunkCWJAULV2_cjs.useArbiSession; }
|
|
13513
14010
|
});
|
|
13514
14011
|
Object.defineProperty(exports, "useArbiSessionState", {
|
|
13515
14012
|
enumerable: true,
|
|
13516
|
-
get: function () { return
|
|
14013
|
+
get: function () { return chunkCWJAULV2_cjs.useArbiSessionState; }
|
|
13517
14014
|
});
|
|
13518
14015
|
Object.defineProperty(exports, "useArbiSessionStore", {
|
|
13519
14016
|
enumerable: true,
|
|
13520
|
-
get: function () { return
|
|
14017
|
+
get: function () { return chunkCWJAULV2_cjs.useArbiSessionStore; }
|
|
13521
14018
|
});
|
|
13522
14019
|
Object.defineProperty(exports, "useAssistantQuery", {
|
|
13523
14020
|
enumerable: true,
|
|
13524
|
-
get: function () { return
|
|
14021
|
+
get: function () { return chunkCWJAULV2_cjs.useAssistantQuery; }
|
|
13525
14022
|
});
|
|
13526
14023
|
Object.defineProperty(exports, "useAvailableModels", {
|
|
13527
14024
|
enumerable: true,
|
|
13528
|
-
get: function () { return
|
|
14025
|
+
get: function () { return chunkCWJAULV2_cjs.useAvailableModels; }
|
|
13529
14026
|
});
|
|
13530
14027
|
Object.defineProperty(exports, "useBoxRole", {
|
|
13531
14028
|
enumerable: true,
|
|
13532
|
-
get: function () { return
|
|
14029
|
+
get: function () { return chunkCWJAULV2_cjs.useBoxRole; }
|
|
13533
14030
|
});
|
|
13534
14031
|
Object.defineProperty(exports, "useBuiltinCommands", {
|
|
13535
14032
|
enumerable: true,
|
|
13536
|
-
get: function () { return
|
|
14033
|
+
get: function () { return chunkCWJAULV2_cjs.useBuiltinCommands; }
|
|
13537
14034
|
});
|
|
13538
14035
|
Object.defineProperty(exports, "useCanCreateProjects", {
|
|
13539
14036
|
enumerable: true,
|
|
13540
|
-
get: function () { return
|
|
14037
|
+
get: function () { return chunkCWJAULV2_cjs.useCanCreateProjects; }
|
|
13541
14038
|
});
|
|
13542
14039
|
Object.defineProperty(exports, "useConfig", {
|
|
13543
14040
|
enumerable: true,
|
|
13544
|
-
get: function () { return
|
|
14041
|
+
get: function () { return chunkCWJAULV2_cjs.useConfig; }
|
|
13545
14042
|
});
|
|
13546
14043
|
Object.defineProperty(exports, "useConfigs", {
|
|
13547
14044
|
enumerable: true,
|
|
13548
|
-
get: function () { return
|
|
14045
|
+
get: function () { return chunkCWJAULV2_cjs.useConfigs; }
|
|
13549
14046
|
});
|
|
13550
14047
|
Object.defineProperty(exports, "useConversationThreads", {
|
|
13551
14048
|
enumerable: true,
|
|
13552
|
-
get: function () { return
|
|
14049
|
+
get: function () { return chunkCWJAULV2_cjs.useConversationThreads; }
|
|
13553
14050
|
});
|
|
13554
14051
|
Object.defineProperty(exports, "useConversations", {
|
|
13555
14052
|
enumerable: true,
|
|
13556
|
-
get: function () { return
|
|
14053
|
+
get: function () { return chunkCWJAULV2_cjs.useConversations; }
|
|
13557
14054
|
});
|
|
13558
14055
|
Object.defineProperty(exports, "useCurrentUser", {
|
|
13559
14056
|
enumerable: true,
|
|
13560
|
-
get: function () { return
|
|
14057
|
+
get: function () { return chunkCWJAULV2_cjs.useCurrentUser; }
|
|
13561
14058
|
});
|
|
13562
14059
|
Object.defineProperty(exports, "useDeleteAgents", {
|
|
13563
14060
|
enumerable: true,
|
|
13564
|
-
get: function () { return
|
|
14061
|
+
get: function () { return chunkCWJAULV2_cjs.useDeleteAgents; }
|
|
13565
14062
|
});
|
|
13566
14063
|
Object.defineProperty(exports, "useDocumentVersionList", {
|
|
13567
14064
|
enumerable: true,
|
|
13568
|
-
get: function () { return
|
|
14065
|
+
get: function () { return chunkCWJAULV2_cjs.useDocumentVersionList; }
|
|
13569
14066
|
});
|
|
13570
14067
|
Object.defineProperty(exports, "useFirmPool", {
|
|
13571
14068
|
enumerable: true,
|
|
13572
|
-
get: function () { return
|
|
14069
|
+
get: function () { return chunkCWJAULV2_cjs.useFirmPool; }
|
|
13573
14070
|
});
|
|
13574
14071
|
Object.defineProperty(exports, "useHealth", {
|
|
13575
14072
|
enumerable: true,
|
|
13576
|
-
get: function () { return
|
|
14073
|
+
get: function () { return chunkCWJAULV2_cjs.useHealth; }
|
|
13577
14074
|
});
|
|
13578
14075
|
Object.defineProperty(exports, "useMessageDetails", {
|
|
13579
14076
|
enumerable: true,
|
|
13580
|
-
get: function () { return
|
|
14077
|
+
get: function () { return chunkCWJAULV2_cjs.useMessageDetails; }
|
|
13581
14078
|
});
|
|
13582
14079
|
Object.defineProperty(exports, "useParsedDocument", {
|
|
13583
14080
|
enumerable: true,
|
|
13584
|
-
get: function () { return
|
|
14081
|
+
get: function () { return chunkCWJAULV2_cjs.useParsedDocument; }
|
|
13585
14082
|
});
|
|
13586
14083
|
Object.defineProperty(exports, "useProjectInvoices", {
|
|
13587
14084
|
enumerable: true,
|
|
13588
|
-
get: function () { return
|
|
14085
|
+
get: function () { return chunkCWJAULV2_cjs.useProjectInvoices; }
|
|
13589
14086
|
});
|
|
13590
14087
|
Object.defineProperty(exports, "useProjectUsage", {
|
|
13591
14088
|
enumerable: true,
|
|
13592
|
-
get: function () { return
|
|
14089
|
+
get: function () { return chunkCWJAULV2_cjs.useProjectUsage; }
|
|
13593
14090
|
});
|
|
13594
14091
|
Object.defineProperty(exports, "useProjects", {
|
|
13595
14092
|
enumerable: true,
|
|
13596
|
-
get: function () { return
|
|
14093
|
+
get: function () { return chunkCWJAULV2_cjs.useProjects; }
|
|
13597
14094
|
});
|
|
13598
14095
|
Object.defineProperty(exports, "useProjectsUsage", {
|
|
13599
14096
|
enumerable: true,
|
|
13600
|
-
get: function () { return
|
|
14097
|
+
get: function () { return chunkCWJAULV2_cjs.useProjectsUsage; }
|
|
14098
|
+
});
|
|
14099
|
+
Object.defineProperty(exports, "useSessionView", {
|
|
14100
|
+
enumerable: true,
|
|
14101
|
+
get: function () { return chunkCWJAULV2_cjs.useSessionView; }
|
|
13601
14102
|
});
|
|
13602
14103
|
Object.defineProperty(exports, "useSignedInSession", {
|
|
13603
14104
|
enumerable: true,
|
|
13604
|
-
get: function () { return
|
|
14105
|
+
get: function () { return chunkCWJAULV2_cjs.useSignedInSession; }
|
|
13605
14106
|
});
|
|
13606
14107
|
Object.defineProperty(exports, "useTags", {
|
|
13607
14108
|
enumerable: true,
|
|
13608
|
-
get: function () { return
|
|
14109
|
+
get: function () { return chunkCWJAULV2_cjs.useTags; }
|
|
13609
14110
|
});
|
|
13610
14111
|
Object.defineProperty(exports, "useThumbnails", {
|
|
13611
14112
|
enumerable: true,
|
|
13612
|
-
get: function () { return
|
|
14113
|
+
get: function () { return chunkCWJAULV2_cjs.useThumbnails; }
|
|
13613
14114
|
});
|
|
13614
14115
|
Object.defineProperty(exports, "useTopUpFirmPool", {
|
|
13615
14116
|
enumerable: true,
|
|
13616
|
-
get: function () { return
|
|
14117
|
+
get: function () { return chunkCWJAULV2_cjs.useTopUpFirmPool; }
|
|
14118
|
+
});
|
|
14119
|
+
Object.defineProperty(exports, "useTransientView", {
|
|
14120
|
+
enumerable: true,
|
|
14121
|
+
get: function () { return chunkCWJAULV2_cjs.useTransientView; }
|
|
13617
14122
|
});
|
|
13618
14123
|
Object.defineProperty(exports, "useUserUsageToday", {
|
|
13619
14124
|
enumerable: true,
|
|
13620
|
-
get: function () { return
|
|
14125
|
+
get: function () { return chunkCWJAULV2_cjs.useUserUsageToday; }
|
|
13621
14126
|
});
|
|
13622
14127
|
Object.defineProperty(exports, "useWorkspaceActivity", {
|
|
13623
14128
|
enumerable: true,
|
|
13624
|
-
get: function () { return
|
|
14129
|
+
get: function () { return chunkCWJAULV2_cjs.useWorkspaceActivity; }
|
|
13625
14130
|
});
|
|
13626
14131
|
Object.defineProperty(exports, "useWorkspaces", {
|
|
13627
14132
|
enumerable: true,
|
|
13628
|
-
get: function () { return
|
|
14133
|
+
get: function () { return chunkCWJAULV2_cjs.useWorkspaces; }
|
|
13629
14134
|
});
|
|
13630
14135
|
Object.defineProperty(exports, "arbiMutationKeys", {
|
|
13631
14136
|
enumerable: true,
|
|
@@ -13849,691 +14354,691 @@ Object.defineProperty(exports, "unwrapCitationLinks", {
|
|
|
13849
14354
|
});
|
|
13850
14355
|
Object.defineProperty(exports, "ARBI_MARK_SRC", {
|
|
13851
14356
|
enumerable: true,
|
|
13852
|
-
get: function () { return
|
|
14357
|
+
get: function () { return chunkFSPLYO52_cjs.ARBI_MARK_SRC; }
|
|
13853
14358
|
});
|
|
13854
14359
|
Object.defineProperty(exports, "AUDIO_MIME_PREFERENCE", {
|
|
13855
14360
|
enumerable: true,
|
|
13856
|
-
get: function () { return
|
|
14361
|
+
get: function () { return chunkFSPLYO52_cjs.AUDIO_MIME_PREFERENCE; }
|
|
13857
14362
|
});
|
|
13858
14363
|
Object.defineProperty(exports, "AgentBadge", {
|
|
13859
14364
|
enumerable: true,
|
|
13860
|
-
get: function () { return
|
|
14365
|
+
get: function () { return chunkFSPLYO52_cjs.AgentBadge; }
|
|
13861
14366
|
});
|
|
13862
14367
|
Object.defineProperty(exports, "AiMarkdown", {
|
|
13863
14368
|
enumerable: true,
|
|
13864
|
-
get: function () { return
|
|
14369
|
+
get: function () { return chunkFSPLYO52_cjs.AiMarkdown; }
|
|
13865
14370
|
});
|
|
13866
14371
|
Object.defineProperty(exports, "ArbiBotHeadIcon", {
|
|
13867
14372
|
enumerable: true,
|
|
13868
|
-
get: function () { return
|
|
14373
|
+
get: function () { return chunkFSPLYO52_cjs.ArbiBotHeadIcon; }
|
|
13869
14374
|
});
|
|
13870
14375
|
Object.defineProperty(exports, "ArbiIcon", {
|
|
13871
14376
|
enumerable: true,
|
|
13872
|
-
get: function () { return
|
|
14377
|
+
get: function () { return chunkFSPLYO52_cjs.ArbiIcon; }
|
|
13873
14378
|
});
|
|
13874
14379
|
Object.defineProperty(exports, "AudIcon", {
|
|
13875
14380
|
enumerable: true,
|
|
13876
|
-
get: function () { return
|
|
14381
|
+
get: function () { return chunkFSPLYO52_cjs.AudIcon; }
|
|
13877
14382
|
});
|
|
13878
14383
|
Object.defineProperty(exports, "BASE_COLORS", {
|
|
13879
14384
|
enumerable: true,
|
|
13880
|
-
get: function () { return
|
|
14385
|
+
get: function () { return chunkFSPLYO52_cjs.BASE_COLORS; }
|
|
13881
14386
|
});
|
|
13882
14387
|
Object.defineProperty(exports, "Badge", {
|
|
13883
14388
|
enumerable: true,
|
|
13884
|
-
get: function () { return
|
|
14389
|
+
get: function () { return chunkFSPLYO52_cjs.Badge; }
|
|
13885
14390
|
});
|
|
13886
14391
|
Object.defineProperty(exports, "COLUMN_LABEL_FALLBACKS", {
|
|
13887
14392
|
enumerable: true,
|
|
13888
|
-
get: function () { return
|
|
14393
|
+
get: function () { return chunkFSPLYO52_cjs.COLUMN_LABEL_FALLBACKS; }
|
|
13889
14394
|
});
|
|
13890
14395
|
Object.defineProperty(exports, "Card", {
|
|
13891
14396
|
enumerable: true,
|
|
13892
|
-
get: function () { return
|
|
14397
|
+
get: function () { return chunkFSPLYO52_cjs.Card; }
|
|
13893
14398
|
});
|
|
13894
14399
|
Object.defineProperty(exports, "CardContent", {
|
|
13895
14400
|
enumerable: true,
|
|
13896
|
-
get: function () { return
|
|
14401
|
+
get: function () { return chunkFSPLYO52_cjs.CardContent; }
|
|
13897
14402
|
});
|
|
13898
14403
|
Object.defineProperty(exports, "CardDescription", {
|
|
13899
14404
|
enumerable: true,
|
|
13900
|
-
get: function () { return
|
|
14405
|
+
get: function () { return chunkFSPLYO52_cjs.CardDescription; }
|
|
13901
14406
|
});
|
|
13902
14407
|
Object.defineProperty(exports, "CardFooter", {
|
|
13903
14408
|
enumerable: true,
|
|
13904
|
-
get: function () { return
|
|
14409
|
+
get: function () { return chunkFSPLYO52_cjs.CardFooter; }
|
|
13905
14410
|
});
|
|
13906
14411
|
Object.defineProperty(exports, "CardHeader", {
|
|
13907
14412
|
enumerable: true,
|
|
13908
|
-
get: function () { return
|
|
14413
|
+
get: function () { return chunkFSPLYO52_cjs.CardHeader; }
|
|
13909
14414
|
});
|
|
13910
14415
|
Object.defineProperty(exports, "CardTitle", {
|
|
13911
14416
|
enumerable: true,
|
|
13912
|
-
get: function () { return
|
|
14417
|
+
get: function () { return chunkFSPLYO52_cjs.CardTitle; }
|
|
13913
14418
|
});
|
|
13914
14419
|
Object.defineProperty(exports, "Checkbox", {
|
|
13915
14420
|
enumerable: true,
|
|
13916
|
-
get: function () { return
|
|
14421
|
+
get: function () { return chunkFSPLYO52_cjs.Checkbox; }
|
|
13917
14422
|
});
|
|
13918
14423
|
Object.defineProperty(exports, "ClaudeIcon", {
|
|
13919
14424
|
enumerable: true,
|
|
13920
|
-
get: function () { return
|
|
14425
|
+
get: function () { return chunkFSPLYO52_cjs.ClaudeIcon; }
|
|
13921
14426
|
});
|
|
13922
14427
|
Object.defineProperty(exports, "Collapsible", {
|
|
13923
14428
|
enumerable: true,
|
|
13924
|
-
get: function () { return
|
|
14429
|
+
get: function () { return chunkFSPLYO52_cjs.Collapsible; }
|
|
13925
14430
|
});
|
|
13926
14431
|
Object.defineProperty(exports, "CollapsibleContent", {
|
|
13927
14432
|
enumerable: true,
|
|
13928
|
-
get: function () { return
|
|
14433
|
+
get: function () { return chunkFSPLYO52_cjs.CollapsibleContent; }
|
|
13929
14434
|
});
|
|
13930
14435
|
Object.defineProperty(exports, "CollapsibleTrigger", {
|
|
13931
14436
|
enumerable: true,
|
|
13932
|
-
get: function () { return
|
|
14437
|
+
get: function () { return chunkFSPLYO52_cjs.CollapsibleTrigger; }
|
|
13933
14438
|
});
|
|
13934
14439
|
Object.defineProperty(exports, "Command", {
|
|
13935
14440
|
enumerable: true,
|
|
13936
|
-
get: function () { return
|
|
14441
|
+
get: function () { return chunkFSPLYO52_cjs.Command; }
|
|
13937
14442
|
});
|
|
13938
14443
|
Object.defineProperty(exports, "CommandDialog", {
|
|
13939
14444
|
enumerable: true,
|
|
13940
|
-
get: function () { return
|
|
14445
|
+
get: function () { return chunkFSPLYO52_cjs.CommandDialog; }
|
|
13941
14446
|
});
|
|
13942
14447
|
Object.defineProperty(exports, "CommandEmpty", {
|
|
13943
14448
|
enumerable: true,
|
|
13944
|
-
get: function () { return
|
|
14449
|
+
get: function () { return chunkFSPLYO52_cjs.CommandEmpty; }
|
|
13945
14450
|
});
|
|
13946
14451
|
Object.defineProperty(exports, "CommandGroup", {
|
|
13947
14452
|
enumerable: true,
|
|
13948
|
-
get: function () { return
|
|
14453
|
+
get: function () { return chunkFSPLYO52_cjs.CommandGroup; }
|
|
13949
14454
|
});
|
|
13950
14455
|
Object.defineProperty(exports, "CommandInput", {
|
|
13951
14456
|
enumerable: true,
|
|
13952
|
-
get: function () { return
|
|
14457
|
+
get: function () { return chunkFSPLYO52_cjs.CommandInput; }
|
|
13953
14458
|
});
|
|
13954
14459
|
Object.defineProperty(exports, "CommandItem", {
|
|
13955
14460
|
enumerable: true,
|
|
13956
|
-
get: function () { return
|
|
14461
|
+
get: function () { return chunkFSPLYO52_cjs.CommandItem; }
|
|
13957
14462
|
});
|
|
13958
14463
|
Object.defineProperty(exports, "CommandList", {
|
|
13959
14464
|
enumerable: true,
|
|
13960
|
-
get: function () { return
|
|
14465
|
+
get: function () { return chunkFSPLYO52_cjs.CommandList; }
|
|
13961
14466
|
});
|
|
13962
14467
|
Object.defineProperty(exports, "CommandSeparator", {
|
|
13963
14468
|
enumerable: true,
|
|
13964
|
-
get: function () { return
|
|
14469
|
+
get: function () { return chunkFSPLYO52_cjs.CommandSeparator; }
|
|
13965
14470
|
});
|
|
13966
14471
|
Object.defineProperty(exports, "CommandShortcut", {
|
|
13967
14472
|
enumerable: true,
|
|
13968
|
-
get: function () { return
|
|
14473
|
+
get: function () { return chunkFSPLYO52_cjs.CommandShortcut; }
|
|
13969
14474
|
});
|
|
13970
14475
|
Object.defineProperty(exports, "DEFAULT_METADATA_TAGS", {
|
|
13971
14476
|
enumerable: true,
|
|
13972
|
-
get: function () { return
|
|
14477
|
+
get: function () { return chunkFSPLYO52_cjs.DEFAULT_METADATA_TAGS; }
|
|
13973
14478
|
});
|
|
13974
14479
|
Object.defineProperty(exports, "DebouncedInput", {
|
|
13975
14480
|
enumerable: true,
|
|
13976
|
-
get: function () { return
|
|
14481
|
+
get: function () { return chunkFSPLYO52_cjs.DebouncedInput; }
|
|
13977
14482
|
});
|
|
13978
14483
|
Object.defineProperty(exports, "DocIcon", {
|
|
13979
14484
|
enumerable: true,
|
|
13980
|
-
get: function () { return
|
|
14485
|
+
get: function () { return chunkFSPLYO52_cjs.DocIcon; }
|
|
13981
14486
|
});
|
|
13982
14487
|
Object.defineProperty(exports, "DocumentCard", {
|
|
13983
14488
|
enumerable: true,
|
|
13984
|
-
get: function () { return
|
|
14489
|
+
get: function () { return chunkFSPLYO52_cjs.DocumentCard; }
|
|
13985
14490
|
});
|
|
13986
14491
|
Object.defineProperty(exports, "DocumentEntity", {
|
|
13987
14492
|
enumerable: true,
|
|
13988
|
-
get: function () { return
|
|
14493
|
+
get: function () { return chunkFSPLYO52_cjs.DocumentEntity; }
|
|
13989
14494
|
});
|
|
13990
14495
|
Object.defineProperty(exports, "ENTITY_MAPPINGS", {
|
|
13991
14496
|
enumerable: true,
|
|
13992
|
-
get: function () { return
|
|
14497
|
+
get: function () { return chunkFSPLYO52_cjs.ENTITY_MAPPINGS; }
|
|
13993
14498
|
});
|
|
13994
14499
|
Object.defineProperty(exports, "EmlIcon", {
|
|
13995
14500
|
enumerable: true,
|
|
13996
|
-
get: function () { return
|
|
14501
|
+
get: function () { return chunkFSPLYO52_cjs.EmlIcon; }
|
|
13997
14502
|
});
|
|
13998
14503
|
Object.defineProperty(exports, "EntityIcon", {
|
|
13999
14504
|
enumerable: true,
|
|
14000
|
-
get: function () { return
|
|
14505
|
+
get: function () { return chunkFSPLYO52_cjs.EntityIcon; }
|
|
14001
14506
|
});
|
|
14002
14507
|
Object.defineProperty(exports, "EntityPill", {
|
|
14003
14508
|
enumerable: true,
|
|
14004
|
-
get: function () { return
|
|
14509
|
+
get: function () { return chunkFSPLYO52_cjs.EntityPill; }
|
|
14005
14510
|
});
|
|
14006
14511
|
Object.defineProperty(exports, "FILE_TYPE_COLORS", {
|
|
14007
14512
|
enumerable: true,
|
|
14008
|
-
get: function () { return
|
|
14513
|
+
get: function () { return chunkFSPLYO52_cjs.FILE_TYPE_COLORS; }
|
|
14009
14514
|
});
|
|
14010
14515
|
Object.defineProperty(exports, "FireworksIcon", {
|
|
14011
14516
|
enumerable: true,
|
|
14012
|
-
get: function () { return
|
|
14517
|
+
get: function () { return chunkFSPLYO52_cjs.FireworksIcon; }
|
|
14013
14518
|
});
|
|
14014
14519
|
Object.defineProperty(exports, "GeminiIcon", {
|
|
14015
14520
|
enumerable: true,
|
|
14016
|
-
get: function () { return
|
|
14521
|
+
get: function () { return chunkFSPLYO52_cjs.GeminiIcon; }
|
|
14017
14522
|
});
|
|
14018
14523
|
Object.defineProperty(exports, "GoogleIcon", {
|
|
14019
14524
|
enumerable: true,
|
|
14020
|
-
get: function () { return
|
|
14525
|
+
get: function () { return chunkFSPLYO52_cjs.GoogleIcon; }
|
|
14021
14526
|
});
|
|
14022
14527
|
Object.defineProperty(exports, "HoverCard", {
|
|
14023
14528
|
enumerable: true,
|
|
14024
|
-
get: function () { return
|
|
14529
|
+
get: function () { return chunkFSPLYO52_cjs.HoverCard; }
|
|
14025
14530
|
});
|
|
14026
14531
|
Object.defineProperty(exports, "HoverCardContent", {
|
|
14027
14532
|
enumerable: true,
|
|
14028
|
-
get: function () { return
|
|
14533
|
+
get: function () { return chunkFSPLYO52_cjs.HoverCardContent; }
|
|
14029
14534
|
});
|
|
14030
14535
|
Object.defineProperty(exports, "HoverCardTrigger", {
|
|
14031
14536
|
enumerable: true,
|
|
14032
|
-
get: function () { return
|
|
14537
|
+
get: function () { return chunkFSPLYO52_cjs.HoverCardTrigger; }
|
|
14033
14538
|
});
|
|
14034
14539
|
Object.defineProperty(exports, "HtmlIcon", {
|
|
14035
14540
|
enumerable: true,
|
|
14036
|
-
get: function () { return
|
|
14541
|
+
get: function () { return chunkFSPLYO52_cjs.HtmlIcon; }
|
|
14037
14542
|
});
|
|
14038
14543
|
Object.defineProperty(exports, "IconToggle", {
|
|
14039
14544
|
enumerable: true,
|
|
14040
|
-
get: function () { return
|
|
14545
|
+
get: function () { return chunkFSPLYO52_cjs.IconToggle; }
|
|
14041
14546
|
});
|
|
14042
14547
|
Object.defineProperty(exports, "ImgIcon", {
|
|
14043
14548
|
enumerable: true,
|
|
14044
|
-
get: function () { return
|
|
14549
|
+
get: function () { return chunkFSPLYO52_cjs.ImgIcon; }
|
|
14045
14550
|
});
|
|
14046
14551
|
Object.defineProperty(exports, "InlineMicButton", {
|
|
14047
14552
|
enumerable: true,
|
|
14048
|
-
get: function () { return
|
|
14553
|
+
get: function () { return chunkFSPLYO52_cjs.InlineMicButton; }
|
|
14049
14554
|
});
|
|
14050
14555
|
Object.defineProperty(exports, "Input", {
|
|
14051
14556
|
enumerable: true,
|
|
14052
|
-
get: function () { return
|
|
14557
|
+
get: function () { return chunkFSPLYO52_cjs.Input; }
|
|
14053
14558
|
});
|
|
14054
14559
|
Object.defineProperty(exports, "Label", {
|
|
14055
14560
|
enumerable: true,
|
|
14056
|
-
get: function () { return
|
|
14561
|
+
get: function () { return chunkFSPLYO52_cjs.Label; }
|
|
14057
14562
|
});
|
|
14058
14563
|
Object.defineProperty(exports, "MarkMenu", {
|
|
14059
14564
|
enumerable: true,
|
|
14060
|
-
get: function () { return
|
|
14565
|
+
get: function () { return chunkFSPLYO52_cjs.MarkMenu; }
|
|
14061
14566
|
});
|
|
14062
14567
|
Object.defineProperty(exports, "MicRecordingOverlay", {
|
|
14063
14568
|
enumerable: true,
|
|
14064
|
-
get: function () { return
|
|
14569
|
+
get: function () { return chunkFSPLYO52_cjs.MicRecordingOverlay; }
|
|
14065
14570
|
});
|
|
14066
14571
|
Object.defineProperty(exports, "MicWaveformIndicator", {
|
|
14067
14572
|
enumerable: true,
|
|
14068
|
-
get: function () { return
|
|
14573
|
+
get: function () { return chunkFSPLYO52_cjs.MicWaveformIndicator; }
|
|
14069
14574
|
});
|
|
14070
14575
|
Object.defineProperty(exports, "NEUTRAL_GRAY", {
|
|
14071
14576
|
enumerable: true,
|
|
14072
|
-
get: function () { return
|
|
14577
|
+
get: function () { return chunkFSPLYO52_cjs.NEUTRAL_GRAY; }
|
|
14073
14578
|
});
|
|
14074
14579
|
Object.defineProperty(exports, "OpenAIIcon", {
|
|
14075
14580
|
enumerable: true,
|
|
14076
|
-
get: function () { return
|
|
14581
|
+
get: function () { return chunkFSPLYO52_cjs.OpenAIIcon; }
|
|
14077
14582
|
});
|
|
14078
14583
|
Object.defineProperty(exports, "PLACEHOLDER_COLOR", {
|
|
14079
14584
|
enumerable: true,
|
|
14080
|
-
get: function () { return
|
|
14585
|
+
get: function () { return chunkFSPLYO52_cjs.PLACEHOLDER_COLOR; }
|
|
14081
14586
|
});
|
|
14082
14587
|
Object.defineProperty(exports, "PassageCard", {
|
|
14083
14588
|
enumerable: true,
|
|
14084
|
-
get: function () { return
|
|
14589
|
+
get: function () { return chunkFSPLYO52_cjs.PassageCard; }
|
|
14085
14590
|
});
|
|
14086
14591
|
Object.defineProperty(exports, "PdfIcon", {
|
|
14087
14592
|
enumerable: true,
|
|
14088
|
-
get: function () { return
|
|
14593
|
+
get: function () { return chunkFSPLYO52_cjs.PdfIcon; }
|
|
14089
14594
|
});
|
|
14090
14595
|
Object.defineProperty(exports, "Popover", {
|
|
14091
14596
|
enumerable: true,
|
|
14092
|
-
get: function () { return
|
|
14597
|
+
get: function () { return chunkFSPLYO52_cjs.Popover; }
|
|
14093
14598
|
});
|
|
14094
14599
|
Object.defineProperty(exports, "PopoverAnchor", {
|
|
14095
14600
|
enumerable: true,
|
|
14096
|
-
get: function () { return
|
|
14601
|
+
get: function () { return chunkFSPLYO52_cjs.PopoverAnchor; }
|
|
14097
14602
|
});
|
|
14098
14603
|
Object.defineProperty(exports, "PopoverClose", {
|
|
14099
14604
|
enumerable: true,
|
|
14100
|
-
get: function () { return
|
|
14605
|
+
get: function () { return chunkFSPLYO52_cjs.PopoverClose; }
|
|
14101
14606
|
});
|
|
14102
14607
|
Object.defineProperty(exports, "PopoverContent", {
|
|
14103
14608
|
enumerable: true,
|
|
14104
|
-
get: function () { return
|
|
14609
|
+
get: function () { return chunkFSPLYO52_cjs.PopoverContent; }
|
|
14105
14610
|
});
|
|
14106
14611
|
Object.defineProperty(exports, "PopoverTrigger", {
|
|
14107
14612
|
enumerable: true,
|
|
14108
|
-
get: function () { return
|
|
14613
|
+
get: function () { return chunkFSPLYO52_cjs.PopoverTrigger; }
|
|
14109
14614
|
});
|
|
14110
14615
|
Object.defineProperty(exports, "PresenceLabel", {
|
|
14111
14616
|
enumerable: true,
|
|
14112
|
-
get: function () { return
|
|
14617
|
+
get: function () { return chunkFSPLYO52_cjs.PresenceLabel; }
|
|
14113
14618
|
});
|
|
14114
14619
|
Object.defineProperty(exports, "Progress", {
|
|
14115
14620
|
enumerable: true,
|
|
14116
|
-
get: function () { return
|
|
14621
|
+
get: function () { return chunkFSPLYO52_cjs.Progress; }
|
|
14117
14622
|
});
|
|
14118
14623
|
Object.defineProperty(exports, "ProjectEntity", {
|
|
14119
14624
|
enumerable: true,
|
|
14120
|
-
get: function () { return
|
|
14625
|
+
get: function () { return chunkFSPLYO52_cjs.ProjectEntity; }
|
|
14121
14626
|
});
|
|
14122
14627
|
Object.defineProperty(exports, "ProviderIcon", {
|
|
14123
14628
|
enumerable: true,
|
|
14124
|
-
get: function () { return
|
|
14629
|
+
get: function () { return chunkFSPLYO52_cjs.ProviderIcon; }
|
|
14125
14630
|
});
|
|
14126
14631
|
Object.defineProperty(exports, "RadioGroup", {
|
|
14127
14632
|
enumerable: true,
|
|
14128
|
-
get: function () { return
|
|
14633
|
+
get: function () { return chunkFSPLYO52_cjs.RadioGroup; }
|
|
14129
14634
|
});
|
|
14130
14635
|
Object.defineProperty(exports, "RadioGroupItem", {
|
|
14131
14636
|
enumerable: true,
|
|
14132
|
-
get: function () { return
|
|
14637
|
+
get: function () { return chunkFSPLYO52_cjs.RadioGroupItem; }
|
|
14133
14638
|
});
|
|
14134
14639
|
Object.defineProperty(exports, "RagDot", {
|
|
14135
14640
|
enumerable: true,
|
|
14136
|
-
get: function () { return
|
|
14641
|
+
get: function () { return chunkFSPLYO52_cjs.RagDot; }
|
|
14137
14642
|
});
|
|
14138
14643
|
Object.defineProperty(exports, "RelevanceDot", {
|
|
14139
14644
|
enumerable: true,
|
|
14140
|
-
get: function () { return
|
|
14645
|
+
get: function () { return chunkFSPLYO52_cjs.RelevanceDot; }
|
|
14141
14646
|
});
|
|
14142
14647
|
Object.defineProperty(exports, "Select", {
|
|
14143
14648
|
enumerable: true,
|
|
14144
|
-
get: function () { return
|
|
14649
|
+
get: function () { return chunkFSPLYO52_cjs.Select; }
|
|
14145
14650
|
});
|
|
14146
14651
|
Object.defineProperty(exports, "SelectContent", {
|
|
14147
14652
|
enumerable: true,
|
|
14148
|
-
get: function () { return
|
|
14653
|
+
get: function () { return chunkFSPLYO52_cjs.SelectContent; }
|
|
14149
14654
|
});
|
|
14150
14655
|
Object.defineProperty(exports, "SelectGroup", {
|
|
14151
14656
|
enumerable: true,
|
|
14152
|
-
get: function () { return
|
|
14657
|
+
get: function () { return chunkFSPLYO52_cjs.SelectGroup; }
|
|
14153
14658
|
});
|
|
14154
14659
|
Object.defineProperty(exports, "SelectItem", {
|
|
14155
14660
|
enumerable: true,
|
|
14156
|
-
get: function () { return
|
|
14661
|
+
get: function () { return chunkFSPLYO52_cjs.SelectItem; }
|
|
14157
14662
|
});
|
|
14158
14663
|
Object.defineProperty(exports, "SelectLabel", {
|
|
14159
14664
|
enumerable: true,
|
|
14160
|
-
get: function () { return
|
|
14665
|
+
get: function () { return chunkFSPLYO52_cjs.SelectLabel; }
|
|
14161
14666
|
});
|
|
14162
14667
|
Object.defineProperty(exports, "SelectScrollDownButton", {
|
|
14163
14668
|
enumerable: true,
|
|
14164
|
-
get: function () { return
|
|
14669
|
+
get: function () { return chunkFSPLYO52_cjs.SelectScrollDownButton; }
|
|
14165
14670
|
});
|
|
14166
14671
|
Object.defineProperty(exports, "SelectScrollUpButton", {
|
|
14167
14672
|
enumerable: true,
|
|
14168
|
-
get: function () { return
|
|
14673
|
+
get: function () { return chunkFSPLYO52_cjs.SelectScrollUpButton; }
|
|
14169
14674
|
});
|
|
14170
14675
|
Object.defineProperty(exports, "SelectSeparator", {
|
|
14171
14676
|
enumerable: true,
|
|
14172
|
-
get: function () { return
|
|
14677
|
+
get: function () { return chunkFSPLYO52_cjs.SelectSeparator; }
|
|
14173
14678
|
});
|
|
14174
14679
|
Object.defineProperty(exports, "SelectTrigger", {
|
|
14175
14680
|
enumerable: true,
|
|
14176
|
-
get: function () { return
|
|
14681
|
+
get: function () { return chunkFSPLYO52_cjs.SelectTrigger; }
|
|
14177
14682
|
});
|
|
14178
14683
|
Object.defineProperty(exports, "SelectValue", {
|
|
14179
14684
|
enumerable: true,
|
|
14180
|
-
get: function () { return
|
|
14685
|
+
get: function () { return chunkFSPLYO52_cjs.SelectValue; }
|
|
14181
14686
|
});
|
|
14182
14687
|
Object.defineProperty(exports, "Separator", {
|
|
14183
14688
|
enumerable: true,
|
|
14184
|
-
get: function () { return
|
|
14689
|
+
get: function () { return chunkFSPLYO52_cjs.Separator; }
|
|
14185
14690
|
});
|
|
14186
14691
|
Object.defineProperty(exports, "ShieldIcon", {
|
|
14187
14692
|
enumerable: true,
|
|
14188
|
-
get: function () { return
|
|
14693
|
+
get: function () { return chunkFSPLYO52_cjs.ShieldIcon; }
|
|
14189
14694
|
});
|
|
14190
14695
|
Object.defineProperty(exports, "Slider", {
|
|
14191
14696
|
enumerable: true,
|
|
14192
|
-
get: function () { return
|
|
14697
|
+
get: function () { return chunkFSPLYO52_cjs.Slider; }
|
|
14193
14698
|
});
|
|
14194
14699
|
Object.defineProperty(exports, "StatusPill", {
|
|
14195
14700
|
enumerable: true,
|
|
14196
|
-
get: function () { return
|
|
14701
|
+
get: function () { return chunkFSPLYO52_cjs.StatusPill; }
|
|
14197
14702
|
});
|
|
14198
14703
|
Object.defineProperty(exports, "Switch", {
|
|
14199
14704
|
enumerable: true,
|
|
14200
|
-
get: function () { return
|
|
14705
|
+
get: function () { return chunkFSPLYO52_cjs.Switch; }
|
|
14201
14706
|
});
|
|
14202
14707
|
Object.defineProperty(exports, "TAG_TYPE_ICONS", {
|
|
14203
14708
|
enumerable: true,
|
|
14204
|
-
get: function () { return
|
|
14709
|
+
get: function () { return chunkFSPLYO52_cjs.TAG_TYPE_ICONS; }
|
|
14205
14710
|
});
|
|
14206
14711
|
Object.defineProperty(exports, "TAG_TYPE_LABELS", {
|
|
14207
14712
|
enumerable: true,
|
|
14208
|
-
get: function () { return
|
|
14713
|
+
get: function () { return chunkFSPLYO52_cjs.TAG_TYPE_LABELS; }
|
|
14209
14714
|
});
|
|
14210
14715
|
Object.defineProperty(exports, "Table", {
|
|
14211
14716
|
enumerable: true,
|
|
14212
|
-
get: function () { return
|
|
14717
|
+
get: function () { return chunkFSPLYO52_cjs.Table; }
|
|
14213
14718
|
});
|
|
14214
14719
|
Object.defineProperty(exports, "TableBody", {
|
|
14215
14720
|
enumerable: true,
|
|
14216
|
-
get: function () { return
|
|
14721
|
+
get: function () { return chunkFSPLYO52_cjs.TableBody; }
|
|
14217
14722
|
});
|
|
14218
14723
|
Object.defineProperty(exports, "TableCaption", {
|
|
14219
14724
|
enumerable: true,
|
|
14220
|
-
get: function () { return
|
|
14725
|
+
get: function () { return chunkFSPLYO52_cjs.TableCaption; }
|
|
14221
14726
|
});
|
|
14222
14727
|
Object.defineProperty(exports, "TableCell", {
|
|
14223
14728
|
enumerable: true,
|
|
14224
|
-
get: function () { return
|
|
14729
|
+
get: function () { return chunkFSPLYO52_cjs.TableCell; }
|
|
14225
14730
|
});
|
|
14226
14731
|
Object.defineProperty(exports, "TableFooter", {
|
|
14227
14732
|
enumerable: true,
|
|
14228
|
-
get: function () { return
|
|
14733
|
+
get: function () { return chunkFSPLYO52_cjs.TableFooter; }
|
|
14229
14734
|
});
|
|
14230
14735
|
Object.defineProperty(exports, "TableHead", {
|
|
14231
14736
|
enumerable: true,
|
|
14232
|
-
get: function () { return
|
|
14737
|
+
get: function () { return chunkFSPLYO52_cjs.TableHead; }
|
|
14233
14738
|
});
|
|
14234
14739
|
Object.defineProperty(exports, "TableHeader", {
|
|
14235
14740
|
enumerable: true,
|
|
14236
|
-
get: function () { return
|
|
14741
|
+
get: function () { return chunkFSPLYO52_cjs.TableHeader; }
|
|
14237
14742
|
});
|
|
14238
14743
|
Object.defineProperty(exports, "TableRow", {
|
|
14239
14744
|
enumerable: true,
|
|
14240
|
-
get: function () { return
|
|
14745
|
+
get: function () { return chunkFSPLYO52_cjs.TableRow; }
|
|
14241
14746
|
});
|
|
14242
14747
|
Object.defineProperty(exports, "Tabs", {
|
|
14243
14748
|
enumerable: true,
|
|
14244
|
-
get: function () { return
|
|
14749
|
+
get: function () { return chunkFSPLYO52_cjs.Tabs; }
|
|
14245
14750
|
});
|
|
14246
14751
|
Object.defineProperty(exports, "TabsContent", {
|
|
14247
14752
|
enumerable: true,
|
|
14248
|
-
get: function () { return
|
|
14753
|
+
get: function () { return chunkFSPLYO52_cjs.TabsContent; }
|
|
14249
14754
|
});
|
|
14250
14755
|
Object.defineProperty(exports, "TabsList", {
|
|
14251
14756
|
enumerable: true,
|
|
14252
|
-
get: function () { return
|
|
14757
|
+
get: function () { return chunkFSPLYO52_cjs.TabsList; }
|
|
14253
14758
|
});
|
|
14254
14759
|
Object.defineProperty(exports, "TabsTrigger", {
|
|
14255
14760
|
enumerable: true,
|
|
14256
|
-
get: function () { return
|
|
14761
|
+
get: function () { return chunkFSPLYO52_cjs.TabsTrigger; }
|
|
14257
14762
|
});
|
|
14258
14763
|
Object.defineProperty(exports, "TagEntity", {
|
|
14259
14764
|
enumerable: true,
|
|
14260
|
-
get: function () { return
|
|
14765
|
+
get: function () { return chunkFSPLYO52_cjs.TagEntity; }
|
|
14261
14766
|
});
|
|
14262
14767
|
Object.defineProperty(exports, "Textarea", {
|
|
14263
14768
|
enumerable: true,
|
|
14264
|
-
get: function () { return
|
|
14769
|
+
get: function () { return chunkFSPLYO52_cjs.Textarea; }
|
|
14265
14770
|
});
|
|
14266
14771
|
Object.defineProperty(exports, "ThreadVisibilityIcon", {
|
|
14267
14772
|
enumerable: true,
|
|
14268
|
-
get: function () { return
|
|
14773
|
+
get: function () { return chunkFSPLYO52_cjs.ThreadVisibilityIcon; }
|
|
14269
14774
|
});
|
|
14270
14775
|
Object.defineProperty(exports, "Toggle", {
|
|
14271
14776
|
enumerable: true,
|
|
14272
|
-
get: function () { return
|
|
14777
|
+
get: function () { return chunkFSPLYO52_cjs.Toggle; }
|
|
14273
14778
|
});
|
|
14274
14779
|
Object.defineProperty(exports, "ToggleGroup", {
|
|
14275
14780
|
enumerable: true,
|
|
14276
|
-
get: function () { return
|
|
14781
|
+
get: function () { return chunkFSPLYO52_cjs.ToggleGroup; }
|
|
14277
14782
|
});
|
|
14278
14783
|
Object.defineProperty(exports, "ToggleGroupItem", {
|
|
14279
14784
|
enumerable: true,
|
|
14280
|
-
get: function () { return
|
|
14785
|
+
get: function () { return chunkFSPLYO52_cjs.ToggleGroupItem; }
|
|
14281
14786
|
});
|
|
14282
14787
|
Object.defineProperty(exports, "Tooltip", {
|
|
14283
14788
|
enumerable: true,
|
|
14284
|
-
get: function () { return
|
|
14789
|
+
get: function () { return chunkFSPLYO52_cjs.Tooltip; }
|
|
14285
14790
|
});
|
|
14286
14791
|
Object.defineProperty(exports, "TooltipContent", {
|
|
14287
14792
|
enumerable: true,
|
|
14288
|
-
get: function () { return
|
|
14793
|
+
get: function () { return chunkFSPLYO52_cjs.TooltipContent; }
|
|
14289
14794
|
});
|
|
14290
14795
|
Object.defineProperty(exports, "TooltipProvider", {
|
|
14291
14796
|
enumerable: true,
|
|
14292
|
-
get: function () { return
|
|
14797
|
+
get: function () { return chunkFSPLYO52_cjs.TooltipProvider; }
|
|
14293
14798
|
});
|
|
14294
14799
|
Object.defineProperty(exports, "TooltipTrigger", {
|
|
14295
14800
|
enumerable: true,
|
|
14296
|
-
get: function () { return
|
|
14801
|
+
get: function () { return chunkFSPLYO52_cjs.TooltipTrigger; }
|
|
14297
14802
|
});
|
|
14298
14803
|
Object.defineProperty(exports, "TxtIcon", {
|
|
14299
14804
|
enumerable: true,
|
|
14300
|
-
get: function () { return
|
|
14805
|
+
get: function () { return chunkFSPLYO52_cjs.TxtIcon; }
|
|
14301
14806
|
});
|
|
14302
14807
|
Object.defineProperty(exports, "UserEntity", {
|
|
14303
14808
|
enumerable: true,
|
|
14304
|
-
get: function () { return
|
|
14809
|
+
get: function () { return chunkFSPLYO52_cjs.UserEntity; }
|
|
14305
14810
|
});
|
|
14306
14811
|
Object.defineProperty(exports, "UserMenu", {
|
|
14307
14812
|
enumerable: true,
|
|
14308
|
-
get: function () { return
|
|
14813
|
+
get: function () { return chunkFSPLYO52_cjs.UserMenu; }
|
|
14309
14814
|
});
|
|
14310
14815
|
Object.defineProperty(exports, "VIDEO_MIME_PREFERENCE", {
|
|
14311
14816
|
enumerable: true,
|
|
14312
|
-
get: function () { return
|
|
14817
|
+
get: function () { return chunkFSPLYO52_cjs.VIDEO_MIME_PREFERENCE; }
|
|
14313
14818
|
});
|
|
14314
14819
|
Object.defineProperty(exports, "VISIBILITY_ICONS", {
|
|
14315
14820
|
enumerable: true,
|
|
14316
|
-
get: function () { return
|
|
14821
|
+
get: function () { return chunkFSPLYO52_cjs.VISIBILITY_ICONS; }
|
|
14317
14822
|
});
|
|
14318
14823
|
Object.defineProperty(exports, "VerifiedBadge", {
|
|
14319
14824
|
enumerable: true,
|
|
14320
|
-
get: function () { return
|
|
14825
|
+
get: function () { return chunkFSPLYO52_cjs.VerifiedBadge; }
|
|
14321
14826
|
});
|
|
14322
14827
|
Object.defineProperty(exports, "VerifiedToggle", {
|
|
14323
14828
|
enumerable: true,
|
|
14324
|
-
get: function () { return
|
|
14829
|
+
get: function () { return chunkFSPLYO52_cjs.VerifiedToggle; }
|
|
14325
14830
|
});
|
|
14326
14831
|
Object.defineProperty(exports, "VidIcon", {
|
|
14327
14832
|
enumerable: true,
|
|
14328
|
-
get: function () { return
|
|
14833
|
+
get: function () { return chunkFSPLYO52_cjs.VidIcon; }
|
|
14329
14834
|
});
|
|
14330
14835
|
Object.defineProperty(exports, "VisibilityIcon", {
|
|
14331
14836
|
enumerable: true,
|
|
14332
|
-
get: function () { return
|
|
14837
|
+
get: function () { return chunkFSPLYO52_cjs.VisibilityIcon; }
|
|
14333
14838
|
});
|
|
14334
14839
|
Object.defineProperty(exports, "VisibilityToggle", {
|
|
14335
14840
|
enumerable: true,
|
|
14336
|
-
get: function () { return
|
|
14841
|
+
get: function () { return chunkFSPLYO52_cjs.VisibilityToggle; }
|
|
14337
14842
|
});
|
|
14338
14843
|
Object.defineProperty(exports, "XlsIcon", {
|
|
14339
14844
|
enumerable: true,
|
|
14340
|
-
get: function () { return
|
|
14845
|
+
get: function () { return chunkFSPLYO52_cjs.XlsIcon; }
|
|
14341
14846
|
});
|
|
14342
14847
|
Object.defineProperty(exports, "agentAvatarColors", {
|
|
14343
14848
|
enumerable: true,
|
|
14344
|
-
get: function () { return
|
|
14849
|
+
get: function () { return chunkFSPLYO52_cjs.agentAvatarColors; }
|
|
14345
14850
|
});
|
|
14346
14851
|
Object.defineProperty(exports, "badgeVariants", {
|
|
14347
14852
|
enumerable: true,
|
|
14348
|
-
get: function () { return
|
|
14853
|
+
get: function () { return chunkFSPLYO52_cjs.badgeVariants; }
|
|
14349
14854
|
});
|
|
14350
14855
|
Object.defineProperty(exports, "buildFolderTree", {
|
|
14351
14856
|
enumerable: true,
|
|
14352
|
-
get: function () { return
|
|
14857
|
+
get: function () { return chunkFSPLYO52_cjs.buildFolderTree; }
|
|
14353
14858
|
});
|
|
14354
14859
|
Object.defineProperty(exports, "canonicalFolderPath", {
|
|
14355
14860
|
enumerable: true,
|
|
14356
|
-
get: function () { return
|
|
14861
|
+
get: function () { return chunkFSPLYO52_cjs.canonicalFolderPath; }
|
|
14357
14862
|
});
|
|
14358
14863
|
Object.defineProperty(exports, "cardVariants", {
|
|
14359
14864
|
enumerable: true,
|
|
14360
|
-
get: function () { return
|
|
14865
|
+
get: function () { return chunkFSPLYO52_cjs.cardVariants; }
|
|
14361
14866
|
});
|
|
14362
14867
|
Object.defineProperty(exports, "classifyMediaError", {
|
|
14363
14868
|
enumerable: true,
|
|
14364
|
-
get: function () { return
|
|
14869
|
+
get: function () { return chunkFSPLYO52_cjs.classifyMediaError; }
|
|
14365
14870
|
});
|
|
14366
14871
|
Object.defineProperty(exports, "configureEntityRegistry", {
|
|
14367
14872
|
enumerable: true,
|
|
14368
|
-
get: function () { return
|
|
14873
|
+
get: function () { return chunkFSPLYO52_cjs.configureEntityRegistry; }
|
|
14369
14874
|
});
|
|
14370
14875
|
Object.defineProperty(exports, "configureRagLabels", {
|
|
14371
14876
|
enumerable: true,
|
|
14372
|
-
get: function () { return
|
|
14877
|
+
get: function () { return chunkFSPLYO52_cjs.configureRagLabels; }
|
|
14373
14878
|
});
|
|
14374
14879
|
Object.defineProperty(exports, "configureStatusRegistry", {
|
|
14375
14880
|
enumerable: true,
|
|
14376
|
-
get: function () { return
|
|
14881
|
+
get: function () { return chunkFSPLYO52_cjs.configureStatusRegistry; }
|
|
14377
14882
|
});
|
|
14378
14883
|
Object.defineProperty(exports, "createChunkedRecorder", {
|
|
14379
14884
|
enumerable: true,
|
|
14380
|
-
get: function () { return
|
|
14885
|
+
get: function () { return chunkFSPLYO52_cjs.createChunkedRecorder; }
|
|
14381
14886
|
});
|
|
14382
14887
|
Object.defineProperty(exports, "entityNoun", {
|
|
14383
14888
|
enumerable: true,
|
|
14384
|
-
get: function () { return
|
|
14889
|
+
get: function () { return chunkFSPLYO52_cjs.entityNoun; }
|
|
14385
14890
|
});
|
|
14386
14891
|
Object.defineProperty(exports, "extensionFromMime", {
|
|
14387
14892
|
enumerable: true,
|
|
14388
|
-
get: function () { return
|
|
14893
|
+
get: function () { return chunkFSPLYO52_cjs.extensionFromMime; }
|
|
14389
14894
|
});
|
|
14390
14895
|
Object.defineProperty(exports, "formatDocDate", {
|
|
14391
14896
|
enumerable: true,
|
|
14392
|
-
get: function () { return
|
|
14897
|
+
get: function () { return chunkFSPLYO52_cjs.formatDocDate; }
|
|
14393
14898
|
});
|
|
14394
14899
|
Object.defineProperty(exports, "formatElapsed", {
|
|
14395
14900
|
enumerable: true,
|
|
14396
|
-
get: function () { return
|
|
14901
|
+
get: function () { return chunkFSPLYO52_cjs.formatElapsed; }
|
|
14397
14902
|
});
|
|
14398
14903
|
Object.defineProperty(exports, "formatFolderLabel", {
|
|
14399
14904
|
enumerable: true,
|
|
14400
|
-
get: function () { return
|
|
14905
|
+
get: function () { return chunkFSPLYO52_cjs.formatFolderLabel; }
|
|
14401
14906
|
});
|
|
14402
14907
|
Object.defineProperty(exports, "formatFriendlyDate", {
|
|
14403
14908
|
enumerable: true,
|
|
14404
|
-
get: function () { return
|
|
14909
|
+
get: function () { return chunkFSPLYO52_cjs.formatFriendlyDate; }
|
|
14405
14910
|
});
|
|
14406
14911
|
Object.defineProperty(exports, "friendlyFileType", {
|
|
14407
14912
|
enumerable: true,
|
|
14408
|
-
get: function () { return
|
|
14913
|
+
get: function () { return chunkFSPLYO52_cjs.friendlyFileType; }
|
|
14409
14914
|
});
|
|
14410
14915
|
Object.defineProperty(exports, "getDocIcon", {
|
|
14411
14916
|
enumerable: true,
|
|
14412
|
-
get: function () { return
|
|
14917
|
+
get: function () { return chunkFSPLYO52_cjs.getDocIcon; }
|
|
14413
14918
|
});
|
|
14414
14919
|
Object.defineProperty(exports, "getDocumentAuthor", {
|
|
14415
14920
|
enumerable: true,
|
|
14416
|
-
get: function () { return
|
|
14921
|
+
get: function () { return chunkFSPLYO52_cjs.getDocumentAuthor; }
|
|
14417
14922
|
});
|
|
14418
14923
|
Object.defineProperty(exports, "getDocumentDate", {
|
|
14419
14924
|
enumerable: true,
|
|
14420
|
-
get: function () { return
|
|
14925
|
+
get: function () { return chunkFSPLYO52_cjs.getDocumentDate; }
|
|
14421
14926
|
});
|
|
14422
14927
|
Object.defineProperty(exports, "getDocumentNature", {
|
|
14423
14928
|
enumerable: true,
|
|
14424
|
-
get: function () { return
|
|
14929
|
+
get: function () { return chunkFSPLYO52_cjs.getDocumentNature; }
|
|
14425
14930
|
});
|
|
14426
14931
|
Object.defineProperty(exports, "getDocumentSubject", {
|
|
14427
14932
|
enumerable: true,
|
|
14428
|
-
get: function () { return
|
|
14933
|
+
get: function () { return chunkFSPLYO52_cjs.getDocumentSubject; }
|
|
14429
14934
|
});
|
|
14430
14935
|
Object.defineProperty(exports, "getDocumentTitle", {
|
|
14431
14936
|
enumerable: true,
|
|
14432
|
-
get: function () { return
|
|
14937
|
+
get: function () { return chunkFSPLYO52_cjs.getDocumentTitle; }
|
|
14433
14938
|
});
|
|
14434
14939
|
Object.defineProperty(exports, "getEntityColor", {
|
|
14435
14940
|
enumerable: true,
|
|
14436
|
-
get: function () { return
|
|
14941
|
+
get: function () { return chunkFSPLYO52_cjs.getEntityColor; }
|
|
14437
14942
|
});
|
|
14438
14943
|
Object.defineProperty(exports, "getEntityColorStyles", {
|
|
14439
14944
|
enumerable: true,
|
|
14440
|
-
get: function () { return
|
|
14945
|
+
get: function () { return chunkFSPLYO52_cjs.getEntityColorStyles; }
|
|
14441
14946
|
});
|
|
14442
14947
|
Object.defineProperty(exports, "getEntityIcon", {
|
|
14443
14948
|
enumerable: true,
|
|
14444
|
-
get: function () { return
|
|
14949
|
+
get: function () { return chunkFSPLYO52_cjs.getEntityIcon; }
|
|
14445
14950
|
});
|
|
14446
14951
|
Object.defineProperty(exports, "getEntityLabel", {
|
|
14447
14952
|
enumerable: true,
|
|
14448
|
-
get: function () { return
|
|
14953
|
+
get: function () { return chunkFSPLYO52_cjs.getEntityLabel; }
|
|
14449
14954
|
});
|
|
14450
14955
|
Object.defineProperty(exports, "getFileExtension", {
|
|
14451
14956
|
enumerable: true,
|
|
14452
|
-
get: function () { return
|
|
14957
|
+
get: function () { return chunkFSPLYO52_cjs.getFileExtension; }
|
|
14453
14958
|
});
|
|
14454
14959
|
Object.defineProperty(exports, "getFileTypeIcon", {
|
|
14455
14960
|
enumerable: true,
|
|
14456
|
-
get: function () { return
|
|
14961
|
+
get: function () { return chunkFSPLYO52_cjs.getFileTypeIcon; }
|
|
14457
14962
|
});
|
|
14458
14963
|
Object.defineProperty(exports, "getStatusVariant", {
|
|
14459
14964
|
enumerable: true,
|
|
14460
|
-
get: function () { return
|
|
14965
|
+
get: function () { return chunkFSPLYO52_cjs.getStatusVariant; }
|
|
14461
14966
|
});
|
|
14462
14967
|
Object.defineProperty(exports, "getTagTypeIcon", {
|
|
14463
14968
|
enumerable: true,
|
|
14464
|
-
get: function () { return
|
|
14969
|
+
get: function () { return chunkFSPLYO52_cjs.getTagTypeIcon; }
|
|
14465
14970
|
});
|
|
14466
14971
|
Object.defineProperty(exports, "getTagTypeLabel", {
|
|
14467
14972
|
enumerable: true,
|
|
14468
|
-
get: function () { return
|
|
14973
|
+
get: function () { return chunkFSPLYO52_cjs.getTagTypeLabel; }
|
|
14469
14974
|
});
|
|
14470
14975
|
Object.defineProperty(exports, "getWorkspaceColor", {
|
|
14471
14976
|
enumerable: true,
|
|
14472
|
-
get: function () { return
|
|
14977
|
+
get: function () { return chunkFSPLYO52_cjs.getWorkspaceColor; }
|
|
14473
14978
|
});
|
|
14474
14979
|
Object.defineProperty(exports, "isAudioFile", {
|
|
14475
14980
|
enumerable: true,
|
|
14476
|
-
get: function () { return
|
|
14981
|
+
get: function () { return chunkFSPLYO52_cjs.isAudioFile; }
|
|
14477
14982
|
});
|
|
14478
14983
|
Object.defineProperty(exports, "isDocumentAddableToConversation", {
|
|
14479
14984
|
enumerable: true,
|
|
14480
|
-
get: function () { return
|
|
14985
|
+
get: function () { return chunkFSPLYO52_cjs.isDocumentAddableToConversation; }
|
|
14481
14986
|
});
|
|
14482
14987
|
Object.defineProperty(exports, "isDownloadOnlyFile", {
|
|
14483
14988
|
enumerable: true,
|
|
14484
|
-
get: function () { return
|
|
14989
|
+
get: function () { return chunkFSPLYO52_cjs.isDownloadOnlyFile; }
|
|
14485
14990
|
});
|
|
14486
14991
|
Object.defineProperty(exports, "isImageDocument", {
|
|
14487
14992
|
enumerable: true,
|
|
14488
|
-
get: function () { return
|
|
14993
|
+
get: function () { return chunkFSPLYO52_cjs.isImageDocument; }
|
|
14489
14994
|
});
|
|
14490
14995
|
Object.defineProperty(exports, "isImageFile", {
|
|
14491
14996
|
enumerable: true,
|
|
14492
|
-
get: function () { return
|
|
14997
|
+
get: function () { return chunkFSPLYO52_cjs.isImageFile; }
|
|
14493
14998
|
});
|
|
14494
14999
|
Object.defineProperty(exports, "isMediaFile", {
|
|
14495
15000
|
enumerable: true,
|
|
14496
|
-
get: function () { return
|
|
15001
|
+
get: function () { return chunkFSPLYO52_cjs.isMediaFile; }
|
|
14497
15002
|
});
|
|
14498
15003
|
Object.defineProperty(exports, "isVideoFile", {
|
|
14499
15004
|
enumerable: true,
|
|
14500
|
-
get: function () { return
|
|
15005
|
+
get: function () { return chunkFSPLYO52_cjs.isVideoFile; }
|
|
14501
15006
|
});
|
|
14502
15007
|
Object.defineProperty(exports, "markdownToPlainText", {
|
|
14503
15008
|
enumerable: true,
|
|
14504
|
-
get: function () { return
|
|
15009
|
+
get: function () { return chunkFSPLYO52_cjs.markdownToPlainText; }
|
|
14505
15010
|
});
|
|
14506
15011
|
Object.defineProperty(exports, "markdownToPlainTextBlocks", {
|
|
14507
15012
|
enumerable: true,
|
|
14508
|
-
get: function () { return
|
|
15013
|
+
get: function () { return chunkFSPLYO52_cjs.markdownToPlainTextBlocks; }
|
|
14509
15014
|
});
|
|
14510
15015
|
Object.defineProperty(exports, "pickRecorderMimeType", {
|
|
14511
15016
|
enumerable: true,
|
|
14512
|
-
get: function () { return
|
|
15017
|
+
get: function () { return chunkFSPLYO52_cjs.pickRecorderMimeType; }
|
|
14513
15018
|
});
|
|
14514
15019
|
Object.defineProperty(exports, "tagKindNouns", {
|
|
14515
15020
|
enumerable: true,
|
|
14516
|
-
get: function () { return
|
|
15021
|
+
get: function () { return chunkFSPLYO52_cjs.tagKindNouns; }
|
|
14517
15022
|
});
|
|
14518
15023
|
Object.defineProperty(exports, "tagKindTitle", {
|
|
14519
15024
|
enumerable: true,
|
|
14520
|
-
get: function () { return
|
|
15025
|
+
get: function () { return chunkFSPLYO52_cjs.tagKindTitle; }
|
|
14521
15026
|
});
|
|
14522
15027
|
Object.defineProperty(exports, "toggleVariants", {
|
|
14523
15028
|
enumerable: true,
|
|
14524
|
-
get: function () { return
|
|
15029
|
+
get: function () { return chunkFSPLYO52_cjs.toggleVariants; }
|
|
14525
15030
|
});
|
|
14526
15031
|
Object.defineProperty(exports, "useAudioRecorder", {
|
|
14527
15032
|
enumerable: true,
|
|
14528
|
-
get: function () { return
|
|
15033
|
+
get: function () { return chunkFSPLYO52_cjs.useAudioRecorder; }
|
|
14529
15034
|
});
|
|
14530
15035
|
Object.defineProperty(exports, "useDictateContext", {
|
|
14531
15036
|
enumerable: true,
|
|
14532
|
-
get: function () { return
|
|
15037
|
+
get: function () { return chunkFSPLYO52_cjs.useDictateContext; }
|
|
14533
15038
|
});
|
|
14534
15039
|
Object.defineProperty(exports, "usesOriginalBytesForViewer", {
|
|
14535
15040
|
enumerable: true,
|
|
14536
|
-
get: function () { return
|
|
15041
|
+
get: function () { return chunkFSPLYO52_cjs.usesOriginalBytesForViewer; }
|
|
14537
15042
|
});
|
|
14538
15043
|
Object.defineProperty(exports, "Avatar", {
|
|
14539
15044
|
enumerable: true,
|
|
@@ -14921,6 +15426,7 @@ exports.MAIL_DRAFT_REPLACED_EVENT = MAIL_DRAFT_REPLACED_EVENT;
|
|
|
14921
15426
|
exports.MIN_NARRATION_DWELL_MS = MIN_NARRATION_DWELL_MS;
|
|
14922
15427
|
exports.MailOfflineUnavailableError = MailOfflineUnavailableError;
|
|
14923
15428
|
exports.MessageArtifactCard = MessageArtifactCard;
|
|
15429
|
+
exports.PENDING_SYNC_PREDICATE = PENDING_SYNC_PREDICATE;
|
|
14924
15430
|
exports.POLL_EVERY_MS = POLL_EVERY_MS;
|
|
14925
15431
|
exports.PhotoCapture = PhotoCapture;
|
|
14926
15432
|
exports.RUN_WINDOW_MS = RUN_WINDOW_MS;
|
|
@@ -14950,8 +15456,10 @@ exports.appendTokenToMessage = appendTokenToMessage;
|
|
|
14950
15456
|
exports.applyConversationEvent = applyConversationEvent;
|
|
14951
15457
|
exports.applyFinalContextToMessage = applyFinalContextToMessage;
|
|
14952
15458
|
exports.applyLiveUpdate = applyLiveUpdate;
|
|
15459
|
+
exports.applyNotificationRow = applyNotificationRow;
|
|
14953
15460
|
exports.applyOptimisticDocumentEdit = applyOptimisticDocumentEdit;
|
|
14954
15461
|
exports.applyOutputItemToMessage = applyOutputItemToMessage;
|
|
15462
|
+
exports.applyTaskEvent = applyTaskEvent;
|
|
14955
15463
|
exports.arbiMailClient = arbiMailClient;
|
|
14956
15464
|
exports.archiveName = archiveName;
|
|
14957
15465
|
exports.archivedWorkspaceMessage = archivedWorkspaceMessage;
|
|
@@ -14960,6 +15468,7 @@ exports.boundDocumentOf = boundDocumentOf;
|
|
|
14960
15468
|
exports.buildDocumentMetadataRows = buildDocumentMetadataRows;
|
|
14961
15469
|
exports.buildMentionCandidates = buildMentionCandidates;
|
|
14962
15470
|
exports.buildPendingFirstTurn = buildPendingFirstTurn;
|
|
15471
|
+
exports.buildPendingSyncItem = buildPendingSyncItem;
|
|
14963
15472
|
exports.buildWorkspaceArchive = buildWorkspaceArchive;
|
|
14964
15473
|
exports.cacheThreadBinding = cacheThreadBinding;
|
|
14965
15474
|
exports.cachedAssistantMode = cachedAssistantMode;
|
|
@@ -15003,6 +15512,7 @@ exports.formatConfigValidationError = formatConfigValidationError;
|
|
|
15003
15512
|
exports.formatIdentityPrice = formatIdentityPrice;
|
|
15004
15513
|
exports.getInterjectionText = getInterjectionText;
|
|
15005
15514
|
exports.getNotificationTypeMeta = getNotificationTypeMeta;
|
|
15515
|
+
exports.getOfflineDocument = getOfflineDocument;
|
|
15006
15516
|
exports.getOrphanedLastMessage = getOrphanedLastMessage;
|
|
15007
15517
|
exports.getRelatedLabels = getRelatedLabels;
|
|
15008
15518
|
exports.getRelatedTotal = getRelatedTotal;
|
|
@@ -15027,6 +15537,7 @@ exports.isDeploymentAdmin = isDeploymentAdmin;
|
|
|
15027
15537
|
exports.isDeploymentUserNotification = isDeploymentUserNotification;
|
|
15028
15538
|
exports.isFullConfig = isFullConfig;
|
|
15029
15539
|
exports.isMessageRunning = isMessageRunning;
|
|
15540
|
+
exports.isNotificationRow = isNotificationRow;
|
|
15030
15541
|
exports.isOfflineReadableArbiQuery = isOfflineReadableArbiQuery;
|
|
15031
15542
|
exports.isOrphanedUserMessage = isOrphanedUserMessage;
|
|
15032
15543
|
exports.isQueuedCalendarWrite = isQueuedCalendarWrite;
|
|
@@ -15038,6 +15549,7 @@ exports.isTransferResumable = isTransferResumable;
|
|
|
15038
15549
|
exports.isWorkspaceArchivedError = isWorkspaceArchivedError;
|
|
15039
15550
|
exports.isWorkspaceNotificationType = isWorkspaceNotificationType;
|
|
15040
15551
|
exports.isZipFile = isZipFile;
|
|
15552
|
+
exports.loadOfflineDocument = loadOfflineDocument;
|
|
15041
15553
|
exports.mailDraftIdFromContent = mailDraftIdFromContent;
|
|
15042
15554
|
exports.mailJson = mailJson;
|
|
15043
15555
|
exports.markMessageAsFailed = markMessageAsFailed;
|
|
@@ -15059,6 +15571,7 @@ exports.refuseChatWhenOffline = refuseChatWhenOffline;
|
|
|
15059
15571
|
exports.registerArbiMutationDefaults = registerArbiMutationDefaults;
|
|
15060
15572
|
exports.registerAttachedRun = registerAttachedRun;
|
|
15061
15573
|
exports.removeSettledNarration = removeSettledNarration;
|
|
15574
|
+
exports.requestPersistentStorage = requestPersistentStorage;
|
|
15062
15575
|
exports.resetCalendarAccountSyncState = resetCalendarAccountSyncState;
|
|
15063
15576
|
exports.resetMessageContent = resetMessageContent;
|
|
15064
15577
|
exports.resolveActiveWorkspace = resolveActiveWorkspace;
|
|
@@ -15104,15 +15617,11 @@ exports.useAiTask = useAiTask;
|
|
|
15104
15617
|
exports.useAnswerAgentQuestion = useAnswerAgentQuestion;
|
|
15105
15618
|
exports.useApplyChatModel = useApplyChatModel;
|
|
15106
15619
|
exports.useArbiConnected = useArbiConnected;
|
|
15107
|
-
exports.useArbiDocumentSync = useArbiDocumentSync;
|
|
15108
15620
|
exports.useArbiShellWorkspaces = useArbiShellWorkspaces;
|
|
15109
15621
|
exports.useArbiWebSocket = useArbiWebSocket;
|
|
15110
15622
|
exports.useArbiWsContext = useArbiWsContext;
|
|
15111
15623
|
exports.useArbiWsMessage = useArbiWsMessage;
|
|
15112
15624
|
exports.useArbiWsStatus = useArbiWsStatus;
|
|
15113
|
-
exports.useArbiWsStore = useArbiWsStore;
|
|
15114
|
-
exports.useArbiWsTask = useArbiWsTask;
|
|
15115
|
-
exports.useArbiWsTasks = useArbiWsTasks;
|
|
15116
15625
|
exports.useArchiveProgressPolling = useArchiveProgressPolling;
|
|
15117
15626
|
exports.useArchiveWorkspace = useArchiveWorkspace;
|
|
15118
15627
|
exports.useAskAgain = useAskAgain;
|
|
@@ -15137,10 +15646,12 @@ exports.useCameraStream = useCameraStream;
|
|
|
15137
15646
|
exports.useCanEditShared = useCanEditShared;
|
|
15138
15647
|
exports.useCancelDriveSync = useCancelDriveSync;
|
|
15139
15648
|
exports.useCancelMailboxSync = useCancelMailboxSync;
|
|
15649
|
+
exports.useCancelManyPendingSync = useCancelManyPendingSync;
|
|
15140
15650
|
exports.useCancelProjectSubscription = useCancelProjectSubscription;
|
|
15141
15651
|
exports.useCancelWorkspaceTransfer = useCancelWorkspaceTransfer;
|
|
15142
15652
|
exports.useChangeProjectPlan = useChangeProjectPlan;
|
|
15143
15653
|
exports.useChargeWatch = useChargeWatch;
|
|
15654
|
+
exports.useChatArrivals = useChatArrivals;
|
|
15144
15655
|
exports.useChatPost = useChatPost;
|
|
15145
15656
|
exports.useChatSummaries = useChatSummaries;
|
|
15146
15657
|
exports.useChatThread = useChatThread;
|
|
@@ -15252,6 +15763,7 @@ exports.useInvalidateStorage = useInvalidateStorage;
|
|
|
15252
15763
|
exports.useInviteContacts = useInviteContacts;
|
|
15253
15764
|
exports.useIsSlow = useIsSlow;
|
|
15254
15765
|
exports.useIsWorkspaceOwner = useIsWorkspaceOwner;
|
|
15766
|
+
exports.useKeepDocumentsOffline = useKeepDocumentsOffline;
|
|
15255
15767
|
exports.useLinkContact = useLinkContact;
|
|
15256
15768
|
exports.useMailAccounts = useMailAccounts;
|
|
15257
15769
|
exports.useMailAttachmentText = useMailAttachmentText;
|
|
@@ -15287,6 +15799,8 @@ exports.usePassageQuotes = usePassageQuotes;
|
|
|
15287
15799
|
exports.usePasswordChange = usePasswordChange;
|
|
15288
15800
|
exports.usePasswordChangeForm = usePasswordChangeForm;
|
|
15289
15801
|
exports.usePendingContacts = usePendingContacts;
|
|
15802
|
+
exports.usePendingSyncCounts = usePendingSyncCounts;
|
|
15803
|
+
exports.usePendingSyncItems = usePendingSyncItems;
|
|
15290
15804
|
exports.usePeople = usePeople;
|
|
15291
15805
|
exports.usePeopleSearch = usePeopleSearch;
|
|
15292
15806
|
exports.usePlanQuote = usePlanQuote;
|
|
@@ -15306,6 +15820,7 @@ exports.useRefreshProject = useRefreshProject;
|
|
|
15306
15820
|
exports.useRelatedDocuments = useRelatedDocuments;
|
|
15307
15821
|
exports.useRemoveChatMember = useRemoveChatMember;
|
|
15308
15822
|
exports.useRemoveDocTags = useRemoveDocTags;
|
|
15823
|
+
exports.useRemoveDocumentsOffline = useRemoveDocumentsOffline;
|
|
15309
15824
|
exports.useRemoveWorkspaceMembers = useRemoveWorkspaceMembers;
|
|
15310
15825
|
exports.useRenameChat = useRenameChat;
|
|
15311
15826
|
exports.useRenameFolder = useRenameFolder;
|
|
@@ -15395,6 +15910,7 @@ exports.useWorkspaceArchive = useWorkspaceArchive;
|
|
|
15395
15910
|
exports.useWorkspaceDocs = useWorkspaceDocs;
|
|
15396
15911
|
exports.useWorkspaceExportDownload = useWorkspaceExportDownload;
|
|
15397
15912
|
exports.useWorkspaceNotificationLevel = useWorkspaceNotificationLevel;
|
|
15913
|
+
exports.useWorkspaceProcessing = useWorkspaceProcessing;
|
|
15398
15914
|
exports.useWorkspaceRole = useWorkspaceRole;
|
|
15399
15915
|
exports.useWorkspaceTransfer = useWorkspaceTransfer;
|
|
15400
15916
|
exports.useWorkspaceTransfers = useWorkspaceTransfers;
|
|
@@ -15403,6 +15919,7 @@ exports.useWorkspaceUsers = useWorkspaceUsers;
|
|
|
15403
15919
|
exports.userDisplayName = userDisplayName;
|
|
15404
15920
|
exports.userInitials = userInitials;
|
|
15405
15921
|
exports.waitForResponseId = waitForResponseId;
|
|
15922
|
+
exports.wipeOfflineDocuments = wipeOfflineDocuments;
|
|
15406
15923
|
exports.withRelativePath = withRelativePath;
|
|
15407
15924
|
exports.workflowStepOf = workflowStepOf;
|
|
15408
15925
|
exports.workspaceHouseTemplateId = workspaceHouseTemplateId;
|