@arbidocs/react 0.5.150 → 0.5.151

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.
Files changed (34) hide show
  1. package/dist/{chunk-VAHVEHKM.cjs → chunk-6RRKO4ZK.cjs} +3 -3
  2. package/dist/{chunk-VAHVEHKM.cjs.map → chunk-6RRKO4ZK.cjs.map} +1 -1
  3. package/dist/{chunk-BCUKXFB6.cjs → chunk-B6T54X65.cjs} +3 -3
  4. package/dist/{chunk-BCUKXFB6.cjs.map → chunk-B6T54X65.cjs.map} +1 -1
  5. package/dist/chunk-BI7HFGXF.cjs +507 -0
  6. package/dist/chunk-BI7HFGXF.cjs.map +1 -0
  7. package/dist/{chunk-HCUPZGAY.cjs → chunk-SKJWJ3OY.cjs} +26 -249
  8. package/dist/chunk-SKJWJ3OY.cjs.map +1 -0
  9. package/dist/directmessages/file-shares.js +88 -0
  10. package/dist/directmessages/file-shares.js.map +7 -0
  11. package/dist/directmessages/index.js +8 -0
  12. package/dist/directmessages/index.js.map +2 -2
  13. package/dist/document-tools/core.cjs +157 -149
  14. package/dist/document-tools/core.d.ts +5 -477
  15. package/dist/document-tools/core.js +4 -0
  16. package/dist/document-tools/core.js.map +2 -2
  17. package/dist/document-tools/file-shares.js +24 -5
  18. package/dist/document-tools/file-shares.js.map +2 -2
  19. package/dist/document-tools/index.cjs +159 -151
  20. package/dist/document-tools/index.d.ts +5 -5
  21. package/dist/{query-keys.d-BZolSssa.d.ts → file-shares.d-CamKxNLC.d.ts} +517 -1
  22. package/dist/index.cjs +402 -305
  23. package/dist/index.cjs.map +1 -1
  24. package/dist/index.d.ts +118 -13
  25. package/dist/notifications/index.js +2 -0
  26. package/dist/notifications/index.js.map +2 -2
  27. package/dist/notifications/server-notifications.js +29 -7
  28. package/dist/notifications/server-notifications.js.map +2 -2
  29. package/dist/shell/index.cjs +38 -38
  30. package/dist/ui/index.cjs +160 -160
  31. package/package.json +3 -3
  32. package/dist/chunk-ASL7H2TF.cjs +0 -264
  33. package/dist/chunk-ASL7H2TF.cjs.map +0 -1
  34. package/dist/chunk-HCUPZGAY.cjs.map +0 -1
package/dist/index.cjs CHANGED
@@ -4,21 +4,21 @@ var chunkTMPDW7J5_cjs = require('./chunk-TMPDW7J5.cjs');
4
4
  var chunkGFX7LQGR_cjs = require('./chunk-GFX7LQGR.cjs');
5
5
  var chunkVXFTVWEI_cjs = require('./chunk-VXFTVWEI.cjs');
6
6
  var chunkMK5L56Z3_cjs = require('./chunk-MK5L56Z3.cjs');
7
- var chunkASL7H2TF_cjs = require('./chunk-ASL7H2TF.cjs');
7
+ var chunkBI7HFGXF_cjs = require('./chunk-BI7HFGXF.cjs');
8
8
  var chunkP2DPOZBS_cjs = require('./chunk-P2DPOZBS.cjs');
9
- var chunkVAHVEHKM_cjs = require('./chunk-VAHVEHKM.cjs');
9
+ var chunk6RRKO4ZK_cjs = require('./chunk-6RRKO4ZK.cjs');
10
10
  var chunkIX4HOS5Z_cjs = require('./chunk-IX4HOS5Z.cjs');
11
11
  var chunkN73IMVFF_cjs = require('./chunk-N73IMVFF.cjs');
12
12
  var chunkKULS4YWP_cjs = require('./chunk-KULS4YWP.cjs');
13
13
  require('./chunk-VOFNX4P6.cjs');
14
- var chunkBCUKXFB6_cjs = require('./chunk-BCUKXFB6.cjs');
14
+ var chunkB6T54X65_cjs = require('./chunk-B6T54X65.cjs');
15
15
  var chunkEEIYXVM4_cjs = require('./chunk-EEIYXVM4.cjs');
16
16
  var chunkT5FZICXN_cjs = require('./chunk-T5FZICXN.cjs');
17
17
  var chunkEM6DP62E_cjs = require('./chunk-EM6DP62E.cjs');
18
18
  var chunkWYZJLZ67_cjs = require('./chunk-WYZJLZ67.cjs');
19
19
  var chunkKC474WVG_cjs = require('./chunk-KC474WVG.cjs');
20
- var chunk5NOZDH3F_cjs = require('./chunk-5NOZDH3F.cjs');
21
20
  var chunkHJDR5HEO_cjs = require('./chunk-HJDR5HEO.cjs');
21
+ var chunk5NOZDH3F_cjs = require('./chunk-5NOZDH3F.cjs');
22
22
  var chunkS6A6FSG7_cjs = require('./chunk-S6A6FSG7.cjs');
23
23
  var React = require('react');
24
24
  var reactQuery = require('@tanstack/react-query');
@@ -41,7 +41,7 @@ var ReactMarkdown__default = /*#__PURE__*/_interopDefault(ReactMarkdown);
41
41
  var Cropper__default = /*#__PURE__*/_interopDefault(Cropper);
42
42
 
43
43
  // src/host/index.ts
