@arbidocs/react 0.5.159 → 0.5.161

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,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkTMPDW7J5_cjs = require('./chunk-TMPDW7J5.cjs');
4
- var chunkV7GGKT6W_cjs = require('./chunk-V7GGKT6W.cjs');
4
+ var chunkGVU3KYP3_cjs = require('./chunk-GVU3KYP3.cjs');
5
5
  var chunkV5WCKJEH_cjs = require('./chunk-V5WCKJEH.cjs');
6
6
  var chunk2MGJXBBJ_cjs = require('./chunk-2MGJXBBJ.cjs');
7
7
  var chunk6TJL4Z2F_cjs = require('./chunk-6TJL4Z2F.cjs');
@@ -174,7 +174,7 @@ function useStartTaskQuery() {
174
174
  }
175
175
  }
176
176
  if (!conversationId) return null;
177
- await chunkV7GGKT6W_cjs.invalidateConversationLists(queryClient);
177
+ await chunkGVU3KYP3_cjs.invalidateConversationLists(queryClient);
178
178
  return { conversationId };
179
179
  };
180
180
  return {
@@ -203,8 +203,8 @@ function useUpdateConversation() {
203
203
  }) => arbi.conversations.update(conversationId, patch),
204
204
  // The list takes the server's version of the row; what hangs off it is read again.
205
205
  onSuccess: (updated, { conversationId }) => {
206
- chunkV7GGKT6W_cjs.patchConversation(qc, conversationId, updated);
207
- return chunkV7GGKT6W_cjs.invalidateConversationDetails(qc, conversationId);
206
+ chunkGVU3KYP3_cjs.patchConversation(qc, conversationId, updated);
207
+ return chunkGVU3KYP3_cjs.invalidateConversationDetails(qc, conversationId);
208
208
  }
209
209
  });
210
210
  }
@@ -213,7 +213,7 @@ function useDeleteConversation() {
213
213
  const qc = reactQuery.useQueryClient();
214
214
  return reactQuery.useMutation({
215
215
  mutationFn: (conversationId) => arbi.conversations.delete(conversationId),
216
- onSuccess: (_res, conversationId) => chunkV7GGKT6W_cjs.removeConversationFromLists(qc, conversationId)
216
+ onSuccess: (_res, conversationId) => chunkGVU3KYP3_cjs.removeConversationFromLists(qc, conversationId)
217
217
  });
218
218
  }
219
219
  function workWorkspace(arbi, workspaceId) {
@@ -236,7 +236,7 @@ function useCreateWork(options) {
236
236
  mutationFn: async (body) => {
237
237
  const workspaceId = workWorkspace(arbi, named);
238
238
  const created = await arbi.conversations.createWork(body, { workspaceId });
239
- chunkV7GGKT6W_cjs.addConversationToList(qc, workspaceId ?? null, created);
239
+ chunkGVU3KYP3_cjs.addConversationToList(qc, workspaceId ?? null, created);
240
240
  return created;
241
241
  }
242
242
  });
@@ -258,7 +258,7 @@ function useStartWorkflow() {
258
258
  inputs,
259
259
  title
260
260
  });
261
- chunkV7GGKT6W_cjs.addConversationToList(qc, target ?? null, created);
261
+ chunkGVU3KYP3_cjs.addConversationToList(qc, target ?? null, created);
262
262
  return created;
263
263
  }
264
264
  });
@@ -278,7 +278,7 @@ function useRunConversation() {
278
278
  mutationFn: (conversationId) => arbi.conversations.runWithAuth(conversationId),
279
279
  // The server's version replaces the listed one; everything under the conversation is re-read.
280
280
  onSuccess: (updated) => {
281
- if (updated?.external_id) chunkV7GGKT6W_cjs.patchConversation(qc, updated.external_id, updated);
281
+ if (updated?.external_id) chunkGVU3KYP3_cjs.patchConversation(qc, updated.external_id, updated);
282
282
  return qc.invalidateQueries({ queryKey: chunkZZBCZRA5_cjs.arbiQueryKeys.allConversations() });
283
283
  }
284
284
  });
@@ -294,7 +294,7 @@ function useActOnStep() {
294
294
  // The server's version of the conversation replaces the listed one; its history is re-read.
295
295
  onSuccess: (updated) => {
296
296
  if (!updated?.external_id) return;
297
- chunkV7GGKT6W_cjs.patchConversation(qc, updated.external_id, updated);
297
+ chunkGVU3KYP3_cjs.patchConversation(qc, updated.external_id, updated);
298
298
  invalidateConversationActivity(qc, updated.external_id);
299
299
  }
300
300
  });
@@ -1332,12 +1332,12 @@ function cachedAssistantMode(queryClient, conversationId, newMode) {
1332
1332
  if (!conversationId) return newMode;
1333
1333
  const threads = queryClient.getQueriesData(allConversationThreads).map(([, data]) => data).find((data) => data?.conversation_ext_id === conversationId);
1334
1334
  if (threads?.assistant_mode) return threads.assistant_mode;
1335
- return chunkV7GGKT6W_cjs.findConversation(queryClient, conversationId)?.assistant_mode ?? "always";
1335
+ return chunkGVU3KYP3_cjs.findConversation(queryClient, conversationId)?.assistant_mode ?? "always";
1336
1336
  }
1337
1337
  function isCommentToPeople(queryClient, conversationId, content, candidates) {
1338
1338
  const mentioned = chunk6HJZCIND_cjs.extractMentions(content, candidates);
1339
1339
  if (mentioned.some((c) => c.kind === "assistant")) return false;
1340
- if (chunkV7GGKT6W_cjs.isConversationShared(queryClient, conversationId)) return true;
1340
+ if (chunkGVU3KYP3_cjs.isConversationShared(queryClient, conversationId)) return true;
1341
1341
  if (mentioned.some((c) => c.kind === "user")) return true;
1342
1342
  return !!conversationId && cachedAssistantMode(queryClient, conversationId, "always") === "mentioned";
1343
1343
  }
