@arbidocs/react 0.5.121 → 0.5.122

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 chunkX5OZRLFZ_cjs = require('./chunk-X5OZRLFZ.cjs');
4
+ var chunkFAJLJDWS_cjs = require('./chunk-FAJLJDWS.cjs');
5
5
  var chunkGKGAPU6T_cjs = require('./chunk-GKGAPU6T.cjs');
6
6
  var chunk7L7QRIQ2_cjs = require('./chunk-7L7QRIQ2.cjs');
7
7
  var chunk3JAEX57E_cjs = require('./chunk-3JAEX57E.cjs');
8
8
  var chunkO32T7XRD_cjs = require('./chunk-O32T7XRD.cjs');
9
- var chunkZ3W4XFWB_cjs = require('./chunk-Z3W4XFWB.cjs');
10
- var chunkRLSBRZ6Z_cjs = require('./chunk-RLSBRZ6Z.cjs');
9
+ var chunkWUYSVTKE_cjs = require('./chunk-WUYSVTKE.cjs');
10
+ var chunkIX4HOS5Z_cjs = require('./chunk-IX4HOS5Z.cjs');
11
11
  var chunkN73IMVFF_cjs = require('./chunk-N73IMVFF.cjs');
12
12
  var chunkNDIKMOBJ_cjs = require('./chunk-NDIKMOBJ.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 = chunkZ3W4XFWB_cjs.ArbiHost;
44
+ var ArbiHost2 = chunkWUYSVTKE_cjs.ArbiHost;
45
45
  function useCurrentWorkspace() {
46
46
  const workspaceId = chunk7L7QRIQ2_cjs.useArbiSessionState((s) => s.workspaceId);
47
47
  const workspaceStatus = chunk7L7QRIQ2_cjs.useArbiSessionState((s) => s.workspaceStatus);
@@ -174,7 +174,7 @@ function useStartTaskQuery() {
174
174
  }
175
175
  }
176
176
  if (!conversationId) return null;
177
- await chunkX5OZRLFZ_cjs.invalidateConversationLists(queryClient);
177
+ await chunkFAJLJDWS_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
- chunkX5OZRLFZ_cjs.patchConversation(qc, conversationId, updated);
207
- return chunkX5OZRLFZ_cjs.invalidateConversationDetails(qc, conversationId);
206
+ chunkFAJLJDWS_cjs.patchConversation(qc, conversationId, updated);
207
+ return chunkFAJLJDWS_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) => chunkX5OZRLFZ_cjs.removeConversationFromLists(qc, conversationId)
216
+ onSuccess: (_res, conversationId) => chunkFAJLJDWS_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
- chunkX5OZRLFZ_cjs.addConversationToList(qc, workspaceId ?? null, created);
239
+ chunkFAJLJDWS_cjs.addConversationToList(qc, workspaceId ?? null, created);
240
240
  return created;
241
241
  }
242
242
  });
@@ -248,7 +248,7 @@ function useRunConversation() {
248
248
  mutationFn: (conversationId) => arbi.conversations.runWithAuth(conversationId),
249
249
  // The server's version replaces the listed one; everything under the conversation is re-read.
250
250
  onSuccess: (updated) => {
251
- if (updated?.external_id) chunkX5OZRLFZ_cjs.patchConversation(qc, updated.external_id, updated);
251
+ if (updated?.external_id) chunkFAJLJDWS_cjs.patchConversation(qc, updated.external_id, updated);
252
252
  return qc.invalidateQueries({ queryKey: chunkO32T7XRD_cjs.arbiQueryKeys.allConversations() });
253
253
  }
254
254
  });
@@ -264,7 +264,7 @@ function useActOnStep() {
264
264
  // The server's version of the conversation replaces the listed one; its history is re-read.
265
265
  onSuccess: (updated) => {
266
266
  if (!updated?.external_id) return;
267
- chunkX5OZRLFZ_cjs.patchConversation(qc, updated.external_id, updated);
267
+ chunkFAJLJDWS_cjs.patchConversation(qc, updated.external_id, updated);
268
268
  invalidateConversationActivity(qc, updated.external_id);
269
269
  }
270
270
  });
@@ -1270,9 +1270,9 @@ function assistantLabels(assistantName = ASSISTANT_MENTION_LABEL) {
1270
1270
  return assistantName.toLowerCase() === ASSISTANT_MENTION_LABEL.toLowerCase() ? [assistantName] : [assistantName, ASSISTANT_MENTION_LABEL];
1271
1271
  }
1272
1272
  function useLinkMentions() {
1273
- const assistantName = chunkZ3W4XFWB_cjs.useAssistantName();
1273
+ const assistantName = chunkWUYSVTKE_cjs.useAssistantName();
1274
1274
  return React.useCallback(
1275
- (content, mentions) => chunkZ3W4XFWB_cjs.linkMentions(content, mentions, [assistantName]),
1275
+ (content, mentions) => chunkWUYSVTKE_cjs.linkMentions(content, mentions, [assistantName]),
1276
1276
  [assistantName]
1277
1277
  );
1278
1278
  }
@@ -1294,12 +1294,12 @@ function cachedAssistantMode(queryClient, conversationId, newMode) {
1294
1294
  if (!conversationId) return newMode;
1295
1295
  const threads = queryClient.getQueriesData(allConversationThreads).map(([, data]) => data).find((data) => data?.conversation_ext_id === conversationId);
1296
1296
  if (threads?.assistant_mode) return threads.assistant_mode;
1297
- return chunkX5OZRLFZ_cjs.findConversation(queryClient, conversationId)?.assistant_mode ?? "always";
1297
+ return chunkFAJLJDWS_cjs.findConversation(queryClient, conversationId)?.assistant_mode ?? "always";
1298
1298
  }
1299
1299
  function isCommentToPeople(queryClient, conversationId, content, candidates) {
1300
- const mentioned = chunkZ3W4XFWB_cjs.extractMentions(content, candidates);
1300
+ const mentioned = chunkWUYSVTKE_cjs.extractMentions(content, candidates);
1301
1301
  if (mentioned.some((c) => c.kind === "assistant")) return false;
1302
- if (chunkX5OZRLFZ_cjs.isConversationShared(queryClient, conversationId)) return true;
1302
+ if (chunkFAJLJDWS_cjs.isConversationShared(queryClient, conversationId)) return true;
1303
1303
  if (mentioned.some((c) => c.kind === "user")) return true;
1304
1304
  return !!conversationId && cachedAssistantMode(queryClient, conversationId, "always") === "mentioned";
1305
1305
  }
@@ -1353,7 +1353,7 @@ function useSaveConfig() {
1353
1353
  void queryClient.invalidateQueries({ queryKey: chunkO32T7XRD_cjs.arbiQueryKeys.userSettings() });
1354
1354
  },