44
- var ArbiHost2 = chunkVAHVEHKM_cjs.ArbiHost;
44
+ var ArbiHost2 = chunk6RRKO4ZK_cjs.ArbiHost;
45
45
  function useCurrentWorkspace() {
46
46
  const workspaceId = chunkMK5L56Z3_cjs.useArbiSessionState((s) => s.workspaceId);
47
47
  const workspaceStatus = chunkMK5L56Z3_cjs.useArbiSessionState((s) => s.workspaceStatus);
@@ -1308,9 +1308,9 @@ function assistantLabels(assistantName = ASSISTANT_MENTION_LABEL) {
1308
1308
  return assistantName.toLowerCase() === ASSISTANT_MENTION_LABEL.toLowerCase() ? [assistantName] : [assistantName, ASSISTANT_MENTION_LABEL];
1309
1309
  }
1310
1310
  function useLinkMentions() {
1311
- const assistantName = chunkVAHVEHKM_cjs.useAssistantName();
1311
+ const assistantName = chunk6RRKO4ZK_cjs.useAssistantName();
1312
1312
  return React.useCallback(
1313
- (content, mentions) => chunkVAHVEHKM_cjs.linkMentions(content, mentions, [assistantName]),
1313
+ (content, mentions) => chunk6RRKO4ZK_cjs.linkMentions(content, mentions, [assistantName]),
1314
1314
  [assistantName]
1315
1315
  );
1316
1316
  }
@@ -1335,7 +1335,7 @@ function cachedAssistantMode(queryClient, conversationId, newMode) {
1335
1335
  return chunkGFX7LQGR_cjs.findConversation(queryClient, conversationId)?.assistant_mode ?? "always";
1336
1336
  }
1337
1337
  function isCommentToPeople(queryClient, conversationId, content, candidates) {
1338
- const mentioned = chunkVAHVEHKM_cjs.extractMentions(content, candidates);
1338
+ const mentioned = chunk6RRKO4ZK_cjs.extractMentions(content, candidates);
1339
1339
  if (mentioned.some((c) => c.kind === "assistant")) return false;
1340
1340
  if (chunkGFX7LQGR_cjs.isConversationShared(queryClient, conversationId)) return true;
1341
1341
  if (mentioned.some((c) => c.kind === "user")) return true;
@@ -1554,11 +1554,11 @@ async function agentChatOwnerOf(queryClient, listAgents, conversationId) {
1554
1554
 
1555
1555
  // src/chat/thread-binding.ts
1556
1556
  function threadBinding(queryClient, conversationId) {
1557
- if (!conversationId) return chunkVAHVEHKM_cjs.UNBOUND;
1557
+ if (!conversationId) return chunk6RRKO4ZK_cjs.UNBOUND;
1558
1558
  const row = chunkGFX7LQGR_cjs.findConversation(queryClient, conversationId);
1559
- if (row) return chunkVAHVEHKM_cjs.bindingOfRow(row);
1559
+ if (row) return chunk6RRKO4ZK_cjs.bindingOfRow(row);
1560
1560
  const threads = queryClient.getQueryData(getThreadsQueryKey(conversationId));
1561
- return chunkVAHVEHKM_cjs.bindingOfRow(threads ? { external_id: conversationId, ...threads } : null);
1561
+ return chunk6RRKO4ZK_cjs.bindingOfRow(threads ? { external_id: conversationId, ...threads } : null);
1562
1562
  }
1563
1563
  function boundDocumentOf(queryClient, state) {
1564
1564
  return state.conversationId ? threadBinding(queryClient, state.conversationId).documentId : state.newChatDocumentId;
@@ -1605,7 +1605,7 @@ async function performBindingWrite(arbi, queryClient, conversationId, documentId
1605
1605
  bound_document_ext_id: documentId
1606
1606
  });
1607
1607
  chunkGFX7LQGR_cjs.patchConversation(queryClient, conversationId, saved);
1608
- cacheThreadBinding(queryClient, conversationId, chunkVAHVEHKM_cjs.bindingOfRow(saved));
1608
+ cacheThreadBinding(queryClient, conversationId, chunk6RRKO4ZK_cjs.bindingOfRow(saved));
1609
1609
  } catch (error) {
1610
1610
  cacheThreadBinding(queryClient, conversationId, before);
1611
1611
  throw error;
@@ -1617,14 +1617,14 @@ function adoptNewChatDocument(session, queryClient, conversationId, documentId =
1617
1617
  if (session.getState().newChatDocumentId === documentId) session.setNewChatDocumentId(null);
1618
1618
  }
1619
1619
  async function migrateLegacyThreadDocuments(arbi, queryClient, conversations) {
1620
- const legacy = chunkVAHVEHKM_cjs.readLegacyThreadDocuments();
1620
+ const legacy = chunk6RRKO4ZK_cjs.readLegacyThreadDocuments();
1621
1621
  const listed = conversations.filter(
1622
1622
  (c) => c.external_id in legacy && "bound_document_unavailable" in c
1623
1623
  );
1624
1624
  if (listed.length === 0) return;
1625
1625
  await Promise.all(
1626
1626
  listed.map(async (row) => {
1627
- const server = chunkVAHVEHKM_cjs.bindingOfRow(row);
1627
+ const server = chunk6RRKO4ZK_cjs.bindingOfRow(row);
1628
1628
  if (server.documentId || server.unavailable) return;
1629
1629
  try {
1630
1630
  await bindThreadDocument(arbi, queryClient, row.external_id, legacy[row.external_id]);
@@ -1632,7 +1632,7 @@ async function migrateLegacyThreadDocuments(arbi, queryClient, conversations) {
1632
1632
  }
1633
1633
  })
1634
1634
  );
1635
- chunkVAHVEHKM_cjs.forgetLegacyThreadDocuments(listed.map((c) => c.external_id));
1635
+ chunk6RRKO4ZK_cjs.forgetLegacyThreadDocuments(listed.map((c) => c.external_id));
1636
1636
  }
1637
1637
  function resolveReplyTarget(queryClient, conversationId, parentId) {
1638
1638
  if (!parentId) return null;
@@ -2336,7 +2336,7 @@ function useOpenViewerDocumentId() {
2336
2336
  // src/documents/document-download.ts
2337
2337
  function fallbackFileName(doc) {
2338
2338
  if (doc.file_name) return doc.file_name;
2339
- const title = chunkBCUKXFB6_cjs.getDocumentTitle(doc, `document-${doc.external_id}`);
2339
+ const title = chunkB6T54X65_cjs.getDocumentTitle(doc, `document-${doc.external_id}`);
2340
2340
  const extension = doc.file_type || "pdf";
2341
2341
  const ext = extension.startsWith(".") ? extension : `.${extension}`;
2342
2342
  return title.toLowerCase().endsWith(ext.toLowerCase()) ? title : `${title}${ext}`;
@@ -2344,11 +2344,11 @@ function fallbackFileName(doc) {
2344
2344
  var COLUMN_MAPPING = {
2345
2345
  file_name: {
2346
2346
  header: "File Name",
2347
- getValue: (d) => d.file_name || chunkBCUKXFB6_cjs.getDocumentTitle(d, `document-${d.external_id}.pdf`)
2347
+ getValue: (d) => d.file_name || chunkB6T54X65_cjs.getDocumentTitle(d, `document-${d.external_id}.pdf`)
2348
2348
  },
2349
- title: { header: "Title", getValue: (d) => chunkBCUKXFB6_cjs.getDocumentTitle(d) },
2349
+ title: { header: "Title", getValue: (d) => chunkB6T54X65_cjs.getDocumentTitle(d) },
2350
2350
  n_pages: { header: "Pages", getValue: (d) => d.n_pages || "" },
2351
- doc_date: { header: "Document Date", getValue: (d) => chunkBCUKXFB6_cjs.getDocumentDate(d) || "" },
2351
+ doc_date: { header: "Document Date", getValue: (d) => chunkB6T54X65_cjs.getDocumentDate(d) || "" },
2352
2352
  doc_id: { header: "Document ID", getValue: (d) => d.external_id },
2353
2353
  status: { header: "Status", getValue: (d) => d.status || "" },
2354
2354
  uploaded: { header: "Upload Date", getValue: (d) => d.created_at || "" },
@@ -2384,7 +2384,7 @@ function useDownloadDocuments({ workspaceName } = {}) {
2384
2384
  const [isDownloading, setIsDownloading] = React.useState(false);
2385
2385
  const fetchNamedFile = React.useCallback(
2386
2386
  async (doc) => {
2387
- const blob = await chunkASL7H2TF_cjs.fetchDocumentFile(arbi.getClient().fetch, doc.external_id);
2387
+ const blob = await chunkBI7HFGXF_cjs.fetchDocumentFile(arbi.getClient().fetch, doc.external_id);
2388
2388
  return { blob, name: blob instanceof File && blob.name ? blob.name : fallbackFileName(doc) };
2389
2389
  },
2390
2390
  [arbi]
@@ -2410,7 +2410,7 @@ function useDownloadDocuments({ workspaceName } = {}) {
2410
2410
  downloaded.push(doc);
2411
2411
  } catch (error) {
2412
2412
  console.error(`Failed to download document ${doc.external_id}:`, error);
2413
- failedDocs.push(chunkBCUKXFB6_cjs.getDocumentTitle(doc, doc.external_id));
2413
+ failedDocs.push(chunkB6T54X65_cjs.getDocumentTitle(doc, doc.external_id));
2414
2414
  }
2415
2415
  }
2416
2416
  const successCount = downloaded.length;
@@ -2426,7 +2426,7 @@ function useDownloadDocuments({ workspaceName } = {}) {
2426
2426
  );
2427
2427
  }
2428
2428
  const zipFileName = archiveName(workspaceName, `${successCount}_documents`);
2429
- chunkASL7H2TF_cjs.downloadBlob(await zip.generateAsync({ type: "blob" }), zipFileName);
2429
+ chunkBI7HFGXF_cjs.downloadBlob(await zip.generateAsync({ type: "blob" }), zipFileName);
2430
2430
  const documentsLabel = `${successCount} document${successCount !== 1 ? "s" : ""}`;
2431
2431
  const contents = includeMetadataCsv ? `${documentsLabel} and index.csv in ${zipFileName}` : `${documentsLabel} in ${zipFileName}`;
2432
2432
  if (failedDocs.length === 0) chunkIX4HOS5Z_cjs.notify.success(`Successfully downloaded ${contents}`);
@@ -2445,7 +2445,7 @@ function useDownloadDocuments({ workspaceName } = {}) {
2445
2445
  setIsDownloading(true);
2446
2446
  try {
2447
2447
  const file = await fetchNamedFile(doc);
2448
- chunkASL7H2TF_cjs.downloadBlob(file.blob, file.name);
2448
+ chunkBI7HFGXF_cjs.downloadBlob(file.blob, file.name);
2449
2449
  chunkIX4HOS5Z_cjs.notify.success(`Successfully downloaded ${file.name}`);
2450
2450
  } catch (error) {
2451
2451
  console.error("Failed to download document", error);
@@ -2617,7 +2617,7 @@ function DocumentReview({
2617
2617
  findings.length ? ` \xB7 ${findings.length} findings` : ""
2618
2618
  ] })
2619
2619
  ] }),
2620
- status ? /* @__PURE__ */ jsxRuntime.jsx(chunkBCUKXFB6_cjs.Badge, { variant: "secondary", children: status }) : null,
2620
+ status ? /* @__PURE__ */ jsxRuntime.jsx(chunkB6T54X65_cjs.Badge, { variant: "secondary", children: status }) : null,
2621
2621
  onClose ? /* @__PURE__ */ jsxRuntime.jsx(
2622
2622
  "button",
2623
2623
  {
@@ -2654,7 +2654,7 @@ function DocumentReview({
2654
2654
  className: "w-full cursor-pointer rounded-md border p-2 text-left text-xs transition hover:border-ring hover:bg-muted/50 focus:outline-none focus-visible:ring-2 focus-visible:ring-ring",
2655
2655
  children: [
2656
2656
  /* @__PURE__ */ jsxRuntime.jsx(
2657
- chunkBCUKXFB6_cjs.TagEntity,
2657
+ chunkB6T54X65_cjs.TagEntity,
2658
2658
  {
2659
2659
  size: "sm",
2660
2660
  tag: {
@@ -2706,7 +2706,7 @@ function DocumentReview({
2706
2706
  ),
2707
2707
  children: [
2708
2708
  highlighted ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-1", children: /* @__PURE__ */ jsxRuntime.jsx(
2709
- chunkBCUKXFB6_cjs.TagEntity,
2709
+ chunkB6T54X65_cjs.TagEntity,
2710
2710
  {
2711
2711
  size: "sm",
2712
2712
  tag: {
@@ -2735,7 +2735,7 @@ function VoiceNoteRecorder({
2735
2735
  isSaving = false,
2736
2736
  transcribe
2737
2737
  }) {
2738
- const recorder = chunkBCUKXFB6_cjs.useAudioRecorder();
2738
+ const recorder = chunkB6T54X65_cjs.useAudioRecorder();
2739
2739
  const [transcript, setTranscript] = React.useState(null);
2740
2740
  const [isTranscribing, setIsTranscribing] = React.useState(false);
2741
2741
  React.useEffect(() => {
@@ -2781,7 +2781,7 @@ function VoiceNoteRecorder({
2781
2781
  ] }),
2782
2782
  (recorder.state === "recording" || recorder.state === "paused") && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2783
2783
  /* @__PURE__ */ jsxRuntime.jsx(
2784
- chunkBCUKXFB6_cjs.MicWaveformIndicator,
2784
+ chunkB6T54X65_cjs.MicWaveformIndicator,
2785
2785
  {
2786
2786
  level: recorder.level,
2787
2787
  elapsedMs: recorder.elapsedMs,
@@ -2903,7 +2903,7 @@ function DraftTitleControls({
2903
2903
  }
2904
2904
  ),
2905
2905
  /* @__PURE__ */ jsxRuntime.jsx(
2906
- chunkBCUKXFB6_cjs.IconToggle,
2906
+ chunkB6T54X65_cjs.IconToggle,
2907
2907
  {
2908
2908
  icon: lucideReact.Sparkles,
2909
2909
  isActive: autoRename,
@@ -2937,7 +2937,7 @@ function useCameraStream(constraints = { video: true, audio: false }) {
2937
2937
  streamRef.current = media;
2938
2938
  setStream(media);
2939
2939
  } catch (err) {
2940
- setError(chunkBCUKXFB6_cjs.classifyMediaError(err, "camera"));
2940
+ setError(chunkB6T54X65_cjs.classifyMediaError(err, "camera"));
2941
2941
  } finally {
2942
2942
  setIsStarting(false);
2943
2943
  }
@@ -3173,7 +3173,7 @@ function VideoCapture({ onSave, onDiscard, onError, isSaving = false }) {
3173
3173
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "relative inline-flex h-2 w-2 rounded-full bg-red-500" })
3174
3174
  ] }),
3175
3175
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs font-semibold uppercase tracking-wide text-red-500", children: "Rec" }),
3176
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-xs tabular-nums text-muted-foreground", children: chunkBCUKXFB6_cjs.formatElapsed(recorder.elapsedMs) })
3176
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-mono text-xs tabular-nums text-muted-foreground", children: chunkB6T54X65_cjs.formatElapsed(recorder.elapsedMs) })
3177
3177
  ] }),
3178
3178
  recorder.state === "recording" ? /* @__PURE__ */ jsxRuntime.jsx(
3179
3179
  chunkWYZJLZ67_cjs.Button,
@@ -3986,7 +3986,7 @@ function usePendingSyncItems() {
3986
3986
  return React.useMemo(() => {
3987
3987
  const docNameById = /* @__PURE__ */ new Map();
3988
3988
  for (const doc of documents3 ?? [])
3989
- docNameById.set(doc.external_id, chunkBCUKXFB6_cjs.getDocumentTitle(doc, doc.file_name ?? ""));
3989
+ docNameById.set(doc.external_id, chunkB6T54X65_cjs.getDocumentTitle(doc, doc.file_name ?? ""));
3990
3990
  const tagNameById = /* @__PURE__ */ new Map();
3991
3991
  for (const tag of tags ?? []) tagNameById.set(tag.external_id, tag.name);
3992
3992
  return raw.map((r) => buildPendingSyncItem(r, docNameById, tagNameById));
@@ -4123,12 +4123,12 @@ async function keepDocumentsOffline(client$1, docs) {
4123
4123
  const keypair = await client.getUserEncryptionKeypair();
4124
4124
  if (!keypair) throw new Error("Could not derive an encryption key for the offline copy.");
4125
4125
  for (const doc of docs) {
4126
- const original = chunkBCUKXFB6_cjs.usesOriginalBytesForViewer(doc.file_name);
4127
- const blob = original ? await chunkASL7H2TF_cjs.fetchDocumentFile(client$1, doc.external_id) : await chunkASL7H2TF_cjs.fetchDocumentPdf(client$1, doc.external_id);
4126
+ const original = chunkB6T54X65_cjs.usesOriginalBytesForViewer(doc.file_name);
4127
+ const blob = original ? await chunkBI7HFGXF_cjs.fetchDocumentFile(client$1, doc.external_id) : await chunkBI7HFGXF_cjs.fetchDocumentPdf(client$1, doc.external_id);
4128
4128
  const plain = new Uint8Array(await blob.arrayBuffer());
4129
4129
  await putOfflineDocument({
4130
4130
  docExtId: doc.external_id,
4131
- fileName: chunkBCUKXFB6_cjs.getDocumentTitle(doc, "document"),
4131
+ fileName: chunkB6T54X65_cjs.getDocumentTitle(doc, "document"),
4132
4132
  kind: original ? "original" : "pdf",
4133
4133
  data: client.base64ToBytes(client.sealedBoxEncrypt(plain, keypair.publicKey)),
4134
4134
  contentType: blob.type,
@@ -4668,7 +4668,7 @@ function useConversationActions({
4668
4668
  React.useState(() => watchConversationWorkspaces(queryClient, session));
4669
4669
  const createHandlers = useStreamHandlers();
4670
4670
  const chatHost = chunkP2DPOZBS_cjs.useArbiHost().chat;
4671
- const assistantName = chunkVAHVEHKM_cjs.useAssistantName();
4671
+ const assistantName = chunk6RRKO4ZK_cjs.useAssistantName();
4672
4672
  const mentionCandidates = React.useCallback(
4673
4673
  () => cachedMentionCandidates(
4674
4674
  queryClient,
@@ -4689,10 +4689,10 @@ function useConversationActions({
4689
4689
  const convId = conversationId === void 0 ? state.conversationId : conversationId;
4690
4690
  const { newConversationAssistantMode } = state;
4691
4691
  const candidates = mentionCandidates();
4692
- const mentioned = chunkVAHVEHKM_cjs.extractMentions(content, candidates);
4692
+ const mentioned = chunk6RRKO4ZK_cjs.extractMentions(content, candidates);
4693
4693
  const assistantMode = cachedAssistantMode(queryClient, convId, newConversationAssistantMode);
4694
4694
  const isComment = isCommentToPeople(queryClient, convId, content, candidates);
4695
- const mentions = chunkVAHVEHKM_cjs.toMessageMentions(mentioned);
4695
+ const mentions = chunk6RRKO4ZK_cjs.toMessageMentions(mentioned);
4696
4696
  if (!isComment && assistantMode === "mentioned" && !mentions.some((m) => m.type === "assistant")) {
4697
4697
  mentions.push({ type: "assistant" });
4698
4698
  }
@@ -4800,7 +4800,7 @@ function useConversationActions({
4800
4800
  const resolvedConfigId = newConfigId || (agentExtId ? void 0 : lastConfigId);
4801
4801
  const isPaMode = !agentExtId && state.paMode;
4802
4802
  const threadDocumentId = boundDocumentOf(queryClient, { ...state, conversationId: convId });
4803
- const activeArtifactExtId = isPaMode ? null : chunkVAHVEHKM_cjs.takeDocumentForTurn({
4803
+ const activeArtifactExtId = isPaMode ? null : chunk6RRKO4ZK_cjs.takeDocumentForTurn({
4804
4804
  boundDocumentId: threadDocumentId,
4805
4805
  conversationId: convId,
4806
4806
  workspaceId: turnWorkspaceId
@@ -5070,7 +5070,7 @@ function useConversationActions({
5070
5070
  const handleSendMessage = React.useCallback(
5071
5071
  async (options) => {
5072
5072
  const currentMessage = chunkMK5L56Z3_cjs.selectDraft(session.getState()).trim();
5073
- if (!selectedWorkspaceId || !chunkVAHVEHKM_cjs.hasMessageBody(currentMessage, assistantLabels(assistantName)))
5073
+ if (!selectedWorkspaceId || !chunk6RRKO4ZK_cjs.hasMessageBody(currentMessage, assistantLabels(assistantName)))
5074
5074
  return;
5075
5075
  session.setSuggestedQuery(null);
5076
5076
  if (refuseChatWhenOffline()) return;
@@ -5834,7 +5834,7 @@ function useConversation(options = {}) {
5834
5834
  [agentId, stagedFiles, deselected]
5835
5835
  );
5836
5836
  const { handleSendMessage, handleCreateBranch } = actions;
5837
- const assistantName = chunkVAHVEHKM_cjs.useAssistantName();
5837
+ const assistantName = chunk6RRKO4ZK_cjs.useAssistantName();
5838
5838
  const send = React.useCallback(
5839
5839
  async (text2) => {
5840
5840
  const trimmed = text2.trim();
@@ -9361,7 +9361,7 @@ function createWorkspaceSwitch({
9361
9361
  if (isSame && workspaceStatus === "open") return true;
9362
9362
  const listed = listedWorkspace(queryClient, target.id);
9363
9363
  const name = target.name || listed?.name || "";
9364
- const noun = chunkBCUKXFB6_cjs.getEntityLabel("WORKSPACE");
9364
+ const noun = chunkB6T54X65_cjs.getEntityLabel("WORKSPACE");
9365
9365
  if (listed?.archive) {
9366
9366
  chunkIX4HOS5Z_cjs.notify.info(archivedWorkspaceMessage(name));
9367
9367
  return false;
@@ -9773,12 +9773,12 @@ function useWorkspaceExportDownload({
9773
9773
  const client = arbi.getClient().fetch;
9774
9774
  const archive = await buildWorkspaceArchive({
9775
9775
  exportData: data,
9776
- fetchFile: async (docExtId, version, kind) => kind === "markup" ? (await chunkASL7H2TF_cjs.fetchMarkupPdf(client, docExtId, version, workspaceId)).blob : chunkASL7H2TF_cjs.fetchDocumentFile(client, docExtId, { version, workspaceExtId: workspaceId }),
9776
+ fetchFile: async (docExtId, version, kind) => kind === "markup" ? (await chunkBI7HFGXF_cjs.fetchMarkupPdf(client, docExtId, version, workspaceId)).blob : chunkBI7HFGXF_cjs.fetchDocumentFile(client, docExtId, { version, workspaceExtId: workspaceId }),
9777
9777
  metadataCsv,
9778
9778
  onProgress: (done, total) => setProgress({ done, total })
9779
9779
  });
9780
9780
  const fileName = archiveName(workspaceName, "export");
9781
- chunkASL7H2TF_cjs.downloadBlob(archive.blob, fileName);
9781
+ chunkBI7HFGXF_cjs.downloadBlob(archive.blob, fileName);
9782
9782
  const files = `${archive.fileCount} file${archive.fileCount !== 1 ? "s" : ""}`;
9783
9783
  if (archive.failed.length === 0) {
9784
9784
  chunkIX4HOS5Z_cjs.notify.success(`Successfully downloaded ${files} and data in ${fileName}`);
@@ -11145,7 +11145,7 @@ function createDocumentsSource(labels) {
11145
11145
  updated: d.updated_at ?? null,
11146
11146
  documentDate: d.doc_metadata?.doc_date ?? null,
11147
11147
  status: d.status ? l.statuses[d.status] ?? d.status : null,
11148
- type: chunkBCUKXFB6_cjs.friendlyFileType(d.file_type, d.file_name, d.folder) || null,
11148
+ type: chunkB6T54X65_cjs.friendlyFileType(d.file_type, d.file_name, d.folder) || null,
11149
11149
  folder: d.folder || null,
11150
11150
  nature: d.doc_metadata?.doc_nature ?? null,
11151
11151
  author: d.doc_metadata?.doc_author ?? null,
@@ -13586,12 +13586,12 @@ async function downloadRecoveryFile(params) {
13586
13586
  ...params,
13587
13587
  origin: params.origin ?? window.location.origin
13588
13588
  });
13589
- chunkASL7H2TF_cjs.downloadBlob(new Blob([file.html], { type: "text/html" }), file.filename);
13589
+ chunkBI7HFGXF_cjs.downloadBlob(new Blob([file.html], { type: "text/html" }), file.filename);
13590
13590
  }
13591
13591
  async function documentMailAttachment(arbi, doc, maxBytes, version) {
13592
13592
  const older = version && version !== (doc.current_version ?? 1) ? version : null;
13593
13593
  if (!reactQuery.onlineManager.isOnline() && !older) return offlineDocumentAttachment(doc, maxBytes);
13594
- const failed = (cause) => new Error(`Could not download ${chunkBCUKXFB6_cjs.getDocumentTitle(doc, "the document")}`, { cause });
13594
+ const failed = (cause) => new Error(`Could not download ${chunkB6T54X65_cjs.getDocumentTitle(doc, "the document")}`, { cause });
13595
13595
  const response = await arbi.documents.download(doc.external_id, older ?? void 0).catch((error) => {
13596
13596
  throw failed(error);
13597
13597
  });
@@ -13600,11 +13600,11 @@ async function documentMailAttachment(arbi, doc, maxBytes, version) {
13600
13600
  if (blob.size > maxBytes) throw new Error("Document exceeds the email attachment limit");
13601
13601
  const fileName = older ? doc.versions?.find((v) => v.n === older)?.file_name ?? doc.file_name : doc.file_name;
13602
13602
  return fileAttachment(
13603
- new File([blob], fileName || chunkBCUKXFB6_cjs.getDocumentTitle(doc, "document"), { type: blob.type })
13603
+ new File([blob], fileName || chunkB6T54X65_cjs.getDocumentTitle(doc, "document"), { type: blob.type })
13604
13604
  );
13605
13605
  }
13606
13606
  async function offlineDocumentAttachment(doc, maxBytes) {
13607
- const title = chunkBCUKXFB6_cjs.getDocumentTitle(doc, "This document");
13607
+ const title = chunkB6T54X65_cjs.getDocumentTitle(doc, "This document");
13608
13608
  const record = await getOfflineDocument(doc.external_id);
13609
13609
  const isPdf = /\.pdf$/i.test(doc.file_name ?? "");
13610
13610
  if (!record || record.kind === "pdf" && !isPdf)
@@ -13615,7 +13615,7 @@ async function offlineDocumentAttachment(doc, maxBytes) {
13615
13615
  if (!blob) throw new Error(`${title} isn't available offline.`);
13616
13616
  if (blob.size > maxBytes) throw new Error("Document exceeds the email attachment limit");
13617
13617
  return fileAttachment(
13618
- new File([blob], doc.file_name || chunkBCUKXFB6_cjs.getDocumentTitle(doc, "document"), { type: blob.type })
13618
+ new File([blob], doc.file_name || chunkB6T54X65_cjs.getDocumentTitle(doc, "document"), { type: blob.type })
13619
13619
  );
13620
13620
  }
13621
13621
  var BATCH = 50;
@@ -15183,7 +15183,7 @@ function AiAnswer({
15183
15183
  }
15184
15184
  ),
15185
15185
  hasText && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
15186
- /* @__PURE__ */ jsxRuntime.jsx(chunkBCUKXFB6_cjs.AiMarkdown, { isStreaming: running, children: text2 }),
15186
+ /* @__PURE__ */ jsxRuntime.jsx(chunkB6T54X65_cjs.AiMarkdown, { isStreaming: running, children: text2 }),
15187
15187
  !running && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between border-t border-border pt-2.5", children: [
15188
15188
  /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "inline-flex items-center gap-1.5 text-xs text-muted-foreground", children: [
15189
15189
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ShieldCheck, { className: "size-3.5 text-ai-accent" }),
@@ -15317,11 +15317,11 @@ function ArtifactCanvas({
15317
15317
  children: active.title
15318
15318
  }
15319
15319
  ),
15320
- isRedline && /* @__PURE__ */ jsxRuntime.jsxs(chunkBCUKXFB6_cjs.Badge, { variant: "accent", className: "gap-1", children: [
15320
+ isRedline && /* @__PURE__ */ jsxRuntime.jsxs(chunkB6T54X65_cjs.Badge, { variant: "accent", className: "gap-1", children: [
15321
15321
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.GitCompareArrows, { className: "size-3" }),
15322
15322
  " Redline"
15323
15323
  ] }),
15324
- /* @__PURE__ */ jsxRuntime.jsxs(chunkBCUKXFB6_cjs.Badge, { variant: "secondary", children: [
15324
+ /* @__PURE__ */ jsxRuntime.jsxs(chunkB6T54X65_cjs.Badge, { variant: "secondary", children: [
15325
15325
  "v",
15326
15326
  active.version
15327
15327
  ] }),
@@ -15377,7 +15377,7 @@ function ArtifactCanvas({
15377
15377
  animate: { opacity: 1, y: 0 },
15378
15378
  transition: { duration: 0.2 },
15379
15379
  className: "mx-auto max-w-2xl rounded-lg bg-card p-8 shadow-sm ring-1 ring-border",
15380
- children: active.mode === "html" ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm", dangerouslySetInnerHTML: { __html: active.content } }) : active.mode === "text" ? /* @__PURE__ */ jsxRuntime.jsx("pre", { className: "whitespace-pre-wrap font-mono text-xs text-foreground", children: active.content }) : /* @__PURE__ */ jsxRuntime.jsx(chunkBCUKXFB6_cjs.AiMarkdown, { children: active.content })
15380
+ children: active.mode === "html" ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm", dangerouslySetInnerHTML: { __html: active.content } }) : active.mode === "text" ? /* @__PURE__ */ jsxRuntime.jsx("pre", { className: "whitespace-pre-wrap font-mono text-xs text-foreground", children: active.content }) : /* @__PURE__ */ jsxRuntime.jsx(chunkB6T54X65_cjs.AiMarkdown, { children: active.content })
15381
15381
  },
15382
15382
  active.doc_ext_id
15383
15383
  ) }) })
@@ -15429,7 +15429,7 @@ function MessageArtifactCard({
15429
15429
  const labels = labelsFor(mode);
15430
15430
  const Icon = labels.Icon;
15431
15431
  return /* @__PURE__ */ jsxRuntime.jsxs(
15432
- chunkBCUKXFB6_cjs.Card,
15432
+ chunkB6T54X65_cjs.Card,
15433
15433
  {
15434
15434
  variant: "outline",
15435
15435
  className: "mt-3 flex items-center gap-3 px-3 py-2.5",
@@ -15634,7 +15634,7 @@ var CitationPopover = ({
15634
15634
  return () => {
15635
15635
  if (!restoreFocusRef.current) return;
15636
15636
  restoreFocusRef.current = false;
15637
- if (triggerRef.current) chunkBCUKXFB6_cjs.returnFocusToMark(triggerRef.current);
15637
+ if (triggerRef.current) chunkB6T54X65_cjs.returnFocusToMark(triggerRef.current);
15638
15638
  };
15639
15639
  }, [open]);
15640
15640
  React.useEffect(() => {
@@ -15836,7 +15836,7 @@ var CitationLink = ({
15836
15836
  triggerRef,
15837
15837
  children
15838
15838
  }) => /* @__PURE__ */ jsxRuntime.jsxs(
15839
- chunkBCUKXFB6_cjs.MarkMenu,
15839
+ chunkB6T54X65_cjs.MarkMenu,
15840
15840
  {
15841
15841
  triggerRef,
15842
15842
  items,
@@ -15871,7 +15871,7 @@ var IDLE = {
15871
15871
  };
15872
15872
  function useSemanticSearch(docIds = [], options = {}) {
15873
15873
  const arbi = chunkP2DPOZBS_cjs.useArbi();
15874
- const [ownSession] = React.useState(chunkVAHVEHKM_cjs.createSearchSession);
15874
+ const [ownSession] = React.useState(chunk6RRKO4ZK_cjs.createSearchSession);
15875
15875
  const session = options.session ?? ownSession;
15876
15876
  const { model, workspaceId } = options;
15877
15877
  const state = React.useSyncExternalStore(session.subscribe, session.getState, session.getState);
@@ -15880,7 +15880,7 @@ function useSemanticSearch(docIds = [], options = {}) {
15880
15880
  if (!workspaceId) return;
15881
15881
  const current = session.getState().workspaceId;
15882
15882
  if (current !== workspaceId) {
15883
- if (current) chunkVAHVEHKM_cjs.clearSearchSession(workspaceId, session);
15883
+ if (current) chunk6RRKO4ZK_cjs.clearSearchSession(workspaceId, session);
15884
15884
  else session.setState({ workspaceId });
15885
15885
  }
15886
15886
  }, [session, workspaceId]);
@@ -15888,7 +15888,7 @@ function useSemanticSearch(docIds = [], options = {}) {
15888
15888
  async (query, mode = "hybrid") => {
15889
15889
  const trimmed = query.trim();
15890
15890
  if (!trimmed) {
15891
- chunkVAHVEHKM_cjs.clearSearchSession(void 0, session);
15891
+ chunk6RRKO4ZK_cjs.clearSearchSession(void 0, session);
15892
15892
  return;
15893
15893
  }
15894
15894
  const run2 = session.getState().run + 1;
@@ -15919,7 +15919,7 @@ function useSemanticSearch(docIds = [], options = {}) {
15919
15919
  },
15920
15920
  [arbi, docIds, model, session, workspaceId]
15921
15921
  );
15922
- const clear = React.useCallback(() => chunkVAHVEHKM_cjs.clearSearchSession(void 0, session), [session]);
15922
+ const clear = React.useCallback(() => chunk6RRKO4ZK_cjs.clearSearchSession(void 0, session), [session]);
15923
15923
  const shown = foreign ? IDLE : state;
15924
15924
  return {
15925
15925
  query: shown.query,
@@ -16001,7 +16001,7 @@ var LinkedInIcon = ({
16001
16001
  );
16002
16002
  };
16003
16003
  function getNotificationTypeMeta(type) {
16004
- const WorkspaceIcon = chunkBCUKXFB6_cjs.getEntityIcon("WORKSPACE");
16004
+ const WorkspaceIcon = chunkB6T54X65_cjs.getEntityIcon("WORKSPACE");
16005
16005
  switch (type) {
16006
16006
  case "support_ticket_received":
16007
16007
  case "support_ticket_reviewed":
@@ -16154,7 +16154,7 @@ function describeActivity(content) {
16154
16154
  }
16155
16155
  default:
16156
16156
  return {
16157
- Icon: parsed.workspace_ext_id ? chunkBCUKXFB6_cjs.getEntityIcon("WORKSPACE") : lucideReact.Activity,
16157
+ Icon: parsed.workspace_ext_id ? chunkB6T54X65_cjs.getEntityIcon("WORKSPACE") : lucideReact.Activity,
16158
16158
  iconClassName: "text-muted-foreground",
16159
16159
  title: humaniseEvent(parsed.event)
16160
16160
  };
@@ -16258,6 +16258,7 @@ function notificationUserName(user) {
16258
16258
  var CONVERSATION_ID = /^con-[a-zA-Z0-9]+$/;
16259
16259
  var WORKFLOW_ID = /^wfl-[a-zA-Z0-9]+$/;
16260
16260
  var DOCUMENT_ID = /^doc-[a-zA-Z0-9]+$/;
16261
+ var FILE_SHARE_ID = /^fsh-[0-9a-f]{32}$/;
16261
16262
  function parse(content) {
16262
16263
  try {
16263
16264
  const value = JSON.parse(content || "{}");
@@ -16266,6 +16267,20 @@ function parse(content) {
16266
16267
  return null;
16267
16268
  }
16268
16269
  }
16270
+ function fileShareNotificationMeta(content) {
16271
+ const meta = parse(content);
16272
+ const shareId = meta?.file_share_id;
16273
+ if (typeof shareId !== "string" || !FILE_SHARE_ID.test(shareId)) return null;
16274
+ const event = meta?.declined === true ? "declined" : meta?.completed === true ? "completed" : meta?.signed === true ? "signed" : meta?.signature === true ? "signature-requested" : "shared";
16275
+ return { shareId, event };
16276
+ }
16277
+ var FILE_SHARE_TITLES = {
16278
+ shared: (sender) => `${sender} shared a file with you`,
16279
+ "signature-requested": (sender) => `${sender} asked you to sign a file`,
16280
+ signed: (sender) => `${sender} signed a file`,
16281
+ completed: () => "Everyone has signed. Your PDF is ready.",
16282
+ declined: (sender) => `${sender} declined to sign a file`
16283
+ };
16269
16284
  function uploadSetMeta(content) {
16270
16285
  const meta = parse(content) ?? {};
16271
16286
  const count = (key) => {
@@ -16540,15 +16555,21 @@ function describeServerNotification(n, options = {}) {
16540
16555
  target: conversationTarget(n) ?? workflowTarget(n)
16541
16556
  };
16542
16557
  }
16558
+ // A shared file opens in the direct chat with the person on the other side.
16543
16559
  case "file_shared": {
16544
- const meta = parse(n.content);
16545
- const id = meta?.file_share_id;
16546
- if (typeof id !== "string" || !/^fsh-[0-9a-f]{32}$/.test(id)) return null;
16560
+ const meta = fileShareNotificationMeta(n.content);
16561
+ if (!meta) return null;
16562
+ const { event } = meta;
16547
16563
  return {
16548
- title: meta?.declined ? `${senderName} declined to sign a file` : meta?.completed ? "Everyone has signed. Your PDF is ready." : meta?.signature ? `${senderName} asked you to sign a file` : `${senderName} shared a file with you`,
16549
- variant: meta?.declined ? "warning" : meta?.completed ? "success" : "info",
16550
- actionLabel: meta?.signature && !meta?.completed ? "Review and sign" : "Open file",
16551
- target: { kind: "url", url: `/shared-files/${id}` }
16564
+ title: FILE_SHARE_TITLES[event](senderName),
16565
+ variant: event === "declined" ? "warning" : event === "completed" || event === "signed" ? "success" : "info",
16566
+ actionLabel: event === "signature-requested" ? "Review and sign" : "Open file",
16567
+ target: {
16568
+ kind: "file-share",
16569
+ shareId: meta.shareId,
16570
+ senderId: n.sender.external_id,
16571
+ recipientId: n.recipient.external_id
16572
+ }
16552
16573
  };
16553
16574
  }
16554
16575
  // One upload action finished (however many batches it was sent and processed in). A failed
@@ -16918,7 +16939,7 @@ function DmAvatar({ user, className, size = "lg" }) {
16918
16939
  const presence = chunkVXFTVWEI_cjs.useArbiWsStore((s) => s.presence[user.external_id]);
16919
16940
  const displayStatus = presence === void 0 ? void 0 : presence === "online" ? "connected" : "disconnected";
16920
16941
  return /* @__PURE__ */ jsxRuntime.jsx(
16921
- chunkBCUKXFB6_cjs.UserEntity,
16942
+ chunkB6T54X65_cjs.UserEntity,
16922
16943
  {
16923
16944
  variant: "icon",
16924
16945
  size,
@@ -16928,7 +16949,7 @@ function DmAvatar({ user, className, size = "lg" }) {
16928
16949
  initials: userInitials(user),
16929
16950
  displayName: userDisplayName(user),
16930
16951
  picture: user.picture,
16931
- avatarStyle: chunkBCUKXFB6_cjs.getEntityColorStyles(user.external_id),
16952
+ avatarStyle: chunkB6T54X65_cjs.getEntityColorStyles(user.external_id),
16932
16953
  isAgent: isAgentUser(user),
16933
16954
  displayStatus
16934
16955
  }
@@ -16982,10 +17003,10 @@ function ConversationList({
16982
17003
  children: c.title ?? userDisplayName(peer)
16983
17004
  }
16984
17005
  ),
16985
- c.badge ?? (isAgentUser(peer) ? /* @__PURE__ */ jsxRuntime.jsx(chunkBCUKXFB6_cjs.AgentBadge, {}) : null)
17006
+ c.badge ?? (isAgentUser(peer) ? /* @__PURE__ */ jsxRuntime.jsx(chunkB6T54X65_cjs.AgentBadge, {}) : null)
16986
17007
  ] }),
16987
17008
  c.statusLabel ? /* @__PURE__ */ jsxRuntime.jsx(
16988
- chunkBCUKXFB6_cjs.Badge,
17009
+ chunkB6T54X65_cjs.Badge,
16989
17010
  {
16990
17011
  variant: "outline",
16991
17012
  className: "shrink-0 rounded-full px-2 py-0 text-xs font-medium text-muted-foreground",
@@ -16996,7 +17017,7 @@ function ConversationList({
16996
17017
  // shouted louder than the message it was counting.
16997
17018
  // Enough to catch the eye scanning the list, no more.
16998
17019
  /* @__PURE__ */ jsxRuntime.jsx(
16999
- chunkBCUKXFB6_cjs.Badge,
17020
+ chunkB6T54X65_cjs.Badge,
17000
17021
  {
17001
17022
  variant: "accent",
17002
17023
  className: chunkS6A6FSG7_cjs.cn(
@@ -17217,7 +17238,7 @@ function DmComposer({
17217
17238
  )
17218
17239
  ] }),
17219
17240
  /* @__PURE__ */ jsxRuntime.jsx(
17220
- chunkBCUKXFB6_cjs.Textarea,
17241
+ chunkB6T54X65_cjs.Textarea,
17221
17242
  {
17222
17243
  ref: inputRef,
17223
17244
  value: draft,
@@ -17543,6 +17564,78 @@ function annotateThread(messages, accessors, runWindowMs = RUN_WINDOW_MS) {
17543
17564
  };
17544
17565
  });
17545
17566
  }
17567
+ var time2 = (iso) => iso === null ? -Infinity : Date.parse(iso);
17568
+ function dmFileShareEntries({
17569
+ notifications,
17570
+ shares,
17571
+ me,
17572
+ peerId,
17573
+ peerEmail
17574
+ }) {
17575
+ const byShare = /* @__PURE__ */ new Map();
17576
+ for (const n of notifications) {
17577
+ if (n.type !== "file_shared") continue;
17578
+ const from = n.sender.external_id;
17579
+ const to = n.recipient.external_id;
17580
+ if (!(from === peerId && to === me || from === me && to === peerId)) continue;
17581
+ const meta = fileShareNotificationMeta(n.content);
17582
+ if (!meta) continue;
17583
+ const known = byShare.get(meta.shareId);
17584
+ if (!known || time2(n.created_at) > time2(known.at))
17585
+ byShare.set(meta.shareId, { shareId: meta.shareId, at: n.created_at, event: meta.event });
17586
+ }
17587
+ const email = peerEmail?.toLowerCase();
17588
+ if (email) {
17589
+ for (const share of shares)
17590
+ if (share.owner && !byShare.has(share.external_id) && share.recipients.some((r) => r.email.toLowerCase() === email))
17591
+ byShare.set(share.external_id, { shareId: share.external_id, at: null, event: null });
17592
+ }
17593
+ return [...byShare.values()].sort((a, b) => time2(a.at) - time2(b.at));
17594
+ }
17595
+ function useDmFileShares(peer) {
17596
+ const arbi = chunkP2DPOZBS_cjs.useArbi();
17597
+ const queryClient = reactQuery.useQueryClient();
17598
+ const me = chunkGFX7LQGR_cjs.myChatId(arbi);
17599
+ const person = peer && peer.external_id.startsWith("usr-") && me ? peer : null;
17600
+ const list = chunkBI7HFGXF_cjs.useFileShares(person && arbi.isLoggedIn ? arbi.getClient().fetch : null);
17601
+ const { data: notifications = [] } = useNotifications({ enabled: !!person });
17602
+ const entries = React.useMemo(
17603
+ () => person && me ? dmFileShareEntries({
17604
+ notifications,
17605
+ shares: list.data ?? [],
17606
+ me,
17607
+ peerId: person.external_id,
17608
+ peerEmail: person.email
17609
+ }) : [],
17610
+ [notifications, list.data, me, person]
17611
+ );
17612
+ const shareById = React.useMemo(
17613
+ () => new Map((list.data ?? []).map((share) => [share.external_id, share])),
17614
+ [list.data]
17615
+ );
17616
+ const newest = entries.reduce((max, e) => e.at && e.at > max ? e.at : max, "");
17617
+ const seen = React.useRef(newest);
17618
+ React.useEffect(() => {
17619
+ const previous = seen.current;
17620
+ seen.current = newest;
17621
+ if (previous && previous !== newest)
17622
+ void queryClient.invalidateQueries({ queryKey: chunkP2DPOZBS_cjs.arbiQueryKeys.fileShares() });
17623
+ }, [newest, queryClient]);
17624
+ return { entries, shareById, loaded: list.isSuccess, failed: list.isError };
17625
+ }
17626
+ function useFileSharePerson(userId) {
17627
+ const person = !!userId && userId.startsWith("usr-");
17628
+ const { data: notifications = [] } = useNotifications({ enabled: person });
17629
+ return React.useMemo(() => {
17630
+ if (!person) return null;
17631
+ for (const n of notifications) {
17632
+ if (n.type !== "file_shared") continue;
17633
+ if (n.sender.external_id === userId) return n.sender;
17634
+ if (n.recipient.external_id === userId) return n.recipient;
17635
+ }
17636
+ return null;
17637
+ }, [notifications, person, userId]);
17638
+ }
17546
17639
  var DEFAULT_ASPECT_OPTIONS = [
17547
17640
  { label: "1:1", value: 1 },
17548
17641
  { label: "4:3", value: 4 / 3 },
@@ -17621,7 +17714,7 @@ function ImageCropper({
17621
17714
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
17622
17715
  /* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-xs font-semibold uppercase tracking-wider text-muted-foreground", children: "Zoom" }),
17623
17716
  /* @__PURE__ */ jsxRuntime.jsx(
17624
- chunkBCUKXFB6_cjs.Slider,
17717
+ chunkB6T54X65_cjs.Slider,
17625
17718
  {
17626
17719
  value: [zoom],
17627
17720
  onValueChange: ([v]) => setZoom(v ?? 1),
@@ -19143,143 +19236,143 @@ Object.defineProperty(exports, "useDeploymentDomain", {
19143
19236
  });
19144
19237
  Object.defineProperty(exports, "DEFAULT_ASSISTANT_NAME", {
19145
19238
  enumerable: true,
19146
- get: function () { return chunkVAHVEHKM_cjs.DEFAULT_ASSISTANT_NAME; }
19239
+ get: function () { return chunk6RRKO4ZK_cjs.DEFAULT_ASSISTANT_NAME; }
19147
19240
  });
19148
19241
  Object.defineProperty(exports, "LEGACY_THREAD_DOCUMENTS_KEY", {
19149
19242
  enumerable: true,
19150
- get: function () { return chunkVAHVEHKM_cjs.LEGACY_THREAD_DOCUMENTS_KEY; }
19243
+ get: function () { return chunk6RRKO4ZK_cjs.LEGACY_THREAD_DOCUMENTS_KEY; }
19151
19244
  });
19152
19245
  Object.defineProperty(exports, "MENTION_HREF_PREFIX", {
19153
19246
  enumerable: true,
19154
- get: function () { return chunkVAHVEHKM_cjs.MENTION_HREF_PREFIX; }
19247
+ get: function () { return chunk6RRKO4ZK_cjs.MENTION_HREF_PREFIX; }
19155
19248
  });
19156
19249
  Object.defineProperty(exports, "NotificationBell", {
19157
19250
  enumerable: true,
19158
- get: function () { return chunkVAHVEHKM_cjs.NotificationBell; }
19251
+ get: function () { return chunk6RRKO4ZK_cjs.NotificationBell; }
19159
19252
  });
19160
19253
  Object.defineProperty(exports, "Toaster", {
19161
19254
  enumerable: true,
19162
- get: function () { return chunkVAHVEHKM_cjs.Toaster; }
19255
+ get: function () { return chunk6RRKO4ZK_cjs.Toaster; }
19163
19256
  });
19164
19257
  Object.defineProperty(exports, "UNBOUND", {
19165
19258
  enumerable: true,
19166
- get: function () { return chunkVAHVEHKM_cjs.UNBOUND; }
19259
+ get: function () { return chunk6RRKO4ZK_cjs.UNBOUND; }
19167
19260
  });
19168
19261
  Object.defineProperty(exports, "assistantCopy", {
19169
19262
  enumerable: true,
19170
- get: function () { return chunkVAHVEHKM_cjs.assistantCopy; }
19263
+ get: function () { return chunk6RRKO4ZK_cjs.assistantCopy; }
19171
19264
  });
19172
19265
  Object.defineProperty(exports, "bindingOfRow", {
19173
19266
  enumerable: true,
19174
- get: function () { return chunkVAHVEHKM_cjs.bindingOfRow; }
19267
+ get: function () { return chunk6RRKO4ZK_cjs.bindingOfRow; }
19175
19268
  });
19176
19269
  Object.defineProperty(exports, "clearSearchSession", {
19177
19270
  enumerable: true,
19178
- get: function () { return chunkVAHVEHKM_cjs.clearSearchSession; }
19271
+ get: function () { return chunk6RRKO4ZK_cjs.clearSearchSession; }
19179
19272
  });
19180
19273
  Object.defineProperty(exports, "createSearchSession", {
19181
19274
  enumerable: true,
19182
- get: function () { return chunkVAHVEHKM_cjs.createSearchSession; }
19275
+ get: function () { return chunk6RRKO4ZK_cjs.createSearchSession; }
19183
19276
  });
19184
19277
  Object.defineProperty(exports, "extractMentions", {
19185
19278
  enumerable: true,
19186
- get: function () { return chunkVAHVEHKM_cjs.extractMentions; }
19279
+ get: function () { return chunk6RRKO4ZK_cjs.extractMentions; }
19187
19280
  });
19188
19281
  Object.defineProperty(exports, "filterMentionCandidates", {
19189
19282
  enumerable: true,
19190
- get: function () { return chunkVAHVEHKM_cjs.filterMentionCandidates; }
19283
+ get: function () { return chunk6RRKO4ZK_cjs.filterMentionCandidates; }
19191
19284
  });
19192
19285
  Object.defineProperty(exports, "findMentionQuery", {
19193
19286
  enumerable: true,
19194
- get: function () { return chunkVAHVEHKM_cjs.findMentionQuery; }
19287
+ get: function () { return chunk6RRKO4ZK_cjs.findMentionQuery; }
19195
19288
  });
19196
19289
  Object.defineProperty(exports, "forgetLegacyThreadDocuments", {
19197
19290
  enumerable: true,
19198
- get: function () { return chunkVAHVEHKM_cjs.forgetLegacyThreadDocuments; }
19291
+ get: function () { return chunk6RRKO4ZK_cjs.forgetLegacyThreadDocuments; }
19199
19292
  });
19200
19293
  Object.defineProperty(exports, "hasMessageBody", {
19201
19294
  enumerable: true,
19202
- get: function () { return chunkVAHVEHKM_cjs.hasMessageBody; }
19295
+ get: function () { return chunk6RRKO4ZK_cjs.hasMessageBody; }
19203
19296
  });
19204
19297
  Object.defineProperty(exports, "insertMention", {
19205
19298
  enumerable: true,
19206
- get: function () { return chunkVAHVEHKM_cjs.insertMention; }
19299
+ get: function () { return chunk6RRKO4ZK_cjs.insertMention; }
19207
19300
  });
19208
19301
  Object.defineProperty(exports, "isSlideDeck", {
19209
19302
  enumerable: true,
19210
- get: function () { return chunkVAHVEHKM_cjs.isSlideDeck; }
19303
+ get: function () { return chunk6RRKO4ZK_cjs.isSlideDeck; }
19211
19304
  });
19212
19305
  Object.defineProperty(exports, "latestThreadOfDocument", {
19213
19306
  enumerable: true,
19214
- get: function () { return chunkVAHVEHKM_cjs.latestThreadOfDocument; }
19307
+ get: function () { return chunk6RRKO4ZK_cjs.latestThreadOfDocument; }
19215
19308
  });
19216
19309
  Object.defineProperty(exports, "linkMentions", {
19217
19310
  enumerable: true,
19218
- get: function () { return chunkVAHVEHKM_cjs.linkMentions; }
19311
+ get: function () { return chunk6RRKO4ZK_cjs.linkMentions; }
19219
19312
  });
19220
19313
  Object.defineProperty(exports, "mentionFromHref", {
19221
19314
  enumerable: true,
19222
- get: function () { return chunkVAHVEHKM_cjs.mentionFromHref; }
19315
+ get: function () { return chunk6RRKO4ZK_cjs.mentionFromHref; }
19223
19316
  });
19224
19317
  Object.defineProperty(exports, "openDocumentId", {
19225
19318
  enumerable: true,
19226
- get: function () { return chunkVAHVEHKM_cjs.openDocumentId; }
19319
+ get: function () { return chunk6RRKO4ZK_cjs.openDocumentId; }
19227
19320
  });
19228
19321
  Object.defineProperty(exports, "opensInWord", {
19229
19322
  enumerable: true,
19230
- get: function () { return chunkVAHVEHKM_cjs.opensInWord; }
19323
+ get: function () { return chunk6RRKO4ZK_cjs.opensInWord; }
19231
19324
  });
19232
19325
  Object.defineProperty(exports, "persistSearchSession", {
19233
19326
  enumerable: true,
19234
- get: function () { return chunkVAHVEHKM_cjs.persistSearchSession; }
19327
+ get: function () { return chunk6RRKO4ZK_cjs.persistSearchSession; }
19235
19328
  });
19236
19329
  Object.defineProperty(exports, "readLegacyThreadDocuments", {
19237
19330
  enumerable: true,
19238
- get: function () { return chunkVAHVEHKM_cjs.readLegacyThreadDocuments; }
19331
+ get: function () { return chunk6RRKO4ZK_cjs.readLegacyThreadDocuments; }
19239
19332
  });
19240
19333
  Object.defineProperty(exports, "requestSearch", {
19241
19334
  enumerable: true,
19242
- get: function () { return chunkVAHVEHKM_cjs.requestSearch; }
19335
+ get: function () { return chunk6RRKO4ZK_cjs.requestSearch; }
19243
19336
  });
19244
19337
  Object.defineProperty(exports, "savedDocumentIdFor", {
19245
19338
  enumerable: true,
19246
- get: function () { return chunkVAHVEHKM_cjs.savedDocumentIdFor; }
19339
+ get: function () { return chunk6RRKO4ZK_cjs.savedDocumentIdFor; }
19247
19340
  });
19248
19341
  Object.defineProperty(exports, "sharedSearchSession", {
19249
19342
  enumerable: true,
19250
- get: function () { return chunkVAHVEHKM_cjs.sharedSearchSession; }
19343
+ get: function () { return chunk6RRKO4ZK_cjs.sharedSearchSession; }
19251
19344
  });
19252
19345
  Object.defineProperty(exports, "takeDocumentForTurn", {
19253
19346
  enumerable: true,
19254
- get: function () { return chunkVAHVEHKM_cjs.takeDocumentForTurn; }
19347
+ get: function () { return chunk6RRKO4ZK_cjs.takeDocumentForTurn; }
19255
19348
  });
19256
19349
  Object.defineProperty(exports, "takePendingSearch", {
19257
19350
  enumerable: true,
19258
- get: function () { return chunkVAHVEHKM_cjs.takePendingSearch; }
19351
+ get: function () { return chunk6RRKO4ZK_cjs.takePendingSearch; }
19259
19352
  });
19260
19353
  Object.defineProperty(exports, "toMessageMentions", {
19261
19354
  enumerable: true,
19262
- get: function () { return chunkVAHVEHKM_cjs.toMessageMentions; }
19355
+ get: function () { return chunk6RRKO4ZK_cjs.toMessageMentions; }
19263
19356
  });
19264
19357
  Object.defineProperty(exports, "useAssistantCopy", {
19265
19358
  enumerable: true,
19266
- get: function () { return chunkVAHVEHKM_cjs.useAssistantCopy; }
19359
+ get: function () { return chunk6RRKO4ZK_cjs.useAssistantCopy; }
19267
19360
  });
19268
19361
  Object.defineProperty(exports, "useAssistantName", {
19269
19362
  enumerable: true,
19270
- get: function () { return chunkVAHVEHKM_cjs.useAssistantName; }
19363
+ get: function () { return chunk6RRKO4ZK_cjs.useAssistantName; }
19271
19364
  });
19272
19365
  Object.defineProperty(exports, "useOpenDocumentId", {
19273
19366
  enumerable: true,
19274
- get: function () { return chunkVAHVEHKM_cjs.useOpenDocumentId; }
19367
+ get: function () { return chunk6RRKO4ZK_cjs.useOpenDocumentId; }
19275
19368
  });
19276
19369
  Object.defineProperty(exports, "useRegisterOpenDocument", {
19277
19370
  enumerable: true,
19278
- get: function () { return chunkVAHVEHKM_cjs.useRegisterOpenDocument; }
19371
+ get: function () { return chunk6RRKO4ZK_cjs.useRegisterOpenDocument; }
19279
19372
  });
19280
19373
  Object.defineProperty(exports, "useTurnDocumentId", {
19281
19374
  enumerable: true,
19282
- get: function () { return chunkVAHVEHKM_cjs.useTurnDocumentId; }
19375
+ get: function () { return chunk6RRKO4ZK_cjs.useTurnDocumentId; }
19283
19376
  });
19284
19377
  Object.defineProperty(exports, "DEFAULT_NOTIFY_TONE", {
19285
19378
  enumerable: true,
@@ -19379,711 +19472,711 @@ Object.defineProperty(exports, "unwrapCitationLinks", {
19379
19472
  });
19380
19473
  Object.defineProperty(exports, "ARBI_MARK_SRC", {
19381
19474
  enumerable: true,
19382
- get: function () { return chunkBCUKXFB6_cjs.ARBI_MARK_SRC; }
19475
+ get: function () { return chunkB6T54X65_cjs.ARBI_MARK_SRC; }
19383
19476
  });
19384
19477
  Object.defineProperty(exports, "AUDIO_MIME_PREFERENCE", {
19385
19478
  enumerable: true,
19386
- get: function () { return chunkBCUKXFB6_cjs.AUDIO_MIME_PREFERENCE; }
19479
+ get: function () { return chunkB6T54X65_cjs.AUDIO_MIME_PREFERENCE; }
19387
19480
  });
19388
19481
  Object.defineProperty(exports, "AgentBadge", {
19389
19482
  enumerable: true,
19390
- get: function () { return chunkBCUKXFB6_cjs.AgentBadge; }
19483
+ get: function () { return chunkB6T54X65_cjs.AgentBadge; }
19391
19484
  });
19392
19485
  Object.defineProperty(exports, "AiMarkdown", {
19393
19486
  enumerable: true,
19394
- get: function () { return chunkBCUKXFB6_cjs.AiMarkdown; }
19487
+ get: function () { return chunkB6T54X65_cjs.AiMarkdown; }
19395
19488
  });
19396
19489
  Object.defineProperty(exports, "ArbiBotHeadIcon", {
19397
19490
  enumerable: true,
19398
- get: function () { return chunkBCUKXFB6_cjs.ArbiBotHeadIcon; }
19491
+ get: function () { return chunkB6T54X65_cjs.ArbiBotHeadIcon; }
19399
19492
  });
19400
19493
  Object.defineProperty(exports, "ArbiIcon", {
19401
19494
  enumerable: true,
19402
- get: function () { return chunkBCUKXFB6_cjs.ArbiIcon; }
19495
+ get: function () { return chunkB6T54X65_cjs.ArbiIcon; }
19403
19496
  });
19404
19497
  Object.defineProperty(exports, "AudIcon", {
19405
19498
  enumerable: true,
19406
- get: function () { return chunkBCUKXFB6_cjs.AudIcon; }
19499
+ get: function () { return chunkB6T54X65_cjs.AudIcon; }
19407
19500
  });
19408
19501
  Object.defineProperty(exports, "BASE_COLORS", {
19409
19502
  enumerable: true,
19410
- get: function () { return chunkBCUKXFB6_cjs.BASE_COLORS; }
19503
+ get: function () { return chunkB6T54X65_cjs.BASE_COLORS; }
19411
19504
  });
19412
19505
  Object.defineProperty(exports, "Badge", {
19413
19506
  enumerable: true,
19414
- get: function () { return chunkBCUKXFB6_cjs.Badge; }
19507
+ get: function () { return chunkB6T54X65_cjs.Badge; }
19415
19508
  });
19416
19509
  Object.defineProperty(exports, "COLUMN_LABEL_FALLBACKS", {
19417
19510
  enumerable: true,
19418
- get: function () { return chunkBCUKXFB6_cjs.COLUMN_LABEL_FALLBACKS; }
19511
+ get: function () { return chunkB6T54X65_cjs.COLUMN_LABEL_FALLBACKS; }
19419
19512
  });
19420
19513
  Object.defineProperty(exports, "Card", {
19421
19514
  enumerable: true,
19422
- get: function () { return chunkBCUKXFB6_cjs.Card; }
19515
+ get: function () { return chunkB6T54X65_cjs.Card; }
19423
19516
  });
19424
19517
  Object.defineProperty(exports, "CardContent", {
19425
19518
  enumerable: true,
19426
- get: function () { return chunkBCUKXFB6_cjs.CardContent; }
19519
+ get: function () { return chunkB6T54X65_cjs.CardContent; }
19427
19520
  });
19428
19521
  Object.defineProperty(exports, "CardDescription", {
19429
19522
  enumerable: true,
19430
- get: function () { return chunkBCUKXFB6_cjs.CardDescription; }
19523
+ get: function () { return chunkB6T54X65_cjs.CardDescription; }
19431
19524
  });
19432
19525
  Object.defineProperty(exports, "CardFooter", {
19433
19526
  enumerable: true,
19434
- get: function () { return chunkBCUKXFB6_cjs.CardFooter; }
19527
+ get: function () { return chunkB6T54X65_cjs.CardFooter; }
19435
19528
  });
19436
19529
  Object.defineProperty(exports, "CardHeader", {
19437
19530
  enumerable: true,
19438
- get: function () { return chunkBCUKXFB6_cjs.CardHeader; }
19531
+ get: function () { return chunkB6T54X65_cjs.CardHeader; }
19439
19532
  });
19440
19533
  Object.defineProperty(exports, "CardTitle", {
19441
19534
  enumerable: true,
19442
- get: function () { return chunkBCUKXFB6_cjs.CardTitle; }
19535
+ get: function () { return chunkB6T54X65_cjs.CardTitle; }
19443
19536
  });
19444
19537
  Object.defineProperty(exports, "Checkbox", {
19445
19538
  enumerable: true,
19446
- get: function () { return chunkBCUKXFB6_cjs.Checkbox; }
19539
+ get: function () { return chunkB6T54X65_cjs.Checkbox; }
19447
19540
  });
19448
19541
  Object.defineProperty(exports, "ClaudeIcon", {
19449
19542
  enumerable: true,
19450
- get: function () { return chunkBCUKXFB6_cjs.ClaudeIcon; }
19543
+ get: function () { return chunkB6T54X65_cjs.ClaudeIcon; }
19451
19544
  });
19452
19545
  Object.defineProperty(exports, "Collapsible", {
19453
19546
  enumerable: true,
19454
- get: function () { return chunkBCUKXFB6_cjs.Collapsible; }
19547
+ get: function () { return chunkB6T54X65_cjs.Collapsible; }
19455
19548
  });
19456
19549
  Object.defineProperty(exports, "CollapsibleContent", {
19457
19550
  enumerable: true,
19458
- get: function () { return chunkBCUKXFB6_cjs.CollapsibleContent; }
19551
+ get: function () { return chunkB6T54X65_cjs.CollapsibleContent; }
19459
19552
  });
19460
19553
  Object.defineProperty(exports, "CollapsibleTrigger", {
19461
19554
  enumerable: true,
19462
- get: function () { return chunkBCUKXFB6_cjs.CollapsibleTrigger; }
19555
+ get: function () { return chunkB6T54X65_cjs.CollapsibleTrigger; }
19463
19556
  });
19464
19557
  Object.defineProperty(exports, "Command", {
19465
19558
  enumerable: true,
19466
- get: function () { return chunkBCUKXFB6_cjs.Command; }
19559
+ get: function () { return chunkB6T54X65_cjs.Command; }
19467
19560
  });
19468
19561
  Object.defineProperty(exports, "CommandDialog", {
19469
19562
  enumerable: true,
19470
- get: function () { return chunkBCUKXFB6_cjs.CommandDialog; }
19563
+ get: function () { return chunkB6T54X65_cjs.CommandDialog; }
19471
19564
  });
19472
19565
  Object.defineProperty(exports, "CommandEmpty", {
19473
19566
  enumerable: true,
19474
- get: function () { return chunkBCUKXFB6_cjs.CommandEmpty; }
19567
+ get: function () { return chunkB6T54X65_cjs.CommandEmpty; }
19475
19568
  });
19476
19569
  Object.defineProperty(exports, "CommandGroup", {
19477
19570
  enumerable: true,
19478
- get: function () { return chunkBCUKXFB6_cjs.CommandGroup; }
19571
+ get: function () { return chunkB6T54X65_cjs.CommandGroup; }
19479
19572
  });
19480
19573
  Object.defineProperty(exports, "CommandInput", {
19481
19574
  enumerable: true,
19482
- get: function () { return chunkBCUKXFB6_cjs.CommandInput; }
19575
+ get: function () { return chunkB6T54X65_cjs.CommandInput; }
19483
19576
  });
19484
19577
  Object.defineProperty(exports, "CommandItem", {
19485
19578
  enumerable: true,
19486
- get: function () { return chunkBCUKXFB6_cjs.CommandItem; }
19579
+ get: function () { return chunkB6T54X65_cjs.CommandItem; }
19487
19580
  });
19488
19581
  Object.defineProperty(exports, "CommandList", {
19489
19582
  enumerable: true,
19490
- get: function () { return chunkBCUKXFB6_cjs.CommandList; }
19583
+ get: function () { return chunkB6T54X65_cjs.CommandList; }
19491
19584
  });
19492
19585
  Object.defineProperty(exports, "CommandSeparator", {
19493
19586
  enumerable: true,
19494
- get: function () { return chunkBCUKXFB6_cjs.CommandSeparator; }
19587
+ get: function () { return chunkB6T54X65_cjs.CommandSeparator; }
19495
19588
  });
19496
19589
  Object.defineProperty(exports, "CommandShortcut", {
19497
19590
  enumerable: true,
19498
- get: function () { return chunkBCUKXFB6_cjs.CommandShortcut; }
19591
+ get: function () { return chunkB6T54X65_cjs.CommandShortcut; }
19499
19592
  });
19500
19593
  Object.defineProperty(exports, "DEFAULT_METADATA_TAGS", {
19501
19594
  enumerable: true,
19502
- get: function () { return chunkBCUKXFB6_cjs.DEFAULT_METADATA_TAGS; }
19595
+ get: function () { return chunkB6T54X65_cjs.DEFAULT_METADATA_TAGS; }
19503
19596
  });
19504
19597
  Object.defineProperty(exports, "DebouncedInput", {
19505
19598
  enumerable: true,
19506
- get: function () { return chunkBCUKXFB6_cjs.DebouncedInput; }
19599
+ get: function () { return chunkB6T54X65_cjs.DebouncedInput; }
19507
19600
  });
19508
19601
  Object.defineProperty(exports, "DocIcon", {
19509
19602
  enumerable: true,
19510
- get: function () { return chunkBCUKXFB6_cjs.DocIcon; }
19603
+ get: function () { return chunkB6T54X65_cjs.DocIcon; }
19511
19604
  });
19512
19605
  Object.defineProperty(exports, "DocumentEntity", {
19513
19606
  enumerable: true,
19514
- get: function () { return chunkBCUKXFB6_cjs.DocumentEntity; }
19607
+ get: function () { return chunkB6T54X65_cjs.DocumentEntity; }
19515
19608
  });
19516
19609
  Object.defineProperty(exports, "ENTITY_MAPPINGS", {
19517
19610
  enumerable: true,
19518
- get: function () { return chunkBCUKXFB6_cjs.ENTITY_MAPPINGS; }
19611
+ get: function () { return chunkB6T54X65_cjs.ENTITY_MAPPINGS; }
19519
19612
  });
19520
19613
  Object.defineProperty(exports, "EmlIcon", {
19521
19614
  enumerable: true,
19522
- get: function () { return chunkBCUKXFB6_cjs.EmlIcon; }
19615
+ get: function () { return chunkB6T54X65_cjs.EmlIcon; }
19523
19616
  });
19524
19617
  Object.defineProperty(exports, "EntityIcon", {
19525
19618
  enumerable: true,
19526
- get: function () { return chunkBCUKXFB6_cjs.EntityIcon; }
19619
+ get: function () { return chunkB6T54X65_cjs.EntityIcon; }
19527
19620
  });
19528
19621
  Object.defineProperty(exports, "EntityPill", {
19529
19622
  enumerable: true,
19530
- get: function () { return chunkBCUKXFB6_cjs.EntityPill; }
19623
+ get: function () { return chunkB6T54X65_cjs.EntityPill; }
19531
19624
  });
19532
19625
  Object.defineProperty(exports, "FILE_TYPE_COLORS", {
19533
19626
  enumerable: true,
19534
- get: function () { return chunkBCUKXFB6_cjs.FILE_TYPE_COLORS; }
19627
+ get: function () { return chunkB6T54X65_cjs.FILE_TYPE_COLORS; }
19535
19628
  });
19536
19629
  Object.defineProperty(exports, "FireworksIcon", {
19537
19630
  enumerable: true,
19538
- get: function () { return chunkBCUKXFB6_cjs.FireworksIcon; }
19631
+ get: function () { return chunkB6T54X65_cjs.FireworksIcon; }
19539
19632
  });
19540
19633
  Object.defineProperty(exports, "GeminiIcon", {
19541
19634
  enumerable: true,
19542
- get: function () { return chunkBCUKXFB6_cjs.GeminiIcon; }
19635
+ get: function () { return chunkB6T54X65_cjs.GeminiIcon; }
19543
19636
  });
19544
19637
  Object.defineProperty(exports, "GoogleIcon", {
19545
19638
  enumerable: true,
19546
- get: function () { return chunkBCUKXFB6_cjs.GoogleIcon; }
19639
+ get: function () { return chunkB6T54X65_cjs.GoogleIcon; }
19547
19640
  });
19548
19641
  Object.defineProperty(exports, "HoverCard", {
19549
19642
  enumerable: true,
19550
- get: function () { return chunkBCUKXFB6_cjs.HoverCard; }
19643
+ get: function () { return chunkB6T54X65_cjs.HoverCard; }
19551
19644
  });
19552
19645
  Object.defineProperty(exports, "HoverCardContent", {
19553
19646
  enumerable: true,
19554
- get: function () { return chunkBCUKXFB6_cjs.HoverCardContent; }
19647
+ get: function () { return chunkB6T54X65_cjs.HoverCardContent; }
19555
19648
  });
19556
19649
  Object.defineProperty(exports, "HoverCardTrigger", {
19557
19650
  enumerable: true,
19558
- get: function () { return chunkBCUKXFB6_cjs.HoverCardTrigger; }
19651
+ get: function () { return chunkB6T54X65_cjs.HoverCardTrigger; }
19559
19652
  });
19560
19653
  Object.defineProperty(exports, "HtmlIcon", {
19561
19654
  enumerable: true,
19562
- get: function () { return chunkBCUKXFB6_cjs.HtmlIcon; }
19655
+ get: function () { return chunkB6T54X65_cjs.HtmlIcon; }
19563
19656
  });
19564
19657
  Object.defineProperty(exports, "IconToggle", {
19565
19658
  enumerable: true,
19566
- get: function () { return chunkBCUKXFB6_cjs.IconToggle; }
19659
+ get: function () { return chunkB6T54X65_cjs.IconToggle; }
19567
19660
  });
19568
19661
  Object.defineProperty(exports, "ImgIcon", {
19569
19662
  enumerable: true,
19570
- get: function () { return chunkBCUKXFB6_cjs.ImgIcon; }
19663
+ get: function () { return chunkB6T54X65_cjs.ImgIcon; }
19571
19664
  });
19572
19665
  Object.defineProperty(exports, "InlineMicButton", {
19573
19666
  enumerable: true,
19574
- get: function () { return chunkBCUKXFB6_cjs.InlineMicButton; }
19667
+ get: function () { return chunkB6T54X65_cjs.InlineMicButton; }
19575
19668
  });
19576
19669
  Object.defineProperty(exports, "Input", {
19577
19670
  enumerable: true,
19578
- get: function () { return chunkBCUKXFB6_cjs.Input; }
19671
+ get: function () { return chunkB6T54X65_cjs.Input; }
19579
19672
  });
19580
19673
  Object.defineProperty(exports, "Label", {
19581
19674
  enumerable: true,
19582
- get: function () { return chunkBCUKXFB6_cjs.Label; }
19675
+ get: function () { return chunkB6T54X65_cjs.Label; }
19583
19676
  });
19584
19677
  Object.defineProperty(exports, "MarkMenu", {
19585
19678
  enumerable: true,
19586
- get: function () { return chunkBCUKXFB6_cjs.MarkMenu; }
19679
+ get: function () { return chunkB6T54X65_cjs.MarkMenu; }
19587
19680
  });
19588
19681
  Object.defineProperty(exports, "MicRecordingOverlay", {
19589
19682
  enumerable: true,
19590
- get: function () { return chunkBCUKXFB6_cjs.MicRecordingOverlay; }
19683
+ get: function () { return chunkB6T54X65_cjs.MicRecordingOverlay; }
19591
19684
  });
19592
19685
  Object.defineProperty(exports, "MicWaveformIndicator", {
19593
19686
  enumerable: true,
19594
- get: function () { return chunkBCUKXFB6_cjs.MicWaveformIndicator; }
19687
+ get: function () { return chunkB6T54X65_cjs.MicWaveformIndicator; }
19595
19688
  });
19596
19689
  Object.defineProperty(exports, "NEUTRAL_GRAY", {
19597
19690
  enumerable: true,
19598
- get: function () { return chunkBCUKXFB6_cjs.NEUTRAL_GRAY; }
19691
+ get: function () { return chunkB6T54X65_cjs.NEUTRAL_GRAY; }
19599
19692
  });
19600
19693
  Object.defineProperty(exports, "OpenAIIcon", {
19601
19694
  enumerable: true,
19602
- get: function () { return chunkBCUKXFB6_cjs.OpenAIIcon; }
19695
+ get: function () { return chunkB6T54X65_cjs.OpenAIIcon; }
19603
19696
  });
19604
19697
  Object.defineProperty(exports, "PLACEHOLDER_COLOR", {
19605
19698
  enumerable: true,
19606
- get: function () { return chunkBCUKXFB6_cjs.PLACEHOLDER_COLOR; }
19699
+ get: function () { return chunkB6T54X65_cjs.PLACEHOLDER_COLOR; }
19607
19700
  });
19608
19701
  Object.defineProperty(exports, "PRESENTATIONS_FOLDER", {
19609
19702
  enumerable: true,
19610
- get: function () { return chunkBCUKXFB6_cjs.PRESENTATIONS_FOLDER; }
19703
+ get: function () { return chunkB6T54X65_cjs.PRESENTATIONS_FOLDER; }
19611
19704
  });
19612
19705
  Object.defineProperty(exports, "PRESENTATION_TEMPLATES_FOLDER", {
19613
19706
  enumerable: true,
19614
- get: function () { return chunkBCUKXFB6_cjs.PRESENTATION_TEMPLATES_FOLDER; }
19707
+ get: function () { return chunkB6T54X65_cjs.PRESENTATION_TEMPLATES_FOLDER; }
19615
19708
  });
19616
19709
  Object.defineProperty(exports, "PassageCard", {
19617
19710
  enumerable: true,
19618
- get: function () { return chunkBCUKXFB6_cjs.PassageCard; }
19711
+ get: function () { return chunkB6T54X65_cjs.PassageCard; }
19619
19712
  });
19620
19713
  Object.defineProperty(exports, "PdfIcon", {
19621
19714
  enumerable: true,
19622
- get: function () { return chunkBCUKXFB6_cjs.PdfIcon; }
19715
+ get: function () { return chunkB6T54X65_cjs.PdfIcon; }
19623
19716
  });
19624
19717
  Object.defineProperty(exports, "Popover", {
19625
19718
  enumerable: true,
19626
- get: function () { return chunkBCUKXFB6_cjs.Popover; }
19719
+ get: function () { return chunkB6T54X65_cjs.Popover; }
19627
19720
  });
19628
19721
  Object.defineProperty(exports, "PopoverAnchor", {
19629
19722
  enumerable: true,
19630
- get: function () { return chunkBCUKXFB6_cjs.PopoverAnchor; }
19723
+ get: function () { return chunkB6T54X65_cjs.PopoverAnchor; }
19631
19724
  });
19632
19725
  Object.defineProperty(exports, "PopoverClose", {
19633
19726
  enumerable: true,
19634
- get: function () { return chunkBCUKXFB6_cjs.PopoverClose; }
19727
+ get: function () { return chunkB6T54X65_cjs.PopoverClose; }
19635
19728
  });
19636
19729
  Object.defineProperty(exports, "PopoverContent", {
19637
19730
  enumerable: true,
19638
- get: function () { return chunkBCUKXFB6_cjs.PopoverContent; }
19731
+ get: function () { return chunkB6T54X65_cjs.PopoverContent; }
19639
19732
  });
19640
19733
  Object.defineProperty(exports, "PopoverTrigger", {
19641
19734
  enumerable: true,
19642
- get: function () { return chunkBCUKXFB6_cjs.PopoverTrigger; }
19735
+ get: function () { return chunkB6T54X65_cjs.PopoverTrigger; }
19643
19736
  });
19644
19737
  Object.defineProperty(exports, "PresIcon", {
19645
19738
  enumerable: true,
19646
- get: function () { return chunkBCUKXFB6_cjs.PresIcon; }
19739
+ get: function () { return chunkB6T54X65_cjs.PresIcon; }
19647
19740
  });
19648
19741
  Object.defineProperty(exports, "PresenceLabel", {
19649
19742
  enumerable: true,
19650
- get: function () { return chunkBCUKXFB6_cjs.PresenceLabel; }
19743
+ get: function () { return chunkB6T54X65_cjs.PresenceLabel; }
19651
19744
  });
19652
19745
  Object.defineProperty(exports, "Progress", {
19653
19746
  enumerable: true,
19654
- get: function () { return chunkBCUKXFB6_cjs.Progress; }
19747
+ get: function () { return chunkB6T54X65_cjs.Progress; }
19655
19748
  });
19656
19749
  Object.defineProperty(exports, "ProjectEntity", {
19657
19750
  enumerable: true,
19658
- get: function () { return chunkBCUKXFB6_cjs.ProjectEntity; }
19751
+ get: function () { return chunkB6T54X65_cjs.ProjectEntity; }
19659
19752
  });
19660
19753
  Object.defineProperty(exports, "ProviderIcon", {
19661
19754
  enumerable: true,
19662
- get: function () { return chunkBCUKXFB6_cjs.ProviderIcon; }
19755
+ get: function () { return chunkB6T54X65_cjs.ProviderIcon; }
19663
19756
  });
19664
19757
  Object.defineProperty(exports, "RadioGroup", {
19665
19758
  enumerable: true,
19666
- get: function () { return chunkBCUKXFB6_cjs.RadioGroup; }
19759
+ get: function () { return chunkB6T54X65_cjs.RadioGroup; }
19667
19760
  });
19668
19761
  Object.defineProperty(exports, "RadioGroupItem", {
19669
19762
  enumerable: true,
19670
- get: function () { return chunkBCUKXFB6_cjs.RadioGroupItem; }
19763
+ get: function () { return chunkB6T54X65_cjs.RadioGroupItem; }
19671
19764
  });
19672
19765
  Object.defineProperty(exports, "SHARING_LABELS", {
19673
19766
  enumerable: true,
19674
- get: function () { return chunkBCUKXFB6_cjs.SHARING_LABELS; }
19767
+ get: function () { return chunkB6T54X65_cjs.SHARING_LABELS; }
19675
19768
  });
19676
19769
  Object.defineProperty(exports, "Select", {
19677
19770
  enumerable: true,
19678
- get: function () { return chunkBCUKXFB6_cjs.Select; }
19771
+ get: function () { return chunkB6T54X65_cjs.Select; }
19679
19772
  });
19680
19773
  Object.defineProperty(exports, "SelectContent", {
19681
19774
  enumerable: true,
19682
- get: function () { return chunkBCUKXFB6_cjs.SelectContent; }
19775
+ get: function () { return chunkB6T54X65_cjs.SelectContent; }
19683
19776
  });
19684
19777
  Object.defineProperty(exports, "SelectGroup", {
19685
19778
  enumerable: true,
19686
- get: function () { return chunkBCUKXFB6_cjs.SelectGroup; }
19779
+ get: function () { return chunkB6T54X65_cjs.SelectGroup; }
19687
19780
  });
19688
19781
  Object.defineProperty(exports, "SelectItem", {
19689
19782
  enumerable: true,
19690
- get: function () { return chunkBCUKXFB6_cjs.SelectItem; }
19783
+ get: function () { return chunkB6T54X65_cjs.SelectItem; }
19691
19784
  });
19692
19785
  Object.defineProperty(exports, "SelectLabel", {
19693
19786
  enumerable: true,
19694
- get: function () { return chunkBCUKXFB6_cjs.SelectLabel; }
19787
+ get: function () { return chunkB6T54X65_cjs.SelectLabel; }
19695
19788
  });
19696
19789
  Object.defineProperty(exports, "SelectScrollDownButton", {
19697
19790
  enumerable: true,
19698
- get: function () { return chunkBCUKXFB6_cjs.SelectScrollDownButton; }
19791
+ get: function () { return chunkB6T54X65_cjs.SelectScrollDownButton; }
19699
19792
  });
19700
19793
  Object.defineProperty(exports, "SelectScrollUpButton", {
19701
19794
  enumerable: true,
19702
- get: function () { return chunkBCUKXFB6_cjs.SelectScrollUpButton; }
19795
+ get: function () { return chunkB6T54X65_cjs.SelectScrollUpButton; }
19703
19796
  });
19704
19797
  Object.defineProperty(exports, "SelectSeparator", {
19705
19798
  enumerable: true,
19706
- get: function () { return chunkBCUKXFB6_cjs.SelectSeparator; }
19799
+ get: function () { return chunkB6T54X65_cjs.SelectSeparator; }
19707
19800
  });
19708
19801
  Object.defineProperty(exports, "SelectTrigger", {
19709
19802
  enumerable: true,
19710
- get: function () { return chunkBCUKXFB6_cjs.SelectTrigger; }
19803
+ get: function () { return chunkB6T54X65_cjs.SelectTrigger; }
19711
19804
  });
19712
19805
  Object.defineProperty(exports, "SelectValue", {
19713
19806
  enumerable: true,
19714
- get: function () { return chunkBCUKXFB6_cjs.SelectValue; }
19807
+ get: function () { return chunkB6T54X65_cjs.SelectValue; }
19715
19808
  });
19716
19809
  Object.defineProperty(exports, "Separator", {
19717
19810
  enumerable: true,
19718
- get: function () { return chunkBCUKXFB6_cjs.Separator; }
19811
+ get: function () { return chunkB6T54X65_cjs.Separator; }
19719
19812
  });
19720
19813
  Object.defineProperty(exports, "SharingEntity", {
19721
19814
  enumerable: true,
19722
- get: function () { return chunkBCUKXFB6_cjs.SharingEntity; }
19815
+ get: function () { return chunkB6T54X65_cjs.SharingEntity; }
19723
19816
  });
19724
19817
  Object.defineProperty(exports, "ShieldIcon", {
19725
19818
  enumerable: true,
19726
- get: function () { return chunkBCUKXFB6_cjs.ShieldIcon; }
19819
+ get: function () { return chunkB6T54X65_cjs.ShieldIcon; }
19727
19820
  });
19728
19821
  Object.defineProperty(exports, "Slider", {
19729
19822
  enumerable: true,
19730
- get: function () { return chunkBCUKXFB6_cjs.Slider; }
19823
+ get: function () { return chunkB6T54X65_cjs.Slider; }
19731
19824
  });
19732
19825
  Object.defineProperty(exports, "StatusPill", {
19733
19826
  enumerable: true,
19734
- get: function () { return chunkBCUKXFB6_cjs.StatusPill; }
19827
+ get: function () { return chunkB6T54X65_cjs.StatusPill; }
19735
19828
  });
19736
19829
  Object.defineProperty(exports, "Switch", {
19737
19830
  enumerable: true,
19738
- get: function () { return chunkBCUKXFB6_cjs.Switch; }
19831
+ get: function () { return chunkB6T54X65_cjs.Switch; }
19739
19832
  });
19740
19833
  Object.defineProperty(exports, "TAG_TYPE_ICONS", {
19741
19834
  enumerable: true,
19742
- get: function () { return chunkBCUKXFB6_cjs.TAG_TYPE_ICONS; }
19835
+ get: function () { return chunkB6T54X65_cjs.TAG_TYPE_ICONS; }
19743
19836
  });
19744
19837
  Object.defineProperty(exports, "TAG_TYPE_LABELS", {
19745
19838
  enumerable: true,
19746
- get: function () { return chunkBCUKXFB6_cjs.TAG_TYPE_LABELS; }
19839
+ get: function () { return chunkB6T54X65_cjs.TAG_TYPE_LABELS; }
19747
19840
  });
19748
19841
  Object.defineProperty(exports, "Table", {
19749
19842
  enumerable: true,
19750
- get: function () { return chunkBCUKXFB6_cjs.Table; }
19843
+ get: function () { return chunkB6T54X65_cjs.Table; }
19751
19844
  });
19752
19845
  Object.defineProperty(exports, "TableBody", {
19753
19846
  enumerable: true,
19754
- get: function () { return chunkBCUKXFB6_cjs.TableBody; }
19847
+ get: function () { return chunkB6T54X65_cjs.TableBody; }
19755
19848
  });
19756
19849
  Object.defineProperty(exports, "TableCaption", {
19757
19850
  enumerable: true,
19758
- get: function () { return chunkBCUKXFB6_cjs.TableCaption; }
19851
+ get: function () { return chunkB6T54X65_cjs.TableCaption; }
19759
19852
  });
19760
19853
  Object.defineProperty(exports, "TableCell", {
19761
19854
  enumerable: true,
19762
- get: function () { return chunkBCUKXFB6_cjs.TableCell; }
19855
+ get: function () { return chunkB6T54X65_cjs.TableCell; }
19763
19856
  });
19764
19857
  Object.defineProperty(exports, "TableFooter", {
19765
19858
  enumerable: true,
19766
- get: function () { return chunkBCUKXFB6_cjs.TableFooter; }
19859
+ get: function () { return chunkB6T54X65_cjs.TableFooter; }
19767
19860
  });
19768
19861
  Object.defineProperty(exports, "TableHead", {
19769
19862
  enumerable: true,
19770
- get: function () { return chunkBCUKXFB6_cjs.TableHead; }
19863
+ get: function () { return chunkB6T54X65_cjs.TableHead; }
19771
19864
  });
19772
19865
  Object.defineProperty(exports, "TableHeader", {
19773
19866
  enumerable: true,
19774
- get: function () { return chunkBCUKXFB6_cjs.TableHeader; }
19867
+ get: function () { return chunkB6T54X65_cjs.TableHeader; }
19775
19868
  });
19776
19869
  Object.defineProperty(exports, "TableRow", {
19777
19870
  enumerable: true,
19778
- get: function () { return chunkBCUKXFB6_cjs.TableRow; }
19871
+ get: function () { return chunkB6T54X65_cjs.TableRow; }
19779
19872
  });
19780
19873
  Object.defineProperty(exports, "Tabs", {
19781
19874
  enumerable: true,
19782
- get: function () { return chunkBCUKXFB6_cjs.Tabs; }
19875
+ get: function () { return chunkB6T54X65_cjs.Tabs; }
19783
19876
  });
19784
19877
  Object.defineProperty(exports, "TabsContent", {
19785
19878
  enumerable: true,
19786
- get: function () { return chunkBCUKXFB6_cjs.TabsContent; }
19879
+ get: function () { return chunkB6T54X65_cjs.TabsContent; }
19787
19880
  });
19788
19881
  Object.defineProperty(exports, "TabsList", {
19789
19882
  enumerable: true,
19790
- get: function () { return chunkBCUKXFB6_cjs.TabsList; }
19883
+ get: function () { return chunkB6T54X65_cjs.TabsList; }
19791
19884
  });
19792
19885
  Object.defineProperty(exports, "TabsTrigger", {
19793
19886
  enumerable: true,
19794
- get: function () { return chunkBCUKXFB6_cjs.TabsTrigger; }
19887
+ get: function () { return chunkB6T54X65_cjs.TabsTrigger; }
19795
19888
  });
19796
19889
  Object.defineProperty(exports, "TagEntity", {
19797
19890
  enumerable: true,
19798
- get: function () { return chunkBCUKXFB6_cjs.TagEntity; }
19891
+ get: function () { return chunkB6T54X65_cjs.TagEntity; }
19799
19892
  });
19800
19893
  Object.defineProperty(exports, "Textarea", {
19801
19894
  enumerable: true,
19802
- get: function () { return chunkBCUKXFB6_cjs.Textarea; }
19895
+ get: function () { return chunkB6T54X65_cjs.Textarea; }
19803
19896
  });
19804
19897
  Object.defineProperty(exports, "ThreadVisibilityIcon", {
19805
19898
  enumerable: true,
19806
- get: function () { return chunkBCUKXFB6_cjs.ThreadVisibilityIcon; }
19899
+ get: function () { return chunkB6T54X65_cjs.ThreadVisibilityIcon; }
19807
19900
  });
19808
19901
  Object.defineProperty(exports, "Toggle", {
19809
19902
  enumerable: true,
19810
- get: function () { return chunkBCUKXFB6_cjs.Toggle; }
19903
+ get: function () { return chunkB6T54X65_cjs.Toggle; }
19811
19904
  });
19812
19905
  Object.defineProperty(exports, "ToggleGroup", {
19813
19906
  enumerable: true,
19814
- get: function () { return chunkBCUKXFB6_cjs.ToggleGroup; }
19907
+ get: function () { return chunkB6T54X65_cjs.ToggleGroup; }
19815
19908
  });
19816
19909
  Object.defineProperty(exports, "ToggleGroupItem", {
19817
19910
  enumerable: true,
19818
- get: function () { return chunkBCUKXFB6_cjs.ToggleGroupItem; }
19911
+ get: function () { return chunkB6T54X65_cjs.ToggleGroupItem; }
19819
19912
  });
19820
19913
  Object.defineProperty(exports, "Tooltip", {
19821
19914
  enumerable: true,
19822
- get: function () { return chunkBCUKXFB6_cjs.Tooltip; }
19915
+ get: function () { return chunkB6T54X65_cjs.Tooltip; }
19823
19916
  });
19824
19917
  Object.defineProperty(exports, "TooltipContent", {
19825
19918
  enumerable: true,
19826
- get: function () { return chunkBCUKXFB6_cjs.TooltipContent; }
19919
+ get: function () { return chunkB6T54X65_cjs.TooltipContent; }
19827
19920
  });
19828
19921
  Object.defineProperty(exports, "TooltipProvider", {
19829
19922
  enumerable: true,
19830
- get: function () { return chunkBCUKXFB6_cjs.TooltipProvider; }
19923
+ get: function () { return chunkB6T54X65_cjs.TooltipProvider; }
19831
19924
  });
19832
19925
  Object.defineProperty(exports, "TooltipTrigger", {
19833
19926
  enumerable: true,
19834
- get: function () { return chunkBCUKXFB6_cjs.TooltipTrigger; }
19927
+ get: function () { return chunkB6T54X65_cjs.TooltipTrigger; }
19835
19928
  });
19836
19929
  Object.defineProperty(exports, "TxtIcon", {
19837
19930
  enumerable: true,
19838
- get: function () { return chunkBCUKXFB6_cjs.TxtIcon; }
19931
+ get: function () { return chunkB6T54X65_cjs.TxtIcon; }
19839
19932
  });
19840
19933
  Object.defineProperty(exports, "UserEntity", {
19841
19934
  enumerable: true,
19842
- get: function () { return chunkBCUKXFB6_cjs.UserEntity; }
19935
+ get: function () { return chunkB6T54X65_cjs.UserEntity; }
19843
19936
  });
19844
19937
  Object.defineProperty(exports, "UserMenu", {
19845
19938
  enumerable: true,
19846
- get: function () { return chunkBCUKXFB6_cjs.UserMenu; }
19939
+ get: function () { return chunkB6T54X65_cjs.UserMenu; }
19847
19940
  });
19848
19941
  Object.defineProperty(exports, "VIDEO_MIME_PREFERENCE", {
19849
19942
  enumerable: true,
19850
- get: function () { return chunkBCUKXFB6_cjs.VIDEO_MIME_PREFERENCE; }
19943
+ get: function () { return chunkB6T54X65_cjs.VIDEO_MIME_PREFERENCE; }
19851
19944
  });
19852
19945
  Object.defineProperty(exports, "VISIBILITY_ICONS", {
19853
19946
  enumerable: true,
19854
- get: function () { return chunkBCUKXFB6_cjs.VISIBILITY_ICONS; }
19947
+ get: function () { return chunkB6T54X65_cjs.VISIBILITY_ICONS; }
19855
19948
  });
19856
19949
  Object.defineProperty(exports, "VerifiedBadge", {
19857
19950
  enumerable: true,
19858
- get: function () { return chunkBCUKXFB6_cjs.VerifiedBadge; }
19951
+ get: function () { return chunkB6T54X65_cjs.VerifiedBadge; }
19859
19952
  });
19860
19953
  Object.defineProperty(exports, "VerifiedToggle", {
19861
19954
  enumerable: true,
19862
- get: function () { return chunkBCUKXFB6_cjs.VerifiedToggle; }
19955
+ get: function () { return chunkB6T54X65_cjs.VerifiedToggle; }
19863
19956
  });
19864
19957
  Object.defineProperty(exports, "VidIcon", {
19865
19958
  enumerable: true,
19866
- get: function () { return chunkBCUKXFB6_cjs.VidIcon; }
19959
+ get: function () { return chunkB6T54X65_cjs.VidIcon; }
19867
19960
  });
19868
19961
  Object.defineProperty(exports, "VisibilityIcon", {
19869
19962
  enumerable: true,
19870
- get: function () { return chunkBCUKXFB6_cjs.VisibilityIcon; }
19963
+ get: function () { return chunkB6T54X65_cjs.VisibilityIcon; }
19871
19964
  });
19872
19965
  Object.defineProperty(exports, "VisibilityToggle", {
19873
19966
  enumerable: true,
19874
- get: function () { return chunkBCUKXFB6_cjs.VisibilityToggle; }
19967
+ get: function () { return chunkB6T54X65_cjs.VisibilityToggle; }
19875
19968
  });
19876
19969
  Object.defineProperty(exports, "XlsIcon", {
19877
19970
  enumerable: true,
19878
- get: function () { return chunkBCUKXFB6_cjs.XlsIcon; }
19971
+ get: function () { return chunkB6T54X65_cjs.XlsIcon; }
19879
19972
  });
19880
19973
  Object.defineProperty(exports, "agentAvatarColors", {
19881
19974
  enumerable: true,
19882
- get: function () { return chunkBCUKXFB6_cjs.agentAvatarColors; }
19975
+ get: function () { return chunkB6T54X65_cjs.agentAvatarColors; }
19883
19976
  });
19884
19977
  Object.defineProperty(exports, "badgeVariants", {
19885
19978
  enumerable: true,
19886
- get: function () { return chunkBCUKXFB6_cjs.badgeVariants; }
19979
+ get: function () { return chunkB6T54X65_cjs.badgeVariants; }
19887
19980
  });
19888
19981
  Object.defineProperty(exports, "buildFolderTree", {
19889
19982
  enumerable: true,
19890
- get: function () { return chunkBCUKXFB6_cjs.buildFolderTree; }
19983
+ get: function () { return chunkB6T54X65_cjs.buildFolderTree; }
19891
19984
  });
19892
19985
  Object.defineProperty(exports, "canonicalFolderPath", {
19893
19986
  enumerable: true,
19894
- get: function () { return chunkBCUKXFB6_cjs.canonicalFolderPath; }
19987
+ get: function () { return chunkB6T54X65_cjs.canonicalFolderPath; }
19895
19988
  });
19896
19989
  Object.defineProperty(exports, "cardVariants", {
19897
19990
  enumerable: true,
19898
- get: function () { return chunkBCUKXFB6_cjs.cardVariants; }
19991
+ get: function () { return chunkB6T54X65_cjs.cardVariants; }
19899
19992
  });
19900
19993
  Object.defineProperty(exports, "classifyMediaError", {
19901
19994
  enumerable: true,
19902
- get: function () { return chunkBCUKXFB6_cjs.classifyMediaError; }
19995
+ get: function () { return chunkB6T54X65_cjs.classifyMediaError; }
19903
19996
  });
19904
19997
  Object.defineProperty(exports, "configureEntityRegistry", {
19905
19998
  enumerable: true,
19906
- get: function () { return chunkBCUKXFB6_cjs.configureEntityRegistry; }
19999
+ get: function () { return chunkB6T54X65_cjs.configureEntityRegistry; }
19907
20000
  });
19908
20001
  Object.defineProperty(exports, "configureRagLabels", {
19909
20002
  enumerable: true,
19910
- get: function () { return chunkBCUKXFB6_cjs.configureRagLabels; }
20003
+ get: function () { return chunkB6T54X65_cjs.configureRagLabels; }
19911
20004
  });
19912
20005
  Object.defineProperty(exports, "configureSharingMembers", {
19913
20006
  enumerable: true,
19914
- get: function () { return chunkBCUKXFB6_cjs.configureSharingMembers; }
20007
+ get: function () { return chunkB6T54X65_cjs.configureSharingMembers; }
19915
20008
  });
19916
20009
  Object.defineProperty(exports, "configureStatusRegistry", {
19917
20010
  enumerable: true,
19918
- get: function () { return chunkBCUKXFB6_cjs.configureStatusRegistry; }
20011
+ get: function () { return chunkB6T54X65_cjs.configureStatusRegistry; }
19919
20012
  });
19920
20013
  Object.defineProperty(exports, "createChunkedRecorder", {
19921
20014
  enumerable: true,
19922
- get: function () { return chunkBCUKXFB6_cjs.createChunkedRecorder; }
20015
+ get: function () { return chunkB6T54X65_cjs.createChunkedRecorder; }
19923
20016
  });
19924
20017
  Object.defineProperty(exports, "entityNoun", {
19925
20018
  enumerable: true,
19926
- get: function () { return chunkBCUKXFB6_cjs.entityNoun; }
20019
+ get: function () { return chunkB6T54X65_cjs.entityNoun; }
19927
20020
  });
19928
20021
  Object.defineProperty(exports, "extensionFromMime", {
19929
20022
  enumerable: true,
19930
- get: function () { return chunkBCUKXFB6_cjs.extensionFromMime; }
20023
+ get: function () { return chunkB6T54X65_cjs.extensionFromMime; }
19931
20024
  });
19932
20025
  Object.defineProperty(exports, "formatCompactLastSeen", {
19933
20026
  enumerable: true,
19934
- get: function () { return chunkBCUKXFB6_cjs.formatCompactLastSeen; }
20027
+ get: function () { return chunkB6T54X65_cjs.formatCompactLastSeen; }
19935
20028
  });
19936
20029
  Object.defineProperty(exports, "formatDocDate", {
19937
20030
  enumerable: true,
19938
- get: function () { return chunkBCUKXFB6_cjs.formatDocDate; }
20031
+ get: function () { return chunkB6T54X65_cjs.formatDocDate; }
19939
20032
  });
19940
20033
  Object.defineProperty(exports, "formatElapsed", {
19941
20034
  enumerable: true,
19942
- get: function () { return chunkBCUKXFB6_cjs.formatElapsed; }
20035
+ get: function () { return chunkB6T54X65_cjs.formatElapsed; }
19943
20036
  });
19944
20037
  Object.defineProperty(exports, "formatFolderLabel", {
19945
20038
  enumerable: true,
19946
- get: function () { return chunkBCUKXFB6_cjs.formatFolderLabel; }
20039
+ get: function () { return chunkB6T54X65_cjs.formatFolderLabel; }
19947
20040
  });
19948
20041
  Object.defineProperty(exports, "formatFriendlyDate", {
19949
20042
  enumerable: true,
19950
- get: function () { return chunkBCUKXFB6_cjs.formatFriendlyDate; }
20043
+ get: function () { return chunkB6T54X65_cjs.formatFriendlyDate; }
19951
20044
  });
19952
20045
  Object.defineProperty(exports, "friendlyFileType", {
19953
20046
  enumerable: true,
19954
- get: function () { return chunkBCUKXFB6_cjs.friendlyFileType; }
20047
+ get: function () { return chunkB6T54X65_cjs.friendlyFileType; }
19955
20048
  });
19956
20049
  Object.defineProperty(exports, "getDocIcon", {
19957
20050
  enumerable: true,
19958
- get: function () { return chunkBCUKXFB6_cjs.getDocIcon; }
20051
+ get: function () { return chunkB6T54X65_cjs.getDocIcon; }
19959
20052
  });
19960
20053
  Object.defineProperty(exports, "getDocumentAuthor", {
19961
20054
  enumerable: true,
19962
- get: function () { return chunkBCUKXFB6_cjs.getDocumentAuthor; }
20055
+ get: function () { return chunkB6T54X65_cjs.getDocumentAuthor; }
19963
20056
  });
19964
20057
  Object.defineProperty(exports, "getDocumentDate", {
19965
20058
  enumerable: true,
19966
- get: function () { return chunkBCUKXFB6_cjs.getDocumentDate; }
20059
+ get: function () { return chunkB6T54X65_cjs.getDocumentDate; }
19967
20060
  });
19968
20061
  Object.defineProperty(exports, "getDocumentNature", {
19969
20062
  enumerable: true,
19970
- get: function () { return chunkBCUKXFB6_cjs.getDocumentNature; }
20063
+ get: function () { return chunkB6T54X65_cjs.getDocumentNature; }
19971
20064
  });
19972
20065
  Object.defineProperty(exports, "getDocumentSubject", {
19973
20066
  enumerable: true,
19974
- get: function () { return chunkBCUKXFB6_cjs.getDocumentSubject; }
20067
+ get: function () { return chunkB6T54X65_cjs.getDocumentSubject; }
19975
20068
  });
19976
20069
  Object.defineProperty(exports, "getDocumentTitle", {
19977
20070
  enumerable: true,
19978
- get: function () { return chunkBCUKXFB6_cjs.getDocumentTitle; }
20071
+ get: function () { return chunkB6T54X65_cjs.getDocumentTitle; }
19979
20072
  });
19980
20073
  Object.defineProperty(exports, "getEntityColor", {
19981
20074
  enumerable: true,
19982
- get: function () { return chunkBCUKXFB6_cjs.getEntityColor; }
20075
+ get: function () { return chunkB6T54X65_cjs.getEntityColor; }
19983
20076
  });
19984
20077
  Object.defineProperty(exports, "getEntityColorStyles", {
19985
20078
  enumerable: true,
19986
- get: function () { return chunkBCUKXFB6_cjs.getEntityColorStyles; }
20079
+ get: function () { return chunkB6T54X65_cjs.getEntityColorStyles; }
19987
20080
  });
19988
20081
  Object.defineProperty(exports, "getEntityIcon", {
19989
20082
  enumerable: true,
19990
- get: function () { return chunkBCUKXFB6_cjs.getEntityIcon; }
20083
+ get: function () { return chunkB6T54X65_cjs.getEntityIcon; }
19991
20084
  });
19992
20085
  Object.defineProperty(exports, "getEntityLabel", {
19993
20086
  enumerable: true,
19994
- get: function () { return chunkBCUKXFB6_cjs.getEntityLabel; }
20087
+ get: function () { return chunkB6T54X65_cjs.getEntityLabel; }
19995
20088
  });
19996
20089
  Object.defineProperty(exports, "getFileExtension", {
19997
20090
  enumerable: true,
19998
- get: function () { return chunkBCUKXFB6_cjs.getFileExtension; }
20091
+ get: function () { return chunkB6T54X65_cjs.getFileExtension; }
19999
20092
  });
20000
20093
  Object.defineProperty(exports, "getFileTypeIcon", {
20001
20094
  enumerable: true,
20002
- get: function () { return chunkBCUKXFB6_cjs.getFileTypeIcon; }
20095
+ get: function () { return chunkB6T54X65_cjs.getFileTypeIcon; }
20003
20096
  });
20004
20097
  Object.defineProperty(exports, "getStatusVariant", {
20005
20098
  enumerable: true,
20006
- get: function () { return chunkBCUKXFB6_cjs.getStatusVariant; }
20099
+ get: function () { return chunkB6T54X65_cjs.getStatusVariant; }
20007
20100
  });
20008
20101
  Object.defineProperty(exports, "getTagTypeIcon", {
20009
20102
  enumerable: true,
20010
- get: function () { return chunkBCUKXFB6_cjs.getTagTypeIcon; }
20103
+ get: function () { return chunkB6T54X65_cjs.getTagTypeIcon; }
20011
20104
  });
20012
20105
  Object.defineProperty(exports, "getTagTypeLabel", {
20013
20106
  enumerable: true,
20014
- get: function () { return chunkBCUKXFB6_cjs.getTagTypeLabel; }
20107
+ get: function () { return chunkB6T54X65_cjs.getTagTypeLabel; }
20015
20108
  });
20016
20109
  Object.defineProperty(exports, "getWorkspaceColor", {
20017
20110
  enumerable: true,
20018
- get: function () { return chunkBCUKXFB6_cjs.getWorkspaceColor; }
20111
+ get: function () { return chunkB6T54X65_cjs.getWorkspaceColor; }
20019
20112
  });
20020
20113
  Object.defineProperty(exports, "isAudioFile", {
20021
20114
  enumerable: true,
20022
- get: function () { return chunkBCUKXFB6_cjs.isAudioFile; }
20115
+ get: function () { return chunkB6T54X65_cjs.isAudioFile; }
20023
20116
  });
20024
20117
  Object.defineProperty(exports, "isDocumentAddableToConversation", {
20025
20118
  enumerable: true,
20026
- get: function () { return chunkBCUKXFB6_cjs.isDocumentAddableToConversation; }
20119
+ get: function () { return chunkB6T54X65_cjs.isDocumentAddableToConversation; }
20027
20120
  });
20028
20121
  Object.defineProperty(exports, "isDownloadOnlyFile", {
20029
20122
  enumerable: true,
20030
- get: function () { return chunkBCUKXFB6_cjs.isDownloadOnlyFile; }
20123
+ get: function () { return chunkB6T54X65_cjs.isDownloadOnlyFile; }
20031
20124
  });
20032
20125
  Object.defineProperty(exports, "isImageDocument", {
20033
20126
  enumerable: true,
20034
- get: function () { return chunkBCUKXFB6_cjs.isImageDocument; }
20127
+ get: function () { return chunkB6T54X65_cjs.isImageDocument; }
20035
20128
  });
20036
20129
  Object.defineProperty(exports, "isImageFile", {
20037
20130
  enumerable: true,
20038
- get: function () { return chunkBCUKXFB6_cjs.isImageFile; }
20131
+ get: function () { return chunkB6T54X65_cjs.isImageFile; }
20039
20132
  });
20040
20133
  Object.defineProperty(exports, "isMediaFile", {
20041
20134
  enumerable: true,
20042
- get: function () { return chunkBCUKXFB6_cjs.isMediaFile; }
20135
+ get: function () { return chunkB6T54X65_cjs.isMediaFile; }
20043
20136
  });
20044
20137
  Object.defineProperty(exports, "isPresentationFileName", {
20045
20138
  enumerable: true,
20046
- get: function () { return chunkBCUKXFB6_cjs.isPresentationFileName; }
20139
+ get: function () { return chunkB6T54X65_cjs.isPresentationFileName; }
20047
20140
  });
20048
20141
  Object.defineProperty(exports, "isVideoFile", {
20049
20142
  enumerable: true,
20050
- get: function () { return chunkBCUKXFB6_cjs.isVideoFile; }
20143
+ get: function () { return chunkB6T54X65_cjs.isVideoFile; }
20051
20144
  });
20052
20145
  Object.defineProperty(exports, "markdownToPlainText", {
20053
20146
  enumerable: true,
20054
- get: function () { return chunkBCUKXFB6_cjs.markdownToPlainText; }
20147
+ get: function () { return chunkB6T54X65_cjs.markdownToPlainText; }
20055
20148
  });
20056
20149
  Object.defineProperty(exports, "markdownToPlainTextBlocks", {
20057
20150
  enumerable: true,
20058
- get: function () { return chunkBCUKXFB6_cjs.markdownToPlainTextBlocks; }
20151
+ get: function () { return chunkB6T54X65_cjs.markdownToPlainTextBlocks; }
20059
20152
  });
20060
20153
  Object.defineProperty(exports, "pickRecorderMimeType", {
20061
20154
  enumerable: true,
20062
- get: function () { return chunkBCUKXFB6_cjs.pickRecorderMimeType; }
20155
+ get: function () { return chunkB6T54X65_cjs.pickRecorderMimeType; }
20063
20156
  });
20064
20157
  Object.defineProperty(exports, "tagKindNouns", {
20065
20158
  enumerable: true,
20066
- get: function () { return chunkBCUKXFB6_cjs.tagKindNouns; }
20159
+ get: function () { return chunkB6T54X65_cjs.tagKindNouns; }
20067
20160
  });
20068
20161
  Object.defineProperty(exports, "tagKindTitle", {
20069
20162
  enumerable: true,
20070
- get: function () { return chunkBCUKXFB6_cjs.tagKindTitle; }
20163
+ get: function () { return chunkB6T54X65_cjs.tagKindTitle; }
20071
20164
  });
20072
20165
  Object.defineProperty(exports, "toggleVariants", {
20073
20166
  enumerable: true,
20074
- get: function () { return chunkBCUKXFB6_cjs.toggleVariants; }
20167
+ get: function () { return chunkB6T54X65_cjs.toggleVariants; }
20075
20168
  });
20076
20169
  Object.defineProperty(exports, "useAudioRecorder", {
20077
20170
  enumerable: true,
20078
- get: function () { return chunkBCUKXFB6_cjs.useAudioRecorder; }
20171
+ get: function () { return chunkB6T54X65_cjs.useAudioRecorder; }
20079
20172
  });
20080
20173
  Object.defineProperty(exports, "useDictateContext", {
20081
20174
  enumerable: true,
20082
- get: function () { return chunkBCUKXFB6_cjs.useDictateContext; }
20175
+ get: function () { return chunkB6T54X65_cjs.useDictateContext; }
20083
20176
  });
20084
20177
  Object.defineProperty(exports, "usesOriginalBytesForViewer", {
20085
20178
  enumerable: true,
20086
- get: function () { return chunkBCUKXFB6_cjs.usesOriginalBytesForViewer; }
20179
+ get: function () { return chunkB6T54X65_cjs.usesOriginalBytesForViewer; }
20087
20180
  });
20088
20181
  Object.defineProperty(exports, "Avatar", {
20089
20182
  enumerable: true,
@@ -20241,22 +20334,6 @@ Object.defineProperty(exports, "formatRelativeTime", {
20241
20334
  enumerable: true,
20242
20335
  get: function () { return chunkKC474WVG_cjs.formatRelativeTime; }
20243
20336
  });
20244
- Object.defineProperty(exports, "closeOpenEmphasis", {
20245
- enumerable: true,
20246
- get: function () { return chunk5NOZDH3F_cjs.closeOpenEmphasis; }
20247
- });
20248
- Object.defineProperty(exports, "normalizeCitationMarkup", {
20249
- enumerable: true,
20250
- get: function () { return chunk5NOZDH3F_cjs.normalizeCitationMarkup; }
20251
- });
20252
- Object.defineProperty(exports, "trimOpenCitation", {
20253
- enumerable: true,
20254
- get: function () { return chunk5NOZDH3F_cjs.trimOpenCitation; }
20255
- });
20256
- Object.defineProperty(exports, "useHostConfigRecord", {
20257
- enumerable: true,
20258
- get: function () { return chunk5NOZDH3F_cjs.useHostConfigRecord; }
20259
- });
20260
20337
  Object.defineProperty(exports, "DropdownMenu", {
20261
20338
  enumerable: true,
20262
20339
  get: function () { return chunkHJDR5HEO_cjs.DropdownMenu; }
@@ -20325,6 +20402,22 @@ Object.defineProperty(exports, "usePortalContainer", {
20325
20402
  enumerable: true,
20326
20403
  get: function () { return chunkHJDR5HEO_cjs.usePortalContainer; }
20327
20404
  });
20405
+ Object.defineProperty(exports, "closeOpenEmphasis", {
20406
+ enumerable: true,
20407
+ get: function () { return chunk5NOZDH3F_cjs.closeOpenEmphasis; }
20408
+ });
20409
+ Object.defineProperty(exports, "normalizeCitationMarkup", {
20410
+ enumerable: true,
20411
+ get: function () { return chunk5NOZDH3F_cjs.normalizeCitationMarkup; }
20412
+ });
20413
+ Object.defineProperty(exports, "trimOpenCitation", {
20414
+ enumerable: true,
20415
+ get: function () { return chunk5NOZDH3F_cjs.trimOpenCitation; }
20416
+ });
20417
+ Object.defineProperty(exports, "useHostConfigRecord", {
20418
+ enumerable: true,
20419
+ get: function () { return chunk5NOZDH3F_cjs.useHostConfigRecord; }
20420
+ });
20328
20421
  Object.defineProperty(exports, "cn", {
20329
20422
  enumerable: true,
20330
20423
  get: function () { return chunkS6A6FSG7_cjs.cn; }
@@ -20596,6 +20689,7 @@ exports.describeCalendarNotification = describeCalendarNotification;
20596
20689
  exports.describeServerNotification = describeServerNotification;
20597
20690
  exports.discardStreamingTokensForMessage = discardStreamingTokensForMessage;
20598
20691
  exports.disconnectAttachedRun = disconnectAttachedRun;
20692
+ exports.dmFileShareEntries = dmFileShareEntries;
20599
20693
  exports.documentActivityMeta = documentActivityMeta;
20600
20694
  exports.documentActivityPhrase = documentActivityPhrase;
20601
20695
  exports.documentDisplayName = documentDisplayName;
@@ -20608,6 +20702,7 @@ exports.ensureAssistantMessageLoading = ensureAssistantMessageLoading;
20608
20702
  exports.extractZipFile = extractZipFile;
20609
20703
  exports.fallbackFileName = fallbackFileName;
20610
20704
  exports.fileAttachment = fileAttachment;
20705
+ exports.fileShareNotificationMeta = fileShareNotificationMeta;
20611
20706
  exports.filesFromDrop = filesFromDrop;
20612
20707
  exports.fillTimeGaps = fillTimeGaps;
20613
20708
  exports.filterRows = filterRows;
@@ -20871,6 +20966,7 @@ exports.useDisconnectConnector = useDisconnectConnector;
20871
20966
  exports.useDisconnectMailAccount = useDisconnectMailAccount;
20872
20967
  exports.useDisconnectSlack = useDisconnectSlack;
20873
20968
  exports.useDismissedTips = useDismissedTips;
20969
+ exports.useDmFileShares = useDmFileShares;
20874
20970
  exports.useDocumentAutoAdd = useDocumentAutoAdd;
20875
20971
  exports.useDocumentHostActions = useDocumentHostActions;
20876
20972
  exports.useDocumentPendingSync = useDocumentPendingSync;
@@ -20889,6 +20985,7 @@ exports.useExportDatabase = useExportDatabase;
20889
20985
  exports.useFacts = useFacts;
20890
20986
  exports.useFactsSearch = useFactsSearch;
20891
20987
  exports.useFetchCalendarEvent = useFetchCalendarEvent;
20988
+ exports.useFileSharePerson = useFileSharePerson;
20892
20989
  exports.useFileWaitingNativeMail = useFileWaitingNativeMail;
20893
20990
  exports.useFinaliseTranslation = useFinaliseTranslation;
20894
20991
  exports.useFindTime = useFindTime;