@@ -1431,7 +1431,7 @@ function useSaveConfigField(baseConfigId) {
1431
1431
  const saveConfig = useSaveConfig();
1432
1432
  const { data: defaultConfig } = chunk2MGJXBBJ_cjs.useConfig("default");
1433
1433
  const chatModel = chunk2MGJXBBJ_cjs.useArbiSessionState((state) => state.chatModel);
1434
- const { data: userSettings } = chunkV7GGKT6W_cjs.useUserSettings();
1434
+ const { data: userSettings } = chunkGVU3KYP3_cjs.useUserSettings();
1435
1435
  const activeConfigId = baseConfigId || chatModel || userSettings?.last_config || "default";
1436
1436
  const { data: activeConfigData } = chunk2MGJXBBJ_cjs.useConfig(activeConfigId);
1437
1437
  const session = chunk2MGJXBBJ_cjs.useArbiSessionStore();
@@ -1555,7 +1555,7 @@ async function agentChatOwnerOf(queryClient, listAgents, conversationId) {
1555
1555
  // src/chat/thread-binding.ts
1556
1556
  function threadBinding(queryClient, conversationId) {
1557
1557
  if (!conversationId) return chunk6HJZCIND_cjs.UNBOUND;
1558
- const row = chunkV7GGKT6W_cjs.findConversation(queryClient, conversationId);
1558
+ const row = chunkGVU3KYP3_cjs.findConversation(queryClient, conversationId);
1559
1559
  if (row) return chunk6HJZCIND_cjs.bindingOfRow(row);
1560
1560
  const threads = queryClient.getQueryData(getThreadsQueryKey(conversationId));
1561
1561
  return chunk6HJZCIND_cjs.bindingOfRow(threads ? { external_id: conversationId, ...threads } : null);
@@ -1568,7 +1568,7 @@ function cacheThreadBinding(queryClient, conversationId, binding) {
1568
1568
  bound_document_ext_id: binding.documentId,
1569
1569
  bound_document_unavailable: binding.unavailable
1570
1570
  };
1571
- chunkV7GGKT6W_cjs.patchConversation(queryClient, conversationId, fields);
1571
+ chunkGVU3KYP3_cjs.patchConversation(queryClient, conversationId, fields);
1572
1572
  queryClient.setQueryData(
1573
1573
  getThreadsQueryKey(conversationId),
1574
1574
  (old) => old ? { ...old, ...fields } : old
@@ -1604,7 +1604,7 @@ async function performBindingWrite(arbi, queryClient, conversationId, documentId
1604
1604
  const saved = await arbi.conversations.update(conversationId, {
1605
1605
  bound_document_ext_id: documentId
1606
1606
  });
1607
- chunkV7GGKT6W_cjs.patchConversation(queryClient, conversationId, saved);
1607
+ chunkGVU3KYP3_cjs.patchConversation(queryClient, conversationId, saved);
1608
1608
  cacheThreadBinding(queryClient, conversationId, chunk6HJZCIND_cjs.bindingOfRow(saved));
1609
1609
  } catch (error) {
1610
1610
  cacheThreadBinding(queryClient, conversationId, before);
@@ -3499,7 +3499,7 @@ function useUploadFiles() {
3499
3499
  const arbi = chunkZZBCZRA5_cjs.useArbi();
3500
3500
  const qc = reactQuery.useQueryClient();
3501
3501
  const { resolveWorkspaceKey } = useDocumentsSupport();
3502
- const { data: settings } = chunkV7GGKT6W_cjs.useUserSettings();
3502
+ const { data: settings } = chunkGVU3KYP3_cjs.useUserSettings();
3503
3503
  const { mutateAsync: generateDocTags } = useGenerateDocTags();
3504
3504
  const direct = settings?.use_s3_direct_upload === true;
3505
3505
  return React.useCallback(
@@ -4210,7 +4210,7 @@ function createStreamHandlers(ctx, params) {
4210
4210
  session.moveConversation("new", serverConversationId);
4211
4211
  const userExtId = ctx.userId();
4212
4212
  const nowIso = (/* @__PURE__ */ new Date()).toISOString();
4213
- chunkV7GGKT6W_cjs.patchConversationList(
4213
+ chunkGVU3KYP3_cjs.patchConversationList(
4214
4214
  queryClient,
4215
4215
  streamState.workspaceId ?? session.getState().workspaceId,
4216
4216
  (old) => old.some((c) => c.external_id === serverConversationId) ? old : [
@@ -4332,7 +4332,7 @@ function createStreamHandlers(ctx, params) {
4332
4332
  ensureAssistantMessageLoading(queryClient, conversationId, answerId);
4333
4333
  });
4334
4334
  }
4335
- void chunkV7GGKT6W_cjs.invalidateConversationLists(queryClient);
4335
+ void chunkGVU3KYP3_cjs.invalidateConversationLists(queryClient);
4336
4336
  session.setCursor(streamState.assistantId);
4337
4337
  };
4338
4338
  let firstTokenSeen = false;
@@ -4625,7 +4625,7 @@ function cachedQuotaUsedUp(queryClient, workspaceId) {
4625
4625
  // src/chat/useConversationActions.ts
4626
4626
  var RECONCILE_TIMEOUT_MS = 5e3;
4627
4627
  function draftAfterSend(queryClient, session, wasComment, assistantName) {
4628
- const shared = chunkV7GGKT6W_cjs.isConversationShared(queryClient, session.getState().conversationId);
4628
+ const shared = chunkGVU3KYP3_cjs.isConversationShared(queryClient, session.getState().conversationId);
4629
4629
  return shared && !wasComment ? `@${assistantName} ` : "";
4630
4630
  }
4631
4631
  function failQueuedContinuation(queryClient, session, streamState) {
@@ -4723,7 +4723,7 @@ function useConversationActions({
4723
4723
  const bindTo = session.getState().newChatDocumentId;
4724
4724
  session.moveConversation("new", conversationId);
4725
4725
  if (bindTo) session.setNewChatDocumentId(null);
4726
- chunkV7GGKT6W_cjs.patchConversationList(queryClient, session.getState().workspaceId, (old) => [
4726
+ chunkGVU3KYP3_cjs.patchConversationList(queryClient, session.getState().workspaceId, (old) => [
4727
4727
  {
4728
4728
  external_id: conversationId,
4729
4729
  title: content.slice(0, 40),
@@ -4745,14 +4745,14 @@ function useConversationActions({
4745
4745
  );
4746
4746
  invalidateUserWorkspaces();
4747
4747
  } else {
4748
- chunkV7GGKT6W_cjs.patchConversation(queryClient, conversationId, (c) => ({
4748
+ chunkGVU3KYP3_cjs.patchConversation(queryClient, conversationId, (c) => ({
4749
4749
  ...c,
4750
4750
  message_count: c.message_count + 1,
4751
4751
  updated_at: nowIso
4752
4752
  }));
4753
4753
  }
4754
4754
  if (mentions.some((m) => m.type === "user")) {
4755
- await chunkV7GGKT6W_cjs.invalidateConversationLists(queryClient);
4755
+ await chunkGVU3KYP3_cjs.invalidateConversationLists(queryClient);
4756
4756
  }
4757
4757
  await queryClient.invalidateQueries({ queryKey: getThreadsQueryKey(conversationId) });
4758
4758
  session.setCursor(saved.external_id);
@@ -4836,7 +4836,7 @@ function useConversationActions({
4836
4836
  session.setConversationGenerating(convKey, true, abortController);
4837
4837
  }
4838
4838
  if (!queuedContinuation) {
4839
- chunkV7GGKT6W_cjs.patchConversation(queryClient, convKey, { last_message_status: "in_progress" });
4839
+ chunkGVU3KYP3_cjs.patchConversation(queryClient, convKey, { last_message_status: "in_progress" });
4840
4840
  }
4841
4841
  const streamState = {
4842
4842
  conversationId: convKey,
@@ -4947,7 +4947,7 @@ function useConversationActions({
4947
4947
  void queryClient.invalidateQueries({
4948
4948
  queryKey: getThreadsQueryKey(streamState.conversationId)
4949
4949
  });
4950
- void chunkV7GGKT6W_cjs.invalidateConversationLists(queryClient);
4950
+ void chunkGVU3KYP3_cjs.invalidateConversationLists(queryClient);
4951
4951
  }
4952
4952
  return;
4953
4953
  }
@@ -4975,7 +4975,7 @@ function useConversationActions({
4975
4975
  }
4976
4976
  if (ownsGeneration) {
4977
4977
  const lastStatus = streamState.serverError ? "failed" : "completed";
4978
- chunkV7GGKT6W_cjs.patchConversation(queryClient, streamState.conversationId, {
4978
+ chunkGVU3KYP3_cjs.patchConversation(queryClient, streamState.conversationId, {
4979
4979
  last_message_status: lastStatus
4980
4980
  });
4981
4981
  }
@@ -5008,7 +5008,7 @@ function useConversationActions({
5008
5008
  });
5009
5009
  if (ownsActiveGeneration()) {
5010
5010
  session.setConversationGenerating(streamState.conversationId, false, null);
5011
- chunkV7GGKT6W_cjs.patchConversation(queryClient, streamState.conversationId, {
5011
+ chunkGVU3KYP3_cjs.patchConversation(queryClient, streamState.conversationId, {
5012
5012
  last_message_status: "completed"
5013
5013
  });
5014
5014
  }
@@ -5031,10 +5031,10 @@ function useConversationActions({
5031
5031
  if (ownsActiveGeneration()) {
5032
5032
  session.setConversationGenerating(streamState.conversationId, false, null);
5033
5033
  }
5034
- void chunkV7GGKT6W_cjs.invalidateConversationLists(queryClient);
5034
+ void chunkGVU3KYP3_cjs.invalidateConversationLists(queryClient);
5035
5035
  return;
5036
5036
  }
5037
- chunkV7GGKT6W_cjs.patchConversation(queryClient, streamState.conversationId, {
5037
+ chunkGVU3KYP3_cjs.patchConversation(queryClient, streamState.conversationId, {
5038
5038
  last_message_status: "failed"
5039
5039
  });
5040
5040
  const quota = browser.quotaFromStreamError(error) ?? cachedQuotaUsedUp(queryClient, session.getState().workspaceId);
@@ -5184,7 +5184,7 @@ function useConversationActions({
5184
5184
  if (!replyTo && currentConversationId) {
5185
5185
  try {
5186
5186
  await arbi.conversations.delete(currentConversationId);
5187
- chunkV7GGKT6W_cjs.removeConversationFromLists(queryClient, currentConversationId);
5187
+ chunkGVU3KYP3_cjs.removeConversationFromLists(queryClient, currentConversationId);
5188
5188
  session.startNewConversation();
5189
5189
  } catch (error) {
5190
5190
  console.error("Failed to delete conversation with orphaned first message:", error);
@@ -5965,7 +5965,7 @@ function useConversation(options = {}) {
5965
5965
  void (async () => {
5966
5966
  try {
5967
5967
  await arbi.conversations.delete(id);
5968
- chunkV7GGKT6W_cjs.removeConversationFromLists(queryClient, id);
5968
+ chunkGVU3KYP3_cjs.removeConversationFromLists(queryClient, id);
5969
5969
  if (session.getState().conversationId === id) session.startNewConversation();
5970
5970
  } catch (e) {
5971
5971
  setHistoryError(messageOf(e, "The conversation could not be deleted."));
@@ -6085,11 +6085,11 @@ async function applyConversationEvent(queryClient, event) {
6085
6085
  if (e.type === "response_complete") return applyRunEnded(queryClient, e);
6086
6086
  if (e.type === "conversation.message_posted") return applyMessagePosted(queryClient, e);
6087
6087
  if (e.type === "conversation.title_updated" && e.conversation_ext_id) {
6088
- chunkV7GGKT6W_cjs.patchConversation(queryClient, e.conversation_ext_id, { title: e.title ?? null });
6088
+ chunkGVU3KYP3_cjs.patchConversation(queryClient, e.conversation_ext_id, { title: e.title ?? null });
6089
6089
  }
6090
6090
  if (e.type === "conversation.document_binding_changed" && e.conversation_ext_id) {
6091
6091
  void queryClient.invalidateQueries({ queryKey: getThreadsQueryKey(e.conversation_ext_id) });
6092
- void chunkV7GGKT6W_cjs.invalidateConversationLists(queryClient);
6092
+ void chunkGVU3KYP3_cjs.invalidateConversationLists(queryClient);
6093
6093
  }
6094
6094
  }
6095
6095
  function applyRunEnded(queryClient, e) {
@@ -6106,10 +6106,10 @@ function applyRunEnded(queryClient, e) {
6106
6106
  );
6107
6107
  }
6108
6108
  if (failed && e.response_id) markMessageAsFailed(queryClient, conversationId, e.response_id);
6109
- chunkV7GGKT6W_cjs.patchConversation(queryClient, conversationId, {
6109
+ chunkGVU3KYP3_cjs.patchConversation(queryClient, conversationId, {
6110
6110
  last_message_status: failed ? "failed" : "completed"
6111
6111
  });
6112
- void chunkV7GGKT6W_cjs.invalidateConversationLists(queryClient);
6112
+ void chunkGVU3KYP3_cjs.invalidateConversationLists(queryClient);
6113
6113
  void queryClient.invalidateQueries({ queryKey: getThreadsQueryKey(conversationId) });
6114
6114
  if (!failed) void queryClient.invalidateQueries({ queryKey: chunkZZBCZRA5_cjs.arbiQueryKeys.userUsageToday() });
6115
6115
  }
@@ -6117,7 +6117,7 @@ async function applyMessagePosted(queryClient, e) {
6117
6117
  if (!e.conversation_ext_id) return;
6118
6118
  const queryKey = getThreadsQueryKey(e.conversation_ext_id);
6119
6119
  const refreshed = queryClient.invalidateQueries({ queryKey });
6120
- void chunkV7GGKT6W_cjs.invalidateConversationLists(queryClient);
6120
+ void chunkGVU3KYP3_cjs.invalidateConversationLists(queryClient);
6121
6121
  await refreshed;
6122
6122
  const cached = queryClient.getQueryData(
6123
6123
  queryKey
@@ -6227,7 +6227,7 @@ function useActiveConfigId() {
6227
6227
  const chatModel = chunk2MGJXBBJ_cjs.useArbiSessionState((s) => s.chatModel);
6228
6228
  const cursor = chunk2MGJXBBJ_cjs.useArbiSessionState((s) => s.cursor);
6229
6229
  const { messageHistory } = useConversationData();
6230
- const { data: userSettings } = chunkV7GGKT6W_cjs.useUserSettings();
6230
+ const { data: userSettings } = chunkGVU3KYP3_cjs.useUserSettings();
6231
6231
  return React.useMemo(() => {
6232
6232
  if (chatModel) return chatModel;
6233
6233
  const parent = cursor ? messageHistory?.find((m) => m.external_id === cursor) : void 0;
@@ -6435,7 +6435,7 @@ function useConversationSettings() {
6435
6435
  const currentUser = chunk2MGJXBBJ_cjs.useArbiSession().user;
6436
6436
  const { messageHistory } = useConversationData();
6437
6437
  const { conversations } = useConversationItems();
6438
- const { data: userSettings } = chunkV7GGKT6W_cjs.useUserSettings();
6438
+ const { data: userSettings } = chunkGVU3KYP3_cjs.useUserSettings();
6439
6439
  const parentMessage = messageHistory?.find((m) => m.external_id === parentMessageId);
6440
6440
  const configToLoad = chatModel || parentMessage?.config_ext_id || userSettings?.last_config || "default";
6441
6441
  const { data: activeConfig } = chunk2MGJXBBJ_cjs.useConfig(configToLoad);
@@ -7187,53 +7187,53 @@ async function nativeThreadKeys(secret, message) {
7187
7187
 
7188
7188
  // src/mail/offline/mailbox.ts
7189
7189
  var keyOf = {
7190
- accounts: () => chunkV7GGKT6W_cjs.blind("accounts"),
7191
- policy: () => chunkV7GGKT6W_cjs.blind("policy"),
7192
- folders: (accountId) => chunkV7GGKT6W_cjs.blind("folders", accountId),
7193
- header: (accountId, folderId, messageId) => chunkV7GGKT6W_cjs.blind("header", accountId, folderId, messageId),
7194
- body: (accountId, messageId) => chunkV7GGKT6W_cjs.blind("body", accountId, messageId),
7195
- attachment: (accountId, messageId, attachmentId) => chunkV7GGKT6W_cjs.blind("attachment", accountId, messageId, attachmentId)
7190
+ accounts: () => chunkGVU3KYP3_cjs.blind("accounts"),
7191
+ policy: () => chunkGVU3KYP3_cjs.blind("policy"),
7192
+ folders: (accountId) => chunkGVU3KYP3_cjs.blind("folders", accountId),
7193
+ header: (accountId, folderId, messageId) => chunkGVU3KYP3_cjs.blind("header", accountId, folderId, messageId),
7194
+ body: (accountId, messageId) => chunkGVU3KYP3_cjs.blind("body", accountId, messageId),
7195
+ attachment: (accountId, messageId, attachmentId) => chunkGVU3KYP3_cjs.blind("attachment", accountId, messageId, attachmentId)
7196
7196
  };
7197
7197
  var bucketOf = {
7198
- global: () => chunkV7GGKT6W_cjs.blind("bucket", "global"),
7199
- folder: (accountId, folderId) => chunkV7GGKT6W_cjs.blind("bucket", "folder", accountId, folderId),
7200
- account: (accountId) => chunkV7GGKT6W_cjs.blind("bucket", "account", accountId)
7198
+ global: () => chunkGVU3KYP3_cjs.blind("bucket", "global"),
7199
+ folder: (accountId, folderId) => chunkGVU3KYP3_cjs.blind("bucket", "folder", accountId, folderId),
7200
+ account: (accountId) => chunkGVU3KYP3_cjs.blind("bucket", "account", accountId)
7201
7201
  };
7202
7202
  async function put(kind, key, bucket3, data, sortAt = Date.now()) {
7203
7203
  const now = Date.now();
7204
- await chunkV7GGKT6W_cjs.putRecord({ key, kind, bucket: bucket3, sortAt, size: data.byteLength, lastAccess: now, data });
7204
+ await chunkGVU3KYP3_cjs.putRecord({ key, kind, bucket: bucket3, sortAt, size: data.byteLength, lastAccess: now, data });
7205
7205
  }
7206
7206
  async function readJson(record) {
7207
7207
  if (!record) return void 0;
7208
7208
  try {
7209
- return await chunkV7GGKT6W_cjs.openJson(record.data);
7209
+ return await chunkGVU3KYP3_cjs.openJson(record.data);
7210
7210
  } catch {
7211
7211
  return void 0;
7212
7212
  }
7213
7213
  }
7214
7214
  var receivedAt = (m) => m.received_at ? Date.parse(m.received_at) || 0 : 0;
7215
7215
  async function saveAccounts(accounts) {
7216
- await put("accounts", await keyOf.accounts(), await bucketOf.global(), await chunkV7GGKT6W_cjs.sealJson(accounts));
7216
+ await put("accounts", await keyOf.accounts(), await bucketOf.global(), await chunkGVU3KYP3_cjs.sealJson(accounts));
7217
7217
  }
7218
7218
  async function loadAccounts() {
7219
- return readJson(await chunkV7GGKT6W_cjs.getRecord(await keyOf.accounts()));
7219
+ return readJson(await chunkGVU3KYP3_cjs.getRecord(await keyOf.accounts()));
7220
7220
  }
7221
7221
  async function savePolicy(policy) {
7222
- await put("policy", await keyOf.policy(), await bucketOf.global(), await chunkV7GGKT6W_cjs.sealJson(policy));
7222
+ await put("policy", await keyOf.policy(), await bucketOf.global(), await chunkGVU3KYP3_cjs.sealJson(policy));
7223
7223
  }
7224
7224
  async function loadPolicy() {
7225
- return readJson(await chunkV7GGKT6W_cjs.getRecord(await keyOf.policy()));
7225
+ return readJson(await chunkGVU3KYP3_cjs.getRecord(await keyOf.policy()));
7226
7226
  }
7227
7227
  async function saveFolders(accountId, folders) {
7228
7228
  await put(
7229
7229
  "folders",
7230
7230
  await keyOf.folders(accountId),
7231
7231
  await bucketOf.account(accountId),
7232
- await chunkV7GGKT6W_cjs.sealJson(folders)
7232
+ await chunkGVU3KYP3_cjs.sealJson(folders)
7233
7233
  );
7234
7234
  }
7235
7235
  async function loadFolders(accountId) {
7236
- return readJson(await chunkV7GGKT6W_cjs.getRecord(await keyOf.folders(accountId)));
7236
+ return readJson(await chunkGVU3KYP3_cjs.getRecord(await keyOf.folders(accountId)));
7237
7237
  }
7238
7238
  function toHeader(message) {
7239
7239
  return {
@@ -7249,12 +7249,12 @@ async function saveHeader(accountId, folderId, message) {
7249
7249
  "header",
7250
7250
  await keyOf.header(accountId, folderId, message.id),
7251
7251
  await bucketOf.folder(accountId, folderId),
7252
- await chunkV7GGKT6W_cjs.sealJson(toHeader(message)),
7252
+ await chunkGVU3KYP3_cjs.sealJson(toHeader(message)),
7253
7253
  receivedAt(message)
7254
7254
  );
7255
7255
  }
7256
7256
  async function loadHeaders(accountId, folderId) {
7257
- const records = await chunkV7GGKT6W_cjs.recordsInBucket(await bucketOf.folder(accountId, folderId));
7257
+ const records = await chunkGVU3KYP3_cjs.recordsInBucket(await bucketOf.folder(accountId, folderId));
7258
7258
  const out = [];
7259
7259
  for (const record of records) {
7260
7260
  if (record.kind !== "header") continue;
@@ -7264,7 +7264,7 @@ async function loadHeaders(accountId, folderId) {
7264
7264
  return out.sort((a, b) => b.sortAt - a.sortAt);
7265
7265
  }
7266
7266
  async function hasFolder(accountId) {
7267
- return chunkV7GGKT6W_cjs.hasRecord(await keyOf.folders(accountId));
7267
+ return chunkGVU3KYP3_cjs.hasRecord(await keyOf.folders(accountId));
7268
7268
  }
7269
7269
  async function saveBody(accountId, message) {
7270
7270
  const stripped = {
@@ -7275,42 +7275,42 @@ async function saveBody(accountId, message) {
7275
7275
  "body",
7276
7276
  await keyOf.body(accountId, message.id),
7277
7277
  await bucketOf.account(accountId),
7278
- await chunkV7GGKT6W_cjs.sealJson(stripped),
7278
+ await chunkGVU3KYP3_cjs.sealJson(stripped),
7279
7279
  receivedAt(message)
7280
7280
  );
7281
7281
  }
7282
7282
  async function hasBody(accountId, messageId) {
7283
- return chunkV7GGKT6W_cjs.hasRecord(await keyOf.body(accountId, messageId));
7283
+ return chunkGVU3KYP3_cjs.hasRecord(await keyOf.body(accountId, messageId));
7284
7284
  }
7285
7285
  async function loadBody(accountId, messageId) {
7286
- return readJson(await chunkV7GGKT6W_cjs.getRecord(await keyOf.body(accountId, messageId)));
7286
+ return readJson(await chunkGVU3KYP3_cjs.getRecord(await keyOf.body(accountId, messageId)));
7287
7287
  }
7288
7288
  async function saveAttachment(accountId, messageId, attachmentId, bytes, sortAt) {
7289
7289
  await put(
7290
7290
  "attachment",
7291
7291
  await keyOf.attachment(accountId, messageId, attachmentId),
7292
7292
  await bucketOf.account(accountId),
7293
- await chunkV7GGKT6W_cjs.sealBytes(bytes),
7293
+ await chunkGVU3KYP3_cjs.sealBytes(bytes),
7294
7294
  sortAt || void 0
7295
7295
  );
7296
7296
  }
7297
7297
  async function hasAttachment(accountId, messageId, attachmentId) {
7298
- return chunkV7GGKT6W_cjs.hasRecord(await keyOf.attachment(accountId, messageId, attachmentId));
7298
+ return chunkGVU3KYP3_cjs.hasRecord(await keyOf.attachment(accountId, messageId, attachmentId));
7299
7299
  }
7300
7300
  async function loadAttachment(accountId, messageId, attachmentId) {
7301
7301
  const key = await keyOf.attachment(accountId, messageId, attachmentId);
7302
- const record = await chunkV7GGKT6W_cjs.getRecord(key);
7302
+ const record = await chunkGVU3KYP3_cjs.getRecord(key);
7303
7303
  if (!record) return void 0;
7304
7304
  try {
7305
- const bytes = await chunkV7GGKT6W_cjs.openBytes(record.data);
7306
- void chunkV7GGKT6W_cjs.touchRecord(key);
7305
+ const bytes = await chunkGVU3KYP3_cjs.openBytes(record.data);
7306
+ void chunkGVU3KYP3_cjs.touchRecord(key);
7307
7307
  return bytes;
7308
7308
  } catch {
7309
7309
  return void 0;
7310
7310
  }
7311
7311
  }
7312
7312
  async function removeKeys(keys) {
7313
- await chunkV7GGKT6W_cjs.deleteRecords(keys);
7313
+ await chunkGVU3KYP3_cjs.deleteRecords(keys);
7314
7314
  }
7315
7315
  function bodyText(body) {
7316
7316
  const html = body.text ? "" : (body.html ?? "").replace(/<[^>]*>/g, " ");
@@ -7355,27 +7355,27 @@ function isBrowserOffline() {
7355
7355
  // src/mail/offline/changes.ts
7356
7356
  var isFiling = (change) => change.kind === "file";
7357
7357
  var MAX_ATTEMPTS = 5;
7358
- var bucket = () => chunkV7GGKT6W_cjs.blind("bucket", "changes");
7359
- var keyFor = (id) => chunkV7GGKT6W_cjs.blind("change", id);
7358
+ var bucket = () => chunkGVU3KYP3_cjs.blind("bucket", "changes");
7359
+ var keyFor = (id) => chunkGVU3KYP3_cjs.blind("change", id);
7360
7360
  async function write(item) {
7361
- await chunkV7GGKT6W_cjs.putRecord({
7361
+ await chunkGVU3KYP3_cjs.putRecord({
7362
7362
  key: await keyFor(item.id),
7363
7363
  kind: "change",
7364
7364
  bucket: await bucket(),
7365
7365
  sortAt: item.seq,
7366
7366
  size: 0,
7367
7367
  lastAccess: Date.now(),
7368
- data: await chunkV7GGKT6W_cjs.sealJson(item)
7368
+ data: await chunkGVU3KYP3_cjs.sealJson(item)
7369
7369
  });
7370
7370
  }
7371
7371
  async function drop(item) {
7372
- await chunkV7GGKT6W_cjs.deleteRecords([await keyFor(item.id)]);
7372
+ await chunkGVU3KYP3_cjs.deleteRecords([await keyFor(item.id)]);
7373
7373
  }
7374
7374
  async function readHeader(accountId, folderId, messageId) {
7375
- const record = await chunkV7GGKT6W_cjs.getRecord(await keyOf.header(accountId, folderId, messageId));
7375
+ const record = await chunkGVU3KYP3_cjs.getRecord(await keyOf.header(accountId, folderId, messageId));
7376
7376
  if (!record) return void 0;
7377
7377
  try {
7378
- return await chunkV7GGKT6W_cjs.openJson(record.data);
7378
+ return await chunkGVU3KYP3_cjs.openJson(record.data);
7379
7379
  } catch {
7380
7380
  return void 0;
7381
7381
  }
@@ -7457,9 +7457,9 @@ function combine(pending, next) {
7457
7457
  }
7458
7458
  async function listMailChanges() {
7459
7459
  const items = [];
7460
- for (const record of await chunkV7GGKT6W_cjs.recordsInBucket(await bucket())) {
7460
+ for (const record of await chunkGVU3KYP3_cjs.recordsInBucket(await bucket())) {
7461
7461
  try {
7462
- items.push(await chunkV7GGKT6W_cjs.openJson(record.data));
7462
+ items.push(await chunkGVU3KYP3_cjs.openJson(record.data));
7463
7463
  } catch {
7464
7464
  }
7465
7465
  }
@@ -7514,14 +7514,14 @@ function serially(fn) {
7514
7514
  }
7515
7515
  async function queueMailChange(input) {
7516
7516
  await serially(() => queue(input));
7517
- chunkV7GGKT6W_cjs.notifyOfflineMailChange("changes");
7518
- chunkV7GGKT6W_cjs.notifyOfflineMailChange("mailbox");
7517
+ chunkGVU3KYP3_cjs.notifyOfflineMailChange("changes");
7518
+ chunkGVU3KYP3_cjs.notifyOfflineMailChange("mailbox");
7519
7519
  }
7520
7520
  async function readChange(id) {
7521
- const record = await chunkV7GGKT6W_cjs.getRecord(await keyFor(id));
7521
+ const record = await chunkGVU3KYP3_cjs.getRecord(await keyFor(id));
7522
7522
  if (!record) return void 0;
7523
7523
  try {
7524
- return await chunkV7GGKT6W_cjs.openJson(record.data);
7524
+ return await chunkGVU3KYP3_cjs.openJson(record.data);
7525
7525
  } catch {
7526
7526
  return void 0;
7527
7527
  }
@@ -7594,7 +7594,7 @@ async function applyMailChangesOnce(sender, isOnline) {
7594
7594
  result.interrupted = true;
7595
7595
  }
7596
7596
  }
7597
- if (result.applied + result.gone + result.refused.length > 0) chunkV7GGKT6W_cjs.notifyOfflineMailChange("changes");
7597
+ if (result.applied + result.gone + result.refused.length > 0) chunkGVU3KYP3_cjs.notifyOfflineMailChange("changes");
7598
7598
  return result;
7599
7599
  }
7600
7600
  var NO_PRIMER = () => void 0;
@@ -7710,26 +7710,26 @@ function useConnectedMailFiling(account, messages) {
7710
7710
  }
7711
7711
 
7712
7712
  // src/mail/offline/drafts.ts
7713
- var keyFor2 = (id) => chunkV7GGKT6W_cjs.blind("draft", id);
7713
+ var keyFor2 = (id) => chunkGVU3KYP3_cjs.blind("draft", id);
7714
7714
  async function saveLocalDraft(accountId, compose, id = crypto.randomUUID()) {
7715
7715
  const draft = { id, accountId, compose, updatedAt: Date.now() };
7716
- await chunkV7GGKT6W_cjs.putRecord({
7716
+ await chunkGVU3KYP3_cjs.putRecord({
7717
7717
  key: await keyFor2(id),
7718
7718
  kind: "draft",
7719
- bucket: await chunkV7GGKT6W_cjs.blind("bucket", "drafts", accountId),
7719
+ bucket: await chunkGVU3KYP3_cjs.blind("bucket", "drafts", accountId),
7720
7720
  sortAt: draft.updatedAt,
7721
7721
  size: 0,
7722
7722
  lastAccess: draft.updatedAt,
7723
- data: await chunkV7GGKT6W_cjs.sealJson(draft)
7723
+ data: await chunkGVU3KYP3_cjs.sealJson(draft)
7724
7724
  });
7725
- chunkV7GGKT6W_cjs.notifyOfflineMailChange("drafts");
7725
+ chunkGVU3KYP3_cjs.notifyOfflineMailChange("drafts");
7726
7726
  return draft;
7727
7727
  }
7728
7728
  async function listLocalDrafts(accountId) {
7729
7729
  const drafts = [];
7730
- for (const record of await chunkV7GGKT6W_cjs.recordsOfKind("draft")) {
7730
+ for (const record of await chunkGVU3KYP3_cjs.recordsOfKind("draft")) {
7731
7731
  try {
7732
- const draft = await chunkV7GGKT6W_cjs.openJson(record.data);
7732
+ const draft = await chunkGVU3KYP3_cjs.openJson(record.data);
7733
7733
  if (!accountId || draft.accountId === accountId) drafts.push(draft);
7734
7734
  } catch {
7735
7735
  }
@@ -7737,8 +7737,8 @@ async function listLocalDrafts(accountId) {
7737
7737
  return drafts.sort((a, b) => b.updatedAt - a.updatedAt);
7738
7738
  }
7739
7739
  async function deleteLocalDraft(id) {
7740
- await chunkV7GGKT6W_cjs.deleteRecords([await keyFor2(id)]);
7741
- chunkV7GGKT6W_cjs.notifyOfflineMailChange("drafts");
7740
+ await chunkGVU3KYP3_cjs.deleteRecords([await keyFor2(id)]);
7741
+ chunkGVU3KYP3_cjs.notifyOfflineMailChange("drafts");
7742
7742
  }
7743
7743
  async function syncLocalDrafts(save) {
7744
7744
  let uploaded = 0;
@@ -7751,27 +7751,27 @@ async function syncLocalDrafts(save) {
7751
7751
  } catch (error) {
7752
7752
  const status = error.status;
7753
7753
  if (isNetworkFailure(error) || status === void 0 || status === 401 || status >= 500) break;
7754
- await chunkV7GGKT6W_cjs.putRecord({
7754
+ await chunkGVU3KYP3_cjs.putRecord({
7755
7755
  key: await keyFor2(draft.id),
7756
7756
  kind: "draft",
7757
- bucket: await chunkV7GGKT6W_cjs.blind("bucket", "drafts", draft.accountId),
7757
+ bucket: await chunkGVU3KYP3_cjs.blind("bucket", "drafts", draft.accountId),
7758
7758
  sortAt: draft.updatedAt,
7759
7759
  size: 0,
7760
7760
  lastAccess: Date.now(),
7761
- data: await chunkV7GGKT6W_cjs.sealJson({
7761
+ data: await chunkGVU3KYP3_cjs.sealJson({
7762
7762
  ...draft,
7763
7763
  error: error instanceof Error ? error.message : "The server refused this draft"
7764
7764
  })
7765
7765
  });
7766
- chunkV7GGKT6W_cjs.notifyOfflineMailChange("drafts");
7766
+ chunkGVU3KYP3_cjs.notifyOfflineMailChange("drafts");
7767
7767
  }
7768
7768
  }
7769
7769
  return uploaded;
7770
7770
  }
7771
7771
 
7772
7772
  // src/mail/offline/outbox.ts
7773
- var bucket2 = () => chunkV7GGKT6W_cjs.blind("bucket", "outbox");
7774
- var keyFor3 = (id) => chunkV7GGKT6W_cjs.blind("outbox", id);
7773
+ var bucket2 = () => chunkGVU3KYP3_cjs.blind("bucket", "outbox");
7774
+ var keyFor3 = (id) => chunkGVU3KYP3_cjs.blind("outbox", id);
7775
7775
  function outboxProblem(compose) {
7776
7776
  const missing = compose.attachments.find((a) => a.content_base64 == null);
7777
7777
  if (missing)
@@ -7780,22 +7780,22 @@ function outboxProblem(compose) {
7780
7780
  }
7781
7781
  var seqCounter = 0;
7782
7782
  async function write2(item) {
7783
- await chunkV7GGKT6W_cjs.putRecord({
7783
+ await chunkGVU3KYP3_cjs.putRecord({
7784
7784
  key: await keyFor3(item.id),
7785
7785
  kind: "outbox",
7786
7786
  bucket: await bucket2(),
7787
7787
  sortAt: item.seq,
7788
7788
  size: 0,
7789
7789
  lastAccess: Date.now(),
7790
- data: await chunkV7GGKT6W_cjs.sealJson(item)
7790
+ data: await chunkGVU3KYP3_cjs.sealJson(item)
7791
7791
  });
7792
7792
  }
7793
7793
  async function listOutbox() {
7794
- const records = await chunkV7GGKT6W_cjs.recordsInBucket(await bucket2());
7794
+ const records = await chunkGVU3KYP3_cjs.recordsInBucket(await bucket2());
7795
7795
  const items = [];
7796
7796
  for (const record of records) {
7797
7797
  try {
7798
- items.push(await chunkV7GGKT6W_cjs.openJson(record.data));
7798
+ items.push(await chunkGVU3KYP3_cjs.openJson(record.data));
7799
7799
  } catch {
7800
7800
  }
7801
7801
  }
@@ -7819,18 +7819,18 @@ async function enqueueOutbox(input) {
7819
7819
  seq: seqCounter
7820
7820
  };
7821
7821
  await write2(item);
7822
- chunkV7GGKT6W_cjs.notifyOfflineMailChange("outbox");
7822
+ chunkGVU3KYP3_cjs.notifyOfflineMailChange("outbox");
7823
7823
  return item;
7824
7824
  }
7825
7825
  async function update(item, patch) {
7826
7826
  const next = { ...item, ...patch };
7827
7827
  await write2(next);
7828
- chunkV7GGKT6W_cjs.notifyOfflineMailChange("outbox");
7828
+ chunkGVU3KYP3_cjs.notifyOfflineMailChange("outbox");
7829
7829
  return next;
7830
7830
  }
7831
7831
  async function deleteOutboxItem(id) {
7832
- await chunkV7GGKT6W_cjs.deleteRecords([await keyFor3(id)]);
7833
- chunkV7GGKT6W_cjs.notifyOfflineMailChange("outbox");
7832
+ await chunkGVU3KYP3_cjs.deleteRecords([await keyFor3(id)]);
7833
+ chunkGVU3KYP3_cjs.notifyOfflineMailChange("outbox");
7834
7834
  }
7835
7835
  async function retryOutboxItem(id) {
7836
7836
  const item = (await listOutbox()).find((i) => i.id === id);
@@ -7921,14 +7921,14 @@ async function purgeSentOutbox(olderThanMs = 0) {
7921
7921
  const cutoff = Date.now() - olderThanMs;
7922
7922
  const done = (await listOutbox()).filter((i) => i.status === "sent" && (i.sentAt ?? 0) <= cutoff);
7923
7923
  if (done.length === 0) return;
7924
- await chunkV7GGKT6W_cjs.deleteRecords(await Promise.all(done.map((i) => keyFor3(i.id))));
7925
- chunkV7GGKT6W_cjs.notifyOfflineMailChange("outbox");
7924
+ await chunkGVU3KYP3_cjs.deleteRecords(await Promise.all(done.map((i) => keyFor3(i.id))));
7925
+ chunkGVU3KYP3_cjs.notifyOfflineMailChange("outbox");
7926
7926
  }
7927
7927
  var STATUS_KEY = "status";
7928
7928
  var FULL_SYNC_EVERY_MS = 60 * 60 * 1e3;
7929
7929
  var MAX_PAGES = 200;
7930
7930
  async function getOfflineMailStatus() {
7931
- return await chunkV7GGKT6W_cjs.getMeta(STATUS_KEY) ?? { messages: 0, bytes: 0, skipped: [] };
7931
+ return await chunkGVU3KYP3_cjs.getMeta(STATUS_KEY) ?? { messages: 0, bytes: 0, skipped: [] };
7932
7932
  }
7933
7933
  var MB = 1024 * 1024;
7934
7934
  var time = (m) => m.received_at ? Date.parse(m.received_at) || 0 : 0;
@@ -8019,23 +8019,23 @@ async function collectGarbage(accounts) {
8019
8019
  expected.add(await keyOf.attachment(account.id, message.id, attachment.id));
8020
8020
  }
8021
8021
  }
8022
- const orphans = (await chunkV7GGKT6W_cjs.recordsInBucket(await bucketOf.account(account.id))).filter((r) => (r.kind === "body" || r.kind === "attachment") && !expected.has(r.key)).map((r) => r.key);
8022
+ const orphans = (await chunkGVU3KYP3_cjs.recordsInBucket(await bucketOf.account(account.id))).filter((r) => (r.kind === "body" || r.kind === "attachment") && !expected.has(r.key)).map((r) => r.key);
8023
8023
  await removeKeys(orphans);
8024
8024
  }
8025
8025
  }
8026
8026
  async function forgetAccount(accountId) {
8027
8027
  for (const folder of await loadFolders(accountId) ?? []) {
8028
- const records2 = await chunkV7GGKT6W_cjs.recordsInBucket(await bucketOf.folder(accountId, folder.id));
8028
+ const records2 = await chunkGVU3KYP3_cjs.recordsInBucket(await bucketOf.folder(accountId, folder.id));
8029
8029
  await removeKeys(records2.map((r) => r.key));
8030
8030
  }
8031
- const records = await chunkV7GGKT6W_cjs.recordsInBucket(await bucketOf.account(accountId));
8031
+ const records = await chunkGVU3KYP3_cjs.recordsInBucket(await bucketOf.account(accountId));
8032
8032
  await removeKeys(records.filter((r) => r.kind !== "draft").map((r) => r.key));
8033
8033
  }
8034
8034
  async function enforceQuota(quotaBytes) {
8035
- let used = (await chunkV7GGKT6W_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0);
8035
+ let used = (await chunkGVU3KYP3_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0);
8036
8036
  if (used <= quotaBytes) return used;
8037
8037
  for (const kind of ["attachment", "body"]) {
8038
- const records = (await chunkV7GGKT6W_cjs.recordsOfKind(kind)).sort(
8038
+ const records = (await chunkGVU3KYP3_cjs.recordsOfKind(kind)).sort(
8039
8039
  (a, b) => kind === "attachment" ? a.lastAccess - b.lastAccess : a.sortAt - b.sortAt
8040
8040
  );
8041
8041
  const evict = [];
@@ -8051,34 +8051,34 @@ async function enforceQuota(quotaBytes) {
8051
8051
  }
8052
8052
  var CONTENT_KINDS = ["header", "body", "attachment"];
8053
8053
  async function trimOfflineMailbox(settings, now = Date.now()) {
8054
- const windowStart = chunkV7GGKT6W_cjs.offlineWindowStart(settings, now);
8054
+ const windowStart = chunkGVU3KYP3_cjs.offlineWindowStart(settings, now);
8055
8055
  const kinds = settings.enabled ? CONTENT_KINDS : [...CONTENT_KINDS, "folders"];
8056
8056
  for (const kind of kinds) {
8057
- const records = await chunkV7GGKT6W_cjs.recordsOfKind(kind);
8057
+ const records = await chunkGVU3KYP3_cjs.recordsOfKind(kind);
8058
8058
  const old = settings.enabled ? records.filter((r) => r.sortAt > 0 && r.sortAt < windowStart) : records;
8059
8059
  await removeKeys(old.map((r) => r.key));
8060
8060
  }
8061
8061
  const previous = await getOfflineMailStatus();
8062
8062
  const status = {
8063
8063
  ...previous,
8064
- messages: (await chunkV7GGKT6W_cjs.recordsOfKind("header")).length,
8065
- bytes: (await chunkV7GGKT6W_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0),
8064
+ messages: (await chunkGVU3KYP3_cjs.recordsOfKind("header")).length,
8065
+ bytes: (await chunkGVU3KYP3_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0),
8066
8066
  // A shorter window no longer covers what the last full pass fetched: growing it again (even
8067
8067
  // before the next hourly full pass) makes the next pass a full one.
8068
- windowDays: settings.enabled && previous.windowDays !== void 0 ? Math.min(previous.windowDays, chunkV7GGKT6W_cjs.SCOPE_DAYS[settings.scope]) : void 0,
8068
+ windowDays: settings.enabled && previous.windowDays !== void 0 ? Math.min(previous.windowDays, chunkGVU3KYP3_cjs.SCOPE_DAYS[settings.scope]) : void 0,
8069
8069
  // Off: nothing is saved, so turning it back on starts with a full pass.
8070
8070
  ...!settings.enabled && { lastSyncedAt: void 0, lastFullSyncAt: void 0 }
8071
8071
  };
8072
- await chunkV7GGKT6W_cjs.setMeta(STATUS_KEY, status);
8073
- chunkV7GGKT6W_cjs.notifyOfflineMailChange("status");
8072
+ await chunkGVU3KYP3_cjs.setMeta(STATUS_KEY, status);
8073
+ chunkGVU3KYP3_cjs.notifyOfflineMailChange("status");
8074
8074
  return status;
8075
8075
  }
8076
8076
  async function syncMailbox(transport, settings, options = {}) {
8077
8077
  const now = options.now ?? Date.now();
8078
8078
  const previous = await getOfflineMailStatus();
8079
- const days = chunkV7GGKT6W_cjs.SCOPE_DAYS[settings.scope];
8079
+ const days = chunkGVU3KYP3_cjs.SCOPE_DAYS[settings.scope];
8080
8080
  const full = options.full || !previous.lastFullSyncAt || now - previous.lastFullSyncAt > FULL_SYNC_EVERY_MS || (previous.windowDays ?? 0) < days;
8081
- const windowStart = chunkV7GGKT6W_cjs.offlineWindowStart(settings, now);
8081
+ const windowStart = chunkGVU3KYP3_cjs.offlineWindowStart(settings, now);
8082
8082
  const quota = settings.quotaMb * MB;
8083
8083
  const skipped = [];
8084
8084
  let error;
@@ -8090,7 +8090,7 @@ async function syncMailbox(transport, settings, options = {}) {
8090
8090
  for (const gone of before.filter((b) => !accounts.some((a) => a.id === b.id)))
8091
8091
  await forgetAccount(gone.id);
8092
8092
  const budget = new Budget(
8093
- (await chunkV7GGKT6W_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0),
8093
+ (await chunkGVU3KYP3_cjs.allRecordSizes()).reduce((n, r) => n + r.size, 0),
8094
8094
  quota
8095
8095
  );
8096
8096
  for (const account of accounts) {
@@ -8104,12 +8104,12 @@ async function syncMailbox(transport, settings, options = {}) {
8104
8104
  const oldFolders = await loadFolders(account.id) ?? [];
8105
8105
  await saveFolders(account.id, folders);
8106
8106
  for (const gone of oldFolders.filter((o) => !folders.some((f) => f.id === o.id))) {
8107
- const records = await chunkV7GGKT6W_cjs.recordsInBucket(await bucketOf.folder(account.id, gone.id));
8107
+ const records = await chunkGVU3KYP3_cjs.recordsInBucket(await bucketOf.folder(account.id, gone.id));
8108
8108
  await removeKeys(records.map((r) => r.key));
8109
8109
  }
8110
8110
  for (const folder of folders.filter((f) => !isVirtualFolder(f)))
8111
8111
  await syncFolder(transport, account, folder, settings, windowStart, full, budget);
8112
- chunkV7GGKT6W_cjs.notifyOfflineMailChange("mailbox");
8112
+ chunkGVU3KYP3_cjs.notifyOfflineMailChange("mailbox");
8113
8113
  } catch (accountError) {
8114
8114
  if (accountError.status === void 0) throw accountError;
8115
8115
  client.logger.warn("[offline-mail] account sync failed", accountError);
@@ -8127,19 +8127,19 @@ async function syncMailbox(transport, settings, options = {}) {
8127
8127
  const trimmed = await trimOfflineMailbox(current, now);
8128
8128
  if (!current.enabled) return trimmed;
8129
8129
  const bytes = await enforceQuota(current.quotaMb * MB);
8130
- const messages = (await chunkV7GGKT6W_cjs.recordsOfKind("header")).length;
8130
+ const messages = (await chunkGVU3KYP3_cjs.recordsOfKind("header")).length;
8131
8131
  const fullDone = !error && full;
8132
8132
  const status = {
8133
8133
  lastSyncedAt: error ? previous.lastSyncedAt : now,
8134
8134
  lastFullSyncAt: fullDone ? now : previous.lastFullSyncAt,
8135
- windowDays: fullDone ? Math.min(days, chunkV7GGKT6W_cjs.SCOPE_DAYS[current.scope]) : trimmed.windowDays,
8135
+ windowDays: fullDone ? Math.min(days, chunkGVU3KYP3_cjs.SCOPE_DAYS[current.scope]) : trimmed.windowDays,
8136
8136
  messages,
8137
8137
  bytes,
8138
8138
  error,
8139
8139
  skipped
8140
8140
  };
8141
- await chunkV7GGKT6W_cjs.setMeta(STATUS_KEY, status);
8142
- chunkV7GGKT6W_cjs.notifyOfflineMailChange("status");
8141
+ await chunkGVU3KYP3_cjs.setMeta(STATUS_KEY, status);
8142
+ chunkGVU3KYP3_cjs.notifyOfflineMailChange("status");
8143
8143
  return status;
8144
8144
  }
8145
8145
 
@@ -8338,20 +8338,20 @@ function isMailSyncRunning() {
8338
8338
  return syncing;
8339
8339
  }
8340
8340
  async function syncOfflineMailbox({ arbi }, options = {}) {
8341
- const latest = () => chunkV7GGKT6W_cjs.getOfflineMailSettings(sessionUser(arbi));
8341
+ const latest = () => chunkGVU3KYP3_cjs.getOfflineMailSettings(sessionUser(arbi));
8342
8342
  const settings = latest();
8343
8343
  if (!settings.enabled || !canReachMail(arbi)) return;
8344
8344
  void requestPersistentStorage();
8345
8345
  await exclusive("arbi-mail-sync", async () => {
8346
8346
  syncing = true;
8347
- chunkV7GGKT6W_cjs.notifyOfflineMailChange("status");
8347
+ chunkGVU3KYP3_cjs.notifyOfflineMailChange("status");
8348
8348
  try {
8349
8349
  await syncMailbox(liveTransport(arbi), latest(), { ...options, latest });
8350
8350
  } catch (error) {
8351
8351
  client.logger.error("[offline-mail] sync failed", error);
8352
8352
  } finally {
8353
8353
  syncing = false;
8354
- chunkV7GGKT6W_cjs.notifyOfflineMailChange("status");
8354
+ chunkGVU3KYP3_cjs.notifyOfflineMailChange("status");
8355
8355
  }
8356
8356
  });
8357
8357
  }
@@ -8382,9 +8382,9 @@ async function savedFolder(accountId, folderId) {
8382
8382
  }
8383
8383
  function offlineMailReads(getArbi, { keepsMail = () => true } = {}) {
8384
8384
  const call = (path) => mailJson((p, i) => getArbi().mail.fetch(p, i), path);
8385
- const settings = () => chunkV7GGKT6W_cjs.getOfflineMailSettings(sessionUser(getArbi()));
8385
+ const settings = () => chunkGVU3KYP3_cjs.getOfflineMailSettings(sessionUser(getArbi()));
8386
8386
  const storeEnabled = () => settings().enabled;
8387
- const keeps = (message) => chunkV7GGKT6W_cjs.inOfflineWindow(settings(), message.received_at);
8387
+ const keeps = (message) => chunkGVU3KYP3_cjs.inOfflineWindow(settings(), message.received_at);
8388
8388
  const remember = (write3) => {
8389
8389
  if (!keepsMail()) return;
8390
8390
  write3().catch((error) => client.logger.warn("[offline-mail] could not save for offline use", error));
@@ -8994,7 +8994,7 @@ function ArbiWebSocketProvider({
8994
8994
  const host = chunkZZBCZRA5_cjs.useArbiHost();
8995
8995
  const hostRef = React.useRef(host);
8996
8996
  hostRef.current = host;
8997
- const acceptRings = chunkV7GGKT6W_cjs.useFeature("calls");
8997
+ const acceptRings = chunkGVU3KYP3_cjs.useFeature("calls");
8998
8998
  const acceptRingsRef = React.useRef(acceptRings);
8999
8999
  acceptRingsRef.current = acceptRings;
9000
9000
  useOnlineSync();
@@ -9077,9 +9077,9 @@ function ArbiWebSocketProvider({
9077
9077
  void queryClient.invalidateQueries({ queryKey: chunkZZBCZRA5_cjs.arbiQueryKeys.allTags() });
9078
9078
  }
9079
9079
  } else if (type.startsWith("chat.") || type === "agent_dm_status")
9080
- void chunkV7GGKT6W_cjs.applyChatEvent(arbiRef.current, queryClient, msg);
9080
+ void chunkGVU3KYP3_cjs.applyChatEvent(arbiRef.current, queryClient, msg);
9081
9081
  else if (type.startsWith("call."))
9082
- chunkV7GGKT6W_cjs.applyCallEvent(queryClient, msg, { me: me(), acceptRings: acceptRingsRef.current });
9082
+ chunkGVU3KYP3_cjs.applyCallEvent(queryClient, msg, { me: me(), acceptRings: acceptRingsRef.current });
9083
9083
  else if (isNotificationRow(msg)) applyNotificationRow(queryClient, msg, me());
9084
9084
  else void applyLiveUpdate(queryClient, msg);
9085
9085
  deliver(msg);
@@ -10337,7 +10337,7 @@ function useMigrateLegacyTableViews() {
10337
10337
  const arbi = chunkZZBCZRA5_cjs.useArbi();
10338
10338
  const queryClient = reactQuery.useQueryClient();
10339
10339
  const workspaceId = openWorkspaceId3(arbi);
10340
- const settings = chunkV7GGKT6W_cjs.useUserSettings({ enabled: !!workspaceId });
10340
+ const settings = chunkGVU3KYP3_cjs.useUserSettings({ enabled: !!workspaceId });
10341
10341
  const legacy = React.useMemo(() => settings.data?.tableviews ?? [], [settings.data?.tableviews]);
10342
10342
  const pending = !!workspaceId && legacy.some((v) => v.workspace === workspaceId);
10343
10343
  const [failed, setFailed] = React.useState(null);
@@ -11011,7 +11011,7 @@ function createWorkflowsSource(labels) {
11011
11011
  source: "workflows",
11012
11012
  label: l.source,
11013
11013
  description: l.description,
11014
- useAvailable: () => chunkV7GGKT6W_cjs.useFeature("workflows"),
11014
+ useAvailable: () => chunkGVU3KYP3_cjs.useFeature("workflows"),
11015
11015
  fields,
11016
11016
  useAggregateFields(enabled) {
11017
11017
  const nameOf = useNames(enabled);
@@ -13444,13 +13444,13 @@ function useAssistantStatus(workspaceExtId) {
13444
13444
  return query;
13445
13445
  }
13446
13446
  function useRequestEmailChange() {
13447
- const { client } = chunkV7GGKT6W_cjs.useAccountClient();
13447
+ const { client } = chunkGVU3KYP3_cjs.useAccountClient();
13448
13448
  return reactQuery.useMutation({
13449
13449
  mutationFn: (newEmail) => client.requestEmailChange(newEmail)
13450
13450
  });
13451
13451
  }
13452
13452
  function useConfirmEmailChange() {
13453
- const { client } = chunkV7GGKT6W_cjs.useAccountClient();
13453
+ const { client } = chunkGVU3KYP3_cjs.useAccountClient();
13454
13454
  const qc = reactQuery.useQueryClient();
13455
13455
  return reactQuery.useMutation({
13456
13456
  mutationFn: ({ newEmail, code }) => client.confirmEmailChange(newEmail, code),
@@ -13518,7 +13518,7 @@ function useEmailChange({
13518
13518
  };
13519
13519
  }
13520
13520
  function usePasswordChange() {
13521
- const { client } = chunkV7GGKT6W_cjs.useAccountClient();
13521
+ const { client } = chunkGVU3KYP3_cjs.useAccountClient();
13522
13522
  return reactQuery.useMutation({
13523
13523
  mutationFn: (vars) => client.changePassword(vars)
13524
13524
  });
@@ -13612,8 +13612,8 @@ function usePasswordChangeForm({
13612
13612
  }
13613
13613
  function useDismissedTips() {
13614
13614
  const queryClient = reactQuery.useQueryClient();
13615
- const { data: userSettings } = chunkV7GGKT6W_cjs.useUserSettings();
13616
- const { mutate: updateUserSettings } = chunkV7GGKT6W_cjs.useUpdateUserSettings();
13615
+ const { data: userSettings } = chunkGVU3KYP3_cjs.useUserSettings();
13616
+ const { mutate: updateUserSettings } = chunkGVU3KYP3_cjs.useUpdateUserSettings();
13617
13617
  const loaded = userSettings !== void 0;
13618
13618
  const dismissed = userSettings?.dismissed_tips ?? [];
13619
13619
  const dismissTip = React.useCallback(
@@ -13647,7 +13647,7 @@ function toNotificationPreferences(stored, keys) {
13647
13647
  function useNotificationPreferences(keys, options) {
13648
13648
  const arbi = chunkZZBCZRA5_cjs.useArbi();
13649
13649
  const qc = reactQuery.useQueryClient();
13650
- const settings = chunkV7GGKT6W_cjs.useUserSettings(options);
13650
+ const settings = chunkGVU3KYP3_cjs.useUserSettings(options);
13651
13651
  const stored = settings.data?.email_notifications;
13652
13652
  const save = reactQuery.useMutation({
13653
13653
  mutationFn: (patch) => arbi.settings.update({ email_notifications: patch }),
@@ -13706,7 +13706,7 @@ function useRelevanceSave() {
13706
13706
  }
13707
13707
  function useWorkspaceNotificationLevel(workspaceId, options) {
13708
13708
  const qc = reactQuery.useQueryClient();
13709
- const settings = chunkV7GGKT6W_cjs.useUserSettings(options);
13709
+ const settings = chunkGVU3KYP3_cjs.useUserSettings(options);
13710
13710
  const save = useRelevanceSave();
13711
13711
  const level = workspaceId ? browser.settings.workspaceNotificationLevel(settings.data, workspaceId) : "default";
13712
13712
  const setLevel = React.useCallback(
@@ -13727,7 +13727,7 @@ function useWorkspaceNotificationLevel(workspaceId, options) {
13727
13727
  }
13728
13728
  function useFollowThread(conversationId, options) {
13729
13729
  const qc = reactQuery.useQueryClient();
13730
- const settings = chunkV7GGKT6W_cjs.useUserSettings(options);
13730
+ const settings = chunkGVU3KYP3_cjs.useUserSettings(options);
13731
13731
  const save = useRelevanceSave();
13732
13732
  const following = !!conversationId && !!settings.data?.followed_threads?.includes(conversationId);
13733
13733
  const setFollowing = React.useCallback(
@@ -13756,7 +13756,7 @@ function useFollowThread(conversationId, options) {
13756
13756
  };
13757
13757
  }
13758
13758
  function useSessions(options) {
13759
- const { client, enabled } = chunkV7GGKT6W_cjs.useAccountClient();
13759
+ const { client, enabled } = chunkGVU3KYP3_cjs.useAccountClient();
13760
13760
  return reactQuery.useQuery({
13761
13761
  queryKey: chunkZZBCZRA5_cjs.arbiQueryKeys.sessions(),
13762
13762
  queryFn: () => client.listSessions(),
@@ -13764,7 +13764,7 @@ function useSessions(options) {
13764
13764
  });
13765
13765
  }
13766
13766
  function useTerminateSession() {
13767
- const { client } = chunkV7GGKT6W_cjs.useAccountClient();
13767
+ const { client } = chunkGVU3KYP3_cjs.useAccountClient();
13768
13768
  const qc = reactQuery.useQueryClient();
13769
13769
  return reactQuery.useMutation({
13770
13770
  mutationFn: (sessionId) => client.terminateSession(sessionId),
@@ -13772,7 +13772,7 @@ function useTerminateSession() {
13772
13772
  });
13773
13773
  }
13774
13774
  function useSignOut() {
13775
- const { client } = chunkV7GGKT6W_cjs.useAccountClient();
13775
+ const { client } = chunkGVU3KYP3_cjs.useAccountClient();
13776
13776
  const qc = reactQuery.useQueryClient();
13777
13777
  return reactQuery.useMutation({
13778
13778
  mutationFn: (options = {}) => client.signOut(options),
@@ -13780,7 +13780,7 @@ function useSignOut() {
13780
13780
  });
13781
13781
  }
13782
13782
  function useCurrentSessionId() {
13783
- return chunkV7GGKT6W_cjs.useAccountClient().client.currentSessionId();
13783
+ return chunkGVU3KYP3_cjs.useAccountClient().client.currentSessionId();
13784
13784
  }
13785
13785
  function parseDeleteAccountBlockers(error) {
13786
13786
  const body = error?.apiError ?? error;
@@ -13795,7 +13795,7 @@ function parseDeleteAccountBlockers(error) {
13795
13795
  return [];
13796
13796
  }
13797
13797
  function useDeleteAccount() {
13798
- const { client } = chunkV7GGKT6W_cjs.useAccountClient();
13798
+ const { client } = chunkGVU3KYP3_cjs.useAccountClient();
13799
13799
  return reactQuery.useMutation({ mutationFn: () => client.requestDeletion() });
13800
13800
  }
13801
13801
  function useDeleteAccountFlow({
@@ -14117,7 +14117,7 @@ function useIdentityVerificationFlow(api, {
14117
14117
  };
14118
14118
  }
14119
14119
  function useIdentityVerification(options = {}) {
14120
- const { client, enabled } = chunkV7GGKT6W_cjs.useAccountClient();
14120
+ const { client, enabled } = chunkGVU3KYP3_cjs.useAccountClient();
14121
14121
  const qc = reactQuery.useQueryClient();
14122
14122
  const { onVerifiedChange, onNameAccepted, formatPrice } = options;
14123
14123
  return useIdentityVerificationFlow(client.identity, {
@@ -14216,8 +14216,8 @@ var SYNC_INTERVAL_MS = 5 * 60 * 1e3;
14216
14216
  var NEW_MAIL_DEBOUNCE_MS = 5e3;
14217
14217
  function useOfflineMailActive() {
14218
14218
  const { user, status } = chunk2MGJXBBJ_cjs.useArbiSession();
14219
- const mailEnabled = chunkV7GGKT6W_cjs.useFeature("mail");
14220
- const entitled = chunkV7GGKT6W_cjs.useIsEntitled("mail");
14219
+ const mailEnabled = chunkGVU3KYP3_cjs.useFeature("mail");
14220
+ const entitled = chunkGVU3KYP3_cjs.useIsEntitled("mail");
14221
14221
  const eligible = status === "signed-in" && !!user?.external_id && mailEnabled && entitled;
14222
14222
  const { data: policy } = useMailPolicy({ enabled: eligible });
14223
14223
  return eligible && !!policy?.enabled && (policy.native_enabled || policy.enabled_providers.length > 0);
@@ -14233,15 +14233,15 @@ function useOfflineMailRuntime({ openOutbox } = {}) {
14233
14233
  latest.current = { arbi, queryClient, openOutbox };
14234
14234
  React.useEffect(() => {
14235
14235
  if (!active || !userExtId) return;
14236
- chunkV7GGKT6W_cjs.claimOfflineMail(userExtId).catch(
14236
+ chunkGVU3KYP3_cjs.claimOfflineMail(userExtId).catch(
14237
14237
  (error) => client.logger.warn("[offline-mail] could not bind the store", error)
14238
14238
  );
14239
14239
  }, [active, userExtId]);
14240
14240
  React.useEffect(() => {
14241
14241
  if (!active || !userExtId) return;
14242
- return chunkV7GGKT6W_cjs.onOfflineMailChange((change) => {
14242
+ return chunkGVU3KYP3_cjs.onOfflineMailChange((change) => {
14243
14243
  if (change !== "settings") return;
14244
- trimOfflineMailbox(chunkV7GGKT6W_cjs.getOfflineMailSettings(userExtId)).then(
14244
+ trimOfflineMailbox(chunkGVU3KYP3_cjs.getOfflineMailSettings(userExtId)).then(
14245
14245
  () => latest.current.queryClient.invalidateQueries({ queryKey: chunkZZBCZRA5_cjs.mailQueryKeys.allMessages() })
14246
14246
  ).catch((error) => client.logger.warn("[offline-mail] could not trim the device copy", error));
14247
14247
  });
@@ -14266,7 +14266,7 @@ function useOfflineMailRuntime({ openOutbox } = {}) {
14266
14266
  const interval = setInterval(() => {
14267
14267
  if (document.visibilityState === "visible") run2();
14268
14268
  }, SYNC_INTERVAL_MS);
14269
- const enabled = () => chunkV7GGKT6W_cjs.getOfflineMailSettings(sessionUser(context().arbi)).enabled;
14269
+ const enabled = () => chunkGVU3KYP3_cjs.getOfflineMailSettings(sessionUser(context().arbi)).enabled;
14270
14270
  let newMailTimer = null;
14271
14271
  const offCache = queryClient.getQueryCache().subscribe((event) => {
14272
14272
  if (event.type !== "updated" || event.action.type !== "invalidate") return;
@@ -14274,7 +14274,7 @@ function useOfflineMailRuntime({ openOutbox } = {}) {
14274
14274
  if (newMailTimer) clearTimeout(newMailTimer);
14275
14275
  newMailTimer = setTimeout(() => void syncOfflineMailbox(context()), NEW_MAIL_DEBOUNCE_MS);
14276
14276
  });
14277
- const offSettings = chunkV7GGKT6W_cjs.onOfflineMailChange((change) => {
14277
+ const offSettings = chunkGVU3KYP3_cjs.onOfflineMailChange((change) => {
14278
14278
  if (change === "settings" && enabled()) void syncOfflineMailbox(context(), { full: true });
14279
14279
  if (change === "outbox") void flushOutbox(context());
14280
14280
  if (change === "changes") void flushOutbox(context());
@@ -14296,7 +14296,7 @@ function useStoreValue(load, initial, changes) {
14296
14296
  let alive = true;
14297
14297
  const read = () => load().then((next) => alive && setValue(next)).catch((error) => client.logger.warn("[offline-mail] read failed", error));
14298
14298
  void read();
14299
- const off = chunkV7GGKT6W_cjs.onOfflineMailChange((change) => {
14299
+ const off = chunkGVU3KYP3_cjs.onOfflineMailChange((change) => {
14300
14300
  if (change === "wiped") setValue(initial);
14301
14301
  if (change === "wiped" || key.split(",").includes(change)) void read();
14302
14302
  });
@@ -14310,18 +14310,18 @@ function useStoreValue(load, initial, changes) {
14310
14310
  function useOfflineMailSettings() {
14311
14311
  const userExtId = chunk2MGJXBBJ_cjs.useArbiSession().user?.external_id;
14312
14312
  const subscribe = React.useCallback(
14313
- (onChange) => chunkV7GGKT6W_cjs.onOfflineMailChange((change) => {
14313
+ (onChange) => chunkGVU3KYP3_cjs.onOfflineMailChange((change) => {
14314
14314
  if (change === "settings") onChange();
14315
14315
  }),
14316
14316
  []
14317
14317
  );
14318
14318
  const raw = React.useSyncExternalStore(
14319
14319
  subscribe,
14320
- () => JSON.stringify([userExtId, chunkV7GGKT6W_cjs.getOfflineMailSettings(userExtId)])
14320
+ () => JSON.stringify([userExtId, chunkGVU3KYP3_cjs.getOfflineMailSettings(userExtId)])
14321
14321
  );
14322
14322
  const settings = React.useMemo(() => JSON.parse(raw)[1], [raw]);
14323
14323
  const update2 = React.useCallback(
14324
- (patch) => void chunkV7GGKT6W_cjs.setOfflineMailSettings(userExtId, patch),
14324
+ (patch) => void chunkGVU3KYP3_cjs.setOfflineMailSettings(userExtId, patch),
14325
14325
  [userExtId]
14326
14326
  );
14327
14327
  return [settings, update2];
@@ -14331,7 +14331,7 @@ function useOfflineMailStatus() {
14331
14331
  const status = useStoreValue(getOfflineMailStatus, EMPTY_STATUS, ["status", "mailbox"]);
14332
14332
  const [syncing2, setSyncing] = React.useState(isMailSyncRunning);
14333
14333
  React.useEffect(
14334
- () => chunkV7GGKT6W_cjs.onOfflineMailChange((change) => {
14334
+ () => chunkGVU3KYP3_cjs.onOfflineMailChange((change) => {
14335
14335
  if (change === "status") setSyncing(isMailSyncRunning());
14336
14336
  }),
14337
14337
  []
@@ -14373,7 +14373,7 @@ function useSyncOfflineMailbox() {
14373
14373
  async function storeExists() {
14374
14374
  try {
14375
14375
  const databases = await indexedDB.databases?.();
14376
- return databases ? databases.some((d) => d.name === chunkV7GGKT6W_cjs.OFFLINE_MAIL_DB) : true;
14376
+ return databases ? databases.some((d) => d.name === chunkGVU3KYP3_cjs.OFFLINE_MAIL_DB) : true;
14377
14377
  } catch {
14378
14378
  return true;
14379
14379
  }
@@ -14431,7 +14431,7 @@ function useDisconnectConnector() {
14431
14431
  );
14432
14432
  }
14433
14433
  function useConnectorVendorVisibility() {
14434
- const { data: settings } = chunkV7GGKT6W_cjs.useUserSettings();
14434
+ const { data: settings } = chunkGVU3KYP3_cjs.useUserSettings();
14435
14435
  return (vendorKey) => browser.isConnectorVendorVisible(settings, vendorKey);
14436
14436
  }
14437
14437
  function connectorReturnTo(reopen) {
@@ -14609,7 +14609,7 @@ function checkNowAndOnFocus(check) {
14609
14609
  function useConnectorAutoSync(workspaceExtId, opened) {
14610
14610
  const arbi = chunkZZBCZRA5_cjs.useArbi();
14611
14611
  const qc = reactQuery.useQueryClient();
14612
- const hasMail = chunkV7GGKT6W_cjs.useIsEntitled("mail");
14612
+ const hasMail = chunkGVU3KYP3_cjs.useIsEntitled("mail");
14613
14613
  React.useEffect(() => {
14614
14614
  if (!opened || !workspaceExtId || !arbi.isLoggedIn) return;
14615
14615
  return checkNowAndOnFocus(() => {
@@ -15227,7 +15227,7 @@ var OfflineCalendarLockedError = class extends Error {
15227
15227
  this.name = "OfflineCalendarLockedError";
15228
15228
  }
15229
15229
  };
15230
- var store = chunkV7GGKT6W_cjs.createRecordStore(OFFLINE_CALENDAR_DB);
15230
+ var store = chunkGVU3KYP3_cjs.createRecordStore(OFFLINE_CALENDAR_DB);
15231
15231
  var sealer = client.createOfflineSealer("arbi-offline-calendar-v1", {
15232
15232
  locked: () => new OfflineCalendarLockedError()
15233
15233
  });
@@ -17860,7 +17860,7 @@ function useChatUnreadTotal() {
17860
17860
  function useUnreadByPeer() {
17861
17861
  const arbi = chunkZZBCZRA5_cjs.useArbi();
17862
17862
  const { data = [] } = useChats();
17863
- const me = chunkV7GGKT6W_cjs.myChatId(arbi);
17863
+ const me = chunkGVU3KYP3_cjs.myChatId(arbi);
17864
17864
  return React.useMemo(() => {
17865
17865
  const out = /* @__PURE__ */ new Map();
17866
17866
  for (const c of data) {
@@ -17950,13 +17950,13 @@ function useChatPost() {
17950
17950
  const queryClient = reactQuery.useQueryClient();
17951
17951
  return React.useCallback(
17952
17952
  async (target, post) => {
17953
- const me = chunkV7GGKT6W_cjs.myChatId(arbi);
17953
+ const me = chunkGVU3KYP3_cjs.myChatId(arbi);
17954
17954
  if (!me) throw new Error("No active session");
17955
17955
  let chat = target.chat;
17956
17956
  if (!chat) {
17957
17957
  if (!target.peerExtId) throw new Error("Could not resolve the conversation");
17958
17958
  chat = await arbi.chats.openDirect(target.peerExtId);
17959
- chunkV7GGKT6W_cjs.upsertChat(queryClient, chat);
17959
+ chunkGVU3KYP3_cjs.upsertChat(queryClient, chat);
17960
17960
  queryClient.setQueryData(
17961
17961
  chunkZZBCZRA5_cjs.arbiQueryKeys.chatThread(chat.external_id),
17962
17962
  (old) => old ?? { messages: [], hasMore: false }
@@ -17979,7 +17979,7 @@ function useChatPost() {
17979
17979
  updated_at: now,
17980
17980
  optimistic: true
17981
17981
  };
17982
- chunkV7GGKT6W_cjs.appendToThread(queryClient, chat.external_id, optimistic);
17982
+ chunkGVU3KYP3_cjs.appendToThread(queryClient, chat.external_id, optimistic);
17983
17983
  try {
17984
17984
  let attachments = [];
17985
17985
  if (files.length) {
@@ -17999,15 +17999,15 @@ function useChatPost() {
17999
17999
  ...post.workspaceExtId ? { workspaceExtId: post.workspaceExtId } : {},
18000
18000
  contextOnly: !!post.contextOnly
18001
18001
  });
18002
- chunkV7GGKT6W_cjs.appendToThread(queryClient, chat.external_id, message, optimisticId);
18003
- chunkV7GGKT6W_cjs.upsertChat(queryClient, {
18002
+ chunkGVU3KYP3_cjs.appendToThread(queryClient, chat.external_id, message, optimisticId);
18003
+ chunkGVU3KYP3_cjs.upsertChat(queryClient, {
18004
18004
  ...chat,
18005
18005
  last_message: message,
18006
18006
  last_message_at: message.created_at
18007
18007
  });
18008
18008
  return { chat, message };
18009
18009
  } catch (err) {
18010
- chunkV7GGKT6W_cjs.dropFromThread(queryClient, chat.external_id, optimisticId);
18010
+ chunkGVU3KYP3_cjs.dropFromThread(queryClient, chat.external_id, optimisticId);
18011
18011
  void queryClient.invalidateQueries({ queryKey: chunkZZBCZRA5_cjs.arbiQueryKeys.chatList() });
18012
18012
  throw err;
18013
18013
  }
@@ -18019,7 +18019,7 @@ function useDeleteChatMessage() {
18019
18019
  const arbi = chunkZZBCZRA5_cjs.useArbi();
18020
18020
  const queryClient = reactQuery.useQueryClient();
18021
18021
  return React.useCallback(
18022
- (chatExtId, messageExtId) => chunkV7GGKT6W_cjs.deleteChatMessage(arbi, queryClient, chatExtId, messageExtId),
18022
+ (chatExtId, messageExtId) => chunkGVU3KYP3_cjs.deleteChatMessage(arbi, queryClient, chatExtId, messageExtId),
18023
18023
  [arbi, queryClient]
18024
18024
  );
18025
18025
  }
@@ -18028,7 +18028,7 @@ function useMarkChatRead() {
18028
18028
  const queryClient = reactQuery.useQueryClient();
18029
18029
  return React.useCallback(
18030
18030
  (chat, messageExtId) => {
18031
- chunkV7GGKT6W_cjs.upsertChat(queryClient, { ...chat, unread_count: 0 });
18031
+ chunkGVU3KYP3_cjs.upsertChat(queryClient, { ...chat, unread_count: 0 });
18032
18032
  return arbi.chats.markRead(chat.external_id, messageExtId).then(
18033
18033
  () => void 0,
18034
18034
  () => void 0
@@ -18042,7 +18042,7 @@ function useCreateGroupChat() {
18042
18042
  const queryClient = reactQuery.useQueryClient();
18043
18043
  return reactQuery.useMutation({
18044
18044
  mutationFn: (params) => arbi.chats.createGroup(params),
18045
- onSuccess: (chat) => chunkV7GGKT6W_cjs.upsertChat(queryClient, chat)
18045
+ onSuccess: (chat) => chunkGVU3KYP3_cjs.upsertChat(queryClient, chat)
18046
18046
  });
18047
18047
  }
18048
18048
  function useRenameChat() {
@@ -18050,7 +18050,7 @@ function useRenameChat() {
18050
18050
  const queryClient = reactQuery.useQueryClient();
18051
18051
  return reactQuery.useMutation({
18052
18052
  mutationFn: (vars) => arbi.chats.rename(vars.chat, vars.title),
18053
- onSuccess: (chat) => chunkV7GGKT6W_cjs.upsertChat(queryClient, chat)
18053
+ onSuccess: (chat) => chunkGVU3KYP3_cjs.upsertChat(queryClient, chat)
18054
18054
  });
18055
18055
  }
18056
18056
  function useAddChatMembers() {
@@ -18058,7 +18058,7 @@ function useAddChatMembers() {
18058
18058
  const queryClient = reactQuery.useQueryClient();
18059
18059
  return reactQuery.useMutation({
18060
18060
  mutationFn: (vars) => arbi.chats.addMembers(vars.chat, vars.members, { callKey: vars.callKey }),
18061
- onSuccess: (chat) => chunkV7GGKT6W_cjs.upsertChat(queryClient, chat)
18061
+ onSuccess: (chat) => chunkGVU3KYP3_cjs.upsertChat(queryClient, chat)
18062
18062
  });
18063
18063
  }
18064
18064
  function useRemoveChatMember() {
@@ -18067,7 +18067,7 @@ function useRemoveChatMember() {
18067
18067
  return reactQuery.useMutation({
18068
18068
  mutationFn: (vars) => arbi.chats.removeMember(vars.chat, vars.userExtId),
18069
18069
  onSuccess: (_data, vars) => {
18070
- if (vars.userExtId === chunkV7GGKT6W_cjs.myChatId(arbi)) chunkV7GGKT6W_cjs.removeChat(queryClient, vars.chat.external_id);
18070
+ if (vars.userExtId === chunkGVU3KYP3_cjs.myChatId(arbi)) chunkGVU3KYP3_cjs.removeChat(queryClient, vars.chat.external_id);
18071
18071
  else return queryClient.invalidateQueries({ queryKey: chunkZZBCZRA5_cjs.arbiQueryKeys.chatList() });
18072
18072
  }
18073
18073
  });
@@ -18077,11 +18077,11 @@ function useChatArrivals(onArrival) {
18077
18077
  const queryClient = reactQuery.useQueryClient();
18078
18078
  useArbiWsMessage("chat.message", (message) => {
18079
18079
  const senderId = message.message.sender_ext_id;
18080
- if (!senderId || senderId === chunkV7GGKT6W_cjs.myChatId(arbi)) return;
18081
- if (message.message.kind !== "text" || chunkV7GGKT6W_cjs.getOpenChat() === message.chat_ext_id) return;
18080
+ if (!senderId || senderId === chunkGVU3KYP3_cjs.myChatId(arbi)) return;
18081
+ if (message.message.kind !== "text" || chunkGVU3KYP3_cjs.getOpenChat() === message.chat_ext_id) return;
18082
18082
  const muted = queryClient.getQueriesData({ queryKey: chunkZZBCZRA5_cjs.arbiQueryKeys.userSettings() }).map(([, data]) => data).find(Boolean)?.muted_users;
18083
18083
  if (muted?.includes(senderId)) return;
18084
- const chat = chunkV7GGKT6W_cjs.cachedChat(queryClient, message.chat_ext_id);
18084
+ const chat = chunkGVU3KYP3_cjs.cachedChat(queryClient, message.chat_ext_id);
18085
18085
  const sender = chat?.members.find((m) => m.user.external_id === senderId)?.user;
18086
18086
  onArrival({
18087
18087
  chatId: message.chat_ext_id,
@@ -18148,7 +18148,7 @@ function dmFileShareEntries({
18148
18148
  function useDmFileShares(peer) {
18149
18149
  const arbi = chunkZZBCZRA5_cjs.useArbi();
18150
18150
  const queryClient = reactQuery.useQueryClient();
18151
- const me = chunkV7GGKT6W_cjs.myChatId(arbi);
18151
+ const me = chunkGVU3KYP3_cjs.myChatId(arbi);
18152
18152
  const person = peer && peer.external_id.startsWith("usr-") && me ? peer : null;
18153
18153
  const list = chunk6TJL4Z2F_cjs.useFileShares(person && arbi.isLoggedIn ? arbi.getClient().fetch : null);
18154
18154
  const { data: notifications = [] } = useNotifications({ enabled: !!person });
@@ -18461,775 +18461,775 @@ function useRateSupportTicket() {
18461
18461
 
18462
18462
  Object.defineProperty(exports, "AUDIENCE_CHOICES", {
18463
18463
  enumerable: true,
18464
- get: function () { return chunkV7GGKT6W_cjs.AUDIENCE_CHOICES; }
18464
+ get: function () { return chunkGVU3KYP3_cjs.AUDIENCE_CHOICES; }
18465
18465
  });
18466
18466
  Object.defineProperty(exports, "CALL_CAPTION_TOPIC", {
18467
18467
  enumerable: true,
18468
- get: function () { return chunkV7GGKT6W_cjs.CALL_CAPTION_TOPIC; }
18468
+ get: function () { return chunkGVU3KYP3_cjs.CALL_CAPTION_TOPIC; }
18469
18469
  });
18470
18470
  Object.defineProperty(exports, "CALL_CHAT_MAX_CHARS", {
18471
18471
  enumerable: true,
18472
- get: function () { return chunkV7GGKT6W_cjs.CALL_CHAT_MAX_CHARS; }
18472
+ get: function () { return chunkGVU3KYP3_cjs.CALL_CHAT_MAX_CHARS; }
18473
18473
  });
18474
18474
  Object.defineProperty(exports, "CALL_CHAT_TOPIC", {
18475
18475
  enumerable: true,
18476
- get: function () { return chunkV7GGKT6W_cjs.CALL_CHAT_TOPIC; }
18476
+ get: function () { return chunkGVU3KYP3_cjs.CALL_CHAT_TOPIC; }
18477
18477
  });
18478
18478
  Object.defineProperty(exports, "CALL_MODERATION_TOPIC", {
18479
18479
  enumerable: true,
18480
- get: function () { return chunkV7GGKT6W_cjs.CALL_MODERATION_TOPIC; }
18480
+ get: function () { return chunkGVU3KYP3_cjs.CALL_MODERATION_TOPIC; }
18481
18481
  });
18482
18482
  Object.defineProperty(exports, "CALL_RECORDING_TOPIC", {
18483
18483
  enumerable: true,
18484
- get: function () { return chunkV7GGKT6W_cjs.CALL_RECORDING_TOPIC; }
18484
+ get: function () { return chunkGVU3KYP3_cjs.CALL_RECORDING_TOPIC; }
18485
18485
  });
18486
18486
  Object.defineProperty(exports, "CALL_TRANSCRIPTION_TOPIC", {
18487
18487
  enumerable: true,
18488
- get: function () { return chunkV7GGKT6W_cjs.CALL_TRANSCRIPTION_TOPIC; }
18488
+ get: function () { return chunkGVU3KYP3_cjs.CALL_TRANSCRIPTION_TOPIC; }
18489
18489
  });
18490
18490
  Object.defineProperty(exports, "CALL_WEBINAR_TOPIC", {
18491
18491
  enumerable: true,
18492
- get: function () { return chunkV7GGKT6W_cjs.CALL_WEBINAR_TOPIC; }
18492
+ get: function () { return chunkGVU3KYP3_cjs.CALL_WEBINAR_TOPIC; }
18493
18493
  });
18494
18494
  Object.defineProperty(exports, "CAPTION_MAX_CHARS", {
18495
18495
  enumerable: true,
18496
- get: function () { return chunkV7GGKT6W_cjs.CAPTION_MAX_CHARS; }
18496
+ get: function () { return chunkGVU3KYP3_cjs.CAPTION_MAX_CHARS; }
18497
18497
  });
18498
18498
  Object.defineProperty(exports, "COMPOSITE_AUDIO_BITS_PER_SECOND", {
18499
18499
  enumerable: true,
18500
- get: function () { return chunkV7GGKT6W_cjs.COMPOSITE_AUDIO_BITS_PER_SECOND; }
18500
+ get: function () { return chunkGVU3KYP3_cjs.COMPOSITE_AUDIO_BITS_PER_SECOND; }
18501
18501
  });
18502
18502
  Object.defineProperty(exports, "COMPOSITE_VIDEO_BITS_PER_SECOND", {
18503
18503
  enumerable: true,
18504
- get: function () { return chunkV7GGKT6W_cjs.COMPOSITE_VIDEO_BITS_PER_SECOND; }
18504
+ get: function () { return chunkGVU3KYP3_cjs.COMPOSITE_VIDEO_BITS_PER_SECOND; }
18505
18505
  });
18506
18506
  Object.defineProperty(exports, "DEFAULT_JOIN_CHOICES", {
18507
18507
  enumerable: true,
18508
- get: function () { return chunkV7GGKT6W_cjs.DEFAULT_JOIN_CHOICES; }
18508
+ get: function () { return chunkGVU3KYP3_cjs.DEFAULT_JOIN_CHOICES; }
18509
18509
  });
18510
18510
  Object.defineProperty(exports, "EMPTY_CALL_SESSION", {
18511
18511
  enumerable: true,
18512
- get: function () { return chunkV7GGKT6W_cjs.EMPTY_CALL_SESSION; }
18512
+ get: function () { return chunkGVU3KYP3_cjs.EMPTY_CALL_SESSION; }
18513
18513
  });
18514
18514
  Object.defineProperty(exports, "EXPORT_SAMPLE_RATE", {
18515
18515
  enumerable: true,
18516
- get: function () { return chunkV7GGKT6W_cjs.EXPORT_SAMPLE_RATE; }
18516
+ get: function () { return chunkGVU3KYP3_cjs.EXPORT_SAMPLE_RATE; }
18517
18517
  });
18518
18518
  Object.defineProperty(exports, "HISTORY_LIMIT", {
18519
18519
  enumerable: true,
18520
- get: function () { return chunkV7GGKT6W_cjs.HISTORY_LIMIT; }
18520
+ get: function () { return chunkGVU3KYP3_cjs.HISTORY_LIMIT; }
18521
18521
  });
18522
18522
  Object.defineProperty(exports, "LIVE_SEGMENTER", {
18523
18523
  enumerable: true,
18524
- get: function () { return chunkV7GGKT6W_cjs.LIVE_SEGMENTER; }
18524
+ get: function () { return chunkGVU3KYP3_cjs.LIVE_SEGMENTER; }
18525
18525
  });
18526
18526
  Object.defineProperty(exports, "MAX_AVATAR_FILE_BYTES", {
18527
18527
  enumerable: true,
18528
- get: function () { return chunkV7GGKT6W_cjs.MAX_AVATAR_FILE_BYTES; }
18528
+ get: function () { return chunkGVU3KYP3_cjs.MAX_AVATAR_FILE_BYTES; }
18529
18529
  });
18530
18530
  Object.defineProperty(exports, "MUTED_DEDUPE_MS", {
18531
18531
  enumerable: true,
18532
- get: function () { return chunkV7GGKT6W_cjs.MUTED_DEDUPE_MS; }
18532
+ get: function () { return chunkGVU3KYP3_cjs.MUTED_DEDUPE_MS; }
18533
18533
  });
18534
18534
  Object.defineProperty(exports, "PLAYBACK_LOOKAHEAD_MS", {
18535
18535
  enumerable: true,
18536
- get: function () { return chunkV7GGKT6W_cjs.PLAYBACK_LOOKAHEAD_MS; }
18536
+ get: function () { return chunkGVU3KYP3_cjs.PLAYBACK_LOOKAHEAD_MS; }
18537
18537
  });
18538
18538
  Object.defineProperty(exports, "READ_ONLY_MEETING_TEXT", {
18539
18539
  enumerable: true,
18540
- get: function () { return chunkV7GGKT6W_cjs.READ_ONLY_MEETING_TEXT; }
18540
+ get: function () { return chunkGVU3KYP3_cjs.READ_ONLY_MEETING_TEXT; }
18541
18541
  });
18542
18542
  Object.defineProperty(exports, "RECORDING_CHUNK_MS", {
18543
18543
  enumerable: true,
18544
- get: function () { return chunkV7GGKT6W_cjs.RECORDING_CHUNK_MS; }
18544
+ get: function () { return chunkGVU3KYP3_cjs.RECORDING_CHUNK_MS; }
18545
18545
  });
18546
18546
  Object.defineProperty(exports, "RECORDING_SEGMENTER", {
18547
18547
  enumerable: true,
18548
- get: function () { return chunkV7GGKT6W_cjs.RECORDING_SEGMENTER; }
18548
+ get: function () { return chunkGVU3KYP3_cjs.RECORDING_SEGMENTER; }
18549
18549
  });
18550
18550
  Object.defineProperty(exports, "SEGMENT_FRAME_MS", {
18551
18551
  enumerable: true,
18552
- get: function () { return chunkV7GGKT6W_cjs.SEGMENT_FRAME_MS; }
18552
+ get: function () { return chunkGVU3KYP3_cjs.SEGMENT_FRAME_MS; }
18553
18553
  });
18554
18554
  Object.defineProperty(exports, "SEGMENT_ID_PATTERN", {
18555
18555
  enumerable: true,
18556
- get: function () { return chunkV7GGKT6W_cjs.SEGMENT_ID_PATTERN; }
18556
+ get: function () { return chunkGVU3KYP3_cjs.SEGMENT_ID_PATTERN; }
18557
18557
  });
18558
18558
  Object.defineProperty(exports, "SEGMENT_PRE_ROLL_MS", {
18559
18559
  enumerable: true,
18560
- get: function () { return chunkV7GGKT6W_cjs.SEGMENT_PRE_ROLL_MS; }
18560
+ get: function () { return chunkGVU3KYP3_cjs.SEGMENT_PRE_ROLL_MS; }
18561
18561
  });
18562
18562
  Object.defineProperty(exports, "SHORT_PIECE_MERGE_GAP_MS", {
18563
18563
  enumerable: true,
18564
- get: function () { return chunkV7GGKT6W_cjs.SHORT_PIECE_MERGE_GAP_MS; }
18564
+ get: function () { return chunkGVU3KYP3_cjs.SHORT_PIECE_MERGE_GAP_MS; }
18565
18565
  });
18566
18566
  Object.defineProperty(exports, "SPEAKER_AUDIO_BITS_PER_SECOND", {
18567
18567
  enumerable: true,
18568
- get: function () { return chunkV7GGKT6W_cjs.SPEAKER_AUDIO_BITS_PER_SECOND; }
18568
+ get: function () { return chunkGVU3KYP3_cjs.SPEAKER_AUDIO_BITS_PER_SECOND; }
18569
18569
  });
18570
18570
  Object.defineProperty(exports, "TrackUploader", {
18571
18571
  enumerable: true,
18572
- get: function () { return chunkV7GGKT6W_cjs.TrackUploader; }
18572
+ get: function () { return chunkGVU3KYP3_cjs.TrackUploader; }
18573
18573
  });
18574
18574
  Object.defineProperty(exports, "UPLOAD_ATTEMPTS", {
18575
18575
  enumerable: true,
18576
- get: function () { return chunkV7GGKT6W_cjs.UPLOAD_ATTEMPTS; }
18576
+ get: function () { return chunkGVU3KYP3_cjs.UPLOAD_ATTEMPTS; }
18577
18577
  });
18578
18578
  Object.defineProperty(exports, "UPLOAD_BACKOFF_MS", {
18579
18579
  enumerable: true,
18580
- get: function () { return chunkV7GGKT6W_cjs.UPLOAD_BACKOFF_MS; }
18580
+ get: function () { return chunkGVU3KYP3_cjs.UPLOAD_BACKOFF_MS; }
18581
18581
  });
18582
18582
  Object.defineProperty(exports, "acceptRing", {
18583
18583
  enumerable: true,
18584
- get: function () { return chunkV7GGKT6W_cjs.acceptRing; }
18584
+ get: function () { return chunkGVU3KYP3_cjs.acceptRing; }
18585
18585
  });
18586
18586
  Object.defineProperty(exports, "addConversationToList", {
18587
18587
  enumerable: true,
18588
- get: function () { return chunkV7GGKT6W_cjs.addConversationToList; }
18588
+ get: function () { return chunkGVU3KYP3_cjs.addConversationToList; }
18589
18589
  });
18590
18590
  Object.defineProperty(exports, "appendToThread", {
18591
18591
  enumerable: true,
18592
- get: function () { return chunkV7GGKT6W_cjs.appendToThread; }
18592
+ get: function () { return chunkGVU3KYP3_cjs.appendToThread; }
18593
18593
  });
18594
18594
  Object.defineProperty(exports, "applyAgentDmStatus", {
18595
18595
  enumerable: true,
18596
- get: function () { return chunkV7GGKT6W_cjs.applyAgentDmStatus; }
18596
+ get: function () { return chunkGVU3KYP3_cjs.applyAgentDmStatus; }
18597
18597
  });
18598
18598
  Object.defineProperty(exports, "applyCallEvent", {
18599
18599
  enumerable: true,
18600
- get: function () { return chunkV7GGKT6W_cjs.applyCallEvent; }
18600
+ get: function () { return chunkGVU3KYP3_cjs.applyCallEvent; }
18601
18601
  });
18602
18602
  Object.defineProperty(exports, "applyChatEvent", {
18603
18603
  enumerable: true,
18604
- get: function () { return chunkV7GGKT6W_cjs.applyChatEvent; }
18604
+ get: function () { return chunkGVU3KYP3_cjs.applyChatEvent; }
18605
18605
  });
18606
18606
  Object.defineProperty(exports, "applyChatMessage", {
18607
18607
  enumerable: true,
18608
- get: function () { return chunkV7GGKT6W_cjs.applyChatMessage; }
18608
+ get: function () { return chunkGVU3KYP3_cjs.applyChatMessage; }
18609
18609
  });
18610
18610
  Object.defineProperty(exports, "applyChatRead", {
18611
18611
  enumerable: true,
18612
- get: function () { return chunkV7GGKT6W_cjs.applyChatRead; }
18612
+ get: function () { return chunkGVU3KYP3_cjs.applyChatRead; }
18613
18613
  });
18614
18614
  Object.defineProperty(exports, "applyChatUpdated", {
18615
18615
  enumerable: true,
18616
- get: function () { return chunkV7GGKT6W_cjs.applyChatUpdated; }
18616
+ get: function () { return chunkGVU3KYP3_cjs.applyChatUpdated; }
18617
18617
  });
18618
18618
  Object.defineProperty(exports, "arbiAccountClient", {
18619
18619
  enumerable: true,
18620
- get: function () { return chunkV7GGKT6W_cjs.arbiAccountClient; }
18620
+ get: function () { return chunkGVU3KYP3_cjs.arbiAccountClient; }
18621
18621
  });
18622
18622
  Object.defineProperty(exports, "buildMeetingChatBody", {
18623
18623
  enumerable: true,
18624
- get: function () { return chunkV7GGKT6W_cjs.buildMeetingChatBody; }
18624
+ get: function () { return chunkGVU3KYP3_cjs.buildMeetingChatBody; }
18625
18625
  });
18626
18626
  Object.defineProperty(exports, "cachedChat", {
18627
18627
  enumerable: true,
18628
- get: function () { return chunkV7GGKT6W_cjs.cachedChat; }
18628
+ get: function () { return chunkGVU3KYP3_cjs.cachedChat; }
18629
18629
  });
18630
18630
  Object.defineProperty(exports, "cachedChats", {
18631
18631
  enumerable: true,
18632
- get: function () { return chunkV7GGKT6W_cjs.cachedChats; }
18632
+ get: function () { return chunkGVU3KYP3_cjs.cachedChats; }
18633
18633
  });
18634
18634
  Object.defineProperty(exports, "callLink", {
18635
18635
  enumerable: true,
18636
- get: function () { return chunkV7GGKT6W_cjs.callLink; }
18636
+ get: function () { return chunkGVU3KYP3_cjs.callLink; }
18637
18637
  });
18638
18638
  Object.defineProperty(exports, "callMemberKeys", {
18639
18639
  enumerable: true,
18640
- get: function () { return chunkV7GGKT6W_cjs.callMemberKeys; }
18640
+ get: function () { return chunkGVU3KYP3_cjs.callMemberKeys; }
18641
18641
  });
18642
18642
  Object.defineProperty(exports, "callSession", {
18643
18643
  enumerable: true,
18644
- get: function () { return chunkV7GGKT6W_cjs.callSession; }
18644
+ get: function () { return chunkGVU3KYP3_cjs.callSession; }
18645
18645
  });
18646
18646
  Object.defineProperty(exports, "chatByExtId", {
18647
18647
  enumerable: true,
18648
- get: function () { return chunkV7GGKT6W_cjs.chatByExtId; }
18648
+ get: function () { return chunkGVU3KYP3_cjs.chatByExtId; }
18649
18649
  });
18650
18650
  Object.defineProperty(exports, "chatHasLiveCall", {
18651
18651
  enumerable: true,
18652
- get: function () { return chunkV7GGKT6W_cjs.chatHasLiveCall; }
18652
+ get: function () { return chunkGVU3KYP3_cjs.chatHasLiveCall; }
18653
18653
  });
18654
18654
  Object.defineProperty(exports, "chatLiveCallId", {
18655
18655
  enumerable: true,
18656
- get: function () { return chunkV7GGKT6W_cjs.chatLiveCallId; }
18656
+ get: function () { return chunkGVU3KYP3_cjs.chatLiveCallId; }
18657
18657
  });
18658
18658
  Object.defineProperty(exports, "chatTranscriptRef", {
18659
18659
  enumerable: true,
18660
- get: function () { return chunkV7GGKT6W_cjs.chatTranscriptRef; }
18660
+ get: function () { return chunkGVU3KYP3_cjs.chatTranscriptRef; }
18661
18661
  });
18662
18662
  Object.defineProperty(exports, "clearMeetingChatCache", {
18663
18663
  enumerable: true,
18664
- get: function () { return chunkV7GGKT6W_cjs.clearMeetingChatCache; }
18664
+ get: function () { return chunkGVU3KYP3_cjs.clearMeetingChatCache; }
18665
18665
  });
18666
18666
  Object.defineProperty(exports, "clearTrackUploaders", {
18667
18667
  enumerable: true,
18668
- get: function () { return chunkV7GGKT6W_cjs.clearTrackUploaders; }
18668
+ get: function () { return chunkGVU3KYP3_cjs.clearTrackUploaders; }
18669
18669
  });
18670
18670
  Object.defineProperty(exports, "clockTime", {
18671
18671
  enumerable: true,
18672
- get: function () { return chunkV7GGKT6W_cjs.clockTime; }
18672
+ get: function () { return chunkGVU3KYP3_cjs.clockTime; }
18673
18673
  });
18674
18674
  Object.defineProperty(exports, "compositeFiles", {
18675
18675
  enumerable: true,
18676
- get: function () { return chunkV7GGKT6W_cjs.compositeFiles; }
18676
+ get: function () { return chunkGVU3KYP3_cjs.compositeFiles; }
18677
18677
  });
18678
18678
  Object.defineProperty(exports, "compositeTrack", {
18679
18679
  enumerable: true,
18680
- get: function () { return chunkV7GGKT6W_cjs.compositeTrack; }
18680
+ get: function () { return chunkGVU3KYP3_cjs.compositeTrack; }
18681
18681
  });
18682
18682
  Object.defineProperty(exports, "conversationKeyForCall", {
18683
18683
  enumerable: true,
18684
- get: function () { return chunkV7GGKT6W_cjs.conversationKeyForCall; }
18684
+ get: function () { return chunkGVU3KYP3_cjs.conversationKeyForCall; }
18685
18685
  });
18686
18686
  Object.defineProperty(exports, "createLocalFeatureStore", {
18687
18687
  enumerable: true,
18688
- get: function () { return chunkV7GGKT6W_cjs.createLocalFeatureStore; }
18688
+ get: function () { return chunkGVU3KYP3_cjs.createLocalFeatureStore; }
18689
18689
  });
18690
18690
  Object.defineProperty(exports, "createMutedNotifier", {
18691
18691
  enumerable: true,
18692
- get: function () { return chunkV7GGKT6W_cjs.createMutedNotifier; }
18692
+ get: function () { return chunkGVU3KYP3_cjs.createMutedNotifier; }
18693
18693
  });
18694
18694
  Object.defineProperty(exports, "createTrackCutter", {
18695
18695
  enumerable: true,
18696
- get: function () { return chunkV7GGKT6W_cjs.createTrackCutter; }
18696
+ get: function () { return chunkGVU3KYP3_cjs.createTrackCutter; }
18697
18697
  });
18698
18698
  Object.defineProperty(exports, "cutAtPauses", {
18699
18699
  enumerable: true,
18700
- get: function () { return chunkV7GGKT6W_cjs.cutAtPauses; }
18700
+ get: function () { return chunkGVU3KYP3_cjs.cutAtPauses; }
18701
18701
  });
18702
18702
  Object.defineProperty(exports, "declineRing", {
18703
18703
  enumerable: true,
18704
- get: function () { return chunkV7GGKT6W_cjs.declineRing; }
18704
+ get: function () { return chunkGVU3KYP3_cjs.declineRing; }
18705
18705
  });
18706
18706
  Object.defineProperty(exports, "decodeCallChatPacket", {
18707
18707
  enumerable: true,
18708
- get: function () { return chunkV7GGKT6W_cjs.decodeCallChatPacket; }
18708
+ get: function () { return chunkGVU3KYP3_cjs.decodeCallChatPacket; }
18709
18709
  });
18710
18710
  Object.defineProperty(exports, "decodeCaptionPacket", {
18711
18711
  enumerable: true,
18712
- get: function () { return chunkV7GGKT6W_cjs.decodeCaptionPacket; }
18712
+ get: function () { return chunkGVU3KYP3_cjs.decodeCaptionPacket; }
18713
18713
  });
18714
18714
  Object.defineProperty(exports, "decodeMono16k", {
18715
18715
  enumerable: true,
18716
- get: function () { return chunkV7GGKT6W_cjs.decodeMono16k; }
18716
+ get: function () { return chunkGVU3KYP3_cjs.decodeMono16k; }
18717
18717
  });
18718
18718
  Object.defineProperty(exports, "decryptPart", {
18719
18719
  enumerable: true,
18720
- get: function () { return chunkV7GGKT6W_cjs.decryptPart; }
18720
+ get: function () { return chunkGVU3KYP3_cjs.decryptPart; }
18721
18721
  });
18722
18722
  Object.defineProperty(exports, "encodeCallChatPacket", {
18723
18723
  enumerable: true,
18724
- get: function () { return chunkV7GGKT6W_cjs.encodeCallChatPacket; }
18724
+ get: function () { return chunkGVU3KYP3_cjs.encodeCallChatPacket; }
18725
18725
  });
18726
18726
  Object.defineProperty(exports, "encodeCaptionPacket", {
18727
18727
  enumerable: true,
18728
- get: function () { return chunkV7GGKT6W_cjs.encodeCaptionPacket; }
18728
+ get: function () { return chunkGVU3KYP3_cjs.encodeCaptionPacket; }
18729
18729
  });
18730
18730
  Object.defineProperty(exports, "encodeWav", {
18731
18731
  enumerable: true,
18732
- get: function () { return chunkV7GGKT6W_cjs.encodeWav; }
18732
+ get: function () { return chunkGVU3KYP3_cjs.encodeWav; }
18733
18733
  });
18734
18734
  Object.defineProperty(exports, "encryptPart", {
18735
18735
  enumerable: true,
18736
- get: function () { return chunkV7GGKT6W_cjs.encryptPart; }
18736
+ get: function () { return chunkGVU3KYP3_cjs.encryptPart; }
18737
18737
  });
18738
18738
  Object.defineProperty(exports, "ensureMeetingChat", {
18739
18739
  enumerable: true,
18740
- get: function () { return chunkV7GGKT6W_cjs.ensureMeetingChat; }
18740
+ get: function () { return chunkGVU3KYP3_cjs.ensureMeetingChat; }
18741
18741
  });
18742
18742
  Object.defineProperty(exports, "entitlementRefusal", {
18743
18743
  enumerable: true,
18744
- get: function () { return chunkV7GGKT6W_cjs.entitlementRefusal; }
18744
+ get: function () { return chunkGVU3KYP3_cjs.entitlementRefusal; }
18745
18745
  });
18746
18746
  Object.defineProperty(exports, "extensionFor", {
18747
18747
  enumerable: true,
18748
- get: function () { return chunkV7GGKT6W_cjs.extensionFor; }
18748
+ get: function () { return chunkGVU3KYP3_cjs.extensionFor; }
18749
18749
  });
18750
18750
  Object.defineProperty(exports, "fetchPart", {
18751
18751
  enumerable: true,
18752
- get: function () { return chunkV7GGKT6W_cjs.fetchPart; }
18752
+ get: function () { return chunkGVU3KYP3_cjs.fetchPart; }
18753
18753
  });
18754
18754
  Object.defineProperty(exports, "fileSafe", {
18755
18755
  enumerable: true,
18756
- get: function () { return chunkV7GGKT6W_cjs.fileSafe; }
18756
+ get: function () { return chunkGVU3KYP3_cjs.fileSafe; }
18757
18757
  });
18758
18758
  Object.defineProperty(exports, "findConversation", {
18759
18759
  enumerable: true,
18760
- get: function () { return chunkV7GGKT6W_cjs.findConversation; }
18760
+ get: function () { return chunkGVU3KYP3_cjs.findConversation; }
18761
18761
  });
18762
18762
  Object.defineProperty(exports, "floatToWav", {
18763
18763
  enumerable: true,
18764
- get: function () { return chunkV7GGKT6W_cjs.floatToWav; }
18764
+ get: function () { return chunkGVU3KYP3_cjs.floatToWav; }
18765
18765
  });
18766
18766
  Object.defineProperty(exports, "formatTranscriptMarkdown", {
18767
18767
  enumerable: true,
18768
- get: function () { return chunkV7GGKT6W_cjs.formatTranscriptMarkdown; }
18768
+ get: function () { return chunkGVU3KYP3_cjs.formatTranscriptMarkdown; }
18769
18769
  });
18770
18770
  Object.defineProperty(exports, "getOpenChat", {
18771
18771
  enumerable: true,
18772
- get: function () { return chunkV7GGKT6W_cjs.getOpenChat; }
18772
+ get: function () { return chunkGVU3KYP3_cjs.getOpenChat; }
18773
18773
  });
18774
18774
  Object.defineProperty(exports, "hasRecordingTranscript", {
18775
18775
  enumerable: true,
18776
- get: function () { return chunkV7GGKT6W_cjs.hasRecordingTranscript; }
18776
+ get: function () { return chunkGVU3KYP3_cjs.hasRecordingTranscript; }
18777
18777
  });
18778
18778
  Object.defineProperty(exports, "invalidateCall", {
18779
18779
  enumerable: true,
18780
- get: function () { return chunkV7GGKT6W_cjs.invalidateCall; }
18780
+ get: function () { return chunkGVU3KYP3_cjs.invalidateCall; }
18781
18781
  });
18782
18782
  Object.defineProperty(exports, "invalidateConversationDetails", {
18783
18783
  enumerable: true,
18784
- get: function () { return chunkV7GGKT6W_cjs.invalidateConversationDetails; }
18784
+ get: function () { return chunkGVU3KYP3_cjs.invalidateConversationDetails; }
18785
18785
  });
18786
18786
  Object.defineProperty(exports, "invalidateConversationLists", {
18787
18787
  enumerable: true,
18788
- get: function () { return chunkV7GGKT6W_cjs.invalidateConversationLists; }
18788
+ get: function () { return chunkGVU3KYP3_cjs.invalidateConversationLists; }
18789
18789
  });
18790
18790
  Object.defineProperty(exports, "isConversationListKey", {
18791
18791
  enumerable: true,
18792
- get: function () { return chunkV7GGKT6W_cjs.isConversationListKey; }
18792
+ get: function () { return chunkGVU3KYP3_cjs.isConversationListKey; }
18793
18793
  });
18794
18794
  Object.defineProperty(exports, "isConversationShared", {
18795
18795
  enumerable: true,
18796
- get: function () { return chunkV7GGKT6W_cjs.isConversationShared; }
18796
+ get: function () { return chunkGVU3KYP3_cjs.isConversationShared; }
18797
18797
  });
18798
18798
  Object.defineProperty(exports, "isRecordingOver", {
18799
18799
  enumerable: true,
18800
- get: function () { return chunkV7GGKT6W_cjs.isRecordingOver; }
18800
+ get: function () { return chunkGVU3KYP3_cjs.isRecordingOver; }
18801
18801
  });
18802
18802
  Object.defineProperty(exports, "isRecordingSegmentId", {
18803
18803
  enumerable: true,
18804
- get: function () { return chunkV7GGKT6W_cjs.isRecordingSegmentId; }
18804
+ get: function () { return chunkGVU3KYP3_cjs.isRecordingSegmentId; }
18805
18805
  });
18806
18806
  Object.defineProperty(exports, "isRetryable", {
18807
18807
  enumerable: true,
18808
- get: function () { return chunkV7GGKT6W_cjs.isRetryable; }
18808
+ get: function () { return chunkGVU3KYP3_cjs.isRetryable; }
18809
18809
  });
18810
18810
  Object.defineProperty(exports, "isWorkspaceGuestOf", {
18811
18811
  enumerable: true,
18812
- get: function () { return chunkV7GGKT6W_cjs.isWorkspaceGuestOf; }
18812
+ get: function () { return chunkGVU3KYP3_cjs.isWorkspaceGuestOf; }
18813
18813
  });
18814
18814
  Object.defineProperty(exports, "joinFromPreJoin", {
18815
18815
  enumerable: true,
18816
- get: function () { return chunkV7GGKT6W_cjs.joinFromPreJoin; }
18816
+ get: function () { return chunkGVU3KYP3_cjs.joinFromPreJoin; }
18817
18817
  });
18818
18818
  Object.defineProperty(exports, "knownMeetingChat", {
18819
18819
  enumerable: true,
18820
- get: function () { return chunkV7GGKT6W_cjs.knownMeetingChat; }
18820
+ get: function () { return chunkGVU3KYP3_cjs.knownMeetingChat; }
18821
18821
  });
18822
18822
  Object.defineProperty(exports, "loadMeetingHistory", {
18823
18823
  enumerable: true,
18824
- get: function () { return chunkV7GGKT6W_cjs.loadMeetingHistory; }
18824
+ get: function () { return chunkGVU3KYP3_cjs.loadMeetingHistory; }
18825
18825
  });
18826
18826
  Object.defineProperty(exports, "markRejoining", {
18827
18827
  enumerable: true,
18828
- get: function () { return chunkV7GGKT6W_cjs.markRejoining; }
18828
+ get: function () { return chunkGVU3KYP3_cjs.markRejoining; }
18829
18829
  });
18830
18830
  Object.defineProperty(exports, "meetingChatRefFrom", {
18831
18831
  enumerable: true,
18832
- get: function () { return chunkV7GGKT6W_cjs.meetingChatRefFrom; }
18832
+ get: function () { return chunkGVU3KYP3_cjs.meetingChatRefFrom; }
18833
18833
  });
18834
18834
  Object.defineProperty(exports, "meetingRefForCall", {
18835
18835
  enumerable: true,
18836
- get: function () { return chunkV7GGKT6W_cjs.meetingRefForCall; }
18836
+ get: function () { return chunkGVU3KYP3_cjs.meetingRefForCall; }
18837
18837
  });
18838
18838
  Object.defineProperty(exports, "mergeChatLines", {
18839
18839
  enumerable: true,
18840
- get: function () { return chunkV7GGKT6W_cjs.mergeChatLines; }
18840
+ get: function () { return chunkGVU3KYP3_cjs.mergeChatLines; }
18841
18841
  });
18842
18842
  Object.defineProperty(exports, "mutedNoticeFromEvent", {
18843
18843
  enumerable: true,
18844
- get: function () { return chunkV7GGKT6W_cjs.mutedNoticeFromEvent; }
18844
+ get: function () { return chunkGVU3KYP3_cjs.mutedNoticeFromEvent; }
18845
18845
  });
18846
18846
  Object.defineProperty(exports, "mutedNoticeFromPacket", {
18847
18847
  enumerable: true,
18848
- get: function () { return chunkV7GGKT6W_cjs.mutedNoticeFromPacket; }
18848
+ get: function () { return chunkGVU3KYP3_cjs.mutedNoticeFromPacket; }
18849
18849
  });
18850
18850
  Object.defineProperty(exports, "mutedNoticeText", {
18851
18851
  enumerable: true,
18852
- get: function () { return chunkV7GGKT6W_cjs.mutedNoticeText; }
18852
+ get: function () { return chunkGVU3KYP3_cjs.mutedNoticeText; }
18853
18853
  });
18854
18854
  Object.defineProperty(exports, "myChatId", {
18855
18855
  enumerable: true,
18856
- get: function () { return chunkV7GGKT6W_cjs.myChatId; }
18856
+ get: function () { return chunkGVU3KYP3_cjs.myChatId; }
18857
18857
  });
18858
18858
  Object.defineProperty(exports, "newPacketId", {
18859
18859
  enumerable: true,
18860
- get: function () { return chunkV7GGKT6W_cjs.newPacketId; }
18860
+ get: function () { return chunkGVU3KYP3_cjs.newPacketId; }
18861
18861
  });
18862
18862
  Object.defineProperty(exports, "newSegmentId", {
18863
18863
  enumerable: true,
18864
- get: function () { return chunkV7GGKT6W_cjs.newSegmentId; }
18864
+ get: function () { return chunkGVU3KYP3_cjs.newSegmentId; }
18865
18865
  });
18866
18866
  Object.defineProperty(exports, "newTrackKey", {
18867
18867
  enumerable: true,
18868
- get: function () { return chunkV7GGKT6W_cjs.newTrackKey; }
18868
+ get: function () { return chunkGVU3KYP3_cjs.newTrackKey; }
18869
18869
  });
18870
18870
  Object.defineProperty(exports, "nextSeqAfter", {
18871
18871
  enumerable: true,
18872
- get: function () { return chunkV7GGKT6W_cjs.nextSeqAfter; }
18872
+ get: function () { return chunkGVU3KYP3_cjs.nextSeqAfter; }
18873
18873
  });
18874
18874
  Object.defineProperty(exports, "onCallEvent", {
18875
18875
  enumerable: true,
18876
- get: function () { return chunkV7GGKT6W_cjs.onCallEvent; }
18876
+ get: function () { return chunkGVU3KYP3_cjs.onCallEvent; }
18877
18877
  });
18878
18878
  Object.defineProperty(exports, "openCall", {
18879
18879
  enumerable: true,
18880
- get: function () { return chunkV7GGKT6W_cjs.openCall; }
18880
+ get: function () { return chunkGVU3KYP3_cjs.openCall; }
18881
18881
  });
18882
18882
  Object.defineProperty(exports, "openQuestion", {
18883
18883
  enumerable: true,
18884
- get: function () { return chunkV7GGKT6W_cjs.openQuestion; }
18884
+ get: function () { return chunkGVU3KYP3_cjs.openQuestion; }
18885
18885
  });
18886
18886
  Object.defineProperty(exports, "openRecording", {
18887
18887
  enumerable: true,
18888
- get: function () { return chunkV7GGKT6W_cjs.openRecording; }
18888
+ get: function () { return chunkGVU3KYP3_cjs.openRecording; }
18889
18889
  });
18890
18890
  Object.defineProperty(exports, "parseWebinarPacket", {
18891
18891
  enumerable: true,
18892
- get: function () { return chunkV7GGKT6W_cjs.parseWebinarPacket; }
18892
+ get: function () { return chunkGVU3KYP3_cjs.parseWebinarPacket; }
18893
18893
  });
18894
18894
  Object.defineProperty(exports, "partKey", {
18895
18895
  enumerable: true,
18896
- get: function () { return chunkV7GGKT6W_cjs.partKey; }
18896
+ get: function () { return chunkGVU3KYP3_cjs.partKey; }
18897
18897
  });
18898
18898
  Object.defineProperty(exports, "partOffsetMs", {
18899
18899
  enumerable: true,
18900
- get: function () { return chunkV7GGKT6W_cjs.partOffsetMs; }
18900
+ get: function () { return chunkGVU3KYP3_cjs.partOffsetMs; }
18901
18901
  });
18902
18902
  Object.defineProperty(exports, "partsDue", {
18903
18903
  enumerable: true,
18904
- get: function () { return chunkV7GGKT6W_cjs.partsDue; }
18904
+ get: function () { return chunkGVU3KYP3_cjs.partsDue; }
18905
18905
  });
18906
18906
  Object.defineProperty(exports, "patchConversation", {
18907
18907
  enumerable: true,
18908
- get: function () { return chunkV7GGKT6W_cjs.patchConversation; }
18908
+ get: function () { return chunkGVU3KYP3_cjs.patchConversation; }
18909
18909
  });
18910
18910
  Object.defineProperty(exports, "patchConversationList", {
18911
18911
  enumerable: true,
18912
- get: function () { return chunkV7GGKT6W_cjs.patchConversationList; }
18912
+ get: function () { return chunkGVU3KYP3_cjs.patchConversationList; }
18913
18913
  });
18914
18914
  Object.defineProperty(exports, "persistMeetingMessage", {
18915
18915
  enumerable: true,
18916
- get: function () { return chunkV7GGKT6W_cjs.persistMeetingMessage; }
18916
+ get: function () { return chunkGVU3KYP3_cjs.persistMeetingMessage; }
18917
18917
  });
18918
18918
  Object.defineProperty(exports, "persistTranscriptSegment", {
18919
18919
  enumerable: true,
18920
- get: function () { return chunkV7GGKT6W_cjs.persistTranscriptSegment; }
18920
+ get: function () { return chunkGVU3KYP3_cjs.persistTranscriptSegment; }
18921
18921
  });
18922
18922
  Object.defineProperty(exports, "playheadAt", {
18923
18923
  enumerable: true,
18924
- get: function () { return chunkV7GGKT6W_cjs.playheadAt; }
18924
+ get: function () { return chunkGVU3KYP3_cjs.playheadAt; }
18925
18925
  });
18926
18926
  Object.defineProperty(exports, "postRecordingDocsToThread", {
18927
18927
  enumerable: true,
18928
- get: function () { return chunkV7GGKT6W_cjs.postRecordingDocsToThread; }
18928
+ get: function () { return chunkGVU3KYP3_cjs.postRecordingDocsToThread; }
18929
18929
  });
18930
18930
  Object.defineProperty(exports, "postTranscriptToThread", {
18931
18931
  enumerable: true,
18932
- get: function () { return chunkV7GGKT6W_cjs.postTranscriptToThread; }
18932
+ get: function () { return chunkGVU3KYP3_cjs.postTranscriptToThread; }
18933
18933
  });
18934
18934
  Object.defineProperty(exports, "readLocalFeature", {
18935
18935
  enumerable: true,
18936
- get: function () { return chunkV7GGKT6W_cjs.readLocalFeature; }
18936
+ get: function () { return chunkGVU3KYP3_cjs.readLocalFeature; }
18937
18937
  });
18938
18938
  Object.defineProperty(exports, "recordingFiles", {
18939
18939
  enumerable: true,
18940
- get: function () { return chunkV7GGKT6W_cjs.recordingFiles; }
18940
+ get: function () { return chunkGVU3KYP3_cjs.recordingFiles; }
18941
18941
  });
18942
18942
  Object.defineProperty(exports, "recordingWindowsOf", {
18943
18943
  enumerable: true,
18944
- get: function () { return chunkV7GGKT6W_cjs.recordingWindowsOf; }
18944
+ get: function () { return chunkGVU3KYP3_cjs.recordingWindowsOf; }
18945
18945
  });
18946
18946
  Object.defineProperty(exports, "rejoinAsAudience", {
18947
18947
  enumerable: true,
18948
- get: function () { return chunkV7GGKT6W_cjs.rejoinAsAudience; }
18948
+ get: function () { return chunkGVU3KYP3_cjs.rejoinAsAudience; }
18949
18949
  });
18950
18950
  Object.defineProperty(exports, "removeChat", {
18951
18951
  enumerable: true,
18952
- get: function () { return chunkV7GGKT6W_cjs.removeChat; }
18952
+ get: function () { return chunkGVU3KYP3_cjs.removeChat; }
18953
18953
  });
18954
18954
  Object.defineProperty(exports, "removeConversationFromLists", {
18955
18955
  enumerable: true,
18956
- get: function () { return chunkV7GGKT6W_cjs.removeConversationFromLists; }
18956
+ get: function () { return chunkGVU3KYP3_cjs.removeConversationFromLists; }
18957
18957
  });
18958
18958
  Object.defineProperty(exports, "resetCallSession", {
18959
18959
  enumerable: true,
18960
- get: function () { return chunkV7GGKT6W_cjs.resetCallSession; }
18960
+ get: function () { return chunkGVU3KYP3_cjs.resetCallSession; }
18961
18961
  });
18962
18962
  Object.defineProperty(exports, "resolveMeetingChat", {
18963
18963
  enumerable: true,
18964
- get: function () { return chunkV7GGKT6W_cjs.resolveMeetingChat; }
18964
+ get: function () { return chunkGVU3KYP3_cjs.resolveMeetingChat; }
18965
18965
  });
18966
18966
  Object.defineProperty(exports, "saveRecordingFilesToThread", {
18967
18967
  enumerable: true,
18968
- get: function () { return chunkV7GGKT6W_cjs.saveRecordingFilesToThread; }
18968
+ get: function () { return chunkGVU3KYP3_cjs.saveRecordingFilesToThread; }
18969
18969
  });
18970
18970
  Object.defineProperty(exports, "schedulePart", {
18971
18971
  enumerable: true,
18972
- get: function () { return chunkV7GGKT6W_cjs.schedulePart; }
18972
+ get: function () { return chunkGVU3KYP3_cjs.schedulePart; }
18973
18973
  });
18974
18974
  Object.defineProperty(exports, "sealQuestionText", {
18975
18975
  enumerable: true,
18976
- get: function () { return chunkV7GGKT6W_cjs.sealQuestionText; }
18976
+ get: function () { return chunkGVU3KYP3_cjs.sealQuestionText; }
18977
18977
  });
18978
18978
  Object.defineProperty(exports, "serverCallsExperimental", {
18979
18979
  enumerable: true,
18980
- get: function () { return chunkV7GGKT6W_cjs.serverCallsExperimental; }
18980
+ get: function () { return chunkGVU3KYP3_cjs.serverCallsExperimental; }
18981
18981
  });
18982
18982
  Object.defineProperty(exports, "setOpenChat", {
18983
18983
  enumerable: true,
18984
- get: function () { return chunkV7GGKT6W_cjs.setOpenChat; }
18984
+ get: function () { return chunkGVU3KYP3_cjs.setOpenChat; }
18985
18985
  });
18986
18986
  Object.defineProperty(exports, "sortTranscriptMessages", {
18987
18987
  enumerable: true,
18988
- get: function () { return chunkV7GGKT6W_cjs.sortTranscriptMessages; }
18988
+ get: function () { return chunkGVU3KYP3_cjs.sortTranscriptMessages; }
18989
18989
  });
18990
18990
  Object.defineProperty(exports, "sortedParts", {
18991
18991
  enumerable: true,
18992
- get: function () { return chunkV7GGKT6W_cjs.sortedParts; }
18992
+ get: function () { return chunkGVU3KYP3_cjs.sortedParts; }
18993
18993
  });
18994
18994
  Object.defineProperty(exports, "speakerTracks", {
18995
18995
  enumerable: true,
18996
- get: function () { return chunkV7GGKT6W_cjs.speakerTracks; }
18996
+ get: function () { return chunkGVU3KYP3_cjs.speakerTracks; }
18997
18997
  });
18998
18998
  Object.defineProperty(exports, "speakerWav", {
18999
18999
  enumerable: true,
19000
- get: function () { return chunkV7GGKT6W_cjs.speakerWav; }
19000
+ get: function () { return chunkGVU3KYP3_cjs.speakerWav; }
19001
19001
  });
19002
19002
  Object.defineProperty(exports, "splitIntoFiles", {
19003
19003
  enumerable: true,
19004
- get: function () { return chunkV7GGKT6W_cjs.splitIntoFiles; }
19004
+ get: function () { return chunkGVU3KYP3_cjs.splitIntoFiles; }
19005
19005
  });
19006
19006
  Object.defineProperty(exports, "standalone", {
19007
19007
  enumerable: true,
19008
- get: function () { return chunkV7GGKT6W_cjs.standalone; }
19008
+ get: function () { return chunkGVU3KYP3_cjs.standalone; }
19009
19009
  });
19010
19010
  Object.defineProperty(exports, "startChatCall", {
19011
19011
  enumerable: true,
19012
- get: function () { return chunkV7GGKT6W_cjs.startChatCall; }
19012
+ get: function () { return chunkGVU3KYP3_cjs.startChatCall; }
19013
19013
  });
19014
19014
  Object.defineProperty(exports, "startContactsCall", {
19015
19015
  enumerable: true,
19016
- get: function () { return chunkV7GGKT6W_cjs.startContactsCall; }
19016
+ get: function () { return chunkGVU3KYP3_cjs.startContactsCall; }
19017
19017
  });
19018
19018
  Object.defineProperty(exports, "startDmCall", {
19019
19019
  enumerable: true,
19020
- get: function () { return chunkV7GGKT6W_cjs.startDmCall; }
19020
+ get: function () { return chunkGVU3KYP3_cjs.startDmCall; }
19021
19021
  });
19022
19022
  Object.defineProperty(exports, "startThreadCall", {
19023
19023
  enumerable: true,
19024
- get: function () { return chunkV7GGKT6W_cjs.startThreadCall; }
19024
+ get: function () { return chunkGVU3KYP3_cjs.startThreadCall; }
19025
19025
  });
19026
19026
  Object.defineProperty(exports, "startsMediaFile", {
19027
19027
  enumerable: true,
19028
- get: function () { return chunkV7GGKT6W_cjs.startsMediaFile; }
19028
+ get: function () { return chunkGVU3KYP3_cjs.startsMediaFile; }
19029
19029
  });
19030
19030
  Object.defineProperty(exports, "storeTranscriptSegment", {
19031
19031
  enumerable: true,
19032
- get: function () { return chunkV7GGKT6W_cjs.storeTranscriptSegment; }
19032
+ get: function () { return chunkGVU3KYP3_cjs.storeTranscriptSegment; }
19033
19033
  });
19034
19034
  Object.defineProperty(exports, "stripSpeakerPrefix", {
19035
19035
  enumerable: true,
19036
- get: function () { return chunkV7GGKT6W_cjs.stripSpeakerPrefix; }
19036
+ get: function () { return chunkGVU3KYP3_cjs.stripSpeakerPrefix; }
19037
19037
  });
19038
19038
  Object.defineProperty(exports, "supersedeLiveTranscript", {
19039
19039
  enumerable: true,
19040
- get: function () { return chunkV7GGKT6W_cjs.supersedeLiveTranscript; }
19040
+ get: function () { return chunkGVU3KYP3_cjs.supersedeLiveTranscript; }
19041
19041
  });
19042
19042
  Object.defineProperty(exports, "supersededTranscriptLines", {
19043
19043
  enumerable: true,
19044
- get: function () { return chunkV7GGKT6W_cjs.supersededTranscriptLines; }
19044
+ get: function () { return chunkGVU3KYP3_cjs.supersededTranscriptLines; }
19045
19045
  });
19046
19046
  Object.defineProperty(exports, "threadHasLiveCall", {
19047
19047
  enumerable: true,
19048
- get: function () { return chunkV7GGKT6W_cjs.threadHasLiveCall; }
19048
+ get: function () { return chunkGVU3KYP3_cjs.threadHasLiveCall; }
19049
19049
  });
19050
19050
  Object.defineProperty(exports, "threadLiveCallId", {
19051
19051
  enumerable: true,
19052
- get: function () { return chunkV7GGKT6W_cjs.threadLiveCallId; }
19052
+ get: function () { return chunkGVU3KYP3_cjs.threadLiveCallId; }
19053
19053
  });
19054
19054
  Object.defineProperty(exports, "threadTranscriptLines", {
19055
19055
  enumerable: true,
19056
- get: function () { return chunkV7GGKT6W_cjs.threadTranscriptLines; }
19056
+ get: function () { return chunkGVU3KYP3_cjs.threadTranscriptLines; }
19057
19057
  });
19058
19058
  Object.defineProperty(exports, "threadTranscriptRef", {
19059
19059
  enumerable: true,
19060
- get: function () { return chunkV7GGKT6W_cjs.threadTranscriptRef; }
19060
+ get: function () { return chunkGVU3KYP3_cjs.threadTranscriptRef; }
19061
19061
  });
19062
19062
  Object.defineProperty(exports, "threadTranscriptText", {
19063
19063
  enumerable: true,
19064
- get: function () { return chunkV7GGKT6W_cjs.threadTranscriptText; }
19064
+ get: function () { return chunkGVU3KYP3_cjs.threadTranscriptText; }
19065
19065
  });
19066
19066
  Object.defineProperty(exports, "timelineDurationMs", {
19067
19067
  enumerable: true,
19068
- get: function () { return chunkV7GGKT6W_cjs.timelineDurationMs; }
19068
+ get: function () { return chunkGVU3KYP3_cjs.timelineDurationMs; }
19069
19069
  });
19070
19070
  Object.defineProperty(exports, "timelineOf", {
19071
19071
  enumerable: true,
19072
- get: function () { return chunkV7GGKT6W_cjs.timelineOf; }
19072
+ get: function () { return chunkGVU3KYP3_cjs.timelineOf; }
19073
19073
  });
19074
19074
  Object.defineProperty(exports, "toProfileView", {
19075
19075
  enumerable: true,
19076
- get: function () { return chunkV7GGKT6W_cjs.toProfileView; }
19076
+ get: function () { return chunkGVU3KYP3_cjs.toProfileView; }
19077
19077
  });
19078
19078
  Object.defineProperty(exports, "trackUploaderFor", {
19079
19079
  enumerable: true,
19080
- get: function () { return chunkV7GGKT6W_cjs.trackUploaderFor; }
19080
+ get: function () { return chunkGVU3KYP3_cjs.trackUploaderFor; }
19081
19081
  });
19082
19082
  Object.defineProperty(exports, "transcribeRecording", {
19083
19083
  enumerable: true,
19084
- get: function () { return chunkV7GGKT6W_cjs.transcribeRecording; }
19084
+ get: function () { return chunkGVU3KYP3_cjs.transcribeRecording; }
19085
19085
  });
19086
19086
  Object.defineProperty(exports, "transcriptPersistRole", {
19087
19087
  enumerable: true,
19088
- get: function () { return chunkV7GGKT6W_cjs.transcriptPersistRole; }
19088
+ get: function () { return chunkGVU3KYP3_cjs.transcriptPersistRole; }
19089
19089
  });
19090
19090
  Object.defineProperty(exports, "transcriptSegmentOf", {
19091
19091
  enumerable: true,
19092
- get: function () { return chunkV7GGKT6W_cjs.transcriptSegmentOf; }
19092
+ get: function () { return chunkGVU3KYP3_cjs.transcriptSegmentOf; }
19093
19093
  });
19094
19094
  Object.defineProperty(exports, "unwrapTrackKey", {
19095
19095
  enumerable: true,
19096
- get: function () { return chunkV7GGKT6W_cjs.unwrapTrackKey; }
19096
+ get: function () { return chunkGVU3KYP3_cjs.unwrapTrackKey; }
19097
19097
  });
19098
19098
  Object.defineProperty(exports, "upsertChat", {
19099
19099
  enumerable: true,
19100
- get: function () { return chunkV7GGKT6W_cjs.upsertChat; }
19100
+ get: function () { return chunkGVU3KYP3_cjs.upsertChat; }
19101
19101
  });
19102
19102
  Object.defineProperty(exports, "useAccountClient", {
19103
19103
  enumerable: true,
19104
- get: function () { return chunkV7GGKT6W_cjs.useAccountClient; }
19104
+ get: function () { return chunkGVU3KYP3_cjs.useAccountClient; }
19105
19105
  });
19106
19106
  Object.defineProperty(exports, "useAvatarCrop", {
19107
19107
  enumerable: true,
19108
- get: function () { return chunkV7GGKT6W_cjs.useAvatarCrop; }
19108
+ get: function () { return chunkGVU3KYP3_cjs.useAvatarCrop; }
19109
19109
  });
19110
19110
  Object.defineProperty(exports, "useCall", {
19111
19111
  enumerable: true,
19112
- get: function () { return chunkV7GGKT6W_cjs.useCall; }
19112
+ get: function () { return chunkGVU3KYP3_cjs.useCall; }
19113
19113
  });
19114
19114
  Object.defineProperty(exports, "useCallInviteLinks", {
19115
19115
  enumerable: true,
19116
- get: function () { return chunkV7GGKT6W_cjs.useCallInviteLinks; }
19116
+ get: function () { return chunkGVU3KYP3_cjs.useCallInviteLinks; }
19117
19117
  });
19118
19118
  Object.defineProperty(exports, "useCallRecording", {
19119
19119
  enumerable: true,
19120
- get: function () { return chunkV7GGKT6W_cjs.useCallRecording; }
19120
+ get: function () { return chunkGVU3KYP3_cjs.useCallRecording; }
19121
19121
  });
19122
19122
  Object.defineProperty(exports, "useCallRecordings", {
19123
19123
  enumerable: true,
19124
- get: function () { return chunkV7GGKT6W_cjs.useCallRecordings; }
19124
+ get: function () { return chunkGVU3KYP3_cjs.useCallRecordings; }
19125
19125
  });
19126
19126
  Object.defineProperty(exports, "useCallSession", {
19127
19127
  enumerable: true,
19128
- get: function () { return chunkV7GGKT6W_cjs.useCallSession; }
19128
+ get: function () { return chunkGVU3KYP3_cjs.useCallSession; }
19129
19129
  });
19130
19130
  Object.defineProperty(exports, "useCallTranscriptionAvailable", {
19131
19131
  enumerable: true,
19132
- get: function () { return chunkV7GGKT6W_cjs.useCallTranscriptionAvailable; }
19132
+ get: function () { return chunkGVU3KYP3_cjs.useCallTranscriptionAvailable; }
19133
19133
  });
19134
19134
  Object.defineProperty(exports, "useCallsConfig", {
19135
19135
  enumerable: true,
19136
- get: function () { return chunkV7GGKT6W_cjs.useCallsConfig; }
19136
+ get: function () { return chunkGVU3KYP3_cjs.useCallsConfig; }
19137
19137
  });
19138
19138
  Object.defineProperty(exports, "useCallsEnabled", {
19139
19139
  enumerable: true,
19140
- get: function () { return chunkV7GGKT6W_cjs.useCallsEnabled; }
19140
+ get: function () { return chunkGVU3KYP3_cjs.useCallsEnabled; }
19141
19141
  });
19142
19142
  Object.defineProperty(exports, "useCanHostCalls", {
19143
19143
  enumerable: true,
19144
- get: function () { return chunkV7GGKT6W_cjs.useCanHostCalls; }
19144
+ get: function () { return chunkGVU3KYP3_cjs.useCanHostCalls; }
19145
19145
  });
19146
19146
  Object.defineProperty(exports, "useEntitlements", {
19147
19147
  enumerable: true,
19148
- get: function () { return chunkV7GGKT6W_cjs.useEntitlements; }
19148
+ get: function () { return chunkGVU3KYP3_cjs.useEntitlements; }
19149
19149
  });
19150
19150
  Object.defineProperty(exports, "useFeature", {
19151
19151
  enumerable: true,
19152
- get: function () { return chunkV7GGKT6W_cjs.useFeature; }
19152
+ get: function () { return chunkGVU3KYP3_cjs.useFeature; }
19153
19153
  });
19154
19154
  Object.defineProperty(exports, "useFeatureCheck", {
19155
19155
  enumerable: true,
19156
- get: function () { return chunkV7GGKT6W_cjs.useFeatureCheck; }
19156
+ get: function () { return chunkGVU3KYP3_cjs.useFeatureCheck; }
19157
19157
  });
19158
19158
  Object.defineProperty(exports, "useFeatureSwitch", {
19159
19159
  enumerable: true,
19160
- get: function () { return chunkV7GGKT6W_cjs.useFeatureSwitch; }
19160
+ get: function () { return chunkGVU3KYP3_cjs.useFeatureSwitch; }
19161
19161
  });
19162
19162
  Object.defineProperty(exports, "useInvalidateEntitlements", {
19163
19163
  enumerable: true,
19164
- get: function () { return chunkV7GGKT6W_cjs.useInvalidateEntitlements; }
19164
+ get: function () { return chunkGVU3KYP3_cjs.useInvalidateEntitlements; }
19165
19165
  });
19166
19166
  Object.defineProperty(exports, "useIsEntitled", {
19167
19167
  enumerable: true,
19168
- get: function () { return chunkV7GGKT6W_cjs.useIsEntitled; }
19168
+ get: function () { return chunkGVU3KYP3_cjs.useIsEntitled; }
19169
19169
  });
19170
19170
  Object.defineProperty(exports, "useMeetingReadOnly", {
19171
19171
  enumerable: true,
19172
- get: function () { return chunkV7GGKT6W_cjs.useMeetingReadOnly; }
19172
+ get: function () { return chunkGVU3KYP3_cjs.useMeetingReadOnly; }
19173
19173
  });
19174
19174
  Object.defineProperty(exports, "useNameEditor", {
19175
19175
  enumerable: true,
19176
- get: function () { return chunkV7GGKT6W_cjs.useNameEditor; }
19176
+ get: function () { return chunkGVU3KYP3_cjs.useNameEditor; }
19177
19177
  });
19178
19178
  Object.defineProperty(exports, "useOpenCallMeetingChat", {
19179
19179
  enumerable: true,
19180
- get: function () { return chunkV7GGKT6W_cjs.useOpenCallMeetingChat; }
19180
+ get: function () { return chunkGVU3KYP3_cjs.useOpenCallMeetingChat; }
19181
19181
  });
19182
19182
  Object.defineProperty(exports, "useProfile", {
19183
19183
  enumerable: true,
19184
- get: function () { return chunkV7GGKT6W_cjs.useProfile; }
19184
+ get: function () { return chunkGVU3KYP3_cjs.useProfile; }
19185
19185
  });
19186
19186
  Object.defineProperty(exports, "useRecordingActions", {
19187
19187
  enumerable: true,
19188
- get: function () { return chunkV7GGKT6W_cjs.useRecordingActions; }
19188
+ get: function () { return chunkGVU3KYP3_cjs.useRecordingActions; }
19189
19189
  });
19190
19190
  Object.defineProperty(exports, "useRecordingWindows", {
19191
19191
  enumerable: true,
19192
- get: function () { return chunkV7GGKT6W_cjs.useRecordingWindows; }
19192
+ get: function () { return chunkGVU3KYP3_cjs.useRecordingWindows; }
19193
19193
  });
19194
19194
  Object.defineProperty(exports, "useRevokeCallInviteLink", {
19195
19195
  enumerable: true,
19196
- get: function () { return chunkV7GGKT6W_cjs.useRevokeCallInviteLink; }
19196
+ get: function () { return chunkGVU3KYP3_cjs.useRevokeCallInviteLink; }
19197
19197
  });
19198
19198
  Object.defineProperty(exports, "useSaveToThread", {
19199
19199
  enumerable: true,
19200
- get: function () { return chunkV7GGKT6W_cjs.useSaveToThread; }
19200
+ get: function () { return chunkGVU3KYP3_cjs.useSaveToThread; }
19201
19201
  });
19202
19202
  Object.defineProperty(exports, "useServerCallsEnabled", {
19203
19203
  enumerable: true,
19204
- get: function () { return chunkV7GGKT6W_cjs.useServerCallsEnabled; }
19204
+ get: function () { return chunkGVU3KYP3_cjs.useServerCallsEnabled; }
19205
19205
  });
19206
19206
  Object.defineProperty(exports, "useServerCallsExperimental", {
19207
19207
  enumerable: true,
19208
- get: function () { return chunkV7GGKT6W_cjs.useServerCallsExperimental; }
19208
+ get: function () { return chunkGVU3KYP3_cjs.useServerCallsExperimental; }
19209
19209
  });
19210
19210
  Object.defineProperty(exports, "useUpdateProfile", {
19211
19211
  enumerable: true,
19212
- get: function () { return chunkV7GGKT6W_cjs.useUpdateProfile; }
19212
+ get: function () { return chunkGVU3KYP3_cjs.useUpdateProfile; }
19213
19213
  });
19214
19214
  Object.defineProperty(exports, "useUpdateUserSettings", {
19215
19215
  enumerable: true,
19216
- get: function () { return chunkV7GGKT6W_cjs.useUpdateUserSettings; }
19216
+ get: function () { return chunkGVU3KYP3_cjs.useUpdateUserSettings; }
19217
19217
  });
19218
19218
  Object.defineProperty(exports, "useUserSettings", {
19219
19219
  enumerable: true,
19220
- get: function () { return chunkV7GGKT6W_cjs.useUserSettings; }
19220
+ get: function () { return chunkGVU3KYP3_cjs.useUserSettings; }
19221
19221
  });
19222
19222
  Object.defineProperty(exports, "wipeOfflineMail", {
19223
19223
  enumerable: true,
19224
- get: function () { return chunkV7GGKT6W_cjs.wipeOfflineMail; }
19224
+ get: function () { return chunkGVU3KYP3_cjs.wipeOfflineMail; }
19225
19225
  });
19226
19226
  Object.defineProperty(exports, "wrapTrackKey", {
19227
19227
  enumerable: true,
19228
- get: function () { return chunkV7GGKT6W_cjs.wrapTrackKey; }
19228
+ get: function () { return chunkGVU3KYP3_cjs.wrapTrackKey; }
19229
19229
  });
19230
19230
  Object.defineProperty(exports, "writeSamples", {
19231
19231
  enumerable: true,
19232
- get: function () { return chunkV7GGKT6W_cjs.writeSamples; }
19232
+ get: function () { return chunkGVU3KYP3_cjs.writeSamples; }
19233
19233
  });
19234
19234
  Object.defineProperty(exports, "DISMISSED_TASK_TTL_MS", {
19235
19235
  enumerable: true,