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