@arbidocs/react 0.5.155 → 0.5.156
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-FQ2PSM75.cjs → chunk-2MGJXBBJ.cjs} +20 -3
- package/dist/chunk-2MGJXBBJ.cjs.map +1 -0
- package/dist/{chunk-PI3PEXQW.cjs → chunk-QWKTQYGM.cjs} +5 -5
- package/dist/{chunk-PI3PEXQW.cjs.map → chunk-QWKTQYGM.cjs.map} +1 -1
- package/dist/index.cjs +571 -571
- package/dist/session/drafts.js +18 -1
- package/dist/session/drafts.js.map +2 -2
- package/package.json +3 -3
- package/dist/chunk-FQ2PSM75.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 chunkQWKTQYGM_cjs = require('./chunk-QWKTQYGM.cjs');
|
|
5
5
|
var chunkV5WCKJEH_cjs = require('./chunk-V5WCKJEH.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunk2MGJXBBJ_cjs = require('./chunk-2MGJXBBJ.cjs');
|
|
7
7
|
var chunk6TJL4Z2F_cjs = require('./chunk-6TJL4Z2F.cjs');
|
|
8
8
|
var chunkZZBCZRA5_cjs = require('./chunk-ZZBCZRA5.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 = chunk2MGJXBBJ_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
47
|
+
const workspaceStatus = chunk2MGJXBBJ_cjs.useArbiSessionState((s) => s.workspaceStatus);
|
|
48
|
+
const userId = chunk2MGJXBBJ_cjs.useArbiSession().user?.external_id ?? null;
|
|
49
|
+
const { data: workspaces } = chunk2MGJXBBJ_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 = chunk2MGJXBBJ_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
90
|
+
const open = chunk2MGJXBBJ_cjs.useArbiSessionState((s) => s.workspaceStatus === "open");
|
|
91
|
+
const query = chunk2MGJXBBJ_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 = chunk2MGJXBBJ_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 = chunkZZBCZRA5_cjs.useArbi();
|
|
142
142
|
const queryClient = reactQuery.useQueryClient();
|
|
143
|
-
const chatModel =
|
|
143
|
+
const chatModel = chunk2MGJXBBJ_cjs.useArbiSessionState((s) => s.chatModel);
|
|
144
144
|
const post = reactQuery.useMutation({
|
|
145
145
|
mutationFn: (query) => {
|
|
146
146
|
const selectedConfig = chatModel || queryClient.getQueriesData({ queryKey: chunkZZBCZRA5_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 chunkQWKTQYGM_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
|
+
chunkQWKTQYGM_cjs.patchConversation(qc, conversationId, updated);
|
|
207
|
+
return chunkQWKTQYGM_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) => chunkQWKTQYGM_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
|
+
chunkQWKTQYGM_cjs.addConversationToList(qc, workspaceId ?? null, created);
|
|
240
240
|
return created;
|
|
241
241
|
}
|
|
242
242
|
});
|
|
@@ -258,7 +258,7 @@ function useStartWorkflow() {
|
|
|
258
258
|
inputs,
|
|
259
259
|
title
|
|
260
260
|
});
|
|
261
|
-
|
|
261
|
+
chunkQWKTQYGM_cjs.addConversationToList(qc, target ?? null, created);
|
|
262
262
|
return created;
|
|
263
263
|
}
|
|
264
264
|
});
|
|
@@ -278,7 +278,7 @@ function useRunConversation() {
|
|
|
278
278
|
mutationFn: (conversationId) => arbi.conversations.runWithAuth(conversationId),
|
|
279
279
|
// The server's version replaces the listed one; everything under the conversation is re-read.
|
|
280
280
|
onSuccess: (updated) => {
|
|
281
|
-
if (updated?.external_id)
|
|
281
|
+
if (updated?.external_id) chunkQWKTQYGM_cjs.patchConversation(qc, updated.external_id, updated);
|
|
282
282
|
return qc.invalidateQueries({ queryKey: chunkZZBCZRA5_cjs.arbiQueryKeys.allConversations() });
|
|
283
283
|
}
|
|
284
284
|
});
|
|
@@ -294,7 +294,7 @@ function useActOnStep() {
|
|
|
294
294
|
// The server's version of the conversation replaces the listed one; its history is re-read.
|
|
295
295
|
onSuccess: (updated) => {
|
|
296
296
|
if (!updated?.external_id) return;
|
|
297
|
-
|
|
297
|
+
chunkQWKTQYGM_cjs.patchConversation(qc, updated.external_id, updated);
|
|
298
298
|
invalidateConversationActivity(qc, updated.external_id);
|
|
299
299
|
}
|
|
300
300
|
});
|
|
@@ -1332,12 +1332,12 @@ function cachedAssistantMode(queryClient, conversationId, newMode) {
|
|
|
1332
1332
|
if (!conversationId) return newMode;
|
|
1333
1333
|
const threads = queryClient.getQueriesData(allConversationThreads).map(([, data]) => data).find((data) => data?.conversation_ext_id === conversationId);
|
|
1334
1334
|
if (threads?.assistant_mode) return threads.assistant_mode;
|
|
1335
|
-
return
|
|
1335
|
+
return chunkQWKTQYGM_cjs.findConversation(queryClient, conversationId)?.assistant_mode ?? "always";
|
|
1336
1336
|
}
|
|
1337
1337
|
function isCommentToPeople(queryClient, conversationId, content, candidates) {
|
|
1338
1338
|
const mentioned = chunk6RRKO4ZK_cjs.extractMentions(content, candidates);
|
|
1339
1339
|
if (mentioned.some((c) => c.kind === "assistant")) return false;
|
|
1340
|
-
if (
|
|
1340
|
+
if (chunkQWKTQYGM_cjs.isConversationShared(queryClient, conversationId)) return true;
|
|
1341
1341
|
if (mentioned.some((c) => c.kind === "user")) return true;
|
|
1342
1342
|
return !!conversationId && cachedAssistantMode(queryClient, conversationId, "always") === "mentioned";
|
|
1343
1343
|
}
|
|
@@ -1429,12 +1429,12 @@ function useSaveConfigField(baseConfigId) {
|
|
|
1429
1429
|
const arbi = chunkZZBCZRA5_cjs.useArbi();
|
|
1430
1430
|
const queryClient = reactQuery.useQueryClient();
|
|
1431
1431
|
const saveConfig = useSaveConfig();
|
|
1432
|
-
const { data: defaultConfig } =
|
|
1433
|
-
const chatModel =
|
|
1434
|
-
const { data: userSettings } =
|
|
1432
|
+
const { data: defaultConfig } = chunk2MGJXBBJ_cjs.useConfig("default");
|
|
1433
|
+
const chatModel = chunk2MGJXBBJ_cjs.useArbiSessionState((state) => state.chatModel);
|
|
1434
|
+
const { data: userSettings } = chunkQWKTQYGM_cjs.useUserSettings();
|
|
1435
1435
|
const activeConfigId = baseConfigId || chatModel || userSettings?.last_config || "default";
|
|
1436
|
-
const { data: activeConfigData } =
|
|
1437
|
-
const session =
|
|
1436
|
+
const { data: activeConfigData } = chunk2MGJXBBJ_cjs.useConfig(activeConfigId);
|
|
1437
|
+
const session = chunk2MGJXBBJ_cjs.useArbiSessionStore();
|
|
1438
1438
|
const chain2 = React.useRef(null);
|
|
1439
1439
|
const buildDelta = (changes) => deltaOnto(
|
|
1440
1440
|
changes,
|
|
@@ -1505,8 +1505,8 @@ function pendingChatModelSave(session) {
|
|
|
1505
1505
|
return chatModelSaves.get(session);
|
|
1506
1506
|
}
|
|
1507
1507
|
function useApplyChatModel() {
|
|
1508
|
-
const session =
|
|
1509
|
-
const { data: availableModels } =
|
|
1508
|
+
const session = chunk2MGJXBBJ_cjs.useArbiSessionStore();
|
|
1509
|
+
const { data: availableModels } = chunk2MGJXBBJ_cjs.useAvailableModels();
|
|
1510
1510
|
const configField = useSaveConfigField();
|
|
1511
1511
|
return React.useCallback(
|
|
1512
1512
|
async (model, label) => {
|
|
@@ -1555,7 +1555,7 @@ async function agentChatOwnerOf(queryClient, listAgents, conversationId) {
|
|
|
1555
1555
|
// src/chat/thread-binding.ts
|
|
1556
1556
|
function threadBinding(queryClient, conversationId) {
|
|
1557
1557
|
if (!conversationId) return chunk6RRKO4ZK_cjs.UNBOUND;
|
|
1558
|
-
const row =
|
|
1558
|
+
const row = chunkQWKTQYGM_cjs.findConversation(queryClient, conversationId);
|
|
1559
1559
|
if (row) return chunk6RRKO4ZK_cjs.bindingOfRow(row);
|
|
1560
1560
|
const threads = queryClient.getQueryData(getThreadsQueryKey(conversationId));
|
|
1561
1561
|
return chunk6RRKO4ZK_cjs.bindingOfRow(threads ? { external_id: conversationId, ...threads } : null);
|
|
@@ -1568,7 +1568,7 @@ function cacheThreadBinding(queryClient, conversationId, binding) {
|
|
|
1568
1568
|
bound_document_ext_id: binding.documentId,
|
|
1569
1569
|
bound_document_unavailable: binding.unavailable
|
|
1570
1570
|
};
|
|
1571
|
-
|
|
1571
|
+
chunkQWKTQYGM_cjs.patchConversation(queryClient, conversationId, fields);
|
|
1572
1572
|
queryClient.setQueryData(
|
|
1573
1573
|
getThreadsQueryKey(conversationId),
|
|
1574
1574
|
(old) => old ? { ...old, ...fields } : old
|
|
@@ -1604,7 +1604,7 @@ async function performBindingWrite(arbi, queryClient, conversationId, documentId
|
|
|
1604
1604
|
const saved = await arbi.conversations.update(conversationId, {
|
|
1605
1605
|
bound_document_ext_id: documentId
|
|
1606
1606
|
});
|
|
1607
|
-
|
|
1607
|
+
chunkQWKTQYGM_cjs.patchConversation(queryClient, conversationId, saved);
|
|
1608
1608
|
cacheThreadBinding(queryClient, conversationId, chunk6RRKO4ZK_cjs.bindingOfRow(saved));
|
|
1609
1609
|
} catch (error) {
|
|
1610
1610
|
cacheThreadBinding(queryClient, conversationId, before);
|
|
@@ -2544,13 +2544,13 @@ function DocumentReview({
|
|
|
2544
2544
|
});
|
|
2545
2545
|
const status = processingInProp ? polled?.status ?? doc?.status : doc?.status;
|
|
2546
2546
|
const noTextYet = stage === "final" && !!status && !PARSED_STATUSES.has(status);
|
|
2547
|
-
const parsedQuery =
|
|
2547
|
+
const parsedQuery = chunk2MGJXBBJ_cjs.useParsedDocument(docId, stage, { enabled: !noTextYet });
|
|
2548
2548
|
const { isError: parsedFailed, refetch: refetchParsed } = parsedQuery;
|
|
2549
2549
|
const readable = !!status && !noTextYet;
|
|
2550
2550
|
React__default.default.useEffect(() => {
|
|
2551
2551
|
if (readable && parsedFailed) void refetchParsed();
|
|
2552
2552
|
}, [readable]);
|
|
2553
|
-
const tagsQuery =
|
|
2553
|
+
const tagsQuery = chunk2MGJXBBJ_cjs.useTags(workspaceId);
|
|
2554
2554
|
const tagNameById = React__default.default.useMemo(() => {
|
|
2555
2555
|
const map = /* @__PURE__ */ new Map();
|
|
2556
2556
|
for (const t of tagsQuery.data ?? []) {
|
|
@@ -3499,7 +3499,7 @@ function useUploadFiles() {
|
|
|
3499
3499
|
const arbi = chunkZZBCZRA5_cjs.useArbi();
|
|
3500
3500
|
const qc = reactQuery.useQueryClient();
|
|
3501
3501
|
const { resolveWorkspaceKey } = useDocumentsSupport();
|
|
3502
|
-
const { data: settings } =
|
|
3502
|
+
const { data: settings } = chunkQWKTQYGM_cjs.useUserSettings();
|
|
3503
3503
|
const { mutateAsync: generateDocTags } = useGenerateDocTags();
|
|
3504
3504
|
const direct = settings?.use_s3_direct_upload === true;
|
|
3505
3505
|
return React.useCallback(
|
|
@@ -3970,7 +3970,7 @@ var PENDING_SYNC_PREDICATE = (m) => (
|
|
|
3970
3970
|
);
|
|
3971
3971
|
function usePendingSyncItems() {
|
|
3972
3972
|
const { data: documents3 } = chunkV5WCKJEH_cjs.useDocuments();
|
|
3973
|
-
const { data: tags } =
|
|
3973
|
+
const { data: tags } = chunk2MGJXBBJ_cjs.useTags();
|
|
3974
3974
|
const raw = reactQuery.useMutationState({
|
|
3975
3975
|
filters: { predicate: PENDING_SYNC_PREDICATE },
|
|
3976
3976
|
select: (m) => ({
|
|
@@ -4190,11 +4190,11 @@ function createStreamHandlers(ctx, params) {
|
|
|
4190
4190
|
const clientId = streamState.queuedClientId;
|
|
4191
4191
|
if (!clientId || queuedEntryRetired) return;
|
|
4192
4192
|
queuedEntryRetired = true;
|
|
4193
|
-
const entry =
|
|
4193
|
+
const entry = chunk2MGJXBBJ_cjs.queuedMessages.find(session.getState().queuedMessages, clientId);
|
|
4194
4194
|
if (!entry) return;
|
|
4195
4195
|
const remainingVisibility = Math.max(
|
|
4196
4196
|
0,
|
|
4197
|
-
|
|
4197
|
+
chunk2MGJXBBJ_cjs.MIN_QUEUED_MESSAGE_VISIBILITY_MS - (Date.now() - entry.createdAt)
|
|
4198
4198
|
);
|
|
4199
4199
|
if (remainingVisibility === 0) {
|
|
4200
4200
|
session.removeQueuedMessage(clientId);
|
|
@@ -4210,7 +4210,7 @@ function createStreamHandlers(ctx, params) {
|
|
|
4210
4210
|
session.moveConversation("new", serverConversationId);
|
|
4211
4211
|
const userExtId = ctx.userId();
|
|
4212
4212
|
const nowIso = (/* @__PURE__ */ new Date()).toISOString();
|
|
4213
|
-
|
|
4213
|
+
chunkQWKTQYGM_cjs.patchConversationList(
|
|
4214
4214
|
queryClient,
|
|
4215
4215
|
streamState.workspaceId ?? session.getState().workspaceId,
|
|
4216
4216
|
(old) => old.some((c) => c.external_id === serverConversationId) ? old : [
|
|
@@ -4332,7 +4332,7 @@ function createStreamHandlers(ctx, params) {
|
|
|
4332
4332
|
ensureAssistantMessageLoading(queryClient, conversationId, answerId);
|
|
4333
4333
|
});
|
|
4334
4334
|
}
|
|
4335
|
-
void
|
|
4335
|
+
void chunkQWKTQYGM_cjs.invalidateConversationLists(queryClient);
|
|
4336
4336
|
session.setCursor(streamState.assistantId);
|
|
4337
4337
|
};
|
|
4338
4338
|
let firstTokenSeen = false;
|
|
@@ -4532,7 +4532,7 @@ function createStreamHandlers(ctx, params) {
|
|
|
4532
4532
|
}
|
|
4533
4533
|
function useStreamHandlers() {
|
|
4534
4534
|
const queryClient = reactQuery.useQueryClient();
|
|
4535
|
-
const session =
|
|
4535
|
+
const session = chunk2MGJXBBJ_cjs.useArbiSessionStore();
|
|
4536
4536
|
const config = chunkZZBCZRA5_cjs.useArbiHost();
|
|
4537
4537
|
const arbi = chunkZZBCZRA5_cjs.useArbi();
|
|
4538
4538
|
return React.useCallback(
|
|
@@ -4625,7 +4625,7 @@ function cachedQuotaUsedUp(queryClient, workspaceId) {
|
|
|
4625
4625
|
// src/chat/useConversationActions.ts
|
|
4626
4626
|
var RECONCILE_TIMEOUT_MS = 5e3;
|
|
4627
4627
|
function draftAfterSend(queryClient, session, wasComment, assistantName) {
|
|
4628
|
-
const shared =
|
|
4628
|
+
const shared = chunkQWKTQYGM_cjs.isConversationShared(queryClient, session.getState().conversationId);
|
|
4629
4629
|
return shared && !wasComment ? `@${assistantName} ` : "";
|
|
4630
4630
|
}
|
|
4631
4631
|
function failQueuedContinuation(queryClient, session, streamState) {
|
|
@@ -4658,7 +4658,7 @@ function useConversationActions({
|
|
|
4658
4658
|
lastFailedMessage
|
|
4659
4659
|
}) {
|
|
4660
4660
|
const queryClient = reactQuery.useQueryClient();
|
|
4661
|
-
const session =
|
|
4661
|
+
const session = chunk2MGJXBBJ_cjs.useArbiSessionStore();
|
|
4662
4662
|
const currentConversationId = conversationKey2 === "new" ? null : conversationKey2;
|
|
4663
4663
|
const invalidateUserWorkspaces = React.useCallback(
|
|
4664
4664
|
() => void queryClient.invalidateQueries({ queryKey: chunkZZBCZRA5_cjs.arbiQueryKeys.workspaces() }),
|
|
@@ -4723,7 +4723,7 @@ function useConversationActions({
|
|
|
4723
4723
|
const bindTo = session.getState().newChatDocumentId;
|
|
4724
4724
|
session.moveConversation("new", conversationId);
|
|
4725
4725
|
if (bindTo) session.setNewChatDocumentId(null);
|
|
4726
|
-
|
|
4726
|
+
chunkQWKTQYGM_cjs.patchConversationList(queryClient, session.getState().workspaceId, (old) => [
|
|
4727
4727
|
{
|
|
4728
4728
|
external_id: conversationId,
|
|
4729
4729
|
title: content.slice(0, 40),
|
|
@@ -4745,14 +4745,14 @@ function useConversationActions({
|
|
|
4745
4745
|
);
|
|
4746
4746
|
invalidateUserWorkspaces();
|
|
4747
4747
|
} else {
|
|
4748
|
-
|
|
4748
|
+
chunkQWKTQYGM_cjs.patchConversation(queryClient, conversationId, (c) => ({
|
|
4749
4749
|
...c,
|
|
4750
4750
|
message_count: c.message_count + 1,
|
|
4751
4751
|
updated_at: nowIso
|
|
4752
4752
|
}));
|
|
4753
4753
|
}
|
|
4754
4754
|
if (mentions.some((m) => m.type === "user")) {
|
|
4755
|
-
await
|
|
4755
|
+
await chunkQWKTQYGM_cjs.invalidateConversationLists(queryClient);
|
|
4756
4756
|
}
|
|
4757
4757
|
await queryClient.invalidateQueries({ queryKey: getThreadsQueryKey(conversationId) });
|
|
4758
4758
|
session.setCursor(saved.external_id);
|
|
@@ -4760,7 +4760,7 @@ function useConversationActions({
|
|
|
4760
4760
|
chunkIX4HOS5Z_cjs.notify.error(
|
|
4761
4761
|
error instanceof browser.ArbiApiError && error.detail || "Failed to post the message"
|
|
4762
4762
|
);
|
|
4763
|
-
if (!
|
|
4763
|
+
if (!chunk2MGJXBBJ_cjs.selectDraft(session.getState())) session.setDraft(content);
|
|
4764
4764
|
}
|
|
4765
4765
|
},
|
|
4766
4766
|
[arbi, session, queryClient, invalidateUserWorkspaces]
|
|
@@ -4836,7 +4836,7 @@ function useConversationActions({
|
|
|
4836
4836
|
session.setConversationGenerating(convKey, true, abortController);
|
|
4837
4837
|
}
|
|
4838
4838
|
if (!queuedContinuation) {
|
|
4839
|
-
|
|
4839
|
+
chunkQWKTQYGM_cjs.patchConversation(queryClient, convKey, { last_message_status: "in_progress" });
|
|
4840
4840
|
}
|
|
4841
4841
|
const streamState = {
|
|
4842
4842
|
conversationId: convKey,
|
|
@@ -4947,7 +4947,7 @@ function useConversationActions({
|
|
|
4947
4947
|
void queryClient.invalidateQueries({
|
|
4948
4948
|
queryKey: getThreadsQueryKey(streamState.conversationId)
|
|
4949
4949
|
});
|
|
4950
|
-
void
|
|
4950
|
+
void chunkQWKTQYGM_cjs.invalidateConversationLists(queryClient);
|
|
4951
4951
|
}
|
|
4952
4952
|
return;
|
|
4953
4953
|
}
|
|
@@ -4975,7 +4975,7 @@ function useConversationActions({
|
|
|
4975
4975
|
}
|
|
4976
4976
|
if (ownsGeneration) {
|
|
4977
4977
|
const lastStatus = streamState.serverError ? "failed" : "completed";
|
|
4978
|
-
|
|
4978
|
+
chunkQWKTQYGM_cjs.patchConversation(queryClient, streamState.conversationId, {
|
|
4979
4979
|
last_message_status: lastStatus
|
|
4980
4980
|
});
|
|
4981
4981
|
}
|
|
@@ -5008,7 +5008,7 @@ function useConversationActions({
|
|
|
5008
5008
|
});
|
|
5009
5009
|
if (ownsActiveGeneration()) {
|
|
5010
5010
|
session.setConversationGenerating(streamState.conversationId, false, null);
|
|
5011
|
-
|
|
5011
|
+
chunkQWKTQYGM_cjs.patchConversation(queryClient, streamState.conversationId, {
|
|
5012
5012
|
last_message_status: "completed"
|
|
5013
5013
|
});
|
|
5014
5014
|
}
|
|
@@ -5031,10 +5031,10 @@ function useConversationActions({
|
|
|
5031
5031
|
if (ownsActiveGeneration()) {
|
|
5032
5032
|
session.setConversationGenerating(streamState.conversationId, false, null);
|
|
5033
5033
|
}
|
|
5034
|
-
void
|
|
5034
|
+
void chunkQWKTQYGM_cjs.invalidateConversationLists(queryClient);
|
|
5035
5035
|
return;
|
|
5036
5036
|
}
|
|
5037
|
-
|
|
5037
|
+
chunkQWKTQYGM_cjs.patchConversation(queryClient, streamState.conversationId, {
|
|
5038
5038
|
last_message_status: "failed"
|
|
5039
5039
|
});
|
|
5040
5040
|
const quota = browser.quotaFromStreamError(error) ?? cachedQuotaUsedUp(queryClient, session.getState().workspaceId);
|
|
@@ -5069,7 +5069,7 @@ function useConversationActions({
|
|
|
5069
5069
|
);
|
|
5070
5070
|
const handleSendMessage = React.useCallback(
|
|
5071
5071
|
async (options) => {
|
|
5072
|
-
const currentMessage =
|
|
5072
|
+
const currentMessage = chunk2MGJXBBJ_cjs.selectDraft(session.getState()).trim();
|
|
5073
5073
|
if (!selectedWorkspaceId || !chunk6RRKO4ZK_cjs.hasMessageBody(currentMessage, assistantLabels(assistantName)))
|
|
5074
5074
|
return;
|
|
5075
5075
|
session.setSuggestedQuery(null);
|
|
@@ -5184,7 +5184,7 @@ function useConversationActions({
|
|
|
5184
5184
|
if (!replyTo && currentConversationId) {
|
|
5185
5185
|
try {
|
|
5186
5186
|
await arbi.conversations.delete(currentConversationId);
|
|
5187
|
-
|
|
5187
|
+
chunkQWKTQYGM_cjs.removeConversationFromLists(queryClient, currentConversationId);
|
|
5188
5188
|
session.startNewConversation();
|
|
5189
5189
|
} catch (error) {
|
|
5190
5190
|
console.error("Failed to delete conversation with orphaned first message:", error);
|
|
@@ -5252,16 +5252,16 @@ function selectThread(session, leafId) {
|
|
|
5252
5252
|
if (session.getState().cursor !== leafId) session.setCursor(leafId);
|
|
5253
5253
|
}
|
|
5254
5254
|
function useConversationData() {
|
|
5255
|
-
const session =
|
|
5256
|
-
const selectedWorkspaceId =
|
|
5257
|
-
const currentConversationId =
|
|
5258
|
-
const parentMessageId =
|
|
5259
|
-
const deepLinkMessageId =
|
|
5255
|
+
const session = chunk2MGJXBBJ_cjs.useArbiSessionStore();
|
|
5256
|
+
const selectedWorkspaceId = chunk2MGJXBBJ_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
5257
|
+
const currentConversationId = chunk2MGJXBBJ_cjs.useArbiSessionState((s) => s.conversationId);
|
|
5258
|
+
const parentMessageId = chunk2MGJXBBJ_cjs.useArbiSessionState((s) => s.cursor);
|
|
5259
|
+
const deepLinkMessageId = chunk2MGJXBBJ_cjs.useArbiSessionState((s) => s.deepLinkMessageId);
|
|
5260
5260
|
const {
|
|
5261
5261
|
data: threadsData,
|
|
5262
5262
|
isLoading: threadsLoading,
|
|
5263
5263
|
error: threadsError
|
|
5264
|
-
} =
|
|
5264
|
+
} = chunk2MGJXBBJ_cjs.useConversationThreads(currentConversationId || void 0);
|
|
5265
5265
|
const processedDeepLinkRef = React.useRef(null);
|
|
5266
5266
|
const prevConversationIdRef = React.useRef(null);
|
|
5267
5267
|
React.useEffect(() => {
|
|
@@ -5454,7 +5454,7 @@ function useBranchNavigation(threads, parentMessageId, messageHistory, setParent
|
|
|
5454
5454
|
var RECONNECT_DELAY_MS = 2e3;
|
|
5455
5455
|
var MAX_RECONNECTS = 5;
|
|
5456
5456
|
function useConnectRunStream(conversationId, messages) {
|
|
5457
|
-
const generation =
|
|
5457
|
+
const generation = chunk2MGJXBBJ_cjs.useArbiSessionState(
|
|
5458
5458
|
(s) => conversationId ? s.generating[conversationId] : void 0
|
|
5459
5459
|
);
|
|
5460
5460
|
const responseId = conversationId ? browser.getRunToAttach(generation, messages) : null;
|
|
@@ -5462,7 +5462,7 @@ function useConnectRunStream(conversationId, messages) {
|
|
|
5462
5462
|
}
|
|
5463
5463
|
function useAttachRun(conversationId, responseId) {
|
|
5464
5464
|
const queryClient = reactQuery.useQueryClient();
|
|
5465
|
-
const session =
|
|
5465
|
+
const session = chunk2MGJXBBJ_cjs.useArbiSessionStore();
|
|
5466
5466
|
const arbi = chunkZZBCZRA5_cjs.useArbi();
|
|
5467
5467
|
const arbiRef = React.useRef(arbi);
|
|
5468
5468
|
arbiRef.current = arbi;
|
|
@@ -5702,14 +5702,14 @@ function useConversation(options = {}) {
|
|
|
5702
5702
|
const { agentId, model, titleLength = 48 } = options;
|
|
5703
5703
|
const arbi = chunkZZBCZRA5_cjs.useArbi();
|
|
5704
5704
|
const queryClient = reactQuery.useQueryClient();
|
|
5705
|
-
const session =
|
|
5706
|
-
const sessionWorkspaceId =
|
|
5705
|
+
const session = chunk2MGJXBBJ_cjs.useArbiSessionStore();
|
|
5706
|
+
const sessionWorkspaceId = chunk2MGJXBBJ_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
5707
5707
|
const workspaceId = options.workspaceId ?? sessionWorkspaceId ?? void 0;
|
|
5708
|
-
const conversationId =
|
|
5708
|
+
const conversationId = chunk2MGJXBBJ_cjs.useArbiSessionState((s) => s.conversationId);
|
|
5709
5709
|
const conversationKey2 = conversationId ?? NEW;
|
|
5710
|
-
const generation =
|
|
5711
|
-
const newConversationMode =
|
|
5712
|
-
const queuedMessages2 =
|
|
5710
|
+
const generation = chunk2MGJXBBJ_cjs.useArbiSessionState((s) => s.generating[conversationKey2]);
|
|
5711
|
+
const newConversationMode = chunk2MGJXBBJ_cjs.useArbiSessionState((s) => s.newConversationAssistantMode);
|
|
5712
|
+
const queuedMessages2 = chunk2MGJXBBJ_cjs.useArbiSessionState((s) => s.queuedMessages);
|
|
5713
5713
|
const isRunning = !!generation?.isGenerating;
|
|
5714
5714
|
React.useEffect(() => {
|
|
5715
5715
|
if (workspaceId && session.getState().workspaceId !== workspaceId)
|
|
@@ -5722,7 +5722,7 @@ function useConversation(options = {}) {
|
|
|
5722
5722
|
if (agentId && workspaceId && !conversationId) session.setNewAgentChat({ agentId, workspaceId });
|
|
5723
5723
|
}, [session, agentId, workspaceId, conversationId]);
|
|
5724
5724
|
const { data: docs = [], isLoading: isLoadingDocuments } = chunkV5WCKJEH_cjs.useDocuments(workspaceId);
|
|
5725
|
-
const ordinaryHistory =
|
|
5725
|
+
const ordinaryHistory = chunk2MGJXBBJ_cjs.useConversations(workspaceId, { enabled: !agentId, live: true });
|
|
5726
5726
|
const agentHistory = useAgentChats(agentId);
|
|
5727
5727
|
const stored = React.useMemo(
|
|
5728
5728
|
() => agentId ? (agentHistory.data ?? []).filter((chat) => chat.workspace_ext_id === workspaceId).map((chat) => ({
|
|
@@ -5965,7 +5965,7 @@ function useConversation(options = {}) {
|
|
|
5965
5965
|
void (async () => {
|
|
5966
5966
|
try {
|
|
5967
5967
|
await arbi.conversations.delete(id);
|
|
5968
|
-
|
|
5968
|
+
chunkQWKTQYGM_cjs.removeConversationFromLists(queryClient, id);
|
|
5969
5969
|
if (session.getState().conversationId === id) session.startNewConversation();
|
|
5970
5970
|
} catch (e) {
|
|
5971
5971
|
setHistoryError(messageOf(e, "The conversation could not be deleted."));
|
|
@@ -6053,10 +6053,10 @@ function ConversationScope({
|
|
|
6053
6053
|
conversationId,
|
|
6054
6054
|
children
|
|
6055
6055
|
}) {
|
|
6056
|
-
const outerWorkspaceId =
|
|
6056
|
+
const outerWorkspaceId = chunk2MGJXBBJ_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
6057
6057
|
const scopeWorkspaceId = workspaceId ?? outerWorkspaceId;
|
|
6058
6058
|
const [session] = React.useState(
|
|
6059
|
-
() =>
|
|
6059
|
+
() => chunk2MGJXBBJ_cjs.createArbiSessionStore({
|
|
6060
6060
|
workspaceId: scopeWorkspaceId,
|
|
6061
6061
|
conversationId: conversationId ?? null
|
|
6062
6062
|
})
|
|
@@ -6075,7 +6075,7 @@ function ConversationScope({
|
|
|
6075
6075
|
}
|
|
6076
6076
|
function useConversationWorkspace(conversationId) {
|
|
6077
6077
|
const queryClient = reactQuery.useQueryClient();
|
|
6078
|
-
const sessionWorkspaceId =
|
|
6078
|
+
const sessionWorkspaceId = chunk2MGJXBBJ_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
6079
6079
|
return conversationWorkspaceOf(queryClient, conversationId) ?? sessionWorkspaceId;
|
|
6080
6080
|
}
|
|
6081
6081
|
|
|
@@ -6085,11 +6085,11 @@ async function applyConversationEvent(queryClient, event) {
|
|
|
6085
6085
|
if (e.type === "response_complete") return applyRunEnded(queryClient, e);
|
|
6086
6086
|
if (e.type === "conversation.message_posted") return applyMessagePosted(queryClient, e);
|
|
6087
6087
|
if (e.type === "conversation.title_updated" && e.conversation_ext_id) {
|
|
6088
|
-
|
|
6088
|
+
chunkQWKTQYGM_cjs.patchConversation(queryClient, e.conversation_ext_id, { title: e.title ?? null });
|
|
6089
6089
|
}
|
|
6090
6090
|
if (e.type === "conversation.document_binding_changed" && e.conversation_ext_id) {
|
|
6091
6091
|
void queryClient.invalidateQueries({ queryKey: getThreadsQueryKey(e.conversation_ext_id) });
|
|
6092
|
-
void
|
|
6092
|
+
void chunkQWKTQYGM_cjs.invalidateConversationLists(queryClient);
|
|
6093
6093
|
}
|
|
6094
6094
|
}
|
|
6095
6095
|
function applyRunEnded(queryClient, e) {
|
|
@@ -6106,10 +6106,10 @@ function applyRunEnded(queryClient, e) {
|
|
|
6106
6106
|
);
|
|
6107
6107
|
}
|
|
6108
6108
|
if (failed && e.response_id) markMessageAsFailed(queryClient, conversationId, e.response_id);
|
|
6109
|
-
|
|
6109
|
+
chunkQWKTQYGM_cjs.patchConversation(queryClient, conversationId, {
|
|
6110
6110
|
last_message_status: failed ? "failed" : "completed"
|
|
6111
6111
|
});
|
|
6112
|
-
void
|
|
6112
|
+
void chunkQWKTQYGM_cjs.invalidateConversationLists(queryClient);
|
|
6113
6113
|
void queryClient.invalidateQueries({ queryKey: getThreadsQueryKey(conversationId) });
|
|
6114
6114
|
if (!failed) void queryClient.invalidateQueries({ queryKey: chunkZZBCZRA5_cjs.arbiQueryKeys.userUsageToday() });
|
|
6115
6115
|
}
|
|
@@ -6117,7 +6117,7 @@ async function applyMessagePosted(queryClient, e) {
|
|
|
6117
6117
|
if (!e.conversation_ext_id) return;
|
|
6118
6118
|
const queryKey = getThreadsQueryKey(e.conversation_ext_id);
|
|
6119
6119
|
const refreshed = queryClient.invalidateQueries({ queryKey });
|
|
6120
|
-
void
|
|
6120
|
+
void chunkQWKTQYGM_cjs.invalidateConversationLists(queryClient);
|
|
6121
6121
|
await refreshed;
|
|
6122
6122
|
const cached = queryClient.getQueryData(
|
|
6123
6123
|
queryKey
|
|
@@ -6130,10 +6130,10 @@ var migratedWorkspaces = /* @__PURE__ */ new Set();
|
|
|
6130
6130
|
function useThreadDocument() {
|
|
6131
6131
|
const arbi = chunkZZBCZRA5_cjs.useArbi();
|
|
6132
6132
|
const queryClient = reactQuery.useQueryClient();
|
|
6133
|
-
const session =
|
|
6134
|
-
const conversationId =
|
|
6135
|
-
const workspaceId =
|
|
6136
|
-
const newChatDocumentId =
|
|
6133
|
+
const session = chunk2MGJXBBJ_cjs.useArbiSessionStore();
|
|
6134
|
+
const conversationId = chunk2MGJXBBJ_cjs.useArbiSessionState((s) => s.conversationId);
|
|
6135
|
+
const workspaceId = chunk2MGJXBBJ_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
6136
|
+
const newChatDocumentId = chunk2MGJXBBJ_cjs.useArbiSessionState((s) => s.newChatDocumentId);
|
|
6137
6137
|
const subscribe = React.useCallback(
|
|
6138
6138
|
(onChange) => queryClient.getQueryCache().subscribe(onChange),
|
|
6139
6139
|
[queryClient]
|
|
@@ -6148,7 +6148,7 @@ function useThreadDocument() {
|
|
|
6148
6148
|
() => threadBinding(queryClient, conversationId).unavailable,
|
|
6149
6149
|
() => false
|
|
6150
6150
|
);
|
|
6151
|
-
const { data: conversations, isPlaceholderData } =
|
|
6151
|
+
const { data: conversations, isPlaceholderData } = chunk2MGJXBBJ_cjs.useConversations(workspaceId ?? void 0);
|
|
6152
6152
|
React.useEffect(() => {
|
|
6153
6153
|
if (!workspaceId || !conversations || isPlaceholderData || migratedWorkspaces.has(workspaceId))
|
|
6154
6154
|
return;
|
|
@@ -6202,9 +6202,9 @@ function useConversationTurn({
|
|
|
6202
6202
|
selectedWorkspaceId,
|
|
6203
6203
|
parentMessageId
|
|
6204
6204
|
}) {
|
|
6205
|
-
const currentConversationId =
|
|
6205
|
+
const currentConversationId = chunk2MGJXBBJ_cjs.useArbiSessionState((state) => state.conversationId);
|
|
6206
6206
|
const conversationKey2 = currentConversationId || "new";
|
|
6207
|
-
const generationState =
|
|
6207
|
+
const generationState = chunk2MGJXBBJ_cjs.useArbiSessionState((state) => state.generating[conversationKey2]);
|
|
6208
6208
|
const isGenerating = generationState?.isGenerating ?? false;
|
|
6209
6209
|
const generationError = generationState?.error ?? null;
|
|
6210
6210
|
const lastFailedMessage = generationState?.lastFailedMessage ?? null;
|
|
@@ -6224,10 +6224,10 @@ function useConversationTurn({
|
|
|
6224
6224
|
};
|
|
6225
6225
|
}
|
|
6226
6226
|
function useActiveConfigId() {
|
|
6227
|
-
const chatModel =
|
|
6228
|
-
const cursor =
|
|
6227
|
+
const chatModel = chunk2MGJXBBJ_cjs.useArbiSessionState((s) => s.chatModel);
|
|
6228
|
+
const cursor = chunk2MGJXBBJ_cjs.useArbiSessionState((s) => s.cursor);
|
|
6229
6229
|
const { messageHistory } = useConversationData();
|
|
6230
|
-
const { data: userSettings } =
|
|
6230
|
+
const { data: userSettings } = chunkQWKTQYGM_cjs.useUserSettings();
|
|
6231
6231
|
return React.useMemo(() => {
|
|
6232
6232
|
if (chatModel) return chatModel;
|
|
6233
6233
|
const parent = cursor ? messageHistory?.find((m) => m.external_id === cursor) : void 0;
|
|
@@ -6237,9 +6237,9 @@ function useActiveConfigId() {
|
|
|
6237
6237
|
}
|
|
6238
6238
|
var EMPTY_DOCS = [];
|
|
6239
6239
|
function useConversationDocuments() {
|
|
6240
|
-
const currentConversationId =
|
|
6240
|
+
const currentConversationId = chunk2MGJXBBJ_cjs.useArbiSessionState((state) => state.conversationId);
|
|
6241
6241
|
const convKey = currentConversationId || "new";
|
|
6242
|
-
const inConversationDocuments =
|
|
6242
|
+
const inConversationDocuments = chunk2MGJXBBJ_cjs.useArbiSessionState(
|
|
6243
6243
|
(state) => state.conversationDocuments[convKey] || EMPTY_DOCS
|
|
6244
6244
|
);
|
|
6245
6245
|
const { data: documents3 = [], isLoading: isLoadingDocs } = chunkV5WCKJEH_cjs.useDocuments();
|
|
@@ -6274,8 +6274,8 @@ function useDocumentAutoAdd({
|
|
|
6274
6274
|
allWorkspaceDocuments,
|
|
6275
6275
|
hasContent = false
|
|
6276
6276
|
}) {
|
|
6277
|
-
const session =
|
|
6278
|
-
const currentConversationId =
|
|
6277
|
+
const session = chunk2MGJXBBJ_cjs.useArbiSessionStore();
|
|
6278
|
+
const currentConversationId = chunk2MGJXBBJ_cjs.useArbiSessionState((state) => state.conversationId);
|
|
6279
6279
|
const convKey = currentConversationId || "new";
|
|
6280
6280
|
const observedRef = React.useRef(null);
|
|
6281
6281
|
const offeredRef = React.useRef(/* @__PURE__ */ new Set());
|
|
@@ -6336,12 +6336,12 @@ function useDocumentAutoAdd({
|
|
|
6336
6336
|
}, [selectedWorkspaceId, convKey, allWorkspaceDocuments, hasContent, session]);
|
|
6337
6337
|
}
|
|
6338
6338
|
function useAutoSendDraft(sendDraft, ready = true, canSend) {
|
|
6339
|
-
const session =
|
|
6340
|
-
const autoSendDraft =
|
|
6339
|
+
const session = chunk2MGJXBBJ_cjs.useArbiSessionStore();
|
|
6340
|
+
const autoSendDraft = chunk2MGJXBBJ_cjs.useArbiSessionState((state) => state.autoSendDraft);
|
|
6341
6341
|
React.useEffect(() => {
|
|
6342
6342
|
if (!autoSendDraft || !ready || canSend && !canSend()) return;
|
|
6343
6343
|
session.setAutoSendDraft(false);
|
|
6344
|
-
if (
|
|
6344
|
+
if (chunk2MGJXBBJ_cjs.selectDraft(session.getState()).trim()) {
|
|
6345
6345
|
sendDraft();
|
|
6346
6346
|
}
|
|
6347
6347
|
}, [autoSendDraft, ready, canSend, sendDraft, session]);
|
|
@@ -6428,18 +6428,18 @@ function useAnswerAgentQuestion() {
|
|
|
6428
6428
|
}
|
|
6429
6429
|
var TITLE_MAX = 50;
|
|
6430
6430
|
function useConversationSettings() {
|
|
6431
|
-
const session =
|
|
6432
|
-
const conversationId =
|
|
6433
|
-
const chatModel =
|
|
6434
|
-
const parentMessageId =
|
|
6435
|
-
const currentUser =
|
|
6431
|
+
const session = chunk2MGJXBBJ_cjs.useArbiSessionStore();
|
|
6432
|
+
const conversationId = chunk2MGJXBBJ_cjs.useArbiSessionState((s) => s.conversationId);
|
|
6433
|
+
const chatModel = chunk2MGJXBBJ_cjs.useArbiSessionState((s) => s.chatModel);
|
|
6434
|
+
const parentMessageId = chunk2MGJXBBJ_cjs.useArbiSessionState((s) => s.cursor);
|
|
6435
|
+
const currentUser = chunk2MGJXBBJ_cjs.useArbiSession().user;
|
|
6436
6436
|
const { messageHistory } = useConversationData();
|
|
6437
6437
|
const { conversations } = useConversationItems();
|
|
6438
|
-
const { data: userSettings } =
|
|
6438
|
+
const { data: userSettings } = chunkQWKTQYGM_cjs.useUserSettings();
|
|
6439
6439
|
const parentMessage = messageHistory?.find((m) => m.external_id === parentMessageId);
|
|
6440
6440
|
const configToLoad = chatModel || parentMessage?.config_ext_id || userSettings?.last_config || "default";
|
|
6441
|
-
const { data: activeConfig } =
|
|
6442
|
-
const { refetch: refetchSystemDefaults } =
|
|
6441
|
+
const { data: activeConfig } = chunk2MGJXBBJ_cjs.useConfig(configToLoad);
|
|
6442
|
+
const { refetch: refetchSystemDefaults } = chunk2MGJXBBJ_cjs.useConfig("default");
|
|
6443
6443
|
const conversation = conversations.find((c) => c.external_id === conversationId);
|
|
6444
6444
|
const isOwner = !!conversation && conversation.created_by_ext_id === currentUser?.external_id;
|
|
6445
6445
|
const isShared = conversation?.is_shared ?? false;
|
|
@@ -6486,7 +6486,7 @@ function useConversationSettings() {
|
|
|
6486
6486
|
};
|
|
6487
6487
|
}
|
|
6488
6488
|
function useAskAgain(options) {
|
|
6489
|
-
const session =
|
|
6489
|
+
const session = chunk2MGJXBBJ_cjs.useArbiSessionStore();
|
|
6490
6490
|
const optionsRef = React.useRef(options);
|
|
6491
6491
|
React.useEffect(() => {
|
|
6492
6492
|
optionsRef.current = options;
|
|
@@ -6578,11 +6578,11 @@ function useMessageTimer({
|
|
|
6578
6578
|
isUser,
|
|
6579
6579
|
isGenerating
|
|
6580
6580
|
}) {
|
|
6581
|
-
const session =
|
|
6581
|
+
const session = chunk2MGJXBBJ_cjs.useArbiSessionStore();
|
|
6582
6582
|
const convId = conversationId || "new";
|
|
6583
6583
|
const timerKey = `${convId}:${messageId}`;
|
|
6584
|
-
const generationStartTime =
|
|
6585
|
-
const storedElapsed =
|
|
6584
|
+
const generationStartTime = chunk2MGJXBBJ_cjs.useArbiSessionState((s) => s.generating[convId]?.startTime ?? null);
|
|
6585
|
+
const storedElapsed = chunk2MGJXBBJ_cjs.useArbiSessionState((s) => s.messageTimers[timerKey]?.elapsedTime);
|
|
6586
6586
|
const [elapsedTime, setElapsedTime] = React.useState(0);
|
|
6587
6587
|
const lastElapsedRef = React.useRef(0);
|
|
6588
6588
|
React.useEffect(() => {
|
|
@@ -6607,7 +6607,7 @@ function useMessageTimer({
|
|
|
6607
6607
|
}
|
|
6608
6608
|
function useAgentRunControl(assistantMessageExtId) {
|
|
6609
6609
|
const arbi = chunkZZBCZRA5_cjs.useArbi();
|
|
6610
|
-
const session =
|
|
6610
|
+
const session = chunk2MGJXBBJ_cjs.useArbiSessionStore();
|
|
6611
6611
|
const send2 = React.useCallback(
|
|
6612
6612
|
(command) => {
|
|
6613
6613
|
if (!assistantMessageExtId) return;
|
|
@@ -6967,8 +6967,8 @@ var WORK_OFFLINE_VIEW = "app.workOffline";
|
|
|
6967
6967
|
var isWorkingOffline = (session) => session.getState().views.transient[WORK_OFFLINE_VIEW] === true;
|
|
6968
6968
|
var setWorkOfflineIn = (session, on) => session.setTransientView(WORK_OFFLINE_VIEW, on || void 0);
|
|
6969
6969
|
function useWorkOffline() {
|
|
6970
|
-
const session =
|
|
6971
|
-
const on =
|
|
6970
|
+
const session = chunk2MGJXBBJ_cjs.useArbiSessionStore();
|
|
6971
|
+
const on = chunk2MGJXBBJ_cjs.useArbiSessionState((s) => s.views.transient[WORK_OFFLINE_VIEW] === true);
|
|
6972
6972
|
const set2 = React.useCallback((next) => setWorkOfflineIn(session, next), [session]);
|
|
6973
6973
|
return [on, set2];
|
|
6974
6974
|
}
|
|
@@ -6980,9 +6980,9 @@ function computeOnline(wsStatus, isAuthenticated, workOffline, wsEverConnected)
|
|
|
6980
6980
|
return navOnline && wsOnline;
|
|
6981
6981
|
}
|
|
6982
6982
|
function useOnlineSync() {
|
|
6983
|
-
const session =
|
|
6983
|
+
const session = chunk2MGJXBBJ_cjs.useArbiSessionStore();
|
|
6984
6984
|
const wsStatus = chunkV5WCKJEH_cjs.useArbiWsStore((s) => s.status);
|
|
6985
|
-
const signedIn2 =
|
|
6985
|
+
const signedIn2 = chunk2MGJXBBJ_cjs.useArbiSession().status === "signed-in";
|
|
6986
6986
|
const [workOffline] = useWorkOffline();
|
|
6987
6987
|
const wsEverConnected = React.useRef(false);
|
|
6988
6988
|
if (wsStatus === "connected") wsEverConnected.current = true;
|
|
@@ -7009,7 +7009,7 @@ function useOnlineSync() {
|
|
|
7009
7009
|
}, [session]);
|
|
7010
7010
|
}
|
|
7011
7011
|
function useReconnect() {
|
|
7012
|
-
const session =
|
|
7012
|
+
const session = chunk2MGJXBBJ_cjs.useArbiSessionStore();
|
|
7013
7013
|
return React.useCallback(() => {
|
|
7014
7014
|
if (isWorkingOffline(session)) {
|
|
7015
7015
|
setWorkOfflineIn(session, false);
|
|
@@ -7187,53 +7187,53 @@ async function nativeThreadKeys(secret, message) {
|
|
|
7187
7187
|
|
|
7188
7188
|
// src/mail/offline/mailbox.ts
|
|
7189
7189
|
var keyOf = {
|
|
7190
|
-
accounts: () =>
|
|
7191
|
-
policy: () =>
|
|
7192
|
-
folders: (accountId) =>
|
|
7193
|
-
header: (accountId, folderId, messageId) =>
|
|
7194
|
-
body: (accountId, messageId) =>
|
|
7195
|
-
attachment: (accountId, messageId, attachmentId) =>
|
|
7190
|
+
accounts: () => chunkQWKTQYGM_cjs.blind("accounts"),
|
|
7191
|
+
policy: () => chunkQWKTQYGM_cjs.blind("policy"),
|
|
7192
|
+
folders: (accountId) => chunkQWKTQYGM_cjs.blind("folders", accountId),
|
|
7193
|
+
header: (accountId, folderId, messageId) => chunkQWKTQYGM_cjs.blind("header", accountId, folderId, messageId),
|
|
7194
|
+
body: (accountId, messageId) => chunkQWKTQYGM_cjs.blind("body", accountId, messageId),
|
|
7195
|
+
attachment: (accountId, messageId, attachmentId) => chunkQWKTQYGM_cjs.blind("attachment", accountId, messageId, attachmentId)
|
|
7196
7196
|
};
|
|
7197
7197
|
var bucketOf = {
|
|
7198
|
-
global: () =>
|
|
7199
|
-
folder: (accountId, folderId) =>
|
|
7200
|
-
account: (accountId) =>
|
|
7198
|
+
global: () => chunkQWKTQYGM_cjs.blind("bucket", "global"),
|
|
7199
|
+
folder: (accountId, folderId) => chunkQWKTQYGM_cjs.blind("bucket", "folder", accountId, folderId),
|
|
7200
|
+
account: (accountId) => chunkQWKTQYGM_cjs.blind("bucket", "account", accountId)
|
|
7201
7201
|
};
|
|
7202
7202
|
async function put(kind, key, bucket3, data, sortAt = Date.now()) {
|
|
7203
7203
|
const now = Date.now();
|
|
7204
|
-
await
|
|
7204
|
+
await chunkQWKTQYGM_cjs.putRecord({ key, kind, bucket: bucket3, sortAt, size: data.byteLength, lastAccess: now, data });
|
|
7205
7205
|
}
|
|
7206
7206
|
async function readJson(record) {
|
|
7207
7207
|
if (!record) return void 0;
|
|
7208
7208
|
try {
|
|
7209
|
-
return await
|
|
7209
|
+
return await chunkQWKTQYGM_cjs.openJson(record.data);
|
|
7210
7210
|
} catch {
|
|
7211
7211
|
return void 0;
|
|
7212
7212
|
}
|
|
7213
7213
|
}
|
|
7214
7214
|
var receivedAt = (m) => m.received_at ? Date.parse(m.received_at) || 0 : 0;
|
|
7215
7215
|
async function saveAccounts(accounts) {
|
|
7216
|
-
await put("accounts", await keyOf.accounts(), await bucketOf.global(), await
|
|
7216
|
+
await put("accounts", await keyOf.accounts(), await bucketOf.global(), await chunkQWKTQYGM_cjs.sealJson(accounts));
|
|
7217
7217
|
}
|
|
7218
7218
|
async function loadAccounts() {
|
|
7219
|
-
return readJson(await
|
|
7219
|
+
return readJson(await chunkQWKTQYGM_cjs.getRecord(await keyOf.accounts()));
|
|
7220
7220
|
}
|
|
7221
7221
|
async function savePolicy(policy) {
|
|
7222
|
-
await put("policy", await keyOf.policy(), await bucketOf.global(), await
|
|
7222
|
+
await put("policy", await keyOf.policy(), await bucketOf.global(), await chunkQWKTQYGM_cjs.sealJson(policy));
|
|
7223
7223
|
}
|
|
7224
7224
|
async function loadPolicy() {
|
|
7225
|
-
return readJson(await
|
|
7225
|
+
return readJson(await chunkQWKTQYGM_cjs.getRecord(await keyOf.policy()));
|
|
7226
7226
|
}
|
|
7227
7227
|
async function saveFolders(accountId, folders) {
|
|
7228
7228
|
await put(
|
|
7229
7229
|
"folders",
|
|
7230
7230
|
await keyOf.folders(accountId),
|
|
7231
7231
|
await bucketOf.account(accountId),
|
|
7232
|
-
await
|
|
7232
|
+
await chunkQWKTQYGM_cjs.sealJson(folders)
|
|
7233
7233
|
);
|
|
7234
7234
|
}
|
|
7235
7235
|
async function loadFolders(accountId) {
|
|
7236
|
-
return readJson(await
|
|
7236
|
+
return readJson(await chunkQWKTQYGM_cjs.getRecord(await keyOf.folders(accountId)));
|
|
7237
7237
|
}
|
|
7238
7238
|
function toHeader(message) {
|
|
7239
7239
|
return {
|
|
@@ -7249,12 +7249,12 @@ async function saveHeader(accountId, folderId, message) {
|
|
|
7249
7249
|
"header",
|
|
7250
7250
|
await keyOf.header(accountId, folderId, message.id),
|
|
7251
7251
|
await bucketOf.folder(accountId, folderId),
|
|
7252
|
-
await
|
|
7252
|
+
await chunkQWKTQYGM_cjs.sealJson(toHeader(message)),
|
|
7253
7253
|
receivedAt(message)
|
|
7254
7254
|
);
|
|
7255
7255
|
}
|
|
7256
7256
|
async function loadHeaders(accountId, folderId) {
|
|
7257
|
-
const records = await
|
|
7257
|
+
const records = await chunkQWKTQYGM_cjs.recordsInBucket(await bucketOf.folder(accountId, folderId));
|
|
7258
7258
|
const out = [];
|
|
7259
7259
|
for (const record of records) {
|
|
7260
7260
|
if (record.kind !== "header") continue;
|
|
@@ -7264,7 +7264,7 @@ async function loadHeaders(accountId, folderId) {
|
|
|
7264
7264
|
return out.sort((a, b) => b.sortAt - a.sortAt);
|
|
7265
7265
|
}
|
|
7266
7266
|
async function hasFolder(accountId) {
|
|
7267
|
-
return
|
|
7267
|
+
return chunkQWKTQYGM_cjs.hasRecord(await keyOf.folders(accountId));
|
|
7268
7268
|
}
|
|
7269
7269
|
async function saveBody(accountId, message) {
|
|
7270
7270
|
const stripped = {
|
|
@@ -7275,42 +7275,42 @@ async function saveBody(accountId, message) {
|
|
|
7275
7275
|
"body",
|
|
7276
7276
|
await keyOf.body(accountId, message.id),
|
|
7277
7277
|
await bucketOf.account(accountId),
|
|
7278
|
-
await
|
|
7278
|
+
await chunkQWKTQYGM_cjs.sealJson(stripped),
|
|
7279
7279
|
receivedAt(message)
|
|
7280
7280
|
);
|
|
7281
7281
|
}
|
|
7282
7282
|
async function hasBody(accountId, messageId) {
|
|
7283
|
-
return
|
|
7283
|
+
return chunkQWKTQYGM_cjs.hasRecord(await keyOf.body(accountId, messageId));
|
|
7284
7284
|
}
|
|
7285
7285
|
async function loadBody(accountId, messageId) {
|
|
7286
|
-
return readJson(await
|
|
7286
|
+
return readJson(await chunkQWKTQYGM_cjs.getRecord(await keyOf.body(accountId, messageId)));
|
|
7287
7287
|
}
|
|
7288
7288
|
async function saveAttachment(accountId, messageId, attachmentId, bytes, sortAt) {
|
|
7289
7289
|
await put(
|
|
7290
7290
|
"attachment",
|
|
7291
7291
|
await keyOf.attachment(accountId, messageId, attachmentId),
|
|
7292
7292
|
await bucketOf.account(accountId),
|
|
7293
|
-
await
|
|
7293
|
+
await chunkQWKTQYGM_cjs.sealBytes(bytes),
|
|
7294
7294
|
sortAt || void 0
|
|
7295
7295
|
);
|
|
7296
7296
|
}
|
|
7297
7297
|
async function hasAttachment(accountId, messageId, attachmentId) {
|
|
7298
|
-
return
|
|
7298
|
+
return chunkQWKTQYGM_cjs.hasRecord(await keyOf.attachment(accountId, messageId, attachmentId));
|
|
7299
7299
|
}
|
|
7300
7300
|
async function loadAttachment(accountId, messageId, attachmentId) {
|
|
7301
7301
|
const key = await keyOf.attachment(accountId, messageId, attachmentId);
|
|
7302
|
-
const record = await
|
|
7302
|
+
const record = await chunkQWKTQYGM_cjs.getRecord(key);
|
|
7303
7303
|
if (!record) return void 0;
|
|
7304
7304
|
try {
|
|
7305
|
-
const bytes = await
|
|
7306
|
-
void
|
|
7305
|
+
const bytes = await chunkQWKTQYGM_cjs.openBytes(record.data);
|
|
7306
|
+
void chunkQWKTQYGM_cjs.touchRecord(key);
|
|
7307
7307
|
return bytes;
|
|
7308
7308
|
} catch {
|
|
7309
7309
|
return void 0;
|
|
7310
7310
|
}
|
|
7311
7311
|
}
|
|
7312
7312
|
async function removeKeys(keys) {
|
|
7313
|
-
await
|
|
7313
|
+
await chunkQWKTQYGM_cjs.deleteRecords(keys);
|
|
7314
7314
|
}
|
|
7315
7315
|
function bodyText(body) {
|
|
7316
7316
|
const html = body.text ? "" : (body.html ?? "").replace(/<[^>]*>/g, " ");
|
|
@@ -7355,27 +7355,27 @@ function isBrowserOffline() {
|
|
|
7355
7355
|
// src/mail/offline/changes.ts
|
|
7356
7356
|
var isFiling = (change) => change.kind === "file";
|
|
7357
7357
|
var MAX_ATTEMPTS = 5;
|
|
7358
|
-
var bucket = () =>
|
|
7359
|
-
var keyFor = (id) =>
|
|
7358
|
+
var bucket = () => chunkQWKTQYGM_cjs.blind("bucket", "changes");
|
|
7359
|
+
var keyFor = (id) => chunkQWKTQYGM_cjs.blind("change", id);
|
|
7360
7360
|
async function write(item) {
|
|
7361
|
-
await
|
|
7361
|
+
await chunkQWKTQYGM_cjs.putRecord({
|
|
7362
7362
|
key: await keyFor(item.id),
|
|
7363
7363
|
kind: "change",
|
|
7364
7364
|
bucket: await bucket(),
|
|
7365
7365
|
sortAt: item.seq,
|
|
7366
7366
|
size: 0,
|
|
7367
7367
|
lastAccess: Date.now(),
|
|
7368
|
-
data: await
|
|
7368
|
+
data: await chunkQWKTQYGM_cjs.sealJson(item)
|
|
7369
7369
|
});
|
|
7370
7370
|
}
|
|
7371
7371
|
async function drop(item) {
|
|
7372
|
-
await
|
|
7372
|
+
await chunkQWKTQYGM_cjs.deleteRecords([await keyFor(item.id)]);
|
|
7373
7373
|
}
|
|
7374
7374
|
async function readHeader(accountId, folderId, messageId) {
|
|
7375
|
-
const record = await
|
|
7375
|
+
const record = await chunkQWKTQYGM_cjs.getRecord(await keyOf.header(accountId, folderId, messageId));
|
|
7376
7376
|
if (!record) return void 0;
|
|
7377
7377
|
try {
|
|
7378
|
-
return await
|
|
7378
|
+
return await chunkQWKTQYGM_cjs.openJson(record.data);
|
|
7379
7379
|
} catch {
|
|
7380
7380
|
return void 0;
|
|
7381
7381
|
}
|
|
@@ -7457,9 +7457,9 @@ function combine(pending, next) {
|
|
|
7457
7457
|
}
|
|
7458
7458
|
async function listMailChanges() {
|
|
7459
7459
|
const items = [];
|
|
7460
|
-
for (const record of await
|
|
7460
|
+
for (const record of await chunkQWKTQYGM_cjs.recordsInBucket(await bucket())) {
|
|
7461
7461
|
try {
|
|
7462
|
-
items.push(await
|
|
7462
|
+
items.push(await chunkQWKTQYGM_cjs.openJson(record.data));
|
|
7463
7463
|
} catch {
|
|
7464
7464
|
}
|
|
7465
7465
|
}
|
|
@@ -7514,14 +7514,14 @@ function serially(fn) {
|
|
|
7514
7514
|
}
|
|
7515
7515
|
async function queueMailChange(input) {
|
|
7516
7516
|
await serially(() => queue(input));
|
|
7517
|
-
|
|
7518
|
-
|
|
7517
|
+
chunkQWKTQYGM_cjs.notifyOfflineMailChange("changes");
|
|
7518
|
+
chunkQWKTQYGM_cjs.notifyOfflineMailChange("mailbox");
|
|
7519
7519
|
}
|
|
7520
7520
|
async function readChange(id) {
|
|
7521
|
-
const record = await
|
|
7521
|
+
const record = await chunkQWKTQYGM_cjs.getRecord(await keyFor(id));
|
|
7522
7522
|
if (!record) return void 0;
|
|
7523
7523
|
try {
|
|
7524
|
-
return await
|
|
7524
|
+
return await chunkQWKTQYGM_cjs.openJson(record.data);
|
|
7525
7525
|
} catch {
|
|
7526
7526
|
return void 0;
|
|
7527
7527
|
}
|
|
@@ -7594,7 +7594,7 @@ async function applyMailChangesOnce(sender, isOnline) {
|
|
|
7594
7594
|
result.interrupted = true;
|
|
7595
7595
|
}
|
|
7596
7596
|
}
|
|
7597
|
-
if (result.applied + result.gone + result.refused.length > 0)
|
|
7597
|
+
if (result.applied + result.gone + result.refused.length > 0) chunkQWKTQYGM_cjs.notifyOfflineMailChange("changes");
|
|
7598
7598
|
return result;
|
|
7599
7599
|
}
|
|
7600
7600
|
var NO_PRIMER = () => void 0;
|
|
@@ -7710,26 +7710,26 @@ function useConnectedMailFiling(account, messages) {
|
|
|
7710
7710
|
}
|
|
7711
7711
|
|
|
7712
7712
|
// src/mail/offline/drafts.ts
|
|
7713
|
-
var keyFor2 = (id) =>
|
|
7713
|
+
var keyFor2 = (id) => chunkQWKTQYGM_cjs.blind("draft", id);
|
|
7714
7714
|
async function saveLocalDraft(accountId, compose, id = crypto.randomUUID()) {
|
|
7715
7715
|
const draft = { id, accountId, compose, updatedAt: Date.now() };
|
|
7716
|
-
await
|
|
7716
|
+
await chunkQWKTQYGM_cjs.putRecord({
|
|
7717
7717
|
key: await keyFor2(id),
|
|
7718
7718
|
kind: "draft",
|
|
7719
|
-
bucket: await
|
|
7719
|
+
bucket: await chunkQWKTQYGM_cjs.blind("bucket", "drafts", accountId),
|
|
7720
7720
|
sortAt: draft.updatedAt,
|
|
7721
7721
|
size: 0,
|
|
7722
7722
|
lastAccess: draft.updatedAt,
|
|
7723
|
-
data: await
|
|
7723
|
+
data: await chunkQWKTQYGM_cjs.sealJson(draft)
|
|
7724
7724
|
});
|
|
7725
|
-
|
|
7725
|
+
chunkQWKTQYGM_cjs.notifyOfflineMailChange("drafts");
|
|
7726
7726
|
return draft;
|
|
7727
7727
|
}
|
|
7728
7728
|
async function listLocalDrafts(accountId) {
|
|
7729
7729
|
const drafts = [];
|
|
7730
|
-
for (const record of await
|
|
7730
|
+
for (const record of await chunkQWKTQYGM_cjs.recordsOfKind("draft")) {
|
|
7731
7731
|
try {
|
|
7732
|
-
const draft = await
|
|
7732
|
+
const draft = await chunkQWKTQYGM_cjs.openJson(record.data);
|
|
7733
7733
|
if (!accountId || draft.accountId === accountId) drafts.push(draft);
|
|
7734
7734
|
} catch {
|
|
7735
7735
|
}
|
|
@@ -7737,8 +7737,8 @@ async function listLocalDrafts(accountId) {
|
|
|
7737
7737
|
return drafts.sort((a, b) => b.updatedAt - a.updatedAt);
|
|
7738
7738
|
}
|
|
7739
7739
|
async function deleteLocalDraft(id) {
|
|
7740
|
-
await
|
|
7741
|
-
|
|
7740
|
+
await chunkQWKTQYGM_cjs.deleteRecords([await keyFor2(id)]);
|
|
7741
|
+
chunkQWKTQYGM_cjs.notifyOfflineMailChange("drafts");
|
|
7742
7742
|
}
|
|
7743
7743
|
async function syncLocalDrafts(save) {
|
|
7744
7744
|
let uploaded = 0;
|
|
@@ -7751,27 +7751,27 @@ async function syncLocalDrafts(save) {
|
|
|
7751
7751
|
} catch (error) {
|
|
7752
7752
|
const status = error.status;
|
|
7753
7753
|
if (isNetworkFailure(error) || status === void 0 || status === 401 || status >= 500) break;
|
|
7754
|
-
await
|
|
7754
|
+
await chunkQWKTQYGM_cjs.putRecord({
|
|
7755
7755
|
key: await keyFor2(draft.id),
|
|
7756
7756
|
kind: "draft",
|
|
7757
|
-
bucket: await
|
|
7757
|
+
bucket: await chunkQWKTQYGM_cjs.blind("bucket", "drafts", draft.accountId),
|
|
7758
7758
|
sortAt: draft.updatedAt,
|
|
7759
7759
|
size: 0,
|
|
7760
7760
|
lastAccess: Date.now(),
|
|
7761
|
-
data: await
|
|
7761
|
+
data: await chunkQWKTQYGM_cjs.sealJson({
|
|
7762
7762
|
...draft,
|
|
7763
7763
|
error: error instanceof Error ? error.message : "The server refused this draft"
|
|
7764
7764
|
})
|
|
7765
7765
|
});
|
|
7766
|
-
|
|
7766
|
+
chunkQWKTQYGM_cjs.notifyOfflineMailChange("drafts");
|
|
7767
7767
|
}
|
|
7768
7768
|
}
|
|
7769
7769
|
return uploaded;
|
|
7770
7770
|
}
|
|
7771
7771
|
|
|
7772
7772
|
// src/mail/offline/outbox.ts
|
|
7773
|
-
var bucket2 = () =>
|
|
7774
|
-
var keyFor3 = (id) =>
|
|
7773
|
+
var bucket2 = () => chunkQWKTQYGM_cjs.blind("bucket", "outbox");
|
|
7774
|
+
var keyFor3 = (id) => chunkQWKTQYGM_cjs.blind("outbox", id);
|
|
7775
7775
|
function outboxProblem(compose) {
|
|
7776
7776
|
const missing = compose.attachments.find((a) => a.content_base64 == null);
|
|
7777
7777
|
if (missing)
|
|
@@ -7780,22 +7780,22 @@ function outboxProblem(compose) {
|
|
|
7780
7780
|
}
|
|
7781
7781
|
var seqCounter = 0;
|
|
7782
7782
|
async function write2(item) {
|
|
7783
|
-
await
|
|
7783
|
+
await chunkQWKTQYGM_cjs.putRecord({
|
|
7784
7784
|
key: await keyFor3(item.id),
|
|
7785
7785
|
kind: "outbox",
|
|
7786
7786
|
bucket: await bucket2(),
|
|
7787
7787
|
sortAt: item.seq,
|
|
7788
7788
|
size: 0,
|
|
7789
7789
|
lastAccess: Date.now(),
|
|
7790
|
-
data: await
|
|
7790
|
+
data: await chunkQWKTQYGM_cjs.sealJson(item)
|
|
7791
7791
|
});
|
|
7792
7792
|
}
|
|
7793
7793
|
async function listOutbox() {
|
|
7794
|
-
const records = await
|
|
7794
|
+
const records = await chunkQWKTQYGM_cjs.recordsInBucket(await bucket2());
|
|
7795
7795
|
const items = [];
|
|
7796
7796
|
for (const record of records) {
|
|
7797
7797
|
try {
|
|
7798
|
-
items.push(await
|
|
7798
|
+
items.push(await chunkQWKTQYGM_cjs.openJson(record.data));
|
|
7799
7799
|
} catch {
|
|
7800
7800
|
}
|
|
7801
7801
|
}
|
|
@@ -7819,18 +7819,18 @@ async function enqueueOutbox(input) {
|
|
|
7819
7819
|
seq: seqCounter
|
|
7820
7820
|
};
|
|
7821
7821
|
await write2(item);
|
|
7822
|
-
|
|
7822
|
+
chunkQWKTQYGM_cjs.notifyOfflineMailChange("outbox");
|
|
7823
7823
|
return item;
|
|
7824
7824
|
}
|
|
7825
7825
|
async function update(item, patch) {
|
|
7826
7826
|
const next = { ...item, ...patch };
|
|
7827
7827
|
await write2(next);
|
|
7828
|
-
|
|
7828
|
+
chunkQWKTQYGM_cjs.notifyOfflineMailChange("outbox");
|
|
7829
7829
|
return next;
|
|
7830
7830
|
}
|
|
7831
7831
|
async function deleteOutboxItem(id) {
|
|
7832
|
-
await
|
|
7833
|
-
|
|
7832
|
+
await chunkQWKTQYGM_cjs.deleteRecords([await keyFor3(id)]);
|
|
7833
|
+
chunkQWKTQYGM_cjs.notifyOfflineMailChange("outbox");
|
|
7834
7834
|
}
|
|
7835
7835
|
async function retryOutboxItem(id) {
|
|
7836
7836
|
const item = (await listOutbox()).find((i) => i.id === id);
|
|
@@ -7921,14 +7921,14 @@ async function purgeSentOutbox(olderThanMs = 0) {
|
|
|
7921
7921
|
const cutoff = Date.now() - olderThanMs;
|
|
7922
7922
|
const done = (await listOutbox()).filter((i) => i.status === "sent" && (i.sentAt ?? 0) <= cutoff);
|
|
7923
7923
|
if (done.length === 0) return;
|
|
7924
|
-
await
|
|
7925
|
-
|
|
7924
|
+
await chunkQWKTQYGM_cjs.deleteRecords(await Promise.all(done.map((i) => keyFor3(i.id))));
|
|
7925
|
+
chunkQWKTQYGM_cjs.notifyOfflineMailChange("outbox");
|
|
7926
7926
|
}
|
|
7927
7927
|
var STATUS_KEY = "status";
|
|
7928
7928
|
var FULL_SYNC_EVERY_MS = 60 * 60 * 1e3;
|
|
7929
7929
|
var MAX_PAGES = 200;
|
|
7930
7930
|
async function getOfflineMailStatus() {
|
|
7931
|
-
return await
|
|
7931
|
+
return await chunkQWKTQYGM_cjs.getMeta(STATUS_KEY) ?? { messages: 0, bytes: 0, skipped: [] };
|
|
7932
7932
|
}
|
|
7933
7933
|
var MB = 1024 * 1024;
|
|
7934
7934
|
var time = (m) => m.received_at ? Date.parse(m.received_at) || 0 : 0;
|
|
@@ -8019,23 +8019,23 @@ async function collectGarbage(accounts) {
|
|
|
8019
8019
|
expected.add(await keyOf.attachment(account.id, message.id, attachment.id));
|
|
8020
8020
|
}
|
|
8021
8021
|
}
|
|
8022
|
-
const orphans = (await
|
|
8022
|
+
const orphans = (await chunkQWKTQYGM_cjs.recordsInBucket(await bucketOf.account(account.id))).filter((r) => (r.kind === "body" || r.kind === "attachment") && !expected.has(r.key)).map((r) => r.key);
|
|
8023
8023
|
await removeKeys(orphans);
|
|
8024
8024
|
}
|
|
8025
8025
|
}
|
|
8026
8026
|
async function forgetAccount(accountId) {
|
|
8027
8027
|
for (const folder of await loadFolders(accountId) ?? []) {
|
|
8028
|
-
const records2 = await
|
|
8028
|
+
const records2 = await chunkQWKTQYGM_cjs.recordsInBucket(await bucketOf.folder(accountId, folder.id));
|
|
8029
8029
|
await removeKeys(records2.map((r) => r.key));
|
|
8030
8030
|
}
|
|
8031
|
-
const records = await
|
|
8031
|
+
const records = await chunkQWKTQYGM_cjs.recordsInBucket(await bucketOf.account(accountId));
|
|
8032
8032
|
await removeKeys(records.filter((r) => r.kind !== "draft").map((r) => r.key));
|
|
8033
8033
|
}
|
|
8034
8034
|
async function enforceQuota(quotaBytes) {
|
|
8035
|
-
let used = (await
|
|
8035
|
+
let used = (await chunkQWKTQYGM_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0);
|
|
8036
8036
|
if (used <= quotaBytes) return used;
|
|
8037
8037
|
for (const kind of ["attachment", "body"]) {
|
|
8038
|
-
const records = (await
|
|
8038
|
+
const records = (await chunkQWKTQYGM_cjs.recordsOfKind(kind)).sort(
|
|
8039
8039
|
(a, b) => kind === "attachment" ? a.lastAccess - b.lastAccess : a.sortAt - b.sortAt
|
|
8040
8040
|
);
|
|
8041
8041
|
const evict = [];
|
|
@@ -8051,34 +8051,34 @@ async function enforceQuota(quotaBytes) {
|
|
|
8051
8051
|
}
|
|
8052
8052
|
var CONTENT_KINDS = ["header", "body", "attachment"];
|
|
8053
8053
|
async function trimOfflineMailbox(settings, now = Date.now()) {
|
|
8054
|
-
const windowStart =
|
|
8054
|
+
const windowStart = chunkQWKTQYGM_cjs.offlineWindowStart(settings, now);
|
|
8055
8055
|
const kinds = settings.enabled ? CONTENT_KINDS : [...CONTENT_KINDS, "folders"];
|
|
8056
8056
|
for (const kind of kinds) {
|
|
8057
|
-
const records = await
|
|
8057
|
+
const records = await chunkQWKTQYGM_cjs.recordsOfKind(kind);
|
|
8058
8058
|
const old = settings.enabled ? records.filter((r) => r.sortAt > 0 && r.sortAt < windowStart) : records;
|
|
8059
8059
|
await removeKeys(old.map((r) => r.key));
|
|
8060
8060
|
}
|
|
8061
8061
|
const previous = await getOfflineMailStatus();
|
|
8062
8062
|
const status = {
|
|
8063
8063
|
...previous,
|
|
8064
|
-
messages: (await
|
|
8065
|
-
bytes: (await
|
|
8064
|
+
messages: (await chunkQWKTQYGM_cjs.recordsOfKind("header")).length,
|
|
8065
|
+
bytes: (await chunkQWKTQYGM_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0),
|
|
8066
8066
|
// A shorter window no longer covers what the last full pass fetched: growing it again (even
|
|
8067
8067
|
// before the next hourly full pass) makes the next pass a full one.
|
|
8068
|
-
windowDays: settings.enabled && previous.windowDays !== void 0 ? Math.min(previous.windowDays,
|
|
8068
|
+
windowDays: settings.enabled && previous.windowDays !== void 0 ? Math.min(previous.windowDays, chunkQWKTQYGM_cjs.SCOPE_DAYS[settings.scope]) : void 0,
|
|
8069
8069
|
// Off: nothing is saved, so turning it back on starts with a full pass.
|
|
8070
8070
|
...!settings.enabled && { lastSyncedAt: void 0, lastFullSyncAt: void 0 }
|
|
8071
8071
|
};
|
|
8072
|
-
await
|
|
8073
|
-
|
|
8072
|
+
await chunkQWKTQYGM_cjs.setMeta(STATUS_KEY, status);
|
|
8073
|
+
chunkQWKTQYGM_cjs.notifyOfflineMailChange("status");
|
|
8074
8074
|
return status;
|
|
8075
8075
|
}
|
|
8076
8076
|
async function syncMailbox(transport, settings, options = {}) {
|
|
8077
8077
|
const now = options.now ?? Date.now();
|
|
8078
8078
|
const previous = await getOfflineMailStatus();
|
|
8079
|
-
const days =
|
|
8079
|
+
const days = chunkQWKTQYGM_cjs.SCOPE_DAYS[settings.scope];
|
|
8080
8080
|
const full = options.full || !previous.lastFullSyncAt || now - previous.lastFullSyncAt > FULL_SYNC_EVERY_MS || (previous.windowDays ?? 0) < days;
|
|
8081
|
-
const windowStart =
|
|
8081
|
+
const windowStart = chunkQWKTQYGM_cjs.offlineWindowStart(settings, now);
|
|
8082
8082
|
const quota = settings.quotaMb * MB;
|
|
8083
8083
|
const skipped = [];
|
|
8084
8084
|
let error;
|
|
@@ -8090,7 +8090,7 @@ async function syncMailbox(transport, settings, options = {}) {
|
|
|
8090
8090
|
for (const gone of before.filter((b) => !accounts.some((a) => a.id === b.id)))
|
|
8091
8091
|
await forgetAccount(gone.id);
|
|
8092
8092
|
const budget = new Budget(
|
|
8093
|
-
(await
|
|
8093
|
+
(await chunkQWKTQYGM_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0),
|
|
8094
8094
|
quota
|
|
8095
8095
|
);
|
|
8096
8096
|
for (const account of accounts) {
|
|
@@ -8104,12 +8104,12 @@ async function syncMailbox(transport, settings, options = {}) {
|
|
|
8104
8104
|
const oldFolders = await loadFolders(account.id) ?? [];
|
|
8105
8105
|
await saveFolders(account.id, folders);
|
|
8106
8106
|
for (const gone of oldFolders.filter((o) => !folders.some((f) => f.id === o.id))) {
|
|
8107
|
-
const records = await
|
|
8107
|
+
const records = await chunkQWKTQYGM_cjs.recordsInBucket(await bucketOf.folder(account.id, gone.id));
|
|
8108
8108
|
await removeKeys(records.map((r) => r.key));
|
|
8109
8109
|
}
|
|
8110
8110
|
for (const folder of folders.filter((f) => !isVirtualFolder(f)))
|
|
8111
8111
|
await syncFolder(transport, account, folder, settings, windowStart, full, budget);
|
|
8112
|
-
|
|
8112
|
+
chunkQWKTQYGM_cjs.notifyOfflineMailChange("mailbox");
|
|
8113
8113
|
} catch (accountError) {
|
|
8114
8114
|
if (accountError.status === void 0) throw accountError;
|
|
8115
8115
|
client.logger.warn("[offline-mail] account sync failed", accountError);
|
|
@@ -8127,19 +8127,19 @@ async function syncMailbox(transport, settings, options = {}) {
|
|
|
8127
8127
|
const trimmed = await trimOfflineMailbox(current, now);
|
|
8128
8128
|
if (!current.enabled) return trimmed;
|
|
8129
8129
|
const bytes = await enforceQuota(current.quotaMb * MB);
|
|
8130
|
-
const messages = (await
|
|
8130
|
+
const messages = (await chunkQWKTQYGM_cjs.recordsOfKind("header")).length;
|
|
8131
8131
|
const fullDone = !error && full;
|
|
8132
8132
|
const status = {
|
|
8133
8133
|
lastSyncedAt: error ? previous.lastSyncedAt : now,
|
|
8134
8134
|
lastFullSyncAt: fullDone ? now : previous.lastFullSyncAt,
|
|
8135
|
-
windowDays: fullDone ? Math.min(days,
|
|
8135
|
+
windowDays: fullDone ? Math.min(days, chunkQWKTQYGM_cjs.SCOPE_DAYS[current.scope]) : trimmed.windowDays,
|
|
8136
8136
|
messages,
|
|
8137
8137
|
bytes,
|
|
8138
8138
|
error,
|
|
8139
8139
|
skipped
|
|
8140
8140
|
};
|
|
8141
|
-
await
|
|
8142
|
-
|
|
8141
|
+
await chunkQWKTQYGM_cjs.setMeta(STATUS_KEY, status);
|
|
8142
|
+
chunkQWKTQYGM_cjs.notifyOfflineMailChange("status");
|
|
8143
8143
|
return status;
|
|
8144
8144
|
}
|
|
8145
8145
|
|
|
@@ -8338,20 +8338,20 @@ function isMailSyncRunning() {
|
|
|
8338
8338
|
return syncing;
|
|
8339
8339
|
}
|
|
8340
8340
|
async function syncOfflineMailbox({ arbi }, options = {}) {
|
|
8341
|
-
const latest = () =>
|
|
8341
|
+
const latest = () => chunkQWKTQYGM_cjs.getOfflineMailSettings(sessionUser(arbi));
|
|
8342
8342
|
const settings = latest();
|
|
8343
8343
|
if (!settings.enabled || !canReachMail(arbi)) return;
|
|
8344
8344
|
void requestPersistentStorage();
|
|
8345
8345
|
await exclusive("arbi-mail-sync", async () => {
|
|
8346
8346
|
syncing = true;
|
|
8347
|
-
|
|
8347
|
+
chunkQWKTQYGM_cjs.notifyOfflineMailChange("status");
|
|
8348
8348
|
try {
|
|
8349
8349
|
await syncMailbox(liveTransport(arbi), latest(), { ...options, latest });
|
|
8350
8350
|
} catch (error) {
|
|
8351
8351
|
client.logger.error("[offline-mail] sync failed", error);
|
|
8352
8352
|
} finally {
|
|
8353
8353
|
syncing = false;
|
|
8354
|
-
|
|
8354
|
+
chunkQWKTQYGM_cjs.notifyOfflineMailChange("status");
|
|
8355
8355
|
}
|
|
8356
8356
|
});
|
|
8357
8357
|
}
|
|
@@ -8382,9 +8382,9 @@ async function savedFolder(accountId, folderId) {
|
|
|
8382
8382
|
}
|
|
8383
8383
|
function offlineMailReads(getArbi, { keepsMail = () => true } = {}) {
|
|
8384
8384
|
const call = (path) => mailJson((p, i) => getArbi().mail.fetch(p, i), path);
|
|
8385
|
-
const settings = () =>
|
|
8385
|
+
const settings = () => chunkQWKTQYGM_cjs.getOfflineMailSettings(sessionUser(getArbi()));
|
|
8386
8386
|
const storeEnabled = () => settings().enabled;
|
|
8387
|
-
const keeps = (message) =>
|
|
8387
|
+
const keeps = (message) => chunkQWKTQYGM_cjs.inOfflineWindow(settings(), message.received_at);
|
|
8388
8388
|
const remember = (write3) => {
|
|
8389
8389
|
if (!keepsMail()) return;
|
|
8390
8390
|
write3().catch((error) => client.logger.warn("[offline-mail] could not save for offline use", error));
|
|
@@ -8988,13 +8988,13 @@ function ArbiWebSocketProvider({
|
|
|
8988
8988
|
onAuthenticatedRef.current = onAuthenticated;
|
|
8989
8989
|
const handlersRef = React.useRef(handlers);
|
|
8990
8990
|
handlersRef.current = handlers;
|
|
8991
|
-
const session =
|
|
8991
|
+
const session = chunk2MGJXBBJ_cjs.useArbiSessionStore();
|
|
8992
8992
|
const sessionRef = React.useRef(session);
|
|
8993
8993
|
sessionRef.current = session;
|
|
8994
8994
|
const host = chunkZZBCZRA5_cjs.useArbiHost();
|
|
8995
8995
|
const hostRef = React.useRef(host);
|
|
8996
8996
|
hostRef.current = host;
|
|
8997
|
-
const acceptRings =
|
|
8997
|
+
const acceptRings = chunkQWKTQYGM_cjs.useFeature("calls");
|
|
8998
8998
|
const acceptRingsRef = React.useRef(acceptRings);
|
|
8999
8999
|
acceptRingsRef.current = acceptRings;
|
|
9000
9000
|
useOnlineSync();
|
|
@@ -9077,9 +9077,9 @@ function ArbiWebSocketProvider({
|
|
|
9077
9077
|
void queryClient.invalidateQueries({ queryKey: chunkZZBCZRA5_cjs.arbiQueryKeys.allTags() });
|
|
9078
9078
|
}
|
|
9079
9079
|
} else if (type.startsWith("chat.") || type === "agent_dm_status")
|
|
9080
|
-
void
|
|
9080
|
+
void chunkQWKTQYGM_cjs.applyChatEvent(arbiRef.current, queryClient, msg);
|
|
9081
9081
|
else if (type.startsWith("call."))
|
|
9082
|
-
|
|
9082
|
+
chunkQWKTQYGM_cjs.applyCallEvent(queryClient, msg, { me: me(), acceptRings: acceptRingsRef.current });
|
|
9083
9083
|
else if (isNotificationRow(msg)) applyNotificationRow(queryClient, msg, me());
|
|
9084
9084
|
else void applyLiveUpdate(queryClient, msg);
|
|
9085
9085
|
deliver(msg);
|
|
@@ -9446,7 +9446,7 @@ function useSwitchWorkspace() {
|
|
|
9446
9446
|
const arbi = chunkZZBCZRA5_cjs.useArbi();
|
|
9447
9447
|
const arbiRef = React.useRef(arbi);
|
|
9448
9448
|
arbiRef.current = arbi;
|
|
9449
|
-
const session =
|
|
9449
|
+
const session = chunk2MGJXBBJ_cjs.useArbiSessionStore();
|
|
9450
9450
|
const queryClient = reactQuery.useQueryClient();
|
|
9451
9451
|
React.useEffect(
|
|
9452
9452
|
() => arbi.onSigningOut?.(() => {
|
|
@@ -9463,11 +9463,11 @@ function useSwitchWorkspace() {
|
|
|
9463
9463
|
function useOpenSelectedWorkspace() {
|
|
9464
9464
|
const arbi = chunkZZBCZRA5_cjs.useArbi();
|
|
9465
9465
|
const { clearWorkspace, openSelectedWorkspace } = useSwitchWorkspace();
|
|
9466
|
-
const workspaceId =
|
|
9467
|
-
const status =
|
|
9468
|
-
const session =
|
|
9466
|
+
const workspaceId = chunk2MGJXBBJ_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
9467
|
+
const status = chunk2MGJXBBJ_cjs.useArbiSessionState((s) => s.workspaceStatus);
|
|
9468
|
+
const session = chunk2MGJXBBJ_cjs.useArbiSessionStore();
|
|
9469
9469
|
const queryClient = reactQuery.useQueryClient();
|
|
9470
|
-
const { data: workspaces, isLoading: listing, isFetching } =
|
|
9470
|
+
const { data: workspaces, isLoading: listing, isFetching } = chunk2MGJXBBJ_cjs.useWorkspaces();
|
|
9471
9471
|
const listed = workspaces;
|
|
9472
9472
|
const archived = listed?.find((w) => w.external_id === workspaceId && w.archive);
|
|
9473
9473
|
const reads = queryClient.getQueryState(chunkZZBCZRA5_cjs.arbiQueryKeys.workspaces())?.dataUpdateCount ?? 0;
|
|
@@ -9970,9 +9970,9 @@ var EMPTY2 = { query: "", lastQuery: "", hits: null, workspaceId: null };
|
|
|
9970
9970
|
function useFactsSearch(options = {}) {
|
|
9971
9971
|
const { mode = "hybrid", limit = 30 } = options;
|
|
9972
9972
|
const arbi = chunkZZBCZRA5_cjs.useArbi();
|
|
9973
|
-
const session =
|
|
9973
|
+
const session = chunk2MGJXBBJ_cjs.useArbiSessionStore();
|
|
9974
9974
|
const workspaceId = options.workspaceId ?? (arbi.hasWorkspace ? arbi.getWorkspaceId() : null);
|
|
9975
|
-
const [kept, setKept] =
|
|
9975
|
+
const [kept, setKept] = chunk2MGJXBBJ_cjs.useTransientView(FACTS_SEARCH_VIEW, EMPTY2);
|
|
9976
9976
|
const searchFacts = useSearchFacts(workspaceId);
|
|
9977
9977
|
const run2 = React.useRef(0);
|
|
9978
9978
|
const foreign = !!kept.workspaceId && !!workspaceId && kept.workspaceId !== workspaceId;
|
|
@@ -10330,7 +10330,7 @@ function useMigrateLegacyTableViews() {
|
|
|
10330
10330
|
const arbi = chunkZZBCZRA5_cjs.useArbi();
|
|
10331
10331
|
const queryClient = reactQuery.useQueryClient();
|
|
10332
10332
|
const workspaceId = openWorkspaceId3(arbi);
|
|
10333
|
-
const settings =
|
|
10333
|
+
const settings = chunkQWKTQYGM_cjs.useUserSettings({ enabled: !!workspaceId });
|
|
10334
10334
|
const legacy = React.useMemo(() => settings.data?.tableviews ?? [], [settings.data?.tableviews]);
|
|
10335
10335
|
const pending = !!workspaceId && legacy.some((v) => v.workspace === workspaceId);
|
|
10336
10336
|
const [failed, setFailed] = React.useState(null);
|
|
@@ -10941,7 +10941,7 @@ function namesOfWorkspaces(workspaces) {
|
|
|
10941
10941
|
return names;
|
|
10942
10942
|
}
|
|
10943
10943
|
function useNames(enabled = true) {
|
|
10944
|
-
const { data } =
|
|
10944
|
+
const { data } = chunk2MGJXBBJ_cjs.useWorkspaces({ enabled });
|
|
10945
10945
|
return React.useMemo(() => {
|
|
10946
10946
|
const names = namesOfWorkspaces(data);
|
|
10947
10947
|
return (id) => id ? names.get(id) ?? id : null;
|
|
@@ -11004,7 +11004,7 @@ function createWorkflowsSource(labels) {
|
|
|
11004
11004
|
source: "workflows",
|
|
11005
11005
|
label: l.source,
|
|
11006
11006
|
description: l.description,
|
|
11007
|
-
useAvailable: () =>
|
|
11007
|
+
useAvailable: () => chunkQWKTQYGM_cjs.useFeature("workflows"),
|
|
11008
11008
|
fields,
|
|
11009
11009
|
useAggregateFields(enabled) {
|
|
11010
11010
|
const nameOf = useNames(enabled);
|
|
@@ -11036,7 +11036,7 @@ function createWorkflowsSource(labels) {
|
|
|
11036
11036
|
},
|
|
11037
11037
|
useWorkspace: useOpenWorkspace,
|
|
11038
11038
|
useRecords(_params, enabled) {
|
|
11039
|
-
const workspaceId =
|
|
11039
|
+
const workspaceId = chunk2MGJXBBJ_cjs.useArbiSessionState((s) => s.workspaceId);
|
|
11040
11040
|
const query = useWorkflows({ enabled });
|
|
11041
11041
|
const nameOf = useNames(enabled);
|
|
11042
11042
|
const rows = React.useMemo(
|
|
@@ -11128,9 +11128,9 @@ function createActivitySource(labels) {
|
|
|
11128
11128
|
useWorkspace: useOpenWorkspace,
|
|
11129
11129
|
useRecords(_params, enabled) {
|
|
11130
11130
|
const arbi = chunkZZBCZRA5_cjs.useArbi();
|
|
11131
|
-
const workspaceId =
|
|
11131
|
+
const workspaceId = chunk2MGJXBBJ_cjs.useArbiSessionState((s) => s.workspaceId) ?? void 0;
|
|
11132
11132
|
const { settled, openSelectedWorkspace } = useSwitchWorkspace();
|
|
11133
|
-
const feed =
|
|
11133
|
+
const feed = chunk2MGJXBBJ_cjs.useWorkspaceActivity(workspaceId, {
|
|
11134
11134
|
enabled: enabled && arbi.isLoggedIn,
|
|
11135
11135
|
limit: ENTRIES,
|
|
11136
11136
|
beforeFetch: async () => {
|
|
@@ -11232,7 +11232,7 @@ function createConversationsSource(labels) {
|
|
|
11232
11232
|
useWorkspace: useWorkspaceOf,
|
|
11233
11233
|
useRecords(params, enabled) {
|
|
11234
11234
|
const workspaceId = useWorkspaceOf(params);
|
|
11235
|
-
const query =
|
|
11235
|
+
const query = chunk2MGJXBBJ_cjs.useConversations(workspaceId, { enabled });
|
|
11236
11236
|
const nameOf = useNames(enabled);
|
|
11237
11237
|
const rows = React.useMemo(() => {
|
|
11238
11238
|
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
@@ -11697,7 +11697,7 @@ function createProjectsSource(options = {}) {
|
|
|
11697
11697
|
label: l.source,
|
|
11698
11698
|
description: l.description,
|
|
11699
11699
|
useFields() {
|
|
11700
|
-
const query =
|
|
11700
|
+
const query = chunk2MGJXBBJ_cjs.useProjects();
|
|
11701
11701
|
const fields = React.useMemo(
|
|
11702
11702
|
() => fieldsOf(query.data),
|
|
11703
11703
|
[query.data]
|
|
@@ -11705,7 +11705,7 @@ function createProjectsSource(options = {}) {
|
|
|
11705
11705
|
return { fields, isLoading: query.isLoading, error: query.error };
|
|
11706
11706
|
},
|
|
11707
11707
|
useRows(_params, enabled) {
|
|
11708
|
-
const query =
|
|
11708
|
+
const query = chunk2MGJXBBJ_cjs.useProjects({ enabled });
|
|
11709
11709
|
const nameOf = useNames(enabled);
|
|
11710
11710
|
const rows = React.useMemo(() => {
|
|
11711
11711
|
const projects = query.data;
|
|
@@ -11810,7 +11810,7 @@ function createTagsSource(labels) {
|
|
|
11810
11810
|
},
|
|
11811
11811
|
useWorkspace: useOpenWorkspace,
|
|
11812
11812
|
useRecords(_params, enabled) {
|
|
11813
|
-
const query =
|
|
11813
|
+
const query = chunk2MGJXBBJ_cjs.useTags(void 0, { enabled });
|
|
11814
11814
|
const nameOf = useNames(enabled);
|
|
11815
11815
|
const rows = React.useMemo(
|
|
11816
11816
|
() => query.data?.map((t) => ({
|
|
@@ -11968,7 +11968,7 @@ function useUsageResponses(params, enabled) {
|
|
|
11968
11968
|
const monthsBack = monthsBackOf(params);
|
|
11969
11969
|
const only = projectOf(params);
|
|
11970
11970
|
const on = enabled && arbi.isLoggedIn;
|
|
11971
|
-
const projects =
|
|
11971
|
+
const projects = chunk2MGJXBBJ_cjs.useProjects({ enabled: enabled && !!only });
|
|
11972
11972
|
const single = reactQuery.useQuery({
|
|
11973
11973
|
queryKey: chunkZZBCZRA5_cjs.arbiQueryKeys.projectUsage(only ?? "", monthsBack),
|
|
11974
11974
|
queryFn: () => only ? arbi.projects.usage(only, monthsBack) : Promise.reject(new Error("No project")),
|
|
@@ -12021,8 +12021,8 @@ function usageParams(l) {
|
|
|
12021
12021
|
placeholder: l.allProjects,
|
|
12022
12022
|
useOptions() {
|
|
12023
12023
|
const arbi = chunkZZBCZRA5_cjs.useArbi();
|
|
12024
|
-
const projects =
|
|
12025
|
-
const user =
|
|
12024
|
+
const projects = chunk2MGJXBBJ_cjs.useProjects();
|
|
12025
|
+
const user = chunk2MGJXBBJ_cjs.useCurrentUser({ enabled: arbi.isLoggedIn });
|
|
12026
12026
|
const me = user.data?.external_id;
|
|
12027
12027
|
const options = React.useMemo(
|
|
12028
12028
|
() => ownedBy(projects.data, me).map((p) => ({ value: p.external_id, label: p.name })),
|
|
@@ -12093,7 +12093,7 @@ function createUsageBreakdownSource(labels) {
|
|
|
12093
12093
|
useRows(params, enabled) {
|
|
12094
12094
|
const by = breakdownOf(params);
|
|
12095
12095
|
const { usages, isLoading, error } = useUsageResponses(params, enabled);
|
|
12096
|
-
const workspaces =
|
|
12096
|
+
const workspaces = chunk2MGJXBBJ_cjs.useWorkspaces({
|
|
12097
12097
|
enabled: enabled && (by === "user" || by === "workspace")
|
|
12098
12098
|
});
|
|
12099
12099
|
const names = React.useMemo(
|
|
@@ -12142,8 +12142,8 @@ function createWorkspacesSource(labels) {
|
|
|
12142
12142
|
description: l.description,
|
|
12143
12143
|
useFields: staticFields(fields),
|
|
12144
12144
|
useRows(_params, enabled) {
|
|
12145
|
-
const workspaces =
|
|
12146
|
-
const projects =
|
|
12145
|
+
const workspaces = chunk2MGJXBBJ_cjs.useWorkspaces({ enabled });
|
|
12146
|
+
const projects = chunk2MGJXBBJ_cjs.useProjects({ enabled });
|
|
12147
12147
|
const rows = React.useMemo(() => {
|
|
12148
12148
|
const list = workspaces.data;
|
|
12149
12149
|
if (!list) return void 0;
|
|
@@ -12701,7 +12701,7 @@ function useProjectBillingCache() {
|
|
|
12701
12701
|
}
|
|
12702
12702
|
function useProducts(options) {
|
|
12703
12703
|
const arbi = chunkZZBCZRA5_cjs.useArbi();
|
|
12704
|
-
|
|
12704
|
+
chunk2MGJXBBJ_cjs.useArbiSession();
|
|
12705
12705
|
return reactQuery.useQuery({
|
|
12706
12706
|
queryKey: chunkZZBCZRA5_cjs.arbiQueryKeys.products(),
|
|
12707
12707
|
queryFn: () => arbi.projects.products(),
|
|
@@ -13199,8 +13199,8 @@ function usePeople() {
|
|
|
13199
13199
|
const arbi = chunkZZBCZRA5_cjs.useArbi();
|
|
13200
13200
|
const meId = arbi.isLoggedIn ? arbi.user.identity()?.externalId : void 0;
|
|
13201
13201
|
const { data: contacts = [] } = useContacts();
|
|
13202
|
-
const { data: workspaces = [] } =
|
|
13203
|
-
const { data: agents = [] } =
|
|
13202
|
+
const { data: workspaces = [] } = chunk2MGJXBBJ_cjs.useWorkspaces();
|
|
13203
|
+
const { data: agents = [] } = chunk2MGJXBBJ_cjs.useAgents();
|
|
13204
13204
|
return React.useMemo(() => {
|
|
13205
13205
|
const people = [];
|
|
13206
13206
|
const contactOf = /* @__PURE__ */ new Map();
|
|
@@ -13300,7 +13300,7 @@ var workspaceHouseTemplateId = browser.houseTemplates.workspaceHouseTemplateId;
|
|
|
13300
13300
|
var isDeploymentAdmin = browser.houseTemplates.isDeploymentAdmin;
|
|
13301
13301
|
function useModelConnections() {
|
|
13302
13302
|
const arbi = chunkZZBCZRA5_cjs.useArbi();
|
|
13303
|
-
const userId =
|
|
13303
|
+
const userId = chunk2MGJXBBJ_cjs.useArbiSession().user?.external_id ?? void 0;
|
|
13304
13304
|
return reactQuery.useQuery({
|
|
13305
13305
|
queryKey: chunkZZBCZRA5_cjs.arbiQueryKeys.modelConnections(userId),
|
|
13306
13306
|
queryFn: () => arbi.modelConnections.list(),
|
|
@@ -13309,7 +13309,7 @@ function useModelConnections() {
|
|
|
13309
13309
|
}
|
|
13310
13310
|
function useDirectModelUsage() {
|
|
13311
13311
|
const arbi = chunkZZBCZRA5_cjs.useArbi();
|
|
13312
|
-
const userId =
|
|
13312
|
+
const userId = chunk2MGJXBBJ_cjs.useArbiSession().user?.external_id ?? void 0;
|
|
13313
13313
|
return reactQuery.useQuery({
|
|
13314
13314
|
queryKey: chunkZZBCZRA5_cjs.arbiQueryKeys.directModelUsage(userId),
|
|
13315
13315
|
queryFn: () => arbi.modelConnections.usage(),
|
|
@@ -13318,7 +13318,7 @@ function useDirectModelUsage() {
|
|
|
13318
13318
|
}
|
|
13319
13319
|
function useRefreshModelConnections() {
|
|
13320
13320
|
const qc = reactQuery.useQueryClient();
|
|
13321
|
-
const userId =
|
|
13321
|
+
const userId = chunk2MGJXBBJ_cjs.useArbiSession().user?.external_id ?? void 0;
|
|
13322
13322
|
return async () => {
|
|
13323
13323
|
await qc.invalidateQueries({ queryKey: chunkZZBCZRA5_cjs.arbiQueryKeys.modelConnections(userId) });
|
|
13324
13324
|
await qc.invalidateQueries({ queryKey: chunkZZBCZRA5_cjs.arbiQueryKeys.availableModels() });
|
|
@@ -13437,13 +13437,13 @@ function useAssistantStatus(workspaceExtId) {
|
|
|
13437
13437
|
return query;
|
|
13438
13438
|
}
|
|
13439
13439
|
function useRequestEmailChange() {
|
|
13440
|
-
const { client } =
|
|
13440
|
+
const { client } = chunkQWKTQYGM_cjs.useAccountClient();
|
|
13441
13441
|
return reactQuery.useMutation({
|
|
13442
13442
|
mutationFn: (newEmail) => client.requestEmailChange(newEmail)
|
|
13443
13443
|
});
|
|
13444
13444
|
}
|
|
13445
13445
|
function useConfirmEmailChange() {
|
|
13446
|
-
const { client } =
|
|
13446
|
+
const { client } = chunkQWKTQYGM_cjs.useAccountClient();
|
|
13447
13447
|
const qc = reactQuery.useQueryClient();
|
|
13448
13448
|
return reactQuery.useMutation({
|
|
13449
13449
|
mutationFn: ({ newEmail, code }) => client.confirmEmailChange(newEmail, code),
|
|
@@ -13511,7 +13511,7 @@ function useEmailChange({
|
|
|
13511
13511
|
};
|
|
13512
13512
|
}
|
|
13513
13513
|
function usePasswordChange() {
|
|
13514
|
-
const { client } =
|
|
13514
|
+
const { client } = chunkQWKTQYGM_cjs.useAccountClient();
|
|
13515
13515
|
return reactQuery.useMutation({
|
|
13516
13516
|
mutationFn: (vars) => client.changePassword(vars)
|
|
13517
13517
|
});
|
|
@@ -13605,8 +13605,8 @@ function usePasswordChangeForm({
|
|
|
13605
13605
|
}
|
|
13606
13606
|
function useDismissedTips() {
|
|
13607
13607
|
const queryClient = reactQuery.useQueryClient();
|
|
13608
|
-
const { data: userSettings } =
|
|
13609
|
-
const { mutate: updateUserSettings } =
|
|
13608
|
+
const { data: userSettings } = chunkQWKTQYGM_cjs.useUserSettings();
|
|
13609
|
+
const { mutate: updateUserSettings } = chunkQWKTQYGM_cjs.useUpdateUserSettings();
|
|
13610
13610
|
const loaded = userSettings !== void 0;
|
|
13611
13611
|
const dismissed = userSettings?.dismissed_tips ?? [];
|
|
13612
13612
|
const dismissTip = React.useCallback(
|
|
@@ -13640,7 +13640,7 @@ function toNotificationPreferences(stored, keys) {
|
|
|
13640
13640
|
function useNotificationPreferences(keys, options) {
|
|
13641
13641
|
const arbi = chunkZZBCZRA5_cjs.useArbi();
|
|
13642
13642
|
const qc = reactQuery.useQueryClient();
|
|
13643
|
-
const settings =
|
|
13643
|
+
const settings = chunkQWKTQYGM_cjs.useUserSettings(options);
|
|
13644
13644
|
const stored = settings.data?.email_notifications;
|
|
13645
13645
|
const save = reactQuery.useMutation({
|
|
13646
13646
|
mutationFn: (patch) => arbi.settings.update({ email_notifications: patch }),
|
|
@@ -13699,7 +13699,7 @@ function useRelevanceSave() {
|
|
|
13699
13699
|
}
|
|
13700
13700
|
function useWorkspaceNotificationLevel(workspaceId, options) {
|
|
13701
13701
|
const qc = reactQuery.useQueryClient();
|
|
13702
|
-
const settings =
|
|
13702
|
+
const settings = chunkQWKTQYGM_cjs.useUserSettings(options);
|
|
13703
13703
|
const save = useRelevanceSave();
|
|
13704
13704
|
const level = workspaceId ? browser.settings.workspaceNotificationLevel(settings.data, workspaceId) : "default";
|
|
13705
13705
|
const setLevel = React.useCallback(
|
|
@@ -13720,7 +13720,7 @@ function useWorkspaceNotificationLevel(workspaceId, options) {
|
|
|
13720
13720
|
}
|
|
13721
13721
|
function useFollowThread(conversationId, options) {
|
|
13722
13722
|
const qc = reactQuery.useQueryClient();
|
|
13723
|
-
const settings =
|
|
13723
|
+
const settings = chunkQWKTQYGM_cjs.useUserSettings(options);
|
|
13724
13724
|
const save = useRelevanceSave();
|
|
13725
13725
|
const following = !!conversationId && !!settings.data?.followed_threads?.includes(conversationId);
|
|
13726
13726
|
const setFollowing = React.useCallback(
|
|
@@ -13749,7 +13749,7 @@ function useFollowThread(conversationId, options) {
|
|
|
13749
13749
|
};
|
|
13750
13750
|
}
|
|
13751
13751
|
function useSessions(options) {
|
|
13752
|
-
const { client, enabled } =
|
|
13752
|
+
const { client, enabled } = chunkQWKTQYGM_cjs.useAccountClient();
|
|
13753
13753
|
return reactQuery.useQuery({
|
|
13754
13754
|
queryKey: chunkZZBCZRA5_cjs.arbiQueryKeys.sessions(),
|
|
13755
13755
|
queryFn: () => client.listSessions(),
|
|
@@ -13757,7 +13757,7 @@ function useSessions(options) {
|
|
|
13757
13757
|
});
|
|
13758
13758
|
}
|
|
13759
13759
|
function useTerminateSession() {
|
|
13760
|
-
const { client } =
|
|
13760
|
+
const { client } = chunkQWKTQYGM_cjs.useAccountClient();
|
|
13761
13761
|
const qc = reactQuery.useQueryClient();
|
|
13762
13762
|
return reactQuery.useMutation({
|
|
13763
13763
|
mutationFn: (sessionId) => client.terminateSession(sessionId),
|
|
@@ -13765,7 +13765,7 @@ function useTerminateSession() {
|
|
|
13765
13765
|
});
|
|
13766
13766
|
}
|
|
13767
13767
|
function useSignOut() {
|
|
13768
|
-
const { client } =
|
|
13768
|
+
const { client } = chunkQWKTQYGM_cjs.useAccountClient();
|
|
13769
13769
|
const qc = reactQuery.useQueryClient();
|
|
13770
13770
|
return reactQuery.useMutation({
|
|
13771
13771
|
mutationFn: (options = {}) => client.signOut(options),
|
|
@@ -13773,7 +13773,7 @@ function useSignOut() {
|
|
|
13773
13773
|
});
|
|
13774
13774
|
}
|
|
13775
13775
|
function useCurrentSessionId() {
|
|
13776
|
-
return
|
|
13776
|
+
return chunkQWKTQYGM_cjs.useAccountClient().client.currentSessionId();
|
|
13777
13777
|
}
|
|
13778
13778
|
function parseDeleteAccountBlockers(error) {
|
|
13779
13779
|
const body = error?.apiError ?? error;
|
|
@@ -13788,7 +13788,7 @@ function parseDeleteAccountBlockers(error) {
|
|
|
13788
13788
|
return [];
|
|
13789
13789
|
}
|
|
13790
13790
|
function useDeleteAccount() {
|
|
13791
|
-
const { client } =
|
|
13791
|
+
const { client } = chunkQWKTQYGM_cjs.useAccountClient();
|
|
13792
13792
|
return reactQuery.useMutation({ mutationFn: () => client.requestDeletion() });
|
|
13793
13793
|
}
|
|
13794
13794
|
function useDeleteAccountFlow({
|
|
@@ -14110,7 +14110,7 @@ function useIdentityVerificationFlow(api, {
|
|
|
14110
14110
|
};
|
|
14111
14111
|
}
|
|
14112
14112
|
function useIdentityVerification(options = {}) {
|
|
14113
|
-
const { client, enabled } =
|
|
14113
|
+
const { client, enabled } = chunkQWKTQYGM_cjs.useAccountClient();
|
|
14114
14114
|
const qc = reactQuery.useQueryClient();
|
|
14115
14115
|
const { onVerifiedChange, onNameAccepted, formatPrice } = options;
|
|
14116
14116
|
return useIdentityVerificationFlow(client.identity, {
|
|
@@ -14208,15 +14208,15 @@ function useNativeThreadKeys(account, messages) {
|
|
|
14208
14208
|
var SYNC_INTERVAL_MS = 5 * 60 * 1e3;
|
|
14209
14209
|
var NEW_MAIL_DEBOUNCE_MS = 5e3;
|
|
14210
14210
|
function useOfflineMailActive() {
|
|
14211
|
-
const { user, status } =
|
|
14212
|
-
const mailEnabled =
|
|
14213
|
-
const entitled =
|
|
14211
|
+
const { user, status } = chunk2MGJXBBJ_cjs.useArbiSession();
|
|
14212
|
+
const mailEnabled = chunkQWKTQYGM_cjs.useFeature("mail");
|
|
14213
|
+
const entitled = chunkQWKTQYGM_cjs.useIsEntitled("mail");
|
|
14214
14214
|
const eligible = status === "signed-in" && !!user?.external_id && mailEnabled && entitled;
|
|
14215
14215
|
const { data: policy } = useMailPolicy({ enabled: eligible });
|
|
14216
14216
|
return eligible && !!policy?.enabled && (policy.native_enabled || policy.enabled_providers.length > 0);
|
|
14217
14217
|
}
|
|
14218
14218
|
function useOfflineMailRuntime({ openOutbox } = {}) {
|
|
14219
|
-
const { user, serverSessionKey } =
|
|
14219
|
+
const { user, serverSessionKey } = chunk2MGJXBBJ_cjs.useArbiSession();
|
|
14220
14220
|
const userExtId = user?.external_id;
|
|
14221
14221
|
const hasSession = !!serverSessionKey;
|
|
14222
14222
|
const active = useOfflineMailActive();
|
|
@@ -14226,15 +14226,15 @@ function useOfflineMailRuntime({ openOutbox } = {}) {
|
|
|
14226
14226
|
latest.current = { arbi, queryClient, openOutbox };
|
|
14227
14227
|
React.useEffect(() => {
|
|
14228
14228
|
if (!active || !userExtId) return;
|
|
14229
|
-
|
|
14229
|
+
chunkQWKTQYGM_cjs.claimOfflineMail(userExtId).catch(
|
|
14230
14230
|
(error) => client.logger.warn("[offline-mail] could not bind the store", error)
|
|
14231
14231
|
);
|
|
14232
14232
|
}, [active, userExtId]);
|
|
14233
14233
|
React.useEffect(() => {
|
|
14234
14234
|
if (!active || !userExtId) return;
|
|
14235
|
-
return
|
|
14235
|
+
return chunkQWKTQYGM_cjs.onOfflineMailChange((change) => {
|
|
14236
14236
|
if (change !== "settings") return;
|
|
14237
|
-
trimOfflineMailbox(
|
|
14237
|
+
trimOfflineMailbox(chunkQWKTQYGM_cjs.getOfflineMailSettings(userExtId)).then(
|
|
14238
14238
|
() => latest.current.queryClient.invalidateQueries({ queryKey: chunkZZBCZRA5_cjs.mailQueryKeys.allMessages() })
|
|
14239
14239
|
).catch((error) => client.logger.warn("[offline-mail] could not trim the device copy", error));
|
|
14240
14240
|
});
|
|
@@ -14259,7 +14259,7 @@ function useOfflineMailRuntime({ openOutbox } = {}) {
|
|
|
14259
14259
|
const interval = setInterval(() => {
|
|
14260
14260
|
if (document.visibilityState === "visible") run2();
|
|
14261
14261
|
}, SYNC_INTERVAL_MS);
|
|
14262
|
-
const enabled = () =>
|
|
14262
|
+
const enabled = () => chunkQWKTQYGM_cjs.getOfflineMailSettings(sessionUser(context().arbi)).enabled;
|
|
14263
14263
|
let newMailTimer = null;
|
|
14264
14264
|
const offCache = queryClient.getQueryCache().subscribe((event) => {
|
|
14265
14265
|
if (event.type !== "updated" || event.action.type !== "invalidate") return;
|
|
@@ -14267,7 +14267,7 @@ function useOfflineMailRuntime({ openOutbox } = {}) {
|
|
|
14267
14267
|
if (newMailTimer) clearTimeout(newMailTimer);
|
|
14268
14268
|
newMailTimer = setTimeout(() => void syncOfflineMailbox(context()), NEW_MAIL_DEBOUNCE_MS);
|
|
14269
14269
|
});
|
|
14270
|
-
const offSettings =
|
|
14270
|
+
const offSettings = chunkQWKTQYGM_cjs.onOfflineMailChange((change) => {
|
|
14271
14271
|
if (change === "settings" && enabled()) void syncOfflineMailbox(context(), { full: true });
|
|
14272
14272
|
if (change === "outbox") void flushOutbox(context());
|
|
14273
14273
|
if (change === "changes") void flushOutbox(context());
|
|
@@ -14289,7 +14289,7 @@ function useStoreValue(load, initial, changes) {
|
|
|
14289
14289
|
let alive = true;
|
|
14290
14290
|
const read = () => load().then((next) => alive && setValue(next)).catch((error) => client.logger.warn("[offline-mail] read failed", error));
|
|
14291
14291
|
void read();
|
|
14292
|
-
const off =
|
|
14292
|
+
const off = chunkQWKTQYGM_cjs.onOfflineMailChange((change) => {
|
|
14293
14293
|
if (change === "wiped") setValue(initial);
|
|
14294
14294
|
if (change === "wiped" || key.split(",").includes(change)) void read();
|
|
14295
14295
|
});
|
|
@@ -14301,20 +14301,20 @@ function useStoreValue(load, initial, changes) {
|
|
|
14301
14301
|
return value;
|
|
14302
14302
|
}
|
|
14303
14303
|
function useOfflineMailSettings() {
|
|
14304
|
-
const userExtId =
|
|
14304
|
+
const userExtId = chunk2MGJXBBJ_cjs.useArbiSession().user?.external_id;
|
|
14305
14305
|
const subscribe = React.useCallback(
|
|
14306
|
-
(onChange) =>
|
|
14306
|
+
(onChange) => chunkQWKTQYGM_cjs.onOfflineMailChange((change) => {
|
|
14307
14307
|
if (change === "settings") onChange();
|
|
14308
14308
|
}),
|
|
14309
14309
|
[]
|
|
14310
14310
|
);
|
|
14311
14311
|
const raw = React.useSyncExternalStore(
|
|
14312
14312
|
subscribe,
|
|
14313
|
-
() => JSON.stringify([userExtId,
|
|
14313
|
+
() => JSON.stringify([userExtId, chunkQWKTQYGM_cjs.getOfflineMailSettings(userExtId)])
|
|
14314
14314
|
);
|
|
14315
14315
|
const settings = React.useMemo(() => JSON.parse(raw)[1], [raw]);
|
|
14316
14316
|
const update2 = React.useCallback(
|
|
14317
|
-
(patch) => void
|
|
14317
|
+
(patch) => void chunkQWKTQYGM_cjs.setOfflineMailSettings(userExtId, patch),
|
|
14318
14318
|
[userExtId]
|
|
14319
14319
|
);
|
|
14320
14320
|
return [settings, update2];
|
|
@@ -14324,7 +14324,7 @@ function useOfflineMailStatus() {
|
|
|
14324
14324
|
const status = useStoreValue(getOfflineMailStatus, EMPTY_STATUS, ["status", "mailbox"]);
|
|
14325
14325
|
const [syncing2, setSyncing] = React.useState(isMailSyncRunning);
|
|
14326
14326
|
React.useEffect(
|
|
14327
|
-
() =>
|
|
14327
|
+
() => chunkQWKTQYGM_cjs.onOfflineMailChange((change) => {
|
|
14328
14328
|
if (change === "status") setSyncing(isMailSyncRunning());
|
|
14329
14329
|
}),
|
|
14330
14330
|
[]
|
|
@@ -14366,7 +14366,7 @@ function useSyncOfflineMailbox() {
|
|
|
14366
14366
|
async function storeExists() {
|
|
14367
14367
|
try {
|
|
14368
14368
|
const databases = await indexedDB.databases?.();
|
|
14369
|
-
return databases ? databases.some((d) => d.name ===
|
|
14369
|
+
return databases ? databases.some((d) => d.name === chunkQWKTQYGM_cjs.OFFLINE_MAIL_DB) : true;
|
|
14370
14370
|
} catch {
|
|
14371
14371
|
return true;
|
|
14372
14372
|
}
|
|
@@ -14424,7 +14424,7 @@ function useDisconnectConnector() {
|
|
|
14424
14424
|
);
|
|
14425
14425
|
}
|
|
14426
14426
|
function useConnectorVendorVisibility() {
|
|
14427
|
-
const { data: settings } =
|
|
14427
|
+
const { data: settings } = chunkQWKTQYGM_cjs.useUserSettings();
|
|
14428
14428
|
return (vendorKey) => browser.isConnectorVendorVisible(settings, vendorKey);
|
|
14429
14429
|
}
|
|
14430
14430
|
function connectorReturnTo(reopen) {
|
|
@@ -14602,7 +14602,7 @@ function checkNowAndOnFocus(check) {
|
|
|
14602
14602
|
function useConnectorAutoSync(workspaceExtId, opened) {
|
|
14603
14603
|
const arbi = chunkZZBCZRA5_cjs.useArbi();
|
|
14604
14604
|
const qc = reactQuery.useQueryClient();
|
|
14605
|
-
const hasMail =
|
|
14605
|
+
const hasMail = chunkQWKTQYGM_cjs.useIsEntitled("mail");
|
|
14606
14606
|
React.useEffect(() => {
|
|
14607
14607
|
if (!opened || !workspaceExtId || !arbi.isLoggedIn) return;
|
|
14608
14608
|
return checkNowAndOnFocus(() => {
|
|
@@ -15220,7 +15220,7 @@ var OfflineCalendarLockedError = class extends Error {
|
|
|
15220
15220
|
this.name = "OfflineCalendarLockedError";
|
|
15221
15221
|
}
|
|
15222
15222
|
};
|
|
15223
|
-
var store =
|
|
15223
|
+
var store = chunkQWKTQYGM_cjs.createRecordStore(OFFLINE_CALENDAR_DB);
|
|
15224
15224
|
var sealer = client.createOfflineSealer("arbi-offline-calendar-v1", {
|
|
15225
15225
|
locked: () => new OfflineCalendarLockedError()
|
|
15226
15226
|
});
|
|
@@ -15499,7 +15499,7 @@ async function replay(arbi, queryClient) {
|
|
|
15499
15499
|
);
|
|
15500
15500
|
}
|
|
15501
15501
|
function useCalendarOfflineRuntime() {
|
|
15502
|
-
const { status, serverSessionKey, user } =
|
|
15502
|
+
const { status, serverSessionKey, user } = chunk2MGJXBBJ_cjs.useArbiSession();
|
|
15503
15503
|
const userExtId = user?.external_id;
|
|
15504
15504
|
const authenticated = status === "signed-in";
|
|
15505
15505
|
const hasSession = !!serverSessionKey;
|
|
@@ -15556,7 +15556,7 @@ function useWorkspaceDocs(workspaceId) {
|
|
|
15556
15556
|
return { wsId: workspaceId, docs, docIds, isLoading, isError, ready: docIds.length > 0 };
|
|
15557
15557
|
}
|
|
15558
15558
|
function useAiTask() {
|
|
15559
|
-
const mutation =
|
|
15559
|
+
const mutation = chunk2MGJXBBJ_cjs.useAssistantQuery();
|
|
15560
15560
|
const [status, setStatus] = React.useState("idle");
|
|
15561
15561
|
const [text2, setText] = React.useState("");
|
|
15562
15562
|
const [stepCount, setStepCount] = React.useState(0);
|
|
@@ -16730,7 +16730,7 @@ function ActivityFeed({
|
|
|
16730
16730
|
enabled,
|
|
16731
16731
|
"data-testid": testId = "activity-feed"
|
|
16732
16732
|
}) {
|
|
16733
|
-
const { data, isLoading, isError } =
|
|
16733
|
+
const { data, isLoading, isError } = chunk2MGJXBBJ_cjs.useActivity({ limit, enabled });
|
|
16734
16734
|
if (isLoading) {
|
|
16735
16735
|
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: [
|
|
16736
16736
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-4 w-4 shrink-0 animate-pulse rounded-full bg-muted" }),
|
|
@@ -17853,7 +17853,7 @@ function useChatUnreadTotal() {
|
|
|
17853
17853
|
function useUnreadByPeer() {
|
|
17854
17854
|
const arbi = chunkZZBCZRA5_cjs.useArbi();
|
|
17855
17855
|
const { data = [] } = useChats();
|
|
17856
|
-
const me =
|
|
17856
|
+
const me = chunkQWKTQYGM_cjs.myChatId(arbi);
|
|
17857
17857
|
return React.useMemo(() => {
|
|
17858
17858
|
const out = /* @__PURE__ */ new Map();
|
|
17859
17859
|
for (const c of data) {
|
|
@@ -17943,13 +17943,13 @@ function useChatPost() {
|
|
|
17943
17943
|
const queryClient = reactQuery.useQueryClient();
|
|
17944
17944
|
return React.useCallback(
|
|
17945
17945
|
async (target, post) => {
|
|
17946
|
-
const me =
|
|
17946
|
+
const me = chunkQWKTQYGM_cjs.myChatId(arbi);
|
|
17947
17947
|
if (!me) throw new Error("No active session");
|
|
17948
17948
|
let chat = target.chat;
|
|
17949
17949
|
if (!chat) {
|
|
17950
17950
|
if (!target.peerExtId) throw new Error("Could not resolve the conversation");
|
|
17951
17951
|
chat = await arbi.chats.openDirect(target.peerExtId);
|
|
17952
|
-
|
|
17952
|
+
chunkQWKTQYGM_cjs.upsertChat(queryClient, chat);
|
|
17953
17953
|
queryClient.setQueryData(
|
|
17954
17954
|
chunkZZBCZRA5_cjs.arbiQueryKeys.chatThread(chat.external_id),
|
|
17955
17955
|
(old) => old ?? { messages: [], hasMore: false }
|
|
@@ -17972,7 +17972,7 @@ function useChatPost() {
|
|
|
17972
17972
|
updated_at: now,
|
|
17973
17973
|
optimistic: true
|
|
17974
17974
|
};
|
|
17975
|
-
|
|
17975
|
+
chunkQWKTQYGM_cjs.appendToThread(queryClient, chat.external_id, optimistic);
|
|
17976
17976
|
try {
|
|
17977
17977
|
let attachments = [];
|
|
17978
17978
|
if (files.length) {
|
|
@@ -17992,15 +17992,15 @@ function useChatPost() {
|
|
|
17992
17992
|
...post.workspaceExtId ? { workspaceExtId: post.workspaceExtId } : {},
|
|
17993
17993
|
contextOnly: !!post.contextOnly
|
|
17994
17994
|
});
|
|
17995
|
-
|
|
17996
|
-
|
|
17995
|
+
chunkQWKTQYGM_cjs.appendToThread(queryClient, chat.external_id, message, optimisticId);
|
|
17996
|
+
chunkQWKTQYGM_cjs.upsertChat(queryClient, {
|
|
17997
17997
|
...chat,
|
|
17998
17998
|
last_message: message,
|
|
17999
17999
|
last_message_at: message.created_at
|
|
18000
18000
|
});
|
|
18001
18001
|
return { chat, message };
|
|
18002
18002
|
} catch (err) {
|
|
18003
|
-
|
|
18003
|
+
chunkQWKTQYGM_cjs.dropFromThread(queryClient, chat.external_id, optimisticId);
|
|
18004
18004
|
void queryClient.invalidateQueries({ queryKey: chunkZZBCZRA5_cjs.arbiQueryKeys.chatList() });
|
|
18005
18005
|
throw err;
|
|
18006
18006
|
}
|
|
@@ -18012,7 +18012,7 @@ function useDeleteChatMessage() {
|
|
|
18012
18012
|
const arbi = chunkZZBCZRA5_cjs.useArbi();
|
|
18013
18013
|
const queryClient = reactQuery.useQueryClient();
|
|
18014
18014
|
return React.useCallback(
|
|
18015
|
-
(chatExtId, messageExtId) =>
|
|
18015
|
+
(chatExtId, messageExtId) => chunkQWKTQYGM_cjs.deleteChatMessage(arbi, queryClient, chatExtId, messageExtId),
|
|
18016
18016
|
[arbi, queryClient]
|
|
18017
18017
|
);
|
|
18018
18018
|
}
|
|
@@ -18021,7 +18021,7 @@ function useMarkChatRead() {
|
|
|
18021
18021
|
const queryClient = reactQuery.useQueryClient();
|
|
18022
18022
|
return React.useCallback(
|
|
18023
18023
|
(chat, messageExtId) => {
|
|
18024
|
-
|
|
18024
|
+
chunkQWKTQYGM_cjs.upsertChat(queryClient, { ...chat, unread_count: 0 });
|
|
18025
18025
|
return arbi.chats.markRead(chat.external_id, messageExtId).then(
|
|
18026
18026
|
() => void 0,
|
|
18027
18027
|
() => void 0
|
|
@@ -18035,7 +18035,7 @@ function useCreateGroupChat() {
|
|
|
18035
18035
|
const queryClient = reactQuery.useQueryClient();
|
|
18036
18036
|
return reactQuery.useMutation({
|
|
18037
18037
|
mutationFn: (params) => arbi.chats.createGroup(params),
|
|
18038
|
-
onSuccess: (chat) =>
|
|
18038
|
+
onSuccess: (chat) => chunkQWKTQYGM_cjs.upsertChat(queryClient, chat)
|
|
18039
18039
|
});
|
|
18040
18040
|
}
|
|
18041
18041
|
function useRenameChat() {
|
|
@@ -18043,7 +18043,7 @@ function useRenameChat() {
|
|
|
18043
18043
|
const queryClient = reactQuery.useQueryClient();
|
|
18044
18044
|
return reactQuery.useMutation({
|
|
18045
18045
|
mutationFn: (vars) => arbi.chats.rename(vars.chat, vars.title),
|
|
18046
|
-
onSuccess: (chat) =>
|
|
18046
|
+
onSuccess: (chat) => chunkQWKTQYGM_cjs.upsertChat(queryClient, chat)
|
|
18047
18047
|
});
|
|
18048
18048
|
}
|
|
18049
18049
|
function useAddChatMembers() {
|
|
@@ -18051,7 +18051,7 @@ function useAddChatMembers() {
|
|
|
18051
18051
|
const queryClient = reactQuery.useQueryClient();
|
|
18052
18052
|
return reactQuery.useMutation({
|
|
18053
18053
|
mutationFn: (vars) => arbi.chats.addMembers(vars.chat, vars.members, { callKey: vars.callKey }),
|
|
18054
|
-
onSuccess: (chat) =>
|
|
18054
|
+
onSuccess: (chat) => chunkQWKTQYGM_cjs.upsertChat(queryClient, chat)
|
|
18055
18055
|
});
|
|
18056
18056
|
}
|
|
18057
18057
|
function useRemoveChatMember() {
|
|
@@ -18060,7 +18060,7 @@ function useRemoveChatMember() {
|
|
|
18060
18060
|
return reactQuery.useMutation({
|
|
18061
18061
|
mutationFn: (vars) => arbi.chats.removeMember(vars.chat, vars.userExtId),
|
|
18062
18062
|
onSuccess: (_data, vars) => {
|
|
18063
|
-
if (vars.userExtId ===
|
|
18063
|
+
if (vars.userExtId === chunkQWKTQYGM_cjs.myChatId(arbi)) chunkQWKTQYGM_cjs.removeChat(queryClient, vars.chat.external_id);
|
|
18064
18064
|
else return queryClient.invalidateQueries({ queryKey: chunkZZBCZRA5_cjs.arbiQueryKeys.chatList() });
|
|
18065
18065
|
}
|
|
18066
18066
|
});
|
|
@@ -18070,11 +18070,11 @@ function useChatArrivals(onArrival) {
|
|
|
18070
18070
|
const queryClient = reactQuery.useQueryClient();
|
|
18071
18071
|
useArbiWsMessage("chat.message", (message) => {
|
|
18072
18072
|
const senderId = message.message.sender_ext_id;
|
|
18073
|
-
if (!senderId || senderId ===
|
|
18074
|
-
if (message.message.kind !== "text" ||
|
|
18073
|
+
if (!senderId || senderId === chunkQWKTQYGM_cjs.myChatId(arbi)) return;
|
|
18074
|
+
if (message.message.kind !== "text" || chunkQWKTQYGM_cjs.getOpenChat() === message.chat_ext_id) return;
|
|
18075
18075
|
const muted = queryClient.getQueriesData({ queryKey: chunkZZBCZRA5_cjs.arbiQueryKeys.userSettings() }).map(([, data]) => data).find(Boolean)?.muted_users;
|
|
18076
18076
|
if (muted?.includes(senderId)) return;
|
|
18077
|
-
const chat =
|
|
18077
|
+
const chat = chunkQWKTQYGM_cjs.cachedChat(queryClient, message.chat_ext_id);
|
|
18078
18078
|
const sender = chat?.members.find((m) => m.user.external_id === senderId)?.user;
|
|
18079
18079
|
onArrival({
|
|
18080
18080
|
chatId: message.chat_ext_id,
|
|
@@ -18141,7 +18141,7 @@ function dmFileShareEntries({
|
|
|
18141
18141
|
function useDmFileShares(peer) {
|
|
18142
18142
|
const arbi = chunkZZBCZRA5_cjs.useArbi();
|
|
18143
18143
|
const queryClient = reactQuery.useQueryClient();
|
|
18144
|
-
const me =
|
|
18144
|
+
const me = chunkQWKTQYGM_cjs.myChatId(arbi);
|
|
18145
18145
|
const person = peer && peer.external_id.startsWith("usr-") && me ? peer : null;
|
|
18146
18146
|
const list = chunk6TJL4Z2F_cjs.useFileShares(person && arbi.isLoggedIn ? arbi.getClient().fetch : null);
|
|
18147
18147
|
const { data: notifications = [] } = useNotifications({ enabled: !!person });
|
|
@@ -18362,7 +18362,7 @@ var REMOTE_CONTROL_VIEW = "actions.remoteControl";
|
|
|
18362
18362
|
var OFF = { enabled: false, pending: null, controllingAgent: null };
|
|
18363
18363
|
var remoteControlStateOf = (state) => state.views.transient[REMOTE_CONTROL_VIEW] ?? OFF;
|
|
18364
18364
|
function useRemoteControl(selector) {
|
|
18365
|
-
return
|
|
18365
|
+
return chunk2MGJXBBJ_cjs.useArbiSessionState((state) => selector(remoteControlStateOf(state)));
|
|
18366
18366
|
}
|
|
18367
18367
|
function remoteControlActions(session) {
|
|
18368
18368
|
const update2 = (change) => {
|
|
@@ -18454,775 +18454,775 @@ function useRateSupportTicket() {
|
|
|
18454
18454
|
|
|
18455
18455
|
Object.defineProperty(exports, "AUDIENCE_CHOICES", {
|
|
18456
18456
|
enumerable: true,
|
|
18457
|
-
get: function () { return
|
|
18457
|
+
get: function () { return chunkQWKTQYGM_cjs.AUDIENCE_CHOICES; }
|
|
18458
18458
|
});
|
|
18459
18459
|
Object.defineProperty(exports, "CALL_CAPTION_TOPIC", {
|
|
18460
18460
|
enumerable: true,
|
|
18461
|
-
get: function () { return
|
|
18461
|
+
get: function () { return chunkQWKTQYGM_cjs.CALL_CAPTION_TOPIC; }
|
|
18462
18462
|
});
|
|
18463
18463
|
Object.defineProperty(exports, "CALL_CHAT_MAX_CHARS", {
|
|
18464
18464
|
enumerable: true,
|
|
18465
|
-
get: function () { return
|
|
18465
|
+
get: function () { return chunkQWKTQYGM_cjs.CALL_CHAT_MAX_CHARS; }
|
|
18466
18466
|
});
|
|
18467
18467
|
Object.defineProperty(exports, "CALL_CHAT_TOPIC", {
|
|
18468
18468
|
enumerable: true,
|
|
18469
|
-
get: function () { return
|
|
18469
|
+
get: function () { return chunkQWKTQYGM_cjs.CALL_CHAT_TOPIC; }
|
|
18470
18470
|
});
|
|
18471
18471
|
Object.defineProperty(exports, "CALL_MODERATION_TOPIC", {
|
|
18472
18472
|
enumerable: true,
|
|
18473
|
-
get: function () { return
|
|
18473
|
+
get: function () { return chunkQWKTQYGM_cjs.CALL_MODERATION_TOPIC; }
|
|
18474
18474
|
});
|
|
18475
18475
|
Object.defineProperty(exports, "CALL_RECORDING_TOPIC", {
|
|
18476
18476
|
enumerable: true,
|
|
18477
|
-
get: function () { return
|
|
18477
|
+
get: function () { return chunkQWKTQYGM_cjs.CALL_RECORDING_TOPIC; }
|
|
18478
18478
|
});
|
|
18479
18479
|
Object.defineProperty(exports, "CALL_TRANSCRIPTION_TOPIC", {
|
|
18480
18480
|
enumerable: true,
|
|
18481
|
-
get: function () { return
|
|
18481
|
+
get: function () { return chunkQWKTQYGM_cjs.CALL_TRANSCRIPTION_TOPIC; }
|
|
18482
18482
|
});
|
|
18483
18483
|
Object.defineProperty(exports, "CALL_WEBINAR_TOPIC", {
|
|
18484
18484
|
enumerable: true,
|
|
18485
|
-
get: function () { return
|
|
18485
|
+
get: function () { return chunkQWKTQYGM_cjs.CALL_WEBINAR_TOPIC; }
|
|
18486
18486
|
});
|
|
18487
18487
|
Object.defineProperty(exports, "CAPTION_MAX_CHARS", {
|
|
18488
18488
|
enumerable: true,
|
|
18489
|
-
get: function () { return
|
|
18489
|
+
get: function () { return chunkQWKTQYGM_cjs.CAPTION_MAX_CHARS; }
|
|
18490
18490
|
});
|
|
18491
18491
|
Object.defineProperty(exports, "COMPOSITE_AUDIO_BITS_PER_SECOND", {
|
|
18492
18492
|
enumerable: true,
|
|
18493
|
-
get: function () { return
|
|
18493
|
+
get: function () { return chunkQWKTQYGM_cjs.COMPOSITE_AUDIO_BITS_PER_SECOND; }
|
|
18494
18494
|
});
|
|
18495
18495
|
Object.defineProperty(exports, "COMPOSITE_VIDEO_BITS_PER_SECOND", {
|
|
18496
18496
|
enumerable: true,
|
|
18497
|
-
get: function () { return
|
|
18497
|
+
get: function () { return chunkQWKTQYGM_cjs.COMPOSITE_VIDEO_BITS_PER_SECOND; }
|
|
18498
18498
|
});
|
|
18499
18499
|
Object.defineProperty(exports, "DEFAULT_JOIN_CHOICES", {
|
|
18500
18500
|
enumerable: true,
|
|
18501
|
-
get: function () { return
|
|
18501
|
+
get: function () { return chunkQWKTQYGM_cjs.DEFAULT_JOIN_CHOICES; }
|
|
18502
18502
|
});
|
|
18503
18503
|
Object.defineProperty(exports, "EMPTY_CALL_SESSION", {
|
|
18504
18504
|
enumerable: true,
|
|
18505
|
-
get: function () { return
|
|
18505
|
+
get: function () { return chunkQWKTQYGM_cjs.EMPTY_CALL_SESSION; }
|
|
18506
18506
|
});
|
|
18507
18507
|
Object.defineProperty(exports, "EXPORT_SAMPLE_RATE", {
|
|
18508
18508
|
enumerable: true,
|
|
18509
|
-
get: function () { return
|
|
18509
|
+
get: function () { return chunkQWKTQYGM_cjs.EXPORT_SAMPLE_RATE; }
|
|
18510
18510
|
});
|
|
18511
18511
|
Object.defineProperty(exports, "HISTORY_LIMIT", {
|
|
18512
18512
|
enumerable: true,
|
|
18513
|
-
get: function () { return
|
|
18513
|
+
get: function () { return chunkQWKTQYGM_cjs.HISTORY_LIMIT; }
|
|
18514
18514
|
});
|
|
18515
18515
|
Object.defineProperty(exports, "LIVE_SEGMENTER", {
|
|
18516
18516
|
enumerable: true,
|
|
18517
|
-
get: function () { return
|
|
18517
|
+
get: function () { return chunkQWKTQYGM_cjs.LIVE_SEGMENTER; }
|
|
18518
18518
|
});
|
|
18519
18519
|
Object.defineProperty(exports, "MAX_AVATAR_FILE_BYTES", {
|
|
18520
18520
|
enumerable: true,
|
|
18521
|
-
get: function () { return
|
|
18521
|
+
get: function () { return chunkQWKTQYGM_cjs.MAX_AVATAR_FILE_BYTES; }
|
|
18522
18522
|
});
|
|
18523
18523
|
Object.defineProperty(exports, "MUTED_DEDUPE_MS", {
|
|
18524
18524
|
enumerable: true,
|
|
18525
|
-
get: function () { return
|
|
18525
|
+
get: function () { return chunkQWKTQYGM_cjs.MUTED_DEDUPE_MS; }
|
|
18526
18526
|
});
|
|
18527
18527
|
Object.defineProperty(exports, "PLAYBACK_LOOKAHEAD_MS", {
|
|
18528
18528
|
enumerable: true,
|
|
18529
|
-
get: function () { return
|
|
18529
|
+
get: function () { return chunkQWKTQYGM_cjs.PLAYBACK_LOOKAHEAD_MS; }
|
|
18530
18530
|
});
|
|
18531
18531
|
Object.defineProperty(exports, "READ_ONLY_MEETING_TEXT", {
|
|
18532
18532
|
enumerable: true,
|
|
18533
|
-
get: function () { return
|
|
18533
|
+
get: function () { return chunkQWKTQYGM_cjs.READ_ONLY_MEETING_TEXT; }
|
|
18534
18534
|
});
|
|
18535
18535
|
Object.defineProperty(exports, "RECORDING_CHUNK_MS", {
|
|
18536
18536
|
enumerable: true,
|
|
18537
|
-
get: function () { return
|
|
18537
|
+
get: function () { return chunkQWKTQYGM_cjs.RECORDING_CHUNK_MS; }
|
|
18538
18538
|
});
|
|
18539
18539
|
Object.defineProperty(exports, "RECORDING_SEGMENTER", {
|
|
18540
18540
|
enumerable: true,
|
|
18541
|
-
get: function () { return
|
|
18541
|
+
get: function () { return chunkQWKTQYGM_cjs.RECORDING_SEGMENTER; }
|
|
18542
18542
|
});
|
|
18543
18543
|
Object.defineProperty(exports, "SEGMENT_FRAME_MS", {
|
|
18544
18544
|
enumerable: true,
|
|
18545
|
-
get: function () { return
|
|
18545
|
+
get: function () { return chunkQWKTQYGM_cjs.SEGMENT_FRAME_MS; }
|
|
18546
18546
|
});
|
|
18547
18547
|
Object.defineProperty(exports, "SEGMENT_ID_PATTERN", {
|
|
18548
18548
|
enumerable: true,
|
|
18549
|
-
get: function () { return
|
|
18549
|
+
get: function () { return chunkQWKTQYGM_cjs.SEGMENT_ID_PATTERN; }
|
|
18550
18550
|
});
|
|
18551
18551
|
Object.defineProperty(exports, "SEGMENT_PRE_ROLL_MS", {
|
|
18552
18552
|
enumerable: true,
|
|
18553
|
-
get: function () { return
|
|
18553
|
+
get: function () { return chunkQWKTQYGM_cjs.SEGMENT_PRE_ROLL_MS; }
|
|
18554
18554
|
});
|
|
18555
18555
|
Object.defineProperty(exports, "SHORT_PIECE_MERGE_GAP_MS", {
|
|
18556
18556
|
enumerable: true,
|
|
18557
|
-
get: function () { return
|
|
18557
|
+
get: function () { return chunkQWKTQYGM_cjs.SHORT_PIECE_MERGE_GAP_MS; }
|
|
18558
18558
|
});
|
|
18559
18559
|
Object.defineProperty(exports, "SPEAKER_AUDIO_BITS_PER_SECOND", {
|
|
18560
18560
|
enumerable: true,
|
|
18561
|
-
get: function () { return
|
|
18561
|
+
get: function () { return chunkQWKTQYGM_cjs.SPEAKER_AUDIO_BITS_PER_SECOND; }
|
|
18562
18562
|
});
|
|
18563
18563
|
Object.defineProperty(exports, "TrackUploader", {
|
|
18564
18564
|
enumerable: true,
|
|
18565
|
-
get: function () { return
|
|
18565
|
+
get: function () { return chunkQWKTQYGM_cjs.TrackUploader; }
|
|
18566
18566
|
});
|
|
18567
18567
|
Object.defineProperty(exports, "UPLOAD_ATTEMPTS", {
|
|
18568
18568
|
enumerable: true,
|
|
18569
|
-
get: function () { return
|
|
18569
|
+
get: function () { return chunkQWKTQYGM_cjs.UPLOAD_ATTEMPTS; }
|
|
18570
18570
|
});
|
|
18571
18571
|
Object.defineProperty(exports, "UPLOAD_BACKOFF_MS", {
|
|
18572
18572
|
enumerable: true,
|
|
18573
|
-
get: function () { return
|
|
18573
|
+
get: function () { return chunkQWKTQYGM_cjs.UPLOAD_BACKOFF_MS; }
|
|
18574
18574
|
});
|
|
18575
18575
|
Object.defineProperty(exports, "acceptRing", {
|
|
18576
18576
|
enumerable: true,
|
|
18577
|
-
get: function () { return
|
|
18577
|
+
get: function () { return chunkQWKTQYGM_cjs.acceptRing; }
|
|
18578
18578
|
});
|
|
18579
18579
|
Object.defineProperty(exports, "addConversationToList", {
|
|
18580
18580
|
enumerable: true,
|
|
18581
|
-
get: function () { return
|
|
18581
|
+
get: function () { return chunkQWKTQYGM_cjs.addConversationToList; }
|
|
18582
18582
|
});
|
|
18583
18583
|
Object.defineProperty(exports, "appendToThread", {
|
|
18584
18584
|
enumerable: true,
|
|
18585
|
-
get: function () { return
|
|
18585
|
+
get: function () { return chunkQWKTQYGM_cjs.appendToThread; }
|
|
18586
18586
|
});
|
|
18587
18587
|
Object.defineProperty(exports, "applyAgentDmStatus", {
|
|
18588
18588
|
enumerable: true,
|
|
18589
|
-
get: function () { return
|
|
18589
|
+
get: function () { return chunkQWKTQYGM_cjs.applyAgentDmStatus; }
|
|
18590
18590
|
});
|
|
18591
18591
|
Object.defineProperty(exports, "applyCallEvent", {
|
|
18592
18592
|
enumerable: true,
|
|
18593
|
-
get: function () { return
|
|
18593
|
+
get: function () { return chunkQWKTQYGM_cjs.applyCallEvent; }
|
|
18594
18594
|
});
|
|
18595
18595
|
Object.defineProperty(exports, "applyChatEvent", {
|
|
18596
18596
|
enumerable: true,
|
|
18597
|
-
get: function () { return
|
|
18597
|
+
get: function () { return chunkQWKTQYGM_cjs.applyChatEvent; }
|
|
18598
18598
|
});
|
|
18599
18599
|
Object.defineProperty(exports, "applyChatMessage", {
|
|
18600
18600
|
enumerable: true,
|
|
18601
|
-
get: function () { return
|
|
18601
|
+
get: function () { return chunkQWKTQYGM_cjs.applyChatMessage; }
|
|
18602
18602
|
});
|
|
18603
18603
|
Object.defineProperty(exports, "applyChatRead", {
|
|
18604
18604
|
enumerable: true,
|
|
18605
|
-
get: function () { return
|
|
18605
|
+
get: function () { return chunkQWKTQYGM_cjs.applyChatRead; }
|
|
18606
18606
|
});
|
|
18607
18607
|
Object.defineProperty(exports, "applyChatUpdated", {
|
|
18608
18608
|
enumerable: true,
|
|
18609
|
-
get: function () { return
|
|
18609
|
+
get: function () { return chunkQWKTQYGM_cjs.applyChatUpdated; }
|
|
18610
18610
|
});
|
|
18611
18611
|
Object.defineProperty(exports, "arbiAccountClient", {
|
|
18612
18612
|
enumerable: true,
|
|
18613
|
-
get: function () { return
|
|
18613
|
+
get: function () { return chunkQWKTQYGM_cjs.arbiAccountClient; }
|
|
18614
18614
|
});
|
|
18615
18615
|
Object.defineProperty(exports, "buildMeetingChatBody", {
|
|
18616
18616
|
enumerable: true,
|
|
18617
|
-
get: function () { return
|
|
18617
|
+
get: function () { return chunkQWKTQYGM_cjs.buildMeetingChatBody; }
|
|
18618
18618
|
});
|
|
18619
18619
|
Object.defineProperty(exports, "cachedChat", {
|
|
18620
18620
|
enumerable: true,
|
|
18621
|
-
get: function () { return
|
|
18621
|
+
get: function () { return chunkQWKTQYGM_cjs.cachedChat; }
|
|
18622
18622
|
});
|
|
18623
18623
|
Object.defineProperty(exports, "cachedChats", {
|
|
18624
18624
|
enumerable: true,
|
|
18625
|
-
get: function () { return
|
|
18625
|
+
get: function () { return chunkQWKTQYGM_cjs.cachedChats; }
|
|
18626
18626
|
});
|
|
18627
18627
|
Object.defineProperty(exports, "callLink", {
|
|
18628
18628
|
enumerable: true,
|
|
18629
|
-
get: function () { return
|
|
18629
|
+
get: function () { return chunkQWKTQYGM_cjs.callLink; }
|
|
18630
18630
|
});
|
|
18631
18631
|
Object.defineProperty(exports, "callMemberKeys", {
|
|
18632
18632
|
enumerable: true,
|
|
18633
|
-
get: function () { return
|
|
18633
|
+
get: function () { return chunkQWKTQYGM_cjs.callMemberKeys; }
|
|
18634
18634
|
});
|
|
18635
18635
|
Object.defineProperty(exports, "callSession", {
|
|
18636
18636
|
enumerable: true,
|
|
18637
|
-
get: function () { return
|
|
18637
|
+
get: function () { return chunkQWKTQYGM_cjs.callSession; }
|
|
18638
18638
|
});
|
|
18639
18639
|
Object.defineProperty(exports, "chatByExtId", {
|
|
18640
18640
|
enumerable: true,
|
|
18641
|
-
get: function () { return
|
|
18641
|
+
get: function () { return chunkQWKTQYGM_cjs.chatByExtId; }
|
|
18642
18642
|
});
|
|
18643
18643
|
Object.defineProperty(exports, "chatHasLiveCall", {
|
|
18644
18644
|
enumerable: true,
|
|
18645
|
-
get: function () { return
|
|
18645
|
+
get: function () { return chunkQWKTQYGM_cjs.chatHasLiveCall; }
|
|
18646
18646
|
});
|
|
18647
18647
|
Object.defineProperty(exports, "chatLiveCallId", {
|
|
18648
18648
|
enumerable: true,
|
|
18649
|
-
get: function () { return
|
|
18649
|
+
get: function () { return chunkQWKTQYGM_cjs.chatLiveCallId; }
|
|
18650
18650
|
});
|
|
18651
18651
|
Object.defineProperty(exports, "chatTranscriptRef", {
|
|
18652
18652
|
enumerable: true,
|
|
18653
|
-
get: function () { return
|
|
18653
|
+
get: function () { return chunkQWKTQYGM_cjs.chatTranscriptRef; }
|
|
18654
18654
|
});
|
|
18655
18655
|
Object.defineProperty(exports, "clearMeetingChatCache", {
|
|
18656
18656
|
enumerable: true,
|
|
18657
|
-
get: function () { return
|
|
18657
|
+
get: function () { return chunkQWKTQYGM_cjs.clearMeetingChatCache; }
|
|
18658
18658
|
});
|
|
18659
18659
|
Object.defineProperty(exports, "clearTrackUploaders", {
|
|
18660
18660
|
enumerable: true,
|
|
18661
|
-
get: function () { return
|
|
18661
|
+
get: function () { return chunkQWKTQYGM_cjs.clearTrackUploaders; }
|
|
18662
18662
|
});
|
|
18663
18663
|
Object.defineProperty(exports, "clockTime", {
|
|
18664
18664
|
enumerable: true,
|
|
18665
|
-
get: function () { return
|
|
18665
|
+
get: function () { return chunkQWKTQYGM_cjs.clockTime; }
|
|
18666
18666
|
});
|
|
18667
18667
|
Object.defineProperty(exports, "compositeFiles", {
|
|
18668
18668
|
enumerable: true,
|
|
18669
|
-
get: function () { return
|
|
18669
|
+
get: function () { return chunkQWKTQYGM_cjs.compositeFiles; }
|
|
18670
18670
|
});
|
|
18671
18671
|
Object.defineProperty(exports, "compositeTrack", {
|
|
18672
18672
|
enumerable: true,
|
|
18673
|
-
get: function () { return
|
|
18673
|
+
get: function () { return chunkQWKTQYGM_cjs.compositeTrack; }
|
|
18674
18674
|
});
|
|
18675
18675
|
Object.defineProperty(exports, "conversationKeyForCall", {
|
|
18676
18676
|
enumerable: true,
|
|
18677
|
-
get: function () { return
|
|
18677
|
+
get: function () { return chunkQWKTQYGM_cjs.conversationKeyForCall; }
|
|
18678
18678
|
});
|
|
18679
18679
|
Object.defineProperty(exports, "createLocalFeatureStore", {
|
|
18680
18680
|
enumerable: true,
|
|
18681
|
-
get: function () { return
|
|
18681
|
+
get: function () { return chunkQWKTQYGM_cjs.createLocalFeatureStore; }
|
|
18682
18682
|
});
|
|
18683
18683
|
Object.defineProperty(exports, "createMutedNotifier", {
|
|
18684
18684
|
enumerable: true,
|
|
18685
|
-
get: function () { return
|
|
18685
|
+
get: function () { return chunkQWKTQYGM_cjs.createMutedNotifier; }
|
|
18686
18686
|
});
|
|
18687
18687
|
Object.defineProperty(exports, "createTrackCutter", {
|
|
18688
18688
|
enumerable: true,
|
|
18689
|
-
get: function () { return
|
|
18689
|
+
get: function () { return chunkQWKTQYGM_cjs.createTrackCutter; }
|
|
18690
18690
|
});
|
|
18691
18691
|
Object.defineProperty(exports, "cutAtPauses", {
|
|
18692
18692
|
enumerable: true,
|
|
18693
|
-
get: function () { return
|
|
18693
|
+
get: function () { return chunkQWKTQYGM_cjs.cutAtPauses; }
|
|
18694
18694
|
});
|
|
18695
18695
|
Object.defineProperty(exports, "declineRing", {
|
|
18696
18696
|
enumerable: true,
|
|
18697
|
-
get: function () { return
|
|
18697
|
+
get: function () { return chunkQWKTQYGM_cjs.declineRing; }
|
|
18698
18698
|
});
|
|
18699
18699
|
Object.defineProperty(exports, "decodeCallChatPacket", {
|
|
18700
18700
|
enumerable: true,
|
|
18701
|
-
get: function () { return
|
|
18701
|
+
get: function () { return chunkQWKTQYGM_cjs.decodeCallChatPacket; }
|
|
18702
18702
|
});
|
|
18703
18703
|
Object.defineProperty(exports, "decodeCaptionPacket", {
|
|
18704
18704
|
enumerable: true,
|
|
18705
|
-
get: function () { return
|
|
18705
|
+
get: function () { return chunkQWKTQYGM_cjs.decodeCaptionPacket; }
|
|
18706
18706
|
});
|
|
18707
18707
|
Object.defineProperty(exports, "decodeMono16k", {
|
|
18708
18708
|
enumerable: true,
|
|
18709
|
-
get: function () { return
|
|
18709
|
+
get: function () { return chunkQWKTQYGM_cjs.decodeMono16k; }
|
|
18710
18710
|
});
|
|
18711
18711
|
Object.defineProperty(exports, "decryptPart", {
|
|
18712
18712
|
enumerable: true,
|
|
18713
|
-
get: function () { return
|
|
18713
|
+
get: function () { return chunkQWKTQYGM_cjs.decryptPart; }
|
|
18714
18714
|
});
|
|
18715
18715
|
Object.defineProperty(exports, "encodeCallChatPacket", {
|
|
18716
18716
|
enumerable: true,
|
|
18717
|
-
get: function () { return
|
|
18717
|
+
get: function () { return chunkQWKTQYGM_cjs.encodeCallChatPacket; }
|
|
18718
18718
|
});
|
|
18719
18719
|
Object.defineProperty(exports, "encodeCaptionPacket", {
|
|
18720
18720
|
enumerable: true,
|
|
18721
|
-
get: function () { return
|
|
18721
|
+
get: function () { return chunkQWKTQYGM_cjs.encodeCaptionPacket; }
|
|
18722
18722
|
});
|
|
18723
18723
|
Object.defineProperty(exports, "encodeWav", {
|
|
18724
18724
|
enumerable: true,
|
|
18725
|
-
get: function () { return
|
|
18725
|
+
get: function () { return chunkQWKTQYGM_cjs.encodeWav; }
|
|
18726
18726
|
});
|
|
18727
18727
|
Object.defineProperty(exports, "encryptPart", {
|
|
18728
18728
|
enumerable: true,
|
|
18729
|
-
get: function () { return
|
|
18729
|
+
get: function () { return chunkQWKTQYGM_cjs.encryptPart; }
|
|
18730
18730
|
});
|
|
18731
18731
|
Object.defineProperty(exports, "ensureMeetingChat", {
|
|
18732
18732
|
enumerable: true,
|
|
18733
|
-
get: function () { return
|
|
18733
|
+
get: function () { return chunkQWKTQYGM_cjs.ensureMeetingChat; }
|
|
18734
18734
|
});
|
|
18735
18735
|
Object.defineProperty(exports, "entitlementRefusal", {
|
|
18736
18736
|
enumerable: true,
|
|
18737
|
-
get: function () { return
|
|
18737
|
+
get: function () { return chunkQWKTQYGM_cjs.entitlementRefusal; }
|
|
18738
18738
|
});
|
|
18739
18739
|
Object.defineProperty(exports, "extensionFor", {
|
|
18740
18740
|
enumerable: true,
|
|
18741
|
-
get: function () { return
|
|
18741
|
+
get: function () { return chunkQWKTQYGM_cjs.extensionFor; }
|
|
18742
18742
|
});
|
|
18743
18743
|
Object.defineProperty(exports, "fetchPart", {
|
|
18744
18744
|
enumerable: true,
|
|
18745
|
-
get: function () { return
|
|
18745
|
+
get: function () { return chunkQWKTQYGM_cjs.fetchPart; }
|
|
18746
18746
|
});
|
|
18747
18747
|
Object.defineProperty(exports, "fileSafe", {
|
|
18748
18748
|
enumerable: true,
|
|
18749
|
-
get: function () { return
|
|
18749
|
+
get: function () { return chunkQWKTQYGM_cjs.fileSafe; }
|
|
18750
18750
|
});
|
|
18751
18751
|
Object.defineProperty(exports, "findConversation", {
|
|
18752
18752
|
enumerable: true,
|
|
18753
|
-
get: function () { return
|
|
18753
|
+
get: function () { return chunkQWKTQYGM_cjs.findConversation; }
|
|
18754
18754
|
});
|
|
18755
18755
|
Object.defineProperty(exports, "floatToWav", {
|
|
18756
18756
|
enumerable: true,
|
|
18757
|
-
get: function () { return
|
|
18757
|
+
get: function () { return chunkQWKTQYGM_cjs.floatToWav; }
|
|
18758
18758
|
});
|
|
18759
18759
|
Object.defineProperty(exports, "formatTranscriptMarkdown", {
|
|
18760
18760
|
enumerable: true,
|
|
18761
|
-
get: function () { return
|
|
18761
|
+
get: function () { return chunkQWKTQYGM_cjs.formatTranscriptMarkdown; }
|
|
18762
18762
|
});
|
|
18763
18763
|
Object.defineProperty(exports, "getOpenChat", {
|
|
18764
18764
|
enumerable: true,
|
|
18765
|
-
get: function () { return
|
|
18765
|
+
get: function () { return chunkQWKTQYGM_cjs.getOpenChat; }
|
|
18766
18766
|
});
|
|
18767
18767
|
Object.defineProperty(exports, "hasRecordingTranscript", {
|
|
18768
18768
|
enumerable: true,
|
|
18769
|
-
get: function () { return
|
|
18769
|
+
get: function () { return chunkQWKTQYGM_cjs.hasRecordingTranscript; }
|
|
18770
18770
|
});
|
|
18771
18771
|
Object.defineProperty(exports, "invalidateCall", {
|
|
18772
18772
|
enumerable: true,
|
|
18773
|
-
get: function () { return
|
|
18773
|
+
get: function () { return chunkQWKTQYGM_cjs.invalidateCall; }
|
|
18774
18774
|
});
|
|
18775
18775
|
Object.defineProperty(exports, "invalidateConversationDetails", {
|
|
18776
18776
|
enumerable: true,
|
|
18777
|
-
get: function () { return
|
|
18777
|
+
get: function () { return chunkQWKTQYGM_cjs.invalidateConversationDetails; }
|
|
18778
18778
|
});
|
|
18779
18779
|
Object.defineProperty(exports, "invalidateConversationLists", {
|
|
18780
18780
|
enumerable: true,
|
|
18781
|
-
get: function () { return
|
|
18781
|
+
get: function () { return chunkQWKTQYGM_cjs.invalidateConversationLists; }
|
|
18782
18782
|
});
|
|
18783
18783
|
Object.defineProperty(exports, "isConversationListKey", {
|
|
18784
18784
|
enumerable: true,
|
|
18785
|
-
get: function () { return
|
|
18785
|
+
get: function () { return chunkQWKTQYGM_cjs.isConversationListKey; }
|
|
18786
18786
|
});
|
|
18787
18787
|
Object.defineProperty(exports, "isConversationShared", {
|
|
18788
18788
|
enumerable: true,
|
|
18789
|
-
get: function () { return
|
|
18789
|
+
get: function () { return chunkQWKTQYGM_cjs.isConversationShared; }
|
|
18790
18790
|
});
|
|
18791
18791
|
Object.defineProperty(exports, "isRecordingOver", {
|
|
18792
18792
|
enumerable: true,
|
|
18793
|
-
get: function () { return
|
|
18793
|
+
get: function () { return chunkQWKTQYGM_cjs.isRecordingOver; }
|
|
18794
18794
|
});
|
|
18795
18795
|
Object.defineProperty(exports, "isRecordingSegmentId", {
|
|
18796
18796
|
enumerable: true,
|
|
18797
|
-
get: function () { return
|
|
18797
|
+
get: function () { return chunkQWKTQYGM_cjs.isRecordingSegmentId; }
|
|
18798
18798
|
});
|
|
18799
18799
|
Object.defineProperty(exports, "isRetryable", {
|
|
18800
18800
|
enumerable: true,
|
|
18801
|
-
get: function () { return
|
|
18801
|
+
get: function () { return chunkQWKTQYGM_cjs.isRetryable; }
|
|
18802
18802
|
});
|
|
18803
18803
|
Object.defineProperty(exports, "isWorkspaceGuestOf", {
|
|
18804
18804
|
enumerable: true,
|
|
18805
|
-
get: function () { return
|
|
18805
|
+
get: function () { return chunkQWKTQYGM_cjs.isWorkspaceGuestOf; }
|
|
18806
18806
|
});
|
|
18807
18807
|
Object.defineProperty(exports, "joinFromPreJoin", {
|
|
18808
18808
|
enumerable: true,
|
|
18809
|
-
get: function () { return
|
|
18809
|
+
get: function () { return chunkQWKTQYGM_cjs.joinFromPreJoin; }
|
|
18810
18810
|
});
|
|
18811
18811
|
Object.defineProperty(exports, "knownMeetingChat", {
|
|
18812
18812
|
enumerable: true,
|
|
18813
|
-
get: function () { return
|
|
18813
|
+
get: function () { return chunkQWKTQYGM_cjs.knownMeetingChat; }
|
|
18814
18814
|
});
|
|
18815
18815
|
Object.defineProperty(exports, "loadMeetingHistory", {
|
|
18816
18816
|
enumerable: true,
|
|
18817
|
-
get: function () { return
|
|
18817
|
+
get: function () { return chunkQWKTQYGM_cjs.loadMeetingHistory; }
|
|
18818
18818
|
});
|
|
18819
18819
|
Object.defineProperty(exports, "markRejoining", {
|
|
18820
18820
|
enumerable: true,
|
|
18821
|
-
get: function () { return
|
|
18821
|
+
get: function () { return chunkQWKTQYGM_cjs.markRejoining; }
|
|
18822
18822
|
});
|
|
18823
18823
|
Object.defineProperty(exports, "meetingChatRefFrom", {
|
|
18824
18824
|
enumerable: true,
|
|
18825
|
-
get: function () { return
|
|
18825
|
+
get: function () { return chunkQWKTQYGM_cjs.meetingChatRefFrom; }
|
|
18826
18826
|
});
|
|
18827
18827
|
Object.defineProperty(exports, "meetingRefForCall", {
|
|
18828
18828
|
enumerable: true,
|
|
18829
|
-
get: function () { return
|
|
18829
|
+
get: function () { return chunkQWKTQYGM_cjs.meetingRefForCall; }
|
|
18830
18830
|
});
|
|
18831
18831
|
Object.defineProperty(exports, "mergeChatLines", {
|
|
18832
18832
|
enumerable: true,
|
|
18833
|
-
get: function () { return
|
|
18833
|
+
get: function () { return chunkQWKTQYGM_cjs.mergeChatLines; }
|
|
18834
18834
|
});
|
|
18835
18835
|
Object.defineProperty(exports, "mutedNoticeFromEvent", {
|
|
18836
18836
|
enumerable: true,
|
|
18837
|
-
get: function () { return
|
|
18837
|
+
get: function () { return chunkQWKTQYGM_cjs.mutedNoticeFromEvent; }
|
|
18838
18838
|
});
|
|
18839
18839
|
Object.defineProperty(exports, "mutedNoticeFromPacket", {
|
|
18840
18840
|
enumerable: true,
|
|
18841
|
-
get: function () { return
|
|
18841
|
+
get: function () { return chunkQWKTQYGM_cjs.mutedNoticeFromPacket; }
|
|
18842
18842
|
});
|
|
18843
18843
|
Object.defineProperty(exports, "mutedNoticeText", {
|
|
18844
18844
|
enumerable: true,
|
|
18845
|
-
get: function () { return
|
|
18845
|
+
get: function () { return chunkQWKTQYGM_cjs.mutedNoticeText; }
|
|
18846
18846
|
});
|
|
18847
18847
|
Object.defineProperty(exports, "myChatId", {
|
|
18848
18848
|
enumerable: true,
|
|
18849
|
-
get: function () { return
|
|
18849
|
+
get: function () { return chunkQWKTQYGM_cjs.myChatId; }
|
|
18850
18850
|
});
|
|
18851
18851
|
Object.defineProperty(exports, "newPacketId", {
|
|
18852
18852
|
enumerable: true,
|
|
18853
|
-
get: function () { return
|
|
18853
|
+
get: function () { return chunkQWKTQYGM_cjs.newPacketId; }
|
|
18854
18854
|
});
|
|
18855
18855
|
Object.defineProperty(exports, "newSegmentId", {
|
|
18856
18856
|
enumerable: true,
|
|
18857
|
-
get: function () { return
|
|
18857
|
+
get: function () { return chunkQWKTQYGM_cjs.newSegmentId; }
|
|
18858
18858
|
});
|
|
18859
18859
|
Object.defineProperty(exports, "newTrackKey", {
|
|
18860
18860
|
enumerable: true,
|
|
18861
|
-
get: function () { return
|
|
18861
|
+
get: function () { return chunkQWKTQYGM_cjs.newTrackKey; }
|
|
18862
18862
|
});
|
|
18863
18863
|
Object.defineProperty(exports, "nextSeqAfter", {
|
|
18864
18864
|
enumerable: true,
|
|
18865
|
-
get: function () { return
|
|
18865
|
+
get: function () { return chunkQWKTQYGM_cjs.nextSeqAfter; }
|
|
18866
18866
|
});
|
|
18867
18867
|
Object.defineProperty(exports, "onCallEvent", {
|
|
18868
18868
|
enumerable: true,
|
|
18869
|
-
get: function () { return
|
|
18869
|
+
get: function () { return chunkQWKTQYGM_cjs.onCallEvent; }
|
|
18870
18870
|
});
|
|
18871
18871
|
Object.defineProperty(exports, "openCall", {
|
|
18872
18872
|
enumerable: true,
|
|
18873
|
-
get: function () { return
|
|
18873
|
+
get: function () { return chunkQWKTQYGM_cjs.openCall; }
|
|
18874
18874
|
});
|
|
18875
18875
|
Object.defineProperty(exports, "openQuestion", {
|
|
18876
18876
|
enumerable: true,
|
|
18877
|
-
get: function () { return
|
|
18877
|
+
get: function () { return chunkQWKTQYGM_cjs.openQuestion; }
|
|
18878
18878
|
});
|
|
18879
18879
|
Object.defineProperty(exports, "openRecording", {
|
|
18880
18880
|
enumerable: true,
|
|
18881
|
-
get: function () { return
|
|
18881
|
+
get: function () { return chunkQWKTQYGM_cjs.openRecording; }
|
|
18882
18882
|
});
|
|
18883
18883
|
Object.defineProperty(exports, "parseWebinarPacket", {
|
|
18884
18884
|
enumerable: true,
|
|
18885
|
-
get: function () { return
|
|
18885
|
+
get: function () { return chunkQWKTQYGM_cjs.parseWebinarPacket; }
|
|
18886
18886
|
});
|
|
18887
18887
|
Object.defineProperty(exports, "partKey", {
|
|
18888
18888
|
enumerable: true,
|
|
18889
|
-
get: function () { return
|
|
18889
|
+
get: function () { return chunkQWKTQYGM_cjs.partKey; }
|
|
18890
18890
|
});
|
|
18891
18891
|
Object.defineProperty(exports, "partOffsetMs", {
|
|
18892
18892
|
enumerable: true,
|
|
18893
|
-
get: function () { return
|
|
18893
|
+
get: function () { return chunkQWKTQYGM_cjs.partOffsetMs; }
|
|
18894
18894
|
});
|
|
18895
18895
|
Object.defineProperty(exports, "partsDue", {
|
|
18896
18896
|
enumerable: true,
|
|
18897
|
-
get: function () { return
|
|
18897
|
+
get: function () { return chunkQWKTQYGM_cjs.partsDue; }
|
|
18898
18898
|
});
|
|
18899
18899
|
Object.defineProperty(exports, "patchConversation", {
|
|
18900
18900
|
enumerable: true,
|
|
18901
|
-
get: function () { return
|
|
18901
|
+
get: function () { return chunkQWKTQYGM_cjs.patchConversation; }
|
|
18902
18902
|
});
|
|
18903
18903
|
Object.defineProperty(exports, "patchConversationList", {
|
|
18904
18904
|
enumerable: true,
|
|
18905
|
-
get: function () { return
|
|
18905
|
+
get: function () { return chunkQWKTQYGM_cjs.patchConversationList; }
|
|
18906
18906
|
});
|
|
18907
18907
|
Object.defineProperty(exports, "persistMeetingMessage", {
|
|
18908
18908
|
enumerable: true,
|
|
18909
|
-
get: function () { return
|
|
18909
|
+
get: function () { return chunkQWKTQYGM_cjs.persistMeetingMessage; }
|
|
18910
18910
|
});
|
|
18911
18911
|
Object.defineProperty(exports, "persistTranscriptSegment", {
|
|
18912
18912
|
enumerable: true,
|
|
18913
|
-
get: function () { return
|
|
18913
|
+
get: function () { return chunkQWKTQYGM_cjs.persistTranscriptSegment; }
|
|
18914
18914
|
});
|
|
18915
18915
|
Object.defineProperty(exports, "playheadAt", {
|
|
18916
18916
|
enumerable: true,
|
|
18917
|
-
get: function () { return
|
|
18917
|
+
get: function () { return chunkQWKTQYGM_cjs.playheadAt; }
|
|
18918
18918
|
});
|
|
18919
18919
|
Object.defineProperty(exports, "postRecordingDocsToThread", {
|
|
18920
18920
|
enumerable: true,
|
|
18921
|
-
get: function () { return
|
|
18921
|
+
get: function () { return chunkQWKTQYGM_cjs.postRecordingDocsToThread; }
|
|
18922
18922
|
});
|
|
18923
18923
|
Object.defineProperty(exports, "postTranscriptToThread", {
|
|
18924
18924
|
enumerable: true,
|
|
18925
|
-
get: function () { return
|
|
18925
|
+
get: function () { return chunkQWKTQYGM_cjs.postTranscriptToThread; }
|
|
18926
18926
|
});
|
|
18927
18927
|
Object.defineProperty(exports, "readLocalFeature", {
|
|
18928
18928
|
enumerable: true,
|
|
18929
|
-
get: function () { return
|
|
18929
|
+
get: function () { return chunkQWKTQYGM_cjs.readLocalFeature; }
|
|
18930
18930
|
});
|
|
18931
18931
|
Object.defineProperty(exports, "recordingFiles", {
|
|
18932
18932
|
enumerable: true,
|
|
18933
|
-
get: function () { return
|
|
18933
|
+
get: function () { return chunkQWKTQYGM_cjs.recordingFiles; }
|
|
18934
18934
|
});
|
|
18935
18935
|
Object.defineProperty(exports, "recordingWindowsOf", {
|
|
18936
18936
|
enumerable: true,
|
|
18937
|
-
get: function () { return
|
|
18937
|
+
get: function () { return chunkQWKTQYGM_cjs.recordingWindowsOf; }
|
|
18938
18938
|
});
|
|
18939
18939
|
Object.defineProperty(exports, "rejoinAsAudience", {
|
|
18940
18940
|
enumerable: true,
|
|
18941
|
-
get: function () { return
|
|
18941
|
+
get: function () { return chunkQWKTQYGM_cjs.rejoinAsAudience; }
|
|
18942
18942
|
});
|
|
18943
18943
|
Object.defineProperty(exports, "removeChat", {
|
|
18944
18944
|
enumerable: true,
|
|
18945
|
-
get: function () { return
|
|
18945
|
+
get: function () { return chunkQWKTQYGM_cjs.removeChat; }
|
|
18946
18946
|
});
|
|
18947
18947
|
Object.defineProperty(exports, "removeConversationFromLists", {
|
|
18948
18948
|
enumerable: true,
|
|
18949
|
-
get: function () { return
|
|
18949
|
+
get: function () { return chunkQWKTQYGM_cjs.removeConversationFromLists; }
|
|
18950
18950
|
});
|
|
18951
18951
|
Object.defineProperty(exports, "resetCallSession", {
|
|
18952
18952
|
enumerable: true,
|
|
18953
|
-
get: function () { return
|
|
18953
|
+
get: function () { return chunkQWKTQYGM_cjs.resetCallSession; }
|
|
18954
18954
|
});
|
|
18955
18955
|
Object.defineProperty(exports, "resolveMeetingChat", {
|
|
18956
18956
|
enumerable: true,
|
|
18957
|
-
get: function () { return
|
|
18957
|
+
get: function () { return chunkQWKTQYGM_cjs.resolveMeetingChat; }
|
|
18958
18958
|
});
|
|
18959
18959
|
Object.defineProperty(exports, "saveRecordingFilesToThread", {
|
|
18960
18960
|
enumerable: true,
|
|
18961
|
-
get: function () { return
|
|
18961
|
+
get: function () { return chunkQWKTQYGM_cjs.saveRecordingFilesToThread; }
|
|
18962
18962
|
});
|
|
18963
18963
|
Object.defineProperty(exports, "schedulePart", {
|
|
18964
18964
|
enumerable: true,
|
|
18965
|
-
get: function () { return
|
|
18965
|
+
get: function () { return chunkQWKTQYGM_cjs.schedulePart; }
|
|
18966
18966
|
});
|
|
18967
18967
|
Object.defineProperty(exports, "sealQuestionText", {
|
|
18968
18968
|
enumerable: true,
|
|
18969
|
-
get: function () { return
|
|
18969
|
+
get: function () { return chunkQWKTQYGM_cjs.sealQuestionText; }
|
|
18970
18970
|
});
|
|
18971
18971
|
Object.defineProperty(exports, "serverCallsExperimental", {
|
|
18972
18972
|
enumerable: true,
|
|
18973
|
-
get: function () { return
|
|
18973
|
+
get: function () { return chunkQWKTQYGM_cjs.serverCallsExperimental; }
|
|
18974
18974
|
});
|
|
18975
18975
|
Object.defineProperty(exports, "setOpenChat", {
|
|
18976
18976
|
enumerable: true,
|
|
18977
|
-
get: function () { return
|
|
18977
|
+
get: function () { return chunkQWKTQYGM_cjs.setOpenChat; }
|
|
18978
18978
|
});
|
|
18979
18979
|
Object.defineProperty(exports, "sortTranscriptMessages", {
|
|
18980
18980
|
enumerable: true,
|
|
18981
|
-
get: function () { return
|
|
18981
|
+
get: function () { return chunkQWKTQYGM_cjs.sortTranscriptMessages; }
|
|
18982
18982
|
});
|
|
18983
18983
|
Object.defineProperty(exports, "sortedParts", {
|
|
18984
18984
|
enumerable: true,
|
|
18985
|
-
get: function () { return
|
|
18985
|
+
get: function () { return chunkQWKTQYGM_cjs.sortedParts; }
|
|
18986
18986
|
});
|
|
18987
18987
|
Object.defineProperty(exports, "speakerTracks", {
|
|
18988
18988
|
enumerable: true,
|
|
18989
|
-
get: function () { return
|
|
18989
|
+
get: function () { return chunkQWKTQYGM_cjs.speakerTracks; }
|
|
18990
18990
|
});
|
|
18991
18991
|
Object.defineProperty(exports, "speakerWav", {
|
|
18992
18992
|
enumerable: true,
|
|
18993
|
-
get: function () { return
|
|
18993
|
+
get: function () { return chunkQWKTQYGM_cjs.speakerWav; }
|
|
18994
18994
|
});
|
|
18995
18995
|
Object.defineProperty(exports, "splitIntoFiles", {
|
|
18996
18996
|
enumerable: true,
|
|
18997
|
-
get: function () { return
|
|
18997
|
+
get: function () { return chunkQWKTQYGM_cjs.splitIntoFiles; }
|
|
18998
18998
|
});
|
|
18999
18999
|
Object.defineProperty(exports, "standalone", {
|
|
19000
19000
|
enumerable: true,
|
|
19001
|
-
get: function () { return
|
|
19001
|
+
get: function () { return chunkQWKTQYGM_cjs.standalone; }
|
|
19002
19002
|
});
|
|
19003
19003
|
Object.defineProperty(exports, "startChatCall", {
|
|
19004
19004
|
enumerable: true,
|
|
19005
|
-
get: function () { return
|
|
19005
|
+
get: function () { return chunkQWKTQYGM_cjs.startChatCall; }
|
|
19006
19006
|
});
|
|
19007
19007
|
Object.defineProperty(exports, "startContactsCall", {
|
|
19008
19008
|
enumerable: true,
|
|
19009
|
-
get: function () { return
|
|
19009
|
+
get: function () { return chunkQWKTQYGM_cjs.startContactsCall; }
|
|
19010
19010
|
});
|
|
19011
19011
|
Object.defineProperty(exports, "startDmCall", {
|
|
19012
19012
|
enumerable: true,
|
|
19013
|
-
get: function () { return
|
|
19013
|
+
get: function () { return chunkQWKTQYGM_cjs.startDmCall; }
|
|
19014
19014
|
});
|
|
19015
19015
|
Object.defineProperty(exports, "startThreadCall", {
|
|
19016
19016
|
enumerable: true,
|
|
19017
|
-
get: function () { return
|
|
19017
|
+
get: function () { return chunkQWKTQYGM_cjs.startThreadCall; }
|
|
19018
19018
|
});
|
|
19019
19019
|
Object.defineProperty(exports, "startsMediaFile", {
|
|
19020
19020
|
enumerable: true,
|
|
19021
|
-
get: function () { return
|
|
19021
|
+
get: function () { return chunkQWKTQYGM_cjs.startsMediaFile; }
|
|
19022
19022
|
});
|
|
19023
19023
|
Object.defineProperty(exports, "storeTranscriptSegment", {
|
|
19024
19024
|
enumerable: true,
|
|
19025
|
-
get: function () { return
|
|
19025
|
+
get: function () { return chunkQWKTQYGM_cjs.storeTranscriptSegment; }
|
|
19026
19026
|
});
|
|
19027
19027
|
Object.defineProperty(exports, "stripSpeakerPrefix", {
|
|
19028
19028
|
enumerable: true,
|
|
19029
|
-
get: function () { return
|
|
19029
|
+
get: function () { return chunkQWKTQYGM_cjs.stripSpeakerPrefix; }
|
|
19030
19030
|
});
|
|
19031
19031
|
Object.defineProperty(exports, "supersedeLiveTranscript", {
|
|
19032
19032
|
enumerable: true,
|
|
19033
|
-
get: function () { return
|
|
19033
|
+
get: function () { return chunkQWKTQYGM_cjs.supersedeLiveTranscript; }
|
|
19034
19034
|
});
|
|
19035
19035
|
Object.defineProperty(exports, "supersededTranscriptLines", {
|
|
19036
19036
|
enumerable: true,
|
|
19037
|
-
get: function () { return
|
|
19037
|
+
get: function () { return chunkQWKTQYGM_cjs.supersededTranscriptLines; }
|
|
19038
19038
|
});
|
|
19039
19039
|
Object.defineProperty(exports, "threadHasLiveCall", {
|
|
19040
19040
|
enumerable: true,
|
|
19041
|
-
get: function () { return
|
|
19041
|
+
get: function () { return chunkQWKTQYGM_cjs.threadHasLiveCall; }
|
|
19042
19042
|
});
|
|
19043
19043
|
Object.defineProperty(exports, "threadLiveCallId", {
|
|
19044
19044
|
enumerable: true,
|
|
19045
|
-
get: function () { return
|
|
19045
|
+
get: function () { return chunkQWKTQYGM_cjs.threadLiveCallId; }
|
|
19046
19046
|
});
|
|
19047
19047
|
Object.defineProperty(exports, "threadTranscriptLines", {
|
|
19048
19048
|
enumerable: true,
|
|
19049
|
-
get: function () { return
|
|
19049
|
+
get: function () { return chunkQWKTQYGM_cjs.threadTranscriptLines; }
|
|
19050
19050
|
});
|
|
19051
19051
|
Object.defineProperty(exports, "threadTranscriptRef", {
|
|
19052
19052
|
enumerable: true,
|
|
19053
|
-
get: function () { return
|
|
19053
|
+
get: function () { return chunkQWKTQYGM_cjs.threadTranscriptRef; }
|
|
19054
19054
|
});
|
|
19055
19055
|
Object.defineProperty(exports, "threadTranscriptText", {
|
|
19056
19056
|
enumerable: true,
|
|
19057
|
-
get: function () { return
|
|
19057
|
+
get: function () { return chunkQWKTQYGM_cjs.threadTranscriptText; }
|
|
19058
19058
|
});
|
|
19059
19059
|
Object.defineProperty(exports, "timelineDurationMs", {
|
|
19060
19060
|
enumerable: true,
|
|
19061
|
-
get: function () { return
|
|
19061
|
+
get: function () { return chunkQWKTQYGM_cjs.timelineDurationMs; }
|
|
19062
19062
|
});
|
|
19063
19063
|
Object.defineProperty(exports, "timelineOf", {
|
|
19064
19064
|
enumerable: true,
|
|
19065
|
-
get: function () { return
|
|
19065
|
+
get: function () { return chunkQWKTQYGM_cjs.timelineOf; }
|
|
19066
19066
|
});
|
|
19067
19067
|
Object.defineProperty(exports, "toProfileView", {
|
|
19068
19068
|
enumerable: true,
|
|
19069
|
-
get: function () { return
|
|
19069
|
+
get: function () { return chunkQWKTQYGM_cjs.toProfileView; }
|
|
19070
19070
|
});
|
|
19071
19071
|
Object.defineProperty(exports, "trackUploaderFor", {
|
|
19072
19072
|
enumerable: true,
|
|
19073
|
-
get: function () { return
|
|
19073
|
+
get: function () { return chunkQWKTQYGM_cjs.trackUploaderFor; }
|
|
19074
19074
|
});
|
|
19075
19075
|
Object.defineProperty(exports, "transcribeRecording", {
|
|
19076
19076
|
enumerable: true,
|
|
19077
|
-
get: function () { return
|
|
19077
|
+
get: function () { return chunkQWKTQYGM_cjs.transcribeRecording; }
|
|
19078
19078
|
});
|
|
19079
19079
|
Object.defineProperty(exports, "transcriptPersistRole", {
|
|
19080
19080
|
enumerable: true,
|
|
19081
|
-
get: function () { return
|
|
19081
|
+
get: function () { return chunkQWKTQYGM_cjs.transcriptPersistRole; }
|
|
19082
19082
|
});
|
|
19083
19083
|
Object.defineProperty(exports, "transcriptSegmentOf", {
|
|
19084
19084
|
enumerable: true,
|
|
19085
|
-
get: function () { return
|
|
19085
|
+
get: function () { return chunkQWKTQYGM_cjs.transcriptSegmentOf; }
|
|
19086
19086
|
});
|
|
19087
19087
|
Object.defineProperty(exports, "unwrapTrackKey", {
|
|
19088
19088
|
enumerable: true,
|
|
19089
|
-
get: function () { return
|
|
19089
|
+
get: function () { return chunkQWKTQYGM_cjs.unwrapTrackKey; }
|
|
19090
19090
|
});
|
|
19091
19091
|
Object.defineProperty(exports, "upsertChat", {
|
|
19092
19092
|
enumerable: true,
|
|
19093
|
-
get: function () { return
|
|
19093
|
+
get: function () { return chunkQWKTQYGM_cjs.upsertChat; }
|
|
19094
19094
|
});
|
|
19095
19095
|
Object.defineProperty(exports, "useAccountClient", {
|
|
19096
19096
|
enumerable: true,
|
|
19097
|
-
get: function () { return
|
|
19097
|
+
get: function () { return chunkQWKTQYGM_cjs.useAccountClient; }
|
|
19098
19098
|
});
|
|
19099
19099
|
Object.defineProperty(exports, "useAvatarCrop", {
|
|
19100
19100
|
enumerable: true,
|
|
19101
|
-
get: function () { return
|
|
19101
|
+
get: function () { return chunkQWKTQYGM_cjs.useAvatarCrop; }
|
|
19102
19102
|
});
|
|
19103
19103
|
Object.defineProperty(exports, "useCall", {
|
|
19104
19104
|
enumerable: true,
|
|
19105
|
-
get: function () { return
|
|
19105
|
+
get: function () { return chunkQWKTQYGM_cjs.useCall; }
|
|
19106
19106
|
});
|
|
19107
19107
|
Object.defineProperty(exports, "useCallInviteLinks", {
|
|
19108
19108
|
enumerable: true,
|
|
19109
|
-
get: function () { return
|
|
19109
|
+
get: function () { return chunkQWKTQYGM_cjs.useCallInviteLinks; }
|
|
19110
19110
|
});
|
|
19111
19111
|
Object.defineProperty(exports, "useCallRecording", {
|
|
19112
19112
|
enumerable: true,
|
|
19113
|
-
get: function () { return
|
|
19113
|
+
get: function () { return chunkQWKTQYGM_cjs.useCallRecording; }
|
|
19114
19114
|
});
|
|
19115
19115
|
Object.defineProperty(exports, "useCallRecordings", {
|
|
19116
19116
|
enumerable: true,
|
|
19117
|
-
get: function () { return
|
|
19117
|
+
get: function () { return chunkQWKTQYGM_cjs.useCallRecordings; }
|
|
19118
19118
|
});
|
|
19119
19119
|
Object.defineProperty(exports, "useCallSession", {
|
|
19120
19120
|
enumerable: true,
|
|
19121
|
-
get: function () { return
|
|
19121
|
+
get: function () { return chunkQWKTQYGM_cjs.useCallSession; }
|
|
19122
19122
|
});
|
|
19123
19123
|
Object.defineProperty(exports, "useCallTranscriptionAvailable", {
|
|
19124
19124
|
enumerable: true,
|
|
19125
|
-
get: function () { return
|
|
19125
|
+
get: function () { return chunkQWKTQYGM_cjs.useCallTranscriptionAvailable; }
|
|
19126
19126
|
});
|
|
19127
19127
|
Object.defineProperty(exports, "useCallsConfig", {
|
|
19128
19128
|
enumerable: true,
|
|
19129
|
-
get: function () { return
|
|
19129
|
+
get: function () { return chunkQWKTQYGM_cjs.useCallsConfig; }
|
|
19130
19130
|
});
|
|
19131
19131
|
Object.defineProperty(exports, "useCallsEnabled", {
|
|
19132
19132
|
enumerable: true,
|
|
19133
|
-
get: function () { return
|
|
19133
|
+
get: function () { return chunkQWKTQYGM_cjs.useCallsEnabled; }
|
|
19134
19134
|
});
|
|
19135
19135
|
Object.defineProperty(exports, "useCanHostCalls", {
|
|
19136
19136
|
enumerable: true,
|
|
19137
|
-
get: function () { return
|
|
19137
|
+
get: function () { return chunkQWKTQYGM_cjs.useCanHostCalls; }
|
|
19138
19138
|
});
|
|
19139
19139
|
Object.defineProperty(exports, "useEntitlements", {
|
|
19140
19140
|
enumerable: true,
|
|
19141
|
-
get: function () { return
|
|
19141
|
+
get: function () { return chunkQWKTQYGM_cjs.useEntitlements; }
|
|
19142
19142
|
});
|
|
19143
19143
|
Object.defineProperty(exports, "useFeature", {
|
|
19144
19144
|
enumerable: true,
|
|
19145
|
-
get: function () { return
|
|
19145
|
+
get: function () { return chunkQWKTQYGM_cjs.useFeature; }
|
|
19146
19146
|
});
|
|
19147
19147
|
Object.defineProperty(exports, "useFeatureCheck", {
|
|
19148
19148
|
enumerable: true,
|
|
19149
|
-
get: function () { return
|
|
19149
|
+
get: function () { return chunkQWKTQYGM_cjs.useFeatureCheck; }
|
|
19150
19150
|
});
|
|
19151
19151
|
Object.defineProperty(exports, "useFeatureSwitch", {
|
|
19152
19152
|
enumerable: true,
|
|
19153
|
-
get: function () { return
|
|
19153
|
+
get: function () { return chunkQWKTQYGM_cjs.useFeatureSwitch; }
|
|
19154
19154
|
});
|
|
19155
19155
|
Object.defineProperty(exports, "useInvalidateEntitlements", {
|
|
19156
19156
|
enumerable: true,
|
|
19157
|
-
get: function () { return
|
|
19157
|
+
get: function () { return chunkQWKTQYGM_cjs.useInvalidateEntitlements; }
|
|
19158
19158
|
});
|
|
19159
19159
|
Object.defineProperty(exports, "useIsEntitled", {
|
|
19160
19160
|
enumerable: true,
|
|
19161
|
-
get: function () { return
|
|
19161
|
+
get: function () { return chunkQWKTQYGM_cjs.useIsEntitled; }
|
|
19162
19162
|
});
|
|
19163
19163
|
Object.defineProperty(exports, "useMeetingReadOnly", {
|
|
19164
19164
|
enumerable: true,
|
|
19165
|
-
get: function () { return
|
|
19165
|
+
get: function () { return chunkQWKTQYGM_cjs.useMeetingReadOnly; }
|
|
19166
19166
|
});
|
|
19167
19167
|
Object.defineProperty(exports, "useNameEditor", {
|
|
19168
19168
|
enumerable: true,
|
|
19169
|
-
get: function () { return
|
|
19169
|
+
get: function () { return chunkQWKTQYGM_cjs.useNameEditor; }
|
|
19170
19170
|
});
|
|
19171
19171
|
Object.defineProperty(exports, "useOpenCallMeetingChat", {
|
|
19172
19172
|
enumerable: true,
|
|
19173
|
-
get: function () { return
|
|
19173
|
+
get: function () { return chunkQWKTQYGM_cjs.useOpenCallMeetingChat; }
|
|
19174
19174
|
});
|
|
19175
19175
|
Object.defineProperty(exports, "useProfile", {
|
|
19176
19176
|
enumerable: true,
|
|
19177
|
-
get: function () { return
|
|
19177
|
+
get: function () { return chunkQWKTQYGM_cjs.useProfile; }
|
|
19178
19178
|
});
|
|
19179
19179
|
Object.defineProperty(exports, "useRecordingActions", {
|
|
19180
19180
|
enumerable: true,
|
|
19181
|
-
get: function () { return
|
|
19181
|
+
get: function () { return chunkQWKTQYGM_cjs.useRecordingActions; }
|
|
19182
19182
|
});
|
|
19183
19183
|
Object.defineProperty(exports, "useRecordingWindows", {
|
|
19184
19184
|
enumerable: true,
|
|
19185
|
-
get: function () { return
|
|
19185
|
+
get: function () { return chunkQWKTQYGM_cjs.useRecordingWindows; }
|
|
19186
19186
|
});
|
|
19187
19187
|
Object.defineProperty(exports, "useRevokeCallInviteLink", {
|
|
19188
19188
|
enumerable: true,
|
|
19189
|
-
get: function () { return
|
|
19189
|
+
get: function () { return chunkQWKTQYGM_cjs.useRevokeCallInviteLink; }
|
|
19190
19190
|
});
|
|
19191
19191
|
Object.defineProperty(exports, "useSaveToThread", {
|
|
19192
19192
|
enumerable: true,
|
|
19193
|
-
get: function () { return
|
|
19193
|
+
get: function () { return chunkQWKTQYGM_cjs.useSaveToThread; }
|
|
19194
19194
|
});
|
|
19195
19195
|
Object.defineProperty(exports, "useServerCallsEnabled", {
|
|
19196
19196
|
enumerable: true,
|
|
19197
|
-
get: function () { return
|
|
19197
|
+
get: function () { return chunkQWKTQYGM_cjs.useServerCallsEnabled; }
|
|
19198
19198
|
});
|
|
19199
19199
|
Object.defineProperty(exports, "useServerCallsExperimental", {
|
|
19200
19200
|
enumerable: true,
|
|
19201
|
-
get: function () { return
|
|
19201
|
+
get: function () { return chunkQWKTQYGM_cjs.useServerCallsExperimental; }
|
|
19202
19202
|
});
|
|
19203
19203
|
Object.defineProperty(exports, "useUpdateProfile", {
|
|
19204
19204
|
enumerable: true,
|
|
19205
|
-
get: function () { return
|
|
19205
|
+
get: function () { return chunkQWKTQYGM_cjs.useUpdateProfile; }
|
|
19206
19206
|
});
|
|
19207
19207
|
Object.defineProperty(exports, "useUpdateUserSettings", {
|
|
19208
19208
|
enumerable: true,
|
|
19209
|
-
get: function () { return
|
|
19209
|
+
get: function () { return chunkQWKTQYGM_cjs.useUpdateUserSettings; }
|
|
19210
19210
|
});
|
|
19211
19211
|
Object.defineProperty(exports, "useUserSettings", {
|
|
19212
19212
|
enumerable: true,
|
|
19213
|
-
get: function () { return
|
|
19213
|
+
get: function () { return chunkQWKTQYGM_cjs.useUserSettings; }
|
|
19214
19214
|
});
|
|
19215
19215
|
Object.defineProperty(exports, "wipeOfflineMail", {
|
|
19216
19216
|
enumerable: true,
|
|
19217
|
-
get: function () { return
|
|
19217
|
+
get: function () { return chunkQWKTQYGM_cjs.wipeOfflineMail; }
|
|
19218
19218
|
});
|
|
19219
19219
|
Object.defineProperty(exports, "wrapTrackKey", {
|
|
19220
19220
|
enumerable: true,
|
|
19221
|
-
get: function () { return
|
|
19221
|
+
get: function () { return chunkQWKTQYGM_cjs.wrapTrackKey; }
|
|
19222
19222
|
});
|
|
19223
19223
|
Object.defineProperty(exports, "writeSamples", {
|
|
19224
19224
|
enumerable: true,
|
|
19225
|
-
get: function () { return
|
|
19225
|
+
get: function () { return chunkQWKTQYGM_cjs.writeSamples; }
|
|
19226
19226
|
});
|
|
19227
19227
|
Object.defineProperty(exports, "DISMISSED_TASK_TTL_MS", {
|
|
19228
19228
|
enumerable: true,
|
|
@@ -19410,335 +19410,335 @@ Object.defineProperty(exports, "useUpdateTagKindSchema", {
|
|
|
19410
19410
|
});
|
|
19411
19411
|
Object.defineProperty(exports, "DEFAULT_DOCUMENT_VIEWER_STATE", {
|
|
19412
19412
|
enumerable: true,
|
|
19413
|
-
get: function () { return
|
|
19413
|
+
get: function () { return chunk2MGJXBBJ_cjs.DEFAULT_DOCUMENT_VIEWER_STATE; }
|
|
19414
19414
|
});
|
|
19415
19415
|
Object.defineProperty(exports, "DOCUMENT_VIEWER_PANEL", {
|
|
19416
19416
|
enumerable: true,
|
|
19417
|
-
get: function () { return
|
|
19417
|
+
get: function () { return chunk2MGJXBBJ_cjs.DOCUMENT_VIEWER_PANEL; }
|
|
19418
19418
|
});
|
|
19419
19419
|
Object.defineProperty(exports, "EMPTY_CHAT_STATE", {
|
|
19420
19420
|
enumerable: true,
|
|
19421
|
-
get: function () { return
|
|
19421
|
+
get: function () { return chunk2MGJXBBJ_cjs.EMPTY_CHAT_STATE; }
|
|
19422
19422
|
});
|
|
19423
19423
|
Object.defineProperty(exports, "EMPTY_DOCUMENT_STATE", {
|
|
19424
19424
|
enumerable: true,
|
|
19425
|
-
get: function () { return
|
|
19425
|
+
get: function () { return chunk2MGJXBBJ_cjs.EMPTY_DOCUMENT_STATE; }
|
|
19426
19426
|
});
|
|
19427
19427
|
Object.defineProperty(exports, "EMPTY_SESSION_STATE", {
|
|
19428
19428
|
enumerable: true,
|
|
19429
|
-
get: function () { return
|
|
19429
|
+
get: function () { return chunk2MGJXBBJ_cjs.EMPTY_SESSION_STATE; }
|
|
19430
19430
|
});
|
|
19431
19431
|
Object.defineProperty(exports, "MAX_THREAD_TABS", {
|
|
19432
19432
|
enumerable: true,
|
|
19433
|
-
get: function () { return
|
|
19433
|
+
get: function () { return chunk2MGJXBBJ_cjs.MAX_THREAD_TABS; }
|
|
19434
19434
|
});
|
|
19435
19435
|
Object.defineProperty(exports, "MIN_QUEUED_MESSAGE_VISIBILITY_MS", {
|
|
19436
19436
|
enumerable: true,
|
|
19437
|
-
get: function () { return
|
|
19437
|
+
get: function () { return chunk2MGJXBBJ_cjs.MIN_QUEUED_MESSAGE_VISIBILITY_MS; }
|
|
19438
19438
|
});
|
|
19439
19439
|
Object.defineProperty(exports, "PROJECT_CREATION_DENIED_REASON", {
|
|
19440
19440
|
enumerable: true,
|
|
19441
|
-
get: function () { return
|
|
19441
|
+
get: function () { return chunk2MGJXBBJ_cjs.PROJECT_CREATION_DENIED_REASON; }
|
|
19442
19442
|
});
|
|
19443
19443
|
Object.defineProperty(exports, "WORKSPACE_LAST_OPENED_KEY", {
|
|
19444
19444
|
enumerable: true,
|
|
19445
|
-
get: function () { return
|
|
19445
|
+
get: function () { return chunk2MGJXBBJ_cjs.WORKSPACE_LAST_OPENED_KEY; }
|
|
19446
19446
|
});
|
|
19447
19447
|
Object.defineProperty(exports, "WORKSPACE_STORAGE_KEY", {
|
|
19448
19448
|
enumerable: true,
|
|
19449
|
-
get: function () { return
|
|
19449
|
+
get: function () { return chunk2MGJXBBJ_cjs.WORKSPACE_STORAGE_KEY; }
|
|
19450
19450
|
});
|
|
19451
19451
|
Object.defineProperty(exports, "agentControl", {
|
|
19452
19452
|
enumerable: true,
|
|
19453
|
-
get: function () { return
|
|
19453
|
+
get: function () { return chunk2MGJXBBJ_cjs.agentControl; }
|
|
19454
19454
|
});
|
|
19455
19455
|
Object.defineProperty(exports, "browserWorkspaceStorage", {
|
|
19456
19456
|
enumerable: true,
|
|
19457
|
-
get: function () { return
|
|
19457
|
+
get: function () { return chunk2MGJXBBJ_cjs.browserWorkspaceStorage; }
|
|
19458
19458
|
});
|
|
19459
19459
|
Object.defineProperty(exports, "clearSealedDrafts", {
|
|
19460
19460
|
enumerable: true,
|
|
19461
|
-
get: function () { return
|
|
19461
|
+
get: function () { return chunk2MGJXBBJ_cjs.clearSealedDrafts; }
|
|
19462
19462
|
});
|
|
19463
19463
|
Object.defineProperty(exports, "closePanelIn", {
|
|
19464
19464
|
enumerable: true,
|
|
19465
|
-
get: function () { return
|
|
19465
|
+
get: function () { return chunk2MGJXBBJ_cjs.closePanelIn; }
|
|
19466
19466
|
});
|
|
19467
19467
|
Object.defineProperty(exports, "composeArbiSessionStore", {
|
|
19468
19468
|
enumerable: true,
|
|
19469
|
-
get: function () { return
|
|
19469
|
+
get: function () { return chunk2MGJXBBJ_cjs.composeArbiSessionStore; }
|
|
19470
19470
|
});
|
|
19471
19471
|
Object.defineProperty(exports, "conversationKey", {
|
|
19472
19472
|
enumerable: true,
|
|
19473
|
-
get: function () { return
|
|
19473
|
+
get: function () { return chunk2MGJXBBJ_cjs.conversationKey; }
|
|
19474
19474
|
});
|
|
19475
19475
|
Object.defineProperty(exports, "createArbiChatStore", {
|
|
19476
19476
|
enumerable: true,
|
|
19477
|
-
get: function () { return
|
|
19477
|
+
get: function () { return chunk2MGJXBBJ_cjs.createArbiChatStore; }
|
|
19478
19478
|
});
|
|
19479
19479
|
Object.defineProperty(exports, "createArbiDocumentSessionStore", {
|
|
19480
19480
|
enumerable: true,
|
|
19481
|
-
get: function () { return
|
|
19481
|
+
get: function () { return chunk2MGJXBBJ_cjs.createArbiDocumentSessionStore; }
|
|
19482
19482
|
});
|
|
19483
19483
|
Object.defineProperty(exports, "createArbiLayoutStore", {
|
|
19484
19484
|
enumerable: true,
|
|
19485
|
-
get: function () { return
|
|
19485
|
+
get: function () { return chunk2MGJXBBJ_cjs.createArbiLayoutStore; }
|
|
19486
19486
|
});
|
|
19487
19487
|
Object.defineProperty(exports, "createArbiSessionStore", {
|
|
19488
19488
|
enumerable: true,
|
|
19489
|
-
get: function () { return
|
|
19489
|
+
get: function () { return chunk2MGJXBBJ_cjs.createArbiSessionStore; }
|
|
19490
19490
|
});
|
|
19491
19491
|
Object.defineProperty(exports, "createArbiWorkspaceStore", {
|
|
19492
19492
|
enumerable: true,
|
|
19493
|
-
get: function () { return
|
|
19493
|
+
get: function () { return chunk2MGJXBBJ_cjs.createArbiWorkspaceStore; }
|
|
19494
19494
|
});
|
|
19495
19495
|
Object.defineProperty(exports, "createBrowserStateStorage", {
|
|
19496
19496
|
enumerable: true,
|
|
19497
|
-
get: function () { return
|
|
19497
|
+
get: function () { return chunk2MGJXBBJ_cjs.createBrowserStateStorage; }
|
|
19498
19498
|
});
|
|
19499
19499
|
Object.defineProperty(exports, "createDebouncedWriter", {
|
|
19500
19500
|
enumerable: true,
|
|
19501
|
-
get: function () { return
|
|
19501
|
+
get: function () { return chunk2MGJXBBJ_cjs.createDebouncedWriter; }
|
|
19502
19502
|
});
|
|
19503
19503
|
Object.defineProperty(exports, "createSealedDraftStorage", {
|
|
19504
19504
|
enumerable: true,
|
|
19505
|
-
get: function () { return
|
|
19505
|
+
get: function () { return chunk2MGJXBBJ_cjs.createSealedDraftStorage; }
|
|
19506
19506
|
});
|
|
19507
19507
|
Object.defineProperty(exports, "createStoragePersist", {
|
|
19508
19508
|
enumerable: true,
|
|
19509
|
-
get: function () { return
|
|
19509
|
+
get: function () { return chunk2MGJXBBJ_cjs.createStoragePersist; }
|
|
19510
19510
|
});
|
|
19511
19511
|
Object.defineProperty(exports, "createUiStateStorage", {
|
|
19512
19512
|
enumerable: true,
|
|
19513
|
-
get: function () { return
|
|
19513
|
+
get: function () { return chunk2MGJXBBJ_cjs.createUiStateStorage; }
|
|
19514
19514
|
});
|
|
19515
19515
|
Object.defineProperty(exports, "defaultLayoutState", {
|
|
19516
19516
|
enumerable: true,
|
|
19517
|
-
get: function () { return
|
|
19517
|
+
get: function () { return chunk2MGJXBBJ_cjs.defaultLayoutState; }
|
|
19518
19518
|
});
|
|
19519
19519
|
Object.defineProperty(exports, "dmTabId", {
|
|
19520
19520
|
enumerable: true,
|
|
19521
|
-
get: function () { return
|
|
19521
|
+
get: function () { return chunk2MGJXBBJ_cjs.dmTabId; }
|
|
19522
19522
|
});
|
|
19523
19523
|
Object.defineProperty(exports, "flushOnPageExit", {
|
|
19524
19524
|
enumerable: true,
|
|
19525
|
-
get: function () { return
|
|
19525
|
+
get: function () { return chunk2MGJXBBJ_cjs.flushOnPageExit; }
|
|
19526
19526
|
});
|
|
19527
19527
|
Object.defineProperty(exports, "isPanelOpen", {
|
|
19528
19528
|
enumerable: true,
|
|
19529
|
-
get: function () { return
|
|
19529
|
+
get: function () { return chunk2MGJXBBJ_cjs.isPanelOpen; }
|
|
19530
19530
|
});
|
|
19531
19531
|
Object.defineProperty(exports, "isUsageMetered", {
|
|
19532
19532
|
enumerable: true,
|
|
19533
|
-
get: function () { return
|
|
19533
|
+
get: function () { return chunk2MGJXBBJ_cjs.isUsageMetered; }
|
|
19534
19534
|
});
|
|
19535
19535
|
Object.defineProperty(exports, "layoutActionsOf", {
|
|
19536
19536
|
enumerable: true,
|
|
19537
|
-
get: function () { return
|
|
19537
|
+
get: function () { return chunk2MGJXBBJ_cjs.layoutActionsOf; }
|
|
19538
19538
|
});
|
|
19539
19539
|
Object.defineProperty(exports, "nextViewingDocument", {
|
|
19540
19540
|
enumerable: true,
|
|
19541
|
-
get: function () { return
|
|
19541
|
+
get: function () { return chunk2MGJXBBJ_cjs.nextViewingDocument; }
|
|
19542
19542
|
});
|
|
19543
19543
|
Object.defineProperty(exports, "openPanelIn", {
|
|
19544
19544
|
enumerable: true,
|
|
19545
|
-
get: function () { return
|
|
19545
|
+
get: function () { return chunk2MGJXBBJ_cjs.openPanelIn; }
|
|
19546
19546
|
});
|
|
19547
19547
|
Object.defineProperty(exports, "panelPlace", {
|
|
19548
19548
|
enumerable: true,
|
|
19549
|
-
get: function () { return
|
|
19549
|
+
get: function () { return chunk2MGJXBBJ_cjs.panelPlace; }
|
|
19550
19550
|
});
|
|
19551
19551
|
Object.defineProperty(exports, "parseSavedChat", {
|
|
19552
19552
|
enumerable: true,
|
|
19553
|
-
get: function () { return
|
|
19553
|
+
get: function () { return chunk2MGJXBBJ_cjs.parseSavedChat; }
|
|
19554
19554
|
});
|
|
19555
19555
|
Object.defineProperty(exports, "parseSavedDocuments", {
|
|
19556
19556
|
enumerable: true,
|
|
19557
|
-
get: function () { return
|
|
19557
|
+
get: function () { return chunk2MGJXBBJ_cjs.parseSavedDocuments; }
|
|
19558
19558
|
});
|
|
19559
19559
|
Object.defineProperty(exports, "parseSavedLayout", {
|
|
19560
19560
|
enumerable: true,
|
|
19561
|
-
get: function () { return
|
|
19561
|
+
get: function () { return chunk2MGJXBBJ_cjs.parseSavedLayout; }
|
|
19562
19562
|
});
|
|
19563
19563
|
Object.defineProperty(exports, "queuedMessages", {
|
|
19564
19564
|
enumerable: true,
|
|
19565
|
-
get: function () { return
|
|
19565
|
+
get: function () { return chunk2MGJXBBJ_cjs.queuedMessages; }
|
|
19566
19566
|
});
|
|
19567
19567
|
Object.defineProperty(exports, "readWorkspaceLastOpened", {
|
|
19568
19568
|
enumerable: true,
|
|
19569
|
-
get: function () { return
|
|
19569
|
+
get: function () { return chunk2MGJXBBJ_cjs.readWorkspaceLastOpened; }
|
|
19570
19570
|
});
|
|
19571
19571
|
Object.defineProperty(exports, "restoreLayout", {
|
|
19572
19572
|
enumerable: true,
|
|
19573
|
-
get: function () { return
|
|
19573
|
+
get: function () { return chunk2MGJXBBJ_cjs.restoreLayout; }
|
|
19574
19574
|
});
|
|
19575
19575
|
Object.defineProperty(exports, "restoreSavedDocuments", {
|
|
19576
19576
|
enumerable: true,
|
|
19577
|
-
get: function () { return
|
|
19577
|
+
get: function () { return chunk2MGJXBBJ_cjs.restoreSavedDocuments; }
|
|
19578
19578
|
});
|
|
19579
19579
|
Object.defineProperty(exports, "savedChatOf", {
|
|
19580
19580
|
enumerable: true,
|
|
19581
|
-
get: function () { return
|
|
19581
|
+
get: function () { return chunk2MGJXBBJ_cjs.savedChatOf; }
|
|
19582
19582
|
});
|
|
19583
19583
|
Object.defineProperty(exports, "savedDocumentsOf", {
|
|
19584
19584
|
enumerable: true,
|
|
19585
|
-
get: function () { return
|
|
19585
|
+
get: function () { return chunk2MGJXBBJ_cjs.savedDocumentsOf; }
|
|
19586
19586
|
});
|
|
19587
19587
|
Object.defineProperty(exports, "savedLayoutOf", {
|
|
19588
19588
|
enumerable: true,
|
|
19589
|
-
get: function () { return
|
|
19589
|
+
get: function () { return chunk2MGJXBBJ_cjs.savedLayoutOf; }
|
|
19590
19590
|
});
|
|
19591
19591
|
Object.defineProperty(exports, "selectDraft", {
|
|
19592
19592
|
enumerable: true,
|
|
19593
|
-
get: function () { return
|
|
19593
|
+
get: function () { return chunk2MGJXBBJ_cjs.selectDraft; }
|
|
19594
19594
|
});
|
|
19595
19595
|
Object.defineProperty(exports, "selectIsGenerating", {
|
|
19596
19596
|
enumerable: true,
|
|
19597
|
-
get: function () { return
|
|
19597
|
+
get: function () { return chunk2MGJXBBJ_cjs.selectIsGenerating; }
|
|
19598
19598
|
});
|
|
19599
19599
|
Object.defineProperty(exports, "selectViewingDocumentId", {
|
|
19600
19600
|
enumerable: true,
|
|
19601
|
-
get: function () { return
|
|
19601
|
+
get: function () { return chunk2MGJXBBJ_cjs.selectViewingDocumentId; }
|
|
19602
19602
|
});
|
|
19603
19603
|
Object.defineProperty(exports, "threadTabId", {
|
|
19604
19604
|
enumerable: true,
|
|
19605
|
-
get: function () { return
|
|
19605
|
+
get: function () { return chunk2MGJXBBJ_cjs.threadTabId; }
|
|
19606
19606
|
});
|
|
19607
19607
|
Object.defineProperty(exports, "useActivity", {
|
|
19608
19608
|
enumerable: true,
|
|
19609
|
-
get: function () { return
|
|
19609
|
+
get: function () { return chunk2MGJXBBJ_cjs.useActivity; }
|
|
19610
19610
|
});
|
|
19611
19611
|
Object.defineProperty(exports, "useAgents", {
|
|
19612
19612
|
enumerable: true,
|
|
19613
|
-
get: function () { return
|
|
19613
|
+
get: function () { return chunk2MGJXBBJ_cjs.useAgents; }
|
|
19614
19614
|
});
|
|
19615
19615
|
Object.defineProperty(exports, "useArbiSession", {
|
|
19616
19616
|
enumerable: true,
|
|
19617
|
-
get: function () { return
|
|
19617
|
+
get: function () { return chunk2MGJXBBJ_cjs.useArbiSession; }
|
|
19618
19618
|
});
|
|
19619
19619
|
Object.defineProperty(exports, "useArbiSessionState", {
|
|
19620
19620
|
enumerable: true,
|
|
19621
|
-
get: function () { return
|
|
19621
|
+
get: function () { return chunk2MGJXBBJ_cjs.useArbiSessionState; }
|
|
19622
19622
|
});
|
|
19623
19623
|
Object.defineProperty(exports, "useArbiSessionStore", {
|
|
19624
19624
|
enumerable: true,
|
|
19625
|
-
get: function () { return
|
|
19625
|
+
get: function () { return chunk2MGJXBBJ_cjs.useArbiSessionStore; }
|
|
19626
19626
|
});
|
|
19627
19627
|
Object.defineProperty(exports, "useAssistantQuery", {
|
|
19628
19628
|
enumerable: true,
|
|
19629
|
-
get: function () { return
|
|
19629
|
+
get: function () { return chunk2MGJXBBJ_cjs.useAssistantQuery; }
|
|
19630
19630
|
});
|
|
19631
19631
|
Object.defineProperty(exports, "useAvailableModels", {
|
|
19632
19632
|
enumerable: true,
|
|
19633
|
-
get: function () { return
|
|
19633
|
+
get: function () { return chunk2MGJXBBJ_cjs.useAvailableModels; }
|
|
19634
19634
|
});
|
|
19635
19635
|
Object.defineProperty(exports, "useBoxRole", {
|
|
19636
19636
|
enumerable: true,
|
|
19637
|
-
get: function () { return
|
|
19637
|
+
get: function () { return chunk2MGJXBBJ_cjs.useBoxRole; }
|
|
19638
19638
|
});
|
|
19639
19639
|
Object.defineProperty(exports, "useBuiltinCommands", {
|
|
19640
19640
|
enumerable: true,
|
|
19641
|
-
get: function () { return
|
|
19641
|
+
get: function () { return chunk2MGJXBBJ_cjs.useBuiltinCommands; }
|
|
19642
19642
|
});
|
|
19643
19643
|
Object.defineProperty(exports, "useCanCreateProjects", {
|
|
19644
19644
|
enumerable: true,
|
|
19645
|
-
get: function () { return
|
|
19645
|
+
get: function () { return chunk2MGJXBBJ_cjs.useCanCreateProjects; }
|
|
19646
19646
|
});
|
|
19647
19647
|
Object.defineProperty(exports, "useCanCreateWorkspaces", {
|
|
19648
19648
|
enumerable: true,
|
|
19649
|
-
get: function () { return
|
|
19649
|
+
get: function () { return chunk2MGJXBBJ_cjs.useCanCreateWorkspaces; }
|
|
19650
19650
|
});
|
|
19651
19651
|
Object.defineProperty(exports, "useConfig", {
|
|
19652
19652
|
enumerable: true,
|
|
19653
|
-
get: function () { return
|
|
19653
|
+
get: function () { return chunk2MGJXBBJ_cjs.useConfig; }
|
|
19654
19654
|
});
|
|
19655
19655
|
Object.defineProperty(exports, "useConfigs", {
|
|
19656
19656
|
enumerable: true,
|
|
19657
|
-
get: function () { return
|
|
19657
|
+
get: function () { return chunk2MGJXBBJ_cjs.useConfigs; }
|
|
19658
19658
|
});
|
|
19659
19659
|
Object.defineProperty(exports, "useConversationThreads", {
|
|
19660
19660
|
enumerable: true,
|
|
19661
|
-
get: function () { return
|
|
19661
|
+
get: function () { return chunk2MGJXBBJ_cjs.useConversationThreads; }
|
|
19662
19662
|
});
|
|
19663
19663
|
Object.defineProperty(exports, "useConversations", {
|
|
19664
19664
|
enumerable: true,
|
|
19665
|
-
get: function () { return
|
|
19665
|
+
get: function () { return chunk2MGJXBBJ_cjs.useConversations; }
|
|
19666
19666
|
});
|
|
19667
19667
|
Object.defineProperty(exports, "useCurrentUser", {
|
|
19668
19668
|
enumerable: true,
|
|
19669
|
-
get: function () { return
|
|
19669
|
+
get: function () { return chunk2MGJXBBJ_cjs.useCurrentUser; }
|
|
19670
19670
|
});
|
|
19671
19671
|
Object.defineProperty(exports, "useDeleteAgents", {
|
|
19672
19672
|
enumerable: true,
|
|
19673
|
-
get: function () { return
|
|
19673
|
+
get: function () { return chunk2MGJXBBJ_cjs.useDeleteAgents; }
|
|
19674
19674
|
});
|
|
19675
19675
|
Object.defineProperty(exports, "useDocumentVersionList", {
|
|
19676
19676
|
enumerable: true,
|
|
19677
|
-
get: function () { return
|
|
19677
|
+
get: function () { return chunk2MGJXBBJ_cjs.useDocumentVersionList; }
|
|
19678
19678
|
});
|
|
19679
19679
|
Object.defineProperty(exports, "useHealth", {
|
|
19680
19680
|
enumerable: true,
|
|
19681
|
-
get: function () { return
|
|
19681
|
+
get: function () { return chunk2MGJXBBJ_cjs.useHealth; }
|
|
19682
19682
|
});
|
|
19683
19683
|
Object.defineProperty(exports, "useMessageDetails", {
|
|
19684
19684
|
enumerable: true,
|
|
19685
|
-
get: function () { return
|
|
19685
|
+
get: function () { return chunk2MGJXBBJ_cjs.useMessageDetails; }
|
|
19686
19686
|
});
|
|
19687
19687
|
Object.defineProperty(exports, "useParsedDocument", {
|
|
19688
19688
|
enumerable: true,
|
|
19689
|
-
get: function () { return
|
|
19689
|
+
get: function () { return chunk2MGJXBBJ_cjs.useParsedDocument; }
|
|
19690
19690
|
});
|
|
19691
19691
|
Object.defineProperty(exports, "useProjectCreationDenial", {
|
|
19692
19692
|
enumerable: true,
|
|
19693
|
-
get: function () { return
|
|
19693
|
+
get: function () { return chunk2MGJXBBJ_cjs.useProjectCreationDenial; }
|
|
19694
19694
|
});
|
|
19695
19695
|
Object.defineProperty(exports, "useProjectInvoices", {
|
|
19696
19696
|
enumerable: true,
|
|
19697
|
-
get: function () { return
|
|
19697
|
+
get: function () { return chunk2MGJXBBJ_cjs.useProjectInvoices; }
|
|
19698
19698
|
});
|
|
19699
19699
|
Object.defineProperty(exports, "useProjectUsage", {
|
|
19700
19700
|
enumerable: true,
|
|
19701
|
-
get: function () { return
|
|
19701
|
+
get: function () { return chunk2MGJXBBJ_cjs.useProjectUsage; }
|
|
19702
19702
|
});
|
|
19703
19703
|
Object.defineProperty(exports, "useProjects", {
|
|
19704
19704
|
enumerable: true,
|
|
19705
|
-
get: function () { return
|
|
19705
|
+
get: function () { return chunk2MGJXBBJ_cjs.useProjects; }
|
|
19706
19706
|
});
|
|
19707
19707
|
Object.defineProperty(exports, "useSessionPageTab", {
|
|
19708
19708
|
enumerable: true,
|
|
19709
|
-
get: function () { return
|
|
19709
|
+
get: function () { return chunk2MGJXBBJ_cjs.useSessionPageTab; }
|
|
19710
19710
|
});
|
|
19711
19711
|
Object.defineProperty(exports, "useSessionView", {
|
|
19712
19712
|
enumerable: true,
|
|
19713
|
-
get: function () { return
|
|
19713
|
+
get: function () { return chunk2MGJXBBJ_cjs.useSessionView; }
|
|
19714
19714
|
});
|
|
19715
19715
|
Object.defineProperty(exports, "useSignedInSession", {
|
|
19716
19716
|
enumerable: true,
|
|
19717
|
-
get: function () { return
|
|
19717
|
+
get: function () { return chunk2MGJXBBJ_cjs.useSignedInSession; }
|
|
19718
19718
|
});
|
|
19719
19719
|
Object.defineProperty(exports, "useTags", {
|
|
19720
19720
|
enumerable: true,
|
|
19721
|
-
get: function () { return
|
|
19721
|
+
get: function () { return chunk2MGJXBBJ_cjs.useTags; }
|
|
19722
19722
|
});
|
|
19723
19723
|
Object.defineProperty(exports, "useThumbnails", {
|
|
19724
19724
|
enumerable: true,
|
|
19725
|
-
get: function () { return
|
|
19725
|
+
get: function () { return chunk2MGJXBBJ_cjs.useThumbnails; }
|
|
19726
19726
|
});
|
|
19727
19727
|
Object.defineProperty(exports, "useTransientView", {
|
|
19728
19728
|
enumerable: true,
|
|
19729
|
-
get: function () { return
|
|
19729
|
+
get: function () { return chunk2MGJXBBJ_cjs.useTransientView; }
|
|
19730
19730
|
});
|
|
19731
19731
|
Object.defineProperty(exports, "useUserUsageToday", {
|
|
19732
19732
|
enumerable: true,
|
|
19733
|
-
get: function () { return
|
|
19733
|
+
get: function () { return chunk2MGJXBBJ_cjs.useUserUsageToday; }
|
|
19734
19734
|
});
|
|
19735
19735
|
Object.defineProperty(exports, "useWorkspaceActivity", {
|
|
19736
19736
|
enumerable: true,
|
|
19737
|
-
get: function () { return
|
|
19737
|
+
get: function () { return chunk2MGJXBBJ_cjs.useWorkspaceActivity; }
|
|
19738
19738
|
});
|
|
19739
19739
|
Object.defineProperty(exports, "useWorkspaces", {
|
|
19740
19740
|
enumerable: true,
|
|
19741
|
-
get: function () { return
|
|
19741
|
+
get: function () { return chunk2MGJXBBJ_cjs.useWorkspaces; }
|
|
19742
19742
|
});
|
|
19743
19743
|
Object.defineProperty(exports, "arbiMutationKeys", {
|
|
19744
19744
|
enumerable: true,
|