@arbidocs/react 0.5.158 → 0.5.160

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/index.cjs CHANGED
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkTMPDW7J5_cjs = require('./chunk-TMPDW7J5.cjs');
4
- var chunkQWKTQYGM_cjs = require('./chunk-QWKTQYGM.cjs');
4
+ var chunkGVU3KYP3_cjs = require('./chunk-GVU3KYP3.cjs');
5
5
  var chunkV5WCKJEH_cjs = require('./chunk-V5WCKJEH.cjs');
6
6
  var chunk2MGJXBBJ_cjs = require('./chunk-2MGJXBBJ.cjs');
7
7
  var chunk6TJL4Z2F_cjs = require('./chunk-6TJL4Z2F.cjs');
8
8
  var chunkZZBCZRA5_cjs = require('./chunk-ZZBCZRA5.cjs');
9
- var chunk6RRKO4ZK_cjs = require('./chunk-6RRKO4ZK.cjs');
10
- var chunkIX4HOS5Z_cjs = require('./chunk-IX4HOS5Z.cjs');
9
+ var chunk6HJZCIND_cjs = require('./chunk-6HJZCIND.cjs');
10
+ var chunk5ECKSF6H_cjs = require('./chunk-5ECKSF6H.cjs');
11
11
  var chunkN73IMVFF_cjs = require('./chunk-N73IMVFF.cjs');
12
12
  var chunkKULS4YWP_cjs = require('./chunk-KULS4YWP.cjs');
13
13
  require('./chunk-VOFNX4P6.cjs');
@@ -41,7 +41,7 @@ var ReactMarkdown__default = /*#__PURE__*/_interopDefault(ReactMarkdown);
41
41
  var Cropper__default = /*#__PURE__*/_interopDefault(Cropper);
42
42
 
43
43
  // src/host/index.ts
44
- var ArbiHost2 = chunk6RRKO4ZK_cjs.ArbiHost;
44
+ var ArbiHost2 = chunk6HJZCIND_cjs.ArbiHost;
45
45
  function useCurrentWorkspace() {
46
46
  const workspaceId = chunk2MGJXBBJ_cjs.useArbiSessionState((s) => s.workspaceId);
47
47
  const workspaceStatus = chunk2MGJXBBJ_cjs.useArbiSessionState((s) => s.workspaceStatus);
@@ -174,7 +174,7 @@ function useStartTaskQuery() {
174
174
  }
175
175
  }
176
176
  if (!conversationId) return null;
177
- await chunkQWKTQYGM_cjs.invalidateConversationLists(queryClient);
177
+ await chunkGVU3KYP3_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
- chunkQWKTQYGM_cjs.patchConversation(qc, conversationId, updated);
207
- return chunkQWKTQYGM_cjs.invalidateConversationDetails(qc, conversationId);
206
+ chunkGVU3KYP3_cjs.patchConversation(qc, conversationId, updated);
207
+ return chunkGVU3KYP3_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) => chunkQWKTQYGM_cjs.removeConversationFromLists(qc, conversationId)
216
+ onSuccess: (_res, conversationId) => chunkGVU3KYP3_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
- chunkQWKTQYGM_cjs.addConversationToList(qc, workspaceId ?? null, created);
239
+ chunkGVU3KYP3_cjs.addConversationToList(qc, workspaceId ?? null, created);
240
240
  return created;
241
241
  }
242
242
  });
@@ -258,7 +258,7 @@ function useStartWorkflow() {
258
258
  inputs,
259
259
  title
260
260
  });
261
- chunkQWKTQYGM_cjs.addConversationToList(qc, target ?? null, created);
261
+ chunkGVU3KYP3_cjs.addConversationToList(qc, target ?? null, created);
262
262
  return created;
263
263
  }
264
264
  });
@@ -278,7 +278,7 @@ function useRunConversation() {
278
278
  mutationFn: (conversationId) => arbi.conversations.runWithAuth(conversationId),
279
279
  // The server's version replaces the listed one; everything under the conversation is re-read.
280
280
  onSuccess: (updated) => {
281
- if (updated?.external_id) chunkQWKTQYGM_cjs.patchConversation(qc, updated.external_id, updated);
281
+ if (updated?.external_id) chunkGVU3KYP3_cjs.patchConversation(qc, updated.external_id, updated);
282
282
  return qc.invalidateQueries({ queryKey: chunkZZBCZRA5_cjs.arbiQueryKeys.allConversations() });
283
283
  }
284
284
  });
@@ -294,7 +294,7 @@ function useActOnStep() {
294
294
  // The server's version of the conversation replaces the listed one; its history is re-read.
295
295
  onSuccess: (updated) => {
296
296
  if (!updated?.external_id) return;
297
- chunkQWKTQYGM_cjs.patchConversation(qc, updated.external_id, updated);
297
+ chunkGVU3KYP3_cjs.patchConversation(qc, updated.external_id, updated);
298
298
  invalidateConversationActivity(qc, updated.external_id);
299
299
  }
300
300
  });
@@ -1308,9 +1308,9 @@ function assistantLabels(assistantName = ASSISTANT_MENTION_LABEL) {
1308
1308
  return assistantName.toLowerCase() === ASSISTANT_MENTION_LABEL.toLowerCase() ? [assistantName] : [assistantName, ASSISTANT_MENTION_LABEL];
1309
1309
  }
1310
1310
  function useLinkMentions() {
1311
- const assistantName = chunk6RRKO4ZK_cjs.useAssistantName();
1311
+ const assistantName = chunk6HJZCIND_cjs.useAssistantName();
1312
1312
  return React.useCallback(
1313
- (content, mentions) => chunk6RRKO4ZK_cjs.linkMentions(content, mentions, [assistantName]),
1313
+ (content, mentions) => chunk6HJZCIND_cjs.linkMentions(content, mentions, [assistantName]),
1314
1314
  [assistantName]
1315
1315
  );
1316
1316
  }
@@ -1332,12 +1332,12 @@ function cachedAssistantMode(queryClient, conversationId, newMode) {
1332
1332
  if (!conversationId) return newMode;
1333
1333
  const threads = queryClient.getQueriesData(allConversationThreads).map(([, data]) => data).find((data) => data?.conversation_ext_id === conversationId);
1334
1334
  if (threads?.assistant_mode) return threads.assistant_mode;
1335
- return chunkQWKTQYGM_cjs.findConversation(queryClient, conversationId)?.assistant_mode ?? "always";
1335
+ return chunkGVU3KYP3_cjs.findConversation(queryClient, conversationId)?.assistant_mode ?? "always";
1336
1336
  }
1337
1337
  function isCommentToPeople(queryClient, conversationId, content, candidates) {
1338
- const mentioned = chunk6RRKO4ZK_cjs.extractMentions(content, candidates);
1338
+ const mentioned = chunk6HJZCIND_cjs.extractMentions(content, candidates);
1339
1339
  if (mentioned.some((c) => c.kind === "assistant")) return false;
1340
- if (chunkQWKTQYGM_cjs.isConversationShared(queryClient, conversationId)) return true;
1340
+ if (chunkGVU3KYP3_cjs.isConversationShared(queryClient, conversationId)) return true;
1341
1341
  if (mentioned.some((c) => c.kind === "user")) return true;
1342
1342
  return !!conversationId && cachedAssistantMode(queryClient, conversationId, "always") === "mentioned";
1343
1343
  }
@@ -1378,7 +1378,7 @@ function useSaveConfig() {
1378
1378
  void queryClient.invalidateQueries({ queryKey: chunkZZBCZRA5_cjs.arbiQueryKeys.userSettings() });
1379
1379
  },