1355
1355
  onError: (error) => {
1356
- chunkRLSBRZ6Z_cjs.notify.error(formatConfigValidationError(error), {
1356
+ chunkIX4HOS5Z_cjs.notify.error(formatConfigValidationError(error), {
1357
1357
  description: "Configuration not saved \u2014 fix the highlighted values and try again."
1358
1358
  });
1359
1359
  }
@@ -1406,7 +1406,7 @@ function useSaveConfigField(baseConfigId) {
1406
1406
  const saveConfig = useSaveConfig();
1407
1407
  const { data: defaultConfig } = chunk7L7QRIQ2_cjs.useConfig("default");
1408
1408
  const chatModel = chunk7L7QRIQ2_cjs.useArbiSessionState((state) => state.chatModel);
1409
- const { data: userSettings } = chunkX5OZRLFZ_cjs.useUserSettings();
1409
+ const { data: userSettings } = chunkFAJLJDWS_cjs.useUserSettings();
1410
1410
  const activeConfigId = baseConfigId || chatModel || userSettings?.last_config || "default";
1411
1411
  const { data: activeConfigData } = chunk7L7QRIQ2_cjs.useConfig(activeConfigId);
1412
1412
  const session = chunk7L7QRIQ2_cjs.useArbiSessionStore();
@@ -1430,7 +1430,7 @@ function useSaveConfigField(baseConfigId) {
1430
1430
  readConfig("default"),
1431
1431
  readConfig(configId)
1432
1432
  ]).catch((error) => {
1433
- chunkRLSBRZ6Z_cjs.notify.error(formatConfigValidationError(error), {
1433
+ chunkIX4HOS5Z_cjs.notify.error(formatConfigValidationError(error), {
1434
1434
  description: "Configuration not saved \u2014 the settings it builds on could not be read."
1435
1435
  });
1436
1436
  throw error;
@@ -1529,11 +1529,11 @@ async function agentChatOwnerOf(queryClient, listAgents, conversationId) {
1529
1529
 
1530
1530
  // src/chat/thread-binding.ts
1531
1531
  function threadBinding(queryClient, conversationId) {
1532
- if (!conversationId) return chunkZ3W4XFWB_cjs.UNBOUND;
1533
- const row = chunkX5OZRLFZ_cjs.findConversation(queryClient, conversationId);
1534
- if (row) return chunkZ3W4XFWB_cjs.bindingOfRow(row);
1532
+ if (!conversationId) return chunkWUYSVTKE_cjs.UNBOUND;
1533
+ const row = chunkFAJLJDWS_cjs.findConversation(queryClient, conversationId);
1534
+ if (row) return chunkWUYSVTKE_cjs.bindingOfRow(row);
1535
1535
  const threads = queryClient.getQueryData(getThreadsQueryKey(conversationId));
1536
- return chunkZ3W4XFWB_cjs.bindingOfRow(threads ? { external_id: conversationId, ...threads } : null);
1536
+ return chunkWUYSVTKE_cjs.bindingOfRow(threads ? { external_id: conversationId, ...threads } : null);
1537
1537
  }
1538
1538
  function boundDocumentOf(queryClient, state) {
1539
1539
  return state.conversationId ? threadBinding(queryClient, state.conversationId).documentId : state.newChatDocumentId;
@@ -1543,7 +1543,7 @@ function cacheThreadBinding(queryClient, conversationId, binding) {
1543
1543
  bound_document_ext_id: binding.documentId,
1544
1544
  bound_document_unavailable: binding.unavailable
1545
1545
  };
1546
- chunkX5OZRLFZ_cjs.patchConversation(queryClient, conversationId, fields);
1546
+ chunkFAJLJDWS_cjs.patchConversation(queryClient, conversationId, fields);
1547
1547
  queryClient.setQueryData(
1548
1548
  getThreadsQueryKey(conversationId),
1549
1549
  (old) => old ? { ...old, ...fields } : old
@@ -1579,8 +1579,8 @@ async function performBindingWrite(arbi, queryClient, conversationId, documentId
1579
1579
  const saved = await arbi.conversations.update(conversationId, {
1580
1580
  bound_document_ext_id: documentId
1581
1581
  });
1582
- chunkX5OZRLFZ_cjs.patchConversation(queryClient, conversationId, saved);
1583
- cacheThreadBinding(queryClient, conversationId, chunkZ3W4XFWB_cjs.bindingOfRow(saved));
1582
+ chunkFAJLJDWS_cjs.patchConversation(queryClient, conversationId, saved);
1583
+ cacheThreadBinding(queryClient, conversationId, chunkWUYSVTKE_cjs.bindingOfRow(saved));
1584
1584
  } catch (error) {
1585
1585
  cacheThreadBinding(queryClient, conversationId, before);
1586
1586
  throw error;
@@ -1592,14 +1592,14 @@ function adoptNewChatDocument(session, queryClient, conversationId, documentId =
1592
1592
  if (session.getState().newChatDocumentId === documentId) session.setNewChatDocumentId(null);
1593
1593
  }
1594
1594
  async function migrateLegacyThreadDocuments(arbi, queryClient, conversations) {
1595
- const legacy = chunkZ3W4XFWB_cjs.readLegacyThreadDocuments();
1595
+ const legacy = chunkWUYSVTKE_cjs.readLegacyThreadDocuments();
1596
1596
  const listed = conversations.filter(
1597
1597
  (c) => c.external_id in legacy && "bound_document_unavailable" in c
1598
1598
  );
1599
1599
  if (listed.length === 0) return;
1600
1600
  await Promise.all(
1601
1601
  listed.map(async (row) => {
1602
- const server = chunkZ3W4XFWB_cjs.bindingOfRow(row);
1602
+ const server = chunkWUYSVTKE_cjs.bindingOfRow(row);
1603
1603
  if (server.documentId || server.unavailable) return;
1604
1604
  try {
1605
1605
  await bindThreadDocument(arbi, queryClient, row.external_id, legacy[row.external_id]);
@@ -1607,7 +1607,7 @@ async function migrateLegacyThreadDocuments(arbi, queryClient, conversations) {
1607
1607
  }
1608
1608
  })
1609
1609
  );
1610
- chunkZ3W4XFWB_cjs.forgetLegacyThreadDocuments(listed.map((c) => c.external_id));
1610
+ chunkWUYSVTKE_cjs.forgetLegacyThreadDocuments(listed.map((c) => c.external_id));
1611
1611
  }
1612
1612
  function resolveReplyTarget(queryClient, conversationId, parentId) {
1613
1613
  if (!parentId) return null;
@@ -2282,7 +2282,7 @@ function useDownloadDocuments({ workspaceName } = {}) {
2282
2282
  async (documents2, selectedColumns) => {
2283
2283
  const includeMetadataCsv = selectedColumns === void 0 || selectedColumns.length > 0;
2284
2284
  if (documents2.length === 0) {
2285
- chunkRLSBRZ6Z_cjs.notify.error("No documents to download");
2285
+ chunkIX4HOS5Z_cjs.notify.error("No documents to download");
2286
2286
  return;
2287
2287
  }
2288
2288
  setIsDownloading(true);
@@ -2303,7 +2303,7 @@ function useDownloadDocuments({ workspaceName } = {}) {
2303
2303
  }
2304
2304
  const successCount = downloaded.length;
2305
2305
  if (successCount === 0) {
2306
- chunkRLSBRZ6Z_cjs.notify.error("Failed to download documents");
2306
+ chunkIX4HOS5Z_cjs.notify.error("Failed to download documents");
2307
2307
  return;
2308
2308
  }
2309
2309
  if (includeMetadataCsv) {
@@ -2317,11 +2317,11 @@ function useDownloadDocuments({ workspaceName } = {}) {
2317
2317
  chunk3JAEX57E_cjs.downloadBlob(await zip.generateAsync({ type: "blob" }), zipFileName);
2318
2318
  const documentsLabel = `${successCount} document${successCount !== 1 ? "s" : ""}`;
2319
2319
  const contents = includeMetadataCsv ? `${documentsLabel} and index.csv in ${zipFileName}` : `${documentsLabel} in ${zipFileName}`;
2320
- if (failedDocs.length === 0) chunkRLSBRZ6Z_cjs.notify.success(`Successfully downloaded ${contents}`);
2321
- else chunkRLSBRZ6Z_cjs.notify.warning(`Downloaded ${contents}, ${failedDocs.length} failed`);
2320
+ if (failedDocs.length === 0) chunkIX4HOS5Z_cjs.notify.success(`Successfully downloaded ${contents}`);
2321
+ else chunkIX4HOS5Z_cjs.notify.warning(`Downloaded ${contents}, ${failedDocs.length} failed`);
2322
2322
  } catch (error) {
2323
2323
  console.error("Failed to create zip file:", error);
2324
- chunkRLSBRZ6Z_cjs.notify.error("Failed to download documents. Please try again.");
2324
+ chunkIX4HOS5Z_cjs.notify.error("Failed to download documents. Please try again.");
2325
2325
  } finally {
2326
2326
  setIsDownloading(false);
2327
2327
  }
@@ -2334,10 +2334,10 @@ function useDownloadDocuments({ workspaceName } = {}) {
2334
2334
  try {
2335
2335
  const file = await fetchNamedFile(doc);
2336
2336
  chunk3JAEX57E_cjs.downloadBlob(file.blob, file.name);
2337
- chunkRLSBRZ6Z_cjs.notify.success(`Successfully downloaded ${file.name}`);
2337
+ chunkIX4HOS5Z_cjs.notify.success(`Successfully downloaded ${file.name}`);
2338
2338
  } catch (error) {
2339
2339
  console.error("Failed to download document", error);
2340
- chunkRLSBRZ6Z_cjs.notify.error("Failed to download document. Please try again.");
2340
+ chunkIX4HOS5Z_cjs.notify.error("Failed to download document. Please try again.");
2341
2341
  } finally {
2342
2342
  setIsDownloading(false);
2343
2343
  }
@@ -3343,7 +3343,7 @@ function useUploadFiles() {
3343
3343
  const arbi = chunkO32T7XRD_cjs.useArbi();
3344
3344
  const qc = reactQuery.useQueryClient();
3345
3345
  const { resolveWorkspaceKey } = useDocumentsSupport();
3346
- const { data: settings } = chunkX5OZRLFZ_cjs.useUserSettings();
3346
+ const { data: settings } = chunkFAJLJDWS_cjs.useUserSettings();
3347
3347
  const { mutateAsync: generateDocTags } = useGenerateDocTags();
3348
3348
  const direct = settings?.use_s3_direct_upload === true;
3349
3349
  return React.useCallback(
@@ -3994,8 +3994,8 @@ function useKeepDocumentsOffline() {
3994
3994
  return docs.length;
3995
3995
  },
3996
3996
  onSettled: () => queryClient.invalidateQueries({ queryKey: chunkO32T7XRD_cjs.arbiQueryKeys.offlineDocuments() }),
3997
- onSuccess: (count) => chunkRLSBRZ6Z_cjs.notify.success(`${count} document${count === 1 ? "" : "s"} available offline`),
3998
- onError: () => chunkRLSBRZ6Z_cjs.notify.error("Could not save documents for offline use")
3997
+ onSuccess: (count) => chunkIX4HOS5Z_cjs.notify.success(`${count} document${count === 1 ? "" : "s"} available offline`),
3998
+ onError: () => chunkIX4HOS5Z_cjs.notify.error("Could not save documents for offline use")
3999
3999
  });
4000
4000
  }
4001
4001
  function useRemoveDocumentsOffline() {
@@ -4006,8 +4006,8 @@ function useRemoveDocumentsOffline() {
4006
4006
  return docIds.length;
4007
4007
  },
4008
4008
  onSettled: () => queryClient.invalidateQueries({ queryKey: chunkO32T7XRD_cjs.arbiQueryKeys.offlineDocuments() }),
4009
- onSuccess: (count) => chunkRLSBRZ6Z_cjs.notify.success(`Removed ${count} offline ${count === 1 ? "copy" : "copies"}`),
4010
- onError: () => chunkRLSBRZ6Z_cjs.notify.error("Could not remove offline copy")
4009
+ onSuccess: (count) => chunkIX4HOS5Z_cjs.notify.success(`Removed ${count} offline ${count === 1 ? "copy" : "copies"}`),
4010
+ onError: () => chunkIX4HOS5Z_cjs.notify.error("Could not remove offline copy")
4011
4011
  });
4012
4012
  }
4013
4013
 
@@ -4044,7 +4044,7 @@ function createStreamHandlers(ctx, params) {
4044
4044
  session.moveConversation("new", serverConversationId);
4045
4045
  const userExtId = ctx.userId();
4046
4046
  const nowIso = (/* @__PURE__ */ new Date()).toISOString();
4047
- chunkX5OZRLFZ_cjs.patchConversationList(
4047
+ chunkFAJLJDWS_cjs.patchConversationList(
4048
4048
  queryClient,
4049
4049
  streamState.workspaceId ?? session.getState().workspaceId,
4050
4050
  (old) => old.some((c) => c.external_id === serverConversationId) ? old : [
@@ -4166,7 +4166,7 @@ function createStreamHandlers(ctx, params) {
4166
4166
  ensureAssistantMessageLoading(queryClient, conversationId, answerId);
4167
4167
  });
4168
4168
  }
4169
- void chunkX5OZRLFZ_cjs.invalidateConversationLists(queryClient);
4169
+ void chunkFAJLJDWS_cjs.invalidateConversationLists(queryClient);
4170
4170
  session.setCursor(streamState.assistantId);
4171
4171
  };
4172
4172
  let firstTokenSeen = false;
@@ -4285,7 +4285,7 @@ function createStreamHandlers(ctx, params) {
4285
4285
  title: artifact.title,
4286
4286
  is_complete: artifact.is_complete
4287
4287
  });
4288
- chunkRLSBRZ6Z_cjs.recordChatArtifact(artifact, streamState.conversationId);
4288
+ chunkIX4HOS5Z_cjs.recordChatArtifact(artifact, streamState.conversationId);
4289
4289
  host.onArtifact?.(artifact, streamState.conversationId);
4290
4290
  if (artifact.is_complete) {
4291
4291
  const documents2 = session.getState().conversationDocuments[streamState.conversationId] ?? [];
@@ -4396,7 +4396,7 @@ var AGENT_CONTROL_COMMANDS = {
4396
4396
  };
4397
4397
  function refuseChatWhenOffline() {
4398
4398
  if (reactQuery.onlineManager.isOnline()) return false;
4399
- chunkRLSBRZ6Z_cjs.notify.warning("You're offline \u2014 your message is still in the box. Reconnect to send it.");
4399
+ chunkIX4HOS5Z_cjs.notify.warning("You're offline \u2014 your message is still in the box. Reconnect to send it.");
4400
4400
  return true;
4401
4401
  }
4402
4402
  function findStream(session, controller) {
@@ -4459,7 +4459,7 @@ function cachedQuotaUsedUp(queryClient, workspaceId) {
4459
4459
  // src/chat/useConversationActions.ts
4460
4460
  var RECONCILE_TIMEOUT_MS = 5e3;
4461
4461
  function draftAfterSend(queryClient, session, wasComment, assistantName) {
4462
- const shared = chunkX5OZRLFZ_cjs.isConversationShared(queryClient, session.getState().conversationId);
4462
+ const shared = chunkFAJLJDWS_cjs.isConversationShared(queryClient, session.getState().conversationId);
4463
4463
  return shared && !wasComment ? `@${assistantName} ` : "";
4464
4464
  }
4465
4465
  function failQueuedContinuation(queryClient, session, streamState) {
@@ -4475,7 +4475,7 @@ function failQueuedContinuation(queryClient, session, streamState) {
4475
4475
  if (streamState.queuedClientId) {
4476
4476
  session.removeQueuedMessage(streamState.queuedClientId);
4477
4477
  }
4478
- chunkRLSBRZ6Z_cjs.notify.error("Queued message failed to send");
4478
+ chunkIX4HOS5Z_cjs.notify.error("Queued message failed to send");
4479
4479
  }
4480
4480
  function signedInUserId(arbi) {
4481
4481
  try {
@@ -4502,7 +4502,7 @@ function useConversationActions({
4502
4502
  React.useState(() => watchConversationWorkspaces(queryClient, session));
4503
4503
  const createHandlers = useStreamHandlers();
4504
4504
  const chatHost = chunkO32T7XRD_cjs.useArbiHost().chat;
4505
- const assistantName = chunkZ3W4XFWB_cjs.useAssistantName();
4505
+ const assistantName = chunkWUYSVTKE_cjs.useAssistantName();
4506
4506
  const mentionCandidates = React.useCallback(
4507
4507
  () => cachedMentionCandidates(
4508
4508
  queryClient,
@@ -4523,10 +4523,10 @@ function useConversationActions({
4523
4523
  const convId = conversationId === void 0 ? state.conversationId : conversationId;
4524
4524
  const { newConversationAssistantMode } = state;
4525
4525
  const candidates = mentionCandidates();
4526
- const mentioned = chunkZ3W4XFWB_cjs.extractMentions(content, candidates);
4526
+ const mentioned = chunkWUYSVTKE_cjs.extractMentions(content, candidates);
4527
4527
  const assistantMode = cachedAssistantMode(queryClient, convId, newConversationAssistantMode);
4528
4528
  const isComment = isCommentToPeople(queryClient, convId, content, candidates);
4529
- const mentions = chunkZ3W4XFWB_cjs.toMessageMentions(mentioned);
4529
+ const mentions = chunkWUYSVTKE_cjs.toMessageMentions(mentioned);
4530
4530
  if (!isComment && assistantMode === "mentioned" && !mentions.some((m) => m.type === "assistant")) {
4531
4531
  mentions.push({ type: "assistant" });
4532
4532
  }
@@ -4557,7 +4557,7 @@ function useConversationActions({
4557
4557
  const bindTo = session.getState().newChatDocumentId;
4558
4558
  session.moveConversation("new", conversationId);
4559
4559
  if (bindTo) session.setNewChatDocumentId(null);
4560
- chunkX5OZRLFZ_cjs.patchConversationList(queryClient, session.getState().workspaceId, (old) => [
4560
+ chunkFAJLJDWS_cjs.patchConversationList(queryClient, session.getState().workspaceId, (old) => [
4561
4561
  {
4562
4562
  external_id: conversationId,
4563
4563
  title: content.slice(0, 40),
@@ -4575,23 +4575,23 @@ function useConversationActions({
4575
4575
  ]);
4576
4576
  if (bindTo)
4577
4577
  bindThreadDocument(arbi, queryClient, conversationId, bindTo).catch(
4578
- () => chunkRLSBRZ6Z_cjs.notify.error("Could not attach the document to this thread")
4578
+ () => chunkIX4HOS5Z_cjs.notify.error("Could not attach the document to this thread")
4579
4579
  );
4580
4580
  invalidateUserWorkspaces();
4581
4581
  } else {
4582
- chunkX5OZRLFZ_cjs.patchConversation(queryClient, conversationId, (c) => ({
4582
+ chunkFAJLJDWS_cjs.patchConversation(queryClient, conversationId, (c) => ({
4583
4583
  ...c,
4584
4584
  message_count: c.message_count + 1,
4585
4585
  updated_at: nowIso
4586
4586
  }));
4587
4587
  }
4588
4588
  if (mentions.some((m) => m.type === "user")) {
4589
- await chunkX5OZRLFZ_cjs.invalidateConversationLists(queryClient);
4589
+ await chunkFAJLJDWS_cjs.invalidateConversationLists(queryClient);
4590
4590
  }
4591
4591
  await queryClient.invalidateQueries({ queryKey: getThreadsQueryKey(conversationId) });
4592
4592
  session.setCursor(saved.external_id);
4593
4593
  } catch (error) {
4594
- chunkRLSBRZ6Z_cjs.notify.error(
4594
+ chunkIX4HOS5Z_cjs.notify.error(
4595
4595
  error instanceof browser.ArbiApiError && error.detail || "Failed to post the message"
4596
4596
  );
4597
4597
  if (!chunk7L7QRIQ2_cjs.selectDraft(session.getState())) session.setDraft(content);
@@ -4634,7 +4634,7 @@ function useConversationActions({
4634
4634
  const resolvedConfigId = newConfigId || (agentExtId ? void 0 : lastConfigId);
4635
4635
  const isPaMode = !agentExtId && state.paMode;
4636
4636
  const threadDocumentId = boundDocumentOf(queryClient, { ...state, conversationId: convId });
4637
- const activeArtifactExtId = isPaMode ? null : chunkZ3W4XFWB_cjs.takeDocumentForTurn({
4637
+ const activeArtifactExtId = isPaMode ? null : chunkWUYSVTKE_cjs.takeDocumentForTurn({
4638
4638
  boundDocumentId: threadDocumentId,
4639
4639
  conversationId: convId,
4640
4640
  workspaceId: turnWorkspaceId
@@ -4667,7 +4667,7 @@ function useConversationActions({
4667
4667
  session.setConversationGenerating(convKey, true, abortController);
4668
4668
  }
4669
4669
  if (!queuedContinuation) {
4670
- chunkX5OZRLFZ_cjs.patchConversation(queryClient, convKey, { last_message_status: "in_progress" });
4670
+ chunkFAJLJDWS_cjs.patchConversation(queryClient, convKey, { last_message_status: "in_progress" });
4671
4671
  }
4672
4672
  const streamState = {
4673
4673
  conversationId: convKey,
@@ -4778,7 +4778,7 @@ function useConversationActions({
4778
4778
  void queryClient.invalidateQueries({
4779
4779
  queryKey: getThreadsQueryKey(streamState.conversationId)
4780
4780
  });
4781
- void chunkX5OZRLFZ_cjs.invalidateConversationLists(queryClient);
4781
+ void chunkFAJLJDWS_cjs.invalidateConversationLists(queryClient);
4782
4782
  }
4783
4783
  return;
4784
4784
  }
@@ -4806,7 +4806,7 @@ function useConversationActions({
4806
4806
  }
4807
4807
  if (ownsGeneration) {
4808
4808
  const lastStatus = streamState.serverError ? "failed" : "completed";
4809
- chunkX5OZRLFZ_cjs.patchConversation(queryClient, streamState.conversationId, {
4809
+ chunkFAJLJDWS_cjs.patchConversation(queryClient, streamState.conversationId, {
4810
4810
  last_message_status: lastStatus
4811
4811
  });
4812
4812
  }
@@ -4839,7 +4839,7 @@ function useConversationActions({
4839
4839
  });
4840
4840
  if (ownsActiveGeneration()) {
4841
4841
  session.setConversationGenerating(streamState.conversationId, false, null);
4842
- chunkX5OZRLFZ_cjs.patchConversation(queryClient, streamState.conversationId, {
4842
+ chunkFAJLJDWS_cjs.patchConversation(queryClient, streamState.conversationId, {
4843
4843
  last_message_status: "completed"
4844
4844
  });
4845
4845
  }
@@ -4862,10 +4862,10 @@ function useConversationActions({
4862
4862
  if (ownsActiveGeneration()) {
4863
4863
  session.setConversationGenerating(streamState.conversationId, false, null);
4864
4864
  }
4865
- void chunkX5OZRLFZ_cjs.invalidateConversationLists(queryClient);
4865
+ void chunkFAJLJDWS_cjs.invalidateConversationLists(queryClient);
4866
4866
  return;
4867
4867
  }
4868
- chunkX5OZRLFZ_cjs.patchConversation(queryClient, streamState.conversationId, {
4868
+ chunkFAJLJDWS_cjs.patchConversation(queryClient, streamState.conversationId, {
4869
4869
  last_message_status: "failed"
4870
4870
  });
4871
4871
  const quota = browser.quotaFromStreamError(error) ?? cachedQuotaUsedUp(queryClient, session.getState().workspaceId);
@@ -4901,7 +4901,7 @@ function useConversationActions({
4901
4901
  const handleSendMessage = React.useCallback(
4902
4902
  async (options) => {
4903
4903
  const currentMessage = chunk7L7QRIQ2_cjs.selectDraft(session.getState()).trim();
4904
- if (!selectedWorkspaceId || !chunkZ3W4XFWB_cjs.hasMessageBody(currentMessage, assistantLabels(assistantName)))
4904
+ if (!selectedWorkspaceId || !chunkWUYSVTKE_cjs.hasMessageBody(currentMessage, assistantLabels(assistantName)))
4905
4905
  return;
4906
4906
  session.setSuggestedQuery(null);
4907
4907
  if (refuseChatWhenOffline()) return;
@@ -4992,7 +4992,7 @@ function useConversationActions({
4992
4992
  try {
4993
4993
  await arbi.assistant.cancel(runId);
4994
4994
  } catch {
4995
- chunkRLSBRZ6Z_cjs.notify.warning(
4995
+ chunkIX4HOS5Z_cjs.notify.warning(
4996
4996
  "Stopped here, but the server didn't confirm: the answer may still appear later."
4997
4997
  );
4998
4998
  }
@@ -5015,7 +5015,7 @@ function useConversationActions({
5015
5015
  if (!replyTo && currentConversationId) {
5016
5016
  try {
5017
5017
  await arbi.conversations.delete(currentConversationId);
5018
- chunkX5OZRLFZ_cjs.removeConversationFromLists(queryClient, currentConversationId);
5018
+ chunkFAJLJDWS_cjs.removeConversationFromLists(queryClient, currentConversationId);
5019
5019
  session.startNewConversation();
5020
5020
  } catch (error) {
5021
5021
  console.error("Failed to delete conversation with orphaned first message:", error);
@@ -5660,7 +5660,7 @@ function useConversation(options = {}) {
5660
5660
  [agentId, stagedFiles, deselected]
5661
5661
  );
5662
5662
  const { handleSendMessage, handleCreateBranch } = actions;
5663
- const assistantName = chunkZ3W4XFWB_cjs.useAssistantName();
5663
+ const assistantName = chunkWUYSVTKE_cjs.useAssistantName();
5664
5664
  const send = React.useCallback(
5665
5665
  async (text2) => {
5666
5666
  const trimmed = text2.trim();
@@ -5791,7 +5791,7 @@ function useConversation(options = {}) {
5791
5791
  void (async () => {
5792
5792
  try {
5793
5793
  await arbi.conversations.delete(id);
5794
- chunkX5OZRLFZ_cjs.removeConversationFromLists(queryClient, id);
5794
+ chunkFAJLJDWS_cjs.removeConversationFromLists(queryClient, id);
5795
5795
  if (session.getState().conversationId === id) session.startNewConversation();
5796
5796
  } catch (e) {
5797
5797
  setHistoryError(messageOf(e, "The conversation could not be deleted."));
@@ -5908,11 +5908,11 @@ async function applyConversationEvent(queryClient, event) {
5908
5908
  if (e.type === "response_complete") return applyRunEnded(queryClient, e);
5909
5909
  if (e.type === "conversation.message_posted") return applyMessagePosted(queryClient, e);
5910
5910
  if (e.type === "conversation.title_updated" && e.conversation_ext_id) {
5911
- chunkX5OZRLFZ_cjs.patchConversation(queryClient, e.conversation_ext_id, { title: e.title ?? null });
5911
+ chunkFAJLJDWS_cjs.patchConversation(queryClient, e.conversation_ext_id, { title: e.title ?? null });
5912
5912
  }
5913
5913
  if (e.type === "conversation.document_binding_changed" && e.conversation_ext_id) {
5914
5914
  void queryClient.invalidateQueries({ queryKey: getThreadsQueryKey(e.conversation_ext_id) });
5915
- void chunkX5OZRLFZ_cjs.invalidateConversationLists(queryClient);
5915
+ void chunkFAJLJDWS_cjs.invalidateConversationLists(queryClient);
5916
5916
  }
5917
5917
  }
5918
5918
  function applyRunEnded(queryClient, e) {
@@ -5929,10 +5929,10 @@ function applyRunEnded(queryClient, e) {
5929
5929
  );
5930
5930
  }
5931
5931
  if (failed && e.response_id) markMessageAsFailed(queryClient, conversationId, e.response_id);
5932
- chunkX5OZRLFZ_cjs.patchConversation(queryClient, conversationId, {
5932
+ chunkFAJLJDWS_cjs.patchConversation(queryClient, conversationId, {
5933
5933
  last_message_status: failed ? "failed" : "completed"
5934
5934
  });
5935
- void chunkX5OZRLFZ_cjs.invalidateConversationLists(queryClient);
5935
+ void chunkFAJLJDWS_cjs.invalidateConversationLists(queryClient);
5936
5936
  void queryClient.invalidateQueries({ queryKey: getThreadsQueryKey(conversationId) });
5937
5937
  if (!failed) void queryClient.invalidateQueries({ queryKey: chunkO32T7XRD_cjs.arbiQueryKeys.userUsageToday() });
5938
5938
  }
@@ -5940,7 +5940,7 @@ async function applyMessagePosted(queryClient, e) {
5940
5940
  if (!e.conversation_ext_id) return;
5941
5941
  const queryKey = getThreadsQueryKey(e.conversation_ext_id);
5942
5942
  const refreshed = queryClient.invalidateQueries({ queryKey });
5943
- void chunkX5OZRLFZ_cjs.invalidateConversationLists(queryClient);
5943
+ void chunkFAJLJDWS_cjs.invalidateConversationLists(queryClient);
5944
5944
  await refreshed;
5945
5945
  const cached = queryClient.getQueryData(
5946
5946
  queryKey
@@ -5989,7 +5989,7 @@ function useThreadDocument() {
5989
5989
  await bindThreadDocument(arbi, queryClient, open, documentId);
5990
5990
  return true;
5991
5991
  } catch {
5992
- chunkRLSBRZ6Z_cjs.notify.error(
5992
+ chunkIX4HOS5Z_cjs.notify.error(
5993
5993
  documentId ? "Could not attach the document to this thread" : "Could not unbind the document"
5994
5994
  );
5995
5995
  return false;
@@ -6050,7 +6050,7 @@ function useActiveConfigId() {
6050
6050
  const chatModel = chunk7L7QRIQ2_cjs.useArbiSessionState((s) => s.chatModel);
6051
6051
  const cursor = chunk7L7QRIQ2_cjs.useArbiSessionState((s) => s.cursor);
6052
6052
  const { messageHistory } = useConversationData();
6053
- const { data: userSettings } = chunkX5OZRLFZ_cjs.useUserSettings();
6053
+ const { data: userSettings } = chunkFAJLJDWS_cjs.useUserSettings();
6054
6054
  return React.useMemo(() => {
6055
6055
  if (chatModel) return chatModel;
6056
6056
  const parent = cursor ? messageHistory?.find((m) => m.external_id === cursor) : void 0;
@@ -6123,7 +6123,7 @@ function useDocumentAutoAdd({
6123
6123
  const offerKey = `${key}:${available.map((doc) => doc.external_id).sort().join(",")}`;
6124
6124
  if (available.length && (convKey !== "new" || current !== void 0) && !offeredRef.current.has(offerKey)) {
6125
6125
  offeredRef.current.add(offerKey);
6126
- chunkRLSBRZ6Z_cjs.notify.info(
6126
+ chunkIX4HOS5Z_cjs.notify.info(
6127
6127
  `${available.length} workspace document${available.length === 1 ? "" : "s"} available to add`,
6128
6128
  {
6129
6129
  record: false,
@@ -6258,7 +6258,7 @@ function useConversationSettings() {
6258
6258
  const currentUser = chunk7L7QRIQ2_cjs.useArbiSession().user;
6259
6259
  const { messageHistory } = useConversationData();
6260
6260
  const { conversations } = useConversationItems();
6261
- const { data: userSettings } = chunkX5OZRLFZ_cjs.useUserSettings();
6261
+ const { data: userSettings } = chunkFAJLJDWS_cjs.useUserSettings();
6262
6262
  const parentMessage = messageHistory?.find((m) => m.external_id === parentMessageId);
6263
6263
  const configToLoad = chatModel || parentMessage?.config_ext_id || userSettings?.last_config || "default";
6264
6264
  const { data: activeConfig } = chunk7L7QRIQ2_cjs.useConfig(configToLoad);
@@ -7016,53 +7016,53 @@ async function nativeThreadKeys(secret, message) {
7016
7016
 
7017
7017
  // src/mail/offline/mailbox.ts
7018
7018
  var keyOf = {
7019
- accounts: () => chunkX5OZRLFZ_cjs.blind("accounts"),
7020
- policy: () => chunkX5OZRLFZ_cjs.blind("policy"),
7021
- folders: (accountId) => chunkX5OZRLFZ_cjs.blind("folders", accountId),
7022
- header: (accountId, folderId, messageId) => chunkX5OZRLFZ_cjs.blind("header", accountId, folderId, messageId),
7023
- body: (accountId, messageId) => chunkX5OZRLFZ_cjs.blind("body", accountId, messageId),
7024
- attachment: (accountId, messageId, attachmentId) => chunkX5OZRLFZ_cjs.blind("attachment", accountId, messageId, attachmentId)
7019
+ accounts: () => chunkFAJLJDWS_cjs.blind("accounts"),
7020
+ policy: () => chunkFAJLJDWS_cjs.blind("policy"),
7021
+ folders: (accountId) => chunkFAJLJDWS_cjs.blind("folders", accountId),
7022
+ header: (accountId, folderId, messageId) => chunkFAJLJDWS_cjs.blind("header", accountId, folderId, messageId),
7023
+ body: (accountId, messageId) => chunkFAJLJDWS_cjs.blind("body", accountId, messageId),
7024
+ attachment: (accountId, messageId, attachmentId) => chunkFAJLJDWS_cjs.blind("attachment", accountId, messageId, attachmentId)
7025
7025
  };
7026
7026
  var bucketOf = {
7027
- global: () => chunkX5OZRLFZ_cjs.blind("bucket", "global"),
7028
- folder: (accountId, folderId) => chunkX5OZRLFZ_cjs.blind("bucket", "folder", accountId, folderId),
7029
- account: (accountId) => chunkX5OZRLFZ_cjs.blind("bucket", "account", accountId)
7027
+ global: () => chunkFAJLJDWS_cjs.blind("bucket", "global"),
7028
+ folder: (accountId, folderId) => chunkFAJLJDWS_cjs.blind("bucket", "folder", accountId, folderId),
7029
+ account: (accountId) => chunkFAJLJDWS_cjs.blind("bucket", "account", accountId)
7030
7030
  };
7031
7031
  async function put(kind, key, bucket3, data, sortAt = Date.now()) {
7032
7032
  const now = Date.now();
7033
- await chunkX5OZRLFZ_cjs.putRecord({ key, kind, bucket: bucket3, sortAt, size: data.byteLength, lastAccess: now, data });
7033
+ await chunkFAJLJDWS_cjs.putRecord({ key, kind, bucket: bucket3, sortAt, size: data.byteLength, lastAccess: now, data });
7034
7034
  }
7035
7035
  async function readJson(record) {
7036
7036
  if (!record) return void 0;
7037
7037
  try {
7038
- return await chunkX5OZRLFZ_cjs.openJson(record.data);
7038
+ return await chunkFAJLJDWS_cjs.openJson(record.data);
7039
7039
  } catch {
7040
7040
  return void 0;
7041
7041
  }
7042
7042
  }
7043
7043
  var receivedAt = (m) => m.received_at ? Date.parse(m.received_at) || 0 : 0;
7044
7044
  async function saveAccounts(accounts) {
7045
- await put("accounts", await keyOf.accounts(), await bucketOf.global(), await chunkX5OZRLFZ_cjs.sealJson(accounts));
7045
+ await put("accounts", await keyOf.accounts(), await bucketOf.global(), await chunkFAJLJDWS_cjs.sealJson(accounts));
7046
7046
  }
7047
7047
  async function loadAccounts() {
7048
- return readJson(await chunkX5OZRLFZ_cjs.getRecord(await keyOf.accounts()));
7048
+ return readJson(await chunkFAJLJDWS_cjs.getRecord(await keyOf.accounts()));
7049
7049
  }
7050
7050
  async function savePolicy(policy) {
7051
- await put("policy", await keyOf.policy(), await bucketOf.global(), await chunkX5OZRLFZ_cjs.sealJson(policy));
7051
+ await put("policy", await keyOf.policy(), await bucketOf.global(), await chunkFAJLJDWS_cjs.sealJson(policy));
7052
7052
  }
7053
7053
  async function loadPolicy() {
7054
- return readJson(await chunkX5OZRLFZ_cjs.getRecord(await keyOf.policy()));
7054
+ return readJson(await chunkFAJLJDWS_cjs.getRecord(await keyOf.policy()));
7055
7055
  }
7056
7056
  async function saveFolders(accountId, folders) {
7057
7057
  await put(
7058
7058
  "folders",
7059
7059
  await keyOf.folders(accountId),
7060
7060
  await bucketOf.account(accountId),
7061
- await chunkX5OZRLFZ_cjs.sealJson(folders)
7061
+ await chunkFAJLJDWS_cjs.sealJson(folders)
7062
7062
  );
7063
7063
  }
7064
7064
  async function loadFolders(accountId) {
7065
- return readJson(await chunkX5OZRLFZ_cjs.getRecord(await keyOf.folders(accountId)));
7065
+ return readJson(await chunkFAJLJDWS_cjs.getRecord(await keyOf.folders(accountId)));
7066
7066
  }
7067
7067
  function toHeader(message) {
7068
7068
  return {
@@ -7078,12 +7078,12 @@ async function saveHeader(accountId, folderId, message) {
7078
7078
  "header",
7079
7079
  await keyOf.header(accountId, folderId, message.id),
7080
7080
  await bucketOf.folder(accountId, folderId),
7081
- await chunkX5OZRLFZ_cjs.sealJson(toHeader(message)),
7081
+ await chunkFAJLJDWS_cjs.sealJson(toHeader(message)),
7082
7082
  receivedAt(message)
7083
7083
  );
7084
7084
  }
7085
7085
  async function loadHeaders(accountId, folderId) {
7086
- const records = await chunkX5OZRLFZ_cjs.recordsInBucket(await bucketOf.folder(accountId, folderId));
7086
+ const records = await chunkFAJLJDWS_cjs.recordsInBucket(await bucketOf.folder(accountId, folderId));
7087
7087
  const out = [];
7088
7088
  for (const record of records) {
7089
7089
  if (record.kind !== "header") continue;
@@ -7093,7 +7093,7 @@ async function loadHeaders(accountId, folderId) {
7093
7093
  return out.sort((a, b) => b.sortAt - a.sortAt);
7094
7094
  }
7095
7095
  async function hasFolder(accountId) {
7096
- return chunkX5OZRLFZ_cjs.hasRecord(await keyOf.folders(accountId));
7096
+ return chunkFAJLJDWS_cjs.hasRecord(await keyOf.folders(accountId));
7097
7097
  }
7098
7098
  async function saveBody(accountId, message) {
7099
7099
  const stripped = {
@@ -7104,42 +7104,42 @@ async function saveBody(accountId, message) {
7104
7104
  "body",
7105
7105
  await keyOf.body(accountId, message.id),
7106
7106
  await bucketOf.account(accountId),
7107
- await chunkX5OZRLFZ_cjs.sealJson(stripped),
7107
+ await chunkFAJLJDWS_cjs.sealJson(stripped),
7108
7108
  receivedAt(message)
7109
7109
  );
7110
7110
  }
7111
7111
  async function hasBody(accountId, messageId) {
7112
- return chunkX5OZRLFZ_cjs.hasRecord(await keyOf.body(accountId, messageId));
7112
+ return chunkFAJLJDWS_cjs.hasRecord(await keyOf.body(accountId, messageId));
7113
7113
  }
7114
7114
  async function loadBody(accountId, messageId) {
7115
- return readJson(await chunkX5OZRLFZ_cjs.getRecord(await keyOf.body(accountId, messageId)));
7115
+ return readJson(await chunkFAJLJDWS_cjs.getRecord(await keyOf.body(accountId, messageId)));
7116
7116
  }
7117
7117
  async function saveAttachment(accountId, messageId, attachmentId, bytes, sortAt) {
7118
7118
  await put(
7119
7119
  "attachment",
7120
7120
  await keyOf.attachment(accountId, messageId, attachmentId),
7121
7121
  await bucketOf.account(accountId),
7122
- await chunkX5OZRLFZ_cjs.sealBytes(bytes),
7122
+ await chunkFAJLJDWS_cjs.sealBytes(bytes),
7123
7123
  sortAt || void 0
7124
7124
  );
7125
7125
  }
7126
7126
  async function hasAttachment(accountId, messageId, attachmentId) {
7127
- return chunkX5OZRLFZ_cjs.hasRecord(await keyOf.attachment(accountId, messageId, attachmentId));
7127
+ return chunkFAJLJDWS_cjs.hasRecord(await keyOf.attachment(accountId, messageId, attachmentId));
7128
7128
  }
7129
7129
  async function loadAttachment(accountId, messageId, attachmentId) {
7130
7130
  const key = await keyOf.attachment(accountId, messageId, attachmentId);
7131
- const record = await chunkX5OZRLFZ_cjs.getRecord(key);
7131
+ const record = await chunkFAJLJDWS_cjs.getRecord(key);
7132
7132
  if (!record) return void 0;
7133
7133
  try {
7134
- const bytes = await chunkX5OZRLFZ_cjs.openBytes(record.data);
7135
- void chunkX5OZRLFZ_cjs.touchRecord(key);
7134
+ const bytes = await chunkFAJLJDWS_cjs.openBytes(record.data);
7135
+ void chunkFAJLJDWS_cjs.touchRecord(key);
7136
7136
  return bytes;
7137
7137
  } catch {
7138
7138
  return void 0;
7139
7139
  }
7140
7140
  }
7141
7141
  async function removeKeys(keys) {
7142
- await chunkX5OZRLFZ_cjs.deleteRecords(keys);
7142
+ await chunkFAJLJDWS_cjs.deleteRecords(keys);
7143
7143
  }
7144
7144
  function bodyText(body) {
7145
7145
  const html = body.text ? "" : (body.html ?? "").replace(/<[^>]*>/g, " ");
@@ -7184,27 +7184,27 @@ function isBrowserOffline() {
7184
7184
  // src/mail/offline/changes.ts
7185
7185
  var isFiling = (change) => change.kind === "file";
7186
7186
  var MAX_ATTEMPTS = 5;
7187
- var bucket = () => chunkX5OZRLFZ_cjs.blind("bucket", "changes");
7188
- var keyFor = (id) => chunkX5OZRLFZ_cjs.blind("change", id);
7187
+ var bucket = () => chunkFAJLJDWS_cjs.blind("bucket", "changes");
7188
+ var keyFor = (id) => chunkFAJLJDWS_cjs.blind("change", id);
7189
7189
  async function write(item) {
7190
- await chunkX5OZRLFZ_cjs.putRecord({
7190
+ await chunkFAJLJDWS_cjs.putRecord({
7191
7191
  key: await keyFor(item.id),
7192
7192
  kind: "change",
7193
7193
  bucket: await bucket(),
7194
7194
  sortAt: item.seq,
7195
7195
  size: 0,
7196
7196
  lastAccess: Date.now(),
7197
- data: await chunkX5OZRLFZ_cjs.sealJson(item)
7197
+ data: await chunkFAJLJDWS_cjs.sealJson(item)
7198
7198
  });
7199
7199
  }
7200
7200
  async function drop(item) {
7201
- await chunkX5OZRLFZ_cjs.deleteRecords([await keyFor(item.id)]);
7201
+ await chunkFAJLJDWS_cjs.deleteRecords([await keyFor(item.id)]);
7202
7202
  }
7203
7203
  async function readHeader(accountId, folderId, messageId) {
7204
- const record = await chunkX5OZRLFZ_cjs.getRecord(await keyOf.header(accountId, folderId, messageId));
7204
+ const record = await chunkFAJLJDWS_cjs.getRecord(await keyOf.header(accountId, folderId, messageId));
7205
7205
  if (!record) return void 0;
7206
7206
  try {
7207
- return await chunkX5OZRLFZ_cjs.openJson(record.data);
7207
+ return await chunkFAJLJDWS_cjs.openJson(record.data);
7208
7208
  } catch {
7209
7209
  return void 0;
7210
7210
  }
@@ -7286,9 +7286,9 @@ function combine(pending, next) {
7286
7286
  }
7287
7287
  async function listMailChanges() {
7288
7288
  const items = [];
7289
- for (const record of await chunkX5OZRLFZ_cjs.recordsInBucket(await bucket())) {
7289
+ for (const record of await chunkFAJLJDWS_cjs.recordsInBucket(await bucket())) {
7290
7290
  try {
7291
- items.push(await chunkX5OZRLFZ_cjs.openJson(record.data));
7291
+ items.push(await chunkFAJLJDWS_cjs.openJson(record.data));
7292
7292
  } catch {
7293
7293
  }
7294
7294
  }
@@ -7343,14 +7343,14 @@ function serially(fn) {
7343
7343
  }
7344
7344
  async function queueMailChange(input) {
7345
7345
  await serially(() => queue(input));
7346
- chunkX5OZRLFZ_cjs.notifyOfflineMailChange("changes");
7347
- chunkX5OZRLFZ_cjs.notifyOfflineMailChange("mailbox");
7346
+ chunkFAJLJDWS_cjs.notifyOfflineMailChange("changes");
7347
+ chunkFAJLJDWS_cjs.notifyOfflineMailChange("mailbox");
7348
7348
  }
7349
7349
  async function readChange(id) {
7350
- const record = await chunkX5OZRLFZ_cjs.getRecord(await keyFor(id));
7350
+ const record = await chunkFAJLJDWS_cjs.getRecord(await keyFor(id));
7351
7351
  if (!record) return void 0;
7352
7352
  try {
7353
- return await chunkX5OZRLFZ_cjs.openJson(record.data);
7353
+ return await chunkFAJLJDWS_cjs.openJson(record.data);
7354
7354
  } catch {
7355
7355
  return void 0;
7356
7356
  }
@@ -7423,7 +7423,7 @@ async function applyMailChangesOnce(sender, isOnline) {
7423
7423
  result.interrupted = true;
7424
7424
  }
7425
7425
  }
7426
- if (result.applied + result.gone + result.refused.length > 0) chunkX5OZRLFZ_cjs.notifyOfflineMailChange("changes");
7426
+ if (result.applied + result.gone + result.refused.length > 0) chunkFAJLJDWS_cjs.notifyOfflineMailChange("changes");
7427
7427
  return result;
7428
7428
  }
7429
7429
  var NO_PRIMER = () => void 0;
@@ -7539,26 +7539,26 @@ function useConnectedMailFiling(account, messages) {
7539
7539
  }
7540
7540
 
7541
7541
  // src/mail/offline/drafts.ts
7542
- var keyFor2 = (id) => chunkX5OZRLFZ_cjs.blind("draft", id);
7542
+ var keyFor2 = (id) => chunkFAJLJDWS_cjs.blind("draft", id);
7543
7543
  async function saveLocalDraft(accountId, compose, id = crypto.randomUUID()) {
7544
7544
  const draft = { id, accountId, compose, updatedAt: Date.now() };
7545
- await chunkX5OZRLFZ_cjs.putRecord({
7545
+ await chunkFAJLJDWS_cjs.putRecord({
7546
7546
  key: await keyFor2(id),
7547
7547
  kind: "draft",
7548
- bucket: await chunkX5OZRLFZ_cjs.blind("bucket", "drafts", accountId),
7548
+ bucket: await chunkFAJLJDWS_cjs.blind("bucket", "drafts", accountId),
7549
7549
  sortAt: draft.updatedAt,
7550
7550
  size: 0,
7551
7551
  lastAccess: draft.updatedAt,
7552
- data: await chunkX5OZRLFZ_cjs.sealJson(draft)
7552
+ data: await chunkFAJLJDWS_cjs.sealJson(draft)
7553
7553
  });
7554
- chunkX5OZRLFZ_cjs.notifyOfflineMailChange("drafts");
7554
+ chunkFAJLJDWS_cjs.notifyOfflineMailChange("drafts");
7555
7555
  return draft;
7556
7556
  }
7557
7557
  async function listLocalDrafts(accountId) {
7558
7558
  const drafts = [];
7559
- for (const record of await chunkX5OZRLFZ_cjs.recordsOfKind("draft")) {
7559
+ for (const record of await chunkFAJLJDWS_cjs.recordsOfKind("draft")) {
7560
7560
  try {
7561
- const draft = await chunkX5OZRLFZ_cjs.openJson(record.data);
7561
+ const draft = await chunkFAJLJDWS_cjs.openJson(record.data);
7562
7562
  if (!accountId || draft.accountId === accountId) drafts.push(draft);
7563
7563
  } catch {
7564
7564
  }
@@ -7566,8 +7566,8 @@ async function listLocalDrafts(accountId) {
7566
7566
  return drafts.sort((a, b) => b.updatedAt - a.updatedAt);
7567
7567
  }
7568
7568
  async function deleteLocalDraft(id) {
7569
- await chunkX5OZRLFZ_cjs.deleteRecords([await keyFor2(id)]);
7570
- chunkX5OZRLFZ_cjs.notifyOfflineMailChange("drafts");
7569
+ await chunkFAJLJDWS_cjs.deleteRecords([await keyFor2(id)]);
7570
+ chunkFAJLJDWS_cjs.notifyOfflineMailChange("drafts");
7571
7571
  }
7572
7572
  async function syncLocalDrafts(save) {
7573
7573
  let uploaded = 0;
@@ -7580,27 +7580,27 @@ async function syncLocalDrafts(save) {
7580
7580
  } catch (error) {
7581
7581
  const status = error.status;
7582
7582
  if (isNetworkFailure(error) || status === void 0 || status === 401 || status >= 500) break;
7583
- await chunkX5OZRLFZ_cjs.putRecord({
7583
+ await chunkFAJLJDWS_cjs.putRecord({
7584
7584
  key: await keyFor2(draft.id),
7585
7585
  kind: "draft",
7586
- bucket: await chunkX5OZRLFZ_cjs.blind("bucket", "drafts", draft.accountId),
7586
+ bucket: await chunkFAJLJDWS_cjs.blind("bucket", "drafts", draft.accountId),
7587
7587
  sortAt: draft.updatedAt,
7588
7588
  size: 0,
7589
7589
  lastAccess: Date.now(),
7590
- data: await chunkX5OZRLFZ_cjs.sealJson({
7590
+ data: await chunkFAJLJDWS_cjs.sealJson({
7591
7591
  ...draft,
7592
7592
  error: error instanceof Error ? error.message : "The server refused this draft"
7593
7593
  })
7594
7594
  });
7595
- chunkX5OZRLFZ_cjs.notifyOfflineMailChange("drafts");
7595
+ chunkFAJLJDWS_cjs.notifyOfflineMailChange("drafts");
7596
7596
  }
7597
7597
  }
7598
7598
  return uploaded;
7599
7599
  }
7600
7600
 
7601
7601
  // src/mail/offline/outbox.ts
7602
- var bucket2 = () => chunkX5OZRLFZ_cjs.blind("bucket", "outbox");
7603
- var keyFor3 = (id) => chunkX5OZRLFZ_cjs.blind("outbox", id);
7602
+ var bucket2 = () => chunkFAJLJDWS_cjs.blind("bucket", "outbox");
7603
+ var keyFor3 = (id) => chunkFAJLJDWS_cjs.blind("outbox", id);
7604
7604
  function outboxProblem(compose) {
7605
7605
  const missing = compose.attachments.find((a) => a.content_base64 == null);
7606
7606
  if (missing)
@@ -7609,22 +7609,22 @@ function outboxProblem(compose) {
7609
7609
  }
7610
7610
  var seqCounter = 0;
7611
7611
  async function write2(item) {
7612
- await chunkX5OZRLFZ_cjs.putRecord({
7612
+ await chunkFAJLJDWS_cjs.putRecord({
7613
7613
  key: await keyFor3(item.id),
7614
7614
  kind: "outbox",
7615
7615
  bucket: await bucket2(),
7616
7616
  sortAt: item.seq,
7617
7617
  size: 0,
7618
7618
  lastAccess: Date.now(),
7619
- data: await chunkX5OZRLFZ_cjs.sealJson(item)
7619
+ data: await chunkFAJLJDWS_cjs.sealJson(item)
7620
7620
  });
7621
7621
  }
7622
7622
  async function listOutbox() {
7623
- const records = await chunkX5OZRLFZ_cjs.recordsInBucket(await bucket2());
7623
+ const records = await chunkFAJLJDWS_cjs.recordsInBucket(await bucket2());
7624
7624
  const items = [];
7625
7625
  for (const record of records) {
7626
7626
  try {
7627
- items.push(await chunkX5OZRLFZ_cjs.openJson(record.data));
7627
+ items.push(await chunkFAJLJDWS_cjs.openJson(record.data));
7628
7628
  } catch {
7629
7629
  }
7630
7630
  }
@@ -7648,18 +7648,18 @@ async function enqueueOutbox(input) {
7648
7648
  seq: seqCounter
7649
7649
  };
7650
7650
  await write2(item);
7651
- chunkX5OZRLFZ_cjs.notifyOfflineMailChange("outbox");
7651
+ chunkFAJLJDWS_cjs.notifyOfflineMailChange("outbox");
7652
7652
  return item;
7653
7653
  }
7654
7654
  async function update(item, patch) {
7655
7655
  const next = { ...item, ...patch };
7656
7656
  await write2(next);
7657
- chunkX5OZRLFZ_cjs.notifyOfflineMailChange("outbox");
7657
+ chunkFAJLJDWS_cjs.notifyOfflineMailChange("outbox");
7658
7658
  return next;
7659
7659
  }
7660
7660
  async function deleteOutboxItem(id) {
7661
- await chunkX5OZRLFZ_cjs.deleteRecords([await keyFor3(id)]);
7662
- chunkX5OZRLFZ_cjs.notifyOfflineMailChange("outbox");
7661
+ await chunkFAJLJDWS_cjs.deleteRecords([await keyFor3(id)]);
7662
+ chunkFAJLJDWS_cjs.notifyOfflineMailChange("outbox");
7663
7663
  }
7664
7664
  async function retryOutboxItem(id) {
7665
7665
  const item = (await listOutbox()).find((i) => i.id === id);
@@ -7750,14 +7750,14 @@ async function purgeSentOutbox(olderThanMs = 0) {
7750
7750
  const cutoff = Date.now() - olderThanMs;
7751
7751
  const done = (await listOutbox()).filter((i) => i.status === "sent" && (i.sentAt ?? 0) <= cutoff);
7752
7752
  if (done.length === 0) return;
7753
- await chunkX5OZRLFZ_cjs.deleteRecords(await Promise.all(done.map((i) => keyFor3(i.id))));
7754
- chunkX5OZRLFZ_cjs.notifyOfflineMailChange("outbox");
7753
+ await chunkFAJLJDWS_cjs.deleteRecords(await Promise.all(done.map((i) => keyFor3(i.id))));
7754
+ chunkFAJLJDWS_cjs.notifyOfflineMailChange("outbox");
7755
7755
  }
7756
7756
  var STATUS_KEY = "status";
7757
7757
  var FULL_SYNC_EVERY_MS = 60 * 60 * 1e3;
7758
7758
  var MAX_PAGES = 200;
7759
7759
  async function getOfflineMailStatus() {
7760
- return await chunkX5OZRLFZ_cjs.getMeta(STATUS_KEY) ?? { messages: 0, bytes: 0, skipped: [] };
7760
+ return await chunkFAJLJDWS_cjs.getMeta(STATUS_KEY) ?? { messages: 0, bytes: 0, skipped: [] };
7761
7761
  }
7762
7762
  var MB = 1024 * 1024;
7763
7763
  var time = (m) => m.received_at ? Date.parse(m.received_at) || 0 : 0;
@@ -7848,23 +7848,23 @@ async function collectGarbage(accounts) {
7848
7848
  expected.add(await keyOf.attachment(account.id, message.id, attachment.id));
7849
7849
  }
7850
7850
  }
7851
- const orphans = (await chunkX5OZRLFZ_cjs.recordsInBucket(await bucketOf.account(account.id))).filter((r) => (r.kind === "body" || r.kind === "attachment") && !expected.has(r.key)).map((r) => r.key);
7851
+ const orphans = (await chunkFAJLJDWS_cjs.recordsInBucket(await bucketOf.account(account.id))).filter((r) => (r.kind === "body" || r.kind === "attachment") && !expected.has(r.key)).map((r) => r.key);
7852
7852
  await removeKeys(orphans);
7853
7853
  }
7854
7854
  }
7855
7855
  async function forgetAccount(accountId) {
7856
7856
  for (const folder of await loadFolders(accountId) ?? []) {
7857
- const records2 = await chunkX5OZRLFZ_cjs.recordsInBucket(await bucketOf.folder(accountId, folder.id));
7857
+ const records2 = await chunkFAJLJDWS_cjs.recordsInBucket(await bucketOf.folder(accountId, folder.id));
7858
7858
  await removeKeys(records2.map((r) => r.key));
7859
7859
  }
7860
- const records = await chunkX5OZRLFZ_cjs.recordsInBucket(await bucketOf.account(accountId));
7860
+ const records = await chunkFAJLJDWS_cjs.recordsInBucket(await bucketOf.account(accountId));
7861
7861
  await removeKeys(records.filter((r) => r.kind !== "draft").map((r) => r.key));
7862
7862
  }
7863
7863
  async function enforceQuota(quotaBytes) {
7864
- let used = (await chunkX5OZRLFZ_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0);
7864
+ let used = (await chunkFAJLJDWS_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0);
7865
7865
  if (used <= quotaBytes) return used;
7866
7866
  for (const kind of ["attachment", "body"]) {
7867
- const records = (await chunkX5OZRLFZ_cjs.recordsOfKind(kind)).sort(
7867
+ const records = (await chunkFAJLJDWS_cjs.recordsOfKind(kind)).sort(
7868
7868
  (a, b) => kind === "attachment" ? a.lastAccess - b.lastAccess : a.sortAt - b.sortAt
7869
7869
  );
7870
7870
  const evict = [];
@@ -7880,34 +7880,34 @@ async function enforceQuota(quotaBytes) {
7880
7880
  }
7881
7881
  var CONTENT_KINDS = ["header", "body", "attachment"];
7882
7882
  async function trimOfflineMailbox(settings, now = Date.now()) {
7883
- const windowStart = chunkX5OZRLFZ_cjs.offlineWindowStart(settings, now);
7883
+ const windowStart = chunkFAJLJDWS_cjs.offlineWindowStart(settings, now);
7884
7884
  const kinds = settings.enabled ? CONTENT_KINDS : [...CONTENT_KINDS, "folders"];
7885
7885
  for (const kind of kinds) {
7886
- const records = await chunkX5OZRLFZ_cjs.recordsOfKind(kind);
7886
+ const records = await chunkFAJLJDWS_cjs.recordsOfKind(kind);
7887
7887
  const old = settings.enabled ? records.filter((r) => r.sortAt > 0 && r.sortAt < windowStart) : records;
7888
7888
  await removeKeys(old.map((r) => r.key));
7889
7889
  }
7890
7890
  const previous = await getOfflineMailStatus();
7891
7891
  const status = {
7892
7892
  ...previous,
7893
- messages: (await chunkX5OZRLFZ_cjs.recordsOfKind("header")).length,
7894
- bytes: (await chunkX5OZRLFZ_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0),
7893
+ messages: (await chunkFAJLJDWS_cjs.recordsOfKind("header")).length,
7894
+ bytes: (await chunkFAJLJDWS_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0),
7895
7895
  // A shorter window no longer covers what the last full pass fetched: growing it again (even
7896
7896
  // before the next hourly full pass) makes the next pass a full one.
7897
- windowDays: settings.enabled && previous.windowDays !== void 0 ? Math.min(previous.windowDays, chunkX5OZRLFZ_cjs.SCOPE_DAYS[settings.scope]) : void 0,
7897
+ windowDays: settings.enabled && previous.windowDays !== void 0 ? Math.min(previous.windowDays, chunkFAJLJDWS_cjs.SCOPE_DAYS[settings.scope]) : void 0,
7898
7898
  // Off: nothing is saved, so turning it back on starts with a full pass.
7899
7899
  ...!settings.enabled && { lastSyncedAt: void 0, lastFullSyncAt: void 0 }
7900
7900
  };
7901
- await chunkX5OZRLFZ_cjs.setMeta(STATUS_KEY, status);
7902
- chunkX5OZRLFZ_cjs.notifyOfflineMailChange("status");
7901
+ await chunkFAJLJDWS_cjs.setMeta(STATUS_KEY, status);
7902
+ chunkFAJLJDWS_cjs.notifyOfflineMailChange("status");
7903
7903
  return status;
7904
7904
  }
7905
7905
  async function syncMailbox(transport, settings, options = {}) {
7906
7906
  const now = options.now ?? Date.now();
7907
7907
  const previous = await getOfflineMailStatus();
7908
- const days = chunkX5OZRLFZ_cjs.SCOPE_DAYS[settings.scope];
7908
+ const days = chunkFAJLJDWS_cjs.SCOPE_DAYS[settings.scope];
7909
7909
  const full = options.full || !previous.lastFullSyncAt || now - previous.lastFullSyncAt > FULL_SYNC_EVERY_MS || (previous.windowDays ?? 0) < days;
7910
- const windowStart = chunkX5OZRLFZ_cjs.offlineWindowStart(settings, now);
7910
+ const windowStart = chunkFAJLJDWS_cjs.offlineWindowStart(settings, now);
7911
7911
  const quota = settings.quotaMb * MB;
7912
7912
  const skipped = [];
7913
7913
  let error;
@@ -7919,7 +7919,7 @@ async function syncMailbox(transport, settings, options = {}) {
7919
7919
  for (const gone of before.filter((b) => !accounts.some((a) => a.id === b.id)))
7920
7920
  await forgetAccount(gone.id);
7921
7921
  const budget = new Budget(
7922
- (await chunkX5OZRLFZ_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0),
7922
+ (await chunkFAJLJDWS_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0),
7923
7923
  quota
7924
7924
  );
7925
7925
  for (const account of accounts) {
@@ -7933,12 +7933,12 @@ async function syncMailbox(transport, settings, options = {}) {
7933
7933
  const oldFolders = await loadFolders(account.id) ?? [];
7934
7934
  await saveFolders(account.id, folders);
7935
7935
  for (const gone of oldFolders.filter((o) => !folders.some((f) => f.id === o.id))) {
7936
- const records = await chunkX5OZRLFZ_cjs.recordsInBucket(await bucketOf.folder(account.id, gone.id));
7936
+ const records = await chunkFAJLJDWS_cjs.recordsInBucket(await bucketOf.folder(account.id, gone.id));
7937
7937
  await removeKeys(records.map((r) => r.key));
7938
7938
  }
7939
7939
  for (const folder of folders.filter((f) => !isVirtualFolder(f)))
7940
7940
  await syncFolder(transport, account, folder, settings, windowStart, full, budget);
7941
- chunkX5OZRLFZ_cjs.notifyOfflineMailChange("mailbox");
7941
+ chunkFAJLJDWS_cjs.notifyOfflineMailChange("mailbox");
7942
7942
  } catch (accountError) {
7943
7943
  if (accountError.status === void 0) throw accountError;
7944
7944
  client.logger.warn("[offline-mail] account sync failed", accountError);
@@ -7956,19 +7956,19 @@ async function syncMailbox(transport, settings, options = {}) {
7956
7956
  const trimmed = await trimOfflineMailbox(current, now);
7957
7957
  if (!current.enabled) return trimmed;
7958
7958
  const bytes = await enforceQuota(current.quotaMb * MB);
7959
- const messages = (await chunkX5OZRLFZ_cjs.recordsOfKind("header")).length;
7959
+ const messages = (await chunkFAJLJDWS_cjs.recordsOfKind("header")).length;
7960
7960
  const fullDone = !error && full;
7961
7961
  const status = {
7962
7962
  lastSyncedAt: error ? previous.lastSyncedAt : now,
7963
7963
  lastFullSyncAt: fullDone ? now : previous.lastFullSyncAt,
7964
- windowDays: fullDone ? Math.min(days, chunkX5OZRLFZ_cjs.SCOPE_DAYS[current.scope]) : trimmed.windowDays,
7964
+ windowDays: fullDone ? Math.min(days, chunkFAJLJDWS_cjs.SCOPE_DAYS[current.scope]) : trimmed.windowDays,
7965
7965
  messages,
7966
7966
  bytes,
7967
7967
  error,
7968
7968
  skipped
7969
7969
  };
7970
- await chunkX5OZRLFZ_cjs.setMeta(STATUS_KEY, status);
7971
- chunkX5OZRLFZ_cjs.notifyOfflineMailChange("status");
7970
+ await chunkFAJLJDWS_cjs.setMeta(STATUS_KEY, status);
7971
+ chunkFAJLJDWS_cjs.notifyOfflineMailChange("status");
7972
7972
  return status;
7973
7973
  }
7974
7974
 
@@ -8099,7 +8099,7 @@ async function sendOutbox({ arbi, queryClient, openOutbox }) {
8099
8099
  if (result.sent > 0) void queryClient.invalidateQueries({ queryKey: chunkO32T7XRD_cjs.mailQueryKeys.all() });
8100
8100
  const remaining = (await listOutbox()).filter((i) => i.status !== "sent");
8101
8101
  if (result.failed > 0) {
8102
- chunkRLSBRZ6Z_cjs.notify.error(
8102
+ chunkIX4HOS5Z_cjs.notify.error(
8103
8103
  result.failed === 1 ? "A message in your Outbox couldn't be sent" : `${result.failed} messages in your Outbox couldn't be sent`,
8104
8104
  {
8105
8105
  description: "Open the Outbox to see why, then retry, edit or delete it.",
@@ -8107,7 +8107,7 @@ async function sendOutbox({ arbi, queryClient, openOutbox }) {
8107
8107
  }
8108
8108
  );
8109
8109
  } else if (result.sent > 0 && remaining.length === 0) {
8110
- chunkRLSBRZ6Z_cjs.notify.success(
8110
+ chunkIX4HOS5Z_cjs.notify.success(
8111
8111
  result.sent === 1 ? "Your Outbox message was sent" : `${result.sent} Outbox messages sent`
8112
8112
  );
8113
8113
  }
@@ -8118,11 +8118,11 @@ async function applyChanges({ arbi, queryClient }) {
8118
8118
  if (result.applied + result.gone + result.refused.length > 0)
8119
8119
  void queryClient.invalidateQueries({ queryKey: chunkO32T7XRD_cjs.mailQueryKeys.all() });
8120
8120
  if (result.gone > 0)
8121
- chunkRLSBRZ6Z_cjs.notify.info(
8121
+ chunkIX4HOS5Z_cjs.notify.info(
8122
8122
  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`
8123
8123
  );
8124
8124
  if (result.refused.length > 0)
8125
- chunkRLSBRZ6Z_cjs.notify.error(
8125
+ chunkIX4HOS5Z_cjs.notify.error(
8126
8126
  result.refused.length === 1 ? "A change you made offline couldn't be applied" : `${result.refused.length} changes you made offline couldn't be applied`,
8127
8127
  { description: result.refused[0].error }
8128
8128
  );
@@ -8156,7 +8156,7 @@ async function uploadOfflineDrafts({
8156
8156
  );
8157
8157
  if (uploaded > 0) {
8158
8158
  void queryClient.invalidateQueries({ queryKey: chunkO32T7XRD_cjs.mailQueryKeys.allMessages() });
8159
- chunkRLSBRZ6Z_cjs.notify.success(
8159
+ chunkIX4HOS5Z_cjs.notify.success(
8160
8160
  uploaded === 1 ? "Your offline draft was saved to Drafts" : `${uploaded} offline drafts were saved to Drafts`
8161
8161
  );
8162
8162
  }
@@ -8167,20 +8167,20 @@ function isMailSyncRunning() {
8167
8167
  return syncing;
8168
8168
  }
8169
8169
  async function syncOfflineMailbox({ arbi }, options = {}) {
8170
- const latest = () => chunkX5OZRLFZ_cjs.getOfflineMailSettings(sessionUser(arbi));
8170
+ const latest = () => chunkFAJLJDWS_cjs.getOfflineMailSettings(sessionUser(arbi));
8171
8171
  const settings = latest();
8172
8172
  if (!settings.enabled || !canReachMail(arbi)) return;
8173
8173
  void requestPersistentStorage();
8174
8174
  await exclusive("arbi-mail-sync", async () => {
8175
8175
  syncing = true;
8176
- chunkX5OZRLFZ_cjs.notifyOfflineMailChange("status");
8176
+ chunkFAJLJDWS_cjs.notifyOfflineMailChange("status");
8177
8177
  try {
8178
8178
  await syncMailbox(liveTransport(arbi), latest(), { ...options, latest });
8179
8179
  } catch (error) {
8180
8180
  client.logger.error("[offline-mail] sync failed", error);
8181
8181
  } finally {
8182
8182
  syncing = false;
8183
- chunkX5OZRLFZ_cjs.notifyOfflineMailChange("status");
8183
+ chunkFAJLJDWS_cjs.notifyOfflineMailChange("status");
8184
8184
  }
8185
8185
  });
8186
8186
  }
@@ -8211,9 +8211,9 @@ async function savedFolder(accountId, folderId) {
8211
8211
  }
8212
8212
  function offlineMailReads(getArbi, { keepsMail = () => true } = {}) {
8213
8213
  const call = (path) => mailJson((p, i) => getArbi().mail.fetch(p, i), path);
8214
- const settings = () => chunkX5OZRLFZ_cjs.getOfflineMailSettings(sessionUser(getArbi()));
8214
+ const settings = () => chunkFAJLJDWS_cjs.getOfflineMailSettings(sessionUser(getArbi()));
8215
8215
  const storeEnabled = () => settings().enabled;
8216
- const keeps = (message) => chunkX5OZRLFZ_cjs.inOfflineWindow(settings(), message.received_at);
8216
+ const keeps = (message) => chunkFAJLJDWS_cjs.inOfflineWindow(settings(), message.received_at);
8217
8217
  const remember = (write3) => {
8218
8218
  if (!keepsMail()) return;
8219
8219
  write3().catch((error) => client.logger.warn("[offline-mail] could not save for offline use", error));
@@ -8822,7 +8822,7 @@ function ArbiWebSocketProvider({
8822
8822
  const host = chunkO32T7XRD_cjs.useArbiHost();
8823
8823
  const hostRef = React.useRef(host);
8824
8824
  hostRef.current = host;
8825
- const acceptRings = chunkX5OZRLFZ_cjs.useFeature("calls");
8825
+ const acceptRings = chunkFAJLJDWS_cjs.useFeature("calls");
8826
8826
  const acceptRingsRef = React.useRef(acceptRings);
8827
8827
  acceptRingsRef.current = acceptRings;
8828
8828
  useOnlineSync();
@@ -8875,9 +8875,9 @@ function ArbiWebSocketProvider({
8875
8875
  void queryClient.invalidateQueries({ queryKey: chunkO32T7XRD_cjs.arbiQueryKeys.allTags() });
8876
8876
  }
8877
8877
  } else if (type.startsWith("chat.") || type === "agent_dm_status")
8878
- void chunkX5OZRLFZ_cjs.applyChatEvent(arbiRef.current, queryClient, msg);
8878
+ void chunkFAJLJDWS_cjs.applyChatEvent(arbiRef.current, queryClient, msg);
8879
8879
  else if (type.startsWith("call."))
8880
- chunkX5OZRLFZ_cjs.applyCallEvent(queryClient, msg, { me: me(), acceptRings: acceptRingsRef.current });
8880
+ chunkFAJLJDWS_cjs.applyCallEvent(queryClient, msg, { me: me(), acceptRings: acceptRingsRef.current });
8881
8881
  else if (isNotificationRow(msg)) applyNotificationRow(queryClient, msg, me());
8882
8882
  else void applyLiveUpdate(queryClient, msg);
8883
8883
  try {
@@ -9170,17 +9170,17 @@ function createWorkspaceSwitch({
9170
9170
  const name = target.name || listed?.name || "";
9171
9171
  const noun = chunkDLEHM4IA_cjs.getEntityLabel("WORKSPACE");
9172
9172
  if (listed?.archive) {
9173
- chunkRLSBRZ6Z_cjs.notify.info(archivedWorkspaceMessage(name));
9173
+ chunkIX4HOS5Z_cjs.notify.info(archivedWorkspaceMessage(name));
9174
9174
  return false;
9175
9175
  }
9176
9176
  if (!isSame && !reactQuery.onlineManager.isOnline()) {
9177
- chunkRLSBRZ6Z_cjs.notify.info(
9177
+ chunkIX4HOS5Z_cjs.notify.info(
9178
9178
  `You're offline \u2014 you can only use the ${noun} you're already in. Reconnect to switch.`
9179
9179
  );
9180
9180
  return false;
9181
9181
  }
9182
9182
  const epoch = ++switchEpoch;
9183
- chunkRLSBRZ6Z_cjs.notify.info(`Opening "${name}" ${noun}\u2026`, { workspaceId: target.id, duration: 2e3 });
9183
+ chunkIX4HOS5Z_cjs.notify.info(`Opening "${name}" ${noun}\u2026`, { workspaceId: target.id, duration: 2e3 });
9184
9184
  await signedIn(arbi);
9185
9185
  if (epoch !== switchEpoch) return false;
9186
9186
  if (!isSame) {
@@ -9204,10 +9204,10 @@ function createWorkspaceSwitch({
9204
9204
  if (previousId) session.setWorkspaceId(previousId);
9205
9205
  session.setWorkspaceStatus("closed");
9206
9206
  if (isWorkspaceArchivedError(error)) {
9207
- chunkRLSBRZ6Z_cjs.notify.info(archivedWorkspaceMessage(name));
9207
+ chunkIX4HOS5Z_cjs.notify.info(archivedWorkspaceMessage(name));
9208
9208
  void queryClient.invalidateQueries({ queryKey: chunkO32T7XRD_cjs.arbiQueryKeys.workspaces() });
9209
9209
  } else {
9210
- chunkRLSBRZ6Z_cjs.notify.error(`Failed to open "${name}" ${noun}`);
9210
+ chunkIX4HOS5Z_cjs.notify.error(`Failed to open "${name}" ${noun}`);
9211
9211
  }
9212
9212
  }
9213
9213
  return false;
@@ -9284,7 +9284,7 @@ function useOpenSelectedWorkspace() {
9284
9284
  const gone = !!openId && !!listed && !isFetching && reads > opened.current.reads && !listed.some((w) => w.external_id === openId);
9285
9285
  React.useEffect(() => {
9286
9286
  if (!archived) return;
9287
- chunkRLSBRZ6Z_cjs.notify.info(archivedWorkspaceMessage(archived.name));
9287
+ chunkIX4HOS5Z_cjs.notify.info(archivedWorkspaceMessage(archived.name));
9288
9288
  clearWorkspace();
9289
9289
  }, [archived, clearWorkspace]);
9290
9290
  React.useEffect(() => {
@@ -9588,16 +9588,16 @@ function useWorkspaceExportDownload({
9588
9588
  chunk3JAEX57E_cjs.downloadBlob(archive.blob, fileName);
9589
9589
  const files = `${archive.fileCount} file${archive.fileCount !== 1 ? "s" : ""}`;
9590
9590
  if (archive.failed.length === 0) {
9591
- chunkRLSBRZ6Z_cjs.notify.success(`Successfully downloaded ${files} and data in ${fileName}`);
9591
+ chunkIX4HOS5Z_cjs.notify.success(`Successfully downloaded ${files} and data in ${fileName}`);
9592
9592
  } else {
9593
- chunkRLSBRZ6Z_cjs.notify.warning(
9593
+ chunkIX4HOS5Z_cjs.notify.warning(
9594
9594
  `Downloaded ${files} in ${fileName}; ${archive.failed.length} could not be fetched (listed in manifest.json)`
9595
9595
  );
9596
9596
  }
9597
9597
  return true;
9598
9598
  } catch (error) {
9599
9599
  console.error("Workspace export failed:", error);
9600
- chunkRLSBRZ6Z_cjs.notify.error("Failed to download. Please try again.");
9600
+ chunkIX4HOS5Z_cjs.notify.error("Failed to download. Please try again.");
9601
9601
  return false;
9602
9602
  } finally {
9603
9603
  setProgress(null);
@@ -10396,7 +10396,7 @@ function createWorkflowsSource(labels) {
10396
10396
  description: l.description,
10397
10397
  useFields: staticFields(fields),
10398
10398
  useRows(_params, enabled) {
10399
- const on = chunkX5OZRLFZ_cjs.useFeature("workflows");
10399
+ const on = chunkFAJLJDWS_cjs.useFeature("workflows");
10400
10400
  const workspaceId = chunk7L7QRIQ2_cjs.useArbiSessionState((s) => s.workspaceId);
10401
10401
  const query = useWorkflows({ enabled: enabled && on });
10402
10402
  const nameOf = useNames(enabled);
@@ -10643,7 +10643,7 @@ function createDatabaseSource(labels) {
10643
10643
  const arbi = chunkO32T7XRD_cjs.useArbi();
10644
10644
  const databaseId = text(params.databaseId);
10645
10645
  const viewName = text(params.view);
10646
- const settings = chunkX5OZRLFZ_cjs.useUserSettings({ enabled: Boolean(viewName) });
10646
+ const settings = chunkFAJLJDWS_cjs.useUserSettings({ enabled: Boolean(viewName) });
10647
10647
  const workspaceId = arbi.hasWorkspace ? arbi.getWorkspaceId() : null;
10648
10648
  return React.useMemo(
10649
10649
  () => viewName && databaseId ? viewsOfTable(settings.data?.tableviews, workspaceId, databaseId).find(
@@ -10725,7 +10725,7 @@ function createDatabaseSource(labels) {
10725
10725
  useOptions(params) {
10726
10726
  const arbi = chunkO32T7XRD_cjs.useArbi();
10727
10727
  const databaseId = text(params.databaseId);
10728
- const settings = chunkX5OZRLFZ_cjs.useUserSettings({ enabled: Boolean(databaseId) });
10728
+ const settings = chunkFAJLJDWS_cjs.useUserSettings({ enabled: Boolean(databaseId) });
10729
10729
  const workspaceId = arbi.hasWorkspace ? arbi.getWorkspaceId() : null;
10730
10730
  const options = React.useMemo(
10731
10731
  () => databaseId ? viewsOfTable(settings.data?.tableviews, workspaceId, databaseId).map((v) => ({
@@ -11667,11 +11667,11 @@ function createArbiQueryClient({
11667
11667
  onError: (error) => {
11668
11668
  const { detail, code } = error ?? {};
11669
11669
  if (detail === "account_deletion_pending") {
11670
- chunkRLSBRZ6Z_cjs.notify.error("Your account is read-only while deletion is pending.");
11670
+ chunkIX4HOS5Z_cjs.notify.error("Your account is read-only while deletion is pending.");
11671
11671
  }
11672
11672
  if (code === client.SETTINGS_WRITE_BREAKER_CODE && Date.now() - breakerNoticeAt > BREAKER_NOTICE_MS) {
11673
11673
  breakerNoticeAt = Date.now();
11674
- chunkRLSBRZ6Z_cjs.notify.warning("Settings are being saved too frequently", {
11674
+ chunkIX4HOS5Z_cjs.notify.warning("Settings are being saved too frequently", {
11675
11675
  description: "Some changes were not saved. Refresh the page if this keeps happening.",
11676
11676
  duration: 1e4
11677
11677
  });
@@ -12384,13 +12384,13 @@ function useUnlockModelConnections() {
12384
12384
  return reactQuery.useMutation({ mutationFn: () => arbi.modelConnections.unlock() });
12385
12385
  }
12386
12386
  function useRequestEmailChange() {
12387
- const { client } = chunkX5OZRLFZ_cjs.useAccountClient();
12387
+ const { client } = chunkFAJLJDWS_cjs.useAccountClient();
12388
12388
  return reactQuery.useMutation({
12389
12389
  mutationFn: (newEmail) => client.requestEmailChange(newEmail)
12390
12390
  });
12391
12391
  }
12392
12392
  function useConfirmEmailChange() {
12393
- const { client } = chunkX5OZRLFZ_cjs.useAccountClient();
12393
+ const { client } = chunkFAJLJDWS_cjs.useAccountClient();
12394
12394
  const qc = reactQuery.useQueryClient();
12395
12395
  return reactQuery.useMutation({
12396
12396
  mutationFn: ({ newEmail, code }) => client.confirmEmailChange(newEmail, code),
@@ -12458,7 +12458,7 @@ function useEmailChange({
12458
12458
  };
12459
12459
  }
12460
12460
  function usePasswordChange() {
12461
- const { client } = chunkX5OZRLFZ_cjs.useAccountClient();
12461
+ const { client } = chunkFAJLJDWS_cjs.useAccountClient();
12462
12462
  return reactQuery.useMutation({
12463
12463
  mutationFn: (vars) => client.changePassword(vars)
12464
12464
  });
@@ -12552,8 +12552,8 @@ function usePasswordChangeForm({
12552
12552
  }
12553
12553
  function useDismissedTips() {
12554
12554
  const queryClient = reactQuery.useQueryClient();
12555
- const { data: userSettings } = chunkX5OZRLFZ_cjs.useUserSettings();
12556
- const { mutate: updateUserSettings } = chunkX5OZRLFZ_cjs.useUpdateUserSettings();
12555
+ const { data: userSettings } = chunkFAJLJDWS_cjs.useUserSettings();
12556
+ const { mutate: updateUserSettings } = chunkFAJLJDWS_cjs.useUpdateUserSettings();
12557
12557
  const loaded = userSettings !== void 0;
12558
12558
  const dismissed = userSettings?.dismissed_tips ?? [];
12559
12559
  const dismissTip = React.useCallback(
@@ -12587,7 +12587,7 @@ function toNotificationPreferences(stored, keys) {
12587
12587
  function useNotificationPreferences(keys, options) {
12588
12588
  const arbi = chunkO32T7XRD_cjs.useArbi();
12589
12589
  const qc = reactQuery.useQueryClient();
12590
- const settings = chunkX5OZRLFZ_cjs.useUserSettings(options);
12590
+ const settings = chunkFAJLJDWS_cjs.useUserSettings(options);
12591
12591
  const stored = settings.data?.email_notifications;
12592
12592
  const save = reactQuery.useMutation({
12593
12593
  mutationFn: (patch) => arbi.settings.update({ email_notifications: patch }),
@@ -12646,7 +12646,7 @@ function useRelevanceSave() {
12646
12646
  }
12647
12647
  function useWorkspaceNotificationLevel(workspaceId, options) {
12648
12648
  const qc = reactQuery.useQueryClient();
12649
- const settings = chunkX5OZRLFZ_cjs.useUserSettings(options);
12649
+ const settings = chunkFAJLJDWS_cjs.useUserSettings(options);
12650
12650
  const save = useRelevanceSave();
12651
12651
  const level = workspaceId ? browser.settings.workspaceNotificationLevel(settings.data, workspaceId) : "default";
12652
12652
  const setLevel = React.useCallback(
@@ -12667,7 +12667,7 @@ function useWorkspaceNotificationLevel(workspaceId, options) {
12667
12667
  }
12668
12668
  function useFollowThread(conversationId, options) {
12669
12669
  const qc = reactQuery.useQueryClient();
12670
- const settings = chunkX5OZRLFZ_cjs.useUserSettings(options);
12670
+ const settings = chunkFAJLJDWS_cjs.useUserSettings(options);
12671
12671
  const save = useRelevanceSave();
12672
12672
  const following = !!conversationId && !!settings.data?.followed_threads?.includes(conversationId);
12673
12673
  const setFollowing = React.useCallback(
@@ -12696,7 +12696,7 @@ function useFollowThread(conversationId, options) {
12696
12696
  };
12697
12697
  }
12698
12698
  function useSessions(options) {
12699
- const { client, enabled } = chunkX5OZRLFZ_cjs.useAccountClient();
12699
+ const { client, enabled } = chunkFAJLJDWS_cjs.useAccountClient();
12700
12700
  return reactQuery.useQuery({
12701
12701
  queryKey: chunkO32T7XRD_cjs.arbiQueryKeys.sessions(),
12702
12702
  queryFn: () => client.listSessions(),
@@ -12704,7 +12704,7 @@ function useSessions(options) {
12704
12704
  });
12705
12705
  }
12706
12706
  function useTerminateSession() {
12707
- const { client } = chunkX5OZRLFZ_cjs.useAccountClient();
12707
+ const { client } = chunkFAJLJDWS_cjs.useAccountClient();
12708
12708
  const qc = reactQuery.useQueryClient();
12709
12709
  return reactQuery.useMutation({
12710
12710
  mutationFn: (sessionId) => client.terminateSession(sessionId),
@@ -12712,7 +12712,7 @@ function useTerminateSession() {
12712
12712
  });
12713
12713
  }
12714
12714
  function useSignOut() {
12715
- const { client } = chunkX5OZRLFZ_cjs.useAccountClient();
12715
+ const { client } = chunkFAJLJDWS_cjs.useAccountClient();
12716
12716
  const qc = reactQuery.useQueryClient();
12717
12717
  return reactQuery.useMutation({
12718
12718
  mutationFn: (options = {}) => client.signOut(options),
@@ -12720,7 +12720,7 @@ function useSignOut() {
12720
12720
  });
12721
12721
  }
12722
12722
  function useCurrentSessionId() {
12723
- return chunkX5OZRLFZ_cjs.useAccountClient().client.currentSessionId();
12723
+ return chunkFAJLJDWS_cjs.useAccountClient().client.currentSessionId();
12724
12724
  }
12725
12725
  function parseDeleteAccountBlockers(error) {
12726
12726
  const body = error?.apiError ?? error;
@@ -12735,7 +12735,7 @@ function parseDeleteAccountBlockers(error) {
12735
12735
  return [];
12736
12736
  }
12737
12737
  function useDeleteAccount() {
12738
- const { client } = chunkX5OZRLFZ_cjs.useAccountClient();
12738
+ const { client } = chunkFAJLJDWS_cjs.useAccountClient();
12739
12739
  return reactQuery.useMutation({ mutationFn: () => client.requestDeletion() });
12740
12740
  }
12741
12741
  function useDeleteAccountFlow({
@@ -13057,7 +13057,7 @@ function useIdentityVerificationFlow(api, {
13057
13057
  };
13058
13058
  }
13059
13059
  function useIdentityVerification(options = {}) {
13060
- const { client, enabled } = chunkX5OZRLFZ_cjs.useAccountClient();
13060
+ const { client, enabled } = chunkFAJLJDWS_cjs.useAccountClient();
13061
13061
  const qc = reactQuery.useQueryClient();
13062
13062
  const { onVerifiedChange, onNameAccepted, formatPrice } = options;
13063
13063
  return useIdentityVerificationFlow(client.identity, {
@@ -13156,8 +13156,8 @@ var SYNC_INTERVAL_MS = 5 * 60 * 1e3;
13156
13156
  var NEW_MAIL_DEBOUNCE_MS = 5e3;
13157
13157
  function useOfflineMailActive() {
13158
13158
  const { user, status } = chunk7L7QRIQ2_cjs.useArbiSession();
13159
- const mailEnabled = chunkX5OZRLFZ_cjs.useFeature("mail");
13160
- const entitled = chunkX5OZRLFZ_cjs.useIsEntitled("mail");
13159
+ const mailEnabled = chunkFAJLJDWS_cjs.useFeature("mail");
13160
+ const entitled = chunkFAJLJDWS_cjs.useIsEntitled("mail");
13161
13161
  const eligible = status === "signed-in" && !!user?.external_id && mailEnabled && entitled;
13162
13162
  const { data: policy } = useMailPolicy({ enabled: eligible });
13163
13163
  return eligible && !!policy?.enabled && (policy.native_enabled || policy.enabled_providers.length > 0);
@@ -13173,15 +13173,15 @@ function useOfflineMailRuntime({ openOutbox } = {}) {
13173
13173
  latest.current = { arbi, queryClient, openOutbox };
13174
13174
  React.useEffect(() => {
13175
13175
  if (!active || !userExtId) return;
13176
- chunkX5OZRLFZ_cjs.claimOfflineMail(userExtId).catch(
13176
+ chunkFAJLJDWS_cjs.claimOfflineMail(userExtId).catch(
13177
13177
  (error) => client.logger.warn("[offline-mail] could not bind the store", error)
13178
13178
  );
13179
13179
  }, [active, userExtId]);
13180
13180
  React.useEffect(() => {
13181
13181
  if (!active || !userExtId) return;
13182
- return chunkX5OZRLFZ_cjs.onOfflineMailChange((change) => {
13182
+ return chunkFAJLJDWS_cjs.onOfflineMailChange((change) => {
13183
13183
  if (change !== "settings") return;
13184
- trimOfflineMailbox(chunkX5OZRLFZ_cjs.getOfflineMailSettings(userExtId)).then(
13184
+ trimOfflineMailbox(chunkFAJLJDWS_cjs.getOfflineMailSettings(userExtId)).then(
13185
13185
  () => latest.current.queryClient.invalidateQueries({ queryKey: chunkO32T7XRD_cjs.mailQueryKeys.allMessages() })
13186
13186
  ).catch((error) => client.logger.warn("[offline-mail] could not trim the device copy", error));
13187
13187
  });
@@ -13206,7 +13206,7 @@ function useOfflineMailRuntime({ openOutbox } = {}) {
13206
13206
  const interval = setInterval(() => {
13207
13207
  if (document.visibilityState === "visible") run2();
13208
13208
  }, SYNC_INTERVAL_MS);
13209
- const enabled = () => chunkX5OZRLFZ_cjs.getOfflineMailSettings(sessionUser(context().arbi)).enabled;
13209
+ const enabled = () => chunkFAJLJDWS_cjs.getOfflineMailSettings(sessionUser(context().arbi)).enabled;
13210
13210
  let newMailTimer = null;
13211
13211
  const offCache = queryClient.getQueryCache().subscribe((event) => {
13212
13212
  if (event.type !== "updated" || event.action.type !== "invalidate") return;
@@ -13214,7 +13214,7 @@ function useOfflineMailRuntime({ openOutbox } = {}) {
13214
13214
  if (newMailTimer) clearTimeout(newMailTimer);
13215
13215
  newMailTimer = setTimeout(() => void syncOfflineMailbox(context()), NEW_MAIL_DEBOUNCE_MS);
13216
13216
  });
13217
- const offSettings = chunkX5OZRLFZ_cjs.onOfflineMailChange((change) => {
13217
+ const offSettings = chunkFAJLJDWS_cjs.onOfflineMailChange((change) => {
13218
13218
  if (change === "settings" && enabled()) void syncOfflineMailbox(context(), { full: true });
13219
13219
  if (change === "outbox") void flushOutbox(context());
13220
13220
  if (change === "changes") void flushOutbox(context());
@@ -13236,7 +13236,7 @@ function useStoreValue(load, initial, changes) {
13236
13236
  let alive = true;
13237
13237
  const read = () => load().then((next) => alive && setValue(next)).catch((error) => client.logger.warn("[offline-mail] read failed", error));
13238
13238
  void read();
13239
- const off = chunkX5OZRLFZ_cjs.onOfflineMailChange((change) => {
13239
+ const off = chunkFAJLJDWS_cjs.onOfflineMailChange((change) => {
13240
13240
  if (change === "wiped") setValue(initial);
13241
13241
  if (change === "wiped" || key.split(",").includes(change)) void read();
13242
13242
  });
@@ -13250,18 +13250,18 @@ function useStoreValue(load, initial, changes) {
13250
13250
  function useOfflineMailSettings() {
13251
13251
  const userExtId = chunk7L7QRIQ2_cjs.useArbiSession().user?.external_id;
13252
13252
  const subscribe = React.useCallback(
13253
- (onChange) => chunkX5OZRLFZ_cjs.onOfflineMailChange((change) => {
13253
+ (onChange) => chunkFAJLJDWS_cjs.onOfflineMailChange((change) => {
13254
13254
  if (change === "settings") onChange();
13255
13255
  }),
13256
13256
  []
13257
13257
  );
13258
13258
  const raw = React.useSyncExternalStore(
13259
13259
  subscribe,
13260
- () => JSON.stringify([userExtId, chunkX5OZRLFZ_cjs.getOfflineMailSettings(userExtId)])
13260
+ () => JSON.stringify([userExtId, chunkFAJLJDWS_cjs.getOfflineMailSettings(userExtId)])
13261
13261
  );
13262
13262
  const settings = React.useMemo(() => JSON.parse(raw)[1], [raw]);
13263
13263
  const update2 = React.useCallback(
13264
- (patch) => void chunkX5OZRLFZ_cjs.setOfflineMailSettings(userExtId, patch),
13264
+ (patch) => void chunkFAJLJDWS_cjs.setOfflineMailSettings(userExtId, patch),
13265
13265
  [userExtId]
13266
13266
  );
13267
13267
  return [settings, update2];
@@ -13271,7 +13271,7 @@ function useOfflineMailStatus() {
13271
13271
  const status = useStoreValue(getOfflineMailStatus, EMPTY_STATUS, ["status", "mailbox"]);
13272
13272
  const [syncing2, setSyncing] = React.useState(isMailSyncRunning);
13273
13273
  React.useEffect(
13274
- () => chunkX5OZRLFZ_cjs.onOfflineMailChange((change) => {
13274
+ () => chunkFAJLJDWS_cjs.onOfflineMailChange((change) => {
13275
13275
  if (change === "status") setSyncing(isMailSyncRunning());
13276
13276
  }),
13277
13277
  []
@@ -13313,7 +13313,7 @@ function useSyncOfflineMailbox() {
13313
13313
  async function storeExists() {
13314
13314
  try {
13315
13315
  const databases = await indexedDB.databases?.();
13316
- return databases ? databases.some((d) => d.name === chunkX5OZRLFZ_cjs.OFFLINE_MAIL_DB) : true;
13316
+ return databases ? databases.some((d) => d.name === chunkFAJLJDWS_cjs.OFFLINE_MAIL_DB) : true;
13317
13317
  } catch {
13318
13318
  return true;
13319
13319
  }
@@ -13371,7 +13371,7 @@ function useDisconnectConnector() {
13371
13371
  );
13372
13372
  }
13373
13373
  function useConnectorVendorVisibility() {
13374
- const { data: settings } = chunkX5OZRLFZ_cjs.useUserSettings();
13374
+ const { data: settings } = chunkFAJLJDWS_cjs.useUserSettings();
13375
13375
  return (vendorKey) => browser.isConnectorVendorVisible(settings, vendorKey);
13376
13376
  }
13377
13377
  function connectorReturnTo(reopen) {
@@ -13543,7 +13543,7 @@ function checkNowAndOnFocus(check) {
13543
13543
  function useConnectorAutoSync(workspaceExtId, opened) {
13544
13544
  const arbi = chunkO32T7XRD_cjs.useArbi();
13545
13545
  const qc = reactQuery.useQueryClient();
13546
- const hasMail = chunkX5OZRLFZ_cjs.useIsEntitled("mail");
13546
+ const hasMail = chunkFAJLJDWS_cjs.useIsEntitled("mail");
13547
13547
  React.useEffect(() => {
13548
13548
  if (!opened || !workspaceExtId || !arbi.isLoggedIn) return;
13549
13549
  return checkNowAndOnFocus(() => {
@@ -14161,7 +14161,7 @@ var OfflineCalendarLockedError = class extends Error {
14161
14161
  this.name = "OfflineCalendarLockedError";
14162
14162
  }
14163
14163
  };
14164
- var store = chunkX5OZRLFZ_cjs.createRecordStore(OFFLINE_CALENDAR_DB);
14164
+ var store = chunkFAJLJDWS_cjs.createRecordStore(OFFLINE_CALENDAR_DB);
14165
14165
  var sealer = client.createOfflineSealer("arbi-offline-calendar-v1", {
14166
14166
  locked: () => new OfflineCalendarLockedError()
14167
14167
  });
@@ -14435,7 +14435,7 @@ async function replay(arbi, queryClient) {
14435
14435
  }
14436
14436
  }
14437
14437
  if (result.failed)
14438
- chunkRLSBRZ6Z_cjs.notify.error(
14438
+ chunkIX4HOS5Z_cjs.notify.error(
14439
14439
  result.failed === 1 ? "A calendar change made offline could not be saved" : `${result.failed} calendar changes made offline could not be saved`
14440
14440
  );
14441
14441
  }
@@ -14887,6 +14887,13 @@ var LABELS = {
14887
14887
  action: "Open preview",
14888
14888
  untitled: "Untitled app"
14889
14889
  },
14890
+ presentation: {
14891
+ Icon: lucideReact.Presentation,
14892
+ busy: "Building slides\u2026",
14893
+ ready: "Slides saved",
14894
+ action: "Open slides",
14895
+ untitled: "Untitled presentation"
14896
+ },
14890
14897
  image: {
14891
14898
  Icon: lucideReact.Image,
14892
14899
  busy: "Generating\u2026",
@@ -14897,6 +14904,7 @@ var LABELS = {
14897
14904
  };
14898
14905
  function labelsFor(mode) {
14899
14906
  if (mode === "image") return LABELS.image;
14907
+ if (mode === "presentation") return LABELS.presentation;
14900
14908
  if (mode === "html" || mode === "react") return LABELS.live;
14901
14909
  return LABELS.document;
14902
14910
  }
@@ -15350,7 +15358,7 @@ var IDLE = {
15350
15358
  };
15351
15359
  function useSemanticSearch(docIds = [], options = {}) {
15352
15360
  const arbi = chunkO32T7XRD_cjs.useArbi();
15353
- const [ownSession] = React.useState(chunkZ3W4XFWB_cjs.createSearchSession);
15361
+ const [ownSession] = React.useState(chunkWUYSVTKE_cjs.createSearchSession);
15354
15362
  const session = options.session ?? ownSession;
15355
15363
  const { model, workspaceId } = options;
15356
15364
  const state = React.useSyncExternalStore(session.subscribe, session.getState, session.getState);
@@ -15359,7 +15367,7 @@ function useSemanticSearch(docIds = [], options = {}) {
15359
15367
  if (!workspaceId) return;
15360
15368
  const current = session.getState().workspaceId;
15361
15369
  if (current !== workspaceId) {
15362
- if (current) chunkZ3W4XFWB_cjs.clearSearchSession(workspaceId, session);
15370
+ if (current) chunkWUYSVTKE_cjs.clearSearchSession(workspaceId, session);
15363
15371
  else session.setState({ workspaceId });
15364
15372
  }
15365
15373
  }, [session, workspaceId]);
@@ -15367,7 +15375,7 @@ function useSemanticSearch(docIds = [], options = {}) {
15367
15375
  async (query, mode = "hybrid") => {
15368
15376
  const trimmed = query.trim();
15369
15377
  if (!trimmed) {
15370
- chunkZ3W4XFWB_cjs.clearSearchSession(void 0, session);
15378
+ chunkWUYSVTKE_cjs.clearSearchSession(void 0, session);
15371
15379
  return;
15372
15380
  }
15373
15381
  const run2 = session.getState().run + 1;
@@ -15398,7 +15406,7 @@ function useSemanticSearch(docIds = [], options = {}) {
15398
15406
  },
15399
15407
  [arbi, docIds, model, session, workspaceId]
15400
15408
  );
15401
- const clear = React.useCallback(() => chunkZ3W4XFWB_cjs.clearSearchSession(void 0, session), [session]);
15409
+ const clear = React.useCallback(() => chunkWUYSVTKE_cjs.clearSearchSession(void 0, session), [session]);
15402
15410
  const shown = foreign ? IDLE : state;
15403
15411
  return {
15404
15412
  query: shown.query,
@@ -16631,7 +16639,7 @@ function useChatUnreadTotal() {
16631
16639
  function useUnreadByPeer() {
16632
16640
  const arbi = chunkO32T7XRD_cjs.useArbi();
16633
16641
  const { data = [] } = useChats();
16634
- const me = chunkX5OZRLFZ_cjs.myChatId(arbi);
16642
+ const me = chunkFAJLJDWS_cjs.myChatId(arbi);
16635
16643
  return React.useMemo(() => {
16636
16644
  const out = /* @__PURE__ */ new Map();
16637
16645
  for (const c of data) {
@@ -16721,13 +16729,13 @@ function useChatPost() {
16721
16729
  const queryClient = reactQuery.useQueryClient();
16722
16730
  return React.useCallback(
16723
16731
  async (target, post) => {
16724
- const me = chunkX5OZRLFZ_cjs.myChatId(arbi);
16732
+ const me = chunkFAJLJDWS_cjs.myChatId(arbi);
16725
16733
  if (!me) throw new Error("No active session");
16726
16734
  let chat = target.chat;
16727
16735
  if (!chat) {
16728
16736
  if (!target.peerExtId) throw new Error("Could not resolve the conversation");
16729
16737
  chat = await arbi.chats.openDirect(target.peerExtId);
16730
- chunkX5OZRLFZ_cjs.upsertChat(queryClient, chat);
16738
+ chunkFAJLJDWS_cjs.upsertChat(queryClient, chat);
16731
16739
  queryClient.setQueryData(
16732
16740
  chunkO32T7XRD_cjs.arbiQueryKeys.chatThread(chat.external_id),
16733
16741
  (old) => old ?? { messages: [], hasMore: false }
@@ -16750,7 +16758,7 @@ function useChatPost() {
16750
16758
  updated_at: now,
16751
16759
  optimistic: true
16752
16760
  };
16753
- chunkX5OZRLFZ_cjs.appendToThread(queryClient, chat.external_id, optimistic);
16761
+ chunkFAJLJDWS_cjs.appendToThread(queryClient, chat.external_id, optimistic);
16754
16762
  try {
16755
16763
  let attachments = [];
16756
16764
  if (files.length) {
@@ -16770,15 +16778,15 @@ function useChatPost() {
16770
16778
  ...post.workspaceExtId ? { workspaceExtId: post.workspaceExtId } : {},
16771
16779
  contextOnly: !!post.contextOnly
16772
16780
  });
16773
- chunkX5OZRLFZ_cjs.appendToThread(queryClient, chat.external_id, message, optimisticId);
16774
- chunkX5OZRLFZ_cjs.upsertChat(queryClient, {
16781
+ chunkFAJLJDWS_cjs.appendToThread(queryClient, chat.external_id, message, optimisticId);
16782
+ chunkFAJLJDWS_cjs.upsertChat(queryClient, {
16775
16783
  ...chat,
16776
16784
  last_message: message,
16777
16785
  last_message_at: message.created_at
16778
16786
  });
16779
16787
  return { chat, message };
16780
16788
  } catch (err) {
16781
- chunkX5OZRLFZ_cjs.dropFromThread(queryClient, chat.external_id, optimisticId);
16789
+ chunkFAJLJDWS_cjs.dropFromThread(queryClient, chat.external_id, optimisticId);
16782
16790
  void queryClient.invalidateQueries({ queryKey: chunkO32T7XRD_cjs.arbiQueryKeys.chatList() });
16783
16791
  throw err;
16784
16792
  }
@@ -16790,7 +16798,7 @@ function useDeleteChatMessage() {
16790
16798
  const arbi = chunkO32T7XRD_cjs.useArbi();
16791
16799
  const queryClient = reactQuery.useQueryClient();
16792
16800
  return React.useCallback(
16793
- (chatExtId, messageExtId) => chunkX5OZRLFZ_cjs.deleteChatMessage(arbi, queryClient, chatExtId, messageExtId),
16801
+ (chatExtId, messageExtId) => chunkFAJLJDWS_cjs.deleteChatMessage(arbi, queryClient, chatExtId, messageExtId),
16794
16802
  [arbi, queryClient]
16795
16803
  );
16796
16804
  }
@@ -16799,7 +16807,7 @@ function useMarkChatRead() {
16799
16807
  const queryClient = reactQuery.useQueryClient();
16800
16808
  return React.useCallback(
16801
16809
  (chat, messageExtId) => {
16802
- chunkX5OZRLFZ_cjs.upsertChat(queryClient, { ...chat, unread_count: 0 });
16810
+ chunkFAJLJDWS_cjs.upsertChat(queryClient, { ...chat, unread_count: 0 });
16803
16811
  return arbi.chats.markRead(chat.external_id, messageExtId).then(
16804
16812
  () => void 0,
16805
16813
  () => void 0
@@ -16813,7 +16821,7 @@ function useCreateGroupChat() {
16813
16821
  const queryClient = reactQuery.useQueryClient();
16814
16822
  return reactQuery.useMutation({
16815
16823
  mutationFn: (params) => arbi.chats.createGroup(params),
16816
- onSuccess: (chat) => chunkX5OZRLFZ_cjs.upsertChat(queryClient, chat)
16824
+ onSuccess: (chat) => chunkFAJLJDWS_cjs.upsertChat(queryClient, chat)
16817
16825
  });
16818
16826
  }
16819
16827
  function useRenameChat() {
@@ -16821,7 +16829,7 @@ function useRenameChat() {
16821
16829
  const queryClient = reactQuery.useQueryClient();
16822
16830
  return reactQuery.useMutation({
16823
16831
  mutationFn: (vars) => arbi.chats.rename(vars.chat, vars.title),
16824
- onSuccess: (chat) => chunkX5OZRLFZ_cjs.upsertChat(queryClient, chat)
16832
+ onSuccess: (chat) => chunkFAJLJDWS_cjs.upsertChat(queryClient, chat)
16825
16833
  });
16826
16834
  }
16827
16835
  function useAddChatMembers() {
@@ -16829,7 +16837,7 @@ function useAddChatMembers() {
16829
16837
  const queryClient = reactQuery.useQueryClient();
16830
16838
  return reactQuery.useMutation({
16831
16839
  mutationFn: (vars) => arbi.chats.addMembers(vars.chat, vars.members, { callKey: vars.callKey }),
16832
- onSuccess: (chat) => chunkX5OZRLFZ_cjs.upsertChat(queryClient, chat)
16840
+ onSuccess: (chat) => chunkFAJLJDWS_cjs.upsertChat(queryClient, chat)
16833
16841
  });
16834
16842
  }
16835
16843
  function useRemoveChatMember() {
@@ -16838,7 +16846,7 @@ function useRemoveChatMember() {
16838
16846
  return reactQuery.useMutation({
16839
16847
  mutationFn: (vars) => arbi.chats.removeMember(vars.chat, vars.userExtId),
16840
16848
  onSuccess: (_data, vars) => {
16841
- if (vars.userExtId === chunkX5OZRLFZ_cjs.myChatId(arbi)) chunkX5OZRLFZ_cjs.removeChat(queryClient, vars.chat.external_id);
16849
+ if (vars.userExtId === chunkFAJLJDWS_cjs.myChatId(arbi)) chunkFAJLJDWS_cjs.removeChat(queryClient, vars.chat.external_id);
16842
16850
  else return queryClient.invalidateQueries({ queryKey: chunkO32T7XRD_cjs.arbiQueryKeys.chatList() });
16843
16851
  }
16844
16852
  });
@@ -16848,11 +16856,11 @@ function useChatArrivals(onArrival) {
16848
16856
  const queryClient = reactQuery.useQueryClient();
16849
16857
  useArbiWsMessage("chat.message", (message) => {
16850
16858
  const senderId = message.message.sender_ext_id;
16851
- if (!senderId || senderId === chunkX5OZRLFZ_cjs.myChatId(arbi)) return;
16852
- if (message.message.kind !== "text" || chunkX5OZRLFZ_cjs.getOpenChat() === message.chat_ext_id) return;
16859
+ if (!senderId || senderId === chunkFAJLJDWS_cjs.myChatId(arbi)) return;
16860
+ if (message.message.kind !== "text" || chunkFAJLJDWS_cjs.getOpenChat() === message.chat_ext_id) return;
16853
16861
  const muted = queryClient.getQueriesData({ queryKey: chunkO32T7XRD_cjs.arbiQueryKeys.userSettings() }).map(([, data]) => data).find(Boolean)?.muted_users;
16854
16862
  if (muted?.includes(senderId)) return;
16855
- const chat = chunkX5OZRLFZ_cjs.cachedChat(queryClient, message.chat_ext_id);
16863
+ const chat = chunkFAJLJDWS_cjs.cachedChat(queryClient, message.chat_ext_id);
16856
16864
  const sender = chat?.members.find((m) => m.user.external_id === senderId)?.user;
16857
16865
  onArrival({
16858
16866
  chatId: message.chat_ext_id,
@@ -17150,775 +17158,775 @@ function useRateSupportTicket() {
17150
17158
 
17151
17159
  Object.defineProperty(exports, "AUDIENCE_CHOICES", {
17152
17160
  enumerable: true,
17153
- get: function () { return chunkX5OZRLFZ_cjs.AUDIENCE_CHOICES; }
17161
+ get: function () { return chunkFAJLJDWS_cjs.AUDIENCE_CHOICES; }
17154
17162
  });
17155
17163
  Object.defineProperty(exports, "CALL_CAPTION_TOPIC", {
17156
17164
  enumerable: true,
17157
- get: function () { return chunkX5OZRLFZ_cjs.CALL_CAPTION_TOPIC; }
17165
+ get: function () { return chunkFAJLJDWS_cjs.CALL_CAPTION_TOPIC; }
17158
17166
  });
17159
17167
  Object.defineProperty(exports, "CALL_CHAT_MAX_CHARS", {
17160
17168
  enumerable: true,
17161
- get: function () { return chunkX5OZRLFZ_cjs.CALL_CHAT_MAX_CHARS; }
17169
+ get: function () { return chunkFAJLJDWS_cjs.CALL_CHAT_MAX_CHARS; }
17162
17170
  });
17163
17171
  Object.defineProperty(exports, "CALL_CHAT_TOPIC", {
17164
17172
  enumerable: true,
17165
- get: function () { return chunkX5OZRLFZ_cjs.CALL_CHAT_TOPIC; }
17173
+ get: function () { return chunkFAJLJDWS_cjs.CALL_CHAT_TOPIC; }
17166
17174
  });
17167
17175
  Object.defineProperty(exports, "CALL_MODERATION_TOPIC", {
17168
17176
  enumerable: true,
17169
- get: function () { return chunkX5OZRLFZ_cjs.CALL_MODERATION_TOPIC; }
17177
+ get: function () { return chunkFAJLJDWS_cjs.CALL_MODERATION_TOPIC; }
17170
17178
  });
17171
17179
  Object.defineProperty(exports, "CALL_RECORDING_TOPIC", {
17172
17180
  enumerable: true,
17173
- get: function () { return chunkX5OZRLFZ_cjs.CALL_RECORDING_TOPIC; }
17181
+ get: function () { return chunkFAJLJDWS_cjs.CALL_RECORDING_TOPIC; }
17174
17182
  });
17175
17183
  Object.defineProperty(exports, "CALL_TRANSCRIPTION_TOPIC", {
17176
17184
  enumerable: true,
17177
- get: function () { return chunkX5OZRLFZ_cjs.CALL_TRANSCRIPTION_TOPIC; }
17185
+ get: function () { return chunkFAJLJDWS_cjs.CALL_TRANSCRIPTION_TOPIC; }
17178
17186
  });
17179
17187
  Object.defineProperty(exports, "CALL_WEBINAR_TOPIC", {
17180
17188
  enumerable: true,
17181
- get: function () { return chunkX5OZRLFZ_cjs.CALL_WEBINAR_TOPIC; }
17189
+ get: function () { return chunkFAJLJDWS_cjs.CALL_WEBINAR_TOPIC; }
17182
17190
  });
17183
17191
  Object.defineProperty(exports, "CAPTION_MAX_CHARS", {
17184
17192
  enumerable: true,
17185
- get: function () { return chunkX5OZRLFZ_cjs.CAPTION_MAX_CHARS; }
17193
+ get: function () { return chunkFAJLJDWS_cjs.CAPTION_MAX_CHARS; }
17186
17194
  });
17187
17195
  Object.defineProperty(exports, "COMPOSITE_AUDIO_BITS_PER_SECOND", {
17188
17196
  enumerable: true,
17189
- get: function () { return chunkX5OZRLFZ_cjs.COMPOSITE_AUDIO_BITS_PER_SECOND; }
17197
+ get: function () { return chunkFAJLJDWS_cjs.COMPOSITE_AUDIO_BITS_PER_SECOND; }
17190
17198
  });
17191
17199
  Object.defineProperty(exports, "COMPOSITE_VIDEO_BITS_PER_SECOND", {
17192
17200
  enumerable: true,
17193
- get: function () { return chunkX5OZRLFZ_cjs.COMPOSITE_VIDEO_BITS_PER_SECOND; }
17201
+ get: function () { return chunkFAJLJDWS_cjs.COMPOSITE_VIDEO_BITS_PER_SECOND; }
17194
17202
  });
17195
17203
  Object.defineProperty(exports, "DEFAULT_JOIN_CHOICES", {
17196
17204
  enumerable: true,
17197
- get: function () { return chunkX5OZRLFZ_cjs.DEFAULT_JOIN_CHOICES; }
17205
+ get: function () { return chunkFAJLJDWS_cjs.DEFAULT_JOIN_CHOICES; }
17198
17206
  });
17199
17207
  Object.defineProperty(exports, "EMPTY_CALL_SESSION", {
17200
17208
  enumerable: true,
17201
- get: function () { return chunkX5OZRLFZ_cjs.EMPTY_CALL_SESSION; }
17209
+ get: function () { return chunkFAJLJDWS_cjs.EMPTY_CALL_SESSION; }
17202
17210
  });
17203
17211
  Object.defineProperty(exports, "EXPORT_SAMPLE_RATE", {
17204
17212
  enumerable: true,
17205
- get: function () { return chunkX5OZRLFZ_cjs.EXPORT_SAMPLE_RATE; }
17213
+ get: function () { return chunkFAJLJDWS_cjs.EXPORT_SAMPLE_RATE; }
17206
17214
  });
17207
17215
  Object.defineProperty(exports, "HISTORY_LIMIT", {
17208
17216
  enumerable: true,
17209
- get: function () { return chunkX5OZRLFZ_cjs.HISTORY_LIMIT; }
17217
+ get: function () { return chunkFAJLJDWS_cjs.HISTORY_LIMIT; }
17210
17218
  });
17211
17219
  Object.defineProperty(exports, "LIVE_SEGMENTER", {
17212
17220
  enumerable: true,
17213
- get: function () { return chunkX5OZRLFZ_cjs.LIVE_SEGMENTER; }
17221
+ get: function () { return chunkFAJLJDWS_cjs.LIVE_SEGMENTER; }
17214
17222
  });
17215
17223
  Object.defineProperty(exports, "MAX_AVATAR_FILE_BYTES", {
17216
17224
  enumerable: true,
17217
- get: function () { return chunkX5OZRLFZ_cjs.MAX_AVATAR_FILE_BYTES; }
17225
+ get: function () { return chunkFAJLJDWS_cjs.MAX_AVATAR_FILE_BYTES; }
17218
17226
  });
17219
17227
  Object.defineProperty(exports, "MUTED_DEDUPE_MS", {
17220
17228
  enumerable: true,
17221
- get: function () { return chunkX5OZRLFZ_cjs.MUTED_DEDUPE_MS; }
17229
+ get: function () { return chunkFAJLJDWS_cjs.MUTED_DEDUPE_MS; }
17222
17230
  });
17223
17231
  Object.defineProperty(exports, "PLAYBACK_LOOKAHEAD_MS", {
17224
17232
  enumerable: true,
17225
- get: function () { return chunkX5OZRLFZ_cjs.PLAYBACK_LOOKAHEAD_MS; }
17233
+ get: function () { return chunkFAJLJDWS_cjs.PLAYBACK_LOOKAHEAD_MS; }
17226
17234
  });
17227
17235
  Object.defineProperty(exports, "READ_ONLY_MEETING_TEXT", {
17228
17236
  enumerable: true,
17229
- get: function () { return chunkX5OZRLFZ_cjs.READ_ONLY_MEETING_TEXT; }
17237
+ get: function () { return chunkFAJLJDWS_cjs.READ_ONLY_MEETING_TEXT; }
17230
17238
  });
17231
17239
  Object.defineProperty(exports, "RECORDING_CHUNK_MS", {
17232
17240
  enumerable: true,
17233
- get: function () { return chunkX5OZRLFZ_cjs.RECORDING_CHUNK_MS; }
17241
+ get: function () { return chunkFAJLJDWS_cjs.RECORDING_CHUNK_MS; }
17234
17242
  });
17235
17243
  Object.defineProperty(exports, "RECORDING_SEGMENTER", {
17236
17244
  enumerable: true,
17237
- get: function () { return chunkX5OZRLFZ_cjs.RECORDING_SEGMENTER; }
17245
+ get: function () { return chunkFAJLJDWS_cjs.RECORDING_SEGMENTER; }
17238
17246
  });
17239
17247
  Object.defineProperty(exports, "SEGMENT_FRAME_MS", {
17240
17248
  enumerable: true,
17241
- get: function () { return chunkX5OZRLFZ_cjs.SEGMENT_FRAME_MS; }
17249
+ get: function () { return chunkFAJLJDWS_cjs.SEGMENT_FRAME_MS; }
17242
17250
  });
17243
17251
  Object.defineProperty(exports, "SEGMENT_ID_PATTERN", {
17244
17252
  enumerable: true,
17245
- get: function () { return chunkX5OZRLFZ_cjs.SEGMENT_ID_PATTERN; }
17253
+ get: function () { return chunkFAJLJDWS_cjs.SEGMENT_ID_PATTERN; }
17246
17254
  });
17247
17255
  Object.defineProperty(exports, "SEGMENT_PRE_ROLL_MS", {
17248
17256
  enumerable: true,
17249
- get: function () { return chunkX5OZRLFZ_cjs.SEGMENT_PRE_ROLL_MS; }
17257
+ get: function () { return chunkFAJLJDWS_cjs.SEGMENT_PRE_ROLL_MS; }
17250
17258
  });
17251
17259
  Object.defineProperty(exports, "SHORT_PIECE_MERGE_GAP_MS", {
17252
17260
  enumerable: true,
17253
- get: function () { return chunkX5OZRLFZ_cjs.SHORT_PIECE_MERGE_GAP_MS; }
17261
+ get: function () { return chunkFAJLJDWS_cjs.SHORT_PIECE_MERGE_GAP_MS; }
17254
17262
  });
17255
17263
  Object.defineProperty(exports, "SPEAKER_AUDIO_BITS_PER_SECOND", {
17256
17264
  enumerable: true,
17257
- get: function () { return chunkX5OZRLFZ_cjs.SPEAKER_AUDIO_BITS_PER_SECOND; }
17265
+ get: function () { return chunkFAJLJDWS_cjs.SPEAKER_AUDIO_BITS_PER_SECOND; }
17258
17266
  });
17259
17267
  Object.defineProperty(exports, "TrackUploader", {
17260
17268
  enumerable: true,
17261
- get: function () { return chunkX5OZRLFZ_cjs.TrackUploader; }
17269
+ get: function () { return chunkFAJLJDWS_cjs.TrackUploader; }
17262
17270
  });
17263
17271
  Object.defineProperty(exports, "UPLOAD_ATTEMPTS", {
17264
17272
  enumerable: true,
17265
- get: function () { return chunkX5OZRLFZ_cjs.UPLOAD_ATTEMPTS; }
17273
+ get: function () { return chunkFAJLJDWS_cjs.UPLOAD_ATTEMPTS; }
17266
17274
  });
17267
17275
  Object.defineProperty(exports, "UPLOAD_BACKOFF_MS", {
17268
17276
  enumerable: true,
17269
- get: function () { return chunkX5OZRLFZ_cjs.UPLOAD_BACKOFF_MS; }
17277
+ get: function () { return chunkFAJLJDWS_cjs.UPLOAD_BACKOFF_MS; }
17270
17278
  });
17271
17279
  Object.defineProperty(exports, "acceptRing", {
17272
17280
  enumerable: true,
17273
- get: function () { return chunkX5OZRLFZ_cjs.acceptRing; }
17281
+ get: function () { return chunkFAJLJDWS_cjs.acceptRing; }
17274
17282
  });
17275
17283
  Object.defineProperty(exports, "addConversationToList", {
17276
17284
  enumerable: true,
17277
- get: function () { return chunkX5OZRLFZ_cjs.addConversationToList; }
17285
+ get: function () { return chunkFAJLJDWS_cjs.addConversationToList; }
17278
17286
  });
17279
17287
  Object.defineProperty(exports, "appendToThread", {
17280
17288
  enumerable: true,
17281
- get: function () { return chunkX5OZRLFZ_cjs.appendToThread; }
17289
+ get: function () { return chunkFAJLJDWS_cjs.appendToThread; }
17282
17290
  });
17283
17291
  Object.defineProperty(exports, "applyAgentDmStatus", {
17284
17292
  enumerable: true,
17285
- get: function () { return chunkX5OZRLFZ_cjs.applyAgentDmStatus; }
17293
+ get: function () { return chunkFAJLJDWS_cjs.applyAgentDmStatus; }
17286
17294
  });
17287
17295
  Object.defineProperty(exports, "applyCallEvent", {
17288
17296
  enumerable: true,
17289
- get: function () { return chunkX5OZRLFZ_cjs.applyCallEvent; }
17297
+ get: function () { return chunkFAJLJDWS_cjs.applyCallEvent; }
17290
17298
  });
17291
17299
  Object.defineProperty(exports, "applyChatEvent", {
17292
17300
  enumerable: true,
17293
- get: function () { return chunkX5OZRLFZ_cjs.applyChatEvent; }
17301
+ get: function () { return chunkFAJLJDWS_cjs.applyChatEvent; }
17294
17302
  });
17295
17303
  Object.defineProperty(exports, "applyChatMessage", {
17296
17304
  enumerable: true,
17297
- get: function () { return chunkX5OZRLFZ_cjs.applyChatMessage; }
17305
+ get: function () { return chunkFAJLJDWS_cjs.applyChatMessage; }
17298
17306
  });
17299
17307
  Object.defineProperty(exports, "applyChatRead", {
17300
17308
  enumerable: true,
17301
- get: function () { return chunkX5OZRLFZ_cjs.applyChatRead; }
17309
+ get: function () { return chunkFAJLJDWS_cjs.applyChatRead; }
17302
17310
  });
17303
17311
  Object.defineProperty(exports, "applyChatUpdated", {
17304
17312
  enumerable: true,
17305
- get: function () { return chunkX5OZRLFZ_cjs.applyChatUpdated; }
17313
+ get: function () { return chunkFAJLJDWS_cjs.applyChatUpdated; }
17306
17314
  });
17307
17315
  Object.defineProperty(exports, "arbiAccountClient", {
17308
17316
  enumerable: true,
17309
- get: function () { return chunkX5OZRLFZ_cjs.arbiAccountClient; }
17317
+ get: function () { return chunkFAJLJDWS_cjs.arbiAccountClient; }
17310
17318
  });
17311
17319
  Object.defineProperty(exports, "buildMeetingChatBody", {
17312
17320
  enumerable: true,
17313
- get: function () { return chunkX5OZRLFZ_cjs.buildMeetingChatBody; }
17321
+ get: function () { return chunkFAJLJDWS_cjs.buildMeetingChatBody; }
17314
17322
  });
17315
17323
  Object.defineProperty(exports, "cachedChat", {
17316
17324
  enumerable: true,
17317
- get: function () { return chunkX5OZRLFZ_cjs.cachedChat; }
17325
+ get: function () { return chunkFAJLJDWS_cjs.cachedChat; }
17318
17326
  });
17319
17327
  Object.defineProperty(exports, "cachedChats", {
17320
17328
  enumerable: true,
17321
- get: function () { return chunkX5OZRLFZ_cjs.cachedChats; }
17329
+ get: function () { return chunkFAJLJDWS_cjs.cachedChats; }
17322
17330
  });
17323
17331
  Object.defineProperty(exports, "callLink", {
17324
17332
  enumerable: true,
17325
- get: function () { return chunkX5OZRLFZ_cjs.callLink; }
17333
+ get: function () { return chunkFAJLJDWS_cjs.callLink; }
17326
17334
  });
17327
17335
  Object.defineProperty(exports, "callMemberKeys", {
17328
17336
  enumerable: true,
17329
- get: function () { return chunkX5OZRLFZ_cjs.callMemberKeys; }
17337
+ get: function () { return chunkFAJLJDWS_cjs.callMemberKeys; }
17330
17338
  });
17331
17339
  Object.defineProperty(exports, "callSession", {
17332
17340
  enumerable: true,
17333
- get: function () { return chunkX5OZRLFZ_cjs.callSession; }
17341
+ get: function () { return chunkFAJLJDWS_cjs.callSession; }
17334
17342
  });
17335
17343
  Object.defineProperty(exports, "chatByExtId", {
17336
17344
  enumerable: true,
17337
- get: function () { return chunkX5OZRLFZ_cjs.chatByExtId; }
17345
+ get: function () { return chunkFAJLJDWS_cjs.chatByExtId; }
17338
17346
  });
17339
17347
  Object.defineProperty(exports, "chatHasLiveCall", {
17340
17348
  enumerable: true,
17341
- get: function () { return chunkX5OZRLFZ_cjs.chatHasLiveCall; }
17349
+ get: function () { return chunkFAJLJDWS_cjs.chatHasLiveCall; }
17342
17350
  });
17343
17351
  Object.defineProperty(exports, "chatLiveCallId", {
17344
17352
  enumerable: true,
17345
- get: function () { return chunkX5OZRLFZ_cjs.chatLiveCallId; }
17353
+ get: function () { return chunkFAJLJDWS_cjs.chatLiveCallId; }
17346
17354
  });
17347
17355
  Object.defineProperty(exports, "chatTranscriptRef", {
17348
17356
  enumerable: true,
17349
- get: function () { return chunkX5OZRLFZ_cjs.chatTranscriptRef; }
17357
+ get: function () { return chunkFAJLJDWS_cjs.chatTranscriptRef; }
17350
17358
  });
17351
17359
  Object.defineProperty(exports, "clearMeetingChatCache", {
17352
17360
  enumerable: true,
17353
- get: function () { return chunkX5OZRLFZ_cjs.clearMeetingChatCache; }
17361
+ get: function () { return chunkFAJLJDWS_cjs.clearMeetingChatCache; }
17354
17362
  });
17355
17363
  Object.defineProperty(exports, "clearTrackUploaders", {
17356
17364
  enumerable: true,
17357
- get: function () { return chunkX5OZRLFZ_cjs.clearTrackUploaders; }
17365
+ get: function () { return chunkFAJLJDWS_cjs.clearTrackUploaders; }
17358
17366
  });
17359
17367
  Object.defineProperty(exports, "clockTime", {
17360
17368
  enumerable: true,
17361
- get: function () { return chunkX5OZRLFZ_cjs.clockTime; }
17369
+ get: function () { return chunkFAJLJDWS_cjs.clockTime; }
17362
17370
  });
17363
17371
  Object.defineProperty(exports, "compositeFiles", {
17364
17372
  enumerable: true,
17365
- get: function () { return chunkX5OZRLFZ_cjs.compositeFiles; }
17373
+ get: function () { return chunkFAJLJDWS_cjs.compositeFiles; }
17366
17374
  });
17367
17375
  Object.defineProperty(exports, "compositeTrack", {
17368
17376
  enumerable: true,
17369
- get: function () { return chunkX5OZRLFZ_cjs.compositeTrack; }
17377
+ get: function () { return chunkFAJLJDWS_cjs.compositeTrack; }
17370
17378
  });
17371
17379
  Object.defineProperty(exports, "conversationKeyForCall", {
17372
17380
  enumerable: true,
17373
- get: function () { return chunkX5OZRLFZ_cjs.conversationKeyForCall; }
17381
+ get: function () { return chunkFAJLJDWS_cjs.conversationKeyForCall; }
17374
17382
  });
17375
17383
  Object.defineProperty(exports, "createLocalFeatureStore", {
17376
17384
  enumerable: true,
17377
- get: function () { return chunkX5OZRLFZ_cjs.createLocalFeatureStore; }
17385
+ get: function () { return chunkFAJLJDWS_cjs.createLocalFeatureStore; }
17378
17386
  });
17379
17387
  Object.defineProperty(exports, "createMutedNotifier", {
17380
17388
  enumerable: true,
17381
- get: function () { return chunkX5OZRLFZ_cjs.createMutedNotifier; }
17389
+ get: function () { return chunkFAJLJDWS_cjs.createMutedNotifier; }
17382
17390
  });
17383
17391
  Object.defineProperty(exports, "createTrackCutter", {
17384
17392
  enumerable: true,
17385
- get: function () { return chunkX5OZRLFZ_cjs.createTrackCutter; }
17393
+ get: function () { return chunkFAJLJDWS_cjs.createTrackCutter; }
17386
17394
  });
17387
17395
  Object.defineProperty(exports, "cutAtPauses", {
17388
17396
  enumerable: true,
17389
- get: function () { return chunkX5OZRLFZ_cjs.cutAtPauses; }
17397
+ get: function () { return chunkFAJLJDWS_cjs.cutAtPauses; }
17390
17398
  });
17391
17399
  Object.defineProperty(exports, "declineRing", {
17392
17400
  enumerable: true,
17393
- get: function () { return chunkX5OZRLFZ_cjs.declineRing; }
17401
+ get: function () { return chunkFAJLJDWS_cjs.declineRing; }
17394
17402
  });
17395
17403
  Object.defineProperty(exports, "decodeCallChatPacket", {
17396
17404
  enumerable: true,
17397
- get: function () { return chunkX5OZRLFZ_cjs.decodeCallChatPacket; }
17405
+ get: function () { return chunkFAJLJDWS_cjs.decodeCallChatPacket; }
17398
17406
  });
17399
17407
  Object.defineProperty(exports, "decodeCaptionPacket", {
17400
17408
  enumerable: true,
17401
- get: function () { return chunkX5OZRLFZ_cjs.decodeCaptionPacket; }
17409
+ get: function () { return chunkFAJLJDWS_cjs.decodeCaptionPacket; }
17402
17410
  });
17403
17411
  Object.defineProperty(exports, "decodeMono16k", {
17404
17412
  enumerable: true,
17405
- get: function () { return chunkX5OZRLFZ_cjs.decodeMono16k; }
17413
+ get: function () { return chunkFAJLJDWS_cjs.decodeMono16k; }
17406
17414
  });
17407
17415
  Object.defineProperty(exports, "decryptPart", {
17408
17416
  enumerable: true,
17409
- get: function () { return chunkX5OZRLFZ_cjs.decryptPart; }
17417
+ get: function () { return chunkFAJLJDWS_cjs.decryptPart; }
17410
17418
  });
17411
17419
  Object.defineProperty(exports, "encodeCallChatPacket", {
17412
17420
  enumerable: true,
17413
- get: function () { return chunkX5OZRLFZ_cjs.encodeCallChatPacket; }
17421
+ get: function () { return chunkFAJLJDWS_cjs.encodeCallChatPacket; }
17414
17422
  });
17415
17423
  Object.defineProperty(exports, "encodeCaptionPacket", {
17416
17424
  enumerable: true,
17417
- get: function () { return chunkX5OZRLFZ_cjs.encodeCaptionPacket; }
17425
+ get: function () { return chunkFAJLJDWS_cjs.encodeCaptionPacket; }
17418
17426
  });
17419
17427
  Object.defineProperty(exports, "encodeWav", {
17420
17428
  enumerable: true,
17421
- get: function () { return chunkX5OZRLFZ_cjs.encodeWav; }
17429
+ get: function () { return chunkFAJLJDWS_cjs.encodeWav; }
17422
17430
  });
17423
17431
  Object.defineProperty(exports, "encryptPart", {
17424
17432
  enumerable: true,
17425
- get: function () { return chunkX5OZRLFZ_cjs.encryptPart; }
17433
+ get: function () { return chunkFAJLJDWS_cjs.encryptPart; }
17426
17434
  });
17427
17435
  Object.defineProperty(exports, "ensureMeetingChat", {
17428
17436
  enumerable: true,
17429
- get: function () { return chunkX5OZRLFZ_cjs.ensureMeetingChat; }
17437
+ get: function () { return chunkFAJLJDWS_cjs.ensureMeetingChat; }
17430
17438
  });
17431
17439
  Object.defineProperty(exports, "entitlementRefusal", {
17432
17440
  enumerable: true,
17433
- get: function () { return chunkX5OZRLFZ_cjs.entitlementRefusal; }
17441
+ get: function () { return chunkFAJLJDWS_cjs.entitlementRefusal; }
17434
17442
  });
17435
17443
  Object.defineProperty(exports, "extensionFor", {
17436
17444
  enumerable: true,
17437
- get: function () { return chunkX5OZRLFZ_cjs.extensionFor; }
17445
+ get: function () { return chunkFAJLJDWS_cjs.extensionFor; }
17438
17446
  });
17439
17447
  Object.defineProperty(exports, "fetchPart", {
17440
17448
  enumerable: true,
17441
- get: function () { return chunkX5OZRLFZ_cjs.fetchPart; }
17449
+ get: function () { return chunkFAJLJDWS_cjs.fetchPart; }
17442
17450
  });
17443
17451
  Object.defineProperty(exports, "fileSafe", {
17444
17452
  enumerable: true,
17445
- get: function () { return chunkX5OZRLFZ_cjs.fileSafe; }
17453
+ get: function () { return chunkFAJLJDWS_cjs.fileSafe; }
17446
17454
  });
17447
17455
  Object.defineProperty(exports, "findConversation", {
17448
17456
  enumerable: true,
17449
- get: function () { return chunkX5OZRLFZ_cjs.findConversation; }
17457
+ get: function () { return chunkFAJLJDWS_cjs.findConversation; }
17450
17458
  });
17451
17459
  Object.defineProperty(exports, "floatToWav", {
17452
17460
  enumerable: true,
17453
- get: function () { return chunkX5OZRLFZ_cjs.floatToWav; }
17461
+ get: function () { return chunkFAJLJDWS_cjs.floatToWav; }
17454
17462
  });
17455
17463
  Object.defineProperty(exports, "formatTranscriptMarkdown", {
17456
17464
  enumerable: true,
17457
- get: function () { return chunkX5OZRLFZ_cjs.formatTranscriptMarkdown; }
17465
+ get: function () { return chunkFAJLJDWS_cjs.formatTranscriptMarkdown; }
17458
17466
  });
17459
17467
  Object.defineProperty(exports, "getOpenChat", {
17460
17468
  enumerable: true,
17461
- get: function () { return chunkX5OZRLFZ_cjs.getOpenChat; }
17469
+ get: function () { return chunkFAJLJDWS_cjs.getOpenChat; }
17462
17470
  });
17463
17471
  Object.defineProperty(exports, "hasRecordingTranscript", {
17464
17472
  enumerable: true,
17465
- get: function () { return chunkX5OZRLFZ_cjs.hasRecordingTranscript; }
17473
+ get: function () { return chunkFAJLJDWS_cjs.hasRecordingTranscript; }
17466
17474
  });
17467
17475
  Object.defineProperty(exports, "invalidateCall", {
17468
17476
  enumerable: true,
17469
- get: function () { return chunkX5OZRLFZ_cjs.invalidateCall; }
17477
+ get: function () { return chunkFAJLJDWS_cjs.invalidateCall; }
17470
17478
  });
17471
17479
  Object.defineProperty(exports, "invalidateConversationDetails", {
17472
17480
  enumerable: true,
17473
- get: function () { return chunkX5OZRLFZ_cjs.invalidateConversationDetails; }
17481
+ get: function () { return chunkFAJLJDWS_cjs.invalidateConversationDetails; }
17474
17482
  });
17475
17483
  Object.defineProperty(exports, "invalidateConversationLists", {
17476
17484
  enumerable: true,
17477
- get: function () { return chunkX5OZRLFZ_cjs.invalidateConversationLists; }
17485
+ get: function () { return chunkFAJLJDWS_cjs.invalidateConversationLists; }
17478
17486
  });
17479
17487
  Object.defineProperty(exports, "isConversationListKey", {
17480
17488
  enumerable: true,
17481
- get: function () { return chunkX5OZRLFZ_cjs.isConversationListKey; }
17489
+ get: function () { return chunkFAJLJDWS_cjs.isConversationListKey; }
17482
17490
  });
17483
17491
  Object.defineProperty(exports, "isConversationShared", {
17484
17492
  enumerable: true,
17485
- get: function () { return chunkX5OZRLFZ_cjs.isConversationShared; }
17493
+ get: function () { return chunkFAJLJDWS_cjs.isConversationShared; }
17486
17494
  });
17487
17495
  Object.defineProperty(exports, "isRecordingOver", {
17488
17496
  enumerable: true,
17489
- get: function () { return chunkX5OZRLFZ_cjs.isRecordingOver; }
17497
+ get: function () { return chunkFAJLJDWS_cjs.isRecordingOver; }
17490
17498
  });
17491
17499
  Object.defineProperty(exports, "isRecordingSegmentId", {
17492
17500
  enumerable: true,
17493
- get: function () { return chunkX5OZRLFZ_cjs.isRecordingSegmentId; }
17501
+ get: function () { return chunkFAJLJDWS_cjs.isRecordingSegmentId; }
17494
17502
  });
17495
17503
  Object.defineProperty(exports, "isRetryable", {
17496
17504
  enumerable: true,
17497
- get: function () { return chunkX5OZRLFZ_cjs.isRetryable; }
17505
+ get: function () { return chunkFAJLJDWS_cjs.isRetryable; }
17498
17506
  });
17499
17507
  Object.defineProperty(exports, "isWorkspaceGuestOf", {
17500
17508
  enumerable: true,
17501
- get: function () { return chunkX5OZRLFZ_cjs.isWorkspaceGuestOf; }
17509
+ get: function () { return chunkFAJLJDWS_cjs.isWorkspaceGuestOf; }
17502
17510
  });
17503
17511
  Object.defineProperty(exports, "joinFromPreJoin", {
17504
17512
  enumerable: true,
17505
- get: function () { return chunkX5OZRLFZ_cjs.joinFromPreJoin; }
17513
+ get: function () { return chunkFAJLJDWS_cjs.joinFromPreJoin; }
17506
17514
  });
17507
17515
  Object.defineProperty(exports, "knownMeetingChat", {
17508
17516
  enumerable: true,
17509
- get: function () { return chunkX5OZRLFZ_cjs.knownMeetingChat; }
17517
+ get: function () { return chunkFAJLJDWS_cjs.knownMeetingChat; }
17510
17518
  });
17511
17519
  Object.defineProperty(exports, "loadMeetingHistory", {
17512
17520
  enumerable: true,
17513
- get: function () { return chunkX5OZRLFZ_cjs.loadMeetingHistory; }
17521
+ get: function () { return chunkFAJLJDWS_cjs.loadMeetingHistory; }
17514
17522
  });
17515
17523
  Object.defineProperty(exports, "markRejoining", {
17516
17524
  enumerable: true,
17517
- get: function () { return chunkX5OZRLFZ_cjs.markRejoining; }
17525
+ get: function () { return chunkFAJLJDWS_cjs.markRejoining; }
17518
17526
  });
17519
17527
  Object.defineProperty(exports, "meetingChatRefFrom", {
17520
17528
  enumerable: true,
17521
- get: function () { return chunkX5OZRLFZ_cjs.meetingChatRefFrom; }
17529
+ get: function () { return chunkFAJLJDWS_cjs.meetingChatRefFrom; }
17522
17530
  });
17523
17531
  Object.defineProperty(exports, "meetingRefForCall", {
17524
17532
  enumerable: true,
17525
- get: function () { return chunkX5OZRLFZ_cjs.meetingRefForCall; }
17533
+ get: function () { return chunkFAJLJDWS_cjs.meetingRefForCall; }
17526
17534
  });
17527
17535
  Object.defineProperty(exports, "mergeChatLines", {
17528
17536
  enumerable: true,
17529
- get: function () { return chunkX5OZRLFZ_cjs.mergeChatLines; }
17537
+ get: function () { return chunkFAJLJDWS_cjs.mergeChatLines; }
17530
17538
  });
17531
17539
  Object.defineProperty(exports, "mutedNoticeFromEvent", {
17532
17540
  enumerable: true,
17533
- get: function () { return chunkX5OZRLFZ_cjs.mutedNoticeFromEvent; }
17541
+ get: function () { return chunkFAJLJDWS_cjs.mutedNoticeFromEvent; }
17534
17542
  });
17535
17543
  Object.defineProperty(exports, "mutedNoticeFromPacket", {
17536
17544
  enumerable: true,
17537
- get: function () { return chunkX5OZRLFZ_cjs.mutedNoticeFromPacket; }
17545
+ get: function () { return chunkFAJLJDWS_cjs.mutedNoticeFromPacket; }
17538
17546
  });
17539
17547
  Object.defineProperty(exports, "mutedNoticeText", {
17540
17548
  enumerable: true,
17541
- get: function () { return chunkX5OZRLFZ_cjs.mutedNoticeText; }
17549
+ get: function () { return chunkFAJLJDWS_cjs.mutedNoticeText; }
17542
17550
  });
17543
17551
  Object.defineProperty(exports, "myChatId", {
17544
17552
  enumerable: true,
17545
- get: function () { return chunkX5OZRLFZ_cjs.myChatId; }
17553
+ get: function () { return chunkFAJLJDWS_cjs.myChatId; }
17546
17554
  });
17547
17555
  Object.defineProperty(exports, "newPacketId", {
17548
17556
  enumerable: true,
17549
- get: function () { return chunkX5OZRLFZ_cjs.newPacketId; }
17557
+ get: function () { return chunkFAJLJDWS_cjs.newPacketId; }
17550
17558
  });
17551
17559
  Object.defineProperty(exports, "newSegmentId", {
17552
17560
  enumerable: true,
17553
- get: function () { return chunkX5OZRLFZ_cjs.newSegmentId; }
17561
+ get: function () { return chunkFAJLJDWS_cjs.newSegmentId; }
17554
17562
  });
17555
17563
  Object.defineProperty(exports, "newTrackKey", {
17556
17564
  enumerable: true,
17557
- get: function () { return chunkX5OZRLFZ_cjs.newTrackKey; }
17565
+ get: function () { return chunkFAJLJDWS_cjs.newTrackKey; }
17558
17566
  });
17559
17567
  Object.defineProperty(exports, "nextSeqAfter", {
17560
17568
  enumerable: true,
17561
- get: function () { return chunkX5OZRLFZ_cjs.nextSeqAfter; }
17569
+ get: function () { return chunkFAJLJDWS_cjs.nextSeqAfter; }
17562
17570
  });
17563
17571
  Object.defineProperty(exports, "onCallEvent", {
17564
17572
  enumerable: true,
17565
- get: function () { return chunkX5OZRLFZ_cjs.onCallEvent; }
17573
+ get: function () { return chunkFAJLJDWS_cjs.onCallEvent; }
17566
17574
  });
17567
17575
  Object.defineProperty(exports, "openCall", {
17568
17576
  enumerable: true,
17569
- get: function () { return chunkX5OZRLFZ_cjs.openCall; }
17577
+ get: function () { return chunkFAJLJDWS_cjs.openCall; }
17570
17578
  });
17571
17579
  Object.defineProperty(exports, "openQuestion", {
17572
17580
  enumerable: true,
17573
- get: function () { return chunkX5OZRLFZ_cjs.openQuestion; }
17581
+ get: function () { return chunkFAJLJDWS_cjs.openQuestion; }
17574
17582
  });
17575
17583
  Object.defineProperty(exports, "openRecording", {
17576
17584
  enumerable: true,
17577
- get: function () { return chunkX5OZRLFZ_cjs.openRecording; }
17585
+ get: function () { return chunkFAJLJDWS_cjs.openRecording; }
17578
17586
  });
17579
17587
  Object.defineProperty(exports, "parseWebinarPacket", {
17580
17588
  enumerable: true,
17581
- get: function () { return chunkX5OZRLFZ_cjs.parseWebinarPacket; }
17589
+ get: function () { return chunkFAJLJDWS_cjs.parseWebinarPacket; }
17582
17590
  });
17583
17591
  Object.defineProperty(exports, "partKey", {
17584
17592
  enumerable: true,
17585
- get: function () { return chunkX5OZRLFZ_cjs.partKey; }
17593
+ get: function () { return chunkFAJLJDWS_cjs.partKey; }
17586
17594
  });
17587
17595
  Object.defineProperty(exports, "partOffsetMs", {
17588
17596
  enumerable: true,
17589
- get: function () { return chunkX5OZRLFZ_cjs.partOffsetMs; }
17597
+ get: function () { return chunkFAJLJDWS_cjs.partOffsetMs; }
17590
17598
  });
17591
17599
  Object.defineProperty(exports, "partsDue", {
17592
17600
  enumerable: true,
17593
- get: function () { return chunkX5OZRLFZ_cjs.partsDue; }
17601
+ get: function () { return chunkFAJLJDWS_cjs.partsDue; }
17594
17602
  });
17595
17603
  Object.defineProperty(exports, "patchConversation", {
17596
17604
  enumerable: true,
17597
- get: function () { return chunkX5OZRLFZ_cjs.patchConversation; }
17605
+ get: function () { return chunkFAJLJDWS_cjs.patchConversation; }
17598
17606
  });
17599
17607
  Object.defineProperty(exports, "patchConversationList", {
17600
17608
  enumerable: true,
17601
- get: function () { return chunkX5OZRLFZ_cjs.patchConversationList; }
17609
+ get: function () { return chunkFAJLJDWS_cjs.patchConversationList; }
17602
17610
  });
17603
17611
  Object.defineProperty(exports, "persistMeetingMessage", {
17604
17612
  enumerable: true,
17605
- get: function () { return chunkX5OZRLFZ_cjs.persistMeetingMessage; }
17613
+ get: function () { return chunkFAJLJDWS_cjs.persistMeetingMessage; }
17606
17614
  });
17607
17615
  Object.defineProperty(exports, "persistTranscriptSegment", {
17608
17616
  enumerable: true,
17609
- get: function () { return chunkX5OZRLFZ_cjs.persistTranscriptSegment; }
17617
+ get: function () { return chunkFAJLJDWS_cjs.persistTranscriptSegment; }
17610
17618
  });
17611
17619
  Object.defineProperty(exports, "playheadAt", {
17612
17620
  enumerable: true,
17613
- get: function () { return chunkX5OZRLFZ_cjs.playheadAt; }
17621
+ get: function () { return chunkFAJLJDWS_cjs.playheadAt; }
17614
17622
  });
17615
17623
  Object.defineProperty(exports, "postRecordingDocsToThread", {
17616
17624
  enumerable: true,
17617
- get: function () { return chunkX5OZRLFZ_cjs.postRecordingDocsToThread; }
17625
+ get: function () { return chunkFAJLJDWS_cjs.postRecordingDocsToThread; }
17618
17626
  });
17619
17627
  Object.defineProperty(exports, "postTranscriptToThread", {
17620
17628
  enumerable: true,
17621
- get: function () { return chunkX5OZRLFZ_cjs.postTranscriptToThread; }
17629
+ get: function () { return chunkFAJLJDWS_cjs.postTranscriptToThread; }
17622
17630
  });
17623
17631
  Object.defineProperty(exports, "readLocalFeature", {
17624
17632
  enumerable: true,
17625
- get: function () { return chunkX5OZRLFZ_cjs.readLocalFeature; }
17633
+ get: function () { return chunkFAJLJDWS_cjs.readLocalFeature; }
17626
17634
  });
17627
17635
  Object.defineProperty(exports, "recordingFiles", {
17628
17636
  enumerable: true,
17629
- get: function () { return chunkX5OZRLFZ_cjs.recordingFiles; }
17637
+ get: function () { return chunkFAJLJDWS_cjs.recordingFiles; }
17630
17638
  });
17631
17639
  Object.defineProperty(exports, "recordingWindowsOf", {
17632
17640
  enumerable: true,
17633
- get: function () { return chunkX5OZRLFZ_cjs.recordingWindowsOf; }
17641
+ get: function () { return chunkFAJLJDWS_cjs.recordingWindowsOf; }
17634
17642
  });
17635
17643
  Object.defineProperty(exports, "rejoinAsAudience", {
17636
17644
  enumerable: true,
17637
- get: function () { return chunkX5OZRLFZ_cjs.rejoinAsAudience; }
17645
+ get: function () { return chunkFAJLJDWS_cjs.rejoinAsAudience; }
17638
17646
  });
17639
17647
  Object.defineProperty(exports, "removeChat", {
17640
17648
  enumerable: true,
17641
- get: function () { return chunkX5OZRLFZ_cjs.removeChat; }
17649
+ get: function () { return chunkFAJLJDWS_cjs.removeChat; }
17642
17650
  });
17643
17651
  Object.defineProperty(exports, "removeConversationFromLists", {
17644
17652
  enumerable: true,
17645
- get: function () { return chunkX5OZRLFZ_cjs.removeConversationFromLists; }
17653
+ get: function () { return chunkFAJLJDWS_cjs.removeConversationFromLists; }
17646
17654
  });
17647
17655
  Object.defineProperty(exports, "resetCallSession", {
17648
17656
  enumerable: true,
17649
- get: function () { return chunkX5OZRLFZ_cjs.resetCallSession; }
17657
+ get: function () { return chunkFAJLJDWS_cjs.resetCallSession; }
17650
17658
  });
17651
17659
  Object.defineProperty(exports, "resolveMeetingChat", {
17652
17660
  enumerable: true,
17653
- get: function () { return chunkX5OZRLFZ_cjs.resolveMeetingChat; }
17661
+ get: function () { return chunkFAJLJDWS_cjs.resolveMeetingChat; }
17654
17662
  });
17655
17663
  Object.defineProperty(exports, "saveRecordingFilesToThread", {
17656
17664
  enumerable: true,
17657
- get: function () { return chunkX5OZRLFZ_cjs.saveRecordingFilesToThread; }
17665
+ get: function () { return chunkFAJLJDWS_cjs.saveRecordingFilesToThread; }
17658
17666
  });
17659
17667
  Object.defineProperty(exports, "schedulePart", {
17660
17668
  enumerable: true,
17661
- get: function () { return chunkX5OZRLFZ_cjs.schedulePart; }
17669
+ get: function () { return chunkFAJLJDWS_cjs.schedulePart; }
17662
17670
  });
17663
17671
  Object.defineProperty(exports, "sealQuestionText", {
17664
17672
  enumerable: true,
17665
- get: function () { return chunkX5OZRLFZ_cjs.sealQuestionText; }
17673
+ get: function () { return chunkFAJLJDWS_cjs.sealQuestionText; }
17666
17674
  });
17667
17675
  Object.defineProperty(exports, "serverCallsExperimental", {
17668
17676
  enumerable: true,
17669
- get: function () { return chunkX5OZRLFZ_cjs.serverCallsExperimental; }
17677
+ get: function () { return chunkFAJLJDWS_cjs.serverCallsExperimental; }
17670
17678
  });
17671
17679
  Object.defineProperty(exports, "setOpenChat", {
17672
17680
  enumerable: true,
17673
- get: function () { return chunkX5OZRLFZ_cjs.setOpenChat; }
17681
+ get: function () { return chunkFAJLJDWS_cjs.setOpenChat; }
17674
17682
  });
17675
17683
  Object.defineProperty(exports, "sortTranscriptMessages", {
17676
17684
  enumerable: true,
17677
- get: function () { return chunkX5OZRLFZ_cjs.sortTranscriptMessages; }
17685
+ get: function () { return chunkFAJLJDWS_cjs.sortTranscriptMessages; }
17678
17686
  });
17679
17687
  Object.defineProperty(exports, "sortedParts", {
17680
17688
  enumerable: true,
17681
- get: function () { return chunkX5OZRLFZ_cjs.sortedParts; }
17689
+ get: function () { return chunkFAJLJDWS_cjs.sortedParts; }
17682
17690
  });
17683
17691
  Object.defineProperty(exports, "speakerTracks", {
17684
17692
  enumerable: true,
17685
- get: function () { return chunkX5OZRLFZ_cjs.speakerTracks; }
17693
+ get: function () { return chunkFAJLJDWS_cjs.speakerTracks; }
17686
17694
  });
17687
17695
  Object.defineProperty(exports, "speakerWav", {
17688
17696
  enumerable: true,
17689
- get: function () { return chunkX5OZRLFZ_cjs.speakerWav; }
17697
+ get: function () { return chunkFAJLJDWS_cjs.speakerWav; }
17690
17698
  });
17691
17699
  Object.defineProperty(exports, "splitIntoFiles", {
17692
17700
  enumerable: true,
17693
- get: function () { return chunkX5OZRLFZ_cjs.splitIntoFiles; }
17701
+ get: function () { return chunkFAJLJDWS_cjs.splitIntoFiles; }
17694
17702
  });
17695
17703
  Object.defineProperty(exports, "standalone", {
17696
17704
  enumerable: true,
17697
- get: function () { return chunkX5OZRLFZ_cjs.standalone; }
17705
+ get: function () { return chunkFAJLJDWS_cjs.standalone; }
17698
17706
  });
17699
17707
  Object.defineProperty(exports, "startChatCall", {
17700
17708
  enumerable: true,
17701
- get: function () { return chunkX5OZRLFZ_cjs.startChatCall; }
17709
+ get: function () { return chunkFAJLJDWS_cjs.startChatCall; }
17702
17710
  });
17703
17711
  Object.defineProperty(exports, "startContactsCall", {
17704
17712
  enumerable: true,
17705
- get: function () { return chunkX5OZRLFZ_cjs.startContactsCall; }
17713
+ get: function () { return chunkFAJLJDWS_cjs.startContactsCall; }
17706
17714
  });
17707
17715
  Object.defineProperty(exports, "startDmCall", {
17708
17716
  enumerable: true,
17709
- get: function () { return chunkX5OZRLFZ_cjs.startDmCall; }
17717
+ get: function () { return chunkFAJLJDWS_cjs.startDmCall; }
17710
17718
  });
17711
17719
  Object.defineProperty(exports, "startThreadCall", {
17712
17720
  enumerable: true,
17713
- get: function () { return chunkX5OZRLFZ_cjs.startThreadCall; }
17721
+ get: function () { return chunkFAJLJDWS_cjs.startThreadCall; }
17714
17722
  });
17715
17723
  Object.defineProperty(exports, "startsMediaFile", {
17716
17724
  enumerable: true,
17717
- get: function () { return chunkX5OZRLFZ_cjs.startsMediaFile; }
17725
+ get: function () { return chunkFAJLJDWS_cjs.startsMediaFile; }
17718
17726
  });
17719
17727
  Object.defineProperty(exports, "storeTranscriptSegment", {
17720
17728
  enumerable: true,
17721
- get: function () { return chunkX5OZRLFZ_cjs.storeTranscriptSegment; }
17729
+ get: function () { return chunkFAJLJDWS_cjs.storeTranscriptSegment; }
17722
17730
  });
17723
17731
  Object.defineProperty(exports, "stripSpeakerPrefix", {
17724
17732
  enumerable: true,
17725
- get: function () { return chunkX5OZRLFZ_cjs.stripSpeakerPrefix; }
17733
+ get: function () { return chunkFAJLJDWS_cjs.stripSpeakerPrefix; }
17726
17734
  });
17727
17735
  Object.defineProperty(exports, "supersedeLiveTranscript", {
17728
17736
  enumerable: true,
17729
- get: function () { return chunkX5OZRLFZ_cjs.supersedeLiveTranscript; }
17737
+ get: function () { return chunkFAJLJDWS_cjs.supersedeLiveTranscript; }
17730
17738
  });
17731
17739
  Object.defineProperty(exports, "supersededTranscriptLines", {
17732
17740
  enumerable: true,
17733
- get: function () { return chunkX5OZRLFZ_cjs.supersededTranscriptLines; }
17741
+ get: function () { return chunkFAJLJDWS_cjs.supersededTranscriptLines; }
17734
17742
  });
17735
17743
  Object.defineProperty(exports, "threadHasLiveCall", {
17736
17744
  enumerable: true,
17737
- get: function () { return chunkX5OZRLFZ_cjs.threadHasLiveCall; }
17745
+ get: function () { return chunkFAJLJDWS_cjs.threadHasLiveCall; }
17738
17746
  });
17739
17747
  Object.defineProperty(exports, "threadLiveCallId", {
17740
17748
  enumerable: true,
17741
- get: function () { return chunkX5OZRLFZ_cjs.threadLiveCallId; }
17749
+ get: function () { return chunkFAJLJDWS_cjs.threadLiveCallId; }
17742
17750
  });
17743
17751
  Object.defineProperty(exports, "threadTranscriptLines", {
17744
17752
  enumerable: true,
17745
- get: function () { return chunkX5OZRLFZ_cjs.threadTranscriptLines; }
17753
+ get: function () { return chunkFAJLJDWS_cjs.threadTranscriptLines; }
17746
17754
  });
17747
17755
  Object.defineProperty(exports, "threadTranscriptRef", {
17748
17756
  enumerable: true,
17749
- get: function () { return chunkX5OZRLFZ_cjs.threadTranscriptRef; }
17757
+ get: function () { return chunkFAJLJDWS_cjs.threadTranscriptRef; }
17750
17758
  });
17751
17759
  Object.defineProperty(exports, "threadTranscriptText", {
17752
17760
  enumerable: true,
17753
- get: function () { return chunkX5OZRLFZ_cjs.threadTranscriptText; }
17761
+ get: function () { return chunkFAJLJDWS_cjs.threadTranscriptText; }
17754
17762
  });
17755
17763
  Object.defineProperty(exports, "timelineDurationMs", {
17756
17764
  enumerable: true,
17757
- get: function () { return chunkX5OZRLFZ_cjs.timelineDurationMs; }
17765
+ get: function () { return chunkFAJLJDWS_cjs.timelineDurationMs; }
17758
17766
  });
17759
17767
  Object.defineProperty(exports, "timelineOf", {
17760
17768
  enumerable: true,
17761
- get: function () { return chunkX5OZRLFZ_cjs.timelineOf; }
17769
+ get: function () { return chunkFAJLJDWS_cjs.timelineOf; }
17762
17770
  });
17763
17771
  Object.defineProperty(exports, "toProfileView", {
17764
17772
  enumerable: true,
17765
- get: function () { return chunkX5OZRLFZ_cjs.toProfileView; }
17773
+ get: function () { return chunkFAJLJDWS_cjs.toProfileView; }
17766
17774
  });
17767
17775
  Object.defineProperty(exports, "trackUploaderFor", {
17768
17776
  enumerable: true,
17769
- get: function () { return chunkX5OZRLFZ_cjs.trackUploaderFor; }
17777
+ get: function () { return chunkFAJLJDWS_cjs.trackUploaderFor; }
17770
17778
  });
17771
17779
  Object.defineProperty(exports, "transcribeRecording", {
17772
17780
  enumerable: true,
17773
- get: function () { return chunkX5OZRLFZ_cjs.transcribeRecording; }
17781
+ get: function () { return chunkFAJLJDWS_cjs.transcribeRecording; }
17774
17782
  });
17775
17783
  Object.defineProperty(exports, "transcriptPersistRole", {
17776
17784
  enumerable: true,
17777
- get: function () { return chunkX5OZRLFZ_cjs.transcriptPersistRole; }
17785
+ get: function () { return chunkFAJLJDWS_cjs.transcriptPersistRole; }
17778
17786
  });
17779
17787
  Object.defineProperty(exports, "transcriptSegmentOf", {
17780
17788
  enumerable: true,
17781
- get: function () { return chunkX5OZRLFZ_cjs.transcriptSegmentOf; }
17789
+ get: function () { return chunkFAJLJDWS_cjs.transcriptSegmentOf; }
17782
17790
  });
17783
17791
  Object.defineProperty(exports, "unwrapTrackKey", {
17784
17792
  enumerable: true,
17785
- get: function () { return chunkX5OZRLFZ_cjs.unwrapTrackKey; }
17793
+ get: function () { return chunkFAJLJDWS_cjs.unwrapTrackKey; }
17786
17794
  });
17787
17795
  Object.defineProperty(exports, "upsertChat", {
17788
17796
  enumerable: true,
17789
- get: function () { return chunkX5OZRLFZ_cjs.upsertChat; }
17797
+ get: function () { return chunkFAJLJDWS_cjs.upsertChat; }
17790
17798
  });
17791
17799
  Object.defineProperty(exports, "useAccountClient", {
17792
17800
  enumerable: true,
17793
- get: function () { return chunkX5OZRLFZ_cjs.useAccountClient; }
17801
+ get: function () { return chunkFAJLJDWS_cjs.useAccountClient; }
17794
17802
  });
17795
17803
  Object.defineProperty(exports, "useAvatarCrop", {
17796
17804
  enumerable: true,
17797
- get: function () { return chunkX5OZRLFZ_cjs.useAvatarCrop; }
17805
+ get: function () { return chunkFAJLJDWS_cjs.useAvatarCrop; }
17798
17806
  });
17799
17807
  Object.defineProperty(exports, "useCall", {
17800
17808
  enumerable: true,
17801
- get: function () { return chunkX5OZRLFZ_cjs.useCall; }
17809
+ get: function () { return chunkFAJLJDWS_cjs.useCall; }
17802
17810
  });
17803
17811
  Object.defineProperty(exports, "useCallInviteLinks", {
17804
17812
  enumerable: true,
17805
- get: function () { return chunkX5OZRLFZ_cjs.useCallInviteLinks; }
17813
+ get: function () { return chunkFAJLJDWS_cjs.useCallInviteLinks; }
17806
17814
  });
17807
17815
  Object.defineProperty(exports, "useCallRecording", {
17808
17816
  enumerable: true,
17809
- get: function () { return chunkX5OZRLFZ_cjs.useCallRecording; }
17817
+ get: function () { return chunkFAJLJDWS_cjs.useCallRecording; }
17810
17818
  });
17811
17819
  Object.defineProperty(exports, "useCallRecordings", {
17812
17820
  enumerable: true,
17813
- get: function () { return chunkX5OZRLFZ_cjs.useCallRecordings; }
17821
+ get: function () { return chunkFAJLJDWS_cjs.useCallRecordings; }
17814
17822
  });
17815
17823
  Object.defineProperty(exports, "useCallSession", {
17816
17824
  enumerable: true,
17817
- get: function () { return chunkX5OZRLFZ_cjs.useCallSession; }
17825
+ get: function () { return chunkFAJLJDWS_cjs.useCallSession; }
17818
17826
  });
17819
17827
  Object.defineProperty(exports, "useCallTranscriptionAvailable", {
17820
17828
  enumerable: true,
17821
- get: function () { return chunkX5OZRLFZ_cjs.useCallTranscriptionAvailable; }
17829
+ get: function () { return chunkFAJLJDWS_cjs.useCallTranscriptionAvailable; }
17822
17830
  });
17823
17831
  Object.defineProperty(exports, "useCallsConfig", {
17824
17832
  enumerable: true,
17825
- get: function () { return chunkX5OZRLFZ_cjs.useCallsConfig; }
17833
+ get: function () { return chunkFAJLJDWS_cjs.useCallsConfig; }
17826
17834
  });
17827
17835
  Object.defineProperty(exports, "useCallsEnabled", {
17828
17836
  enumerable: true,
17829
- get: function () { return chunkX5OZRLFZ_cjs.useCallsEnabled; }
17837
+ get: function () { return chunkFAJLJDWS_cjs.useCallsEnabled; }
17830
17838
  });
17831
17839
  Object.defineProperty(exports, "useCanHostCalls", {
17832
17840
  enumerable: true,
17833
- get: function () { return chunkX5OZRLFZ_cjs.useCanHostCalls; }
17841
+ get: function () { return chunkFAJLJDWS_cjs.useCanHostCalls; }
17834
17842
  });
17835
17843
  Object.defineProperty(exports, "useEntitlements", {
17836
17844
  enumerable: true,
17837
- get: function () { return chunkX5OZRLFZ_cjs.useEntitlements; }
17845
+ get: function () { return chunkFAJLJDWS_cjs.useEntitlements; }
17838
17846
  });
17839
17847
  Object.defineProperty(exports, "useFeature", {
17840
17848
  enumerable: true,
17841
- get: function () { return chunkX5OZRLFZ_cjs.useFeature; }
17849
+ get: function () { return chunkFAJLJDWS_cjs.useFeature; }
17842
17850
  });
17843
17851
  Object.defineProperty(exports, "useFeatureCheck", {
17844
17852
  enumerable: true,
17845
- get: function () { return chunkX5OZRLFZ_cjs.useFeatureCheck; }
17853
+ get: function () { return chunkFAJLJDWS_cjs.useFeatureCheck; }
17846
17854
  });
17847
17855
  Object.defineProperty(exports, "useFeatureSwitch", {
17848
17856
  enumerable: true,
17849
- get: function () { return chunkX5OZRLFZ_cjs.useFeatureSwitch; }
17857
+ get: function () { return chunkFAJLJDWS_cjs.useFeatureSwitch; }
17850
17858
  });
17851
17859
  Object.defineProperty(exports, "useInvalidateEntitlements", {
17852
17860
  enumerable: true,
17853
- get: function () { return chunkX5OZRLFZ_cjs.useInvalidateEntitlements; }
17861
+ get: function () { return chunkFAJLJDWS_cjs.useInvalidateEntitlements; }
17854
17862
  });
17855
17863
  Object.defineProperty(exports, "useIsEntitled", {
17856
17864
  enumerable: true,
17857
- get: function () { return chunkX5OZRLFZ_cjs.useIsEntitled; }
17865
+ get: function () { return chunkFAJLJDWS_cjs.useIsEntitled; }
17858
17866
  });
17859
17867
  Object.defineProperty(exports, "useMeetingReadOnly", {
17860
17868
  enumerable: true,
17861
- get: function () { return chunkX5OZRLFZ_cjs.useMeetingReadOnly; }
17869
+ get: function () { return chunkFAJLJDWS_cjs.useMeetingReadOnly; }
17862
17870
  });
17863
17871
  Object.defineProperty(exports, "useNameEditor", {
17864
17872
  enumerable: true,
17865
- get: function () { return chunkX5OZRLFZ_cjs.useNameEditor; }
17873
+ get: function () { return chunkFAJLJDWS_cjs.useNameEditor; }
17866
17874
  });
17867
17875
  Object.defineProperty(exports, "useOpenCallMeetingChat", {
17868
17876
  enumerable: true,
17869
- get: function () { return chunkX5OZRLFZ_cjs.useOpenCallMeetingChat; }
17877
+ get: function () { return chunkFAJLJDWS_cjs.useOpenCallMeetingChat; }
17870
17878
  });
17871
17879
  Object.defineProperty(exports, "useProfile", {
17872
17880
  enumerable: true,
17873
- get: function () { return chunkX5OZRLFZ_cjs.useProfile; }
17881
+ get: function () { return chunkFAJLJDWS_cjs.useProfile; }
17874
17882
  });
17875
17883
  Object.defineProperty(exports, "useRecordingActions", {
17876
17884
  enumerable: true,
17877
- get: function () { return chunkX5OZRLFZ_cjs.useRecordingActions; }
17885
+ get: function () { return chunkFAJLJDWS_cjs.useRecordingActions; }
17878
17886
  });
17879
17887
  Object.defineProperty(exports, "useRecordingWindows", {
17880
17888
  enumerable: true,
17881
- get: function () { return chunkX5OZRLFZ_cjs.useRecordingWindows; }
17889
+ get: function () { return chunkFAJLJDWS_cjs.useRecordingWindows; }
17882
17890
  });
17883
17891
  Object.defineProperty(exports, "useRevokeCallInviteLink", {
17884
17892
  enumerable: true,
17885
- get: function () { return chunkX5OZRLFZ_cjs.useRevokeCallInviteLink; }
17893
+ get: function () { return chunkFAJLJDWS_cjs.useRevokeCallInviteLink; }
17886
17894
  });
17887
17895
  Object.defineProperty(exports, "useSaveToThread", {
17888
17896
  enumerable: true,
17889
- get: function () { return chunkX5OZRLFZ_cjs.useSaveToThread; }
17897
+ get: function () { return chunkFAJLJDWS_cjs.useSaveToThread; }
17890
17898
  });
17891
17899
  Object.defineProperty(exports, "useServerCallsEnabled", {
17892
17900
  enumerable: true,
17893
- get: function () { return chunkX5OZRLFZ_cjs.useServerCallsEnabled; }
17901
+ get: function () { return chunkFAJLJDWS_cjs.useServerCallsEnabled; }
17894
17902
  });
17895
17903
  Object.defineProperty(exports, "useServerCallsExperimental", {
17896
17904
  enumerable: true,
17897
- get: function () { return chunkX5OZRLFZ_cjs.useServerCallsExperimental; }
17905
+ get: function () { return chunkFAJLJDWS_cjs.useServerCallsExperimental; }
17898
17906
  });
17899
17907
  Object.defineProperty(exports, "useUpdateProfile", {
17900
17908
  enumerable: true,
17901
- get: function () { return chunkX5OZRLFZ_cjs.useUpdateProfile; }
17909
+ get: function () { return chunkFAJLJDWS_cjs.useUpdateProfile; }
17902
17910
  });
17903
17911
  Object.defineProperty(exports, "useUpdateUserSettings", {
17904
17912
  enumerable: true,
17905
- get: function () { return chunkX5OZRLFZ_cjs.useUpdateUserSettings; }
17913
+ get: function () { return chunkFAJLJDWS_cjs.useUpdateUserSettings; }
17906
17914
  });
17907
17915
  Object.defineProperty(exports, "useUserSettings", {
17908
17916
  enumerable: true,
17909
- get: function () { return chunkX5OZRLFZ_cjs.useUserSettings; }
17917
+ get: function () { return chunkFAJLJDWS_cjs.useUserSettings; }
17910
17918
  });
17911
17919
  Object.defineProperty(exports, "wipeOfflineMail", {
17912
17920
  enumerable: true,
17913
- get: function () { return chunkX5OZRLFZ_cjs.wipeOfflineMail; }
17921
+ get: function () { return chunkFAJLJDWS_cjs.wipeOfflineMail; }
17914
17922
  });
17915
17923
  Object.defineProperty(exports, "wrapTrackKey", {
17916
17924
  enumerable: true,
17917
- get: function () { return chunkX5OZRLFZ_cjs.wrapTrackKey; }
17925
+ get: function () { return chunkFAJLJDWS_cjs.wrapTrackKey; }
17918
17926
  });
17919
17927
  Object.defineProperty(exports, "writeSamples", {
17920
17928
  enumerable: true,
17921
- get: function () { return chunkX5OZRLFZ_cjs.writeSamples; }
17929
+ get: function () { return chunkFAJLJDWS_cjs.writeSamples; }
17922
17930
  });
17923
17931
  Object.defineProperty(exports, "DISMISSED_TASK_TTL_MS", {
17924
17932
  enumerable: true,
@@ -18458,199 +18466,203 @@ Object.defineProperty(exports, "useDeploymentDomain", {
18458
18466
  });
18459
18467
  Object.defineProperty(exports, "DEFAULT_ASSISTANT_NAME", {
18460
18468
  enumerable: true,
18461
- get: function () { return chunkZ3W4XFWB_cjs.DEFAULT_ASSISTANT_NAME; }
18469
+ get: function () { return chunkWUYSVTKE_cjs.DEFAULT_ASSISTANT_NAME; }
18462
18470
  });
18463
18471
  Object.defineProperty(exports, "LEGACY_THREAD_DOCUMENTS_KEY", {
18464
18472
  enumerable: true,
18465
- get: function () { return chunkZ3W4XFWB_cjs.LEGACY_THREAD_DOCUMENTS_KEY; }
18473
+ get: function () { return chunkWUYSVTKE_cjs.LEGACY_THREAD_DOCUMENTS_KEY; }
18466
18474
  });
18467
18475
  Object.defineProperty(exports, "MENTION_HREF_PREFIX", {
18468
18476
  enumerable: true,
18469
- get: function () { return chunkZ3W4XFWB_cjs.MENTION_HREF_PREFIX; }
18477
+ get: function () { return chunkWUYSVTKE_cjs.MENTION_HREF_PREFIX; }
18470
18478
  });
18471
18479
  Object.defineProperty(exports, "NotificationBell", {
18472
18480
  enumerable: true,
18473
- get: function () { return chunkZ3W4XFWB_cjs.NotificationBell; }
18481
+ get: function () { return chunkWUYSVTKE_cjs.NotificationBell; }
18474
18482
  });
18475
18483
  Object.defineProperty(exports, "Toaster", {
18476
18484
  enumerable: true,
18477
- get: function () { return chunkZ3W4XFWB_cjs.Toaster; }
18485
+ get: function () { return chunkWUYSVTKE_cjs.Toaster; }
18478
18486
  });
18479
18487
  Object.defineProperty(exports, "UNBOUND", {
18480
18488
  enumerable: true,
18481
- get: function () { return chunkZ3W4XFWB_cjs.UNBOUND; }
18489
+ get: function () { return chunkWUYSVTKE_cjs.UNBOUND; }
18482
18490
  });
18483
18491
  Object.defineProperty(exports, "assistantCopy", {
18484
18492
  enumerable: true,
18485
- get: function () { return chunkZ3W4XFWB_cjs.assistantCopy; }
18493
+ get: function () { return chunkWUYSVTKE_cjs.assistantCopy; }
18486
18494
  });
18487
18495
  Object.defineProperty(exports, "bindingOfRow", {
18488
18496
  enumerable: true,
18489
- get: function () { return chunkZ3W4XFWB_cjs.bindingOfRow; }
18497
+ get: function () { return chunkWUYSVTKE_cjs.bindingOfRow; }
18490
18498
  });
18491
18499
  Object.defineProperty(exports, "clearSearchSession", {
18492
18500
  enumerable: true,
18493
- get: function () { return chunkZ3W4XFWB_cjs.clearSearchSession; }
18501
+ get: function () { return chunkWUYSVTKE_cjs.clearSearchSession; }
18494
18502
  });
18495
18503
  Object.defineProperty(exports, "createSearchSession", {
18496
18504
  enumerable: true,
18497
- get: function () { return chunkZ3W4XFWB_cjs.createSearchSession; }
18505
+ get: function () { return chunkWUYSVTKE_cjs.createSearchSession; }
18498
18506
  });
18499
18507
  Object.defineProperty(exports, "extractMentions", {
18500
18508
  enumerable: true,
18501
- get: function () { return chunkZ3W4XFWB_cjs.extractMentions; }
18509
+ get: function () { return chunkWUYSVTKE_cjs.extractMentions; }
18502
18510
  });
18503
18511
  Object.defineProperty(exports, "filterMentionCandidates", {
18504
18512
  enumerable: true,
18505
- get: function () { return chunkZ3W4XFWB_cjs.filterMentionCandidates; }
18513
+ get: function () { return chunkWUYSVTKE_cjs.filterMentionCandidates; }
18506
18514
  });
18507
18515
  Object.defineProperty(exports, "findMentionQuery", {
18508
18516
  enumerable: true,
18509
- get: function () { return chunkZ3W4XFWB_cjs.findMentionQuery; }
18517
+ get: function () { return chunkWUYSVTKE_cjs.findMentionQuery; }
18510
18518
  });
18511
18519
  Object.defineProperty(exports, "forgetLegacyThreadDocuments", {
18512
18520
  enumerable: true,
18513
- get: function () { return chunkZ3W4XFWB_cjs.forgetLegacyThreadDocuments; }
18521
+ get: function () { return chunkWUYSVTKE_cjs.forgetLegacyThreadDocuments; }
18514
18522
  });
18515
18523
  Object.defineProperty(exports, "hasMessageBody", {
18516
18524
  enumerable: true,
18517
- get: function () { return chunkZ3W4XFWB_cjs.hasMessageBody; }
18525
+ get: function () { return chunkWUYSVTKE_cjs.hasMessageBody; }
18518
18526
  });
18519
18527
  Object.defineProperty(exports, "insertMention", {
18520
18528
  enumerable: true,
18521
- get: function () { return chunkZ3W4XFWB_cjs.insertMention; }
18529
+ get: function () { return chunkWUYSVTKE_cjs.insertMention; }
18530
+ });
18531
+ Object.defineProperty(exports, "isSlideDeck", {
18532
+ enumerable: true,
18533
+ get: function () { return chunkWUYSVTKE_cjs.isSlideDeck; }
18522
18534
  });
18523
18535
  Object.defineProperty(exports, "latestThreadOfDocument", {
18524
18536
  enumerable: true,
18525
- get: function () { return chunkZ3W4XFWB_cjs.latestThreadOfDocument; }
18537
+ get: function () { return chunkWUYSVTKE_cjs.latestThreadOfDocument; }
18526
18538
  });
18527
18539
  Object.defineProperty(exports, "linkMentions", {
18528
18540
  enumerable: true,
18529
- get: function () { return chunkZ3W4XFWB_cjs.linkMentions; }
18541
+ get: function () { return chunkWUYSVTKE_cjs.linkMentions; }
18530
18542
  });
18531
18543
  Object.defineProperty(exports, "mentionFromHref", {
18532
18544
  enumerable: true,
18533
- get: function () { return chunkZ3W4XFWB_cjs.mentionFromHref; }
18545
+ get: function () { return chunkWUYSVTKE_cjs.mentionFromHref; }
18534
18546
  });
18535
18547
  Object.defineProperty(exports, "openDocumentId", {
18536
18548
  enumerable: true,
18537
- get: function () { return chunkZ3W4XFWB_cjs.openDocumentId; }
18549
+ get: function () { return chunkWUYSVTKE_cjs.openDocumentId; }
18538
18550
  });
18539
18551
  Object.defineProperty(exports, "opensInWord", {
18540
18552
  enumerable: true,
18541
- get: function () { return chunkZ3W4XFWB_cjs.opensInWord; }
18553
+ get: function () { return chunkWUYSVTKE_cjs.opensInWord; }
18542
18554
  });
18543
18555
  Object.defineProperty(exports, "persistSearchSession", {
18544
18556
  enumerable: true,
18545
- get: function () { return chunkZ3W4XFWB_cjs.persistSearchSession; }
18557
+ get: function () { return chunkWUYSVTKE_cjs.persistSearchSession; }
18546
18558
  });
18547
18559
  Object.defineProperty(exports, "readLegacyThreadDocuments", {
18548
18560
  enumerable: true,
18549
- get: function () { return chunkZ3W4XFWB_cjs.readLegacyThreadDocuments; }
18561
+ get: function () { return chunkWUYSVTKE_cjs.readLegacyThreadDocuments; }
18550
18562
  });
18551
18563
  Object.defineProperty(exports, "requestSearch", {
18552
18564
  enumerable: true,
18553
- get: function () { return chunkZ3W4XFWB_cjs.requestSearch; }
18565
+ get: function () { return chunkWUYSVTKE_cjs.requestSearch; }
18554
18566
  });
18555
18567
  Object.defineProperty(exports, "savedDocumentIdFor", {
18556
18568
  enumerable: true,
18557
- get: function () { return chunkZ3W4XFWB_cjs.savedDocumentIdFor; }
18569
+ get: function () { return chunkWUYSVTKE_cjs.savedDocumentIdFor; }
18558
18570
  });
18559
18571
  Object.defineProperty(exports, "sharedSearchSession", {
18560
18572
  enumerable: true,
18561
- get: function () { return chunkZ3W4XFWB_cjs.sharedSearchSession; }
18573
+ get: function () { return chunkWUYSVTKE_cjs.sharedSearchSession; }
18562
18574
  });
18563
18575
  Object.defineProperty(exports, "takeDocumentForTurn", {
18564
18576
  enumerable: true,
18565
- get: function () { return chunkZ3W4XFWB_cjs.takeDocumentForTurn; }
18577
+ get: function () { return chunkWUYSVTKE_cjs.takeDocumentForTurn; }
18566
18578
  });
18567
18579
  Object.defineProperty(exports, "takePendingSearch", {
18568
18580
  enumerable: true,
18569
- get: function () { return chunkZ3W4XFWB_cjs.takePendingSearch; }
18581
+ get: function () { return chunkWUYSVTKE_cjs.takePendingSearch; }
18570
18582
  });
18571
18583
  Object.defineProperty(exports, "toMessageMentions", {
18572
18584
  enumerable: true,
18573
- get: function () { return chunkZ3W4XFWB_cjs.toMessageMentions; }
18585
+ get: function () { return chunkWUYSVTKE_cjs.toMessageMentions; }
18574
18586
  });
18575
18587
  Object.defineProperty(exports, "useAssistantCopy", {
18576
18588
  enumerable: true,
18577
- get: function () { return chunkZ3W4XFWB_cjs.useAssistantCopy; }
18589
+ get: function () { return chunkWUYSVTKE_cjs.useAssistantCopy; }
18578
18590
  });
18579
18591
  Object.defineProperty(exports, "useAssistantName", {
18580
18592
  enumerable: true,
18581
- get: function () { return chunkZ3W4XFWB_cjs.useAssistantName; }
18593
+ get: function () { return chunkWUYSVTKE_cjs.useAssistantName; }
18582
18594
  });
18583
18595
  Object.defineProperty(exports, "useOpenDocumentId", {
18584
18596
  enumerable: true,
18585
- get: function () { return chunkZ3W4XFWB_cjs.useOpenDocumentId; }
18597
+ get: function () { return chunkWUYSVTKE_cjs.useOpenDocumentId; }
18586
18598
  });
18587
18599
  Object.defineProperty(exports, "useRegisterOpenDocument", {
18588
18600
  enumerable: true,
18589
- get: function () { return chunkZ3W4XFWB_cjs.useRegisterOpenDocument; }
18601
+ get: function () { return chunkWUYSVTKE_cjs.useRegisterOpenDocument; }
18590
18602
  });
18591
18603
  Object.defineProperty(exports, "useTurnDocumentId", {
18592
18604
  enumerable: true,
18593
- get: function () { return chunkZ3W4XFWB_cjs.useTurnDocumentId; }
18605
+ get: function () { return chunkWUYSVTKE_cjs.useTurnDocumentId; }
18594
18606
  });
18595
18607
  Object.defineProperty(exports, "DEFAULT_NOTIFY_TONE", {
18596
18608
  enumerable: true,
18597
- get: function () { return chunkRLSBRZ6Z_cjs.DEFAULT_NOTIFY_TONE; }
18609
+ get: function () { return chunkIX4HOS5Z_cjs.DEFAULT_NOTIFY_TONE; }
18598
18610
  });
18599
18611
  Object.defineProperty(exports, "MAX_SESSION_NOTIFICATIONS", {
18600
18612
  enumerable: true,
18601
- get: function () { return chunkRLSBRZ6Z_cjs.MAX_SESSION_NOTIFICATIONS; }
18613
+ get: function () { return chunkIX4HOS5Z_cjs.MAX_SESSION_NOTIFICATIONS; }
18602
18614
  });
18603
18615
  Object.defineProperty(exports, "clearChatArtifacts", {
18604
18616
  enumerable: true,
18605
- get: function () { return chunkRLSBRZ6Z_cjs.clearChatArtifacts; }
18617
+ get: function () { return chunkIX4HOS5Z_cjs.clearChatArtifacts; }
18606
18618
  });
18607
18619
  Object.defineProperty(exports, "configureNotify", {
18608
18620
  enumerable: true,
18609
- get: function () { return chunkRLSBRZ6Z_cjs.configureNotify; }
18621
+ get: function () { return chunkIX4HOS5Z_cjs.configureNotify; }
18610
18622
  });
18611
18623
  Object.defineProperty(exports, "getChatArtifact", {
18612
18624
  enumerable: true,
18613
- get: function () { return chunkRLSBRZ6Z_cjs.getChatArtifact; }
18625
+ get: function () { return chunkIX4HOS5Z_cjs.getChatArtifact; }
18614
18626
  });
18615
18627
  Object.defineProperty(exports, "getChatArtifacts", {
18616
18628
  enumerable: true,
18617
- get: function () { return chunkRLSBRZ6Z_cjs.getChatArtifacts; }
18629
+ get: function () { return chunkIX4HOS5Z_cjs.getChatArtifacts; }
18618
18630
  });
18619
18631
  Object.defineProperty(exports, "notify", {
18620
18632
  enumerable: true,
18621
- get: function () { return chunkRLSBRZ6Z_cjs.notify; }
18633
+ get: function () { return chunkIX4HOS5Z_cjs.notify; }
18622
18634
  });
18623
18635
  Object.defineProperty(exports, "persistNotifyHistory", {
18624
18636
  enumerable: true,
18625
- get: function () { return chunkRLSBRZ6Z_cjs.persistNotifyHistory; }
18637
+ get: function () { return chunkIX4HOS5Z_cjs.persistNotifyHistory; }
18626
18638
  });
18627
18639
  Object.defineProperty(exports, "recordChatArtifact", {
18628
18640
  enumerable: true,
18629
- get: function () { return chunkRLSBRZ6Z_cjs.recordChatArtifact; }
18641
+ get: function () { return chunkIX4HOS5Z_cjs.recordChatArtifact; }
18630
18642
  });
18631
18643
  Object.defineProperty(exports, "seedNotifications", {
18632
18644
  enumerable: true,
18633
- get: function () { return chunkRLSBRZ6Z_cjs.seedNotifications; }
18645
+ get: function () { return chunkIX4HOS5Z_cjs.seedNotifications; }
18634
18646
  });
18635
18647
  Object.defineProperty(exports, "selectUnread", {
18636
18648
  enumerable: true,
18637
- get: function () { return chunkRLSBRZ6Z_cjs.selectUnread; }
18649
+ get: function () { return chunkIX4HOS5Z_cjs.selectUnread; }
18638
18650
  });
18639
18651
  Object.defineProperty(exports, "toast", {
18640
18652
  enumerable: true,
18641
- get: function () { return chunkRLSBRZ6Z_cjs.toast; }
18653
+ get: function () { return chunkIX4HOS5Z_cjs.toast; }
18642
18654
  });
18643
18655
  Object.defineProperty(exports, "useChatArtifact", {
18644
18656
  enumerable: true,
18645
- get: function () { return chunkRLSBRZ6Z_cjs.useChatArtifact; }
18657
+ get: function () { return chunkIX4HOS5Z_cjs.useChatArtifact; }
18646
18658
  });
18647
18659
  Object.defineProperty(exports, "useMessageChatArtifact", {
18648
18660
  enumerable: true,
18649
- get: function () { return chunkRLSBRZ6Z_cjs.useMessageChatArtifact; }
18661
+ get: function () { return chunkIX4HOS5Z_cjs.useMessageChatArtifact; }
18650
18662
  });
18651
18663
  Object.defineProperty(exports, "useNotify", {
18652
18664
  enumerable: true,
18653
- get: function () { return chunkRLSBRZ6Z_cjs.useNotify; }
18665
+ get: function () { return chunkIX4HOS5Z_cjs.useNotify; }
18654
18666
  });
18655
18667
  Object.defineProperty(exports, "mergeHostConfig", {
18656
18668
  enumerable: true,