@arbidocs/react 0.5.133 → 0.5.135
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 +2 -2
- package/dist/calls/livekit/index.cjs +41 -41
- package/dist/{chunk-HE4AQEWB.cjs → chunk-26SZ3DS4.cjs} +5 -5
- package/dist/{chunk-HE4AQEWB.cjs.map → chunk-26SZ3DS4.cjs.map} +1 -1
- package/dist/{chunk-MDSWUCCL.cjs → chunk-ZZZYVNFW.cjs} +85 -2
- package/dist/chunk-ZZZYVNFW.cjs.map +1 -0
- package/dist/index.cjs +592 -575
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +6 -1
- package/dist/query-persist.js +19 -6
- package/dist/query-persist.js.map +2 -2
- package/dist/session/browser-storage.js +84 -0
- package/dist/session/browser-storage.js.map +7 -0
- package/dist/session/index.js +2 -0
- package/dist/session/index.js.map +2 -2
- package/package.json +3 -3
- package/dist/chunk-MDSWUCCL.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkTMPDW7J5_cjs = require('./chunk-TMPDW7J5.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunk26SZ3DS4_cjs = require('./chunk-26SZ3DS4.cjs');
|
|
5
5
|
var chunkPDE246CA_cjs = require('./chunk-PDE246CA.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkZZZYVNFW_cjs = require('./chunk-ZZZYVNFW.cjs');
|
|
7
7
|
var chunkFDYZA6NO_cjs = require('./chunk-FDYZA6NO.cjs');
|
|
8
8
|
var chunkFE6ZSNZE_cjs = require('./chunk-FE6ZSNZE.cjs');
|
|
9
9
|
var chunk6RRKO4ZK_cjs = require('./chunk-6RRKO4ZK.cjs');
|
|
@@ -43,10 +43,10 @@ var Cropper__default = /*#__PURE__*/_interopDefault(Cropper);
|
|
|
43
43
|
// src/host/index.ts
|
|
44
44
|
var ArbiHost2 = chunk6RRKO4ZK_cjs.ArbiHost;
|
|
45
45
|
function useCurrentWorkspace() {
|
|
46
|
-
const workspaceId =
|
|
47
|
-
const workspaceStatus =
|
|
48
|
-
const userId =
|
|
49
|
-
const { data: workspaces } =
|
|
46
|
+
const workspaceId = chunkZZZYVNFW_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
47
|
+
const workspaceStatus = chunkZZZYVNFW_cjs.useArbiSessionState((s) => s.workspaceStatus);
|
|
48
|
+
const userId = chunkZZZYVNFW_cjs.useArbiSession().user?.external_id ?? null;
|
|
49
|
+
const { data: workspaces } = chunkZZZYVNFW_cjs.useWorkspaces();
|
|
50
50
|
const workspace = workspaceId ? workspaces?.find((w) => w.external_id === workspaceId) : void 0;
|
|
51
51
|
const membership = userId ? workspace?.users?.find((member) => member.user.external_id === userId) : void 0;
|
|
52
52
|
const role = membership?.role ?? null;
|
|
@@ -86,9 +86,9 @@ function holdListPoll(refetch) {
|
|
|
86
86
|
};
|
|
87
87
|
}
|
|
88
88
|
function useConversationItems() {
|
|
89
|
-
const workspaceId =
|
|
90
|
-
const open =
|
|
91
|
-
const query =
|
|
89
|
+
const workspaceId = chunkZZZYVNFW_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
90
|
+
const open = chunkZZZYVNFW_cjs.useArbiSessionState((s) => s.workspaceStatus === "open");
|
|
91
|
+
const query = chunkZZZYVNFW_cjs.useConversations(workspaceId ?? void 0, { enabled: open });
|
|
92
92
|
const { refetch } = query;
|
|
93
93
|
const all = query.data;
|
|
94
94
|
const tasks = React.useMemo(() => (all ?? []).filter((c) => c.status != null), [all]);
|
|
@@ -109,7 +109,7 @@ function useConversationItems() {
|
|
|
109
109
|
return { conversations: all ?? [], tasks, isLoading: query.isLoading, refetch };
|
|
110
110
|
}
|
|
111
111
|
function useConversationIsShared() {
|
|
112
|
-
const id =
|
|
112
|
+
const id = chunkZZZYVNFW_cjs.useArbiSessionState((state) => state.conversationId);
|
|
113
113
|
const { conversations } = useConversationItems();
|
|
114
114
|
return conversations.find((conversation) => conversation.external_id === id)?.is_shared ?? false;
|
|
115
115
|
}
|
|
@@ -140,7 +140,7 @@ var THREAD_LOOKUP_DELAY_MS = 500;
|
|
|
140
140
|
function useStartTaskQuery() {
|
|
141
141
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
142
142
|
const queryClient = reactQuery.useQueryClient();
|
|
143
|
-
const chatModel =
|
|
143
|
+
const chatModel = chunkZZZYVNFW_cjs.useArbiSessionState((s) => s.chatModel);
|
|
144
144
|
const post = reactQuery.useMutation({
|
|
145
145
|
mutationFn: (query) => {
|
|
146
146
|
const selectedConfig = chatModel || queryClient.getQueriesData({ queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.userSettings() }).map(([, settings]) => settings?.last_config).find(Boolean);
|
|
@@ -174,7 +174,7 @@ function useStartTaskQuery() {
|
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
176
|
if (!conversationId) return null;
|
|
177
|
-
await
|
|
177
|
+
await chunk26SZ3DS4_cjs.invalidateConversationLists(queryClient);
|
|
178
178
|
return { conversationId };
|
|
179
179
|
};
|
|
180
180
|
return {
|
|
@@ -203,8 +203,8 @@ function useUpdateConversation() {
|
|
|
203
203
|
}) => arbi.conversations.update(conversationId, patch),
|
|
204
204
|
// The list takes the server's version of the row; what hangs off it is read again.
|
|
205
205
|
onSuccess: (updated, { conversationId }) => {
|
|
206
|
-
|
|
207
|
-
return
|
|
206
|
+
chunk26SZ3DS4_cjs.patchConversation(qc, conversationId, updated);
|
|
207
|
+
return chunk26SZ3DS4_cjs.invalidateConversationDetails(qc, conversationId);
|
|
208
208
|
}
|
|
209
209
|
});
|
|
210
210
|
}
|
|
@@ -213,7 +213,7 @@ function useDeleteConversation() {
|
|
|
213
213
|
const qc = reactQuery.useQueryClient();
|
|
214
214
|
return reactQuery.useMutation({
|
|
215
215
|
mutationFn: (conversationId) => arbi.conversations.delete(conversationId),
|
|
216
|
-
onSuccess: (_res, conversationId) =>
|
|
216
|
+
onSuccess: (_res, conversationId) => chunk26SZ3DS4_cjs.removeConversationFromLists(qc, conversationId)
|
|
217
217
|
});
|
|
218
218
|
}
|
|
219
219
|
function workWorkspace(arbi, workspaceId) {
|
|
@@ -236,7 +236,7 @@ function useCreateWork(options) {
|
|
|
236
236
|
mutationFn: async (body) => {
|
|
237
237
|
const workspaceId = workWorkspace(arbi, named);
|
|
238
238
|
const created = await arbi.conversations.createWork(body, { workspaceId });
|
|
239
|
-
|
|
239
|
+
chunk26SZ3DS4_cjs.addConversationToList(qc, workspaceId ?? null, created);
|
|
240
240
|
return created;
|
|
241
241
|
}
|
|
242
242
|
});
|
|
@@ -248,7 +248,7 @@ function useRunConversation() {
|
|
|
248
248
|
mutationFn: (conversationId) => arbi.conversations.runWithAuth(conversationId),
|
|
249
249
|
// The server's version replaces the listed one; everything under the conversation is re-read.
|
|
250
250
|
onSuccess: (updated) => {
|
|
251
|
-
if (updated?.external_id)
|
|
251
|
+
if (updated?.external_id) chunk26SZ3DS4_cjs.patchConversation(qc, updated.external_id, updated);
|
|
252
252
|
return qc.invalidateQueries({ queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.allConversations() });
|
|
253
253
|
}
|
|
254
254
|
});
|
|
@@ -264,7 +264,7 @@ function useActOnStep() {
|
|
|
264
264
|
// The server's version of the conversation replaces the listed one; its history is re-read.
|
|
265
265
|
onSuccess: (updated) => {
|
|
266
266
|
if (!updated?.external_id) return;
|
|
267
|
-
|
|
267
|
+
chunk26SZ3DS4_cjs.patchConversation(qc, updated.external_id, updated);
|
|
268
268
|
invalidateConversationActivity(qc, updated.external_id);
|
|
269
269
|
}
|
|
270
270
|
});
|
|
@@ -1298,12 +1298,12 @@ function cachedAssistantMode(queryClient, conversationId, newMode) {
|
|
|
1298
1298
|
if (!conversationId) return newMode;
|
|
1299
1299
|
const threads = queryClient.getQueriesData(allConversationThreads).map(([, data]) => data).find((data) => data?.conversation_ext_id === conversationId);
|
|
1300
1300
|
if (threads?.assistant_mode) return threads.assistant_mode;
|
|
1301
|
-
return
|
|
1301
|
+
return chunk26SZ3DS4_cjs.findConversation(queryClient, conversationId)?.assistant_mode ?? "always";
|
|
1302
1302
|
}
|
|
1303
1303
|
function isCommentToPeople(queryClient, conversationId, content, candidates) {
|
|
1304
1304
|
const mentioned = chunk6RRKO4ZK_cjs.extractMentions(content, candidates);
|
|
1305
1305
|
if (mentioned.some((c) => c.kind === "assistant")) return false;
|
|
1306
|
-
if (
|
|
1306
|
+
if (chunk26SZ3DS4_cjs.isConversationShared(queryClient, conversationId)) return true;
|
|
1307
1307
|
if (mentioned.some((c) => c.kind === "user")) return true;
|
|
1308
1308
|
return !!conversationId && cachedAssistantMode(queryClient, conversationId, "always") === "mentioned";
|
|
1309
1309
|
}
|
|
@@ -1395,12 +1395,12 @@ function useSaveConfigField(baseConfigId) {
|
|
|
1395
1395
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
1396
1396
|
const queryClient = reactQuery.useQueryClient();
|
|
1397
1397
|
const saveConfig = useSaveConfig();
|
|
1398
|
-
const { data: defaultConfig } =
|
|
1399
|
-
const chatModel =
|
|
1400
|
-
const { data: userSettings } =
|
|
1398
|
+
const { data: defaultConfig } = chunkZZZYVNFW_cjs.useConfig("default");
|
|
1399
|
+
const chatModel = chunkZZZYVNFW_cjs.useArbiSessionState((state) => state.chatModel);
|
|
1400
|
+
const { data: userSettings } = chunk26SZ3DS4_cjs.useUserSettings();
|
|
1401
1401
|
const activeConfigId = baseConfigId || chatModel || userSettings?.last_config || "default";
|
|
1402
|
-
const { data: activeConfigData } =
|
|
1403
|
-
const session =
|
|
1402
|
+
const { data: activeConfigData } = chunkZZZYVNFW_cjs.useConfig(activeConfigId);
|
|
1403
|
+
const session = chunkZZZYVNFW_cjs.useArbiSessionStore();
|
|
1404
1404
|
const chain2 = React.useRef(null);
|
|
1405
1405
|
const buildDelta = (changes) => deltaOnto(
|
|
1406
1406
|
changes,
|
|
@@ -1471,8 +1471,8 @@ function pendingChatModelSave(session) {
|
|
|
1471
1471
|
return chatModelSaves.get(session);
|
|
1472
1472
|
}
|
|
1473
1473
|
function useApplyChatModel() {
|
|
1474
|
-
const session =
|
|
1475
|
-
const { data: availableModels } =
|
|
1474
|
+
const session = chunkZZZYVNFW_cjs.useArbiSessionStore();
|
|
1475
|
+
const { data: availableModels } = chunkZZZYVNFW_cjs.useAvailableModels();
|
|
1476
1476
|
const configField = useSaveConfigField();
|
|
1477
1477
|
return React.useCallback(
|
|
1478
1478
|
async (model, label) => {
|
|
@@ -1521,7 +1521,7 @@ async function agentChatOwnerOf(queryClient, listAgents, conversationId) {
|
|
|
1521
1521
|
// src/chat/thread-binding.ts
|
|
1522
1522
|
function threadBinding(queryClient, conversationId) {
|
|
1523
1523
|
if (!conversationId) return chunk6RRKO4ZK_cjs.UNBOUND;
|
|
1524
|
-
const row =
|
|
1524
|
+
const row = chunk26SZ3DS4_cjs.findConversation(queryClient, conversationId);
|
|
1525
1525
|
if (row) return chunk6RRKO4ZK_cjs.bindingOfRow(row);
|
|
1526
1526
|
const threads = queryClient.getQueryData(getThreadsQueryKey(conversationId));
|
|
1527
1527
|
return chunk6RRKO4ZK_cjs.bindingOfRow(threads ? { external_id: conversationId, ...threads } : null);
|
|
@@ -1534,7 +1534,7 @@ function cacheThreadBinding(queryClient, conversationId, binding) {
|
|
|
1534
1534
|
bound_document_ext_id: binding.documentId,
|
|
1535
1535
|
bound_document_unavailable: binding.unavailable
|
|
1536
1536
|
};
|
|
1537
|
-
|
|
1537
|
+
chunk26SZ3DS4_cjs.patchConversation(queryClient, conversationId, fields);
|
|
1538
1538
|
queryClient.setQueryData(
|
|
1539
1539
|
getThreadsQueryKey(conversationId),
|
|
1540
1540
|
(old) => old ? { ...old, ...fields } : old
|
|
@@ -1570,7 +1570,7 @@ async function performBindingWrite(arbi, queryClient, conversationId, documentId
|
|
|
1570
1570
|
const saved = await arbi.conversations.update(conversationId, {
|
|
1571
1571
|
bound_document_ext_id: documentId
|
|
1572
1572
|
});
|
|
1573
|
-
|
|
1573
|
+
chunk26SZ3DS4_cjs.patchConversation(queryClient, conversationId, saved);
|
|
1574
1574
|
cacheThreadBinding(queryClient, conversationId, chunk6RRKO4ZK_cjs.bindingOfRow(saved));
|
|
1575
1575
|
} catch (error) {
|
|
1576
1576
|
cacheThreadBinding(queryClient, conversationId, before);
|
|
@@ -2423,13 +2423,13 @@ function DocumentReview({
|
|
|
2423
2423
|
});
|
|
2424
2424
|
const status = processingInProp ? polled?.status ?? doc?.status : doc?.status;
|
|
2425
2425
|
const noTextYet = stage === "final" && !!status && !PARSED_STATUSES.has(status);
|
|
2426
|
-
const parsedQuery =
|
|
2426
|
+
const parsedQuery = chunkZZZYVNFW_cjs.useParsedDocument(docId, stage, { enabled: !noTextYet });
|
|
2427
2427
|
const { isError: parsedFailed, refetch: refetchParsed } = parsedQuery;
|
|
2428
2428
|
const readable = !!status && !noTextYet;
|
|
2429
2429
|
React__default.default.useEffect(() => {
|
|
2430
2430
|
if (readable && parsedFailed) void refetchParsed();
|
|
2431
2431
|
}, [readable]);
|
|
2432
|
-
const tagsQuery =
|
|
2432
|
+
const tagsQuery = chunkZZZYVNFW_cjs.useTags(workspaceId);
|
|
2433
2433
|
const tagNameById = React__default.default.useMemo(() => {
|
|
2434
2434
|
const map = /* @__PURE__ */ new Map();
|
|
2435
2435
|
for (const t of tagsQuery.data ?? []) {
|
|
@@ -3334,7 +3334,7 @@ function useUploadFiles() {
|
|
|
3334
3334
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
3335
3335
|
const qc = reactQuery.useQueryClient();
|
|
3336
3336
|
const { resolveWorkspaceKey } = useDocumentsSupport();
|
|
3337
|
-
const { data: settings } =
|
|
3337
|
+
const { data: settings } = chunk26SZ3DS4_cjs.useUserSettings();
|
|
3338
3338
|
const { mutateAsync: generateDocTags } = useGenerateDocTags();
|
|
3339
3339
|
const direct = settings?.use_s3_direct_upload === true;
|
|
3340
3340
|
return React.useCallback(
|
|
@@ -3795,7 +3795,7 @@ var PENDING_SYNC_PREDICATE = (m) => (
|
|
|
3795
3795
|
);
|
|
3796
3796
|
function usePendingSyncItems() {
|
|
3797
3797
|
const { data: documents2 } = chunkPDE246CA_cjs.useDocuments();
|
|
3798
|
-
const { data: tags } =
|
|
3798
|
+
const { data: tags } = chunkZZZYVNFW_cjs.useTags();
|
|
3799
3799
|
const raw = reactQuery.useMutationState({
|
|
3800
3800
|
filters: { predicate: PENDING_SYNC_PREDICATE },
|
|
3801
3801
|
select: (m) => ({
|
|
@@ -4015,11 +4015,11 @@ function createStreamHandlers(ctx, params) {
|
|
|
4015
4015
|
const clientId = streamState.queuedClientId;
|
|
4016
4016
|
if (!clientId || queuedEntryRetired) return;
|
|
4017
4017
|
queuedEntryRetired = true;
|
|
4018
|
-
const entry =
|
|
4018
|
+
const entry = chunkZZZYVNFW_cjs.queuedMessages.find(session.getState().queuedMessages, clientId);
|
|
4019
4019
|
if (!entry) return;
|
|
4020
4020
|
const remainingVisibility = Math.max(
|
|
4021
4021
|
0,
|
|
4022
|
-
|
|
4022
|
+
chunkZZZYVNFW_cjs.MIN_QUEUED_MESSAGE_VISIBILITY_MS - (Date.now() - entry.createdAt)
|
|
4023
4023
|
);
|
|
4024
4024
|
if (remainingVisibility === 0) {
|
|
4025
4025
|
session.removeQueuedMessage(clientId);
|
|
@@ -4035,7 +4035,7 @@ function createStreamHandlers(ctx, params) {
|
|
|
4035
4035
|
session.moveConversation("new", serverConversationId);
|
|
4036
4036
|
const userExtId = ctx.userId();
|
|
4037
4037
|
const nowIso = (/* @__PURE__ */ new Date()).toISOString();
|
|
4038
|
-
|
|
4038
|
+
chunk26SZ3DS4_cjs.patchConversationList(
|
|
4039
4039
|
queryClient,
|
|
4040
4040
|
streamState.workspaceId ?? session.getState().workspaceId,
|
|
4041
4041
|
(old) => old.some((c) => c.external_id === serverConversationId) ? old : [
|
|
@@ -4157,7 +4157,7 @@ function createStreamHandlers(ctx, params) {
|
|
|
4157
4157
|
ensureAssistantMessageLoading(queryClient, conversationId, answerId);
|
|
4158
4158
|
});
|
|
4159
4159
|
}
|
|
4160
|
-
void
|
|
4160
|
+
void chunk26SZ3DS4_cjs.invalidateConversationLists(queryClient);
|
|
4161
4161
|
session.setCursor(streamState.assistantId);
|
|
4162
4162
|
};
|
|
4163
4163
|
let firstTokenSeen = false;
|
|
@@ -4357,7 +4357,7 @@ function createStreamHandlers(ctx, params) {
|
|
|
4357
4357
|
}
|
|
4358
4358
|
function useStreamHandlers() {
|
|
4359
4359
|
const queryClient = reactQuery.useQueryClient();
|
|
4360
|
-
const session =
|
|
4360
|
+
const session = chunkZZZYVNFW_cjs.useArbiSessionStore();
|
|
4361
4361
|
const config = chunkFE6ZSNZE_cjs.useArbiHost();
|
|
4362
4362
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
4363
4363
|
return React.useCallback(
|
|
@@ -4450,7 +4450,7 @@ function cachedQuotaUsedUp(queryClient, workspaceId) {
|
|
|
4450
4450
|
// src/chat/useConversationActions.ts
|
|
4451
4451
|
var RECONCILE_TIMEOUT_MS = 5e3;
|
|
4452
4452
|
function draftAfterSend(queryClient, session, wasComment, assistantName) {
|
|
4453
|
-
const shared =
|
|
4453
|
+
const shared = chunk26SZ3DS4_cjs.isConversationShared(queryClient, session.getState().conversationId);
|
|
4454
4454
|
return shared && !wasComment ? `@${assistantName} ` : "";
|
|
4455
4455
|
}
|
|
4456
4456
|
function failQueuedContinuation(queryClient, session, streamState) {
|
|
@@ -4483,7 +4483,7 @@ function useConversationActions({
|
|
|
4483
4483
|
lastFailedMessage
|
|
4484
4484
|
}) {
|
|
4485
4485
|
const queryClient = reactQuery.useQueryClient();
|
|
4486
|
-
const session =
|
|
4486
|
+
const session = chunkZZZYVNFW_cjs.useArbiSessionStore();
|
|
4487
4487
|
const currentConversationId = conversationKey2 === "new" ? null : conversationKey2;
|
|
4488
4488
|
const invalidateUserWorkspaces = React.useCallback(
|
|
4489
4489
|
() => void queryClient.invalidateQueries({ queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.workspaces() }),
|
|
@@ -4548,7 +4548,7 @@ function useConversationActions({
|
|
|
4548
4548
|
const bindTo = session.getState().newChatDocumentId;
|
|
4549
4549
|
session.moveConversation("new", conversationId);
|
|
4550
4550
|
if (bindTo) session.setNewChatDocumentId(null);
|
|
4551
|
-
|
|
4551
|
+
chunk26SZ3DS4_cjs.patchConversationList(queryClient, session.getState().workspaceId, (old) => [
|
|
4552
4552
|
{
|
|
4553
4553
|
external_id: conversationId,
|
|
4554
4554
|
title: content.slice(0, 40),
|
|
@@ -4570,14 +4570,14 @@ function useConversationActions({
|
|
|
4570
4570
|
);
|
|
4571
4571
|
invalidateUserWorkspaces();
|
|
4572
4572
|
} else {
|
|
4573
|
-
|
|
4573
|
+
chunk26SZ3DS4_cjs.patchConversation(queryClient, conversationId, (c) => ({
|
|
4574
4574
|
...c,
|
|
4575
4575
|
message_count: c.message_count + 1,
|
|
4576
4576
|
updated_at: nowIso
|
|
4577
4577
|
}));
|
|
4578
4578
|
}
|
|
4579
4579
|
if (mentions.some((m) => m.type === "user")) {
|
|
4580
|
-
await
|
|
4580
|
+
await chunk26SZ3DS4_cjs.invalidateConversationLists(queryClient);
|
|
4581
4581
|
}
|
|
4582
4582
|
await queryClient.invalidateQueries({ queryKey: getThreadsQueryKey(conversationId) });
|
|
4583
4583
|
session.setCursor(saved.external_id);
|
|
@@ -4585,7 +4585,7 @@ function useConversationActions({
|
|
|
4585
4585
|
chunkIX4HOS5Z_cjs.notify.error(
|
|
4586
4586
|
error instanceof browser.ArbiApiError && error.detail || "Failed to post the message"
|
|
4587
4587
|
);
|
|
4588
|
-
if (!
|
|
4588
|
+
if (!chunkZZZYVNFW_cjs.selectDraft(session.getState())) session.setDraft(content);
|
|
4589
4589
|
}
|
|
4590
4590
|
},
|
|
4591
4591
|
[arbi, session, queryClient, invalidateUserWorkspaces]
|
|
@@ -4658,7 +4658,7 @@ function useConversationActions({
|
|
|
4658
4658
|
session.setConversationGenerating(convKey, true, abortController);
|
|
4659
4659
|
}
|
|
4660
4660
|
if (!queuedContinuation) {
|
|
4661
|
-
|
|
4661
|
+
chunk26SZ3DS4_cjs.patchConversation(queryClient, convKey, { last_message_status: "in_progress" });
|
|
4662
4662
|
}
|
|
4663
4663
|
const streamState = {
|
|
4664
4664
|
conversationId: convKey,
|
|
@@ -4769,7 +4769,7 @@ function useConversationActions({
|
|
|
4769
4769
|
void queryClient.invalidateQueries({
|
|
4770
4770
|
queryKey: getThreadsQueryKey(streamState.conversationId)
|
|
4771
4771
|
});
|
|
4772
|
-
void
|
|
4772
|
+
void chunk26SZ3DS4_cjs.invalidateConversationLists(queryClient);
|
|
4773
4773
|
}
|
|
4774
4774
|
return;
|
|
4775
4775
|
}
|
|
@@ -4797,7 +4797,7 @@ function useConversationActions({
|
|
|
4797
4797
|
}
|
|
4798
4798
|
if (ownsGeneration) {
|
|
4799
4799
|
const lastStatus = streamState.serverError ? "failed" : "completed";
|
|
4800
|
-
|
|
4800
|
+
chunk26SZ3DS4_cjs.patchConversation(queryClient, streamState.conversationId, {
|
|
4801
4801
|
last_message_status: lastStatus
|
|
4802
4802
|
});
|
|
4803
4803
|
}
|
|
@@ -4830,7 +4830,7 @@ function useConversationActions({
|
|
|
4830
4830
|
});
|
|
4831
4831
|
if (ownsActiveGeneration()) {
|
|
4832
4832
|
session.setConversationGenerating(streamState.conversationId, false, null);
|
|
4833
|
-
|
|
4833
|
+
chunk26SZ3DS4_cjs.patchConversation(queryClient, streamState.conversationId, {
|
|
4834
4834
|
last_message_status: "completed"
|
|
4835
4835
|
});
|
|
4836
4836
|
}
|
|
@@ -4853,10 +4853,10 @@ function useConversationActions({
|
|
|
4853
4853
|
if (ownsActiveGeneration()) {
|
|
4854
4854
|
session.setConversationGenerating(streamState.conversationId, false, null);
|
|
4855
4855
|
}
|
|
4856
|
-
void
|
|
4856
|
+
void chunk26SZ3DS4_cjs.invalidateConversationLists(queryClient);
|
|
4857
4857
|
return;
|
|
4858
4858
|
}
|
|
4859
|
-
|
|
4859
|
+
chunk26SZ3DS4_cjs.patchConversation(queryClient, streamState.conversationId, {
|
|
4860
4860
|
last_message_status: "failed"
|
|
4861
4861
|
});
|
|
4862
4862
|
const quota = browser.quotaFromStreamError(error) ?? cachedQuotaUsedUp(queryClient, session.getState().workspaceId);
|
|
@@ -4891,7 +4891,7 @@ function useConversationActions({
|
|
|
4891
4891
|
);
|
|
4892
4892
|
const handleSendMessage = React.useCallback(
|
|
4893
4893
|
async (options) => {
|
|
4894
|
-
const currentMessage =
|
|
4894
|
+
const currentMessage = chunkZZZYVNFW_cjs.selectDraft(session.getState()).trim();
|
|
4895
4895
|
if (!selectedWorkspaceId || !chunk6RRKO4ZK_cjs.hasMessageBody(currentMessage, assistantLabels(assistantName)))
|
|
4896
4896
|
return;
|
|
4897
4897
|
session.setSuggestedQuery(null);
|
|
@@ -5006,7 +5006,7 @@ function useConversationActions({
|
|
|
5006
5006
|
if (!replyTo && currentConversationId) {
|
|
5007
5007
|
try {
|
|
5008
5008
|
await arbi.conversations.delete(currentConversationId);
|
|
5009
|
-
|
|
5009
|
+
chunk26SZ3DS4_cjs.removeConversationFromLists(queryClient, currentConversationId);
|
|
5010
5010
|
session.startNewConversation();
|
|
5011
5011
|
} catch (error) {
|
|
5012
5012
|
console.error("Failed to delete conversation with orphaned first message:", error);
|
|
@@ -5074,16 +5074,16 @@ function selectThread(session, leafId) {
|
|
|
5074
5074
|
if (session.getState().cursor !== leafId) session.setCursor(leafId);
|
|
5075
5075
|
}
|
|
5076
5076
|
function useConversationData() {
|
|
5077
|
-
const session =
|
|
5078
|
-
const selectedWorkspaceId =
|
|
5079
|
-
const currentConversationId =
|
|
5080
|
-
const parentMessageId =
|
|
5081
|
-
const deepLinkMessageId =
|
|
5077
|
+
const session = chunkZZZYVNFW_cjs.useArbiSessionStore();
|
|
5078
|
+
const selectedWorkspaceId = chunkZZZYVNFW_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
5079
|
+
const currentConversationId = chunkZZZYVNFW_cjs.useArbiSessionState((s) => s.conversationId);
|
|
5080
|
+
const parentMessageId = chunkZZZYVNFW_cjs.useArbiSessionState((s) => s.cursor);
|
|
5081
|
+
const deepLinkMessageId = chunkZZZYVNFW_cjs.useArbiSessionState((s) => s.deepLinkMessageId);
|
|
5082
5082
|
const {
|
|
5083
5083
|
data: threadsData,
|
|
5084
5084
|
isLoading: threadsLoading,
|
|
5085
5085
|
error: threadsError
|
|
5086
|
-
} =
|
|
5086
|
+
} = chunkZZZYVNFW_cjs.useConversationThreads(currentConversationId || void 0);
|
|
5087
5087
|
const processedDeepLinkRef = React.useRef(null);
|
|
5088
5088
|
const prevConversationIdRef = React.useRef(null);
|
|
5089
5089
|
React.useEffect(() => {
|
|
@@ -5276,7 +5276,7 @@ function useBranchNavigation(threads, parentMessageId, messageHistory, setParent
|
|
|
5276
5276
|
var RECONNECT_DELAY_MS = 2e3;
|
|
5277
5277
|
var MAX_RECONNECTS = 5;
|
|
5278
5278
|
function useConnectRunStream(conversationId, messages) {
|
|
5279
|
-
const generation =
|
|
5279
|
+
const generation = chunkZZZYVNFW_cjs.useArbiSessionState(
|
|
5280
5280
|
(s) => conversationId ? s.generating[conversationId] : void 0
|
|
5281
5281
|
);
|
|
5282
5282
|
const responseId = conversationId ? browser.getRunToAttach(generation, messages) : null;
|
|
@@ -5284,7 +5284,7 @@ function useConnectRunStream(conversationId, messages) {
|
|
|
5284
5284
|
}
|
|
5285
5285
|
function useAttachRun(conversationId, responseId) {
|
|
5286
5286
|
const queryClient = reactQuery.useQueryClient();
|
|
5287
|
-
const session =
|
|
5287
|
+
const session = chunkZZZYVNFW_cjs.useArbiSessionStore();
|
|
5288
5288
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
5289
5289
|
const arbiRef = React.useRef(arbi);
|
|
5290
5290
|
arbiRef.current = arbi;
|
|
@@ -5524,14 +5524,14 @@ function useConversation(options = {}) {
|
|
|
5524
5524
|
const { agentId, model, titleLength = 48 } = options;
|
|
5525
5525
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
5526
5526
|
const queryClient = reactQuery.useQueryClient();
|
|
5527
|
-
const session =
|
|
5528
|
-
const sessionWorkspaceId =
|
|
5527
|
+
const session = chunkZZZYVNFW_cjs.useArbiSessionStore();
|
|
5528
|
+
const sessionWorkspaceId = chunkZZZYVNFW_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
5529
5529
|
const workspaceId = options.workspaceId ?? sessionWorkspaceId ?? void 0;
|
|
5530
|
-
const conversationId =
|
|
5530
|
+
const conversationId = chunkZZZYVNFW_cjs.useArbiSessionState((s) => s.conversationId);
|
|
5531
5531
|
const conversationKey2 = conversationId ?? NEW;
|
|
5532
|
-
const generation =
|
|
5533
|
-
const newConversationMode =
|
|
5534
|
-
const queuedMessages2 =
|
|
5532
|
+
const generation = chunkZZZYVNFW_cjs.useArbiSessionState((s) => s.generating[conversationKey2]);
|
|
5533
|
+
const newConversationMode = chunkZZZYVNFW_cjs.useArbiSessionState((s) => s.newConversationAssistantMode);
|
|
5534
|
+
const queuedMessages2 = chunkZZZYVNFW_cjs.useArbiSessionState((s) => s.queuedMessages);
|
|
5535
5535
|
const isRunning = !!generation?.isGenerating;
|
|
5536
5536
|
React.useEffect(() => {
|
|
5537
5537
|
if (workspaceId && session.getState().workspaceId !== workspaceId)
|
|
@@ -5544,7 +5544,7 @@ function useConversation(options = {}) {
|
|
|
5544
5544
|
if (agentId && workspaceId && !conversationId) session.setNewAgentChat({ agentId, workspaceId });
|
|
5545
5545
|
}, [session, agentId, workspaceId, conversationId]);
|
|
5546
5546
|
const { data: docs = [], isLoading: isLoadingDocuments } = chunkPDE246CA_cjs.useDocuments(workspaceId);
|
|
5547
|
-
const ordinaryHistory =
|
|
5547
|
+
const ordinaryHistory = chunkZZZYVNFW_cjs.useConversations(workspaceId, { enabled: !agentId, live: true });
|
|
5548
5548
|
const agentHistory = useAgentChats(agentId);
|
|
5549
5549
|
const stored = React.useMemo(
|
|
5550
5550
|
() => agentId ? (agentHistory.data ?? []).filter((chat) => chat.workspace_ext_id === workspaceId).map((chat) => ({
|
|
@@ -5782,7 +5782,7 @@ function useConversation(options = {}) {
|
|
|
5782
5782
|
void (async () => {
|
|
5783
5783
|
try {
|
|
5784
5784
|
await arbi.conversations.delete(id);
|
|
5785
|
-
|
|
5785
|
+
chunk26SZ3DS4_cjs.removeConversationFromLists(queryClient, id);
|
|
5786
5786
|
if (session.getState().conversationId === id) session.startNewConversation();
|
|
5787
5787
|
} catch (e) {
|
|
5788
5788
|
setHistoryError(messageOf(e, "The conversation could not be deleted."));
|
|
@@ -5870,10 +5870,10 @@ function ConversationScope({
|
|
|
5870
5870
|
conversationId,
|
|
5871
5871
|
children
|
|
5872
5872
|
}) {
|
|
5873
|
-
const outerWorkspaceId =
|
|
5873
|
+
const outerWorkspaceId = chunkZZZYVNFW_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
5874
5874
|
const scopeWorkspaceId = workspaceId ?? outerWorkspaceId;
|
|
5875
5875
|
const [session] = React.useState(
|
|
5876
|
-
() =>
|
|
5876
|
+
() => chunkZZZYVNFW_cjs.createArbiSessionStore({
|
|
5877
5877
|
workspaceId: scopeWorkspaceId,
|
|
5878
5878
|
conversationId: conversationId ?? null
|
|
5879
5879
|
})
|
|
@@ -5889,7 +5889,7 @@ function ConversationScope({
|
|
|
5889
5889
|
}
|
|
5890
5890
|
function useConversationWorkspace(conversationId) {
|
|
5891
5891
|
const queryClient = reactQuery.useQueryClient();
|
|
5892
|
-
const sessionWorkspaceId =
|
|
5892
|
+
const sessionWorkspaceId = chunkZZZYVNFW_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
5893
5893
|
return conversationWorkspaceOf(queryClient, conversationId) ?? sessionWorkspaceId;
|
|
5894
5894
|
}
|
|
5895
5895
|
|
|
@@ -5899,11 +5899,11 @@ async function applyConversationEvent(queryClient, event) {
|
|
|
5899
5899
|
if (e.type === "response_complete") return applyRunEnded(queryClient, e);
|
|
5900
5900
|
if (e.type === "conversation.message_posted") return applyMessagePosted(queryClient, e);
|
|
5901
5901
|
if (e.type === "conversation.title_updated" && e.conversation_ext_id) {
|
|
5902
|
-
|
|
5902
|
+
chunk26SZ3DS4_cjs.patchConversation(queryClient, e.conversation_ext_id, { title: e.title ?? null });
|
|
5903
5903
|
}
|
|
5904
5904
|
if (e.type === "conversation.document_binding_changed" && e.conversation_ext_id) {
|
|
5905
5905
|
void queryClient.invalidateQueries({ queryKey: getThreadsQueryKey(e.conversation_ext_id) });
|
|
5906
|
-
void
|
|
5906
|
+
void chunk26SZ3DS4_cjs.invalidateConversationLists(queryClient);
|
|
5907
5907
|
}
|
|
5908
5908
|
}
|
|
5909
5909
|
function applyRunEnded(queryClient, e) {
|
|
@@ -5920,10 +5920,10 @@ function applyRunEnded(queryClient, e) {
|
|
|
5920
5920
|
);
|
|
5921
5921
|
}
|
|
5922
5922
|
if (failed && e.response_id) markMessageAsFailed(queryClient, conversationId, e.response_id);
|
|
5923
|
-
|
|
5923
|
+
chunk26SZ3DS4_cjs.patchConversation(queryClient, conversationId, {
|
|
5924
5924
|
last_message_status: failed ? "failed" : "completed"
|
|
5925
5925
|
});
|
|
5926
|
-
void
|
|
5926
|
+
void chunk26SZ3DS4_cjs.invalidateConversationLists(queryClient);
|
|
5927
5927
|
void queryClient.invalidateQueries({ queryKey: getThreadsQueryKey(conversationId) });
|
|
5928
5928
|
if (!failed) void queryClient.invalidateQueries({ queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.userUsageToday() });
|
|
5929
5929
|
}
|
|
@@ -5931,7 +5931,7 @@ async function applyMessagePosted(queryClient, e) {
|
|
|
5931
5931
|
if (!e.conversation_ext_id) return;
|
|
5932
5932
|
const queryKey = getThreadsQueryKey(e.conversation_ext_id);
|
|
5933
5933
|
const refreshed = queryClient.invalidateQueries({ queryKey });
|
|
5934
|
-
void
|
|
5934
|
+
void chunk26SZ3DS4_cjs.invalidateConversationLists(queryClient);
|
|
5935
5935
|
await refreshed;
|
|
5936
5936
|
const cached = queryClient.getQueryData(
|
|
5937
5937
|
queryKey
|
|
@@ -5944,10 +5944,10 @@ var migratedWorkspaces = /* @__PURE__ */ new Set();
|
|
|
5944
5944
|
function useThreadDocument() {
|
|
5945
5945
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
5946
5946
|
const queryClient = reactQuery.useQueryClient();
|
|
5947
|
-
const session =
|
|
5948
|
-
const conversationId =
|
|
5949
|
-
const workspaceId =
|
|
5950
|
-
const newChatDocumentId =
|
|
5947
|
+
const session = chunkZZZYVNFW_cjs.useArbiSessionStore();
|
|
5948
|
+
const conversationId = chunkZZZYVNFW_cjs.useArbiSessionState((s) => s.conversationId);
|
|
5949
|
+
const workspaceId = chunkZZZYVNFW_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
5950
|
+
const newChatDocumentId = chunkZZZYVNFW_cjs.useArbiSessionState((s) => s.newChatDocumentId);
|
|
5951
5951
|
const subscribe = React.useCallback(
|
|
5952
5952
|
(onChange) => queryClient.getQueryCache().subscribe(onChange),
|
|
5953
5953
|
[queryClient]
|
|
@@ -5962,7 +5962,7 @@ function useThreadDocument() {
|
|
|
5962
5962
|
() => threadBinding(queryClient, conversationId).unavailable,
|
|
5963
5963
|
() => false
|
|
5964
5964
|
);
|
|
5965
|
-
const { data: conversations, isPlaceholderData } =
|
|
5965
|
+
const { data: conversations, isPlaceholderData } = chunkZZZYVNFW_cjs.useConversations(workspaceId ?? void 0);
|
|
5966
5966
|
React.useEffect(() => {
|
|
5967
5967
|
if (!workspaceId || !conversations || isPlaceholderData || migratedWorkspaces.has(workspaceId))
|
|
5968
5968
|
return;
|
|
@@ -6016,9 +6016,9 @@ function useConversationTurn({
|
|
|
6016
6016
|
selectedWorkspaceId,
|
|
6017
6017
|
parentMessageId
|
|
6018
6018
|
}) {
|
|
6019
|
-
const currentConversationId =
|
|
6019
|
+
const currentConversationId = chunkZZZYVNFW_cjs.useArbiSessionState((state) => state.conversationId);
|
|
6020
6020
|
const conversationKey2 = currentConversationId || "new";
|
|
6021
|
-
const generationState =
|
|
6021
|
+
const generationState = chunkZZZYVNFW_cjs.useArbiSessionState((state) => state.generating[conversationKey2]);
|
|
6022
6022
|
const isGenerating = generationState?.isGenerating ?? false;
|
|
6023
6023
|
const generationError = generationState?.error ?? null;
|
|
6024
6024
|
const lastFailedMessage = generationState?.lastFailedMessage ?? null;
|
|
@@ -6038,10 +6038,10 @@ function useConversationTurn({
|
|
|
6038
6038
|
};
|
|
6039
6039
|
}
|
|
6040
6040
|
function useActiveConfigId() {
|
|
6041
|
-
const chatModel =
|
|
6042
|
-
const cursor =
|
|
6041
|
+
const chatModel = chunkZZZYVNFW_cjs.useArbiSessionState((s) => s.chatModel);
|
|
6042
|
+
const cursor = chunkZZZYVNFW_cjs.useArbiSessionState((s) => s.cursor);
|
|
6043
6043
|
const { messageHistory } = useConversationData();
|
|
6044
|
-
const { data: userSettings } =
|
|
6044
|
+
const { data: userSettings } = chunk26SZ3DS4_cjs.useUserSettings();
|
|
6045
6045
|
return React.useMemo(() => {
|
|
6046
6046
|
if (chatModel) return chatModel;
|
|
6047
6047
|
const parent = cursor ? messageHistory?.find((m) => m.external_id === cursor) : void 0;
|
|
@@ -6051,9 +6051,9 @@ function useActiveConfigId() {
|
|
|
6051
6051
|
}
|
|
6052
6052
|
var EMPTY_DOCS = [];
|
|
6053
6053
|
function useConversationDocuments() {
|
|
6054
|
-
const currentConversationId =
|
|
6054
|
+
const currentConversationId = chunkZZZYVNFW_cjs.useArbiSessionState((state) => state.conversationId);
|
|
6055
6055
|
const convKey = currentConversationId || "new";
|
|
6056
|
-
const inConversationDocuments =
|
|
6056
|
+
const inConversationDocuments = chunkZZZYVNFW_cjs.useArbiSessionState(
|
|
6057
6057
|
(state) => state.conversationDocuments[convKey] || EMPTY_DOCS
|
|
6058
6058
|
);
|
|
6059
6059
|
const { data: documents2 = [], isLoading: isLoadingDocs } = chunkPDE246CA_cjs.useDocuments();
|
|
@@ -6088,8 +6088,8 @@ function useDocumentAutoAdd({
|
|
|
6088
6088
|
allWorkspaceDocuments,
|
|
6089
6089
|
hasContent = false
|
|
6090
6090
|
}) {
|
|
6091
|
-
const session =
|
|
6092
|
-
const currentConversationId =
|
|
6091
|
+
const session = chunkZZZYVNFW_cjs.useArbiSessionStore();
|
|
6092
|
+
const currentConversationId = chunkZZZYVNFW_cjs.useArbiSessionState((state) => state.conversationId);
|
|
6093
6093
|
const convKey = currentConversationId || "new";
|
|
6094
6094
|
const observedRef = React.useRef(null);
|
|
6095
6095
|
const offeredRef = React.useRef(/* @__PURE__ */ new Set());
|
|
@@ -6150,12 +6150,12 @@ function useDocumentAutoAdd({
|
|
|
6150
6150
|
}, [selectedWorkspaceId, convKey, allWorkspaceDocuments, hasContent, session]);
|
|
6151
6151
|
}
|
|
6152
6152
|
function useAutoSendDraft(sendDraft, ready = true, canSend) {
|
|
6153
|
-
const session =
|
|
6154
|
-
const autoSendDraft =
|
|
6153
|
+
const session = chunkZZZYVNFW_cjs.useArbiSessionStore();
|
|
6154
|
+
const autoSendDraft = chunkZZZYVNFW_cjs.useArbiSessionState((state) => state.autoSendDraft);
|
|
6155
6155
|
React.useEffect(() => {
|
|
6156
6156
|
if (!autoSendDraft || !ready || canSend && !canSend()) return;
|
|
6157
6157
|
session.setAutoSendDraft(false);
|
|
6158
|
-
if (
|
|
6158
|
+
if (chunkZZZYVNFW_cjs.selectDraft(session.getState()).trim()) {
|
|
6159
6159
|
sendDraft();
|
|
6160
6160
|
}
|
|
6161
6161
|
}, [autoSendDraft, ready, canSend, sendDraft, session]);
|
|
@@ -6242,18 +6242,18 @@ function useAnswerAgentQuestion() {
|
|
|
6242
6242
|
}
|
|
6243
6243
|
var TITLE_MAX = 50;
|
|
6244
6244
|
function useConversationSettings() {
|
|
6245
|
-
const session =
|
|
6246
|
-
const conversationId =
|
|
6247
|
-
const chatModel =
|
|
6248
|
-
const parentMessageId =
|
|
6249
|
-
const currentUser =
|
|
6245
|
+
const session = chunkZZZYVNFW_cjs.useArbiSessionStore();
|
|
6246
|
+
const conversationId = chunkZZZYVNFW_cjs.useArbiSessionState((s) => s.conversationId);
|
|
6247
|
+
const chatModel = chunkZZZYVNFW_cjs.useArbiSessionState((s) => s.chatModel);
|
|
6248
|
+
const parentMessageId = chunkZZZYVNFW_cjs.useArbiSessionState((s) => s.cursor);
|
|
6249
|
+
const currentUser = chunkZZZYVNFW_cjs.useArbiSession().user;
|
|
6250
6250
|
const { messageHistory } = useConversationData();
|
|
6251
6251
|
const { conversations } = useConversationItems();
|
|
6252
|
-
const { data: userSettings } =
|
|
6252
|
+
const { data: userSettings } = chunk26SZ3DS4_cjs.useUserSettings();
|
|
6253
6253
|
const parentMessage = messageHistory?.find((m) => m.external_id === parentMessageId);
|
|
6254
6254
|
const configToLoad = chatModel || parentMessage?.config_ext_id || userSettings?.last_config || "default";
|
|
6255
|
-
const { data: activeConfig } =
|
|
6256
|
-
const { refetch: refetchSystemDefaults } =
|
|
6255
|
+
const { data: activeConfig } = chunkZZZYVNFW_cjs.useConfig(configToLoad);
|
|
6256
|
+
const { refetch: refetchSystemDefaults } = chunkZZZYVNFW_cjs.useConfig("default");
|
|
6257
6257
|
const conversation = conversations.find((c) => c.external_id === conversationId);
|
|
6258
6258
|
const isOwner = !!conversation && conversation.created_by_ext_id === currentUser?.external_id;
|
|
6259
6259
|
const isShared = conversation?.is_shared ?? false;
|
|
@@ -6306,7 +6306,7 @@ function useConversationSettings() {
|
|
|
6306
6306
|
};
|
|
6307
6307
|
}
|
|
6308
6308
|
function useAskAgain(options) {
|
|
6309
|
-
const session =
|
|
6309
|
+
const session = chunkZZZYVNFW_cjs.useArbiSessionStore();
|
|
6310
6310
|
const optionsRef = React.useRef(options);
|
|
6311
6311
|
React.useEffect(() => {
|
|
6312
6312
|
optionsRef.current = options;
|
|
@@ -6398,11 +6398,11 @@ function useMessageTimer({
|
|
|
6398
6398
|
isUser,
|
|
6399
6399
|
isGenerating
|
|
6400
6400
|
}) {
|
|
6401
|
-
const session =
|
|
6401
|
+
const session = chunkZZZYVNFW_cjs.useArbiSessionStore();
|
|
6402
6402
|
const convId = conversationId || "new";
|
|
6403
6403
|
const timerKey = `${convId}:${messageId}`;
|
|
6404
|
-
const generationStartTime =
|
|
6405
|
-
const storedElapsed =
|
|
6404
|
+
const generationStartTime = chunkZZZYVNFW_cjs.useArbiSessionState((s) => s.generating[convId]?.startTime ?? null);
|
|
6405
|
+
const storedElapsed = chunkZZZYVNFW_cjs.useArbiSessionState((s) => s.messageTimers[timerKey]?.elapsedTime);
|
|
6406
6406
|
const [elapsedTime, setElapsedTime] = React.useState(0);
|
|
6407
6407
|
const lastElapsedRef = React.useRef(0);
|
|
6408
6408
|
React.useEffect(() => {
|
|
@@ -6427,7 +6427,7 @@ function useMessageTimer({
|
|
|
6427
6427
|
}
|
|
6428
6428
|
function useAgentRunControl(assistantMessageExtId) {
|
|
6429
6429
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
6430
|
-
const session =
|
|
6430
|
+
const session = chunkZZZYVNFW_cjs.useArbiSessionStore();
|
|
6431
6431
|
const send = React.useCallback(
|
|
6432
6432
|
(command) => {
|
|
6433
6433
|
if (!assistantMessageExtId) return;
|
|
@@ -6787,8 +6787,8 @@ var WORK_OFFLINE_VIEW = "app.workOffline";
|
|
|
6787
6787
|
var isWorkingOffline = (session) => session.getState().views.transient[WORK_OFFLINE_VIEW] === true;
|
|
6788
6788
|
var setWorkOfflineIn = (session, on) => session.setTransientView(WORK_OFFLINE_VIEW, on || void 0);
|
|
6789
6789
|
function useWorkOffline() {
|
|
6790
|
-
const session =
|
|
6791
|
-
const on =
|
|
6790
|
+
const session = chunkZZZYVNFW_cjs.useArbiSessionStore();
|
|
6791
|
+
const on = chunkZZZYVNFW_cjs.useArbiSessionState((s) => s.views.transient[WORK_OFFLINE_VIEW] === true);
|
|
6792
6792
|
const set2 = React.useCallback((next) => setWorkOfflineIn(session, next), [session]);
|
|
6793
6793
|
return [on, set2];
|
|
6794
6794
|
}
|
|
@@ -6800,9 +6800,9 @@ function computeOnline(wsStatus, isAuthenticated, workOffline, wsEverConnected)
|
|
|
6800
6800
|
return navOnline && wsOnline;
|
|
6801
6801
|
}
|
|
6802
6802
|
function useOnlineSync() {
|
|
6803
|
-
const session =
|
|
6803
|
+
const session = chunkZZZYVNFW_cjs.useArbiSessionStore();
|
|
6804
6804
|
const wsStatus = chunkPDE246CA_cjs.useArbiWsStore((s) => s.status);
|
|
6805
|
-
const signedIn2 =
|
|
6805
|
+
const signedIn2 = chunkZZZYVNFW_cjs.useArbiSession().status === "signed-in";
|
|
6806
6806
|
const [workOffline] = useWorkOffline();
|
|
6807
6807
|
const wsEverConnected = React.useRef(false);
|
|
6808
6808
|
if (wsStatus === "connected") wsEverConnected.current = true;
|
|
@@ -6829,7 +6829,7 @@ function useOnlineSync() {
|
|
|
6829
6829
|
}, [session]);
|
|
6830
6830
|
}
|
|
6831
6831
|
function useReconnect() {
|
|
6832
|
-
const session =
|
|
6832
|
+
const session = chunkZZZYVNFW_cjs.useArbiSessionStore();
|
|
6833
6833
|
return React.useCallback(() => {
|
|
6834
6834
|
if (isWorkingOffline(session)) {
|
|
6835
6835
|
setWorkOfflineIn(session, false);
|
|
@@ -7007,53 +7007,53 @@ async function nativeThreadKeys(secret, message) {
|
|
|
7007
7007
|
|
|
7008
7008
|
// src/mail/offline/mailbox.ts
|
|
7009
7009
|
var keyOf = {
|
|
7010
|
-
accounts: () =>
|
|
7011
|
-
policy: () =>
|
|
7012
|
-
folders: (accountId) =>
|
|
7013
|
-
header: (accountId, folderId, messageId) =>
|
|
7014
|
-
body: (accountId, messageId) =>
|
|
7015
|
-
attachment: (accountId, messageId, attachmentId) =>
|
|
7010
|
+
accounts: () => chunk26SZ3DS4_cjs.blind("accounts"),
|
|
7011
|
+
policy: () => chunk26SZ3DS4_cjs.blind("policy"),
|
|
7012
|
+
folders: (accountId) => chunk26SZ3DS4_cjs.blind("folders", accountId),
|
|
7013
|
+
header: (accountId, folderId, messageId) => chunk26SZ3DS4_cjs.blind("header", accountId, folderId, messageId),
|
|
7014
|
+
body: (accountId, messageId) => chunk26SZ3DS4_cjs.blind("body", accountId, messageId),
|
|
7015
|
+
attachment: (accountId, messageId, attachmentId) => chunk26SZ3DS4_cjs.blind("attachment", accountId, messageId, attachmentId)
|
|
7016
7016
|
};
|
|
7017
7017
|
var bucketOf = {
|
|
7018
|
-
global: () =>
|
|
7019
|
-
folder: (accountId, folderId) =>
|
|
7020
|
-
account: (accountId) =>
|
|
7018
|
+
global: () => chunk26SZ3DS4_cjs.blind("bucket", "global"),
|
|
7019
|
+
folder: (accountId, folderId) => chunk26SZ3DS4_cjs.blind("bucket", "folder", accountId, folderId),
|
|
7020
|
+
account: (accountId) => chunk26SZ3DS4_cjs.blind("bucket", "account", accountId)
|
|
7021
7021
|
};
|
|
7022
7022
|
async function put(kind, key, bucket3, data, sortAt = Date.now()) {
|
|
7023
7023
|
const now = Date.now();
|
|
7024
|
-
await
|
|
7024
|
+
await chunk26SZ3DS4_cjs.putRecord({ key, kind, bucket: bucket3, sortAt, size: data.byteLength, lastAccess: now, data });
|
|
7025
7025
|
}
|
|
7026
7026
|
async function readJson(record) {
|
|
7027
7027
|
if (!record) return void 0;
|
|
7028
7028
|
try {
|
|
7029
|
-
return await
|
|
7029
|
+
return await chunk26SZ3DS4_cjs.openJson(record.data);
|
|
7030
7030
|
} catch {
|
|
7031
7031
|
return void 0;
|
|
7032
7032
|
}
|
|
7033
7033
|
}
|
|
7034
7034
|
var receivedAt = (m) => m.received_at ? Date.parse(m.received_at) || 0 : 0;
|
|
7035
7035
|
async function saveAccounts(accounts) {
|
|
7036
|
-
await put("accounts", await keyOf.accounts(), await bucketOf.global(), await
|
|
7036
|
+
await put("accounts", await keyOf.accounts(), await bucketOf.global(), await chunk26SZ3DS4_cjs.sealJson(accounts));
|
|
7037
7037
|
}
|
|
7038
7038
|
async function loadAccounts() {
|
|
7039
|
-
return readJson(await
|
|
7039
|
+
return readJson(await chunk26SZ3DS4_cjs.getRecord(await keyOf.accounts()));
|
|
7040
7040
|
}
|
|
7041
7041
|
async function savePolicy(policy) {
|
|
7042
|
-
await put("policy", await keyOf.policy(), await bucketOf.global(), await
|
|
7042
|
+
await put("policy", await keyOf.policy(), await bucketOf.global(), await chunk26SZ3DS4_cjs.sealJson(policy));
|
|
7043
7043
|
}
|
|
7044
7044
|
async function loadPolicy() {
|
|
7045
|
-
return readJson(await
|
|
7045
|
+
return readJson(await chunk26SZ3DS4_cjs.getRecord(await keyOf.policy()));
|
|
7046
7046
|
}
|
|
7047
7047
|
async function saveFolders(accountId, folders) {
|
|
7048
7048
|
await put(
|
|
7049
7049
|
"folders",
|
|
7050
7050
|
await keyOf.folders(accountId),
|
|
7051
7051
|
await bucketOf.account(accountId),
|
|
7052
|
-
await
|
|
7052
|
+
await chunk26SZ3DS4_cjs.sealJson(folders)
|
|
7053
7053
|
);
|
|
7054
7054
|
}
|
|
7055
7055
|
async function loadFolders(accountId) {
|
|
7056
|
-
return readJson(await
|
|
7056
|
+
return readJson(await chunk26SZ3DS4_cjs.getRecord(await keyOf.folders(accountId)));
|
|
7057
7057
|
}
|
|
7058
7058
|
function toHeader(message) {
|
|
7059
7059
|
return {
|
|
@@ -7069,12 +7069,12 @@ async function saveHeader(accountId, folderId, message) {
|
|
|
7069
7069
|
"header",
|
|
7070
7070
|
await keyOf.header(accountId, folderId, message.id),
|
|
7071
7071
|
await bucketOf.folder(accountId, folderId),
|
|
7072
|
-
await
|
|
7072
|
+
await chunk26SZ3DS4_cjs.sealJson(toHeader(message)),
|
|
7073
7073
|
receivedAt(message)
|
|
7074
7074
|
);
|
|
7075
7075
|
}
|
|
7076
7076
|
async function loadHeaders(accountId, folderId) {
|
|
7077
|
-
const records = await
|
|
7077
|
+
const records = await chunk26SZ3DS4_cjs.recordsInBucket(await bucketOf.folder(accountId, folderId));
|
|
7078
7078
|
const out = [];
|
|
7079
7079
|
for (const record of records) {
|
|
7080
7080
|
if (record.kind !== "header") continue;
|
|
@@ -7084,7 +7084,7 @@ async function loadHeaders(accountId, folderId) {
|
|
|
7084
7084
|
return out.sort((a, b) => b.sortAt - a.sortAt);
|
|
7085
7085
|
}
|
|
7086
7086
|
async function hasFolder(accountId) {
|
|
7087
|
-
return
|
|
7087
|
+
return chunk26SZ3DS4_cjs.hasRecord(await keyOf.folders(accountId));
|
|
7088
7088
|
}
|
|
7089
7089
|
async function saveBody(accountId, message) {
|
|
7090
7090
|
const stripped = {
|
|
@@ -7095,42 +7095,42 @@ async function saveBody(accountId, message) {
|
|
|
7095
7095
|
"body",
|
|
7096
7096
|
await keyOf.body(accountId, message.id),
|
|
7097
7097
|
await bucketOf.account(accountId),
|
|
7098
|
-
await
|
|
7098
|
+
await chunk26SZ3DS4_cjs.sealJson(stripped),
|
|
7099
7099
|
receivedAt(message)
|
|
7100
7100
|
);
|
|
7101
7101
|
}
|
|
7102
7102
|
async function hasBody(accountId, messageId) {
|
|
7103
|
-
return
|
|
7103
|
+
return chunk26SZ3DS4_cjs.hasRecord(await keyOf.body(accountId, messageId));
|
|
7104
7104
|
}
|
|
7105
7105
|
async function loadBody(accountId, messageId) {
|
|
7106
|
-
return readJson(await
|
|
7106
|
+
return readJson(await chunk26SZ3DS4_cjs.getRecord(await keyOf.body(accountId, messageId)));
|
|
7107
7107
|
}
|
|
7108
7108
|
async function saveAttachment(accountId, messageId, attachmentId, bytes, sortAt) {
|
|
7109
7109
|
await put(
|
|
7110
7110
|
"attachment",
|
|
7111
7111
|
await keyOf.attachment(accountId, messageId, attachmentId),
|
|
7112
7112
|
await bucketOf.account(accountId),
|
|
7113
|
-
await
|
|
7113
|
+
await chunk26SZ3DS4_cjs.sealBytes(bytes),
|
|
7114
7114
|
sortAt || void 0
|
|
7115
7115
|
);
|
|
7116
7116
|
}
|
|
7117
7117
|
async function hasAttachment(accountId, messageId, attachmentId) {
|
|
7118
|
-
return
|
|
7118
|
+
return chunk26SZ3DS4_cjs.hasRecord(await keyOf.attachment(accountId, messageId, attachmentId));
|
|
7119
7119
|
}
|
|
7120
7120
|
async function loadAttachment(accountId, messageId, attachmentId) {
|
|
7121
7121
|
const key = await keyOf.attachment(accountId, messageId, attachmentId);
|
|
7122
|
-
const record = await
|
|
7122
|
+
const record = await chunk26SZ3DS4_cjs.getRecord(key);
|
|
7123
7123
|
if (!record) return void 0;
|
|
7124
7124
|
try {
|
|
7125
|
-
const bytes = await
|
|
7126
|
-
void
|
|
7125
|
+
const bytes = await chunk26SZ3DS4_cjs.openBytes(record.data);
|
|
7126
|
+
void chunk26SZ3DS4_cjs.touchRecord(key);
|
|
7127
7127
|
return bytes;
|
|
7128
7128
|
} catch {
|
|
7129
7129
|
return void 0;
|
|
7130
7130
|
}
|
|
7131
7131
|
}
|
|
7132
7132
|
async function removeKeys(keys) {
|
|
7133
|
-
await
|
|
7133
|
+
await chunk26SZ3DS4_cjs.deleteRecords(keys);
|
|
7134
7134
|
}
|
|
7135
7135
|
function bodyText(body) {
|
|
7136
7136
|
const html = body.text ? "" : (body.html ?? "").replace(/<[^>]*>/g, " ");
|
|
@@ -7175,27 +7175,27 @@ function isBrowserOffline() {
|
|
|
7175
7175
|
// src/mail/offline/changes.ts
|
|
7176
7176
|
var isFiling = (change) => change.kind === "file";
|
|
7177
7177
|
var MAX_ATTEMPTS = 5;
|
|
7178
|
-
var bucket = () =>
|
|
7179
|
-
var keyFor = (id) =>
|
|
7178
|
+
var bucket = () => chunk26SZ3DS4_cjs.blind("bucket", "changes");
|
|
7179
|
+
var keyFor = (id) => chunk26SZ3DS4_cjs.blind("change", id);
|
|
7180
7180
|
async function write(item) {
|
|
7181
|
-
await
|
|
7181
|
+
await chunk26SZ3DS4_cjs.putRecord({
|
|
7182
7182
|
key: await keyFor(item.id),
|
|
7183
7183
|
kind: "change",
|
|
7184
7184
|
bucket: await bucket(),
|
|
7185
7185
|
sortAt: item.seq,
|
|
7186
7186
|
size: 0,
|
|
7187
7187
|
lastAccess: Date.now(),
|
|
7188
|
-
data: await
|
|
7188
|
+
data: await chunk26SZ3DS4_cjs.sealJson(item)
|
|
7189
7189
|
});
|
|
7190
7190
|
}
|
|
7191
7191
|
async function drop(item) {
|
|
7192
|
-
await
|
|
7192
|
+
await chunk26SZ3DS4_cjs.deleteRecords([await keyFor(item.id)]);
|
|
7193
7193
|
}
|
|
7194
7194
|
async function readHeader(accountId, folderId, messageId) {
|
|
7195
|
-
const record = await
|
|
7195
|
+
const record = await chunk26SZ3DS4_cjs.getRecord(await keyOf.header(accountId, folderId, messageId));
|
|
7196
7196
|
if (!record) return void 0;
|
|
7197
7197
|
try {
|
|
7198
|
-
return await
|
|
7198
|
+
return await chunk26SZ3DS4_cjs.openJson(record.data);
|
|
7199
7199
|
} catch {
|
|
7200
7200
|
return void 0;
|
|
7201
7201
|
}
|
|
@@ -7277,9 +7277,9 @@ function combine(pending, next) {
|
|
|
7277
7277
|
}
|
|
7278
7278
|
async function listMailChanges() {
|
|
7279
7279
|
const items = [];
|
|
7280
|
-
for (const record of await
|
|
7280
|
+
for (const record of await chunk26SZ3DS4_cjs.recordsInBucket(await bucket())) {
|
|
7281
7281
|
try {
|
|
7282
|
-
items.push(await
|
|
7282
|
+
items.push(await chunk26SZ3DS4_cjs.openJson(record.data));
|
|
7283
7283
|
} catch {
|
|
7284
7284
|
}
|
|
7285
7285
|
}
|
|
@@ -7334,14 +7334,14 @@ function serially(fn) {
|
|
|
7334
7334
|
}
|
|
7335
7335
|
async function queueMailChange(input) {
|
|
7336
7336
|
await serially(() => queue(input));
|
|
7337
|
-
|
|
7338
|
-
|
|
7337
|
+
chunk26SZ3DS4_cjs.notifyOfflineMailChange("changes");
|
|
7338
|
+
chunk26SZ3DS4_cjs.notifyOfflineMailChange("mailbox");
|
|
7339
7339
|
}
|
|
7340
7340
|
async function readChange(id) {
|
|
7341
|
-
const record = await
|
|
7341
|
+
const record = await chunk26SZ3DS4_cjs.getRecord(await keyFor(id));
|
|
7342
7342
|
if (!record) return void 0;
|
|
7343
7343
|
try {
|
|
7344
|
-
return await
|
|
7344
|
+
return await chunk26SZ3DS4_cjs.openJson(record.data);
|
|
7345
7345
|
} catch {
|
|
7346
7346
|
return void 0;
|
|
7347
7347
|
}
|
|
@@ -7414,7 +7414,7 @@ async function applyMailChangesOnce(sender, isOnline) {
|
|
|
7414
7414
|
result.interrupted = true;
|
|
7415
7415
|
}
|
|
7416
7416
|
}
|
|
7417
|
-
if (result.applied + result.gone + result.refused.length > 0)
|
|
7417
|
+
if (result.applied + result.gone + result.refused.length > 0) chunk26SZ3DS4_cjs.notifyOfflineMailChange("changes");
|
|
7418
7418
|
return result;
|
|
7419
7419
|
}
|
|
7420
7420
|
var NO_PRIMER = () => void 0;
|
|
@@ -7530,26 +7530,26 @@ function useConnectedMailFiling(account, messages) {
|
|
|
7530
7530
|
}
|
|
7531
7531
|
|
|
7532
7532
|
// src/mail/offline/drafts.ts
|
|
7533
|
-
var keyFor2 = (id) =>
|
|
7533
|
+
var keyFor2 = (id) => chunk26SZ3DS4_cjs.blind("draft", id);
|
|
7534
7534
|
async function saveLocalDraft(accountId, compose, id = crypto.randomUUID()) {
|
|
7535
7535
|
const draft = { id, accountId, compose, updatedAt: Date.now() };
|
|
7536
|
-
await
|
|
7536
|
+
await chunk26SZ3DS4_cjs.putRecord({
|
|
7537
7537
|
key: await keyFor2(id),
|
|
7538
7538
|
kind: "draft",
|
|
7539
|
-
bucket: await
|
|
7539
|
+
bucket: await chunk26SZ3DS4_cjs.blind("bucket", "drafts", accountId),
|
|
7540
7540
|
sortAt: draft.updatedAt,
|
|
7541
7541
|
size: 0,
|
|
7542
7542
|
lastAccess: draft.updatedAt,
|
|
7543
|
-
data: await
|
|
7543
|
+
data: await chunk26SZ3DS4_cjs.sealJson(draft)
|
|
7544
7544
|
});
|
|
7545
|
-
|
|
7545
|
+
chunk26SZ3DS4_cjs.notifyOfflineMailChange("drafts");
|
|
7546
7546
|
return draft;
|
|
7547
7547
|
}
|
|
7548
7548
|
async function listLocalDrafts(accountId) {
|
|
7549
7549
|
const drafts = [];
|
|
7550
|
-
for (const record of await
|
|
7550
|
+
for (const record of await chunk26SZ3DS4_cjs.recordsOfKind("draft")) {
|
|
7551
7551
|
try {
|
|
7552
|
-
const draft = await
|
|
7552
|
+
const draft = await chunk26SZ3DS4_cjs.openJson(record.data);
|
|
7553
7553
|
if (!accountId || draft.accountId === accountId) drafts.push(draft);
|
|
7554
7554
|
} catch {
|
|
7555
7555
|
}
|
|
@@ -7557,8 +7557,8 @@ async function listLocalDrafts(accountId) {
|
|
|
7557
7557
|
return drafts.sort((a, b) => b.updatedAt - a.updatedAt);
|
|
7558
7558
|
}
|
|
7559
7559
|
async function deleteLocalDraft(id) {
|
|
7560
|
-
await
|
|
7561
|
-
|
|
7560
|
+
await chunk26SZ3DS4_cjs.deleteRecords([await keyFor2(id)]);
|
|
7561
|
+
chunk26SZ3DS4_cjs.notifyOfflineMailChange("drafts");
|
|
7562
7562
|
}
|
|
7563
7563
|
async function syncLocalDrafts(save) {
|
|
7564
7564
|
let uploaded = 0;
|
|
@@ -7571,27 +7571,27 @@ async function syncLocalDrafts(save) {
|
|
|
7571
7571
|
} catch (error) {
|
|
7572
7572
|
const status = error.status;
|
|
7573
7573
|
if (isNetworkFailure(error) || status === void 0 || status === 401 || status >= 500) break;
|
|
7574
|
-
await
|
|
7574
|
+
await chunk26SZ3DS4_cjs.putRecord({
|
|
7575
7575
|
key: await keyFor2(draft.id),
|
|
7576
7576
|
kind: "draft",
|
|
7577
|
-
bucket: await
|
|
7577
|
+
bucket: await chunk26SZ3DS4_cjs.blind("bucket", "drafts", draft.accountId),
|
|
7578
7578
|
sortAt: draft.updatedAt,
|
|
7579
7579
|
size: 0,
|
|
7580
7580
|
lastAccess: Date.now(),
|
|
7581
|
-
data: await
|
|
7581
|
+
data: await chunk26SZ3DS4_cjs.sealJson({
|
|
7582
7582
|
...draft,
|
|
7583
7583
|
error: error instanceof Error ? error.message : "The server refused this draft"
|
|
7584
7584
|
})
|
|
7585
7585
|
});
|
|
7586
|
-
|
|
7586
|
+
chunk26SZ3DS4_cjs.notifyOfflineMailChange("drafts");
|
|
7587
7587
|
}
|
|
7588
7588
|
}
|
|
7589
7589
|
return uploaded;
|
|
7590
7590
|
}
|
|
7591
7591
|
|
|
7592
7592
|
// src/mail/offline/outbox.ts
|
|
7593
|
-
var bucket2 = () =>
|
|
7594
|
-
var keyFor3 = (id) =>
|
|
7593
|
+
var bucket2 = () => chunk26SZ3DS4_cjs.blind("bucket", "outbox");
|
|
7594
|
+
var keyFor3 = (id) => chunk26SZ3DS4_cjs.blind("outbox", id);
|
|
7595
7595
|
function outboxProblem(compose) {
|
|
7596
7596
|
const missing = compose.attachments.find((a) => a.content_base64 == null);
|
|
7597
7597
|
if (missing)
|
|
@@ -7600,22 +7600,22 @@ function outboxProblem(compose) {
|
|
|
7600
7600
|
}
|
|
7601
7601
|
var seqCounter = 0;
|
|
7602
7602
|
async function write2(item) {
|
|
7603
|
-
await
|
|
7603
|
+
await chunk26SZ3DS4_cjs.putRecord({
|
|
7604
7604
|
key: await keyFor3(item.id),
|
|
7605
7605
|
kind: "outbox",
|
|
7606
7606
|
bucket: await bucket2(),
|
|
7607
7607
|
sortAt: item.seq,
|
|
7608
7608
|
size: 0,
|
|
7609
7609
|
lastAccess: Date.now(),
|
|
7610
|
-
data: await
|
|
7610
|
+
data: await chunk26SZ3DS4_cjs.sealJson(item)
|
|
7611
7611
|
});
|
|
7612
7612
|
}
|
|
7613
7613
|
async function listOutbox() {
|
|
7614
|
-
const records = await
|
|
7614
|
+
const records = await chunk26SZ3DS4_cjs.recordsInBucket(await bucket2());
|
|
7615
7615
|
const items = [];
|
|
7616
7616
|
for (const record of records) {
|
|
7617
7617
|
try {
|
|
7618
|
-
items.push(await
|
|
7618
|
+
items.push(await chunk26SZ3DS4_cjs.openJson(record.data));
|
|
7619
7619
|
} catch {
|
|
7620
7620
|
}
|
|
7621
7621
|
}
|
|
@@ -7639,18 +7639,18 @@ async function enqueueOutbox(input) {
|
|
|
7639
7639
|
seq: seqCounter
|
|
7640
7640
|
};
|
|
7641
7641
|
await write2(item);
|
|
7642
|
-
|
|
7642
|
+
chunk26SZ3DS4_cjs.notifyOfflineMailChange("outbox");
|
|
7643
7643
|
return item;
|
|
7644
7644
|
}
|
|
7645
7645
|
async function update(item, patch) {
|
|
7646
7646
|
const next = { ...item, ...patch };
|
|
7647
7647
|
await write2(next);
|
|
7648
|
-
|
|
7648
|
+
chunk26SZ3DS4_cjs.notifyOfflineMailChange("outbox");
|
|
7649
7649
|
return next;
|
|
7650
7650
|
}
|
|
7651
7651
|
async function deleteOutboxItem(id) {
|
|
7652
|
-
await
|
|
7653
|
-
|
|
7652
|
+
await chunk26SZ3DS4_cjs.deleteRecords([await keyFor3(id)]);
|
|
7653
|
+
chunk26SZ3DS4_cjs.notifyOfflineMailChange("outbox");
|
|
7654
7654
|
}
|
|
7655
7655
|
async function retryOutboxItem(id) {
|
|
7656
7656
|
const item = (await listOutbox()).find((i) => i.id === id);
|
|
@@ -7741,14 +7741,14 @@ async function purgeSentOutbox(olderThanMs = 0) {
|
|
|
7741
7741
|
const cutoff = Date.now() - olderThanMs;
|
|
7742
7742
|
const done = (await listOutbox()).filter((i) => i.status === "sent" && (i.sentAt ?? 0) <= cutoff);
|
|
7743
7743
|
if (done.length === 0) return;
|
|
7744
|
-
await
|
|
7745
|
-
|
|
7744
|
+
await chunk26SZ3DS4_cjs.deleteRecords(await Promise.all(done.map((i) => keyFor3(i.id))));
|
|
7745
|
+
chunk26SZ3DS4_cjs.notifyOfflineMailChange("outbox");
|
|
7746
7746
|
}
|
|
7747
7747
|
var STATUS_KEY = "status";
|
|
7748
7748
|
var FULL_SYNC_EVERY_MS = 60 * 60 * 1e3;
|
|
7749
7749
|
var MAX_PAGES = 200;
|
|
7750
7750
|
async function getOfflineMailStatus() {
|
|
7751
|
-
return await
|
|
7751
|
+
return await chunk26SZ3DS4_cjs.getMeta(STATUS_KEY) ?? { messages: 0, bytes: 0, skipped: [] };
|
|
7752
7752
|
}
|
|
7753
7753
|
var MB = 1024 * 1024;
|
|
7754
7754
|
var time = (m) => m.received_at ? Date.parse(m.received_at) || 0 : 0;
|
|
@@ -7839,23 +7839,23 @@ async function collectGarbage(accounts) {
|
|
|
7839
7839
|
expected.add(await keyOf.attachment(account.id, message.id, attachment.id));
|
|
7840
7840
|
}
|
|
7841
7841
|
}
|
|
7842
|
-
const orphans = (await
|
|
7842
|
+
const orphans = (await chunk26SZ3DS4_cjs.recordsInBucket(await bucketOf.account(account.id))).filter((r) => (r.kind === "body" || r.kind === "attachment") && !expected.has(r.key)).map((r) => r.key);
|
|
7843
7843
|
await removeKeys(orphans);
|
|
7844
7844
|
}
|
|
7845
7845
|
}
|
|
7846
7846
|
async function forgetAccount(accountId) {
|
|
7847
7847
|
for (const folder of await loadFolders(accountId) ?? []) {
|
|
7848
|
-
const records2 = await
|
|
7848
|
+
const records2 = await chunk26SZ3DS4_cjs.recordsInBucket(await bucketOf.folder(accountId, folder.id));
|
|
7849
7849
|
await removeKeys(records2.map((r) => r.key));
|
|
7850
7850
|
}
|
|
7851
|
-
const records = await
|
|
7851
|
+
const records = await chunk26SZ3DS4_cjs.recordsInBucket(await bucketOf.account(accountId));
|
|
7852
7852
|
await removeKeys(records.filter((r) => r.kind !== "draft").map((r) => r.key));
|
|
7853
7853
|
}
|
|
7854
7854
|
async function enforceQuota(quotaBytes) {
|
|
7855
|
-
let used = (await
|
|
7855
|
+
let used = (await chunk26SZ3DS4_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0);
|
|
7856
7856
|
if (used <= quotaBytes) return used;
|
|
7857
7857
|
for (const kind of ["attachment", "body"]) {
|
|
7858
|
-
const records = (await
|
|
7858
|
+
const records = (await chunk26SZ3DS4_cjs.recordsOfKind(kind)).sort(
|
|
7859
7859
|
(a, b) => kind === "attachment" ? a.lastAccess - b.lastAccess : a.sortAt - b.sortAt
|
|
7860
7860
|
);
|
|
7861
7861
|
const evict = [];
|
|
@@ -7871,34 +7871,34 @@ async function enforceQuota(quotaBytes) {
|
|
|
7871
7871
|
}
|
|
7872
7872
|
var CONTENT_KINDS = ["header", "body", "attachment"];
|
|
7873
7873
|
async function trimOfflineMailbox(settings, now = Date.now()) {
|
|
7874
|
-
const windowStart =
|
|
7874
|
+
const windowStart = chunk26SZ3DS4_cjs.offlineWindowStart(settings, now);
|
|
7875
7875
|
const kinds = settings.enabled ? CONTENT_KINDS : [...CONTENT_KINDS, "folders"];
|
|
7876
7876
|
for (const kind of kinds) {
|
|
7877
|
-
const records = await
|
|
7877
|
+
const records = await chunk26SZ3DS4_cjs.recordsOfKind(kind);
|
|
7878
7878
|
const old = settings.enabled ? records.filter((r) => r.sortAt > 0 && r.sortAt < windowStart) : records;
|
|
7879
7879
|
await removeKeys(old.map((r) => r.key));
|
|
7880
7880
|
}
|
|
7881
7881
|
const previous = await getOfflineMailStatus();
|
|
7882
7882
|
const status = {
|
|
7883
7883
|
...previous,
|
|
7884
|
-
messages: (await
|
|
7885
|
-
bytes: (await
|
|
7884
|
+
messages: (await chunk26SZ3DS4_cjs.recordsOfKind("header")).length,
|
|
7885
|
+
bytes: (await chunk26SZ3DS4_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0),
|
|
7886
7886
|
// A shorter window no longer covers what the last full pass fetched: growing it again (even
|
|
7887
7887
|
// before the next hourly full pass) makes the next pass a full one.
|
|
7888
|
-
windowDays: settings.enabled && previous.windowDays !== void 0 ? Math.min(previous.windowDays,
|
|
7888
|
+
windowDays: settings.enabled && previous.windowDays !== void 0 ? Math.min(previous.windowDays, chunk26SZ3DS4_cjs.SCOPE_DAYS[settings.scope]) : void 0,
|
|
7889
7889
|
// Off: nothing is saved, so turning it back on starts with a full pass.
|
|
7890
7890
|
...!settings.enabled && { lastSyncedAt: void 0, lastFullSyncAt: void 0 }
|
|
7891
7891
|
};
|
|
7892
|
-
await
|
|
7893
|
-
|
|
7892
|
+
await chunk26SZ3DS4_cjs.setMeta(STATUS_KEY, status);
|
|
7893
|
+
chunk26SZ3DS4_cjs.notifyOfflineMailChange("status");
|
|
7894
7894
|
return status;
|
|
7895
7895
|
}
|
|
7896
7896
|
async function syncMailbox(transport, settings, options = {}) {
|
|
7897
7897
|
const now = options.now ?? Date.now();
|
|
7898
7898
|
const previous = await getOfflineMailStatus();
|
|
7899
|
-
const days =
|
|
7899
|
+
const days = chunk26SZ3DS4_cjs.SCOPE_DAYS[settings.scope];
|
|
7900
7900
|
const full = options.full || !previous.lastFullSyncAt || now - previous.lastFullSyncAt > FULL_SYNC_EVERY_MS || (previous.windowDays ?? 0) < days;
|
|
7901
|
-
const windowStart =
|
|
7901
|
+
const windowStart = chunk26SZ3DS4_cjs.offlineWindowStart(settings, now);
|
|
7902
7902
|
const quota = settings.quotaMb * MB;
|
|
7903
7903
|
const skipped = [];
|
|
7904
7904
|
let error;
|
|
@@ -7910,7 +7910,7 @@ async function syncMailbox(transport, settings, options = {}) {
|
|
|
7910
7910
|
for (const gone of before.filter((b) => !accounts.some((a) => a.id === b.id)))
|
|
7911
7911
|
await forgetAccount(gone.id);
|
|
7912
7912
|
const budget = new Budget(
|
|
7913
|
-
(await
|
|
7913
|
+
(await chunk26SZ3DS4_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0),
|
|
7914
7914
|
quota
|
|
7915
7915
|
);
|
|
7916
7916
|
for (const account of accounts) {
|
|
@@ -7924,12 +7924,12 @@ async function syncMailbox(transport, settings, options = {}) {
|
|
|
7924
7924
|
const oldFolders = await loadFolders(account.id) ?? [];
|
|
7925
7925
|
await saveFolders(account.id, folders);
|
|
7926
7926
|
for (const gone of oldFolders.filter((o) => !folders.some((f) => f.id === o.id))) {
|
|
7927
|
-
const records = await
|
|
7927
|
+
const records = await chunk26SZ3DS4_cjs.recordsInBucket(await bucketOf.folder(account.id, gone.id));
|
|
7928
7928
|
await removeKeys(records.map((r) => r.key));
|
|
7929
7929
|
}
|
|
7930
7930
|
for (const folder of folders.filter((f) => !isVirtualFolder(f)))
|
|
7931
7931
|
await syncFolder(transport, account, folder, settings, windowStart, full, budget);
|
|
7932
|
-
|
|
7932
|
+
chunk26SZ3DS4_cjs.notifyOfflineMailChange("mailbox");
|
|
7933
7933
|
} catch (accountError) {
|
|
7934
7934
|
if (accountError.status === void 0) throw accountError;
|
|
7935
7935
|
client.logger.warn("[offline-mail] account sync failed", accountError);
|
|
@@ -7947,19 +7947,19 @@ async function syncMailbox(transport, settings, options = {}) {
|
|
|
7947
7947
|
const trimmed = await trimOfflineMailbox(current, now);
|
|
7948
7948
|
if (!current.enabled) return trimmed;
|
|
7949
7949
|
const bytes = await enforceQuota(current.quotaMb * MB);
|
|
7950
|
-
const messages = (await
|
|
7950
|
+
const messages = (await chunk26SZ3DS4_cjs.recordsOfKind("header")).length;
|
|
7951
7951
|
const fullDone = !error && full;
|
|
7952
7952
|
const status = {
|
|
7953
7953
|
lastSyncedAt: error ? previous.lastSyncedAt : now,
|
|
7954
7954
|
lastFullSyncAt: fullDone ? now : previous.lastFullSyncAt,
|
|
7955
|
-
windowDays: fullDone ? Math.min(days,
|
|
7955
|
+
windowDays: fullDone ? Math.min(days, chunk26SZ3DS4_cjs.SCOPE_DAYS[current.scope]) : trimmed.windowDays,
|
|
7956
7956
|
messages,
|
|
7957
7957
|
bytes,
|
|
7958
7958
|
error,
|
|
7959
7959
|
skipped
|
|
7960
7960
|
};
|
|
7961
|
-
await
|
|
7962
|
-
|
|
7961
|
+
await chunk26SZ3DS4_cjs.setMeta(STATUS_KEY, status);
|
|
7962
|
+
chunk26SZ3DS4_cjs.notifyOfflineMailChange("status");
|
|
7963
7963
|
return status;
|
|
7964
7964
|
}
|
|
7965
7965
|
|
|
@@ -8158,20 +8158,20 @@ function isMailSyncRunning() {
|
|
|
8158
8158
|
return syncing;
|
|
8159
8159
|
}
|
|
8160
8160
|
async function syncOfflineMailbox({ arbi }, options = {}) {
|
|
8161
|
-
const latest = () =>
|
|
8161
|
+
const latest = () => chunk26SZ3DS4_cjs.getOfflineMailSettings(sessionUser(arbi));
|
|
8162
8162
|
const settings = latest();
|
|
8163
8163
|
if (!settings.enabled || !canReachMail(arbi)) return;
|
|
8164
8164
|
void requestPersistentStorage();
|
|
8165
8165
|
await exclusive("arbi-mail-sync", async () => {
|
|
8166
8166
|
syncing = true;
|
|
8167
|
-
|
|
8167
|
+
chunk26SZ3DS4_cjs.notifyOfflineMailChange("status");
|
|
8168
8168
|
try {
|
|
8169
8169
|
await syncMailbox(liveTransport(arbi), latest(), { ...options, latest });
|
|
8170
8170
|
} catch (error) {
|
|
8171
8171
|
client.logger.error("[offline-mail] sync failed", error);
|
|
8172
8172
|
} finally {
|
|
8173
8173
|
syncing = false;
|
|
8174
|
-
|
|
8174
|
+
chunk26SZ3DS4_cjs.notifyOfflineMailChange("status");
|
|
8175
8175
|
}
|
|
8176
8176
|
});
|
|
8177
8177
|
}
|
|
@@ -8202,9 +8202,9 @@ async function savedFolder(accountId, folderId) {
|
|
|
8202
8202
|
}
|
|
8203
8203
|
function offlineMailReads(getArbi, { keepsMail = () => true } = {}) {
|
|
8204
8204
|
const call = (path) => mailJson((p, i) => getArbi().mail.fetch(p, i), path);
|
|
8205
|
-
const settings = () =>
|
|
8205
|
+
const settings = () => chunk26SZ3DS4_cjs.getOfflineMailSettings(sessionUser(getArbi()));
|
|
8206
8206
|
const storeEnabled = () => settings().enabled;
|
|
8207
|
-
const keeps = (message) =>
|
|
8207
|
+
const keeps = (message) => chunk26SZ3DS4_cjs.inOfflineWindow(settings(), message.received_at);
|
|
8208
8208
|
const remember = (write3) => {
|
|
8209
8209
|
if (!keepsMail()) return;
|
|
8210
8210
|
write3().catch((error) => client.logger.warn("[offline-mail] could not save for offline use", error));
|
|
@@ -8807,13 +8807,13 @@ function ArbiWebSocketProvider({
|
|
|
8807
8807
|
onAuthenticatedRef.current = onAuthenticated;
|
|
8808
8808
|
const handlersRef = React.useRef(handlers);
|
|
8809
8809
|
handlersRef.current = handlers;
|
|
8810
|
-
const session =
|
|
8810
|
+
const session = chunkZZZYVNFW_cjs.useArbiSessionStore();
|
|
8811
8811
|
const sessionRef = React.useRef(session);
|
|
8812
8812
|
sessionRef.current = session;
|
|
8813
8813
|
const host = chunkFE6ZSNZE_cjs.useArbiHost();
|
|
8814
8814
|
const hostRef = React.useRef(host);
|
|
8815
8815
|
hostRef.current = host;
|
|
8816
|
-
const acceptRings =
|
|
8816
|
+
const acceptRings = chunk26SZ3DS4_cjs.useFeature("calls");
|
|
8817
8817
|
const acceptRingsRef = React.useRef(acceptRings);
|
|
8818
8818
|
acceptRingsRef.current = acceptRings;
|
|
8819
8819
|
useOnlineSync();
|
|
@@ -8866,9 +8866,9 @@ function ArbiWebSocketProvider({
|
|
|
8866
8866
|
void queryClient.invalidateQueries({ queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.allTags() });
|
|
8867
8867
|
}
|
|
8868
8868
|
} else if (type.startsWith("chat.") || type === "agent_dm_status")
|
|
8869
|
-
void
|
|
8869
|
+
void chunk26SZ3DS4_cjs.applyChatEvent(arbiRef.current, queryClient, msg);
|
|
8870
8870
|
else if (type.startsWith("call."))
|
|
8871
|
-
|
|
8871
|
+
chunk26SZ3DS4_cjs.applyCallEvent(queryClient, msg, { me: me(), acceptRings: acceptRingsRef.current });
|
|
8872
8872
|
else if (isNotificationRow(msg)) applyNotificationRow(queryClient, msg, me());
|
|
8873
8873
|
else void applyLiveUpdate(queryClient, msg);
|
|
8874
8874
|
try {
|
|
@@ -9244,7 +9244,7 @@ function useSwitchWorkspace() {
|
|
|
9244
9244
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
9245
9245
|
const arbiRef = React.useRef(arbi);
|
|
9246
9246
|
arbiRef.current = arbi;
|
|
9247
|
-
const session =
|
|
9247
|
+
const session = chunkZZZYVNFW_cjs.useArbiSessionStore();
|
|
9248
9248
|
const queryClient = reactQuery.useQueryClient();
|
|
9249
9249
|
React.useEffect(
|
|
9250
9250
|
() => arbi.onSigningOut?.(() => {
|
|
@@ -9261,11 +9261,11 @@ function useSwitchWorkspace() {
|
|
|
9261
9261
|
function useOpenSelectedWorkspace() {
|
|
9262
9262
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
9263
9263
|
const { clearWorkspace, openSelectedWorkspace } = useSwitchWorkspace();
|
|
9264
|
-
const workspaceId =
|
|
9265
|
-
const status =
|
|
9266
|
-
const session =
|
|
9264
|
+
const workspaceId = chunkZZZYVNFW_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
9265
|
+
const status = chunkZZZYVNFW_cjs.useArbiSessionState((s) => s.workspaceStatus);
|
|
9266
|
+
const session = chunkZZZYVNFW_cjs.useArbiSessionStore();
|
|
9267
9267
|
const queryClient = reactQuery.useQueryClient();
|
|
9268
|
-
const { data: workspaces, isLoading: listing, isFetching } =
|
|
9268
|
+
const { data: workspaces, isLoading: listing, isFetching } = chunkZZZYVNFW_cjs.useWorkspaces();
|
|
9269
9269
|
const listed = workspaces;
|
|
9270
9270
|
const archived = listed?.find((w) => w.external_id === workspaceId && w.archive);
|
|
9271
9271
|
const reads = queryClient.getQueryState(chunkFE6ZSNZE_cjs.arbiQueryKeys.workspaces())?.dataUpdateCount ?? 0;
|
|
@@ -9732,9 +9732,9 @@ var EMPTY2 = { query: "", lastQuery: "", hits: null, workspaceId: null };
|
|
|
9732
9732
|
function useFactsSearch(options = {}) {
|
|
9733
9733
|
const { mode = "hybrid", limit = 30 } = options;
|
|
9734
9734
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
9735
|
-
const session =
|
|
9735
|
+
const session = chunkZZZYVNFW_cjs.useArbiSessionStore();
|
|
9736
9736
|
const workspaceId = options.workspaceId ?? (arbi.hasWorkspace ? arbi.getWorkspaceId() : null);
|
|
9737
|
-
const [kept, setKept] =
|
|
9737
|
+
const [kept, setKept] = chunkZZZYVNFW_cjs.useTransientView(FACTS_SEARCH_VIEW, EMPTY2);
|
|
9738
9738
|
const searchFacts = useSearchFacts(workspaceId);
|
|
9739
9739
|
const run2 = React.useRef(0);
|
|
9740
9740
|
const foreign = !!kept.workspaceId && !!workspaceId && kept.workspaceId !== workspaceId;
|
|
@@ -10326,7 +10326,7 @@ function namesOfWorkspaces(workspaces) {
|
|
|
10326
10326
|
return names;
|
|
10327
10327
|
}
|
|
10328
10328
|
function useNames(enabled = true) {
|
|
10329
|
-
const { data } =
|
|
10329
|
+
const { data } = chunkZZZYVNFW_cjs.useWorkspaces({ enabled });
|
|
10330
10330
|
return React.useMemo(() => {
|
|
10331
10331
|
const names = namesOfWorkspaces(data);
|
|
10332
10332
|
return (id) => id ? names.get(id) ?? id : null;
|
|
@@ -10387,8 +10387,8 @@ function createWorkflowsSource(labels) {
|
|
|
10387
10387
|
description: l.description,
|
|
10388
10388
|
useFields: staticFields(fields),
|
|
10389
10389
|
useRows(_params, enabled) {
|
|
10390
|
-
const on =
|
|
10391
|
-
const workspaceId =
|
|
10390
|
+
const on = chunk26SZ3DS4_cjs.useFeature("workflows");
|
|
10391
|
+
const workspaceId = chunkZZZYVNFW_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
10392
10392
|
const query = useWorkflows({ enabled: enabled && on });
|
|
10393
10393
|
const nameOf = useNames(enabled);
|
|
10394
10394
|
const rows = React.useMemo(
|
|
@@ -10456,9 +10456,9 @@ function createActivitySource(labels) {
|
|
|
10456
10456
|
useFields: staticFields(fields),
|
|
10457
10457
|
useRows(_params, enabled) {
|
|
10458
10458
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
10459
|
-
const workspaceId =
|
|
10459
|
+
const workspaceId = chunkZZZYVNFW_cjs.useArbiSessionState((s) => s.workspaceId) ?? void 0;
|
|
10460
10460
|
const { settled, openSelectedWorkspace } = useSwitchWorkspace();
|
|
10461
|
-
const feed =
|
|
10461
|
+
const feed = chunkZZZYVNFW_cjs.useWorkspaceActivity(workspaceId, {
|
|
10462
10462
|
enabled: enabled && arbi.isLoggedIn,
|
|
10463
10463
|
limit: ENTRIES,
|
|
10464
10464
|
beforeFetch: async () => {
|
|
@@ -10526,7 +10526,7 @@ function createConversationsSource(labels) {
|
|
|
10526
10526
|
useRows(params, enabled) {
|
|
10527
10527
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
10528
10528
|
const workspaceId = typeof params.workspaceId === "string" && params.workspaceId ? params.workspaceId : arbi.hasWorkspace ? arbi.getWorkspaceId() : void 0;
|
|
10529
|
-
const query =
|
|
10529
|
+
const query = chunkZZZYVNFW_cjs.useConversations(workspaceId, { enabled });
|
|
10530
10530
|
const nameOf = useNames(enabled);
|
|
10531
10531
|
const rows = React.useMemo(() => {
|
|
10532
10532
|
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
@@ -10634,7 +10634,7 @@ function createDatabaseSource(labels) {
|
|
|
10634
10634
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
10635
10635
|
const databaseId = text(params.databaseId);
|
|
10636
10636
|
const viewName = text(params.view);
|
|
10637
|
-
const settings =
|
|
10637
|
+
const settings = chunk26SZ3DS4_cjs.useUserSettings({ enabled: Boolean(viewName) });
|
|
10638
10638
|
const workspaceId = arbi.hasWorkspace ? arbi.getWorkspaceId() : null;
|
|
10639
10639
|
return React.useMemo(
|
|
10640
10640
|
() => viewName && databaseId ? viewsOfTable(settings.data?.tableviews, workspaceId, databaseId).find(
|
|
@@ -10716,7 +10716,7 @@ function createDatabaseSource(labels) {
|
|
|
10716
10716
|
useOptions(params) {
|
|
10717
10717
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
10718
10718
|
const databaseId = text(params.databaseId);
|
|
10719
|
-
const settings =
|
|
10719
|
+
const settings = chunk26SZ3DS4_cjs.useUserSettings({ enabled: Boolean(databaseId) });
|
|
10720
10720
|
const workspaceId = arbi.hasWorkspace ? arbi.getWorkspaceId() : null;
|
|
10721
10721
|
const options = React.useMemo(
|
|
10722
10722
|
() => databaseId ? viewsOfTable(settings.data?.tableviews, workspaceId, databaseId).map((v) => ({
|
|
@@ -10925,7 +10925,7 @@ function createProjectsSource(options = {}) {
|
|
|
10925
10925
|
label: l.source,
|
|
10926
10926
|
description: l.description,
|
|
10927
10927
|
useFields() {
|
|
10928
|
-
const query =
|
|
10928
|
+
const query = chunkZZZYVNFW_cjs.useProjects();
|
|
10929
10929
|
const fields = React.useMemo(
|
|
10930
10930
|
() => fieldsOf(query.data),
|
|
10931
10931
|
[query.data]
|
|
@@ -10933,7 +10933,7 @@ function createProjectsSource(options = {}) {
|
|
|
10933
10933
|
return { fields, isLoading: query.isLoading, error: query.error };
|
|
10934
10934
|
},
|
|
10935
10935
|
useRows(_params, enabled) {
|
|
10936
|
-
const query =
|
|
10936
|
+
const query = chunkZZZYVNFW_cjs.useProjects({ enabled });
|
|
10937
10937
|
const nameOf = useNames(enabled);
|
|
10938
10938
|
const rows = React.useMemo(() => {
|
|
10939
10939
|
const projects = query.data;
|
|
@@ -11010,7 +11010,7 @@ function createTagsSource(labels) {
|
|
|
11010
11010
|
description: l.description,
|
|
11011
11011
|
useFields: staticFields(fields),
|
|
11012
11012
|
useRows(_params, enabled) {
|
|
11013
|
-
const query =
|
|
11013
|
+
const query = chunkZZZYVNFW_cjs.useTags(void 0, { enabled });
|
|
11014
11014
|
const nameOf = useNames(enabled);
|
|
11015
11015
|
const rows = React.useMemo(
|
|
11016
11016
|
() => query.data?.map((t) => ({
|
|
@@ -11135,8 +11135,8 @@ function useUsageResponses(params, enabled) {
|
|
|
11135
11135
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
11136
11136
|
const monthsBack = monthsBackOf(params);
|
|
11137
11137
|
const only = projectOf(params);
|
|
11138
|
-
const projects =
|
|
11139
|
-
const user =
|
|
11138
|
+
const projects = chunkZZZYVNFW_cjs.useProjects({ enabled });
|
|
11139
|
+
const user = chunkZZZYVNFW_cjs.useCurrentUser({ enabled: enabled && arbi.isLoggedIn && !only });
|
|
11140
11140
|
const me = user.data?.external_id;
|
|
11141
11141
|
const list = React.useMemo(() => {
|
|
11142
11142
|
const all = projects.data ?? [];
|
|
@@ -11192,8 +11192,8 @@ function usageParams(l) {
|
|
|
11192
11192
|
placeholder: l.allProjects,
|
|
11193
11193
|
useOptions() {
|
|
11194
11194
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
11195
|
-
const projects =
|
|
11196
|
-
const user =
|
|
11195
|
+
const projects = chunkZZZYVNFW_cjs.useProjects();
|
|
11196
|
+
const user = chunkZZZYVNFW_cjs.useCurrentUser({ enabled: arbi.isLoggedIn });
|
|
11197
11197
|
const me = user.data?.external_id;
|
|
11198
11198
|
const options = React.useMemo(
|
|
11199
11199
|
() => ownedBy(projects.data, me).map((p) => ({ value: p.external_id, label: p.name })),
|
|
@@ -11264,7 +11264,7 @@ function createUsageBreakdownSource(labels) {
|
|
|
11264
11264
|
useRows(params, enabled) {
|
|
11265
11265
|
const by = breakdownOf(params);
|
|
11266
11266
|
const { usages, isLoading, error } = useUsageResponses(params, enabled);
|
|
11267
|
-
const workspaces =
|
|
11267
|
+
const workspaces = chunkZZZYVNFW_cjs.useWorkspaces({
|
|
11268
11268
|
enabled: enabled && (by === "user" || by === "workspace")
|
|
11269
11269
|
});
|
|
11270
11270
|
const names = React.useMemo(
|
|
@@ -11313,8 +11313,8 @@ function createWorkspacesSource(labels) {
|
|
|
11313
11313
|
description: l.description,
|
|
11314
11314
|
useFields: staticFields(fields),
|
|
11315
11315
|
useRows(_params, enabled) {
|
|
11316
|
-
const workspaces =
|
|
11317
|
-
const projects =
|
|
11316
|
+
const workspaces = chunkZZZYVNFW_cjs.useWorkspaces({ enabled });
|
|
11317
|
+
const projects = chunkZZZYVNFW_cjs.useProjects({ enabled });
|
|
11318
11318
|
const rows = React.useMemo(() => {
|
|
11319
11319
|
const list = workspaces.data;
|
|
11320
11320
|
if (!list) return void 0;
|
|
@@ -11575,13 +11575,24 @@ function usePassageQuotes(docIds) {
|
|
|
11575
11575
|
[passages]
|
|
11576
11576
|
);
|
|
11577
11577
|
}
|
|
11578
|
+
var storageFailed = false;
|
|
11579
|
+
async function withStorage(operation) {
|
|
11580
|
+
if (storageFailed) return void 0;
|
|
11581
|
+
try {
|
|
11582
|
+
return await operation();
|
|
11583
|
+
} catch {
|
|
11584
|
+
storageFailed = true;
|
|
11585
|
+
console.warn("[offline] Browser storage unavailable; offline persistence is disabled.");
|
|
11586
|
+
return void 0;
|
|
11587
|
+
}
|
|
11588
|
+
}
|
|
11578
11589
|
var IDB_KEY = "arbi-react-query-cache";
|
|
11579
11590
|
var OWNER_KEY = "arbi-react-query-cache-owner";
|
|
11580
11591
|
var CACHE_BUSTER = "arbi-rq-v2";
|
|
11581
11592
|
var MAX_AGE = 1e3 * 60 * 60 * 24 * 7;
|
|
11582
11593
|
function createIDBPersister() {
|
|
11583
11594
|
return {
|
|
11584
|
-
persistClient: (client) => idbKeyval.set(IDB_KEY, client),
|
|
11595
|
+
persistClient: (client) => withStorage(() => idbKeyval.set(IDB_KEY, client)),
|
|
11585
11596
|
// The offline persister must be INERT when online. Because the documents
|
|
11586
11597
|
// list never auto-refetches, a rehydrated copy would be trusted
|
|
11587
11598
|
// indefinitely and surface stale statuses across a reload — e.g. a document
|
|
@@ -11594,7 +11605,7 @@ function createIDBPersister() {
|
|
|
11594
11605
|
// Queued offline mutations and all other queries restore normally. When
|
|
11595
11606
|
// offline we keep everything so the pages still have something to show.
|
|
11596
11607
|
restoreClient: async () => {
|
|
11597
|
-
const persisted = await idbKeyval.get(IDB_KEY);
|
|
11608
|
+
const persisted = await withStorage(() => idbKeyval.get(IDB_KEY));
|
|
11598
11609
|
if (!persisted) return persisted;
|
|
11599
11610
|
const isOffline = typeof navigator !== "undefined" && navigator.onLine === false;
|
|
11600
11611
|
if (isOffline) return persisted;
|
|
@@ -11603,13 +11614,15 @@ function createIDBPersister() {
|
|
|
11603
11614
|
);
|
|
11604
11615
|
return persisted;
|
|
11605
11616
|
},
|
|
11606
|
-
removeClient: () => idbKeyval.del(IDB_KEY)
|
|
11617
|
+
removeClient: () => withStorage(() => idbKeyval.del(IDB_KEY))
|
|
11607
11618
|
};
|
|
11608
11619
|
}
|
|
11609
11620
|
async function claimOfflineQueue(userExtId) {
|
|
11610
|
-
|
|
11611
|
-
|
|
11612
|
-
|
|
11621
|
+
await withStorage(async () => {
|
|
11622
|
+
const owner = await idbKeyval.get(OWNER_KEY);
|
|
11623
|
+
if (owner !== userExtId) await idbKeyval.del(IDB_KEY);
|
|
11624
|
+
await idbKeyval.set(OWNER_KEY, userExtId);
|
|
11625
|
+
});
|
|
11613
11626
|
}
|
|
11614
11627
|
function createArbiQueryPersistOptions() {
|
|
11615
11628
|
return {
|
|
@@ -12271,8 +12284,8 @@ function usePeople() {
|
|
|
12271
12284
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
12272
12285
|
const meId = arbi.isLoggedIn ? arbi.user.identity()?.externalId : void 0;
|
|
12273
12286
|
const { data: contacts = [] } = useContacts();
|
|
12274
|
-
const { data: workspaces = [] } =
|
|
12275
|
-
const { data: agents = [] } =
|
|
12287
|
+
const { data: workspaces = [] } = chunkZZZYVNFW_cjs.useWorkspaces();
|
|
12288
|
+
const { data: agents = [] } = chunkZZZYVNFW_cjs.useAgents();
|
|
12276
12289
|
return React.useMemo(() => {
|
|
12277
12290
|
const people = [];
|
|
12278
12291
|
const contactOf = /* @__PURE__ */ new Map();
|
|
@@ -12372,7 +12385,7 @@ var workspaceHouseTemplateId = browser.houseTemplates.workspaceHouseTemplateId;
|
|
|
12372
12385
|
var isDeploymentAdmin = browser.houseTemplates.isDeploymentAdmin;
|
|
12373
12386
|
function useModelConnections() {
|
|
12374
12387
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
12375
|
-
const userId =
|
|
12388
|
+
const userId = chunkZZZYVNFW_cjs.useArbiSession().user?.external_id ?? void 0;
|
|
12376
12389
|
return reactQuery.useQuery({
|
|
12377
12390
|
queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.modelConnections(userId),
|
|
12378
12391
|
queryFn: () => arbi.modelConnections.list(),
|
|
@@ -12381,7 +12394,7 @@ function useModelConnections() {
|
|
|
12381
12394
|
}
|
|
12382
12395
|
function useDirectModelUsage() {
|
|
12383
12396
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
12384
|
-
const userId =
|
|
12397
|
+
const userId = chunkZZZYVNFW_cjs.useArbiSession().user?.external_id ?? void 0;
|
|
12385
12398
|
return reactQuery.useQuery({
|
|
12386
12399
|
queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.directModelUsage(userId),
|
|
12387
12400
|
queryFn: () => arbi.modelConnections.usage(),
|
|
@@ -12390,7 +12403,7 @@ function useDirectModelUsage() {
|
|
|
12390
12403
|
}
|
|
12391
12404
|
function useRefreshModelConnections() {
|
|
12392
12405
|
const qc = reactQuery.useQueryClient();
|
|
12393
|
-
const userId =
|
|
12406
|
+
const userId = chunkZZZYVNFW_cjs.useArbiSession().user?.external_id ?? void 0;
|
|
12394
12407
|
return async () => {
|
|
12395
12408
|
await qc.invalidateQueries({ queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.modelConnections(userId) });
|
|
12396
12409
|
await qc.invalidateQueries({ queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.availableModels() });
|
|
@@ -12509,13 +12522,13 @@ function useAssistantStatus(workspaceExtId) {
|
|
|
12509
12522
|
return query;
|
|
12510
12523
|
}
|
|
12511
12524
|
function useRequestEmailChange() {
|
|
12512
|
-
const { client } =
|
|
12525
|
+
const { client } = chunk26SZ3DS4_cjs.useAccountClient();
|
|
12513
12526
|
return reactQuery.useMutation({
|
|
12514
12527
|
mutationFn: (newEmail) => client.requestEmailChange(newEmail)
|
|
12515
12528
|
});
|
|
12516
12529
|
}
|
|
12517
12530
|
function useConfirmEmailChange() {
|
|
12518
|
-
const { client } =
|
|
12531
|
+
const { client } = chunk26SZ3DS4_cjs.useAccountClient();
|
|
12519
12532
|
const qc = reactQuery.useQueryClient();
|
|
12520
12533
|
return reactQuery.useMutation({
|
|
12521
12534
|
mutationFn: ({ newEmail, code }) => client.confirmEmailChange(newEmail, code),
|
|
@@ -12583,7 +12596,7 @@ function useEmailChange({
|
|
|
12583
12596
|
};
|
|
12584
12597
|
}
|
|
12585
12598
|
function usePasswordChange() {
|
|
12586
|
-
const { client } =
|
|
12599
|
+
const { client } = chunk26SZ3DS4_cjs.useAccountClient();
|
|
12587
12600
|
return reactQuery.useMutation({
|
|
12588
12601
|
mutationFn: (vars) => client.changePassword(vars)
|
|
12589
12602
|
});
|
|
@@ -12677,8 +12690,8 @@ function usePasswordChangeForm({
|
|
|
12677
12690
|
}
|
|
12678
12691
|
function useDismissedTips() {
|
|
12679
12692
|
const queryClient = reactQuery.useQueryClient();
|
|
12680
|
-
const { data: userSettings } =
|
|
12681
|
-
const { mutate: updateUserSettings } =
|
|
12693
|
+
const { data: userSettings } = chunk26SZ3DS4_cjs.useUserSettings();
|
|
12694
|
+
const { mutate: updateUserSettings } = chunk26SZ3DS4_cjs.useUpdateUserSettings();
|
|
12682
12695
|
const loaded = userSettings !== void 0;
|
|
12683
12696
|
const dismissed = userSettings?.dismissed_tips ?? [];
|
|
12684
12697
|
const dismissTip = React.useCallback(
|
|
@@ -12712,7 +12725,7 @@ function toNotificationPreferences(stored, keys) {
|
|
|
12712
12725
|
function useNotificationPreferences(keys, options) {
|
|
12713
12726
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
12714
12727
|
const qc = reactQuery.useQueryClient();
|
|
12715
|
-
const settings =
|
|
12728
|
+
const settings = chunk26SZ3DS4_cjs.useUserSettings(options);
|
|
12716
12729
|
const stored = settings.data?.email_notifications;
|
|
12717
12730
|
const save = reactQuery.useMutation({
|
|
12718
12731
|
mutationFn: (patch) => arbi.settings.update({ email_notifications: patch }),
|
|
@@ -12771,7 +12784,7 @@ function useRelevanceSave() {
|
|
|
12771
12784
|
}
|
|
12772
12785
|
function useWorkspaceNotificationLevel(workspaceId, options) {
|
|
12773
12786
|
const qc = reactQuery.useQueryClient();
|
|
12774
|
-
const settings =
|
|
12787
|
+
const settings = chunk26SZ3DS4_cjs.useUserSettings(options);
|
|
12775
12788
|
const save = useRelevanceSave();
|
|
12776
12789
|
const level = workspaceId ? browser.settings.workspaceNotificationLevel(settings.data, workspaceId) : "default";
|
|
12777
12790
|
const setLevel = React.useCallback(
|
|
@@ -12792,7 +12805,7 @@ function useWorkspaceNotificationLevel(workspaceId, options) {
|
|
|
12792
12805
|
}
|
|
12793
12806
|
function useFollowThread(conversationId, options) {
|
|
12794
12807
|
const qc = reactQuery.useQueryClient();
|
|
12795
|
-
const settings =
|
|
12808
|
+
const settings = chunk26SZ3DS4_cjs.useUserSettings(options);
|
|
12796
12809
|
const save = useRelevanceSave();
|
|
12797
12810
|
const following = !!conversationId && !!settings.data?.followed_threads?.includes(conversationId);
|
|
12798
12811
|
const setFollowing = React.useCallback(
|
|
@@ -12821,7 +12834,7 @@ function useFollowThread(conversationId, options) {
|
|
|
12821
12834
|
};
|
|
12822
12835
|
}
|
|
12823
12836
|
function useSessions(options) {
|
|
12824
|
-
const { client, enabled } =
|
|
12837
|
+
const { client, enabled } = chunk26SZ3DS4_cjs.useAccountClient();
|
|
12825
12838
|
return reactQuery.useQuery({
|
|
12826
12839
|
queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.sessions(),
|
|
12827
12840
|
queryFn: () => client.listSessions(),
|
|
@@ -12829,7 +12842,7 @@ function useSessions(options) {
|
|
|
12829
12842
|
});
|
|
12830
12843
|
}
|
|
12831
12844
|
function useTerminateSession() {
|
|
12832
|
-
const { client } =
|
|
12845
|
+
const { client } = chunk26SZ3DS4_cjs.useAccountClient();
|
|
12833
12846
|
const qc = reactQuery.useQueryClient();
|
|
12834
12847
|
return reactQuery.useMutation({
|
|
12835
12848
|
mutationFn: (sessionId) => client.terminateSession(sessionId),
|
|
@@ -12837,7 +12850,7 @@ function useTerminateSession() {
|
|
|
12837
12850
|
});
|
|
12838
12851
|
}
|
|
12839
12852
|
function useSignOut() {
|
|
12840
|
-
const { client } =
|
|
12853
|
+
const { client } = chunk26SZ3DS4_cjs.useAccountClient();
|
|
12841
12854
|
const qc = reactQuery.useQueryClient();
|
|
12842
12855
|
return reactQuery.useMutation({
|
|
12843
12856
|
mutationFn: (options = {}) => client.signOut(options),
|
|
@@ -12845,7 +12858,7 @@ function useSignOut() {
|
|
|
12845
12858
|
});
|
|
12846
12859
|
}
|
|
12847
12860
|
function useCurrentSessionId() {
|
|
12848
|
-
return
|
|
12861
|
+
return chunk26SZ3DS4_cjs.useAccountClient().client.currentSessionId();
|
|
12849
12862
|
}
|
|
12850
12863
|
function parseDeleteAccountBlockers(error) {
|
|
12851
12864
|
const body = error?.apiError ?? error;
|
|
@@ -12860,7 +12873,7 @@ function parseDeleteAccountBlockers(error) {
|
|
|
12860
12873
|
return [];
|
|
12861
12874
|
}
|
|
12862
12875
|
function useDeleteAccount() {
|
|
12863
|
-
const { client } =
|
|
12876
|
+
const { client } = chunk26SZ3DS4_cjs.useAccountClient();
|
|
12864
12877
|
return reactQuery.useMutation({ mutationFn: () => client.requestDeletion() });
|
|
12865
12878
|
}
|
|
12866
12879
|
function useDeleteAccountFlow({
|
|
@@ -13182,7 +13195,7 @@ function useIdentityVerificationFlow(api, {
|
|
|
13182
13195
|
};
|
|
13183
13196
|
}
|
|
13184
13197
|
function useIdentityVerification(options = {}) {
|
|
13185
|
-
const { client, enabled } =
|
|
13198
|
+
const { client, enabled } = chunk26SZ3DS4_cjs.useAccountClient();
|
|
13186
13199
|
const qc = reactQuery.useQueryClient();
|
|
13187
13200
|
const { onVerifiedChange, onNameAccepted, formatPrice } = options;
|
|
13188
13201
|
return useIdentityVerificationFlow(client.identity, {
|
|
@@ -13280,15 +13293,15 @@ function useNativeThreadKeys(account, messages) {
|
|
|
13280
13293
|
var SYNC_INTERVAL_MS = 5 * 60 * 1e3;
|
|
13281
13294
|
var NEW_MAIL_DEBOUNCE_MS = 5e3;
|
|
13282
13295
|
function useOfflineMailActive() {
|
|
13283
|
-
const { user, status } =
|
|
13284
|
-
const mailEnabled =
|
|
13285
|
-
const entitled =
|
|
13296
|
+
const { user, status } = chunkZZZYVNFW_cjs.useArbiSession();
|
|
13297
|
+
const mailEnabled = chunk26SZ3DS4_cjs.useFeature("mail");
|
|
13298
|
+
const entitled = chunk26SZ3DS4_cjs.useIsEntitled("mail");
|
|
13286
13299
|
const eligible = status === "signed-in" && !!user?.external_id && mailEnabled && entitled;
|
|
13287
13300
|
const { data: policy } = useMailPolicy({ enabled: eligible });
|
|
13288
13301
|
return eligible && !!policy?.enabled && (policy.native_enabled || policy.enabled_providers.length > 0);
|
|
13289
13302
|
}
|
|
13290
13303
|
function useOfflineMailRuntime({ openOutbox } = {}) {
|
|
13291
|
-
const { user, serverSessionKey } =
|
|
13304
|
+
const { user, serverSessionKey } = chunkZZZYVNFW_cjs.useArbiSession();
|
|
13292
13305
|
const userExtId = user?.external_id;
|
|
13293
13306
|
const hasSession = !!serverSessionKey;
|
|
13294
13307
|
const active = useOfflineMailActive();
|
|
@@ -13298,15 +13311,15 @@ function useOfflineMailRuntime({ openOutbox } = {}) {
|
|
|
13298
13311
|
latest.current = { arbi, queryClient, openOutbox };
|
|
13299
13312
|
React.useEffect(() => {
|
|
13300
13313
|
if (!active || !userExtId) return;
|
|
13301
|
-
|
|
13314
|
+
chunk26SZ3DS4_cjs.claimOfflineMail(userExtId).catch(
|
|
13302
13315
|
(error) => client.logger.warn("[offline-mail] could not bind the store", error)
|
|
13303
13316
|
);
|
|
13304
13317
|
}, [active, userExtId]);
|
|
13305
13318
|
React.useEffect(() => {
|
|
13306
13319
|
if (!active || !userExtId) return;
|
|
13307
|
-
return
|
|
13320
|
+
return chunk26SZ3DS4_cjs.onOfflineMailChange((change) => {
|
|
13308
13321
|
if (change !== "settings") return;
|
|
13309
|
-
trimOfflineMailbox(
|
|
13322
|
+
trimOfflineMailbox(chunk26SZ3DS4_cjs.getOfflineMailSettings(userExtId)).then(
|
|
13310
13323
|
() => latest.current.queryClient.invalidateQueries({ queryKey: chunkFE6ZSNZE_cjs.mailQueryKeys.allMessages() })
|
|
13311
13324
|
).catch((error) => client.logger.warn("[offline-mail] could not trim the device copy", error));
|
|
13312
13325
|
});
|
|
@@ -13331,7 +13344,7 @@ function useOfflineMailRuntime({ openOutbox } = {}) {
|
|
|
13331
13344
|
const interval = setInterval(() => {
|
|
13332
13345
|
if (document.visibilityState === "visible") run2();
|
|
13333
13346
|
}, SYNC_INTERVAL_MS);
|
|
13334
|
-
const enabled = () =>
|
|
13347
|
+
const enabled = () => chunk26SZ3DS4_cjs.getOfflineMailSettings(sessionUser(context().arbi)).enabled;
|
|
13335
13348
|
let newMailTimer = null;
|
|
13336
13349
|
const offCache = queryClient.getQueryCache().subscribe((event) => {
|
|
13337
13350
|
if (event.type !== "updated" || event.action.type !== "invalidate") return;
|
|
@@ -13339,7 +13352,7 @@ function useOfflineMailRuntime({ openOutbox } = {}) {
|
|
|
13339
13352
|
if (newMailTimer) clearTimeout(newMailTimer);
|
|
13340
13353
|
newMailTimer = setTimeout(() => void syncOfflineMailbox(context()), NEW_MAIL_DEBOUNCE_MS);
|
|
13341
13354
|
});
|
|
13342
|
-
const offSettings =
|
|
13355
|
+
const offSettings = chunk26SZ3DS4_cjs.onOfflineMailChange((change) => {
|
|
13343
13356
|
if (change === "settings" && enabled()) void syncOfflineMailbox(context(), { full: true });
|
|
13344
13357
|
if (change === "outbox") void flushOutbox(context());
|
|
13345
13358
|
if (change === "changes") void flushOutbox(context());
|
|
@@ -13361,7 +13374,7 @@ function useStoreValue(load, initial, changes) {
|
|
|
13361
13374
|
let alive = true;
|
|
13362
13375
|
const read = () => load().then((next) => alive && setValue(next)).catch((error) => client.logger.warn("[offline-mail] read failed", error));
|
|
13363
13376
|
void read();
|
|
13364
|
-
const off =
|
|
13377
|
+
const off = chunk26SZ3DS4_cjs.onOfflineMailChange((change) => {
|
|
13365
13378
|
if (change === "wiped") setValue(initial);
|
|
13366
13379
|
if (change === "wiped" || key.split(",").includes(change)) void read();
|
|
13367
13380
|
});
|
|
@@ -13373,20 +13386,20 @@ function useStoreValue(load, initial, changes) {
|
|
|
13373
13386
|
return value;
|
|
13374
13387
|
}
|
|
13375
13388
|
function useOfflineMailSettings() {
|
|
13376
|
-
const userExtId =
|
|
13389
|
+
const userExtId = chunkZZZYVNFW_cjs.useArbiSession().user?.external_id;
|
|
13377
13390
|
const subscribe = React.useCallback(
|
|
13378
|
-
(onChange) =>
|
|
13391
|
+
(onChange) => chunk26SZ3DS4_cjs.onOfflineMailChange((change) => {
|
|
13379
13392
|
if (change === "settings") onChange();
|
|
13380
13393
|
}),
|
|
13381
13394
|
[]
|
|
13382
13395
|
);
|
|
13383
13396
|
const raw = React.useSyncExternalStore(
|
|
13384
13397
|
subscribe,
|
|
13385
|
-
() => JSON.stringify([userExtId,
|
|
13398
|
+
() => JSON.stringify([userExtId, chunk26SZ3DS4_cjs.getOfflineMailSettings(userExtId)])
|
|
13386
13399
|
);
|
|
13387
13400
|
const settings = React.useMemo(() => JSON.parse(raw)[1], [raw]);
|
|
13388
13401
|
const update2 = React.useCallback(
|
|
13389
|
-
(patch) => void
|
|
13402
|
+
(patch) => void chunk26SZ3DS4_cjs.setOfflineMailSettings(userExtId, patch),
|
|
13390
13403
|
[userExtId]
|
|
13391
13404
|
);
|
|
13392
13405
|
return [settings, update2];
|
|
@@ -13396,7 +13409,7 @@ function useOfflineMailStatus() {
|
|
|
13396
13409
|
const status = useStoreValue(getOfflineMailStatus, EMPTY_STATUS, ["status", "mailbox"]);
|
|
13397
13410
|
const [syncing2, setSyncing] = React.useState(isMailSyncRunning);
|
|
13398
13411
|
React.useEffect(
|
|
13399
|
-
() =>
|
|
13412
|
+
() => chunk26SZ3DS4_cjs.onOfflineMailChange((change) => {
|
|
13400
13413
|
if (change === "status") setSyncing(isMailSyncRunning());
|
|
13401
13414
|
}),
|
|
13402
13415
|
[]
|
|
@@ -13438,7 +13451,7 @@ function useSyncOfflineMailbox() {
|
|
|
13438
13451
|
async function storeExists() {
|
|
13439
13452
|
try {
|
|
13440
13453
|
const databases = await indexedDB.databases?.();
|
|
13441
|
-
return databases ? databases.some((d) => d.name ===
|
|
13454
|
+
return databases ? databases.some((d) => d.name === chunk26SZ3DS4_cjs.OFFLINE_MAIL_DB) : true;
|
|
13442
13455
|
} catch {
|
|
13443
13456
|
return true;
|
|
13444
13457
|
}
|
|
@@ -13496,7 +13509,7 @@ function useDisconnectConnector() {
|
|
|
13496
13509
|
);
|
|
13497
13510
|
}
|
|
13498
13511
|
function useConnectorVendorVisibility() {
|
|
13499
|
-
const { data: settings } =
|
|
13512
|
+
const { data: settings } = chunk26SZ3DS4_cjs.useUserSettings();
|
|
13500
13513
|
return (vendorKey) => browser.isConnectorVendorVisible(settings, vendorKey);
|
|
13501
13514
|
}
|
|
13502
13515
|
function connectorReturnTo(reopen) {
|
|
@@ -13674,7 +13687,7 @@ function checkNowAndOnFocus(check) {
|
|
|
13674
13687
|
function useConnectorAutoSync(workspaceExtId, opened) {
|
|
13675
13688
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
13676
13689
|
const qc = reactQuery.useQueryClient();
|
|
13677
|
-
const hasMail =
|
|
13690
|
+
const hasMail = chunk26SZ3DS4_cjs.useIsEntitled("mail");
|
|
13678
13691
|
React.useEffect(() => {
|
|
13679
13692
|
if (!opened || !workspaceExtId || !arbi.isLoggedIn) return;
|
|
13680
13693
|
return checkNowAndOnFocus(() => {
|
|
@@ -14292,7 +14305,7 @@ var OfflineCalendarLockedError = class extends Error {
|
|
|
14292
14305
|
this.name = "OfflineCalendarLockedError";
|
|
14293
14306
|
}
|
|
14294
14307
|
};
|
|
14295
|
-
var store =
|
|
14308
|
+
var store = chunk26SZ3DS4_cjs.createRecordStore(OFFLINE_CALENDAR_DB);
|
|
14296
14309
|
var sealer = client.createOfflineSealer("arbi-offline-calendar-v1", {
|
|
14297
14310
|
locked: () => new OfflineCalendarLockedError()
|
|
14298
14311
|
});
|
|
@@ -14571,7 +14584,7 @@ async function replay(arbi, queryClient) {
|
|
|
14571
14584
|
);
|
|
14572
14585
|
}
|
|
14573
14586
|
function useCalendarOfflineRuntime() {
|
|
14574
|
-
const { status, serverSessionKey, user } =
|
|
14587
|
+
const { status, serverSessionKey, user } = chunkZZZYVNFW_cjs.useArbiSession();
|
|
14575
14588
|
const userExtId = user?.external_id;
|
|
14576
14589
|
const authenticated = status === "signed-in";
|
|
14577
14590
|
const hasSession = !!serverSessionKey;
|
|
@@ -14628,7 +14641,7 @@ function useWorkspaceDocs(workspaceId) {
|
|
|
14628
14641
|
return { wsId: workspaceId, docs, docIds, isLoading, isError, ready: docIds.length > 0 };
|
|
14629
14642
|
}
|
|
14630
14643
|
function useAiTask() {
|
|
14631
|
-
const mutation =
|
|
14644
|
+
const mutation = chunkZZZYVNFW_cjs.useAssistantQuery();
|
|
14632
14645
|
const [status, setStatus] = React.useState("idle");
|
|
14633
14646
|
const [text2, setText] = React.useState("");
|
|
14634
14647
|
const [stepCount, setStepCount] = React.useState(0);
|
|
@@ -15792,7 +15805,7 @@ function ActivityFeed({
|
|
|
15792
15805
|
enabled,
|
|
15793
15806
|
"data-testid": testId = "activity-feed"
|
|
15794
15807
|
}) {
|
|
15795
|
-
const { data, isLoading, isError } =
|
|
15808
|
+
const { data, isLoading, isError } = chunkZZZYVNFW_cjs.useActivity({ limit, enabled });
|
|
15796
15809
|
if (isLoading) {
|
|
15797
15810
|
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: [
|
|
15798
15811
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-4 w-4 shrink-0 animate-pulse rounded-full bg-muted" }),
|
|
@@ -16770,7 +16783,7 @@ function useChatUnreadTotal() {
|
|
|
16770
16783
|
function useUnreadByPeer() {
|
|
16771
16784
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
16772
16785
|
const { data = [] } = useChats();
|
|
16773
|
-
const me =
|
|
16786
|
+
const me = chunk26SZ3DS4_cjs.myChatId(arbi);
|
|
16774
16787
|
return React.useMemo(() => {
|
|
16775
16788
|
const out = /* @__PURE__ */ new Map();
|
|
16776
16789
|
for (const c of data) {
|
|
@@ -16860,13 +16873,13 @@ function useChatPost() {
|
|
|
16860
16873
|
const queryClient = reactQuery.useQueryClient();
|
|
16861
16874
|
return React.useCallback(
|
|
16862
16875
|
async (target, post) => {
|
|
16863
|
-
const me =
|
|
16876
|
+
const me = chunk26SZ3DS4_cjs.myChatId(arbi);
|
|
16864
16877
|
if (!me) throw new Error("No active session");
|
|
16865
16878
|
let chat = target.chat;
|
|
16866
16879
|
if (!chat) {
|
|
16867
16880
|
if (!target.peerExtId) throw new Error("Could not resolve the conversation");
|
|
16868
16881
|
chat = await arbi.chats.openDirect(target.peerExtId);
|
|
16869
|
-
|
|
16882
|
+
chunk26SZ3DS4_cjs.upsertChat(queryClient, chat);
|
|
16870
16883
|
queryClient.setQueryData(
|
|
16871
16884
|
chunkFE6ZSNZE_cjs.arbiQueryKeys.chatThread(chat.external_id),
|
|
16872
16885
|
(old) => old ?? { messages: [], hasMore: false }
|
|
@@ -16889,7 +16902,7 @@ function useChatPost() {
|
|
|
16889
16902
|
updated_at: now,
|
|
16890
16903
|
optimistic: true
|
|
16891
16904
|
};
|
|
16892
|
-
|
|
16905
|
+
chunk26SZ3DS4_cjs.appendToThread(queryClient, chat.external_id, optimistic);
|
|
16893
16906
|
try {
|
|
16894
16907
|
let attachments = [];
|
|
16895
16908
|
if (files.length) {
|
|
@@ -16909,15 +16922,15 @@ function useChatPost() {
|
|
|
16909
16922
|
...post.workspaceExtId ? { workspaceExtId: post.workspaceExtId } : {},
|
|
16910
16923
|
contextOnly: !!post.contextOnly
|
|
16911
16924
|
});
|
|
16912
|
-
|
|
16913
|
-
|
|
16925
|
+
chunk26SZ3DS4_cjs.appendToThread(queryClient, chat.external_id, message, optimisticId);
|
|
16926
|
+
chunk26SZ3DS4_cjs.upsertChat(queryClient, {
|
|
16914
16927
|
...chat,
|
|
16915
16928
|
last_message: message,
|
|
16916
16929
|
last_message_at: message.created_at
|
|
16917
16930
|
});
|
|
16918
16931
|
return { chat, message };
|
|
16919
16932
|
} catch (err) {
|
|
16920
|
-
|
|
16933
|
+
chunk26SZ3DS4_cjs.dropFromThread(queryClient, chat.external_id, optimisticId);
|
|
16921
16934
|
void queryClient.invalidateQueries({ queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.chatList() });
|
|
16922
16935
|
throw err;
|
|
16923
16936
|
}
|
|
@@ -16929,7 +16942,7 @@ function useDeleteChatMessage() {
|
|
|
16929
16942
|
const arbi = chunkFE6ZSNZE_cjs.useArbi();
|
|
16930
16943
|
const queryClient = reactQuery.useQueryClient();
|
|
16931
16944
|
return React.useCallback(
|
|
16932
|
-
(chatExtId, messageExtId) =>
|
|
16945
|
+
(chatExtId, messageExtId) => chunk26SZ3DS4_cjs.deleteChatMessage(arbi, queryClient, chatExtId, messageExtId),
|
|
16933
16946
|
[arbi, queryClient]
|
|
16934
16947
|
);
|
|
16935
16948
|
}
|
|
@@ -16938,7 +16951,7 @@ function useMarkChatRead() {
|
|
|
16938
16951
|
const queryClient = reactQuery.useQueryClient();
|
|
16939
16952
|
return React.useCallback(
|
|
16940
16953
|
(chat, messageExtId) => {
|
|
16941
|
-
|
|
16954
|
+
chunk26SZ3DS4_cjs.upsertChat(queryClient, { ...chat, unread_count: 0 });
|
|
16942
16955
|
return arbi.chats.markRead(chat.external_id, messageExtId).then(
|
|
16943
16956
|
() => void 0,
|
|
16944
16957
|
() => void 0
|
|
@@ -16952,7 +16965,7 @@ function useCreateGroupChat() {
|
|
|
16952
16965
|
const queryClient = reactQuery.useQueryClient();
|
|
16953
16966
|
return reactQuery.useMutation({
|
|
16954
16967
|
mutationFn: (params) => arbi.chats.createGroup(params),
|
|
16955
|
-
onSuccess: (chat) =>
|
|
16968
|
+
onSuccess: (chat) => chunk26SZ3DS4_cjs.upsertChat(queryClient, chat)
|
|
16956
16969
|
});
|
|
16957
16970
|
}
|
|
16958
16971
|
function useRenameChat() {
|
|
@@ -16960,7 +16973,7 @@ function useRenameChat() {
|
|
|
16960
16973
|
const queryClient = reactQuery.useQueryClient();
|
|
16961
16974
|
return reactQuery.useMutation({
|
|
16962
16975
|
mutationFn: (vars) => arbi.chats.rename(vars.chat, vars.title),
|
|
16963
|
-
onSuccess: (chat) =>
|
|
16976
|
+
onSuccess: (chat) => chunk26SZ3DS4_cjs.upsertChat(queryClient, chat)
|
|
16964
16977
|
});
|
|
16965
16978
|
}
|
|
16966
16979
|
function useAddChatMembers() {
|
|
@@ -16968,7 +16981,7 @@ function useAddChatMembers() {
|
|
|
16968
16981
|
const queryClient = reactQuery.useQueryClient();
|
|
16969
16982
|
return reactQuery.useMutation({
|
|
16970
16983
|
mutationFn: (vars) => arbi.chats.addMembers(vars.chat, vars.members, { callKey: vars.callKey }),
|
|
16971
|
-
onSuccess: (chat) =>
|
|
16984
|
+
onSuccess: (chat) => chunk26SZ3DS4_cjs.upsertChat(queryClient, chat)
|
|
16972
16985
|
});
|
|
16973
16986
|
}
|
|
16974
16987
|
function useRemoveChatMember() {
|
|
@@ -16977,7 +16990,7 @@ function useRemoveChatMember() {
|
|
|
16977
16990
|
return reactQuery.useMutation({
|
|
16978
16991
|
mutationFn: (vars) => arbi.chats.removeMember(vars.chat, vars.userExtId),
|
|
16979
16992
|
onSuccess: (_data, vars) => {
|
|
16980
|
-
if (vars.userExtId ===
|
|
16993
|
+
if (vars.userExtId === chunk26SZ3DS4_cjs.myChatId(arbi)) chunk26SZ3DS4_cjs.removeChat(queryClient, vars.chat.external_id);
|
|
16981
16994
|
else return queryClient.invalidateQueries({ queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.chatList() });
|
|
16982
16995
|
}
|
|
16983
16996
|
});
|
|
@@ -16987,11 +17000,11 @@ function useChatArrivals(onArrival) {
|
|
|
16987
17000
|
const queryClient = reactQuery.useQueryClient();
|
|
16988
17001
|
useArbiWsMessage("chat.message", (message) => {
|
|
16989
17002
|
const senderId = message.message.sender_ext_id;
|
|
16990
|
-
if (!senderId || senderId ===
|
|
16991
|
-
if (message.message.kind !== "text" ||
|
|
17003
|
+
if (!senderId || senderId === chunk26SZ3DS4_cjs.myChatId(arbi)) return;
|
|
17004
|
+
if (message.message.kind !== "text" || chunk26SZ3DS4_cjs.getOpenChat() === message.chat_ext_id) return;
|
|
16992
17005
|
const muted = queryClient.getQueriesData({ queryKey: chunkFE6ZSNZE_cjs.arbiQueryKeys.userSettings() }).map(([, data]) => data).find(Boolean)?.muted_users;
|
|
16993
17006
|
if (muted?.includes(senderId)) return;
|
|
16994
|
-
const chat =
|
|
17007
|
+
const chat = chunk26SZ3DS4_cjs.cachedChat(queryClient, message.chat_ext_id);
|
|
16995
17008
|
const sender = chat?.members.find((m) => m.user.external_id === senderId)?.user;
|
|
16996
17009
|
onArrival({
|
|
16997
17010
|
chatId: message.chat_ext_id,
|
|
@@ -17207,7 +17220,7 @@ var REMOTE_CONTROL_VIEW = "actions.remoteControl";
|
|
|
17207
17220
|
var OFF = { enabled: false, pending: null, controllingAgent: null };
|
|
17208
17221
|
var remoteControlStateOf = (state) => state.views.transient[REMOTE_CONTROL_VIEW] ?? OFF;
|
|
17209
17222
|
function useRemoteControl(selector) {
|
|
17210
|
-
return
|
|
17223
|
+
return chunkZZZYVNFW_cjs.useArbiSessionState((state) => selector(remoteControlStateOf(state)));
|
|
17211
17224
|
}
|
|
17212
17225
|
function remoteControlActions(session) {
|
|
17213
17226
|
const update2 = (change) => {
|
|
@@ -17299,775 +17312,775 @@ function useRateSupportTicket() {
|
|
|
17299
17312
|
|
|
17300
17313
|
Object.defineProperty(exports, "AUDIENCE_CHOICES", {
|
|
17301
17314
|
enumerable: true,
|
|
17302
|
-
get: function () { return
|
|
17315
|
+
get: function () { return chunk26SZ3DS4_cjs.AUDIENCE_CHOICES; }
|
|
17303
17316
|
});
|
|
17304
17317
|
Object.defineProperty(exports, "CALL_CAPTION_TOPIC", {
|
|
17305
17318
|
enumerable: true,
|
|
17306
|
-
get: function () { return
|
|
17319
|
+
get: function () { return chunk26SZ3DS4_cjs.CALL_CAPTION_TOPIC; }
|
|
17307
17320
|
});
|
|
17308
17321
|
Object.defineProperty(exports, "CALL_CHAT_MAX_CHARS", {
|
|
17309
17322
|
enumerable: true,
|
|
17310
|
-
get: function () { return
|
|
17323
|
+
get: function () { return chunk26SZ3DS4_cjs.CALL_CHAT_MAX_CHARS; }
|
|
17311
17324
|
});
|
|
17312
17325
|
Object.defineProperty(exports, "CALL_CHAT_TOPIC", {
|
|
17313
17326
|
enumerable: true,
|
|
17314
|
-
get: function () { return
|
|
17327
|
+
get: function () { return chunk26SZ3DS4_cjs.CALL_CHAT_TOPIC; }
|
|
17315
17328
|
});
|
|
17316
17329
|
Object.defineProperty(exports, "CALL_MODERATION_TOPIC", {
|
|
17317
17330
|
enumerable: true,
|
|
17318
|
-
get: function () { return
|
|
17331
|
+
get: function () { return chunk26SZ3DS4_cjs.CALL_MODERATION_TOPIC; }
|
|
17319
17332
|
});
|
|
17320
17333
|
Object.defineProperty(exports, "CALL_RECORDING_TOPIC", {
|
|
17321
17334
|
enumerable: true,
|
|
17322
|
-
get: function () { return
|
|
17335
|
+
get: function () { return chunk26SZ3DS4_cjs.CALL_RECORDING_TOPIC; }
|
|
17323
17336
|
});
|
|
17324
17337
|
Object.defineProperty(exports, "CALL_TRANSCRIPTION_TOPIC", {
|
|
17325
17338
|
enumerable: true,
|
|
17326
|
-
get: function () { return
|
|
17339
|
+
get: function () { return chunk26SZ3DS4_cjs.CALL_TRANSCRIPTION_TOPIC; }
|
|
17327
17340
|
});
|
|
17328
17341
|
Object.defineProperty(exports, "CALL_WEBINAR_TOPIC", {
|
|
17329
17342
|
enumerable: true,
|
|
17330
|
-
get: function () { return
|
|
17343
|
+
get: function () { return chunk26SZ3DS4_cjs.CALL_WEBINAR_TOPIC; }
|
|
17331
17344
|
});
|
|
17332
17345
|
Object.defineProperty(exports, "CAPTION_MAX_CHARS", {
|
|
17333
17346
|
enumerable: true,
|
|
17334
|
-
get: function () { return
|
|
17347
|
+
get: function () { return chunk26SZ3DS4_cjs.CAPTION_MAX_CHARS; }
|
|
17335
17348
|
});
|
|
17336
17349
|
Object.defineProperty(exports, "COMPOSITE_AUDIO_BITS_PER_SECOND", {
|
|
17337
17350
|
enumerable: true,
|
|
17338
|
-
get: function () { return
|
|
17351
|
+
get: function () { return chunk26SZ3DS4_cjs.COMPOSITE_AUDIO_BITS_PER_SECOND; }
|
|
17339
17352
|
});
|
|
17340
17353
|
Object.defineProperty(exports, "COMPOSITE_VIDEO_BITS_PER_SECOND", {
|
|
17341
17354
|
enumerable: true,
|
|
17342
|
-
get: function () { return
|
|
17355
|
+
get: function () { return chunk26SZ3DS4_cjs.COMPOSITE_VIDEO_BITS_PER_SECOND; }
|
|
17343
17356
|
});
|
|
17344
17357
|
Object.defineProperty(exports, "DEFAULT_JOIN_CHOICES", {
|
|
17345
17358
|
enumerable: true,
|
|
17346
|
-
get: function () { return
|
|
17359
|
+
get: function () { return chunk26SZ3DS4_cjs.DEFAULT_JOIN_CHOICES; }
|
|
17347
17360
|
});
|
|
17348
17361
|
Object.defineProperty(exports, "EMPTY_CALL_SESSION", {
|
|
17349
17362
|
enumerable: true,
|
|
17350
|
-
get: function () { return
|
|
17363
|
+
get: function () { return chunk26SZ3DS4_cjs.EMPTY_CALL_SESSION; }
|
|
17351
17364
|
});
|
|
17352
17365
|
Object.defineProperty(exports, "EXPORT_SAMPLE_RATE", {
|
|
17353
17366
|
enumerable: true,
|
|
17354
|
-
get: function () { return
|
|
17367
|
+
get: function () { return chunk26SZ3DS4_cjs.EXPORT_SAMPLE_RATE; }
|
|
17355
17368
|
});
|
|
17356
17369
|
Object.defineProperty(exports, "HISTORY_LIMIT", {
|
|
17357
17370
|
enumerable: true,
|
|
17358
|
-
get: function () { return
|
|
17371
|
+
get: function () { return chunk26SZ3DS4_cjs.HISTORY_LIMIT; }
|
|
17359
17372
|
});
|
|
17360
17373
|
Object.defineProperty(exports, "LIVE_SEGMENTER", {
|
|
17361
17374
|
enumerable: true,
|
|
17362
|
-
get: function () { return
|
|
17375
|
+
get: function () { return chunk26SZ3DS4_cjs.LIVE_SEGMENTER; }
|
|
17363
17376
|
});
|
|
17364
17377
|
Object.defineProperty(exports, "MAX_AVATAR_FILE_BYTES", {
|
|
17365
17378
|
enumerable: true,
|
|
17366
|
-
get: function () { return
|
|
17379
|
+
get: function () { return chunk26SZ3DS4_cjs.MAX_AVATAR_FILE_BYTES; }
|
|
17367
17380
|
});
|
|
17368
17381
|
Object.defineProperty(exports, "MUTED_DEDUPE_MS", {
|
|
17369
17382
|
enumerable: true,
|
|
17370
|
-
get: function () { return
|
|
17383
|
+
get: function () { return chunk26SZ3DS4_cjs.MUTED_DEDUPE_MS; }
|
|
17371
17384
|
});
|
|
17372
17385
|
Object.defineProperty(exports, "PLAYBACK_LOOKAHEAD_MS", {
|
|
17373
17386
|
enumerable: true,
|
|
17374
|
-
get: function () { return
|
|
17387
|
+
get: function () { return chunk26SZ3DS4_cjs.PLAYBACK_LOOKAHEAD_MS; }
|
|
17375
17388
|
});
|
|
17376
17389
|
Object.defineProperty(exports, "READ_ONLY_MEETING_TEXT", {
|
|
17377
17390
|
enumerable: true,
|
|
17378
|
-
get: function () { return
|
|
17391
|
+
get: function () { return chunk26SZ3DS4_cjs.READ_ONLY_MEETING_TEXT; }
|
|
17379
17392
|
});
|
|
17380
17393
|
Object.defineProperty(exports, "RECORDING_CHUNK_MS", {
|
|
17381
17394
|
enumerable: true,
|
|
17382
|
-
get: function () { return
|
|
17395
|
+
get: function () { return chunk26SZ3DS4_cjs.RECORDING_CHUNK_MS; }
|
|
17383
17396
|
});
|
|
17384
17397
|
Object.defineProperty(exports, "RECORDING_SEGMENTER", {
|
|
17385
17398
|
enumerable: true,
|
|
17386
|
-
get: function () { return
|
|
17399
|
+
get: function () { return chunk26SZ3DS4_cjs.RECORDING_SEGMENTER; }
|
|
17387
17400
|
});
|
|
17388
17401
|
Object.defineProperty(exports, "SEGMENT_FRAME_MS", {
|
|
17389
17402
|
enumerable: true,
|
|
17390
|
-
get: function () { return
|
|
17403
|
+
get: function () { return chunk26SZ3DS4_cjs.SEGMENT_FRAME_MS; }
|
|
17391
17404
|
});
|
|
17392
17405
|
Object.defineProperty(exports, "SEGMENT_ID_PATTERN", {
|
|
17393
17406
|
enumerable: true,
|
|
17394
|
-
get: function () { return
|
|
17407
|
+
get: function () { return chunk26SZ3DS4_cjs.SEGMENT_ID_PATTERN; }
|
|
17395
17408
|
});
|
|
17396
17409
|
Object.defineProperty(exports, "SEGMENT_PRE_ROLL_MS", {
|
|
17397
17410
|
enumerable: true,
|
|
17398
|
-
get: function () { return
|
|
17411
|
+
get: function () { return chunk26SZ3DS4_cjs.SEGMENT_PRE_ROLL_MS; }
|
|
17399
17412
|
});
|
|
17400
17413
|
Object.defineProperty(exports, "SHORT_PIECE_MERGE_GAP_MS", {
|
|
17401
17414
|
enumerable: true,
|
|
17402
|
-
get: function () { return
|
|
17415
|
+
get: function () { return chunk26SZ3DS4_cjs.SHORT_PIECE_MERGE_GAP_MS; }
|
|
17403
17416
|
});
|
|
17404
17417
|
Object.defineProperty(exports, "SPEAKER_AUDIO_BITS_PER_SECOND", {
|
|
17405
17418
|
enumerable: true,
|
|
17406
|
-
get: function () { return
|
|
17419
|
+
get: function () { return chunk26SZ3DS4_cjs.SPEAKER_AUDIO_BITS_PER_SECOND; }
|
|
17407
17420
|
});
|
|
17408
17421
|
Object.defineProperty(exports, "TrackUploader", {
|
|
17409
17422
|
enumerable: true,
|
|
17410
|
-
get: function () { return
|
|
17423
|
+
get: function () { return chunk26SZ3DS4_cjs.TrackUploader; }
|
|
17411
17424
|
});
|
|
17412
17425
|
Object.defineProperty(exports, "UPLOAD_ATTEMPTS", {
|
|
17413
17426
|
enumerable: true,
|
|
17414
|
-
get: function () { return
|
|
17427
|
+
get: function () { return chunk26SZ3DS4_cjs.UPLOAD_ATTEMPTS; }
|
|
17415
17428
|
});
|
|
17416
17429
|
Object.defineProperty(exports, "UPLOAD_BACKOFF_MS", {
|
|
17417
17430
|
enumerable: true,
|
|
17418
|
-
get: function () { return
|
|
17431
|
+
get: function () { return chunk26SZ3DS4_cjs.UPLOAD_BACKOFF_MS; }
|
|
17419
17432
|
});
|
|
17420
17433
|
Object.defineProperty(exports, "acceptRing", {
|
|
17421
17434
|
enumerable: true,
|
|
17422
|
-
get: function () { return
|
|
17435
|
+
get: function () { return chunk26SZ3DS4_cjs.acceptRing; }
|
|
17423
17436
|
});
|
|
17424
17437
|
Object.defineProperty(exports, "addConversationToList", {
|
|
17425
17438
|
enumerable: true,
|
|
17426
|
-
get: function () { return
|
|
17439
|
+
get: function () { return chunk26SZ3DS4_cjs.addConversationToList; }
|
|
17427
17440
|
});
|
|
17428
17441
|
Object.defineProperty(exports, "appendToThread", {
|
|
17429
17442
|
enumerable: true,
|
|
17430
|
-
get: function () { return
|
|
17443
|
+
get: function () { return chunk26SZ3DS4_cjs.appendToThread; }
|
|
17431
17444
|
});
|
|
17432
17445
|
Object.defineProperty(exports, "applyAgentDmStatus", {
|
|
17433
17446
|
enumerable: true,
|
|
17434
|
-
get: function () { return
|
|
17447
|
+
get: function () { return chunk26SZ3DS4_cjs.applyAgentDmStatus; }
|
|
17435
17448
|
});
|
|
17436
17449
|
Object.defineProperty(exports, "applyCallEvent", {
|
|
17437
17450
|
enumerable: true,
|
|
17438
|
-
get: function () { return
|
|
17451
|
+
get: function () { return chunk26SZ3DS4_cjs.applyCallEvent; }
|
|
17439
17452
|
});
|
|
17440
17453
|
Object.defineProperty(exports, "applyChatEvent", {
|
|
17441
17454
|
enumerable: true,
|
|
17442
|
-
get: function () { return
|
|
17455
|
+
get: function () { return chunk26SZ3DS4_cjs.applyChatEvent; }
|
|
17443
17456
|
});
|
|
17444
17457
|
Object.defineProperty(exports, "applyChatMessage", {
|
|
17445
17458
|
enumerable: true,
|
|
17446
|
-
get: function () { return
|
|
17459
|
+
get: function () { return chunk26SZ3DS4_cjs.applyChatMessage; }
|
|
17447
17460
|
});
|
|
17448
17461
|
Object.defineProperty(exports, "applyChatRead", {
|
|
17449
17462
|
enumerable: true,
|
|
17450
|
-
get: function () { return
|
|
17463
|
+
get: function () { return chunk26SZ3DS4_cjs.applyChatRead; }
|
|
17451
17464
|
});
|
|
17452
17465
|
Object.defineProperty(exports, "applyChatUpdated", {
|
|
17453
17466
|
enumerable: true,
|
|
17454
|
-
get: function () { return
|
|
17467
|
+
get: function () { return chunk26SZ3DS4_cjs.applyChatUpdated; }
|
|
17455
17468
|
});
|
|
17456
17469
|
Object.defineProperty(exports, "arbiAccountClient", {
|
|
17457
17470
|
enumerable: true,
|
|
17458
|
-
get: function () { return
|
|
17471
|
+
get: function () { return chunk26SZ3DS4_cjs.arbiAccountClient; }
|
|
17459
17472
|
});
|
|
17460
17473
|
Object.defineProperty(exports, "buildMeetingChatBody", {
|
|
17461
17474
|
enumerable: true,
|
|
17462
|
-
get: function () { return
|
|
17475
|
+
get: function () { return chunk26SZ3DS4_cjs.buildMeetingChatBody; }
|
|
17463
17476
|
});
|
|
17464
17477
|
Object.defineProperty(exports, "cachedChat", {
|
|
17465
17478
|
enumerable: true,
|
|
17466
|
-
get: function () { return
|
|
17479
|
+
get: function () { return chunk26SZ3DS4_cjs.cachedChat; }
|
|
17467
17480
|
});
|
|
17468
17481
|
Object.defineProperty(exports, "cachedChats", {
|
|
17469
17482
|
enumerable: true,
|
|
17470
|
-
get: function () { return
|
|
17483
|
+
get: function () { return chunk26SZ3DS4_cjs.cachedChats; }
|
|
17471
17484
|
});
|
|
17472
17485
|
Object.defineProperty(exports, "callLink", {
|
|
17473
17486
|
enumerable: true,
|
|
17474
|
-
get: function () { return
|
|
17487
|
+
get: function () { return chunk26SZ3DS4_cjs.callLink; }
|
|
17475
17488
|
});
|
|
17476
17489
|
Object.defineProperty(exports, "callMemberKeys", {
|
|
17477
17490
|
enumerable: true,
|
|
17478
|
-
get: function () { return
|
|
17491
|
+
get: function () { return chunk26SZ3DS4_cjs.callMemberKeys; }
|
|
17479
17492
|
});
|
|
17480
17493
|
Object.defineProperty(exports, "callSession", {
|
|
17481
17494
|
enumerable: true,
|
|
17482
|
-
get: function () { return
|
|
17495
|
+
get: function () { return chunk26SZ3DS4_cjs.callSession; }
|
|
17483
17496
|
});
|
|
17484
17497
|
Object.defineProperty(exports, "chatByExtId", {
|
|
17485
17498
|
enumerable: true,
|
|
17486
|
-
get: function () { return
|
|
17499
|
+
get: function () { return chunk26SZ3DS4_cjs.chatByExtId; }
|
|
17487
17500
|
});
|
|
17488
17501
|
Object.defineProperty(exports, "chatHasLiveCall", {
|
|
17489
17502
|
enumerable: true,
|
|
17490
|
-
get: function () { return
|
|
17503
|
+
get: function () { return chunk26SZ3DS4_cjs.chatHasLiveCall; }
|
|
17491
17504
|
});
|
|
17492
17505
|
Object.defineProperty(exports, "chatLiveCallId", {
|
|
17493
17506
|
enumerable: true,
|
|
17494
|
-
get: function () { return
|
|
17507
|
+
get: function () { return chunk26SZ3DS4_cjs.chatLiveCallId; }
|
|
17495
17508
|
});
|
|
17496
17509
|
Object.defineProperty(exports, "chatTranscriptRef", {
|
|
17497
17510
|
enumerable: true,
|
|
17498
|
-
get: function () { return
|
|
17511
|
+
get: function () { return chunk26SZ3DS4_cjs.chatTranscriptRef; }
|
|
17499
17512
|
});
|
|
17500
17513
|
Object.defineProperty(exports, "clearMeetingChatCache", {
|
|
17501
17514
|
enumerable: true,
|
|
17502
|
-
get: function () { return
|
|
17515
|
+
get: function () { return chunk26SZ3DS4_cjs.clearMeetingChatCache; }
|
|
17503
17516
|
});
|
|
17504
17517
|
Object.defineProperty(exports, "clearTrackUploaders", {
|
|
17505
17518
|
enumerable: true,
|
|
17506
|
-
get: function () { return
|
|
17519
|
+
get: function () { return chunk26SZ3DS4_cjs.clearTrackUploaders; }
|
|
17507
17520
|
});
|
|
17508
17521
|
Object.defineProperty(exports, "clockTime", {
|
|
17509
17522
|
enumerable: true,
|
|
17510
|
-
get: function () { return
|
|
17523
|
+
get: function () { return chunk26SZ3DS4_cjs.clockTime; }
|
|
17511
17524
|
});
|
|
17512
17525
|
Object.defineProperty(exports, "compositeFiles", {
|
|
17513
17526
|
enumerable: true,
|
|
17514
|
-
get: function () { return
|
|
17527
|
+
get: function () { return chunk26SZ3DS4_cjs.compositeFiles; }
|
|
17515
17528
|
});
|
|
17516
17529
|
Object.defineProperty(exports, "compositeTrack", {
|
|
17517
17530
|
enumerable: true,
|
|
17518
|
-
get: function () { return
|
|
17531
|
+
get: function () { return chunk26SZ3DS4_cjs.compositeTrack; }
|
|
17519
17532
|
});
|
|
17520
17533
|
Object.defineProperty(exports, "conversationKeyForCall", {
|
|
17521
17534
|
enumerable: true,
|
|
17522
|
-
get: function () { return
|
|
17535
|
+
get: function () { return chunk26SZ3DS4_cjs.conversationKeyForCall; }
|
|
17523
17536
|
});
|
|
17524
17537
|
Object.defineProperty(exports, "createLocalFeatureStore", {
|
|
17525
17538
|
enumerable: true,
|
|
17526
|
-
get: function () { return
|
|
17539
|
+
get: function () { return chunk26SZ3DS4_cjs.createLocalFeatureStore; }
|
|
17527
17540
|
});
|
|
17528
17541
|
Object.defineProperty(exports, "createMutedNotifier", {
|
|
17529
17542
|
enumerable: true,
|
|
17530
|
-
get: function () { return
|
|
17543
|
+
get: function () { return chunk26SZ3DS4_cjs.createMutedNotifier; }
|
|
17531
17544
|
});
|
|
17532
17545
|
Object.defineProperty(exports, "createTrackCutter", {
|
|
17533
17546
|
enumerable: true,
|
|
17534
|
-
get: function () { return
|
|
17547
|
+
get: function () { return chunk26SZ3DS4_cjs.createTrackCutter; }
|
|
17535
17548
|
});
|
|
17536
17549
|
Object.defineProperty(exports, "cutAtPauses", {
|
|
17537
17550
|
enumerable: true,
|
|
17538
|
-
get: function () { return
|
|
17551
|
+
get: function () { return chunk26SZ3DS4_cjs.cutAtPauses; }
|
|
17539
17552
|
});
|
|
17540
17553
|
Object.defineProperty(exports, "declineRing", {
|
|
17541
17554
|
enumerable: true,
|
|
17542
|
-
get: function () { return
|
|
17555
|
+
get: function () { return chunk26SZ3DS4_cjs.declineRing; }
|
|
17543
17556
|
});
|
|
17544
17557
|
Object.defineProperty(exports, "decodeCallChatPacket", {
|
|
17545
17558
|
enumerable: true,
|
|
17546
|
-
get: function () { return
|
|
17559
|
+
get: function () { return chunk26SZ3DS4_cjs.decodeCallChatPacket; }
|
|
17547
17560
|
});
|
|
17548
17561
|
Object.defineProperty(exports, "decodeCaptionPacket", {
|
|
17549
17562
|
enumerable: true,
|
|
17550
|
-
get: function () { return
|
|
17563
|
+
get: function () { return chunk26SZ3DS4_cjs.decodeCaptionPacket; }
|
|
17551
17564
|
});
|
|
17552
17565
|
Object.defineProperty(exports, "decodeMono16k", {
|
|
17553
17566
|
enumerable: true,
|
|
17554
|
-
get: function () { return
|
|
17567
|
+
get: function () { return chunk26SZ3DS4_cjs.decodeMono16k; }
|
|
17555
17568
|
});
|
|
17556
17569
|
Object.defineProperty(exports, "decryptPart", {
|
|
17557
17570
|
enumerable: true,
|
|
17558
|
-
get: function () { return
|
|
17571
|
+
get: function () { return chunk26SZ3DS4_cjs.decryptPart; }
|
|
17559
17572
|
});
|
|
17560
17573
|
Object.defineProperty(exports, "encodeCallChatPacket", {
|
|
17561
17574
|
enumerable: true,
|
|
17562
|
-
get: function () { return
|
|
17575
|
+
get: function () { return chunk26SZ3DS4_cjs.encodeCallChatPacket; }
|
|
17563
17576
|
});
|
|
17564
17577
|
Object.defineProperty(exports, "encodeCaptionPacket", {
|
|
17565
17578
|
enumerable: true,
|
|
17566
|
-
get: function () { return
|
|
17579
|
+
get: function () { return chunk26SZ3DS4_cjs.encodeCaptionPacket; }
|
|
17567
17580
|
});
|
|
17568
17581
|
Object.defineProperty(exports, "encodeWav", {
|
|
17569
17582
|
enumerable: true,
|
|
17570
|
-
get: function () { return
|
|
17583
|
+
get: function () { return chunk26SZ3DS4_cjs.encodeWav; }
|
|
17571
17584
|
});
|
|
17572
17585
|
Object.defineProperty(exports, "encryptPart", {
|
|
17573
17586
|
enumerable: true,
|
|
17574
|
-
get: function () { return
|
|
17587
|
+
get: function () { return chunk26SZ3DS4_cjs.encryptPart; }
|
|
17575
17588
|
});
|
|
17576
17589
|
Object.defineProperty(exports, "ensureMeetingChat", {
|
|
17577
17590
|
enumerable: true,
|
|
17578
|
-
get: function () { return
|
|
17591
|
+
get: function () { return chunk26SZ3DS4_cjs.ensureMeetingChat; }
|
|
17579
17592
|
});
|
|
17580
17593
|
Object.defineProperty(exports, "entitlementRefusal", {
|
|
17581
17594
|
enumerable: true,
|
|
17582
|
-
get: function () { return
|
|
17595
|
+
get: function () { return chunk26SZ3DS4_cjs.entitlementRefusal; }
|
|
17583
17596
|
});
|
|
17584
17597
|
Object.defineProperty(exports, "extensionFor", {
|
|
17585
17598
|
enumerable: true,
|
|
17586
|
-
get: function () { return
|
|
17599
|
+
get: function () { return chunk26SZ3DS4_cjs.extensionFor; }
|
|
17587
17600
|
});
|
|
17588
17601
|
Object.defineProperty(exports, "fetchPart", {
|
|
17589
17602
|
enumerable: true,
|
|
17590
|
-
get: function () { return
|
|
17603
|
+
get: function () { return chunk26SZ3DS4_cjs.fetchPart; }
|
|
17591
17604
|
});
|
|
17592
17605
|
Object.defineProperty(exports, "fileSafe", {
|
|
17593
17606
|
enumerable: true,
|
|
17594
|
-
get: function () { return
|
|
17607
|
+
get: function () { return chunk26SZ3DS4_cjs.fileSafe; }
|
|
17595
17608
|
});
|
|
17596
17609
|
Object.defineProperty(exports, "findConversation", {
|
|
17597
17610
|
enumerable: true,
|
|
17598
|
-
get: function () { return
|
|
17611
|
+
get: function () { return chunk26SZ3DS4_cjs.findConversation; }
|
|
17599
17612
|
});
|
|
17600
17613
|
Object.defineProperty(exports, "floatToWav", {
|
|
17601
17614
|
enumerable: true,
|
|
17602
|
-
get: function () { return
|
|
17615
|
+
get: function () { return chunk26SZ3DS4_cjs.floatToWav; }
|
|
17603
17616
|
});
|
|
17604
17617
|
Object.defineProperty(exports, "formatTranscriptMarkdown", {
|
|
17605
17618
|
enumerable: true,
|
|
17606
|
-
get: function () { return
|
|
17619
|
+
get: function () { return chunk26SZ3DS4_cjs.formatTranscriptMarkdown; }
|
|
17607
17620
|
});
|
|
17608
17621
|
Object.defineProperty(exports, "getOpenChat", {
|
|
17609
17622
|
enumerable: true,
|
|
17610
|
-
get: function () { return
|
|
17623
|
+
get: function () { return chunk26SZ3DS4_cjs.getOpenChat; }
|
|
17611
17624
|
});
|
|
17612
17625
|
Object.defineProperty(exports, "hasRecordingTranscript", {
|
|
17613
17626
|
enumerable: true,
|
|
17614
|
-
get: function () { return
|
|
17627
|
+
get: function () { return chunk26SZ3DS4_cjs.hasRecordingTranscript; }
|
|
17615
17628
|
});
|
|
17616
17629
|
Object.defineProperty(exports, "invalidateCall", {
|
|
17617
17630
|
enumerable: true,
|
|
17618
|
-
get: function () { return
|
|
17631
|
+
get: function () { return chunk26SZ3DS4_cjs.invalidateCall; }
|
|
17619
17632
|
});
|
|
17620
17633
|
Object.defineProperty(exports, "invalidateConversationDetails", {
|
|
17621
17634
|
enumerable: true,
|
|
17622
|
-
get: function () { return
|
|
17635
|
+
get: function () { return chunk26SZ3DS4_cjs.invalidateConversationDetails; }
|
|
17623
17636
|
});
|
|
17624
17637
|
Object.defineProperty(exports, "invalidateConversationLists", {
|
|
17625
17638
|
enumerable: true,
|
|
17626
|
-
get: function () { return
|
|
17639
|
+
get: function () { return chunk26SZ3DS4_cjs.invalidateConversationLists; }
|
|
17627
17640
|
});
|
|
17628
17641
|
Object.defineProperty(exports, "isConversationListKey", {
|
|
17629
17642
|
enumerable: true,
|
|
17630
|
-
get: function () { return
|
|
17643
|
+
get: function () { return chunk26SZ3DS4_cjs.isConversationListKey; }
|
|
17631
17644
|
});
|
|
17632
17645
|
Object.defineProperty(exports, "isConversationShared", {
|
|
17633
17646
|
enumerable: true,
|
|
17634
|
-
get: function () { return
|
|
17647
|
+
get: function () { return chunk26SZ3DS4_cjs.isConversationShared; }
|
|
17635
17648
|
});
|
|
17636
17649
|
Object.defineProperty(exports, "isRecordingOver", {
|
|
17637
17650
|
enumerable: true,
|
|
17638
|
-
get: function () { return
|
|
17651
|
+
get: function () { return chunk26SZ3DS4_cjs.isRecordingOver; }
|
|
17639
17652
|
});
|
|
17640
17653
|
Object.defineProperty(exports, "isRecordingSegmentId", {
|
|
17641
17654
|
enumerable: true,
|
|
17642
|
-
get: function () { return
|
|
17655
|
+
get: function () { return chunk26SZ3DS4_cjs.isRecordingSegmentId; }
|
|
17643
17656
|
});
|
|
17644
17657
|
Object.defineProperty(exports, "isRetryable", {
|
|
17645
17658
|
enumerable: true,
|
|
17646
|
-
get: function () { return
|
|
17659
|
+
get: function () { return chunk26SZ3DS4_cjs.isRetryable; }
|
|
17647
17660
|
});
|
|
17648
17661
|
Object.defineProperty(exports, "isWorkspaceGuestOf", {
|
|
17649
17662
|
enumerable: true,
|
|
17650
|
-
get: function () { return
|
|
17663
|
+
get: function () { return chunk26SZ3DS4_cjs.isWorkspaceGuestOf; }
|
|
17651
17664
|
});
|
|
17652
17665
|
Object.defineProperty(exports, "joinFromPreJoin", {
|
|
17653
17666
|
enumerable: true,
|
|
17654
|
-
get: function () { return
|
|
17667
|
+
get: function () { return chunk26SZ3DS4_cjs.joinFromPreJoin; }
|
|
17655
17668
|
});
|
|
17656
17669
|
Object.defineProperty(exports, "knownMeetingChat", {
|
|
17657
17670
|
enumerable: true,
|
|
17658
|
-
get: function () { return
|
|
17671
|
+
get: function () { return chunk26SZ3DS4_cjs.knownMeetingChat; }
|
|
17659
17672
|
});
|
|
17660
17673
|
Object.defineProperty(exports, "loadMeetingHistory", {
|
|
17661
17674
|
enumerable: true,
|
|
17662
|
-
get: function () { return
|
|
17675
|
+
get: function () { return chunk26SZ3DS4_cjs.loadMeetingHistory; }
|
|
17663
17676
|
});
|
|
17664
17677
|
Object.defineProperty(exports, "markRejoining", {
|
|
17665
17678
|
enumerable: true,
|
|
17666
|
-
get: function () { return
|
|
17679
|
+
get: function () { return chunk26SZ3DS4_cjs.markRejoining; }
|
|
17667
17680
|
});
|
|
17668
17681
|
Object.defineProperty(exports, "meetingChatRefFrom", {
|
|
17669
17682
|
enumerable: true,
|
|
17670
|
-
get: function () { return
|
|
17683
|
+
get: function () { return chunk26SZ3DS4_cjs.meetingChatRefFrom; }
|
|
17671
17684
|
});
|
|
17672
17685
|
Object.defineProperty(exports, "meetingRefForCall", {
|
|
17673
17686
|
enumerable: true,
|
|
17674
|
-
get: function () { return
|
|
17687
|
+
get: function () { return chunk26SZ3DS4_cjs.meetingRefForCall; }
|
|
17675
17688
|
});
|
|
17676
17689
|
Object.defineProperty(exports, "mergeChatLines", {
|
|
17677
17690
|
enumerable: true,
|
|
17678
|
-
get: function () { return
|
|
17691
|
+
get: function () { return chunk26SZ3DS4_cjs.mergeChatLines; }
|
|
17679
17692
|
});
|
|
17680
17693
|
Object.defineProperty(exports, "mutedNoticeFromEvent", {
|
|
17681
17694
|
enumerable: true,
|
|
17682
|
-
get: function () { return
|
|
17695
|
+
get: function () { return chunk26SZ3DS4_cjs.mutedNoticeFromEvent; }
|
|
17683
17696
|
});
|
|
17684
17697
|
Object.defineProperty(exports, "mutedNoticeFromPacket", {
|
|
17685
17698
|
enumerable: true,
|
|
17686
|
-
get: function () { return
|
|
17699
|
+
get: function () { return chunk26SZ3DS4_cjs.mutedNoticeFromPacket; }
|
|
17687
17700
|
});
|
|
17688
17701
|
Object.defineProperty(exports, "mutedNoticeText", {
|
|
17689
17702
|
enumerable: true,
|
|
17690
|
-
get: function () { return
|
|
17703
|
+
get: function () { return chunk26SZ3DS4_cjs.mutedNoticeText; }
|
|
17691
17704
|
});
|
|
17692
17705
|
Object.defineProperty(exports, "myChatId", {
|
|
17693
17706
|
enumerable: true,
|
|
17694
|
-
get: function () { return
|
|
17707
|
+
get: function () { return chunk26SZ3DS4_cjs.myChatId; }
|
|
17695
17708
|
});
|
|
17696
17709
|
Object.defineProperty(exports, "newPacketId", {
|
|
17697
17710
|
enumerable: true,
|
|
17698
|
-
get: function () { return
|
|
17711
|
+
get: function () { return chunk26SZ3DS4_cjs.newPacketId; }
|
|
17699
17712
|
});
|
|
17700
17713
|
Object.defineProperty(exports, "newSegmentId", {
|
|
17701
17714
|
enumerable: true,
|
|
17702
|
-
get: function () { return
|
|
17715
|
+
get: function () { return chunk26SZ3DS4_cjs.newSegmentId; }
|
|
17703
17716
|
});
|
|
17704
17717
|
Object.defineProperty(exports, "newTrackKey", {
|
|
17705
17718
|
enumerable: true,
|
|
17706
|
-
get: function () { return
|
|
17719
|
+
get: function () { return chunk26SZ3DS4_cjs.newTrackKey; }
|
|
17707
17720
|
});
|
|
17708
17721
|
Object.defineProperty(exports, "nextSeqAfter", {
|
|
17709
17722
|
enumerable: true,
|
|
17710
|
-
get: function () { return
|
|
17723
|
+
get: function () { return chunk26SZ3DS4_cjs.nextSeqAfter; }
|
|
17711
17724
|
});
|
|
17712
17725
|
Object.defineProperty(exports, "onCallEvent", {
|
|
17713
17726
|
enumerable: true,
|
|
17714
|
-
get: function () { return
|
|
17727
|
+
get: function () { return chunk26SZ3DS4_cjs.onCallEvent; }
|
|
17715
17728
|
});
|
|
17716
17729
|
Object.defineProperty(exports, "openCall", {
|
|
17717
17730
|
enumerable: true,
|
|
17718
|
-
get: function () { return
|
|
17731
|
+
get: function () { return chunk26SZ3DS4_cjs.openCall; }
|
|
17719
17732
|
});
|
|
17720
17733
|
Object.defineProperty(exports, "openQuestion", {
|
|
17721
17734
|
enumerable: true,
|
|
17722
|
-
get: function () { return
|
|
17735
|
+
get: function () { return chunk26SZ3DS4_cjs.openQuestion; }
|
|
17723
17736
|
});
|
|
17724
17737
|
Object.defineProperty(exports, "openRecording", {
|
|
17725
17738
|
enumerable: true,
|
|
17726
|
-
get: function () { return
|
|
17739
|
+
get: function () { return chunk26SZ3DS4_cjs.openRecording; }
|
|
17727
17740
|
});
|
|
17728
17741
|
Object.defineProperty(exports, "parseWebinarPacket", {
|
|
17729
17742
|
enumerable: true,
|
|
17730
|
-
get: function () { return
|
|
17743
|
+
get: function () { return chunk26SZ3DS4_cjs.parseWebinarPacket; }
|
|
17731
17744
|
});
|
|
17732
17745
|
Object.defineProperty(exports, "partKey", {
|
|
17733
17746
|
enumerable: true,
|
|
17734
|
-
get: function () { return
|
|
17747
|
+
get: function () { return chunk26SZ3DS4_cjs.partKey; }
|
|
17735
17748
|
});
|
|
17736
17749
|
Object.defineProperty(exports, "partOffsetMs", {
|
|
17737
17750
|
enumerable: true,
|
|
17738
|
-
get: function () { return
|
|
17751
|
+
get: function () { return chunk26SZ3DS4_cjs.partOffsetMs; }
|
|
17739
17752
|
});
|
|
17740
17753
|
Object.defineProperty(exports, "partsDue", {
|
|
17741
17754
|
enumerable: true,
|
|
17742
|
-
get: function () { return
|
|
17755
|
+
get: function () { return chunk26SZ3DS4_cjs.partsDue; }
|
|
17743
17756
|
});
|
|
17744
17757
|
Object.defineProperty(exports, "patchConversation", {
|
|
17745
17758
|
enumerable: true,
|
|
17746
|
-
get: function () { return
|
|
17759
|
+
get: function () { return chunk26SZ3DS4_cjs.patchConversation; }
|
|
17747
17760
|
});
|
|
17748
17761
|
Object.defineProperty(exports, "patchConversationList", {
|
|
17749
17762
|
enumerable: true,
|
|
17750
|
-
get: function () { return
|
|
17763
|
+
get: function () { return chunk26SZ3DS4_cjs.patchConversationList; }
|
|
17751
17764
|
});
|
|
17752
17765
|
Object.defineProperty(exports, "persistMeetingMessage", {
|
|
17753
17766
|
enumerable: true,
|
|
17754
|
-
get: function () { return
|
|
17767
|
+
get: function () { return chunk26SZ3DS4_cjs.persistMeetingMessage; }
|
|
17755
17768
|
});
|
|
17756
17769
|
Object.defineProperty(exports, "persistTranscriptSegment", {
|
|
17757
17770
|
enumerable: true,
|
|
17758
|
-
get: function () { return
|
|
17771
|
+
get: function () { return chunk26SZ3DS4_cjs.persistTranscriptSegment; }
|
|
17759
17772
|
});
|
|
17760
17773
|
Object.defineProperty(exports, "playheadAt", {
|
|
17761
17774
|
enumerable: true,
|
|
17762
|
-
get: function () { return
|
|
17775
|
+
get: function () { return chunk26SZ3DS4_cjs.playheadAt; }
|
|
17763
17776
|
});
|
|
17764
17777
|
Object.defineProperty(exports, "postRecordingDocsToThread", {
|
|
17765
17778
|
enumerable: true,
|
|
17766
|
-
get: function () { return
|
|
17779
|
+
get: function () { return chunk26SZ3DS4_cjs.postRecordingDocsToThread; }
|
|
17767
17780
|
});
|
|
17768
17781
|
Object.defineProperty(exports, "postTranscriptToThread", {
|
|
17769
17782
|
enumerable: true,
|
|
17770
|
-
get: function () { return
|
|
17783
|
+
get: function () { return chunk26SZ3DS4_cjs.postTranscriptToThread; }
|
|
17771
17784
|
});
|
|
17772
17785
|
Object.defineProperty(exports, "readLocalFeature", {
|
|
17773
17786
|
enumerable: true,
|
|
17774
|
-
get: function () { return
|
|
17787
|
+
get: function () { return chunk26SZ3DS4_cjs.readLocalFeature; }
|
|
17775
17788
|
});
|
|
17776
17789
|
Object.defineProperty(exports, "recordingFiles", {
|
|
17777
17790
|
enumerable: true,
|
|
17778
|
-
get: function () { return
|
|
17791
|
+
get: function () { return chunk26SZ3DS4_cjs.recordingFiles; }
|
|
17779
17792
|
});
|
|
17780
17793
|
Object.defineProperty(exports, "recordingWindowsOf", {
|
|
17781
17794
|
enumerable: true,
|
|
17782
|
-
get: function () { return
|
|
17795
|
+
get: function () { return chunk26SZ3DS4_cjs.recordingWindowsOf; }
|
|
17783
17796
|
});
|
|
17784
17797
|
Object.defineProperty(exports, "rejoinAsAudience", {
|
|
17785
17798
|
enumerable: true,
|
|
17786
|
-
get: function () { return
|
|
17799
|
+
get: function () { return chunk26SZ3DS4_cjs.rejoinAsAudience; }
|
|
17787
17800
|
});
|
|
17788
17801
|
Object.defineProperty(exports, "removeChat", {
|
|
17789
17802
|
enumerable: true,
|
|
17790
|
-
get: function () { return
|
|
17803
|
+
get: function () { return chunk26SZ3DS4_cjs.removeChat; }
|
|
17791
17804
|
});
|
|
17792
17805
|
Object.defineProperty(exports, "removeConversationFromLists", {
|
|
17793
17806
|
enumerable: true,
|
|
17794
|
-
get: function () { return
|
|
17807
|
+
get: function () { return chunk26SZ3DS4_cjs.removeConversationFromLists; }
|
|
17795
17808
|
});
|
|
17796
17809
|
Object.defineProperty(exports, "resetCallSession", {
|
|
17797
17810
|
enumerable: true,
|
|
17798
|
-
get: function () { return
|
|
17811
|
+
get: function () { return chunk26SZ3DS4_cjs.resetCallSession; }
|
|
17799
17812
|
});
|
|
17800
17813
|
Object.defineProperty(exports, "resolveMeetingChat", {
|
|
17801
17814
|
enumerable: true,
|
|
17802
|
-
get: function () { return
|
|
17815
|
+
get: function () { return chunk26SZ3DS4_cjs.resolveMeetingChat; }
|
|
17803
17816
|
});
|
|
17804
17817
|
Object.defineProperty(exports, "saveRecordingFilesToThread", {
|
|
17805
17818
|
enumerable: true,
|
|
17806
|
-
get: function () { return
|
|
17819
|
+
get: function () { return chunk26SZ3DS4_cjs.saveRecordingFilesToThread; }
|
|
17807
17820
|
});
|
|
17808
17821
|
Object.defineProperty(exports, "schedulePart", {
|
|
17809
17822
|
enumerable: true,
|
|
17810
|
-
get: function () { return
|
|
17823
|
+
get: function () { return chunk26SZ3DS4_cjs.schedulePart; }
|
|
17811
17824
|
});
|
|
17812
17825
|
Object.defineProperty(exports, "sealQuestionText", {
|
|
17813
17826
|
enumerable: true,
|
|
17814
|
-
get: function () { return
|
|
17827
|
+
get: function () { return chunk26SZ3DS4_cjs.sealQuestionText; }
|
|
17815
17828
|
});
|
|
17816
17829
|
Object.defineProperty(exports, "serverCallsExperimental", {
|
|
17817
17830
|
enumerable: true,
|
|
17818
|
-
get: function () { return
|
|
17831
|
+
get: function () { return chunk26SZ3DS4_cjs.serverCallsExperimental; }
|
|
17819
17832
|
});
|
|
17820
17833
|
Object.defineProperty(exports, "setOpenChat", {
|
|
17821
17834
|
enumerable: true,
|
|
17822
|
-
get: function () { return
|
|
17835
|
+
get: function () { return chunk26SZ3DS4_cjs.setOpenChat; }
|
|
17823
17836
|
});
|
|
17824
17837
|
Object.defineProperty(exports, "sortTranscriptMessages", {
|
|
17825
17838
|
enumerable: true,
|
|
17826
|
-
get: function () { return
|
|
17839
|
+
get: function () { return chunk26SZ3DS4_cjs.sortTranscriptMessages; }
|
|
17827
17840
|
});
|
|
17828
17841
|
Object.defineProperty(exports, "sortedParts", {
|
|
17829
17842
|
enumerable: true,
|
|
17830
|
-
get: function () { return
|
|
17843
|
+
get: function () { return chunk26SZ3DS4_cjs.sortedParts; }
|
|
17831
17844
|
});
|
|
17832
17845
|
Object.defineProperty(exports, "speakerTracks", {
|
|
17833
17846
|
enumerable: true,
|
|
17834
|
-
get: function () { return
|
|
17847
|
+
get: function () { return chunk26SZ3DS4_cjs.speakerTracks; }
|
|
17835
17848
|
});
|
|
17836
17849
|
Object.defineProperty(exports, "speakerWav", {
|
|
17837
17850
|
enumerable: true,
|
|
17838
|
-
get: function () { return
|
|
17851
|
+
get: function () { return chunk26SZ3DS4_cjs.speakerWav; }
|
|
17839
17852
|
});
|
|
17840
17853
|
Object.defineProperty(exports, "splitIntoFiles", {
|
|
17841
17854
|
enumerable: true,
|
|
17842
|
-
get: function () { return
|
|
17855
|
+
get: function () { return chunk26SZ3DS4_cjs.splitIntoFiles; }
|
|
17843
17856
|
});
|
|
17844
17857
|
Object.defineProperty(exports, "standalone", {
|
|
17845
17858
|
enumerable: true,
|
|
17846
|
-
get: function () { return
|
|
17859
|
+
get: function () { return chunk26SZ3DS4_cjs.standalone; }
|
|
17847
17860
|
});
|
|
17848
17861
|
Object.defineProperty(exports, "startChatCall", {
|
|
17849
17862
|
enumerable: true,
|
|
17850
|
-
get: function () { return
|
|
17863
|
+
get: function () { return chunk26SZ3DS4_cjs.startChatCall; }
|
|
17851
17864
|
});
|
|
17852
17865
|
Object.defineProperty(exports, "startContactsCall", {
|
|
17853
17866
|
enumerable: true,
|
|
17854
|
-
get: function () { return
|
|
17867
|
+
get: function () { return chunk26SZ3DS4_cjs.startContactsCall; }
|
|
17855
17868
|
});
|
|
17856
17869
|
Object.defineProperty(exports, "startDmCall", {
|
|
17857
17870
|
enumerable: true,
|
|
17858
|
-
get: function () { return
|
|
17871
|
+
get: function () { return chunk26SZ3DS4_cjs.startDmCall; }
|
|
17859
17872
|
});
|
|
17860
17873
|
Object.defineProperty(exports, "startThreadCall", {
|
|
17861
17874
|
enumerable: true,
|
|
17862
|
-
get: function () { return
|
|
17875
|
+
get: function () { return chunk26SZ3DS4_cjs.startThreadCall; }
|
|
17863
17876
|
});
|
|
17864
17877
|
Object.defineProperty(exports, "startsMediaFile", {
|
|
17865
17878
|
enumerable: true,
|
|
17866
|
-
get: function () { return
|
|
17879
|
+
get: function () { return chunk26SZ3DS4_cjs.startsMediaFile; }
|
|
17867
17880
|
});
|
|
17868
17881
|
Object.defineProperty(exports, "storeTranscriptSegment", {
|
|
17869
17882
|
enumerable: true,
|
|
17870
|
-
get: function () { return
|
|
17883
|
+
get: function () { return chunk26SZ3DS4_cjs.storeTranscriptSegment; }
|
|
17871
17884
|
});
|
|
17872
17885
|
Object.defineProperty(exports, "stripSpeakerPrefix", {
|
|
17873
17886
|
enumerable: true,
|
|
17874
|
-
get: function () { return
|
|
17887
|
+
get: function () { return chunk26SZ3DS4_cjs.stripSpeakerPrefix; }
|
|
17875
17888
|
});
|
|
17876
17889
|
Object.defineProperty(exports, "supersedeLiveTranscript", {
|
|
17877
17890
|
enumerable: true,
|
|
17878
|
-
get: function () { return
|
|
17891
|
+
get: function () { return chunk26SZ3DS4_cjs.supersedeLiveTranscript; }
|
|
17879
17892
|
});
|
|
17880
17893
|
Object.defineProperty(exports, "supersededTranscriptLines", {
|
|
17881
17894
|
enumerable: true,
|
|
17882
|
-
get: function () { return
|
|
17895
|
+
get: function () { return chunk26SZ3DS4_cjs.supersededTranscriptLines; }
|
|
17883
17896
|
});
|
|
17884
17897
|
Object.defineProperty(exports, "threadHasLiveCall", {
|
|
17885
17898
|
enumerable: true,
|
|
17886
|
-
get: function () { return
|
|
17899
|
+
get: function () { return chunk26SZ3DS4_cjs.threadHasLiveCall; }
|
|
17887
17900
|
});
|
|
17888
17901
|
Object.defineProperty(exports, "threadLiveCallId", {
|
|
17889
17902
|
enumerable: true,
|
|
17890
|
-
get: function () { return
|
|
17903
|
+
get: function () { return chunk26SZ3DS4_cjs.threadLiveCallId; }
|
|
17891
17904
|
});
|
|
17892
17905
|
Object.defineProperty(exports, "threadTranscriptLines", {
|
|
17893
17906
|
enumerable: true,
|
|
17894
|
-
get: function () { return
|
|
17907
|
+
get: function () { return chunk26SZ3DS4_cjs.threadTranscriptLines; }
|
|
17895
17908
|
});
|
|
17896
17909
|
Object.defineProperty(exports, "threadTranscriptRef", {
|
|
17897
17910
|
enumerable: true,
|
|
17898
|
-
get: function () { return
|
|
17911
|
+
get: function () { return chunk26SZ3DS4_cjs.threadTranscriptRef; }
|
|
17899
17912
|
});
|
|
17900
17913
|
Object.defineProperty(exports, "threadTranscriptText", {
|
|
17901
17914
|
enumerable: true,
|
|
17902
|
-
get: function () { return
|
|
17915
|
+
get: function () { return chunk26SZ3DS4_cjs.threadTranscriptText; }
|
|
17903
17916
|
});
|
|
17904
17917
|
Object.defineProperty(exports, "timelineDurationMs", {
|
|
17905
17918
|
enumerable: true,
|
|
17906
|
-
get: function () { return
|
|
17919
|
+
get: function () { return chunk26SZ3DS4_cjs.timelineDurationMs; }
|
|
17907
17920
|
});
|
|
17908
17921
|
Object.defineProperty(exports, "timelineOf", {
|
|
17909
17922
|
enumerable: true,
|
|
17910
|
-
get: function () { return
|
|
17923
|
+
get: function () { return chunk26SZ3DS4_cjs.timelineOf; }
|
|
17911
17924
|
});
|
|
17912
17925
|
Object.defineProperty(exports, "toProfileView", {
|
|
17913
17926
|
enumerable: true,
|
|
17914
|
-
get: function () { return
|
|
17927
|
+
get: function () { return chunk26SZ3DS4_cjs.toProfileView; }
|
|
17915
17928
|
});
|
|
17916
17929
|
Object.defineProperty(exports, "trackUploaderFor", {
|
|
17917
17930
|
enumerable: true,
|
|
17918
|
-
get: function () { return
|
|
17931
|
+
get: function () { return chunk26SZ3DS4_cjs.trackUploaderFor; }
|
|
17919
17932
|
});
|
|
17920
17933
|
Object.defineProperty(exports, "transcribeRecording", {
|
|
17921
17934
|
enumerable: true,
|
|
17922
|
-
get: function () { return
|
|
17935
|
+
get: function () { return chunk26SZ3DS4_cjs.transcribeRecording; }
|
|
17923
17936
|
});
|
|
17924
17937
|
Object.defineProperty(exports, "transcriptPersistRole", {
|
|
17925
17938
|
enumerable: true,
|
|
17926
|
-
get: function () { return
|
|
17939
|
+
get: function () { return chunk26SZ3DS4_cjs.transcriptPersistRole; }
|
|
17927
17940
|
});
|
|
17928
17941
|
Object.defineProperty(exports, "transcriptSegmentOf", {
|
|
17929
17942
|
enumerable: true,
|
|
17930
|
-
get: function () { return
|
|
17943
|
+
get: function () { return chunk26SZ3DS4_cjs.transcriptSegmentOf; }
|
|
17931
17944
|
});
|
|
17932
17945
|
Object.defineProperty(exports, "unwrapTrackKey", {
|
|
17933
17946
|
enumerable: true,
|
|
17934
|
-
get: function () { return
|
|
17947
|
+
get: function () { return chunk26SZ3DS4_cjs.unwrapTrackKey; }
|
|
17935
17948
|
});
|
|
17936
17949
|
Object.defineProperty(exports, "upsertChat", {
|
|
17937
17950
|
enumerable: true,
|
|
17938
|
-
get: function () { return
|
|
17951
|
+
get: function () { return chunk26SZ3DS4_cjs.upsertChat; }
|
|
17939
17952
|
});
|
|
17940
17953
|
Object.defineProperty(exports, "useAccountClient", {
|
|
17941
17954
|
enumerable: true,
|
|
17942
|
-
get: function () { return
|
|
17955
|
+
get: function () { return chunk26SZ3DS4_cjs.useAccountClient; }
|
|
17943
17956
|
});
|
|
17944
17957
|
Object.defineProperty(exports, "useAvatarCrop", {
|
|
17945
17958
|
enumerable: true,
|
|
17946
|
-
get: function () { return
|
|
17959
|
+
get: function () { return chunk26SZ3DS4_cjs.useAvatarCrop; }
|
|
17947
17960
|
});
|
|
17948
17961
|
Object.defineProperty(exports, "useCall", {
|
|
17949
17962
|
enumerable: true,
|
|
17950
|
-
get: function () { return
|
|
17963
|
+
get: function () { return chunk26SZ3DS4_cjs.useCall; }
|
|
17951
17964
|
});
|
|
17952
17965
|
Object.defineProperty(exports, "useCallInviteLinks", {
|
|
17953
17966
|
enumerable: true,
|
|
17954
|
-
get: function () { return
|
|
17967
|
+
get: function () { return chunk26SZ3DS4_cjs.useCallInviteLinks; }
|
|
17955
17968
|
});
|
|
17956
17969
|
Object.defineProperty(exports, "useCallRecording", {
|
|
17957
17970
|
enumerable: true,
|
|
17958
|
-
get: function () { return
|
|
17971
|
+
get: function () { return chunk26SZ3DS4_cjs.useCallRecording; }
|
|
17959
17972
|
});
|
|
17960
17973
|
Object.defineProperty(exports, "useCallRecordings", {
|
|
17961
17974
|
enumerable: true,
|
|
17962
|
-
get: function () { return
|
|
17975
|
+
get: function () { return chunk26SZ3DS4_cjs.useCallRecordings; }
|
|
17963
17976
|
});
|
|
17964
17977
|
Object.defineProperty(exports, "useCallSession", {
|
|
17965
17978
|
enumerable: true,
|
|
17966
|
-
get: function () { return
|
|
17979
|
+
get: function () { return chunk26SZ3DS4_cjs.useCallSession; }
|
|
17967
17980
|
});
|
|
17968
17981
|
Object.defineProperty(exports, "useCallTranscriptionAvailable", {
|
|
17969
17982
|
enumerable: true,
|
|
17970
|
-
get: function () { return
|
|
17983
|
+
get: function () { return chunk26SZ3DS4_cjs.useCallTranscriptionAvailable; }
|
|
17971
17984
|
});
|
|
17972
17985
|
Object.defineProperty(exports, "useCallsConfig", {
|
|
17973
17986
|
enumerable: true,
|
|
17974
|
-
get: function () { return
|
|
17987
|
+
get: function () { return chunk26SZ3DS4_cjs.useCallsConfig; }
|
|
17975
17988
|
});
|
|
17976
17989
|
Object.defineProperty(exports, "useCallsEnabled", {
|
|
17977
17990
|
enumerable: true,
|
|
17978
|
-
get: function () { return
|
|
17991
|
+
get: function () { return chunk26SZ3DS4_cjs.useCallsEnabled; }
|
|
17979
17992
|
});
|
|
17980
17993
|
Object.defineProperty(exports, "useCanHostCalls", {
|
|
17981
17994
|
enumerable: true,
|
|
17982
|
-
get: function () { return
|
|
17995
|
+
get: function () { return chunk26SZ3DS4_cjs.useCanHostCalls; }
|
|
17983
17996
|
});
|
|
17984
17997
|
Object.defineProperty(exports, "useEntitlements", {
|
|
17985
17998
|
enumerable: true,
|
|
17986
|
-
get: function () { return
|
|
17999
|
+
get: function () { return chunk26SZ3DS4_cjs.useEntitlements; }
|
|
17987
18000
|
});
|
|
17988
18001
|
Object.defineProperty(exports, "useFeature", {
|
|
17989
18002
|
enumerable: true,
|
|
17990
|
-
get: function () { return
|
|
18003
|
+
get: function () { return chunk26SZ3DS4_cjs.useFeature; }
|
|
17991
18004
|
});
|
|
17992
18005
|
Object.defineProperty(exports, "useFeatureCheck", {
|
|
17993
18006
|
enumerable: true,
|
|
17994
|
-
get: function () { return
|
|
18007
|
+
get: function () { return chunk26SZ3DS4_cjs.useFeatureCheck; }
|
|
17995
18008
|
});
|
|
17996
18009
|
Object.defineProperty(exports, "useFeatureSwitch", {
|
|
17997
18010
|
enumerable: true,
|
|
17998
|
-
get: function () { return
|
|
18011
|
+
get: function () { return chunk26SZ3DS4_cjs.useFeatureSwitch; }
|
|
17999
18012
|
});
|
|
18000
18013
|
Object.defineProperty(exports, "useInvalidateEntitlements", {
|
|
18001
18014
|
enumerable: true,
|
|
18002
|
-
get: function () { return
|
|
18015
|
+
get: function () { return chunk26SZ3DS4_cjs.useInvalidateEntitlements; }
|
|
18003
18016
|
});
|
|
18004
18017
|
Object.defineProperty(exports, "useIsEntitled", {
|
|
18005
18018
|
enumerable: true,
|
|
18006
|
-
get: function () { return
|
|
18019
|
+
get: function () { return chunk26SZ3DS4_cjs.useIsEntitled; }
|
|
18007
18020
|
});
|
|
18008
18021
|
Object.defineProperty(exports, "useMeetingReadOnly", {
|
|
18009
18022
|
enumerable: true,
|
|
18010
|
-
get: function () { return
|
|
18023
|
+
get: function () { return chunk26SZ3DS4_cjs.useMeetingReadOnly; }
|
|
18011
18024
|
});
|
|
18012
18025
|
Object.defineProperty(exports, "useNameEditor", {
|
|
18013
18026
|
enumerable: true,
|
|
18014
|
-
get: function () { return
|
|
18027
|
+
get: function () { return chunk26SZ3DS4_cjs.useNameEditor; }
|
|
18015
18028
|
});
|
|
18016
18029
|
Object.defineProperty(exports, "useOpenCallMeetingChat", {
|
|
18017
18030
|
enumerable: true,
|
|
18018
|
-
get: function () { return
|
|
18031
|
+
get: function () { return chunk26SZ3DS4_cjs.useOpenCallMeetingChat; }
|
|
18019
18032
|
});
|
|
18020
18033
|
Object.defineProperty(exports, "useProfile", {
|
|
18021
18034
|
enumerable: true,
|
|
18022
|
-
get: function () { return
|
|
18035
|
+
get: function () { return chunk26SZ3DS4_cjs.useProfile; }
|
|
18023
18036
|
});
|
|
18024
18037
|
Object.defineProperty(exports, "useRecordingActions", {
|
|
18025
18038
|
enumerable: true,
|
|
18026
|
-
get: function () { return
|
|
18039
|
+
get: function () { return chunk26SZ3DS4_cjs.useRecordingActions; }
|
|
18027
18040
|
});
|
|
18028
18041
|
Object.defineProperty(exports, "useRecordingWindows", {
|
|
18029
18042
|
enumerable: true,
|
|
18030
|
-
get: function () { return
|
|
18043
|
+
get: function () { return chunk26SZ3DS4_cjs.useRecordingWindows; }
|
|
18031
18044
|
});
|
|
18032
18045
|
Object.defineProperty(exports, "useRevokeCallInviteLink", {
|
|
18033
18046
|
enumerable: true,
|
|
18034
|
-
get: function () { return
|
|
18047
|
+
get: function () { return chunk26SZ3DS4_cjs.useRevokeCallInviteLink; }
|
|
18035
18048
|
});
|
|
18036
18049
|
Object.defineProperty(exports, "useSaveToThread", {
|
|
18037
18050
|
enumerable: true,
|
|
18038
|
-
get: function () { return
|
|
18051
|
+
get: function () { return chunk26SZ3DS4_cjs.useSaveToThread; }
|
|
18039
18052
|
});
|
|
18040
18053
|
Object.defineProperty(exports, "useServerCallsEnabled", {
|
|
18041
18054
|
enumerable: true,
|
|
18042
|
-
get: function () { return
|
|
18055
|
+
get: function () { return chunk26SZ3DS4_cjs.useServerCallsEnabled; }
|
|
18043
18056
|
});
|
|
18044
18057
|
Object.defineProperty(exports, "useServerCallsExperimental", {
|
|
18045
18058
|
enumerable: true,
|
|
18046
|
-
get: function () { return
|
|
18059
|
+
get: function () { return chunk26SZ3DS4_cjs.useServerCallsExperimental; }
|
|
18047
18060
|
});
|
|
18048
18061
|
Object.defineProperty(exports, "useUpdateProfile", {
|
|
18049
18062
|
enumerable: true,
|
|
18050
|
-
get: function () { return
|
|
18063
|
+
get: function () { return chunk26SZ3DS4_cjs.useUpdateProfile; }
|
|
18051
18064
|
});
|
|
18052
18065
|
Object.defineProperty(exports, "useUpdateUserSettings", {
|
|
18053
18066
|
enumerable: true,
|
|
18054
|
-
get: function () { return
|
|
18067
|
+
get: function () { return chunk26SZ3DS4_cjs.useUpdateUserSettings; }
|
|
18055
18068
|
});
|
|
18056
18069
|
Object.defineProperty(exports, "useUserSettings", {
|
|
18057
18070
|
enumerable: true,
|
|
18058
|
-
get: function () { return
|
|
18071
|
+
get: function () { return chunk26SZ3DS4_cjs.useUserSettings; }
|
|
18059
18072
|
});
|
|
18060
18073
|
Object.defineProperty(exports, "wipeOfflineMail", {
|
|
18061
18074
|
enumerable: true,
|
|
18062
|
-
get: function () { return
|
|
18075
|
+
get: function () { return chunk26SZ3DS4_cjs.wipeOfflineMail; }
|
|
18063
18076
|
});
|
|
18064
18077
|
Object.defineProperty(exports, "wrapTrackKey", {
|
|
18065
18078
|
enumerable: true,
|
|
18066
|
-
get: function () { return
|
|
18079
|
+
get: function () { return chunk26SZ3DS4_cjs.wrapTrackKey; }
|
|
18067
18080
|
});
|
|
18068
18081
|
Object.defineProperty(exports, "writeSamples", {
|
|
18069
18082
|
enumerable: true,
|
|
18070
|
-
get: function () { return
|
|
18083
|
+
get: function () { return chunk26SZ3DS4_cjs.writeSamples; }
|
|
18071
18084
|
});
|
|
18072
18085
|
Object.defineProperty(exports, "DISMISSED_TASK_TTL_MS", {
|
|
18073
18086
|
enumerable: true,
|
|
@@ -18255,331 +18268,335 @@ Object.defineProperty(exports, "useUpdateTagKindSchema", {
|
|
|
18255
18268
|
});
|
|
18256
18269
|
Object.defineProperty(exports, "DEFAULT_DOCUMENT_VIEWER_STATE", {
|
|
18257
18270
|
enumerable: true,
|
|
18258
|
-
get: function () { return
|
|
18271
|
+
get: function () { return chunkZZZYVNFW_cjs.DEFAULT_DOCUMENT_VIEWER_STATE; }
|
|
18259
18272
|
});
|
|
18260
18273
|
Object.defineProperty(exports, "DOCUMENT_VIEWER_PANEL", {
|
|
18261
18274
|
enumerable: true,
|
|
18262
|
-
get: function () { return
|
|
18275
|
+
get: function () { return chunkZZZYVNFW_cjs.DOCUMENT_VIEWER_PANEL; }
|
|
18263
18276
|
});
|
|
18264
18277
|
Object.defineProperty(exports, "EMPTY_CHAT_STATE", {
|
|
18265
18278
|
enumerable: true,
|
|
18266
|
-
get: function () { return
|
|
18279
|
+
get: function () { return chunkZZZYVNFW_cjs.EMPTY_CHAT_STATE; }
|
|
18267
18280
|
});
|
|
18268
18281
|
Object.defineProperty(exports, "EMPTY_DOCUMENT_STATE", {
|
|
18269
18282
|
enumerable: true,
|
|
18270
|
-
get: function () { return
|
|
18283
|
+
get: function () { return chunkZZZYVNFW_cjs.EMPTY_DOCUMENT_STATE; }
|
|
18271
18284
|
});
|
|
18272
18285
|
Object.defineProperty(exports, "EMPTY_SESSION_STATE", {
|
|
18273
18286
|
enumerable: true,
|
|
18274
|
-
get: function () { return
|
|
18287
|
+
get: function () { return chunkZZZYVNFW_cjs.EMPTY_SESSION_STATE; }
|
|
18275
18288
|
});
|
|
18276
18289
|
Object.defineProperty(exports, "MAX_THREAD_TABS", {
|
|
18277
18290
|
enumerable: true,
|
|
18278
|
-
get: function () { return
|
|
18291
|
+
get: function () { return chunkZZZYVNFW_cjs.MAX_THREAD_TABS; }
|
|
18279
18292
|
});
|
|
18280
18293
|
Object.defineProperty(exports, "MIN_QUEUED_MESSAGE_VISIBILITY_MS", {
|
|
18281
18294
|
enumerable: true,
|
|
18282
|
-
get: function () { return
|
|
18295
|
+
get: function () { return chunkZZZYVNFW_cjs.MIN_QUEUED_MESSAGE_VISIBILITY_MS; }
|
|
18283
18296
|
});
|
|
18284
18297
|
Object.defineProperty(exports, "PROJECT_CREATION_DENIED_REASON", {
|
|
18285
18298
|
enumerable: true,
|
|
18286
|
-
get: function () { return
|
|
18299
|
+
get: function () { return chunkZZZYVNFW_cjs.PROJECT_CREATION_DENIED_REASON; }
|
|
18287
18300
|
});
|
|
18288
18301
|
Object.defineProperty(exports, "WORKSPACE_LAST_OPENED_KEY", {
|
|
18289
18302
|
enumerable: true,
|
|
18290
|
-
get: function () { return
|
|
18303
|
+
get: function () { return chunkZZZYVNFW_cjs.WORKSPACE_LAST_OPENED_KEY; }
|
|
18291
18304
|
});
|
|
18292
18305
|
Object.defineProperty(exports, "WORKSPACE_STORAGE_KEY", {
|
|
18293
18306
|
enumerable: true,
|
|
18294
|
-
get: function () { return
|
|
18307
|
+
get: function () { return chunkZZZYVNFW_cjs.WORKSPACE_STORAGE_KEY; }
|
|
18295
18308
|
});
|
|
18296
18309
|
Object.defineProperty(exports, "agentControl", {
|
|
18297
18310
|
enumerable: true,
|
|
18298
|
-
get: function () { return
|
|
18311
|
+
get: function () { return chunkZZZYVNFW_cjs.agentControl; }
|
|
18299
18312
|
});
|
|
18300
18313
|
Object.defineProperty(exports, "browserWorkspaceStorage", {
|
|
18301
18314
|
enumerable: true,
|
|
18302
|
-
get: function () { return
|
|
18315
|
+
get: function () { return chunkZZZYVNFW_cjs.browserWorkspaceStorage; }
|
|
18303
18316
|
});
|
|
18304
18317
|
Object.defineProperty(exports, "clearSealedDrafts", {
|
|
18305
18318
|
enumerable: true,
|
|
18306
|
-
get: function () { return
|
|
18319
|
+
get: function () { return chunkZZZYVNFW_cjs.clearSealedDrafts; }
|
|
18307
18320
|
});
|
|
18308
18321
|
Object.defineProperty(exports, "closePanelIn", {
|
|
18309
18322
|
enumerable: true,
|
|
18310
|
-
get: function () { return
|
|
18323
|
+
get: function () { return chunkZZZYVNFW_cjs.closePanelIn; }
|
|
18311
18324
|
});
|
|
18312
18325
|
Object.defineProperty(exports, "composeArbiSessionStore", {
|
|
18313
18326
|
enumerable: true,
|
|
18314
|
-
get: function () { return
|
|
18327
|
+
get: function () { return chunkZZZYVNFW_cjs.composeArbiSessionStore; }
|
|
18315
18328
|
});
|
|
18316
18329
|
Object.defineProperty(exports, "conversationKey", {
|
|
18317
18330
|
enumerable: true,
|
|
18318
|
-
get: function () { return
|
|
18331
|
+
get: function () { return chunkZZZYVNFW_cjs.conversationKey; }
|
|
18319
18332
|
});
|
|
18320
18333
|
Object.defineProperty(exports, "createArbiChatStore", {
|
|
18321
18334
|
enumerable: true,
|
|
18322
|
-
get: function () { return
|
|
18335
|
+
get: function () { return chunkZZZYVNFW_cjs.createArbiChatStore; }
|
|
18323
18336
|
});
|
|
18324
18337
|
Object.defineProperty(exports, "createArbiDocumentSessionStore", {
|
|
18325
18338
|
enumerable: true,
|
|
18326
|
-
get: function () { return
|
|
18339
|
+
get: function () { return chunkZZZYVNFW_cjs.createArbiDocumentSessionStore; }
|
|
18327
18340
|
});
|
|
18328
18341
|
Object.defineProperty(exports, "createArbiLayoutStore", {
|
|
18329
18342
|
enumerable: true,
|
|
18330
|
-
get: function () { return
|
|
18343
|
+
get: function () { return chunkZZZYVNFW_cjs.createArbiLayoutStore; }
|
|
18331
18344
|
});
|
|
18332
18345
|
Object.defineProperty(exports, "createArbiSessionStore", {
|
|
18333
18346
|
enumerable: true,
|
|
18334
|
-
get: function () { return
|
|
18347
|
+
get: function () { return chunkZZZYVNFW_cjs.createArbiSessionStore; }
|
|
18335
18348
|
});
|
|
18336
18349
|
Object.defineProperty(exports, "createArbiWorkspaceStore", {
|
|
18337
18350
|
enumerable: true,
|
|
18338
|
-
get: function () { return
|
|
18351
|
+
get: function () { return chunkZZZYVNFW_cjs.createArbiWorkspaceStore; }
|
|
18352
|
+
});
|
|
18353
|
+
Object.defineProperty(exports, "createBrowserStateStorage", {
|
|
18354
|
+
enumerable: true,
|
|
18355
|
+
get: function () { return chunkZZZYVNFW_cjs.createBrowserStateStorage; }
|
|
18339
18356
|
});
|
|
18340
18357
|
Object.defineProperty(exports, "createDebouncedWriter", {
|
|
18341
18358
|
enumerable: true,
|
|
18342
|
-
get: function () { return
|
|
18359
|
+
get: function () { return chunkZZZYVNFW_cjs.createDebouncedWriter; }
|
|
18343
18360
|
});
|
|
18344
18361
|
Object.defineProperty(exports, "createSealedDraftStorage", {
|
|
18345
18362
|
enumerable: true,
|
|
18346
|
-
get: function () { return
|
|
18363
|
+
get: function () { return chunkZZZYVNFW_cjs.createSealedDraftStorage; }
|
|
18347
18364
|
});
|
|
18348
18365
|
Object.defineProperty(exports, "createStoragePersist", {
|
|
18349
18366
|
enumerable: true,
|
|
18350
|
-
get: function () { return
|
|
18367
|
+
get: function () { return chunkZZZYVNFW_cjs.createStoragePersist; }
|
|
18351
18368
|
});
|
|
18352
18369
|
Object.defineProperty(exports, "createUiStateStorage", {
|
|
18353
18370
|
enumerable: true,
|
|
18354
|
-
get: function () { return
|
|
18371
|
+
get: function () { return chunkZZZYVNFW_cjs.createUiStateStorage; }
|
|
18355
18372
|
});
|
|
18356
18373
|
Object.defineProperty(exports, "defaultLayoutState", {
|
|
18357
18374
|
enumerable: true,
|
|
18358
|
-
get: function () { return
|
|
18375
|
+
get: function () { return chunkZZZYVNFW_cjs.defaultLayoutState; }
|
|
18359
18376
|
});
|
|
18360
18377
|
Object.defineProperty(exports, "dmTabId", {
|
|
18361
18378
|
enumerable: true,
|
|
18362
|
-
get: function () { return
|
|
18379
|
+
get: function () { return chunkZZZYVNFW_cjs.dmTabId; }
|
|
18363
18380
|
});
|
|
18364
18381
|
Object.defineProperty(exports, "flushOnPageExit", {
|
|
18365
18382
|
enumerable: true,
|
|
18366
|
-
get: function () { return
|
|
18383
|
+
get: function () { return chunkZZZYVNFW_cjs.flushOnPageExit; }
|
|
18367
18384
|
});
|
|
18368
18385
|
Object.defineProperty(exports, "isPanelOpen", {
|
|
18369
18386
|
enumerable: true,
|
|
18370
|
-
get: function () { return
|
|
18387
|
+
get: function () { return chunkZZZYVNFW_cjs.isPanelOpen; }
|
|
18371
18388
|
});
|
|
18372
18389
|
Object.defineProperty(exports, "isUsageMetered", {
|
|
18373
18390
|
enumerable: true,
|
|
18374
|
-
get: function () { return
|
|
18391
|
+
get: function () { return chunkZZZYVNFW_cjs.isUsageMetered; }
|
|
18375
18392
|
});
|
|
18376
18393
|
Object.defineProperty(exports, "layoutActionsOf", {
|
|
18377
18394
|
enumerable: true,
|
|
18378
|
-
get: function () { return
|
|
18395
|
+
get: function () { return chunkZZZYVNFW_cjs.layoutActionsOf; }
|
|
18379
18396
|
});
|
|
18380
18397
|
Object.defineProperty(exports, "nextViewingDocument", {
|
|
18381
18398
|
enumerable: true,
|
|
18382
|
-
get: function () { return
|
|
18399
|
+
get: function () { return chunkZZZYVNFW_cjs.nextViewingDocument; }
|
|
18383
18400
|
});
|
|
18384
18401
|
Object.defineProperty(exports, "openPanelIn", {
|
|
18385
18402
|
enumerable: true,
|
|
18386
|
-
get: function () { return
|
|
18403
|
+
get: function () { return chunkZZZYVNFW_cjs.openPanelIn; }
|
|
18387
18404
|
});
|
|
18388
18405
|
Object.defineProperty(exports, "panelPlace", {
|
|
18389
18406
|
enumerable: true,
|
|
18390
|
-
get: function () { return
|
|
18407
|
+
get: function () { return chunkZZZYVNFW_cjs.panelPlace; }
|
|
18391
18408
|
});
|
|
18392
18409
|
Object.defineProperty(exports, "parseSavedChat", {
|
|
18393
18410
|
enumerable: true,
|
|
18394
|
-
get: function () { return
|
|
18411
|
+
get: function () { return chunkZZZYVNFW_cjs.parseSavedChat; }
|
|
18395
18412
|
});
|
|
18396
18413
|
Object.defineProperty(exports, "parseSavedDocuments", {
|
|
18397
18414
|
enumerable: true,
|
|
18398
|
-
get: function () { return
|
|
18415
|
+
get: function () { return chunkZZZYVNFW_cjs.parseSavedDocuments; }
|
|
18399
18416
|
});
|
|
18400
18417
|
Object.defineProperty(exports, "parseSavedLayout", {
|
|
18401
18418
|
enumerable: true,
|
|
18402
|
-
get: function () { return
|
|
18419
|
+
get: function () { return chunkZZZYVNFW_cjs.parseSavedLayout; }
|
|
18403
18420
|
});
|
|
18404
18421
|
Object.defineProperty(exports, "queuedMessages", {
|
|
18405
18422
|
enumerable: true,
|
|
18406
|
-
get: function () { return
|
|
18423
|
+
get: function () { return chunkZZZYVNFW_cjs.queuedMessages; }
|
|
18407
18424
|
});
|
|
18408
18425
|
Object.defineProperty(exports, "readWorkspaceLastOpened", {
|
|
18409
18426
|
enumerable: true,
|
|
18410
|
-
get: function () { return
|
|
18427
|
+
get: function () { return chunkZZZYVNFW_cjs.readWorkspaceLastOpened; }
|
|
18411
18428
|
});
|
|
18412
18429
|
Object.defineProperty(exports, "restoreLayout", {
|
|
18413
18430
|
enumerable: true,
|
|
18414
|
-
get: function () { return
|
|
18431
|
+
get: function () { return chunkZZZYVNFW_cjs.restoreLayout; }
|
|
18415
18432
|
});
|
|
18416
18433
|
Object.defineProperty(exports, "restoreSavedDocuments", {
|
|
18417
18434
|
enumerable: true,
|
|
18418
|
-
get: function () { return
|
|
18435
|
+
get: function () { return chunkZZZYVNFW_cjs.restoreSavedDocuments; }
|
|
18419
18436
|
});
|
|
18420
18437
|
Object.defineProperty(exports, "savedChatOf", {
|
|
18421
18438
|
enumerable: true,
|
|
18422
|
-
get: function () { return
|
|
18439
|
+
get: function () { return chunkZZZYVNFW_cjs.savedChatOf; }
|
|
18423
18440
|
});
|
|
18424
18441
|
Object.defineProperty(exports, "savedDocumentsOf", {
|
|
18425
18442
|
enumerable: true,
|
|
18426
|
-
get: function () { return
|
|
18443
|
+
get: function () { return chunkZZZYVNFW_cjs.savedDocumentsOf; }
|
|
18427
18444
|
});
|
|
18428
18445
|
Object.defineProperty(exports, "savedLayoutOf", {
|
|
18429
18446
|
enumerable: true,
|
|
18430
|
-
get: function () { return
|
|
18447
|
+
get: function () { return chunkZZZYVNFW_cjs.savedLayoutOf; }
|
|
18431
18448
|
});
|
|
18432
18449
|
Object.defineProperty(exports, "selectDraft", {
|
|
18433
18450
|
enumerable: true,
|
|
18434
|
-
get: function () { return
|
|
18451
|
+
get: function () { return chunkZZZYVNFW_cjs.selectDraft; }
|
|
18435
18452
|
});
|
|
18436
18453
|
Object.defineProperty(exports, "selectIsGenerating", {
|
|
18437
18454
|
enumerable: true,
|
|
18438
|
-
get: function () { return
|
|
18455
|
+
get: function () { return chunkZZZYVNFW_cjs.selectIsGenerating; }
|
|
18439
18456
|
});
|
|
18440
18457
|
Object.defineProperty(exports, "selectViewingDocumentId", {
|
|
18441
18458
|
enumerable: true,
|
|
18442
|
-
get: function () { return
|
|
18459
|
+
get: function () { return chunkZZZYVNFW_cjs.selectViewingDocumentId; }
|
|
18443
18460
|
});
|
|
18444
18461
|
Object.defineProperty(exports, "threadTabId", {
|
|
18445
18462
|
enumerable: true,
|
|
18446
|
-
get: function () { return
|
|
18463
|
+
get: function () { return chunkZZZYVNFW_cjs.threadTabId; }
|
|
18447
18464
|
});
|
|
18448
18465
|
Object.defineProperty(exports, "useActivity", {
|
|
18449
18466
|
enumerable: true,
|
|
18450
|
-
get: function () { return
|
|
18467
|
+
get: function () { return chunkZZZYVNFW_cjs.useActivity; }
|
|
18451
18468
|
});
|
|
18452
18469
|
Object.defineProperty(exports, "useAgents", {
|
|
18453
18470
|
enumerable: true,
|
|
18454
|
-
get: function () { return
|
|
18471
|
+
get: function () { return chunkZZZYVNFW_cjs.useAgents; }
|
|
18455
18472
|
});
|
|
18456
18473
|
Object.defineProperty(exports, "useArbiSession", {
|
|
18457
18474
|
enumerable: true,
|
|
18458
|
-
get: function () { return
|
|
18475
|
+
get: function () { return chunkZZZYVNFW_cjs.useArbiSession; }
|
|
18459
18476
|
});
|
|
18460
18477
|
Object.defineProperty(exports, "useArbiSessionState", {
|
|
18461
18478
|
enumerable: true,
|
|
18462
|
-
get: function () { return
|
|
18479
|
+
get: function () { return chunkZZZYVNFW_cjs.useArbiSessionState; }
|
|
18463
18480
|
});
|
|
18464
18481
|
Object.defineProperty(exports, "useArbiSessionStore", {
|
|
18465
18482
|
enumerable: true,
|
|
18466
|
-
get: function () { return
|
|
18483
|
+
get: function () { return chunkZZZYVNFW_cjs.useArbiSessionStore; }
|
|
18467
18484
|
});
|
|
18468
18485
|
Object.defineProperty(exports, "useAssistantQuery", {
|
|
18469
18486
|
enumerable: true,
|
|
18470
|
-
get: function () { return
|
|
18487
|
+
get: function () { return chunkZZZYVNFW_cjs.useAssistantQuery; }
|
|
18471
18488
|
});
|
|
18472
18489
|
Object.defineProperty(exports, "useAvailableModels", {
|
|
18473
18490
|
enumerable: true,
|
|
18474
|
-
get: function () { return
|
|
18491
|
+
get: function () { return chunkZZZYVNFW_cjs.useAvailableModels; }
|
|
18475
18492
|
});
|
|
18476
18493
|
Object.defineProperty(exports, "useBoxRole", {
|
|
18477
18494
|
enumerable: true,
|
|
18478
|
-
get: function () { return
|
|
18495
|
+
get: function () { return chunkZZZYVNFW_cjs.useBoxRole; }
|
|
18479
18496
|
});
|
|
18480
18497
|
Object.defineProperty(exports, "useBuiltinCommands", {
|
|
18481
18498
|
enumerable: true,
|
|
18482
|
-
get: function () { return
|
|
18499
|
+
get: function () { return chunkZZZYVNFW_cjs.useBuiltinCommands; }
|
|
18483
18500
|
});
|
|
18484
18501
|
Object.defineProperty(exports, "useCanCreateProjects", {
|
|
18485
18502
|
enumerable: true,
|
|
18486
|
-
get: function () { return
|
|
18503
|
+
get: function () { return chunkZZZYVNFW_cjs.useCanCreateProjects; }
|
|
18487
18504
|
});
|
|
18488
18505
|
Object.defineProperty(exports, "useCanCreateWorkspaces", {
|
|
18489
18506
|
enumerable: true,
|
|
18490
|
-
get: function () { return
|
|
18507
|
+
get: function () { return chunkZZZYVNFW_cjs.useCanCreateWorkspaces; }
|
|
18491
18508
|
});
|
|
18492
18509
|
Object.defineProperty(exports, "useConfig", {
|
|
18493
18510
|
enumerable: true,
|
|
18494
|
-
get: function () { return
|
|
18511
|
+
get: function () { return chunkZZZYVNFW_cjs.useConfig; }
|
|
18495
18512
|
});
|
|
18496
18513
|
Object.defineProperty(exports, "useConfigs", {
|
|
18497
18514
|
enumerable: true,
|
|
18498
|
-
get: function () { return
|
|
18515
|
+
get: function () { return chunkZZZYVNFW_cjs.useConfigs; }
|
|
18499
18516
|
});
|
|
18500
18517
|
Object.defineProperty(exports, "useConversationThreads", {
|
|
18501
18518
|
enumerable: true,
|
|
18502
|
-
get: function () { return
|
|
18519
|
+
get: function () { return chunkZZZYVNFW_cjs.useConversationThreads; }
|
|
18503
18520
|
});
|
|
18504
18521
|
Object.defineProperty(exports, "useConversations", {
|
|
18505
18522
|
enumerable: true,
|
|
18506
|
-
get: function () { return
|
|
18523
|
+
get: function () { return chunkZZZYVNFW_cjs.useConversations; }
|
|
18507
18524
|
});
|
|
18508
18525
|
Object.defineProperty(exports, "useCurrentUser", {
|
|
18509
18526
|
enumerable: true,
|
|
18510
|
-
get: function () { return
|
|
18527
|
+
get: function () { return chunkZZZYVNFW_cjs.useCurrentUser; }
|
|
18511
18528
|
});
|
|
18512
18529
|
Object.defineProperty(exports, "useDeleteAgents", {
|
|
18513
18530
|
enumerable: true,
|
|
18514
|
-
get: function () { return
|
|
18531
|
+
get: function () { return chunkZZZYVNFW_cjs.useDeleteAgents; }
|
|
18515
18532
|
});
|
|
18516
18533
|
Object.defineProperty(exports, "useDocumentVersionList", {
|
|
18517
18534
|
enumerable: true,
|
|
18518
|
-
get: function () { return
|
|
18535
|
+
get: function () { return chunkZZZYVNFW_cjs.useDocumentVersionList; }
|
|
18519
18536
|
});
|
|
18520
18537
|
Object.defineProperty(exports, "useHealth", {
|
|
18521
18538
|
enumerable: true,
|
|
18522
|
-
get: function () { return
|
|
18539
|
+
get: function () { return chunkZZZYVNFW_cjs.useHealth; }
|
|
18523
18540
|
});
|
|
18524
18541
|
Object.defineProperty(exports, "useMessageDetails", {
|
|
18525
18542
|
enumerable: true,
|
|
18526
|
-
get: function () { return
|
|
18543
|
+
get: function () { return chunkZZZYVNFW_cjs.useMessageDetails; }
|
|
18527
18544
|
});
|
|
18528
18545
|
Object.defineProperty(exports, "useParsedDocument", {
|
|
18529
18546
|
enumerable: true,
|
|
18530
|
-
get: function () { return
|
|
18547
|
+
get: function () { return chunkZZZYVNFW_cjs.useParsedDocument; }
|
|
18531
18548
|
});
|
|
18532
18549
|
Object.defineProperty(exports, "useProjectCreationDenial", {
|
|
18533
18550
|
enumerable: true,
|
|
18534
|
-
get: function () { return
|
|
18551
|
+
get: function () { return chunkZZZYVNFW_cjs.useProjectCreationDenial; }
|
|
18535
18552
|
});
|
|
18536
18553
|
Object.defineProperty(exports, "useProjectInvoices", {
|
|
18537
18554
|
enumerable: true,
|
|
18538
|
-
get: function () { return
|
|
18555
|
+
get: function () { return chunkZZZYVNFW_cjs.useProjectInvoices; }
|
|
18539
18556
|
});
|
|
18540
18557
|
Object.defineProperty(exports, "useProjectUsage", {
|
|
18541
18558
|
enumerable: true,
|
|
18542
|
-
get: function () { return
|
|
18559
|
+
get: function () { return chunkZZZYVNFW_cjs.useProjectUsage; }
|
|
18543
18560
|
});
|
|
18544
18561
|
Object.defineProperty(exports, "useProjects", {
|
|
18545
18562
|
enumerable: true,
|
|
18546
|
-
get: function () { return
|
|
18563
|
+
get: function () { return chunkZZZYVNFW_cjs.useProjects; }
|
|
18547
18564
|
});
|
|
18548
18565
|
Object.defineProperty(exports, "useSessionPageTab", {
|
|
18549
18566
|
enumerable: true,
|
|
18550
|
-
get: function () { return
|
|
18567
|
+
get: function () { return chunkZZZYVNFW_cjs.useSessionPageTab; }
|
|
18551
18568
|
});
|
|
18552
18569
|
Object.defineProperty(exports, "useSessionView", {
|
|
18553
18570
|
enumerable: true,
|
|
18554
|
-
get: function () { return
|
|
18571
|
+
get: function () { return chunkZZZYVNFW_cjs.useSessionView; }
|
|
18555
18572
|
});
|
|
18556
18573
|
Object.defineProperty(exports, "useSignedInSession", {
|
|
18557
18574
|
enumerable: true,
|
|
18558
|
-
get: function () { return
|
|
18575
|
+
get: function () { return chunkZZZYVNFW_cjs.useSignedInSession; }
|
|
18559
18576
|
});
|
|
18560
18577
|
Object.defineProperty(exports, "useTags", {
|
|
18561
18578
|
enumerable: true,
|
|
18562
|
-
get: function () { return
|
|
18579
|
+
get: function () { return chunkZZZYVNFW_cjs.useTags; }
|
|
18563
18580
|
});
|
|
18564
18581
|
Object.defineProperty(exports, "useThumbnails", {
|
|
18565
18582
|
enumerable: true,
|
|
18566
|
-
get: function () { return
|
|
18583
|
+
get: function () { return chunkZZZYVNFW_cjs.useThumbnails; }
|
|
18567
18584
|
});
|
|
18568
18585
|
Object.defineProperty(exports, "useTransientView", {
|
|
18569
18586
|
enumerable: true,
|
|
18570
|
-
get: function () { return
|
|
18587
|
+
get: function () { return chunkZZZYVNFW_cjs.useTransientView; }
|
|
18571
18588
|
});
|
|
18572
18589
|
Object.defineProperty(exports, "useUserUsageToday", {
|
|
18573
18590
|
enumerable: true,
|
|
18574
|
-
get: function () { return
|
|
18591
|
+
get: function () { return chunkZZZYVNFW_cjs.useUserUsageToday; }
|
|
18575
18592
|
});
|
|
18576
18593
|
Object.defineProperty(exports, "useWorkspaceActivity", {
|
|
18577
18594
|
enumerable: true,
|
|
18578
|
-
get: function () { return
|
|
18595
|
+
get: function () { return chunkZZZYVNFW_cjs.useWorkspaceActivity; }
|
|
18579
18596
|
});
|
|
18580
18597
|
Object.defineProperty(exports, "useWorkspaces", {
|
|
18581
18598
|
enumerable: true,
|
|
18582
|
-
get: function () { return
|
|
18599
|
+
get: function () { return chunkZZZYVNFW_cjs.useWorkspaces; }
|
|
18583
18600
|
});
|
|
18584
18601
|
Object.defineProperty(exports, "arbiMutationKeys", {
|
|
18585
18602
|
enumerable: true,
|