1380
1380
  onError: (error) => {
1381
- chunkIX4HOS5Z_cjs.notify.error(formatConfigValidationError(error), {
1381
+ chunk5ECKSF6H_cjs.notify.error(formatConfigValidationError(error), {
1382
1382
  description: "Configuration not saved \u2014 fix the highlighted values and try again."
1383
1383
  });
1384
1384
  }
@@ -1431,7 +1431,7 @@ function useSaveConfigField(baseConfigId) {
1431
1431
  const saveConfig = useSaveConfig();
1432
1432
  const { data: defaultConfig } = chunk2MGJXBBJ_cjs.useConfig("default");
1433
1433
  const chatModel = chunk2MGJXBBJ_cjs.useArbiSessionState((state) => state.chatModel);
1434
- const { data: userSettings } = chunkQWKTQYGM_cjs.useUserSettings();
1434
+ const { data: userSettings } = chunkGVU3KYP3_cjs.useUserSettings();
1435
1435
  const activeConfigId = baseConfigId || chatModel || userSettings?.last_config || "default";
1436
1436
  const { data: activeConfigData } = chunk2MGJXBBJ_cjs.useConfig(activeConfigId);
1437
1437
  const session = chunk2MGJXBBJ_cjs.useArbiSessionStore();
@@ -1455,7 +1455,7 @@ function useSaveConfigField(baseConfigId) {
1455
1455
  readConfig("default"),
1456
1456
  readConfig(configId)
1457
1457
  ]).catch((error) => {
1458
- chunkIX4HOS5Z_cjs.notify.error(formatConfigValidationError(error), {
1458
+ chunk5ECKSF6H_cjs.notify.error(formatConfigValidationError(error), {
1459
1459
  description: "Configuration not saved \u2014 the settings it builds on could not be read."
1460
1460
  });
1461
1461
  throw error;
@@ -1554,11 +1554,11 @@ async function agentChatOwnerOf(queryClient, listAgents, conversationId) {
1554
1554
 
1555
1555
  // src/chat/thread-binding.ts
1556
1556
  function threadBinding(queryClient, conversationId) {
1557
- if (!conversationId) return chunk6RRKO4ZK_cjs.UNBOUND;
1558
- const row = chunkQWKTQYGM_cjs.findConversation(queryClient, conversationId);
1559
- if (row) return chunk6RRKO4ZK_cjs.bindingOfRow(row);
1557
+ if (!conversationId) return chunk6HJZCIND_cjs.UNBOUND;
1558
+ const row = chunkGVU3KYP3_cjs.findConversation(queryClient, conversationId);
1559
+ if (row) return chunk6HJZCIND_cjs.bindingOfRow(row);
1560
1560
  const threads = queryClient.getQueryData(getThreadsQueryKey(conversationId));
1561
- return chunk6RRKO4ZK_cjs.bindingOfRow(threads ? { external_id: conversationId, ...threads } : null);
1561
+ return chunk6HJZCIND_cjs.bindingOfRow(threads ? { external_id: conversationId, ...threads } : null);
1562
1562
  }
1563
1563
  function boundDocumentOf(queryClient, state) {
1564
1564
  return state.conversationId ? threadBinding(queryClient, state.conversationId).documentId : state.newChatDocumentId;
@@ -1568,7 +1568,7 @@ function cacheThreadBinding(queryClient, conversationId, binding) {
1568
1568
  bound_document_ext_id: binding.documentId,
1569
1569
  bound_document_unavailable: binding.unavailable
1570
1570
  };
1571
- chunkQWKTQYGM_cjs.patchConversation(queryClient, conversationId, fields);
1571
+ chunkGVU3KYP3_cjs.patchConversation(queryClient, conversationId, fields);
1572
1572
  queryClient.setQueryData(
1573
1573
  getThreadsQueryKey(conversationId),
1574
1574
  (old) => old ? { ...old, ...fields } : old
@@ -1604,8 +1604,8 @@ async function performBindingWrite(arbi, queryClient, conversationId, documentId
1604
1604
  const saved = await arbi.conversations.update(conversationId, {
1605
1605
  bound_document_ext_id: documentId
1606
1606
  });
1607
- chunkQWKTQYGM_cjs.patchConversation(queryClient, conversationId, saved);
1608
- cacheThreadBinding(queryClient, conversationId, chunk6RRKO4ZK_cjs.bindingOfRow(saved));
1607
+ chunkGVU3KYP3_cjs.patchConversation(queryClient, conversationId, saved);
1608
+ cacheThreadBinding(queryClient, conversationId, chunk6HJZCIND_cjs.bindingOfRow(saved));
1609
1609
  } catch (error) {
1610
1610
  cacheThreadBinding(queryClient, conversationId, before);
1611
1611
  throw error;
@@ -1617,14 +1617,14 @@ function adoptNewChatDocument(session, queryClient, conversationId, documentId =
1617
1617
  if (session.getState().newChatDocumentId === documentId) session.setNewChatDocumentId(null);
1618
1618
  }
1619
1619
  async function migrateLegacyThreadDocuments(arbi, queryClient, conversations) {
1620
- const legacy = chunk6RRKO4ZK_cjs.readLegacyThreadDocuments();
1620
+ const legacy = chunk6HJZCIND_cjs.readLegacyThreadDocuments();
1621
1621
  const listed = conversations.filter(
1622
1622
  (c) => c.external_id in legacy && "bound_document_unavailable" in c
1623
1623
  );
1624
1624
  if (listed.length === 0) return;
1625
1625
  await Promise.all(
1626
1626
  listed.map(async (row) => {
1627
- const server = chunk6RRKO4ZK_cjs.bindingOfRow(row);
1627
+ const server = chunk6HJZCIND_cjs.bindingOfRow(row);
1628
1628
  if (server.documentId || server.unavailable) return;
1629
1629
  try {
1630
1630
  await bindThreadDocument(arbi, queryClient, row.external_id, legacy[row.external_id]);
@@ -1632,7 +1632,7 @@ async function migrateLegacyThreadDocuments(arbi, queryClient, conversations) {
1632
1632
  }
1633
1633
  })
1634
1634
  );
1635
- chunk6RRKO4ZK_cjs.forgetLegacyThreadDocuments(listed.map((c) => c.external_id));
1635
+ chunk6HJZCIND_cjs.forgetLegacyThreadDocuments(listed.map((c) => c.external_id));
1636
1636
  }
1637
1637
  function resolveReplyTarget(queryClient, conversationId, parentId) {
1638
1638
  if (!parentId) return null;
@@ -2394,7 +2394,7 @@ function useDownloadDocuments({ workspaceName } = {}) {
2394
2394
  async (documents3, selectedColumns) => {
2395
2395
  const includeMetadataCsv = selectedColumns === void 0 || selectedColumns.length > 0;
2396
2396
  if (documents3.length === 0) {
2397
- chunkIX4HOS5Z_cjs.notify.error("No documents to download");
2397
+ chunk5ECKSF6H_cjs.notify.error("No documents to download");
2398
2398
  return;
2399
2399
  }
2400
2400
  setIsDownloading(true);
@@ -2415,7 +2415,7 @@ function useDownloadDocuments({ workspaceName } = {}) {
2415
2415
  }
2416
2416
  const successCount = downloaded.length;
2417
2417
  if (successCount === 0) {
2418
- chunkIX4HOS5Z_cjs.notify.error("Failed to download documents");
2418
+ chunk5ECKSF6H_cjs.notify.error("Failed to download documents");
2419
2419
  return;
2420
2420
  }
2421
2421
  if (includeMetadataCsv) {
@@ -2429,11 +2429,11 @@ function useDownloadDocuments({ workspaceName } = {}) {
2429
2429
  chunk6TJL4Z2F_cjs.downloadBlob(await zip.generateAsync({ type: "blob" }), zipFileName);
2430
2430
  const documentsLabel = `${successCount} document${successCount !== 1 ? "s" : ""}`;
2431
2431
  const contents = includeMetadataCsv ? `${documentsLabel} and index.csv in ${zipFileName}` : `${documentsLabel} in ${zipFileName}`;
2432
- if (failedDocs.length === 0) chunkIX4HOS5Z_cjs.notify.success(`Successfully downloaded ${contents}`);
2433
- else chunkIX4HOS5Z_cjs.notify.warning(`Downloaded ${contents}, ${failedDocs.length} failed`);
2432
+ if (failedDocs.length === 0) chunk5ECKSF6H_cjs.notify.success(`Successfully downloaded ${contents}`);
2433
+ else chunk5ECKSF6H_cjs.notify.warning(`Downloaded ${contents}, ${failedDocs.length} failed`);
2434
2434
  } catch (error) {
2435
2435
  console.error("Failed to create zip file:", error);
2436
- chunkIX4HOS5Z_cjs.notify.error("Failed to download documents. Please try again.");
2436
+ chunk5ECKSF6H_cjs.notify.error("Failed to download documents. Please try again.");
2437
2437
  } finally {
2438
2438
  setIsDownloading(false);
2439
2439
  }
@@ -2446,10 +2446,10 @@ function useDownloadDocuments({ workspaceName } = {}) {
2446
2446
  try {
2447
2447
  const file = await fetchNamedFile(doc);
2448
2448
  chunk6TJL4Z2F_cjs.downloadBlob(file.blob, file.name);
2449
- chunkIX4HOS5Z_cjs.notify.success(`Successfully downloaded ${file.name}`);
2449
+ chunk5ECKSF6H_cjs.notify.success(`Successfully downloaded ${file.name}`);
2450
2450
  } catch (error) {
2451
2451
  console.error("Failed to download document", error);
2452
- chunkIX4HOS5Z_cjs.notify.error("Failed to download document. Please try again.");
2452
+ chunk5ECKSF6H_cjs.notify.error("Failed to download document. Please try again.");
2453
2453
  } finally {
2454
2454
  setIsDownloading(false);
2455
2455
  }
@@ -3499,7 +3499,7 @@ function useUploadFiles() {
3499
3499
  const arbi = chunkZZBCZRA5_cjs.useArbi();
3500
3500
  const qc = reactQuery.useQueryClient();
3501
3501
  const { resolveWorkspaceKey } = useDocumentsSupport();
3502
- const { data: settings } = chunkQWKTQYGM_cjs.useUserSettings();
3502
+ const { data: settings } = chunkGVU3KYP3_cjs.useUserSettings();
3503
3503
  const { mutateAsync: generateDocTags } = useGenerateDocTags();
3504
3504
  const direct = settings?.use_s3_direct_upload === true;
3505
3505
  return React.useCallback(
@@ -4160,8 +4160,8 @@ function useKeepDocumentsOffline() {
4160
4160
  return docs.length;
4161
4161
  },
4162
4162
  onSettled: () => queryClient.invalidateQueries({ queryKey: chunkZZBCZRA5_cjs.arbiQueryKeys.offlineDocuments() }),
4163
- onSuccess: (count) => chunkIX4HOS5Z_cjs.notify.success(`${count} document${count === 1 ? "" : "s"} available offline`),
4164
- onError: () => chunkIX4HOS5Z_cjs.notify.error("Could not save documents for offline use")
4163
+ onSuccess: (count) => chunk5ECKSF6H_cjs.notify.success(`${count} document${count === 1 ? "" : "s"} available offline`),
4164
+ onError: () => chunk5ECKSF6H_cjs.notify.error("Could not save documents for offline use")
4165
4165
  });
4166
4166
  }
4167
4167
  function useRemoveDocumentsOffline() {
@@ -4172,8 +4172,8 @@ function useRemoveDocumentsOffline() {
4172
4172
  return docIds.length;
4173
4173
  },
4174
4174
  onSettled: () => queryClient.invalidateQueries({ queryKey: chunkZZBCZRA5_cjs.arbiQueryKeys.offlineDocuments() }),
4175
- onSuccess: (count) => chunkIX4HOS5Z_cjs.notify.success(`Removed ${count} offline ${count === 1 ? "copy" : "copies"}`),
4176
- onError: () => chunkIX4HOS5Z_cjs.notify.error("Could not remove offline copy")
4175
+ onSuccess: (count) => chunk5ECKSF6H_cjs.notify.success(`Removed ${count} offline ${count === 1 ? "copy" : "copies"}`),
4176
+ onError: () => chunk5ECKSF6H_cjs.notify.error("Could not remove offline copy")
4177
4177
  });
4178
4178
  }
4179
4179
 
@@ -4210,7 +4210,7 @@ function createStreamHandlers(ctx, params) {
4210
4210
  session.moveConversation("new", serverConversationId);
4211
4211
  const userExtId = ctx.userId();
4212
4212
  const nowIso = (/* @__PURE__ */ new Date()).toISOString();
4213
- chunkQWKTQYGM_cjs.patchConversationList(
4213
+ chunkGVU3KYP3_cjs.patchConversationList(
4214
4214
  queryClient,
4215
4215
  streamState.workspaceId ?? session.getState().workspaceId,
4216
4216
  (old) => old.some((c) => c.external_id === serverConversationId) ? old : [
@@ -4332,7 +4332,7 @@ function createStreamHandlers(ctx, params) {
4332
4332
  ensureAssistantMessageLoading(queryClient, conversationId, answerId);
4333
4333
  });
4334
4334
  }
4335
- void chunkQWKTQYGM_cjs.invalidateConversationLists(queryClient);
4335
+ void chunkGVU3KYP3_cjs.invalidateConversationLists(queryClient);
4336
4336
  session.setCursor(streamState.assistantId);
4337
4337
  };
4338
4338
  let firstTokenSeen = false;
@@ -4451,7 +4451,7 @@ function createStreamHandlers(ctx, params) {
4451
4451
  title: artifact.title,
4452
4452
  is_complete: artifact.is_complete
4453
4453
  });
4454
- chunkIX4HOS5Z_cjs.recordChatArtifact(artifact, streamState.conversationId);
4454
+ chunk5ECKSF6H_cjs.recordChatArtifact(artifact, streamState.conversationId);
4455
4455
  host.onArtifact?.(artifact, streamState.conversationId);
4456
4456
  if (artifact.is_complete) {
4457
4457
  const documents3 = session.getState().conversationDocuments[streamState.conversationId] ?? [];
@@ -4562,7 +4562,7 @@ var AGENT_CONTROL_COMMANDS = {
4562
4562
  };
4563
4563
  function refuseChatWhenOffline() {
4564
4564
  if (reactQuery.onlineManager.isOnline()) return false;
4565
- chunkIX4HOS5Z_cjs.notify.warning("You're offline \u2014 your message is still in the box. Reconnect to send it.");
4565
+ chunk5ECKSF6H_cjs.notify.warning("You're offline \u2014 your message is still in the box. Reconnect to send it.");
4566
4566
  return true;
4567
4567
  }
4568
4568
  function findStream(session, controller) {
@@ -4625,7 +4625,7 @@ function cachedQuotaUsedUp(queryClient, workspaceId) {
4625
4625
  // src/chat/useConversationActions.ts
4626
4626
  var RECONCILE_TIMEOUT_MS = 5e3;
4627
4627
  function draftAfterSend(queryClient, session, wasComment, assistantName) {
4628
- const shared = chunkQWKTQYGM_cjs.isConversationShared(queryClient, session.getState().conversationId);
4628
+ const shared = chunkGVU3KYP3_cjs.isConversationShared(queryClient, session.getState().conversationId);
4629
4629
  return shared && !wasComment ? `@${assistantName} ` : "";
4630
4630
  }
4631
4631
  function failQueuedContinuation(queryClient, session, streamState) {
@@ -4641,7 +4641,7 @@ function failQueuedContinuation(queryClient, session, streamState) {
4641
4641
  if (streamState.queuedClientId) {
4642
4642
  session.removeQueuedMessage(streamState.queuedClientId);
4643
4643
  }
4644
- chunkIX4HOS5Z_cjs.notify.error("Queued message failed to send");
4644
+ chunk5ECKSF6H_cjs.notify.error("Queued message failed to send");
4645
4645
  }
4646
4646
  function signedInUserId(arbi) {
4647
4647
  try {
@@ -4668,7 +4668,7 @@ function useConversationActions({
4668
4668
  React.useState(() => watchConversationWorkspaces(queryClient, session));
4669
4669
  const createHandlers = useStreamHandlers();
4670
4670
  const chatHost = chunkZZBCZRA5_cjs.useArbiHost().chat;
4671
- const assistantName = chunk6RRKO4ZK_cjs.useAssistantName();
4671
+ const assistantName = chunk6HJZCIND_cjs.useAssistantName();
4672
4672
  const mentionCandidates = React.useCallback(
4673
4673
  () => cachedMentionCandidates(
4674
4674
  queryClient,
@@ -4689,10 +4689,10 @@ function useConversationActions({
4689
4689
  const convId = conversationId === void 0 ? state.conversationId : conversationId;
4690
4690
  const { newConversationAssistantMode } = state;
4691
4691
  const candidates = mentionCandidates();
4692
- const mentioned = chunk6RRKO4ZK_cjs.extractMentions(content, candidates);
4692
+ const mentioned = chunk6HJZCIND_cjs.extractMentions(content, candidates);
4693
4693
  const assistantMode = cachedAssistantMode(queryClient, convId, newConversationAssistantMode);
4694
4694
  const isComment = isCommentToPeople(queryClient, convId, content, candidates);
4695
- const mentions = chunk6RRKO4ZK_cjs.toMessageMentions(mentioned);
4695
+ const mentions = chunk6HJZCIND_cjs.toMessageMentions(mentioned);
4696
4696
  if (!isComment && assistantMode === "mentioned" && !mentions.some((m) => m.type === "assistant")) {
4697
4697
  mentions.push({ type: "assistant" });
4698
4698
  }
@@ -4723,7 +4723,7 @@ function useConversationActions({
4723
4723
  const bindTo = session.getState().newChatDocumentId;
4724
4724
  session.moveConversation("new", conversationId);
4725
4725
  if (bindTo) session.setNewChatDocumentId(null);
4726
- chunkQWKTQYGM_cjs.patchConversationList(queryClient, session.getState().workspaceId, (old) => [
4726
+ chunkGVU3KYP3_cjs.patchConversationList(queryClient, session.getState().workspaceId, (old) => [
4727
4727
  {
4728
4728
  external_id: conversationId,
4729
4729
  title: content.slice(0, 40),
@@ -4741,23 +4741,23 @@ function useConversationActions({
4741
4741
  ]);
4742
4742
  if (bindTo)
4743
4743
  bindThreadDocument(arbi, queryClient, conversationId, bindTo).catch(
4744
- () => chunkIX4HOS5Z_cjs.notify.error("Could not attach the document to this thread")
4744
+ () => chunk5ECKSF6H_cjs.notify.error("Could not attach the document to this thread")
4745
4745
  );
4746
4746
  invalidateUserWorkspaces();
4747
4747
  } else {
4748
- chunkQWKTQYGM_cjs.patchConversation(queryClient, conversationId, (c) => ({
4748
+ chunkGVU3KYP3_cjs.patchConversation(queryClient, conversationId, (c) => ({
4749
4749
  ...c,
4750
4750
  message_count: c.message_count + 1,
4751
4751
  updated_at: nowIso
4752
4752
  }));
4753
4753
  }
4754
4754
  if (mentions.some((m) => m.type === "user")) {
4755
- await chunkQWKTQYGM_cjs.invalidateConversationLists(queryClient);
4755
+ await chunkGVU3KYP3_cjs.invalidateConversationLists(queryClient);
4756
4756
  }
4757
4757
  await queryClient.invalidateQueries({ queryKey: getThreadsQueryKey(conversationId) });
4758
4758
  session.setCursor(saved.external_id);
4759
4759
  } catch (error) {
4760
- chunkIX4HOS5Z_cjs.notify.error(
4760
+ chunk5ECKSF6H_cjs.notify.error(
4761
4761
  error instanceof browser.ArbiApiError && error.detail || "Failed to post the message"
4762
4762
  );
4763
4763
  if (!chunk2MGJXBBJ_cjs.selectDraft(session.getState())) session.setDraft(content);
@@ -4800,7 +4800,7 @@ function useConversationActions({
4800
4800
  const resolvedConfigId = newConfigId || (agentExtId ? void 0 : lastConfigId);
4801
4801
  const isPaMode = !agentExtId && state.paMode;
4802
4802
  const threadDocumentId = boundDocumentOf(queryClient, { ...state, conversationId: convId });
4803
- const activeArtifactExtId = isPaMode ? null : chunk6RRKO4ZK_cjs.takeDocumentForTurn({
4803
+ const activeArtifactExtId = isPaMode ? null : chunk6HJZCIND_cjs.takeDocumentForTurn({
4804
4804
  boundDocumentId: threadDocumentId,
4805
4805
  conversationId: convId,
4806
4806
  workspaceId: turnWorkspaceId
@@ -4836,7 +4836,7 @@ function useConversationActions({
4836
4836
  session.setConversationGenerating(convKey, true, abortController);
4837
4837
  }
4838
4838
  if (!queuedContinuation) {
4839
- chunkQWKTQYGM_cjs.patchConversation(queryClient, convKey, { last_message_status: "in_progress" });
4839
+ chunkGVU3KYP3_cjs.patchConversation(queryClient, convKey, { last_message_status: "in_progress" });
4840
4840
  }
4841
4841
  const streamState = {
4842
4842
  conversationId: convKey,
@@ -4947,7 +4947,7 @@ function useConversationActions({
4947
4947
  void queryClient.invalidateQueries({
4948
4948
  queryKey: getThreadsQueryKey(streamState.conversationId)
4949
4949
  });
4950
- void chunkQWKTQYGM_cjs.invalidateConversationLists(queryClient);
4950
+ void chunkGVU3KYP3_cjs.invalidateConversationLists(queryClient);
4951
4951
  }
4952
4952
  return;
4953
4953
  }
@@ -4975,7 +4975,7 @@ function useConversationActions({
4975
4975
  }
4976
4976
  if (ownsGeneration) {
4977
4977
  const lastStatus = streamState.serverError ? "failed" : "completed";
4978
- chunkQWKTQYGM_cjs.patchConversation(queryClient, streamState.conversationId, {
4978
+ chunkGVU3KYP3_cjs.patchConversation(queryClient, streamState.conversationId, {
4979
4979
  last_message_status: lastStatus
4980
4980
  });
4981
4981
  }
@@ -5008,7 +5008,7 @@ function useConversationActions({
5008
5008
  });
5009
5009
  if (ownsActiveGeneration()) {
5010
5010
  session.setConversationGenerating(streamState.conversationId, false, null);
5011
- chunkQWKTQYGM_cjs.patchConversation(queryClient, streamState.conversationId, {
5011
+ chunkGVU3KYP3_cjs.patchConversation(queryClient, streamState.conversationId, {
5012
5012
  last_message_status: "completed"
5013
5013
  });
5014
5014
  }
@@ -5031,10 +5031,10 @@ function useConversationActions({
5031
5031
  if (ownsActiveGeneration()) {
5032
5032
  session.setConversationGenerating(streamState.conversationId, false, null);
5033
5033
  }
5034
- void chunkQWKTQYGM_cjs.invalidateConversationLists(queryClient);
5034
+ void chunkGVU3KYP3_cjs.invalidateConversationLists(queryClient);
5035
5035
  return;
5036
5036
  }
5037
- chunkQWKTQYGM_cjs.patchConversation(queryClient, streamState.conversationId, {
5037
+ chunkGVU3KYP3_cjs.patchConversation(queryClient, streamState.conversationId, {
5038
5038
  last_message_status: "failed"
5039
5039
  });
5040
5040
  const quota = browser.quotaFromStreamError(error) ?? cachedQuotaUsedUp(queryClient, session.getState().workspaceId);
@@ -5070,7 +5070,7 @@ function useConversationActions({
5070
5070
  const handleSendMessage = React.useCallback(
5071
5071
  async (options) => {
5072
5072
  const currentMessage = chunk2MGJXBBJ_cjs.selectDraft(session.getState()).trim();
5073
- if (!selectedWorkspaceId || !chunk6RRKO4ZK_cjs.hasMessageBody(currentMessage, assistantLabels(assistantName)))
5073
+ if (!selectedWorkspaceId || !chunk6HJZCIND_cjs.hasMessageBody(currentMessage, assistantLabels(assistantName)))
5074
5074
  return;
5075
5075
  session.setSuggestedQuery(null);
5076
5076
  if (refuseChatWhenOffline()) return;
@@ -5161,7 +5161,7 @@ function useConversationActions({
5161
5161
  try {
5162
5162
  await arbi.assistant.cancel(runId);
5163
5163
  } catch {
5164
- chunkIX4HOS5Z_cjs.notify.warning(
5164
+ chunk5ECKSF6H_cjs.notify.warning(
5165
5165
  "Stopped here, but the server didn't confirm: the answer may still appear later."
5166
5166
  );
5167
5167
  }
@@ -5184,7 +5184,7 @@ function useConversationActions({
5184
5184
  if (!replyTo && currentConversationId) {
5185
5185
  try {
5186
5186
  await arbi.conversations.delete(currentConversationId);
5187
- chunkQWKTQYGM_cjs.removeConversationFromLists(queryClient, currentConversationId);
5187
+ chunkGVU3KYP3_cjs.removeConversationFromLists(queryClient, currentConversationId);
5188
5188
  session.startNewConversation();
5189
5189
  } catch (error) {
5190
5190
  console.error("Failed to delete conversation with orphaned first message:", error);
@@ -5834,7 +5834,7 @@ function useConversation(options = {}) {
5834
5834
  [agentId, stagedFiles, deselected]
5835
5835
  );
5836
5836
  const { handleSendMessage, handleCreateBranch } = actions;
5837
- const assistantName = chunk6RRKO4ZK_cjs.useAssistantName();
5837
+ const assistantName = chunk6HJZCIND_cjs.useAssistantName();
5838
5838
  const send2 = React.useCallback(
5839
5839
  async (text2) => {
5840
5840
  const trimmed = text2.trim();
@@ -5965,7 +5965,7 @@ function useConversation(options = {}) {
5965
5965
  void (async () => {
5966
5966
  try {
5967
5967
  await arbi.conversations.delete(id);
5968
- chunkQWKTQYGM_cjs.removeConversationFromLists(queryClient, id);
5968
+ chunkGVU3KYP3_cjs.removeConversationFromLists(queryClient, id);
5969
5969
  if (session.getState().conversationId === id) session.startNewConversation();
5970
5970
  } catch (e) {
5971
5971
  setHistoryError(messageOf(e, "The conversation could not be deleted."));
@@ -6085,11 +6085,11 @@ async function applyConversationEvent(queryClient, event) {
6085
6085
  if (e.type === "response_complete") return applyRunEnded(queryClient, e);
6086
6086
  if (e.type === "conversation.message_posted") return applyMessagePosted(queryClient, e);
6087
6087
  if (e.type === "conversation.title_updated" && e.conversation_ext_id) {
6088
- chunkQWKTQYGM_cjs.patchConversation(queryClient, e.conversation_ext_id, { title: e.title ?? null });
6088
+ chunkGVU3KYP3_cjs.patchConversation(queryClient, e.conversation_ext_id, { title: e.title ?? null });
6089
6089
  }
6090
6090
  if (e.type === "conversation.document_binding_changed" && e.conversation_ext_id) {
6091
6091
  void queryClient.invalidateQueries({ queryKey: getThreadsQueryKey(e.conversation_ext_id) });
6092
- void chunkQWKTQYGM_cjs.invalidateConversationLists(queryClient);
6092
+ void chunkGVU3KYP3_cjs.invalidateConversationLists(queryClient);
6093
6093
  }
6094
6094
  }
6095
6095
  function applyRunEnded(queryClient, e) {
@@ -6106,10 +6106,10 @@ function applyRunEnded(queryClient, e) {
6106
6106
  );
6107
6107
  }
6108
6108
  if (failed && e.response_id) markMessageAsFailed(queryClient, conversationId, e.response_id);
6109
- chunkQWKTQYGM_cjs.patchConversation(queryClient, conversationId, {
6109
+ chunkGVU3KYP3_cjs.patchConversation(queryClient, conversationId, {
6110
6110
  last_message_status: failed ? "failed" : "completed"
6111
6111
  });
6112
- void chunkQWKTQYGM_cjs.invalidateConversationLists(queryClient);
6112
+ void chunkGVU3KYP3_cjs.invalidateConversationLists(queryClient);
6113
6113
  void queryClient.invalidateQueries({ queryKey: getThreadsQueryKey(conversationId) });
6114
6114
  if (!failed) void queryClient.invalidateQueries({ queryKey: chunkZZBCZRA5_cjs.arbiQueryKeys.userUsageToday() });
6115
6115
  }
@@ -6117,7 +6117,7 @@ async function applyMessagePosted(queryClient, e) {
6117
6117
  if (!e.conversation_ext_id) return;
6118
6118
  const queryKey = getThreadsQueryKey(e.conversation_ext_id);
6119
6119
  const refreshed = queryClient.invalidateQueries({ queryKey });
6120
- void chunkQWKTQYGM_cjs.invalidateConversationLists(queryClient);
6120
+ void chunkGVU3KYP3_cjs.invalidateConversationLists(queryClient);
6121
6121
  await refreshed;
6122
6122
  const cached = queryClient.getQueryData(
6123
6123
  queryKey
@@ -6166,7 +6166,7 @@ function useThreadDocument() {
6166
6166
  await bindThreadDocument(arbi, queryClient, open, documentId);
6167
6167
  return true;
6168
6168
  } catch {
6169
- chunkIX4HOS5Z_cjs.notify.error(
6169
+ chunk5ECKSF6H_cjs.notify.error(
6170
6170
  documentId ? "Could not attach the document to this thread" : "Could not unbind the document"
6171
6171
  );
6172
6172
  return false;
@@ -6227,7 +6227,7 @@ function useActiveConfigId() {
6227
6227
  const chatModel = chunk2MGJXBBJ_cjs.useArbiSessionState((s) => s.chatModel);
6228
6228
  const cursor = chunk2MGJXBBJ_cjs.useArbiSessionState((s) => s.cursor);
6229
6229
  const { messageHistory } = useConversationData();
6230
- const { data: userSettings } = chunkQWKTQYGM_cjs.useUserSettings();
6230
+ const { data: userSettings } = chunkGVU3KYP3_cjs.useUserSettings();
6231
6231
  return React.useMemo(() => {
6232
6232
  if (chatModel) return chatModel;
6233
6233
  const parent = cursor ? messageHistory?.find((m) => m.external_id === cursor) : void 0;
@@ -6300,7 +6300,7 @@ function useDocumentAutoAdd({
6300
6300
  const offerKey = `${key}:${available.map((doc) => doc.external_id).sort().join(",")}`;
6301
6301
  if (available.length && (convKey !== "new" || current !== void 0) && !offeredRef.current.has(offerKey)) {
6302
6302
  offeredRef.current.add(offerKey);
6303
- chunkIX4HOS5Z_cjs.notify.info(
6303
+ chunk5ECKSF6H_cjs.notify.info(
6304
6304
  `${available.length} workspace document${available.length === 1 ? "" : "s"} available to add`,
6305
6305
  {
6306
6306
  record: false,
@@ -6435,7 +6435,7 @@ function useConversationSettings() {
6435
6435
  const currentUser = chunk2MGJXBBJ_cjs.useArbiSession().user;
6436
6436
  const { messageHistory } = useConversationData();
6437
6437
  const { conversations } = useConversationItems();
6438
- const { data: userSettings } = chunkQWKTQYGM_cjs.useUserSettings();
6438
+ const { data: userSettings } = chunkGVU3KYP3_cjs.useUserSettings();
6439
6439
  const parentMessage = messageHistory?.find((m) => m.external_id === parentMessageId);
6440
6440
  const configToLoad = chatModel || parentMessage?.config_ext_id || userSettings?.last_config || "default";
6441
6441
  const { data: activeConfig } = chunk2MGJXBBJ_cjs.useConfig(configToLoad);
@@ -7187,53 +7187,53 @@ async function nativeThreadKeys(secret, message) {
7187
7187
 
7188
7188
  // src/mail/offline/mailbox.ts
7189
7189
  var keyOf = {
7190
- accounts: () => chunkQWKTQYGM_cjs.blind("accounts"),
7191
- policy: () => chunkQWKTQYGM_cjs.blind("policy"),
7192
- folders: (accountId) => chunkQWKTQYGM_cjs.blind("folders", accountId),
7193
- header: (accountId, folderId, messageId) => chunkQWKTQYGM_cjs.blind("header", accountId, folderId, messageId),
7194
- body: (accountId, messageId) => chunkQWKTQYGM_cjs.blind("body", accountId, messageId),
7195
- attachment: (accountId, messageId, attachmentId) => chunkQWKTQYGM_cjs.blind("attachment", accountId, messageId, attachmentId)
7190
+ accounts: () => chunkGVU3KYP3_cjs.blind("accounts"),
7191
+ policy: () => chunkGVU3KYP3_cjs.blind("policy"),
7192
+ folders: (accountId) => chunkGVU3KYP3_cjs.blind("folders", accountId),
7193
+ header: (accountId, folderId, messageId) => chunkGVU3KYP3_cjs.blind("header", accountId, folderId, messageId),
7194
+ body: (accountId, messageId) => chunkGVU3KYP3_cjs.blind("body", accountId, messageId),
7195
+ attachment: (accountId, messageId, attachmentId) => chunkGVU3KYP3_cjs.blind("attachment", accountId, messageId, attachmentId)
7196
7196
  };
7197
7197
  var bucketOf = {
7198
- global: () => chunkQWKTQYGM_cjs.blind("bucket", "global"),
7199
- folder: (accountId, folderId) => chunkQWKTQYGM_cjs.blind("bucket", "folder", accountId, folderId),
7200
- account: (accountId) => chunkQWKTQYGM_cjs.blind("bucket", "account", accountId)
7198
+ global: () => chunkGVU3KYP3_cjs.blind("bucket", "global"),
7199
+ folder: (accountId, folderId) => chunkGVU3KYP3_cjs.blind("bucket", "folder", accountId, folderId),
7200
+ account: (accountId) => chunkGVU3KYP3_cjs.blind("bucket", "account", accountId)
7201
7201
  };
7202
7202
  async function put(kind, key, bucket3, data, sortAt = Date.now()) {
7203
7203
  const now = Date.now();
7204
- await chunkQWKTQYGM_cjs.putRecord({ key, kind, bucket: bucket3, sortAt, size: data.byteLength, lastAccess: now, data });
7204
+ await chunkGVU3KYP3_cjs.putRecord({ key, kind, bucket: bucket3, sortAt, size: data.byteLength, lastAccess: now, data });
7205
7205
  }
7206
7206
  async function readJson(record) {
7207
7207
  if (!record) return void 0;
7208
7208
  try {
7209
- return await chunkQWKTQYGM_cjs.openJson(record.data);
7209
+ return await chunkGVU3KYP3_cjs.openJson(record.data);
7210
7210
  } catch {
7211
7211
  return void 0;
7212
7212
  }
7213
7213
  }
7214
7214
  var receivedAt = (m) => m.received_at ? Date.parse(m.received_at) || 0 : 0;
7215
7215
  async function saveAccounts(accounts) {
7216
- await put("accounts", await keyOf.accounts(), await bucketOf.global(), await chunkQWKTQYGM_cjs.sealJson(accounts));
7216
+ await put("accounts", await keyOf.accounts(), await bucketOf.global(), await chunkGVU3KYP3_cjs.sealJson(accounts));
7217
7217
  }
7218
7218
  async function loadAccounts() {
7219
- return readJson(await chunkQWKTQYGM_cjs.getRecord(await keyOf.accounts()));
7219
+ return readJson(await chunkGVU3KYP3_cjs.getRecord(await keyOf.accounts()));
7220
7220
  }
7221
7221
  async function savePolicy(policy) {
7222
- await put("policy", await keyOf.policy(), await bucketOf.global(), await chunkQWKTQYGM_cjs.sealJson(policy));
7222
+ await put("policy", await keyOf.policy(), await bucketOf.global(), await chunkGVU3KYP3_cjs.sealJson(policy));
7223
7223
  }
7224
7224
  async function loadPolicy() {
7225
- return readJson(await chunkQWKTQYGM_cjs.getRecord(await keyOf.policy()));
7225
+ return readJson(await chunkGVU3KYP3_cjs.getRecord(await keyOf.policy()));
7226
7226
  }
7227
7227
  async function saveFolders(accountId, folders) {
7228
7228
  await put(
7229
7229
  "folders",
7230
7230
  await keyOf.folders(accountId),
7231
7231
  await bucketOf.account(accountId),
7232
- await chunkQWKTQYGM_cjs.sealJson(folders)
7232
+ await chunkGVU3KYP3_cjs.sealJson(folders)
7233
7233
  );
7234
7234
  }
7235
7235
  async function loadFolders(accountId) {
7236
- return readJson(await chunkQWKTQYGM_cjs.getRecord(await keyOf.folders(accountId)));
7236
+ return readJson(await chunkGVU3KYP3_cjs.getRecord(await keyOf.folders(accountId)));
7237
7237
  }
7238
7238
  function toHeader(message) {
7239
7239
  return {
@@ -7249,12 +7249,12 @@ async function saveHeader(accountId, folderId, message) {
7249
7249
  "header",
7250
7250
  await keyOf.header(accountId, folderId, message.id),
7251
7251
  await bucketOf.folder(accountId, folderId),
7252
- await chunkQWKTQYGM_cjs.sealJson(toHeader(message)),
7252
+ await chunkGVU3KYP3_cjs.sealJson(toHeader(message)),
7253
7253
  receivedAt(message)
7254
7254
  );
7255
7255
  }
7256
7256
  async function loadHeaders(accountId, folderId) {
7257
- const records = await chunkQWKTQYGM_cjs.recordsInBucket(await bucketOf.folder(accountId, folderId));
7257
+ const records = await chunkGVU3KYP3_cjs.recordsInBucket(await bucketOf.folder(accountId, folderId));
7258
7258
  const out = [];
7259
7259
  for (const record of records) {
7260
7260
  if (record.kind !== "header") continue;
@@ -7264,7 +7264,7 @@ async function loadHeaders(accountId, folderId) {
7264
7264
  return out.sort((a, b) => b.sortAt - a.sortAt);
7265
7265
  }
7266
7266
  async function hasFolder(accountId) {
7267
- return chunkQWKTQYGM_cjs.hasRecord(await keyOf.folders(accountId));
7267
+ return chunkGVU3KYP3_cjs.hasRecord(await keyOf.folders(accountId));
7268
7268
  }
7269
7269
  async function saveBody(accountId, message) {
7270
7270
  const stripped = {
@@ -7275,42 +7275,42 @@ async function saveBody(accountId, message) {
7275
7275
  "body",
7276
7276
  await keyOf.body(accountId, message.id),
7277
7277
  await bucketOf.account(accountId),
7278
- await chunkQWKTQYGM_cjs.sealJson(stripped),
7278
+ await chunkGVU3KYP3_cjs.sealJson(stripped),
7279
7279
  receivedAt(message)
7280
7280
  );
7281
7281
  }
7282
7282
  async function hasBody(accountId, messageId) {
7283
- return chunkQWKTQYGM_cjs.hasRecord(await keyOf.body(accountId, messageId));
7283
+ return chunkGVU3KYP3_cjs.hasRecord(await keyOf.body(accountId, messageId));
7284
7284
  }
7285
7285
  async function loadBody(accountId, messageId) {
7286
- return readJson(await chunkQWKTQYGM_cjs.getRecord(await keyOf.body(accountId, messageId)));
7286
+ return readJson(await chunkGVU3KYP3_cjs.getRecord(await keyOf.body(accountId, messageId)));
7287
7287
  }
7288
7288
  async function saveAttachment(accountId, messageId, attachmentId, bytes, sortAt) {
7289
7289
  await put(
7290
7290
  "attachment",
7291
7291
  await keyOf.attachment(accountId, messageId, attachmentId),
7292
7292
  await bucketOf.account(accountId),
7293
- await chunkQWKTQYGM_cjs.sealBytes(bytes),
7293
+ await chunkGVU3KYP3_cjs.sealBytes(bytes),
7294
7294
  sortAt || void 0
7295
7295
  );
7296
7296
  }
7297
7297
  async function hasAttachment(accountId, messageId, attachmentId) {
7298
- return chunkQWKTQYGM_cjs.hasRecord(await keyOf.attachment(accountId, messageId, attachmentId));
7298
+ return chunkGVU3KYP3_cjs.hasRecord(await keyOf.attachment(accountId, messageId, attachmentId));
7299
7299
  }
7300
7300
  async function loadAttachment(accountId, messageId, attachmentId) {
7301
7301
  const key = await keyOf.attachment(accountId, messageId, attachmentId);
7302
- const record = await chunkQWKTQYGM_cjs.getRecord(key);
7302
+ const record = await chunkGVU3KYP3_cjs.getRecord(key);
7303
7303
  if (!record) return void 0;
7304
7304
  try {
7305
- const bytes = await chunkQWKTQYGM_cjs.openBytes(record.data);
7306
- void chunkQWKTQYGM_cjs.touchRecord(key);
7305
+ const bytes = await chunkGVU3KYP3_cjs.openBytes(record.data);
7306
+ void chunkGVU3KYP3_cjs.touchRecord(key);
7307
7307
  return bytes;
7308
7308
  } catch {
7309
7309
  return void 0;
7310
7310
  }
7311
7311
  }
7312
7312
  async function removeKeys(keys) {
7313
- await chunkQWKTQYGM_cjs.deleteRecords(keys);
7313
+ await chunkGVU3KYP3_cjs.deleteRecords(keys);
7314
7314
  }
7315
7315
  function bodyText(body) {
7316
7316
  const html = body.text ? "" : (body.html ?? "").replace(/<[^>]*>/g, " ");
@@ -7355,27 +7355,27 @@ function isBrowserOffline() {
7355
7355
  // src/mail/offline/changes.ts
7356
7356
  var isFiling = (change) => change.kind === "file";
7357
7357
  var MAX_ATTEMPTS = 5;
7358
- var bucket = () => chunkQWKTQYGM_cjs.blind("bucket", "changes");
7359
- var keyFor = (id) => chunkQWKTQYGM_cjs.blind("change", id);
7358
+ var bucket = () => chunkGVU3KYP3_cjs.blind("bucket", "changes");
7359
+ var keyFor = (id) => chunkGVU3KYP3_cjs.blind("change", id);
7360
7360
  async function write(item) {
7361
- await chunkQWKTQYGM_cjs.putRecord({
7361
+ await chunkGVU3KYP3_cjs.putRecord({
7362
7362
  key: await keyFor(item.id),
7363
7363
  kind: "change",
7364
7364
  bucket: await bucket(),
7365
7365
  sortAt: item.seq,
7366
7366
  size: 0,
7367
7367
  lastAccess: Date.now(),
7368
- data: await chunkQWKTQYGM_cjs.sealJson(item)
7368
+ data: await chunkGVU3KYP3_cjs.sealJson(item)
7369
7369
  });
7370
7370
  }
7371
7371
  async function drop(item) {
7372
- await chunkQWKTQYGM_cjs.deleteRecords([await keyFor(item.id)]);
7372
+ await chunkGVU3KYP3_cjs.deleteRecords([await keyFor(item.id)]);
7373
7373
  }
7374
7374
  async function readHeader(accountId, folderId, messageId) {
7375
- const record = await chunkQWKTQYGM_cjs.getRecord(await keyOf.header(accountId, folderId, messageId));
7375
+ const record = await chunkGVU3KYP3_cjs.getRecord(await keyOf.header(accountId, folderId, messageId));
7376
7376
  if (!record) return void 0;
7377
7377
  try {
7378
- return await chunkQWKTQYGM_cjs.openJson(record.data);
7378
+ return await chunkGVU3KYP3_cjs.openJson(record.data);
7379
7379
  } catch {
7380
7380
  return void 0;
7381
7381
  }
@@ -7457,9 +7457,9 @@ function combine(pending, next) {
7457
7457
  }
7458
7458
  async function listMailChanges() {
7459
7459
  const items = [];
7460
- for (const record of await chunkQWKTQYGM_cjs.recordsInBucket(await bucket())) {
7460
+ for (const record of await chunkGVU3KYP3_cjs.recordsInBucket(await bucket())) {
7461
7461
  try {
7462
- items.push(await chunkQWKTQYGM_cjs.openJson(record.data));
7462
+ items.push(await chunkGVU3KYP3_cjs.openJson(record.data));
7463
7463
  } catch {
7464
7464
  }
7465
7465
  }
@@ -7514,14 +7514,14 @@ function serially(fn) {
7514
7514
  }
7515
7515
  async function queueMailChange(input) {
7516
7516
  await serially(() => queue(input));
7517
- chunkQWKTQYGM_cjs.notifyOfflineMailChange("changes");
7518
- chunkQWKTQYGM_cjs.notifyOfflineMailChange("mailbox");
7517
+ chunkGVU3KYP3_cjs.notifyOfflineMailChange("changes");
7518
+ chunkGVU3KYP3_cjs.notifyOfflineMailChange("mailbox");
7519
7519
  }
7520
7520
  async function readChange(id) {
7521
- const record = await chunkQWKTQYGM_cjs.getRecord(await keyFor(id));
7521
+ const record = await chunkGVU3KYP3_cjs.getRecord(await keyFor(id));
7522
7522
  if (!record) return void 0;
7523
7523
  try {
7524
- return await chunkQWKTQYGM_cjs.openJson(record.data);
7524
+ return await chunkGVU3KYP3_cjs.openJson(record.data);
7525
7525
  } catch {
7526
7526
  return void 0;
7527
7527
  }
@@ -7594,7 +7594,7 @@ async function applyMailChangesOnce(sender, isOnline) {
7594
7594
  result.interrupted = true;
7595
7595
  }
7596
7596
  }
7597
- if (result.applied + result.gone + result.refused.length > 0) chunkQWKTQYGM_cjs.notifyOfflineMailChange("changes");
7597
+ if (result.applied + result.gone + result.refused.length > 0) chunkGVU3KYP3_cjs.notifyOfflineMailChange("changes");
7598
7598
  return result;
7599
7599
  }
7600
7600
  var NO_PRIMER = () => void 0;
@@ -7710,26 +7710,26 @@ function useConnectedMailFiling(account, messages) {
7710
7710
  }
7711
7711
 
7712
7712
  // src/mail/offline/drafts.ts
7713
- var keyFor2 = (id) => chunkQWKTQYGM_cjs.blind("draft", id);
7713
+ var keyFor2 = (id) => chunkGVU3KYP3_cjs.blind("draft", id);
7714
7714
  async function saveLocalDraft(accountId, compose, id = crypto.randomUUID()) {
7715
7715
  const draft = { id, accountId, compose, updatedAt: Date.now() };
7716
- await chunkQWKTQYGM_cjs.putRecord({
7716
+ await chunkGVU3KYP3_cjs.putRecord({
7717
7717
  key: await keyFor2(id),
7718
7718
  kind: "draft",
7719
- bucket: await chunkQWKTQYGM_cjs.blind("bucket", "drafts", accountId),
7719
+ bucket: await chunkGVU3KYP3_cjs.blind("bucket", "drafts", accountId),
7720
7720
  sortAt: draft.updatedAt,
7721
7721
  size: 0,
7722
7722
  lastAccess: draft.updatedAt,
7723
- data: await chunkQWKTQYGM_cjs.sealJson(draft)
7723
+ data: await chunkGVU3KYP3_cjs.sealJson(draft)
7724
7724
  });
7725
- chunkQWKTQYGM_cjs.notifyOfflineMailChange("drafts");
7725
+ chunkGVU3KYP3_cjs.notifyOfflineMailChange("drafts");
7726
7726
  return draft;
7727
7727
  }
7728
7728
  async function listLocalDrafts(accountId) {
7729
7729
  const drafts = [];
7730
- for (const record of await chunkQWKTQYGM_cjs.recordsOfKind("draft")) {
7730
+ for (const record of await chunkGVU3KYP3_cjs.recordsOfKind("draft")) {
7731
7731
  try {
7732
- const draft = await chunkQWKTQYGM_cjs.openJson(record.data);
7732
+ const draft = await chunkGVU3KYP3_cjs.openJson(record.data);
7733
7733
  if (!accountId || draft.accountId === accountId) drafts.push(draft);
7734
7734
  } catch {
7735
7735
  }
@@ -7737,8 +7737,8 @@ async function listLocalDrafts(accountId) {
7737
7737
  return drafts.sort((a, b) => b.updatedAt - a.updatedAt);
7738
7738
  }
7739
7739
  async function deleteLocalDraft(id) {
7740
- await chunkQWKTQYGM_cjs.deleteRecords([await keyFor2(id)]);
7741
- chunkQWKTQYGM_cjs.notifyOfflineMailChange("drafts");
7740
+ await chunkGVU3KYP3_cjs.deleteRecords([await keyFor2(id)]);
7741
+ chunkGVU3KYP3_cjs.notifyOfflineMailChange("drafts");
7742
7742
  }
7743
7743
  async function syncLocalDrafts(save) {
7744
7744
  let uploaded = 0;
@@ -7751,27 +7751,27 @@ async function syncLocalDrafts(save) {
7751
7751
  } catch (error) {
7752
7752
  const status = error.status;
7753
7753
  if (isNetworkFailure(error) || status === void 0 || status === 401 || status >= 500) break;
7754
- await chunkQWKTQYGM_cjs.putRecord({
7754
+ await chunkGVU3KYP3_cjs.putRecord({
7755
7755
  key: await keyFor2(draft.id),
7756
7756
  kind: "draft",
7757
- bucket: await chunkQWKTQYGM_cjs.blind("bucket", "drafts", draft.accountId),
7757
+ bucket: await chunkGVU3KYP3_cjs.blind("bucket", "drafts", draft.accountId),
7758
7758
  sortAt: draft.updatedAt,
7759
7759
  size: 0,
7760
7760
  lastAccess: Date.now(),
7761
- data: await chunkQWKTQYGM_cjs.sealJson({
7761
+ data: await chunkGVU3KYP3_cjs.sealJson({
7762
7762
  ...draft,
7763
7763
  error: error instanceof Error ? error.message : "The server refused this draft"
7764
7764
  })
7765
7765
  });
7766
- chunkQWKTQYGM_cjs.notifyOfflineMailChange("drafts");
7766
+ chunkGVU3KYP3_cjs.notifyOfflineMailChange("drafts");
7767
7767
  }
7768
7768
  }
7769
7769
  return uploaded;
7770
7770
  }
7771
7771
 
7772
7772
  // src/mail/offline/outbox.ts
7773
- var bucket2 = () => chunkQWKTQYGM_cjs.blind("bucket", "outbox");
7774
- var keyFor3 = (id) => chunkQWKTQYGM_cjs.blind("outbox", id);
7773
+ var bucket2 = () => chunkGVU3KYP3_cjs.blind("bucket", "outbox");
7774
+ var keyFor3 = (id) => chunkGVU3KYP3_cjs.blind("outbox", id);
7775
7775
  function outboxProblem(compose) {
7776
7776
  const missing = compose.attachments.find((a) => a.content_base64 == null);
7777
7777
  if (missing)
@@ -7780,22 +7780,22 @@ function outboxProblem(compose) {
7780
7780
  }
7781
7781
  var seqCounter = 0;
7782
7782
  async function write2(item) {
7783
- await chunkQWKTQYGM_cjs.putRecord({
7783
+ await chunkGVU3KYP3_cjs.putRecord({
7784
7784
  key: await keyFor3(item.id),
7785
7785
  kind: "outbox",
7786
7786
  bucket: await bucket2(),
7787
7787
  sortAt: item.seq,
7788
7788
  size: 0,
7789
7789
  lastAccess: Date.now(),
7790
- data: await chunkQWKTQYGM_cjs.sealJson(item)
7790
+ data: await chunkGVU3KYP3_cjs.sealJson(item)
7791
7791
  });
7792
7792
  }
7793
7793
  async function listOutbox() {
7794
- const records = await chunkQWKTQYGM_cjs.recordsInBucket(await bucket2());
7794
+ const records = await chunkGVU3KYP3_cjs.recordsInBucket(await bucket2());
7795
7795
  const items = [];
7796
7796
  for (const record of records) {
7797
7797
  try {
7798
- items.push(await chunkQWKTQYGM_cjs.openJson(record.data));
7798
+ items.push(await chunkGVU3KYP3_cjs.openJson(record.data));
7799
7799
  } catch {
7800
7800
  }
7801
7801
  }
@@ -7819,18 +7819,18 @@ async function enqueueOutbox(input) {
7819
7819
  seq: seqCounter
7820
7820
  };
7821
7821
  await write2(item);
7822
- chunkQWKTQYGM_cjs.notifyOfflineMailChange("outbox");
7822
+ chunkGVU3KYP3_cjs.notifyOfflineMailChange("outbox");
7823
7823
  return item;
7824
7824
  }
7825
7825
  async function update(item, patch) {
7826
7826
  const next = { ...item, ...patch };
7827
7827
  await write2(next);
7828
- chunkQWKTQYGM_cjs.notifyOfflineMailChange("outbox");
7828
+ chunkGVU3KYP3_cjs.notifyOfflineMailChange("outbox");
7829
7829
  return next;
7830
7830
  }
7831
7831
  async function deleteOutboxItem(id) {
7832
- await chunkQWKTQYGM_cjs.deleteRecords([await keyFor3(id)]);
7833
- chunkQWKTQYGM_cjs.notifyOfflineMailChange("outbox");
7832
+ await chunkGVU3KYP3_cjs.deleteRecords([await keyFor3(id)]);
7833
+ chunkGVU3KYP3_cjs.notifyOfflineMailChange("outbox");
7834
7834
  }
7835
7835
  async function retryOutboxItem(id) {
7836
7836
  const item = (await listOutbox()).find((i) => i.id === id);
@@ -7921,14 +7921,14 @@ async function purgeSentOutbox(olderThanMs = 0) {
7921
7921
  const cutoff = Date.now() - olderThanMs;
7922
7922
  const done = (await listOutbox()).filter((i) => i.status === "sent" && (i.sentAt ?? 0) <= cutoff);
7923
7923
  if (done.length === 0) return;
7924
- await chunkQWKTQYGM_cjs.deleteRecords(await Promise.all(done.map((i) => keyFor3(i.id))));
7925
- chunkQWKTQYGM_cjs.notifyOfflineMailChange("outbox");
7924
+ await chunkGVU3KYP3_cjs.deleteRecords(await Promise.all(done.map((i) => keyFor3(i.id))));
7925
+ chunkGVU3KYP3_cjs.notifyOfflineMailChange("outbox");
7926
7926
  }
7927
7927
  var STATUS_KEY = "status";
7928
7928
  var FULL_SYNC_EVERY_MS = 60 * 60 * 1e3;
7929
7929
  var MAX_PAGES = 200;
7930
7930
  async function getOfflineMailStatus() {
7931
- return await chunkQWKTQYGM_cjs.getMeta(STATUS_KEY) ?? { messages: 0, bytes: 0, skipped: [] };
7931
+ return await chunkGVU3KYP3_cjs.getMeta(STATUS_KEY) ?? { messages: 0, bytes: 0, skipped: [] };
7932
7932
  }
7933
7933
  var MB = 1024 * 1024;
7934
7934
  var time = (m) => m.received_at ? Date.parse(m.received_at) || 0 : 0;
@@ -8019,23 +8019,23 @@ async function collectGarbage(accounts) {
8019
8019
  expected.add(await keyOf.attachment(account.id, message.id, attachment.id));
8020
8020
  }
8021
8021
  }
8022
- const orphans = (await chunkQWKTQYGM_cjs.recordsInBucket(await bucketOf.account(account.id))).filter((r) => (r.kind === "body" || r.kind === "attachment") && !expected.has(r.key)).map((r) => r.key);
8022
+ const orphans = (await chunkGVU3KYP3_cjs.recordsInBucket(await bucketOf.account(account.id))).filter((r) => (r.kind === "body" || r.kind === "attachment") && !expected.has(r.key)).map((r) => r.key);
8023
8023
  await removeKeys(orphans);
8024
8024
  }
8025
8025
  }
8026
8026
  async function forgetAccount(accountId) {
8027
8027
  for (const folder of await loadFolders(accountId) ?? []) {
8028
- const records2 = await chunkQWKTQYGM_cjs.recordsInBucket(await bucketOf.folder(accountId, folder.id));
8028
+ const records2 = await chunkGVU3KYP3_cjs.recordsInBucket(await bucketOf.folder(accountId, folder.id));
8029
8029
  await removeKeys(records2.map((r) => r.key));
8030
8030
  }
8031
- const records = await chunkQWKTQYGM_cjs.recordsInBucket(await bucketOf.account(accountId));
8031
+ const records = await chunkGVU3KYP3_cjs.recordsInBucket(await bucketOf.account(accountId));
8032
8032
  await removeKeys(records.filter((r) => r.kind !== "draft").map((r) => r.key));
8033
8033
  }
8034
8034
  async function enforceQuota(quotaBytes) {
8035
- let used = (await chunkQWKTQYGM_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0);
8035
+ let used = (await chunkGVU3KYP3_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0);
8036
8036
  if (used <= quotaBytes) return used;
8037
8037
  for (const kind of ["attachment", "body"]) {
8038
- const records = (await chunkQWKTQYGM_cjs.recordsOfKind(kind)).sort(
8038
+ const records = (await chunkGVU3KYP3_cjs.recordsOfKind(kind)).sort(
8039
8039
  (a, b) => kind === "attachment" ? a.lastAccess - b.lastAccess : a.sortAt - b.sortAt
8040
8040
  );
8041
8041
  const evict = [];
@@ -8051,34 +8051,34 @@ async function enforceQuota(quotaBytes) {
8051
8051
  }
8052
8052
  var CONTENT_KINDS = ["header", "body", "attachment"];
8053
8053
  async function trimOfflineMailbox(settings, now = Date.now()) {
8054
- const windowStart = chunkQWKTQYGM_cjs.offlineWindowStart(settings, now);
8054
+ const windowStart = chunkGVU3KYP3_cjs.offlineWindowStart(settings, now);
8055
8055
  const kinds = settings.enabled ? CONTENT_KINDS : [...CONTENT_KINDS, "folders"];
8056
8056
  for (const kind of kinds) {
8057
- const records = await chunkQWKTQYGM_cjs.recordsOfKind(kind);
8057
+ const records = await chunkGVU3KYP3_cjs.recordsOfKind(kind);
8058
8058
  const old = settings.enabled ? records.filter((r) => r.sortAt > 0 && r.sortAt < windowStart) : records;
8059
8059
  await removeKeys(old.map((r) => r.key));
8060
8060
  }
8061
8061
  const previous = await getOfflineMailStatus();
8062
8062
  const status = {
8063
8063
  ...previous,
8064
- messages: (await chunkQWKTQYGM_cjs.recordsOfKind("header")).length,
8065
- bytes: (await chunkQWKTQYGM_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0),
8064
+ messages: (await chunkGVU3KYP3_cjs.recordsOfKind("header")).length,
8065
+ bytes: (await chunkGVU3KYP3_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0),
8066
8066
  // A shorter window no longer covers what the last full pass fetched: growing it again (even
8067
8067
  // before the next hourly full pass) makes the next pass a full one.
8068
- windowDays: settings.enabled && previous.windowDays !== void 0 ? Math.min(previous.windowDays, chunkQWKTQYGM_cjs.SCOPE_DAYS[settings.scope]) : void 0,
8068
+ windowDays: settings.enabled && previous.windowDays !== void 0 ? Math.min(previous.windowDays, chunkGVU3KYP3_cjs.SCOPE_DAYS[settings.scope]) : void 0,
8069
8069
  // Off: nothing is saved, so turning it back on starts with a full pass.
8070
8070
  ...!settings.enabled && { lastSyncedAt: void 0, lastFullSyncAt: void 0 }
8071
8071
  };
8072
- await chunkQWKTQYGM_cjs.setMeta(STATUS_KEY, status);
8073
- chunkQWKTQYGM_cjs.notifyOfflineMailChange("status");
8072
+ await chunkGVU3KYP3_cjs.setMeta(STATUS_KEY, status);
8073
+ chunkGVU3KYP3_cjs.notifyOfflineMailChange("status");
8074
8074
  return status;
8075
8075
  }
8076
8076
  async function syncMailbox(transport, settings, options = {}) {
8077
8077
  const now = options.now ?? Date.now();
8078
8078
  const previous = await getOfflineMailStatus();
8079
- const days = chunkQWKTQYGM_cjs.SCOPE_DAYS[settings.scope];
8079
+ const days = chunkGVU3KYP3_cjs.SCOPE_DAYS[settings.scope];
8080
8080
  const full = options.full || !previous.lastFullSyncAt || now - previous.lastFullSyncAt > FULL_SYNC_EVERY_MS || (previous.windowDays ?? 0) < days;
8081
- const windowStart = chunkQWKTQYGM_cjs.offlineWindowStart(settings, now);
8081
+ const windowStart = chunkGVU3KYP3_cjs.offlineWindowStart(settings, now);
8082
8082
  const quota = settings.quotaMb * MB;
8083
8083
  const skipped = [];
8084
8084
  let error;
@@ -8090,7 +8090,7 @@ async function syncMailbox(transport, settings, options = {}) {
8090
8090
  for (const gone of before.filter((b) => !accounts.some((a) => a.id === b.id)))
8091
8091
  await forgetAccount(gone.id);
8092
8092
  const budget = new Budget(
8093
- (await chunkQWKTQYGM_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0),
8093
+ (await chunkGVU3KYP3_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0),
8094
8094
  quota
8095
8095
  );
8096
8096
  for (const account of accounts) {
@@ -8104,12 +8104,12 @@ async function syncMailbox(transport, settings, options = {}) {
8104
8104
  const oldFolders = await loadFolders(account.id) ?? [];
8105
8105
  await saveFolders(account.id, folders);
8106
8106
  for (const gone of oldFolders.filter((o) => !folders.some((f) => f.id === o.id))) {
8107
- const records = await chunkQWKTQYGM_cjs.recordsInBucket(await bucketOf.folder(account.id, gone.id));
8107
+ const records = await chunkGVU3KYP3_cjs.recordsInBucket(await bucketOf.folder(account.id, gone.id));
8108
8108
  await removeKeys(records.map((r) => r.key));
8109
8109
  }
8110
8110
  for (const folder of folders.filter((f) => !isVirtualFolder(f)))
8111
8111
  await syncFolder(transport, account, folder, settings, windowStart, full, budget);
8112
- chunkQWKTQYGM_cjs.notifyOfflineMailChange("mailbox");
8112
+ chunkGVU3KYP3_cjs.notifyOfflineMailChange("mailbox");
8113
8113
  } catch (accountError) {
8114
8114
  if (accountError.status === void 0) throw accountError;
8115
8115
  client.logger.warn("[offline-mail] account sync failed", accountError);
@@ -8127,19 +8127,19 @@ async function syncMailbox(transport, settings, options = {}) {
8127
8127
  const trimmed = await trimOfflineMailbox(current, now);
8128
8128
  if (!current.enabled) return trimmed;
8129
8129
  const bytes = await enforceQuota(current.quotaMb * MB);
8130
- const messages = (await chunkQWKTQYGM_cjs.recordsOfKind("header")).length;
8130
+ const messages = (await chunkGVU3KYP3_cjs.recordsOfKind("header")).length;
8131
8131
  const fullDone = !error && full;
8132
8132
  const status = {
8133
8133
  lastSyncedAt: error ? previous.lastSyncedAt : now,
8134
8134
  lastFullSyncAt: fullDone ? now : previous.lastFullSyncAt,
8135
- windowDays: fullDone ? Math.min(days, chunkQWKTQYGM_cjs.SCOPE_DAYS[current.scope]) : trimmed.windowDays,
8135
+ windowDays: fullDone ? Math.min(days, chunkGVU3KYP3_cjs.SCOPE_DAYS[current.scope]) : trimmed.windowDays,
8136
8136
  messages,
8137
8137
  bytes,
8138
8138
  error,
8139
8139
  skipped
8140
8140
  };
8141
- await chunkQWKTQYGM_cjs.setMeta(STATUS_KEY, status);
8142
- chunkQWKTQYGM_cjs.notifyOfflineMailChange("status");
8141
+ await chunkGVU3KYP3_cjs.setMeta(STATUS_KEY, status);
8142
+ chunkGVU3KYP3_cjs.notifyOfflineMailChange("status");
8143
8143
  return status;
8144
8144
  }
8145
8145
 
@@ -8270,7 +8270,7 @@ async function sendOutbox({ arbi, queryClient, openOutbox }) {
8270
8270
  if (result.sent > 0) void queryClient.invalidateQueries({ queryKey: chunkZZBCZRA5_cjs.mailQueryKeys.all() });
8271
8271
  const remaining = (await listOutbox()).filter((i) => i.status !== "sent");
8272
8272
  if (result.failed > 0) {
8273
- chunkIX4HOS5Z_cjs.notify.error(
8273
+ chunk5ECKSF6H_cjs.notify.error(
8274
8274
  result.failed === 1 ? "A message in your Outbox couldn't be sent" : `${result.failed} messages in your Outbox couldn't be sent`,
8275
8275
  {
8276
8276
  description: "Open the Outbox to see why, then retry, edit or delete it.",
@@ -8278,7 +8278,7 @@ async function sendOutbox({ arbi, queryClient, openOutbox }) {
8278
8278
  }
8279
8279
  );
8280
8280
  } else if (result.sent > 0 && remaining.length === 0) {
8281
- chunkIX4HOS5Z_cjs.notify.success(
8281
+ chunk5ECKSF6H_cjs.notify.success(
8282
8282
  result.sent === 1 ? "Your Outbox message was sent" : `${result.sent} Outbox messages sent`
8283
8283
  );
8284
8284
  }
@@ -8289,11 +8289,11 @@ async function applyChanges({ arbi, queryClient }) {
8289
8289
  if (result.applied + result.gone + result.refused.length > 0)
8290
8290
  void queryClient.invalidateQueries({ queryKey: chunkZZBCZRA5_cjs.mailQueryKeys.all() });
8291
8291
  if (result.gone > 0)
8292
- chunkIX4HOS5Z_cjs.notify.info(
8292
+ chunk5ECKSF6H_cjs.notify.info(
8293
8293
  result.gone === 1 ? "A message you changed offline was already gone from the server" : `${result.gone} messages you changed offline were already gone from the server`
8294
8294
  );
8295
8295
  if (result.refused.length > 0)
8296
- chunkIX4HOS5Z_cjs.notify.error(
8296
+ chunk5ECKSF6H_cjs.notify.error(
8297
8297
  result.refused.length === 1 ? "A change you made offline couldn't be applied" : `${result.refused.length} changes you made offline couldn't be applied`,
8298
8298
  { description: result.refused[0].error }
8299
8299
  );
@@ -8327,7 +8327,7 @@ async function uploadOfflineDrafts({
8327
8327
  );
8328
8328
  if (uploaded > 0) {
8329
8329
  void queryClient.invalidateQueries({ queryKey: chunkZZBCZRA5_cjs.mailQueryKeys.allMessages() });
8330
- chunkIX4HOS5Z_cjs.notify.success(
8330
+ chunk5ECKSF6H_cjs.notify.success(
8331
8331
  uploaded === 1 ? "Your offline draft was saved to Drafts" : `${uploaded} offline drafts were saved to Drafts`
8332
8332
  );
8333
8333
  }
@@ -8338,20 +8338,20 @@ function isMailSyncRunning() {
8338
8338
  return syncing;
8339
8339
  }
8340
8340
  async function syncOfflineMailbox({ arbi }, options = {}) {
8341
- const latest = () => chunkQWKTQYGM_cjs.getOfflineMailSettings(sessionUser(arbi));
8341
+ const latest = () => chunkGVU3KYP3_cjs.getOfflineMailSettings(sessionUser(arbi));
8342
8342
  const settings = latest();
8343
8343
  if (!settings.enabled || !canReachMail(arbi)) return;
8344
8344
  void requestPersistentStorage();
8345
8345
  await exclusive("arbi-mail-sync", async () => {
8346
8346
  syncing = true;
8347
- chunkQWKTQYGM_cjs.notifyOfflineMailChange("status");
8347
+ chunkGVU3KYP3_cjs.notifyOfflineMailChange("status");
8348
8348
  try {
8349
8349
  await syncMailbox(liveTransport(arbi), latest(), { ...options, latest });
8350
8350
  } catch (error) {
8351
8351
  client.logger.error("[offline-mail] sync failed", error);
8352
8352
  } finally {
8353
8353
  syncing = false;
8354
- chunkQWKTQYGM_cjs.notifyOfflineMailChange("status");
8354
+ chunkGVU3KYP3_cjs.notifyOfflineMailChange("status");
8355
8355
  }
8356
8356
  });
8357
8357
  }
@@ -8382,9 +8382,9 @@ async function savedFolder(accountId, folderId) {
8382
8382
  }
8383
8383
  function offlineMailReads(getArbi, { keepsMail = () => true } = {}) {
8384
8384
  const call = (path) => mailJson((p, i) => getArbi().mail.fetch(p, i), path);
8385
- const settings = () => chunkQWKTQYGM_cjs.getOfflineMailSettings(sessionUser(getArbi()));
8385
+ const settings = () => chunkGVU3KYP3_cjs.getOfflineMailSettings(sessionUser(getArbi()));
8386
8386
  const storeEnabled = () => settings().enabled;
8387
- const keeps = (message) => chunkQWKTQYGM_cjs.inOfflineWindow(settings(), message.received_at);
8387
+ const keeps = (message) => chunkGVU3KYP3_cjs.inOfflineWindow(settings(), message.received_at);
8388
8388
  const remember = (write3) => {
8389
8389
  if (!keepsMail()) return;
8390
8390
  write3().catch((error) => client.logger.warn("[offline-mail] could not save for offline use", error));
@@ -8994,7 +8994,7 @@ function ArbiWebSocketProvider({
8994
8994
  const host = chunkZZBCZRA5_cjs.useArbiHost();
8995
8995
  const hostRef = React.useRef(host);
8996
8996
  hostRef.current = host;
8997
- const acceptRings = chunkQWKTQYGM_cjs.useFeature("calls");
8997
+ const acceptRings = chunkGVU3KYP3_cjs.useFeature("calls");
8998
8998
  const acceptRingsRef = React.useRef(acceptRings);
8999
8999
  acceptRingsRef.current = acceptRings;
9000
9000
  useOnlineSync();
@@ -9077,9 +9077,9 @@ function ArbiWebSocketProvider({
9077
9077
  void queryClient.invalidateQueries({ queryKey: chunkZZBCZRA5_cjs.arbiQueryKeys.allTags() });
9078
9078
  }
9079
9079
  } else if (type.startsWith("chat.") || type === "agent_dm_status")
9080
- void chunkQWKTQYGM_cjs.applyChatEvent(arbiRef.current, queryClient, msg);
9080
+ void chunkGVU3KYP3_cjs.applyChatEvent(arbiRef.current, queryClient, msg);
9081
9081
  else if (type.startsWith("call."))
9082
- chunkQWKTQYGM_cjs.applyCallEvent(queryClient, msg, { me: me(), acceptRings: acceptRingsRef.current });
9082
+ chunkGVU3KYP3_cjs.applyCallEvent(queryClient, msg, { me: me(), acceptRings: acceptRingsRef.current });
9083
9083
  else if (isNotificationRow(msg)) applyNotificationRow(queryClient, msg, me());
9084
9084
  else void applyLiveUpdate(queryClient, msg);
9085
9085
  deliver(msg);
@@ -9363,54 +9363,61 @@ function createWorkspaceSwitch({
9363
9363
  const name = target.name || listed?.name || "";
9364
9364
  const noun = chunkWJIRX5MS_cjs.getEntityLabel("WORKSPACE");
9365
9365
  if (listed?.archive) {
9366
- chunkIX4HOS5Z_cjs.notify.info(archivedWorkspaceMessage(name));
9366
+ chunk5ECKSF6H_cjs.notify.info(archivedWorkspaceMessage(name));
9367
9367
  return false;
9368
9368
  }
9369
9369
  if (!isSame && !reactQuery.onlineManager.isOnline()) {
9370
- chunkIX4HOS5Z_cjs.notify.info(
9370
+ chunk5ECKSF6H_cjs.notify.info(
9371
9371
  `You're offline \u2014 you can only use the ${noun} you're already in. Reconnect to switch.`
9372
9372
  );
9373
9373
  return false;
9374
9374
  }
9375
9375
  const epoch = ++switchEpoch;
9376
- chunkIX4HOS5Z_cjs.notify.info(`Opening "${name}" ${noun}\u2026`, { workspaceId: target.id, duration: 2e3 });
9377
- await signedIn(arbi);
9378
- if (epoch !== switchEpoch) return false;
9379
- if (!isSame) {
9380
- session.leaveWorkspace();
9381
- drainWorkspaceQueries(queryClient);
9382
- session.setWorkspaceId(null);
9383
- }
9384
- session.setWorkspaceStatus("opening");
9385
- performance.mark("arbi:workspace-open:start");
9386
- let opened;
9376
+ const opening = chunk5ECKSF6H_cjs.notify.info(`Opening "${name}" ${noun}\u2026`, {
9377
+ workspaceId: target.id,
9378
+ duration: 2e3
9379
+ });
9387
9380
  try {
9388
- opened = await arbi().selectWorkspace(target.id);
9389
- } catch (error) {
9390
- if (client.isAbortError(error)) return false;
9391
- const superseded = error instanceof browser.ArbiWorkspaceSupersededError;
9392
- if (!superseded) console.error("[switchWorkspace] /open failed:", error);
9393
- if (superseded && epoch === switchEpoch) {
9394
- if (previousId) session.setWorkspaceId(previousId);
9395
- session.setWorkspaceStatus("closed");
9396
- } else if (epoch === switchEpoch) {
9397
- if (previousId) session.setWorkspaceId(previousId);
9398
- session.setWorkspaceStatus("closed");
9399
- if (isWorkspaceArchivedError(error)) {
9400
- chunkIX4HOS5Z_cjs.notify.info(archivedWorkspaceMessage(name));
9401
- void queryClient.invalidateQueries({ queryKey: chunkZZBCZRA5_cjs.arbiQueryKeys.workspaces() });
9402
- } else {
9403
- chunkIX4HOS5Z_cjs.notify.error(`Failed to open "${name}" ${noun}`);
9381
+ await signedIn(arbi);
9382
+ if (epoch !== switchEpoch) return false;
9383
+ if (!isSame) {
9384
+ session.leaveWorkspace();
9385
+ drainWorkspaceQueries(queryClient);
9386
+ session.setWorkspaceId(null);
9387
+ }
9388
+ session.setWorkspaceStatus("opening");
9389
+ performance.mark("arbi:workspace-open:start");
9390
+ let opened;
9391
+ try {
9392
+ opened = await arbi().selectWorkspace(target.id);
9393
+ } catch (error) {
9394
+ if (client.isAbortError(error)) return false;
9395
+ const superseded = error instanceof browser.ArbiWorkspaceSupersededError;
9396
+ if (!superseded) console.error("[switchWorkspace] /open failed:", error);
9397
+ if (superseded && epoch === switchEpoch) {
9398
+ if (previousId) session.setWorkspaceId(previousId);
9399
+ session.setWorkspaceStatus("closed");
9400
+ } else if (epoch === switchEpoch) {
9401
+ if (previousId) session.setWorkspaceId(previousId);
9402
+ session.setWorkspaceStatus("closed");
9403
+ if (isWorkspaceArchivedError(error)) {
9404
+ chunk5ECKSF6H_cjs.notify.info(archivedWorkspaceMessage(name));
9405
+ void queryClient.invalidateQueries({ queryKey: chunkZZBCZRA5_cjs.arbiQueryKeys.workspaces() });
9406
+ } else {
9407
+ chunk5ECKSF6H_cjs.notify.error(`Failed to open "${name}" ${noun}`);
9408
+ }
9404
9409
  }
9410
+ return false;
9405
9411
  }
9406
- return false;
9412
+ if (epoch !== switchEpoch) return false;
9413
+ seedOpenedWorkspace(queryClient, target.id, opened);
9414
+ performance.mark("arbi:workspace-open:response");
9415
+ session.setWorkspaceId(target.id);
9416
+ session.setWorkspaceStatus("open");
9417
+ return true;
9418
+ } finally {
9419
+ chunk5ECKSF6H_cjs.notify.dismiss(opening);
9407
9420
  }
9408
- if (epoch !== switchEpoch) return false;
9409
- seedOpenedWorkspace(queryClient, target.id, opened);
9410
- performance.mark("arbi:workspace-open:response");
9411
- session.setWorkspaceId(target.id);
9412
- session.setWorkspaceStatus("open");
9413
- return true;
9414
9421
  };
9415
9422
  const clearWorkspace = () => {
9416
9423
  ++switchEpoch;
@@ -9477,7 +9484,7 @@ function useOpenSelectedWorkspace() {
9477
9484
  const gone = !!openId && !!listed && !isFetching && reads > opened.current.reads && !listed.some((w) => w.external_id === openId);
9478
9485
  React.useEffect(() => {
9479
9486
  if (!archived) return;
9480
- chunkIX4HOS5Z_cjs.notify.info(archivedWorkspaceMessage(archived.name));
9487
+ chunk5ECKSF6H_cjs.notify.info(archivedWorkspaceMessage(archived.name));
9481
9488
  clearWorkspace();
9482
9489
  }, [archived, clearWorkspace]);
9483
9490
  React.useEffect(() => {
@@ -9814,16 +9821,16 @@ function useWorkspaceExportDownload({
9814
9821
  chunk6TJL4Z2F_cjs.downloadBlob(archive.blob, fileName);
9815
9822
  const files = `${archive.fileCount} file${archive.fileCount !== 1 ? "s" : ""}`;
9816
9823
  if (archive.failed.length === 0) {
9817
- chunkIX4HOS5Z_cjs.notify.success(`Successfully downloaded ${files} and data in ${fileName}`);
9824
+ chunk5ECKSF6H_cjs.notify.success(`Successfully downloaded ${files} and data in ${fileName}`);
9818
9825
  } else {
9819
- chunkIX4HOS5Z_cjs.notify.warning(
9826
+ chunk5ECKSF6H_cjs.notify.warning(
9820
9827
  `Downloaded ${files} in ${fileName}; ${archive.failed.length} could not be fetched (listed in manifest.json)`
9821
9828
  );
9822
9829
  }
9823
9830
  return true;
9824
9831
  } catch (error) {
9825
9832
  console.error("Workspace export failed:", error);
9826
- chunkIX4HOS5Z_cjs.notify.error("Failed to download. Please try again.");
9833
+ chunk5ECKSF6H_cjs.notify.error("Failed to download. Please try again.");
9827
9834
  return false;
9828
9835
  } finally {
9829
9836
  setProgress(null);
@@ -10330,7 +10337,7 @@ function useMigrateLegacyTableViews() {
10330
10337
  const arbi = chunkZZBCZRA5_cjs.useArbi();
10331
10338
  const queryClient = reactQuery.useQueryClient();
10332
10339
  const workspaceId = openWorkspaceId3(arbi);
10333
- const settings = chunkQWKTQYGM_cjs.useUserSettings({ enabled: !!workspaceId });
10340
+ const settings = chunkGVU3KYP3_cjs.useUserSettings({ enabled: !!workspaceId });
10334
10341
  const legacy = React.useMemo(() => settings.data?.tableviews ?? [], [settings.data?.tableviews]);
10335
10342
  const pending = !!workspaceId && legacy.some((v) => v.workspace === workspaceId);
10336
10343
  const [failed, setFailed] = React.useState(null);
@@ -11004,7 +11011,7 @@ function createWorkflowsSource(labels) {
11004
11011
  source: "workflows",
11005
11012
  label: l.source,
11006
11013
  description: l.description,
11007
- useAvailable: () => chunkQWKTQYGM_cjs.useFeature("workflows"),
11014
+ useAvailable: () => chunkGVU3KYP3_cjs.useFeature("workflows"),
11008
11015
  fields,
11009
11016
  useAggregateFields(enabled) {
11010
11017
  const nameOf = useNames(enabled);
@@ -12585,11 +12592,11 @@ function createArbiQueryClient({
12585
12592
  onError: (error) => {
12586
12593
  const { detail, code } = error ?? {};
12587
12594
  if (detail === "account_deletion_pending") {
12588
- chunkIX4HOS5Z_cjs.notify.error("Your account is read-only while deletion is pending.");
12595
+ chunk5ECKSF6H_cjs.notify.error("Your account is read-only while deletion is pending.");
12589
12596
  }
12590
12597
  if (code === client.SETTINGS_WRITE_BREAKER_CODE && Date.now() - breakerNoticeAt > BREAKER_NOTICE_MS) {
12591
12598
  breakerNoticeAt = Date.now();
12592
- chunkIX4HOS5Z_cjs.notify.warning("Settings are being saved too frequently", {
12599
+ chunk5ECKSF6H_cjs.notify.warning("Settings are being saved too frequently", {
12593
12600
  description: "Some changes were not saved. Refresh the page if this keeps happening.",
12594
12601
  duration: 1e4
12595
12602
  });
@@ -13437,13 +13444,13 @@ function useAssistantStatus(workspaceExtId) {
13437
13444
  return query;
13438
13445
  }
13439
13446
  function useRequestEmailChange() {
13440
- const { client } = chunkQWKTQYGM_cjs.useAccountClient();
13447
+ const { client } = chunkGVU3KYP3_cjs.useAccountClient();
13441
13448
  return reactQuery.useMutation({
13442
13449
  mutationFn: (newEmail) => client.requestEmailChange(newEmail)
13443
13450
  });
13444
13451
  }
13445
13452
  function useConfirmEmailChange() {
13446
- const { client } = chunkQWKTQYGM_cjs.useAccountClient();
13453
+ const { client } = chunkGVU3KYP3_cjs.useAccountClient();
13447
13454
  const qc = reactQuery.useQueryClient();
13448
13455
  return reactQuery.useMutation({
13449
13456
  mutationFn: ({ newEmail, code }) => client.confirmEmailChange(newEmail, code),
@@ -13511,7 +13518,7 @@ function useEmailChange({
13511
13518
  };
13512
13519
  }
13513
13520
  function usePasswordChange() {
13514
- const { client } = chunkQWKTQYGM_cjs.useAccountClient();
13521
+ const { client } = chunkGVU3KYP3_cjs.useAccountClient();
13515
13522
  return reactQuery.useMutation({
13516
13523
  mutationFn: (vars) => client.changePassword(vars)
13517
13524
  });
@@ -13605,8 +13612,8 @@ function usePasswordChangeForm({
13605
13612
  }
13606
13613
  function useDismissedTips() {
13607
13614
  const queryClient = reactQuery.useQueryClient();
13608
- const { data: userSettings } = chunkQWKTQYGM_cjs.useUserSettings();
13609
- const { mutate: updateUserSettings } = chunkQWKTQYGM_cjs.useUpdateUserSettings();
13615
+ const { data: userSettings } = chunkGVU3KYP3_cjs.useUserSettings();
13616
+ const { mutate: updateUserSettings } = chunkGVU3KYP3_cjs.useUpdateUserSettings();
13610
13617
  const loaded = userSettings !== void 0;
13611
13618
  const dismissed = userSettings?.dismissed_tips ?? [];
13612
13619
  const dismissTip = React.useCallback(
@@ -13640,7 +13647,7 @@ function toNotificationPreferences(stored, keys) {
13640
13647
  function useNotificationPreferences(keys, options) {
13641
13648
  const arbi = chunkZZBCZRA5_cjs.useArbi();
13642
13649
  const qc = reactQuery.useQueryClient();
13643
- const settings = chunkQWKTQYGM_cjs.useUserSettings(options);
13650
+ const settings = chunkGVU3KYP3_cjs.useUserSettings(options);
13644
13651
  const stored = settings.data?.email_notifications;
13645
13652
  const save = reactQuery.useMutation({
13646
13653
  mutationFn: (patch) => arbi.settings.update({ email_notifications: patch }),
@@ -13699,7 +13706,7 @@ function useRelevanceSave() {
13699
13706
  }
13700
13707
  function useWorkspaceNotificationLevel(workspaceId, options) {
13701
13708
  const qc = reactQuery.useQueryClient();
13702
- const settings = chunkQWKTQYGM_cjs.useUserSettings(options);
13709
+ const settings = chunkGVU3KYP3_cjs.useUserSettings(options);
13703
13710
  const save = useRelevanceSave();
13704
13711
  const level = workspaceId ? browser.settings.workspaceNotificationLevel(settings.data, workspaceId) : "default";
13705
13712
  const setLevel = React.useCallback(
@@ -13720,7 +13727,7 @@ function useWorkspaceNotificationLevel(workspaceId, options) {
13720
13727
  }
13721
13728
  function useFollowThread(conversationId, options) {
13722
13729
  const qc = reactQuery.useQueryClient();
13723
- const settings = chunkQWKTQYGM_cjs.useUserSettings(options);
13730
+ const settings = chunkGVU3KYP3_cjs.useUserSettings(options);
13724
13731
  const save = useRelevanceSave();
13725
13732
  const following = !!conversationId && !!settings.data?.followed_threads?.includes(conversationId);
13726
13733
  const setFollowing = React.useCallback(
@@ -13749,7 +13756,7 @@ function useFollowThread(conversationId, options) {
13749
13756
  };
13750
13757
  }
13751
13758
  function useSessions(options) {
13752
- const { client, enabled } = chunkQWKTQYGM_cjs.useAccountClient();
13759
+ const { client, enabled } = chunkGVU3KYP3_cjs.useAccountClient();
13753
13760
  return reactQuery.useQuery({
13754
13761
  queryKey: chunkZZBCZRA5_cjs.arbiQueryKeys.sessions(),
13755
13762
  queryFn: () => client.listSessions(),
@@ -13757,7 +13764,7 @@ function useSessions(options) {
13757
13764
  });
13758
13765
  }
13759
13766
  function useTerminateSession() {
13760
- const { client } = chunkQWKTQYGM_cjs.useAccountClient();
13767
+ const { client } = chunkGVU3KYP3_cjs.useAccountClient();
13761
13768
  const qc = reactQuery.useQueryClient();
13762
13769
  return reactQuery.useMutation({
13763
13770
  mutationFn: (sessionId) => client.terminateSession(sessionId),
@@ -13765,7 +13772,7 @@ function useTerminateSession() {
13765
13772
  });
13766
13773
  }
13767
13774
  function useSignOut() {
13768
- const { client } = chunkQWKTQYGM_cjs.useAccountClient();
13775
+ const { client } = chunkGVU3KYP3_cjs.useAccountClient();
13769
13776
  const qc = reactQuery.useQueryClient();
13770
13777
  return reactQuery.useMutation({
13771
13778
  mutationFn: (options = {}) => client.signOut(options),
@@ -13773,7 +13780,7 @@ function useSignOut() {
13773
13780
  });
13774
13781
  }
13775
13782
  function useCurrentSessionId() {
13776
- return chunkQWKTQYGM_cjs.useAccountClient().client.currentSessionId();
13783
+ return chunkGVU3KYP3_cjs.useAccountClient().client.currentSessionId();
13777
13784
  }
13778
13785
  function parseDeleteAccountBlockers(error) {
13779
13786
  const body = error?.apiError ?? error;
@@ -13788,7 +13795,7 @@ function parseDeleteAccountBlockers(error) {
13788
13795
  return [];
13789
13796
  }
13790
13797
  function useDeleteAccount() {
13791
- const { client } = chunkQWKTQYGM_cjs.useAccountClient();
13798
+ const { client } = chunkGVU3KYP3_cjs.useAccountClient();
13792
13799
  return reactQuery.useMutation({ mutationFn: () => client.requestDeletion() });
13793
13800
  }
13794
13801
  function useDeleteAccountFlow({
@@ -14110,7 +14117,7 @@ function useIdentityVerificationFlow(api, {
14110
14117
  };
14111
14118
  }
14112
14119
  function useIdentityVerification(options = {}) {
14113
- const { client, enabled } = chunkQWKTQYGM_cjs.useAccountClient();
14120
+ const { client, enabled } = chunkGVU3KYP3_cjs.useAccountClient();
14114
14121
  const qc = reactQuery.useQueryClient();
14115
14122
  const { onVerifiedChange, onNameAccepted, formatPrice } = options;
14116
14123
  return useIdentityVerificationFlow(client.identity, {
@@ -14209,8 +14216,8 @@ var SYNC_INTERVAL_MS = 5 * 60 * 1e3;
14209
14216
  var NEW_MAIL_DEBOUNCE_MS = 5e3;
14210
14217
  function useOfflineMailActive() {
14211
14218
  const { user, status } = chunk2MGJXBBJ_cjs.useArbiSession();
14212
- const mailEnabled = chunkQWKTQYGM_cjs.useFeature("mail");
14213
- const entitled = chunkQWKTQYGM_cjs.useIsEntitled("mail");
14219
+ const mailEnabled = chunkGVU3KYP3_cjs.useFeature("mail");
14220
+ const entitled = chunkGVU3KYP3_cjs.useIsEntitled("mail");
14214
14221
  const eligible = status === "signed-in" && !!user?.external_id && mailEnabled && entitled;
14215
14222
  const { data: policy } = useMailPolicy({ enabled: eligible });
14216
14223
  return eligible && !!policy?.enabled && (policy.native_enabled || policy.enabled_providers.length > 0);
@@ -14226,15 +14233,15 @@ function useOfflineMailRuntime({ openOutbox } = {}) {
14226
14233
  latest.current = { arbi, queryClient, openOutbox };
14227
14234
  React.useEffect(() => {
14228
14235
  if (!active || !userExtId) return;
14229
- chunkQWKTQYGM_cjs.claimOfflineMail(userExtId).catch(
14236
+ chunkGVU3KYP3_cjs.claimOfflineMail(userExtId).catch(
14230
14237
  (error) => client.logger.warn("[offline-mail] could not bind the store", error)
14231
14238
  );
14232
14239
  }, [active, userExtId]);
14233
14240
  React.useEffect(() => {
14234
14241
  if (!active || !userExtId) return;
14235
- return chunkQWKTQYGM_cjs.onOfflineMailChange((change) => {
14242
+ return chunkGVU3KYP3_cjs.onOfflineMailChange((change) => {
14236
14243
  if (change !== "settings") return;
14237
- trimOfflineMailbox(chunkQWKTQYGM_cjs.getOfflineMailSettings(userExtId)).then(
14244
+ trimOfflineMailbox(chunkGVU3KYP3_cjs.getOfflineMailSettings(userExtId)).then(
14238
14245
  () => latest.current.queryClient.invalidateQueries({ queryKey: chunkZZBCZRA5_cjs.mailQueryKeys.allMessages() })
14239
14246
  ).catch((error) => client.logger.warn("[offline-mail] could not trim the device copy", error));
14240
14247
  });
@@ -14259,7 +14266,7 @@ function useOfflineMailRuntime({ openOutbox } = {}) {
14259
14266
  const interval = setInterval(() => {
14260
14267
  if (document.visibilityState === "visible") run2();
14261
14268
  }, SYNC_INTERVAL_MS);
14262
- const enabled = () => chunkQWKTQYGM_cjs.getOfflineMailSettings(sessionUser(context().arbi)).enabled;
14269
+ const enabled = () => chunkGVU3KYP3_cjs.getOfflineMailSettings(sessionUser(context().arbi)).enabled;
14263
14270
  let newMailTimer = null;
14264
14271
  const offCache = queryClient.getQueryCache().subscribe((event) => {
14265
14272
  if (event.type !== "updated" || event.action.type !== "invalidate") return;
@@ -14267,7 +14274,7 @@ function useOfflineMailRuntime({ openOutbox } = {}) {
14267
14274
  if (newMailTimer) clearTimeout(newMailTimer);
14268
14275
  newMailTimer = setTimeout(() => void syncOfflineMailbox(context()), NEW_MAIL_DEBOUNCE_MS);
14269
14276
  });
14270
- const offSettings = chunkQWKTQYGM_cjs.onOfflineMailChange((change) => {
14277
+ const offSettings = chunkGVU3KYP3_cjs.onOfflineMailChange((change) => {
14271
14278
  if (change === "settings" && enabled()) void syncOfflineMailbox(context(), { full: true });
14272
14279
  if (change === "outbox") void flushOutbox(context());
14273
14280
  if (change === "changes") void flushOutbox(context());
@@ -14289,7 +14296,7 @@ function useStoreValue(load, initial, changes) {
14289
14296
  let alive = true;
14290
14297
  const read = () => load().then((next) => alive && setValue(next)).catch((error) => client.logger.warn("[offline-mail] read failed", error));
14291
14298
  void read();
14292
- const off = chunkQWKTQYGM_cjs.onOfflineMailChange((change) => {
14299
+ const off = chunkGVU3KYP3_cjs.onOfflineMailChange((change) => {
14293
14300
  if (change === "wiped") setValue(initial);
14294
14301
  if (change === "wiped" || key.split(",").includes(change)) void read();
14295
14302
  });
@@ -14303,18 +14310,18 @@ function useStoreValue(load, initial, changes) {
14303
14310
  function useOfflineMailSettings() {
14304
14311
  const userExtId = chunk2MGJXBBJ_cjs.useArbiSession().user?.external_id;
14305
14312
  const subscribe = React.useCallback(
14306
- (onChange) => chunkQWKTQYGM_cjs.onOfflineMailChange((change) => {
14313
+ (onChange) => chunkGVU3KYP3_cjs.onOfflineMailChange((change) => {
14307
14314
  if (change === "settings") onChange();
14308
14315
  }),
14309
14316
  []
14310
14317
  );
14311
14318
  const raw = React.useSyncExternalStore(
14312
14319
  subscribe,
14313
- () => JSON.stringify([userExtId, chunkQWKTQYGM_cjs.getOfflineMailSettings(userExtId)])
14320
+ () => JSON.stringify([userExtId, chunkGVU3KYP3_cjs.getOfflineMailSettings(userExtId)])
14314
14321
  );
14315
14322
  const settings = React.useMemo(() => JSON.parse(raw)[1], [raw]);
14316
14323
  const update2 = React.useCallback(
14317
- (patch) => void chunkQWKTQYGM_cjs.setOfflineMailSettings(userExtId, patch),
14324
+ (patch) => void chunkGVU3KYP3_cjs.setOfflineMailSettings(userExtId, patch),
14318
14325
  [userExtId]
14319
14326
  );
14320
14327
  return [settings, update2];
@@ -14324,7 +14331,7 @@ function useOfflineMailStatus() {
14324
14331
  const status = useStoreValue(getOfflineMailStatus, EMPTY_STATUS, ["status", "mailbox"]);
14325
14332
  const [syncing2, setSyncing] = React.useState(isMailSyncRunning);
14326
14333
  React.useEffect(
14327
- () => chunkQWKTQYGM_cjs.onOfflineMailChange((change) => {
14334
+ () => chunkGVU3KYP3_cjs.onOfflineMailChange((change) => {
14328
14335
  if (change === "status") setSyncing(isMailSyncRunning());
14329
14336
  }),
14330
14337
  []
@@ -14366,7 +14373,7 @@ function useSyncOfflineMailbox() {
14366
14373
  async function storeExists() {
14367
14374
  try {
14368
14375
  const databases = await indexedDB.databases?.();
14369
- return databases ? databases.some((d) => d.name === chunkQWKTQYGM_cjs.OFFLINE_MAIL_DB) : true;
14376
+ return databases ? databases.some((d) => d.name === chunkGVU3KYP3_cjs.OFFLINE_MAIL_DB) : true;
14370
14377
  } catch {
14371
14378
  return true;
14372
14379
  }
@@ -14424,7 +14431,7 @@ function useDisconnectConnector() {
14424
14431
  );
14425
14432
  }
14426
14433
  function useConnectorVendorVisibility() {
14427
- const { data: settings } = chunkQWKTQYGM_cjs.useUserSettings();
14434
+ const { data: settings } = chunkGVU3KYP3_cjs.useUserSettings();
14428
14435
  return (vendorKey) => browser.isConnectorVendorVisible(settings, vendorKey);
14429
14436
  }
14430
14437
  function connectorReturnTo(reopen) {
@@ -14602,7 +14609,7 @@ function checkNowAndOnFocus(check) {
14602
14609
  function useConnectorAutoSync(workspaceExtId, opened) {
14603
14610
  const arbi = chunkZZBCZRA5_cjs.useArbi();
14604
14611
  const qc = reactQuery.useQueryClient();
14605
- const hasMail = chunkQWKTQYGM_cjs.useIsEntitled("mail");
14612
+ const hasMail = chunkGVU3KYP3_cjs.useIsEntitled("mail");
14606
14613
  React.useEffect(() => {
14607
14614
  if (!opened || !workspaceExtId || !arbi.isLoggedIn) return;
14608
14615
  return checkNowAndOnFocus(() => {
@@ -15220,7 +15227,7 @@ var OfflineCalendarLockedError = class extends Error {
15220
15227
  this.name = "OfflineCalendarLockedError";
15221
15228
  }
15222
15229
  };
15223
- var store = chunkQWKTQYGM_cjs.createRecordStore(OFFLINE_CALENDAR_DB);
15230
+ var store = chunkGVU3KYP3_cjs.createRecordStore(OFFLINE_CALENDAR_DB);
15224
15231
  var sealer = client.createOfflineSealer("arbi-offline-calendar-v1", {
15225
15232
  locked: () => new OfflineCalendarLockedError()
15226
15233
  });
@@ -15494,7 +15501,7 @@ async function replay(arbi, queryClient) {
15494
15501
  }
15495
15502
  }
15496
15503
  if (result.failed)
15497
- chunkIX4HOS5Z_cjs.notify.error(
15504
+ chunk5ECKSF6H_cjs.notify.error(
15498
15505
  result.failed === 1 ? "A calendar change made offline could not be saved" : `${result.failed} calendar changes made offline could not be saved`
15499
15506
  );
15500
15507
  }
@@ -16417,7 +16424,7 @@ var IDLE = {
16417
16424
  };
16418
16425
  function useSemanticSearch(docIds = [], options = {}) {
16419
16426
  const arbi = chunkZZBCZRA5_cjs.useArbi();
16420
- const [ownSession] = React.useState(chunk6RRKO4ZK_cjs.createSearchSession);
16427
+ const [ownSession] = React.useState(chunk6HJZCIND_cjs.createSearchSession);
16421
16428
  const session = options.session ?? ownSession;
16422
16429
  const { model, workspaceId } = options;
16423
16430
  const state = React.useSyncExternalStore(session.subscribe, session.getState, session.getState);
@@ -16426,7 +16433,7 @@ function useSemanticSearch(docIds = [], options = {}) {
16426
16433
  if (!workspaceId) return;
16427
16434
  const current = session.getState().workspaceId;
16428
16435
  if (current !== workspaceId) {
16429
- if (current) chunk6RRKO4ZK_cjs.clearSearchSession(workspaceId, session);
16436
+ if (current) chunk6HJZCIND_cjs.clearSearchSession(workspaceId, session);
16430
16437
  else session.setState({ workspaceId });
16431
16438
  }
16432
16439
  }, [session, workspaceId]);
@@ -16434,7 +16441,7 @@ function useSemanticSearch(docIds = [], options = {}) {
16434
16441
  async (query, mode = "hybrid") => {
16435
16442
  const trimmed = query.trim();
16436
16443
  if (!trimmed) {
16437
- chunk6RRKO4ZK_cjs.clearSearchSession(void 0, session);
16444
+ chunk6HJZCIND_cjs.clearSearchSession(void 0, session);
16438
16445
  return;
16439
16446
  }
16440
16447
  const run2 = session.getState().run + 1;
@@ -16465,7 +16472,7 @@ function useSemanticSearch(docIds = [], options = {}) {
16465
16472
  },
16466
16473
  [arbi, docIds, model, session, workspaceId]
16467
16474
  );
16468
- const clear = React.useCallback(() => chunk6RRKO4ZK_cjs.clearSearchSession(void 0, session), [session]);
16475
+ const clear = React.useCallback(() => chunk6HJZCIND_cjs.clearSearchSession(void 0, session), [session]);
16469
16476
  const shown = foreign ? IDLE : state;
16470
16477
  return {
16471
16478
  query: shown.query,
@@ -17853,7 +17860,7 @@ function useChatUnreadTotal() {
17853
17860
  function useUnreadByPeer() {
17854
17861
  const arbi = chunkZZBCZRA5_cjs.useArbi();
17855
17862
  const { data = [] } = useChats();
17856
- const me = chunkQWKTQYGM_cjs.myChatId(arbi);
17863
+ const me = chunkGVU3KYP3_cjs.myChatId(arbi);
17857
17864
  return React.useMemo(() => {
17858
17865
  const out = /* @__PURE__ */ new Map();
17859
17866
  for (const c of data) {
@@ -17943,13 +17950,13 @@ function useChatPost() {
17943
17950
  const queryClient = reactQuery.useQueryClient();
17944
17951
  return React.useCallback(
17945
17952
  async (target, post) => {
17946
- const me = chunkQWKTQYGM_cjs.myChatId(arbi);
17953
+ const me = chunkGVU3KYP3_cjs.myChatId(arbi);
17947
17954
  if (!me) throw new Error("No active session");
17948
17955
  let chat = target.chat;
17949
17956
  if (!chat) {
17950
17957
  if (!target.peerExtId) throw new Error("Could not resolve the conversation");
17951
17958
  chat = await arbi.chats.openDirect(target.peerExtId);
17952
- chunkQWKTQYGM_cjs.upsertChat(queryClient, chat);
17959
+ chunkGVU3KYP3_cjs.upsertChat(queryClient, chat);
17953
17960
  queryClient.setQueryData(
17954
17961
  chunkZZBCZRA5_cjs.arbiQueryKeys.chatThread(chat.external_id),
17955
17962
  (old) => old ?? { messages: [], hasMore: false }
@@ -17972,7 +17979,7 @@ function useChatPost() {
17972
17979
  updated_at: now,
17973
17980
  optimistic: true
17974
17981
  };
17975
- chunkQWKTQYGM_cjs.appendToThread(queryClient, chat.external_id, optimistic);
17982
+ chunkGVU3KYP3_cjs.appendToThread(queryClient, chat.external_id, optimistic);
17976
17983
  try {
17977
17984
  let attachments = [];
17978
17985
  if (files.length) {
@@ -17992,15 +17999,15 @@ function useChatPost() {
17992
17999
  ...post.workspaceExtId ? { workspaceExtId: post.workspaceExtId } : {},
17993
18000
  contextOnly: !!post.contextOnly
17994
18001
  });
17995
- chunkQWKTQYGM_cjs.appendToThread(queryClient, chat.external_id, message, optimisticId);
17996
- chunkQWKTQYGM_cjs.upsertChat(queryClient, {
18002
+ chunkGVU3KYP3_cjs.appendToThread(queryClient, chat.external_id, message, optimisticId);
18003
+ chunkGVU3KYP3_cjs.upsertChat(queryClient, {
17997
18004
  ...chat,
17998
18005
  last_message: message,
17999
18006
  last_message_at: message.created_at
18000
18007
  });
18001
18008
  return { chat, message };
18002
18009
  } catch (err) {
18003
- chunkQWKTQYGM_cjs.dropFromThread(queryClient, chat.external_id, optimisticId);
18010
+ chunkGVU3KYP3_cjs.dropFromThread(queryClient, chat.external_id, optimisticId);
18004
18011
  void queryClient.invalidateQueries({ queryKey: chunkZZBCZRA5_cjs.arbiQueryKeys.chatList() });
18005
18012
  throw err;
18006
18013
  }
@@ -18012,7 +18019,7 @@ function useDeleteChatMessage() {
18012
18019
  const arbi = chunkZZBCZRA5_cjs.useArbi();
18013
18020
  const queryClient = reactQuery.useQueryClient();
18014
18021
  return React.useCallback(
18015
- (chatExtId, messageExtId) => chunkQWKTQYGM_cjs.deleteChatMessage(arbi, queryClient, chatExtId, messageExtId),
18022
+ (chatExtId, messageExtId) => chunkGVU3KYP3_cjs.deleteChatMessage(arbi, queryClient, chatExtId, messageExtId),
18016
18023
  [arbi, queryClient]
18017
18024
  );
18018
18025
  }
@@ -18021,7 +18028,7 @@ function useMarkChatRead() {
18021
18028
  const queryClient = reactQuery.useQueryClient();
18022
18029
  return React.useCallback(
18023
18030
  (chat, messageExtId) => {
18024
- chunkQWKTQYGM_cjs.upsertChat(queryClient, { ...chat, unread_count: 0 });
18031
+ chunkGVU3KYP3_cjs.upsertChat(queryClient, { ...chat, unread_count: 0 });
18025
18032
  return arbi.chats.markRead(chat.external_id, messageExtId).then(
18026
18033
  () => void 0,
18027
18034
  () => void 0
@@ -18035,7 +18042,7 @@ function useCreateGroupChat() {
18035
18042
  const queryClient = reactQuery.useQueryClient();
18036
18043
  return reactQuery.useMutation({
18037
18044
  mutationFn: (params) => arbi.chats.createGroup(params),
18038
- onSuccess: (chat) => chunkQWKTQYGM_cjs.upsertChat(queryClient, chat)
18045
+ onSuccess: (chat) => chunkGVU3KYP3_cjs.upsertChat(queryClient, chat)
18039
18046
  });
18040
18047
  }
18041
18048
  function useRenameChat() {
@@ -18043,7 +18050,7 @@ function useRenameChat() {
18043
18050
  const queryClient = reactQuery.useQueryClient();
18044
18051
  return reactQuery.useMutation({
18045
18052
  mutationFn: (vars) => arbi.chats.rename(vars.chat, vars.title),
18046
- onSuccess: (chat) => chunkQWKTQYGM_cjs.upsertChat(queryClient, chat)
18053
+ onSuccess: (chat) => chunkGVU3KYP3_cjs.upsertChat(queryClient, chat)
18047
18054
  });
18048
18055
  }
18049
18056
  function useAddChatMembers() {
@@ -18051,7 +18058,7 @@ function useAddChatMembers() {
18051
18058
  const queryClient = reactQuery.useQueryClient();
18052
18059
  return reactQuery.useMutation({
18053
18060
  mutationFn: (vars) => arbi.chats.addMembers(vars.chat, vars.members, { callKey: vars.callKey }),
18054
- onSuccess: (chat) => chunkQWKTQYGM_cjs.upsertChat(queryClient, chat)
18061
+ onSuccess: (chat) => chunkGVU3KYP3_cjs.upsertChat(queryClient, chat)
18055
18062
  });
18056
18063
  }
18057
18064
  function useRemoveChatMember() {
@@ -18060,7 +18067,7 @@ function useRemoveChatMember() {
18060
18067
  return reactQuery.useMutation({
18061
18068
  mutationFn: (vars) => arbi.chats.removeMember(vars.chat, vars.userExtId),
18062
18069
  onSuccess: (_data, vars) => {
18063
- if (vars.userExtId === chunkQWKTQYGM_cjs.myChatId(arbi)) chunkQWKTQYGM_cjs.removeChat(queryClient, vars.chat.external_id);
18070
+ if (vars.userExtId === chunkGVU3KYP3_cjs.myChatId(arbi)) chunkGVU3KYP3_cjs.removeChat(queryClient, vars.chat.external_id);
18064
18071
  else return queryClient.invalidateQueries({ queryKey: chunkZZBCZRA5_cjs.arbiQueryKeys.chatList() });
18065
18072
  }
18066
18073
  });
@@ -18070,11 +18077,11 @@ function useChatArrivals(onArrival) {
18070
18077
  const queryClient = reactQuery.useQueryClient();
18071
18078
  useArbiWsMessage("chat.message", (message) => {
18072
18079
  const senderId = message.message.sender_ext_id;
18073
- if (!senderId || senderId === chunkQWKTQYGM_cjs.myChatId(arbi)) return;
18074
- if (message.message.kind !== "text" || chunkQWKTQYGM_cjs.getOpenChat() === message.chat_ext_id) return;
18080
+ if (!senderId || senderId === chunkGVU3KYP3_cjs.myChatId(arbi)) return;
18081
+ if (message.message.kind !== "text" || chunkGVU3KYP3_cjs.getOpenChat() === message.chat_ext_id) return;
18075
18082
  const muted = queryClient.getQueriesData({ queryKey: chunkZZBCZRA5_cjs.arbiQueryKeys.userSettings() }).map(([, data]) => data).find(Boolean)?.muted_users;
18076
18083
  if (muted?.includes(senderId)) return;
18077
- const chat = chunkQWKTQYGM_cjs.cachedChat(queryClient, message.chat_ext_id);
18084
+ const chat = chunkGVU3KYP3_cjs.cachedChat(queryClient, message.chat_ext_id);
18078
18085
  const sender = chat?.members.find((m) => m.user.external_id === senderId)?.user;
18079
18086
  onArrival({
18080
18087
  chatId: message.chat_ext_id,
@@ -18141,7 +18148,7 @@ function dmFileShareEntries({
18141
18148
  function useDmFileShares(peer) {
18142
18149
  const arbi = chunkZZBCZRA5_cjs.useArbi();
18143
18150
  const queryClient = reactQuery.useQueryClient();
18144
- const me = chunkQWKTQYGM_cjs.myChatId(arbi);
18151
+ const me = chunkGVU3KYP3_cjs.myChatId(arbi);
18145
18152
  const person = peer && peer.external_id.startsWith("usr-") && me ? peer : null;
18146
18153
  const list = chunk6TJL4Z2F_cjs.useFileShares(person && arbi.isLoggedIn ? arbi.getClient().fetch : null);
18147
18154
  const { data: notifications = [] } = useNotifications({ enabled: !!person });
@@ -18454,775 +18461,775 @@ function useRateSupportTicket() {
18454
18461
 
18455
18462
  Object.defineProperty(exports, "AUDIENCE_CHOICES", {
18456
18463
  enumerable: true,
18457
- get: function () { return chunkQWKTQYGM_cjs.AUDIENCE_CHOICES; }
18464
+ get: function () { return chunkGVU3KYP3_cjs.AUDIENCE_CHOICES; }
18458
18465
  });
18459
18466
  Object.defineProperty(exports, "CALL_CAPTION_TOPIC", {
18460
18467
  enumerable: true,
18461
- get: function () { return chunkQWKTQYGM_cjs.CALL_CAPTION_TOPIC; }
18468
+ get: function () { return chunkGVU3KYP3_cjs.CALL_CAPTION_TOPIC; }
18462
18469
  });
18463
18470
  Object.defineProperty(exports, "CALL_CHAT_MAX_CHARS", {
18464
18471
  enumerable: true,
18465
- get: function () { return chunkQWKTQYGM_cjs.CALL_CHAT_MAX_CHARS; }
18472
+ get: function () { return chunkGVU3KYP3_cjs.CALL_CHAT_MAX_CHARS; }
18466
18473
  });
18467
18474
  Object.defineProperty(exports, "CALL_CHAT_TOPIC", {
18468
18475
  enumerable: true,
18469
- get: function () { return chunkQWKTQYGM_cjs.CALL_CHAT_TOPIC; }
18476
+ get: function () { return chunkGVU3KYP3_cjs.CALL_CHAT_TOPIC; }
18470
18477
  });
18471
18478
  Object.defineProperty(exports, "CALL_MODERATION_TOPIC", {
18472
18479
  enumerable: true,
18473
- get: function () { return chunkQWKTQYGM_cjs.CALL_MODERATION_TOPIC; }
18480
+ get: function () { return chunkGVU3KYP3_cjs.CALL_MODERATION_TOPIC; }
18474
18481
  });
18475
18482
  Object.defineProperty(exports, "CALL_RECORDING_TOPIC", {
18476
18483
  enumerable: true,
18477
- get: function () { return chunkQWKTQYGM_cjs.CALL_RECORDING_TOPIC; }
18484
+ get: function () { return chunkGVU3KYP3_cjs.CALL_RECORDING_TOPIC; }
18478
18485
  });
18479
18486
  Object.defineProperty(exports, "CALL_TRANSCRIPTION_TOPIC", {
18480
18487
  enumerable: true,
18481
- get: function () { return chunkQWKTQYGM_cjs.CALL_TRANSCRIPTION_TOPIC; }
18488
+ get: function () { return chunkGVU3KYP3_cjs.CALL_TRANSCRIPTION_TOPIC; }
18482
18489
  });
18483
18490
  Object.defineProperty(exports, "CALL_WEBINAR_TOPIC", {
18484
18491
  enumerable: true,
18485
- get: function () { return chunkQWKTQYGM_cjs.CALL_WEBINAR_TOPIC; }
18492
+ get: function () { return chunkGVU3KYP3_cjs.CALL_WEBINAR_TOPIC; }
18486
18493
  });
18487
18494
  Object.defineProperty(exports, "CAPTION_MAX_CHARS", {
18488
18495
  enumerable: true,
18489
- get: function () { return chunkQWKTQYGM_cjs.CAPTION_MAX_CHARS; }
18496
+ get: function () { return chunkGVU3KYP3_cjs.CAPTION_MAX_CHARS; }
18490
18497
  });
18491
18498
  Object.defineProperty(exports, "COMPOSITE_AUDIO_BITS_PER_SECOND", {
18492
18499
  enumerable: true,
18493
- get: function () { return chunkQWKTQYGM_cjs.COMPOSITE_AUDIO_BITS_PER_SECOND; }
18500
+ get: function () { return chunkGVU3KYP3_cjs.COMPOSITE_AUDIO_BITS_PER_SECOND; }
18494
18501
  });
18495
18502
  Object.defineProperty(exports, "COMPOSITE_VIDEO_BITS_PER_SECOND", {
18496
18503
  enumerable: true,
18497
- get: function () { return chunkQWKTQYGM_cjs.COMPOSITE_VIDEO_BITS_PER_SECOND; }
18504
+ get: function () { return chunkGVU3KYP3_cjs.COMPOSITE_VIDEO_BITS_PER_SECOND; }
18498
18505
  });
18499
18506
  Object.defineProperty(exports, "DEFAULT_JOIN_CHOICES", {
18500
18507
  enumerable: true,
18501
- get: function () { return chunkQWKTQYGM_cjs.DEFAULT_JOIN_CHOICES; }
18508
+ get: function () { return chunkGVU3KYP3_cjs.DEFAULT_JOIN_CHOICES; }
18502
18509
  });
18503
18510
  Object.defineProperty(exports, "EMPTY_CALL_SESSION", {
18504
18511
  enumerable: true,
18505
- get: function () { return chunkQWKTQYGM_cjs.EMPTY_CALL_SESSION; }
18512
+ get: function () { return chunkGVU3KYP3_cjs.EMPTY_CALL_SESSION; }
18506
18513
  });
18507
18514
  Object.defineProperty(exports, "EXPORT_SAMPLE_RATE", {
18508
18515
  enumerable: true,
18509
- get: function () { return chunkQWKTQYGM_cjs.EXPORT_SAMPLE_RATE; }
18516
+ get: function () { return chunkGVU3KYP3_cjs.EXPORT_SAMPLE_RATE; }
18510
18517
  });
18511
18518
  Object.defineProperty(exports, "HISTORY_LIMIT", {
18512
18519
  enumerable: true,
18513
- get: function () { return chunkQWKTQYGM_cjs.HISTORY_LIMIT; }
18520
+ get: function () { return chunkGVU3KYP3_cjs.HISTORY_LIMIT; }
18514
18521
  });
18515
18522
  Object.defineProperty(exports, "LIVE_SEGMENTER", {
18516
18523
  enumerable: true,
18517
- get: function () { return chunkQWKTQYGM_cjs.LIVE_SEGMENTER; }
18524
+ get: function () { return chunkGVU3KYP3_cjs.LIVE_SEGMENTER; }
18518
18525
  });
18519
18526
  Object.defineProperty(exports, "MAX_AVATAR_FILE_BYTES", {
18520
18527
  enumerable: true,
18521
- get: function () { return chunkQWKTQYGM_cjs.MAX_AVATAR_FILE_BYTES; }
18528
+ get: function () { return chunkGVU3KYP3_cjs.MAX_AVATAR_FILE_BYTES; }
18522
18529
  });
18523
18530
  Object.defineProperty(exports, "MUTED_DEDUPE_MS", {
18524
18531
  enumerable: true,
18525
- get: function () { return chunkQWKTQYGM_cjs.MUTED_DEDUPE_MS; }
18532
+ get: function () { return chunkGVU3KYP3_cjs.MUTED_DEDUPE_MS; }
18526
18533
  });
18527
18534
  Object.defineProperty(exports, "PLAYBACK_LOOKAHEAD_MS", {
18528
18535
  enumerable: true,
18529
- get: function () { return chunkQWKTQYGM_cjs.PLAYBACK_LOOKAHEAD_MS; }
18536
+ get: function () { return chunkGVU3KYP3_cjs.PLAYBACK_LOOKAHEAD_MS; }
18530
18537
  });
18531
18538
  Object.defineProperty(exports, "READ_ONLY_MEETING_TEXT", {
18532
18539
  enumerable: true,
18533
- get: function () { return chunkQWKTQYGM_cjs.READ_ONLY_MEETING_TEXT; }
18540
+ get: function () { return chunkGVU3KYP3_cjs.READ_ONLY_MEETING_TEXT; }
18534
18541
  });
18535
18542
  Object.defineProperty(exports, "RECORDING_CHUNK_MS", {
18536
18543
  enumerable: true,
18537
- get: function () { return chunkQWKTQYGM_cjs.RECORDING_CHUNK_MS; }
18544
+ get: function () { return chunkGVU3KYP3_cjs.RECORDING_CHUNK_MS; }
18538
18545
  });
18539
18546
  Object.defineProperty(exports, "RECORDING_SEGMENTER", {
18540
18547
  enumerable: true,
18541
- get: function () { return chunkQWKTQYGM_cjs.RECORDING_SEGMENTER; }
18548
+ get: function () { return chunkGVU3KYP3_cjs.RECORDING_SEGMENTER; }
18542
18549
  });
18543
18550
  Object.defineProperty(exports, "SEGMENT_FRAME_MS", {
18544
18551
  enumerable: true,
18545
- get: function () { return chunkQWKTQYGM_cjs.SEGMENT_FRAME_MS; }
18552
+ get: function () { return chunkGVU3KYP3_cjs.SEGMENT_FRAME_MS; }
18546
18553
  });
18547
18554
  Object.defineProperty(exports, "SEGMENT_ID_PATTERN", {
18548
18555
  enumerable: true,
18549
- get: function () { return chunkQWKTQYGM_cjs.SEGMENT_ID_PATTERN; }
18556
+ get: function () { return chunkGVU3KYP3_cjs.SEGMENT_ID_PATTERN; }
18550
18557
  });
18551
18558
  Object.defineProperty(exports, "SEGMENT_PRE_ROLL_MS", {
18552
18559
  enumerable: true,
18553
- get: function () { return chunkQWKTQYGM_cjs.SEGMENT_PRE_ROLL_MS; }
18560
+ get: function () { return chunkGVU3KYP3_cjs.SEGMENT_PRE_ROLL_MS; }
18554
18561
  });
18555
18562
  Object.defineProperty(exports, "SHORT_PIECE_MERGE_GAP_MS", {
18556
18563
  enumerable: true,
18557
- get: function () { return chunkQWKTQYGM_cjs.SHORT_PIECE_MERGE_GAP_MS; }
18564
+ get: function () { return chunkGVU3KYP3_cjs.SHORT_PIECE_MERGE_GAP_MS; }
18558
18565
  });
18559
18566
  Object.defineProperty(exports, "SPEAKER_AUDIO_BITS_PER_SECOND", {
18560
18567
  enumerable: true,
18561
- get: function () { return chunkQWKTQYGM_cjs.SPEAKER_AUDIO_BITS_PER_SECOND; }
18568
+ get: function () { return chunkGVU3KYP3_cjs.SPEAKER_AUDIO_BITS_PER_SECOND; }
18562
18569
  });
18563
18570
  Object.defineProperty(exports, "TrackUploader", {
18564
18571
  enumerable: true,
18565
- get: function () { return chunkQWKTQYGM_cjs.TrackUploader; }
18572
+ get: function () { return chunkGVU3KYP3_cjs.TrackUploader; }
18566
18573
  });
18567
18574
  Object.defineProperty(exports, "UPLOAD_ATTEMPTS", {
18568
18575
  enumerable: true,
18569
- get: function () { return chunkQWKTQYGM_cjs.UPLOAD_ATTEMPTS; }
18576
+ get: function () { return chunkGVU3KYP3_cjs.UPLOAD_ATTEMPTS; }
18570
18577
  });
18571
18578
  Object.defineProperty(exports, "UPLOAD_BACKOFF_MS", {
18572
18579
  enumerable: true,
18573
- get: function () { return chunkQWKTQYGM_cjs.UPLOAD_BACKOFF_MS; }
18580
+ get: function () { return chunkGVU3KYP3_cjs.UPLOAD_BACKOFF_MS; }
18574
18581
  });
18575
18582
  Object.defineProperty(exports, "acceptRing", {
18576
18583
  enumerable: true,
18577
- get: function () { return chunkQWKTQYGM_cjs.acceptRing; }
18584
+ get: function () { return chunkGVU3KYP3_cjs.acceptRing; }
18578
18585
  });
18579
18586
  Object.defineProperty(exports, "addConversationToList", {
18580
18587
  enumerable: true,
18581
- get: function () { return chunkQWKTQYGM_cjs.addConversationToList; }
18588
+ get: function () { return chunkGVU3KYP3_cjs.addConversationToList; }
18582
18589
  });
18583
18590
  Object.defineProperty(exports, "appendToThread", {
18584
18591
  enumerable: true,
18585
- get: function () { return chunkQWKTQYGM_cjs.appendToThread; }
18592
+ get: function () { return chunkGVU3KYP3_cjs.appendToThread; }
18586
18593
  });
18587
18594
  Object.defineProperty(exports, "applyAgentDmStatus", {
18588
18595
  enumerable: true,
18589
- get: function () { return chunkQWKTQYGM_cjs.applyAgentDmStatus; }
18596
+ get: function () { return chunkGVU3KYP3_cjs.applyAgentDmStatus; }
18590
18597
  });
18591
18598
  Object.defineProperty(exports, "applyCallEvent", {
18592
18599
  enumerable: true,
18593
- get: function () { return chunkQWKTQYGM_cjs.applyCallEvent; }
18600
+ get: function () { return chunkGVU3KYP3_cjs.applyCallEvent; }
18594
18601
  });
18595
18602
  Object.defineProperty(exports, "applyChatEvent", {
18596
18603
  enumerable: true,
18597
- get: function () { return chunkQWKTQYGM_cjs.applyChatEvent; }
18604
+ get: function () { return chunkGVU3KYP3_cjs.applyChatEvent; }
18598
18605
  });
18599
18606
  Object.defineProperty(exports, "applyChatMessage", {
18600
18607
  enumerable: true,
18601
- get: function () { return chunkQWKTQYGM_cjs.applyChatMessage; }
18608
+ get: function () { return chunkGVU3KYP3_cjs.applyChatMessage; }
18602
18609
  });
18603
18610
  Object.defineProperty(exports, "applyChatRead", {
18604
18611
  enumerable: true,
18605
- get: function () { return chunkQWKTQYGM_cjs.applyChatRead; }
18612
+ get: function () { return chunkGVU3KYP3_cjs.applyChatRead; }
18606
18613
  });
18607
18614
  Object.defineProperty(exports, "applyChatUpdated", {
18608
18615
  enumerable: true,
18609
- get: function () { return chunkQWKTQYGM_cjs.applyChatUpdated; }
18616
+ get: function () { return chunkGVU3KYP3_cjs.applyChatUpdated; }
18610
18617
  });
18611
18618
  Object.defineProperty(exports, "arbiAccountClient", {
18612
18619
  enumerable: true,
18613
- get: function () { return chunkQWKTQYGM_cjs.arbiAccountClient; }
18620
+ get: function () { return chunkGVU3KYP3_cjs.arbiAccountClient; }
18614
18621
  });
18615
18622
  Object.defineProperty(exports, "buildMeetingChatBody", {
18616
18623
  enumerable: true,
18617
- get: function () { return chunkQWKTQYGM_cjs.buildMeetingChatBody; }
18624
+ get: function () { return chunkGVU3KYP3_cjs.buildMeetingChatBody; }
18618
18625
  });
18619
18626
  Object.defineProperty(exports, "cachedChat", {
18620
18627
  enumerable: true,
18621
- get: function () { return chunkQWKTQYGM_cjs.cachedChat; }
18628
+ get: function () { return chunkGVU3KYP3_cjs.cachedChat; }
18622
18629
  });
18623
18630
  Object.defineProperty(exports, "cachedChats", {
18624
18631
  enumerable: true,
18625
- get: function () { return chunkQWKTQYGM_cjs.cachedChats; }
18632
+ get: function () { return chunkGVU3KYP3_cjs.cachedChats; }
18626
18633
  });
18627
18634
  Object.defineProperty(exports, "callLink", {
18628
18635
  enumerable: true,
18629
- get: function () { return chunkQWKTQYGM_cjs.callLink; }
18636
+ get: function () { return chunkGVU3KYP3_cjs.callLink; }
18630
18637
  });
18631
18638
  Object.defineProperty(exports, "callMemberKeys", {
18632
18639
  enumerable: true,
18633
- get: function () { return chunkQWKTQYGM_cjs.callMemberKeys; }
18640
+ get: function () { return chunkGVU3KYP3_cjs.callMemberKeys; }
18634
18641
  });
18635
18642
  Object.defineProperty(exports, "callSession", {
18636
18643
  enumerable: true,
18637
- get: function () { return chunkQWKTQYGM_cjs.callSession; }
18644
+ get: function () { return chunkGVU3KYP3_cjs.callSession; }
18638
18645
  });
18639
18646
  Object.defineProperty(exports, "chatByExtId", {
18640
18647
  enumerable: true,
18641
- get: function () { return chunkQWKTQYGM_cjs.chatByExtId; }
18648
+ get: function () { return chunkGVU3KYP3_cjs.chatByExtId; }
18642
18649
  });
18643
18650
  Object.defineProperty(exports, "chatHasLiveCall", {
18644
18651
  enumerable: true,
18645
- get: function () { return chunkQWKTQYGM_cjs.chatHasLiveCall; }
18652
+ get: function () { return chunkGVU3KYP3_cjs.chatHasLiveCall; }
18646
18653
  });
18647
18654
  Object.defineProperty(exports, "chatLiveCallId", {
18648
18655
  enumerable: true,
18649
- get: function () { return chunkQWKTQYGM_cjs.chatLiveCallId; }
18656
+ get: function () { return chunkGVU3KYP3_cjs.chatLiveCallId; }
18650
18657
  });
18651
18658
  Object.defineProperty(exports, "chatTranscriptRef", {
18652
18659
  enumerable: true,
18653
- get: function () { return chunkQWKTQYGM_cjs.chatTranscriptRef; }
18660
+ get: function () { return chunkGVU3KYP3_cjs.chatTranscriptRef; }
18654
18661
  });
18655
18662
  Object.defineProperty(exports, "clearMeetingChatCache", {
18656
18663
  enumerable: true,
18657
- get: function () { return chunkQWKTQYGM_cjs.clearMeetingChatCache; }
18664
+ get: function () { return chunkGVU3KYP3_cjs.clearMeetingChatCache; }
18658
18665
  });
18659
18666
  Object.defineProperty(exports, "clearTrackUploaders", {
18660
18667
  enumerable: true,
18661
- get: function () { return chunkQWKTQYGM_cjs.clearTrackUploaders; }
18668
+ get: function () { return chunkGVU3KYP3_cjs.clearTrackUploaders; }
18662
18669
  });
18663
18670
  Object.defineProperty(exports, "clockTime", {
18664
18671
  enumerable: true,
18665
- get: function () { return chunkQWKTQYGM_cjs.clockTime; }
18672
+ get: function () { return chunkGVU3KYP3_cjs.clockTime; }
18666
18673
  });
18667
18674
  Object.defineProperty(exports, "compositeFiles", {
18668
18675
  enumerable: true,
18669
- get: function () { return chunkQWKTQYGM_cjs.compositeFiles; }
18676
+ get: function () { return chunkGVU3KYP3_cjs.compositeFiles; }
18670
18677
  });
18671
18678
  Object.defineProperty(exports, "compositeTrack", {
18672
18679
  enumerable: true,
18673
- get: function () { return chunkQWKTQYGM_cjs.compositeTrack; }
18680
+ get: function () { return chunkGVU3KYP3_cjs.compositeTrack; }
18674
18681
  });
18675
18682
  Object.defineProperty(exports, "conversationKeyForCall", {
18676
18683
  enumerable: true,
18677
- get: function () { return chunkQWKTQYGM_cjs.conversationKeyForCall; }
18684
+ get: function () { return chunkGVU3KYP3_cjs.conversationKeyForCall; }
18678
18685
  });
18679
18686
  Object.defineProperty(exports, "createLocalFeatureStore", {
18680
18687
  enumerable: true,
18681
- get: function () { return chunkQWKTQYGM_cjs.createLocalFeatureStore; }
18688
+ get: function () { return chunkGVU3KYP3_cjs.createLocalFeatureStore; }
18682
18689
  });
18683
18690
  Object.defineProperty(exports, "createMutedNotifier", {
18684
18691
  enumerable: true,
18685
- get: function () { return chunkQWKTQYGM_cjs.createMutedNotifier; }
18692
+ get: function () { return chunkGVU3KYP3_cjs.createMutedNotifier; }
18686
18693
  });
18687
18694
  Object.defineProperty(exports, "createTrackCutter", {
18688
18695
  enumerable: true,
18689
- get: function () { return chunkQWKTQYGM_cjs.createTrackCutter; }
18696
+ get: function () { return chunkGVU3KYP3_cjs.createTrackCutter; }
18690
18697
  });
18691
18698
  Object.defineProperty(exports, "cutAtPauses", {
18692
18699
  enumerable: true,
18693
- get: function () { return chunkQWKTQYGM_cjs.cutAtPauses; }
18700
+ get: function () { return chunkGVU3KYP3_cjs.cutAtPauses; }
18694
18701
  });
18695
18702
  Object.defineProperty(exports, "declineRing", {
18696
18703
  enumerable: true,
18697
- get: function () { return chunkQWKTQYGM_cjs.declineRing; }
18704
+ get: function () { return chunkGVU3KYP3_cjs.declineRing; }
18698
18705
  });
18699
18706
  Object.defineProperty(exports, "decodeCallChatPacket", {
18700
18707
  enumerable: true,
18701
- get: function () { return chunkQWKTQYGM_cjs.decodeCallChatPacket; }
18708
+ get: function () { return chunkGVU3KYP3_cjs.decodeCallChatPacket; }
18702
18709
  });
18703
18710
  Object.defineProperty(exports, "decodeCaptionPacket", {
18704
18711
  enumerable: true,
18705
- get: function () { return chunkQWKTQYGM_cjs.decodeCaptionPacket; }
18712
+ get: function () { return chunkGVU3KYP3_cjs.decodeCaptionPacket; }
18706
18713
  });
18707
18714
  Object.defineProperty(exports, "decodeMono16k", {
18708
18715
  enumerable: true,
18709
- get: function () { return chunkQWKTQYGM_cjs.decodeMono16k; }
18716
+ get: function () { return chunkGVU3KYP3_cjs.decodeMono16k; }
18710
18717
  });
18711
18718
  Object.defineProperty(exports, "decryptPart", {
18712
18719
  enumerable: true,
18713
- get: function () { return chunkQWKTQYGM_cjs.decryptPart; }
18720
+ get: function () { return chunkGVU3KYP3_cjs.decryptPart; }
18714
18721
  });
18715
18722
  Object.defineProperty(exports, "encodeCallChatPacket", {
18716
18723
  enumerable: true,
18717
- get: function () { return chunkQWKTQYGM_cjs.encodeCallChatPacket; }
18724
+ get: function () { return chunkGVU3KYP3_cjs.encodeCallChatPacket; }
18718
18725
  });
18719
18726
  Object.defineProperty(exports, "encodeCaptionPacket", {
18720
18727
  enumerable: true,
18721
- get: function () { return chunkQWKTQYGM_cjs.encodeCaptionPacket; }
18728
+ get: function () { return chunkGVU3KYP3_cjs.encodeCaptionPacket; }
18722
18729
  });
18723
18730
  Object.defineProperty(exports, "encodeWav", {
18724
18731
  enumerable: true,
18725
- get: function () { return chunkQWKTQYGM_cjs.encodeWav; }
18732
+ get: function () { return chunkGVU3KYP3_cjs.encodeWav; }
18726
18733
  });
18727
18734
  Object.defineProperty(exports, "encryptPart", {
18728
18735
  enumerable: true,
18729
- get: function () { return chunkQWKTQYGM_cjs.encryptPart; }
18736
+ get: function () { return chunkGVU3KYP3_cjs.encryptPart; }
18730
18737
  });
18731
18738
  Object.defineProperty(exports, "ensureMeetingChat", {
18732
18739
  enumerable: true,
18733
- get: function () { return chunkQWKTQYGM_cjs.ensureMeetingChat; }
18740
+ get: function () { return chunkGVU3KYP3_cjs.ensureMeetingChat; }
18734
18741
  });
18735
18742
  Object.defineProperty(exports, "entitlementRefusal", {
18736
18743
  enumerable: true,
18737
- get: function () { return chunkQWKTQYGM_cjs.entitlementRefusal; }
18744
+ get: function () { return chunkGVU3KYP3_cjs.entitlementRefusal; }
18738
18745
  });
18739
18746
  Object.defineProperty(exports, "extensionFor", {
18740
18747
  enumerable: true,
18741
- get: function () { return chunkQWKTQYGM_cjs.extensionFor; }
18748
+ get: function () { return chunkGVU3KYP3_cjs.extensionFor; }
18742
18749
  });
18743
18750
  Object.defineProperty(exports, "fetchPart", {
18744
18751
  enumerable: true,
18745
- get: function () { return chunkQWKTQYGM_cjs.fetchPart; }
18752
+ get: function () { return chunkGVU3KYP3_cjs.fetchPart; }
18746
18753
  });
18747
18754
  Object.defineProperty(exports, "fileSafe", {
18748
18755
  enumerable: true,
18749
- get: function () { return chunkQWKTQYGM_cjs.fileSafe; }
18756
+ get: function () { return chunkGVU3KYP3_cjs.fileSafe; }
18750
18757
  });
18751
18758
  Object.defineProperty(exports, "findConversation", {
18752
18759
  enumerable: true,
18753
- get: function () { return chunkQWKTQYGM_cjs.findConversation; }
18760
+ get: function () { return chunkGVU3KYP3_cjs.findConversation; }
18754
18761
  });
18755
18762
  Object.defineProperty(exports, "floatToWav", {
18756
18763
  enumerable: true,
18757
- get: function () { return chunkQWKTQYGM_cjs.floatToWav; }
18764
+ get: function () { return chunkGVU3KYP3_cjs.floatToWav; }
18758
18765
  });
18759
18766
  Object.defineProperty(exports, "formatTranscriptMarkdown", {
18760
18767
  enumerable: true,
18761
- get: function () { return chunkQWKTQYGM_cjs.formatTranscriptMarkdown; }
18768
+ get: function () { return chunkGVU3KYP3_cjs.formatTranscriptMarkdown; }
18762
18769
  });
18763
18770
  Object.defineProperty(exports, "getOpenChat", {
18764
18771
  enumerable: true,
18765
- get: function () { return chunkQWKTQYGM_cjs.getOpenChat; }
18772
+ get: function () { return chunkGVU3KYP3_cjs.getOpenChat; }
18766
18773
  });
18767
18774
  Object.defineProperty(exports, "hasRecordingTranscript", {
18768
18775
  enumerable: true,
18769
- get: function () { return chunkQWKTQYGM_cjs.hasRecordingTranscript; }
18776
+ get: function () { return chunkGVU3KYP3_cjs.hasRecordingTranscript; }
18770
18777
  });
18771
18778
  Object.defineProperty(exports, "invalidateCall", {
18772
18779
  enumerable: true,
18773
- get: function () { return chunkQWKTQYGM_cjs.invalidateCall; }
18780
+ get: function () { return chunkGVU3KYP3_cjs.invalidateCall; }
18774
18781
  });
18775
18782
  Object.defineProperty(exports, "invalidateConversationDetails", {
18776
18783
  enumerable: true,
18777
- get: function () { return chunkQWKTQYGM_cjs.invalidateConversationDetails; }
18784
+ get: function () { return chunkGVU3KYP3_cjs.invalidateConversationDetails; }
18778
18785
  });
18779
18786
  Object.defineProperty(exports, "invalidateConversationLists", {
18780
18787
  enumerable: true,
18781
- get: function () { return chunkQWKTQYGM_cjs.invalidateConversationLists; }
18788
+ get: function () { return chunkGVU3KYP3_cjs.invalidateConversationLists; }
18782
18789
  });
18783
18790
  Object.defineProperty(exports, "isConversationListKey", {
18784
18791
  enumerable: true,
18785
- get: function () { return chunkQWKTQYGM_cjs.isConversationListKey; }
18792
+ get: function () { return chunkGVU3KYP3_cjs.isConversationListKey; }
18786
18793
  });
18787
18794
  Object.defineProperty(exports, "isConversationShared", {
18788
18795
  enumerable: true,
18789
- get: function () { return chunkQWKTQYGM_cjs.isConversationShared; }
18796
+ get: function () { return chunkGVU3KYP3_cjs.isConversationShared; }
18790
18797
  });
18791
18798
  Object.defineProperty(exports, "isRecordingOver", {
18792
18799
  enumerable: true,
18793
- get: function () { return chunkQWKTQYGM_cjs.isRecordingOver; }
18800
+ get: function () { return chunkGVU3KYP3_cjs.isRecordingOver; }
18794
18801
  });
18795
18802
  Object.defineProperty(exports, "isRecordingSegmentId", {
18796
18803
  enumerable: true,
18797
- get: function () { return chunkQWKTQYGM_cjs.isRecordingSegmentId; }
18804
+ get: function () { return chunkGVU3KYP3_cjs.isRecordingSegmentId; }
18798
18805
  });
18799
18806
  Object.defineProperty(exports, "isRetryable", {
18800
18807
  enumerable: true,
18801
- get: function () { return chunkQWKTQYGM_cjs.isRetryable; }
18808
+ get: function () { return chunkGVU3KYP3_cjs.isRetryable; }
18802
18809
  });
18803
18810
  Object.defineProperty(exports, "isWorkspaceGuestOf", {
18804
18811
  enumerable: true,
18805
- get: function () { return chunkQWKTQYGM_cjs.isWorkspaceGuestOf; }
18812
+ get: function () { return chunkGVU3KYP3_cjs.isWorkspaceGuestOf; }
18806
18813
  });
18807
18814
  Object.defineProperty(exports, "joinFromPreJoin", {
18808
18815
  enumerable: true,
18809
- get: function () { return chunkQWKTQYGM_cjs.joinFromPreJoin; }
18816
+ get: function () { return chunkGVU3KYP3_cjs.joinFromPreJoin; }
18810
18817
  });
18811
18818
  Object.defineProperty(exports, "knownMeetingChat", {
18812
18819
  enumerable: true,
18813
- get: function () { return chunkQWKTQYGM_cjs.knownMeetingChat; }
18820
+ get: function () { return chunkGVU3KYP3_cjs.knownMeetingChat; }
18814
18821
  });
18815
18822
  Object.defineProperty(exports, "loadMeetingHistory", {
18816
18823
  enumerable: true,
18817
- get: function () { return chunkQWKTQYGM_cjs.loadMeetingHistory; }
18824
+ get: function () { return chunkGVU3KYP3_cjs.loadMeetingHistory; }
18818
18825
  });
18819
18826
  Object.defineProperty(exports, "markRejoining", {
18820
18827
  enumerable: true,
18821
- get: function () { return chunkQWKTQYGM_cjs.markRejoining; }
18828
+ get: function () { return chunkGVU3KYP3_cjs.markRejoining; }
18822
18829
  });
18823
18830
  Object.defineProperty(exports, "meetingChatRefFrom", {
18824
18831
  enumerable: true,
18825
- get: function () { return chunkQWKTQYGM_cjs.meetingChatRefFrom; }
18832
+ get: function () { return chunkGVU3KYP3_cjs.meetingChatRefFrom; }
18826
18833
  });
18827
18834
  Object.defineProperty(exports, "meetingRefForCall", {
18828
18835
  enumerable: true,
18829
- get: function () { return chunkQWKTQYGM_cjs.meetingRefForCall; }
18836
+ get: function () { return chunkGVU3KYP3_cjs.meetingRefForCall; }
18830
18837
  });
18831
18838
  Object.defineProperty(exports, "mergeChatLines", {
18832
18839
  enumerable: true,
18833
- get: function () { return chunkQWKTQYGM_cjs.mergeChatLines; }
18840
+ get: function () { return chunkGVU3KYP3_cjs.mergeChatLines; }
18834
18841
  });
18835
18842
  Object.defineProperty(exports, "mutedNoticeFromEvent", {
18836
18843
  enumerable: true,
18837
- get: function () { return chunkQWKTQYGM_cjs.mutedNoticeFromEvent; }
18844
+ get: function () { return chunkGVU3KYP3_cjs.mutedNoticeFromEvent; }
18838
18845
  });
18839
18846
  Object.defineProperty(exports, "mutedNoticeFromPacket", {
18840
18847
  enumerable: true,
18841
- get: function () { return chunkQWKTQYGM_cjs.mutedNoticeFromPacket; }
18848
+ get: function () { return chunkGVU3KYP3_cjs.mutedNoticeFromPacket; }
18842
18849
  });
18843
18850
  Object.defineProperty(exports, "mutedNoticeText", {
18844
18851
  enumerable: true,
18845
- get: function () { return chunkQWKTQYGM_cjs.mutedNoticeText; }
18852
+ get: function () { return chunkGVU3KYP3_cjs.mutedNoticeText; }
18846
18853
  });
18847
18854
  Object.defineProperty(exports, "myChatId", {
18848
18855
  enumerable: true,
18849
- get: function () { return chunkQWKTQYGM_cjs.myChatId; }
18856
+ get: function () { return chunkGVU3KYP3_cjs.myChatId; }
18850
18857
  });
18851
18858
  Object.defineProperty(exports, "newPacketId", {
18852
18859
  enumerable: true,
18853
- get: function () { return chunkQWKTQYGM_cjs.newPacketId; }
18860
+ get: function () { return chunkGVU3KYP3_cjs.newPacketId; }
18854
18861
  });
18855
18862
  Object.defineProperty(exports, "newSegmentId", {
18856
18863
  enumerable: true,
18857
- get: function () { return chunkQWKTQYGM_cjs.newSegmentId; }
18864
+ get: function () { return chunkGVU3KYP3_cjs.newSegmentId; }
18858
18865
  });
18859
18866
  Object.defineProperty(exports, "newTrackKey", {
18860
18867
  enumerable: true,
18861
- get: function () { return chunkQWKTQYGM_cjs.newTrackKey; }
18868
+ get: function () { return chunkGVU3KYP3_cjs.newTrackKey; }
18862
18869
  });
18863
18870
  Object.defineProperty(exports, "nextSeqAfter", {
18864
18871
  enumerable: true,
18865
- get: function () { return chunkQWKTQYGM_cjs.nextSeqAfter; }
18872
+ get: function () { return chunkGVU3KYP3_cjs.nextSeqAfter; }
18866
18873
  });
18867
18874
  Object.defineProperty(exports, "onCallEvent", {
18868
18875
  enumerable: true,
18869
- get: function () { return chunkQWKTQYGM_cjs.onCallEvent; }
18876
+ get: function () { return chunkGVU3KYP3_cjs.onCallEvent; }
18870
18877
  });
18871
18878
  Object.defineProperty(exports, "openCall", {
18872
18879
  enumerable: true,
18873
- get: function () { return chunkQWKTQYGM_cjs.openCall; }
18880
+ get: function () { return chunkGVU3KYP3_cjs.openCall; }
18874
18881
  });
18875
18882
  Object.defineProperty(exports, "openQuestion", {
18876
18883
  enumerable: true,
18877
- get: function () { return chunkQWKTQYGM_cjs.openQuestion; }
18884
+ get: function () { return chunkGVU3KYP3_cjs.openQuestion; }
18878
18885
  });
18879
18886
  Object.defineProperty(exports, "openRecording", {
18880
18887
  enumerable: true,
18881
- get: function () { return chunkQWKTQYGM_cjs.openRecording; }
18888
+ get: function () { return chunkGVU3KYP3_cjs.openRecording; }
18882
18889
  });
18883
18890
  Object.defineProperty(exports, "parseWebinarPacket", {
18884
18891
  enumerable: true,
18885
- get: function () { return chunkQWKTQYGM_cjs.parseWebinarPacket; }
18892
+ get: function () { return chunkGVU3KYP3_cjs.parseWebinarPacket; }
18886
18893
  });
18887
18894
  Object.defineProperty(exports, "partKey", {
18888
18895
  enumerable: true,
18889
- get: function () { return chunkQWKTQYGM_cjs.partKey; }
18896
+ get: function () { return chunkGVU3KYP3_cjs.partKey; }
18890
18897
  });
18891
18898
  Object.defineProperty(exports, "partOffsetMs", {
18892
18899
  enumerable: true,
18893
- get: function () { return chunkQWKTQYGM_cjs.partOffsetMs; }
18900
+ get: function () { return chunkGVU3KYP3_cjs.partOffsetMs; }
18894
18901
  });
18895
18902
  Object.defineProperty(exports, "partsDue", {
18896
18903
  enumerable: true,
18897
- get: function () { return chunkQWKTQYGM_cjs.partsDue; }
18904
+ get: function () { return chunkGVU3KYP3_cjs.partsDue; }
18898
18905
  });
18899
18906
  Object.defineProperty(exports, "patchConversation", {
18900
18907
  enumerable: true,
18901
- get: function () { return chunkQWKTQYGM_cjs.patchConversation; }
18908
+ get: function () { return chunkGVU3KYP3_cjs.patchConversation; }
18902
18909
  });
18903
18910
  Object.defineProperty(exports, "patchConversationList", {
18904
18911
  enumerable: true,
18905
- get: function () { return chunkQWKTQYGM_cjs.patchConversationList; }
18912
+ get: function () { return chunkGVU3KYP3_cjs.patchConversationList; }
18906
18913
  });
18907
18914
  Object.defineProperty(exports, "persistMeetingMessage", {
18908
18915
  enumerable: true,
18909
- get: function () { return chunkQWKTQYGM_cjs.persistMeetingMessage; }
18916
+ get: function () { return chunkGVU3KYP3_cjs.persistMeetingMessage; }
18910
18917
  });
18911
18918
  Object.defineProperty(exports, "persistTranscriptSegment", {
18912
18919
  enumerable: true,
18913
- get: function () { return chunkQWKTQYGM_cjs.persistTranscriptSegment; }
18920
+ get: function () { return chunkGVU3KYP3_cjs.persistTranscriptSegment; }
18914
18921
  });
18915
18922
  Object.defineProperty(exports, "playheadAt", {
18916
18923
  enumerable: true,
18917
- get: function () { return chunkQWKTQYGM_cjs.playheadAt; }
18924
+ get: function () { return chunkGVU3KYP3_cjs.playheadAt; }
18918
18925
  });
18919
18926
  Object.defineProperty(exports, "postRecordingDocsToThread", {
18920
18927
  enumerable: true,
18921
- get: function () { return chunkQWKTQYGM_cjs.postRecordingDocsToThread; }
18928
+ get: function () { return chunkGVU3KYP3_cjs.postRecordingDocsToThread; }
18922
18929
  });
18923
18930
  Object.defineProperty(exports, "postTranscriptToThread", {
18924
18931
  enumerable: true,
18925
- get: function () { return chunkQWKTQYGM_cjs.postTranscriptToThread; }
18932
+ get: function () { return chunkGVU3KYP3_cjs.postTranscriptToThread; }
18926
18933
  });
18927
18934
  Object.defineProperty(exports, "readLocalFeature", {
18928
18935
  enumerable: true,
18929
- get: function () { return chunkQWKTQYGM_cjs.readLocalFeature; }
18936
+ get: function () { return chunkGVU3KYP3_cjs.readLocalFeature; }
18930
18937
  });
18931
18938
  Object.defineProperty(exports, "recordingFiles", {
18932
18939
  enumerable: true,
18933
- get: function () { return chunkQWKTQYGM_cjs.recordingFiles; }
18940
+ get: function () { return chunkGVU3KYP3_cjs.recordingFiles; }
18934
18941
  });
18935
18942
  Object.defineProperty(exports, "recordingWindowsOf", {
18936
18943
  enumerable: true,
18937
- get: function () { return chunkQWKTQYGM_cjs.recordingWindowsOf; }
18944
+ get: function () { return chunkGVU3KYP3_cjs.recordingWindowsOf; }
18938
18945
  });
18939
18946
  Object.defineProperty(exports, "rejoinAsAudience", {
18940
18947
  enumerable: true,
18941
- get: function () { return chunkQWKTQYGM_cjs.rejoinAsAudience; }
18948
+ get: function () { return chunkGVU3KYP3_cjs.rejoinAsAudience; }
18942
18949
  });
18943
18950
  Object.defineProperty(exports, "removeChat", {
18944
18951
  enumerable: true,
18945
- get: function () { return chunkQWKTQYGM_cjs.removeChat; }
18952
+ get: function () { return chunkGVU3KYP3_cjs.removeChat; }
18946
18953
  });
18947
18954
  Object.defineProperty(exports, "removeConversationFromLists", {
18948
18955
  enumerable: true,
18949
- get: function () { return chunkQWKTQYGM_cjs.removeConversationFromLists; }
18956
+ get: function () { return chunkGVU3KYP3_cjs.removeConversationFromLists; }
18950
18957
  });
18951
18958
  Object.defineProperty(exports, "resetCallSession", {
18952
18959
  enumerable: true,
18953
- get: function () { return chunkQWKTQYGM_cjs.resetCallSession; }
18960
+ get: function () { return chunkGVU3KYP3_cjs.resetCallSession; }
18954
18961
  });
18955
18962
  Object.defineProperty(exports, "resolveMeetingChat", {
18956
18963
  enumerable: true,
18957
- get: function () { return chunkQWKTQYGM_cjs.resolveMeetingChat; }
18964
+ get: function () { return chunkGVU3KYP3_cjs.resolveMeetingChat; }
18958
18965
  });
18959
18966
  Object.defineProperty(exports, "saveRecordingFilesToThread", {
18960
18967
  enumerable: true,
18961
- get: function () { return chunkQWKTQYGM_cjs.saveRecordingFilesToThread; }
18968
+ get: function () { return chunkGVU3KYP3_cjs.saveRecordingFilesToThread; }
18962
18969
  });
18963
18970
  Object.defineProperty(exports, "schedulePart", {
18964
18971
  enumerable: true,
18965
- get: function () { return chunkQWKTQYGM_cjs.schedulePart; }
18972
+ get: function () { return chunkGVU3KYP3_cjs.schedulePart; }
18966
18973
  });
18967
18974
  Object.defineProperty(exports, "sealQuestionText", {
18968
18975
  enumerable: true,
18969
- get: function () { return chunkQWKTQYGM_cjs.sealQuestionText; }
18976
+ get: function () { return chunkGVU3KYP3_cjs.sealQuestionText; }
18970
18977
  });
18971
18978
  Object.defineProperty(exports, "serverCallsExperimental", {
18972
18979
  enumerable: true,
18973
- get: function () { return chunkQWKTQYGM_cjs.serverCallsExperimental; }
18980
+ get: function () { return chunkGVU3KYP3_cjs.serverCallsExperimental; }
18974
18981
  });
18975
18982
  Object.defineProperty(exports, "setOpenChat", {
18976
18983
  enumerable: true,
18977
- get: function () { return chunkQWKTQYGM_cjs.setOpenChat; }
18984
+ get: function () { return chunkGVU3KYP3_cjs.setOpenChat; }
18978
18985
  });
18979
18986
  Object.defineProperty(exports, "sortTranscriptMessages", {
18980
18987
  enumerable: true,
18981
- get: function () { return chunkQWKTQYGM_cjs.sortTranscriptMessages; }
18988
+ get: function () { return chunkGVU3KYP3_cjs.sortTranscriptMessages; }
18982
18989
  });
18983
18990
  Object.defineProperty(exports, "sortedParts", {
18984
18991
  enumerable: true,
18985
- get: function () { return chunkQWKTQYGM_cjs.sortedParts; }
18992
+ get: function () { return chunkGVU3KYP3_cjs.sortedParts; }
18986
18993
  });
18987
18994
  Object.defineProperty(exports, "speakerTracks", {
18988
18995
  enumerable: true,
18989
- get: function () { return chunkQWKTQYGM_cjs.speakerTracks; }
18996
+ get: function () { return chunkGVU3KYP3_cjs.speakerTracks; }
18990
18997
  });
18991
18998
  Object.defineProperty(exports, "speakerWav", {
18992
18999
  enumerable: true,
18993
- get: function () { return chunkQWKTQYGM_cjs.speakerWav; }
19000
+ get: function () { return chunkGVU3KYP3_cjs.speakerWav; }
18994
19001
  });
18995
19002
  Object.defineProperty(exports, "splitIntoFiles", {
18996
19003
  enumerable: true,
18997
- get: function () { return chunkQWKTQYGM_cjs.splitIntoFiles; }
19004
+ get: function () { return chunkGVU3KYP3_cjs.splitIntoFiles; }
18998
19005
  });
18999
19006
  Object.defineProperty(exports, "standalone", {
19000
19007
  enumerable: true,
19001
- get: function () { return chunkQWKTQYGM_cjs.standalone; }
19008
+ get: function () { return chunkGVU3KYP3_cjs.standalone; }
19002
19009
  });
19003
19010
  Object.defineProperty(exports, "startChatCall", {
19004
19011
  enumerable: true,
19005
- get: function () { return chunkQWKTQYGM_cjs.startChatCall; }
19012
+ get: function () { return chunkGVU3KYP3_cjs.startChatCall; }
19006
19013
  });
19007
19014
  Object.defineProperty(exports, "startContactsCall", {
19008
19015
  enumerable: true,
19009
- get: function () { return chunkQWKTQYGM_cjs.startContactsCall; }
19016
+ get: function () { return chunkGVU3KYP3_cjs.startContactsCall; }
19010
19017
  });
19011
19018
  Object.defineProperty(exports, "startDmCall", {
19012
19019
  enumerable: true,
19013
- get: function () { return chunkQWKTQYGM_cjs.startDmCall; }
19020
+ get: function () { return chunkGVU3KYP3_cjs.startDmCall; }
19014
19021
  });
19015
19022
  Object.defineProperty(exports, "startThreadCall", {
19016
19023
  enumerable: true,
19017
- get: function () { return chunkQWKTQYGM_cjs.startThreadCall; }
19024
+ get: function () { return chunkGVU3KYP3_cjs.startThreadCall; }
19018
19025
  });
19019
19026
  Object.defineProperty(exports, "startsMediaFile", {
19020
19027
  enumerable: true,
19021
- get: function () { return chunkQWKTQYGM_cjs.startsMediaFile; }
19028
+ get: function () { return chunkGVU3KYP3_cjs.startsMediaFile; }
19022
19029
  });
19023
19030
  Object.defineProperty(exports, "storeTranscriptSegment", {
19024
19031
  enumerable: true,
19025
- get: function () { return chunkQWKTQYGM_cjs.storeTranscriptSegment; }
19032
+ get: function () { return chunkGVU3KYP3_cjs.storeTranscriptSegment; }
19026
19033
  });
19027
19034
  Object.defineProperty(exports, "stripSpeakerPrefix", {
19028
19035
  enumerable: true,
19029
- get: function () { return chunkQWKTQYGM_cjs.stripSpeakerPrefix; }
19036
+ get: function () { return chunkGVU3KYP3_cjs.stripSpeakerPrefix; }
19030
19037
  });
19031
19038
  Object.defineProperty(exports, "supersedeLiveTranscript", {
19032
19039
  enumerable: true,
19033
- get: function () { return chunkQWKTQYGM_cjs.supersedeLiveTranscript; }
19040
+ get: function () { return chunkGVU3KYP3_cjs.supersedeLiveTranscript; }
19034
19041
  });
19035
19042
  Object.defineProperty(exports, "supersededTranscriptLines", {
19036
19043
  enumerable: true,
19037
- get: function () { return chunkQWKTQYGM_cjs.supersededTranscriptLines; }
19044
+ get: function () { return chunkGVU3KYP3_cjs.supersededTranscriptLines; }
19038
19045
  });
19039
19046
  Object.defineProperty(exports, "threadHasLiveCall", {
19040
19047
  enumerable: true,
19041
- get: function () { return chunkQWKTQYGM_cjs.threadHasLiveCall; }
19048
+ get: function () { return chunkGVU3KYP3_cjs.threadHasLiveCall; }
19042
19049
  });
19043
19050
  Object.defineProperty(exports, "threadLiveCallId", {
19044
19051
  enumerable: true,
19045
- get: function () { return chunkQWKTQYGM_cjs.threadLiveCallId; }
19052
+ get: function () { return chunkGVU3KYP3_cjs.threadLiveCallId; }
19046
19053
  });
19047
19054
  Object.defineProperty(exports, "threadTranscriptLines", {
19048
19055
  enumerable: true,
19049
- get: function () { return chunkQWKTQYGM_cjs.threadTranscriptLines; }
19056
+ get: function () { return chunkGVU3KYP3_cjs.threadTranscriptLines; }
19050
19057
  });
19051
19058
  Object.defineProperty(exports, "threadTranscriptRef", {
19052
19059
  enumerable: true,
19053
- get: function () { return chunkQWKTQYGM_cjs.threadTranscriptRef; }
19060
+ get: function () { return chunkGVU3KYP3_cjs.threadTranscriptRef; }
19054
19061
  });
19055
19062
  Object.defineProperty(exports, "threadTranscriptText", {
19056
19063
  enumerable: true,
19057
- get: function () { return chunkQWKTQYGM_cjs.threadTranscriptText; }
19064
+ get: function () { return chunkGVU3KYP3_cjs.threadTranscriptText; }
19058
19065
  });
19059
19066
  Object.defineProperty(exports, "timelineDurationMs", {
19060
19067
  enumerable: true,
19061
- get: function () { return chunkQWKTQYGM_cjs.timelineDurationMs; }
19068
+ get: function () { return chunkGVU3KYP3_cjs.timelineDurationMs; }
19062
19069
  });
19063
19070
  Object.defineProperty(exports, "timelineOf", {
19064
19071
  enumerable: true,
19065
- get: function () { return chunkQWKTQYGM_cjs.timelineOf; }
19072
+ get: function () { return chunkGVU3KYP3_cjs.timelineOf; }
19066
19073
  });
19067
19074
  Object.defineProperty(exports, "toProfileView", {
19068
19075
  enumerable: true,
19069
- get: function () { return chunkQWKTQYGM_cjs.toProfileView; }
19076
+ get: function () { return chunkGVU3KYP3_cjs.toProfileView; }
19070
19077
  });
19071
19078
  Object.defineProperty(exports, "trackUploaderFor", {
19072
19079
  enumerable: true,
19073
- get: function () { return chunkQWKTQYGM_cjs.trackUploaderFor; }
19080
+ get: function () { return chunkGVU3KYP3_cjs.trackUploaderFor; }
19074
19081
  });
19075
19082
  Object.defineProperty(exports, "transcribeRecording", {
19076
19083
  enumerable: true,
19077
- get: function () { return chunkQWKTQYGM_cjs.transcribeRecording; }
19084
+ get: function () { return chunkGVU3KYP3_cjs.transcribeRecording; }
19078
19085
  });
19079
19086
  Object.defineProperty(exports, "transcriptPersistRole", {
19080
19087
  enumerable: true,
19081
- get: function () { return chunkQWKTQYGM_cjs.transcriptPersistRole; }
19088
+ get: function () { return chunkGVU3KYP3_cjs.transcriptPersistRole; }
19082
19089
  });
19083
19090
  Object.defineProperty(exports, "transcriptSegmentOf", {
19084
19091
  enumerable: true,
19085
- get: function () { return chunkQWKTQYGM_cjs.transcriptSegmentOf; }
19092
+ get: function () { return chunkGVU3KYP3_cjs.transcriptSegmentOf; }
19086
19093
  });
19087
19094
  Object.defineProperty(exports, "unwrapTrackKey", {
19088
19095
  enumerable: true,
19089
- get: function () { return chunkQWKTQYGM_cjs.unwrapTrackKey; }
19096
+ get: function () { return chunkGVU3KYP3_cjs.unwrapTrackKey; }
19090
19097
  });
19091
19098
  Object.defineProperty(exports, "upsertChat", {
19092
19099
  enumerable: true,
19093
- get: function () { return chunkQWKTQYGM_cjs.upsertChat; }
19100
+ get: function () { return chunkGVU3KYP3_cjs.upsertChat; }
19094
19101
  });
19095
19102
  Object.defineProperty(exports, "useAccountClient", {
19096
19103
  enumerable: true,
19097
- get: function () { return chunkQWKTQYGM_cjs.useAccountClient; }
19104
+ get: function () { return chunkGVU3KYP3_cjs.useAccountClient; }
19098
19105
  });
19099
19106
  Object.defineProperty(exports, "useAvatarCrop", {
19100
19107
  enumerable: true,
19101
- get: function () { return chunkQWKTQYGM_cjs.useAvatarCrop; }
19108
+ get: function () { return chunkGVU3KYP3_cjs.useAvatarCrop; }
19102
19109
  });
19103
19110
  Object.defineProperty(exports, "useCall", {
19104
19111
  enumerable: true,
19105
- get: function () { return chunkQWKTQYGM_cjs.useCall; }
19112
+ get: function () { return chunkGVU3KYP3_cjs.useCall; }
19106
19113
  });
19107
19114
  Object.defineProperty(exports, "useCallInviteLinks", {
19108
19115
  enumerable: true,
19109
- get: function () { return chunkQWKTQYGM_cjs.useCallInviteLinks; }
19116
+ get: function () { return chunkGVU3KYP3_cjs.useCallInviteLinks; }
19110
19117
  });
19111
19118
  Object.defineProperty(exports, "useCallRecording", {
19112
19119
  enumerable: true,
19113
- get: function () { return chunkQWKTQYGM_cjs.useCallRecording; }
19120
+ get: function () { return chunkGVU3KYP3_cjs.useCallRecording; }
19114
19121
  });
19115
19122
  Object.defineProperty(exports, "useCallRecordings", {
19116
19123
  enumerable: true,
19117
- get: function () { return chunkQWKTQYGM_cjs.useCallRecordings; }
19124
+ get: function () { return chunkGVU3KYP3_cjs.useCallRecordings; }
19118
19125
  });
19119
19126
  Object.defineProperty(exports, "useCallSession", {
19120
19127
  enumerable: true,
19121
- get: function () { return chunkQWKTQYGM_cjs.useCallSession; }
19128
+ get: function () { return chunkGVU3KYP3_cjs.useCallSession; }
19122
19129
  });
19123
19130
  Object.defineProperty(exports, "useCallTranscriptionAvailable", {
19124
19131
  enumerable: true,
19125
- get: function () { return chunkQWKTQYGM_cjs.useCallTranscriptionAvailable; }
19132
+ get: function () { return chunkGVU3KYP3_cjs.useCallTranscriptionAvailable; }
19126
19133
  });
19127
19134
  Object.defineProperty(exports, "useCallsConfig", {
19128
19135
  enumerable: true,
19129
- get: function () { return chunkQWKTQYGM_cjs.useCallsConfig; }
19136
+ get: function () { return chunkGVU3KYP3_cjs.useCallsConfig; }
19130
19137
  });
19131
19138
  Object.defineProperty(exports, "useCallsEnabled", {
19132
19139
  enumerable: true,
19133
- get: function () { return chunkQWKTQYGM_cjs.useCallsEnabled; }
19140
+ get: function () { return chunkGVU3KYP3_cjs.useCallsEnabled; }
19134
19141
  });
19135
19142
  Object.defineProperty(exports, "useCanHostCalls", {
19136
19143
  enumerable: true,
19137
- get: function () { return chunkQWKTQYGM_cjs.useCanHostCalls; }
19144
+ get: function () { return chunkGVU3KYP3_cjs.useCanHostCalls; }
19138
19145
  });
19139
19146
  Object.defineProperty(exports, "useEntitlements", {
19140
19147
  enumerable: true,
19141
- get: function () { return chunkQWKTQYGM_cjs.useEntitlements; }
19148
+ get: function () { return chunkGVU3KYP3_cjs.useEntitlements; }
19142
19149
  });
19143
19150
  Object.defineProperty(exports, "useFeature", {
19144
19151
  enumerable: true,
19145
- get: function () { return chunkQWKTQYGM_cjs.useFeature; }
19152
+ get: function () { return chunkGVU3KYP3_cjs.useFeature; }
19146
19153
  });
19147
19154
  Object.defineProperty(exports, "useFeatureCheck", {
19148
19155
  enumerable: true,
19149
- get: function () { return chunkQWKTQYGM_cjs.useFeatureCheck; }
19156
+ get: function () { return chunkGVU3KYP3_cjs.useFeatureCheck; }
19150
19157
  });
19151
19158
  Object.defineProperty(exports, "useFeatureSwitch", {
19152
19159
  enumerable: true,
19153
- get: function () { return chunkQWKTQYGM_cjs.useFeatureSwitch; }
19160
+ get: function () { return chunkGVU3KYP3_cjs.useFeatureSwitch; }
19154
19161
  });
19155
19162
  Object.defineProperty(exports, "useInvalidateEntitlements", {
19156
19163
  enumerable: true,
19157
- get: function () { return chunkQWKTQYGM_cjs.useInvalidateEntitlements; }
19164
+ get: function () { return chunkGVU3KYP3_cjs.useInvalidateEntitlements; }
19158
19165
  });
19159
19166
  Object.defineProperty(exports, "useIsEntitled", {
19160
19167
  enumerable: true,
19161
- get: function () { return chunkQWKTQYGM_cjs.useIsEntitled; }
19168
+ get: function () { return chunkGVU3KYP3_cjs.useIsEntitled; }
19162
19169
  });
19163
19170
  Object.defineProperty(exports, "useMeetingReadOnly", {
19164
19171
  enumerable: true,
19165
- get: function () { return chunkQWKTQYGM_cjs.useMeetingReadOnly; }
19172
+ get: function () { return chunkGVU3KYP3_cjs.useMeetingReadOnly; }
19166
19173
  });
19167
19174
  Object.defineProperty(exports, "useNameEditor", {
19168
19175
  enumerable: true,
19169
- get: function () { return chunkQWKTQYGM_cjs.useNameEditor; }
19176
+ get: function () { return chunkGVU3KYP3_cjs.useNameEditor; }
19170
19177
  });
19171
19178
  Object.defineProperty(exports, "useOpenCallMeetingChat", {
19172
19179
  enumerable: true,
19173
- get: function () { return chunkQWKTQYGM_cjs.useOpenCallMeetingChat; }
19180
+ get: function () { return chunkGVU3KYP3_cjs.useOpenCallMeetingChat; }
19174
19181
  });
19175
19182
  Object.defineProperty(exports, "useProfile", {
19176
19183
  enumerable: true,
19177
- get: function () { return chunkQWKTQYGM_cjs.useProfile; }
19184
+ get: function () { return chunkGVU3KYP3_cjs.useProfile; }
19178
19185
  });
19179
19186
  Object.defineProperty(exports, "useRecordingActions", {
19180
19187
  enumerable: true,
19181
- get: function () { return chunkQWKTQYGM_cjs.useRecordingActions; }
19188
+ get: function () { return chunkGVU3KYP3_cjs.useRecordingActions; }
19182
19189
  });
19183
19190
  Object.defineProperty(exports, "useRecordingWindows", {
19184
19191
  enumerable: true,
19185
- get: function () { return chunkQWKTQYGM_cjs.useRecordingWindows; }
19192
+ get: function () { return chunkGVU3KYP3_cjs.useRecordingWindows; }
19186
19193
  });
19187
19194
  Object.defineProperty(exports, "useRevokeCallInviteLink", {
19188
19195
  enumerable: true,
19189
- get: function () { return chunkQWKTQYGM_cjs.useRevokeCallInviteLink; }
19196
+ get: function () { return chunkGVU3KYP3_cjs.useRevokeCallInviteLink; }
19190
19197
  });
19191
19198
  Object.defineProperty(exports, "useSaveToThread", {
19192
19199
  enumerable: true,
19193
- get: function () { return chunkQWKTQYGM_cjs.useSaveToThread; }
19200
+ get: function () { return chunkGVU3KYP3_cjs.useSaveToThread; }
19194
19201
  });
19195
19202
  Object.defineProperty(exports, "useServerCallsEnabled", {
19196
19203
  enumerable: true,
19197
- get: function () { return chunkQWKTQYGM_cjs.useServerCallsEnabled; }
19204
+ get: function () { return chunkGVU3KYP3_cjs.useServerCallsEnabled; }
19198
19205
  });
19199
19206
  Object.defineProperty(exports, "useServerCallsExperimental", {
19200
19207
  enumerable: true,
19201
- get: function () { return chunkQWKTQYGM_cjs.useServerCallsExperimental; }
19208
+ get: function () { return chunkGVU3KYP3_cjs.useServerCallsExperimental; }
19202
19209
  });
19203
19210
  Object.defineProperty(exports, "useUpdateProfile", {
19204
19211
  enumerable: true,
19205
- get: function () { return chunkQWKTQYGM_cjs.useUpdateProfile; }
19212
+ get: function () { return chunkGVU3KYP3_cjs.useUpdateProfile; }
19206
19213
  });
19207
19214
  Object.defineProperty(exports, "useUpdateUserSettings", {
19208
19215
  enumerable: true,
19209
- get: function () { return chunkQWKTQYGM_cjs.useUpdateUserSettings; }
19216
+ get: function () { return chunkGVU3KYP3_cjs.useUpdateUserSettings; }
19210
19217
  });
19211
19218
  Object.defineProperty(exports, "useUserSettings", {
19212
19219
  enumerable: true,
19213
- get: function () { return chunkQWKTQYGM_cjs.useUserSettings; }
19220
+ get: function () { return chunkGVU3KYP3_cjs.useUserSettings; }
19214
19221
  });
19215
19222
  Object.defineProperty(exports, "wipeOfflineMail", {
19216
19223
  enumerable: true,
19217
- get: function () { return chunkQWKTQYGM_cjs.wipeOfflineMail; }
19224
+ get: function () { return chunkGVU3KYP3_cjs.wipeOfflineMail; }
19218
19225
  });
19219
19226
  Object.defineProperty(exports, "wrapTrackKey", {
19220
19227
  enumerable: true,
19221
- get: function () { return chunkQWKTQYGM_cjs.wrapTrackKey; }
19228
+ get: function () { return chunkGVU3KYP3_cjs.wrapTrackKey; }
19222
19229
  });
19223
19230
  Object.defineProperty(exports, "writeSamples", {
19224
19231
  enumerable: true,
19225
- get: function () { return chunkQWKTQYGM_cjs.writeSamples; }
19232
+ get: function () { return chunkGVU3KYP3_cjs.writeSamples; }
19226
19233
  });
19227
19234
  Object.defineProperty(exports, "DISMISSED_TASK_TTL_MS", {
19228
19235
  enumerable: true,
@@ -19782,203 +19789,203 @@ Object.defineProperty(exports, "useDeploymentDomain", {
19782
19789
  });
19783
19790
  Object.defineProperty(exports, "DEFAULT_ASSISTANT_NAME", {
19784
19791
  enumerable: true,
19785
- get: function () { return chunk6RRKO4ZK_cjs.DEFAULT_ASSISTANT_NAME; }
19792
+ get: function () { return chunk6HJZCIND_cjs.DEFAULT_ASSISTANT_NAME; }
19786
19793
  });
19787
19794
  Object.defineProperty(exports, "LEGACY_THREAD_DOCUMENTS_KEY", {
19788
19795
  enumerable: true,
19789
- get: function () { return chunk6RRKO4ZK_cjs.LEGACY_THREAD_DOCUMENTS_KEY; }
19796
+ get: function () { return chunk6HJZCIND_cjs.LEGACY_THREAD_DOCUMENTS_KEY; }
19790
19797
  });
19791
19798
  Object.defineProperty(exports, "MENTION_HREF_PREFIX", {
19792
19799
  enumerable: true,
19793
- get: function () { return chunk6RRKO4ZK_cjs.MENTION_HREF_PREFIX; }
19800
+ get: function () { return chunk6HJZCIND_cjs.MENTION_HREF_PREFIX; }
19794
19801
  });
19795
19802
  Object.defineProperty(exports, "NotificationBell", {
19796
19803
  enumerable: true,
19797
- get: function () { return chunk6RRKO4ZK_cjs.NotificationBell; }
19804
+ get: function () { return chunk6HJZCIND_cjs.NotificationBell; }
19798
19805
  });
19799
19806
  Object.defineProperty(exports, "Toaster", {
19800
19807
  enumerable: true,
19801
- get: function () { return chunk6RRKO4ZK_cjs.Toaster; }
19808
+ get: function () { return chunk6HJZCIND_cjs.Toaster; }
19802
19809
  });
19803
19810
  Object.defineProperty(exports, "UNBOUND", {
19804
19811
  enumerable: true,
19805
- get: function () { return chunk6RRKO4ZK_cjs.UNBOUND; }
19812
+ get: function () { return chunk6HJZCIND_cjs.UNBOUND; }
19806
19813
  });
19807
19814
  Object.defineProperty(exports, "assistantCopy", {
19808
19815
  enumerable: true,
19809
- get: function () { return chunk6RRKO4ZK_cjs.assistantCopy; }
19816
+ get: function () { return chunk6HJZCIND_cjs.assistantCopy; }
19810
19817
  });
19811
19818
  Object.defineProperty(exports, "bindingOfRow", {
19812
19819
  enumerable: true,
19813
- get: function () { return chunk6RRKO4ZK_cjs.bindingOfRow; }
19820
+ get: function () { return chunk6HJZCIND_cjs.bindingOfRow; }
19814
19821
  });
19815
19822
  Object.defineProperty(exports, "clearSearchSession", {
19816
19823
  enumerable: true,
19817
- get: function () { return chunk6RRKO4ZK_cjs.clearSearchSession; }
19824
+ get: function () { return chunk6HJZCIND_cjs.clearSearchSession; }
19818
19825
  });
19819
19826
  Object.defineProperty(exports, "createSearchSession", {
19820
19827
  enumerable: true,
19821
- get: function () { return chunk6RRKO4ZK_cjs.createSearchSession; }
19828
+ get: function () { return chunk6HJZCIND_cjs.createSearchSession; }
19822
19829
  });
19823
19830
  Object.defineProperty(exports, "extractMentions", {
19824
19831
  enumerable: true,
19825
- get: function () { return chunk6RRKO4ZK_cjs.extractMentions; }
19832
+ get: function () { return chunk6HJZCIND_cjs.extractMentions; }
19826
19833
  });
19827
19834
  Object.defineProperty(exports, "filterMentionCandidates", {
19828
19835
  enumerable: true,
19829
- get: function () { return chunk6RRKO4ZK_cjs.filterMentionCandidates; }
19836
+ get: function () { return chunk6HJZCIND_cjs.filterMentionCandidates; }
19830
19837
  });
19831
19838
  Object.defineProperty(exports, "findMentionQuery", {
19832
19839
  enumerable: true,
19833
- get: function () { return chunk6RRKO4ZK_cjs.findMentionQuery; }
19840
+ get: function () { return chunk6HJZCIND_cjs.findMentionQuery; }
19834
19841
  });
19835
19842
  Object.defineProperty(exports, "forgetLegacyThreadDocuments", {
19836
19843
  enumerable: true,
19837
- get: function () { return chunk6RRKO4ZK_cjs.forgetLegacyThreadDocuments; }
19844
+ get: function () { return chunk6HJZCIND_cjs.forgetLegacyThreadDocuments; }
19838
19845
  });
19839
19846
  Object.defineProperty(exports, "hasMessageBody", {
19840
19847
  enumerable: true,
19841
- get: function () { return chunk6RRKO4ZK_cjs.hasMessageBody; }
19848
+ get: function () { return chunk6HJZCIND_cjs.hasMessageBody; }
19842
19849
  });
19843
19850
  Object.defineProperty(exports, "insertMention", {
19844
19851
  enumerable: true,
19845
- get: function () { return chunk6RRKO4ZK_cjs.insertMention; }
19852
+ get: function () { return chunk6HJZCIND_cjs.insertMention; }
19846
19853
  });
19847
19854
  Object.defineProperty(exports, "isSlideDeck", {
19848
19855
  enumerable: true,
19849
- get: function () { return chunk6RRKO4ZK_cjs.isSlideDeck; }
19856
+ get: function () { return chunk6HJZCIND_cjs.isSlideDeck; }
19850
19857
  });
19851
19858
  Object.defineProperty(exports, "latestThreadOfDocument", {
19852
19859
  enumerable: true,
19853
- get: function () { return chunk6RRKO4ZK_cjs.latestThreadOfDocument; }
19860
+ get: function () { return chunk6HJZCIND_cjs.latestThreadOfDocument; }
19854
19861
  });
19855
19862
  Object.defineProperty(exports, "linkMentions", {
19856
19863
  enumerable: true,
19857
- get: function () { return chunk6RRKO4ZK_cjs.linkMentions; }
19864
+ get: function () { return chunk6HJZCIND_cjs.linkMentions; }
19858
19865
  });
19859
19866
  Object.defineProperty(exports, "mentionFromHref", {
19860
19867
  enumerable: true,
19861
- get: function () { return chunk6RRKO4ZK_cjs.mentionFromHref; }
19868
+ get: function () { return chunk6HJZCIND_cjs.mentionFromHref; }
19862
19869
  });
19863
19870
  Object.defineProperty(exports, "openDocumentId", {
19864
19871
  enumerable: true,
19865
- get: function () { return chunk6RRKO4ZK_cjs.openDocumentId; }
19872
+ get: function () { return chunk6HJZCIND_cjs.openDocumentId; }
19866
19873
  });
19867
19874
  Object.defineProperty(exports, "opensInWord", {
19868
19875
  enumerable: true,
19869
- get: function () { return chunk6RRKO4ZK_cjs.opensInWord; }
19876
+ get: function () { return chunk6HJZCIND_cjs.opensInWord; }
19870
19877
  });
19871
19878
  Object.defineProperty(exports, "persistSearchSession", {
19872
19879
  enumerable: true,
19873
- get: function () { return chunk6RRKO4ZK_cjs.persistSearchSession; }
19880
+ get: function () { return chunk6HJZCIND_cjs.persistSearchSession; }
19874
19881
  });
19875
19882
  Object.defineProperty(exports, "readLegacyThreadDocuments", {
19876
19883
  enumerable: true,
19877
- get: function () { return chunk6RRKO4ZK_cjs.readLegacyThreadDocuments; }
19884
+ get: function () { return chunk6HJZCIND_cjs.readLegacyThreadDocuments; }
19878
19885
  });
19879
19886
  Object.defineProperty(exports, "requestSearch", {
19880
19887
  enumerable: true,
19881
- get: function () { return chunk6RRKO4ZK_cjs.requestSearch; }
19888
+ get: function () { return chunk6HJZCIND_cjs.requestSearch; }
19882
19889
  });
19883
19890
  Object.defineProperty(exports, "savedDocumentIdFor", {
19884
19891
  enumerable: true,
19885
- get: function () { return chunk6RRKO4ZK_cjs.savedDocumentIdFor; }
19892
+ get: function () { return chunk6HJZCIND_cjs.savedDocumentIdFor; }
19886
19893
  });
19887
19894
  Object.defineProperty(exports, "sharedSearchSession", {
19888
19895
  enumerable: true,
19889
- get: function () { return chunk6RRKO4ZK_cjs.sharedSearchSession; }
19896
+ get: function () { return chunk6HJZCIND_cjs.sharedSearchSession; }
19890
19897
  });
19891
19898
  Object.defineProperty(exports, "takeDocumentForTurn", {
19892
19899
  enumerable: true,
19893
- get: function () { return chunk6RRKO4ZK_cjs.takeDocumentForTurn; }
19900
+ get: function () { return chunk6HJZCIND_cjs.takeDocumentForTurn; }
19894
19901
  });
19895
19902
  Object.defineProperty(exports, "takePendingSearch", {
19896
19903
  enumerable: true,
19897
- get: function () { return chunk6RRKO4ZK_cjs.takePendingSearch; }
19904
+ get: function () { return chunk6HJZCIND_cjs.takePendingSearch; }
19898
19905
  });
19899
19906
  Object.defineProperty(exports, "toMessageMentions", {
19900
19907
  enumerable: true,
19901
- get: function () { return chunk6RRKO4ZK_cjs.toMessageMentions; }
19908
+ get: function () { return chunk6HJZCIND_cjs.toMessageMentions; }
19902
19909
  });
19903
19910
  Object.defineProperty(exports, "useAssistantCopy", {
19904
19911
  enumerable: true,
19905
- get: function () { return chunk6RRKO4ZK_cjs.useAssistantCopy; }
19912
+ get: function () { return chunk6HJZCIND_cjs.useAssistantCopy; }
19906
19913
  });
19907
19914
  Object.defineProperty(exports, "useAssistantName", {
19908
19915
  enumerable: true,
19909
- get: function () { return chunk6RRKO4ZK_cjs.useAssistantName; }
19916
+ get: function () { return chunk6HJZCIND_cjs.useAssistantName; }
19910
19917
  });
19911
19918
  Object.defineProperty(exports, "useOpenDocumentId", {
19912
19919
  enumerable: true,
19913
- get: function () { return chunk6RRKO4ZK_cjs.useOpenDocumentId; }
19920
+ get: function () { return chunk6HJZCIND_cjs.useOpenDocumentId; }
19914
19921
  });
19915
19922
  Object.defineProperty(exports, "useRegisterOpenDocument", {
19916
19923
  enumerable: true,
19917
- get: function () { return chunk6RRKO4ZK_cjs.useRegisterOpenDocument; }
19924
+ get: function () { return chunk6HJZCIND_cjs.useRegisterOpenDocument; }
19918
19925
  });
19919
19926
  Object.defineProperty(exports, "useTurnDocumentId", {
19920
19927
  enumerable: true,
19921
- get: function () { return chunk6RRKO4ZK_cjs.useTurnDocumentId; }
19928
+ get: function () { return chunk6HJZCIND_cjs.useTurnDocumentId; }
19922
19929
  });
19923
19930
  Object.defineProperty(exports, "DEFAULT_NOTIFY_TONE", {
19924
19931
  enumerable: true,
19925
- get: function () { return chunkIX4HOS5Z_cjs.DEFAULT_NOTIFY_TONE; }
19932
+ get: function () { return chunk5ECKSF6H_cjs.DEFAULT_NOTIFY_TONE; }
19926
19933
  });
19927
19934
  Object.defineProperty(exports, "MAX_SESSION_NOTIFICATIONS", {
19928
19935
  enumerable: true,
19929
- get: function () { return chunkIX4HOS5Z_cjs.MAX_SESSION_NOTIFICATIONS; }
19936
+ get: function () { return chunk5ECKSF6H_cjs.MAX_SESSION_NOTIFICATIONS; }
19930
19937
  });
19931
19938
  Object.defineProperty(exports, "clearChatArtifacts", {
19932
19939
  enumerable: true,
19933
- get: function () { return chunkIX4HOS5Z_cjs.clearChatArtifacts; }
19940
+ get: function () { return chunk5ECKSF6H_cjs.clearChatArtifacts; }
19934
19941
  });
19935
19942
  Object.defineProperty(exports, "configureNotify", {
19936
19943
  enumerable: true,
19937
- get: function () { return chunkIX4HOS5Z_cjs.configureNotify; }
19944
+ get: function () { return chunk5ECKSF6H_cjs.configureNotify; }
19938
19945
  });
19939
19946
  Object.defineProperty(exports, "getChatArtifact", {
19940
19947
  enumerable: true,
19941
- get: function () { return chunkIX4HOS5Z_cjs.getChatArtifact; }
19948
+ get: function () { return chunk5ECKSF6H_cjs.getChatArtifact; }
19942
19949
  });
19943
19950
  Object.defineProperty(exports, "getChatArtifacts", {
19944
19951
  enumerable: true,
19945
- get: function () { return chunkIX4HOS5Z_cjs.getChatArtifacts; }
19952
+ get: function () { return chunk5ECKSF6H_cjs.getChatArtifacts; }
19946
19953
  });
19947
19954
  Object.defineProperty(exports, "notify", {
19948
19955
  enumerable: true,
19949
- get: function () { return chunkIX4HOS5Z_cjs.notify; }
19956
+ get: function () { return chunk5ECKSF6H_cjs.notify; }
19950
19957
  });
19951
19958
  Object.defineProperty(exports, "persistNotifyHistory", {
19952
19959
  enumerable: true,
19953
- get: function () { return chunkIX4HOS5Z_cjs.persistNotifyHistory; }
19960
+ get: function () { return chunk5ECKSF6H_cjs.persistNotifyHistory; }
19954
19961
  });
19955
19962
  Object.defineProperty(exports, "recordChatArtifact", {
19956
19963
  enumerable: true,
19957
- get: function () { return chunkIX4HOS5Z_cjs.recordChatArtifact; }
19964
+ get: function () { return chunk5ECKSF6H_cjs.recordChatArtifact; }
19958
19965
  });
19959
19966
  Object.defineProperty(exports, "seedNotifications", {
19960
19967
  enumerable: true,
19961
- get: function () { return chunkIX4HOS5Z_cjs.seedNotifications; }
19968
+ get: function () { return chunk5ECKSF6H_cjs.seedNotifications; }
19962
19969
  });
19963
19970
  Object.defineProperty(exports, "selectUnread", {
19964
19971
  enumerable: true,
19965
- get: function () { return chunkIX4HOS5Z_cjs.selectUnread; }
19972
+ get: function () { return chunk5ECKSF6H_cjs.selectUnread; }
19966
19973
  });
19967
19974
  Object.defineProperty(exports, "toast", {
19968
19975
  enumerable: true,
19969
- get: function () { return chunkIX4HOS5Z_cjs.toast; }
19976
+ get: function () { return chunk5ECKSF6H_cjs.toast; }
19970
19977
  });
19971
19978
  Object.defineProperty(exports, "useChatArtifact", {
19972
19979
  enumerable: true,
19973
- get: function () { return chunkIX4HOS5Z_cjs.useChatArtifact; }
19980
+ get: function () { return chunk5ECKSF6H_cjs.useChatArtifact; }
19974
19981
  });
19975
19982
  Object.defineProperty(exports, "useMessageChatArtifact", {
19976
19983
  enumerable: true,
19977
- get: function () { return chunkIX4HOS5Z_cjs.useMessageChatArtifact; }
19984
+ get: function () { return chunk5ECKSF6H_cjs.useMessageChatArtifact; }
19978
19985
  });
19979
19986
  Object.defineProperty(exports, "useNotify", {
19980
19987
  enumerable: true,
19981
- get: function () { return chunkIX4HOS5Z_cjs.useNotify; }
19988
+ get: function () { return chunk5ECKSF6H_cjs.useNotify; }
19982
19989
  });
19983
19990
  Object.defineProperty(exports, "mergeHostConfig", {
19984
19991
  enumerable: true,